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.1 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 T1=Object.defineProperty,k1=Object.defineProperties;var M1=Object.getOwnPropertyDescriptors;var jm=Object.getOwnPropertySymbols;var Lv=Object.prototype.hasOwnProperty,Dv=Object.prototype.propertyIsEnumerable;var S0=(Vn,Tt,ae)=>Tt in Vn?T1(Vn,Tt,{enumerable:!0,configurable:!0,writable:!0,value:ae}):Vn[Tt]=ae,wf=(Vn,Tt)=>{for(var ae in Tt||(Tt={}))Lv.call(Tt,ae)&&S0(Vn,ae,Tt[ae]);if(jm)for(var ae of jm(Tt))Dv.call(Tt,ae)&&S0(Vn,ae,Tt[ae]);return Vn},F0=(Vn,Tt)=>k1(Vn,M1(Tt));var Nv=(Vn,Tt)=>{var ae={};for(var x in Vn)Lv.call(Vn,x)&&Tt.indexOf(x)<0&&(ae[x]=Vn[x]);if(Vn!=null&&jm)for(var x of jm(Vn))Tt.indexOf(x)<0&&Dv.call(Vn,x)&&(ae[x]=Vn[x]);return ae};var Ll=(Vn,Tt,ae)=>S0(Vn,typeof Tt!="symbol"?Tt+"":Tt,ae);(self.webpackChunk=self.webpackChunk||[]).push([[342],{27812:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},89489:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},59477:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},40001:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},26227:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},49198:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},87169:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},73331:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},15277:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},52671:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},8657:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},56082:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},33853:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},15075:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},43531:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},61485:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},47472:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},95869:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},87395:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},45559:function(){"use strict"},42313:function(){"use strict"},96408:function(Vn,Tt){"use strict";Tt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},93510:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Vn={},Tt="5.0",ae={},x=null,ct=!1,Le=!1,Je=null,He=!1,Se=null,Ue=null,fe=0;fe<arguments.length;fe++){var Ce=arguments[fe];if(Ce!==null)switch(typeof Ce){case"number":Tt=Ce.toFixed(1);break;case"string":Ce.match(new RegExp("^[0-9]\\.[0-9]+$"))?Tt=Ce:Je=Ce;break;case"object":typeof Ce.is3D!="undefined"?x=Ce:ae=Ce;break;case"boolean":ct=Ce,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&&(ct=!0)),Je!==null&&ae.id===void 0&&(ae.id=Je);var oe="",Oe="",ve=!1,Me=null,Ie=null,_e=null,we=!1,xe=null,Ee=null,ke=null,ze=null,Qe=null;ae.height!==void 0&&(ae.height=Math.round(ae.height)),ae.width!==void 0&&(ae.width=Math.round(ae.width));var Re=function(rt){return parseFloat(rt)>4?parseFloat(rt):5};Vn.setHTML5Codebase=function(rt,Nt){Ue=rt,At(rt,Nt)},Vn.setJavaCodebase=Vn.setJavaCodebaseVersion=Vn.isCompiledInstalled=Vn.setPreCompiledScriptPath=Vn.setPreCompiledResourcePath=function(){},Vn.setHTML5CodebaseVersion=function(rt,Nt){var Qt=parseFloat(rt);if(Qt!==NaN&&Qt<5){console.log("The GeoGebra HTML5 codebase version "+Qt+" is deprecated. Using version latest instead.");return}Se=rt,Te(rt,Nt)},Vn.getHTML5CodebaseVersion=function(){return Ie},Vn.getParameters=function(){return ae},Vn.setFontsCSSURL=function(rt){ze=rt},Vn.setGiacJSURL=function(rt){},Vn.setJNLPFile=function(rt){oe=rt},Vn.setJNLPBaseDir=function(rt){},Vn.inject=function(){function rt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Nt="auto",Qt=ae.id,pn,Ot=!1,vn=0;vn<arguments.length;vn++){var _t=arguments[vn];typeof _t=="string"?(_t=_t.toLowerCase(),_t.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Nt=_t:Qt=arguments[vn]):typeof _t=="boolean"?Ot=_t:_t instanceof HTMLElement&&(pn=_t)}Fn();function Fn(){if(!He){setTimeout(Fn,200);return}Nt=Ft(Nt);var on=pn||document.getElementById(Qt);if(!on){console.log("possibly bug on ajax loading? ");return}if(Vn.removeExistingApplet(on,!1),ae.width===void 0&&on.clientWidth&&(ae.width=on.clientWidth),ae.height===void 0&&on.clientHeight&&(ae.height=on.clientHeight),!(ae.width&&ae.height)&&Nt==="html5"&&(delete ae.width,delete ae.height),Me=Nt,Nt==="screenshot")Ne(on,ae);else{var de=!1;ae.hasOwnProperty("playButton")&&ae.playButton||ae.hasOwnProperty("clickToLoad")&&ae.clickToLoad?de=!0:ae.hasOwnProperty("playButtonAutoDecide")&&ae.playButtonAutoDecide&&(de=(!et()||rt())&&Ge()),de?(Me="screenshot",Ut(on,ae,Ot,Nt)):ht(on,ae,Ot)}}};function et(){try{return window.self!==window.top}catch(rt){return!0}}function Ge(){return ae.hasOwnProperty("screenshotGenerator")&&ae.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Vn.getViews=function(){return x},Vn.isJavaInstalled=function(){return!1};var lt=function(rt){var Nt=function(vn){var _t=JSON.parse(vn),Fn=function(ge){return ge.type=="G"||ge.type=="E"},on=_t.elements?_t.elements.filter(Fn)[0]:_t;if(!on||!on.url){Qt();return}ae.fileName=on.url,it(on.settings||{}),x.is3D=!0;var de="https://www.geogebra.org/images/";Vn.setPreviewImage(xe||on.previewUrl,de+"GeoGebra_loading.png",de+"applet_play.png"),rt()},Qt=function(){ae.onError&&ae.onError(),Zt("Error: Fetching material (id "+ae.material_id+") failed.",ae)},pn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Ot="/materials/"+ae.material_id+"?scope=basic";ft("https://"+pn+"/api/proxy.php?path="+encodeURIComponent(Ot),Nt,Qt)};function it(rt){var Nt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Qt){rt[Qt]=!!rt[Qt]}),Nt.forEach(function(Qt){ae[Qt]===void 0&&rt[Qt]!==void 0&&(ae[Qt]=rt[Qt])}),ae.showToolBarHelp===void 0&&(ae.showToolBarHelp=ae.showToolBar)}function ft(rt,Nt,Qt){var pn=new XMLHttpRequest;pn.open("GET",rt),pn.onload=function(){Nt(pn.responseText)},pn.onerror=Qt,pn.send()}Vn.isHTML5Installed=function(){return!0},Vn.getLoadedAppletType=function(){return Me},Vn.setPreviewImage=function(rt,Nt,Qt){xe=rt,Ee=Nt,ke=Qt},Vn.removeExistingApplet=function(rt,Nt){var Qt;typeof rt=="string"&&(rt=document.getElementById(rt)),Me=null;var pn=null;for(Qt=0;Qt<rt.childNodes.length;Qt++){var Ot=rt.childNodes[Qt],vn=Ot.className;vn==="applet_screenshot"?Nt?(Ot.style.display="block",Me="screenshot"):Ot.style.display="none":vn!=="applet_scaler prerender"&&(rt.removeChild(Ot),pn=vn&&vn.indexOf("appletParameters")!=-1?Ot.id:null,Qt--)}var _t=ae.id!==void 0?ae.id:pn,Fn=window[_t];Fn&&typeof Fn.getBase64=="function"&&(Fn.remove(),window[_t]=null)},Vn.refreshHitPoints=function(){if(Re(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var rt=Vn.getAppletObject();return rt&&typeof rt.recalculateEnvironments=="function"?(rt.recalculateEnvironments(),!0):!1},Vn.startAnimation=function(){var rt=Vn.getAppletObject();return rt&&typeof rt.startAnimation=="function"?(rt.startAnimation(),!0):!1},Vn.stopAnimation=function(){var rt=Vn.getAppletObject();return rt&&typeof rt.stopAnimation=="function"?(rt.stopAnimation(),!0):!1},Vn.getAppletObject=function(){var rt=ae.id!==void 0?ae.id:"ggbApplet";return window[rt]},Vn.resize=function(){};var bt=function(rt,Nt,Qt){var pn=document.createElement("param");pn.setAttribute("name",Nt),pn.setAttribute("value",Qt),rt.appendChild(pn)},je=function(rt){return rt&&rt!=="false"},ht=function(rt,Nt,Qt){Re(Ie)<=4.2&&(Qt=!0);var pn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Ie||ggbHTML5LoadedCodebaseIsWebSimple&&!we)&&(pn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Ot=document.createElement("div");Ot.classList.add("appletParameters","notranslate");var vn=Nt.width,_t=Nt.height;if(Nt.disableAutoScale=Nt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Nt.disableAutoScale,Nt.width!==void 0)if(Re(Ie)<=4.4)je(Nt.showToolBar)&&(Nt.height-=7),je(Nt.showAlgebraInput)&&(Nt.height-=37),Nt.width<605&&je(Nt.showToolBar)&&(Nt.width=605,vn=605);else{var Fn=100;(je(Nt.showToolBar)||je(Nt.showMenuBar))&&(Nt.hasOwnProperty("customToolBar")&&(Nt.customToolbar=Nt.customToolBar),Fn=je(Nt.showMenuBar)?245:155),vn<Fn&&(Nt.width=Fn,vn=Fn)}Ot.style.border="none",Ot.style.display="inline-block";for(var on in Nt)Nt.hasOwnProperty(on)&&on!=="appletOnLoad"&&Ot.setAttribute("data-param-"+on,Nt[on]);ze&&Ot.setAttribute("data-param-fontscssurl",ze),Vn.resize=function(){GGBAppletUtils.responsiveResize(rt,Nt)},window.addEventListener("resize",function(Lt){Vn.resize()});var de=typeof Nt.appletOnLoad=="function"?Nt.appletOnLoad:function(){};if(!Qt&&Nt.width!==void 0){Nt.hasOwnProperty("showSplash")||Ot.setAttribute("data-param-showSplash","false");var ge=rt.querySelector(".applet_scaler.prerender"),ie=ge!==null;if(ie)var ee=ge.querySelector(".ggb_preview");else{var ee=yt(vn,_t,Nt.borderColor,!1);ge=document.createElement("div"),ge.className="applet_scaler",ge.style.position="relative",ge.style.display="block",ge.style.width=vn+"px",ge.style.height=_t+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ge,"66%"),Re(Ie)>=5?(Nt.appletOnLoad=function(Lt){var Rt=rt.querySelector(".ggb_preview");Rt&&Rt.parentNode.removeChild(Rt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ge),window.GGBT_wsf_view&&$(window).trigger("resize"),de(Lt)},ie||ge.appendChild(ee)):Ot.appendChild(ee),ge.appendChild(Ot),ie||rt.appendChild(ge),setTimeout(function(){Vn.resize()},1)}else{var le=document.createElement("div");le.className="applet_scaler",le.style.position="relative",le.style.display="block",le.appendChild(Ot),rt.appendChild(le),Nt.appletOnLoad=function(Lt){Vn.resize(),de(Lt)}}function se(Lt,Rt){Rt&&typeof Rt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Lt,Rt.appletOnLoad):renderGGBElement(Lt),Zt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Rt)}function Be(Lt,Rt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Lt,params:Rt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Ct){se(Ct.article,Ct.params)}),html5AppletsToProcess=null)},Re(Ie)<5&&(Lt.className+=" geogebraweb")):se(Lt,Rt)}if(pn){scriptLoadStarted=!0;for(var $e=0;$e<Ot.childNodes.length;$e++){var at=Ot.childNodes[$e].tagName;at==="TABLE"&&(Ot.removeChild(Ot.childNodes[$e]),$e--)}if(ggbHTML5LoadedScript!==null){var pt=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');pt!=null&&pt.parentNode.removeChild(pt)}var gt=document.createElement("script"),Bt=function(){Be(Ot,Nt)};gt.src=Oe+_e,ggbHTML5LoadedCodebaseIsWebSimple=we,ggbHTML5LoadedCodebaseVersion=Ie,ggbHTML5LoadedScript=gt.src,Zt("GeoGebra HTML5 codebase loaded: '"+Oe+"'.",Nt),!Ue&&(!Se||Se=="5.0")?(we?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Bt()):Oe.requirejs?__webpack_require__.e(3861).then(function(){var Lt=[__webpack_require__(40341)];Bt.apply(null,Lt)}.bind(this)).catch(__webpack_require__.oe):(gt.onload=Bt,rt.appendChild(gt))}else Be(Ot,Nt);Nt.height=_t,Nt.width=vn},Ne=function(rt,Nt,Qt){var pn=yt(Nt.width,Nt.height,Nt.borderColor,Qt),Ot=document.createElement("div");Ot.style.position="relative",Ot.style.display="block",Ot.style.width=Nt.width+"px",Ot.style.height=Nt.height+"px",Ot.className="applet_screenshot applet_scaler"+(Qt?" applet_screenshot_play":""),Ot.appendChild(pn);var vn=GGBAppletUtils.getScale(Nt,rt,Qt);Qt?(rt.appendChild(ot()),window.GGBT_wsf_view||(rt.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Ot,"66%"),rt.appendChild(Ot),vn!==1&&!isNaN(vn)&&(GGBAppletUtils.scaleElement(Ot,vn),Ot.style.width=Nt.width+"px",Ot.style.height=Nt.height+"px",Ot.parentNode.style.width=Nt.width*vn+"px",Ot.parentNode.style.height=Nt.height*vn+"px"),Vn.resize=function(){We(rt,pn,Ot,Qt)},window.addEventListener("resize",function(_t){Vn.resize()}),Vn.resize()};function We(rt,Nt,Qt,pn){if(rt.contains(Nt)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(rt.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(rt)}var Ot=GGBAppletUtils.getScale(ae,rt,pn);Qt.parentNode!==null&&(!isNaN(Ot)&&Ot!==1?(GGBAppletUtils.scaleElement(Qt,Ot),Qt.parentNode.style.width=ae.width*Ot+"px",Qt.parentNode.style.height=ae.height*Ot+"px"):(GGBAppletUtils.scaleElement(Qt,1),Qt.parentNode.style.width=ae.width+"px",Qt.parentNode.style.height=ae.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(rt),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Vn.onExitFullscreen=function(rt,Nt){Nt.appendChild(rt)};var Ut=function(rt,Nt,Qt,pn){Ne(rt,Nt,!0);for(var Ot=function(){var Fn=[];for(_t=0;_t<rt.childNodes.length;_t++)Fn.push(rt.childNodes[_t]);if(window.GGBT_wsf_view){var on=window.GGBT_wsf_view.renderFullScreen(rt,Nt.id),de=document.getElementById("fullscreencontainer"),ge=jQuery(rt).find(".fullscreencontent");ge.length>0?(on.remove(),ge.attr("id","fullscreencontent").show(),jQuery(de).append(ge),window.dispatchEvent(new Event("resize"))):ht(on,Nt,!1),window.GGBT_wsf_view.launchFullScreen(de)}else Me=pn,ht(rt,Nt,!1);if(!window.GGBT_wsf_view)for(_t=0;_t<Fn.length;_t++)rt.removeChild(Fn[_t])},vn=rt.getElementsByClassName("ggb_preview_play"),_t=0;_t<vn.length;_t++)vn[_t].addEventListener("click",Ot,!1),vn[_t].addEventListener("ontouchstart",Ot,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(rt),Ge()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},ot=function(){var rt=document.createElement("div");if(rt.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Nt='.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");}',Qt=document.createElement("style");Qt.styleSheet?Qt.styleSheet.cssText=Nt:Qt.appendChild(document.createTextNode(Nt)),document.getElementsByTagName("head")[0].appendChild(Qt)}return rt},yt=function(rt,Nt,Qt,pn){var Ot=document.createElement("div");Ot.className="ggb_preview",Ot.style.position="absolute",Ot.style.zIndex="90",Ot.style.width=rt-2+"px",Ot.style.height=Nt-2+"px",Ot.style.top="0px",Ot.style.left="0px",Ot.style.overflow="hidden",Ot.style.backgroundColor="white";var vn="lightgrey";Qt!==void 0&&(Qt==="none"?vn="transparent":vn=Qt),Ot.style.border="1px solid "+vn;var _t=document.createElement("img");if(_t.style.position="relative",_t.style.zIndex="1000",_t.style.top="-1px",_t.style.left="-1px",xe!==null&&_t.setAttribute("src",xe),_t.style.opacity=.7,Ee!==null){var Fn,on,de;if(!pn){Fn=document.createElement("img"),Fn.style.position="absolute",Fn.style.zIndex="1001",Fn.style.opacity=1,_t.style.opacity=.3,on=360,on>rt/4*3&&(on=rt/4*3),de=on/5.8,Fn.setAttribute("src",Ee),Fn.setAttribute("width",on),Fn.setAttribute("height",de);var ge=(rt-on)/2,ie=(Nt-de)/2;Fn.style.left=ge+"px",Fn.style.top=ie+"px",Ot.appendChild(Fn)}}return Ot.appendChild(_t),Ot},Ft=function(rt){return rt=rt.toLowerCase(),rt==="html5"||rt==="screenshot"?rt:"html5"},Ze=["web","webSimple","web3d","tablet","tablet3d","phone"],Te=function(rt,Nt){if(Ie=rt,Nt){At(Ie,!0);return}var Qt=!ct;if(Qt){var pn=Re(Ie);!isNaN(pn)&&pn<4.4&&(Qt=!1)}var Ot,vn;window.location.protocol.substr(0,4)==="http"?Ot=window.location.protocol:Ot="http:";var _t=Ie.indexOf("//");_t>0?vn=Ie:_t===0?vn=Ot+Ie:vn="https://www.geogebra.org/apps/5.2.814.0/";for(var Fn in Ze)if(Ie.slice(Ze[Fn].length*-1)===Ze[Fn]||Ie.slice((Ze[Fn].length+1)*-1)===Ze[Fn]+"/"){At(vn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Qt&&!x.is3D&&!x.AV&&!x.SV&&!x.CV&&!x.EV2&&!x.CP&&!x.PC&&!x.DA&&!x.FI&&!x.PV&&!je(ae.showToolBar)&&!je(ae.showMenuBar)&&!je(ae.showAlgebraInput)&&!je(ae.enableRightClick)&&(!ae.appName||ae.appName=="classic")?vn+="webSimple/":vn+="web3d/",At(vn,!1)},At=function(rt,Nt){if(rt.requirejs){Oe=rt;return}rt.slice(-1)!=="/"&&(rt+="/"),Oe=rt,Nt===null&&(Nt=rt.indexOf("http")===-1),ve=Nt,_e="web.nocache.js",we=!1;var Qt=Oe.split("/");Qt.length>1&&(!Nt&&Qt[Qt.length-2]==="webSimple"?(_e="webSimple.nocache.js",we=!0):Ze.indexOf(Qt[Qt.length-2])>=0&&(_e=Qt[Qt.length-2]+".nocache.js")),Qt=rt.split("/"),Ie=Qt[Qt.length-3],Ie.substr(0,4)==="test"?Ie=Ie.substr(4,1)+"."+Ie.substr(5,1):(Ie.substr(0,3)==="war"||Ie.substr(0,4)==="beta")&&(Ie="5.0");var pn=parseFloat(Ie);pn!==NaN&&pn<5&&rt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+pn+" is deprecated. Using version latest instead."),Te("5.0",Nt))},Zt=function(rt,Nt){window.console&&window.console.log&&(!Nt||typeof Nt.showLogging=="undefined"||Nt.showLogging&&Nt.showLogging!=="false")&&console.log(rt)};ae.material_id!==void 0?lt(Kt):Kt();function Kt(){var rt=Tt;Se!==null?rt=Se:parseFloat(rt)<5&&(rt="5.0"),Te(rt,!1),Ue!==null&&At(Ue,ve),He=!0}return Vn},GGBAppletUtils=function(){"use strict";function Vn(){return window.GGBT_wsf_edit!==void 0}function Tt(He,Se){Se!=1?(He.style.transformOrigin="0% 0% 0px",He.style.webkitTransformOrigin="0% 0% 0px",He.style.transform="scale("+Se+","+Se+")",He.style.webkitTransform="scale("+Se+","+Se+")",He.style.maxWidth="initial",He.querySelector(".ggb_preview")!==null&&(He.querySelector(".ggb_preview").style.maxWidth="initial"),He.querySelectorAll(".ggb_preview img")[0]!==void 0&&(He.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),He.querySelectorAll(".ggb_preview img")[1]!==void 0&&(He.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(He.style.transform="none",He.style.webkitTransform="none")}function ae(He,Se,Ue,fe,Ce,oe){var Oe=null;if(oe!=null&&oe!="")for(var ve=He.parentNode;ve!=null;)if((" "+ve.className+" ").indexOf(" "+oe+" ")>-1){Oe=ve;break}else ve=ve.parentNode;var Me=0,Ie=0,_e=0,we=0,xe=0,Ee=0,ke=0;if(Oe)Me=Oe.offsetWidth,Ie=Math.max(fe?Oe.offsetWidth:0,Oe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Me=Math.min(window.innerWidth,document.documentElement.clientWidth),Ie=Math.min(window.innerHeight,document.documentElement.clientHeight),_e=Me):(Me=window.innerWidth,Ie=window.innerHeight,_e=window.innerWidth),He){var ze=He.getBoundingClientRect();ze.left>0&&ze.left<=Me&&(Ce===void 0||!Ce)&&(document.dir==="rtl"?(xe=Me-ze.width-ze.left,Ee=_e<=480?10:30):(Ee=ze.left,xe=_e<=480?10:30),we=Ee+xe)}if(He&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var Qe=He.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(we=40,ke=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(we=0,ke=40)}}return He&&((Ue===void 0||!Ue)&&Se>0&&Se+we<Me?Me=Se:Me-=we,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ue===void 0||!Ue)&&(Ie-=ke)),{width:Me,height:Ie}}function x(He,Se,Ue,fe,Ce){if(He.isScreenshoGenerator)return 1;var oe=fe!==void 0&&fe,Oe=He.noScaleMargin!=null&&He.noScaleMargin,ve=function(Qe){return Qe&&Qe!=="false"},Me=ve(He.autoHeight),Ie=ae(Se,He.width,Ue,Me,oe&&window.GGBT_wsf_view||Oe,Ce),_e=parseInt(Ie.width),we=He.width,xe=He.height;if(we===void 0){var Ee=Se.querySelector(".appletParameters");Ee&&(we=Ee.offsetWidth,xe=Ee.offsetHeight)}var ke=_e/we,ze=oe?1:Ie.height/xe;return Ue!==void 0&&!Ue&&(ke=Math.min(1,ke),ze=Math.min(1,ze)),Math.min(ke,ze)}function ct(He,Se,Ue){var fe=1,Ce,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)),Se&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(oe=!0),!(He.hasOwnProperty("disableAutoScale")&&He.disableAutoScale))Ce=x(He,Se,oe,Ue,He.scaleContainerClass);else return fe;return oe&&(!He.hasOwnProperty("scale")||fe===1)?Ce:Math.min(fe,Ce)}function Le(He){var Se=Math.min(window.innerWidth,document.documentElement.clientWidth),Ue=Math.min(window.innerHeight,document.documentElement.clientHeight),fe=He.getBoundingClientRect(),Ce=(Se-fe.width)/2,oe=(Ue-fe.height)/2;oe<0&&(oe=0),He.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ce<40?He.style.left="40px":He.style.left=Ce+"px",He.style.top=oe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(oe<40?He.style.top="40px":He.style.top=oe+"px",He.style.left=Ce+"px")}function Je(He,Se){var Ue=He.querySelector(".appletParameters");if(Ue){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Se.id!==Ue.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(He)}if(Ue.parentElement&&/fullscreen/.test(Ue.parentElement.className))return;var fe=ct(Se,He);Vn()&&Ue.setAttribute("data-param-scale",fe);for(var Ce=null,oe=0;oe<He.childNodes.length;oe++)if(He.childNodes[oe].className!==void 0&&He.childNodes[oe].className.match(/^applet_scaler/)){Ce=He.childNodes[oe];break}if(Ce!==null&&Ce.querySelector(".noscale")!==null)return;var Oe=Se.id!==void 0?Se.id:"ggbApplet",ve=window[Oe];(ve==null||!ve.recalculateEnvironments)&&Ce!==null&&!Ce.className.match(/fullscreen/)&&(Ce.parentNode.style.transform="",!isNaN(fe)&&fe!==1?(Ce.parentNode.style.width=Se.width*fe+"px",Ce.parentNode.style.height=Se.height*fe+"px",Tt(Ce,fe)):(Tt(Ce,1),Ce.parentNode.style.width=Se.width+"px",Ce.parentNode.style.height=Se.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($(Ue).parents(".content-added-content"))}}return{responsiveResize:Je,isFlexibleWorksheetEditor:Vn,positionCenter:Le,getScale:ct,scaleElement:Tt}}();__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 Vn=n.location.search;return Vn.indexOf(J)!=-1||Vn.indexOf(K)!=-1}function q(Vn,Tt){}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(Vn){var Tt=s[L].bindings;s[L].bindings=function(){for(var ae=Tt?Tt():{},x=Vn[webModule.__softPermutationId],ct=O;ct<x.length;ct++){var Le=x[ct];ae[Le[O]]=Le[P]}return ae}};var t;function u(){return v(),t}function v(){if(!t){var Vn=o.createElement(Q);if(Vn.id=L,Vn.style.cssText=R+S,Vn.tabIndex=-1,o.body.appendChild(Vn),t=Vn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Tt=document.compatMode==U?V:W;t.write(Tt+X),t.close()}}}function w(Vn){function Tt(x){function ct(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Le=ct();if(Le){x();return}function Je(){if(!Le){if(!ct())return;Le=!0,x(),o.removeEventListener&&o.removeEventListener(Z,Je,!1),He&&clearInterval(He)}}o.addEventListener&&o.addEventListener(Z,Je,!1);var He=setInterval(function(){Je()},$)}function ae(x){var ct=u(),Le=ct.body,Je=ct.createElement(_);Je.language=ab,Je.crossOrigin=W,Je.src=x,webModule.__errFn&&(Je.onerror=function(){webModule.__errFn(L,new Error(bb+x))}),Le.appendChild(Je)}Tt(function(){ae(Vn)})}webModule.__startLoadingFragment=function(Vn){return C(Vn)},webModule.__installRunAsyncCode=function(Vn){var Tt=u(),ae=Tt.body,x=Tt.createElement(_);x.language=ab,x.text=Vn,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(Vn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Vn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Vn){var Tt=c[Vn];return Tt==null?null:Tt},r=d,webModule.__errFn=e}function B(){function Vn(He){var Se=He.lastIndexOf(rb);Se==-1&&(Se=He.length);var Ue=He.indexOf(sb);Ue==-1&&(Ue=He.length);var fe=He.lastIndexOf(tb,Math.min(Ue,Se));return fe>=O?He.substring(O,fe+P):W}function Tt(He){if(!He.match(/^\w+:\/\//)){var Se=o.createElement(ub);Se.src=He+vb,He=Vn(Se.src)}return He}function ae(){var He=__gwt_getMetaProperty(wb);return He!=null?He:W}function x(){for(var He=o.getElementsByTagName(_),Se=O;Se<He.length;++Se)if(He[Se].src.indexOf(xb)!=-1)return Vn(He[Se].src);return W}function ct(){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 Je=ae();return Je==W&&(Je=x()),Je==W&&(Je=ct()),Je==W&&Le()&&(Je=Vn(o.location.href)),Je=Tt(Je),Je}function C(Vn){return Vn.match(/^\//)||Vn.match(/^[a-zA-Z]+:\/\//)?Vn:webModule.__moduleBase+Vn}function D(){var Vn=[],Tt=O,ae=[],x=[];function ct(He){var Se=x[He](),Ue=ae[He];if(Se in Ue)return Se;var fe=[];for(var Ce in Ue)fe[Ue[Ce]]=Ce;throw r&&r(He,fe,Se),null}if(__gwt_isKnownPropertyValue=function(He,Se){return Se in ae[He]},webModule.__getPropMap=function(){var He={};for(var Se in ae)ae.hasOwnProperty(Se)&&(He[Se]=ct(Se));return He},webModule.__computePropValue=ct,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Le;try{Le=Cb;var Je=Le.indexOf(Db);Je!=-1&&(Tt=parseInt(Le.substring(Je+P),$),Le=Le.substring(O,Je))}catch(He){}return webModule.__softPermutationId=Tt,C(Le+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},28735:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Ax:function(){return Je},Ds:function(){return He},KI:function(){return Ue},SI:function(){return Le},f1:function(){return ct}});var x=ae(74128);function ct(fe){let Ce=!0;if(fe.length>0){for(let oe=0;oe<fe.length;oe++)if(fe[oe].compile_success==0||!fe[oe].compile_success){Ce=!1;break}}else Ce=!1;return Ce}function Le(fe,Ce=""){let oe=[];for(let Oe=0;Oe<fe.length;Oe++){let ve=fe[Oe],Me=Ce?`${Ce}/${ve.name}`:`${ve.name}`;oe.push({title:ve.name,type:ve.type,isLeaf:ve.type!=="tree",key:Me})}return oe}function Je(fe,Ce,oe){for(let Oe=0;Oe<fe.length;Oe++){let ve=fe[Oe];if(ve.key===Ce){ve.children=oe;break}ve.children&&Je(ve.children,Ce,oe)}return fe}function He(fe,Ce,oe){let Oe;return function(){let ve=this,Me=arguments,Ie=function(){Oe=null,oe||fe.apply(ve,Me)},_e=oe&&!Oe;clearTimeout(Oe),Oe=setTimeout(Ie,Ce),_e&&fe.apply(ve,Me)}}const Se=!0,Ue=x.Z.API_SERVER},65078:function(Vn,Tt,ae){"use strict";ae.d(Tt,{ij:function(){return ke},_s:function(){return Ee},Uf:function(){return xe},ZP:function(){return Qe}});var x=ae(59301),ct={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),Je=ae.n(Le),He=ae(42441),Se=ae(25399),Ue=ae(458),fe=ae(29787),Ce=ae(2524),oe=ae(74128),Oe=Object.defineProperty,ve=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,_e=(Re,et,Ge)=>et in Re?Oe(Re,et,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Re[et]=Ge,we=(Re,et)=>{for(var Ge in et||(et={}))Me.call(et,Ge)&&_e(Re,Ge,et[Ge]);if(ve)for(var Ge of ve(et))Ie.call(et,Ge)&&_e(Re,Ge,et[Ge]);return Re};const xe=(Re={})=>{var et,Ge,lt,it;let ft=(et=Re==null?void 0:Re.emotion)==null?void 0:et.map(Ne=>we({value:Ne==null?void 0:Ne.rate},Ne)),bt=(Ge=Re==null?void 0:Re.focus)==null?void 0:Ge.map(Ne=>we({value:Ne==null?void 0:Ne.rate},Ne)),je=(lt=Re==null?void 0:Re.action)==null?void 0:lt.map(Ne=>we({value:Ne==null?void 0:Ne.rate},Ne)),ht=(it=Re==null?void 0:Re.intention)==null?void 0:it.map(Ne=>we({value:Ne==null?void 0:Ne.rate},Ne));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:ft||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:bt||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:je||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:ht||[]}]},Ee=({className:Re,dataSource:et=[],col:Ge=4,right:lt,bottom:it=23,precision:ft=0,wrapWidth:bt=1200})=>{const je=(Ne="",We,Ut="--")=>Ne?(Ne==null?void 0:Ne.length)>We?(Ne==null?void 0:Ne.slice(0,We-1))+"...":Ne:Ut,ht=Math.floor((bt-(Ge-1)*lt)/Ge);return x.createElement("div",{className:Je()(ct.list,Re)},!!(et!=null&&et.length)&&(et==null?void 0:et.map((Ne,We)=>{const{cover_pic:Ut,created_at:ot,emotion:yt,action:Ft,intention:Ze,focus:Te}=Ne;return x.createElement("div",{key:We,className:ct.wrap,style:{width:ht,marginRight:(1+We)%Ge===0?0:lt+ft,marginBottom:it}},x.createElement("div",{className:ct.img},x.createElement("img",{src:`${oe.Z.API_SERVER}${Ut}`}),x.createElement("div",{className:ct.tips},x.createElement("div",null,x.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),x.createElement("span",null,ot))),x.createElement("div",{className:ct.footer},x.createElement("ul",null,x.createElement("li",null,x.createElement("i",{className:"iconfont icon-biaoqing"}),x.createElement("span",null,"\u8868\u60C5\uFF1A",x.createElement(Se.Z,{title:yt},x.createElement("span",{className:"c-grey-333"},je(yt,4))))),x.createElement("li",null,x.createElement("i",{className:"iconfont icon-hangwei"}),x.createElement("span",null,"\u884C\u4E3A\uFF1A",x.createElement(Se.Z,{title:Ft},x.createElement("span",{className:"c-grey-333"},je(Ft,4)))))),x.createElement("ul",null,x.createElement("li",null,x.createElement("i",{className:"iconfont icon-yitu"}),x.createElement("span",null,"\u610F\u56FE\uFF1A",x.createElement(Se.Z,{title:Ze},x.createElement("span",{className:"c-grey-333"},je(Ze,4))))),x.createElement("li",null,x.createElement("i",{className:"iconfont icon-zhuangtai"}),x.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",x.createElement(Se.Z,{title:Te},x.createElement("span",{className:"c-grey-333"},je(Te,3))))))))})))},ke=({className:Re,style:et,title:Ge,hideBar:lt=!1,children:it,customText:ft="",noDataText:bt="",emptyData:je=[],loading:ht,actionAnalysis:Ne})=>{var We,Ut;const ot=((We=je==null?void 0:je[0])==null?void 0:We.every(Ft=>{var Ze;return!((Ze=Ft==null?void 0:Ft.data)!=null&&Ze.length)}))&&!((Ut=je==null?void 0:je[1])!=null&&Ut.length)||!Ne,yt=Ne?bt:ft;return x.createElement(Ue.Z,{loading:ht,active:!0},ot&&x.createElement("div",{className:Je()(ct.noData,Re),style:et},!!Ge&&x.createElement("div",{className:ct.title},!lt&&x.createElement("b",null),x.createElement("span",null,Ge)),x.createElement("div",{className:ct.itemWrap},x.createElement(Ce.Z,{customText:yt}))),!ot&&it)};var Qe=({className:Re,style:et,data:Ge=[],title:lt,hideBar:it=!1,loading:ft=!1})=>x.createElement("div",{className:Je()(ct.analysis,Re),style:et},!!lt&&x.createElement("div",{className:ct.title},!it&&x.createElement("b",null),x.createElement("span",null,lt)),x.createElement(fe.Z,{spinning:ft},x.createElement("div",{className:ct.itemWrap},Ge==null?void 0:Ge.map((bt,je)=>x.createElement("div",{className:ct.item,key:je},x.createElement(He.Z,{option:{tooltip:{trigger:"item",formatter:"{a} <br/>{b}: {c}%"},title:{left:"center",bottom:15,text:bt==null?void 0:bt.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(ht){for(let Ne in bt==null?void 0:bt.data)if(ht==(bt==null?void 0:bt.data[Ne].name))return ht+" "+(bt==null?void 0:bt.data[Ne].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:bt==null?void 0:bt.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:bt==null?void 0:bt.data}]},style:{height:145}}))))))},48530:function(Vn,Tt,ae){"use strict";var x=ae(86204),ct=ae.n(x),Le=Object.defineProperty,Je=(fe,Ce,oe)=>Ce in fe?Le(fe,Ce,{enumerable:!0,configurable:!0,writable:!0,value:oe}):fe[Ce]=oe,He=(fe,Ce,oe)=>Je(fe,typeof Ce!="symbol"?Ce+"":Ce,oe),Se=(fe,Ce,oe)=>new Promise((Oe,ve)=>{var Me=we=>{try{_e(oe.next(we))}catch(xe){ve(xe)}},Ie=we=>{try{_e(oe.throw(we))}catch(xe){ve(xe)}},_e=we=>we.done?Oe(we.value):Promise.resolve(we.value).then(Me,Ie);_e((oe=oe.apply(fe,Ce)).next())});class Ue extends x.EventEmitter{constructor(Ce,oe){super(),He(this,"url"),He(this,"body"),He(this,"fullContent",""),He(this,"controller",null),He(this,"buffer",""),this.url=Ce,this.body=oe}startStream(){return Se(this,null,function*(){this.controller=new AbortController;const{signal:Ce}=this.controller;try{const oe=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Ce});if(!oe.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${oe.status}`);const Oe=oe.headers.get("content-type");if(!Oe)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Oe.includes("application/json")){const Ie=yield oe.json();this.emit("error",Ie);return}if(!Oe.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const ve=oe.body.getReader(),Me=new TextDecoder("utf-8");for(;;){const{done:Ie,value:_e}=yield ve.read();if(Ie)break;const we=Me.decode(_e,{stream:!0});this.buffer+=we;const xe=this.buffer.split(`
`);this.buffer=xe.pop()||"";for(const Ee of xe)if(Ee.startsWith("data:")){const ke=Ee.slice(5).trim();if(ke==="[DONE]")break;try{const ze=JSON.parse(ke);ze.data&&this.handleData(ze.data)}catch(ze){this.buffer=Ee+`
`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ze)}}}this.emit("done",this.fullContent)}catch(oe){oe.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",oe.message)}})}handleData(Ce){Ce.content&&(this.fullContent+=Ce.content,this.emit("data",{chunk:Ce,full:this.fullContent}))}cancelRequest(){var Ce;(Ce=this.controller)==null||Ce.abort()}}Tt.Z=Ue},27183:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return _e}});var x=ae(59301),ct={flex_box_center:"flex_box_center___A3pzf",flex_space_between:"flex_space_between___JBoa5",flex_box_vertical_center:"flex_box_vertical_center___MJuIO",flex_box_center_end:"flex_box_center_end___OcjUA",flex_box_column:"flex_box_column___zSH4A",list:"list___KhJas",middle:"middle___IjlYi",row:"row___GGtIx",title:"title___o_xqf",size:"size___OVRoL",download:"download___ZLcIH",preview:"preview___gi0kI",annotation:"annotation___KVSwj"},Le=ae(92310),Je=ae.n(Le),He=ae(52918),Se=ae(16750),Ue=ae(65862),fe=ae(74128),Ce=ae(38147),oe=ae(41867),Oe=ae(65582),ve=ae(6767),Me=(we,xe,Ee)=>new Promise((ke,ze)=>{var Qe=Ge=>{try{et(Ee.next(Ge))}catch(lt){ze(lt)}},Re=Ge=>{try{et(Ee.throw(Ge))}catch(lt){ze(lt)}},et=Ge=>Ge.done?ke(Ge.value):Promise.resolve(Ge.value).then(Qe,Re);et((Ee=Ee.apply(we,xe)).next())});const Ie=({className:we,style:xe,dataSource:Ee=[],authority:ke=!1,callback:ze,showDimensions:Qe=!0,classroomList:Re})=>{var et;const[Ge,lt]=(0,x.useState)({content:"",type:""}),[it,ft]=(0,x.useState)({}),[bt,je]=(0,x.useState)(!1),[ht,Ne]=(0,x.useState)({title:"",visible:!1,src:"",snapshotData:{}}),We=(0,x.useRef)(),Ut=Ze=>Me(void 0,null,function*(){if(ft(Ze),Ze.file_type==="txt"){const Te=yield(0,Ce.ZP)(Ze.url,{method:"get",headers:{"Content-Type":"application/xml"}});We.current=Te}lt({type:Ze.file_type,content:fe.Z.API_SERVER+Ze.url})}),ot=Ze=>{var Te;Ne({visible:!0,src:fe.Z.API_SERVER+Ze.url,id:Ze.id,title:Ze.title,snapshotData:(Te=Ze==null?void 0:Ze.subitem)==null?void 0:Te.settings})},yt=Ze=>Me(void 0,null,function*(){var Te;lt({type:Ze.file_type,content:fe.Z.API_SERVER+((Te=Ze==null?void 0:Ze.subitem)==null?void 0:Te.url)})}),Ft=()=>{ze(),Ne({visible:!1})};return Ee!=null&&Ee.length?x.createElement(x.Fragment,null,x.createElement("div",{className:Je()(ct.list,we),style:xe},Ee.map((Ze,Te)=>{var At,Zt,Kt;return x.createElement("div",{key:Te,className:ct.row},x.createElement("div",{className:ct.title,onClick:()=>Ut(Ze)},x.createElement("i",{className:"iconfont icon-fujian1"}),x.createElement("span",{title:Ze.title},Ze.title)),x.createElement("div",{className:ct.size},Ze.filesize),x.createElement("div",{className:ct.download,onClick:()=>{var rt,Nt;if((0,oe.Rm)()&&!((rt=Re.AssistantObject.normal)!=null&&rt.can_download)){ve.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(0,Ue.Nd)("",`${fe.Z.API_SERVER}${(Nt=Ze.url)==null?void 0:Nt.replace("disposition=inline","")}`)}},x.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D"),!["other","download"].includes(Ze==null?void 0:Ze.file_type)&&x.createElement("div",{className:ct.preview,onClick:()=>Ut(Ze)},x.createElement("i",{className:"iconfont icon-yulan"}),"\u9884\u89C8"),["image"].includes(Ze==null?void 0:Ze.file_type)&&Qe&&(ke?x.createElement("div",{className:ct.annotation,onClick:()=>ot(Ze)},x.createElement("i",{className:"iconfont icon-pizhu"}),(At=Ze.subitem)!=null&&At.id?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"):((Zt=Ze.subitem)==null?void 0:Zt.id)&&x.createElement("div",{className:ct.annotation,onClick:()=>yt(Ze)},x.createElement("i",{className:"iconfont icon-chakanlaoshipizhu1"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8")),["image"].includes(Ze==null?void 0:Ze.file_type)&&((Kt=Ze.subitem)==null?void 0:Kt.id)&&x.createElement("div",{className:ct.download,style:{marginLeft:20},onClick:()=>{var rt,Nt;(0,Ue.Nd)("",`${fe.Z.API_SERVER}${(Nt=(rt=Ze==null?void 0:Ze.subitem)==null?void 0:rt.url)==null?void 0:Nt.replace("disposition=inline","")}`)}},x.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D\u6279\u6CE8\u6587\u4EF6"),["office"].includes(Ze==null?void 0:Ze.file_type)&&(0,oe.eB)()&&["xlsx","docx","pptx"].includes(Ze==null?void 0:Ze.file_sub)&&Qe&&x.createElement("div",{className:ct.annotation,onClick:()=>{je(!0),Ut(Ze)}},x.createElement("i",{className:"iconfont icon-pizhu"}),Ze.is_edit?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"),Ze.is_edit&&(0,oe.dE)()&&Qe&&x.createElement("div",{className:ct.annotation,onClick:()=>{Ut(Ze)}},x.createElement("i",{className:"iconfont icon-sousuo7"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8"))})),x.createElement(He.Z,{close:!0,data:Ge==null?void 0:Ge.content,type:Ge==null?void 0:Ge.type,hasMask:!0,disabledDownload:(0,oe.Rm)()&&!((et=Re.AssistantObject.normal)!=null&&et.can_download),editOffice:bt?"edit":"view",monacoEditor:{value:We.current,language:"txt",onChange:()=>{},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onImgDimensions:ke&&Qe&&Ge.type==="image"?()=>ot(it):null,onClose:()=>{ze(),je(!1),lt({content:"",type:""})}}),x.createElement(Se.Z,{onOk:Ft,onClose:()=>Ne({visible:!1}),data:ht,showFullTools:!0})):null};var _e=(0,Oe.connect)(({classroomList:we})=>({classroomList:we}))(Ie)},16750:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Oe}});var x=ae(59301),ct={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Le=ae(92310),Je=ae.n(Le),He=ae(29787),Se=ae(2859),Ue=ae(38147),fe=ae(65862),Ce=(ve,Me,Ie)=>new Promise((_e,we)=>{var xe=ze=>{try{ke(Ie.next(ze))}catch(Qe){we(Qe)}},Ee=ze=>{try{ke(Ie.throw(ze))}catch(Qe){we(Qe)}},ke=ze=>ze.done?_e(ze.value):Promise.resolve(ze.value).then(xe,Ee);ke((Ie=Ie.apply(ve,Me)).next())}),Oe=({data:ve,className:Me,fullWidth:Ie,style:_e={},onClose:we,onOk:xe,showFullTools:Ee,noAssociationId:ke})=>{const ze=(0,x.useRef)(null),Qe=(0,x.useRef)(null),Re=(0,x.useRef)(null),et=(0,x.useRef)(null),[Ge,lt]=(0,x.useState)(!1),[it,ft]=(0,x.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,x.useEffect)(()=>(Re.current||(Re.current=document.createElement("style"),document.head.appendChild(Re.current)),ve!=null&&ve.visible?(document.body.setAttribute("data-custom","y-hidden"),Re.current.innerHTML=" html { overflow-y: hidden; }",ve!=null&&ve.src&&bt()):(document.body.removeAttribute("data-custom"),Re.current&&(document.head.removeChild(Re.current),Re.current=null)),()=>{document.body.removeAttribute("data-custom"),Re.current&&(document.head.removeChild(Re.current),Re.current=null)}),[ve==null?void 0:ve.visible]);const bt=()=>Ce(void 0,null,function*(){lt(!0),ft("\u6B63\u5728\u52A0\u8F7D\u4E2D");const We=yield(0,fe.ZJ)(ve==null?void 0:ve.src);ze.current.src="",ze.current.src=We,ze.current.onload=function(){Ne()},lt(!1),ft("")}),je=We=>Ce(void 0,null,function*(){lt(!0),ft("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ut=yield(0,Ue.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ve.title,file:We.dataUrl}});Ut!=null&&Ut.id&&!ke?(yield(0,Ue.ZP)(`/api/attachments/${ve.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ut==null?void 0:Ut.id,settings:JSON.stringify(We.state)}})).status===0&&xe():Ut!=null&&Ut.id&&xe(Ut),lt(!1),ft("")}),ht=()=>{const We=document.querySelector('a[href="https://markerjs.com/"]');We&&We.parentNode&&(We.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(ot=>{const yt=document.querySelector(ot.name);yt&&yt.setAttribute("title",ot.title)})},Ne=()=>{Qe.current=new Se.hP(ze.current),Qe.current.targetRoot=et.current,Qe.current.addEventListener("render",je),Qe.current.addEventListener("beforeclose",we),Ee&&(Qe.current.availableMarkerTypes=Qe.current.ALL_MARKER_TYPES,Qe.current.uiStyleSettings.redoButtonVisible=!0,Qe.current.uiStyleSettings.notesButtonVisible=!0,Qe.current.uiStyleSettings.zoomButtonVisible=!0,Qe.current.uiStyleSettings.zoomOutButtonVisible=!0,Qe.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=Qe.current.uiStyleSettings,Qe.current.show(),ve!=null&&ve.snapshotData&&Qe.current.restoreState(ve.snapshotData),setTimeout(()=>{window.scrollTo(0,0),ht()},300)};return x.createElement(x.Fragment,null,(ve==null?void 0:ve.visible)&&x.createElement(He.Z,{spinning:Ge,tip:it,style:{position:"absolute",width:"100vw"}},x.createElement("div",{ref:et,className:Je()(ct.imageDimensions,Me,Ie?ct.fullWidth:""),style:_e},x.createElement("img",{className:ct.img,ref:ze}))))}},99298:function(Vn,Tt,ae){"use strict";var x=ae(59301),ct=ae(77019),Le=ae(5269),Je=ae(31691),He=ae(7939),Se=ae(95097),Ue=ae(96408),fe=ae(48136),Ce=ae(59301);const oe=(0,x.forwardRef)(({callback:Oe,showSaveButton:ve,value:Me=""},Ie)=>{const _e=(0,x.useRef)(),we=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],xe=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
x=a + r\\text{cos}\\theta \\ \r
y=b + r\\text{sin}\\theta \r
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\left\\{\\begin{matrix} \r
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
\\end{matrix}\\right. \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
a \\perp \\alpha \\ \r
b \\perp \\alpha \r
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
a \\parallel \\partial ,b \\parallel \\partial \r
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
a \\perp m,a \\perp n \r
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
a^{2}+b^{2}=c^{2} \r
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
a,b \\in R^{+} \\ \r
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
a,b \\in R \\ \r
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
P \\left( \\emptyset \\right) =0 \\\\ \r
P \\left( S \\right) =1 \r
\\end{array}`},{value:`\\begin{array}{c} \r
\\forall A \\in S \\\\ \r
P \\left( A \\right) \\ge 0 \r
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
\\end{array}`},{value:`\\begin{array}{c} \r
P_{n}=n! \\\\ \r
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
\\end{array}`}]}]}],Ee=Qe=>{_e.current.setValue(_e.current.getValue()+" "+Qe.value+" ")},ke=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ce.createElement(ct.Z,{className:Ue.Z.lists,gutter:[10,10]},we.map((Qe,Re)=>Ce.createElement(Le.Z,{flex:"110px",className:Ue.Z.item},Ce.createElement("div",null,Ce.createElement(Se.Z,{value:`$$${Qe.value}$$`}),Qe.name),Ce.createElement("div",{className:Ue.Z.children},Qe.children.map((et,Ge)=>Ce.createElement("div",{key:Ge},Ce.createElement("h1",null,et.name),Ce.createElement(ct.Z,{gutter:[10,10]},et.data.map((lt,it)=>Ce.createElement(Le.Z,{key:it,onClick:()=>Ee(lt),className:Ue.Z.diamond},Ce.createElement(Se.Z,{value:"`$$"+lt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ce.createElement(ct.Z,{className:Ue.Z.lists,gutter:[10,10]},xe.map((Qe,Re)=>Ce.createElement(Le.Z,{flex:"110px",className:Ue.Z.item},Ce.createElement("div",null,Ce.createElement(Se.Z,{value:"`$$"+Qe.value+"$$`"}),Qe.name),Ce.createElement("div",{className:Ue.Z.children},Qe.children.map((et,Ge)=>Ce.createElement("div",{key:Ge},et.name&&Ce.createElement("h1",null,et.name),Ce.createElement(ct.Z,{gutter:[10,10]},et.data.map((lt,it)=>Ce.createElement(Le.Z,{key:it,onClick:()=>Ee(lt),className:Ue.Z.diamond},Ce.createElement(Se.Z,{value:"`$$"+lt.value+"$$`"}))))))))))}],ze=()=>{var Qe=document.createElement("div");Qe.innerHTML=_e.current.getValue();var Re=Qe.innerText;return Oe&&Oe(Re),Re};return(0,x.useImperativeHandle)(Ie,()=>({getData:ze})),Ce.createElement("div",{className:Ue.Z.mathWrap},Ce.createElement(Je.default,{defaultActiveKey:"1",items:ke}),Ce.createElement("math-field",{locale:"zh_cn",className:Ue.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:_e,style:{width:800,marginTop:30,fontSize:18}},Me||""),ve&&Ce.createElement("div",{className:Ue.Z.button},Ce.createElement(He.ZP,{size:"large",onClick:ze,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Tt.Z=oe},2524:function(Vn,Tt,ae){"use strict";var x=ae(59301),ct=ae(93314),Le=ae(7939),Je=Object.defineProperty,He=Object.defineProperties,Se=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,oe=(Ie,_e,we)=>_e in Ie?Je(Ie,_e,{enumerable:!0,configurable:!0,writable:!0,value:we}):Ie[_e]=we,Oe=(Ie,_e)=>{for(var we in _e||(_e={}))fe.call(_e,we)&&oe(Ie,we,_e[we]);if(Ue)for(var we of Ue(_e))Ce.call(_e,we)&&oe(Ie,we,_e[we]);return Ie},ve=(Ie,_e)=>He(Ie,Se(_e));const Me=({img:Ie,buttonProps:_e={},styles:we={},customText:xe,ButtonText:Ee,ButtonClick:ke,Buttonclass:ze,ButtonTwo:Qe,imgStyles:Re,loading:et=!1,className:Ge=""})=>x.createElement("section",{className:`tc animated fadeIn ${Ge}`,style:Oe({color:"#999",margin:"100px auto",visibility:et?"hidden":"visible"},we)},x.createElement("img",{src:Ie||ct,style:ve(Oe({},Re),{pointerEvents:"none",userSelect:"none"})}),x.createElement("p",{className:"mt20 font14"},xe||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),Ee&&x.createElement(Le.ZP,Oe({className:ze,onClick:ke},_e),Ee),Qe&&Qe);Tt.Z=Me},52918:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return ze}});var x=ae(59301),ct={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},Le=ae(7939),Je=ae(70557),He=ae(50258),Se=ae(25399),Ue=ae(65862),fe=ae(87513),Ce=ae(2524),oe=ae(74128),Oe=ae(7310),ve=ae(59301),Me=Object.defineProperty,Ie=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,xe=(Qe,Re,et)=>Re in Qe?Me(Qe,Re,{enumerable:!0,configurable:!0,writable:!0,value:et}):Qe[Re]=et,Ee=(Qe,Re)=>{for(var et in Re||(Re={}))_e.call(Re,et)&&xe(Qe,et,Re[et]);if(Ie)for(var et of Ie(Re))we.call(Re,et)&&xe(Qe,et,Re[et]);return Qe},ke=(Qe,Re,et)=>new Promise((Ge,lt)=>{var it=je=>{try{bt(et.next(je))}catch(ht){lt(ht)}},ft=je=>{try{bt(et.throw(je))}catch(ht){lt(ht)}},bt=je=>je.done?Ge(je.value):Promise.resolve(je.value).then(it,ft);bt((et=et.apply(Qe,Re)).next())}),ze=({editOffice:Qe="view",data:Re,issaver:et,onSaver:Ge,theme:lt,type:it,filename:ft,monacoEditor:bt,className:je,style:ht,close:Ne,onClose:We,hasMask:Ut,disabledDownload:ot,onImgDimensions:yt,showNodata:Ft,recordInfo:Ze})=>{const[Te,At]=(0,x.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Zt,Kt]=(0,x.useState)(""),[rt,Nt]=(0,x.useState)(),Qt=window.ENV==="build"?"/react/build":"",pn=location.host.startsWith("localhost")?oe.Z.PROXY_SERVER:oe.Z.API_SERVER,vn=10*(1024*1024),_t=(0,x.useRef)();Re!=null&&Re.startsWith("/api")&&it!=="txt"&&(Re=oe.Z.API_SERVER+Re);const Fn=ee=>ee.substring(ee.lastIndexOf("/")+1).split(".").pop();ft&&bt&&(bt.filename=ft),(0,x.useEffect)(()=>{var ee,le;const se=(le=(ee=document.cookie)==null?void 0:ee.replace(/\s/g,""))==null?void 0:le.split(";");se==null||se.map(Be=>{let $e=Be.split("=");$e[0]==="_educoder_session"&&Kt($e[1])})},[]),(0,x.useEffect)(()=>{it==="office"&&(Re.indexOf("bigfilescdn.")>-1||Re.indexOf("bigfiles1")>-1?Nt({url:Re,fileType:Fn(Re),model:Re.indexOf("model=edit")?"edit":"view"}):de())},[it,Re]);function on(ee){return ke(this,null,function*(){ee.data.type==="pdfdata"&&(Ge(ee.data.data),window.removeEventListener("message",on,!1)),console.log("mess---:",ee.data)})}const de=()=>ke(void 0,null,function*(){console.log("data:",Re);let ee=Re;Re.startsWith("http")||(ee=location.origin+ee);let le=new URL(ee).pathname.split("/").pop();const se=yield(0,fe.gJ)({attachment_id:le});se.url=pn+se.url,Nt(se)}),ge=()=>{if(Re.startsWith("http")||Re.startsWith("blob:")){ie();return}(0,Ue.Sv)(ft||"educoder",Re,ft)},ie=()=>{Ze&&(0,Oe.fc)({id:Ze==null?void 0:Ze.id,watch_type:1,course_id:Ze==null?void 0:Ze.course_id}),(0,Ue.Nd)(ft||"educoder",decodeURIComponent(Re))};return ve.createElement("div",{style:Ee({},ht||{}),className:`${Ut&&ct.bgBlack} ${it?ct.wrp:"hide"}`},Ne&&ve.createElement("div",{className:ct.close,ref:_t},!!yt&&ve.createElement(Se.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>_t.current},ve.createElement("span",{onClick:()=>{We(),yt()}},ve.createElement("i",{className:"icon-yulanpizhu"}))),!ot&&ve.createElement(Se.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>_t.current},ve.createElement("span",{onClick:ie},ve.createElement("i",{className:"icon-quxiaozhiding"}))),et&&ve.createElement(Se.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>_t.current},ve.createElement("span",{className:"",onClick:()=>{const ee=document.getElementById("pdfiframe");window.addEventListener("message",on,!1),setTimeout(()=>{ee.contentWindow.postMessage("getData","*")},300)}},ve.createElement("i",{className:"icon-baocun"}))),ve.createElement(Se.Z,{title:"\u5173\u95ED",getPopupContainer:()=>_t.current},ve.createElement("span",{className:"",onClick:()=>{We()}},ve.createElement("i",{className:"icon-guanbi1"})))),ve.createElement("div",{className:`${ct[je]} ${je} ${ct.monaco} ${it==="txt"?"show":"hide"}`},it==="txt"&&ve.createElement(ve.Fragment,null,ve.createElement(He.ZP,Ee({},bt)))),it==="audio"&&ve.createElement("audio",{src:`${(Re==null?void 0:Re.indexOf("http://"))>-1||(Re==null?void 0:Re.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Re}`,autoPlay:!0}),it==="video"&&ve.createElement(ve.Fragment,null,(Re==null?void 0:Re.indexOf("http"))>-1?ve.createElement("video",{controls:!0,src:`${Re}`,autoPlay:!0}):ve.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Re}`,autoPlay:!0})),it==="office"&&rt&&ve.createElement("iframe",{src:`${Qt}/office.html?key=${rt.key}&url=${btoa(rt.url)}&callbackUrl=${pn+(rt.callbackUrl||"")}&fileType=${rt.fileType}&title=${rt.title||""}&model=${Qe}&officeServer=${oe.Z.ONLYOFFICE}&disabledDownload=${!!ot}`}),it==="html"&&ve.createElement("iframe",{src:Re+"&disposition=inline"}),it==="pdf"&&ve.createElement("iframe",{id:"pdfiframe",src:`${Qt}/js/pdf/index.html?filename=${ft||"educoder.pdf"}&url=${encodeURIComponent(Re)}&disabledDownload=${!!ot}&model=${Qe}`}),it==="image"&&ve.createElement("img",{src:`${(Re==null?void 0:Re.indexOf("http://"))>-1||(Re==null?void 0:Re.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Re}`}),(it==="other"||it==="download")&&ve.createElement(ve.Fragment,null,Ft?ve.createElement(Ce.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:ve.createElement(Le.ZP,{icon:ve.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ge,disabled:ot},"\u4E0B\u8F7D")}):ve.createElement(Le.ZP,{type:"primary",size:"middle",onClick:ge,disabled:ot},ve.createElement(Je.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),it==="flowChart"&&ve.createElement("div",{className:"embed"},ve.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${Re||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},95097:function(Vn,Tt,ae){"use strict";ae.d(Tt,{z:function(){return bt},Z:function(){return je}});var x=ae(59301),ct=ae(48850),Le=ae(49142),Je=ae(64018),He=ae(17030),Se=ae(74128),Ue=ae(65862),fe=ae(15342),Ce=ae(44104),oe=ae(7939),Oe=ae(1012),ve=ae(52918),Me=ae(59301),_e=({html:ht})=>{const Ne=(0,x.useRef)(null),We=(0,x.useRef)(null),Ut=`.markdown-body p {
margin: 0 0 16px 0 !important;
line-height: 28px;
white-space: pre-wrap;
}
ol,
ul,
li {
list-style-type: none
}
ol,
ul,
dl {
margin-bottom: 0px;
}
.markdown-body {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
color: #333;
overflow: hidden;
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
word-break: break-word;
font-size: 16px;
line-height: 1.6;
white-space: normal;
word-wrap: break-word;
position: relative;
}
.markdown-body ul>li {
list-style-type: disc;
}
.markdown-body ol>li {
list-style-type: decimal;
}
.markdown-body a {
background: transparent;
}
.markdown-body a:active,
.markdown-body a:hover {
outline: 0;
}
.markdown-body strong {
font-weight: bold;
}
.markdown-body h1 {
font-size: 2em;
margin: 0.67em 0;
}
.markdown-body img {
border: 0;
}
.markdown-body hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
.markdown-body pre {
overflow: auto;
}
.markdown-body code,
.markdown-body kbd,
.markdown-body pre {
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
font-size: 1em;
}
.markdown-body input {
color: inherit;
font: inherit;
margin: 0;
}
.markdown-body html input[disabled] {
cursor: default;
}
.markdown-body input {
line-height: normal;
}
.markdown-body input[type="checkbox"] {
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
}
.markdown-body table {
border-collapse: collapse;
border-spacing: 0;
}
.markdown-body td,
.markdown-body th {
padding: 0;
}
.markdown-body * {
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.markdown-body input {
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
}
.markdown-body a {
color: #4183c4;
text-decoration: none;
}
.markdown-body a:hover,
.markdown-body a:active {
text-decoration: underline;
}
.markdown-body hr {
height: 0;
margin: 15px 0;
overflow: hidden;
background: transparent;
border: 0;
border-bottom: 1px solid #ddd;
}
.markdown-body hr:before {
display: table;
content: "";
}
.markdown-body hr:after {
display: table;
clear: both;
content: "";
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
margin-top: 15px;
margin-bottom: 15px;
line-height: 1.1;
}
.markdown-body h1 {
font-size: 30px;
}
.markdown-body h2 {
font-size: 21px;
}
.markdown-body h3 {
font-size: 16px;
}
.markdown-body h4 {
font-size: 14px;
}
.markdown-body h5 {
font-size: 12px;
}
.markdown-body h6 {
font-size: 11px;
}
.markdown-body blockquote {
margin: 0;
}
.markdown-body ul,
.markdown-body ol {
padding: 0;
margin-top: 0;
margin-bottom: 0;
}
ul.linenums,
ol.linenums {
padding: 16px 0 0 56px !important;
}
.markdown-body ul,
.markdown-body ol {
padding-left: 2em;
}
.markdown-body ol ol,
.markdown-body ul ol {
list-style-type: lower-roman;
}
.markdown-body ul ul ol,
.markdown-body ul ol ol,
.markdown-body ol ul ol,
.markdown-body ol ol ol {
list-style-type: lower-alpha;
}
.markdown-body dd {
margin-left: 0;
}
.markdown-body code {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 12px;
}
.markdown-body pre {
margin-top: 0;
margin-bottom: 0;
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
.markdown-body .octicon {
font: normal normal 16px octicons-anchor;
line-height: 1;
display: inline-block;
text-decoration: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.markdown-body .octicon-link:before {
content: '\f05c';
}
.markdown-body>*:first-child {
margin-top: 0 !important;
}
.markdown-body>*:last-child {
margin-bottom: 0 !important;
}
.markdown-body .anchor {
position: absolute;
top: 0;
left: 0;
display: block;
padding-right: 6px;
padding-left: 30px;
margin-left: -30px;
}
.markdown-body .anchor:focus {
outline: none;
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
position: relative;
margin-top: 1em;
margin-bottom: 16px;
font-weight: bold;
line-height: 1.4;
}
.markdown-body h1 .octicon-link,
.markdown-body h2 .octicon-link,
.markdown-body h3 .octicon-link,
.markdown-body h4 .octicon-link,
.markdown-body h5 .octicon-link,
.markdown-body h6 .octicon-link {
display: none;
color: #000;
vertical-align: middle;
}
.markdown-body h1:hover .anchor,
.markdown-body h2:hover .anchor,
.markdown-body h3:hover .anchor,
.markdown-body h4:hover .anchor,
.markdown-body h5:hover .anchor,
.markdown-body h6:hover .anchor {
padding-left: 8px;
margin-left: -30px;
text-decoration: none;
}
.markdown-body h1:hover .anchor .octicon-link,
.markdown-body h2:hover .anchor .octicon-link,
.markdown-body h3:hover .anchor .octicon-link,
.markdown-body h4:hover .anchor .octicon-link,
.markdown-body h5:hover .anchor .octicon-link,
.markdown-body h6:hover .anchor .octicon-link {
display: inline-block;
}
.markdown-body h1 {
padding-bottom: 0.3em;
font-size: 2.25em;
line-height: 1.2;
border-bottom: 1px solid #eee;
}
.markdown-body h1 .anchor {
line-height: 1;
}
.markdown-body h2 {
padding-bottom: 0.3em;
font-size: 1.75em;
line-height: 1.225;
border-bottom: 1px solid #eee;
}
.markdown-body h2 .anchor {
line-height: 1;
}
.markdown-body h3 {
font-size: 1.5em;
line-height: 1.43;
}
.markdown-body h3 .anchor {
line-height: 1.2;
}
.markdown-body h4 {
font-size: 1.25em;
}
.markdown-body h4 .anchor {
line-height: 1.2;
}
.markdown-body h5 {
font-size: 1em;
}
.markdown-body h5 .anchor {
line-height: 1.1;
}
.markdown-body h6 {
font-size: 1em;
color: #777;
}
.markdown-body h6 .anchor {
line-height: 1.1;
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
margin-top: 0;
margin-bottom: 16px;
}
.markdown-body ul ul,
.markdown-body ul ol,
.markdown-body ol ol,
.markdown-body ol ul {
margin-top: 0;
margin-bottom: 0;
}
.markdown-body li>p {
margin-top: 16px;
}
.markdown-body dl {
padding: 0;
}
.markdown-body dl dt {
padding: 0;
margin-top: 16px;
font-size: 1em;
font-style: italic;
font-weight: bold;
}
.markdown-body dl dd {
padding: 0 16px;
margin-bottom: 16px;
}
.markdown-body blockquote {
padding: 0 15px;
color: #777;
border-left: 4px solid #ddd;
}
.markdown-body blockquote> :first-child {
margin-top: 0;
}
.markdown-body blockquote> :last-child {
margin-bottom: 0;
}
.markdown-body table {
display: block;
width: 100%;
overflow: auto;
word-break: normal;
word-break: keep-all;
}
.markdown-body table th {
font-weight: bold;
text-align: revert;
}
.markdown-body table th,
.markdown-body table td {
padding: 6px 13px;
border: 1px solid #ddd;
}
.markdown-body table tr {
background-color: #fff;
border-top: 1px solid #ccc;
}
.markdown-body table tr:nth-child(2n) {
background-color: #f8f8f8;
}
.markdown-body img {
max-width: 100%;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.markdown-body code {
padding: 0;
padding-top: 0.2em;
padding-bottom: 0.2em;
margin: 0;
font-size: 85%;
background-color: rgba(0, 0, 0, 0.04);
border-radius: 3px;
}
.markdown-body code:has(.katex) {
background-color: transparent;
}
.markdown-body code:before,
.markdown-body code:after {
letter-spacing: -0.2em;
content: "\\00a0";
}
.markdown-body pre>code {
padding: 0;
margin: 0;
font-size: 100%;
word-break: normal;
white-space: pre;
background: transparent;
border: 0;
}
.markdown-body .highlight {
margin-bottom: 16px;
}
.markdown-body .highlight pre,
.markdown-body pre {
padding: 16px;
overflow: auto;
font-size: 85%;
line-height: 1.45;
background-color: #f7f7f7;
border-radius: 3px;
}
.markdown-body .highlight pre {
margin-bottom: 0;
word-break: normal;
}
.markdown-body pre {
word-wrap: normal;
}
.markdown-body pre code {
display: inline;
max-width: initial;
padding: 0;
margin: 0;
overflow: initial;
line-height: inherit;
word-wrap: normal;
background-color: transparent;
border: 0;
}
.markdown-body pre code:before,
.markdown-body pre code:after {
content: normal;
}
.markdown-body kbd {
display: inline-block;
padding: 3px 5px;
font-size: 11px;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}
.markdown-body .pl-c {
color: #969896;
}
.markdown-body .pl-c1,
.markdown-body .pl-mdh,
.markdown-body .pl-mm,
.markdown-body .pl-mp,
.markdown-body .pl-mr,
.markdown-body .pl-s1 .pl-v,
.markdown-body .pl-s3,
.markdown-body .pl-sc,
.markdown-body .pl-sv {
color: #0086b3;
}
.markdown-body .pl-e,
.markdown-body .pl-en {
color: #795da3;
}
.markdown-body .pl-s1 .pl-s2,
.markdown-body .pl-smi,
.markdown-body .pl-smp,
.markdown-body .pl-stj,
.markdown-body .pl-vo,
.markdown-body .pl-vpf {
color: #333;
}
.markdown-body .pl-ent {
color: #63a35c;
}
.markdown-body .pl-k,
.markdown-body .pl-s,
.markdown-body .pl-st {
color: #a71d5d;
}
.markdown-body .pl-pds,
.markdown-body .pl-s1,
.markdown-body .pl-s1 .pl-pse .pl-s2,
.markdown-body .pl-sr,
.markdown-body .pl-sr .pl-cce,
.markdown-body .pl-sr .pl-sra,
.markdown-body .pl-sr .pl-sre,
.markdown-body .pl-src {
color: #df5000;
}
.markdown-body .pl-mo,
.markdown-body .pl-v {
color: #1d3e81;
}
.markdown-body .pl-id {
color: #b52a1d;
}
.markdown-body .pl-ii {
background-color: #b52a1d;
color: #f8f8f8;
}
.markdown-body .pl-sr .pl-cce {
color: #63a35c;
font-weight: bold;
}
.markdown-body .pl-ml {
color: #693a17;
}
.markdown-body .pl-mh,
.markdown-body .pl-mh .pl-en,
.markdown-body .pl-ms {
color: #1d3e81;
font-weight: bold;
}
.markdown-body .pl-mq {
color: #008080;
}
.markdown-body .pl-mi {
color: #333;
font-style: italic;
}
.markdown-body .pl-mb {
color: #333;
font-weight: bold;
}
.markdown-body .pl-md,
.markdown-body .pl-mdhf {
background-color: #ffecec;
color: #bd2c00;
}
.markdown-body .pl-mdht,
.markdown-body .pl-mi1 {
background-color: #eaffea;
color: #55a532;
}
.markdown-body .pl-mdr {
color: #795da3;
font-weight: bold;
}
.markdown-body kbd {
display: inline-block;
padding: 3px 5px;
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}
.markdown-body .task-list-item {
list-style-type: none;
}
.markdown-body .task-list-item+.task-list-item {
margin-top: 3px;
}
.markdown-body .task-list-item input {
float: left;
margin: 0.3em 0 0.25em -1.6em;
vertical-align: middle;
}
.markdown-body :checked+.radio-label {
z-index: 1;
position: relative;
border-color: #4183c4;
}
/*! Pretty printing styles. Used with prettify.js. */
/* SPAN elements with the classes below are added by prettyprint. */
.pln {
color: #000
}
/* plain text */
@media screen {
.str {
color: #080
}
/* string content */
.kwd {
color: #008
}
/* a keyword */
.com {
color: #800
}
/* a comment */
.typ {
color: #606
}
/* a type name */
.lit {
color: #066
}
/* a literal value */
/* punctuation, lisp open bracket, lisp close bracket */
.pun,
.opn,
.clo {
color: #660
}
.tag {
color: #008
}
/* a markup tag name */
.atn {
color: #606
}
/* a markup attribute name */
.atv {
color: #080
}
/* a markup attribute value */
.dec,
.var {
color: #606
}
/* a declaration; a variable name */
.fun {
color: red
}
/* a function name */
}
/* Use higher contrast and text-weight for printable form. */
@media print,
projection {
.str {
color: #060
}
.kwd {
color: #006;
font-weight: bold
}
.com {
color: #600;
font-style: italic
}
.typ {
color: #404;
font-weight: bold
}
.lit {
color: #044
}
.pun,
.opn,
.clo {
color: #440
}
.tag {
color: #006;
font-weight: bold
}
.atn {
color: #404
}
.atv {
color: #060
}
}
/* Put a border around prettyprinted code snippets. */
pre.prettyprint {
padding: 2px;
/* border: 1px solid #888 */
}
/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
margin-top: 0;
margin-bottom: 0
}
/* IE indents via margin-left */
li.L0,
li.L1,
li.L2,
li.L3,
li.L5,
li.L6,
li.L7,
li.L8 {
list-style-type: none
}
/* Alternate shading for lines */
li.L1,
li.L3,
li.L5,
li.L7,
li.L9 {
background: #eee
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
margin-top: 0;
margin-bottom: 16px;
}`;return(0,x.useEffect)(()=>{const ot=Ne.current.attachShadow({mode:"open"});We.current=document.createElement("div"),We.current.className="markdown-body",We.current.innerHTML=ht,ot.appendChild(We.current);const yt=document.createElement("style");return yt.textContent=Ut,ot.appendChild(yt),()=>{ot.innerHTML=""}},[]),(0,x.useEffect)(()=>{We.current&&(We.current.innerHTML=ht)},[ht]),Me.createElement("div",{ref:Ne})};function we(ht){const Ne=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],We=new RegExp(`\\b(${Ne.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi");return ht.replace(We,"").trim()}var xe={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},Ee=Object.defineProperty,ke=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,Re=(ht,Ne,We)=>Ne in ht?Ee(ht,Ne,{enumerable:!0,configurable:!0,writable:!0,value:We}):ht[Ne]=We,et=(ht,Ne)=>{for(var We in Ne||(Ne={}))ze.call(Ne,We)&&Re(ht,We,Ne[We]);if(ke)for(var We of ke(Ne))Qe.call(Ne,We)&&Re(ht,We,Ne[We]);return ht};const Ge="@\u2581\u2581@",lt="@\u2581@",it=/<pre[^>]*>/g;function ft(ht){let Ne=document.createElement("div");return Ne.innerHTML=ht,Ne.childNodes.length===0?"":Ne.childNodes[0].nodeValue}const bt=(ht,Ne)=>{ht=ht||"";const We=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ut=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,ot=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,yt=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Ne?ht.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(We,(Ft,Ze,Te,At,Zt,Kt,rt)=>{const Nt=Ze||At||Kt,Qt=Te||Zt||rt||"?";return Se.Z.API_SERVER+"/api/attachments/"+Nt+Qt+"&t="+(0,Ue.Jn)(Nt,Date.now())+(Ft.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ht=ht.replace(yt,(Ft,Ze,Te,At,Zt,Kt,rt)=>{const Nt=Ze||At||Kt,Qt=Te||Zt||rt||"?";return Se.Z.API_SERVER+"/attachments/download/"+Nt+Qt+"&t="+(0,Ue.Jn)(Nt,Date.now())+(Ft.indexOf(")")>-1?")":"&")}).replace(We,(Ft,Ze,Te,At,Zt,Kt,rt)=>{const Nt=Ze||At||Kt,Qt=Te||Zt||rt||"?";return Se.Z.API_SERVER+"/api/attachments/"+Nt+Qt+"&t="+(0,Ue.Jn)(Nt,Date.now())+(Ft.indexOf(")")>-1?")":"&")}).replace(Ut,(Ft,Ze,Te,At,Zt)=>{const Kt=Ze||At,rt=Te||Zt||"";return'"'+Se.Z.API_SERVER+"/api/attachments/"+Kt+rt+Kt+rt+"&t="+(0,Ue.Jn)(Kt,Date.now())}).replace(ot,(Ft,Ze,Te,At,Zt)=>{const Kt=Ze||At,rt=Te||Zt||"";return"("+Se.Z.API_SERVER+"/files/uploads/"+Kt+rt+Kt+rt+"&t="+(0,Ue.Jn)(Kt,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`),ht)};var je=({value:ht="",edit:Ne=!1,className:We,showTextOnly:Ut,showLines:ot,style:yt={},stylesPrev:Ft={},highlightKeywords:Ze,showProgramFill:Te,isProgramFill:At,disabledFill:Zt=!1,programFillValue:Kt,openEditor:rt=()=>{},onFillChange:Nt=Ot=>{},onFillBlur:Qt=()=>{},onFillFocus:pn=()=>{}})=>{let Ot=we(String(ht||""));const vn=(0,x.useRef)(),_t=(0,x.useRef)(),[Fn,on]=(0,x.useState)(""),[de,ge]=(0,x.useState)("office"),[ie,ee]=(0,x.useState)([]),le=(0,x.useRef)("a"+(0,Oe.Z)()),se={},Be=en=>/<style[\s\S]*?>/i.test(en||""),$e=(en,Hn,En)=>{const Mt=document.createElement(en===lt?"input":"textarea");Mt.style.width="100%",Mt.style.height=en===lt?"40px":"151px",Mt.rows=5,Mt.spellcheck=!1,Mt.name="edu-program-fill",Mt.placeholder="\u8BF7\u8F93\u5165",Mt.dataset.id=Hn;const sn=Object.keys(se).length;return se[sn]=Mt,`<span class="edu-program-fill-wrap ${en===lt?"":"show"}" style="width:${en===lt?"600px":"100%"}" title=${En||""}><span>${Mt.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function at(en){return en=en.replace(/!\[.*?\]\(.*?\)/g,""),en=en.replace(/\[.*?\]\(.*?\)/g,""),en=en.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),en=en.replace(/<embed.*?>/g,""),en=en.replace(/<img.*?>/g,""),en=en.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),en=en.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),en=en.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),en=en.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),en}const pt=en=>!Ut&&Be(Ot)?en:en.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(Hn,En){let Mt=En.replace(/(\n|\r)/g,"").split("}"),sn=[];return Mt.map(Dn=>{Dn!=""&&sn.push(`.${le.current} ${Dn}`)}),`<style>${sn.join("}")}</style>`}),gt=(0,x.useMemo)(()=>{try{const Mt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,sn=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Dn=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Wn=/\(\/attachments\/download\//g;Ot=Ot.replace(Wn,"("+Se.Z.API_SERVER+"/attachments/download/").replace(Mt,"("+Se.Z.API_SERVER+"/api/attachments/").replace(sn,'"'+Se.Z.API_SERVER+"/api/attachments/").replace(Dn,'"'+Se.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`),vn.current.style.display="none"}catch(Mt){}if(Te){let Mt=-1;return Ot=Ot.replaceAll("<","&lt;").replaceAll(">","&gt;").replace(/(@▁▁@|@▁@)/g,function(sn,Dn,Wn){var It;return++Mt,$e(sn,Mt,(It=Kt==null?void 0:Kt[Mt])==null?void 0:It.value.replaceAll("<","&lt;").replaceAll(">","&gt;"))}),`<pre style="background:#fff;padding:4px">${pt(Ot||"")}</pre>`}let en=pt(Ot);en=(0,Le.ZP)(en);const Hn=(0,Le.ez)();Ot.match(/\[TOC\]/)&&(en=en.replace("<p>[TOC]</p>",(0,Le.Qv)()),(0,Le.Iy)()),en=en.replace(/(__special_katext_id_\d+__)/g,(Mt,sn)=>{const{type:Dn,expression:Wn}=Hn[sn];return(0,fe.renderToString)(ft(Wn)||"",{displayMode:Dn==="block",throwOnError:!1,output:"html"})}),en=en.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,Le.AL)();const En=document.createElement("div");if(En.innerHTML=en,Ut)return En.innerText;if(Ze){const Mt=Ze.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Ct(En,Mt),En.innerHTML}return setTimeout(()=>Vt(),500),En.innerHTML},[Ot,Ze]);(0,x.useEffect)(()=>{st.current&&st.current.querySelectorAll(["input","textarea"]).forEach(Hn=>{Hn.oninput=Bt,Hn.onblur=Lt,Hn.onfocus=Rt})},[ie]),(0,x.useEffect)(()=>{var en,Hn,En,Mt,sn;if(Kt!=null&&Kt.length)try{const Dn=st.current.querySelectorAll(".edu-program-fill-score"),Wn=st.current.querySelectorAll('[name="edu-program-fill"]');for(const[It,Wt]of Wn.entries())Wt.value=((en=Kt==null?void 0:Kt[It])==null?void 0:en.value)||"",((Hn=Kt==null?void 0:Kt[It])==null?void 0:Hn.type)==="warning"?Wt.className="program-fill-warning":((En=Kt==null?void 0:Kt[It])==null?void 0:En.type)==="success"?Wt.className="program-fill-success":Wt.className="";for(const[It,Wt]of Dn.entries())Wt.innerHTML=(Mt=Kt==null?void 0:Kt[It])!=null&&Mt.score?`${(sn=Kt==null?void 0:Kt[It])==null?void 0:sn.score}\u5206`:"";ee(Kt)}catch(Dn){console.log(Dn,"error")}},[Kt]);const Bt=en=>{ie[en.target.dataset.id]=ie[en.target.dataset.id]||{},ie[en.target.dataset.id].value=en.target.value,ee([...ie]),Nt(ie,en.target.dataset.id)},Lt=en=>{ie[en.target.dataset.id]=ie[en.target.dataset.id]||{},ie[en.target.dataset.id].value=en.target.value,ee([...ie]),Qt(ie,en.target.dataset.id)},Rt=en=>{ie[en.target.dataset.id]=ie[en.target.dataset.id]||{},ie[en.target.dataset.id].value=en.target.value,ee([...ie]),pn(ie,en.target.dataset.id)};function Ct(en,Hn){return en.childNodes.forEach(En=>{var Mt;if(En.childNodes.length>0)Ct(En,Hn);else if(En.nodeName!=="IMG")if(En.innerHTML)En.innerHTML=(Mt=En.innerHTML)==null?void 0:Mt.replace(new RegExp(Hn,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const sn=document.createElement("span");sn.innerHTML=En.textContent.replace(new RegExp(Hn,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),En.replaceWith(sn)}})}const st=(0,x.useRef)();Le.jb.WebkitLineClamp=ot,ot&&(yt=et(et({},yt),Le.jb));function $t(en){let Hn=en.target;if(Hn.tagName.toUpperCase()==="A"){let En=Hn.getAttribute("href");if(En.indexOf("office")>-1)en.preventDefault(),on(En),ge("office");else if(En.indexOf("application/pdf")>-1)en.preventDefault(),on(En),ge("pdf");else if(En.indexOf("text/html")>-1)en.preventDefault(),on(En),ge("html");else if(En.startsWith("#")){en.preventDefault();let Mt=document.getElementById(En.replace("#",""));Mt&&Mt.scrollIntoView(!0)}}}const Vt=()=>{var en;const Hn=(en=st.current)==null?void 0:en.querySelectorAll("video");Hn==null||Hn.forEach(En=>{if(En.oncontextmenu=()=>!1,En.src.indexOf(".m3u8")>-1&&!En.canPlayType("application/vnd.apple.mpegurl")){if(He.ZP.isSupported()){var Mt=new He.ZP;Mt.loadSource(En.src),Mt.attachMedia(En)}}})};(0,x.useEffect)(()=>{if(st.current&&gt&&gt.match(it)&&window.PR.prettyPrint(),st.current)return st.current.addEventListener("click",$t),()=>{var en;(en=st.current)==null||en.removeEventListener("click",$t),(0,Le.AL)(),(0,Le.Iy)()}},[gt,st.current,$t]);const bn=en=>{en.target.nodeName==="IMG"&&en.target.className.indexOf("draw-flowchart")>-1?(vn.current.style.zIndex=1,vn.current.style.display="flex",vn.current.style.width=en.target.clientWidth+"px",vn.current.style.height=en.target.clientHeight+"px",vn.current.style.top=en.target.offsetTop+"px",vn.current.style.left=en.target.offsetLeft+"px",en.target.id&&(_t.current=en.target.id)):vn.current.style.display="none"},an=()=>{vn.current.style.display="none"};return(0,x.useEffect)(()=>{var en;const Hn=En=>{En.preventDefault(),En.clipboardData.setData("text",window.getSelection().toString())};return(en=st.current)==null||en.addEventListener("copy",Hn),()=>{var En;(En=st.current)==null||En.removeEventListener("copy",Hn)}},[st.current]),x.createElement("div",{style:{position:"relative"},onMouseLeave:an},Ut&&x.createElement("div",{ref:st,className:`${xe.mdBody} `},gt),!Ut&&!Be(gt)&&x.createElement("div",{ref:st,style:et({},yt),onMouseOver:bn,className:`${We||""} ${Zt?"disabled-fill":""} markdown-body ${xe.mdBody} ${le.current}`,dangerouslySetInnerHTML:{__html:gt}}),!Ut&&Be(gt)&&x.createElement(_e,{html:gt}),x.createElement("div",{ref:vn,className:`${xe.button} ${Ne?"":xe.previewFlowChart}`},x.createElement(Ce.Z,null,x.createElement(oe.ZP,{onClick:()=>{Ne?rt(_t.current):(on(_t.current),ge("flowChart"))}},Ne?"\u7F16\u8F91":"\u9884\u89C8"))),x.createElement(ve.Z,{close:!0,data:Fn,type:Fn!=null&&Fn.length?de:"",style:et({},Ft),onClose:()=>on("")}))}},27185:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return ht}});var x=ae(59301),ct=ae(65582),Le=ae(62957),Je=ae(28284),He=ae(6767),Se=ae(29787),Ue=ae(18287),fe=ae(77019),Ce=ae(5269),oe=ae(25399),Oe=ae(37568),ve={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},Me=ae(61527),Ie=ae(89540),_e=ae(2524),we=ae(82636),xe=Object.defineProperty,Ee=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,et=(Ne,We,Ut)=>We in Ne?xe(Ne,We,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):Ne[We]=Ut,Ge=(Ne,We)=>{for(var Ut in We||(We={}))Qe.call(We,Ut)&&et(Ne,Ut,We[Ut]);if(ze)for(var Ut of ze(We))Re.call(We,Ut)&&et(Ne,Ut,We[Ut]);return Ne},lt=(Ne,We)=>Ee(Ne,ke(We)),it=(Ne,We)=>{var Ut={};for(var ot in Ne)Qe.call(Ne,ot)&&We.indexOf(ot)<0&&(Ut[ot]=Ne[ot]);if(Ne!=null&&ze)for(var ot of ze(Ne))We.indexOf(ot)<0&&Re.call(Ne,ot)&&(Ut[ot]=Ne[ot]);return Ut},ft=(Ne,We,Ut)=>new Promise((ot,yt)=>{var Ft=At=>{try{Te(Ut.next(At))}catch(Zt){yt(Zt)}},Ze=At=>{try{Te(Ut.throw(At))}catch(Zt){yt(Zt)}},Te=At=>At.done?ot(At.value):Promise.resolve(At.value).then(Ft,Ze);Te((Ut=Ut.apply(Ne,We)).next())});const bt=(Ne=[])=>Ne==null?void 0:Ne.map(We=>lt(Ge({},We),{title:(We==null?void 0:We.value)||"",key:We==null?void 0:We.id,isLeaf:!0})),je=Ne=>{var We=Ne,{user:Ut,children:ot,isShowComponent:yt=!0,ModalProps:Ft={},onDataSelect:Ze}=We,Te=it(We,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[At,Zt]=Le.default.useModal(),[Kt]=Je.default.useForm(),[rt,Nt]=(0,x.useState)([]),[Qt,pn]=(0,x.useState)(!1),[Ot,vn]=(0,x.useState)(!1),[,_t,Fn,on]=(0,Me.U)(Ie.qE,{page:1,limit:9999}),[,,de]=(0,Me.U)(Ie.V8,{}),[,,ge]=(0,Me.U)(Ie.B$,{}),[,,ie]=(0,Me.U)(Ie.DH,{}),[,,ee]=(0,Me.U)(Ie.bJ,{}),le=()=>{pn(!1),Kt.resetFields(),vn(!1)},se=$e=>ft(void 0,null,function*(){const{node:at,dragNode:pt,event:gt}=$e,Bt=$e.node.pos.split("-"),Lt=$e.dropPosition-Number(Bt[Bt.length-1]);if(Lt==0){He.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(Lt==1&&(pt==null?void 0:pt.item_index)==(at==null?void 0:at.item_index)+1){He.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const Rt=yield ee({id:pt==null?void 0:pt.key,position:Lt==-1?1:(pt==null?void 0:pt.item_index)>(at==null?void 0:at.item_index)?(at==null?void 0:at.item_index)+1:at==null?void 0:at.item_index});(Rt==null?void 0:Rt.status)===0&&(He.ZP.success("\u79FB\u52A8\u6210\u529F"),Fn({},!0))}),Be=$e=>ft(void 0,null,function*(){let at={};Ot?at=yield ge(Ge({},$e)):at=yield ie(Ge({},$e)),(at==null?void 0:at.status)==0&&(He.ZP.success((at==null?void 0:at.message)||(Ot?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),Fn({},!0),le())});return(0,x.useEffect)(()=>{Ft!=null&&Ft.open&&Fn({},!0)},[Ft==null?void 0:Ft.open]),(0,x.useEffect)(()=>{var $e;Nt(bt(($e=on==null?void 0:on.data)==null?void 0:$e.list))},[on]),yt?x.createElement(x.Fragment,null,Zt,ot,x.createElement(Le.default,Ge({},Ge({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},Ft)),x.createElement(Se.Z,{spinning:_t},(rt==null?void 0:rt.length)>0?x.createElement(x.Fragment,null,x.createElement(Ue.default.DirectoryTree,{height:500,className:ve.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:Ze,treeData:rt,onDrop:se,titleRender:$e=>x.createElement(x.Fragment,null,x.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},$e==null?void 0:$e.title),x.createElement("div",{className:`${ve.EditDom}`},x.createElement(fe.Z,{wrap:!1,align:"middle",gutter:16},x.createElement(Ce.Z,null,x.createElement(oe.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},x.createElement("i",{className:`iconfont icon-tuodong1 font12 ${ve.currentPrimary}`}))),x.createElement(Ce.Z,null,x.createElement(oe.Z,{title:"\u7F16\u8F91"},x.createElement("i",{className:`iconfont icon-bianji11 font12 ${ve.currentPrimary}`,onClick:at=>{at.stopPropagation(),Kt.setFieldsValue(Ge({},$e)),pn(!0)}}))),x.createElement(Ce.Z,null,x.createElement(oe.Z,{title:"\u5220\u9664"},x.createElement("i",{className:`iconfont icon-shanchu14 font12 ${ve.currentDelete}`,onClick:at=>{at.stopPropagation(),At.confirm({icon:null,title:"\u5220\u9664\u5E38\u7528\u8BC4\u8BED",centered:!0,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u5E38\u7528\u8BC4\u8BED\u5417\uFF1F",onOk:()=>ft(void 0,null,function*(){const pt=yield de({id:$e==null?void 0:$e.key});(pt==null?void 0:pt.status)==0&&(He.ZP.success((pt==null?void 0:pt.message)||"\u5220\u9664\u6210\u529F"),Fn({},!0))})})}}))))))}),x.createElement(we.op,{className:"ml20 mt20",icon:x.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{vn(!0),pn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):x.createElement(_e.Z,{styles:{margin:"30px auto"},customText:x.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",x.createElement("a",{onClick:()=>{vn(!0),pn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),x.createElement(Le.default,{title:Ot?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:Qt,okText:Ot?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{le()},onOk:()=>{Kt.submit()}},x.createElement(Je.default,{form:Kt,onFinish:Be},Ot&&x.createElement("span",{className:"font14",style:{color:"#191919"}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED\uFF0C\u53EF\u4EE5\u5E2E\u52A9\u4F60\u63D0\u9AD8\u8BC4\u9605\u4F5C\u4E1A\u7684\u6548\u7387"),x.createElement(Je.default.Item,{hidden:!0,name:"id"}),x.createElement(Je.default.Item,{className:"mt10",name:"value"},x.createElement(Oe.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9},maxLength:100,showCount:!0}))))):null};var ht=(0,ct.connect)(({loading:Ne,user:We})=>({user:We,loading:Ne.effects}))(je)},30214:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Je}});var x=ae(59301),ct=ae(77254),Le=ae(75786),Je=()=>{const[He,Se]=(0,x.useState)(""),[Ue,fe]=(0,x.useState)(0);let[Ce,oe]=(0,x.useState)(),[Oe,ve]=(0,x.useState)();const[Me,Ie]=(0,x.useState)(!1),_e=(0,x.useRef)("");(0,x.useEffect)(()=>ct.Z.subscribe("preview-image",it=>{Se(it),console.log(et.current)}),[]),(0,x.useEffect)(()=>(document.addEventListener("keydown",we),()=>{document.removeEventListener("keydown",we)}),[]),(0,x.useEffect)(()=>{_e.current=He},[He]);function we(lt){console.log("e====",lt),lt.keyCode==27&&_e.current&&xe()}function xe(){document.body.style.overflow="auto",oe(void 0),ve(void 0),fe(0),Se("")}function Ee(){fe(Ue+90)}function ke(){Ce=et.current.width*1.1,Oe=et.current.height*1.1,ve(Oe),oe(Ce)}function ze(){Ce=et.current.width/1.1,Oe=et.current.height/1.1,ve(Oe),oe(Ce)}const Qe=(0,x.useRef)(),Re=(0,x.useRef)(),et=(0,x.useRef)(),Ge=lt=>{(lt.nativeEvent.target===Qe.current||lt.nativeEvent.target===Re.current)&&xe()};return x.createElement(x.Fragment,null,He?x.createElement("div",null,x.createElement("div",{className:"preview-wrp-group",ref:Re},x.createElement(Le.Z,{className:"image-preview",src:He,style:{display:"none"},preview:{visible:!0,src:He,onVisibleChange:lt=>{Se("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},85533:function(Vn,Tt,ae){"use strict";ae.d(Tt,{h:function(){return Qe}});var x=ae(59301),ct=ae(82326),Le=ae(28284),Je=ae(7939),He=ae(89780),Se=ae.n(He),Ue=ae(45559),fe=ae(42313),Ce=Object.defineProperty,oe=Object.defineProperties,Oe=Object.getOwnPropertyDescriptors,ve=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,_e=(Re,et,Ge)=>et in Re?Ce(Re,et,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Re[et]=Ge,we=(Re,et)=>{for(var Ge in et||(et={}))Me.call(et,Ge)&&_e(Re,Ge,et[Ge]);if(ve)for(var Ge of ve(et))Ie.call(et,Ge)&&_e(Re,Ge,et[Ge]);return Re},xe=(Re,et)=>oe(Re,Oe(et));const Ee=ct.default.Option,ke={labelCol:{span:4},wrapperCol:{span:20}},ze={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Tt.Z=({callback:Re,onCancel:et})=>{const[Ge,lt]=(0,x.useState)("python");function it(bt){lt(ze[bt][1])}function ft(bt){Re(bt)}return x.createElement(Le.default,xe(we({},ke),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ft,style:{width:500}}),x.createElement(Le.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},x.createElement(ct.default,{getPopupContainer:bt=>bt.parentNode,onChange:it},Object.keys(ze).map(bt=>x.createElement(Ee,{key:bt,value:bt},ze[bt][0])))),x.createElement(Le.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},x.createElement(Qe,{mode:Ge})),x.createElement("div",{className:"flex-container flex-end"},x.createElement(Je.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(Je.ZP,{type:"ghost",onClick:et},"\u53D6\u6D88")))};function Qe({value:Re,onChange:et,mode:Ge,options:lt={}}){const it=(0,x.useRef)(),[ft,bt]=(0,x.useState)();return(0,x.useEffect)(()=>{if(ft){let je=function(ht){const Ne=ht.getValue();et&&et(Ne)};return ft.on("change",je),()=>{ft.off("change",je)}}},[ft,et]),(0,x.useEffect)(()=>{ft&&ft.setOption("mode",Ge)},[ft,Ge]),(0,x.useEffect)(()=>{ft&&(Re!==ft.getValue()||Re==="")&&setTimeout(()=>{ft.setValue(Re||"")},300)},[ft,Re]),(0,x.useEffect)(()=>{if(it.current&&!ft){const je=Se().fromTextArea(it.current,we({mode:Ge,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},lt));bt(je)}},[it.current,ft]),x.createElement("div",{className:"my-codemirror-container"},x.createElement("textarea",{ref:it}))}},25374:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return sr}});var x=ae(59301),ct=ae(65582),Le=ae(89780),Je=ae.n(Le),He=ae(76374),Se=ae(45559),Ue=ae(6313),fe=ae(25717),Ce=ae(99498),oe=ae(25419),Oe=ae(67549),ve=ae(95097),Me=({value:jn="",className:ur,showTextOnly:br,showLines:Xr,style:Yr={}})=>{const pi=(0,x.useMemo)(()=>"",[jn]);return x.createElement(x.Fragment,null,x.createElement("div",{dangerouslySetInnerHTML:{__html:pi}}))},Ie=Object.defineProperty,_e=Object.defineProperties,we=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,ze=(jn,ur,br)=>ur in jn?Ie(jn,ur,{enumerable:!0,configurable:!0,writable:!0,value:br}):jn[ur]=br,Qe=(jn,ur)=>{for(var br in ur||(ur={}))Ee.call(ur,br)&&ze(jn,br,ur[br]);if(xe)for(var br of xe(ur))ke.call(ur,br)&&ze(jn,br,ur[br]);return jn},Re=(jn,ur)=>_e(jn,we(ur));let et=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u516C\u5F0F",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"md-iconfont icon-formula",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Ge({onActionCallback:jn,title:ur,icon:br,actionName:Xr,className:Yr="",children:pi}){function ci(){jn(Xr)}return x.createElement("a",{title:ur,className:Yr,onClick:ci},x.createElement("i",{className:`${br}`}),pi)}var lt=({watch:jn,showNullButton:ur,showNullProgramButton:br,onActionCallback:Xr,fullScreen:Yr,insertTemp:pi,hidetoolBar:ci,extraUse:Hi})=>{const mi=[...et,{title:`${jn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${jn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return x.createElement("ul",{className:"markdown-toolbar-container"},!ci&&mi.map((no,Ki)=>x.createElement("li",{key:Ki},no.actionName?x.createElement(Ge,Re(Qe({},no),{onActionCallback:Xr})):x.createElement("span",{className:"v-line"}))),ur?x.createElement("li",null,x.createElement(Ge,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Xr},x.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,br?x.createElement(x.Fragment,null,x.createElement("li",null,x.createElement(Ge,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Xr},x.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),x.createElement("li",null,x.createElement(Ge,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Xr},x.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,pi&&x.createElement("li",null,x.createElement(Ge,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${pi}`,onActionCallback:Xr},x.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Hi&&x.createElement("li",null,Hi),x.createElement("li",{className:"btn-full-screen"},x.createElement(Ge,{icon:`${Yr?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Yr?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Xr})))},it=ae(57261),ft=ae(28284),bt=ae(37568),je=ae(7939),ht=Object.defineProperty,Ne=Object.defineProperties,We=Object.getOwnPropertyDescriptors,Ut=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,yt=Object.prototype.propertyIsEnumerable,Ft=(jn,ur,br)=>ur in jn?ht(jn,ur,{enumerable:!0,configurable:!0,writable:!0,value:br}):jn[ur]=br,Ze=(jn,ur)=>{for(var br in ur||(ur={}))ot.call(ur,br)&&Ft(jn,br,ur[br]);if(Ut)for(var br of Ut(ur))yt.call(ur,br)&&Ft(jn,br,ur[br]);return jn},Te=(jn,ur)=>Ne(jn,We(ur));const At={labelCol:{span:4},wrapperCol:{span:20}};var Zt=({callback:jn,onCancel:ur})=>{function br(Xr){jn(Xr)}return x.createElement(ft.default,Te(Ze({},At),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:br,style:{width:500}}),x.createElement(ft.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},x.createElement(bt.default,null)),x.createElement(ft.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},x.createElement(bt.default,null)),x.createElement("div",{className:"flex-container flex-end"},x.createElement(je.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(je.ZP,{type:"ghost",onClick:ur},"\u53D6\u6D88")))},Kt=ae(85533),rt=ae(45053),Nt=ae(62957),Qt=ae(77019),pn=ae(16750),Ot=ae(59301),vn=({callback:jn,onCancel:ur})=>{const br=document.createElement("canvas"),Xr=br.getContext("2d");br.width=1e3,br.height=800,Xr.fillStyle="#ffffff",Xr.fillRect(0,0,br.width,br.height);const Yr=br.toDataURL("image/png");return Ot.createElement(Nt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Ot.createElement(Qt.Z,{style:{height:"100vh"}},Ot.createElement(pn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Yr,visible:!0,title:String(Date.now())},onOk:pi=>{jn({src:pi.url})},onClose:ur})))},_t=ae(36207),Fn=ae(5269),on=ae(6767),de={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ge=ae(59301),ee=(0,x.forwardRef)(({onCancel:jn,editImgId:ur,callback:br},Xr)=>{let Yr=(0,x.useRef)(),pi=(0,x.useRef)(),ci=(0,x.useRef)(),Hi=(0,x.useRef)(!1);const mi=(0,x.useRef)(!1);console.log("ref:",Xr);const[no,Ki]=(0,x.useState)(0),[fr,Lr]=(0,x.useState)("100vh");return(0,x.useEffect)(()=>{Ki(1)},[]),(0,x.useImperativeHandle)(Xr,()=>({setHeight:Lr})),ge.createElement("div",{ref:mi,className:"body-overflow-initial"},ge.createElement(_t.Z,{width:"100vw",height:fr,footer:null,closable:!0,placement:"bottom",open:!!no,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${de.drawerWrap}`,onClose:()=>{window.saveDrawData(gi=>{br({src:`/api/attachments/${gi}`,id:gi})})},title:ge.createElement(Qt.Z,{align:"middle"},ge.createElement(Fn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ge.createElement(Fn.Z,{onClick:()=>{Lr(fr==="60px"?"100vh":"60px")}},ge.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ge.createElement(Fn.Z,{onClick:()=>{window.saveDrawData(gi=>{if(gi===null){on.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}on.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),br({src:`/api/attachments/${gi}`,id:gi,disabledClose:!0})})}},ge.createElement(je.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ge.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${ur||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:pi})))}),le=ae(74128),se=ae(47889),Be=ae(4875);const $e=se.ZP.Group,at={margin:"0 8px"};var pt=({callback:jn,onCancel:ur})=>{function br(Xr){jn(Xr)}return x.createElement(ft.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:br},x.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},x.createElement("span",{style:at},"\u5355\u5143\u683C\u6570\uFF1A"),x.createElement("span",{style:at},"\u884C\u6570"),x.createElement(ft.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},x.createElement(Be.Z,null)),x.createElement("span",{style:at},"\u5217\u6570"),x.createElement(ft.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},x.createElement(Be.Z,null))),x.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},x.createElement("span",{style:at},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),x.createElement(ft.default.Item,{name:"align"},x.createElement($e,null,x.createElement(se.ZP,{value:"default"},x.createElement("i",{className:"fa fa-align-justify"})),x.createElement(se.ZP,{value:"left"},x.createElement("i",{className:"fa fa-align-left"})),x.createElement(se.ZP,{value:"center"},x.createElement("i",{className:"fa fa-align-center"})),x.createElement(se.ZP,{value:"right"},x.createElement("i",{className:"fa fa-align-right"}))))),x.createElement("div",{className:"flex-container flex-end"},x.createElement(je.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(je.ZP,{type:"ghost",onClick:ur},"\u53D6\u6D88")))},gt=ae(58755),Bt=ae(93510),Lt=ae.n(Bt),Ct=(0,x.forwardRef)(({use3d:jn,width:ur,height:br,callback:Xr,showSaveButton:Yr},pi)=>{const ci=(0,x.useRef)(),Hi=(0,x.useRef)(),[mi,no]=(0,x.useState)(!1),Ki=(0,x.useRef)({id:ci,appName:"graphing",width:ur||1e3,height:br||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,x.useEffect)(()=>{Hi.current=new(Lt())(Ki.current,!0),window.onload=function(){Hi.current.inject("applet_container")}},[]);const fr=()=>{var Lr=window.ggbApplet.getPNGBase64(1,!0,72);return Xr&&Xr(Lr),Lr};return(0,x.useEffect)(()=>{Ki.current.appName=mi?"3D":"graphing",Hi.current.inject("applet_container")},[mi]),(0,x.useEffect)(()=>{no(jn)},[jn]),(0,x.useImperativeHandle)(pi,()=>({getImgData:fr})),x.createElement(x.Fragment,null,x.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ci}),x.createElement(Qt.Z,{align:"middle"},x.createElement(Fn.Z,{flex:1},x.createElement(gt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:mi,onChange:Lr=>no(Lr)})),x.createElement(Fn.Z,null,x.createElement(je.ZP,{size:"large",onClick:fr,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),st=ae(99298);const $t="link",Vt="upload-image",bn="add-flowchart",an="draw-image",en="add-flowchart",Hn="code-block",En="add-table",Mt="------------",sn={default:Mt,left:`:${Mt}`,center:`:${Mt}:`,right:`${Mt}:`};var Dn=ae(31103),Wn=ae(65862);function It(){}let Wt=0;const rn=1e4,mn="\u2581",Xn="@\u2581\u2581@",Fr="@\u2581@",ri=`
**\u6A21\u677F\u6807\u9898**
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,Hr=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function Ir(jn){return/^\d+$/.test(jn)?`${jn}px`:jn}const vr=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Mr={[vr+"-B"]:"bold",[vr+"-I"]:"italic"},Yn={[$t]:"\u6DFB\u52A0\u94FE\u63A5",[Hn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Vt]:"\u6DFB\u52A0\u56FE\u7247",[an]:"\u6DFB\u52A0\u753B\u56FE",[bn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[En]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var sr=({defaultValue:jn="",onChange:ur,width:br="100%",height:Xr=400,miniToolbar:Yr=!1,isFocus:pi=!1,watch:ci,insertTemp:Hi,mode:mi="markdown",id:no="markdown-editor-id",showResizeBar:Ki=!1,noStorage:fr=!1,showNullButton:Lr=!1,showNullProgramButton:gi=!1,hidetoolBar:Xt=!1,fullScreen:ln=!1,onBlur:yn,onCMBeforeChange:kt,onFullScreen:dn,className:zt="",disablePaste:hn=!1,disabled:Pn=!1,disabledFill:_r=!1,placeholder:Jr="",values:di="",extraUse:ir,onAddBlank:Ar})=>{const[ar,ei]=(0,x.useState)(null),[tr,Un]=(0,x.useState)(jn),[cr,Bi]=(0,x.useState)(ci),[zn,gn]=(0,x.useState)(ln),[$n,nr]=(0,x.useState)(""),[pr,Zr]=(0,x.useState)(0),[Ni,fi]=(0,x.useState)(Xr),[Li,vi]=(0,x.useState)(!1),[Ei,yi]=(0,x.useState)(0),[Si,wi]=(0,x.useState)(0),Ti=(0,x.useRef)(),eo=(0,x.useRef)(),vo=(0,x.useRef)(),Yi=(0,x.useRef)(),Do=(0,x.useRef)(),ki=(0,x.useRef)(),ko=(0,ct.useDispatch)();(0,x.useEffect)(()=>{const zr=window.scrollY||window.pageYOffset;Un(di),ar==null||ar.setValue(di),window.scrollTo(0,zr)},[di]),(0,x.useEffect)(()=>{dn==null||dn(zn)},[zn]),(0,x.useEffect)(()=>{if(Ti.current){let zr=function(yr,ni){var co;if(hn){ni.preventDefault();return}const Jo=ni.clipboardData;if(Jo){const fo=Jo.types.toString(),ta=Jo.items;if(fo==="Files"||Jo.types.indexOf("Files")>-1){if(ni.preventDefault(),mi=="stex")return;try{let Go=ta[1];((co=ta[0])==null?void 0:co.kind)==="file"&&(Go=ta[0]);const va=Go.getAsFile(),Vo=va.name.split(".").pop();(0,rt.I)(va,oa=>{var da,Wa,Ds;oa.id?((da=va==null?void 0:va.type)==null?void 0:da.indexOf("image"))>-1?oi.replaceSelection(`<img width="100%" src="/api/attachments/${oa.id}?type=${oa.content_type})" alt="" />`):((Wa=va==null?void 0:va.type)==null?void 0:Wa.indexOf("video"))>-1?oi.replaceSelection(`<video width="100%" controls src="/api/attachments/${oa.id}"></video>`):((Ds=va==null?void 0:va.type)==null?void 0:Ds.indexOf("pdf"))>-1?oi.replaceSelection(`<a href="/api/attachments/${oa.id}?type=${va.type}&disposition=inline" target="_blank">${va.name}</a>`):Hr.includes(Vo)?oi.replaceSelection(`<a href="/api/attachments/${oa.id}?type=office&disposition=inline" target="_blank">${va.name}</a>`):oi.replaceSelection(`[${va.name}](/api/attachments/${oa.id}?type=${oa.content_type})`):(oa==null?void 0:oa.status)===401&&(document.location.href="/user/login")})}catch(Go){on.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const oi=Je().fromTextArea(Ti.current,{mode:mi,lineNumbers:!Yr,lineWrapping:!0,value:jn,autoCloseTags:!0,autoCloseBrackets:!0});return oi.on("keyup",function(yr,ni){ni.keyCode===8&&(yr.getValue()==""?oi.setOption("placeholder",Jr):oi.setOption("placeholder",null))}),oi.on("keydown",function(yr,ni){if(ni.keyCode===8){var co=Xo(yr);co&&ni.preventDefault()}}),pi&&oi.focus(),oi.on("paste",zr),Pn&&oi.on("beforeChange",function(yr,ni){(ni.origin==="paste"||ni.origin==="+input")&&ni.cancel()}),ei(oi),()=>{oi.off("paste",zr)}}},[]);const Ao=(0,x.useCallback)(()=>{if(eo.current)try{}catch(zr){console.log(zr,"---- to set md editor body height")}},[Ni,eo,zn]);(0,x.useEffect)(()=>{function zr(){let oi=new He.Z(yr=>{for(let ni of yr)(ni.target.offsetHeight>0||ni.target.offsetWidth>0)&&(Ao(),ar.setSize("100%","100%"),ar.refresh())});return oi.observe(Ti.current.parentElement),oi}if(ar){const oi=zr();return()=>{var yr,ni;(yr=Ti.current)!=null&&yr.parentElement&&oi.unobserve((ni=Ti.current)==null?void 0:ni.parentElement)}}},[ar,Ao]),(0,x.useEffect)(()=>{if(ar){let zr=[];for(const[oi,yr]of Object.entries(Mr)){let ni={[oi]:()=>{Co(yr)}};zr.push(ni),ar.addKeyMap(ni)}return()=>{for(let oi of zr)ar.removeKeyMap(oi)}}},[ar]),(0,x.useEffect)(()=>{ln!==zn&&gn(ln)},[ln]),(0,Dn.Z)(()=>{if(!fr&&pr>0){let zr=new Date().getTime(),oi=window.sessionStorage.getItem(no);zr>=pr+rn&&(!oi||oi!==tr)&&(window.sessionStorage.setItem(no,tr),vi(!0))}},rn),(0,x.useEffect)(()=>{Bi(ci)},[ar,ci]),(0,x.useEffect)(()=>{ar&&pi&&ar.focus()},[ar,pi]),(0,x.useEffect)(()=>{if(cr&&ar){let zr=function(yr){let ni=yr.target;if(Yi.current){let co=ni.scrollTop/ni.scrollHeight;Yi.current.scrollTop=Yi.current.scrollHeight*co}};const oi=ar.getScrollerElement();return oi.addEventListener("scroll",zr),()=>{oi.removeEventListener("scroll",zr)}}},[ar,cr]),(0,x.useEffect)(()=>{if(ar&&kt){let zr=function(oi,yr){kt(oi,yr)};return ar.on("beforeChange",zr),()=>{ar.off("beforeChange",zr)}}},[ar,kt]),(0,x.useEffect)(()=>{if(ar&&yn){let zr=function(){yn(ar.getValue())};return ar.on("blur",zr),()=>{ar.off("blur",zr)}}},[ar,yn]);function Xo(zr,oi){var yr=zr.getDoc(),ni=yr.getCursor(),co=yr.getLine(ni.line),Jo=co.charAt(ni.ch-1),fo=co.lastIndexOf("@\u2581@",ni.ch),ta=co.lastIndexOf("@\u2581\u2581@",ni.ch),Go=fo>ta?fo:ta,va=fo>ta?3:4;if(Xn.indexOf(Jo)===-1)return null;if(console.log("change1:",oi,zr,co,ni,Go,fo,ta,Jo),Go>=0&&ni.ch-Go<5){var Vo=Go+va;return yr.replaceRange("",{line:ni.line,ch:Go},{line:ni.line,ch:Vo}),{line:ni.line,ch:Vo}}return null}(0,x.useEffect)(()=>{if(ar){let zr=function(oi,yr){const ni=oi.getValue();Un(ni),Zr(new Date().getTime()),oi.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),ur&&(gi?ur(ni,qr(ni)):ur(ni))};return ar.on("change",zr),()=>{ar.off("change",zr)}}},[ar,ur]),(0,x.useEffect)(()=>{if(ar)if(jn==null)ar.setValue(""),Un("");else{const zr=window.scrollY||window.pageYOffset;jn!==ar.getValue()&&(ar.setValue(jn),Un(jn),ar.setCursor(Pn?1:ar.lineCount(),0),window.scrollTo(0,zr))}},[ar,jn]);const Co=(0,x.useCallback)(zr=>{const oi=ar.getCursor(),yr=ar.getSelection();let ni=yr.split(`
`);switch(zr){case"bold":return ar.replaceSelection("**"+yr+"**"),yr===""&&ar.setCursor(oi.line,oi.ch+2),ar.focus();case"italic":return ar.replaceSelection("*"+yr+"*"),yr===""&&ar.setCursor(oi.line,oi.ch+1),ar.focus();case"code":return ar.replaceSelection("`"+yr+"`"),yr===""&&ar.setCursor(oi.line,oi.ch+1),ar.focus();case"inline-latex":return(0,Wn.Ye)(ko)?void 0:(nr("inline-latex"),ar.focus());case"latex":return ar.replaceSelection("```latex\n"+yr+"\n```"),ar.setCursor(oi.line+1,yr.length+1),ar.focus();case"line-break":return ar.replaceSelection(`<br/>
`),ar.focus();case"list-ul":return yr===""?ar.replaceSelection("- "+yr):ar.replaceSelection(ni.map(co=>co===""?"":`- ${co}`).join(`
`)),ar.focus();case"list-ol":return yr===""?ar.replaceSelection("1. "+yr):ar.replaceSelection(ni.map((co,Jo)=>co===""?"":`${Jo+1}. ${co}`).join(`
`)),ar.focus();case"add-null-ch":Ar==null||Ar();return;case"add-signal":return yr===""&&ar.setCursor(oi.line,oi.ch),ar.replaceSelection(Fr),ar.focus();case"add-multiple":return yr===""&&ar.setCursor(oi.line,oi.ch),ar.replaceSelection(Xn),ar.focus();case"inster-template-1":return yr===""&&ar.setCursor(oi.line,oi.ch),ar.replaceSelection(ri),ar.focus();case"eraser":return ar.setValue(""),ar.focus();case"trigger-watch":return Bi(!cr),ar.focus();case"trigger-full-screen":return gn(!zn),ar.focus();case $t:nr($t);return;case Hn:nr(Hn);return;case Vt:nr(Vt);return;case an:nr(an);return;case"maths-latex":if((0,Wn.Ye)(ko))return;nr("maths-latex");return;case bn:Do.current="",sessionStorage.removeItem("file_id"),nr(bn);return;case En:nr(En);return;default:throw new Error}},[ar,cr,zn]),to=(0,x.useCallback)((zr,oi)=>{var yr,ni,co,Jo,fo,ta;zr!=null&&zr.disabledClose||nr("");const{src:Go,alt:va,id:Vo}=zr||{};switch($n){case $t:const{title:zs,link:is}=zr;return ar.replaceSelection(`[${zs}](${is})`),ar.focus();case Hn:const{language:us,content:Mo}=zr;return ar.replaceSelection(["```"+us,Mo,"```"].join(`
`)),ar.focus();case"maths-latex":for(var oa=atob(zr),da=new Uint8Array(oa.length),Wa=0;Wa<oa.length;Wa++)da[Wa]=oa.charCodeAt(Wa);var Ds=new Blob([da],{type:"image/png"});(0,rt.I)(Ds,hl=>{hl.id?ar.replaceSelection(`![,](/api/attachments/${hl.id}?type=${hl.content_type})`):(hl==null?void 0:hl.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":if((0,Wn.Ye)(ko))return;ar.replaceSelection("`$$"+zr+"$$`");break;case en:if(!Vo)return;ar.getValue().indexOf(Go)===-1?ar.replaceSelection(`<center><img id="${Vo}" width="80%" src="${Go}" class="draw-flowchart" alt="${va||""}" /></center>`):document.getElementById(Vo).src=le.Z.API_SERVER+Go+"?t="+Date.now();break;case Vt:case an:const mo=oi,Fa=(co=(ni=(yr=mo==null?void 0:mo.name)==null?void 0:yr.split("."))==null?void 0:ni.pop)==null?void 0:co.call(ni);return((Jo=mo==null?void 0:mo.type)==null?void 0:Jo.indexOf("image"))>-1||!(mo!=null&&mo.type)?mo!=null&&mo.align||mo!=null&&mo.width?ar.replaceSelection(`<p style="text-align:${mo.align||"initial"}"><img width="${mo.width?mo.width+"%":"initial"}" src="${Go}" alt="${va||""}" /></p>`):ar.replaceSelection(`<img width="100%" src="${Go}" alt="${va||""}" />`):((fo=mo==null?void 0:mo.type)==null?void 0:fo.indexOf("video"))>-1?ar.replaceSelection(`<video width="100%" controls src="${Go}"></video>`):((ta=mo==null?void 0:mo.type)==null?void 0:ta.indexOf("pdf"))>-1?ar.replaceSelection(`<a href="${Go}?type=${mo.type}&disposition=inline" target="_blank">${mo.name}</a>`):Hr.includes(Fa)?ar.replaceSelection(`<a href="${Go}?type=office&disposition=inline" target="_blank">${mo.name}</a>`):ar.replaceSelection(`[${mo.name}](${Go})`),ar.focus();case En:const{row:hs,col:el,align:tl}=zr;let nl=`
`;for(let hl=0;hl<hs;hl++){let lu=[],Js=[];for(let Kl=0;Kl<el;Kl++)hl===1&&Js.push(sn[tl]),lu.push(" ");hl===1&&(nl+=`| ${Js.join(" | ")} |
`),nl+=`| ${lu.join(el===1?"":" | ")} |
`}return ar.replaceSelection(nl+`
`),ar.focus();default:throw new Error}},[ar,$n]),xo=(0,x.useMemo)(()=>{switch($n){case $t:return x.createElement(Zt,{callback:to,onCancel:$o});case Hn:return x.createElement(Kt.Z,{callback:to,onCancel:$o});case Vt:return x.createElement(rt.Z,{callback:to,onCancel:$o});case bn:return x.createElement(ee,{editImgId:Do.current,callback:to,onCancel:$o});case En:return x.createElement(pt,{callback:to,onCancel:$o});case"maths-latex":return x.createElement(Ct,{showSaveButton:!0,callback:to});case"inline-latex":return x.createElement(st.Z,{showSaveButton:!0,callback:to});default:return null}},[$n]);function $o(){nr("")}(0,x.useEffect)(()=>{if(vo.current){let zr=function(fo){co=!0,Jo=fo.pageY},oi=function(){co=!1},yr=function(fo){if(co){let ta=fo.pageY-Jo;ta<0&&(ta=0),ta>300&&(ta=300);let Go=Xr+ta+"px";fi(Go)}},ni=vo.current,co=!1,Jo=0;return ni.addEventListener("mousedown",zr),document.addEventListener("mousemove",yr),document.addEventListener("mouseup",oi),()=>{ni.removeEventListener("mousedown",zr),document.removeEventListener("mousemove",yr),document.removeEventListener("mouseup",oi)}}},[ar,vo]),(0,x.useEffect)(()=>{fi(Xr)},[Xr]);const _n=Ir(br),No=Ir(Ni),Vi={width:_n,height:No},Ur=(0,x.useMemo)(()=>{if(pr){let zr=new Date(pr),oi=zr.getHours(),yr=zr.getMinutes(),ni=zr.getSeconds();return oi=oi<10?"0"+oi:oi,yr=yr<10?"0"+yr:yr,ni=ni<10?"0"+ni:ni,`${oi}:${yr}:${ni}`}return 0},[pr]),qr=zr=>{const oi=[];if(gi){let yr=-1;zr=zr.replace(/(@▁▁@|@▁@)/g,function(ni,co,Jo){oi.push({multiLine:ni!==Fr})})}return oi};function ti(){window.sessionStorage.removeItem(no),vi(!1),Zr(0)}function Wr(){vi(!1),Zr(0),ar.setValue(window.sessionStorage.getItem(no))}(0,x.useEffect)(()=>{Yn[$n]&&$n!==an&&$n!==bn&&setTimeout(()=>{const zr=document.getElementsByClassName("markdown-popup-form")[0],oi=window.innerWidth/2-zr.offsetWidth/2,yr=window.innerHeight/2-zr.offsetHeight/2;yi(oi),wi(yr)},0)},[$n]);const Ri=zr=>{zr.preventDefault();const oi=zr.clientX-Ei,yr=zr.clientY-Si;document.body.onmousemove=ni=>{let co=ni.clientX-oi,Jo=ni.clientY-yr;const fo=document.getElementsByClassName("markdown-popup-form")[0],ta=window.innerWidth-fo.offsetWidth,Go=window.innerHeight-fo.offsetHeight;co=Math.max(0,Math.min(co,ta)),Jo=Math.max(0,Math.min(Jo,Go)),ro(ni.clientX,ni.clientY,oi,yr)&&(yi(co),wi(Jo))},document.body.onmouseup=function(){document.body.onmousemove=null}},ro=(zr,oi,yr,ni)=>{const co=document.body.clientHeight,Jo=document.body.clientWidth;return zr<20&&yr>zr||zr>Jo-20&&yr<zr||oi<20&&ni>oi||oi>co-20&&ni<oi?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return x.createElement(x.Fragment,null,x.createElement("div",{className:"markdown-editor-wrapper",ref:eo},x.createElement("div",{className:`markdown-editor-container ${zt} ${cr?"on-preview":""} ${Yr?"mini":""} ${zn?"full-screen":""}`,style:Vi},x.createElement(lt,{insertTemp:Hi,watch:cr,fullScreen:zn,showNullButton:Lr,showNullProgramButton:gi,onActionCallback:Co,hidetoolBar:Xt,extraUse:ir}),x.createElement("div",{className:"markdown-editor-body"},x.createElement("div",{className:"codemirror-container"},x.createElement("textarea",{ref:Ti,placeholder:Jr})),cr?x.createElement("div",{ref:Yi,className:"preview-container"},mi==="stex"&&x.createElement(Me,{value:tr}),mi!=="stex"&&x.createElement(ve.Z,{edit:!0,disabledFill:_r,showProgramFill:gi,value:tr,openEditor:zr=>{var oi;Do.current=zr,(oi=ki.current)==null||oi.setHeight("100vh"),setTimeout(()=>{nr("add-flowchart")},150)}})):null))),Ki?x.createElement("a",{ref:vo,className:"editor-resize"}):null,$n===an&&x.createElement(vn,{callback:to,onCancel:$o}),$n===bn&&x.createElement(ee,{ref:ki,editImgId:Do.current,callback:to,onCancel:$o}),x.createElement(it.Z,null,Yn[$n]&&$n!==an&&$n!==bn?x.createElement(Nt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Ei,top:Si},title:x.createElement("div",{style:{cursor:"move"},onMouseDown:Ri},Yn[$n]),open:!0,onCancel:$o,footer:null,destroyOnClose:!0,width:$n===bn?"1200px":null,height:$n===bn?"80vh":null,className:"markdown-popup-form"},xo):null))}},45053:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return et},I:function(){return lt}});var x=ae(28284),ct=ae(6767),Le=ae(37568),Je=ae(44104),He=ae(4875),Se=ae(47889),Ue=ae(7939),fe=ae(28735),Ce=ae(59301),oe=ae(59301),Oe=Object.defineProperty,ve=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,xe=(it,ft,bt)=>ft in it?Oe(it,ft,{enumerable:!0,configurable:!0,writable:!0,value:bt}):it[ft]=bt,Ee=(it,ft)=>{for(var bt in ft||(ft={}))_e.call(ft,bt)&&xe(it,bt,ft[bt]);if(Ie)for(var bt of Ie(ft))we.call(ft,bt)&&xe(it,bt,ft[bt]);return it},ke=(it,ft)=>ve(it,Me(ft));const{useForm:ze}=x.default,Qe={width:280,marginRight:10},Re={labelCol:{span:5},wrapperCol:{span:19}};var et=({callback:it,onCancel:ft})=>{const[bt]=ze();let je=(0,Ce.useRef)();function ht(Ut){je.current.width=bt.getFieldValue("width"),je.current.align=bt.getFieldValue("align"),it(Ut,je.current)}function Ne(Ut,ot){if(Ut.status===-1){ct.ZP.error(Ut.message);return}bt.setFieldsValue({src:`/api/attachments/${Ut.id}`,type:ot.type})}function We(Ut){let ot=Ut.target.files[0];je.current=ot,lt(ot,Ne)}return oe.createElement(x.default,ke(Ee({form:bt},Re),{className:"upload-image-panel",onFinish:ht,style:{width:470,overflow:"hidden"}}),oe.createElement(x.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},oe.createElement("div",{className:"flex-container"},oe.createElement(x.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},oe.createElement(Le.default,{style:Qe})),oe.createElement(Ge,{onFileChange:We}))),oe.createElement(x.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},oe.createElement(Le.default,{style:{width:264}})),oe.createElement(x.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},oe.createElement(Je.Z,null,oe.createElement(x.default.Item,{name:"width",style:{margin:0}},oe.createElement(He.Z,{style:{width:264}})),oe.createElement("span",{className:"ml8"},"%"))),oe.createElement(x.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},oe.createElement(Se.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),oe.createElement("aside",null,oe.createElement(x.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},oe.createElement(Ue.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),oe.createElement(Ue.ZP,{type:"default",onClick:ft},"\u53D6\u6D88"))))};function Ge({onFileChange:it}){return oe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",oe.createElement("input",{type:"file",onChange:it}))}function lt(it,ft){if(!it)throw new String("\u6CA1\u6709\u6587\u4EF6");let bt=new FormData;bt.append("editormd-image-file",it),bt.append("file_param_name","editormd-image-file"),bt.append("byxhr","true");var je=new window.XMLHttpRequest;je.withCredentials=!0,je.addEventListener("load",function(ht){ft(JSON.parse(ht.target.responseText),it)},!1),je.addEventListener("error",function(ht){console.error(ht)},!1),je.open("POST",`${fe.KI}/api/attachments.json`),je.send(bt)}},57261:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Le}});var x=ae(59301),ct=ae(4676);class Le extends x.Component{constructor(He){super(He);const Se=window.document;this.node=Se.createElement("div"),Se.body.appendChild(this.node)}render(){const{children:He}=this.props;return(0,ct.createPortal)(He,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},50258:function(Vn,Tt,ae){"use strict";ae.d(Tt,{SV:function(){return vn},ZP:function(){return Ot}});var x=ae(59301),ct=ae(76374);const Le={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},Je={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},He={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
`)},{label:"if",content:["if () {"," $0","}"].join(`
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
`)},{label:"using namespace std",content:["using namespace std"].join(`
`)},{label:"include <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(`
`)}]},Se={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
`)}]},Ue={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
`)}]};var fe=ae(53184),Ce=ae.n(fe),oe=(_t,Fn,on)=>new Promise((de,ge)=>{var ie=se=>{try{le(on.next(se))}catch(Be){ge(Be)}},ee=se=>{try{le(on.throw(se))}catch(Be){ge(Be)}},le=se=>se.done?de(se.value):Promise.resolve(se.value).then(ie,ee);le((on=on.apply(_t,Fn)).next())});const Oe={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},ve=(_t,Fn,on,de)=>{const ge=Fn.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:on.lineNumber,endColumn:on.column});return Array.from(new Set(ge.match(/\b\w{2,}\b/g)||[])).map(ee=>({label:ee,kind:_t.languages.CompletionItemKind.Text,insertText:ee,range:de}))},Me=(_t,Fn,on,de)=>{_t.languages.registerCompletionItemProvider(Fn,{provideCompletionItems(ge,ie){const ee=ge.getWordUntilPosition(ie),le={startLineNumber:ie.lineNumber,endLineNumber:ie.lineNumber,startColumn:ee.startColumn,endColumn:ee.endColumn},se=ge.getLineContent(ie.lineNumber).substring(ee.startColumn-2,ee.endColumn);return{suggestions:[...ve(_t,ge,ie,le),...on.map($e=>({label:$e,kind:_t.languages.CompletionItemKind.Keyword,documentation:$e,insertText:$e,insertTextRules:_t.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:le})),...de.map($e=>({label:$e.label,kind:_t.languages.CompletionItemKind.Snippet,documentation:$e.content,insertText:se.startsWith("#")?$e.content.replace(/#/,""):$e.content,insertTextRules:_t.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:le}))]}}})};var Ie=_t=>{Oe.languages.forEach(Fn=>{_t.languages.registerDocumentFormattingEditProvider(Fn,{provideDocumentFormattingEdits(on){return oe(this,null,function*(){const de=Ce()(on.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:on.getFullModelRange(),text:de}]})}})}),Me(_t,"java",Je.keywords,Je.quickKey),Me(_t,"cpp",He.keywords,He.quickKey),Me(_t,"c",Le.keywords,[]),Me(_t,"python",Se.keywords,Se.quickKey),Me(_t,"scala",Ue.keywords,Ue.quickKey)};const _e="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var we=Object.defineProperty,xe=(_t,Fn,on)=>Fn in _t?we(_t,Fn,{enumerable:!0,configurable:!0,writable:!0,value:on}):_t[Fn]=on,Ee=(_t,Fn,on)=>xe(_t,typeof Fn!="symbol"?Fn+"":Fn,on);const ke=class Ov{constructor(Fn,on,de){this.placeholder=Fn,this.editor=on,this.monaco=de,on.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Ov.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};Ee(ke,"ID","editor.widget.placeholderHint");var Qe=ke,Re=ae(96236),et=ae(6767),Ge=ae(25399),lt=ae(89392),it=ae(77254),ft=ae(56102),bt=Object.defineProperty,je=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,Ut=Object.prototype.propertyIsEnumerable,ot=(_t,Fn,on)=>Fn in _t?bt(_t,Fn,{enumerable:!0,configurable:!0,writable:!0,value:on}):_t[Fn]=on,yt=(_t,Fn)=>{for(var on in Fn||(Fn={}))We.call(Fn,on)&&ot(_t,on,Fn[on]);if(Ne)for(var on of Ne(Fn))Ut.call(Fn,on)&&ot(_t,on,Fn[on]);return _t},Ft=(_t,Fn)=>je(_t,ht(Fn)),Ze=(_t,Fn)=>{var on={};for(var de in _t)We.call(_t,de)&&Fn.indexOf(de)<0&&(on[de]=_t[de]);if(_t!=null&&Ne)for(var de of Ne(_t))Fn.indexOf(de)<0&&Ut.call(_t,de)&&(on[de]=_t[de]);return on},Te=(_t,Fn,on)=>new Promise((de,ge)=>{var ie=se=>{try{le(on.next(se))}catch(Be){ge(Be)}},ee=se=>{try{le(on.throw(se))}catch(Be){ge(Be)}},le=se=>se.done?de(se.value):Promise.resolve(se.value).then(ie,ee);le((on=on.apply(_t,Fn)).next())});function At(_t){return/^\d+$/.test(_t)?`${_t}px`:_t}function Zt(){}let Kt=!1;const rt={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function Nt(_t=[]){let Fn=_t;if(Array.isArray(_t)){for(let on=0;on<_t.length;on++){let de=rt[_t[on]];if(de)return de}return Fn[0]}return rt[Fn]||Fn}let Qt=null;const pn=()=>Te(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(_t){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",_t)}});var Ot=_t=>{var Fn=_t,{width:on="100%",height:de="100%",value:ge,language:ie="javascript",style:ee={},options:le={},overrideServices:se={},theme:Be="vs-dark",onEditBlur:$e,isCopy:at=!1,onSave:pt,autoHeight:gt=!1,forbidCopy:Bt=!1,forbidCopyTips:Lt,onChange:Rt=Zt,editorDidMount:Ct=Zt,onFocus:st=Zt,onBreakPoint:$t=Zt,breakPointValue:Vt=[],filename:bn="educoder.txt",errorLine:an,errorContent:en="",highlightLine:Hn,openBreakPoint:En=!1,placeholder:Mt="",showMiniMap:sn=!0}=Fn,Dn=Ze(Fn,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","forbidCopyTips","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const Wn=(0,x.useRef)(),It=(0,x.useRef)({}),Wt=(0,x.useRef)(),rn=(0,x.useRef)(),mn=(0,x.useRef)([]),Xn=(0,x.useRef)(!1),Fr=(0,x.useRef)(),ri=(0,x.useRef)(),Hr=(0,x.useRef)(!1),[Ir,er]=(0,x.useState)(!1);function vr(){let fr;return Wn.current&&(fr=new ct.Z(Lr=>{for(let gi of Lr)(gi.target.offsetHeight>0||gi.target.offsetWidth>0)&&It.current.instance.layout()}),fr.observe(Wn.current)),fr}function Mr(){et.ZP.warning({content:decodeURIComponent(Lt||_e),key:"monaco-editor-tip"})}const Yn=()=>{let fr=It.current.instance;if(ge!=null&&fr&&Ir){const Lr=fr.getModel();Lr&&ge!==Lr.getValue()&&(Kt=!0,Lr.setValue(ge),fr.layout(),Kt=!1)}};(0,x.useEffect)(()=>{const fr=it.Z.subscribe("formatDocument",Lr=>{var gi;let Xt=It.current.instance;(gi=Xt==null?void 0:Xt.getAction)==null||gi.call(Xt,"editor.action.formatDocument").run()});return window.updateMonacoValue=Lr=>{Rt(Lr)},fr},[]),(0,x.useEffect)(()=>{var fr;let Lr=It.current.instance;rn.current&&clearTimeout(rn.current),rn.current=setTimeout(()=>{Yn()},500),ge&&(ge!=null&&ge.length)&&((fr=Lr==null?void 0:Lr.updateOptions)==null||fr.call(Lr,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ge.split(/\r\n|\r|\n/g).length))+3,5)}))},[ge,Ir,It.current]),(0,x.useEffect)(()=>{if(an&&It.current&&It.current.instance){let Lr=It.current.instance;Lr.changeViewZones(function(gi){var Xt=document.createElement("div");Xt.style.padding="10px 20px",Xt.style.width="calc(100% - 20px)",Xt.className="my-error-line-wrp",Xt.innerHTML=en,gi.addZone({afterLineNumber:an||11,heightInLines:3,domNode:Xt})});var fr={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Lr.addOverlayWidget(fr),Lr.revealPositionInCenter({lineNumber:20,column:1})}},[an,It.current,Ir]);const sr=(fr="",Lr)=>{if(!fr||fr.trim()==="")return!0;const Xt=It.current.instance.getModel().getLineTokens(Lr);let ln=!1;for(let yn=0;yn<2;yn++)Xt.getStandardTokenType(yn)===1&&(ln=!0);return ln};(0,x.useEffect)(()=>{var fr;const Lr=(fr=It.current)==null?void 0:fr.instance;if(Lr&&Ir&&Bt){const gi=Lr.onDidBlurEditorWidget(()=>{Hr.current=!1}),Xt=Lr.onDidFocusEditorText(()=>{Hr.current=!0});return()=>{gi.dispose(),Xt.dispose()}}},[It.current,Ir,Bt]),(0,x.useEffect)(()=>{var fr;if((fr=It.current)!=null&&fr.instance&&Ir&&En){let Lr=It.current.instance,gi=Lr.getModel();if(!gi)return;(()=>{var ir;let Ar=[],ar=[];const ei=gi.getAllDecorations();for(let Un of ei)Un.options.className==="highlighted-line"&&(Ar.push((ir=Un==null?void 0:Un.range)==null?void 0:ir.startLineNumber),ar.push(Un==null?void 0:Un.id));if(Hn===Ar[0])return;gi.deltaDecorations(ar,[]);const tr=gi.getLineCount();Hn&&Hn<=tr&&(Lr.deltaDecorations([],[{range:new Qt.Range(Hn,1,Hn,gi.getLineMaxColumn(Hn)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Lr.revealLineInCenter(Hn))})();const ln=(ir=!1)=>{var Ar;let ar=[],ei=[];const tr=gi.getAllDecorations();for(let Un of tr)Un.options.linesDecorationsClassName==="breakpoints-select"&&(ar.push((Ar=Un==null?void 0:Un.range)==null?void 0:Ar.startLineNumber),ei.push(Un==null?void 0:Un.id));if(ir)return{lines:ar,ids:ei};$t(ar)},yn=ir=>Te(void 0,null,function*(){let Ar={range:new Qt.Range(ir,1,ir,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield gi.deltaDecorations([],[Ar]),ln()}),kt=ir=>Te(void 0,null,function*(){let Ar=[];const ar=Lr.getLineDecorations(ir);for(let ei of ar)ei.options.linesDecorationsClassName==="breakpoints-select"&&Ar.push(ei.id);yield gi.deltaDecorations(Ar,[]),ln()}),dn=ir=>{let Ar=Lr.getLineDecorations(ir);for(let ar of Ar)if(ar.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,lt.isEqual)(Vt,ln(!0).lines)){gi.deltaDecorations(ln(!0).ids,[]);const ir=Vt.map(Ar=>({range:new Qt.Range(Ar,1,Ar,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));gi.deltaDecorations([],ir)}const zt=Lr.onDidChangeModelContent(ir=>{let Ar=Lr.getPosition();if(Ar){let ar=Ar.lineNumber;clearTimeout(ri.current),ri.current=setTimeout(()=>{sr(gi.getLineContent(ar),ar)?kt(ar):dn(ar)?(kt(ar),yn(ar)):ln()},100)}}),hn=Lr.onMouseDown(ir=>{var Ar,ar,ei;if(ir.target.detail&&((ei=(ar=(Ar=ir.target)==null?void 0:Ar.element)==null?void 0:ar.className)!=null&&ei.includes("line-numbers"))){let tr=ir.target.position.lineNumber;if(sr(gi.getLineContent(tr),tr))return;dn(tr)?kt(tr):yn(tr)}}),Pn=ir=>{let Ar={range:new Qt.Range(ir,1,ir,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};mn.current=Lr.deltaDecorations(mn.current,[Ar])},_r=()=>{mn.current=Lr.deltaDecorations(mn.current,[])},Jr=Lr.onMouseMove(ir=>{var Ar,ar,ei;if(_r(),ir.target.detail&&((ei=(ar=(Ar=ir.target)==null?void 0:Ar.element)==null?void 0:ar.className)!=null&&ei.includes("line-numbers"))){let tr=ir.target.position.lineNumber;if(sr(gi.getLineContent(tr),tr))return;Pn(tr)}}),di=Lr.onMouseLeave(()=>{_r()});return()=>{zt.dispose(),hn.dispose(),Jr.dispose(),di.dispose()}}},[It.current,Ir,Vt,Hn,En,ie]),(0,x.useEffect)(()=>{var fr;(fr=It.current)!=null&&fr.instance&&En&&It.current.instance.setPosition({lineNumber:0,column:0})},[Hn]);function jn(){let fr=It.current.instance;if(fr){const Lr=fr.getSelection(),gi=It.current.pastePos||{},Xt=new Qt.Range(gi.startLineNumber||Lr.endLineNumber,gi.startColumn||Lr.endColumn,gi.endLineNumber||Lr.endLineNumber,gi.endColumn||Lr.endColumn);setTimeout(()=>{fr.executeEdits("",[{range:Xt,text:""}])},300)}}function ur(fr){(window.navigator.platform.match("Mac")?fr.metaKey:fr.ctrlKey)&&fr.keyCode==83&&(fr.preventDefault(),pt())}const br=()=>{if(gt&&It.current.instance){const fr=It.current.instance.getContentHeight();no(fr<de?de:fr)}else no(de)};function Xr(fr){var Lr=document.createEvent("MouseEvents");Lr.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),fr.dispatchEvent(Lr)}const Yr=fr=>{if(!Hr.current)return;const{keyCode:Lr,ctrlKey:gi,metaKey:Xt,target:ln,type:yn}=fr;return(yn==="paste"||(Lr===67||Lr===86)&&(Xt||gi))&&ln.nodeName==="TEXTAREA"&&(Mr(),fr.preventDefault()),!1};function pi(fr,Lr){var gi=window.URL||window.webkitURL||window,Xt=new Blob([Lr]),ln=document.createElementNS("http://www.w3.org/1999/xhtml","a");ln.href=gi.createObjectURL(Xt),ln.download=fr,Xr(ln)}(0,x.useEffect)(()=>{br()},[br]),(0,x.useEffect)(()=>{Wn.current&&!Ir&&Promise.all([ae.e(8909),ae.e(2460)]).then(ae.bind(ae,71448)).then(fr=>{try{Qt=fr,It.current.instance=Qt.editor.create(Wn.current,{value:ge,language:Nt(ie),theme:Be,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:sn||!1}},se);const Lr=It.current.instance;let ln=[...Re.BH._menuItems].find(zt=>zt[0]._debugName=="EditorContext")[1],yn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],kt=(zt,hn)=>{var Pn,_r;let Jr=zt._first;do hn.includes((_r=(Pn=Jr.element)==null?void 0:Pn.command)==null?void 0:_r.id)&&zt._remove(Jr);while(Jr=Jr.next)};if(Ct(Lr,Qt),setTimeout(()=>{br(),It.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{pi(bn||"educoder.txt",Lr.getValue())}})},500),It.current.subscription=Lr.onDidChangeModelContent(zt=>{Xn.current?clearTimeout(Fr.current):(br(),Rt(Lr.getValue(),zt)),Fr.current=setTimeout(()=>{Xn.current=!1},500)}),window.Monaco||Ie(Qt,Nt(ie)),Bt&&(kt(ln,yn),Wn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Yr),window.removeEventListener("paste",Yr),window.addEventListener("keydown",Yr),window.addEventListener("paste",Yr)),window.Monaco=Qt,$e&&Lr.onDidBlurEditorWidget(()=>{$e(Lr.getValue())}),st&&Lr.onDidFocusEditorText(()=>{Bt&&pn(),st(Lr.getValue())}),Bt){pn();try{Lr.onDidPaste(zt=>{const hn=Lr.getSelection(),Pn=It.current.pastePos||{},_r=new Qt.Range(Pn.startLineNumber||hn.endLineNumber,Pn.startColumn||hn.endColumn,Pn.endLineNumber||hn.endLineNumber,Pn.endColumn||hn.endColumn);Lr.executeEdits("",[{range:zt.range,text:""}])})}catch(zt){}}let dn=vr();return Mt&&typeof Mt=="string"&&new Qe(Mt,Lr,Qt),er(!0),()=>{const zt=It.current.instance;zt.dispose();const hn=zt.getModel();hn&&hn.dispose(),It.current.subscription&&It.current.subscription.dispose(),dn.unobserve(Wn.current)}}catch(Lr){}})},[]),(0,x.useEffect)(()=>{if(It.current.instance&&Ir)return document.addEventListener("keydown",ur,!1),()=>{document.removeEventListener("keydown",ur)}},[pt,Ir]),(0,x.useEffect)(()=>{let fr=It.current.instance;if(fr&&Ir){let Lr=Nt(ie);Qt.editor.setModelLanguage(fr.getModel(),Lr)}},[ie,Ir]),(0,x.useEffect)(()=>{It.current.instance&&Ir&&Qt.editor.setTheme(Be)},[Be,Ir]),(0,x.useEffect)(()=>{let fr=It.current.instance;Wt.current=le,fr&&Ir&&(fr.updateOptions(yt({},le)),setTimeout(()=>{fr.getModel().updateOptions(yt({},le))},200))},[JSON.stringify(le),Ir]),(0,x.useEffect)(()=>{let fr=It.current.instance;fr&&Ir&&fr.layout()},[on,de,Ir]);const[ci,Hi]=(0,x.useState)(At(on)),[mi,no]=(0,x.useState)(At(de)),Ki=Ft(yt({},ee),{width:ci,height:mi,position:"relative"});return x.createElement("div",{className:"my-monaco-editor",ref:Wn,style:Ki,onFocus:()=>{Bt&&pn()}},at&&x.createElement(ft.CopyToClipboard,{text:ge,onCopy:()=>et.ZP.success("\u590D\u5236\u6210\u529F")},x.createElement(Ge.Z,{title:"\u590D\u5236\u4EE3\u7801"},x.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},x.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function vn({width:_t="100%",height:Fn="100%",original:on,modified:de,language:ge,options:ie={}}){const ee=(0,x.useRef)(),[le,se]=(0,x.useState)(null);function Be(gt){let Bt;return ee.current&&(Bt=new ct.Z(Lt=>{for(let Rt of Lt)(Rt.target.offsetHeight>0||Rt.target.offsetWidth>0)&&gt.layout()}),Bt.observe(ee.current)),Bt}(0,x.useEffect)(()=>(ee.current&&Promise.all([ae.e(8909),ae.e(9404)]).then(ae.bind(ae,2550)).then(gt=>{Qt=gt;const Bt=Qt.editor.createDiffEditor(ee.current,Ft(yt({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},ie),{wordWrap:!0}));se(Bt);let Lt=Be(Bt);return()=>{Bt.dispose();const Rt=Bt.getModel();Rt&&Rt.dispose(),Lt.unobserve(ee.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,x.useEffect)(()=>{le&&le.setModel({original:Qt.editor.createModel(on,ge),modified:Qt.editor.createModel(de,ge)})},[on,de,ge,le]);const $e=At(_t),at=At(Fn),pt={width:$e,height:at};return x.createElement("div",{className:"my-diff-editor",ref:ee,style:pt})}},61584:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Oe}});var x={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT",tagsDom:"tagsDom___COQg7",hiddenbq:"hiddenbq___TqlUF"},ct=ae(29787),Le=ae(25399),Je=ae(89787),He=ae(92310),Se=ae.n(He),Ue=ae(65862),fe=ae(2524),Ce=ae(59301),Oe=({className:ve,dataSource:Me=[],col:Ie=4,right:_e,bottom:we=23,precision:xe=0,wrapWidth:Ee=1200,trackEventItems:ke,loading:ze,onRemove:Qe=()=>{},isCurrent:Re=!0,showProgress:et=!1,showAlias:Ge=!1,category:lt,hiddenClick:it})=>{const ft=Math.floor((Ee-(Ie-1)*_e)/Ie),bt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return Ce.createElement(ct.Z,{spinning:ze},Ce.createElement("div",{className:Se()(x.list,ve)},!!(Me!=null&&Me.length)&&(Me==null?void 0:Me.map((je,ht)=>{var Ne,We,Ut,ot,yt,Ft,Ze,Te,At,Zt,Kt,rt,Nt;const{name:Qt,id:pn,identifier:Ot,featured:vn,school_name:_t,image_url:Fn,excellent:on,is_plan:de}=je;return Ce.createElement("div",{key:pn,className:Re&&et?x.wrapisCurrent:x.wrap,style:{width:ft,marginRight:(1+ht)%Ie===0?0:_e+xe,marginBottom:we}},Ce.createElement("a",{className:x.li,onClick:ge=>{ge.preventDefault(),ge.stopPropagation(),ke&&(0,Ue.L9)([ke]),(0,Ue.xg)(`/paths/${Ot}`)}},Ce.createElement("div",{className:x.img},Ce.createElement("img",{className:x.cover,src:`${Fn}`}),(Ne=je==null?void 0:je.subject_tags)==null?void 0:Ne.map((ge,ie)=>{var ee,le;if(ie===0){const Be=(ee=bt.find($e=>$e.name==ge))==null?void 0:ee.swimg;return Ce.createElement("img",{className:x.sign,src:Be,style:{left:"-4px"}})}const se=(le=bt.find(Be=>Be.name==ge))==null?void 0:le.ptimg;return Ce.createElement("img",{className:x.sign,src:se,style:{left:`${48+52*(ie-1)+2*ie}px`}})}),Ce.createElement("div",{className:x.tagsDom},Ce.createElement("div",{className:"flex flex-wrap gap-10px item-center"},(je==null?void 0:je.excellent)&&Ce.createElement("div",{className:x.bq},"\u5F00\u653E\u8BFE\u7A0B"),((We=je==null?void 0:je.custom_tags)==null?void 0:We.length)>0&&Ce.createElement(Le.Z,{title:(yt=(ot=je==null?void 0:je.custom_tags)==null?void 0:ot[((Ut=je==null?void 0:je.custom_tags)==null?void 0:Ut.length)-1])==null?void 0:yt.tag_name},Ce.createElement("div",{className:"px-6px rounded-2px c-white h-16px flex item-center",style:{maxWidth:"62px",background:"#3061D0",border:"0.5px solid #8FAFF8"}},Ce.createElement("span",{className:"multi-llipsis1e text-10px"},(Te=(Ze=je==null?void 0:je.custom_tags)==null?void 0:Ze[((Ft=je==null?void 0:je.custom_tags)==null?void 0:Ft.length)-1])==null?void 0:Te.tag_name))))),lt=="hide"&&(je==null?void 0:je.studying)&&Re&&Ce.createElement("div",{className:`${x.movebq} user-path-items`,onClick:ge=>{ge.stopPropagation(),Qe(je)}},Ce.createElement("i",{className:"iconfont icon-yichu1 font12"}),Ce.createElement("span",null,"\u79FB\u9664")),!["collect","payed"].includes(lt)&&Re&&Ce.createElement("div",{className:`${x.hiddenbq} user-path-items`,onClick:ge=>{ge.stopPropagation(),it(je)}},Ce.createElement("i",{className:`iconfont ${lt=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),Ce.createElement("span",null,lt=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),Ce.createElement("div",{className:x.name},Ce.createElement(Le.Z,{title:Ge&&(je!=null&&je.excellent_alias_name)?Ce.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Qt}`,Ce.createElement("br",null),Ce.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${je==null?void 0:je.excellent_alias_name}`)):Qt},Ce.createElement("span",{className:x.e},Ge&&(je==null?void 0:je.excellent_alias_name)||Qt))),Re&&et&&((At=je==null?void 0:je.progress)==null?void 0:At.all_score)!=0&&Ce.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},Ce.createElement(Je.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Zt=je==null?void 0:je.progress)==null?void 0:Zt.my_score)/((Kt=je==null?void 0:je.progress)==null?void 0:Kt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(rt=je==null?void 0:je.progress)==null?void 0:rt.my_score,"/",(Nt=je==null?void 0:je.progress)==null?void 0:Nt.all_score),(!Re||!et)&&Ce.createElement(Le.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${_t}`},Ce.createElement("div",{className:x.unit},Ce.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),_t)),(!Re||!et)&&Ce.createElement("div",{className:x.tags},Ce.createElement("div",null,Ce.createElement(Le.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Ce.createElement("span",null,Ce.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Ce.createElement("span",null,je.stages_count))),Ce.createElement(Le.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Ce.createElement("span",null,Ce.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Ce.createElement("span",null,je.members_count)))))))})),!Me.length&&Ce.createElement(fe.Z,null)))}},82636:function(Vn,Tt,ae){"use strict";ae.d(Tt,{jL:function(){return He},w9:function(){return At},QD:function(){return bn},cQ:function(){return ot.Z},op:function(){return Lt},O5:function(){return Mr},_b:function(){return sn},t7:function(){return Ee},Gi:function(){return pn},YG:function(){return Nt},qp:function(){return Oe},vr:function(){return Hn},qE:function(){return st},Je:function(){return Qe},wb:function(){return Ut},cq:function(){return de},tp:function(){return Ie}});var x=ae(59301),ct={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Le="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK/6Nt40oIFMJwZ5URFh/cZoGgHQKODeSsaUEiA5iSy6IqYRnfmPq66YojPILbYbqpGXuhRhRrFPMSUaP+6OTAtuPff8ze97xceK8KuJGG/oBl4XsaKMTTsiwDKVXZjm1qsgRBU84TXi5VXqo24/syP5ce2xEg0gBDeAZWFijo79JnpLQxXSo7iICiIyD8qUfdxuQRRx24x5MvB95uBzfW1G+XFn4GoMMojQNOYWUK45b+jG9mW+PvFNAKEkqVYgI583VZcOB7WRrCqGwiaQovU1lAlaXKM/BMQNIGbN0FLGh0lySCVv0OP3aPOnKf2a2XCm+3ghuc1AvzOdwmLSwIwkQlBoxMtgZYCkvwQLafBYo0l2v6gBcCxRxQyifwM9PckRCniXIGbjo8wiI4bgnRRFul0XAZMABbaggVoytvo12vff7Qt/Rc8LqBm5jQndrBr3MFHOwyemaJbGaaAKzMp00zV2O+6VVnSTCPcYCNdrItEGAOcKxpVUQKLjPZ6VHVgEuf3Kf/rLk0Y4ViTpiAEUYKJaEgVDg2OTq1+j3r5w68FHi7TXFDU/El1Yr8VLudDM4IjUpLVWW2Mg0GgubybATNfN/0C5+eqjQ9oO0ngAmR0ZF5X2bKjLRZBUFgNE03AKhcPqk62wJsm+qjvyM4Aa0idFN1zcmvHraq90uvObihqej4YsH6nzCEyHwRB0WFZeZJ05xupsZSp6sty+2mXX2a/5rP0fT8MAHRZpmWph48J38zi6xUF1Vqft9KAg2BES6PmyChGGFTBVJ1kb/dq7XeeuTBs0deLLxXrLhHn2nP6+4s3Gk7Yl6Q5mpZMMjAGWjT0o+dgkR6BVnUzJSW2PpzhpHVqIygdPiEET3rzwiHP2QCSlrjUm1epE0el+R1/E6SmjDa2nGEat5Bu9089bC9O7/1moDT0GJkMv5eR6f1oVY7MRfjp2SiNgOO5pkFBpnkadmD/qflRrAtiUrBhJFdPnauJhI6SU6noXSyb2BmUZUqzYKEqSSSZ6SUSU34WagYVUsg9N27R7DtkONWrmRcf8HHK1Lc4EjrqHJn6ZdxBIsXkXU2MqVZqU/ja5ZU/MyWR5/Bps1/wfD2p+G7TUy1QziWRHfZgVXsREd3H1YtnoW+vl709nSjv7f0V4MwPnRaRUGlxSm8rG7N0pAMlim/CE4Jk+tRbTxmAoYK4Qit/Mhb9/a9eze9ILW/YQwv5jvmM/fcs720YMnMDeWStabtJrmVUVaqtsy3sRqgAm+96yH85qbb4DZqWNjfi57uHlRKJViWjSCM0Wr5aDRaqDebqDeaqLkRLFugp7OIQudMrFn+JvT3z8Ee8+dgVldxp+tkpUB42ZZgqLrEnyUq89MkODkunjVVoREFMao5G367een6lZ2fejEQXrbiBgbbn+qZUbyETcWs2KZ/Ynsoi6aMgEPjLVz6Xz/B1OjT2P8tyzB7Zm/i6IMQYRghDGk2ielkLaKIPiiM4PshGk0XzWYDU40a6m6Ickmi3N2Lt+y1B5a+eQ+sXLIQM7rLxi1QiR47I2l3xPizFFyitsQnmqhq8juNks1go2BrDRG4WwMv3veItT1TLwTvZYH7w0NP9y7sn3NPqSgXMiCYRuNz1MbE9eEnRnDhpVdh1fxu7L1iCYIwghcECKMYUfaMY4Rh8jogxJgQNQjP+CECpUK4H8bwPR8tgmzW0Ao8lEsW+vrn4sA1S7Fs2VKsXDIP1UrO3BymMD7PEwvj6wJjnjTTJFAEsUJOJj4y8iMUWIfE8bp1Kzs2virgtg23PtHTV7os9JI0wASFNPWg4vI54LGBMZz/je/i71YvQv/sWXA9D2EYIooiAzCOYoRxDM/z4Xo+PC+Az2MR31NpkU4fpKGUQKRkoiSCjCSiSCAKVPLddgON9hQsK0TXjA7su3YVDjt0Hdbu82ZzbQYgVZb6OJOW0GQjZW54XtACInTkHXjt5kXr9+r4zG4Hd/bZZ8uTTz1rY7liHxiHiR9h+sFAQHNxJMulCGed/x2jtHlv6ofruogILaZpEl6MIAiML2u1XQRhaIDxeKZGqoEAObgoTkBGkUp7bvRRfC0QRpZRkYqk6SjHcYDQryNXVNj/oLX4yIc/iMULZyVVSFr0GxVmlQWDg0xSFG5j372rV1fXr1wpdhldX7Kpbn2mtbqrs7jRkqLIC6VDzgIBwZUKwGXfuwFjA49g331WoO26CSwDh/BieK6HyakaPM9LTZbv0WQJL0r2o9ioMkhN2gDka0JkDhYpExW1FtCQEMKGlg6gbWhTxjPFaKBvZgUfP/njOHz9WrRS5QXG9AkvzeXoHxXrVw0n9puxEm8+dGVlaFeqe8ngBifiT1Y65aUha7+0+M7Sj0IeeOixYXznO1fiHQfvY1REs4wiBoIAcRQZkBOTk/B9P1GSCRBBoraQn/dTmDxOiATGLV+nioxjA49wINjAY4YtIaQFwX1hQYtkn/AtW+Okfzsdf/+OA9H2Uj+XdoiZltBebaGh2a9DrONYvfdtK8q/2L3gaurXxaI4WqUJJH2ETTPltVsaX73wvzG7IjGrrwce4RhoieKCMMDY+LiBZ2AwGJjAQKg0Sx6jCrWBmQAlTJo3vx+ZvIvOXLBEEAJCMPFNQrkBBwnNfcuGMFAFlIqRyxdw+he/gv1WL0PDTftzSicd41jBYaURa/SUHLTrjc+vX9mxy47JS1LcpoGB4qKOuZvzebFMpyUPT0BoTD023P0wfvWL67DfPsvhut4O80z8Woip+hQma41UWVQRDMwEXIQ43Se4OApSYEAYeAijwADSmp1RghPGt3Kb5MMJxEx9VJ2QNu8mYNlQUYj+hUtx9nnnolIpw83KrrSSMOCURmfOQejWr37bis6P7DbFba/ptZal77SlyPFy6WC5ZedBKYWLLrkKs6oOCvl8AoR+zWwjeL6L4dFRuJ5CEGpTsEeBQBD4iFWMWEWIwjpU6Ca+kNswNll+zCgECSkcKM02CQtS/nK0oxPDFDzRIYFSfYRIcFRfzgDktRz7z5/E8Scci7ar0g4xc0aePen0VaSAiLxHutVTe6/cRfn1khQ3OBEdU6xYv4oZbzjJopJISrX96aFtuOaH12D5ogXw/QABVZQFhCDC5NQ4xienEIQCbijh+RKTvXPhVYrIPTGAXLOOOJ4AwhAxzTKomTTEdHy1l/guc5voWTmXSPWFSVAwf7FRH83YuD5jxgQooS3HqE9Bomf2fJx9wcXo7KjAp3swLSZApjPeJUvDioLBkttYvHZtf/v5VPeSwD09Fp9Z7pDnEhzvD1MEqo2d2ut+swEPbr4fM3p7jIqYbhjlBKHxdcMjQ0ZtXmjDbSsMLFqJx048AWDWv/kvWPjNy2DXB5hXAHEIpZqwZNVct1INSFkyoJRyE1g6hjaFnp2IDyrxezqFaMClHQdjsjljsrzuk8/4Cg46ZF9zPQYc05k0qpYswFH+uCW9VYcsm7F994CbiL5fKlkf4lyC1nSswnRlWcBfftVP0RgZRqGQR2jKKd/4JZrpxOQExicmEIQWvDCHhu9gyz99FN76VQCt0AZmnnUxSg/cAUuGEKoJaBdSZjVpBCk7EnDahxRlKHCfjbccNPMis29mWSGMH6TqNKQxWStJVayccQvrjv4ATj7lRLTcpL1k2kym0GUJJlASvuvo6JADV3RtfsngbtXa3gsoBA3k3Rakb8GtiuiaUtk+xveUqRjoU9gmKuYFLr/yGkwMjSBH5xrQ4dNPBaYiGBwehOu24QUCXuhgSnTjsTPOQDxvRjqjrNB31tdRfvwB5O0cEI9BaA9SVhCpGqA56+NAa/oIC5AER2XlmfdDhT60FLBoxlYAof0UnjLukAo1arPyxhev2vcAnHbWOSaJNmWe6elRCAm4TukrS0XvOGivrt+9aHDba8GaQt56r4A8XADztYIVKgimXH6M7iDUebackzJLIm8LlIsSP/jRz/HU1ieQcywDLnHwAWq1BsbGR5M6lYrzJEZmLsHw5z8LlOm0AWwfQ885X0Ol/oypHRFPwpZF2FYXwngEgoBEHpEaNwpTyJsqROsCgupMtFeshLt8Oap/ug8d998CKQgvgICfRFppm/QEBAdg1oIlOOMrF6BcLsAPlCnHIjPvClQcgW4nhFThPxy8ovPXLwjugaGh8uxyzwXlvPOxsoPC9PUaZpYoLZobHtAMtAEhoVDKSXSUHdy+YSN+d9MGFKm4NK0gwKHhUTSaNZPL+ZEFzwXGVrwNk6edlkDjHMLmrei78DzkLR8W18qoEUiRgxR5xKoJ2+ox4EJVh5B9UDqPel8vWgccAW/Naug5Myk84OkJzDn3FOTbIwacFASXJMSC/XOZhxISHTP6ceZ5F6GzuxNekEb5IKlIOvISvU7AhPiog5ZVbtgluE0DurigHPx4RnfunXQXbNJm8wEZQAYCphDs99c9YMqDKbALtjJNyNGRQVx++dWwtDA5GHMyz/ewfXAYntdE4AfwjFkINHsXY+JzXwPmdptGXunKH6D79uuRzxVhqwBKDSFnzTTRNIrHIQXz+RAxTVF1obFqPcY/ehLQVU2CLG+AApwNGzHjR99GTk0Bqg0pvCQ9sRxIY6o5aGmjWOnCmed/A70zZ8INmCpxbGwoAF0Fgd5cEBVkfNj+Szvu2CW4rUPumTN6C+faCijwxqTTeNmXssV+bM1w9oiqm2wToELgt1AtSHQULVxzzU/w5/u2mKUMcRCg3W7hmeFhBF4rKaPY6WDGJDrQnrcUrdX7wRkcQuXe22HHU7CFgDT+zE/AKR9au7CsPkSqAWWiaieG3nkCvPe9G+DSGQrqwUdRuHUjylvvQS4ahaObELoBAVqFSCsJzto4Jkg4OQdn/sd/ord/Plw/MtAIj5Y1oywxq+DXrThae8CKzq3PC+6ux4dndRZ67uut2nM68sn6jWxtx/QvZebKiWKCq7WAmtm2IZSPGR0FjI9uxxVXfB+tqTokYgNu++AQVOSZ1EErunSWRBXTyYASkLIAbdGnMBhI6Lhu5COlA61Ck39JUTHRVAtO73ej0TMbEyeeBj1vjlGauP8RVL7/A+SDQdiowVF1SN02UVaa2fAkl2NU5TNnC5z+5QswY/5iuG4EN1KmhtWxwNwuBws7w+G85S1ftaBr8nnB3f1Y8/hqtfzDzhzQU0qm0v4WOLam6ecIjl2GWhuYaFF5IcamJtFZtNDX4WDzvZvxv9dej9BzoaIIo+Oj0FEAzSxfhyYSa50W5iAU20RNafIuwmol/k0yGPAGJJ0OZSJqHkqWEcU22vPegua/nAR0dxvVWZv+iI6fXomcrsNRDWhNU9UmAWZoVVYOgsFBOCjlLXzqjC+ia+6eaHsRmp5GMScxu8NCf4eF7qKIRBQ8mnfkz4PQ/83SuX/d2BSbHmne3Fktv72vDHQUEsWxGnjuIwPH3hf93FQbGKnTXDUeGhiCFDFmVHPoKlu49dYN+O1vb4alYozXpqBjggvNBHDyYIHDhJVQ+IiSYolFuXHqBQhGT+VCWiUTGaOYQIuIhYWQ34tLcBeugH/ch4DuXmBkEJXvXoB8ewwWXGiT77GWSBoA9G9cKBcLB92dFZx02umI8r0m9Vszv4QVsx10FYUZu7GuNHeuN1XkB9FN7Xbwmb0XVh/KuIhNWwOvs2Tn+6rCZAecITezU9PWc5i0Ml0JZKbfwsTHDU0Bky6wYcs20w7qrThGeaW8xJ0bN+HW2+5Eo9k0lQT9jWkEMVHl2dnhoNp4VLBc4uI4JrKRAcgEO7HDXFLQE64oGNz0k0pUkvUhCxZDrz4A4tEHkXvwLtgihNSJa0gEQNfAXp0NZTnGVSxeuADHHHcCpJXD+9f0YcUc2zRgn6sXnr9O3yeBlqeGJyfDE1cvKlxvkuvfP6512QF6y8kCFwYHllHZsgSezAwh7ZhyPIRHH/fMJDDWAn72x8dQb7XRVbZNoKgWLBRyAvfe/wBuuf0u1CYnIWVaQ9K5pRMrdNw8v5khM2rjZ2iYVGJWfxJunJbwBGjm0kx6ohj/zQpryyS82lKQpopgI0AnLodmaop9C4rVAwTWH3wgluy9Fh/cbxbWLSqa6idbJfpcS3PNupNkQnuioVrDk976I1eV7xW3b2lvL5eKczoLQKWQrIqk6rIeWwYuWw1kymwFTLaAgQlgsK5xxa1bUGu66ChYqOSpXMss4Ms5EtsGnsatGzahMTaWhutsLWsaug2s7F5nix7S/CKZ/08L+7RlZMqpDJ4hk62JShWbLj805Ve2II9zlCbJQqW7C/sftA4HrZiPUw/vRweD7S7A0a/XXW1SsLYSeGpIbxiZeOpIccufG8dVOys/5r2o5JNVQaw9WUrxhDRbk46k62/5moobbySKu397gK/9ZgsKFlDNSZQJzhHI2xKOJVDISTRbbfzpwS0YePxxxL73rJzNwNJZ62yG2dzydNlOUqVnK4PTdpKRWLqfLe/JPpO9nuZnTFRNyFj5Apbtswr5rpn4wpELcPiyqhHKrhTHsTJ4TLnCWNdgA3Dr/lHiuo2j1XJf7x2VvNiHTbZyBs9OA8U02zcTMjKJrsNTwEgT+NE9ow9864Ytt/dVZVDNW6LsSBT5XUsgZ7P7L5BzbDPX+qeHH8HAlr+YZQeJjSWpwk4P2pdhk05mcHfHa3YyzXKa9GD6mez9hOiOhHjHwjzzOzZ65s3B/D2XolSt7nnh+5a9a0mfZcZLkTz3MrJronVxoQ+ziPEWsL3GXDZ60NjIr/6sjynk8EsHEPRxDBK8E1ztw+k+njhHFTqJCTMl4Qm21eDd/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",He=({dataSource:Yn=[],img:sr,imgWidth:jn=346,title:ur,sunTitle:br,bannerExtraContent:Xr})=>x.createElement("div",{className:ct.banner},x.createElement("div",{className:ct.content},x.createElement("aside",null,x.createElement("p",null,x.createElement("b",null,ur),x.createElement("span",null,br)),Yn.length>0&&x.createElement("div",{className:ct.btns},Yn.map((Yr,pi)=>x.createElement("div",{key:pi,onClick:Yr.click},Yr.name,Yr.sign?x.createElement("img",{src:Le,width:39}):null))),Xr),sr&&x.createElement("img",{style:{marginTop:33,marginRight:38},src:sr,width:jn}))),Se={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},Ue=ae(92310),fe=ae.n(Ue),Ce=ae(89392),Oe=({dataSource:Yn=[],value:sr,onChange:jn,onTitleChange:ur,className:br,title:Xr,titleWidth:Yr=41,style:pi={},fontColor:ci="#6A7283",showCount:Hi})=>{const[mi,no]=(0,x.useState)(1),[Ki,fr]=(0,x.useState)(!1),Lr=(0,x.useRef)(null),gi=(0,x.useRef)(null);return(0,x.useEffect)(()=>{var Xt;Yn.length!==0&&(((Xt=Lr==null?void 0:Lr.current)==null?void 0:Xt.clientHeight)>97?no(1):no(0)),Yn.length===0&&no(0),fr(!1)},[Yn]),x.createElement("div",{className:fe()(Se.row,br,"fadeIn","animated"),style:pi},x.createElement("div",{onClick:(0,Ce.throttle)(()=>ur==null?void 0:ur(),2e3),style:{width:Yr,marginTop:Ki?12:4},className:`${Se.title} ${ur?"current":""}`},Xr),x.createElement("div",{className:Ki?`${Se.tagsWrap} ${Se.tagsBorderWrap}`:Se.tagsWrap},x.createElement("div",{className:Se.bar,ref:gi,style:mi>0?{height:mi===1?97:"auto",overflow:mi===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},x.createElement("div",{className:Se.tag,ref:Lr},Yn==null?void 0:Yn.map(Xt=>x.createElement("span",{onClick:()=>jn(Xt.id),key:Xt.id,style:{color:ci},className:sr===Xt.id?Se.active:""},x.createElement("span",{title:Xt.name,className:Se.name},Xt.name),!!Hi&&x.createElement("span",{className:Se.num},Xt.count))))),!!mi&&x.createElement(x.Fragment,null,mi===1?x.createElement("div",{onClick:()=>{var Xt;no(2),((Xt=Lr==null?void 0:Lr.current)==null?void 0:Xt.clientHeight)>245?fr(!0):fr(!1)},className:Se.action},"\u5C55\u5F00",x.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):x.createElement("div",{onClick:()=>{gi.current.scrollTop=0,no(1),fr(!1)},className:Se.action},"\u6536\u8D77",x.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},ve={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},Ie=({dataSource:Yn=[],value:sr,onChange:jn,className:ur,style:br={}})=>x.createElement("div",{style:br,className:fe()(ve.tabs,ur)},Yn.map(Xr=>x.createElement("span",{onClick:()=>jn(Xr.id),className:sr===Xr.id?ve.active:"",key:Xr.id},Xr.name))),_e={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},we=ae(37568),Ee=({dataSource:Yn=[],value:sr="",onChange:jn,onInputChange:ur=()=>{},className:br,style:Xr={},placeholder:Yr,allowClear:pi=!1})=>{var ci;const[Hi,mi]=(0,x.useState)(""),[no,Ki]=(0,x.useState)("");(0,x.useEffect)(()=>{var gi;let Xt=sr;(gi=JSON.stringify(sr))!=null&&gi.includes("{")&&(mi(sr.id),Xt=sr.value||"");try{Ki(decodeURIComponent(Xt||""))}catch(ln){Ki(decodeURIComponent(Xt||""))}},[sr]);const fr=()=>{jn(encodeURIComponent(no),Hi||null)},Lr=gi=>{gi!==Hi&&(mi(gi),jn(encodeURIComponent(no),gi))};return x.createElement("div",{className:fe()(_e.input,br),style:Xr},!!Yn.length&&x.createElement("div",{className:_e.dropdown},x.createElement("div",{className:_e.text},(ci=Yn.find(gi=>gi.id===Hi))==null?void 0:ci.name,x.createElement("i",{className:"iconfont icon-zhankai4"}),x.createElement("b",{className:_e.b1}),x.createElement("b",{className:_e.b2})),x.createElement("div",{className:_e.menu},Yn.map((gi,Xt)=>x.createElement("div",{key:Xt,onClick:()=>Lr(gi.id)},gi.name)))),x.createElement(we.default,{onPressEnter:fr,value:no,onChange:gi=>{Ki(gi.target.value),ur(encodeURIComponent(gi.target.value),Hi||null)},placeholder:Yr,variant:"borderless",allowClear:pi,onClear:()=>jn("",Hi||null)}),x.createElement("i",{onClick:fr,className:"iconfont icon-sousuo9 font14 current"}))},ke={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Qe=({value:Yn,onChange:sr,className:jn,total:ur,pageSize:br,style:Xr={}})=>{const Yr=Yn<2,pi=Yn>=Math.ceil(ur/br);return ur<=br?x.createElement(x.Fragment,null):x.createElement("div",{className:fe()(ke.quickPager,jn),style:Xr},x.createElement("div",{onClick:()=>{Yr||sr(Yn-1,"prev")},className:Yr?ke.disabled:""},"\u4E0A\u4E00\u9875"),x.createElement("div",{onClick:()=>{pi||sr(Yn+1,"next")},className:pi?ke.disabled:""},"\u4E0B\u4E00\u9875"))},Re={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},et=ae(29787),Ge=ae(25399),lt=ae(63139),it=ae(74128),ft=ae(65862),bt=ae(96908),je=ae(57177),ht=ae(81378),Ne=ae(2524),Ut=({className:Yn,dataSource:sr=[],col:jn=4,right:ur,bottom:br=23,precision:Xr=0,wrapWidth:Yr=1200,trackEventItems:pi,loading:ci})=>{const Hi=Math.floor((Yr-(jn-1)*ur)/jn);return x.createElement(et.Z,{spinning:ci},x.createElement("div",{className:fe()(Re.list,Yn)},!!sr.length&&sr.map((mi,no)=>{const{name:Ki,id:fr,identifier:Lr,power:gi,cover_image_id:Xt,pic:ln}=mi;return x.createElement("div",{className:Re.wrap,key:fr,style:{width:Hi,marginRight:(1+no)%jn===0?0:ur+Xr,marginBottom:br}},x.createElement("a",{target:"_blank",href:`/shixuns/${Lr}/challenges`,className:Re.li,onClick:yn=>{yn.preventDefault(),pi&&(0,ft.L9)([pi]),gi&&(0,ft.xg)(`/shixuns/${Lr}/challenges`)}},x.createElement("div",{className:Re.img},x.createElement("img",{className:Re.cover,src:`${ln}`}),mi.is_jupyter&&x.createElement("img",{className:Re.sign,src:bt}),mi.is_jupyter_lab&&x.createElement("img",{className:Re.sign,src:je}),mi.is_unity_3d&&x.createElement("img",{className:Re.sign,src:ht})),x.createElement("div",{className:Re.name},x.createElement(Ge.Z,{title:Ki||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},x.createElement("span",{className:Re.e},Ki||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),x.createElement("div",{className:Re.tags},x.createElement(Ge.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),x.createElement("span",null,mi.challenges_count))),!!mi.myshixuns_count&&x.createElement(Ge.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),x.createElement("span",null,mi.myshixuns_count))),x.createElement(Ge.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},x.createElement("span",null,x.createElement("span",null,mi.level))),x.createElement("div",{className:Re.rate},x.createElement(lt.Z,{allowHalf:!0,disabled:!0,defaultValue:mi.score_info}),x.createElement("span",null,"\xA0",mi.score_info?`${mi.score_info}\u5206`:"5\u5206")))),!gi&&x.createElement("div",{className:Re.lockWrap},x.createElement("img",{src:`${it.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),x.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!sr.length&&x.createElement(Ne.Z,null)))},ot=ae(61584),yt={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",hidden:"hidden___NniIi",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Ft="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45awCLRYo9vpuZE7YGdyG2Q0R5UvQBWxYwKwBn8pWPEPg7IlhdiKDYnrMIXAz6WDrh/mu3bXcNcEC5P7wIbrdQzH9eQCZF7+2WkrsCWPZcD/TgRbZsF1zTmrBrBX5HN3tyxwD7YTOVRy8KVL0Bd65Vmo667q2dStcdASx6rofyjouqUK/B9dsXFUohcksnenLbAMtemy1UfnrRiLE84NZ6IdqRirtvbdfi1TbA2Xz5r5j5j5Z5ehe705RMf51KRP64ncVoC2BxHLDH9/batlz2gJPnFc7PArNVgvjViABH6Zhm/ZErQoxkH7AmxYhHlsX71s7aWr9XbNek6M52HBQtA6xdflx5pldCVaEMHDuvcK5A8AjI5oB8EShXgEoZKFeBSgVQCohEgKjr/4z3AUP9gCIg7jLWpBn9fa9lsMXa5d7UqquxJYCFYrOFyk964c8V4F44oVCsEs5lgfNZIJcHPMFIk27wU0sbof/V0UcyBgz2AyMDQDQCbBzwXrtAEz2airu/3ErQQEsA5wqVT3qe93WbPKfqAS+eUsiWCWdmgJPTQLVaB2gjw6oB3U9B0azbsGz5XV6KsWFg01pAzGqXjniIua89ilZK3ZWMu99ohklTgP0YqsqLNlnz+SJh7ymF8xkf2JKEkFu+BOx1Y8CGNcBAH2P9gGe5h5VujqZTCfeKZjFeTQHO5EpfA/ApW9N5ZYYweU5h6jhwPlfHcpux5Ha/BxCLAldfBqSijMtHX2sg4x/SyejvLIXNkgAHoa07bEnNe48rnCkQDr8CFBokehh2q1ntIizYsOVG3y/g6AH7dl3gykuAvj4gAkahSihUCCVP9nryJfNgj1dguIrQ5wKJCCMZZaSjjOGEh6jV9LbuSUb2YAW+ZamQ3CUBzubLT9mKW95zTOFkhnDoqC8NL8clL0oqSYgnCSoCVIM92580axAjji+BuyqQ4RgQOq8wUKrK/0jv83Ilo8BQzMO6VBUDseWYQfM+JO46lYi8cbE7FwVYZxxUvf9u3kXzOyZnCIfPKuw/FAhSgcxTz3GbyFQLpOh6Ics877qE9AAQiZEGSyJUI6JGOT5VxlxocEWvdgTcAGQBUtQwWRTDTQTkYhXIlQnZElD2fMBjDmMizdjYX0VkhSlbOepXF/M6LQpwJl/ebiOd5FyR8PxxhQNHgGKP8+9EL04PKU2tAr5LjIQLJB0DJmswDbACpuP41KuBFYDlEwBsKFdz72ClZqvA2SJpI4yALc+PJ6rYPCDSevOXvSd3EG1PJyK/1KjthgBLIhg8frjbwYgq9MRhB5PHgXOZha01k5nq9d4FalEgowk4/UMKTp/fR59iJBX0nqkBo8ASpsGVPdYHVD7yuwY8uLcGcrAyNZCljbopZErAqQKhWPGB3pD2cEl/RUyK3S5d+88renujhLeGI8nmyv9rI8vv+aMKh6cJk8eC8Tbjye1Oi4BEkpDo91lxVDFSjghS/lVjuQZgMXc6DDdgxRrYEAWbl0GDHwC6FMBmuLkycKJAKFUJMQe4YriCwdjy6t6S1ZhKRn6l0TY37386Pxd4st21rr9fWNnTkw72HeyNnit7Z/+YAsn+CUbaBWJ68wzADbFZQ8GaJSuex6INy9ZCVmDvNkBLW2Y/DrPpxdbmTBGYLhCYCBvSVWzury4rNSvgTfX5yQsoOJMr/T2AJXWrVsDfeUThldOEoydbubu9e9wIYWBUFtJnxwPOHPuct28KyHWs1yHWVCsgCgULwAZkDXBA3ealaAdgmYWoXlNZ0vtzfx9wzUhZ97NM19fSyeinw33NA1jKJmTzlePdZtaL40Cod8+BQGq2OLtIFBgcVVrlSTiMtDPXeHgy+ndDgYFkrPfZEBUb9cgA7H8X7M/B3m0o17QXNLvkjGRsx/OkJW+R2q8erWjW3fuLZlIJdyJcTmIewPl85QNV9r7X7UD2nVTYd4wweXTplpoZNuqf7osB6WEFD4xBw5IbdFG/b8rfMlENoKZQn01rISvYg42qNPcSzLFneRH0FWL/razR6QLh7KxvNLl2tLwsUrZD6oOJhHu3Gd88gLP5skRH3tnK4Je6Z/tBBwenGkvOnbYtHqL+Nb5DeFgMFK2wPSNBB9gYdu2zaNZg14QsvZfPl6r1ixH+NFCfms3nfBk4lSdEXcK1Y2X0tTLuZo0u8T0R3ZtKRN67AGApVZQrVI52W81GDANPHnGw64XA5RcaTODsWbSswGJCthguhsYJHjNGWwXXEJ0BSChYfjdsGKzB05Qb/M/swWGVSb8MwbMycNNGeG9uhse5EnC6qLShRUAWga5Xl1T/ScbddabEU42CbbkEX55W2DtFONAg87WZltToBZAFHV4rbBkYiDASLSzOPLYUAtgA6APFvkFD2HQAvBikjSQt1C036BdAKDt4EbSEbQwjIQNIM8BEXz5fJu3Zunqkt7basCuxthbZfOm7zPjNZgNt9v3OSYWXpgjHpxf655sB3Kjt0XEhLyDpMvrrBZVGqmadXlDbPo3QFLJUacOJYuhce+NXDu4z0nRY0hbDiTgu6oWxZmsi30sXIniJk0NUKDGK9Ooiwr+kEtGPhsQGCZEpH7NRQc7sv9PnlgzA0HNrZslKpgnxftKq0FCHZkAjYEl/AkxNWBKngo4aYWxdR7h8Qr5f3AJVKDF2H/FNnZHASSHgmz26FbCkv6kcoQrCVaMVpHsUiCAV+VLJyNoawEHtxz2tDLLZPT894OClI37oTTeXcoHRCaUdBbLvLrH2S3YzT481+CrA84CKJ2oc49feRHA1T176+vlBT8eGxSJ+PJgxc7ZjmRQ9+WiOEHMJ142WemYIibqRqyVYXs8qkyv9HoCvNptgK98/+rKD3S8CxVIrdy9+z8ioguoDBiOMePO1X9hQ6JkwFcuNQkns+UaJSpnx4V8iOC28QY+/6KFSBeIxaJVHuxoDo0k7sz1bIpwrETalq5hI9oxVfzadjP6dD3C+/B9gfn87g1zs3u2HHDz9/CIGjmY8OWhUjBlD4wpR8lWijq6wcyD4XW/ZQTBfqeJHbM5WGB9/W2sA/2yvp6k+0Qckoj6rNlaxdsYoe/8reV/6u3GsBKcdFtBqR0T/kU5EPqABzuZLLzPjklafXeq+n73s4JkXgFIXFDw2IdIMMBbh1vTdRgOqM0roNQwiN8TLpcEtC6dhfPK25gCLivbALtZUm4wDcQFYjCQdbh/ioDg1q3TwwIaUfSomwqFUInqpVOiK5QqVnK16yz854OCFg/LSLBSi6nFopBaJnXlkgtBHjCEb9WVDDgPDmiVao6zBBUR4+sztPsAvHmU89KwvOMn+KuDJfhuLsLZ7y/8kPFc+ArDEZndCwWYdROAShnLjmjKUZSqWetfJuJuk7Cxfx5XyszaoV9rQQtYkMD3TWYsjYwQ3ThgV6u1k7w11G1aRTJy1sEfJnBAOU5DPLOOzd/gA//wA49+3+/ZoAU8C9hIxRqoPSCeAlAG3zwc+2uEebIaYKQPTswqbByoYj9t3L5IbuZ5s2Z/NoB9/WWH/FOHY6QZ6cIM45nAQnbQxsVHpSIzRaGcvSPgpAViANTZvEazEEWDYswB8+QTjnTdKGA7hbJbx7YeBM1mgT8CNCqjsAxuHTpOR/Ve+kxfA2LE7JT6zF8vLcs2wfeOH2KUpVyh/3vP4i90vp9/CnuMKe15pbMlqxqJF700PkdYPJSKjkyvs9dEB8SEjhuy9IgUbAeuWrcC1m+aziVKF8cOngJdPCKA8n3KjQFxYdjRwMYZiuToZqzxzukjIVwnXj5T1S2PzUoq+QNl86dvM+JithjNFwtOTCk8+17zFeqF6fK2CijLWRHyvTzeX5gwBBUs7QrkSzSl6rLDW224A1gws3snOA4xnXvapt541a0NHKOynm3FKQN+JosLGlIeJpKR22LuI8B3K5sr3M/id9pr19+Fn9/sJZK3mFkn/Gy5ROjpj1IJwpfdcAVhin4U1e6ISARMDwLbrhAqbv0FHzzCeeInR5wCpuL/v9sneKy9gyG/czdrJMEVlSrmErcN2UzwI9GPK5MuP2U7mfmZS4YVX/Bjo8LWUGizS85p1hGSdE7+txTP6bqAOCRVrlajqS83XbwbecJnOs2252fwsQ6hZ2pFMRtl/ayG3gamy5cYWufFkUYLwCTeNWbZsEe2gbK70LAPXdTvI8PPTeYKA/OTu4L9GQFzCXzgwAKSGFIYc7spnKtgZdUgAFvelsOZrNwE3X946sOH5VD3Gjn2sbdkxAdmCgBVuX9yJ58oKVw1XkLSY50zAc7IHWzNyhAf96AEH+yehpelWrjVjhGiSMBZlcR51fIUBFoFKqFcMGrddD1w63hnAMpgn93uQUCRRmbQU3aWKFJ5gvgKcLilc2l/FSMye0UOMHZTJlU/bzBw0Az+dIzx3TGHHLn8PbHZt2KSgHMZ4N+qRsVYFrFnSUWXfFYPGO28ELptYCHClyrjnCeCJF32Hxi1XAnfcLFLy/Hu37w0ADqxYhoprHqpmE1zie9HLjxUUxpNVLWzZu2iasvnyLDN3s6yLjuexgw4OHAUOmbjoJUa++RKlY5bFc9TxFQZY2HPZ/+RngXe/Hrh87UKAv79DTJDzA99Fwn7PG+ff+8huD/kS0C/6cNwXtsRUaSNiUnawyRxhKAZcNmBPHyaiUk8Bzs4SnplSePw5P5uwfgsOC12XvE7BdRgjXfDnmr3ZWKvEHBkAfMfrgS3rFgL8Z//M+gUQsIxrUSTmP//Q/Hsf2OXp+/qTvtokurCoSyaeuuOXMnjwlRwhFSVcMWRPktYA94pFmwnvO6EgyWdPPOdLtDUvf92KXHKZ7z3qxLEvL4oSyVli8uTEQckOrPgClrxYuSLjzpsJV6xfCPBf/AvrPVrAMi+gWKw+5/thatf9z3g4XwAGk0DaOBsCn7D2NNZnQrSJ+NG8H30pgpa9S7Po3ghZ4UE+dUjh+DnCzr3zSy6E77lsi9KpJ+0ArM2QoRIe2lsURGr4rkDfW5QtAu97E+HKBgDf97RIyHMAS5ti4br9pvkA3/e0h5k8MBAALGZM0Yd1THUQ01XLoOhAljteJN3ONRbjtbSQ1Qs1qf4NFIqS/fjISWDfoSDZuq6myqVbFGLi/zXSQJ3tPaxpSfvakCFxVAFXEEuV1nsFYDFJGndghZErAO+/hXDVhsZC1oPPAruP+C/LdZuBt1+3UMj6wROM0xnGQMKn4Hk26SDHycRxmQS2dijxaIEQUaQzIWxdWk2ylSbabFCirkim4akZ4NmXfBDCe/DlW5SOvdJOBpNxv0ijJiPfUKuxVA0lgY0jvgAkL4BsCcb+fOm4sNcOSCsYw6GTrL1P2gccfKTfmTxr27b8XwcAhCxcbdhTMCUsOgJcPWSRRRM9JqbKHzH49mYA2fheFuSpIw7OFYCn9wRhPQHKW7YqXdhsIsicr0VfBB2HKdgYMgyI8vKsHwLeek17Viobc2Jm7J1iZIq+AaRmp24zlMcXsoArLAJMoPutOxtaWbTnjymcLRB27YcOr5Vr6xWkY5Q3JedaMKCaMknyjfEQyXeyzwqFFivAnW/ojkJbGfdi92SLjJ0HWbsXta06FAjQChXLnCbzhOE+xusG7TkctLPBtruw1YU6lSHsP62QLQC7DwJrxhWqirFloI5FByjXtuTQPlsTpMrAb79t+anXzFWo+Me7WEd6yN4sTgmTEtMKwBL8d7ygsDZZxXqLhg7tLrTt8G8VYHPfoWmF4znC0TMKmSrwun5PmwH9sjfBj9CebGpVihnSWKlyReBTv9KhA7ndAS9y/z1PeugPoj5MOE+rEZe5ih/ZIUaOIYuJ49rhbztkp5P1kr10+wEXB2cIG/s9DPbNVa+rUYnZi4N4ZpGShTVLPctMAfjM7Z0BfOgE4+cHgfN5YP0ocOtVrbkS6+f5b9s9DKUCCTtg1SbdpdmazJT8tJZrR+xmIOqQHdtBd80ms9j3UtTkP3dHMBpnbOpnQ8C1MoXmOSMxi+QqUq2w+Ewe+My72gf4wV2Me570JV/tpPB8gH7/DmDNYHsS93d/4gNcs3QFOnIrtmrRgUWWuGmNPQm6FnQnC7ccxo5WgL/72QgqHuPGCV4ArBG05Kdmz2UgN+sDfDYL/O672wN4aprxt/fMpaEIECacdt0w8Ad3tgfwPz3kYbQfWk/WwQFBWG0zgEWNFwl6oA/YMmgT4CBsVhY+ky/fDebfaAWEXt7zyAEHR2YUbpjwEHfnDCI1cg4iNLQLMGDPYj48m2kfYKHeR3b7QpGoNgZg8TzJnv4XH5bvWgf5Hx/0MNLvmzLDADdzRuSrUqlH6XoeaxIWPUnhwHebqSvdvABTM8CDByLYMMDYPNA4jNQYLjQQs5J240dBtsuif/A4Y9+UgMFatRGAhTMUSqT39N/eBmwYaR3gbz7oYTQNDKR8Z4REf7TibZJojlmPcMOo9bzhudQVm8ln3QAsz37vWVez5zdvDAEc+tUALM53EbBmAoA//c72WPR9TzFePsma2kR/FR1cABbqPZ8nfPhWYP1wewCPpIHBNgAWs6qwZynWstWigUPWcV7ymd6HLaWPdgvwzikHe04oXD/uYbjBIXnzKLgInAsAvqtNNen+ZxiTp1mrNkJtYkcWwU24grT5628mrG0DYM2iDcChPXgpFi2hOjNlhcstq0cL0kcDQctKAni3AIv/9vu7I7rK683rF7LpBQAXgDMZ4BPvaI+CJc/o2FnW3iHRW8UTJHu7ULAIbe+5mTAx1DoFf+thD8MCcEjIMtV7Gq2JCXqX6gLXj5XbCgRstsYNE8BtlXBo1nkr3+84pPDSGQc3rfMwUkfFJq9XVCRh0YaCP/QWQryFUFjTv0RonJzxU1I0BSs/+kMoeCbruwvHW1SVJL/p7sdYAyxStE5Oa6ImCfWeLYlwVcF4wm7aSsMSDraKsLQCYLN7ciXgnr0RXQfrzZt4XtEWDXCdFC37sGQoXLe5dYr72R4PJ87DZ9GBkGUo+FweeMd1tGRgfHgOzx1mPH+E9f4rAGtX4hIAy94r3iOXCNePlawmni1ahMVn03bKKDUDsJXv/++4g+eOKlw55mHT4NwT2oMU6MEiaIkeLFQsku8Nl0jUhqScNAf68X0eTmXmwm8MixbOIJXof/kawmj/0u3kZhn7p4Bdh31hTbPn4IURgBfLPJR0lUyZsGWwiuG4RdXIP1upcRklWcKVtkuHgfc8xg/3RFGsspaoE0G2gzZ0BA59baoUVSnvmxoF5GyBtIVL9nJxRsglViqxb+uEMskUjPvClXwkPEe8P1pNEs9UYB0TKpb2MtKelA4O0l5M6SVxKMjeLWqWBOJJW8LujbNBUk8bxWsVKuJYIKTlqAGL0Rtm7ZYshGarlGErFNrKPScyhAdecrXA9cYNfhlgk60gYMii66C6or93SuSGRD4KSKUKaVYuFK9LFjoCJOv9Viq362zBIM9Xx2OJqTJg/aYt+SltSx+Vqm9OlMu0pdNLg7YkXlpKOwi7X6x+R1lYc9Yv43PDSFn7j+1eTUoZSme2ipHaGviuowq7TzgYTTJuWucLI8Yebfbi2QBUne8rlBscpCXgGoAFZDE8SByVpj5x64XSQOV7aVf2YT8x3P+ISVTUJ+nLpLqatvTBXAElS1smrSVc+9Ksg6mwU2afNY9YZs26H6X+Ph13PxNe+wWbjK1ywrYAFl/rAy9FcSoHbB5kbBllDZpJKtPpoKGUUJGEBSShNh35EQiopui3T30+0Pr0tKDAmc4hDgQ4kw1hgJW/dX9BrrGpVGteGOEAus0glMcUSgvXddHFSSukzZGXWXTqh9e5pXLCWtiyVBDcFsiywD960UVmlnDNuIe16YCKg2o5RjfWe7MAEQBsYrfmFSM1Vd5DZYRN8W8twAVCnGlT/5T4MX34g++gNtXwxN+rSz0EFfG0V6pW8HRu9lKUVFyCUuXuqhH75Rq0nNFqQXDNpi2V9LcFsLQjqtOPX3Qhhca3jjHWpX1nhA7eC1ixYd36b3koFCigIx39lai5B8Phrvr2IGHcsHbNBYLgwHDYkC6FGDows1Yhvu5QD2nTgCv7vtTFsl2Lo7bG7ZT01yBbOpTDJsiZWeDhgxEtSIlDQth1GBQTqFeLugx1HsSm+1uVsOPQWQ4B7r7TKngpwjU9arFhcxWF5yrBm1LFQQeGLcvzx/KEfIV0wtq1wz0sDE70WDoReUujtV5U0bN5rI5NkCUT75EDEQjYw3HGNeNz0nWAT8jP2KDnYMZm4o1ipswLop9eysgUqsUVbsdUs9NV36OMa0Z7w5bN7Do6VkfvxRYPxrIJsuzJ2w9HcCLrn4N07bicUGazh87bkvpXx3JySAhhPCkCVaV3bNk3bHR2MJZM0fbRdp0vW+Mnxeu055QDqTa1cRDYNMAd17TsdmyyX5+UksEl2eMJW4aqGLPpwG/EjLo92k7vxZYPp+x2Ieufl1NOdr7i4lxRLEuMSwcYo6mFZxzZ7te0J3vtzKwvTMk5iAMxxpXDlR4YMRrOoLvDKX3J0v7xsrYXW3Rl8T7tOen4xUIjrIWwsYSd/N1G4xXVSYA9UyRUPKkeC1w+WMVo74qL1g3D0vGy0upqciUu9XJIwN6+0w4OTit9rI2rWLsb1yQZ6b7OSxKbPkVHlvMLZ2ZJq23i55LDpzcNVrE26fV0r62ft7UDogMq7tkR77apWdqrMuPwjMLhGQdydqI2TijW8dZyVKzYjyWoT2zBi1URFtYrOrcOrq+I98ePwxbmLwYNOdlsfdrDaHx5D7/S62X7iHdf4OKNVa4804t6Hr0A2bQpOvPRjIOTOYWzRd/VOFel3a9ma8yYNcNJrQSir0zJ/RHJXY5D25BFOhYz5cpcNO2Qe1MiQQ1OxVg4ouaO09AzuWLlDvb4XlsHRi/3AklJ4POzCjkpyD0rjgmlvUQV5uBsYXHC+6BHHKF01npsqo+RtFCcrdv5yoHQpOjOZMy9r9W22gJYGs3my3/FzH/UagcX77O3AkT016lE5I/babFtgJnZzRYqP7VdHa+dQV+Q9xLtSMXdtxJRW+kPbQMc7MfrPZR3MGPjBbnYyzxpIkwqRG5JJGiq3a47Alg68YPlK4++2oSudhdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ze=ae(59301),At=({className:Yn,dataSource:sr=[],col:jn=4,right:ur,bottom:br=23,precision:Xr=0,wrapWidth:Yr=1200,trackEventItems:pi,loading:ci,category:Hi,hiddenClick:mi,handleVery:no=()=>!0,isCurrent:Ki})=>{const fr=Math.floor((Yr-(jn-1)*ur)/jn);return Ze.createElement(et.Z,{spinning:ci},Ze.createElement("div",{className:fe()(yt.list,Yn)},!!sr.length&&sr.map((Lr,gi)=>{const{subject_identifier:Xt,id:ln,identifier:yn,power:kt}=Lr,dn=Lr.is_public!=0&&Lr.is_public;return Ze.createElement("div",{className:yt.wrap,key:ln,style:{width:fr,marginRight:(1+gi)%jn===0?0:ur+Xr,marginBottom:br}},Ze.createElement("a",{className:yt.li,onClick:zt=>{zt.preventDefault(),no(Lr==null?void 0:Lr.first_category_url)&&(pi&&(0,ft.L9)([pi]),(0,ft.xg)(Lr.first_category_url))}},Ze.createElement("div",{className:yt.top},Ze.createElement(Ge.Z,{title:Lr.name},Ze.createElement("div",{className:yt.name},Lr.name)),Ze.createElement("img",{className:yt.img,src:it.Z.IMG_SERVER+"/images/"+Lr.avatar_url}),Ze.createElement("div",{className:yt.text,title:Lr.creator},Lr.creator),Xt&&Ze.createElement("div",{className:yt.btns},Ze.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Ze.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),dn&&Ze.createElement("div",{className:yt.sign},"\u516C\u5F00"),Ki&&Ze.createElement("div",{className:yt.hidden,onClick:zt=>{zt.stopPropagation(),mi(Lr)}},Ze.createElement("i",{className:`iconfont ${Hi=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),Hi=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),Ze.createElement("div",{className:yt.bottom},Lr.visits>0&&Ze.createElement(Ge.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Ze.createElement("span",null,Ze.createElement("i",{className:"iconfont icon-liulanyan"}),Ze.createElement("span",null,Lr.visits))),Lr.course_members_count>0&&Ze.createElement(Ge.Z,{title:"\u6210\u5458",placement:"bottom"},Ze.createElement("span",null,Ze.createElement("i",{className:"iconfont icon-chengyuan"}),Lr.course_members_count)),Lr.tasks_count>0&&Ze.createElement(Ge.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Ze.createElement("span",null,Ze.createElement("i",{className:"iconfont icon-zuoye"}),Lr.tasks_count)),Lr.is_end?Ze.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Ze.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Lr.is_accessible&&Ze.createElement("div",{className:yt.lockWrap},Ze.createElement("img",{src:`${it.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ze.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!sr.length&&Ze.createElement(Ne.Z,null)))},Zt={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},Kt=ae(65582),Nt=({dataSource:Yn=[],value:sr,onChange:jn,className:ur,style:br={},tabBarExtraContent:Xr})=>x.createElement("div",{className:fe()(Zt.tabs,ur),style:br},x.createElement("div",{className:Zt.tabsWrap},Yn.map((Yr,pi)=>!(Yr!=null&&Yr.hide)&&x.createElement("aside",{className:Zt.tab,onClick:()=>{jn(Yr.id),Yr.link&&Kt.history.push(Yr.link)},key:pi},x.createElement("div",{className:sr===Yr.id?Zt.active:""},Yr.name),(Yr==null?void 0:Yr.resetCount)==null&&(Yr==null?void 0:Yr.total)!==void 0&&x.createElement("span",null,"\uFF08",Yr==null?void 0:Yr.total,"\uFF09"),(Yr==null?void 0:Yr.resetCount)!==void 0&&(Yr==null?void 0:Yr.total)!==void 0&&x.createElement(Ge.Z,{title:(Yr==null?void 0:Yr.tip)!=null?Yr==null?void 0:Yr.tip:""},x.createElement("span",{style:{color:"#9096A3"}},"\uFF08",x.createElement("span",{style:{color:"#000"}},Yr==null?void 0:Yr.resetCount),"/",x.createElement("span",null,Yr==null?void 0:Yr.total),"\uFF09"))))),x.createElement("div",{className:Zt.tabBar},Xr)),pn=({className:Yn,style:sr={},children:jn})=>x.createElement("div",{className:fe()(Yn),style:sr},jn),Ot={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},vn=ae(75727),_t=ae(93041);const Fn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var de=({sortValue:Yn,dropValue:sr,className:jn,onSort:ur,onDrop:br,dataSource:Xr=Fn})=>{var Yr;return x.createElement("div",{className:fe()(Ot.orderWrap,jn)},x.createElement(vn.Z,{dropdownRender:()=>x.createElement(_t.default,null,Xr.map((pi,ci)=>x.createElement(_t.default.Item,{key:ci,onClick:()=>br(pi.id)},pi.name)))},x.createElement("span",{className:Ot.orderTextWrap},(Yr=Xr.find(pi=>sr===pi.id))==null?void 0:Yr.name)),x.createElement("span",{className:Ot.orderIconWrap},x.createElement("span",{className:Ot.orderAsc},x.createElement("i",{className:Yn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Ot.cursorPointer} ${Ot.active}`:`iconfont icon-sanjiaoxing-up font12 ${Ot.cursorPointer}`,onClick:()=>ur(Yn==="asc"?"desc":"asc")})),x.createElement("span",{className:Ot.orderDesc},x.createElement("i",{className:Yn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Ot.cursorPointer} ${Ot.active}`:`iconfont icon-sanjiaoxing-down font12 ${Ot.cursorPointer}`,onClick:()=>ur(Yn==="asc"?"desc":"asc")}))))},ge={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},ie=ae(7939),ee=Object.defineProperty,le=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,$e=(Yn,sr,jn)=>sr in Yn?ee(Yn,sr,{enumerable:!0,configurable:!0,writable:!0,value:jn}):Yn[sr]=jn,at=(Yn,sr)=>{for(var jn in sr||(sr={}))se.call(sr,jn)&&$e(Yn,jn,sr[jn]);if(le)for(var jn of le(sr))Be.call(sr,jn)&&$e(Yn,jn,sr[jn]);return Yn},pt=(Yn,sr)=>{var jn={};for(var ur in Yn)se.call(Yn,ur)&&sr.indexOf(ur)<0&&(jn[ur]=Yn[ur]);if(Yn!=null&&le)for(var ur of le(Yn))sr.indexOf(ur)<0&&Be.call(Yn,ur)&&(jn[ur]=Yn[ur]);return jn},gt=(Yn,sr,jn)=>new Promise((ur,br)=>{var Xr=ci=>{try{pi(jn.next(ci))}catch(Hi){br(Hi)}},Yr=ci=>{try{pi(jn.throw(ci))}catch(Hi){br(Hi)}},pi=ci=>ci.done?ur(ci.value):Promise.resolve(ci.value).then(Xr,Yr);pi((jn=jn.apply(Yn,sr)).next())}),Lt=Yn=>{var sr=Yn,{className:jn,style:ur,children:br,loading:Xr=!1,openLoading:Yr,onClick:pi=()=>{},size:ci="middle",shape:Hi="round"}=sr,mi=pt(sr,["className","style","children","loading","openLoading","onClick","size","shape"]);const[no,Ki]=(0,x.useState)(!1);return x.createElement(ie.ZP,at({onClick:(0,Ce.throttle)(fr=>gt(void 0,null,function*(){Yr&&Ki(!0);try{yield pi(fr)}catch(Lr){console.log("error",Lr)}Yr&&Ki(!1)}),2e3,{leading:!0,trailing:!1}),className:fe()(ge.btn,ge[`${ci}-${Hi}`],jn),style:ur,size:ci,shape:Hi,loading:no||Xr},mi),br)},Rt={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},st=({className:Yn,style:sr,children:jn=null,onClick:ur,title:br})=>x.createElement("div",{className:fe()(Rt.head,Yn),style:sr},x.createElement("span",{className:"primary-hover",onClick:ur},x.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),x.createElement("b",{title:br},br),x.createElement("div",{className:Rt.node},jn)),$t={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},bn=({confirmShow:Yn=!0,confirmTitle:sr,confirmClick:jn,cancelShow:ur=!0,cancelTitle:br,cancelClick:Xr,className:Yr,style:pi,confirmLoading:ci=!1})=>x.createElement("div",{className:fe()($t.btns,Yr),style:pi},Yn&&x.createElement(ie.ZP,{loading:ci,onClick:jn,type:"primary",className:$t.confirm},sr),ur&&x.createElement(ie.ZP,{onClick:Xr,className:$t.cancel},br)),an={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Hn=({className:Yn,style:sr={},LeftContent:jn,children:ur,RightContent:br})=>x.createElement("div",{className:fe()(an.fixedBottom,Yn),style:sr},x.createElement("div",{className:an.wrap},x.createElement("div",{className:an.left},jn),x.createElement("div",{className:an.center},ur),x.createElement("div",{className:an.right},br))),En={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},sn=({className:Yn,style:sr={},dataSource:jn=[]})=>x.createElement("div",{className:fe()(En.crumbs,Yn),style:sr},jn.map((ur,br)=>br<jn.length-1?x.createElement(x.Fragment,{key:br},ur.path||ur.onClick?x.createElement("span",{className:En.hover,onClick:ur!=null&&ur.onClick?ur.onClick:()=>Kt.history.push(ur.path)},ur.name):x.createElement("span",null,ur.name),x.createElement("span",null,"\xA0",">","\xA0")):x.createElement("span",{key:br,style:{color:"#5F6368"}},ur.name))),Dn=ae(11938),Wn=Object.defineProperty,It=Object.defineProperties,Wt=Object.getOwnPropertyDescriptors,rn=Object.getOwnPropertySymbols,mn=Object.prototype.hasOwnProperty,Xn=Object.prototype.propertyIsEnumerable,Fr=(Yn,sr,jn)=>sr in Yn?Wn(Yn,sr,{enumerable:!0,configurable:!0,writable:!0,value:jn}):Yn[sr]=jn,ri=(Yn,sr)=>{for(var jn in sr||(sr={}))mn.call(sr,jn)&&Fr(Yn,jn,sr[jn]);if(rn)for(var jn of rn(sr))Xn.call(sr,jn)&&Fr(Yn,jn,sr[jn]);return Yn},Hr=(Yn,sr)=>It(Yn,Wt(sr)),Ir=(Yn,sr)=>{var jn={};for(var ur in Yn)mn.call(Yn,ur)&&sr.indexOf(ur)<0&&(jn[ur]=Yn[ur]);if(Yn!=null&&rn)for(var ur of rn(Yn))sr.indexOf(ur)<0&&Xn.call(Yn,ur)&&(jn[ur]=Yn[ur]);return jn};const{Countdown:er}=Dn.default;var Mr=Yn=>{var sr=Yn,{onChange:jn}=sr,ur=Ir(sr,["onChange"]);const[br,Xr]=(0,x.useState)(null);(0,x.useEffect)(()=>{typeof br=="number"&&br>=0&&jn(br)},[br]);const Yr=pi=>{const ci=Math.floor(pi/1e3);Xr(ci)};return x.createElement(er,Hr(ri({},ur),{onChange:Yr}))}},31103:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return ct}});var x=ae(59301);function ct(Le,Je){const He=(0,x.useRef)();(0,x.useEffect)(()=>{He.current=Le}),(0,x.useEffect)(()=>{function Se(){He.current()}if(Je!==null){let Ue=setInterval(Se,Je);return()=>clearInterval(Ue)}},[Je])}},27127:function(Vn,Tt,ae){"use strict";ae.r(Tt),ae.d(Tt,{default:function(){return ei}});var x=ae(59301),ct=ae(66649),Le=ae.n(ct),Je=ae(86129),He=ae.n(Je),Se=ae(38147),Ue=ae(65582),fe=ae(62957),Ce=ae(6767),oe=ae(458),Oe=ae(91882),ve=ae(77019),Me=ae(5269),Ie=ae(7939),_e=ae(25399),we=ae(37285),xe=ae(37568),Ee=ae(70858),ke=ae(82326),ze=ae(31709),Qe=ae(27812),Re=ae(95869),et=ae(87169),Ge=ae(26227),lt=ae(74128),it=ae(41867),ft=ae(65862),bt=ae(42441),je={flex_box_center:"flex_box_center___KJUhi",flex_space_between:"flex_space_between____N4uH",flex_box_vertical_center:"flex_box_vertical_center___yOdsz",flex_box_center_end:"flex_box_center_end___seJB9",flex_box_column:"flex_box_column___ihHC5",title:"title___JSmnB",score:"score___ERcuI",export:"export___pgR1H",title1_right:"title1_right___MdWJo",userPic:"userPic___UeG3e",userInfo:"userInfo___TNu6l",listItem:"listItem___wdbM_",rightInfo:"rightInfo___Swqk5",shixunTitle:"shixunTitle___L2Tc4",shixunWrp:"shixunWrp___ZoaTc",footerBar:"footerBar___QW5rq",footerBarStatic:"footerBarStatic___CRq8b",exitComment:"exitComment___u4Rqt",nextComment:"nextComment___lvaID",modal:"modal___g3B3L",footer:"footer___eJCnt",pingjia:"pingjia___X_ooM",pj_close:"pj_close___PHP4h",pj_save:"pj_save___COfQy",fa:"fa____jywp"},ht={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const Ne=({shixunHomeworks:tr,data:Un,globalSetting:cr,loading:Bi,dispatch:zn})=>{var gn;const{shixunWorkReport:$n}=tr;let nr=((gn=Un==null?void 0:Un.efficiency_list)==null?void 0:gn.length)-parseInt(Un==null?void 0:Un.myself_eff[0]);const pr=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(Ni){return Ni.name===$n.username?"\u59D3\u540D\uFF1A"+$n.username+"<br/>\u5B66\u53F7\uFF1A "+$n.user_id+"<br/>\u6548\u7387\uFF1A"+(Un==null?void 0:Un.myself_eff[1]):Ni.name+":"+Ni.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:Un==null?void 0:Un.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:$n.username,xAxis:nr,yAxis:Un==null?void 0:Un.myself_eff[1],value:Un==null?void 0:Un.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),Zr=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(Ni){var fi=Ni.value;if(Ni.name===$n.username)return"\u59D3\u540D\uFF1A"+$n.username+"<br/>\u5B66\u53F7\uFF1A "+$n.user_id+"<br/>\u5F97\u5206\uFF1A"+(Un==null?void 0:Un.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#000",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#000"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},axisLine:{lineStyle:{color:"#000"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:ht,data:Un==null?void 0:Un.consume_list,symbolSize:function(Ni){return Math.round(Ni[2])},markPoint:{data:[{name:$n.username,xAxis:Un==null?void 0:Un.myself_object[0],yAxis:Un==null?void 0:Un.myself_object[1],value:Un==null?void 0:Un.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return x.createElement(x.Fragment,null,x.createElement("aside",{className:"ml60 pr30"},x.createElement(ve.Z,null,x.createElement(Me.Z,{flex:"800px"},x.createElement(bt.Z,{style:{width:750,height:580},option:pr()})),x.createElement(Me.Z,{flex:"1"},x.createElement("aside",{className:je.rightInfo},x.createElement("ul",null,x.createElement("li",null,x.createElement("span",null,"\u59D3\u540D")," ",x.createElement("span",{className:"ml30"},$n.username)),x.createElement("li",null,x.createElement("span",null,"\u5B66\u53F7")," ",x.createElement("span",{className:"ml30"},$n.student_id||"--")),x.createElement("li",null,x.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",x.createElement("span",{className:"ml30 c-orange"},Un==null?void 0:Un.myself_eff[1])),x.createElement("li",null,x.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",x.createElement("span",{className:"ml30 c-orange"},Un==null?void 0:Un.myself_eff[0]))),x.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",x.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",x.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",x.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),x.createElement("aside",{className:"ml60 pr30"},x.createElement(ve.Z,null,x.createElement(Me.Z,{flex:"800px"},x.createElement(bt.Z,{style:{width:750,height:580},option:Zr()})),x.createElement(Me.Z,{flex:"1"},x.createElement("aside",{className:je.rightInfo},x.createElement("ul",null,x.createElement("li",null,x.createElement("span",null,"\u59D3\u540D")," ",x.createElement("span",{className:"ml30"},$n.username)),x.createElement("li",null,x.createElement("span",null,"\u5B66\u53F7")," ",x.createElement("span",{className:"ml30"},$n.student_id||"--")),x.createElement("li",null,x.createElement("span",null,"\u80FD\u529B")," ",x.createElement("span",{className:"ml30 c-orange"},Un==null?void 0:Un.myself_object[1]))),x.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",x.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",x.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",x.createElement("br",null)))))))};var We=(0,Ue.connect)(({shixunHomeworks:tr,loading:Un,globalSetting:cr})=>({shixunHomeworks:tr,globalSetting:cr,loading:Un.effects}))(Ne),Ut=ae(50258),ot=ae(4875),yt=({defaultValue:tr,onBlur:Un,max:cr,className:Bi="game-score"})=>{const[zn,gn]=(0,x.useState)(tr);(0,x.useEffect)(()=>{gn(tr)},[tr]);function $n(pr){gn(pr)}function nr(){zn!==tr&&Un(zn>cr?cr:zn)}return x.createElement(ot.Z,{max:cr,min:0,className:Bi,value:zn,onChange:$n,onBlur:nr})},Ft=ae(25374),Ze={md:"md___TEmcT"},Te=ae(59301),At=Object.defineProperty,Zt=Object.defineProperties,Kt=Object.getOwnPropertyDescriptors,rt=Object.getOwnPropertySymbols,Nt=Object.prototype.hasOwnProperty,Qt=Object.prototype.propertyIsEnumerable,pn=(tr,Un,cr)=>Un in tr?At(tr,Un,{enumerable:!0,configurable:!0,writable:!0,value:cr}):tr[Un]=cr,Ot=(tr,Un)=>{for(var cr in Un||(Un={}))Nt.call(Un,cr)&&pn(tr,cr,Un[cr]);if(rt)for(var cr of rt(Un))Qt.call(Un,cr)&&pn(tr,cr,Un[cr]);return tr},vn=(tr,Un)=>Zt(tr,Kt(Un));const _t=ke.default.Option,Fn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var on=(tr=>(tr[tr.SET_PATH=0]="SET_PATH",tr[tr.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",tr))(on||{});function de(tr,Un){switch(Un.type){case 0:return vn(Ot({},tr),{selectedPath:Un.payload});case 1:return vn(Ot({},tr),{passedContent:Un.payload});default:throw new Error}}var ge=({path:tr,game_id:Un,onPathChange:cr,autoHeight:Bi,diff_code_count:zn,data:gn,game_codes_cn:$n})=>{var nr,pr,Zr,Ni;const fi=tr.split("\uFF1B").filter(Ti=>!!Ti),[Li,vi]=(0,x.useReducer)(de,{selectedPath:fi[0],passedContent:{language:"python",content:""}}),{selectedPath:Ei,passedContent:yi}=Li;function Si(Ti){vi({type:0,payload:Ti})}const wi={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return Te.createElement(Te.Fragment,null,Te.createElement("h2",null," ",Te.createElement("span",null,$n,Te.createElement(_e.Z,{title:Te.createElement("div",null,Te.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),Te.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),Te.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),Te.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},Te.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),zn&&Te.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",zn),Te.createElement("span",null,Te.createElement(ke.default,{style:{width:200},value:Ei,onChange:Si}," ",fi.map(Ti=>Te.createElement(_t,{key:Ti,value:Ti},Ti))," "))," "),(Ei==null?void 0:Ei.split(".")[1])==="md"&&Te.createElement(Ft.Z,{height:300,autoHeight:Bi,defaultValue:((pr=(nr=gn==null?void 0:gn.filter(Ti=>Ti.path===Ei))==null?void 0:nr[0])==null?void 0:pr.content)||"",className:Ze.md}),(Ei==null?void 0:Ei.split(".")[1])!=="md"&&Te.createElement(Ut.ZP,{height:300,language:yi.language,value:((Ni=(Zr=gn==null?void 0:gn.filter(Ti=>Ti.path===Ei))==null?void 0:Zr[0])==null?void 0:Ni.content)||"",autoHeight:Bi,theme:"default",isCopy:!0,options:Fn}))},ie=ae(33270),ee=ae(96249),le=ae.n(ee),se=Object.defineProperty,Be=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,pt=(tr,Un,cr)=>Un in tr?se(tr,Un,{enumerable:!0,configurable:!0,writable:!0,value:cr}):tr[Un]=cr,gt=(tr,Un)=>{for(var cr in Un||(Un={}))$e.call(Un,cr)&&pt(tr,cr,Un[cr]);if(Be)for(var cr of Be(Un))at.call(Un,cr)&&pt(tr,cr,Un[cr]);return tr};const Bt=tr=>React.createElement("svg",gt({className:"scai_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},tr),React.createElement("path",{d:"M512 327.68c245.76 0 445.44 153.6 445.44 348.16C957.44 870.4 757.76 1024 512 1024c-245.76-5.12-445.44-153.6-445.44-348.16 0-194.56 199.68-348.16 445.44-348.16z",fill:"#DBDCFF"}),React.createElement("path",{d:"M645.12 947.2c117.76-10.24 158.72-143.36 163.84-266.24 0-128-128-174.08-291.84-174.08-163.84 0-291.84 46.08-291.84 174.08 0 112.64 35.84 240.64 143.36 261.12 30.72 5.12 261.12 10.24 276.48 5.12z",fill:"#111ACC"}),React.createElement("path",{d:"M404.48 686.08c15.36 0 25.6 10.24 25.6 25.6v61.44c0 15.36-10.24 25.6-25.6 25.6-15.36 0-25.6-10.24-25.6-25.6v-61.44c-5.12-10.24 10.24-25.6 25.6-25.6zm220.16 0c15.36 0 25.6 10.24 25.6 25.6v61.44c0 15.36-10.24 25.6-25.6 25.6-15.36 0-25.6-10.24-25.6-25.6v-61.44c0-10.24 10.24-25.6 25.6-25.6z",fill:"#FFF"}),React.createElement("path",{d:"M916.48 527.36c56.32 0 107.52 71.68 107.52 153.6 0 87.04-61.44 153.6-117.76 153.6 0 0 51.2-76.8 51.2-158.72s-40.96-148.48-40.96-148.48zm-808.96 5.12-5.12 5.12c-10.24 20.48-35.84 76.8-35.84 138.24 0 76.8 35.84 138.24 51.2 158.72C61.44 834.56 0 768 0 680.96c0-81.92 51.2-148.48 107.52-148.48z",fill:"#8187FF"}),React.createElement("path",{d:"M512 0c20.48 0 30.72 15.36 30.72 30.72v220.16c0 20.48-15.36 30.72-30.72 30.72s-30.72-10.24-30.72-30.72V30.72C481.28 15.36 496.64 0 512 0z",fill:"#701CDC"}),React.createElement("path",{d:"M384 46.08c20.48 0 30.72 15.36 30.72 30.72v133.12c0 20.48-15.36 30.72-30.72 30.72s-35.84-15.36-35.84-30.72V76.8c0-20.48 15.36-30.72 35.84-30.72z",fill:"#371CDC"}),React.createElement("path",{d:"M645.12 46.08c20.48 0 30.72 15.36 30.72 30.72v133.12c0 20.48-15.36 30.72-30.72 30.72s-30.72-15.36-30.72-30.72V76.8c0-20.48 15.36-30.72 30.72-30.72z",fill:"#AB2FF0"}),React.createElement("path",{d:"M250.88 87.04c20.48 0 30.72 15.36 30.72 30.72v46.08c0 20.48-15.36 30.72-30.72 30.72s-35.84-10.24-35.84-30.72v-40.96c0-20.48 15.36-35.84 35.84-35.84z",fill:"#6D57F2"}),React.createElement("path",{d:"M778.24 87.04c20.48 0 30.72 15.36 30.72 30.72v46.08c0 20.48-15.36 30.72-30.72 30.72s-30.72-15.36-30.72-30.72v-40.96c0-20.48 15.36-35.84 30.72-35.84z",fill:"#C86FFA"}));var Lt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik01MTIgMzI3LjY4YzI0NS43NiAwIDQ0NS40NCAxNTMuNiA0NDUuNDQgMzQ4LjE2Qzk1Ny40NCA4NzAuNCA3NTcuNzYgMTAyNCA1MTIgMTAyNGMtMjQ1Ljc2LTUuMTItNDQ1LjQ0LTE1My42LTQ0NS40NC0zNDguMTYgMC0xOTQuNTYgMTk5LjY4LTM0OC4xNiA0NDUuNDQtMzQ4LjE2eiIgZmlsbD0iI0RCRENGRiIvPjxwYXRoIGQ9Ik02NDUuMTIgOTQ3LjJjMTE3Ljc2LTEwLjI0IDE1OC43Mi0xNDMuMzYgMTYzLjg0LTI2Ni4yNCAwLTEyOC0xMjgtMTc0LjA4LTI5MS44NC0xNzQuMDgtMTYzLjg0IDAtMjkxLjg0IDQ2LjA4LTI5MS44NCAxNzQuMDggMCAxMTIuNjQgMzUuODQgMjQwLjY0IDE0My4zNiAyNjEuMTIgMzAuNzIgNS4xMiAyNjEuMTIgMTAuMjQgMjc2LjQ4IDUuMTJ6IiBmaWxsPSIjMTExQUNDIi8+PHBhdGggZD0iTTQwNC40OCA2ODYuMDhjMTUuMzYgMCAyNS42IDEwLjI0IDI1LjYgMjUuNnY2MS40NGMwIDE1LjM2LTEwLjI0IDI1LjYtMjUuNiAyNS42LTE1LjM2IDAtMjUuNi0xMC4yNC0yNS42LTI1LjZ2LTYxLjQ0Yy01LjEyLTEwLjI0IDEwLjI0LTI1LjYgMjUuNi0yNS42em0yMjAuMTYgMGMxNS4zNiAwIDI1LjYgMTAuMjQgMjUuNiAyNS42djYxLjQ0YzAgMTUuMzYtMTAuMjQgMjUuNi0yNS42IDI1LjYtMTUuMzYgMC0yNS42LTEwLjI0LTI1LjYtMjUuNnYtNjEuNDRjMC0xMC4yNCAxMC4yNC0yNS42IDI1LjYtMjUuNnoiIGZpbGw9IiNGRkYiLz48cGF0aCBkPSJNOTE2LjQ4IDUyNy4zNmM1Ni4zMiAwIDEwNy41MiA3MS42OCAxMDcuNTIgMTUzLjYgMCA4Ny4wNC02MS40NCAxNTMuNi0xMTcuNzYgMTUzLjYgMCAwIDUxLjItNzYuOCA1MS4yLTE1OC43MnMtNDAuOTYtMTQ4LjQ4LTQwLjk2LTE0OC40OHptLTgwOC45NiA1LjEyLTUuMTIgNS4xMmMtMTAuMjQgMjAuNDgtMzUuODQgNzYuOC0zNS44NCAxMzguMjQgMCA3Ni44IDM1Ljg0IDEzOC4yNCA1MS4yIDE1OC43MkM2MS40NCA4MzQuNTYgMCA3NjggMCA2ODAuOTZjMC04MS45MiA1MS4yLTE0OC40OCAxMDcuNTItMTQ4LjQ4eiIgZmlsbD0iIzgxODdGRiIvPjxwYXRoIGQ9Ik01MTIgMGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjIyMC4xNmMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zMC43Mi0xMC4yNC0zMC43Mi0zMC43MlYzMC43MkM0ODEuMjggMTUuMzYgNDk2LjY0IDAgNTEyIDB6IiBmaWxsPSIjNzAxQ0RDIi8+PHBhdGggZD0iTTM4NCA0Ni4wOGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjEzMy4xMmMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zNS44NC0xNS4zNi0zNS44NC0zMC43MlY3Ni44YzAtMjAuNDggMTUuMzYtMzAuNzIgMzUuODQtMzAuNzJ6IiBmaWxsPSIjMzcxQ0RDIi8+PHBhdGggZD0iTTY0NS4xMiA0Ni4wOGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjEzMy4xMmMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zMC43Mi0xNS4zNi0zMC43Mi0zMC43MlY3Ni44YzAtMjAuNDggMTUuMzYtMzAuNzIgMzAuNzItMzAuNzJ6IiBmaWxsPSIjQUIyRkYwIi8+PHBhdGggZD0iTTI1MC44OCA4Ny4wNGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjQ2LjA4YzAgMjAuNDgtMTUuMzYgMzAuNzItMzAuNzIgMzAuNzJzLTM1Ljg0LTEwLjI0LTM1Ljg0LTMwLjcydi00MC45NmMwLTIwLjQ4IDE1LjM2LTM1Ljg0IDM1Ljg0LTM1Ljg0eiIgZmlsbD0iIzZENTdGMiIvPjxwYXRoIGQ9Ik03NzguMjQgODcuMDRjMjAuNDggMCAzMC43MiAxNS4zNiAzMC43MiAzMC43MnY0Ni4wOGMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zMC43Mi0xNS4zNi0zMC43Mi0zMC43MnYtNDAuOTZjMC0yMC40OCAxNS4zNi0zNS44NCAzMC43Mi0zNS44NHoiIGZpbGw9IiNDODZGRkEiLz48L3N2Zz4=",Rt=ae(48530),Ct=ae(95097),st=ae(30214),$t=ae(77254),Vt=ae(27183),bn=ae(2524);const an=({shixunHomeworks:tr,classroomList:Un,items:cr,dispatch:Bi})=>{var zn;const{shixunWorkReport:gn}=tr,$n=(0,x.useRef)(null),[nr,pr]=(0,x.useState)(!1),[Zr,Ni]=(0,x.useState)(!1);(0,x.useEffect)(()=>{if($n.current)return $n.current.addEventListener("mousedown",fi),()=>{var Li;(Li=$n.current)==null||Li.removeEventListener("mousedown",fi)}},[$n.current]),(0,x.useEffect)(()=>{setTimeout(()=>{$n.current&&$n.current.clientHeight>=500&&pr(!0)},500)},[(zn=gn==null?void 0:gn.student_work_test_result_info)==null?void 0:zn.content,$n.current]);function fi(Li){const vi=(Si,wi)=>{if(Si.localName===wi)return Si;for(let Ti=0,eo=Si;eo=eo.parentNode;Ti++){if(eo.localName===wi)return eo;if(eo==document.documentElement)return!1}},Ei=Li.target,yi=vi(Ei,"a");if(console.log([yi],yi==null?void 0:yi.href,44),!(yi!=null&&yi.href)&&Ei.tagName.toUpperCase()==="IMG"){let Si=Ei.src||Ei.getAttribute("src");Si&&Si.indexOf("/images/avatars/User")===-1&&(Li.stopPropagation(),Li.preventDefault(),$t.Z.publish("preview-image",Si))}}return x.createElement("div",null,(gn==null?void 0:gn.is_open_submit_test_result)&&x.createElement(x.Fragment,null,x.createElement(st.Z,null),x.createElement("strong",{className:"c-black font14"},"\u63D0\u4EA4\u5B9E\u9A8C\u7ED3\u679C"),cr?x.createElement("div",{style:{marginTop:10},className:""},x.createElement("div",{className:"py-20px px-36px",style:{background:"#F6F7F9"}},x.createElement("div",{ref:$n,style:{maxHeight:!Zr&&"500px",overflow:"hidden"}},x.createElement(Ct.Z,{value:cr==null?void 0:cr.content})),nr&&x.createElement("div",{className:"w-full current",onClick:()=>{Ni(!Zr)}},x.createElement(we.Z,{variant:"dashed",style:{borderColor:"#3061D0",marginBottom:"0px"},dashed:!0},x.createElement("span",{style:{color:"#3061D0"}},Zr?"\u6536\u8D77":"\u5C55\u5F00")))),x.createElement(Vt.Z,{className:"px-36px",showDimensions:!1,dataSource:cr==null?void 0:cr.test_result_files,callback:()=>{}})):x.createElement(bn.Z,{customText:"\u5B66\u751F\u672A\u63D0\u4EA4\u5B9E\u9A8C\u7ED3\u679C"})))};var en=(0,Ue.connect)(({shixunHomeworks:tr,loading:Un,globalSetting:cr,classroomList:Bi})=>({shixunHomeworks:tr,globalSetting:cr,loading:Un.effects,classroomList:Bi}))(an),Hn=Object.defineProperty,En=Object.defineProperties,Mt=Object.getOwnPropertyDescriptors,sn=Object.getOwnPropertySymbols,Dn=Object.prototype.hasOwnProperty,Wn=Object.prototype.propertyIsEnumerable,It=(tr,Un,cr)=>Un in tr?Hn(tr,Un,{enumerable:!0,configurable:!0,writable:!0,value:cr}):tr[Un]=cr,Wt=(tr,Un)=>{for(var cr in Un||(Un={}))Dn.call(Un,cr)&&It(tr,cr,Un[cr]);if(sn)for(var cr of sn(Un))Wn.call(Un,cr)&&It(tr,cr,Un[cr]);return tr},rn=(tr,Un)=>En(tr,Mt(Un)),mn=(tr,Un,cr)=>new Promise((Bi,zn)=>{var gn=pr=>{try{nr(cr.next(pr))}catch(Zr){zn(Zr)}},$n=pr=>{try{nr(cr.throw(pr))}catch(Zr){zn(Zr)}},nr=pr=>pr.done?Bi(pr.value):Promise.resolve(pr.value).then(gn,$n);nr((cr=cr.apply(tr,Un)).next())});const Xn=({shixunHomeworks:tr,autoHeight:Un,classroomList:cr,dispatch:Bi})=>{var zn,gn,$n,nr,pr,Zr,Ni,fi;const{shixunWorkReport:Li}=tr,{stage_list:vi,work_id:Ei,ai_code_evaluation_promote:yi}=Li,[Si,wi]=(0,x.useState)(!1),[Ti,eo]=(0,x.useState)(!0),[vo,Yi]=(0,x.useState)({left:0,top:0,bottom:0,right:0}),Do=(0,x.useRef)(null),[ki,ko]=(0,x.useState)(!1),[Ao,Xo]=(0,x.useState)(""),Co=(0,x.useRef)(null),to=(yr,ni)=>{var co;const{clientWidth:Jo,clientHeight:fo}=window.document.documentElement,ta=(co=Do.current)==null?void 0:co.getBoundingClientRect();ta&&Yi({left:-ta.left+ni.x,right:Jo-(ta.right-ni.x),top:-ta.top+ni.y,bottom:fo-(ta.bottom-ni.y)})},xo=(0,Ue.useParams)(),$o=(0,it.GJ)(),_n={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,x.useEffect)(()=>{console.log(xo)},[]);const No=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(yr,ni,co)=>x.createElement("div",null,yr,ni.is_work_end_evaluate&&x.createElement(ft.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:yr=>Le()(yr).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(yr,ni)=>x.createElement("span",{className:"c-blue current",onClick:()=>mn(void 0,null,function*(){var co,Jo;const fo=yield(0,ie.Lk)(ni.game_identifier,{path:(Jo=(co=ni.path)==null?void 0:co.replace(/\/g,";"))==null?void 0:Jo.split(";")[0],query_index:ni.query_index,homework_common_id:xo.categoryId});(fo==null?void 0:fo.status)===0&&(ko(fo),wi(!0))})},ni.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],Vi=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(yr,ni)=>{var co;return x.createElement("span",null,x.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:lt.Z.IMG_SERVER+"/images/"+((co=ni==null?void 0:ni.user)==null?void 0:co.image_url)}),yr)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:yr=>x.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",yr,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:yr=>x.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",yr,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:yr=>x.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",yr?Le()(yr).format("YYYY-MM-DD HH:mm"):"--")}];function Ur(yr,ni){return mn(this,null,function*(){const{challenge_id:co}=vi[yr],Jo=yield Bi({type:"shixunHomeworks/changeScore",payload:{categoryId:xo.homeworkId,type:"report",score:ni,challenge_id:co}});yield Bi({type:"shixunHomeworks/getShixunWorkReport",payload:Wt({},xo)}),Jo.status===0&&Ce.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function qr(yr,ni){return(0,Se.U2)(`student_works/${Ei}/rep_passed_content.json`,{path:ni,game_id:yr})}const[ti,Wr]=(0,x.useState)((zn=Li==null?void 0:Li.shixun_detail)==null?void 0:zn.map(yr=>rn(Wt({},yr),{commentEdit:!1}))),Ri=yr=>yr.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,zr]=(0,x.useState)(!1),oi=(yr,ni)=>mn(void 0,null,function*(){var co,Jo;zr(!0),Co.current=new Rt.Z(lt.Z.API_SERVER+"/api/stream/intelligent_imports/chat_messages.json",{response_mode:"streaming",model:"qwen-plus-latest",scene_awareness:!1,thinking_enabled:!1,image_generator:!1,file_ids:[],history:[],prompt:yi,shixun_id:Li==null?void 0:Li.myshixun_identifier,game_id:yr==null?void 0:yr.id,source:"shixun",is_chat:!1,type:9,description:yr==null?void 0:yr.challenge_description,query:(Jo=(co=yr==null?void 0:yr.game_codes)==null?void 0:co[0])==null?void 0:Jo.content,homework_common_id:xo.categoryId}),yield new Promise((fo,ta)=>{Co.current.on("data",Go=>{const va=[...ti];va[ni].comment=Ri(Go==null?void 0:Go.full),Wr(va)}),Co.current.on("done",()=>mn(void 0,null,function*(){var Go;zr(!1);const va=[...ti],Vo=yield(0,Se.ZP)(`/api/student_works/${xo==null?void 0:xo.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:yr==null?void 0:yr.challenge_id,comment:va[ni].comment}});if((Vo==null?void 0:Vo.status)==0){Ce.ZP.success("\u8BC4\u4EF7\u6210\u529F");const oa=[...ti];oa[ni].comment_updated_at=(Go=Vo==null?void 0:Vo.data)==null?void 0:Go.comment_updated_at,Wr(oa)}})),Co.current.startStream()})});return x.createElement(x.Fragment,null,ti==null?void 0:ti.map(function(yr,ni){var co,Jo;return x.createElement("div",{key:ni},x.createElement("aside",{className:"pl30 pr30",key:ni},x.createElement("div",{className:`${je.shixunTitle} mt10`},x.createElement("div",null,x.createElement("span",{className:"fa fa-code "}),x.createElement("strong",{className:"c-black"},"\u7B2C",ni+1,"\u5173 ",x.createElement(Ue.Link,{className:"c-black",target:"_blank",to:`/tasks/${xo.coursesId}/${xo.categoryId}/${yr.game_identifier}`},yr.subject))),$o?x.createElement("span",null,"\u8C03\u5206\uFF1A",x.createElement(yt,{className:"game-score",max:vi[ni].game_score_full,defaultValue:vi[ni].game_score,onBlur:fo=>{var ta;if((0,it.Rm)()&&!((ta=cr.AssistantObject.practice)!=null&&ta.can_appraise)){Ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ur(ni,fo)}})):null),x.createElement("div",{className:"font16 mt10"},yr.st===0&&(yr.path?typeof(yr==null?void 0:yr.game_codes_cn)=="string"?x.createElement("aside",{className:je.shixunWrp},x.createElement(ge,{game_codes_cn:yr==null?void 0:yr.game_codes_cn,autoHeight:Un,path:yr.path,game_id:yr.id,data:yr.game_codes,diff_code_count:yr.diff_code_count,onPathChange:qr})):x.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),yr.st===1&&(yr.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),x.createElement("aside",{className:"mt10 font16"},(co=yr.outputs)!=null&&co.length?x.createElement(Ee.default,{columns:No,pagination:{hideOnSinglePage:!0},dataSource:yr.outputs.map(fo=>Wt(Wt({},yr),fo))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),x.createElement(en,{items:yr==null?void 0:yr.student_work_test_result_info}),x.createElement("aside",{className:"mt10"},x.createElement("div",null,x.createElement("div",{style:{display:"flex",alignItems:"center"}},x.createElement("strong",{className:"c-black font14"},"\u4EE3\u7801\u8BC4\u4EF7"),!(yr!=null&&yr.commentEdit)&&!(0,it.dE)()&&(yr!=null&&yr.comment?x.createElement(x.Fragment,null,x.createElement("div",{style:{color:"#666666",fontSize:"12px",marginLeft:"auto"}},"\u6700\u65B0\u8BC4\u4EF7\u65F6\u95F4\uFF1A",yr!=null&&yr.comment_updated_at?Le()(yr==null?void 0:yr.comment_updated_at).format("YYYY-MM-DD HH:mm:ss"):"--"),x.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"40px",cursor:"pointer"},onClick:()=>mn(this,null,function*(){ro?Ce.ZP.warning("\u6B63\u5728\u751F\u6210\u8BC4\u8BBA\u4E2D\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002"):fe.default.confirm({title:"\u63D0\u793A",content:"\u786E\u8BA4\u662F\u5426\u91CD\u65B0\u751F\u6210\u8BC4\u8BBA\uFF1F",okText:"\u786E\u8BA4",icon:null,cancelText:"\u53D6\u6D88",onOk:()=>mn(this,null,function*(){oi(yr,ni)})})})},x.createElement("i",{className:"iconfont icon-zhongxinshengcheng1 mr8 font14"}),"\u91CD\u65B0\u751F\u6210")):x.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"auto",cursor:"pointer"},onClick:()=>mn(this,null,function*(){ro?Ce.ZP.warning("\u6B63\u5728\u751F\u6210\u8BC4\u8BBA\u4E2D\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002"):oi(yr,ni)})},x.createElement("img",{src:Lt,className:"mr8"}),"\u4E00\u952EAI\u751F\u6210")),!(yr!=null&&yr.commentEdit)&&!(0,it.dE)()&&x.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"20px",cursor:"pointer"},onClick:()=>{const fo=[...ti];fo[ni].commentEdit=!0,Wr(fo),Xo(yr==null?void 0:yr.comment)}},x.createElement("i",{className:"iconfont icon-bianji-moren mr8 font14"}),"\u7F16\u8F91"),(yr==null?void 0:yr.commentEdit)&&x.createElement(x.Fragment,null,x.createElement("div",{className:je.pj_close,onClick:()=>{const fo=[...ti];fo[ni].commentEdit=!1,Wr(fo)}},"\u53D6\u6D88"),x.createElement("div",{className:je.pj_save,onClick:()=>mn(this,null,function*(){var fo;const ta=yield(0,Se.ZP)(`/api/student_works/${xo==null?void 0:xo.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:yr==null?void 0:yr.challenge_id,comment:Ao}});if((ta==null?void 0:ta.status)==0){Ce.ZP.success("\u8BC4\u4EF7\u6210\u529F");const Go=[...ti];Go[ni].commentEdit=!1,Go[ni].comment=Ao,Go[ni].comment_updated_at=(fo=ta==null?void 0:ta.data)==null?void 0:fo.comment_updated_at,Wr(Go)}})},"\u4FDD\u5B58"))),!(yr!=null&&yr.commentEdit)&&x.createElement("div",{className:je.pingjia},yr!=null&&yr.comment?x.createElement(Ct.Z,{value:yr==null?void 0:yr.comment,style:{fontSize:"14px"}}):"\u6682\u65E0\u8BC4\u4EF7~"),(yr==null?void 0:yr.commentEdit)&&x.createElement(xe.default.TextArea,{defaultValue:Ao,style:{borderRadius:"5px",marginTop:"10px"},rows:5,onChange:fo=>Xo(fo.target.value)}))),x.createElement("aside",{className:"mt10 font16"},((Jo=yr==null?void 0:yr.adjust_review_score_list)==null?void 0:Jo.length)>0&&(0,it.GJ)()&&x.createElement("div",null,x.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),x.createElement(Ee.default,{columns:Vi,pagination:{hideOnSinglePage:!0},dataSource:yr.adjust_review_score_list,showHeader:!1})))))}),x.createElement(fe.default,{open:Si,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{ko({}),wi(!1)},onCancel:()=>{ko({}),wi(!1)},title:x.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{Ti&&eo(!1)},onMouseOut:()=>{eo(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:yr=>x.createElement(le(),{disabled:Ti,bounds:vo,nodeRef:Do,onStart:(ni,co)=>to(ni,co)},x.createElement("div",{ref:Do},yr))},x.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},x.createElement("div",{style:{display:"flex",alignItems:"center"}},((gn=ki==null?void 0:ki.data)==null?void 0:gn.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?x.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):x.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),x.createElement("div",{style:{color:(($n=ki==null?void 0:ki.data)==null?void 0:$n.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(nr=ki==null?void 0:ki.data)==null?void 0:nr.output_detail)),x.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},x.createElement("div",null,x.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),x.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Le()((pr=ki==null?void 0:ki.data)==null?void 0:pr.created_at).format("YYYY-MM-DD HH:mm:ss"))),x.createElement("div",null,x.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),x.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Zr=ki==null?void 0:ki.data)==null?void 0:Zr.ts_time,"s")),x.createElement("div",null,x.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),x.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Ni=ki==null?void 0:ki.data)==null?void 0:Ni.ts_mem,"mb")),x.createElement("div",null,x.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),x.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((fi=ki==null?void 0:ki.data)==null?void 0:fi.test_set_passed_rate)*100,"%")))),x.createElement(Ut.ZP,{height:500,autoHeight:Un,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((ki==null?void 0:ki.content)||""))),options:_n})))};var Fr=(0,Ue.connect)(({shixunHomeworks:tr,loading:Un,globalSetting:cr,classroomList:Bi})=>({shixunHomeworks:tr,globalSetting:cr,loading:Un.effects,classroomList:Bi}))(Xn),ri=ae(28284),Hr={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},Ir=ae(27185),er=ae(59301),vr=Object.defineProperty,Mr=Object.getOwnPropertySymbols,Yn=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,jn=(tr,Un,cr)=>Un in tr?vr(tr,Un,{enumerable:!0,configurable:!0,writable:!0,value:cr}):tr[Un]=cr,ur=(tr,Un)=>{for(var cr in Un||(Un={}))Yn.call(Un,cr)&&jn(tr,cr,Un[cr]);if(Mr)for(var cr of Mr(Un))sr.call(Un,cr)&&jn(tr,cr,Un[cr]);return tr},br=(tr,Un,cr)=>new Promise((Bi,zn)=>{var gn=pr=>{try{nr(cr.next(pr))}catch(Zr){zn(Zr)}},$n=pr=>{try{nr(cr.throw(pr))}catch(Zr){zn(Zr)}},nr=pr=>pr.done?Bi(pr.value):Promise.resolve(pr.value).then(gn,$n);nr((cr=cr.apply(tr,Un)).next())});const Xr=({shixunHomeworks:tr,dispatch:Un,classroomList:cr})=>{const{shixunWorkReport:Bi}=tr,zn=(0,Ue.useParams)(),[gn,$n]=(0,x.useState)(!1),[nr]=ri.default.useForm(),[pr,Zr]=fe.default.useModal(),[Ni,fi]=(0,x.useState)(!1),[Li,vi]=(0,x.useState)(!1);(0,x.useEffect)(()=>{var Si,wi,Ti,eo;tr.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&nr.setFieldsValue({comment:(wi=(Si=tr.actionTabs.selectArrs)==null?void 0:Si.data)==null?void 0:wi.work_comment,hidden_comment:(eo=(Ti=tr.actionTabs.selectArrs)==null?void 0:Ti.data)==null?void 0:eo.work_comment_hidden})},[tr.actionTabs.key]);const Ei=()=>br(void 0,null,function*(){const Si=nr.getFieldsValue();(yield(0,Se.ZP)(`/api/student_works/${zn.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Si.hidden_comment,comment:Si.comment}})).status===0&&(Ce.ZP.success("\u8BC4\u9605\u6210\u529F"),nr.resetFields(),Un({type:"shixunHomeworks/setActionTabs",payload:{}}),Un({type:"shixunHomeworks/getShixunWorkReport",payload:ur({},zn)}))}),yi=[{title:"\u5173\u5361",dataIndex:"name",render:(Si,wi,Ti)=>Ti+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Si,wi,Ti)=>er.createElement("div",null,Si,wi.complete_status===4&&er.createElement(ft.vA,{status:wi.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:Si=>Si?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(Si,wi)=>er.createElement("div",null,er.createElement("span",{style:{color:parseFloat(wi.game_score_full)!==parseFloat(Si)?"#E30000":"#53C41B"}},Si),"/",wi.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(Si,wi)=>(0,it.GJ)()?er.createElement(yt,{max:wi.game_score_full,defaultValue:parseFloat(Si),onBlur:Ti=>br(void 0,null,function*(){var eo,vo;if((0,it.Rm)()&&!((eo=cr.AssistantObject.practice)!=null&&eo.can_appraise)){Ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Yi=yield Un({type:"shixunHomeworks/changeScore",payload:{categoryId:zn.homeworkId,type:"report",score:Ti,challenge_id:wi.challenge_id}});(vo=tr==null?void 0:tr.actionTabs)==null||vo.fn(),yield Un({type:"shixunHomeworks/getShixunWorkReport",payload:ur({},zn)}),Yi.status===0&&Ce.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Si}];return er.createElement(er.Fragment,null,Zr,er.createElement(fe.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:tr.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>br(void 0,null,function*(){var Si;if((0,it.Rm)()&&!((Si=cr.AssistantObject.practice)!=null&&Si.can_appraise)){Ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const wi=nr.getFieldsValue();JSON.stringify(wi)==="{}"||wi.hidden_comment===""&&wi.comment===""?$n(!0):Ei()}),onCancel:()=>{Un({type:"shixunHomeworks/setActionTabs",payload:{}})}},er.createElement(ve.Z,{justify:"space-between",className:Hr.info},er.createElement(Me.Z,null,er.createElement("span",{className:`${Hr.label} ${Hr.greyText}`},"\u59D3\u540D"),er.createElement("span",{className:Hr.blackContent},Bi==null?void 0:Bi.username)),er.createElement(Me.Z,null,er.createElement("span",{className:`${Hr.label} ${Hr.greyText}`},"\u5B66\u53F7"),er.createElement("span",{className:Hr.blackContent},(Bi==null?void 0:Bi.student_id)||"--")),er.createElement(Me.Z,null,er.createElement("span",{className:`${Hr.label} ${Hr.greyText}`},"\u73ED\u7EA7"),er.createElement("span",{className:Hr.blackContent},(Bi==null?void 0:Bi.group_name)||"--")),er.createElement(Me.Z,null,er.createElement("span",{className:`${Hr.label} ${Hr.greyText}`},"\u5173\u5361\u5F97\u5206"),er.createElement("span",{className:Hr.orangeContent},(Bi==null?void 0:Bi.challenge_score)||"--")),er.createElement(Me.Z,null,er.createElement("span",{className:`${Hr.label} ${Hr.greyText}`},"\u6548\u7387\u5206"),er.createElement("span",{className:Hr.orangeContent},(Bi==null?void 0:Bi.eff_score)||"--")),er.createElement(Me.Z,null,er.createElement("span",{className:`${Hr.label} ${Hr.greyText}`},"\u8865\u4EA4\u6263\u5206"),er.createElement("span",{className:Hr.orangeContent},(Bi==null?void 0:Bi.late_penalty)||"--")),er.createElement(Me.Z,null,er.createElement("span",{className:`${Hr.label} ${Hr.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),er.createElement("span",{className:Hr.orangeContent},(Bi==null?void 0:Bi.work_score)||"--"))),er.createElement(ri.default,{form:nr,onChange:()=>{gn&&$n(!1)}},er.createElement(ve.Z,{wrap:!1,align:"middle",justify:"space-between"},er.createElement(Me.Z,null,er.createElement("div",{className:`${Hr.inputLabel} ${Hr.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),er.createElement(Me.Z,null,er.createElement(Ir.Z,{isShowComponent:(0,it.G5)(),ModalProps:{open:Ni,onCancel:()=>{fi(!1)}},onDataSelect:(Si,wi)=>br(void 0,[Si,wi],function*(Ti,{node:eo}){const vo=()=>{nr.setFieldsValue({comment:eo==null?void 0:eo.value}),fi(!1)};if(nr.getFieldValue("comment")){pr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:vo});return}vo()})},er.createElement(Ie.ZP,{style:{padding:0,height:"auto"},icon:er.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Si=>{fi(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),er.createElement(ri.default.Item,{name:"comment"},er.createElement(xe.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),er.createElement(ve.Z,{wrap:!1,align:"middle",justify:"space-between"},er.createElement(Me.Z,null,er.createElement("div",{className:`${Hr.inputLabel} ${Hr.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),er.createElement(Me.Z,null,er.createElement(Ir.Z,{isShowComponent:(0,it.G5)(),ModalProps:{open:Li,onCancel:()=>{vi(!1)}},onDataSelect:(Si,wi)=>br(void 0,[Si,wi],function*(Ti,{node:eo}){const vo=()=>{nr.setFieldsValue({hidden_comment:eo==null?void 0:eo.value}),vi(!1)};if(nr.getFieldValue("hidden_comment")){pr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:vo});return}vo()})},er.createElement(Ie.ZP,{style:{padding:0,height:"auto"},icon:er.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Si=>{vi(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),er.createElement(ri.default.Item,{name:"hidden_comment"},er.createElement(xe.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),gn&&er.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),er.createElement("div",{className:Hr.tableTitle},"\u5173\u5361\u6210\u7EE9"),er.createElement(Ee.default,{className:Hr.scoreTable,dataSource:Bi.stage_list,rowKey:"challenge_id",pagination:!1,columns:yi,scroll:{x:"max-content"}})))};var Yr=(0,Ue.connect)(({shixunHomeworks:tr,classroomList:Un})=>({shixunHomeworks:tr,classroomList:Un}))(Xr),pi=ae(52217),ci=ae(88761),Hi=ae(44164),mi=ae.n(Hi),no={wrap:"wrap___LZOi9",line:"line___oju0L"},Ki=ae(65078),Lr=({detailData:tr})=>{var Un;return x.createElement("div",{className:no.wrap},x.createElement(Ki.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,Ki.Uf)(tr),(tr==null?void 0:tr.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},x.createElement(Ki.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,Ki.Uf)(tr)}),!!((Un=tr==null?void 0:tr.photos)!=null&&Un.length)&&x.createElement(x.Fragment,null,x.createElement("div",{className:no.line}),x.createElement(Ki._s,{dataSource:tr==null?void 0:tr.photos,right:21,col:4,wrapWidth:1140}))))},gi=ae(84454),Xt=ae(59301),ln=Object.defineProperty,yn=Object.defineProperties,kt=Object.getOwnPropertyDescriptors,dn=Object.getOwnPropertySymbols,zt=Object.prototype.hasOwnProperty,hn=Object.prototype.propertyIsEnumerable,Pn=(tr,Un,cr)=>Un in tr?ln(tr,Un,{enumerable:!0,configurable:!0,writable:!0,value:cr}):tr[Un]=cr,_r=(tr,Un)=>{for(var cr in Un||(Un={}))zt.call(Un,cr)&&Pn(tr,cr,Un[cr]);if(dn)for(var cr of dn(Un))hn.call(Un,cr)&&Pn(tr,cr,Un[cr]);return tr},Jr=(tr,Un)=>yn(tr,kt(Un)),di=(tr,Un)=>{var cr={};for(var Bi in tr)zt.call(tr,Bi)&&Un.indexOf(Bi)<0&&(cr[Bi]=tr[Bi]);if(tr!=null&&dn)for(var Bi of dn(tr))Un.indexOf(Bi)<0&&hn.call(tr,Bi)&&(cr[Bi]=tr[Bi]);return cr},ir=(tr,Un,cr)=>new Promise((Bi,zn)=>{var gn=pr=>{try{nr(cr.next(pr))}catch(Zr){zn(Zr)}},$n=pr=>{try{nr(cr.throw(pr))}catch(Zr){zn(Zr)}},nr=pr=>pr.done?Bi(pr.value):Promise.resolve(pr.value).then(gn,$n);nr((cr=cr.apply(tr,Un)).next())});function Ar(tr){const Un=(zn,gn)=>{if(zn.localName===gn)return zn;for(let $n=0,nr=zn;nr=nr.parentNode;$n++){if(nr.localName===gn)return nr;if(nr==document.documentElement)return!1}},cr=tr.target,Bi=Un(cr,"a");if(console.log([Bi],Bi==null?void 0:Bi.href,44),!(Bi!=null&&Bi.href)&&cr.tagName.toUpperCase()==="IMG"){let zn=cr.src||cr.getAttribute("src");zn&&zn.indexOf("/images/avatars/User")===-1&&(tr.stopPropagation(),tr.preventDefault(),$t.Z.publish("preview-image",zn))}}const ar=tr=>{var Un=tr,{shixunHomeworks:cr,classroomList:Bi,globalSetting:zn,loading:gn,user:$n,dispatch:nr}=Un,pr=di(Un,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),Zr,Ni,fi,Li;const[vi,Ei]=(0,x.useState)(_r({},(0,Ue.useParams)())),yi=(0,Ue.useParams)(),[Si,wi]=(0,x.useState)({page:1,page_size:10}),Ti=(0,Ue.useLocation)(),[]=(0,x.useState)([]),[eo,vo]=(0,x.useState)(),Yi=(0,x.useRef)(),Do=(0,x.useRef)(),[ki,ko]=(0,x.useState)(!1),[Ao,Xo]=(0,x.useState)(!0),[Co,to]=(0,x.useState)(!1),[xo,$o]=(0,x.useState)(!1),{shixunWorkReport:_n}=cr,[No,Vi]=(0,x.useState)(),[Ur,qr]=(0,x.useState)([]),[ti,Wr]=(0,x.useState)(),[Ri,ro]=(0,x.useState)("all"),zr=(0,it.GJ)(),[oi,yr]=(0,x.useState)(new(He())),[ni,co]=(0,x.useState)(0),[Jo,fo]=(0,x.useState)(!1),[ta,Go]=(0,x.useState)(!1),[va,Vo]=(0,x.useState)(!1),[oa,da]=(0,x.useState)(""),[Wa,Ds]=(0,x.useState)(!1),[zs,is]=(0,x.useState)(!0),[us,Mo]=(0,x.useState)(0),mo=(0,x.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),Fa=(0,x.useRef)(),[hs,el]=(0,x.useState)(!1),[tl,nl]=(0,x.useState)(!1),hl=(0,x.useRef)(null),lu=()=>ir(void 0,null,function*(){($n.userInfo.is_teacher||$n.userInfo.admin)&&(Ds(!0),is(!1))});(0,x.useEffect)(()=>{var ji;(0,it.Rm)()&&Bi.AssistantObject.practice&&!((ji=Bi.AssistantObject.practice)!=null&&ji.can_view)&&Ue.history.replace("/403")},[(Zr=Bi.AssistantObject.practice)==null?void 0:Zr.can_view]),(0,x.useEffect)(()=>{lu(),console.log("\u6253\u5370\u7684------",_n),Fa.current=_n==null?void 0:_n.next_student_work_id,da(_n.repeat_minus_score)},[_n,$n]),(0,x.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",_n.work_score),Mo(_n.work_score)},[_n.work_score,oa]),(0,x.useEffect)(()=>(nr({type:"globalSetting/footerToggle",payload:!1}),()=>{nr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,x.useEffect)(()=>{if(hl.current)return hl.current.addEventListener("mousedown",Ar),()=>{var ji;(ji=hl.current)==null||ji.removeEventListener("mousedown",Ar)}},[hl.current]),(0,x.useEffect)(()=>{setTimeout(()=>{hl.current&&hl.current.clientHeight>=500&&nl(!0)},500)},[(Ni=_n==null?void 0:_n.student_work_test_result_info)==null?void 0:Ni.content,hl.current]),(0,x.useEffect)(()=>{var ji;if(_n){let ga=[];(ji=_n==null?void 0:_n.target_test_sets)==null||ji.map((Ta,iu)=>{var Pl;(Pl=Ta==null?void 0:Ta.targets)==null||Pl.map((ps,Cu)=>{var pl;ps.name=Ta==null?void 0:Ta.name,ps.total_target_score=Ta==null?void 0:Ta.total_target_score,ps.actual_target_score=Ta==null?void 0:Ta.actual_target_score,ps.rowSpan=Cu===0?(pl=Ta==null?void 0:Ta.targets)==null?void 0:pl.length:0,ps.order=iu+1,ga.push(ps)})}),Vi(ga),(0,it.Rm)()&&nr({type:"classroomList/getAssistantPermissions",payload:{course_id:vi.coursesId}})}},[_n]),(0,x.useEffect)(()=>{cr.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(_n==null?void 0:_n.students_count)>0&&!Ao&&setTimeout(()=>{pa("all")},800)},[_n==null?void 0:_n.homework_common_id,Ao]),(0,x.useEffect)(()=>{Ei(_r({},yi))},[Ti.pathname]);const Js=()=>{document.body.scrollIntoView()},Kl=ji=>{Si.page=ji,wi(_r({},Si)),Zl(Si,Ri)},Zl=(ji,ga)=>ir(void 0,null,function*(){to(!0);const Ta=yield(0,Se.ZP)(`/api/student_works/${vi==null?void 0:vi.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Jr(_r({},ji),{challenge_id:ga=="all"?null:ga})});(Ta==null?void 0:Ta.status)===0&&(qr(Ta==null?void 0:Ta.list),Wr(Ta==null?void 0:Ta.count)),to(!1)});function Lu(){return ir(this,null,function*(){mo.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const dl=()=>{document.querySelectorAll("canvas").forEach(ji=>{(!ji.clientWidth||!ji.clientHeight)&&ji.remove()})},FA=()=>{Yi.current.offsetHeight>62e3?$o(!1):$o(!0)},hA=ji=>ir(void 0,null,function*(){const ga=yield(0,ci.t1)({homeworkId:ji||vi.homeworkId});vo(ga==null?void 0:ga.data)}),pa=ji=>ir(void 0,null,function*(){var ga,Ta,iu,Pl;el(!0);let ps=0,Cu;Cu=fe.default.info({width:460,title:Xt.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",Xt.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:Xt.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",Xt.createElement("span",{className:"c-blue"},ps+1),"/",ji!=="all"?1:_n==null?void 0:_n.students_count,Xt.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:je.modal,onOk:()=>{}});const pl={margin:[0,0],filename:`${_n!=null&&_n.student_id&&(_n==null?void 0:_n.student_id)!="--"?_n==null?void 0:_n.student_id:""}${_n.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},Kc=oi.folder(_n==null?void 0:_n.shixun_name);function IA(xu){return ir(this,null,function*(){yield hA(xu||Fa.current);const aa=yield nr({type:"shixunHomeworks/getShixunWorkReport",payload:_r({homeworkId:xu||Fa.current},mo.current||{})});Fa.current=aa==null?void 0:aa.next_student_work_id,Js(),ps++,setTimeout(()=>ir(this,null,function*(){var Wu,dc,Mu,Ns;dl();const pA=Kc.folder(`${aa==null?void 0:aa.group_name}`).folder(`${aa!=null&&aa.student_id&&(aa==null?void 0:aa.student_id)!="--"?aa.student_id+"+":""}${aa==null?void 0:aa.username}`),_A=document.querySelector("#export-all").children;let bl=mi()();for(let Cl=0;Cl<_A.length;Cl++)yield bl.set(pl).from(_A[Cl]).toContainer().toCanvas().toPdf().get("pdf").then(rl=>ir(this,null,function*(){Cl<_A.length-1&&(yield rl.addPage())}));if(pA.file(`${aa!=null&&aa.student_id&&(aa==null?void 0:aa.student_id)!="--"?aa.student_id+"+":""}${aa==null?void 0:aa.username}.pdf`,bl.output("blob")),((Wu=aa==null?void 0:aa.shixun_detail)==null?void 0:Wu.length)>0&&((Mu=(dc=aa==null?void 0:aa.shixun_detail)==null?void 0:dc.filter(Cl=>{var rl;return((rl=Cl==null?void 0:Cl.game_codes)==null?void 0:rl.length)>0}))==null?void 0:Mu.length)>0){const Cl=pA.folder("\u4EE3\u7801\u6587\u4EF6");(Ns=aa==null?void 0:aa.shixun_detail)==null||Ns.map((rl,$l)=>{var Gl,Oc;if(((Gl=rl==null?void 0:rl.game_codes)==null?void 0:Gl.length)>0){const nd=Cl.folder(`\u7B2C${$l+1}\u5173-${rl.subject}-${rl.id}`);(Oc=rl==null?void 0:rl.game_codes)==null||Oc.map(_l=>{nd.file(`${_l.filename}.txt`,_l==null?void 0:_l.content)})}})}Cu.update({content:Xt.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",Xt.createElement("span",{className:"c-blue"},ps),"/",aa==null?void 0:aa.students_count,Xt.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),ps==(aa==null?void 0:aa.students_count)?(Cu.destroy(),Ia()):IA()}),2200)})}if(ji!=="all"||(_n==null?void 0:_n.students_count)<2){dl(),Js();const xu=Do.current.children;let aa=mi()();const dc=Kc.folder(`${_n==null?void 0:_n.group_name}`).folder(`${_n!=null&&_n.student_id&&(_n==null?void 0:_n.student_id)!="--"?(_n==null?void 0:_n.student_id)+"+":""}${_n==null?void 0:_n.username}`);for(let Mu=0;Mu<xu.length;Mu++)yield aa.set(pl).from(xu[Mu]).toContainer().toCanvas().toPdf().get("pdf").then(Ns=>ir(void 0,null,function*(){Mu<xu.length-1&&(yield Ns.addPage())}));if(ko(!1),dc.file(`${_n!=null&&_n.student_id&&(_n==null?void 0:_n.student_id)!="--"?(_n==null?void 0:_n.student_id)+"+":""}${_n.username}.pdf`,aa.output("blob"),{base64:!1}),((ga=_n==null?void 0:_n.shixun_detail)==null?void 0:ga.length)>0&&((iu=(Ta=_n==null?void 0:_n.shixun_detail)==null?void 0:Ta.filter(Mu=>{var Ns;return((Ns=Mu==null?void 0:Mu.game_codes)==null?void 0:Ns.length)>0}))==null?void 0:iu.length)>0){const Mu=dc.folder("\u4EE3\u7801\u6587\u4EF6");(Pl=_n==null?void 0:_n.shixun_detail)==null||Pl.map((Ns,eA)=>{var pA,_A;if(((pA=Ns==null?void 0:Ns.game_codes)==null?void 0:pA.length)>0){const bl=Mu.folder(`\u7B2C${eA+1}\u5173-${Ns.subject}-${Ns.id}`);(_A=Ns==null?void 0:Ns.game_codes)==null||_A.map(Cl=>{bl.file(`${Cl.filename}.txt`,Cl==null?void 0:Cl.content)})}})}Cu.destroy(),Ia();return}else IA(_n==null?void 0:_n.first_student_work_id)}),Ia=()=>{oi.generateAsync({type:"blob"}).then(function(ji){console.log(_n,"shixunWorkReport");const ga=document.createElement("a");ga.href=window.URL.createObjectURL(ji),ga.download=(_n==null?void 0:_n.shixun_name)+".zip",document.body.appendChild(ga);const Ta=document.createEvent("MouseEvents");Ta.initEvent("click",!1,!1),ga.dispatchEvent(Ta),document.body.removeChild(ga),yr(new(He()))}),$o(!1)};(0,x.useEffect)(()=>{ma()},[vi.homeworkId]);const ma=()=>ir(void 0,null,function*(){Xo(!0),yield nr({type:"shixunHomeworks/getShixunWorkReport",payload:_r(_r({},vi),mo.current||{})}),hA(),(0,it.GJ)()&&Lu(),Xo(!1)}),Ca=[{title:"\u5173\u5361",dataIndex:"name",render:(ji,ga,Ta)=>Ta+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(ji,ga,Ta)=>Xt.createElement("div",null,ji,ga.complete_status===4&&Xt.createElement(ft.vA,{status:ga.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(ji,ga,Ta)=>ji||"- -"},{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:ji=>ji?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(ji,ga)=>Xt.createElement("div",null,Xt.createElement("span",{style:{color:parseFloat(ga.myself_experience)!==parseFloat(ji)?"red":"green"}},ga.myself_experience),"/",ji)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(ji,ga)=>Xt.createElement("div",null,Xt.createElement("span",{style:{color:parseFloat(ga.game_score_full)!==parseFloat(ji)?"red":"green"}},ji),"/",ga.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(ji,ga)=>zr?Xt.createElement(yt,{max:ga.game_score_full,defaultValue:parseFloat(ji),onBlur:Ta=>ir(void 0,null,function*(){var iu;if((0,it.Rm)()&&!((iu=Bi.AssistantObject.practice)!=null&&iu.can_appraise)){Ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Pl=yield nr({type:"shixunHomeworks/changeScore",payload:{categoryId:vi.homeworkId,type:"report",score:Ta,challenge_id:ga.challenge_id}});Zl({page:1,page_size:10},"all"),yield nr({type:"shixunHomeworks/getShixunWorkReport",payload:_r(_r({},vi),mo.current||{})}),Pl.status===0&&Ce.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):ji}];let qa=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(ji,ga,Ta)=>({children:ji,props:{rowSpan:ga.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(ji,ga,Ta)=>({children:ji,props:{rowSpan:ga.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:(ji,ga,Ta)=>Xt.createElement("div",null,Xt.createElement("span",{style:{color:parseFloat(ga.actual_test_score)!==parseFloat(ji)?"red":"green"}},ga.actual_test_score),"/",ji)},{title:"\u6307\u6807\u603B\u5206",render:(ji,ga,Ta)=>({children:Xt.createElement("div",null,Xt.createElement("span",{style:{color:parseFloat(ga.actual_target_score)!==parseFloat(ji)?"red":"green"}},ga.actual_target_score),"/",ji),props:{rowSpan:ga.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const Xa=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:ji=>Xt.createElement("span",null,ji?Le()(ji).format("YYYY-MM-DD HH:mm"):"--")}],Ha=ji=>{nr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{ji==="next"?Ue.history.push(`/classrooms/${vi.coursesId}/shixun_homework/${vi.categoryId}/${_n==null?void 0:_n.next_student_work_id}/comment`):Ue.history.push(`/classrooms/${vi.coursesId}/shixun_homework/${vi.categoryId}/${_n==null?void 0:_n.pre_student_work_id}/comment`)},200)},Wl=ji=>{da(""),ji.target.value&&(console.log("\u8FDB\u6765",_n),ji.target.value=ji.target.value>_n.repeat_setting_score?_n.repeat_setting_score:ji.target.value,da(ji.target.value))},uu=()=>ir(void 0,null,function*(){const ji=yield(0,Se.ZP)(`/api/student_works/${_n==null?void 0:_n.work_id}/update_repeat_score`,{method:"put",body:{score:oa}});yield nr({type:"shixunHomeworks/getShixunWorkReport",payload:_r(_r({},vi),mo.current||{})}),ji.status===0&&Ce.ZP.info("\u64CD\u4F5C\u6210\u529F")});return Xt.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},Xt.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},Xt.createElement(oe.Z,{loading:gn["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},Xt.createElement("div",{className:"edu-container"},_n.course_id&&Xt.createElement("section",{className:"animated fadeIn"},Xt.createElement("aside",{className:""},_n.category&&Xt.createElement(Oe.Z,{separator:">"},Xt.createElement(Oe.Z.Item,null,Xt.createElement(Ue.Link,{to:`/classrooms/${_n.course_id}/shixun_homework`},_n.course_name)),Xt.createElement(Oe.Z.Item,null,Xt.createElement(Ue.Link,{to:`/classrooms/${_n.course_id}/shixun_homework/${_n.category.main?"":_n.category.category_id}`},_n.category.category_name)),Xt.createElement(Oe.Z.Item,null,Xt.createElement(Ue.Link,{to:`/classrooms/${_n.course_id}/shixun_homework/${_n.homework_common_id}/detail${(0,it.dE)()?"?tabs=1":""}`},"\u4F5C\u4E1A\u8BE6\u60C5")),Xt.createElement(Oe.Z.Item,null,_n.username))),Xt.createElement("aside",{className:[je.title1,"mt20"].join(" ")},Xt.createElement(ve.Z,{align:"middle"},Xt.createElement(Me.Z,{flex:1},Xt.createElement(Ue.Link,{to:`/classrooms/${_n.course_id}/shixun_homework/${_n.homework_common_id}/detail`},Xt.createElement(Qe.Z,{className:"font16 c-black"})),Xt.createElement("strong",{className:"font20 ml5"},_n==null?void 0:_n.homework_name),Xt.createElement(ft.VV,{temporary:!0,status:_n.homework_status})),Xt.createElement(Me.Z,{className:je.title1_right},_n.view_tpi&&Xt.createElement(Ie.ZP,{onClick:()=>{var ji,ga;(0,ft.xg)(`/tasks/${_n==null?void 0:_n.course_id}/${_n==null?void 0:_n.homework_common_id}/${(ga=(ji=_n==null?void 0:_n.shixun_detail)==null?void 0:ji[0])==null?void 0:ga.game_identifier}`)}},Xt.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,it.GJ)()&&_n.homework_end===!1&&!!_n.myshixun_id&&Xt.createElement(Ie.ZP,{className:"ml10",onClick:()=>ir(void 0,null,function*(){yield nr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:_n.myshixun_identifier},homework_common_id:yi.categoryId}})})},Xt.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),Xt.createElement(Ie.ZP,{className:"ml10",onClick:()=>{var ji;if(!(!(_n!=null&&_n.is_old_data_for_time)&&(0,ft.Ye)(nr))){if((0,it.Rm)()&&!((ji=Bi.AssistantObject.practice)!=null&&ji.can_download)){Ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}pa("")}},loading:ki},Xt.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,it.GJ)()&&(_n==null?void 0:_n.students_count)>1&&Xt.createElement(Ie.ZP,{className:"ml10",onClick:()=>{var ji;if(!(!(_n!=null&&_n.is_old_data_for_time)&&(0,ft.Ye)(nr))){if((0,it.Rm)()&&!((ji=Bi.AssistantObject.practice)!=null&&ji.can_download)){Ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}fe.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:Xt.createElement(_e.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:Xt.createElement(_e.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{pa("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,gi.jj)({categoryId:vi.categoryId,coursesId:vi.coursesId},"shixun_report")}}})}}},Xt.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"))))),Xt.createElement("aside",{className:"mt30 relative"})),Xt.createElement("aside",{className:"edu-container bg-white",ref:Yi},Xt.createElement("div",{id:"export-all",ref:Do},Xt.createElement("div",{id:"export-all-1"},Xt.createElement("div",{className:je.title},Xt.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),Xt.createElement("div",null,(0,it.GJ)()&&Xt.createElement(Ie.ZP,{className:"mr20",type:"primary",onClick:()=>{nr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:_n.user_id,data:_r({},_n)},fn:()=>Zl({page:1,page_size:10},"all")}})}},Xt.createElement(Re.Z,null),_n.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),Xt.createElement(we.Z,{style:{marginTop:0}}),Xt.createElement(ve.Z,{className:"pl30 pr30"},Xt.createElement(Me.Z,null,Xt.createElement("img",{className:je.userPic,src:`${lt.Z.IMG_SERVER}/images/${_n.image_url}`,alt:_n.username})),Xt.createElement(Me.Z,null,Xt.createElement("span",{className:"font16 ml40"},_n.username),Xt.createElement(ft.vA,{status:_n.compelete_status}),Xt.createElement("ul",{className:je.userInfo},Xt.createElement("li",null,"\u5B66\u53F7\uFF1A",_n.student_id||"--"),Xt.createElement("li",null,"\u5206\u73ED\uFF1A",_n.group_name||"--"),Xt.createElement("br",null),Xt.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",Xt.createElement("span",{className:"c-red"},_n.complete_count),"/",Xt.createElement("span",{className:"c-red"},_n.challenges_count)),Xt.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",Xt.createElement("span",{className:"c-red"},_n.current_complete_count||"-"),"/",Xt.createElement("span",{className:"c-red"},_n.challenges_count)),Xt.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",_n&&_n.efficiency===null?"--":_n&&_n.efficiency),Xt.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",_n&&_n.max_efficiency===null?"--":_n&&_n.max_efficiency))),Xt.createElement("ul",{className:[je.listItem,"mt10"].join(" ")},Xt.createElement("li",null,Xt.createElement("strong",null,"\u901A\u5173\u65F6\u95F4"),Xt.createElement("div",{className:"c-light-black mt20"},_n&&_n.passed_time===null||_n&&_n.passed_time==="--"?"--":Le()(_n&&_n.passed_time).format("YYYY-MM-DD HH:mm"))),Xt.createElement("li",null,Xt.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",Xt.createElement("i",{onClick:ji=>{ji.stopPropagation(),ji.preventDefault(),fo(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),Xt.createElement("div",{className:"c-light-black mt20"},_n==null?void 0:_n.human_training_time_rules)),Xt.createElement("li",null,Xt.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",Xt.createElement("i",{onClick:ji=>{ji.stopPropagation(),ji.preventDefault(),Go(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),Xt.createElement("div",{className:"c-light-black mt20"},_n.time_consuming)),Xt.createElement("li",null,Xt.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),Xt.createElement("div",{className:"mt20"},_n.evaluate_count)),(_n==null?void 0:_n.eff_score_full)&&Xt.createElement(Xt.Fragment,null,Xt.createElement("li",null,Xt.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),Xt.createElement("div",{className:"mt20"},Xt.createElement("span",{className:"c-orange"},_n.challenge_score),"/",Xt.createElement("span",{className:"c-light-black"},_n.challenge_score_full))),Xt.createElement("li",null,Xt.createElement("strong",null,"\u6548\u7387\u5206"),Xt.createElement("div",{className:"mt20"},Xt.createElement("span",{className:"c-orange"},_n.eff_score),"/",Xt.createElement("span",{className:"c-light-black"},_n.eff_score_full)))),(_n==null?void 0:_n.have_repeat)&&(_n==null?void 0:_n.repeat_minus_score)!==0&&Xt.createElement("li",{style:{position:"relative"}},Xt.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},Xt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),Xt.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},_n!=null&&_n.review_rate?Xt.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(_n!=null&&_n.review_id&&Wa)localStorage.setItem("studentDetial",window.location.pathname),Ue.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${vi.categoryId}/review_detail/${_n==null?void 0:_n.review_id}`});else return}},_n.review_rate.toFixed(1),"%"):Xt.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -"))),Wa?Xt.createElement("div",{className:"mt20"},Xt.createElement(xe.default,{style:{width:"45px",height:"22px"},value:oa,onChange:ji=>{Wl(ji)},onBlur:uu,disabled:zs})," / ",_n==null?void 0:_n.repeat_setting_score):Xt.createElement("div",{className:"mt20"},_n==null?void 0:_n.repeat_minus_score," / ",_n==null?void 0:_n.repeat_setting_score)),console.log("sssssssssssssssssssssss",_n==null?void 0:_n.have_repeat,_n==null?void 0:_n.repeat_minus_score),(_n==null?void 0:_n.have_repeat)&&(_n==null?void 0:_n.repeat_minus_score)===0&&Xt.createElement("li",null,Xt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),Xt.createElement("div",{className:"mt20"}," - -")),!(_n!=null&&_n.have_repeat)&&Xt.createElement("li",null,Xt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),Xt.createElement("div",{className:"mt20"}," - -")),Xt.createElement("li",null,Xt.createElement("strong",null,"\u8865\u4EA4\u6263\u5206"),Xt.createElement("div",{className:"mt20"},Xt.createElement("span",null,_n.late_penalty||"- -"))),Xt.createElement("li",null,Xt.createElement("strong",null,"\u6700\u7EC8\u6210\u7EE9"),Xt.createElement("div",{className:"mt20"},Xt.createElement("span",{className:"c-orange"},us),"/",Xt.createElement("span",{className:"c-light-black"},_n.all_work_score))),Xt.createElement("li",null,Xt.createElement("strong",null,"\u603B\u8BC4"),Xt.createElement("div",{className:"mt20"},Xt.createElement("span",{className:"c-orange"},_n.overall_appraisal))))),Xt.createElement(we.Z,{style:{margin:0}}),(_n.work_comment_hidden||_n.work_comment)&&Xt.createElement("div",null,Xt.createElement(ve.Z,{align:"middle"},Xt.createElement(Me.Z,{flex:1},Xt.createElement("h1",{className:je.title},"\u70B9\u8BC4\u5185\u5BB9")),Xt.createElement(Me.Z,{className:"pr30"},(0,it.GJ)()&&Xt.createElement(Ie.ZP,{onClick:()=>ir(void 0,null,function*(){fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:Xt.createElement(et.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return ir(this,null,function*(){(yield(0,ci.gZ)({comment_id:_n.comment_id,homeworkId:vi.homeworkId})).status===0&&(Ce.ZP.success("\u5220\u9664\u6210\u529F"),nr({type:"shixunHomeworks/getShixunWorkReport",payload:_r(_r({},vi),mo.current||{})}))})}})})},Xt.createElement(Ge.Z,null),"\u5220\u9664"))),Xt.createElement(we.Z,{style:{margin:0}}),_n.work_comment&&Xt.createElement("aside",{className:"pl30 pr30 mt20"},Xt.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),Xt.createElement("br",null),Xt.createElement(Ct.Z,{value:_n.work_comment})),_n.work_comment_hidden&&Xt.createElement("aside",{className:"pl30 pr30 mt20"},Xt.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),Xt.createElement("br",null),Xt.createElement(Ct.Z,{value:_n.work_comment_hidden}))),(_n==null?void 0:_n.action_analysis)&&Xt.createElement(Lr,{detailData:_n}),Xt.createElement("div",{className:je.score},Xt.createElement("h1",{className:je.title},"\u9636\u6BB5\u6210\u7EE9"),(_n==null?void 0:_n.adjust_review_score_count)>0&&(0,it.GJ)()&&Xt.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{Vo(!0),Zl({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",_n==null?void 0:_n.adjust_review_score_count,"\u6B21\uFF09")),Xt.createElement("aside",{className:"pl30 pr30"},Xt.createElement(Ee.default,{dataSource:_n.stage_list,rowKey:ji=>ji==null?void 0:ji.challenge_id,pagination:!1,columns:Ca})),((fi=_n==null?void 0:_n.target_test_sets)==null?void 0:fi.length)>0&&Xt.createElement("div",null,Xt.createElement("h1",{className:je.title},"\u6307\u6807\u6210\u7EE9"),Xt.createElement("aside",{className:"pl30 pr30"},Xt.createElement(Ee.default,{dataSource:No,rowKey:ji=>ji==null?void 0:ji.challenge_id,pagination:!1,bordered:!0,columns:qa}))),(_n==null?void 0:_n.work_description)&&Xt.createElement(Xt.Fragment,null,Xt.createElement("h1",{className:je.title},"\u4E2A\u4EBA\u603B\u7ED3"),Xt.createElement("aside",{className:"pl30 pr30"},Xt.createElement(Ct.Z,{value:_n==null?void 0:_n.work_description}))),Xt.createElement("h1",{className:je.title},"\u56FE\u5F62\u7EDF\u8BA1"),Xt.createElement(We,{data:eo}),(_n==null?void 0:_n.is_open_submit_test_result)&&Xt.createElement(Xt.Fragment,null),Xt.createElement("h1",{className:je.title},"\u5B9E\u8BAD\u8BE6\u60C5")),Xt.createElement(Fr,{autoHeight:xo}))),(0,it.GJ)()&&Xt.createElement("aside",{className:`${je.footerBar} ${ki?je.footerBarStatic:""}`},Xt.createElement("aside",{className:"edu-container"},Xt.createElement(ve.Z,{align:"middle"},Xt.createElement(Me.Z,{flex:"1"},Xt.createElement(Ue.Link,{className:je.exitComment,to:`/classrooms/${vi.coursesId}/shixun_homework/${vi.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),Xt.createElement(Me.Z,{flex:"1",className:"tr"},Xt.createElement(Ie.ZP,{type:"default",disabled:!(_n!=null&&_n.pre_student_work_id),onClick:()=>Ha()},"\u4E0A\u4E00\u4E2A"),Xt.createElement(Ie.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(_n!=null&&_n.next_student_work_id),onClick:()=>Ha("next")},"\u4E0B\u4E00\u4E2A"),(0,it.GJ)()&&Xt.createElement(Ie.ZP,{type:"primary",onClick:()=>ir(void 0,null,function*(){nr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:_n.user_id,data:_r({},_n)},fn:()=>Zl({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),Xt.createElement(Yr,null),Xt.createElement(pi.Z,null),Xt.createElement(fe.default,{open:Jo,width:860,centered:!0,onCancel:()=>{fo(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},Xt.createElement("div",{style:{color:"#333333",fontWeight:400}},Xt.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),Xt.createElement("br",null),Xt.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),Xt.createElement("br",null),Xt.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),Xt.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),Xt.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),Xt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Xt.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),Xt.createElement("br",null),Xt.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),Xt.createElement("br",null),Xt.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),Xt.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),Xt.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),Xt.createElement("br",null),Xt.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),Xt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Xt.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),Xt.createElement("br",null),Xt.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),Xt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Xt.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),Xt.createElement("br",null),Xt.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),Xt.createElement(fe.default,{open:ta,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Go(!1)},width:600},Xt.createElement("div",{style:{fontWeight:400,color:"#333333"}},Xt.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Xt.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),Xt.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Xt.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),Xt.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Xt.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),Xt.createElement(fe.default,{open:va,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{ro("all"),Vo(!1)},destroyOnClose:!0,width:900},Xt.createElement("div",{style:{fontWeight:400,color:"#333333"}},Xt.createElement("div",null,Xt.createElement("span",null,"\u5173\u5361\uFF1A"),Xt.createElement(ke.default,{style:{width:300},value:Ri,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:ji=>ir(void 0,null,function*(){ro(ji),Zl({page:1,page_size:10},ji)})},Xt.createElement(ke.default.Option,{value:"all"}," \u5168\u90E8 "),(Li=_n==null?void 0:_n.stage_list)==null?void 0:Li.map((ji,ga)=>Xt.createElement(ke.default.Option,{key:ga,value:ji==null?void 0:ji.challenge_id},"\u7B2C",(0,ft.EM)(ga+1),"\u5173")))),Xt.createElement("div",{className:"mt20"},Xt.createElement(Ee.default,{dataSource:Ur,rowKey:ji=>ji==null?void 0:ji.id,pagination:!1,columns:Xa,loading:Co})),Xt.createElement("div",{className:je.footer},Xt.createElement("div",null,Xt.createElement("span",{style:{color:"#656F87"}},"\u5171",Xt.createElement("span",{className:"c-light-primary"},ti),"\u6761\u6570\u636E")),Xt.createElement(ze.Z,{defaultCurrent:1,defaultPageSize:10,current:(Si==null?void 0:Si.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:ti,onChange:Kl})))))};var ei=(0,Ue.connect)(({shixunHomeworks:tr,classroomList:Un,loading:cr,globalSetting:Bi,user:zn})=>({shixunHomeworks:tr,classroomList:Un,globalSetting:Bi,loading:cr.effects,user:zn}))(ar)},52217:function(Vn,Tt,ae){"use strict";var x=ae(62957),ct=ae(6767),Le=ae(38147),Je=ae(65582),He=ae(41867),Se=ae(59301),Ue=(Ce,oe,Oe)=>new Promise((ve,Me)=>{var Ie=xe=>{try{we(Oe.next(xe))}catch(Ee){Me(Ee)}},_e=xe=>{try{we(Oe.throw(xe))}catch(Ee){Me(Ee)}},we=xe=>xe.done?ve(xe.value):Promise.resolve(xe.value).then(Ie,_e);we((Oe=Oe.apply(Ce,oe)).next())});const fe=({shixunHomeworks:Ce,classroomList:oe,dispatch:Oe})=>{const ve=(0,Je.useParams)();return Se.createElement(x.default,{centered:!0,title:"\u63D0\u793A",open:Ce.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ue(void 0,null,function*(){var Me,Ie,_e,we;if((0,He.Rm)()&&!((Me=oe.AssistantObject.practice)!=null&&Me.can_redo)){ct.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const xe=yield(0,Le.ZP)(`/api/myshixuns/${Ce.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:ve.coursesId,homework_common_id:Ce.actionTabs.homework_common_id}});if(xe.shixun_identifier){ct.ZP.success("\u64CD\u4F5C\u6210\u529F"),Oe({type:"shixunHomeworks/setActionTabs",payload:{}});const Ee=(_e=(Ie=xe==null?void 0:xe.new_works)==null?void 0:Ie.find(ke=>`${ke.homework_common_id}`===ve.categoryId))==null?void 0:_e.id;if((0,He.Rm)()&&!((we=oe.AssistantObject.practice)!=null&&we.can_view))return;Je.history.replace(`/classrooms/${ve.coursesId}/shixun_homework/${ve.categoryId}/${Ee}/comment`)}}),onCancel:()=>{Oe({type:"shixunHomeworks/setActionTabs",payload:{}})}},Se.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),Se.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Tt.Z=(0,Je.connect)(({shixunHomeworks:Ce,classroomList:oe})=>({shixunHomeworks:Ce,classroomList:oe}))(fe)},84454:function(Vn,Tt,ae){"use strict";ae.d(Tt,{AD:function(){return We},BA:function(){return ie},D9:function(){return At},Hp:function(){return et},IM:function(){return Kt},Iy:function(){return lt},KM:function(){return ge},KU:function(){return pn},MJ:function(){return Ge},Ne:function(){return Zt},ON:function(){return vn},Uj:function(){return on},VY:function(){return Qt},YO:function(){return Fn},YX:function(){return _t},Zn:function(){return _e},_g:function(){return ze},_k:function(){return Ze},c6:function(){return ht},cr:function(){return we},eV:function(){return Ne},fi:function(){return xe},gh:function(){return bt},hS:function(){return rt},iA:function(){return Ee},j6:function(){return Qe},je:function(){return yt},jj:function(){return Re},kS:function(){return Ot},lS:function(){return Ft},o6:function(){return je},pO:function(){return de},rQ:function(){return Ut},sA:function(){return ft},xm:function(){return Te},xo:function(){return Nt},y8:function(){return ot},yd:function(){return ke}});var x=ae(33270),ct=ae(65582),Le=ae(65862),Je=ae(6767),He=ae(74128),Se=Object.defineProperty,Ue=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,oe=(ee,le,se)=>le in ee?Se(ee,le,{enumerable:!0,configurable:!0,writable:!0,value:se}):ee[le]=se,Oe=(ee,le)=>{for(var se in le||(le={}))fe.call(le,se)&&oe(ee,se,le[se]);if(Ue)for(var se of Ue(le))Ce.call(le,se)&&oe(ee,se,le[se]);return ee},ve=(ee,le,se)=>new Promise((Be,$e)=>{var at=Bt=>{try{gt(se.next(Bt))}catch(Lt){$e(Lt)}},pt=Bt=>{try{gt(se.throw(Bt))}catch(Lt){$e(Lt)}},gt=Bt=>Bt.done?Be(Bt.value):Promise.resolve(Bt.value).then(at,pt);gt((se=se.apply(ee,le)).next())});const Me=()=>{(0,ct.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},Ie=()=>{(0,ct.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},_e=ee=>ve(void 0,null,function*(){Me(),(yield(0,x.YR)(Oe({},ee))).status===0&&(yield(0,Le.QH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/courses/${ee.coursesId}/export_couser_info.json`,query:ee}))),Ie()}),we=ee=>ve(void 0,null,function*(){const le=yield(0,x.yS)(Oe({},ee));if(le.status===0)Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/course_member_act_score`);else{if(le.status===-2)return le;le.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/course_member_act_score`))}}),xe=ee=>ve(void 0,null,function*(){const le=yield(0,x.W0)(Oe({},ee));if(le.status===0)Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_score`);else{if(le.status===-4)return le;le.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_score`))}}),Ee=ee=>ve(void 0,null,function*(){const le=yield(0,x.Nl)(Oe({},ee));if(le.status===0)Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`);else{if(le.status===-4)return le;le.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`))}}),ke=ee=>ve(void 0,null,function*(){const le=yield(0,x.IU)(Oe({},ee));if(le.status===0)Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/export_star_user`);else{if(le.status===-4)return le;le.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/export_star_user`))}}),ze=ee=>ve(void 0,null,function*(){const le=yield(0,x.td)(Oe({},ee));if(le.status===0)Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`);else{if(le.status===-2)return le;if(le.status===-3)(0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`);else if(le.status===-4)return le}}),Qe=ee=>ve(void 0,null,function*(){const le=yield(0,x.QX)(Oe({},ee));if(le.status===0)Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_homework`);else{if(le.status===-4)return le;le.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_homework`))}}),Re=(ee,le)=>ve(void 0,null,function*(){const se=yield(0,x.o_)(Oe({},ee));se.status===0?(Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/${le}`)):se.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/${le}`))}),et=(ee,le)=>ve(void 0,null,function*(){const se=yield(0,x.ZL)(Oe({},ee));se.status===0?(Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/${le}`)):se.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/${le}`))}),Ge=(ee,le)=>ve(void 0,null,function*(){const se=yield(0,x.vV)(Oe({},ee));se.status===0?(Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/${le}`)):se.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/${le}`))}),lt=(ee,le)=>ve(void 0,null,function*(){const se=yield(0,x.aP)(Oe({},ee));se.status===0?(Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/${le}`)):se.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/${le}`))}),it=ee=>ve(void 0,null,function*(){Me(),(yield exportCourseWorkListAppendix(Oe({},ee))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${ee.categoryId}/works_list.zip`,query:ee}))),Ie()}),ft=ee=>ve(void 0,null,function*(){Me(),yield(0,Le.FH)("",He.Z.API_SERVER+`/api/polls/${ee.categoryId}/commit_result.xlsx`),Ie()}),bt=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/courses/${ee.coursesId}/attendances/export_xlsx_data.xlsx`,query:ee}))}),je=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/courses/${ee.coursesId}/video_study_statics.xlsx`,query:ee}))}),ht=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/courses/${ee.coursesId}/export_video_study.xlsx`,query:ee}))}),Ne=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/courses/${ee.coursesId}/export_course_students_info.xlsx`,query:ee}))}),We=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/school_manages/students.xlsx",query:ee}))}),Ut=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/item_banks/export.xlsx",query:ee}))}),ot=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:ee}))}),yt=ee=>ve(void 0,null,function*(){const le=yield(0,x.Uy)(Oe({},ee));le.status===0?(Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_users`)):le.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_users`))}),Ft=ee=>ve(void 0,null,function*(){const le=yield(0,x.tg)(Oe({},ee));le.status===0?(Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_report`)):le.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_report`))}),Ze=ee=>ve(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/export_records/${ee.id}.xlsx`,query:ee}))}),Te=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:ee}))}),At=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/courses/${ee==null?void 0:ee.coursesId}/${ee.menuKey}_statistic.xlsx?${ee.checkedList.map(le=>`course_group_id[]=${le}`).join("&")}`,query:ee}))}),Zt=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/ec_years/${ee==null?void 0:ee.ec_year_id}/ec_training_objectives.xlsx`,query:ee}))}),Kt=ee=>ve(void 0,null,function*(){yield(0,Le.FH)(ee==null?void 0:ee.name,(0,Le.NY)({url:He.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:ee}))}),rt=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/ec_years/${ee==null?void 0:ee.ec_year_id}/ec_courses.xlsx`,query:ee}))}),Nt=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/ec_years/${ee==null?void 0:ee.ec_year_id}/ec_graduation_requirements.xlsx`,query:ee}))}),Qt=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:ee}))}),pn=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/exercises/${ee.categoryId}/rank_list.xlsx`,query:ee}))}),Ot=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:ee}))}),vn=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/examination_banks/${ee.id}.json`,query:ee}))}),_t=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/exercises/${ee.categoryId}.json`,query:ee}))}),Fn=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/polls/${ee==null?void 0:ee.id}/commit_result.json`,query:ee}))}),on=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/paths/get_task_pass.json",query:ee}))}),de=(ee,le)=>ve(void 0,null,function*(){yield(0,Le.FH)(le||"",(0,Le.NY)({url:He.Z.API_SERVER+`/api/exercises/${ee==null?void 0:ee.exercise_id}/consult_exercise.json`,query:ee}))}),ge=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/competitions/${ee==null?void 0:ee.identifier}/competition_commit_records/member_works.xlsx`,query:ee}))}),ie=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/courses/${ee==null?void 0:ee.coursesId}/group_homeworks/import_group_template.xlsx`,query:ee}))})},61527:function(Vn,Tt,ae){"use strict";ae.d(Tt,{U:function(){return Ce}});var x=ae(59301),ct=Object.defineProperty,Le=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,Se=(oe,Oe,ve)=>Oe in oe?ct(oe,Oe,{enumerable:!0,configurable:!0,writable:!0,value:ve}):oe[Oe]=ve,Ue=(oe,Oe)=>{for(var ve in Oe||(Oe={}))Je.call(Oe,ve)&&Se(oe,ve,Oe[ve]);if(Le)for(var ve of Le(Oe))He.call(Oe,ve)&&Se(oe,ve,Oe[ve]);return oe},fe=(oe,Oe,ve)=>new Promise((Me,Ie)=>{var _e=Ee=>{try{xe(ve.next(Ee))}catch(ke){Ie(ke)}},we=Ee=>{try{xe(ve.throw(Ee))}catch(ke){Ie(ke)}},xe=Ee=>Ee.done?Me(Ee.value):Promise.resolve(Ee.value).then(_e,we);xe((ve=ve.apply(oe,Oe)).next())});function Ce(oe,Oe){const[ve,Me]=(0,x.useState)(Oe),[Ie,_e]=(0,x.useState)(!1),[we,xe]=(0,x.useState)();return[ve,Ie,(ke,ze=!1)=>fe(this,null,function*(){const Qe=ze?Oe:Ue(Ue({},ve),ke);_e(!0),Me(Qe);const Re=yield oe(Qe);return _e(!1),xe(Re),Re}),we,xe]}},49142:function(Vn,Tt,ae){"use strict";ae.d(Tt,{AL:function(){return Qe},Iy:function(){return Oe},Qv:function(){return Ie},ez:function(){return ze},jb:function(){return ve}});var x=ae(32834),ct=ae.n(x),Le=ae(11690),Je=ae.n(Le);let He=1;function Se(it,ft){const bt=it.match(/^(\s+)(?:```)/);if(bt===null)return ft;const je=bt[1];return ft.split(`
`).map(ht=>{const Ne=ht.match(/^\s+/);if(Ne===null)return ht;const[We]=Ne;return We.length>=je.length?ht.slice(je.length):ht}).join(`
`)}let Ue=[],fe=["<ul>"];const Ce=new(ct()).Renderer,oe=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Oe(){Ue.length=0,fe=["<ul>"]}const ve={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function Me(it,ft,bt,je){if(ft>=it.length||it[ft].level<=bt)return ft;var ht=it[ft];je.push("<li><a href='#"+He+ht.anchor+"'>"+ht.text+"</a>"),ft++;var Ne=[];return ft=Me(it,ft,ht.level,Ne),Ne.length>0&&(je.push("<ul>"),Ne.forEach(function(We){je.push(We)}),je.push("</ul>")),je.push("</li>"),ft=Me(it,ft,bt,je),ft}function Ie(){return Me(Ue,0,0,fe),fe.push("</ul>"),fe.join("")}const _e={heading(it){const ft=oe.exec(it);if(He+=1,ft)return{type:"heading",raw:ft[0],depth:ft[1].length,text:ft[2]}},fences(it){const ft=this.rules.block.fences.exec(it);if(ft){const bt=ft[0];let je=Se(bt,ft[3]||"");const ht=ft[2]?ft[2].trim():ft[2];if(["latex","katex","math"].indexOf(ht)>=0){const Ne=Ee(),We=je;je=Ne,ke[Ne]={type:"block",expression:We}}return{type:"code",raw:bt,lang:ht,text:je}}}},we=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let xe=0;const Ee=()=>`__special_katext_id_${xe++}__`;let ke={};function ze(){return ke}function Qe(){xe=0,ke={}}function Re(it){return it=it.replace(we,(ft,bt)=>{const je=Ee();return ke[je]={type:"inline",expression:bt},je}),it}const et=Ce.listitem;Ce.listitem=function(it){return et(Re(it))};const Ge=Ce.paragraph;Ce.paragraph=function(it){return Ge(Re(it))};const lt=Ce.tablecell;Ce.tablecell=function(it,ft){return lt(Re(it),ft)},Ce.code=function(it,ft,bt){const je=(ft||"").match(/\S*/)[0];return je?["latex","katex","math"].indexOf(je)>=0?`<p class='editormd-tex'>${it}</p>`:`<pre class="prettyprint linenums"><code class="language-${ft}">${bt?it:(0,Le.escape)(it,!0)}</code></pre>
`:'<pre class="prettyprint linenums"><code>'+(bt?it:(0,Le.escape)(it,!0))+"</code></pre>"},Ce.heading=function(it,ft,bt){let je=this.options.headerPrefix+bt.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Ue.push({anchor:je,level:ft,text:it}),"<h"+ft+' id="'+He+je+'">'+it+"</h"+ft+">"},ct().setOptions({silent:!0,gfm:!0,pedantic:!1}),ct().use({tokenizer:_e,renderer:Ce}),Tt.ZP=ct()},9981:function(Vn,Tt){"use strict";const ae=function(){const x=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ct=1;ct<arguments.length;ct++){const Le=ct<0||arguments.length<=ct?void 0:arguments[ct];Le&&Object.keys(Le).forEach(Je=>{const He=Le[Je];He!==void 0&&(x[Je]=He)})}return x};Tt.Z=ae},86013:function(Vn,Tt,ae){"use strict";var x=ae(59301),ct=ae(19248);const Le=Je=>{let He;return typeof Je=="object"&&(Je!=null&&Je.clearIcon)?He=Je:Je&&(He={clearIcon:x.createElement(ct.Z,null)}),He};Tt.Z=Le},97224:function(Vn,Tt,ae){"use strict";ae.d(Tt,{F:function(){return x}});function x(Le){return Le!=null&&Le===Le.window}const ct=Le=>{var Je,He;if(typeof window=="undefined")return 0;let Se=0;return x(Le)?Se=Le.pageYOffset:Le instanceof Document?Se=Le.documentElement.scrollTop:(Le instanceof HTMLElement||Le)&&(Se=Le.scrollTop),Le&&!x(Le)&&typeof Se!="number"&&(Se=(He=((Je=Le.ownerDocument)!==null&&Je!==void 0?Je:Le).documentElement)===null||He===void 0?void 0:He.scrollTop),Se};Tt.Z=ct},83010:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Je}});var x=ae(16089);function ct(He,Se,Ue,fe){const Ce=Ue-Se;return He/=fe/2,He<1?Ce/2*He*He*He+Se:Ce/2*((He-=2)*He*He+2)+Se}var Le=ae(97224);function Je(He){let Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:Ue=()=>window,callback:fe,duration:Ce=450}=Se,oe=Ue(),Oe=(0,Le.Z)(oe),ve=Date.now(),Me=()=>{const _e=Date.now()-ve,we=ct(_e>Ce?Ce:_e,Oe,He,Ce);(0,Le.F)(oe)?oe.scrollTo(window.pageXOffset,we):oe instanceof Document||oe.constructor.name==="HTMLDocument"?oe.documentElement.scrollTop=we:oe.scrollTop=we,_e<Ce?(0,x.Z)(Me):typeof fe=="function"&&fe()};(0,x.Z)(Me)}},91882:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return ot}});var x=ae(59301),ct=ae(92310),Le=ae.n(ct),Je=ae(11592),He=ae(26112),Se=ae(22703),Ue=ae(48755),fe=ae(84105),Ce=ae(19563);const oe=yt=>{let{children:Ft}=yt;const{getPrefixCls:Ze}=x.useContext(Ue.E_),Te=Ze("breadcrumb");return x.createElement("li",{className:`${Te}-separator`,"aria-hidden":"true"},Ft===""?Ft:Ft||"/")};oe.__ANT_BREADCRUMB_SEPARATOR=!0;var Oe=oe,ve=function(yt,Ft){var Ze={};for(var Te in yt)Object.prototype.hasOwnProperty.call(yt,Te)&&Ft.indexOf(Te)<0&&(Ze[Te]=yt[Te]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,Te=Object.getOwnPropertySymbols(yt);At<Te.length;At++)Ft.indexOf(Te[At])<0&&Object.prototype.propertyIsEnumerable.call(yt,Te[At])&&(Ze[Te[At]]=yt[Te[At]]);return Ze};function Me(yt,Ft){if(yt.title===void 0||yt.title===null)return null;const Ze=Object.keys(Ft).join("|");return typeof yt.title=="object"?yt.title:String(yt.title).replace(new RegExp(`:(${Ze})`,"g"),(Te,At)=>Ft[At]||Te)}function Ie(yt,Ft,Ze,Te){if(Ze==null)return null;const{className:At,onClick:Zt}=Ft,Kt=ve(Ft,["className","onClick"]),rt=Object.assign(Object.assign({},(0,He.Z)(Kt,{data:!0,aria:!0})),{onClick:Zt});return Te!==void 0?x.createElement("a",Object.assign({},rt,{className:Le()(`${yt}-link`,At),href:Te}),Ze):x.createElement("span",Object.assign({},rt,{className:Le()(`${yt}-link`,At)}),Ze)}function _e(yt,Ft){return(Te,At,Zt,Kt,rt)=>{if(Ft)return Ft(Te,At,Zt,Kt);const Nt=Me(Te,At);return Ie(yt,Te,Nt,rt)}}var we=function(yt,Ft){var Ze={};for(var Te in yt)Object.prototype.hasOwnProperty.call(yt,Te)&&Ft.indexOf(Te)<0&&(Ze[Te]=yt[Te]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,Te=Object.getOwnPropertySymbols(yt);At<Te.length;At++)Ft.indexOf(Te[At])<0&&Object.prototype.propertyIsEnumerable.call(yt,Te[At])&&(Ze[Te[At]]=yt[Te[At]]);return Ze};const xe=yt=>{const{prefixCls:Ft,separator:Ze="/",children:Te,menu:At,overlay:Zt,dropdownProps:Kt,href:rt}=yt,Qt=(pn=>{if(At||Zt){const Ot=Object.assign({},Kt);if(At){const vn=At||{},{items:_t}=vn,Fn=we(vn,["items"]);Ot.menu=Object.assign(Object.assign({},Fn),{items:_t==null?void 0:_t.map((on,de)=>{var{key:ge,title:ie,label:ee,path:le}=on,se=we(on,["key","title","label","path"]);let Be=ee!=null?ee:ie;return le&&(Be=x.createElement("a",{href:`${rt}${le}`},Be)),Object.assign(Object.assign({},se),{key:ge!=null?ge:de,label:Be})})})}else Zt&&(Ot.overlay=Zt);return x.createElement(Ce.Z,Object.assign({placement:"bottom"},Ot),x.createElement("span",{className:`${Ft}-overlay-link`},pn,x.createElement(fe.Z,null)))}return pn})(Te);return Qt!=null?x.createElement(x.Fragment,null,x.createElement("li",null,Qt),Ze&&x.createElement(Oe,null,Ze)):null},Ee=yt=>{const{prefixCls:Ft,children:Ze,href:Te}=yt,At=we(yt,["prefixCls","children","href"]),{getPrefixCls:Zt}=x.useContext(Ue.E_),Kt=Zt("breadcrumb",Ft);return x.createElement(xe,Object.assign({},At,{prefixCls:Kt}),Ie(Kt,At,Ze,Te))};Ee.__ANT_BREADCRUMB_ITEM=!0;var ke=Ee,ze=ae(36237),Qe=ae(63356),Re=ae(16931),et=ae(51636);const Ge=yt=>{const{componentCls:Ft,iconCls:Ze,calc:Te}=yt;return{[Ft]:Object.assign(Object.assign({},(0,Qe.Wf)(yt)),{color:yt.itemColor,fontSize:yt.fontSize,[Ze]:{fontSize:yt.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:yt.linkColor,transition:`color ${yt.motionDurationMid}`,padding:`0 ${(0,ze.unit)(yt.paddingXXS)}`,borderRadius:yt.borderRadiusSM,height:yt.fontHeight,display:"inline-block",marginInline:Te(yt.marginXXS).mul(-1).equal(),"&:hover":{color:yt.linkHoverColor,backgroundColor:yt.colorBgTextHover}},(0,Qe.Qy)(yt)),"li:last-child":{color:yt.lastItemColor},[`${Ft}-separator`]:{marginInline:yt.separatorMargin,color:yt.separatorColor},[`${Ft}-link`]:{[`
> ${Ze} + span,
> ${Ze} + a
`]:{marginInlineStart:yt.marginXXS}},[`${Ft}-overlay-link`]:{borderRadius:yt.borderRadiusSM,height:yt.fontHeight,display:"inline-block",padding:`0 ${(0,ze.unit)(yt.paddingXXS)}`,marginInline:Te(yt.marginXXS).mul(-1).equal(),[`> ${Ze}`]:{marginInlineStart:yt.marginXXS,fontSize:yt.fontSizeIcon},"&:hover":{color:yt.linkHoverColor,backgroundColor:yt.colorBgTextHover,a:{color:yt.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${yt.componentCls}-rtl`]:{direction:"rtl"}})}},lt=yt=>({itemColor:yt.colorTextDescription,lastItemColor:yt.colorText,iconFontSize:yt.fontSize,linkColor:yt.colorTextDescription,linkHoverColor:yt.colorText,separatorColor:yt.colorTextDescription,separatorMargin:yt.marginXS});var it=(0,Re.I$)("Breadcrumb",yt=>{const Ft=(0,et.mergeToken)(yt,{});return Ge(Ft)},lt),ft=function(yt,Ft){var Ze={};for(var Te in yt)Object.prototype.hasOwnProperty.call(yt,Te)&&Ft.indexOf(Te)<0&&(Ze[Te]=yt[Te]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,Te=Object.getOwnPropertySymbols(yt);At<Te.length;At++)Ft.indexOf(Te[At])<0&&Object.prototype.propertyIsEnumerable.call(yt,Te[At])&&(Ze[Te[At]]=yt[Te[At]]);return Ze};function bt(yt){const{breadcrumbName:Ft,children:Ze}=yt,Te=ft(yt,["breadcrumbName","children"]),At=Object.assign({title:Ft},Te);return Ze&&(At.menu={items:Ze.map(Zt=>{var{breadcrumbName:Kt}=Zt,rt=ft(Zt,["breadcrumbName"]);return Object.assign(Object.assign({},rt),{title:Kt})})}),At}function je(yt,Ft){return(0,x.useMemo)(()=>yt||(Ft?Ft.map(bt):null),[yt,Ft])}var ht=function(yt,Ft){var Ze={};for(var Te in yt)Object.prototype.hasOwnProperty.call(yt,Te)&&Ft.indexOf(Te)<0&&(Ze[Te]=yt[Te]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,Te=Object.getOwnPropertySymbols(yt);At<Te.length;At++)Ft.indexOf(Te[At])<0&&Object.prototype.propertyIsEnumerable.call(yt,Te[At])&&(Ze[Te[At]]=yt[Te[At]]);return Ze};const Ne=(yt,Ft)=>{if(Ft===void 0)return Ft;let Ze=(Ft||"").replace(/^\//,"");return Object.keys(yt).forEach(Te=>{Ze=Ze.replace(`:${Te}`,yt[Te])}),Ze},We=yt=>{const{prefixCls:Ft,separator:Ze="/",style:Te,className:At,rootClassName:Zt,routes:Kt,items:rt,children:Nt,itemRender:Qt,params:pn={}}=yt,Ot=ht(yt,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:vn,direction:_t,breadcrumb:Fn}=x.useContext(Ue.E_);let on;const de=vn("breadcrumb",Ft),[ge,ie,ee]=it(de),le=je(rt,Kt),se=_e(de,Qt);if(le&&le.length>0){const at=[],pt=rt||Kt;on=le.map((gt,Bt)=>{const{path:Lt,key:Rt,type:Ct,menu:st,overlay:$t,onClick:Vt,className:bn,separator:an,dropdownProps:en}=gt,Hn=Ne(pn,Lt);Hn!==void 0&&at.push(Hn);const En=Rt!=null?Rt:Bt;if(Ct==="separator")return x.createElement(Oe,{key:En},an);const Mt={},sn=Bt===le.length-1;st?Mt.menu=st:$t&&(Mt.overlay=$t);let{href:Dn}=gt;return at.length&&Hn!==void 0&&(Dn=`#/${at.join("/")}`),x.createElement(xe,Object.assign({key:En},Mt,(0,He.Z)(gt,{data:!0,aria:!0}),{className:bn,dropdownProps:en,href:Dn,separator:sn?"":Ze,onClick:Vt,prefixCls:de}),se(gt,pn,pt,at,Dn))})}else if(Nt){const at=(0,Je.Z)(Nt).length;on=(0,Je.Z)(Nt).map((pt,gt)=>{if(!pt)return pt;const Bt=gt===at-1;return(0,Se.Tm)(pt,{separator:Bt?"":Ze,key:gt})})}const Be=Le()(de,Fn==null?void 0:Fn.className,{[`${de}-rtl`]:_t==="rtl"},At,Zt,ie,ee),$e=Object.assign(Object.assign({},Fn==null?void 0:Fn.style),Te);return ge(x.createElement("nav",Object.assign({className:Be,style:$e},Ot),x.createElement("ol",null,on)))};We.Item=ke,We.Separator=Oe;var Ut=We,ot=Ut},62673:function(Vn,Tt,ae){"use strict";ae.d(Tt,{default:function(){return it}});var x=ae(59301),ct=ae(92310),Le=ae.n(ct),Je=ae(16632),He=ae(8654),Se=ae(12919),Ue=ae(63872),fe=ae(48755),Ce=ae(2171),oe=ae(83397),Oe=ae(56553),Me=x.createContext(null),Ie=ae(36170),_e=ae(74632),we=function(ft,bt){var je={};for(var ht in ft)Object.prototype.hasOwnProperty.call(ft,ht)&&bt.indexOf(ht)<0&&(je[ht]=ft[ht]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,ht=Object.getOwnPropertySymbols(ft);Ne<ht.length;Ne++)bt.indexOf(ht[Ne])<0&&Object.prototype.propertyIsEnumerable.call(ft,ht[Ne])&&(je[ht[Ne]]=ft[ht[Ne]]);return je};const xe=(ft,bt)=>{var je;const{prefixCls:ht,className:Ne,rootClassName:We,children:Ut,indeterminate:ot=!1,style:yt,onMouseEnter:Ft,onMouseLeave:Ze,skipGroup:Te=!1,disabled:At}=ft,Zt=we(ft,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Kt,direction:rt,checkbox:Nt}=x.useContext(fe.E_),Qt=x.useContext(Me),{isFormItemInput:pn}=x.useContext(Oe.aM),Ot=x.useContext(Ce.Z),vn=(je=(Qt==null?void 0:Qt.disabled)||At)!==null&&je!==void 0?je:Ot,_t=x.useRef(Zt.value),Fn=x.useRef(null),on=(0,He.sQ)(bt,Fn);x.useEffect(()=>{Qt==null||Qt.registerValue(Zt.value)},[]),x.useEffect(()=>{if(!Te)return Zt.value!==_t.current&&(Qt==null||Qt.cancelValue(_t.current),Qt==null||Qt.registerValue(Zt.value),_t.current=Zt.value),()=>Qt==null?void 0:Qt.cancelValue(Zt.value)},[Zt.value]),x.useEffect(()=>{var gt;!((gt=Fn.current)===null||gt===void 0)&&gt.input&&(Fn.current.input.indeterminate=ot)},[ot]);const de=Kt("checkbox",ht),ge=(0,oe.Z)(de),[ie,ee,le]=(0,Ie.ZP)(de,ge),se=Object.assign({},Zt);Qt&&!Te&&(se.onChange=function(){Zt.onChange&&Zt.onChange.apply(Zt,arguments),Qt.toggleOption&&Qt.toggleOption({label:Ut,value:Zt.value})},se.name=Qt.name,se.checked=Qt.value.includes(Zt.value));const Be=Le()(`${de}-wrapper`,{[`${de}-rtl`]:rt==="rtl",[`${de}-wrapper-checked`]:se.checked,[`${de}-wrapper-disabled`]:vn,[`${de}-wrapper-in-form-item`]:pn},Nt==null?void 0:Nt.className,Ne,We,le,ge,ee),$e=Le()({[`${de}-indeterminate`]:ot},Ue.A,ee),[at,pt]=(0,_e.Z)(se.onClick);return ie(x.createElement(Se.Z,{component:"Checkbox",disabled:vn},x.createElement("label",{className:Be,style:Object.assign(Object.assign({},Nt==null?void 0:Nt.style),yt),onMouseEnter:Ft,onMouseLeave:Ze,onClick:at},x.createElement(Je.Z,Object.assign({},se,{onClick:pt,prefixCls:de,className:$e,disabled:vn,ref:on})),Ut!==void 0&&x.createElement("span",{className:`${de}-label`},Ut))))};var ke=x.forwardRef(xe),ze=ae(94480),Qe=ae(2738),Re=function(ft,bt){var je={};for(var ht in ft)Object.prototype.hasOwnProperty.call(ft,ht)&&bt.indexOf(ht)<0&&(je[ht]=ft[ht]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,ht=Object.getOwnPropertySymbols(ft);Ne<ht.length;Ne++)bt.indexOf(ht[Ne])<0&&Object.prototype.propertyIsEnumerable.call(ft,ht[Ne])&&(je[ht[Ne]]=ft[ht[Ne]]);return je},Ge=x.forwardRef((ft,bt)=>{const{defaultValue:je,children:ht,options:Ne=[],prefixCls:We,className:Ut,rootClassName:ot,style:yt,onChange:Ft}=ft,Ze=Re(ft,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Te,direction:At}=x.useContext(fe.E_),[Zt,Kt]=x.useState(Ze.value||je||[]),[rt,Nt]=x.useState([]);x.useEffect(()=>{"value"in Ze&&Kt(Ze.value||[])},[Ze.value]);const Qt=x.useMemo(()=>Ne.map($e=>typeof $e=="string"||typeof $e=="number"?{label:$e,value:$e}:$e),[Ne]),pn=$e=>{Nt(at=>at.filter(pt=>pt!==$e))},Ot=$e=>{Nt(at=>[].concat((0,ze.Z)(at),[$e]))},vn=$e=>{const at=Zt.indexOf($e.value),pt=(0,ze.Z)(Zt);at===-1?pt.push($e.value):pt.splice(at,1),"value"in Ze||Kt(pt),Ft==null||Ft(pt.filter(gt=>rt.includes(gt)).sort((gt,Bt)=>{const Lt=Qt.findIndex(Ct=>Ct.value===gt),Rt=Qt.findIndex(Ct=>Ct.value===Bt);return Lt-Rt}))},_t=Te("checkbox",We),Fn=`${_t}-group`,on=(0,oe.Z)(_t),[de,ge,ie]=(0,Ie.ZP)(_t,on),ee=(0,Qe.Z)(Ze,["value","disabled"]),le=Ne.length?Qt.map($e=>x.createElement(ke,{prefixCls:_t,key:$e.value.toString(),disabled:"disabled"in $e?$e.disabled:Ze.disabled,value:$e.value,checked:Zt.includes($e.value),onChange:$e.onChange,className:`${Fn}-item`,style:$e.style,title:$e.title,id:$e.id,required:$e.required},$e.label)):ht,se={toggleOption:vn,value:Zt,disabled:Ze.disabled,name:Ze.name,registerValue:Ot,cancelValue:pn},Be=Le()(Fn,{[`${Fn}-rtl`]:At==="rtl"},Ut,ot,ie,on,ge);return de(x.createElement("div",Object.assign({className:Be,style:yt},ee,{ref:bt}),x.createElement(Me.Provider,{value:se},le)))});const lt=ke;lt.Group=Ge,lt.__ANT_CHECKBOX=!0;var it=lt},36170:function(Vn,Tt,ae){"use strict";ae.d(Tt,{C2:function(){return Se}});var x=ae(36237),ct=ae(63356),Le=ae(51636),Je=ae(16931);const He=Ue=>{const{checkboxCls:fe}=Ue,Ce=`${fe}-wrapper`;return[{[`${fe}-group`]:Object.assign(Object.assign({},(0,ct.Wf)(Ue)),{display:"inline-flex",flexWrap:"wrap",columnGap:Ue.marginXS,[`> ${Ue.antCls}-row`]:{flex:1}}),[Ce]:Object.assign(Object.assign({},(0,ct.Wf)(Ue)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Ce}`]:{marginInlineStart:0},[`&${Ce}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[fe]:Object.assign(Object.assign({},(0,ct.Wf)(Ue)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Ue.borderRadiusSM,alignSelf:"center",[`${fe}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${fe}-inner`]:Object.assign({},(0,ct.oN)(Ue))},[`${fe}-inner`]:{boxSizing:"border-box",display:"block",width:Ue.checkboxSize,height:Ue.checkboxSize,direction:"ltr",backgroundColor:Ue.colorBgContainer,border:`${(0,x.unit)(Ue.lineWidth)} ${Ue.lineType} ${Ue.colorBorder}`,borderRadius:Ue.borderRadiusSM,borderCollapse:"separate",transition:`all ${Ue.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:Ue.calc(Ue.checkboxSize).div(14).mul(5).equal(),height:Ue.calc(Ue.checkboxSize).div(14).mul(8).equal(),border:`${(0,x.unit)(Ue.lineWidthBold)} solid ${Ue.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Ue.motionDurationFast} ${Ue.motionEaseInBack}, opacity ${Ue.motionDurationFast}`}},"& + span":{paddingInlineStart:Ue.paddingXS,paddingInlineEnd:Ue.paddingXS}})},{[`
${Ce}:not(${Ce}-disabled),
${fe}:not(${fe}-disabled)
`]:{[`&:hover ${fe}-inner`]:{borderColor:Ue.colorPrimary}},[`${Ce}:not(${Ce}-disabled)`]:{[`&:hover ${fe}-checked:not(${fe}-disabled) ${fe}-inner`]:{backgroundColor:Ue.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${fe}-checked:not(${fe}-disabled):after`]:{borderColor:Ue.colorPrimaryHover}}},{[`${fe}-checked`]:{[`${fe}-inner`]:{backgroundColor:Ue.colorPrimary,borderColor:Ue.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Ue.motionDurationMid} ${Ue.motionEaseOutBack} ${Ue.motionDurationFast}`}}},[`
${Ce}-checked:not(${Ce}-disabled),
${fe}-checked:not(${fe}-disabled)
`]:{[`&:hover ${fe}-inner`]:{backgroundColor:Ue.colorPrimaryHover,borderColor:"transparent"}}},{[fe]:{"&-indeterminate":{[`${fe}-inner`]:{backgroundColor:`${Ue.colorBgContainer} !important`,borderColor:`${Ue.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:Ue.calc(Ue.fontSizeLG).div(2).equal(),height:Ue.calc(Ue.fontSizeLG).div(2).equal(),backgroundColor:Ue.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${fe}-inner`]:{backgroundColor:`${Ue.colorBgContainer} !important`,borderColor:`${Ue.colorPrimary} !important`}}}},{[`${Ce}-disabled`]:{cursor:"not-allowed"},[`${fe}-disabled`]:{[`&, ${fe}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${fe}-inner`]:{background:Ue.colorBgContainerDisabled,borderColor:Ue.colorBorder,"&:after":{borderColor:Ue.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Ue.colorTextDisabled},[`&${fe}-indeterminate ${fe}-inner::after`]:{background:Ue.colorTextDisabled}}}]};function Se(Ue,fe){const Ce=(0,Le.mergeToken)(fe,{checkboxCls:`.${Ue}`,checkboxSize:fe.controlInteractiveSize});return[He(Ce)]}Tt.ZP=(0,Je.I$)("Checkbox",(Ue,fe)=>{let{prefixCls:Ce}=fe;return[Se(Ce,Ue)]})},38406:function(Vn,Tt,ae){"use strict";var x=ae(59301),ct=ae(48755),Le=ae(584);const Je=He=>{const{componentName:Se}=He,{getPrefixCls:Ue}=(0,x.useContext)(ct.E_),fe=Ue("empty");switch(Se){case"Table":case"List":return x.createElement(Le.Z,{image:Le.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return x.createElement(Le.Z,{image:Le.Z.PRESENTED_IMAGE_SIMPLE,className:`${fe}-small`});case"Table.filter":return null;default:return x.createElement(Le.Z,null)}};Tt.Z=Je},37285:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Ie}});var x=ae(59301),ct=ae(92310),Le=ae.n(ct),Je=ae(48755),He=ae(36237),Se=ae(63356),Ue=ae(16931),fe=ae(51636);const Ce=_e=>{const{componentCls:we,sizePaddingEdgeHorizontal:xe,colorSplit:Ee,lineWidth:ke,textPaddingInline:ze,orientationMargin:Qe,verticalMarginInline:Re}=_e;return{[we]:Object.assign(Object.assign({},(0,Se.Wf)(_e)),{borderBlockStart:`${(0,He.unit)(ke)} solid ${Ee}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:Re,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,He.unit)(ke)} solid ${Ee}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,He.unit)(_e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${we}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,He.unit)(_e.dividerHorizontalWithTextGutterMargin)} 0`,color:_e.colorTextHeading,fontWeight:500,fontSize:_e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${Ee}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,He.unit)(ke)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${we}-with-text-start`]:{"&::before":{width:`calc(${Qe} * 100%)`},"&::after":{width:`calc(100% - ${Qe} * 100%)`}},[`&-horizontal${we}-with-text-end`]:{"&::before":{width:`calc(100% - ${Qe} * 100%)`},"&::after":{width:`calc(${Qe} * 100%)`}},[`${we}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:ze},"&-dashed":{background:"none",borderColor:Ee,borderStyle:"dashed",borderWidth:`${(0,He.unit)(ke)} 0 0`},[`&-horizontal${we}-with-text${we}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${we}-dashed`]:{borderInlineStartWidth:ke,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:Ee,borderStyle:"dotted",borderWidth:`${(0,He.unit)(ke)} 0 0`},[`&-horizontal${we}-with-text${we}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${we}-dotted`]:{borderInlineStartWidth:ke,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${we}-with-text`]:{color:_e.colorText,fontWeight:"normal",fontSize:_e.fontSize},[`&-horizontal${we}-with-text-start${we}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${we}-inner-text`]:{paddingInlineStart:xe}},[`&-horizontal${we}-with-text-end${we}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${we}-inner-text`]:{paddingInlineEnd:xe}}})}},oe=_e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:_e.marginXS});var Oe=(0,Ue.I$)("Divider",_e=>{const we=(0,fe.mergeToken)(_e,{dividerHorizontalWithTextGutterMargin:_e.margin,dividerHorizontalGutterMargin:_e.marginLG,sizePaddingEdgeHorizontal:0});return[Ce(we)]},oe,{unitless:{orientationMargin:!0}}),ve=function(_e,we){var xe={};for(var Ee in _e)Object.prototype.hasOwnProperty.call(_e,Ee)&&we.indexOf(Ee)<0&&(xe[Ee]=_e[Ee]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,Ee=Object.getOwnPropertySymbols(_e);ke<Ee.length;ke++)we.indexOf(Ee[ke])<0&&Object.prototype.propertyIsEnumerable.call(_e,Ee[ke])&&(xe[Ee[ke]]=_e[Ee[ke]]);return xe},Ie=_e=>{const{getPrefixCls:we,direction:xe,className:Ee,style:ke}=(0,Je.dj)("divider"),{prefixCls:ze,type:Qe="horizontal",orientation:Re="center",orientationMargin:et,className:Ge,rootClassName:lt,children:it,dashed:ft,variant:bt="solid",plain:je,style:ht}=_e,Ne=ve(_e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),We=we("divider",ze),[Ut,ot,yt]=Oe(We),Ft=!!it,Ze=x.useMemo(()=>Re==="left"?xe==="rtl"?"end":"start":Re==="right"?xe==="rtl"?"start":"end":Re,[xe,Re]),Te=Ze==="start"&&et!=null,At=Ze==="end"&&et!=null,Zt=Le()(We,Ee,ot,yt,`${We}-${Qe}`,{[`${We}-with-text`]:Ft,[`${We}-with-text-${Ze}`]:Ft,[`${We}-dashed`]:!!ft,[`${We}-${bt}`]:bt!=="solid",[`${We}-plain`]:!!je,[`${We}-rtl`]:xe==="rtl",[`${We}-no-default-orientation-margin-start`]:Te,[`${We}-no-default-orientation-margin-end`]:At},Ge,lt),Kt=x.useMemo(()=>typeof et=="number"?et:/^\d+$/.test(et)?Number(et):et,[et]),rt={marginInlineStart:Te?Kt:void 0,marginInlineEnd:At?Kt:void 0};return Ut(x.createElement("div",Object.assign({className:Zt,style:Object.assign(Object.assign({},ke),ht)},Ne,{role:"separator"}),it&&Qe!=="vertical"&&x.createElement("span",{className:`${We}-inner-text`,style:rt},it)))}},36207:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return at}});var x=ae(59301),ct=ae(92310),Le=ae.n(ct),Je=ae(33885),He=ae(42978),Se=ae(43403),Ue=ae(34280),fe=x.createContext(null),Ce=x.createContext({}),oe=fe,Oe=ae(20068),ve=ae(54476),Me=ae(77900),Ie=ae(10228),_e=ae(26112),we=ae(75931),xe=ae(8654),Ee=["prefixCls","className","containerRef"],ke=function(gt){var Bt=gt.prefixCls,Lt=gt.className,Rt=gt.containerRef,Ct=(0,we.Z)(gt,Ee),st=x.useContext(Ce),$t=st.panel,Vt=(0,xe.x1)($t,Rt);return x.createElement("div",(0,ve.Z)({className:Le()("".concat(Bt,"-content"),Lt),role:"dialog",ref:Vt},(0,_e.Z)(gt,{aria:!0}),{"aria-modal":"true"},Ct))},ze=ke,Qe=ae(48736);function Re(pt){return typeof pt=="string"&&String(Number(pt))===pt?((0,Qe.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(pt)):pt}function et(pt){warning(!("wrapperClassName"in pt),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!pt.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Ge={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function lt(pt,gt){var Bt,Lt,Rt,Ct=pt.prefixCls,st=pt.open,$t=pt.placement,Vt=pt.inline,bn=pt.push,an=pt.forceRender,en=pt.autoFocus,Hn=pt.keyboard,En=pt.classNames,Mt=pt.rootClassName,sn=pt.rootStyle,Dn=pt.zIndex,Wn=pt.className,It=pt.id,Wt=pt.style,rn=pt.motion,mn=pt.width,Xn=pt.height,Fr=pt.children,ri=pt.mask,Hr=pt.maskClosable,Ir=pt.maskMotion,er=pt.maskClassName,vr=pt.maskStyle,Mr=pt.afterOpenChange,Yn=pt.onClose,sr=pt.onMouseEnter,jn=pt.onMouseOver,ur=pt.onMouseLeave,br=pt.onClick,Xr=pt.onKeyDown,Yr=pt.onKeyUp,pi=pt.styles,ci=pt.drawerRender,Hi=x.useRef(),mi=x.useRef(),no=x.useRef();x.useImperativeHandle(gt,function(){return Hi.current});var Ki=function(Ar){var ar=Ar.keyCode,ei=Ar.shiftKey;switch(ar){case Ie.Z.TAB:{if(ar===Ie.Z.TAB){if(!ei&&document.activeElement===no.current){var tr;(tr=mi.current)===null||tr===void 0||tr.focus({preventScroll:!0})}else if(ei&&document.activeElement===mi.current){var Un;(Un=no.current)===null||Un===void 0||Un.focus({preventScroll:!0})}}break}case Ie.Z.ESC:{Yn&&Hn&&(Ar.stopPropagation(),Yn(Ar));break}}};x.useEffect(function(){if(st&&en){var ir;(ir=Hi.current)===null||ir===void 0||ir.focus({preventScroll:!0})}},[st]);var fr=x.useState(!1),Lr=(0,He.Z)(fr,2),gi=Lr[0],Xt=Lr[1],ln=x.useContext(oe),yn;typeof bn=="boolean"?yn=bn?{}:{distance:0}:yn=bn||{};var kt=(Bt=(Lt=(Rt=yn)===null||Rt===void 0?void 0:Rt.distance)!==null&&Lt!==void 0?Lt:ln==null?void 0:ln.pushDistance)!==null&&Bt!==void 0?Bt:180,dn=x.useMemo(function(){return{pushDistance:kt,push:function(){Xt(!0)},pull:function(){Xt(!1)}}},[kt]);x.useEffect(function(){if(st){var ir;ln==null||(ir=ln.push)===null||ir===void 0||ir.call(ln)}else{var Ar;ln==null||(Ar=ln.pull)===null||Ar===void 0||Ar.call(ln)}},[st]),x.useEffect(function(){return function(){var ir;ln==null||(ir=ln.pull)===null||ir===void 0||ir.call(ln)}},[]);var zt=ri&&x.createElement(Me.default,(0,ve.Z)({key:"mask"},Ir,{visible:st}),function(ir,Ar){var ar=ir.className,ei=ir.style;return x.createElement("div",{className:Le()("".concat(Ct,"-mask"),ar,En==null?void 0:En.mask,er),style:(0,Je.Z)((0,Je.Z)((0,Je.Z)({},ei),vr),pi==null?void 0:pi.mask),onClick:Hr&&st?Yn:void 0,ref:Ar})}),hn=typeof rn=="function"?rn($t):rn,Pn={};if(gi&&kt)switch($t){case"top":Pn.transform="translateY(".concat(kt,"px)");break;case"bottom":Pn.transform="translateY(".concat(-kt,"px)");break;case"left":Pn.transform="translateX(".concat(kt,"px)");break;default:Pn.transform="translateX(".concat(-kt,"px)");break}$t==="left"||$t==="right"?Pn.width=Re(mn):Pn.height=Re(Xn);var _r={onMouseEnter:sr,onMouseOver:jn,onMouseLeave:ur,onClick:br,onKeyDown:Xr,onKeyUp:Yr},Jr=x.createElement(Me.default,(0,ve.Z)({key:"panel"},hn,{visible:st,forceRender:an,onVisibleChanged:function(Ar){Mr==null||Mr(Ar)},removeOnLeave:!1,leavedClassName:"".concat(Ct,"-content-wrapper-hidden")}),function(ir,Ar){var ar=ir.className,ei=ir.style,tr=x.createElement(ze,(0,ve.Z)({id:It,containerRef:Ar,prefixCls:Ct,className:Le()(Wn,En==null?void 0:En.content),style:(0,Je.Z)((0,Je.Z)({},Wt),pi==null?void 0:pi.content)},(0,_e.Z)(pt,{aria:!0}),_r),Fr);return x.createElement("div",(0,ve.Z)({className:Le()("".concat(Ct,"-content-wrapper"),En==null?void 0:En.wrapper,ar),style:(0,Je.Z)((0,Je.Z)((0,Je.Z)({},Pn),ei),pi==null?void 0:pi.wrapper)},(0,_e.Z)(pt,{data:!0})),ci?ci(tr):tr)}),di=(0,Je.Z)({},sn);return Dn&&(di.zIndex=Dn),x.createElement(oe.Provider,{value:dn},x.createElement("div",{className:Le()(Ct,"".concat(Ct,"-").concat($t),Mt,(0,Oe.Z)((0,Oe.Z)({},"".concat(Ct,"-open"),st),"".concat(Ct,"-inline"),Vt)),style:di,tabIndex:-1,ref:Hi,onKeyDown:Ki},zt,x.createElement("div",{tabIndex:0,ref:mi,style:Ge,"aria-hidden":"true","data-sentinel":"start"}),Jr,x.createElement("div",{tabIndex:0,ref:no,style:Ge,"aria-hidden":"true","data-sentinel":"end"})))}var it=x.forwardRef(lt),ft=it,bt=function(gt){var Bt=gt.open,Lt=Bt===void 0?!1:Bt,Rt=gt.prefixCls,Ct=Rt===void 0?"rc-drawer":Rt,st=gt.placement,$t=st===void 0?"right":st,Vt=gt.autoFocus,bn=Vt===void 0?!0:Vt,an=gt.keyboard,en=an===void 0?!0:an,Hn=gt.width,En=Hn===void 0?378:Hn,Mt=gt.mask,sn=Mt===void 0?!0:Mt,Dn=gt.maskClosable,Wn=Dn===void 0?!0:Dn,It=gt.getContainer,Wt=gt.forceRender,rn=gt.afterOpenChange,mn=gt.destroyOnClose,Xn=gt.onMouseEnter,Fr=gt.onMouseOver,ri=gt.onMouseLeave,Hr=gt.onClick,Ir=gt.onKeyDown,er=gt.onKeyUp,vr=gt.panelRef,Mr=x.useState(!1),Yn=(0,He.Z)(Mr,2),sr=Yn[0],jn=Yn[1],ur=x.useState(!1),br=(0,He.Z)(ur,2),Xr=br[0],Yr=br[1];(0,Ue.Z)(function(){Yr(!0)},[]);var pi=Xr?Lt:!1,ci=x.useRef(),Hi=x.useRef();(0,Ue.Z)(function(){pi&&(Hi.current=document.activeElement)},[pi]);var mi=function(gi){var Xt;if(jn(gi),rn==null||rn(gi),!gi&&Hi.current&&!((Xt=ci.current)!==null&&Xt!==void 0&&Xt.contains(Hi.current))){var ln;(ln=Hi.current)===null||ln===void 0||ln.focus({preventScroll:!0})}},no=x.useMemo(function(){return{panel:vr}},[vr]);if(!Wt&&!sr&&!pi&&mn)return null;var Ki={onMouseEnter:Xn,onMouseOver:Fr,onMouseLeave:ri,onClick:Hr,onKeyDown:Ir,onKeyUp:er},fr=(0,Je.Z)((0,Je.Z)({},gt),{},{open:pi,prefixCls:Ct,placement:$t,autoFocus:bn,keyboard:en,width:En,mask:sn,maskClosable:Wn,inline:It===!1,afterOpenChange:mi,ref:ci},Ki);return x.createElement(Ce.Provider,{value:no},x.createElement(Se.Z,{open:pi||Wt||sr,autoDestroy:!1,getContainer:It,autoLock:sn&&(pi||sr)},x.createElement(ft,fr)))},je=bt,ht=je,Ne=ae(62487),We=ae(75030),Ut=ae(86641),ot=ae(55743),yt=ae(48755),Ft=ae(91190),Ze=ae(78776),Te=ae(458),Zt=pt=>{var gt,Bt;const{prefixCls:Lt,title:Rt,footer:Ct,extra:st,loading:$t,onClose:Vt,headerStyle:bn,bodyStyle:an,footerStyle:en,children:Hn,classNames:En,styles:Mt}=pt,sn=(0,yt.dj)("drawer"),Dn=x.useCallback(mn=>x.createElement("button",{type:"button",onClick:Vt,"aria-label":"Close",className:`${Lt}-close`},mn),[Vt]),[Wn,It]=(0,Ze.Z)((0,Ze.w)(pt),(0,Ze.w)(sn),{closable:!0,closeIconRender:Dn}),Wt=x.useMemo(()=>{var mn,Xn;return!Rt&&!Wn?null:x.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(mn=sn.styles)===null||mn===void 0?void 0:mn.header),bn),Mt==null?void 0:Mt.header),className:Le()(`${Lt}-header`,{[`${Lt}-header-close-only`]:Wn&&!Rt&&!st},(Xn=sn.classNames)===null||Xn===void 0?void 0:Xn.header,En==null?void 0:En.header)},x.createElement("div",{className:`${Lt}-header-title`},It,Rt&&x.createElement("div",{className:`${Lt}-title`},Rt)),st&&x.createElement("div",{className:`${Lt}-extra`},st))},[Wn,It,st,bn,Lt,Rt]),rn=x.useMemo(()=>{var mn,Xn;if(!Ct)return null;const Fr=`${Lt}-footer`;return x.createElement("div",{className:Le()(Fr,(mn=sn.classNames)===null||mn===void 0?void 0:mn.footer,En==null?void 0:En.footer),style:Object.assign(Object.assign(Object.assign({},(Xn=sn.styles)===null||Xn===void 0?void 0:Xn.footer),en),Mt==null?void 0:Mt.footer)},Ct)},[Ct,en,Lt]);return x.createElement(x.Fragment,null,Wt,x.createElement("div",{className:Le()(`${Lt}-body`,En==null?void 0:En.body,(gt=sn.classNames)===null||gt===void 0?void 0:gt.body),style:Object.assign(Object.assign(Object.assign({},(Bt=sn.styles)===null||Bt===void 0?void 0:Bt.body),an),Mt==null?void 0:Mt.body)},$t?x.createElement(Te.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${Lt}-body-skeleton`}):Hn),rn)},Kt=ae(36237),rt=ae(63356),Nt=ae(16931),Qt=ae(51636);const pn=pt=>{const gt="100%";return{left:`translateX(-${gt})`,right:`translateX(${gt})`,top:`translateY(-${gt})`,bottom:`translateY(${gt})`}[pt]},Ot=(pt,gt)=>({"&-enter, &-appear":Object.assign(Object.assign({},pt),{"&-active":gt}),"&-leave":Object.assign(Object.assign({},gt),{"&-active":pt})}),vn=(pt,gt)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${gt}`}}},Ot({opacity:pt},{opacity:1})),_t=(pt,gt)=>[vn(.7,gt),Ot({transform:pn(pt)},{transform:"none"})];var on=pt=>{const{componentCls:gt,motionDurationSlow:Bt}=pt;return{[gt]:{[`${gt}-mask-motion`]:vn(0,Bt),[`${gt}-panel-motion`]:["left","right","top","bottom"].reduce((Lt,Rt)=>Object.assign(Object.assign({},Lt),{[`&-${Rt}`]:_t(Rt,Bt)}),{})}}};const de=pt=>{const{borderRadiusSM:gt,componentCls:Bt,zIndexPopup:Lt,colorBgMask:Rt,colorBgElevated:Ct,motionDurationSlow:st,motionDurationMid:$t,paddingXS:Vt,padding:bn,paddingLG:an,fontSizeLG:en,lineHeightLG:Hn,lineWidth:En,lineType:Mt,colorSplit:sn,marginXS:Dn,colorIcon:Wn,colorIconHover:It,colorBgTextHover:Wt,colorBgTextActive:rn,colorText:mn,fontWeightStrong:Xn,footerPaddingBlock:Fr,footerPaddingInline:ri,calc:Hr}=pt,Ir=`${Bt}-content-wrapper`;return{[Bt]:{position:"fixed",inset:0,zIndex:Lt,pointerEvents:"none",color:mn,"&-pure":{position:"relative",background:Ct,display:"flex",flexDirection:"column",[`&${Bt}-left`]:{boxShadow:pt.boxShadowDrawerLeft},[`&${Bt}-right`]:{boxShadow:pt.boxShadowDrawerRight},[`&${Bt}-top`]:{boxShadow:pt.boxShadowDrawerUp},[`&${Bt}-bottom`]:{boxShadow:pt.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Bt}-mask`]:{position:"absolute",inset:0,zIndex:Lt,background:Rt,pointerEvents:"auto"},[Ir]:{position:"absolute",zIndex:Lt,maxWidth:"100vw",transition:`all ${st}`,"&-hidden":{display:"none"}},[`&-left > ${Ir}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:pt.boxShadowDrawerLeft},[`&-right > ${Ir}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:pt.boxShadowDrawerRight},[`&-top > ${Ir}`]:{top:0,insetInline:0,boxShadow:pt.boxShadowDrawerUp},[`&-bottom > ${Ir}`]:{bottom:0,insetInline:0,boxShadow:pt.boxShadowDrawerDown},[`${Bt}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:Ct,pointerEvents:"auto"},[`${Bt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,Kt.unit)(bn)} ${(0,Kt.unit)(an)}`,fontSize:en,lineHeight:Hn,borderBottom:`${(0,Kt.unit)(En)} ${Mt} ${sn}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Bt}-extra`]:{flex:"none"},[`${Bt}-close`]:Object.assign({display:"inline-flex",width:Hr(en).add(Vt).equal(),height:Hr(en).add(Vt).equal(),borderRadius:gt,justifyContent:"center",alignItems:"center",marginInlineEnd:Dn,color:Wn,fontWeight:Xn,fontSize:en,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${$t}`,textRendering:"auto","&:hover":{color:It,backgroundColor:Wt,textDecoration:"none"},"&:active":{backgroundColor:rn}},(0,rt.Qy)(pt)),[`${Bt}-title`]:{flex:1,margin:0,fontWeight:pt.fontWeightStrong,fontSize:en,lineHeight:Hn},[`${Bt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:an,overflow:"auto",[`${Bt}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${Bt}-footer`]:{flexShrink:0,padding:`${(0,Kt.unit)(Fr)} ${(0,Kt.unit)(ri)}`,borderTop:`${(0,Kt.unit)(En)} ${Mt} ${sn}`},"&-rtl":{direction:"rtl"}}}},ge=pt=>({zIndexPopup:pt.zIndexPopupBase,footerPaddingBlock:pt.paddingXS,footerPaddingInline:pt.padding});var ie=(0,Nt.I$)("Drawer",pt=>{const gt=(0,Qt.mergeToken)(pt,{});return[de(gt),on(gt)]},ge),ee=function(pt,gt){var Bt={};for(var Lt in pt)Object.prototype.hasOwnProperty.call(pt,Lt)&&gt.indexOf(Lt)<0&&(Bt[Lt]=pt[Lt]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rt=0,Lt=Object.getOwnPropertySymbols(pt);Rt<Lt.length;Rt++)gt.indexOf(Lt[Rt])<0&&Object.prototype.propertyIsEnumerable.call(pt,Lt[Rt])&&(Bt[Lt[Rt]]=pt[Lt[Rt]]);return Bt};const le=null,se={distance:180},Be=pt=>{var gt;const{rootClassName:Bt,width:Lt,height:Rt,size:Ct="default",mask:st=!0,push:$t=se,open:Vt,afterOpenChange:bn,onClose:an,prefixCls:en,getContainer:Hn,style:En,className:Mt,visible:sn,afterVisibleChange:Dn,maskStyle:Wn,drawerStyle:It,contentWrapperStyle:Wt}=pt,rn=ee(pt,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:mn,getPrefixCls:Xn,direction:Fr,className:ri,style:Hr,classNames:Ir,styles:er}=(0,yt.dj)("drawer"),vr=Xn("drawer",en),[Mr,Yn,sr]=ie(vr),jn=Hn===void 0&&mn?()=>mn(document.body):Hn,ur=Le()({"no-mask":!st,[`${vr}-rtl`]:Fr==="rtl"},Bt,Yn,sr),br=x.useMemo(()=>Lt!=null?Lt:Ct==="large"?736:378,[Lt,Ct]),Xr=x.useMemo(()=>Rt!=null?Rt:Ct==="large"?736:378,[Rt,Ct]),Yr={motionName:(0,Ut.m)(vr,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},pi=fr=>({motionName:(0,Ut.m)(vr,`panel-motion-${fr}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),ci=(0,Ft.H)(),[Hi,mi]=(0,We.Cn)("Drawer",rn.zIndex),{classNames:no={},styles:Ki={}}=rn;return Mr(x.createElement(Ne.Z,{form:!0,space:!0},x.createElement(ot.Z.Provider,{value:mi},x.createElement(ht,Object.assign({prefixCls:vr,onClose:an,maskMotion:Yr,motion:pi},rn,{classNames:{mask:Le()(no.mask,Ir.mask),content:Le()(no.content,Ir.content),wrapper:Le()(no.wrapper,Ir.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Ki.mask),Wn),er.mask),content:Object.assign(Object.assign(Object.assign({},Ki.content),It),er.content),wrapper:Object.assign(Object.assign(Object.assign({},Ki.wrapper),Wt),er.wrapper)},open:Vt!=null?Vt:sn,mask:st,push:$t,width:br,height:Xr,style:Object.assign(Object.assign({},Hr),En),className:Le()(ri,Mt),rootClassName:ur,getContainer:jn,afterOpenChange:bn!=null?bn:Dn,panelRef:ci,zIndex:Hi}),x.createElement(Zt,Object.assign({prefixCls:vr},rn,{onClose:an}))))))},$e=pt=>{const{prefixCls:gt,style:Bt,className:Lt,placement:Rt="right"}=pt,Ct=ee(pt,["prefixCls","style","className","placement"]),{getPrefixCls:st}=x.useContext(yt.E_),$t=st("drawer",gt),[Vt,bn,an]=ie($t),en=Le()($t,`${$t}-pure`,`${$t}-${Rt}`,bn,an,Lt);return Vt(x.createElement("div",{className:en,style:Bt},x.createElement(Zt,Object.assign({prefixCls:$t},Ct))))};Be._InternalPanelDoNotUseOrYouWillBeFired=$e;var at=Be},19563:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Kt}});var x=ae(59301),ct=ae(33853),Le=ae(38819),Je=ae(92310),He=ae.n(Je),Se=ae(96478),Ue=ae(6089),fe=ae(18929),Ce=ae(2738),oe=ae(75030),ve=rt=>typeof rt!="object"&&typeof rt!="function"||rt===null,Me=ae(52838),Ie=ae(45915),_e=ae(22703),we=ae(32383),xe=ae(55743),Ee=ae(48755),ke=ae(83397),ze=ae(93041),Qe=ae(78857),Re=ae(57700),et=ae(36237),Ge=ae(63356),lt=ae(46e3),it=ae(93873),ft=ae(34925),bt=ae(37645),je=ae(36305),ht=ae(16931),Ne=ae(51636),Ut=rt=>{const{componentCls:Nt,menuCls:Qt,colorError:pn,colorTextLightSolid:Ot}=rt,vn=`${Qt}-item`;return{[`${Nt}, ${Nt}-menu-submenu`]:{[`${Qt} ${vn}`]:{[`&${vn}-danger:not(${vn}-disabled)`]:{color:pn,"&:hover":{color:Ot,backgroundColor:pn}}}}}};const ot=rt=>{const{componentCls:Nt,menuCls:Qt,zIndexPopup:pn,dropdownArrowDistance:Ot,sizePopupArrow:vn,antCls:_t,iconCls:Fn,motionDurationMid:on,paddingBlock:de,fontSize:ge,dropdownEdgeChildPadding:ie,colorTextDisabled:ee,fontSizeIcon:le,controlPaddingHorizontal:se,colorBgElevated:Be}=rt;return[{[Nt]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:pn,display:"block","&::before":{position:"absolute",insetBlock:rt.calc(vn).div(2).sub(Ot).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${_t}-btn`]:{[`& > ${Fn}-down, & > ${_t}-btn-icon > ${Fn}-down`]:{fontSize:le}},[`${Nt}-wrap`]:{position:"relative",[`${_t}-btn > ${Fn}-down`]:{fontSize:le},[`${Fn}-down::before`]:{transition:`transform ${on}`}},[`${Nt}-wrap-open`]:{[`${Fn}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${_t}-slide-down-enter${_t}-slide-down-enter-active${Nt}-placement-bottomLeft,
&${_t}-slide-down-appear${_t}-slide-down-appear-active${Nt}-placement-bottomLeft,
&${_t}-slide-down-enter${_t}-slide-down-enter-active${Nt}-placement-bottom,
&${_t}-slide-down-appear${_t}-slide-down-appear-active${Nt}-placement-bottom,
&${_t}-slide-down-enter${_t}-slide-down-enter-active${Nt}-placement-bottomRight,
&${_t}-slide-down-appear${_t}-slide-down-appear-active${Nt}-placement-bottomRight`]:{animationName:lt.fJ},[`&${_t}-slide-up-enter${_t}-slide-up-enter-active${Nt}-placement-topLeft,
&${_t}-slide-up-appear${_t}-slide-up-appear-active${Nt}-placement-topLeft,
&${_t}-slide-up-enter${_t}-slide-up-enter-active${Nt}-placement-top,
&${_t}-slide-up-appear${_t}-slide-up-appear-active${Nt}-placement-top,
&${_t}-slide-up-enter${_t}-slide-up-enter-active${Nt}-placement-topRight,
&${_t}-slide-up-appear${_t}-slide-up-appear-active${Nt}-placement-topRight`]:{animationName:lt.Qt},[`&${_t}-slide-down-leave${_t}-slide-down-leave-active${Nt}-placement-bottomLeft,
&${_t}-slide-down-leave${_t}-slide-down-leave-active${Nt}-placement-bottom,
&${_t}-slide-down-leave${_t}-slide-down-leave-active${Nt}-placement-bottomRight`]:{animationName:lt.Uw},[`&${_t}-slide-up-leave${_t}-slide-up-leave-active${Nt}-placement-topLeft,
&${_t}-slide-up-leave${_t}-slide-up-leave-active${Nt}-placement-top,
&${_t}-slide-up-leave${_t}-slide-up-leave-active${Nt}-placement-topRight`]:{animationName:lt.ly}}},(0,bt.ZP)(rt,Be,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Nt} ${Qt}`]:{position:"relative",margin:0},[`${Qt}-submenu-popup`]:{position:"absolute",zIndex:pn,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Nt}, ${Nt}-menu-submenu`]:Object.assign(Object.assign({},(0,Ge.Wf)(rt)),{[Qt]:Object.assign(Object.assign({padding:ie,listStyleType:"none",backgroundColor:Be,backgroundClip:"padding-box",borderRadius:rt.borderRadiusLG,outline:"none",boxShadow:rt.boxShadowSecondary},(0,Ge.Qy)(rt)),{"&:empty":{padding:0,boxShadow:"none"},[`${Qt}-item-group-title`]:{padding:`${(0,et.unit)(de)} ${(0,et.unit)(se)}`,color:rt.colorTextDescription,transition:`all ${on}`},[`${Qt}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Qt}-item-icon`]:{minWidth:ge,marginInlineEnd:rt.marginXS,fontSize:rt.fontSizeSM},[`${Qt}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${on}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${Qt}-item-extra`]:{paddingInlineStart:rt.padding,marginInlineStart:"auto",fontSize:rt.fontSizeSM,color:rt.colorTextDescription}},[`${Qt}-item, ${Qt}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,et.unit)(de)} ${(0,et.unit)(se)}`,color:rt.colorText,fontWeight:"normal",fontSize:ge,lineHeight:rt.lineHeight,cursor:"pointer",transition:`all ${on}`,borderRadius:rt.borderRadiusSM,"&:hover, &-active":{backgroundColor:rt.controlItemBgHover}},(0,Ge.Qy)(rt)),{"&-selected":{color:rt.colorPrimary,backgroundColor:rt.controlItemBgActive,"&:hover, &-active":{backgroundColor:rt.controlItemBgActiveHover}},"&-disabled":{color:ee,cursor:"not-allowed","&:hover":{color:ee,backgroundColor:Be,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,et.unit)(rt.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:rt.colorSplit},[`${Nt}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:rt.paddingXS,[`${Nt}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:rt.colorTextDescription,fontSize:le,fontStyle:"normal"}}}),[`${Qt}-item-group-list`]:{margin:`0 ${(0,et.unit)(rt.marginXS)}`,padding:0,listStyle:"none"},[`${Qt}-submenu-title`]:{paddingInlineEnd:rt.calc(se).add(rt.fontSizeSM).equal()},[`${Qt}-submenu-vertical`]:{position:"relative"},[`${Qt}-submenu${Qt}-submenu-disabled ${Nt}-menu-submenu-title`]:{[`&, ${Nt}-menu-submenu-arrow-icon`]:{color:ee,backgroundColor:Be,cursor:"not-allowed"}},[`${Qt}-submenu-selected ${Nt}-menu-submenu-title`]:{color:rt.colorPrimary}})})},[(0,lt.oN)(rt,"slide-up"),(0,lt.oN)(rt,"slide-down"),(0,it.Fm)(rt,"move-up"),(0,it.Fm)(rt,"move-down"),(0,ft._y)(rt,"zoom-big")]]},yt=rt=>Object.assign(Object.assign({zIndexPopup:rt.zIndexPopupBase+50,paddingBlock:(rt.controlHeight-rt.fontSize*rt.lineHeight)/2},(0,bt.wZ)({contentRadius:rt.borderRadiusLG,limitVerticalRadius:!0})),(0,je.w)(rt));var Ft=(0,ht.I$)("Dropdown",rt=>{const{marginXXS:Nt,sizePopupArrow:Qt,paddingXXS:pn,componentCls:Ot}=rt,vn=(0,Ne.mergeToken)(rt,{menuCls:`${Ot}-menu`,dropdownArrowDistance:rt.calc(Qt).div(2).add(Nt).equal(),dropdownEdgeChildPadding:pn});return[ot(vn),Ut(vn)]},yt,{resetStyle:!1});const Ze=null,Te=rt=>{var Nt;const{menu:Qt,arrow:pn,prefixCls:Ot,children:vn,trigger:_t,disabled:Fn,dropdownRender:on,getPopupContainer:de,overlayClassName:ge,rootClassName:ie,overlayStyle:ee,open:le,onOpenChange:se,visible:Be,onVisibleChange:$e,mouseEnterDelay:at=.15,mouseLeaveDelay:pt=.1,autoAdjustOverflow:gt=!0,placement:Bt="",overlay:Lt,transitionName:Rt}=rt,{getPopupContainer:Ct,getPrefixCls:st,direction:$t,dropdown:Vt}=x.useContext(Ee.E_),bn=(0,we.ln)("Dropdown"),an=x.useMemo(()=>{const jn=st();return Rt!==void 0?Rt:Bt.includes("top")?`${jn}-slide-down`:`${jn}-slide-up`},[st,Bt,Rt]),en=x.useMemo(()=>Bt?Bt.includes("Center")?Bt.slice(0,Bt.indexOf("Center")):Bt:$t==="rtl"?"bottomRight":"bottomLeft",[Bt,$t]),Hn=st("dropdown",Ot),En=(0,ke.Z)(Hn),[Mt,sn,Dn]=Ft(Hn,En),[,Wn]=(0,Re.ZP)(),It=x.Children.only(ve(vn)?x.createElement("span",null,vn):vn),Wt=(0,_e.Tm)(It,{className:He()(`${Hn}-trigger`,{[`${Hn}-rtl`]:$t==="rtl"},It.props.className),disabled:(Nt=It.props.disabled)!==null&&Nt!==void 0?Nt:Fn}),rn=Fn?[]:_t,mn=!!(rn!=null&&rn.includes("contextMenu")),[Xn,Fr]=(0,fe.Z)(!1,{value:le!=null?le:Be}),ri=(0,Ue.Z)(jn=>{se==null||se(jn,{source:"trigger"}),$e==null||$e(jn),Fr(jn)}),Hr=He()(ge,ie,sn,Dn,En,Vt==null?void 0:Vt.className,{[`${Hn}-rtl`]:$t==="rtl"}),Ir=(0,Me.Z)({arrowPointAtCenter:typeof pn=="object"&&pn.pointAtCenter,autoAdjustOverflow:gt,offset:Wn.marginXXS,arrowWidth:pn?Wn.sizePopupArrow:0,borderRadius:Wn.borderRadius}),er=x.useCallback(()=>{Qt!=null&&Qt.selectable&&(Qt!=null&&Qt.multiple)||(se==null||se(!1,{source:"menu"}),Fr(!1))},[Qt==null?void 0:Qt.selectable,Qt==null?void 0:Qt.multiple]),vr=()=>{let jn;return Qt!=null&&Qt.items?jn=x.createElement(ze.default,Object.assign({},Qt)):typeof Lt=="function"?jn=Lt():jn=Lt,on&&(jn=on(jn)),jn=x.Children.only(typeof jn=="string"?x.createElement("span",null,jn):jn),x.createElement(Qe.J,{prefixCls:`${Hn}-menu`,rootClassName:He()(Dn,En),expandIcon:x.createElement("span",{className:`${Hn}-menu-submenu-arrow`},$t==="rtl"?x.createElement(ct.Z,{className:`${Hn}-menu-submenu-arrow-icon`}):x.createElement(Le.Z,{className:`${Hn}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:er,validator:ur=>{let{mode:br}=ur}},jn)},[Mr,Yn]=(0,oe.Cn)("Dropdown",ee==null?void 0:ee.zIndex);let sr=x.createElement(Se.Z,Object.assign({alignPoint:mn},(0,Ce.Z)(rt,["rootClassName"]),{mouseEnterDelay:at,mouseLeaveDelay:pt,visible:Xn,builtinPlacements:Ir,arrow:!!pn,overlayClassName:Hr,prefixCls:Hn,getPopupContainer:de||Ct,transitionName:an,trigger:rn,overlay:vr,placement:en,onVisibleChange:ri,overlayStyle:Object.assign(Object.assign(Object.assign({},Vt==null?void 0:Vt.style),ee),{zIndex:Mr})}),Wt);return Mr&&(sr=x.createElement(xe.Z.Provider,{value:Yn},sr)),Mt(sr)},At=(0,Ie.Z)(Te,"align",void 0,"dropdown",rt=>rt),Zt=rt=>x.createElement(At,Object.assign({},rt),x.createElement("span",null));Te._InternalPanelDoNotUseOrYouWillBeFired=Zt;var Kt=Te},75727:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Ie}});var x=ae(19563),ct=ae(59301),Le=ae(18785),Je=ae(92310),He=ae.n(Je),Se=ae(7939),Ue=ae(48755),fe=ae(44104),Ce=ae(70045),oe=function(_e,we){var xe={};for(var Ee in _e)Object.prototype.hasOwnProperty.call(_e,Ee)&&we.indexOf(Ee)<0&&(xe[Ee]=_e[Ee]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,Ee=Object.getOwnPropertySymbols(_e);ke<Ee.length;ke++)we.indexOf(Ee[ke])<0&&Object.prototype.propertyIsEnumerable.call(_e,Ee[ke])&&(xe[Ee[ke]]=_e[Ee[ke]]);return xe};const Oe=_e=>{const{getPopupContainer:we,getPrefixCls:xe,direction:Ee}=ct.useContext(Ue.E_),{prefixCls:ke,type:ze="default",danger:Qe,disabled:Re,loading:et,onClick:Ge,htmlType:lt,children:it,className:ft,menu:bt,arrow:je,autoFocus:ht,overlay:Ne,trigger:We,align:Ut,open:ot,onOpenChange:yt,placement:Ft,getPopupContainer:Ze,href:Te,icon:At=ct.createElement(Le.Z,null),title:Zt,buttonsRender:Kt=at=>at,mouseEnterDelay:rt,mouseLeaveDelay:Nt,overlayClassName:Qt,overlayStyle:pn,destroyPopupOnHide:Ot,dropdownRender:vn}=_e,_t=oe(_e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Fn=xe("dropdown",ke),on=`${Fn}-button`,de={menu:bt,arrow:je,autoFocus:ht,align:Ut,disabled:Re,trigger:Re?[]:We,onOpenChange:yt,getPopupContainer:Ze||we,mouseEnterDelay:rt,mouseLeaveDelay:Nt,overlayClassName:Qt,overlayStyle:pn,destroyPopupOnHide:Ot,dropdownRender:vn},{compactSize:ge,compactItemClassnames:ie}=(0,Ce.ri)(Fn,Ee),ee=He()(on,ie,ft);"overlay"in _e&&(de.overlay=Ne),"open"in _e&&(de.open=ot),"placement"in _e?de.placement=Ft:de.placement=Ee==="rtl"?"bottomLeft":"bottomRight";const le=ct.createElement(Se.ZP,{type:ze,danger:Qe,disabled:Re,loading:et,onClick:Ge,htmlType:lt,href:Te,title:Zt},it),se=ct.createElement(Se.ZP,{type:ze,danger:Qe,icon:At}),[Be,$e]=Kt([le,se]);return ct.createElement(fe.Z.Compact,Object.assign({className:ee,size:ge,block:!0},_t),Be,ct.createElement(x.Z,Object.assign({},de),$e))};Oe.__ANT_BUTTON=!0;var ve=Oe;const Me=x.Z;Me.Button=ve;var Ie=Me},584:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return ze}});var x=ae(59301),ct=ae(92310),Le=ae.n(ct),Je=ae(9017),He=ae(17835),Se=ae(57700),fe=()=>{const[,Qe]=(0,Se.ZP)(),[Re]=(0,Je.Z)("Empty"),Ge=new He.FastColor(Qe.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return x.createElement("svg",{style:Ge,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},x.createElement("title",null,(Re==null?void 0:Re.description)||"Empty"),x.createElement("g",{fill:"none",fillRule:"evenodd"},x.createElement("g",{transform:"translate(24 31.67)"},x.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),x.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),x.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),x.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),x.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),x.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),x.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},x.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),x.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},oe=()=>{const[,Qe]=(0,Se.ZP)(),[Re]=(0,Je.Z)("Empty"),{colorFill:et,colorFillTertiary:Ge,colorFillQuaternary:lt,colorBgContainer:it}=Qe,{borderColor:ft,shadowColor:bt,contentColor:je}=(0,x.useMemo)(()=>({borderColor:new He.FastColor(et).onBackground(it).toHexString(),shadowColor:new He.FastColor(Ge).onBackground(it).toHexString(),contentColor:new He.FastColor(lt).onBackground(it).toHexString()}),[et,Ge,lt,it]);return x.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},x.createElement("title",null,(Re==null?void 0:Re.description)||"Empty"),x.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},x.createElement("ellipse",{fill:bt,cx:"32",cy:"33",rx:"32",ry:"7"}),x.createElement("g",{fillRule:"nonzero",stroke:ft},x.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),x.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:je}))))},Oe=ae(16931),ve=ae(51636);const Me=Qe=>{const{componentCls:Re,margin:et,marginXS:Ge,marginXL:lt,fontSize:it,lineHeight:ft}=Qe;return{[Re]:{marginInline:Ge,fontSize:it,lineHeight:ft,textAlign:"center",[`${Re}-image`]:{height:Qe.emptyImgHeight,marginBottom:Ge,opacity:Qe.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${Re}-description`]:{color:Qe.colorTextDescription},[`${Re}-footer`]:{marginTop:et},"&-normal":{marginBlock:lt,color:Qe.colorTextDescription,[`${Re}-description`]:{color:Qe.colorTextDescription},[`${Re}-image`]:{height:Qe.emptyImgHeightMD}},"&-small":{marginBlock:Ge,color:Qe.colorTextDescription,[`${Re}-image`]:{height:Qe.emptyImgHeightSM}}}}};var Ie=(0,Oe.I$)("Empty",Qe=>{const{componentCls:Re,controlHeightLG:et,calc:Ge}=Qe,lt=(0,ve.mergeToken)(Qe,{emptyImgCls:`${Re}-img`,emptyImgHeight:Ge(et).mul(2.5).equal(),emptyImgHeightMD:et,emptyImgHeightSM:Ge(et).mul(.875).equal()});return[Me(lt)]}),_e=ae(48755),we=function(Qe,Re){var et={};for(var Ge in Qe)Object.prototype.hasOwnProperty.call(Qe,Ge)&&Re.indexOf(Ge)<0&&(et[Ge]=Qe[Ge]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,Ge=Object.getOwnPropertySymbols(Qe);lt<Ge.length;lt++)Re.indexOf(Ge[lt])<0&&Object.prototype.propertyIsEnumerable.call(Qe,Ge[lt])&&(et[Ge[lt]]=Qe[Ge[lt]]);return et};const xe=x.createElement(fe,null),Ee=x.createElement(oe,null),ke=Qe=>{const{className:Re,rootClassName:et,prefixCls:Ge,image:lt=xe,description:it,children:ft,imageStyle:bt,style:je,classNames:ht,styles:Ne}=Qe,We=we(Qe,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:Ut,direction:ot,className:yt,style:Ft,classNames:Ze,styles:Te}=(0,_e.dj)("empty"),At=Ut("empty",Ge),[Zt,Kt,rt]=Ie(At),[Nt]=(0,Je.Z)("Empty"),Qt=typeof it!="undefined"?it:Nt==null?void 0:Nt.description,pn=typeof Qt=="string"?Qt:"empty";let Ot=null;return typeof lt=="string"?Ot=x.createElement("img",{alt:pn,src:lt}):Ot=lt,Zt(x.createElement("div",Object.assign({className:Le()(Kt,rt,At,yt,{[`${At}-normal`]:lt===Ee,[`${At}-rtl`]:ot==="rtl"},Re,et,Ze.root,ht==null?void 0:ht.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},Te.root),Ft),Ne==null?void 0:Ne.root),je)},We),x.createElement("div",{className:Le()(`${At}-image`,Ze.image,ht==null?void 0:ht.image),style:Object.assign(Object.assign(Object.assign({},bt),Te.image),Ne==null?void 0:Ne.image)},Ot),Qt&&x.createElement("div",{className:Le()(`${At}-description`,Ze.description,ht==null?void 0:ht.description),style:Object.assign(Object.assign({},Te.description),Ne==null?void 0:Ne.description)},Qt),ft&&x.createElement("div",{className:Le()(`${At}-footer`,Ze.footer,ht==null?void 0:ht.footer),style:Object.assign(Object.assign({},Te.footer),Ne==null?void 0:Ne.footer)},ft)))};ke.PRESENTED_IMAGE_DEFAULT=xe,ke.PRESENTED_IMAGE_SIMPLE=Ee;var ze=ke},28284:function(Vn,Tt,ae){"use strict";ae.d(Tt,{default:function(){return yn}});var x=ae(56553),ct=ae(94480),Le=ae(59301),Je=ae(92310),He=ae.n(Je),Se=ae(77900),Ue=ae(86641),fe=ae(83397);function Ce(kt){const[dn,zt]=Le.useState(kt);return Le.useEffect(()=>{const hn=setTimeout(()=>{zt(kt)},kt.length?0:10);return()=>{clearTimeout(hn)}},[kt]),dn}var oe=ae(36237),Oe=ae(63356),ve=ae(34925),Me=ae(34961),Ie=ae(51636),_e=ae(16931),xe=kt=>{const{componentCls:dn}=kt,zt=`${dn}-show-help`,hn=`${dn}-show-help-item`;return{[zt]:{transition:`opacity ${kt.motionDurationFast} ${kt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[hn]:{overflow:"hidden",transition:`height ${kt.motionDurationFast} ${kt.motionEaseInOut},
opacity ${kt.motionDurationFast} ${kt.motionEaseInOut},
transform ${kt.motionDurationFast} ${kt.motionEaseInOut} !important`,[`&${hn}-appear, &${hn}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${hn}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Ee=kt=>({legend:{display:"block",width:"100%",marginBottom:kt.marginLG,padding:0,color:kt.colorTextDescription,fontSize:kt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,oe.unit)(kt.lineWidth)} ${kt.lineType} ${kt.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,oe.unit)(kt.controlOutlineWidth)} ${kt.controlOutline}`},output:{display:"block",paddingTop:15,color:kt.colorText,fontSize:kt.fontSize,lineHeight:kt.lineHeight}}),ke=(kt,dn)=>{const{formItemCls:zt}=kt;return{[zt]:{[`${zt}-label > label`]:{height:dn},[`${zt}-control-input`]:{minHeight:dn}}}},ze=kt=>{const{componentCls:dn}=kt;return{[kt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Oe.Wf)(kt)),Ee(kt)),{[`${dn}-text`]:{display:"inline-block",paddingInlineEnd:kt.paddingSM},"&-small":Object.assign({},ke(kt,kt.controlHeightSM)),"&-large":Object.assign({},ke(kt,kt.controlHeightLG))})}},Qe=kt=>{const{formItemCls:dn,iconCls:zt,rootPrefixCls:hn,antCls:Pn,labelRequiredMarkColor:_r,labelColor:Jr,labelFontSize:di,labelHeight:ir,labelColonMarginInlineStart:Ar,labelColonMarginInlineEnd:ar,itemMarginBottom:ei}=kt;return{[dn]:Object.assign(Object.assign({},(0,Oe.Wf)(kt)),{marginBottom:ei,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
&-hidden${Pn}-row`]:{display:"none"},"&-has-warning":{[`${dn}-split`]:{color:kt.colorError}},"&-has-error":{[`${dn}-split`]:{color:kt.colorWarning}},[`${dn}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:kt.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:ir,color:Jr,fontSize:di,[`> ${zt}`]:{fontSize:kt.fontSize,verticalAlign:"top"},[`&${dn}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:kt.marginXXS,color:_r,fontSize:kt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${dn}-required-mark-hidden, &${dn}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${dn}-optional`]:{display:"inline-block",marginInlineStart:kt.marginXXS,color:kt.colorTextDescription,[`&${dn}-required-mark-hidden`]:{display:"none"}},[`${dn}-tooltip`]:{color:kt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:kt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Ar,marginInlineEnd:ar},[`&${dn}-no-colon::after`]:{content:'"\\a0"'}}},[`${dn}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${hn}-col-'"]):not([class*="' ${hn}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:kt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[dn]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:kt.colorTextDescription,fontSize:kt.fontSize,lineHeight:kt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:kt.controlHeightSM,transition:`color ${kt.motionDurationMid} ${kt.motionEaseOut}`},"&-explain":{"&-error":{color:kt.colorError},"&-warning":{color:kt.colorWarning}}},[`&-with-help ${dn}-explain`]:{height:"auto",opacity:1},[`${dn}-feedback-icon`]:{fontSize:kt.fontSize,textAlign:"center",visibility:"visible",animationName:ve.kr,animationDuration:kt.motionDurationMid,animationTimingFunction:kt.motionEaseOutBack,pointerEvents:"none","&-success":{color:kt.colorSuccess},"&-error":{color:kt.colorError},"&-warning":{color:kt.colorWarning},"&-validating":{color:kt.colorPrimary}}})}},Re=(kt,dn)=>{const{formItemCls:zt}=kt;return{[`${dn}-horizontal`]:{[`${zt}-label`]:{flexGrow:0},[`${zt}-control`]:{flex:"1 1 0",minWidth:0},[`${zt}-label[class$='-24'], ${zt}-label[class*='-24 ']`]:{[`& + ${zt}-control`]:{minWidth:"unset"}}}}},et=kt=>{const{componentCls:dn,formItemCls:zt,inlineItemMarginBottom:hn}=kt;return{[`${dn}-inline`]:{display:"flex",flexWrap:"wrap",[zt]:{flex:"none",marginInlineEnd:kt.margin,marginBottom:hn,"&-row":{flexWrap:"nowrap"},[`> ${zt}-label,
> ${zt}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${zt}-label`]:{flex:"none"},[`${dn}-text`]:{display:"inline-block"},[`${zt}-has-feedback`]:{display:"inline-block"}}}}},Ge=kt=>({padding:kt.verticalLabelPadding,margin:kt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),lt=kt=>{const{componentCls:dn,formItemCls:zt,rootPrefixCls:hn}=kt;return{[`${zt} ${zt}-label`]:Ge(kt),[`${dn}:not(${dn}-inline)`]:{[zt]:{flexWrap:"wrap",[`${zt}-label, ${zt}-control`]:{[`&:not([class*=" ${hn}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},it=kt=>{const{componentCls:dn,formItemCls:zt,antCls:hn}=kt;return{[`${dn}-vertical`]:{[`${zt}:not(${zt}-horizontal)`]:{[`${zt}-row`]:{flexDirection:"column"},[`${zt}-label > label`]:{height:"auto"},[`${zt}-control`]:{width:"100%"},[`${zt}-label,
${hn}-col-24${zt}-label,
${hn}-col-xl-24${zt}-label`]:Ge(kt)}},[`@media (max-width: ${(0,oe.unit)(kt.screenXSMax)})`]:[lt(kt),{[dn]:{[`${zt}:not(${zt}-horizontal)`]:{[`${hn}-col-xs-24${zt}-label`]:Ge(kt)}}}],[`@media (max-width: ${(0,oe.unit)(kt.screenSMMax)})`]:{[dn]:{[`${zt}:not(${zt}-horizontal)`]:{[`${hn}-col-sm-24${zt}-label`]:Ge(kt)}}},[`@media (max-width: ${(0,oe.unit)(kt.screenMDMax)})`]:{[dn]:{[`${zt}:not(${zt}-horizontal)`]:{[`${hn}-col-md-24${zt}-label`]:Ge(kt)}}},[`@media (max-width: ${(0,oe.unit)(kt.screenLGMax)})`]:{[dn]:{[`${zt}:not(${zt}-horizontal)`]:{[`${hn}-col-lg-24${zt}-label`]:Ge(kt)}}}}},ft=kt=>{const{formItemCls:dn,antCls:zt}=kt;return{[`${dn}-vertical`]:{[`${dn}-row`]:{flexDirection:"column"},[`${dn}-label > label`]:{height:"auto"},[`${dn}-control`]:{width:"100%"}},[`${dn}-vertical ${dn}-label,
${zt}-col-24${dn}-label,
${zt}-col-xl-24${dn}-label`]:Ge(kt),[`@media (max-width: ${(0,oe.unit)(kt.screenXSMax)})`]:[lt(kt),{[dn]:{[`${zt}-col-xs-24${dn}-label`]:Ge(kt)}}],[`@media (max-width: ${(0,oe.unit)(kt.screenSMMax)})`]:{[dn]:{[`${zt}-col-sm-24${dn}-label`]:Ge(kt)}},[`@media (max-width: ${(0,oe.unit)(kt.screenMDMax)})`]:{[dn]:{[`${zt}-col-md-24${dn}-label`]:Ge(kt)}},[`@media (max-width: ${(0,oe.unit)(kt.screenLGMax)})`]:{[dn]:{[`${zt}-col-lg-24${dn}-label`]:Ge(kt)}}}},bt=kt=>({labelRequiredMarkColor:kt.colorError,labelColor:kt.colorTextHeading,labelFontSize:kt.fontSize,labelHeight:kt.controlHeight,labelColonMarginInlineStart:kt.marginXXS/2,labelColonMarginInlineEnd:kt.marginXS,itemMarginBottom:kt.marginLG,verticalLabelPadding:`0 0 ${kt.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),je=(kt,dn)=>(0,Ie.mergeToken)(kt,{formItemCls:`${kt.componentCls}-item`,rootPrefixCls:dn});var ht=(0,_e.I$)("Form",(kt,dn)=>{let{rootPrefixCls:zt}=dn;const hn=je(kt,zt);return[ze(hn),Qe(hn),xe(hn),Re(hn,hn.componentCls),Re(hn,hn.formItemCls),et(hn),it(hn),ft(hn),(0,Me.Z)(hn),ve.kr]},bt,{order:-1e3});const Ne=[];function We(kt,dn,zt){let hn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof kt=="string"?kt:`${dn}-${hn}`,error:kt,errorStatus:zt}}var ot=kt=>{let{help:dn,helpStatus:zt,errors:hn=Ne,warnings:Pn=Ne,className:_r,fieldId:Jr,onVisibleChanged:di}=kt;const{prefixCls:ir}=Le.useContext(x.Rk),Ar=`${ir}-item-explain`,ar=(0,fe.Z)(ir),[ei,tr,Un]=ht(ir,ar),cr=Le.useMemo(()=>(0,Ue.Z)(ir),[ir]),Bi=Ce(hn),zn=Ce(Pn),gn=Le.useMemo(()=>dn!=null?[We(dn,"help",zt)]:[].concat((0,ct.Z)(Bi.map((pr,Zr)=>We(pr,"error","error",Zr))),(0,ct.Z)(zn.map((pr,Zr)=>We(pr,"warning","warning",Zr)))),[dn,zt,Bi,zn]),$n=Le.useMemo(()=>{const pr={};return gn.forEach(Zr=>{let{key:Ni}=Zr;pr[Ni]=(pr[Ni]||0)+1}),gn.map((Zr,Ni)=>Object.assign(Object.assign({},Zr),{key:pr[Zr.key]>1?`${Zr.key}-fallback-${Ni}`:Zr.key}))},[gn]),nr={};return Jr&&(nr.id=`${Jr}_help`),ei(Le.createElement(Se.default,{motionDeadline:cr.motionDeadline,motionName:`${ir}-show-help`,visible:!!$n.length,onVisibleChanged:di},pr=>{const{className:Zr,style:Ni}=pr;return Le.createElement("div",Object.assign({},nr,{className:He()(Ar,Zr,Un,ar,_r,tr),style:Ni}),Le.createElement(Se.CSSMotionList,Object.assign({keys:$n},(0,Ue.Z)(ir),{motionName:`${ir}-show-help-item`,component:!1}),fi=>{const{key:Li,error:vi,errorStatus:Ei,className:yi,style:Si}=fi;return Le.createElement("div",{key:Li,className:He()(yi,{[`${Ar}-${Ei}`]:Ei}),style:Si},vi)}))}))},yt=ae(22001),Ft=ae(48755),Ze=ae(2171),Te=ae(31756),At=ae(23069),Zt=ae(76846),Kt=ae(16722);const rt=["parentNode"],Nt="form_item";function Qt(kt){return kt===void 0||kt===!1?[]:Array.isArray(kt)?kt:[kt]}function pn(kt,dn){if(!kt.length)return;const zt=kt.join("_");return dn?`${dn}_${zt}`:rt.includes(zt)?`${Nt}_${zt}`:zt}function Ot(kt,dn,zt,hn,Pn,_r){let Jr=hn;return _r!==void 0?Jr=_r:zt.validating?Jr="validating":kt.length?Jr="error":dn.length?Jr="warning":(zt.touched||Pn&&zt.validated)&&(Jr="success"),Jr}var vn=function(kt,dn){var zt={};for(var hn in kt)Object.prototype.hasOwnProperty.call(kt,hn)&&dn.indexOf(hn)<0&&(zt[hn]=kt[hn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pn=0,hn=Object.getOwnPropertySymbols(kt);Pn<hn.length;Pn++)dn.indexOf(hn[Pn])<0&&Object.prototype.propertyIsEnumerable.call(kt,hn[Pn])&&(zt[hn[Pn]]=kt[hn[Pn]]);return zt};function _t(kt){return Qt(kt).join("_")}function Fn(kt,dn){const zt=dn.getFieldInstance(kt),hn=(0,Zt.bn)(zt);if(hn)return hn;const Pn=pn(Qt(kt),dn.__INTERNAL__.name);if(Pn)return document.getElementById(Pn)}function on(kt){const[dn]=(0,yt.useForm)(),zt=Le.useRef({}),hn=Le.useMemo(()=>kt!=null?kt:Object.assign(Object.assign({},dn),{__INTERNAL__:{itemRef:Pn=>_r=>{const Jr=_t(Pn);_r?zt.current[Jr]=_r:delete zt.current[Jr]}},scrollToField:function(Pn){let _r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:Jr}=_r,di=vn(_r,["focus"]),ir=Fn(Pn,hn);ir&&((0,Kt.Z)(ir,Object.assign({scrollMode:"if-needed",block:"nearest"},di)),Jr&&hn.focusField(Pn))},focusField:Pn=>{var _r,Jr;const di=hn.getFieldInstance(Pn);typeof(di==null?void 0:di.focus)=="function"?di.focus():(Jr=(_r=Fn(Pn,hn))===null||_r===void 0?void 0:_r.focus)===null||Jr===void 0||Jr.call(_r)},getFieldInstance:Pn=>{const _r=_t(Pn);return zt.current[_r]}}),[kt,dn]);return[hn]}var de=ae(98350),ge=function(kt,dn){var zt={};for(var hn in kt)Object.prototype.hasOwnProperty.call(kt,hn)&&dn.indexOf(hn)<0&&(zt[hn]=kt[hn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pn=0,hn=Object.getOwnPropertySymbols(kt);Pn<hn.length;Pn++)dn.indexOf(hn[Pn])<0&&Object.prototype.propertyIsEnumerable.call(kt,hn[Pn])&&(zt[hn[Pn]]=kt[hn[Pn]]);return zt};const ie=(kt,dn)=>{const zt=Le.useContext(Ze.Z),{getPrefixCls:hn,direction:Pn,requiredMark:_r,colon:Jr,scrollToFirstError:di,className:ir,style:Ar}=(0,Ft.dj)("form"),{prefixCls:ar,className:ei,rootClassName:tr,size:Un,disabled:cr=zt,form:Bi,colon:zn,labelAlign:gn,labelWrap:$n,labelCol:nr,wrapperCol:pr,hideRequiredMark:Zr,layout:Ni="horizontal",scrollToFirstError:fi,requiredMark:Li,onFinishFailed:vi,name:Ei,style:yi,feedbackIcons:Si,variant:wi}=kt,Ti=ge(kt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),eo=(0,Te.Z)(Un),vo=Le.useContext(de.Z),Yi=Le.useMemo(()=>Li!==void 0?Li:Zr?!1:_r!==void 0?_r:!0,[Zr,Li,_r]),Do=zn!=null?zn:Jr,ki=hn("form",ar),ko=(0,fe.Z)(ki),[Ao,Xo,Co]=ht(ki,ko),to=He()(ki,`${ki}-${Ni}`,{[`${ki}-hide-required-mark`]:Yi===!1,[`${ki}-rtl`]:Pn==="rtl",[`${ki}-${eo}`]:eo},Co,ko,Xo,ir,ei,tr),[xo]=on(Bi),{__INTERNAL__:$o}=xo;$o.name=Ei;const _n=Le.useMemo(()=>({name:Ei,labelAlign:gn,labelCol:nr,labelWrap:$n,wrapperCol:pr,vertical:Ni==="vertical",colon:Do,requiredMark:Yi,itemRef:$o.itemRef,form:xo,feedbackIcons:Si}),[Ei,gn,nr,pr,Ni,Do,Yi,xo,Si]),No=Le.useRef(null);Le.useImperativeHandle(dn,()=>{var qr;return Object.assign(Object.assign({},xo),{nativeElement:(qr=No.current)===null||qr===void 0?void 0:qr.nativeElement})});const Vi=(qr,ti)=>{if(qr){let Wr={block:"nearest"};typeof qr=="object"&&(Wr=Object.assign(Object.assign({},Wr),qr)),xo.scrollToField(ti,Wr)}},Ur=qr=>{if(vi==null||vi(qr),qr.errorFields.length){const ti=qr.errorFields[0].name;if(fi!==void 0){Vi(fi,ti);return}di!==void 0&&Vi(di,ti)}};return Ao(Le.createElement(x.pg.Provider,{value:wi},Le.createElement(Ze.n,{disabled:cr},Le.createElement(At.Z.Provider,{value:eo},Le.createElement(x.RV,{validateMessages:vo},Le.createElement(x.q3.Provider,{value:_n},Le.createElement(yt.default,Object.assign({id:Ei},Ti,{name:Ei,onFinishFailed:Ur,form:xo,ref:No,style:Object.assign(Object.assign({},Ar),yi),className:to}))))))))};var le=Le.forwardRef(ie),se=ae(41799),Be=ae(8654),$e=ae(22703),at=ae(32383),pt=ae(11592);function gt(kt){if(typeof kt=="function")return kt;const dn=(0,pt.Z)(kt);return dn.length<=1?dn[0]:dn}const Bt=()=>{const{status:kt,errors:dn=[],warnings:zt=[]}=Le.useContext(x.aM);return{status:kt,errors:dn,warnings:zt}};Bt.Context=x.aM;var Lt=Bt,Rt=ae(16089);function Ct(kt){const[dn,zt]=Le.useState(kt),hn=Le.useRef(null),Pn=Le.useRef([]),_r=Le.useRef(!1);Le.useEffect(()=>(_r.current=!1,()=>{_r.current=!0,Rt.Z.cancel(hn.current),hn.current=null}),[]);function Jr(di){_r.current||(hn.current===null&&(Pn.current=[],hn.current=(0,Rt.Z)(()=>{hn.current=null,zt(ir=>{let Ar=ir;return Pn.current.forEach(ar=>{Ar=ar(Ar)}),Ar})})),Pn.current.push(di))}return[dn,Jr]}function st(){const{itemRef:kt}=Le.useContext(x.q3),dn=Le.useRef({});function zt(hn,Pn){const _r=Pn&&typeof Pn=="object"&&(0,Be.C4)(Pn),Jr=hn.join("_");return(dn.current.name!==Jr||dn.current.originRef!==_r)&&(dn.current.name=Jr,dn.current.originRef=_r,dn.current.ref=(0,Be.sQ)(kt(hn),_r)),dn.current.ref}return zt}var $t=ae(29194),Vt=ae(34280),bn=ae(2738),an=ae(65970),en=ae(70425),Hn=ae(5472);const En=kt=>{const{formItemCls:dn}=kt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${dn}-control`]:{display:"flex"}}}};var Mt=(0,_e.bk)(["Form","item-item"],(kt,dn)=>{let{rootPrefixCls:zt}=dn;const hn=je(kt,zt);return[En(hn)]}),sn=function(kt,dn){var zt={};for(var hn in kt)Object.prototype.hasOwnProperty.call(kt,hn)&&dn.indexOf(hn)<0&&(zt[hn]=kt[hn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pn=0,hn=Object.getOwnPropertySymbols(kt);Pn<hn.length;Pn++)dn.indexOf(hn[Pn])<0&&Object.prototype.propertyIsEnumerable.call(kt,hn[Pn])&&(zt[hn[Pn]]=kt[hn[Pn]]);return zt};const Dn=24;var It=kt=>{const{prefixCls:dn,status:zt,labelCol:hn,wrapperCol:Pn,children:_r,errors:Jr,warnings:di,_internalItemRender:ir,extra:Ar,help:ar,fieldId:ei,marginBottom:tr,onErrorVisibleChanged:Un,label:cr}=kt,Bi=`${dn}-item`,zn=Le.useContext(x.q3),gn=Le.useMemo(()=>{let Ti=Object.assign({},Pn||zn.wrapperCol||{});return cr===null&&!hn&&!Pn&&zn.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(vo=>{const Yi=vo?[vo]:[],Do=(0,en.U2)(zn.labelCol,Yi),ki=typeof Do=="object"?Do:{},ko=(0,en.U2)(Ti,Yi),Ao=typeof ko=="object"?ko:{};"span"in ki&&!("offset"in Ao)&&ki.span<Dn&&(Ti=(0,en.t8)(Ti,[].concat(Yi,["offset"]),ki.span))}),Ti},[Pn,zn]),$n=He()(`${Bi}-control`,gn.className),nr=Le.useMemo(()=>{const{labelCol:Ti,wrapperCol:eo}=zn;return sn(zn,["labelCol","wrapperCol"])},[zn]),pr=Le.useRef(null),[Zr,Ni]=Le.useState(0);(0,Vt.Z)(()=>{Ar&&pr.current?Ni(pr.current.clientHeight):Ni(0)},[Ar]);const fi=Le.createElement("div",{className:`${Bi}-control-input`},Le.createElement("div",{className:`${Bi}-control-input-content`},_r)),Li=Le.useMemo(()=>({prefixCls:dn,status:zt}),[dn,zt]),vi=tr!==null||Jr.length||di.length?Le.createElement(x.Rk.Provider,{value:Li},Le.createElement(ot,{fieldId:ei,errors:Jr,warnings:di,help:ar,helpStatus:zt,className:`${Bi}-explain-connected`,onVisibleChanged:Un})):null,Ei={};ei&&(Ei.id=`${ei}_extra`);const yi=Ar?Le.createElement("div",Object.assign({},Ei,{className:`${Bi}-extra`,ref:pr}),Ar):null,Si=vi||yi?Le.createElement("div",{className:`${Bi}-additional`,style:tr?{minHeight:tr+Zr}:{}},vi,yi):null,wi=ir&&ir.mark==="pro_table_render"&&ir.render?ir.render(kt,{input:fi,errorList:vi,extra:yi}):Le.createElement(Le.Fragment,null,fi,Si);return Le.createElement(x.q3.Provider,{value:nr},Le.createElement(Hn.Z,Object.assign({},gn,{className:$n}),wi),Le.createElement(Mt,{prefixCls:dn}))},Wt=ae(61485),rn=ae(9017),mn=ae(85981),Xn=ae(25399),Fr=function(kt,dn){var zt={};for(var hn in kt)Object.prototype.hasOwnProperty.call(kt,hn)&&dn.indexOf(hn)<0&&(zt[hn]=kt[hn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pn=0,hn=Object.getOwnPropertySymbols(kt);Pn<hn.length;Pn++)dn.indexOf(hn[Pn])<0&&Object.prototype.propertyIsEnumerable.call(kt,hn[Pn])&&(zt[hn[Pn]]=kt[hn[Pn]]);return zt};function ri(kt){return kt?typeof kt=="object"&&!Le.isValidElement(kt)?kt:{title:kt}:null}var Ir=kt=>{let{prefixCls:dn,label:zt,htmlFor:hn,labelCol:Pn,labelAlign:_r,colon:Jr,required:di,requiredMark:ir,tooltip:Ar,vertical:ar}=kt;var ei;const[tr]=(0,rn.Z)("Form"),{labelAlign:Un,labelCol:cr,labelWrap:Bi,colon:zn}=Le.useContext(x.q3);if(!zt)return null;const gn=Pn||cr||{},$n=_r||Un,nr=`${dn}-item-label`,pr=He()(nr,$n==="left"&&`${nr}-left`,gn.className,{[`${nr}-wrap`]:!!Bi});let Zr=zt;const Ni=Jr===!0||zn!==!1&&Jr!==!1;Ni&&!ar&&typeof zt=="string"&&zt.trim()&&(Zr=zt.replace(/[:|]\s*$/,""));const Li=ri(Ar);if(Li){const{icon:Ti=Le.createElement(Wt.Z,null)}=Li,eo=Fr(Li,["icon"]),vo=Le.createElement(Xn.Z,Object.assign({},eo),Le.cloneElement(Ti,{className:`${dn}-item-tooltip`,title:"",onClick:Yi=>{Yi.preventDefault()},tabIndex:null}));Zr=Le.createElement(Le.Fragment,null,Zr,vo)}const vi=ir==="optional",Ei=typeof ir=="function",yi=ir===!1;Ei?Zr=ir(Zr,{required:!!di}):vi&&!di&&(Zr=Le.createElement(Le.Fragment,null,Zr,Le.createElement("span",{className:`${dn}-item-optional`,title:""},(tr==null?void 0:tr.optional)||((ei=mn.Z.Form)===null||ei===void 0?void 0:ei.optional))));let Si;yi?Si="hidden":(vi||Ei)&&(Si="optional");const wi=He()({[`${dn}-item-required`]:di,[`${dn}-item-required-mark-${Si}`]:Si,[`${dn}-item-no-colon`]:!Ni});return Le.createElement(Hn.Z,Object.assign({},gn,{className:pr}),Le.createElement("label",{htmlFor:hn,className:wi,title:typeof zt=="string"?zt:""},Zr))},er=ae(29679),vr=ae(19248),Mr=ae(96512),Yn=ae(58617);const sr={success:er.Z,warning:Mr.Z,error:vr.Z,validating:Yn.Z};function jn(kt){let{children:dn,errors:zt,warnings:hn,hasFeedback:Pn,validateStatus:_r,prefixCls:Jr,meta:di,noStyle:ir}=kt;const Ar=`${Jr}-item`,{feedbackIcons:ar}=Le.useContext(x.q3),ei=Ot(zt,hn,di,null,!!Pn,_r),{isFormItemInput:tr,status:Un,hasFeedback:cr,feedbackIcon:Bi}=Le.useContext(x.aM),zn=Le.useMemo(()=>{var gn;let $n;if(Pn){const pr=Pn!==!0&&Pn.icons||ar,Zr=ei&&((gn=pr==null?void 0:pr({status:ei,errors:zt,warnings:hn}))===null||gn===void 0?void 0:gn[ei]),Ni=ei&&sr[ei];$n=Zr!==!1&&Ni?Le.createElement("span",{className:He()(`${Ar}-feedback-icon`,`${Ar}-feedback-icon-${ei}`)},Zr||Le.createElement(Ni,null)):null}const nr={status:ei||"",errors:zt,warnings:hn,hasFeedback:!!Pn,feedbackIcon:$n,isFormItemInput:!0};return ir&&(nr.status=(ei!=null?ei:Un)||"",nr.isFormItemInput=tr,nr.hasFeedback=!!(Pn!=null?Pn:cr),nr.feedbackIcon=Pn!==void 0?nr.feedbackIcon:Bi),nr},[ei,Pn,ir,tr,Un]);return Le.createElement(x.aM.Provider,{value:zn},dn)}var ur=function(kt,dn){var zt={};for(var hn in kt)Object.prototype.hasOwnProperty.call(kt,hn)&&dn.indexOf(hn)<0&&(zt[hn]=kt[hn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pn=0,hn=Object.getOwnPropertySymbols(kt);Pn<hn.length;Pn++)dn.indexOf(hn[Pn])<0&&Object.prototype.propertyIsEnumerable.call(kt,hn[Pn])&&(zt[hn[Pn]]=kt[hn[Pn]]);return zt};function br(kt){const{prefixCls:dn,className:zt,rootClassName:hn,style:Pn,help:_r,errors:Jr,warnings:di,validateStatus:ir,meta:Ar,hasFeedback:ar,hidden:ei,children:tr,fieldId:Un,required:cr,isRequired:Bi,onSubItemMetaChange:zn,layout:gn}=kt,$n=ur(kt,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),nr=`${dn}-item`,{requiredMark:pr,vertical:Zr}=Le.useContext(x.q3),Ni=Zr||gn==="vertical",fi=Le.useRef(null),Li=Ce(Jr),vi=Ce(di),Ei=_r!=null,yi=!!(Ei||Jr.length||di.length),Si=!!fi.current&&(0,$t.Z)(fi.current),[wi,Ti]=Le.useState(null);(0,Vt.Z)(()=>{if(yi&&fi.current){const ki=getComputedStyle(fi.current);Ti(parseInt(ki.marginBottom,10))}},[yi,Si]);const eo=ki=>{ki||Ti(null)},Yi=function(){let ki=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const ko=ki?Li:Ar.errors,Ao=ki?vi:Ar.warnings;return Ot(ko,Ao,Ar,"",!!ar,ir)}(),Do=He()(nr,zt,hn,{[`${nr}-with-help`]:Ei||Li.length||vi.length,[`${nr}-has-feedback`]:Yi&&ar,[`${nr}-has-success`]:Yi==="success",[`${nr}-has-warning`]:Yi==="warning",[`${nr}-has-error`]:Yi==="error",[`${nr}-is-validating`]:Yi==="validating",[`${nr}-hidden`]:ei,[`${nr}-${gn}`]:gn});return Le.createElement("div",{className:Do,style:Pn,ref:fi},Le.createElement(an.Z,Object.assign({className:`${nr}-row`},(0,bn.Z)($n,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),Le.createElement(Ir,Object.assign({htmlFor:Un},kt,{requiredMark:pr,required:cr!=null?cr:Bi,prefixCls:dn,vertical:Ni})),Le.createElement(It,Object.assign({},kt,Ar,{errors:Li,warnings:vi,prefixCls:dn,status:Yi,help:_r,marginBottom:wi,onErrorVisibleChanged:eo}),Le.createElement(x.qI.Provider,{value:zn},Le.createElement(jn,{prefixCls:dn,meta:Ar,errors:Ar.errors,warnings:Ar.warnings,hasFeedback:ar,validateStatus:Yi},tr)))),!!wi&&Le.createElement("div",{className:`${nr}-margin-offset`,style:{marginBottom:-wi}}))}const Xr="__SPLIT__",Yr=null;function pi(kt,dn){const zt=Object.keys(kt),hn=Object.keys(dn);return zt.length===hn.length&&zt.every(Pn=>{const _r=kt[Pn],Jr=dn[Pn];return _r===Jr||typeof _r=="function"||typeof Jr=="function"})}const ci=Le.memo(kt=>{let{children:dn}=kt;return dn},(kt,dn)=>pi(kt.control,dn.control)&&kt.update===dn.update&&kt.childProps.length===dn.childProps.length&&kt.childProps.every((zt,hn)=>zt===dn.childProps[hn]));function Hi(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function mi(kt){const{name:dn,noStyle:zt,className:hn,dependencies:Pn,prefixCls:_r,shouldUpdate:Jr,rules:di,children:ir,required:Ar,label:ar,messageVariables:ei,trigger:tr="onChange",validateTrigger:Un,hidden:cr,help:Bi,layout:zn}=kt,{getPrefixCls:gn}=Le.useContext(Ft.E_),{name:$n}=Le.useContext(x.q3),nr=gt(ir),pr=typeof nr=="function",Zr=Le.useContext(x.qI),{validateTrigger:Ni}=Le.useContext(yt.FieldContext),fi=Un!==void 0?Un:Ni,Li=dn!=null,vi=gn("form",_r),Ei=(0,fe.Z)(vi),[yi,Si,wi]=ht(vi,Ei),Ti=(0,at.ln)("Form.Item"),eo=Le.useContext(yt.ListContext),vo=Le.useRef(null),[Yi,Do]=Ct({}),[ki,ko]=(0,se.Z)(()=>Hi()),Ao=No=>{const Vi=eo==null?void 0:eo.getKey(No.name);if(ko(No.destroy?Hi():No,!0),zt&&Bi!==!1&&Zr){let Ur=No.name;if(No.destroy)Ur=vo.current||Ur;else if(Vi!==void 0){const[qr,ti]=Vi;Ur=[qr].concat((0,ct.Z)(ti)),vo.current=Ur}Zr(No,Ur)}},Xo=(No,Vi)=>{Do(Ur=>{const qr=Object.assign({},Ur),Wr=[].concat((0,ct.Z)(No.name.slice(0,-1)),(0,ct.Z)(Vi)).join(Xr);return No.destroy?delete qr[Wr]:qr[Wr]=No,qr})},[Co,to]=Le.useMemo(()=>{const No=(0,ct.Z)(ki.errors),Vi=(0,ct.Z)(ki.warnings);return Object.values(Yi).forEach(Ur=>{No.push.apply(No,(0,ct.Z)(Ur.errors||[])),Vi.push.apply(Vi,(0,ct.Z)(Ur.warnings||[]))}),[No,Vi]},[Yi,ki.errors,ki.warnings]),xo=st();function $o(No,Vi,Ur){return zt&&!cr?Le.createElement(jn,{prefixCls:vi,hasFeedback:kt.hasFeedback,validateStatus:kt.validateStatus,meta:ki,errors:Co,warnings:to,noStyle:!0},No):Le.createElement(br,Object.assign({key:"row"},kt,{className:He()(hn,wi,Ei,Si),prefixCls:vi,fieldId:Vi,isRequired:Ur,errors:Co,warnings:to,meta:ki,onSubItemMetaChange:Xo,layout:zn}),No)}if(!Li&&!pr&&!Pn)return yi($o(nr));let _n={};return typeof ar=="string"?_n.label=ar:dn&&(_n.label=String(dn)),ei&&(_n=Object.assign(Object.assign({},_n),ei)),yi(Le.createElement(yt.Field,Object.assign({},kt,{messageVariables:_n,trigger:tr,validateTrigger:fi,onMetaChange:Ao}),(No,Vi,Ur)=>{const qr=Qt(dn).length&&Vi?Vi.name:[],ti=pn(qr,$n),Wr=Ar!==void 0?Ar:!!(di!=null&&di.some(zr=>{if(zr&&typeof zr=="object"&&zr.required&&!zr.warningOnly)return!0;if(typeof zr=="function"){const oi=zr(Ur);return(oi==null?void 0:oi.required)&&!(oi!=null&&oi.warningOnly)}return!1})),Ri=Object.assign({},No);let ro=null;if(Array.isArray(nr)&&Li)ro=nr;else if(!(pr&&(!(Jr||Pn)||Li))){if(!(Pn&&!pr&&!Li))if(Le.isValidElement(nr)){const zr=Object.assign(Object.assign({},nr.props),Ri);if(zr.id||(zr.id=ti),Bi||Co.length>0||to.length>0||kt.extra){const ni=[];(Bi||Co.length>0)&&ni.push(`${ti}_help`),kt.extra&&ni.push(`${ti}_extra`),zr["aria-describedby"]=ni.join(" ")}Co.length>0&&(zr["aria-invalid"]="true"),Wr&&(zr["aria-required"]="true"),(0,Be.Yr)(nr)&&(zr.ref=xo(qr,nr)),new Set([].concat((0,ct.Z)(Qt(tr)),(0,ct.Z)(Qt(fi)))).forEach(ni=>{zr[ni]=function(){for(var co,Jo,fo,ta,Go,va=arguments.length,Vo=new Array(va),oa=0;oa<va;oa++)Vo[oa]=arguments[oa];(fo=Ri[ni])===null||fo===void 0||(co=fo).call.apply(co,[Ri].concat(Vo)),(Go=(ta=nr.props)[ni])===null||Go===void 0||(Jo=Go).call.apply(Jo,[ta].concat(Vo))}});const yr=[zr["aria-required"],zr["aria-invalid"],zr["aria-describedby"]];ro=Le.createElement(ci,{control:Ri,update:nr,childProps:yr},(0,$e.Tm)(nr,zr))}else pr&&(Jr||Pn)&&!Li?ro=nr(Ur):ro=nr}return $o(ro,ti,Wr)}))}const no=mi;no.useStatus=Lt;var Ki=no,fr=function(kt,dn){var zt={};for(var hn in kt)Object.prototype.hasOwnProperty.call(kt,hn)&&dn.indexOf(hn)<0&&(zt[hn]=kt[hn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pn=0,hn=Object.getOwnPropertySymbols(kt);Pn<hn.length;Pn++)dn.indexOf(hn[Pn])<0&&Object.prototype.propertyIsEnumerable.call(kt,hn[Pn])&&(zt[hn[Pn]]=kt[hn[Pn]]);return zt},gi=kt=>{var{prefixCls:dn,children:zt}=kt,hn=fr(kt,["prefixCls","children"]);const{getPrefixCls:Pn}=Le.useContext(Ft.E_),_r=Pn("form",dn),Jr=Le.useMemo(()=>({prefixCls:_r,status:"error"}),[_r]);return Le.createElement(yt.List,Object.assign({},hn),(di,ir,Ar)=>Le.createElement(x.Rk.Provider,{value:Jr},zt(di.map(ar=>Object.assign(Object.assign({},ar),{fieldKey:ar.key})),ir,{errors:Ar.errors,warnings:Ar.warnings})))};function Xt(){const{form:kt}=Le.useContext(x.q3);return kt}const ln=le;ln.Item=Ki,ln.List=gi,ln.ErrorList=ot,ln.useForm=on,ln.useFormInstance=Xt,ln.useWatch=yt.useWatch,ln.Provider=x.RV,ln.create=()=>{};var yn=ln},75786:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Bi}});var x=ae(59301),ct=ae(15277),Le=ae(92310),Je=ae.n(Le),He=ae(54476),Se=ae(33885),Ue=ae(20068),fe=ae(42978),Ce=ae(76190),oe=ae(75931),Oe=/margin|padding|width|height|max|min|offset/,ve={left:!0,top:!0},Me={cssFloat:1,styleFloat:1,float:1};function Ie(zn){return zn.nodeType===1?zn.ownerDocument.defaultView.getComputedStyle(zn,null):{}}function _e(zn,gn,$n){if(gn=gn.toLowerCase(),$n==="auto"){if(gn==="height")return zn.offsetHeight;if(gn==="width")return zn.offsetWidth}return gn in ve||(ve[gn]=Oe.test(gn)),ve[gn]?parseFloat($n)||0:$n}function we(zn,gn){var $n=arguments.length,nr=Ie(zn);return gn=Me[gn]?"cssFloat"in zn.style?"cssFloat":"styleFloat":gn,$n===1?nr:_e(zn,gn,nr[gn]||zn.style[gn])}function xe(zn,gn,$n){var nr=arguments.length;if(gn=Me[gn]?"cssFloat"in zn.style?"cssFloat":"styleFloat":gn,nr===3)return typeof $n=="number"&&Oe.test(gn)&&($n="".concat($n,"px")),zn.style[gn]=$n,$n;for(var pr in gn)gn.hasOwnProperty(pr)&&xe(zn,pr,gn[pr]);return Ie(zn)}function Ee(zn){return zn===document.body?document.documentElement.clientWidth:zn.offsetWidth}function ke(zn){return zn===document.body?window.innerHeight||document.documentElement.clientHeight:zn.offsetHeight}function ze(){var zn=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),gn=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:zn,height:gn}}function Qe(){var zn=document.documentElement.clientWidth,gn=window.innerHeight||document.documentElement.clientHeight;return{width:zn,height:gn}}function Re(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function et(zn){var gn=zn.getBoundingClientRect(),$n=document.documentElement;return{left:gn.left+(window.pageXOffset||$n.scrollLeft)-($n.clientLeft||document.body.clientLeft||0),top:gn.top+(window.pageYOffset||$n.scrollTop)-($n.clientTop||document.body.clientTop||0)}}var Ge=ae(18929),lt=ae(55311),it=ae(8224),ft=ae(10228),bt=ae(43403),je=ae(77900),ht=x.createContext(null),Ne=function(gn){var $n=gn.visible,nr=gn.maskTransitionName,pr=gn.getContainer,Zr=gn.prefixCls,Ni=gn.rootClassName,fi=gn.icons,Li=gn.countRender,vi=gn.showSwitch,Ei=gn.showProgress,yi=gn.current,Si=gn.transform,wi=gn.count,Ti=gn.scale,eo=gn.minScale,vo=gn.maxScale,Yi=gn.closeIcon,Do=gn.onActive,ki=gn.onClose,ko=gn.onZoomIn,Ao=gn.onZoomOut,Xo=gn.onRotateRight,Co=gn.onRotateLeft,to=gn.onFlipX,xo=gn.onFlipY,$o=gn.onReset,_n=gn.toolbarRender,No=gn.zIndex,Vi=gn.image,Ur=(0,x.useContext)(ht),qr=fi.rotateLeft,ti=fi.rotateRight,Wr=fi.zoomIn,Ri=fi.zoomOut,ro=fi.close,zr=fi.left,oi=fi.right,yr=fi.flipX,ni=fi.flipY,co="".concat(Zr,"-operations-operation");x.useEffect(function(){var is=function(Mo){Mo.keyCode===ft.Z.ESC&&ki()};return $n&&window.addEventListener("keydown",is),function(){window.removeEventListener("keydown",is)}},[$n]);var Jo=function(us,Mo){us.preventDefault(),us.stopPropagation(),Do(Mo)},fo=x.useCallback(function(is){var us=is.type,Mo=is.disabled,mo=is.onClick,Fa=is.icon;return x.createElement("div",{key:us,className:Je()(co,"".concat(Zr,"-operations-operation-").concat(us),(0,Ue.Z)({},"".concat(Zr,"-operations-operation-disabled"),!!Mo)),onClick:mo},Fa)},[co,Zr]),ta=vi?fo({icon:zr,onClick:function(us){return Jo(us,-1)},type:"prev",disabled:yi===0}):void 0,Go=vi?fo({icon:oi,onClick:function(us){return Jo(us,1)},type:"next",disabled:yi===wi-1}):void 0,va=fo({icon:ni,onClick:xo,type:"flipY"}),Vo=fo({icon:yr,onClick:to,type:"flipX"}),oa=fo({icon:qr,onClick:Co,type:"rotateLeft"}),da=fo({icon:ti,onClick:Xo,type:"rotateRight"}),Wa=fo({icon:Ri,onClick:Ao,type:"zoomOut",disabled:Ti<=eo}),Ds=fo({icon:Wr,onClick:ko,type:"zoomIn",disabled:Ti===vo}),zs=x.createElement("div",{className:"".concat(Zr,"-operations")},va,Vo,oa,da,Wa,Ds);return x.createElement(je.default,{visible:$n,motionName:nr},function(is){var us=is.className,Mo=is.style;return x.createElement(bt.Z,{open:!0,getContainer:pr!=null?pr:document.body},x.createElement("div",{className:Je()("".concat(Zr,"-operations-wrapper"),us,Ni),style:(0,Se.Z)((0,Se.Z)({},Mo),{},{zIndex:No})},Yi===null?null:x.createElement("button",{className:"".concat(Zr,"-close"),onClick:ki},Yi||ro),vi&&x.createElement(x.Fragment,null,x.createElement("div",{className:Je()("".concat(Zr,"-switch-left"),(0,Ue.Z)({},"".concat(Zr,"-switch-left-disabled"),yi===0)),onClick:function(Fa){return Jo(Fa,-1)}},zr),x.createElement("div",{className:Je()("".concat(Zr,"-switch-right"),(0,Ue.Z)({},"".concat(Zr,"-switch-right-disabled"),yi===wi-1)),onClick:function(Fa){return Jo(Fa,1)}},oi)),x.createElement("div",{className:"".concat(Zr,"-footer")},Ei&&x.createElement("div",{className:"".concat(Zr,"-progress")},Li?Li(yi+1,wi):"".concat(yi+1," / ").concat(wi)),_n?_n(zs,(0,Se.Z)((0,Se.Z)({icons:{prevIcon:ta,nextIcon:Go,flipYIcon:va,flipXIcon:Vo,rotateLeftIcon:oa,rotateRightIcon:da,zoomOutIcon:Wa,zoomInIcon:Ds},actions:{onActive:Do,onFlipY:xo,onFlipX:to,onRotateLeft:Co,onRotateRight:Xo,onZoomOut:Ao,onZoomIn:ko,onReset:$o,onClose:ki},transform:Si},Ur?{current:yi,total:wi}:{}),{},{image:Vi})):zs)))})},We=Ne,Ut=ae(13697),ot=ae(16089),yt={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Ft(zn,gn,$n,nr){var pr=(0,x.useRef)(null),Zr=(0,x.useRef)([]),Ni=(0,x.useState)(yt),fi=(0,fe.Z)(Ni,2),Li=fi[0],vi=fi[1],Ei=function(Ti){vi(yt),(0,Ut.Z)(yt,Li)||nr==null||nr({transform:yt,action:Ti})},yi=function(Ti,eo){pr.current===null&&(Zr.current=[],pr.current=(0,ot.Z)(function(){vi(function(vo){var Yi=vo;return Zr.current.forEach(function(Do){Yi=(0,Se.Z)((0,Se.Z)({},Yi),Do)}),pr.current=null,nr==null||nr({transform:Yi,action:eo}),Yi})})),Zr.current.push((0,Se.Z)((0,Se.Z)({},Li),Ti))},Si=function(Ti,eo,vo,Yi,Do){var ki=zn.current,ko=ki.width,Ao=ki.height,Xo=ki.offsetWidth,Co=ki.offsetHeight,to=ki.offsetLeft,xo=ki.offsetTop,$o=Ti,_n=Li.scale*Ti;_n>$n?(_n=$n,$o=$n/Li.scale):_n<gn&&(_n=Do?_n:gn,$o=_n/Li.scale);var No=vo!=null?vo:innerWidth/2,Vi=Yi!=null?Yi:innerHeight/2,Ur=$o-1,qr=Ur*ko*.5,ti=Ur*Ao*.5,Wr=Ur*(No-Li.x-to),Ri=Ur*(Vi-Li.y-xo),ro=Li.x-(Wr-qr),zr=Li.y-(Ri-ti);if(Ti<1&&_n===1){var oi=Xo*_n,yr=Co*_n,ni=Qe(),co=ni.width,Jo=ni.height;oi<=co&&yr<=Jo&&(ro=0,zr=0)}yi({x:ro,y:zr,scale:_n},eo)};return{transform:Li,resetTransform:Ei,updateTransform:yi,dispatchZoomChange:Si}}var Ze=ae(48736);function Te(zn,gn,$n,nr){var pr=gn+$n,Zr=($n-nr)/2;if($n>nr){if(gn>0)return(0,Ue.Z)({},zn,Zr);if(gn<0&&pr<nr)return(0,Ue.Z)({},zn,-Zr)}else if(gn<0||pr>nr)return(0,Ue.Z)({},zn,gn<0?Zr:-Zr);return{}}function At(zn,gn,$n,nr){var pr=Qe(),Zr=pr.width,Ni=pr.height,fi=null;return zn<=Zr&&gn<=Ni?fi={x:0,y:0}:(zn>Zr||gn>Ni)&&(fi=(0,Se.Z)((0,Se.Z)({},Te("x",$n,zn,Zr)),Te("y",nr,gn,Ni))),fi}var Zt=1,Kt=1;function rt(zn,gn,$n,nr,pr,Zr,Ni){var fi=pr.rotate,Li=pr.scale,vi=pr.x,Ei=pr.y,yi=(0,x.useState)(!1),Si=(0,fe.Z)(yi,2),wi=Si[0],Ti=Si[1],eo=(0,x.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),vo=function(Ao){!gn||Ao.button!==0||(Ao.preventDefault(),Ao.stopPropagation(),eo.current={diffX:Ao.pageX-vi,diffY:Ao.pageY-Ei,transformX:vi,transformY:Ei},Ti(!0))},Yi=function(Ao){$n&&wi&&Zr({x:Ao.pageX-eo.current.diffX,y:Ao.pageY-eo.current.diffY},"move")},Do=function(){if($n&&wi){Ti(!1);var Ao=eo.current,Xo=Ao.transformX,Co=Ao.transformY,to=vi!==Xo&&Ei!==Co;if(!to)return;var xo=zn.current.offsetWidth*Li,$o=zn.current.offsetHeight*Li,_n=zn.current.getBoundingClientRect(),No=_n.left,Vi=_n.top,Ur=fi%180!==0,qr=At(Ur?$o:xo,Ur?xo:$o,No,Vi);qr&&Zr((0,Se.Z)({},qr),"dragRebound")}},ki=function(Ao){if(!(!$n||Ao.deltaY==0)){var Xo=Math.abs(Ao.deltaY/100),Co=Math.min(Xo,Kt),to=Zt+Co*nr;Ao.deltaY>0&&(to=Zt/to),Ni(to,"wheel",Ao.clientX,Ao.clientY)}};return(0,x.useEffect)(function(){var ko,Ao,Xo,Co;if(gn){Xo=(0,it.Z)(window,"mouseup",Do,!1),Co=(0,it.Z)(window,"mousemove",Yi,!1);try{window.top!==window.self&&(ko=(0,it.Z)(window.top,"mouseup",Do,!1),Ao=(0,it.Z)(window.top,"mousemove",Yi,!1))}catch(to){(0,Ze.Kp)(!1,"[rc-image] ".concat(to))}}return function(){var to,xo,$o,_n;(to=Xo)===null||to===void 0||to.remove(),(xo=Co)===null||xo===void 0||xo.remove(),($o=ko)===null||$o===void 0||$o.remove(),(_n=Ao)===null||_n===void 0||_n.remove()}},[$n,wi,vi,Ei,fi,gn]),{isMoving:wi,onMouseDown:vo,onMouseMove:Yi,onMouseUp:Do,onWheel:ki}}function Nt(zn){return new Promise(function(gn){if(!zn){gn(!1);return}var $n=document.createElement("img");$n.onerror=function(){return gn(!1)},$n.onload=function(){return gn(!0)},$n.src=zn})}function Qt(zn){var gn=zn.src,$n=zn.isCustomPlaceholder,nr=zn.fallback,pr=(0,x.useState)($n?"loading":"normal"),Zr=(0,fe.Z)(pr,2),Ni=Zr[0],fi=Zr[1],Li=(0,x.useRef)(!1),vi=Ni==="error";(0,x.useEffect)(function(){var wi=!0;return Nt(gn).then(function(Ti){!Ti&&wi&&fi("error")}),function(){wi=!1}},[gn]),(0,x.useEffect)(function(){$n&&!Li.current?fi("loading"):vi&&fi("normal")},[gn]);var Ei=function(){fi("normal")},yi=function(Ti){Li.current=!1,Ni==="loading"&&Ti!==null&&Ti!==void 0&&Ti.complete&&(Ti.naturalWidth||Ti.naturalHeight)&&(Li.current=!0,Ei())},Si=vi&&nr?{src:nr}:{onLoad:Ei,src:gn};return[yi,Si,Ni]}function pn(zn,gn){var $n=zn.x-gn.x,nr=zn.y-gn.y;return Math.hypot($n,nr)}function Ot(zn,gn,$n,nr){var pr=pn(zn,$n),Zr=pn(gn,nr);if(pr===0&&Zr===0)return[zn.x,zn.y];var Ni=pr/(pr+Zr),fi=zn.x+Ni*(gn.x-zn.x),Li=zn.y+Ni*(gn.y-zn.y);return[fi,Li]}function vn(zn,gn,$n,nr,pr,Zr,Ni){var fi=pr.rotate,Li=pr.scale,vi=pr.x,Ei=pr.y,yi=(0,x.useState)(!1),Si=(0,fe.Z)(yi,2),wi=Si[0],Ti=Si[1],eo=(0,x.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),vo=function(Ao){eo.current=(0,Se.Z)((0,Se.Z)({},eo.current),Ao)},Yi=function(Ao){if(gn){Ao.stopPropagation(),Ti(!0);var Xo=Ao.touches,Co=Xo===void 0?[]:Xo;Co.length>1?vo({point1:{x:Co[0].clientX,y:Co[0].clientY},point2:{x:Co[1].clientX,y:Co[1].clientY},eventType:"touchZoom"}):vo({point1:{x:Co[0].clientX-vi,y:Co[0].clientY-Ei},eventType:"move"})}},Do=function(Ao){var Xo=Ao.touches,Co=Xo===void 0?[]:Xo,to=eo.current,xo=to.point1,$o=to.point2,_n=to.eventType;if(Co.length>1&&_n==="touchZoom"){var No={x:Co[0].clientX,y:Co[0].clientY},Vi={x:Co[1].clientX,y:Co[1].clientY},Ur=Ot(xo,$o,No,Vi),qr=(0,fe.Z)(Ur,2),ti=qr[0],Wr=qr[1],Ri=pn(No,Vi)/pn(xo,$o);Ni(Ri,"touchZoom",ti,Wr,!0),vo({point1:No,point2:Vi,eventType:"touchZoom"})}else _n==="move"&&(Zr({x:Co[0].clientX-xo.x,y:Co[0].clientY-xo.y},"move"),vo({eventType:"move"}))},ki=function(){if($n){if(wi&&Ti(!1),vo({eventType:"none"}),nr>Li)return Zr({x:0,y:0,scale:nr},"touchZoom");var Ao=zn.current.offsetWidth*Li,Xo=zn.current.offsetHeight*Li,Co=zn.current.getBoundingClientRect(),to=Co.left,xo=Co.top,$o=fi%180!==0,_n=At($o?Xo:Ao,$o?Ao:Xo,to,xo);_n&&Zr((0,Se.Z)({},_n),"dragRebound")}};return(0,x.useEffect)(function(){var ko;return $n&&gn&&(ko=(0,it.Z)(window,"touchmove",function(Ao){return Ao.preventDefault()},{passive:!1})),function(){var Ao;(Ao=ko)===null||Ao===void 0||Ao.remove()}},[$n,gn]),{isTouching:wi,onTouchStart:Yi,onTouchMove:Do,onTouchEnd:ki}}var _t=["fallback","src","imgRef"],Fn=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],on=function(gn){var $n=gn.fallback,nr=gn.src,pr=gn.imgRef,Zr=(0,oe.Z)(gn,_t),Ni=Qt({src:nr,fallback:$n}),fi=(0,fe.Z)(Ni,2),Li=fi[0],vi=fi[1];return x.createElement("img",(0,He.Z)({ref:function(yi){pr.current=yi,Li(yi)}},Zr,vi))},de=function(gn){var $n=gn.prefixCls,nr=gn.src,pr=gn.alt,Zr=gn.imageInfo,Ni=gn.fallback,fi=gn.movable,Li=fi===void 0?!0:fi,vi=gn.onClose,Ei=gn.visible,yi=gn.icons,Si=yi===void 0?{}:yi,wi=gn.rootClassName,Ti=gn.closeIcon,eo=gn.getContainer,vo=gn.current,Yi=vo===void 0?0:vo,Do=gn.count,ki=Do===void 0?1:Do,ko=gn.countRender,Ao=gn.scaleStep,Xo=Ao===void 0?.5:Ao,Co=gn.minScale,to=Co===void 0?1:Co,xo=gn.maxScale,$o=xo===void 0?50:xo,_n=gn.transitionName,No=_n===void 0?"zoom":_n,Vi=gn.maskTransitionName,Ur=Vi===void 0?"fade":Vi,qr=gn.imageRender,ti=gn.imgCommonProps,Wr=gn.toolbarRender,Ri=gn.onTransform,ro=gn.onChange,zr=(0,oe.Z)(gn,Fn),oi=(0,x.useRef)(),yr=(0,x.useContext)(ht),ni=yr&&ki>1,co=yr&&ki>=1,Jo=(0,x.useState)(!0),fo=(0,fe.Z)(Jo,2),ta=fo[0],Go=fo[1],va=Ft(oi,to,$o,Ri),Vo=va.transform,oa=va.resetTransform,da=va.updateTransform,Wa=va.dispatchZoomChange,Ds=rt(oi,Li,Ei,Xo,Vo,da,Wa),zs=Ds.isMoving,is=Ds.onMouseDown,us=Ds.onWheel,Mo=vn(oi,Li,Ei,to,Vo,da,Wa),mo=Mo.isTouching,Fa=Mo.onTouchStart,hs=Mo.onTouchMove,el=Mo.onTouchEnd,tl=Vo.rotate,nl=Vo.scale,hl=Je()((0,Ue.Z)({},"".concat($n,"-moving"),zs));(0,x.useEffect)(function(){ta||Go(!0)},[ta]);var lu=function(){oa("close")},Js=function(){Wa(Zt+Xo,"zoomIn")},Kl=function(){Wa(Zt/(Zt+Xo),"zoomOut")},Zl=function(){da({rotate:tl+90},"rotateRight")},Lu=function(){da({rotate:tl-90},"rotateLeft")},dl=function(){da({flipX:!Vo.flipX},"flipX")},FA=function(){da({flipY:!Vo.flipY},"flipY")},hA=function(){oa("reset")},pa=function(Ha){var Wl=Yi+Ha;!Number.isInteger(Wl)||Wl<0||Wl>ki-1||(Go(!1),oa(Ha<0?"prev":"next"),ro==null||ro(Wl,Yi))},Ia=function(Ha){!Ei||!ni||(Ha.keyCode===ft.Z.LEFT?pa(-1):Ha.keyCode===ft.Z.RIGHT&&pa(1))},ma=function(Ha){Ei&&(nl!==1?da({x:0,y:0,scale:1},"doubleClick"):Wa(Zt+Xo,"doubleClick",Ha.clientX,Ha.clientY))};(0,x.useEffect)(function(){var Xa=(0,it.Z)(window,"keydown",Ia,!1);return function(){Xa.remove()}},[Ei,ni,Yi]);var Ca=x.createElement(on,(0,He.Z)({},ti,{width:gn.width,height:gn.height,imgRef:oi,className:"".concat($n,"-img"),alt:pr,style:{transform:"translate3d(".concat(Vo.x,"px, ").concat(Vo.y,"px, 0) scale3d(").concat(Vo.flipX?"-":"").concat(nl,", ").concat(Vo.flipY?"-":"").concat(nl,", 1) rotate(").concat(tl,"deg)"),transitionDuration:(!ta||mo)&&"0s"},fallback:Ni,src:nr,onWheel:us,onMouseDown:is,onDoubleClick:ma,onTouchStart:Fa,onTouchMove:hs,onTouchEnd:el,onTouchCancel:el})),qa=(0,Se.Z)({url:nr,alt:pr},Zr);return x.createElement(x.Fragment,null,x.createElement(lt.Z,(0,He.Z)({transitionName:No,maskTransitionName:Ur,closable:!1,keyboard:!0,prefixCls:$n,onClose:vi,visible:Ei,classNames:{wrapper:hl},rootClassName:wi,getContainer:eo},zr,{afterClose:lu}),x.createElement("div",{className:"".concat($n,"-img-wrapper")},qr?qr(Ca,(0,Se.Z)({transform:Vo,image:qa},yr?{current:Yi}:{})):Ca)),x.createElement(We,{visible:Ei,transform:Vo,maskTransitionName:Ur,closeIcon:Ti,getContainer:eo,prefixCls:$n,rootClassName:wi,icons:Si,countRender:ko,showSwitch:ni,showProgress:co,current:Yi,count:ki,scale:nl,minScale:to,maxScale:$o,toolbarRender:Wr,onActive:pa,onZoomIn:Js,onZoomOut:Kl,onRotateRight:Zl,onRotateLeft:Lu,onFlipX:dl,onFlipY:FA,onClose:vi,onReset:hA,zIndex:zr.zIndex!==void 0?zr.zIndex+1:void 0,image:qa}))},ge=de,ie=ae(94480),ee=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function le(zn){var gn=x.useState({}),$n=(0,fe.Z)(gn,2),nr=$n[0],pr=$n[1],Zr=x.useCallback(function(fi,Li){return pr(function(vi){return(0,Se.Z)((0,Se.Z)({},vi),{},(0,Ue.Z)({},fi,Li))}),function(){pr(function(vi){var Ei=(0,Se.Z)({},vi);return delete Ei[fi],Ei})}},[]),Ni=x.useMemo(function(){return zn?zn.map(function(fi){if(typeof fi=="string")return{data:{src:fi}};var Li={};return Object.keys(fi).forEach(function(vi){["src"].concat((0,ie.Z)(ee)).includes(vi)&&(Li[vi]=fi[vi])}),{data:Li}}):Object.keys(nr).reduce(function(fi,Li){var vi=nr[Li],Ei=vi.canPreview,yi=vi.data;return Ei&&fi.push({data:yi,id:Li}),fi},[])},[zn,nr]);return[Ni,Zr,!!zn]}var se=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Be=["src"],$e=function(gn){var $n,nr=gn.previewPrefixCls,pr=nr===void 0?"rc-image-preview":nr,Zr=gn.children,Ni=gn.icons,fi=Ni===void 0?{}:Ni,Li=gn.items,vi=gn.preview,Ei=gn.fallback,yi=(0,Ce.Z)(vi)==="object"?vi:{},Si=yi.visible,wi=yi.onVisibleChange,Ti=yi.getContainer,eo=yi.current,vo=yi.movable,Yi=yi.minScale,Do=yi.maxScale,ki=yi.countRender,ko=yi.closeIcon,Ao=yi.onChange,Xo=yi.onTransform,Co=yi.toolbarRender,to=yi.imageRender,xo=(0,oe.Z)(yi,se),$o=le(Li),_n=(0,fe.Z)($o,3),No=_n[0],Vi=_n[1],Ur=_n[2],qr=(0,Ge.Z)(0,{value:eo}),ti=(0,fe.Z)(qr,2),Wr=ti[0],Ri=ti[1],ro=(0,x.useState)(!1),zr=(0,fe.Z)(ro,2),oi=zr[0],yr=zr[1],ni=(($n=No[Wr])===null||$n===void 0?void 0:$n.data)||{},co=ni.src,Jo=(0,oe.Z)(ni,Be),fo=(0,Ge.Z)(!!Si,{value:Si,onChange:function(mo,Fa){wi==null||wi(mo,Fa,Wr)}}),ta=(0,fe.Z)(fo,2),Go=ta[0],va=ta[1],Vo=(0,x.useState)(null),oa=(0,fe.Z)(Vo,2),da=oa[0],Wa=oa[1],Ds=x.useCallback(function(Mo,mo,Fa,hs){var el=Ur?No.findIndex(function(tl){return tl.data.src===mo}):No.findIndex(function(tl){return tl.id===Mo});Ri(el<0?0:el),va(!0),Wa({x:Fa,y:hs}),yr(!0)},[No,Ur]);x.useEffect(function(){Go?oi||Ri(0):yr(!1)},[Go]);var zs=function(mo,Fa){Ri(mo),Ao==null||Ao(mo,Fa)},is=function(){va(!1),Wa(null)},us=x.useMemo(function(){return{register:Vi,onPreview:Ds}},[Vi,Ds]);return x.createElement(ht.Provider,{value:us},Zr,x.createElement(ge,(0,He.Z)({"aria-hidden":!Go,movable:vo,visible:Go,prefixCls:pr,closeIcon:ko,onClose:is,mousePosition:da,imgCommonProps:Jo,src:co,fallback:Ei,icons:fi,minScale:Yi,maxScale:Do,getContainer:Ti,current:Wr,count:No.length,countRender:ki,onTransform:Xo,toolbarRender:Co,imageRender:to,onChange:zs},xo)))},at=$e,pt=0;function gt(zn,gn){var $n=x.useState(function(){return pt+=1,String(pt)}),nr=(0,fe.Z)($n,1),pr=nr[0],Zr=x.useContext(ht),Ni={data:gn,canPreview:zn};return x.useEffect(function(){if(Zr)return Zr.register(pr,Ni)},[]),x.useEffect(function(){Zr&&Zr.register(pr,Ni)},[zn,gn]),pr}var Bt=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Lt=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Rt=function(gn){var $n=gn.src,nr=gn.alt,pr=gn.onPreviewClose,Zr=gn.prefixCls,Ni=Zr===void 0?"rc-image":Zr,fi=gn.previewPrefixCls,Li=fi===void 0?"".concat(Ni,"-preview"):fi,vi=gn.placeholder,Ei=gn.fallback,yi=gn.width,Si=gn.height,wi=gn.style,Ti=gn.preview,eo=Ti===void 0?!0:Ti,vo=gn.className,Yi=gn.onClick,Do=gn.onError,ki=gn.wrapperClassName,ko=gn.wrapperStyle,Ao=gn.rootClassName,Xo=(0,oe.Z)(gn,Bt),Co=vi&&vi!==!0,to=(0,Ce.Z)(eo)==="object"?eo:{},xo=to.src,$o=to.visible,_n=$o===void 0?void 0:$o,No=to.onVisibleChange,Vi=No===void 0?pr:No,Ur=to.getContainer,qr=Ur===void 0?void 0:Ur,ti=to.mask,Wr=to.maskClassName,Ri=to.movable,ro=to.icons,zr=to.scaleStep,oi=to.minScale,yr=to.maxScale,ni=to.imageRender,co=to.toolbarRender,Jo=(0,oe.Z)(to,Lt),fo=xo!=null?xo:$n,ta=(0,Ge.Z)(!!_n,{value:_n,onChange:Vi}),Go=(0,fe.Z)(ta,2),va=Go[0],Vo=Go[1],oa=Qt({src:$n,isCustomPlaceholder:Co,fallback:Ei}),da=(0,fe.Z)(oa,3),Wa=da[0],Ds=da[1],zs=da[2],is=(0,x.useState)(null),us=(0,fe.Z)(is,2),Mo=us[0],mo=us[1],Fa=(0,x.useContext)(ht),hs=!!eo,el=function(){Vo(!1),mo(null)},tl=Je()(Ni,ki,Ao,(0,Ue.Z)({},"".concat(Ni,"-error"),zs==="error")),nl=(0,x.useMemo)(function(){var Kl={};return ee.forEach(function(Zl){gn[Zl]!==void 0&&(Kl[Zl]=gn[Zl])}),Kl},ee.map(function(Kl){return gn[Kl]})),hl=(0,x.useMemo)(function(){return(0,Se.Z)((0,Se.Z)({},nl),{},{src:fo})},[fo,nl]),lu=gt(hs,hl),Js=function(Zl){var Lu=et(Zl.target),dl=Lu.left,FA=Lu.top;Fa?Fa.onPreview(lu,fo,dl,FA):(mo({x:dl,y:FA}),Vo(!0)),Yi==null||Yi(Zl)};return x.createElement(x.Fragment,null,x.createElement("div",(0,He.Z)({},Xo,{className:tl,onClick:hs?Js:Yi,style:(0,Se.Z)({width:yi,height:Si},ko)}),x.createElement("img",(0,He.Z)({},nl,{className:Je()("".concat(Ni,"-img"),(0,Ue.Z)({},"".concat(Ni,"-img-placeholder"),vi===!0),vo),style:(0,Se.Z)({height:Si},wi),ref:Wa},Ds,{width:yi,height:Si,onError:Do})),zs==="loading"&&x.createElement("div",{"aria-hidden":"true",className:"".concat(Ni,"-placeholder")},vi),ti&&hs&&x.createElement("div",{className:Je()("".concat(Ni,"-mask"),Wr),style:{display:(wi==null?void 0:wi.display)==="none"?"none":void 0}},ti)),!Fa&&hs&&x.createElement(ge,(0,He.Z)({"aria-hidden":!va,visible:va,prefixCls:Li,onClose:el,mousePosition:Mo,src:fo,alt:nr,imageInfo:{width:yi,height:Si},fallback:Ei,getContainer:qr,icons:ro,movable:Ri,scaleStep:zr,minScale:oi,maxScale:yr,rootClassName:Ao,imageRender:ni,imgCommonProps:nl,toolbarRender:co},Jo)))};Rt.PreviewGroup=at;var Ct=Rt,st=Ct,$t=ae(75030),Vt=ae(86641),bn=ae(48755),an=ae(83397),en=ae(9017),Hn=ae(99267),En=ae(33853),Mt=ae(38819),sn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Dn=sn,Wn=ae(7657),It=function(gn,$n){return x.createElement(Wn.Z,(0,He.Z)({},gn,{ref:$n,icon:Dn}))},Wt=x.forwardRef(It),rn=Wt,mn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Xn=mn,Fr=function(gn,$n){return x.createElement(Wn.Z,(0,He.Z)({},gn,{ref:$n,icon:Xn}))},ri=x.forwardRef(Fr),Hr=ri,Ir={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},er=Ir,vr=function(gn,$n){return x.createElement(Wn.Z,(0,He.Z)({},gn,{ref:$n,icon:er}))},Mr=x.forwardRef(vr),Yn=Mr,sr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},jn=sr,ur=function(gn,$n){return x.createElement(Wn.Z,(0,He.Z)({},gn,{ref:$n,icon:jn}))},br=x.forwardRef(ur),Xr=br,Yr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},pi=Yr,ci=function(gn,$n){return x.createElement(Wn.Z,(0,He.Z)({},gn,{ref:$n,icon:pi}))},Hi=x.forwardRef(ci),mi=Hi,no=ae(36237),Ki=ae(17835),fr=ae(64427),Lr=ae(63356),gi=ae(34925),Xt=ae(99495),ln=ae(16931),yn=ae(51636);const kt=zn=>({position:zn||"absolute",inset:0}),dn=zn=>{const{iconCls:gn,motionDurationSlow:$n,paddingXXS:nr,marginXXS:pr,prefixCls:Zr,colorTextLightSolid:Ni}=zn;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:Ni,background:new Ki.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${$n}`,[`.${Zr}-mask-info`]:Object.assign(Object.assign({},Lr.vS),{padding:`0 ${(0,no.unit)(nr)}`,[gn]:{marginInlineEnd:pr,svg:{verticalAlign:"baseline"}}})}},zt=zn=>{const{previewCls:gn,modalMaskBg:$n,paddingSM:nr,marginXL:pr,margin:Zr,paddingLG:Ni,previewOperationColorDisabled:fi,previewOperationHoverColor:Li,motionDurationSlow:vi,iconCls:Ei,colorTextLightSolid:yi}=zn,Si=new Ki.FastColor($n).setA(.1),wi=Si.clone().setA(.2);return{[`${gn}-footer`]:{position:"fixed",bottom:pr,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:zn.previewOperationColor,transform:"translateX(-50%)"},[`${gn}-progress`]:{marginBottom:Zr},[`${gn}-close`]:{position:"fixed",top:pr,right:{_skip_check_:!0,value:pr},display:"flex",color:yi,backgroundColor:Si.toRgbString(),borderRadius:"50%",padding:nr,outline:0,border:0,cursor:"pointer",transition:`all ${vi}`,"&:hover":{backgroundColor:wi.toRgbString()},[`& > ${Ei}`]:{fontSize:zn.previewOperationSize}},[`${gn}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,no.unit)(Ni)}`,backgroundColor:Si.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:nr,padding:nr,cursor:"pointer",transition:`all ${vi}`,userSelect:"none",[`&:not(${gn}-operations-operation-disabled):hover > ${Ei}`]:{color:Li},"&-disabled":{color:fi,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Ei}`]:{fontSize:zn.previewOperationSize}}}}},hn=zn=>{const{modalMaskBg:gn,iconCls:$n,previewOperationColorDisabled:nr,previewCls:pr,zIndexPopup:Zr,motionDurationSlow:Ni}=zn,fi=new Ki.FastColor(gn).setA(.1),Li=fi.clone().setA(.2);return{[`${pr}-switch-left, ${pr}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:zn.calc(Zr).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:zn.imagePreviewSwitchSize,height:zn.imagePreviewSwitchSize,marginTop:zn.calc(zn.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:zn.previewOperationColor,background:fi.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${Ni}`,userSelect:"none","&:hover":{background:Li.toRgbString()},"&-disabled":{"&, &:hover":{color:nr,background:"transparent",cursor:"not-allowed",[`> ${$n}`]:{cursor:"not-allowed"}}},[`> ${$n}`]:{fontSize:zn.previewOperationSize}},[`${pr}-switch-left`]:{insetInlineStart:zn.marginSM},[`${pr}-switch-right`]:{insetInlineEnd:zn.marginSM}}},Pn=zn=>{const{motionEaseOut:gn,previewCls:$n,motionDurationSlow:nr,componentCls:pr}=zn;return[{[`${pr}-preview-root`]:{[$n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${$n}-body`]:Object.assign(Object.assign({},kt()),{overflow:"hidden"}),[`${$n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${nr} ${gn} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},kt()),{transition:`transform ${nr} ${gn} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${$n}-moving`]:{[`${$n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${pr}-preview-root`]:{[`${$n}-wrap`]:{zIndex:zn.zIndexPopup}}},{[`${pr}-preview-operations-wrapper`]:{position:"fixed",zIndex:zn.calc(zn.zIndexPopup).add(1).equal()},"&":[zt(zn),hn(zn)]}]},_r=zn=>{const{componentCls:gn}=zn;return{[gn]:{position:"relative",display:"inline-block",[`${gn}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${gn}-img-placeholder`]:{backgroundColor:zn.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${gn}-mask`]:Object.assign({},dn(zn)),[`${gn}-mask:hover`]:{opacity:1},[`${gn}-placeholder`]:Object.assign({},kt())}}},Jr=zn=>{const{previewCls:gn}=zn;return{[`${gn}-root`]:(0,gi._y)(zn,"zoom"),"&":(0,Xt.J$)(zn,!0)}},di=zn=>({zIndexPopup:zn.zIndexPopupBase+80,previewOperationColor:new Ki.FastColor(zn.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new Ki.FastColor(zn.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new Ki.FastColor(zn.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:zn.fontSizeIcon*1.5});var ir=(0,ln.I$)("Image",zn=>{const gn=`${zn.componentCls}-preview`,$n=(0,yn.mergeToken)(zn,{previewCls:gn,modalMaskBg:new Ki.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:zn.controlHeightLG});return[_r($n),Pn($n),(0,fr.QA)((0,yn.mergeToken)($n,{componentCls:gn})),Jr($n)]},di),Ar=function(zn,gn){var $n={};for(var nr in zn)Object.prototype.hasOwnProperty.call(zn,nr)&&gn.indexOf(nr)<0&&($n[nr]=zn[nr]);if(zn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pr=0,nr=Object.getOwnPropertySymbols(zn);pr<nr.length;pr++)gn.indexOf(nr[pr])<0&&Object.prototype.propertyIsEnumerable.call(zn,nr[pr])&&($n[nr[pr]]=zn[nr[pr]]);return $n};const ar={rotateLeft:x.createElement(rn,null),rotateRight:x.createElement(Hr,null),zoomIn:x.createElement(Xr,null),zoomOut:x.createElement(mi,null),close:x.createElement(Hn.Z,null),left:x.createElement(En.Z,null),right:x.createElement(Mt.Z,null),flipX:x.createElement(Yn,null),flipY:x.createElement(Yn,{rotate:90})};var tr=zn=>{var{previewPrefixCls:gn,preview:$n}=zn,nr=Ar(zn,["previewPrefixCls","preview"]);const{getPrefixCls:pr}=x.useContext(bn.E_),Zr=pr("image",gn),Ni=`${Zr}-preview`,fi=pr(),Li=(0,an.Z)(Zr),[vi,Ei,yi]=ir(Zr,Li),[Si]=(0,$t.Cn)("ImagePreview",typeof $n=="object"?$n.zIndex:void 0),wi=x.useMemo(()=>{var Ti;if($n===!1)return $n;const eo=typeof $n=="object"?$n:{},vo=Je()(Ei,yi,Li,(Ti=eo.rootClassName)!==null&&Ti!==void 0?Ti:"");return Object.assign(Object.assign({},eo),{transitionName:(0,Vt.m)(fi,"zoom",eo.transitionName),maskTransitionName:(0,Vt.m)(fi,"fade",eo.maskTransitionName),rootClassName:vo,zIndex:Si})},[$n]);return vi(x.createElement(st.PreviewGroup,Object.assign({preview:wi,previewPrefixCls:Ni,icons:ar},nr)))},Un=function(zn,gn){var $n={};for(var nr in zn)Object.prototype.hasOwnProperty.call(zn,nr)&&gn.indexOf(nr)<0&&($n[nr]=zn[nr]);if(zn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pr=0,nr=Object.getOwnPropertySymbols(zn);pr<nr.length;pr++)gn.indexOf(nr[pr])<0&&Object.prototype.propertyIsEnumerable.call(zn,nr[pr])&&($n[nr[pr]]=zn[nr[pr]]);return $n};const cr=zn=>{const{prefixCls:gn,preview:$n,className:nr,rootClassName:pr,style:Zr}=zn,Ni=Un(zn,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:fi,getPopupContainer:Li,className:vi,style:Ei,preview:yi}=(0,bn.dj)("image"),[Si]=(0,en.Z)("Image"),wi=fi("image",gn),Ti=fi(),eo=(0,an.Z)(wi),[vo,Yi,Do]=ir(wi,eo),ki=Je()(pr,Yi,Do,eo),ko=Je()(nr,Yi,vi),[Ao]=(0,$t.Cn)("ImagePreview",typeof $n=="object"?$n.zIndex:void 0),Xo=x.useMemo(()=>{if($n===!1)return $n;const to=typeof $n=="object"?$n:{},{getContainer:xo,closeIcon:$o,rootClassName:_n}=to,No=Un(to,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:x.createElement("div",{className:`${wi}-mask-info`},x.createElement(ct.Z,null),Si==null?void 0:Si.preview),icons:ar},No),{rootClassName:Je()(ki,_n),getContainer:xo!=null?xo:Li,transitionName:(0,Vt.m)(Ti,"zoom",to.transitionName),maskTransitionName:(0,Vt.m)(Ti,"fade",to.maskTransitionName),zIndex:Ao,closeIcon:$o!=null?$o:yi==null?void 0:yi.closeIcon})},[$n,Si,yi==null?void 0:yi.closeIcon]),Co=Object.assign(Object.assign({},Ei),Zr);return vo(x.createElement(st,Object.assign({prefixCls:wi,preview:Xo,rootClassName:ki,className:ko,style:Co},Ni)))};cr.PreviewGroup=tr;var Bi=cr},4875:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Wn}});var x=ae(59301),ct=ae(84105),Le=ae(87395),Je=ae(92310),He=ae.n(Je),Se=ae(54476),Ue=ae(20068),fe=ae(76190),Ce=ae(42978),oe=ae(75931),Oe=ae(67732),ve=ae(83652);function Me(){return typeof BigInt=="function"}function Ie(It){return!It&&It!==0&&!Number.isNaN(It)||!String(It).trim()}function _e(It){var Wt=It.trim(),rn=Wt.startsWith("-");rn&&(Wt=Wt.slice(1)),Wt=Wt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),Wt.startsWith(".")&&(Wt="0".concat(Wt));var mn=Wt||"0",Xn=mn.split("."),Fr=Xn[0]||"0",ri=Xn[1]||"0";Fr==="0"&&ri==="0"&&(rn=!1);var Hr=rn?"-":"";return{negative:rn,negativeStr:Hr,trimStr:mn,integerStr:Fr,decimalStr:ri,fullStr:"".concat(Hr).concat(mn)}}function we(It){var Wt=String(It);return!Number.isNaN(Number(Wt))&&Wt.includes("e")}function xe(It){var Wt=String(It);if(we(It)){var rn=Number(Wt.slice(Wt.indexOf("e-")+2)),mn=Wt.match(/\.(\d+)/);return mn!=null&&mn[1]&&(rn+=mn[1].length),rn}return Wt.includes(".")&&ke(Wt)?Wt.length-Wt.indexOf(".")-1:0}function Ee(It){var Wt=String(It);if(we(It)){if(It>Number.MAX_SAFE_INTEGER)return String(Me()?BigInt(It).toString():Number.MAX_SAFE_INTEGER);if(It<Number.MIN_SAFE_INTEGER)return String(Me()?BigInt(It).toString():Number.MIN_SAFE_INTEGER);Wt=It.toFixed(xe(Wt))}return _e(Wt).fullStr}function ke(It){return typeof It=="number"?!Number.isNaN(It):It?/^\s*-?\d+(\.\d+)?\s*$/.test(It)||/^\s*-?\d+\.\s*$/.test(It)||/^\s*-?\.\d+\s*$/.test(It):!1}var ze=function(){function It(Wt){if((0,Oe.Z)(this,It),(0,Ue.Z)(this,"origin",""),(0,Ue.Z)(this,"negative",void 0),(0,Ue.Z)(this,"integer",void 0),(0,Ue.Z)(this,"decimal",void 0),(0,Ue.Z)(this,"decimalLen",void 0),(0,Ue.Z)(this,"empty",void 0),(0,Ue.Z)(this,"nan",void 0),Ie(Wt)){this.empty=!0;return}if(this.origin=String(Wt),Wt==="-"||Number.isNaN(Wt)){this.nan=!0;return}var rn=Wt;if(we(rn)&&(rn=Number(rn)),rn=typeof rn=="string"?rn:Ee(rn),ke(rn)){var mn=_e(rn);this.negative=mn.negative;var Xn=mn.trimStr.split(".");this.integer=BigInt(Xn[0]);var Fr=Xn[1]||"0";this.decimal=BigInt(Fr),this.decimalLen=Fr.length}else this.nan=!0}return(0,ve.Z)(It,[{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(rn){var mn="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(rn,"0"));return BigInt(mn)}},{key:"negate",value:function(){var rn=new It(this.toString());return rn.negative=!rn.negative,rn}},{key:"cal",value:function(rn,mn,Xn){var Fr=Math.max(this.getDecimalStr().length,rn.getDecimalStr().length),ri=this.alignDecimal(Fr),Hr=rn.alignDecimal(Fr),Ir=mn(ri,Hr).toString(),er=Xn(Fr),vr=_e(Ir),Mr=vr.negativeStr,Yn=vr.trimStr,sr="".concat(Mr).concat(Yn.padStart(er+1,"0"));return new It("".concat(sr.slice(0,-er),".").concat(sr.slice(-er)))}},{key:"add",value:function(rn){if(this.isInvalidate())return new It(rn);var mn=new It(rn);return mn.isInvalidate()?this:this.cal(mn,function(Xn,Fr){return Xn+Fr},function(Xn){return Xn})}},{key:"multi",value:function(rn){var mn=new It(rn);return this.isInvalidate()||mn.isInvalidate()?new It(NaN):this.cal(mn,function(Xn,Fr){return Xn*Fr},function(Xn){return Xn*2})}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(rn){return this.toString()===(rn==null?void 0:rn.toString())}},{key:"lessEquals",value:function(rn){return this.add(rn.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var rn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return rn?this.isInvalidate()?"":_e("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),It}(),Qe=function(){function It(Wt){if((0,Oe.Z)(this,It),(0,Ue.Z)(this,"origin",""),(0,Ue.Z)(this,"number",void 0),(0,Ue.Z)(this,"empty",void 0),Ie(Wt)){this.empty=!0;return}this.origin=String(Wt),this.number=Number(Wt)}return(0,ve.Z)(It,[{key:"negate",value:function(){return new It(-this.toNumber())}},{key:"add",value:function(rn){if(this.isInvalidate())return new It(rn);var mn=Number(rn);if(Number.isNaN(mn))return this;var Xn=this.number+mn;if(Xn>Number.MAX_SAFE_INTEGER)return new It(Number.MAX_SAFE_INTEGER);if(Xn<Number.MIN_SAFE_INTEGER)return new It(Number.MIN_SAFE_INTEGER);var Fr=Math.max(xe(this.number),xe(mn));return new It(Xn.toFixed(Fr))}},{key:"multi",value:function(rn){var mn=Number(rn);if(this.isInvalidate()||Number.isNaN(mn))return new It(NaN);var Xn=this.number*mn;if(Xn>Number.MAX_SAFE_INTEGER)return new It(Number.MAX_SAFE_INTEGER);if(Xn<Number.MIN_SAFE_INTEGER)return new It(Number.MIN_SAFE_INTEGER);var Fr=Math.max(xe(this.number),xe(mn));return new It(Xn.toFixed(Fr))}},{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(rn){return this.toNumber()===(rn==null?void 0:rn.toNumber())}},{key:"lessEquals",value:function(rn){return this.add(rn.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var rn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return rn?this.isInvalidate()?"":Ee(this.number):this.origin}}]),It}();function Re(It){return Me()?new ze(It):new Qe(It)}function et(It,Wt,rn){var mn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(It==="")return"";var Xn=_e(It),Fr=Xn.negativeStr,ri=Xn.integerStr,Hr=Xn.decimalStr,Ir="".concat(Wt).concat(Hr),er="".concat(Fr).concat(ri);if(rn>=0){var vr=Number(Hr[rn]);if(vr>=5&&!mn){var Mr=Re(It).add("".concat(Fr,"0.").concat("0".repeat(rn)).concat(10-vr));return et(Mr.toString(),Wt,rn,mn)}return rn===0?er:"".concat(er).concat(Wt).concat(Hr.padEnd(rn,"0").slice(0,rn))}return Ir===".0"?er:"".concat(er).concat(Ir)}var Ge=Re,lt=ae(36901),it=ae(34280);function ft(It,Wt){return typeof Proxy!="undefined"&&It?new Proxy(It,{get:function(mn,Xn){if(Wt[Xn])return Wt[Xn];var Fr=mn[Xn];return typeof Fr=="function"?Fr.bind(mn):Fr}}):It}var bt=ae(8654),je=ae(48736);function ht(It,Wt){var rn=(0,x.useRef)(null);function mn(){try{var Fr=It.selectionStart,ri=It.selectionEnd,Hr=It.value,Ir=Hr.substring(0,Fr),er=Hr.substring(ri);rn.current={start:Fr,end:ri,value:Hr,beforeTxt:Ir,afterTxt:er}}catch(vr){}}function Xn(){if(It&&rn.current&&Wt)try{var Fr=It.value,ri=rn.current,Hr=ri.beforeTxt,Ir=ri.afterTxt,er=ri.start,vr=Fr.length;if(Fr.startsWith(Hr))vr=Hr.length;else if(Fr.endsWith(Ir))vr=Fr.length-rn.current.afterTxt.length;else{var Mr=Hr[er-1],Yn=Fr.indexOf(Mr,er-1);Yn!==-1&&(vr=Yn+1)}It.setSelectionRange(vr,vr)}catch(sr){(0,je.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(sr.message))}}return[mn,Xn]}var Ne=ae(49658),We=function(){var Wt=(0,x.useState)(!1),rn=(0,Ce.Z)(Wt,2),mn=rn[0],Xn=rn[1];return(0,it.Z)(function(){Xn((0,Ne.Z)())},[]),mn},Ut=We,ot=ae(16089),yt=200,Ft=600;function Ze(It){var Wt=It.prefixCls,rn=It.upNode,mn=It.downNode,Xn=It.upDisabled,Fr=It.downDisabled,ri=It.onStep,Hr=x.useRef(),Ir=x.useRef([]),er=x.useRef();er.current=ri;var vr=function(){clearTimeout(Hr.current)},Mr=function(pi,ci){pi.preventDefault(),vr(),er.current(ci);function Hi(){er.current(ci),Hr.current=setTimeout(Hi,yt)}Hr.current=setTimeout(Hi,Ft)};x.useEffect(function(){return function(){vr(),Ir.current.forEach(function(Yr){return ot.Z.cancel(Yr)})}},[]);var Yn=Ut();if(Yn)return null;var sr="".concat(Wt,"-handler"),jn=He()(sr,"".concat(sr,"-up"),(0,Ue.Z)({},"".concat(sr,"-up-disabled"),Xn)),ur=He()(sr,"".concat(sr,"-down"),(0,Ue.Z)({},"".concat(sr,"-down-disabled"),Fr)),br=function(){return Ir.current.push((0,ot.Z)(vr))},Xr={unselectable:"on",role:"button",onMouseUp:br,onMouseLeave:br};return x.createElement("div",{className:"".concat(sr,"-wrap")},x.createElement("span",(0,Se.Z)({},Xr,{onMouseDown:function(pi){Mr(pi,!0)},"aria-label":"Increase Value","aria-disabled":Xn,className:jn}),rn||x.createElement("span",{unselectable:"on",className:"".concat(Wt,"-handler-up-inner")})),x.createElement("span",(0,Se.Z)({},Xr,{onMouseDown:function(pi){Mr(pi,!1)},"aria-label":"Decrease Value","aria-disabled":Fr,className:ur}),mn||x.createElement("span",{unselectable:"on",className:"".concat(Wt,"-handler-down-inner")})))}function Te(It){var Wt=typeof It=="number"?Ee(It):_e(It).fullStr,rn=Wt.includes(".");return rn?_e(Wt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:It+"0"}var At=ae(30292),Zt=function(){var It=(0,x.useRef)(0),Wt=function(){ot.Z.cancel(It.current)};return(0,x.useEffect)(function(){return Wt},[]),function(rn){Wt(),It.current=(0,ot.Z)(function(){rn()})}},Kt=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],rt=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Nt=function(Wt,rn){return Wt||rn.isEmpty()?rn.toString():rn.toNumber()},Qt=function(Wt){var rn=Ge(Wt);return rn.isInvalidate()?null:rn},pn=x.forwardRef(function(It,Wt){var rn=It.prefixCls,mn=It.className,Xn=It.style,Fr=It.min,ri=It.max,Hr=It.step,Ir=Hr===void 0?1:Hr,er=It.defaultValue,vr=It.value,Mr=It.disabled,Yn=It.readOnly,sr=It.upHandler,jn=It.downHandler,ur=It.keyboard,br=It.changeOnWheel,Xr=br===void 0?!1:br,Yr=It.controls,pi=Yr===void 0?!0:Yr,ci=It.classNames,Hi=It.stringMode,mi=It.parser,no=It.formatter,Ki=It.precision,fr=It.decimalSeparator,Lr=It.onChange,gi=It.onInput,Xt=It.onPressEnter,ln=It.onStep,yn=It.changeOnBlur,kt=yn===void 0?!0:yn,dn=It.domRef,zt=(0,oe.Z)(It,Kt),hn="".concat(rn,"-input"),Pn=x.useRef(null),_r=x.useState(!1),Jr=(0,Ce.Z)(_r,2),di=Jr[0],ir=Jr[1],Ar=x.useRef(!1),ar=x.useRef(!1),ei=x.useRef(!1),tr=x.useState(function(){return Ge(vr!=null?vr:er)}),Un=(0,Ce.Z)(tr,2),cr=Un[0],Bi=Un[1];function zn(ti){vr===void 0&&Bi(ti)}var gn=x.useCallback(function(ti,Wr){if(!Wr)return Ki>=0?Ki:Math.max(xe(ti),xe(Ir))},[Ki,Ir]),$n=x.useCallback(function(ti){var Wr=String(ti);if(mi)return mi(Wr);var Ri=Wr;return fr&&(Ri=Ri.replace(fr,".")),Ri.replace(/[^\w.-]+/g,"")},[mi,fr]),nr=x.useRef(""),pr=x.useCallback(function(ti,Wr){if(no)return no(ti,{userTyping:Wr,input:String(nr.current)});var Ri=typeof ti=="number"?Ee(ti):ti;if(!Wr){var ro=gn(Ri,Wr);if(ke(Ri)&&(fr||ro>=0)){var zr=fr||".";Ri=et(Ri,zr,ro)}}return Ri},[no,gn,fr]),Zr=x.useState(function(){var ti=er!=null?er:vr;return cr.isInvalidate()&&["string","number"].includes((0,fe.Z)(ti))?Number.isNaN(ti)?"":ti:pr(cr.toString(),!1)}),Ni=(0,Ce.Z)(Zr,2),fi=Ni[0],Li=Ni[1];nr.current=fi;function vi(ti,Wr){Li(pr(ti.isInvalidate()?ti.toString(!1):ti.toString(!Wr),Wr))}var Ei=x.useMemo(function(){return Qt(ri)},[ri,Ki]),yi=x.useMemo(function(){return Qt(Fr)},[Fr,Ki]),Si=x.useMemo(function(){return!Ei||!cr||cr.isInvalidate()?!1:Ei.lessEquals(cr)},[Ei,cr]),wi=x.useMemo(function(){return!yi||!cr||cr.isInvalidate()?!1:cr.lessEquals(yi)},[yi,cr]),Ti=ht(Pn.current,di),eo=(0,Ce.Z)(Ti,2),vo=eo[0],Yi=eo[1],Do=function(Wr){return Ei&&!Wr.lessEquals(Ei)?Ei:yi&&!yi.lessEquals(Wr)?yi:null},ki=function(Wr){return!Do(Wr)},ko=function(Wr,Ri){var ro=Wr,zr=ki(ro)||ro.isEmpty();if(!ro.isEmpty()&&!Ri&&(ro=Do(ro)||ro,zr=!0),!Yn&&!Mr&&zr){var oi=ro.toString(),yr=gn(oi,Ri);return yr>=0&&(ro=Ge(et(oi,".",yr)),ki(ro)||(ro=Ge(et(oi,".",yr,!0)))),ro.equals(cr)||(zn(ro),Lr==null||Lr(ro.isEmpty()?null:Nt(Hi,ro)),vr===void 0&&vi(ro,Ri)),ro}return cr},Ao=Zt(),Xo=function ti(Wr){if(vo(),nr.current=Wr,Li(Wr),!ar.current){var Ri=$n(Wr),ro=Ge(Ri);ro.isNaN()||ko(ro,!0)}gi==null||gi(Wr),Ao(function(){var zr=Wr;mi||(zr=Wr.replace(/。/g,".")),zr!==Wr&&ti(zr)})},Co=function(){ar.current=!0},to=function(){ar.current=!1,Xo(Pn.current.value)},xo=function(Wr){Xo(Wr.target.value)},$o=function(Wr){var Ri;if(!(Wr&&Si||!Wr&&wi)){Ar.current=!1;var ro=Ge(ei.current?Te(Ir):Ir);Wr||(ro=ro.negate());var zr=(cr||Ge(0)).add(ro.toString()),oi=ko(zr,!1);ln==null||ln(Nt(Hi,oi),{offset:ei.current?Te(Ir):Ir,type:Wr?"up":"down"}),(Ri=Pn.current)===null||Ri===void 0||Ri.focus()}},_n=function(Wr){var Ri=Ge($n(fi)),ro;Ri.isNaN()?ro=ko(cr,Wr):ro=ko(Ri,Wr),vr!==void 0?vi(cr,!1):ro.isNaN()||vi(ro,!1)},No=function(){Ar.current=!0},Vi=function(Wr){var Ri=Wr.key,ro=Wr.shiftKey;Ar.current=!0,ei.current=ro,Ri==="Enter"&&(ar.current||(Ar.current=!1),_n(!1),Xt==null||Xt(Wr)),ur!==!1&&!ar.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Ri)&&($o(Ri==="Up"||Ri==="ArrowUp"),Wr.preventDefault())},Ur=function(){Ar.current=!1,ei.current=!1};x.useEffect(function(){if(Xr&&di){var ti=function(ro){$o(ro.deltaY<0),ro.preventDefault()},Wr=Pn.current;if(Wr)return Wr.addEventListener("wheel",ti,{passive:!1}),function(){return Wr.removeEventListener("wheel",ti)}}});var qr=function(){kt&&_n(!1),ir(!1),Ar.current=!1};return(0,it.o)(function(){cr.isInvalidate()||vi(cr,!1)},[Ki,no]),(0,it.o)(function(){var ti=Ge(vr);Bi(ti);var Wr=Ge($n(fi));(!ti.equals(Wr)||!Ar.current||no)&&vi(ti,Ar.current)},[vr]),(0,it.o)(function(){no&&Yi()},[fi]),x.createElement("div",{ref:dn,className:He()(rn,mn,(0,Ue.Z)((0,Ue.Z)((0,Ue.Z)((0,Ue.Z)((0,Ue.Z)({},"".concat(rn,"-focused"),di),"".concat(rn,"-disabled"),Mr),"".concat(rn,"-readonly"),Yn),"".concat(rn,"-not-a-number"),cr.isNaN()),"".concat(rn,"-out-of-range"),!cr.isInvalidate()&&!ki(cr))),style:Xn,onFocus:function(){ir(!0)},onBlur:qr,onKeyDown:Vi,onKeyUp:Ur,onCompositionStart:Co,onCompositionEnd:to,onBeforeInput:No},pi&&x.createElement(Ze,{prefixCls:rn,upNode:sr,downNode:jn,upDisabled:Si,downDisabled:wi,onStep:$o}),x.createElement("div",{className:"".concat(hn,"-wrap")},x.createElement("input",(0,Se.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Fr,"aria-valuemax":ri,"aria-valuenow":cr.isInvalidate()?null:cr.toString(),step:Ir},zt,{ref:(0,bt.sQ)(Pn,Wt),className:hn,value:fi,onChange:xo,disabled:Mr,readOnly:Yn}))))}),Ot=x.forwardRef(function(It,Wt){var rn=It.disabled,mn=It.style,Xn=It.prefixCls,Fr=Xn===void 0?"rc-input-number":Xn,ri=It.value,Hr=It.prefix,Ir=It.suffix,er=It.addonBefore,vr=It.addonAfter,Mr=It.className,Yn=It.classNames,sr=(0,oe.Z)(It,rt),jn=x.useRef(null),ur=x.useRef(null),br=x.useRef(null),Xr=function(pi){br.current&&(0,At.nH)(br.current,pi)};return x.useImperativeHandle(Wt,function(){return ft(br.current,{focus:Xr,nativeElement:jn.current.nativeElement||ur.current})}),x.createElement(lt.BaseInput,{className:Mr,triggerFocus:Xr,prefixCls:Fr,value:ri,disabled:rn,style:mn,prefix:Hr,suffix:Ir,addonAfter:vr,addonBefore:er,classNames:Yn,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:jn},x.createElement(pn,(0,Se.Z)({prefixCls:Fr,disabled:rn,ref:br,domRef:ur,className:Yn==null?void 0:Yn.input},sr)))}),vn=Ot,_t=vn,Fn=ae(62487),on=ae(82855),de=ae(48755),ge=ae(60840),ie=ae(2171),ee=ae(83397),le=ae(31756),se=ae(56553),Be=ae(24971),$e=ae(70045),at=ae(36237),pt=ae(53075),gt=ae(64910),Bt=ae(39082),Lt=ae(63356),Rt=ae(56119),Ct=ae(16931),st=ae(51636),$t=ae(17835);const Vt=It=>{var Wt;const rn=(Wt=It.handleVisible)!==null&&Wt!==void 0?Wt:"auto",mn=It.controlHeightSM-It.lineWidth*2;return Object.assign(Object.assign({},(0,gt.T)(It)),{controlWidth:90,handleWidth:mn,handleFontSize:It.fontSize/2,handleVisible:rn,handleActiveBg:It.colorFillAlter,handleBg:It.colorBgContainer,filledHandleBg:new $t.FastColor(It.colorFillSecondary).onBackground(It.colorBgContainer).toHexString(),handleHoverColor:It.colorPrimary,handleBorderColor:It.colorBorder,handleOpacity:rn===!0?1:0,handleVisibleWidth:rn===!0?mn:0})},bn=(It,Wt)=>{let{componentCls:rn,borderRadiusSM:mn,borderRadiusLG:Xn}=It;const Fr=Wt==="lg"?Xn:mn;return{[`&-${Wt}`]:{[`${rn}-handler-wrap`]:{borderStartEndRadius:Fr,borderEndEndRadius:Fr},[`${rn}-handler-up`]:{borderStartEndRadius:Fr},[`${rn}-handler-down`]:{borderEndEndRadius:Fr}}}},an=It=>{const{componentCls:Wt,lineWidth:rn,lineType:mn,borderRadius:Xn,inputFontSizeSM:Fr,inputFontSizeLG:ri,controlHeightLG:Hr,controlHeightSM:Ir,colorError:er,paddingInlineSM:vr,paddingBlockSM:Mr,paddingBlockLG:Yn,paddingInlineLG:sr,colorTextDescription:jn,motionDurationMid:ur,handleHoverColor:br,handleOpacity:Xr,paddingInline:Yr,paddingBlock:pi,handleBg:ci,handleActiveBg:Hi,colorTextDisabled:mi,borderRadiusSM:no,borderRadiusLG:Ki,controlWidth:fr,handleBorderColor:Lr,filledHandleBg:gi,lineHeightLG:Xt,calc:ln}=It;return[{[Wt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Lt.Wf)(It)),(0,pt.ik)(It)),{display:"inline-block",width:fr,margin:0,padding:0,borderRadius:Xn}),(0,Bt.qG)(It,{[`${Wt}-handler-wrap`]:{background:ci,[`${Wt}-handler-down`]:{borderBlockStart:`${(0,at.unit)(rn)} ${mn} ${Lr}`}}})),(0,Bt.H8)(It,{[`${Wt}-handler-wrap`]:{background:gi,[`${Wt}-handler-down`]:{borderBlockStart:`${(0,at.unit)(rn)} ${mn} ${Lr}`}},"&:focus-within":{[`${Wt}-handler-wrap`]:{background:ci}}})),(0,Bt.vc)(It,{[`${Wt}-handler-wrap`]:{background:ci,[`${Wt}-handler-down`]:{borderBlockStart:`${(0,at.unit)(rn)} ${mn} ${Lr}`}}})),(0,Bt.Mu)(It)),{"&-rtl":{direction:"rtl",[`${Wt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:ri,lineHeight:Xt,borderRadius:Ki,[`input${Wt}-input`]:{height:ln(Hr).sub(ln(rn).mul(2)).equal(),padding:`${(0,at.unit)(Yn)} ${(0,at.unit)(sr)}`}},"&-sm":{padding:0,fontSize:Fr,borderRadius:no,[`input${Wt}-input`]:{height:ln(Ir).sub(ln(rn).mul(2)).equal(),padding:`${(0,at.unit)(Mr)} ${(0,at.unit)(vr)}`}},"&-out-of-range":{[`${Wt}-input-wrap`]:{input:{color:er}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,Lt.Wf)(It)),(0,pt.s7)(It)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${Wt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${Wt}-group-addon`]:{borderRadius:Ki,fontSize:It.fontSizeLG}},"&-sm":{[`${Wt}-group-addon`]:{borderRadius:no}}},(0,Bt.ir)(It)),(0,Bt.S5)(It)),{[`&:not(${Wt}-compact-first-item):not(${Wt}-compact-last-item)${Wt}-compact-item`]:{[`${Wt}, ${Wt}-group-addon`]:{borderRadius:0}},[`&:not(${Wt}-compact-last-item)${Wt}-compact-first-item`]:{[`${Wt}, ${Wt}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Wt}-compact-first-item)${Wt}-compact-last-item`]:{[`${Wt}, ${Wt}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${Wt}-input`]:{cursor:"not-allowed"},[Wt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,Lt.Wf)(It)),{width:"100%",padding:`${(0,at.unit)(pi)} ${(0,at.unit)(Yr)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Xn,outline:0,transition:`all ${ur} linear`,appearance:"textfield",fontSize:"inherit"}),(0,pt.nz)(It.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${Wt}-handler-wrap, &-focused ${Wt}-handler-wrap`]:{width:It.handleWidth,opacity:1}})},{[Wt]:Object.assign(Object.assign(Object.assign({[`${Wt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:It.handleVisibleWidth,opacity:Xr,height:"100%",borderStartStartRadius:0,borderStartEndRadius:Xn,borderEndEndRadius:Xn,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${ur}`,overflow:"hidden",[`${Wt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
${Wt}-handler-up-inner,
${Wt}-handler-down-inner
`]:{marginInlineEnd:0,fontSize:It.handleFontSize}}},[`${Wt}-handler`]:{height:"50%",overflow:"hidden",color:jn,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,at.unit)(rn)} ${mn} ${Lr}`,transition:`all ${ur} linear`,"&:active":{background:Hi},"&:hover":{height:"60%",[`
${Wt}-handler-up-inner,
${Wt}-handler-down-inner
`]:{color:br}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,Lt.Ro)()),{color:jn,transition:`all ${ur} linear`,userSelect:"none"})},[`${Wt}-handler-up`]:{borderStartEndRadius:Xn},[`${Wt}-handler-down`]:{borderEndEndRadius:Xn}},bn(It,"lg")),bn(It,"sm")),{"&-disabled, &-readonly":{[`${Wt}-handler-wrap`]:{display:"none"},[`${Wt}-input`]:{color:"inherit"}},[`
${Wt}-handler-up-disabled,
${Wt}-handler-down-disabled
`]:{cursor:"not-allowed"},[`
${Wt}-handler-up-disabled:hover &-handler-up-inner,
${Wt}-handler-down-disabled:hover &-handler-down-inner
`]:{color:mi}})}]},en=It=>{const{componentCls:Wt,paddingBlock:rn,paddingInline:mn,inputAffixPadding:Xn,controlWidth:Fr,borderRadiusLG:ri,borderRadiusSM:Hr,paddingInlineLG:Ir,paddingInlineSM:er,paddingBlockLG:vr,paddingBlockSM:Mr,motionDurationMid:Yn}=It;return{[`${Wt}-affix-wrapper`]:Object.assign(Object.assign({[`input${Wt}-input`]:{padding:`${(0,at.unit)(rn)} 0`}},(0,pt.ik)(It)),{position:"relative",display:"inline-flex",alignItems:"center",width:Fr,padding:0,paddingInlineStart:mn,"&-lg":{borderRadius:ri,paddingInlineStart:Ir,[`input${Wt}-input`]:{padding:`${(0,at.unit)(vr)} 0`}},"&-sm":{borderRadius:Hr,paddingInlineStart:er,[`input${Wt}-input`]:{padding:`${(0,at.unit)(Mr)} 0`}},[`&:not(${Wt}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${Wt}-disabled`]:{background:"transparent"},[`> div${Wt}`]:{width:"100%",border:"none",outline:"none",[`&${Wt}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Wt}-handler-wrap`]:{zIndex:2},[Wt]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Xn},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:mn,marginInlineStart:Xn,transition:`margin ${Yn}`}},[`&:hover ${Wt}-handler-wrap, &-focused ${Wt}-handler-wrap`]:{width:It.handleWidth,opacity:1},[`&:not(${Wt}-affix-wrapper-without-controls):hover ${Wt}-suffix`]:{marginInlineEnd:It.calc(It.handleWidth).add(mn).equal()}})}};var Hn=(0,Ct.I$)("InputNumber",It=>{const Wt=(0,st.mergeToken)(It,(0,gt.e)(It));return[an(Wt),en(Wt),(0,Rt.c)(Wt)]},Vt,{unitless:{handleOpacity:!0}}),En=function(It,Wt){var rn={};for(var mn in It)Object.prototype.hasOwnProperty.call(It,mn)&&Wt.indexOf(mn)<0&&(rn[mn]=It[mn]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xn=0,mn=Object.getOwnPropertySymbols(It);Xn<mn.length;Xn++)Wt.indexOf(mn[Xn])<0&&Object.prototype.propertyIsEnumerable.call(It,mn[Xn])&&(rn[mn[Xn]]=It[mn[Xn]]);return rn};const Mt=x.forwardRef((It,Wt)=>{const{getPrefixCls:rn,direction:mn}=x.useContext(de.E_),Xn=x.useRef(null);x.useImperativeHandle(Wt,()=>Xn.current);const{className:Fr,rootClassName:ri,size:Hr,disabled:Ir,prefixCls:er,addonBefore:vr,addonAfter:Mr,prefix:Yn,suffix:sr,bordered:jn,readOnly:ur,status:br,controls:Xr,variant:Yr}=It,pi=En(It,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),ci=rn("input-number",er),Hi=(0,ee.Z)(ci),[mi,no,Ki]=Hn(ci,Hi),{compactSize:fr,compactItemClassnames:Lr}=(0,$e.ri)(ci,mn);let gi=x.createElement(Le.Z,{className:`${ci}-handler-up-inner`}),Xt=x.createElement(ct.Z,{className:`${ci}-handler-down-inner`});const ln=typeof Xr=="boolean"?Xr:void 0;typeof Xr=="object"&&(gi=typeof Xr.upIcon=="undefined"?gi:x.createElement("span",{className:`${ci}-handler-up-inner`},Xr.upIcon),Xt=typeof Xr.downIcon=="undefined"?Xt:x.createElement("span",{className:`${ci}-handler-down-inner`},Xr.downIcon));const{hasFeedback:yn,status:kt,isFormItemInput:dn,feedbackIcon:zt}=x.useContext(se.aM),hn=(0,on.F)(kt,br),Pn=(0,le.Z)(Un=>{var cr;return(cr=Hr!=null?Hr:fr)!==null&&cr!==void 0?cr:Un}),_r=x.useContext(ie.Z),Jr=Ir!=null?Ir:_r,[di,ir]=(0,Be.Z)("inputNumber",Yr,jn),Ar=yn&&x.createElement(x.Fragment,null,zt),ar=He()({[`${ci}-lg`]:Pn==="large",[`${ci}-sm`]:Pn==="small",[`${ci}-rtl`]:mn==="rtl",[`${ci}-in-form-item`]:dn},no),ei=`${ci}-group`,tr=x.createElement(_t,Object.assign({ref:Xn,disabled:Jr,className:He()(Ki,Hi,Fr,ri,Lr),upHandler:gi,downHandler:Xt,prefixCls:ci,readOnly:ur,controls:ln,prefix:Yn,suffix:Ar||sr,addonBefore:vr&&x.createElement(Fn.Z,{form:!0,space:!0},vr),addonAfter:Mr&&x.createElement(Fn.Z,{form:!0,space:!0},Mr),classNames:{input:ar,variant:He()({[`${ci}-${di}`]:ir},(0,on.Z)(ci,hn,yn)),affixWrapper:He()({[`${ci}-affix-wrapper-sm`]:Pn==="small",[`${ci}-affix-wrapper-lg`]:Pn==="large",[`${ci}-affix-wrapper-rtl`]:mn==="rtl",[`${ci}-affix-wrapper-without-controls`]:Xr===!1||Jr},no),wrapper:He()({[`${ei}-rtl`]:mn==="rtl"},no),groupWrapper:He()({[`${ci}-group-wrapper-sm`]:Pn==="small",[`${ci}-group-wrapper-lg`]:Pn==="large",[`${ci}-group-wrapper-rtl`]:mn==="rtl",[`${ci}-group-wrapper-${di}`]:ir},(0,on.Z)(`${ci}-group-wrapper`,hn,yn),no)}},pi));return mi(tr)}),sn=Mt,Dn=It=>x.createElement(ge.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},x.createElement(Mt,Object.assign({},It)));sn._InternalPanelDoNotUseOrYouWillBeFired=Dn;var Wn=sn},49397:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Qe}});var x=ae(59301),ct=ae(92310),Le=ae.n(ct),Je=ae(36901),He=ae(8654),Se=ae(62487),Ue=ae(86013),fe=ae(82855),Ce=ae(48755),oe=ae(2171),Oe=ae(83397),ve=ae(31756),Me=ae(56553),Ie=ae(24971),_e=ae(70045),we=ae(23826),xe=ae(53075);function Ee(Re){return!!(Re.prefix||Re.suffix||Re.allowClear||Re.showCount)}var ke=function(Re,et){var Ge={};for(var lt in Re)Object.prototype.hasOwnProperty.call(Re,lt)&&et.indexOf(lt)<0&&(Ge[lt]=Re[lt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,lt=Object.getOwnPropertySymbols(Re);it<lt.length;it++)et.indexOf(lt[it])<0&&Object.prototype.propertyIsEnumerable.call(Re,lt[it])&&(Ge[lt[it]]=Re[lt[it]]);return Ge},Qe=(0,x.forwardRef)((Re,et)=>{const{prefixCls:Ge,bordered:lt=!0,status:it,size:ft,disabled:bt,onBlur:je,onFocus:ht,suffix:Ne,allowClear:We,addonAfter:Ut,addonBefore:ot,className:yt,style:Ft,styles:Ze,rootClassName:Te,onChange:At,classNames:Zt,variant:Kt}=Re,rt=ke(Re,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Nt,direction:Qt,allowClear:pn,autoComplete:Ot,className:vn,style:_t,classNames:Fn,styles:on}=(0,Ce.dj)("input"),de=Nt("input",Ge),ge=(0,x.useRef)(null),ie=(0,Oe.Z)(de),[ee,le,se]=(0,xe.TI)(de,Te),[Be]=(0,xe.ZP)(de,ie),{compactSize:$e,compactItemClassnames:at}=(0,_e.ri)(de,Qt),pt=(0,ve.Z)(Wn=>{var It;return(It=ft!=null?ft:$e)!==null&&It!==void 0?It:Wn}),gt=x.useContext(oe.Z),Bt=bt!=null?bt:gt,{status:Lt,hasFeedback:Rt,feedbackIcon:Ct}=(0,x.useContext)(Me.aM),st=(0,fe.F)(Lt,it),$t=Ee(Re)||!!Rt,Vt=(0,x.useRef)($t),bn=(0,we.Z)(ge,!0),an=Wn=>{bn(),je==null||je(Wn)},en=Wn=>{bn(),ht==null||ht(Wn)},Hn=Wn=>{bn(),At==null||At(Wn)},En=(Rt||Ne)&&x.createElement(x.Fragment,null,Ne,Rt&&Ct),Mt=(0,Ue.Z)(We!=null?We:pn),[sn,Dn]=(0,Ie.Z)("input",Kt,lt);return ee(Be(x.createElement(Je.default,Object.assign({ref:(0,He.sQ)(et,ge),prefixCls:de,autoComplete:Ot},rt,{disabled:Bt,onBlur:an,onFocus:en,style:Object.assign(Object.assign({},_t),Ft),styles:Object.assign(Object.assign({},on),Ze),suffix:En,allowClear:Mt,className:Le()(yt,Te,se,ie,at,vn),onChange:Hn,addonBefore:ot&&x.createElement(Se.Z,{form:!0,space:!0},ot),addonAfter:Ut&&x.createElement(Se.Z,{form:!0,space:!0},Ut),classNames:Object.assign(Object.assign(Object.assign({},Zt),Fn),{input:Le()({[`${de}-sm`]:pt==="small",[`${de}-lg`]:pt==="large",[`${de}-rtl`]:Qt==="rtl"},Zt==null?void 0:Zt.input,Fn.input,le),variant:Le()({[`${de}-${sn}`]:Dn},(0,fe.Z)(de,st)),affixWrapper:Le()({[`${de}-affix-wrapper-sm`]:pt==="small",[`${de}-affix-wrapper-lg`]:pt==="large",[`${de}-affix-wrapper-rtl`]:Qt==="rtl"},le),wrapper:Le()({[`${de}-group-rtl`]:Qt==="rtl"},le),groupWrapper:Le()({[`${de}-group-wrapper-sm`]:pt==="small",[`${de}-group-wrapper-lg`]:pt==="large",[`${de}-group-wrapper-rtl`]:Qt==="rtl",[`${de}-group-wrapper-${sn}`]:Dn},(0,fe.Z)(`${de}-group-wrapper`,st,Rt),le)})}))))})},79809:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return et}});var x=ae(59301),ct=ae(92310),Le=ae.n(ct),Je=ae(22711),He=ae(86013),Se=ae(82855),Ue=ae(48755),fe=ae(2171),Ce=ae(83397),oe=ae(31756),Oe=ae(56553),ve=ae(24971),Me=ae(70045),Ie=ae(30292),_e=ae(53075),we=ae(16931),xe=ae(51636),Ee=ae(64910);const ke=Ge=>{const{componentCls:lt,paddingLG:it}=Ge,ft=`${lt}-textarea`;return{[`textarea${lt}`]:{maxWidth:"100%",height:"auto",minHeight:Ge.controlHeight,lineHeight:Ge.lineHeight,verticalAlign:"bottom",transition:`all ${Ge.motionDurationSlow}`,resize:"vertical",[`&${lt}-mouse-active`]:{transition:`all ${Ge.motionDurationSlow}, height 0s, width 0s`}},[`${lt}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[ft]:{position:"relative","&-show-count":{[`> ${lt}`]:{height:"100%"},[`${lt}-data-count`]:{position:"absolute",bottom:Ge.calc(Ge.fontSize).mul(Ge.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:Ge.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
&-allow-clear > ${lt},
&-affix-wrapper${ft}-has-feedback ${lt}
`]:{paddingInlineEnd:it},[`&-affix-wrapper${lt}-affix-wrapper`]:{padding:0,[`> textarea${lt}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:Ge.calc(Ge.controlHeight).sub(Ge.calc(Ge.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${lt}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${lt}-clear-icon`]:{position:"absolute",insetInlineEnd:Ge.paddingInline,insetBlockStart:Ge.paddingXS},[`${ft}-suffix`]:{position:"absolute",top:0,insetInlineEnd:Ge.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${lt}-affix-wrapper-sm`]:{[`${lt}-suffix`]:{[`${lt}-clear-icon`]:{insetInlineEnd:Ge.paddingInlineSM}}}}}};var ze=(0,we.I$)(["Input","TextArea"],Ge=>{const lt=(0,xe.mergeToken)(Ge,(0,Ee.e)(Ge));return[ke(lt)]},Ee.T,{resetFont:!1}),Qe=function(Ge,lt){var it={};for(var ft in Ge)Object.prototype.hasOwnProperty.call(Ge,ft)&&lt.indexOf(ft)<0&&(it[ft]=Ge[ft]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,ft=Object.getOwnPropertySymbols(Ge);bt<ft.length;bt++)lt.indexOf(ft[bt])<0&&Object.prototype.propertyIsEnumerable.call(Ge,ft[bt])&&(it[ft[bt]]=Ge[ft[bt]]);return it},et=(0,x.forwardRef)((Ge,lt)=>{var it;const{prefixCls:ft,bordered:bt=!0,size:je,disabled:ht,status:Ne,allowClear:We,classNames:Ut,rootClassName:ot,className:yt,style:Ft,styles:Ze,variant:Te,showCount:At,onMouseDown:Zt,onResize:Kt}=Ge,rt=Qe(Ge,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Nt,direction:Qt,allowClear:pn,autoComplete:Ot,className:vn,style:_t,classNames:Fn,styles:on}=(0,Ue.dj)("textArea"),de=x.useContext(fe.Z),ge=ht!=null?ht:de,{status:ie,hasFeedback:ee,feedbackIcon:le}=x.useContext(Oe.aM),se=(0,Se.F)(ie,Ne),Be=x.useRef(null);x.useImperativeHandle(lt,()=>{var Dn;return{resizableTextArea:(Dn=Be.current)===null||Dn===void 0?void 0:Dn.resizableTextArea,focus:Wn=>{var It,Wt;(0,Ie.nH)((Wt=(It=Be.current)===null||It===void 0?void 0:It.resizableTextArea)===null||Wt===void 0?void 0:Wt.textArea,Wn)},blur:()=>{var Wn;return(Wn=Be.current)===null||Wn===void 0?void 0:Wn.blur()}}});const $e=Nt("input",ft),at=(0,Ce.Z)($e),[pt,gt,Bt]=(0,_e.TI)($e,ot),[Lt]=ze($e,at),{compactSize:Rt,compactItemClassnames:Ct}=(0,Me.ri)($e,Qt),st=(0,oe.Z)(Dn=>{var Wn;return(Wn=je!=null?je:Rt)!==null&&Wn!==void 0?Wn:Dn}),[$t,Vt]=(0,ve.Z)("textArea",Te,bt),bn=(0,He.Z)(We!=null?We:pn),[an,en]=x.useState(!1),[Hn,En]=x.useState(!1),Mt=Dn=>{en(!0),Zt==null||Zt(Dn);const Wn=()=>{en(!1),document.removeEventListener("mouseup",Wn)};document.addEventListener("mouseup",Wn)},sn=Dn=>{var Wn,It;if(Kt==null||Kt(Dn),an&&typeof getComputedStyle=="function"){const Wt=(It=(Wn=Be.current)===null||Wn===void 0?void 0:Wn.nativeElement)===null||It===void 0?void 0:It.querySelector("textarea");Wt&&getComputedStyle(Wt).resize==="both"&&En(!0)}};return pt(Lt(x.createElement(Je.default,Object.assign({autoComplete:Ot},rt,{style:Object.assign(Object.assign({},_t),Ft),styles:Object.assign(Object.assign({},on),Ze),disabled:ge,allowClear:bn,className:Le()(Bt,at,yt,ot,Ct,vn,Hn&&`${$e}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},Ut),Fn),{textarea:Le()({[`${$e}-sm`]:st==="small",[`${$e}-lg`]:st==="large"},gt,Ut==null?void 0:Ut.textarea,Fn.textarea,an&&`${$e}-mouse-active`),variant:Le()({[`${$e}-${$t}`]:Vt},(0,Se.Z)($e,se)),affixWrapper:Le()(`${$e}-textarea-affix-wrapper`,{[`${$e}-affix-wrapper-rtl`]:Qt==="rtl",[`${$e}-affix-wrapper-sm`]:st==="small",[`${$e}-affix-wrapper-lg`]:st==="large",[`${$e}-textarea-show-count`]:At||((it=Ge.count)===null||it===void 0?void 0:it.show)},gt)}),prefixCls:$e,suffix:ee&&x.createElement("span",{className:`${$e}-textarea-suffix`},le),showCount:At,ref:Be,onResize:sn,onMouseDown:Mt}))))})},23826:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return ct}});var x=ae(59301);function ct(Le,Je){const He=(0,x.useRef)([]),Se=()=>{He.current.push(setTimeout(()=>{var Ue,fe,Ce,oe;!((Ue=Le.current)===null||Ue===void 0)&&Ue.input&&((fe=Le.current)===null||fe===void 0?void 0:fe.input.getAttribute("type"))==="password"&&(!((Ce=Le.current)===null||Ce===void 0)&&Ce.input.hasAttribute("value"))&&((oe=Le.current)===null||oe===void 0||oe.input.removeAttribute("value"))}))};return(0,x.useEffect)(()=>(Je&&Se(),()=>He.current.forEach(Ue=>{Ue&&clearTimeout(Ue)})),[]),Se}},37568:function(Vn,Tt,ae){"use strict";ae.d(Tt,{default:function(){return Fn}});var x=ae(59301),ct=ae(92310),Le=ae.n(ct),Je=ae(48755),He=ae(56553),Se=ae(53075),fe=on=>{const{getPrefixCls:de,direction:ge}=(0,x.useContext)(Je.E_),{prefixCls:ie,className:ee}=on,le=de("input-group",ie),se=de("input"),[Be,$e,at]=(0,Se.ZP)(se),pt=Le()(le,at,{[`${le}-lg`]:on.size==="large",[`${le}-sm`]:on.size==="small",[`${le}-compact`]:on.compact,[`${le}-rtl`]:ge==="rtl"},$e,ee),gt=(0,x.useContext)(He.aM),Bt=(0,x.useMemo)(()=>Object.assign(Object.assign({},gt),{isFormItemInput:!1}),[gt]);return Be(x.createElement("span",{className:pt,style:on.style,onMouseEnter:on.onMouseEnter,onMouseLeave:on.onMouseLeave,onFocus:on.onFocus,onBlur:on.onBlur},x.createElement(He.aM.Provider,{value:Bt},on.children)))},Ce=ae(49397),oe=ae(94480),Oe=ae(6089),ve=ae(26112),Me=ae(82855),Ie=ae(31756),_e=ae(16931),we=ae(51636),xe=ae(64910);const Ee=on=>{const{componentCls:de,paddingXS:ge}=on;return{[de]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:ge,"&-rtl":{direction:"rtl"},[`${de}-input`]:{textAlign:"center",paddingInline:on.paddingXXS},[`&${de}-sm ${de}-input`]:{paddingInline:on.calc(on.paddingXXS).div(2).equal()},[`&${de}-lg ${de}-input`]:{paddingInline:on.paddingXS}}}};var ke=(0,_e.I$)(["Input","OTP"],on=>{const de=(0,we.mergeToken)(on,(0,xe.e)(on));return[Ee(de)]},xe.T),ze=ae(16089),Qe=function(on,de){var ge={};for(var ie in on)Object.prototype.hasOwnProperty.call(on,ie)&&de.indexOf(ie)<0&&(ge[ie]=on[ie]);if(on!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ie=Object.getOwnPropertySymbols(on);ee<ie.length;ee++)de.indexOf(ie[ee])<0&&Object.prototype.propertyIsEnumerable.call(on,ie[ee])&&(ge[ie[ee]]=on[ie[ee]]);return ge},et=x.forwardRef((on,de)=>{const{value:ge,onChange:ie,onActiveChange:ee,index:le,mask:se}=on,Be=Qe(on,["value","onChange","onActiveChange","index","mask"]),$e=ge&&typeof se=="string"?se:ge,at=Rt=>{ie(le,Rt.target.value)},pt=x.useRef(null);x.useImperativeHandle(de,()=>pt.current);const gt=()=>{(0,ze.Z)(()=>{var Rt;const Ct=(Rt=pt.current)===null||Rt===void 0?void 0:Rt.input;document.activeElement===Ct&&Ct&&Ct.select()})},Bt=Rt=>{const{key:Ct,ctrlKey:st,metaKey:$t}=Rt;Ct==="ArrowLeft"?ee(le-1):Ct==="ArrowRight"?ee(le+1):Ct==="z"&&(st||$t)&&Rt.preventDefault(),gt()},Lt=Rt=>{Rt.key==="Backspace"&&!ge&&ee(le-1),gt()};return x.createElement(Ce.Z,Object.assign({type:se===!0?"password":"text"},Be,{ref:pt,value:$e,onInput:at,onFocus:gt,onKeyDown:Bt,onKeyUp:Lt,onMouseDown:gt,onMouseUp:gt}))}),Ge=function(on,de){var ge={};for(var ie in on)Object.prototype.hasOwnProperty.call(on,ie)&&de.indexOf(ie)<0&&(ge[ie]=on[ie]);if(on!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ie=Object.getOwnPropertySymbols(on);ee<ie.length;ee++)de.indexOf(ie[ee])<0&&Object.prototype.propertyIsEnumerable.call(on,ie[ee])&&(ge[ie[ee]]=on[ie[ee]]);return ge};function lt(on){return(on||"").split("")}const it=on=>{const{index:de,prefixCls:ge,separator:ie}=on,ee=typeof ie=="function"?ie(de):ie;return ee?x.createElement("span",{className:`${ge}-separator`},ee):null};var bt=x.forwardRef((on,de)=>{const{prefixCls:ge,length:ie=6,size:ee,defaultValue:le,value:se,onChange:Be,formatter:$e,separator:at,variant:pt,disabled:gt,status:Bt,autoFocus:Lt,mask:Rt,type:Ct,onInput:st,inputMode:$t}=on,Vt=Ge(on,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:bn,direction:an}=x.useContext(Je.E_),en=bn("otp",ge),Hn=(0,ve.Z)(Vt,{aria:!0,data:!0,attr:!0}),[En,Mt,sn]=ke(en),Dn=(0,Ie.Z)(Yn=>ee!=null?ee:Yn),Wn=x.useContext(He.aM),It=(0,Me.F)(Wn.status,Bt),Wt=x.useMemo(()=>Object.assign(Object.assign({},Wn),{status:It,hasFeedback:!1,feedbackIcon:null}),[Wn,It]),rn=x.useRef(null),mn=x.useRef({});x.useImperativeHandle(de,()=>({focus:()=>{var Yn;(Yn=mn.current[0])===null||Yn===void 0||Yn.focus()},blur:()=>{var Yn;for(let sr=0;sr<ie;sr+=1)(Yn=mn.current[sr])===null||Yn===void 0||Yn.blur()},nativeElement:rn.current}));const Xn=Yn=>$e?$e(Yn):Yn,[Fr,ri]=x.useState(()=>lt(Xn(le||"")));x.useEffect(()=>{se!==void 0&&ri(lt(se))},[se]);const Hr=(0,Oe.Z)(Yn=>{ri(Yn),st&&st(Yn),Be&&Yn.length===ie&&Yn.every(sr=>sr)&&Yn.some((sr,jn)=>Fr[jn]!==sr)&&Be(Yn.join(""))}),Ir=(0,Oe.Z)((Yn,sr)=>{let jn=(0,oe.Z)(Fr);for(let br=0;br<Yn;br+=1)jn[br]||(jn[br]="");sr.length<=1?jn[Yn]=sr:jn=jn.slice(0,Yn).concat(lt(sr)),jn=jn.slice(0,ie);for(let br=jn.length-1;br>=0&&!jn[br];br-=1)jn.pop();const ur=Xn(jn.map(br=>br||" ").join(""));return jn=lt(ur).map((br,Xr)=>br===" "&&!jn[Xr]?jn[Xr]:br),jn}),er=(Yn,sr)=>{var jn;const ur=Ir(Yn,sr),br=Math.min(Yn+sr.length,ie-1);br!==Yn&&ur[Yn]!==void 0&&((jn=mn.current[br])===null||jn===void 0||jn.focus()),Hr(ur)},vr=Yn=>{var sr;(sr=mn.current[Yn])===null||sr===void 0||sr.focus()},Mr={variant:pt,disabled:gt,status:It,mask:Rt,type:Ct,inputMode:$t};return En(x.createElement("div",Object.assign({},Hn,{ref:rn,className:Le()(en,{[`${en}-sm`]:Dn==="small",[`${en}-lg`]:Dn==="large",[`${en}-rtl`]:an==="rtl"},sn,Mt)}),x.createElement(He.aM.Provider,{value:Wt},Array.from({length:ie}).map((Yn,sr)=>{const jn=`otp-${sr}`,ur=Fr[sr]||"";return x.createElement(x.Fragment,{key:jn},x.createElement(et,Object.assign({ref:br=>{mn.current[sr]=br},index:sr,size:Dn,htmlSize:1,className:`${en}-input`,onChange:er,value:ur,onActiveChange:vr,autoFocus:sr===0&&Lt},Mr)),sr<ie-1&&x.createElement(it,{separator:at,index:sr,prefixCls:en}))}))))}),je=ae(73331),ht=ae(15277),Ne=ae(2738),We=ae(8654),Ut=ae(2171),ot=ae(23826),yt=function(on,de){var ge={};for(var ie in on)Object.prototype.hasOwnProperty.call(on,ie)&&de.indexOf(ie)<0&&(ge[ie]=on[ie]);if(on!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ie=Object.getOwnPropertySymbols(on);ee<ie.length;ee++)de.indexOf(ie[ee])<0&&Object.prototype.propertyIsEnumerable.call(on,ie[ee])&&(ge[ie[ee]]=on[ie[ee]]);return ge};const Ft=on=>on?x.createElement(ht.Z,null):x.createElement(je.Z,null),Ze={click:"onClick",hover:"onMouseOver"};var At=x.forwardRef((on,de)=>{const{disabled:ge,action:ie="click",visibilityToggle:ee=!0,iconRender:le=Ft}=on,se=x.useContext(Ut.Z),Be=ge!=null?ge:se,$e=typeof ee=="object"&&ee.visible!==void 0,[at,pt]=(0,x.useState)(()=>$e?ee.visible:!1),gt=(0,x.useRef)(null);x.useEffect(()=>{$e&&pt(ee.visible)},[$e,ee]);const Bt=(0,ot.Z)(gt),Lt=()=>{var Dn;if(Be)return;at&&Bt();const Wn=!at;pt(Wn),typeof ee=="object"&&((Dn=ee.onVisibleChange)===null||Dn===void 0||Dn.call(ee,Wn))},Rt=Dn=>{const Wn=Ze[ie]||"",It=le(at),Wt={[Wn]:Lt,className:`${Dn}-icon`,key:"passwordIcon",onMouseDown:rn=>{rn.preventDefault()},onMouseUp:rn=>{rn.preventDefault()}};return x.cloneElement(x.isValidElement(It)?It:x.createElement("span",null,It),Wt)},{className:Ct,prefixCls:st,inputPrefixCls:$t,size:Vt}=on,bn=yt(on,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:an}=x.useContext(Je.E_),en=an("input",$t),Hn=an("input-password",st),En=ee&&Rt(Hn),Mt=Le()(Hn,Ct,{[`${Hn}-${Vt}`]:!!Vt}),sn=Object.assign(Object.assign({},(0,Ne.Z)(bn,["suffix","iconRender","visibilityToggle"])),{type:at?"text":"password",className:Mt,prefixCls:en,suffix:En});return Vt&&(sn.size=Vt),x.createElement(Ce.Z,Object.assign({ref:(0,We.sQ)(de,gt)},sn))}),Zt=ae(47472),Kt=ae(22703),rt=ae(7939),Nt=ae(70045),Qt=function(on,de){var ge={};for(var ie in on)Object.prototype.hasOwnProperty.call(on,ie)&&de.indexOf(ie)<0&&(ge[ie]=on[ie]);if(on!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ie=Object.getOwnPropertySymbols(on);ee<ie.length;ee++)de.indexOf(ie[ee])<0&&Object.prototype.propertyIsEnumerable.call(on,ie[ee])&&(ge[ie[ee]]=on[ie[ee]]);return ge},Ot=x.forwardRef((on,de)=>{const{prefixCls:ge,inputPrefixCls:ie,className:ee,size:le,suffix:se,enterButton:Be=!1,addonAfter:$e,loading:at,disabled:pt,onSearch:gt,onChange:Bt,onCompositionStart:Lt,onCompositionEnd:Rt}=on,Ct=Qt(on,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:st,direction:$t}=x.useContext(Je.E_),Vt=x.useRef(!1),bn=st("input-search",ge),an=st("input",ie),{compactSize:en}=(0,Nt.ri)(bn,$t),Hn=(0,Ie.Z)(er=>{var vr;return(vr=le!=null?le:en)!==null&&vr!==void 0?vr:er}),En=x.useRef(null),Mt=er=>{er!=null&&er.target&&er.type==="click"&&gt&&gt(er.target.value,er,{source:"clear"}),Bt==null||Bt(er)},sn=er=>{var vr;document.activeElement===((vr=En.current)===null||vr===void 0?void 0:vr.input)&&er.preventDefault()},Dn=er=>{var vr,Mr;gt&&gt((Mr=(vr=En.current)===null||vr===void 0?void 0:vr.input)===null||Mr===void 0?void 0:Mr.value,er,{source:"input"})},Wn=er=>{Vt.current||at||Dn(er)},It=typeof Be=="boolean"?x.createElement(Zt.Z,null):null,Wt=`${bn}-button`;let rn;const mn=Be||{},Xn=mn.type&&mn.type.__ANT_BUTTON===!0;Xn||mn.type==="button"?rn=(0,Kt.Tm)(mn,Object.assign({onMouseDown:sn,onClick:er=>{var vr,Mr;(Mr=(vr=mn==null?void 0:mn.props)===null||vr===void 0?void 0:vr.onClick)===null||Mr===void 0||Mr.call(vr,er),Dn(er)},key:"enterButton"},Xn?{className:Wt,size:Hn}:{})):rn=x.createElement(rt.ZP,{className:Wt,type:Be?"primary":void 0,size:Hn,disabled:pt,key:"enterButton",onMouseDown:sn,onClick:Dn,loading:at,icon:It},Be),$e&&(rn=[rn,(0,Kt.Tm)($e,{key:"addonAfter"})]);const Fr=Le()(bn,{[`${bn}-rtl`]:$t==="rtl",[`${bn}-${Hn}`]:!!Hn,[`${bn}-with-button`]:!!Be},ee),ri=Object.assign(Object.assign({},Ct),{className:Fr,prefixCls:an,type:"search"}),Hr=er=>{Vt.current=!0,Lt==null||Lt(er)},Ir=er=>{Vt.current=!1,Rt==null||Rt(er)};return x.createElement(Ce.Z,Object.assign({ref:(0,We.sQ)(En,de),onPressEnter:Wn},ri,{size:Hn,onCompositionStart:Hr,onCompositionEnd:Ir,addonAfter:rn,suffix:se,onChange:Mt,disabled:pt}))}),vn=ae(79809);const _t=Ce.Z;_t.Group=fe,_t.Search=Ot,_t.TextArea=vn.Z,_t.Password=At,_t.OTP=bt;var Fn=_t},24303:function(Vn,Tt,ae){"use strict";ae.d(Tt,{D:function(){return Ge},Z:function(){return ft}});var x=ae(59301),ct=ae(54476),Le={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Je=Le,He=ae(7657),Se=function(je,ht){return x.createElement(He.Z,(0,ct.Z)({},je,{ref:ht,icon:Je}))},Ue=x.forwardRef(Se),fe=Ue,Ce=ae(33853),oe=ae(38819),Oe=ae(92310),ve=ae.n(Oe),Me=ae(2738),Ie=ae(48755),_e=ae(6989),we=ae(36237),xe=ae(48923),Ee=ae(16931);const ke=bt=>{const{componentCls:je,siderBg:ht,motionDurationMid:Ne,motionDurationSlow:We,antCls:Ut,triggerHeight:ot,triggerColor:yt,triggerBg:Ft,headerHeight:Ze,zeroTriggerWidth:Te,zeroTriggerHeight:At,borderRadiusLG:Zt,lightSiderBg:Kt,lightTriggerColor:rt,lightTriggerBg:Nt,bodyBg:Qt}=bt;return{[je]:{position:"relative",minWidth:0,background:ht,transition:`all ${Ne}, background 0s`,"&-has-trigger":{paddingBottom:ot},"&-right":{order:1},[`${je}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${Ut}-menu${Ut}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${je}-children`]:{overflow:"hidden"},[`${je}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:ot,color:yt,lineHeight:(0,we.unit)(ot),textAlign:"center",background:Ft,cursor:"pointer",transition:`all ${Ne}`},[`${je}-zero-width-trigger`]:{position:"absolute",top:Ze,insetInlineEnd:bt.calc(Te).mul(-1).equal(),zIndex:1,width:Te,height:At,color:yt,fontSize:bt.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ht,borderRadius:`0 ${(0,we.unit)(Zt)} ${(0,we.unit)(Zt)} 0`,cursor:"pointer",transition:`background ${We} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${We}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:bt.calc(Te).mul(-1).equal(),borderRadius:`${(0,we.unit)(Zt)} 0 0 ${(0,we.unit)(Zt)}`}},"&-light":{background:Kt,[`${je}-trigger`]:{color:rt,background:Nt},[`${je}-zero-width-trigger`]:{color:rt,background:Nt,border:`1px solid ${Qt}`,borderInlineStart:0}}}}};var ze=(0,Ee.I$)(["Layout","Sider"],bt=>[ke(bt)],xe.eh,{deprecatedTokens:xe.jn}),Qe=function(bt,je){var ht={};for(var Ne in bt)Object.prototype.hasOwnProperty.call(bt,Ne)&&je.indexOf(Ne)<0&&(ht[Ne]=bt[Ne]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Ne=Object.getOwnPropertySymbols(bt);We<Ne.length;We++)je.indexOf(Ne[We])<0&&Object.prototype.propertyIsEnumerable.call(bt,Ne[We])&&(ht[Ne[We]]=bt[Ne[We]]);return ht};const Re={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},et=bt=>!Number.isNaN(Number.parseFloat(bt))&&isFinite(bt),Ge=x.createContext({}),lt=(()=>{let bt=0;return function(){let je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return bt+=1,`${je}${bt}`}})();var ft=x.forwardRef((bt,je)=>{const{prefixCls:ht,className:Ne,trigger:We,children:Ut,defaultCollapsed:ot=!1,theme:yt="dark",style:Ft={},collapsible:Ze=!1,reverseArrow:Te=!1,width:At=200,collapsedWidth:Zt=80,zeroWidthTriggerStyle:Kt,breakpoint:rt,onCollapse:Nt,onBreakpoint:Qt}=bt,pn=Qe(bt,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ot}=(0,x.useContext)(_e.V),[vn,_t]=(0,x.useState)("collapsed"in bt?bt.collapsed:ot),[Fn,on]=(0,x.useState)(!1);(0,x.useEffect)(()=>{"collapsed"in bt&&_t(bt.collapsed)},[bt.collapsed]);const de=(Hn,En)=>{"collapsed"in bt||_t(Hn),Nt==null||Nt(Hn,En)},{getPrefixCls:ge,direction:ie}=(0,x.useContext)(Ie.E_),ee=ge("layout-sider",ht),[le,se,Be]=ze(ee),$e=(0,x.useRef)(null);$e.current=Hn=>{on(Hn.matches),Qt==null||Qt(Hn.matches),vn!==Hn.matches&&de(Hn.matches,"responsive")},(0,x.useEffect)(()=>{function Hn(Mt){return $e.current(Mt)}let En;if(typeof window!="undefined"){const{matchMedia:Mt}=window;if(Mt&&rt&&rt in Re){En=Mt(`screen and (max-width: ${Re[rt]})`);try{En.addEventListener("change",Hn)}catch(sn){En.addListener(Hn)}Hn(En)}}return()=>{try{En==null||En.removeEventListener("change",Hn)}catch(Mt){En==null||En.removeListener(Hn)}}},[rt]),(0,x.useEffect)(()=>{const Hn=lt("ant-sider-");return Ot.addSider(Hn),()=>Ot.removeSider(Hn)},[]);const at=()=>{de(!vn,"clickTrigger")},pt=(0,Me.Z)(pn,["collapsed"]),gt=vn?Zt:At,Bt=et(gt)?`${gt}px`:String(gt),Lt=parseFloat(String(Zt||0))===0?x.createElement("span",{onClick:at,className:ve()(`${ee}-zero-width-trigger`,`${ee}-zero-width-trigger-${Te?"right":"left"}`),style:Kt},We||x.createElement(fe,null)):null,Rt=ie==="rtl"==!Te,$t={expanded:Rt?x.createElement(oe.Z,null):x.createElement(Ce.Z,null),collapsed:Rt?x.createElement(Ce.Z,null):x.createElement(oe.Z,null)}[vn?"collapsed":"expanded"],Vt=We!==null?Lt||x.createElement("div",{className:`${ee}-trigger`,onClick:at,style:{width:Bt}},We||$t):null,bn=Object.assign(Object.assign({},Ft),{flex:`0 0 ${Bt}`,maxWidth:Bt,minWidth:Bt,width:Bt}),an=ve()(ee,`${ee}-${yt}`,{[`${ee}-collapsed`]:!!vn,[`${ee}-has-trigger`]:Ze&&We!==null&&!Lt,[`${ee}-below`]:!!Fn,[`${ee}-zero-width`]:parseFloat(Bt)===0},Ne,se,Be),en=x.useMemo(()=>({siderCollapsed:vn}),[vn]);return le(x.createElement(Ge.Provider,{value:en},x.createElement("aside",Object.assign({className:an},pt,{style:bn,ref:je}),x.createElement("div",{className:`${ee}-children`},Ut),Ze||Fn&&Lt?Vt:null)))})},6989:function(Vn,Tt,ae){"use strict";ae.d(Tt,{V:function(){return ct}});var x=ae(59301);const ct=x.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Vn,Tt,ae){"use strict";ae.d(Tt,{eh:function(){return Je},jn:function(){return He}});var x=ae(36237),ct=ae(16931);const Le=Se=>{const{antCls:Ue,componentCls:fe,colorText:Ce,footerBg:oe,headerHeight:Oe,headerPadding:ve,headerColor:Me,footerPadding:Ie,fontSize:_e,bodyBg:we,headerBg:xe}=Se;return{[fe]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:we,"&, *":{boxSizing:"border-box"},[`&${fe}-has-sider`]:{flexDirection:"row",[`> ${fe}, > ${fe}-content`]:{width:0}},[`${fe}-header, &${fe}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${fe}-header`]:{height:Oe,padding:ve,color:Me,lineHeight:(0,x.unit)(Oe),background:xe,[`${Ue}-menu`]:{lineHeight:"inherit"}},[`${fe}-footer`]:{padding:Ie,color:Ce,fontSize:_e,background:oe},[`${fe}-content`]:{flex:"auto",color:Ce,minHeight:0}}},Je=Se=>{const{colorBgLayout:Ue,controlHeight:fe,controlHeightLG:Ce,colorText:oe,controlHeightSM:Oe,marginXXS:ve,colorTextLightSolid:Me,colorBgContainer:Ie}=Se,_e=Ce*1.25;return{colorBgHeader:"#001529",colorBgBody:Ue,colorBgTrigger:"#002140",bodyBg:Ue,headerBg:"#001529",headerHeight:fe*2,headerPadding:`0 ${_e}px`,headerColor:oe,footerPadding:`${Oe}px ${_e}px`,footerBg:Ue,siderBg:"#001529",triggerHeight:Ce+ve*2,triggerBg:"#002140",triggerColor:Me,zeroTriggerWidth:Ce,zeroTriggerHeight:Ce,lightSiderBg:Ie,lightTriggerBg:Ie,lightTriggerColor:oe}},He=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];Tt.ZP=(0,ct.I$)("Layout",Se=>[Le(Se)],Je,{deprecatedTokens:He})},78857:function(Vn,Tt,ae){"use strict";ae.d(Tt,{J:function(){return Se}});var x=ae(59301),ct=ae(8654),Le=ae(62487),Je=function(Ue,fe){var Ce={};for(var oe in Ue)Object.prototype.hasOwnProperty.call(Ue,oe)&&fe.indexOf(oe)<0&&(Ce[oe]=Ue[oe]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,oe=Object.getOwnPropertySymbols(Ue);Oe<oe.length;Oe++)fe.indexOf(oe[Oe])<0&&Object.prototype.propertyIsEnumerable.call(Ue,oe[Oe])&&(Ce[oe[Oe]]=Ue[oe[Oe]]);return Ce};const He=x.createContext(null),Se=x.forwardRef((Ue,fe)=>{const{children:Ce}=Ue,oe=Je(Ue,["children"]),Oe=x.useContext(He),ve=x.useMemo(()=>Object.assign(Object.assign({},Oe),oe),[Oe,oe.prefixCls,oe.mode,oe.selectable,oe.rootClassName]),Me=(0,ct.t4)(Ce),Ie=(0,ct.x1)(fe,Me?(0,ct.C4)(Ce):null);return x.createElement(He.Provider,{value:ve},x.createElement(Le.Z,{space:!0},Me?x.cloneElement(Ce,{ref:Ie}):Ce))});Tt.Z=He},93041:function(Vn,Tt,ae){"use strict";ae.d(Tt,{default:function(){return le}});var x=ae(59301),ct=ae(28321),Le=ae(24303),Je=ae(18785),He=ae(92310),Se=ae.n(He),Ue=ae(6089),fe=ae(2738),Ce=ae(86641),oe=ae(22703),Oe=ae(48755),ve=ae(83397),Ie=(0,x.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),_e=function(se,Be){var $e={};for(var at in se)Object.prototype.hasOwnProperty.call(se,at)&&Be.indexOf(at)<0&&($e[at]=se[at]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,at=Object.getOwnPropertySymbols(se);pt<at.length;pt++)Be.indexOf(at[pt])<0&&Object.prototype.propertyIsEnumerable.call(se,at[pt])&&($e[at[pt]]=se[at[pt]]);return $e},xe=se=>{const{prefixCls:Be,className:$e,dashed:at}=se,pt=_e(se,["prefixCls","className","dashed"]),{getPrefixCls:gt}=x.useContext(Oe.E_),Bt=gt("menu",Be),Lt=Se()({[`${Bt}-item-divider-dashed`]:!!at},$e);return x.createElement(ct.iz,Object.assign({className:Lt},pt))},Ee=ae(11592),ke=ae(25399),Qe=se=>{var Be;const{className:$e,children:at,icon:pt,title:gt,danger:Bt,extra:Lt}=se,{prefixCls:Rt,firstLevel:Ct,direction:st,disableMenuItemTitleTooltip:$t,inlineCollapsed:Vt}=x.useContext(Ie),bn=sn=>{const Dn=at==null?void 0:at[0],Wn=x.createElement("span",{className:Se()(`${Rt}-title-content`,{[`${Rt}-title-content-with-extra`]:!!Lt||Lt===0})},at);return(!pt||x.isValidElement(at)&&at.type==="span")&&at&&sn&&Ct&&typeof Dn=="string"?x.createElement("div",{className:`${Rt}-inline-collapsed-noicon`},Dn.charAt(0)):Wn},{siderCollapsed:an}=x.useContext(Le.D);let en=gt;typeof gt=="undefined"?en=Ct?at:"":gt===!1&&(en="");const Hn={title:en};!an&&!Vt&&(Hn.title=null,Hn.open=!1);const En=(0,Ee.Z)(at).length;let Mt=x.createElement(ct.ck,Object.assign({},(0,fe.Z)(se,["title","icon","danger"]),{className:Se()({[`${Rt}-item-danger`]:Bt,[`${Rt}-item-only-child`]:(pt?En+1:En)===1},$e),title:typeof gt=="string"?gt:void 0}),(0,oe.Tm)(pt,{className:Se()(x.isValidElement(pt)?(Be=pt.props)===null||Be===void 0?void 0:Be.className:"",`${Rt}-item-icon`)}),bn(Vt));return $t||(Mt=x.createElement(ke.Z,Object.assign({},Hn,{placement:st==="rtl"?"left":"right",classNames:{root:`${Rt}-inline-collapsed-tooltip`}}),Mt)),Mt},Re=ae(78857),et=ae(36237),Ge=ae(17835),lt=ae(63356),it=ae(34961),ft=ae(46e3),bt=ae(34925),je=ae(16931),ht=ae(51636),We=se=>{const{componentCls:Be,motionDurationSlow:$e,horizontalLineHeight:at,colorSplit:pt,lineWidth:gt,lineType:Bt,itemPaddingInline:Lt}=se;return{[`${Be}-horizontal`]:{lineHeight:at,border:0,borderBottom:`${(0,et.unit)(gt)} ${Bt} ${pt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Be}-item, ${Be}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Lt},[`> ${Be}-item:hover,
> ${Be}-item-active,
> ${Be}-submenu ${Be}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Be}-item, ${Be}-submenu-title`]:{transition:[`border-color ${$e}`,`background ${$e}`].join(",")},[`${Be}-submenu-arrow`]:{display:"none"}}}},ot=se=>{let{componentCls:Be,menuArrowOffset:$e,calc:at}=se;return{[`${Be}-rtl`]:{direction:"rtl"},[`${Be}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Be}-rtl${Be}-vertical,
${Be}-submenu-rtl ${Be}-vertical`]:{[`${Be}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,et.unit)(at($e).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,et.unit)($e)})`}}}}};const yt=se=>Object.assign({},(0,lt.oN)(se));var Ze=(se,Be)=>{const{componentCls:$e,itemColor:at,itemSelectedColor:pt,subMenuItemSelectedColor:gt,groupTitleColor:Bt,itemBg:Lt,subMenuItemBg:Rt,itemSelectedBg:Ct,activeBarHeight:st,activeBarWidth:$t,activeBarBorderWidth:Vt,motionDurationSlow:bn,motionEaseInOut:an,motionEaseOut:en,itemPaddingInline:Hn,motionDurationMid:En,itemHoverColor:Mt,lineType:sn,colorSplit:Dn,itemDisabledColor:Wn,dangerItemColor:It,dangerItemHoverColor:Wt,dangerItemSelectedColor:rn,dangerItemActiveBg:mn,dangerItemSelectedBg:Xn,popupBg:Fr,itemHoverBg:ri,itemActiveBg:Hr,menuSubMenuBg:Ir,horizontalItemSelectedColor:er,horizontalItemSelectedBg:vr,horizontalItemBorderRadius:Mr,horizontalItemHoverBg:Yn}=se;return{[`${$e}-${Be}, ${$e}-${Be} > ${$e}`]:{color:at,background:Lt,[`&${$e}-root:focus-visible`]:Object.assign({},yt(se)),[`${$e}-item`]:{"&-group-title, &-extra":{color:Bt}},[`${$e}-submenu-selected > ${$e}-submenu-title`]:{color:gt},[`${$e}-item, ${$e}-submenu-title`]:{color:at,[`&:not(${$e}-item-disabled):focus-visible`]:Object.assign({},yt(se))},[`${$e}-item-disabled, ${$e}-submenu-disabled`]:{color:`${Wn} !important`},[`${$e}-item:not(${$e}-item-selected):not(${$e}-submenu-selected)`]:{[`&:hover, > ${$e}-submenu-title:hover`]:{color:Mt}},[`&:not(${$e}-horizontal)`]:{[`${$e}-item:not(${$e}-item-selected)`]:{"&:hover":{backgroundColor:ri},"&:active":{backgroundColor:Hr}},[`${$e}-submenu-title`]:{"&:hover":{backgroundColor:ri},"&:active":{backgroundColor:Hr}}},[`${$e}-item-danger`]:{color:It,[`&${$e}-item:hover`]:{[`&:not(${$e}-item-selected):not(${$e}-submenu-selected)`]:{color:Wt}},[`&${$e}-item:active`]:{background:mn}},[`${$e}-item a`]:{"&, &:hover":{color:"inherit"}},[`${$e}-item-selected`]:{color:pt,[`&${$e}-item-danger`]:{color:rn},"a, a:hover":{color:"inherit"}},[`& ${$e}-item-selected`]:{backgroundColor:Ct,[`&${$e}-item-danger`]:{backgroundColor:Xn}},[`&${$e}-submenu > ${$e}`]:{backgroundColor:Ir},[`&${$e}-popup > ${$e}`]:{backgroundColor:Fr},[`&${$e}-submenu-popup > ${$e}`]:{backgroundColor:Fr},[`&${$e}-horizontal`]:Object.assign(Object.assign({},Be==="dark"?{borderBottom:0}:{}),{[`> ${$e}-item, > ${$e}-submenu`]:{top:Vt,marginTop:se.calc(Vt).mul(-1).equal(),marginBottom:0,borderRadius:Mr,"&::after":{position:"absolute",insetInline:Hn,bottom:0,borderBottom:`${(0,et.unit)(st)} solid transparent`,transition:`border-color ${bn} ${an}`,content:'""'},"&:hover, &-active, &-open":{background:Yn,"&::after":{borderBottomWidth:st,borderBottomColor:er}},"&-selected":{color:er,backgroundColor:vr,"&:hover":{backgroundColor:vr},"&::after":{borderBottomWidth:st,borderBottomColor:er}}}}),[`&${$e}-root`]:{[`&${$e}-inline, &${$e}-vertical`]:{borderInlineEnd:`${(0,et.unit)(Vt)} ${sn} ${Dn}`}},[`&${$e}-inline`]:{[`${$e}-sub${$e}-inline`]:{background:Rt},[`${$e}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,et.unit)($t)} solid ${pt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${En} ${en}`,`opacity ${En} ${en}`].join(","),content:'""'},[`&${$e}-item-danger`]:{"&::after":{borderInlineEndColor:rn}}},[`${$e}-selected, ${$e}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${En} ${an}`,`opacity ${En} ${an}`].join(",")}}}}}};const Te=se=>{const{componentCls:Be,itemHeight:$e,itemMarginInline:at,padding:pt,menuArrowSize:gt,marginXS:Bt,itemMarginBlock:Lt,itemWidth:Rt,itemPaddingInline:Ct}=se,st=se.calc(gt).add(pt).add(Bt).equal();return{[`${Be}-item`]:{position:"relative",overflow:"hidden"},[`${Be}-item, ${Be}-submenu-title`]:{height:$e,lineHeight:(0,et.unit)($e),paddingInline:Ct,overflow:"hidden",textOverflow:"ellipsis",marginInline:at,marginBlock:Lt,width:Rt},[`> ${Be}-item,
> ${Be}-submenu > ${Be}-submenu-title`]:{height:$e,lineHeight:(0,et.unit)($e)},[`${Be}-item-group-list ${Be}-submenu-title,
${Be}-submenu-title`]:{paddingInlineEnd:st}}};var Zt=se=>{const{componentCls:Be,iconCls:$e,itemHeight:at,colorTextLightSolid:pt,dropdownWidth:gt,controlHeightLG:Bt,motionEaseOut:Lt,paddingXL:Rt,itemMarginInline:Ct,fontSizeLG:st,motionDurationFast:$t,motionDurationSlow:Vt,paddingXS:bn,boxShadowSecondary:an,collapsedWidth:en,collapsedIconSize:Hn}=se,En={height:at,lineHeight:(0,et.unit)(at),listStylePosition:"inside",listStyleType:"disc"};return[{[Be]:{"&-inline, &-vertical":Object.assign({[`&${Be}-root`]:{boxShadow:"none"}},Te(se))},[`${Be}-submenu-popup`]:{[`${Be}-vertical`]:Object.assign(Object.assign({},Te(se)),{boxShadow:an})}},{[`${Be}-submenu-popup ${Be}-vertical${Be}-sub`]:{minWidth:gt,maxHeight:`calc(100vh - ${(0,et.unit)(se.calc(Bt).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Be}-inline`]:{width:"100%",[`&${Be}-root`]:{[`${Be}-item, ${Be}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Vt}`,`background ${Vt}`,`padding ${$t} ${Lt}`].join(","),[`> ${Be}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Be}-sub${Be}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Be}-submenu > ${Be}-submenu-title`]:En,[`& ${Be}-item-group-title`]:{paddingInlineStart:Rt}},[`${Be}-item`]:En}},{[`${Be}-inline-collapsed`]:{width:en,[`&${Be}-root`]:{[`${Be}-item, ${Be}-submenu ${Be}-submenu-title`]:{[`> ${Be}-inline-collapsed-noicon`]:{fontSize:st,textAlign:"center"}}},[`> ${Be}-item,
> ${Be}-item-group > ${Be}-item-group-list > ${Be}-item,
> ${Be}-item-group > ${Be}-item-group-list > ${Be}-submenu > ${Be}-submenu-title,
> ${Be}-submenu > ${Be}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,et.unit)(se.calc(Hn).div(2).equal())} - ${(0,et.unit)(Ct)})`,textOverflow:"clip",[`
${Be}-submenu-arrow,
${Be}-submenu-expand-icon
`]:{opacity:0},[`${Be}-item-icon, ${$e}`]:{margin:0,fontSize:Hn,lineHeight:(0,et.unit)(at),"+ span":{display:"inline-block",opacity:0}}},[`${Be}-item-icon, ${$e}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Be}-item-icon, ${$e}`]:{display:"none"},"a, a:hover":{color:pt}},[`${Be}-item-group-title`]:Object.assign(Object.assign({},lt.vS),{paddingInline:bn})}}]};const Kt=se=>{const{componentCls:Be,motionDurationSlow:$e,motionDurationMid:at,motionEaseInOut:pt,motionEaseOut:gt,iconCls:Bt,iconSize:Lt,iconMarginInlineEnd:Rt}=se;return{[`${Be}-item, ${Be}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${$e}`,`background ${$e}`,`padding calc(${$e} + 0.1s) ${pt}`].join(","),[`${Be}-item-icon, ${Bt}`]:{minWidth:Lt,fontSize:Lt,transition:[`font-size ${at} ${gt}`,`margin ${$e} ${pt}`,`color ${$e}`].join(","),"+ span":{marginInlineStart:Rt,opacity:1,transition:[`opacity ${$e} ${pt}`,`margin ${$e}`,`color ${$e}`].join(",")}},[`${Be}-item-icon`]:Object.assign({},(0,lt.Ro)()),[`&${Be}-item-only-child`]:{[`> ${Bt}, > ${Be}-item-icon`]:{marginInlineEnd:0}}},[`${Be}-item-disabled, ${Be}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${Be}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},rt=se=>{const{componentCls:Be,motionDurationSlow:$e,motionEaseInOut:at,borderRadius:pt,menuArrowSize:gt,menuArrowOffset:Bt}=se;return{[`${Be}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:se.margin,width:gt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${$e} ${at}, opacity ${$e}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:se.calc(gt).mul(.6).equal(),height:se.calc(gt).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:pt,transition:[`background ${$e} ${at}`,`transform ${$e} ${at}`,`top ${$e} ${at}`,`color ${$e} ${at}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,et.unit)(se.calc(Bt).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,et.unit)(Bt)})`}}}}},Nt=se=>{const{antCls:Be,componentCls:$e,fontSize:at,motionDurationSlow:pt,motionDurationMid:gt,motionEaseInOut:Bt,paddingXS:Lt,padding:Rt,colorSplit:Ct,lineWidth:st,zIndexPopup:$t,borderRadiusLG:Vt,subMenuItemBorderRadius:bn,menuArrowSize:an,menuArrowOffset:en,lineType:Hn,groupTitleLineHeight:En,groupTitleFontSize:Mt}=se;return[{"":{[$e]:Object.assign(Object.assign({},(0,lt.dF)()),{"&-hidden":{display:"none"}})},[`${$e}-submenu-hidden`]:{display:"none"}},{[$e]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,lt.Wf)(se)),(0,lt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:at,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${pt} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${$e}-item`]:{flex:"none"}},[`${$e}-item, ${$e}-submenu, ${$e}-submenu-title`]:{borderRadius:se.itemBorderRadius},[`${$e}-item-group-title`]:{padding:`${(0,et.unit)(Lt)} ${(0,et.unit)(Rt)}`,fontSize:Mt,lineHeight:En,transition:`all ${pt}`},[`&-horizontal ${$e}-submenu`]:{transition:[`border-color ${pt} ${Bt}`,`background ${pt} ${Bt}`].join(",")},[`${$e}-submenu, ${$e}-submenu-inline`]:{transition:[`border-color ${pt} ${Bt}`,`background ${pt} ${Bt}`,`padding ${gt} ${Bt}`].join(",")},[`${$e}-submenu ${$e}-sub`]:{cursor:"initial",transition:[`background ${pt} ${Bt}`,`padding ${pt} ${Bt}`].join(",")},[`${$e}-title-content`]:{transition:`color ${pt}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${Be}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${$e}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:se.padding}},[`${$e}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${$e}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Ct,borderStyle:Hn,borderWidth:0,borderTopWidth:st,marginBlock:st,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Kt(se)),{[`${$e}-item-group`]:{[`${$e}-item-group-list`]:{margin:0,padding:0,[`${$e}-item, ${$e}-submenu-title`]:{paddingInline:`${(0,et.unit)(se.calc(at).mul(2).equal())} ${(0,et.unit)(Rt)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:$t,borderRadius:Vt,boxShadow:"none",transformOrigin:"0 0",[`&${$e}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${$e}`]:Object.assign(Object.assign(Object.assign({borderRadius:Vt},Kt(se)),rt(se)),{[`${$e}-item, ${$e}-submenu > ${$e}-submenu-title`]:{borderRadius:bn},[`${$e}-submenu-title::after`]:{transition:`transform ${pt} ${Bt}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:se.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:se.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:se.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:se.paddingXS}}}),rt(se)),{[`&-inline-collapsed ${$e}-submenu-arrow,
&-inline ${$e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,et.unit)(en)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,et.unit)(se.calc(en).mul(-1).equal())})`}},[`${$e}-submenu-open${$e}-submenu-inline > ${$e}-submenu-title > ${$e}-submenu-arrow`]:{transform:`translateY(${(0,et.unit)(se.calc(an).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,et.unit)(se.calc(en).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,et.unit)(en)})`}}})},{[`${Be}-layout-header`]:{[$e]:{lineHeight:"inherit"}}}]},Qt=se=>{var Be,$e,at;const{colorPrimary:pt,colorError:gt,colorTextDisabled:Bt,colorErrorBg:Lt,colorText:Rt,colorTextDescription:Ct,colorBgContainer:st,colorFillAlter:$t,colorFillContent:Vt,lineWidth:bn,lineWidthBold:an,controlItemBgActive:en,colorBgTextHover:Hn,controlHeightLG:En,lineHeight:Mt,colorBgElevated:sn,marginXXS:Dn,padding:Wn,fontSize:It,controlHeightSM:Wt,fontSizeLG:rn,colorTextLightSolid:mn,colorErrorHover:Xn}=se,Fr=(Be=se.activeBarWidth)!==null&&Be!==void 0?Be:0,ri=($e=se.activeBarBorderWidth)!==null&&$e!==void 0?$e:bn,Hr=(at=se.itemMarginInline)!==null&&at!==void 0?at:se.marginXXS,Ir=new Ge.FastColor(mn).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:se.zIndexPopupBase+50,radiusItem:se.borderRadiusLG,itemBorderRadius:se.borderRadiusLG,radiusSubMenuItem:se.borderRadiusSM,subMenuItemBorderRadius:se.borderRadiusSM,colorItemText:Rt,itemColor:Rt,colorItemTextHover:Rt,itemHoverColor:Rt,colorItemTextHoverHorizontal:pt,horizontalItemHoverColor:pt,colorGroupTitle:Ct,groupTitleColor:Ct,colorItemTextSelected:pt,itemSelectedColor:pt,subMenuItemSelectedColor:pt,colorItemTextSelectedHorizontal:pt,horizontalItemSelectedColor:pt,colorItemBg:st,itemBg:st,colorItemBgHover:Hn,itemHoverBg:Hn,colorItemBgActive:Vt,itemActiveBg:en,colorSubItemBg:$t,subMenuItemBg:$t,colorItemBgSelected:en,itemSelectedBg:en,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:Fr,colorActiveBarHeight:an,activeBarHeight:an,colorActiveBarBorderSize:bn,activeBarBorderWidth:ri,colorItemTextDisabled:Bt,itemDisabledColor:Bt,colorDangerItemText:gt,dangerItemColor:gt,colorDangerItemTextHover:gt,dangerItemHoverColor:gt,colorDangerItemTextSelected:gt,dangerItemSelectedColor:gt,colorDangerItemBgActive:Lt,dangerItemActiveBg:Lt,colorDangerItemBgSelected:Lt,dangerItemSelectedBg:Lt,itemMarginInline:Hr,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:En,groupTitleLineHeight:Mt,collapsedWidth:En*2,popupBg:sn,itemMarginBlock:Dn,itemPaddingInline:Wn,horizontalLineHeight:`${En*1.15}px`,iconSize:It,iconMarginInlineEnd:Wt-It,collapsedIconSize:rn,groupTitleFontSize:It,darkItemDisabledColor:new Ge.FastColor(mn).setA(.25).toRgbString(),darkItemColor:Ir,darkDangerItemColor:gt,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:mn,darkItemSelectedBg:pt,darkDangerItemSelectedBg:gt,darkItemHoverBg:"transparent",darkGroupTitleColor:Ir,darkItemHoverColor:mn,darkDangerItemHoverColor:Xn,darkDangerItemSelectedColor:mn,darkDangerItemActiveBg:gt,itemWidth:Fr?`calc(100% + ${ri}px)`:`calc(100% - ${Hr*2}px)`}};var pn=function(se){let Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:se,$e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,je.I$)("Menu",pt=>{const{colorBgElevated:gt,controlHeightLG:Bt,fontSize:Lt,darkItemColor:Rt,darkDangerItemColor:Ct,darkItemBg:st,darkSubMenuItemBg:$t,darkItemSelectedColor:Vt,darkItemSelectedBg:bn,darkDangerItemSelectedBg:an,darkItemHoverBg:en,darkGroupTitleColor:Hn,darkItemHoverColor:En,darkItemDisabledColor:Mt,darkDangerItemHoverColor:sn,darkDangerItemSelectedColor:Dn,darkDangerItemActiveBg:Wn,popupBg:It,darkPopupBg:Wt}=pt,rn=pt.calc(Lt).div(7).mul(5).equal(),mn=(0,ht.mergeToken)(pt,{menuArrowSize:rn,menuHorizontalHeight:pt.calc(Bt).mul(1.15).equal(),menuArrowOffset:pt.calc(rn).mul(.25).equal(),menuSubMenuBg:gt,calc:pt.calc,popupBg:It}),Xn=(0,ht.mergeToken)(mn,{itemColor:Rt,itemHoverColor:En,groupTitleColor:Hn,itemSelectedColor:Vt,subMenuItemSelectedColor:Vt,itemBg:st,popupBg:Wt,subMenuItemBg:$t,itemActiveBg:"transparent",itemSelectedBg:bn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:en,itemDisabledColor:Mt,dangerItemColor:Ct,dangerItemHoverColor:sn,dangerItemSelectedColor:Dn,dangerItemActiveBg:Wn,dangerItemSelectedBg:an,menuSubMenuBg:$t,horizontalItemSelectedColor:Vt,horizontalItemSelectedBg:bn});return[Nt(mn),We(mn),Zt(mn),Ze(mn,"light"),Ze(Xn,"dark"),ot(mn),(0,it.Z)(mn),(0,ft.oN)(mn,"slide-up"),(0,ft.oN)(mn,"slide-down"),(0,bt._y)(mn,"zoom-big")]},Qt,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:$e,unitless:{groupTitleLineHeight:!0}})(se,Be)},Ot=ae(75030),_t=se=>{var Be;const{popupClassName:$e,icon:at,title:pt,theme:gt}=se,Bt=x.useContext(Ie),{prefixCls:Lt,inlineCollapsed:Rt,theme:Ct}=Bt,st=(0,ct.Xl)();let $t;if(!at)$t=Rt&&!st.length&&pt&&typeof pt=="string"?x.createElement("div",{className:`${Lt}-inline-collapsed-noicon`},pt.charAt(0)):x.createElement("span",{className:`${Lt}-title-content`},pt);else{const an=x.isValidElement(pt)&&pt.type==="span";$t=x.createElement(x.Fragment,null,(0,oe.Tm)(at,{className:Se()(x.isValidElement(at)?(Be=at.props)===null||Be===void 0?void 0:Be.className:"",`${Lt}-item-icon`)}),an?pt:x.createElement("span",{className:`${Lt}-title-content`},pt))}const Vt=x.useMemo(()=>Object.assign(Object.assign({},Bt),{firstLevel:!1}),[Bt]),[bn]=(0,Ot.Cn)("Menu");return x.createElement(Ie.Provider,{value:Vt},x.createElement(ct.Wd,Object.assign({},(0,fe.Z)(se,["icon"]),{title:$t,popupClassName:Se()(Lt,$e,`${Lt}-${gt||Ct}`),popupStyle:Object.assign({zIndex:bn},se.popupStyle)})))},Fn=function(se,Be){var $e={};for(var at in se)Object.prototype.hasOwnProperty.call(se,at)&&Be.indexOf(at)<0&&($e[at]=se[at]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,at=Object.getOwnPropertySymbols(se);pt<at.length;pt++)Be.indexOf(at[pt])<0&&Object.prototype.propertyIsEnumerable.call(se,at[pt])&&($e[at[pt]]=se[at[pt]]);return $e};function on(se){return se===null||se===!1}const de={item:Qe,submenu:_t,divider:xe};var ie=(0,x.forwardRef)((se,Be)=>{var $e;const at=x.useContext(Re.Z),pt=at||{},{getPrefixCls:gt,getPopupContainer:Bt,direction:Lt,menu:Rt}=x.useContext(Oe.E_),Ct=gt(),{prefixCls:st,className:$t,style:Vt,theme:bn="light",expandIcon:an,_internalDisableMenuItemTitleTooltip:en,inlineCollapsed:Hn,siderCollapsed:En,rootClassName:Mt,mode:sn,selectable:Dn,onClick:Wn,overflowedIndicatorPopupClassName:It}=se,Wt=Fn(se,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),rn=(0,fe.Z)(Wt,["collapsedWidth"]);($e=pt.validator)===null||$e===void 0||$e.call(pt,{mode:sn});const mn=(0,Ue.Z)(function(){var br;Wn==null||Wn.apply(void 0,arguments),(br=pt.onClick)===null||br===void 0||br.call(pt)}),Xn=pt.mode||sn,Fr=Dn!=null?Dn:pt.selectable,ri=Hn!=null?Hn:En,Hr={horizontal:{motionName:`${Ct}-slide-up`},inline:(0,Ce.Z)(Ct),other:{motionName:`${Ct}-zoom-big`}},Ir=gt("menu",st||pt.prefixCls),er=(0,ve.Z)(Ir),[vr,Mr,Yn]=pn(Ir,er,!at),sr=Se()(`${Ir}-${bn}`,Rt==null?void 0:Rt.className,$t),jn=x.useMemo(()=>{var br,Xr;if(typeof an=="function"||on(an))return an||null;if(typeof pt.expandIcon=="function"||on(pt.expandIcon))return pt.expandIcon||null;if(typeof(Rt==null?void 0:Rt.expandIcon)=="function"||on(Rt==null?void 0:Rt.expandIcon))return(Rt==null?void 0:Rt.expandIcon)||null;const Yr=(br=an!=null?an:pt==null?void 0:pt.expandIcon)!==null&&br!==void 0?br:Rt==null?void 0:Rt.expandIcon;return(0,oe.Tm)(Yr,{className:Se()(`${Ir}-submenu-expand-icon`,x.isValidElement(Yr)?(Xr=Yr.props)===null||Xr===void 0?void 0:Xr.className:void 0)})},[an,pt==null?void 0:pt.expandIcon,Rt==null?void 0:Rt.expandIcon,Ir]),ur=x.useMemo(()=>({prefixCls:Ir,inlineCollapsed:ri||!1,direction:Lt,firstLevel:!0,theme:bn,mode:Xn,disableMenuItemTitleTooltip:en}),[Ir,ri,Lt,en,bn]);return vr(x.createElement(Re.Z.Provider,{value:null},x.createElement(Ie.Provider,{value:ur},x.createElement(ct.ZP,Object.assign({getPopupContainer:Bt,overflowedIndicator:x.createElement(Je.Z,null),overflowedIndicatorPopupClassName:Se()(Ir,`${Ir}-${bn}`,It),mode:Xn,selectable:Fr,onClick:mn},rn,{inlineCollapsed:ri,style:Object.assign(Object.assign({},Rt==null?void 0:Rt.style),Vt),className:sr,prefixCls:Ir,direction:Lt,defaultMotions:Hr,expandIcon:jn,ref:Be,rootClassName:Se()(Mt,Mr,pt.rootClassName,Yn,er),_internalComponents:de})))))});const ee=(0,x.forwardRef)((se,Be)=>{const $e=(0,x.useRef)(null),at=x.useContext(Le.D);return(0,x.useImperativeHandle)(Be,()=>({menu:$e.current,focus:pt=>{var gt;(gt=$e.current)===null||gt===void 0||gt.focus(pt)}})),x.createElement(ie,Object.assign({ref:$e},se,at))});ee.Item=Qe,ee.SubMenu=_t,ee.Divider=xe,ee.ItemGroup=ct.BW;var le=ee},31709:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Rt}});var x=ae(59301),ct=ae(54476),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Je=Le,He=ae(7657),Se=function(st,$t){return x.createElement(He.Z,(0,ct.Z)({},st,{ref:$t,icon:Je}))},Ue=x.forwardRef(Se),fe=Ue,Ce=ae(49198),oe=ae(33853),Oe=ae(38819),ve=ae(92310),Me=ae.n(ve),Ie=ae(20068),_e=ae(76190),we=ae(33885),xe=ae(42978),Ee=ae(18929),ke=ae(10228),ze=ae(26112),Qe=ae(48736),Re=ae(17119),et=[10,20,50,100],Ge=function(st){var $t=st.pageSizeOptions,Vt=$t===void 0?et:$t,bn=st.locale,an=st.changeSize,en=st.pageSize,Hn=st.goButton,En=st.quickGo,Mt=st.rootPrefixCls,sn=st.disabled,Dn=st.buildOptionText,Wn=st.showSizeChanger,It=st.sizeChangerRender,Wt=x.useState(""),rn=(0,xe.Z)(Wt,2),mn=rn[0],Xn=rn[1],Fr=function(){return!mn||Number.isNaN(mn)?void 0:Number(mn)},ri=typeof Dn=="function"?Dn:function(ur){return"".concat(ur," ").concat(bn.items_per_page)},Hr=function(br){Xn(br.target.value)},Ir=function(br){Hn||mn===""||(Xn(""),!(br.relatedTarget&&(br.relatedTarget.className.indexOf("".concat(Mt,"-item-link"))>=0||br.relatedTarget.className.indexOf("".concat(Mt,"-item"))>=0))&&(En==null||En(Fr())))},er=function(br){mn!==""&&(br.keyCode===ke.Z.ENTER||br.type==="click")&&(Xn(""),En==null||En(Fr()))},vr=function(){return Vt.some(function(br){return br.toString()===en.toString()})?Vt:Vt.concat([en]).sort(function(br,Xr){var Yr=Number.isNaN(Number(br))?0:Number(br),pi=Number.isNaN(Number(Xr))?0:Number(Xr);return Yr-pi})},Mr="".concat(Mt,"-options");if(!Wn&&!En)return null;var Yn=null,sr=null,jn=null;return Wn&&It&&(Yn=It({disabled:sn,size:en,onSizeChange:function(br){an==null||an(Number(br))},"aria-label":bn.page_size,className:"".concat(Mr,"-size-changer"),options:vr().map(function(ur){return{label:ri(ur),value:ur}})})),En&&(Hn&&(jn=typeof Hn=="boolean"?x.createElement("button",{type:"button",onClick:er,onKeyUp:er,disabled:sn,className:"".concat(Mr,"-quick-jumper-button")},bn.jump_to_confirm):x.createElement("span",{onClick:er,onKeyUp:er},Hn)),sr=x.createElement("div",{className:"".concat(Mr,"-quick-jumper")},bn.jump_to,x.createElement("input",{disabled:sn,type:"text",value:mn,onChange:Hr,onKeyUp:er,onBlur:Ir,"aria-label":bn.page}),bn.page,jn)),x.createElement("li",{className:Mr},Yn,sr)},lt=Ge,it=function(st){var $t=st.rootPrefixCls,Vt=st.page,bn=st.active,an=st.className,en=st.showTitle,Hn=st.onClick,En=st.onKeyPress,Mt=st.itemRender,sn="".concat($t,"-item"),Dn=Me()(sn,"".concat(sn,"-").concat(Vt),(0,Ie.Z)((0,Ie.Z)({},"".concat(sn,"-active"),bn),"".concat(sn,"-disabled"),!Vt),an),Wn=function(){Hn(Vt)},It=function(mn){En(mn,Hn,Vt)},Wt=Mt(Vt,"page",x.createElement("a",{rel:"nofollow"},Vt));return Wt?x.createElement("li",{title:en?String(Vt):null,className:Dn,onClick:Wn,onKeyDown:It,tabIndex:0},Wt):null},ft=it,bt=function(st,$t,Vt){return Vt};function je(){}function ht(Ct){var st=Number(Ct);return typeof st=="number"&&!Number.isNaN(st)&&isFinite(st)&&Math.floor(st)===st}function Ne(Ct,st,$t){var Vt=typeof Ct=="undefined"?st:Ct;return Math.floor(($t-1)/Vt)+1}var We=function(st){var $t=st.prefixCls,Vt=$t===void 0?"rc-pagination":$t,bn=st.selectPrefixCls,an=bn===void 0?"rc-select":bn,en=st.className,Hn=st.current,En=st.defaultCurrent,Mt=En===void 0?1:En,sn=st.total,Dn=sn===void 0?0:sn,Wn=st.pageSize,It=st.defaultPageSize,Wt=It===void 0?10:It,rn=st.onChange,mn=rn===void 0?je:rn,Xn=st.hideOnSinglePage,Fr=st.align,ri=st.showPrevNextJumpers,Hr=ri===void 0?!0:ri,Ir=st.showQuickJumper,er=st.showLessItems,vr=st.showTitle,Mr=vr===void 0?!0:vr,Yn=st.onShowSizeChange,sr=Yn===void 0?je:Yn,jn=st.locale,ur=jn===void 0?Re.Z:jn,br=st.style,Xr=st.totalBoundaryShowSizeChanger,Yr=Xr===void 0?50:Xr,pi=st.disabled,ci=st.simple,Hi=st.showTotal,mi=st.showSizeChanger,no=mi===void 0?Dn>Yr:mi,Ki=st.sizeChangerRender,fr=st.pageSizeOptions,Lr=st.itemRender,gi=Lr===void 0?bt:Lr,Xt=st.jumpPrevIcon,ln=st.jumpNextIcon,yn=st.prevIcon,kt=st.nextIcon,dn=x.useRef(null),zt=(0,Ee.Z)(10,{value:Wn,defaultValue:Wt}),hn=(0,xe.Z)(zt,2),Pn=hn[0],_r=hn[1],Jr=(0,Ee.Z)(1,{value:Hn,defaultValue:Mt,postState:function(mo){return Math.max(1,Math.min(mo,Ne(void 0,Pn,Dn)))}}),di=(0,xe.Z)(Jr,2),ir=di[0],Ar=di[1],ar=x.useState(ir),ei=(0,xe.Z)(ar,2),tr=ei[0],Un=ei[1];(0,x.useEffect)(function(){Un(ir)},[ir]);var cr=mn!==je,Bi="current"in st,zn=Math.max(1,ir-(er?3:5)),gn=Math.min(Ne(void 0,Pn,Dn),ir+(er?3:5));function $n(Mo,mo){var Fa=Mo||x.createElement("button",{type:"button","aria-label":mo,className:"".concat(Vt,"-item-link")});return typeof Mo=="function"&&(Fa=x.createElement(Mo,(0,we.Z)({},st))),Fa}function nr(Mo){var mo=Mo.target.value,Fa=Ne(void 0,Pn,Dn),hs;return mo===""?hs=mo:Number.isNaN(Number(mo))?hs=tr:mo>=Fa?hs=Fa:hs=Number(mo),hs}function pr(Mo){return ht(Mo)&&Mo!==ir&&ht(Dn)&&Dn>0}var Zr=Dn>Pn?Ir:!1;function Ni(Mo){(Mo.keyCode===ke.Z.UP||Mo.keyCode===ke.Z.DOWN)&&Mo.preventDefault()}function fi(Mo){var mo=nr(Mo);switch(mo!==tr&&Un(mo),Mo.keyCode){case ke.Z.ENTER:Ei(mo);break;case ke.Z.UP:Ei(mo-1);break;case ke.Z.DOWN:Ei(mo+1);break;default:break}}function Li(Mo){Ei(nr(Mo))}function vi(Mo){var mo=Ne(Mo,Pn,Dn),Fa=ir>mo&&mo!==0?mo:ir;_r(Mo),Un(Fa),sr==null||sr(ir,Mo),Ar(Fa),mn==null||mn(Fa,Mo)}function Ei(Mo){if(pr(Mo)&&!pi){var mo=Ne(void 0,Pn,Dn),Fa=Mo;return Mo>mo?Fa=mo:Mo<1&&(Fa=1),Fa!==tr&&Un(Fa),Ar(Fa),mn==null||mn(Fa,Pn),Fa}return ir}var yi=ir>1,Si=ir<Ne(void 0,Pn,Dn);function wi(){yi&&Ei(ir-1)}function Ti(){Si&&Ei(ir+1)}function eo(){Ei(zn)}function vo(){Ei(gn)}function Yi(Mo,mo){if(Mo.key==="Enter"||Mo.charCode===ke.Z.ENTER||Mo.keyCode===ke.Z.ENTER){for(var Fa=arguments.length,hs=new Array(Fa>2?Fa-2:0),el=2;el<Fa;el++)hs[el-2]=arguments[el];mo.apply(void 0,hs)}}function Do(Mo){Yi(Mo,wi)}function ki(Mo){Yi(Mo,Ti)}function ko(Mo){Yi(Mo,eo)}function Ao(Mo){Yi(Mo,vo)}function Xo(Mo){var mo=gi(Mo,"prev",$n(yn,"prev page"));return x.isValidElement(mo)?x.cloneElement(mo,{disabled:!yi}):mo}function Co(Mo){var mo=gi(Mo,"next",$n(kt,"next page"));return x.isValidElement(mo)?x.cloneElement(mo,{disabled:!Si}):mo}function to(Mo){(Mo.type==="click"||Mo.keyCode===ke.Z.ENTER)&&Ei(tr)}var xo=null,$o=(0,ze.Z)(st,{aria:!0,data:!0}),_n=Hi&&x.createElement("li",{className:"".concat(Vt,"-total-text")},Hi(Dn,[Dn===0?0:(ir-1)*Pn+1,ir*Pn>Dn?Dn:ir*Pn])),No=null,Vi=Ne(void 0,Pn,Dn);if(Xn&&Dn<=Pn)return null;var Ur=[],qr={rootPrefixCls:Vt,onClick:Ei,onKeyPress:Yi,showTitle:Mr,itemRender:gi,page:-1},ti=ir-1>0?ir-1:0,Wr=ir+1<Vi?ir+1:Vi,Ri=Ir&&Ir.goButton,ro=(0,_e.Z)(ci)==="object"?ci.readOnly:!ci,zr=Ri,oi=null;ci&&(Ri&&(typeof Ri=="boolean"?zr=x.createElement("button",{type:"button",onClick:to,onKeyUp:to},ur.jump_to_confirm):zr=x.createElement("span",{onClick:to,onKeyUp:to},Ri),zr=x.createElement("li",{title:Mr?"".concat(ur.jump_to).concat(ir,"/").concat(Vi):null,className:"".concat(Vt,"-simple-pager")},zr)),oi=x.createElement("li",{title:Mr?"".concat(ir,"/").concat(Vi):null,className:"".concat(Vt,"-simple-pager")},ro?tr:x.createElement("input",{type:"text","aria-label":ur.jump_to,value:tr,disabled:pi,onKeyDown:Ni,onKeyUp:fi,onChange:fi,onBlur:Li,size:3}),x.createElement("span",{className:"".concat(Vt,"-slash")},"/"),Vi));var yr=er?1:2;if(Vi<=3+yr*2){Vi||Ur.push(x.createElement(ft,(0,ct.Z)({},qr,{key:"noPager",page:1,className:"".concat(Vt,"-item-disabled")})));for(var ni=1;ni<=Vi;ni+=1)Ur.push(x.createElement(ft,(0,ct.Z)({},qr,{key:ni,page:ni,active:ir===ni})))}else{var co=er?ur.prev_3:ur.prev_5,Jo=er?ur.next_3:ur.next_5,fo=gi(zn,"jump-prev",$n(Xt,"prev page")),ta=gi(gn,"jump-next",$n(ln,"next page"));Hr&&(xo=fo?x.createElement("li",{title:Mr?co:null,key:"prev",onClick:eo,tabIndex:0,onKeyDown:ko,className:Me()("".concat(Vt,"-jump-prev"),(0,Ie.Z)({},"".concat(Vt,"-jump-prev-custom-icon"),!!Xt))},fo):null,No=ta?x.createElement("li",{title:Mr?Jo:null,key:"next",onClick:vo,tabIndex:0,onKeyDown:Ao,className:Me()("".concat(Vt,"-jump-next"),(0,Ie.Z)({},"".concat(Vt,"-jump-next-custom-icon"),!!ln))},ta):null);var Go=Math.max(1,ir-yr),va=Math.min(ir+yr,Vi);ir-1<=yr&&(va=1+yr*2),Vi-ir<=yr&&(Go=Vi-yr*2);for(var Vo=Go;Vo<=va;Vo+=1)Ur.push(x.createElement(ft,(0,ct.Z)({},qr,{key:Vo,page:Vo,active:ir===Vo})));if(ir-1>=yr*2&&ir!==3&&(Ur[0]=x.cloneElement(Ur[0],{className:Me()("".concat(Vt,"-item-after-jump-prev"),Ur[0].props.className)}),Ur.unshift(xo)),Vi-ir>=yr*2&&ir!==Vi-2){var oa=Ur[Ur.length-1];Ur[Ur.length-1]=x.cloneElement(oa,{className:Me()("".concat(Vt,"-item-before-jump-next"),oa.props.className)}),Ur.push(No)}Go!==1&&Ur.unshift(x.createElement(ft,(0,ct.Z)({},qr,{key:1,page:1}))),va!==Vi&&Ur.push(x.createElement(ft,(0,ct.Z)({},qr,{key:Vi,page:Vi})))}var da=Xo(ti);if(da){var Wa=!yi||!Vi;da=x.createElement("li",{title:Mr?ur.prev_page:null,onClick:wi,tabIndex:Wa?null:0,onKeyDown:Do,className:Me()("".concat(Vt,"-prev"),(0,Ie.Z)({},"".concat(Vt,"-disabled"),Wa)),"aria-disabled":Wa},da)}var Ds=Co(Wr);if(Ds){var zs,is;ci?(zs=!Si,is=yi?0:null):(zs=!Si||!Vi,is=zs?null:0),Ds=x.createElement("li",{title:Mr?ur.next_page:null,onClick:Ti,tabIndex:is,onKeyDown:ki,className:Me()("".concat(Vt,"-next"),(0,Ie.Z)({},"".concat(Vt,"-disabled"),zs)),"aria-disabled":zs},Ds)}var us=Me()(Vt,en,(0,Ie.Z)((0,Ie.Z)((0,Ie.Z)((0,Ie.Z)((0,Ie.Z)({},"".concat(Vt,"-start"),Fr==="start"),"".concat(Vt,"-center"),Fr==="center"),"".concat(Vt,"-end"),Fr==="end"),"".concat(Vt,"-simple"),ci),"".concat(Vt,"-disabled"),pi));return x.createElement("ul",(0,ct.Z)({className:us,style:br,ref:dn},$o),_n,da,ci?oi:Ur,Ds,x.createElement(lt,{locale:ur,rootPrefixCls:Vt,disabled:pi,selectPrefixCls:an,changeSize:vi,pageSize:Pn,pageSizeOptions:fr,quickGo:Zr?Ei:null,goButton:zr,showSizeChanger:no,sizeChangerRender:Ki}))},Ut=We,ot=ae(61852),yt=ae(48755),Ft=ae(31756),Ze=ae(13783),Te=ae(9017),At=ae(82326),Zt=ae(57700),Kt=ae(36237),rt=ae(53075),Nt=ae(64910),Qt=ae(39082),pn=ae(63356),Ot=ae(51636),vn=ae(16931);const _t=Ct=>{const{componentCls:st}=Ct;return{[`${st}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${st}-item-link`]:{color:Ct.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${st}-item-link`]:{color:Ct.colorTextDisabled,cursor:"not-allowed"}}},[`&${st}-disabled`]:{cursor:"not-allowed",[`${st}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Ct.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Ct.colorBorder,backgroundColor:Ct.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Ct.itemActiveBgDisabled},a:{color:Ct.itemActiveColorDisabled}}},[`${st}-item-link`]:{color:Ct.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${st}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${st}-simple-pager`]:{color:Ct.colorTextDisabled},[`${st}-jump-prev, ${st}-jump-next`]:{[`${st}-item-link-icon`]:{opacity:0},[`${st}-item-ellipsis`]:{opacity:1}}},[`&${st}-simple`]:{[`${st}-prev, ${st}-next`]:{[`&${st}-disabled ${st}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Fn=Ct=>{const{componentCls:st}=Ct;return{[`&${st}-mini ${st}-total-text, &${st}-mini ${st}-simple-pager`]:{height:Ct.itemSizeSM,lineHeight:(0,Kt.unit)(Ct.itemSizeSM)},[`&${st}-mini ${st}-item`]:{minWidth:Ct.itemSizeSM,height:Ct.itemSizeSM,margin:0,lineHeight:(0,Kt.unit)(Ct.calc(Ct.itemSizeSM).sub(2).equal())},[`&${st}-mini ${st}-prev, &${st}-mini ${st}-next`]:{minWidth:Ct.itemSizeSM,height:Ct.itemSizeSM,margin:0,lineHeight:(0,Kt.unit)(Ct.itemSizeSM)},[`&${st}-mini:not(${st}-disabled)`]:{[`${st}-prev, ${st}-next`]:{[`&:hover ${st}-item-link`]:{backgroundColor:Ct.colorBgTextHover},[`&:active ${st}-item-link`]:{backgroundColor:Ct.colorBgTextActive},[`&${st}-disabled:hover ${st}-item-link`]:{backgroundColor:"transparent"}}},[`
&${st}-mini ${st}-prev ${st}-item-link,
&${st}-mini ${st}-next ${st}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Ct.itemSizeSM,lineHeight:(0,Kt.unit)(Ct.itemSizeSM)}},[`&${st}-mini ${st}-jump-prev, &${st}-mini ${st}-jump-next`]:{height:Ct.itemSizeSM,marginInlineEnd:0,lineHeight:(0,Kt.unit)(Ct.itemSizeSM)},[`&${st}-mini ${st}-options`]:{marginInlineStart:Ct.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Ct.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Ct.itemSizeSM,lineHeight:(0,Kt.unit)(Ct.itemSizeSM),input:Object.assign(Object.assign({},(0,rt.x0)(Ct)),{width:Ct.paginationMiniQuickJumperInputWidth,height:Ct.controlHeightSM})}}}},on=Ct=>{const{componentCls:st}=Ct;return{[`
&${st}-simple ${st}-prev,
&${st}-simple ${st}-next
`]:{height:Ct.itemSizeSM,lineHeight:(0,Kt.unit)(Ct.itemSizeSM),verticalAlign:"top",[`${st}-item-link`]:{height:Ct.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Ct.colorBgTextHover},"&:active":{backgroundColor:Ct.colorBgTextActive},"&::after":{height:Ct.itemSizeSM,lineHeight:(0,Kt.unit)(Ct.itemSizeSM)}}},[`&${st}-simple ${st}-simple-pager`]:{display:"inline-block",height:Ct.itemSizeSM,marginInlineEnd:Ct.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,Kt.unit)(Ct.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:Ct.itemInputBg,border:`${(0,Kt.unit)(Ct.lineWidth)} ${Ct.lineType} ${Ct.colorBorder}`,borderRadius:Ct.borderRadius,outline:"none",transition:`border-color ${Ct.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Ct.colorPrimary},"&:focus":{borderColor:Ct.colorPrimaryHover,boxShadow:`${(0,Kt.unit)(Ct.inputOutlineOffset)} 0 ${(0,Kt.unit)(Ct.controlOutlineWidth)} ${Ct.controlOutline}`},"&[disabled]":{color:Ct.colorTextDisabled,backgroundColor:Ct.colorBgContainerDisabled,borderColor:Ct.colorBorder,cursor:"not-allowed"}}}}},de=Ct=>{const{componentCls:st}=Ct;return{[`${st}-jump-prev, ${st}-jump-next`]:{outline:0,[`${st}-item-container`]:{position:"relative",[`${st}-item-link-icon`]:{color:Ct.colorPrimary,fontSize:Ct.fontSizeSM,opacity:0,transition:`all ${Ct.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${st}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Ct.colorTextDisabled,letterSpacing:Ct.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Ct.paginationEllipsisTextIndent,opacity:1,transition:`all ${Ct.motionDurationMid}`}},"&:hover":{[`${st}-item-link-icon`]:{opacity:1},[`${st}-item-ellipsis`]:{opacity:0}}},[`
${st}-prev,
${st}-jump-prev,
${st}-jump-next
`]:{marginInlineEnd:Ct.marginXS},[`
${st}-prev,
${st}-next,
${st}-jump-prev,
${st}-jump-next
`]:{display:"inline-block",minWidth:Ct.itemSize,height:Ct.itemSize,color:Ct.colorText,fontFamily:Ct.fontFamily,lineHeight:(0,Kt.unit)(Ct.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Ct.borderRadius,cursor:"pointer",transition:`all ${Ct.motionDurationMid}`},[`${st}-prev, ${st}-next`]:{outline:0,button:{color:Ct.colorText,cursor:"pointer",userSelect:"none"},[`${st}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Ct.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,Kt.unit)(Ct.lineWidth)} ${Ct.lineType} transparent`,borderRadius:Ct.borderRadius,outline:"none",transition:`all ${Ct.motionDurationMid}`},[`&:hover ${st}-item-link`]:{backgroundColor:Ct.colorBgTextHover},[`&:active ${st}-item-link`]:{backgroundColor:Ct.colorBgTextActive},[`&${st}-disabled:hover`]:{[`${st}-item-link`]:{backgroundColor:"transparent"}}},[`${st}-slash`]:{marginInlineEnd:Ct.paginationSlashMarginInlineEnd,marginInlineStart:Ct.paginationSlashMarginInlineStart},[`${st}-options`]:{display:"inline-block",marginInlineStart:Ct.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Ct.controlHeight,marginInlineStart:Ct.marginXS,lineHeight:(0,Kt.unit)(Ct.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,rt.ik)(Ct)),(0,Qt.$U)(Ct,{borderColor:Ct.colorBorder,hoverBorderColor:Ct.colorPrimaryHover,activeBorderColor:Ct.colorPrimary,activeShadow:Ct.activeShadow})),{"&[disabled]":Object.assign({},(0,Qt.Xy)(Ct)),width:Ct.calc(Ct.controlHeightLG).mul(1.25).equal(),height:Ct.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Ct.marginXS,marginInlineEnd:Ct.marginXS})}}}},ge=Ct=>{const{componentCls:st}=Ct;return{[`${st}-item`]:{display:"inline-block",minWidth:Ct.itemSize,height:Ct.itemSize,marginInlineEnd:Ct.marginXS,fontFamily:Ct.fontFamily,lineHeight:(0,Kt.unit)(Ct.calc(Ct.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:Ct.itemBg,border:`${(0,Kt.unit)(Ct.lineWidth)} ${Ct.lineType} transparent`,borderRadius:Ct.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,Kt.unit)(Ct.paginationItemPaddingInline)}`,color:Ct.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${st}-item-active)`]:{"&:hover":{transition:`all ${Ct.motionDurationMid}`,backgroundColor:Ct.colorBgTextHover},"&:active":{backgroundColor:Ct.colorBgTextActive}},"&-active":{fontWeight:Ct.fontWeightStrong,backgroundColor:Ct.itemActiveBg,borderColor:Ct.colorPrimary,a:{color:Ct.colorPrimary},"&:hover":{borderColor:Ct.colorPrimaryHover},"&:hover a":{color:Ct.colorPrimaryHover}}}}},ie=Ct=>{const{componentCls:st}=Ct;return{[st]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,pn.Wf)(Ct)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${st}-total-text`]:{display:"inline-block",height:Ct.itemSize,marginInlineEnd:Ct.marginXS,lineHeight:(0,Kt.unit)(Ct.calc(Ct.itemSize).sub(2).equal()),verticalAlign:"middle"}}),ge(Ct)),de(Ct)),on(Ct)),Fn(Ct)),_t(Ct)),{[`@media only screen and (max-width: ${Ct.screenLG}px)`]:{[`${st}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Ct.screenSM}px)`]:{[`${st}-options`]:{display:"none"}}}),[`&${Ct.componentCls}-rtl`]:{direction:"rtl"}}},ee=Ct=>{const{componentCls:st}=Ct;return{[`${st}:not(${st}-disabled)`]:{[`${st}-item`]:Object.assign({},(0,pn.Qy)(Ct)),[`${st}-jump-prev, ${st}-jump-next`]:{"&:focus-visible":Object.assign({[`${st}-item-link-icon`]:{opacity:1},[`${st}-item-ellipsis`]:{opacity:0}},(0,pn.oN)(Ct))},[`${st}-prev, ${st}-next`]:{[`&:focus-visible ${st}-item-link`]:Object.assign({},(0,pn.oN)(Ct))}}}},le=Ct=>Object.assign({itemBg:Ct.colorBgContainer,itemSize:Ct.controlHeight,itemSizeSM:Ct.controlHeightSM,itemActiveBg:Ct.colorBgContainer,itemLinkBg:Ct.colorBgContainer,itemActiveColorDisabled:Ct.colorTextDisabled,itemActiveBgDisabled:Ct.controlItemBgActiveDisabled,itemInputBg:Ct.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Nt.T)(Ct)),se=Ct=>(0,Ot.mergeToken)(Ct,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Ct.calc(Ct.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:Ct.calc(Ct.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:Ct.calc(Ct.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:Ct.calc(Ct.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:Ct.marginSM,paginationSlashMarginInlineEnd:Ct.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Nt.e)(Ct));var Be=(0,vn.I$)("Pagination",Ct=>{const st=se(Ct);return[ie(st),ee(st)]},le);const $e=Ct=>{const{componentCls:st}=Ct;return{[`${st}${st}-bordered${st}-disabled:not(${st}-mini)`]:{"&, &:hover":{[`${st}-item-link`]:{borderColor:Ct.colorBorder}},"&:focus-visible":{[`${st}-item-link`]:{borderColor:Ct.colorBorder}},[`${st}-item, ${st}-item-link`]:{backgroundColor:Ct.colorBgContainerDisabled,borderColor:Ct.colorBorder,[`&:hover:not(${st}-item-active)`]:{backgroundColor:Ct.colorBgContainerDisabled,borderColor:Ct.colorBorder,a:{color:Ct.colorTextDisabled}},[`&${st}-item-active`]:{backgroundColor:Ct.itemActiveBgDisabled}},[`${st}-prev, ${st}-next`]:{"&:hover button":{backgroundColor:Ct.colorBgContainerDisabled,borderColor:Ct.colorBorder,color:Ct.colorTextDisabled},[`${st}-item-link`]:{backgroundColor:Ct.colorBgContainerDisabled,borderColor:Ct.colorBorder}}},[`${st}${st}-bordered:not(${st}-mini)`]:{[`${st}-prev, ${st}-next`]:{"&:hover button":{borderColor:Ct.colorPrimaryHover,backgroundColor:Ct.itemBg},[`${st}-item-link`]:{backgroundColor:Ct.itemLinkBg,borderColor:Ct.colorBorder},[`&:hover ${st}-item-link`]:{borderColor:Ct.colorPrimary,backgroundColor:Ct.itemBg,color:Ct.colorPrimary},[`&${st}-disabled`]:{[`${st}-item-link`]:{borderColor:Ct.colorBorder,color:Ct.colorTextDisabled}}},[`${st}-item`]:{backgroundColor:Ct.itemBg,border:`${(0,Kt.unit)(Ct.lineWidth)} ${Ct.lineType} ${Ct.colorBorder}`,[`&:hover:not(${st}-item-active)`]:{borderColor:Ct.colorPrimary,backgroundColor:Ct.itemBg,a:{color:Ct.colorPrimary}},"&-active":{borderColor:Ct.colorPrimary}}}}};var at=(0,vn.bk)(["Pagination","bordered"],Ct=>{const st=se(Ct);return[$e(st)]},le);function pt(Ct){return(0,x.useMemo)(()=>typeof Ct=="boolean"?[Ct,{}]:Ct&&typeof Ct=="object"?[!0,Ct]:[void 0,void 0],[Ct])}var gt=function(Ct,st){var $t={};for(var Vt in Ct)Object.prototype.hasOwnProperty.call(Ct,Vt)&&st.indexOf(Vt)<0&&($t[Vt]=Ct[Vt]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bn=0,Vt=Object.getOwnPropertySymbols(Ct);bn<Vt.length;bn++)st.indexOf(Vt[bn])<0&&Object.prototype.propertyIsEnumerable.call(Ct,Vt[bn])&&($t[Vt[bn]]=Ct[Vt[bn]]);return $t},Lt=Ct=>{const{align:st,prefixCls:$t,selectPrefixCls:Vt,className:bn,rootClassName:an,style:en,size:Hn,locale:En,responsive:Mt,showSizeChanger:sn,selectComponentClass:Dn,pageSizeOptions:Wn}=Ct,It=gt(Ct,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Wt}=(0,Ze.Z)(Mt),[,rn]=(0,Zt.ZP)(),{getPrefixCls:mn,direction:Xn,showSizeChanger:Fr,className:ri,style:Hr}=(0,yt.dj)("pagination"),Ir=mn("pagination",$t),[er,vr,Mr]=Be(Ir),Yn=(0,Ft.Z)(Hn),sr=Yn==="small"||!!(Wt&&!Yn&&Mt),[jn]=(0,Te.Z)("Pagination",ot.Z),ur=Object.assign(Object.assign({},jn),En),[br,Xr]=pt(sn),[Yr,pi]=pt(Fr),ci=br!=null?br:Yr,Hi=Xr!=null?Xr:pi,mi=Dn||At.default,no=x.useMemo(()=>Wn?Wn.map(ln=>Number(ln)):void 0,[Wn]),Ki=ln=>{var yn;const{disabled:kt,size:dn,onSizeChange:zt,"aria-label":hn,className:Pn,options:_r}=ln,{className:Jr,onChange:di}=Hi||{},ir=(yn=_r.find(Ar=>String(Ar.value)===String(dn)))===null||yn===void 0?void 0:yn.value;return x.createElement(mi,Object.assign({disabled:kt,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:Ar=>Ar.parentNode,"aria-label":hn,options:_r},Hi,{value:ir,onChange:(Ar,ar)=>{zt==null||zt(Ar),di==null||di(Ar,ar)},size:sr?"small":"middle",className:Me()(Pn,Jr)}))},fr=x.useMemo(()=>{const ln=x.createElement("span",{className:`${Ir}-item-ellipsis`},"\u2022\u2022\u2022"),yn=x.createElement("button",{className:`${Ir}-item-link`,type:"button",tabIndex:-1},Xn==="rtl"?x.createElement(Oe.Z,null):x.createElement(oe.Z,null)),kt=x.createElement("button",{className:`${Ir}-item-link`,type:"button",tabIndex:-1},Xn==="rtl"?x.createElement(oe.Z,null):x.createElement(Oe.Z,null)),dn=x.createElement("a",{className:`${Ir}-item-link`},x.createElement("div",{className:`${Ir}-item-container`},Xn==="rtl"?x.createElement(Ce.Z,{className:`${Ir}-item-link-icon`}):x.createElement(fe,{className:`${Ir}-item-link-icon`}),ln)),zt=x.createElement("a",{className:`${Ir}-item-link`},x.createElement("div",{className:`${Ir}-item-container`},Xn==="rtl"?x.createElement(fe,{className:`${Ir}-item-link-icon`}):x.createElement(Ce.Z,{className:`${Ir}-item-link-icon`}),ln));return{prevIcon:yn,nextIcon:kt,jumpPrevIcon:dn,jumpNextIcon:zt}},[Xn,Ir]),Lr=mn("select",Vt),gi=Me()({[`${Ir}-${st}`]:!!st,[`${Ir}-mini`]:sr,[`${Ir}-rtl`]:Xn==="rtl",[`${Ir}-bordered`]:rn.wireframe},ri,bn,an,vr,Mr),Xt=Object.assign(Object.assign({},Hr),en);return er(x.createElement(x.Fragment,null,rn.wireframe&&x.createElement(at,{prefixCls:Ir}),x.createElement(Ut,Object.assign({},fr,It,{style:Xt,prefixCls:Ir,selectPrefixCls:Lr,className:gi,locale:ur,pageSizeOptions:no,showSizeChanger:ci,sizeChangerRender:Ki}))))},Rt=Lt},89787:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return En}});var x=ae(59301),ct=ae(17835),Le=ae(29679),Je=ae(40001),He=ae(19248),Se=ae(99267),Ue=ae(92310),fe=ae.n(Ue),Ce=ae(2738),oe=ae(48755),Oe=ae(54476),ve=ae(33885),Me=ae(75931),Ie={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},_e=function(){var sn=(0,x.useRef)([]),Dn=(0,x.useRef)(null);return(0,x.useEffect)(function(){var Wn=Date.now(),It=!1;sn.current.forEach(function(Wt){if(Wt){It=!0;var rn=Wt.style;rn.transitionDuration=".3s, .3s, .3s, .06s",Dn.current&&Wn-Dn.current<100&&(rn.transitionDuration="0s, 0s")}}),It&&(Dn.current=Date.now())}),sn.current},we=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],xe=function(sn){var Dn=(0,ve.Z)((0,ve.Z)({},Ie),sn),Wn=Dn.className,It=Dn.percent,Wt=Dn.prefixCls,rn=Dn.strokeColor,mn=Dn.strokeLinecap,Xn=Dn.strokeWidth,Fr=Dn.style,ri=Dn.trailColor,Hr=Dn.trailWidth,Ir=Dn.transition,er=(0,Me.Z)(Dn,we);delete er.gapPosition;var vr=Array.isArray(It)?It:[It],Mr=Array.isArray(rn)?rn:[rn],Yn=_e(),sr=Xn/2,jn=100-Xn/2,ur="M ".concat(mn==="round"?sr:0,",").concat(sr,`
L `).concat(mn==="round"?jn:100,",").concat(sr),br="0 0 100 ".concat(Xn),Xr=0;return x.createElement("svg",(0,Oe.Z)({className:fe()("".concat(Wt,"-line"),Wn),viewBox:br,preserveAspectRatio:"none",style:Fr},er),x.createElement("path",{className:"".concat(Wt,"-line-trail"),d:ur,strokeLinecap:mn,stroke:ri,strokeWidth:Hr||Xn,fillOpacity:"0"}),vr.map(function(Yr,pi){var ci=1;switch(mn){case"round":ci=1-Xn/100;break;case"square":ci=1-Xn/2/100;break;default:ci=1;break}var Hi={strokeDasharray:"".concat(Yr*ci,"px, 100px"),strokeDashoffset:"-".concat(Xr,"px"),transition:Ir||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},mi=Mr[pi]||Mr[Mr.length-1];return Xr+=Yr,x.createElement("path",{key:pi,className:"".concat(Wt,"-line-path"),d:ur,strokeLinecap:mn,stroke:mi,strokeWidth:Xn,fillOpacity:"0",ref:function(Ki){Yn[pi]=Ki},style:Hi})}))},Ee=xe,ke=ae(76190),ze=ae(42978),Qe=ae(47273),Re=0,et=(0,Qe.Z)();function Ge(){var Mt;return et?(Mt=Re,Re+=1):Mt="TEST_OR_SSR",Mt}var lt=function(Mt){var sn=x.useState(),Dn=(0,ze.Z)(sn,2),Wn=Dn[0],It=Dn[1];return x.useEffect(function(){It("rc_progress_".concat(Ge()))},[]),Mt||Wn},it=function(sn){var Dn=sn.bg,Wn=sn.children;return x.createElement("div",{style:{width:"100%",height:"100%",background:Dn}},Wn)};function ft(Mt,sn){return Object.keys(Mt).map(function(Dn){var Wn=parseFloat(Dn),It="".concat(Math.floor(Wn*sn),"%");return"".concat(Mt[Dn]," ").concat(It)})}var bt=x.forwardRef(function(Mt,sn){var Dn=Mt.prefixCls,Wn=Mt.color,It=Mt.gradientId,Wt=Mt.radius,rn=Mt.style,mn=Mt.ptg,Xn=Mt.strokeLinecap,Fr=Mt.strokeWidth,ri=Mt.size,Hr=Mt.gapDegree,Ir=Wn&&(0,ke.Z)(Wn)==="object",er=Ir?"#FFF":void 0,vr=ri/2,Mr=x.createElement("circle",{className:"".concat(Dn,"-circle-path"),r:Wt,cx:vr,cy:vr,stroke:er,strokeLinecap:Xn,strokeWidth:Fr,opacity:mn===0?0:1,style:rn,ref:sn});if(!Ir)return Mr;var Yn="".concat(It,"-conic"),sr=Hr?"".concat(180+Hr/2,"deg"):"0deg",jn=ft(Wn,(360-Hr)/360),ur=ft(Wn,1),br="conic-gradient(from ".concat(sr,", ").concat(jn.join(", "),")"),Xr="linear-gradient(to ".concat(Hr?"bottom":"top",", ").concat(ur.join(", "),")");return x.createElement(x.Fragment,null,x.createElement("mask",{id:Yn},Mr),x.createElement("foreignObject",{x:0,y:0,width:ri,height:ri,mask:"url(#".concat(Yn,")")},x.createElement(it,{bg:Xr},x.createElement(it,{bg:br}))))}),je=bt,ht=100,Ne=function(sn,Dn,Wn,It,Wt,rn,mn,Xn,Fr,ri){var Hr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Ir=Wn/100*360*((360-rn)/360),er=rn===0?0:{bottom:0,top:180,left:90,right:-90}[mn],vr=(100-It)/100*Dn;Fr==="round"&&It!==100&&(vr+=ri/2,vr>=Dn&&(vr=Dn-.01));var Mr=ht/2;return{stroke:typeof Xn=="string"?Xn:void 0,strokeDasharray:"".concat(Dn,"px ").concat(sn),strokeDashoffset:vr+Hr,transform:"rotate(".concat(Wt+Ir+er,"deg)"),transformOrigin:"".concat(Mr,"px ").concat(Mr,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},We=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ut(Mt){var sn=Mt!=null?Mt:[];return Array.isArray(sn)?sn:[sn]}var ot=function(sn){var Dn=(0,ve.Z)((0,ve.Z)({},Ie),sn),Wn=Dn.id,It=Dn.prefixCls,Wt=Dn.steps,rn=Dn.strokeWidth,mn=Dn.trailWidth,Xn=Dn.gapDegree,Fr=Xn===void 0?0:Xn,ri=Dn.gapPosition,Hr=Dn.trailColor,Ir=Dn.strokeLinecap,er=Dn.style,vr=Dn.className,Mr=Dn.strokeColor,Yn=Dn.percent,sr=(0,Me.Z)(Dn,We),jn=ht/2,ur=lt(Wn),br="".concat(ur,"-gradient"),Xr=jn-rn/2,Yr=Math.PI*2*Xr,pi=Fr>0?90+Fr/2:-90,ci=Yr*((360-Fr)/360),Hi=(0,ke.Z)(Wt)==="object"?Wt:{count:Wt,gap:2},mi=Hi.count,no=Hi.gap,Ki=Ut(Yn),fr=Ut(Mr),Lr=fr.find(function(zt){return zt&&(0,ke.Z)(zt)==="object"}),gi=Lr&&(0,ke.Z)(Lr)==="object",Xt=gi?"butt":Ir,ln=Ne(Yr,ci,0,100,pi,Fr,ri,Hr,Xt,rn),yn=_e(),kt=function(){var hn=0;return Ki.map(function(Pn,_r){var Jr=fr[_r]||fr[fr.length-1],di=Ne(Yr,ci,hn,Pn,pi,Fr,ri,Jr,Xt,rn);return hn+=Pn,x.createElement(je,{key:_r,color:Jr,ptg:Pn,radius:Xr,prefixCls:It,gradientId:br,style:di,strokeLinecap:Xt,strokeWidth:rn,gapDegree:Fr,ref:function(Ar){yn[_r]=Ar},size:ht})}).reverse()},dn=function(){var hn=Math.round(mi*(Ki[0]/100)),Pn=100/mi,_r=0;return new Array(mi).fill(null).map(function(Jr,di){var ir=di<=hn-1?fr[0]:Hr,Ar=ir&&(0,ke.Z)(ir)==="object"?"url(#".concat(br,")"):void 0,ar=Ne(Yr,ci,_r,Pn,pi,Fr,ri,ir,"butt",rn,no);return _r+=(ci-ar.strokeDashoffset+no)*100/ci,x.createElement("circle",{key:di,className:"".concat(It,"-circle-path"),r:Xr,cx:jn,cy:jn,stroke:Ar,strokeWidth:rn,opacity:1,style:ar,ref:function(tr){yn[di]=tr}})})};return x.createElement("svg",(0,Oe.Z)({className:fe()("".concat(It,"-circle"),vr),viewBox:"0 0 ".concat(ht," ").concat(ht),style:er,id:Wn,role:"presentation"},sr),!mi&&x.createElement("circle",{className:"".concat(It,"-circle-trail"),r:Xr,cx:jn,cy:jn,stroke:Hr,strokeLinecap:Xt,strokeWidth:mn||rn,style:ln}),mi?dn():kt())},yt=ot,Ft={Line:Ee,Circle:yt},Ze=ae(25399),Te=ae(68361);function At(Mt){return!Mt||Mt<0?0:Mt>100?100:Mt}function Zt(Mt){let{success:sn,successPercent:Dn}=Mt,Wn=Dn;return sn&&"progress"in sn&&(Wn=sn.progress),sn&&"percent"in sn&&(Wn=sn.percent),Wn}const Kt=Mt=>{let{percent:sn,success:Dn,successPercent:Wn}=Mt;const It=At(Zt({success:Dn,successPercent:Wn}));return[It,At(At(sn)-It)]},rt=Mt=>{let{success:sn={},strokeColor:Dn}=Mt;const{strokeColor:Wn}=sn;return[Wn||Te.presetPrimaryColors.green,Dn||null]},Nt=(Mt,sn,Dn)=>{var Wn,It,Wt,rn;let mn=-1,Xn=-1;if(sn==="step"){const Fr=Dn.steps,ri=Dn.strokeWidth;typeof Mt=="string"||typeof Mt=="undefined"?(mn=Mt==="small"?2:14,Xn=ri!=null?ri:8):typeof Mt=="number"?[mn,Xn]=[Mt,Mt]:[mn=14,Xn=8]=Array.isArray(Mt)?Mt:[Mt.width,Mt.height],mn*=Fr}else if(sn==="line"){const Fr=Dn==null?void 0:Dn.strokeWidth;typeof Mt=="string"||typeof Mt=="undefined"?Xn=Fr||(Mt==="small"?6:8):typeof Mt=="number"?[mn,Xn]=[Mt,Mt]:[mn=-1,Xn=8]=Array.isArray(Mt)?Mt:[Mt.width,Mt.height]}else(sn==="circle"||sn==="dashboard")&&(typeof Mt=="string"||typeof Mt=="undefined"?[mn,Xn]=Mt==="small"?[60,60]:[120,120]:typeof Mt=="number"?[mn,Xn]=[Mt,Mt]:Array.isArray(Mt)&&(mn=(It=(Wn=Mt[0])!==null&&Wn!==void 0?Wn:Mt[1])!==null&&It!==void 0?It:120,Xn=(rn=(Wt=Mt[0])!==null&&Wt!==void 0?Wt:Mt[1])!==null&&rn!==void 0?rn:120));return[mn,Xn]},Qt=3,pn=Mt=>Qt/Mt*100;var vn=Mt=>{const{prefixCls:sn,trailColor:Dn=null,strokeLinecap:Wn="round",gapPosition:It,gapDegree:Wt,width:rn=120,type:mn,children:Xn,success:Fr,size:ri=rn,steps:Hr}=Mt,[Ir,er]=Nt(ri,"circle");let{strokeWidth:vr}=Mt;vr===void 0&&(vr=Math.max(pn(Ir),6));const Mr={width:Ir,height:er,fontSize:Ir*.15+6},Yn=x.useMemo(()=>{if(Wt||Wt===0)return Wt;if(mn==="dashboard")return 75},[Wt,mn]),sr=Kt(Mt),jn=It||mn==="dashboard"&&"bottom"||void 0,ur=Object.prototype.toString.call(Mt.strokeColor)==="[object Object]",br=rt({success:Fr,strokeColor:Mt.strokeColor}),Xr=fe()(`${sn}-inner`,{[`${sn}-circle-gradient`]:ur}),Yr=x.createElement(yt,{steps:Hr,percent:Hr?sr[1]:sr,strokeWidth:vr,trailWidth:vr,strokeColor:Hr?br[1]:br,strokeLinecap:Wn,trailColor:Dn,prefixCls:sn,gapDegree:Yn,gapPosition:jn}),pi=Ir<=20,ci=x.createElement("div",{className:Xr,style:Mr},Yr,!pi&&Xn);return pi?x.createElement(Ze.Z,{title:Xn},ci):ci},_t=ae(36237),Fn=ae(63356),on=ae(16931),de=ae(51636);const ge="--progress-line-stroke-color",ie="--progress-percent",ee=Mt=>{const sn=Mt?"100%":"-100%";return new _t.Keyframes(`antProgress${Mt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${sn}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${sn}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},le=Mt=>{const{componentCls:sn,iconCls:Dn}=Mt;return{[sn]:Object.assign(Object.assign({},(0,Fn.Wf)(Mt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Mt.fontSize},[`${sn}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${sn}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:Mt.remainingColor,borderRadius:Mt.lineBorderRadius},[`${sn}-inner:not(${sn}-circle-gradient)`]:{[`${sn}-circle-path`]:{stroke:Mt.defaultColor}},[`${sn}-success-bg, ${sn}-bg`]:{position:"relative",background:Mt.defaultColor,borderRadius:Mt.lineBorderRadius,transition:`all ${Mt.motionDurationSlow} ${Mt.motionEaseInOutCirc}`},[`${sn}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${sn}-text`]:{width:"max-content",marginInlineStart:0,marginTop:Mt.marginXXS}},[`${sn}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${ge})`]},height:"100%",width:`calc(1 / var(${ie}) * 100%)`,display:"block"},[`&${sn}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${sn}-text-inner`]:{color:Mt.colorWhite,[`&${sn}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${sn}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Mt.colorSuccess},[`${sn}-text`]:{display:"inline-block",marginInlineStart:Mt.marginXS,color:Mt.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Dn]:{fontSize:Mt.fontSize},[`&${sn}-text-outer`]:{width:"max-content"},[`&${sn}-text-outer${sn}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:Mt.marginXS}},[`${sn}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,_t.unit)(Mt.paddingXXS)}`,[`&${sn}-text-start`]:{justifyContent:"start"},[`&${sn}-text-end`]:{justifyContent:"end"}},[`&${sn}-status-active`]:{[`${sn}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Mt.colorBgContainer,borderRadius:Mt.lineBorderRadius,opacity:0,animationName:ee(),animationDuration:Mt.progressActiveMotionDuration,animationTimingFunction:Mt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${sn}-rtl${sn}-status-active`]:{[`${sn}-bg::before`]:{animationName:ee(!0)}},[`&${sn}-status-exception`]:{[`${sn}-bg`]:{backgroundColor:Mt.colorError},[`${sn}-text`]:{color:Mt.colorError}},[`&${sn}-status-exception ${sn}-inner:not(${sn}-circle-gradient)`]:{[`${sn}-circle-path`]:{stroke:Mt.colorError}},[`&${sn}-status-success`]:{[`${sn}-bg`]:{backgroundColor:Mt.colorSuccess},[`${sn}-text`]:{color:Mt.colorSuccess}},[`&${sn}-status-success ${sn}-inner:not(${sn}-circle-gradient)`]:{[`${sn}-circle-path`]:{stroke:Mt.colorSuccess}}})}},se=Mt=>{const{componentCls:sn,iconCls:Dn}=Mt;return{[sn]:{[`${sn}-circle-trail`]:{stroke:Mt.remainingColor},[`&${sn}-circle ${sn}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${sn}-circle ${sn}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Mt.circleTextColor,fontSize:Mt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Dn]:{fontSize:Mt.circleIconFontSize}},[`${sn}-circle&-status-exception`]:{[`${sn}-text`]:{color:Mt.colorError}},[`${sn}-circle&-status-success`]:{[`${sn}-text`]:{color:Mt.colorSuccess}}},[`${sn}-inline-circle`]:{lineHeight:1,[`${sn}-inner`]:{verticalAlign:"bottom"}}}},Be=Mt=>{const{componentCls:sn}=Mt;return{[sn]:{[`${sn}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Mt.progressStepMinWidth,marginInlineEnd:Mt.progressStepMarginInlineEnd,backgroundColor:Mt.remainingColor,transition:`all ${Mt.motionDurationSlow}`,"&-active":{backgroundColor:Mt.defaultColor}}}}}},$e=Mt=>{const{componentCls:sn,iconCls:Dn}=Mt;return{[sn]:{[`${sn}-small&-line, ${sn}-small&-line ${sn}-text ${Dn}`]:{fontSize:Mt.fontSizeSM}}}},at=Mt=>({circleTextColor:Mt.colorText,defaultColor:Mt.colorInfo,remainingColor:Mt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${Mt.fontSize/Mt.fontSizeSM}em`});var pt=(0,on.I$)("Progress",Mt=>{const sn=Mt.calc(Mt.marginXXS).div(2).equal(),Dn=(0,de.mergeToken)(Mt,{progressStepMarginInlineEnd:sn,progressStepMinWidth:sn,progressActiveMotionDuration:"2.4s"});return[le(Dn),se(Dn),Be(Dn),$e(Dn)]},at),gt=function(Mt,sn){var Dn={};for(var Wn in Mt)Object.prototype.hasOwnProperty.call(Mt,Wn)&&sn.indexOf(Wn)<0&&(Dn[Wn]=Mt[Wn]);if(Mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var It=0,Wn=Object.getOwnPropertySymbols(Mt);It<Wn.length;It++)sn.indexOf(Wn[It])<0&&Object.prototype.propertyIsEnumerable.call(Mt,Wn[It])&&(Dn[Wn[It]]=Mt[Wn[It]]);return Dn};const Bt=Mt=>{let sn=[];return Object.keys(Mt).forEach(Dn=>{const Wn=parseFloat(Dn.replace(/%/g,""));Number.isNaN(Wn)||sn.push({key:Wn,value:Mt[Dn]})}),sn=sn.sort((Dn,Wn)=>Dn.key-Wn.key),sn.map(Dn=>{let{key:Wn,value:It}=Dn;return`${It} ${Wn}%`}).join(", ")},Lt=(Mt,sn)=>{const{from:Dn=Te.presetPrimaryColors.blue,to:Wn=Te.presetPrimaryColors.blue,direction:It=sn==="rtl"?"to left":"to right"}=Mt,Wt=gt(Mt,["from","to","direction"]);if(Object.keys(Wt).length!==0){const mn=Bt(Wt),Xn=`linear-gradient(${It}, ${mn})`;return{background:Xn,[ge]:Xn}}const rn=`linear-gradient(${It}, ${Dn}, ${Wn})`;return{background:rn,[ge]:rn}};var Ct=Mt=>{const{prefixCls:sn,direction:Dn,percent:Wn,size:It,strokeWidth:Wt,strokeColor:rn,strokeLinecap:mn="round",children:Xn,trailColor:Fr=null,percentPosition:ri,success:Hr}=Mt,{align:Ir,type:er}=ri,vr=rn&&typeof rn!="string"?Lt(rn,Dn):{[ge]:rn,background:rn},Mr=mn==="square"||mn==="butt"?0:void 0,Yn=It!=null?It:[-1,Wt||(It==="small"?6:8)],[sr,jn]=Nt(Yn,"line",{strokeWidth:Wt}),ur={backgroundColor:Fr||void 0,borderRadius:Mr},br=Object.assign(Object.assign({width:`${At(Wn)}%`,height:jn,borderRadius:Mr},vr),{[ie]:At(Wn)/100}),Xr=Zt(Mt),Yr={width:`${At(Xr)}%`,height:jn,borderRadius:Mr,backgroundColor:Hr==null?void 0:Hr.strokeColor},pi={width:sr<0?"100%":sr},ci=x.createElement("div",{className:`${sn}-inner`,style:ur},x.createElement("div",{className:fe()(`${sn}-bg`,`${sn}-bg-${er}`),style:br},er==="inner"&&Xn),Xr!==void 0&&x.createElement("div",{className:`${sn}-success-bg`,style:Yr})),Hi=er==="outer"&&Ir==="start",mi=er==="outer"&&Ir==="end";return er==="outer"&&Ir==="center"?x.createElement("div",{className:`${sn}-layout-bottom`},ci,Xn):x.createElement("div",{className:`${sn}-outer`,style:pi},Hi&&Xn,ci,mi&&Xn)},$t=Mt=>{const{size:sn,steps:Dn,rounding:Wn=Math.round,percent:It=0,strokeWidth:Wt=8,strokeColor:rn,trailColor:mn=null,prefixCls:Xn,children:Fr}=Mt,ri=Wn(Dn*(It/100)),Hr=sn==="small"?2:14,Ir=sn!=null?sn:[Hr,Wt],[er,vr]=Nt(Ir,"step",{steps:Dn,strokeWidth:Wt}),Mr=er/Dn,Yn=Array.from({length:Dn});for(let sr=0;sr<Dn;sr++){const jn=Array.isArray(rn)?rn[sr]:rn;Yn[sr]=x.createElement("div",{key:sr,className:fe()(`${Xn}-steps-item`,{[`${Xn}-steps-item-active`]:sr<=ri-1}),style:{backgroundColor:sr<=ri-1?jn:mn,width:Mr,height:vr}})}return x.createElement("div",{className:`${Xn}-steps-outer`},Yn,Fr)},Vt=function(Mt,sn){var Dn={};for(var Wn in Mt)Object.prototype.hasOwnProperty.call(Mt,Wn)&&sn.indexOf(Wn)<0&&(Dn[Wn]=Mt[Wn]);if(Mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var It=0,Wn=Object.getOwnPropertySymbols(Mt);It<Wn.length;It++)sn.indexOf(Wn[It])<0&&Object.prototype.propertyIsEnumerable.call(Mt,Wn[It])&&(Dn[Wn[It]]=Mt[Wn[It]]);return Dn};const bn=null,an=["normal","exception","active","success"];var Hn=x.forwardRef((Mt,sn)=>{const{prefixCls:Dn,className:Wn,rootClassName:It,steps:Wt,strokeColor:rn,percent:mn=0,size:Xn="default",showInfo:Fr=!0,type:ri="line",status:Hr,format:Ir,style:er,percentPosition:vr={}}=Mt,Mr=Vt(Mt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Yn="end",type:sr="outer"}=vr,jn=Array.isArray(rn)?rn[0]:rn,ur=typeof rn=="string"||Array.isArray(rn)?rn:void 0,br=x.useMemo(()=>{if(jn){const kt=typeof jn=="string"?jn:Object.values(jn)[0];return new ct.FastColor(kt).isLight()}return!1},[rn]),Xr=x.useMemo(()=>{var kt,dn;const zt=Zt(Mt);return parseInt(zt!==void 0?(kt=zt!=null?zt:0)===null||kt===void 0?void 0:kt.toString():(dn=mn!=null?mn:0)===null||dn===void 0?void 0:dn.toString(),10)},[mn,Mt.success,Mt.successPercent]),Yr=x.useMemo(()=>!an.includes(Hr)&&Xr>=100?"success":Hr||"normal",[Hr,Xr]),{getPrefixCls:pi,direction:ci,progress:Hi}=x.useContext(oe.E_),mi=pi("progress",Dn),[no,Ki,fr]=pt(mi),Lr=ri==="line",gi=Lr&&!Wt,Xt=x.useMemo(()=>{if(!Fr)return null;const kt=Zt(Mt);let dn;const zt=Ir||(Pn=>`${Pn}%`),hn=Lr&&br&&sr==="inner";return sr==="inner"||Ir||Yr!=="exception"&&Yr!=="success"?dn=zt(At(mn),At(kt)):Yr==="exception"?dn=Lr?x.createElement(He.Z,null):x.createElement(Se.Z,null):Yr==="success"&&(dn=Lr?x.createElement(Le.Z,null):x.createElement(Je.Z,null)),x.createElement("span",{className:fe()(`${mi}-text`,{[`${mi}-text-bright`]:hn,[`${mi}-text-${Yn}`]:gi,[`${mi}-text-${sr}`]:gi}),title:typeof dn=="string"?dn:void 0},dn)},[Fr,mn,Xr,Yr,ri,mi,Ir]);let ln;ri==="line"?ln=Wt?x.createElement($t,Object.assign({},Mt,{strokeColor:ur,prefixCls:mi,steps:typeof Wt=="object"?Wt.count:Wt}),Xt):x.createElement(Ct,Object.assign({},Mt,{strokeColor:jn,prefixCls:mi,direction:ci,percentPosition:{align:Yn,type:sr}}),Xt):(ri==="circle"||ri==="dashboard")&&(ln=x.createElement(vn,Object.assign({},Mt,{strokeColor:jn,prefixCls:mi,progressStatus:Yr}),Xt));const yn=fe()(mi,`${mi}-status-${Yr}`,{[`${mi}-${ri==="dashboard"&&"circle"||ri}`]:ri!=="line",[`${mi}-inline-circle`]:ri==="circle"&&Nt(Xn,"circle")[0]<=20,[`${mi}-line`]:gi,[`${mi}-line-align-${Yn}`]:gi,[`${mi}-line-position-${sr}`]:gi,[`${mi}-steps`]:Wt,[`${mi}-show-info`]:Fr,[`${mi}-${Xn}`]:typeof Xn=="string",[`${mi}-rtl`]:ci==="rtl"},Hi==null?void 0:Hi.className,Wn,It,Ki,fr);return no(x.createElement("div",Object.assign({ref:sn,style:Object.assign(Object.assign({},Hi==null?void 0:Hi.style),er),className:yn,role:"progressbar","aria-valuenow":Xr,"aria-valuemin":0,"aria-valuemax":100},(0,Ce.Z)(Mr,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),ln))}),En=Hn},63139:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Kt}});var x=ae(59301),ct=ae(54476),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Je=Le,He=ae(7657),Se=function(Nt,Qt){return x.createElement(He.Z,(0,ct.Z)({},Nt,{ref:Qt,icon:Je}))},Ue=x.forwardRef(Se),fe=Ue,Ce=ae(92310),oe=ae.n(Ce),Oe=ae(20068),ve=ae(42978),Me=ae(75931),Ie=ae(18929),_e=ae(10228),we=ae(26112);function xe(rt,Nt){var Qt=rt.disabled,pn=rt.prefixCls,Ot=rt.character,vn=rt.characterRender,_t=rt.index,Fn=rt.count,on=rt.value,de=rt.allowHalf,ge=rt.focused,ie=rt.onHover,ee=rt.onClick,le=function(Lt){ie(Lt,_t)},se=function(Lt){ee(Lt,_t)},Be=function(Lt){Lt.keyCode===_e.Z.ENTER&&ee(Lt,_t)},$e=_t+1,at=new Set([pn]);on===0&&_t===0&&ge?at.add("".concat(pn,"-focused")):de&&on+.5>=$e&&on<$e?(at.add("".concat(pn,"-half")),at.add("".concat(pn,"-active")),ge&&at.add("".concat(pn,"-focused"))):($e<=on?at.add("".concat(pn,"-full")):at.add("".concat(pn,"-zero")),$e===on&&ge&&at.add("".concat(pn,"-focused")));var pt=typeof Ot=="function"?Ot(rt):Ot,gt=x.createElement("li",{className:oe()(Array.from(at)),ref:Nt},x.createElement("div",{onClick:Qt?null:se,onKeyDown:Qt?null:Be,onMouseMove:Qt?null:le,role:"radio","aria-checked":on>_t?"true":"false","aria-posinset":_t+1,"aria-setsize":Fn,tabIndex:Qt?-1:0},x.createElement("div",{className:"".concat(pn,"-first")},pt),x.createElement("div",{className:"".concat(pn,"-second")},pt)));return vn&&(gt=vn(gt,rt)),gt}var Ee=x.forwardRef(xe);function ke(){var rt=x.useRef({});function Nt(pn){return rt.current[pn]}function Qt(pn){return function(Ot){rt.current[pn]=Ot}}return[Nt,Qt]}function ze(rt){var Nt=rt.pageXOffset,Qt="scrollLeft";if(typeof Nt!="number"){var pn=rt.document;Nt=pn.documentElement[Qt],typeof Nt!="number"&&(Nt=pn.body[Qt])}return Nt}function Qe(rt){var Nt,Qt,pn=rt.ownerDocument,Ot=pn.body,vn=pn&&pn.documentElement,_t=rt.getBoundingClientRect();return Nt=_t.left,Qt=_t.top,Nt-=vn.clientLeft||Ot.clientLeft||0,Qt-=vn.clientTop||Ot.clientTop||0,{left:Nt,top:Qt}}function Re(rt){var Nt=Qe(rt),Qt=rt.ownerDocument,pn=Qt.defaultView||Qt.parentWindow;return Nt.left+=ze(pn),Nt.left}var et=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Ge(rt,Nt){var Qt=rt.prefixCls,pn=Qt===void 0?"rc-rate":Qt,Ot=rt.className,vn=rt.defaultValue,_t=rt.value,Fn=rt.count,on=Fn===void 0?5:Fn,de=rt.allowHalf,ge=de===void 0?!1:de,ie=rt.allowClear,ee=ie===void 0?!0:ie,le=rt.keyboard,se=le===void 0?!0:le,Be=rt.character,$e=Be===void 0?"\u2605":Be,at=rt.characterRender,pt=rt.disabled,gt=rt.direction,Bt=gt===void 0?"ltr":gt,Lt=rt.tabIndex,Rt=Lt===void 0?0:Lt,Ct=rt.autoFocus,st=rt.onHoverChange,$t=rt.onChange,Vt=rt.onFocus,bn=rt.onBlur,an=rt.onKeyDown,en=rt.onMouseLeave,Hn=(0,Me.Z)(rt,et),En=ke(),Mt=(0,ve.Z)(En,2),sn=Mt[0],Dn=Mt[1],Wn=x.useRef(null),It=function(){if(!pt){var Xt;(Xt=Wn.current)===null||Xt===void 0||Xt.focus()}};x.useImperativeHandle(Nt,function(){return{focus:It,blur:function(){if(!pt){var Xt;(Xt=Wn.current)===null||Xt===void 0||Xt.blur()}}}});var Wt=(0,Ie.Z)(vn||0,{value:_t}),rn=(0,ve.Z)(Wt,2),mn=rn[0],Xn=rn[1],Fr=(0,Ie.Z)(null),ri=(0,ve.Z)(Fr,2),Hr=ri[0],Ir=ri[1],er=function(Xt,ln){var yn=Bt==="rtl",kt=Xt+1;if(ge){var dn=sn(Xt),zt=Re(dn),hn=dn.clientWidth;(yn&&ln-zt>hn/2||!yn&&ln-zt<hn/2)&&(kt-=.5)}return kt},vr=function(Xt){Xn(Xt),$t==null||$t(Xt)},Mr=x.useState(!1),Yn=(0,ve.Z)(Mr,2),sr=Yn[0],jn=Yn[1],ur=function(){jn(!0),Vt==null||Vt()},br=function(){jn(!1),bn==null||bn()},Xr=x.useState(null),Yr=(0,ve.Z)(Xr,2),pi=Yr[0],ci=Yr[1],Hi=function(Xt,ln){var yn=er(ln,Xt.pageX);yn!==Hr&&(ci(yn),Ir(null)),st==null||st(yn)},mi=function(Xt){pt||(ci(null),Ir(null),st==null||st(void 0)),Xt&&(en==null||en(Xt))},no=function(Xt,ln){var yn=er(ln,Xt.pageX),kt=!1;ee&&(kt=yn===mn),mi(),vr(kt?0:yn),Ir(kt?yn:null)},Ki=function(Xt){var ln=Xt.keyCode,yn=Bt==="rtl",kt=ge?.5:1;se&&(ln===_e.Z.RIGHT&&mn<on&&!yn?(vr(mn+kt),Xt.preventDefault()):ln===_e.Z.LEFT&&mn>0&&!yn||ln===_e.Z.RIGHT&&mn>0&&yn?(vr(mn-kt),Xt.preventDefault()):ln===_e.Z.LEFT&&mn<on&&yn&&(vr(mn+kt),Xt.preventDefault())),an==null||an(Xt)};x.useEffect(function(){Ct&&!pt&&It()},[]);var fr=new Array(on).fill(0).map(function(gi,Xt){return x.createElement(Ee,{ref:Dn(Xt),index:Xt,count:on,disabled:pt,prefixCls:"".concat(pn,"-star"),allowHalf:ge,value:pi===null?mn:pi,onClick:no,onHover:Hi,key:gi||Xt,character:$e,characterRender:at,focused:sr})}),Lr=oe()(pn,Ot,(0,Oe.Z)((0,Oe.Z)({},"".concat(pn,"-disabled"),pt),"".concat(pn,"-rtl"),Bt==="rtl"));return x.createElement("ul",(0,ct.Z)({className:Lr,onMouseLeave:mi,tabIndex:pt?-1:Rt,onFocus:pt?null:ur,onBlur:pt?null:br,onKeyDown:pt?null:Ki,ref:Wn},(0,we.Z)(Hn,{aria:!0,data:!0,attr:!0})),fr)}var lt=x.forwardRef(Ge),it=lt,ft=ae(48755),bt=ae(25399),je=ae(36237),ht=ae(63356),Ne=ae(16931),We=ae(51636);const Ut=rt=>{const{componentCls:Nt}=rt;return{[`${Nt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:rt.marginXS},"> div":{transition:`all ${rt.motionDurationMid}, outline 0s`,"&:hover":{transform:rt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,je.unit)(rt.lineWidth)} dashed ${rt.starColor}`,transform:rt.starHoverScale}},"&-first, &-second":{color:rt.starBg,transition:`all ${rt.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Nt}-star-first, &-half ${Nt}-star-second`]:{opacity:1},[`&-half ${Nt}-star-first, &-full ${Nt}-star-second`]:{color:"inherit"}}}},ot=rt=>({[`&-rtl${rt.componentCls}`]:{direction:"rtl"}}),yt=rt=>{const{componentCls:Nt}=rt;return{[Nt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ht.Wf)(rt)),{display:"inline-block",margin:0,padding:0,color:rt.starColor,fontSize:rt.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${Nt} ${Nt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ut(rt)),ot(rt))}},Ft=rt=>({starColor:rt.yellow6,starSize:rt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:rt.colorFillContent});var Ze=(0,Ne.I$)("Rate",rt=>{const Nt=(0,We.mergeToken)(rt,{});return[yt(Nt)]},Ft),Te=ae(2171),At=function(rt,Nt){var Qt={};for(var pn in rt)Object.prototype.hasOwnProperty.call(rt,pn)&&Nt.indexOf(pn)<0&&(Qt[pn]=rt[pn]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,pn=Object.getOwnPropertySymbols(rt);Ot<pn.length;Ot++)Nt.indexOf(pn[Ot])<0&&Object.prototype.propertyIsEnumerable.call(rt,pn[Ot])&&(Qt[pn[Ot]]=rt[pn[Ot]]);return Qt},Kt=x.forwardRef((rt,Nt)=>{const{prefixCls:Qt,className:pn,rootClassName:Ot,style:vn,tooltips:_t,character:Fn=x.createElement(fe,null),disabled:on}=rt,de=At(rt,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),ge=(Lt,Rt)=>{let{index:Ct}=Rt;return _t?x.createElement(bt.Z,{title:_t[Ct]},Lt):Lt},{getPrefixCls:ie,direction:ee,rate:le}=x.useContext(ft.E_),se=ie("rate",Qt),[Be,$e,at]=Ze(se),pt=Object.assign(Object.assign({},le==null?void 0:le.style),vn),gt=x.useContext(Te.Z),Bt=on!=null?on:gt;return Be(x.createElement(it,Object.assign({ref:Nt,character:Fn,characterRender:ge,disabled:Bt},de,{className:oe()(pn,Ot,$e,at,le==null?void 0:le.className),style:pt,prefixCls:se,direction:ee})))})},82326:function(Vn,Tt,ae){"use strict";var x=ae(59301),ct=ae(92310),Le=ae.n(ct),Je=ae(37463),He=ae(2738),Se=ae(75030),Ue=ae(86641),fe=ae(45915),Ce=ae(82855),oe=ae(48755),Oe=ae(38406),ve=ae(2171),Me=ae(83397),Ie=ae(31756),_e=ae(56553),we=ae(24971),xe=ae(70045),Ee=ae(57700),ke=ae(1722),ze=ae(90376),Qe=ae(68525),Re=ae(90005),et=function(bt,je){var ht={};for(var Ne in bt)Object.prototype.hasOwnProperty.call(bt,Ne)&&je.indexOf(Ne)<0&&(ht[Ne]=bt[Ne]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Ne=Object.getOwnPropertySymbols(bt);We<Ne.length;We++)je.indexOf(Ne[We])<0&&Object.prototype.propertyIsEnumerable.call(bt,Ne[We])&&(ht[Ne[We]]=bt[Ne[We]]);return ht};const Ge="SECRET_COMBOBOX_MODE_DO_NOT_USE",lt=(bt,je)=>{var ht;const{prefixCls:Ne,bordered:We,className:Ut,rootClassName:ot,getPopupContainer:yt,popupClassName:Ft,dropdownClassName:Ze,listHeight:Te=256,placement:At,listItemHeight:Zt,size:Kt,disabled:rt,notFoundContent:Nt,status:Qt,builtinPlacements:pn,dropdownMatchSelectWidth:Ot,popupMatchSelectWidth:vn,direction:_t,style:Fn,allowClear:on,variant:de,dropdownStyle:ge,transitionName:ie,tagRender:ee,maxCount:le,prefix:se}=bt,Be=et(bt,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:$e,getPrefixCls:at,renderEmpty:pt,direction:gt,virtual:Bt,popupMatchSelectWidth:Lt,popupOverflow:Rt}=x.useContext(oe.E_),Ct=(0,oe.dj)("select"),[,st]=(0,Ee.ZP)(),$t=Zt!=null?Zt:st==null?void 0:st.controlHeight,Vt=at("select",Ne),bn=at(),an=_t!=null?_t:gt,{compactSize:en,compactItemClassnames:Hn}=(0,xe.ri)(Vt,an),[En,Mt]=(0,we.Z)("select",de,We),sn=(0,Me.Z)(Vt),[Dn,Wn,It]=(0,ze.Z)(Vt,sn),Wt=x.useMemo(()=>{const{mode:Ki}=bt;if(Ki!=="combobox")return Ki===Ge?"combobox":Ki},[bt.mode]),rn=Wt==="multiple"||Wt==="tags",mn=(0,Re.Z)(bt.suffixIcon,bt.showArrow),Xn=(ht=vn!=null?vn:Ot)!==null&&ht!==void 0?ht:Lt,{status:Fr,hasFeedback:ri,isFormItemInput:Hr,feedbackIcon:Ir}=x.useContext(_e.aM),er=(0,Ce.F)(Fr,Qt);let vr;Nt!==void 0?vr=Nt:Wt==="combobox"?vr=null:vr=(pt==null?void 0:pt("Select"))||x.createElement(Oe.Z,{componentName:"Select"});const{suffixIcon:Mr,itemIcon:Yn,removeIcon:sr,clearIcon:jn}=(0,Qe.Z)(Object.assign(Object.assign({},Be),{multiple:rn,hasFeedback:ri,feedbackIcon:Ir,showSuffixIcon:mn,prefixCls:Vt,componentName:"Select"})),ur=on===!0?{clearIcon:jn}:on,br=(0,He.Z)(Be,["suffixIcon","itemIcon"]),Xr=Le()(Ft||Ze,{[`${Vt}-dropdown-${an}`]:an==="rtl"},ot,It,sn,Wn),Yr=(0,Ie.Z)(Ki=>{var fr;return(fr=Kt!=null?Kt:en)!==null&&fr!==void 0?fr:Ki}),pi=x.useContext(ve.Z),ci=rt!=null?rt:pi,Hi=Le()({[`${Vt}-lg`]:Yr==="large",[`${Vt}-sm`]:Yr==="small",[`${Vt}-rtl`]:an==="rtl",[`${Vt}-${En}`]:Mt,[`${Vt}-in-form-item`]:Hr},(0,Ce.Z)(Vt,er,ri),Hn,Ct.className,Ut,ot,It,sn,Wn),mi=x.useMemo(()=>At!==void 0?At:an==="rtl"?"bottomRight":"bottomLeft",[At,an]),[no]=(0,Se.Cn)("SelectLike",ge==null?void 0:ge.zIndex);return Dn(x.createElement(Je.ZP,Object.assign({ref:je,virtual:Bt,showSearch:Ct.showSearch},br,{style:Object.assign(Object.assign({},Ct.style),Fn),dropdownMatchSelectWidth:Xn,transitionName:(0,Ue.m)(bn,"slide-up",ie),builtinPlacements:(0,ke.Z)(pn,Rt),listHeight:Te,listItemHeight:$t,mode:Wt,prefixCls:Vt,placement:mi,direction:an,prefix:se,suffixIcon:Mr,menuItemSelectedIcon:Yn,removeIcon:sr,allowClear:ur,notFoundContent:vr,className:Hi,getPopupContainer:yt||$e,dropdownClassName:Xr,disabled:ci,dropdownStyle:Object.assign(Object.assign({},ge),{zIndex:no}),maxCount:rn?le:void 0,tagRender:rn?ee:void 0})))},it=x.forwardRef(lt),ft=(0,fe.Z)(it,"dropdownAlign");it.SECRET_COMBOBOX_MODE_DO_NOT_USE=Ge,it.Option=Je.Wx,it.OptGroup=Je.Xo,it._InternalPanelDoNotUseOrYouWillBeFired=ft,Tt.default=it},1722:function(Vn,Tt){"use strict";const ae=ct=>{const Je={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:ct==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},Je),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Je),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Je),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Je),{points:["br","tr"],offset:[0,-4]})}};function x(ct,Le){return ct||ae(Le)}Tt.Z=x},90376:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Ne}});var x=ae(63356),ct=ae(56119),Le=ae(16931),Je=ae(51636),He=ae(46e3),Se=ae(93873);const Ue=We=>{const{optionHeight:Ut,optionFontSize:ot,optionLineHeight:yt,optionPadding:Ft}=We;return{position:"relative",display:"block",minHeight:Ut,padding:Ft,color:We.colorText,fontWeight:"normal",fontSize:ot,lineHeight:yt,boxSizing:"border-box"}};var Ce=We=>{const{antCls:Ut,componentCls:ot}=We,yt=`${ot}-item`,Ft=`&${Ut}-slide-up-enter${Ut}-slide-up-enter-active`,Ze=`&${Ut}-slide-up-appear${Ut}-slide-up-appear-active`,Te=`&${Ut}-slide-up-leave${Ut}-slide-up-leave-active`,At=`${ot}-dropdown-placement-`,Zt=`${yt}-option-selected`;return[{[`${ot}-dropdown`]:Object.assign(Object.assign({},(0,x.Wf)(We)),{position:"absolute",top:-9999,zIndex:We.zIndexPopup,boxSizing:"border-box",padding:We.paddingXXS,overflow:"hidden",fontSize:We.fontSize,fontVariant:"initial",backgroundColor:We.colorBgElevated,borderRadius:We.borderRadiusLG,outline:"none",boxShadow:We.boxShadowSecondary,[`
${Ft}${At}bottomLeft,
${Ze}${At}bottomLeft
`]:{animationName:He.fJ},[`
${Ft}${At}topLeft,
${Ze}${At}topLeft,
${Ft}${At}topRight,
${Ze}${At}topRight
`]:{animationName:He.Qt},[`${Te}${At}bottomLeft`]:{animationName:He.Uw},[`
${Te}${At}topLeft,
${Te}${At}topRight
`]:{animationName:He.ly},"&-hidden":{display:"none"},[yt]:Object.assign(Object.assign({},Ue(We)),{cursor:"pointer",transition:`background ${We.motionDurationSlow} ease`,borderRadius:We.borderRadiusSM,"&-group":{color:We.colorTextDescription,fontSize:We.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},x.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${yt}-option-disabled)`]:{backgroundColor:We.optionActiveBg},[`&-selected:not(${yt}-option-disabled)`]:{color:We.optionSelectedColor,fontWeight:We.optionSelectedFontWeight,backgroundColor:We.optionSelectedBg,[`${yt}-option-state`]:{color:We.colorPrimary}},"&-disabled":{[`&${yt}-option-selected`]:{backgroundColor:We.colorBgContainerDisabled},color:We.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:We.calc(We.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Ue(We)),{color:We.colorTextDisabled})}),[`${Zt}:has(+ ${Zt})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Zt}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,He.oN)(We,"slide-up"),(0,He.oN)(We,"slide-down"),(0,Se.Fm)(We,"move-up"),(0,Se.Fm)(We,"move-down")]},oe=ae(26743),Oe=ae(36237);function ve(We,Ut){const{componentCls:ot,inputPaddingHorizontalBase:yt,borderRadius:Ft}=We,Ze=We.calc(We.controlHeight).sub(We.calc(We.lineWidth).mul(2)).equal(),Te=Ut?`${ot}-${Ut}`:"";return{[`${ot}-single${Te}`]:{fontSize:We.fontSize,height:We.controlHeight,[`${ot}-selector`]:Object.assign(Object.assign({},(0,x.Wf)(We,!0)),{display:"flex",borderRadius:Ft,flex:"1 1 auto",[`${ot}-selection-wrap:after`]:{lineHeight:(0,Oe.unit)(Ze)},[`${ot}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
${ot}-selection-item,
${ot}-selection-placeholder
`]:{display:"block",padding:0,lineHeight:(0,Oe.unit)(Ze),transition:`all ${We.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${ot}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${ot}-selection-item:empty:after`,`${ot}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
&${ot}-show-arrow ${ot}-selection-item,
&${ot}-show-arrow ${ot}-selection-search,
&${ot}-show-arrow ${ot}-selection-placeholder
`]:{paddingInlineEnd:We.showArrowPaddingInlineEnd},[`&${ot}-open ${ot}-selection-item`]:{color:We.colorTextPlaceholder},[`&:not(${ot}-customize-input)`]:{[`${ot}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,Oe.unit)(yt)}`,[`${ot}-selection-search-input`]:{height:Ze,fontSize:We.fontSize},"&:after":{lineHeight:(0,Oe.unit)(Ze)}}},[`&${ot}-customize-input`]:{[`${ot}-selector`]:{"&:after":{display:"none"},[`${ot}-selection-search`]:{position:"static",width:"100%"},[`${ot}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,Oe.unit)(yt)}`,"&:after":{display:"none"}}}}}}}function Me(We){const{componentCls:Ut}=We,ot=We.calc(We.controlPaddingHorizontalSM).sub(We.lineWidth).equal();return[ve(We),ve((0,Je.mergeToken)(We,{controlHeight:We.controlHeightSM,borderRadius:We.borderRadiusSM}),"sm"),{[`${Ut}-single${Ut}-sm`]:{[`&:not(${Ut}-customize-input)`]:{[`${Ut}-selector`]:{padding:`0 ${(0,Oe.unit)(ot)}`},[`&${Ut}-show-arrow ${Ut}-selection-search`]:{insetInlineEnd:We.calc(ot).add(We.calc(We.fontSize).mul(1.5)).equal()},[`
&${Ut}-show-arrow ${Ut}-selection-item,
&${Ut}-show-arrow ${Ut}-selection-placeholder
`]:{paddingInlineEnd:We.calc(We.fontSize).mul(1.5).equal()}}}},ve((0,Je.mergeToken)(We,{controlHeight:We.singleItemHeightLG,fontSize:We.fontSizeLG,borderRadius:We.borderRadiusLG}),"lg")]}const Ie=We=>{const{fontSize:Ut,lineHeight:ot,lineWidth:yt,controlHeight:Ft,controlHeightSM:Ze,controlHeightLG:Te,paddingXXS:At,controlPaddingHorizontal:Zt,zIndexPopupBase:Kt,colorText:rt,fontWeightStrong:Nt,controlItemBgActive:Qt,controlItemBgHover:pn,colorBgContainer:Ot,colorFillSecondary:vn,colorBgContainerDisabled:_t,colorTextDisabled:Fn,colorPrimaryHover:on,colorPrimary:de,controlOutline:ge}=We,ie=At*2,ee=yt*2,le=Math.min(Ft-ie,Ft-ee),se=Math.min(Ze-ie,Ze-ee),Be=Math.min(Te-ie,Te-ee);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(At/2),zIndexPopup:Kt+50,optionSelectedColor:rt,optionSelectedFontWeight:Nt,optionSelectedBg:Qt,optionActiveBg:pn,optionPadding:`${(Ft-Ut*ot)/2}px ${Zt}px`,optionFontSize:Ut,optionLineHeight:ot,optionHeight:Ft,selectorBg:Ot,clearBg:Ot,singleItemHeightLG:Te,multipleItemBg:vn,multipleItemBorderColor:"transparent",multipleItemHeight:le,multipleItemHeightSM:se,multipleItemHeightLG:Be,multipleSelectorBgDisabled:_t,multipleItemColorDisabled:Fn,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(We.fontSize*1.25),hoverBorderColor:on,activeBorderColor:de,activeOutlineColor:ge,selectAffixPadding:At}},_e=(We,Ut)=>{const{componentCls:ot,antCls:yt,controlOutlineWidth:Ft}=We;return{[`&:not(${ot}-customize-input) ${ot}-selector`]:{border:`${(0,Oe.unit)(We.lineWidth)} ${We.lineType} ${Ut.borderColor}`,background:We.selectorBg},[`&:not(${ot}-disabled):not(${ot}-customize-input):not(${yt}-pagination-size-changer)`]:{[`&:hover ${ot}-selector`]:{borderColor:Ut.hoverBorderHover},[`${ot}-focused& ${ot}-selector`]:{borderColor:Ut.activeBorderColor,boxShadow:`0 0 0 ${(0,Oe.unit)(Ft)} ${Ut.activeOutlineColor}`,outline:0},[`${ot}-prefix`]:{color:Ut.color}}}},we=(We,Ut)=>({[`&${We.componentCls}-status-${Ut.status}`]:Object.assign({},_e(We,Ut))}),xe=We=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},_e(We,{borderColor:We.colorBorder,hoverBorderHover:We.hoverBorderColor,activeBorderColor:We.activeBorderColor,activeOutlineColor:We.activeOutlineColor,color:We.colorText})),we(We,{status:"error",borderColor:We.colorError,hoverBorderHover:We.colorErrorHover,activeBorderColor:We.colorError,activeOutlineColor:We.colorErrorOutline,color:We.colorError})),we(We,{status:"warning",borderColor:We.colorWarning,hoverBorderHover:We.colorWarningHover,activeBorderColor:We.colorWarning,activeOutlineColor:We.colorWarningOutline,color:We.colorWarning})),{[`&${We.componentCls}-disabled`]:{[`&:not(${We.componentCls}-customize-input) ${We.componentCls}-selector`]:{background:We.colorBgContainerDisabled,color:We.colorTextDisabled}},[`&${We.componentCls}-multiple ${We.componentCls}-selection-item`]:{background:We.multipleItemBg,border:`${(0,Oe.unit)(We.lineWidth)} ${We.lineType} ${We.multipleItemBorderColor}`}})}),Ee=(We,Ut)=>{const{componentCls:ot,antCls:yt}=We;return{[`&:not(${ot}-customize-input) ${ot}-selector`]:{background:Ut.bg,border:`${(0,Oe.unit)(We.lineWidth)} ${We.lineType} transparent`,color:Ut.color},[`&:not(${ot}-disabled):not(${ot}-customize-input):not(${yt}-pagination-size-changer)`]:{[`&:hover ${ot}-selector`]:{background:Ut.hoverBg},[`${ot}-focused& ${ot}-selector`]:{background:We.selectorBg,borderColor:Ut.activeBorderColor,outline:0}}}},ke=(We,Ut)=>({[`&${We.componentCls}-status-${Ut.status}`]:Object.assign({},Ee(We,Ut))}),ze=We=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Ee(We,{bg:We.colorFillTertiary,hoverBg:We.colorFillSecondary,activeBorderColor:We.activeBorderColor,color:We.colorText})),ke(We,{status:"error",bg:We.colorErrorBg,hoverBg:We.colorErrorBgHover,activeBorderColor:We.colorError,color:We.colorError})),ke(We,{status:"warning",bg:We.colorWarningBg,hoverBg:We.colorWarningBgHover,activeBorderColor:We.colorWarning,color:We.colorWarning})),{[`&${We.componentCls}-disabled`]:{[`&:not(${We.componentCls}-customize-input) ${We.componentCls}-selector`]:{borderColor:We.colorBorder,background:We.colorBgContainerDisabled,color:We.colorTextDisabled}},[`&${We.componentCls}-multiple ${We.componentCls}-selection-item`]:{background:We.colorBgContainer,border:`${(0,Oe.unit)(We.lineWidth)} ${We.lineType} ${We.colorSplit}`}})}),Qe=We=>({"&-borderless":{[`${We.componentCls}-selector`]:{background:"transparent",border:`${(0,Oe.unit)(We.lineWidth)} ${We.lineType} transparent`},[`&${We.componentCls}-disabled`]:{[`&:not(${We.componentCls}-customize-input) ${We.componentCls}-selector`]:{color:We.colorTextDisabled}},[`&${We.componentCls}-multiple ${We.componentCls}-selection-item`]:{background:We.multipleItemBg,border:`${(0,Oe.unit)(We.lineWidth)} ${We.lineType} ${We.multipleItemBorderColor}`},[`&${We.componentCls}-status-error`]:{[`${We.componentCls}-prefix, ${We.componentCls}-selection-item`]:{color:We.colorError}},[`&${We.componentCls}-status-warning`]:{[`${We.componentCls}-prefix, ${We.componentCls}-selection-item`]:{color:We.colorWarning}}}}),Re=(We,Ut)=>{const{componentCls:ot,antCls:yt}=We;return{[`&:not(${ot}-customize-input) ${ot}-selector`]:{borderWidth:`0 0 ${(0,Oe.unit)(We.lineWidth)} 0`,borderStyle:`none none ${We.lineType} none`,borderColor:Ut.borderColor,background:We.selectorBg,borderRadius:0},[`&:not(${ot}-disabled):not(${ot}-customize-input):not(${yt}-pagination-size-changer)`]:{[`&:hover ${ot}-selector`]:{borderColor:Ut.hoverBorderHover},[`${ot}-focused& ${ot}-selector`]:{borderColor:Ut.activeBorderColor,outline:0},[`${ot}-prefix`]:{color:Ut.color}}}},et=(We,Ut)=>({[`&${We.componentCls}-status-${Ut.status}`]:Object.assign({},Re(We,Ut))}),Ge=We=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},Re(We,{borderColor:We.colorBorder,hoverBorderHover:We.hoverBorderColor,activeBorderColor:We.activeBorderColor,activeOutlineColor:We.activeOutlineColor,color:We.colorText})),et(We,{status:"error",borderColor:We.colorError,hoverBorderHover:We.colorErrorHover,activeBorderColor:We.colorError,activeOutlineColor:We.colorErrorOutline,color:We.colorError})),et(We,{status:"warning",borderColor:We.colorWarning,hoverBorderHover:We.colorWarningHover,activeBorderColor:We.colorWarning,activeOutlineColor:We.colorWarningOutline,color:We.colorWarning})),{[`&${We.componentCls}-disabled`]:{[`&:not(${We.componentCls}-customize-input) ${We.componentCls}-selector`]:{color:We.colorTextDisabled}},[`&${We.componentCls}-multiple ${We.componentCls}-selection-item`]:{background:We.multipleItemBg,border:`${(0,Oe.unit)(We.lineWidth)} ${We.lineType} ${We.multipleItemBorderColor}`}})});var it=We=>({[We.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},xe(We)),ze(We)),Qe(We)),Ge(We))});const ft=We=>{const{componentCls:Ut}=We;return{position:"relative",transition:`all ${We.motionDurationMid} ${We.motionEaseInOut}`,input:{cursor:"pointer"},[`${Ut}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${Ut}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},bt=We=>{const{componentCls:Ut}=We;return{[`${Ut}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},je=We=>{const{antCls:Ut,componentCls:ot,inputPaddingHorizontalBase:yt,iconCls:Ft}=We;return{[ot]:Object.assign(Object.assign({},(0,x.Wf)(We)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${ot}-customize-input) ${ot}-selector`]:Object.assign(Object.assign({},ft(We)),bt(We)),[`${ot}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},x.vS),{[`> ${Ut}-typography`]:{display:"inline"}}),[`${ot}-selection-placeholder`]:Object.assign(Object.assign({},x.vS),{flex:1,color:We.colorTextPlaceholder,pointerEvents:"none"}),[`${ot}-arrow`]:Object.assign(Object.assign({},(0,x.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:yt,height:We.fontSizeIcon,marginTop:We.calc(We.fontSizeIcon).mul(-1).div(2).equal(),color:We.colorTextQuaternary,fontSize:We.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${We.motionDurationSlow} ease`,[Ft]:{verticalAlign:"top",transition:`transform ${We.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${ot}-suffix)`]:{pointerEvents:"auto"}},[`${ot}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${ot}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${ot}-prefix`]:{flex:"none",marginInlineEnd:We.selectAffixPadding},[`${ot}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:yt,zIndex:1,display:"inline-block",width:We.fontSizeIcon,height:We.fontSizeIcon,marginTop:We.calc(We.fontSizeIcon).mul(-1).div(2).equal(),color:We.colorTextQuaternary,fontSize:We.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${We.motionDurationMid} ease, opacity ${We.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:We.colorTextTertiary}},[`&:hover ${ot}-clear`]:{opacity:1,background:We.colorBgBase,borderRadius:"50%"}}),[`${ot}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${ot}-has-feedback`]:{[`${ot}-clear`]:{insetInlineEnd:We.calc(yt).add(We.fontSize).add(We.paddingXS).equal()}}}}}},ht=We=>{const{componentCls:Ut}=We;return[{[Ut]:{[`&${Ut}-in-form-item`]:{width:"100%"}}},je(We),Me(We),(0,oe.ZP)(We),Ce(We),{[`${Ut}-rtl`]:{direction:"rtl"}},(0,ct.c)(We,{borderElCls:`${Ut}-selector`,focusElCls:`${Ut}-focused`})]};var Ne=(0,Le.I$)("Select",(We,Ut)=>{let{rootPrefixCls:ot}=Ut;const yt=(0,Je.mergeToken)(We,{rootPrefixCls:ot,inputPaddingHorizontalBase:We.calc(We.paddingSM).sub(1).equal(),multipleSelectItemHeight:We.multipleItemHeight,selectHeight:We.controlHeight});return[ht(yt),it(yt)]},Ie,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Vn,Tt,ae){"use strict";ae.d(Tt,{_z:function(){return Se},gp:function(){return Je}});var x=ae(36237),ct=ae(63356),Le=ae(51636);const Je=oe=>{const{multipleSelectItemHeight:Oe,paddingXXS:ve,lineWidth:Me,INTERNAL_FIXED_ITEM_MARGIN:Ie}=oe,_e=oe.max(oe.calc(ve).sub(Me).equal(),0),we=oe.max(oe.calc(_e).sub(Ie).equal(),0);return{basePadding:_e,containerPadding:we,itemHeight:(0,x.unit)(Oe),itemLineHeight:(0,x.unit)(oe.calc(Oe).sub(oe.calc(oe.lineWidth).mul(2)).equal())}},He=oe=>{const{multipleSelectItemHeight:Oe,selectHeight:ve,lineWidth:Me}=oe;return oe.calc(ve).sub(Oe).div(2).sub(Me).equal()},Se=oe=>{const{componentCls:Oe,iconCls:ve,borderRadiusSM:Me,motionDurationSlow:Ie,paddingXS:_e,multipleItemColorDisabled:we,multipleItemBorderColorDisabled:xe,colorIcon:Ee,colorIconHover:ke,INTERNAL_FIXED_ITEM_MARGIN:ze}=oe;return{[`${Oe}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${Oe}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:ze,borderRadius:Me,cursor:"default",transition:`font-size ${Ie}, line-height ${Ie}, height ${Ie}`,marginInlineEnd:oe.calc(ze).mul(2).equal(),paddingInlineStart:_e,paddingInlineEnd:oe.calc(_e).div(2).equal(),[`${Oe}-disabled&`]:{color:we,borderColor:xe,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:oe.calc(_e).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,ct.Ro)()),{display:"inline-flex",alignItems:"center",color:Ee,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${ve}`]:{verticalAlign:"-0.2em"},"&:hover":{color:ke}})}}}},Ue=(oe,Oe)=>{const{componentCls:ve,INTERNAL_FIXED_ITEM_MARGIN:Me}=oe,Ie=`${ve}-selection-overflow`,_e=oe.multipleSelectItemHeight,we=He(oe),xe=Oe?`${ve}-${Oe}`:"",Ee=Je(oe);return{[`${ve}-multiple${xe}`]:Object.assign(Object.assign({},Se(oe)),{[`${ve}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:Ee.basePadding,paddingBlock:Ee.containerPadding,borderRadius:oe.borderRadius,[`${ve}-disabled&`]:{background:oe.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,x.unit)(Me)} 0`,lineHeight:(0,x.unit)(_e),visibility:"hidden",content:'"\\a0"'}},[`${ve}-selection-item`]:{height:Ee.itemHeight,lineHeight:(0,x.unit)(Ee.itemLineHeight)},[`${ve}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,x.unit)(_e),marginBlock:Me}},[`${ve}-prefix`]:{marginInlineStart:oe.calc(oe.inputPaddingHorizontalBase).sub(Ee.basePadding).equal()},[`${Ie}-item + ${Ie}-item,
${ve}-prefix + ${ve}-selection-wrap
`]:{[`${ve}-selection-search`]:{marginInlineStart:0},[`${ve}-selection-placeholder`]:{insetInlineStart:0}},[`${Ie}-item-suffix`]:{minHeight:Ee.itemHeight,marginBlock:Me},[`${ve}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:oe.calc(oe.inputPaddingHorizontalBase).sub(we).equal(),"\n &-input,\n &-mirror\n ":{height:_e,fontFamily:oe.fontFamily,lineHeight:(0,x.unit)(_e),transition:`all ${oe.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${ve}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:oe.calc(oe.inputPaddingHorizontalBase).sub(Ee.basePadding).equal(),insetInlineEnd:oe.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${oe.motionDurationSlow}`}})}};function fe(oe,Oe){const{componentCls:ve}=oe,Me=Oe?`${ve}-${Oe}`:"",Ie={[`${ve}-multiple${Me}`]:{fontSize:oe.fontSize,[`${ve}-selector`]:{[`${ve}-show-search&`]:{cursor:"text"}},[`
&${ve}-show-arrow ${ve}-selector,
&${ve}-allow-clear ${ve}-selector
`]:{paddingInlineEnd:oe.calc(oe.fontSizeIcon).add(oe.controlPaddingHorizontal).equal()}}};return[Ue(oe,Oe),Ie]}const Ce=oe=>{const{componentCls:Oe}=oe,ve=(0,Le.mergeToken)(oe,{selectHeight:oe.controlHeightSM,multipleSelectItemHeight:oe.multipleItemHeightSM,borderRadius:oe.borderRadiusSM,borderRadiusSM:oe.borderRadiusXS}),Me=(0,Le.mergeToken)(oe,{fontSize:oe.fontSizeLG,selectHeight:oe.controlHeightLG,multipleSelectItemHeight:oe.multipleItemHeightLG,borderRadius:oe.borderRadiusLG,borderRadiusSM:oe.borderRadius});return[fe(oe),fe(ve,"sm"),{[`${Oe}-multiple${Oe}-sm`]:{[`${Oe}-selection-placeholder`]:{insetInline:oe.calc(oe.controlPaddingHorizontalSM).sub(oe.lineWidth).equal()},[`${Oe}-selection-search`]:{marginInlineStart:2}}},fe(Me,"lg")]};Tt.ZP=Ce},68525:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(59301),ct=ae(40001),Le=ae(19248),Je=ae(99267),He=ae(84105),Se=ae(58617),Ue=ae(47472);function fe(Ce){let{suffixIcon:oe,clearIcon:Oe,menuItemSelectedIcon:ve,removeIcon:Me,loading:Ie,multiple:_e,hasFeedback:we,prefixCls:xe,showSuffixIcon:Ee,feedbackIcon:ke,showArrow:ze,componentName:Qe}=Ce;const Re=Oe!=null?Oe:x.createElement(Le.Z,null),et=ft=>oe===null&&!we&&!ze?null:x.createElement(x.Fragment,null,Ee!==!1&&ft,we&&ke);let Ge=null;if(oe!==void 0)Ge=et(oe);else if(Ie)Ge=et(x.createElement(Se.Z,{spin:!0}));else{const ft=`${xe}-suffix`;Ge=bt=>{let{open:je,showSearch:ht}=bt;return et(je&&ht?x.createElement(Ue.Z,{className:ft}):x.createElement(He.Z,{className:ft}))}}let lt=null;ve!==void 0?lt=ve:_e?lt=x.createElement(ct.Z,null):lt=null;let it=null;return Me!==void 0?it=Me:it=x.createElement(Je.Z,null),{clearIcon:Re,suffixIcon:Ge,itemIcon:lt,removeIcon:it}}},90005:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return x}});function x(ct,Le){return Le!==void 0?Le:ct!==null}},11938:function(Vn,Tt,ae){"use strict";ae.d(Tt,{default:function(){return bt}});var x=ae(59301),ct=ae(40192),Le=ae(22703),Je=ae(92310),He=ae.n(Je),Se=ae(26112),Ue=ae(48755),fe=ae(458),oe=je=>{const{value:ht,formatter:Ne,precision:We,decimalSeparator:Ut,groupSeparator:ot="",prefixCls:yt}=je;let Ft;if(typeof Ne=="function")Ft=Ne(ht);else{const Ze=String(ht),Te=Ze.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Te||Ze==="-")Ft=Ze;else{const At=Te[1];let Zt=Te[2]||"0",Kt=Te[4]||"";Zt=Zt.replace(/\B(?=(\d{3})+(?!\d))/g,ot),typeof We=="number"&&(Kt=Kt.padEnd(We,"0").slice(0,We>0?We:0)),Kt&&(Kt=`${Ut}${Kt}`),Ft=[x.createElement("span",{key:"int",className:`${yt}-content-value-int`},At,Zt),Kt&&x.createElement("span",{key:"decimal",className:`${yt}-content-value-decimal`},Kt)]}}return x.createElement("span",{className:`${yt}-content-value`},Ft)},Oe=ae(63356),ve=ae(16931),Me=ae(51636);const Ie=je=>{const{componentCls:ht,marginXXS:Ne,padding:We,colorTextDescription:Ut,titleFontSize:ot,colorTextHeading:yt,contentFontSize:Ft,fontFamily:Ze}=je;return{[ht]:Object.assign(Object.assign({},(0,Oe.Wf)(je)),{[`${ht}-title`]:{marginBottom:Ne,color:Ut,fontSize:ot},[`${ht}-skeleton`]:{paddingTop:We},[`${ht}-content`]:{color:yt,fontSize:Ft,fontFamily:Ze,[`${ht}-content-value`]:{display:"inline-block",direction:"ltr"},[`${ht}-content-prefix, ${ht}-content-suffix`]:{display:"inline-block"},[`${ht}-content-prefix`]:{marginInlineEnd:Ne},[`${ht}-content-suffix`]:{marginInlineStart:Ne}}})}},_e=je=>{const{fontSizeHeading3:ht,fontSize:Ne}=je;return{titleFontSize:Ne,contentFontSize:ht}};var we=(0,ve.I$)("Statistic",je=>{const ht=(0,Me.mergeToken)(je,{});return[Ie(ht)]},_e),xe=function(je,ht){var Ne={};for(var We in je)Object.prototype.hasOwnProperty.call(je,We)&&ht.indexOf(We)<0&&(Ne[We]=je[We]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ut=0,We=Object.getOwnPropertySymbols(je);Ut<We.length;Ut++)ht.indexOf(We[Ut])<0&&Object.prototype.propertyIsEnumerable.call(je,We[Ut])&&(Ne[We[Ut]]=je[We[Ut]]);return Ne},ke=je=>{const{prefixCls:ht,className:Ne,rootClassName:We,style:Ut,valueStyle:ot,value:yt=0,title:Ft,valueRender:Ze,prefix:Te,suffix:At,loading:Zt=!1,formatter:Kt,precision:rt,decimalSeparator:Nt=".",groupSeparator:Qt=",",onMouseEnter:pn,onMouseLeave:Ot}=je,vn=xe(je,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:_t,direction:Fn,className:on,style:de}=(0,Ue.dj)("statistic"),ge=_t("statistic",ht),[ie,ee,le]=we(ge),se=x.createElement(oe,{decimalSeparator:Nt,groupSeparator:Qt,prefixCls:ge,formatter:Kt,precision:rt,value:yt}),Be=He()(ge,{[`${ge}-rtl`]:Fn==="rtl"},on,Ne,We,ee,le),$e=(0,Se.Z)(vn,{aria:!0,data:!0});return ie(x.createElement("div",Object.assign({},$e,{className:Be,style:Object.assign(Object.assign({},de),Ut),onMouseEnter:pn,onMouseLeave:Ot}),Ft&&x.createElement("div",{className:`${ge}-title`},Ft),x.createElement(fe.Z,{paragraph:!1,loading:Zt,className:`${ge}-skeleton`},x.createElement("div",{style:ot,className:`${ge}-content`},Te&&x.createElement("span",{className:`${ge}-content-prefix`},Te),Ze?Ze(se):se,At&&x.createElement("span",{className:`${ge}-content-suffix`},At)))))};const ze=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function Qe(je,ht){let Ne=je;const We=/\[[^\]]*]/g,Ut=(ht.match(We)||[]).map(Ze=>Ze.slice(1,-1)),ot=ht.replace(We,"[]"),yt=ze.reduce((Ze,Te)=>{let[At,Zt]=Te;if(Ze.includes(At)){const Kt=Math.floor(Ne/Zt);return Ne-=Kt*Zt,Ze.replace(new RegExp(`${At}+`,"g"),rt=>{const Nt=rt.length;return Kt.toString().padStart(Nt,"0")})}return Ze},ot);let Ft=0;return yt.replace(We,()=>{const Ze=Ut[Ft];return Ft+=1,Ze})}function Re(je,ht){const{format:Ne=""}=ht,We=new Date(je).getTime(),Ut=Date.now(),ot=Math.max(We-Ut,0);return Qe(ot,Ne)}var et=function(je,ht){var Ne={};for(var We in je)Object.prototype.hasOwnProperty.call(je,We)&&ht.indexOf(We)<0&&(Ne[We]=je[We]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ut=0,We=Object.getOwnPropertySymbols(je);Ut<We.length;Ut++)ht.indexOf(We[Ut])<0&&Object.prototype.propertyIsEnumerable.call(je,We[Ut])&&(Ne[We[Ut]]=je[We[Ut]]);return Ne};const Ge=1e3/30;function lt(je){return new Date(je).getTime()}const it=je=>{const{value:ht,format:Ne="HH:mm:ss",onChange:We,onFinish:Ut}=je,ot=et(je,["value","format","onChange","onFinish"]),yt=(0,ct.Z)(),Ft=x.useRef(null),Ze=()=>{Ut==null||Ut(),Ft.current&&(clearInterval(Ft.current),Ft.current=null)},Te=()=>{const Kt=lt(ht);Kt>=Date.now()&&(Ft.current=setInterval(()=>{yt(),We==null||We(Kt-Date.now()),Kt<Date.now()&&Ze()},Ge))};x.useEffect(()=>(Te(),()=>{Ft.current&&(clearInterval(Ft.current),Ft.current=null)}),[ht]);const At=(Kt,rt)=>Re(Kt,Object.assign(Object.assign({},rt),{format:Ne})),Zt=Kt=>(0,Le.Tm)(Kt,{title:void 0});return x.createElement(ke,Object.assign({},ot,{value:ht,valueRender:Zt,formatter:At}))};var ft=x.memo(it);ke.Countdown=ft;var bt=ke},58755:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Ut}});var x=ae(59301),ct=ae(58617),Le=ae(92310),Je=ae.n(Le),He=ae(54476),Se=ae(20068),Ue=ae(42978),fe=ae(75931),Ce=ae(18929),oe=ae(10228),Oe=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],ve=x.forwardRef(function(ot,yt){var Ft,Ze=ot.prefixCls,Te=Ze===void 0?"rc-switch":Ze,At=ot.className,Zt=ot.checked,Kt=ot.defaultChecked,rt=ot.disabled,Nt=ot.loadingIcon,Qt=ot.checkedChildren,pn=ot.unCheckedChildren,Ot=ot.onClick,vn=ot.onChange,_t=ot.onKeyDown,Fn=(0,fe.Z)(ot,Oe),on=(0,Ce.Z)(!1,{value:Zt,defaultValue:Kt}),de=(0,Ue.Z)(on,2),ge=de[0],ie=de[1];function ee($e,at){var pt=ge;return rt||(pt=$e,ie(pt),vn==null||vn(pt,at)),pt}function le($e){$e.which===oe.Z.LEFT?ee(!1,$e):$e.which===oe.Z.RIGHT&&ee(!0,$e),_t==null||_t($e)}function se($e){var at=ee(!ge,$e);Ot==null||Ot(at,$e)}var Be=Je()(Te,At,(Ft={},(0,Se.Z)(Ft,"".concat(Te,"-checked"),ge),(0,Se.Z)(Ft,"".concat(Te,"-disabled"),rt),Ft));return x.createElement("button",(0,He.Z)({},Fn,{type:"button",role:"switch","aria-checked":ge,disabled:rt,className:Be,ref:yt,onKeyDown:le,onClick:se}),Nt,x.createElement("span",{className:"".concat(Te,"-inner")},x.createElement("span",{className:"".concat(Te,"-inner-checked")},Qt),x.createElement("span",{className:"".concat(Te,"-inner-unchecked")},pn)))});ve.displayName="Switch";var Me=ve,Ie=ae(12919),_e=ae(48755),we=ae(2171),xe=ae(31756),Ee=ae(36237),ke=ae(17835),ze=ae(63356),Qe=ae(16931),Re=ae(51636);const et=ot=>{const{componentCls:yt,trackHeightSM:Ft,trackPadding:Ze,trackMinWidthSM:Te,innerMinMarginSM:At,innerMaxMarginSM:Zt,handleSizeSM:Kt,calc:rt}=ot,Nt=`${yt}-inner`,Qt=(0,Ee.unit)(rt(Kt).add(rt(Ze).mul(2)).equal()),pn=(0,Ee.unit)(rt(Zt).mul(2).equal());return{[yt]:{[`&${yt}-small`]:{minWidth:Te,height:Ft,lineHeight:(0,Ee.unit)(Ft),[`${yt}-inner`]:{paddingInlineStart:Zt,paddingInlineEnd:At,[`${Nt}-checked, ${Nt}-unchecked`]:{minHeight:Ft},[`${Nt}-checked`]:{marginInlineStart:`calc(-100% + ${Qt} - ${pn})`,marginInlineEnd:`calc(100% - ${Qt} + ${pn})`},[`${Nt}-unchecked`]:{marginTop:rt(Ft).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${yt}-handle`]:{width:Kt,height:Kt},[`${yt}-loading-icon`]:{top:rt(rt(Kt).sub(ot.switchLoadingIconSize)).div(2).equal(),fontSize:ot.switchLoadingIconSize},[`&${yt}-checked`]:{[`${yt}-inner`]:{paddingInlineStart:At,paddingInlineEnd:Zt,[`${Nt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Nt}-unchecked`]:{marginInlineStart:`calc(100% - ${Qt} + ${pn})`,marginInlineEnd:`calc(-100% + ${Qt} - ${pn})`}},[`${yt}-handle`]:{insetInlineStart:`calc(100% - ${(0,Ee.unit)(rt(Kt).add(Ze).equal())})`}},[`&:not(${yt}-disabled):active`]:{[`&:not(${yt}-checked) ${Nt}`]:{[`${Nt}-unchecked`]:{marginInlineStart:rt(ot.marginXXS).div(2).equal(),marginInlineEnd:rt(ot.marginXXS).mul(-1).div(2).equal()}},[`&${yt}-checked ${Nt}`]:{[`${Nt}-checked`]:{marginInlineStart:rt(ot.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:rt(ot.marginXXS).div(2).equal()}}}}}}},Ge=ot=>{const{componentCls:yt,handleSize:Ft,calc:Ze}=ot;return{[yt]:{[`${yt}-loading-icon${ot.iconCls}`]:{position:"relative",top:Ze(Ze(Ft).sub(ot.fontSize)).div(2).equal(),color:ot.switchLoadingIconColor,verticalAlign:"top"},[`&${yt}-checked ${yt}-loading-icon`]:{color:ot.switchColor}}}},lt=ot=>{const{componentCls:yt,trackPadding:Ft,handleBg:Ze,handleShadow:Te,handleSize:At,calc:Zt}=ot,Kt=`${yt}-handle`;return{[yt]:{[Kt]:{position:"absolute",top:Ft,insetInlineStart:Ft,width:At,height:At,transition:`all ${ot.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Ze,borderRadius:Zt(At).div(2).equal(),boxShadow:Te,transition:`all ${ot.switchDuration} ease-in-out`,content:'""'}},[`&${yt}-checked ${Kt}`]:{insetInlineStart:`calc(100% - ${(0,Ee.unit)(Zt(At).add(Ft).equal())})`},[`&:not(${yt}-disabled):active`]:{[`${Kt}::before`]:{insetInlineEnd:ot.switchHandleActiveInset,insetInlineStart:0},[`&${yt}-checked ${Kt}::before`]:{insetInlineEnd:0,insetInlineStart:ot.switchHandleActiveInset}}}}},it=ot=>{const{componentCls:yt,trackHeight:Ft,trackPadding:Ze,innerMinMargin:Te,innerMaxMargin:At,handleSize:Zt,calc:Kt}=ot,rt=`${yt}-inner`,Nt=(0,Ee.unit)(Kt(Zt).add(Kt(Ze).mul(2)).equal()),Qt=(0,Ee.unit)(Kt(At).mul(2).equal());return{[yt]:{[rt]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:At,paddingInlineEnd:Te,transition:`padding-inline-start ${ot.switchDuration} ease-in-out, padding-inline-end ${ot.switchDuration} ease-in-out`,[`${rt}-checked, ${rt}-unchecked`]:{display:"block",color:ot.colorTextLightSolid,fontSize:ot.fontSizeSM,transition:`margin-inline-start ${ot.switchDuration} ease-in-out, margin-inline-end ${ot.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:Ft},[`${rt}-checked`]:{marginInlineStart:`calc(-100% + ${Nt} - ${Qt})`,marginInlineEnd:`calc(100% - ${Nt} + ${Qt})`},[`${rt}-unchecked`]:{marginTop:Kt(Ft).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${yt}-checked ${rt}`]:{paddingInlineStart:Te,paddingInlineEnd:At,[`${rt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${rt}-unchecked`]:{marginInlineStart:`calc(100% - ${Nt} + ${Qt})`,marginInlineEnd:`calc(-100% + ${Nt} - ${Qt})`}},[`&:not(${yt}-disabled):active`]:{[`&:not(${yt}-checked) ${rt}`]:{[`${rt}-unchecked`]:{marginInlineStart:Kt(Ze).mul(2).equal(),marginInlineEnd:Kt(Ze).mul(-1).mul(2).equal()}},[`&${yt}-checked ${rt}`]:{[`${rt}-checked`]:{marginInlineStart:Kt(Ze).mul(-1).mul(2).equal(),marginInlineEnd:Kt(Ze).mul(2).equal()}}}}}},ft=ot=>{const{componentCls:yt,trackHeight:Ft,trackMinWidth:Ze}=ot;return{[yt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ze.Wf)(ot)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Ze,height:Ft,lineHeight:(0,Ee.unit)(Ft),verticalAlign:"middle",background:ot.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${ot.motionDurationMid}`,userSelect:"none",[`&:hover:not(${yt}-disabled)`]:{background:ot.colorTextTertiary}}),(0,ze.Qy)(ot)),{[`&${yt}-checked`]:{background:ot.switchColor,[`&:hover:not(${yt}-disabled)`]:{background:ot.colorPrimaryHover}},[`&${yt}-loading, &${yt}-disabled`]:{cursor:"not-allowed",opacity:ot.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${yt}-rtl`]:{direction:"rtl"}})}},bt=ot=>{const{fontSize:yt,lineHeight:Ft,controlHeight:Ze,colorWhite:Te}=ot,At=yt*Ft,Zt=Ze/2,Kt=2,rt=At-Kt*2,Nt=Zt-Kt*2;return{trackHeight:At,trackHeightSM:Zt,trackMinWidth:rt*2+Kt*4,trackMinWidthSM:Nt*2+Kt*2,trackPadding:Kt,handleBg:Te,handleSize:rt,handleSizeSM:Nt,handleShadow:`0 2px 4px 0 ${new ke.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:rt/2,innerMaxMargin:rt+Kt+Kt*2,innerMinMarginSM:Nt/2,innerMaxMarginSM:Nt+Kt+Kt*2}};var je=(0,Qe.I$)("Switch",ot=>{const yt=(0,Re.mergeToken)(ot,{switchDuration:ot.motionDurationMid,switchColor:ot.colorPrimary,switchDisabledOpacity:ot.opacityLoading,switchLoadingIconSize:ot.calc(ot.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${ot.opacityLoading})`,switchHandleActiveInset:"-30%"});return[ft(yt),it(yt),lt(yt),Ge(yt),et(yt)]},bt),ht=function(ot,yt){var Ft={};for(var Ze in ot)Object.prototype.hasOwnProperty.call(ot,Ze)&&yt.indexOf(Ze)<0&&(Ft[Ze]=ot[Ze]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Ze=Object.getOwnPropertySymbols(ot);Te<Ze.length;Te++)yt.indexOf(Ze[Te])<0&&Object.prototype.propertyIsEnumerable.call(ot,Ze[Te])&&(Ft[Ze[Te]]=ot[Ze[Te]]);return Ft};const We=x.forwardRef((ot,yt)=>{const{prefixCls:Ft,size:Ze,disabled:Te,loading:At,className:Zt,rootClassName:Kt,style:rt,checked:Nt,value:Qt,defaultChecked:pn,defaultValue:Ot,onChange:vn}=ot,_t=ht(ot,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[Fn,on]=(0,Ce.Z)(!1,{value:Nt!=null?Nt:Qt,defaultValue:pn!=null?pn:Ot}),{getPrefixCls:de,direction:ge,switch:ie}=x.useContext(_e.E_),ee=x.useContext(we.Z),le=(Te!=null?Te:ee)||At,se=de("switch",Ft),Be=x.createElement("div",{className:`${se}-handle`},At&&x.createElement(ct.Z,{className:`${se}-loading-icon`})),[$e,at,pt]=je(se),gt=(0,xe.Z)(Ze),Bt=Je()(ie==null?void 0:ie.className,{[`${se}-small`]:gt==="small",[`${se}-loading`]:At,[`${se}-rtl`]:ge==="rtl"},Zt,Kt,at,pt),Lt=Object.assign(Object.assign({},ie==null?void 0:ie.style),rt),Rt=function(){on(arguments.length<=0?void 0:arguments[0]),vn==null||vn.apply(void 0,arguments)};return $e(x.createElement(Ie.Z,{component:"Switch"},x.createElement(Me,Object.assign({},_t,{checked:Fn,onChange:Rt,prefixCls:se,className:Bt,style:Lt,disabled:le,ref:yt,loadingIcon:Be}))))});We.__ANT_SWITCH=!0;var Ut=We},70858:function(Vn,Tt,ae){"use strict";ae.d(Tt,{default:function(){return up}});var x=ae(59301),ct={},Le="rc-table-internal-hook",Je=ae(42978),He=ae(6089),Se=ae(34280),Ue=ae(13697),fe=ae(4676);function Ce(wt){var vt=x.createContext(void 0),Gt=function(Sn){var Tn=Sn.value,or=Sn.children,qn=x.useRef(Tn);qn.current=Tn;var Cr=x.useState(function(){return{getValue:function(){return qn.current},listeners:new Set}}),hr=(0,Je.Z)(Cr,1),ui=hr[0];return(0,Se.Z)(function(){(0,fe.unstable_batchedUpdates)(function(){ui.listeners.forEach(function(jr){jr(Tn)})})},[Tn]),x.createElement(vt.Provider,{value:ui},or)};return{Context:vt,Provider:Gt,defaultValue:wt}}function oe(wt,vt){var Gt=(0,He.Z)(typeof vt=="function"?vt:function(jr){if(vt===void 0)return jr;if(!Array.isArray(vt))return jr[vt];var Qr={};return vt.forEach(function(Or){Qr[Or]=jr[Or]}),Qr}),An=x.useContext(wt==null?void 0:wt.Context),Sn=An||{},Tn=Sn.listeners,or=Sn.getValue,qn=x.useRef();qn.current=Gt(An?or():wt==null?void 0:wt.defaultValue);var Cr=x.useState({}),hr=(0,Je.Z)(Cr,2),ui=hr[1];return(0,Se.Z)(function(){if(!An)return;function jr(Qr){var Or=Gt(Qr);(0,Ue.Z)(qn.current,Or,!0)||ui({})}return Tn.add(jr),function(){Tn.delete(jr)}},[An]),qn.current}var Oe=ae(54476),ve=ae(8654);function Me(){var wt=x.createContext(null);function vt(){return x.useContext(wt)}function Gt(Sn,Tn){var or=(0,ve.Yr)(Sn),qn=function(hr,ui){var jr=or?{ref:ui}:{},Qr=x.useRef(0),Or=x.useRef(hr),Dr=vt();return Dr!==null?x.createElement(Sn,(0,Oe.Z)({},hr,jr)):((!Tn||Tn(Or.current,hr))&&(Qr.current+=1),Or.current=hr,x.createElement(wt.Provider,{value:Qr.current},x.createElement(Sn,(0,Oe.Z)({},hr,jr))))};return or?x.forwardRef(qn):qn}function An(Sn,Tn){var or=(0,ve.Yr)(Sn),qn=function(hr,ui){var jr=or?{ref:ui}:{};return vt(),x.createElement(Sn,(0,Oe.Z)({},hr,jr))};return or?x.memo(x.forwardRef(qn),Tn):x.memo(qn,Tn)}return{makeImmutable:Gt,responseImmutable:An,useImmutableMark:vt}}var Ie=Me(),_e=Ie.makeImmutable,we=Ie.responseImmutable,xe=Ie.useImmutableMark,Ee=Me(),ke=Ee.makeImmutable,ze=Ee.responseImmutable,Qe=Ee.useImmutableMark,Re=Ce(),et=Re;function Ge(wt,vt){var Gt=React.useRef(0);Gt.current+=1;var An=React.useRef(wt),Sn=[];Object.keys(wt||{}).map(function(or){var qn;(wt==null?void 0:wt[or])!==((qn=An.current)===null||qn===void 0?void 0:qn[or])&&Sn.push(or)}),An.current=wt;var Tn=React.useRef([]);return Sn.length&&(Tn.current=Sn),React.useDebugValue(Gt.current),React.useDebugValue(Tn.current.join(", ")),vt&&console.log("".concat(vt,":"),Gt.current,Tn.current),Gt.current}var lt=null,it=null,ft=ae(76190),bt=ae(33885),je=ae(20068),ht=ae(92310),Ne=ae.n(ht),We=ae(80547),Ut=ae(97938),ot=ae(48736),yt=x.createContext({renderWithProps:!1}),Ft=yt,Ze="RC_TABLE_KEY";function Te(wt){return wt==null?[]:Array.isArray(wt)?wt:[wt]}function At(wt){var vt=[],Gt={};return wt.forEach(function(An){for(var Sn=An||{},Tn=Sn.key,or=Sn.dataIndex,qn=Tn||Te(or).join("-")||Ze;Gt[qn];)qn="".concat(qn,"_next");Gt[qn]=!0,vt.push(qn)}),vt}function Zt(wt){return wt!=null}function Kt(wt){return typeof wt=="number"&&!Number.isNaN(wt)}function rt(wt){return wt&&(0,ft.Z)(wt)==="object"&&!Array.isArray(wt)&&!x.isValidElement(wt)}function Nt(wt,vt,Gt,An,Sn,Tn){var or=x.useContext(Ft),qn=Qe(),Cr=(0,We.Z)(function(){if(Zt(An))return[An];var hr=vt==null||vt===""?[]:Array.isArray(vt)?vt:[vt],ui=(0,Ut.Z)(wt,hr),jr=ui,Qr=void 0;if(Sn){var Or=Sn(ui,wt,Gt);rt(Or)?(jr=Or.children,Qr=Or.props,or.renderWithProps=!0):jr=Or}return[jr,Qr]},[qn,wt,An,vt,Sn,Gt],function(hr,ui){if(Tn){var jr=(0,Je.Z)(hr,2),Qr=jr[1],Or=(0,Je.Z)(ui,2),Dr=Or[1];return Tn(Dr,Qr)}return or.renderWithProps?!0:!(0,Ue.Z)(hr,ui,!0)});return Cr}function Qt(wt,vt,Gt,An){var Sn=wt+vt-1;return wt<=An&&Sn>=Gt}function pn(wt,vt){return oe(et,function(Gt){var An=Qt(wt,vt||1,Gt.hoverStartRow,Gt.hoverEndRow);return[An,Gt.onHover]})}var Ot=ae(70425),vn=function(vt){var Gt=vt.ellipsis,An=vt.rowType,Sn=vt.children,Tn,or=Gt===!0?{showTitle:!0}:Gt;return or&&(or.showTitle||An==="header")&&(typeof Sn=="string"||typeof Sn=="number"?Tn=Sn.toString():x.isValidElement(Sn)&&typeof Sn.props.children=="string"&&(Tn=Sn.props.children)),Tn};function _t(wt){var vt,Gt,An,Sn,Tn,or,qn,Cr,hr=wt.component,ui=wt.children,jr=wt.ellipsis,Qr=wt.scope,Or=wt.prefixCls,Dr=wt.className,$i=wt.align,bi=wt.record,qi=wt.render,so=wt.dataIndex,Ji=wt.renderIndex,po=wt.shouldCellUpdate,Eo=wt.index,Ro=wt.rowType,_o=wt.colSpan,La=wt.rowSpan,sa=wt.fixLeft,ea=wt.fixRight,Ho=wt.firstFixLeft,jo=wt.lastFixLeft,Qo=wt.firstFixRight,yo=wt.lastFixRight,ho=wt.appendNode,To=wt.additionalProps,Zo=To===void 0?{}:To,na=wt.isSticky,Bo="".concat(Or,"-cell"),Ja=oe(et,["supportSticky","allColumnsFixedLeft","rowHoverable"]),za=Ja.supportSticky,Dl=Ja.allColumnsFixedLeft,xl=Ja.rowHoverable,ol=Nt(bi,so,Ji,ui,qi,po),lo=(0,Je.Z)(ol,2),Yl=lo[0],os=lo[1],rs={},il=typeof sa=="number"&&za,cu=typeof ea=="number"&&za;il&&(rs.position="sticky",rs.left=sa),cu&&(rs.position="sticky",rs.right=ea);var ra=(vt=(Gt=(An=os==null?void 0:os.colSpan)!==null&&An!==void 0?An:Zo.colSpan)!==null&&Gt!==void 0?Gt:_o)!==null&&vt!==void 0?vt:1,xa=(Sn=(Tn=(or=os==null?void 0:os.rowSpan)!==null&&or!==void 0?or:Zo.rowSpan)!==null&&Tn!==void 0?Tn:La)!==null&&Sn!==void 0?Sn:1,Wo=pn(Eo,xa),Oo=(0,Je.Z)(Wo,2),As=Oo[0],Es=Oo[1],Vs=(0,Ot.zX)(function(qs){var Xs;bi&&Es(Eo,Eo+xa-1),Zo==null||(Xs=Zo.onMouseEnter)===null||Xs===void 0||Xs.call(Zo,qs)}),Zs=(0,Ot.zX)(function(qs){var Xs;bi&&Es(-1,-1),Zo==null||(Xs=Zo.onMouseLeave)===null||Xs===void 0||Xs.call(Zo,qs)});if(ra===0||xa===0)return null;var al=(qn=Zo.title)!==null&&qn!==void 0?qn:vn({rowType:Ro,ellipsis:jr,children:Yl}),hu=Ne()(Bo,Dr,(Cr={},(0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)(Cr,"".concat(Bo,"-fix-left"),il&&za),"".concat(Bo,"-fix-left-first"),Ho&&za),"".concat(Bo,"-fix-left-last"),jo&&za),"".concat(Bo,"-fix-left-all"),jo&&Dl&&za),"".concat(Bo,"-fix-right"),cu&&za),"".concat(Bo,"-fix-right-first"),Qo&&za),"".concat(Bo,"-fix-right-last"),yo&&za),"".concat(Bo,"-ellipsis"),jr),"".concat(Bo,"-with-append"),ho),"".concat(Bo,"-fix-sticky"),(il||cu)&&na&&za),(0,je.Z)(Cr,"".concat(Bo,"-row-hover"),!os&&As)),Zo.className,os==null?void 0:os.className),la={};$i&&(la.textAlign=$i);var qo=(0,bt.Z)((0,bt.Z)((0,bt.Z)((0,bt.Z)({},os==null?void 0:os.style),rs),la),Zo.style),bs=Yl;return(0,ft.Z)(bs)==="object"&&!Array.isArray(bs)&&!x.isValidElement(bs)&&(bs=null),jr&&(jo||Qo)&&(bs=x.createElement("span",{className:"".concat(Bo,"-content")},bs)),x.createElement(hr,(0,Oe.Z)({},os,Zo,{className:hu,style:qo,title:al,scope:Qr,onMouseEnter:xl?Vs:void 0,onMouseLeave:xl?Zs:void 0,colSpan:ra!==1?ra:null,rowSpan:xa!==1?xa:null}),ho,bs)}var Fn=x.memo(_t);function on(wt,vt,Gt,An,Sn){var Tn=Gt[wt]||{},or=Gt[vt]||{},qn,Cr;Tn.fixed==="left"?qn=An.left[Sn==="rtl"?vt:wt]:or.fixed==="right"&&(Cr=An.right[Sn==="rtl"?wt:vt]);var hr=!1,ui=!1,jr=!1,Qr=!1,Or=Gt[vt+1],Dr=Gt[wt-1],$i=Or&&!Or.fixed||Dr&&!Dr.fixed||Gt.every(function(po){return po.fixed==="left"});if(Sn==="rtl"){if(qn!==void 0){var bi=Dr&&Dr.fixed==="left";Qr=!bi&&$i}else if(Cr!==void 0){var qi=Or&&Or.fixed==="right";jr=!qi&&$i}}else if(qn!==void 0){var so=Or&&Or.fixed==="left";hr=!so&&$i}else if(Cr!==void 0){var Ji=Dr&&Dr.fixed==="right";ui=!Ji&&$i}return{fixLeft:qn,fixRight:Cr,lastFixLeft:hr,firstFixRight:ui,lastFixRight:jr,firstFixLeft:Qr,isSticky:An.isSticky}}var de=x.createContext({}),ge=de;function ie(wt){var vt=wt.className,Gt=wt.index,An=wt.children,Sn=wt.colSpan,Tn=Sn===void 0?1:Sn,or=wt.rowSpan,qn=wt.align,Cr=oe(et,["prefixCls","direction"]),hr=Cr.prefixCls,ui=Cr.direction,jr=x.useContext(ge),Qr=jr.scrollColumnIndex,Or=jr.stickyOffsets,Dr=jr.flattenColumns,$i=Gt+Tn-1,bi=$i+1===Qr?Tn+1:Tn,qi=on(Gt,Gt+bi-1,Dr,Or,ui);return x.createElement(Fn,(0,Oe.Z)({className:vt,index:Gt,component:"td",prefixCls:hr,record:null,dataIndex:null,align:qn,colSpan:bi,rowSpan:or,render:function(){return An}},qi))}var ee=ae(75931),le=["children"];function se(wt){var vt=wt.children,Gt=(0,ee.Z)(wt,le);return x.createElement("tr",Gt,vt)}function Be(wt){var vt=wt.children;return vt}Be.Row=se,Be.Cell=ie;var $e=Be;function at(wt){var vt=wt.children,Gt=wt.stickyOffsets,An=wt.flattenColumns,Sn=oe(et,"prefixCls"),Tn=An.length-1,or=An[Tn],qn=x.useMemo(function(){return{stickyOffsets:Gt,flattenColumns:An,scrollColumnIndex:or!=null&&or.scrollbar?Tn:null}},[or,An,Tn,Gt]);return x.createElement(ge.Provider,{value:qn},x.createElement("tfoot",{className:"".concat(Sn,"-summary")},vt))}var pt=ze(at),gt=$e,Bt=ae(29301),Lt=ae(3465),Rt=ae(75152),Ct=ae(26112);function st(wt,vt,Gt,An,Sn,Tn,or){wt.push({record:vt,indent:Gt,index:or});var qn=Tn(vt),Cr=Sn==null?void 0:Sn.has(qn);if(vt&&Array.isArray(vt[An])&&Cr)for(var hr=0;hr<vt[An].length;hr+=1)st(wt,vt[An][hr],Gt+1,An,Sn,Tn,hr)}function $t(wt,vt,Gt,An){var Sn=x.useMemo(function(){if(Gt!=null&&Gt.size){for(var Tn=[],or=0;or<(wt==null?void 0:wt.length);or+=1){var qn=wt[or];st(Tn,qn,0,vt,Gt,An,or)}return Tn}return wt==null?void 0:wt.map(function(Cr,hr){return{record:Cr,indent:0,index:hr}})},[wt,vt,Gt,An]);return Sn}function Vt(wt,vt,Gt,An){var Sn=oe(et,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Tn=Sn.flattenColumns,or=Sn.expandableType,qn=Sn.expandedKeys,Cr=Sn.childrenColumnName,hr=Sn.onTriggerExpand,ui=Sn.rowExpandable,jr=Sn.onRow,Qr=Sn.expandRowByClick,Or=Sn.rowClassName,Dr=or==="nest",$i=or==="row"&&(!ui||ui(wt)),bi=$i||Dr,qi=qn&&qn.has(vt),so=Cr&&wt&&wt[Cr],Ji=(0,Ot.zX)(hr),po=jr==null?void 0:jr(wt,Gt),Eo=po==null?void 0:po.onClick,Ro=function(ea){Qr&&bi&&hr(wt,ea);for(var Ho=arguments.length,jo=new Array(Ho>1?Ho-1:0),Qo=1;Qo<Ho;Qo++)jo[Qo-1]=arguments[Qo];Eo==null||Eo.apply(void 0,[ea].concat(jo))},_o;typeof Or=="string"?_o=Or:typeof Or=="function"&&(_o=Or(wt,Gt,An));var La=At(Tn);return(0,bt.Z)((0,bt.Z)({},Sn),{},{columnsKey:La,nestExpandable:Dr,expanded:qi,hasNestChildren:so,record:wt,onTriggerExpand:Ji,rowSupportExpand:$i,expandable:bi,rowProps:(0,bt.Z)((0,bt.Z)({},po),{},{className:Ne()(_o,po==null?void 0:po.className),onClick:Ro})})}function bn(wt){var vt=wt.prefixCls,Gt=wt.children,An=wt.component,Sn=wt.cellComponent,Tn=wt.className,or=wt.expanded,qn=wt.colSpan,Cr=wt.isEmpty,hr=oe(et,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),ui=hr.scrollbarSize,jr=hr.fixHeader,Qr=hr.fixColumn,Or=hr.componentWidth,Dr=hr.horizonScroll,$i=Gt;return(Cr?Dr&&Or:Qr)&&($i=x.createElement("div",{style:{width:Or-(jr&&!Cr?ui:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(vt,"-expanded-row-fixed")},$i)),x.createElement(An,{className:Tn,style:{display:or?null:"none"}},x.createElement(Fn,{component:Sn,prefixCls:vt,colSpan:qn},$i))}var an=bn;function en(wt){var vt=wt.prefixCls,Gt=wt.record,An=wt.onExpand,Sn=wt.expanded,Tn=wt.expandable,or="".concat(vt,"-row-expand-icon");if(!Tn)return x.createElement("span",{className:Ne()(or,"".concat(vt,"-row-spaced"))});var qn=function(hr){An(Gt,hr),hr.stopPropagation()};return x.createElement("span",{className:Ne()(or,(0,je.Z)((0,je.Z)({},"".concat(vt,"-row-expanded"),Sn),"".concat(vt,"-row-collapsed"),!Sn)),onClick:qn})}function Hn(wt,vt,Gt){var An=[];function Sn(Tn){(Tn||[]).forEach(function(or,qn){An.push(vt(or,qn)),Sn(or[Gt])})}return Sn(wt),An}function En(wt,vt,Gt,An){return typeof wt=="string"?wt:typeof wt=="function"?wt(vt,Gt,An):""}function Mt(wt,vt,Gt,An,Sn){var Tn=wt.record,or=wt.prefixCls,qn=wt.columnsKey,Cr=wt.fixedInfoList,hr=wt.expandIconColumnIndex,ui=wt.nestExpandable,jr=wt.indentSize,Qr=wt.expandIcon,Or=wt.expanded,Dr=wt.hasNestChildren,$i=wt.onTriggerExpand,bi=qn[Gt],qi=Cr[Gt],so;Gt===(hr||0)&&ui&&(so=x.createElement(x.Fragment,null,x.createElement("span",{style:{paddingLeft:"".concat(jr*An,"px")},className:"".concat(or,"-row-indent indent-level-").concat(An)}),Qr({prefixCls:or,expanded:Or,expandable:Dr,record:Tn,onExpand:$i})));var Ji;return vt.onCell&&(Ji=vt.onCell(Tn,Sn)),{key:bi,fixedInfo:qi,appendCellNode:so,additionalCellProps:Ji||{}}}function sn(wt){var vt=wt.className,Gt=wt.style,An=wt.record,Sn=wt.index,Tn=wt.renderIndex,or=wt.rowKey,qn=wt.indent,Cr=qn===void 0?0:qn,hr=wt.rowComponent,ui=wt.cellComponent,jr=wt.scopeCellComponent,Qr=Vt(An,or,Sn,Cr),Or=Qr.prefixCls,Dr=Qr.flattenColumns,$i=Qr.expandedRowClassName,bi=Qr.expandedRowRender,qi=Qr.rowProps,so=Qr.expanded,Ji=Qr.rowSupportExpand,po=x.useRef(!1);po.current||(po.current=so);var Eo=En($i,An,Sn,Cr),Ro=x.createElement(hr,(0,Oe.Z)({},qi,{"data-row-key":or,className:Ne()(vt,"".concat(Or,"-row"),"".concat(Or,"-row-level-").concat(Cr),qi==null?void 0:qi.className,(0,je.Z)({},Eo,Cr>=1)),style:(0,bt.Z)((0,bt.Z)({},Gt),qi==null?void 0:qi.style)}),Dr.map(function(sa,ea){var Ho=sa.render,jo=sa.dataIndex,Qo=sa.className,yo=Mt(Qr,sa,ea,Cr,Sn),ho=yo.key,To=yo.fixedInfo,Zo=yo.appendCellNode,na=yo.additionalCellProps;return x.createElement(Fn,(0,Oe.Z)({className:Qo,ellipsis:sa.ellipsis,align:sa.align,scope:sa.rowScope,component:sa.rowScope?jr:ui,prefixCls:Or,key:ho,record:An,index:Sn,renderIndex:Tn,dataIndex:jo,render:Ho,shouldCellUpdate:sa.shouldCellUpdate},To,{appendNode:Zo,additionalProps:na}))})),_o;if(Ji&&(po.current||so)){var La=bi(An,Sn,Cr+1,so);_o=x.createElement(an,{expanded:so,className:Ne()("".concat(Or,"-expanded-row"),"".concat(Or,"-expanded-row-level-").concat(Cr+1),Eo),prefixCls:Or,component:hr,cellComponent:ui,colSpan:Dr.length,isEmpty:!1},La)}return x.createElement(x.Fragment,null,Ro,_o)}var Dn=ze(sn);function Wn(wt){var vt=wt.columnKey,Gt=wt.onColumnResize,An=x.useRef();return(0,Se.Z)(function(){An.current&&Gt(vt,An.current.offsetWidth)},[]),x.createElement(Bt.Z,{data:vt},x.createElement("td",{ref:An,style:{padding:0,border:0,height:0}},x.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var It=ae(29194);function Wt(wt){var vt=wt.prefixCls,Gt=wt.columnsKey,An=wt.onColumnResize,Sn=x.useRef(null);return x.createElement("tr",{"aria-hidden":"true",className:"".concat(vt,"-measure-row"),style:{height:0,fontSize:0},ref:Sn},x.createElement(Bt.Z.Collection,{onBatchResize:function(or){(0,It.Z)(Sn.current)&&or.forEach(function(qn){var Cr=qn.data,hr=qn.size;An(Cr,hr.offsetWidth)})}},Gt.map(function(Tn){return x.createElement(Wn,{key:Tn,columnKey:Tn,onColumnResize:An})})))}function rn(wt){var vt=wt.data,Gt=wt.measureColumnWidth,An=oe(et,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Sn=An.prefixCls,Tn=An.getComponent,or=An.onColumnResize,qn=An.flattenColumns,Cr=An.getRowKey,hr=An.expandedKeys,ui=An.childrenColumnName,jr=An.emptyNode,Qr=$t(vt,ui,hr,Cr),Or=x.useRef({renderWithProps:!1}),Dr=Tn(["body","wrapper"],"tbody"),$i=Tn(["body","row"],"tr"),bi=Tn(["body","cell"],"td"),qi=Tn(["body","cell"],"th"),so;vt.length?so=Qr.map(function(po,Eo){var Ro=po.record,_o=po.indent,La=po.index,sa=Cr(Ro,Eo);return x.createElement(Dn,{key:sa,rowKey:sa,record:Ro,index:Eo,renderIndex:La,rowComponent:$i,cellComponent:bi,scopeCellComponent:qi,indent:_o})}):so=x.createElement(an,{expanded:!0,className:"".concat(Sn,"-placeholder"),prefixCls:Sn,component:$i,cellComponent:bi,colSpan:qn.length,isEmpty:!0},jr);var Ji=At(qn);return x.createElement(Ft.Provider,{value:Or.current},x.createElement(Dr,{className:"".concat(Sn,"-tbody")},Gt&&x.createElement(Wt,{prefixCls:Sn,columnsKey:Ji,onColumnResize:or}),so))}var mn=ze(rn),Xn=["expandable"],Fr="RC_TABLE_INTERNAL_COL_DEFINE";function ri(wt){var vt=wt.expandable,Gt=(0,ee.Z)(wt,Xn),An;return"expandable"in wt?An=(0,bt.Z)((0,bt.Z)({},Gt),vt):An=Gt,An.showExpandColumn===!1&&(An.expandIconColumnIndex=-1),An}var Hr=["columnType"];function Ir(wt){for(var vt=wt.colWidths,Gt=wt.columns,An=wt.columCount,Sn=oe(et,["tableLayout"]),Tn=Sn.tableLayout,or=[],qn=An||Gt.length,Cr=!1,hr=qn-1;hr>=0;hr-=1){var ui=vt[hr],jr=Gt&&Gt[hr],Qr=void 0,Or=void 0;if(jr&&(Qr=jr[Fr],Tn==="auto"&&(Or=jr.minWidth)),ui||Or||Qr||Cr){var Dr=Qr||{},$i=Dr.columnType,bi=(0,ee.Z)(Dr,Hr);or.unshift(x.createElement("col",(0,Oe.Z)({key:hr,style:{width:ui,minWidth:Or}},bi))),Cr=!0}}return x.createElement("colgroup",null,or)}var er=Ir,vr=ae(94480),Mr=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Yn(wt,vt){return(0,x.useMemo)(function(){for(var Gt=[],An=0;An<vt;An+=1){var Sn=wt[An];if(Sn!==void 0)Gt[An]=Sn;else return null}return Gt},[wt.join("_"),vt])}var sr=x.forwardRef(function(wt,vt){var Gt=wt.className,An=wt.noData,Sn=wt.columns,Tn=wt.flattenColumns,or=wt.colWidths,qn=wt.columCount,Cr=wt.stickyOffsets,hr=wt.direction,ui=wt.fixHeader,jr=wt.stickyTopOffset,Qr=wt.stickyBottomOffset,Or=wt.stickyClassName,Dr=wt.onScroll,$i=wt.maxContentScroll,bi=wt.children,qi=(0,ee.Z)(wt,Mr),so=oe(et,["prefixCls","scrollbarSize","isSticky","getComponent"]),Ji=so.prefixCls,po=so.scrollbarSize,Eo=so.isSticky,Ro=so.getComponent,_o=Ro(["header","table"],"table"),La=Eo&&!ui?0:po,sa=x.useRef(null),ea=x.useCallback(function(na){(0,ve.mH)(vt,na),(0,ve.mH)(sa,na)},[]);x.useEffect(function(){var na;function Bo(Ja){var za=Ja,Dl=za.currentTarget,xl=za.deltaX;xl&&(Dr({currentTarget:Dl,scrollLeft:Dl.scrollLeft+xl}),Ja.preventDefault())}return(na=sa.current)===null||na===void 0||na.addEventListener("wheel",Bo,{passive:!1}),function(){var Ja;(Ja=sa.current)===null||Ja===void 0||Ja.removeEventListener("wheel",Bo)}},[]);var Ho=x.useMemo(function(){return Tn.every(function(na){return na.width})},[Tn]),jo=Tn[Tn.length-1],Qo={fixed:jo?jo.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Ji,"-cell-scrollbar")}}},yo=(0,x.useMemo)(function(){return La?[].concat((0,vr.Z)(Sn),[Qo]):Sn},[La,Sn]),ho=(0,x.useMemo)(function(){return La?[].concat((0,vr.Z)(Tn),[Qo]):Tn},[La,Tn]),To=(0,x.useMemo)(function(){var na=Cr.right,Bo=Cr.left;return(0,bt.Z)((0,bt.Z)({},Cr),{},{left:hr==="rtl"?[].concat((0,vr.Z)(Bo.map(function(Ja){return Ja+La})),[0]):Bo,right:hr==="rtl"?na:[].concat((0,vr.Z)(na.map(function(Ja){return Ja+La})),[0]),isSticky:Eo})},[La,Cr,Eo]),Zo=Yn(or,qn);return x.createElement("div",{style:(0,bt.Z)({overflow:"hidden"},Eo?{top:jr,bottom:Qr}:{}),ref:ea,className:Ne()(Gt,(0,je.Z)({},Or,!!Or))},x.createElement(_o,{style:{tableLayout:"fixed",visibility:An||Zo?null:"hidden"}},(!An||!$i||Ho)&&x.createElement(er,{colWidths:Zo?[].concat((0,vr.Z)(Zo),[La]):[],columCount:qn+1,columns:ho}),bi((0,bt.Z)((0,bt.Z)({},qi),{},{stickyOffsets:To,columns:yo,flattenColumns:ho}))))}),jn=x.memo(sr),ur=function(vt){var Gt=vt.cells,An=vt.stickyOffsets,Sn=vt.flattenColumns,Tn=vt.rowComponent,or=vt.cellComponent,qn=vt.onHeaderRow,Cr=vt.index,hr=oe(et,["prefixCls","direction"]),ui=hr.prefixCls,jr=hr.direction,Qr;qn&&(Qr=qn(Gt.map(function(Dr){return Dr.column}),Cr));var Or=At(Gt.map(function(Dr){return Dr.column}));return x.createElement(Tn,Qr,Gt.map(function(Dr,$i){var bi=Dr.column,qi=on(Dr.colStart,Dr.colEnd,Sn,An,jr),so;return bi&&bi.onHeaderCell&&(so=Dr.column.onHeaderCell(bi)),x.createElement(Fn,(0,Oe.Z)({},Dr,{scope:bi.title?Dr.colSpan>1?"colgroup":"col":null,ellipsis:bi.ellipsis,align:bi.align,component:or,prefixCls:ui,key:Or[$i]},qi,{additionalProps:so,rowType:"header"}))}))},br=ur;function Xr(wt){var vt=[];function Gt(or,qn){var Cr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;vt[Cr]=vt[Cr]||[];var hr=qn,ui=or.filter(Boolean).map(function(jr){var Qr={key:jr.key,className:jr.className||"",children:jr.title,column:jr,colStart:hr},Or=1,Dr=jr.children;return Dr&&Dr.length>0&&(Or=Gt(Dr,hr,Cr+1).reduce(function($i,bi){return $i+bi},0),Qr.hasSubColumns=!0),"colSpan"in jr&&(Or=jr.colSpan),"rowSpan"in jr&&(Qr.rowSpan=jr.rowSpan),Qr.colSpan=Or,Qr.colEnd=Qr.colStart+Or-1,vt[Cr].push(Qr),hr+=Or,Or});return ui}Gt(wt,0);for(var An=vt.length,Sn=function(qn){vt[qn].forEach(function(Cr){!("rowSpan"in Cr)&&!Cr.hasSubColumns&&(Cr.rowSpan=An-qn)})},Tn=0;Tn<An;Tn+=1)Sn(Tn);return vt}var Yr=function(vt){var Gt=vt.stickyOffsets,An=vt.columns,Sn=vt.flattenColumns,Tn=vt.onHeaderRow,or=oe(et,["prefixCls","getComponent"]),qn=or.prefixCls,Cr=or.getComponent,hr=x.useMemo(function(){return Xr(An)},[An]),ui=Cr(["header","wrapper"],"thead"),jr=Cr(["header","row"],"tr"),Qr=Cr(["header","cell"],"th");return x.createElement(ui,{className:"".concat(qn,"-thead")},hr.map(function(Or,Dr){var $i=x.createElement(br,{key:Dr,flattenColumns:Sn,cells:Or,stickyOffsets:Gt,rowComponent:jr,cellComponent:Qr,onHeaderRow:Tn,index:Dr});return $i}))},pi=ze(Yr),ci=ae(11592);function Hi(wt){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof vt=="number"?vt:vt.endsWith("%")?wt*parseFloat(vt)/100:null}function mi(wt,vt,Gt){return x.useMemo(function(){if(vt&&vt>0){var An=0,Sn=0;wt.forEach(function(Qr){var Or=Hi(vt,Qr.width);Or?An+=Or:Sn+=1});var Tn=Math.max(vt,Gt),or=Math.max(Tn-An,Sn),qn=Sn,Cr=or/Sn,hr=0,ui=wt.map(function(Qr){var Or=(0,bt.Z)({},Qr),Dr=Hi(vt,Or.width);if(Dr)Or.width=Dr;else{var $i=Math.floor(Cr);Or.width=qn===1?or:$i,or-=$i,qn-=1}return hr+=Or.width,Or});if(hr<Tn){var jr=Tn/hr;or=Tn,ui.forEach(function(Qr,Or){var Dr=Math.floor(Qr.width*jr);Qr.width=Or===ui.length-1?or:Dr,or-=Dr})}return[ui,Math.max(hr,Tn)]}return[wt,vt]},[wt,vt,Gt])}var no=["children"],Ki=["fixed"];function fr(wt){return(0,ci.Z)(wt).filter(function(vt){return x.isValidElement(vt)}).map(function(vt){var Gt=vt.key,An=vt.props,Sn=An.children,Tn=(0,ee.Z)(An,no),or=(0,bt.Z)({key:Gt},Tn);return Sn&&(or.children=fr(Sn)),or})}function Lr(wt){return wt.filter(function(vt){return vt&&(0,ft.Z)(vt)==="object"&&!vt.hidden}).map(function(vt){var Gt=vt.children;return Gt&&Gt.length>0?(0,bt.Z)((0,bt.Z)({},vt),{},{children:Lr(Gt)}):vt})}function gi(wt){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return wt.filter(function(Gt){return Gt&&(0,ft.Z)(Gt)==="object"}).reduce(function(Gt,An,Sn){var Tn=An.fixed,or=Tn===!0?"left":Tn,qn="".concat(vt,"-").concat(Sn),Cr=An.children;return Cr&&Cr.length>0?[].concat((0,vr.Z)(Gt),(0,vr.Z)(gi(Cr,qn).map(function(hr){return(0,bt.Z)({fixed:or},hr)}))):[].concat((0,vr.Z)(Gt),[(0,bt.Z)((0,bt.Z)({key:qn},An),{},{fixed:or})])},[])}function Xt(wt){return wt.map(function(vt){var Gt=vt.fixed,An=(0,ee.Z)(vt,Ki),Sn=Gt;return Gt==="left"?Sn="right":Gt==="right"&&(Sn="left"),(0,bt.Z)({fixed:Sn},An)})}function ln(wt,vt){var Gt=wt.prefixCls,An=wt.columns,Sn=wt.children,Tn=wt.expandable,or=wt.expandedKeys,qn=wt.columnTitle,Cr=wt.getRowKey,hr=wt.onTriggerExpand,ui=wt.expandIcon,jr=wt.rowExpandable,Qr=wt.expandIconColumnIndex,Or=wt.direction,Dr=wt.expandRowByClick,$i=wt.columnWidth,bi=wt.fixed,qi=wt.scrollWidth,so=wt.clientWidth,Ji=x.useMemo(function(){var jo=An||fr(Sn)||[];return Lr(jo.slice())},[An,Sn]),po=x.useMemo(function(){if(Tn){var jo=Ji.slice();if(!jo.includes(ct)){var Qo=Qr||0;Qo>=0&&(Qo||bi==="left"||!bi)&&jo.splice(Qo,0,ct),bi==="right"&&jo.splice(Ji.length,0,ct)}var yo=jo.indexOf(ct);jo=jo.filter(function(na,Bo){return na!==ct||Bo===yo});var ho=Ji[yo],To;bi?To=bi:To=ho?ho.fixed:null;var Zo=(0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)({},Fr,{className:"".concat(Gt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",qn),"fixed",To),"className","".concat(Gt,"-row-expand-icon-cell")),"width",$i),"render",function(Bo,Ja,za){var Dl=Cr(Ja,za),xl=or.has(Dl),ol=jr?jr(Ja):!0,lo=ui({prefixCls:Gt,expanded:xl,expandable:ol,record:Ja,onExpand:hr});return Dr?x.createElement("span",{onClick:function(os){return os.stopPropagation()}},lo):lo});return jo.map(function(na){return na===ct?Zo:na})}return Ji.filter(function(na){return na!==ct})},[Tn,Ji,Cr,or,ui,Or]),Eo=x.useMemo(function(){var jo=po;return vt&&(jo=vt(jo)),jo.length||(jo=[{render:function(){return null}}]),jo},[vt,po,Or]),Ro=x.useMemo(function(){return Or==="rtl"?Xt(gi(Eo)):gi(Eo)},[Eo,Or,qi]),_o=x.useMemo(function(){for(var jo=-1,Qo=Ro.length-1;Qo>=0;Qo-=1){var yo=Ro[Qo].fixed;if(yo==="left"||yo===!0){jo=Qo;break}}if(jo>=0)for(var ho=0;ho<=jo;ho+=1){var To=Ro[ho].fixed;if(To!=="left"&&To!==!0)return!0}var Zo=Ro.findIndex(function(Ja){var za=Ja.fixed;return za==="right"});if(Zo>=0)for(var na=Zo;na<Ro.length;na+=1){var Bo=Ro[na].fixed;if(Bo!=="right")return!0}return!1},[Ro]),La=mi(Ro,qi,so),sa=(0,Je.Z)(La,2),ea=sa[0],Ho=sa[1];return[Eo,ea,Ho,_o]}var yn=ln;function kt(wt,vt,Gt){var An=ri(wt),Sn=An.expandIcon,Tn=An.expandedRowKeys,or=An.defaultExpandedRowKeys,qn=An.defaultExpandAllRows,Cr=An.expandedRowRender,hr=An.onExpand,ui=An.onExpandedRowsChange,jr=An.childrenColumnName,Qr=Sn||en,Or=jr||"children",Dr=x.useMemo(function(){return Cr?"row":wt.expandable&&wt.internalHooks===Le&&wt.expandable.__PARENT_RENDER_ICON__||vt.some(function(Eo){return Eo&&(0,ft.Z)(Eo)==="object"&&Eo[Or]})?"nest":!1},[!!Cr,vt]),$i=x.useState(function(){return or||(qn?Hn(vt,Gt,Or):[])}),bi=(0,Je.Z)($i,2),qi=bi[0],so=bi[1],Ji=x.useMemo(function(){return new Set(Tn||qi||[])},[Tn,qi]),po=x.useCallback(function(Eo){var Ro=Gt(Eo,vt.indexOf(Eo)),_o,La=Ji.has(Ro);La?(Ji.delete(Ro),_o=(0,vr.Z)(Ji)):_o=[].concat((0,vr.Z)(Ji),[Ro]),so(_o),hr&&hr(!La,Eo),ui&&ui(_o)},[Gt,Ji,vt,hr,ui]);return[An,Dr,Ji,Qr,Or,po]}function dn(wt,vt,Gt){var An=wt.map(function(Sn,Tn){return on(Tn,Tn,wt,vt,Gt)});return(0,We.Z)(function(){return An},[An],function(Sn,Tn){return!(0,Ue.Z)(Sn,Tn)})}function zt(wt){var vt=(0,x.useRef)(wt),Gt=(0,x.useState)({}),An=(0,Je.Z)(Gt,2),Sn=An[1],Tn=(0,x.useRef)(null),or=(0,x.useRef)([]);function qn(Cr){or.current.push(Cr);var hr=Promise.resolve();Tn.current=hr,hr.then(function(){if(Tn.current===hr){var ui=or.current,jr=vt.current;or.current=[],ui.forEach(function(Qr){vt.current=Qr(vt.current)}),Tn.current=null,jr!==vt.current&&Sn({})}})}return(0,x.useEffect)(function(){return function(){Tn.current=null}},[]),[vt.current,qn]}function hn(wt){var vt=(0,x.useRef)(wt||null),Gt=(0,x.useRef)();function An(){window.clearTimeout(Gt.current)}function Sn(or){vt.current=or,An(),Gt.current=window.setTimeout(function(){vt.current=null,Gt.current=void 0},100)}function Tn(){return vt.current}return(0,x.useEffect)(function(){return An},[]),[Sn,Tn]}function Pn(){var wt=x.useState(-1),vt=(0,Je.Z)(wt,2),Gt=vt[0],An=vt[1],Sn=x.useState(-1),Tn=(0,Je.Z)(Sn,2),or=Tn[0],qn=Tn[1],Cr=x.useCallback(function(hr,ui){An(hr),qn(ui)},[]);return[Gt,or,Cr]}var _r=ae(47273),Jr=(0,_r.Z)()?window:null;function di(wt,vt){var Gt=(0,ft.Z)(wt)==="object"?wt:{},An=Gt.offsetHeader,Sn=An===void 0?0:An,Tn=Gt.offsetSummary,or=Tn===void 0?0:Tn,qn=Gt.offsetScroll,Cr=qn===void 0?0:qn,hr=Gt.getContainer,ui=hr===void 0?function(){return Jr}:hr,jr=ui()||Jr,Qr=!!wt;return x.useMemo(function(){return{isSticky:Qr,stickyClassName:Qr?"".concat(vt,"-sticky-holder"):"",offsetHeader:Sn,offsetSummary:or,offsetScroll:Cr,container:jr}},[Qr,Cr,Sn,or,vt,jr])}function ir(wt,vt,Gt){var An=(0,x.useMemo)(function(){var Sn=vt.length,Tn=function(hr,ui,jr){for(var Qr=[],Or=0,Dr=hr;Dr!==ui;Dr+=jr)Qr.push(Or),vt[Dr].fixed&&(Or+=wt[Dr]||0);return Qr},or=Tn(0,Sn,1),qn=Tn(Sn-1,-1,-1).reverse();return Gt==="rtl"?{left:qn,right:or}:{left:or,right:qn}},[wt,vt,Gt]);return An}var Ar=ir;function ar(wt){var vt=wt.className,Gt=wt.children;return x.createElement("div",{className:vt},Gt)}var ei=ar,tr=ae(8224),Un=ae(16089),cr=ae(76846);function Bi(wt){var vt=(0,cr.bn)(wt),Gt=vt.getBoundingClientRect(),An=document.documentElement;return{left:Gt.left+(window.pageXOffset||An.scrollLeft)-(An.clientLeft||document.body.clientLeft||0),top:Gt.top+(window.pageYOffset||An.scrollTop)-(An.clientTop||document.body.clientTop||0)}}var zn=function(vt,Gt){var An,Sn,Tn=vt.scrollBodyRef,or=vt.onScroll,qn=vt.offsetScroll,Cr=vt.container,hr=vt.direction,ui=oe(et,"prefixCls"),jr=((An=Tn.current)===null||An===void 0?void 0:An.scrollWidth)||0,Qr=((Sn=Tn.current)===null||Sn===void 0?void 0:Sn.clientWidth)||0,Or=jr&&Qr*(Qr/jr),Dr=x.useRef(),$i=zt({scrollLeft:0,isHiddenScrollBar:!0}),bi=(0,Je.Z)($i,2),qi=bi[0],so=bi[1],Ji=x.useRef({delta:0,x:0}),po=x.useState(!1),Eo=(0,Je.Z)(po,2),Ro=Eo[0],_o=Eo[1],La=x.useRef(null);x.useEffect(function(){return function(){Un.Z.cancel(La.current)}},[]);var sa=function(){_o(!1)},ea=function(ho){ho.persist(),Ji.current.delta=ho.pageX-qi.scrollLeft,Ji.current.x=0,_o(!0),ho.preventDefault()},Ho=function(ho){var To,Zo=ho||((To=window)===null||To===void 0?void 0:To.event),na=Zo.buttons;if(!Ro||na===0){Ro&&_o(!1);return}var Bo=Ji.current.x+ho.pageX-Ji.current.x-Ji.current.delta,Ja=hr==="rtl";Bo=Math.max(Ja?Or-Qr:0,Math.min(Ja?0:Qr-Or,Bo));var za=!Ja||Math.abs(Bo)+Math.abs(Or)<Qr;za&&(or({scrollLeft:Bo/Qr*(jr+2)}),Ji.current.x=ho.pageX)},jo=function(){Un.Z.cancel(La.current),La.current=(0,Un.Z)(function(){if(Tn.current){var ho=Bi(Tn.current).top,To=ho+Tn.current.offsetHeight,Zo=Cr===window?document.documentElement.scrollTop+window.innerHeight:Bi(Cr).top+Cr.clientHeight;To-(0,Rt.Z)()<=Zo||ho>=Zo-qn?so(function(na){return(0,bt.Z)((0,bt.Z)({},na),{},{isHiddenScrollBar:!0})}):so(function(na){return(0,bt.Z)((0,bt.Z)({},na),{},{isHiddenScrollBar:!1})})}})},Qo=function(ho){so(function(To){return(0,bt.Z)((0,bt.Z)({},To),{},{scrollLeft:ho/jr*Qr||0})})};return x.useImperativeHandle(Gt,function(){return{setScrollLeft:Qo,checkScrollBarVisible:jo}}),x.useEffect(function(){var yo=(0,tr.Z)(document.body,"mouseup",sa,!1),ho=(0,tr.Z)(document.body,"mousemove",Ho,!1);return jo(),function(){yo.remove(),ho.remove()}},[Or,Ro]),x.useEffect(function(){if(Tn.current){for(var yo=[],ho=(0,cr.bn)(Tn.current);ho;)yo.push(ho),ho=ho.parentElement;return yo.forEach(function(To){return To.addEventListener("scroll",jo,!1)}),window.addEventListener("resize",jo,!1),window.addEventListener("scroll",jo,!1),Cr.addEventListener("scroll",jo,!1),function(){yo.forEach(function(To){return To.removeEventListener("scroll",jo)}),window.removeEventListener("resize",jo),window.removeEventListener("scroll",jo),Cr.removeEventListener("scroll",jo)}}},[Cr]),x.useEffect(function(){qi.isHiddenScrollBar||so(function(yo){var ho=Tn.current;return ho?(0,bt.Z)((0,bt.Z)({},yo),{},{scrollLeft:ho.scrollLeft/ho.scrollWidth*ho.clientWidth}):yo})},[qi.isHiddenScrollBar]),jr<=Qr||!Or||qi.isHiddenScrollBar?null:x.createElement("div",{style:{height:(0,Rt.Z)(),width:Qr,bottom:qn},className:"".concat(ui,"-sticky-scroll")},x.createElement("div",{onMouseDown:ea,ref:Dr,className:Ne()("".concat(ui,"-sticky-scroll-bar"),(0,je.Z)({},"".concat(ui,"-sticky-scroll-bar-active"),Ro)),style:{width:"".concat(Or,"px"),transform:"translate3d(".concat(qi.scrollLeft,"px, 0, 0)")}}))},gn=x.forwardRef(zn);function $n(wt){return null}var nr=$n;function pr(wt){return null}var Zr=pr,Ni="rc-table",fi=[],Li={};function vi(){return"No Data"}function Ei(wt,vt){var Gt=(0,bt.Z)({rowKey:"key",prefixCls:Ni,emptyText:vi},wt),An=Gt.prefixCls,Sn=Gt.className,Tn=Gt.rowClassName,or=Gt.style,qn=Gt.data,Cr=Gt.rowKey,hr=Gt.scroll,ui=Gt.tableLayout,jr=Gt.direction,Qr=Gt.title,Or=Gt.footer,Dr=Gt.summary,$i=Gt.caption,bi=Gt.id,qi=Gt.showHeader,so=Gt.components,Ji=Gt.emptyText,po=Gt.onRow,Eo=Gt.onHeaderRow,Ro=Gt.onScroll,_o=Gt.internalHooks,La=Gt.transformColumns,sa=Gt.internalRefs,ea=Gt.tailor,Ho=Gt.getContainerWidth,jo=Gt.sticky,Qo=Gt.rowHoverable,yo=Qo===void 0?!0:Qo,ho=qn||fi,To=!!ho.length,Zo=_o===Le,na=x.useCallback(function(ds,Is){return(0,Ut.Z)(so,ds)||Is},[so]),Bo=x.useMemo(function(){return typeof Cr=="function"?Cr:function(ds){var Is=ds&&ds[Cr];return Is}},[Cr]),Ja=na(["body"]),za=Pn(),Dl=(0,Je.Z)(za,3),xl=Dl[0],ol=Dl[1],lo=Dl[2],Yl=kt(Gt,ho,Bo),os=(0,Je.Z)(Yl,6),rs=os[0],il=os[1],cu=os[2],ra=os[3],xa=os[4],Wo=os[5],Oo=hr==null?void 0:hr.x,As=x.useState(0),Es=(0,Je.Z)(As,2),Vs=Es[0],Zs=Es[1],al=yn((0,bt.Z)((0,bt.Z)((0,bt.Z)({},Gt),rs),{},{expandable:!!rs.expandedRowRender,columnTitle:rs.columnTitle,expandedKeys:cu,getRowKey:Bo,onTriggerExpand:Wo,expandIcon:ra,expandIconColumnIndex:rs.expandIconColumnIndex,direction:jr,scrollWidth:Zo&&ea&&typeof Oo=="number"?Oo:null,clientWidth:Vs}),Zo?La:null),hu=(0,Je.Z)(al,4),la=hu[0],qo=hu[1],bs=hu[2],qs=hu[3],Xs=bs!=null?bs:Oo,pu=x.useMemo(function(){return{columns:la,flattenColumns:qo}},[la,qo]),Nl=x.useRef(),aA=x.useRef(),Bl=x.useRef(),gs=x.useRef();x.useImperativeHandle(vt,function(){return{nativeElement:Nl.current,scrollTo:function(Is){var mu;if(Bl.current instanceof HTMLElement){var Hu=Is.index,zu=Is.top,dd=Is.key;if(Kt(zu)){var Vc;(Vc=Bl.current)===null||Vc===void 0||Vc.scrollTo({top:zu})}else{var Uc,fd=dd!=null?dd:Bo(ho[Hu]);(Uc=Bl.current.querySelector('[data-row-key="'.concat(fd,'"]')))===null||Uc===void 0||Uc.scrollIntoView()}}else(mu=Bl.current)!==null&&mu!==void 0&&mu.scrollTo&&Bl.current.scrollTo(Is)}}});var sl=x.useRef(),ll=x.useState(!1),du=(0,Je.Z)(ll,2),Ol=du[0],ms=du[1],gl=x.useState(!1),Ss=(0,Je.Z)(gl,2),ml=Ss[0],Jl=Ss[1],Pu=x.useState(new Map),_u=(0,Je.Z)(Pu,2),VA=_u[0],ul=_u[1],Nd=At(qo),Ru=Nd.map(function(ds){return VA.get(ds)}),Gu=x.useMemo(function(){return Ru},[Ru.join("_")]),ju=Ar(Gu,qo,jr),Vu=hr&&Zt(hr.y),Al=hr&&Zt(Xs)||!!rs.fixed,vA=Al&&qo.some(function(ds){var Is=ds.fixed;return Is}),bc=x.useRef(),MA=di(jo,An),XA=MA.isSticky,qd=MA.offsetHeader,ef=MA.offsetSummary,Fs=MA.offsetScroll,ud=MA.stickyClassName,Ef=MA.container,Ka=x.useMemo(function(){return Dr==null?void 0:Dr(ho)},[Dr,ho]),cs=(Vu||XA)&&x.isValidElement(Ka)&&Ka.type===$e&&Ka.props.fixed,kl,ou,Bu;Vu&&(ou={overflowY:To?"scroll":"auto",maxHeight:hr.y}),Al&&(kl={overflowX:"auto"},Vu||(ou={overflowY:"hidden"}),Bu={width:Xs===!0?"auto":Xs,minWidth:"100%"});var Eu=x.useCallback(function(ds,Is){ul(function(mu){if(mu.get(ds)!==Is){var Hu=new Map(mu);return Hu.set(ds,Is),Hu}return mu})},[]),Xu=hn(null),Qu=(0,Je.Z)(Xu,2),Zc=Qu[0],Sf=Qu[1];function Wc(ds,Is){Is&&(typeof Is=="function"?Is(ds):Is.scrollLeft!==ds&&(Is.scrollLeft=ds,Is.scrollLeft!==ds&&setTimeout(function(){Is.scrollLeft=ds},0)))}var $c=(0,He.Z)(function(ds){var Is=ds.currentTarget,mu=ds.scrollLeft,Hu=jr==="rtl",zu=typeof mu=="number"?mu:Is.scrollLeft,dd=Is||Li;if(!Sf()||Sf()===dd){var Vc;Zc(dd),Wc(zu,aA.current),Wc(zu,Bl.current),Wc(zu,sl.current),Wc(zu,(Vc=bc.current)===null||Vc===void 0?void 0:Vc.setScrollLeft)}var Uc=Is||aA.current;if(Uc){var fd=Zo&&ea&&typeof Xs=="number"?Xs:Uc.scrollWidth,Xc=Uc.clientWidth;if(fd===Xc){ms(!1),Jl(!1);return}Hu?(ms(-zu<fd-Xc),Jl(-zu>0)):(ms(zu>0),Jl(zu<fd-Xc))}}),gu=(0,He.Z)(function(ds){$c(ds),Ro==null||Ro(ds)}),UA=function(){if(Al&&Bl.current){var Is;$c({currentTarget:(0,cr.bn)(Bl.current),scrollLeft:(Is=Bl.current)===null||Is===void 0?void 0:Is.scrollLeft})}else ms(!1),Jl(!1)},tf=function(Is){var mu,Hu=Is.width;(mu=bc.current)===null||mu===void 0||mu.checkScrollBarVisible();var zu=Nl.current?Nl.current.offsetWidth:Hu;Zo&&Ho&&Nl.current&&(zu=Ho(Nl.current,zu)||zu),zu!==Vs&&(UA(),Zs(zu))},Ff=x.useRef(!1);x.useEffect(function(){Ff.current&&UA()},[Al,qn,la.length]),x.useEffect(function(){Ff.current=!0},[]);var nf=x.useState(0),If=(0,Je.Z)(nf,2),Gc=If[0],th=If[1],Ap=x.useState(!0),nh=(0,Je.Z)(Ap,2),rf=nh[0],cp=nh[1];(0,Se.Z)(function(){(!ea||!Zo)&&(Bl.current instanceof Element?th((0,Rt.o)(Bl.current).width):th((0,Rt.o)(gs.current).width)),cp((0,Lt.G)("position","sticky"))},[]),x.useEffect(function(){Zo&&sa&&(sa.body.current=Bl.current)});var dp=x.useCallback(function(ds){return x.createElement(x.Fragment,null,x.createElement(pi,ds),cs==="top"&&x.createElement(pt,ds,Ka))},[cs,Ka]),of=x.useCallback(function(ds){return x.createElement(pt,ds,Ka)},[Ka]),Lf=na(["table"],"table"),Od=x.useMemo(function(){return ui||(vA?Xs==="max-content"?"auto":"fixed":Vu||XA||qo.some(function(ds){var Is=ds.ellipsis;return Is})?"fixed":"auto")},[Vu,vA,qo,ui,XA]),Df,Pd={colWidths:Gu,columCount:qo.length,stickyOffsets:ju,onHeaderRow:Eo,fixHeader:Vu,scroll:hr},af=x.useMemo(function(){return To?null:typeof Ji=="function"?Ji():Ji},[To,Ji]),Cc=x.createElement(mn,{data:ho,measureColumnWidth:Vu||Al||XA}),rh=x.createElement(er,{colWidths:qo.map(function(ds){var Is=ds.width;return Is}),columns:qo}),ih=$i!=null?x.createElement("caption",{className:"".concat(An,"-caption")},$i):void 0,Nh=(0,Ct.Z)(Gt,{data:!0}),Ad=(0,Ct.Z)(Gt,{aria:!0});if(Vu||XA){var xc;typeof Ja=="function"?(xc=Ja(ho,{scrollbarSize:Gc,ref:Bl,onScroll:$c}),Pd.colWidths=qo.map(function(ds,Is){var mu=ds.width,Hu=Is===qo.length-1?mu-Gc:mu;return typeof Hu=="number"&&!Number.isNaN(Hu)?Hu:0})):xc=x.createElement("div",{style:(0,bt.Z)((0,bt.Z)({},kl),ou),onScroll:gu,ref:Bl,className:Ne()("".concat(An,"-body"))},x.createElement(Lf,(0,Oe.Z)({style:(0,bt.Z)((0,bt.Z)({},Bu),{},{tableLayout:Od})},Ad),ih,rh,Cc,!cs&&Ka&&x.createElement(pt,{stickyOffsets:ju,flattenColumns:qo},Ka)));var Bc=(0,bt.Z)((0,bt.Z)((0,bt.Z)({noData:!ho.length,maxContentScroll:Al&&Xs==="max-content"},Pd),pu),{},{direction:jr,stickyClassName:ud,onScroll:$c});Df=x.createElement(x.Fragment,null,qi!==!1&&x.createElement(jn,(0,Oe.Z)({},Bc,{stickyTopOffset:qd,className:"".concat(An,"-header"),ref:aA}),dp),xc,cs&&cs!=="top"&&x.createElement(jn,(0,Oe.Z)({},Bc,{stickyBottomOffset:ef,className:"".concat(An,"-summary"),ref:sl}),of),XA&&Bl.current&&Bl.current instanceof Element&&x.createElement(gn,{ref:bc,offsetScroll:Fs,scrollBodyRef:Bl,onScroll:$c,container:Ef,direction:jr}))}else Df=x.createElement("div",{style:(0,bt.Z)((0,bt.Z)({},kl),ou),className:Ne()("".concat(An,"-content")),onScroll:$c,ref:Bl},x.createElement(Lf,(0,Oe.Z)({style:(0,bt.Z)((0,bt.Z)({},Bu),{},{tableLayout:Od})},Ad),ih,rh,qi!==!1&&x.createElement(pi,(0,Oe.Z)({},Pd,pu)),Cc,Ka&&x.createElement(pt,{stickyOffsets:ju,flattenColumns:qo},Ka)));var _d=x.createElement("div",(0,Oe.Z)({className:Ne()(An,Sn,(0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)({},"".concat(An,"-rtl"),jr==="rtl"),"".concat(An,"-ping-left"),Ol),"".concat(An,"-ping-right"),ml),"".concat(An,"-layout-fixed"),ui==="fixed"),"".concat(An,"-fixed-header"),Vu),"".concat(An,"-fixed-column"),vA),"".concat(An,"-fixed-column-gapped"),vA&&qs),"".concat(An,"-scroll-horizontal"),Al),"".concat(An,"-has-fix-left"),qo[0]&&qo[0].fixed),"".concat(An,"-has-fix-right"),qo[qo.length-1]&&qo[qo.length-1].fixed==="right")),style:or,id:bi,ref:Nl},Nh),Qr&&x.createElement(ei,{className:"".concat(An,"-title")},Qr(ho)),x.createElement("div",{ref:gs,className:"".concat(An,"-container")},Df),Or&&x.createElement(ei,{className:"".concat(An,"-footer")},Or(ho)));Al&&(_d=x.createElement(Bt.Z,{onResize:tf},_d));var cd=dn(qo,ju,jr),Oh=x.useMemo(function(){return{scrollX:Xs,prefixCls:An,getComponent:na,scrollbarSize:Gc,direction:jr,fixedInfoList:cd,isSticky:XA,supportSticky:rf,componentWidth:Vs,fixHeader:Vu,fixColumn:vA,horizonScroll:Al,tableLayout:Od,rowClassName:Tn,expandedRowClassName:rs.expandedRowClassName,expandIcon:ra,expandableType:il,expandRowByClick:rs.expandRowByClick,expandedRowRender:rs.expandedRowRender,onTriggerExpand:Wo,expandIconColumnIndex:rs.expandIconColumnIndex,indentSize:rs.indentSize,allColumnsFixedLeft:qo.every(function(ds){return ds.fixed==="left"}),emptyNode:af,columns:la,flattenColumns:qo,onColumnResize:Eu,hoverStartRow:xl,hoverEndRow:ol,onHover:lo,rowExpandable:rs.rowExpandable,onRow:po,getRowKey:Bo,expandedKeys:cu,childrenColumnName:xa,rowHoverable:yo}},[Xs,An,na,Gc,jr,cd,XA,rf,Vs,Vu,vA,Al,Od,Tn,rs.expandedRowClassName,ra,il,rs.expandRowByClick,rs.expandedRowRender,Wo,rs.expandIconColumnIndex,rs.indentSize,af,la,qo,Eu,xl,ol,lo,rs.rowExpandable,po,Bo,cu,xa,yo]);return x.createElement(et.Provider,{value:Oh},_d)}var yi=x.forwardRef(Ei);function Si(wt){return ke(yi,wt)}var wi=Si();wi.EXPAND_COLUMN=ct,wi.INTERNAL_HOOKS=Le,wi.Column=nr,wi.ColumnGroup=Zr,wi.Summary=gt;var Ti=wi,eo=ae(48911),vo=Ce(null),Yi=Ce(null);function Do(wt,vt,Gt){var An=vt||1;return Gt[wt+An]-(Gt[wt]||0)}function ki(wt){var vt=wt.rowInfo,Gt=wt.column,An=wt.colIndex,Sn=wt.indent,Tn=wt.index,or=wt.component,qn=wt.renderIndex,Cr=wt.record,hr=wt.style,ui=wt.className,jr=wt.inverse,Qr=wt.getHeight,Or=Gt.render,Dr=Gt.dataIndex,$i=Gt.className,bi=Gt.width,qi=oe(Yi,["columnsOffset"]),so=qi.columnsOffset,Ji=Mt(vt,Gt,An,Sn,Tn),po=Ji.key,Eo=Ji.fixedInfo,Ro=Ji.appendCellNode,_o=Ji.additionalCellProps,La=_o.style,sa=_o.colSpan,ea=sa===void 0?1:sa,Ho=_o.rowSpan,jo=Ho===void 0?1:Ho,Qo=An-1,yo=Do(Qo,ea,so),ho=ea>1?bi-yo:0,To=(0,bt.Z)((0,bt.Z)((0,bt.Z)({},La),hr),{},{flex:"0 0 ".concat(yo,"px"),width:"".concat(yo,"px"),marginRight:ho,pointerEvents:"auto"}),Zo=x.useMemo(function(){return jr?jo<=1:ea===0||jo===0||jo>1},[jo,ea,jr]);Zo?To.visibility="hidden":jr&&(To.height=Qr==null?void 0:Qr(jo));var na=Zo?function(){return null}:Or,Bo={};return(jo===0||ea===0)&&(Bo.rowSpan=1,Bo.colSpan=1),x.createElement(Fn,(0,Oe.Z)({className:Ne()($i,ui),ellipsis:Gt.ellipsis,align:Gt.align,scope:Gt.rowScope,component:or,prefixCls:vt.prefixCls,key:po,record:Cr,index:Tn,renderIndex:qn,dataIndex:Dr,render:na,shouldCellUpdate:Gt.shouldCellUpdate},Eo,{appendNode:Ro,additionalProps:(0,bt.Z)((0,bt.Z)({},_o),{},{style:To},Bo)}))}var ko=ki,Ao=["data","index","className","rowKey","style","extra","getHeight"],Xo=x.forwardRef(function(wt,vt){var Gt=wt.data,An=wt.index,Sn=wt.className,Tn=wt.rowKey,or=wt.style,qn=wt.extra,Cr=wt.getHeight,hr=(0,ee.Z)(wt,Ao),ui=Gt.record,jr=Gt.indent,Qr=Gt.index,Or=oe(et,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Dr=Or.scrollX,$i=Or.flattenColumns,bi=Or.prefixCls,qi=Or.fixColumn,so=Or.componentWidth,Ji=oe(vo,["getComponent"]),po=Ji.getComponent,Eo=Vt(ui,Tn,An,jr),Ro=po(["body","row"],"div"),_o=po(["body","cell"],"div"),La=Eo.rowSupportExpand,sa=Eo.expanded,ea=Eo.rowProps,Ho=Eo.expandedRowRender,jo=Eo.expandedRowClassName,Qo;if(La&&sa){var yo=Ho(ui,An,jr+1,sa),ho=En(jo,ui,An,jr),To={};qi&&(To={style:(0,je.Z)({},"--virtual-width","".concat(so,"px"))});var Zo="".concat(bi,"-expanded-row-cell");Qo=x.createElement(Ro,{className:Ne()("".concat(bi,"-expanded-row"),"".concat(bi,"-expanded-row-level-").concat(jr+1),ho)},x.createElement(Fn,{component:_o,prefixCls:bi,className:Ne()(Zo,(0,je.Z)({},"".concat(Zo,"-fixed"),qi)),additionalProps:To},yo))}var na=(0,bt.Z)((0,bt.Z)({},or),{},{width:Dr});qn&&(na.position="absolute",na.pointerEvents="none");var Bo=x.createElement(Ro,(0,Oe.Z)({},ea,hr,{"data-row-key":Tn,ref:La?null:vt,className:Ne()(Sn,"".concat(bi,"-row"),ea==null?void 0:ea.className,(0,je.Z)({},"".concat(bi,"-row-extra"),qn)),style:(0,bt.Z)((0,bt.Z)({},na),ea==null?void 0:ea.style)}),$i.map(function(Ja,za){return x.createElement(ko,{key:za,component:_o,rowInfo:Eo,column:Ja,colIndex:za,indent:jr,index:An,renderIndex:Qr,record:ui,inverse:qn,getHeight:Cr})}));return La?x.createElement("div",{ref:vt},Bo,Qo):Bo}),Co=ze(Xo),to=Co,xo=x.forwardRef(function(wt,vt){var Gt=wt.data,An=wt.onScroll,Sn=oe(et,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),Tn=Sn.flattenColumns,or=Sn.onColumnResize,qn=Sn.getRowKey,Cr=Sn.expandedKeys,hr=Sn.prefixCls,ui=Sn.childrenColumnName,jr=Sn.scrollX,Qr=Sn.direction,Or=oe(vo),Dr=Or.sticky,$i=Or.scrollY,bi=Or.listItemHeight,qi=Or.getComponent,so=Or.onScroll,Ji=x.useRef(),po=$t(Gt,ui,Cr,qn),Eo=x.useMemo(function(){var Qo=0;return Tn.map(function(yo){var ho=yo.width,To=yo.key;return Qo+=ho,[To,ho,Qo]})},[Tn]),Ro=x.useMemo(function(){return Eo.map(function(Qo){return Qo[2]})},[Eo]);x.useEffect(function(){Eo.forEach(function(Qo){var yo=(0,Je.Z)(Qo,2),ho=yo[0],To=yo[1];or(ho,To)})},[Eo]),x.useImperativeHandle(vt,function(){var Qo,yo={scrollTo:function(To){var Zo;(Zo=Ji.current)===null||Zo===void 0||Zo.scrollTo(To)},nativeElement:(Qo=Ji.current)===null||Qo===void 0?void 0:Qo.nativeElement};return Object.defineProperty(yo,"scrollLeft",{get:function(){var To;return((To=Ji.current)===null||To===void 0?void 0:To.getScrollInfo().x)||0},set:function(To){var Zo;(Zo=Ji.current)===null||Zo===void 0||Zo.scrollTo({left:To})}}),yo});var _o=function(yo,ho){var To,Zo=(To=po[ho])===null||To===void 0?void 0:To.record,na=yo.onCell;if(na){var Bo,Ja=na(Zo,ho);return(Bo=Ja==null?void 0:Ja.rowSpan)!==null&&Bo!==void 0?Bo:1}return 1},La=function(yo){var ho=yo.start,To=yo.end,Zo=yo.getSize,na=yo.offsetY;if(To<0)return null;for(var Bo=Tn.filter(function(ra){return _o(ra,ho)===0}),Ja=ho,za=function(xa){if(Bo=Bo.filter(function(Wo){return _o(Wo,xa)===0}),!Bo.length)return Ja=xa,1},Dl=ho;Dl>=0&&!za(Dl);Dl-=1);for(var xl=Tn.filter(function(ra){return _o(ra,To)!==1}),ol=To,lo=function(xa){if(xl=xl.filter(function(Wo){return _o(Wo,xa)!==1}),!xl.length)return ol=Math.max(xa-1,To),1},Yl=To;Yl<po.length&&!lo(Yl);Yl+=1);for(var os=[],rs=function(xa){var Wo=po[xa];if(!Wo)return 1;Tn.some(function(Oo){return _o(Oo,xa)>1})&&os.push(xa)},il=Ja;il<=ol;il+=1)rs(il);var cu=os.map(function(ra){var xa=po[ra],Wo=qn(xa.record,ra),Oo=function(Vs){var Zs=ra+Vs-1,al=qn(po[Zs].record,Zs),hu=Zo(Wo,al);return hu.bottom-hu.top},As=Zo(Wo);return x.createElement(to,{key:ra,data:xa,rowKey:Wo,index:ra,style:{top:-na+As.top},extra:!0,getHeight:Oo})});return cu},sa=x.useMemo(function(){return{columnsOffset:Ro}},[Ro]),ea="".concat(hr,"-tbody"),Ho=qi(["body","wrapper"]),jo={};return Dr&&(jo.position="sticky",jo.bottom=0,(0,ft.Z)(Dr)==="object"&&Dr.offsetScroll&&(jo.bottom=Dr.offsetScroll)),x.createElement(Yi.Provider,{value:sa},x.createElement(eo.Z,{fullHeight:!1,ref:Ji,prefixCls:"".concat(ea,"-virtual"),styles:{horizontalScrollBar:jo},className:ea,height:$i,itemHeight:bi||24,data:po,itemKey:function(yo){return qn(yo.record)},component:Ho,scrollWidth:jr,direction:Qr,onVirtualScroll:function(yo){var ho,To=yo.x;An({currentTarget:(ho=Ji.current)===null||ho===void 0?void 0:ho.nativeElement,scrollLeft:To})},onScroll:so,extraRender:La},function(Qo,yo,ho){var To=qn(Qo.record,yo);return x.createElement(to,{data:Qo,rowKey:To,index:yo,style:ho.style})}))}),$o=ze(xo),_n=$o,No=function(vt,Gt){var An=Gt.ref,Sn=Gt.onScroll;return x.createElement(_n,{ref:An,data:vt,onScroll:Sn})};function Vi(wt,vt){var Gt=wt.data,An=wt.columns,Sn=wt.scroll,Tn=wt.sticky,or=wt.prefixCls,qn=or===void 0?Ni:or,Cr=wt.className,hr=wt.listItemHeight,ui=wt.components,jr=wt.onScroll,Qr=Sn||{},Or=Qr.x,Dr=Qr.y;typeof Or!="number"&&(Or=1),typeof Dr!="number"&&(Dr=500);var $i=(0,Ot.zX)(function(so,Ji){return(0,Ut.Z)(ui,so)||Ji}),bi=(0,Ot.zX)(jr),qi=x.useMemo(function(){return{sticky:Tn,scrollY:Dr,listItemHeight:hr,getComponent:$i,onScroll:bi}},[Tn,Dr,hr,$i,bi]);return x.createElement(vo.Provider,{value:qi},x.createElement(Ti,(0,Oe.Z)({},wt,{className:Ne()(Cr,"".concat(qn,"-virtual")),scroll:(0,bt.Z)((0,bt.Z)({},Sn),{},{x:Or}),components:(0,bt.Z)((0,bt.Z)({},ui),{},{body:Gt!=null&&Gt.length?No:void 0}),columns:An,internalHooks:Le,tailor:!0,ref:vt})))}var Ur=x.forwardRef(Vi);function qr(wt){return ke(Ur,wt)}var ti=qr(),Wr=null,ro=wt=>null,oi=wt=>null,yr=ae(84105),ni=ae(82661),co=ae(34643),Jo=ae(34061),fo=ae(18929);function ta(wt){const[vt,Gt]=(0,x.useState)(null);return[(0,x.useCallback)((Tn,or,qn)=>{const Cr=vt!=null?vt:Tn,hr=Math.min(Cr||0,Tn),ui=Math.max(Cr||0,Tn),jr=or.slice(hr,ui+1).map(Dr=>wt(Dr)),Qr=jr.some(Dr=>!qn.has(Dr)),Or=[];return jr.forEach(Dr=>{Qr?(qn.has(Dr)||Or.push(Dr),qn.add(Dr)):(qn.delete(Dr),Or.push(Dr))}),Gt(Qr?ui:null),Or},[vt]),Tn=>{Gt(Tn)}]}var Go=ae(32383),va=ae(62673),Vo=ae(75727),oa=ae(47889);const da={},Wa="SELECT_ALL",Ds="SELECT_INVERT",zs="SELECT_NONE",is=[],us=(wt,vt)=>{let Gt=[];return(vt||[]).forEach(An=>{Gt.push(An),An&&typeof An=="object"&&wt in An&&(Gt=[].concat((0,vr.Z)(Gt),(0,vr.Z)(us(wt,An[wt]))))}),Gt};var mo=(wt,vt)=>{const{preserveSelectedRowKeys:Gt,selectedRowKeys:An,defaultSelectedRowKeys:Sn,getCheckboxProps:Tn,onChange:or,onSelect:qn,onSelectAll:Cr,onSelectInvert:hr,onSelectNone:ui,onSelectMultiple:jr,columnWidth:Qr,type:Or,selections:Dr,fixed:$i,renderCell:bi,hideSelectAll:qi,checkStrictly:so=!0}=vt||{},{prefixCls:Ji,data:po,pageData:Eo,getRecordByKey:Ro,getRowKey:_o,expandType:La,childrenColumnName:sa,locale:ea,getPopupContainer:Ho}=wt,jo=(0,Go.ln)("Table"),[Qo,yo]=ta(ra=>ra),[ho,To]=(0,fo.Z)(An||Sn||is,{value:An}),Zo=x.useRef(new Map),na=(0,x.useCallback)(ra=>{if(Gt){const xa=new Map;ra.forEach(Wo=>{let Oo=Ro(Wo);!Oo&&Zo.current.has(Wo)&&(Oo=Zo.current.get(Wo)),xa.set(Wo,Oo)}),Zo.current=xa}},[Ro,Gt]);x.useEffect(()=>{na(ho)},[ho]);const Bo=(0,x.useMemo)(()=>us(sa,Eo),[sa,Eo]),{keyEntities:Ja}=(0,x.useMemo)(()=>{if(so)return{keyEntities:null};let ra=po;if(Gt){const xa=new Set(Bo.map((Oo,As)=>_o(Oo,As))),Wo=Array.from(Zo.current).reduce((Oo,As)=>{let[Es,Vs]=As;return xa.has(Es)?Oo:Oo.concat(Vs)},[]);ra=[].concat((0,vr.Z)(ra),(0,vr.Z)(Wo))}return(0,Jo.I8)(ra,{externalGetKey:_o,childrenPropName:sa})},[po,_o,so,sa,Gt,Bo]),za=(0,x.useMemo)(()=>{const ra=new Map;return Bo.forEach((xa,Wo)=>{const Oo=_o(xa,Wo),As=(Tn?Tn(xa):null)||{};ra.set(Oo,As)}),ra},[Bo,_o,Tn]),Dl=(0,x.useCallback)(ra=>{const xa=_o(ra);let Wo;return za.has(xa)?Wo=za.get(_o(ra)):Wo=Tn?Tn(ra):void 0,!!(Wo!=null&&Wo.disabled)},[za,_o]),[xl,ol]=(0,x.useMemo)(()=>{if(so)return[ho||[],[]];const{checkedKeys:ra,halfCheckedKeys:xa}=(0,co.S)(ho,!0,Ja,Dl);return[ra||[],xa]},[ho,so,Ja,Dl]),lo=(0,x.useMemo)(()=>{const ra=Or==="radio"?xl.slice(0,1):xl;return new Set(ra)},[xl,Or]),Yl=(0,x.useMemo)(()=>Or==="radio"?new Set:new Set(ol),[ol,Or]);x.useEffect(()=>{vt||To(is)},[!!vt]);const os=(0,x.useCallback)((ra,xa)=>{let Wo,Oo;na(ra),Gt?(Wo=ra,Oo=ra.map(As=>Zo.current.get(As))):(Wo=[],Oo=[],ra.forEach(As=>{const Es=Ro(As);Es!==void 0&&(Wo.push(As),Oo.push(Es))})),To(Wo),or==null||or(Wo,Oo,{type:xa})},[To,Ro,or,Gt]),rs=(0,x.useCallback)((ra,xa,Wo,Oo)=>{if(qn){const As=Wo.map(Es=>Ro(Es));qn(Ro(ra),xa,As,Oo)}os(Wo,"single")},[qn,Ro,os]),il=(0,x.useMemo)(()=>!Dr||qi?null:(Dr===!0?[Wa,Ds,zs]:Dr).map(xa=>xa===Wa?{key:"all",text:ea.selectionAll,onSelect(){os(po.map((Wo,Oo)=>_o(Wo,Oo)).filter(Wo=>{const Oo=za.get(Wo);return!(Oo!=null&&Oo.disabled)||lo.has(Wo)}),"all")}}:xa===Ds?{key:"invert",text:ea.selectInvert,onSelect(){const Wo=new Set(lo);Eo.forEach((As,Es)=>{const Vs=_o(As,Es),Zs=za.get(Vs);Zs!=null&&Zs.disabled||(Wo.has(Vs)?Wo.delete(Vs):Wo.add(Vs))});const Oo=Array.from(Wo);hr&&(jo.deprecated(!1,"onSelectInvert","onChange"),hr(Oo)),os(Oo,"invert")}}:xa===zs?{key:"none",text:ea.selectNone,onSelect(){ui==null||ui(),os(Array.from(lo).filter(Wo=>{const Oo=za.get(Wo);return Oo==null?void 0:Oo.disabled}),"none")}}:xa).map(xa=>Object.assign(Object.assign({},xa),{onSelect:function(){for(var Wo,Oo,As=arguments.length,Es=new Array(As),Vs=0;Vs<As;Vs++)Es[Vs]=arguments[Vs];(Oo=xa.onSelect)===null||Oo===void 0||(Wo=Oo).call.apply(Wo,[xa].concat(Es)),yo(null)}})),[Dr,lo,Eo,_o,hr,os]);return[(0,x.useCallback)(ra=>{var xa;if(!vt)return ra.filter(gs=>gs!==da);let Wo=(0,vr.Z)(ra);const Oo=new Set(lo),As=Bo.map(_o).filter(gs=>!za.get(gs).disabled),Es=As.every(gs=>Oo.has(gs)),Vs=As.some(gs=>Oo.has(gs)),Zs=()=>{const gs=[];Es?As.forEach(ll=>{Oo.delete(ll),gs.push(ll)}):As.forEach(ll=>{Oo.has(ll)||(Oo.add(ll),gs.push(ll))});const sl=Array.from(Oo);Cr==null||Cr(!Es,sl.map(ll=>Ro(ll)),gs.map(ll=>Ro(ll))),os(sl,"all"),yo(null)};let al,hu;if(Or!=="radio"){let gs;if(il){const ms={getPopupContainer:Ho,items:il.map((gl,Ss)=>{const{key:ml,text:Jl,onSelect:Pu}=gl;return{key:ml!=null?ml:Ss,onClick:()=>{Pu==null||Pu(As)},label:Jl}})};gs=x.createElement("div",{className:`${Ji}-selection-extra`},x.createElement(Vo.Z,{menu:ms,getPopupContainer:Ho},x.createElement("span",null,x.createElement(yr.Z,null))))}const sl=Bo.map((ms,gl)=>{const Ss=_o(ms,gl),ml=za.get(Ss)||{};return Object.assign({checked:Oo.has(Ss)},ml)}).filter(ms=>{let{disabled:gl}=ms;return gl}),ll=!!sl.length&&sl.length===Bo.length,du=ll&&sl.every(ms=>{let{checked:gl}=ms;return gl}),Ol=ll&&sl.some(ms=>{let{checked:gl}=ms;return gl});hu=x.createElement(va.default,{checked:ll?du:!!Bo.length&&Es,indeterminate:ll?!du&&Ol:!Es&&Vs,onChange:Zs,disabled:Bo.length===0||ll,"aria-label":gs?"Custom selection":"Select all",skipGroup:!0}),al=!qi&&x.createElement("div",{className:`${Ji}-selection`},hu,gs)}let la;Or==="radio"?la=(gs,sl,ll)=>{const du=_o(sl,ll),Ol=Oo.has(du),ms=za.get(du);return{node:x.createElement(oa.ZP,Object.assign({},ms,{checked:Ol,onClick:gl=>{var Ss;gl.stopPropagation(),(Ss=ms==null?void 0:ms.onClick)===null||Ss===void 0||Ss.call(ms,gl)},onChange:gl=>{var Ss;Oo.has(du)||rs(du,!0,[du],gl.nativeEvent),(Ss=ms==null?void 0:ms.onChange)===null||Ss===void 0||Ss.call(ms,gl)}})),checked:Ol}}:la=(gs,sl,ll)=>{var du;const Ol=_o(sl,ll),ms=Oo.has(Ol),gl=Yl.has(Ol),Ss=za.get(Ol);let ml;return La==="nest"?ml=gl:ml=(du=Ss==null?void 0:Ss.indeterminate)!==null&&du!==void 0?du:gl,{node:x.createElement(va.default,Object.assign({},Ss,{indeterminate:ml,checked:ms,skipGroup:!0,onClick:Jl=>{var Pu;Jl.stopPropagation(),(Pu=Ss==null?void 0:Ss.onClick)===null||Pu===void 0||Pu.call(Ss,Jl)},onChange:Jl=>{var Pu;const{nativeEvent:_u}=Jl,{shiftKey:VA}=_u,ul=As.findIndex(Ru=>Ru===Ol),Nd=xl.some(Ru=>As.includes(Ru));if(VA&&so&&Nd){const Ru=Qo(ul,As,Oo),Gu=Array.from(Oo);jr==null||jr(!ms,Gu.map(ju=>Ro(ju)),Ru.map(ju=>Ro(ju))),os(Gu,"multiple")}else{const Ru=xl;if(so){const Gu=ms?(0,ni._5)(Ru,Ol):(0,ni.L0)(Ru,Ol);rs(Ol,!ms,Gu,_u)}else{const Gu=(0,co.S)([].concat((0,vr.Z)(Ru),[Ol]),!0,Ja,Dl),{checkedKeys:ju,halfCheckedKeys:Vu}=Gu;let Al=ju;if(ms){const vA=new Set(ju);vA.delete(Ol),Al=(0,co.S)(Array.from(vA),{checked:!1,halfCheckedKeys:Vu},Ja,Dl).checkedKeys}rs(Ol,!ms,Al,_u)}}yo(ms?null:ul),(Pu=Ss==null?void 0:Ss.onChange)===null||Pu===void 0||Pu.call(Ss,Jl)}})),checked:ms}};const qo=(gs,sl,ll)=>{const{node:du,checked:Ol}=la(gs,sl,ll);return bi?bi(Ol,sl,ll,du):du};if(!Wo.includes(da))if(Wo.findIndex(gs=>{var sl;return((sl=gs[Fr])===null||sl===void 0?void 0:sl.columnType)==="EXPAND_COLUMN"})===0){const[gs,...sl]=Wo;Wo=[gs,da].concat((0,vr.Z)(sl))}else Wo=[da].concat((0,vr.Z)(Wo));const bs=Wo.indexOf(da);Wo=Wo.filter((gs,sl)=>gs!==da||sl===bs);const qs=Wo[bs-1],Xs=Wo[bs+1];let pu=$i;pu===void 0&&((Xs==null?void 0:Xs.fixed)!==void 0?pu=Xs.fixed:(qs==null?void 0:qs.fixed)!==void 0&&(pu=qs.fixed)),pu&&qs&&((xa=qs[Fr])===null||xa===void 0?void 0:xa.columnType)==="EXPAND_COLUMN"&&qs.fixed===void 0&&(qs.fixed=pu);const Nl=Ne()(`${Ji}-selection-col`,{[`${Ji}-selection-col-with-dropdown`]:Dr&&Or==="checkbox"}),aA=()=>vt!=null&&vt.columnTitle?typeof vt.columnTitle=="function"?vt.columnTitle(hu):vt.columnTitle:al,Bl={fixed:pu,width:Qr,className:`${Ji}-selection-column`,title:aA(),render:qo,onCell:vt.onCell,[Fr]:{className:Nl}};return Wo.map(gs=>gs===da?Bl:gs)},[_o,Bo,vt,xl,lo,Yl,Qr,il,La,za,jr,rs,Dl]),lo]},Fa=ae(2738);function hs(wt,vt){return wt._antProxy=wt._antProxy||{},Object.keys(vt).forEach(Gt=>{if(!(Gt in wt._antProxy)){const An=wt[Gt];wt._antProxy[Gt]=An,wt[Gt]=vt[Gt]}}),wt}function el(wt,vt){return(0,x.useImperativeHandle)(wt,()=>{const Gt=vt(),{nativeElement:An}=Gt;return typeof Proxy!="undefined"?new Proxy(An,{get(Sn,Tn){return Gt[Tn]?Gt[Tn]:Reflect.get(Sn,Tn)}}):hs(An,Gt)})}var tl=ae(83010),nl=ae(48755),hl=ae(38406),lu=ae(83397),Js=ae(31756),Kl=ae(13783),Zl=ae(85981),Lu=ae(31709),dl=ae(29787),FA=ae(57700);function hA(wt){return vt=>{const{prefixCls:Gt,onExpand:An,record:Sn,expanded:Tn,expandable:or}=vt,qn=`${Gt}-row-expand-icon`;return x.createElement("button",{type:"button",onClick:Cr=>{An(Sn,Cr),Cr.stopPropagation()},className:Ne()(qn,{[`${qn}-spaced`]:!or,[`${qn}-expanded`]:or&&Tn,[`${qn}-collapsed`]:or&&!Tn}),"aria-label":Tn?wt.collapse:wt.expand,"aria-expanded":Tn})}}var pa=hA;function Ia(wt){return(Gt,An)=>{const Sn=Gt.querySelector(`.${wt}-container`);let Tn=An;if(Sn){const or=getComputedStyle(Sn),qn=parseInt(or.borderLeftWidth,10),Cr=parseInt(or.borderRightWidth,10);Tn=An-qn-Cr}return Tn}}const ma=(wt,vt)=>"key"in wt&&wt.key!==void 0&&wt.key!==null?wt.key:wt.dataIndex?Array.isArray(wt.dataIndex)?wt.dataIndex.join("."):wt.dataIndex:vt;function Ca(wt,vt){return vt?`${vt}-${wt}`:`${wt}`}const qa=(wt,vt)=>typeof wt=="function"?wt(vt):wt,Xa=(wt,vt)=>{const Gt=qa(wt,vt);return Object.prototype.toString.call(Gt)==="[object Object]"?"":Gt};var Ha={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},Wl=Ha,uu=ae(7657),ji=function(vt,Gt){return x.createElement(uu.Z,(0,Oe.Z)({},vt,{ref:Gt,icon:Wl}))},ga=x.forwardRef(ji),Ta=ga,iu=ae(9981),Pl=ae(40192);function ps(wt){const vt=x.useRef(wt),Gt=(0,Pl.Z)();return[()=>vt.current,An=>{vt.current=An,Gt()}]}var Cu=ae(7939),pl=ae(584),Kc=ae(93041),IA=ae(78857),xu=ae(18287),aa=ae(47472),Wu=ae(49397),Mu=wt=>{const{value:vt,filterSearch:Gt,tablePrefixCls:An,locale:Sn,onChange:Tn}=wt;return Gt?x.createElement("div",{className:`${An}-filter-dropdown-search`},x.createElement(Wu.Z,{prefix:x.createElement(aa.Z,null),placeholder:Sn.filterSearchPlaceholder,onChange:Tn,value:vt,htmlSize:1,className:`${An}-filter-dropdown-search-input`})):null},Ns=ae(10228);const eA=wt=>{const{keyCode:vt}=wt;vt===Ns.Z.ENTER&&wt.stopPropagation()};var _A=x.forwardRef((wt,vt)=>x.createElement("div",{className:wt.className,onClick:Gt=>Gt.stopPropagation(),onKeyDown:eA,ref:vt},wt.children));function bl(wt){let vt=[];return(wt||[]).forEach(Gt=>{let{value:An,children:Sn}=Gt;vt.push(An),Sn&&(vt=[].concat((0,vr.Z)(vt),(0,vr.Z)(bl(Sn))))}),vt}function Cl(wt){return wt.some(vt=>{let{children:Gt}=vt;return Gt})}function rl(wt,vt){return typeof vt=="string"||typeof vt=="number"?vt==null?void 0:vt.toString().toLowerCase().includes(wt.trim().toLowerCase()):!1}function $l(wt){let{filters:vt,prefixCls:Gt,filteredKeys:An,filterMultiple:Sn,searchValue:Tn,filterSearch:or}=wt;return vt.map((qn,Cr)=>{const hr=String(qn.value);if(qn.children)return{key:hr||Cr,label:qn.text,popupClassName:`${Gt}-dropdown-submenu`,children:$l({filters:qn.children,prefixCls:Gt,filteredKeys:An,filterMultiple:Sn,searchValue:Tn,filterSearch:or})};const ui=Sn?va.default:oa.ZP,jr={key:qn.value!==void 0?hr:Cr,label:x.createElement(x.Fragment,null,x.createElement(ui,{checked:An.includes(hr)}),x.createElement("span",null,qn.text))};return Tn.trim()?typeof or=="function"?or(Tn,qn)?jr:null:rl(Tn,qn.text)?jr:null:jr})}function Gl(wt){return wt||[]}var nd=wt=>{var vt,Gt,An,Sn;const{tablePrefixCls:Tn,prefixCls:or,column:qn,dropdownPrefixCls:Cr,columnKey:hr,filterOnClose:ui,filterMultiple:jr,filterMode:Qr="menu",filterSearch:Or=!1,filterState:Dr,triggerFilter:$i,locale:bi,children:qi,getPopupContainer:so,rootClassName:Ji}=wt,{filterResetToDefaultFilteredValue:po,defaultFilteredValue:Eo,filterDropdownProps:Ro={},filterDropdownOpen:_o,filterDropdownVisible:La,onFilterDropdownVisibleChange:sa,onFilterDropdownOpenChange:ea}=qn,[Ho,jo]=x.useState(!1),Qo=!!(Dr&&(!((vt=Dr.filteredKeys)===null||vt===void 0)&&vt.length||Dr.forceFiltered)),yo=la=>{var qo;jo(la),(qo=Ro.onOpenChange)===null||qo===void 0||qo.call(Ro,la),ea==null||ea(la),sa==null||sa(la)},ho=(Sn=(An=(Gt=Ro.open)!==null&&Gt!==void 0?Gt:_o)!==null&&An!==void 0?An:La)!==null&&Sn!==void 0?Sn:Ho,To=Dr==null?void 0:Dr.filteredKeys,[Zo,na]=ps(Gl(To)),Bo=la=>{let{selectedKeys:qo}=la;na(qo)},Ja=(la,qo)=>{let{node:bs,checked:qs}=qo;Bo(jr?{selectedKeys:la}:{selectedKeys:qs&&bs.key?[bs.key]:[]})};x.useEffect(()=>{Ho&&Bo({selectedKeys:Gl(To)})},[To]);const[za,Dl]=x.useState([]),xl=la=>{Dl(la)},[ol,lo]=x.useState(""),Yl=la=>{const{value:qo}=la.target;lo(qo)};x.useEffect(()=>{Ho||lo("")},[Ho]);const os=la=>{const qo=la!=null&&la.length?la:null;if(qo===null&&(!Dr||!Dr.filteredKeys)||(0,Ue.Z)(qo,Dr==null?void 0:Dr.filteredKeys,!0))return null;$i({column:qn,key:hr,filteredKeys:qo})},rs=()=>{yo(!1),os(Zo())},il=function(){let{confirm:la,closeDropdown:qo}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};la&&os([]),qo&&yo(!1),lo(""),na(po?(Eo||[]).map(bs=>String(bs)):[])},cu=function(){let{closeDropdown:la}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};la&&yo(!1),os(Zo())},ra=(la,qo)=>{qo.source==="trigger"&&(la&&To!==void 0&&na(Gl(To)),yo(la),!la&&!qn.filterDropdown&&ui&&rs())},xa=Ne()({[`${Cr}-menu-without-submenu`]:!Cl(qn.filters||[])}),Wo=la=>{if(la.target.checked){const qo=bl(qn==null?void 0:qn.filters).map(bs=>String(bs));na(qo)}else na([])},Oo=la=>{let{filters:qo}=la;return(qo||[]).map((bs,qs)=>{const Xs=String(bs.value),pu={title:bs.text,key:bs.value!==void 0?Xs:String(qs)};return bs.children&&(pu.children=Oo({filters:bs.children})),pu})},As=la=>{var qo;return Object.assign(Object.assign({},la),{text:la.title,value:la.key,children:((qo=la.children)===null||qo===void 0?void 0:qo.map(bs=>As(bs)))||[]})};let Es;const{direction:Vs,renderEmpty:Zs}=x.useContext(nl.E_);if(typeof qn.filterDropdown=="function")Es=qn.filterDropdown({prefixCls:`${Cr}-custom`,setSelectedKeys:la=>Bo({selectedKeys:la}),selectedKeys:Zo(),confirm:cu,clearFilters:il,filters:qn.filters,visible:ho,close:()=>{yo(!1)}});else if(qn.filterDropdown)Es=qn.filterDropdown;else{const la=Zo()||[],qo=()=>{var qs,Xs;const pu=(qs=Zs==null?void 0:Zs("Table.filter"))!==null&&qs!==void 0?qs:x.createElement(pl.Z,{image:pl.Z.PRESENTED_IMAGE_SIMPLE,description:bi.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((qn.filters||[]).length===0)return pu;if(Qr==="tree")return x.createElement(x.Fragment,null,x.createElement(Mu,{filterSearch:Or,value:ol,onChange:Yl,tablePrefixCls:Tn,locale:bi}),x.createElement("div",{className:`${Tn}-filter-dropdown-tree`},jr?x.createElement(va.default,{checked:la.length===bl(qn.filters).length,indeterminate:la.length>0&&la.length<bl(qn.filters).length,className:`${Tn}-filter-dropdown-checkall`,onChange:Wo},(Xs=bi==null?void 0:bi.filterCheckall)!==null&&Xs!==void 0?Xs:bi==null?void 0:bi.filterCheckAll):null,x.createElement(xu.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:jr,checkStrictly:!jr,className:`${Cr}-menu`,onCheck:Ja,checkedKeys:la,selectedKeys:la,showIcon:!1,treeData:Oo({filters:qn.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:ol.trim()?Bl=>typeof Or=="function"?Or(ol,As(Bl)):rl(ol,Bl.title):void 0})));const Nl=$l({filters:qn.filters||[],filterSearch:Or,prefixCls:or,filteredKeys:Zo(),filterMultiple:jr,searchValue:ol}),aA=Nl.every(Bl=>Bl===null);return x.createElement(x.Fragment,null,x.createElement(Mu,{filterSearch:Or,value:ol,onChange:Yl,tablePrefixCls:Tn,locale:bi}),aA?pu:x.createElement(Kc.default,{selectable:!0,multiple:jr,prefixCls:`${Cr}-menu`,className:xa,onSelect:Bo,onDeselect:Bo,selectedKeys:la,getPopupContainer:so,openKeys:za,onOpenChange:xl,items:Nl}))},bs=()=>po?(0,Ue.Z)((Eo||[]).map(qs=>String(qs)),la,!0):la.length===0;Es=x.createElement(x.Fragment,null,qo(),x.createElement("div",{className:`${or}-dropdown-btns`},x.createElement(Cu.ZP,{type:"link",size:"small",disabled:bs(),onClick:()=>il()},bi.filterReset),x.createElement(Cu.ZP,{type:"primary",size:"small",onClick:rs},bi.filterConfirm)))}qn.filterDropdown&&(Es=x.createElement(IA.J,{selectable:void 0},Es)),Es=x.createElement(_A,{className:`${or}-dropdown`},Es);const al=()=>{let la;return typeof qn.filterIcon=="function"?la=qn.filterIcon(Qo):qn.filterIcon?la=qn.filterIcon:la=x.createElement(Ta,null),x.createElement("span",{role:"button",tabIndex:-1,className:Ne()(`${or}-trigger`,{active:Qo}),onClick:qo=>{qo.stopPropagation()}},la)},hu=(0,iu.Z)({trigger:["click"],placement:Vs==="rtl"?"bottomLeft":"bottomRight",children:al(),getPopupContainer:so},Object.assign(Object.assign({},Ro),{rootClassName:Ne()(Ji,Ro.rootClassName),open:ho,onOpenChange:ra,dropdownRender:()=>typeof(Ro==null?void 0:Ro.dropdownRender)=="function"?Ro.dropdownRender(Es):Es}));return x.createElement("div",{className:`${or}-column`},x.createElement("span",{className:`${Tn}-column-title`},qi),x.createElement(Vo.Z,Object.assign({},hu)))};const _l=(wt,vt,Gt)=>{let An=[];return(wt||[]).forEach((Sn,Tn)=>{var or;const qn=Ca(Tn,Gt);if(Sn.filters||"filterDropdown"in Sn||"onFilter"in Sn)if("filteredValue"in Sn){let Cr=Sn.filteredValue;"filterDropdown"in Sn||(Cr=(or=Cr==null?void 0:Cr.map(String))!==null&&or!==void 0?or:Cr),An.push({column:Sn,key:ma(Sn,qn),filteredKeys:Cr,forceFiltered:Sn.filtered})}else An.push({column:Sn,key:ma(Sn,qn),filteredKeys:vt&&Sn.defaultFilteredValue?Sn.defaultFilteredValue:void 0,forceFiltered:Sn.filtered});"children"in Sn&&(An=[].concat((0,vr.Z)(An),(0,vr.Z)(_l(Sn.children,vt,qn))))}),An};function Uu(wt,vt,Gt,An,Sn,Tn,or,qn,Cr){return Gt.map((hr,ui)=>{const jr=Ca(ui,qn),{filterOnClose:Qr=!0,filterMultiple:Or=!0,filterMode:Dr,filterSearch:$i}=hr;let bi=hr;if(bi.filters||bi.filterDropdown){const qi=ma(bi,jr),so=An.find(Ji=>{let{key:po}=Ji;return qi===po});bi=Object.assign(Object.assign({},bi),{title:Ji=>x.createElement(nd,{tablePrefixCls:wt,prefixCls:`${wt}-filter`,dropdownPrefixCls:vt,column:bi,columnKey:qi,filterState:so,filterOnClose:Qr,filterMultiple:Or,filterMode:Dr,filterSearch:$i,triggerFilter:Tn,locale:Sn,getPopupContainer:or,rootClassName:Cr},qa(hr.title,Ji))})}return"children"in bi&&(bi=Object.assign(Object.assign({},bi),{children:Uu(wt,vt,bi.children,An,Sn,Tn,or,jr,Cr)})),bi})}const Pa=wt=>{const vt={};return wt.forEach(Gt=>{let{key:An,filteredKeys:Sn,column:Tn}=Gt;const or=An,{filters:qn,filterDropdown:Cr}=Tn;if(Cr)vt[or]=Sn||null;else if(Array.isArray(Sn)){const hr=bl(qn);vt[or]=hr.filter(ui=>Sn.includes(String(ui)))}else vt[or]=null}),vt},Ua=(wt,vt,Gt)=>vt.reduce((Sn,Tn)=>{const{column:{onFilter:or,filters:qn},filteredKeys:Cr}=Tn;return or&&Cr&&Cr.length?Sn.map(hr=>Object.assign({},hr)).filter(hr=>Cr.some(ui=>{const jr=bl(qn),Qr=jr.findIndex(Dr=>String(Dr)===String(ui)),Or=Qr!==-1?jr[Qr]:ui;return hr[Gt]&&(hr[Gt]=Ua(hr[Gt],vt,Gt)),or(Or,hr)})):Sn},wt),Rs=wt=>wt.flatMap(vt=>"children"in vt?[vt].concat((0,vr.Z)(Rs(vt.children||[]))):[vt]);var Vl=wt=>{const{prefixCls:vt,dropdownPrefixCls:Gt,mergedColumns:An,onFilterChange:Sn,getPopupContainer:Tn,locale:or,rootClassName:qn}=wt,Cr=(0,Go.ln)("Table"),hr=x.useMemo(()=>Rs(An||[]),[An]),[ui,jr]=x.useState(()=>_l(hr,!0)),Qr=x.useMemo(()=>{const bi=_l(hr,!1);if(bi.length===0)return bi;let qi=!0,so=!0;if(bi.forEach(Ji=>{let{filteredKeys:po}=Ji;po!==void 0?qi=!1:so=!1}),qi){const Ji=(hr||[]).map((po,Eo)=>ma(po,Ca(Eo)));return ui.filter(po=>{let{key:Eo}=po;return Ji.includes(Eo)}).map(po=>{const Eo=hr[Ji.findIndex(Ro=>Ro===po.key)];return Object.assign(Object.assign({},po),{column:Object.assign(Object.assign({},po.column),Eo),forceFiltered:Eo.filtered})})}return bi},[hr,ui]),Or=x.useMemo(()=>Pa(Qr),[Qr]),Dr=bi=>{const qi=Qr.filter(so=>{let{key:Ji}=so;return Ji!==bi.key});qi.push(bi),jr(qi),Sn(Pa(qi),qi)};return[bi=>Uu(vt,Gt,bi,Qr,or,Dr,Tn,void 0,qn),Qr,Or]},WA=(wt,vt,Gt)=>{const An=x.useRef({});function Sn(Tn){var or;if(!An.current||An.current.data!==wt||An.current.childrenColumnName!==vt||An.current.getRowKey!==Gt){let Cr=function(hr){hr.forEach((ui,jr)=>{const Qr=Gt(ui,jr);qn.set(Qr,ui),ui&&typeof ui=="object"&&vt in ui&&Cr(ui[vt]||[])})};const qn=new Map;Cr(wt),An.current={data:wt,childrenColumnName:vt,kvMap:qn,getRowKey:Gt}}return(or=An.current.kvMap)===null||or===void 0?void 0:or.get(Tn)}return[Sn]},gA=function(wt,vt){var Gt={};for(var An in wt)Object.prototype.hasOwnProperty.call(wt,An)&&vt.indexOf(An)<0&&(Gt[An]=wt[An]);if(wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Sn=0,An=Object.getOwnPropertySymbols(wt);Sn<An.length;Sn++)vt.indexOf(An[Sn])<0&&Object.prototype.propertyIsEnumerable.call(wt,An[Sn])&&(Gt[An[Sn]]=wt[An[Sn]]);return Gt};const fc=10;function Xl(wt,vt){const Gt={current:wt.current,pageSize:wt.pageSize};return Object.keys(vt&&typeof vt=="object"?vt:{}).forEach(Sn=>{const Tn=wt[Sn];typeof Tn!="function"&&(Gt[Sn]=Tn)}),Gt}function mA(wt,vt,Gt){const An=Gt&&typeof Gt=="object"?Gt:{},{total:Sn=0}=An,Tn=gA(An,["total"]),[or,qn]=(0,x.useState)(()=>({current:"defaultCurrent"in Tn?Tn.defaultCurrent:1,pageSize:"defaultPageSize"in Tn?Tn.defaultPageSize:fc})),Cr=(0,iu.Z)(or,Tn,{total:Sn>0?Sn:wt}),hr=Math.ceil((Sn||wt)/Cr.pageSize);Cr.current>hr&&(Cr.current=hr||1);const ui=(Qr,Or)=>{qn({current:Qr!=null?Qr:1,pageSize:Or||Cr.pageSize})},jr=(Qr,Or)=>{var Dr;Gt&&((Dr=Gt.onChange)===null||Dr===void 0||Dr.call(Gt,Qr,Or)),ui(Qr,Or),vt(Qr,Or||(Cr==null?void 0:Cr.pageSize))};return Gt===!1?[{},()=>{}]:[Object.assign(Object.assign({},Cr),{onChange:jr}),ui]}var nc=mA,rc=ae(89489),Sd=ae(59477),Xf=ae(25399);const rd="ascend",Pc="descend",hc=wt=>typeof wt.sorter=="object"&&typeof wt.sorter.multiple=="number"?wt.sorter.multiple:!1,Du=wt=>typeof wt=="function"?wt:wt&&typeof wt=="object"&&wt.compare?wt.compare:!1,_c=(wt,vt)=>vt?wt[wt.indexOf(vt)+1]:wt[0],ic=(wt,vt,Gt)=>{let An=[];const Sn=(Tn,or)=>{An.push({column:Tn,key:ma(Tn,or),multiplePriority:hc(Tn),sortOrder:Tn.sortOrder})};return(wt||[]).forEach((Tn,or)=>{const qn=Ca(or,Gt);Tn.children?("sortOrder"in Tn&&Sn(Tn,qn),An=[].concat((0,vr.Z)(An),(0,vr.Z)(ic(Tn.children,vt,qn)))):Tn.sorter&&("sortOrder"in Tn?Sn(Tn,qn):vt&&Tn.defaultSortOrder&&An.push({column:Tn,key:ma(Tn,qn),multiplePriority:hc(Tn),sortOrder:Tn.defaultSortOrder}))}),An},Fd=(wt,vt,Gt,An,Sn,Tn,or,qn)=>(vt||[]).map((hr,ui)=>{const jr=Ca(ui,qn);let Qr=hr;if(Qr.sorter){const Or=Qr.sortDirections||Sn,Dr=Qr.showSorterTooltip===void 0?or:Qr.showSorterTooltip,$i=ma(Qr,jr),bi=Gt.find(sa=>{let{key:ea}=sa;return ea===$i}),qi=bi?bi.sortOrder:null,so=_c(Or,qi);let Ji;if(hr.sortIcon)Ji=hr.sortIcon({sortOrder:qi});else{const sa=Or.includes(rd)&&x.createElement(Sd.Z,{className:Ne()(`${wt}-column-sorter-up`,{active:qi===rd})}),ea=Or.includes(Pc)&&x.createElement(rc.Z,{className:Ne()(`${wt}-column-sorter-down`,{active:qi===Pc})});Ji=x.createElement("span",{className:Ne()(`${wt}-column-sorter`,{[`${wt}-column-sorter-full`]:!!(sa&&ea)})},x.createElement("span",{className:`${wt}-column-sorter-inner`,"aria-hidden":"true"},sa,ea))}const{cancelSort:po,triggerAsc:Eo,triggerDesc:Ro}=Tn||{};let _o=po;so===Pc?_o=Ro:so===rd&&(_o=Eo);const La=typeof Dr=="object"?Object.assign({title:_o},Dr):{title:_o};Qr=Object.assign(Object.assign({},Qr),{className:Ne()(Qr.className,{[`${wt}-column-sort`]:qi}),title:sa=>{const ea=`${wt}-column-sorters`,Ho=x.createElement("span",{className:`${wt}-column-title`},qa(hr.title,sa)),jo=x.createElement("div",{className:ea},Ho,Ji);return Dr?typeof Dr!="boolean"&&(Dr==null?void 0:Dr.target)==="sorter-icon"?x.createElement("div",{className:`${ea} ${wt}-column-sorters-tooltip-target-sorter`},Ho,x.createElement(Xf.Z,Object.assign({},La),Ji)):x.createElement(Xf.Z,Object.assign({},La),jo):jo},onHeaderCell:sa=>{var ea;const Ho=((ea=hr.onHeaderCell)===null||ea===void 0?void 0:ea.call(hr,sa))||{},jo=Ho.onClick,Qo=Ho.onKeyDown;Ho.onClick=To=>{An({column:hr,key:$i,sortOrder:so,multiplePriority:hc(hr)}),jo==null||jo(To)},Ho.onKeyDown=To=>{To.keyCode===Ns.Z.ENTER&&(An({column:hr,key:$i,sortOrder:so,multiplePriority:hc(hr)}),Qo==null||Qo(To))};const yo=Xa(hr.title,{}),ho=yo==null?void 0:yo.toString();return qi&&(Ho["aria-sort"]=qi==="ascend"?"ascending":"descending"),Ho["aria-label"]=ho||"",Ho.className=Ne()(Ho.className,`${wt}-column-has-sorters`),Ho.tabIndex=0,hr.ellipsis&&(Ho.title=(yo!=null?yo:"").toString()),Ho}})}return"children"in Qr&&(Qr=Object.assign(Object.assign({},Qr),{children:Fd(wt,Qr.children,Gt,An,Sn,Tn,or,jr)})),Qr}),Yf=wt=>{const{column:vt,sortOrder:Gt}=wt;return{column:vt,order:Gt,field:vt.dataIndex,columnKey:vt.key}},Os=wt=>{const vt=wt.filter(Gt=>{let{sortOrder:An}=Gt;return An}).map(Yf);if(vt.length===0&&wt.length){const Gt=wt.length-1;return Object.assign(Object.assign({},Yf(wt[Gt])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return vt.length<=1?vt[0]||{}:vt},$u=(wt,vt,Gt)=>{const An=vt.slice().sort((or,qn)=>qn.multiplePriority-or.multiplePriority),Sn=wt.slice(),Tn=An.filter(or=>{let{column:{sorter:qn},sortOrder:Cr}=or;return Du(qn)&&Cr});return Tn.length?Sn.sort((or,qn)=>{for(let Cr=0;Cr<Tn.length;Cr+=1){const hr=Tn[Cr],{column:{sorter:ui},sortOrder:jr}=hr,Qr=Du(ui);if(Qr&&jr){const Or=Qr(or,qn,jr);if(Or!==0)return jr===rd?Or:-Or}}return 0}).map(or=>{const qn=or[Gt];return qn?Object.assign(Object.assign({},or),{[Gt]:$u(qn,vt,Gt)}):or}):Sn};var Ih=wt=>{const{prefixCls:vt,mergedColumns:Gt,sortDirections:An,tableLocale:Sn,showSorterTooltip:Tn,onSorterChange:or}=wt,[qn,Cr]=x.useState(ic(Gt,!0)),hr=($i,bi)=>{const qi=[];return $i.forEach((so,Ji)=>{const po=Ca(Ji,bi);if(qi.push(ma(so,po)),Array.isArray(so.children)){const Eo=hr(so.children,po);qi.push.apply(qi,(0,vr.Z)(Eo))}}),qi},ui=x.useMemo(()=>{let $i=!0;const bi=ic(Gt,!1);if(!bi.length){const po=hr(Gt);return qn.filter(Eo=>{let{key:Ro}=Eo;return po.includes(Ro)})}const qi=[];function so(po){$i?qi.push(po):qi.push(Object.assign(Object.assign({},po),{sortOrder:null}))}let Ji=null;return bi.forEach(po=>{Ji===null?(so(po),po.sortOrder&&(po.multiplePriority===!1?$i=!1:Ji=!0)):(Ji&&po.multiplePriority!==!1||($i=!1),so(po))}),qi},[Gt,qn]),jr=x.useMemo(()=>{var $i,bi;const qi=ui.map(so=>{let{column:Ji,sortOrder:po}=so;return{column:Ji,order:po}});return{sortColumns:qi,sortColumn:($i=qi[0])===null||$i===void 0?void 0:$i.column,sortOrder:(bi=qi[0])===null||bi===void 0?void 0:bi.order}},[ui]),Qr=$i=>{let bi;$i.multiplePriority===!1||!ui.length||ui[0].multiplePriority===!1?bi=[$i]:bi=[].concat((0,vr.Z)(ui.filter(qi=>{let{key:so}=qi;return so!==$i.key})),[$i]),Cr(bi),or(Os(bi),bi)};return[$i=>Fd(vt,$i,ui,Qr,An,Sn,Tn),ui,jr,()=>Os(ui)]};const $A=(wt,vt)=>wt.map(An=>{const Sn=Object.assign({},An);return Sn.title=qa(An.title,vt),"children"in Sn&&(Sn.children=$A(Sn.children,vt)),Sn});var Id=wt=>[x.useCallback(Gt=>$A(Gt,wt),[wt])],bf=Si((wt,vt)=>{const{_renderTimes:Gt}=wt,{_renderTimes:An}=vt;return Gt!==An}),GA=qr((wt,vt)=>{const{_renderTimes:Gt}=wt,{_renderTimes:An}=vt;return Gt!==An}),wa=ae(36237),Tl=ae(17835),TA=ae(63356),id=ae(16931),Tc=ae(51636),kc=wt=>{const{componentCls:vt,lineWidth:Gt,lineType:An,tableBorderColor:Sn,tableHeaderBg:Tn,tablePaddingVertical:or,tablePaddingHorizontal:qn,calc:Cr}=wt,hr=`${(0,wa.unit)(Gt)} ${An} ${Sn}`,ui=(jr,Qr,Or)=>({[`&${vt}-${jr}`]:{[`> ${vt}-container`]:{[`> ${vt}-content, > ${vt}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${vt}-expanded-row-fixed`]:{margin:`${(0,wa.unit)(Cr(Qr).mul(-1).equal())}
${(0,wa.unit)(Cr(Cr(Or).add(Gt)).mul(-1).equal())}`}}}}}});return{[`${vt}-wrapper`]:{[`${vt}${vt}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${vt}-title`]:{border:hr,borderBottom:0},[`> ${vt}-container`]:{borderInlineStart:hr,borderTop:hr,[`
> ${vt}-content,
> ${vt}-header,
> ${vt}-body,
> ${vt}-summary
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:hr},"> thead":{"> tr:not(:last-child) > th":{borderBottom:hr},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${vt}-cell-fix-right-first::after`]:{borderInlineEnd:hr}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${vt}-expanded-row-fixed`]:{margin:`${(0,wa.unit)(Cr(or).mul(-1).equal())} ${(0,wa.unit)(Cr(Cr(qn).add(Gt)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:Gt,bottom:0,borderInlineEnd:hr,content:'""'}}}}}},[`&${vt}-scroll-horizontal`]:{[`> ${vt}-container > ${vt}-body`]:{"> table > tbody":{[`
> tr${vt}-expanded-row,
> tr${vt}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},ui("middle",wt.tablePaddingVerticalMiddle,wt.tablePaddingHorizontalMiddle)),ui("small",wt.tablePaddingVerticalSmall,wt.tablePaddingHorizontalSmall)),{[`> ${vt}-footer`]:{border:hr,borderTop:0}}),[`${vt}-cell`]:{[`${vt}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,wa.unit)(Gt)} 0 ${(0,wa.unit)(Gt)} ${Tn}`}},[`${vt}-bordered ${vt}-cell-scrollbar`]:{borderInlineEnd:hr}}}},kA=wt=>{const{componentCls:vt}=wt;return{[`${vt}-wrapper`]:{[`${vt}-cell-ellipsis`]:Object.assign(Object.assign({},TA.vS),{wordBreak:"keep-all",[`
&${vt}-cell-fix-left-last,
&${vt}-cell-fix-right-first
`]:{overflow:"visible",[`${vt}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${vt}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Wp=wt=>{const{componentCls:vt}=wt;return{[`${vt}-wrapper`]:{[`${vt}-tbody > tr${vt}-placeholder`]:{textAlign:"center",color:wt.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:wt.colorBgContainer}}}}},LA=wt=>{const{componentCls:vt,antCls:Gt,motionDurationSlow:An,lineWidth:Sn,paddingXS:Tn,lineType:or,tableBorderColor:qn,tableExpandIconBg:Cr,tableExpandColumnWidth:hr,borderRadius:ui,tablePaddingVertical:jr,tablePaddingHorizontal:Qr,tableExpandedRowBg:Or,paddingXXS:Dr,expandIconMarginTop:$i,expandIconSize:bi,expandIconHalfInner:qi,expandIconScale:so,calc:Ji}=wt,po=`${(0,wa.unit)(Sn)} ${or} ${qn}`,Eo=Ji(Dr).sub(Sn).equal();return{[`${vt}-wrapper`]:{[`${vt}-expand-icon-col`]:{width:hr},[`${vt}-row-expand-icon-cell`]:{textAlign:"center",[`${vt}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${vt}-row-indent`]:{height:1,float:"left"},[`${vt}-row-expand-icon`]:Object.assign(Object.assign({},(0,TA.Nd)(wt)),{position:"relative",float:"left",width:bi,height:bi,color:"inherit",lineHeight:(0,wa.unit)(bi),background:Cr,border:po,borderRadius:ui,transform:`scale(${so})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${An} ease-out`,content:'""'},"&::before":{top:qi,insetInlineEnd:Eo,insetInlineStart:Eo,height:Sn},"&::after":{top:Eo,bottom:Eo,insetInlineStart:qi,width:Sn,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${vt}-row-indent + ${vt}-row-expand-icon`]:{marginTop:$i,marginInlineEnd:Tn},[`tr${vt}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Or}},[`${Gt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${vt}-expanded-row-fixed`]:{position:"relative",margin:`${(0,wa.unit)(Ji(jr).mul(-1).equal())} ${(0,wa.unit)(Ji(Qr).mul(-1).equal())}`,padding:`${(0,wa.unit)(jr)} ${(0,wa.unit)(Qr)}`}}}},Ks=wt=>{const{componentCls:vt,antCls:Gt,iconCls:An,tableFilterDropdownWidth:Sn,tableFilterDropdownSearchWidth:Tn,paddingXXS:or,paddingXS:qn,colorText:Cr,lineWidth:hr,lineType:ui,tableBorderColor:jr,headerIconColor:Qr,fontSizeSM:Or,tablePaddingHorizontal:Dr,borderRadius:$i,motionDurationSlow:bi,colorTextDescription:qi,colorPrimary:so,tableHeaderFilterActiveBg:Ji,colorTextDisabled:po,tableFilterDropdownBg:Eo,tableFilterDropdownHeight:Ro,controlItemBgHover:_o,controlItemBgActive:La,boxShadowSecondary:sa,filterDropdownMenuBg:ea,calc:Ho}=wt,jo=`${Gt}-dropdown`,Qo=`${vt}-filter-dropdown`,yo=`${Gt}-tree`,ho=`${(0,wa.unit)(hr)} ${ui} ${jr}`;return[{[`${vt}-wrapper`]:{[`${vt}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${vt}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:Ho(or).mul(-1).equal(),marginInline:`${(0,wa.unit)(or)} ${(0,wa.unit)(Ho(Dr).div(2).mul(-1).equal())}`,padding:`0 ${(0,wa.unit)(or)}`,color:Qr,fontSize:Or,borderRadius:$i,cursor:"pointer",transition:`all ${bi}`,"&:hover":{color:qi,background:Ji},"&.active":{color:so}}}},{[`${Gt}-dropdown`]:{[Qo]:Object.assign(Object.assign({},(0,TA.Wf)(wt)),{minWidth:Sn,backgroundColor:Eo,borderRadius:$i,boxShadow:sa,overflow:"hidden",[`${jo}-menu`]:{maxHeight:Ro,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:ea,"&:empty::after":{display:"block",padding:`${(0,wa.unit)(qn)} 0`,color:po,fontSize:Or,textAlign:"center",content:'"Not Found"'}},[`${Qo}-tree`]:{paddingBlock:`${(0,wa.unit)(qn)} 0`,paddingInline:qn,[yo]:{padding:0},[`${yo}-treenode ${yo}-node-content-wrapper:hover`]:{backgroundColor:_o},[`${yo}-treenode-checkbox-checked ${yo}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:La}}},[`${Qo}-search`]:{padding:qn,borderBottom:ho,"&-input":{input:{minWidth:Tn},[An]:{color:po}}},[`${Qo}-checkall`]:{width:"100%",marginBottom:or,marginInlineStart:or},[`${Qo}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,wa.unit)(Ho(qn).sub(hr).equal())} ${(0,wa.unit)(qn)}`,overflow:"hidden",borderTop:ho}})}},{[`${Gt}-dropdown ${Qo}, ${Qo}-submenu`]:{[`${Gt}-checkbox-wrapper + span`]:{paddingInlineStart:qn,color:Cr},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},ad=wt=>{const{componentCls:vt,lineWidth:Gt,colorSplit:An,motionDurationSlow:Sn,zIndexTableFixed:Tn,tableBg:or,zIndexTableSticky:qn,calc:Cr}=wt,hr=An;return{[`${vt}-wrapper`]:{[`
${vt}-cell-fix-left,
${vt}-cell-fix-right
`]:{position:"sticky !important",zIndex:Tn,background:or},[`
${vt}-cell-fix-left-first::after,
${vt}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:Cr(Gt).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${Sn}`,content:'""',pointerEvents:"none"},[`${vt}-cell-fix-left-all::after`]:{display:"none"},[`
${vt}-cell-fix-right-first::after,
${vt}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:Cr(Gt).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Sn}`,content:'""',pointerEvents:"none"},[`${vt}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Cr(qn).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${Sn}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${vt}-ping-left`]:{[`&:not(${vt}-has-fix-left) ${vt}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${hr}`},[`
${vt}-cell-fix-left-first::after,
${vt}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${hr}`},[`${vt}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${vt}-ping-right`]:{[`&:not(${vt}-has-fix-right) ${vt}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${hr}`},[`
${vt}-cell-fix-right-first::after,
${vt}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${hr}`}},[`${vt}-fixed-column-gapped`]:{[`
${vt}-cell-fix-left-first::after,
${vt}-cell-fix-left-last::after,
${vt}-cell-fix-right-first::after,
${vt}-cell-fix-right-last::after
`]:{boxShadow:"none"}}}}},vc=wt=>{const{componentCls:vt,antCls:Gt,margin:An}=wt;return{[`${vt}-wrapper`]:{[`${vt}-pagination${Gt}-pagination`]:{margin:`${(0,wa.unit)(An)} 0`},[`${vt}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:wt.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},xf=wt=>{const{componentCls:vt,tableRadius:Gt}=wt;return{[`${vt}-wrapper`]:{[vt]:{[`${vt}-title, ${vt}-header`]:{borderRadius:`${(0,wa.unit)(Gt)} ${(0,wa.unit)(Gt)} 0 0`},[`${vt}-title + ${vt}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${vt}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:Gt,borderStartEndRadius:Gt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Gt},"> *:last-child":{borderStartEndRadius:Gt}}},"&-footer":{borderRadius:`0 0 ${(0,wa.unit)(Gt)} ${(0,wa.unit)(Gt)}`}}}}},Dh=wt=>{const{componentCls:vt}=wt;return{[`${vt}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${vt}-pagination-left`]:{justifyContent:"flex-end"},[`${vt}-pagination-right`]:{justifyContent:"flex-start"},[`${vt}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${vt}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${vt}-row-indent`]:{float:"right"}}}}},rA=wt=>{const{componentCls:vt,antCls:Gt,iconCls:An,fontSizeIcon:Sn,padding:Tn,paddingXS:or,headerIconColor:qn,headerIconHoverColor:Cr,tableSelectionColumnWidth:hr,tableSelectedRowBg:ui,tableSelectedRowHoverBg:jr,tableRowHoverBg:Qr,tablePaddingHorizontal:Or,calc:Dr}=wt;return{[`${vt}-wrapper`]:{[`${vt}-selection-col`]:{width:hr,[`&${vt}-selection-col-with-dropdown`]:{width:Dr(hr).add(Sn).add(Dr(Tn).div(4)).equal()}},[`${vt}-bordered ${vt}-selection-col`]:{width:Dr(hr).add(Dr(or).mul(2)).equal(),[`&${vt}-selection-col-with-dropdown`]:{width:Dr(hr).add(Sn).add(Dr(Tn).div(4)).add(Dr(or).mul(2)).equal()}},[`
table tr th${vt}-selection-column,
table tr td${vt}-selection-column,
${vt}-selection-column
`]:{paddingInlineEnd:wt.paddingXS,paddingInlineStart:wt.paddingXS,textAlign:"center",[`${Gt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${vt}-selection-column${vt}-cell-fix-left`]:{zIndex:Dr(wt.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${vt}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${vt}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${vt}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${wt.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,wa.unit)(Dr(Or).div(4).equal()),[An]:{color:qn,fontSize:Sn,verticalAlign:"baseline","&:hover":{color:Cr}}},[`${vt}-tbody`]:{[`${vt}-row`]:{[`&${vt}-row-selected`]:{[`> ${vt}-cell`]:{background:ui,"&-row-hover":{background:jr}}},[`> ${vt}-cell-row-hover`]:{background:Qr}}}}}},ip=wt=>{const{componentCls:vt,tableExpandColumnWidth:Gt,calc:An}=wt,Sn=(Tn,or,qn,Cr)=>({[`${vt}${vt}-${Tn}`]:{fontSize:Cr,[`
${vt}-title,
${vt}-footer,
${vt}-cell,
${vt}-thead > tr > th,
${vt}-tbody > tr > th,
${vt}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${(0,wa.unit)(or)} ${(0,wa.unit)(qn)}`},[`${vt}-filter-trigger`]:{marginInlineEnd:(0,wa.unit)(An(qn).div(2).mul(-1).equal())},[`${vt}-expanded-row-fixed`]:{margin:`${(0,wa.unit)(An(or).mul(-1).equal())} ${(0,wa.unit)(An(qn).mul(-1).equal())}`},[`${vt}-tbody`]:{[`${vt}-wrapper:only-child ${vt}`]:{marginBlock:(0,wa.unit)(An(or).mul(-1).equal()),marginInline:`${(0,wa.unit)(An(Gt).sub(qn).equal())} ${(0,wa.unit)(An(qn).mul(-1).equal())}`}},[`${vt}-selection-extra`]:{paddingInlineStart:(0,wa.unit)(An(qn).div(4).equal())}}});return{[`${vt}-wrapper`]:Object.assign(Object.assign({},Sn("middle",wt.tablePaddingVerticalMiddle,wt.tablePaddingHorizontalMiddle,wt.tableFontSizeMiddle)),Sn("small",wt.tablePaddingVerticalSmall,wt.tablePaddingHorizontalSmall,wt.tableFontSizeSmall))}},Xd=wt=>{const{componentCls:vt,marginXXS:Gt,fontSizeIcon:An,headerIconColor:Sn,headerIconHoverColor:Tn}=wt;return{[`${vt}-wrapper`]:{[`${vt}-thead th${vt}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${wt.motionDurationSlow}, left 0s`,"&:hover":{background:wt.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:wt.colorPrimary},[`
&${vt}-cell-fix-left:hover,
&${vt}-cell-fix-right:hover
`]:{background:wt.tableFixedHeaderSortActiveBg}},[`${vt}-thead th${vt}-column-sort`]:{background:wt.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${vt}-column-sort`]:{background:wt.tableBodySortBg},[`${vt}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${vt}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${vt}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${vt}-column-sorter`]:{marginInlineStart:Gt,color:Sn,fontSize:0,transition:`color ${wt.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:An,"&.active":{color:wt.colorPrimary}},[`${vt}-column-sorter-up + ${vt}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${vt}-column-sorters:hover ${vt}-column-sorter`]:{color:Tn}}}},Yd=wt=>{const{componentCls:vt,opacityLoading:Gt,tableScrollThumbBg:An,tableScrollThumbBgHover:Sn,tableScrollThumbSize:Tn,tableScrollBg:or,zIndexTableSticky:qn,stickyScrollBarBorderRadius:Cr,lineWidth:hr,lineType:ui,tableBorderColor:jr}=wt,Qr=`${(0,wa.unit)(hr)} ${ui} ${jr}`;return{[`${vt}-wrapper`]:{[`${vt}-sticky`]:{"&-holder":{position:"sticky",zIndex:qn,background:wt.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,wa.unit)(Tn)} !important`,zIndex:qn,display:"flex",alignItems:"center",background:or,borderTop:Qr,opacity:Gt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Tn,backgroundColor:An,borderRadius:Cr,transition:`all ${wt.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Sn}}}}}}},iA=wt=>{const{componentCls:vt,lineWidth:Gt,tableBorderColor:An,calc:Sn}=wt,Tn=`${(0,wa.unit)(Gt)} ${wt.lineType} ${An}`;return{[`${vt}-wrapper`]:{[`${vt}-summary`]:{position:"relative",zIndex:wt.zIndexTableFixed,background:wt.tableBg,"> tr":{"> th, > td":{borderBottom:Tn}}},[`div${vt}-summary`]:{boxShadow:`0 ${(0,wa.unit)(Sn(Gt).mul(-1).equal())} 0 ${An}`}}}},oA=wt=>{const{componentCls:vt,motionDurationMid:Gt,lineWidth:An,lineType:Sn,tableBorderColor:Tn,calc:or}=wt,qn=`${(0,wa.unit)(An)} ${Sn} ${Tn}`,Cr=`${vt}-expanded-row-cell`;return{[`${vt}-wrapper`]:{[`${vt}-tbody-virtual`]:{[`${vt}-tbody-virtual-holder-inner`]:{[`
& > ${vt}-row,
& > div:not(${vt}-row) > ${vt}-row
`]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${vt}-cell`]:{borderBottom:qn,transition:`background ${Gt}`},[`${vt}-expanded-row`]:{[`${Cr}${Cr}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,wa.unit)(An)})`,borderInlineEnd:"none"}}},[`${vt}-bordered`]:{[`${vt}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:qn,position:"absolute"},[`${vt}-cell`]:{borderInlineEnd:qn,[`&${vt}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:or(An).mul(-1).equal(),borderInlineStart:qn}}},[`&${vt}-virtual`]:{[`${vt}-placeholder ${vt}-cell`]:{borderInlineEnd:qn,borderBottom:qn}}}}}};const Ou=wt=>{const{componentCls:vt,fontWeightStrong:Gt,tablePaddingVertical:An,tablePaddingHorizontal:Sn,tableExpandColumnWidth:Tn,lineWidth:or,lineType:qn,tableBorderColor:Cr,tableFontSize:hr,tableBg:ui,tableRadius:jr,tableHeaderTextColor:Qr,motionDurationMid:Or,tableHeaderBg:Dr,tableHeaderCellSplitColor:$i,tableFooterTextColor:bi,tableFooterBg:qi,calc:so}=wt,Ji=`${(0,wa.unit)(or)} ${qn} ${Cr}`;return{[`${vt}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,TA.dF)()),{[vt]:Object.assign(Object.assign({},(0,TA.Wf)(wt)),{fontSize:hr,background:ui,borderRadius:`${(0,wa.unit)(jr)} ${(0,wa.unit)(jr)} 0 0`,scrollbarColor:`${wt.tableScrollThumbBg} ${wt.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,wa.unit)(jr)} ${(0,wa.unit)(jr)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${vt}-cell,
${vt}-thead > tr > th,
${vt}-tbody > tr > th,
${vt}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${(0,wa.unit)(An)} ${(0,wa.unit)(Sn)}`,overflowWrap:"break-word"},[`${vt}-title`]:{padding:`${(0,wa.unit)(An)} ${(0,wa.unit)(Sn)}`},[`${vt}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Qr,fontWeight:Gt,textAlign:"start",background:Dr,borderBottom:Ji,transition:`background ${Or} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${vt}-selection-column):not(${vt}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:$i,transform:"translateY(-50%)",transition:`background-color ${Or}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${vt}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Or}, border-color ${Or}`,borderBottom:Ji,[`
> ${vt}-wrapper:only-child,
> ${vt}-expanded-row-fixed > ${vt}-wrapper:only-child
`]:{[vt]:{marginBlock:(0,wa.unit)(so(An).mul(-1).equal()),marginInline:`${(0,wa.unit)(so(Tn).sub(Sn).equal())}
${(0,wa.unit)(so(Sn).mul(-1).equal())}`,[`${vt}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Qr,fontWeight:Gt,textAlign:"start",background:Dr,borderBottom:Ji,transition:`background ${Or} ease`}}},[`${vt}-footer`]:{padding:`${(0,wa.unit)(An)} ${(0,wa.unit)(Sn)}`,color:bi,background:qi}})}},ld=wt=>{const{colorFillAlter:vt,colorBgContainer:Gt,colorTextHeading:An,colorFillSecondary:Sn,colorFillContent:Tn,controlItemBgActive:or,controlItemBgActiveHover:qn,padding:Cr,paddingSM:hr,paddingXS:ui,colorBorderSecondary:jr,borderRadiusLG:Qr,controlHeight:Or,colorTextPlaceholder:Dr,fontSize:$i,fontSizeSM:bi,lineHeight:qi,lineWidth:so,colorIcon:Ji,colorIconHover:po,opacityLoading:Eo,controlInteractiveSize:Ro}=wt,_o=new Tl.FastColor(Sn).onBackground(Gt).toHexString(),La=new Tl.FastColor(Tn).onBackground(Gt).toHexString(),sa=new Tl.FastColor(vt).onBackground(Gt).toHexString(),ea=new Tl.FastColor(Ji),Ho=new Tl.FastColor(po),jo=Ro/2-so,Qo=jo*2+so*3;return{headerBg:sa,headerColor:An,headerSortActiveBg:_o,headerSortHoverBg:La,bodySortBg:sa,rowHoverBg:sa,rowSelectedBg:or,rowSelectedHoverBg:qn,rowExpandedBg:vt,cellPaddingBlock:Cr,cellPaddingInline:Cr,cellPaddingBlockMD:hr,cellPaddingInlineMD:ui,cellPaddingBlockSM:ui,cellPaddingInlineSM:ui,borderColor:jr,headerBorderRadius:Qr,footerBg:sa,footerColor:An,cellFontSize:$i,cellFontSizeMD:$i,cellFontSizeSM:$i,headerSplitColor:jr,fixedHeaderSortActiveBg:_o,headerFilterHoverBg:Tn,filterDropdownMenuBg:Gt,filterDropdownBg:Gt,expandIconBg:Gt,selectionColumnWidth:Or,stickyScrollBarBg:Dr,stickyScrollBarBorderRadius:100,expandIconMarginTop:($i*qi-so*3)/2-Math.ceil((bi*1.4-so*3)/2),headerIconColor:ea.clone().setA(ea.a*Eo).toRgbString(),headerIconHoverColor:Ho.clone().setA(Ho.a*Eo).toRgbString(),expandIconHalfInner:jo,expandIconSize:Qo,expandIconScale:Ro/Qo}},Jd=2;var Bf=(0,id.I$)("Table",wt=>{const{colorTextHeading:vt,colorSplit:Gt,colorBgContainer:An,controlInteractiveSize:Sn,headerBg:Tn,headerColor:or,headerSortActiveBg:qn,headerSortHoverBg:Cr,bodySortBg:hr,rowHoverBg:ui,rowSelectedBg:jr,rowSelectedHoverBg:Qr,rowExpandedBg:Or,cellPaddingBlock:Dr,cellPaddingInline:$i,cellPaddingBlockMD:bi,cellPaddingInlineMD:qi,cellPaddingBlockSM:so,cellPaddingInlineSM:Ji,borderColor:po,footerBg:Eo,footerColor:Ro,headerBorderRadius:_o,cellFontSize:La,cellFontSizeMD:sa,cellFontSizeSM:ea,headerSplitColor:Ho,fixedHeaderSortActiveBg:jo,headerFilterHoverBg:Qo,filterDropdownBg:yo,expandIconBg:ho,selectionColumnWidth:To,stickyScrollBarBg:Zo,calc:na}=wt,Bo=(0,Tc.mergeToken)(wt,{tableFontSize:La,tableBg:An,tableRadius:_o,tablePaddingVertical:Dr,tablePaddingHorizontal:$i,tablePaddingVerticalMiddle:bi,tablePaddingHorizontalMiddle:qi,tablePaddingVerticalSmall:so,tablePaddingHorizontalSmall:Ji,tableBorderColor:po,tableHeaderTextColor:or,tableHeaderBg:Tn,tableFooterTextColor:Ro,tableFooterBg:Eo,tableHeaderCellSplitColor:Ho,tableHeaderSortBg:qn,tableHeaderSortHoverBg:Cr,tableBodySortBg:hr,tableFixedHeaderSortActiveBg:jo,tableHeaderFilterActiveBg:Qo,tableFilterDropdownBg:yo,tableRowHoverBg:ui,tableSelectedRowBg:jr,tableSelectedRowHoverBg:Qr,zIndexTableFixed:Jd,zIndexTableSticky:na(Jd).add(1).equal({unit:!1}),tableFontSizeMiddle:sa,tableFontSizeSmall:ea,tableSelectionColumnWidth:To,tableExpandIconBg:ho,tableExpandColumnWidth:na(Sn).add(na(wt.padding).mul(2)).equal(),tableExpandedRowBg:Or,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Zo,tableScrollThumbBgHover:vt,tableScrollBg:Gt});return[Ou(Bo),vc(Bo),iA(Bo),Xd(Bo),Ks(Bo),kc(Bo),xf(Bo),LA(Bo),iA(Bo),Wp(Bo),rA(Bo),ad(Bo),Yd(Bo),kA(Bo),ip(Bo),Dh(Bo),oA(Bo)]},ld,{unitless:{expandIconScale:!0}});const ap=[],sp=(wt,vt)=>{var Gt,An;const{prefixCls:Sn,className:Tn,rootClassName:or,style:qn,size:Cr,bordered:hr,dropdownPrefixCls:ui,dataSource:jr,pagination:Qr,rowSelection:Or,rowKey:Dr="key",rowClassName:$i,columns:bi,children:qi,childrenColumnName:so,onChange:Ji,getPopupContainer:po,loading:Eo,expandIcon:Ro,expandable:_o,expandedRowRender:La,expandIconColumnIndex:sa,indentSize:ea,scroll:Ho,sortDirections:jo,locale:Qo,showSorterTooltip:yo={target:"full-header"},virtual:ho}=wt,To=(0,Go.ln)("Table"),Zo=x.useMemo(()=>bi||fr(qi),[bi,qi]),na=x.useMemo(()=>Zo.some(Ka=>Ka.responsive),[Zo]),Bo=(0,Kl.Z)(na),Ja=x.useMemo(()=>{const Ka=new Set(Object.keys(Bo).filter(cs=>Bo[cs]));return Zo.filter(cs=>!cs.responsive||cs.responsive.some(kl=>Ka.has(kl)))},[Zo,Bo]),za=(0,Fa.Z)(wt,["className","style","columns"]),{locale:Dl=Zl.Z,direction:xl,table:ol,renderEmpty:lo,getPrefixCls:Yl,getPopupContainer:os}=x.useContext(nl.E_),rs=(0,Js.Z)(Cr),il=Object.assign(Object.assign({},Dl.Table),Qo),cu=jr||ap,ra=Yl("table",Sn),xa=Yl("dropdown",ui),[,Wo]=(0,FA.ZP)(),Oo=(0,lu.Z)(ra),[As,Es,Vs]=Bf(ra,Oo),Zs=Object.assign(Object.assign({childrenColumnName:so,expandIconColumnIndex:sa},_o),{expandIcon:(Gt=_o==null?void 0:_o.expandIcon)!==null&&Gt!==void 0?Gt:(An=ol==null?void 0:ol.expandable)===null||An===void 0?void 0:An.expandIcon}),{childrenColumnName:al="children"}=Zs,hu=x.useMemo(()=>cu.some(Ka=>Ka==null?void 0:Ka[al])?"nest":La||_o!=null&&_o.expandedRowRender?"row":null,[cu]),la={body:x.useRef(null)},qo=Ia(ra),bs=x.useRef(null),qs=x.useRef(null);el(vt,()=>Object.assign(Object.assign({},qs.current),{nativeElement:bs.current}));const Xs=x.useMemo(()=>typeof Dr=="function"?Dr:Ka=>Ka==null?void 0:Ka[Dr],[Dr]),[pu]=WA(cu,al,Xs),Nl={},aA=function(Ka,cs){let kl=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var ou,Bu,Eu,Xu;const Qu=Object.assign(Object.assign({},Nl),Ka);kl&&((ou=Nl.resetPagination)===null||ou===void 0||ou.call(Nl),!((Bu=Qu.pagination)===null||Bu===void 0)&&Bu.current&&(Qu.pagination.current=1),Qr&&((Eu=Qr.onChange)===null||Eu===void 0||Eu.call(Qr,1,(Xu=Qu.pagination)===null||Xu===void 0?void 0:Xu.pageSize))),Ho&&Ho.scrollToFirstRowOnChange!==!1&&la.body.current&&(0,tl.Z)(0,{getContainer:()=>la.body.current}),Ji==null||Ji(Qu.pagination,Qu.filters,Qu.sorter,{currentDataSource:Ua($u(cu,Qu.sorterStates,al),Qu.filterStates,al),action:cs})},Bl=(Ka,cs)=>{aA({sorter:Ka,sorterStates:cs},"sort",!1)},[gs,sl,ll,du]=Ih({prefixCls:ra,mergedColumns:Ja,onSorterChange:Bl,sortDirections:jo||["ascend","descend"],tableLocale:il,showSorterTooltip:yo}),Ol=x.useMemo(()=>$u(cu,sl,al),[cu,sl]);Nl.sorter=du(),Nl.sorterStates=sl;const ms=(Ka,cs)=>{aA({filters:Ka,filterStates:cs},"filter",!0)},[gl,Ss,ml]=Vl({prefixCls:ra,locale:il,dropdownPrefixCls:xa,mergedColumns:Ja,onFilterChange:ms,getPopupContainer:po||os,rootClassName:Ne()(or,Oo)}),Jl=Ua(Ol,Ss,al);Nl.filters=ml,Nl.filterStates=Ss;const Pu=x.useMemo(()=>{const Ka={};return Object.keys(ml).forEach(cs=>{ml[cs]!==null&&(Ka[cs]=ml[cs])}),Object.assign(Object.assign({},ll),{filters:Ka})},[ll,ml]),[_u]=Id(Pu),VA=(Ka,cs)=>{aA({pagination:Object.assign(Object.assign({},Nl.pagination),{current:Ka,pageSize:cs})},"paginate")},[ul,Nd]=nc(Jl.length,VA,Qr);Nl.pagination=Qr===!1?{}:Xl(ul,Qr),Nl.resetPagination=Nd;const Ru=x.useMemo(()=>{if(Qr===!1||!ul.pageSize)return Jl;const{current:Ka=1,total:cs,pageSize:kl=fc}=ul;return Jl.length<cs?Jl.length>kl?Jl.slice((Ka-1)*kl,Ka*kl):Jl:Jl.slice((Ka-1)*kl,Ka*kl)},[!!Qr,Jl,ul==null?void 0:ul.current,ul==null?void 0:ul.pageSize,ul==null?void 0:ul.total]),[Gu,ju]=mo({prefixCls:ra,data:Jl,pageData:Ru,getRowKey:Xs,getRecordByKey:pu,expandType:hu,childrenColumnName:al,locale:il,getPopupContainer:po||os},Or),Vu=(Ka,cs,kl)=>{let ou;return typeof $i=="function"?ou=Ne()($i(Ka,cs,kl)):ou=Ne()($i),Ne()({[`${ra}-row-selected`]:ju.has(Xs(Ka,cs))},ou)};Zs.__PARENT_RENDER_ICON__=Zs.expandIcon,Zs.expandIcon=Zs.expandIcon||Ro||pa(il),hu==="nest"&&Zs.expandIconColumnIndex===void 0?Zs.expandIconColumnIndex=Or?1:0:Zs.expandIconColumnIndex>0&&Or&&(Zs.expandIconColumnIndex-=1),typeof Zs.indentSize!="number"&&(Zs.indentSize=typeof ea=="number"?ea:15);const Al=x.useCallback(Ka=>_u(Gu(gl(gs(Ka)))),[gs,gl,Gu]);let vA,bc;if(Qr!==!1&&(ul!=null&&ul.total)){let Ka;ul.size?Ka=ul.size:Ka=rs==="small"||rs==="middle"?"small":void 0;const cs=Bu=>x.createElement(Lu.Z,Object.assign({},ul,{className:Ne()(`${ra}-pagination ${ra}-pagination-${Bu}`,ul.className),size:Ka})),kl=xl==="rtl"?"left":"right",{position:ou}=ul;if(ou!==null&&Array.isArray(ou)){const Bu=ou.find(Qu=>Qu.includes("top")),Eu=ou.find(Qu=>Qu.includes("bottom")),Xu=ou.every(Qu=>`${Qu}`=="none");!Bu&&!Eu&&!Xu&&(bc=cs(kl)),Bu&&(vA=cs(Bu.toLowerCase().replace("top",""))),Eu&&(bc=cs(Eu.toLowerCase().replace("bottom","")))}else bc=cs(kl)}let MA;typeof Eo=="boolean"?MA={spinning:Eo}:typeof Eo=="object"&&(MA=Object.assign({spinning:!0},Eo));const XA=Ne()(Vs,Oo,`${ra}-wrapper`,ol==null?void 0:ol.className,{[`${ra}-wrapper-rtl`]:xl==="rtl"},Tn,or,Es),qd=Object.assign(Object.assign({},ol==null?void 0:ol.style),qn),ef=typeof(Qo==null?void 0:Qo.emptyText)!="undefined"?Qo.emptyText:(lo==null?void 0:lo("Table"))||x.createElement(hl.Z,{componentName:"Table"}),Fs=ho?GA:bf,ud={},Ef=x.useMemo(()=>{const{fontSize:Ka,lineHeight:cs,lineWidth:kl,padding:ou,paddingXS:Bu,paddingSM:Eu}=Wo,Xu=Math.floor(Ka*cs);switch(rs){case"middle":return Eu*2+Xu+kl;case"small":return Bu*2+Xu+kl;default:return ou*2+Xu+kl}},[Wo,rs]);return ho&&(ud.listItemHeight=Ef),As(x.createElement("div",{ref:bs,className:XA,style:qd},x.createElement(dl.Z,Object.assign({spinning:!1},MA),vA,x.createElement(Fs,Object.assign({},ud,za,{ref:qs,columns:Ja,direction:xl,expandable:Zs,prefixCls:ra,className:Ne()({[`${ra}-middle`]:rs==="middle",[`${ra}-small`]:rs==="small",[`${ra}-bordered`]:hr,[`${ra}-empty`]:cu.length===0},Vs,Oo,Es),data:Ru,rowKey:Xs,rowClassName:Vu,emptyText:ef,internalHooks:Le,internalRefs:la,transformColumns:Al,getContainerWidth:qo})),bc)))};var lp=x.forwardRef(sp);const eh=(wt,vt)=>{const Gt=x.useRef(0);return Gt.current+=1,x.createElement(lp,Object.assign({},wt,{ref:vt,_renderTimes:Gt.current}))},wc=x.forwardRef(eh);wc.SELECTION_COLUMN=da,wc.EXPAND_COLUMN=ct,wc.SELECTION_ALL=Wa,wc.SELECTION_INVERT=Ds,wc.SELECTION_NONE=zs,wc.Column=ro,wc.ColumnGroup=oi,wc.Summary=gt;var Dd=wc,up=Dd},18287:function(Vn,Tt,ae){"use strict";ae.d(Tt,{default:function(){return Kt}});var x=ae(3741),ct=ae(94480),Le=ae(59301),Je=ae(52671),He=ae(8657),Se=ae(54476),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},fe=Ue,Ce=ae(7657),oe=function(Nt,Qt){return Le.createElement(Ce.Z,(0,Se.Z)({},Nt,{ref:Qt,icon:fe}))},Oe=Le.forwardRef(oe),ve=Oe,Me=ae(92310),Ie=ae.n(Me),_e=ae(82661),we=ae(34061),xe=ae(48755),Ee=ae(56082),ke=ae(86641),ze=ae(57700),Qe=ae(12425);const Re=4;function et(rt){const{dropPosition:Nt,dropLevelOffset:Qt,prefixCls:pn,indent:Ot,direction:vn="ltr"}=rt,_t=vn==="ltr"?"left":"right",Fn=vn==="ltr"?"right":"left",on={[_t]:-Qt*Ot+Re,[Fn]:0};switch(Nt){case-1:on.top=-3;break;case 1:on.bottom=-3;break;default:on.bottom=-3,on[_t]=Ot+Re;break}return Le.createElement("div",{style:on,className:`${pn}-drop-indicator`})}var Ge=et,lt=ae(85278),ft=Le.forwardRef((rt,Nt)=>{var Qt;const{getPrefixCls:pn,direction:Ot,virtual:vn,tree:_t}=Le.useContext(xe.E_),{prefixCls:Fn,className:on,showIcon:de=!1,showLine:ge,switcherIcon:ie,switcherLoadingIcon:ee,blockNode:le=!1,children:se,checkable:Be=!1,selectable:$e=!0,draggable:at,motion:pt,style:gt}=rt,Bt=pn("tree",Fn),Lt=pn(),Rt=pt!=null?pt:Object.assign(Object.assign({},(0,ke.Z)(Lt)),{motionAppear:!1}),Ct=Object.assign(Object.assign({},rt),{checkable:Be,selectable:$e,showIcon:de,motion:Rt,blockNode:le,showLine:!!ge,dropIndicatorRender:Ge}),[st,$t,Vt]=(0,Qe.ZP)(Bt),[,bn]=(0,ze.ZP)(),an=bn.paddingXS/2+(((Qt=bn.Tree)===null||Qt===void 0?void 0:Qt.titleHeight)||bn.controlHeightSM),en=Le.useMemo(()=>{if(!at)return!1;let En={};switch(typeof at){case"function":En.nodeDraggable=at;break;case"object":En=Object.assign({},at);break;default:break}return En.icon!==!1&&(En.icon=En.icon||Le.createElement(Ee.Z,null)),En},[at]),Hn=En=>Le.createElement(lt.Z,{prefixCls:Bt,switcherIcon:ie,switcherLoadingIcon:ee,treeNodeProps:En,showLine:ge});return st(Le.createElement(x.ZP,Object.assign({itemHeight:an,ref:Nt,virtual:vn},Ct,{style:Object.assign(Object.assign({},_t==null?void 0:_t.style),gt),prefixCls:Bt,className:Ie()({[`${Bt}-icon-hide`]:!de,[`${Bt}-block-node`]:le,[`${Bt}-unselectable`]:!$e,[`${Bt}-rtl`]:Ot==="rtl"},_t==null?void 0:_t.className,on,$t,Vt),direction:Ot,checkable:Be&&Le.createElement("span",{className:`${Bt}-checkbox-inner`}),selectable:$e,switcherIcon:Hn,draggable:en}),se))});const bt=0,je=1,ht=2;function Ne(rt,Nt,Qt){const{key:pn,children:Ot}=Qt;function vn(_t){const Fn=_t[pn],on=_t[Ot];Nt(Fn,_t)!==!1&&Ne(on||[],Nt,Qt)}rt.forEach(vn)}function We(rt){let{treeData:Nt,expandedKeys:Qt,startKey:pn,endKey:Ot,fieldNames:vn}=rt;const _t=[];let Fn=bt;if(pn&&pn===Ot)return[pn];if(!pn||!Ot)return[];function on(de){return de===pn||de===Ot}return Ne(Nt,de=>{if(Fn===ht)return!1;if(on(de)){if(_t.push(de),Fn===bt)Fn=je;else if(Fn===je)return Fn=ht,!1}else Fn===je&&_t.push(de);return Qt.includes(de)},(0,we.w$)(vn)),_t}function Ut(rt,Nt,Qt){const pn=(0,ct.Z)(Nt),Ot=[];return Ne(rt,(vn,_t)=>{const Fn=pn.indexOf(vn);return Fn!==-1&&(Ot.push(_t),pn.splice(Fn,1)),!!pn.length},(0,we.w$)(Qt)),Ot}var ot=function(rt,Nt){var Qt={};for(var pn in rt)Object.prototype.hasOwnProperty.call(rt,pn)&&Nt.indexOf(pn)<0&&(Qt[pn]=rt[pn]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,pn=Object.getOwnPropertySymbols(rt);Ot<pn.length;Ot++)Nt.indexOf(pn[Ot])<0&&Object.prototype.propertyIsEnumerable.call(rt,pn[Ot])&&(Qt[pn[Ot]]=rt[pn[Ot]]);return Qt};function yt(rt){const{isLeaf:Nt,expanded:Qt}=rt;return Nt?Le.createElement(Je.Z,null):Qt?Le.createElement(He.Z,null):Le.createElement(ve,null)}function Ft(rt){let{treeData:Nt,children:Qt}=rt;return Nt||(0,we.zn)(Qt)}const Ze=(rt,Nt)=>{var{defaultExpandAll:Qt,defaultExpandParent:pn,defaultExpandedKeys:Ot}=rt,vn=ot(rt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const _t=Le.useRef(null),Fn=Le.useRef(null),on=()=>{const{keyEntities:st}=(0,we.I8)(Ft(vn));let $t;return Qt?$t=Object.keys(st):pn?$t=(0,_e.r7)(vn.expandedKeys||Ot||[],st):$t=vn.expandedKeys||Ot||[],$t},[de,ge]=Le.useState(vn.selectedKeys||vn.defaultSelectedKeys||[]),[ie,ee]=Le.useState(()=>on());Le.useEffect(()=>{"selectedKeys"in vn&&ge(vn.selectedKeys)},[vn.selectedKeys]),Le.useEffect(()=>{"expandedKeys"in vn&&ee(vn.expandedKeys)},[vn.expandedKeys]);const le=(st,$t)=>{var Vt;return"expandedKeys"in vn||ee(st),(Vt=vn.onExpand)===null||Vt===void 0?void 0:Vt.call(vn,st,$t)},se=(st,$t)=>{var Vt;const{multiple:bn,fieldNames:an}=vn,{node:en,nativeEvent:Hn}=$t,{key:En=""}=en,Mt=Ft(vn),sn=Object.assign(Object.assign({},$t),{selected:!0}),Dn=(Hn==null?void 0:Hn.ctrlKey)||(Hn==null?void 0:Hn.metaKey),Wn=Hn==null?void 0:Hn.shiftKey;let It;bn&&Dn?(It=st,_t.current=En,Fn.current=It,sn.selectedNodes=Ut(Mt,It,an)):bn&&Wn?(It=Array.from(new Set([].concat((0,ct.Z)(Fn.current||[]),(0,ct.Z)(We({treeData:Mt,expandedKeys:ie,startKey:En,endKey:_t.current,fieldNames:an}))))),sn.selectedNodes=Ut(Mt,It,an)):(It=[En],_t.current=En,Fn.current=It,sn.selectedNodes=Ut(Mt,It,an)),(Vt=vn.onSelect)===null||Vt===void 0||Vt.call(vn,It,sn),"selectedKeys"in vn||ge(It)},{getPrefixCls:Be,direction:$e}=Le.useContext(xe.E_),{prefixCls:at,className:pt,showIcon:gt=!0,expandAction:Bt="click"}=vn,Lt=ot(vn,["prefixCls","className","showIcon","expandAction"]),Rt=Be("tree",at),Ct=Ie()(`${Rt}-directory`,{[`${Rt}-directory-rtl`]:$e==="rtl"},pt);return Le.createElement(ft,Object.assign({icon:yt,ref:Nt,blockNode:!0},Lt,{showIcon:gt,expandAction:Bt,prefixCls:Rt,className:Ct,expandedKeys:ie,selectedKeys:de,onSelect:se,onExpand:le}))};var At=Le.forwardRef(Ze);const Zt=ft;Zt.DirectoryTree=At,Zt.TreeNode=x.OF;var Kt=Zt},12425:function(Vn,Tt,ae){"use strict";ae.d(Tt,{ZP:function(){return _e},Yk:function(){return ve},TM:function(){return Me}});var x=ae(36237),ct=ae(36170),Le=ae(63356),Je=ae(34961),He=ae(51636),Se=ae(16931);const Ue=we=>{let{treeCls:xe,treeNodeCls:Ee,directoryNodeSelectedBg:ke,directoryNodeSelectedColor:ze,motionDurationMid:Qe,borderRadius:Re,controlItemBgHover:et}=we;return{[`${xe}${xe}-directory ${Ee}`]:{[`${xe}-node-content-wrapper`]:{position:"static",[`> *:not(${xe}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${Qe}`,content:'""',borderRadius:Re},"&:hover:before":{background:et}},[`${xe}-switcher, ${xe}-checkbox, ${xe}-draggable-icon`]:{zIndex:1},"&-selected":{[`${xe}-switcher, ${xe}-draggable-icon`]:{color:ze},[`${xe}-node-content-wrapper`]:{color:ze,background:"transparent","&:before, &:hover:before":{background:ke}}}}}},fe=new x.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Ce=(we,xe)=>({[`.${we}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${xe.motionDurationSlow}`}}}),oe=(we,xe)=>({[`.${we}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:xe.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,x.unit)(xe.lineWidthBold)} solid ${xe.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Oe=(we,xe)=>{const{treeCls:Ee,treeNodeCls:ke,treeNodePadding:ze,titleHeight:Qe,indentSize:Re,nodeSelectedBg:et,nodeHoverBg:Ge,colorTextQuaternary:lt,controlItemBgActiveDisabled:it}=xe;return{[Ee]:Object.assign(Object.assign({},(0,Le.Wf)(xe)),{background:xe.colorBgContainer,borderRadius:xe.borderRadius,transition:`background-color ${xe.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${Ee}-rtl ${Ee}-switcher_close ${Ee}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${Ee}-active-focused)`]:Object.assign({},(0,Le.oN)(xe)),[`${Ee}-list-holder-inner`]:{alignItems:"flex-start"},[`&${Ee}-block-node`]:{[`${Ee}-list-holder-inner`]:{alignItems:"stretch",[`${Ee}-node-content-wrapper`]:{flex:"auto"},[`${ke}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${xe.colorPrimary}`,opacity:0,animationName:fe,animationDuration:xe.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:xe.borderRadius}}},[ke]:{display:"flex",alignItems:"flex-start",marginBottom:ze,lineHeight:(0,x.unit)(Qe),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:ze},[`&-disabled ${Ee}-node-content-wrapper`]:{color:xe.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${Ee}-checkbox-disabled + ${Ee}-node-selected,&${ke}-disabled${ke}-selected ${Ee}-node-content-wrapper`]:{backgroundColor:it},[`${Ee}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${ke}-disabled)`]:{[`${Ee}-node-content-wrapper`]:{"&:hover":{color:xe.nodeHoverColor}}},[`&-active ${Ee}-node-content-wrapper`]:{background:xe.controlItemBgHover},[`&:not(${ke}-disabled).filter-node ${Ee}-title`]:{color:xe.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${Ee}-draggable-icon`]:{flexShrink:0,width:Qe,textAlign:"center",visibility:"visible",color:lt},[`&${ke}-disabled ${Ee}-draggable-icon`]:{visibility:"hidden"}}},[`${Ee}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:Re}},[`${Ee}-draggable-icon`]:{visibility:"hidden"},[`${Ee}-switcher, ${Ee}-checkbox`]:{marginInlineEnd:xe.calc(xe.calc(Qe).sub(xe.controlInteractiveSize)).div(2).equal()},[`${Ee}-switcher`]:Object.assign(Object.assign({},Ce(we,xe)),{position:"relative",flex:"none",alignSelf:"stretch",width:Qe,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${xe.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:Qe,height:Qe,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:xe.borderRadius,transition:`all ${xe.motionDurationSlow}`},[`&:not(${Ee}-switcher-noop):hover:before`]:{backgroundColor:xe.colorBgTextHover},[`&_close ${Ee}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:xe.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:xe.calc(Qe).div(2).equal(),bottom:xe.calc(ze).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${xe.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:xe.calc(xe.calc(Qe).div(2).equal()).mul(.8).equal(),height:xe.calc(Qe).div(2).equal(),borderBottom:`1px solid ${xe.colorBorder}`,content:'""'}}}),[`${Ee}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:Qe,paddingBlock:0,paddingInline:xe.paddingXS,background:"transparent",borderRadius:xe.borderRadius,cursor:"pointer",transition:`all ${xe.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},oe(we,xe)),{"&:hover":{backgroundColor:Ge},[`&${Ee}-node-selected`]:{color:xe.nodeSelectedColor,backgroundColor:et},[`${Ee}-iconEle`]:{display:"inline-block",width:Qe,height:Qe,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${Ee}-unselectable ${Ee}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${ke}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${xe.colorPrimary}`},"&-show-line":{[`${Ee}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:xe.calc(Qe).div(2).equal(),bottom:xe.calc(ze).mul(-1).equal(),borderInlineEnd:`1px solid ${xe.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${Ee}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${ke}-leaf-last ${Ee}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,x.unit)(xe.calc(Qe).div(2).equal())} !important`}})}},ve=function(we,xe){let Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const ke=`.${we}`,ze=`${ke}-treenode`,Qe=xe.calc(xe.paddingXS).div(2).equal(),Re=(0,He.mergeToken)(xe,{treeCls:ke,treeNodeCls:ze,treeNodePadding:Qe});return[Oe(we,Re),Ee&&Ue(Re)].filter(Boolean)},Me=we=>{const{controlHeightSM:xe,controlItemBgHover:Ee,controlItemBgActive:ke}=we,ze=xe;return{titleHeight:ze,indentSize:ze,nodeHoverBg:Ee,nodeHoverColor:we.colorText,nodeSelectedBg:ke,nodeSelectedColor:we.colorText}},Ie=we=>{const{colorTextLightSolid:xe,colorPrimary:Ee}=we;return Object.assign(Object.assign({},Me(we)),{directoryNodeSelectedColor:xe,directoryNodeSelectedBg:Ee})};var _e=(0,Se.I$)("Tree",(we,xe)=>{let{prefixCls:Ee}=xe;return[{[we.componentCls]:(0,ct.C2)(`${Ee}-checkbox`,we)},ve(Ee,we),(0,Je.Z)(we)]},Ie)},85278:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return xe}});var x=ae(59301),ct=ae(54476),Le={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Je=Le,He=ae(7657),Se=function(ke,ze){return x.createElement(He.Z,(0,ct.Z)({},ke,{ref:ze,icon:Je}))},Ue=x.forwardRef(Se),fe=Ue,Ce=ae(52671),oe=ae(58617),Oe=ae(15075),ve=ae(43531),Me=ae(92310),Ie=ae.n(Me),_e=ae(22703),xe=Ee=>{const{prefixCls:ke,switcherIcon:ze,treeNodeProps:Qe,showLine:Re,switcherLoadingIcon:et}=Ee,{isLeaf:Ge,expanded:lt,loading:it}=Qe;if(it)return x.isValidElement(et)?et:x.createElement(oe.Z,{className:`${ke}-switcher-loading-icon`});let ft;if(Re&&typeof Re=="object"&&(ft=Re.showLeafIcon),Ge){if(!Re)return null;if(typeof ft!="boolean"&&ft){const ht=typeof ft=="function"?ft(Qe):ft,Ne=`${ke}-switcher-line-custom-icon`;return x.isValidElement(ht)?(0,_e.Tm)(ht,{className:Ie()(ht.props.className||"",Ne)}):ht}return ft?x.createElement(Ce.Z,{className:`${ke}-switcher-line-icon`}):x.createElement("span",{className:`${ke}-switcher-leaf-line`})}const bt=`${ke}-switcher-icon`,je=typeof ze=="function"?ze(Qe):ze;return x.isValidElement(je)?(0,_e.Tm)(je,{className:Ie()(je.props.className||"",bt)}):je!==void 0?je:Re?lt?x.createElement(Oe.Z,{className:`${ke}-switcher-line-icon`}):x.createElement(ve.Z,{className:`${ke}-switcher-line-icon`}):x.createElement(fe,{className:bt})}},86251:function(Vn,Tt){"use strict";Tt.byteLength=Ue,Tt.toByteArray=Ce,Tt.fromByteArray=ve;for(var ae=[],x=[],ct=typeof Uint8Array!="undefined"?Uint8Array:Array,Le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Je=0,He=Le.length;Je<He;++Je)ae[Je]=Le[Je],x[Le.charCodeAt(Je)]=Je;x[45]=62,x[95]=63;function Se(Me){var Ie=Me.length;if(Ie%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var _e=Me.indexOf("=");_e===-1&&(_e=Ie);var we=_e===Ie?0:4-_e%4;return[_e,we]}function Ue(Me){var Ie=Se(Me),_e=Ie[0],we=Ie[1];return(_e+we)*3/4-we}function fe(Me,Ie,_e){return(Ie+_e)*3/4-_e}function Ce(Me){var Ie,_e=Se(Me),we=_e[0],xe=_e[1],Ee=new ct(fe(Me,we,xe)),ke=0,ze=xe>0?we-4:we,Qe;for(Qe=0;Qe<ze;Qe+=4)Ie=x[Me.charCodeAt(Qe)]<<18|x[Me.charCodeAt(Qe+1)]<<12|x[Me.charCodeAt(Qe+2)]<<6|x[Me.charCodeAt(Qe+3)],Ee[ke++]=Ie>>16&255,Ee[ke++]=Ie>>8&255,Ee[ke++]=Ie&255;return xe===2&&(Ie=x[Me.charCodeAt(Qe)]<<2|x[Me.charCodeAt(Qe+1)]>>4,Ee[ke++]=Ie&255),xe===1&&(Ie=x[Me.charCodeAt(Qe)]<<10|x[Me.charCodeAt(Qe+1)]<<4|x[Me.charCodeAt(Qe+2)]>>2,Ee[ke++]=Ie>>8&255,Ee[ke++]=Ie&255),Ee}function oe(Me){return ae[Me>>18&63]+ae[Me>>12&63]+ae[Me>>6&63]+ae[Me&63]}function Oe(Me,Ie,_e){for(var we,xe=[],Ee=Ie;Ee<_e;Ee+=3)we=(Me[Ee]<<16&16711680)+(Me[Ee+1]<<8&65280)+(Me[Ee+2]&255),xe.push(oe(we));return xe.join("")}function ve(Me){for(var Ie,_e=Me.length,we=_e%3,xe=[],Ee=16383,ke=0,ze=_e-we;ke<ze;ke+=Ee)xe.push(Oe(Me,ke,ke+Ee>ze?ze:ke+Ee));return we===1?(Ie=Me[_e-1],xe.push(ae[Ie>>2]+ae[Ie<<4&63]+"==")):we===2&&(Ie=(Me[_e-2]<<8)+Me[_e-1],xe.push(ae[Ie>>10]+ae[Ie>>4&63]+ae[Ie<<2&63]+"=")),xe.join("")}},19208:function(Vn,Tt,ae){"use strict";var x;var ct=ae(86251),Le=ae(67467),Je=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Tt.lW=fe,x=ke,Tt.h2=50;var He=2147483647;x=He,fe.TYPED_ARRAY_SUPPORT=Se(),!fe.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Se(){try{var ie=new Uint8Array(1),ee={foo:function(){return 42}};return Object.setPrototypeOf(ee,Uint8Array.prototype),Object.setPrototypeOf(ie,ee),ie.foo()===42}catch(le){return!1}}Object.defineProperty(fe.prototype,"parent",{enumerable:!0,get:function(){if(fe.isBuffer(this))return this.buffer}}),Object.defineProperty(fe.prototype,"offset",{enumerable:!0,get:function(){if(fe.isBuffer(this))return this.byteOffset}});function Ue(ie){if(ie>He)throw new RangeError('The value "'+ie+'" is invalid for option "size"');var ee=new Uint8Array(ie);return Object.setPrototypeOf(ee,fe.prototype),ee}function fe(ie,ee,le){if(typeof ie=="number"){if(typeof ee=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ve(ie)}return Ce(ie,ee,le)}fe.poolSize=8192;function Ce(ie,ee,le){if(typeof ie=="string")return Me(ie,ee);if(ArrayBuffer.isView(ie))return _e(ie);if(ie==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ie);if(on(ie,ArrayBuffer)||ie&&on(ie.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(on(ie,SharedArrayBuffer)||ie&&on(ie.buffer,SharedArrayBuffer)))return we(ie,ee,le);if(typeof ie=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var se=ie.valueOf&&ie.valueOf();if(se!=null&&se!==ie)return fe.from(se,ee,le);var Be=xe(ie);if(Be)return Be;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof ie[Symbol.toPrimitive]=="function")return fe.from(ie[Symbol.toPrimitive]("string"),ee,le);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ie)}fe.from=function(ie,ee,le){return Ce(ie,ee,le)},Object.setPrototypeOf(fe.prototype,Uint8Array.prototype),Object.setPrototypeOf(fe,Uint8Array);function oe(ie){if(typeof ie!="number")throw new TypeError('"size" argument must be of type number');if(ie<0)throw new RangeError('The value "'+ie+'" is invalid for option "size"')}function Oe(ie,ee,le){return oe(ie),ie<=0?Ue(ie):ee!==void 0?typeof le=="string"?Ue(ie).fill(ee,le):Ue(ie).fill(ee):Ue(ie)}fe.alloc=function(ie,ee,le){return Oe(ie,ee,le)};function ve(ie){return oe(ie),Ue(ie<0?0:Ee(ie)|0)}fe.allocUnsafe=function(ie){return ve(ie)},fe.allocUnsafeSlow=function(ie){return ve(ie)};function Me(ie,ee){if((typeof ee!="string"||ee==="")&&(ee="utf8"),!fe.isEncoding(ee))throw new TypeError("Unknown encoding: "+ee);var le=ze(ie,ee)|0,se=Ue(le),Be=se.write(ie,ee);return Be!==le&&(se=se.slice(0,Be)),se}function Ie(ie){for(var ee=ie.length<0?0:Ee(ie.length)|0,le=Ue(ee),se=0;se<ee;se+=1)le[se]=ie[se]&255;return le}function _e(ie){if(on(ie,Uint8Array)){var ee=new Uint8Array(ie);return we(ee.buffer,ee.byteOffset,ee.byteLength)}return Ie(ie)}function we(ie,ee,le){if(ee<0||ie.byteLength<ee)throw new RangeError('"offset" is outside of buffer bounds');if(ie.byteLength<ee+(le||0))throw new RangeError('"length" is outside of buffer bounds');var se;return ee===void 0&&le===void 0?se=new Uint8Array(ie):le===void 0?se=new Uint8Array(ie,ee):se=new Uint8Array(ie,ee,le),Object.setPrototypeOf(se,fe.prototype),se}function xe(ie){if(fe.isBuffer(ie)){var ee=Ee(ie.length)|0,le=Ue(ee);return le.length===0||ie.copy(le,0,0,ee),le}if(ie.length!==void 0)return typeof ie.length!="number"||de(ie.length)?Ue(0):Ie(ie);if(ie.type==="Buffer"&&Array.isArray(ie.data))return Ie(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 ke(ie){return+ie!=ie&&(ie=0),fe.alloc(+ie)}fe.isBuffer=function(ee){return ee!=null&&ee._isBuffer===!0&&ee!==fe.prototype},fe.compare=function(ee,le){if(on(ee,Uint8Array)&&(ee=fe.from(ee,ee.offset,ee.byteLength)),on(le,Uint8Array)&&(le=fe.from(le,le.offset,le.byteLength)),!fe.isBuffer(ee)||!fe.isBuffer(le))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ee===le)return 0;for(var se=ee.length,Be=le.length,$e=0,at=Math.min(se,Be);$e<at;++$e)if(ee[$e]!==le[$e]){se=ee[$e],Be=le[$e];break}return se<Be?-1:Be<se?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,le){if(!Array.isArray(ee))throw new TypeError('"list" argument must be an Array of Buffers');if(ee.length===0)return fe.alloc(0);var se;if(le===void 0)for(le=0,se=0;se<ee.length;++se)le+=ee[se].length;var Be=fe.allocUnsafe(le),$e=0;for(se=0;se<ee.length;++se){var at=ee[se];if(on(at,Uint8Array))$e+at.length>Be.length?fe.from(at).copy(Be,$e):Uint8Array.prototype.set.call(Be,at,$e);else if(fe.isBuffer(at))at.copy(Be,$e);else throw new TypeError('"list" argument must be an Array of Buffers');$e+=at.length}return Be};function ze(ie,ee){if(fe.isBuffer(ie))return ie.length;if(ArrayBuffer.isView(ie)||on(ie,ArrayBuffer))return ie.byteLength;if(typeof ie!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof ie);var le=ie.length,se=arguments.length>2&&arguments[2]===!0;if(!se&&le===0)return 0;for(var Be=!1;;)switch(ee){case"ascii":case"latin1":case"binary":return le;case"utf8":case"utf-8":return pn(ie).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le*2;case"hex":return le>>>1;case"base64":return _t(ie).length;default:if(Be)return se?-1:pn(ie).length;ee=(""+ee).toLowerCase(),Be=!0}}fe.byteLength=ze;function Qe(ie,ee,le){var se=!1;if((ee===void 0||ee<0)&&(ee=0),ee>this.length||((le===void 0||le>this.length)&&(le=this.length),le<=0)||(le>>>=0,ee>>>=0,le<=ee))return"";for(ie||(ie="utf8");;)switch(ie){case"hex":return Ft(this,ee,le);case"utf8":case"utf-8":return Ne(this,ee,le);case"ascii":return ot(this,ee,le);case"latin1":case"binary":return yt(this,ee,le);case"base64":return ht(this,ee,le);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ze(this,ee,le);default:if(se)throw new TypeError("Unknown encoding: "+ie);ie=(ie+"").toLowerCase(),se=!0}}fe.prototype._isBuffer=!0;function Re(ie,ee,le){var se=ie[ee];ie[ee]=ie[le],ie[le]=se}fe.prototype.swap16=function(){var ee=this.length;if(ee%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var le=0;le<ee;le+=2)Re(this,le,le+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 le=0;le<ee;le+=4)Re(this,le,le+3),Re(this,le+1,le+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 le=0;le<ee;le+=8)Re(this,le,le+7),Re(this,le+1,le+6),Re(this,le+2,le+5),Re(this,le+3,le+4);return this},fe.prototype.toString=function(){var ee=this.length;return ee===0?"":arguments.length===0?Ne(this,0,ee):Qe.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="",le=Tt.h2;return ee=this.toString("hex",0,le).replace(/(.{2})/g,"$1 ").trim(),this.length>le&&(ee+=" ... "),"<Buffer "+ee+">"},Je&&(fe.prototype[Je]=fe.prototype.inspect),fe.prototype.compare=function(ee,le,se,Be,$e){if(on(ee,Uint8Array)&&(ee=fe.from(ee,ee.offset,ee.byteLength)),!fe.isBuffer(ee))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ee);if(le===void 0&&(le=0),se===void 0&&(se=ee?ee.length:0),Be===void 0&&(Be=0),$e===void 0&&($e=this.length),le<0||se>ee.length||Be<0||$e>this.length)throw new RangeError("out of range index");if(Be>=$e&&le>=se)return 0;if(Be>=$e)return-1;if(le>=se)return 1;if(le>>>=0,se>>>=0,Be>>>=0,$e>>>=0,this===ee)return 0;for(var at=$e-Be,pt=se-le,gt=Math.min(at,pt),Bt=this.slice(Be,$e),Lt=ee.slice(le,se),Rt=0;Rt<gt;++Rt)if(Bt[Rt]!==Lt[Rt]){at=Bt[Rt],pt=Lt[Rt];break}return at<pt?-1:pt<at?1:0};function et(ie,ee,le,se,Be){if(ie.length===0)return-1;if(typeof le=="string"?(se=le,le=0):le>2147483647?le=2147483647:le<-2147483648&&(le=-2147483648),le=+le,de(le)&&(le=Be?0:ie.length-1),le<0&&(le=ie.length+le),le>=ie.length){if(Be)return-1;le=ie.length-1}else if(le<0)if(Be)le=0;else return-1;if(typeof ee=="string"&&(ee=fe.from(ee,se)),fe.isBuffer(ee))return ee.length===0?-1:Ge(ie,ee,le,se,Be);if(typeof ee=="number")return ee=ee&255,typeof Uint8Array.prototype.indexOf=="function"?Be?Uint8Array.prototype.indexOf.call(ie,ee,le):Uint8Array.prototype.lastIndexOf.call(ie,ee,le):Ge(ie,[ee],le,se,Be);throw new TypeError("val must be string, number or Buffer")}function Ge(ie,ee,le,se,Be){var $e=1,at=ie.length,pt=ee.length;if(se!==void 0&&(se=String(se).toLowerCase(),se==="ucs2"||se==="ucs-2"||se==="utf16le"||se==="utf-16le")){if(ie.length<2||ee.length<2)return-1;$e=2,at/=2,pt/=2,le/=2}function gt(st,$t){return $e===1?st[$t]:st.readUInt16BE($t*$e)}var Bt;if(Be){var Lt=-1;for(Bt=le;Bt<at;Bt++)if(gt(ie,Bt)===gt(ee,Lt===-1?0:Bt-Lt)){if(Lt===-1&&(Lt=Bt),Bt-Lt+1===pt)return Lt*$e}else Lt!==-1&&(Bt-=Bt-Lt),Lt=-1}else for(le+pt>at&&(le=at-pt),Bt=le;Bt>=0;Bt--){for(var Rt=!0,Ct=0;Ct<pt;Ct++)if(gt(ie,Bt+Ct)!==gt(ee,Ct)){Rt=!1;break}if(Rt)return Bt}return-1}fe.prototype.includes=function(ee,le,se){return this.indexOf(ee,le,se)!==-1},fe.prototype.indexOf=function(ee,le,se){return et(this,ee,le,se,!0)},fe.prototype.lastIndexOf=function(ee,le,se){return et(this,ee,le,se,!1)};function lt(ie,ee,le,se){le=Number(le)||0;var Be=ie.length-le;se?(se=Number(se),se>Be&&(se=Be)):se=Be;var $e=ee.length;se>$e/2&&(se=$e/2);for(var at=0;at<se;++at){var pt=parseInt(ee.substr(at*2,2),16);if(de(pt))return at;ie[le+at]=pt}return at}function it(ie,ee,le,se){return Fn(pn(ee,ie.length-le),ie,le,se)}function ft(ie,ee,le,se){return Fn(Ot(ee),ie,le,se)}function bt(ie,ee,le,se){return Fn(_t(ee),ie,le,se)}function je(ie,ee,le,se){return Fn(vn(ee,ie.length-le),ie,le,se)}fe.prototype.write=function(ee,le,se,Be){if(le===void 0)Be="utf8",se=this.length,le=0;else if(se===void 0&&typeof le=="string")Be=le,se=this.length,le=0;else if(isFinite(le))le=le>>>0,isFinite(se)?(se=se>>>0,Be===void 0&&(Be="utf8")):(Be=se,se=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var $e=this.length-le;if((se===void 0||se>$e)&&(se=$e),ee.length>0&&(se<0||le<0)||le>this.length)throw new RangeError("Attempt to write outside buffer bounds");Be||(Be="utf8");for(var at=!1;;)switch(Be){case"hex":return lt(this,ee,le,se);case"utf8":case"utf-8":return it(this,ee,le,se);case"ascii":case"latin1":case"binary":return ft(this,ee,le,se);case"base64":return bt(this,ee,le,se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return je(this,ee,le,se);default:if(at)throw new TypeError("Unknown encoding: "+Be);Be=(""+Be).toLowerCase(),at=!0}},fe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ht(ie,ee,le){return ee===0&&le===ie.length?ct.fromByteArray(ie):ct.fromByteArray(ie.slice(ee,le))}function Ne(ie,ee,le){le=Math.min(ie.length,le);for(var se=[],Be=ee;Be<le;){var $e=ie[Be],at=null,pt=$e>239?4:$e>223?3:$e>191?2:1;if(Be+pt<=le){var gt,Bt,Lt,Rt;switch(pt){case 1:$e<128&&(at=$e);break;case 2:gt=ie[Be+1],(gt&192)===128&&(Rt=($e&31)<<6|gt&63,Rt>127&&(at=Rt));break;case 3:gt=ie[Be+1],Bt=ie[Be+2],(gt&192)===128&&(Bt&192)===128&&(Rt=($e&15)<<12|(gt&63)<<6|Bt&63,Rt>2047&&(Rt<55296||Rt>57343)&&(at=Rt));break;case 4:gt=ie[Be+1],Bt=ie[Be+2],Lt=ie[Be+3],(gt&192)===128&&(Bt&192)===128&&(Lt&192)===128&&(Rt=($e&15)<<18|(gt&63)<<12|(Bt&63)<<6|Lt&63,Rt>65535&&Rt<1114112&&(at=Rt))}}at===null?(at=65533,pt=1):at>65535&&(at-=65536,se.push(at>>>10&1023|55296),at=56320|at&1023),se.push(at),Be+=pt}return Ut(se)}var We=4096;function Ut(ie){var ee=ie.length;if(ee<=We)return String.fromCharCode.apply(String,ie);for(var le="",se=0;se<ee;)le+=String.fromCharCode.apply(String,ie.slice(se,se+=We));return le}function ot(ie,ee,le){var se="";le=Math.min(ie.length,le);for(var Be=ee;Be<le;++Be)se+=String.fromCharCode(ie[Be]&127);return se}function yt(ie,ee,le){var se="";le=Math.min(ie.length,le);for(var Be=ee;Be<le;++Be)se+=String.fromCharCode(ie[Be]);return se}function Ft(ie,ee,le){var se=ie.length;(!ee||ee<0)&&(ee=0),(!le||le<0||le>se)&&(le=se);for(var Be="",$e=ee;$e<le;++$e)Be+=ge[ie[$e]];return Be}function Ze(ie,ee,le){for(var se=ie.slice(ee,le),Be="",$e=0;$e<se.length-1;$e+=2)Be+=String.fromCharCode(se[$e]+se[$e+1]*256);return Be}fe.prototype.slice=function(ee,le){var se=this.length;ee=~~ee,le=le===void 0?se:~~le,ee<0?(ee+=se,ee<0&&(ee=0)):ee>se&&(ee=se),le<0?(le+=se,le<0&&(le=0)):le>se&&(le=se),le<ee&&(le=ee);var Be=this.subarray(ee,le);return Object.setPrototypeOf(Be,fe.prototype),Be};function Te(ie,ee,le){if(ie%1!==0||ie<0)throw new RangeError("offset is not uint");if(ie+ee>le)throw new RangeError("Trying to access beyond buffer length")}fe.prototype.readUintLE=fe.prototype.readUIntLE=function(ee,le,se){ee=ee>>>0,le=le>>>0,se||Te(ee,le,this.length);for(var Be=this[ee],$e=1,at=0;++at<le&&($e*=256);)Be+=this[ee+at]*$e;return Be},fe.prototype.readUintBE=fe.prototype.readUIntBE=function(ee,le,se){ee=ee>>>0,le=le>>>0,se||Te(ee,le,this.length);for(var Be=this[ee+--le],$e=1;le>0&&($e*=256);)Be+=this[ee+--le]*$e;return Be},fe.prototype.readUint8=fe.prototype.readUInt8=function(ee,le){return ee=ee>>>0,le||Te(ee,1,this.length),this[ee]},fe.prototype.readUint16LE=fe.prototype.readUInt16LE=function(ee,le){return ee=ee>>>0,le||Te(ee,2,this.length),this[ee]|this[ee+1]<<8},fe.prototype.readUint16BE=fe.prototype.readUInt16BE=function(ee,le){return ee=ee>>>0,le||Te(ee,2,this.length),this[ee]<<8|this[ee+1]},fe.prototype.readUint32LE=fe.prototype.readUInt32LE=function(ee,le){return ee=ee>>>0,le||Te(ee,4,this.length),(this[ee]|this[ee+1]<<8|this[ee+2]<<16)+this[ee+3]*16777216},fe.prototype.readUint32BE=fe.prototype.readUInt32BE=function(ee,le){return ee=ee>>>0,le||Te(ee,4,this.length),this[ee]*16777216+(this[ee+1]<<16|this[ee+2]<<8|this[ee+3])},fe.prototype.readIntLE=function(ee,le,se){ee=ee>>>0,le=le>>>0,se||Te(ee,le,this.length);for(var Be=this[ee],$e=1,at=0;++at<le&&($e*=256);)Be+=this[ee+at]*$e;return $e*=128,Be>=$e&&(Be-=Math.pow(2,8*le)),Be},fe.prototype.readIntBE=function(ee,le,se){ee=ee>>>0,le=le>>>0,se||Te(ee,le,this.length);for(var Be=le,$e=1,at=this[ee+--Be];Be>0&&($e*=256);)at+=this[ee+--Be]*$e;return $e*=128,at>=$e&&(at-=Math.pow(2,8*le)),at},fe.prototype.readInt8=function(ee,le){return ee=ee>>>0,le||Te(ee,1,this.length),this[ee]&128?(255-this[ee]+1)*-1:this[ee]},fe.prototype.readInt16LE=function(ee,le){ee=ee>>>0,le||Te(ee,2,this.length);var se=this[ee]|this[ee+1]<<8;return se&32768?se|4294901760:se},fe.prototype.readInt16BE=function(ee,le){ee=ee>>>0,le||Te(ee,2,this.length);var se=this[ee+1]|this[ee]<<8;return se&32768?se|4294901760:se},fe.prototype.readInt32LE=function(ee,le){return ee=ee>>>0,le||Te(ee,4,this.length),this[ee]|this[ee+1]<<8|this[ee+2]<<16|this[ee+3]<<24},fe.prototype.readInt32BE=function(ee,le){return ee=ee>>>0,le||Te(ee,4,this.length),this[ee]<<24|this[ee+1]<<16|this[ee+2]<<8|this[ee+3]},fe.prototype.readFloatLE=function(ee,le){return ee=ee>>>0,le||Te(ee,4,this.length),Le.read(this,ee,!0,23,4)},fe.prototype.readFloatBE=function(ee,le){return ee=ee>>>0,le||Te(ee,4,this.length),Le.read(this,ee,!1,23,4)},fe.prototype.readDoubleLE=function(ee,le){return ee=ee>>>0,le||Te(ee,8,this.length),Le.read(this,ee,!0,52,8)},fe.prototype.readDoubleBE=function(ee,le){return ee=ee>>>0,le||Te(ee,8,this.length),Le.read(this,ee,!1,52,8)};function At(ie,ee,le,se,Be,$e){if(!fe.isBuffer(ie))throw new TypeError('"buffer" argument must be a Buffer instance');if(ee>Be||ee<$e)throw new RangeError('"value" argument is out of bounds');if(le+se>ie.length)throw new RangeError("Index out of range")}fe.prototype.writeUintLE=fe.prototype.writeUIntLE=function(ee,le,se,Be){if(ee=+ee,le=le>>>0,se=se>>>0,!Be){var $e=Math.pow(2,8*se)-1;At(this,ee,le,se,$e,0)}var at=1,pt=0;for(this[le]=ee&255;++pt<se&&(at*=256);)this[le+pt]=ee/at&255;return le+se},fe.prototype.writeUintBE=fe.prototype.writeUIntBE=function(ee,le,se,Be){if(ee=+ee,le=le>>>0,se=se>>>0,!Be){var $e=Math.pow(2,8*se)-1;At(this,ee,le,se,$e,0)}var at=se-1,pt=1;for(this[le+at]=ee&255;--at>=0&&(pt*=256);)this[le+at]=ee/pt&255;return le+se},fe.prototype.writeUint8=fe.prototype.writeUInt8=function(ee,le,se){return ee=+ee,le=le>>>0,se||At(this,ee,le,1,255,0),this[le]=ee&255,le+1},fe.prototype.writeUint16LE=fe.prototype.writeUInt16LE=function(ee,le,se){return ee=+ee,le=le>>>0,se||At(this,ee,le,2,65535,0),this[le]=ee&255,this[le+1]=ee>>>8,le+2},fe.prototype.writeUint16BE=fe.prototype.writeUInt16BE=function(ee,le,se){return ee=+ee,le=le>>>0,se||At(this,ee,le,2,65535,0),this[le]=ee>>>8,this[le+1]=ee&255,le+2},fe.prototype.writeUint32LE=fe.prototype.writeUInt32LE=function(ee,le,se){return ee=+ee,le=le>>>0,se||At(this,ee,le,4,4294967295,0),this[le+3]=ee>>>24,this[le+2]=ee>>>16,this[le+1]=ee>>>8,this[le]=ee&255,le+4},fe.prototype.writeUint32BE=fe.prototype.writeUInt32BE=function(ee,le,se){return ee=+ee,le=le>>>0,se||At(this,ee,le,4,4294967295,0),this[le]=ee>>>24,this[le+1]=ee>>>16,this[le+2]=ee>>>8,this[le+3]=ee&255,le+4},fe.prototype.writeIntLE=function(ee,le,se,Be){if(ee=+ee,le=le>>>0,!Be){var $e=Math.pow(2,8*se-1);At(this,ee,le,se,$e-1,-$e)}var at=0,pt=1,gt=0;for(this[le]=ee&255;++at<se&&(pt*=256);)ee<0&&gt===0&&this[le+at-1]!==0&&(gt=1),this[le+at]=(ee/pt>>0)-gt&255;return le+se},fe.prototype.writeIntBE=function(ee,le,se,Be){if(ee=+ee,le=le>>>0,!Be){var $e=Math.pow(2,8*se-1);At(this,ee,le,se,$e-1,-$e)}var at=se-1,pt=1,gt=0;for(this[le+at]=ee&255;--at>=0&&(pt*=256);)ee<0&&gt===0&&this[le+at+1]!==0&&(gt=1),this[le+at]=(ee/pt>>0)-gt&255;return le+se},fe.prototype.writeInt8=function(ee,le,se){return ee=+ee,le=le>>>0,se||At(this,ee,le,1,127,-128),ee<0&&(ee=255+ee+1),this[le]=ee&255,le+1},fe.prototype.writeInt16LE=function(ee,le,se){return ee=+ee,le=le>>>0,se||At(this,ee,le,2,32767,-32768),this[le]=ee&255,this[le+1]=ee>>>8,le+2},fe.prototype.writeInt16BE=function(ee,le,se){return ee=+ee,le=le>>>0,se||At(this,ee,le,2,32767,-32768),this[le]=ee>>>8,this[le+1]=ee&255,le+2},fe.prototype.writeInt32LE=function(ee,le,se){return ee=+ee,le=le>>>0,se||At(this,ee,le,4,2147483647,-2147483648),this[le]=ee&255,this[le+1]=ee>>>8,this[le+2]=ee>>>16,this[le+3]=ee>>>24,le+4},fe.prototype.writeInt32BE=function(ee,le,se){return ee=+ee,le=le>>>0,se||At(this,ee,le,4,2147483647,-2147483648),ee<0&&(ee=4294967295+ee+1),this[le]=ee>>>24,this[le+1]=ee>>>16,this[le+2]=ee>>>8,this[le+3]=ee&255,le+4};function Zt(ie,ee,le,se,Be,$e){if(le+se>ie.length)throw new RangeError("Index out of range");if(le<0)throw new RangeError("Index out of range")}function Kt(ie,ee,le,se,Be){return ee=+ee,le=le>>>0,Be||Zt(ie,ee,le,4,34028234663852886e22,-34028234663852886e22),Le.write(ie,ee,le,se,23,4),le+4}fe.prototype.writeFloatLE=function(ee,le,se){return Kt(this,ee,le,!0,se)},fe.prototype.writeFloatBE=function(ee,le,se){return Kt(this,ee,le,!1,se)};function rt(ie,ee,le,se,Be){return ee=+ee,le=le>>>0,Be||Zt(ie,ee,le,8,17976931348623157e292,-17976931348623157e292),Le.write(ie,ee,le,se,52,8),le+8}fe.prototype.writeDoubleLE=function(ee,le,se){return rt(this,ee,le,!0,se)},fe.prototype.writeDoubleBE=function(ee,le,se){return rt(this,ee,le,!1,se)},fe.prototype.copy=function(ee,le,se,Be){if(!fe.isBuffer(ee))throw new TypeError("argument should be a Buffer");if(se||(se=0),!Be&&Be!==0&&(Be=this.length),le>=ee.length&&(le=ee.length),le||(le=0),Be>0&&Be<se&&(Be=se),Be===se||ee.length===0||this.length===0)return 0;if(le<0)throw new RangeError("targetStart out of bounds");if(se<0||se>=this.length)throw new RangeError("Index out of range");if(Be<0)throw new RangeError("sourceEnd out of bounds");Be>this.length&&(Be=this.length),ee.length-le<Be-se&&(Be=ee.length-le+se);var $e=Be-se;return this===ee&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(le,se,Be):Uint8Array.prototype.set.call(ee,this.subarray(se,Be),le),$e},fe.prototype.fill=function(ee,le,se,Be){if(typeof ee=="string"){if(typeof le=="string"?(Be=le,le=0,se=this.length):typeof se=="string"&&(Be=se,se=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 $e=ee.charCodeAt(0);(Be==="utf8"&&$e<128||Be==="latin1")&&(ee=$e)}}else typeof ee=="number"?ee=ee&255:typeof ee=="boolean"&&(ee=Number(ee));if(le<0||this.length<le||this.length<se)throw new RangeError("Out of range index");if(se<=le)return this;le=le>>>0,se=se===void 0?this.length:se>>>0,ee||(ee=0);var at;if(typeof ee=="number")for(at=le;at<se;++at)this[at]=ee;else{var pt=fe.isBuffer(ee)?ee:fe.from(ee,Be),gt=pt.length;if(gt===0)throw new TypeError('The value "'+ee+'" is invalid for argument "value"');for(at=0;at<se-le;++at)this[at+le]=pt[at%gt]}return this};var Nt=/[^+/0-9A-Za-z-_]/g;function Qt(ie){if(ie=ie.split("=")[0],ie=ie.trim().replace(Nt,""),ie.length<2)return"";for(;ie.length%4!==0;)ie=ie+"=";return ie}function pn(ie,ee){ee=ee||1/0;for(var le,se=ie.length,Be=null,$e=[],at=0;at<se;++at){if(le=ie.charCodeAt(at),le>55295&&le<57344){if(!Be){if(le>56319){(ee-=3)>-1&&$e.push(239,191,189);continue}else if(at+1===se){(ee-=3)>-1&&$e.push(239,191,189);continue}Be=le;continue}if(le<56320){(ee-=3)>-1&&$e.push(239,191,189),Be=le;continue}le=(Be-55296<<10|le-56320)+65536}else Be&&(ee-=3)>-1&&$e.push(239,191,189);if(Be=null,le<128){if((ee-=1)<0)break;$e.push(le)}else if(le<2048){if((ee-=2)<0)break;$e.push(le>>6|192,le&63|128)}else if(le<65536){if((ee-=3)<0)break;$e.push(le>>12|224,le>>6&63|128,le&63|128)}else if(le<1114112){if((ee-=4)<0)break;$e.push(le>>18|240,le>>12&63|128,le>>6&63|128,le&63|128)}else throw new Error("Invalid code point")}return $e}function Ot(ie){for(var ee=[],le=0;le<ie.length;++le)ee.push(ie.charCodeAt(le)&255);return ee}function vn(ie,ee){for(var le,se,Be,$e=[],at=0;at<ie.length&&!((ee-=2)<0);++at)le=ie.charCodeAt(at),se=le>>8,Be=le%256,$e.push(Be),$e.push(se);return $e}function _t(ie){return ct.toByteArray(Qt(ie))}function Fn(ie,ee,le,se){for(var Be=0;Be<se&&!(Be+le>=ee.length||Be>=ie.length);++Be)ee[Be+le]=ie[Be];return Be}function on(ie,ee){return ie instanceof ee||ie!=null&&ie.constructor!=null&&ie.constructor.name!=null&&ie.constructor.name===ee.name}function de(ie){return ie!==ie}var ge=function(){for(var ie="0123456789abcdef",ee=new Array(256),le=0;le<16;++le)for(var se=le*16,Be=0;Be<16;++Be)ee[se+Be]=ie[le]+ie[Be];return ee}()},14625:function(Vn){function Tt(x){var ct,Le,Je="";if(typeof x=="string"||typeof x=="number")Je+=x;else if(typeof x=="object")if(Array.isArray(x)){var He=x.length;for(ct=0;ct<He;ct++)x[ct]&&(Le=Tt(x[ct]))&&(Je&&(Je+=" "),Je+=Le)}else for(Le in x)x[Le]&&(Je&&(Je+=" "),Je+=Le);return Je}function ae(){for(var x,ct,Le=0,Je="",He=arguments.length;Le<He;Le++)(x=arguments[Le])&&(ct=Tt(x))&&(Je&&(Je+=" "),Je+=ct);return Je}Vn.exports=ae,Vn.exports.clsx=ae},99498:function(Vn,Tt,ae){(function(x){x(ae(89780))})(function(x){x.defineOption("placeholder","",function(fe,Ce,oe){var Oe=oe&&oe!=x.Init;if(Ce&&!Oe)fe.on("blur",He),fe.on("change",Se),fe.on("swapDoc",Se),x.on(fe.getInputField(),"compositionupdate",fe.state.placeholderCompose=function(){Je(fe)}),Se(fe);else if(!Ce&&Oe){fe.off("blur",He),fe.off("change",Se),fe.off("swapDoc",Se),x.off(fe.getInputField(),"compositionupdate",fe.state.placeholderCompose),ct(fe);var ve=fe.getWrapperElement();ve.className=ve.className.replace(" CodeMirror-empty","")}Ce&&!fe.hasFocus()&&He(fe)});function ct(fe){fe.state.placeholder&&(fe.state.placeholder.parentNode.removeChild(fe.state.placeholder),fe.state.placeholder=null)}function Le(fe){ct(fe);var Ce=fe.state.placeholder=document.createElement("pre");Ce.style.cssText="height: 0; overflow: visible",Ce.style.direction=fe.getOption("direction"),Ce.className="CodeMirror-placeholder CodeMirror-line-like";var oe=fe.getOption("placeholder");typeof oe=="string"&&(oe=document.createTextNode(oe)),Ce.appendChild(oe),fe.display.lineSpace.insertBefore(Ce,fe.display.lineSpace.firstChild)}function Je(fe){setTimeout(function(){var Ce=!1,oe=fe.getInputField();oe.nodeName=="TEXTAREA"?Ce=!oe.value:fe.lineCount()==1&&(Ce=!/[^\u200b]/.test(oe.querySelector(".CodeMirror-line").textContent)),Ce?Le(fe):ct(fe)},20)}function He(fe){Ue(fe)&&Le(fe)}function Se(fe){var Ce=fe.getWrapperElement(),oe=Ue(fe);Ce.className=Ce.className.replace(" CodeMirror-empty","")+(oe?" CodeMirror-empty":""),oe?Le(fe):ct(fe)}function Ue(fe){return fe.lineCount()===1&&fe.getLine(0)===""}})},25717:function(Vn,Tt,ae){(function(x){x(ae(89780))})(function(x){var ct={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},Le=x.Pos;x.defineOption("autoCloseBrackets",!1,function(_e,we,xe){xe&&xe!=x.Init&&(_e.removeKeyMap(He),_e.state.closeBrackets=null),we&&(Se(Je(we,"pairs")),_e.state.closeBrackets=we,_e.addKeyMap(He))});function Je(_e,we){return we=="pairs"&&typeof _e=="string"?_e:typeof _e=="object"&&_e[we]!=null?_e[we]:ct[we]}var He={Backspace:Ce,Enter:oe};function Se(_e){for(var we=0;we<_e.length;we++){var xe=_e.charAt(we),Ee="'"+xe+"'";He[Ee]||(He[Ee]=Ue(xe))}}Se(ct.pairs+"`");function Ue(_e){return function(we){return ve(we,_e)}}function fe(_e){var we=_e.state.closeBrackets;if(!we||we.override)return we;var xe=_e.getModeAt(_e.getCursor());return xe.closeBrackets||we}function Ce(_e){var we=fe(_e);if(!we||_e.getOption("disableInput"))return x.Pass;for(var xe=Je(we,"pairs"),Ee=_e.listSelections(),ke=0;ke<Ee.length;ke++){if(!Ee[ke].empty())return x.Pass;var ze=Me(_e,Ee[ke].head);if(!ze||xe.indexOf(ze)%2!=0)return x.Pass}for(var ke=Ee.length-1;ke>=0;ke--){var Qe=Ee[ke].head;_e.replaceRange("",Le(Qe.line,Qe.ch-1),Le(Qe.line,Qe.ch+1),"+delete")}}function oe(_e){var we=fe(_e),xe=we&&Je(we,"explode");if(!xe||_e.getOption("disableInput"))return x.Pass;for(var Ee=_e.listSelections(),ke=0;ke<Ee.length;ke++){if(!Ee[ke].empty())return x.Pass;var ze=Me(_e,Ee[ke].head);if(!ze||xe.indexOf(ze)%2!=0)return x.Pass}_e.operation(function(){var Qe=_e.lineSeparator()||`
`;_e.replaceSelection(Qe+Qe,null),_e.execCommand("goCharLeft"),Ee=_e.listSelections();for(var Re=0;Re<Ee.length;Re++){var et=Ee[Re].head.line;_e.indentLine(et,null,!0),_e.indentLine(et+1,null,!0)}})}function Oe(_e){var we=x.cmpPos(_e.anchor,_e.head)>0;return{anchor:new Le(_e.anchor.line,_e.anchor.ch+(we?-1:1)),head:new Le(_e.head.line,_e.head.ch+(we?1:-1))}}function ve(_e,we){var xe=fe(_e);if(!xe||_e.getOption("disableInput"))return x.Pass;var Ee=Je(xe,"pairs"),ke=Ee.indexOf(we);if(ke==-1)return x.Pass;for(var ze=Je(xe,"closeBefore"),Qe=Je(xe,"triples"),Re=Ee.charAt(ke+1)==we,et=_e.listSelections(),Ge=ke%2==0,lt,it=0;it<et.length;it++){var ft=et[it],bt=ft.head,je,ht=_e.getRange(bt,Le(bt.line,bt.ch+1));if(Ge&&!ft.empty())je="surround";else if((Re||!Ge)&&ht==we)Re&&Ie(_e,bt)?je="both":Qe.indexOf(we)>=0&&_e.getRange(bt,Le(bt.line,bt.ch+3))==we+we+we?je="skipThree":je="skip";else if(Re&&bt.ch>1&&Qe.indexOf(we)>=0&&_e.getRange(Le(bt.line,bt.ch-2),bt)==we+we){if(bt.ch>2&&/\bstring/.test(_e.getTokenTypeAt(Le(bt.line,bt.ch-2))))return x.Pass;je="addFour"}else if(Re){var Ne=bt.ch==0?" ":_e.getRange(Le(bt.line,bt.ch-1),bt);if(!x.isWordChar(ht)&&Ne!=we&&!x.isWordChar(Ne))je="both";else return x.Pass}else if(Ge&&(ht.length===0||/\s/.test(ht)||ze.indexOf(ht)>-1))je="both";else return x.Pass;if(!lt)lt=je;else if(lt!=je)return x.Pass}var We=ke%2?Ee.charAt(ke-1):we,Ut=ke%2?we:Ee.charAt(ke+1);_e.operation(function(){if(lt=="skip")_e.execCommand("goCharRight");else if(lt=="skipThree")for(var ot=0;ot<3;ot++)_e.execCommand("goCharRight");else if(lt=="surround"){for(var yt=_e.getSelections(),ot=0;ot<yt.length;ot++)yt[ot]=We+yt[ot]+Ut;_e.replaceSelections(yt,"around"),yt=_e.listSelections().slice();for(var ot=0;ot<yt.length;ot++)yt[ot]=Oe(yt[ot]);_e.setSelections(yt)}else lt=="both"?(_e.replaceSelection(We+Ut,null),_e.triggerElectric(We+Ut),_e.execCommand("goCharLeft")):lt=="addFour"&&(_e.replaceSelection(We+We+We+We,"before"),_e.execCommand("goCharRight"))})}function Me(_e,we){var xe=_e.getRange(Le(we.line,we.ch-1),Le(we.line,we.ch+1));return xe.length==2?xe:null}function Ie(_e,we){var xe=_e.getTokenAt(Le(we.line,we.ch+1));return/\bstring/.test(xe.type)&&xe.start==we.ch&&(we.ch==0||!/\bstring/.test(_e.getTokenTypeAt(we)))}})},6313:function(Vn,Tt,ae){(function(x){x(ae(89780),ae(32855))})(function(x){x.defineOption("autoCloseTags",!1,function(Ce,oe,Oe){if(Oe!=x.Init&&Oe&&Ce.removeKeyMap("autoCloseTags"),!!oe){var ve={name:"autoCloseTags"};(typeof oe!="object"||oe.whenClosing!==!1)&&(ve["'/'"]=function(Me){return Se(Me)}),(typeof oe!="object"||oe.whenOpening!==!1)&&(ve["'>'"]=function(Me){return Je(Me)}),Ce.addKeyMap(ve)}});var ct=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Le=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function Je(Ce){if(Ce.getOption("disableInput"))return x.Pass;for(var oe=Ce.listSelections(),Oe=[],ve=Ce.getOption("autoCloseTags"),Me=0;Me<oe.length;Me++){if(!oe[Me].empty())return x.Pass;var Ie=oe[Me].head,_e=Ce.getTokenAt(Ie),we=x.innerMode(Ce.getMode(),_e.state),xe=we.state,Ee=we.mode.xmlCurrentTag&&we.mode.xmlCurrentTag(xe),ke=Ee&&Ee.name;if(!ke)return x.Pass;var ze=we.mode.configuration=="html",Qe=typeof ve=="object"&&ve.dontCloseTags||ze&&ct,Re=typeof ve=="object"&&ve.indentTags||ze&&Le;_e.end>Ie.ch&&(ke=ke.slice(0,ke.length-_e.end+Ie.ch));var et=ke.toLowerCase();if(!ke||_e.type=="string"&&(_e.end!=Ie.ch||!/[\"\']/.test(_e.string.charAt(_e.string.length-1))||_e.string.length==1)||_e.type=="tag"&&Ee.close||_e.string.indexOf("/")==Ie.ch-_e.start-1||Qe&&Ue(Qe,et)>-1||fe(Ce,we.mode.xmlCurrentContext&&we.mode.xmlCurrentContext(xe)||[],ke,Ie,!0))return x.Pass;var Ge=typeof ve=="object"&&ve.emptyTags;if(Ge&&Ue(Ge,ke)>-1){Oe[Me]={text:"/>",newPos:x.Pos(Ie.line,Ie.ch+2)};continue}var lt=Re&&Ue(Re,et)>-1;Oe[Me]={indent:lt,text:">"+(lt?`
`:"")+"</"+ke+">",newPos:lt?x.Pos(Ie.line+1,0):x.Pos(Ie.line,Ie.ch+1)}}for(var it=typeof ve=="object"&&ve.dontIndentOnAutoClose,Me=oe.length-1;Me>=0;Me--){var ft=Oe[Me];Ce.replaceRange(ft.text,oe[Me].head,oe[Me].anchor,"+insert");var bt=Ce.listSelections().slice(0);bt[Me]={head:ft.newPos,anchor:ft.newPos},Ce.setSelections(bt),!it&&ft.indent&&(Ce.indentLine(ft.newPos.line,null,!0),Ce.indentLine(ft.newPos.line+1,null,!0))}}function He(Ce,oe){for(var Oe=Ce.listSelections(),ve=[],Me=oe?"/":"</",Ie=Ce.getOption("autoCloseTags"),_e=typeof Ie=="object"&&Ie.dontIndentOnSlash,we=0;we<Oe.length;we++){if(!Oe[we].empty())return x.Pass;var xe=Oe[we].head,Ee=Ce.getTokenAt(xe),ke=x.innerMode(Ce.getMode(),Ee.state),ze=ke.state;if(oe&&(Ee.type=="string"||Ee.string.charAt(0)!="<"||Ee.start!=xe.ch-1))return x.Pass;var Qe,Re=ke.mode.name!="xml"&&Ce.getMode().name=="htmlmixed";if(Re&&ke.mode.name=="javascript")Qe=Me+"script";else if(Re&&ke.mode.name=="css")Qe=Me+"style";else{var et=ke.mode.xmlCurrentContext&&ke.mode.xmlCurrentContext(ze);if(!et||et.length&&fe(Ce,et,et[et.length-1],xe))return x.Pass;Qe=Me+et[et.length-1]}Ce.getLine(xe.line).charAt(Ee.end)!=">"&&(Qe+=">"),ve[we]=Qe}if(Ce.replaceSelections(ve),Oe=Ce.listSelections(),!_e)for(var we=0;we<Oe.length;we++)(we==Oe.length-1||Oe[we].head.line<Oe[we+1].head.line)&&Ce.indentLine(Oe[we].head.line)}function Se(Ce){return Ce.getOption("disableInput")?x.Pass:He(Ce,!0)}x.commands.closeTag=function(Ce){return He(Ce)};function Ue(Ce,oe){if(Ce.indexOf)return Ce.indexOf(oe);for(var Oe=0,ve=Ce.length;Oe<ve;++Oe)if(Ce[Oe]==oe)return Oe;return-1}function fe(Ce,oe,Oe,ve,Me){if(!x.scanForClosingTag)return!1;var Ie=Math.min(Ce.lastLine()+1,ve.line+500),_e=x.scanForClosingTag(Ce,ve,null,Ie);if(!_e||_e.tag!=Oe)return!1;for(var we=Me?1:0,xe=oe.length-1;xe>=0&&oe[xe]==Oe;xe--)++we;ve=_e.to;for(var xe=1;xe<we;xe++){var Ee=x.scanForClosingTag(Ce,ve,null,Ie);if(!Ee||Ee.tag!=Oe)return!1;ve=Ee.to}return!0}})},32855:function(Vn,Tt,ae){(function(x){x(ae(89780))})(function(x){"use strict";var ct=x.Pos;function Le(xe,Ee){return xe.line-Ee.line||xe.ch-Ee.ch}var Je="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=Je+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Se=new RegExp("<(/?)(["+Je+"]["+He+"]*)","g");function Ue(xe,Ee,ke,ze){this.line=Ee,this.ch=ke,this.cm=xe,this.text=xe.getLine(Ee),this.min=ze?Math.max(ze.from,xe.firstLine()):xe.firstLine(),this.max=ze?Math.min(ze.to-1,xe.lastLine()):xe.lastLine()}function fe(xe,Ee){var ke=xe.cm.getTokenTypeAt(ct(xe.line,Ee));return ke&&/\btag\b/.test(ke)}function Ce(xe){if(!(xe.line>=xe.max))return xe.ch=0,xe.text=xe.cm.getLine(++xe.line),!0}function oe(xe){if(!(xe.line<=xe.min))return xe.text=xe.cm.getLine(--xe.line),xe.ch=xe.text.length,!0}function Oe(xe){for(;;){var Ee=xe.text.indexOf(">",xe.ch);if(Ee==-1){if(Ce(xe))continue;return}if(!fe(xe,Ee+1)){xe.ch=Ee+1;continue}var ke=xe.text.lastIndexOf("/",Ee),ze=ke>-1&&!/\S/.test(xe.text.slice(ke+1,Ee));return xe.ch=Ee+1,ze?"selfClose":"regular"}}function ve(xe){for(;;){var Ee=xe.ch?xe.text.lastIndexOf("<",xe.ch-1):-1;if(Ee==-1){if(oe(xe))continue;return}if(!fe(xe,Ee+1)){xe.ch=Ee;continue}Se.lastIndex=Ee,xe.ch=Ee;var ke=Se.exec(xe.text);if(ke&&ke.index==Ee)return ke}}function Me(xe){for(;;){Se.lastIndex=xe.ch;var Ee=Se.exec(xe.text);if(!Ee){if(Ce(xe))continue;return}if(!fe(xe,Ee.index+1)){xe.ch=Ee.index+1;continue}return xe.ch=Ee.index+Ee[0].length,Ee}}function Ie(xe){for(;;){var Ee=xe.ch?xe.text.lastIndexOf(">",xe.ch-1):-1;if(Ee==-1){if(oe(xe))continue;return}if(!fe(xe,Ee+1)){xe.ch=Ee;continue}var ke=xe.text.lastIndexOf("/",Ee),ze=ke>-1&&!/\S/.test(xe.text.slice(ke+1,Ee));return xe.ch=Ee+1,ze?"selfClose":"regular"}}function _e(xe,Ee){for(var ke=[];;){var ze=Me(xe),Qe,Re=xe.line,et=xe.ch-(ze?ze[0].length:0);if(!ze||!(Qe=Oe(xe)))return;if(Qe!="selfClose")if(ze[1]){for(var Ge=ke.length-1;Ge>=0;--Ge)if(ke[Ge]==ze[2]){ke.length=Ge;break}if(Ge<0&&(!Ee||Ee==ze[2]))return{tag:ze[2],from:ct(Re,et),to:ct(xe.line,xe.ch)}}else ke.push(ze[2])}}function we(xe,Ee){for(var ke=[];;){var ze=Ie(xe);if(!ze)return;if(ze=="selfClose"){ve(xe);continue}var Qe=xe.line,Re=xe.ch,et=ve(xe);if(!et)return;if(et[1])ke.push(et[2]);else{for(var Ge=ke.length-1;Ge>=0;--Ge)if(ke[Ge]==et[2]){ke.length=Ge;break}if(Ge<0&&(!Ee||Ee==et[2]))return{tag:et[2],from:ct(xe.line,xe.ch),to:ct(Qe,Re)}}}}x.registerHelper("fold","xml",function(xe,Ee){for(var ke=new Ue(xe,Ee.line,0);;){var ze=Me(ke);if(!ze||ke.line!=Ee.line)return;var Qe=Oe(ke);if(!Qe)return;if(!ze[1]&&Qe!="selfClose"){var Re=ct(ke.line,ke.ch),et=_e(ke,ze[2]);return et&&Le(et.from,Re)>0?{from:Re,to:et.from}:null}}}),x.findMatchingTag=function(xe,Ee,ke){var ze=new Ue(xe,Ee.line,Ee.ch,ke);if(!(ze.text.indexOf(">")==-1&&ze.text.indexOf("<")==-1)){var Qe=Oe(ze),Re=Qe&&ct(ze.line,ze.ch),et=Qe&&ve(ze);if(!(!Qe||!et||Le(ze,Ee)>0)){var Ge={from:ct(ze.line,ze.ch),to:Re,tag:et[2]};return Qe=="selfClose"?{open:Ge,close:null,at:"open"}:et[1]?{open:we(ze,et[2]),close:Ge,at:"close"}:(ze=new Ue(xe,Re.line,Re.ch,ke),{open:Ge,close:_e(ze,et[2]),at:"open"})}}},x.findEnclosingTag=function(xe,Ee,ke,ze){for(var Qe=new Ue(xe,Ee.line,Ee.ch,ke);;){var Re=we(Qe,ze);if(!Re)break;var et=new Ue(xe,Ee.line,Ee.ch,ke),Ge=_e(et,Re.tag);if(Ge)return{open:Re,close:Ge}}},x.scanForClosingTag=function(xe,Ee,ke,ze){var Qe=new Ue(xe,Ee.line,Ee.ch,ze?{from:0,to:ze}:null);return _e(Qe,ke)}})},89780:function(Vn){(function(Tt,ae){Vn.exports=ae()})(this,function(){"use strict";var Tt=navigator.userAgent,ae=navigator.platform,x=/gecko\/\d/i.test(Tt),ct=/MSIE \d/.test(Tt),Le=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Tt),Je=/Edge\/(\d+)/.exec(Tt),He=ct||Le||Je,Se=He&&(ct?document.documentMode||6:+(Je||Le)[1]),Ue=!Je&&/WebKit\//.test(Tt),fe=Ue&&/Qt\/\d+\.\d+/.test(Tt),Ce=!Je&&/Chrome\//.test(Tt),oe=/Opera\//.test(Tt),Oe=/Apple Computer/.test(navigator.vendor),ve=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Tt),Me=/PhantomJS/.test(Tt),Ie=!Je&&/AppleWebKit/.test(Tt)&&/Mobile\/\w+/.test(Tt),_e=/Android/.test(Tt),we=Ie||_e||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Tt),xe=Ie||/Mac/.test(ae),Ee=/\bCrOS\b/.test(Tt),ke=/win/i.test(ae),ze=oe&&Tt.match(/Version\/(\d*\.\d*)/);ze&&(ze=Number(ze[1])),ze&&ze>=15&&(oe=!1,Ue=!0);var Qe=xe&&(fe||oe&&(ze==null||ze<12.11)),Re=x||He&&Se>=9;function et(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var Ge=function(a,b){var ne=a.className,te=et(b).exec(ne);if(te){var ue=ne.slice(te.index+te[0].length);a.className=ne.slice(0,te.index)+(ue?te[1]+ue:"")}};function lt(a){for(var b=a.childNodes.length;b>0;--b)a.removeChild(a.firstChild);return a}function it(a,b){return lt(a).appendChild(b)}function ft(a,b,ne,te){var ue=document.createElement(a);if(ne&&(ue.className=ne),te&&(ue.style.cssText=te),typeof b=="string")ue.appendChild(document.createTextNode(b));else if(b)for(var De=0;De<b.length;++De)ue.appendChild(b[De]);return ue}function bt(a,b,ne,te){var ue=ft(a,b,ne,te);return ue.setAttribute("role","presentation"),ue}var je;document.createRange?je=function(a,b,ne,te){var ue=document.createRange();return ue.setEnd(te||a,ne),ue.setStart(a,b),ue}:je=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 ht(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 We(a,b){var ne=a.className;et(b).test(ne)||(a.className+=(ne?" ":"")+b)}function Ut(a,b){for(var ne=a.split(" "),te=0;te<ne.length;te++)ne[te]&&!et(ne[te]).test(b)&&(b+=" "+ne[te]);return b}var ot=function(a){a.select()};Ie?ot=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:He&&(ot=function(a){try{a.select()}catch(b){}});function yt(a){var b=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,b)}}function Ft(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 Ze(a,b,ne,te,ue){b==null&&(b=a.search(/[^\s\u00a0]/),b==-1&&(b=a.length));for(var De=te||0,qe=ue||0;;){var mt=a.indexOf(" ",De);if(mt<0||mt>=b)return qe+(b-De);qe+=mt-De,qe+=ne-qe%ne,De=mt+1}}var Te=function(){this.id=null,this.f=null,this.time=0,this.handler=yt(this.onTimeout,this)};Te.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},Te.prototype.set=function(a,b){this.f=b;var ne=+new Date+a;(!this.id||ne<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 Zt=50,Kt={toString:function(){return"CodeMirror.Pass"}},rt={scroll:!1},Nt={origin:"*mouse"},Qt={origin:"+move"};function pn(a,b,ne){for(var te=0,ue=0;;){var De=a.indexOf(" ",te);De==-1&&(De=a.length);var qe=De-te;if(De==a.length||ue+qe>=b)return te+Math.min(qe,b-ue);if(ue+=De-te,ue+=ne-ue%ne,te=De+1,ue>=b)return te}}var Ot=[""];function vn(a){for(;Ot.length<=a;)Ot.push(_t(Ot)+" ");return Ot[a]}function _t(a){return a[a.length-1]}function Fn(a,b){for(var ne=[],te=0;te<a.length;te++)ne[te]=b(a[te],te);return ne}function on(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&&Ft(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 le(a,b){return b?b.source.indexOf("\\w")>-1&&ee(a)?!0:b.test(a):ee(a)}function se(a){for(var b in a)if(a.hasOwnProperty(b)&&a[b])return!1;return!0}var Be=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function $e(a){return a.charCodeAt(0)>=768&&Be.test(a)}function at(a,b,ne){for(;(ne<0?b>0:b<a.length)&&$e(a.charAt(b));)b+=ne;return b}function pt(a,b,ne){for(var te=b>ne?-1:1;;){if(b==ne)return b;var ue=(b+ne)/2,De=te<0?Math.ceil(ue):Math.floor(ue);if(De==b)return a(De)?b:ne;a(De)?ne=De:b=De+te}}function gt(a,b,ne,te){if(!a)return te(b,ne,"ltr",0);for(var ue=!1,De=0;De<a.length;++De){var qe=a[De];(qe.from<ne&&qe.to>b||b==ne&&qe.to==b)&&(te(Math.max(qe.from,b),Math.min(qe.to,ne),qe.level==1?"rtl":"ltr",De),ue=!0)}ue||te(b,ne,"ltr")}var Bt=null;function Lt(a,b,ne){var te;Bt=null;for(var ue=0;ue<a.length;++ue){var De=a[ue];if(De.from<b&&De.to>b)return ue;De.to==b&&(De.from!=De.to&&ne=="before"?te=ue:Bt=ue),De.from==b&&(De.from!=De.to&&ne!="before"?te=ue:Bt=ue)}return te!=null?te:Bt}var Rt=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",b="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ne(Dt){return Dt<=247?a.charAt(Dt):1424<=Dt&&Dt<=1524?"R":1536<=Dt&&Dt<=1785?b.charAt(Dt-1536):1774<=Dt&&Dt<=2220?"r":8192<=Dt&&Dt<=8203?"w":Dt==8204?"b":"L"}var te=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ue=/[stwN]/,De=/[LRr]/,qe=/[Lb1n]/,mt=/[1n]/;function Et(Dt,Ln,Qn){this.level=Dt,this.from=Ln,this.to=Qn}return function(Dt,Ln){var Qn=Ln=="ltr"?"L":"R";if(Dt.length==0||Ln=="ltr"&&!te.test(Dt))return!1;for(var Tr=Dt.length,Er=[],Ci=0;Ci<Tr;++Ci)Er.push(ne(Dt.charCodeAt(Ci)));for(var Wi=0,uo=Qn;Wi<Tr;++Wi){var Io=Er[Wi];Io=="m"?Er[Wi]=uo:uo=Io}for(var zo=0,Lo=Qn;zo<Tr;++zo){var Aa=Er[zo];Aa=="1"&&Lo=="r"?Er[zo]="n":De.test(Aa)&&(Lo=Aa,Aa=="r"&&(Er[zo]="R"))}for(var _a=1,Ba=Er[0];_a<Tr-1;++_a){var Ra=Er[_a];Ra=="+"&&Ba=="1"&&Er[_a+1]=="1"?Er[_a]="1":Ra==","&&Ba==Er[_a+1]&&(Ba=="1"||Ba=="n")&&(Er[_a]=Ba),Ba=Ra}for(var Sl=0;Sl<Tr;++Sl){var Ku=Er[Sl];if(Ku==",")Er[Sl]="N";else if(Ku=="%"){var ql=void 0;for(ql=Sl+1;ql<Tr&&Er[ql]=="%";++ql);for(var yA=Sl&&Er[Sl-1]=="!"||ql<Tr&&Er[ql]=="1"?"1":"N",Yu=Sl;Yu<ql;++Yu)Er[Yu]=yA;Sl=ql-1}}for(var Tu=0,wA=Qn;Tu<Tr;++Tu){var sA=Er[Tu];wA=="L"&&sA=="1"?Er[Tu]="L":De.test(sA)&&(wA=sA)}for(var So=0;So<Tr;++So)if(ue.test(Er[So])){var Rl=void 0;for(Rl=So+1;Rl<Tr&&ue.test(Er[Rl]);++Rl);for(var eu=(So?Er[So-1]:Qn)=="L",tu=(Rl<Tr?Er[Rl]:Qn)=="L",Of=eu==tu?eu?"L":"R":Qn,Ws=So;Ws<Rl;++Ws)Er[Ws]=Of;So=Rl-1}for(var Cs=[],oc,lA=0;lA<Tr;)if(qe.test(Er[lA])){var Ah=lA;for(++lA;lA<Tr&&qe.test(Er[lA]);++lA);Cs.push(new Et(0,Ah,lA))}else{var ka=lA,Sc=Cs.length,cl=Ln=="rtl"?1:0;for(++lA;lA<Tr&&Er[lA]!="L";++lA);for(var uA=ka;uA<lA;)if(mt.test(Er[uA])){ka<uA&&(Cs.splice(Sc,0,new Et(1,ka,uA)),Sc+=cl);var Md=uA;for(++uA;uA<lA&&mt.test(Er[uA]);++uA);Cs.splice(Sc,0,new Et(2,Md,uA)),Sc+=cl,ka=uA}else++uA;ka<lA&&Cs.splice(Sc,0,new Et(1,ka,lA))}return Ln=="ltr"&&(Cs[0].level==1&&(oc=Dt.match(/^\s+/))&&(Cs[0].from=oc[0].length,Cs.unshift(new Et(0,0,oc[0].length))),_t(Cs).level==1&&(oc=Dt.match(/\s+$/))&&(_t(Cs).to-=oc[0].length,Cs.push(new Et(0,Tr-oc[0].length,Tr)))),Ln=="rtl"?Cs.reverse():Cs}}();function Ct(a,b){var ne=a.order;return ne==null&&(ne=a.order=Rt(a.text,b)),ne}var st=[],$t=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]||st).concat(ne)}};function Vt(a,b){return a._handlers&&a._handlers[b]||st}function bn(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 De=At(ue,ne);De>-1&&(te[b]=ue.slice(0,De).concat(ue.slice(De+1)))}}}function an(a,b){var ne=Vt(a,b);if(ne.length)for(var te=Array.prototype.slice.call(arguments,2),ue=0;ue<ne.length;++ue)ne[ue].apply(null,te)}function en(a,b,ne){return typeof b=="string"&&(b={type:b,preventDefault:function(){this.defaultPrevented=!0}}),an(a,ne||b.type,a,b),Wn(b)||b.codemirrorIgnore}function Hn(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 En(a,b){return Vt(a,b).length>0}function Mt(a){a.prototype.on=function(b,ne){$t(this,b,ne)},a.prototype.off=function(b,ne){bn(this,b,ne)}}function sn(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function Dn(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function Wn(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function It(a){sn(a),Dn(a)}function Wt(a){return a.target||a.srcElement}function rn(a){var b=a.which;return b==null&&(a.button&1?b=1:a.button&2?b=3:a.button&4&&(b=2)),xe&&a.ctrlKey&&b==1&&(b=3),b}var mn=function(){if(He&&Se<9)return!1;var a=ft("div");return"draggable"in a||"dragDrop"in a}(),Xn;function Fr(a){if(Xn==null){var b=ft("span","\u200B");it(a,ft("span",[b,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(Xn=b.offsetWidth<=1&&b.offsetHeight>2&&!(He&&Se<8))}var ne=Xn?ft("span","\u200B"):ft("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ne.setAttribute("cm-text",""),ne}var ri;function Hr(a){if(ri!=null)return ri;var b=it(a,document.createTextNode("A\u062EA")),ne=je(b,0,1).getBoundingClientRect(),te=je(b,1,2).getBoundingClientRect();return lt(a),!ne||ne.left==ne.right?!1:ri=te.right-ne.right<3}var Ir=`
b`.split(/\n/).length!=3?function(a){for(var b=0,ne=[],te=a.length;b<=te;){var ue=a.indexOf(`
`,b);ue==-1&&(ue=a.length);var De=a.slice(b,a.charAt(ue-1)=="\r"?ue-1:ue),qe=De.indexOf("\r");qe!=-1?(ne.push(De.slice(0,qe)),b+=qe+1):(ne.push(De),b=ue+1)}return ne}:function(a){return a.split(/\r\n?|\n/)},er=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(b){return!1}}:function(a){var b;try{b=a.ownerDocument.selection.createRange()}catch(ne){}return!b||b.parentElement()!=a?!1:b.compareEndPoints("StartToEnd",b)!=0},vr=function(){var a=ft("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),Mr=null;function Yn(a){if(Mr!=null)return Mr;var b=it(a,ft("span","x")),ne=b.getBoundingClientRect(),te=je(b,0,1).getBoundingClientRect();return Mr=Math.abs(ne.left-te.left)>1}var sr={},jn={};function ur(a,b){arguments.length>2&&(b.dependencies=Array.prototype.slice.call(arguments,2)),sr[a]=b}function br(a,b){jn[a]=b}function Xr(a){if(typeof a=="string"&&jn.hasOwnProperty(a))a=jn[a];else if(a&&typeof a.name=="string"&&jn.hasOwnProperty(a.name)){var b=jn[a.name];typeof b=="string"&&(b={name:b}),a=ge(b,a),a.name=b.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return Xr("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return Xr("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function Yr(a,b){b=Xr(b);var ne=sr[b.name];if(!ne)return Yr(a,"text/plain");var te=ne(a,b);if(pi.hasOwnProperty(b.name)){var ue=pi[b.name];for(var De in ue)ue.hasOwnProperty(De)&&(te.hasOwnProperty(De)&&(te["_"+De]=te[De]),te[De]=ue[De])}if(te.name=b.name,b.helperType&&(te.helperType=b.helperType),b.modeProps)for(var qe in b.modeProps)te[qe]=b.modeProps[qe];return te}var pi={};function ci(a,b){var ne=pi.hasOwnProperty(a)?pi[a]:pi[a]={};Ft(b,ne)}function Hi(a,b){if(b===!0)return b;if(a.copyState)return a.copyState(b);var ne={};for(var te in b){var ue=b[te];ue instanceof Array&&(ue=ue.concat([])),ne[te]=ue}return ne}function mi(a,b){for(var ne;a.innerMode&&(ne=a.innerMode(b),!(!ne||ne.mode==a));)b=ne.state,a=ne.mode;return ne||{mode:a,state:b}}function no(a,b,ne){return a.startState?a.startState(b,ne):!0}var Ki=function(a,b,ne){this.pos=this.start=0,this.string=a,this.tabSize=b||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ne};Ki.prototype.eol=function(){return this.pos>=this.string.length},Ki.prototype.sol=function(){return this.pos==this.lineStart},Ki.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ki.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ki.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},Ki.prototype.eatWhile=function(a){for(var b=this.pos;this.eat(a););return this.pos>b},Ki.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Ki.prototype.skipToEnd=function(){this.pos=this.string.length},Ki.prototype.skipTo=function(a){var b=this.string.indexOf(a,this.pos);if(b>-1)return this.pos=b,!0},Ki.prototype.backUp=function(a){this.pos-=a},Ki.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Ze(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Ze(this.string,this.lineStart,this.tabSize):0)},Ki.prototype.indentation=function(){return Ze(this.string,null,this.tabSize)-(this.lineStart?Ze(this.string,this.lineStart,this.tabSize):0)},Ki.prototype.match=function(a,b,ne){if(typeof a=="string"){var te=function(qe){return ne?qe.toLowerCase():qe},ue=this.string.substr(this.pos,a.length);if(te(ue)==te(a))return b!==!1&&(this.pos+=a.length),!0}else{var De=this.string.slice(this.pos).match(a);return De&&De.index>0?null:(De&&b!==!1&&(this.pos+=De[0].length),De)}},Ki.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ki.prototype.hideFirstChars=function(a,b){this.lineStart+=a;try{return b()}finally{this.lineStart-=a}},Ki.prototype.lookAhead=function(a){var b=this.lineOracle;return b&&b.lookAhead(a)},Ki.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function fr(a,b){if(b-=a.first,b<0||b>=a.size)throw new Error("There is no line "+(b+a.first)+" in the document.");for(var ne=a;!ne.lines;)for(var te=0;;++te){var ue=ne.children[te],De=ue.chunkSize();if(b<De){ne=ue;break}b-=De}return ne.lines[b]}function Lr(a,b,ne){var te=[],ue=b.line;return a.iter(b.line,ne.line+1,function(De){var qe=De.text;ue==ne.line&&(qe=qe.slice(0,ne.ch)),ue==b.line&&(qe=qe.slice(b.ch)),te.push(qe),++ue}),te}function gi(a,b,ne){var te=[];return a.iter(b,ne,function(ue){te.push(ue.text)}),te}function Xt(a,b){var ne=b-a.height;if(ne)for(var te=a;te;te=te.parent)te.height+=ne}function ln(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 yn(a,b){var ne=a.first;e:do{for(var te=0;te<a.children.length;++te){var ue=a.children[te],De=ue.height;if(b<De){a=ue;continue e}b-=De,ne+=ue.chunkSize()}return ne}while(!a.lines);for(var qe=0;qe<a.lines.length;++qe){var mt=a.lines[qe],Et=mt.height;if(b<Et)break;b-=Et}return ne+qe}function kt(a,b){return b>=a.first&&b<a.first+a.size}function dn(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 hn(a,b){return a.line-b.line||a.ch-b.ch}function Pn(a,b){return a.sticky==b.sticky&&hn(a,b)==0}function _r(a){return zt(a.line,a.ch)}function Jr(a,b){return hn(a,b)<0?b:a}function di(a,b){return hn(a,b)<0?a:b}function ir(a,b){return Math.max(a.first,Math.min(b,a.first+a.size-1))}function Ar(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,fr(a,ne).text.length):ar(b,fr(a,b.line).text.length)}function ar(a,b){var ne=a.ch;return ne==null||ne>b?zt(a.line,b):ne<0?zt(a.line,0):a}function ei(a,b){for(var ne=[],te=0;te<b.length;te++)ne[te]=Ar(a,b[te]);return ne}var tr=function(a,b){this.state=a,this.lookAhead=b},Un=function(a,b,ne,te){this.state=b,this.doc=a,this.line=ne,this.maxLookAhead=te||0,this.baseTokens=null,this.baseTokenPos=1};Un.prototype.lookAhead=function(a){var b=this.doc.getLine(this.line+a);return b!=null&&a>this.maxLookAhead&&(this.maxLookAhead=a),b},Un.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var b=this.baseTokens[this.baseTokenPos+1];return{type:b&&b.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},Un.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Un.fromSaved=function(a,b,ne){return b instanceof tr?new Un(a,Hi(a.mode,b.state),ne,b.lookAhead):new Un(a,Hi(a.mode,b),ne)},Un.prototype.save=function(a){var b=a!==!1?Hi(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new tr(b,this.maxLookAhead):b};function cr(a,b,ne,te){var ue=[a.state.modeGen],De={};fi(a,b.text,a.doc.mode,ne,function(Dt,Ln){return ue.push(Dt,Ln)},De,te);for(var qe=ne.state,mt=function(Dt){ne.baseTokens=ue;var Ln=a.state.overlays[Dt],Qn=1,Tr=0;ne.state=!0,fi(a,b.text,Ln.mode,ne,function(Er,Ci){for(var Wi=Qn;Tr<Er;){var uo=ue[Qn];uo>Er&&ue.splice(Qn,1,Er,ue[Qn+1],uo),Qn+=2,Tr=Math.min(Er,uo)}if(Ci)if(Ln.opaque)ue.splice(Wi,Qn-Wi,Er,"overlay "+Ci),Qn=Wi+2;else for(;Wi<Qn;Wi+=2){var Io=ue[Wi+1];ue[Wi+1]=(Io?Io+" ":"")+"overlay "+Ci}},De),ne.state=qe,ne.baseTokens=null,ne.baseTokenPos=1},Et=0;Et<a.state.overlays.length;++Et)mt(Et);return{styles:ue,classes:De.bgClass||De.textClass?De:null}}function Bi(a,b,ne){if(!b.styles||b.styles[0]!=a.state.modeGen){var te=zn(a,ln(b)),ue=b.text.length>a.options.maxHighlightLength&&Hi(a.doc.mode,te.state),De=cr(a,b,te);ue&&(te.state=ue),b.stateAfter=te.save(!ue),b.styles=De.styles,De.classes?b.styleClasses=De.classes:b.styleClasses&&(b.styleClasses=null),ne===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return b.styles}function zn(a,b,ne){var te=a.doc,ue=a.display;if(!te.mode.startState)return new Un(te,!0,b);var De=Li(a,b,ne),qe=De>te.first&&fr(te,De-1).stateAfter,mt=qe?Un.fromSaved(te,qe,De):new Un(te,no(te.mode),De);return te.iter(De,b,function(Et){gn(a,Et.text,mt);var Dt=mt.line;Et.stateAfter=Dt==b-1||Dt%5==0||Dt>=ue.viewFrom&&Dt<ue.viewTo?mt.save():null,mt.nextLine()}),ne&&(te.modeFrontier=mt.line),mt}function gn(a,b,ne,te){var ue=a.doc.mode,De=new Ki(b,a.options.tabSize,ne);for(De.start=De.pos=te||0,b==""&&$n(ue,ne.state);!De.eol();)nr(ue,De,ne.state),De.start=De.pos}function $n(a,b){if(a.blankLine)return a.blankLine(b);if(a.innerMode){var ne=mi(a,b);if(ne.mode.blankLine)return ne.mode.blankLine(ne.state)}}function nr(a,b,ne,te){for(var ue=0;ue<10;ue++){te&&(te[0]=mi(a,ne).mode);var De=a.token(b,ne);if(b.pos>b.start)return De}throw new Error("Mode "+a.name+" failed to advance stream.")}var pr=function(a,b,ne){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=b||null,this.state=ne};function Zr(a,b,ne,te){var ue=a.doc,De=ue.mode,qe;b=Ar(ue,b);var mt=fr(ue,b.line),Et=zn(a,b.line,ne),Dt=new Ki(mt.text,a.options.tabSize,Et),Ln;for(te&&(Ln=[]);(te||Dt.pos<b.ch)&&!Dt.eol();)Dt.start=Dt.pos,qe=nr(De,Dt,Et.state),te&&Ln.push(new pr(Dt,qe,Hi(ue.mode,Et.state)));return te?Ln:new pr(Dt,qe,Et.state)}function Ni(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 fi(a,b,ne,te,ue,De,qe){var mt=ne.flattenSpans;mt==null&&(mt=a.options.flattenSpans);var Et=0,Dt=null,Ln=new Ki(b,a.options.tabSize,te),Qn,Tr=a.options.addModeClass&&[null];for(b==""&&Ni($n(ne,te.state),De);!Ln.eol();){if(Ln.pos>a.options.maxHighlightLength?(mt=!1,qe&&gn(a,b,te,Ln.pos),Ln.pos=b.length,Qn=null):Qn=Ni(nr(ne,Ln,te.state,Tr),De),Tr){var Er=Tr[0].name;Er&&(Qn="m-"+(Qn?Er+" "+Qn:Er))}if(!mt||Dt!=Qn){for(;Et<Ln.start;)Et=Math.min(Ln.start,Et+5e3),ue(Et,Dt);Dt=Qn}Ln.start=Ln.pos}for(;Et<Ln.pos;){var Ci=Math.min(Ln.pos,Et+5e3);ue(Ci,Dt),Et=Ci}}function Li(a,b,ne){for(var te,ue,De=a.doc,qe=ne?-1:b-(a.doc.mode.innerMode?1e3:100),mt=b;mt>qe;--mt){if(mt<=De.first)return De.first;var Et=fr(De,mt-1),Dt=Et.stateAfter;if(Dt&&(!ne||mt+(Dt instanceof tr?Dt.lookAhead:0)<=De.modeFrontier))return mt;var Ln=Ze(Et.text,null,a.options.tabSize);(ue==null||te>Ln)&&(ue=mt-1,te=Ln)}return ue}function vi(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=fr(a,te).stateAfter;if(ue&&(!(ue instanceof tr)||te+ue.lookAhead<b)){ne=te+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,ne)}}var Ei=!1,yi=!1;function Si(){Ei=!0}function wi(){yi=!0}function Ti(a,b,ne){this.marker=a,this.from=b,this.to=ne}function eo(a,b){if(a)for(var ne=0;ne<a.length;++ne){var te=a[ne];if(te.marker==b)return te}}function vo(a,b){for(var ne,te=0;te<a.length;++te)a[te]!=b&&(ne||(ne=[])).push(a[te]);return ne}function Yi(a,b){a.markedSpans=a.markedSpans?a.markedSpans.concat([b]):[b],b.marker.attachLine(a)}function Do(a,b,ne){var te;if(a)for(var ue=0;ue<a.length;++ue){var De=a[ue],qe=De.marker,mt=De.from==null||(qe.inclusiveLeft?De.from<=b:De.from<b);if(mt||De.from==b&&qe.type=="bookmark"&&(!ne||!De.marker.insertLeft)){var Et=De.to==null||(qe.inclusiveRight?De.to>=b:De.to>b);(te||(te=[])).push(new Ti(qe,De.from,Et?null:De.to))}}return te}function ki(a,b,ne){var te;if(a)for(var ue=0;ue<a.length;++ue){var De=a[ue],qe=De.marker,mt=De.to==null||(qe.inclusiveRight?De.to>=b:De.to>b);if(mt||De.from==b&&qe.type=="bookmark"&&(!ne||De.marker.insertLeft)){var Et=De.from==null||(qe.inclusiveLeft?De.from<=b:De.from<b);(te||(te=[])).push(new Ti(qe,Et?null:De.from-b,De.to==null?null:De.to-b))}}return te}function ko(a,b){if(b.full)return null;var ne=kt(a,b.from.line)&&fr(a,b.from.line).markedSpans,te=kt(a,b.to.line)&&fr(a,b.to.line).markedSpans;if(!ne&&!te)return null;var ue=b.from.ch,De=b.to.ch,qe=hn(b.from,b.to)==0,mt=Do(ne,ue,qe),Et=ki(te,De,qe),Dt=b.text.length==1,Ln=_t(b.text).length+(Dt?ue:0);if(mt)for(var Qn=0;Qn<mt.length;++Qn){var Tr=mt[Qn];if(Tr.to==null){var Er=eo(Et,Tr.marker);Er?Dt&&(Tr.to=Er.to==null?null:Er.to+Ln):Tr.to=ue}}if(Et)for(var Ci=0;Ci<Et.length;++Ci){var Wi=Et[Ci];if(Wi.to!=null&&(Wi.to+=Ln),Wi.from==null){var uo=eo(mt,Wi.marker);uo||(Wi.from=Ln,Dt&&(mt||(mt=[])).push(Wi))}else Wi.from+=Ln,Dt&&(mt||(mt=[])).push(Wi)}mt&&(mt=Ao(mt)),Et&&Et!=mt&&(Et=Ao(Et));var Io=[mt];if(!Dt){var zo=b.text.length-2,Lo;if(zo>0&&mt)for(var Aa=0;Aa<mt.length;++Aa)mt[Aa].to==null&&(Lo||(Lo=[])).push(new Ti(mt[Aa].marker,null,null));for(var _a=0;_a<zo;++_a)Io.push(Lo);Io.push(Et)}return Io}function Ao(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 Xo(a,b,ne){var te=null;if(a.iter(b.line,ne.line+1,function(Er){if(Er.markedSpans)for(var Ci=0;Ci<Er.markedSpans.length;++Ci){var Wi=Er.markedSpans[Ci].marker;Wi.readOnly&&(!te||At(te,Wi)==-1)&&(te||(te=[])).push(Wi)}}),!te)return null;for(var ue=[{from:b,to:ne}],De=0;De<te.length;++De)for(var qe=te[De],mt=qe.find(0),Et=0;Et<ue.length;++Et){var Dt=ue[Et];if(!(hn(Dt.to,mt.from)<0||hn(Dt.from,mt.to)>0)){var Ln=[Et,1],Qn=hn(Dt.from,mt.from),Tr=hn(Dt.to,mt.to);(Qn<0||!qe.inclusiveLeft&&!Qn)&&Ln.push({from:Dt.from,to:mt.from}),(Tr>0||!qe.inclusiveRight&&!Tr)&&Ln.push({from:mt.to,to:Dt.to}),ue.splice.apply(ue,Ln),Et+=Ln.length-3}}return ue}function 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 xo(a){return a.inclusiveLeft?-1:0}function $o(a){return a.inclusiveRight?1:0}function _n(a,b){var ne=a.lines.length-b.lines.length;if(ne!=0)return ne;var te=a.find(),ue=b.find(),De=hn(te.from,ue.from)||xo(a)-xo(b);if(De)return-De;var qe=hn(te.to,ue.to)||$o(a)-$o(b);return qe||b.id-a.id}function No(a,b){var ne=yi&&a.markedSpans,te;if(ne)for(var ue=void 0,De=0;De<ne.length;++De)ue=ne[De],ue.marker.collapsed&&(b?ue.from:ue.to)==null&&(!te||_n(te,ue.marker)<0)&&(te=ue.marker);return te}function Vi(a){return No(a,!0)}function Ur(a){return No(a,!1)}function qr(a,b){var ne=yi&&a.markedSpans,te;if(ne)for(var ue=0;ue<ne.length;++ue){var De=ne[ue];De.marker.collapsed&&(De.from==null||De.from<b)&&(De.to==null||De.to>b)&&(!te||_n(te,De.marker)<0)&&(te=De.marker)}return te}function ti(a,b,ne,te,ue){var De=fr(a,b),qe=yi&&De.markedSpans;if(qe)for(var mt=0;mt<qe.length;++mt){var Et=qe[mt];if(Et.marker.collapsed){var Dt=Et.marker.find(0),Ln=hn(Dt.from,ne)||xo(Et.marker)-xo(ue),Qn=hn(Dt.to,te)||$o(Et.marker)-$o(ue);if(!(Ln>=0&&Qn<=0||Ln<=0&&Qn>=0)&&(Ln<=0&&(Et.marker.inclusiveRight&&ue.inclusiveLeft?hn(Dt.to,ne)>=0:hn(Dt.to,ne)>0)||Ln>=0&&(Et.marker.inclusiveRight&&ue.inclusiveLeft?hn(Dt.from,te)<=0:hn(Dt.from,te)<0)))return!0}}}function Wr(a){for(var b;b=Vi(a);)a=b.find(-1,!0).line;return a}function Ri(a){for(var b;b=Ur(a);)a=b.find(1,!0).line;return a}function ro(a){for(var b,ne;b=Ur(a);)a=b.find(1,!0).line,(ne||(ne=[])).push(a);return ne}function zr(a,b){var ne=fr(a,b),te=Wr(ne);return ne==te?b:ln(te)}function oi(a,b){if(b>a.lastLine())return b;var ne=fr(a,b),te;if(!yr(a,ne))return b;for(;te=Ur(ne);)ne=te.find(1,!0).line;return ln(ne)+1}function yr(a,b){var ne=yi&&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&&ni(a,b,te))return!0}}}function ni(a,b,ne){if(ne.to==null){var te=ne.marker.find(1,!0);return ni(a,te.line,eo(te.line.markedSpans,ne.marker))}if(ne.marker.inclusiveRight&&ne.to==b.text.length)return!0;for(var ue=void 0,De=0;De<b.markedSpans.length;++De)if(ue=b.markedSpans[De],ue.marker.collapsed&&!ue.marker.widgetNode&&ue.from==ne.to&&(ue.to==null||ue.to!=ne.from)&&(ue.marker.inclusiveLeft||ne.marker.inclusiveRight)&&ni(a,b,ue))return!0}function co(a){a=Wr(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 De=ne.parent;De;ne=De,De=ne.parent)for(var qe=0;qe<De.children.length;++qe){var mt=De.children[qe];if(mt==ne)break;b+=mt.height}return b}function Jo(a){if(a.height==0)return 0;for(var b=a.text.length,ne,te=a;ne=Vi(te);){var ue=ne.find(0,!0);te=ue.from.line,b+=ue.from.ch-ue.to.ch}for(te=a;ne=Ur(te);){var De=ne.find(0,!0);b-=te.text.length-De.from.ch,te=De.to.line,b+=te.text.length-De.to.ch}return b}function fo(a){var b=a.display,ne=a.doc;b.maxLine=fr(ne,ne.first),b.maxLineLength=Jo(b.maxLine),b.maxLineChanged=!0,ne.iter(function(te){var ue=Jo(te);ue>b.maxLineLength&&(b.maxLineLength=ue,b.maxLine=te)})}var ta=function(a,b,ne){this.text=a,to(this,b),this.height=ne?ne(this):1};ta.prototype.lineNo=function(){return ln(this)},Mt(ta);function Go(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&&Xt(a,ue)}function va(a){a.parent=null,Co(a)}var Vo={},oa={};function da(a,b){if(!a||/^\s*$/.test(a))return null;var ne=b.addModeClass?oa:Vo;return ne[a]||(ne[a]=a.replace(/\S+/g,"cm-$&"))}function Wa(a,b){var ne=bt("span",null,null,Ue?"padding-right: .1px":null),te={pre:bt("pre",[ne],"CodeMirror-line"),content:ne,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};b.measure={};for(var ue=0;ue<=(b.rest?b.rest.length:0);ue++){var De=ue?b.rest[ue-1]:b.line,qe=void 0;te.pos=0,te.addToken=zs,Hr(a.display.measure)&&(qe=Ct(De,a.doc.direction))&&(te.addToken=us(te.addToken,qe)),te.map=[];var mt=b!=a.display.externalMeasured&&ln(De);mo(De,te,Bi(a,De,mt)),De.styleClasses&&(De.styleClasses.bgClass&&(te.bgClass=Ut(De.styleClasses.bgClass,te.bgClass||"")),De.styleClasses.textClass&&(te.textClass=Ut(De.styleClasses.textClass,te.textClass||""))),te.map.length==0&&te.map.push(0,0,te.content.appendChild(Fr(a.display.measure))),ue==0?(b.measure.map=te.map,b.measure.cache={}):((b.measure.maps||(b.measure.maps=[])).push(te.map),(b.measure.caches||(b.measure.caches=[])).push({}))}if(Ue){var Et=te.content.lastChild;(/\bcm-tab\b/.test(Et.className)||Et.querySelector&&Et.querySelector(".cm-tab"))&&(te.content.className="cm-tab-wrap-hack")}return an(a,"renderLine",a,b.line,te.pre),te.pre.className&&(te.textClass=Ut(te.pre.className,te.textClass||"")),te}function Ds(a){var b=ft("span","\u2022","cm-invalidchar");return b.title="\\u"+a.charCodeAt(0).toString(16),b.setAttribute("aria-label",b.title),b}function zs(a,b,ne,te,ue,De,qe){if(b){var mt=a.splitSpaces?is(b,a.trailingSpace):b,Et=a.cm.state.specialChars,Dt=!1,Ln;if(!Et.test(b))a.col+=b.length,Ln=document.createTextNode(mt),a.map.push(a.pos,a.pos+b.length,Ln),He&&Se<9&&(Dt=!0),a.pos+=b.length;else{Ln=document.createDocumentFragment();for(var Qn=0;;){Et.lastIndex=Qn;var Tr=Et.exec(b),Er=Tr?Tr.index-Qn:b.length-Qn;if(Er){var Ci=document.createTextNode(mt.slice(Qn,Qn+Er));He&&Se<9?Ln.appendChild(ft("span",[Ci])):Ln.appendChild(Ci),a.map.push(a.pos,a.pos+Er,Ci),a.col+=Er,a.pos+=Er}if(!Tr)break;Qn+=Er+1;var Wi=void 0;if(Tr[0]==" "){var uo=a.cm.options.tabSize,Io=uo-a.col%uo;Wi=Ln.appendChild(ft("span",vn(Io),"cm-tab")),Wi.setAttribute("role","presentation"),Wi.setAttribute("cm-text"," "),a.col+=Io}else Tr[0]=="\r"||Tr[0]==`
`?(Wi=Ln.appendChild(ft("span",Tr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Wi.setAttribute("cm-text",Tr[0]),a.col+=1):(Wi=a.cm.options.specialCharPlaceholder(Tr[0]),Wi.setAttribute("cm-text",Tr[0]),He&&Se<9?Ln.appendChild(ft("span",[Wi])):Ln.appendChild(Wi),a.col+=1);a.map.push(a.pos,a.pos+1,Wi),a.pos++}}if(a.trailingSpace=mt.charCodeAt(b.length-1)==32,ne||te||ue||Dt||De||qe){var zo=ne||"";te&&(zo+=te),ue&&(zo+=ue);var Lo=ft("span",[Ln],zo,De);if(qe)for(var Aa in qe)qe.hasOwnProperty(Aa)&&Aa!="style"&&Aa!="class"&&Lo.setAttribute(Aa,qe[Aa]);return a.content.appendChild(Lo)}a.content.appendChild(Ln)}}function is(a,b){if(a.length>1&&!/ /.test(a))return a;for(var ne=b,te="",ue=0;ue<a.length;ue++){var De=a.charAt(ue);De==" "&&ne&&(ue==a.length-1||a.charCodeAt(ue+1)==32)&&(De="\xA0"),te+=De,ne=De==" "}return te}function us(a,b){return function(ne,te,ue,De,qe,mt,Et){ue=ue?ue+" cm-force-border":"cm-force-border";for(var Dt=ne.pos,Ln=Dt+te.length;;){for(var Qn=void 0,Tr=0;Tr<b.length&&(Qn=b[Tr],!(Qn.to>Dt&&Qn.from<=Dt));Tr++);if(Qn.to>=Ln)return a(ne,te,ue,De,qe,mt,Et);a(ne,te.slice(0,Qn.to-Dt),ue,De,null,mt,Et),De=null,te=te.slice(Qn.to-Dt),Dt=Qn.to}}}function Mo(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 mo(a,b,ne){var te=a.markedSpans,ue=a.text,De=0;if(!te){for(var qe=1;qe<ne.length;qe+=2)b.addToken(b,ue.slice(De,De=ne[qe]),da(ne[qe+1],b.cm.options));return}for(var mt=ue.length,Et=0,Dt=1,Ln="",Qn,Tr,Er=0,Ci,Wi,uo,Io,zo;;){if(Er==Et){Ci=Wi=uo=Tr="",zo=null,Io=null,Er=1/0;for(var Lo=[],Aa=void 0,_a=0;_a<te.length;++_a){var Ba=te[_a],Ra=Ba.marker;if(Ra.type=="bookmark"&&Ba.from==Et&&Ra.widgetNode)Lo.push(Ra);else if(Ba.from<=Et&&(Ba.to==null||Ba.to>Et||Ra.collapsed&&Ba.to==Et&&Ba.from==Et)){if(Ba.to!=null&&Ba.to!=Et&&Er>Ba.to&&(Er=Ba.to,Wi=""),Ra.className&&(Ci+=" "+Ra.className),Ra.css&&(Tr=(Tr?Tr+";":"")+Ra.css),Ra.startStyle&&Ba.from==Et&&(uo+=" "+Ra.startStyle),Ra.endStyle&&Ba.to==Er&&(Aa||(Aa=[])).push(Ra.endStyle,Ba.to),Ra.title&&((zo||(zo={})).title=Ra.title),Ra.attributes)for(var Sl in Ra.attributes)(zo||(zo={}))[Sl]=Ra.attributes[Sl];Ra.collapsed&&(!Io||_n(Io.marker,Ra)<0)&&(Io=Ba)}else Ba.from>Et&&Er>Ba.from&&(Er=Ba.from)}if(Aa)for(var Ku=0;Ku<Aa.length;Ku+=2)Aa[Ku+1]==Er&&(Wi+=" "+Aa[Ku]);if(!Io||Io.from==Et)for(var ql=0;ql<Lo.length;++ql)Mo(b,0,Lo[ql]);if(Io&&(Io.from||0)==Et){if(Mo(b,(Io.to==null?mt+1:Io.to)-Et,Io.marker,Io.from==null),Io.to==null)return;Io.to==Et&&(Io=!1)}}if(Et>=mt)break;for(var yA=Math.min(mt,Er);;){if(Ln){var Yu=Et+Ln.length;if(!Io){var Tu=Yu>yA?Ln.slice(0,yA-Et):Ln;b.addToken(b,Tu,Qn?Qn+Ci:Ci,uo,Et+Tu.length==Er?Wi:"",Tr,zo)}if(Yu>=yA){Ln=Ln.slice(yA-Et),Et=yA;break}Et=Yu,uo=""}Ln=ue.slice(De,De=ne[Dt++]),Qn=da(ne[Dt++],b.cm.options)}}}function Fa(a,b,ne){this.line=b,this.rest=ro(b),this.size=this.rest?ln(_t(this.rest))-ne+1:1,this.node=this.text=null,this.hidden=yr(a,b)}function hs(a,b,ne){for(var te=[],ue,De=b;De<ne;De=ue){var qe=new Fa(a.doc,fr(a.doc,De),De);ue=De+qe.size,te.push(qe)}return te}var el=null;function tl(a){el?el.ops.push(a):a.ownsGroup=el={ops:[a],delayedCallbacks:[]}}function nl(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 hl(a,b){var ne=a.ownsGroup;if(ne)try{nl(ne)}finally{el=null,b(ne)}}var lu=null;function Js(a,b){var ne=Vt(a,b);if(ne.length){var te=Array.prototype.slice.call(arguments,2),ue;el?ue=el.delayedCallbacks:lu?ue=lu:(ue=lu=[],setTimeout(Kl,0));for(var De=function(mt){ue.push(function(){return ne[mt].apply(null,te)})},qe=0;qe<ne.length;++qe)De(qe)}}function Kl(){var a=lu;lu=null;for(var b=0;b<a.length;++b)a[b]()}function Zl(a,b,ne,te){for(var ue=0;ue<b.changes.length;ue++){var De=b.changes[ue];De=="text"?hA(a,b):De=="gutter"?Ia(a,b,ne,te):De=="class"?pa(a,b):De=="widget"&&ma(a,b,te)}b.changes=null}function Lu(a){return a.node==a.text&&(a.node=ft("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),He&&Se<8&&(a.node.style.zIndex=2)),a.node}function dl(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(ft("div",null,ne),te.firstChild),a.display.input.setUneditable(b.background)}}function FA(a,b){var ne=a.display.externalMeasured;return ne&&ne.line==b.line?(a.display.externalMeasured=null,b.measure=ne.measure,ne.built):Wa(a,b)}function hA(a,b){var ne=b.text.className,te=FA(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,pa(a,b)):ne&&(b.text.className=ne)}function pa(a,b){dl(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 Ia(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=ft("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 De=b.line.gutterMarkers;if(a.options.lineNumbers||De){var qe=Lu(b),mt=b.gutter=ft("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?te.fixedPos:-te.gutterTotalWidth)+"px");if(a.display.input.setUneditable(mt),qe.insertBefore(mt,b.text),b.line.gutterClass&&(mt.className+=" "+b.line.gutterClass),a.options.lineNumbers&&(!De||!De["CodeMirror-linenumbers"])&&(b.lineNumber=mt.appendChild(ft("div",dn(a.options,ne),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+te.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),De)for(var Et=0;Et<a.display.gutterSpecs.length;++Et){var Dt=a.display.gutterSpecs[Et].className,Ln=De.hasOwnProperty(Dt)&&De[Dt];Ln&&mt.appendChild(ft("div",[Ln],"CodeMirror-gutter-elt","left: "+te.gutterLeft[Dt]+"px; width: "+te.gutterWidth[Dt]+"px"))}}}function ma(a,b,ne){b.alignable&&(b.alignable=null);for(var te=et("CodeMirror-linewidget"),ue=b.node.firstChild,De=void 0;ue;ue=De)De=ue.nextSibling,te.test(ue.className)&&b.node.removeChild(ue);qa(a,b,ne)}function Ca(a,b,ne,te){var ue=FA(a,b);return b.text=b.node=ue.pre,ue.bgClass&&(b.bgClass=ue.bgClass),ue.textClass&&(b.textClass=ue.textClass),pa(a,b),Ia(a,b,ne,te),qa(a,b,te),b.node}function qa(a,b,ne){if(Xa(a,b.line,b,ne,!0),b.rest)for(var te=0;te<b.rest.length;te++)Xa(a,b.rest[te],b,ne,!1)}function Xa(a,b,ne,te,ue){if(b.widgets)for(var De=Lu(ne),qe=0,mt=b.widgets;qe<mt.length;++qe){var Et=mt[qe],Dt=ft("div",[Et.node],"CodeMirror-linewidget"+(Et.className?" "+Et.className:""));Et.handleMouseEvents||Dt.setAttribute("cm-ignore-events","true"),Ha(Et,Dt,ne,te),a.display.input.setUneditable(Dt),ue&&Et.above?De.insertBefore(Dt,ne.gutter||ne.text):De.appendChild(Dt),Js(Et,"redraw")}}function Ha(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 Wl(a){if(a.height!=null)return a.height;var b=a.doc.cm;if(!b)return 0;if(!ht(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;"),it(b.display.measure,ft("div",[a.node],null,ne))}return a.height=a.node.parentNode.offsetHeight}function uu(a,b){for(var ne=Wt(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 ji(a){return a.lineSpace.offsetTop}function ga(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function Ta(a){if(a.cachedPaddingH)return a.cachedPaddingH;var b=it(a.measure,ft("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 iu(a){return Zt-a.display.nativeBarWidth}function Pl(a){return a.display.scroller.clientWidth-iu(a)-a.display.barWidth}function ps(a){return a.display.scroller.clientHeight-iu(a)-a.display.barHeight}function Cu(a,b,ne){var te=a.options.lineWrapping,ue=te&&Pl(a);if(!b.measure.heights||te&&b.measure.width!=ue){var De=b.measure.heights=[];if(te){b.measure.width=ue;for(var qe=b.text.firstChild.getClientRects(),mt=0;mt<qe.length-1;mt++){var Et=qe[mt],Dt=qe[mt+1];Math.abs(Et.bottom-Dt.bottom)>2&&De.push((Et.bottom+Dt.top)/2-ne.top)}}De.push(ne.bottom-ne.top)}}function pl(a,b,ne){if(a.line==b)return{map:a.measure.map,cache:a.measure.cache};for(var te=0;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(ln(a.rest[ue])>ne)return{map:a.measure.maps[ue],cache:a.measure.caches[ue],before:!0}}function Kc(a,b){b=Wr(b);var ne=ln(b),te=a.display.externalMeasured=new Fa(a.doc,b,ne);te.lineN=ne;var ue=te.built=Wa(a,te);return te.text=ue.pre,it(a.display.lineMeasure,ue.pre),te}function IA(a,b,ne,te){return Wu(a,aa(a,b),ne,te)}function xu(a,b){if(b>=a.display.viewFrom&&b<a.display.viewTo)return a.display.view[hc(a,b)];var ne=a.display.externalMeasured;if(ne&&b>=ne.lineN&&b<ne.lineN+ne.size)return ne}function aa(a,b){var ne=ln(b),te=xu(a,ne);te&&!te.text?te=null:te&&te.changes&&(Zl(a,te,ne,rc(a)),a.curOp.forceUpdate=!0),te||(te=Kc(a,b));var ue=pl(te,b,ne);return{line:b,view:te,rect:null,map:ue.map,cache:ue.cache,before:ue.before,hasHeights:!1}}function Wu(a,b,ne,te,ue){b.before&&(ne=-1);var De=ne+(te||""),qe;return b.cache.hasOwnProperty(De)?qe=b.cache[De]:(b.rect||(b.rect=b.view.text.getBoundingClientRect()),b.hasHeights||(Cu(a,b.view,b.rect),b.hasHeights=!0),qe=eA(a,b,ne,te),qe.bogus||(b.cache[De]=qe)),{left:qe.left,right:qe.right,top:ue?qe.rtop:qe.top,bottom:ue?qe.rbottom:qe.bottom}}var dc={left:0,right:0,top:0,bottom:0};function Mu(a,b,ne){for(var te,ue,De,qe,mt,Et,Dt=0;Dt<a.length;Dt+=3)if(mt=a[Dt],Et=a[Dt+1],b<mt?(ue=0,De=1,qe="left"):b<Et?(ue=b-mt,De=ue+1):(Dt==a.length-3||b==Et&&a[Dt+3]>b)&&(De=Et-mt,ue=De-1,b>=Et&&(qe="right")),ue!=null){if(te=a[Dt+2],mt==Et&&ne==(te.insertLeft?"left":"right")&&(qe=ne),ne=="left"&&ue==0)for(;Dt&&a[Dt-2]==a[Dt-3]&&a[Dt-1].insertLeft;)te=a[(Dt-=3)+2],qe="left";if(ne=="right"&&ue==Et-mt)for(;Dt<a.length-3&&a[Dt+3]==a[Dt+4]&&!a[Dt+5].insertLeft;)te=a[(Dt+=3)+2],qe="right";break}return{node:te,start:ue,end:De,collapse:qe,coverStart:mt,coverEnd:Et}}function Ns(a,b){var ne=dc;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 eA(a,b,ne,te){var ue=Mu(b.map,ne,te),De=ue.node,qe=ue.start,mt=ue.end,Et=ue.collapse,Dt;if(De.nodeType==3){for(var Ln=0;Ln<4;Ln++){for(;qe&&$e(b.line.text.charAt(ue.coverStart+qe));)--qe;for(;ue.coverStart+mt<ue.coverEnd&&$e(b.line.text.charAt(ue.coverStart+mt));)++mt;if(He&&Se<9&&qe==0&&mt==ue.coverEnd-ue.coverStart?Dt=De.parentNode.getBoundingClientRect():Dt=Ns(je(De,qe,mt).getClientRects(),te),Dt.left||Dt.right||qe==0)break;mt=qe,qe=qe-1,Et="right"}He&&Se<11&&(Dt=pA(a.display.measure,Dt))}else{qe>0&&(Et=te="right");var Qn;a.options.lineWrapping&&(Qn=De.getClientRects()).length>1?Dt=Qn[te=="right"?Qn.length-1:0]:Dt=De.getBoundingClientRect()}if(He&&Se<9&&!qe&&(!Dt||!Dt.left&&!Dt.right)){var Tr=De.parentNode.getClientRects()[0];Tr?Dt={left:Tr.left,right:Tr.left+nc(a.display),top:Tr.top,bottom:Tr.bottom}:Dt=dc}for(var Er=Dt.top-b.rect.top,Ci=Dt.bottom-b.rect.top,Wi=(Er+Ci)/2,uo=b.view.measure.heights,Io=0;Io<uo.length-1&&!(Wi<uo[Io]);Io++);var zo=Io?uo[Io-1]:0,Lo=uo[Io],Aa={left:(Et=="right"?Dt.right:Dt.left)-b.rect.left,right:(Et=="left"?Dt.left:Dt.right)-b.rect.left,top:zo,bottom:Lo};return!Dt.left&&!Dt.right&&(Aa.bogus=!0),a.options.singleCursorHeightPerLine||(Aa.rtop=Er,Aa.rbottom=Ci),Aa}function pA(a,b){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Yn(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 _A(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 bl(a){a.display.externalMeasure=null,lt(a.display.lineMeasure);for(var b=0;b<a.display.view.length;b++)_A(a.display.view[b])}function Cl(a){bl(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function rl(){return Ce&&_e?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function $l(){return Ce&&_e?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Gl(a){var b=0;if(a.widgets)for(var ne=0;ne<a.widgets.length;++ne)a.widgets[ne].above&&(b+=Wl(a.widgets[ne]));return b}function Oc(a,b,ne,te,ue){if(!ue){var De=Gl(b);ne.top+=De,ne.bottom+=De}if(te=="line")return ne;te||(te="local");var qe=co(b);if(te=="local"?qe+=ji(a.display):qe-=a.display.viewOffset,te=="page"||te=="window"){var mt=a.display.lineSpace.getBoundingClientRect();qe+=mt.top+(te=="window"?0:$l());var Et=mt.left+(te=="window"?0:rl());ne.left+=Et,ne.right+=Et}return ne.top+=qe,ne.bottom+=qe,ne}function nd(a,b,ne){if(ne=="div")return b;var te=b.left,ue=b.top;if(ne=="page")te-=rl(),ue-=$l();else if(ne=="local"||!ne){var De=a.display.sizer.getBoundingClientRect();te+=De.left,ue+=De.top}var qe=a.display.lineSpace.getBoundingClientRect();return{left:te-qe.left,top:ue-qe.top}}function _l(a,b,ne,te,ue){return te||(te=fr(a.doc,b.line)),Oc(a,te,IA(a,te,b.ch,ue),ne)}function Uu(a,b,ne,te,ue,De){te=te||fr(a.doc,b.line),ue||(ue=aa(a,te));function qe(Ci,Wi){var uo=Wu(a,ue,Ci,Wi?"right":"left",De);return Wi?uo.left=uo.right:uo.right=uo.left,Oc(a,te,uo,ne)}var mt=Ct(te,a.doc.direction),Et=b.ch,Dt=b.sticky;if(Et>=te.text.length?(Et=te.text.length,Dt="before"):Et<=0&&(Et=0,Dt="after"),!mt)return qe(Dt=="before"?Et-1:Et,Dt=="before");function Ln(Ci,Wi,uo){var Io=mt[Wi],zo=Io.level==1;return qe(uo?Ci-1:Ci,zo!=uo)}var Qn=Lt(mt,Et,Dt),Tr=Bt,Er=Ln(Et,Qn,Dt=="before");return Tr!=null&&(Er.other=Ln(Et,Tr,Dt!="before")),Er}function Pa(a,b){var ne=0;b=Ar(a.doc,b),a.options.lineWrapping||(ne=nc(a.display)*b.ch);var te=fr(a.doc,b.line),ue=co(te)+ji(a.display);return{left:ne,right:ne,top:ue,bottom:ue+te.height}}function Ua(a,b,ne,te,ue){var De=zt(a,b,ne);return De.xRel=ue,te&&(De.outside=te),De}function Rs(a,b,ne){var te=a.doc;if(ne+=a.display.viewOffset,ne<0)return Ua(te.first,0,null,-1,-1);var ue=yn(te,ne),De=te.first+te.size-1;if(ue>De)return Ua(te.first+te.size-1,fr(te,De).text.length,null,1,1);b<0&&(b=0);for(var qe=fr(te,ue);;){var mt=WA(a,qe,ue,b,ne),Et=qr(qe,mt.ch+(mt.xRel>0||mt.outside>0?1:0));if(!Et)return mt;var Dt=Et.find(1);if(Dt.line==ue)return Dt;qe=fr(te,ue=Dt.line)}}function tA(a,b,ne,te){te-=Gl(b);var ue=b.text.length,De=pt(function(qe){return Wu(a,ne,qe-1).bottom<=te},ue,0);return ue=pt(function(qe){return Wu(a,ne,qe).top>te},De,ue),{begin:De,end:ue}}function Vl(a,b,ne,te){ne||(ne=aa(a,b));var ue=Oc(a,b,Wu(a,ne,te),"line").top;return tA(a,b,ne,ue)}function Au(a,b,ne,te){return a.bottom<=ne?!1:a.top>ne?!0:(te?a.left:a.right)>b}function WA(a,b,ne,te,ue){ue-=co(b);var De=aa(a,b),qe=Gl(b),mt=0,Et=b.text.length,Dt=!0,Ln=Ct(b,a.doc.direction);if(Ln){var Qn=(a.options.lineWrapping?fc:gA)(a,b,ne,De,Ln,te,ue);Dt=Qn.level!=1,mt=Dt?Qn.from:Qn.to-1,Et=Dt?Qn.to:Qn.from-1}var Tr=null,Er=null,Ci=pt(function(_a){var Ba=Wu(a,De,_a);return Ba.top+=qe,Ba.bottom+=qe,Au(Ba,te,ue,!1)?(Ba.top<=ue&&Ba.left<=te&&(Tr=_a,Er=Ba),!0):!1},mt,Et),Wi,uo,Io=!1;if(Er){var zo=te-Er.left<Er.right-te,Lo=zo==Dt;Ci=Tr+(Lo?0:1),uo=Lo?"after":"before",Wi=zo?Er.left:Er.right}else{!Dt&&(Ci==Et||Ci==mt)&&Ci++,uo=Ci==0?"after":Ci==b.text.length?"before":Wu(a,De,Ci-(Dt?1:0)).bottom+qe<=ue==Dt?"after":"before";var Aa=Uu(a,zt(ne,Ci,uo),"line",b,De);Wi=Aa.left,Io=ue<Aa.top?-1:ue>=Aa.bottom?1:0}return Ci=at(b.text,Ci,1),Ua(ne,Ci,uo,Io,te-Wi)}function gA(a,b,ne,te,ue,De,qe){var mt=pt(function(Qn){var Tr=ue[Qn],Er=Tr.level!=1;return Au(Uu(a,zt(ne,Er?Tr.to:Tr.from,Er?"before":"after"),"line",b,te),De,qe,!0)},0,ue.length-1),Et=ue[mt];if(mt>0){var Dt=Et.level!=1,Ln=Uu(a,zt(ne,Dt?Et.from:Et.to,Dt?"after":"before"),"line",b,te);Au(Ln,De,qe,!0)&&Ln.top>qe&&(Et=ue[mt-1])}return Et}function fc(a,b,ne,te,ue,De,qe){var mt=tA(a,b,te,qe),Et=mt.begin,Dt=mt.end;/\s/.test(b.text.charAt(Dt-1))&&Dt--;for(var Ln=null,Qn=null,Tr=0;Tr<ue.length;Tr++){var Er=ue[Tr];if(!(Er.from>=Dt||Er.to<=Et)){var Ci=Er.level!=1,Wi=Wu(a,te,Ci?Math.min(Dt,Er.to)-1:Math.max(Et,Er.from)).right,uo=Wi<De?De-Wi+1e9:Wi-De;(!Ln||Qn>uo)&&(Ln=Er,Qn=uo)}}return Ln||(Ln=ue[ue.length-1]),Ln.from<Et&&(Ln={from:Et,to:Ln.to,level:Ln.level}),Ln.to>Dt&&(Ln={from:Ln.from,to:Dt,level:Ln.level}),Ln}var Xl;function mA(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(Xl==null){Xl=ft("pre",null,"CodeMirror-line-like");for(var b=0;b<49;++b)Xl.appendChild(document.createTextNode("x")),Xl.appendChild(ft("br"));Xl.appendChild(document.createTextNode("x"))}it(a.measure,Xl);var ne=Xl.offsetHeight/50;return ne>3&&(a.cachedTextHeight=ne),lt(a.measure),ne||1}function nc(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var b=ft("span","xxxxxxxxxx"),ne=ft("pre",[b],"CodeMirror-line-like");it(a.measure,ne);var te=b.getBoundingClientRect(),ue=(te.right-te.left)/10;return ue>2&&(a.cachedCharWidth=ue),ue||10}function rc(a){for(var b=a.display,ne={},te={},ue=b.gutters.clientLeft,De=b.gutters.firstChild,qe=0;De;De=De.nextSibling,++qe){var mt=a.display.gutterSpecs[qe].className;ne[mt]=De.offsetLeft+De.clientLeft+ue,te[mt]=De.clientWidth}return{fixedPos:Sd(b),gutterTotalWidth:b.gutters.offsetWidth,gutterLeft:ne,gutterWidth:te,wrapperWidth:b.wrapper.clientWidth}}function Sd(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function Xf(a){var b=mA(a.display),ne=a.options.lineWrapping,te=ne&&Math.max(5,a.display.scroller.clientWidth/nc(a.display)-3);return function(ue){if(yr(a.doc,ue))return 0;var De=0;if(ue.widgets)for(var qe=0;qe<ue.widgets.length;qe++)ue.widgets[qe].height&&(De+=ue.widgets[qe].height);return ne?De+(Math.ceil(ue.text.length/te)||1)*b:De+b}}function rd(a){var b=a.doc,ne=Xf(a);b.iter(function(te){var ue=ne(te);ue!=te.height&&Xt(te,ue)})}function Pc(a,b,ne,te){var ue=a.display;if(!ne&&Wt(b).getAttribute("cm-not-content")=="true")return null;var De,qe,mt=ue.lineSpace.getBoundingClientRect();try{De=b.clientX-mt.left,qe=b.clientY-mt.top}catch(Qn){return null}var Et=Rs(a,De,qe),Dt;if(te&&Et.xRel>0&&(Dt=fr(a.doc,Et.line).text).length==Et.ch){var Ln=Ze(Dt,Dt.length,a.options.tabSize)-Dt.length;Et=zt(Et.line,Math.max(0,Math.round((De-Ta(a.display).left)/nc(a.display))-Ln))}return Et}function hc(a,b){if(b>=a.display.viewTo||(b-=a.display.viewFrom,b<0))return null;for(var ne=a.display.view,te=0;te<ne.length;te++)if(b-=ne[te].size,b<0)return te}function Du(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)yi&&zr(a.doc,b)<ue.viewTo&&ic(a);else if(ne<=ue.viewFrom)yi&&oi(a.doc,ne+te)>ue.viewFrom?ic(a):(ue.viewFrom+=te,ue.viewTo+=te);else if(b<=ue.viewFrom&&ne>=ue.viewTo)ic(a);else if(b<=ue.viewFrom){var De=Fd(a,ne,ne+te,1);De?(ue.view=ue.view.slice(De.index),ue.viewFrom=De.lineN,ue.viewTo+=te):ic(a)}else if(ne>=ue.viewTo){var qe=Fd(a,b,b,-1);qe?(ue.view=ue.view.slice(0,qe.index),ue.viewTo=qe.lineN):ic(a)}else{var mt=Fd(a,b,b,-1),Et=Fd(a,ne,ne+te,1);mt&&Et?(ue.view=ue.view.slice(0,mt.index).concat(hs(a,mt.lineN,Et.lineN)).concat(ue.view.slice(Et.index)),ue.viewTo+=te):ic(a)}var Dt=ue.externalMeasured;Dt&&(ne<Dt.lineN?Dt.lineN+=te:b<Dt.lineN+Dt.size&&(ue.externalMeasured=null))}function _c(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 De=te.view[hc(a,b)];if(De.node!=null){var qe=De.changes||(De.changes=[]);At(qe,ne)==-1&&qe.push(ne)}}}function ic(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function Fd(a,b,ne,te){var ue=hc(a,b),De,qe=a.display.view;if(!yi||ne==a.doc.first+a.doc.size)return{index:ue,lineN:ne};for(var mt=a.display.viewFrom,Et=0;Et<ue;Et++)mt+=qe[Et].size;if(mt!=b){if(te>0){if(ue==qe.length-1)return null;De=mt+qe[ue].size-b,ue++}else De=mt-b;b+=De,ne+=De}for(;zr(a.doc,ne)!=ne;){if(ue==(te<0?0:qe.length-1))return null;ne+=te*qe[ue-(te<0?1:0)].size,ue+=te}return{index:ue,lineN:ne}}function Yf(a,b,ne){var te=a.display,ue=te.view;ue.length==0||b>=te.viewTo||ne<=te.viewFrom?(te.view=hs(a,b,ne),te.viewFrom=b):(te.viewFrom>b?te.view=hs(a,b,te.viewFrom).concat(te.view):te.viewFrom<b&&(te.view=te.view.slice(hc(a,b))),te.viewFrom=b,te.viewTo<ne?te.view=te.view.concat(hs(a,te.viewTo,ne)):te.viewTo>ne&&(te.view=te.view.slice(0,hc(a,ne)))),te.viewTo=ne}function Os(a){for(var b=a.display.view,ne=0,te=0;te<b.length;te++){var ue=b[te];!ue.hidden&&(!ue.node||ue.changes)&&++ne}return ne}function $u(a){a.display.input.showSelection(a.display.input.prepareSelection())}function pc(a,b){b===void 0&&(b=!0);for(var ne=a.doc,te={},ue=te.cursors=document.createDocumentFragment(),De=te.selection=document.createDocumentFragment(),qe=0;qe<ne.sel.ranges.length;qe++)if(!(!b&&qe==ne.sel.primIndex)){var mt=ne.sel.ranges[qe];if(!(mt.from().line>=a.display.viewTo||mt.to().line<a.display.viewFrom)){var Et=mt.empty();(Et||a.options.showCursorWhenSelecting)&&Ih(a,mt.head,ue),Et||Lh(a,mt,De)}}return te}function Ih(a,b,ne){var te=Uu(a,b,"div",null,null,!a.options.singleCursorHeightPerLine),ue=ne.appendChild(ft("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 De=ne.appendChild(ft("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));De.style.display="",De.style.left=te.other.left+"px",De.style.top=te.other.top+"px",De.style.height=(te.other.bottom-te.other.top)*.85+"px"}}function $A(a,b){return a.top-b.top||a.left-b.left}function Lh(a,b,ne){var te=a.display,ue=a.doc,De=document.createDocumentFragment(),qe=Ta(a.display),mt=qe.left,Et=Math.max(te.sizerWidth,Pl(a)-te.sizer.offsetLeft)-qe.right,Dt=ue.direction=="ltr";function Ln(Lo,Aa,_a,Ba){Aa<0&&(Aa=0),Aa=Math.round(Aa),Ba=Math.round(Ba),De.appendChild(ft("div",null,"CodeMirror-selected","position: absolute; left: "+Lo+`px;
top: `+Aa+"px; width: "+(_a==null?Et-Lo:_a)+`px;
height: `+(Ba-Aa)+"px"))}function Qn(Lo,Aa,_a){var Ba=fr(ue,Lo),Ra=Ba.text.length,Sl,Ku;function ql(Tu,wA){return _l(a,zt(Lo,Tu),"div",Ba,wA)}function yA(Tu,wA,sA){var So=Vl(a,Ba,null,Tu),Rl=wA=="ltr"==(sA=="after")?"left":"right",eu=sA=="after"?So.begin:So.end-(/\s/.test(Ba.text.charAt(So.end-1))?2:1);return ql(eu,Rl)[Rl]}var Yu=Ct(Ba,ue.direction);return gt(Yu,Aa||0,_a==null?Ra:_a,function(Tu,wA,sA,So){var Rl=sA=="ltr",eu=ql(Tu,Rl?"left":"right"),tu=ql(wA-1,Rl?"right":"left"),Of=Aa==null&&Tu==0,Ws=_a==null&&wA==Ra,Cs=So==0,oc=!Yu||So==Yu.length-1;if(tu.top-eu.top<=3){var lA=(Dt?Of:Ws)&&Cs,Ah=(Dt?Ws:Of)&&oc,ka=lA?mt:(Rl?eu:tu).left,Sc=Ah?Et:(Rl?tu:eu).right;Ln(ka,eu.top,Sc-ka,eu.bottom)}else{var cl,uA,Md,Pf;Rl?(cl=Dt&&Of&&Cs?mt:eu.left,uA=Dt?Et:yA(Tu,sA,"before"),Md=Dt?mt:yA(wA,sA,"after"),Pf=Dt&&Ws&&oc?Et:tu.right):(cl=Dt?yA(Tu,sA,"before"):mt,uA=!Dt&&Of&&Cs?Et:eu.right,Md=!Dt&&Ws&&oc?mt:tu.left,Pf=Dt?yA(wA,sA,"after"):Et),Ln(cl,eu.top,uA-cl,eu.bottom),eu.bottom<tu.top&&Ln(mt,eu.bottom,null,tu.top),Ln(Md,tu.top,Pf-Md,tu.bottom)}(!Sl||$A(eu,Sl)<0)&&(Sl=eu),$A(tu,Sl)<0&&(Sl=tu),(!Ku||$A(eu,Ku)<0)&&(Ku=eu),$A(tu,Ku)<0&&(Ku=tu)}),{start:Sl,end:Ku}}var Tr=b.from(),Er=b.to();if(Tr.line==Er.line)Qn(Tr.line,Tr.ch,Er.ch);else{var Ci=fr(ue,Tr.line),Wi=fr(ue,Er.line),uo=Wr(Ci)==Wr(Wi),Io=Qn(Tr.line,Tr.ch,uo?Ci.text.length+1:null).end,zo=Qn(Er.line,uo?0:null,Er.ch).start;uo&&(Io.top<zo.top-2?(Ln(Io.right,Io.top,null,Io.bottom),Ln(mt,zo.top,zo.left,zo.bottom)):Ln(Io.right,Io.top,zo.left-Io.right,Io.bottom)),Io.bottom<zo.top&&Ln(mt,Io.bottom,null,zo.top)}ne.appendChild(De)}function Id(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()||GA(a),b.cursorDiv.style.visibility=(ne=!ne)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(b.cursorDiv.style.visibility="hidden")}}function Jf(a){a.state.focused||(a.display.input.focus(),Cf(a))}function bf(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,GA(a))},100)}function Cf(a,b){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(an(a,"focus",a,b),a.state.focused=!0,We(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),Ue&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Id(a))}function GA(a,b){a.state.delayingBlurEvent||(a.state.focused&&(an(a,"blur",a,b),a.state.focused=!1,Ge(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function wa(a){for(var b=a.display,ne=b.lineDiv.offsetTop,te=0;te<b.view.length;te++){var ue=b.view[te],De=a.options.lineWrapping,qe=void 0,mt=0;if(!ue.hidden){if(He&&Se<8){var Et=ue.node.offsetTop+ue.node.offsetHeight;qe=Et-ne,ne=Et}else{var Dt=ue.node.getBoundingClientRect();qe=Dt.bottom-Dt.top,!De&&ue.text.firstChild&&(mt=ue.text.firstChild.getBoundingClientRect().right-Dt.left-1)}var Ln=ue.line.height-qe;if((Ln>.005||Ln<-.005)&&(Xt(ue.line,qe),Tl(ue.line),ue.rest))for(var Qn=0;Qn<ue.rest.length;Qn++)Tl(ue.rest[Qn]);if(mt>a.display.sizerWidth){var Tr=Math.ceil(mt/nc(a.display));Tr>a.display.maxLineLength&&(a.display.maxLineLength=Tr,a.display.maxLine=ue.line,a.display.maxLineChanged=!0)}}}}function Tl(a){if(a.widgets)for(var b=0;b<a.widgets.length;++b){var ne=a.widgets[b],te=ne.node.parentNode;te&&(ne.height=te.offsetHeight)}}function TA(a,b,ne){var te=ne&&ne.top!=null?Math.max(0,ne.top):a.scroller.scrollTop;te=Math.floor(te-ji(a));var ue=ne&&ne.bottom!=null?ne.bottom:te+a.wrapper.clientHeight,De=yn(b,te),qe=yn(b,ue);if(ne&&ne.ensure){var mt=ne.ensure.from.line,Et=ne.ensure.to.line;mt<De?(De=mt,qe=yn(b,co(fr(b,mt))+a.wrapper.clientHeight)):Math.min(Et,b.lastLine())>=qe&&(De=yn(b,co(fr(b,Et))-a.wrapper.clientHeight),qe=Et)}return{from:De,to:Math.max(qe,De+1)}}function id(a,b){if(!en(a,"scrollCursorIntoView")){var ne=a.display,te=ne.sizer.getBoundingClientRect(),ue=null;if(b.top+te.top<0?ue=!0:b.bottom+te.top>(window.innerHeight||document.documentElement.clientHeight)&&(ue=!1),ue!=null&&!Me){var De=ft("div","\u200B",null,`position: absolute;
top: `+(b.top-ne.viewOffset-ji(a.display))+`px;
height: `+(b.bottom-b.top+iu(a)+ne.barHeight)+`px;
left: `+b.left+"px; width: "+Math.max(2,b.right-b.left)+"px;");a.display.lineSpace.appendChild(De),De.scrollIntoView(ue),a.display.lineSpace.removeChild(De)}}}function Tc(a,b,ne,te){te==null&&(te=0);var ue;!a.options.lineWrapping&&b==ne&&(b=b.ch?zt(b.line,b.sticky=="before"?b.ch-1:b.ch,"after"):b,ne=b.sticky=="before"?zt(b.line,b.ch+1,"before"):b);for(var De=0;De<5;De++){var qe=!1,mt=Uu(a,b),Et=!ne||ne==b?mt:Uu(a,ne);ue={left:Math.min(mt.left,Et.left),top:Math.min(mt.top,Et.top)-te,right:Math.max(mt.left,Et.left),bottom:Math.max(mt.bottom,Et.bottom)+te};var Dt=kc(a,ue),Ln=a.doc.scrollTop,Qn=a.doc.scrollLeft;if(Dt.scrollTop!=null&&(nA(a,Dt.scrollTop),Math.abs(a.doc.scrollTop-Ln)>1&&(qe=!0)),Dt.scrollLeft!=null&&(mc(a,Dt.scrollLeft),Math.abs(a.doc.scrollLeft-Qn)>1&&(qe=!0)),!qe)break}return ue}function Zp(a,b){var ne=kc(a,b);ne.scrollTop!=null&&nA(a,ne.scrollTop),ne.scrollLeft!=null&&mc(a,ne.scrollLeft)}function kc(a,b){var ne=a.display,te=mA(a.display);b.top<0&&(b.top=0);var ue=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:ne.scroller.scrollTop,De=ps(a),qe={};b.bottom-b.top>De&&(b.bottom=b.top+De);var mt=a.doc.height+ga(ne),Et=b.top<te,Dt=b.bottom>mt-te;if(b.top<ue)qe.scrollTop=Et?0:b.top;else if(b.bottom>ue+De){var Ln=Math.min(b.top,(Dt?mt:b.bottom)-De);Ln!=ue&&(qe.scrollTop=Ln)}var Qn=a.options.fixedGutter?0:ne.gutters.offsetWidth,Tr=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:ne.scroller.scrollLeft-Qn,Er=Pl(a)-ne.gutters.offsetWidth,Ci=b.right-b.left>Er;return Ci&&(b.right=b.left+Er),b.left<10?qe.scrollLeft=0:b.left<Tr?qe.scrollLeft=Math.max(0,b.left+Qn-(Ci?0:10)):b.right>Er+Tr-3&&(qe.scrollLeft=b.right+(Ci?0:10)-Er),qe}function qf(a,b){b!=null&&(gc(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+b)}function kA(a){gc(a);var b=a.getCursor();a.curOp.scrollToPos={from:b,to:b,margin:a.options.cursorScrollMargin}}function od(a,b,ne){(b!=null||ne!=null)&&gc(a),b!=null&&(a.curOp.scrollLeft=b),ne!=null&&(a.curOp.scrollTop=ne)}function Wp(a,b){gc(a),a.curOp.scrollToPos=b}function gc(a){var b=a.curOp.scrollToPos;if(b){a.curOp.scrollToPos=null;var ne=Pa(a,b.from),te=Pa(a,b.to);LA(a,ne,te,b.margin)}}function LA(a,b,ne,te){var ue=kc(a,{left:Math.min(b.left,ne.left),top:Math.min(b.top,ne.top)-te,right:Math.max(b.right,ne.right),bottom:Math.max(b.bottom,ne.bottom)+te});od(a,ue.scrollLeft,ue.scrollTop)}function nA(a,b){Math.abs(a.doc.scrollTop-b)<2||(x||Dd(a,{top:b}),Ks(a,b,!0),x&&Dd(a),ld(a,100))}function Ks(a,b,ne){b=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,b)),!(a.display.scroller.scrollTop==b&&!ne)&&(a.doc.scrollTop=b,a.display.scrollbars.setScrollTop(b),a.display.scroller.scrollTop!=b&&(a.display.scroller.scrollTop=b))}function mc(a,b,ne,te){b=Math.max(0,Math.min(b,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((ne?b==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-b)<2)&&!te)&&(a.doc.scrollLeft=b,Gt(a),a.display.scroller.scrollLeft!=b&&(a.display.scroller.scrollLeft=b),a.display.scrollbars.setScrollLeft(b))}function ad(a){var b=a.display,ne=b.gutters.offsetWidth,te=Math.round(a.doc.height+ga(a.display));return{clientHeight:b.scroller.clientHeight,viewHeight:b.wrapper.clientHeight,scrollWidth:b.scroller.scrollWidth,clientWidth:b.scroller.clientWidth,viewWidth:b.wrapper.clientWidth,barLeft:a.options.fixedGutter?ne:0,docHeight:te,scrollHeight:te+iu(a)+b.barHeight,nativeBarWidth:b.nativeBarWidth,gutterWidth:ne}}var sd=function(a,b,ne){this.cm=ne;var te=this.vert=ft("div",[ft("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ue=this.horiz=ft("div",[ft("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");te.tabIndex=ue.tabIndex=-1,a(te),a(ue),$t(te,"scroll",function(){te.clientHeight&&b(te.scrollTop,"vertical")}),$t(ue,"scroll",function(){ue.clientWidth&&b(ue.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,He&&Se<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};sd.prototype.update=function(a){var b=a.scrollWidth>a.clientWidth+1,ne=a.scrollHeight>a.clientHeight+1,te=a.nativeBarWidth;if(ne){this.vert.style.display="block",this.vert.style.bottom=b?te+"px":"0";var ue=a.viewHeight-(b?te:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+ue)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(b){this.horiz.style.display="block",this.horiz.style.right=ne?te+"px":"0",this.horiz.style.left=a.barLeft+"px";var De=a.viewWidth-a.barLeft-(ne?te:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+De)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(te==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ne?te:0,bottom:b?te:0}},sd.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},sd.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},sd.prototype.zeroWidthHack=function(){var a=xe&&!ve?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Te,this.disableVert=new Te},sd.prototype.enableZeroWidthBar=function(a,b,ne){a.style.pointerEvents="auto";function te(){var ue=a.getBoundingClientRect(),De=ne=="vert"?document.elementFromPoint(ue.right-1,(ue.top+ue.bottom)/2):document.elementFromPoint((ue.right+ue.left)/2,ue.bottom-1);De!=a?a.style.pointerEvents="none":b.set(1e3,te)}b.set(1e3,te)},sd.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var vc=function(){};vc.prototype.update=function(){return{bottom:0,right:0}},vc.prototype.setScrollLeft=function(){},vc.prototype.setScrollTop=function(){},vc.prototype.clear=function(){};function Mc(a,b){b||(b=ad(a));var ne=a.display.barWidth,te=a.display.barHeight;xf(a,b);for(var ue=0;ue<4&&ne!=a.display.barWidth||te!=a.display.barHeight;ue++)ne!=a.display.barWidth&&a.options.lineWrapping&&wa(a),xf(a,ad(a)),ne=a.display.barWidth,te=a.display.barHeight}function xf(a,b){var ne=a.display,te=ne.scrollbars.update(b);ne.sizer.style.paddingRight=(ne.barWidth=te.right)+"px",ne.sizer.style.paddingBottom=(ne.barHeight=te.bottom)+"px",ne.heightForcer.style.borderBottom=te.bottom+"px solid transparent",te.right&&te.bottom?(ne.scrollbarFiller.style.display="block",ne.scrollbarFiller.style.height=te.bottom+"px",ne.scrollbarFiller.style.width=te.right+"px"):ne.scrollbarFiller.style.display="",te.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(ne.gutterFiller.style.display="block",ne.gutterFiller.style.height=te.bottom+"px",ne.gutterFiller.style.width=b.gutterWidth+"px"):ne.gutterFiller.style.display=""}var Ld={native:sd,null:vc};function Dh(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&Ge(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new Ld[a.options.scrollbarStyle](function(b){a.display.wrapper.insertBefore(b,a.display.scrollbarFiller),$t(b,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),b.setAttribute("cm-not-content","true")},function(b,ne){ne=="horizontal"?mc(a,b):nA(a,b)},a),a.display.scrollbars.addClass&&We(a.display.wrapper,a.display.scrollbars.addClass)}var $p=0;function rA(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++$p},tl(a.curOp)}function yc(a){var b=a.curOp;b&&hl(b,function(ne){for(var te=0;te<ne.ops.length;te++)ne.ops[te].cm.curOp=null;ip(ne)})}function ip(a){for(var b=a.ops,ne=0;ne<b.length;ne++)Gp(b[ne]);for(var te=0;te<b.length;te++)Xd(b[te]);for(var ue=0;ue<b.length;ue++)op(b[ue]);for(var De=0;De<b.length;De++)Yd(b[De]);for(var qe=0;qe<b.length;qe++)Vp(b[qe])}function Gp(a){var b=a.cm,ne=b.display;ap(b),a.updateMaxLine&&fo(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&&eh(a.cm,a.update)}function op(a){var b=a.cm,ne=b.display;a.updatedDisplay&&wa(b),a.barMeasure=ad(b),ne.maxLineChanged&&!b.options.lineWrapping&&(a.adjustWidthTo=IA(b,ne.maxLine,ne.maxLine.text.length).left+3,b.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(ne.scroller.clientWidth,ne.sizer.offsetLeft+a.adjustWidthTo+iu(b)+b.display.barWidth),a.maxScrollLeft=Math.max(0,ne.sizer.offsetLeft+a.adjustWidthTo-Pl(b))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=ne.input.prepareSelection())}function Yd(a){var b=a.cm;a.adjustWidthTo!=null&&(b.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft<b.doc.scrollLeft&&mc(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)&&Mc(b,a.barMeasure),a.updatedDisplay&&vt(b,a.barMeasure),a.selectionChanged&&Id(b),b.state.focused&&a.updateInput&&b.display.input.reset(a.typing),ne&&Jf(a.cm)}function Vp(a){var b=a.cm,ne=b.display,te=b.doc;if(a.updatedDisplay&&wc(b,a.update),ne.wheelStartX!=null&&(a.scrollTop!=null||a.scrollLeft!=null||a.scrollToPos)&&(ne.wheelStartX=ne.wheelStartY=null),a.scrollTop!=null&&Ks(b,a.scrollTop,a.forceScroll),a.scrollLeft!=null&&mc(b,a.scrollLeft,!0,!0),a.scrollToPos){var ue=Tc(b,Ar(te,a.scrollToPos.from),Ar(te,a.scrollToPos.to),a.scrollToPos.margin);id(b,ue)}var De=a.maybeHiddenMarkers,qe=a.maybeUnhiddenMarkers;if(De)for(var mt=0;mt<De.length;++mt)De[mt].lines.length||an(De[mt],"hide");if(qe)for(var Et=0;Et<qe.length;++Et)qe[Et].lines.length&&an(qe[Et],"unhide");ne.wrapper.offsetHeight&&(te.scrollTop=b.display.scroller.scrollTop),a.changeObjs&&an(b,"changes",b,a.changeObjs),a.update&&a.update.finish()}function iA(a,b){if(a.curOp)return b();rA(a);try{return b()}finally{yc(a)}}function Nu(a,b){return function(){if(a.curOp)return b.apply(a,arguments);rA(a);try{return b.apply(a,arguments)}finally{yc(a)}}}function oA(a){return function(){if(this.curOp)return a.apply(this,arguments);rA(this);try{return a.apply(this,arguments)}finally{yc(this)}}}function Ou(a){return function(){var b=this.cm;if(!b||b.curOp)return a.apply(this,arguments);rA(b);try{return a.apply(this,arguments)}finally{yc(b)}}}function ld(a,b){a.doc.highlightFrontier<a.display.viewTo&&a.state.highlight.set(b,yt(Jd,a))}function Jd(a){var b=a.doc;if(!(b.highlightFrontier>=a.display.viewTo)){var ne=+new Date+a.options.workTime,te=zn(a,b.highlightFrontier),ue=[];b.iter(te.line,Math.min(b.first+b.size,a.display.viewTo+500),function(De){if(te.line>=a.display.viewFrom){var qe=De.styles,mt=De.text.length>a.options.maxHighlightLength?Hi(b.mode,te.state):null,Et=cr(a,De,te,!0);mt&&(te.state=mt),De.styles=Et.styles;var Dt=De.styleClasses,Ln=Et.classes;Ln?De.styleClasses=Ln:Dt&&(De.styleClasses=null);for(var Qn=!qe||qe.length!=De.styles.length||Dt!=Ln&&(!Dt||!Ln||Dt.bgClass!=Ln.bgClass||Dt.textClass!=Ln.textClass),Tr=0;!Qn&&Tr<qe.length;++Tr)Qn=qe[Tr]!=De.styles[Tr];Qn&&ue.push(te.line),De.stateAfter=te.save(),te.nextLine()}else De.text.length<=a.options.maxHighlightLength&&gn(a,De.text,te),De.stateAfter=te.line%5==0?te.save():null,te.nextLine();if(+new Date>ne)return ld(a,a.options.workDelay),!0}),b.highlightFrontier=te.line,b.modeFrontier=Math.max(b.modeFrontier,te.line),ue.length&&iA(a,function(){for(var De=0;De<ue.length;De++)_c(a,ue[De],"text")})}}var Bf=function(a,b,ne){var te=a.display;this.viewport=b,this.visible=TA(te,a.doc,b),this.editorIsHidden=!te.wrapper.offsetWidth,this.wrapperHeight=te.wrapper.clientHeight,this.wrapperWidth=te.wrapper.clientWidth,this.oldDisplayWidth=Pl(a),this.force=ne,this.dims=rc(a),this.events=[]};Bf.prototype.signal=function(a,b){En(a,b)&&this.events.push(arguments)},Bf.prototype.finish=function(){for(var a=0;a<this.events.length;a++)an.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=iu(a)+"px",b.sizer.style.marginBottom=-b.nativeBarWidth+"px",b.sizer.style.borderRightWidth=iu(a)+"px",b.scrollbarsClipped=!0)}function sp(a){if(a.hasFocus())return null;var b=Ne();if(!b||!ht(a.display.lineDiv,b))return null;var ne={activeElt:b};if(window.getSelection){var te=window.getSelection();te.anchorNode&&te.extend&&ht(a.display.lineDiv,te.anchorNode)&&(ne.anchorNode=te.anchorNode,ne.anchorOffset=te.anchorOffset,ne.focusNode=te.focusNode,ne.focusOffset=te.focusOffset)}return ne}function lp(a){if(!(!a||!a.activeElt||a.activeElt==Ne())&&(a.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(a.activeElt.nodeName)&&a.anchorNode&&ht(document.body,a.anchorNode)&&ht(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 eh(a,b){var ne=a.display,te=a.doc;if(b.editorIsHidden)return ic(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&&Os(a)==0)return!1;An(a)&&(ic(a),b.dims=rc(a));var ue=te.first+te.size,De=Math.max(b.visible.from-a.options.viewportMargin,te.first),qe=Math.min(ue,b.visible.to+a.options.viewportMargin);ne.viewFrom<De&&De-ne.viewFrom<20&&(De=Math.max(te.first,ne.viewFrom)),ne.viewTo>qe&&ne.viewTo-qe<20&&(qe=Math.min(ue,ne.viewTo)),yi&&(De=zr(a.doc,De),qe=oi(a.doc,qe));var mt=De!=ne.viewFrom||qe!=ne.viewTo||ne.lastWrapHeight!=b.wrapperHeight||ne.lastWrapWidth!=b.wrapperWidth;Yf(a,De,qe),ne.viewOffset=co(fr(a.doc,ne.viewFrom)),a.display.mover.style.top=ne.viewOffset+"px";var Et=Os(a);if(!mt&&Et==0&&!b.force&&ne.renderedView==ne.view&&(ne.updateLineNumbers==null||ne.updateLineNumbers>=ne.viewTo))return!1;var Dt=sp(a);return Et>4&&(ne.lineDiv.style.display="none"),up(a,ne.updateLineNumbers,b.dims),Et>4&&(ne.lineDiv.style.display=""),ne.renderedView=ne.view,lp(Dt),lt(ne.cursorDiv),lt(ne.selectionDiv),ne.gutters.style.height=ne.sizer.style.minHeight=0,mt&&(ne.lastWrapHeight=b.wrapperHeight,ne.lastWrapWidth=b.wrapperWidth,ld(a,400)),ne.updateLineNumbers=null,!0}function wc(a,b){for(var ne=b.viewport,te=!0;;te=!1){if(!te||!a.options.lineWrapping||b.oldDisplayWidth==Pl(a)){if(ne&&ne.top!=null&&(ne={top:Math.min(a.doc.height+ga(a.display)-ps(a),ne.top)}),b.visible=TA(a.display,a.doc,ne),b.visible.from>=a.display.viewFrom&&b.visible.to<=a.display.viewTo)break}else te&&(b.visible=TA(a.display,a.doc,ne));if(!eh(a,b))break;wa(a);var ue=ad(a);$u(a),Mc(a,ue),vt(a,ue),b.force=!1}b.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(b.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function Dd(a,b){var ne=new Bf(a,b);if(eh(a,ne)){wa(a),wc(a,ne);var te=ad(a);$u(a),Mc(a,te),vt(a,te),ne.finish()}}function up(a,b,ne){var te=a.display,ue=a.options.lineNumbers,De=te.lineDiv,qe=De.firstChild;function mt(Ci){var Wi=Ci.nextSibling;return Ue&&xe&&a.display.currentWheelTarget==Ci?Ci.style.display="none":Ci.parentNode.removeChild(Ci),Wi}for(var Et=te.view,Dt=te.viewFrom,Ln=0;Ln<Et.length;Ln++){var Qn=Et[Ln];if(!Qn.hidden)if(!Qn.node||Qn.node.parentNode!=De){var Tr=Ca(a,Qn,Dt,ne);De.insertBefore(Tr,qe)}else{for(;qe!=Qn.node;)qe=mt(qe);var Er=ue&&b!=null&&b<=Dt&&Qn.lineNumber;Qn.changes&&(At(Qn.changes,"gutter")>-1&&(Er=!1),Zl(a,Qn,Dt,ne)),Er&&(lt(Qn.lineNumber),Qn.lineNumber.appendChild(document.createTextNode(dn(a.options,Dt)))),qe=Qn.node.nextSibling}Dt+=Qn.size}for(;qe;)qe=mt(qe)}function wt(a){var b=a.gutters.offsetWidth;a.sizer.style.marginLeft=b+"px"}function vt(a,b){a.display.sizer.style.minHeight=b.docHeight+"px",a.display.heightForcer.style.top=b.docHeight+"px",a.display.gutters.style.height=b.docHeight+a.display.barHeight+iu(a)+"px"}function Gt(a){var b=a.display,ne=b.view;if(!(!b.alignWidgets&&(!b.gutters.firstChild||!a.options.fixedGutter))){for(var te=Sd(b)-b.scroller.scrollLeft+a.doc.scrollLeft,ue=b.gutters.offsetWidth,De=te+"px",qe=0;qe<ne.length;qe++)if(!ne[qe].hidden){a.options.fixedGutter&&(ne[qe].gutter&&(ne[qe].gutter.style.left=De),ne[qe].gutterBackground&&(ne[qe].gutterBackground.style.left=De));var mt=ne[qe].alignable;if(mt)for(var Et=0;Et<mt.length;Et++)mt[Et].style.left=De}a.options.fixedGutter&&(b.gutters.style.left=te+ue+"px")}}function An(a){if(!a.options.lineNumbers)return!1;var b=a.doc,ne=dn(a.options,b.first+b.size-1),te=a.display;if(ne.length!=te.lineNumChars){var ue=te.measure.appendChild(ft("div",[ft("div",ne)],"CodeMirror-linenumber CodeMirror-gutter-elt")),De=ue.firstChild.offsetWidth,qe=ue.offsetWidth-De;return te.lineGutter.style.width="",te.lineNumInnerWidth=Math.max(De,te.lineGutter.offsetWidth-qe)+1,te.lineNumWidth=te.lineNumInnerWidth+qe,te.lineNumChars=te.lineNumInnerWidth?ne.length:-1,te.lineGutter.style.width=te.lineNumWidth+"px",wt(a.display),!0}return!1}function Sn(a,b){for(var ne=[],te=!1,ue=0;ue<a.length;ue++){var De=a[ue],qe=null;if(typeof De!="string"&&(qe=De.style,De=De.className),De=="CodeMirror-linenumbers")if(b)te=!0;else continue;ne.push({className:De,style:qe})}return b&&!te&&ne.push({className:"CodeMirror-linenumbers",style:null}),ne}function Tn(a){var b=a.gutters,ne=a.gutterSpecs;lt(b),a.lineGutter=null;for(var te=0;te<ne.length;++te){var ue=ne[te],De=ue.className,qe=ue.style,mt=b.appendChild(ft("div",null,"CodeMirror-gutter "+De));qe&&(mt.style.cssText=qe),De=="CodeMirror-linenumbers"&&(a.lineGutter=mt,mt.style.width=(a.lineNumWidth||1)+"px")}b.style.display=ne.length?"":"none",wt(a)}function or(a){Tn(a.display),Du(a),Gt(a)}function qn(a,b,ne,te){var ue=this;this.input=ne,ue.scrollbarFiller=ft("div",null,"CodeMirror-scrollbar-filler"),ue.scrollbarFiller.setAttribute("cm-not-content","true"),ue.gutterFiller=ft("div",null,"CodeMirror-gutter-filler"),ue.gutterFiller.setAttribute("cm-not-content","true"),ue.lineDiv=bt("div",null,"CodeMirror-code"),ue.selectionDiv=ft("div",null,null,"position: relative; z-index: 1"),ue.cursorDiv=ft("div",null,"CodeMirror-cursors"),ue.measure=ft("div",null,"CodeMirror-measure"),ue.lineMeasure=ft("div",null,"CodeMirror-measure"),ue.lineSpace=bt("div",[ue.measure,ue.lineMeasure,ue.selectionDiv,ue.cursorDiv,ue.lineDiv],null,"position: relative; outline: none");var De=bt("div",[ue.lineSpace],"CodeMirror-lines");ue.mover=ft("div",[De],null,"position: relative"),ue.sizer=ft("div",[ue.mover],"CodeMirror-sizer"),ue.sizerWidth=null,ue.heightForcer=ft("div",null,null,"position: absolute; height: "+Zt+"px; width: 1px;"),ue.gutters=ft("div",null,"CodeMirror-gutters"),ue.lineGutter=null,ue.scroller=ft("div",[ue.sizer,ue.heightForcer,ue.gutters],"CodeMirror-scroll"),ue.scroller.setAttribute("tabIndex","-1"),ue.wrapper=ft("div",[ue.scrollbarFiller,ue.gutterFiller,ue.scroller],"CodeMirror"),He&&Se<8&&(ue.gutters.style.zIndex=-1,ue.scroller.style.paddingRight=0),!Ue&&!(x&&we)&&(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=Sn(te.gutters,te.lineNumbers),Tn(ue),ne.init(ue)}var Cr=0,hr=null;He?hr=-.53:x?hr=15:Ce?hr=-.7:Oe&&(hr=-1/3);function ui(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 jr(a){var b=ui(a);return b.x*=hr,b.y*=hr,b}function Qr(a,b){var ne=ui(b),te=ne.x,ue=ne.y,De=a.display,qe=De.scroller,mt=qe.scrollWidth>qe.clientWidth,Et=qe.scrollHeight>qe.clientHeight;if(te&&mt||ue&&Et){if(ue&&xe&&Ue){e:for(var Dt=b.target,Ln=De.view;Dt!=qe;Dt=Dt.parentNode)for(var Qn=0;Qn<Ln.length;Qn++)if(Ln[Qn].node==Dt){a.display.currentWheelTarget=Dt;break e}}if(te&&!x&&!oe&&hr!=null){ue&&Et&&nA(a,Math.max(0,qe.scrollTop+ue*hr)),mc(a,Math.max(0,qe.scrollLeft+te*hr)),(!ue||ue&&Et)&&sn(b),De.wheelStartX=null;return}if(ue&&hr!=null){var Tr=ue*hr,Er=a.doc.scrollTop,Ci=Er+De.wrapper.clientHeight;Tr<0?Er=Math.max(0,Er+Tr-50):Ci=Math.min(a.doc.height,Ci+Tr+50),Dd(a,{top:Er,bottom:Ci})}Cr<20&&(De.wheelStartX==null?(De.wheelStartX=qe.scrollLeft,De.wheelStartY=qe.scrollTop,De.wheelDX=te,De.wheelDY=ue,setTimeout(function(){if(De.wheelStartX!=null){var Wi=qe.scrollLeft-De.wheelStartX,uo=qe.scrollTop-De.wheelStartY,Io=uo&&De.wheelDY&&uo/De.wheelDY||Wi&&De.wheelDX&&Wi/De.wheelDX;De.wheelStartX=De.wheelStartY=null,Io&&(hr=(hr*Cr+Io)/(Cr+1),++Cr)}},200)):(De.wheelDX+=te,De.wheelDY+=ue))}}var Or=function(a,b){this.ranges=a,this.primIndex=b};Or.prototype.primary=function(){return this.ranges[this.primIndex]},Or.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(!Pn(ne.anchor,te.anchor)||!Pn(ne.head,te.head))return!1}return!0},Or.prototype.deepCopy=function(){for(var a=[],b=0;b<this.ranges.length;b++)a[b]=new Dr(_r(this.ranges[b].anchor),_r(this.ranges[b].head));return new Or(a,this.primIndex)},Or.prototype.somethingSelected=function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return!0;return!1},Or.prototype.contains=function(a,b){b||(b=a);for(var ne=0;ne<this.ranges.length;ne++){var te=this.ranges[ne];if(hn(b,te.from())>=0&&hn(a,te.to())<=0)return ne}return-1};var Dr=function(a,b){this.anchor=a,this.head=b};Dr.prototype.from=function(){return di(this.anchor,this.head)},Dr.prototype.to=function(){return Jr(this.anchor,this.head)},Dr.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function $i(a,b,ne){var te=a&&a.options.selectionsMayTouch,ue=b[ne];b.sort(function(Tr,Er){return hn(Tr.from(),Er.from())}),ne=At(b,ue);for(var De=1;De<b.length;De++){var qe=b[De],mt=b[De-1],Et=hn(mt.to(),qe.from());if(te&&!qe.empty()?Et>0:Et>=0){var Dt=di(mt.from(),qe.from()),Ln=Jr(mt.to(),qe.to()),Qn=mt.empty()?qe.from()==qe.head:mt.from()==mt.head;De<=ne&&--ne,b.splice(--De,2,new Dr(Qn?Ln:Dt,Qn?Dt:Ln))}}return new Or(b,ne)}function bi(a,b){return new Or([new Dr(a,b||a)],0)}function qi(a){return a.text?zt(a.from.line+a.text.length-1,_t(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function so(a,b){if(hn(a,b.from)<0)return a;if(hn(a,b.to)<=0)return qi(b);var ne=a.line+b.text.length-(b.to.line-b.from.line)-1,te=a.ch;return a.line==b.to.line&&(te+=qi(b).ch-b.to.ch),zt(ne,te)}function Ji(a,b){for(var ne=[],te=0;te<a.sel.ranges.length;te++){var ue=a.sel.ranges[te];ne.push(new Dr(so(ue.anchor,b),so(ue.head,b)))}return $i(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 Eo(a,b,ne){for(var te=[],ue=zt(a.first,0),De=ue,qe=0;qe<b.length;qe++){var mt=b[qe],Et=po(mt.from,ue,De),Dt=po(qi(mt),ue,De);if(ue=mt.to,De=Dt,ne=="around"){var Ln=a.sel.ranges[qe],Qn=hn(Ln.head,Ln.anchor)<0;te[qe]=new Dr(Qn?Dt:Et,Qn?Et:Dt)}else te[qe]=new Dr(Et,Et)}return new Or(te,a.sel.primIndex)}function Ro(a){a.doc.mode=Yr(a.options,a.doc.modeOption),_o(a)}function _o(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,ld(a,100),a.state.modeGen++,a.curOp&&Du(a)}function La(a,b){return b.from.ch==0&&b.to.ch==0&&_t(b.text)==""&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function sa(a,b,ne,te){function ue(zo){return ne?ne[zo]:null}function De(zo,Lo,Aa){Go(zo,Lo,Aa,te),Js(zo,"change",zo,b)}function qe(zo,Lo){for(var Aa=[],_a=zo;_a<Lo;++_a)Aa.push(new ta(Dt[_a],ue(_a),te));return Aa}var mt=b.from,Et=b.to,Dt=b.text,Ln=fr(a,mt.line),Qn=fr(a,Et.line),Tr=_t(Dt),Er=ue(Dt.length-1),Ci=Et.line-mt.line;if(b.full)a.insert(0,qe(0,Dt.length)),a.remove(Dt.length,a.size-Dt.length);else if(La(a,b)){var Wi=qe(0,Dt.length-1);De(Qn,Qn.text,Er),Ci&&a.remove(mt.line,Ci),Wi.length&&a.insert(mt.line,Wi)}else if(Ln==Qn)if(Dt.length==1)De(Ln,Ln.text.slice(0,mt.ch)+Tr+Ln.text.slice(Et.ch),Er);else{var uo=qe(1,Dt.length-1);uo.push(new ta(Tr+Ln.text.slice(Et.ch),Er,te)),De(Ln,Ln.text.slice(0,mt.ch)+Dt[0],ue(0)),a.insert(mt.line+1,uo)}else if(Dt.length==1)De(Ln,Ln.text.slice(0,mt.ch)+Dt[0]+Qn.text.slice(Et.ch),ue(0)),a.remove(mt.line+1,Ci);else{De(Ln,Ln.text.slice(0,mt.ch)+Dt[0],ue(0)),De(Qn,Tr+Qn.text.slice(Et.ch),Er);var Io=qe(1,Dt.length-1);Ci>1&&a.remove(mt.line+1,Ci-1),a.insert(mt.line+1,Io)}Js(a,"change",a,b)}function ea(a,b,ne){function te(ue,De,qe){if(ue.linked)for(var mt=0;mt<ue.linked.length;++mt){var Et=ue.linked[mt];if(Et.doc!=De){var Dt=qe&&Et.sharedHist;ne&&!Dt||(b(Et.doc,Dt),te(Et.doc,ue,Dt))}}}te(a,null,!0)}function Ho(a,b){if(b.cm)throw new Error("This document is already in use.");a.doc=b,b.cm=a,rd(a),Ro(a),jo(a),a.options.lineWrapping||fo(a),a.options.mode=b.modeOption,Du(a)}function jo(a){(a.doc.direction=="rtl"?We:Ge)(a.display.lineDiv,"CodeMirror-rtl")}function Qo(a){iA(a,function(){jo(a),Du(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:_r(b.from),to:qi(b),text:Lr(a,b.from,b.to)};return Dl(a,ne,b.from.line,b.to.line+1),ea(a,function(te){return Dl(te,ne,b.from.line,b.to.line+1)},!0),ne}function To(a){for(;a.length;){var b=_t(a);if(b.ranges)a.pop();else break}}function Zo(a,b){if(b)return To(a.done),_t(a.done);if(a.done.length&&!_t(a.done).ranges)return _t(a.done);if(a.done.length>1&&!a.done[a.done.length-2].ranges)return a.done.pop(),_t(a.done)}function na(a,b,ne,te){var ue=a.history;ue.undone.length=0;var De=+new Date,qe,mt;if((ue.lastOp==te||ue.lastOrigin==b.origin&&b.origin&&(b.origin.charAt(0)=="+"&&ue.lastModTime>De-(a.cm?a.cm.options.historyEventDelay:500)||b.origin.charAt(0)=="*"))&&(qe=Zo(ue,ue.lastOp==te)))mt=_t(qe.changes),hn(b.from,b.to)==0&&hn(b.from,mt.to)==0?mt.to=qi(b):qe.changes.push(ho(a,b));else{var Et=_t(ue.done);for((!Et||!Et.ranges)&&za(a.sel,ue.done),qe={changes:[ho(a,b)],generation:ue.generation},ue.done.push(qe);ue.done.length>ue.undoDepth;)ue.done.shift(),ue.done[0].ranges||ue.done.shift()}ue.done.push(ne),ue.generation=++ue.maxGeneration,ue.lastModTime=ue.lastSelTime=De,ue.lastOp=ue.lastSelOp=te,ue.lastOrigin=ue.lastSelOrigin=b.origin,mt||an(a,"historyAdded")}function 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 Ja(a,b,ne,te){var ue=a.history,De=te&&te.origin;ne==ue.lastSelOp||De&&ue.lastSelOrigin==De&&(ue.lastModTime==ue.lastSelTime&&ue.lastOrigin==De||Bo(a,De,_t(ue.done),b))?ue.done[ue.done.length-1]=b:za(b,ue.done),ue.lastSelTime=+new Date,ue.lastSelOrigin=De,ue.lastSelOp=ne,te&&te.clearRedo!==!1&&To(ue.undone)}function za(a,b){var ne=_t(b);ne&&ne.ranges&&ne.equals(a)||b.push(a)}function Dl(a,b,ne,te){var ue=b["spans_"+a.id],De=0;a.iter(Math.max(a.first,ne),Math.min(a.first+a.size,te),function(qe){qe.markedSpans&&((ue||(ue=b["spans_"+a.id]={}))[De]=qe.markedSpans),++De})}function xl(a){if(!a)return null;for(var b,ne=0;ne<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 ol(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 lo(a,b){var ne=ol(a,b),te=ko(a,b);if(!ne)return te;if(!te)return ne;for(var ue=0;ue<ne.length;++ue){var De=ne[ue],qe=te[ue];if(De&&qe)e:for(var mt=0;mt<qe.length;++mt){for(var Et=qe[mt],Dt=0;Dt<De.length;++Dt)if(De[Dt].marker==Et.marker)continue e;De.push(Et)}else qe&&(ne[ue]=qe)}return ne}function Yl(a,b,ne){for(var te=[],ue=0;ue<a.length;++ue){var De=a[ue];if(De.ranges){te.push(ne?Or.prototype.deepCopy.call(De):De);continue}var qe=De.changes,mt=[];te.push({changes:mt});for(var Et=0;Et<qe.length;++Et){var Dt=qe[Et],Ln=void 0;if(mt.push({from:Dt.from,to:Dt.to,text:Dt.text}),b)for(var Qn in Dt)(Ln=Qn.match(/^spans_(\d+)$/))&&At(b,Number(Ln[1]))>-1&&(_t(mt)[Qn]=Dt[Qn],delete Dt[Qn])}}return te}function os(a,b,ne,te){if(te){var ue=a.anchor;if(ne){var De=hn(b,ue)<0;De!=hn(ne,ue)<0?(ue=b,b=ne):De!=hn(b,ne)<0&&(b=ne)}return new Dr(ue,b)}else return new Dr(ne||b,b)}function rs(a,b,ne,te,ue){ue==null&&(ue=a.cm&&(a.cm.display.shift||a.extend)),Oo(a,new Or([os(a.sel.primary(),b,ne,ue)],0),te)}function il(a,b,ne){for(var te=[],ue=a.cm&&(a.cm.display.shift||a.extend),De=0;De<a.sel.ranges.length;De++)te[De]=os(a.sel.ranges[De],b[De],null,ue);var qe=$i(a.cm,te,a.sel.primIndex);Oo(a,qe,ne)}function cu(a,b,ne,te){var ue=a.sel.ranges.slice(0);ue[b]=ne,Oo(a,$i(a.cm,ue,a.sel.primIndex),te)}function ra(a,b,ne,te){Oo(a,bi(b,ne),te)}function xa(a,b,ne){var te={ranges:b.ranges,update:function(ue){this.ranges=[];for(var De=0;De<ue.length;De++)this.ranges[De]=new Dr(Ar(a,ue[De].anchor),Ar(a,ue[De].head))},origin:ne&&ne.origin};return an(a,"beforeSelectionChange",a,te),a.cm&&an(a.cm,"beforeSelectionChange",a.cm,te),te.ranges!=b.ranges?$i(a.cm,te.ranges,te.ranges.length-1):b}function Wo(a,b,ne){var te=a.history.done,ue=_t(te);ue&&ue.ranges?(te[te.length-1]=b,As(a,b,ne)):Oo(a,b,ne)}function Oo(a,b,ne){As(a,b,ne),Ja(a,a.sel,a.cm?a.cm.curOp.id:NaN,ne)}function As(a,b,ne){(En(a,"beforeSelectionChange")||a.cm&&En(a.cm,"beforeSelectionChange"))&&(b=xa(a,b,ne));var te=ne&&ne.bias||(hn(b.primary().head,a.sel.primary().head)<0?-1:1);Es(a,Zs(a,b,te,!0)),!(ne&&ne.scroll===!1)&&a.cm&&kA(a.cm)}function Es(a,b){b.equals(a.sel)||(a.sel=b,a.cm&&(a.cm.curOp.updateInput=1,a.cm.curOp.selectionChanged=!0,Hn(a.cm)),Js(a,"cursorActivity",a))}function Vs(a){Es(a,Zs(a,a.sel,null,!1))}function Zs(a,b,ne,te){for(var ue,De=0;De<b.ranges.length;De++){var qe=b.ranges[De],mt=b.ranges.length==a.sel.ranges.length&&a.sel.ranges[De],Et=hu(a,qe.anchor,mt&&mt.anchor,ne,te),Dt=hu(a,qe.head,mt&&mt.head,ne,te);(ue||Et!=qe.anchor||Dt!=qe.head)&&(ue||(ue=b.ranges.slice(0,De)),ue[De]=new Dr(Et,Dt))}return ue?$i(a.cm,ue,b.primIndex):b}function al(a,b,ne,te,ue){var De=fr(a,b.line);if(De.markedSpans)for(var qe=0;qe<De.markedSpans.length;++qe){var mt=De.markedSpans[qe],Et=mt.marker,Dt="selectLeft"in Et?!Et.selectLeft:Et.inclusiveLeft,Ln="selectRight"in Et?!Et.selectRight:Et.inclusiveRight;if((mt.from==null||(Dt?mt.from<=b.ch:mt.from<b.ch))&&(mt.to==null||(Ln?mt.to>=b.ch:mt.to>b.ch))){if(ue&&(an(Et,"beforeCursorEnter"),Et.explicitlyCleared))if(De.markedSpans){--qe;continue}else break;if(!Et.atomic)continue;if(ne){var Qn=Et.find(te<0?1:-1),Tr=void 0;if((te<0?Ln:Dt)&&(Qn=la(a,Qn,-te,Qn&&Qn.line==b.line?De:null)),Qn&&Qn.line==b.line&&(Tr=hn(Qn,ne))&&(te<0?Tr<0:Tr>0))return al(a,Qn,b,te,ue)}var Er=Et.find(te<0?-1:1);return(te<0?Dt:Ln)&&(Er=la(a,Er,te,Er.line==b.line?De:null)),Er?al(a,Er,b,te,ue):null}}return b}function hu(a,b,ne,te,ue){var De=te||1,qe=al(a,b,ne,De,ue)||!ue&&al(a,b,ne,De,!0)||al(a,b,ne,-De,ue)||!ue&&al(a,b,ne,-De,!0);return qe||(a.cantEdit=!0,zt(a.first,0))}function la(a,b,ne,te){return ne<0&&b.ch==0?b.line>a.first?Ar(a,zt(b.line-1)):null:ne>0&&b.ch==(te||fr(a,b.line)).text.length?b.line<a.first+a.size-1?zt(b.line+1,0):null:new zt(b.line,b.ch+ne)}function qo(a){a.setSelection(zt(a.firstLine(),0),zt(a.lastLine()),rt)}function bs(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,De,qe,mt){ue&&(te.from=Ar(a,ue)),De&&(te.to=Ar(a,De)),qe&&(te.text=qe),mt!==void 0&&(te.origin=mt)}),an(a,"beforeChange",a,te),a.cm&&an(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 qs(a,b,ne){if(a.cm){if(!a.cm.curOp)return Nu(a.cm,qs)(a,b,ne);if(a.cm.state.suppressEdits)return}if(!((En(a,"beforeChange")||a.cm&&En(a.cm,"beforeChange"))&&(b=bs(a,b,!0),!b))){var te=Ei&&!ne&&Xo(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]==""&&hn(b.from,b.to)==0)){var ne=Ji(a,b);na(a,b,ne,a.cm?a.cm.curOp.id:NaN),aA(a,b,ne,ko(a,b));var te=[];ea(a,function(ue,De){!De&&At(te,ue.history)==-1&&(du(ue.history,b),te.push(ue.history)),aA(ue,b,null,ko(ue,b))})}}function pu(a,b,ne){var te=a.cm&&a.cm.state.suppressEdits;if(!(te&&!ne)){for(var ue=a.history,De,qe=a.sel,mt=b=="undo"?ue.done:ue.undone,Et=b=="undo"?ue.undone:ue.done,Dt=0;Dt<mt.length&&(De=mt[Dt],!(ne?De.ranges&&!De.equals(a.sel):!De.ranges));Dt++);if(Dt!=mt.length){for(ue.lastOrigin=ue.lastSelOrigin=null;;)if(De=mt.pop(),De.ranges){if(za(De,Et),ne&&!De.equals(a.sel)){Oo(a,De,{clearRedo:!1});return}qe=De}else if(te){mt.push(De);return}else break;var Ln=[];za(qe,Et),Et.push({changes:Ln,generation:ue.generation}),ue.generation=De.generation||++ue.maxGeneration;for(var Qn=En(a,"beforeChange")||a.cm&&En(a.cm,"beforeChange"),Tr=function(Wi){var uo=De.changes[Wi];if(uo.origin=b,Qn&&!bs(a,uo,!1))return mt.length=0,{};Ln.push(ho(a,uo));var Io=Wi?Ji(a,uo):_t(mt);aA(a,uo,Io,lo(a,uo)),!Wi&&a.cm&&a.cm.scrollIntoView({from:uo.from,to:qi(uo)});var zo=[];ea(a,function(Lo,Aa){!Aa&&At(zo,Lo.history)==-1&&(du(Lo.history,uo),zo.push(Lo.history)),aA(Lo,uo,null,lo(Lo,uo))})},Er=De.changes.length-1;Er>=0;--Er){var Ci=Tr(Er);if(Ci)return Ci.v}}}}function Nl(a,b){if(b!=0&&(a.first+=b,a.sel=new Or(Fn(a.sel.ranges,function(ue){return new Dr(zt(ue.anchor.line+b,ue.anchor.ch),zt(ue.head.line+b,ue.head.ch))}),a.sel.primIndex),a.cm)){Du(a.cm,a.first,a.first-b,b);for(var ne=a.cm.display,te=ne.viewFrom;te<ne.viewTo;te++)_c(a.cm,te,"gutter")}}function aA(a,b,ne,te){if(a.cm&&!a.cm.curOp)return Nu(a.cm,aA)(a,b,ne,te);if(b.to.line<a.first){Nl(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);Nl(a,ue),b={from:zt(a.first,0),to:zt(b.to.line+ue,b.to.ch),text:[_t(b.text)],origin:b.origin}}var De=a.lastLine();b.to.line>De&&(b={from:b.from,to:zt(De,fr(a,De).text.length),text:[b.text[0]],origin:b.origin}),b.removed=Lr(a,b.from,b.to),ne||(ne=Ji(a,b)),a.cm?Bl(a.cm,b,te):sa(a,b,te),As(a,ne,rt),a.cantEdit&&hu(a,zt(a.firstLine(),0))&&(a.cantEdit=!1)}}function Bl(a,b,ne){var te=a.doc,ue=a.display,De=b.from,qe=b.to,mt=!1,Et=De.line;a.options.lineWrapping||(Et=ln(Wr(fr(te,De.line))),te.iter(Et,qe.line+1,function(Er){if(Er==ue.maxLine)return mt=!0,!0})),te.sel.contains(b.from,b.to)>-1&&Hn(a),sa(te,b,ne,Xf(a)),a.options.lineWrapping||(te.iter(Et,De.line+b.text.length,function(Er){var Ci=Jo(Er);Ci>ue.maxLineLength&&(ue.maxLine=Er,ue.maxLineLength=Ci,ue.maxLineChanged=!0,mt=!1)}),mt&&(a.curOp.updateMaxLine=!0)),vi(te,De.line),ld(a,400);var Dt=b.text.length-(qe.line-De.line)-1;b.full?Du(a):De.line==qe.line&&b.text.length==1&&!La(a.doc,b)?_c(a,De.line,"text"):Du(a,De.line,qe.line+1,Dt);var Ln=En(a,"changes"),Qn=En(a,"change");if(Qn||Ln){var Tr={from:De,to:qe,text:b.text,removed:b.removed,origin:b.origin};Qn&&Js(a,"change",a,Tr),Ln&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(Tr)}a.display.selForContextMenu=null}function gs(a,b,ne,te,ue){var De;te||(te=ne),hn(te,ne)<0&&(De=[te,ne],ne=De[0],te=De[1]),typeof b=="string"&&(b=a.splitLines(b)),qs(a,{from:ne,to:te,text:b,origin:ue})}function sl(a,b,ne,te){ne<a.line?a.line+=te:b<a.line&&(a.line=b,a.ch=0)}function ll(a,b,ne,te){for(var ue=0;ue<a.length;++ue){var De=a[ue],qe=!0;if(De.ranges){De.copied||(De=a[ue]=De.deepCopy(),De.copied=!0);for(var mt=0;mt<De.ranges.length;mt++)sl(De.ranges[mt].anchor,b,ne,te),sl(De.ranges[mt].head,b,ne,te);continue}for(var Et=0;Et<De.changes.length;++Et){var Dt=De.changes[Et];if(ne<Dt.from.line)Dt.from=zt(Dt.from.line+te,Dt.from.ch),Dt.to=zt(Dt.to.line+te,Dt.to.ch);else if(b<=Dt.to.line){qe=!1;break}}qe||(a.splice(0,ue+1),ue=0)}}function du(a,b){var ne=b.from.line,te=b.to.line,ue=b.text.length-(te-ne)-1;ll(a.done,ne,te,ue),ll(a.undone,ne,te,ue)}function Ol(a,b,ne,te){var ue=b,De=b;return typeof b=="number"?De=fr(a,ir(a,b)):ue=ln(b),ue==null?null:(te(De,ue)&&a.cm&&_c(a.cm,ue,ne),De)}function ms(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}ms.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,va(ue),Js(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 gl(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}gl.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 De=Math.min(b,ue-a),qe=te.height;if(te.removeInner(a,De),this.height-=qe-te.height,ue==De&&(this.children.splice(ne--,1),te.parent=null),(b-=De)==0)break;a=0}else a-=ue}if(this.size-b<25&&(this.children.length>1||!(this.children[0]instanceof ms))){var mt=[];this.collapse(mt),this.children=[new ms(mt)],this.children[0].parent=this}},collapse:function(a){for(var b=0;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],De=ue.chunkSize();if(a<=De){if(ue.insertInner(a,b,ne),ue.lines&&ue.lines.length>50){for(var qe=ue.lines.length%25+25,mt=qe;mt<ue.lines.length;){var Et=new ms(ue.lines.slice(mt,mt+=25));ue.height-=Et.height,this.children.splice(++te,0,Et),Et.parent=this}ue.lines=ue.lines.slice(0,qe),this.maybeSpill()}break}a-=De}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var b=a.children.splice(a.children.length-5,5),ne=new gl(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 gl(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],De=ue.chunkSize();if(a<De){var qe=Math.min(b,De-a);if(ue.iterN(a,qe,ne))return!0;if((b-=qe)==0)break;a=0}else a-=De}}};var Ss=function(a,b,ne){if(ne)for(var te in ne)ne.hasOwnProperty(te)&&(this[te]=ne[te]);this.doc=a,this.node=b};Ss.prototype.clear=function(){var a=this.doc.cm,b=this.line.widgets,ne=this.line,te=ln(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 De=Wl(this);Xt(ne,Math.max(0,ne.height-De)),a&&(iA(a,function(){ml(a,ne,-De),_c(a,te,"widget")}),Js(a,"lineWidgetCleared",a,this,te))}},Ss.prototype.changed=function(){var a=this,b=this.height,ne=this.doc.cm,te=this.line;this.height=null;var ue=Wl(this)-b;ue&&(yr(this.doc,te)||Xt(te,te.height+ue),ne&&iA(ne,function(){ne.curOp.forceUpdate=!0,ml(ne,te,ue),Js(ne,"lineWidgetChanged",ne,a,ln(te))}))},Mt(Ss);function ml(a,b,ne){co(b)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&qf(a,ne)}function Jl(a,b,ne,te){var ue=new Ss(a,ne,te),De=a.cm;return De&&ue.noHScroll&&(De.display.alignWidgets=!0),Ol(a,b,"widget",function(qe){var mt=qe.widgets||(qe.widgets=[]);if(ue.insertAt==null?mt.push(ue):mt.splice(Math.min(mt.length-1,Math.max(0,ue.insertAt)),0,ue),ue.line=qe,De&&!yr(a,qe)){var Et=co(qe)<a.scrollTop;Xt(qe,qe.height+Wl(ue)),Et&&qf(De,ue.height),De.curOp.forceUpdate=!0}return!0}),De&&Js(De,"lineWidgetAdded",De,ue,typeof b=="number"?b:ln(b)),ue}var Pu=0,_u=function(a,b){this.lines=[],this.type=b,this.doc=a,this.id=++Pu};_u.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,b=a&&!a.curOp;if(b&&rA(a),En(this,"clear")){var ne=this.find();ne&&Js(this,"clear",ne.from,ne.to)}for(var te=null,ue=null,De=0;De<this.lines.length;++De){var qe=this.lines[De],mt=eo(qe.markedSpans,this);a&&!this.collapsed?_c(a,ln(qe),"text"):a&&(mt.to!=null&&(ue=ln(qe)),mt.from!=null&&(te=ln(qe))),qe.markedSpans=vo(qe.markedSpans,mt),mt.from==null&&this.collapsed&&!yr(this.doc,qe)&&a&&Xt(qe,mA(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var Et=0;Et<this.lines.length;++Et){var Dt=Wr(this.lines[Et]),Ln=Jo(Dt);Ln>a.display.maxLineLength&&(a.display.maxLine=Dt,a.display.maxLineLength=Ln,a.display.maxLineChanged=!0)}te!=null&&a&&this.collapsed&&Du(a,te,ue+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&Vs(a.doc)),a&&Js(a,"markerCleared",a,this,te,ue),b&&yc(a),this.parent&&this.parent.clear()}},_u.prototype.find=function(a,b){a==null&&this.type=="bookmark"&&(a=1);for(var ne,te,ue=0;ue<this.lines.length;++ue){var De=this.lines[ue],qe=eo(De.markedSpans,this);if(qe.from!=null&&(ne=zt(b?De:ln(De),qe.from),a==-1))return ne;if(qe.to!=null&&(te=zt(b?De:ln(De),qe.to),a==1))return te}return ne&&{from:ne,to:te}},_u.prototype.changed=function(){var a=this,b=this.find(-1,!0),ne=this,te=this.doc.cm;!b||!te||iA(te,function(){var ue=b.line,De=ln(b.line),qe=xu(te,De);if(qe&&(_A(qe),te.curOp.selectionChanged=te.curOp.forceUpdate=!0),te.curOp.updateMaxLine=!0,!yr(ne.doc,ue)&&ne.height!=null){var mt=ne.height;ne.height=null;var Et=Wl(ne)-mt;Et&&Xt(ue,ue.height+Et)}Js(te,"markerChanged",te,a)})},_u.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)},_u.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)}},Mt(_u);function VA(a,b,ne,te,ue){if(te&&te.shared)return Nd(a,b,ne,te,ue);if(a.cm&&!a.cm.curOp)return Nu(a.cm,VA)(a,b,ne,te,ue);var De=new _u(a,ue),qe=hn(b,ne);if(te&&Ft(te,De,!1),qe>0||qe==0&&De.clearWhenEmpty!==!1)return De;if(De.replacedWith&&(De.collapsed=!0,De.widgetNode=bt("span",[De.replacedWith],"CodeMirror-widget"),te.handleMouseEvents||De.widgetNode.setAttribute("cm-ignore-events","true"),te.insertLeft&&(De.widgetNode.insertLeft=!0)),De.collapsed){if(ti(a,b.line,b,ne,De)||b.line!=ne.line&&ti(a,ne.line,b,ne,De))throw new Error("Inserting collapsed marker partially overlapping an existing one");wi()}De.addToHistory&&na(a,{from:b,to:ne,origin:"markText"},a.sel,NaN);var mt=b.line,Et=a.cm,Dt;if(a.iter(mt,ne.line+1,function(Qn){Et&&De.collapsed&&!Et.options.lineWrapping&&Wr(Qn)==Et.display.maxLine&&(Dt=!0),De.collapsed&&mt!=b.line&&Xt(Qn,0),Yi(Qn,new Ti(De,mt==b.line?b.ch:null,mt==ne.line?ne.ch:null)),++mt}),De.collapsed&&a.iter(b.line,ne.line+1,function(Qn){yr(a,Qn)&&Xt(Qn,0)}),De.clearOnEnter&&$t(De,"beforeCursorEnter",function(){return De.clear()}),De.readOnly&&(Si(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),De.collapsed&&(De.id=++Pu,De.atomic=!0),Et){if(Dt&&(Et.curOp.updateMaxLine=!0),De.collapsed)Du(Et,b.line,ne.line+1);else if(De.className||De.startStyle||De.endStyle||De.css||De.attributes||De.title)for(var Ln=b.line;Ln<=ne.line;Ln++)_c(Et,Ln,"text");De.atomic&&Vs(Et.doc),Js(Et,"markerAdded",Et,De)}return De}var ul=function(a,b){this.markers=a,this.primary=b;for(var ne=0;ne<a.length;++ne)a[ne].parent=this};ul.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var a=0;a<this.markers.length;++a)this.markers[a].clear();Js(this,"clear")}},ul.prototype.find=function(a,b){return this.primary.find(a,b)},Mt(ul);function Nd(a,b,ne,te,ue){te=Ft(te),te.shared=!1;var De=[VA(a,b,ne,te,ue)],qe=De[0],mt=te.widgetNode;return ea(a,function(Et){mt&&(te.widgetNode=mt.cloneNode(!0)),De.push(VA(Et,Ar(Et,b),Ar(Et,ne),te,ue));for(var Dt=0;Dt<Et.linked.length;++Dt)if(Et.linked[Dt].isParent)return;qe=_t(De)}),new ul(De,qe)}function Ru(a){return a.findMarks(zt(a.first,0),a.clipPos(zt(a.lastLine())),function(b){return b.parent})}function Gu(a,b){for(var ne=0;ne<b.length;ne++){var te=b[ne],ue=te.find(),De=a.clipPos(ue.from),qe=a.clipPos(ue.to);if(hn(De,qe)){var mt=VA(a,De,qe,te.primary,te.primary.type);te.markers.push(mt),mt.parent=te}}}function ju(a){for(var b=function(te){var ue=a[te],De=[ue.primary.doc];ea(ue.primary.doc,function(Et){return De.push(Et)});for(var qe=0;qe<ue.markers.length;qe++){var mt=ue.markers[qe];At(De,mt.doc)==-1&&(mt.parent=null,ue.markers.splice(qe--,1))}},ne=0;ne<a.length;ne++)b(ne)}var Vu=0,Al=function(a,b,ne,te,ue){if(!(this instanceof Al))return new Al(a,b,ne,te,ue);ne==null&&(ne=0),gl.call(this,[new ms([new ta("",null)])]),this.first=ne,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=ne;var De=zt(ne,0);this.sel=bi(De),this.history=new yo(null),this.id=++Vu,this.modeOption=b,this.lineSep=te,this.direction=ue=="rtl"?"rtl":"ltr",this.extend=!1,typeof a=="string"&&(a=this.splitLines(a)),sa(this,{from:De,to:De,text:a}),Oo(this,bi(De),rt)};Al.prototype=ge(gl.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:Ou(function(a){var b=zt(this.first,0),ne=this.first+this.size-1;qs(this,{from:b,to:zt(ne,fr(this,ne).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),this.cm&&od(this.cm,0,0),Oo(this,bi(b),rt)}),replaceRange:function(a,b,ne,te){b=Ar(this,b),ne=ne?Ar(this,ne):b,gs(this,a,b,ne,te)},getRange:function(a,b,ne){var te=Lr(this,Ar(this,a),Ar(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(kt(this,a))return fr(this,a)},getLineNumber:function(a){return ln(a)},getLineHandleVisualStart:function(a){return typeof a=="number"&&(a=fr(this,a)),Wr(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return Ar(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:Ou(function(a,b,ne){ra(this,Ar(this,typeof a=="number"?zt(a,b||0):a),null,ne)}),setSelection:Ou(function(a,b,ne){ra(this,Ar(this,a),Ar(this,b||a),ne)}),extendSelection:Ou(function(a,b,ne){rs(this,Ar(this,a),b&&Ar(this,b),ne)}),extendSelections:Ou(function(a,b){il(this,ei(this,a),b)}),extendSelectionsBy:Ou(function(a,b){var ne=Fn(this.sel.ranges,a);il(this,ei(this,ne),b)}),setSelections:Ou(function(a,b,ne){if(a.length){for(var te=[],ue=0;ue<a.length;ue++)te[ue]=new Dr(Ar(this,a[ue].anchor),Ar(this,a[ue].head));b==null&&(b=Math.min(a.length-1,this.sel.primIndex)),Oo(this,$i(this.cm,te,b),ne)}}),addSelection:Ou(function(a,b,ne){var te=this.sel.ranges.slice(0);te.push(new Dr(Ar(this,a),Ar(this,b||a))),Oo(this,$i(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=Lr(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=Lr(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:Ou(function(a,b,ne){for(var te=[],ue=this.sel,De=0;De<ue.ranges.length;De++){var qe=ue.ranges[De];te[De]={from:qe.from(),to:qe.to(),text:this.splitLines(a[De]),origin:ne}}for(var mt=b&&b!="end"&&Eo(this,te,b),Et=te.length-1;Et>=0;Et--)qs(this,te[Et]);mt?Wo(this,mt):this.cm&&kA(this.cm)}),undo:Ou(function(){pu(this,"undo")}),redo:Ou(function(){pu(this,"redo")}),undoSelection:Ou(function(){pu(this,"undo",!0)}),redoSelection:Ou(function(){pu(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,b=0,ne=0,te=0;te<a.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),ea(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:Yl(this.history.done),undone:Yl(this.history.undone)}},setHistory:function(a){var b=this.history=new yo(this.history.maxGeneration);b.done=Yl(a.done.slice(0),null,!0),b.undone=Yl(a.undone.slice(0),null,!0)},setGutterMarker:Ou(function(a,b,ne){return Ol(this,a,"gutter",function(te){var ue=te.gutterMarkers||(te.gutterMarkers={});return ue[b]=ne,!ne&&se(ue)&&(te.gutterMarkers=null),!0})}),clearGutter:Ou(function(a){var b=this;this.iter(function(ne){ne.gutterMarkers&&ne.gutterMarkers[a]&&Ol(b,ne,"gutter",function(){return ne.gutterMarkers[a]=null,se(ne.gutterMarkers)&&(ne.gutterMarkers=null),!0})})}),lineInfo:function(a){var b;if(typeof a=="number"){if(!kt(this,a)||(b=a,a=fr(this,a),!a))return null}else if(b=ln(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:Ou(function(a,b,ne){return Ol(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(et(ne).test(te[ue]))return!1;te[ue]+=" "+ne}return!0})}),removeLineClass:Ou(function(a,b,ne){return Ol(this,a,b=="gutter"?"gutter":"class",function(te){var ue=b=="text"?"textClass":b=="background"?"bgClass":b=="gutter"?"gutterClass":"wrapClass",De=te[ue];if(De)if(ne==null)te[ue]=null;else{var qe=De.match(et(ne));if(!qe)return!1;var mt=qe.index+qe[0].length;te[ue]=De.slice(0,qe.index)+(!qe.index||mt==De.length?"":" ")+De.slice(mt)||null}else return!1;return!0})}),addLineWidget:Ou(function(a,b,ne){return Jl(this,a,b,ne)}),removeLineWidget:function(a){a.clear()},markText:function(a,b,ne){return VA(this,Ar(this,a),Ar(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=Ar(this,a),VA(this,a,a,ne,"bookmark")},findMarksAt:function(a){a=Ar(this,a);var b=[],ne=fr(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=Ar(this,a),b=Ar(this,b);var te=[],ue=a.line;return this.iter(a.line,b.line+1,function(De){var qe=De.markedSpans;if(qe)for(var mt=0;mt<qe.length;mt++){var Et=qe[mt];!(Et.to!=null&&ue==a.line&&a.ch>=Et.to||Et.from==null&&ue!=a.line||Et.from!=null&&ue==b.line&&Et.from>=b.ch)&&(!ne||ne(Et.marker))&&te.push(Et.marker.parent||Et.marker)}++ue}),te},getAllMarks:function(){var a=[];return this.iter(function(b){var ne=b.markedSpans;if(ne)for(var te=0;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 De=ue.text.length+te;if(De>a)return b=a,!0;a-=De,++ne}),Ar(this,zt(ne,b))},indexFromPos:function(a){a=Ar(this,a);var b=a.ch;if(a.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}],Gu(te,Ru(this)),te},unlinkDoc:function(a){if(a instanceof Ml&&(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),ju(Ru(this));break}}if(a.history==this.history){var te=[a.id];ea(a,function(ue){return te.push(ue.id)},!0),a.history=new yo(null),a.history.done=Yl(this.history.done,te),a.history.undone=Yl(this.history.undone,te)}},iterLinkedDocs:function(a){ea(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):Ir(a)},lineSeparator:function(){return this.lineSep||`
`},setDirection:Ou(function(a){a!="rtl"&&(a="ltr"),a!=this.direction&&(this.direction=a,this.iter(function(b){return b.order=null}),this.cm&&Qo(this.cm))})}),Al.prototype.eachLine=Al.prototype.iter;var vA=0;function bc(a){var b=this;if(qd(b),!(en(b,a)||uu(b.display,a))){sn(a),He&&(vA=+new Date);var ne=Pc(b,a,!0),te=a.dataTransfer.files;if(!(!ne||b.isReadOnly()))if(te&&te.length&&window.FileReader&&window.File)for(var ue=te.length,De=Array(ue),qe=0,mt=function(){++qe==ue&&Nu(b,function(){ne=Ar(b.doc,ne);var Er={from:ne,to:ne,text:b.doc.splitLines(De.filter(function(Ci){return Ci!=null}).join(b.doc.lineSeparator())),origin:"paste"};qs(b.doc,Er),Wo(b.doc,bi(Ar(b.doc,ne),Ar(b.doc,qi(Er))))})()},Et=function(Er,Ci){if(b.options.allowDropFileTypes&&At(b.options.allowDropFileTypes,Er.type)==-1){mt();return}var Wi=new FileReader;Wi.onerror=function(){return mt()},Wi.onload=function(){var uo=Wi.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(uo)){mt();return}De[Ci]=uo,mt()},Wi.readAsText(Er)},Dt=0;Dt<te.length;Dt++)Et(te[Dt],Dt);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 Ln=a.dataTransfer.getData("Text");if(Ln){var Qn;if(b.state.draggingText&&!b.state.draggingText.copy&&(Qn=b.listSelections()),As(b.doc,bi(ne,ne)),Qn)for(var Tr=0;Tr<Qn.length;++Tr)gs(b.doc,"",Qn[Tr].anchor,Qn[Tr].head,"drag");b.replaceSelection(Ln,"around","paste"),b.display.input.focus()}}catch(Er){}}}}function MA(a,b){if(He&&(!a.state.draggingText||+new Date-vA<100)){It(b);return}if(!(en(a,b)||uu(a.display,b))&&(b.dataTransfer.setData("Text",a.getSelection()),b.dataTransfer.effectAllowed="copyMove",b.dataTransfer.setDragImage&&!Oe)){var ne=ft("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 XA(a,b){var ne=Pc(a,b);if(ne){var te=document.createDocumentFragment();Ih(a,ne,te),a.display.dragCursor||(a.display.dragCursor=ft("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),it(a.display.dragCursor,te)}}function qd(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function ef(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 De=0;De<ne.length;De++)a(ne[De])})}}var Fs=!1;function ud(){Fs||(Ef(),Fs=!0)}function Ef(){var a;$t(window,"resize",function(){a==null&&(a=setTimeout(function(){a=null,ef(Ka)},100))}),$t(window,"blur",function(){return ef(GA)})}function Ka(a){var b=a.display;b.cachedCharWidth=b.cachedTextHeight=b.cachedPaddingH=null,b.scrollbarsClipped=!1,a.setSize()}for(var cs={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"},kl=0;kl<10;kl++)cs[kl+48]=cs[kl+96]=String(kl);for(var ou=65;ou<=90;ou++)cs[ou]=String.fromCharCode(ou);for(var Bu=1;Bu<=12;Bu++)cs[Bu+111]=cs[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=xe?Eu.macDefault:Eu.pcDefault;function Xu(a){var b=a.split(/-(?!$)/);a=b[b.length-1];for(var ne,te,ue,De,qe=0;qe<b.length-1;qe++){var mt=b[qe];if(/^(cmd|meta|m)$/i.test(mt))De=!0;else if(/^a(lt)?$/i.test(mt))ne=!0;else if(/^(c|ctrl|control)$/i.test(mt))te=!0;else if(/^s(hift)?$/i.test(mt))ue=!0;else throw new Error("Unrecognized modifier name: "+mt)}return ne&&(a="Alt-"+a),te&&(a="Ctrl-"+a),De&&(a="Cmd-"+a),ue&&(a="Shift-"+a),a}function Qu(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(" "),Xu),De=0;De<ue.length;De++){var qe=void 0,mt=void 0;De==ue.length-1?(mt=ue.join(" "),qe=te):(mt=ue.slice(0,De+1).join(" "),qe="...");var Et=b[mt];if(!Et)b[mt]=qe;else if(Et!=qe)throw new Error("Inconsistent bindings for "+mt)}delete a[ne]}for(var Dt in b)a[Dt]=b[Dt];return a}function Zc(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 Zc(a,b.fallthrough,ne,te);for(var De=0;De<b.fallthrough.length;De++){var qe=Zc(a,b.fallthrough[De],ne,te);if(qe)return qe}}}function Sf(a){var b=typeof a=="string"?a:cs[a.keyCode];return b=="Ctrl"||b=="Alt"||b=="Shift"||b=="Mod"}function Wc(a,b,ne){var te=a;return b.altKey&&te!="Alt"&&(a="Alt-"+a),(Qe?b.metaKey:b.ctrlKey)&&te!="Ctrl"&&(a="Ctrl-"+a),(Qe?b.ctrlKey:b.metaKey)&&te!="Mod"&&(a="Cmd-"+a),!ne&&b.shiftKey&&te!="Shift"&&(a="Shift-"+a),a}function $c(a,b){if(oe&&a.keyCode==34&&a.char)return!1;var ne=cs[a.keyCode];return ne==null||a.altGraphKey?!1:(a.keyCode==3&&a.code&&(ne=a.code),Wc(ne,a,b))}function gu(a){return typeof a=="string"?Eu[a]:a}function UA(a,b){for(var ne=a.doc.sel.ranges,te=[],ue=0;ue<ne.length;ue++){for(var De=b(ne[ue]);te.length&&hn(De.from,_t(te).to)<=0;){var qe=te.pop();if(hn(qe.from,De.from)<0){De.from=qe.from;break}}te.push(De)}iA(a,function(){for(var mt=te.length-1;mt>=0;mt--)gs(a.doc,"",te[mt].from,te[mt].to,"+delete");kA(a)})}function tf(a,b,ne){var te=at(a.text,b+ne,ne);return te<0||te>a.text.length?null:te}function Ff(a,b,ne){var te=tf(a,b.ch,ne);return te==null?null:new zt(b.line,te,ne<0?"after":"before")}function nf(a,b,ne,te,ue){if(a){b.doc.direction=="rtl"&&(ue=-ue);var De=Ct(ne,b.doc.direction);if(De){var qe=ue<0?_t(De):De[0],mt=ue<0==(qe.level==1),Et=mt?"after":"before",Dt;if(qe.level>0||b.doc.direction=="rtl"){var Ln=aa(b,ne);Dt=ue<0?ne.text.length-1:0;var Qn=Wu(b,Ln,Dt).top;Dt=pt(function(Tr){return Wu(b,Ln,Tr).top==Qn},ue<0==(qe.level==1)?qe.from:qe.to-1,Dt),Et=="before"&&(Dt=tf(ne,Dt,1))}else Dt=ue<0?qe.to:qe.from;return new zt(te,Dt,Et)}}return new zt(te,ue<0?ne.text.length:0,ue<0?"before":"after")}function If(a,b,ne,te){var ue=Ct(b,a.doc.direction);if(!ue)return Ff(b,ne,te);ne.ch>=b.text.length?(ne.ch=b.text.length,ne.sticky="before"):ne.ch<=0&&(ne.ch=0,ne.sticky="after");var De=Lt(ue,ne.ch,ne.sticky),qe=ue[De];if(a.doc.direction=="ltr"&&qe.level%2==0&&(te>0?qe.to>ne.ch:qe.from<ne.ch))return Ff(b,ne,te);var mt=function(Io,zo){return tf(b,Io instanceof zt?Io.ch:Io,zo)},Et,Dt=function(Io){return a.options.lineWrapping?(Et=Et||aa(a,b),Vl(a,b,Et,Io)):{begin:0,end:b.text.length}},Ln=Dt(ne.sticky=="before"?mt(ne,-1):ne.ch);if(a.doc.direction=="rtl"||qe.level==1){var Qn=qe.level==1==te<0,Tr=mt(ne,Qn?1:-1);if(Tr!=null&&(Qn?Tr<=qe.to&&Tr<=Ln.end:Tr>=qe.from&&Tr>=Ln.begin)){var Er=Qn?"before":"after";return new zt(ne.line,Tr,Er)}}var Ci=function(Io,zo,Lo){for(var Aa=function(Sl,Ku){return Ku?new zt(ne.line,mt(Sl,1),"before"):new zt(ne.line,Sl,"after")};Io>=0&&Io<ue.length;Io+=zo){var _a=ue[Io],Ba=zo>0==(_a.level!=1),Ra=Ba?Lo.begin:mt(Lo.end,-1);if(_a.from<=Ra&&Ra<_a.to||(Ra=Ba?_a.from:mt(_a.to,-1),Lo.begin<=Ra&&Ra<Lo.end))return Aa(Ra,Ba)}},Wi=Ci(De+te,te,Ln);if(Wi)return Wi;var uo=te>0?Ln.end:mt(Ln.begin,-1);return uo!=null&&!(te>0&&uo==b.text.length)&&(Wi=Ci(te>0?0:ue.length-1,te,Dt(uo)),Wi)?Wi:null}var Gc={selectAll:qo,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),rt)},killLine:function(a){return UA(a,function(b){if(b.empty()){var ne=fr(a.doc,b.head.line).text.length;return b.head.ch==ne&&b.head.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 UA(a,function(b){return{from:zt(b.from().line,0),to:Ar(a.doc,zt(b.to().line+1,0))}})},delLineLeft:function(a){return UA(a,function(b){return{from:zt(b.from().line,0),to:b.from()}})},delWrappedLineLeft:function(a){return UA(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 UA(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 th(a,b.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){return a.extendSelectionsBy(function(b){return nh(a,b.head)},{origin:"+move",bias:1})},goLineEnd:function(a){return a.extendSelectionsBy(function(b){return Ap(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")},Qt)},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")},Qt)},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/)?nh(a,b.head):te},Qt)},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 De=ne[ue].from(),qe=Ze(a.getLine(De.line),De.ch,te);b.push(vn(te-qe%te))}a.replaceSelections(b)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return iA(a,function(){for(var b=a.listSelections(),ne=[],te=0;te<b.length;te++)if(b[te].empty()){var ue=b[te].head,De=fr(a.doc,ue.line).text;if(De){if(ue.ch==De.length&&(ue=new zt(ue.line,ue.ch-1)),ue.ch>0)ue=new zt(ue.line,ue.ch+1),a.replaceRange(De.charAt(ue.ch-1)+De.charAt(ue.ch-2),zt(ue.line,ue.ch-2),ue,"+transpose");else if(ue.line>a.doc.first){var qe=fr(a.doc,ue.line-1).text;qe&&(ue=new zt(ue.line,1),a.replaceRange(De.charAt(0)+a.doc.lineSeparator()+qe.charAt(qe.length-1),zt(ue.line-1,qe.length-1),ue,"+transpose"))}}ne.push(new Dr(ue,ue))}a.setSelections(ne)})},newlineAndIndent:function(a){return iA(a,function(){for(var b=a.listSelections(),ne=b.length-1;ne>=0;ne--)a.replaceRange(a.doc.lineSeparator(),b[ne].anchor,b[ne].head,"+input");b=a.listSelections();for(var te=0;te<b.length;te++)a.indentLine(b[te].from().line,null,!0);kA(a)})},openLine:function(a){return a.replaceSelection(`
`,"start")},toggleOverwrite:function(a){return a.toggleOverwrite()}};function th(a,b){var ne=fr(a.doc,b),te=Wr(ne);return te!=ne&&(b=ln(te)),nf(!0,a,te,b,1)}function Ap(a,b){var ne=fr(a.doc,b),te=Ri(ne);return te!=ne&&(b=ln(te)),nf(!0,a,ne,b,-1)}function nh(a,b){var ne=th(a,b.line),te=fr(a.doc,ne.line),ue=Ct(te,a.doc.direction);if(!ue||ue[0].level==0){var De=Math.max(ne.ch,te.text.search(/\S/)),qe=b.line==ne.line&&b.ch<=De&&b.ch;return zt(ne.line,qe?0:De,ne.sticky)}return ne}function rf(a,b,ne){if(typeof b=="string"&&(b=Gc[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)!=Kt}finally{a.display.shift=te,a.state.suppressEdits=!1}return ue}function cp(a,b,ne){for(var te=0;te<a.state.keyMaps.length;te++){var ue=Zc(b,a.state.keyMaps[te],ne,a);if(ue)return ue}return a.options.extraKeys&&Zc(b,a.options.extraKeys,ne,a)||Zc(b,a.options.keyMap,ne,a)}var dp=new Te;function of(a,b,ne,te){var ue=a.state.keySeq;if(ue){if(Sf(b))return"handled";if(/\'$/.test(b)?a.state.keySeq=null:dp.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=cp(a,b,te);return ue=="multi"&&(a.state.keySeq=b),ue=="handled"&&Js(a,"keyHandled",a,b,ne),(ue=="handled"||ue=="multi")&&(sn(ne),Id(a)),!!ue}function Od(a,b){var ne=$c(b,!0);return ne?b.shiftKey&&!a.state.keySeq?of(a,"Shift-"+ne,b,function(te){return rf(a,te,!0)})||of(a,ne,b,function(te){if(typeof te=="string"?/^go[A-Z]/.test(te):te.motion)return rf(a,te)}):of(a,ne,b,function(te){return rf(a,te)}):!1}function Df(a,b,ne){return of(a,"'"+ne+"'",b,function(te){return rf(a,te,!0)})}var Pd=null;function af(a){var b=this;if(!(a.target&&a.target!=b.display.input.getField())&&(b.curOp.focus=Ne(),!en(b,a))){He&&Se<11&&a.keyCode==27&&(a.returnValue=!1);var ne=a.keyCode;b.display.shift=ne==16||a.shiftKey;var te=Od(b,a);oe&&(Pd=te?ne:null,!te&&ne==88&&!vr&&(xe?a.metaKey:a.ctrlKey)&&b.replaceSelection("",null,"cut")),x&&!xe&&!te&&ne==46&&a.shiftKey&&!a.ctrlKey&&document.execCommand&&document.execCommand("cut"),ne==18&&!/\bCodeMirror-crosshair\b/.test(b.display.lineDiv.className)&&Cc(b)}}function Cc(a){var b=a.display.lineDiv;We(b,"CodeMirror-crosshair");function ne(te){(te.keyCode==18||!te.altKey)&&(Ge(b,"CodeMirror-crosshair"),bn(document,"keyup",ne),bn(document,"mouseover",ne))}$t(document,"keyup",ne),$t(document,"mouseover",ne)}function rh(a){a.keyCode==16&&(this.doc.sel.shift=!1),en(this,a)}function ih(a){var b=this;if(!(a.target&&a.target!=b.display.input.getField())&&!(uu(b.display,a)||en(b,a)||a.ctrlKey&&!a.altKey||xe&&a.metaKey)){var ne=a.keyCode,te=a.charCode;if(oe&&ne==Pd){Pd=null,sn(a);return}if(!(oe&&(!a.which||a.which<10)&&Od(b,a))){var ue=String.fromCharCode(te==null?ne:te);ue!="\b"&&(Df(b,a,ue)||b.display.input.onKeyPress(a))}}}var Nh=400,Ad=function(a,b,ne){this.time=a,this.pos=b,this.button=ne};Ad.prototype.compare=function(a,b,ne){return this.time+Nh>a&&hn(b,this.pos)==0&&ne==this.button};var xc,Bc;function _d(a,b){var ne=+new Date;return Bc&&Bc.compare(ne,a,b)?(xc=Bc=null,"triple"):xc&&xc.compare(ne,a,b)?(Bc=new Ad(ne,a,b),xc=null,"double"):(xc=new Ad(ne,a,b),Bc=null,"single")}function cd(a){var b=this,ne=b.display;if(!(en(b,a)||ne.activeTouch&&ne.input.supportsTouch())){if(ne.input.ensurePolled(),ne.shift=a.shiftKey,uu(ne,a)){Ue||(ne.scroller.draggable=!1,setTimeout(function(){return ne.scroller.draggable=!0},100));return}if(!Uc(b,a)){var te=Pc(b,a),ue=rn(a),De=te?_d(te,ue):"single";window.focus(),ue==1&&b.state.selectingText&&b.state.selectingText(a),!(te&&Oh(b,ue,te,De,a))&&(ue==1?te?Is(b,te,De,a):Wt(a)==ne.scroller&&sn(a):ue==2?(te&&rs(b.doc,te),setTimeout(function(){return ne.input.focus()},20)):ue==3&&(Re?b.display.input.onContextMenu(a):bf(b)))}}}function Oh(a,b,ne,te,ue){var De="Click";return te=="double"?De="Double"+De:te=="triple"&&(De="Triple"+De),De=(b==1?"Left":b==2?"Middle":"Right")+De,of(a,Wc(De,ue),ue,function(qe){if(typeof qe=="string"&&(qe=Gc[qe]),!qe)return!1;var mt=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),mt=qe(a,ne)!=Kt}finally{a.state.suppressEdits=!1}return mt})}function ds(a,b,ne){var te=a.getOption("configureMouse"),ue=te?te(a,b,ne):{};if(ue.unit==null){var De=Ee?ne.shiftKey&&ne.metaKey:ne.altKey;ue.unit=De?"rectangle":b=="single"?"char":b=="double"?"word":"line"}return(ue.extend==null||a.doc.extend)&&(ue.extend=a.doc.extend||ne.shiftKey),ue.addNew==null&&(ue.addNew=xe?ne.metaKey:ne.ctrlKey),ue.moveOnDrag==null&&(ue.moveOnDrag=!(xe?ne.altKey:ne.ctrlKey)),ue}function Is(a,b,ne,te){He?setTimeout(yt(Jf,a),0):a.curOp.focus=Ne();var ue=ds(a,ne,te),De=a.doc.sel,qe;a.options.dragDrop&&mn&&!a.isReadOnly()&&ne=="single"&&(qe=De.contains(b))>-1&&(hn((qe=De.ranges[qe]).from(),b)<0||b.xRel>0)&&(hn(qe.to(),b)>0||b.xRel<0)?mu(a,te,b,ue):zu(a,te,b,ue)}function mu(a,b,ne,te){var ue=a.display,De=!1,qe=Nu(a,function(Dt){Ue&&(ue.scroller.draggable=!1),a.state.draggingText=!1,bn(ue.wrapper.ownerDocument,"mouseup",qe),bn(ue.wrapper.ownerDocument,"mousemove",mt),bn(ue.scroller,"dragstart",Et),bn(ue.scroller,"drop",qe),De||(sn(Dt),te.addNew||rs(a.doc,ne,null,null,te.extend),Ue&&!Oe||He&&Se==9?setTimeout(function(){ue.wrapper.ownerDocument.body.focus({preventScroll:!0}),ue.input.focus()},20):ue.input.focus())}),mt=function(Dt){De=De||Math.abs(b.clientX-Dt.clientX)+Math.abs(b.clientY-Dt.clientY)>=10},Et=function(){return De=!0};Ue&&(ue.scroller.draggable=!0),a.state.draggingText=qe,qe.copy=!te.moveOnDrag,ue.scroller.dragDrop&&ue.scroller.dragDrop(),$t(ue.wrapper.ownerDocument,"mouseup",qe),$t(ue.wrapper.ownerDocument,"mousemove",mt),$t(ue.scroller,"dragstart",Et),$t(ue.scroller,"drop",qe),bf(a),setTimeout(function(){return ue.input.focus()},20)}function Hu(a,b,ne){if(ne=="char")return new Dr(b,b);if(ne=="word")return a.findWordAt(b);if(ne=="line")return new Dr(zt(b.line,0),Ar(a.doc,zt(b.line+1,0)));var te=ne(a,b);return new Dr(te.from,te.to)}function zu(a,b,ne,te){var ue=a.display,De=a.doc;sn(b);var qe,mt,Et=De.sel,Dt=Et.ranges;if(te.addNew&&!te.extend?(mt=De.sel.contains(ne),mt>-1?qe=Dt[mt]:qe=new Dr(ne,ne)):(qe=De.sel.primary(),mt=De.sel.primIndex),te.unit=="rectangle")te.addNew||(qe=new Dr(ne,ne)),ne=Pc(a,b,!0,!0),mt=-1;else{var Ln=Hu(a,ne,te.unit);te.extend?qe=os(qe,Ln.anchor,Ln.head,te.extend):qe=Ln}te.addNew?mt==-1?(mt=Dt.length,Oo(De,$i(a,Dt.concat([qe]),mt),{scroll:!1,origin:"*mouse"})):Dt.length>1&&Dt[mt].empty()&&te.unit=="char"&&!te.extend?(Oo(De,$i(a,Dt.slice(0,mt).concat(Dt.slice(mt+1)),0),{scroll:!1,origin:"*mouse"}),Et=De.sel):cu(De,mt,qe,Nt):(mt=0,Oo(De,new Or([qe],0),Nt),Et=De.sel);var Qn=ne;function Tr(Lo){if(hn(Qn,Lo)!=0)if(Qn=Lo,te.unit=="rectangle"){for(var Aa=[],_a=a.options.tabSize,Ba=Ze(fr(De,ne.line).text,ne.ch,_a),Ra=Ze(fr(De,Lo.line).text,Lo.ch,_a),Sl=Math.min(Ba,Ra),Ku=Math.max(Ba,Ra),ql=Math.min(ne.line,Lo.line),yA=Math.min(a.lastLine(),Math.max(ne.line,Lo.line));ql<=yA;ql++){var Yu=fr(De,ql).text,Tu=pn(Yu,Sl,_a);Sl==Ku?Aa.push(new Dr(zt(ql,Tu),zt(ql,Tu))):Yu.length>Tu&&Aa.push(new Dr(zt(ql,Tu),zt(ql,pn(Yu,Ku,_a))))}Aa.length||Aa.push(new Dr(ne,ne)),Oo(De,$i(a,Et.ranges.slice(0,mt).concat(Aa),mt),{origin:"*mouse",scroll:!1}),a.scrollIntoView(Lo)}else{var wA=qe,sA=Hu(a,Lo,te.unit),So=wA.anchor,Rl;hn(sA.anchor,So)>0?(Rl=sA.head,So=di(wA.from(),sA.anchor)):(Rl=sA.anchor,So=Jr(wA.to(),sA.head));var eu=Et.ranges.slice(0);eu[mt]=dd(a,new Dr(Ar(De,So),Rl)),Oo(De,$i(a,eu,mt),Nt)}}var Er=ue.wrapper.getBoundingClientRect(),Ci=0;function Wi(Lo){var Aa=++Ci,_a=Pc(a,Lo,!0,te.unit=="rectangle");if(_a)if(hn(_a,Qn)!=0){a.curOp.focus=Ne(),Tr(_a);var Ba=TA(ue,De);(_a.line>=Ba.to||_a.line<Ba.from)&&setTimeout(Nu(a,function(){Ci==Aa&&Wi(Lo)}),150)}else{var Ra=Lo.clientY<Er.top?-20:Lo.clientY>Er.bottom?20:0;Ra&&setTimeout(Nu(a,function(){Ci==Aa&&(ue.scroller.scrollTop+=Ra,Wi(Lo))}),50)}}function uo(Lo){a.state.selectingText=!1,Ci=1/0,Lo&&(sn(Lo),ue.input.focus()),bn(ue.wrapper.ownerDocument,"mousemove",Io),bn(ue.wrapper.ownerDocument,"mouseup",zo),De.history.lastSelOrigin=null}var Io=Nu(a,function(Lo){Lo.buttons===0||!rn(Lo)?uo(Lo):Wi(Lo)}),zo=Nu(a,uo);a.state.selectingText=zo,$t(ue.wrapper.ownerDocument,"mousemove",Io),$t(ue.wrapper.ownerDocument,"mouseup",zo)}function dd(a,b){var ne=b.anchor,te=b.head,ue=fr(a.doc,ne.line);if(hn(ne,te)==0&&ne.sticky==te.sticky)return b;var De=Ct(ue);if(!De)return b;var qe=Lt(De,ne.ch,ne.sticky),mt=De[qe];if(mt.from!=ne.ch&&mt.to!=ne.ch)return b;var Et=qe+(mt.from==ne.ch==(mt.level!=1)?0:1);if(Et==0||Et==De.length)return b;var Dt;if(te.line!=ne.line)Dt=(te.line-ne.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var Ln=Lt(De,te.ch,te.sticky),Qn=Ln-qe||(te.ch-ne.ch)*(mt.level==1?-1:1);Ln==Et-1||Ln==Et?Dt=Qn<0:Dt=Qn>0}var Tr=De[Et+(Dt?-1:0)],Er=Dt==(Tr.level==1),Ci=Er?Tr.from:Tr.to,Wi=Er?"after":"before";return ne.ch==Ci&&ne.sticky==Wi?b:new Dr(new zt(ne.line,Ci,Wi),te)}function Vc(a,b,ne,te){var ue,De;if(b.touches)ue=b.touches[0].clientX,De=b.touches[0].clientY;else try{ue=b.clientX,De=b.clientY}catch(Tr){return!1}if(ue>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;te&&sn(b);var qe=a.display,mt=qe.lineDiv.getBoundingClientRect();if(De>mt.bottom||!En(a,ne))return Wn(b);De-=mt.top-qe.viewOffset;for(var Et=0;Et<a.display.gutterSpecs.length;++Et){var Dt=qe.gutters.childNodes[Et];if(Dt&&Dt.getBoundingClientRect().right>=ue){var Ln=yn(a.doc,De),Qn=a.display.gutterSpecs[Et];return an(a,ne,a,Ln,Qn.className,b),Wn(b)}}}function Uc(a,b){return Vc(a,b,"gutterClick",!0)}function fd(a,b){uu(a.display,b)||Xc(a,b)||en(a,b,"contextmenu")||Re||a.display.input.onContextMenu(b)}function Xc(a,b){return En(a,"gutterContextMenu")?Vc(a,b,"gutterContextMenu",!1):!1}function Ph(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Cl(a)}var hd={toString:function(){return"CodeMirror.Init"}},Xp={},_h={};function mg(a){var b=a.optionHandlers;function ne(te,ue,De,qe){a.defaults[te]=ue,De&&(b[te]=qe?function(mt,Et,Dt){Dt!=hd&&De(mt,Et,Dt)}:De)}a.defineOption=ne,a.Init=hd,ne("value","",function(te,ue){return te.setValue(ue)},!0),ne("mode",null,function(te,ue){te.doc.modeOption=ue,Ro(te)},!0),ne("indentUnit",2,Ro,!0),ne("indentWithTabs",!1),ne("smartIndent",!0),ne("tabSize",4,function(te){_o(te),Cl(te),Du(te)},!0),ne("lineSeparator",null,function(te,ue){if(te.doc.lineSep=ue,!!ue){var De=[],qe=te.doc.first;te.doc.iter(function(Et){for(var Dt=0;;){var Ln=Et.text.indexOf(ue,Dt);if(Ln==-1)break;Dt=Ln+ue.length,De.push(zt(qe,Ln))}qe++});for(var mt=De.length-1;mt>=0;mt--)gs(te.doc,ue,De[mt],zt(De[mt].line,De[mt].ch+ue.length))}}),ne("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(te,ue,De){te.state.specialChars=new RegExp(ue.source+(ue.test(" ")?"":"| "),"g"),De!=hd&&te.refresh()}),ne("specialCharPlaceholder",Ds,function(te){return te.refresh()},!0),ne("electricChars",!0),ne("inputStyle",we?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ne("spellcheck",!1,function(te,ue){return te.getInputField().spellcheck=ue},!0),ne("autocorrect",!1,function(te,ue){return te.getInputField().autocorrect=ue},!0),ne("autocapitalize",!1,function(te,ue){return te.getInputField().autocapitalize=ue},!0),ne("rtlMoveVisually",!ke),ne("wholeLineUpdateBefore",!0),ne("theme","default",function(te){Ph(te),or(te)},!0),ne("keyMap","default",function(te,ue,De){var qe=gu(ue),mt=De!=hd&&gu(De);mt&&mt.detach&&mt.detach(te,qe),qe.attach&&qe.attach(te,mt||null)}),ne("extraKeys",null),ne("configureMouse",null),ne("lineWrapping",!1,Yp,!0),ne("gutters",[],function(te,ue){te.display.gutterSpecs=Sn(ue,te.options.lineNumbers),or(te)},!0),ne("fixedGutter",!0,function(te,ue){te.display.gutters.style.left=ue?Sd(te.display)+"px":"0",te.refresh()},!0),ne("coverGutterNextToScrollbar",!1,function(te){return Mc(te)},!0),ne("scrollbarStyle","native",function(te){Dh(te),Mc(te),te.display.scrollbars.setScrollTop(te.doc.scrollTop),te.display.scrollbars.setScrollLeft(te.doc.scrollLeft)},!0),ne("lineNumbers",!1,function(te,ue){te.display.gutterSpecs=Sn(te.options.gutters,ue),or(te)},!0),ne("firstLineNumber",1,or,!0),ne("lineNumberFormatter",function(te){return te},or,!0),ne("showCursorWhenSelecting",!1,$u,!0),ne("resetSelectionOnContextMenu",!0),ne("lineWiseCopyCut",!0),ne("pasteLinesPerSelection",!0),ne("selectionsMayTouch",!1),ne("readOnly",!1,function(te,ue){ue=="nocursor"&&(GA(te),te.display.input.blur()),te.display.input.readOnlyChanged(ue)}),ne("screenReaderLabel",null,function(te,ue){ue=ue===""?null:ue,te.display.input.screenReaderLabelChanged(ue)}),ne("disableInput",!1,function(te,ue){ue||te.display.input.reset()},!0),ne("dragDrop",!0,vg),ne("allowDropFileTypes",null),ne("cursorBlinkRate",530),ne("cursorScrollMargin",0),ne("cursorHeight",1,$u,!0),ne("singleCursorHeightPerLine",!0,$u,!0),ne("workTime",100),ne("workDelay",100),ne("flattenSpans",!0,_o,!0),ne("addModeClass",!1,_o,!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,_o,!0),ne("moveInputWithCursor",!0,function(te,ue){ue||te.display.input.resetPosition()}),ne("tabindex",null,function(te,ue){return te.display.input.getField().tabIndex=ue||""}),ne("autofocus",null),ne("direction","ltr",function(te,ue){return te.doc.setDirection(ue)},!0),ne("phrases",null)}function vg(a,b,ne){var te=ne&&ne!=hd;if(!b!=!te){var ue=a.display.dragFunctions,De=b?$t:bn;De(a.display.scroller,"dragstart",ue.start),De(a.display.scroller,"dragenter",ue.enter),De(a.display.scroller,"dragover",ue.over),De(a.display.scroller,"dragleave",ue.leave),De(a.display.scroller,"drop",ue.drop)}}function Yp(a){a.options.lineWrapping?(We(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(Ge(a.display.wrapper,"CodeMirror-wrap"),fo(a)),rd(a),Du(a),Cl(a),setTimeout(function(){return Mc(a)},100)}function Ml(a,b){var ne=this;if(!(this instanceof Ml))return new Ml(a,b);this.options=b=b?Ft(b):{},Ft(Xp,b,!1);var te=b.value;typeof te=="string"?te=new Al(te,b.mode,null,b.lineSeparator,b.direction):b.mode&&(te.modeOption=b.mode),this.doc=te;var ue=new Ml.inputStyles[b.inputStyle](this),De=this.display=new qn(a,te,ue,b);De.wrapper.CodeMirror=this,Ph(this),b.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Dh(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Te,keySeq:null,specialChars:null},b.autofocus&&!we&&De.input.focus(),He&&Se<11&&setTimeout(function(){return ne.display.input.reset(!0)},20),Jp(this),ud(),rA(this),this.curOp.forceUpdate=!0,Ho(this,te),b.autofocus&&!we||this.hasFocus()?setTimeout(function(){ne.hasFocus()&&!ne.state.focused&&Cf(ne)},20):GA(this);for(var qe in _h)_h.hasOwnProperty(qe)&&_h[qe](this,b[qe],hd);An(this),b.finishInit&&b.finishInit(this);for(var mt=0;mt<Th.length;++mt)Th[mt](this);yc(this),Ue&&b.lineWrapping&&getComputedStyle(De.lineDiv).textRendering=="optimizelegibility"&&(De.lineDiv.style.textRendering="auto")}Ml.defaults=Xp,Ml.optionHandlers=_h;function Jp(a){var b=a.display;$t(b.scroller,"mousedown",Nu(a,cd)),He&&Se<11?$t(b.scroller,"dblclick",Nu(a,function(Et){if(!en(a,Et)){var Dt=Pc(a,Et);if(!(!Dt||Uc(a,Et)||uu(a.display,Et))){sn(Et);var Ln=a.findWordAt(Dt);rs(a.doc,Ln.anchor,Ln.head)}}})):$t(b.scroller,"dblclick",function(Et){return en(a,Et)||sn(Et)}),$t(b.scroller,"contextmenu",function(Et){return fd(a,Et)}),$t(b.input.getField(),"contextmenu",function(Et){b.scroller.contains(Et.target)||fd(a,Et)});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 De(Et){if(Et.touches.length!=1)return!1;var Dt=Et.touches[0];return Dt.radiusX<=1&&Dt.radiusY<=1}function qe(Et,Dt){if(Dt.left==null)return!0;var Ln=Dt.left-Et.left,Qn=Dt.top-Et.top;return Ln*Ln+Qn*Qn>20*20}$t(b.scroller,"touchstart",function(Et){if(!en(a,Et)&&!De(Et)&&!Uc(a,Et)){b.input.ensurePolled(),clearTimeout(ne);var Dt=+new Date;b.activeTouch={start:Dt,moved:!1,prev:Dt-te.end<=300?te:null},Et.touches.length==1&&(b.activeTouch.left=Et.touches[0].pageX,b.activeTouch.top=Et.touches[0].pageY)}}),$t(b.scroller,"touchmove",function(){b.activeTouch&&(b.activeTouch.moved=!0)}),$t(b.scroller,"touchend",function(Et){var Dt=b.activeTouch;if(Dt&&!uu(b,Et)&&Dt.left!=null&&!Dt.moved&&new Date-Dt.start<300){var Ln=a.coordsChar(b.activeTouch,"page"),Qn;!Dt.prev||qe(Dt,Dt.prev)?Qn=new Dr(Ln,Ln):!Dt.prev.prev||qe(Dt,Dt.prev.prev)?Qn=a.findWordAt(Ln):Qn=new Dr(zt(Ln.line,0),Ar(a.doc,zt(Ln.line+1,0))),a.setSelection(Qn.anchor,Qn.head),a.focus(),sn(Et)}ue()}),$t(b.scroller,"touchcancel",ue),$t(b.scroller,"scroll",function(){b.scroller.clientHeight&&(nA(a,b.scroller.scrollTop),mc(a,b.scroller.scrollLeft,!0),an(a,"scroll",a))}),$t(b.scroller,"mousewheel",function(Et){return Qr(a,Et)}),$t(b.scroller,"DOMMouseScroll",function(Et){return Qr(a,Et)}),$t(b.wrapper,"scroll",function(){return b.wrapper.scrollTop=b.wrapper.scrollLeft=0}),b.dragFunctions={enter:function(Et){en(a,Et)||It(Et)},over:function(Et){en(a,Et)||(XA(a,Et),It(Et))},start:function(Et){return MA(a,Et)},drop:Nu(a,bc),leave:function(Et){en(a,Et)||qd(a)}};var mt=b.input.getField();$t(mt,"keyup",function(Et){return rh.call(a,Et)}),$t(mt,"keydown",Nu(a,af)),$t(mt,"keypress",Nu(a,ih)),$t(mt,"focus",function(Et){return Cf(a,Et)}),$t(mt,"blur",function(Et){return GA(a,Et)})}var Th=[];Ml.defineInitHook=function(a){return Th.push(a)};function sf(a,b,ne,te){var ue=a.doc,De;ne==null&&(ne="add"),ne=="smart"&&(ue.mode.indent?De=zn(a,b).state:ne="prev");var qe=a.options.tabSize,mt=fr(ue,b),Et=Ze(mt.text,null,qe);mt.stateAfter&&(mt.stateAfter=null);var Dt=mt.text.match(/^\s*/)[0],Ln;if(!te&&!/\S/.test(mt.text))Ln=0,ne="not";else if(ne=="smart"&&(Ln=ue.mode.indent(De,mt.text.slice(Dt.length),mt.text),Ln==Kt||Ln>150)){if(!te)return;ne="prev"}ne=="prev"?b>ue.first?Ln=Ze(fr(ue,b-1).text,null,qe):Ln=0:ne=="add"?Ln=Et+a.options.indentUnit:ne=="subtract"?Ln=Et-a.options.indentUnit:typeof ne=="number"&&(Ln=Et+ne),Ln=Math.max(0,Ln);var Qn="",Tr=0;if(a.options.indentWithTabs)for(var Er=Math.floor(Ln/qe);Er;--Er)Tr+=qe,Qn+=" ";if(Tr<Ln&&(Qn+=vn(Ln-Tr)),Qn!=Dt)return gs(ue,Qn,zt(b,0),zt(b,Dt.length),"+input"),mt.stateAfter=null,!0;for(var Ci=0;Ci<ue.sel.ranges.length;Ci++){var Wi=ue.sel.ranges[Ci];if(Wi.head.line==b&&Wi.head.ch<Dt.length){var uo=zt(b,Dt.length);cu(ue,Ci,new Dr(uo,uo));break}}}var Ec=null;function oh(a){Ec=a}function ah(a,b,ne,te,ue){var De=a.doc;a.display.shift=!1,te||(te=De.sel);var qe=+new Date-200,mt=ue=="paste"||a.state.pasteIncoming>qe,Et=Ir(b),Dt=null;if(mt&&te.ranges.length>1)if(Ec&&Ec.text.join(`
`)==b){if(te.ranges.length%Ec.text.length==0){Dt=[];for(var Ln=0;Ln<Ec.text.length;Ln++)Dt.push(De.splitLines(Ec.text[Ln]))}}else Et.length==te.ranges.length&&a.options.pasteLinesPerSelection&&(Dt=Fn(Et,function(Io){return[Io]}));for(var Qn=a.curOp.updateInput,Tr=te.ranges.length-1;Tr>=0;Tr--){var Er=te.ranges[Tr],Ci=Er.from(),Wi=Er.to();Er.empty()&&(ne&&ne>0?Ci=zt(Ci.line,Ci.ch-ne):a.state.overwrite&&!mt?Wi=zt(Wi.line,Math.min(fr(De,Wi.line).text.length,Wi.ch+_t(Et).length)):mt&&Ec&&Ec.lineWise&&Ec.text.join(`
`)==Et.join(`
`)&&(Ci=Wi=zt(Ci.line,0)));var uo={from:Ci,to:Wi,text:Dt?Dt[Tr%Dt.length]:Et,origin:ue||(mt?"paste":a.state.cutIncoming>qe?"cut":"+input")};qs(a.doc,uo),Js(a,"inputRead",a,uo)}b&&!mt&&sh(a,b),kA(a),a.curOp.updateInput<2&&(a.curOp.updateInput=Qn),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Nf(a,b){var ne=a.clipboardData&&a.clipboardData.getData("Text");if(ne)return a.preventDefault(),!b.isReadOnly()&&!b.options.disableInput&&iA(b,function(){return ah(b,ne,0,null,"paste")}),!0}function sh(a,b){if(!(!a.options.electricChars||!a.options.smartIndent))for(var ne=a.doc.sel,te=ne.ranges.length-1;te>=0;te--){var ue=ne.ranges[te];if(!(ue.head.ch>100||te&&ne.ranges[te-1].head.line==ue.head.line)){var De=a.getModeAt(ue.head),qe=!1;if(De.electricChars){for(var mt=0;mt<De.electricChars.length;mt++)if(b.indexOf(De.electricChars.charAt(mt))>-1){qe=sf(a,ue.head.line,"smart");break}}else De.electricInput&&De.electricInput.test(fr(a.doc,ue.head.line).text.slice(0,ue.head.ch))&&(qe=sf(a,ue.head.line,"smart"));qe&&Js(a,"electricInput",a,ue.head.line)}}}function fp(a){for(var b=[],ne=[],te=0;te<a.doc.sel.ranges.length;te++){var ue=a.doc.sel.ranges[te].head.line,De={anchor:zt(ue,0),head:zt(ue+1,0)};ne.push(De),b.push(a.getRange(De.anchor,De.head))}return{text:b,ranges:ne}}function hp(a,b,ne,te){a.setAttribute("autocorrect",ne?"":"off"),a.setAttribute("autocapitalize",te?"":"off"),a.setAttribute("spellcheck",!!b)}function yg(){var a=ft("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),b=ft("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return Ue?a.style.width="1000px":a.setAttribute("wrap","off"),Ie&&(a.style.border="1px solid black"),hp(a),b}function pp(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 De=this.options,qe=De[te];De[te]==ue&&te!="mode"||(De[te]=ue,b.hasOwnProperty(te)&&Nu(this,b[te])(this,ue,qe),an(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,De=0;De<ue.length;++De)if(ue[De]==te||ue[De].name==te)return ue.splice(De,1),!0},addOverlay:oA(function(te,ue){var De=te.token?te:a.getMode(this.options,te);if(De.startState)throw new Error("Overlays may not be stateful.");on(this.state.overlays,{mode:De,modeSpec:te,opaque:ue&&ue.opaque,priority:ue&&ue.priority||0},function(qe){return qe.priority}),this.state.modeGen++,Du(this)}),removeOverlay:oA(function(te){for(var ue=this.state.overlays,De=0;De<ue.length;++De){var qe=ue[De].modeSpec;if(qe==te||typeof te=="string"&&qe.name==te){ue.splice(De,1),this.state.modeGen++,Du(this);return}}}),indentLine:oA(function(te,ue,De){typeof ue!="string"&&typeof ue!="number"&&(ue==null?ue=this.options.smartIndent?"smart":"prev":ue=ue?"add":"subtract"),kt(this.doc,te)&&sf(this,te,ue,De)}),indentSelection:oA(function(te){for(var ue=this.doc.sel.ranges,De=-1,qe=0;qe<ue.length;qe++){var mt=ue[qe];if(mt.empty())mt.head.line>De&&(sf(this,mt.head.line,te,!0),De=mt.head.line,qe==this.doc.sel.primIndex&&kA(this));else{var Et=mt.from(),Dt=mt.to(),Ln=Math.max(De,Et.line);De=Math.min(this.lastLine(),Dt.line-(Dt.ch?0:1))+1;for(var Qn=Ln;Qn<De;++Qn)sf(this,Qn,te);var Tr=this.doc.sel.ranges;Et.ch==0&&ue.length==Tr.length&&Tr[qe].from().ch>0&&cu(this.doc,qe,new Dr(Et,Tr[qe].to()),rt)}}}),getTokenAt:function(te,ue){return Zr(this,te,ue)},getLineTokens:function(te,ue){return Zr(this,zt(te),ue,!0)},getTokenTypeAt:function(te){te=Ar(this.doc,te);var ue=Bi(this,fr(this.doc,te.line)),De=0,qe=(ue.length-1)/2,mt=te.ch,Et;if(mt==0)Et=ue[2];else for(;;){var Dt=De+qe>>1;if((Dt?ue[Dt*2-1]:0)>=mt)qe=Dt;else if(ue[Dt*2+1]<mt)De=Dt+1;else{Et=ue[Dt*2+2];break}}var Ln=Et?Et.indexOf("overlay "):-1;return Ln<0?Et:Ln==0?null:Et.slice(0,Ln-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 De=[];if(!ne.hasOwnProperty(ue))return De;var qe=ne[ue],mt=this.getModeAt(te);if(typeof mt[ue]=="string")qe[mt[ue]]&&De.push(qe[mt[ue]]);else if(mt[ue])for(var Et=0;Et<mt[ue].length;Et++){var Dt=qe[mt[ue][Et]];Dt&&De.push(Dt)}else mt.helperType&&qe[mt.helperType]?De.push(qe[mt.helperType]):qe[mt.name]&&De.push(qe[mt.name]);for(var Ln=0;Ln<qe._global.length;Ln++){var Qn=qe._global[Ln];Qn.pred(mt,this)&&At(De,Qn.val)==-1&&De.push(Qn.val)}return De},getStateAfter:function(te,ue){var De=this.doc;return te=ir(De,te==null?De.first+De.size-1:te),zn(this,te+1,ue).state},cursorCoords:function(te,ue){var De,qe=this.doc.sel.primary();return te==null?De=qe.head:typeof te=="object"?De=Ar(this.doc,te):De=te?qe.from():qe.to(),Uu(this,De,ue||"page")},charCoords:function(te,ue){return _l(this,Ar(this.doc,te),ue||"page")},coordsChar:function(te,ue){return te=nd(this,te,ue||"page"),Rs(this,te.left,te.top)},lineAtHeight:function(te,ue){return te=nd(this,{top:te,left:0},ue||"page").top,yn(this.doc,te+this.display.viewOffset)},heightAtLine:function(te,ue,De){var qe=!1,mt;if(typeof te=="number"){var Et=this.doc.first+this.doc.size-1;te<this.doc.first?te=this.doc.first:te>Et&&(te=Et,qe=!0),mt=fr(this.doc,te)}else mt=te;return Oc(this,mt,{top:0,left:0},ue||"page",De||qe).top+(qe?this.doc.height-co(mt):0)},defaultTextHeight:function(){return mA(this.display)},defaultCharWidth:function(){return nc(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(te,ue,De,qe,mt){var Et=this.display;te=Uu(this,Ar(this.doc,te));var Dt=te.bottom,Ln=te.left;if(ue.style.position="absolute",ue.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ue),Et.sizer.appendChild(ue),qe=="over")Dt=te.top;else if(qe=="above"||qe=="near"){var Qn=Math.max(Et.wrapper.clientHeight,this.doc.height),Tr=Math.max(Et.sizer.clientWidth,Et.lineSpace.clientWidth);(qe=="above"||te.bottom+ue.offsetHeight>Qn)&&te.top>ue.offsetHeight?Dt=te.top-ue.offsetHeight:te.bottom+ue.offsetHeight<=Qn&&(Dt=te.bottom),Ln+ue.offsetWidth>Tr&&(Ln=Tr-ue.offsetWidth)}ue.style.top=Dt+"px",ue.style.left=ue.style.right="",mt=="right"?(Ln=Et.sizer.clientWidth-ue.offsetWidth,ue.style.right="0px"):(mt=="left"?Ln=0:mt=="middle"&&(Ln=(Et.sizer.clientWidth-ue.offsetWidth)/2),ue.style.left=Ln+"px"),De&&Zp(this,{left:Ln,top:Dt,right:Ln+ue.offsetWidth,bottom:Dt+ue.offsetHeight})},triggerOnKeyDown:oA(af),triggerOnKeyPress:oA(ih),triggerOnKeyUp:rh,triggerOnMouseDown:oA(cd),execCommand:function(te){if(Gc.hasOwnProperty(te))return Gc[te].call(null,this)},triggerElectric:oA(function(te){sh(this,te)}),findPosH:function(te,ue,De,qe){var mt=1;ue<0&&(mt=-1,ue=-ue);for(var Et=Ar(this.doc,te),Dt=0;Dt<ue&&(Et=lh(this.doc,Et,mt,De,qe),!Et.hitSide);++Dt);return Et},moveH:oA(function(te,ue){var De=this;this.extendSelectionsBy(function(qe){return De.display.shift||De.doc.extend||qe.empty()?lh(De.doc,qe.head,te,ue,De.options.rtlMoveVisually):te<0?qe.from():qe.to()},Qt)}),deleteH:oA(function(te,ue){var De=this.doc.sel,qe=this.doc;De.somethingSelected()?qe.replaceSelection("",null,"+delete"):UA(this,function(mt){var Et=lh(qe,mt.head,te,ue,!1);return te<0?{from:Et,to:mt.head}:{from:mt.head,to:Et}})}),findPosV:function(te,ue,De,qe){var mt=1,Et=qe;ue<0&&(mt=-1,ue=-ue);for(var Dt=Ar(this.doc,te),Ln=0;Ln<ue;++Ln){var Qn=Uu(this,Dt,"div");if(Et==null?Et=Qn.left:Qn.left=Et,Dt=qp(this,Qn,mt,De),Dt.hitSide)break}return Dt},moveV:oA(function(te,ue){var De=this,qe=this.doc,mt=[],Et=!this.display.shift&&!qe.extend&&qe.sel.somethingSelected();if(qe.extendSelectionsBy(function(Ln){if(Et)return te<0?Ln.from():Ln.to();var Qn=Uu(De,Ln.head,"div");Ln.goalColumn!=null&&(Qn.left=Ln.goalColumn),mt.push(Qn.left);var Tr=qp(De,Qn,te,ue);return ue=="page"&&Ln==qe.sel.primary()&&qf(De,_l(De,Tr,"div").top-Qn.top),Tr},Qt),mt.length)for(var Dt=0;Dt<qe.sel.ranges.length;Dt++)qe.sel.ranges[Dt].goalColumn=mt[Dt]}),findWordAt:function(te){var ue=this.doc,De=fr(ue,te.line).text,qe=te.ch,mt=te.ch;if(De){var Et=this.getHelper(te,"wordChars");(te.sticky=="before"||mt==De.length)&&qe?--qe:++mt;for(var Dt=De.charAt(qe),Ln=le(Dt,Et)?function(Qn){return le(Qn,Et)}:/\s/.test(Dt)?function(Qn){return/\s/.test(Qn)}:function(Qn){return!/\s/.test(Qn)&&!le(Qn)};qe>0&&Ln(De.charAt(qe-1));)--qe;for(;mt<De.length&&Ln(De.charAt(mt));)++mt}return new Dr(zt(te.line,qe),zt(te.line,mt))},toggleOverwrite:function(te){te!=null&&te==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?We(this.display.cursorDiv,"CodeMirror-overwrite"):Ge(this.display.cursorDiv,"CodeMirror-overwrite"),an(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Ne()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:oA(function(te,ue){od(this,te,ue)}),getScrollInfo:function(){var te=this.display.scroller;return{left:te.scrollLeft,top:te.scrollTop,height:te.scrollHeight-iu(this)-this.display.barHeight,width:te.scrollWidth-iu(this)-this.display.barWidth,clientHeight:ps(this),clientWidth:Pl(this)}},scrollIntoView:oA(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?Wp(this,te):LA(this,te.from,te.to,te.margin)}),setSize:oA(function(te,ue){var De=this,qe=function(Et){return typeof Et=="number"||/^\d+$/.test(String(Et))?Et+"px":Et};te!=null&&(this.display.wrapper.style.width=qe(te)),ue!=null&&(this.display.wrapper.style.height=qe(ue)),this.options.lineWrapping&&bl(this);var mt=this.display.viewFrom;this.doc.iter(mt,this.display.viewTo,function(Et){if(Et.widgets){for(var Dt=0;Dt<Et.widgets.length;Dt++)if(Et.widgets[Dt].noHScroll){_c(De,mt,"widget");break}}++mt}),this.curOp.forceUpdate=!0,an(this,"refresh",this)}),operation:function(te){return iA(this,te)},startOperation:function(){return rA(this)},endOperation:function(){return yc(this)},refresh:oA(function(){var te=this.display.cachedTextHeight;Du(this),this.curOp.forceUpdate=!0,Cl(this),od(this,this.doc.scrollLeft,this.doc.scrollTop),wt(this.display),(te==null||Math.abs(te-mA(this.display))>.5||this.options.lineWrapping)&&rd(this),an(this,"refresh",this)}),swapDoc:oA(function(te){var ue=this.doc;return ue.cm=null,this.state.selectingText&&this.state.selectingText(),Ho(this,te),Cl(this),this.display.input.reset(),od(this,te.scrollLeft,te.scrollTop),this.curOp.forceScroll=!0,Js(this,"swapDoc",this,ue),ue}),phrase:function(te){var ue=this.options.phrases;return ue&&Object.prototype.hasOwnProperty.call(ue,te)?ue[te]:te},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Mt(a),a.registerHelper=function(te,ue,De){ne.hasOwnProperty(te)||(ne[te]=a[te]={_global:[]}),ne[te][ue]=De},a.registerGlobalHelper=function(te,ue,De,qe){a.registerHelper(te,ue,qe),ne[te]._global.push({pred:De,val:qe})}}function lh(a,b,ne,te,ue){var De=b,qe=ne,mt=fr(a,b.line),Et=ue&&a.direction=="rtl"?-ne:ne;function Dt(){var zo=b.line+Et;return zo<a.first||zo>=a.first+a.size?!1:(b=new zt(zo,b.ch,b.sticky),mt=fr(a,zo))}function Ln(zo){var Lo;if(te=="codepoint"){var Aa=mt.text.charCodeAt(b.ch+(te>0?0:-1));isNaN(Aa)?Lo=null:Lo=new zt(b.line,Math.max(0,Math.min(mt.text.length,b.ch+ne*(Aa>=55296&&Aa<56320?2:1))),-ne)}else ue?Lo=If(a.cm,mt,b,ne):Lo=Ff(mt,b,ne);if(Lo==null)if(!zo&&Dt())b=nf(ue,a.cm,mt,b.line,Et);else return!1;else b=Lo;return!0}if(te=="char"||te=="codepoint")Ln();else if(te=="column")Ln(!0);else if(te=="word"||te=="group")for(var Qn=null,Tr=te=="group",Er=a.cm&&a.cm.getHelper(b,"wordChars"),Ci=!0;!(ne<0&&!Ln(!Ci));Ci=!1){var Wi=mt.text.charAt(b.ch)||`
`,uo=le(Wi,Er)?"w":Tr&&Wi==`
`?"n":!Tr||/\s/.test(Wi)?null:"p";if(Tr&&!Ci&&!uo&&(uo="s"),Qn&&Qn!=uo){ne<0&&(ne=1,Ln(),b.sticky="after");break}if(uo&&(Qn=uo),ne>0&&!Ln(!Ci))break}var Io=hu(a,b,De,qe,!0);return Pn(De,Io)&&(Io.hitSide=!0),Io}function qp(a,b,ne,te){var ue=a.doc,De=b.left,qe;if(te=="page"){var mt=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Et=Math.max(mt-.5*mA(a.display),3);qe=(ne>0?b.bottom:b.top)+ne*Et}else te=="line"&&(qe=ne>0?b.bottom+3:b.top-3);for(var Dt;Dt=Rs(a,De,qe),!!Dt.outside;){if(ne<0?qe<=0:qe>=ue.height){Dt.hitSide=!0;break}qe+=ne*5}return Dt}var vl=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Te,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};vl.prototype.init=function(a){var b=this,ne=this,te=ne.cm,ue=ne.div=a.lineDiv;hp(ue,te.options.spellcheck,te.options.autocorrect,te.options.autocapitalize);function De(mt){for(var Et=mt.target;Et;Et=Et.parentNode){if(Et==ue)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Et.className))break}return!1}$t(ue,"paste",function(mt){!De(mt)||en(te,mt)||Nf(mt,te)||Se<=11&&setTimeout(Nu(te,function(){return b.updateFromDOM()}),20)}),$t(ue,"compositionstart",function(mt){b.composing={data:mt.data,done:!1}}),$t(ue,"compositionupdate",function(mt){b.composing||(b.composing={data:mt.data,done:!1})}),$t(ue,"compositionend",function(mt){b.composing&&(mt.data!=b.composing.data&&b.readFromDOMSoon(),b.composing.done=!0)}),$t(ue,"touchstart",function(){return ne.forceCompositionEnd()}),$t(ue,"input",function(){b.composing||b.readFromDOMSoon()});function qe(mt){if(!(!De(mt)||en(te,mt))){if(te.somethingSelected())oh({lineWise:!1,text:te.getSelections()}),mt.type=="cut"&&te.replaceSelection("",null,"cut");else if(te.options.lineWiseCopyCut){var Et=fp(te);oh({lineWise:!0,text:Et.text}),mt.type=="cut"&&te.operation(function(){te.setSelections(Et.ranges,0,rt),te.replaceSelection("",null,"cut")})}else return;if(mt.clipboardData){mt.clipboardData.clearData();var Dt=Ec.text.join(`
`);if(mt.clipboardData.setData("Text",Dt),mt.clipboardData.getData("Text")==Dt){mt.preventDefault();return}}var Ln=yg(),Qn=Ln.firstChild;te.display.lineSpace.insertBefore(Ln,te.display.lineSpace.firstChild),Qn.value=Ec.text.join(`
`);var Tr=document.activeElement;ot(Qn),setTimeout(function(){te.display.lineSpace.removeChild(Ln),Tr.focus(),Tr==ue&&ne.showPrimarySelection()},50)}}$t(ue,"copy",qe),$t(ue,"cut",qe)},vl.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},vl.prototype.prepareSelection=function(){var a=pc(this.cm,!1);return a.focus=document.activeElement==this.div,a},vl.prototype.showSelection=function(a,b){!a||!this.cm.display.view.length||((a.focus||b)&&this.showPrimarySelection(),this.showMultipleSelections(a))},vl.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},vl.prototype.showPrimarySelection=function(){var a=this.getSelection(),b=this.cm,ne=b.doc.sel.primary(),te=ne.from(),ue=ne.to();if(b.display.viewTo==b.display.viewFrom||te.line>=b.display.viewTo||ue.line<b.display.viewFrom){a.removeAllRanges();return}var De=Yc(b,a.anchorNode,a.anchorOffset),qe=Yc(b,a.focusNode,a.focusOffset);if(!(De&&!De.bad&&qe&&!qe.bad&&hn(di(De,qe),te)==0&&hn(Jr(De,qe),ue)==0)){var mt=b.display.view,Et=te.line>=b.display.viewFrom&&Td(b,te)||{node:mt[0].measure.map[2],offset:0},Dt=ue.line<b.display.viewTo&&Td(b,ue);if(!Dt){var Ln=mt[mt.length-1].measure,Qn=Ln.maps?Ln.maps[Ln.maps.length-1]:Ln.map;Dt={node:Qn[Qn.length-1],offset:Qn[Qn.length-2]-Qn[Qn.length-3]}}if(!Et||!Dt){a.removeAllRanges();return}var Tr=a.rangeCount&&a.getRangeAt(0),Er;try{Er=je(Et.node,Et.offset,Dt.offset,Dt.node)}catch(Ci){}Er&&(!x&&b.state.focused?(a.collapse(Et.node,Et.offset),Er.collapsed||(a.removeAllRanges(),a.addRange(Er))):(a.removeAllRanges(),a.addRange(Er)),Tr&&a.anchorNode==null?a.addRange(Tr):x&&this.startGracePeriod()),this.rememberSelection()}},vl.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)},vl.prototype.showMultipleSelections=function(a){it(this.cm.display.cursorDiv,a.cursors),it(this.cm.display.selectionDiv,a.selection)},vl.prototype.rememberSelection=function(){var a=this.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},vl.prototype.selectionInEditor=function(){var a=this.getSelection();if(!a.rangeCount)return!1;var b=a.getRangeAt(0).commonAncestorContainer;return ht(this.div,b)},vl.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},vl.prototype.blur=function(){this.div.blur()},vl.prototype.getField=function(){return this.div},vl.prototype.supportsTouch=function(){return!0},vl.prototype.receivedFocus=function(){var a=this;this.selectionInEditor()?this.pollSelection():iA(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)},vl.prototype.selectionChanged=function(){var a=this.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},vl.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var a=this.getSelection(),b=this.cm;if(_e&&Ce&&this.cm.display.gutterSpecs.length&&wg(a.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var ne=Yc(b,a.anchorNode,a.anchorOffset),te=Yc(b,a.focusNode,a.focusOffset);ne&&te&&iA(b,function(){Oo(b.doc,bi(ne,te),rt),(ne.bad||te.bad)&&(b.curOp.selectionChanged=!0)})}}},vl.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,fr(a.doc,te.line-1).length)),ue.ch==fr(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 De,qe,mt;te.line==b.viewFrom||(De=hc(a,te.line))==0?(qe=ln(b.view[0].line),mt=b.view[0].node):(qe=ln(b.view[De].line),mt=b.view[De-1].node.nextSibling);var Et=hc(a,ue.line),Dt,Ln;if(Et==b.view.length-1?(Dt=b.viewTo-1,Ln=b.lineDiv.lastChild):(Dt=ln(b.view[Et+1].line)-1,Ln=b.view[Et+1].node.previousSibling),!mt)return!1;for(var Qn=a.doc.splitLines(kd(a,mt,Ln,qe,Dt)),Tr=Lr(a.doc,zt(qe,0),zt(Dt,fr(a.doc,Dt).text.length));Qn.length>1&&Tr.length>1;)if(_t(Qn)==_t(Tr))Qn.pop(),Tr.pop(),Dt--;else if(Qn[0]==Tr[0])Qn.shift(),Tr.shift(),qe++;else break;for(var Er=0,Ci=0,Wi=Qn[0],uo=Tr[0],Io=Math.min(Wi.length,uo.length);Er<Io&&Wi.charCodeAt(Er)==uo.charCodeAt(Er);)++Er;for(var zo=_t(Qn),Lo=_t(Tr),Aa=Math.min(zo.length-(Qn.length==1?Er:0),Lo.length-(Tr.length==1?Er:0));Ci<Aa&&zo.charCodeAt(zo.length-Ci-1)==Lo.charCodeAt(Lo.length-Ci-1);)++Ci;if(Qn.length==1&&Tr.length==1&&qe==te.line)for(;Er&&Er>te.ch&&zo.charCodeAt(zo.length-Ci-1)==Lo.charCodeAt(Lo.length-Ci-1);)Er--,Ci++;Qn[Qn.length-1]=zo.slice(0,zo.length-Ci).replace(/^\u200b+/,""),Qn[0]=Qn[0].slice(Er).replace(/\u200b+$/,"");var _a=zt(qe,Er),Ba=zt(Dt,Tr.length?_t(Tr).length-Ci:0);if(Qn.length>1||Qn[0]||hn(_a,Ba))return gs(a.doc,Qn,_a,Ba,"+input"),!0},vl.prototype.ensurePolled=function(){this.forceCompositionEnd()},vl.prototype.reset=function(){this.forceCompositionEnd()},vl.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},vl.prototype.readFromDOMSoon=function(){var a=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(a.readDOMTimeout=null,a.composing)if(a.composing.done)a.composing=null;else return;a.updateFromDOM()},80))},vl.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&iA(this.cm,function(){return Du(a.cm)})},vl.prototype.setUneditable=function(a){a.contentEditable="false"},vl.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||Nu(this.cm,ah)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},vl.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},vl.prototype.onContextMenu=function(){},vl.prototype.resetPosition=function(){},vl.prototype.needsContentAttribute=!0;function Td(a,b){var ne=xu(a,b.line);if(!ne||ne.hidden)return null;var te=fr(a.doc,b.line),ue=pl(ne,te,b.line),De=Ct(te,a.doc.direction),qe="left";if(De){var mt=Lt(De,b.ch);qe=mt%2?"right":"left"}var Et=Mu(ue.map,b.ch,qe);return Et.offset=Et.collapse=="right"?Et.end:Et.start,Et}function wg(a){for(var b=a;b;b=b.parentNode)if(/CodeMirror-gutter-wrapper/.test(b.className))return!0;return!1}function Ul(a,b){return b&&(a.bad=!0),a}function kd(a,b,ne,te,ue){var De="",qe=!1,mt=a.doc.lineSeparator(),Et=!1;function Dt(Er){return function(Ci){return Ci.id==Er}}function Ln(){qe&&(De+=mt,Et&&(De+=mt),qe=Et=!1)}function Qn(Er){Er&&(Ln(),De+=Er)}function Tr(Er){if(Er.nodeType==1){var Ci=Er.getAttribute("cm-text");if(Ci){Qn(Ci);return}var Wi=Er.getAttribute("cm-marker"),uo;if(Wi){var Io=a.findMarks(zt(te,0),zt(ue+1,0),Dt(+Wi));Io.length&&(uo=Io[0].find(0))&&Qn(Lr(a.doc,uo.from,uo.to).join(mt));return}if(Er.getAttribute("contenteditable")=="false")return;var zo=/^(pre|div|p|li|table|br)$/i.test(Er.nodeName);if(!/^br$/i.test(Er.nodeName)&&Er.textContent.length==0)return;zo&&Ln();for(var Lo=0;Lo<Er.childNodes.length;Lo++)Tr(Er.childNodes[Lo]);/^(pre|p)$/i.test(Er.nodeName)&&(Et=!0),zo&&(qe=!0)}else Er.nodeType==3&&Qn(Er.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Tr(b),b!=ne;)b=b.nextSibling,Et=!1;return De}function Yc(a,b,ne){var te;if(b==a.display.lineDiv){if(te=a.display.lineDiv.childNodes[ne],!te)return Ul(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 De=a.display.view[ue];if(De.node==te)return pd(De,b,ne)}}function pd(a,b,ne){var te=a.text.firstChild,ue=!1;if(!b||!ht(te,b))return Ul(zt(ln(a.line),0),!0);if(b==te&&(ue=!0,b=te.childNodes[ne],ne=0,!b)){var De=a.rest?_t(a.rest):a.line;return Ul(zt(ln(De),De.text.length),ue)}var qe=b.nodeType==3?b:null,mt=b;for(!qe&&b.childNodes.length==1&&b.firstChild.nodeType==3&&(qe=b.firstChild,ne&&(ne=qe.nodeValue.length));mt.parentNode!=te;)mt=mt.parentNode;var Et=a.measure,Dt=Et.maps;function Ln(uo,Io,zo){for(var Lo=-1;Lo<(Dt?Dt.length:0);Lo++)for(var Aa=Lo<0?Et.map:Dt[Lo],_a=0;_a<Aa.length;_a+=3){var Ba=Aa[_a+2];if(Ba==uo||Ba==Io){var Ra=ln(Lo<0?a.line:a.rest[Lo]),Sl=Aa[_a]+zo;return(zo<0||Ba!=uo)&&(Sl=Aa[_a+(zo?1:0)]),zt(Ra,Sl)}}}var Qn=Ln(qe,mt,ne);if(Qn)return Ul(Qn,ue);for(var Tr=mt.nextSibling,Er=qe?qe.nodeValue.length-ne:0;Tr;Tr=Tr.nextSibling){if(Qn=Ln(Tr,Tr.firstChild,0),Qn)return Ul(zt(Qn.line,Qn.ch-Er),ue);Er+=Tr.textContent.length}for(var Ci=mt.previousSibling,Wi=ne;Ci;Ci=Ci.previousSibling){if(Qn=Ln(Ci,Ci.firstChild,-1),Qn)return Ul(zt(Qn.line,Qn.ch+Wi),ue);Wi+=Ci.textContent.length}}var El=function(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new Te,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),Ie&&(ue.style.width="0px"),$t(ue,"input",function(){He&&Se>=9&&b.hasSelection&&(b.hasSelection=null),ne.poll()}),$t(ue,"paste",function(qe){en(te,qe)||Nf(qe,te)||(te.state.pasteIncoming=+new Date,ne.fastPoll())});function De(qe){if(!en(te,qe)){if(te.somethingSelected())oh({lineWise:!1,text:te.getSelections()});else if(te.options.lineWiseCopyCut){var mt=fp(te);oh({lineWise:!0,text:mt.text}),qe.type=="cut"?te.setSelections(mt.ranges,null,rt):(ne.prevInput="",ue.value=mt.text.join(`
`),ot(ue))}else return;qe.type=="cut"&&(te.state.cutIncoming=+new Date)}}$t(ue,"cut",De),$t(ue,"copy",De),$t(a.scroller,"paste",function(qe){if(!(uu(a,qe)||en(te,qe))){if(!ue.dispatchEvent){te.state.pasteIncoming=+new Date,ne.focus();return}var mt=new Event("paste");mt.clipboardData=qe.clipboardData,ue.dispatchEvent(mt)}}),$t(a.lineSpace,"selectstart",function(qe){uu(a,qe)||sn(qe)}),$t(ue,"compositionstart",function(){var qe=te.getCursor("from");ne.composing&&ne.composing.range.clear(),ne.composing={start:qe,range:te.markText(qe,te.getCursor("to"),{className:"CodeMirror-composing"})}}),$t(ue,"compositionend",function(){ne.composing&&(ne.poll(),ne.composing.range.clear(),ne.composing=null)})},El.prototype.createField=function(a){this.wrapper=yg(),this.textarea=this.wrapper.firstChild},El.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},El.prototype.prepareSelection=function(){var a=this.cm,b=a.display,ne=a.doc,te=pc(a);if(a.options.moveInputWithCursor){var ue=Uu(a,ne.sel.primary().head,"div"),De=b.wrapper.getBoundingClientRect(),qe=b.lineDiv.getBoundingClientRect();te.teTop=Math.max(0,Math.min(b.wrapper.clientHeight-10,ue.top+qe.top-De.top)),te.teLeft=Math.max(0,Math.min(b.wrapper.clientWidth-10,ue.left+qe.left-De.left))}return te},El.prototype.showSelection=function(a){var b=this.cm,ne=b.display;it(ne.cursorDiv,a.cursors),it(ne.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},El.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var b=this.cm;if(b.somethingSelected()){this.prevInput="";var ne=b.getSelection();this.textarea.value=ne,b.state.focused&&ot(this.textarea),He&&Se>=9&&(this.hasSelection=ne)}else a||(this.prevInput=this.textarea.value="",He&&Se>=9&&(this.hasSelection=null))}},El.prototype.getField=function(){return this.textarea},El.prototype.supportsTouch=function(){return!1},El.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!we||Ne()!=this.textarea))try{this.textarea.focus()}catch(a){}},El.prototype.blur=function(){this.textarea.blur()},El.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},El.prototype.receivedFocus=function(){this.slowPoll()},El.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},El.prototype.fastPoll=function(){var a=!1,b=this;b.pollingFast=!0;function ne(){var te=b.poll();!te&&!a?(a=!0,b.polling.set(60,ne)):(b.pollingFast=!1,b.slowPoll())}b.polling.set(20,ne)},El.prototype.poll=function(){var a=this,b=this.cm,ne=this.textarea,te=this.prevInput;if(this.contextMenuPending||!b.state.focused||er(ne)&&!te&&!this.composing||b.isReadOnly()||b.options.disableInput||b.state.keySeq)return!1;var ue=ne.value;if(ue==te&&!b.somethingSelected())return!1;if(He&&Se>=9&&this.hasSelection===ue||xe&&/[\uf700-\uf7ff]/.test(ue))return b.display.input.reset(),!1;if(b.doc.sel==b.display.selForContextMenu){var De=ue.charCodeAt(0);if(De==8203&&!te&&(te="\u200B"),De==8666)return this.reset(),this.cm.execCommand("undo")}for(var qe=0,mt=Math.min(te.length,ue.length);qe<mt&&te.charCodeAt(qe)==ue.charCodeAt(qe);)++qe;return iA(b,function(){ah(b,ue.slice(qe),te.length-qe,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&&Se>=9&&(this.hasSelection=null),this.fastPoll()},El.prototype.onContextMenu=function(a){var b=this,ne=b.cm,te=ne.display,ue=b.textarea;b.contextMenuPending&&b.contextMenuPending();var De=Pc(ne,a),qe=te.scroller.scrollTop;if(!De||oe)return;var mt=ne.options.resetSelectionOnContextMenu;mt&&ne.doc.sel.contains(De)==-1&&Nu(ne,Oo)(ne.doc,bi(De),rt);var Et=ue.style.cssText,Dt=b.wrapper.style.cssText,Ln=b.wrapper.offsetParent.getBoundingClientRect();b.wrapper.style.cssText="position: static",ue.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(a.clientY-Ln.top-5)+"px; left: "+(a.clientX-Ln.left-5)+`px;
z-index: 1000; background: `+(He?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Qn;Ue&&(Qn=window.scrollY),te.input.focus(),Ue&&window.scrollTo(null,Qn),te.input.reset(),ne.somethingSelected()||(ue.value=b.prevInput=" "),b.contextMenuPending=Er,te.selForContextMenu=ne.doc.sel,clearTimeout(te.detectingSelectAll);function Tr(){if(ue.selectionStart!=null){var Wi=ne.somethingSelected(),uo="\u200B"+(Wi?ue.value:"");ue.value="\u21DA",ue.value=uo,b.prevInput=Wi?"":"\u200B",ue.selectionStart=1,ue.selectionEnd=uo.length,te.selForContextMenu=ne.doc.sel}}function Er(){if(b.contextMenuPending==Er&&(b.contextMenuPending=!1,b.wrapper.style.cssText=Dt,ue.style.cssText=Et,He&&Se<9&&te.scrollbars.setScrollTop(te.scroller.scrollTop=qe),ue.selectionStart!=null)){(!He||He&&Se<9)&&Tr();var Wi=0,uo=function(){te.selForContextMenu==ne.doc.sel&&ue.selectionStart==0&&ue.selectionEnd>0&&b.prevInput=="\u200B"?Nu(ne,qo)(ne):Wi++<10?te.detectingSelectAll=setTimeout(uo,500):(te.selForContextMenu=null,te.input.reset())};te.detectingSelectAll=setTimeout(uo,200)}}if(He&&Se>=9&&Tr(),Re){It(a);var Ci=function(){bn(window,"mouseup",Ci),setTimeout(Er,20)};$t(window,"mouseup",Ci)}else setTimeout(Er,50)},El.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},El.prototype.setUneditable=function(){},El.prototype.needsContentAttribute=!1;function uh(a,b){if(b=b?Ft(b):{},b.value=a.value,!b.tabindex&&a.tabIndex&&(b.tabindex=a.tabIndex),!b.placeholder&&a.placeholder&&(b.placeholder=a.placeholder),b.autofocus==null){var ne=Ne();b.autofocus=ne==a||a.getAttribute("autofocus")!=null&&ne==document.body}function te(){a.value=mt.getValue()}var ue;if(a.form&&($t(a.form,"submit",te),!b.leaveSubmitMethodAlone)){var De=a.form;ue=De.submit;try{var qe=De.submit=function(){te(),De.submit=ue,De.submit(),De.submit=qe}}catch(Et){}}b.finishInit=function(Et){Et.save=te,Et.getTextArea=function(){return a},Et.toTextArea=function(){Et.toTextArea=isNaN,te(),a.parentNode.removeChild(Et.getWrapperElement()),a.style.display="",a.form&&(bn(a.form,"submit",te),!b.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=ue))}},a.style.display="none";var mt=Ml(function(Et){return a.parentNode.insertBefore(Et,a.nextSibling)},b);return mt}function gd(a){a.off=bn,a.on=$t,a.wheelEventPixels=jr,a.Doc=Al,a.splitLines=Ir,a.countColumn=Ze,a.findColumn=pn,a.isWordChar=ee,a.Pass=Kt,a.signal=an,a.Line=ta,a.changeEnd=qi,a.scrollbarModel=Ld,a.Pos=zt,a.cmpPos=hn,a.modes=sr,a.mimeModes=jn,a.resolveMode=Xr,a.getMode=Yr,a.modeExtensions=pi,a.extendMode=ci,a.copyState=Hi,a.startState=no,a.innerMode=mi,a.commands=Gc,a.keyMap=Eu,a.keyName=$c,a.isModifierKey=Sf,a.lookupKey=Zc,a.normalizeKeyMap=Qu,a.StringStream=Ki,a.SharedTextMarker=ul,a.TextMarker=_u,a.LineWidget=Ss,a.e_preventDefault=sn,a.e_stopPropagation=Dn,a.e_stop=It,a.addClass=We,a.contains=ht,a.rmClass=Ge,a.keyNames=cs}mg(Ml),pp(Ml);var eg="iter insert remove copy getEditor constructor".split(" ");for(var kh in Al.prototype)Al.prototype.hasOwnProperty(kh)&&At(eg,kh)<0&&(Ml.prototype[kh]=function(a){return function(){return a.apply(this.doc,arguments)}}(Al.prototype[kh]));return Mt(Al),Ml.inputStyles={textarea:El,contenteditable:vl},Ml.defineMode=function(a){!Ml.defaults.mode&&a!="null"&&(Ml.defaults.mode=a),ur.apply(this,arguments)},Ml.defineMIME=br,Ml.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),Ml.defineMIME("text/plain","null"),Ml.defineExtension=function(a,b){Ml.prototype[a]=b},Ml.defineDocExtension=function(a,b){Al.prototype[a]=b},Ml.fromTextArea=uh,gd(Ml),Ml.version="5.58.2",Ml})},25419:function(Vn,Tt,ae){(function(x){x(ae(89780),ae(15525),ae(98101))})(function(x){"use strict";x.defineMode("markdown",function(ct,Le){var Je=x.getMode(ct,"text/html"),He=Je.name=="null";function Se(Ze){if(x.findModeByName){var Te=x.findModeByName(Ze);Te&&(Ze=Te.mime||Te.mimes[0])}var At=x.getMode(ct,Ze);return At.name=="null"?null:At}Le.highlightFormatting===void 0&&(Le.highlightFormatting=!1),Le.maxBlockquoteDepth===void 0&&(Le.maxBlockquoteDepth=0),Le.taskLists===void 0&&(Le.taskLists=!1),Le.strikethrough===void 0&&(Le.strikethrough=!1),Le.emoji===void 0&&(Le.emoji=!1),Le.fencedCodeBlockHighlighting===void 0&&(Le.fencedCodeBlockHighlighting=!0),Le.fencedCodeBlockDefaultMode===void 0&&(Le.fencedCodeBlockDefaultMode="text/plain"),Le.xml===void 0&&(Le.xml=!0),Le.tokenTypeOverrides===void 0&&(Le.tokenTypeOverrides={});var Ue={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var fe in Ue)Ue.hasOwnProperty(fe)&&Le.tokenTypeOverrides[fe]&&(Ue[fe]=Le.tokenTypeOverrides[fe]);var Ce=/^([*\-_])(?:\s*\1){2,}\s*$/,oe=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Oe=/^\[(x| )\](?=\s)/i,ve=Le.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Me=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Ie=/^[^#!\[\]*_\\<>` "'(~:]+/,_e=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,we=/^\s*\[[^\]]+?\]:.*$/,xe=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,Ee=" ";function ke(Ze,Te,At){return Te.f=Te.inline=At,At(Ze,Te)}function ze(Ze,Te,At){return Te.f=Te.block=At,At(Ze,Te)}function Qe(Ze){return!Ze||!/\S/.test(Ze.string)}function Re(Ze){if(Ze.linkTitle=!1,Ze.linkHref=!1,Ze.linkText=!1,Ze.em=!1,Ze.strong=!1,Ze.strikethrough=!1,Ze.quote=0,Ze.indentedCode=!1,Ze.f==Ge){var Te=He;if(!Te){var At=x.innerMode(Je,Ze.htmlState);Te=At.mode.name=="xml"&&At.state.tagStart===null&&!At.state.context&&At.state.tokenize.isInText}Te&&(Ze.f=bt,Ze.block=et,Ze.htmlState=null)}return Ze.trailingSpace=0,Ze.trailingSpaceNewLine=!1,Ze.prevLine=Ze.thisLine,Ze.thisLine={stream:null},null}function et(Ze,Te){var At=Ze.column()===Te.indentation,Zt=Qe(Te.prevLine.stream),Kt=Te.indentedCode,rt=Te.prevLine.hr,Nt=Te.list!==!1,Qt=(Te.listStack[Te.listStack.length-1]||0)+3;Te.indentedCode=!1;var pn=Te.indentation;if(Te.indentationDiff===null&&(Te.indentationDiff=Te.indentation,Nt)){for(Te.list=null;pn<Te.listStack[Te.listStack.length-1];)Te.listStack.pop(),Te.listStack.length?Te.indentation=Te.listStack[Te.listStack.length-1]:Te.list=!1;Te.list!==!1&&(Te.indentationDiff=pn-Te.listStack[Te.listStack.length-1])}var Ot=!Zt&&!rt&&!Te.prevLine.header&&(!Nt||!Kt)&&!Te.prevLine.fencedCodeEnd,vn=(Te.list===!1||rt||Zt)&&Te.indentation<=Qt&&Ze.match(Ce),_t=null;if(Te.indentationDiff>=4&&(Kt||Te.prevLine.fencedCodeEnd||Te.prevLine.header||Zt))return Ze.skipToEnd(),Te.indentedCode=!0,Ue.code;if(Ze.eatSpace())return null;if(At&&Te.indentation<=Qt&&(_t=Ze.match(ve))&&_t[1].length<=6)return Te.quote=0,Te.header=_t[1].length,Te.thisLine.header=!0,Le.highlightFormatting&&(Te.formatting="header"),Te.f=Te.inline,it(Te);if(Te.indentation<=Qt&&Ze.eat(">"))return Te.quote=At?1:Te.quote+1,Le.highlightFormatting&&(Te.formatting="quote"),Ze.eatSpace(),it(Te);if(!vn&&!Te.setext&&At&&Te.indentation<=Qt&&(_t=Ze.match(oe))){var Fn=_t[1]?"ol":"ul";return Te.indentation=pn+Ze.current().length,Te.list=!0,Te.quote=0,Te.listStack.push(Te.indentation),Te.em=!1,Te.strong=!1,Te.code=!1,Te.strikethrough=!1,Le.taskLists&&Ze.match(Oe,!1)&&(Te.taskList=!0),Te.f=Te.inline,Le.highlightFormatting&&(Te.formatting=["list","list-"+Fn]),it(Te)}else{if(At&&Te.indentation<=Qt&&(_t=Ze.match(_e,!0)))return Te.quote=0,Te.fencedEndRE=new RegExp(_t[1]+"+ *$"),Te.localMode=Le.fencedCodeBlockHighlighting&&Se(_t[2]||Le.fencedCodeBlockDefaultMode),Te.localMode&&(Te.localState=x.startState(Te.localMode)),Te.f=Te.block=lt,Le.highlightFormatting&&(Te.formatting="code-block"),Te.code=-1,it(Te);if(Te.setext||(!Ot||!Nt)&&!Te.quote&&Te.list===!1&&!Te.code&&!vn&&!we.test(Ze.string)&&(_t=Ze.lookAhead(1))&&(_t=_t.match(Me)))return Te.setext?(Te.header=Te.setext,Te.setext=0,Ze.skipToEnd(),Le.highlightFormatting&&(Te.formatting="header")):(Te.header=_t[0].charAt(0)=="="?1:2,Te.setext=Te.header),Te.thisLine.header=!0,Te.f=Te.inline,it(Te);if(vn)return Ze.skipToEnd(),Te.hr=!0,Te.thisLine.hr=!0,Ue.hr;if(Ze.peek()==="[")return ke(Ze,Te,Ut)}return ke(Ze,Te,Te.inline)}function Ge(Ze,Te){var At=Je.token(Ze,Te.htmlState);if(!He){var Zt=x.innerMode(Je,Te.htmlState);(Zt.mode.name=="xml"&&Zt.state.tagStart===null&&!Zt.state.context&&Zt.state.tokenize.isInText||Te.md_inside&&Ze.current().indexOf(">")>-1)&&(Te.f=bt,Te.block=et,Te.htmlState=null)}return At}function lt(Ze,Te){var At=Te.listStack[Te.listStack.length-1]||0,Zt=Te.indentation<At,Kt=At+3;if(Te.fencedEndRE&&Te.indentation<=Kt&&(Zt||Ze.match(Te.fencedEndRE))){Le.highlightFormatting&&(Te.formatting="code-block");var rt;return Zt||(rt=it(Te)),Te.localMode=Te.localState=null,Te.block=et,Te.f=bt,Te.fencedEndRE=null,Te.code=0,Te.thisLine.fencedCodeEnd=!0,Zt?ze(Ze,Te,Te.block):rt}else return Te.localMode?Te.localMode.token(Ze,Te.localState):(Ze.skipToEnd(),Ue.code)}function it(Ze){var Te=[];if(Ze.formatting){Te.push(Ue.formatting),typeof Ze.formatting=="string"&&(Ze.formatting=[Ze.formatting]);for(var At=0;At<Ze.formatting.length;At++)Te.push(Ue.formatting+"-"+Ze.formatting[At]),Ze.formatting[At]==="header"&&Te.push(Ue.formatting+"-"+Ze.formatting[At]+"-"+Ze.header),Ze.formatting[At]==="quote"&&(!Le.maxBlockquoteDepth||Le.maxBlockquoteDepth>=Ze.quote?Te.push(Ue.formatting+"-"+Ze.formatting[At]+"-"+Ze.quote):Te.push("error"))}if(Ze.taskOpen)return Te.push("meta"),Te.length?Te.join(" "):null;if(Ze.taskClosed)return Te.push("property"),Te.length?Te.join(" "):null;if(Ze.linkHref?Te.push(Ue.linkHref,"url"):(Ze.strong&&Te.push(Ue.strong),Ze.em&&Te.push(Ue.em),Ze.strikethrough&&Te.push(Ue.strikethrough),Ze.emoji&&Te.push(Ue.emoji),Ze.linkText&&Te.push(Ue.linkText),Ze.code&&Te.push(Ue.code),Ze.image&&Te.push(Ue.image),Ze.imageAltText&&Te.push(Ue.imageAltText,"link"),Ze.imageMarker&&Te.push(Ue.imageMarker)),Ze.header&&Te.push(Ue.header,Ue.header+"-"+Ze.header),Ze.quote&&(Te.push(Ue.quote),!Le.maxBlockquoteDepth||Le.maxBlockquoteDepth>=Ze.quote?Te.push(Ue.quote+"-"+Ze.quote):Te.push(Ue.quote+"-"+Le.maxBlockquoteDepth)),Ze.list!==!1){var Zt=(Ze.listStack.length-1)%3;Zt?Zt===1?Te.push(Ue.list2):Te.push(Ue.list3):Te.push(Ue.list1)}return Ze.trailingSpaceNewLine?Te.push("trailing-space-new-line"):Ze.trailingSpace&&Te.push("trailing-space-"+(Ze.trailingSpace%2?"a":"b")),Te.length?Te.join(" "):null}function ft(Ze,Te){if(Ze.match(Ie,!0))return it(Te)}function bt(Ze,Te){var At=Te.text(Ze,Te);if(typeof At!="undefined")return At;if(Te.list)return Te.list=null,it(Te);if(Te.taskList){var Zt=Ze.match(Oe,!0)[1]===" ";return Zt?Te.taskOpen=!0:Te.taskClosed=!0,Le.highlightFormatting&&(Te.formatting="task"),Te.taskList=!1,it(Te)}if(Te.taskOpen=!1,Te.taskClosed=!1,Te.header&&Ze.match(/^#+$/,!0))return Le.highlightFormatting&&(Te.formatting="header"),it(Te);var Kt=Ze.next();if(Te.linkTitle){Te.linkTitle=!1;var rt=Kt;Kt==="("&&(rt=")"),rt=(rt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Nt="^\\s*(?:[^"+rt+"\\\\]+|\\\\\\\\|\\\\.)"+rt;if(Ze.match(new RegExp(Nt),!0))return Ue.linkHref}if(Kt==="`"){var Qt=Te.formatting;Le.highlightFormatting&&(Te.formatting="code"),Ze.eatWhile("`");var pn=Ze.current().length;if(Te.code==0&&(!Te.quote||pn==1))return Te.code=pn,it(Te);if(pn==Te.code){var Ot=it(Te);return Te.code=0,Ot}else return Te.formatting=Qt,it(Te)}else if(Te.code)return it(Te);if(Kt==="\\"&&(Ze.next(),Le.highlightFormatting)){var vn=it(Te),_t=Ue.formatting+"-escape";return vn?vn+" "+_t:_t}if(Kt==="!"&&Ze.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Te.imageMarker=!0,Te.image=!0,Le.highlightFormatting&&(Te.formatting="image"),it(Te);if(Kt==="["&&Te.imageMarker&&Ze.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Te.imageMarker=!1,Te.imageAltText=!0,Le.highlightFormatting&&(Te.formatting="image"),it(Te);if(Kt==="]"&&Te.imageAltText){Le.highlightFormatting&&(Te.formatting="image");var vn=it(Te);return Te.imageAltText=!1,Te.image=!1,Te.inline=Te.f=ht,vn}if(Kt==="["&&!Te.image)return Te.linkText&&Ze.match(/^.*?\]/)||(Te.linkText=!0,Le.highlightFormatting&&(Te.formatting="link")),it(Te);if(Kt==="]"&&Te.linkText){Le.highlightFormatting&&(Te.formatting="link");var vn=it(Te);return Te.linkText=!1,Te.inline=Te.f=Ze.match(/\(.*?\)| ?\[.*?\]/,!1)?ht:bt,vn}if(Kt==="<"&&Ze.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Te.f=Te.inline=je,Le.highlightFormatting&&(Te.formatting="link");var vn=it(Te);return vn?vn+=" ":vn="",vn+Ue.linkInline}if(Kt==="<"&&Ze.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Te.f=Te.inline=je,Le.highlightFormatting&&(Te.formatting="link");var vn=it(Te);return vn?vn+=" ":vn="",vn+Ue.linkEmail}if(Le.xml&&Kt==="<"&&Ze.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Fn=Ze.string.indexOf(">",Ze.pos);if(Fn!=-1){var on=Ze.string.substring(Ze.start,Fn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(on)&&(Te.md_inside=!0)}return Ze.backUp(1),Te.htmlState=x.startState(Je),ze(Ze,Te,Ge)}if(Le.xml&&Kt==="<"&&Ze.match(/^\/\w*?>/))return Te.md_inside=!1,"tag";if(Kt==="*"||Kt==="_"){for(var de=1,ge=Ze.pos==1?" ":Ze.string.charAt(Ze.pos-2);de<3&&Ze.eat(Kt);)de++;var ie=Ze.peek()||" ",ee=!/\s/.test(ie)&&(!xe.test(ie)||/\s/.test(ge)||xe.test(ge)),le=!/\s/.test(ge)&&(!xe.test(ge)||/\s/.test(ie)||xe.test(ie)),se=null,Be=null;if(de%2&&(!Te.em&&ee&&(Kt==="*"||!le||xe.test(ge))?se=!0:Te.em==Kt&&le&&(Kt==="*"||!ee||xe.test(ie))&&(se=!1)),de>1&&(!Te.strong&&ee&&(Kt==="*"||!le||xe.test(ge))?Be=!0:Te.strong==Kt&&le&&(Kt==="*"||!ee||xe.test(ie))&&(Be=!1)),Be!=null||se!=null){Le.highlightFormatting&&(Te.formatting=se==null?"strong":Be==null?"em":"strong em"),se===!0&&(Te.em=Kt),Be===!0&&(Te.strong=Kt);var Ot=it(Te);return se===!1&&(Te.em=!1),Be===!1&&(Te.strong=!1),Ot}}else if(Kt===" "&&(Ze.eat("*")||Ze.eat("_"))){if(Ze.peek()===" ")return it(Te);Ze.backUp(1)}if(Le.strikethrough){if(Kt==="~"&&Ze.eatWhile(Kt)){if(Te.strikethrough){Le.highlightFormatting&&(Te.formatting="strikethrough");var Ot=it(Te);return Te.strikethrough=!1,Ot}else if(Ze.match(/^[^\s]/,!1))return Te.strikethrough=!0,Le.highlightFormatting&&(Te.formatting="strikethrough"),it(Te)}else if(Kt===" "&&Ze.match(/^~~/,!0)){if(Ze.peek()===" ")return it(Te);Ze.backUp(2)}}if(Le.emoji&&Kt===":"&&Ze.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Te.emoji=!0,Le.highlightFormatting&&(Te.formatting="emoji");var $e=it(Te);return Te.emoji=!1,$e}return Kt===" "&&(Ze.match(/^ +$/,!1)?Te.trailingSpace++:Te.trailingSpace&&(Te.trailingSpaceNewLine=!0)),it(Te)}function je(Ze,Te){var At=Ze.next();if(At===">"){Te.f=Te.inline=bt,Le.highlightFormatting&&(Te.formatting="link");var Zt=it(Te);return Zt?Zt+=" ":Zt="",Zt+Ue.linkInline}return Ze.match(/^[^>]+/,!0),Ue.linkInline}function ht(Ze,Te){if(Ze.eatSpace())return null;var At=Ze.next();return At==="("||At==="["?(Te.f=Te.inline=We(At==="("?")":"]"),Le.highlightFormatting&&(Te.formatting="link-string"),Te.linkHref=!0,it(Te)):"error"}var Ne={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function We(Ze){return function(Te,At){var Zt=Te.next();if(Zt===Ze){At.f=At.inline=bt,Le.highlightFormatting&&(At.formatting="link-string");var Kt=it(At);return At.linkHref=!1,Kt}return Te.match(Ne[Ze]),At.linkHref=!0,it(At)}}function Ut(Ze,Te){return Ze.match(/^([^\]\\]|\\.)*\]:/,!1)?(Te.f=ot,Ze.next(),Le.highlightFormatting&&(Te.formatting="link"),Te.linkText=!0,it(Te)):ke(Ze,Te,bt)}function ot(Ze,Te){if(Ze.match(/^\]:/,!0)){Te.f=Te.inline=yt,Le.highlightFormatting&&(Te.formatting="link");var At=it(Te);return Te.linkText=!1,At}return Ze.match(/^([^\]\\]|\\.)+/,!0),Ue.linkText}function yt(Ze,Te){return Ze.eatSpace()?null:(Ze.match(/^[^\s]+/,!0),Ze.peek()===void 0?Te.linkTitle=!0:Ze.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Te.f=Te.inline=bt,Ue.linkHref+" url")}var Ft={startState:function(){return{f:et,prevLine:{stream:null},thisLine:{stream:null},block:et,htmlState:null,indentation:0,inline:bt,text:ft,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(Ze){return{f:Ze.f,prevLine:Ze.prevLine,thisLine:Ze.thisLine,block:Ze.block,htmlState:Ze.htmlState&&x.copyState(Je,Ze.htmlState),indentation:Ze.indentation,localMode:Ze.localMode,localState:Ze.localMode?x.copyState(Ze.localMode,Ze.localState):null,inline:Ze.inline,text:Ze.text,formatting:!1,linkText:Ze.linkText,linkTitle:Ze.linkTitle,linkHref:Ze.linkHref,code:Ze.code,em:Ze.em,strong:Ze.strong,strikethrough:Ze.strikethrough,emoji:Ze.emoji,header:Ze.header,setext:Ze.setext,hr:Ze.hr,taskList:Ze.taskList,list:Ze.list,listStack:Ze.listStack.slice(0),quote:Ze.quote,indentedCode:Ze.indentedCode,trailingSpace:Ze.trailingSpace,trailingSpaceNewLine:Ze.trailingSpaceNewLine,md_inside:Ze.md_inside,fencedEndRE:Ze.fencedEndRE}},token:function(Ze,Te){if(Te.formatting=!1,Ze!=Te.thisLine.stream){if(Te.header=0,Te.hr=!1,Ze.match(/^\s*$/,!0))return Re(Te),null;if(Te.prevLine=Te.thisLine,Te.thisLine={stream:Ze},Te.taskList=!1,Te.trailingSpace=0,Te.trailingSpaceNewLine=!1,!Te.localState&&(Te.f=Te.block,Te.f!=Ge)){var At=Ze.match(/^\s*/,!0)[0].replace(/\t/g,Ee).length;if(Te.indentation=At,Te.indentationDiff=null,At>0)return null}}return Te.f(Ze,Te)},innerMode:function(Ze){return Ze.block==Ge?{state:Ze.htmlState,mode:Je}:Ze.localState?{state:Ze.localState,mode:Ze.localMode}:{state:Ze,mode:Ft}},indent:function(Ze,Te,At){return Ze.block==Ge&&Je.indent?Je.indent(Ze.htmlState,Te,At):Ze.localState&&Ze.localMode.indent?Ze.localMode.indent(Ze.localState,Te,At):x.Pass},blankLine:Re,getType:it,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Ft},"xml"),x.defineMIME("text/markdown","markdown"),x.defineMIME("text/x-markdown","markdown")})},98101:function(Vn,Tt,ae){(function(x){x(ae(89780))})(function(x){"use strict";x.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var ct=0;ct<x.modeInfo.length;ct++){var Le=x.modeInfo[ct];Le.mimes&&(Le.mime=Le.mimes[0])}x.findModeByMIME=function(Je){Je=Je.toLowerCase();for(var He=0;He<x.modeInfo.length;He++){var Se=x.modeInfo[He];if(Se.mime==Je)return Se;if(Se.mimes){for(var Ue=0;Ue<Se.mimes.length;Ue++)if(Se.mimes[Ue]==Je)return Se}}if(/\+xml$/.test(Je))return x.findModeByMIME("application/xml");if(/\+json$/.test(Je))return x.findModeByMIME("application/json")},x.findModeByExtension=function(Je){Je=Je.toLowerCase();for(var He=0;He<x.modeInfo.length;He++){var Se=x.modeInfo[He];if(Se.ext){for(var Ue=0;Ue<Se.ext.length;Ue++)if(Se.ext[Ue]==Je)return Se}}},x.findModeByFileName=function(Je){for(var He=0;He<x.modeInfo.length;He++){var Se=x.modeInfo[He];if(Se.file&&Se.file.test(Je))return Se}var Ue=Je.lastIndexOf("."),fe=Ue>-1&&Je.substring(Ue+1,Je.length);if(fe)return x.findModeByExtension(fe)},x.findModeByName=function(Je){Je=Je.toLowerCase();for(var He=0;He<x.modeInfo.length;He++){var Se=x.modeInfo[He];if(Se.name.toLowerCase()==Je)return Se;if(Se.alias){for(var Ue=0;Ue<Se.alias.length;Ue++)if(Se.alias[Ue].toLowerCase()==Je)return Se}}}})},67549:function(Vn,Tt,ae){(function(x){x(ae(89780))})(function(x){"use strict";x.defineMode("stex",function(ct,Le){"use strict";function Je(Ie,_e){Ie.cmdState.push(_e)}function He(Ie){return Ie.cmdState.length>0?Ie.cmdState[Ie.cmdState.length-1]:null}function Se(Ie){var _e=Ie.cmdState.pop();_e&&_e.closeBracket()}function Ue(Ie){for(var _e=Ie.cmdState,we=_e.length-1;we>=0;we--){var xe=_e[we];if(xe.name!="DEFAULT")return xe}return{styleIdentifier:function(){return null}}}function fe(Ie,_e,we){return function(){this.name=Ie,this.bracketNo=0,this.style=_e,this.styles=we,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Ce={};Ce.importmodule=fe("importmodule","tag",["string","builtin"]),Ce.documentclass=fe("documentclass","tag",["","atom"]),Ce.usepackage=fe("usepackage","tag",["atom"]),Ce.begin=fe("begin","tag",["atom"]),Ce.end=fe("end","tag",["atom"]),Ce.label=fe("label","tag",["atom"]),Ce.ref=fe("ref","tag",["atom"]),Ce.eqref=fe("eqref","tag",["atom"]),Ce.cite=fe("cite","tag",["atom"]),Ce.bibitem=fe("bibitem","tag",["atom"]),Ce.Bibitem=fe("Bibitem","tag",["atom"]),Ce.RBibitem=fe("RBibitem","tag",["atom"]),Ce.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function oe(Ie,_e){Ie.f=_e}function Oe(Ie,_e){var we;if(Ie.match(/^\\[a-zA-Z@]+/)){var xe=Ie.current().slice(1);return we=Ce.hasOwnProperty(xe)?Ce[xe]:Ce.DEFAULT,we=new we,Je(_e,we),oe(_e,Me),we.style}if(Ie.match(/^\\[$&%#{}_]/)||Ie.match(/^\\[,;!\/\\]/))return"tag";if(Ie.match("\\["))return oe(_e,function(ke,ze){return ve(ke,ze,"\\]")}),"keyword";if(Ie.match("\\("))return oe(_e,function(ke,ze){return ve(ke,ze,"\\)")}),"keyword";if(Ie.match("$$"))return oe(_e,function(ke,ze){return ve(ke,ze,"$$")}),"keyword";if(Ie.match("$"))return oe(_e,function(ke,ze){return ve(ke,ze,"$")}),"keyword";var Ee=Ie.next();if(Ee=="%")return Ie.skipToEnd(),"comment";if(Ee=="}"||Ee=="]"){if(we=He(_e),we)we.closeBracket(Ee),oe(_e,Me);else return"error";return"bracket"}else return Ee=="{"||Ee=="["?(we=Ce.DEFAULT,we=new we,Je(_e,we),"bracket"):/\d/.test(Ee)?(Ie.eatWhile(/[\w.%]/),"atom"):(Ie.eatWhile(/[\w\-_]/),we=Ue(_e),we.name=="begin"&&(we.argument=Ie.current()),we.styleIdentifier())}function ve(Ie,_e,we){if(Ie.eatSpace())return null;if(we&&Ie.match(we))return oe(_e,Oe),"keyword";if(Ie.match(/^\\[a-zA-Z@]+/))return"tag";if(Ie.match(/^[a-zA-Z]+/))return"variable-2";if(Ie.match(/^\\[$&%#{}_]/)||Ie.match(/^\\[,;!\/]/)||Ie.match(/^[\^_&]/))return"tag";if(Ie.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Ie.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var xe=Ie.next();return xe=="{"||xe=="}"||xe=="["||xe=="]"||xe=="("||xe==")"?"bracket":xe=="%"?(Ie.skipToEnd(),"comment"):"error"}function Me(Ie,_e){var we=Ie.peek(),xe;return we=="{"||we=="["?(xe=He(_e),xe.openBracket(we),Ie.eat(we),oe(_e,Oe),"bracket"):/[ \t\r]/.test(we)?(Ie.eat(we),null):(oe(_e,Oe),Se(_e),Oe(Ie,_e))}return{startState:function(){var Ie=Le.inMathMode?function(_e,we){return ve(_e,we)}:Oe;return{cmdState:[],f:Ie}},copyState:function(Ie){return{cmdState:Ie.cmdState.slice(),f:Ie.f}},token:function(Ie,_e){return _e.f(Ie,_e)},blankLine:function(Ie){Ie.f=Oe,Ie.cmdState.length=0},lineComment:"%"}}),x.defineMIME("text/x-stex","stex"),x.defineMIME("text/x-latex","stex")})},15525:function(Vn,Tt,ae){(function(x){x(ae(89780))})(function(x){"use strict";var ct={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},Le={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};x.defineMode("xml",function(Je,He){var Se=Je.indentUnit,Ue={},fe=He.htmlMode?ct:Le;for(var Ce in fe)Ue[Ce]=fe[Ce];for(var Ce in He)Ue[Ce]=He[Ce];var oe,Oe;function ve(je,ht){function Ne(ot){return ht.tokenize=ot,ot(je,ht)}var We=je.next();if(We=="<")return je.eat("!")?je.eat("[")?je.match("CDATA[")?Ne(_e("atom","]]>")):null:je.match("--")?Ne(_e("comment","-->")):je.match("DOCTYPE",!0,!0)?(je.eatWhile(/[\w\._\-]/),Ne(we(1))):null:je.eat("?")?(je.eatWhile(/[\w\._\-]/),ht.tokenize=_e("meta","?>"),"meta"):(oe=je.eat("/")?"closeTag":"openTag",ht.tokenize=Me,"tag bracket");if(We=="&"){var Ut;return je.eat("#")?je.eat("x")?Ut=je.eatWhile(/[a-fA-F\d]/)&&je.eat(";"):Ut=je.eatWhile(/[\d]/)&&je.eat(";"):Ut=je.eatWhile(/[\w\.\-:]/)&&je.eat(";"),Ut?"atom":"error"}else return je.eatWhile(/[^&<]/),null}ve.isInText=!0;function Me(je,ht){var Ne=je.next();if(Ne==">"||Ne=="/"&&je.eat(">"))return ht.tokenize=ve,oe=Ne==">"?"endTag":"selfcloseTag","tag bracket";if(Ne=="=")return oe="equals",null;if(Ne=="<"){ht.tokenize=ve,ht.state=ze,ht.tagName=ht.tagStart=null;var We=ht.tokenize(je,ht);return We?We+" tag error":"tag error"}else return/[\'\"]/.test(Ne)?(ht.tokenize=Ie(Ne),ht.stringStartCol=je.column(),ht.tokenize(je,ht)):(je.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Ie(je){var ht=function(Ne,We){for(;!Ne.eol();)if(Ne.next()==je){We.tokenize=Me;break}return"string"};return ht.isInAttribute=!0,ht}function _e(je,ht){return function(Ne,We){for(;!Ne.eol();){if(Ne.match(ht)){We.tokenize=ve;break}Ne.next()}return je}}function we(je){return function(ht,Ne){for(var We;(We=ht.next())!=null;){if(We=="<")return Ne.tokenize=we(je+1),Ne.tokenize(ht,Ne);if(We==">")if(je==1){Ne.tokenize=ve;break}else return Ne.tokenize=we(je-1),Ne.tokenize(ht,Ne)}return"meta"}}function xe(je,ht,Ne){this.prev=je.context,this.tagName=ht,this.indent=je.indented,this.startOfLine=Ne,(Ue.doNotIndent.hasOwnProperty(ht)||je.context&&je.context.noIndent)&&(this.noIndent=!0)}function Ee(je){je.context&&(je.context=je.context.prev)}function ke(je,ht){for(var Ne;;){if(!je.context||(Ne=je.context.tagName,!Ue.contextGrabbers.hasOwnProperty(Ne)||!Ue.contextGrabbers[Ne].hasOwnProperty(ht)))return;Ee(je)}}function ze(je,ht,Ne){return je=="openTag"?(Ne.tagStart=ht.column(),Qe):je=="closeTag"?Re:ze}function Qe(je,ht,Ne){return je=="word"?(Ne.tagName=ht.current(),Oe="tag",lt):Ue.allowMissingTagName&&je=="endTag"?(Oe="tag bracket",lt(je,ht,Ne)):(Oe="error",Qe)}function Re(je,ht,Ne){if(je=="word"){var We=ht.current();return Ne.context&&Ne.context.tagName!=We&&Ue.implicitlyClosed.hasOwnProperty(Ne.context.tagName)&&Ee(Ne),Ne.context&&Ne.context.tagName==We||Ue.matchClosing===!1?(Oe="tag",et):(Oe="tag error",Ge)}else return Ue.allowMissingTagName&&je=="endTag"?(Oe="tag bracket",et(je,ht,Ne)):(Oe="error",Ge)}function et(je,ht,Ne){return je!="endTag"?(Oe="error",et):(Ee(Ne),ze)}function Ge(je,ht,Ne){return Oe="error",et(je,ht,Ne)}function lt(je,ht,Ne){if(je=="word")return Oe="attribute",it;if(je=="endTag"||je=="selfcloseTag"){var We=Ne.tagName,Ut=Ne.tagStart;return Ne.tagName=Ne.tagStart=null,je=="selfcloseTag"||Ue.autoSelfClosers.hasOwnProperty(We)?ke(Ne,We):(ke(Ne,We),Ne.context=new xe(Ne,We,Ut==Ne.indented)),ze}return Oe="error",lt}function it(je,ht,Ne){return je=="equals"?ft:(Ue.allowMissing||(Oe="error"),lt(je,ht,Ne))}function ft(je,ht,Ne){return je=="string"?bt:je=="word"&&Ue.allowUnquoted?(Oe="string",lt):(Oe="error",lt(je,ht,Ne))}function bt(je,ht,Ne){return je=="string"?bt:lt(je,ht,Ne)}return{startState:function(je){var ht={tokenize:ve,state:ze,indented:je||0,tagName:null,tagStart:null,context:null};return je!=null&&(ht.baseIndent=je),ht},token:function(je,ht){if(!ht.tagName&&je.sol()&&(ht.indented=je.indentation()),je.eatSpace())return null;oe=null;var Ne=ht.tokenize(je,ht);return(Ne||oe)&&Ne!="comment"&&(Oe=null,ht.state=ht.state(oe||Ne,je,ht),Oe&&(Ne=Oe=="error"?Ne+" error":Oe)),Ne},indent:function(je,ht,Ne){var We=je.context;if(je.tokenize.isInAttribute)return je.tagStart==je.indented?je.stringStartCol+1:je.indented+Se;if(We&&We.noIndent)return x.Pass;if(je.tokenize!=Me&&je.tokenize!=ve)return Ne?Ne.match(/^(\s*)/)[0].length:0;if(je.tagName)return Ue.multilineTagIndentPastTag!==!1?je.tagStart+je.tagName.length+2:je.tagStart+Se*(Ue.multilineTagIndentFactor||1);if(Ue.alignCDATA&&/<!\[CDATA\[/.test(ht))return 0;var Ut=ht&&/^<(\/)?([\w_:\.-]*)/.exec(ht);if(Ut&&Ut[1])for(;We;)if(We.tagName==Ut[2]){We=We.prev;break}else if(Ue.implicitlyClosed.hasOwnProperty(We.tagName))We=We.prev;else break;else if(Ut)for(;We;){var ot=Ue.contextGrabbers[We.tagName];if(ot&&ot.hasOwnProperty(Ut[2]))We=We.prev;else break}for(;We&&We.prev&&!We.startOfLine;)We=We.prev;return We?We.indent+Se:je.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:Ue.htmlMode?"html":"xml",helperType:Ue.htmlMode?"html":"xml",skipAttribute:function(je){je.state==ft&&(je.state=lt)},xmlCurrentTag:function(je){return je.tagName?{name:je.tagName,close:je.type=="closeTag"}:null},xmlCurrentContext:function(je){for(var ht=[],Ne=je.context;Ne;Ne=Ne.prev)Ne.tagName&&ht.push(Ne.tagName);return ht.reverse()}}}),x.defineMIME("text/xml","xml"),x.defineMIME("application/xml","xml"),x.mimeModes.hasOwnProperty("text/html")||x.defineMIME("text/html",{name:"xml",htmlMode:!0})})},97774:function(Vn,Tt,ae){"use strict";Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.default=void 0;var x=Object.assign||function(we){for(var xe=1;xe<arguments.length;xe++){var Ee=arguments[xe];for(var ke in Ee)Object.prototype.hasOwnProperty.call(Ee,ke)&&(we[ke]=Ee[ke])}return we},ct=function(){function we(xe,Ee){for(var ke=0;ke<Ee.length;ke++){var ze=Ee[ke];ze.enumerable=ze.enumerable||!1,ze.configurable=!0,"value"in ze&&(ze.writable=!0),Object.defineProperty(xe,ze.key,ze)}}return function(xe,Ee,ke){return Ee&&we(xe.prototype,Ee),ke&&we(xe,ke),xe}}(),Le=ae(59301),Je=Oe(Le),He=ae(12708),Se=Oe(He),Ue=ae(53291),fe=Oe(Ue),Ce=ae(47242),oe=ae(65429);function Oe(we){return we&&we.__esModule?we:{default:we}}function ve(we,xe){if(!(we instanceof xe))throw new TypeError("Cannot call a class as a function")}function Me(we,xe){if(!we)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return xe&&(typeof xe=="object"||typeof xe=="function")?xe:we}function Ie(we,xe){if(typeof xe!="function"&&xe!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof xe);we.prototype=Object.create(xe&&xe.prototype,{constructor:{value:we,enumerable:!1,writable:!0,configurable:!0}}),xe&&(Object.setPrototypeOf?Object.setPrototypeOf(we,xe):we.__proto__=xe)}var _e=function(we){Ie(xe,we);function xe(Ee){ve(this,xe);var ke=Me(this,(xe.__proto__||Object.getPrototypeOf(xe)).call(this,Ee));return ke.getEchartsInstance=function(){return ke.echartsLib.getInstanceByDom(ke.echartsElement)||ke.echartsLib.init(ke.echartsElement,ke.props.theme,ke.props.opts)},ke.dispose=function(){if(ke.echartsElement){try{(0,Ce.clear)(ke.echartsElement)}catch(ze){console.warn(ze)}ke.echartsLib.dispose(ke.echartsElement)}},ke.rerender=function(){var ze=ke.props,Qe=ze.onEvents,Re=ze.onChartReady,et=ke.renderEchartDom();ke.bindEvents(et,Qe||{}),typeof Re=="function"&&ke.props.onChartReady(et),ke.echartsElement&&(0,Ce.bind)(ke.echartsElement,function(){try{et.resize()}catch(Ge){console.warn(Ge)}})},ke.bindEvents=function(ze,Qe){var Re=function(lt,it){typeof lt=="string"&&typeof it=="function"&&ze.on(lt,function(ft){it(ft,ze)})};for(var et in Qe)Object.prototype.hasOwnProperty.call(Qe,et)&&Re(et,Qe[et])},ke.renderEchartDom=function(){var ze=ke.getEchartsInstance();return ze.setOption(ke.props.option,ke.props.notMerge||!1,ke.props.lazyUpdate||!1),ke.props.showLoading?ze.showLoading(ke.props.loadingOption||null):ze.hideLoading(),ze},ke.echartsLib=Ee.echarts,ke.echartsElement=null,ke}return ct(xe,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(ke){if(!(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(ke,this.props))){if(!(0,fe.default)(ke.theme,this.props.theme)||!(0,fe.default)(ke.opts,this.props.opts)||!(0,fe.default)(ke.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var ze=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if(!(0,fe.default)((0,oe.pick)(this.props,ze),(0,oe.pick)(ke,ze))){var Qe=this.renderEchartDom();if(!(0,fe.default)(ke.style,this.props.style)||!(0,fe.default)(ke.className,this.props.className))try{Qe.resize()}catch(Re){console.warn(Re)}}}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var ke=this,ze=this.props,Qe=ze.style,Re=ze.className,et=x({height:300},Qe);return Je.default.createElement("div",{ref:function(lt){ke.echartsElement=lt},style:et,className:"echarts-for-react "+Re})}}]),xe}(Le.Component);Tt.default=_e,_e.propTypes={option:Se.default.object.isRequired,echarts:Se.default.object,notMerge:Se.default.bool,lazyUpdate:Se.default.bool,style:Se.default.object,className:Se.default.string,theme:Se.default.oneOfType([Se.default.string,Se.default.object]),onChartReady:Se.default.func,showLoading:Se.default.bool,loadingOption:Se.default.object,onEvents:Se.default.object,opts:Se.default.shape({devicePixelRatio:Se.default.number,renderer:Se.default.oneOf(["canvas","svg"]),width:Se.default.oneOfType([Se.default.number,Se.default.oneOf([null,void 0,"auto"])]),height:Se.default.oneOfType([Se.default.number,Se.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:Se.default.func},_e.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},42441:function(Vn,Tt,ae){"use strict";var x;x={value:!0},Tt.Z=void 0;var ct=ae(76411),Le=Se(ct),Je=ae(97774),He=Se(Je);function Se(Oe){return Oe&&Oe.__esModule?Oe:{default:Oe}}function Ue(Oe,ve){if(!(Oe instanceof ve))throw new TypeError("Cannot call a class as a function")}function fe(Oe,ve){if(!Oe)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ve&&(typeof ve=="object"||typeof ve=="function")?ve:Oe}function Ce(Oe,ve){if(typeof ve!="function"&&ve!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ve);Oe.prototype=Object.create(ve&&ve.prototype,{constructor:{value:Oe,enumerable:!1,writable:!0,configurable:!0}}),ve&&(Object.setPrototypeOf?Object.setPrototypeOf(Oe,ve):Oe.__proto__=ve)}var oe=function(Oe){Ce(ve,Oe);function ve(Me){Ue(this,ve);var Ie=fe(this,(ve.__proto__||Object.getPrototypeOf(ve)).call(this,Me));return Ie.echartsLib=Le.default,Ie}return ve}(He.default);Tt.Z=oe},65429:function(Vn,Tt){"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});var ae=Tt.pick=function(ct,Le){var Je={};return Le.forEach(function(He){Je[He]=ct[He]}),Je}},86204:function(Vn){"use strict";var Tt=typeof Reflect=="object"?Reflect:null,ae=Tt&&typeof Tt.apply=="function"?Tt.apply:function(ze,Qe,Re){return Function.prototype.apply.call(ze,Qe,Re)},x;Tt&&typeof Tt.ownKeys=="function"?x=Tt.ownKeys:Object.getOwnPropertySymbols?x=function(ze){return Object.getOwnPropertyNames(ze).concat(Object.getOwnPropertySymbols(ze))}:x=function(ze){return Object.getOwnPropertyNames(ze)};function ct(ke){console&&console.warn&&console.warn(ke)}var Le=Number.isNaN||function(ze){return ze!==ze};function Je(){Je.init.call(this)}Vn.exports=Je,Vn.exports.once=we,Je.EventEmitter=Je,Je.prototype._events=void 0,Je.prototype._eventsCount=0,Je.prototype._maxListeners=void 0;var He=10;function Se(ke){if(typeof ke!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof ke)}Object.defineProperty(Je,"defaultMaxListeners",{enumerable:!0,get:function(){return He},set:function(ke){if(typeof ke!="number"||ke<0||Le(ke))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+ke+".");He=ke}}),Je.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},Je.prototype.setMaxListeners=function(ze){if(typeof ze!="number"||ze<0||Le(ze))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+ze+".");return this._maxListeners=ze,this};function Ue(ke){return ke._maxListeners===void 0?Je.defaultMaxListeners:ke._maxListeners}Je.prototype.getMaxListeners=function(){return Ue(this)},Je.prototype.emit=function(ze){for(var Qe=[],Re=1;Re<arguments.length;Re++)Qe.push(arguments[Re]);var et=ze==="error",Ge=this._events;if(Ge!==void 0)et=et&&Ge.error===void 0;else if(!et)return!1;if(et){var lt;if(Qe.length>0&&(lt=Qe[0]),lt instanceof Error)throw lt;var it=new Error("Unhandled error."+(lt?" ("+lt.message+")":""));throw it.context=lt,it}var ft=Ge[ze];if(ft===void 0)return!1;if(typeof ft=="function")ae(ft,this,Qe);else for(var bt=ft.length,je=Me(ft,bt),Re=0;Re<bt;++Re)ae(je[Re],this,Qe);return!0};function fe(ke,ze,Qe,Re){var et,Ge,lt;if(Se(Qe),Ge=ke._events,Ge===void 0?(Ge=ke._events=Object.create(null),ke._eventsCount=0):(Ge.newListener!==void 0&&(ke.emit("newListener",ze,Qe.listener?Qe.listener:Qe),Ge=ke._events),lt=Ge[ze]),lt===void 0)lt=Ge[ze]=Qe,++ke._eventsCount;else if(typeof lt=="function"?lt=Ge[ze]=Re?[Qe,lt]:[lt,Qe]:Re?lt.unshift(Qe):lt.push(Qe),et=Ue(ke),et>0&&lt.length>et&&!lt.warned){lt.warned=!0;var it=new Error("Possible EventEmitter memory leak detected. "+lt.length+" "+String(ze)+" listeners added. Use emitter.setMaxListeners() to increase limit");it.name="MaxListenersExceededWarning",it.emitter=ke,it.type=ze,it.count=lt.length,ct(it)}return ke}Je.prototype.addListener=function(ze,Qe){return fe(this,ze,Qe,!1)},Je.prototype.on=Je.prototype.addListener,Je.prototype.prependListener=function(ze,Qe){return fe(this,ze,Qe,!0)};function Ce(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function oe(ke,ze,Qe){var Re={fired:!1,wrapFn:void 0,target:ke,type:ze,listener:Qe},et=Ce.bind(Re);return et.listener=Qe,Re.wrapFn=et,et}Je.prototype.once=function(ze,Qe){return Se(Qe),this.on(ze,oe(this,ze,Qe)),this},Je.prototype.prependOnceListener=function(ze,Qe){return Se(Qe),this.prependListener(ze,oe(this,ze,Qe)),this},Je.prototype.removeListener=function(ze,Qe){var Re,et,Ge,lt,it;if(Se(Qe),et=this._events,et===void 0)return this;if(Re=et[ze],Re===void 0)return this;if(Re===Qe||Re.listener===Qe)--this._eventsCount===0?this._events=Object.create(null):(delete et[ze],et.removeListener&&this.emit("removeListener",ze,Re.listener||Qe));else if(typeof Re!="function"){for(Ge=-1,lt=Re.length-1;lt>=0;lt--)if(Re[lt]===Qe||Re[lt].listener===Qe){it=Re[lt].listener,Ge=lt;break}if(Ge<0)return this;Ge===0?Re.shift():Ie(Re,Ge),Re.length===1&&(et[ze]=Re[0]),et.removeListener!==void 0&&this.emit("removeListener",ze,it||Qe)}return this},Je.prototype.off=Je.prototype.removeListener,Je.prototype.removeAllListeners=function(ze){var Qe,Re,et;if(Re=this._events,Re===void 0)return this;if(Re.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Re[ze]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete Re[ze]),this;if(arguments.length===0){var Ge=Object.keys(Re),lt;for(et=0;et<Ge.length;++et)lt=Ge[et],lt!=="removeListener"&&this.removeAllListeners(lt);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(Qe=Re[ze],typeof Qe=="function")this.removeListener(ze,Qe);else if(Qe!==void 0)for(et=Qe.length-1;et>=0;et--)this.removeListener(ze,Qe[et]);return this};function Oe(ke,ze,Qe){var Re=ke._events;if(Re===void 0)return[];var et=Re[ze];return et===void 0?[]:typeof et=="function"?Qe?[et.listener||et]:[et]:Qe?_e(et):Me(et,et.length)}Je.prototype.listeners=function(ze){return Oe(this,ze,!0)},Je.prototype.rawListeners=function(ze){return Oe(this,ze,!1)},Je.listenerCount=function(ke,ze){return typeof ke.listenerCount=="function"?ke.listenerCount(ze):ve.call(ke,ze)},Je.prototype.listenerCount=ve;function ve(ke){var ze=this._events;if(ze!==void 0){var Qe=ze[ke];if(typeof Qe=="function")return 1;if(Qe!==void 0)return Qe.length}return 0}Je.prototype.eventNames=function(){return this._eventsCount>0?x(this._events):[]};function Me(ke,ze){for(var Qe=new Array(ze),Re=0;Re<ze;++Re)Qe[Re]=ke[Re];return Qe}function Ie(ke,ze){for(;ze+1<ke.length;ze++)ke[ze]=ke[ze+1];ke.pop()}function _e(ke){for(var ze=new Array(ke.length),Qe=0;Qe<ze.length;++Qe)ze[Qe]=ke[Qe].listener||ke[Qe];return ze}function we(ke,ze){return new Promise(function(Qe,Re){function et(lt){ke.removeListener(ze,Ge),Re(lt)}function Ge(){typeof ke.removeListener=="function"&&ke.removeListener("error",et),Qe([].slice.call(arguments))}Ee(ke,ze,Ge,{once:!0}),ze!=="error"&&xe(ke,et,{once:!0})})}function xe(ke,ze,Qe){typeof ke.on=="function"&&Ee(ke,"error",ze,Qe)}function Ee(ke,ze,Qe,Re){if(typeof ke.on=="function")Re.once?ke.once(ze,Qe):ke.on(ze,Qe);else if(typeof ke.addEventListener=="function")ke.addEventListener(ze,function et(Ge){Re.once&&ke.removeEventListener(ze,et),Qe(Ge)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof ke)}},53291:function(Vn){"use strict";var Tt=Array.isArray,ae=Object.keys,x=Object.prototype.hasOwnProperty;Vn.exports=function ct(Le,Je){if(Le===Je)return!0;if(Le&&Je&&typeof Le=="object"&&typeof Je=="object"){var He=Tt(Le),Se=Tt(Je),Ue,fe,Ce;if(He&&Se){if(fe=Le.length,fe!=Je.length)return!1;for(Ue=fe;Ue--!==0;)if(!ct(Le[Ue],Je[Ue]))return!1;return!0}if(He!=Se)return!1;var oe=Le instanceof Date,Oe=Je instanceof Date;if(oe!=Oe)return!1;if(oe&&Oe)return Le.getTime()==Je.getTime();var ve=Le instanceof RegExp,Me=Je instanceof RegExp;if(ve!=Me)return!1;if(ve&&Me)return Le.toString()==Je.toString();var Ie=ae(Le);if(fe=Ie.length,fe!==ae(Je).length)return!1;for(Ue=fe;Ue--!==0;)if(!x.call(Je,Ie[Ue]))return!1;for(Ue=fe;Ue--!==0;)if(Ce=Ie[Ue],!ct(Le[Ce],Je[Ce]))return!1;return!0}return Le!==Le&&Je!==Je}},64270:function(Vn){(function(Tt,ae){Vn.exports=ae()})(this,function(){"use strict";var Tt=function(me,ce){return Tt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(be,ye){be.__proto__=ye}||function(be,ye){for(var tt in ye)Object.prototype.hasOwnProperty.call(ye,tt)&&(be[tt]=ye[tt])},Tt(me,ce)};function ae(me,ce){if(typeof ce!="function"&&ce!==null)throw new TypeError("Class extends value "+String(ce)+" is not a constructor or null");Tt(me,ce);function be(){this.constructor=me}me.prototype=ce===null?Object.create(ce):(be.prototype=ce.prototype,new be)}var x=function(){return x=Object.assign||function(ce){for(var be,ye=1,tt=arguments.length;ye<tt;ye++){be=arguments[ye];for(var St in be)Object.prototype.hasOwnProperty.call(be,St)&&(ce[St]=be[St])}return ce},x.apply(this,arguments)};function ct(me,ce,be,ye){function tt(St){return St instanceof be?St:new be(function(Yt){Yt(St)})}return new(be||(be=Promise))(function(St,Yt){function Bn(Pr){try{xr(ye.next(Pr))}catch(Kr){Yt(Kr)}}function xn(Pr){try{xr(ye.throw(Pr))}catch(Kr){Yt(Kr)}}function xr(Pr){Pr.done?St(Pr.value):tt(Pr.value).then(Bn,xn)}xr((ye=ye.apply(me,ce||[])).next())})}function Le(me,ce){var be={label:0,sent:function(){if(St[0]&1)throw St[1];return St[1]},trys:[],ops:[]},ye,tt,St,Yt;return Yt={next:Bn(0),throw:Bn(1),return:Bn(2)},typeof Symbol=="function"&&(Yt[Symbol.iterator]=function(){return this}),Yt;function Bn(xr){return function(Pr){return xn([xr,Pr])}}function xn(xr){if(ye)throw new TypeError("Generator is already executing.");for(;be;)try{if(ye=1,tt&&(St=xr[0]&2?tt.return:xr[0]?tt.throw||((St=tt.return)&&St.call(tt),0):tt.next)&&!(St=St.call(tt,xr[1])).done)return St;switch(tt=0,St&&(xr=[xr[0]&2,St.value]),xr[0]){case 0:case 1:St=xr;break;case 4:return be.label++,{value:xr[1],done:!1};case 5:be.label++,tt=xr[1],xr=[0];continue;case 7:xr=be.ops.pop(),be.trys.pop();continue;default:if(St=be.trys,!(St=St.length>0&&St[St.length-1])&&(xr[0]===6||xr[0]===2)){be=0;continue}if(xr[0]===3&&(!St||xr[1]>St[0]&&xr[1]<St[3])){be.label=xr[1];break}if(xr[0]===6&&be.label<St[1]){be.label=St[1],St=xr;break}if(St&&be.label<St[2]){be.label=St[2],be.ops.push(xr);break}St[2]&&be.ops.pop(),be.trys.pop();continue}xr=ce.call(me,be)}catch(Pr){xr=[6,Pr],tt=0}finally{ye=St=0}if(xr[0]&5)throw xr[1];return{value:xr[0]?xr[1]:void 0,done:!0}}}function Je(me,ce,be){if(be||arguments.length===2)for(var ye=0,tt=ce.length,St;ye<tt;ye++)(St||!(ye in ce))&&(St||(St=Array.prototype.slice.call(ce,0,ye)),St[ye]=ce[ye]);return me.concat(St||ce)}for(var He=function(){function me(ce,be,ye,tt){this.left=ce,this.top=be,this.width=ye,this.height=tt}return me.prototype.add=function(ce,be,ye,tt){return new me(this.left+ce,this.top+be,this.width+ye,this.height+tt)},me.fromClientRect=function(ce,be){return new me(be.left+ce.windowBounds.left,be.top+ce.windowBounds.top,be.width,be.height)},me.fromDOMRectList=function(ce,be){var ye=Array.from(be).find(function(tt){return tt.width!==0});return ye?new me(ye.left+ce.windowBounds.left,ye.top+ce.windowBounds.top,ye.width,ye.height):me.EMPTY},me.EMPTY=new me(0,0,0,0),me}(),Se=function(me,ce){return He.fromClientRect(me,ce.getBoundingClientRect())},Ue=function(me){var ce=me.body,be=me.documentElement;if(!ce||!be)throw new Error("Unable to get document size");var ye=Math.max(Math.max(ce.scrollWidth,be.scrollWidth),Math.max(ce.offsetWidth,be.offsetWidth),Math.max(ce.clientWidth,be.clientWidth)),tt=Math.max(Math.max(ce.scrollHeight,be.scrollHeight),Math.max(ce.offsetHeight,be.offsetHeight),Math.max(ce.clientHeight,be.clientHeight));return new He(0,0,ye,tt)},fe=function(me){for(var ce=[],be=0,ye=me.length;be<ye;){var tt=me.charCodeAt(be++);if(tt>=55296&&tt<=56319&&be<ye){var St=me.charCodeAt(be++);(St&64512)===56320?ce.push(((tt&1023)<<10)+(St&1023)+65536):(ce.push(tt),be--)}else ce.push(tt)}return ce},Ce=function(){for(var me=[],ce=0;ce<arguments.length;ce++)me[ce]=arguments[ce];if(String.fromCodePoint)return String.fromCodePoint.apply(String,me);var be=me.length;if(!be)return"";for(var ye=[],tt=-1,St="";++tt<be;){var Yt=me[tt];Yt<=65535?ye.push(Yt):(Yt-=65536,ye.push((Yt>>10)+55296,Yt%1024+56320)),(tt+1===be||ye.length>16384)&&(St+=String.fromCharCode.apply(String,ye),ye.length=0)}return St},oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Oe=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),ve=0;ve<oe.length;ve++)Oe[oe.charCodeAt(ve)]=ve;for(var Me="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ie=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),_e=0;_e<Me.length;_e++)Ie[Me.charCodeAt(_e)]=_e;for(var we=function(me){var ce=me.length*.75,be=me.length,ye,tt=0,St,Yt,Bn,xn;me[me.length-1]==="="&&(ce--,me[me.length-2]==="="&&ce--);var xr=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(ce):new Array(ce),Pr=Array.isArray(xr)?xr:new Uint8Array(xr);for(ye=0;ye<be;ye+=4)St=Ie[me.charCodeAt(ye)],Yt=Ie[me.charCodeAt(ye+1)],Bn=Ie[me.charCodeAt(ye+2)],xn=Ie[me.charCodeAt(ye+3)],Pr[tt++]=St<<2|Yt>>4,Pr[tt++]=(Yt&15)<<4|Bn>>2,Pr[tt++]=(Bn&3)<<6|xn&63;return xr},xe=function(me){for(var ce=me.length,be=[],ye=0;ye<ce;ye+=2)be.push(me[ye+1]<<8|me[ye]);return be},Ee=function(me){for(var ce=me.length,be=[],ye=0;ye<ce;ye+=4)be.push(me[ye+3]<<24|me[ye+2]<<16|me[ye+1]<<8|me[ye]);return be},ke=5,ze=11,Qe=2,Re=ze-ke,et=65536>>ke,Ge=1<<ke,lt=Ge-1,it=1024>>ke,ft=et+it,bt=ft,je=32,ht=bt+je,Ne=65536>>ze,We=1<<Re,Ut=We-1,ot=function(me,ce,be){return me.slice?me.slice(ce,be):new Uint16Array(Array.prototype.slice.call(me,ce,be))},yt=function(me,ce,be){return me.slice?me.slice(ce,be):new Uint32Array(Array.prototype.slice.call(me,ce,be))},Ft=function(me,ce){var be=we(me),ye=Array.isArray(be)?Ee(be):new Uint32Array(be),tt=Array.isArray(be)?xe(be):new Uint16Array(be),St=24,Yt=ot(tt,St/2,ye[4]/2),Bn=ye[5]===2?ot(tt,(St+ye[4])/2):yt(ye,Math.ceil((St+ye[4])/4));return new Ze(ye[0],ye[1],ye[2],ye[3],Yt,Bn)},Ze=function(){function me(ce,be,ye,tt,St,Yt){this.initialValue=ce,this.errorValue=be,this.highStart=ye,this.highValueIndex=tt,this.index=St,this.data=Yt}return me.prototype.get=function(ce){var be;if(ce>=0){if(ce<55296||ce>56319&&ce<=65535)return be=this.index[ce>>ke],be=(be<<Qe)+(ce&lt),this.data[be];if(ce<=65535)return be=this.index[et+(ce-55296>>ke)],be=(be<<Qe)+(ce&lt),this.data[be];if(ce<this.highStart)return be=ht-Ne+(ce>>ze),be=this.index[be],be+=ce>>ke&Ut,be=this.index[be],be=(be<<Qe)+(ce&lt),this.data[be];if(ce<=1114111)return this.data[this.highValueIndex]}return this.errorValue},me}(),Te="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",At=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Zt=0;Zt<Te.length;Zt++)At[Te.charCodeAt(Zt)]=Zt;var Kt="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",rt=50,Nt=1,Qt=2,pn=3,Ot=4,vn=5,_t=7,Fn=8,on=9,de=10,ge=11,ie=12,ee=13,le=14,se=15,Be=16,$e=17,at=18,pt=19,gt=20,Bt=21,Lt=22,Rt=23,Ct=24,st=25,$t=26,Vt=27,bn=28,an=29,en=30,Hn=31,En=32,Mt=33,sn=34,Dn=35,Wn=36,It=37,Wt=38,rn=39,mn=40,Xn=41,Fr=42,ri=43,Hr=[9001,65288],Ir="!",er="\xD7",vr="\xF7",Mr=Ft(Kt),Yn=[en,Wn],sr=[Nt,Qt,pn,vn],jn=[de,Fn],ur=[Vt,$t],br=sr.concat(jn),Xr=[Wt,rn,mn,sn,Dn],Yr=[se,ee],pi=function(me,ce){ce===void 0&&(ce="strict");var be=[],ye=[],tt=[];return me.forEach(function(St,Yt){var Bn=Mr.get(St);if(Bn>rt?(tt.push(!0),Bn-=rt):tt.push(!1),["normal","auto","loose"].indexOf(ce)!==-1&&[8208,8211,12316,12448].indexOf(St)!==-1)return ye.push(Yt),be.push(Be);if(Bn===Ot||Bn===ge){if(Yt===0)return ye.push(Yt),be.push(en);var xn=be[Yt-1];return br.indexOf(xn)===-1?(ye.push(ye[Yt-1]),be.push(xn)):(ye.push(Yt),be.push(en))}if(ye.push(Yt),Bn===Hn)return be.push(ce==="strict"?Bt:It);if(Bn===Fr||Bn===an)return be.push(en);if(Bn===ri)return St>=131072&&St<=196605||St>=196608&&St<=262141?be.push(It):be.push(en);be.push(Bn)}),[ye,be,tt]},ci=function(me,ce,be,ye){var tt=ye[be];if(Array.isArray(me)?me.indexOf(tt)!==-1:me===tt)for(var St=be;St<=ye.length;){St++;var Yt=ye[St];if(Yt===ce)return!0;if(Yt!==de)break}if(tt===de)for(var St=be;St>0;){St--;var Bn=ye[St];if(Array.isArray(me)?me.indexOf(Bn)!==-1:me===Bn)for(var xn=be;xn<=ye.length;){xn++;var Yt=ye[xn];if(Yt===ce)return!0;if(Yt!==de)break}if(Bn!==de)break}return!1},Hi=function(me,ce){for(var be=me;be>=0;){var ye=ce[be];if(ye===de)be--;else return ye}return 0},mi=function(me,ce,be,ye,tt){if(be[ye]===0)return er;var St=ye-1;if(Array.isArray(tt)&&tt[St]===!0)return er;var Yt=St-1,Bn=St+1,xn=ce[St],xr=Yt>=0?ce[Yt]:0,Pr=ce[Bn];if(xn===Qt&&Pr===pn)return er;if(sr.indexOf(xn)!==-1)return Ir;if(sr.indexOf(Pr)!==-1||jn.indexOf(Pr)!==-1)return er;if(Hi(St,ce)===Fn)return vr;if(Mr.get(me[St])===ge||(xn===En||xn===Mt)&&Mr.get(me[Bn])===ge||xn===_t||Pr===_t||xn===on||[de,ee,se].indexOf(xn)===-1&&Pr===on||[$e,at,pt,Ct,bn].indexOf(Pr)!==-1||Hi(St,ce)===Lt||ci(Rt,Lt,St,ce)||ci([$e,at],Bt,St,ce)||ci(ie,ie,St,ce))return er;if(xn===de)return vr;if(xn===Rt||Pr===Rt)return er;if(Pr===Be||xn===Be)return vr;if([ee,se,Bt].indexOf(Pr)!==-1||xn===le||xr===Wn&&Yr.indexOf(xn)!==-1||xn===bn&&Pr===Wn||Pr===gt||Yn.indexOf(Pr)!==-1&&xn===st||Yn.indexOf(xn)!==-1&&Pr===st||xn===Vt&&[It,En,Mt].indexOf(Pr)!==-1||[It,En,Mt].indexOf(xn)!==-1&&Pr===$t||Yn.indexOf(xn)!==-1&&ur.indexOf(Pr)!==-1||ur.indexOf(xn)!==-1&&Yn.indexOf(Pr)!==-1||[Vt,$t].indexOf(xn)!==-1&&(Pr===st||[Lt,se].indexOf(Pr)!==-1&&ce[Bn+1]===st)||[Lt,se].indexOf(xn)!==-1&&Pr===st||xn===st&&[st,bn,Ct].indexOf(Pr)!==-1)return er;if([st,bn,Ct,$e,at].indexOf(Pr)!==-1)for(var Kr=St;Kr>=0;){var _i=ce[Kr];if(_i===st)return er;if([bn,Ct].indexOf(_i)!==-1)Kr--;else break}if([Vt,$t].indexOf(Pr)!==-1)for(var Kr=[$e,at].indexOf(xn)!==-1?Yt:St;Kr>=0;){var _i=ce[Kr];if(_i===st)return er;if([bn,Ct].indexOf(_i)!==-1)Kr--;else break}if(Wt===xn&&[Wt,rn,sn,Dn].indexOf(Pr)!==-1||[rn,sn].indexOf(xn)!==-1&&[rn,mn].indexOf(Pr)!==-1||[mn,Dn].indexOf(xn)!==-1&&Pr===mn||Xr.indexOf(xn)!==-1&&[gt,$t].indexOf(Pr)!==-1||Xr.indexOf(Pr)!==-1&&xn===Vt||Yn.indexOf(xn)!==-1&&Yn.indexOf(Pr)!==-1||xn===Ct&&Yn.indexOf(Pr)!==-1||Yn.concat(st).indexOf(xn)!==-1&&Pr===Lt&&Hr.indexOf(me[Bn])===-1||Yn.concat(st).indexOf(Pr)!==-1&&xn===at)return er;if(xn===Xn&&Pr===Xn){for(var fa=be[St],go=1;fa>0&&(fa--,ce[fa]===Xn);)go++;if(go%2!==0)return er}return xn===En&&Pr===Mt?er:vr},no=function(me,ce){ce||(ce={lineBreak:"normal",wordBreak:"normal"});var be=pi(me,ce.lineBreak),ye=be[0],tt=be[1],St=be[2];(ce.wordBreak==="break-all"||ce.wordBreak==="break-word")&&(tt=tt.map(function(Bn){return[st,en,Fr].indexOf(Bn)!==-1?It:Bn}));var Yt=ce.wordBreak==="keep-all"?St.map(function(Bn,xn){return Bn&&me[xn]>=19968&&me[xn]<=40959}):void 0;return[ye,tt,Yt]},Ki=function(){function me(ce,be,ye,tt){this.codePoints=ce,this.required=be===Ir,this.start=ye,this.end=tt}return me.prototype.slice=function(){return Ce.apply(void 0,this.codePoints.slice(this.start,this.end))},me}(),fr=function(me,ce){var be=fe(me),ye=no(be,ce),tt=ye[0],St=ye[1],Yt=ye[2],Bn=be.length,xn=0,xr=0;return{next:function(){if(xr>=Bn)return{done:!0,value:null};for(var Pr=er;xr<Bn&&(Pr=mi(be,St,tt,++xr,Yt))===er;);if(Pr!==er||xr===Bn){var Kr=new Ki(be,Pr,xn,xr);return xn=xr,{value:Kr,done:!1}}return{done:!0,value:null}}}},Lr=1,gi=2,Xt=4,ln=8,yn=10,kt=47,dn=92,zt=9,hn=32,Pn=34,_r=61,Jr=35,di=36,ir=37,Ar=39,ar=40,ei=41,tr=95,Un=45,cr=33,Bi=60,zn=62,gn=64,$n=91,nr=93,pr=61,Zr=123,Ni=63,fi=125,Li=124,vi=126,Ei=128,yi=65533,Si=42,wi=43,Ti=44,eo=58,vo=59,Yi=46,Do=0,ki=8,ko=11,Ao=14,Xo=31,Co=127,to=-1,xo=48,$o=97,_n=101,No=102,Vi=117,Ur=122,qr=65,ti=69,Wr=70,Ri=85,ro=90,zr=function(me){return me>=xo&&me<=57},oi=function(me){return me>=55296&&me<=57343},yr=function(me){return zr(me)||me>=qr&&me<=Wr||me>=$o&&me<=No},ni=function(me){return me>=$o&&me<=Ur},co=function(me){return me>=qr&&me<=ro},Jo=function(me){return ni(me)||co(me)},fo=function(me){return me>=Ei},ta=function(me){return me===yn||me===zt||me===hn},Go=function(me){return Jo(me)||fo(me)||me===tr},va=function(me){return Go(me)||zr(me)||me===Un},Vo=function(me){return me>=Do&&me<=ki||me===ko||me>=Ao&&me<=Xo||me===Co},oa=function(me,ce){return me!==dn?!1:ce!==yn},da=function(me,ce,be){return me===Un?Go(ce)||oa(ce,be):Go(me)?!0:!!(me===dn&&oa(me,ce))},Wa=function(me,ce,be){return me===wi||me===Un?zr(ce)?!0:ce===Yi&&zr(be):zr(me===Yi?ce:me)},Ds=function(me){var ce=0,be=1;(me[ce]===wi||me[ce]===Un)&&(me[ce]===Un&&(be=-1),ce++);for(var ye=[];zr(me[ce]);)ye.push(me[ce++]);var tt=ye.length?parseInt(Ce.apply(void 0,ye),10):0;me[ce]===Yi&&ce++;for(var St=[];zr(me[ce]);)St.push(me[ce++]);var Yt=St.length,Bn=Yt?parseInt(Ce.apply(void 0,St),10):0;(me[ce]===ti||me[ce]===_n)&&ce++;var xn=1;(me[ce]===wi||me[ce]===Un)&&(me[ce]===Un&&(xn=-1),ce++);for(var xr=[];zr(me[ce]);)xr.push(me[ce++]);var Pr=xr.length?parseInt(Ce.apply(void 0,xr),10):0;return be*(tt+Bn*Math.pow(10,-Yt))*Math.pow(10,xn*Pr)},zs={type:2},is={type:3},us={type:4},Mo={type:13},mo={type:8},Fa={type:21},hs={type:9},el={type:10},tl={type:11},nl={type:12},hl={type:14},lu={type:23},Js={type:1},Kl={type:25},Zl={type:24},Lu={type:26},dl={type:27},FA={type:28},hA={type:29},pa={type:31},Ia={type:32},ma=function(){function me(){this._value=[]}return me.prototype.write=function(ce){this._value=this._value.concat(fe(ce))},me.prototype.read=function(){for(var ce=[],be=this.consumeToken();be!==Ia;)ce.push(be),be=this.consumeToken();return ce},me.prototype.consumeToken=function(){var ce=this.consumeCodePoint();switch(ce){case Pn:return this.consumeStringToken(Pn);case Jr:var be=this.peekCodePoint(0),ye=this.peekCodePoint(1),tt=this.peekCodePoint(2);if(va(be)||oa(ye,tt)){var St=da(be,ye,tt)?gi:Lr,Yt=this.consumeName();return{type:5,value:Yt,flags:St}}break;case di:if(this.peekCodePoint(0)===_r)return this.consumeCodePoint(),Mo;break;case Ar:return this.consumeStringToken(Ar);case ar:return zs;case ei:return is;case Si:if(this.peekCodePoint(0)===_r)return this.consumeCodePoint(),hl;break;case wi:if(Wa(ce,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ce),this.consumeNumericToken();break;case Ti:return us;case Un:var Bn=ce,xn=this.peekCodePoint(0),xr=this.peekCodePoint(1);if(Wa(Bn,xn,xr))return this.reconsumeCodePoint(ce),this.consumeNumericToken();if(da(Bn,xn,xr))return this.reconsumeCodePoint(ce),this.consumeIdentLikeToken();if(xn===Un&&xr===zn)return this.consumeCodePoint(),this.consumeCodePoint(),Zl;break;case Yi:if(Wa(ce,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ce),this.consumeNumericToken();break;case kt:if(this.peekCodePoint(0)===Si)for(this.consumeCodePoint();;){var Pr=this.consumeCodePoint();if(Pr===Si&&(Pr=this.consumeCodePoint(),Pr===kt))return this.consumeToken();if(Pr===to)return this.consumeToken()}break;case eo:return Lu;case vo:return dl;case Bi:if(this.peekCodePoint(0)===cr&&this.peekCodePoint(1)===Un&&this.peekCodePoint(2)===Un)return this.consumeCodePoint(),this.consumeCodePoint(),Kl;break;case gn:var Kr=this.peekCodePoint(0),_i=this.peekCodePoint(1),fa=this.peekCodePoint(2);if(da(Kr,_i,fa)){var Yt=this.consumeName();return{type:7,value:Yt}}break;case $n:return FA;case dn:if(oa(ce,this.peekCodePoint(0)))return this.reconsumeCodePoint(ce),this.consumeIdentLikeToken();break;case nr:return hA;case pr:if(this.peekCodePoint(0)===_r)return this.consumeCodePoint(),mo;break;case Zr:return tl;case fi:return nl;case Vi:case Ri:var go=this.peekCodePoint(0),Ko=this.peekCodePoint(1);return go===wi&&(yr(Ko)||Ko===Ni)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(ce),this.consumeIdentLikeToken();case Li:if(this.peekCodePoint(0)===_r)return this.consumeCodePoint(),hs;if(this.peekCodePoint(0)===Li)return this.consumeCodePoint(),Fa;break;case vi:if(this.peekCodePoint(0)===_r)return this.consumeCodePoint(),el;break;case to:return Ia}return ta(ce)?(this.consumeWhiteSpace(),pa):zr(ce)?(this.reconsumeCodePoint(ce),this.consumeNumericToken()):Go(ce)?(this.reconsumeCodePoint(ce),this.consumeIdentLikeToken()):{type:6,value:Ce(ce)}},me.prototype.consumeCodePoint=function(){var ce=this._value.shift();return typeof ce=="undefined"?-1:ce},me.prototype.reconsumeCodePoint=function(ce){this._value.unshift(ce)},me.prototype.peekCodePoint=function(ce){return ce>=this._value.length?-1:this._value[ce]},me.prototype.consumeUnicodeRangeToken=function(){for(var ce=[],be=this.consumeCodePoint();yr(be)&&ce.length<6;)ce.push(be),be=this.consumeCodePoint();for(var ye=!1;be===Ni&&ce.length<6;)ce.push(be),be=this.consumeCodePoint(),ye=!0;if(ye){var tt=parseInt(Ce.apply(void 0,ce.map(function(xn){return xn===Ni?xo:xn})),16),St=parseInt(Ce.apply(void 0,ce.map(function(xn){return xn===Ni?Wr:xn})),16);return{type:30,start:tt,end:St}}var Yt=parseInt(Ce.apply(void 0,ce),16);if(this.peekCodePoint(0)===Un&&yr(this.peekCodePoint(1))){this.consumeCodePoint(),be=this.consumeCodePoint();for(var Bn=[];yr(be)&&Bn.length<6;)Bn.push(be),be=this.consumeCodePoint();var St=parseInt(Ce.apply(void 0,Bn),16);return{type:30,start:Yt,end:St}}else return{type:30,start:Yt,end:Yt}},me.prototype.consumeIdentLikeToken=function(){var ce=this.consumeName();return ce.toLowerCase()==="url"&&this.peekCodePoint(0)===ar?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ar?(this.consumeCodePoint(),{type:19,value:ce}):{type:20,value:ce}},me.prototype.consumeUrlToken=function(){var ce=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===to)return{type:22,value:""};var be=this.peekCodePoint(0);if(be===Ar||be===Pn){var ye=this.consumeStringToken(this.consumeCodePoint());return ye.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===to||this.peekCodePoint(0)===ei)?(this.consumeCodePoint(),{type:22,value:ye.value}):(this.consumeBadUrlRemnants(),lu)}for(;;){var tt=this.consumeCodePoint();if(tt===to||tt===ei)return{type:22,value:Ce.apply(void 0,ce)};if(ta(tt))return this.consumeWhiteSpace(),this.peekCodePoint(0)===to||this.peekCodePoint(0)===ei?(this.consumeCodePoint(),{type:22,value:Ce.apply(void 0,ce)}):(this.consumeBadUrlRemnants(),lu);if(tt===Pn||tt===Ar||tt===ar||Vo(tt))return this.consumeBadUrlRemnants(),lu;if(tt===dn)if(oa(tt,this.peekCodePoint(0)))ce.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),lu;else ce.push(tt)}},me.prototype.consumeWhiteSpace=function(){for(;ta(this.peekCodePoint(0));)this.consumeCodePoint()},me.prototype.consumeBadUrlRemnants=function(){for(;;){var ce=this.consumeCodePoint();if(ce===ei||ce===to)return;oa(ce,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},me.prototype.consumeStringSlice=function(ce){for(var be=5e4,ye="";ce>0;){var tt=Math.min(be,ce);ye+=Ce.apply(void 0,this._value.splice(0,tt)),ce-=tt}return this._value.shift(),ye},me.prototype.consumeStringToken=function(ce){var be="",ye=0;do{var tt=this._value[ye];if(tt===to||tt===void 0||tt===ce)return be+=this.consumeStringSlice(ye),{type:0,value:be};if(tt===yn)return this._value.splice(0,ye),Js;if(tt===dn){var St=this._value[ye+1];St!==to&&St!==void 0&&(St===yn?(be+=this.consumeStringSlice(ye),ye=-1,this._value.shift()):oa(tt,St)&&(be+=this.consumeStringSlice(ye),be+=Ce(this.consumeEscapedCodePoint()),ye=-1))}ye++}while(!0)},me.prototype.consumeNumber=function(){var ce=[],be=Xt,ye=this.peekCodePoint(0);for((ye===wi||ye===Un)&&ce.push(this.consumeCodePoint());zr(this.peekCodePoint(0));)ce.push(this.consumeCodePoint());ye=this.peekCodePoint(0);var tt=this.peekCodePoint(1);if(ye===Yi&&zr(tt))for(ce.push(this.consumeCodePoint(),this.consumeCodePoint()),be=ln;zr(this.peekCodePoint(0));)ce.push(this.consumeCodePoint());ye=this.peekCodePoint(0),tt=this.peekCodePoint(1);var St=this.peekCodePoint(2);if((ye===ti||ye===_n)&&((tt===wi||tt===Un)&&zr(St)||zr(tt)))for(ce.push(this.consumeCodePoint(),this.consumeCodePoint()),be=ln;zr(this.peekCodePoint(0));)ce.push(this.consumeCodePoint());return[Ds(ce),be]},me.prototype.consumeNumericToken=function(){var ce=this.consumeNumber(),be=ce[0],ye=ce[1],tt=this.peekCodePoint(0),St=this.peekCodePoint(1),Yt=this.peekCodePoint(2);if(da(tt,St,Yt)){var Bn=this.consumeName();return{type:15,number:be,flags:ye,unit:Bn}}return tt===ir?(this.consumeCodePoint(),{type:16,number:be,flags:ye}):{type:17,number:be,flags:ye}},me.prototype.consumeEscapedCodePoint=function(){var ce=this.consumeCodePoint();if(yr(ce)){for(var be=Ce(ce);yr(this.peekCodePoint(0))&&be.length<6;)be+=Ce(this.consumeCodePoint());ta(this.peekCodePoint(0))&&this.consumeCodePoint();var ye=parseInt(be,16);return ye===0||oi(ye)||ye>1114111?yi:ye}return ce===to?yi:ce},me.prototype.consumeName=function(){for(var ce="";;){var be=this.consumeCodePoint();if(va(be))ce+=Ce(be);else if(oa(be,this.peekCodePoint(0)))ce+=Ce(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(be),ce}},me}(),Ca=function(){function me(ce){this._tokens=ce}return me.create=function(ce){var be=new ma;return be.write(ce),new me(be.read())},me.parseValue=function(ce){return me.create(ce).parseComponentValue()},me.parseValues=function(ce){return me.create(ce).parseComponentValues()},me.prototype.parseComponentValue=function(){for(var ce=this.consumeToken();ce.type===31;)ce=this.consumeToken();if(ce.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(ce);var be=this.consumeComponentValue();do ce=this.consumeToken();while(ce.type===31);if(ce.type===32)return be;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},me.prototype.parseComponentValues=function(){for(var ce=[];;){var be=this.consumeComponentValue();if(be.type===32)return ce;ce.push(be),ce.push()}},me.prototype.consumeComponentValue=function(){var ce=this.consumeToken();switch(ce.type){case 11:case 28:case 2:return this.consumeSimpleBlock(ce.type);case 19:return this.consumeFunction(ce)}return ce},me.prototype.consumeSimpleBlock=function(ce){for(var be={type:ce,values:[]},ye=this.consumeToken();;){if(ye.type===32||iu(ye,ce))return be;this.reconsumeToken(ye),be.values.push(this.consumeComponentValue()),ye=this.consumeToken()}},me.prototype.consumeFunction=function(ce){for(var be={name:ce.value,values:[],type:18};;){var ye=this.consumeToken();if(ye.type===32||ye.type===3)return be;this.reconsumeToken(ye),be.values.push(this.consumeComponentValue())}},me.prototype.consumeToken=function(){var ce=this._tokens.shift();return typeof ce=="undefined"?Ia:ce},me.prototype.reconsumeToken=function(ce){this._tokens.unshift(ce)},me}(),qa=function(me){return me.type===15},Xa=function(me){return me.type===17},Ha=function(me){return me.type===20},Wl=function(me){return me.type===0},uu=function(me,ce){return Ha(me)&&me.value===ce},ji=function(me){return me.type!==31},ga=function(me){return me.type!==31&&me.type!==4},Ta=function(me){var ce=[],be=[];return me.forEach(function(ye){if(ye.type===4){if(be.length===0)throw new Error("Error parsing function args, zero tokens for arg");ce.push(be),be=[];return}ye.type!==31&&be.push(ye)}),be.length&&ce.push(be),ce},iu=function(me,ce){return ce===11&&me.type===12||ce===28&&me.type===29?!0:ce===2&&me.type===3},Pl=function(me){return me.type===17||me.type===15},ps=function(me){return me.type===16||Pl(me)},Cu=function(me){return me.length>1?[me[0],me[1]]:[me[0]]},pl={type:17,number:0,flags:Xt},Kc={type:16,number:50,flags:Xt},IA={type:16,number:100,flags:Xt},xu=function(me,ce,be){var ye=me[0],tt=me[1];return[aa(ye,ce),aa(typeof tt!="undefined"?tt:ye,be)]},aa=function(me,ce){if(me.type===16)return me.number/100*ce;if(qa(me))switch(me.unit){case"rem":case"em":return 16*me.number;case"px":default:return me.number}return me.number},Wu="deg",dc="grad",Mu="rad",Ns="turn",eA={name:"angle",parse:function(me,ce){if(ce.type===15)switch(ce.unit){case Wu:return Math.PI*ce.number/180;case dc:return Math.PI/200*ce.number;case Mu:return ce.number;case Ns:return Math.PI*2*ce.number}throw new Error("Unsupported angle type")}},pA=function(me){return me.type===15&&(me.unit===Wu||me.unit===dc||me.unit===Mu||me.unit===Ns)},_A=function(me){var ce=me.filter(Ha).map(function(be){return be.value}).join(" ");switch(ce){case"to bottom right":case"to right bottom":case"left top":case"top left":return[pl,pl];case"to top":case"bottom":return bl(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[pl,IA];case"to right":case"left":return bl(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[IA,IA];case"to bottom":case"top":return bl(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[IA,pl];case"to left":case"right":return bl(270)}return 0},bl=function(me){return Math.PI*me/180},Cl={name:"color",parse:function(me,ce){if(ce.type===18){var be=Pa[ce.name];if(typeof be=="undefined")throw new Error('Attempting to parse an unsupported color function "'+ce.name+'"');return be(me,ce.values)}if(ce.type===5){if(ce.value.length===3){var ye=ce.value.substring(0,1),tt=ce.value.substring(1,2),St=ce.value.substring(2,3);return Gl(parseInt(ye+ye,16),parseInt(tt+tt,16),parseInt(St+St,16),1)}if(ce.value.length===4){var ye=ce.value.substring(0,1),tt=ce.value.substring(1,2),St=ce.value.substring(2,3),Yt=ce.value.substring(3,4);return Gl(parseInt(ye+ye,16),parseInt(tt+tt,16),parseInt(St+St,16),parseInt(Yt+Yt,16)/255)}if(ce.value.length===6){var ye=ce.value.substring(0,2),tt=ce.value.substring(2,4),St=ce.value.substring(4,6);return Gl(parseInt(ye,16),parseInt(tt,16),parseInt(St,16),1)}if(ce.value.length===8){var ye=ce.value.substring(0,2),tt=ce.value.substring(2,4),St=ce.value.substring(4,6),Yt=ce.value.substring(6,8);return Gl(parseInt(ye,16),parseInt(tt,16),parseInt(St,16),parseInt(Yt,16)/255)}}if(ce.type===20){var Bn=Rs[ce.value.toUpperCase()];if(typeof Bn!="undefined")return Bn}return Rs.TRANSPARENT}},rl=function(me){return(255&me)===0},$l=function(me){var ce=255&me,be=255&me>>8,ye=255&me>>16,tt=255&me>>24;return ce<255?"rgba("+tt+","+ye+","+be+","+ce/255+")":"rgb("+tt+","+ye+","+be+")"},Gl=function(me,ce,be,ye){return(me<<24|ce<<16|be<<8|Math.round(ye*255)<<0)>>>0},Oc=function(me,ce){if(me.type===17)return me.number;if(me.type===16){var be=ce===3?1:255;return ce===3?me.number/100*be:Math.round(me.number/100*be)}return 0},nd=function(me,ce){var be=ce.filter(ga);if(be.length===3){var ye=be.map(Oc),tt=ye[0],St=ye[1],Yt=ye[2];return Gl(tt,St,Yt,1)}if(be.length===4){var Bn=be.map(Oc),tt=Bn[0],St=Bn[1],Yt=Bn[2],xn=Bn[3];return Gl(tt,St,Yt,xn)}return 0};function _l(me,ce,be){return be<0&&(be+=1),be>=1&&(be-=1),be<1/6?(ce-me)*be*6+me:be<1/2?ce:be<2/3?(ce-me)*6*(2/3-be)+me:me}var Uu=function(me,ce){var be=ce.filter(ga),ye=be[0],tt=be[1],St=be[2],Yt=be[3],Bn=(ye.type===17?bl(ye.number):eA.parse(me,ye))/(Math.PI*2),xn=ps(tt)?tt.number/100:0,xr=ps(St)?St.number/100:0,Pr=typeof Yt!="undefined"&&ps(Yt)?aa(Yt,1):1;if(xn===0)return Gl(xr*255,xr*255,xr*255,1);var Kr=xr<=.5?xr*(xn+1):xr+xn-xr*xn,_i=xr*2-Kr,fa=_l(_i,Kr,Bn+1/3),go=_l(_i,Kr,Bn),Ko=_l(_i,Kr,Bn-1/3);return Gl(fa*255,go*255,Ko*255,Pr)},Pa={hsl:Uu,hsla:Uu,rgb:nd,rgba:nd},Ua=function(me,ce){return Cl.parse(me,Ca.create(ce).parseComponentValue())},Rs={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},tA={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(me,ce){return ce.map(function(be){if(Ha(be))switch(be.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Vl={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Au=function(me,ce){var be=Cl.parse(me,ce[0]),ye=ce[1];return ye&&ps(ye)?{color:be,stop:ye}:{color:be,stop:null}},WA=function(me,ce){var be=me[0],ye=me[me.length-1];be.stop===null&&(be.stop=pl),ye.stop===null&&(ye.stop=IA);for(var tt=[],St=0,Yt=0;Yt<me.length;Yt++){var Bn=me[Yt].stop;if(Bn!==null){var xn=aa(Bn,ce);xn>St?tt.push(xn):tt.push(St),St=xn}else tt.push(null)}for(var xr=null,Yt=0;Yt<tt.length;Yt++){var Pr=tt[Yt];if(Pr===null)xr===null&&(xr=Yt);else if(xr!==null){for(var Kr=Yt-xr,_i=tt[xr-1],fa=(Pr-_i)/(Kr+1),go=1;go<=Kr;go++)tt[xr+go-1]=fa*go;xr=null}}return me.map(function(Ko,ls){var ba=Ko.color;return{color:ba,stop:Math.max(Math.min(1,tt[ls]/ce),0)}})},gA=function(me,ce,be){var ye=ce/2,tt=be/2,St=aa(me[0],ce)-ye,Yt=tt-aa(me[1],be);return(Math.atan2(Yt,St)+Math.PI*2)%(Math.PI*2)},fc=function(me,ce,be){var ye=typeof me=="number"?me:gA(me,ce,be),tt=Math.abs(ce*Math.sin(ye))+Math.abs(be*Math.cos(ye)),St=ce/2,Yt=be/2,Bn=tt/2,xn=Math.sin(ye-Math.PI/2)*Bn,xr=Math.cos(ye-Math.PI/2)*Bn;return[tt,St-xr,St+xr,Yt-xn,Yt+xn]},Xl=function(me,ce){return Math.sqrt(me*me+ce*ce)},mA=function(me,ce,be,ye,tt){var St=[[0,0],[0,ce],[me,0],[me,ce]];return St.reduce(function(Yt,Bn){var xn=Bn[0],xr=Bn[1],Pr=Xl(be-xn,ye-xr);return(tt?Pr<Yt.optimumDistance:Pr>Yt.optimumDistance)?{optimumCorner:Bn,optimumDistance:Pr}:Yt},{optimumDistance:tt?1/0:-1/0,optimumCorner:null}).optimumCorner},nc=function(me,ce,be,ye,tt){var St=0,Yt=0;switch(me.size){case 0:me.shape===0?St=Yt=Math.min(Math.abs(ce),Math.abs(ce-ye),Math.abs(be),Math.abs(be-tt)):me.shape===1&&(St=Math.min(Math.abs(ce),Math.abs(ce-ye)),Yt=Math.min(Math.abs(be),Math.abs(be-tt)));break;case 2:if(me.shape===0)St=Yt=Math.min(Xl(ce,be),Xl(ce,be-tt),Xl(ce-ye,be),Xl(ce-ye,be-tt));else if(me.shape===1){var Bn=Math.min(Math.abs(be),Math.abs(be-tt))/Math.min(Math.abs(ce),Math.abs(ce-ye)),xn=mA(ye,tt,ce,be,!0),xr=xn[0],Pr=xn[1];St=Xl(xr-ce,(Pr-be)/Bn),Yt=Bn*St}break;case 1:me.shape===0?St=Yt=Math.max(Math.abs(ce),Math.abs(ce-ye),Math.abs(be),Math.abs(be-tt)):me.shape===1&&(St=Math.max(Math.abs(ce),Math.abs(ce-ye)),Yt=Math.max(Math.abs(be),Math.abs(be-tt)));break;case 3:if(me.shape===0)St=Yt=Math.max(Xl(ce,be),Xl(ce,be-tt),Xl(ce-ye,be),Xl(ce-ye,be-tt));else if(me.shape===1){var Bn=Math.max(Math.abs(be),Math.abs(be-tt))/Math.max(Math.abs(ce),Math.abs(ce-ye)),Kr=mA(ye,tt,ce,be,!1),xr=Kr[0],Pr=Kr[1];St=Xl(xr-ce,(Pr-be)/Bn),Yt=Bn*St}break}return Array.isArray(me.size)&&(St=aa(me.size[0],ye),Yt=me.size.length===2?aa(me.size[1],tt):St),[St,Yt]},rc=function(me,ce){var be=bl(180),ye=[];return Ta(ce).forEach(function(tt,St){if(St===0){var Yt=tt[0];if(Yt.type===20&&Yt.value==="to"){be=_A(tt);return}else if(pA(Yt)){be=eA.parse(me,Yt);return}}var Bn=Au(me,tt);ye.push(Bn)}),{angle:be,stops:ye,type:1}},Sd=function(me,ce){var be=bl(180),ye=[];return Ta(ce).forEach(function(tt,St){if(St===0){var Yt=tt[0];if(Yt.type===20&&["top","left","right","bottom"].indexOf(Yt.value)!==-1){be=_A(tt);return}else if(pA(Yt)){be=(eA.parse(me,Yt)+bl(270))%bl(360);return}}var Bn=Au(me,tt);ye.push(Bn)}),{angle:be,stops:ye,type:1}},Xf=function(me,ce){var be=bl(180),ye=[],tt=1,St=0,Yt=3,Bn=[];return Ta(ce).forEach(function(xn,xr){var Pr=xn[0];if(xr===0){if(Ha(Pr)&&Pr.value==="linear"){tt=1;return}else if(Ha(Pr)&&Pr.value==="radial"){tt=2;return}}if(Pr.type===18){if(Pr.name==="from"){var Kr=Cl.parse(me,Pr.values[0]);ye.push({stop:pl,color:Kr})}else if(Pr.name==="to"){var Kr=Cl.parse(me,Pr.values[0]);ye.push({stop:IA,color:Kr})}else if(Pr.name==="color-stop"){var _i=Pr.values.filter(ga);if(_i.length===2){var Kr=Cl.parse(me,_i[1]),fa=_i[0];Xa(fa)&&ye.push({stop:{type:16,number:fa.number*100,flags:fa.flags},color:Kr})}}}}),tt===1?{angle:(be+bl(180))%bl(360),stops:ye,type:tt}:{size:Yt,shape:St,stops:ye,position:Bn,type:tt}},rd="closest-side",Pc="farthest-side",hc="closest-corner",Du="farthest-corner",_c="circle",ic="ellipse",Fd="cover",Yf="contain",Os=function(me,ce){var be=0,ye=3,tt=[],St=[];return Ta(ce).forEach(function(Yt,Bn){var xn=!0;if(Bn===0){var xr=!1;xn=Yt.reduce(function(Kr,_i){if(xr)if(Ha(_i))switch(_i.value){case"center":return St.push(Kc),Kr;case"top":case"left":return St.push(pl),Kr;case"right":case"bottom":return St.push(IA),Kr}else(ps(_i)||Pl(_i))&&St.push(_i);else if(Ha(_i))switch(_i.value){case _c:return be=0,!1;case ic:return be=1,!1;case"at":return xr=!0,!1;case rd:return ye=0,!1;case Fd:case Pc:return ye=1,!1;case Yf:case hc:return ye=2,!1;case Du:return ye=3,!1}else if(Pl(_i)||ps(_i))return Array.isArray(ye)||(ye=[]),ye.push(_i),!1;return Kr},xn)}if(xn){var Pr=Au(me,Yt);tt.push(Pr)}}),{size:ye,shape:be,stops:tt,position:St,type:2}},$u=function(me,ce){var be=0,ye=3,tt=[],St=[];return Ta(ce).forEach(function(Yt,Bn){var xn=!0;if(Bn===0?xn=Yt.reduce(function(Pr,Kr){if(Ha(Kr))switch(Kr.value){case"center":return St.push(Kc),!1;case"top":case"left":return St.push(pl),!1;case"right":case"bottom":return St.push(IA),!1}else if(ps(Kr)||Pl(Kr))return St.push(Kr),!1;return Pr},xn):Bn===1&&(xn=Yt.reduce(function(Pr,Kr){if(Ha(Kr))switch(Kr.value){case _c:return be=0,!1;case ic:return be=1,!1;case Yf:case rd:return ye=0,!1;case Pc:return ye=1,!1;case hc:return ye=2,!1;case Fd:case Du:return ye=3,!1}else if(Pl(Kr)||ps(Kr))return Array.isArray(ye)||(ye=[]),ye.push(Kr),!1;return Pr},xn)),xn){var xr=Au(me,Yt);tt.push(xr)}}),{size:ye,shape:be,stops:tt,position:St,type:2}},pc=function(me){return me.type===1},Ih=function(me){return me.type===2},$A={name:"image",parse:function(me,ce){if(ce.type===22){var be={url:ce.value,type:0};return me.cache.addImage(ce.value),be}if(ce.type===18){var ye=Id[ce.name];if(typeof ye=="undefined")throw new Error('Attempting to parse an unsupported image function "'+ce.name+'"');return ye(me,ce.values)}throw new Error("Unsupported image type "+ce.type)}};function Lh(me){return!(me.type===20&&me.value==="none")&&(me.type!==18||!!Id[me.name])}var Id={"linear-gradient":rc,"-moz-linear-gradient":Sd,"-ms-linear-gradient":Sd,"-o-linear-gradient":Sd,"-webkit-linear-gradient":Sd,"radial-gradient":Os,"-moz-radial-gradient":$u,"-ms-radial-gradient":$u,"-o-radial-gradient":$u,"-webkit-radial-gradient":$u,"-webkit-gradient":Xf},Jf={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(me,ce){if(ce.length===0)return[];var be=ce[0];return be.type===20&&be.value==="none"?[]:ce.filter(function(ye){return ga(ye)&&Lh(ye)}).map(function(ye){return $A.parse(me,ye)})}},bf={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(me,ce){return ce.map(function(be){if(Ha(be))switch(be.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Cf={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(me,ce){return Ta(ce).map(function(be){return be.filter(ps)}).map(Cu)}},GA={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(me,ce){return Ta(ce).map(function(be){return be.filter(Ha).map(function(ye){return ye.value}).join(" ")}).map(wa)}},wa=function(me){switch(me){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Tl;(function(me){me.AUTO="auto",me.CONTAIN="contain",me.COVER="cover"})(Tl||(Tl={}));var TA={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(me,ce){return Ta(ce).map(function(be){return be.filter(id)})}},id=function(me){return Ha(me)||ps(me)},Tc=function(me){return{name:"border-"+me+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Zp=Tc("top"),kc=Tc("right"),qf=Tc("bottom"),kA=Tc("left"),od=function(me){return{name:"border-radius-"+me,initialValue:"0 0",prefix:!1,type:1,parse:function(ce,be){return Cu(be.filter(ps))}}},Wp=od("top-left"),gc=od("top-right"),LA=od("bottom-right"),nA=od("bottom-left"),Ks=function(me){return{name:"border-"+me+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(ce,be){switch(be){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},mc=Ks("top"),ad=Ks("right"),sd=Ks("bottom"),vc=Ks("left"),Mc=function(me){return{name:"border-"+me+"-width",initialValue:"0",type:0,prefix:!1,parse:function(ce,be){return qa(be)?be.number:0}}},xf=Mc("top"),Ld=Mc("right"),Dh=Mc("bottom"),$p=Mc("left"),rA={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},yc={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(me,ce){switch(ce){case"rtl":return 1;case"ltr":default:return 0}}},ip={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(me,ce){return ce.filter(Ha).reduce(function(be,ye){return be|Gp(ye.value)},0)}},Gp=function(me){switch(me){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Xd={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(me,ce){switch(ce){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},op={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(me,ce){return ce.type===20&&ce.value==="normal"?0:ce.type===17||ce.type===15?ce.number:0}},Yd;(function(me){me.NORMAL="normal",me.STRICT="strict"})(Yd||(Yd={}));var Vp={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(me,ce){switch(ce){case"strict":return Yd.STRICT;case"normal":default:return Yd.NORMAL}}},iA={name:"line-height",initialValue:"normal",prefix:!1,type:4},Nu=function(me,ce){return Ha(me)&&me.value==="normal"?1.2*ce:me.type===17?ce*me.number:ps(me)?aa(me,ce):ce},oA={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(me,ce){return ce.type===20&&ce.value==="none"?null:$A.parse(me,ce)}},Ou={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(me,ce){switch(ce){case"inside":return 0;case"outside":default:return 1}}},ld={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(me,ce){switch(ce){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Jd=function(me){return{name:"margin-"+me,initialValue:"0",prefix:!1,type:4}},Bf=Jd("top"),ap=Jd("right"),sp=Jd("bottom"),lp=Jd("left"),eh={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(me,ce){return ce.filter(Ha).map(function(be){switch(be.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},wc={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(me,ce){switch(ce){case"break-word":return"break-word";case"normal":default:return"normal"}}},Dd=function(me){return{name:"padding-"+me,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},up=Dd("top"),wt=Dd("right"),vt=Dd("bottom"),Gt=Dd("left"),An={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(me,ce){switch(ce){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Sn={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(me,ce){switch(ce){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Tn={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(me,ce){return ce.length===1&&uu(ce[0],"none")?[]:Ta(ce).map(function(be){for(var ye={color:Rs.TRANSPARENT,offsetX:pl,offsetY:pl,blur:pl},tt=0,St=0;St<be.length;St++){var Yt=be[St];Pl(Yt)?(tt===0?ye.offsetX=Yt:tt===1?ye.offsetY=Yt:ye.blur=Yt,tt++):ye.color=Cl.parse(me,Yt)}return ye})}},or={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(me,ce){switch(ce){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},qn={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(me,ce){if(ce.type===20&&ce.value==="none")return null;if(ce.type===18){var be=ui[ce.name];if(typeof be=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+ce.name+'"');return be(ce.values)}return null}},Cr=function(me){var ce=me.filter(function(be){return be.type===17}).map(function(be){return be.number});return ce.length===6?ce:null},hr=function(me){var ce=me.filter(function(xn){return xn.type===17}).map(function(xn){return xn.number}),be=ce[0],ye=ce[1];ce[2],ce[3];var tt=ce[4],St=ce[5];ce[6],ce[7],ce[8],ce[9],ce[10],ce[11];var Yt=ce[12],Bn=ce[13];return ce[14],ce[15],ce.length===16?[be,ye,tt,St,Yt,Bn]:null},ui={matrix:Cr,matrix3d:hr},jr={type:16,number:50,flags:Xt},Qr=[jr,jr],Or={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(me,ce){var be=ce.filter(ps);return be.length!==2?Qr:[be[0],be[1]]}},Dr={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(me,ce){switch(ce){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},$i;(function(me){me.NORMAL="normal",me.BREAK_ALL="break-all",me.KEEP_ALL="keep-all"})($i||($i={}));for(var bi={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(me,ce){switch(ce){case"break-all":return $i.BREAK_ALL;case"keep-all":return $i.KEEP_ALL;case"normal":default:return $i.NORMAL}}},qi={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(me,ce){if(ce.type===20)return{auto:!0,order:0};if(Xa(ce))return{auto:!1,order:ce.number};throw new Error("Invalid z-index number parsed")}},so={name:"time",parse:function(me,ce){if(ce.type===15)switch(ce.unit.toLowerCase()){case"s":return 1e3*ce.number;case"ms":return ce.number}throw new Error("Unsupported time type")}},Ji={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(me,ce){return Xa(ce)?ce.number:1}},po={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Eo={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(me,ce){return ce.filter(Ha).map(function(be){switch(be.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(be){return be!==0})}},Ro={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(me,ce){var be=[],ye=[];return ce.forEach(function(tt){switch(tt.type){case 20:case 0:be.push(tt.value);break;case 17:be.push(tt.number.toString());break;case 4:ye.push(be.join(" ")),be.length=0;break}}),be.length&&ye.push(be.join(" ")),ye.map(function(tt){return tt.indexOf(" ")===-1?tt:"'"+tt+"'"})}},_o={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},La={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(me,ce){if(Xa(ce))return ce.number;if(Ha(ce))switch(ce.value){case"bold":return 700;case"normal":default:return 400}return 400}},sa={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(me,ce){return ce.filter(Ha).map(function(be){return be.value})}},ea={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(me,ce){switch(ce){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Ho=function(me,ce){return(me&ce)!==0},jo={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(me,ce){if(ce.length===0)return[];var be=ce[0];return be.type===20&&be.value==="none"?[]:ce}},Qo={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(me,ce){if(ce.length===0)return null;var be=ce[0];if(be.type===20&&be.value==="none")return null;for(var ye=[],tt=ce.filter(ji),St=0;St<tt.length;St++){var Yt=tt[St],Bn=tt[St+1];if(Yt.type===20){var xn=Bn&&Xa(Bn)?Bn.number:1;ye.push({counter:Yt.value,increment:xn})}}return ye}},yo={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(me,ce){if(ce.length===0)return[];for(var be=[],ye=ce.filter(ji),tt=0;tt<ye.length;tt++){var St=ye[tt],Yt=ye[tt+1];if(Ha(St)&&St.value!=="none"){var Bn=Yt&&Xa(Yt)?Yt.number:0;be.push({counter:St.value,reset:Bn})}}return be}},ho={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(me,ce){return ce.filter(qa).map(function(be){return so.parse(me,be)})}},To={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(me,ce){if(ce.length===0)return null;var be=ce[0];if(be.type===20&&be.value==="none")return null;var ye=[],tt=ce.filter(Wl);if(tt.length%2!==0)return null;for(var St=0;St<tt.length;St+=2){var Yt=tt[St].value,Bn=tt[St+1].value;ye.push({open:Yt,close:Bn})}return ye}},Zo=function(me,ce,be){if(!me)return"";var ye=me[Math.min(ce,me.length-1)];return ye?be?ye.open:ye.close:""},na={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(me,ce){return ce.length===1&&uu(ce[0],"none")?[]:Ta(ce).map(function(be){for(var ye={color:255,offsetX:pl,offsetY:pl,blur:pl,spread:pl,inset:!1},tt=0,St=0;St<be.length;St++){var Yt=be[St];uu(Yt,"inset")?ye.inset=!0:Pl(Yt)?(tt===0?ye.offsetX=Yt:tt===1?ye.offsetY=Yt:tt===2?ye.blur=Yt:ye.spread=Yt,tt++):ye.color=Cl.parse(me,Yt)}return ye})}},Bo={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(me,ce){var be=[0,1,2],ye=[];return ce.filter(Ha).forEach(function(tt){switch(tt.value){case"stroke":ye.push(1);break;case"fill":ye.push(0);break;case"markers":ye.push(2);break}}),be.forEach(function(tt){ye.indexOf(tt)===-1&&ye.push(tt)}),ye}},Ja={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},za={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(me,ce){return qa(ce)?ce.number:0}},Dl=function(){function me(ce,be){var ye,tt;this.animationDuration=lo(ce,ho,be.animationDuration),this.backgroundClip=lo(ce,tA,be.backgroundClip),this.backgroundColor=lo(ce,Vl,be.backgroundColor),this.backgroundImage=lo(ce,Jf,be.backgroundImage),this.backgroundOrigin=lo(ce,bf,be.backgroundOrigin),this.backgroundPosition=lo(ce,Cf,be.backgroundPosition),this.backgroundRepeat=lo(ce,GA,be.backgroundRepeat),this.backgroundSize=lo(ce,TA,be.backgroundSize),this.borderTopColor=lo(ce,Zp,be.borderTopColor),this.borderRightColor=lo(ce,kc,be.borderRightColor),this.borderBottomColor=lo(ce,qf,be.borderBottomColor),this.borderLeftColor=lo(ce,kA,be.borderLeftColor),this.borderTopLeftRadius=lo(ce,Wp,be.borderTopLeftRadius),this.borderTopRightRadius=lo(ce,gc,be.borderTopRightRadius),this.borderBottomRightRadius=lo(ce,LA,be.borderBottomRightRadius),this.borderBottomLeftRadius=lo(ce,nA,be.borderBottomLeftRadius),this.borderTopStyle=lo(ce,mc,be.borderTopStyle),this.borderRightStyle=lo(ce,ad,be.borderRightStyle),this.borderBottomStyle=lo(ce,sd,be.borderBottomStyle),this.borderLeftStyle=lo(ce,vc,be.borderLeftStyle),this.borderTopWidth=lo(ce,xf,be.borderTopWidth),this.borderRightWidth=lo(ce,Ld,be.borderRightWidth),this.borderBottomWidth=lo(ce,Dh,be.borderBottomWidth),this.borderLeftWidth=lo(ce,$p,be.borderLeftWidth),this.boxShadow=lo(ce,na,be.boxShadow),this.color=lo(ce,rA,be.color),this.direction=lo(ce,yc,be.direction),this.display=lo(ce,ip,be.display),this.float=lo(ce,Xd,be.cssFloat),this.fontFamily=lo(ce,Ro,be.fontFamily),this.fontSize=lo(ce,_o,be.fontSize),this.fontStyle=lo(ce,ea,be.fontStyle),this.fontVariant=lo(ce,sa,be.fontVariant),this.fontWeight=lo(ce,La,be.fontWeight),this.letterSpacing=lo(ce,op,be.letterSpacing),this.lineBreak=lo(ce,Vp,be.lineBreak),this.lineHeight=lo(ce,iA,be.lineHeight),this.listStyleImage=lo(ce,oA,be.listStyleImage),this.listStylePosition=lo(ce,Ou,be.listStylePosition),this.listStyleType=lo(ce,ld,be.listStyleType),this.marginTop=lo(ce,Bf,be.marginTop),this.marginRight=lo(ce,ap,be.marginRight),this.marginBottom=lo(ce,sp,be.marginBottom),this.marginLeft=lo(ce,lp,be.marginLeft),this.opacity=lo(ce,Ji,be.opacity);var St=lo(ce,eh,be.overflow);this.overflowX=St[0],this.overflowY=St[St.length>1?1:0],this.overflowWrap=lo(ce,wc,be.overflowWrap),this.paddingTop=lo(ce,up,be.paddingTop),this.paddingRight=lo(ce,wt,be.paddingRight),this.paddingBottom=lo(ce,vt,be.paddingBottom),this.paddingLeft=lo(ce,Gt,be.paddingLeft),this.paintOrder=lo(ce,Bo,be.paintOrder),this.position=lo(ce,Sn,be.position),this.textAlign=lo(ce,An,be.textAlign),this.textDecorationColor=lo(ce,po,(ye=be.textDecorationColor)!==null&&ye!==void 0?ye:be.color),this.textDecorationLine=lo(ce,Eo,(tt=be.textDecorationLine)!==null&&tt!==void 0?tt:be.textDecoration),this.textShadow=lo(ce,Tn,be.textShadow),this.textTransform=lo(ce,or,be.textTransform),this.transform=lo(ce,qn,be.transform),this.transformOrigin=lo(ce,Or,be.transformOrigin),this.visibility=lo(ce,Dr,be.visibility),this.webkitTextStrokeColor=lo(ce,Ja,be.webkitTextStrokeColor),this.webkitTextStrokeWidth=lo(ce,za,be.webkitTextStrokeWidth),this.wordBreak=lo(ce,bi,be.wordBreak),this.zIndex=lo(ce,qi,be.zIndex)}return me.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},me.prototype.isTransparent=function(){return rl(this.backgroundColor)},me.prototype.isTransformed=function(){return this.transform!==null},me.prototype.isPositioned=function(){return this.position!==0},me.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},me.prototype.isFloating=function(){return this.float!==0},me.prototype.isInlineLevel=function(){return Ho(this.display,4)||Ho(this.display,33554432)||Ho(this.display,268435456)||Ho(this.display,536870912)||Ho(this.display,67108864)||Ho(this.display,134217728)},me}(),xl=function(){function me(ce,be){this.content=lo(ce,jo,be.content),this.quotes=lo(ce,To,be.quotes)}return me}(),ol=function(){function me(ce,be){this.counterIncrement=lo(ce,Qo,be.counterIncrement),this.counterReset=lo(ce,yo,be.counterReset)}return me}(),lo=function(me,ce,be){var ye=new ma,tt=be!==null&&typeof be!="undefined"?be.toString():ce.initialValue;ye.write(tt);var St=new Ca(ye.read());switch(ce.type){case 2:var Yt=St.parseComponentValue();return ce.parse(me,Ha(Yt)?Yt.value:ce.initialValue);case 0:return ce.parse(me,St.parseComponentValue());case 1:return ce.parse(me,St.parseComponentValues());case 4:return St.parseComponentValue();case 3:switch(ce.format){case"angle":return eA.parse(me,St.parseComponentValue());case"color":return Cl.parse(me,St.parseComponentValue());case"image":return $A.parse(me,St.parseComponentValue());case"length":var Bn=St.parseComponentValue();return Pl(Bn)?Bn:pl;case"length-percentage":var xn=St.parseComponentValue();return ps(xn)?xn:pl;case"time":return so.parse(me,St.parseComponentValue())}break}},Yl="data-html2canvas-debug",os=function(me){var ce=me.getAttribute(Yl);switch(ce){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},rs=function(me,ce){var be=os(me);return be===1||ce===be},il=function(){function me(ce,be){if(this.context=ce,this.textNodes=[],this.elements=[],this.flags=0,rs(be,3))debugger;this.styles=new Dl(ce,window.getComputedStyle(be,null)),Ph(be)&&(this.styles.animationDuration.some(function(ye){return ye>0})&&(be.style.animationDuration="0s"),this.styles.transform!==null&&(be.style.transform="none")),this.bounds=Se(this.context,be),rs(be,4)&&(this.flags|=16)}return me}(),cu="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",ra="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xa=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Wo=0;Wo<ra.length;Wo++)xa[ra.charCodeAt(Wo)]=Wo;for(var Oo=function(me){var ce=me.length*.75,be=me.length,ye,tt=0,St,Yt,Bn,xn;me[me.length-1]==="="&&(ce--,me[me.length-2]==="="&&ce--);var xr=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(ce):new Array(ce),Pr=Array.isArray(xr)?xr:new Uint8Array(xr);for(ye=0;ye<be;ye+=4)St=xa[me.charCodeAt(ye)],Yt=xa[me.charCodeAt(ye+1)],Bn=xa[me.charCodeAt(ye+2)],xn=xa[me.charCodeAt(ye+3)],Pr[tt++]=St<<2|Yt>>4,Pr[tt++]=(Yt&15)<<4|Bn>>2,Pr[tt++]=(Bn&3)<<6|xn&63;return xr},As=function(me){for(var ce=me.length,be=[],ye=0;ye<ce;ye+=2)be.push(me[ye+1]<<8|me[ye]);return be},Es=function(me){for(var ce=me.length,be=[],ye=0;ye<ce;ye+=4)be.push(me[ye+3]<<24|me[ye+2]<<16|me[ye+1]<<8|me[ye]);return be},Vs=5,Zs=11,al=2,hu=Zs-Vs,la=65536>>Vs,qo=1<<Vs,bs=qo-1,qs=1024>>Vs,Xs=la+qs,pu=Xs,Nl=32,aA=pu+Nl,Bl=65536>>Zs,gs=1<<hu,sl=gs-1,ll=function(me,ce,be){return me.slice?me.slice(ce,be):new Uint16Array(Array.prototype.slice.call(me,ce,be))},du=function(me,ce,be){return me.slice?me.slice(ce,be):new Uint32Array(Array.prototype.slice.call(me,ce,be))},Ol=function(me,ce){var be=Oo(me),ye=Array.isArray(be)?Es(be):new Uint32Array(be),tt=Array.isArray(be)?As(be):new Uint16Array(be),St=24,Yt=ll(tt,St/2,ye[4]/2),Bn=ye[5]===2?ll(tt,(St+ye[4])/2):du(ye,Math.ceil((St+ye[4])/4));return new ms(ye[0],ye[1],ye[2],ye[3],Yt,Bn)},ms=function(){function me(ce,be,ye,tt,St,Yt){this.initialValue=ce,this.errorValue=be,this.highStart=ye,this.highValueIndex=tt,this.index=St,this.data=Yt}return me.prototype.get=function(ce){var be;if(ce>=0){if(ce<55296||ce>56319&&ce<=65535)return be=this.index[ce>>Vs],be=(be<<al)+(ce&bs),this.data[be];if(ce<=65535)return be=this.index[la+(ce-55296>>Vs)],be=(be<<al)+(ce&bs),this.data[be];if(ce<this.highStart)return be=aA-Bl+(ce>>Zs),be=this.index[be],be+=ce>>Vs&sl,be=this.index[be],be=(be<<al)+(ce&bs),this.data[be];if(ce<=1114111)return this.data[this.highValueIndex]}return this.errorValue},me}(),gl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ss=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),ml=0;ml<gl.length;ml++)Ss[gl.charCodeAt(ml)]=ml;var Jl=1,Pu=2,_u=3,VA=4,ul=5,Nd=7,Ru=8,Gu=9,ju=10,Vu=11,Al=12,vA=13,bc=14,MA=15,XA=function(me){for(var ce=[],be=0,ye=me.length;be<ye;){var tt=me.charCodeAt(be++);if(tt>=55296&&tt<=56319&&be<ye){var St=me.charCodeAt(be++);(St&64512)===56320?ce.push(((tt&1023)<<10)+(St&1023)+65536):(ce.push(tt),be--)}else ce.push(tt)}return ce},qd=function(){for(var me=[],ce=0;ce<arguments.length;ce++)me[ce]=arguments[ce];if(String.fromCodePoint)return String.fromCodePoint.apply(String,me);var be=me.length;if(!be)return"";for(var ye=[],tt=-1,St="";++tt<be;){var Yt=me[tt];Yt<=65535?ye.push(Yt):(Yt-=65536,ye.push((Yt>>10)+55296,Yt%1024+56320)),(tt+1===be||ye.length>16384)&&(St+=String.fromCharCode.apply(String,ye),ye.length=0)}return St},ef=Ol(cu),Fs="\xD7",ud="\xF7",Ef=function(me){return ef.get(me)},Ka=function(me,ce,be){var ye=be-2,tt=ce[ye],St=ce[be-1],Yt=ce[be];if(St===Pu&&Yt===_u)return Fs;if(St===Pu||St===_u||St===VA||Yt===Pu||Yt===_u||Yt===VA)return ud;if(St===Ru&&[Ru,Gu,Vu,Al].indexOf(Yt)!==-1||(St===Vu||St===Gu)&&(Yt===Gu||Yt===ju)||(St===Al||St===ju)&&Yt===ju||Yt===vA||Yt===ul||Yt===Nd||St===Jl)return Fs;if(St===vA&&Yt===bc){for(;tt===ul;)tt=ce[--ye];if(tt===bc)return Fs}if(St===MA&&Yt===MA){for(var Bn=0;tt===MA;)Bn++,tt=ce[--ye];if(Bn%2===0)return Fs}return ud},cs=function(me){var ce=XA(me),be=ce.length,ye=0,tt=0,St=ce.map(Ef);return{next:function(){if(ye>=be)return{done:!0,value:null};for(var Yt=Fs;ye<be&&(Yt=Ka(ce,St,++ye))===Fs;);if(Yt!==Fs||ye===be){var Bn=qd.apply(null,ce.slice(tt,ye));return tt=ye,{value:Bn,done:!1}}return{done:!0,value:null}}}},kl=function(me){for(var ce=cs(me),be=[],ye;!(ye=ce.next()).done;)ye.value&&be.push(ye.value.slice());return be},ou=function(me){var ce=123;if(me.createRange){var be=me.createRange();if(be.getBoundingClientRect){var ye=me.createElement("boundtest");ye.style.height=ce+"px",ye.style.display="block",me.body.appendChild(ye),be.selectNode(ye);var tt=be.getBoundingClientRect(),St=Math.round(tt.height);if(me.body.removeChild(ye),St===ce)return!0}}return!1},Bu=function(me){var ce=me.createElement("boundtest");ce.style.width="50px",ce.style.display="block",ce.style.fontSize="12px",ce.style.letterSpacing="0px",ce.style.wordSpacing="0px",me.body.appendChild(ce);var be=me.createRange();ce.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var ye=ce.firstChild,tt=fe(ye.data).map(function(xn){return Ce(xn)}),St=0,Yt={},Bn=tt.every(function(xn,xr){be.setStart(ye,St),be.setEnd(ye,St+xn.length);var Pr=be.getBoundingClientRect();St+=xn.length;var Kr=Pr.x>Yt.x||Pr.y>Yt.y;return Yt=Pr,xr===0?!0:Kr});return me.body.removeChild(ce),Bn},Eu=function(){return typeof new Image().crossOrigin!="undefined"},Xu=function(){return typeof new XMLHttpRequest().responseType=="string"},Qu=function(me){var ce=new Image,be=me.createElement("canvas"),ye=be.getContext("2d");if(!ye)return!1;ce.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{ye.drawImage(ce,0,0),be.toDataURL()}catch(tt){return!1}return!0},Zc=function(me){return me[0]===0&&me[1]===255&&me[2]===0&&me[3]===255},Sf=function(me){var ce=me.createElement("canvas"),be=100;ce.width=be,ce.height=be;var ye=ce.getContext("2d");if(!ye)return Promise.reject(!1);ye.fillStyle="rgb(0, 255, 0)",ye.fillRect(0,0,be,be);var tt=new Image,St=ce.toDataURL();tt.src=St;var Yt=Wc(be,be,0,0,tt);return ye.fillStyle="red",ye.fillRect(0,0,be,be),$c(Yt).then(function(Bn){ye.drawImage(Bn,0,0);var xn=ye.getImageData(0,0,be,be).data;ye.fillStyle="red",ye.fillRect(0,0,be,be);var xr=me.createElement("div");return xr.style.backgroundImage="url("+St+")",xr.style.height=be+"px",Zc(xn)?$c(Wc(be,be,0,0,xr)):Promise.reject(!1)}).then(function(Bn){return ye.drawImage(Bn,0,0),Zc(ye.getImageData(0,0,be,be).data)}).catch(function(){return!1})},Wc=function(me,ce,be,ye,tt){var St="http://www.w3.org/2000/svg",Yt=document.createElementNS(St,"svg"),Bn=document.createElementNS(St,"foreignObject");return Yt.setAttributeNS(null,"width",me.toString()),Yt.setAttributeNS(null,"height",ce.toString()),Bn.setAttributeNS(null,"width","100%"),Bn.setAttributeNS(null,"height","100%"),Bn.setAttributeNS(null,"x",be.toString()),Bn.setAttributeNS(null,"y",ye.toString()),Bn.setAttributeNS(null,"externalResourcesRequired","true"),Yt.appendChild(Bn),Bn.appendChild(tt),Yt},$c=function(me){return new Promise(function(ce,be){var ye=new Image;ye.onload=function(){return ce(ye)},ye.onerror=be,ye.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(me))})},gu={get SUPPORT_RANGE_BOUNDS(){var me=ou(document);return Object.defineProperty(gu,"SUPPORT_RANGE_BOUNDS",{value:me}),me},get SUPPORT_WORD_BREAKING(){var me=gu.SUPPORT_RANGE_BOUNDS&&Bu(document);return Object.defineProperty(gu,"SUPPORT_WORD_BREAKING",{value:me}),me},get SUPPORT_SVG_DRAWING(){var me=Qu(document);return Object.defineProperty(gu,"SUPPORT_SVG_DRAWING",{value:me}),me},get SUPPORT_FOREIGNOBJECT_DRAWING(){var me=typeof Array.from=="function"&&typeof window.fetch=="function"?Sf(document):Promise.resolve(!1);return Object.defineProperty(gu,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:me}),me},get SUPPORT_CORS_IMAGES(){var me=Eu();return Object.defineProperty(gu,"SUPPORT_CORS_IMAGES",{value:me}),me},get SUPPORT_RESPONSE_TYPE(){var me=Xu();return Object.defineProperty(gu,"SUPPORT_RESPONSE_TYPE",{value:me}),me},get SUPPORT_CORS_XHR(){var me="withCredentials"in new XMLHttpRequest;return Object.defineProperty(gu,"SUPPORT_CORS_XHR",{value:me}),me},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var me=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(gu,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:me}),me}},UA=function(){function me(ce,be){this.text=ce,this.bounds=be}return me}(),tf=function(me,ce,be,ye){var tt=th(ce,be),St=[],Yt=0;return tt.forEach(function(Bn){if(be.textDecorationLine.length||Bn.trim().length>0)if(gu.SUPPORT_RANGE_BOUNDS){var xn=nf(ye,Yt,Bn.length).getClientRects();if(xn.length>1){var xr=If(Bn),Pr=0;xr.forEach(function(_i){St.push(new UA(_i,He.fromDOMRectList(me,nf(ye,Pr+Yt,_i.length).getClientRects()))),Pr+=_i.length})}else St.push(new UA(Bn,He.fromDOMRectList(me,xn)))}else{var Kr=ye.splitText(Bn.length);St.push(new UA(Bn,Ff(me,ye))),ye=Kr}else gu.SUPPORT_RANGE_BOUNDS||(ye=ye.splitText(Bn.length));Yt+=Bn.length}),St},Ff=function(me,ce){var be=ce.ownerDocument;if(be){var ye=be.createElement("html2canvaswrapper");ye.appendChild(ce.cloneNode(!0));var tt=ce.parentNode;if(tt){tt.replaceChild(ye,ce);var St=Se(me,ye);return ye.firstChild&&tt.replaceChild(ye.firstChild,ye),St}}return He.EMPTY},nf=function(me,ce,be){var ye=me.ownerDocument;if(!ye)throw new Error("Node has no owner document");var tt=ye.createRange();return tt.setStart(me,ce),tt.setEnd(me,ce+be),tt},If=function(me){if(gu.SUPPORT_NATIVE_TEXT_SEGMENTATION){var ce=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(ce.segment(me)).map(function(be){return be.segment})}return kl(me)},Gc=function(me,ce){if(gu.SUPPORT_NATIVE_TEXT_SEGMENTATION){var be=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(be.segment(me)).map(function(ye){return ye.segment})}return nh(me,ce)},th=function(me,ce){return ce.letterSpacing!==0?If(me):Gc(me,ce)},Ap=[32,160,4961,65792,65793,4153,4241],nh=function(me,ce){for(var be=fr(me,{lineBreak:ce.lineBreak,wordBreak:ce.overflowWrap==="break-word"?"break-word":ce.wordBreak}),ye=[],tt,St=function(){if(tt.value){var Yt=tt.value.slice(),Bn=fe(Yt),xn="";Bn.forEach(function(xr){Ap.indexOf(xr)===-1?xn+=Ce(xr):(xn.length&&ye.push(xn),ye.push(Ce(xr)),xn="")}),xn.length&&ye.push(xn)}};!(tt=be.next()).done;)St();return ye},rf=function(){function me(ce,be,ye){this.text=cp(be.data,ye.textTransform),this.textBounds=tf(ce,this.text,ye,be)}return me}(),cp=function(me,ce){switch(ce){case 1:return me.toLowerCase();case 3:return me.replace(dp,of);case 2:return me.toUpperCase();default:return me}},dp=/(^|\s|:|-|\(|\))([a-z])/g,of=function(me,ce,be){return me.length>0?ce+be.toUpperCase():me},Lf=function(me){ae(ce,me);function ce(be,ye){var tt=me.call(this,be,ye)||this;return tt.src=ye.currentSrc||ye.src,tt.intrinsicWidth=ye.naturalWidth,tt.intrinsicHeight=ye.naturalHeight,tt.context.cache.addImage(tt.src),tt}return ce}(il),Od=function(me){ae(ce,me);function ce(be,ye){var tt=me.call(this,be,ye)||this;return tt.canvas=ye,tt.intrinsicWidth=ye.width,tt.intrinsicHeight=ye.height,tt}return ce}(il),Df=function(me){ae(ce,me);function ce(be,ye){var tt=me.call(this,be,ye)||this,St=new XMLSerializer,Yt=Se(be,ye);return ye.setAttribute("width",Yt.width+"px"),ye.setAttribute("height",Yt.height+"px"),tt.svg="data:image/svg+xml,"+encodeURIComponent(St.serializeToString(ye)),tt.intrinsicWidth=ye.width.baseVal.value,tt.intrinsicHeight=ye.height.baseVal.value,tt.context.cache.addImage(tt.svg),tt}return ce}(il),Pd=function(me){ae(ce,me);function ce(be,ye){var tt=me.call(this,be,ye)||this;return tt.value=ye.value,tt}return ce}(il),af=function(me){ae(ce,me);function ce(be,ye){var tt=me.call(this,be,ye)||this;return tt.start=ye.start,tt.reversed=typeof ye.reversed=="boolean"&&ye.reversed===!0,tt}return ce}(il),Cc=[{type:15,flags:0,unit:"px",number:3}],rh=[{type:16,flags:0,number:50}],ih=function(me){return me.width>me.height?new He(me.left+(me.width-me.height)/2,me.top,me.height,me.height):me.width<me.height?new He(me.left,me.top+(me.height-me.width)/2,me.width,me.width):me},Nh=function(me){var ce=me.type===Bc?new Array(me.value.length+1).join("\u2022"):me.value;return ce.length===0?me.placeholder||"":ce},Ad="checkbox",xc="radio",Bc="password",_d=707406591,cd=function(me){ae(ce,me);function ce(be,ye){var tt=me.call(this,be,ye)||this;switch(tt.type=ye.type.toLowerCase(),tt.checked=ye.checked,tt.value=Nh(ye),(tt.type===Ad||tt.type===xc)&&(tt.styles.backgroundColor=3739148031,tt.styles.borderTopColor=tt.styles.borderRightColor=tt.styles.borderBottomColor=tt.styles.borderLeftColor=2779096575,tt.styles.borderTopWidth=tt.styles.borderRightWidth=tt.styles.borderBottomWidth=tt.styles.borderLeftWidth=1,tt.styles.borderTopStyle=tt.styles.borderRightStyle=tt.styles.borderBottomStyle=tt.styles.borderLeftStyle=1,tt.styles.backgroundClip=[0],tt.styles.backgroundOrigin=[0],tt.bounds=ih(tt.bounds)),tt.type){case Ad:tt.styles.borderTopRightRadius=tt.styles.borderTopLeftRadius=tt.styles.borderBottomRightRadius=tt.styles.borderBottomLeftRadius=Cc;break;case xc:tt.styles.borderTopRightRadius=tt.styles.borderTopLeftRadius=tt.styles.borderBottomRightRadius=tt.styles.borderBottomLeftRadius=rh;break}return tt}return ce}(il),Oh=function(me){ae(ce,me);function ce(be,ye){var tt=me.call(this,be,ye)||this,St=ye.options[ye.selectedIndex||0];return tt.value=St&&St.text||"",tt}return ce}(il),ds=function(me){ae(ce,me);function ce(be,ye){var tt=me.call(this,be,ye)||this;return tt.value=ye.value,tt}return ce}(il),Is=function(me){ae(ce,me);function ce(be,ye){var tt=me.call(this,be,ye)||this;tt.src=ye.src,tt.width=parseInt(ye.width,10)||0,tt.height=parseInt(ye.height,10)||0,tt.backgroundColor=tt.styles.backgroundColor;try{if(ye.contentWindow&&ye.contentWindow.document&&ye.contentWindow.document.documentElement){tt.tree=dd(be,ye.contentWindow.document.documentElement);var St=ye.contentWindow.document.documentElement?Ua(be,getComputedStyle(ye.contentWindow.document.documentElement).backgroundColor):Rs.TRANSPARENT,Yt=ye.contentWindow.document.body?Ua(be,getComputedStyle(ye.contentWindow.document.body).backgroundColor):Rs.TRANSPARENT;tt.backgroundColor=rl(St)?rl(Yt)?tt.styles.backgroundColor:Yt:St}}catch(Bn){}return tt}return ce}(il),mu=["OL","UL","MENU"],Hu=function(me,ce,be,ye){for(var tt=ce.firstChild,St=void 0;tt;tt=St)if(St=tt.nextSibling,fd(tt)&&tt.data.trim().length>0)be.textNodes.push(new rf(me,tt,be.styles));else if(Xc(tt))if(fp(tt)&&tt.assignedNodes)tt.assignedNodes().forEach(function(Bn){return Hu(me,Bn,be,ye)});else{var Yt=zu(me,tt);Yt.styles.isVisible()&&(Vc(tt,Yt,ye)?Yt.flags|=4:Uc(Yt.styles)&&(Yt.flags|=2),mu.indexOf(tt.tagName)!==-1&&(Yt.flags|=8),be.elements.push(Yt),tt.slot,tt.shadowRoot?Hu(me,tt.shadowRoot,Yt,ye):!Nf(tt)&&!Yp(tt)&&!sh(tt)&&Hu(me,tt,Yt,ye))}},zu=function(me,ce){return sf(ce)?new Lf(me,ce):Jp(ce)?new Od(me,ce):Yp(ce)?new Df(me,ce):Xp(ce)?new Pd(me,ce):_h(ce)?new af(me,ce):mg(ce)?new cd(me,ce):sh(ce)?new Oh(me,ce):Nf(ce)?new ds(me,ce):Ec(ce)?new Is(me,ce):new il(me,ce)},dd=function(me,ce){var be=zu(me,ce);return be.flags|=4,Hu(me,ce,be,be),be},Vc=function(me,ce,be){return ce.styles.isPositionedWithZIndex()||ce.styles.opacity<1||ce.styles.isTransformed()||Ml(me)&&be.styles.isTransparent()},Uc=function(me){return me.isPositioned()||me.isFloating()},fd=function(me){return me.nodeType===Node.TEXT_NODE},Xc=function(me){return me.nodeType===Node.ELEMENT_NODE},Ph=function(me){return Xc(me)&&typeof me.style!="undefined"&&!hd(me)},hd=function(me){return typeof me.className=="object"},Xp=function(me){return me.tagName==="LI"},_h=function(me){return me.tagName==="OL"},mg=function(me){return me.tagName==="INPUT"},vg=function(me){return me.tagName==="HTML"},Yp=function(me){return me.tagName==="svg"},Ml=function(me){return me.tagName==="BODY"},Jp=function(me){return me.tagName==="CANVAS"},Th=function(me){return me.tagName==="VIDEO"},sf=function(me){return me.tagName==="IMG"},Ec=function(me){return me.tagName==="IFRAME"},oh=function(me){return me.tagName==="STYLE"},ah=function(me){return me.tagName==="SCRIPT"},Nf=function(me){return me.tagName==="TEXTAREA"},sh=function(me){return me.tagName==="SELECT"},fp=function(me){return me.tagName==="SLOT"},hp=function(me){return me.tagName.indexOf("-")>0},yg=function(){function me(){this.counters={}}return me.prototype.getCounterValue=function(ce){var be=this.counters[ce];return be&&be.length?be[be.length-1]:1},me.prototype.getCounterValues=function(ce){var be=this.counters[ce];return be||[]},me.prototype.pop=function(ce){var be=this;ce.forEach(function(ye){return be.counters[ye].pop()})},me.prototype.parse=function(ce){var be=this,ye=ce.counterIncrement,tt=ce.counterReset,St=!0;ye!==null&&ye.forEach(function(Bn){var xn=be.counters[Bn.counter];xn&&Bn.increment!==0&&(St=!1,xn.length||xn.push(1),xn[Math.max(0,xn.length-1)]+=Bn.increment)});var Yt=[];return St&&tt.forEach(function(Bn){var xn=be.counters[Bn.counter];Yt.push(Bn.counter),xn||(xn=be.counters[Bn.counter]=[]),xn.push(Bn.reset)}),Yt},me}(),pp={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},lh={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},qp={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},vl={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},Td=function(me,ce,be,ye,tt,St){return me<ce||me>be?ne(me,tt,St.length>0):ye.integers.reduce(function(Yt,Bn,xn){for(;me>=Bn;)me-=Bn,Yt+=ye.values[xn];return Yt},"")+St},wg=function(me,ce,be,ye){var tt="";do be||me--,tt=ye(me)+tt,me/=ce;while(me*ce>=ce);return tt},Ul=function(me,ce,be,ye,tt){var St=be-ce+1;return(me<0?"-":"")+(wg(Math.abs(me),St,ye,function(Yt){return Ce(Math.floor(Yt%St)+ce)})+tt)},kd=function(me,ce,be){be===void 0&&(be=". ");var ye=ce.length;return wg(Math.abs(me),ye,!1,function(tt){return ce[Math.floor(tt%ye)]})+be},Yc=1,pd=2,El=4,uh=8,gd=function(me,ce,be,ye,tt,St){if(me<-9999||me>9999)return ne(me,4,tt.length>0);var Yt=Math.abs(me),Bn=tt;if(Yt===0)return ce[0]+Bn;for(var xn=0;Yt>0&&xn<=4;xn++){var xr=Yt%10;xr===0&&Ho(St,Yc)&&Bn!==""?Bn=ce[xr]+Bn:xr>1||xr===1&&xn===0||xr===1&&xn===1&&Ho(St,pd)||xr===1&&xn===1&&Ho(St,El)&&me>100||xr===1&&xn>1&&Ho(St,uh)?Bn=ce[xr]+(xn>0?be[xn-1]:"")+Bn:xr===1&&xn>0&&(Bn=be[xn-1]+Bn),Yt=Math.floor(Yt/10)}return(me<0?ye:"")+Bn},eg="\u5341\u767E\u5343\u842C",kh="\u62FE\u4F70\u4EDF\u842C",a="\u30DE\u30A4\u30CA\u30B9",b="\uB9C8\uC774\uB108\uC2A4",ne=function(me,ce,be){var ye=be?". ":"",tt=be?"\u3001":"",St=be?", ":"",Yt=be?" ":"";switch(ce){case 0:return"\u2022"+Yt;case 1:return"\u25E6"+Yt;case 2:return"\u25FE"+Yt;case 5:var Bn=Ul(me,48,57,!0,ye);return Bn.length<4?"0"+Bn:Bn;case 4:return kd(me,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",tt);case 6:return Td(me,1,3999,pp,3,ye).toLowerCase();case 7:return Td(me,1,3999,pp,3,ye);case 8:return Ul(me,945,969,!1,ye);case 9:return Ul(me,97,122,!1,ye);case 10:return Ul(me,65,90,!1,ye);case 11:return Ul(me,1632,1641,!0,ye);case 12:case 49:return Td(me,1,9999,lh,3,ye);case 35:return Td(me,1,9999,lh,3,ye).toLowerCase();case 13:return Ul(me,2534,2543,!0,ye);case 14:case 30:return Ul(me,6112,6121,!0,ye);case 15:return kd(me,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",tt);case 16:return kd(me,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",tt);case 17:case 48:return gd(me,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",eg,"\u8CA0",tt,pd|El|uh);case 47:return gd(me,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",kh,"\u8CA0",tt,Yc|pd|El|uh);case 42:return gd(me,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",eg,"\u8D1F",tt,pd|El|uh);case 41:return gd(me,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",kh,"\u8D1F",tt,Yc|pd|El|uh);case 26:return gd(me,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",a,tt,0);case 25:return gd(me,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",a,tt,Yc|pd|El);case 31:return gd(me,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",b,St,Yc|pd|El);case 33:return gd(me,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",b,St,0);case 32:return gd(me,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",b,St,Yc|pd|El);case 18:return Ul(me,2406,2415,!0,ye);case 20:return Td(me,1,19999,vl,3,ye);case 21:return Ul(me,2790,2799,!0,ye);case 22:return Ul(me,2662,2671,!0,ye);case 22:return Td(me,1,10999,qp,3,ye);case 23:return kd(me,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return kd(me,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return Ul(me,3302,3311,!0,ye);case 28:return kd(me,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",tt);case 29:return kd(me,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",tt);case 34:return Ul(me,3792,3801,!0,ye);case 37:return Ul(me,6160,6169,!0,ye);case 38:return Ul(me,4160,4169,!0,ye);case 39:return Ul(me,2918,2927,!0,ye);case 40:return Ul(me,1776,1785,!0,ye);case 43:return Ul(me,3046,3055,!0,ye);case 44:return Ul(me,3174,3183,!0,ye);case 45:return Ul(me,3664,3673,!0,ye);case 46:return Ul(me,3872,3881,!0,ye);case 3:default:return Ul(me,48,57,!0,ye)}},te="data-html2canvas-ignore",ue=function(){function me(ce,be,ye){if(this.context=ce,this.options=ye,this.scrolledElements=[],this.referenceElement=be,this.counters=new yg,this.quoteDepth=0,!be.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(be.ownerDocument.documentElement,!1)}return me.prototype.toIFrame=function(ce,be){var ye=this,tt=qe(ce,be);if(!tt.contentWindow)return Promise.reject("Unable to find iframe window");var St=ce.defaultView.pageXOffset,Yt=ce.defaultView.pageYOffset,Bn=tt.contentWindow,xn=Bn.document,xr=Dt(tt).then(function(){return ct(ye,void 0,void 0,function(){var Pr,Kr;return Le(this,function(_i){switch(_i.label){case 0:return this.scrolledElements.forEach(Ci),Bn&&(Bn.scrollTo(be.left,be.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Bn.scrollY!==be.top||Bn.scrollX!==be.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Bn.scrollX-be.left,Bn.scrollY-be.top,0,0))),Pr=this.options.onclone,Kr=this.clonedReferenceElement,typeof Kr=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:xn.fonts&&xn.fonts.ready?[4,xn.fonts.ready]:[3,2];case 1:_i.sent(),_i.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Et(xn)]:[3,4];case 3:_i.sent(),_i.label=4;case 4:return typeof Pr=="function"?[2,Promise.resolve().then(function(){return Pr(xn,Kr)}).then(function(){return tt})]:[2,tt]}})})});return xn.open(),xn.write(Tr(document.doctype)+"<html></html>"),Er(this.referenceElement.ownerDocument,St,Yt),xn.replaceChild(xn.adoptNode(this.documentElement),xn.documentElement),xn.close(),xr},me.prototype.createElementClone=function(ce){if(rs(ce,2))debugger;if(Jp(ce))return this.createCanvasClone(ce);if(Th(ce))return this.createVideoClone(ce);if(oh(ce))return this.createStyleClone(ce);var be=ce.cloneNode(!1);return sf(be)&&(sf(ce)&&ce.currentSrc&&ce.currentSrc!==ce.src&&(be.src=ce.currentSrc,be.srcset=""),be.loading==="lazy"&&(be.loading="eager")),hp(be)?this.createCustomElementClone(be):be},me.prototype.createCustomElementClone=function(ce){var be=document.createElement("html2canvascustomelement");return Qn(ce.style,be),be},me.prototype.createStyleClone=function(ce){try{var be=ce.sheet;if(be&&be.cssRules){var ye=[].slice.call(be.cssRules,0).reduce(function(St,Yt){return Yt&&typeof Yt.cssText=="string"?St+Yt.cssText:St},""),tt=ce.cloneNode(!1);return tt.textContent=ye,tt}}catch(St){if(this.context.logger.error("Unable to access cssRules property",St),St.name!=="SecurityError")throw St}return ce.cloneNode(!1)},me.prototype.createCanvasClone=function(ce){var be;if(this.options.inlineImages&&ce.ownerDocument){var ye=ce.ownerDocument.createElement("img");try{return ye.src=ce.toDataURL(),ye}catch(xr){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",ce)}}var tt=ce.cloneNode(!1);try{tt.width=ce.width,tt.height=ce.height;var St=ce.getContext("2d"),Yt=tt.getContext("2d");if(Yt)if(!this.options.allowTaint&&St)Yt.putImageData(St.getImageData(0,0,ce.width,ce.height),0,0);else{var Bn=(be=ce.getContext("webgl2"))!==null&&be!==void 0?be:ce.getContext("webgl");if(Bn){var xn=Bn.getContextAttributes();(xn==null?void 0:xn.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",ce)}Yt.drawImage(ce,0,0)}return tt}catch(xr){this.context.logger.info("Unable to clone canvas as it is tainted",ce)}return tt},me.prototype.createVideoClone=function(ce){var be=ce.ownerDocument.createElement("canvas");be.width=ce.offsetWidth,be.height=ce.offsetHeight;var ye=be.getContext("2d");try{return ye&&(ye.drawImage(ce,0,0,be.width,be.height),this.options.allowTaint||ye.getImageData(0,0,be.width,be.height)),be}catch(St){this.context.logger.info("Unable to clone video as it is tainted",ce)}var tt=ce.ownerDocument.createElement("canvas");return tt.width=ce.offsetWidth,tt.height=ce.offsetHeight,tt},me.prototype.appendChildNode=function(ce,be,ye){(!Xc(be)||!ah(be)&&!be.hasAttribute(te)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(be)))&&(!this.options.copyStyles||!Xc(be)||!oh(be))&&ce.appendChild(this.cloneNode(be,ye))},me.prototype.cloneChildNodes=function(ce,be,ye){for(var tt=this,St=ce.shadowRoot?ce.shadowRoot.firstChild:ce.firstChild;St;St=St.nextSibling)if(Xc(St)&&fp(St)&&typeof St.assignedNodes=="function"){var Yt=St.assignedNodes();Yt.length&&Yt.forEach(function(Bn){return tt.appendChildNode(be,Bn,ye)})}else this.appendChildNode(be,St,ye)},me.prototype.cloneNode=function(ce,be){if(fd(ce))return document.createTextNode(ce.data);if(!ce.ownerDocument)return ce.cloneNode(!1);var ye=ce.ownerDocument.defaultView;if(ye&&Xc(ce)&&(Ph(ce)||hd(ce))){var tt=this.createElementClone(ce);tt.style.transitionProperty="none";var St=ye.getComputedStyle(ce),Yt=ye.getComputedStyle(ce,":before"),Bn=ye.getComputedStyle(ce,":after");this.referenceElement===ce&&Ph(tt)&&(this.clonedReferenceElement=tt),Ml(tt)&&Aa(tt);var xn=this.counters.parse(new ol(this.context,St)),xr=this.resolvePseudoContent(ce,tt,Yt,De.BEFORE);hp(ce)&&(be=!0),Th(ce)||this.cloneChildNodes(ce,tt,be),xr&&tt.insertBefore(xr,tt.firstChild);var Pr=this.resolvePseudoContent(ce,tt,Bn,De.AFTER);return Pr&&tt.appendChild(Pr),this.counters.pop(xn),(St&&(this.options.copyStyles||hd(ce))&&!Ec(ce)||be)&&Qn(St,tt),(ce.scrollTop!==0||ce.scrollLeft!==0)&&this.scrolledElements.push([tt,ce.scrollLeft,ce.scrollTop]),(Nf(ce)||sh(ce))&&(Nf(tt)||sh(tt))&&(tt.value=ce.value),tt}return ce.cloneNode(!1)},me.prototype.resolvePseudoContent=function(ce,be,ye,tt){var St=this;if(ye){var Yt=ye.content,Bn=be.ownerDocument;if(!(!Bn||!Yt||Yt==="none"||Yt==="-moz-alt-content"||ye.display==="none")){this.counters.parse(new ol(this.context,ye));var xn=new xl(this.context,ye),xr=Bn.createElement("html2canvaspseudoelement");Qn(ye,xr),xn.content.forEach(function(Kr){if(Kr.type===0)xr.appendChild(Bn.createTextNode(Kr.value));else if(Kr.type===22){var _i=Bn.createElement("img");_i.src=Kr.value,_i.style.opacity="1",xr.appendChild(_i)}else if(Kr.type===18){if(Kr.name==="attr"){var fa=Kr.values.filter(Ha);fa.length&&xr.appendChild(Bn.createTextNode(ce.getAttribute(fa[0].value)||""))}else if(Kr.name==="counter"){var go=Kr.values.filter(ga),Ko=go[0],ls=go[1];if(Ko&&Ha(Ko)){var ba=St.counters.getCounterValue(Ko.value),ya=ls&&Ha(ls)?ld.parse(St.context,ls.value):3;xr.appendChild(Bn.createTextNode(ne(ba,ya,!1)))}}else if(Kr.name==="counters"){var es=Kr.values.filter(ga),Ko=es[0],ys=es[1],ls=es[2];if(Ko&&Ha(Ko)){var $a=St.counters.getCounterValues(Ko.value),ia=ls&&Ha(ls)?ld.parse(St.context,ls.value):3,Ys=ys&&ys.type===0?ys.value:"",Ps=$a.map(function(Ic){return ne(Ic,ia,!1)}).join(Ys);xr.appendChild(Bn.createTextNode(Ps))}}}else if(Kr.type===20)switch(Kr.value){case"open-quote":xr.appendChild(Bn.createTextNode(Zo(xn.quotes,St.quoteDepth++,!0)));break;case"close-quote":xr.appendChild(Bn.createTextNode(Zo(xn.quotes,--St.quoteDepth,!1)));break;default:xr.appendChild(Bn.createTextNode(Kr.value))}}),xr.className=Io+" "+zo;var Pr=tt===De.BEFORE?" "+Io:" "+zo;return hd(be)?be.className.baseValue+=Pr:be.className+=Pr,xr}}},me.destroy=function(ce){return ce.parentNode?(ce.parentNode.removeChild(ce),!0):!1},me}(),De;(function(me){me[me.BEFORE=0]="BEFORE",me[me.AFTER=1]="AFTER"})(De||(De={}));var qe=function(me,ce){var be=me.createElement("iframe");return be.className="html2canvas-container",be.style.visibility="hidden",be.style.position="fixed",be.style.left="-10000px",be.style.top="0px",be.style.border="0",be.width=ce.width.toString(),be.height=ce.height.toString(),be.scrolling="no",be.setAttribute(te,"true"),me.body.appendChild(be),be},mt=function(me){return new Promise(function(ce){if(me.complete){ce();return}if(!me.src){ce();return}me.onload=ce,me.onerror=ce})},Et=function(me){return Promise.all([].slice.call(me.images,0).map(mt))},Dt=function(me){return new Promise(function(ce,be){var ye=me.contentWindow;if(!ye)return be("No window assigned for iframe");var tt=ye.document;ye.onload=me.onload=function(){ye.onload=me.onload=null;var St=setInterval(function(){tt.body.childNodes.length>0&&tt.readyState==="complete"&&(clearInterval(St),ce(me))},50)}})},Ln=["all","d","content"],Qn=function(me,ce){for(var be=me.length-1;be>=0;be--){var ye=me.item(be);Ln.indexOf(ye)===-1&&ce.style.setProperty(ye,me.getPropertyValue(ye))}return ce},Tr=function(me){var ce="";return me&&(ce+="<!DOCTYPE ",me.name&&(ce+=me.name),me.internalSubset&&(ce+=me.internalSubset),me.publicId&&(ce+='"'+me.publicId+'"'),me.systemId&&(ce+='"'+me.systemId+'"'),ce+=">"),ce},Er=function(me,ce,be){me&&me.defaultView&&(ce!==me.defaultView.pageXOffset||be!==me.defaultView.pageYOffset)&&me.defaultView.scrollTo(ce,be)},Ci=function(me){var ce=me[0],be=me[1],ye=me[2];ce.scrollLeft=be,ce.scrollTop=ye},Wi=":before",uo=":after",Io="___html2canvas___pseudoelement_before",zo="___html2canvas___pseudoelement_after",Lo=`{
content: "" !important;
display: none !important;
}`,Aa=function(me){_a(me,"."+Io+Wi+Lo+`
.`+zo+uo+Lo)},_a=function(me,ce){var be=me.ownerDocument;if(be){var ye=be.createElement("style");ye.textContent=ce,me.appendChild(ye)}},Ba=function(){function me(){}return me.getOrigin=function(ce){var be=me._link;return be?(be.href=ce,be.href=be.href,be.protocol+be.hostname+be.port):"about:blank"},me.isSameOrigin=function(ce){return me.getOrigin(ce)===me._origin},me.setContext=function(ce){me._link=ce.document.createElement("a"),me._origin=me.getOrigin(ce.location.href)},me._origin="about:blank",me}(),Ra=function(){function me(ce,be){this.context=ce,this._options=be,this._cache={}}return me.prototype.addImage=function(ce){var be=Promise.resolve();return this.has(ce)||(wA(ce)||yA(ce))&&(this._cache[ce]=this.loadImage(ce)).catch(function(){}),be},me.prototype.match=function(ce){return this._cache[ce]},me.prototype.loadImage=function(ce){return ct(this,void 0,void 0,function(){var be,ye,tt,St,Yt=this;return Le(this,function(Bn){switch(Bn.label){case 0:return be=Ba.isSameOrigin(ce),ye=!Yu(ce)&&this._options.useCORS===!0&&gu.SUPPORT_CORS_IMAGES&&!be,tt=!Yu(ce)&&!be&&!wA(ce)&&typeof this._options.proxy=="string"&&gu.SUPPORT_CORS_XHR&&!ye,!be&&this._options.allowTaint===!1&&!Yu(ce)&&!wA(ce)&&!tt&&!ye?[2]:(St=ce,tt?[4,this.proxy(St)]:[3,2]);case 1:St=Bn.sent(),Bn.label=2;case 2:return this.context.logger.debug("Added image "+ce.substring(0,256)),[4,new Promise(function(xn,xr){var Pr=new Image;Pr.onload=function(){return xn(Pr)},Pr.onerror=xr,(Tu(St)||ye)&&(Pr.crossOrigin="anonymous"),Pr.src=St,Pr.complete===!0&&setTimeout(function(){return xn(Pr)},500),Yt._options.imageTimeout>0&&setTimeout(function(){return xr("Timed out ("+Yt._options.imageTimeout+"ms) loading image")},Yt._options.imageTimeout)})];case 3:return[2,Bn.sent()]}})})},me.prototype.has=function(ce){return typeof this._cache[ce]!="undefined"},me.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},me.prototype.proxy=function(ce){var be=this,ye=this._options.proxy;if(!ye)throw new Error("No proxy defined");var tt=ce.substring(0,256);return new Promise(function(St,Yt){var Bn=gu.SUPPORT_RESPONSE_TYPE?"blob":"text",xn=new XMLHttpRequest;xn.onload=function(){if(xn.status===200)if(Bn==="text")St(xn.response);else{var Kr=new FileReader;Kr.addEventListener("load",function(){return St(Kr.result)},!1),Kr.addEventListener("error",function(_i){return Yt(_i)},!1),Kr.readAsDataURL(xn.response)}else Yt("Failed to proxy resource "+tt+" with status code "+xn.status)},xn.onerror=Yt;var xr=ye.indexOf("?")>-1?"&":"?";if(xn.open("GET",""+ye+xr+"url="+encodeURIComponent(ce)+"&responseType="+Bn),Bn!=="text"&&xn instanceof XMLHttpRequest&&(xn.responseType=Bn),be._options.imageTimeout){var Pr=be._options.imageTimeout;xn.timeout=Pr,xn.ontimeout=function(){return Yt("Timed out ("+Pr+"ms) proxying "+tt)}}xn.send()})},me}(),Sl=/^data:image\/svg\+xml/i,Ku=/^data:image\/.*;base64,/i,ql=/^data:image\/.*/i,yA=function(me){return gu.SUPPORT_SVG_DRAWING||!sA(me)},Yu=function(me){return ql.test(me)},Tu=function(me){return Ku.test(me)},wA=function(me){return me.substr(0,4)==="blob"},sA=function(me){return me.substr(-3).toLowerCase()==="svg"||Sl.test(me)},So=function(){function me(ce,be){this.type=0,this.x=ce,this.y=be}return me.prototype.add=function(ce,be){return new me(this.x+ce,this.y+be)},me}(),Rl=function(me,ce,be){return new So(me.x+(ce.x-me.x)*be,me.y+(ce.y-me.y)*be)},eu=function(){function me(ce,be,ye,tt){this.type=1,this.start=ce,this.startControl=be,this.endControl=ye,this.end=tt}return me.prototype.subdivide=function(ce,be){var ye=Rl(this.start,this.startControl,ce),tt=Rl(this.startControl,this.endControl,ce),St=Rl(this.endControl,this.end,ce),Yt=Rl(ye,tt,ce),Bn=Rl(tt,St,ce),xn=Rl(Yt,Bn,ce);return be?new me(this.start,ye,Yt,xn):new me(xn,Bn,St,this.end)},me.prototype.add=function(ce,be){return new me(this.start.add(ce,be),this.startControl.add(ce,be),this.endControl.add(ce,be),this.end.add(ce,be))},me.prototype.reverse=function(){return new me(this.end,this.endControl,this.startControl,this.start)},me}(),tu=function(me){return me.type===1},Of=function(){function me(ce){var be=ce.styles,ye=ce.bounds,tt=xu(be.borderTopLeftRadius,ye.width,ye.height),St=tt[0],Yt=tt[1],Bn=xu(be.borderTopRightRadius,ye.width,ye.height),xn=Bn[0],xr=Bn[1],Pr=xu(be.borderBottomRightRadius,ye.width,ye.height),Kr=Pr[0],_i=Pr[1],fa=xu(be.borderBottomLeftRadius,ye.width,ye.height),go=fa[0],Ko=fa[1],ls=[];ls.push((St+xn)/ye.width),ls.push((go+Kr)/ye.width),ls.push((Yt+Ko)/ye.height),ls.push((xr+_i)/ye.height);var ba=Math.max.apply(Math,ls);ba>1&&(St/=ba,Yt/=ba,xn/=ba,xr/=ba,Kr/=ba,_i/=ba,go/=ba,Ko/=ba);var ya=ye.width-xn,es=ye.height-_i,ys=ye.width-Kr,$a=ye.height-Ko,ia=be.borderTopWidth,Ys=be.borderRightWidth,Ps=be.borderBottomWidth,ts=be.borderLeftWidth,Uo=aa(be.paddingTop,ce.bounds.width),Ic=aa(be.paddingRight,ce.bounds.width),jc=aa(be.paddingBottom,ce.bounds.width),jl=aa(be.paddingLeft,ce.bounds.width);this.topLeftBorderDoubleOuterBox=St>0||Yt>0?Cs(ye.left+ts/3,ye.top+ia/3,St-ts/3,Yt-ia/3,Ws.TOP_LEFT):new So(ye.left+ts/3,ye.top+ia/3),this.topRightBorderDoubleOuterBox=St>0||Yt>0?Cs(ye.left+ya,ye.top+ia/3,xn-Ys/3,xr-ia/3,Ws.TOP_RIGHT):new So(ye.left+ye.width-Ys/3,ye.top+ia/3),this.bottomRightBorderDoubleOuterBox=Kr>0||_i>0?Cs(ye.left+ys,ye.top+es,Kr-Ys/3,_i-Ps/3,Ws.BOTTOM_RIGHT):new So(ye.left+ye.width-Ys/3,ye.top+ye.height-Ps/3),this.bottomLeftBorderDoubleOuterBox=go>0||Ko>0?Cs(ye.left+ts/3,ye.top+$a,go-ts/3,Ko-Ps/3,Ws.BOTTOM_LEFT):new So(ye.left+ts/3,ye.top+ye.height-Ps/3),this.topLeftBorderDoubleInnerBox=St>0||Yt>0?Cs(ye.left+ts*2/3,ye.top+ia*2/3,St-ts*2/3,Yt-ia*2/3,Ws.TOP_LEFT):new So(ye.left+ts*2/3,ye.top+ia*2/3),this.topRightBorderDoubleInnerBox=St>0||Yt>0?Cs(ye.left+ya,ye.top+ia*2/3,xn-Ys*2/3,xr-ia*2/3,Ws.TOP_RIGHT):new So(ye.left+ye.width-Ys*2/3,ye.top+ia*2/3),this.bottomRightBorderDoubleInnerBox=Kr>0||_i>0?Cs(ye.left+ys,ye.top+es,Kr-Ys*2/3,_i-Ps*2/3,Ws.BOTTOM_RIGHT):new So(ye.left+ye.width-Ys*2/3,ye.top+ye.height-Ps*2/3),this.bottomLeftBorderDoubleInnerBox=go>0||Ko>0?Cs(ye.left+ts*2/3,ye.top+$a,go-ts*2/3,Ko-Ps*2/3,Ws.BOTTOM_LEFT):new So(ye.left+ts*2/3,ye.top+ye.height-Ps*2/3),this.topLeftBorderStroke=St>0||Yt>0?Cs(ye.left+ts/2,ye.top+ia/2,St-ts/2,Yt-ia/2,Ws.TOP_LEFT):new So(ye.left+ts/2,ye.top+ia/2),this.topRightBorderStroke=St>0||Yt>0?Cs(ye.left+ya,ye.top+ia/2,xn-Ys/2,xr-ia/2,Ws.TOP_RIGHT):new So(ye.left+ye.width-Ys/2,ye.top+ia/2),this.bottomRightBorderStroke=Kr>0||_i>0?Cs(ye.left+ys,ye.top+es,Kr-Ys/2,_i-Ps/2,Ws.BOTTOM_RIGHT):new So(ye.left+ye.width-Ys/2,ye.top+ye.height-Ps/2),this.bottomLeftBorderStroke=go>0||Ko>0?Cs(ye.left+ts/2,ye.top+$a,go-ts/2,Ko-Ps/2,Ws.BOTTOM_LEFT):new So(ye.left+ts/2,ye.top+ye.height-Ps/2),this.topLeftBorderBox=St>0||Yt>0?Cs(ye.left,ye.top,St,Yt,Ws.TOP_LEFT):new So(ye.left,ye.top),this.topRightBorderBox=xn>0||xr>0?Cs(ye.left+ya,ye.top,xn,xr,Ws.TOP_RIGHT):new So(ye.left+ye.width,ye.top),this.bottomRightBorderBox=Kr>0||_i>0?Cs(ye.left+ys,ye.top+es,Kr,_i,Ws.BOTTOM_RIGHT):new So(ye.left+ye.width,ye.top+ye.height),this.bottomLeftBorderBox=go>0||Ko>0?Cs(ye.left,ye.top+$a,go,Ko,Ws.BOTTOM_LEFT):new So(ye.left,ye.top+ye.height),this.topLeftPaddingBox=St>0||Yt>0?Cs(ye.left+ts,ye.top+ia,Math.max(0,St-ts),Math.max(0,Yt-ia),Ws.TOP_LEFT):new So(ye.left+ts,ye.top+ia),this.topRightPaddingBox=xn>0||xr>0?Cs(ye.left+Math.min(ya,ye.width-Ys),ye.top+ia,ya>ye.width+Ys?0:Math.max(0,xn-Ys),Math.max(0,xr-ia),Ws.TOP_RIGHT):new So(ye.left+ye.width-Ys,ye.top+ia),this.bottomRightPaddingBox=Kr>0||_i>0?Cs(ye.left+Math.min(ys,ye.width-ts),ye.top+Math.min(es,ye.height-Ps),Math.max(0,Kr-Ys),Math.max(0,_i-Ps),Ws.BOTTOM_RIGHT):new So(ye.left+ye.width-Ys,ye.top+ye.height-Ps),this.bottomLeftPaddingBox=go>0||Ko>0?Cs(ye.left+ts,ye.top+Math.min($a,ye.height-Ps),Math.max(0,go-ts),Math.max(0,Ko-Ps),Ws.BOTTOM_LEFT):new So(ye.left+ts,ye.top+ye.height-Ps),this.topLeftContentBox=St>0||Yt>0?Cs(ye.left+ts+jl,ye.top+ia+Uo,Math.max(0,St-(ts+jl)),Math.max(0,Yt-(ia+Uo)),Ws.TOP_LEFT):new So(ye.left+ts+jl,ye.top+ia+Uo),this.topRightContentBox=xn>0||xr>0?Cs(ye.left+Math.min(ya,ye.width+ts+jl),ye.top+ia+Uo,ya>ye.width+ts+jl?0:xn-ts+jl,xr-(ia+Uo),Ws.TOP_RIGHT):new So(ye.left+ye.width-(Ys+Ic),ye.top+ia+Uo),this.bottomRightContentBox=Kr>0||_i>0?Cs(ye.left+Math.min(ys,ye.width-(ts+jl)),ye.top+Math.min(es,ye.height+ia+Uo),Math.max(0,Kr-(Ys+Ic)),_i-(Ps+jc),Ws.BOTTOM_RIGHT):new So(ye.left+ye.width-(Ys+Ic),ye.top+ye.height-(Ps+jc)),this.bottomLeftContentBox=go>0||Ko>0?Cs(ye.left+ts+jl,ye.top+$a,Math.max(0,go-(ts+jl)),Ko-(Ps+jc),Ws.BOTTOM_LEFT):new So(ye.left+ts+jl,ye.top+ye.height-(Ps+jc))}return me}(),Ws;(function(me){me[me.TOP_LEFT=0]="TOP_LEFT",me[me.TOP_RIGHT=1]="TOP_RIGHT",me[me.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",me[me.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Ws||(Ws={}));var Cs=function(me,ce,be,ye,tt){var St=4*((Math.sqrt(2)-1)/3),Yt=be*St,Bn=ye*St,xn=me+be,xr=ce+ye;switch(tt){case Ws.TOP_LEFT:return new eu(new So(me,xr),new So(me,xr-Bn),new So(xn-Yt,ce),new So(xn,ce));case Ws.TOP_RIGHT:return new eu(new So(me,ce),new So(me+Yt,ce),new So(xn,xr-Bn),new So(xn,xr));case Ws.BOTTOM_RIGHT:return new eu(new So(xn,ce),new So(xn,ce+Bn),new So(me+Yt,xr),new So(me,xr));case Ws.BOTTOM_LEFT:default:return new eu(new So(xn,xr),new So(xn-Yt,xr),new So(me,ce+Bn),new So(me,ce))}},oc=function(me){return[me.topLeftBorderBox,me.topRightBorderBox,me.bottomRightBorderBox,me.bottomLeftBorderBox]},lA=function(me){return[me.topLeftContentBox,me.topRightContentBox,me.bottomRightContentBox,me.bottomLeftContentBox]},Ah=function(me){return[me.topLeftPaddingBox,me.topRightPaddingBox,me.bottomRightPaddingBox,me.bottomLeftPaddingBox]},ka=function(){function me(ce,be,ye){this.offsetX=ce,this.offsetY=be,this.matrix=ye,this.type=0,this.target=6}return me}(),Sc=function(){function me(ce,be){this.path=ce,this.target=be,this.type=1}return me}(),cl=function(){function me(ce){this.opacity=ce,this.type=2,this.target=6}return me}(),uA=function(me){return me.type===0},Md=function(me){return me.type===1},Pf=function(me){return me.type===2},_f=function(me,ce){return me.length===ce.length?me.some(function(be,ye){return be===ce[ye]}):!1},qg=function(me,ce,be,ye,tt){return me.map(function(St,Yt){switch(Yt){case 0:return St.add(ce,be);case 1:return St.add(ce+ye,be);case 2:return St.add(ce+ye,be+tt);case 3:return St.add(ce,be+tt)}return St})},gp=function(){function me(ce){this.element=ce,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return me}(),bg=function(){function me(ce,be){if(this.container=ce,this.parent=be,this.effects=[],this.curves=new Of(this.container),this.container.styles.opacity<1&&this.effects.push(new cl(this.container.styles.opacity)),this.container.styles.transform!==null){var ye=this.container.bounds.left+this.container.styles.transformOrigin[0].number,tt=this.container.bounds.top+this.container.styles.transformOrigin[1].number,St=this.container.styles.transform;this.effects.push(new ka(ye,tt,St))}if(this.container.styles.overflowX!==0){var Yt=oc(this.curves),Bn=Ah(this.curves);_f(Yt,Bn)?this.effects.push(new Sc(Yt,6)):(this.effects.push(new Sc(Yt,2)),this.effects.push(new Sc(Bn,4)))}}return me.prototype.getEffects=function(ce){for(var be=[2,3].indexOf(this.container.styles.position)===-1,ye=this.parent,tt=this.effects.slice(0);ye;){var St=ye.effects.filter(function(xn){return!Md(xn)});if(be||ye.container.styles.position!==0||!ye.parent){if(tt.unshift.apply(tt,St),be=[2,3].indexOf(ye.container.styles.position)===-1,ye.container.styles.overflowX!==0){var Yt=oc(ye.curves),Bn=Ah(ye.curves);_f(Yt,Bn)||tt.unshift(new Sc(Bn,6))}}else tt.unshift.apply(tt,St);ye=ye.parent}return tt.filter(function(xn){return Ho(xn.target,ce)})},me}(),mp=function(me,ce,be,ye){me.container.elements.forEach(function(tt){var St=Ho(tt.flags,4),Yt=Ho(tt.flags,2),Bn=new bg(tt,me);Ho(tt.styles.display,2048)&&ye.push(Bn);var xn=Ho(tt.flags,8)?[]:ye;if(St||Yt){var xr=St||tt.styles.isPositioned()?be:ce,Pr=new gp(Bn);if(tt.styles.isPositioned()||tt.styles.opacity<1||tt.styles.isTransformed()){var Kr=tt.styles.zIndex.order;if(Kr<0){var _i=0;xr.negativeZIndex.some(function(go,Ko){return Kr>go.element.container.styles.zIndex.order?(_i=Ko,!1):_i>0}),xr.negativeZIndex.splice(_i,0,Pr)}else if(Kr>0){var fa=0;xr.positiveZIndex.some(function(go,Ko){return Kr>=go.element.container.styles.zIndex.order?(fa=Ko+1,!1):fa>0}),xr.positiveZIndex.splice(fa,0,Pr)}else xr.zeroOrAutoZIndexOrTransformedOrOpacity.push(Pr)}else tt.styles.isFloating()?xr.nonPositionedFloats.push(Pr):xr.nonPositionedInlineLevel.push(Pr);mp(Bn,Pr,St?Pr:be,xn)}else tt.styles.isInlineLevel()?ce.inlineLevel.push(Bn):ce.nonInlineLevel.push(Bn),mp(Bn,ce,be,xn);Ho(tt.flags,8)&&vp(tt,xn)})},vp=function(me,ce){for(var be=me instanceof af?me.start:1,ye=me instanceof af?me.reversed:!1,tt=0;tt<ce.length;tt++){var St=ce[tt];St.container instanceof Pd&&typeof St.container.value=="number"&&St.container.value!==0&&(be=St.container.value),St.listValue=ne(be,St.container.styles.listStyleType,!0),be+=ye?-1:1}},YA=function(me){var ce=new bg(me,null),be=new gp(ce),ye=[];return mp(ce,be,be,ye),vp(ce.container,ye),be},RA=function(me,ce){switch(ce){case 0:return Rc(me.topLeftBorderBox,me.topLeftPaddingBox,me.topRightBorderBox,me.topRightPaddingBox);case 1:return Rc(me.topRightBorderBox,me.topRightPaddingBox,me.bottomRightBorderBox,me.bottomRightPaddingBox);case 2:return Rc(me.bottomRightBorderBox,me.bottomRightPaddingBox,me.bottomLeftBorderBox,me.bottomLeftPaddingBox);case 3:default:return Rc(me.bottomLeftBorderBox,me.bottomLeftPaddingBox,me.topLeftBorderBox,me.topLeftPaddingBox)}},JA=function(me,ce){switch(ce){case 0:return Rc(me.topLeftBorderBox,me.topLeftBorderDoubleOuterBox,me.topRightBorderBox,me.topRightBorderDoubleOuterBox);case 1:return Rc(me.topRightBorderBox,me.topRightBorderDoubleOuterBox,me.bottomRightBorderBox,me.bottomRightBorderDoubleOuterBox);case 2:return Rc(me.bottomRightBorderBox,me.bottomRightBorderDoubleOuterBox,me.bottomLeftBorderBox,me.bottomLeftBorderDoubleOuterBox);case 3:default:return Rc(me.bottomLeftBorderBox,me.bottomLeftBorderDoubleOuterBox,me.topLeftBorderBox,me.topLeftBorderDoubleOuterBox)}},qA=function(me,ce){switch(ce){case 0:return Rc(me.topLeftBorderDoubleInnerBox,me.topLeftPaddingBox,me.topRightBorderDoubleInnerBox,me.topRightPaddingBox);case 1:return Rc(me.topRightBorderDoubleInnerBox,me.topRightPaddingBox,me.bottomRightBorderDoubleInnerBox,me.bottomRightPaddingBox);case 2:return Rc(me.bottomRightBorderDoubleInnerBox,me.bottomRightPaddingBox,me.bottomLeftBorderDoubleInnerBox,me.bottomLeftPaddingBox);case 3:default:return Rc(me.bottomLeftBorderDoubleInnerBox,me.bottomLeftPaddingBox,me.topLeftBorderDoubleInnerBox,me.topLeftPaddingBox)}},em=function(me,ce){switch(ce){case 0:return tg(me.topLeftBorderStroke,me.topRightBorderStroke);case 1:return tg(me.topRightBorderStroke,me.bottomRightBorderStroke);case 2:return tg(me.bottomRightBorderStroke,me.bottomLeftBorderStroke);case 3:default:return tg(me.bottomLeftBorderStroke,me.topLeftBorderStroke)}},tg=function(me,ce){var be=[];return tu(me)?be.push(me.subdivide(.5,!1)):be.push(me),tu(ce)?be.push(ce.subdivide(.5,!0)):be.push(ce),be},Rc=function(me,ce,be,ye){var tt=[];return tu(me)?tt.push(me.subdivide(.5,!1)):tt.push(me),tu(be)?tt.push(be.subdivide(.5,!0)):tt.push(be),tu(ye)?tt.push(ye.subdivide(.5,!0).reverse()):tt.push(ye),tu(ce)?tt.push(ce.subdivide(.5,!1).reverse()):tt.push(ce),tt},tm=function(me){var ce=me.bounds,be=me.styles;return ce.add(be.borderLeftWidth,be.borderTopWidth,-(be.borderRightWidth+be.borderLeftWidth),-(be.borderTopWidth+be.borderBottomWidth))},ng=function(me){var ce=me.styles,be=me.bounds,ye=aa(ce.paddingLeft,be.width),tt=aa(ce.paddingRight,be.width),St=aa(ce.paddingTop,be.width),Yt=aa(ce.paddingBottom,be.width);return be.add(ye+ce.borderLeftWidth,St+ce.borderTopWidth,-(ce.borderRightWidth+ce.borderLeftWidth+ye+tt),-(ce.borderTopWidth+ce.borderBottomWidth+St+Yt))},Cg=function(me,ce){return me===0?ce.bounds:me===2?ng(ce):tm(ce)},Qm=function(me,ce){return me===0?ce.bounds:me===2?ng(ce):tm(ce)},Ud=function(me,ce,be){var ye=Cg(md(me.styles.backgroundOrigin,ce),me),tt=Qm(md(me.styles.backgroundClip,ce),me),St=Mh(md(me.styles.backgroundSize,ce),be,ye),Yt=St[0],Bn=St[1],xn=xu(md(me.styles.backgroundPosition,ce),ye.width-Yt,ye.height-Bn),xr=nm(md(me.styles.backgroundRepeat,ce),xn,St,ye,tt),Pr=Math.round(ye.left+xn[0]),Kr=Math.round(ye.top+xn[1]);return[xr,Pr,Kr,Yt,Bn]},Tf=function(me){return Ha(me)&&me.value===Tl.AUTO},yp=function(me){return typeof me=="number"},Mh=function(me,ce,be){var ye=ce[0],tt=ce[1],St=ce[2],Yt=me[0],Bn=me[1];if(!Yt)return[0,0];if(ps(Yt)&&Bn&&ps(Bn))return[aa(Yt,be.width),aa(Bn,be.height)];var xn=yp(St);if(Ha(Yt)&&(Yt.value===Tl.CONTAIN||Yt.value===Tl.COVER)){if(yp(St)){var xr=be.width/be.height;return xr<St!=(Yt.value===Tl.COVER)?[be.width,be.width/St]:[be.height*St,be.height]}return[be.width,be.height]}var Pr=yp(ye),Kr=yp(tt),_i=Pr||Kr;if(Tf(Yt)&&(!Bn||Tf(Bn))){if(Pr&&Kr)return[ye,tt];if(!xn&&!_i)return[be.width,be.height];if(_i&&xn){var fa=Pr?ye:tt*St,go=Kr?tt:ye/St;return[fa,go]}var Ko=Pr?ye:be.width,ls=Kr?tt:be.height;return[Ko,ls]}if(xn){var ba=0,ya=0;return ps(Yt)?ba=aa(Yt,be.width):ps(Bn)&&(ya=aa(Bn,be.height)),Tf(Yt)?ba=ya*St:(!Bn||Tf(Bn))&&(ya=ba/St),[ba,ya]}var es=null,ys=null;if(ps(Yt)?es=aa(Yt,be.width):Bn&&ps(Bn)&&(ys=aa(Bn,be.height)),es!==null&&(!Bn||Tf(Bn))&&(ys=Pr&&Kr?es/ye*tt:be.height),ys!==null&&Tf(Yt)&&(es=Pr&&Kr?ys/tt*ye:be.width),es!==null&&ys!==null)return[es,ys];throw new Error("Unable to calculate background-size for element")},md=function(me,ce){var be=me[ce];return typeof be=="undefined"?me[0]:be},nm=function(me,ce,be,ye,tt){var St=ce[0],Yt=ce[1],Bn=be[0],xn=be[1];switch(me){case 2:return[new So(Math.round(ye.left),Math.round(ye.top+Yt)),new So(Math.round(ye.left+ye.width),Math.round(ye.top+Yt)),new So(Math.round(ye.left+ye.width),Math.round(xn+ye.top+Yt)),new So(Math.round(ye.left),Math.round(xn+ye.top+Yt))];case 3:return[new So(Math.round(ye.left+St),Math.round(ye.top)),new So(Math.round(ye.left+St+Bn),Math.round(ye.top)),new So(Math.round(ye.left+St+Bn),Math.round(ye.height+ye.top)),new So(Math.round(ye.left+St),Math.round(ye.height+ye.top))];case 1:return[new So(Math.round(ye.left+St),Math.round(ye.top+Yt)),new So(Math.round(ye.left+St+Bn),Math.round(ye.top+Yt)),new So(Math.round(ye.left+St+Bn),Math.round(ye.top+Yt+xn)),new So(Math.round(ye.left+St),Math.round(ye.top+Yt+xn))];default:return[new So(Math.round(tt.left),Math.round(tt.top)),new So(Math.round(tt.left+tt.width),Math.round(tt.top)),new So(Math.round(tt.left+tt.width),Math.round(tt.height+tt.top)),new So(Math.round(tt.left),Math.round(tt.height+tt.top))]}},wp="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",xg="Hidden Text",kf=function(){function me(ce){this._data={},this._document=ce}return me.prototype.parseMetrics=function(ce,be){var ye=this._document.createElement("div"),tt=this._document.createElement("img"),St=this._document.createElement("span"),Yt=this._document.body;ye.style.visibility="hidden",ye.style.fontFamily=ce,ye.style.fontSize=be,ye.style.margin="0",ye.style.padding="0",ye.style.whiteSpace="nowrap",Yt.appendChild(ye),tt.src=wp,tt.width=1,tt.height=1,tt.style.margin="0",tt.style.padding="0",tt.style.verticalAlign="baseline",St.style.fontFamily=ce,St.style.fontSize=be,St.style.margin="0",St.style.padding="0",St.appendChild(this._document.createTextNode(xg)),ye.appendChild(St),ye.appendChild(tt);var Bn=tt.offsetTop-St.offsetTop+2;ye.removeChild(St),ye.appendChild(this._document.createTextNode(xg)),ye.style.lineHeight="normal",tt.style.verticalAlign="super";var xn=tt.offsetTop-ye.offsetTop+2;return Yt.removeChild(ye),{baseline:Bn,middle:xn}},me.prototype.getMetrics=function(ce,be){var ye=ce+" "+be;return typeof this._data[ye]=="undefined"&&(this._data[ye]=this.parseMetrics(ce,be)),this._data[ye]},me}(),Mf=function(){function me(ce,be){this.context=ce,this.options=be}return me}(),Da=1e4,Zu=function(me){ae(ce,me);function ce(be,ye){var tt=me.call(this,be,ye)||this;return tt._activeEffects=[],tt.canvas=ye.canvas?ye.canvas:document.createElement("canvas"),tt.ctx=tt.canvas.getContext("2d"),ye.canvas||(tt.canvas.width=Math.floor(ye.width*ye.scale),tt.canvas.height=Math.floor(ye.height*ye.scale),tt.canvas.style.width=ye.width+"px",tt.canvas.style.height=ye.height+"px"),tt.fontMetrics=new kf(document),tt.ctx.scale(tt.options.scale,tt.options.scale),tt.ctx.translate(-ye.x,-ye.y),tt.ctx.textBaseline="bottom",tt._activeEffects=[],tt.context.logger.debug("Canvas renderer initialized ("+ye.width+"x"+ye.height+") with scale "+ye.scale),tt}return ce.prototype.applyEffects=function(be){for(var ye=this;this._activeEffects.length;)this.popEffect();be.forEach(function(tt){return ye.applyEffect(tt)})},ce.prototype.applyEffect=function(be){this.ctx.save(),Pf(be)&&(this.ctx.globalAlpha=be.opacity),uA(be)&&(this.ctx.translate(be.offsetX,be.offsetY),this.ctx.transform(be.matrix[0],be.matrix[1],be.matrix[2],be.matrix[3],be.matrix[4],be.matrix[5]),this.ctx.translate(-be.offsetX,-be.offsetY)),Md(be)&&(this.path(be.path),this.ctx.clip()),this._activeEffects.push(be)},ce.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},ce.prototype.renderStack=function(be){return ct(this,void 0,void 0,function(){var ye;return Le(this,function(tt){switch(tt.label){case 0:return ye=be.element.container.styles,ye.isVisible()?[4,this.renderStackContent(be)]:[3,2];case 1:tt.sent(),tt.label=2;case 2:return[2]}})})},ce.prototype.renderNode=function(be){return ct(this,void 0,void 0,function(){return Le(this,function(ye){switch(ye.label){case 0:if(Ho(be.container.flags,16))debugger;return be.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(be)]:[3,3];case 1:return ye.sent(),[4,this.renderNodeContent(be)];case 2:ye.sent(),ye.label=3;case 3:return[2]}})})},ce.prototype.renderTextWithLetterSpacing=function(be,ye,tt){var St=this;if(ye===0)this.ctx.fillText(be.text,be.bounds.left,be.bounds.top+tt);else{var Yt=If(be.text);Yt.reduce(function(Bn,xn){return St.ctx.fillText(xn,Bn,be.bounds.top+tt),Bn+St.ctx.measureText(xn).width},be.bounds.left)}},ce.prototype.createFontStyle=function(be){var ye=be.fontVariant.filter(function(Yt){return Yt==="normal"||Yt==="small-caps"}).join(""),tt=Uf(be.fontFamily).join(", "),St=qa(be.fontSize)?""+be.fontSize.number+be.fontSize.unit:be.fontSize.number+"px";return[[be.fontStyle,ye,be.fontWeight,St,tt].join(" "),tt,St]},ce.prototype.renderTextNode=function(be,ye){return ct(this,void 0,void 0,function(){var tt,St,Yt,Bn,xn,xr,Pr,Kr,_i=this;return Le(this,function(fa){return tt=this.createFontStyle(ye),St=tt[0],Yt=tt[1],Bn=tt[2],this.ctx.font=St,this.ctx.direction=ye.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",xn=this.fontMetrics.getMetrics(Yt,Bn),xr=xn.baseline,Pr=xn.middle,Kr=ye.paintOrder,be.textBounds.forEach(function(go){Kr.forEach(function(Ko){switch(Ko){case 0:_i.ctx.fillStyle=$l(ye.color),_i.renderTextWithLetterSpacing(go,ye.letterSpacing,xr);var ls=ye.textShadow;ls.length&&go.text.trim().length&&(ls.slice(0).reverse().forEach(function(ba){_i.ctx.shadowColor=$l(ba.color),_i.ctx.shadowOffsetX=ba.offsetX.number*_i.options.scale,_i.ctx.shadowOffsetY=ba.offsetY.number*_i.options.scale,_i.ctx.shadowBlur=ba.blur.number,_i.renderTextWithLetterSpacing(go,ye.letterSpacing,xr)}),_i.ctx.shadowColor="",_i.ctx.shadowOffsetX=0,_i.ctx.shadowOffsetY=0,_i.ctx.shadowBlur=0),ye.textDecorationLine.length&&(_i.ctx.fillStyle=$l(ye.textDecorationColor||ye.color),ye.textDecorationLine.forEach(function(ba){switch(ba){case 1:_i.ctx.fillRect(go.bounds.left,Math.round(go.bounds.top+xr),go.bounds.width,1);break;case 2:_i.ctx.fillRect(go.bounds.left,Math.round(go.bounds.top),go.bounds.width,1);break;case 3:_i.ctx.fillRect(go.bounds.left,Math.ceil(go.bounds.top+Pr),go.bounds.width,1);break}}));break;case 1:ye.webkitTextStrokeWidth&&go.text.trim().length&&(_i.ctx.strokeStyle=$l(ye.webkitTextStrokeColor),_i.ctx.lineWidth=ye.webkitTextStrokeWidth,_i.ctx.lineJoin=window.chrome?"miter":"round",_i.ctx.strokeText(go.text,go.bounds.left,go.bounds.top+xr)),_i.ctx.strokeStyle="",_i.ctx.lineWidth=0,_i.ctx.lineJoin="miter";break}})}),[2]})})},ce.prototype.renderReplacedElement=function(be,ye,tt){if(tt&&be.intrinsicWidth>0&&be.intrinsicHeight>0){var St=ng(be),Yt=Ah(ye);this.path(Yt),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(tt,0,0,be.intrinsicWidth,be.intrinsicHeight,St.left,St.top,St.width,St.height),this.ctx.restore()}},ce.prototype.renderNodeContent=function(be){return ct(this,void 0,void 0,function(){var ye,tt,St,Yt,Bn,xn,ya,ya,xr,Pr,Kr,_i,ys,fa,go,$a,Ko,ls,ba,ya,es,ys,$a;return Le(this,function(ia){switch(ia.label){case 0:this.applyEffects(be.getEffects(4)),ye=be.container,tt=be.curves,St=ye.styles,Yt=0,Bn=ye.textNodes,ia.label=1;case 1:return Yt<Bn.length?(xn=Bn[Yt],[4,this.renderTextNode(xn,St)]):[3,4];case 2:ia.sent(),ia.label=3;case 3:return Yt++,[3,1];case 4:if(!(ye instanceof Lf))return[3,8];ia.label=5;case 5:return ia.trys.push([5,7,,8]),[4,this.context.cache.match(ye.src)];case 6:return ya=ia.sent(),this.renderReplacedElement(ye,tt,ya),[3,8];case 7:return ia.sent(),this.context.logger.error("Error loading image "+ye.src),[3,8];case 8:if(ye instanceof Od&&this.renderReplacedElement(ye,tt,ye.canvas),!(ye instanceof Df))return[3,12];ia.label=9;case 9:return ia.trys.push([9,11,,12]),[4,this.context.cache.match(ye.svg)];case 10:return ya=ia.sent(),this.renderReplacedElement(ye,tt,ya),[3,12];case 11:return ia.sent(),this.context.logger.error("Error loading svg "+ye.svg.substring(0,255)),[3,12];case 12:return ye instanceof Is&&ye.tree?(xr=new ce(this.context,{scale:this.options.scale,backgroundColor:ye.backgroundColor,x:0,y:0,width:ye.width,height:ye.height}),[4,xr.render(ye.tree)]):[3,14];case 13:Pr=ia.sent(),ye.width&&ye.height&&this.ctx.drawImage(Pr,0,0,ye.width,ye.height,ye.bounds.left,ye.bounds.top,ye.bounds.width,ye.bounds.height),ia.label=14;case 14:if(ye instanceof cd&&(Kr=Math.min(ye.bounds.width,ye.bounds.height),ye.type===Ad?ye.checked&&(this.ctx.save(),this.path([new So(ye.bounds.left+Kr*.39363,ye.bounds.top+Kr*.79),new So(ye.bounds.left+Kr*.16,ye.bounds.top+Kr*.5549),new So(ye.bounds.left+Kr*.27347,ye.bounds.top+Kr*.44071),new So(ye.bounds.left+Kr*.39694,ye.bounds.top+Kr*.5649),new So(ye.bounds.left+Kr*.72983,ye.bounds.top+Kr*.23),new So(ye.bounds.left+Kr*.84,ye.bounds.top+Kr*.34085),new So(ye.bounds.left+Kr*.39363,ye.bounds.top+Kr*.79)]),this.ctx.fillStyle=$l(_d),this.ctx.fill(),this.ctx.restore()):ye.type===xc&&ye.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(ye.bounds.left+Kr/2,ye.bounds.top+Kr/2,Kr/4,0,Math.PI*2,!0),this.ctx.fillStyle=$l(_d),this.ctx.fill(),this.ctx.restore())),Bg(ye)&&ye.value.length){switch(_i=this.createFontStyle(St),ys=_i[0],fa=_i[1],go=this.fontMetrics.getMetrics(ys,fa).baseline,this.ctx.font=ys,this.ctx.fillStyle=$l(St.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Uh(ye.styles.textAlign),$a=ng(ye),Ko=0,ye.styles.textAlign){case 1:Ko+=$a.width/2;break;case 2:Ko+=$a.width;break}ls=$a.add(Ko,0,0,-$a.height/2+1),this.ctx.save(),this.path([new So($a.left,$a.top),new So($a.left+$a.width,$a.top),new So($a.left+$a.width,$a.top+$a.height),new So($a.left,$a.top+$a.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new UA(ye.value,ls),St.letterSpacing,go),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Ho(ye.styles.display,2048))return[3,20];if(ye.styles.listStyleImage===null)return[3,19];if(ba=ye.styles.listStyleImage,ba.type!==0)return[3,18];ya=void 0,es=ba.url,ia.label=15;case 15:return ia.trys.push([15,17,,18]),[4,this.context.cache.match(es)];case 16:return ya=ia.sent(),this.ctx.drawImage(ya,ye.bounds.left-(ya.width+10),ye.bounds.top),[3,18];case 17:return ia.sent(),this.context.logger.error("Error loading list-style-image "+es),[3,18];case 18:return[3,20];case 19:be.listValue&&ye.styles.listStyleType!==-1&&(ys=this.createFontStyle(St)[0],this.ctx.font=ys,this.ctx.fillStyle=$l(St.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",$a=new He(ye.bounds.left,ye.bounds.top+aa(ye.styles.paddingTop,ye.bounds.width),ye.bounds.width,Nu(St.lineHeight,St.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new UA(be.listValue,$a),St.letterSpacing,Nu(St.lineHeight,St.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),ia.label=20;case 20:return[2]}})})},ce.prototype.renderStackContent=function(be){return ct(this,void 0,void 0,function(){var ye,tt,ba,St,Yt,ba,Bn,xn,ba,xr,Pr,ba,Kr,_i,ba,fa,go,ba,Ko,ls,ba;return Le(this,function(ya){switch(ya.label){case 0:if(Ho(be.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(be.element)];case 1:ya.sent(),ye=0,tt=be.negativeZIndex,ya.label=2;case 2:return ye<tt.length?(ba=tt[ye],[4,this.renderStack(ba)]):[3,5];case 3:ya.sent(),ya.label=4;case 4:return ye++,[3,2];case 5:return[4,this.renderNodeContent(be.element)];case 6:ya.sent(),St=0,Yt=be.nonInlineLevel,ya.label=7;case 7:return St<Yt.length?(ba=Yt[St],[4,this.renderNode(ba)]):[3,10];case 8:ya.sent(),ya.label=9;case 9:return St++,[3,7];case 10:Bn=0,xn=be.nonPositionedFloats,ya.label=11;case 11:return Bn<xn.length?(ba=xn[Bn],[4,this.renderStack(ba)]):[3,14];case 12:ya.sent(),ya.label=13;case 13:return Bn++,[3,11];case 14:xr=0,Pr=be.nonPositionedInlineLevel,ya.label=15;case 15:return xr<Pr.length?(ba=Pr[xr],[4,this.renderStack(ba)]):[3,18];case 16:ya.sent(),ya.label=17;case 17:return xr++,[3,15];case 18:Kr=0,_i=be.inlineLevel,ya.label=19;case 19:return Kr<_i.length?(ba=_i[Kr],[4,this.renderNode(ba)]):[3,22];case 20:ya.sent(),ya.label=21;case 21:return Kr++,[3,19];case 22:fa=0,go=be.zeroOrAutoZIndexOrTransformedOrOpacity,ya.label=23;case 23:return fa<go.length?(ba=go[fa],[4,this.renderStack(ba)]):[3,26];case 24:ya.sent(),ya.label=25;case 25:return fa++,[3,23];case 26:Ko=0,ls=be.positiveZIndex,ya.label=27;case 27:return Ko<ls.length?(ba=ls[Ko],[4,this.renderStack(ba)]):[3,30];case 28:ya.sent(),ya.label=29;case 29:return Ko++,[3,27];case 30:return[2]}})})},ce.prototype.mask=function(be){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(be.slice(0).reverse()),this.ctx.closePath()},ce.prototype.path=function(be){this.ctx.beginPath(),this.formatPath(be),this.ctx.closePath()},ce.prototype.formatPath=function(be){var ye=this;be.forEach(function(tt,St){var Yt=tu(tt)?tt.start:tt;St===0?ye.ctx.moveTo(Yt.x,Yt.y):ye.ctx.lineTo(Yt.x,Yt.y),tu(tt)&&ye.ctx.bezierCurveTo(tt.startControl.x,tt.startControl.y,tt.endControl.x,tt.endControl.y,tt.end.x,tt.end.y)})},ce.prototype.renderRepeat=function(be,ye,tt,St){this.path(be),this.ctx.fillStyle=ye,this.ctx.translate(tt,St),this.ctx.fill(),this.ctx.translate(-tt,-St)},ce.prototype.resizeImage=function(be,ye,tt){var St;if(be.width===ye&&be.height===tt)return be;var Yt=(St=this.canvas.ownerDocument)!==null&&St!==void 0?St:document,Bn=Yt.createElement("canvas");Bn.width=Math.max(1,ye),Bn.height=Math.max(1,tt);var xn=Bn.getContext("2d");return xn.drawImage(be,0,0,be.width,be.height,0,0,ye,tt),Bn},ce.prototype.renderBackgroundImage=function(be){return ct(this,void 0,void 0,function(){var ye,tt,St,Yt,Bn,xn;return Le(this,function(xr){switch(xr.label){case 0:ye=be.styles.backgroundImage.length-1,tt=function(Pr){var Kr,_i,fa,Uo,ec,ac,jl,DA,Ps,go,Uo,ec,ac,jl,DA,Ko,ls,ba,ya,es,ys,$a,ia,Ys,Ps,ts,Uo,Ic,jc,jl,DA,lf,ec,ac,dh,Jc,uf,fh,Rf,jd,jf,Af;return Le(this,function(Rh){switch(Rh.label){case 0:if(Pr.type!==0)return[3,5];Kr=void 0,_i=Pr.url,Rh.label=1;case 1:return Rh.trys.push([1,3,,4]),[4,St.context.cache.match(_i)];case 2:return Kr=Rh.sent(),[3,4];case 3:return Rh.sent(),St.context.logger.error("Error loading background-image "+_i),[3,4];case 4:return Kr&&(fa=Ud(be,ye,[Kr.width,Kr.height,Kr.width/Kr.height]),Uo=fa[0],ec=fa[1],ac=fa[2],jl=fa[3],DA=fa[4],Ps=St.ctx.createPattern(St.resizeImage(Kr,jl,DA),"repeat"),St.renderRepeat(Uo,Ps,ec,ac)),[3,6];case 5:pc(Pr)?(go=Ud(be,ye,[null,null,null]),Uo=go[0],ec=go[1],ac=go[2],jl=go[3],DA=go[4],Ko=fc(Pr.angle,jl,DA),ls=Ko[0],ba=Ko[1],ya=Ko[2],es=Ko[3],ys=Ko[4],$a=document.createElement("canvas"),$a.width=jl,$a.height=DA,ia=$a.getContext("2d"),Ys=ia.createLinearGradient(ba,es,ya,ys),WA(Pr.stops,ls).forEach(function(Qf){return Ys.addColorStop(Qf.stop,$l(Qf.color))}),ia.fillStyle=Ys,ia.fillRect(0,0,jl,DA),jl>0&&DA>0&&(Ps=St.ctx.createPattern($a,"repeat"),St.renderRepeat(Uo,Ps,ec,ac))):Ih(Pr)&&(ts=Ud(be,ye,[null,null,null]),Uo=ts[0],Ic=ts[1],jc=ts[2],jl=ts[3],DA=ts[4],lf=Pr.position.length===0?[Kc]:Pr.position,ec=aa(lf[0],jl),ac=aa(lf[lf.length-1],DA),dh=nc(Pr,ec,ac,jl,DA),Jc=dh[0],uf=dh[1],Jc>0&&uf>0&&(fh=St.ctx.createRadialGradient(Ic+ec,jc+ac,0,Ic+ec,jc+ac,Jc),WA(Pr.stops,Jc*2).forEach(function(Qf){return fh.addColorStop(Qf.stop,$l(Qf.color))}),St.path(Uo),St.ctx.fillStyle=fh,Jc!==uf?(Rf=be.bounds.left+.5*be.bounds.width,jd=be.bounds.top+.5*be.bounds.height,jf=uf/Jc,Af=1/jf,St.ctx.save(),St.ctx.translate(Rf,jd),St.ctx.transform(1,0,0,jf,0,0),St.ctx.translate(-Rf,-jd),St.ctx.fillRect(Ic,Af*(jc-jd)+jd,jl,DA*Af),St.ctx.restore()):St.ctx.fill())),Rh.label=6;case 6:return ye--,[2]}})},St=this,Yt=0,Bn=be.styles.backgroundImage.slice(0).reverse(),xr.label=1;case 1:return Yt<Bn.length?(xn=Bn[Yt],[5,tt(xn)]):[3,4];case 2:xr.sent(),xr.label=3;case 3:return Yt++,[3,1];case 4:return[2]}})})},ce.prototype.renderSolidBorder=function(be,ye,tt){return ct(this,void 0,void 0,function(){return Le(this,function(St){return this.path(RA(tt,ye)),this.ctx.fillStyle=$l(be),this.ctx.fill(),[2]})})},ce.prototype.renderDoubleBorder=function(be,ye,tt,St){return ct(this,void 0,void 0,function(){var Yt,Bn;return Le(this,function(xn){switch(xn.label){case 0:return ye<3?[4,this.renderSolidBorder(be,tt,St)]:[3,2];case 1:return xn.sent(),[2];case 2:return Yt=JA(St,tt),this.path(Yt),this.ctx.fillStyle=$l(be),this.ctx.fill(),Bn=qA(St,tt),this.path(Bn),this.ctx.fill(),[2]}})})},ce.prototype.renderNodeBackgroundAndBorders=function(be){return ct(this,void 0,void 0,function(){var ye,tt,St,Yt,Bn,xn,xr,Pr,Kr=this;return Le(this,function(_i){switch(_i.label){case 0:return this.applyEffects(be.getEffects(2)),ye=be.container.styles,tt=!rl(ye.backgroundColor)||ye.backgroundImage.length,St=[{style:ye.borderTopStyle,color:ye.borderTopColor,width:ye.borderTopWidth},{style:ye.borderRightStyle,color:ye.borderRightColor,width:ye.borderRightWidth},{style:ye.borderBottomStyle,color:ye.borderBottomColor,width:ye.borderBottomWidth},{style:ye.borderLeftStyle,color:ye.borderLeftColor,width:ye.borderLeftWidth}],Yt=ch(md(ye.backgroundClip,0),be.curves),tt||ye.boxShadow.length?(this.ctx.save(),this.path(Yt),this.ctx.clip(),rl(ye.backgroundColor)||(this.ctx.fillStyle=$l(ye.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(be.container)]):[3,2];case 1:_i.sent(),this.ctx.restore(),ye.boxShadow.slice(0).reverse().forEach(function(fa){Kr.ctx.save();var go=oc(be.curves),Ko=fa.inset?0:Da,ls=qg(go,-Ko+(fa.inset?1:-1)*fa.spread.number,(fa.inset?1:-1)*fa.spread.number,fa.spread.number*(fa.inset?-2:2),fa.spread.number*(fa.inset?-2:2));fa.inset?(Kr.path(go),Kr.ctx.clip(),Kr.mask(ls)):(Kr.mask(go),Kr.ctx.clip(),Kr.path(ls)),Kr.ctx.shadowOffsetX=fa.offsetX.number+Ko,Kr.ctx.shadowOffsetY=fa.offsetY.number,Kr.ctx.shadowColor=$l(fa.color),Kr.ctx.shadowBlur=fa.blur.number,Kr.ctx.fillStyle=fa.inset?$l(fa.color):"rgba(0,0,0,1)",Kr.ctx.fill(),Kr.ctx.restore()}),_i.label=2;case 2:Bn=0,xn=0,xr=St,_i.label=3;case 3:return xn<xr.length?(Pr=xr[xn],Pr.style!==0&&!rl(Pr.color)&&Pr.width>0?Pr.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Pr.color,Pr.width,Bn,be.curves,2)]:[3,11]):[3,13];case 4:return _i.sent(),[3,11];case 5:return Pr.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Pr.color,Pr.width,Bn,be.curves,3)];case 6:return _i.sent(),[3,11];case 7:return Pr.style!==4?[3,9]:[4,this.renderDoubleBorder(Pr.color,Pr.width,Bn,be.curves)];case 8:return _i.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Pr.color,Bn,be.curves)];case 10:_i.sent(),_i.label=11;case 11:Bn++,_i.label=12;case 12:return xn++,[3,3];case 13:return[2]}})})},ce.prototype.renderDashedDottedBorder=function(be,ye,tt,St,Yt){return ct(this,void 0,void 0,function(){var Bn,xn,xr,Pr,Kr,_i,fa,go,Ko,ls,ba,ya,es,ys,$a,ia,$a,ia;return Le(this,function(Ys){return this.ctx.save(),Bn=em(St,tt),xn=RA(St,tt),Yt===2&&(this.path(xn),this.ctx.clip()),tu(xn[0])?(xr=xn[0].start.x,Pr=xn[0].start.y):(xr=xn[0].x,Pr=xn[0].y),tu(xn[1])?(Kr=xn[1].end.x,_i=xn[1].end.y):(Kr=xn[1].x,_i=xn[1].y),tt===0||tt===2?fa=Math.abs(xr-Kr):fa=Math.abs(Pr-_i),this.ctx.beginPath(),Yt===3?this.formatPath(Bn):this.formatPath(xn.slice(0,2)),go=ye<3?ye*3:ye*2,Ko=ye<3?ye*2:ye,Yt===3&&(go=ye,Ko=ye),ls=!0,fa<=go*2?ls=!1:fa<=go*2+Ko?(ba=fa/(2*go+Ko),go*=ba,Ko*=ba):(ya=Math.floor((fa+Ko)/(go+Ko)),es=(fa-ya*go)/(ya-1),ys=(fa-(ya+1)*go)/ya,Ko=ys<=0||Math.abs(Ko-es)<Math.abs(Ko-ys)?es:ys),ls&&(Yt===3?this.ctx.setLineDash([0,go+Ko]):this.ctx.setLineDash([go,Ko])),Yt===3?(this.ctx.lineCap="round",this.ctx.lineWidth=ye):this.ctx.lineWidth=ye*2+1.1,this.ctx.strokeStyle=$l(be),this.ctx.stroke(),this.ctx.setLineDash([]),Yt===2&&(tu(xn[0])&&($a=xn[3],ia=xn[0],this.ctx.beginPath(),this.formatPath([new So($a.end.x,$a.end.y),new So(ia.start.x,ia.start.y)]),this.ctx.stroke()),tu(xn[1])&&($a=xn[1],ia=xn[2],this.ctx.beginPath(),this.formatPath([new So($a.end.x,$a.end.y),new So(ia.start.x,ia.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},ce.prototype.render=function(be){return ct(this,void 0,void 0,function(){var ye;return Le(this,function(tt){switch(tt.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=$l(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),ye=YA(be),[4,this.renderStack(ye)];case 1:return tt.sent(),this.applyEffects([]),[2,this.canvas]}})})},ce}(Mf),Bg=function(me){return me instanceof ds||me instanceof Oh?!0:me instanceof cd&&me.type!==xc&&me.type!==Ad},ch=function(me,ce){switch(me){case 0:return oc(ce);case 2:return lA(ce);case 1:default:return Ah(ce)}},Uh=function(me){switch(me){case 1:return"center";case 2:return"right";case 0:default:return"left"}},vs=["-apple-system","system-ui"],Uf=function(me){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?me.filter(function(ce){return vs.indexOf(ce)===-1}):me},Fc=function(me){ae(ce,me);function ce(be,ye){var tt=me.call(this,be,ye)||this;return tt.canvas=ye.canvas?ye.canvas:document.createElement("canvas"),tt.ctx=tt.canvas.getContext("2d"),tt.options=ye,tt.canvas.width=Math.floor(ye.width*ye.scale),tt.canvas.height=Math.floor(ye.height*ye.scale),tt.canvas.style.width=ye.width+"px",tt.canvas.style.height=ye.height+"px",tt.ctx.scale(tt.options.scale,tt.options.scale),tt.ctx.translate(-ye.x,-ye.y),tt.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+ye.width+"x"+ye.height+" at "+ye.x+","+ye.y+") with scale "+ye.scale),tt}return ce.prototype.render=function(be){return ct(this,void 0,void 0,function(){var ye,tt;return Le(this,function(St){switch(St.label){case 0:return ye=Wc(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,be),[4,rm(ye)];case 1:return tt=St.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=$l(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(tt,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},ce}(Mf),rm=function(me){return new Promise(function(ce,be){var ye=new Image;ye.onload=function(){ce(ye)},ye.onerror=be,ye.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(me))})},Rd=function(){function me(ce){var be=ce.id,ye=ce.enabled;this.id=be,this.enabled=ye,this.start=Date.now()}return me.prototype.debug=function(){for(var ce=[],be=0;be<arguments.length;be++)ce[be]=arguments[be];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,Je([this.id,this.getTime()+"ms"],ce)):this.info.apply(this,ce))},me.prototype.getTime=function(){return Date.now()-this.start},me.prototype.info=function(){for(var ce=[],be=0;be<arguments.length;be++)ce[be]=arguments[be];this.enabled&&typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,Je([this.id,this.getTime()+"ms"],ce))},me.prototype.warn=function(){for(var ce=[],be=0;be<arguments.length;be++)ce[be]=arguments[be];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,Je([this.id,this.getTime()+"ms"],ce)):this.info.apply(this,ce))},me.prototype.error=function(){for(var ce=[],be=0;be<arguments.length;be++)ce[be]=arguments[be];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,Je([this.id,this.getTime()+"ms"],ce)):this.info.apply(this,ce))},me.instances={},me}(),Hm=function(){function me(ce,be){var ye;this.windowBounds=be,this.instanceName="#"+me.instanceCount++,this.logger=new Rd({id:this.instanceName,enabled:ce.logging}),this.cache=(ye=ce.cache)!==null&&ye!==void 0?ye:new Ra(this,ce)}return me.instanceCount=1,me}(),zm=function(me,ce){return ce===void 0&&(ce={}),Km(me,ce)};typeof window!="undefined"&&Ba.setContext(window);var Km=function(me,ce){return ct(void 0,void 0,void 0,function(){var be,ye,tt,St,Yt,Bn,xn,xr,Pr,Kr,_i,fa,go,Ko,ls,ba,ya,es,ys,$a,Ys,ia,Ys,Ps,ts,Uo,Ic,jc,jl,DA,lf,ec,ac,dh,Jc,uf,fh,Rf,jd,jf;return Le(this,function(Af){switch(Af.label){case 0:if(!me||typeof me!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(be=me.ownerDocument,!be)throw new Error("Element is not attached to a Document");if(ye=be.defaultView,!ye)throw new Error("Document is not attached to a Window");return tt={allowTaint:(Ps=ce.allowTaint)!==null&&Ps!==void 0?Ps:!1,imageTimeout:(ts=ce.imageTimeout)!==null&&ts!==void 0?ts:15e3,proxy:ce.proxy,useCORS:(Uo=ce.useCORS)!==null&&Uo!==void 0?Uo:!1},St=x({logging:(Ic=ce.logging)!==null&&Ic!==void 0?Ic:!0,cache:ce.cache},tt),Yt={windowWidth:(jc=ce.windowWidth)!==null&&jc!==void 0?jc:ye.innerWidth,windowHeight:(jl=ce.windowHeight)!==null&&jl!==void 0?jl:ye.innerHeight,scrollX:(DA=ce.scrollX)!==null&&DA!==void 0?DA:ye.pageXOffset,scrollY:(lf=ce.scrollY)!==null&&lf!==void 0?lf:ye.pageYOffset},Bn=new He(Yt.scrollX,Yt.scrollY,Yt.windowWidth,Yt.windowHeight),xn=new Hm(St,Bn),xr=(ec=ce.foreignObjectRendering)!==null&&ec!==void 0?ec:!1,Pr={allowTaint:(ac=ce.allowTaint)!==null&&ac!==void 0?ac:!1,onclone:ce.onclone,ignoreElements:ce.ignoreElements,inlineImages:xr,copyStyles:xr},xn.logger.debug("Starting document clone with size "+Bn.width+"x"+Bn.height+" scrolled to "+-Bn.left+","+-Bn.top),Kr=new ue(xn,me,Pr),_i=Kr.clonedReferenceElement,_i?[4,Kr.toIFrame(be,Bn)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return fa=Af.sent(),go=Ml(_i)||vg(_i)?Ue(_i.ownerDocument):Se(xn,_i),Ko=go.width,ls=go.height,ba=go.left,ya=go.top,es=Ju(xn,_i,ce.backgroundColor),ys={canvas:ce.canvas,backgroundColor:es,scale:(Jc=(dh=ce.scale)!==null&&dh!==void 0?dh:ye.devicePixelRatio)!==null&&Jc!==void 0?Jc:1,x:((uf=ce.x)!==null&&uf!==void 0?uf:0)+ba,y:((fh=ce.y)!==null&&fh!==void 0?fh:0)+ya,width:(Rf=ce.width)!==null&&Rf!==void 0?Rf:Math.ceil(Ko),height:(jd=ce.height)!==null&&jd!==void 0?jd:Math.ceil(ls)},xr?(xn.logger.debug("Document cloned, using foreign object rendering"),Ys=new Fc(xn,ys),[4,Ys.render(_i)]):[3,3];case 2:return $a=Af.sent(),[3,5];case 3:return xn.logger.debug("Document cloned, element located at "+ba+","+ya+" with size "+Ko+"x"+ls+" using computed rendering"),xn.logger.debug("Starting DOM parsing"),ia=dd(xn,_i),es===ia.styles.backgroundColor&&(ia.styles.backgroundColor=Rs.TRANSPARENT),xn.logger.debug("Starting renderer for element at "+ys.x+","+ys.y+" with size "+ys.width+"x"+ys.height),Ys=new Zu(xn,ys),[4,Ys.render(ia)];case 4:$a=Af.sent(),Af.label=5;case 5:return(!((jf=ce.removeContainer)!==null&&jf!==void 0)||jf)&&(ue.destroy(fa)||xn.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),xn.logger.debug("Finished rendering"),[2,$a]}})})},Ju=function(me,ce,be){var ye=ce.ownerDocument,tt=ye.documentElement?Ua(me,getComputedStyle(ye.documentElement).backgroundColor):Rs.TRANSPARENT,St=ye.body?Ua(me,getComputedStyle(ye.body).backgroundColor):Rs.TRANSPARENT,Yt=typeof be=="string"?Ua(me,be):be===null?Rs.TRANSPARENT:4294967295;return ce===ye.documentElement?rl(tt)?rl(St)?Yt:St:tt:Yt};return zm})},44164:function(Vn,Tt,ae){var x=ae(97671);(function(Le,Je){Vn.exports=Je(ae(65355),ae(64270))})(self,function(ct,Le){return function(){var Je={"./src/plugin/hyperlinks.js":function(fe,Ce,oe){"use strict";oe.r(Ce);var Oe=oe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),ve=oe.n(Oe),Me=oe("./node_modules/core-js/modules/es.string.link.js"),Ie=oe.n(Me),_e=oe("./src/worker.js"),we=oe("./src/utils.js"),xe=[],Ee={toContainer:_e.default.prototype.toContainer,toPdf:_e.default.prototype.toPdf};_e.default.prototype.toContainer=function(){return Ee.toContainer.call(this).then(function(){if(this.opt.enableLinks){var Qe=this.prop.container,Re=Qe.querySelectorAll("a"),et=(0,we.unitConvert)(Qe.getBoundingClientRect(),this.prop.pageSize.k);xe=[],Array.prototype.forEach.call(Re,function(Ge){for(var lt=Ge.getClientRects(),it=0;it<lt.length;it++){var ft=(0,we.unitConvert)(lt[it],this.prop.pageSize.k);ft.left-=et.left,ft.top-=et.top;var bt=Math.floor(ft.top/this.prop.pageSize.inner.height)+1,je=this.opt.margin[0]+ft.top%this.prop.pageSize.inner.height,ht=this.opt.margin[1]+ft.left;xe.push({page:bt,top:je,left:ht,clientRect:ft,link:Ge})}},this)}})},_e.default.prototype.toPdf=function(){return Ee.toPdf.call(this).then(function(){if(this.opt.enableLinks){xe.forEach(function(Re){this.prop.pdf.setPage(Re.page),this.prop.pdf.link(Re.left,Re.top,Re.clientRect.width,Re.clientRect.height,{url:Re.link.href})},this);var Qe=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(Qe)}})}},"./src/plugin/jspdf-plugin.js":function(fe,Ce,oe){"use strict";oe.r(Ce);var Oe=oe("./node_modules/core-js/modules/es.symbol.js"),ve=oe.n(Oe),Me=oe("./node_modules/core-js/modules/es.symbol.description.js"),Ie=oe.n(Me),_e=oe("./node_modules/core-js/modules/es.object.to-string.js"),we=oe.n(_e),xe=oe("./node_modules/core-js/modules/es.symbol.iterator.js"),Ee=oe.n(xe),ke=oe("./node_modules/core-js/modules/es.array.iterator.js"),ze=oe.n(ke),Qe=oe("./node_modules/core-js/modules/es.string.iterator.js"),Re=oe.n(Qe),et=oe("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Ge=oe.n(et),lt=oe("jspdf"),it=oe.n(lt);function ft(bt){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ft=function(ht){return typeof ht}:ft=function(ht){return ht&&typeof Symbol=="function"&&ht.constructor===Symbol&&ht!==Symbol.prototype?"symbol":typeof ht},ft(bt)}lt.jsPDF.getPageSize=function(bt,je,ht){if(ft(bt)==="object"){var Ne=bt;bt=Ne.orientation,je=Ne.unit||je,ht=Ne.format||ht}je=je||"mm",ht=ht||"a4",bt=(""+(bt||"P")).toLowerCase();var We=(""+ht).toLowerCase(),Ut={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(je){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: "+je}if(Ut.hasOwnProperty(We))var yt=Ut[We][1]/ot,Ft=Ut[We][0]/ot;else try{var yt=ht[1],Ft=ht[0]}catch(At){throw new Error("Invalid format: "+ht)}if(bt==="p"||bt==="portrait"){if(bt="p",Ft>yt){var Ze=Ft;Ft=yt,yt=Ze}}else if(bt==="l"||bt==="landscape"){if(bt="l",yt>Ft){var Ze=Ft;Ft=yt,yt=Ze}}else throw"Invalid orientation: "+bt;var Te={width:Ft,height:yt,unit:je,k:ot};return Te},Ce.default=lt.jsPDF},"./src/plugin/pagebreaks.js":function(fe,Ce,oe){"use strict";oe.r(Ce);var Oe=oe("./node_modules/core-js/modules/es.array.concat.js"),ve=oe.n(Oe),Me=oe("./node_modules/core-js/modules/es.array.slice.js"),Ie=oe.n(Me),_e=oe("./node_modules/core-js/modules/es.array.join.js"),we=oe.n(_e),xe=oe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Ee=oe.n(xe),ke=oe("./node_modules/core-js/modules/es.object.keys.js"),ze=oe.n(ke),Qe=oe("./src/worker.js"),Re=oe("./src/utils.js"),et={toContainer:Qe.default.prototype.toContainer};Qe.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},Qe.default.prototype.toContainer=function(){return et.toContainer.call(this).then(function(){var it=this.prop.container,ft=this.prop.pageSize.inner.px.height,bt=[].concat(this.opt.pagebreak.mode),je={avoidAll:bt.indexOf("avoid-all")!==-1,css:bt.indexOf("css")!==-1,legacy:bt.indexOf("legacy")!==-1},ht={},Ne=this;["before","after","avoid"].forEach(function(ot){var yt=je.avoidAll&&ot==="avoid";ht[ot]=yt?[]:[].concat(Ne.opt.pagebreak[ot]||[]),ht[ot].length>0&&(ht[ot]=Array.prototype.slice.call(it.querySelectorAll(ht[ot].join(", "))))});var We=it.querySelectorAll(".html2pdf__page-break");We=Array.prototype.slice.call(We);var Ut=it.querySelectorAll("*");Array.prototype.forEach.call(Ut,function(yt){var Ft={before:!1,after:je.legacy&&We.indexOf(yt)!==-1,avoid:je.avoidAll};if(je.css){var Ze=window.getComputedStyle(yt),Te=["always","page","left","right"],At=["avoid","avoid-page"];Ft={before:Ft.before||Te.indexOf(Ze.breakBefore||Ze.pageBreakBefore)!==-1,after:Ft.after||Te.indexOf(Ze.breakAfter||Ze.pageBreakAfter)!==-1,avoid:Ft.avoid||At.indexOf(Ze.breakInside||Ze.pageBreakInside)!==-1}}Object.keys(Ft).forEach(function(pn){Ft[pn]=Ft[pn]||ht[pn].indexOf(yt)!==-1});var Zt=yt.getBoundingClientRect();if(Ft.avoid&&!Ft.before){var Kt=Math.floor(Zt.top/ft),rt=Math.floor(Zt.bottom/ft),Nt=Math.abs(Zt.bottom-Zt.top)/ft;rt!==Kt&&Nt<=1&&(Ft.before=!0)}if(Ft.before){var Qt=(0,Re.createElement)("div",{style:{display:"block",height:ft-Zt.top%ft+"px"}});yt.parentNode.insertBefore(Qt,yt)}if(Ft.after){var Qt=(0,Re.createElement)("div",{style:{display:"block",height:ft-Zt.bottom%ft+"px"}});yt.parentNode.insertBefore(Qt,yt.nextSibling)}})})}},"./src/utils.js":function(fe,Ce,oe){"use strict";oe.r(Ce),oe.d(Ce,{objType:function(){return bt},createElement:function(){return je},cloneNode:function(){return ht},unitConvert:function(){return Ne},toPx:function(){return We}});var Oe=oe("./node_modules/core-js/modules/es.number.constructor.js"),ve=oe.n(Oe),Me=oe("./node_modules/core-js/modules/es.symbol.js"),Ie=oe.n(Me),_e=oe("./node_modules/core-js/modules/es.symbol.description.js"),we=oe.n(_e),xe=oe("./node_modules/core-js/modules/es.object.to-string.js"),Ee=oe.n(xe),ke=oe("./node_modules/core-js/modules/es.symbol.iterator.js"),ze=oe.n(ke),Qe=oe("./node_modules/core-js/modules/es.array.iterator.js"),Re=oe.n(Qe),et=oe("./node_modules/core-js/modules/es.string.iterator.js"),Ge=oe.n(et),lt=oe("./node_modules/core-js/modules/web.dom-collections.iterator.js"),it=oe.n(lt);function ft(Ut){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ft=function(yt){return typeof yt}:ft=function(yt){return yt&&typeof Symbol=="function"&&yt.constructor===Symbol&&yt!==Symbol.prototype?"symbol":typeof yt},ft(Ut)}var bt=function(ot){var yt=ft(ot);return yt==="undefined"?"undefined":yt==="string"||ot instanceof String?"string":yt==="number"||ot instanceof Number?"number":yt==="function"||ot instanceof Function?"function":ot&&ot.constructor===Array?"array":ot&&ot.nodeType===1?"element":yt==="object"?"object":"unknown"},je=function(ot,yt){var Ft=document.createElement(ot);if(yt.className&&(Ft.className=yt.className),yt.innerHTML){Ft.innerHTML=yt.innerHTML;for(var Ze=Ft.getElementsByTagName("script"),Te=Ze.length;Te-- >0;null)Ze[Te].parentNode.removeChild(Ze[Te])}for(var At in yt.style)Ft.style[At]=yt.style[At];return Ft},ht=function Ut(ot,yt){for(var Ft=ot.nodeType===3?document.createTextNode(ot.nodeValue):ot.cloneNode(!1),Ze=ot.firstChild;Ze;Ze=Ze.nextSibling)(yt===!0||Ze.nodeType!==1||Ze.nodeName!=="SCRIPT")&&Ft.appendChild(Ut(Ze,yt));return ot.nodeType===1&&(ot.nodeName==="CANVAS"?(Ft.width=ot.width,Ft.height=ot.height,Ft.getContext("2d").drawImage(ot,0,0)):(ot.nodeName==="TEXTAREA"||ot.nodeName==="SELECT")&&(Ft.value=ot.value),Ft.addEventListener("load",function(){Ft.scrollTop=ot.scrollTop,Ft.scrollLeft=ot.scrollLeft},!0)),Ft},Ne=function(ot,yt){if(bt(ot)==="number")return ot*72/96/yt;var Ft={};for(var Ze in ot)Ft[Ze]=ot[Ze]*72/96/yt;return Ft},We=function(ot,yt){return Math.floor(ot*yt/72*96)}},"./src/worker.js":function(fe,Ce,oe){"use strict";oe.r(Ce);var Oe=oe("./node_modules/core-js/modules/es.object.assign.js"),ve=oe.n(Oe),Me=oe("./node_modules/core-js/modules/es.array.map.js"),Ie=oe.n(Me),_e=oe("./node_modules/core-js/modules/es.object.keys.js"),we=oe.n(_e),xe=oe("./node_modules/core-js/modules/es.array.concat.js"),Ee=oe.n(xe),ke=oe("./node_modules/core-js/modules/es.object.to-string.js"),ze=oe.n(ke),Qe=oe("./node_modules/core-js/modules/es.regexp.to-string.js"),Re=oe.n(Qe),et=oe("./node_modules/core-js/modules/es.function.name.js"),Ge=oe.n(et),lt=oe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),it=oe.n(lt),ft=oe("jspdf"),bt=oe.n(ft),je=oe("html2canvas"),ht=oe.n(je),Ne=oe("./src/utils.js"),We=oe("./node_modules/es6-promise/dist/es6-promise.js"),Ut=oe.n(We),ot=Ut().Promise,yt=function Ft(Ze){var Te=Object.assign(Ft.convert(ot.resolve()),JSON.parse(JSON.stringify(Ft.template))),At=Ft.convert(ot.resolve(),Te);return At=At.setProgress(1,Ft,1,[Ft]),At=At.set(Ze),At};yt.prototype=Object.create(ot.prototype),yt.prototype.constructor=yt,yt.convert=function(Ze,Te){return Ze.__proto__=Te||yt.prototype,Ze},yt.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},yt.prototype.from=function(Ze,Te){function At(Zt){switch((0,Ne.objType)(Zt)){case"string":return"string";case"element":return Zt.nodeName.toLowerCase&&Zt.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(Te=Te||At(Ze),Te){case"string":return this.set({src:(0,Ne.createElement)("div",{innerHTML:Ze})});case"element":return this.set({src:Ze});case"canvas":return this.set({canvas:Ze});case"img":return this.set({img:Ze});default:return this.error("Unknown source type.")}})},yt.prototype.to=function(Ze){switch(Ze){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},yt.prototype.toContainer=function(){var Ze=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(Ze).then(function(){var At={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},Zt={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};At.opacity=0;var Kt=(0,Ne.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,Ne.createElement)("div",{className:"html2pdf__overlay",style:At}),this.prop.container=(0,Ne.createElement)("div",{className:"html2pdf__container",style:Zt}),this.prop.container.appendChild(Kt),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},yt.prototype.toCanvas=function(){var Ze=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Ze).then(function(){var At=Object.assign({},this.opt.html2canvas);return delete At.onrendered,je(this.prop.container,At)}).then(function(At){var Zt=this.opt.html2canvas.onrendered||function(){};Zt(At),this.prop.canvas=At,document.body.removeChild(this.prop.overlay)})},yt.prototype.toImg=function(){var Ze=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(Ze).then(function(){var At=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=At})},yt.prototype.toPdf=function(){var Ze=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(Ze).then(function(){var At=this.prop.canvas,Zt=this.opt,Kt=At.height,rt=Math.floor(At.width*this.prop.pageSize.inner.ratio),Nt=Math.ceil(Kt/rt),Qt=this.prop.pageSize.inner.height,pn=document.createElement("canvas"),Ot=pn.getContext("2d");pn.width=At.width,pn.height=rt,this.prop.pdf=this.prop.pdf||new ft.jsPDF(Zt.jsPDF);for(var vn=0;vn<Nt;vn++){vn===Nt-1&&Kt%rt!==0&&(pn.height=Kt%rt,Qt=pn.height*this.prop.pageSize.inner.width/pn.width);var _t=pn.width,Fn=pn.height;Ot.fillStyle="white",Ot.fillRect(0,0,_t,Fn),Ot.drawImage(At,0,vn*rt,_t,Fn,0,0,_t,Fn),vn&&this.prop.pdf.addPage();var on=pn.toDataURL("image/"+Zt.image.type,Zt.image.quality);this.prop.pdf.addImage(on,Zt.image.type,Zt.margin[1],Zt.margin[0],this.prop.pageSize.inner.width,Qt)}})},yt.prototype.output=function(Ze,Te,At){return At=At||"pdf",At.toLowerCase()==="img"||At.toLowerCase()==="image"?this.outputImg(Ze,Te):this.outputPdf(Ze,Te)},yt.prototype.outputPdf=function(Ze,Te){var At=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(At).then(function(){return this.prop.pdf.output(Ze,Te)})},yt.prototype.outputImg=function(Ze,Te){var At=[function(){return this.prop.img||this.toImg()}];return this.thenList(At).then(function(){switch(Ze){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 "'+Ze+'" is not supported.'}})},yt.prototype.save=function(Ze){var Te=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(Te).set(Ze?{filename:Ze}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},yt.prototype.set=function(Ze){if((0,Ne.objType)(Ze)!=="object")return this;var Te=Object.keys(Ze||{}).map(function(At){switch(At){case"margin":return this.setMargin.bind(this,Ze.margin);case"jsPDF":return function(){return this.opt.jsPDF=Ze.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,Ze.pageSize);default:return At in yt.template.prop?function(){this.prop[At]=Ze[At]}:function(){this.opt[At]=Ze[At]}}},this);return this.then(function(){return this.thenList(Te)})},yt.prototype.get=function(Ze,Te){return this.then(function(){var Zt=Ze in yt.template.prop?this.prop[Ze]:this.opt[Ze];return Te?Te(Zt):Zt})},yt.prototype.setMargin=function(Ze){return this.then(function(){switch((0,Ne.objType)(Ze)){case"number":Ze=[Ze,Ze,Ze,Ze];case"array":if(Ze.length===2&&(Ze=[Ze[0],Ze[1],Ze[0],Ze[1]]),Ze.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=Ze}).then(this.setPageSize)},yt.prototype.setPageSize=function(Ze){return this.then(function(){Ze=Ze||ft.jsPDF.getPageSize(this.opt.jsPDF),Ze.hasOwnProperty("inner")||(Ze.inner={width:Ze.width-this.opt.margin[1]-this.opt.margin[3],height:Ze.height-this.opt.margin[0]-this.opt.margin[2]},Ze.inner.px={width:(0,Ne.toPx)(Ze.inner.width,Ze.k),height:(0,Ne.toPx)(Ze.inner.height,Ze.k)},Ze.inner.ratio=Ze.inner.height/Ze.inner.width),this.prop.pageSize=Ze})},yt.prototype.setProgress=function(Ze,Te,At,Zt){return Ze!=null&&(this.progress.val=Ze),Te!=null&&(this.progress.state=Te),At!=null&&(this.progress.n=At),Zt!=null&&(this.progress.stack=Zt),this.progress.ratio=this.progress.val/this.progress.state,this},yt.prototype.updateProgress=function(Ze,Te,At,Zt){return this.setProgress(Ze?this.progress.val+Ze:null,Te||null,At?this.progress.n+At:null,Zt?this.progress.stack.concat(Zt):null)},yt.prototype.then=function(Ze,Te){var At=this;return this.thenCore(Ze,Te,function(Kt,rt){return At.updateProgress(null,null,1,[Kt]),ot.prototype.then.call(this,function(Qt){return At.updateProgress(null,Kt),Qt}).then(Kt,rt).then(function(Qt){return At.updateProgress(1),Qt})})},yt.prototype.thenCore=function(Ze,Te,At){At=At||ot.prototype.then;var Zt=this;Ze&&(Ze=Ze.bind(Zt)),Te&&(Te=Te.bind(Zt));var Kt=ot.toString().indexOf("[native code]")!==-1&&ot.name==="Promise",rt=Kt?Zt:yt.convert(Object.assign({},Zt),ot.prototype),Nt=At.call(rt,Ze,Te);return yt.convert(Nt,Zt.__proto__)},yt.prototype.thenExternal=function(Ze,Te){return ot.prototype.then.call(this,Ze,Te)},yt.prototype.thenList=function(Ze){var Te=this;return Ze.forEach(function(Zt){Te=Te.thenCore(Zt)}),Te},yt.prototype.catch=function(Ft){Ft&&(Ft=Ft.bind(this));var Ze=ot.prototype.catch.call(this,Ft);return yt.convert(Ze,this)},yt.prototype.catchExternal=function(Ze){return ot.prototype.catch.call(this,Ze)},yt.prototype.error=function(Ze){return this.then(function(){throw new Error(Ze)})},yt.prototype.using=yt.prototype.set,yt.prototype.saveAs=yt.prototype.save,yt.prototype.export=yt.prototype.output,yt.prototype.run=yt.prototype.then,Ce.default=yt},"./node_modules/core-js/internals/a-function.js":function(fe){fe.exports=function(Ce){if(typeof Ce!="function")throw TypeError(String(Ce)+" is not a function");return Ce}},"./node_modules/core-js/internals/a-possible-prototype.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/is-object.js");fe.exports=function(ve){if(!Oe(ve)&&ve!==null)throw TypeError("Can't set "+String(ve)+" as a prototype");return ve}},"./node_modules/core-js/internals/add-to-unscopables.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/well-known-symbol.js"),ve=oe("./node_modules/core-js/internals/object-create.js"),Me=oe("./node_modules/core-js/internals/object-define-property.js"),Ie=Oe("unscopables"),_e=Array.prototype;_e[Ie]==null&&Me.f(_e,Ie,{configurable:!0,value:ve(null)}),fe.exports=function(we){_e[Ie][we]=!0}},"./node_modules/core-js/internals/an-object.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/is-object.js");fe.exports=function(ve){if(!Oe(ve))throw TypeError(String(ve)+" is not an object");return ve}},"./node_modules/core-js/internals/array-for-each.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/array-iteration.js").forEach,ve=oe("./node_modules/core-js/internals/array-method-is-strict.js"),Me=ve("forEach");fe.exports=Me?[].forEach:function(_e){return Oe(this,_e,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/to-indexed-object.js"),ve=oe("./node_modules/core-js/internals/to-length.js"),Me=oe("./node_modules/core-js/internals/to-absolute-index.js"),Ie=function(_e){return function(we,xe,Ee){var ke=Oe(we),ze=ve(ke.length),Qe=Me(Ee,ze),Re;if(_e&&xe!=xe){for(;ze>Qe;)if(Re=ke[Qe++],Re!=Re)return!0}else for(;ze>Qe;Qe++)if((_e||Qe in ke)&&ke[Qe]===xe)return _e||Qe||0;return!_e&&-1}};fe.exports={includes:Ie(!0),indexOf:Ie(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/function-bind-context.js"),ve=oe("./node_modules/core-js/internals/indexed-object.js"),Me=oe("./node_modules/core-js/internals/to-object.js"),Ie=oe("./node_modules/core-js/internals/to-length.js"),_e=oe("./node_modules/core-js/internals/array-species-create.js"),we=[].push,xe=function(Ee){var ke=Ee==1,ze=Ee==2,Qe=Ee==3,Re=Ee==4,et=Ee==6,Ge=Ee==7,lt=Ee==5||et;return function(it,ft,bt,je){for(var ht=Me(it),Ne=ve(ht),We=Oe(ft,bt,3),Ut=Ie(Ne.length),ot=0,yt=je||_e,Ft=ke?yt(it,Ut):ze||Ge?yt(it,0):void 0,Ze,Te;Ut>ot;ot++)if((lt||ot in Ne)&&(Ze=Ne[ot],Te=We(Ze,ot,ht),Ee))if(ke)Ft[ot]=Te;else if(Te)switch(Ee){case 3:return!0;case 5:return Ze;case 6:return ot;case 2:we.call(Ft,Ze)}else switch(Ee){case 4:return!1;case 7:we.call(Ft,Ze)}return et?-1:Qe||Re?Re:Ft}};fe.exports={forEach:xe(0),map:xe(1),filter:xe(2),some:xe(3),every:xe(4),find:xe(5),findIndex:xe(6),filterReject:xe(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/fails.js"),ve=oe("./node_modules/core-js/internals/well-known-symbol.js"),Me=oe("./node_modules/core-js/internals/engine-v8-version.js"),Ie=ve("species");fe.exports=function(_e){return Me>=51||!Oe(function(){var we=[],xe=we.constructor={};return xe[Ie]=function(){return{foo:1}},we[_e](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/fails.js");fe.exports=function(ve,Me){var Ie=[][ve];return!!Ie&&Oe(function(){Ie.call(null,Me||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/is-object.js"),ve=oe("./node_modules/core-js/internals/is-array.js"),Me=oe("./node_modules/core-js/internals/well-known-symbol.js"),Ie=Me("species");fe.exports=function(_e){var we;return ve(_e)&&(we=_e.constructor,typeof we=="function"&&(we===Array||ve(we.prototype))?we=void 0:Oe(we)&&(we=we[Ie],we===null&&(we=void 0))),we===void 0?Array:we}},"./node_modules/core-js/internals/array-species-create.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/array-species-constructor.js");fe.exports=function(ve,Me){return new(Oe(ve))(Me===0?0:Me)}},"./node_modules/core-js/internals/classof-raw.js":function(fe){var Ce={}.toString;fe.exports=function(oe){return Ce.call(oe).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/to-string-tag-support.js"),ve=oe("./node_modules/core-js/internals/classof-raw.js"),Me=oe("./node_modules/core-js/internals/well-known-symbol.js"),Ie=Me("toStringTag"),_e=ve(function(){return arguments}())=="Arguments",we=function(xe,Ee){try{return xe[Ee]}catch(ke){}};fe.exports=Oe?ve:function(xe){var Ee,ke,ze;return xe===void 0?"Undefined":xe===null?"Null":typeof(ke=we(Ee=Object(xe),Ie))=="string"?ke:_e?ve(Ee):(ze=ve(Ee))=="Object"&&typeof Ee.callee=="function"?"Arguments":ze}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/has.js"),ve=oe("./node_modules/core-js/internals/own-keys.js"),Me=oe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),Ie=oe("./node_modules/core-js/internals/object-define-property.js");fe.exports=function(_e,we){for(var xe=ve(we),Ee=Ie.f,ke=Me.f,ze=0;ze<xe.length;ze++){var Qe=xe[ze];Oe(_e,Qe)||Ee(_e,Qe,ke(we,Qe))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/fails.js");fe.exports=!Oe(function(){function ve(){}return ve.prototype.constructor=null,Object.getPrototypeOf(new ve)!==ve.prototype})},"./node_modules/core-js/internals/create-html.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/require-object-coercible.js"),ve=oe("./node_modules/core-js/internals/to-string.js"),Me=/"/g;fe.exports=function(Ie,_e,we,xe){var Ee=ve(Oe(Ie)),ke="<"+_e;return we!==""&&(ke+=" "+we+'="'+ve(xe).replace(Me,"&quot;")+'"'),ke+">"+Ee+"</"+_e+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,ve=oe("./node_modules/core-js/internals/object-create.js"),Me=oe("./node_modules/core-js/internals/create-property-descriptor.js"),Ie=oe("./node_modules/core-js/internals/set-to-string-tag.js"),_e=oe("./node_modules/core-js/internals/iterators.js"),we=function(){return this};fe.exports=function(xe,Ee,ke){var ze=Ee+" Iterator";return xe.prototype=ve(Oe,{next:Me(1,ke)}),Ie(xe,ze,!1,!0),_e[ze]=we,xe}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/object-define-property.js"),Me=oe("./node_modules/core-js/internals/create-property-descriptor.js");fe.exports=Oe?function(Ie,_e,we){return ve.f(Ie,_e,Me(1,we))}:function(Ie,_e,we){return Ie[_e]=we,Ie}},"./node_modules/core-js/internals/create-property-descriptor.js":function(fe){fe.exports=function(Ce,oe){return{enumerable:!(Ce&1),configurable:!(Ce&2),writable:!(Ce&4),value:oe}}},"./node_modules/core-js/internals/create-property.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/to-property-key.js"),ve=oe("./node_modules/core-js/internals/object-define-property.js"),Me=oe("./node_modules/core-js/internals/create-property-descriptor.js");fe.exports=function(Ie,_e,we){var xe=Oe(_e);xe in Ie?ve.f(Ie,xe,Me(0,we)):Ie[xe]=we}},"./node_modules/core-js/internals/define-iterator.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/create-iterator-constructor.js"),Me=oe("./node_modules/core-js/internals/object-get-prototype-of.js"),Ie=oe("./node_modules/core-js/internals/object-set-prototype-of.js"),_e=oe("./node_modules/core-js/internals/set-to-string-tag.js"),we=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),xe=oe("./node_modules/core-js/internals/redefine.js"),Ee=oe("./node_modules/core-js/internals/well-known-symbol.js"),ke=oe("./node_modules/core-js/internals/is-pure.js"),ze=oe("./node_modules/core-js/internals/iterators.js"),Qe=oe("./node_modules/core-js/internals/iterators-core.js"),Re=Qe.IteratorPrototype,et=Qe.BUGGY_SAFARI_ITERATORS,Ge=Ee("iterator"),lt="keys",it="values",ft="entries",bt=function(){return this};fe.exports=function(je,ht,Ne,We,Ut,ot,yt){ve(Ne,ht,We);var Ft=function(Ot){if(Ot===Ut&&Kt)return Kt;if(!et&&Ot in At)return At[Ot];switch(Ot){case lt:return function(){return new Ne(this,Ot)};case it:return function(){return new Ne(this,Ot)};case ft:return function(){return new Ne(this,Ot)}}return function(){return new Ne(this)}},Ze=ht+" Iterator",Te=!1,At=je.prototype,Zt=At[Ge]||At["@@iterator"]||Ut&&At[Ut],Kt=!et&&Zt||Ft(Ut),rt=ht=="Array"&&At.entries||Zt,Nt,Qt,pn;if(rt&&(Nt=Me(rt.call(new je)),Re!==Object.prototype&&Nt.next&&(!ke&&Me(Nt)!==Re&&(Ie?Ie(Nt,Re):typeof Nt[Ge]!="function"&&we(Nt,Ge,bt)),_e(Nt,Ze,!0,!0),ke&&(ze[Ze]=bt))),Ut==it&&Zt&&Zt.name!==it&&(Te=!0,Kt=function(){return Zt.call(this)}),(!ke||yt)&&At[Ge]!==Kt&&we(At,Ge,Kt),ze[ht]=Kt,Ut)if(Qt={values:Ft(it),keys:ot?Kt:Ft(lt),entries:Ft(ft)},yt)for(pn in Qt)(et||Te||!(pn in At))&&xe(At,pn,Qt[pn]);else Oe({target:ht,proto:!0,forced:et||Te},Qt);return Qt}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/path.js"),ve=oe("./node_modules/core-js/internals/has.js"),Me=oe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Ie=oe("./node_modules/core-js/internals/object-define-property.js").f;fe.exports=function(_e){var we=Oe.Symbol||(Oe.Symbol={});ve(we,_e)||Ie(we,_e,{value:Me.f(_e)})}},"./node_modules/core-js/internals/descriptors.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/fails.js");fe.exports=!Oe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/is-object.js"),Me=Oe.document,Ie=ve(Me)&&ve(Me.createElement);fe.exports=function(_e){return Ie?Me.createElement(_e):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(fe){fe.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/get-built-in.js");fe.exports=Oe("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/engine-user-agent.js"),Me=Oe.process,Ie=Oe.Deno,_e=Me&&Me.versions||Ie&&Ie.version,we=_e&&_e.v8,xe,Ee;we?(xe=we.split("."),Ee=xe[0]<4?1:xe[0]+xe[1]):ve&&(xe=ve.match(/Edge\/(\d+)/),(!xe||xe[1]>=74)&&(xe=ve.match(/Chrome\/(\d+)/),xe&&(Ee=xe[1]))),fe.exports=Ee&&+Ee},"./node_modules/core-js/internals/enum-bug-keys.js":function(fe){fe.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Me=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ie=oe("./node_modules/core-js/internals/redefine.js"),_e=oe("./node_modules/core-js/internals/set-global.js"),we=oe("./node_modules/core-js/internals/copy-constructor-properties.js"),xe=oe("./node_modules/core-js/internals/is-forced.js");fe.exports=function(Ee,ke){var ze=Ee.target,Qe=Ee.global,Re=Ee.stat,et,Ge,lt,it,ft,bt;if(Qe?Ge=Oe:Re?Ge=Oe[ze]||_e(ze,{}):Ge=(Oe[ze]||{}).prototype,Ge)for(lt in ke){if(ft=ke[lt],Ee.noTargetGet?(bt=ve(Ge,lt),it=bt&&bt.value):it=Ge[lt],et=xe(Qe?lt:ze+(Re?".":"#")+lt,Ee.forced),!et&&it!==void 0){if(typeof ft==typeof it)continue;we(ft,it)}(Ee.sham||it&&it.sham)&&Me(ft,"sham",!0),Ie(Ge,lt,ft,Ee)}}},"./node_modules/core-js/internals/fails.js":function(fe){fe.exports=function(Ce){try{return!!Ce()}catch(oe){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/a-function.js");fe.exports=function(ve,Me,Ie){if(Oe(ve),Me===void 0)return ve;switch(Ie){case 0:return function(){return ve.call(Me)};case 1:return function(_e){return ve.call(Me,_e)};case 2:return function(_e,we){return ve.call(Me,_e,we)};case 3:return function(_e,we,xe){return ve.call(Me,_e,we,xe)}}return function(){return ve.apply(Me,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js"),ve=function(Me){return typeof Me=="function"?Me:void 0};fe.exports=function(Me,Ie){return arguments.length<2?ve(Oe[Me]):Oe[Me]&&Oe[Me][Ie]}},"./node_modules/core-js/internals/global.js":function(fe){var Ce=function(oe){return oe&&oe.Math==Math&&oe};fe.exports=Ce(typeof globalThis=="object"&&globalThis)||Ce(typeof window=="object"&&window)||Ce(typeof self=="object"&&self)||Ce(typeof ae.g=="object"&&ae.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/to-object.js"),ve={}.hasOwnProperty;fe.exports=Object.hasOwn||function(Ie,_e){return ve.call(Oe(Ie),_e)}},"./node_modules/core-js/internals/hidden-keys.js":function(fe){fe.exports={}},"./node_modules/core-js/internals/html.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/get-built-in.js");fe.exports=Oe("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/fails.js"),Me=oe("./node_modules/core-js/internals/document-create-element.js");fe.exports=!Oe&&!ve(function(){return Object.defineProperty(Me("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/fails.js"),ve=oe("./node_modules/core-js/internals/classof-raw.js"),Me="".split;fe.exports=Oe(function(){return!Object("z").propertyIsEnumerable(0)})?function(Ie){return ve(Ie)=="String"?Me.call(Ie,""):Object(Ie)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/is-object.js"),ve=oe("./node_modules/core-js/internals/object-set-prototype-of.js");fe.exports=function(Me,Ie,_e){var we,xe;return ve&&typeof(we=Ie.constructor)=="function"&&we!==_e&&Oe(xe=we.prototype)&&xe!==_e.prototype&&ve(Me,xe),Me}},"./node_modules/core-js/internals/inspect-source.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/shared-store.js"),ve=Function.toString;typeof Oe.inspectSource!="function"&&(Oe.inspectSource=function(Me){return ve.call(Me)}),fe.exports=Oe.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/native-weak-map.js"),ve=oe("./node_modules/core-js/internals/global.js"),Me=oe("./node_modules/core-js/internals/is-object.js"),Ie=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),_e=oe("./node_modules/core-js/internals/has.js"),we=oe("./node_modules/core-js/internals/shared-store.js"),xe=oe("./node_modules/core-js/internals/shared-key.js"),Ee=oe("./node_modules/core-js/internals/hidden-keys.js"),ke="Object already initialized",ze=ve.WeakMap,Qe,Re,et,Ge=function(Ne){return et(Ne)?Re(Ne):Qe(Ne,{})},lt=function(Ne){return function(We){var Ut;if(!Me(We)||(Ut=Re(We)).type!==Ne)throw TypeError("Incompatible receiver, "+Ne+" required");return Ut}};if(Oe||we.state){var it=we.state||(we.state=new ze),ft=it.get,bt=it.has,je=it.set;Qe=function(Ne,We){if(bt.call(it,Ne))throw new TypeError(ke);return We.facade=Ne,je.call(it,Ne,We),We},Re=function(Ne){return ft.call(it,Ne)||{}},et=function(Ne){return bt.call(it,Ne)}}else{var ht=xe("state");Ee[ht]=!0,Qe=function(Ne,We){if(_e(Ne,ht))throw new TypeError(ke);return We.facade=Ne,Ie(Ne,ht,We),We},Re=function(Ne){return _e(Ne,ht)?Ne[ht]:{}},et=function(Ne){return _e(Ne,ht)}}fe.exports={set:Qe,get:Re,has:et,enforce:Ge,getterFor:lt}},"./node_modules/core-js/internals/is-array.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/classof-raw.js");fe.exports=Array.isArray||function(Me){return Oe(Me)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/fails.js"),ve=/#|\.prototype\./,Me=function(Ee,ke){var ze=_e[Ie(Ee)];return ze==xe?!0:ze==we?!1:typeof ke=="function"?Oe(ke):!!ke},Ie=Me.normalize=function(Ee){return String(Ee).replace(ve,".").toLowerCase()},_e=Me.data={},we=Me.NATIVE="N",xe=Me.POLYFILL="P";fe.exports=Me},"./node_modules/core-js/internals/is-object.js":function(fe){fe.exports=function(Ce){return typeof Ce=="object"?Ce!==null:typeof Ce=="function"}},"./node_modules/core-js/internals/is-pure.js":function(fe){fe.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/get-built-in.js"),ve=oe("./node_modules/core-js/internals/use-symbol-as-uid.js");fe.exports=ve?function(Me){return typeof Me=="symbol"}:function(Me){var Ie=Oe("Symbol");return typeof Ie=="function"&&Object(Me)instanceof Ie}},"./node_modules/core-js/internals/iterators-core.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/fails.js"),ve=oe("./node_modules/core-js/internals/object-get-prototype-of.js"),Me=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ie=oe("./node_modules/core-js/internals/has.js"),_e=oe("./node_modules/core-js/internals/well-known-symbol.js"),we=oe("./node_modules/core-js/internals/is-pure.js"),xe=_e("iterator"),Ee=!1,ke=function(){return this},ze,Qe,Re;[].keys&&(Re=[].keys(),"next"in Re?(Qe=ve(ve(Re)),Qe!==Object.prototype&&(ze=Qe)):Ee=!0);var et=ze==null||Oe(function(){var Ge={};return ze[xe].call(Ge)!==Ge});et&&(ze={}),(!we||et)&&!Ie(ze,xe)&&Me(ze,xe,ke),fe.exports={IteratorPrototype:ze,BUGGY_SAFARI_ITERATORS:Ee}},"./node_modules/core-js/internals/iterators.js":function(fe){fe.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/engine-v8-version.js"),ve=oe("./node_modules/core-js/internals/fails.js");fe.exports=!!Object.getOwnPropertySymbols&&!ve(function(){var Me=Symbol();return!String(Me)||!(Object(Me)instanceof Symbol)||!Symbol.sham&&Oe&&Oe<41})},"./node_modules/core-js/internals/native-weak-map.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/inspect-source.js"),Me=Oe.WeakMap;fe.exports=typeof Me=="function"&&/native code/.test(ve(Me))},"./node_modules/core-js/internals/object-assign.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/fails.js"),Me=oe("./node_modules/core-js/internals/object-keys.js"),Ie=oe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),_e=oe("./node_modules/core-js/internals/object-property-is-enumerable.js"),we=oe("./node_modules/core-js/internals/to-object.js"),xe=oe("./node_modules/core-js/internals/indexed-object.js"),Ee=Object.assign,ke=Object.defineProperty;fe.exports=!Ee||ve(function(){if(Oe&&Ee({b:1},Ee(ke({},"a",{enumerable:!0,get:function(){ke(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var ze={},Qe={},Re=Symbol(),et="abcdefghijklmnopqrst";return ze[Re]=7,et.split("").forEach(function(Ge){Qe[Ge]=Ge}),Ee({},ze)[Re]!=7||Me(Ee({},Qe)).join("")!=et})?function(Qe,Re){for(var et=we(Qe),Ge=arguments.length,lt=1,it=Ie.f,ft=_e.f;Ge>lt;)for(var bt=xe(arguments[lt++]),je=it?Me(bt).concat(it(bt)):Me(bt),ht=je.length,Ne=0,We;ht>Ne;)We=je[Ne++],(!Oe||ft.call(bt,We))&&(et[We]=bt[We]);return et}:Ee},"./node_modules/core-js/internals/object-create.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/an-object.js"),ve=oe("./node_modules/core-js/internals/object-define-properties.js"),Me=oe("./node_modules/core-js/internals/enum-bug-keys.js"),Ie=oe("./node_modules/core-js/internals/hidden-keys.js"),_e=oe("./node_modules/core-js/internals/html.js"),we=oe("./node_modules/core-js/internals/document-create-element.js"),xe=oe("./node_modules/core-js/internals/shared-key.js"),Ee=">",ke="<",ze="prototype",Qe="script",Re=xe("IE_PROTO"),et=function(){},Ge=function(je){return ke+Qe+Ee+je+ke+"/"+Qe+Ee},lt=function(je){je.write(Ge("")),je.close();var ht=je.parentWindow.Object;return je=null,ht},it=function(){var je=we("iframe"),ht="java"+Qe+":",Ne;if(je.style)return je.style.display="none",_e.appendChild(je),je.src=String(ht),Ne=je.contentWindow.document,Ne.open(),Ne.write(Ge("document.F=Object")),Ne.close(),Ne.F},ft,bt=function(){try{ft=new ActiveXObject("htmlfile")}catch(ht){}bt=document.domain&&ft?lt(ft):it()||lt(ft);for(var je=Me.length;je--;)delete bt[ze][Me[je]];return bt()};Ie[Re]=!0,fe.exports=Object.create||function(ht,Ne){var We;return ht!==null?(et[ze]=Oe(ht),We=new et,et[ze]=null,We[Re]=ht):We=bt(),Ne===void 0?We:ve(We,Ne)}},"./node_modules/core-js/internals/object-define-properties.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/object-define-property.js"),Me=oe("./node_modules/core-js/internals/an-object.js"),Ie=oe("./node_modules/core-js/internals/object-keys.js");fe.exports=Oe?Object.defineProperties:function(we,xe){Me(we);for(var Ee=Ie(xe),ke=Ee.length,ze=0,Qe;ke>ze;)ve.f(we,Qe=Ee[ze++],xe[Qe]);return we}},"./node_modules/core-js/internals/object-define-property.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/ie8-dom-define.js"),Me=oe("./node_modules/core-js/internals/an-object.js"),Ie=oe("./node_modules/core-js/internals/to-property-key.js"),_e=Object.defineProperty;Ce.f=Oe?_e:function(xe,Ee,ke){if(Me(xe),Ee=Ie(Ee),Me(ke),ve)try{return _e(xe,Ee,ke)}catch(ze){}if("get"in ke||"set"in ke)throw TypeError("Accessors not supported");return"value"in ke&&(xe[Ee]=ke.value),xe}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/object-property-is-enumerable.js"),Me=oe("./node_modules/core-js/internals/create-property-descriptor.js"),Ie=oe("./node_modules/core-js/internals/to-indexed-object.js"),_e=oe("./node_modules/core-js/internals/to-property-key.js"),we=oe("./node_modules/core-js/internals/has.js"),xe=oe("./node_modules/core-js/internals/ie8-dom-define.js"),Ee=Object.getOwnPropertyDescriptor;Ce.f=Oe?Ee:function(ze,Qe){if(ze=Ie(ze),Qe=_e(Qe),xe)try{return Ee(ze,Qe)}catch(Re){}if(we(ze,Qe))return Me(!ve.f.call(ze,Qe),ze[Qe])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/to-indexed-object.js"),ve=oe("./node_modules/core-js/internals/object-get-own-property-names.js").f,Me={}.toString,Ie=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],_e=function(we){try{return ve(we)}catch(xe){return Ie.slice()}};fe.exports.f=function(xe){return Ie&&Me.call(xe)=="[object Window]"?_e(xe):ve(Oe(xe))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/object-keys-internal.js"),ve=oe("./node_modules/core-js/internals/enum-bug-keys.js"),Me=ve.concat("length","prototype");Ce.f=Object.getOwnPropertyNames||function(_e){return Oe(_e,Me)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(fe,Ce){Ce.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/has.js"),ve=oe("./node_modules/core-js/internals/to-object.js"),Me=oe("./node_modules/core-js/internals/shared-key.js"),Ie=oe("./node_modules/core-js/internals/correct-prototype-getter.js"),_e=Me("IE_PROTO"),we=Object.prototype;fe.exports=Ie?Object.getPrototypeOf:function(xe){return xe=ve(xe),Oe(xe,_e)?xe[_e]:typeof xe.constructor=="function"&&xe instanceof xe.constructor?xe.constructor.prototype:xe instanceof Object?we:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/has.js"),ve=oe("./node_modules/core-js/internals/to-indexed-object.js"),Me=oe("./node_modules/core-js/internals/array-includes.js").indexOf,Ie=oe("./node_modules/core-js/internals/hidden-keys.js");fe.exports=function(_e,we){var xe=ve(_e),Ee=0,ke=[],ze;for(ze in xe)!Oe(Ie,ze)&&Oe(xe,ze)&&ke.push(ze);for(;we.length>Ee;)Oe(xe,ze=we[Ee++])&&(~Me(ke,ze)||ke.push(ze));return ke}},"./node_modules/core-js/internals/object-keys.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/object-keys-internal.js"),ve=oe("./node_modules/core-js/internals/enum-bug-keys.js");fe.exports=Object.keys||function(Ie){return Oe(Ie,ve)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(fe,Ce){"use strict";var oe={}.propertyIsEnumerable,Oe=Object.getOwnPropertyDescriptor,ve=Oe&&!oe.call({1:2},1);Ce.f=ve?function(Ie){var _e=Oe(this,Ie);return!!_e&&_e.enumerable}:oe},"./node_modules/core-js/internals/object-set-prototype-of.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/an-object.js"),ve=oe("./node_modules/core-js/internals/a-possible-prototype.js");fe.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var Me=!1,Ie={},_e;try{_e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,_e.call(Ie,[]),Me=Ie instanceof Array}catch(we){}return function(xe,Ee){return Oe(xe),ve(Ee),Me?_e.call(xe,Ee):xe.__proto__=Ee,xe}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/to-string-tag-support.js"),ve=oe("./node_modules/core-js/internals/classof.js");fe.exports=Oe?{}.toString:function(){return"[object "+ve(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/is-object.js");fe.exports=function(ve,Me){var Ie,_e;if(Me==="string"&&typeof(Ie=ve.toString)=="function"&&!Oe(_e=Ie.call(ve))||typeof(Ie=ve.valueOf)=="function"&&!Oe(_e=Ie.call(ve))||Me!=="string"&&typeof(Ie=ve.toString)=="function"&&!Oe(_e=Ie.call(ve)))return _e;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/get-built-in.js"),ve=oe("./node_modules/core-js/internals/object-get-own-property-names.js"),Me=oe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Ie=oe("./node_modules/core-js/internals/an-object.js");fe.exports=Oe("Reflect","ownKeys")||function(we){var xe=ve.f(Ie(we)),Ee=Me.f;return Ee?xe.concat(Ee(we)):xe}},"./node_modules/core-js/internals/path.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js");fe.exports=Oe},"./node_modules/core-js/internals/redefine.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Me=oe("./node_modules/core-js/internals/has.js"),Ie=oe("./node_modules/core-js/internals/set-global.js"),_e=oe("./node_modules/core-js/internals/inspect-source.js"),we=oe("./node_modules/core-js/internals/internal-state.js"),xe=we.get,Ee=we.enforce,ke=String(String).split("String");(fe.exports=function(ze,Qe,Re,et){var Ge=et?!!et.unsafe:!1,lt=et?!!et.enumerable:!1,it=et?!!et.noTargetGet:!1,ft;if(typeof Re=="function"&&(typeof Qe=="string"&&!Me(Re,"name")&&ve(Re,"name",Qe),ft=Ee(Re),ft.source||(ft.source=ke.join(typeof Qe=="string"?Qe:""))),ze===Oe){lt?ze[Qe]=Re:Ie(Qe,Re);return}else Ge?!it&&ze[Qe]&&(lt=!0):delete ze[Qe];lt?ze[Qe]=Re:ve(ze,Qe,Re)})(Function.prototype,"toString",function(){return typeof this=="function"&&xe(this).source||_e(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/an-object.js");fe.exports=function(){var ve=Oe(this),Me="";return ve.global&&(Me+="g"),ve.ignoreCase&&(Me+="i"),ve.multiline&&(Me+="m"),ve.dotAll&&(Me+="s"),ve.unicode&&(Me+="u"),ve.sticky&&(Me+="y"),Me}},"./node_modules/core-js/internals/require-object-coercible.js":function(fe){fe.exports=function(Ce){if(Ce==null)throw TypeError("Can't call method on "+Ce);return Ce}},"./node_modules/core-js/internals/set-global.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js");fe.exports=function(ve,Me){try{Object.defineProperty(Oe,ve,{value:Me,configurable:!0,writable:!0})}catch(Ie){Oe[ve]=Me}return Me}},"./node_modules/core-js/internals/set-to-string-tag.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/object-define-property.js").f,ve=oe("./node_modules/core-js/internals/has.js"),Me=oe("./node_modules/core-js/internals/well-known-symbol.js"),Ie=Me("toStringTag");fe.exports=function(_e,we,xe){_e&&!ve(_e=xe?_e:_e.prototype,Ie)&&Oe(_e,Ie,{configurable:!0,value:we})}},"./node_modules/core-js/internals/shared-key.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/shared.js"),ve=oe("./node_modules/core-js/internals/uid.js"),Me=Oe("keys");fe.exports=function(Ie){return Me[Ie]||(Me[Ie]=ve(Ie))}},"./node_modules/core-js/internals/shared-store.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/set-global.js"),Me="__core-js_shared__",Ie=Oe[Me]||ve(Me,{});fe.exports=Ie},"./node_modules/core-js/internals/shared.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/is-pure.js"),ve=oe("./node_modules/core-js/internals/shared-store.js");(fe.exports=function(Me,Ie){return ve[Me]||(ve[Me]=Ie!==void 0?Ie:{})})("versions",[]).push({version:"3.16.0",mode:Oe?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/fails.js");fe.exports=function(ve){return Oe(function(){var Me=""[ve]('"');return Me!==Me.toLowerCase()||Me.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/to-integer.js"),ve=oe("./node_modules/core-js/internals/to-string.js"),Me=oe("./node_modules/core-js/internals/require-object-coercible.js"),Ie=function(_e){return function(we,xe){var Ee=ve(Me(we)),ke=Oe(xe),ze=Ee.length,Qe,Re;return ke<0||ke>=ze?_e?"":void 0:(Qe=Ee.charCodeAt(ke),Qe<55296||Qe>56319||ke+1===ze||(Re=Ee.charCodeAt(ke+1))<56320||Re>57343?_e?Ee.charAt(ke):Qe:_e?Ee.slice(ke,ke+2):(Qe-55296<<10)+(Re-56320)+65536)}};fe.exports={codeAt:Ie(!1),charAt:Ie(!0)}},"./node_modules/core-js/internals/string-trim.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/require-object-coercible.js"),ve=oe("./node_modules/core-js/internals/to-string.js"),Me=oe("./node_modules/core-js/internals/whitespaces.js"),Ie="["+Me+"]",_e=RegExp("^"+Ie+Ie+"*"),we=RegExp(Ie+Ie+"*$"),xe=function(Ee){return function(ke){var ze=ve(Oe(ke));return Ee&1&&(ze=ze.replace(_e,"")),Ee&2&&(ze=ze.replace(we,"")),ze}};fe.exports={start:xe(1),end:xe(2),trim:xe(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/to-integer.js"),ve=Math.max,Me=Math.min;fe.exports=function(Ie,_e){var we=Oe(Ie);return we<0?ve(we+_e,0):Me(we,_e)}},"./node_modules/core-js/internals/to-indexed-object.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/indexed-object.js"),ve=oe("./node_modules/core-js/internals/require-object-coercible.js");fe.exports=function(Me){return Oe(ve(Me))}},"./node_modules/core-js/internals/to-integer.js":function(fe){var Ce=Math.ceil,oe=Math.floor;fe.exports=function(Oe){return isNaN(Oe=+Oe)?0:(Oe>0?oe:Ce)(Oe)}},"./node_modules/core-js/internals/to-length.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/to-integer.js"),ve=Math.min;fe.exports=function(Me){return Me>0?ve(Oe(Me),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/require-object-coercible.js");fe.exports=function(ve){return Object(Oe(ve))}},"./node_modules/core-js/internals/to-primitive.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/is-object.js"),ve=oe("./node_modules/core-js/internals/is-symbol.js"),Me=oe("./node_modules/core-js/internals/ordinary-to-primitive.js"),Ie=oe("./node_modules/core-js/internals/well-known-symbol.js"),_e=Ie("toPrimitive");fe.exports=function(we,xe){if(!Oe(we)||ve(we))return we;var Ee=we[_e],ke;if(Ee!==void 0){if(xe===void 0&&(xe="default"),ke=Ee.call(we,xe),!Oe(ke)||ve(ke))return ke;throw TypeError("Can't convert object to primitive value")}return xe===void 0&&(xe="number"),Me(we,xe)}},"./node_modules/core-js/internals/to-property-key.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/to-primitive.js"),ve=oe("./node_modules/core-js/internals/is-symbol.js");fe.exports=function(Me){var Ie=Oe(Me,"string");return ve(Ie)?Ie:String(Ie)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/well-known-symbol.js"),ve=Oe("toStringTag"),Me={};Me[ve]="z",fe.exports=String(Me)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/is-symbol.js");fe.exports=function(ve){if(Oe(ve))throw TypeError("Cannot convert a Symbol value to a string");return String(ve)}},"./node_modules/core-js/internals/uid.js":function(fe){var Ce=0,oe=Math.random();fe.exports=function(Oe){return"Symbol("+String(Oe===void 0?"":Oe)+")_"+(++Ce+oe).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/native-symbol.js");fe.exports=Oe&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/well-known-symbol.js");Ce.f=Oe},"./node_modules/core-js/internals/well-known-symbol.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/shared.js"),Me=oe("./node_modules/core-js/internals/has.js"),Ie=oe("./node_modules/core-js/internals/uid.js"),_e=oe("./node_modules/core-js/internals/native-symbol.js"),we=oe("./node_modules/core-js/internals/use-symbol-as-uid.js"),xe=ve("wks"),Ee=Oe.Symbol,ke=we?Ee:Ee&&Ee.withoutSetter||Ie;fe.exports=function(ze){return(!Me(xe,ze)||!(_e||typeof xe[ze]=="string"))&&(_e&&Me(Ee,ze)?xe[ze]=Ee[ze]:xe[ze]=ke("Symbol."+ze)),xe[ze]}},"./node_modules/core-js/internals/whitespaces.js":function(fe){fe.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/fails.js"),Me=oe("./node_modules/core-js/internals/is-array.js"),Ie=oe("./node_modules/core-js/internals/is-object.js"),_e=oe("./node_modules/core-js/internals/to-object.js"),we=oe("./node_modules/core-js/internals/to-length.js"),xe=oe("./node_modules/core-js/internals/create-property.js"),Ee=oe("./node_modules/core-js/internals/array-species-create.js"),ke=oe("./node_modules/core-js/internals/array-method-has-species-support.js"),ze=oe("./node_modules/core-js/internals/well-known-symbol.js"),Qe=oe("./node_modules/core-js/internals/engine-v8-version.js"),Re=ze("isConcatSpreadable"),et=9007199254740991,Ge="Maximum allowed index exceeded",lt=Qe>=51||!ve(function(){var je=[];return je[Re]=!1,je.concat()[0]!==je}),it=ke("concat"),ft=function(je){if(!Ie(je))return!1;var ht=je[Re];return ht!==void 0?!!ht:Me(je)},bt=!lt||!it;Oe({target:"Array",proto:!0,forced:bt},{concat:function(ht){var Ne=_e(this),We=Ee(Ne,0),Ut=0,ot,yt,Ft,Ze,Te;for(ot=-1,Ft=arguments.length;ot<Ft;ot++)if(Te=ot===-1?Ne:arguments[ot],ft(Te)){if(Ze=we(Te.length),Ut+Ze>et)throw TypeError(Ge);for(yt=0;yt<Ze;yt++,Ut++)yt in Te&&xe(We,Ut,Te[yt])}else{if(Ut>=et)throw TypeError(Ge);xe(We,Ut++,Te)}return We.length=Ut,We}})},"./node_modules/core-js/modules/es.array.iterator.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/to-indexed-object.js"),ve=oe("./node_modules/core-js/internals/add-to-unscopables.js"),Me=oe("./node_modules/core-js/internals/iterators.js"),Ie=oe("./node_modules/core-js/internals/internal-state.js"),_e=oe("./node_modules/core-js/internals/define-iterator.js"),we="Array Iterator",xe=Ie.set,Ee=Ie.getterFor(we);fe.exports=_e(Array,"Array",function(ke,ze){xe(this,{type:we,target:Oe(ke),index:0,kind:ze})},function(){var ke=Ee(this),ze=ke.target,Qe=ke.kind,Re=ke.index++;return!ze||Re>=ze.length?(ke.target=void 0,{value:void 0,done:!0}):Qe=="keys"?{value:Re,done:!1}:Qe=="values"?{value:ze[Re],done:!1}:{value:[Re,ze[Re]],done:!1}},"values"),Me.Arguments=Me.Array,ve("keys"),ve("values"),ve("entries")},"./node_modules/core-js/modules/es.array.join.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/indexed-object.js"),Me=oe("./node_modules/core-js/internals/to-indexed-object.js"),Ie=oe("./node_modules/core-js/internals/array-method-is-strict.js"),_e=[].join,we=ve!=Object,xe=Ie("join",",");Oe({target:"Array",proto:!0,forced:we||!xe},{join:function(ke){return _e.call(Me(this),ke===void 0?",":ke)}})},"./node_modules/core-js/modules/es.array.map.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/array-iteration.js").map,Me=oe("./node_modules/core-js/internals/array-method-has-species-support.js"),Ie=Me("map");Oe({target:"Array",proto:!0,forced:!Ie},{map:function(we){return ve(this,we,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/is-object.js"),Me=oe("./node_modules/core-js/internals/is-array.js"),Ie=oe("./node_modules/core-js/internals/to-absolute-index.js"),_e=oe("./node_modules/core-js/internals/to-length.js"),we=oe("./node_modules/core-js/internals/to-indexed-object.js"),xe=oe("./node_modules/core-js/internals/create-property.js"),Ee=oe("./node_modules/core-js/internals/well-known-symbol.js"),ke=oe("./node_modules/core-js/internals/array-method-has-species-support.js"),ze=ke("slice"),Qe=Ee("species"),Re=[].slice,et=Math.max;Oe({target:"Array",proto:!0,forced:!ze},{slice:function(lt,it){var ft=we(this),bt=_e(ft.length),je=Ie(lt,bt),ht=Ie(it===void 0?bt:it,bt),Ne,We,Ut;if(Me(ft)&&(Ne=ft.constructor,typeof Ne=="function"&&(Ne===Array||Me(Ne.prototype))?Ne=void 0:ve(Ne)&&(Ne=Ne[Qe],Ne===null&&(Ne=void 0)),Ne===Array||Ne===void 0))return Re.call(ft,je,ht);for(We=new(Ne===void 0?Array:Ne)(et(ht-je,0)),Ut=0;je<ht;je++,Ut++)je in ft&&xe(We,Ut,ft[je]);return We.length=Ut,We}})},"./node_modules/core-js/modules/es.function.name.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/object-define-property.js").f,Me=Function.prototype,Ie=Me.toString,_e=/^\s*function ([^ (]*)/,we="name";Oe&&!(we in Me)&&ve(Me,we,{configurable:!0,get:function(){try{return Ie.call(this).match(_e)[1]}catch(xe){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/global.js"),Me=oe("./node_modules/core-js/internals/is-forced.js"),Ie=oe("./node_modules/core-js/internals/redefine.js"),_e=oe("./node_modules/core-js/internals/has.js"),we=oe("./node_modules/core-js/internals/classof-raw.js"),xe=oe("./node_modules/core-js/internals/inherit-if-required.js"),Ee=oe("./node_modules/core-js/internals/is-symbol.js"),ke=oe("./node_modules/core-js/internals/to-primitive.js"),ze=oe("./node_modules/core-js/internals/fails.js"),Qe=oe("./node_modules/core-js/internals/object-create.js"),Re=oe("./node_modules/core-js/internals/object-get-own-property-names.js").f,et=oe("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Ge=oe("./node_modules/core-js/internals/object-define-property.js").f,lt=oe("./node_modules/core-js/internals/string-trim.js").trim,it="Number",ft=ve[it],bt=ft.prototype,je=we(Qe(bt))==it,ht=function(yt){if(Ee(yt))throw TypeError("Cannot convert a Symbol value to a number");var Ft=ke(yt,"number"),Ze,Te,At,Zt,Kt,rt,Nt,Qt;if(typeof Ft=="string"&&Ft.length>2){if(Ft=lt(Ft),Ze=Ft.charCodeAt(0),Ze===43||Ze===45){if(Te=Ft.charCodeAt(2),Te===88||Te===120)return NaN}else if(Ze===48){switch(Ft.charCodeAt(1)){case 66:case 98:At=2,Zt=49;break;case 79:case 111:At=8,Zt=55;break;default:return+Ft}for(Kt=Ft.slice(2),rt=Kt.length,Nt=0;Nt<rt;Nt++)if(Qt=Kt.charCodeAt(Nt),Qt<48||Qt>Zt)return NaN;return parseInt(Kt,At)}}return+Ft};if(Me(it,!ft(" 0o1")||!ft("0b1")||ft("+0x1"))){for(var Ne=function(Ft){var Ze=arguments.length<1?0:Ft,Te=this;return Te instanceof Ne&&(je?ze(function(){bt.valueOf.call(Te)}):we(Te)!=it)?xe(new ft(ht(Ze)),Te,Ne):ht(Ze)},We=Oe?Re(ft):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),Ut=0,ot;We.length>Ut;Ut++)_e(ft,ot=We[Ut])&&!_e(Ne,ot)&&Ge(Ne,ot,et(ft,ot));Ne.prototype=bt,bt.constructor=Ne,Ie(ve,it,Ne)}},"./node_modules/core-js/modules/es.object.assign.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/object-assign.js");Oe({target:"Object",stat:!0,forced:Object.assign!==ve},{assign:ve})},"./node_modules/core-js/modules/es.object.keys.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/to-object.js"),Me=oe("./node_modules/core-js/internals/object-keys.js"),Ie=oe("./node_modules/core-js/internals/fails.js"),_e=Ie(function(){Me(1)});Oe({target:"Object",stat:!0,forced:_e},{keys:function(xe){return Me(ve(xe))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/to-string-tag-support.js"),ve=oe("./node_modules/core-js/internals/redefine.js"),Me=oe("./node_modules/core-js/internals/object-to-string.js");Oe||ve(Object.prototype,"toString",Me,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/redefine.js"),ve=oe("./node_modules/core-js/internals/an-object.js"),Me=oe("./node_modules/core-js/internals/to-string.js"),Ie=oe("./node_modules/core-js/internals/fails.js"),_e=oe("./node_modules/core-js/internals/regexp-flags.js"),we="toString",xe=RegExp.prototype,Ee=xe[we],ke=Ie(function(){return Ee.call({source:"a",flags:"b"})!="/a/b"}),ze=Ee.name!=we;(ke||ze)&&Oe(RegExp.prototype,we,function(){var Re=ve(this),et=Me(Re.source),Ge=Re.flags,lt=Me(Ge===void 0&&Re instanceof RegExp&&!("flags"in xe)?_e.call(Re):Ge);return"/"+et+"/"+lt},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/string-multibyte.js").charAt,ve=oe("./node_modules/core-js/internals/to-string.js"),Me=oe("./node_modules/core-js/internals/internal-state.js"),Ie=oe("./node_modules/core-js/internals/define-iterator.js"),_e="String Iterator",we=Me.set,xe=Me.getterFor(_e);Ie(String,"String",function(Ee){we(this,{type:_e,string:ve(Ee),index:0})},function(){var ke=xe(this),ze=ke.string,Qe=ke.index,Re;return Qe>=ze.length?{value:void 0,done:!0}:(Re=Oe(ze,Qe),ke.index+=Re.length,{value:Re,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/create-html.js"),Me=oe("./node_modules/core-js/internals/string-html-forced.js");Oe({target:"String",proto:!0,forced:Me("link")},{link:function(_e){return ve(this,"a","href",_e)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/descriptors.js"),Me=oe("./node_modules/core-js/internals/global.js"),Ie=oe("./node_modules/core-js/internals/has.js"),_e=oe("./node_modules/core-js/internals/is-object.js"),we=oe("./node_modules/core-js/internals/object-define-property.js").f,xe=oe("./node_modules/core-js/internals/copy-constructor-properties.js"),Ee=Me.Symbol;if(ve&&typeof Ee=="function"&&(!("description"in Ee.prototype)||Ee().description!==void 0)){var ke={},ze=function(){var it=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),ft=this instanceof ze?new Ee(it):it===void 0?Ee():Ee(it);return it===""&&(ke[ft]=!0),ft};xe(ze,Ee);var Qe=ze.prototype=Ee.prototype;Qe.constructor=ze;var Re=Qe.toString,et=String(Ee("test"))=="Symbol(test)",Ge=/^Symbol\((.*)\)[^)]+$/;we(Qe,"description",{configurable:!0,get:function(){var it=_e(this)?this.valueOf():this,ft=Re.call(it);if(Ie(ke,it))return"";var bt=et?ft.slice(7,-1):ft.replace(Ge,"$1");return bt===""?void 0:bt}}),Oe({global:!0,forced:!0},{Symbol:ze})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/define-well-known-symbol.js");Oe("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/global.js"),Me=oe("./node_modules/core-js/internals/get-built-in.js"),Ie=oe("./node_modules/core-js/internals/is-pure.js"),_e=oe("./node_modules/core-js/internals/descriptors.js"),we=oe("./node_modules/core-js/internals/native-symbol.js"),xe=oe("./node_modules/core-js/internals/fails.js"),Ee=oe("./node_modules/core-js/internals/has.js"),ke=oe("./node_modules/core-js/internals/is-array.js"),ze=oe("./node_modules/core-js/internals/is-object.js"),Qe=oe("./node_modules/core-js/internals/is-symbol.js"),Re=oe("./node_modules/core-js/internals/an-object.js"),et=oe("./node_modules/core-js/internals/to-object.js"),Ge=oe("./node_modules/core-js/internals/to-indexed-object.js"),lt=oe("./node_modules/core-js/internals/to-property-key.js"),it=oe("./node_modules/core-js/internals/to-string.js"),ft=oe("./node_modules/core-js/internals/create-property-descriptor.js"),bt=oe("./node_modules/core-js/internals/object-create.js"),je=oe("./node_modules/core-js/internals/object-keys.js"),ht=oe("./node_modules/core-js/internals/object-get-own-property-names.js"),Ne=oe("./node_modules/core-js/internals/object-get-own-property-names-external.js"),We=oe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Ut=oe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ot=oe("./node_modules/core-js/internals/object-define-property.js"),yt=oe("./node_modules/core-js/internals/object-property-is-enumerable.js"),Ft=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ze=oe("./node_modules/core-js/internals/redefine.js"),Te=oe("./node_modules/core-js/internals/shared.js"),At=oe("./node_modules/core-js/internals/shared-key.js"),Zt=oe("./node_modules/core-js/internals/hidden-keys.js"),Kt=oe("./node_modules/core-js/internals/uid.js"),rt=oe("./node_modules/core-js/internals/well-known-symbol.js"),Nt=oe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Qt=oe("./node_modules/core-js/internals/define-well-known-symbol.js"),pn=oe("./node_modules/core-js/internals/set-to-string-tag.js"),Ot=oe("./node_modules/core-js/internals/internal-state.js"),vn=oe("./node_modules/core-js/internals/array-iteration.js").forEach,_t=At("hidden"),Fn="Symbol",on="prototype",de=rt("toPrimitive"),ge=Ot.set,ie=Ot.getterFor(Fn),ee=Object[on],le=ve.Symbol,se=Me("JSON","stringify"),Be=Ut.f,$e=ot.f,at=Ne.f,pt=yt.f,gt=Te("symbols"),Bt=Te("op-symbols"),Lt=Te("string-to-symbol-registry"),Rt=Te("symbol-to-string-registry"),Ct=Te("wks"),st=ve.QObject,$t=!st||!st[on]||!st[on].findChild,Vt=_e&&xe(function(){return bt($e({},"a",{get:function(){return $e(this,"a",{value:7}).a}})).a!=7})?function(It,Wt,rn){var mn=Be(ee,Wt);mn&&delete ee[Wt],$e(It,Wt,rn),mn&&It!==ee&&$e(ee,Wt,mn)}:$e,bn=function(It,Wt){var rn=gt[It]=bt(le[on]);return ge(rn,{type:Fn,tag:It,description:Wt}),_e||(rn.description=Wt),rn},an=function(Wt,rn,mn){Wt===ee&&an(Bt,rn,mn),Re(Wt);var Xn=lt(rn);return Re(mn),Ee(gt,Xn)?(mn.enumerable?(Ee(Wt,_t)&&Wt[_t][Xn]&&(Wt[_t][Xn]=!1),mn=bt(mn,{enumerable:ft(0,!1)})):(Ee(Wt,_t)||$e(Wt,_t,ft(1,{})),Wt[_t][Xn]=!0),Vt(Wt,Xn,mn)):$e(Wt,Xn,mn)},en=function(Wt,rn){Re(Wt);var mn=Ge(rn),Xn=je(mn).concat(Dn(mn));return vn(Xn,function(Fr){(!_e||En.call(mn,Fr))&&an(Wt,Fr,mn[Fr])}),Wt},Hn=function(Wt,rn){return rn===void 0?bt(Wt):en(bt(Wt),rn)},En=function(Wt){var rn=lt(Wt),mn=pt.call(this,rn);return this===ee&&Ee(gt,rn)&&!Ee(Bt,rn)?!1:mn||!Ee(this,rn)||!Ee(gt,rn)||Ee(this,_t)&&this[_t][rn]?mn:!0},Mt=function(Wt,rn){var mn=Ge(Wt),Xn=lt(rn);if(!(mn===ee&&Ee(gt,Xn)&&!Ee(Bt,Xn))){var Fr=Be(mn,Xn);return Fr&&Ee(gt,Xn)&&!(Ee(mn,_t)&&mn[_t][Xn])&&(Fr.enumerable=!0),Fr}},sn=function(Wt){var rn=at(Ge(Wt)),mn=[];return vn(rn,function(Xn){!Ee(gt,Xn)&&!Ee(Zt,Xn)&&mn.push(Xn)}),mn},Dn=function(Wt){var rn=Wt===ee,mn=at(rn?Bt:Ge(Wt)),Xn=[];return vn(mn,function(Fr){Ee(gt,Fr)&&(!rn||Ee(ee,Fr))&&Xn.push(gt[Fr])}),Xn};if(we||(le=function(){if(this instanceof le)throw TypeError("Symbol is not a constructor");var Wt=!arguments.length||arguments[0]===void 0?void 0:it(arguments[0]),rn=Kt(Wt),mn=function(Xn){this===ee&&mn.call(Bt,Xn),Ee(this,_t)&&Ee(this[_t],rn)&&(this[_t][rn]=!1),Vt(this,rn,ft(1,Xn))};return _e&&$t&&Vt(ee,rn,{configurable:!0,set:mn}),bn(rn,Wt)},Ze(le[on],"toString",function(){return ie(this).tag}),Ze(le,"withoutSetter",function(It){return bn(Kt(It),It)}),yt.f=En,ot.f=an,Ut.f=Mt,ht.f=Ne.f=sn,We.f=Dn,Nt.f=function(It){return bn(rt(It),It)},_e&&($e(le[on],"description",{configurable:!0,get:function(){return ie(this).description}}),Ie||Ze(ee,"propertyIsEnumerable",En,{unsafe:!0}))),Oe({global:!0,wrap:!0,forced:!we,sham:!we},{Symbol:le}),vn(je(Ct),function(It){Qt(It)}),Oe({target:Fn,stat:!0,forced:!we},{for:function(It){var Wt=it(It);if(Ee(Lt,Wt))return Lt[Wt];var rn=le(Wt);return Lt[Wt]=rn,Rt[rn]=Wt,rn},keyFor:function(Wt){if(!Qe(Wt))throw TypeError(Wt+" is not a symbol");if(Ee(Rt,Wt))return Rt[Wt]},useSetter:function(){$t=!0},useSimple:function(){$t=!1}}),Oe({target:"Object",stat:!0,forced:!we,sham:!_e},{create:Hn,defineProperty:an,defineProperties:en,getOwnPropertyDescriptor:Mt}),Oe({target:"Object",stat:!0,forced:!we},{getOwnPropertyNames:sn,getOwnPropertySymbols:Dn}),Oe({target:"Object",stat:!0,forced:xe(function(){We.f(1)})},{getOwnPropertySymbols:function(Wt){return We.f(et(Wt))}}),se){var Wn=!we||xe(function(){var It=le();return se([It])!="[null]"||se({a:It})!="{}"||se(Object(It))!="{}"});Oe({target:"JSON",stat:!0,forced:Wn},{stringify:function(Wt,rn,mn){for(var Xn=[Wt],Fr=1,ri;arguments.length>Fr;)Xn.push(arguments[Fr++]);if(ri=rn,!(!ze(rn)&&Wt===void 0||Qe(Wt)))return ke(rn)||(rn=function(Hr,Ir){if(typeof ri=="function"&&(Ir=ri.call(this,Hr,Ir)),!Qe(Ir))return Ir}),Xn[1]=rn,se.apply(null,Xn)}})}le[on][de]||Ft(le[on],de,le[on].valueOf),pn(le,Fn),Zt[_t]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/dom-iterables.js"),Me=oe("./node_modules/core-js/internals/array-for-each.js"),Ie=oe("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var _e in ve){var we=Oe[_e],xe=we&&we.prototype;if(xe&&xe.forEach!==Me)try{Ie(xe,"forEach",Me)}catch(Ee){xe.forEach=Me}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/dom-iterables.js"),Me=oe("./node_modules/core-js/modules/es.array.iterator.js"),Ie=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),_e=oe("./node_modules/core-js/internals/well-known-symbol.js"),we=_e("iterator"),xe=_e("toStringTag"),Ee=Me.values;for(var ke in ve){var ze=Oe[ke],Qe=ze&&ze.prototype;if(Qe){if(Qe[we]!==Ee)try{Ie(Qe,we,Ee)}catch(et){Qe[we]=Ee}if(Qe[xe]||Ie(Qe,xe,ke),ve[ke]){for(var Re in Me)if(Qe[Re]!==Me[Re])try{Ie(Qe,Re,Me[Re])}catch(et){Qe[Re]=Me[Re]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(fe){(function(Ce,oe){fe.exports=oe()})(this,function(){"use strict";function Ce(st){var $t=typeof st;return st!==null&&($t==="object"||$t==="function")}function oe(st){return typeof st=="function"}var Oe=void 0;Array.isArray?Oe=Array.isArray:Oe=function(st){return Object.prototype.toString.call(st)==="[object Array]"};var ve=Oe,Me=0,Ie=void 0,_e=void 0,we=function($t,Vt){je[Me]=$t,je[Me+1]=Vt,Me+=2,Me===2&&(_e?_e(ht):We())};function xe(st){_e=st}function Ee(st){we=st}var ke=typeof window!="undefined"?window:void 0,ze=ke||{},Qe=ze.MutationObserver||ze.WebKitMutationObserver,Re=typeof self=="undefined"&&typeof x!="undefined"&&{}.toString.call(x)==="[object process]",et=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Ge(){return function(){return x.nextTick(ht)}}function lt(){return typeof Ie!="undefined"?function(){Ie(ht)}:bt()}function it(){var st=0,$t=new Qe(ht),Vt=document.createTextNode("");return $t.observe(Vt,{characterData:!0}),function(){Vt.data=st=++st%2}}function ft(){var st=new MessageChannel;return st.port1.onmessage=ht,function(){return st.port2.postMessage(0)}}function bt(){var st=setTimeout;return function(){return st(ht,1)}}var je=new Array(1e3);function ht(){for(var st=0;st<Me;st+=2){var $t=je[st],Vt=je[st+1];$t(Vt),je[st]=void 0,je[st+1]=void 0}Me=0}function Ne(){try{var st=Function("return this")().require("vertx");return Ie=st.runOnLoop||st.runOnContext,lt()}catch($t){return bt()}}var We=void 0;Re?We=Ge():Qe?We=it():et?We=ft():ke===void 0?We=Ne():We=bt();function Ut(st,$t){var Vt=this,bn=new this.constructor(Ft);bn[yt]===void 0&&se(bn);var an=Vt._state;if(an){var en=arguments[an-1];we(function(){return ge(an,bn,en,Vt._result)})}else on(Vt,bn,st,$t);return bn}function ot(st){var $t=this;if(st&&typeof st=="object"&&st.constructor===$t)return st;var Vt=new $t(Ft);return Ot(Vt,st),Vt}var yt=Math.random().toString(36).substring(2);function Ft(){}var Ze=void 0,Te=1,At=2;function Zt(){return new TypeError("You cannot resolve a promise with itself")}function Kt(){return new TypeError("A promises callback cannot return that same promise.")}function rt(st,$t,Vt,bn){try{st.call($t,Vt,bn)}catch(an){return an}}function Nt(st,$t,Vt){we(function(bn){var an=!1,en=rt(Vt,$t,function(Hn){an||(an=!0,$t!==Hn?Ot(bn,Hn):_t(bn,Hn))},function(Hn){an||(an=!0,Fn(bn,Hn))},"Settle: "+(bn._label||" unknown promise"));!an&&en&&(an=!0,Fn(bn,en))},st)}function Qt(st,$t){$t._state===Te?_t(st,$t._result):$t._state===At?Fn(st,$t._result):on($t,void 0,function(Vt){return Ot(st,Vt)},function(Vt){return Fn(st,Vt)})}function pn(st,$t,Vt){$t.constructor===st.constructor&&Vt===Ut&&$t.constructor.resolve===ot?Qt(st,$t):Vt===void 0?_t(st,$t):oe(Vt)?Nt(st,$t,Vt):_t(st,$t)}function Ot(st,$t){if(st===$t)Fn(st,Zt());else if(Ce($t)){var Vt=void 0;try{Vt=$t.then}catch(bn){Fn(st,bn);return}pn(st,$t,Vt)}else _t(st,$t)}function vn(st){st._onerror&&st._onerror(st._result),de(st)}function _t(st,$t){st._state===Ze&&(st._result=$t,st._state=Te,st._subscribers.length!==0&&we(de,st))}function Fn(st,$t){st._state===Ze&&(st._state=At,st._result=$t,we(vn,st))}function on(st,$t,Vt,bn){var an=st._subscribers,en=an.length;st._onerror=null,an[en]=$t,an[en+Te]=Vt,an[en+At]=bn,en===0&&st._state&&we(de,st)}function de(st){var $t=st._subscribers,Vt=st._state;if($t.length!==0){for(var bn=void 0,an=void 0,en=st._result,Hn=0;Hn<$t.length;Hn+=3)bn=$t[Hn],an=$t[Hn+Vt],bn?ge(Vt,bn,an,en):an(en);st._subscribers.length=0}}function ge(st,$t,Vt,bn){var an=oe(Vt),en=void 0,Hn=void 0,En=!0;if(an){try{en=Vt(bn)}catch(Mt){En=!1,Hn=Mt}if($t===en){Fn($t,Kt());return}}else en=bn;$t._state!==Ze||(an&&En?Ot($t,en):En===!1?Fn($t,Hn):st===Te?_t($t,en):st===At&&Fn($t,en))}function ie(st,$t){try{$t(function(bn){Ot(st,bn)},function(bn){Fn(st,bn)})}catch(Vt){Fn(st,Vt)}}var ee=0;function le(){return ee++}function se(st){st[yt]=ee++,st._state=void 0,st._result=void 0,st._subscribers=[]}function Be(){return new Error("Array Methods must be provided an Array")}var $e=function(){function st($t,Vt){this._instanceConstructor=$t,this.promise=new $t(Ft),this.promise[yt]||se(this.promise),ve(Vt)?(this.length=Vt.length,this._remaining=Vt.length,this._result=new Array(this.length),this.length===0?_t(this.promise,this._result):(this.length=this.length||0,this._enumerate(Vt),this._remaining===0&&_t(this.promise,this._result))):Fn(this.promise,Be())}return st.prototype._enumerate=function(Vt){for(var bn=0;this._state===Ze&&bn<Vt.length;bn++)this._eachEntry(Vt[bn],bn)},st.prototype._eachEntry=function(Vt,bn){var an=this._instanceConstructor,en=an.resolve;if(en===ot){var Hn=void 0,En=void 0,Mt=!1;try{Hn=Vt.then}catch(Dn){Mt=!0,En=Dn}if(Hn===Ut&&Vt._state!==Ze)this._settledAt(Vt._state,bn,Vt._result);else if(typeof Hn!="function")this._remaining--,this._result[bn]=Vt;else if(an===Rt){var sn=new an(Ft);Mt?Fn(sn,En):pn(sn,Vt,Hn),this._willSettleAt(sn,bn)}else this._willSettleAt(new an(function(Dn){return Dn(Vt)}),bn)}else this._willSettleAt(en(Vt),bn)},st.prototype._settledAt=function(Vt,bn,an){var en=this.promise;en._state===Ze&&(this._remaining--,Vt===At?Fn(en,an):this._result[bn]=an),this._remaining===0&&_t(en,this._result)},st.prototype._willSettleAt=function(Vt,bn){var an=this;on(Vt,void 0,function(en){return an._settledAt(Te,bn,en)},function(en){return an._settledAt(At,bn,en)})},st}();function at(st){return new $e(this,st).promise}function pt(st){var $t=this;return ve(st)?new $t(function(Vt,bn){for(var an=st.length,en=0;en<an;en++)$t.resolve(st[en]).then(Vt,bn)}):new $t(function(Vt,bn){return bn(new TypeError("You must pass an array to race."))})}function gt(st){var $t=this,Vt=new $t(Ft);return Fn(Vt,st),Vt}function Bt(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Lt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Rt=function(){function st($t){this[yt]=le(),this._result=this._state=void 0,this._subscribers=[],Ft!==$t&&(typeof $t!="function"&&Bt(),this instanceof st?ie(this,$t):Lt())}return st.prototype.catch=function(Vt){return this.then(null,Vt)},st.prototype.finally=function(Vt){var bn=this,an=bn.constructor;return oe(Vt)?bn.then(function(en){return an.resolve(Vt()).then(function(){return en})},function(en){return an.resolve(Vt()).then(function(){throw en})}):bn.then(Vt,Vt)},st}();Rt.prototype.then=Ut,Rt.all=at,Rt.race=pt,Rt.resolve=ot,Rt.reject=gt,Rt._setScheduler=xe,Rt._setAsap=Ee,Rt._asap=we;function Ct(){var st=void 0;if(typeof ae.g!="undefined")st=ae.g;else if(typeof self!="undefined")st=self;else try{st=Function("return this")()}catch(bn){throw new Error("polyfill failed because global object is unavailable in this environment")}var $t=st.Promise;if($t){var Vt=null;try{Vt=Object.prototype.toString.call($t.resolve())}catch(bn){}if(Vt==="[object Promise]"&&!$t.cast)return}st.Promise=Rt}return Rt.polyfill=Ct,Rt.Promise=Rt,Rt})},html2canvas:function(fe){"use strict";fe.exports=Le},jspdf:function(fe){"use strict";fe.exports=ct}},He={};function Se(fe){var Ce=He[fe];if(Ce!==void 0)return Ce.exports;var oe=He[fe]={exports:{}};return Je[fe].call(oe.exports,oe,oe.exports,Se),oe.exports}(function(){Se.n=function(fe){var Ce=fe&&fe.__esModule?function(){return fe.default}:function(){return fe};return Se.d(Ce,{a:Ce}),Ce}})(),function(){Se.d=function(fe,Ce){for(var oe in Ce)Se.o(Ce,oe)&&!Se.o(fe,oe)&&Object.defineProperty(fe,oe,{enumerable:!0,get:Ce[oe]})}}(),function(){Se.o=function(fe,Ce){return Object.prototype.hasOwnProperty.call(fe,Ce)}}(),function(){Se.r=function(fe){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(fe,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(fe,"__esModule",{value:!0})}}();var Ue={};return function(){"use strict";Se.r(Ue);var fe=Se("./src/worker.js"),Ce=Se("./src/plugin/jspdf-plugin.js"),oe=Se("./src/plugin/pagebreaks.js"),Oe=Se("./src/plugin/hyperlinks.js"),ve=function Me(Ie,_e){var we=new Me.Worker(_e);return Ie?we.from(Ie).save():we};ve.Worker=fe.default,Ue.default=ve}(),Ue=Ue.default,Ue}()})},67467:function(Vn,Tt){Tt.read=function(ae,x,ct,Le,Je){var He,Se,Ue=Je*8-Le-1,fe=(1<<Ue)-1,Ce=fe>>1,oe=-7,Oe=ct?Je-1:0,ve=ct?-1:1,Me=ae[x+Oe];for(Oe+=ve,He=Me&(1<<-oe)-1,Me>>=-oe,oe+=Ue;oe>0;He=He*256+ae[x+Oe],Oe+=ve,oe-=8);for(Se=He&(1<<-oe)-1,He>>=-oe,oe+=Le;oe>0;Se=Se*256+ae[x+Oe],Oe+=ve,oe-=8);if(He===0)He=1-Ce;else{if(He===fe)return Se?NaN:(Me?-1:1)*(1/0);Se=Se+Math.pow(2,Le),He=He-Ce}return(Me?-1:1)*Se*Math.pow(2,He-Le)},Tt.write=function(ae,x,ct,Le,Je,He){var Se,Ue,fe,Ce=He*8-Je-1,oe=(1<<Ce)-1,Oe=oe>>1,ve=Je===23?Math.pow(2,-24)-Math.pow(2,-77):0,Me=Le?0:He-1,Ie=Le?1:-1,_e=x<0||x===0&&1/x<0?1:0;for(x=Math.abs(x),isNaN(x)||x===1/0?(Ue=isNaN(x)?1:0,Se=oe):(Se=Math.floor(Math.log(x)/Math.LN2),x*(fe=Math.pow(2,-Se))<1&&(Se--,fe*=2),Se+Oe>=1?x+=ve/fe:x+=ve*Math.pow(2,1-Oe),x*fe>=2&&(Se++,fe/=2),Se+Oe>=oe?(Ue=0,Se=oe):Se+Oe>=1?(Ue=(x*fe-1)*Math.pow(2,Je),Se=Se+Oe):(Ue=x*Math.pow(2,Oe-1)*Math.pow(2,Je),Se=0));Je>=8;ae[ct+Me]=Ue&255,Me+=Ie,Ue/=256,Je-=8);for(Se=Se<<Je|Ue,Ce+=Je;Ce>0;ae[ct+Me]=Se&255,Me+=Ie,Se/=256,Ce-=8);ae[ct+Me-Ie]|=_e*128}},65355:function(Vn,Tt,ae){"use strict";ae.r(Tt),ae.d(Tt,{AcroForm:function(){return jc},AcroFormAppearance:function(){return Uo},AcroFormButton:function(){return es},AcroFormCheckBox:function(){return Ys},AcroFormChoiceField:function(){return Ko},AcroFormComboBox:function(){return ba},AcroFormEditBox:function(){return ya},AcroFormListBox:function(){return ls},AcroFormPasswordField:function(){return ts},AcroFormPushButton:function(){return ys},AcroFormRadioButton:function(){return $a},AcroFormTextField:function(){return Ps},GState:function(){return wp},ShadingPattern:function(){return kf},TilingPattern:function(){return Mf},default:function(){return Da},jsPDF:function(){return Da}});var x=ae(76190),ct={},Le=function(y,z,E,re,Ae){var he=new Worker(ct[z]||(ct[z]=URL.createObjectURL(new Blob([y+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return he.onmessage=function(Ke){var Pe=Ke.data,Ve=Pe.$e$;if(Ve){var Ye=new Error(Ve[0]);Ye.code=Ve[1],Ye.stack=Ve[2],Ae(Ye,null)}else Ae(null,Pe)},he.postMessage(E,re),he},Je=Uint8Array,He=Uint16Array,Se=Int32Array,Ue=new Je([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),fe=new Je([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Ce=new Je([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),oe=function(y,z){for(var E=new He(31),re=0;re<31;++re)E[re]=z+=1<<y[re-1];for(var Ae=new Se(E[30]),re=1;re<30;++re)for(var he=E[re];he<E[re+1];++he)Ae[he]=he-E[re]<<5|re;return{b:E,r:Ae}},Oe=oe(Ue,2),ve=Oe.b,Me=Oe.r;ve[28]=258,Me[258]=28;for(var Ie=oe(fe,0),_e=Ie.b,we=Ie.r,xe=new He(32768),Ee=0;Ee<32768;++Ee){var ke=(Ee&43690)>>1|(Ee&21845)<<1;ke=(ke&52428)>>2|(ke&13107)<<2,ke=(ke&61680)>>4|(ke&3855)<<4,xe[Ee]=((ke&65280)>>8|(ke&255)<<8)>>1}for(var ze=function(y,z,E){for(var re=y.length,Ae=0,he=new He(z);Ae<re;++Ae)y[Ae]&&++he[y[Ae]-1];var Ke=new He(z);for(Ae=1;Ae<z;++Ae)Ke[Ae]=Ke[Ae-1]+he[Ae-1]<<1;var Pe;if(E){Pe=new He(1<<z);var Ve=15-z;for(Ae=0;Ae<re;++Ae)if(y[Ae])for(var Ye=Ae<<4|y[Ae],dt=z-y[Ae],Pt=Ke[y[Ae]-1]++<<dt,Jt=Pt|(1<<dt)-1;Pt<=Jt;++Pt)Pe[xe[Pt]>>Ve]=Ye}else for(Pe=new He(re),Ae=0;Ae<re;++Ae)y[Ae]&&(Pe[Ae]=xe[Ke[y[Ae]-1]++]>>15-y[Ae]);return Pe},Qe=new Je(288),Ee=0;Ee<144;++Ee)Qe[Ee]=8;for(var Ee=144;Ee<256;++Ee)Qe[Ee]=9;for(var Ee=256;Ee<280;++Ee)Qe[Ee]=7;for(var Ee=280;Ee<288;++Ee)Qe[Ee]=8;for(var Re=new Je(32),Ee=0;Ee<32;++Ee)Re[Ee]=5;var et=ze(Qe,9,0),Ge=null,lt=ze(Re,5,0),it=null,ft=function(y){for(var z=y[0],E=1;E<y.length;++E)y[E]>z&&(z=y[E]);return z},bt=function(y,z,E){var re=z/8|0;return(y[re]|y[re+1]<<8)>>(z&7)&E},je=function(y,z){var E=z/8|0;return(y[E]|y[E+1]<<8|y[E+2]<<16)>>(z&7)},ht=function(y){return(y+7)/8|0},Ne=function(y,z,E){return(z==null||z<0)&&(z=0),(E==null||E>y.length)&&(E=y.length),new Je(y.subarray(z,E))},We={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},Ut=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],ot=function(y,z,E){var re=new Error(z||Ut[y]);if(re.code=y,Error.captureStackTrace&&Error.captureStackTrace(re,ot),!E)throw re;return re},yt=function(y,z,E,re){var Ae=y.length,he=re?re.length:0;if(!Ae||z.f&&!z.l)return E||new Je(0);var Ke=!E,Pe=Ke||z.i!=2,Ve=z.i;Ke&&(E=new Je(Ae*3));var Ye=function(wo){var ua=E.length;if(wo>ua){var ca=new Je(Math.max(ua*2,wo));ca.set(E),E=ca}},dt=z.f||0,Pt=z.p||0,Jt=z.b||0,ut=z.l,In=z.d,Cn=z.m,Nn=z.n,cn=Ae*8;do{if(!ut){dt=bt(y,Pt,1);var wr=bt(y,Pt+1,3);if(Pt+=3,wr)if(wr==1)ut=Ge,In=it,Cn=9,Nn=5;else if(wr==2){var Qi=bt(y,Pt,31)+257,Ii=bt(y,Pt+10,15)+4,Nr=Qi+bt(y,Pt+5,31)+1;Pt+=14;for(var Gn=new Je(Nr),Gr=new Je(19),un=0;un<Ii;++un)Gr[Ce[un]]=bt(y,Pt+un*3,7);Pt+=Ii*3;for(var On=ft(Gr),mr=(1<<On)-1,dr=ze(Gr,On,1),un=0;un<Nr;){var hi=dr[bt(y,Pt,mr)];Pt+=hi&15;var lr=hi>>4;if(lr<16)Gn[un++]=lr;else{var Fi=0,Oi=0;for(lr==16?(Oi=3+bt(y,Pt,3),Pt+=2,Fi=Gn[un-1]):lr==17?(Oi=3+bt(y,Pt,7),Pt+=3):lr==18&&(Oi=11+bt(y,Pt,127),Pt+=7);Oi--;)Gn[un++]=Fi}}var ai=Gn.subarray(0,Qi),Pi=Gn.subarray(Qi);Cn=ft(ai),Nn=ft(Pi),ut=ze(ai,Cn,1),In=ze(Pi,Nn,1)}else ot(1);else{var lr=ht(Pt)+4,Zn=y[lr-4]|y[lr-3]<<8,Ai=lr+Zn;if(Ai>Ae){Ve&&ot(0);break}Pe&&Ye(Jt+Zn),E.set(y.subarray(lr,Ai),Jt),z.b=Jt+=Zn,z.p=Pt=Ai*8,z.f=dt;continue}if(Pt>cn){Ve&&ot(0);break}}Pe&&Ye(Jt+131072);for(var Po=(1<<Cn)-1,io=(1<<Nn)-1,nn=Pt;;nn=Pt){var Fi=ut[je(y,Pt)&Po],Kn=Fi>>4;if(Pt+=Fi&15,Pt>cn){Ve&&ot(0);break}if(Fi||ot(2),Kn<256)E[Jt++]=Kn;else if(Kn==256){nn=Pt,ut=null;break}else{var rr=Kn-254;if(Kn>264){var un=Kn-257,Br=Ue[un];rr=bt(y,Pt,(1<<Br)-1)+ve[un],Pt+=Br}var Rr=In[je(y,Pt)&io],si=Rr>>4;Rr||ot(3),Pt+=Rr&15;var Pi=_e[si];if(si>3){var Br=fe[si];Pi+=je(y,Pt)&(1<<Br)-1,Pt+=Br}if(Pt>cn){Ve&&ot(0);break}Pe&&Ye(Jt+131072);var Di=Jt+rr;if(Jt<Pi){var xi=he-Pi,Xi=Math.min(Pi,Di);for(xi+Jt<0&&ot(3);Jt<Xi;++Jt)E[Jt]=re[xi+Jt]}for(;Jt<Di;++Jt)E[Jt]=E[Jt-Pi]}}z.l=ut,z.p=nn,z.b=Jt,z.f=dt,ut&&(dt=1,z.m=Cn,z.d=In,z.n=Nn)}while(!dt);return Jt!=E.length&&Ke?Ne(E,0,Jt):E.subarray(0,Jt)},Ft=function(y,z,E){E<<=z&7;var re=z/8|0;y[re]|=E,y[re+1]|=E>>8},Ze=function(y,z,E){E<<=z&7;var re=z/8|0;y[re]|=E,y[re+1]|=E>>8,y[re+2]|=E>>16},Te=function(y,z){for(var E=[],re=0;re<y.length;++re)y[re]&&E.push({s:re,f:y[re]});var Ae=E.length,he=E.slice();if(!Ae)return{t:pn,l:0};if(Ae==1){var Ke=new Je(E[0].s+1);return Ke[E[0].s]=1,{t:Ke,l:1}}E.sort(function(Ai,Qi){return Ai.f-Qi.f}),E.push({s:-1,f:25001});var Pe=E[0],Ve=E[1],Ye=0,dt=1,Pt=2;for(E[0]={s:-1,f:Pe.f+Ve.f,l:Pe,r:Ve};dt!=Ae-1;)Pe=E[E[Ye].f<E[Pt].f?Ye++:Pt++],Ve=E[Ye!=dt&&E[Ye].f<E[Pt].f?Ye++:Pt++],E[dt++]={s:-1,f:Pe.f+Ve.f,l:Pe,r:Ve};for(var Jt=he[0].s,re=1;re<Ae;++re)he[re].s>Jt&&(Jt=he[re].s);var ut=new He(Jt+1),In=At(E[dt-1],ut,0);if(In>z){var re=0,Cn=0,Nn=In-z,cn=1<<Nn;for(he.sort(function(Qi,Ii){return ut[Ii.s]-ut[Qi.s]||Qi.f-Ii.f});re<Ae;++re){var wr=he[re].s;if(ut[wr]>z)Cn+=cn-(1<<In-ut[wr]),ut[wr]=z;else break}for(Cn>>=Nn;Cn>0;){var lr=he[re].s;ut[lr]<z?Cn-=1<<z-ut[lr]++-1:++re}for(;re>=0&&Cn;--re){var Zn=he[re].s;ut[Zn]==z&&(--ut[Zn],++Cn)}In=z}return{t:new Je(ut),l:In}},At=function(y,z,E){return y.s==-1?Math.max(At(y.l,z,E+1),At(y.r,z,E+1)):z[y.s]=E},Zt=function(y){for(var z=y.length;z&&!y[--z];);for(var E=new He(++z),re=0,Ae=y[0],he=1,Ke=function(Ve){E[re++]=Ve},Pe=1;Pe<=z;++Pe)if(y[Pe]==Ae&&Pe!=z)++he;else{if(!Ae&&he>2){for(;he>138;he-=138)Ke(32754);he>2&&(Ke(he>10?he-11<<5|28690:he-3<<5|12305),he=0)}else if(he>3){for(Ke(Ae),--he;he>6;he-=6)Ke(8304);he>2&&(Ke(he-3<<5|8208),he=0)}for(;he--;)Ke(Ae);he=1,Ae=y[Pe]}return{c:E.subarray(0,re),n:z}},Kt=function(y,z){for(var E=0,re=0;re<z.length;++re)E+=y[re]*z[re];return E},rt=function(y,z,E){var re=E.length,Ae=ht(z+2);y[Ae]=re&255,y[Ae+1]=re>>8,y[Ae+2]=y[Ae]^255,y[Ae+3]=y[Ae+1]^255;for(var he=0;he<re;++he)y[Ae+he+4]=E[he];return(Ae+4+re)*8},Nt=function(y,z,E,re,Ae,he,Ke,Pe,Ve,Ye,dt){Ft(z,dt++,E),++Ae[256];for(var Pt=Te(Ae,15),Jt=Pt.t,ut=Pt.l,In=Te(he,15),Cn=In.t,Nn=In.l,cn=Zt(Jt),wr=cn.c,lr=cn.n,Zn=Zt(Cn),Ai=Zn.c,Qi=Zn.n,Ii=new He(19),Nr=0;Nr<wr.length;++Nr)++Ii[wr[Nr]&31];for(var Nr=0;Nr<Ai.length;++Nr)++Ii[Ai[Nr]&31];for(var Gn=Te(Ii,7),Gr=Gn.t,un=Gn.l,On=19;On>4&&!Gr[Ce[On-1]];--On);var mr=Ye+5<<3,dr=Kt(Ae,Qe)+Kt(he,Re)+Ke,hi=Kt(Ae,Jt)+Kt(he,Cn)+Ke+14+3*On+Kt(Ii,Gr)+2*Ii[16]+3*Ii[17]+7*Ii[18];if(Ve>=0&&mr<=dr&&mr<=hi)return rt(z,dt,y.subarray(Ve,Ve+Ye));var Fi,Oi,ai,Pi;if(Ft(z,dt,1+(hi<dr)),dt+=2,hi<dr){Fi=ze(Jt,ut,0),Oi=Jt,ai=ze(Cn,Nn,0),Pi=Cn;var Po=ze(Gr,un,0);Ft(z,dt,lr-257),Ft(z,dt+5,Qi-1),Ft(z,dt+10,On-4),dt+=14;for(var Nr=0;Nr<On;++Nr)Ft(z,dt+3*Nr,Gr[Ce[Nr]]);dt+=3*On;for(var io=[wr,Ai],nn=0;nn<2;++nn)for(var Kn=io[nn],Nr=0;Nr<Kn.length;++Nr){var rr=Kn[Nr]&31;Ft(z,dt,Po[rr]),dt+=Gr[rr],rr>15&&(Ft(z,dt,Kn[Nr]>>5&127),dt+=Kn[Nr]>>12)}}else Fi=et,Oi=Qe,ai=lt,Pi=Re;for(var Nr=0;Nr<Pe;++Nr){var Br=re[Nr];if(Br>255){var rr=Br>>18&31;Ze(z,dt,Fi[rr+257]),dt+=Oi[rr+257],rr>7&&(Ft(z,dt,Br>>23&31),dt+=Ue[rr]);var Rr=Br&31;Ze(z,dt,ai[Rr]),dt+=Pi[Rr],Rr>3&&(Ze(z,dt,Br>>5&8191),dt+=fe[Rr])}else Ze(z,dt,Fi[Br]),dt+=Oi[Br]}return Ze(z,dt,Fi[256]),dt+Oi[256]},Qt=new Se([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),pn=new Je(0),Ot=function(y,z,E,re,Ae,he){var Ke=he.z||y.length,Pe=new Je(re+Ke+5*(1+Math.ceil(Ke/7e3))+Ae),Ve=Pe.subarray(re,Pe.length-Ae),Ye=he.l,dt=(he.r||0)&7;if(z){dt&&(Ve[0]=he.r>>3);for(var Pt=Qt[z-1],Jt=Pt>>13,ut=Pt&8191,In=(1<<E)-1,Cn=he.p||new He(32768),Nn=he.h||new He(In+1),cn=Math.ceil(E/3),wr=2*cn,lr=function(Mi){return(y[Mi]^y[Mi+1]<<cn^y[Mi+2]<<wr)&In},Zn=new Se(25e3),Ai=new He(288),Qi=new He(32),Ii=0,Nr=0,Gn=he.i||0,Gr=0,un=he.w||0,On=0;Gn+2<Ke;++Gn){var mr=lr(Gn),dr=Gn&32767,hi=Nn[mr];if(Cn[dr]=hi,Nn[mr]=dr,un<=Gn){var Fi=Ke-Gn;if((Ii>7e3||Gr>24576)&&(Fi>423||!Ye)){dt=Nt(y,Ve,0,Zn,Ai,Qi,Nr,Gr,On,Gn-On,dt),Gr=Ii=Nr=0,On=Gn;for(var Oi=0;Oi<286;++Oi)Ai[Oi]=0;for(var Oi=0;Oi<30;++Oi)Qi[Oi]=0}var ai=2,Pi=0,Po=ut,io=dr-hi&32767;if(Fi>2&&mr==lr(Gn-io))for(var nn=Math.min(Jt,Fi)-1,Kn=Math.min(32767,Gn),rr=Math.min(258,Fi);io<=Kn&&--Po&&dr!=hi;){if(y[Gn+ai]==y[Gn+ai-io]){for(var Br=0;Br<rr&&y[Gn+Br]==y[Gn+Br-io];++Br);if(Br>ai){if(ai=Br,Pi=io,Br>nn)break;for(var Rr=Math.min(io,Br-2),si=0,Oi=0;Oi<Rr;++Oi){var Di=Gn-io+Oi&32767,xi=Cn[Di],Xi=Di-xi&32767;Xi>si&&(si=Xi,hi=Di)}}}dr=hi,hi=Cn[dr],io+=dr-hi&32767}if(Pi){Zn[Gr++]=268435456|Me[ai]<<18|we[Pi];var wo=Me[ai]&31,ua=we[Pi]&31;Nr+=Ue[wo]+fe[ua],++Ai[257+wo],++Qi[ua],un=Gn+ai,++Ii}else Zn[Gr++]=y[Gn],++Ai[y[Gn]]}}for(Gn=Math.max(Gn,un);Gn<Ke;++Gn)Zn[Gr++]=y[Gn],++Ai[y[Gn]];dt=Nt(y,Ve,Ye,Zn,Ai,Qi,Nr,Gr,On,Gn-On,dt),Ye||(he.r=dt&7|Ve[dt/8|0]<<3,dt-=7,he.h=Nn,he.p=Cn,he.i=Gn,he.w=un)}else{for(var Gn=he.w||0;Gn<Ke+Ye;Gn+=65535){var ca=Gn+65535;ca>=Ke&&(Ve[dt/8|0]=Ye,ca=Ke),dt=rt(Ve,dt+1,y.subarray(Gn,ca))}he.i=Ke}return Ne(Pe,0,re+ht(dt)+Ae)},vn=null,_t=function(){var y=-1;return{p:function(z){for(var E=y,re=0;re<z.length;++re)E=vn[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,Ae=z,he=E.length|0,Ke=0;Ke!=he;){for(var Pe=Math.min(Ke+2655,he);Ke<Pe;++Ke)Ae+=re+=E[Ke];re=(re&65535)+15*(re>>16),Ae=(Ae&65535)+15*(Ae>>16)}y=re,z=Ae},d:function(){return y%=65521,z%=65521,(y&255)<<24|(y&65280)<<8|(z&255)<<8|z>>8}}},on=function(y,z,E,re,Ae){if(!Ae&&(Ae={l:1},z.dictionary)){var he=z.dictionary.subarray(-32768),Ke=new Je(he.length+y.length);Ke.set(he),Ke.set(y,he.length),y=Ke,Ae.w=he.length}return Ot(y,z.level==null?6:z.level,z.mem==null?Ae.l?Math.ceil(Math.max(8,Math.min(13,Math.log(y.length)))*1.5):20:12+z.mem,E,re,Ae)},de=function(y,z){var E={};for(var re in y)E[re]=y[re];for(var re in z)E[re]=z[re];return E},ge=function(y,z,E){for(var re=y(),Ae=y.toString(),he=Ae.slice(Ae.indexOf("[")+1,Ae.lastIndexOf("]")).replace(/\s+/g,"").split(","),Ke=0;Ke<re.length;++Ke){var Pe=re[Ke],Ve=he[Ke];if(typeof Pe=="function"){z+=";"+Ve+"=";var Ye=Pe.toString();if(Pe.prototype)if(Ye.indexOf("[native code]")!=-1){var dt=Ye.indexOf(" ",8)+1;z+=Ye.slice(dt,Ye.indexOf("(",dt))}else{z+=Ye;for(var Pt in Pe.prototype)z+=";"+Ve+".prototype."+Pt+"="+Pe.prototype[Pt].toString()}else z+=Ye}else E[Ve]=Pe}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},le=function(y,z,E,re){if(!ie[E]){for(var Ae="",he={},Ke=y.length-1,Pe=0;Pe<Ke;++Pe)Ae=ge(y[Pe],Ae,he);ie[E]={c:ge(y[Ke],Ae,he),e:he}}var Ve=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,Ve,ee(Ve),re)},se=function(){return[Je,He,Se,Ue,fe,Ce,ve,_e,Ge,it,xe,Ut,ze,ft,bt,je,ht,Ne,ot,yt,Hr,Bt,Lt]},Be=function(){return[Je,He,Se,Ue,fe,Ce,Me,we,et,Qe,lt,Re,xe,Qt,pn,ze,Ft,Ze,Te,At,Zt,Kt,rt,Nt,ht,Ne,Ot,on,mn,Bt]},$e=function(){return[en,Mt,an,_t,vn]},at=function(){return[Hn,En]},pt=function(){return[sn,an,Fn]},gt=function(){return[Dn]},Bt=function(y){return postMessage(y,[y.buffer])},Lt=function(y){return y&&{out:y.size&&new Je(y.size),dictionary:y.dictionary}},Rt=function(y,z,E,re,Ae,he){var Ke=le(E,re,Ae,function(Pe,Ve){Ke.terminate(),he(Pe,Ve)});return Ke.postMessage([y,z],z.consume?[y.buffer]:[]),function(){Ke.terminate()}},Ct=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()}},st=function(y,z,E,re,Ae,he,Ke){var Pe,Ve=le(y,re,Ae,function(Ye,dt){Ye?(Ve.terminate(),z.ondata.call(z,Ye)):Array.isArray(dt)?dt.length==1?(z.queuedSize-=dt[0],z.ondrain&&z.ondrain(dt[0])):(dt[1]&&Ve.terminate(),z.ondata.call(z,Ye,dt[0],dt[1])):Ke(dt)});Ve.postMessage(E),z.queuedSize=0,z.push=function(Ye,dt){z.ondata||ot(5),Pe&&z.ondata(ot(4,0,1),null,!!dt),z.queuedSize+=Ye.length,Ve.postMessage([Ye,Pe=dt],[Ye.buffer])},z.terminate=function(){Ve.terminate()},he&&(z.flush=function(){Ve.postMessage([])})},$t=function(y,z){return y[z]|y[z+1]<<8},Vt=function(y,z){return(y[z]|y[z+1]<<8|y[z+2]<<16|y[z+3]<<24)>>>0},bn=function(y,z){return Vt(y,z)+Vt(y,z+4)*4294967296},an=function(y,z,E){for(;E;++z)y[z]=E,E>>>=8},en=function(y,z){var E=z.filename;if(y[0]=31,y[1]=139,y[2]=8,y[8]=z.level<2?4:z.level==9?2:0,y[9]=3,z.mtime!=0&&an(y,4,Math.floor(new Date(z.mtime||Date.now())/1e3)),E){y[3]=8;for(var re=0;re<=E.length;++re)y[re+10]=E.charCodeAt(re)}},Hn=function(y){(y[0]!=31||y[1]!=139||y[2]!=8)&&ot(6,"invalid gzip data");var z=y[3],E=10;z&4&&(E+=(y[10]|y[11]<<8)+2);for(var re=(z>>3&1)+(z>>4&1);re>0;re-=!y[E++]);return E+(z&2)},En=function(y){var z=y.length;return(y[z-4]|y[z-3]<<8|y[z-2]<<16|y[z-1]<<24)>>>0},Mt=function(y){return 10+(y.filename?y.filename.length+1:0)},sn=function(y,z){var E=z.level,re=E==0?0:E<6?1:E==9?3:2;if(y[0]=120,y[1]=re<<6|(z.dictionary&&32),y[1]|=31-(y[0]<<8|y[1])%31,z.dictionary){var Ae=Fn();Ae.p(z.dictionary),an(y,2,Ae.d())}},Dn=function(y,z){return((y[0]&15)!=8||y[0]>>4>7||(y[0]<<8|y[1])%31)&&ot(6,"invalid zlib data"),(y[1]>>5&1)==+!z&&ot(6,"invalid zlib data: "+(y[1]&32?"need":"unexpected")+" dictionary"),(y[1]>>3&4)+2};function Wn(y,z){return typeof y=="function"&&(z=y,y={}),this.ondata=z,y}var It=null,Wt=null;function rn(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Rt(y,z,[Be],function(re){return Bt(mn(re.data[0],re.data[1]))},0,E)}function mn(y,z){return on(y,z||{},0,0)}var Xn=null,Fr=null;function ri(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Rt(y,z,[se],function(re){return Bt(Hr(re.data[0],Lt(re.data[1])))},1,E)}function Hr(y,z){return yt(y,{i:2},z&&z.out,z&&z.dictionary)}var Ir=null,er=null;function vr(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Rt(y,z,[Be,$e,function(){return[Mr]}],function(re){return Bt(Mr(re.data[0],re.data[1]))},2,E)}function Mr(y,z){z||(z={});var E=_t(),re=y.length;E.p(y);var Ae=on(y,z,Mt(z),8),he=Ae.length;return en(Ae,z),an(Ae,he-8,E.d()),an(Ae,he-4,re),Ae}var Yn=null,sr=null;function jn(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Rt(y,z,[se,at,function(){return[ur]}],function(re){return Bt(ur(re.data[0],re.data[1]))},3,E)}function ur(y,z){var E=Hn(y);return E+8>y.length&&ot(6,"invalid gzip data"),yt(y.subarray(E,-8),{i:2},z&&z.out||new Je(En(y)),z&&z.dictionary)}var br=null,Xr=null;function Yr(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Rt(y,z,[Be,pt,function(){return[pi]}],function(re){return Bt(pi(re.data[0],re.data[1]))},4,E)}function pi(y,z){z||(z={});var E=Fn();E.p(y);var re=on(y,z,z.dictionary?6:2,4);return sn(re,z),an(re,re.length-4,E.d()),re}var ci=null,Hi=null;function mi(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Rt(y,z,[se,gt,function(){return[no]}],function(re){return Bt(no(re.data[0],Lt(re.data[1])))},5,E)}function no(y,z){return yt(y.subarray(Dn(y,z&&z.dictionary),-4),{i:2},z&&z.out,z&&z.dictionary)}var Ki=null,fr=null;function Lr(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),y[0]==31&&y[1]==139&&y[2]==8?jn(y,z,E):(y[0]&15)!=8||y[0]>>4>7||(y[0]<<8|y[1])%31?ri(y,z,E):mi(y,z,E)}function gi(y,z){return y[0]==31&&y[1]==139&&y[2]==8?ur(y,z):(y[0]&15)!=8||y[0]>>4>7||(y[0]<<8|y[1])%31?Hr(y,z):no(y,z)}var Xt=function(y,z,E,re){for(var Ae in y){var he=y[Ae],Ke=z+Ae,Pe=re;Array.isArray(he)&&(Pe=de(re,he[1]),he=he[0]),he instanceof Je?E[Ke]=[he,Pe]:(E[Ke+="/"]=[new Je(0),Pe],Xt(he,Ke,E,re))}},ln=typeof TextEncoder!="undefined"&&new TextEncoder,yn=typeof TextDecoder!="undefined"&&new TextDecoder,kt=0;try{yn.decode(pn,{stream:!0}),kt=1}catch(y){}var dn=function(y){for(var z="",E=0;;){var re=y[E++],Ae=(re>127)+(re>223)+(re>239);if(E+Ae>y.length)return{s:z,r:Ne(y,E-1)};Ae?Ae==3?(re=((re&15)<<18|(y[E++]&63)<<12|(y[E++]&63)<<6|y[E++]&63)-65536,z+=String.fromCharCode(55296|re>>10,56320|re&1023)):Ae&1?z+=String.fromCharCode((re&31)<<6|y[E++]&63):z+=String.fromCharCode((re&15)<<12|(y[E++]&63)<<6|y[E++]&63):z+=String.fromCharCode(re)}},zt=null,hn=null;function Pn(y,z){if(z){for(var E=new Je(y.length),re=0;re<y.length;++re)E[re]=y.charCodeAt(re);return E}if(ln)return ln.encode(y);for(var Ae=y.length,he=new Je(y.length+(y.length>>1)),Ke=0,Pe=function(dt){he[Ke++]=dt},re=0;re<Ae;++re){if(Ke+5>he.length){var Ve=new Je(Ke+8+(Ae-re<<1));Ve.set(he),he=Ve}var Ye=y.charCodeAt(re);Ye<128||z?Pe(Ye):Ye<2048?(Pe(192|Ye>>6),Pe(128|Ye&63)):Ye>55295&&Ye<57344?(Ye=65536+(Ye&1047552)|y.charCodeAt(++re)&1023,Pe(240|Ye>>18),Pe(128|Ye>>12&63),Pe(128|Ye>>6&63),Pe(128|Ye&63)):(Pe(224|Ye>>12),Pe(128|Ye>>6&63),Pe(128|Ye&63))}return Ne(he,0,Ke)}function _r(y,z){if(z){for(var E="",re=0;re<y.length;re+=16384)E+=String.fromCharCode.apply(null,y.subarray(re,re+16384));return E}else{if(yn)return yn.decode(y);var Ae=dn(y),he=Ae.s,E=Ae.r;return E.length&&ot(8),he}}var Jr=function(y){return y==1?3:y<6?2:y==9?1:0},di=function(y,z){return z+30+$t(y,z+26)+$t(y,z+28)},ir=function(y,z,E){var re=$t(y,z+28),Ae=_r(y.subarray(z+46,z+46+re),!($t(y,z+8)&2048)),he=z+46+re,Ke=Vt(y,z+20),Pe=E&&Ke==4294967295?Ar(y,he):[Ke,Vt(y,z+24),Vt(y,z+42)],Ve=Pe[0],Ye=Pe[1],dt=Pe[2];return[$t(y,z+10),Ve,Ye,Ae,he+$t(y,z+30)+$t(y,z+32),dt]},Ar=function(y,z){for(;$t(y,z)!=1;z+=4+$t(y,z+2));return[bn(y,z+12),bn(y,z+4),bn(y,z+20)]},ar=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},ei=function(y,z,E,re,Ae,he,Ke,Pe){var Ve=re.length,Ye=E.extra,dt=Pe&&Pe.length,Pt=ar(Ye);an(y,z,Ke!=null?33639248:67324752),z+=4,Ke!=null&&(y[z++]=20,y[z++]=E.os),y[z]=20,z+=2,y[z++]=E.flag<<1|(he<0&&8),y[z++]=Ae&&8,y[z++]=E.compression&255,y[z++]=E.compression>>8;var Jt=new Date(E.mtime==null?Date.now():E.mtime),ut=Jt.getFullYear()-1980;if((ut<0||ut>119)&&ot(10),an(y,z,ut<<25|Jt.getMonth()+1<<21|Jt.getDate()<<16|Jt.getHours()<<11|Jt.getMinutes()<<5|Jt.getSeconds()>>1),z+=4,he!=-1&&(an(y,z,E.crc),an(y,z+4,he<0?-he-2:he),an(y,z+8,E.size)),an(y,z+12,Ve),an(y,z+14,Pt),z+=16,Ke!=null&&(an(y,z,dt),an(y,z+6,E.attrs),an(y,z+10,Ke),z+=14),y.set(re,z),z+=Ve,Pt)for(var In in Ye){var Cn=Ye[In],Nn=Cn.length;an(y,z,+In),an(y,z+2,Nn),y.set(Cn,z+4),z+=4+Nn}return dt&&(y.set(Pe,z),z+=dt),z},tr=function(y,z,E,re,Ae){an(y,z,101010256),an(y,z+8,E),an(y,z+10,E),an(y,z+12,re),an(y,z+16,Ae)},Un=null,cr=null,Bi=null,zn=null;function gn(y,z,E){E||(E=z,z={}),typeof E!="function"&&ot(7);var re={};Xt(y,"",re,z);var Ae=Object.keys(re),he=Ae.length,Ke=0,Pe=0,Ve=he,Ye=new Array(he),dt=[],Pt=function(){for(var Nn=0;Nn<dt.length;++Nn)dt[Nn]()},Jt=function(Nn,cn){fi(function(){E(Nn,cn)})};fi(function(){Jt=E});var ut=function(){var Nn=new Je(Pe+22),cn=Ke,wr=Pe-Ke;Pe=0;for(var lr=0;lr<Ve;++lr){var Zn=Ye[lr];try{var Ai=Zn.c.length;ei(Nn,Pe,Zn,Zn.f,Zn.u,Ai);var Qi=30+Zn.f.length+ar(Zn.extra),Ii=Pe+Qi;Nn.set(Zn.c,Ii),ei(Nn,Ke,Zn,Zn.f,Zn.u,Ai,Pe,Zn.m),Ke+=16+Qi+(Zn.m?Zn.m.length:0),Pe=Ii+Ai}catch(Nr){return Jt(Nr,null)}}tr(Nn,Ke,Ye.length,wr,cn),Jt(null,Nn)};he||ut();for(var In=function(Nn){var cn=Ae[Nn],wr=re[cn],lr=wr[0],Zn=wr[1],Ai=_t(),Qi=lr.length;Ai.p(lr);var Ii=Pn(cn),Nr=Ii.length,Gn=Zn.comment,Gr=Gn&&Pn(Gn),un=Gr&&Gr.length,On=ar(Zn.extra),mr=Zn.level==0?0:8,dr=function(hi,Fi){if(hi)Pt(),Jt(hi,null);else{var Oi=Fi.length;Ye[Nn]=de(Zn,{size:Qi,crc:Ai.d(),c:Fi,f:Ii,m:Gr,u:Nr!=cn.length||Gr&&Gn.length!=un,compression:mr}),Ke+=30+Nr+On+Oi,Pe+=76+2*(Nr+On)+(un||0)+Oi,--he||ut()}};if(Nr>65535&&dr(ot(11,0,1),null),!mr)dr(null,lr);else if(Qi<16e4)try{dr(null,mn(lr,Zn))}catch(hi){dr(hi,null)}else dt.push(rn(lr,Zn,dr))},Cn=0;Cn<Ve;++Cn)In(Cn);return Pt}function $n(y,z){z||(z={});var E={},re=[];Xt(y,"",E,z);var Ae=0,he=0;for(var Ke in E){var Pe=E[Ke],Ve=Pe[0],Ye=Pe[1],dt=Ye.level==0?0:8,Pt=Pn(Ke),Jt=Pt.length,ut=Ye.comment,In=ut&&Pn(ut),Cn=In&&In.length,Nn=ar(Ye.extra);Jt>65535&&ot(11);var cn=dt?mn(Ve,Ye):Ve,wr=cn.length,lr=_t();lr.p(Ve),re.push(de(Ye,{size:Ve.length,crc:lr.d(),c:cn,f:Pt,m:In,u:Jt!=Ke.length||In&&ut.length!=Cn,o:Ae,compression:dt})),Ae+=30+Jt+Nn+wr,he+=76+2*(Jt+Nn)+(Cn||0)+wr}for(var Zn=new Je(he+22),Ai=Ae,Qi=he-Ae,Ii=0;Ii<re.length;++Ii){var Pt=re[Ii];ei(Zn,Pt.o,Pt,Pt.f,Pt.u,Pt.c.length);var Nr=30+Pt.f.length+ar(Pt.extra);Zn.set(Pt.c,Pt.o+Nr),ei(Zn,Ae,Pt,Pt.f,Pt.u,Pt.c.length,Pt.o,Pt.m),Ae+=16+Nr+(Pt.m?Pt.m.length:0)}return tr(Zn,Ae,re.length,Qi,Ai),Zn}var nr=null,pr=null,Zr=null,Ni=null,fi=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(y){y()};function Li(y,z,E){E||(E=z,z={}),typeof E!="function"&&ot(7);var re=[],Ae=function(){for(var Nn=0;Nn<re.length;++Nn)re[Nn]()},he={},Ke=function(Nn,cn){fi(function(){E(Nn,cn)})};fi(function(){Ke=E});for(var Pe=y.length-22;Vt(y,Pe)!=101010256;--Pe)if(!Pe||y.length-Pe>65558)return Ke(ot(13,0,1),null),Ae;var Ve=$t(y,Pe+8);if(Ve){var Ye=Ve,dt=Vt(y,Pe+16),Pt=dt==4294967295||Ye==65535;if(Pt){var Jt=Vt(y,Pe-12);Pt=Vt(y,Jt)==101075792,Pt&&(Ye=Ve=Vt(y,Jt+32),dt=Vt(y,Jt+48))}for(var ut=z&&z.filter,In=function(Nn){var cn=ir(y,dt,Pt),wr=cn[0],lr=cn[1],Zn=cn[2],Ai=cn[3],Qi=cn[4],Ii=cn[5],Nr=di(y,Ii);dt=Qi;var Gn=function(un,On){un?(Ae(),Ke(un,null)):(On&&(he[Ai]=On),--Ve||Ke(null,he))};if(!ut||ut({name:Ai,size:lr,originalSize:Zn,compression:wr}))if(!wr)Gn(null,Ne(y,Nr,Nr+lr));else if(wr==8){var Gr=y.subarray(Nr,Nr+lr);if(Zn<524288||lr>.8*Zn)try{Gn(null,Hr(Gr,{out:new Je(Zn)}))}catch(un){Gn(un,null)}else re.push(ri(Gr,{size:Zn},Gn))}else Gn(ot(14,"unknown compression type "+wr,1),null);else Gn(null,null)},Cn=0;Cn<Ye;++Cn)In(Cn)}else Ke(null,{});return Ae}function vi(y,z){for(var E={},re=y.length-22;Vt(y,re)!=101010256;--re)(!re||y.length-re>65558)&&ot(13);var Ae=$t(y,re+8);if(!Ae)return{};var he=Vt(y,re+16),Ke=he==4294967295||Ae==65535;if(Ke){var Pe=Vt(y,re-12);Ke=Vt(y,Pe)==101075792,Ke&&(Ae=Vt(y,Pe+32),he=Vt(y,Pe+48))}for(var Ve=z&&z.filter,Ye=0;Ye<Ae;++Ye){var dt=ir(y,he,Ke),Pt=dt[0],Jt=dt[1],ut=dt[2],In=dt[3],Cn=dt[4],Nn=dt[5],cn=di(y,Nn);he=Cn,(!Ve||Ve({name:In,size:Jt,originalSize:ut,compression:Pt}))&&(Pt?Pt==8?E[In]=Hr(y.subarray(cn,cn+Jt),{out:new Je(ut)}):ot(14,"unknown compression type "+Pt):E[In]=Ne(y,cn,cn+Jt))}return E}var Ei=ae(42978);function yi(y,z="utf8"){return new TextDecoder(z).decode(y)}const Si=new TextEncoder;function wi(y){return Si.encode(y)}const Ti=1024*8,eo=(()=>{const y=new Uint8Array(4),z=new Uint32Array(y.buffer);return!((z[0]=1)&y[0])})(),vo={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class Yi{constructor(z=Ti,E={}){Ll(this,"buffer");Ll(this,"byteLength");Ll(this,"byteOffset");Ll(this,"length");Ll(this,"offset");Ll(this,"lastWrittenByte");Ll(this,"littleEndian");Ll(this,"_data");Ll(this,"_mark");Ll(this,"_marks");let re=!1;typeof z=="number"?z=new ArrayBuffer(z):(re=!0,this.lastWrittenByte=z.byteLength);const Ae=E.offset?E.offset>>>0:0,he=z.byteLength-Ae;let Ke=Ae;(ArrayBuffer.isView(z)||z instanceof Yi)&&(z.byteLength!==z.buffer.byteLength&&(Ke=z.byteOffset+Ae),z=z.buffer),re?this.lastWrittenByte=he:this.lastWrittenByte=0,this.buffer=z,this.length=he,this.byteLength=he,this.byteOffset=Ke,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,Ke,he),this._mark=0,this._marks=[]}available(z=1){return this.offset+z<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(z=1){return this.offset+=z,this}back(z=1){return this.offset-=z,this}seek(z){return this.offset=z,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const z=this._marks.pop();if(z===void 0)throw new Error("Mark stack empty");return this.seek(z),this}rewind(){return this.offset=0,this}ensureAvailable(z=1){if(!this.available(z)){const re=(this.offset+z)*2,Ae=new Uint8Array(re);Ae.set(new Uint8Array(this.buffer)),this.buffer=Ae.buffer,this.length=re,this.byteLength=re,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(z=1){return this.readArray(z,"uint8")}readArray(z,E){const re=vo[E].BYTES_PER_ELEMENT*z,Ae=this.byteOffset+this.offset,he=this.buffer.slice(Ae,Ae+re);if(this.littleEndian===eo&&E!=="uint8"&&E!=="int8"){const Pe=new Uint8Array(this.buffer.slice(Ae,Ae+re));Pe.reverse();const Ve=new vo[E](Pe.buffer);return this.offset+=re,Ve.reverse(),Ve}const Ke=new vo[E](he);return this.offset+=re,Ke}readInt16(){const z=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,z}readUint16(){const z=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,z}readInt32(){const z=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,z}readUint32(){const z=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,z}readFloat32(){const z=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,z}readFloat64(){const z=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,z}readBigInt64(){const z=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,z}readBigUint64(){const z=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,z}readChar(){return String.fromCharCode(this.readInt8())}readChars(z=1){let E="";for(let re=0;re<z;re++)E+=this.readChar();return E}readUtf8(z=1){return yi(this.readBytes(z))}decodeText(z=1,E="utf8"){return yi(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(wi(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 Do=4,ki=0,ko=1,Ao=2;function Xo(y){let z=y.length;for(;--z>=0;)y[z]=0}const Co=0,to=1,xo=2,$o=3,_n=258,No=29,Vi=256,Ur=Vi+1+No,qr=30,ti=19,Wr=2*Ur+1,Ri=15,ro=16,zr=7,oi=256,yr=16,ni=17,co=18,Jo=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),fo=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]),ta=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),Go=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),va=512,Vo=new Array((Ur+2)*2);Xo(Vo);const oa=new Array(qr*2);Xo(oa);const da=new Array(va);Xo(da);const Wa=new Array(_n-$o+1);Xo(Wa);const Ds=new Array(No);Xo(Ds);const zs=new Array(qr);Xo(zs);function is(y,z,E,re,Ae){this.static_tree=y,this.extra_bits=z,this.extra_base=E,this.elems=re,this.max_length=Ae,this.has_stree=y&&y.length}let us,Mo,mo;function Fa(y,z){this.dyn_tree=y,this.max_code=0,this.stat_desc=z}const hs=y=>y<256?da[y]:da[256+(y>>>7)],el=(y,z)=>{y.pending_buf[y.pending++]=z&255,y.pending_buf[y.pending++]=z>>>8&255},tl=(y,z,E)=>{y.bi_valid>ro-E?(y.bi_buf|=z<<y.bi_valid&65535,el(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)},nl=(y,z,E)=>{tl(y,E[z*2],E[z*2+1])},hl=(y,z)=>{let E=0;do E|=y&1,y>>>=1,E<<=1;while(--z>0);return E>>>1},lu=y=>{y.bi_valid===16?(el(y,y.bi_buf),y.bi_buf=0,y.bi_valid=0):y.bi_valid>=8&&(y.pending_buf[y.pending++]=y.bi_buf&255,y.bi_buf>>=8,y.bi_valid-=8)},Js=(y,z)=>{const E=z.dyn_tree,re=z.max_code,Ae=z.stat_desc.static_tree,he=z.stat_desc.has_stree,Ke=z.stat_desc.extra_bits,Pe=z.stat_desc.extra_base,Ve=z.stat_desc.max_length;let Ye,dt,Pt,Jt,ut,In,Cn=0;for(Jt=0;Jt<=Ri;Jt++)y.bl_count[Jt]=0;for(E[y.heap[y.heap_max]*2+1]=0,Ye=y.heap_max+1;Ye<Wr;Ye++)dt=y.heap[Ye],Jt=E[E[dt*2+1]*2+1]+1,Jt>Ve&&(Jt=Ve,Cn++),E[dt*2+1]=Jt,!(dt>re)&&(y.bl_count[Jt]++,ut=0,dt>=Pe&&(ut=Ke[dt-Pe]),In=E[dt*2],y.opt_len+=In*(Jt+ut),he&&(y.static_len+=In*(Ae[dt*2+1]+ut)));if(Cn!==0){do{for(Jt=Ve-1;y.bl_count[Jt]===0;)Jt--;y.bl_count[Jt]--,y.bl_count[Jt+1]+=2,y.bl_count[Ve]--,Cn-=2}while(Cn>0);for(Jt=Ve;Jt!==0;Jt--)for(dt=y.bl_count[Jt];dt!==0;)Pt=y.heap[--Ye],!(Pt>re)&&(E[Pt*2+1]!==Jt&&(y.opt_len+=(Jt-E[Pt*2+1])*E[Pt*2],E[Pt*2+1]=Jt),dt--)}},Kl=(y,z,E)=>{const re=new Array(Ri+1);let Ae=0,he,Ke;for(he=1;he<=Ri;he++)Ae=Ae+E[he-1]<<1,re[he]=Ae;for(Ke=0;Ke<=z;Ke++){let Pe=y[Ke*2+1];Pe!==0&&(y[Ke*2]=hl(re[Pe]++,Pe))}},Zl=()=>{let y,z,E,re,Ae;const he=new Array(Ri+1);for(E=0,re=0;re<No-1;re++)for(Ds[re]=E,y=0;y<1<<Jo[re];y++)Wa[E++]=re;for(Wa[E-1]=re,Ae=0,re=0;re<16;re++)for(zs[re]=Ae,y=0;y<1<<fo[re];y++)da[Ae++]=re;for(Ae>>=7;re<qr;re++)for(zs[re]=Ae<<7,y=0;y<1<<fo[re]-7;y++)da[256+Ae++]=re;for(z=0;z<=Ri;z++)he[z]=0;for(y=0;y<=143;)Vo[y*2+1]=8,y++,he[8]++;for(;y<=255;)Vo[y*2+1]=9,y++,he[9]++;for(;y<=279;)Vo[y*2+1]=7,y++,he[7]++;for(;y<=287;)Vo[y*2+1]=8,y++,he[8]++;for(Kl(Vo,Ur+1,he),y=0;y<qr;y++)oa[y*2+1]=5,oa[y*2]=hl(y,5);us=new is(Vo,Jo,Vi+1,Ur,Ri),Mo=new is(oa,fo,0,qr,Ri),mo=new is(new Array(0),ta,0,ti,zr)},Lu=y=>{let z;for(z=0;z<Ur;z++)y.dyn_ltree[z*2]=0;for(z=0;z<qr;z++)y.dyn_dtree[z*2]=0;for(z=0;z<ti;z++)y.bl_tree[z*2]=0;y.dyn_ltree[oi*2]=1,y.opt_len=y.static_len=0,y.sym_next=y.matches=0},dl=y=>{y.bi_valid>8?el(y,y.bi_buf):y.bi_valid>0&&(y.pending_buf[y.pending++]=y.bi_buf),y.bi_buf=0,y.bi_valid=0},FA=(y,z,E,re)=>{const Ae=z*2,he=E*2;return y[Ae]<y[he]||y[Ae]===y[he]&&re[z]<=re[E]},hA=(y,z,E)=>{const re=y.heap[E];let Ae=E<<1;for(;Ae<=y.heap_len&&(Ae<y.heap_len&&FA(z,y.heap[Ae+1],y.heap[Ae],y.depth)&&Ae++,!FA(z,re,y.heap[Ae],y.depth));)y.heap[E]=y.heap[Ae],E=Ae,Ae<<=1;y.heap[E]=re},pa=(y,z,E)=>{let re,Ae,he=0,Ke,Pe;if(y.sym_next!==0)do re=y.pending_buf[y.sym_buf+he++]&255,re+=(y.pending_buf[y.sym_buf+he++]&255)<<8,Ae=y.pending_buf[y.sym_buf+he++],re===0?nl(y,Ae,z):(Ke=Wa[Ae],nl(y,Ke+Vi+1,z),Pe=Jo[Ke],Pe!==0&&(Ae-=Ds[Ke],tl(y,Ae,Pe)),re--,Ke=hs(re),nl(y,Ke,E),Pe=fo[Ke],Pe!==0&&(re-=zs[Ke],tl(y,re,Pe)));while(he<y.sym_next);nl(y,oi,z)},Ia=(y,z)=>{const E=z.dyn_tree,re=z.stat_desc.static_tree,Ae=z.stat_desc.has_stree,he=z.stat_desc.elems;let Ke,Pe,Ve=-1,Ye;for(y.heap_len=0,y.heap_max=Wr,Ke=0;Ke<he;Ke++)E[Ke*2]!==0?(y.heap[++y.heap_len]=Ve=Ke,y.depth[Ke]=0):E[Ke*2+1]=0;for(;y.heap_len<2;)Ye=y.heap[++y.heap_len]=Ve<2?++Ve:0,E[Ye*2]=1,y.depth[Ye]=0,y.opt_len--,Ae&&(y.static_len-=re[Ye*2+1]);for(z.max_code=Ve,Ke=y.heap_len>>1;Ke>=1;Ke--)hA(y,E,Ke);Ye=he;do Ke=y.heap[1],y.heap[1]=y.heap[y.heap_len--],hA(y,E,1),Pe=y.heap[1],y.heap[--y.heap_max]=Ke,y.heap[--y.heap_max]=Pe,E[Ye*2]=E[Ke*2]+E[Pe*2],y.depth[Ye]=(y.depth[Ke]>=y.depth[Pe]?y.depth[Ke]:y.depth[Pe])+1,E[Ke*2+1]=E[Pe*2+1]=Ye,y.heap[1]=Ye++,hA(y,E,1);while(y.heap_len>=2);y.heap[--y.heap_max]=y.heap[1],Js(y,z),Kl(E,Ve,y.bl_count)},ma=(y,z,E)=>{let re,Ae=-1,he,Ke=z[0*2+1],Pe=0,Ve=7,Ye=4;for(Ke===0&&(Ve=138,Ye=3),z[(E+1)*2+1]=65535,re=0;re<=E;re++)he=Ke,Ke=z[(re+1)*2+1],!(++Pe<Ve&&he===Ke)&&(Pe<Ye?y.bl_tree[he*2]+=Pe:he!==0?(he!==Ae&&y.bl_tree[he*2]++,y.bl_tree[yr*2]++):Pe<=10?y.bl_tree[ni*2]++:y.bl_tree[co*2]++,Pe=0,Ae=he,Ke===0?(Ve=138,Ye=3):he===Ke?(Ve=6,Ye=3):(Ve=7,Ye=4))},Ca=(y,z,E)=>{let re,Ae=-1,he,Ke=z[0*2+1],Pe=0,Ve=7,Ye=4;for(Ke===0&&(Ve=138,Ye=3),re=0;re<=E;re++)if(he=Ke,Ke=z[(re+1)*2+1],!(++Pe<Ve&&he===Ke)){if(Pe<Ye)do nl(y,he,y.bl_tree);while(--Pe!==0);else he!==0?(he!==Ae&&(nl(y,he,y.bl_tree),Pe--),nl(y,yr,y.bl_tree),tl(y,Pe-3,2)):Pe<=10?(nl(y,ni,y.bl_tree),tl(y,Pe-3,3)):(nl(y,co,y.bl_tree),tl(y,Pe-11,7));Pe=0,Ae=he,Ke===0?(Ve=138,Ye=3):he===Ke?(Ve=6,Ye=3):(Ve=7,Ye=4)}},qa=y=>{let z;for(ma(y,y.dyn_ltree,y.l_desc.max_code),ma(y,y.dyn_dtree,y.d_desc.max_code),Ia(y,y.bl_desc),z=ti-1;z>=3&&y.bl_tree[Go[z]*2+1]===0;z--);return y.opt_len+=3*(z+1)+5+5+4,z},Xa=(y,z,E,re)=>{let Ae;for(tl(y,z-257,5),tl(y,E-1,5),tl(y,re-4,4),Ae=0;Ae<re;Ae++)tl(y,y.bl_tree[Go[Ae]*2+1],3);Ca(y,y.dyn_ltree,z-1),Ca(y,y.dyn_dtree,E-1)},Ha=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 ko;for(E=32;E<Vi;E++)if(y.dyn_ltree[E*2]!==0)return ko;return ki};let Wl=!1;const uu=y=>{Wl||(Zl(),Wl=!0),y.l_desc=new Fa(y.dyn_ltree,us),y.d_desc=new Fa(y.dyn_dtree,Mo),y.bl_desc=new Fa(y.bl_tree,mo),y.bi_buf=0,y.bi_valid=0,Lu(y)},ji=(y,z,E,re)=>{tl(y,(Co<<1)+(re?1:0),3),dl(y),el(y,E),el(y,~E),E&&y.pending_buf.set(y.window.subarray(z,z+E),y.pending),y.pending+=E},ga=y=>{tl(y,to<<1,3),nl(y,oi,Vo),lu(y)},Ta=(y,z,E,re)=>{let Ae,he,Ke=0;y.level>0?(y.strm.data_type===Ao&&(y.strm.data_type=Ha(y)),Ia(y,y.l_desc),Ia(y,y.d_desc),Ke=qa(y),Ae=y.opt_len+3+7>>>3,he=y.static_len+3+7>>>3,he<=Ae&&(Ae=he)):Ae=he=E+5,E+4<=Ae&&z!==-1?ji(y,z,E,re):y.strategy===Do||he===Ae?(tl(y,(to<<1)+(re?1:0),3),pa(y,Vo,oa)):(tl(y,(xo<<1)+(re?1:0),3),Xa(y,y.l_desc.max_code+1,y.d_desc.max_code+1,Ke+1),pa(y,y.dyn_ltree,y.dyn_dtree)),Lu(y),re&&dl(y)},iu=(y,z,E)=>(y.pending_buf[y.sym_buf+y.sym_next++]=z,y.pending_buf[y.sym_buf+y.sym_next++]=z>>8,y.pending_buf[y.sym_buf+y.sym_next++]=E,z===0?y.dyn_ltree[E*2]++:(y.matches++,z--,y.dyn_ltree[(Wa[E]+Vi+1)*2]++,y.dyn_dtree[hs(z)*2]++),y.sym_next===y.sym_end);var Pl=uu,ps=ji,Cu=Ta,pl=iu,Kc=ga,IA={_tr_init:Pl,_tr_stored_block:ps,_tr_flush_block:Cu,_tr_tally:pl,_tr_align:Kc},aa=(y,z,E,re)=>{let Ae=y&65535|0,he=y>>>16&65535|0,Ke=0;for(;E!==0;){Ke=E>2e3?2e3:E,E-=Ke;do Ae=Ae+z[re++]|0,he=he+Ae|0;while(--Ke);Ae%=65521,he%=65521}return Ae|he<<16|0};const Wu=()=>{let y,z=[];for(var E=0;E<256;E++){y=E;for(var re=0;re<8;re++)y=y&1?3988292384^y>>>1:y>>>1;z[E]=y}return z},dc=new Uint32Array(Wu());var Ns=(y,z,E,re)=>{const Ae=dc,he=re+E;y^=-1;for(let Ke=re;Ke<he;Ke++)y=y>>>8^Ae[(y^z[Ke])&255];return y^-1},eA={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},pA={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:_A,_tr_stored_block:bl,_tr_flush_block:Cl,_tr_tally:rl,_tr_align:$l}=IA,{Z_NO_FLUSH:Gl,Z_PARTIAL_FLUSH:Oc,Z_FULL_FLUSH:nd,Z_FINISH:_l,Z_BLOCK:Uu,Z_OK:Pa,Z_STREAM_END:Ua,Z_STREAM_ERROR:Rs,Z_DATA_ERROR:tA,Z_BUF_ERROR:Vl,Z_DEFAULT_COMPRESSION:Au,Z_FILTERED:WA,Z_HUFFMAN_ONLY:gA,Z_RLE:fc,Z_FIXED:Xl,Z_DEFAULT_STRATEGY:mA,Z_UNKNOWN:nc,Z_DEFLATED:rc}=pA,Sd=9,Xf=15,rd=8,Du=256+1+29,_c=30,ic=19,Fd=2*Du+1,Yf=15,Os=3,$u=258,pc=$u+Os+1,Ih=32,$A=42,Lh=57,Id=69,Jf=73,bf=91,Cf=103,GA=113,wa=666,Tl=1,TA=2,id=3,Tc=4,Zp=3,kc=(y,z)=>(y.msg=eA[z],z),qf=y=>y*2-(y>4?9:0),kA=y=>{let z=y.length;for(;--z>=0;)y[z]=0},od=y=>{let z,E,re,Ae=y.w_size;z=y.hash_size,re=z;do E=y.head[--re],y.head[re]=E>=Ae?E-Ae:0;while(--z);z=Ae,re=z;do E=y.prev[--re],y.prev[re]=E>=Ae?E-Ae:0;while(--z)};let gc=(y,z,E)=>(z<<y.hash_shift^E)&y.hash_mask;const LA=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))},nA=(y,z)=>{Cl(y,y.block_start>=0?y.block_start:-1,y.strstart-y.block_start,z),y.block_start=y.strstart,LA(y.strm)},Ks=(y,z)=>{y.pending_buf[y.pending++]=z},mc=(y,z)=>{y.pending_buf[y.pending++]=z>>>8&255,y.pending_buf[y.pending++]=z&255},ad=(y,z,E,re)=>{let Ae=y.avail_in;return Ae>re&&(Ae=re),Ae===0?0:(y.avail_in-=Ae,z.set(y.input.subarray(y.next_in,y.next_in+Ae),E),y.state.wrap===1?y.adler=aa(y.adler,z,Ae,E):y.state.wrap===2&&(y.adler=Ns(y.adler,z,Ae,E)),y.next_in+=Ae,y.total_in+=Ae,Ae)},sd=(y,z)=>{let E=y.max_chain_length,re=y.strstart,Ae,he,Ke=y.prev_length,Pe=y.nice_match;const Ve=y.strstart>y.w_size-pc?y.strstart-(y.w_size-pc):0,Ye=y.window,dt=y.w_mask,Pt=y.prev,Jt=y.strstart+$u;let ut=Ye[re+Ke-1],In=Ye[re+Ke];y.prev_length>=y.good_match&&(E>>=2),Pe>y.lookahead&&(Pe=y.lookahead);do if(Ae=z,!(Ye[Ae+Ke]!==In||Ye[Ae+Ke-1]!==ut||Ye[Ae]!==Ye[re]||Ye[++Ae]!==Ye[re+1])){re+=2,Ae++;do;while(Ye[++re]===Ye[++Ae]&&Ye[++re]===Ye[++Ae]&&Ye[++re]===Ye[++Ae]&&Ye[++re]===Ye[++Ae]&&Ye[++re]===Ye[++Ae]&&Ye[++re]===Ye[++Ae]&&Ye[++re]===Ye[++Ae]&&Ye[++re]===Ye[++Ae]&&re<Jt);if(he=$u-(Jt-re),re=Jt-$u,he>Ke){if(y.match_start=z,Ke=he,he>=Pe)break;ut=Ye[re+Ke-1],In=Ye[re+Ke]}}while((z=Pt[z&dt])>Ve&&--E!==0);return Ke<=y.lookahead?Ke:y.lookahead},vc=y=>{const z=y.w_size;let E,re,Ae;do{if(re=y.window_size-y.lookahead-y.strstart,y.strstart>=z+(z-pc)&&(y.window.set(y.window.subarray(z,z+z-re),0),y.match_start-=z,y.strstart-=z,y.block_start-=z,y.insert>y.strstart&&(y.insert=y.strstart),od(y),re+=z),y.strm.avail_in===0)break;if(E=ad(y.strm,y.window,y.strstart+y.lookahead,re),y.lookahead+=E,y.lookahead+y.insert>=Os)for(Ae=y.strstart-y.insert,y.ins_h=y.window[Ae],y.ins_h=gc(y,y.ins_h,y.window[Ae+1]);y.insert&&(y.ins_h=gc(y,y.ins_h,y.window[Ae+Os-1]),y.prev[Ae&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=Ae,Ae++,y.insert--,!(y.lookahead+y.insert<Os)););}while(y.lookahead<pc&&y.strm.avail_in!==0)},Mc=(y,z)=>{let E=y.pending_buf_size-5>y.w_size?y.w_size:y.pending_buf_size-5,re,Ae,he,Ke=0,Pe=y.strm.avail_in;do{if(re=65535,he=y.bi_valid+42>>3,y.strm.avail_out<he||(he=y.strm.avail_out-he,Ae=y.strstart-y.block_start,re>Ae+y.strm.avail_in&&(re=Ae+y.strm.avail_in),re>he&&(re=he),re<E&&(re===0&&z!==_l||z===Gl||re!==Ae+y.strm.avail_in)))break;Ke=z===_l&&re===Ae+y.strm.avail_in?1:0,bl(y,0,0,Ke),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,LA(y.strm),Ae&&(Ae>re&&(Ae=re),y.strm.output.set(y.window.subarray(y.block_start,y.block_start+Ae),y.strm.next_out),y.strm.next_out+=Ae,y.strm.avail_out-=Ae,y.strm.total_out+=Ae,y.block_start+=Ae,re-=Ae),re&&(ad(y.strm,y.strm.output,y.strm.next_out,re),y.strm.next_out+=re,y.strm.avail_out-=re,y.strm.total_out+=re)}while(Ke===0);return Pe-=y.strm.avail_in,Pe&&(Pe>=y.w_size?(y.matches=2,y.window.set(y.strm.input.subarray(y.strm.next_in-y.w_size,y.strm.next_in),0),y.strstart=y.w_size,y.insert=y.strstart):(y.window_size-y.strstart<=Pe&&(y.strstart-=y.w_size,y.window.set(y.window.subarray(y.w_size,y.w_size+y.strstart),0),y.matches<2&&y.matches++,y.insert>y.strstart&&(y.insert=y.strstart)),y.window.set(y.strm.input.subarray(y.strm.next_in-Pe,y.strm.next_in),y.strstart),y.strstart+=Pe,y.insert+=Pe>y.w_size-y.insert?y.w_size-y.insert:Pe),y.block_start=y.strstart),y.high_water<y.strstart&&(y.high_water=y.strstart),Ke?Tc:z!==Gl&&z!==_l&&y.strm.avail_in===0&&y.strstart===y.block_start?TA:(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&&(ad(y.strm,y.window,y.strstart,he),y.strstart+=he,y.insert+=he>y.w_size-y.insert?y.w_size-y.insert:he),y.high_water<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,Ae=y.strstart-y.block_start,(Ae>=E||(Ae||z===_l)&&z!==Gl&&y.strm.avail_in===0&&Ae<=he)&&(re=Ae>he?he:Ae,Ke=z===_l&&y.strm.avail_in===0&&re===Ae?1:0,bl(y,y.block_start,re,Ke),y.block_start+=re,LA(y.strm)),Ke?id:Tl)},xf=(y,z)=>{let E,re;for(;;){if(y.lookahead<pc){if(vc(y),y.lookahead<pc&&z===Gl)return Tl;if(y.lookahead===0)break}if(E=0,y.lookahead>=Os&&(y.ins_h=gc(y,y.ins_h,y.window[y.strstart+Os-1]),E=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart),E!==0&&y.strstart-E<=y.w_size-pc&&(y.match_length=sd(y,E)),y.match_length>=Os)if(re=rl(y,y.strstart-y.match_start,y.match_length-Os),y.lookahead-=y.match_length,y.match_length<=y.max_lazy_match&&y.lookahead>=Os){y.match_length--;do y.strstart++,y.ins_h=gc(y,y.ins_h,y.window[y.strstart+Os-1]),E=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart;while(--y.match_length!==0);y.strstart++}else y.strstart+=y.match_length,y.match_length=0,y.ins_h=y.window[y.strstart],y.ins_h=gc(y,y.ins_h,y.window[y.strstart+1]);else re=rl(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++;if(re&&(nA(y,!1),y.strm.avail_out===0))return Tl}return y.insert=y.strstart<Os-1?y.strstart:Os-1,z===_l?(nA(y,!0),y.strm.avail_out===0?id:Tc):y.sym_next&&(nA(y,!1),y.strm.avail_out===0)?Tl:TA},Ld=(y,z)=>{let E,re,Ae;for(;;){if(y.lookahead<pc){if(vc(y),y.lookahead<pc&&z===Gl)return Tl;if(y.lookahead===0)break}if(E=0,y.lookahead>=Os&&(y.ins_h=gc(y,y.ins_h,y.window[y.strstart+Os-1]),E=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart),y.prev_length=y.match_length,y.prev_match=y.match_start,y.match_length=Os-1,E!==0&&y.prev_length<y.max_lazy_match&&y.strstart-E<=y.w_size-pc&&(y.match_length=sd(y,E),y.match_length<=5&&(y.strategy===WA||y.match_length===Os&&y.strstart-y.match_start>4096)&&(y.match_length=Os-1)),y.prev_length>=Os&&y.match_length<=y.prev_length){Ae=y.strstart+y.lookahead-Os,re=rl(y,y.strstart-1-y.prev_match,y.prev_length-Os),y.lookahead-=y.prev_length-1,y.prev_length-=2;do++y.strstart<=Ae&&(y.ins_h=gc(y,y.ins_h,y.window[y.strstart+Os-1]),E=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart);while(--y.prev_length!==0);if(y.match_available=0,y.match_length=Os-1,y.strstart++,re&&(nA(y,!1),y.strm.avail_out===0))return Tl}else if(y.match_available){if(re=rl(y,0,y.window[y.strstart-1]),re&&nA(y,!1),y.strstart++,y.lookahead--,y.strm.avail_out===0)return Tl}else y.match_available=1,y.strstart++,y.lookahead--}return y.match_available&&(re=rl(y,0,y.window[y.strstart-1]),y.match_available=0),y.insert=y.strstart<Os-1?y.strstart:Os-1,z===_l?(nA(y,!0),y.strm.avail_out===0?id:Tc):y.sym_next&&(nA(y,!1),y.strm.avail_out===0)?Tl:TA},Dh=(y,z)=>{let E,re,Ae,he;const Ke=y.window;for(;;){if(y.lookahead<=$u){if(vc(y),y.lookahead<=$u&&z===Gl)return Tl;if(y.lookahead===0)break}if(y.match_length=0,y.lookahead>=Os&&y.strstart>0&&(Ae=y.strstart-1,re=Ke[Ae],re===Ke[++Ae]&&re===Ke[++Ae]&&re===Ke[++Ae])){he=y.strstart+$u;do;while(re===Ke[++Ae]&&re===Ke[++Ae]&&re===Ke[++Ae]&&re===Ke[++Ae]&&re===Ke[++Ae]&&re===Ke[++Ae]&&re===Ke[++Ae]&&re===Ke[++Ae]&&Ae<he);y.match_length=$u-(he-Ae),y.match_length>y.lookahead&&(y.match_length=y.lookahead)}if(y.match_length>=Os?(E=rl(y,1,y.match_length-Os),y.lookahead-=y.match_length,y.strstart+=y.match_length,y.match_length=0):(E=rl(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++),E&&(nA(y,!1),y.strm.avail_out===0))return Tl}return y.insert=0,z===_l?(nA(y,!0),y.strm.avail_out===0?id:Tc):y.sym_next&&(nA(y,!1),y.strm.avail_out===0)?Tl:TA},$p=(y,z)=>{let E;for(;;){if(y.lookahead===0&&(vc(y),y.lookahead===0)){if(z===Gl)return Tl;break}if(y.match_length=0,E=rl(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++,E&&(nA(y,!1),y.strm.avail_out===0))return Tl}return y.insert=0,z===_l?(nA(y,!0),y.strm.avail_out===0?id:Tc):y.sym_next&&(nA(y,!1),y.strm.avail_out===0)?Tl:TA};function rA(y,z,E,re,Ae){this.good_length=y,this.max_lazy=z,this.nice_length=E,this.max_chain=re,this.func=Ae}const yc=[new rA(0,0,0,0,Mc),new rA(4,4,8,4,xf),new rA(4,5,16,8,xf),new rA(4,6,32,32,xf),new rA(4,4,16,16,Ld),new rA(8,16,32,32,Ld),new rA(8,16,128,128,Ld),new rA(8,32,128,256,Ld),new rA(32,128,258,1024,Ld),new rA(32,258,258,4096,Ld)],ip=y=>{y.window_size=2*y.w_size,kA(y.head),y.max_lazy_match=yc[y.level].max_lazy,y.good_match=yc[y.level].good_length,y.nice_match=yc[y.level].nice_length,y.max_chain_length=yc[y.level].max_chain,y.strstart=0,y.block_start=0,y.lookahead=0,y.insert=0,y.match_length=y.prev_length=Os-1,y.match_available=0,y.ins_h=0};function Gp(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=rc,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(Fd*2),this.dyn_dtree=new Uint16Array((2*_c+1)*2),this.bl_tree=new Uint16Array((2*ic+1)*2),kA(this.dyn_ltree),kA(this.dyn_dtree),kA(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(Yf+1),this.heap=new Uint16Array(2*Du+1),kA(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Du+1),kA(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Xd=y=>{if(!y)return 1;const z=y.state;return!z||z.strm!==y||z.status!==$A&&z.status!==Lh&&z.status!==Id&&z.status!==Jf&&z.status!==bf&&z.status!==Cf&&z.status!==GA&&z.status!==wa?1:0},op=y=>{if(Xd(y))return kc(y,Rs);y.total_in=y.total_out=0,y.data_type=nc;const z=y.state;return z.pending=0,z.pending_out=0,z.wrap<0&&(z.wrap=-z.wrap),z.status=z.wrap===2?Lh:z.wrap?$A:GA,y.adler=z.wrap===2?0:1,z.last_flush=-2,_A(z),Pa},Yd=y=>{const z=op(y);return z===Pa&&ip(y.state),z},Vp=(y,z)=>Xd(y)||y.state.wrap!==2?Rs:(y.state.gzhead=z,Pa),iA=(y,z,E,re,Ae,he)=>{if(!y)return Rs;let Ke=1;if(z===Au&&(z=6),re<0?(Ke=0,re=-re):re>15&&(Ke=2,re-=16),Ae<1||Ae>Sd||E!==rc||re<8||re>15||z<0||z>9||he<0||he>Xl||re===8&&Ke!==1)return kc(y,Rs);re===8&&(re=9);const Pe=new Gp;return y.state=Pe,Pe.strm=y,Pe.status=$A,Pe.wrap=Ke,Pe.gzhead=null,Pe.w_bits=re,Pe.w_size=1<<Pe.w_bits,Pe.w_mask=Pe.w_size-1,Pe.hash_bits=Ae+7,Pe.hash_size=1<<Pe.hash_bits,Pe.hash_mask=Pe.hash_size-1,Pe.hash_shift=~~((Pe.hash_bits+Os-1)/Os),Pe.window=new Uint8Array(Pe.w_size*2),Pe.head=new Uint16Array(Pe.hash_size),Pe.prev=new Uint16Array(Pe.w_size),Pe.lit_bufsize=1<<Ae+6,Pe.pending_buf_size=Pe.lit_bufsize*4,Pe.pending_buf=new Uint8Array(Pe.pending_buf_size),Pe.sym_buf=Pe.lit_bufsize,Pe.sym_end=(Pe.lit_bufsize-1)*3,Pe.level=z,Pe.strategy=he,Pe.method=E,Yd(y)},Nu=(y,z)=>iA(y,z,rc,Xf,rd,mA),oA=(y,z)=>{if(Xd(y)||z>Uu||z<0)return y?kc(y,Rs):Rs;const E=y.state;if(!y.output||y.avail_in!==0&&!y.input||E.status===wa&&z!==_l)return kc(y,y.avail_out===0?Vl:Rs);const re=E.last_flush;if(E.last_flush=z,E.pending!==0){if(LA(y),y.avail_out===0)return E.last_flush=-1,Pa}else if(y.avail_in===0&&qf(z)<=qf(re)&&z!==_l)return kc(y,Vl);if(E.status===wa&&y.avail_in!==0)return kc(y,Vl);if(E.status===$A&&E.wrap===0&&(E.status=GA),E.status===$A){let Ae=rc+(E.w_bits-8<<4)<<8,he=-1;if(E.strategy>=gA||E.level<2?he=0:E.level<6?he=1:E.level===6?he=2:he=3,Ae|=he<<6,E.strstart!==0&&(Ae|=Ih),Ae+=31-Ae%31,mc(E,Ae),E.strstart!==0&&(mc(E,y.adler>>>16),mc(E,y.adler&65535)),y.adler=1,E.status=GA,LA(y),E.pending!==0)return E.last_flush=-1,Pa}if(E.status===Lh){if(y.adler=0,Ks(E,31),Ks(E,139),Ks(E,8),E.gzhead)Ks(E,(E.gzhead.text?1:0)+(E.gzhead.hcrc?2:0)+(E.gzhead.extra?4:0)+(E.gzhead.name?8:0)+(E.gzhead.comment?16:0)),Ks(E,E.gzhead.time&255),Ks(E,E.gzhead.time>>8&255),Ks(E,E.gzhead.time>>16&255),Ks(E,E.gzhead.time>>24&255),Ks(E,E.level===9?2:E.strategy>=gA||E.level<2?4:0),Ks(E,E.gzhead.os&255),E.gzhead.extra&&E.gzhead.extra.length&&(Ks(E,E.gzhead.extra.length&255),Ks(E,E.gzhead.extra.length>>8&255)),E.gzhead.hcrc&&(y.adler=Ns(y.adler,E.pending_buf,E.pending,0)),E.gzindex=0,E.status=Id;else if(Ks(E,0),Ks(E,0),Ks(E,0),Ks(E,0),Ks(E,0),Ks(E,E.level===9?2:E.strategy>=gA||E.level<2?4:0),Ks(E,Zp),E.status=GA,LA(y),E.pending!==0)return E.last_flush=-1,Pa}if(E.status===Id){if(E.gzhead.extra){let Ae=E.pending,he=(E.gzhead.extra.length&65535)-E.gzindex;for(;E.pending+he>E.pending_buf_size;){let Pe=E.pending_buf_size-E.pending;if(E.pending_buf.set(E.gzhead.extra.subarray(E.gzindex,E.gzindex+Pe),E.pending),E.pending=E.pending_buf_size,E.gzhead.hcrc&&E.pending>Ae&&(y.adler=Ns(y.adler,E.pending_buf,E.pending-Ae,Ae)),E.gzindex+=Pe,LA(y),E.pending!==0)return E.last_flush=-1,Pa;Ae=0,he-=Pe}let Ke=new Uint8Array(E.gzhead.extra);E.pending_buf.set(Ke.subarray(E.gzindex,E.gzindex+he),E.pending),E.pending+=he,E.gzhead.hcrc&&E.pending>Ae&&(y.adler=Ns(y.adler,E.pending_buf,E.pending-Ae,Ae)),E.gzindex=0}E.status=Jf}if(E.status===Jf){if(E.gzhead.name){let Ae=E.pending,he;do{if(E.pending===E.pending_buf_size){if(E.gzhead.hcrc&&E.pending>Ae&&(y.adler=Ns(y.adler,E.pending_buf,E.pending-Ae,Ae)),LA(y),E.pending!==0)return E.last_flush=-1,Pa;Ae=0}E.gzindex<E.gzhead.name.length?he=E.gzhead.name.charCodeAt(E.gzindex++)&255:he=0,Ks(E,he)}while(he!==0);E.gzhead.hcrc&&E.pending>Ae&&(y.adler=Ns(y.adler,E.pending_buf,E.pending-Ae,Ae)),E.gzindex=0}E.status=bf}if(E.status===bf){if(E.gzhead.comment){let Ae=E.pending,he;do{if(E.pending===E.pending_buf_size){if(E.gzhead.hcrc&&E.pending>Ae&&(y.adler=Ns(y.adler,E.pending_buf,E.pending-Ae,Ae)),LA(y),E.pending!==0)return E.last_flush=-1,Pa;Ae=0}E.gzindex<E.gzhead.comment.length?he=E.gzhead.comment.charCodeAt(E.gzindex++)&255:he=0,Ks(E,he)}while(he!==0);E.gzhead.hcrc&&E.pending>Ae&&(y.adler=Ns(y.adler,E.pending_buf,E.pending-Ae,Ae))}E.status=Cf}if(E.status===Cf){if(E.gzhead.hcrc){if(E.pending+2>E.pending_buf_size&&(LA(y),E.pending!==0))return E.last_flush=-1,Pa;Ks(E,y.adler&255),Ks(E,y.adler>>8&255),y.adler=0}if(E.status=GA,LA(y),E.pending!==0)return E.last_flush=-1,Pa}if(y.avail_in!==0||E.lookahead!==0||z!==Gl&&E.status!==wa){let Ae=E.level===0?Mc(E,z):E.strategy===gA?$p(E,z):E.strategy===fc?Dh(E,z):yc[E.level].func(E,z);if((Ae===id||Ae===Tc)&&(E.status=wa),Ae===Tl||Ae===id)return y.avail_out===0&&(E.last_flush=-1),Pa;if(Ae===TA&&(z===Oc?$l(E):z!==Uu&&(bl(E,0,0,!1),z===nd&&(kA(E.head),E.lookahead===0&&(E.strstart=0,E.block_start=0,E.insert=0))),LA(y),y.avail_out===0))return E.last_flush=-1,Pa}return z!==_l?Pa:E.wrap<=0?Ua:(E.wrap===2?(Ks(E,y.adler&255),Ks(E,y.adler>>8&255),Ks(E,y.adler>>16&255),Ks(E,y.adler>>24&255),Ks(E,y.total_in&255),Ks(E,y.total_in>>8&255),Ks(E,y.total_in>>16&255),Ks(E,y.total_in>>24&255)):(mc(E,y.adler>>>16),mc(E,y.adler&65535)),LA(y),E.wrap>0&&(E.wrap=-E.wrap),E.pending!==0?Pa:Ua)},Ou=y=>{if(Xd(y))return Rs;const z=y.state.status;return y.state=null,z===GA?kc(y,tA):Pa},ld=(y,z)=>{let E=z.length;if(Xd(y))return Rs;const re=y.state,Ae=re.wrap;if(Ae===2||Ae===1&&re.status!==$A||re.lookahead)return Rs;if(Ae===1&&(y.adler=aa(y.adler,z,E,0)),re.wrap=0,E>=re.w_size){Ae===0&&(kA(re.head),re.strstart=0,re.block_start=0,re.insert=0);let Ve=new Uint8Array(re.w_size);Ve.set(z.subarray(E-re.w_size,E),0),z=Ve,E=re.w_size}const he=y.avail_in,Ke=y.next_in,Pe=y.input;for(y.avail_in=E,y.next_in=0,y.input=z,vc(re);re.lookahead>=Os;){let Ve=re.strstart,Ye=re.lookahead-(Os-1);do re.ins_h=gc(re,re.ins_h,re.window[Ve+Os-1]),re.prev[Ve&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=Ve,Ve++;while(--Ye);re.strstart=Ve,re.lookahead=Os-1,vc(re)}return re.strstart+=re.lookahead,re.block_start=re.strstart,re.insert=re.lookahead,re.lookahead=0,re.match_length=re.prev_length=Os-1,re.match_available=0,y.next_in=Ke,y.input=Pe,y.avail_in=he,re.wrap=Ae,Pa};var Jd=Nu,Bf=iA,ap=Yd,sp=op,lp=Vp,eh=oA,wc=Ou,Dd=ld,up="pako deflate (from Nodeca project)",wt={deflateInit:Jd,deflateInit2:Bf,deflateReset:ap,deflateResetKeep:sp,deflateSetHeader:lp,deflate:eh,deflateEnd:wc,deflateSetDictionary:Dd,deflateInfo:up};const vt=(y,z)=>Object.prototype.hasOwnProperty.call(y,z);var Gt=function(y){const z=Array.prototype.slice.call(arguments,1);for(;z.length;){const E=z.shift();if(E){if(typeof E!="object")throw new TypeError(E+"must be non-object");for(const re in E)vt(E,re)&&(y[re]=E[re])}}return y},An=y=>{let z=0;for(let re=0,Ae=y.length;re<Ae;re++)z+=y[re].length;const E=new Uint8Array(z);for(let re=0,Ae=0,he=y.length;re<he;re++){let Ke=y[re];E.set(Ke,Ae),Ae+=Ke.length}return E},Sn={assign:Gt,flattenChunks:An};let Tn=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(y){Tn=!1}const or=new Uint8Array(256);for(let y=0;y<256;y++)or[y]=y>=252?6:y>=248?5:y>=240?4:y>=224?3:y>=192?2:1;or[254]=or[254]=1;var qn=y=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(y);let z,E,re,Ae,he,Ke=y.length,Pe=0;for(Ae=0;Ae<Ke;Ae++)E=y.charCodeAt(Ae),(E&64512)===55296&&Ae+1<Ke&&(re=y.charCodeAt(Ae+1),(re&64512)===56320&&(E=65536+(E-55296<<10)+(re-56320),Ae++)),Pe+=E<128?1:E<2048?2:E<65536?3:4;for(z=new Uint8Array(Pe),he=0,Ae=0;he<Pe;Ae++)E=y.charCodeAt(Ae),(E&64512)===55296&&Ae+1<Ke&&(re=y.charCodeAt(Ae+1),(re&64512)===56320&&(E=65536+(E-55296<<10)+(re-56320),Ae++)),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 Cr=(y,z)=>{if(z<65534&&y.subarray&&Tn)return String.fromCharCode.apply(null,y.length===z?y:y.subarray(0,z));let E="";for(let re=0;re<z;re++)E+=String.fromCharCode(y[re]);return E};var hr=(y,z)=>{const E=z||y.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(y.subarray(0,z));let re,Ae;const he=new Array(E*2);for(Ae=0,re=0;re<E;){let Ke=y[re++];if(Ke<128){he[Ae++]=Ke;continue}let Pe=or[Ke];if(Pe>4){he[Ae++]=65533,re+=Pe-1;continue}for(Ke&=Pe===2?31:Pe===3?15:7;Pe>1&&re<E;)Ke=Ke<<6|y[re++]&63,Pe--;if(Pe>1){he[Ae++]=65533;continue}Ke<65536?he[Ae++]=Ke:(Ke-=65536,he[Ae++]=55296|Ke>>10&1023,he[Ae++]=56320|Ke&1023)}return Cr(he,Ae)},ui=(y,z)=>{z=z||y.length,z>y.length&&(z=y.length);let E=z-1;for(;E>=0&&(y[E]&192)===128;)E--;return E<0||E===0?z:E+or[y[E]]>z?E:z},jr={string2buf:qn,buf2string:hr,utf8border:ui};function Qr(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var Or=Qr;const Dr=Object.prototype.toString,{Z_NO_FLUSH:$i,Z_SYNC_FLUSH:bi,Z_FULL_FLUSH:qi,Z_FINISH:so,Z_OK:Ji,Z_STREAM_END:po,Z_DEFAULT_COMPRESSION:Eo,Z_DEFAULT_STRATEGY:Ro,Z_DEFLATED:_o}=pA;function La(y){this.options=Sn.assign({level:Eo,method:_o,chunkSize:16384,windowBits:15,memLevel:8,strategy:Ro},y||{});let z=this.options;z.raw&&z.windowBits>0?z.windowBits=-z.windowBits:z.gzip&&z.windowBits>0&&z.windowBits<16&&(z.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Or,this.strm.avail_out=0;let E=wt.deflateInit2(this.strm,z.level,z.method,z.windowBits,z.memLevel,z.strategy);if(E!==Ji)throw new Error(eA[E]);if(z.header&&wt.deflateSetHeader(this.strm,z.header),z.dictionary){let re;if(typeof z.dictionary=="string"?re=jr.string2buf(z.dictionary):Dr.call(z.dictionary)==="[object ArrayBuffer]"?re=new Uint8Array(z.dictionary):re=z.dictionary,E=wt.deflateSetDictionary(this.strm,re),E!==Ji)throw new Error(eA[E]);this._dict_set=!0}}La.prototype.push=function(y,z){const E=this.strm,re=this.options.chunkSize;let Ae,he;if(this.ended)return!1;for(z===~~z?he=z:he=z===!0?so:$i,typeof y=="string"?E.input=jr.string2buf(y):Dr.call(y)==="[object ArrayBuffer]"?E.input=new Uint8Array(y):E.input=y,E.next_in=0,E.avail_in=E.input.length;;){if(E.avail_out===0&&(E.output=new Uint8Array(re),E.next_out=0,E.avail_out=re),(he===bi||he===qi)&&E.avail_out<=6){this.onData(E.output.subarray(0,E.next_out)),E.avail_out=0;continue}if(Ae=wt.deflate(E,he),Ae===po)return E.next_out>0&&this.onData(E.output.subarray(0,E.next_out)),Ae=wt.deflateEnd(this.strm),this.onEnd(Ae),this.ended=!0,Ae===Ji;if(E.avail_out===0){this.onData(E.output);continue}if(he>0&&E.next_out>0){this.onData(E.output.subarray(0,E.next_out)),E.avail_out=0;continue}if(E.avail_in===0)break}return!0},La.prototype.onData=function(y){this.chunks.push(y)},La.prototype.onEnd=function(y){y===Ji&&(this.result=Sn.flattenChunks(this.chunks)),this.chunks=[],this.err=y,this.msg=this.strm.msg};function sa(y,z){const E=new La(z);if(E.push(y,!0),E.err)throw E.msg||eA[E.err];return E.result}function ea(y,z){return z=z||{},z.raw=!0,sa(y,z)}function Ho(y,z){return z=z||{},z.gzip=!0,sa(y,z)}var jo=La,Qo=sa,yo=ea,ho=Ho,To=pA,Zo={Deflate:jo,deflate:Qo,deflateRaw:yo,gzip:ho,constants:To};const na=16209,Bo=16191;var Ja=function(z,E){let re,Ae,he,Ke,Pe,Ve,Ye,dt,Pt,Jt,ut,In,Cn,Nn,cn,wr,lr,Zn,Ai,Qi,Ii,Nr,Gn,Gr;const un=z.state;re=z.next_in,Gn=z.input,Ae=re+(z.avail_in-5),he=z.next_out,Gr=z.output,Ke=he-(E-z.avail_out),Pe=he+(z.avail_out-257),Ve=un.dmax,Ye=un.wsize,dt=un.whave,Pt=un.wnext,Jt=un.window,ut=un.hold,In=un.bits,Cn=un.lencode,Nn=un.distcode,cn=(1<<un.lenbits)-1,wr=(1<<un.distbits)-1;e:do{In<15&&(ut+=Gn[re++]<<In,In+=8,ut+=Gn[re++]<<In,In+=8),lr=Cn[ut&cn];t:for(;;){if(Zn=lr>>>24,ut>>>=Zn,In-=Zn,Zn=lr>>>16&255,Zn===0)Gr[he++]=lr&65535;else if(Zn&16){Ai=lr&65535,Zn&=15,Zn&&(In<Zn&&(ut+=Gn[re++]<<In,In+=8),Ai+=ut&(1<<Zn)-1,ut>>>=Zn,In-=Zn),In<15&&(ut+=Gn[re++]<<In,In+=8,ut+=Gn[re++]<<In,In+=8),lr=Nn[ut&wr];n:for(;;){if(Zn=lr>>>24,ut>>>=Zn,In-=Zn,Zn=lr>>>16&255,Zn&16){if(Qi=lr&65535,Zn&=15,In<Zn&&(ut+=Gn[re++]<<In,In+=8,In<Zn&&(ut+=Gn[re++]<<In,In+=8)),Qi+=ut&(1<<Zn)-1,Qi>Ve){z.msg="invalid distance too far back",un.mode=na;break e}if(ut>>>=Zn,In-=Zn,Zn=he-Ke,Qi>Zn){if(Zn=Qi-Zn,Zn>dt&&un.sane){z.msg="invalid distance too far back",un.mode=na;break e}if(Ii=0,Nr=Jt,Pt===0){if(Ii+=Ye-Zn,Zn<Ai){Ai-=Zn;do Gr[he++]=Jt[Ii++];while(--Zn);Ii=he-Qi,Nr=Gr}}else if(Pt<Zn){if(Ii+=Ye+Pt-Zn,Zn-=Pt,Zn<Ai){Ai-=Zn;do Gr[he++]=Jt[Ii++];while(--Zn);if(Ii=0,Pt<Ai){Zn=Pt,Ai-=Zn;do Gr[he++]=Jt[Ii++];while(--Zn);Ii=he-Qi,Nr=Gr}}}else if(Ii+=Pt-Zn,Zn<Ai){Ai-=Zn;do Gr[he++]=Jt[Ii++];while(--Zn);Ii=he-Qi,Nr=Gr}for(;Ai>2;)Gr[he++]=Nr[Ii++],Gr[he++]=Nr[Ii++],Gr[he++]=Nr[Ii++],Ai-=3;Ai&&(Gr[he++]=Nr[Ii++],Ai>1&&(Gr[he++]=Nr[Ii++]))}else{Ii=he-Qi;do Gr[he++]=Gr[Ii++],Gr[he++]=Gr[Ii++],Gr[he++]=Gr[Ii++],Ai-=3;while(Ai>2);Ai&&(Gr[he++]=Gr[Ii++],Ai>1&&(Gr[he++]=Gr[Ii++]))}}else if(Zn&64){z.msg="invalid distance code",un.mode=na;break e}else{lr=Nn[(lr&65535)+(ut&(1<<Zn)-1)];continue n}break}}else if(Zn&64)if(Zn&32){un.mode=Bo;break e}else{z.msg="invalid literal/length code",un.mode=na;break e}else{lr=Cn[(lr&65535)+(ut&(1<<Zn)-1)];continue t}break}}while(re<Ae&&he<Pe);Ai=In>>3,re-=Ai,In-=Ai<<3,ut&=(1<<In)-1,z.next_in=re,z.next_out=he,z.avail_in=re<Ae?5+(Ae-re):5-(re-Ae),z.avail_out=he<Pe?257+(Pe-he):257-(he-Pe),un.hold=ut,un.bits=In};const za=15,Dl=852,xl=592,ol=0,lo=1,Yl=2,os=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]),rs=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]),il=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]),cu=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 xa=(y,z,E,re,Ae,he,Ke,Pe)=>{const Ve=Pe.bits;let Ye=0,dt=0,Pt=0,Jt=0,ut=0,In=0,Cn=0,Nn=0,cn=0,wr=0,lr,Zn,Ai,Qi,Ii,Nr=null,Gn;const Gr=new Uint16Array(za+1),un=new Uint16Array(za+1);let On=null,mr,dr,hi;for(Ye=0;Ye<=za;Ye++)Gr[Ye]=0;for(dt=0;dt<re;dt++)Gr[z[E+dt]]++;for(ut=Ve,Jt=za;Jt>=1&&Gr[Jt]===0;Jt--);if(ut>Jt&&(ut=Jt),Jt===0)return Ae[he++]=1<<24|64<<16|0,Ae[he++]=1<<24|64<<16|0,Pe.bits=1,0;for(Pt=1;Pt<Jt&&Gr[Pt]===0;Pt++);for(ut<Pt&&(ut=Pt),Nn=1,Ye=1;Ye<=za;Ye++)if(Nn<<=1,Nn-=Gr[Ye],Nn<0)return-1;if(Nn>0&&(y===ol||Jt!==1))return-1;for(un[1]=0,Ye=1;Ye<za;Ye++)un[Ye+1]=un[Ye]+Gr[Ye];for(dt=0;dt<re;dt++)z[E+dt]!==0&&(Ke[un[z[E+dt]]++]=dt);if(y===ol?(Nr=On=Ke,Gn=20):y===lo?(Nr=os,On=rs,Gn=257):(Nr=il,On=cu,Gn=0),wr=0,dt=0,Ye=Pt,Ii=he,In=ut,Cn=0,Ai=-1,cn=1<<ut,Qi=cn-1,y===lo&&cn>Dl||y===Yl&&cn>xl)return 1;for(;;){mr=Ye-Cn,Ke[dt]+1<Gn?(dr=0,hi=Ke[dt]):Ke[dt]>=Gn?(dr=On[Ke[dt]-Gn],hi=Nr[Ke[dt]-Gn]):(dr=96,hi=0),lr=1<<Ye-Cn,Zn=1<<In,Pt=Zn;do Zn-=lr,Ae[Ii+(wr>>Cn)+Zn]=mr<<24|dr<<16|hi|0;while(Zn!==0);for(lr=1<<Ye-1;wr&lr;)lr>>=1;if(lr!==0?(wr&=lr-1,wr+=lr):wr=0,dt++,--Gr[Ye]===0){if(Ye===Jt)break;Ye=z[E+Ke[dt]]}if(Ye>ut&&(wr&Qi)!==Ai){for(Cn===0&&(Cn=ut),Ii+=Pt,In=Ye-Cn,Nn=1<<In;In+Cn<Jt&&(Nn-=Gr[In+Cn],!(Nn<=0));)In++,Nn<<=1;if(cn+=1<<In,y===lo&&cn>Dl||y===Yl&&cn>xl)return 1;Ai=wr&Qi,Ae[Ai]=ut<<24|In<<16|Ii-he|0}}return wr!==0&&(Ae[Ii+wr]=Ye-Cn<<24|64<<16|0),Pe.bits=ut,0};const Wo=0,Oo=1,As=2,{Z_FINISH:Es,Z_BLOCK:Vs,Z_TREES:Zs,Z_OK:al,Z_STREAM_END:hu,Z_NEED_DICT:la,Z_STREAM_ERROR:qo,Z_DATA_ERROR:bs,Z_MEM_ERROR:qs,Z_BUF_ERROR:Xs,Z_DEFLATED:pu}=pA,Nl=16180,aA=16181,Bl=16182,gs=16183,sl=16184,ll=16185,du=16186,Ol=16187,ms=16188,gl=16189,Ss=16190,ml=16191,Jl=16192,Pu=16193,_u=16194,VA=16195,ul=16196,Nd=16197,Ru=16198,Gu=16199,ju=16200,Vu=16201,Al=16202,vA=16203,bc=16204,MA=16205,XA=16206,qd=16207,ef=16208,Fs=16209,ud=16210,Ef=16211,Ka=852,cs=592,ou=15,Bu=y=>(y>>>24&255)+(y>>>8&65280)+((y&65280)<<8)+((y&255)<<24);function Eu(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const Xu=y=>{if(!y)return 1;const z=y.state;return!z||z.strm!==y||z.mode<Nl||z.mode>Ef?1:0},Qu=y=>{if(Xu(y))return qo;const z=y.state;return y.total_in=y.total_out=z.total=0,y.msg="",z.wrap&&(y.adler=z.wrap&1),z.mode=Nl,z.last=0,z.havedict=0,z.flags=-1,z.dmax=32768,z.head=null,z.hold=0,z.bits=0,z.lencode=z.lendyn=new Int32Array(Ka),z.distcode=z.distdyn=new Int32Array(cs),z.sane=1,z.back=-1,al},Zc=y=>{if(Xu(y))return qo;const z=y.state;return z.wsize=0,z.whave=0,z.wnext=0,Qu(y)},Sf=(y,z)=>{let E;if(Xu(y))return qo;const re=y.state;return z<0?(E=0,z=-z):(E=(z>>4)+5,z<48&&(z&=15)),z&&(z<8||z>15)?qo:(re.window!==null&&re.wbits!==z&&(re.window=null),re.wrap=E,re.wbits=z,Zc(y))},Wc=(y,z)=>{if(!y)return qo;const E=new Eu;y.state=E,E.strm=y,E.window=null,E.mode=Nl;const re=Sf(y,z);return re!==al&&(y.state=null),re},$c=y=>Wc(y,ou);let gu=!0,UA,tf;const Ff=y=>{if(gu){UA=new Int32Array(512),tf=new Int32Array(32);let z=0;for(;z<144;)y.lens[z++]=8;for(;z<256;)y.lens[z++]=9;for(;z<280;)y.lens[z++]=7;for(;z<288;)y.lens[z++]=8;for(xa(Oo,y.lens,0,288,UA,0,y.work,{bits:9}),z=0;z<32;)y.lens[z++]=5;xa(As,y.lens,0,32,tf,0,y.work,{bits:5}),gu=!1}y.lencode=UA,y.lenbits=9,y.distcode=tf,y.distbits=5},nf=(y,z,E,re)=>{let Ae;const he=y.state;return he.window===null&&(he.wsize=1<<he.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):(Ae=he.wsize-he.wnext,Ae>re&&(Ae=re),he.window.set(z.subarray(E-re,E-re+Ae),he.wnext),re-=Ae,re?(he.window.set(z.subarray(E-re,E),0),he.wnext=re,he.whave=he.wsize):(he.wnext+=Ae,he.wnext===he.wsize&&(he.wnext=0),he.whave<he.wsize&&(he.whave+=Ae))),0},If=(y,z)=>{let E,re,Ae,he,Ke,Pe,Ve,Ye,dt,Pt,Jt,ut,In,Cn,Nn=0,cn,wr,lr,Zn,Ai,Qi,Ii,Nr;const Gn=new Uint8Array(4);let Gr,un;const On=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Xu(y)||!y.output||!y.input&&y.avail_in!==0)return qo;E=y.state,E.mode===ml&&(E.mode=Jl),Ke=y.next_out,Ae=y.output,Ve=y.avail_out,he=y.next_in,re=y.input,Pe=y.avail_in,Ye=E.hold,dt=E.bits,Pt=Pe,Jt=Ve,Nr=al;e:for(;;)switch(E.mode){case Nl:if(E.wrap===0){E.mode=Jl;break}for(;dt<16;){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}if(E.wrap&2&&Ye===35615){E.wbits===0&&(E.wbits=15),E.check=0,Gn[0]=Ye&255,Gn[1]=Ye>>>8&255,E.check=Ns(E.check,Gn,2,0),Ye=0,dt=0,E.mode=aA;break}if(E.head&&(E.head.done=!1),!(E.wrap&1)||(((Ye&255)<<8)+(Ye>>8))%31){y.msg="incorrect header check",E.mode=Fs;break}if((Ye&15)!==pu){y.msg="unknown compression method",E.mode=Fs;break}if(Ye>>>=4,dt-=4,Ii=(Ye&15)+8,E.wbits===0&&(E.wbits=Ii),Ii>15||Ii>E.wbits){y.msg="invalid window size",E.mode=Fs;break}E.dmax=1<<E.wbits,E.flags=0,y.adler=E.check=1,E.mode=Ye&512?gl:ml,Ye=0,dt=0;break;case aA:for(;dt<16;){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}if(E.flags=Ye,(E.flags&255)!==pu){y.msg="unknown compression method",E.mode=Fs;break}if(E.flags&57344){y.msg="unknown header flags set",E.mode=Fs;break}E.head&&(E.head.text=Ye>>8&1),E.flags&512&&E.wrap&4&&(Gn[0]=Ye&255,Gn[1]=Ye>>>8&255,E.check=Ns(E.check,Gn,2,0)),Ye=0,dt=0,E.mode=Bl;case Bl:for(;dt<32;){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}E.head&&(E.head.time=Ye),E.flags&512&&E.wrap&4&&(Gn[0]=Ye&255,Gn[1]=Ye>>>8&255,Gn[2]=Ye>>>16&255,Gn[3]=Ye>>>24&255,E.check=Ns(E.check,Gn,4,0)),Ye=0,dt=0,E.mode=gs;case gs:for(;dt<16;){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}E.head&&(E.head.xflags=Ye&255,E.head.os=Ye>>8),E.flags&512&&E.wrap&4&&(Gn[0]=Ye&255,Gn[1]=Ye>>>8&255,E.check=Ns(E.check,Gn,2,0)),Ye=0,dt=0,E.mode=sl;case sl:if(E.flags&1024){for(;dt<16;){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}E.length=Ye,E.head&&(E.head.extra_len=Ye),E.flags&512&&E.wrap&4&&(Gn[0]=Ye&255,Gn[1]=Ye>>>8&255,E.check=Ns(E.check,Gn,2,0)),Ye=0,dt=0}else E.head&&(E.head.extra=null);E.mode=ll;case ll:if(E.flags&1024&&(ut=E.length,ut>Pe&&(ut=Pe),ut&&(E.head&&(Ii=E.head.extra_len-E.length,E.head.extra||(E.head.extra=new Uint8Array(E.head.extra_len)),E.head.extra.set(re.subarray(he,he+ut),Ii)),E.flags&512&&E.wrap&4&&(E.check=Ns(E.check,re,ut,he)),Pe-=ut,he+=ut,E.length-=ut),E.length))break e;E.length=0,E.mode=du;case du:if(E.flags&2048){if(Pe===0)break e;ut=0;do Ii=re[he+ut++],E.head&&Ii&&E.length<65536&&(E.head.name+=String.fromCharCode(Ii));while(Ii&&ut<Pe);if(E.flags&512&&E.wrap&4&&(E.check=Ns(E.check,re,ut,he)),Pe-=ut,he+=ut,Ii)break e}else E.head&&(E.head.name=null);E.length=0,E.mode=Ol;case Ol:if(E.flags&4096){if(Pe===0)break e;ut=0;do Ii=re[he+ut++],E.head&&Ii&&E.length<65536&&(E.head.comment+=String.fromCharCode(Ii));while(Ii&&ut<Pe);if(E.flags&512&&E.wrap&4&&(E.check=Ns(E.check,re,ut,he)),Pe-=ut,he+=ut,Ii)break e}else E.head&&(E.head.comment=null);E.mode=ms;case ms:if(E.flags&512){for(;dt<16;){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}if(E.wrap&4&&Ye!==(E.check&65535)){y.msg="header crc mismatch",E.mode=Fs;break}Ye=0,dt=0}E.head&&(E.head.hcrc=E.flags>>9&1,E.head.done=!0),y.adler=E.check=0,E.mode=ml;break;case gl:for(;dt<32;){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}y.adler=E.check=Bu(Ye),Ye=0,dt=0,E.mode=Ss;case Ss:if(E.havedict===0)return y.next_out=Ke,y.avail_out=Ve,y.next_in=he,y.avail_in=Pe,E.hold=Ye,E.bits=dt,la;y.adler=E.check=1,E.mode=ml;case ml:if(z===Vs||z===Zs)break e;case Jl:if(E.last){Ye>>>=dt&7,dt-=dt&7,E.mode=XA;break}for(;dt<3;){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}switch(E.last=Ye&1,Ye>>>=1,dt-=1,Ye&3){case 0:E.mode=Pu;break;case 1:if(Ff(E),E.mode=Gu,z===Zs){Ye>>>=2,dt-=2;break e}break;case 2:E.mode=ul;break;case 3:y.msg="invalid block type",E.mode=Fs}Ye>>>=2,dt-=2;break;case Pu:for(Ye>>>=dt&7,dt-=dt&7;dt<32;){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}if((Ye&65535)!==(Ye>>>16^65535)){y.msg="invalid stored block lengths",E.mode=Fs;break}if(E.length=Ye&65535,Ye=0,dt=0,E.mode=_u,z===Zs)break e;case _u:E.mode=VA;case VA:if(ut=E.length,ut){if(ut>Pe&&(ut=Pe),ut>Ve&&(ut=Ve),ut===0)break e;Ae.set(re.subarray(he,he+ut),Ke),Pe-=ut,he+=ut,Ve-=ut,Ke+=ut,E.length-=ut;break}E.mode=ml;break;case ul:for(;dt<14;){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}if(E.nlen=(Ye&31)+257,Ye>>>=5,dt-=5,E.ndist=(Ye&31)+1,Ye>>>=5,dt-=5,E.ncode=(Ye&15)+4,Ye>>>=4,dt-=4,E.nlen>286||E.ndist>30){y.msg="too many length or distance symbols",E.mode=Fs;break}E.have=0,E.mode=Nd;case Nd:for(;E.have<E.ncode;){for(;dt<3;){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}E.lens[On[E.have++]]=Ye&7,Ye>>>=3,dt-=3}for(;E.have<19;)E.lens[On[E.have++]]=0;if(E.lencode=E.lendyn,E.lenbits=7,Gr={bits:E.lenbits},Nr=xa(Wo,E.lens,0,19,E.lencode,0,E.work,Gr),E.lenbits=Gr.bits,Nr){y.msg="invalid code lengths set",E.mode=Fs;break}E.have=0,E.mode=Ru;case Ru:for(;E.have<E.nlen+E.ndist;){for(;Nn=E.lencode[Ye&(1<<E.lenbits)-1],cn=Nn>>>24,wr=Nn>>>16&255,lr=Nn&65535,!(cn<=dt);){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}if(lr<16)Ye>>>=cn,dt-=cn,E.lens[E.have++]=lr;else{if(lr===16){for(un=cn+2;dt<un;){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}if(Ye>>>=cn,dt-=cn,E.have===0){y.msg="invalid bit length repeat",E.mode=Fs;break}Ii=E.lens[E.have-1],ut=3+(Ye&3),Ye>>>=2,dt-=2}else if(lr===17){for(un=cn+3;dt<un;){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}Ye>>>=cn,dt-=cn,Ii=0,ut=3+(Ye&7),Ye>>>=3,dt-=3}else{for(un=cn+7;dt<un;){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}Ye>>>=cn,dt-=cn,Ii=0,ut=11+(Ye&127),Ye>>>=7,dt-=7}if(E.have+ut>E.nlen+E.ndist){y.msg="invalid bit length repeat",E.mode=Fs;break}for(;ut--;)E.lens[E.have++]=Ii}}if(E.mode===Fs)break;if(E.lens[256]===0){y.msg="invalid code -- missing end-of-block",E.mode=Fs;break}if(E.lenbits=9,Gr={bits:E.lenbits},Nr=xa(Oo,E.lens,0,E.nlen,E.lencode,0,E.work,Gr),E.lenbits=Gr.bits,Nr){y.msg="invalid literal/lengths set",E.mode=Fs;break}if(E.distbits=6,E.distcode=E.distdyn,Gr={bits:E.distbits},Nr=xa(As,E.lens,E.nlen,E.ndist,E.distcode,0,E.work,Gr),E.distbits=Gr.bits,Nr){y.msg="invalid distances set",E.mode=Fs;break}if(E.mode=Gu,z===Zs)break e;case Gu:E.mode=ju;case ju:if(Pe>=6&&Ve>=258){y.next_out=Ke,y.avail_out=Ve,y.next_in=he,y.avail_in=Pe,E.hold=Ye,E.bits=dt,Ja(y,Jt),Ke=y.next_out,Ae=y.output,Ve=y.avail_out,he=y.next_in,re=y.input,Pe=y.avail_in,Ye=E.hold,dt=E.bits,E.mode===ml&&(E.back=-1);break}for(E.back=0;Nn=E.lencode[Ye&(1<<E.lenbits)-1],cn=Nn>>>24,wr=Nn>>>16&255,lr=Nn&65535,!(cn<=dt);){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}if(wr&&!(wr&240)){for(Zn=cn,Ai=wr,Qi=lr;Nn=E.lencode[Qi+((Ye&(1<<Zn+Ai)-1)>>Zn)],cn=Nn>>>24,wr=Nn>>>16&255,lr=Nn&65535,!(Zn+cn<=dt);){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}Ye>>>=Zn,dt-=Zn,E.back+=Zn}if(Ye>>>=cn,dt-=cn,E.back+=cn,E.length=lr,wr===0){E.mode=MA;break}if(wr&32){E.back=-1,E.mode=ml;break}if(wr&64){y.msg="invalid literal/length code",E.mode=Fs;break}E.extra=wr&15,E.mode=Vu;case Vu:if(E.extra){for(un=E.extra;dt<un;){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}E.length+=Ye&(1<<E.extra)-1,Ye>>>=E.extra,dt-=E.extra,E.back+=E.extra}E.was=E.length,E.mode=Al;case Al:for(;Nn=E.distcode[Ye&(1<<E.distbits)-1],cn=Nn>>>24,wr=Nn>>>16&255,lr=Nn&65535,!(cn<=dt);){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}if(!(wr&240)){for(Zn=cn,Ai=wr,Qi=lr;Nn=E.distcode[Qi+((Ye&(1<<Zn+Ai)-1)>>Zn)],cn=Nn>>>24,wr=Nn>>>16&255,lr=Nn&65535,!(Zn+cn<=dt);){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}Ye>>>=Zn,dt-=Zn,E.back+=Zn}if(Ye>>>=cn,dt-=cn,E.back+=cn,wr&64){y.msg="invalid distance code",E.mode=Fs;break}E.offset=lr,E.extra=wr&15,E.mode=vA;case vA:if(E.extra){for(un=E.extra;dt<un;){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}E.offset+=Ye&(1<<E.extra)-1,Ye>>>=E.extra,dt-=E.extra,E.back+=E.extra}if(E.offset>E.dmax){y.msg="invalid distance too far back",E.mode=Fs;break}E.mode=bc;case bc:if(Ve===0)break e;if(ut=Jt-Ve,E.offset>ut){if(ut=E.offset-ut,ut>E.whave&&E.sane){y.msg="invalid distance too far back",E.mode=Fs;break}ut>E.wnext?(ut-=E.wnext,In=E.wsize-ut):In=E.wnext-ut,ut>E.length&&(ut=E.length),Cn=E.window}else Cn=Ae,In=Ke-E.offset,ut=E.length;ut>Ve&&(ut=Ve),Ve-=ut,E.length-=ut;do Ae[Ke++]=Cn[In++];while(--ut);E.length===0&&(E.mode=ju);break;case MA:if(Ve===0)break e;Ae[Ke++]=E.length,Ve--,E.mode=ju;break;case XA:if(E.wrap){for(;dt<32;){if(Pe===0)break e;Pe--,Ye|=re[he++]<<dt,dt+=8}if(Jt-=Ve,y.total_out+=Jt,E.total+=Jt,E.wrap&4&&Jt&&(y.adler=E.check=E.flags?Ns(E.check,Ae,Jt,Ke-Jt):aa(E.check,Ae,Jt,Ke-Jt)),Jt=Ve,E.wrap&4&&(E.flags?Ye:Bu(Ye))!==E.check){y.msg="incorrect data check",E.mode=Fs;break}Ye=0,dt=0}E.mode=qd;case qd:if(E.wrap&&E.flags){for(;dt<32;){if(Pe===0)break e;Pe--,Ye+=re[he++]<<dt,dt+=8}if(E.wrap&4&&Ye!==(E.total&4294967295)){y.msg="incorrect length check",E.mode=Fs;break}Ye=0,dt=0}E.mode=ef;case ef:Nr=hu;break e;case Fs:Nr=bs;break e;case ud:return qs;case Ef:default:return qo}return y.next_out=Ke,y.avail_out=Ve,y.next_in=he,y.avail_in=Pe,E.hold=Ye,E.bits=dt,(E.wsize||Jt!==y.avail_out&&E.mode<Fs&&(E.mode<XA||z!==Es))&&nf(y,y.output,y.next_out,Jt-y.avail_out),Pt-=y.avail_in,Jt-=y.avail_out,y.total_in+=Pt,y.total_out+=Jt,E.total+=Jt,E.wrap&4&&Jt&&(y.adler=E.check=E.flags?Ns(E.check,Ae,Jt,y.next_out-Jt):aa(E.check,Ae,Jt,y.next_out-Jt)),y.data_type=E.bits+(E.last?64:0)+(E.mode===ml?128:0)+(E.mode===Gu||E.mode===_u?256:0),(Pt===0&&Jt===0||z===Es)&&Nr===al&&(Nr=Xs),Nr},Gc=y=>{if(Xu(y))return qo;let z=y.state;return z.window&&(z.window=null),y.state=null,al},th=(y,z)=>{if(Xu(y))return qo;const E=y.state;return E.wrap&2?(E.head=z,z.done=!1,al):qo},Ap=(y,z)=>{const E=z.length;let re,Ae,he;return Xu(y)||(re=y.state,re.wrap!==0&&re.mode!==Ss)?qo:re.mode===Ss&&(Ae=1,Ae=aa(Ae,z,E,0),Ae!==re.check)?bs:(he=nf(y,z,E,E),he?(re.mode=ud,qs):(re.havedict=1,al))};var nh=Zc,rf=Sf,cp=Qu,dp=$c,of=Wc,Lf=If,Od=Gc,Df=th,Pd=Ap,af="pako inflate (from Nodeca project)",Cc={inflateReset:nh,inflateReset2:rf,inflateResetKeep:cp,inflateInit:dp,inflateInit2:of,inflate:Lf,inflateEnd:Od,inflateGetHeader:Df,inflateSetDictionary:Pd,inflateInfo:af};function rh(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var ih=rh;const Nh=Object.prototype.toString,{Z_NO_FLUSH:Ad,Z_FINISH:xc,Z_OK:Bc,Z_STREAM_END:_d,Z_NEED_DICT:cd,Z_STREAM_ERROR:Oh,Z_DATA_ERROR:ds,Z_MEM_ERROR:Is}=pA;function mu(y){this.options=Sn.assign({chunkSize:1024*64,windowBits:15,to:""},y||{});const z=this.options;z.raw&&z.windowBits>=0&&z.windowBits<16&&(z.windowBits=-z.windowBits,z.windowBits===0&&(z.windowBits=-15)),z.windowBits>=0&&z.windowBits<16&&!(y&&y.windowBits)&&(z.windowBits+=32),z.windowBits>15&&z.windowBits<48&&(z.windowBits&15||(z.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Or,this.strm.avail_out=0;let E=Cc.inflateInit2(this.strm,z.windowBits);if(E!==Bc)throw new Error(eA[E]);if(this.header=new ih,Cc.inflateGetHeader(this.strm,this.header),z.dictionary&&(typeof z.dictionary=="string"?z.dictionary=jr.string2buf(z.dictionary):Nh.call(z.dictionary)==="[object ArrayBuffer]"&&(z.dictionary=new Uint8Array(z.dictionary)),z.raw&&(E=Cc.inflateSetDictionary(this.strm,z.dictionary),E!==Bc)))throw new Error(eA[E])}mu.prototype.push=function(y,z){const E=this.strm,re=this.options.chunkSize,Ae=this.options.dictionary;let he,Ke,Pe;if(this.ended)return!1;for(z===~~z?Ke=z:Ke=z===!0?xc:Ad,Nh.call(y)==="[object ArrayBuffer]"?E.input=new Uint8Array(y):E.input=y,E.next_in=0,E.avail_in=E.input.length;;){for(E.avail_out===0&&(E.output=new Uint8Array(re),E.next_out=0,E.avail_out=re),he=Cc.inflate(E,Ke),he===cd&&Ae&&(he=Cc.inflateSetDictionary(E,Ae),he===Bc?he=Cc.inflate(E,Ke):he===ds&&(he=cd));E.avail_in>0&&he===_d&&E.state.wrap>0&&y[E.next_in]!==0;)Cc.inflateReset(E),he=Cc.inflate(E,Ke);switch(he){case Oh:case ds:case cd:case Is:return this.onEnd(he),this.ended=!0,!1}if(Pe=E.avail_out,E.next_out&&(E.avail_out===0||he===_d))if(this.options.to==="string"){let Ve=jr.utf8border(E.output,E.next_out),Ye=E.next_out-Ve,dt=jr.buf2string(E.output,Ve);E.next_out=Ye,E.avail_out=re-Ye,Ye&&E.output.set(E.output.subarray(Ve,Ve+Ye),0),this.onData(dt)}else this.onData(E.output.length===E.next_out?E.output:E.output.subarray(0,E.next_out));if(!(he===Bc&&Pe===0)){if(he===_d)return he=Cc.inflateEnd(this.strm),this.onEnd(he),this.ended=!0,!0;if(E.avail_in===0)break}}return!0},mu.prototype.onData=function(y){this.chunks.push(y)},mu.prototype.onEnd=function(y){y===Bc&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Sn.flattenChunks(this.chunks)),this.chunks=[],this.err=y,this.msg=this.strm.msg};function Hu(y,z){const E=new mu(z);if(E.push(y),E.err)throw E.msg||eA[E.err];return E.result}function zu(y,z){return z=z||{},z.raw=!0,Hu(y,z)}var dd=mu,Vc=Hu,Uc=zu,fd=Hu,Xc=pA,Ph={Inflate:dd,inflate:Vc,inflateRaw:Uc,ungzip:fd,constants:Xc};const{Deflate:hd,deflate:Xp,deflateRaw:_h,gzip:mg}=Zo,{Inflate:vg,inflate:Yp,inflateRaw:Ml,ungzip:Jp}=Ph;var Th=hd,sf=Xp,Ec=_h,oh=mg,ah=vg,Nf=Yp,sh=Ml,fp=Jp,hp=pA,yg={Deflate:Th,deflate:sf,deflateRaw:Ec,gzip:oh,Inflate:ah,inflate:Nf,inflateRaw:sh,ungzip:fp,constants:hp};const pp=[];for(let y=0;y<256;y++){let z=y;for(let E=0;E<8;E++)z&1?z=3988292384^z>>>1:z=z>>>1;pp[y]=z}const lh=4294967295;function qp(y,z,E){let re=y;for(let Ae=0;Ae<E;Ae++)re=pp[(re^z[Ae])&255]^re>>>8;return re}function vl(y,z){return(qp(lh,y,z)^lh)>>>0}function Td(y,z,E){const re=y.readUint32(),Ae=vl(new Uint8Array(y.buffer,y.byteOffset+y.offset-z-4,z),z);if(Ae!==re)throw new Error(`CRC mismatch for chunk ${E}. Expected ${re}, found ${Ae}`)}function wg(y,z){y.writeUint32(vl(new Uint8Array(y.buffer,y.byteOffset+y.offset-z,z),z))}function Ul(y,z,E){for(let re=0;re<E;re++)z[re]=y[re]}function kd(y,z,E,re){let Ae=0;for(;Ae<re;Ae++)z[Ae]=y[Ae];for(;Ae<E;Ae++)z[Ae]=y[Ae]+z[Ae-re]&255}function Yc(y,z,E,re){let Ae=0;if(E.length===0)for(;Ae<re;Ae++)z[Ae]=y[Ae];else for(;Ae<re;Ae++)z[Ae]=y[Ae]+E[Ae]&255}function pd(y,z,E,re,Ae){let he=0;if(E.length===0){for(;he<Ae;he++)z[he]=y[he];for(;he<re;he++)z[he]=y[he]+(z[he-Ae]>>1)&255}else{for(;he<Ae;he++)z[he]=y[he]+(E[he]>>1)&255;for(;he<re;he++)z[he]=y[he]+(z[he-Ae]+E[he]>>1)&255}}function El(y,z,E,re,Ae){let he=0;if(E.length===0){for(;he<Ae;he++)z[he]=y[he];for(;he<re;he++)z[he]=y[he]+z[he-Ae]&255}else{for(;he<Ae;he++)z[he]=y[he]+E[he]&255;for(;he<re;he++)z[he]=y[he]+uh(z[he-Ae],E[he],E[he-Ae])&255}}function uh(y,z,E){const re=y+z-E,Ae=Math.abs(re-y),he=Math.abs(re-z),Ke=Math.abs(re-E);return Ae<=he&&Ae<=Ke?y:he<=Ke?z:E}function gd(y,z,E,re,Ae,he){switch(y){case 0:Ul(z,E,Ae);break;case 1:kd(z,E,Ae,he);break;case 2:Yc(z,E,re,Ae);break;case 3:pd(z,E,re,Ae,he);break;case 4:El(z,E,re,Ae,he);break;default:throw new Error(`Unsupported filter: ${y}`)}}const eg=new Uint16Array([255]),a=new Uint8Array(eg.buffer)[0]===255;function b(y){const{data:z,width:E,height:re,channels:Ae,depth:he}=y,Ke=[{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}],Pe=Math.ceil(he/8)*Ae,Ve=new Uint8Array(re*E*Pe);let Ye=0;for(let dt=0;dt<7;dt++){const Pt=Ke[dt],Jt=Math.ceil((E-Pt.x)/Pt.xStep),ut=Math.ceil((re-Pt.y)/Pt.yStep);if(Jt<=0||ut<=0)continue;const In=Jt*Pe,Cn=new Uint8Array(In);for(let Nn=0;Nn<ut;Nn++){const cn=z[Ye++],wr=z.subarray(Ye,Ye+In);Ye+=In;const lr=new Uint8Array(In);gd(cn,wr,lr,Cn,In,Pe),Cn.set(lr);for(let Zn=0;Zn<Jt;Zn++){const Ai=Pt.x+Zn*Pt.xStep,Qi=Pt.y+Nn*Pt.yStep;if(!(Ai>=E||Qi>=re))for(let Ii=0;Ii<Pe;Ii++)Ve[(Qi*E+Ai)*Pe+Ii]=lr[Zn*Pe+Ii]}}}if(he===16){const dt=new Uint16Array(Ve.buffer);if(a)for(let Pt=0;Pt<dt.length;Pt++)dt[Pt]=ne(dt[Pt]);return dt}else return Ve}function ne(y){return(y&255)<<8|y>>8&255}const te=new Uint16Array([255]),De=new Uint8Array(te.buffer)[0]===255,qe=new Uint8Array(0);function mt(y){const{data:z,width:E,height:re,channels:Ae,depth:he}=y,Ke=Math.ceil(he/8)*Ae,Pe=Math.ceil(he/8*Ae*E),Ve=new Uint8Array(re*Pe);let Ye=qe,dt=0,Pt,Jt;for(let ut=0;ut<re;ut++){switch(Pt=z.subarray(dt+1,dt+1+Pe),Jt=Ve.subarray(ut*Pe,(ut+1)*Pe),z[dt]){case 0:Ul(Pt,Jt,Pe);break;case 1:kd(Pt,Jt,Pe,Ke);break;case 2:Yc(Pt,Jt,Ye,Pe);break;case 3:pd(Pt,Jt,Ye,Pe,Ke);break;case 4:El(Pt,Jt,Ye,Pe,Ke);break;default:throw new Error(`Unsupported filter: ${z[dt]}`)}Ye=Jt,dt+=Pe+1}if(he===16){const ut=new Uint16Array(Ve.buffer);if(De)for(let In=0;In<ut.length;In++)ut[In]=Et(ut[In]);return ut}else return Ve}function Et(y){return(y&255)<<8|y>>8&255}const Dt=Uint8Array.of(137,80,78,71,13,10,26,10);function Ln(y){y.writeBytes(Dt)}function Qn(y){if(!Tr(y.readBytes(Dt.length)))throw new Error("wrong PNG signature")}function Tr(y){if(y.length<Dt.length)return!1;for(let z=0;z<Dt.length;z++)if(y[z]!==Dt[z])return!1;return!0}const Er="tEXt",Ci=0,Wi=new TextDecoder("latin1");function uo(y){if(zo(y),y.length===0||y.length>79)throw new Error("keyword length must be between 1 and 79")}const Io=/^[\u0000-\u00FF]*$/;function zo(y){if(!Io.test(y))throw new Error("invalid latin1 text")}function Lo(y,z,E){const re=_a(z);y[re]=Ba(z,E-re.length-1)}function Aa(y,z,E){uo(z),zo(E);const re=z.length+1+E.length;y.writeUint32(re),y.writeChars(Er),y.writeChars(z),y.writeByte(Ci),y.writeChars(E),writeCrc(y,re+4)}function _a(y){for(y.mark();y.readByte()!==Ci;);const z=y.offset;y.reset();const E=Wi.decode(y.readBytes(z-y.offset-1));return y.skip(1),uo(E),E}function Ba(y,z){return Wi.decode(y.readBytes(z))}const Ra={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},Sl={UNKNOWN:-1,DEFLATE:0},Ku={UNKNOWN:-1,ADAPTIVE:0},ql={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},yA={NONE:0,BACKGROUND:1,PREVIOUS:2},Yu={SOURCE:0,OVER:1};class Tu extends Yi{constructor(E,re={}){super(E);Ll(this,"_checkCrc");Ll(this,"_inflator");Ll(this,"_png");Ll(this,"_apng");Ll(this,"_end");Ll(this,"_hasPalette");Ll(this,"_palette");Ll(this,"_hasTransparency");Ll(this,"_transparency");Ll(this,"_compressionMethod");Ll(this,"_filterMethod");Ll(this,"_interlaceMethod");Ll(this,"_colorType");Ll(this,"_isAnimated");Ll(this,"_numberOfFrames");Ll(this,"_numberOfPlays");Ll(this,"_frames");Ll(this,"_writingDataChunks");const{checkCrc:Ae=!1}=re;this._checkCrc=Ae,this._inflator=new ah,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=Sl.UNKNOWN,this._filterMethod=Ku.UNKNOWN,this._interlaceMethod=ql.UNKNOWN,this._colorType=Ra.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(Qn(this);!this._end;){const E=this.readUint32(),re=this.readChars(4);this.decodeChunk(E,re)}return this.decodeImage(),this._png}decodeApng(){for(Qn(this);!this._end;){const E=this.readUint32(),re=this.readChars(4);this.decodeApngChunk(E,re)}return this.decodeApngImage(),this._apng}decodeChunk(E,re){const Ae=this.offset;switch(re){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(E);break;case"IDAT":this.decodeIDAT(E);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(E);break;case"iCCP":this.decodeiCCP(E);break;case Er:Lo(this._png.text,this,E);break;case"pHYs":this.decodepHYs();break;default:this.skip(E);break}if(this.offset-Ae!==E)throw new Error(`Length mismatch while decoding chunk ${re}`);this._checkCrc?Td(this,E+4,re):this.skip(4)}decodeApngChunk(E,re){const Ae=this.offset;switch(re!=="fdAT"&&re!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),re){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(E);break;default:this.decodeChunk(E,re),this.offset=Ae+E;break}if(this.offset-Ae!==E)throw new Error(`Length mismatch while decoding chunk ${re}`);this._checkCrc?Td(this,E+4,re):this.skip(4)}decodeIHDR(){const E=this._png;E.width=this.readUint32(),E.height=this.readUint32(),E.depth=wA(this.readUint8());const re=this.readUint8();this._colorType=re;let Ae;switch(re){case Ra.GREYSCALE:Ae=1;break;case Ra.TRUECOLOUR:Ae=3;break;case Ra.INDEXED_COLOUR:Ae=1;break;case Ra.GREYSCALE_ALPHA:Ae=2;break;case Ra.TRUECOLOUR_ALPHA:Ae=4;break;case Ra.UNKNOWN:default:throw new Error(`Unknown color type: ${re}`)}if(this._png.channels=Ae,this._compressionMethod=this.readUint8(),this._compressionMethod!==Sl.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const E={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(E)}decodePLTE(E){if(E%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${E}`);const re=E/3;this._hasPalette=!0;const Ae=[];this._palette=Ae;for(let he=0;he<re;he++)Ae.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(E){this._writingDataChunks=!0;const re=E,Ae=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,Ae,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,Ae=this.offset+this.byteOffset;if(Ae+=4,re-=4,this._inflator.push(new Uint8Array(this.buffer,Ae,re)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(E)}decodetRNS(E){switch(this._colorType){case Ra.GREYSCALE:case Ra.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 Ra.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 Ae=this.readByte();this._palette[re].push(Ae)}for(;re<this._palette.length;re++)this._palette[re].push(255);break}case Ra.UNKNOWN:case Ra.GREYSCALE_ALPHA:case Ra.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(E){const re=_a(this),Ae=this.readUint8();if(Ae!==Sl.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${Ae}`);const he=this.readBytes(E-re.length-2);this._png.iccEmbeddedProfile={name:re,profile:Nf(he)}}decodepHYs(){const E=this.readUint32(),re=this.readUint32(),Ae=this.readByte();this._png.resolution={x:E,y:re,unit:Ae}}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)},Ae=this._frames.at(E);if(Ae){if(Ae.data=mt({data:Ae.data,width:Ae.width,height:Ae.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||Ae.xOffset===0&&Ae.yOffset===0&&Ae.width===this._png.width&&Ae.height===this._png.height)re.data=Ae.data;else{const he=this._apng.frames.at(E-1);this.disposeFrame(Ae,he,re),this.addFrameDataToCanvas(re,Ae)}this._apng.frames.push(re)}}return this._apng}disposeFrame(E,re,Ae){switch(E.disposeOp){case yA.NONE:break;case yA.BACKGROUND:for(let he=0;he<this._png.height;he++)for(let Ke=0;Ke<this._png.width;Ke++){const Pe=(he*E.width+Ke)*this._png.channels;for(let Ve=0;Ve<this._png.channels;Ve++)Ae.data[Pe+Ve]=0}break;case yA.PREVIOUS:Ae.data.set(re.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(E,re){const Ae=1<<this._png.depth,he=(Ke,Pe)=>{const Ve=((Ke+re.yOffset)*this._png.width+re.xOffset+Pe)*this._png.channels,Ye=(Ke*re.width+Pe)*this._png.channels;return{index:Ve,frameIndex:Ye}};switch(re.blendOp){case Yu.SOURCE:for(let Ke=0;Ke<re.height;Ke++)for(let Pe=0;Pe<re.width;Pe++){const{index:Ve,frameIndex:Ye}=he(Ke,Pe);for(let dt=0;dt<this._png.channels;dt++)E.data[Ve+dt]=re.data[Ye+dt]}break;case Yu.OVER:for(let Ke=0;Ke<re.height;Ke++)for(let Pe=0;Pe<re.width;Pe++){const{index:Ve,frameIndex:Ye}=he(Ke,Pe);for(let dt=0;dt<this._png.channels;dt++){const Pt=re.data[Ye+this._png.channels-1]/Ae,Jt=dt%(this._png.channels-1)===0?1:re.data[Ye+dt],ut=Math.floor(Pt*Jt+(1-Pt)*E.data[Ve+dt]);E.data[Ve+dt]+=ut}}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===ql.NO_INTERLACE)this._png.data=mt({data:E,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===ql.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:yA.NONE,blendOp:Yu.SOURCE,data:E}),this._inflator=new ah,this._writingDataChunks=!1}}function wA(y){if(y!==1&&y!==2&&y!==4&&y!==8&&y!==16)throw new Error(`invalid bit depth: ${y}`);return y}const sA={level:3};class So extends null{constructor(E,re={}){var Ae;super();Ll(this,"_png");Ll(this,"_zlibOptions");Ll(this,"_colorType");Ll(this,"_interlaceMethod");this._colorType=ColorType.UNKNOWN,this._zlibOptions=wf(wf({},sA),re.zlib),this._png=this._checkData(E),this._interlaceMethod=(Ae=re.interlace==="Adam7"?InterlaceMethod.ADAM7:InterlaceMethod.NO_INTERLACE)!=null?Ae: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 Ae of this._png.palette)this.writeByte(Ae[0]),this.writeByte(Ae[1]),this.writeByte(Ae[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:Ae,depth:he,data:Ke}=this._png,Pe=he<=8?Math.ceil(E*he/8)*Ae:Math.ceil(E*he/8*Ae/2),Ve=new IOBuffer().setBigEndian();let Ye=0;if(this._interlaceMethod===InterlaceMethod.NO_INTERLACE)for(let Jt=0;Jt<re;Jt++)Ve.writeByte(0),he===16?Ye=Ws(Ke,Ve,Pe,Ye):Ye=tu(Ke,Ve,Pe,Ye);else this._interlaceMethod===InterlaceMethod.ADAM7&&(Ye=Of(this._png,Ke,Ve,Ye));const dt=Ve.toArray(),Pt=deflate(dt,this._zlibOptions);this.encodeIDAT(Pt)}_checkData(E){const{colorType:re,channels:Ae,depth:he}=eu(E,E.palette),Ke={width:Rl(E.width,"width"),height:Rl(E.height,"height"),channels:Ae,data:E.data,depth:he,text:E.text,palette:E.palette};this._colorType=re;const Pe=he<8?Math.ceil(Ke.width*he/8)*Ke.height*Ae:Ke.width*Ke.height*Ae;if(Ke.data.length!==Pe)throw new RangeError(`wrong data size. Found ${Ke.data.length}, expected ${Pe}`);return Ke}}function Rl(y,z){if(Number.isInteger(y)&&y>0)return y;throw new TypeError(`${z} must be a positive integer`)}function eu(y,z){const{channels:E=4,depth:re=8}=y;if(E!==4&&E!==3&&E!==2&&E!==1)throw new RangeError(`unsupported number of channels: ${E}`);const Ae={channels:E,depth:re,colorType:ColorType.UNKNOWN};switch(E){case 4:Ae.colorType=ColorType.TRUECOLOUR_ALPHA;break;case 3:Ae.colorType=ColorType.TRUECOLOUR;break;case 1:z?Ae.colorType=ColorType.INDEXED_COLOUR:Ae.colorType=ColorType.GREYSCALE;break;case 2:Ae.colorType=ColorType.GREYSCALE_ALPHA;break;default:throw new Error("unsupported number of channels")}return Ae}function tu(y,z,E,re){for(let Ae=0;Ae<E;Ae++)z.writeByte(y[re++]);return re}function Of(y,z,E,re){const Ae=[{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:Ke,channels:Pe,depth:Ve}=y;let Ye=0;Ve===16?Ye=Pe*Ve/8/2:Ye=Pe*Ve/8;for(let dt=0;dt<7;dt++){const Pt=Ae[dt],Jt=Math.floor((he-Pt.x+Pt.xStep-1)/Pt.xStep),ut=Math.floor((Ke-Pt.y+Pt.yStep-1)/Pt.yStep);if(Jt<=0||ut<=0)continue;const In=Jt*Ye;for(let Cn=0;Cn<ut;Cn++){const Nn=Pt.y+Cn*Pt.yStep,cn=Ve<=8?new Uint8Array(In):new Uint16Array(In);let wr=0;for(let lr=0;lr<Jt;lr++){const Zn=Pt.x+lr*Pt.xStep;if(Zn<he&&Nn<Ke){const Ai=(Nn*he+Zn)*Ye;for(let Qi=0;Qi<Ye;Qi++)cn[wr++]=z[Ai+Qi]}}if(E.writeByte(0),Ve===8)E.writeBytes(cn);else if(Ve===16)for(const lr of cn)E.writeByte(lr>>8&255),E.writeByte(lr&255)}}return re}function Ws(y,z,E,re){for(let Ae=0;Ae<E;Ae++)z.writeUint16(y[re++]);return re}var Cs;(function(y){y[y.UNKNOWN=0]="UNKNOWN",y[y.METRE=1]="METRE"})(Cs||(Cs={}));function oc(y,z){return new Tu(y,z).decode()}function lA(y,z){return new PngEncoder(y,z).encode()}function Ah(y,z){return new PngDecoder(y,z).decodeApng()}var ka=function(){return typeof window!="undefined"?window:typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:this}();function Sc(){ka.console&&typeof ka.console.log=="function"&&ka.console.log.apply(ka.console,arguments)}var cl={log:Sc,warn:function(y){ka.console&&(typeof ka.console.warn=="function"?ka.console.warn.apply(ka.console,arguments):Sc.call(null,arguments))},error:function(y){ka.console&&(typeof ka.console.error=="function"?ka.console.error.apply(ka.console,arguments):Sc(y))}};function uA(y,z,E){var re=new XMLHttpRequest;re.open("GET",y),re.responseType="blob",re.onload=function(){_f(re.response,z,E)},re.onerror=function(){cl.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 _f=ka.saveAs||((typeof window=="undefined"?"undefined":(0,x.Z)(window))!=="object"||window!==ka?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(y,z,E){var re=ka.URL||ka.webkitURL,Ae=document.createElement("a");z=z||y.name||"download",Ae.download=z,Ae.rel="noopener",typeof y=="string"?(Ae.href=y,Ae.origin!==location.origin?Md(Ae.href)?uA(y,z,E):Pf(Ae,Ae.target="_blank"):Pf(Ae)):(Ae.href=re.createObjectURL(y),setTimeout(function(){re.revokeObjectURL(Ae.href)},4e4),setTimeout(function(){Pf(Ae)},0))}:"msSaveOrOpenBlob"in navigator?function(y,z,E){if(z=z||y.name||"download",typeof y=="string")if(Md(y))uA(y,z,E);else{var re=document.createElement("a");re.href=y,re.target="_blank",setTimeout(function(){Pf(re)})}else navigator.msSaveOrOpenBlob(function(Ae,he){return he===void 0?he={autoBom:!1}:(0,x.Z)(he)!=="object"&&(cl.warn("Deprecated: Expected third argument to be a object"),he={autoBom:!he}),he.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(Ae.type)?new Blob(["\uFEFF",Ae],{type:Ae.type}):Ae}(y,E),z)}:function(y,z,E,re){if((re=re||open("","_blank"))&&(re.document.title=re.document.body.innerText="downloading..."),typeof y=="string")return uA(y,z,E);var Ae=y.type==="application/octet-stream",he=/constructor/i.test(ka.HTMLElement)||ka.safari,Ke=/CriOS\/[\d]+/.test(navigator.userAgent);if((Ke||Ae&&he)&&(typeof FileReader=="undefined"?"undefined":(0,x.Z)(FileReader))==="object"){var Pe=new FileReader;Pe.onloadend=function(){var dt=Pe.result;dt=Ke?dt:dt.replace(/^data:[^;]*;/,"data:attachment/file;"),re?re.location.href=dt:location=dt,re=null},Pe.readAsDataURL(y)}else{var Ve=ka.URL||ka.webkitURL,Ye=Ve.createObjectURL(y);re?re.location=Ye:location.href=Ye,re=null,setTimeout(function(){Ve.revokeObjectURL(Ye)},4e4)}});function qg(y){var z;y=y||"",this.ok=!1,y.charAt(0)=="#"&&(y=y.substr(1,6)),y={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[y=(y=y.replace(/ /g,"")).toLowerCase()]||y;for(var E=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(Pe){return[parseInt(Pe[1]),parseInt(Pe[2]),parseInt(Pe[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(Pe){return[parseInt(Pe[1],16),parseInt(Pe[2],16),parseInt(Pe[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(Pe){return[parseInt(Pe[1]+Pe[1],16),parseInt(Pe[2]+Pe[2],16),parseInt(Pe[3]+Pe[3],16)]}}],re=0;re<E.length;re++){var Ae=E[re].re,he=E[re].process,Ke=Ae.exec(y);Ke&&(z=he(Ke),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 Pe=this.r.toString(16),Ve=this.g.toString(16),Ye=this.b.toString(16);return Pe.length==1&&(Pe="0"+Pe),Ve.length==1&&(Ve="0"+Ve),Ye.length==1&&(Ye="0"+Ye),"#"+Pe+Ve+Ye}}var gp=ka.atob.bind(ka),bg=ka.btoa.bind(ka);function mp(y,z){var E=y[0],re=y[1],Ae=y[2],he=y[3];E=YA(E,re,Ae,he,z[0],7,-680876936),he=YA(he,E,re,Ae,z[1],12,-389564586),Ae=YA(Ae,he,E,re,z[2],17,606105819),re=YA(re,Ae,he,E,z[3],22,-1044525330),E=YA(E,re,Ae,he,z[4],7,-176418897),he=YA(he,E,re,Ae,z[5],12,1200080426),Ae=YA(Ae,he,E,re,z[6],17,-1473231341),re=YA(re,Ae,he,E,z[7],22,-45705983),E=YA(E,re,Ae,he,z[8],7,1770035416),he=YA(he,E,re,Ae,z[9],12,-1958414417),Ae=YA(Ae,he,E,re,z[10],17,-42063),re=YA(re,Ae,he,E,z[11],22,-1990404162),E=YA(E,re,Ae,he,z[12],7,1804603682),he=YA(he,E,re,Ae,z[13],12,-40341101),Ae=YA(Ae,he,E,re,z[14],17,-1502002290),E=RA(E,re=YA(re,Ae,he,E,z[15],22,1236535329),Ae,he,z[1],5,-165796510),he=RA(he,E,re,Ae,z[6],9,-1069501632),Ae=RA(Ae,he,E,re,z[11],14,643717713),re=RA(re,Ae,he,E,z[0],20,-373897302),E=RA(E,re,Ae,he,z[5],5,-701558691),he=RA(he,E,re,Ae,z[10],9,38016083),Ae=RA(Ae,he,E,re,z[15],14,-660478335),re=RA(re,Ae,he,E,z[4],20,-405537848),E=RA(E,re,Ae,he,z[9],5,568446438),he=RA(he,E,re,Ae,z[14],9,-1019803690),Ae=RA(Ae,he,E,re,z[3],14,-187363961),re=RA(re,Ae,he,E,z[8],20,1163531501),E=RA(E,re,Ae,he,z[13],5,-1444681467),he=RA(he,E,re,Ae,z[2],9,-51403784),Ae=RA(Ae,he,E,re,z[7],14,1735328473),E=JA(E,re=RA(re,Ae,he,E,z[12],20,-1926607734),Ae,he,z[5],4,-378558),he=JA(he,E,re,Ae,z[8],11,-2022574463),Ae=JA(Ae,he,E,re,z[11],16,1839030562),re=JA(re,Ae,he,E,z[14],23,-35309556),E=JA(E,re,Ae,he,z[1],4,-1530992060),he=JA(he,E,re,Ae,z[4],11,1272893353),Ae=JA(Ae,he,E,re,z[7],16,-155497632),re=JA(re,Ae,he,E,z[10],23,-1094730640),E=JA(E,re,Ae,he,z[13],4,681279174),he=JA(he,E,re,Ae,z[0],11,-358537222),Ae=JA(Ae,he,E,re,z[3],16,-722521979),re=JA(re,Ae,he,E,z[6],23,76029189),E=JA(E,re,Ae,he,z[9],4,-640364487),he=JA(he,E,re,Ae,z[12],11,-421815835),Ae=JA(Ae,he,E,re,z[15],16,530742520),E=qA(E,re=JA(re,Ae,he,E,z[2],23,-995338651),Ae,he,z[0],6,-198630844),he=qA(he,E,re,Ae,z[7],10,1126891415),Ae=qA(Ae,he,E,re,z[14],15,-1416354905),re=qA(re,Ae,he,E,z[5],21,-57434055),E=qA(E,re,Ae,he,z[12],6,1700485571),he=qA(he,E,re,Ae,z[3],10,-1894986606),Ae=qA(Ae,he,E,re,z[10],15,-1051523),re=qA(re,Ae,he,E,z[1],21,-2054922799),E=qA(E,re,Ae,he,z[8],6,1873313359),he=qA(he,E,re,Ae,z[15],10,-30611744),Ae=qA(Ae,he,E,re,z[6],15,-1560198380),re=qA(re,Ae,he,E,z[13],21,1309151649),E=qA(E,re,Ae,he,z[4],6,-145523070),he=qA(he,E,re,Ae,z[11],10,-1120210379),Ae=qA(Ae,he,E,re,z[2],15,718787259),re=qA(re,Ae,he,E,z[9],21,-343485551),y[0]=Ud(E,y[0]),y[1]=Ud(re,y[1]),y[2]=Ud(Ae,y[2]),y[3]=Ud(he,y[3])}function vp(y,z,E,re,Ae,he){return z=Ud(Ud(z,y),Ud(re,he)),Ud(z<<Ae|z>>>32-Ae,E)}function YA(y,z,E,re,Ae,he,Ke){return vp(z&E|~z&re,y,z,Ae,he,Ke)}function RA(y,z,E,re,Ae,he,Ke){return vp(z&re|E&~re,y,z,Ae,he,Ke)}function JA(y,z,E,re,Ae,he,Ke){return vp(z^E^re,y,z,Ae,he,Ke)}function qA(y,z,E,re,Ae,he,Ke){return vp(E^(z|~re),y,z,Ae,he,Ke)}function em(y){var z,E=y.length,re=[1732584193,-271733879,-1732584194,271733878];for(z=64;z<=y.length;z+=64)mp(re,tg(y.substring(z-64,z)));y=y.substring(z-64);var Ae=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(z=0;z<y.length;z++)Ae[z>>2]|=y.charCodeAt(z)<<(z%4<<3);if(Ae[z>>2]|=128<<(z%4<<3),z>55)for(mp(re,Ae),z=0;z<16;z++)Ae[z]=0;return Ae[14]=8*E,mp(re,Ae),re}function tg(y){var z,E=[];for(z=0;z<64;z+=4)E[z>>2]=y.charCodeAt(z)+(y.charCodeAt(z+1)<<8)+(y.charCodeAt(z+2)<<16)+(y.charCodeAt(z+3)<<24);return E}var Rc="0123456789abcdef".split("");function tm(y){for(var z="",E=0;E<4;E++)z+=Rc[y>>8*E+4&15]+Rc[y>>8*E&15];return z}function ng(y){return String.fromCharCode(255&y,(65280&y)>>8,(16711680&y)>>16,(4278190080&y)>>24)}function Cg(y){return em(y).map(ng).join("")}var Qm=function(y){for(var z=0;z<y.length;z++)y[z]=tm(y[z]);return y.join("")}(em("hello"))!="5d41402abc4b2a76b9719d911017c592";function Ud(y,z){if(Qm){var E=(65535&y)+(65535&z);return(y>>16)+(z>>16)+(E>>16)<<16|65535&E}return y+z&4294967295}function Tf(y,z){var E,re,Ae,he;if(y!==E){for(var Ke=(Ae=y,he=1+(256/y.length|0),new Array(he+1).join(Ae)),Pe=[],Ve=0;Ve<256;Ve++)Pe[Ve]=Ve;var Ye=0;for(Ve=0;Ve<256;Ve++){var dt=Pe[Ve];Ye=(Ye+dt+Ke.charCodeAt(Ve))%256,Pe[Ve]=Pe[Ye],Pe[Ye]=dt}E=y,re=Pe}else Pe=re;var Pt=z.length,Jt=0,ut=0,In="";for(Ve=0;Ve<Pt;Ve++)ut=(ut+(dt=Pe[Jt=(Jt+1)%256]))%256,Pe[Jt]=Pe[ut],Pe[ut]=dt,Ke=Pe[(Pe[Jt]+Pe[ut])%256],In+=String.fromCharCode(z.charCodeAt(Ve)^Ke);return In}var yp={print:4,modify:8,copy:16,"annot-forms":32};function Mh(y,z,E,re){this.v=1,this.r=2;var Ae=192;y.forEach(function(Pe){if(yp.perm!==void 0)throw new Error("Invalid permission: "+Pe);Ae+=yp[Pe]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var he=(z+this.padding).substr(0,32),Ke=(E+this.padding).substr(0,32);this.O=this.processOwnerPassword(he,Ke),this.P=-(1+(255^Ae)),this.encryptionKey=Cg(he+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(re)).substr(0,5),this.U=Tf(this.encryptionKey,this.padding)}function md(y){if(/[^\u0000-\u00ff]/.test(y))throw new Error("Invalid PDF Name Object: "+y+", Only accept ASCII characters.");for(var z="",E=y.length,re=0;re<E;re++){var Ae=y.charCodeAt(re);z+=Ae<33||Ae===35||Ae===37||Ae===40||Ae===41||Ae===47||Ae===60||Ae===62||Ae===91||Ae===93||Ae===123||Ae===125||Ae>126?"#"+("0"+Ae.toString(16)).slice(-2):y[re]}return z}function nm(y){if((0,x.Z)(y)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var z={};this.subscribe=function(E,re,Ae){if(Ae=Ae||!1,typeof E!="string"||typeof re!="function"||typeof Ae!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");z.hasOwnProperty(E)||(z[E]={});var he=Math.random().toString(35);return z[E][he]=[re,!!Ae],he},this.unsubscribe=function(E){for(var re in z)if(z[re][E])return delete z[re][E],Object.keys(z[re]).length===0&&delete z[re],!0;return!1},this.publish=function(E){if(z.hasOwnProperty(E)){var re=Array.prototype.slice.call(arguments,1),Ae=[];for(var he in z[E]){var Ke=z[E][he];try{Ke[0].apply(y,re)}catch(Pe){ka.console&&cl.error("jsPDF PubSub Error",Pe.message,Pe)}Ke[1]&&Ae.push(he)}Ae.length&&Ae.forEach(this.unsubscribe)}},this.getTopics=function(){return z}}function wp(y){if(!(this instanceof wp))return new wp(y);var z="opacity,stroke-opacity".split(",");for(var E in y)y.hasOwnProperty(E)&&z.indexOf(E)>=0&&(this[E]=y[E]);this.id="",this.objectNumber=-1}function xg(y,z){this.gState=y,this.matrix=z,this.id="",this.objectNumber=-1}function kf(y,z,E,re,Ae){if(!(this instanceof kf))return new kf(y,z,E,re,Ae);this.type=y==="axial"?2:3,this.coords=z,this.colors=E,xg.call(this,re,Ae)}function Mf(y,z,E,re,Ae){if(!(this instanceof Mf))return new Mf(y,z,E,re,Ae);this.boundingBox=y,this.xStep=z,this.yStep=E,this.stream="",this.cloneIndex=0,xg.call(this,re,Ae)}function Da(y){var z,E=typeof arguments[0]=="string"?arguments[0]:"p",re=arguments[1],Ae=arguments[2],he=arguments[3],Ke=[],Pe=1,Ve=16,Ye="S",dt=null;(0,x.Z)(y=y||{})==="object"&&(E=y.orientation,re=y.unit||re,Ae=y.format||Ae,he=y.compress||y.compressPdf||he,(dt=y.encryption||null)!==null&&(dt.userPassword=dt.userPassword||"",dt.ownerPassword=dt.ownerPassword||"",dt.userPermissions=dt.userPermissions||[]),Pe=typeof y.userUnit=="number"?Math.abs(y.userUnit):1,y.precision!==void 0&&(z=y.precision),y.floatPrecision!==void 0&&(Ve=y.floatPrecision),Ye=y.defaultPathOperation||"S"),Ke=y.filters||(he===!0?["FlateEncode"]:Ke),re=re||"mm",E=(""+(E||"P")).toLowerCase();var Pt=y.putOnlyUsedFonts||!1,Jt={},ut={internal:{},__private__:{}};ut.__private__.PubSub=nm;var In="1.3",Cn=ut.__private__.getPdfVersion=function(){return In};ut.__private__.setPdfVersion=function(Xe){In=Xe};var Nn={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};ut.__private__.getPageFormats=function(){return Nn};var cn=ut.__private__.getPageFormat=function(Xe){return Nn[Xe]};Ae=Ae||"a4";var wr="compat",lr="advanced",Zn=wr;function Ai(){this.saveGraphicsState(),Jn(new ss(fs,0,0,-fs,0,Pp()*fs).toString()+" cm"),this.setFontSize(this.getFontSize()/fs),Ye="n",Zn=lr}function Qi(){this.restoreGraphicsState(),Ye="S",Zn=wr}var Ii=ut.__private__.combineFontStyleAndFontWeight=function(Xe,jt){if(Xe=="bold"&&jt=="normal"||Xe=="bold"&&jt==400||Xe=="normal"&&jt=="italic"||Xe=="bold"&&jt=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return jt&&(Xe=jt==400||jt==="normal"?Xe==="italic"?"italic":"normal":jt!=700&&jt!=="bold"||Xe!=="normal"?(jt==700?"bold":jt)+""+Xe:"bold"),Xe};ut.advancedAPI=function(Xe){var jt=Zn===wr;return jt&&Ai.call(this),typeof Xe!="function"||(Xe(this),jt&&Qi.call(this)),this},ut.compatAPI=function(Xe){var jt=Zn===lr;return jt&&Qi.call(this),typeof Xe!="function"||(Xe(this),jt&&Ai.call(this)),this},ut.isAdvancedAPI=function(){return Zn===lr};var Nr,Gn=function(Xe){if(Zn!==lr)throw new Error(Xe+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Gr=ut.roundToPrecision=ut.__private__.roundToPrecision=function(Xe,jt){var Rn=z||jt;if(isNaN(Xe)||isNaN(Rn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Xe.toFixed(Rn).replace(/0+$/,"")};Nr=ut.hpf=ut.__private__.hpf=typeof Ve=="number"?function(Xe){if(isNaN(Xe))throw new Error("Invalid argument passed to jsPDF.hpf");return Gr(Xe,Ve)}:Ve==="smart"?function(Xe){if(isNaN(Xe))throw new Error("Invalid argument passed to jsPDF.hpf");return Gr(Xe,Xe>-1&&Xe<1?16:5)}:function(Xe){if(isNaN(Xe))throw new Error("Invalid argument passed to jsPDF.hpf");return Gr(Xe,16)};var un=ut.f2=ut.__private__.f2=function(Xe){if(isNaN(Xe))throw new Error("Invalid argument passed to jsPDF.f2");return Gr(Xe,2)},On=ut.__private__.f3=function(Xe){if(isNaN(Xe))throw new Error("Invalid argument passed to jsPDF.f3");return Gr(Xe,3)},mr=ut.scale=ut.__private__.scale=function(Xe){if(isNaN(Xe))throw new Error("Invalid argument passed to jsPDF.scale");return Zn===wr?Xe*fs:Zn===lr?Xe:void 0},dr=function(Xe){return mr(function(jt){return Zn===wr?Pp()-jt:Zn===lr?jt:void 0}(Xe))};ut.__private__.setPrecision=ut.setPrecision=function(Xe){typeof parseInt(Xe,10)=="number"&&(z=parseInt(Xe,10))};var hi,Fi="00000000000000000000000000000000",Oi=ut.__private__.getFileId=function(){return Fi},ai=ut.__private__.setFileId=function(Xe){return Fi=Xe!==void 0&&/^[a-fA-F0-9]{32}$/.test(Xe)?Xe.toUpperCase():Fi.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),dt!==null&&(CA=new Mh(dt.userPermissions,dt.userPassword,dt.ownerPassword,Fi)),Fi};ut.setFileId=function(Xe){return ai(Xe),this},ut.getFileId=function(){return Oi()};var Pi=ut.__private__.convertDateToPDFDate=function(Xe){var jt=Xe.getTimezoneOffset(),Rn=jt<0?"+":"-",gr=Math.floor(Math.abs(jt/60)),$r=Math.abs(jt%60),Zi=[Rn,rr(gr),"'",rr($r),"'"].join("");return["D:",Xe.getFullYear(),rr(Xe.getMonth()+1),rr(Xe.getDate()),rr(Xe.getHours()),rr(Xe.getMinutes()),rr(Xe.getSeconds()),Zi].join("")},Po=ut.__private__.convertPDFDateToDate=function(Xe){var jt=parseInt(Xe.substr(2,4),10),Rn=parseInt(Xe.substr(6,2),10)-1,gr=parseInt(Xe.substr(8,2),10),$r=parseInt(Xe.substr(10,2),10),Zi=parseInt(Xe.substr(12,2),10),ao=parseInt(Xe.substr(14,2),10);return new Date(jt,Rn,gr,$r,Zi,ao,0)},io=ut.__private__.setCreationDate=function(Xe){var jt;if(Xe===void 0&&(Xe=new Date),Xe instanceof Date)jt=Pi(Xe);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(Xe))throw new Error("Invalid argument passed to jsPDF.setCreationDate");jt=Xe}return hi=jt},nn=ut.__private__.getCreationDate=function(Xe){var jt=hi;return Xe==="jsDate"&&(jt=Po(hi)),jt};ut.setCreationDate=function(Xe){return io(Xe),this},ut.getCreationDate=function(Xe){return nn(Xe)};var Kn,rr=ut.__private__.padd2=function(Xe){return("0"+parseInt(Xe)).slice(-2)},Br=ut.__private__.padd2Hex=function(Xe){return("00"+(Xe=Xe.toString())).substr(Xe.length)},Rr=0,si=[],Di=[],xi=0,Xi=[],wo=[],ua=!1,ca=Di;ut.__private__.setCustomOutputDestination=function(Xe){ua=!0,ca=Xe};var Mi=function(Xe){ua||(ca=Xe)};ut.__private__.resetCustomOutputDestination=function(){ua=!1,ca=Di};var Jn=ut.__private__.out=function(Xe){return Xe=Xe.toString(),xi+=Xe.length+1,ca.push(Xe),ca},fl=ut.__private__.write=function(Xe){return Jn(arguments.length===1?Xe.toString():Array.prototype.join.call(arguments," "))},js=ut.__private__.getArrayBuffer=function(Xe){for(var jt=Xe.length,Rn=new ArrayBuffer(jt),gr=new Uint8Array(Rn);jt--;)gr[jt]=Xe.charCodeAt(jt);return Rn},ns=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];ut.__private__.getStandardFonts=function(){return ns};var Fo=y.fontSize||16;ut.__private__.setFontSize=ut.setFontSize=function(Xe){return Fo=Zn===lr?Xe/fs:Xe,this};var Za,ha=ut.__private__.getFontSize=ut.getFontSize=function(){return Zn===wr?Fo:Fo*fs},Qs=y.R2L||!1;ut.__private__.setR2L=ut.setR2L=function(Xe){return Qs=Xe,this},ut.__private__.getR2L=ut.getR2L=function(){return Qs};var Ya,Ql=ut.__private__.setZoomMode=function(Xe){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(Xe))Za=Xe;else if(isNaN(Xe)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(Xe)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+Xe+'" is not recognized.');Za=Xe}else Za=parseInt(Xe,10)};ut.__private__.getZoomMode=function(){return Za};var _s,Ts=ut.__private__.setPageMode=function(Xe){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Xe)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Xe+'" is not recognized.');Ya=Xe};ut.__private__.getPageMode=function(){return Ya};var fu=ut.__private__.setLayoutMode=function(Xe){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(Xe)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+Xe+'" is not recognized.');_s=Xe};ut.__private__.getLayoutMode=function(){return _s},ut.__private__.setDisplayMode=ut.setDisplayMode=function(Xe,jt,Rn){return Ql(Xe),fu(jt),Ts(Rn),this};var Hs={title:"",subject:"",author:"",keywords:"",creator:""};ut.__private__.getDocumentProperty=function(Xe){if(Object.keys(Hs).indexOf(Xe)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Hs[Xe]},ut.__private__.getDocumentProperties=function(){return Hs},ut.__private__.setDocumentProperties=ut.setProperties=ut.setDocumentProperties=function(Xe){for(var jt in Hs)Hs.hasOwnProperty(jt)&&Xe[jt]&&(Hs[jt]=Xe[jt]);return this},ut.__private__.setDocumentProperty=function(Xe,jt){if(Object.keys(Hs).indexOf(Xe)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Hs[Xe]=jt};var Ga,fs,Va,Su,Hl,ja={},ks={},vu=[],as={},yl={},Ms={},bA={},jA=null,yu=0,xs=[],nu=new nm(ut),bp=y.hotfixes||[],Lc={},hh={},zf=[],ss=function Xe(jt,Rn,gr,$r,Zi,ao){if(!(this instanceof Xe))return new Xe(jt,Rn,gr,$r,Zi,ao);isNaN(jt)&&(jt=1),isNaN(Rn)&&(Rn=0),isNaN(gr)&&(gr=0),isNaN($r)&&($r=1),isNaN(Zi)&&(Zi=0),isNaN(ao)&&(ao=0),this._matrix=[jt,Rn,gr,$r,Zi,ao]};Object.defineProperty(ss.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Xe){this._matrix[0]=Xe}}),Object.defineProperty(ss.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Xe){this._matrix[1]=Xe}}),Object.defineProperty(ss.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Xe){this._matrix[2]=Xe}}),Object.defineProperty(ss.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Xe){this._matrix[3]=Xe}}),Object.defineProperty(ss.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Xe){this._matrix[4]=Xe}}),Object.defineProperty(ss.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Xe){this._matrix[5]=Xe}}),Object.defineProperty(ss.prototype,"a",{get:function(){return this._matrix[0]},set:function(Xe){this._matrix[0]=Xe}}),Object.defineProperty(ss.prototype,"b",{get:function(){return this._matrix[1]},set:function(Xe){this._matrix[1]=Xe}}),Object.defineProperty(ss.prototype,"c",{get:function(){return this._matrix[2]},set:function(Xe){this._matrix[2]=Xe}}),Object.defineProperty(ss.prototype,"d",{get:function(){return this._matrix[3]},set:function(Xe){this._matrix[3]=Xe}}),Object.defineProperty(ss.prototype,"e",{get:function(){return this._matrix[4]},set:function(Xe){this._matrix[4]=Xe}}),Object.defineProperty(ss.prototype,"f",{get:function(){return this._matrix[5]},set:function(Xe){this._matrix[5]=Xe}}),Object.defineProperty(ss.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(ss.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(ss.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(ss.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),ss.prototype.join=function(Xe){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Nr).join(Xe)},ss.prototype.multiply=function(Xe){var jt=Xe.sx*this.sx+Xe.shy*this.shx,Rn=Xe.sx*this.shy+Xe.shy*this.sy,gr=Xe.shx*this.sx+Xe.sy*this.shx,$r=Xe.shx*this.shy+Xe.sy*this.sy,Zi=Xe.tx*this.sx+Xe.ty*this.shx+this.tx,ao=Xe.tx*this.shy+Xe.ty*this.sy+this.ty;return new ss(jt,Rn,gr,$r,Zi,ao)},ss.prototype.decompose=function(){var Xe=this.sx,jt=this.shy,Rn=this.shx,gr=this.sy,$r=this.tx,Zi=this.ty,ao=Math.sqrt(Xe*Xe+jt*jt),Sa=(Xe/=ao)*Rn+(jt/=ao)*gr;Rn-=Xe*Sa,gr-=jt*Sa;var Ma=Math.sqrt(Rn*Rn+gr*gr);return Sa/=Ma,Xe*(gr/=Ma)<jt*(Rn/=Ma)&&(Xe=-Xe,jt=-jt,Sa=-Sa,ao=-ao),{scale:new ss(ao,0,0,Ma,0,0),translate:new ss(1,0,0,1,$r,Zi),rotate:new ss(Xe,jt,-jt,Xe,0,0),skew:new ss(1,0,Sa,1,0,0)}},ss.prototype.toString=function(Xe){return this.join(" ")},ss.prototype.inversed=function(){var Xe=this.sx,jt=this.shy,Rn=this.shx,gr=this.sy,$r=this.tx,Zi=this.ty,ao=1/(Xe*gr-jt*Rn),Sa=gr*ao,Ma=-jt*ao,ws=-Rn*ao,Ls=Xe*ao;return new ss(Sa,Ma,ws,Ls,-Sa*$r-ws*Zi,-Ma*$r-Ls*Zi)},ss.prototype.applyToPoint=function(Xe){var jt=Xe.x*this.sx+Xe.y*this.shx+this.tx,Rn=Xe.x*this.shy+Xe.y*this.sy+this.ty;return new Np(jt,Rn)},ss.prototype.applyToRectangle=function(Xe){var jt=this.applyToPoint(Xe),Rn=this.applyToPoint(new Np(Xe.x+Xe.w,Xe.y+Xe.h));return new Tg(jt.x,jt.y,Rn.x-jt.x,Rn.y-jt.y)},ss.prototype.clone=function(){var Xe=this.sx,jt=this.shy,Rn=this.shx,gr=this.sy,$r=this.tx,Zi=this.ty;return new ss(Xe,jt,Rn,gr,$r,Zi)},ut.Matrix=ss;var ph=ut.matrixMult=function(Xe,jt){return jt.multiply(Xe)},gh=new ss(1,0,0,1,0,0);ut.unitMatrix=ut.identityMatrix=gh;var Qd=function(Xe,jt){if(!yl[Xe]){var Rn=(jt instanceof kf?"Sh":"P")+(Object.keys(as).length+1).toString(10);jt.id=Rn,yl[Xe]=Rn,as[Rn]=jt,nu.publish("addPattern",jt)}};ut.ShadingPattern=kf,ut.TilingPattern=Mf,ut.addShadingPattern=function(Xe,jt){return Gn("addShadingPattern()"),Qd(Xe,jt),this},ut.beginTilingPattern=function(Xe){Gn("beginTilingPattern()"),kg(Xe.boundingBox[0],Xe.boundingBox[1],Xe.boundingBox[2]-Xe.boundingBox[0],Xe.boundingBox[3]-Xe.boundingBox[1],Xe.matrix)},ut.endTilingPattern=function(Xe,jt){Gn("endTilingPattern()"),jt.stream=wo[Kn].join(`
`),Qd(Xe,jt),nu.publish("endTilingPattern",jt),zf.pop().restore()};var Hd,AA=ut.__private__.newObject=function(){var Xe=tc();return sc(Xe,!0),Xe},tc=ut.__private__.newObjectDeferred=function(){return Rr++,si[Rr]=function(){return xi},Rr},sc=function(Xe,jt){return jt=typeof jt=="boolean"&&jt,si[Xe]=xi,jt&&Jn(Xe+" 0 obj"),Xe},Cp=ut.__private__.newAdditionalObject=function(){var Xe={objId:tc(),content:""};return Xi.push(Xe),Xe},Qh=tc(),ff=tc(),Kf=ut.__private__.decodeColorString=function(Xe){var jt=Xe.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 Rn=parseFloat(jt[0]);jt=[Rn,Rn,Rn,"r"]}for(var gr="#",$r=0;$r<3;$r++)gr+=("0"+Math.floor(255*parseFloat(jt[$r])).toString(16)).slice(-2);return gr},hf=ut.__private__.encodeColorString=function(Xe){var jt;typeof Xe=="string"&&(Xe={ch1:Xe});var Rn=Xe.ch1,gr=Xe.ch2,$r=Xe.ch3,Zi=Xe.ch4,ao=Xe.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof Rn=="string"&&Rn.charAt(0)!=="#"){var Sa=new qg(Rn);if(Sa.ok)Rn=Sa.toHex();else if(!/^\d*\.?\d*$/.test(Rn))throw new Error('Invalid color "'+Rn+'" passed to jsPDF.encodeColorString.')}if(typeof Rn=="string"&&/^#[0-9A-Fa-f]{3}$/.test(Rn)&&(Rn="#"+Rn[1]+Rn[1]+Rn[2]+Rn[2]+Rn[3]+Rn[3]),typeof Rn=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Rn)){var Ma=parseInt(Rn.substr(1),16);Rn=Ma>>16&255,gr=Ma>>8&255,$r=255&Ma}if(gr===void 0||Zi===void 0&&Rn===gr&&gr===$r)jt=typeof Rn=="string"?Rn+" "+ao[0]:Xe.precision===2?un(Rn/255)+" "+ao[0]:On(Rn/255)+" "+ao[0];else if(Zi===void 0||(0,x.Z)(Zi)==="object"){if(Zi&&!isNaN(Zi.a)&&Zi.a===0)return["1.","1.","1.",ao[1]].join(" ");jt=typeof Rn=="string"?[Rn,gr,$r,ao[1]].join(" "):Xe.precision===2?[un(Rn/255),un(gr/255),un($r/255),ao[1]].join(" "):[On(Rn/255),On(gr/255),On($r/255),ao[1]].join(" ")}else jt=typeof Rn=="string"?[Rn,gr,$r,Zi,ao[2]].join(" "):Xe.precision===2?[un(Rn),un(gr),un($r),un(Zi),ao[2]].join(" "):[On(Rn),On(gr),On($r),On(Zi),ao[2]].join(" ");return jt},pf=ut.__private__.getFilters=function(){return Ke},zd=ut.__private__.putStream=function(Xe){var jt=(Xe=Xe||{}).data||"",Rn=Xe.filters||pf(),gr=Xe.alreadyAppliedFilters||[],$r=Xe.addLength1||!1,Zi=jt.length,ao=Xe.objectId,Sa=function(QA){return QA};if(dt!==null&&ao===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");dt!==null&&(Sa=CA.encryptor(ao,0));var Ma={};Rn===!0&&(Rn=["FlateEncode"]);var ws=Xe.additionalKeyValues||[],Ls=(Ma=Da.API.processDataByFilters!==void 0?Da.API.processDataByFilters(jt,Rn):{data:jt,reverseChain:[]}).reverseChain+(Array.isArray(gr)?gr.join(" "):gr.toString());if(Ma.data.length!==0&&(ws.push({key:"Length",value:Ma.data.length}),$r===!0&&ws.push({key:"Length1",value:Zi})),Ls.length!=0)if(Ls.split("/").length-1==1)ws.push({key:"Filter",value:Ls});else{ws.push({key:"Filter",value:"["+Ls+"]"});for(var zl=0;zl<ws.length;zl+=1)if(ws[zl].key==="DecodeParms"){for(var qu=[],OA=0;OA<Ma.reverseChain.split("/").length-1;OA+=1)qu.push("null");qu.push(ws[zl].value),ws[zl].value="["+qu.join(" ")+"]"}}Jn("<<");for(var Fu=0;Fu<ws.length;Fu++)Jn("/"+ws[Fu].key+" "+ws[Fu].value);Jn(">>"),Ma.data.length!==0&&(Jn("stream"),Jn(Sa(Ma.data)),Jn("endstream"))},xp=ut.__private__.putPage=function(Xe){var jt=Xe.number,Rn=Xe.data,gr=Xe.objId,$r=Xe.contentsObjId;sc(gr,!0),Jn("<</Type /Page"),Jn("/Parent "+Xe.rootDictionaryObjId+" 0 R"),Jn("/Resources "+Xe.resourceDictionaryObjId+" 0 R"),Jn("/MediaBox ["+parseFloat(Nr(Xe.mediaBox.bottomLeftX))+" "+parseFloat(Nr(Xe.mediaBox.bottomLeftY))+" "+Nr(Xe.mediaBox.topRightX)+" "+Nr(Xe.mediaBox.topRightY)+"]"),Xe.cropBox!==null&&Jn("/CropBox ["+Nr(Xe.cropBox.bottomLeftX)+" "+Nr(Xe.cropBox.bottomLeftY)+" "+Nr(Xe.cropBox.topRightX)+" "+Nr(Xe.cropBox.topRightY)+"]"),Xe.bleedBox!==null&&Jn("/BleedBox ["+Nr(Xe.bleedBox.bottomLeftX)+" "+Nr(Xe.bleedBox.bottomLeftY)+" "+Nr(Xe.bleedBox.topRightX)+" "+Nr(Xe.bleedBox.topRightY)+"]"),Xe.trimBox!==null&&Jn("/TrimBox ["+Nr(Xe.trimBox.bottomLeftX)+" "+Nr(Xe.trimBox.bottomLeftY)+" "+Nr(Xe.trimBox.topRightX)+" "+Nr(Xe.trimBox.topRightY)+"]"),Xe.artBox!==null&&Jn("/ArtBox ["+Nr(Xe.artBox.bottomLeftX)+" "+Nr(Xe.artBox.bottomLeftY)+" "+Nr(Xe.artBox.topRightX)+" "+Nr(Xe.artBox.topRightY)+"]"),typeof Xe.userUnit=="number"&&Xe.userUnit!==1&&Jn("/UserUnit "+Xe.userUnit),nu.publish("putPage",{objId:gr,pageContext:xs[jt],pageNumber:jt,page:Rn}),Jn("/Contents "+$r+" 0 R"),Jn(">>"),Jn("endobj");var Zi=Rn.join(`
`);return Zn===lr&&(Zi+=`
Q`),sc($r,!0),zd({data:Zi,filters:pf(),objectId:$r}),Jn("endobj"),gr},Zf=ut.__private__.putPages=function(){var Xe,jt,Rn=[];for(Xe=1;Xe<=yu;Xe++)xs[Xe].objId=tc(),xs[Xe].contentsObjId=tc();for(Xe=1;Xe<=yu;Xe++)Rn.push(xp({number:Xe,data:wo[Xe],objId:xs[Xe].objId,contentsObjId:xs[Xe].contentsObjId,mediaBox:xs[Xe].mediaBox,cropBox:xs[Xe].cropBox,bleedBox:xs[Xe].bleedBox,trimBox:xs[Xe].trimBox,artBox:xs[Xe].artBox,userUnit:xs[Xe].userUnit,rootDictionaryObjId:Qh,resourceDictionaryObjId:ff}));sc(Qh,!0),Jn("<</Type /Pages");var gr="/Kids [";for(jt=0;jt<yu;jt++)gr+=Rn[jt]+" 0 R ";Jn(gr+"]"),Jn("/Count "+yu),Jn(">>"),Jn("endobj"),nu.publish("postPutPages")},Bp=function(Xe){nu.publish("putFont",{font:Xe,out:Jn,newObject:AA,putStream:zd}),Xe.isAlreadyPutted!==!0&&(Xe.objectNumber=AA(),Jn("<<"),Jn("/Type /Font"),Jn("/BaseFont /"+md(Xe.postScriptName)),Jn("/Subtype /Type1"),typeof Xe.encoding=="string"&&Jn("/Encoding /"+Xe.encoding),Jn("/FirstChar 32"),Jn("/LastChar 255"),Jn(">>"),Jn("endobj"))},ig=function(Xe){Xe.objectNumber=AA();var jt=[];jt.push({key:"Type",value:"/XObject"}),jt.push({key:"Subtype",value:"/Form"}),jt.push({key:"BBox",value:"["+[Nr(Xe.x),Nr(Xe.y),Nr(Xe.x+Xe.width),Nr(Xe.y+Xe.height)].join(" ")+"]"}),jt.push({key:"Matrix",value:"["+Xe.matrix.toString()+"]"});var Rn=Xe.pages[1].join(`
`);zd({data:Rn,additionalKeyValues:jt,objectId:Xe.objectNumber}),Jn("endobj")},og=function(Xe,jt){jt||(jt=21);var Rn=AA(),gr=function(ao,Sa){var Ma,ws=[],Ls=1/(Sa-1);for(Ma=0;Ma<1;Ma+=Ls)ws.push(Ma);if(ws.push(1),ao[0].offset!=0){var zl={offset:0,color:ao[0].color};ao.unshift(zl)}if(ao[ao.length-1].offset!=1){var qu={offset:1,color:ao[ao.length-1].color};ao.push(qu)}for(var OA="",Fu=0,QA=0;QA<ws.length;QA++){for(Ma=ws[QA];Ma>ao[Fu+1].offset;)Fu++;var PA=ao[Fu].offset,lc=(Ma-PA)/(ao[Fu+1].offset-PA),Zd=ao[Fu].color,qc=ao[Fu+1].color;OA+=Br(Math.round((1-lc)*Zd[0]+lc*qc[0]).toString(16))+Br(Math.round((1-lc)*Zd[1]+lc*qc[1]).toString(16))+Br(Math.round((1-lc)*Zd[2]+lc*qc[2]).toString(16))}return OA.trim()}(Xe.colors,jt),$r=[];$r.push({key:"FunctionType",value:"0"}),$r.push({key:"Domain",value:"[0.0 1.0]"}),$r.push({key:"Size",value:"["+jt+"]"}),$r.push({key:"BitsPerSample",value:"8"}),$r.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),$r.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),zd({data:gr,additionalKeyValues:$r,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Rn}),Jn("endobj"),Xe.objectNumber=AA(),Jn("<< /ShadingType "+Xe.type),Jn("/ColorSpace /DeviceRGB");var Zi="/Coords ["+Nr(parseFloat(Xe.coords[0]))+" "+Nr(parseFloat(Xe.coords[1]))+" ";Xe.type===2?Zi+=Nr(parseFloat(Xe.coords[2]))+" "+Nr(parseFloat(Xe.coords[3])):Zi+=Nr(parseFloat(Xe.coords[2]))+" "+Nr(parseFloat(Xe.coords[3]))+" "+Nr(parseFloat(Xe.coords[4]))+" "+Nr(parseFloat(Xe.coords[5])),Jn(Zi+="]"),Xe.matrix&&Jn("/Matrix ["+Xe.matrix.toString()+"]"),Jn("/Function "+Rn+" 0 R"),Jn("/Extend [true true]"),Jn(">>"),Jn("endobj")},ag=function(Xe,jt){var Rn=tc(),gr=AA();jt.push({resourcesOid:Rn,objectOid:gr}),Xe.objectNumber=gr;var $r=[];$r.push({key:"Type",value:"/Pattern"}),$r.push({key:"PatternType",value:"1"}),$r.push({key:"PaintType",value:"1"}),$r.push({key:"TilingType",value:"1"}),$r.push({key:"BBox",value:"["+Xe.boundingBox.map(Nr).join(" ")+"]"}),$r.push({key:"XStep",value:Nr(Xe.xStep)}),$r.push({key:"YStep",value:Nr(Xe.yStep)}),$r.push({key:"Resources",value:Rn+" 0 R"}),Xe.matrix&&$r.push({key:"Matrix",value:"["+Xe.matrix.toString()+"]"}),zd({data:Xe.stream,additionalKeyValues:$r,objectId:Xe.objectNumber}),Jn("endobj")},Gm=function(Xe){for(var jt in Xe.objectNumber=AA(),Jn("<<"),Xe)switch(jt){case"opacity":Jn("/ca "+un(Xe[jt]));break;case"stroke-opacity":Jn("/CA "+un(Xe[jt]))}Jn(">>"),Jn("endobj")},Eg=function(Xe){sc(Xe.resourcesOid,!0),Jn("<<"),Jn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var jt in Jn("/Font <<"),ja)ja.hasOwnProperty(jt)&&(Pt===!1||Pt===!0&&Jt.hasOwnProperty(jt))&&Jn("/"+jt+" "+ja[jt].objectNumber+" 0 R");Jn(">>")}(),function(){if(Object.keys(as).length>0){for(var jt in Jn("/Shading <<"),as)as.hasOwnProperty(jt)&&as[jt]instanceof kf&&as[jt].objectNumber>=0&&Jn("/"+jt+" "+as[jt].objectNumber+" 0 R");nu.publish("putShadingPatternDict"),Jn(">>")}}(),function(jt){if(Object.keys(as).length>0){for(var Rn in Jn("/Pattern <<"),as)as.hasOwnProperty(Rn)&&as[Rn]instanceof ut.TilingPattern&&as[Rn].objectNumber>=0&&as[Rn].objectNumber<jt&&Jn("/"+Rn+" "+as[Rn].objectNumber+" 0 R");nu.publish("putTilingPatternDict"),Jn(">>")}}(Xe.objectOid),function(){if(Object.keys(Ms).length>0){var jt;for(jt in Jn("/ExtGState <<"),Ms)Ms.hasOwnProperty(jt)&&Ms[jt].objectNumber>=0&&Jn("/"+jt+" "+Ms[jt].objectNumber+" 0 R");nu.publish("putGStateDict"),Jn(">>")}}(),function(){for(var jt in Jn("/XObject <<"),Lc)Lc.hasOwnProperty(jt)&&Lc[jt].objectNumber>=0&&Jn("/"+jt+" "+Lc[jt].objectNumber+" 0 R");nu.publish("putXobjectDict"),Jn(">>")}(),Jn(">>"),Jn("endobj")},om=function(Xe){ks[Xe.fontName]=ks[Xe.fontName]||{},ks[Xe.fontName][Xe.fontStyle]=Xe.id},am=function(Xe,jt,Rn,gr,$r){var Zi={id:"F"+(Object.keys(ja).length+1).toString(10),postScriptName:Xe,fontName:jt,fontStyle:Rn,encoding:gr,isStandardFont:$r||!1,metadata:{}};return nu.publish("addFont",{font:Zi,instance:this}),ja[Zi.id]=Zi,om(Zi),Zi.id},Kd=ut.__private__.pdfEscape=ut.pdfEscape=function(Xe,jt){return function(Rn,gr){var $r,Zi,ao,Sa,Ma,ws,Ls,zl,qu;if(ao=(gr=gr||{}).sourceEncoding||"Unicode",Ma=gr.outputEncoding,(gr.autoencode||Ma)&&ja[Ga].metadata&&ja[Ga].metadata[ao]&&ja[Ga].metadata[ao].encoding&&(Sa=ja[Ga].metadata[ao].encoding,!Ma&&ja[Ga].encoding&&(Ma=ja[Ga].encoding),!Ma&&Sa.codePages&&(Ma=Sa.codePages[0]),typeof Ma=="string"&&(Ma=Sa[Ma]),Ma)){for(Ls=!1,ws=[],$r=0,Zi=Rn.length;$r<Zi;$r++)(zl=Ma[Rn.charCodeAt($r)])?ws.push(String.fromCharCode(zl)):ws.push(Rn[$r]),ws[$r].charCodeAt(0)>>8&&(Ls=!0);Rn=ws.join("")}for($r=Rn.length;Ls===void 0&&$r!==0;)Rn.charCodeAt($r-1)>>8&&(Ls=!0),$r--;if(!Ls)return Rn;for(ws=gr.noBOM?[]:[254,255],$r=0,Zi=Rn.length;$r<Zi;$r++){if((qu=(zl=Rn.charCodeAt($r))>>8)>>8)throw new Error("Character at position "+$r+" of string '"+Rn+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");ws.push(qu),ws.push(zl-(qu<<8))}return String.fromCharCode.apply(void 0,ws)}(Xe,jt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Sg=ut.__private__.beginPage=function(Xe){wo[++yu]=[],xs[yu]={objId:0,contentsObjId:0,userUnit:Number(Pe),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(Xe[0]),topRightY:Number(Xe[1])}},lm(yu),Mi(wo[Kn])},sm=function(Xe,jt){var Rn,gr,$r;switch(E=jt||E,typeof Xe=="string"&&(Rn=cn(Xe.toLowerCase()),Array.isArray(Rn)&&(gr=Rn[0],$r=Rn[1])),Array.isArray(Xe)&&(gr=Xe[0]*fs,$r=Xe[1]*fs),isNaN(gr)&&(gr=Ae[0],$r=Ae[1]),(gr>14400||$r>14400)&&(cl.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),gr=Math.min(14400,gr),$r=Math.min(14400,$r)),Ae=[gr,$r],E.substr(0,1)){case"l":$r>gr&&(Ae=[$r,gr]);break;case"p":gr>$r&&(Ae=[$r,gr])}Sg(Ae),r0(Ng),Jn(lg),Pg!==0&&Jn(Pg+" J"),_g!==0&&Jn(_g+" j"),nu.publish("addPage",{pageNumber:yu})},Fg=function(Xe){Xe>0&&Xe<=yu&&(wo.splice(Xe,1),xs.splice(Xe,1),yu--,Kn>yu&&(Kn=yu),this.setPage(Kn))},lm=function(Xe){Xe>0&&Xe<=yu&&(Kn=Xe)},um=ut.__private__.getNumberOfPages=ut.getNumberOfPages=function(){return wo.length-1},Am=function(Xe,jt,Rn){var gr,$r=void 0;return Rn=Rn||{},Xe=Xe!==void 0?Xe:ja[Ga].fontName,jt=jt!==void 0?jt:ja[Ga].fontStyle,gr=Xe.toLowerCase(),ks[gr]!==void 0&&ks[gr][jt]!==void 0?$r=ks[gr][jt]:ks[Xe]!==void 0&&ks[Xe][jt]!==void 0?$r=ks[Xe][jt]:Rn.disableWarning===!1&&cl.warn("Unable to look up font label for font '"+Xe+"', '"+jt+"'. Refer to getFontList() for available fonts."),$r||Rn.noFallback||($r=ks.times[jt])==null&&($r=ks.times.normal),$r},sg=ut.__private__.putInfo=function(){var Xe=AA(),jt=function(gr){return gr};for(var Rn in dt!==null&&(jt=CA.encryptor(Xe,0)),Jn("<<"),Jn("/Producer ("+Kd(jt("jsPDF "+Da.version))+")"),Hs)Hs.hasOwnProperty(Rn)&&Hs[Rn]&&Jn("/"+Rn.substr(0,1).toUpperCase()+Rn.substr(1)+" ("+Kd(jt(Hs[Rn]))+")");Jn("/CreationDate ("+Kd(jt(hi))+")"),Jn(">>"),Jn("endobj")},Vm=ut.__private__.putCatalog=function(Xe){var jt=(Xe=Xe||{}).rootDictionaryObjId||Qh;switch(AA(),Jn("<<"),Jn("/Type /Catalog"),Jn("/Pages "+jt+" 0 R"),Za||(Za="fullwidth"),Za){case"fullwidth":Jn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Jn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Jn("/OpenAction [3 0 R /Fit]");break;case"original":Jn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Rn=""+Za;Rn.substr(Rn.length-1)==="%"&&(Za=parseInt(Za)/100),typeof Za=="number"&&Jn("/OpenAction [3 0 R /XYZ null null "+un(Za)+"]")}switch(_s||(_s="continuous"),_s){case"continuous":Jn("/PageLayout /OneColumn");break;case"single":Jn("/PageLayout /SinglePage");break;case"two":case"twoleft":Jn("/PageLayout /TwoColumnLeft");break;case"tworight":Jn("/PageLayout /TwoColumnRight")}Ya&&Jn("/PageMode /"+Ya),nu.publish("putCatalog"),Jn(">>"),Jn("endobj")},NA=ut.__private__.putTrailer=function(){Jn("trailer"),Jn("<<"),Jn("/Size "+(Rr+1)),Jn("/Root "+Rr+" 0 R"),Jn("/Info "+(Rr-1)+" 0 R"),dt!==null&&Jn("/Encrypt "+CA.oid+" 0 R"),Jn("/ID [ <"+Fi+"> <"+Fi+"> ]"),Jn(">>")},cm=ut.__private__.putHeader=function(){Jn("%PDF-"+In),Jn("%\xBA\xDF\xAC\xE0")},dm=ut.__private__.putXRef=function(){var Xe="0000000000";Jn("xref"),Jn("0 "+(Rr+1)),Jn("0000000000 65535 f ");for(var jt=1;jt<=Rr;jt++)typeof si[jt]=="function"?Jn((Xe+si[jt]()).slice(-10)+" 00000 n "):si[jt]!==void 0?Jn((Xe+si[jt]).slice(-10)+" 00000 n "):Jn("0000000000 00000 n ")},mh=ut.__private__.buildDocument=function(){var Xe;Rr=0,xi=0,Di=[],si=[],Xi=[],Qh=tc(),ff=tc(),Mi(Di),nu.publish("buildDocument"),cm(),Zf(),function(){nu.publish("putAdditionalObjects");for(var Rn=0;Rn<Xi.length;Rn++){var gr=Xi[Rn];sc(gr.objId,!0),Jn(gr.content),Jn("endobj")}nu.publish("postPutAdditionalObjects")}(),Xe=[],function(){for(var Rn in ja)ja.hasOwnProperty(Rn)&&(Pt===!1||Pt===!0&&Jt.hasOwnProperty(Rn))&&Bp(ja[Rn])}(),function(){var Rn;for(Rn in Ms)Ms.hasOwnProperty(Rn)&&Gm(Ms[Rn])}(),function(){for(var Rn in Lc)Lc.hasOwnProperty(Rn)&&ig(Lc[Rn])}(),function(Rn){var gr;for(gr in as)as.hasOwnProperty(gr)&&(as[gr]instanceof kf?og(as[gr]):as[gr]instanceof Mf&&ag(as[gr],Rn))}(Xe),nu.publish("putResources"),Xe.forEach(Eg),Eg({resourcesOid:ff,objectOid:Number.MAX_SAFE_INTEGER}),nu.publish("postPutResources"),dt!==null&&(CA.oid=AA(),Jn("<<"),Jn("/Filter /Standard"),Jn("/V "+CA.v),Jn("/R "+CA.r),Jn("/U <"+CA.toHexString(CA.U)+">"),Jn("/O <"+CA.toHexString(CA.O)+">"),Jn("/P "+CA.P),Jn(">>"),Jn("endobj")),sg(),Vm();var jt=xi;return dm(),NA(),Jn("startxref"),Jn(""+jt),Jn("%%EOF"),Mi(wo[Kn]),Di.join(`
`)},Ep=ut.__private__.getBlob=function(Xe){return new Blob([js(Xe)],{type:"application/pdf"})},gf=ut.output=ut.__private__.output=(Hd=function(Xe,jt){switch(typeof(jt=jt||{})=="string"?jt={filename:jt}:jt.filename=jt.filename||"generated.pdf",Xe){case void 0:return mh();case"save":ut.save(jt.filename);break;case"arraybuffer":return js(mh());case"blob":return Ep(mh());case"bloburi":case"bloburl":if(ka.URL!==void 0&&typeof ka.URL.createObjectURL=="function")return ka.URL&&ka.URL.createObjectURL(Ep(mh()))||void 0;cl.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Rn="",gr=mh();try{Rn=bg(gr)}catch(OA){Rn=bg(unescape(encodeURIComponent(gr)))}return"data:application/pdf;filename="+jt.filename+";base64,"+Rn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(ka)==="[object Window]"){var $r="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Zi=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';jt.pdfObjectUrl&&($r=jt.pdfObjectUrl,Zi="");var ao='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+$r+'"'+Zi+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(jt)+");<\/script></body></html>",Sa=ka.open();return Sa!==null&&Sa.document.write(ao),Sa}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(ka)==="[object Window]"){var Ma='<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>',ws=ka.open();if(ws!==null){ws.document.write(Ma);var Ls=this;ws.document.documentElement.querySelector("#pdfViewer").onload=function(){ws.document.title=jt.filename,ws.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(Ls.output("bloburl"))}}return ws}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(ka)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var zl='<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>',qu=ka.open();if(qu!==null&&(qu.document.write(zl),qu.document.title=jt.filename),qu||typeof safari=="undefined")return qu;break;case"datauri":case"dataurl":return ka.document.location.href=this.output("datauristring",jt);default:return null}},Hd.foo=function(){try{return Hd.apply(this,arguments)}catch(Rn){var Xe=Rn.stack||"";~Xe.indexOf(" at ")&&(Xe=Xe.split(" at ")[1]);var jt="Error in function "+Xe.split(`
`)[0].split("<")[0]+": "+Rn.message;if(!ka.console)throw new Error(jt);ka.console.error(jt,Rn),ka.alert&&alert(jt)}},Hd.foo.bar=Hd,Hd.foo),Sp=function(Xe){return Array.isArray(bp)===!0&&bp.indexOf(Xe)>-1};switch(re){case"pt":fs=1;break;case"mm":fs=72/25.4;break;case"cm":fs=72/2.54;break;case"in":fs=72;break;case"px":fs=Sp("px_scaling")==1?.75:96/72;break;case"pc":case"em":fs=12;break;case"ex":fs=6;break;default:if(typeof re!="number")throw new Error("Invalid unit: "+re);fs=re}var CA=null;io(),ai();var Ig=ut.__private__.getPageInfo=ut.getPageInfo=function(Xe){if(isNaN(Xe)||Xe%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:xs[Xe].objId,pageNumber:Xe,pageContext:xs[Xe]}},Xm=ut.__private__.getPageInfoByObjId=function(Xe){if(isNaN(Xe)||Xe%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var jt in xs)if(xs[jt].objId===Xe)break;return Ig(jt)},Ym=ut.__private__.getCurrentPageInfo=ut.getCurrentPageInfo=function(){return{objId:xs[Kn].objId,pageNumber:Kn,pageContext:xs[Kn]}};ut.addPage=function(){return sm.apply(this,arguments),this},ut.setPage=function(){return lm.apply(this,arguments),Mi.call(this,wo[Kn]),this},ut.insertPage=function(Xe){return this.addPage(),this.movePage(Kn,Xe),this},ut.movePage=function(Xe,jt){var Rn,gr;if(Xe>jt){Rn=wo[Xe],gr=xs[Xe];for(var $r=Xe;$r>jt;$r--)wo[$r]=wo[$r-1],xs[$r]=xs[$r-1];wo[jt]=Rn,xs[jt]=gr,this.setPage(jt)}else if(Xe<jt){Rn=wo[Xe],gr=xs[Xe];for(var Zi=Xe;Zi<jt;Zi++)wo[Zi]=wo[Zi+1],xs[Zi]=xs[Zi+1];wo[jt]=Rn,xs[jt]=gr,this.setPage(jt)}return this},ut.deletePage=function(){return Fg.apply(this,arguments),this},ut.__private__.text=ut.text=function(Xe,jt,Rn,gr,$r){var Zi,ao,Sa,Ma,ws,Ls,zl,qu,OA,Fu=(gr=gr||{}).scope||this;if(typeof Xe=="number"&&typeof jt=="number"&&(typeof Rn=="string"||Array.isArray(Rn))){var QA=Rn;Rn=jt,jt=Xe,Xe=QA}if(arguments[3]instanceof ss==0?(Sa=arguments[4],Ma=arguments[5],(0,x.Z)(zl=arguments[3])==="object"&&zl!==null||(typeof Sa=="string"&&(Ma=Sa,Sa=null),typeof zl=="string"&&(Ma=zl,zl=null),typeof zl=="number"&&(Sa=zl,zl=null),gr={flags:zl,angle:Sa,align:Ma})):(Gn("The transform parameter of text() with a Matrix value"),OA=$r),isNaN(jt)||isNaN(Rn)||Xe==null)throw new Error("Invalid arguments passed to jsPDF.text");if(Xe.length===0)return Fu;var PA,lc="",Zd=typeof gr.lineHeightFactor=="number"?gr.lineHeightFactor:Ip,qc=Fu.internal.scaleFactor;function wm(ru){return ru=ru.split(" ").join(Array(gr.TabLen||9).join(" ")),Kd(ru,zl)}function dg(ru){for(var wu,BA=ru.concat(),HA=[],Bh=BA.length;Bh--;)typeof(wu=BA.shift())=="string"?HA.push(wu):Array.isArray(ru)&&(wu.length===1||wu[1]===void 0&&wu[2]===void 0)?HA.push(wu[0]):HA.push([wu[0],wu[1],wu[2]]);return HA}function _p(ru,wu){var BA;if(typeof ru=="string")BA=wu(ru)[0];else if(Array.isArray(ru)){for(var HA,Bh,Wg=ru.concat(),pg=[],xm=Wg.length;xm--;)typeof(HA=Wg.shift())=="string"?pg.push(wu(HA)[0]):Array.isArray(HA)&&typeof HA[0]=="string"&&(Bh=wu(HA[0],HA[1],HA[2]),pg.push([Bh[0],Bh[1],Bh[2]]));BA=pg}return BA}var Kh=!1,Tp=!0;if(typeof Xe=="string")Kh=!0;else if(Array.isArray(Xe)){var kp=Xe.concat();ao=[];for(var Mp,Dc=kp.length;Dc--;)(typeof(Mp=kp.shift())!="string"||Array.isArray(Mp)&&typeof Mp[0]!="string")&&(Tp=!1);Kh=Tp}if(Kh===!1)throw new Error('Type of text must be string or Array. "'+Xe+'" is not recognized.');typeof Xe=="string"&&(Xe=Xe.match(/[\r?\n]/)?Xe.split(/\r\n|\r|\n/g):[Xe]);var Up=Fo/Fu.internal.scaleFactor,Rp=Up*(Zd-1);switch(gr.baseline){case"bottom":Rn-=Rp;break;case"top":Rn+=Up-Rp;break;case"hanging":Rn+=Up-2*Rp;break;case"middle":Rn+=Up/2-Rp}if((Ls=gr.maxWidth||0)>0&&(typeof Xe=="string"?Xe=Fu.splitTextToSize(Xe,Ls):Object.prototype.toString.call(Xe)==="[object Array]"&&(Xe=Xe.reduce(function(ru,wu){return ru.concat(Fu.splitTextToSize(wu,Ls))},[]))),Zi={text:Xe,x:jt,y:Rn,options:gr,mutex:{pdfEscape:Kd,activeFontKey:Ga,fonts:ja,activeFontSize:Fo}},nu.publish("preProcessText",Zi),Xe=Zi.text,Sa=(gr=Zi.options).angle,OA instanceof ss==0&&Sa&&typeof Sa=="number"){Sa*=Math.PI/180,gr.rotationDirection===0&&(Sa=-Sa),Zn===lr&&(Sa=-Sa);var Mg=Math.cos(Sa),Ug=Math.sin(Sa);OA=new ss(Mg,Ug,-Ug,Mg,0,0)}else Sa&&Sa instanceof ss&&(OA=Sa);Zn!==lr||OA||(OA=gh),(ws=gr.charSpace||Ag)!==void 0&&(lc+=Nr(mr(ws))+` Tc
`,this.setCharSpace(this.getCharSpace()||0)),(qu=gr.horizontalScale)!==void 0&&(lc+=Nr(100*qu)+` Tz
`),gr.lang;var cA=-1,Ch=gr.renderingMode!==void 0?gr.renderingMode:gr.stroke,fg=Fu.internal.getCurrentPageInfo().pageContext;switch(Ch){case 0:case!1:case"fill":cA=0;break;case 1:case!0:case"stroke":cA=1;break;case 2:case"fillThenStroke":cA=2;break;case 3:case"invisible":cA=3;break;case 4:case"fillAndAddForClipping":cA=4;break;case 5:case"strokeAndAddPathForClipping":cA=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":cA=6;break;case 7:case"addToPathForClipping":cA=7}var bm=fg.usedRenderingMode!==void 0?fg.usedRenderingMode:-1;cA!==-1?lc+=cA+` Tr
`:bm!==-1&&(lc+=`0 Tr
`),cA!==-1&&(fg.usedRenderingMode=cA),Ma=gr.align||"left";var Wd,jp=Fo*Zd,Rg=Fu.internal.pageSize.getWidth(),jg=ja[Ga];ws=gr.charSpace||Ag,Ls=gr.maxWidth||0,zl=Object.assign({autoencode:!0,noBOM:!0},gr.flags);var Zh=[],Qp=function(ru){return Fu.getStringUnitWidth(ru,{font:jg,charSpace:ws,fontSize:Fo,doKerning:!1})*Fo/qc};if(Object.prototype.toString.call(Xe)==="[object Array]"){var vd;ao=dg(Xe),Ma!=="left"&&(Wd=ao.map(Qp));var yd,Wh=0;if(Ma==="right"){jt-=Wd[0],Xe=[],Dc=ao.length;for(var xh=0;xh<Dc;xh++)xh===0?(yd=vh(jt),vd=yh(Rn)):(yd=mr(Wh-Wd[xh]),vd=-jp),Xe.push([ao[xh],yd,vd]),Wh=Wd[xh]}else if(Ma==="center"){jt-=Wd[0]/2,Xe=[],Dc=ao.length;for(var $h=0;$h<Dc;$h++)$h===0?(yd=vh(jt),vd=yh(Rn)):(yd=mr((Wh-Wd[$h])/2),vd=-jp),Xe.push([ao[$h],yd,vd]),Wh=Wd[$h]}else if(Ma==="left"){Xe=[],Dc=ao.length;for(var Qg=0;Qg<Dc;Qg++)Xe.push(ao[Qg])}else if(Ma==="justify"&&jg.encoding==="Identity-H"){Xe=[],Dc=ao.length,Ls=Ls!==0?Ls:Rg;for(var hg=0,xA=0;xA<Dc;xA++)if(vd=xA===0?yh(Rn):-jp,yd=xA===0?vh(jt):hg,xA<Dc-1){var Cm=mr((Ls-Wd[xA])/(ao[xA].split(" ").length-1)),$f=ao[xA].split(" ");Xe.push([$f[0]+" ",yd,vd]),hg=0;for(var Gf=1;Gf<$f.length;Gf++){var Hg=(Qp($f[Gf-1]+" "+$f[Gf])-Qp($f[Gf]))*qc+Cm;Gf==$f.length-1?Xe.push([$f[Gf],Hg,0]):Xe.push([$f[Gf]+" ",Hg,0]),hg-=Hg}}else Xe.push([ao[xA],yd,vd]);Xe.push(["",hg,0])}else{if(Ma!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(Xe=[],Dc=ao.length,Ls=Ls!==0?Ls:Rg,xA=0;xA<Dc;xA++){vd=xA===0?yh(Rn):-jp,yd=xA===0?vh(jt):0;var zg=ao[xA].split(" ").length-1,Kg=zg>0?(Ls-Wd[xA])/zg:0;xA<Dc-1?Zh.push(Nr(mr(Kg))):Zh.push(0),Xe.push([ao[xA],yd,vd])}}}(typeof gr.R2L=="boolean"?gr.R2L:Qs)===!0&&(Xe=_p(Xe,function(ru,wu,BA){return[ru.split("").reverse().join(""),wu,BA]})),Zi={text:Xe,x:jt,y:Rn,options:gr,mutex:{pdfEscape:Kd,activeFontKey:Ga,fonts:ja,activeFontSize:Fo}},nu.publish("postProcessText",Zi),Xe=Zi.text,PA=Zi.mutex.isHex||!1;var Zg=ja[Ga].encoding;Zg!=="WinAnsiEncoding"&&Zg!=="StandardEncoding"||(Xe=_p(Xe,function(ru,wu,BA){return[wm(ru),wu,BA]})),ao=dg(Xe),Xe=[];for(var Gh,Vh,Xh,Hp=Array.isArray(ao[0])?1:0,Yh="",zp=function(ru,wu,BA){var HA="";return BA instanceof ss?(BA=typeof gr.angle=="number"?ph(BA,new ss(1,0,0,1,ru,wu)):ph(new ss(1,0,0,1,ru,wu),BA),Zn===lr&&(BA=ph(new ss(1,0,0,-1,0,0),BA)),HA=BA.join(" ")+` Tm
`):HA=Nr(ru)+" "+Nr(wu)+` Td
`,HA},$d=0;$d<ao.length;$d++){switch(Yh="",Hp){case 1:Xh=(PA?"<":"(")+ao[$d][0]+(PA?">":")"),Gh=parseFloat(ao[$d][1]),Vh=parseFloat(ao[$d][2]);break;case 0:Xh=(PA?"<":"(")+ao[$d]+(PA?">":")"),Gh=vh(jt),Vh=yh(Rn)}Zh!==void 0&&Zh[$d]!==void 0&&(Yh=Zh[$d]+` Tw
`),$d===0?Xe.push(Yh+zp(Gh,Vh,OA)+Xh):Hp===0?Xe.push(Yh+Xh):Hp===1&&Xe.push(Yh+zp(Gh,Vh,OA)+Xh)}Xe=Hp===0?Xe.join(` Tj
T* `):Xe.join(` Tj
`),Xe+=` Tj
`;var Vf=`BT
/`;return Vf+=Ga+" "+Fo+` Tf
`,Vf+=Nr(Fo*Zd)+` TL
`,Vf+=Lp+`
`,Vf+=lc,Vf+=Xe,Jn(Vf+="ET"),Jt[Ga]=!0,Fu};var Jm=ut.__private__.clip=ut.clip=function(Xe){return Jn(Xe==="evenodd"?"W*":"W"),this};ut.clipEvenOdd=function(){return Jm("evenodd")},ut.__private__.discardPath=ut.discardPath=function(){return Jn("n"),this};var Wf=ut.__private__.isValidStyle=function(Xe){var jt=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(Xe)!==-1&&(jt=!0),jt};ut.__private__.setDefaultPathOperation=ut.setDefaultPathOperation=function(Xe){return Wf(Xe)&&(Ye=Xe),this};var fm=ut.__private__.getStyle=ut.getStyle=function(Xe){var jt=Ye;switch(Xe){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=Xe}return jt},hm=ut.close=function(){return Jn("h"),this};ut.stroke=function(){return Jn("S"),this},ut.fill=function(Xe){return Hh("f",Xe),this},ut.fillEvenOdd=function(Xe){return Hh("f*",Xe),this},ut.fillStroke=function(Xe){return Hh("B",Xe),this},ut.fillStrokeEvenOdd=function(Xe){return Hh("B*",Xe),this};var Hh=function(Xe,jt){(0,x.Z)(jt)==="object"?e0(jt,Xe):Jn(Xe)},Lg=function(Xe){Xe===null||Zn===lr&&Xe===void 0||(Xe=fm(Xe),Jn(Xe))};function qm(Xe,jt,Rn,gr,$r){var Zi=new Mf(jt||this.boundingBox,Rn||this.xStep,gr||this.yStep,this.gState,$r||this.matrix);Zi.stream=this.stream;var ao=Xe+"$$"+this.cloneIndex+++"$$";return Qd(ao,Zi),Zi}var e0=function(Xe,jt){var Rn=yl[Xe.key],gr=as[Rn];if(gr instanceof kf)Jn("q"),Jn(t0(jt)),gr.gState&&ut.setGState(gr.gState),Jn(Xe.matrix.toString()+" cm"),Jn("/"+Rn+" sh"),Jn("Q");else if(gr instanceof Mf){var $r=new ss(1,0,0,-1,0,Pp());Xe.matrix&&($r=$r.multiply(Xe.matrix||gh),Rn=qm.call(gr,Xe.key,Xe.boundingBox,Xe.xStep,Xe.yStep,$r).id),Jn("q"),Jn("/Pattern cs"),Jn("/"+Rn+" scn"),gr.gState&&ut.setGState(gr.gState),Jn(jt),Jn("Q")}},t0=function(Xe){switch(Xe){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"}},Dg=ut.moveTo=function(Xe,jt){return Jn(Nr(mr(Xe))+" "+Nr(dr(jt))+" m"),this},Fp=ut.lineTo=function(Xe,jt){return Jn(Nr(mr(Xe))+" "+Nr(dr(jt))+" l"),this},zh=ut.curveTo=function(Xe,jt,Rn,gr,$r,Zi){return Jn([Nr(mr(Xe)),Nr(dr(jt)),Nr(mr(Rn)),Nr(dr(gr)),Nr(mr($r)),Nr(dr(Zi)),"c"].join(" ")),this};ut.__private__.line=ut.line=function(Xe,jt,Rn,gr,$r){if(isNaN(Xe)||isNaN(jt)||isNaN(Rn)||isNaN(gr)||!Wf($r))throw new Error("Invalid arguments passed to jsPDF.line");return Zn===wr?this.lines([[Rn-Xe,gr-jt]],Xe,jt,[1,1],$r||"S"):this.lines([[Rn-Xe,gr-jt]],Xe,jt,[1,1]).stroke()},ut.__private__.lines=ut.lines=function(Xe,jt,Rn,gr,$r,Zi){var ao,Sa,Ma,ws,Ls,zl,qu,OA,Fu,QA,PA,lc;if(typeof Xe=="number"&&(lc=Rn,Rn=jt,jt=Xe,Xe=lc),gr=gr||[1,1],Zi=Zi||!1,isNaN(jt)||isNaN(Rn)||!Array.isArray(Xe)||!Array.isArray(gr)||!Wf($r)||typeof Zi!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Dg(jt,Rn),ao=gr[0],Sa=gr[1],ws=Xe.length,QA=jt,PA=Rn,Ma=0;Ma<ws;Ma++)(Ls=Xe[Ma]).length===2?(QA=Ls[0]*ao+QA,PA=Ls[1]*Sa+PA,Fp(QA,PA)):(zl=Ls[0]*ao+QA,qu=Ls[1]*Sa+PA,OA=Ls[2]*ao+QA,Fu=Ls[3]*Sa+PA,QA=Ls[4]*ao+QA,PA=Ls[5]*Sa+PA,zh(zl,qu,OA,Fu,QA,PA));return Zi&&hm(),Lg($r),this},ut.path=function(Xe){for(var jt=0;jt<Xe.length;jt++){var Rn=Xe[jt],gr=Rn.c;switch(Rn.op){case"m":Dg(gr[0],gr[1]);break;case"l":Fp(gr[0],gr[1]);break;case"c":zh.apply(this,gr);break;case"h":hm()}}return this},ut.__private__.rect=ut.rect=function(Xe,jt,Rn,gr,$r){if(isNaN(Xe)||isNaN(jt)||isNaN(Rn)||isNaN(gr)||!Wf($r))throw new Error("Invalid arguments passed to jsPDF.rect");return Zn===wr&&(gr=-gr),Jn([Nr(mr(Xe)),Nr(dr(jt)),Nr(mr(Rn)),Nr(mr(gr)),"re"].join(" ")),Lg($r),this},ut.__private__.triangle=ut.triangle=function(Xe,jt,Rn,gr,$r,Zi,ao){if(isNaN(Xe)||isNaN(jt)||isNaN(Rn)||isNaN(gr)||isNaN($r)||isNaN(Zi)||!Wf(ao))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[Rn-Xe,gr-jt],[$r-Rn,Zi-gr],[Xe-$r,jt-Zi]],Xe,jt,[1,1],ao,!0),this},ut.__private__.roundedRect=ut.roundedRect=function(Xe,jt,Rn,gr,$r,Zi,ao){if(isNaN(Xe)||isNaN(jt)||isNaN(Rn)||isNaN(gr)||isNaN($r)||isNaN(Zi)||!Wf(ao))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Sa=4/3*(Math.SQRT2-1);return $r=Math.min($r,.5*Rn),Zi=Math.min(Zi,.5*gr),this.lines([[Rn-2*$r,0],[$r*Sa,0,$r,Zi-Zi*Sa,$r,Zi],[0,gr-2*Zi],[0,Zi*Sa,-$r*Sa,Zi,-$r,Zi],[2*$r-Rn,0],[-$r*Sa,0,-$r,-Zi*Sa,-$r,-Zi],[0,2*Zi-gr],[0,-Zi*Sa,$r*Sa,-Zi,$r,-Zi]],Xe+$r,jt,[1,1],ao,!0),this},ut.__private__.ellipse=ut.ellipse=function(Xe,jt,Rn,gr,$r){if(isNaN(Xe)||isNaN(jt)||isNaN(Rn)||isNaN(gr)||!Wf($r))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Zi=4/3*(Math.SQRT2-1)*Rn,ao=4/3*(Math.SQRT2-1)*gr;return Dg(Xe+Rn,jt),zh(Xe+Rn,jt-ao,Xe+Zi,jt-gr,Xe,jt-gr),zh(Xe-Zi,jt-gr,Xe-Rn,jt-ao,Xe-Rn,jt),zh(Xe-Rn,jt+ao,Xe-Zi,jt+gr,Xe,jt+gr),zh(Xe+Zi,jt+gr,Xe+Rn,jt+ao,Xe+Rn,jt),Lg($r),this},ut.__private__.circle=ut.circle=function(Xe,jt,Rn,gr){if(isNaN(Xe)||isNaN(jt)||isNaN(Rn)||!Wf(gr))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(Xe,jt,Rn,Rn,gr)},ut.setFont=function(Xe,jt,Rn){return Rn&&(jt=Ii(jt,Rn)),Ga=Am(Xe,jt,{disableWarning:!1}),this};var n0=ut.__private__.getFont=ut.getFont=function(){return ja[Am.apply(ut,arguments)]};ut.__private__.getFontList=ut.getFontList=function(){var Xe,jt,Rn={};for(Xe in ks)if(ks.hasOwnProperty(Xe))for(jt in Rn[Xe]=[],ks[Xe])ks[Xe].hasOwnProperty(jt)&&Rn[Xe].push(jt);return Rn},ut.addFont=function(Xe,jt,Rn,gr,$r){var Zi=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&Zi.indexOf(arguments[3])!==-1?$r=arguments[3]:arguments[3]&&Zi.indexOf(arguments[3])==-1&&(Rn=Ii(Rn,gr)),am.call(this,Xe,jt,Rn,$r=$r||"Identity-H")};var Ip,Ng=y.lineWidth||.200025,Bs=ut.__private__.getLineWidth=ut.getLineWidth=function(){return Ng},r0=ut.__private__.setLineWidth=ut.setLineWidth=function(Xe){return Ng=Xe,Jn(Nr(mr(Xe))+" w"),this};ut.__private__.setLineDash=Da.API.setLineDash=Da.API.setLineDashPattern=function(Xe,jt){if(Xe=Xe||[],jt=jt||0,isNaN(jt)||!Array.isArray(Xe))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return Xe=Xe.map(function(Rn){return Nr(mr(Rn))}).join(" "),jt=Nr(mr(jt)),Jn("["+Xe+"] "+jt+" d"),this};var i0=ut.__private__.getLineHeight=ut.getLineHeight=function(){return Fo*Ip};ut.__private__.getLineHeight=ut.getLineHeight=function(){return Fo*Ip};var o0=ut.__private__.setLineHeightFactor=ut.setLineHeightFactor=function(Xe){return typeof(Xe=Xe||1.15)=="number"&&(Ip=Xe),this},a0=ut.__private__.getLineHeightFactor=ut.getLineHeightFactor=function(){return Ip};o0(y.lineHeight);var vh=ut.__private__.getHorizontalCoordinate=function(Xe){return mr(Xe)},yh=ut.__private__.getVerticalCoordinate=function(Xe){return Zn===lr?Xe:xs[Kn].mediaBox.topRightY-xs[Kn].mediaBox.bottomLeftY-mr(Xe)},s0=ut.__private__.getHorizontalCoordinateString=ut.getHorizontalCoordinateString=function(Xe){return Nr(vh(Xe))},l0=ut.__private__.getVerticalCoordinateString=ut.getVerticalCoordinateString=function(Xe){return Nr(yh(Xe))},lg=y.strokeColor||"0 G";ut.__private__.getStrokeColor=ut.getDrawColor=function(){return Kf(lg)},ut.__private__.setStrokeColor=ut.setDrawColor=function(Xe,jt,Rn,gr){return lg=hf({ch1:Xe,ch2:jt,ch3:Rn,ch4:gr,pdfColorType:"draw",precision:2}),Jn(lg),this};var Og=y.fillColor||"0 g";ut.__private__.getFillColor=ut.getFillColor=function(){return Kf(Og)},ut.__private__.setFillColor=ut.setFillColor=function(Xe,jt,Rn,gr){return Og=hf({ch1:Xe,ch2:jt,ch3:Rn,ch4:gr,pdfColorType:"fill",precision:2}),Jn(Og),this};var Lp=y.textColor||"0 g",ug=ut.__private__.getTextColor=ut.getTextColor=function(){return Kf(Lp)};ut.__private__.setTextColor=ut.setTextColor=function(Xe,jt,Rn,gr){return Lp=hf({ch1:Xe,ch2:jt,ch3:Rn,ch4:gr,pdfColorType:"text",precision:3}),this};var Ag=y.charSpace,u0=ut.__private__.getCharSpace=ut.getCharSpace=function(){return parseFloat(Ag||0)};ut.__private__.setCharSpace=ut.setCharSpace=function(Xe){if(isNaN(Xe))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Ag=Xe,this};var Pg=0;ut.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},ut.__private__.setLineCap=ut.setLineCap=function(Xe){var jt=ut.CapJoinStyles[Xe];if(jt===void 0)throw new Error("Line cap style of '"+Xe+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Pg=jt,Jn(jt+" J"),this};var _g=0;ut.__private__.setLineJoin=ut.setLineJoin=function(Xe){var jt=ut.CapJoinStyles[Xe];if(jt===void 0)throw new Error("Line join style of '"+Xe+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return _g=jt,Jn(jt+" j"),this},ut.__private__.setLineMiterLimit=ut.__private__.setMiterLimit=ut.setLineMiterLimit=ut.setMiterLimit=function(Xe){if(Xe=Xe||0,isNaN(Xe))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return Jn(Nr(mr(Xe))+" M"),this},ut.GState=wp,ut.setGState=function(Xe){(Xe=typeof Xe=="string"?Ms[bA[Xe]]:Dp(null,Xe)).equals(jA)||(Jn("/"+Xe.id+" gs"),jA=Xe)};var Dp=function(Xe,jt){if(!Xe||!bA[Xe]){var Rn=!1;for(var gr in Ms)if(Ms.hasOwnProperty(gr)&&Ms[gr].equals(jt)){Rn=!0;break}if(Rn)jt=Ms[gr];else{var $r="GS"+(Object.keys(Ms).length+1).toString(10);Ms[$r]=jt,jt.id=$r}return Xe&&(bA[Xe]=jt.id),nu.publish("addGState",jt),jt}};ut.addGState=function(Xe,jt){return Dp(Xe,jt),this},ut.saveGraphicsState=function(){return Jn("q"),vu.push({key:Ga,size:Fo,color:Lp}),this},ut.restoreGraphicsState=function(){Jn("Q");var Xe=vu.pop();return Ga=Xe.key,Fo=Xe.size,Lp=Xe.color,jA=null,this},ut.setCurrentTransformationMatrix=function(Xe){return Jn(Xe.toString()+" cm"),this},ut.comment=function(Xe){return Jn("#"+Xe),this};var Np=function(Xe,jt){var Rn=Xe||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Rn},set:function(Zi){isNaN(Zi)||(Rn=parseFloat(Zi))}});var gr=jt||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return gr},set:function(Zi){isNaN(Zi)||(gr=parseFloat(Zi))}});var $r="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return $r},set:function(Zi){$r=Zi.toString()}}),this},Tg=function(Xe,jt,Rn,gr){Np.call(this,Xe,jt),this.type="rect";var $r=Rn||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return $r},set:function(ao){isNaN(ao)||($r=parseFloat(ao))}});var Zi=gr||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return Zi},set:function(ao){isNaN(ao)||(Zi=parseFloat(ao))}}),this},cg=function(){this.page=yu,this.currentPage=Kn,this.pages=wo.slice(0),this.pagesContext=xs.slice(0),this.x=Va,this.y=Su,this.matrix=Hl,this.width=pm(Kn),this.height=wh(Kn),this.outputDestination=ca,this.id="",this.objectNumber=-1};cg.prototype.restore=function(){yu=this.page,Kn=this.currentPage,xs=this.pagesContext,wo=this.pages,Va=this.x,Su=this.y,Hl=this.matrix,gm(Kn,this.width),bh(Kn,this.height),ca=this.outputDestination};var kg=function(Xe,jt,Rn,gr,$r){zf.push(new cg),yu=Kn=0,wo=[],Va=Xe,Su=jt,Hl=$r,Sg([Rn,gr])};for(var Op in ut.beginFormObject=function(Xe,jt,Rn,gr,$r){return kg(Xe,jt,Rn,gr,$r),this},ut.endFormObject=function(Xe){return function(jt){if(hh[jt])zf.pop().restore();else{var Rn=new cg,gr="Xo"+(Object.keys(Lc).length+1).toString(10);Rn.id=gr,hh[jt]=gr,Lc[gr]=Rn,nu.publish("addFormObject",Rn),zf.pop().restore()}}(Xe),this},ut.doFormObject=function(Xe,jt){var Rn=Lc[hh[Xe]];return Jn("q"),Jn(jt.toString()+" cm"),Jn("/"+Rn.id+" Do"),Jn("Q"),this},ut.getFormObject=function(Xe){var jt=Lc[hh[Xe]];return{x:jt.x,y:jt.y,width:jt.width,height:jt.height,matrix:jt.matrix}},ut.save=function(Xe,jt){return Xe=Xe||"generated.pdf",(jt=jt||{}).returnPromise=jt.returnPromise||!1,jt.returnPromise===!1?(_f(Ep(mh()),Xe),typeof _f.unload=="function"&&ka.setTimeout&&setTimeout(_f.unload,911),this):new Promise(function(Rn,gr){try{var $r=_f(Ep(mh()),Xe);typeof _f.unload=="function"&&ka.setTimeout&&setTimeout(_f.unload,911),Rn($r)}catch(Zi){gr(Zi.message)}})},Da.API)Da.API.hasOwnProperty(Op)&&(Op==="events"&&Da.API.events.length?function(Xe,jt){var Rn,gr,$r;for($r=jt.length-1;$r!==-1;$r--)Rn=jt[$r][0],gr=jt[$r][1],Xe.subscribe.apply(Xe,[Rn].concat(typeof gr=="function"?[gr]:gr))}(nu,Da.API.events):ut[Op]=Da.API[Op]);function pm(Xe){return xs[Xe].mediaBox.topRightX-xs[Xe].mediaBox.bottomLeftX}function gm(Xe,jt){xs[Xe].mediaBox.topRightX=jt+xs[Xe].mediaBox.bottomLeftX}function wh(Xe){return xs[Xe].mediaBox.topRightY-xs[Xe].mediaBox.bottomLeftY}function bh(Xe,jt){xs[Xe].mediaBox.topRightY=jt+xs[Xe].mediaBox.bottomLeftY}var mm=ut.getPageWidth=function(Xe){return pm(Xe=Xe||Kn)/fs},vm=ut.setPageWidth=function(Xe,jt){gm(Xe,jt*fs)},Pp=ut.getPageHeight=function(Xe){return wh(Xe=Xe||Kn)/fs},ym=ut.setPageHeight=function(Xe,jt){bh(Xe,jt*fs)};return ut.internal={pdfEscape:Kd,getStyle:fm,getFont:n0,getFontSize:ha,getCharSpace:u0,getTextColor:ug,getLineHeight:i0,getLineHeightFactor:a0,getLineWidth:Bs,write:fl,getHorizontalCoordinate:vh,getVerticalCoordinate:yh,getCoordinateString:s0,getVerticalCoordinateString:l0,collections:{},newObject:AA,newAdditionalObject:Cp,newObjectDeferred:tc,newObjectDeferredBegin:sc,getFilters:pf,putStream:zd,events:nu,scaleFactor:fs,pageSize:{getWidth:function(){return mm(Kn)},setWidth:function(Xe){vm(Kn,Xe)},getHeight:function(){return Pp(Kn)},setHeight:function(Xe){ym(Kn,Xe)}},encryptionOptions:dt,encryption:CA,getEncryptor:function(Xe){return dt!==null?CA.encryptor(Xe,0):function(jt){return jt}},output:gf,getNumberOfPages:um,pages:wo,out:Jn,f2:un,f3:On,getPageInfo:Ig,getPageInfoByObjId:Xm,getCurrentPageInfo:Ym,getPDFVersion:Cn,Point:Np,Rectangle:Tg,Matrix:ss,hasHotfix:Sp},Object.defineProperty(ut.internal.pageSize,"width",{get:function(){return mm(Kn)},set:function(Xe){vm(Kn,Xe)},enumerable:!0,configurable:!0}),Object.defineProperty(ut.internal.pageSize,"height",{get:function(){return Pp(Kn)},set:function(Xe){ym(Kn,Xe)},enumerable:!0,configurable:!0}),function(Xe){for(var jt=0,Rn=ns.length;jt<Rn;jt++){var gr=am.call(this,Xe[jt][0],Xe[jt][1],Xe[jt][2],ns[jt][3],!0);Pt===!1&&(Jt[gr]=!0);var $r=Xe[jt][0].split("-");om({id:gr,fontName:$r[0],fontStyle:$r[1]||""})}nu.publish("addFonts",{fonts:ja,dictionary:ks})}.call(ut,ns),Ga="F1",sm(Ae,E),nu.publish("initialized"),ut}Mh.prototype.lsbFirstWord=function(y){return String.fromCharCode(255&y,y>>8&255,y>>16&255,y>>24&255)},Mh.prototype.toHexString=function(y){return y.split("").map(function(z){return("0"+(255&z.charCodeAt(0)).toString(16)).slice(-2)}).join("")},Mh.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("")},Mh.prototype.processOwnerPassword=function(y,z){return Tf(Cg(z).substr(0,5),y)},Mh.prototype.encryptor=function(y,z){var E=Cg(this.encryptionKey+String.fromCharCode(255&y,y>>8&255,y>>16&255,255&z,z>>8&255)).substr(0,10);return function(re){return Tf(E,re)}},wp.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},Da.API={events:[]},Da.version="3.0.3";var Zu=Da.API,Bg=1,ch=function(y){return y.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Uh=function(y){return y.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},vs=function(y){return y.toFixed(2)},Uf=function(y){return y.toFixed(5)};Zu.__acroform__={};var Fc=function(y,z){y.prototype=Object.create(z.prototype),y.prototype.constructor=y},rm=function(y){return y*Bg},Rd=function(y){var z=new _i,E=Uo.internal.getHeight(y)||0,re=Uo.internal.getWidth(y)||0;return z.BBox=[0,0,Number(vs(re)),Number(vs(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},Ju=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)},ce=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)},be=Zu.__acroform__.calculateCoordinates=function(y,z){var E=z.internal.getHorizontalCoordinate,re=z.internal.getVerticalCoordinate,Ae=y[0],he=y[1],Ke=y[2],Pe=y[3],Ve={};return Ve.lowerLeft_X=E(Ae)||0,Ve.lowerLeft_Y=re(he+Pe)||0,Ve.upperRight_X=E(Ae+Ke)||0,Ve.upperRight_Y=re(he)||0,[Number(vs(Ve.lowerLeft_X)),Number(vs(Ve.lowerLeft_Y)),Number(vs(Ve.upperRight_X)),Number(vs(Ve.upperRight_Y))]},ye=function(y){if(y.appearanceStreamContent)return y.appearanceStreamContent;if(y.V||y.DV){var z=[],E=y._V||y.DV,re=tt(y,E),Ae=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("/"+Ae+" "+vs(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}},tt=function(y,z){var E=y.fontSize===0?y.maxFontSize:y.fontSize,re={text:"",fontSize:""},Ae=(z=(z=z.substr(0,1)=="("?z.substr(1):z).substr(z.length-1)==")"?z.substr(0,z.length-1):z).split(" ");Ae=y.multiline?Ae.map(function(un){return un.split(`
`)}):Ae.map(function(un){return[un]});var he=E,Ke=Uo.internal.getHeight(y)||0;Ke=Ke<0?-Ke:Ke;var Pe=Uo.internal.getWidth(y)||0;Pe=Pe<0?-Pe:Pe;var Ve=function(un,On,mr){if(un+1<Ae.length){var dr=On+" "+Ae[un+1][0];return St(dr,y,mr).width<=Pe-4}return!1};he++;e:for(;he>0;){z="",he--;var Ye,dt,Pt=St("3",y,he).height,Jt=y.multiline?Ke-he:(Ke-Pt)/2,ut=Jt+=2,In=0,Cn=0,Nn=0;if(he<=0){z=`(...) Tj
`,z+="% Width of Text: "+St(z,y,he=12).width+", FieldWidth:"+Pe+`
`;break}for(var cn="",wr=0,lr=0;lr<Ae.length;lr++)if(Ae.hasOwnProperty(lr)){var Zn=!1;if(Ae[lr].length!==1&&Nn!==Ae[lr].length-1){if((Pt+2)*(wr+2)+2>Ke)continue e;cn+=Ae[lr][Nn],Zn=!0,Cn=lr,lr--}else{cn=(cn+=Ae[lr][Nn]+" ").substr(cn.length-1)==" "?cn.substr(0,cn.length-1):cn;var Ai=parseInt(lr),Qi=Ve(Ai,cn,he),Ii=lr>=Ae.length-1;if(Qi&&!Ii){cn+=" ",Nn=0;continue}if(Qi||Ii){if(Ii)Cn=Ai;else if(y.multiline&&(Pt+2)*(wr+2)+2>Ke)continue e}else{if(!y.multiline||(Pt+2)*(wr+2)+2>Ke)continue e;Cn=Ai}}for(var Nr="",Gn=In;Gn<=Cn;Gn++){var Gr=Ae[Gn];if(y.multiline){if(Gn===Cn){Nr+=Gr[Nn]+" ",Nn=(Nn+1)%Gr.length;continue}if(Gn===In){Nr+=Gr[Gr.length-1]+" ";continue}}Nr+=Gr[0]+" "}switch(Nr=Nr.substr(Nr.length-1)==" "?Nr.substr(0,Nr.length-1):Nr,dt=St(Nr,y,he).width,y.textAlign){case"right":Ye=Pe-dt-2;break;case"center":Ye=(Pe-dt)/2;break;default:Ye=2}z+=vs(Ye)+" "+vs(ut)+` Td
`,z+="("+ch(Nr)+`) Tj
`,z+=-vs(Ye)+` 0 Td
`,ut=-(he+2),dt=0,In=Zn?Cn:Cn+1,wr++,cn=""}break}return re.text=z,re.fontSize=he,re},St=function(y,z,E){var re=z.scope.internal.getFont(z.fontName,z.fontStyle),Ae=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:Ae}},Yt={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Bn=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)},xn=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(Yt)),y.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Bg=y.internal.scaleFactor,y.internal.acroformPlugin.acroFormDictionaryRoot=new fa,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 Ae in re)if(re.hasOwnProperty(Ae)){var he=re[Ae];he.objId=void 0,he.hasAnnotation&&Bn(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,Ae){var he=!re;for(var Ke in re||(Ae.internal.newObjectDeferredBegin(Ae.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),Ae.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),re=re||Ae.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(re.hasOwnProperty(Ke)){var Pe=re[Ke],Ve=[],Ye=Pe.Rect;if(Pe.Rect&&(Pe.Rect=be(Pe.Rect,Ae)),Ae.internal.newObjectDeferredBegin(Pe.objId,!0),Pe.DA=Uo.createDefaultAppearanceStream(Pe),(0,x.Z)(Pe)==="object"&&typeof Pe.getKeyValueListForStream=="function"&&(Ve=Pe.getKeyValueListForStream()),Pe.Rect=Ye,Pe.hasAppearanceStream&&!Pe.appearanceStreamContent){var dt=ye(Pe);Ve.push({key:"AP",value:"<</N "+dt+">>"}),Ae.internal.acroformPlugin.xForms.push(dt)}if(Pe.appearanceStreamContent){var Pt="";for(var Jt in Pe.appearanceStreamContent)if(Pe.appearanceStreamContent.hasOwnProperty(Jt)){var ut=Pe.appearanceStreamContent[Jt];if(Pt+="/"+Jt+" ",Pt+="<<",Object.keys(ut).length>=1||Array.isArray(ut)){for(var Ke in ut)if(ut.hasOwnProperty(Ke)){var In=ut[Ke];typeof In=="function"&&(In=In.call(Ae,Pe)),Pt+="/"+Ke+" "+In+" ",Ae.internal.acroformPlugin.xForms.indexOf(In)>=0||Ae.internal.acroformPlugin.xForms.push(In)}}else typeof(In=ut)=="function"&&(In=In.call(Ae,Pe)),Pt+="/"+Ke+" "+In,Ae.internal.acroformPlugin.xForms.indexOf(In)>=0||Ae.internal.acroformPlugin.xForms.push(In);Pt+=">>"}Ve.push({key:"AP",value:`<<
`+Pt+">>"})}Ae.internal.putStream({additionalKeyValues:Ve,objectId:Pe.objId}),Ae.internal.out("endobj")}he&&function(Cn,Nn){for(var cn in Cn)if(Cn.hasOwnProperty(cn)){var wr=cn,lr=Cn[cn];Nn.internal.newObjectDeferredBegin(lr.objId,!0),(0,x.Z)(lr)==="object"&&typeof lr.putStream=="function"&&lr.putStream(),delete Cn[wr]}}(Ae.internal.acroformPlugin.xForms,Ae)})(E,y)}),y.internal.acroformPlugin.isInitialized=!0}},xr=Zu.__acroform__.arrayToPdfArray=function(y,z,E){var re=function(Ke){return Ke};if(Array.isArray(y)){for(var Ae="[",he=0;he<y.length;he++)switch(he!==0&&(Ae+=" "),(0,x.Z)(y[he])){case"boolean":case"number":case"object":Ae+=y[he].toString();break;case"string":y[he].substr(0,1)!=="/"?(z!==void 0&&E&&(re=E.internal.getEncryptor(z)),Ae+="("+ch(re(y[he].toString()))+")"):Ae+=y[he].toString()}return Ae+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Pr=function(y,z,E){var re=function(Ae){return Ae};return z!==void 0&&E&&(re=E.internal.getEncryptor(z)),(y=y||"").toString(),"("+ch(re(y))+")"},Kr=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})};Kr.prototype.toString=function(){return this.objId+" 0 R"},Kr.prototype.putStream=function(){var y=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:y,objectId:this.objId}),this.scope.internal.out("endobj")},Kr.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],Ae=this[re];Ae&&(Array.isArray(Ae)?y.push({key:re,value:xr(Ae,this.objId,this.scope)}):Ae instanceof Kr?(Ae.scope=this.scope,y.push({key:re,value:Ae.objId+" 0 R"})):typeof Ae!="function"&&y.push({key:re,value:Ae}))}return y};var _i=function(){Kr.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}})};Fc(_i,Kr);var fa=function(){Kr.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)),"("+ch(E(y))+")"}},set:function(E){y=E}})};Fc(fa,Kr);var go=function y(){Kr.call(this);var z=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return z},set:function(cn){if(isNaN(cn))throw new Error('Invalid value "'+cn+'" for attribute F supplied.');z=cn}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!Ju(z,3)},set:function(cn){cn?this.F=me(z,3):this.F=ce(z,3)}});var E=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return E},set:function(cn){if(isNaN(cn))throw new Error('Invalid value "'+cn+'" for attribute Ff supplied.');E=cn}});var re=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(re.length!==0)return re},set:function(cn){re=cn!==void 0?cn:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!re||isNaN(re[0])?0:re[0]},set:function(cn){re[0]=cn}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!re||isNaN(re[1])?0:re[1]},set:function(cn){re[1]=cn}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!re||isNaN(re[2])?0:re[2]},set:function(cn){re[2]=cn}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!re||isNaN(re[3])?0:re[3]},set:function(cn){re[3]=cn}});var Ae="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return Ae},set:function(cn){switch(cn){case"/Btn":case"/Tx":case"/Ch":case"/Sig":Ae=cn;break;default:throw new Error('Invalid value "'+cn+'" 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 cn=function(wr){return wr};return this.scope&&(cn=this.scope.internal.getEncryptor(this.objId)),"("+ch(cn(he))+")"},set:function(cn){he=cn.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return he},set:function(cn){he=cn}});var Ke="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return Ke},set:function(cn){Ke=cn}});var Pe="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return Pe},set:function(cn){Pe=cn}});var Ve=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return Ve},set:function(cn){Ve=cn}});var Ye=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return Ye===void 0?50/Bg:Ye},set:function(cn){Ye=cn}});var dt="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return dt},set:function(cn){dt=cn}});var Pt="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!Pt||this instanceof ia||this instanceof Ps))return Pr(Pt,this.objId,this.scope)},set:function(cn){cn=cn.toString(),Pt=cn}});var Jt=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Jt)return this instanceof es==0?Pr(Jt,this.objId,this.scope):Jt},set:function(cn){cn=cn.toString(),Jt=this instanceof es==0?cn.substr(0,1)==="("?Uh(cn.substr(1,cn.length-2)):Uh(cn):cn}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof es==1?Uh(Jt.substr(1,Jt.length-1)):Jt},set:function(cn){cn=cn.toString(),Jt=this instanceof es==1?"/"+cn:cn}});var ut=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(ut)return ut},set:function(cn){this.V=cn}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(ut)return this instanceof es==0?Pr(ut,this.objId,this.scope):ut},set:function(cn){cn=cn.toString(),ut=this instanceof es==0?cn.substr(0,1)==="("?Uh(cn.substr(1,cn.length-2)):Uh(cn):cn}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof es==1?Uh(ut.substr(1,ut.length-1)):ut},set:function(cn){cn=cn.toString(),ut=this instanceof es==1?"/"+cn:cn}}),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 In,Cn=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return Cn},set:function(cn){cn=!!cn,Cn=cn}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(In)return In},set:function(cn){In=cn}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!Ju(this.Ff,1)},set:function(cn){cn?this.Ff=me(this.Ff,1):this.Ff=ce(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!Ju(this.Ff,2)},set:function(cn){cn?this.Ff=me(this.Ff,2):this.Ff=ce(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!Ju(this.Ff,3)},set:function(cn){cn?this.Ff=me(this.Ff,3):this.Ff=ce(this.Ff,3)}});var Nn=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Nn!==null)return Nn},set:function(cn){if([0,1,2].indexOf(cn)===-1)throw new Error('Invalid value "'+cn+'" for attribute Q supplied.');Nn=cn}}),Object.defineProperty(this,"textAlign",{get:function(){var cn;switch(Nn){case 0:default:cn="left";break;case 1:cn="center";break;case 2:cn="right"}return cn},configurable:!0,enumerable:!0,set:function(cn){switch(cn){case"right":case 2:Nn=2;break;case"center":case 1:Nn=1;break;default:Nn=0}}})};Fc(go,Kr);var Ko=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 xr(z,this.objId,this.scope)},set:function(E){var re,Ae;Ae=[],typeof(re=E)=="string"&&(Ae=function(he,Ke,Pe){Pe||(Pe=1);for(var Ve,Ye=[];Ve=Ke.exec(he);)Ye.push(Ve[Pe]);return Ye}(re,/\((.*?)\)/g)),z=Ae}}),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!!Ju(this.Ff,18)},set:function(E){E?this.Ff=me(this.Ff,18):this.Ff=ce(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!Ju(this.Ff,19)},set:function(E){this.combo===!0&&(E?this.Ff=me(this.Ff,19):this.Ff=ce(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!Ju(this.Ff,20)},set:function(E){E?(this.Ff=me(this.Ff,20),z.sort()):this.Ff=ce(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!Ju(this.Ff,22)},set:function(E){E?this.Ff=me(this.Ff,22):this.Ff=ce(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Ju(this.Ff,23)},set:function(E){E?this.Ff=me(this.Ff,23):this.Ff=ce(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!Ju(this.Ff,27)},set:function(E){E?this.Ff=me(this.Ff,27):this.Ff=ce(this.Ff,27)}}),this.hasAppearanceStream=!1};Fc(Ko,go);var ls=function(){Ko.call(this),this.fontName="helvetica",this.combo=!1};Fc(ls,Ko);var ba=function(){ls.call(this),this.combo=!0};Fc(ba,ls);var ya=function(){ba.call(this),this.edit=!0};Fc(ya,ba);var es=function(){go.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!Ju(this.Ff,15)},set:function(E){E?this.Ff=me(this.Ff,15):this.Ff=ce(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!Ju(this.Ff,16)},set:function(E){E?this.Ff=me(this.Ff,16):this.Ff=ce(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!Ju(this.Ff,17)},set:function(E){E?this.Ff=me(this.Ff,17):this.Ff=ce(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!Ju(this.Ff,26)},set:function(E){E?this.Ff=me(this.Ff,26):this.Ff=ce(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,Ae=[];for(re in Ae.push("<<"),z)Ae.push("/"+re+" ("+ch(E(z[re]))+")");return Ae.push(">>"),Ae.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}})};Fc(es,go);var ys=function(){es.call(this),this.pushButton=!0};Fc(ys,es);var $a=function(){es.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:[]}})};Fc($a,es);var ia=function(){var y,z;go.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return y},set:function(Ae){y=Ae}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return z},set:function(Ae){z=Ae}});var E,re={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Ae=function(Pe){return Pe};this.scope&&(Ae=this.scope.internal.getEncryptor(this.objId));var he,Ke=[];for(he in Ke.push("<<"),re)Ke.push("/"+he+" ("+ch(Ae(re[he]))+")");return Ke.push(">>"),Ke.join(`
`)},set:function(Ae){(0,x.Z)(Ae)==="object"&&(re=Ae)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return re.CA||""},set:function(Ae){typeof Ae=="string"&&(re.CA=Ae)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return E},set:function(Ae){E=Ae}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return E.substr(1,E.length-1)},set:function(Ae){E="/"+Ae}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=Uo.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};Fc(ia,go),$a.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()}},$a.prototype.createOption=function(y){var z=new ia;return z.Parent=this,z.optionName=y,this.Kids.push(z),Ic.call(this.scope,z),z};var Ys=function(){es.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Uo.CheckBox.createAppearanceStream()};Fc(Ys,es);var Ps=function(){go.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!Ju(this.Ff,13)},set:function(z){z?this.Ff=me(this.Ff,13):this.Ff=ce(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!Ju(this.Ff,21)},set:function(z){z?this.Ff=me(this.Ff,21):this.Ff=ce(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Ju(this.Ff,23)},set:function(z){z?this.Ff=me(this.Ff,23):this.Ff=ce(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!Ju(this.Ff,24)},set:function(z){z?this.Ff=me(this.Ff,24):this.Ff=ce(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!Ju(this.Ff,25)},set:function(z){z?this.Ff=me(this.Ff,25):this.Ff=ce(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!Ju(this.Ff,26)},set:function(z){z?this.Ff=me(this.Ff,26):this.Ff=ce(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}})};Fc(Ps,go);var ts=function(){Ps.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!Ju(this.Ff,14)},set:function(y){y?this.Ff=me(this.Ff,14):this.Ff=ce(this.Ff,14)}}),this.password=!0};Fc(ts,Ps);var Uo={CheckBox:{createAppearanceStream:function(){return{N:{On:Uo.CheckBox.YesNormal},D:{On:Uo.CheckBox.YesPushDown,Off:Uo.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,Ae=y.scope.__private__.encodeColorString(y.color),he=tt(y,y.caption);return E.push("0.749023 g"),E.push("0 0 "+vs(Uo.internal.getWidth(y))+" "+vs(Uo.internal.getHeight(y))+" re"),E.push("f"),E.push("BMC"),E.push("q"),E.push("0 0 1 rg"),E.push("/"+re+" "+vs(he.fontSize)+" Tf "+Ae),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),Ae=[],he=Uo.internal.getHeight(y),Ke=Uo.internal.getWidth(y),Pe=tt(y,y.caption);return Ae.push("1 g"),Ae.push("0 0 "+vs(Ke)+" "+vs(he)+" re"),Ae.push("f"),Ae.push("q"),Ae.push("0 0 1 rg"),Ae.push("0 0 "+vs(Ke-1)+" "+vs(he-1)+" re"),Ae.push("W"),Ae.push("n"),Ae.push("0 g"),Ae.push("BT"),Ae.push("/"+E+" "+vs(Pe.fontSize)+" Tf "+re),Ae.push(Pe.text),Ae.push("ET"),Ae.push("Q"),z.stream=Ae.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 "+vs(Uo.internal.getWidth(y))+" "+vs(Uo.internal.getHeight(y))+" re"),E.push("f"),z.stream=E.join(`
`),z}},RadioButton:{Circle:{createAppearanceStream:function(y){var z={D:{Off:Uo.RadioButton.Circle.OffPushDown},N:{}};return z.N[y]=Uo.RadioButton.Circle.YesNormal,z.D[y]=Uo.RadioButton.Circle.YesPushDown,z},getCA:function(){return"l"},YesNormal:function(y){var z=Rd(y);z.scope=y.scope;var E=[],re=Uo.internal.getWidth(y)<=Uo.internal.getHeight(y)?Uo.internal.getWidth(y)/4:Uo.internal.getHeight(y)/4;re=Number((.9*re).toFixed(5));var Ae=Uo.internal.Bezier_C,he=Number((re*Ae).toFixed(5));return E.push("q"),E.push("1 0 0 1 "+Uf(Uo.internal.getWidth(y)/2)+" "+Uf(Uo.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=Uo.internal.getWidth(y)<=Uo.internal.getHeight(y)?Uo.internal.getWidth(y)/4:Uo.internal.getHeight(y)/4;re=Number((.9*re).toFixed(5));var Ae=Number((2*re).toFixed(5)),he=Number((Ae*Uo.internal.Bezier_C).toFixed(5)),Ke=Number((re*Uo.internal.Bezier_C).toFixed(5));return E.push("0.749023 g"),E.push("q"),E.push("1 0 0 1 "+Uf(Uo.internal.getWidth(y)/2)+" "+Uf(Uo.internal.getHeight(y)/2)+" cm"),E.push(Ae+" 0 m"),E.push(Ae+" "+he+" "+he+" "+Ae+" 0 "+Ae+" c"),E.push("-"+he+" "+Ae+" -"+Ae+" "+he+" -"+Ae+" 0 c"),E.push("-"+Ae+" -"+he+" -"+he+" -"+Ae+" 0 -"+Ae+" c"),E.push(he+" -"+Ae+" "+Ae+" -"+he+" "+Ae+" 0 c"),E.push("f"),E.push("Q"),E.push("0 g"),E.push("q"),E.push("1 0 0 1 "+Uf(Uo.internal.getWidth(y)/2)+" "+Uf(Uo.internal.getHeight(y)/2)+" cm"),E.push(re+" 0 m"),E.push(re+" "+Ke+" "+Ke+" "+re+" 0 "+re+" c"),E.push("-"+Ke+" "+re+" -"+re+" "+Ke+" -"+re+" 0 c"),E.push("-"+re+" -"+Ke+" -"+Ke+" -"+re+" 0 -"+re+" c"),E.push(Ke+" -"+re+" "+re+" -"+Ke+" "+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=Uo.internal.getWidth(y)<=Uo.internal.getHeight(y)?Uo.internal.getWidth(y)/4:Uo.internal.getHeight(y)/4;re=Number((.9*re).toFixed(5));var Ae=Number((2*re).toFixed(5)),he=Number((Ae*Uo.internal.Bezier_C).toFixed(5));return E.push("0.749023 g"),E.push("q"),E.push("1 0 0 1 "+Uf(Uo.internal.getWidth(y)/2)+" "+Uf(Uo.internal.getHeight(y)/2)+" cm"),E.push(Ae+" 0 m"),E.push(Ae+" "+he+" "+he+" "+Ae+" 0 "+Ae+" c"),E.push("-"+he+" "+Ae+" -"+Ae+" "+he+" -"+Ae+" 0 c"),E.push("-"+Ae+" -"+he+" -"+he+" -"+Ae+" 0 -"+Ae+" c"),E.push(he+" -"+Ae+" "+Ae+" -"+he+" "+Ae+" 0 c"),E.push("f"),E.push("Q"),z.stream=E.join(`
`),z}},Cross:{createAppearanceStream:function(y){var z={D:{Off:Uo.RadioButton.Cross.OffPushDown},N:{}};return z.N[y]=Uo.RadioButton.Cross.YesNormal,z.D[y]=Uo.RadioButton.Cross.YesPushDown,z},getCA:function(){return"8"},YesNormal:function(y){var z=Rd(y);z.scope=y.scope;var E=[],re=Uo.internal.calculateCross(y);return E.push("q"),E.push("1 1 "+vs(Uo.internal.getWidth(y)-2)+" "+vs(Uo.internal.getHeight(y)-2)+" re"),E.push("W"),E.push("n"),E.push(vs(re.x1.x)+" "+vs(re.x1.y)+" m"),E.push(vs(re.x2.x)+" "+vs(re.x2.y)+" l"),E.push(vs(re.x4.x)+" "+vs(re.x4.y)+" m"),E.push(vs(re.x3.x)+" "+vs(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=Uo.internal.calculateCross(y),re=[];return re.push("0.749023 g"),re.push("0 0 "+vs(Uo.internal.getWidth(y))+" "+vs(Uo.internal.getHeight(y))+" re"),re.push("f"),re.push("q"),re.push("1 1 "+vs(Uo.internal.getWidth(y)-2)+" "+vs(Uo.internal.getHeight(y)-2)+" re"),re.push("W"),re.push("n"),re.push(vs(E.x1.x)+" "+vs(E.x1.y)+" m"),re.push(vs(E.x2.x)+" "+vs(E.x2.y)+" l"),re.push(vs(E.x4.x)+" "+vs(E.x4.y)+" m"),re.push(vs(E.x3.x)+" "+vs(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 "+vs(Uo.internal.getWidth(y))+" "+vs(Uo.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}};Uo.internal={Bezier_C:.551915024494,calculateCross:function(y){var z=Uo.internal.getWidth(y),E=Uo.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}}}},Uo.internal.getWidth=function(y){var z=0;return(0,x.Z)(y)==="object"&&(z=rm(y.Rect[2])),z},Uo.internal.getHeight=function(y){var z=0;return(0,x.Z)(y)==="object"&&(z=rm(y.Rect[3])),z};var Ic=Zu.addField=function(y){if(xn(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=Ko,Zu.AcroFormListBox=ls,Zu.AcroFormComboBox=ba,Zu.AcroFormEditBox=ya,Zu.AcroFormButton=es,Zu.AcroFormPushButton=ys,Zu.AcroFormRadioButton=$a,Zu.AcroFormCheckBox=Ys,Zu.AcroFormTextField=Ps,Zu.AcroFormPasswordField=ts,Zu.AcroFormAppearance=Uo,Zu.AcroForm={ChoiceField:Ko,ListBox:ls,ComboBox:ba,EditBox:ya,Button:es,PushButton:ys,RadioButton:$a,CheckBox:Ys,TextField:Ps,PasswordField:ts,Appearance:Uo},Da.AcroForm={ChoiceField:Ko,ListBox:ls,ComboBox:ba,EditBox:ya,Button:es,PushButton:ys,RadioButton:$a,CheckBox:Ys,TextField:Ps,PasswordField:ts,Appearance:Uo};var jc=Da.AcroForm;function jl(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]]},Ae=y.__addimage__.getImageFileTypeByImageData=function(un,On){var mr,dr,hi,Fi,Oi,ai=E;if((On=On||E)==="RGBA"||un.data!==void 0&&un.data instanceof Uint8ClampedArray&&"height"in un&&"width"in un)return"RGBA";if(Qi(un))for(Oi in re)for(hi=re[Oi],mr=0;mr<hi.length;mr+=1){for(Fi=!0,dr=0;dr<hi[mr].length;dr+=1)if(hi[mr][dr]!==void 0&&hi[mr][dr]!==un[dr]){Fi=!1;break}if(Fi===!0){ai=Oi;break}}else for(Oi in re)for(hi=re[Oi],mr=0;mr<hi.length;mr+=1){for(Fi=!0,dr=0;dr<hi[mr].length;dr+=1)if(hi[mr][dr]!==void 0&&hi[mr][dr]!==un.charCodeAt(dr)){Fi=!1;break}if(Fi===!0){ai=Oi;break}}return ai===E&&On!==E&&(ai=On),ai},he=function un(On){for(var mr=this.internal.write,dr=this.internal.putStream,hi=(0,this.internal.getFilters)();hi.indexOf("FlateEncode")!==-1;)hi.splice(hi.indexOf("FlateEncode"),1);On.objectId=this.internal.newObject();var Fi=[];if(Fi.push({key:"Type",value:"/XObject"}),Fi.push({key:"Subtype",value:"/Image"}),Fi.push({key:"Width",value:On.width}),Fi.push({key:"Height",value:On.height}),On.colorSpace===cn.INDEXED?Fi.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(On.palette.length/3-1)+" "+("sMask"in On&&On.sMask!==void 0?On.objectId+2:On.objectId+1)+" 0 R]"}):(Fi.push({key:"ColorSpace",value:"/"+On.colorSpace}),On.colorSpace===cn.DEVICE_CMYK&&Fi.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),Fi.push({key:"BitsPerComponent",value:On.bitsPerComponent}),"decodeParameters"in On&&On.decodeParameters!==void 0&&Fi.push({key:"DecodeParms",value:"<<"+On.decodeParameters+">>"}),"transparency"in On&&Array.isArray(On.transparency)&&On.transparency.length>0){for(var Oi="",ai=0,Pi=On.transparency.length;ai<Pi;ai++)Oi+=On.transparency[ai]+" "+On.transparency[ai]+" ";Fi.push({key:"Mask",value:"["+Oi+"]"})}On.sMask!==void 0&&Fi.push({key:"SMask",value:On.objectId+1+" 0 R"});var Po=On.filter!==void 0?["/"+On.filter]:void 0;if(dr({data:On.data,additionalKeyValues:Fi,alreadyAppliedFilters:Po,objectId:On.objectId}),mr("endobj"),"sMask"in On&&On.sMask!==void 0){var io,nn=(io=On.sMaskBitsPerComponent)!==null&&io!==void 0?io:On.bitsPerComponent,Kn={width:On.width,height:On.height,colorSpace:"DeviceGray",bitsPerComponent:nn,data:On.sMask};"filter"in On&&(Kn.decodeParameters="/Predictor ".concat(On.predictor," /Colors 1 /BitsPerComponent ").concat(nn," /Columns ").concat(On.width),Kn.filter=On.filter),un.call(this,Kn)}if(On.colorSpace===cn.INDEXED){var rr=this.internal.newObject();dr({data:Nr(new Uint8Array(On.palette)),objectId:rr}),mr("endobj")}},Ke=function(){var un=this.internal.collections[z+"images"];for(var On in un)he.call(this,un[On])},Pe=function(){var un,On=this.internal.collections[z+"images"],mr=this.internal.write;for(var dr in On)mr("/I"+(un=On[dr]).index,un.objectId,"0","R")},Ve=function(){this.internal.collections[z+"images"]||(this.internal.collections[z+"images"]={},this.internal.events.subscribe("putResources",Ke),this.internal.events.subscribe("putXobjectDict",Pe))},Ye=function(){var un=this.internal.collections[z+"images"];return Ve.call(this),un},dt=function(){return Object.keys(this.internal.collections[z+"images"]).length},Pt=function(un){return typeof y["process"+un.toUpperCase()]=="function"},Jt=function(un){return(0,x.Z)(un)==="object"&&un.nodeType===1},ut=function(un,On){if(un.nodeName==="IMG"&&un.hasAttribute("src")){var mr=""+un.getAttribute("src");if(mr.indexOf("data:image/")===0)return gp(unescape(mr).split("base64,").pop());var dr=y.loadFile(mr,!0);if(dr!==void 0)return dr}if(un.nodeName==="CANVAS"){if(un.width===0||un.height===0)throw new Error("Given canvas must have data. Canvas width: "+un.width+", height: "+un.height);var hi;switch(On){case"PNG":hi="image/png";break;case"WEBP":hi="image/webp";break;default:hi="image/jpeg"}return gp(un.toDataURL(hi,1).split("base64,").pop())}},In=function(un){var On=this.internal.collections[z+"images"];if(On){for(var mr in On)if(un===On[mr].alias)return On[mr]}},Cn=function(un,On,mr){return un||On||(un=-96,On=-96),un<0&&(un=-1*mr.width*72/un/this.internal.scaleFactor),On<0&&(On=-1*mr.height*72/On/this.internal.scaleFactor),un===0&&(un=On*mr.width/mr.height),On===0&&(On=un*mr.height/mr.width),[un,On]},Nn=function(un,On,mr,dr,hi,Fi){var Oi=Cn.call(this,mr,dr,hi),ai=this.internal.getCoordinateString,Pi=this.internal.getVerticalCoordinateString,Po=Ye.call(this);if(mr=Oi[0],dr=Oi[1],Po[hi.index]=hi,Fi){Fi*=Math.PI/180;var io=Math.cos(Fi),nn=Math.sin(Fi),Kn=function(Br){return Br.toFixed(4)},rr=[Kn(io),Kn(nn),Kn(-1*nn),Kn(io),0,0,"cm"]}this.internal.write("q"),Fi?(this.internal.write([1,"0","0",1,ai(un),Pi(On+dr),"cm"].join(" ")),this.internal.write(rr.join(" ")),this.internal.write([ai(mr),"0","0",ai(dr),"0","0","cm"].join(" "))):this.internal.write([ai(mr),"0","0",ai(dr),ai(un),Pi(On+dr),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+hi.index+" Do"),this.internal.write("Q")},cn=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 wr=y.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},lr=y.__addimage__.sHashCode=function(un){var On,mr,dr=0;if(typeof un=="string")for(mr=un.length,On=0;On<mr;On++)dr=(dr<<5)-dr+un.charCodeAt(On),dr|=0;else if(Qi(un))for(mr=un.byteLength/2,On=0;On<mr;On++)dr=(dr<<5)-dr+un[On],dr|=0;return dr},Zn=y.__addimage__.validateStringAsBase64=function(un){(un=un||"").toString().trim();var On=!0;return un.length===0&&(On=!1),un.length%4!=0&&(On=!1),/^[A-Za-z0-9+/]+$/.test(un.substr(0,un.length-2))===!1&&(On=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(un.substr(-2))===!1&&(On=!1),On},Ai=y.__addimage__.extractImageFromDataUrl=function(un){if(un==null||!(un=un.trim()).startsWith("data:"))return null;var On=un.indexOf(",");return On<0?null:un.substring(0,On).trim().endsWith("base64")?un.substring(On+1):null};y.__addimage__.isArrayBuffer=function(un){return un instanceof ArrayBuffer};var Qi=y.__addimage__.isArrayBufferView=function(un){return un instanceof Int8Array||un instanceof Uint8Array||un instanceof Uint8ClampedArray||un instanceof Int16Array||un instanceof Uint16Array||un instanceof Int32Array||un instanceof Uint32Array||un instanceof Float32Array||un instanceof Float64Array},Ii=y.__addimage__.binaryStringToUint8Array=function(un){for(var On=un.length,mr=new Uint8Array(On),dr=0;dr<On;dr++)mr[dr]=un.charCodeAt(dr);return mr},Nr=y.__addimage__.arrayBufferToBinaryString=function(un){for(var On="",mr=Qi(un)?un:new Uint8Array(un),dr=0;dr<mr.length;dr+=8192)On+=String.fromCharCode.apply(null,mr.subarray(dr,dr+8192));return On};y.addImage=function(){var un,On,mr,dr,hi,Fi,Oi,ai,Pi;if(typeof arguments[1]=="number"?(On=E,mr=arguments[1],dr=arguments[2],hi=arguments[3],Fi=arguments[4],Oi=arguments[5],ai=arguments[6],Pi=arguments[7]):(On=arguments[1],mr=arguments[2],dr=arguments[3],hi=arguments[4],Fi=arguments[5],Oi=arguments[6],ai=arguments[7],Pi=arguments[8]),(0,x.Z)(un=arguments[0])==="object"&&!Jt(un)&&"imageData"in un){var Po=un;un=Po.imageData,On=Po.format||On||E,mr=Po.x||mr||0,dr=Po.y||dr||0,hi=Po.w||Po.width||hi,Fi=Po.h||Po.height||Fi,Oi=Po.alias||Oi,ai=Po.compression||ai,Pi=Po.rotation||Po.angle||Pi}var io=this.internal.getFilters();if(ai===void 0&&io.indexOf("FlateEncode")!==-1&&(ai="SLOW"),isNaN(mr)||isNaN(dr))throw new Error("Invalid coordinates passed to jsPDF.addImage");Ve.call(this);var nn=Gn.call(this,un,On,Oi,ai);return Nn.call(this,mr,dr,hi,Fi,nn,Pi),this};var Gn=function(un,On,mr,dr){var hi,Fi,Oi;if(typeof un=="string"&&Ae(un)===E){un=unescape(un);var ai=Gr(un,!1);(ai!==""||(ai=y.loadFile(un,!0))!==void 0)&&(un=ai)}if(Jt(un)&&(un=ut(un,On)),On=Ae(un,On),!Pt(On))throw new Error("addImage does not support files of type '"+On+"', please ensure that a plugin for '"+On+"' support is added.");if(((Oi=mr)==null||Oi.length===0)&&(mr=function(Pi){return typeof Pi=="string"||Qi(Pi)?lr(Pi):Qi(Pi.data)?lr(Pi.data):null}(un)),(hi=In.call(this,mr))||(un instanceof Uint8Array||On==="RGBA"||(Fi=un,un=Ii(un)),hi=this["process"+On.toUpperCase()](un,dt.call(this),mr,function(Pi){return Pi&&typeof Pi=="string"&&(Pi=Pi.toUpperCase()),Pi in y.image_compression?Pi:wr.NONE}(dr),Fi)),!hi)throw new Error("An unknown error occurred whilst processing the image.");return hi},Gr=y.__addimage__.convertBase64ToBinaryString=function(un,On){On=typeof On!="boolean"||On;var mr,dr="";if(typeof un=="string"){var hi;mr=(hi=Ai(un))!==null&&hi!==void 0?hi:un;try{dr=gp(mr)}catch(Fi){if(On)throw Zn(mr)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+Fi.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return dr};y.getImageProperties=function(un){var On,mr,dr="";if(Jt(un)&&(un=ut(un)),typeof un=="string"&&Ae(un)===E&&((dr=Gr(un,!1))===""&&(dr=y.loadFile(un)||""),un=dr),mr=Ae(un),!Pt(mr))throw new Error("addImage does not support files of type '"+mr+"', please ensure that a plugin for '"+mr+"' support is added.");if(un instanceof Uint8Array||(un=Ii(un)),!(On=this["process"+mr.toUpperCase()](un)))throw new Error("An unknown error occurred whilst processing the image");return On.fileType=mr,On}})(Da.API),function(y){var z=function(E){if(E!==void 0&&E!="")return!0};Da.API.events.push(["addPage",function(E){this.internal.getPageInfo(E.pageNumber).pageContext.annotations=[]}]),y.events.push(["putPage",function(E){for(var re,Ae,he,Ke=this.internal.getCoordinateString,Pe=this.internal.getVerticalCoordinateString,Ve=this.internal.getPageInfoByObjId(E.objId),Ye=E.pageContext.annotations,dt=!1,Pt=0;Pt<Ye.length&&!dt;Pt++)switch((re=Ye[Pt]).type){case"link":(z(re.options.url)||z(re.options.pageNumber))&&(dt=!0);break;case"reference":case"text":case"freetext":dt=!0}if(dt!=0){this.internal.write("/Annots [");for(var Jt=0;Jt<Ye.length;Jt++){re=Ye[Jt];var ut=this.internal.pdfEscape,In=this.internal.getEncryptor(E.objId);switch(re.type){case"reference":this.internal.write(" "+re.object.objId+" 0 R ");break;case"text":var Cn=this.internal.newAdditionalObject(),Nn=this.internal.newAdditionalObject(),cn=this.internal.getEncryptor(Cn.objId),wr=re.title||"Note";he="<</Type /Annot /Subtype /Text "+(Ae="/Rect ["+Ke(re.bounds.x)+" "+Pe(re.bounds.y+re.bounds.h)+" "+Ke(re.bounds.x+re.bounds.w)+" "+Pe(re.bounds.y)+"] ")+"/Contents ("+ut(cn(re.contents))+")",he+=" /Popup "+Nn.objId+" 0 R",he+=" /P "+Ve.objId+" 0 R",he+=" /T ("+ut(cn(wr))+") >>",Cn.content=he;var lr=Cn.objId+" 0 R";he="<</Type /Annot /Subtype /Popup "+(Ae="/Rect ["+Ke(re.bounds.x+30)+" "+Pe(re.bounds.y+re.bounds.h)+" "+Ke(re.bounds.x+re.bounds.w+30)+" "+Pe(re.bounds.y)+"] ")+" /Parent "+lr,re.open&&(he+=" /Open true"),he+=" >>",Nn.content=he,this.internal.write(Cn.objId,"0 R",Nn.objId,"0 R");break;case"freetext":Ae="/Rect ["+Ke(re.bounds.x)+" "+Pe(re.bounds.y)+" "+Ke(re.bounds.x+re.bounds.w)+" "+Pe(re.bounds.y+re.bounds.h)+"] ";var Zn=re.color||"#000000";he="<</Type /Annot /Subtype /FreeText "+Ae+"/Contents ("+ut(In(re.contents))+")",he+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+Zn+")",he+=" /Border [0 0 0]",he+=" >>",this.internal.write(he);break;case"link":if(re.options.name){var Ai=this.annotations._nameMap[re.options.name];re.options.pageNumber=Ai.page,re.options.top=Ai.y}else re.options.top||(re.options.top=0);if(Ae="/Rect ["+re.finalBounds.x+" "+re.finalBounds.y+" "+re.finalBounds.w+" "+re.finalBounds.h+"] ",he="",re.options.url)he="<</Type /Annot /Subtype /Link "+Ae+"/Border [0 0 0] /A <</S /URI /URI ("+ut(In(re.options.url))+") >>";else if(re.options.pageNumber)switch(he="<</Type /Annot /Subtype /Link "+Ae+"/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 Qi=Pe(re.options.top);re.options.left=re.options.left||0,re.options.zoom===void 0&&(re.options.zoom=0),he+=" /XYZ "+re.options.left+" "+Qi+" "+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,Ae,he,Ke){var Pe=this.internal.getCurrentPageInfo(),Ve=this.internal.getCoordinateString,Ye=this.internal.getVerticalCoordinateString;Pe.pageContext.annotations.push({finalBounds:{x:Ve(E),y:Ye(re),w:Ve(E+Ae),h:Ye(re+he)},options:Ke,type:"link"})},y.textWithLink=function(E,re,Ae,he){var Ke,Pe,Ve=this.getTextWidth(E),Ye=this.internal.getLineHeight()/this.internal.scaleFactor;if(he.maxWidth!==void 0){Pe=he.maxWidth;var dt=this.splitTextToSize(E,Pe).length;Ke=Math.ceil(Ye*dt)}else Pe=Ve,Ke=Ye;return this.text(E,re,Ae,he),Ae+=.2*Ye,he.align==="center"&&(re-=Ve/2),he.align==="right"&&(re-=Ve),this.link(re,Ae-Ye,Pe,Ke,he),Ve},y.getTextWidth=function(E){var re=this.internal.getFontSize();return this.getStringUnitWidth(E)*re/this.internal.scaleFactor}}(Da.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},Ae=[1570,1571,1573,1575];y.__arabicParser__={};var he=y.__arabicParser__.isInArabicSubstitutionA=function(Cn){return z[Cn.charCodeAt(0)]!==void 0},Ke=y.__arabicParser__.isArabicLetter=function(Cn){return typeof Cn=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(Cn)},Pe=y.__arabicParser__.isArabicEndLetter=function(Cn){return Ke(Cn)&&he(Cn)&&z[Cn.charCodeAt(0)].length<=2},Ve=y.__arabicParser__.isArabicAlfLetter=function(Cn){return Ke(Cn)&&Ae.indexOf(Cn.charCodeAt(0))>=0};y.__arabicParser__.arabicLetterHasIsolatedForm=function(Cn){return Ke(Cn)&&he(Cn)&&z[Cn.charCodeAt(0)].length>=1};var Ye=y.__arabicParser__.arabicLetterHasFinalForm=function(Cn){return Ke(Cn)&&he(Cn)&&z[Cn.charCodeAt(0)].length>=2};y.__arabicParser__.arabicLetterHasInitialForm=function(Cn){return Ke(Cn)&&he(Cn)&&z[Cn.charCodeAt(0)].length>=3};var dt=y.__arabicParser__.arabicLetterHasMedialForm=function(Cn){return Ke(Cn)&&he(Cn)&&z[Cn.charCodeAt(0)].length==4},Pt=y.__arabicParser__.resolveLigatures=function(Cn){var Nn=0,cn=E,wr="",lr=0;for(Nn=0;Nn<Cn.length;Nn+=1)cn[Cn.charCodeAt(Nn)]!==void 0?(lr++,typeof(cn=cn[Cn.charCodeAt(Nn)])=="number"&&(wr+=String.fromCharCode(cn),cn=E,lr=0),Nn===Cn.length-1&&(cn=E,wr+=Cn.charAt(Nn-(lr-1)),Nn-=lr-1,lr=0)):(cn=E,wr+=Cn.charAt(Nn-lr),Nn-=lr,lr=0);return wr};y.__arabicParser__.isArabicDiacritic=function(Cn){return Cn!==void 0&&re[Cn.charCodeAt(0)]!==void 0};var Jt=y.__arabicParser__.getCorrectForm=function(Cn,Nn,cn){return Ke(Cn)?he(Cn)===!1?-1:!Ye(Cn)||!Ke(Nn)&&!Ke(cn)||!Ke(cn)&&Pe(Nn)||Pe(Cn)&&!Ke(Nn)||Pe(Cn)&&Ve(Nn)||Pe(Cn)&&Pe(Nn)?0:dt(Cn)&&Ke(Nn)&&!Pe(Nn)&&Ke(cn)&&Ye(cn)?3:Pe(Cn)||!Ke(cn)?1:2:-1},ut=function(Cn){var Nn=0,cn=0,wr=0,lr="",Zn="",Ai="",Qi=(Cn=Cn||"").split("\\s+"),Ii=[];for(Nn=0;Nn<Qi.length;Nn+=1){for(Ii.push(""),cn=0;cn<Qi[Nn].length;cn+=1)lr=Qi[Nn][cn],Zn=Qi[Nn][cn-1],Ai=Qi[Nn][cn+1],Ke(lr)?(wr=Jt(lr,Zn,Ai),Ii[Nn]+=wr!==-1?String.fromCharCode(z[lr.charCodeAt(0)][wr]):lr):Ii[Nn]+=lr;Ii[Nn]=Pt(Ii[Nn])}return Ii.join(" ")},In=y.__arabicParser__.processArabic=y.processArabic=function(){var Cn,Nn=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,cn=[];if(Array.isArray(Nn)){var wr=0;for(cn=[],wr=0;wr<Nn.length;wr+=1)Array.isArray(Nn[wr])?cn.push([ut(Nn[wr][0]),Nn[wr][1],Nn[wr][2]]):cn.push([ut(Nn[wr])]);Cn=cn}else Cn=ut(Nn);return typeof arguments[0]=="string"?Cn:(arguments[0].text=Cn,arguments[0])};y.events.push(["preProcessText",In])}(Da.API),Da.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(Pe){E=Pe}});var re=150;Object.defineProperty(this,"width",{get:function(){return re},set:function(Pe){re=isNaN(Pe)||Number.isInteger(Pe)===!1||Pe<0?150:Pe,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=re+1)}});var Ae=300;Object.defineProperty(this,"height",{get:function(){return Ae},set:function(Pe){Ae=isNaN(Pe)||Number.isInteger(Pe)===!1||Pe<0?300:Pe,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=Ae+1)}});var he=[];Object.defineProperty(this,"childNodes",{get:function(){return he},set:function(Pe){he=Pe}});var Ke={};Object.defineProperty(this,"style",{get:function(){return Ke},set:function(Pe){Ke=Pe}}),Object.defineProperty(this,"parentNode",{})};z.prototype.getContext=function(E,re){var Ae;if((E=E||"2d")!=="2d")return null;for(Ae in re)this.pdf.context2d.hasOwnProperty(Ae)&&(this.pdf.context2d[Ae]=re[Ae]);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}])}(Da.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(),Ae.call(this))},Ae=function(){this.internal.__cell__.lastCell=new he,this.internal.__cell__.pages=1},he=function(){var Ve=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Ve},set:function(Cn){Ve=Cn}});var Ye=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Ye},set:function(Cn){Ye=Cn}});var dt=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return dt},set:function(Cn){dt=Cn}});var Pt=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Pt},set:function(Cn){Pt=Cn}});var Jt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Jt},set:function(Cn){Jt=Cn}});var ut=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ut},set:function(Cn){ut=Cn}});var In=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return In},set:function(Cn){In=Cn}}),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(Ve){return re.call(this),this.internal.__cell__.headerFunction=typeof Ve=="function"?Ve:void 0,this},y.getTextDimensions=function(Ve,Ye){re.call(this);var dt=(Ye=Ye||{}).fontSize||this.getFontSize(),Pt=Ye.font||this.getFont(),Jt=Ye.scaleFactor||this.internal.scaleFactor,ut=0,In=0,Cn=0,Nn=this;if(!Array.isArray(Ve)&&typeof Ve!="string"){if(typeof Ve!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");Ve=String(Ve)}var cn=Ye.maxWidth;cn>0?typeof Ve=="string"?Ve=this.splitTextToSize(Ve,cn):Object.prototype.toString.call(Ve)==="[object Array]"&&(Ve=Ve.reduce(function(lr,Zn){return lr.concat(Nn.splitTextToSize(Zn,cn))},[])):Ve=Array.isArray(Ve)?Ve:[Ve];for(var wr=0;wr<Ve.length;wr++)ut<(Cn=this.getStringUnitWidth(Ve[wr],{font:Pt})*dt)&&(ut=Cn);return ut!==0&&(In=Ve.length),{w:ut/=Jt,h:Math.max((In*dt*this.getLineHeightFactor()-dt*(this.getLineHeightFactor()-1))/Jt,0)}},y.cellAddPage=function(){re.call(this),this.addPage();var Ve=this.internal.__cell__.margins||z;return this.internal.__cell__.lastCell=new he(Ve.left,Ve.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var Ke=y.cell=function(){var Ve;Ve=arguments[0]instanceof he?arguments[0]:new he(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),re.call(this);var Ye=this.internal.__cell__.lastCell,dt=this.internal.__cell__.padding,Pt=this.internal.__cell__.margins||z,Jt=this.internal.__cell__.tableHeaderRow,ut=this.internal.__cell__.printHeaders;return Ye.lineNumber!==void 0&&(Ye.lineNumber===Ve.lineNumber?(Ve.x=(Ye.x||0)+(Ye.width||0),Ve.y=Ye.y||0):Ye.y+Ye.height+Ve.height+Pt.bottom>this.getPageHeight()?(this.cellAddPage(),Ve.y=Pt.top,ut&&Jt&&(this.printHeaderRow(Ve.lineNumber,!0),Ve.y+=Jt[0].height)):Ve.y=Ye.y+Ye.height||Ve.y),Ve.text[0]!==void 0&&(this.rect(Ve.x,Ve.y,Ve.width,Ve.height,E===!0?"FD":void 0),Ve.align==="right"?this.text(Ve.text,Ve.x+Ve.width-dt,Ve.y+dt,{align:"right",baseline:"top"}):Ve.align==="center"?this.text(Ve.text,Ve.x+Ve.width/2,Ve.y+dt,{align:"center",baseline:"top",maxWidth:Ve.width-dt-dt}):this.text(Ve.text,Ve.x+dt,Ve.y+dt,{align:"left",baseline:"top",maxWidth:Ve.width-dt-dt})),this.internal.__cell__.lastCell=Ve,this};y.table=function(Ve,Ye,dt,Pt,Jt){if(re.call(this),!dt)throw new Error("No data for PDF table.");var ut,In,Cn,Nn,cn=[],wr=[],lr=[],Zn={},Ai={},Qi=[],Ii=[],Nr=(Jt=Jt||{}).autoSize||!1,Gn=Jt.printHeaders!==!1,Gr=Jt.css&&Jt.css["font-size"]!==void 0?16*Jt.css["font-size"]:Jt.fontSize||12,un=Jt.margins||Object.assign({width:this.getPageWidth()},z),On=typeof Jt.padding=="number"?Jt.padding:3,mr=Jt.headerBackgroundColor||"#c8c8c8",dr=Jt.headerTextColor||"#000";if(Ae.call(this),this.internal.__cell__.printHeaders=Gn,this.internal.__cell__.margins=un,this.internal.__cell__.table_font_size=Gr,this.internal.__cell__.padding=On,this.internal.__cell__.headerBackgroundColor=mr,this.internal.__cell__.headerTextColor=dr,this.setFontSize(Gr),Pt==null)wr=cn=Object.keys(dt[0]),lr=cn.map(function(){return"left"});else if(Array.isArray(Pt)&&(0,x.Z)(Pt[0])==="object")for(cn=Pt.map(function(Po){return Po.name}),wr=Pt.map(function(Po){return Po.prompt||Po.name||""}),lr=Pt.map(function(Po){return Po.align||"left"}),ut=0;ut<Pt.length;ut+=1)Ai[Pt[ut].name]=.7499990551181103*Pt[ut].width;else Array.isArray(Pt)&&typeof Pt[0]=="string"&&(wr=cn=Pt,lr=cn.map(function(){return"left"}));if(Nr||Array.isArray(Pt)&&typeof Pt[0]=="string")for(ut=0;ut<cn.length;ut+=1){for(Zn[Nn=cn[ut]]=dt.map(function(Po){return Po[Nn]}),this.setFont(void 0,"bold"),Qi.push(this.getTextDimensions(wr[ut],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),In=Zn[Nn],this.setFont(void 0,"normal"),Cn=0;Cn<In.length;Cn+=1)Qi.push(this.getTextDimensions(In[Cn],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);Ai[Nn]=Math.max.apply(null,Qi)+On+On,Qi=[]}if(Gn){var hi={};for(ut=0;ut<cn.length;ut+=1)hi[cn[ut]]={},hi[cn[ut]].text=wr[ut],hi[cn[ut]].align=lr[ut];var Fi=Pe.call(this,hi,Ai);Ii=cn.map(function(Po){return new he(Ve,Ye,Ai[Po],Fi,hi[Po].text,void 0,hi[Po].align)}),this.setTableHeaderRow(Ii),this.printHeaderRow(1,!1)}var Oi=Pt.reduce(function(Po,io){return Po[io.name]=io.align,Po},{});for(ut=0;ut<dt.length;ut+=1){"rowStart"in Jt&&Jt.rowStart instanceof Function&&Jt.rowStart({row:ut,data:dt[ut]},this);var ai=Pe.call(this,dt[ut],Ai);for(Cn=0;Cn<cn.length;Cn+=1){var Pi=dt[ut][cn[Cn]];"cellStart"in Jt&&Jt.cellStart instanceof Function&&Jt.cellStart({row:ut,col:Cn,data:Pi},this),Ke.call(this,new he(Ve,Ye,Ai[cn[Cn]],ai,Pi,ut+2,Oi[cn[Cn]]))}}return this.internal.__cell__.table_x=Ve,this.internal.__cell__.table_y=Ye,this};var Pe=function(Ve,Ye){var dt=this.internal.__cell__.padding,Pt=this.internal.__cell__.table_font_size,Jt=this.internal.scaleFactor;return Object.keys(Ve).map(function(ut){var In=Ve[ut];return this.splitTextToSize(In.hasOwnProperty("text")?In.text:In,Ye[ut]-dt-dt)},this).map(function(ut){return this.getLineHeightFactor()*ut.length*Pt/Jt+dt+dt},this).reduce(function(ut,In){return Math.max(ut,In)},0)};y.setTableHeaderRow=function(Ve){re.call(this),this.internal.__cell__.tableHeaderRow=Ve},y.printHeaderRow=function(Ve,Ye){if(re.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var dt;if(E=!0,typeof this.internal.__cell__.headerFunction=="function"){var Pt=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new he(Pt[0],Pt[1],Pt[2],Pt[3],void 0,-1)}this.setFont(void 0,"bold");for(var Jt=[],ut=0;ut<this.internal.__cell__.tableHeaderRow.length;ut+=1){dt=this.internal.__cell__.tableHeaderRow[ut].clone(),Ye&&(dt.y=this.internal.__cell__.margins.top||0,Jt.push(dt)),dt.lineNumber=Ve;var In=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),Ke.call(this,dt),this.setTextColor(In)}Jt.length>0&&this.setTableHeaderRow(Jt),this.setFont(void 0,"normal"),E=!1}}(Da.API);var DA={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},lf=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],ec=jl(lf),ac=[100,200,300,400,500,600,700,800,900],dh=jl(ac);function Jc(y){var z=y.family.replace(/"|'/g,"").toLowerCase(),E=function(he){return DA[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),Ae=function(he){return typeof ec[he=he||"normal"]=="number"?he:"normal"}(y.stretch);return{family:z,style:E,weight:re,stretch:Ae,src:y.src||[],ref:y.ref||{name:z,style:[Ae,E,re].join(" ")}}}function uf(y,z,E,re){var Ae;for(Ae=E;Ae>=0&&Ae<z.length;Ae+=re)if(y[z[Ae]])return y[z[Ae]];for(Ae=E;Ae>=0&&Ae<z.length;Ae-=re)if(y[z[Ae]])return y[z[Ae]]}var fh={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Rf={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function jd(y){return[y.stretch,y.style,y.weight,y.family].join(" ")}function jf(y){return y.trimLeft()}function Af(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 Rh(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 Qf,I0,L0,rg,im,D0,N0,O0,Zm=["times"];function P0(y,z,E,re,Ae){var he=4,Ke=T0;switch(Ae){case Da.API.image_compression.FAST:he=1,Ke=_0;break;case Da.API.image_compression.MEDIUM:he=6,Ke=k0;break;case Da.API.image_compression.SLOW:he=9,Ke=M0}y=function(Ve,Ye,dt,Pt){for(var Jt,ut=Ve.length/Ye,In=new Uint8Array(Ve.length+ut),Cn=[Pv,_0,T0,k0,M0],Nn=0;Nn<ut;Nn+=1){var cn=Nn*Ye,wr=Ve.subarray(cn,cn+Ye);if(Pt)In.set(Pt(wr,dt,Jt),cn+Nn);else{for(var lr=Cn.length,Zn=[],Ai=0;Ai<lr;Ai+=1)Zn[Ai]=Cn[Ai](wr,dt,Jt);var Qi=Tv(Zn.concat());In.set(Zn[Qi],cn+Nn)}Jt=wr}return In}(y,z,Math.ceil(E*re/8),Ke);var Pe=pi(y,{level:he});return Da.API.__addimage__.arrayBufferToBinaryString(Pe)}function Pv(y){var z=Array.apply([],y);return z.unshift(0),z}function _0(y,z){var E=y.length,re=[];re[0]=1;for(var Ae=0;Ae<E;Ae+=1){var he=y[Ae-z]||0;re[Ae+1]=y[Ae]-he+256&255}return re}function T0(y,z,E){var re=y.length,Ae=[];Ae[0]=2;for(var he=0;he<re;he+=1){var Ke=E&&E[he]||0;Ae[he+1]=y[he]-Ke+256&255}return Ae}function k0(y,z,E){var re=y.length,Ae=[];Ae[0]=3;for(var he=0;he<re;he+=1){var Ke=y[he-z]||0,Pe=E&&E[he]||0;Ae[he+1]=y[he]+256-(Ke+Pe>>>1)&255}return Ae}function M0(y,z,E){var re=y.length,Ae=[];Ae[0]=4;for(var he=0;he<re;he+=1){var Ke=_v(y[he-z]||0,E&&E[he]||0,E&&E[he-z]||0);Ae[he+1]=y[he]-Ke+256&255}return Ae}function _v(y,z,E){if(y===z&&z===E)return y;var re=Math.abs(z-E),Ae=Math.abs(y-E),he=Math.abs(y+z-E-E);return re<=Ae&&re<=he?y:Ae<=he?z:E}function Tv(y){var z=y.map(function(E){return E.reduce(function(re,Ae){return re+Math.abs(Ae)},0)});return z.indexOf(Math.min.apply(null,z))}function Wm(y,z,E){var re=z*E,Ae=Math.floor(re/8),he=16-(re-8*Ae+E),Ke=(1<<E)-1;return R0(y,Ae)>>he&Ke}function U0(y,z,E,re){var Ae=E*re,he=Math.floor(Ae/8),Ke=16-(Ae-8*he+re),Pe=(1<<re)-1,Ve=(z&Pe)<<Ke;(function(Ye,dt,Pt){if(dt+1<Ye.byteLength)Ye.setUint16(dt,Pt,!1);else{var Jt=Pt>>8&255;Ye.setUint8(dt,Jt)}})(y,he,R0(y,he)&~(Pe<<Ke)&65535|Ve)}function R0(y,z){return z+1<y.byteLength?y.getUint16(z,!1):y.getUint8(z)<<8}function kv(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,Ae=y[z++],he=Ae>>7,Ke=1<<1+(7&Ae);y[z++],y[z++];var Pe=null,Ve=null;he&&(Pe=z,Ve=Ke,z+=3*Ke);var Ye=!0,dt=[],Pt=0,Jt=null,ut=0,In=null;for(this.width=E,this.height=re;Ye&&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,In=y[z++]|y[z++]<<8,z++;else for(z+=12;;){if(!((un=y[z++])>=0))throw Error("Invalid block size");if(un===0)break;z+=un}break;case 249:if(y[z++]!==4||y[z+4]!==0)throw new Error("Invalid graphics extension block.");var Cn=y[z++];Pt=y[z++]|y[z++]<<8,Jt=y[z++],1&Cn||(Jt=null),ut=Cn>>2&7,z++;break;case 254:for(;;){if(!((un=y[z++])>=0))throw Error("Invalid block size");if(un===0)break;z+=un}break;default:throw new Error("Unknown graphic control label: 0x"+y[z-1].toString(16))}break;case 44:var Nn=y[z++]|y[z++]<<8,cn=y[z++]|y[z++]<<8,wr=y[z++]|y[z++]<<8,lr=y[z++]|y[z++]<<8,Zn=y[z++],Ai=Zn>>6&1,Qi=1<<1+(7&Zn),Ii=Pe,Nr=Ve,Gn=!1;Zn>>7&&(Gn=!0,Ii=z,Nr=Qi,z+=3*Qi);var Gr=z;for(z++;;){var un;if(!((un=y[z++])>=0))throw Error("Invalid block size");if(un===0)break;z+=un}dt.push({x:Nn,y:cn,width:wr,height:lr,has_local_palette:Gn,palette_offset:Ii,palette_size:Nr,data_offset:Gr,data_length:z-Gr,transparent_index:Jt,interlaced:!!Ai,delay:Pt,disposal:ut});break;case 59:Ye=!1;break;default:throw new Error("Unknown gif block: 0x"+y[z-1].toString(16))}this.numFrames=function(){return dt.length},this.loopCount=function(){return In},this.frameInfo=function(On){if(On<0||On>=dt.length)throw new Error("Frame index out of range.");return dt[On]},this.decodeAndBlitFrameBGRA=function(On,mr){var dr=this.frameInfo(On),hi=dr.width*dr.height,Fi=new Uint8Array(hi);j0(y,dr.data_offset,Fi,hi);var Oi=dr.palette_offset,ai=dr.transparent_index;ai===null&&(ai=256);var Pi=dr.width,Po=E-Pi,io=Pi,nn=4*(dr.y*E+dr.x),Kn=4*((dr.y+dr.height)*E+dr.x),rr=nn,Br=4*Po;dr.interlaced===!0&&(Br+=4*E*7);for(var Rr=8,si=0,Di=Fi.length;si<Di;++si){var xi=Fi[si];if(io===0&&(io=Pi,(rr+=Br)>=Kn&&(Br=4*Po+4*E*(Rr-1),rr=nn+(Pi+Po)*(Rr<<1),Rr>>=1)),xi===ai)rr+=4;else{var Xi=y[Oi+3*xi],wo=y[Oi+3*xi+1],ua=y[Oi+3*xi+2];mr[rr++]=ua,mr[rr++]=wo,mr[rr++]=Xi,mr[rr++]=255}--io}},this.decodeAndBlitFrameRGBA=function(On,mr){var dr=this.frameInfo(On),hi=dr.width*dr.height,Fi=new Uint8Array(hi);j0(y,dr.data_offset,Fi,hi);var Oi=dr.palette_offset,ai=dr.transparent_index;ai===null&&(ai=256);var Pi=dr.width,Po=E-Pi,io=Pi,nn=4*(dr.y*E+dr.x),Kn=4*((dr.y+dr.height)*E+dr.x),rr=nn,Br=4*Po;dr.interlaced===!0&&(Br+=4*E*7);for(var Rr=8,si=0,Di=Fi.length;si<Di;++si){var xi=Fi[si];if(io===0&&(io=Pi,(rr+=Br)>=Kn&&(Br=4*Po+4*E*(Rr-1),rr=nn+(Pi+Po)*(Rr<<1),Rr>>=1)),xi===ai)rr+=4;else{var Xi=y[Oi+3*xi],wo=y[Oi+3*xi+1],ua=y[Oi+3*xi+2];mr[rr++]=Xi,mr[rr++]=wo,mr[rr++]=ua,mr[rr++]=255}--io}}}function j0(y,z,E,re){for(var Ae=y[z++],he=1<<Ae,Ke=he+1,Pe=Ke+1,Ve=Ae+1,Ye=(1<<Ve)-1,dt=0,Pt=0,Jt=0,ut=y[z++],In=new Int32Array(4096),Cn=null;;){for(;dt<16&&ut!==0;)Pt|=y[z++]<<dt,dt+=8,ut===1?ut=y[z++]:--ut;if(dt<Ve)break;var Nn=Pt&Ye;if(Pt>>=Ve,dt-=Ve,Nn!==he){if(Nn===Ke)break;for(var cn=Nn<Pe?Nn:Cn,wr=0,lr=cn;lr>he;)lr=In[lr]>>8,++wr;var Zn=lr;if(Jt+wr+(cn!==Nn?1:0)>re)return void cl.log("Warning, gif stream longer than expected.");E[Jt++]=Zn;var Ai=Jt+=wr;for(cn!==Nn&&(E[Jt++]=Zn),lr=cn;wr--;)lr=In[lr],E[--Ai]=255&lr,lr>>=8;Cn!==null&&Pe<4096&&(In[Pe++]=Cn<<8|Zn,Pe>=Ye+1&&Ve<12&&(++Ve,Ye=Ye<<1|1)),Cn=Nn}else Pe=Ke+1,Ye=(1<<(Ve=Ae+1))-1,Cn=null}return Jt!==re&&cl.log("Warning, gif stream shorter than expected."),E}function $m(y){var z,E,re,Ae,he,Ke=Math.floor,Pe=new Array(64),Ve=new Array(64),Ye=new Array(64),dt=new Array(64),Pt=new Array(65535),Jt=new Array(65535),ut=new Array(64),In=new Array(64),Cn=[],Nn=0,cn=7,wr=new Array(64),lr=new Array(64),Zn=new Array(64),Ai=new Array(256),Qi=new Array(2048),Ii=[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],Nr=[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],Gr=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],un=[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],On=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],mr=[0,1,2,3,4,5,6,7,8,9,10,11],dr=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],hi=[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 Fi(nn,Kn){for(var rr=0,Br=0,Rr=new Array,si=1;si<=16;si++){for(var Di=1;Di<=nn[si];Di++)Rr[Kn[Br]]=[],Rr[Kn[Br]][0]=rr,Rr[Kn[Br]][1]=si,Br++,rr++;rr*=2}return Rr}function Oi(nn){for(var Kn=nn[0],rr=nn[1]-1;rr>=0;)Kn&1<<rr&&(Nn|=1<<cn),rr--,--cn<0&&(Nn==255?(ai(255),ai(0)):ai(Nn),cn=7,Nn=0)}function ai(nn){Cn.push(nn)}function Pi(nn){ai(nn>>8&255),ai(255&nn)}function Po(nn,Kn,rr,Br,Rr){for(var si,Di=Rr[0],xi=Rr[240],Xi=function(Fo,Za){var ha,Qs,Ya,Ql,_s,Ts,fu,Hs,Ga,fs,Va=0;for(Ga=0;Ga<8;++Ga){ha=Fo[Va],Qs=Fo[Va+1],Ya=Fo[Va+2],Ql=Fo[Va+3],_s=Fo[Va+4],Ts=Fo[Va+5],fu=Fo[Va+6];var Su=ha+(Hs=Fo[Va+7]),Hl=ha-Hs,ja=Qs+fu,ks=Qs-fu,vu=Ya+Ts,as=Ya-Ts,yl=Ql+_s,Ms=Ql-_s,bA=Su+yl,jA=Su-yl,yu=ja+vu,xs=ja-vu;Fo[Va]=bA+yu,Fo[Va+4]=bA-yu;var nu=.707106781*(xs+jA);Fo[Va+2]=jA+nu,Fo[Va+6]=jA-nu;var bp=.382683433*((bA=Ms+as)-(xs=ks+Hl)),Lc=.5411961*bA+bp,hh=1.306562965*xs+bp,zf=.707106781*(yu=as+ks),ss=Hl+zf,ph=Hl-zf;Fo[Va+5]=ph+Lc,Fo[Va+3]=ph-Lc,Fo[Va+1]=ss+hh,Fo[Va+7]=ss-hh,Va+=8}for(Va=0,Ga=0;Ga<8;++Ga){ha=Fo[Va],Qs=Fo[Va+8],Ya=Fo[Va+16],Ql=Fo[Va+24],_s=Fo[Va+32],Ts=Fo[Va+40],fu=Fo[Va+48];var gh=ha+(Hs=Fo[Va+56]),Qd=ha-Hs,Hd=Qs+fu,AA=Qs-fu,tc=Ya+Ts,sc=Ya-Ts,Cp=Ql+_s,Qh=Ql-_s,ff=gh+Cp,Kf=gh-Cp,hf=Hd+tc,pf=Hd-tc;Fo[Va]=ff+hf,Fo[Va+32]=ff-hf;var zd=.707106781*(pf+Kf);Fo[Va+16]=Kf+zd,Fo[Va+48]=Kf-zd;var xp=.382683433*((ff=Qh+sc)-(pf=AA+Qd)),Zf=.5411961*ff+xp,Bp=1.306562965*pf+xp,ig=.707106781*(hf=sc+AA),og=Qd+ig,ag=Qd-ig;Fo[Va+40]=ag+Zf,Fo[Va+24]=ag-Zf,Fo[Va+8]=og+Bp,Fo[Va+56]=og-Bp,Va++}for(Ga=0;Ga<64;++Ga)fs=Fo[Ga]*Za[Ga],ut[Ga]=fs>0?fs+.5|0:fs-.5|0;return ut}(nn,Kn),wo=0;wo<64;++wo)In[Ii[wo]]=Xi[wo];var ua=In[0]-rr;rr=In[0],ua==0?Oi(Br[0]):(Oi(Br[Jt[si=32767+ua]]),Oi(Pt[si]));for(var ca=63;ca>0&&In[ca]==0;)ca--;if(ca==0)return Oi(Di),rr;for(var Mi,Jn=1;Jn<=ca;){for(var fl=Jn;In[Jn]==0&&Jn<=ca;)++Jn;var js=Jn-fl;if(js>=16){Mi=js>>4;for(var ns=1;ns<=Mi;++ns)Oi(xi);js&=15}si=32767+In[Jn],Oi(Rr[(js<<4)+Jt[si]]),Oi(Pt[si]),Jn++}return ca!=63&&Oi(Di),rr}function io(nn){nn=Math.min(Math.max(nn,1),100),he!=nn&&(function(Kn){for(var rr=[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],Br=0;Br<64;Br++){var Rr=Ke((rr[Br]*Kn+50)/100);Rr=Math.min(Math.max(Rr,1),255),Pe[Ii[Br]]=Rr}for(var si=[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],Di=0;Di<64;Di++){var xi=Ke((si[Di]*Kn+50)/100);xi=Math.min(Math.max(xi,1),255),Ve[Ii[Di]]=xi}for(var Xi=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],wo=0,ua=0;ua<8;ua++)for(var ca=0;ca<8;ca++)Ye[wo]=1/(Pe[Ii[wo]]*Xi[ua]*Xi[ca]*8),dt[wo]=1/(Ve[Ii[wo]]*Xi[ua]*Xi[ca]*8),wo++}(nn<50?Math.floor(5e3/nn):Math.floor(200-2*nn)),he=nn)}this.encode=function(nn,Kn){Kn&&io(Kn),Cn=new Array,Nn=0,cn=7,Pi(65496),Pi(65504),Pi(16),ai(74),ai(70),ai(73),ai(70),ai(0),ai(1),ai(1),ai(0),Pi(1),Pi(1),ai(0),ai(0),function(){Pi(65499),Pi(132),ai(0);for(var Qs=0;Qs<64;Qs++)ai(Pe[Qs]);ai(1);for(var Ya=0;Ya<64;Ya++)ai(Ve[Ya])}(),function(Qs,Ya){Pi(65472),Pi(17),ai(8),Pi(Ya),Pi(Qs),ai(3),ai(1),ai(17),ai(0),ai(2),ai(17),ai(1),ai(3),ai(17),ai(1)}(nn.width,nn.height),function(){Pi(65476),Pi(418),ai(0);for(var Qs=0;Qs<16;Qs++)ai(Nr[Qs+1]);for(var Ya=0;Ya<=11;Ya++)ai(Gn[Ya]);ai(16);for(var Ql=0;Ql<16;Ql++)ai(Gr[Ql+1]);for(var _s=0;_s<=161;_s++)ai(un[_s]);ai(1);for(var Ts=0;Ts<16;Ts++)ai(On[Ts+1]);for(var fu=0;fu<=11;fu++)ai(mr[fu]);ai(17);for(var Hs=0;Hs<16;Hs++)ai(dr[Hs+1]);for(var Ga=0;Ga<=161;Ga++)ai(hi[Ga])}(),Pi(65498),Pi(12),ai(3),ai(1),ai(0),ai(2),ai(17),ai(3),ai(17),ai(0),ai(63),ai(0);var rr=0,Br=0,Rr=0;Nn=0,cn=7,this.encode.displayName="_encode_";for(var si,Di,xi,Xi,wo,ua,ca,Mi,Jn,fl=nn.data,js=nn.width,ns=nn.height,Fo=4*js,Za=0;Za<ns;){for(si=0;si<Fo;){for(wo=Fo*Za+si,ca=-1,Mi=0,Jn=0;Jn<64;Jn++)ua=wo+(Mi=Jn>>3)*Fo+(ca=4*(7&Jn)),Za+Mi>=ns&&(ua-=Fo*(Za+1+Mi-ns)),si+ca>=Fo&&(ua-=si+ca-Fo+4),Di=fl[ua++],xi=fl[ua++],Xi=fl[ua++],wr[Jn]=(Qi[Di]+Qi[xi+256|0]+Qi[Xi+512|0]>>16)-128,lr[Jn]=(Qi[Di+768|0]+Qi[xi+1024|0]+Qi[Xi+1280|0]>>16)-128,Zn[Jn]=(Qi[Di+1280|0]+Qi[xi+1536|0]+Qi[Xi+1792|0]>>16)-128;rr=Po(wr,Ye,rr,z,re),Br=Po(lr,dt,Br,E,Ae),Rr=Po(Zn,dt,Rr,E,Ae),si+=32}Za+=8}if(cn>=0){var ha=[];ha[1]=cn+1,ha[0]=(1<<cn+1)-1,Oi(ha)}return Pi(65497),new Uint8Array(Cn)},y=y||50,function(){for(var nn=String.fromCharCode,Kn=0;Kn<256;Kn++)Ai[Kn]=nn(Kn)}(),z=Fi(Nr,Gn),E=Fi(On,mr),re=Fi(Gr,un),Ae=Fi(dr,hi),function(){for(var nn=1,Kn=2,rr=1;rr<=15;rr++){for(var Br=nn;Br<Kn;Br++)Jt[32767+Br]=rr,Pt[32767+Br]=[],Pt[32767+Br][1]=rr,Pt[32767+Br][0]=Br;for(var Rr=-(Kn-1);Rr<=-nn;Rr++)Jt[32767+Rr]=rr,Pt[32767+Rr]=[],Pt[32767+Rr][1]=rr,Pt[32767+Rr][0]=Kn-1+Rr;nn<<=1,Kn<<=1}}(),function(){for(var nn=0;nn<256;nn++)Qi[nn]=19595*nn,Qi[nn+256|0]=38470*nn,Qi[nn+512|0]=7471*nn+32768,Qi[nn+768|0]=-11059*nn,Qi[nn+1024|0]=-21709*nn,Qi[nn+1280|0]=32768*nn+8421375,Qi[nn+1536|0]=-27439*nn,Qi[nn+1792|0]=-5329*nn}(),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 Q0(y){function z(Gn){if(!Gn)throw Error("assert :P")}function E(Gn,Gr,un){for(var On=0;4>On;On++)if(Gn[Gr+On]!=un.charCodeAt(On))return!0;return!1}function re(Gn,Gr,un,On,mr){for(var dr=0;dr<mr;dr++)Gn[Gr+dr]=un[On+dr]}function Ae(Gn,Gr,un,On){for(var mr=0;mr<On;mr++)Gn[Gr+mr]=un}function he(Gn){return new Int32Array(Gn)}function Ke(Gn,Gr){for(var un=[],On=0;On<Gn;On++)un.push(new Gr);return un}function Pe(Gn,Gr){var un=[];return function On(mr,dr,hi){for(var Fi=hi[dr],Oi=0;Oi<Fi&&(mr.push(hi.length>dr+1?[]:new Gr),!(hi.length<dr+1));Oi++)On(mr[Oi],dr+1,hi)}(un,0,Gn),un}var Ve=function(){var Gn=this;function Gr(pe,Fe){for(var nt=1<<Fe-1>>>0;pe&nt;)nt>>>=1;return nt?(pe&nt-1)+nt:pe}function un(pe,Fe,nt,xt,Ht){z(!(xt%nt));do pe[Fe+(xt-=nt)]=Ht;while(0<xt)}function On(pe,Fe,nt,xt,Ht){if(z(2328>=Ht),512>=Ht)var qt=he(512);else if((qt=he(Ht))==null)return 0;return function(tn,fn,wn,kn,Sr,li){var Mn,kr,Vr=fn,Ui=1<<wn,ii=he(16),zi=he(16);for(z(Sr!=0),z(kn!=null),z(tn!=null),z(0<wn),kr=0;kr<Sr;++kr){if(15<kn[kr])return 0;++ii[kn[kr]]}if(ii[0]==Sr)return 0;for(zi[1]=0,Mn=1;15>Mn;++Mn){if(ii[Mn]>1<<Mn)return 0;zi[Mn+1]=zi[Mn]+ii[Mn]}for(kr=0;kr<Sr;++kr)Mn=kn[kr],0<kn[kr]&&(li[zi[Mn]++]=kr);if(zi[15]==1)return(kn=new mr).g=0,kn.value=li[0],un(tn,Vr,1,Ui,kn),Ui;var Gi,bo=-1,oo=Ui-1,Qa=0,Ea=1,$s=1,Na=1<<wn;for(kr=0,Mn=1,Sr=2;Mn<=wn;++Mn,Sr<<=1){if(Ea+=$s<<=1,0>($s-=ii[Mn]))return 0;for(;0<ii[Mn];--ii[Mn])(kn=new mr).g=Mn,kn.value=li[kr++],un(tn,Vr+Qa,Sr,Na,kn),Qa=Gr(Qa,Mn)}for(Mn=wn+1,Sr=2;15>=Mn;++Mn,Sr<<=1){if(Ea+=$s<<=1,0>($s-=ii[Mn]))return 0;for(;0<ii[Mn];--ii[Mn]){if(kn=new mr,(Qa&oo)!=bo){for(Vr+=Na,Gi=1<<(bo=Mn)-wn;15>bo&&!(0>=(Gi-=ii[bo]));)++bo,Gi<<=1;Ui+=Na=1<<(Gi=bo-wn),tn[fn+(bo=Qa&oo)].g=Gi+wn,tn[fn+bo].value=Vr-fn-bo}kn.g=Mn-wn,kn.value=li[kr++],un(tn,Vr+(Qa>>wn),Sr,Na,kn),Qa=Gr(Qa,Mn)}}return Ea!=2*zi[15]-1?0:Ui}(pe,Fe,nt,xt,Ht,qt)}function mr(){this.value=this.g=0}function dr(){this.value=this.g=0}function hi(){this.G=Ke(5,mr),this.H=he(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=Ke(Qp,dr)}function Fi(pe,Fe,nt,xt){z(pe!=null),z(Fe!=null),z(2147483648>xt),pe.Ca=254,pe.I=0,pe.b=-8,pe.Ka=0,pe.oa=Fe,pe.pa=nt,pe.Jd=Fe,pe.Yc=nt+xt,pe.Zc=4<=xt?nt+xt-4+1:nt,Di(pe)}function Oi(pe,Fe){for(var nt=0;0<Fe--;)nt|=Xi(pe,128)<<Fe;return nt}function ai(pe,Fe){var nt=Oi(pe,Fe);return xi(pe)?-nt:nt}function Pi(pe,Fe,nt,xt){var Ht,qt=0;for(z(pe!=null),z(Fe!=null),z(4294967288>xt),pe.Sb=xt,pe.Ra=0,pe.u=0,pe.h=0,4<xt&&(xt=4),Ht=0;Ht<xt;++Ht)qt+=Fe[nt+Ht]<<8*Ht;pe.Ra=qt,pe.bb=xt,pe.oa=Fe,pe.pa=nt}function Po(pe){for(;8<=pe.u&&pe.bb<pe.Sb;)pe.Ra>>>=8,pe.Ra+=pe.oa[pe.pa+pe.bb]<<Wh-8>>>0,++pe.bb,pe.u-=8;Br(pe)&&(pe.h=1,pe.u=0)}function io(pe,Fe){if(z(0<=Fe),!pe.h&&Fe<=yd){var nt=rr(pe)&vd[Fe];return pe.u+=Fe,Po(pe),nt}return pe.h=1,pe.u=0}function nn(){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 rr(pe){return pe.Ra>>>(pe.u&Wh-1)>>>0}function Br(pe){return z(pe.bb<=pe.Sb),pe.h||pe.bb==pe.Sb&&pe.u>Wh}function Rr(pe,Fe){pe.u=Fe,pe.h=Br(pe)}function si(pe){pe.u>=xh&&(z(pe.u>=xh),Po(pe))}function Di(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 xi(pe){return Oi(pe,1)}function Xi(pe,Fe){var nt=pe.Ca;0>pe.b&&Di(pe);var xt=pe.b,Ht=nt*Fe>>>8,qt=(pe.I>>>xt>Ht)+0;for(qt?(nt-=Ht,pe.I-=Ht+1<<xt>>>0):nt=Ht+1,xt=nt,Ht=0;256<=xt;)Ht+=8,xt>>=8;return xt=7^Ht+$h[xt],pe.b-=xt,pe.Ca=(nt<<xt)-1,qt}function wo(pe,Fe,nt){pe[Fe+0]=nt>>24&255,pe[Fe+1]=nt>>16&255,pe[Fe+2]=nt>>8&255,pe[Fe+3]=255&nt}function ua(pe,Fe){return pe[Fe+0]|pe[Fe+1]<<8}function ca(pe,Fe){return ua(pe,Fe)|pe[Fe+2]<<16}function Mi(pe,Fe){return ua(pe,Fe)|ua(pe,Fe+2)<<16}function Jn(pe,Fe){var nt=1<<Fe;return z(pe!=null),z(0<Fe),pe.X=he(nt),pe.X==null?0:(pe.Mb=32-Fe,pe.Xa=Fe,1)}function fl(pe,Fe){z(pe!=null),z(Fe!=null),z(pe.Xa==Fe.Xa),re(Fe.X,0,pe.X,0,1<<Fe.Xa)}function js(){this.X=[],this.Xa=this.Mb=0}function ns(pe,Fe,nt,xt){z(nt!=null),z(xt!=null);var Ht=nt[0],qt=xt[0];return Ht==0&&(Ht=(pe*qt+Fe/2)/Fe),qt==0&&(qt=(Fe*Ht+pe/2)/pe),0>=Ht||0>=qt?0:(nt[0]=Ht,xt[0]=qt,1)}function Fo(pe,Fe){return pe+(1<<Fe)-1>>>Fe}function Za(pe,Fe){return((4278255360&pe)+(4278255360&Fe)>>>0&4278255360)+((16711935&pe)+(16711935&Fe)>>>0&16711935)>>>0}function ha(pe,Fe){Gn[Fe]=function(nt,xt,Ht,qt,tn,fn,wn){var kn;for(kn=0;kn<tn;++kn){var Sr=Gn[pe](fn[wn+kn-1],Ht,qt+kn);fn[wn+kn]=Za(nt[xt+kn],Sr)}}}function Qs(){this.ud=this.hd=this.jd=0}function Ya(pe,Fe){return((4278124286&(pe^Fe))>>>1)+(pe&Fe)>>>0}function Ql(pe){return 0<=pe&&256>pe?pe:0>pe?0:255<pe?255:void 0}function _s(pe,Fe){return Ql(pe+(pe-Fe+.5>>1))}function Ts(pe,Fe,nt){return Math.abs(Fe-nt)-Math.abs(pe-nt)}function fu(pe,Fe,nt,xt,Ht,qt,tn){for(xt=qt[tn-1],nt=0;nt<Ht;++nt)qt[tn+nt]=xt=Za(pe[Fe+nt],xt)}function Hs(pe,Fe,nt,xt,Ht){var qt;for(qt=0;qt<nt;++qt){var tn=pe[Fe+qt],fn=tn>>8&255,wn=16711935&(wn=(wn=16711935&tn)+((fn<<16)+fn));xt[Ht+qt]=(4278255360&tn)+wn>>>0}}function Ga(pe,Fe){Fe.jd=255&pe,Fe.hd=pe>>8&255,Fe.ud=pe>>16&255}function fs(pe,Fe,nt,xt,Ht,qt){var tn;for(tn=0;tn<xt;++tn){var fn=Fe[nt+tn],wn=fn>>>8,kn=fn,Sr=255&(Sr=(Sr=fn>>>16)+((pe.jd<<24>>24)*(wn<<24>>24)>>>5));kn=255&(kn=(kn+=(pe.hd<<24>>24)*(wn<<24>>24)>>>5)+((pe.ud<<24>>24)*(Sr<<24>>24)>>>5)),Ht[qt+tn]=(4278255360&fn)+(Sr<<16)+kn}}function Va(pe,Fe,nt,xt,Ht){Gn[Fe]=function(qt,tn,fn,wn,kn,Sr,li,Mn,kr){for(wn=li;wn<Mn;++wn)for(li=0;li<kr;++li)kn[Sr++]=Ht(fn[xt(qt[tn++])])},Gn[pe]=function(qt,tn,fn,wn,kn,Sr,li){var Mn=8>>qt.b,kr=qt.Ea,Vr=qt.K[0],Ui=qt.w;if(8>Mn)for(qt=(1<<qt.b)-1,Ui=(1<<Mn)-1;tn<fn;++tn){var ii,zi=0;for(ii=0;ii<kr;++ii)ii&qt||(zi=xt(wn[kn++])),Sr[li++]=Ht(Vr[zi&Ui]),zi>>=Mn}else Gn["VP8LMapColor"+nt](wn,kn,Vr,Ui,Sr,li,tn,fn,kr)}}function Su(pe,Fe,nt,xt,Ht){for(nt=Fe+nt;Fe<nt;){var qt=pe[Fe++];xt[Ht++]=qt>>16&255,xt[Ht++]=qt>>8&255,xt[Ht++]=255&qt}}function Hl(pe,Fe,nt,xt,Ht){for(nt=Fe+nt;Fe<nt;){var qt=pe[Fe++];xt[Ht++]=qt>>16&255,xt[Ht++]=qt>>8&255,xt[Ht++]=255&qt,xt[Ht++]=qt>>24&255}}function ja(pe,Fe,nt,xt,Ht){for(nt=Fe+nt;Fe<nt;){var qt=(tn=pe[Fe++])>>16&240|tn>>12&15,tn=240&tn|tn>>28&15;xt[Ht++]=qt,xt[Ht++]=tn}}function ks(pe,Fe,nt,xt,Ht){for(nt=Fe+nt;Fe<nt;){var qt=(tn=pe[Fe++])>>16&248|tn>>13&7,tn=tn>>5&224|tn>>3&31;xt[Ht++]=qt,xt[Ht++]=tn}}function vu(pe,Fe,nt,xt,Ht){for(nt=Fe+nt;Fe<nt;){var qt=pe[Fe++];xt[Ht++]=255&qt,xt[Ht++]=qt>>8&255,xt[Ht++]=qt>>16&255}}function as(pe,Fe,nt,xt,Ht,qt){if(qt==0)for(nt=Fe+nt;Fe<nt;)wo(xt,((qt=pe[Fe++])[0]>>24|qt[1]>>8&65280|qt[2]<<8&16711680|qt[3]<<24)>>>0),Ht+=32;else re(xt,Ht,pe,Fe,nt)}function yl(pe,Fe){Gn[Fe][0]=Gn[pe+"0"],Gn[Fe][1]=Gn[pe+"1"],Gn[Fe][2]=Gn[pe+"2"],Gn[Fe][3]=Gn[pe+"3"],Gn[Fe][4]=Gn[pe+"4"],Gn[Fe][5]=Gn[pe+"5"],Gn[Fe][6]=Gn[pe+"6"],Gn[Fe][7]=Gn[pe+"7"],Gn[Fe][8]=Gn[pe+"8"],Gn[Fe][9]=Gn[pe+"9"],Gn[Fe][10]=Gn[pe+"10"],Gn[Fe][11]=Gn[pe+"11"],Gn[Fe][12]=Gn[pe+"12"],Gn[Fe][13]=Gn[pe+"13"],Gn[Fe][14]=Gn[pe+"0"],Gn[Fe][15]=Gn[pe+"0"]}function Ms(pe){return pe==d0||pe==f0||pe==Lm||pe==h0}function bA(){this.eb=[],this.size=this.A=this.fb=0}function jA(){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 yu(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new bA,this.f.kb=new jA,this.sd=null}function xs(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function nu(){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 bp(pe){return alert("todo:WebPSamplerProcessPlane"),pe.T}function Lc(pe,Fe){var nt=pe.T,xt=Fe.ba.f.RGBA,Ht=xt.eb,qt=xt.fb+pe.ka*xt.A,tn=Vd[Fe.ba.S],fn=pe.y,wn=pe.O,kn=pe.f,Sr=pe.N,li=pe.ea,Mn=pe.W,kr=Fe.cc,Vr=Fe.dc,Ui=Fe.Mc,ii=Fe.Nc,zi=pe.ka,Gi=pe.ka+pe.T,bo=pe.U,oo=bo+1>>1;for(zi==0?tn(fn,wn,null,null,kn,Sr,li,Mn,kn,Sr,li,Mn,Ht,qt,null,null,bo):(tn(Fe.ec,Fe.fc,fn,wn,kr,Vr,Ui,ii,kn,Sr,li,Mn,Ht,qt-xt.A,Ht,qt,bo),++nt);zi+2<Gi;zi+=2)kr=kn,Vr=Sr,Ui=li,ii=Mn,Sr+=pe.Rc,Mn+=pe.Rc,qt+=2*xt.A,tn(fn,(wn+=2*pe.fa)-pe.fa,fn,wn,kr,Vr,Ui,ii,kn,Sr,li,Mn,Ht,qt-xt.A,Ht,qt,bo);return wn+=pe.fa,pe.j+Gi<pe.o?(re(Fe.ec,Fe.fc,fn,wn,bo),re(Fe.cc,Fe.dc,kn,Sr,oo),re(Fe.Mc,Fe.Nc,li,Mn,oo),nt--):1&Gi||tn(fn,wn,null,null,kn,Sr,li,Mn,kn,Sr,li,Mn,Ht,qt+xt.A,null,null,bo),nt}function hh(pe,Fe,nt){var xt=pe.F,Ht=[pe.J];if(xt!=null){var qt=pe.U,tn=Fe.ba.S,fn=tn==Im||tn==Lm;Fe=Fe.ba.f.RGBA;var wn=[0],kn=pe.ka;wn[0]=pe.T,pe.Kb&&(kn==0?--wn[0]:(--kn,Ht[0]-=pe.width),pe.j+pe.ka+pe.T==pe.o&&(wn[0]=pe.o-pe.j-kn));var Sr=Fe.eb;kn=Fe.fb+kn*Fe.A,pe=J0(xt,Ht[0],pe.width,qt,wn,Sr,kn+(fn?0:3),Fe.A),z(nt==wn),pe&&Ms(tn)&&$g(Sr,kn,fn,qt,wn,Fe.A)}return 0}function zf(pe){var Fe=pe.ma,nt=Fe.ba.S,xt=11>nt,Ht=nt==Sm||nt==Fm||nt==Im||nt==c0||nt==12||Ms(nt);if(Fe.memory=null,Fe.Ib=null,Fe.Jb=null,Fe.Nd=null,!Rg(Fe.Oa,pe,Ht?11:12))return 0;if(Ht&&Ms(nt)&&wm(),pe.da)alert("todo:use_scaling");else{if(xt){if(Fe.Ib=bp,pe.Kb){if(nt=pe.U+1>>1,Fe.memory=he(pe.U+2*nt),Fe.memory==null)return 0;Fe.ec=Fe.memory,Fe.fc=0,Fe.cc=Fe.ec,Fe.dc=Fe.fc+pe.U,Fe.Mc=Fe.cc,Fe.Nc=Fe.dc+nt,Fe.Ib=Lc,wm()}}else alert("todo:EmitYUV");Ht&&(Fe.Jb=hh,xt&&Zd())}if(xt&&!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=Vg;pe<m0;++pe)Fe=76283*(pe-16)+Nm>>Dm,w1[pe-Vg]=cA(Fe,255),b1[pe-Vg]=cA(Fe+8>>4,15);pv=1}return 1}function ss(pe){var Fe=pe.ma,nt=pe.U,xt=pe.T;return z(!(1&pe.ka)),0>=nt||0>=xt?0:(nt=Fe.Ib(pe,Fe),Fe.Jb!=null&&Fe.Jb(pe,Fe,nt),Fe.Dc+=nt,1)}function ph(pe){pe.ma.memory=null}function gh(pe,Fe,nt,xt){return io(pe,8)!=47?0:(Fe[0]=io(pe,14)+1,nt[0]=io(pe,14)+1,xt[0]=io(pe,1),io(pe,3)!=0?0:!pe.h)}function Qd(pe,Fe){if(4>pe)return pe+1;var nt=pe-2>>1;return(2+(1&pe)<<nt)+io(Fe,nt)+1}function Hd(pe,Fe){return 120<Fe?Fe-120:1<=(nt=((nt=n1[Fe-1])>>4)*pe+(8-(15&nt)))?nt:1;var nt}function AA(pe,Fe,nt){var xt=rr(nt),Ht=pe[Fe+=255&xt].g-8;return 0<Ht&&(Rr(nt,nt.u+8),xt=rr(nt),Fe+=pe[Fe].value,Fe+=xt&(1<<Ht)-1),Rr(nt,nt.u+pe[Fe].g),pe[Fe].value}function tc(pe,Fe,nt){return nt.g+=pe.g,nt.value+=pe.value<<Fe>>>0,z(8>=nt.g),pe.g}function sc(pe,Fe,nt){var xt=pe.xc;return z((Fe=xt==0?0:pe.vc[pe.md*(nt>>xt)+(Fe>>xt)])<pe.Wb),pe.Ya[Fe]}function Cp(pe,Fe,nt,xt){var Ht=pe.ab,qt=pe.c*Fe,tn=pe.C;Fe=tn+Fe;var fn=nt,wn=xt;for(xt=pe.Ta,nt=pe.Ua;0<Ht--;){var kn=pe.gc[Ht],Sr=tn,li=Fe,Mn=fn,kr=wn,Vr=(wn=xt,fn=nt,kn.Ea);switch(z(Sr<li),z(li<=kn.nc),kn.hc){case 2:xA(Mn,kr,(li-Sr)*Vr,wn,fn);break;case 0:var Ui=Sr,ii=li,zi=wn,Gi=fn,bo=(Na=kn).Ea;Ui==0&&(Qg(Mn,kr,null,null,1,zi,Gi),fu(Mn,kr+1,0,0,bo-1,zi,Gi+1),kr+=bo,Gi+=bo,++Ui);for(var oo=1<<Na.b,Qa=oo-1,Ea=Fo(bo,Na.b),$s=Na.K,Na=Na.w+(Ui>>Na.b)*Ea;Ui<ii;){var wl=$s,zA=Na,Gs=1;for(hg(Mn,kr,zi,Gi-bo,1,zi,Gi);Gs<bo;){var Oa=(Gs&~Qa)+oo;Oa>bo&&(Oa=bo),(0,zg[wl[zA++]>>8&15])(Mn,kr+ +Gs,zi,Gi+Gs-bo,Oa-Gs,zi,Gi+Gs),Gs=Oa}kr+=bo,Gi+=bo,++Ui&Qa||(Na+=Ea)}li!=kn.nc&&re(wn,fn-Vr,wn,fn+(li-Sr-1)*Vr,Vr);break;case 1:for(Vr=Mn,ii=kr,bo=(Mn=kn.Ea)-(Gi=Mn&~(zi=(kr=1<<kn.b)-1)),Ui=Fo(Mn,kn.b),oo=kn.K,kn=kn.w+(Sr>>kn.b)*Ui;Sr<li;){for(Qa=oo,Ea=kn,$s=new Qs,Na=ii+Gi,wl=ii+Mn;ii<Na;)Ga(Qa[Ea++],$s),Kg($s,Vr,ii,kr,wn,fn),ii+=kr,fn+=kr;ii<wl&&(Ga(Qa[Ea++],$s),Kg($s,Vr,ii,bo,wn,fn),ii+=bo,fn+=bo),++Sr&zi||(kn+=Ui)}break;case 3:if(Mn==wn&&kr==fn&&0<kn.b){for(ii=wn,Mn=Vr=fn+(li-Sr)*Vr-(Gi=(li-Sr)*Fo(kn.Ea,kn.b)),kr=wn,zi=fn,Ui=[],Gi=(bo=Gi)-1;0<=Gi;--Gi)Ui[Gi]=kr[zi+Gi];for(Gi=bo-1;0<=Gi;--Gi)ii[Mn+Gi]=Ui[Gi];Cm(kn,Sr,li,wn,Vr,wn,fn)}else Cm(kn,Sr,li,Mn,kr,wn,fn)}fn=xt,wn=nt}wn!=nt&&re(xt,nt,fn,wn,qt)}function Qh(pe,Fe){var nt=pe.V,xt=pe.Ba+pe.c*pe.C,Ht=Fe-pe.C;if(z(Fe<=pe.l.o),z(16>=Ht),0<Ht){var qt=pe.l,tn=pe.Ta,fn=pe.Ua,wn=qt.width;if(Cp(pe,Ht,nt,xt),Ht=fn=[fn],z((nt=pe.C)<(xt=Fe)),z(qt.v<qt.va),xt>qt.o&&(xt=qt.o),nt<qt.j){var kn=qt.j-nt;nt=qt.j,Ht[0]+=kn*wn}if(nt>=xt?nt=0:(Ht[0]+=4*qt.v,qt.ka=nt-qt.j,qt.U=qt.va-qt.v,qt.T=xt-nt,nt=1),nt){if(fn=fn[0],11>(nt=pe.ca).S){var Sr=nt.f.RGBA,li=(xt=nt.S,Ht=qt.U,qt=qt.T,kn=Sr.eb,Sr.A),Mn=qt;for(Sr=Sr.fb+pe.Ma*Sr.A;0<Mn--;){var kr=tn,Vr=fn,Ui=Ht,ii=kn,zi=Sr;switch(xt){case Em:Zg(kr,Vr,Ui,ii,zi);break;case Sm:Gh(kr,Vr,Ui,ii,zi);break;case d0:Gh(kr,Vr,Ui,ii,zi),$g(ii,zi,0,Ui,1,0);break;case ov:Hp(kr,Vr,Ui,ii,zi);break;case Fm:as(kr,Vr,Ui,ii,zi,1);break;case f0:as(kr,Vr,Ui,ii,zi,1),$g(ii,zi,0,Ui,1,0);break;case Im:as(kr,Vr,Ui,ii,zi,0);break;case Lm:as(kr,Vr,Ui,ii,zi,0),$g(ii,zi,1,Ui,1,0);break;case c0:Vh(kr,Vr,Ui,ii,zi);break;case h0:Vh(kr,Vr,Ui,ii,zi),Y0(ii,zi,Ui,1,0);break;case av:Xh(kr,Vr,Ui,ii,zi);break;default:z(0)}fn+=wn,Sr+=li}pe.Ma+=qt}else alert("todo:EmitRescaledRowsYUVA");z(pe.Ma<=nt.height)}}pe.C=Fe,z(pe.C<=pe.i)}function ff(pe){var Fe;if(0<pe.ua)return 0;for(Fe=0;Fe<pe.Wb;++Fe){var nt=pe.Ya[Fe].G,xt=pe.Ya[Fe].H;if(0<nt[1][xt[1]+0].g||0<nt[2][xt[2]+0].g||0<nt[3][xt[3]+0].g)return 0}return 1}function Kf(pe,Fe,nt,xt,Ht,qt){if(pe.Z!=0){var tn=pe.qd,fn=pe.rd;for(z(qh[pe.Z]!=null);Fe<nt;++Fe)qh[pe.Z](tn,fn,xt,Ht,xt,Ht,qt),tn=xt,fn=Ht,Ht+=qt;pe.qd=tn,pe.rd=fn}}function hf(pe,Fe){var nt=pe.l.ma,xt=nt.Z==0||nt.Z==1?pe.l.j:pe.C;if(xt=pe.C<xt?xt:pe.C,z(Fe<=pe.l.o),Fe>xt){var Ht=pe.l.width,qt=nt.ca,tn=nt.tb+Ht*xt,fn=pe.V,wn=pe.Ba+pe.c*xt,kn=pe.gc;z(pe.ab==1),z(kn[0].hc==3),Gf(kn[0],xt,Fe,fn,wn,qt,tn),Kf(nt,xt,Fe,qt,tn,Ht)}pe.C=pe.Ma=Fe}function pf(pe,Fe,nt,xt,Ht,qt,tn){var fn=pe.$/xt,wn=pe.$%xt,kn=pe.m,Sr=pe.s,li=nt+pe.$,Mn=li;Ht=nt+xt*Ht;var kr=nt+xt*qt,Vr=280+Sr.ua,Ui=pe.Pb?fn:16777216,ii=0<Sr.ua?Sr.Wa:null,zi=Sr.wc,Gi=li<kr?sc(Sr,wn,fn):null;z(pe.C<qt),z(kr<=Ht);var bo=!1;e:for(;;){for(;bo||li<kr;){var oo=0;if(fn>=Ui){var Qa=li-nt;z((Ui=pe).Pb),Ui.wd=Ui.m,Ui.xd=Qa,0<Ui.s.ua&&fl(Ui.s.Wa,Ui.s.vb),Ui=fn+i1}if(wn&zi||(Gi=sc(Sr,wn,fn)),z(Gi!=null),Gi.Qb&&(Fe[li]=Gi.qb,bo=!0),!bo)if(si(kn),Gi.jc){oo=kn,Qa=Fe;var Ea=li,$s=Gi.pd[rr(oo)&Qp-1];z(Gi.jc),256>$s.g?(Rr(oo,oo.u+$s.g),Qa[Ea]=$s.value,oo=0):(Rr(oo,oo.u+$s.g-256),z(256<=$s.value),oo=$s.value),oo==0&&(bo=!0)}else oo=AA(Gi.G[0],Gi.H[0],kn);if(kn.h)break;if(bo||256>oo){if(!bo)if(Gi.nd)Fe[li]=(Gi.qb|oo<<8)>>>0;else{if(si(kn),bo=AA(Gi.G[1],Gi.H[1],kn),si(kn),Qa=AA(Gi.G[2],Gi.H[2],kn),Ea=AA(Gi.G[3],Gi.H[3],kn),kn.h)break;Fe[li]=(Ea<<24|bo<<16|oo<<8|Qa)>>>0}if(bo=!1,++li,++wn>=xt&&(wn=0,++fn,tn!=null&&fn<=qt&&!(fn%16)&&tn(pe,fn),ii!=null))for(;Mn<li;)oo=Fe[Mn++],ii.X[(506832829*oo&4294967295)>>>ii.Mb]=oo}else if(280>oo){if(oo=Qd(oo-256,kn),Qa=AA(Gi.G[4],Gi.H[4],kn),si(kn),Qa=Hd(xt,Qa=Qd(Qa,kn)),kn.h)break;if(li-nt<Qa||Ht-li<oo)break e;for(Ea=0;Ea<oo;++Ea)Fe[li+Ea]=Fe[li+Ea-Qa];for(li+=oo,wn+=oo;wn>=xt;)wn-=xt,++fn,tn!=null&&fn<=qt&&!(fn%16)&&tn(pe,fn);if(z(li<=Ht),wn&zi&&(Gi=sc(Sr,wn,fn)),ii!=null)for(;Mn<li;)oo=Fe[Mn++],ii.X[(506832829*oo&4294967295)>>>ii.Mb]=oo}else{if(!(oo<Vr))break e;for(bo=oo-280,z(ii!=null);Mn<li;)oo=Fe[Mn++],ii.X[(506832829*oo&4294967295)>>>ii.Mb]=oo;oo=li,z(!(bo>>>(Qa=ii).Xa)),Fe[oo]=Qa.X[bo],bo=!0}bo||z(kn.h==Br(kn))}if(pe.Pb&&kn.h&&li<Ht)z(pe.m.h),pe.a=5,pe.m=pe.wd,pe.$=pe.xd,0<pe.s.ua&&fl(pe.s.vb,pe.s.Wa);else{if(kn.h)break e;tn!=null&&tn(pe,fn>qt?qt:fn),pe.a=0,pe.$=li-nt}return 1}return pe.a=3,0}function zd(pe){z(pe!=null),pe.vc=null,pe.yc=null,pe.Ya=null;var Fe=pe.Wa;Fe!=null&&(Fe.X=null),pe.vb=null,z(pe!=null)}function xp(){var pe=new Ma;return pe==null?null:(pe.a=0,pe.xb=uv,yl("Predictor","VP8LPredictors"),yl("Predictor","VP8LPredictors_C"),yl("PredictorAdd","VP8LPredictorsAdd"),yl("PredictorAdd","VP8LPredictorsAdd_C"),xA=Hs,Kg=fs,Zg=Su,Gh=Hl,Vh=ja,Xh=ks,Hp=vu,Gn.VP8LMapColor32b=$f,Gn.VP8LMapColor8b=Hg,pe)}function Zf(pe,Fe,nt,xt,Ht){var qt=1,tn=[pe],fn=[Fe],wn=xt.m,kn=xt.s,Sr=null,li=0;e:for(;;){if(nt)for(;qt&&io(wn,1);){var Mn=tn,kr=fn,Vr=xt,Ui=1,ii=Vr.m,zi=Vr.gc[Vr.ab],Gi=io(ii,2);if(Vr.Oc&1<<Gi)qt=0;else{switch(Vr.Oc|=1<<Gi,zi.hc=Gi,zi.Ea=Mn[0],zi.nc=kr[0],zi.K=[null],++Vr.ab,z(4>=Vr.ab),Gi){case 0:case 1:zi.b=io(ii,3)+2,Ui=Zf(Fo(zi.Ea,zi.b),Fo(zi.nc,zi.b),0,Vr,zi.K),zi.K=zi.K[0];break;case 3:var bo,oo=io(ii,8)+1,Qa=16<oo?0:4<oo?1:2<oo?2:3;if(Mn[0]=Fo(zi.Ea,Qa),zi.b=Qa,bo=Ui=Zf(oo,1,0,Vr,zi.K)){var Ea,$s=oo,Na=zi,wl=1<<(8>>Na.b),zA=he(wl);if(zA==null)bo=0;else{var Gs=Na.K[0],Oa=Na.w;for(zA[0]=Na.K[0][0],Ea=1;Ea<1*$s;++Ea)zA[Ea]=Za(Gs[Oa+Ea],zA[Ea-1]);for(;Ea<4*wl;++Ea)zA[Ea]=0;Na.K[0]=null,Na.K[0]=zA,bo=1}}Ui=bo;break;case 2:break;default:z(0)}qt=Ui}}if(tn=tn[0],fn=fn[0],qt&&io(wn,1)&&!(qt=1<=(li=io(wn,4))&&11>=li)){xt.a=3;break e}var Yo;if(Yo=qt)t:{var EA,Us,Fl,ku=xt,uc=tn,Qc=fn,dA=li,Nc=nt,Hc=ku.m,KA=ku.s,Il=[null],au=1,fA=0,su=r1[dA];n:for(;;){if(Nc&&io(Hc,1)){var Ac=io(Hc,3)+2,vf=Fo(uc,Ac),SA=Fo(Qc,Ac),ed=vf*SA;if(!Zf(vf,SA,0,ku,Il))break n;for(Il=Il[0],KA.xc=Ac,EA=0;EA<ed;++EA){var bu=Il[EA]>>8&65535;Il[EA]=bu,bu>=au&&(au=bu+1)}}if(Hc.h)break n;for(Us=0;5>Us;++Us){var ZA=sv[Us];!Us&&0<dA&&(ZA+=1<<dA),fA<ZA&&(fA=ZA)}var bd=Ke(au*su,mr),zc=au,Cd=Ke(zc,hi);if(Cd==null)var xd=null;else z(65536>=zc),xd=Cd;var td=he(fA);if(xd==null||td==null||bd==null){ku.a=1;break n}var Bd=bd;for(EA=Fl=0;EA<au;++EA){var Iu=xd[EA],Ed=Iu.G,yf=Iu.H,Kp=0,Sh=1,cc=0;for(Us=0;5>Us;++Us){ZA=sv[Us],Ed[Us]=Bd,yf[Us]=Fl,!Us&&0<dA&&(ZA+=1<<dA);i:{var Pm,v0=ZA,_m=ku,Xg=td,B1=Bd,E1=Fl,y0=0,ep=_m.m,S1=io(ep,1);if(Ae(Xg,0,0,v0),S1){var F1=io(ep,1)+1,I1=io(ep,1),vv=io(ep,I1==0?1:8);Xg[vv]=1,F1==2&&(Xg[vv=io(ep,8)]=1);var Tm=1}else{var yv=he(19),wv=io(ep,4)+4;if(19<wv){_m.a=3;var km=0;break i}for(Pm=0;Pm<wv;++Pm)yv[t1[Pm]]=io(ep,3);var w0=void 0,Yg=void 0,bv=_m,L1=yv,Mm=v0,Cv=Xg,b0=0,tp=bv.m,xv=8,Bv=Ke(128,mr);r:for(;On(Bv,0,7,L1,19);){if(io(tp,1)){var D1=2+2*io(tp,3);if((w0=2+io(tp,D1))>Mm)break r}else w0=Mm;for(Yg=0;Yg<Mm&&w0--;){si(tp);var Ev=Bv[0+(127&rr(tp))];Rr(tp,tp.u+Ev.g);var gg=Ev.value;if(16>gg)Cv[Yg++]=gg,gg!=0&&(xv=gg);else{var N1=gg==16,Sv=gg-16,O1=qv[Sv],Fv=io(tp,Jv[Sv])+O1;if(Yg+Fv>Mm)break r;for(var P1=N1?xv:0;0<Fv--;)Cv[Yg++]=P1}}b0=1;break r}b0||(bv.a=3),Tm=b0}(Tm=Tm&&!ep.h)&&(y0=On(B1,E1,8,Xg,v0)),Tm&&y0!=0?km=y0:(_m.a=3,km=0)}if(km==0)break n;if(Sh&&e1[Us]==1&&(Sh=Bd[Fl].g==0),Kp+=Bd[Fl].g,Fl+=km,3>=Us){var Jg,C0=td[0];for(Jg=1;Jg<ZA;++Jg)td[Jg]>C0&&(C0=td[Jg]);cc+=C0}}if(Iu.nd=Sh,Iu.Qb=0,Sh&&(Iu.qb=(Ed[3][yf[3]+0].value<<24|Ed[1][yf[1]+0].value<<16|Ed[2][yf[2]+0].value)>>>0,Kp==0&&256>Ed[0][yf[0]+0].value&&(Iu.Qb=1,Iu.qb+=Ed[0][yf[0]+0].value<<8)),Iu.jc=!Iu.Qb&&6>cc,Iu.jc){var Um,Fh=Iu;for(Um=0;Um<Qp;++Um){var np=Um,rp=Fh.pd[np],Rm=Fh.G[0][Fh.H[0]+np];256<=Rm.value?(rp.g=Rm.g+256,rp.value=Rm.value):(rp.g=0,rp.value=0,np>>=tc(Rm,8,rp),np>>=tc(Fh.G[1][Fh.H[1]+np],16,rp),np>>=tc(Fh.G[2][Fh.H[2]+np],0,rp),tc(Fh.G[3][Fh.H[3]+np],24,rp))}}}KA.vc=Il,KA.Wb=au,KA.Ya=xd,KA.yc=bd,Yo=1;break t}Yo=0}if(!(qt=Yo)){xt.a=3;break e}if(0<li){if(kn.ua=1<<li,!Jn(kn.Wa,li)){xt.a=1,qt=0;break e}}else kn.ua=0;var x0=xt,Iv=tn,_1=fn,B0=x0.s,E0=B0.xc;if(x0.c=Iv,x0.i=_1,B0.md=Fo(Iv,E0),B0.wc=E0==0?-1:(1<<E0)-1,nt){xt.xb=c1;break e}if((Sr=he(tn*fn))==null){xt.a=1,qt=0;break e}qt=(qt=pf(xt,Sr,0,tn,fn,fn,null))&&!wn.h;break e}return qt?(Ht!=null?Ht[0]=Sr:(z(Sr==null),z(nt)),xt.$=0,nt||zd(kn)):zd(kn),qt}function Bp(pe,Fe){var nt=pe.c*pe.i,xt=nt+Fe+16*Fe;return z(pe.c<=Fe),pe.V=he(xt),pe.V==null?(pe.Ta=null,pe.Ua=0,pe.a=1,0):(pe.Ta=pe.V,pe.Ua=pe.Ba+nt+Fe,1)}function ig(pe,Fe){var nt=pe.C,xt=Fe-nt,Ht=pe.V,qt=pe.Ba+pe.c*nt;for(z(Fe<=pe.l.o);0<xt;){var tn=16<xt?16:xt,fn=pe.l.ma,wn=pe.l.width,kn=wn*tn,Sr=fn.ca,li=fn.tb+wn*nt,Mn=pe.Ta,kr=pe.Ua;Cp(pe,tn,Ht,qt),q0(Mn,kr,Sr,li,kn),Kf(fn,nt,nt+tn,Sr,li,wn),xt-=tn,Ht+=tn*pe.c,nt+=tn}z(nt==Fe),pe.C=pe.Ma=Fe}function og(){this.ub=this.yd=this.td=this.Rb=0}function ag(){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 Eg(){this.Yb=function(){var pe=[];return function Fe(nt,xt,Ht){for(var qt=Ht[xt],tn=0;tn<qt&&(nt.push(Ht.length>xt+1?[]:0),!(Ht.length<xt+1));tn++)Fe(nt[tn],xt+1,Ht)}(pe,0,[3,11]),pe}()}function om(){this.jb=he(3),this.Wc=Pe([4,8],Eg),this.Xc=Pe([4,17],Eg)}function am(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new he(4),this.od=new he(4)}function Kd(){this.ld=this.La=this.dd=this.tc=0}function Sg(){this.Na=this.la=0}function sm(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Fg(){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 lm(){this.uc=this.M=this.Nb=0,this.wa=Array(new Kd),this.Y=0,this.ya=Array(new Fg),this.aa=0,this.l=new sg}function um(){this.y=he(16),this.f=he(8),this.ea=he(8)}function Am(){this.cb=this.a=0,this.sc="",this.m=new nn,this.Od=new og,this.Kc=new ag,this.ed=new am,this.Qa=new Gm,this.Ic=this.$c=this.Aa=0,this.D=new lm,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=Ke(8,nn),this.ia=0,this.pb=Ke(4,sm),this.Pa=new om,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new um),this.Hd=0,this.rb=Array(new Sg),this.sb=0,this.wa=Array(new Kd),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 Fg),this.L=this.aa=0,this.gd=Pe([4,2],Kd),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 sg(){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 Vm(){var pe=new Am;return pe!=null&&(pe.a=0,pe.sc="OK",pe.cb=0,pe.Xb=0,Gg||(Gg=mh)),pe}function NA(pe,Fe,nt){return pe.a==0&&(pe.a=Fe,pe.sc=nt,pe.cb=0),0}function cm(pe,Fe,nt){return 3<=nt&&pe[Fe+0]==157&&pe[Fe+1]==1&&pe[Fe+2]==42}function dm(pe,Fe){if(pe==null)return 0;if(pe.a=0,pe.sc="OK",Fe==null)return NA(pe,2,"null VP8Io passed to VP8GetHeaders()");var nt=Fe.data,xt=Fe.w,Ht=Fe.ha;if(4>Ht)return NA(pe,7,"Truncated header.");var qt=nt[xt+0]|nt[xt+1]<<8|nt[xt+2]<<16,tn=pe.Od;if(tn.Rb=!(1&qt),tn.td=qt>>1&7,tn.yd=qt>>4&1,tn.ub=qt>>5,3<tn.td)return NA(pe,3,"Incorrect keyframe parameters.");if(!tn.yd)return NA(pe,4,"Frame not displayable.");xt+=3,Ht-=3;var fn=pe.Kc;if(tn.Rb){if(7>Ht)return NA(pe,7,"cannot parse picture header");if(!cm(nt,xt,Ht))return NA(pe,3,"Bad code word");fn.c=16383&(nt[xt+4]<<8|nt[xt+3]),fn.Td=nt[xt+4]>>6,fn.i=16383&(nt[xt+6]<<8|nt[xt+5]),fn.Ud=nt[xt+6]>>6,xt+=7,Ht-=7,pe.za=fn.c+15>>4,pe.Ub=fn.i+15>>4,Fe.width=fn.c,Fe.height=fn.i,Fe.Da=0,Fe.j=0,Fe.v=0,Fe.va=Fe.width,Fe.o=Fe.height,Fe.da=0,Fe.ib=Fe.width,Fe.hb=Fe.height,Fe.U=Fe.width,Fe.T=Fe.height,Ae((qt=pe.Pa).jb,0,255,qt.jb.length),z((qt=pe.Qa)!=null),qt.Cb=0,qt.Bb=0,qt.Fb=1,Ae(qt.Zb,0,0,qt.Zb.length),Ae(qt.Lb,0,0,qt.Lb)}if(tn.ub>Ht)return NA(pe,7,"bad partition length");Fi(qt=pe.m,nt,xt,tn.ub),xt+=tn.ub,Ht-=tn.ub,tn.Rb&&(fn.Ld=xi(qt),fn.Kd=xi(qt)),fn=pe.Qa;var wn,kn=pe.Pa;if(z(qt!=null),z(fn!=null),fn.Cb=xi(qt),fn.Cb){if(fn.Bb=xi(qt),xi(qt)){for(fn.Fb=xi(qt),wn=0;4>wn;++wn)fn.Zb[wn]=xi(qt)?ai(qt,7):0;for(wn=0;4>wn;++wn)fn.Lb[wn]=xi(qt)?ai(qt,6):0}if(fn.Bb)for(wn=0;3>wn;++wn)kn.jb[wn]=xi(qt)?Oi(qt,8):255}else fn.Bb=0;if(qt.Ka)return NA(pe,3,"cannot parse segment header");if((fn=pe.ed).zd=xi(qt),fn.Tb=Oi(qt,6),fn.wb=Oi(qt,3),fn.Pc=xi(qt),fn.Pc&&xi(qt)){for(kn=0;4>kn;++kn)xi(qt)&&(fn.vd[kn]=ai(qt,6));for(kn=0;4>kn;++kn)xi(qt)&&(fn.od[kn]=ai(qt,6))}if(pe.L=fn.Tb==0?0:fn.zd?1:2,qt.Ka)return NA(pe,3,"cannot parse filter header");var Sr=Ht;if(Ht=wn=xt,xt=wn+Sr,fn=Sr,pe.Xb=(1<<Oi(pe.m,2))-1,Sr<3*(kn=pe.Xb))nt=7;else{for(wn+=3*kn,fn-=3*kn,Sr=0;Sr<kn;++Sr){var li=nt[Ht+0]|nt[Ht+1]<<8|nt[Ht+2]<<16;li>fn&&(li=fn),Fi(pe.Jc[+Sr],nt,wn,li),wn+=li,fn-=li,Ht+=3}Fi(pe.Jc[+kn],nt,wn,fn),nt=wn<xt?0:5}if(nt!=0)return NA(pe,nt,"cannot parse partitions");for(nt=Oi(wn=pe.m,7),Ht=xi(wn)?ai(wn,4):0,xt=xi(wn)?ai(wn,4):0,fn=xi(wn)?ai(wn,4):0,kn=xi(wn)?ai(wn,4):0,wn=xi(wn)?ai(wn,4):0,Sr=pe.Qa,li=0;4>li;++li){if(Sr.Cb){var Mn=Sr.Zb[li];Sr.Fb||(Mn+=nt)}else{if(0<li){pe.pb[li]=pe.pb[0];continue}Mn=nt}var kr=pe.pb[li];kr.Sc[0]=p0[cA(Mn+Ht,127)],kr.Sc[1]=g0[cA(Mn+0,127)],kr.Eb[0]=2*p0[cA(Mn+xt,127)],kr.Eb[1]=101581*g0[cA(Mn+fn,127)]>>16,8>kr.Eb[1]&&(kr.Eb[1]=8),kr.Qc[0]=p0[cA(Mn+kn,117)],kr.Qc[1]=g0[cA(Mn+wn,127)],kr.lc=Mn+wn}if(!tn.Rb)return NA(pe,4,"Not a key frame.");for(xi(qt),tn=pe.Pa,nt=0;4>nt;++nt){for(Ht=0;8>Ht;++Ht)for(xt=0;3>xt;++xt)for(fn=0;11>fn;++fn)kn=Xi(qt,u1[nt][Ht][xt][fn])?Oi(qt,8):s1[nt][Ht][xt][fn],tn.Wc[nt][Ht].Yb[xt][fn]=kn;for(Ht=0;17>Ht;++Ht)tn.Xc[nt][Ht]=tn.Wc[nt][A1[Ht]]}return pe.kc=xi(qt),pe.kc&&(pe.Bd=Oi(qt,8)),pe.cb=1}function mh(pe,Fe,nt,xt,Ht,qt,tn){var fn=Fe[Ht].Yb[nt];for(nt=0;16>Ht;++Ht){if(!Xi(pe,fn[nt+0]))return Ht;for(;!Xi(pe,fn[nt+1]);)if(fn=Fe[++Ht].Yb[0],nt=0,Ht==16)return 16;var wn=Fe[Ht+1].Yb;if(Xi(pe,fn[nt+2])){var kn=pe,Sr=0;if(Xi(kn,(Mn=fn)[(li=nt)+3]))if(Xi(kn,Mn[li+6])){for(fn=0,li=2*(Sr=Xi(kn,Mn[li+8]))+(Mn=Xi(kn,Mn[li+9+Sr])),Sr=0,Mn=o1[li];Mn[fn];++fn)Sr+=Sr+Xi(kn,Mn[fn]);Sr+=3+(8<<li)}else Xi(kn,Mn[li+7])?(Sr=7+2*Xi(kn,165),Sr+=Xi(kn,145)):Sr=5+Xi(kn,159);else Sr=Xi(kn,Mn[li+4])?3+Xi(kn,Mn[li+5]):2;fn=wn[2]}else Sr=1,fn=wn[1];wn=tn+a1[Ht],0>(kn=pe).b&&Di(kn);var li,Mn=kn.b,kr=(li=kn.Ca>>1)-(kn.I>>Mn)>>31;--kn.b,kn.Ca+=kr,kn.Ca|=1,kn.I-=(li+1&kr)<<Mn,qt[wn]=((Sr^kr)-kr)*xt[(0<Ht)+0]}return 16}function Ep(pe){var Fe=pe.rb[pe.sb-1];Fe.la=0,Fe.Na=0,Ae(pe.zc,0,0,pe.zc.length),pe.ja=0}function gf(pe,Fe,nt,xt,Ht){Ht=pe[Fe+nt+32*xt]+(Ht>>3),pe[Fe+nt+32*xt]=-256&Ht?0>Ht?0:255:Ht}function Sp(pe,Fe,nt,xt,Ht,qt){gf(pe,Fe,0,nt,xt+Ht),gf(pe,Fe,1,nt,xt+qt),gf(pe,Fe,2,nt,xt-qt),gf(pe,Fe,3,nt,xt-Ht)}function CA(pe){return(20091*pe>>16)+pe}function Ig(pe,Fe,nt,xt){var Ht,qt=0,tn=he(16);for(Ht=0;4>Ht;++Ht){var fn=pe[Fe+0]+pe[Fe+8],wn=pe[Fe+0]-pe[Fe+8],kn=(35468*pe[Fe+4]>>16)-CA(pe[Fe+12]),Sr=CA(pe[Fe+4])+(35468*pe[Fe+12]>>16);tn[qt+0]=fn+Sr,tn[qt+1]=wn+kn,tn[qt+2]=wn-kn,tn[qt+3]=fn-Sr,qt+=4,Fe++}for(Ht=qt=0;4>Ht;++Ht)fn=(pe=tn[qt+0]+4)+tn[qt+8],wn=pe-tn[qt+8],kn=(35468*tn[qt+4]>>16)-CA(tn[qt+12]),gf(nt,xt,0,0,fn+(Sr=CA(tn[qt+4])+(35468*tn[qt+12]>>16))),gf(nt,xt,1,0,wn+kn),gf(nt,xt,2,0,wn-kn),gf(nt,xt,3,0,fn-Sr),qt++,xt+=32}function Xm(pe,Fe,nt,xt){var Ht=pe[Fe+0]+4,qt=35468*pe[Fe+4]>>16,tn=CA(pe[Fe+4]),fn=35468*pe[Fe+1]>>16;Sp(nt,xt,0,Ht+tn,pe=CA(pe[Fe+1]),fn),Sp(nt,xt,1,Ht+qt,pe,fn),Sp(nt,xt,2,Ht-qt,pe,fn),Sp(nt,xt,3,Ht-tn,pe,fn)}function Ym(pe,Fe,nt,xt,Ht){Ig(pe,Fe,nt,xt),Ht&&Ig(pe,Fe+16,nt,xt+4)}function Jm(pe,Fe,nt,xt){zp(pe,Fe+0,nt,xt,1),zp(pe,Fe+32,nt,xt+128,1)}function Wf(pe,Fe,nt,xt){var Ht;for(pe=pe[Fe+0]+4,Ht=0;4>Ht;++Ht)for(Fe=0;4>Fe;++Fe)gf(nt,xt,Fe,Ht,pe)}function fm(pe,Fe,nt,xt){pe[Fe+0]&&ru(pe,Fe+0,nt,xt),pe[Fe+16]&&ru(pe,Fe+16,nt,xt+4),pe[Fe+32]&&ru(pe,Fe+32,nt,xt+128),pe[Fe+48]&&ru(pe,Fe+48,nt,xt+128+4)}function hm(pe,Fe,nt,xt){var Ht,qt=he(16);for(Ht=0;4>Ht;++Ht){var tn=pe[Fe+0+Ht]+pe[Fe+12+Ht],fn=pe[Fe+4+Ht]+pe[Fe+8+Ht],wn=pe[Fe+4+Ht]-pe[Fe+8+Ht],kn=pe[Fe+0+Ht]-pe[Fe+12+Ht];qt[0+Ht]=tn+fn,qt[8+Ht]=tn-fn,qt[4+Ht]=kn+wn,qt[12+Ht]=kn-wn}for(Ht=0;4>Ht;++Ht)tn=(pe=qt[0+4*Ht]+3)+qt[3+4*Ht],fn=qt[1+4*Ht]+qt[2+4*Ht],wn=qt[1+4*Ht]-qt[2+4*Ht],kn=pe-qt[3+4*Ht],nt[xt+0]=tn+fn>>3,nt[xt+16]=kn+wn>>3,nt[xt+32]=tn-fn>>3,nt[xt+48]=kn-wn>>3,xt+=64}function Hh(pe,Fe,nt){var xt,Ht=Fe-32,qt=wd,tn=255-pe[Ht-1];for(xt=0;xt<nt;++xt){var fn,wn=qt,kn=tn+pe[Fe-1];for(fn=0;fn<nt;++fn)pe[Fe+fn]=wn[kn+pe[Ht+fn]];Fe+=32}}function Lg(pe,Fe){Hh(pe,Fe,4)}function qm(pe,Fe){Hh(pe,Fe,8)}function e0(pe,Fe){Hh(pe,Fe,16)}function t0(pe,Fe){var nt;for(nt=0;16>nt;++nt)re(pe,Fe+32*nt,pe,Fe-32,16)}function Dg(pe,Fe){var nt;for(nt=16;0<nt;--nt)Ae(pe,Fe,pe[Fe-1],16),Fe+=32}function Fp(pe,Fe,nt){var xt;for(xt=0;16>xt;++xt)Ae(Fe,nt+32*xt,pe,16)}function zh(pe,Fe){var nt,xt=16;for(nt=0;16>nt;++nt)xt+=pe[Fe-1+32*nt]+pe[Fe+nt-32];Fp(xt>>5,pe,Fe)}function n0(pe,Fe){var nt,xt=8;for(nt=0;16>nt;++nt)xt+=pe[Fe-1+32*nt];Fp(xt>>4,pe,Fe)}function Ip(pe,Fe){var nt,xt=8;for(nt=0;16>nt;++nt)xt+=pe[Fe+nt-32];Fp(xt>>4,pe,Fe)}function Ng(pe,Fe){Fp(128,pe,Fe)}function Bs(pe,Fe,nt){return pe+2*Fe+nt+2>>2}function r0(pe,Fe){var nt,xt=Fe-32;for(xt=new Uint8Array([Bs(pe[xt-1],pe[xt+0],pe[xt+1]),Bs(pe[xt+0],pe[xt+1],pe[xt+2]),Bs(pe[xt+1],pe[xt+2],pe[xt+3]),Bs(pe[xt+2],pe[xt+3],pe[xt+4])]),nt=0;4>nt;++nt)re(pe,Fe+32*nt,xt,0,xt.length)}function i0(pe,Fe){var nt=pe[Fe-1],xt=pe[Fe-1+32],Ht=pe[Fe-1+64],qt=pe[Fe-1+96];wo(pe,Fe+0,16843009*Bs(pe[Fe-1-32],nt,xt)),wo(pe,Fe+32,16843009*Bs(nt,xt,Ht)),wo(pe,Fe+64,16843009*Bs(xt,Ht,qt)),wo(pe,Fe+96,16843009*Bs(Ht,qt,qt))}function o0(pe,Fe){var nt,xt=4;for(nt=0;4>nt;++nt)xt+=pe[Fe+nt-32]+pe[Fe-1+32*nt];for(xt>>=3,nt=0;4>nt;++nt)Ae(pe,Fe+32*nt,xt,4)}function a0(pe,Fe){var nt=pe[Fe-1+0],xt=pe[Fe-1+32],Ht=pe[Fe-1+64],qt=pe[Fe-1-32],tn=pe[Fe+0-32],fn=pe[Fe+1-32],wn=pe[Fe+2-32],kn=pe[Fe+3-32];pe[Fe+0+96]=Bs(xt,Ht,pe[Fe-1+96]),pe[Fe+1+96]=pe[Fe+0+64]=Bs(nt,xt,Ht),pe[Fe+2+96]=pe[Fe+1+64]=pe[Fe+0+32]=Bs(qt,nt,xt),pe[Fe+3+96]=pe[Fe+2+64]=pe[Fe+1+32]=pe[Fe+0+0]=Bs(tn,qt,nt),pe[Fe+3+64]=pe[Fe+2+32]=pe[Fe+1+0]=Bs(fn,tn,qt),pe[Fe+3+32]=pe[Fe+2+0]=Bs(wn,fn,tn),pe[Fe+3+0]=Bs(kn,wn,fn)}function vh(pe,Fe){var nt=pe[Fe+1-32],xt=pe[Fe+2-32],Ht=pe[Fe+3-32],qt=pe[Fe+4-32],tn=pe[Fe+5-32],fn=pe[Fe+6-32],wn=pe[Fe+7-32];pe[Fe+0+0]=Bs(pe[Fe+0-32],nt,xt),pe[Fe+1+0]=pe[Fe+0+32]=Bs(nt,xt,Ht),pe[Fe+2+0]=pe[Fe+1+32]=pe[Fe+0+64]=Bs(xt,Ht,qt),pe[Fe+3+0]=pe[Fe+2+32]=pe[Fe+1+64]=pe[Fe+0+96]=Bs(Ht,qt,tn),pe[Fe+3+32]=pe[Fe+2+64]=pe[Fe+1+96]=Bs(qt,tn,fn),pe[Fe+3+64]=pe[Fe+2+96]=Bs(tn,fn,wn),pe[Fe+3+96]=Bs(fn,wn,wn)}function yh(pe,Fe){var nt=pe[Fe-1+0],xt=pe[Fe-1+32],Ht=pe[Fe-1+64],qt=pe[Fe-1-32],tn=pe[Fe+0-32],fn=pe[Fe+1-32],wn=pe[Fe+2-32],kn=pe[Fe+3-32];pe[Fe+0+0]=pe[Fe+1+64]=qt+tn+1>>1,pe[Fe+1+0]=pe[Fe+2+64]=tn+fn+1>>1,pe[Fe+2+0]=pe[Fe+3+64]=fn+wn+1>>1,pe[Fe+3+0]=wn+kn+1>>1,pe[Fe+0+96]=Bs(Ht,xt,nt),pe[Fe+0+64]=Bs(xt,nt,qt),pe[Fe+0+32]=pe[Fe+1+96]=Bs(nt,qt,tn),pe[Fe+1+32]=pe[Fe+2+96]=Bs(qt,tn,fn),pe[Fe+2+32]=pe[Fe+3+96]=Bs(tn,fn,wn),pe[Fe+3+32]=Bs(fn,wn,kn)}function s0(pe,Fe){var nt=pe[Fe+0-32],xt=pe[Fe+1-32],Ht=pe[Fe+2-32],qt=pe[Fe+3-32],tn=pe[Fe+4-32],fn=pe[Fe+5-32],wn=pe[Fe+6-32],kn=pe[Fe+7-32];pe[Fe+0+0]=nt+xt+1>>1,pe[Fe+1+0]=pe[Fe+0+64]=xt+Ht+1>>1,pe[Fe+2+0]=pe[Fe+1+64]=Ht+qt+1>>1,pe[Fe+3+0]=pe[Fe+2+64]=qt+tn+1>>1,pe[Fe+0+32]=Bs(nt,xt,Ht),pe[Fe+1+32]=pe[Fe+0+96]=Bs(xt,Ht,qt),pe[Fe+2+32]=pe[Fe+1+96]=Bs(Ht,qt,tn),pe[Fe+3+32]=pe[Fe+2+96]=Bs(qt,tn,fn),pe[Fe+3+64]=Bs(tn,fn,wn),pe[Fe+3+96]=Bs(fn,wn,kn)}function l0(pe,Fe){var nt=pe[Fe-1+0],xt=pe[Fe-1+32],Ht=pe[Fe-1+64],qt=pe[Fe-1+96];pe[Fe+0+0]=nt+xt+1>>1,pe[Fe+2+0]=pe[Fe+0+32]=xt+Ht+1>>1,pe[Fe+2+32]=pe[Fe+0+64]=Ht+qt+1>>1,pe[Fe+1+0]=Bs(nt,xt,Ht),pe[Fe+3+0]=pe[Fe+1+32]=Bs(xt,Ht,qt),pe[Fe+3+32]=pe[Fe+1+64]=Bs(Ht,qt,qt),pe[Fe+3+64]=pe[Fe+2+64]=pe[Fe+0+96]=pe[Fe+1+96]=pe[Fe+2+96]=pe[Fe+3+96]=qt}function lg(pe,Fe){var nt=pe[Fe-1+0],xt=pe[Fe-1+32],Ht=pe[Fe-1+64],qt=pe[Fe-1+96],tn=pe[Fe-1-32],fn=pe[Fe+0-32],wn=pe[Fe+1-32],kn=pe[Fe+2-32];pe[Fe+0+0]=pe[Fe+2+32]=nt+tn+1>>1,pe[Fe+0+32]=pe[Fe+2+64]=xt+nt+1>>1,pe[Fe+0+64]=pe[Fe+2+96]=Ht+xt+1>>1,pe[Fe+0+96]=qt+Ht+1>>1,pe[Fe+3+0]=Bs(fn,wn,kn),pe[Fe+2+0]=Bs(tn,fn,wn),pe[Fe+1+0]=pe[Fe+3+32]=Bs(nt,tn,fn),pe[Fe+1+32]=pe[Fe+3+64]=Bs(xt,nt,tn),pe[Fe+1+64]=pe[Fe+3+96]=Bs(Ht,xt,nt),pe[Fe+1+96]=Bs(qt,Ht,xt)}function Og(pe,Fe){var nt;for(nt=0;8>nt;++nt)re(pe,Fe+32*nt,pe,Fe-32,8)}function Lp(pe,Fe){var nt;for(nt=0;8>nt;++nt)Ae(pe,Fe,pe[Fe-1],8),Fe+=32}function ug(pe,Fe,nt){var xt;for(xt=0;8>xt;++xt)Ae(Fe,nt+32*xt,pe,8)}function Ag(pe,Fe){var nt,xt=8;for(nt=0;8>nt;++nt)xt+=pe[Fe+nt-32]+pe[Fe-1+32*nt];ug(xt>>4,pe,Fe)}function u0(pe,Fe){var nt,xt=4;for(nt=0;8>nt;++nt)xt+=pe[Fe+nt-32];ug(xt>>3,pe,Fe)}function Pg(pe,Fe){var nt,xt=4;for(nt=0;8>nt;++nt)xt+=pe[Fe-1+32*nt];ug(xt>>3,pe,Fe)}function _g(pe,Fe){ug(128,pe,Fe)}function Dp(pe,Fe,nt){var xt=pe[Fe-nt],Ht=pe[Fe+0],qt=3*(Ht-xt)+A0[1020+pe[Fe-2*nt]-pe[Fe+nt]],tn=Bm[112+(qt+4>>3)];pe[Fe-nt]=wd[255+xt+Bm[112+(qt+3>>3)]],pe[Fe+0]=wd[255+Ht-tn]}function Np(pe,Fe,nt,xt){var Ht=pe[Fe+0],qt=pe[Fe+nt];return Gd[255+pe[Fe-2*nt]-pe[Fe-nt]]>xt||Gd[255+qt-Ht]>xt}function Tg(pe,Fe,nt,xt){return 4*Gd[255+pe[Fe-nt]-pe[Fe+0]]+Gd[255+pe[Fe-2*nt]-pe[Fe+nt]]<=xt}function cg(pe,Fe,nt,xt,Ht){var qt=pe[Fe-3*nt],tn=pe[Fe-2*nt],fn=pe[Fe-nt],wn=pe[Fe+0],kn=pe[Fe+nt],Sr=pe[Fe+2*nt],li=pe[Fe+3*nt];return 4*Gd[255+fn-wn]+Gd[255+tn-kn]>xt?0:Gd[255+pe[Fe-4*nt]-qt]<=Ht&&Gd[255+qt-tn]<=Ht&&Gd[255+tn-fn]<=Ht&&Gd[255+li-Sr]<=Ht&&Gd[255+Sr-kn]<=Ht&&Gd[255+kn-wn]<=Ht}function kg(pe,Fe,nt,xt){var Ht=2*xt+1;for(xt=0;16>xt;++xt)Tg(pe,Fe+xt,nt,Ht)&&Dp(pe,Fe+xt,nt)}function Op(pe,Fe,nt,xt){var Ht=2*xt+1;for(xt=0;16>xt;++xt)Tg(pe,Fe+xt*nt,1,Ht)&&Dp(pe,Fe+xt*nt,1)}function pm(pe,Fe,nt,xt){var Ht;for(Ht=3;0<Ht;--Ht)kg(pe,Fe+=4*nt,nt,xt)}function gm(pe,Fe,nt,xt){var Ht;for(Ht=3;0<Ht;--Ht)Op(pe,Fe+=4,nt,xt)}function wh(pe,Fe,nt,xt,Ht,qt,tn,fn){for(qt=2*qt+1;0<Ht--;){if(cg(pe,Fe,nt,qt,tn))if(Np(pe,Fe,nt,fn))Dp(pe,Fe,nt);else{var wn=pe,kn=Fe,Sr=nt,li=wn[kn-2*Sr],Mn=wn[kn-Sr],kr=wn[kn+0],Vr=wn[kn+Sr],Ui=wn[kn+2*Sr],ii=27*(Gi=A0[1020+3*(kr-Mn)+A0[1020+li-Vr]])+63>>7,zi=18*Gi+63>>7,Gi=9*Gi+63>>7;wn[kn-3*Sr]=wd[255+wn[kn-3*Sr]+Gi],wn[kn-2*Sr]=wd[255+li+zi],wn[kn-Sr]=wd[255+Mn+ii],wn[kn+0]=wd[255+kr-ii],wn[kn+Sr]=wd[255+Vr-zi],wn[kn+2*Sr]=wd[255+Ui-Gi]}Fe+=xt}}function bh(pe,Fe,nt,xt,Ht,qt,tn,fn){for(qt=2*qt+1;0<Ht--;){if(cg(pe,Fe,nt,qt,tn))if(Np(pe,Fe,nt,fn))Dp(pe,Fe,nt);else{var wn=pe,kn=Fe,Sr=nt,li=wn[kn-Sr],Mn=wn[kn+0],kr=wn[kn+Sr],Vr=Bm[112+(4+(Ui=3*(Mn-li))>>3)],Ui=Bm[112+(Ui+3>>3)],ii=Vr+1>>1;wn[kn-2*Sr]=wd[255+wn[kn-2*Sr]+ii],wn[kn-Sr]=wd[255+li+Ui],wn[kn+0]=wd[255+Mn-Vr],wn[kn+Sr]=wd[255+kr-ii]}Fe+=xt}}function mm(pe,Fe,nt,xt,Ht,qt){wh(pe,Fe,nt,1,16,xt,Ht,qt)}function vm(pe,Fe,nt,xt,Ht,qt){wh(pe,Fe,1,nt,16,xt,Ht,qt)}function Pp(pe,Fe,nt,xt,Ht,qt){var tn;for(tn=3;0<tn;--tn)bh(pe,Fe+=4*nt,nt,1,16,xt,Ht,qt)}function ym(pe,Fe,nt,xt,Ht,qt){var tn;for(tn=3;0<tn;--tn)bh(pe,Fe+=4,1,nt,16,xt,Ht,qt)}function Xe(pe,Fe,nt,xt,Ht,qt,tn,fn){wh(pe,Fe,Ht,1,8,qt,tn,fn),wh(nt,xt,Ht,1,8,qt,tn,fn)}function jt(pe,Fe,nt,xt,Ht,qt,tn,fn){wh(pe,Fe,1,Ht,8,qt,tn,fn),wh(nt,xt,1,Ht,8,qt,tn,fn)}function Rn(pe,Fe,nt,xt,Ht,qt,tn,fn){bh(pe,Fe+4*Ht,Ht,1,8,qt,tn,fn),bh(nt,xt+4*Ht,Ht,1,8,qt,tn,fn)}function gr(pe,Fe,nt,xt,Ht,qt,tn,fn){bh(pe,Fe+4,1,Ht,8,qt,tn,fn),bh(nt,xt+4,1,Ht,8,qt,tn,fn)}function $r(){this.ba=new yu,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new nu,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Zi(){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 ao(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Sa(){this.ua=0,this.Wa=new js,this.vb=new js,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new hi,this.yc=new mr}function Ma(){this.xb=this.a=0,this.l=new sg,this.ca=new yu,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 Sa,this.ab=0,this.gc=Ke(4,ao),this.Oc=0}function ws(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new sg,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function Ls(pe,Fe,nt,xt,Ht,qt,tn){for(pe=pe==null?0:pe[Fe+0],Fe=0;Fe<tn;++Fe)Ht[qt+Fe]=pe+nt[xt+Fe]&255,pe=Ht[qt+Fe]}function zl(pe,Fe,nt,xt,Ht,qt,tn){var fn;if(pe==null)Ls(null,null,nt,xt,Ht,qt,tn);else for(fn=0;fn<tn;++fn)Ht[qt+fn]=pe[Fe+fn]+nt[xt+fn]&255}function qu(pe,Fe,nt,xt,Ht,qt,tn){if(pe==null)Ls(null,null,nt,xt,Ht,qt,tn);else{var fn,wn=pe[Fe+0],kn=wn,Sr=wn;for(fn=0;fn<tn;++fn)kn=Sr+(wn=pe[Fe+fn])-kn,Sr=nt[xt+fn]+(-256&kn?0>kn?0:255:kn)&255,kn=wn,Ht[qt+fn]=Sr}}function OA(pe,Fe,nt,xt){var Ht=Fe.width,qt=Fe.o;if(z(pe!=null&&Fe!=null),0>nt||0>=xt||nt+xt>qt)return null;if(!pe.Cc){if(pe.ga==null){var tn;if(pe.ga=new ws,(tn=pe.ga==null)||(tn=Fe.width*Fe.o,z(pe.Gb.length==0),pe.Gb=he(tn),pe.Uc=0,pe.Gb==null?tn=0:(pe.mb=pe.Gb,pe.nb=pe.Uc,pe.rc=null,tn=1),tn=!tn),!tn){tn=pe.ga;var fn=pe.Fa,wn=pe.P,kn=pe.qc,Sr=pe.mb,li=pe.nb,Mn=wn+1,kr=kn-1,Vr=tn.l;if(z(fn!=null&&Sr!=null&&Fe!=null),qh[0]=null,qh[1]=Ls,qh[2]=zl,qh[3]=qu,tn.ca=Sr,tn.tb=li,tn.c=Fe.width,tn.i=Fe.height,z(0<tn.c&&0<tn.i),1>=kn)Fe=0;else if(tn.$a=3&fn[wn+0],tn.Z=fn[wn+0]>>2&3,tn.Lc=fn[wn+0]>>4&3,wn=fn[wn+0]>>6&3,0>tn.$a||1<tn.$a||4<=tn.Z||1<tn.Lc||wn)Fe=0;else if(Vr.put=ss,Vr.ac=zf,Vr.bc=ph,Vr.ma=tn,Vr.width=Fe.width,Vr.height=Fe.height,Vr.Da=Fe.Da,Vr.v=Fe.v,Vr.va=Fe.va,Vr.j=Fe.j,Vr.o=Fe.o,tn.$a)e:{z(tn.$a==1),Fe=xp();t:for(;;){if(Fe==null){Fe=0;break e}if(z(tn!=null),tn.mc=Fe,Fe.c=tn.c,Fe.i=tn.i,Fe.l=tn.l,Fe.l.ma=tn,Fe.l.width=tn.c,Fe.l.height=tn.i,Fe.a=0,Pi(Fe.m,fn,Mn,kr),!Zf(tn.c,tn.i,1,Fe,null)||(Fe.ab==1&&Fe.gc[0].hc==3&&ff(Fe.s)?(tn.ic=1,fn=Fe.c*Fe.i,Fe.Ta=null,Fe.Ua=0,Fe.V=he(fn),Fe.Ba=0,Fe.V==null?(Fe.a=1,Fe=0):Fe=1):(tn.ic=0,Fe=Bp(Fe,tn.c)),!Fe))break t;Fe=1;break e}tn.mc=null,Fe=0}else Fe=kr>=tn.c*tn.i;tn=!Fe}if(tn)return null;pe.ga.Lc!=1?pe.Ga=0:xt=qt-nt}z(pe.ga!=null),z(nt+xt<=qt);e:{if(Fe=(fn=pe.ga).c,qt=fn.l.o,fn.$a==0){if(Mn=pe.rc,kr=pe.Vc,Vr=pe.Fa,wn=pe.P+1+nt*Fe,kn=pe.mb,Sr=pe.nb+nt*Fe,z(wn<=pe.P+pe.qc),fn.Z!=0)for(z(qh[fn.Z]!=null),tn=0;tn<xt;++tn)qh[fn.Z](Mn,kr,Vr,wn,kn,Sr,Fe),Mn=kn,kr=Sr,Sr+=Fe,wn+=Fe;else for(tn=0;tn<xt;++tn)re(kn,Sr,Vr,wn,Fe),Mn=kn,kr=Sr,Sr+=Fe,wn+=Fe;pe.rc=Mn,pe.Vc=kr}else{if(z(fn.mc!=null),Fe=nt+xt,z((tn=fn.mc)!=null),z(Fe<=tn.i),tn.C>=Fe)Fe=1;else if(fn.ic||Zd(),fn.ic){fn=tn.V,Mn=tn.Ba,kr=tn.c;var Ui=tn.i,ii=(Vr=1,wn=tn.$/kr,kn=tn.$%kr,Sr=tn.m,li=tn.s,tn.$),zi=kr*Ui,Gi=kr*Fe,bo=li.wc,oo=ii<Gi?sc(li,kn,wn):null;z(ii<=zi),z(Fe<=Ui),z(ff(li));t:for(;;){for(;!Sr.h&&ii<Gi;){if(kn&bo||(oo=sc(li,kn,wn)),z(oo!=null),si(Sr),256>(Ui=AA(oo.G[0],oo.H[0],Sr)))fn[Mn+ii]=Ui,++ii,++kn>=kr&&(kn=0,++wn<=Fe&&!(wn%16)&&hf(tn,wn));else{if(!(280>Ui)){Vr=0;break t}Ui=Qd(Ui-256,Sr);var Qa,Ea=AA(oo.G[4],oo.H[4],Sr);if(si(Sr),!(ii>=(Ea=Hd(kr,Ea=Qd(Ea,Sr)))&&zi-ii>=Ui)){Vr=0;break t}for(Qa=0;Qa<Ui;++Qa)fn[Mn+ii+Qa]=fn[Mn+ii+Qa-Ea];for(ii+=Ui,kn+=Ui;kn>=kr;)kn-=kr,++wn<=Fe&&!(wn%16)&&hf(tn,wn);ii<Gi&&kn&bo&&(oo=sc(li,kn,wn))}z(Sr.h==Br(Sr))}hf(tn,wn>Fe?Fe:wn);break t}!Vr||Sr.h&&ii<zi?(Vr=0,tn.a=Sr.h?5:3):tn.$=ii,Fe=Vr}else Fe=pf(tn,tn.V,tn.Ba,tn.c,tn.i,Fe,ig);if(!Fe){xt=0;break e}}nt+xt>=qt&&(pe.Cc=1),xt=1}if(!xt)return null;if(pe.Cc&&((xt=pe.ga)!=null&&(xt.mc=null),pe.ga=null,0<pe.Ga))return alert("todo:WebPDequantizeLevels"),null}return pe.nb+nt*Ht}function Fu(pe,Fe,nt,xt,Ht,qt){for(;0<Ht--;){var tn,fn=pe,wn=Fe+(nt?1:0),kn=pe,Sr=Fe+(nt?0:3);for(tn=0;tn<xt;++tn){var li=kn[Sr+4*tn];li!=255&&(li*=32897,fn[wn+4*tn+0]=fn[wn+4*tn+0]*li>>23,fn[wn+4*tn+1]=fn[wn+4*tn+1]*li>>23,fn[wn+4*tn+2]=fn[wn+4*tn+2]*li>>23)}Fe+=qt}}function QA(pe,Fe,nt,xt,Ht){for(;0<xt--;){var qt;for(qt=0;qt<nt;++qt){var tn=pe[Fe+2*qt+0],fn=15&(kn=pe[Fe+2*qt+1]),wn=4369*fn,kn=(240&kn|kn>>4)*wn>>16;pe[Fe+2*qt+0]=(240&tn|tn>>4)*wn>>16&240|(15&tn|tn<<4)*wn>>16>>4&15,pe[Fe+2*qt+1]=240&kn|fn}Fe+=Ht}}function PA(pe,Fe,nt,xt,Ht,qt,tn,fn){var wn,kn,Sr=255;for(kn=0;kn<Ht;++kn){for(wn=0;wn<xt;++wn){var li=pe[Fe+wn];qt[tn+4*wn]=li,Sr&=li}Fe+=nt,tn+=fn}return Sr!=255}function lc(pe,Fe,nt,xt,Ht){var qt;for(qt=0;qt<Ht;++qt)nt[xt+qt]=pe[Fe+qt]>>8}function Zd(){$g=Fu,Y0=QA,J0=PA,q0=lc}function qc(pe,Fe,nt){Gn[pe]=function(xt,Ht,qt,tn,fn,wn,kn,Sr,li,Mn,kr,Vr,Ui,ii,zi,Gi,bo){var oo,Qa=bo-1>>1,Ea=fn[wn+0]|kn[Sr+0]<<16,$s=li[Mn+0]|kr[Vr+0]<<16;z(xt!=null);var Na=3*Ea+$s+131074>>2;for(Fe(xt[Ht+0],255&Na,Na>>16,Ui,ii),qt!=null&&(Na=3*$s+Ea+131074>>2,Fe(qt[tn+0],255&Na,Na>>16,zi,Gi)),oo=1;oo<=Qa;++oo){var wl=fn[wn+oo]|kn[Sr+oo]<<16,zA=li[Mn+oo]|kr[Vr+oo]<<16,Gs=Ea+wl+$s+zA+524296,Oa=Gs+2*(wl+$s)>>3;Na=Oa+Ea>>1,Ea=(Gs=Gs+2*(Ea+zA)>>3)+wl>>1,Fe(xt[Ht+2*oo-1],255&Na,Na>>16,Ui,ii+(2*oo-1)*nt),Fe(xt[Ht+2*oo-0],255&Ea,Ea>>16,Ui,ii+(2*oo-0)*nt),qt!=null&&(Na=Gs+$s>>1,Ea=Oa+zA>>1,Fe(qt[tn+2*oo-1],255&Na,Na>>16,zi,Gi+(2*oo-1)*nt),Fe(qt[tn+2*oo+0],255&Ea,Ea>>16,zi,Gi+(2*oo+0)*nt)),Ea=wl,$s=zA}1&bo||(Na=3*Ea+$s+131074>>2,Fe(xt[Ht+bo-1],255&Na,Na>>16,Ui,ii+(bo-1)*nt),qt!=null&&(Na=3*$s+Ea+131074>>2,Fe(qt[tn+bo-1],255&Na,Na>>16,zi,Gi+(bo-1)*nt)))}}function wm(){Vd[Em]=d1,Vd[Sm]=Av,Vd[ov]=f1,Vd[Fm]=cv,Vd[Im]=dv,Vd[c0]=fv,Vd[av]=h1,Vd[d0]=Av,Vd[f0]=cv,Vd[Lm]=dv,Vd[h0]=fv}function dg(pe){return pe&~p1?0>pe?0:255:pe>>hv}function _p(pe,Fe){return dg((19077*pe>>8)+(26149*Fe>>8)-14234)}function Kh(pe,Fe,nt){return dg((19077*pe>>8)-(6419*Fe>>8)-(13320*nt>>8)+8708)}function Tp(pe,Fe){return dg((19077*pe>>8)+(33050*Fe>>8)-17685)}function kp(pe,Fe,nt,xt,Ht){xt[Ht+0]=_p(pe,nt),xt[Ht+1]=Kh(pe,Fe,nt),xt[Ht+2]=Tp(pe,Fe)}function Mp(pe,Fe,nt,xt,Ht){xt[Ht+0]=Tp(pe,Fe),xt[Ht+1]=Kh(pe,Fe,nt),xt[Ht+2]=_p(pe,nt)}function Dc(pe,Fe,nt,xt,Ht){var qt=Kh(pe,Fe,nt);Fe=qt<<3&224|Tp(pe,Fe)>>3,xt[Ht+0]=248&_p(pe,nt)|qt>>5,xt[Ht+1]=Fe}function Up(pe,Fe,nt,xt,Ht){var qt=240&Tp(pe,Fe)|15;xt[Ht+0]=240&_p(pe,nt)|Kh(pe,Fe,nt)>>4,xt[Ht+1]=qt}function Rp(pe,Fe,nt,xt,Ht){xt[Ht+0]=255,kp(pe,Fe,nt,xt,Ht+1)}function Mg(pe,Fe,nt,xt,Ht){Mp(pe,Fe,nt,xt,Ht),xt[Ht+3]=255}function Ug(pe,Fe,nt,xt,Ht){kp(pe,Fe,nt,xt,Ht),xt[Ht+3]=255}function cA(pe,Fe){return 0>pe?0:pe>Fe?Fe:pe}function Ch(pe,Fe,nt){Gn[pe]=function(xt,Ht,qt,tn,fn,wn,kn,Sr,li){for(var Mn=Sr+(-2&li)*nt;Sr!=Mn;)Fe(xt[Ht+0],qt[tn+0],fn[wn+0],kn,Sr),Fe(xt[Ht+1],qt[tn+0],fn[wn+0],kn,Sr+nt),Ht+=2,++tn,++wn,Sr+=2*nt;1&li&&Fe(xt[Ht+0],qt[tn+0],fn[wn+0],kn,Sr)}}function fg(pe,Fe,nt){return nt==0?pe==0?Fe==0?6:5:Fe==0?4:0:nt}function bm(pe,Fe,nt,xt,Ht){switch(pe>>>30){case 3:zp(Fe,nt,xt,Ht,0);break;case 2:$d(Fe,nt,xt,Ht);break;case 1:ru(Fe,nt,xt,Ht)}}function Wd(pe,Fe){var nt,xt,Ht=Fe.M,qt=Fe.Nb,tn=pe.oc,fn=pe.pc+40,wn=pe.oc,kn=pe.pc+584,Sr=pe.oc,li=pe.pc+600;for(nt=0;16>nt;++nt)tn[fn+32*nt-1]=129;for(nt=0;8>nt;++nt)wn[kn+32*nt-1]=129,Sr[li+32*nt-1]=129;for(0<Ht?tn[fn-1-32]=wn[kn-1-32]=Sr[li-1-32]=129:(Ae(tn,fn-32-1,127,21),Ae(wn,kn-32-1,127,9),Ae(Sr,li-32-1,127,9)),xt=0;xt<pe.za;++xt){var Mn=Fe.ya[Fe.aa+xt];if(0<xt){for(nt=-1;16>nt;++nt)re(tn,fn+32*nt-4,tn,fn+32*nt+12,4);for(nt=-1;8>nt;++nt)re(wn,kn+32*nt-4,wn,kn+32*nt+4,4),re(Sr,li+32*nt-4,Sr,li+32*nt+4,4)}var kr=pe.Gd,Vr=pe.Hd+xt,Ui=Mn.ad,ii=Mn.Hc;if(0<Ht&&(re(tn,fn-32,kr[Vr].y,0,16),re(wn,kn-32,kr[Vr].f,0,8),re(Sr,li-32,kr[Vr].ea,0,8)),Mn.Za){var zi=tn,Gi=fn-32+16;for(0<Ht&&(xt>=pe.za-1?Ae(zi,Gi,kr[Vr].y[15],4):re(zi,Gi,kr[Vr+1].y,0,4)),nt=0;4>nt;nt++)zi[Gi+128+nt]=zi[Gi+256+nt]=zi[Gi+384+nt]=zi[Gi+0+nt];for(nt=0;16>nt;++nt,ii<<=2)zi=tn,Gi=fn+gv[nt],mf[Mn.Ob[nt]](zi,Gi),bm(ii,Ui,16*+nt,zi,Gi)}else if(zi=fg(xt,Ht,Mn.Ob[0]),Jh[zi](tn,fn),ii!=0)for(nt=0;16>nt;++nt,ii<<=2)bm(ii,Ui,16*+nt,tn,fn+gv[nt]);for(nt=Mn.Gc,zi=fg(xt,Ht,Mn.Dd),Eh[zi](wn,kn),Eh[zi](Sr,li),ii=Ui,zi=wn,Gi=kn,255&(Mn=0|nt)&&(170&Mn?Vf(ii,256,zi,Gi):wu(ii,256,zi,Gi)),Mn=Sr,ii=li,255&(nt>>=8)&&(170&nt?Vf(Ui,320,Mn,ii):wu(Ui,320,Mn,ii)),Ht<pe.Ub-1&&(re(kr[Vr].y,0,tn,fn+480,16),re(kr[Vr].f,0,wn,kn+224,8),re(kr[Vr].ea,0,Sr,li+224,8)),nt=8*qt*pe.B,kr=pe.sa,Vr=pe.ta+16*xt+16*qt*pe.R,Ui=pe.qa,Mn=pe.ra+8*xt+nt,ii=pe.Ha,zi=pe.Ia+8*xt+nt,nt=0;16>nt;++nt)re(kr,Vr+nt*pe.R,tn,fn+32*nt,16);for(nt=0;8>nt;++nt)re(Ui,Mn+nt*pe.B,wn,kn+32*nt,8),re(ii,zi+nt*pe.B,Sr,li+32*nt,8)}}function jp(pe,Fe,nt,xt,Ht,qt,tn,fn,wn){var kn=[0],Sr=[0],li=0,Mn=wn!=null?wn.kd:0,kr=wn!=null?wn:new Zi;if(pe==null||12>nt)return 7;kr.data=pe,kr.w=Fe,kr.ha=nt,Fe=[Fe],nt=[nt],kr.gb=[kr.gb];e:{var Vr=Fe,Ui=nt,ii=kr.gb;if(z(pe!=null),z(Ui!=null),z(ii!=null),ii[0]=0,12<=Ui[0]&&!E(pe,Vr[0],"RIFF")){if(E(pe,Vr[0]+8,"WEBP")){ii=3;break e}var zi=Mi(pe,Vr[0]+4);if(12>zi||4294967286<zi){ii=3;break e}if(Mn&&zi>Ui[0]-8){ii=7;break e}ii[0]=zi,Vr[0]+=12,Ui[0]-=12}ii=0}if(ii!=0)return ii;for(zi=0<kr.gb[0],nt=nt[0];;){e:{var Gi=pe;Ui=Fe,ii=nt;var bo=kn,oo=Sr,Qa=Vr=[0];if((Na=li=[li])[0]=0,8>ii[0])ii=7;else{if(!E(Gi,Ui[0],"VP8X")){if(Mi(Gi,Ui[0]+4)!=10){ii=3;break e}if(18>ii[0]){ii=7;break e}var Ea=Mi(Gi,Ui[0]+8),$s=1+ca(Gi,Ui[0]+12);if(2147483648<=$s*(Gi=1+ca(Gi,Ui[0]+15))){ii=3;break e}Qa!=null&&(Qa[0]=Ea),bo!=null&&(bo[0]=$s),oo!=null&&(oo[0]=Gi),Ui[0]+=18,ii[0]-=18,Na[0]=1}ii=0}}if(li=li[0],Vr=Vr[0],ii!=0)return ii;if(Ui=!!(2&Vr),!zi&&li)return 3;if(qt!=null&&(qt[0]=!!(16&Vr)),tn!=null&&(tn[0]=Ui),fn!=null&&(fn[0]=0),tn=kn[0],Vr=Sr[0],li&&Ui&&wn==null){ii=0;break}if(4>nt){ii=7;break}if(zi&&li||!zi&&!li&&!E(pe,Fe[0],"ALPH")){nt=[nt],kr.na=[kr.na],kr.P=[kr.P],kr.Sa=[kr.Sa];e:{Ea=pe,ii=Fe,zi=nt;var Na=kr.gb;bo=kr.na,oo=kr.P,Qa=kr.Sa,$s=22,z(Ea!=null),z(zi!=null),Gi=ii[0];var wl=zi[0];for(z(bo!=null),z(Qa!=null),bo[0]=null,oo[0]=null,Qa[0]=0;;){if(ii[0]=Gi,zi[0]=wl,8>wl){ii=7;break e}var zA=Mi(Ea,Gi+4);if(4294967286<zA){ii=3;break e}var Gs=8+zA+1&-2;if($s+=Gs,0<Na&&$s>Na){ii=3;break e}if(!E(Ea,Gi,"VP8 ")||!E(Ea,Gi,"VP8L")){ii=0;break e}if(wl[0]<Gs){ii=7;break e}E(Ea,Gi,"ALPH")||(bo[0]=Ea,oo[0]=Gi+8,Qa[0]=zA),Gi+=Gs,wl-=Gs}}if(nt=nt[0],kr.na=kr.na[0],kr.P=kr.P[0],kr.Sa=kr.Sa[0],ii!=0)break}nt=[nt],kr.Ja=[kr.Ja],kr.xa=[kr.xa];e:if(Na=pe,ii=Fe,zi=nt,bo=kr.gb[0],oo=kr.Ja,Qa=kr.xa,Ea=ii[0],Gi=!E(Na,Ea,"VP8 "),$s=!E(Na,Ea,"VP8L"),z(Na!=null),z(zi!=null),z(oo!=null),z(Qa!=null),8>zi[0])ii=7;else{if(Gi||$s){if(Na=Mi(Na,Ea+4),12<=bo&&Na>bo-12){ii=3;break e}if(Mn&&Na>zi[0]-8){ii=7;break e}oo[0]=Na,ii[0]+=8,zi[0]-=8,Qa[0]=$s}else Qa[0]=5<=zi[0]&&Na[Ea+0]==47&&!(Na[Ea+4]>>5),oo[0]=zi[0];ii=0}if(nt=nt[0],kr.Ja=kr.Ja[0],kr.xa=kr.xa[0],Fe=Fe[0],ii!=0)break;if(4294967286<kr.Ja)return 3;if(fn==null||Ui||(fn[0]=kr.xa?2:1),tn=[tn],Vr=[Vr],kr.xa){if(5>nt){ii=7;break}fn=tn,Mn=Vr,Ui=qt,pe==null||5>nt?pe=0:5<=nt&&pe[Fe+0]==47&&!(pe[Fe+4]>>5)?(zi=[0],Na=[0],bo=[0],Pi(oo=new Kn,pe,Fe,nt),gh(oo,zi,Na,bo)?(fn!=null&&(fn[0]=zi[0]),Mn!=null&&(Mn[0]=Na[0]),Ui!=null&&(Ui[0]=bo[0]),pe=1):pe=0):pe=0}else{if(10>nt){ii=7;break}fn=Vr,pe==null||10>nt||!cm(pe,Fe+3,nt-3)?pe=0:(Mn=pe[Fe+0]|pe[Fe+1]<<8|pe[Fe+2]<<16,Ui=16383&(pe[Fe+7]<<8|pe[Fe+6]),pe=16383&(pe[Fe+9]<<8|pe[Fe+8]),1&Mn||3<(Mn>>1&7)||!(Mn>>4&1)||Mn>>5>=kr.Ja||!Ui||!pe?pe=0:(tn&&(tn[0]=Ui),fn&&(fn[0]=pe),pe=1))}if(!pe||(tn=tn[0],Vr=Vr[0],li&&(kn[0]!=tn||Sr[0]!=Vr)))return 3;wn!=null&&(wn[0]=kr,wn.offset=Fe-wn.w,z(4294967286>Fe-wn.w),z(wn.offset==wn.ha-nt));break}return ii==0||ii==7&&li&&wn==null?(qt!=null&&(qt[0]|=kr.na!=null&&0<kr.na.length),xt!=null&&(xt[0]=tn),Ht!=null&&(Ht[0]=Vr),0):ii}function Rg(pe,Fe,nt){var xt=Fe.width,Ht=Fe.height,qt=0,tn=0,fn=xt,wn=Ht;if(Fe.Da=pe!=null&&0<pe.Da,Fe.Da&&(fn=pe.cd,wn=pe.bd,qt=pe.v,tn=pe.j,11>nt||(qt&=-2,tn&=-2),0>qt||0>tn||0>=fn||0>=wn||qt+fn>xt||tn+wn>Ht))return 0;if(Fe.v=qt,Fe.j=tn,Fe.va=qt+fn,Fe.o=tn+wn,Fe.U=fn,Fe.T=wn,Fe.da=pe!=null&&0<pe.da,Fe.da){if(!ns(fn,wn,nt=[pe.ib],qt=[pe.hb]))return 0;Fe.ib=nt[0],Fe.hb=qt[0]}return Fe.ob=pe!=null&&pe.ob,Fe.Kb=pe==null||!pe.Sd,Fe.da&&(Fe.ob=Fe.ib<3*xt/4&&Fe.hb<3*Ht/4,Fe.Kb=0),1}function jg(pe){if(pe==null)return 2;if(11>pe.S){var Fe=pe.f.RGBA;Fe.fb+=(pe.height-1)*Fe.A,Fe.A=-Fe.A}else Fe=pe.f.kb,pe=pe.height,Fe.O+=(pe-1)*Fe.fa,Fe.fa=-Fe.fa,Fe.N+=(pe-1>>1)*Fe.Ab,Fe.Ab=-Fe.Ab,Fe.W+=(pe-1>>1)*Fe.Db,Fe.Db=-Fe.Db,Fe.F!=null&&(Fe.J+=(pe-1)*Fe.lb,Fe.lb=-Fe.lb);return 0}function Zh(pe,Fe,nt,xt){if(xt==null||0>=pe||0>=Fe)return 2;if(nt!=null){if(nt.Da){var Ht=nt.cd,qt=nt.bd,tn=-2&nt.v,fn=-2&nt.j;if(0>tn||0>fn||0>=Ht||0>=qt||tn+Ht>pe||fn+qt>Fe)return 2;pe=Ht,Fe=qt}if(nt.da){if(!ns(pe,Fe,Ht=[nt.ib],qt=[nt.hb]))return 2;pe=Ht[0],Fe=qt[0]}}xt.width=pe,xt.height=Fe;e:{var wn=xt.width,kn=xt.height;if(pe=xt.S,0>=wn||0>=kn||!(pe>=Em&&13>pe))pe=2;else{if(0>=xt.Rd&&xt.sd==null){tn=qt=Ht=Fe=0;var Sr=(fn=wn*mv[pe])*kn;if(11>pe||(qt=(kn+1)/2*(Fe=(wn+1)/2),pe==12&&(tn=(Ht=wn)*kn)),(kn=he(Sr+2*qt+tn))==null){pe=1;break e}xt.sd=kn,11>pe?((wn=xt.f.RGBA).eb=kn,wn.fb=0,wn.A=fn,wn.size=Sr):((wn=xt.f.kb).y=kn,wn.O=0,wn.fa=fn,wn.Fd=Sr,wn.f=kn,wn.N=0+Sr,wn.Ab=Fe,wn.Cd=qt,wn.ea=kn,wn.W=0+Sr+qt,wn.Db=Fe,wn.Ed=qt,pe==12&&(wn.F=kn,wn.J=0+Sr+2*qt),wn.Tc=tn,wn.lb=Ht)}if(Fe=1,Ht=xt.S,qt=xt.width,tn=xt.height,Ht>=Em&&13>Ht)if(11>Ht)pe=xt.f.RGBA,Fe&=(fn=Math.abs(pe.A))*(tn-1)+qt<=pe.size,Fe&=fn>=qt*mv[Ht],Fe&=pe.eb!=null;else{pe=xt.f.kb,fn=(qt+1)/2,Sr=(tn+1)/2,wn=Math.abs(pe.fa),kn=Math.abs(pe.Ab);var li=Math.abs(pe.Db),Mn=Math.abs(pe.lb),kr=Mn*(tn-1)+qt;Fe&=wn*(tn-1)+qt<=pe.Fd,Fe&=kn*(Sr-1)+fn<=pe.Cd,Fe=(Fe&=li*(Sr-1)+fn<=pe.Ed)&wn>=qt&kn>=fn&li>=fn,Fe&=pe.y!=null,Fe&=pe.f!=null,Fe&=pe.ea!=null,Ht==12&&(Fe&=Mn>=qt,Fe&=kr<=pe.Tc,Fe&=pe.F!=null)}else Fe=0;pe=Fe?0:2}}return pe!=0||nt!=null&&nt.fd&&(pe=jg(xt)),pe}var Qp=64,vd=[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],yd=24,Wh=32,xh=8,$h=[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];ha("Predictor0","PredictorAdd0"),Gn.Predictor0=function(){return 4278190080},Gn.Predictor1=function(pe){return pe},Gn.Predictor2=function(pe,Fe,nt){return Fe[nt+0]},Gn.Predictor3=function(pe,Fe,nt){return Fe[nt+1]},Gn.Predictor4=function(pe,Fe,nt){return Fe[nt-1]},Gn.Predictor5=function(pe,Fe,nt){return Ya(Ya(pe,Fe[nt+1]),Fe[nt+0])},Gn.Predictor6=function(pe,Fe,nt){return Ya(pe,Fe[nt-1])},Gn.Predictor7=function(pe,Fe,nt){return Ya(pe,Fe[nt+0])},Gn.Predictor8=function(pe,Fe,nt){return Ya(Fe[nt-1],Fe[nt+0])},Gn.Predictor9=function(pe,Fe,nt){return Ya(Fe[nt+0],Fe[nt+1])},Gn.Predictor10=function(pe,Fe,nt){return Ya(Ya(pe,Fe[nt-1]),Ya(Fe[nt+0],Fe[nt+1]))},Gn.Predictor11=function(pe,Fe,nt){var xt=Fe[nt+0];return 0>=Ts(xt>>24&255,pe>>24&255,(Fe=Fe[nt-1])>>24&255)+Ts(xt>>16&255,pe>>16&255,Fe>>16&255)+Ts(xt>>8&255,pe>>8&255,Fe>>8&255)+Ts(255&xt,255&pe,255&Fe)?xt:pe},Gn.Predictor12=function(pe,Fe,nt){var xt=Fe[nt+0];return(Ql((pe>>24&255)+(xt>>24&255)-((Fe=Fe[nt-1])>>24&255))<<24|Ql((pe>>16&255)+(xt>>16&255)-(Fe>>16&255))<<16|Ql((pe>>8&255)+(xt>>8&255)-(Fe>>8&255))<<8|Ql((255&pe)+(255&xt)-(255&Fe)))>>>0},Gn.Predictor13=function(pe,Fe,nt){var xt=Fe[nt-1];return(_s((pe=Ya(pe,Fe[nt+0]))>>24&255,xt>>24&255)<<24|_s(pe>>16&255,xt>>16&255)<<16|_s(pe>>8&255,xt>>8&255)<<8|_s(255&pe,255&xt))>>>0};var Qg=Gn.PredictorAdd0;Gn.PredictorAdd1=fu,ha("Predictor2","PredictorAdd2"),ha("Predictor3","PredictorAdd3"),ha("Predictor4","PredictorAdd4"),ha("Predictor5","PredictorAdd5"),ha("Predictor6","PredictorAdd6"),ha("Predictor7","PredictorAdd7"),ha("Predictor8","PredictorAdd8"),ha("Predictor9","PredictorAdd9"),ha("Predictor10","PredictorAdd10"),ha("Predictor11","PredictorAdd11"),ha("Predictor12","PredictorAdd12"),ha("Predictor13","PredictorAdd13");var hg=Gn.PredictorAdd2;Va("ColorIndexInverseTransform","MapARGB","32b",function(pe){return pe>>8&255},function(pe){return pe}),Va("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(pe){return pe},function(pe){return pe>>8&255});var xA,Cm=Gn.ColorIndexInverseTransform,$f=Gn.MapARGB,Gf=Gn.VP8LColorIndexInverseTransformAlpha,Hg=Gn.MapAlpha,zg=Gn.VP8LPredictorsAdd=[];zg.length=16,(Gn.VP8LPredictors=[]).length=16,(Gn.VP8LPredictorsAdd_C=[]).length=16,(Gn.VP8LPredictors_C=[]).length=16;var Kg,Zg,Gh,Vh,Xh,Hp,Yh,zp,$d,Vf,ru,wu,BA,HA,Bh,Wg,pg,xm,Z0,W0,$0,G0,V0,X0,$g,Y0,J0,q0,ev=he(511),tv=he(2041),nv=he(225),rv=he(767),iv=0,A0=tv,Bm=nv,wd=rv,Gd=ev,Em=0,Sm=1,ov=2,Fm=3,Im=4,c0=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],Gg=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]]]],A1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Jh=[],mf=[],Eh=[],c1=1,uv=2,qh=[],Vd=[];qc("UpsampleRgbLinePair",kp,3),qc("UpsampleBgrLinePair",Mp,3),qc("UpsampleRgbaLinePair",Ug,4),qc("UpsampleBgraLinePair",Mg,4),qc("UpsampleArgbLinePair",Rp,4),qc("UpsampleRgba4444LinePair",Up,2),qc("UpsampleRgb565LinePair",Dc,2);var d1=Gn.UpsampleRgbLinePair,f1=Gn.UpsampleBgrLinePair,Av=Gn.UpsampleRgbaLinePair,cv=Gn.UpsampleBgraLinePair,dv=Gn.UpsampleArgbLinePair,fv=Gn.UpsampleRgba4444LinePair,h1=Gn.UpsampleRgb565LinePair,Dm=16,Nm=1<<Dm-1,Vg=-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-Vg),b1=he(m0-Vg);Ch("YuvToRgbRow",kp,3),Ch("YuvToBgrRow",Mp,3),Ch("YuvToRgbaRow",Ug,4),Ch("YuvToBgraRow",Mg,4),Ch("YuvToArgbRow",Rp,4),Ch("YuvToRgba4444Row",Up,2),Ch("YuvToRgb565Row",Dc,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,Fe,nt,xt,Ht){var qt=Sm,tn=new $r,fn=new yu;tn.ba=fn,fn.S=qt,fn.width=[fn.width],fn.height=[fn.height];var wn=fn.width,kn=fn.height,Sr=new xs;if(Sr==null||pe==null)var li=2;else z(Sr!=null),li=jp(pe,Fe,nt,Sr.width,Sr.height,Sr.Pd,Sr.Qd,Sr.format,null);if(li!=0?wn=0:(wn!=null&&(wn[0]=Sr.width[0]),kn!=null&&(kn[0]=Sr.height[0]),wn=1),wn){fn.width=fn.width[0],fn.height=fn.height[0],xt!=null&&(xt[0]=fn.width),Ht!=null&&(Ht[0]=fn.height);e:{if(xt=new sg,(Ht=new Zi).data=pe,Ht.w=Fe,Ht.ha=nt,Ht.kd=1,Fe=[0],z(Ht!=null),((pe=jp(Ht.data,Ht.w,Ht.ha,null,null,null,Fe,null,Ht))==0||pe==7)&&Fe[0]&&(pe=4),(Fe=pe)==0){if(z(tn!=null),xt.data=Ht.data,xt.w=Ht.w+Ht.offset,xt.ha=Ht.ha-Ht.offset,xt.put=ss,xt.ac=zf,xt.bc=ph,xt.ma=tn,Ht.xa){if((pe=xp())==null){tn=1;break e}if(function(Mn,kr){var Vr=[0],Ui=[0],ii=[0];t:for(;;){if(Mn==null)return 0;if(kr==null)return Mn.a=2,0;if(Mn.l=kr,Mn.a=0,Pi(Mn.m,kr.data,kr.w,kr.ha),!gh(Mn.m,Vr,Ui,ii)){Mn.a=3;break t}if(Mn.xb=uv,kr.width=Vr[0],kr.height=Ui[0],!Zf(Vr[0],Ui[0],1,Mn,null))break t;return 1}return z(Mn.a!=0),0}(pe,xt)){if(xt=(Fe=Zh(xt.width,xt.height,tn.Oa,tn.ba))==0){t:{xt=pe;n:for(;;){if(xt==null){xt=0;break t}if(z(xt.s.yc!=null),z(xt.s.Ya!=null),z(0<xt.s.Wb),z((nt=xt.l)!=null),z((Ht=nt.ma)!=null),xt.xb!=0){if(xt.ca=Ht.ba,xt.tb=Ht.tb,z(xt.ca!=null),!Rg(Ht.Oa,nt,Fm)){xt.a=2;break n}if(!Bp(xt,nt.width)||nt.da)break n;if((nt.da||Ms(xt.ca.S))&&Zd(),11>xt.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),xt.ca.f.kb.F!=null&&Zd()),xt.Pb&&0<xt.s.ua&&xt.s.vb.X==null&&!Jn(xt.s.vb,xt.s.Wa.Xa)){xt.a=1;break n}xt.xb=0}if(!pf(xt,xt.V,xt.Ba,xt.c,xt.i,nt.o,Qh))break n;Ht.Dc=xt.Ma,xt=1;break t}z(xt.a!=0),xt=0}xt=!xt}xt&&(Fe=pe.a)}else Fe=pe.a}else{if((pe=new Vm)==null){tn=1;break e}if(pe.Fa=Ht.na,pe.P=Ht.P,pe.qc=Ht.Sa,dm(pe,xt)){if((Fe=Zh(xt.width,xt.height,tn.Oa,tn.ba))==0){if(pe.Aa=0,nt=tn.Oa,z((Ht=pe)!=null),nt!=null){if(0<(wn=0>(wn=nt.Md)?0:100<wn?255:255*wn/100)){for(kn=Sr=0;4>kn;++kn)12>(li=Ht.pb[kn]).lc&&(li.ia=wn*C1[0>li.lc?0:li.lc]>>3),Sr|=li.ia;Sr&&(alert("todo:VP8InitRandom"),Ht.ia=1)}Ht.Ga=nt.Id,100<Ht.Ga?Ht.Ga=100:0>Ht.Ga&&(Ht.Ga=0)}(function(Mn,kr){if(Mn==null)return 0;if(kr==null)return NA(Mn,2,"NULL VP8Io parameter in VP8Decode().");if(!Mn.cb&&!dm(Mn,kr))return 0;if(z(Mn.cb),kr.ac==null||kr.ac(kr)){kr.ob&&(Mn.L=0);var Vr=Om[Mn.L];if(Mn.L==2?(Mn.yb=0,Mn.zb=0):(Mn.yb=kr.v-Vr>>4,Mn.zb=kr.j-Vr>>4,0>Mn.yb&&(Mn.yb=0),0>Mn.zb&&(Mn.zb=0)),Mn.Va=kr.o+15+Vr>>4,Mn.Hb=kr.va+15+Vr>>4,Mn.Hb>Mn.za&&(Mn.Hb=Mn.za),Mn.Va>Mn.Ub&&(Mn.Va=Mn.Ub),0<Mn.L){var Ui=Mn.ed;for(Vr=0;4>Vr;++Vr){var ii;if(Mn.Qa.Cb){var zi=Mn.Qa.Lb[Vr];Mn.Qa.Fb||(zi+=Ui.Tb)}else zi=Ui.Tb;for(ii=0;1>=ii;++ii){var Gi=Mn.gd[Vr][ii],bo=zi;if(Ui.Pc&&(bo+=Ui.vd[0],ii&&(bo+=Ui.od[0])),0<(bo=0>bo?0:63<bo?63:bo)){var oo=bo;0<Ui.wb&&(oo=4<Ui.wb?oo>>2:oo>>1)>9-Ui.wb&&(oo=9-Ui.wb),1>oo&&(oo=1),Gi.dd=oo,Gi.tc=2*bo+oo,Gi.ld=40<=bo?2:15<=bo?1:0}else Gi.tc=0;Gi.La=ii}}}Vr=0}else NA(Mn,6,"Frame setup failed"),Vr=Mn.a;if(Vr=Vr==0){if(Vr){Mn.$c=0,0<Mn.Aa||(Mn.Ic=x1);t:{Vr=Mn.Ic,Ui=4*(oo=Mn.za);var Qa=32*oo,Ea=oo+1,$s=0<Mn.L?oo*(0<Mn.Aa?2:1):0,Na=(Mn.Aa==2?2:1)*oo;if((Gi=Ui+832+(ii=3*(16*Vr+Om[Mn.L])/2*Qa)+(zi=Mn.Fa!=null&&0<Mn.Fa.length?Mn.Kc.c*Mn.Kc.i:0))!=Gi)Vr=0;else{if(Gi>Mn.Vb){if(Mn.Vb=0,Mn.Ec=he(Gi),Mn.Fc=0,Mn.Ec==null){Vr=NA(Mn,1,"no memory during frame initialization.");break t}Mn.Vb=Gi}Gi=Mn.Ec,bo=Mn.Fc,Mn.Ac=Gi,Mn.Bc=bo,bo+=Ui,Mn.Gd=Ke(Qa,um),Mn.Hd=0,Mn.rb=Ke(Ea+1,Sg),Mn.sb=1,Mn.wa=$s?Ke($s,Kd):null,Mn.Y=0,Mn.D.Nb=0,Mn.D.wa=Mn.wa,Mn.D.Y=Mn.Y,0<Mn.Aa&&(Mn.D.Y+=oo),z(!0),Mn.oc=Gi,Mn.pc=bo,bo+=832,Mn.ya=Ke(Na,Fg),Mn.aa=0,Mn.D.ya=Mn.ya,Mn.D.aa=Mn.aa,Mn.Aa==2&&(Mn.D.aa+=oo),Mn.R=16*oo,Mn.B=8*oo,oo=(Qa=Om[Mn.L])*Mn.R,Qa=Qa/2*Mn.B,Mn.sa=Gi,Mn.ta=bo+oo,Mn.qa=Mn.sa,Mn.ra=Mn.ta+16*Vr*Mn.R+Qa,Mn.Ha=Mn.qa,Mn.Ia=Mn.ra+8*Vr*Mn.B+Qa,Mn.$c=0,bo+=ii,Mn.mb=zi?Gi:null,Mn.nb=zi?bo:null,z(bo+zi<=Mn.Fc+Mn.Vb),Ep(Mn),Ae(Mn.Ac,Mn.Bc,0,Ui),Vr=1}}if(Vr){if(kr.ka=0,kr.y=Mn.sa,kr.O=Mn.ta,kr.f=Mn.qa,kr.N=Mn.ra,kr.ea=Mn.Ha,kr.Vd=Mn.Ia,kr.fa=Mn.R,kr.Rc=Mn.B,kr.F=null,kr.J=0,!iv){for(Vr=-255;255>=Vr;++Vr)ev[255+Vr]=0>Vr?-Vr:Vr;for(Vr=-1020;1020>=Vr;++Vr)tv[1020+Vr]=-128>Vr?-128:127<Vr?127:Vr;for(Vr=-112;112>=Vr;++Vr)nv[112+Vr]=-16>Vr?-16:15<Vr?15:Vr;for(Vr=-255;510>=Vr;++Vr)rv[255+Vr]=0>Vr?0:255<Vr?255:Vr;iv=1}Yh=hm,zp=Ym,Vf=Jm,ru=Wf,wu=fm,$d=Xm,BA=mm,HA=vm,Bh=Xe,Wg=jt,pg=Pp,xm=ym,Z0=Rn,W0=gr,$0=kg,G0=Op,V0=pm,X0=gm,mf[0]=o0,mf[1]=Lg,mf[2]=r0,mf[3]=i0,mf[4]=a0,mf[5]=yh,mf[6]=vh,mf[7]=s0,mf[8]=lg,mf[9]=l0,Jh[0]=zh,Jh[1]=e0,Jh[2]=t0,Jh[3]=Dg,Jh[4]=n0,Jh[5]=Ip,Jh[6]=Ng,Eh[0]=Ag,Eh[1]=qm,Eh[2]=Og,Eh[3]=Lp,Eh[4]=Pg,Eh[5]=u0,Eh[6]=_g,Vr=1}else Vr=0}Vr&&(Vr=function(wl,zA){for(wl.M=0;wl.M<wl.Va;++wl.M){var Gs,Oa=wl.Jc[wl.M&wl.Xb],Yo=wl.m,EA=wl;for(Gs=0;Gs<EA.za;++Gs){var Us=Yo,Fl=EA,ku=Fl.Ac,uc=Fl.Bc+4*Gs,Qc=Fl.zc,dA=Fl.ya[Fl.aa+Gs];if(Fl.Qa.Bb?dA.$b=Xi(Us,Fl.Pa.jb[0])?2+Xi(Us,Fl.Pa.jb[2]):Xi(Us,Fl.Pa.jb[1]):dA.$b=0,Fl.kc&&(dA.Ad=Xi(Us,Fl.Bd)),dA.Za=!Xi(Us,145)+0,dA.Za){var Nc=dA.Ob,Hc=0;for(Fl=0;4>Fl;++Fl){var KA,Il=Qc[0+Fl];for(KA=0;4>KA;++KA){Il=l1[ku[uc+KA]][Il];for(var au=lv[Xi(Us,Il[0])];0<au;)au=lv[2*au+Xi(Us,Il[au])];Il=-au,ku[uc+KA]=Il}re(Nc,Hc,ku,uc,4),Hc+=4,Qc[0+Fl]=Il}}else Il=Xi(Us,156)?Xi(Us,128)?1:3:Xi(Us,163)?2:0,dA.Ob[0]=Il,Ae(ku,uc,Il,4),Ae(Qc,0,Il,4);dA.Dd=Xi(Us,142)?Xi(Us,114)?Xi(Us,183)?1:3:2:0}if(EA.m.Ka)return NA(wl,7,"Premature end-of-partition0 encountered.");for(;wl.ja<wl.za;++wl.ja){if(EA=Oa,Us=(Yo=wl).rb[Yo.sb-1],ku=Yo.rb[Yo.sb+Yo.ja],Gs=Yo.ya[Yo.aa+Yo.ja],uc=Yo.kc?Gs.Ad:0)Us.la=ku.la=0,Gs.Za||(Us.Na=ku.Na=0),Gs.Hc=0,Gs.Gc=0,Gs.ia=0;else{var fA,su;if(Us=ku,ku=EA,uc=Yo.Pa.Xc,Qc=Yo.ya[Yo.aa+Yo.ja],dA=Yo.pb[Qc.$b],Fl=Qc.ad,Nc=0,Hc=Yo.rb[Yo.sb-1],Il=KA=0,Ae(Fl,Nc,0,384),Qc.Za)var Ac=0,vf=uc[3];else{au=he(16);var SA=Us.Na+Hc.Na;if(SA=Gg(ku,uc[1],SA,dA.Eb,0,au,0),Us.Na=Hc.Na=(0<SA)+0,1<SA)Yh(au,0,Fl,Nc);else{var ed=au[0]+3>>3;for(au=0;256>au;au+=16)Fl[Nc+au]=ed}Ac=1,vf=uc[0]}var bu=15&Us.la,ZA=15&Hc.la;for(au=0;4>au;++au){var bd=1&ZA;for(ed=su=0;4>ed;++ed)bu=bu>>1|(bd=(SA=Gg(ku,vf,SA=bd+(1&bu),dA.Sc,Ac,Fl,Nc))>Ac)<<7,su=su<<2|(3<SA?3:1<SA?2:Fl[Nc+0]!=0),Nc+=16;bu>>=4,ZA=ZA>>1|bd<<7,KA=(KA<<8|su)>>>0}for(vf=bu,Ac=ZA>>4,fA=0;4>fA;fA+=2){for(su=0,bu=Us.la>>4+fA,ZA=Hc.la>>4+fA,au=0;2>au;++au){for(bd=1&ZA,ed=0;2>ed;++ed)SA=bd+(1&bu),bu=bu>>1|(bd=0<(SA=Gg(ku,uc[2],SA,dA.Qc,0,Fl,Nc)))<<3,su=su<<2|(3<SA?3:1<SA?2:Fl[Nc+0]!=0),Nc+=16;bu>>=2,ZA=ZA>>1|bd<<5}Il|=su<<4*fA,vf|=bu<<4<<fA,Ac|=(240&ZA)<<fA}Us.la=vf,Hc.la=Ac,Qc.Hc=KA,Qc.Gc=Il,Qc.ia=43690&Il?0:dA.ia,uc=!(KA|Il)}if(0<Yo.L&&(Yo.wa[Yo.Y+Yo.ja]=Yo.gd[Gs.$b][Gs.Za],Yo.wa[Yo.Y+Yo.ja].La|=!uc),EA.Ka)return NA(wl,7,"Premature end-of-file encountered.")}if(Ep(wl),Yo=zA,EA=1,Gs=(Oa=wl).D,Us=0<Oa.L&&Oa.M>=Oa.zb&&Oa.M<=Oa.Va,Oa.Aa==0)t:{if(Gs.M=Oa.M,Gs.uc=Us,Wd(Oa,Gs),EA=1,Gs=(su=Oa.D).Nb,Us=(Il=Om[Oa.L])*Oa.R,ku=Il/2*Oa.B,au=16*Gs*Oa.R,ed=8*Gs*Oa.B,uc=Oa.sa,Qc=Oa.ta-Us+au,dA=Oa.qa,Fl=Oa.ra-ku+ed,Nc=Oa.Ha,Hc=Oa.Ia-ku+ed,ZA=(bu=su.M)==0,KA=bu>=Oa.Va-1,Oa.Aa==2&&Wd(Oa,su),su.uc)for(bd=(SA=Oa).D.M,z(SA.D.uc),su=SA.yb;su<SA.Hb;++su){Ac=su,vf=bd;var zc=(Cd=(cc=SA).D).Nb;fA=cc.R;var Cd=Cd.wa[Cd.Y+Ac],xd=cc.sa,td=cc.ta+16*zc*fA+16*Ac,Bd=Cd.dd,Iu=Cd.tc;if(Iu!=0)if(z(3<=Iu),cc.L==1)0<Ac&&G0(xd,td,fA,Iu+4),Cd.La&&X0(xd,td,fA,Iu),0<vf&&$0(xd,td,fA,Iu+4),Cd.La&&V0(xd,td,fA,Iu);else{var Ed=cc.B,yf=cc.qa,Kp=cc.ra+8*zc*Ed+8*Ac,Sh=cc.Ha,cc=cc.Ia+8*zc*Ed+8*Ac;zc=Cd.ld,0<Ac&&(HA(xd,td,fA,Iu+4,Bd,zc),Wg(yf,Kp,Sh,cc,Ed,Iu+4,Bd,zc)),Cd.La&&(xm(xd,td,fA,Iu,Bd,zc),W0(yf,Kp,Sh,cc,Ed,Iu,Bd,zc)),0<vf&&(BA(xd,td,fA,Iu+4,Bd,zc),Bh(yf,Kp,Sh,cc,Ed,Iu+4,Bd,zc)),Cd.La&&(pg(xd,td,fA,Iu,Bd,zc),Z0(yf,Kp,Sh,cc,Ed,Iu,Bd,zc))}}if(Oa.ia&&alert("todo:DitherRow"),Yo.put!=null){if(su=16*bu,bu=16*(bu+1),ZA?(Yo.y=Oa.sa,Yo.O=Oa.ta+au,Yo.f=Oa.qa,Yo.N=Oa.ra+ed,Yo.ea=Oa.Ha,Yo.W=Oa.Ia+ed):(su-=Il,Yo.y=uc,Yo.O=Qc,Yo.f=dA,Yo.N=Fl,Yo.ea=Nc,Yo.W=Hc),KA||(bu-=Il),bu>Yo.o&&(bu=Yo.o),Yo.F=null,Yo.J=null,Oa.Fa!=null&&0<Oa.Fa.length&&su<bu&&(Yo.J=OA(Oa,Yo,su,bu-su),Yo.F=Oa.mb,Yo.F==null&&Yo.F.length==0)){EA=NA(Oa,3,"Could not decode alpha data.");break t}su<Yo.j&&(Il=Yo.j-su,su=Yo.j,z(!(1&Il)),Yo.O+=Oa.R*Il,Yo.N+=Oa.B*(Il>>1),Yo.W+=Oa.B*(Il>>1),Yo.F!=null&&(Yo.J+=Yo.width*Il)),su<bu&&(Yo.O+=Yo.v,Yo.N+=Yo.v>>1,Yo.W+=Yo.v>>1,Yo.F!=null&&(Yo.J+=Yo.v),Yo.ka=su-Yo.j,Yo.U=Yo.va-Yo.v,Yo.T=bu-su,EA=Yo.put(Yo))}Gs+1!=Oa.Ic||KA||(re(Oa.sa,Oa.ta-Us,uc,Qc+16*Oa.R,Us),re(Oa.qa,Oa.ra-ku,dA,Fl+8*Oa.B,ku),re(Oa.Ha,Oa.Ia-ku,Nc,Hc+8*Oa.B,ku))}if(!EA)return NA(wl,6,"Output aborted.")}return 1}(Mn,kr)),kr.bc!=null&&kr.bc(kr),Vr&=1}return Vr?(Mn.cb=0,Vr):0})(pe,xt)||(Fe=pe.a)}}else Fe=pe.a}Fe==0&&tn.Oa!=null&&tn.Oa.fd&&(Fe=jg(tn.ba))}tn=Fe}qt=tn!=0?null:11>qt?fn.f.RGBA.eb:fn.f.kb.y}else qt=null;return qt};var mv=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Ye(Gn,Gr){for(var un="",On=0;On<4;On++)un+=String.fromCharCode(Gn[Gr++]);return un}function dt(Gn,Gr){return Gn[Gr+0]|Gn[Gr+1]<<8}function Pt(Gn,Gr){return(Gn[Gr+0]|Gn[Gr+1]<<8|Gn[Gr+2]<<16)>>>0}function Jt(Gn,Gr){return(Gn[Gr+0]|Gn[Gr+1]<<8|Gn[Gr+2]<<16|Gn[Gr+3]<<24)>>>0}new Ve;var ut=[0],In=[0],Cn=[],Nn=new Ve,cn=y,wr=function(Gn,Gr){var un={},On=0,mr=!1,dr=0,hi=0;if(un.frames=[],!function(nn,Kn){for(var rr=0;rr<4;rr++)if(nn[Kn+rr]!="RIFF".charCodeAt(rr))return!0;return!1}(Gn,Gr)){for(Jt(Gn,Gr+=4),Gr+=8;Gr<Gn.length;){var Fi=Ye(Gn,Gr),Oi=Jt(Gn,Gr+=4);Gr+=4;var ai=Oi+(1&Oi);switch(Fi){case"VP8 ":case"VP8L":un.frames[On]===void 0&&(un.frames[On]={}),(io=un.frames[On]).src_off=mr?hi:Gr-8,io.src_size=dr+Oi+8,On++,mr&&(mr=!1,dr=0,hi=0);break;case"VP8X":(io=un.header={}).feature_flags=Gn[Gr];var Pi=Gr+4;io.canvas_width=1+Pt(Gn,Pi),Pi+=3,io.canvas_height=1+Pt(Gn,Pi),Pi+=3;break;case"ALPH":mr=!0,dr=ai+8,hi=Gr-8;break;case"ANIM":(io=un.header).bgcolor=Jt(Gn,Gr),Pi=Gr+4,io.loop_count=dt(Gn,Pi),Pi+=2;break;case"ANMF":var Po,io;(io=un.frames[On]={}).offset_x=2*Pt(Gn,Gr),Gr+=3,io.offset_y=2*Pt(Gn,Gr),Gr+=3,io.width=1+Pt(Gn,Gr),Gr+=3,io.height=1+Pt(Gn,Gr),Gr+=3,io.duration=Pt(Gn,Gr),Gr+=3,Po=Gn[Gr++],io.dispose=1&Po,io.blend=Po>>1&1}Fi!="ANMF"&&(Gr+=ai)}return un}}(cn,0);wr.response=cn,wr.rgbaoutput=!0,wr.dataurl=!1;var lr=wr.header?wr.header:null,Zn=wr.frames?wr.frames:null;if(lr){lr.loop_counter=lr.loop_count,ut=[lr.canvas_height],In=[lr.canvas_width];for(var Ai=0;Ai<Zn.length&&Zn[Ai].blend!=0;Ai++);}var Qi=Zn[0],Ii=Nn.WebPDecodeRGBA(cn,Qi.src_off,Qi.src_size,In,ut);Qi.rgba=Ii,Qi.imgwidth=In[0],Qi.imgheight=ut[0];for(var Nr=0;Nr<In[0]*ut[0]*4;Nr++)Cn[Nr]=Ii[Nr];return this.width=In,this.height=ut,this.data=Cn,this}(function(y){var z,E,re,Ae,he,Ke,Pe,Ve,Ye,dt=function(nn){return nn=nn||{},this.isStrokeTransparent=nn.isStrokeTransparent||!1,this.strokeOpacity=nn.strokeOpacity||1,this.strokeStyle=nn.strokeStyle||"#000000",this.fillStyle=nn.fillStyle||"#000000",this.isFillTransparent=nn.isFillTransparent||!1,this.fillOpacity=nn.fillOpacity||1,this.font=nn.font||"10px sans-serif",this.textBaseline=nn.textBaseline||"alphabetic",this.textAlign=nn.textAlign||"left",this.lineWidth=nn.lineWidth||1,this.lineJoin=nn.lineJoin||"miter",this.lineCap=nn.lineCap||"butt",this.path=nn.path||[],this.transform=nn.transform!==void 0?nn.transform.clone():new Ve,this.globalCompositeOperation=nn.globalCompositeOperation||"normal",this.globalAlpha=nn.globalAlpha||1,this.clip_path=nn.clip_path||[],this.currentPoint=nn.currentPoint||new Ke,this.miterLimit=nn.miterLimit||10,this.lastPoint=nn.lastPoint||new Ke,this.lineDashOffset=nn.lineDashOffset||0,this.lineDash=nn.lineDash||[],this.margin=nn.margin||[0,0,0,0],this.prevPageLastElemOffset=nn.prevPageLastElemOffset||0,this.ignoreClearRect=typeof nn.ignoreClearRect!="boolean"||nn.ignoreClearRect,this};y.events.push(["initialized",function(){this.context2d=new Pt(this),z=this.internal.f2,E=this.internal.getCoordinateString,re=this.internal.getVerticalCoordinateString,Ae=this.internal.getHorizontalCoordinate,he=this.internal.getVerticalCoordinate,Ke=this.internal.Point,Pe=this.internal.Rectangle,Ve=this.internal.Matrix,Ye=new dt}]);var Pt=function(nn){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var Kn=nn;Object.defineProperty(this,"pdf",{get:function(){return Kn}});var rr=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return rr},set:function(Mi){rr=!!Mi}});var Br=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return Br},set:function(Mi){Br=!!Mi}});var Rr=0;Object.defineProperty(this,"posX",{get:function(){return Rr},set:function(Mi){isNaN(Mi)||(Rr=Mi)}});var si=0;Object.defineProperty(this,"posY",{get:function(){return si},set:function(Mi){isNaN(Mi)||(si=Mi)}}),Object.defineProperty(this,"margin",{get:function(){return Ye.margin},set:function(Mi){var Jn;typeof Mi=="number"?Jn=[Mi,Mi,Mi,Mi]:((Jn=new Array(4))[0]=Mi[0],Jn[1]=Mi.length>=2?Mi[1]:Jn[0],Jn[2]=Mi.length>=3?Mi[2]:Jn[0],Jn[3]=Mi.length>=4?Mi[3]:Jn[1]),Ye.margin=Jn}});var Di=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Di},set:function(Mi){Di=Mi}});var xi=0;Object.defineProperty(this,"lastBreak",{get:function(){return xi},set:function(Mi){xi=Mi}});var Xi=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Xi},set:function(Mi){Xi=Mi}}),Object.defineProperty(this,"ctx",{get:function(){return Ye},set:function(Mi){Mi instanceof dt&&(Ye=Mi)}}),Object.defineProperty(this,"path",{get:function(){return Ye.path},set:function(Mi){Ye.path=Mi}});var wo=[];Object.defineProperty(this,"ctxStack",{get:function(){return wo},set:function(Mi){wo=Mi}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Mi){var Jn;Jn=Jt(Mi),this.ctx.fillStyle=Jn.style,this.ctx.isFillTransparent=Jn.a===0,this.ctx.fillOpacity=Jn.a,this.pdf.setFillColor(Jn.r,Jn.g,Jn.b,{a:Jn.a}),this.pdf.setTextColor(Jn.r,Jn.g,Jn.b,{a:Jn.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Mi){var Jn=Jt(Mi);this.ctx.strokeStyle=Jn.style,this.ctx.isStrokeTransparent=Jn.a===0,this.ctx.strokeOpacity=Jn.a,Jn.a===0?this.pdf.setDrawColor(255,255,255):(Jn.a,this.pdf.setDrawColor(Jn.r,Jn.g,Jn.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Mi){["butt","round","square"].indexOf(Mi)!==-1&&(this.ctx.lineCap=Mi,this.pdf.setLineCap(Mi))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Mi){isNaN(Mi)||(this.ctx.lineWidth=Mi,this.pdf.setLineWidth(Mi))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Mi){["bevel","round","miter"].indexOf(Mi)!==-1&&(this.ctx.lineJoin=Mi,this.pdf.setLineJoin(Mi))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Mi){isNaN(Mi)||(this.ctx.miterLimit=Mi,this.pdf.setMiterLimit(Mi))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Mi){this.ctx.textBaseline=Mi}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Mi){["right","end","center","left","start"].indexOf(Mi)!==-1&&(this.ctx.textAlign=Mi)}});var ua=null,ca=null;Object.defineProperty(this,"fontFaces",{get:function(){return ca},set:function(Mi){ua=null,ca=Mi}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Mi){var Jn;if(this.ctx.font=Mi,(Jn=/^\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-z]+?)\s*$/i.exec(Mi))!==null){var fl=Jn[1];Jn[2];var js=Jn[3],ns=Jn[4];Jn[5];var Fo=Jn[6],Za=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(ns)[2];ns=Math.floor(Za==="px"?parseFloat(ns)*this.pdf.internal.scaleFactor:Za==="em"?parseFloat(ns)*this.pdf.getFontSize():parseFloat(ns)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(ns);var ha=function(fs){var Va,Su,Hl=[],ja=fs.trim();if(ja==="")return Zm;if(ja in Rf)return[Rf[ja]];for(;ja!=="";){switch(Su=null,Va=(ja=jf(ja)).charAt(0)){case'"':case"'":Su=Af(ja.substring(1),Va);break;default:Su=Rh(ja)}if(Su===null||(Hl.push(Su[0]),(ja=jf(Su[1]))!==""&&ja.charAt(0)!==","))return Zm;ja=ja.replace(/^,/,"")}return Hl}(Fo);if(this.fontFaces){var Qs=function(fs,Va){if(ua===null){var Su=function(Hl){var ja=[];return Object.keys(Hl).forEach(function(ks){Hl[ks].forEach(function(vu){var as=null;switch(vu){case"bold":as={family:ks,weight:"bold"};break;case"italic":as={family:ks,style:"italic"};break;case"bolditalic":as={family:ks,weight:"bold",style:"italic"};break;case"":case"normal":as={family:ks}}as!==null&&(as.ref={name:ks,style:vu},ja.push(as))})}),ja}(fs.getFontList());ua=function(Hl){for(var ja={},ks=0;ks<Hl.length;++ks){var vu=Jc(Hl[ks]),as=vu.family,yl=vu.stretch,Ms=vu.style,bA=vu.weight;ja[as]=ja[as]||{},ja[as][yl]=ja[as][yl]||{},ja[as][yl][Ms]=ja[as][yl][Ms]||{},ja[as][yl][Ms][bA]=vu}return ja}(Su.concat(Va))}return ua}(this.pdf,this.fontFaces),Ya=ha.map(function(fs){return{family:fs,stretch:"normal",weight:js,style:fl}}),Ql=function(fs,Va,Su){for(var Hl=(Su=Su||{}).defaultFontFamily||"times",ja=Object.assign({},fh,Su.genericFontFamilies||{}),ks=null,vu=null,as=0;as<Va.length;++as)if(ja[(ks=Jc(Va[as])).family]&&(ks.family=ja[ks.family]),fs.hasOwnProperty(ks.family)){vu=fs[ks.family];break}if(!(vu=vu||fs[Hl]))throw new Error("Could not find a font-family for the rule '"+jd(ks)+"' and default family '"+Hl+"'.");if(vu=function(yl,Ms){if(Ms[yl])return Ms[yl];var bA=ec[yl],jA=bA<=ec.normal?-1:1,yu=uf(Ms,lf,bA,jA);if(!yu)throw new Error("Could not find a matching font-stretch value for "+yl);return yu}(ks.stretch,vu),vu=function(yl,Ms){if(Ms[yl])return Ms[yl];for(var bA=DA[yl],jA=0;jA<bA.length;++jA)if(Ms[bA[jA]])return Ms[bA[jA]];throw new Error("Could not find a matching font-style for "+yl)}(ks.style,vu),!(vu=function(yl,Ms){if(Ms[yl])return Ms[yl];if(yl===400&&Ms[500])return Ms[500];if(yl===500&&Ms[400])return Ms[400];var bA=dh[yl],jA=uf(Ms,ac,bA,yl<400?-1:1);if(!jA)throw new Error("Could not find a matching font-weight for value "+yl);return jA}(ks.weight,vu)))throw new Error("Failed to resolve a font for the rule '"+jd(ks)+"'.");return vu}(Qs,Ya);this.pdf.setFont(Ql.ref.name,Ql.ref.style)}else{var _s="";(js==="bold"||parseInt(js,10)>=700||fl==="bold")&&(_s="bold"),fl==="italic"&&(_s+="italic"),_s.length===0&&(_s="normal");for(var Ts="",fu={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"},Hs=0;Hs<ha.length;Hs++){if(this.pdf.internal.getFont(ha[Hs],_s,{noFallback:!0,disableWarning:!0})!==void 0){Ts=ha[Hs];break}if(_s==="bolditalic"&&this.pdf.internal.getFont(ha[Hs],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Ts=ha[Hs],_s="bold";else if(this.pdf.internal.getFont(ha[Hs],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Ts=ha[Hs],_s="normal";break}}if(Ts===""){for(var Ga=0;Ga<ha.length;Ga++)if(fu[ha[Ga]]){Ts=fu[ha[Ga]];break}}Ts=Ts===""?"Times":Ts,this.pdf.setFont(Ts,_s)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Mi){this.ctx.globalCompositeOperation=Mi}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Mi){this.ctx.globalAlpha=Mi}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(Mi){this.ctx.lineDashOffset=Mi,io.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(Mi){this.ctx.lineDash=Mi,io.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Mi){this.ctx.ignoreClearRect=!!Mi}})};Pt.prototype.setLineDash=function(nn){this.lineDash=nn},Pt.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},Pt.prototype.fill=function(){Zn.call(this,"fill",!1)},Pt.prototype.stroke=function(){Zn.call(this,"stroke",!1)},Pt.prototype.beginPath=function(){this.path=[{type:"begin"}]},Pt.prototype.moveTo=function(nn,Kn){if(isNaN(nn)||isNaN(Kn))throw cl.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var rr=this.ctx.transform.applyToPoint(new Ke(nn,Kn));this.path.push({type:"mt",x:rr.x,y:rr.y}),this.ctx.lastPoint=new Ke(nn,Kn)},Pt.prototype.closePath=function(){var nn=new Ke(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"){nn=new Ke(this.path[Kn+1].x,this.path[Kn+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new Ke(nn.x,nn.y)},Pt.prototype.lineTo=function(nn,Kn){if(isNaN(nn)||isNaN(Kn))throw cl.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var rr=this.ctx.transform.applyToPoint(new Ke(nn,Kn));this.path.push({type:"lt",x:rr.x,y:rr.y}),this.ctx.lastPoint=new Ke(rr.x,rr.y)},Pt.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),Zn.call(this,null,!0)},Pt.prototype.quadraticCurveTo=function(nn,Kn,rr,Br){if(isNaN(rr)||isNaN(Br)||isNaN(nn)||isNaN(Kn))throw cl.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var Rr=this.ctx.transform.applyToPoint(new Ke(rr,Br)),si=this.ctx.transform.applyToPoint(new Ke(nn,Kn));this.path.push({type:"qct",x1:si.x,y1:si.y,x:Rr.x,y:Rr.y}),this.ctx.lastPoint=new Ke(Rr.x,Rr.y)},Pt.prototype.bezierCurveTo=function(nn,Kn,rr,Br,Rr,si){if(isNaN(Rr)||isNaN(si)||isNaN(nn)||isNaN(Kn)||isNaN(rr)||isNaN(Br))throw cl.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var Di=this.ctx.transform.applyToPoint(new Ke(Rr,si)),xi=this.ctx.transform.applyToPoint(new Ke(nn,Kn)),Xi=this.ctx.transform.applyToPoint(new Ke(rr,Br));this.path.push({type:"bct",x1:xi.x,y1:xi.y,x2:Xi.x,y2:Xi.y,x:Di.x,y:Di.y}),this.ctx.lastPoint=new Ke(Di.x,Di.y)},Pt.prototype.arc=function(nn,Kn,rr,Br,Rr,si){if(isNaN(nn)||isNaN(Kn)||isNaN(rr)||isNaN(Br)||isNaN(Rr))throw cl.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(si=!!si,!this.ctx.transform.isIdentity){var Di=this.ctx.transform.applyToPoint(new Ke(nn,Kn));nn=Di.x,Kn=Di.y;var xi=this.ctx.transform.applyToPoint(new Ke(0,rr)),Xi=this.ctx.transform.applyToPoint(new Ke(0,0));rr=Math.sqrt(Math.pow(xi.x-Xi.x,2)+Math.pow(xi.y-Xi.y,2))}Math.abs(Rr-Br)>=2*Math.PI&&(Br=0,Rr=2*Math.PI),this.path.push({type:"arc",x:nn,y:Kn,radius:rr,startAngle:Br,endAngle:Rr,counterclockwise:si})},Pt.prototype.arcTo=function(nn,Kn,rr,Br,Rr){throw new Error("arcTo not implemented.")},Pt.prototype.rect=function(nn,Kn,rr,Br){if(isNaN(nn)||isNaN(Kn)||isNaN(rr)||isNaN(Br))throw cl.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(nn,Kn),this.lineTo(nn+rr,Kn),this.lineTo(nn+rr,Kn+Br),this.lineTo(nn,Kn+Br),this.lineTo(nn,Kn),this.lineTo(nn+rr,Kn),this.lineTo(nn,Kn)},Pt.prototype.fillRect=function(nn,Kn,rr,Br){if(isNaN(nn)||isNaN(Kn)||isNaN(rr)||isNaN(Br))throw cl.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ut.call(this)){var Rr={};this.lineCap!=="butt"&&(Rr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Rr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(nn,Kn,rr,Br),this.fill(),Rr.hasOwnProperty("lineCap")&&(this.lineCap=Rr.lineCap),Rr.hasOwnProperty("lineJoin")&&(this.lineJoin=Rr.lineJoin)}},Pt.prototype.strokeRect=function(nn,Kn,rr,Br){if(isNaN(nn)||isNaN(Kn)||isNaN(rr)||isNaN(Br))throw cl.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");In.call(this)||(this.beginPath(),this.rect(nn,Kn,rr,Br),this.stroke())},Pt.prototype.clearRect=function(nn,Kn,rr,Br){if(isNaN(nn)||isNaN(Kn)||isNaN(rr)||isNaN(Br))throw cl.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(nn,Kn,rr,Br))},Pt.prototype.save=function(nn){nn=typeof nn!="boolean"||nn;for(var Kn=this.pdf.internal.getCurrentPageInfo().pageNumber,rr=0;rr<this.pdf.internal.getNumberOfPages();rr++)this.pdf.setPage(rr+1),this.pdf.internal.out("q");if(this.pdf.setPage(Kn),nn){this.ctx.fontSize=this.pdf.internal.getFontSize();var Br=new dt(this.ctx);this.ctxStack.push(this.ctx),this.ctx=Br}},Pt.prototype.restore=function(nn){nn=typeof nn!="boolean"||nn;for(var Kn=this.pdf.internal.getCurrentPageInfo().pageNumber,rr=0;rr<this.pdf.internal.getNumberOfPages();rr++)this.pdf.setPage(rr+1),this.pdf.internal.out("Q");this.pdf.setPage(Kn),nn&&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)},Pt.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var Jt=function(nn){var Kn,rr,Br,Rr;if(nn.isCanvasGradient===!0&&(nn=nn.getColor()),!nn)return{r:0,g:0,b:0,a:0,style:nn};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(nn))Kn=0,rr=0,Br=0,Rr=0;else{var si=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(nn);if(si!==null)Kn=parseInt(si[1]),rr=parseInt(si[2]),Br=parseInt(si[3]),Rr=1;else if((si=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(nn))!==null)Kn=parseInt(si[1]),rr=parseInt(si[2]),Br=parseInt(si[3]),Rr=parseFloat(si[4]);else{if(Rr=1,typeof nn=="string"&&nn.charAt(0)!=="#"){var Di=new qg(nn);nn=Di.ok?Di.toHex():"#000000"}nn.length===4?(Kn=nn.substring(1,2),Kn+=Kn,rr=nn.substring(2,3),rr+=rr,Br=nn.substring(3,4),Br+=Br):(Kn=nn.substring(1,3),rr=nn.substring(3,5),Br=nn.substring(5,7)),Kn=parseInt(Kn,16),rr=parseInt(rr,16),Br=parseInt(Br,16)}}return{r:Kn,g:rr,b:Br,a:Rr,style:nn}},ut=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},In=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};Pt.prototype.fillText=function(nn,Kn,rr,Br){if(isNaN(Kn)||isNaN(rr)||typeof nn!="string")throw cl.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(Br=isNaN(Br)?void 0:Br,!ut.call(this)){var Rr=ai(this.ctx.transform.rotation),si=this.ctx.transform.scaleX;On.call(this,{text:nn,x:Kn,y:rr,scale:si,angle:Rr,align:this.textAlign,maxWidth:Br})}},Pt.prototype.strokeText=function(nn,Kn,rr,Br){if(isNaN(Kn)||isNaN(rr)||typeof nn!="string")throw cl.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!In.call(this)){Br=isNaN(Br)?void 0:Br;var Rr=ai(this.ctx.transform.rotation),si=this.ctx.transform.scaleX;On.call(this,{text:nn,x:Kn,y:rr,scale:si,renderingMode:"stroke",angle:Rr,align:this.textAlign,maxWidth:Br})}},Pt.prototype.measureText=function(nn){if(typeof nn!="string")throw cl.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var Kn=this.pdf,rr=this.pdf.internal.scaleFactor,Br=Kn.internal.getFontSize(),Rr=Kn.getStringUnitWidth(nn)*Br/Kn.internal.scaleFactor;return new function(si){var Di=(si=si||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return Di}}),this}({width:Rr*=Math.round(96*rr/72*1e4)/1e4})},Pt.prototype.scale=function(nn,Kn){if(isNaN(nn)||isNaN(Kn))throw cl.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var rr=new Ve(nn,0,0,Kn,0,0);this.ctx.transform=this.ctx.transform.multiply(rr)},Pt.prototype.rotate=function(nn){if(isNaN(nn))throw cl.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var Kn=new Ve(Math.cos(nn),Math.sin(nn),-Math.sin(nn),Math.cos(nn),0,0);this.ctx.transform=this.ctx.transform.multiply(Kn)},Pt.prototype.translate=function(nn,Kn){if(isNaN(nn)||isNaN(Kn))throw cl.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var rr=new Ve(1,0,0,1,nn,Kn);this.ctx.transform=this.ctx.transform.multiply(rr)},Pt.prototype.transform=function(nn,Kn,rr,Br,Rr,si){if(isNaN(nn)||isNaN(Kn)||isNaN(rr)||isNaN(Br)||isNaN(Rr)||isNaN(si))throw cl.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var Di=new Ve(nn,Kn,rr,Br,Rr,si);this.ctx.transform=this.ctx.transform.multiply(Di)},Pt.prototype.setTransform=function(nn,Kn,rr,Br,Rr,si){nn=isNaN(nn)?1:nn,Kn=isNaN(Kn)?0:Kn,rr=isNaN(rr)?0:rr,Br=isNaN(Br)?1:Br,Rr=isNaN(Rr)?0:Rr,si=isNaN(si)?0:si,this.ctx.transform=new Ve(nn,Kn,rr,Br,Rr,si)};var Cn=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Pt.prototype.drawImage=function(nn,Kn,rr,Br,Rr,si,Di,xi,Xi){var wo=this.pdf.getImageProperties(nn),ua=1,ca=1,Mi=1,Jn=1;Br!==void 0&&xi!==void 0&&(Mi=xi/Br,Jn=Xi/Rr,ua=wo.width/Br*xi/Br,ca=wo.height/Rr*Xi/Rr),si===void 0&&(si=Kn,Di=rr,Kn=0,rr=0),Br!==void 0&&xi===void 0&&(xi=Br,Xi=Rr),Br===void 0&&xi===void 0&&(xi=wo.width,Xi=wo.height);for(var fl,js=this.ctx.transform.decompose(),ns=ai(js.rotate.shx),Fo=new Ve,Za=(Fo=(Fo=(Fo=Fo.multiply(js.translate)).multiply(js.skew)).multiply(js.scale)).applyToRectangle(new Pe(si-Kn*Mi,Di-rr*Jn,Br*ua,Rr*ca)),ha=Nn.call(this,Za),Qs=[],Ya=0;Ya<ha.length;Ya+=1)Qs.indexOf(ha[Ya])===-1&&Qs.push(ha[Ya]);if(lr(Qs),this.autoPaging)for(var Ql=Qs[0],_s=Qs[Qs.length-1],Ts=Ql;Ts<_s+1;Ts++){this.pdf.setPage(Ts);var fu=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Hs=Ts===1?this.posY+this.margin[0]:this.margin[0],Ga=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],fs=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Va=Ts===1?0:Ga+(Ts-2)*fs;if(this.ctx.clip_path.length!==0){var Su=this.path;fl=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=wr(fl,this.posX+this.margin[3],-Va+Hs+this.ctx.prevPageLastElemOffset),Ai.call(this,"fill",!0),this.path=Su}var Hl=JSON.parse(JSON.stringify(Za));Hl=wr([Hl],this.posX+this.margin[3],-Va+Hs+this.ctx.prevPageLastElemOffset)[0];var ja=(Ts>Ql||Ts<_s)&&Cn.call(this);ja&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],fu,fs,null).clip().discardPath()),this.pdf.addImage(nn,"JPEG",Hl.x,Hl.y,Hl.w,Hl.h,null,null,ns),ja&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(nn,"JPEG",Za.x,Za.y,Za.w,Za.h,null,null,ns)};var Nn=function(nn,Kn,rr){var Br=[];Kn=Kn||this.pdf.internal.pageSize.width,rr=rr||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var Rr=this.posY+this.ctx.prevPageLastElemOffset;switch(nn.type){default:case"mt":case"lt":Br.push(Math.floor((nn.y+Rr)/rr)+1);break;case"arc":Br.push(Math.floor((nn.y+Rr-nn.radius)/rr)+1),Br.push(Math.floor((nn.y+Rr+nn.radius)/rr)+1);break;case"qct":var si=Pi(this.ctx.lastPoint.x,this.ctx.lastPoint.y,nn.x1,nn.y1,nn.x,nn.y);Br.push(Math.floor((si.y+Rr)/rr)+1),Br.push(Math.floor((si.y+si.h+Rr)/rr)+1);break;case"bct":var Di=Po(this.ctx.lastPoint.x,this.ctx.lastPoint.y,nn.x1,nn.y1,nn.x2,nn.y2,nn.x,nn.y);Br.push(Math.floor((Di.y+Rr)/rr)+1),Br.push(Math.floor((Di.y+Di.h+Rr)/rr)+1);break;case"rect":Br.push(Math.floor((nn.y+Rr)/rr)+1),Br.push(Math.floor((nn.y+nn.h+Rr)/rr)+1)}for(var xi=0;xi<Br.length;xi+=1)for(;this.pdf.internal.getNumberOfPages()<Br[xi];)cn.call(this);return Br},cn=function(){var nn=this.fillStyle,Kn=this.strokeStyle,rr=this.font,Br=this.lineCap,Rr=this.lineWidth,si=this.lineJoin;this.pdf.addPage(),this.fillStyle=nn,this.strokeStyle=Kn,this.font=rr,this.lineCap=Br,this.lineWidth=Rr,this.lineJoin=si},wr=function(nn,Kn,rr){for(var Br=0;Br<nn.length;Br++)switch(nn[Br].type){case"bct":nn[Br].x2+=Kn,nn[Br].y2+=rr;case"qct":nn[Br].x1+=Kn,nn[Br].y1+=rr;default:nn[Br].x+=Kn,nn[Br].y+=rr}return nn},lr=function(nn){return nn.sort(function(Kn,rr){return Kn-rr})},Zn=function(nn,Kn){for(var rr,Br,Rr=this.fillStyle,si=this.strokeStyle,Di=this.lineCap,xi=this.lineWidth,Xi=Math.abs(xi*this.ctx.transform.scaleX),wo=this.lineJoin,ua=JSON.parse(JSON.stringify(this.path)),ca=JSON.parse(JSON.stringify(this.path)),Mi=[],Jn=0;Jn<ca.length;Jn++)if(ca[Jn].x!==void 0)for(var fl=Nn.call(this,ca[Jn]),js=0;js<fl.length;js+=1)Mi.indexOf(fl[js])===-1&&Mi.push(fl[js]);for(var ns=0;ns<Mi.length;ns++)for(;this.pdf.internal.getNumberOfPages()<Mi[ns];)cn.call(this);if(lr(Mi),this.autoPaging)for(var Fo=Mi[0],Za=Mi[Mi.length-1],ha=Fo;ha<Za+1;ha++){this.pdf.setPage(ha),this.fillStyle=Rr,this.strokeStyle=si,this.lineCap=Di,this.lineWidth=Xi,this.lineJoin=wo;var Qs=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Ya=ha===1?this.posY+this.margin[0]:this.margin[0],Ql=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],_s=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Ts=ha===1?0:Ql+(ha-2)*_s;if(this.ctx.clip_path.length!==0){var fu=this.path;rr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=wr(rr,this.posX+this.margin[3],-Ts+Ya+this.ctx.prevPageLastElemOffset),Ai.call(this,nn,!0),this.path=fu}if(Br=JSON.parse(JSON.stringify(ua)),this.path=wr(Br,this.posX+this.margin[3],-Ts+Ya+this.ctx.prevPageLastElemOffset),Kn===!1||ha===0){var Hs=(ha>Fo||ha<Za)&&Cn.call(this);Hs&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Qs,_s,null).clip().discardPath()),Ai.call(this,nn,Kn),Hs&&this.pdf.restoreGraphicsState()}this.lineWidth=xi}else this.lineWidth=Xi,Ai.call(this,nn,Kn),this.lineWidth=xi;this.path=ua},Ai=function(nn,Kn){if((nn!=="stroke"||Kn||!In.call(this))&&(nn==="stroke"||Kn||!ut.call(this))){for(var rr,Br,Rr=[],si=this.path,Di=0;Di<si.length;Di++){var xi=si[Di];switch(xi.type){case"begin":Rr.push({begin:!0});break;case"close":Rr.push({close:!0});break;case"mt":Rr.push({start:xi,deltas:[],abs:[]});break;case"lt":var Xi=Rr.length;if(si[Di-1]&&!isNaN(si[Di-1].x)&&(rr=[xi.x-si[Di-1].x,xi.y-si[Di-1].y],Xi>0)){for(;Xi>=0;Xi--)if(Rr[Xi-1].close!==!0&&Rr[Xi-1].begin!==!0){Rr[Xi-1].deltas.push(rr),Rr[Xi-1].abs.push(xi);break}}break;case"bct":rr=[xi.x1-si[Di-1].x,xi.y1-si[Di-1].y,xi.x2-si[Di-1].x,xi.y2-si[Di-1].y,xi.x-si[Di-1].x,xi.y-si[Di-1].y],Rr[Rr.length-1].deltas.push(rr);break;case"qct":var wo=si[Di-1].x+2/3*(xi.x1-si[Di-1].x),ua=si[Di-1].y+2/3*(xi.y1-si[Di-1].y),ca=xi.x+2/3*(xi.x1-xi.x),Mi=xi.y+2/3*(xi.y1-xi.y),Jn=xi.x,fl=xi.y;rr=[wo-si[Di-1].x,ua-si[Di-1].y,ca-si[Di-1].x,Mi-si[Di-1].y,Jn-si[Di-1].x,fl-si[Di-1].y],Rr[Rr.length-1].deltas.push(rr);break;case"arc":Rr.push({deltas:[],abs:[],arc:!0}),Array.isArray(Rr[Rr.length-1].abs)&&Rr[Rr.length-1].abs.push(xi)}}Br=Kn?null:nn==="stroke"?"stroke":"fill";for(var js=!1,ns=0;ns<Rr.length;ns++)if(Rr[ns].arc)for(var Fo=Rr[ns].abs,Za=0;Za<Fo.length;Za++){var ha=Fo[Za];ha.type==="arc"?Nr.call(this,ha.x,ha.y,ha.radius,ha.startAngle,ha.endAngle,ha.counterclockwise,void 0,Kn,!js):mr.call(this,ha.x,ha.y),js=!0}else if(Rr[ns].close===!0)this.pdf.internal.out("h"),js=!1;else if(Rr[ns].begin!==!0){var Qs=Rr[ns].start.x,Ya=Rr[ns].start.y;dr.call(this,Rr[ns].deltas,Qs,Ya),js=!0}Br&&Gn.call(this,Br),Kn&&Gr.call(this)}},Qi=function(nn){var Kn=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,rr=Kn*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return nn-rr;case"top":return nn+Kn-rr;case"hanging":return nn+Kn-2*rr;case"middle":return nn+Kn/2-rr;default:return nn}},Ii=function(nn){return nn+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};Pt.prototype.createLinearGradient=function(){var nn=function(){};return nn.colorStops=[],nn.addColorStop=function(Kn,rr){this.colorStops.push([Kn,rr])},nn.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},nn.isCanvasGradient=!0,nn},Pt.prototype.createPattern=function(){return this.createLinearGradient()},Pt.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Nr=function(nn,Kn,rr,Br,Rr,si,Di,xi,Xi){for(var wo=Fi.call(this,rr,Br,Rr,si),ua=0;ua<wo.length;ua++){var ca=wo[ua];ua===0&&(Xi?un.call(this,ca.x1+nn,ca.y1+Kn):mr.call(this,ca.x1+nn,ca.y1+Kn)),hi.call(this,nn,Kn,ca.x2,ca.y2,ca.x3,ca.y3,ca.x4,ca.y4)}xi?Gr.call(this):Gn.call(this,Di)},Gn=function(nn){switch(nn){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},Gr=function(){this.pdf.clip(),this.pdf.discardPath()},un=function(nn,Kn){this.pdf.internal.out(E(nn)+" "+re(Kn)+" m")},On=function(nn){var Kn;switch(nn.align){case"right":case"end":Kn="right";break;case"center":Kn="center";break;default:Kn="left"}var rr=this.pdf.getTextDimensions(nn.text),Br=Qi.call(this,nn.y),Rr=Ii.call(this,Br)-rr.h,si=this.ctx.transform.applyToPoint(new Ke(nn.x,Br)),Di=this.ctx.transform.decompose(),xi=new Ve;xi=(xi=(xi=xi.multiply(Di.translate)).multiply(Di.skew)).multiply(Di.scale);for(var Xi,wo,ua,ca=this.ctx.transform.applyToRectangle(new Pe(nn.x,Br,rr.w,rr.h)),Mi=xi.applyToRectangle(new Pe(nn.x,Rr,rr.w,rr.h)),Jn=Nn.call(this,Mi),fl=[],js=0;js<Jn.length;js+=1)fl.indexOf(Jn[js])===-1&&fl.push(Jn[js]);if(lr(fl),this.autoPaging)for(var ns=fl[0],Fo=fl[fl.length-1],Za=ns;Za<Fo+1;Za++){this.pdf.setPage(Za);var ha=Za===1?this.posY+this.margin[0]:this.margin[0],Qs=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Ya=this.pdf.internal.pageSize.height-this.margin[2],Ql=Ya-this.margin[0],_s=this.pdf.internal.pageSize.width-this.margin[1],Ts=_s-this.margin[3],fu=Za===1?0:Qs+(Za-2)*Ql;if(this.ctx.clip_path.length!==0){var Hs=this.path;Xi=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=wr(Xi,this.posX+this.margin[3],-1*fu+ha),Ai.call(this,"fill",!0),this.path=Hs}var Ga=wr([JSON.parse(JSON.stringify(Mi))],this.posX+this.margin[3],-fu+ha+this.ctx.prevPageLastElemOffset)[0];nn.scale>=.01&&(wo=this.pdf.internal.getFontSize(),this.pdf.setFontSize(wo*nn.scale),ua=this.lineWidth,this.lineWidth=ua*nn.scale);var fs=this.autoPaging!=="text";if(fs||Ga.y+Ga.h<=Ya){if(fs||Ga.y>=ha&&Ga.x<=_s){var Va=fs?nn.text:this.pdf.splitTextToSize(nn.text,nn.maxWidth||_s-Ga.x)[0],Su=wr([JSON.parse(JSON.stringify(ca))],this.posX+this.margin[3],-fu+ha+this.ctx.prevPageLastElemOffset)[0],Hl=fs&&(Za>ns||Za<Fo)&&Cn.call(this);Hl&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Ts,Ql,null).clip().discardPath()),this.pdf.text(Va,Su.x,Su.y,{angle:nn.angle,align:Kn,renderingMode:nn.renderingMode}),Hl&&this.pdf.restoreGraphicsState()}}else Ga.y<Ya&&(this.ctx.prevPageLastElemOffset+=Ya-Ga.y);nn.scale>=.01&&(this.pdf.setFontSize(wo),this.lineWidth=ua)}else nn.scale>=.01&&(wo=this.pdf.internal.getFontSize(),this.pdf.setFontSize(wo*nn.scale),ua=this.lineWidth,this.lineWidth=ua*nn.scale),this.pdf.text(nn.text,si.x+this.posX,si.y+this.posY,{angle:nn.angle,align:Kn,renderingMode:nn.renderingMode,maxWidth:nn.maxWidth}),nn.scale>=.01&&(this.pdf.setFontSize(wo),this.lineWidth=ua)},mr=function(nn,Kn,rr,Br){rr=rr||0,Br=Br||0,this.pdf.internal.out(E(nn+rr)+" "+re(Kn+Br)+" l")},dr=function(nn,Kn,rr){return this.pdf.lines(nn,Kn,rr,null,null)},hi=function(nn,Kn,rr,Br,Rr,si,Di,xi){this.pdf.internal.out([z(Ae(rr+nn)),z(he(Br+Kn)),z(Ae(Rr+nn)),z(he(si+Kn)),z(Ae(Di+nn)),z(he(xi+Kn)),"c"].join(" "))},Fi=function(nn,Kn,rr,Br){for(var Rr=2*Math.PI,si=Math.PI/2;Kn>rr;)Kn-=Rr;var Di=Math.abs(rr-Kn);Di<Rr&&Br&&(Di=Rr-Di);for(var xi=[],Xi=Br?-1:1,wo=Kn;Di>1e-5;){var ua=wo+Xi*Math.min(Di,si);xi.push(Oi.call(this,nn,wo,ua)),Di-=Math.abs(ua-wo),wo=ua}return xi},Oi=function(nn,Kn,rr){var Br=(rr-Kn)/2,Rr=nn*Math.cos(Br),si=nn*Math.sin(Br),Di=Rr,xi=-si,Xi=Di*Di+xi*xi,wo=Xi+Di*Rr+xi*si,ua=4/3*(Math.sqrt(2*Xi*wo)-wo)/(Di*si-xi*Rr),ca=Di-ua*xi,Mi=xi+ua*Di,Jn=ca,fl=-Mi,js=Br+Kn,ns=Math.cos(js),Fo=Math.sin(js);return{x1:nn*Math.cos(Kn),y1:nn*Math.sin(Kn),x2:ca*ns-Mi*Fo,y2:ca*Fo+Mi*ns,x3:Jn*ns-fl*Fo,y3:Jn*Fo+fl*ns,x4:nn*Math.cos(rr),y4:nn*Math.sin(rr)}},ai=function(nn){return 180*nn/Math.PI},Pi=function(nn,Kn,rr,Br,Rr,si){var Di=nn+.5*(rr-nn),xi=Kn+.5*(Br-Kn),Xi=Rr+.5*(rr-Rr),wo=si+.5*(Br-si),ua=Math.min(nn,Rr,Di,Xi),ca=Math.max(nn,Rr,Di,Xi),Mi=Math.min(Kn,si,xi,wo),Jn=Math.max(Kn,si,xi,wo);return new Pe(ua,Mi,ca-ua,Jn-Mi)},Po=function(nn,Kn,rr,Br,Rr,si,Di,xi){var Xi,wo,ua,ca,Mi,Jn,fl,js,ns,Fo,Za,ha,Qs,Ya,Ql=rr-nn,_s=Br-Kn,Ts=Rr-rr,fu=si-Br,Hs=Di-Rr,Ga=xi-si;for(wo=0;wo<41;wo++)ns=(fl=(ua=nn+(Xi=wo/40)*Ql)+Xi*((Mi=rr+Xi*Ts)-ua))+Xi*(Mi+Xi*(Rr+Xi*Hs-Mi)-fl),Fo=(js=(ca=Kn+Xi*_s)+Xi*((Jn=Br+Xi*fu)-ca))+Xi*(Jn+Xi*(si+Xi*Ga-Jn)-js),wo==0?(Za=ns,ha=Fo,Qs=ns,Ya=Fo):(Za=Math.min(Za,ns),ha=Math.min(ha,Fo),Qs=Math.max(Qs,ns),Ya=Math.max(Ya,Fo));return new Pe(Math.round(Za),Math.round(ha),Math.round(Qs-Za),Math.round(Ya-ha))},io=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var nn,Kn,rr=(nn=this.ctx.lineDash,Kn=this.ctx.lineDashOffset,JSON.stringify({lineDash:nn,lineDashOffset:Kn}));this.prevLineDash!==rr&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=rr)}}})(Da.API),function(y){var z=function(Ke){var Pe,Ve,Ye,dt,Pt,Jt,ut,In,Cn,Nn;for(/[^\x00-\xFF]/.test(Ke),Ve=[],Ye=0,dt=(Ke+=Pe="\0\0\0\0".slice(Ke.length%4||4)).length;dt>Ye;Ye+=4)(Pt=(Ke.charCodeAt(Ye)<<24)+(Ke.charCodeAt(Ye+1)<<16)+(Ke.charCodeAt(Ye+2)<<8)+Ke.charCodeAt(Ye+3))!==0?(Jt=(Pt=((Pt=((Pt=((Pt=(Pt-(Nn=Pt%85))/85)-(Cn=Pt%85))/85)-(In=Pt%85))/85)-(ut=Pt%85))/85)%85,Ve.push(Jt+33,ut+33,In+33,Cn+33,Nn+33)):Ve.push(122);return function(cn,wr){for(var lr=wr;lr>0;lr--)cn.pop()}(Ve,Pe.length),String.fromCharCode.apply(String,Ve)+"~>"},E=function(Ke){var Pe,Ve,Ye,dt,Pt,Jt=String,ut="length",In=255,Cn="charCodeAt",Nn="slice",cn="replace";for(Ke[Nn](-2),Ke=Ke[Nn](0,-2)[cn](/\s/g,"")[cn]("z","!!!!!"),Ye=[],dt=0,Pt=(Ke+=Pe="uuuuu"[Nn](Ke[ut]%5||5))[ut];Pt>dt;dt+=5)Ve=52200625*(Ke[Cn](dt)-33)+614125*(Ke[Cn](dt+1)-33)+7225*(Ke[Cn](dt+2)-33)+85*(Ke[Cn](dt+3)-33)+(Ke[Cn](dt+4)-33),Ye.push(In&Ve>>24,In&Ve>>16,In&Ve>>8,In&Ve);return function(wr,lr){for(var Zn=lr;Zn>0;Zn--)wr.pop()}(Ye,Pe[ut]),Jt.fromCharCode.apply(Jt,Ye)},re=function(Ke){return Ke.split("").map(function(Pe){return("0"+Pe.charCodeAt().toString(16)).slice(-2)}).join("")+">"},Ae=function(Ke){var Pe=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((Ke=Ke.replace(/\s/g,"")).indexOf(">")!==-1&&(Ke=Ke.substr(0,Ke.indexOf(">"))),Ke.length%2&&(Ke+="0"),Pe.test(Ke)===!1)return"";for(var Ve="",Ye=0;Ye<Ke.length;Ye+=2)Ve+=String.fromCharCode("0x"+(Ke[Ye]+Ke[Ye+1]));return Ve},he=function(Ke){for(var Pe=new Uint8Array(Ke.length),Ve=Ke.length;Ve--;)Pe[Ve]=Ke.charCodeAt(Ve);return(Pe=pi(Pe)).reduce(function(Ye,dt){return Ye+String.fromCharCode(dt)},"")};y.processDataByFilters=function(Ke,Pe){var Ve=0,Ye=Ke||"",dt=[];for(typeof(Pe=Pe||[])=="string"&&(Pe=[Pe]),Ve=0;Ve<Pe.length;Ve+=1)switch(Pe[Ve]){case"ASCII85Decode":case"/ASCII85Decode":Ye=E(Ye),dt.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":Ye=z(Ye),dt.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":Ye=Ae(Ye),dt.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":Ye=re(Ye),dt.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":Ye=he(Ye),dt.push("/FlateDecode");break;default:throw new Error('The filter: "'+Pe[Ve]+'" is not implemented')}return{data:Ye,reverseChain:dt.reverse().join(" ")}}}(Da.API),function(y){y.loadFile=function(z,E,re){return function(Ae,he,Ke){he=he!==!1,Ke=typeof Ke=="function"?Ke:function(){};var Pe=void 0;try{Pe=function(Ve,Ye,dt){var Pt=new XMLHttpRequest,Jt=0,ut=function(In){var Cn=In.length,Nn=[],cn=String.fromCharCode;for(Jt=0;Jt<Cn;Jt+=1)Nn.push(cn(255&In.charCodeAt(Jt)));return Nn.join("")};if(Pt.open("GET",Ve,!Ye),Pt.overrideMimeType("text/plain; charset=x-user-defined"),Ye===!1&&(Pt.onload=function(){Pt.status===200?dt(ut(this.responseText)):dt(void 0)}),Pt.send(null),Ye&&Pt.status===200)return ut(Pt.responseText)}(Ae,he,Ke)}catch(Ve){}return Pe}(z,E,re)},y.loadImageFile=y.loadFile}(Da.API),function(y){function z(){return(ka.html2canvas?Promise.resolve(ka.html2canvas):Promise.resolve().then(ae.t.bind(ae,64270,23))).catch(function(Pe){return Promise.reject(new Error("Could not load html2canvas: "+Pe))}).then(function(Pe){return Pe.default?Pe.default:Pe})}function E(){return(ka.DOMPurify?Promise.resolve(ka.DOMPurify):ae.e(7573).then(ae.bind(ae,7573))).catch(function(Pe){return Promise.reject(new Error("Could not load dompurify: "+Pe))}).then(function(Pe){return Pe.default?Pe.default:Pe})}var re=function(Pe){var Ve=(0,x.Z)(Pe);return Ve==="undefined"?"undefined":Ve==="string"||Pe instanceof String?"string":Ve==="number"||Pe instanceof Number?"number":Ve==="function"||Pe instanceof Function?"function":Pe&&Pe.constructor===Array?"array":Pe&&Pe.nodeType===1?"element":Ve==="object"?"object":"unknown"},Ae=function(Pe,Ve){var Ye=document.createElement(Pe);for(var dt in Ve.className&&(Ye.className=Ve.className),Ve.innerHTML&&Ve.dompurify&&(Ye.innerHTML=Ve.dompurify.sanitize(Ve.innerHTML)),Ve.style)Ye.style[dt]=Ve.style[dt];return Ye},he=function Pe(Ve,Ye){for(var dt=Ve.nodeType===3?document.createTextNode(Ve.nodeValue):Ve.cloneNode(!1),Pt=Ve.firstChild;Pt;Pt=Pt.nextSibling)Ye!==!0&&Pt.nodeType===1&&Pt.nodeName==="SCRIPT"||dt.appendChild(Pe(Pt,Ye));return Ve.nodeType===1&&(Ve.nodeName==="CANVAS"?(dt.width=Ve.width,dt.height=Ve.height,dt.getContext("2d").drawImage(Ve,0,0)):Ve.nodeName!=="TEXTAREA"&&Ve.nodeName!=="SELECT"||(dt.value=Ve.value),dt.addEventListener("load",function(){dt.scrollTop=Ve.scrollTop,dt.scrollLeft=Ve.scrollLeft},!0)),dt},Ke=function Pe(Ve){var Ye=Object.assign(Pe.convert(Promise.resolve()),JSON.parse(JSON.stringify(Pe.template))),dt=Pe.convert(Promise.resolve(),Ye);return(dt=dt.setProgress(1,Pe,1,[Pe])).set(Ve)};(Ke.prototype=Object.create(Promise.prototype)).constructor=Ke,Ke.convert=function(Pe,Ve){return Pe.__proto__=Ve||Ke.prototype,Pe},Ke.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"}},Ke.prototype.from=function(Pe,Ve){return this.then(function(){switch(Ve=Ve||function(Ye){switch(re(Ye)){case"string":return"string";case"element":return Ye.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(Pe),Ve){case"string":return this.then(E).then(function(Ye){return this.set({src:Ae("div",{innerHTML:Pe,dompurify:Ye})})});case"element":return this.set({src:Pe});case"canvas":return this.set({canvas:Pe});case"img":return this.set({img:Pe});default:return this.error("Unknown source type.")}})},Ke.prototype.to=function(Pe){switch(Pe){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.")}},Ke.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 Pe={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},Ve=he(this.prop.src,this.opt.html2canvas.javascriptEnabled);Ve.tagName==="BODY"&&(Pe.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=Ae("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=Ae("div",{className:"html2pdf__container",style:Pe}),this.prop.container.appendChild(Ve),this.prop.container.firstChild.appendChild(Ae("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"})},Ke.prototype.toCanvas=function(){var Pe=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Pe).then(z).then(function(Ve){var Ye=Object.assign({},this.opt.html2canvas);return delete Ye.onrendered,Ve(this.prop.container,Ye)}).then(function(Ve){(this.opt.html2canvas.onrendered||function(){})(Ve),this.prop.canvas=Ve,document.body.removeChild(this.prop.overlay)})},Ke.prototype.toContext2d=function(){var Pe=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Pe).then(z).then(function(Ve){var Ye=this.opt.jsPDF,dt=this.opt.fontFaces,Pt=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,Jt=Object.assign({async:!0,allowTaint:!0,scale:Pt,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 Jt.onrendered,Ye.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,Ye.context2d.posX=this.opt.x,Ye.context2d.posY=this.opt.y,Ye.context2d.margin=this.opt.margin,Ye.context2d.fontFaces=dt,dt)for(var ut=0;ut<dt.length;++ut){var In=dt[ut],Cn=In.src.find(function(Nn){return Nn.format==="truetype"});Cn&&Ye.addFont(Cn.url,In.ref.name,In.ref.style)}return Jt.windowHeight=Jt.windowHeight||0,Jt.windowHeight=Jt.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):Jt.windowHeight,Ye.context2d.save(!0),Ve(this.prop.container,Jt)}).then(function(Ve){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(Ve),this.prop.canvas=Ve,document.body.removeChild(this.prop.overlay)})},Ke.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var Pe=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=Pe})},Ke.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},Ke.prototype.output=function(Pe,Ve,Ye){return(Ye=Ye||"pdf").toLowerCase()==="img"||Ye.toLowerCase()==="image"?this.outputImg(Pe,Ve):this.outputPdf(Pe,Ve)},Ke.prototype.outputPdf=function(Pe,Ve){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(Pe,Ve)})},Ke.prototype.outputImg=function(Pe){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(Pe){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 "'+Pe+'" is not supported.'}})},Ke.prototype.save=function(Pe){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(Pe?{filename:Pe}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},Ke.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},Ke.prototype.set=function(Pe){if(re(Pe)!=="object")return this;var Ve=Object.keys(Pe||{}).map(function(Ye){if(Ye in Ke.template.prop)return function(){this.prop[Ye]=Pe[Ye]};switch(Ye){case"margin":return this.setMargin.bind(this,Pe.margin);case"jsPDF":return function(){return this.opt.jsPDF=Pe.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,Pe.pageSize);default:return function(){this.opt[Ye]=Pe[Ye]}}},this);return this.then(function(){return this.thenList(Ve)})},Ke.prototype.get=function(Pe,Ve){return this.then(function(){var Ye=Pe in Ke.template.prop?this.prop[Pe]:this.opt[Pe];return Ve?Ve(Ye):Ye})},Ke.prototype.setMargin=function(Pe){return this.then(function(){switch(re(Pe)){case"number":Pe=[Pe,Pe,Pe,Pe];case"array":if(Pe.length===2&&(Pe=[Pe[0],Pe[1],Pe[0],Pe[1]]),Pe.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=Pe}).then(this.setPageSize)},Ke.prototype.setPageSize=function(Pe){function Ve(Ye,dt){return Math.floor(Ye*dt/72*96)}return this.then(function(){(Pe=Pe||Da.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(Pe.inner={width:Pe.width-this.opt.margin[1]-this.opt.margin[3],height:Pe.height-this.opt.margin[0]-this.opt.margin[2]},Pe.inner.px={width:Ve(Pe.inner.width,Pe.k),height:Ve(Pe.inner.height,Pe.k)},Pe.inner.ratio=Pe.inner.height/Pe.inner.width),this.prop.pageSize=Pe})},Ke.prototype.setProgress=function(Pe,Ve,Ye,dt){return Pe!=null&&(this.progress.val=Pe),Ve!=null&&(this.progress.state=Ve),Ye!=null&&(this.progress.n=Ye),dt!=null&&(this.progress.stack=dt),this.progress.ratio=this.progress.val/this.progress.state,this},Ke.prototype.updateProgress=function(Pe,Ve,Ye,dt){return this.setProgress(Pe?this.progress.val+Pe:null,Ve||null,Ye?this.progress.n+Ye:null,dt?this.progress.stack.concat(dt):null)},Ke.prototype.then=function(Pe,Ve){var Ye=this;return this.thenCore(Pe,Ve,function(dt,Pt){return Ye.updateProgress(null,null,1,[dt]),Promise.prototype.then.call(this,function(Jt){return Ye.updateProgress(null,dt),Jt}).then(dt,Pt).then(function(Jt){return Ye.updateProgress(1),Jt})})},Ke.prototype.thenCore=function(Pe,Ve,Ye){Ye=Ye||Promise.prototype.then;var dt=this;Pe&&(Pe=Pe.bind(dt)),Ve&&(Ve=Ve.bind(dt));var Pt=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?dt:Ke.convert(Object.assign({},dt),Promise.prototype),Jt=Ye.call(Pt,Pe,Ve);return Ke.convert(Jt,dt.__proto__)},Ke.prototype.thenExternal=function(Pe,Ve){return Promise.prototype.then.call(this,Pe,Ve)},Ke.prototype.thenList=function(Pe){var Ve=this;return Pe.forEach(function(Ye){Ve=Ve.thenCore(Ye)}),Ve},Ke.prototype.catch=function(Pe){Pe&&(Pe=Pe.bind(this));var Ve=Promise.prototype.catch.call(this,Pe);return Ke.convert(Ve,this)},Ke.prototype.catchExternal=function(Pe){return Promise.prototype.catch.call(this,Pe)},Ke.prototype.error=function(Pe){return this.then(function(){throw new Error(Pe)})},Ke.prototype.using=Ke.prototype.set,Ke.prototype.saveAs=Ke.prototype.save,Ke.prototype.export=Ke.prototype.output,Ke.prototype.run=Ke.prototype.then,Da.getPageSize=function(Pe,Ve,Ye){if((0,x.Z)(Pe)==="object"){var dt=Pe;Pe=dt.orientation,Ve=dt.unit||Ve,Ye=dt.format||Ye}Ve=Ve||"mm",Ye=Ye||"a4",Pe=(""+(Pe||"P")).toLowerCase();var Pt,Jt=(""+Ye).toLowerCase(),ut={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(Ve){case"pt":Pt=1;break;case"mm":Pt=72/25.4;break;case"cm":Pt=72/2.54;break;case"in":Pt=72;break;case"px":Pt=.75;break;case"pc":case"em":Pt=12;break;case"ex":Pt=6;break;default:throw"Invalid unit: "+Ve}var In,Cn=0,Nn=0;if(ut.hasOwnProperty(Jt))Cn=ut[Jt][1]/Pt,Nn=ut[Jt][0]/Pt;else try{Cn=Ye[1],Nn=Ye[0]}catch(cn){throw new Error("Invalid format: "+Ye)}if(Pe==="p"||Pe==="portrait")Pe="p",Nn>Cn&&(In=Nn,Nn=Cn,Cn=In);else{if(Pe!=="l"&&Pe!=="landscape")throw"Invalid orientation: "+Pe;Pe="l",Cn>Nn&&(In=Nn,Nn=Cn,Cn=In)}return{width:Nn,height:Cn,unit:Ve,k:Pt,orientation:Pe}},y.html=function(Pe,Ve){(Ve=Ve||{}).callback=Ve.callback||function(){},Ve.html2canvas=Ve.html2canvas||{},Ve.html2canvas.canvas=Ve.html2canvas.canvas||this.canvas,Ve.jsPDF=Ve.jsPDF||this,Ve.fontFaces=Ve.fontFaces?Ve.fontFaces.map(Jc):null;var Ye=new Ke(Ve);return Ve.worker?Ye:Ye.from(Pe).doCallback()}}(Da.API),Da.API.addJS=function(y){return L0=y,this.internal.events.subscribe("postPutResources",function(){Qf=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Qf+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(){Qf!==void 0&&I0!==void 0&&this.internal.out("/Names <</JavaScript "+Qf+" 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 Ae=E.outline.render().split(/\r\n/),he=0;he<Ae.length;he++){var Ke=Ae[he],Pe=re.exec(Ke);if(Pe!=null){var Ve=Pe[1];E.internal.newObjectDeferredBegin(Ve,!1)}E.internal.write(Ke)}if(this.outline.createNamedDestinations){var Ye=this.internal.pages.length,dt=[];for(he=0;he<Ye;he++){var Pt=E.internal.newObject();dt.push(Pt);var Jt=E.internal.getPageInfo(he+1);E.internal.write("<< /D["+Jt.objId+" 0 R /XYZ null null null]>> endobj")}var ut=E.internal.newObject();for(E.internal.write("<< /Names [ "),he=0;he<dt.length;he++)E.internal.write("(page_"+(he+1)+")"+dt[he]+" 0 R");E.internal.write(" ] >>","endobj"),z=E.internal.newObject(),E.internal.write("<< /Dests "+ut+" 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,Ae,he){var Ke={title:Ae,options:he,children:[]};return re==null&&(re=this.root),re.children.push(Ke),Ke},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 Ae=0;Ae<re.children.length;Ae++)this.genIds_r(re.children[Ae])},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 Ae=this.ctx.pdf.internal.getVerticalCoordinateString,he=0;he<re.children.length;he++){var Ke=re.children[he];this.objStart(Ke),this.line("/Title "+this.makeString(Ke.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])),Ke.children.length>0&&(this.line("/First "+this.makeRef(Ke.children[0])),this.line("/Last "+this.makeRef(Ke.children[Ke.children.length-1])));var Pe=this.count=this.count_r({count:0},Ke);if(Pe>0&&this.line("/Count "+Pe),Ke.options&&Ke.options.pageNumber){var Ve=E.internal.getPageInfo(Ke.options.pageNumber);this.line("/Dest ["+Ve.objId+" 0 R /XYZ 0 "+Ae(0)+" 0]")}this.objEnd()}for(var Ye=0;Ye<re.children.length;Ye++)this.renderItems(re.children[Ye])},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,Ae){for(var he=0;he<Ae.children.length;he++)re.count++,this.count_r(re,Ae.children[he]);return re.count}}])}(Da.API),function(y){var z=[192,193,194,195,196,197,198,199];y.processJPEG=function(E,re,Ae,he,Ke,Pe){var Ve,Ye=this.decode.DCT_DECODE,dt=null;if(typeof E=="string"||this.__addimage__.isArrayBuffer(E)||this.__addimage__.isArrayBufferView(E)){switch(E=Ke||E,E=this.__addimage__.isArrayBuffer(E)?new Uint8Array(E):E,Ve=function(Pt){for(var Jt,ut=256*Pt.charCodeAt(4)+Pt.charCodeAt(5),In=Pt.length,Cn={width:0,height:0,numcomponents:1},Nn=4;Nn<In;Nn+=2){if(Nn+=ut,z.indexOf(Pt.charCodeAt(Nn+1))!==-1){Jt=256*Pt.charCodeAt(Nn+5)+Pt.charCodeAt(Nn+6),Cn={width:256*Pt.charCodeAt(Nn+7)+Pt.charCodeAt(Nn+8),height:Jt,numcomponents:Pt.charCodeAt(Nn+9)};break}ut=256*Pt.charCodeAt(Nn+2)+Pt.charCodeAt(Nn+3)}return Cn}(E=this.__addimage__.isArrayBufferView(E)?this.__addimage__.arrayBufferToBinaryString(E):E),Ve.numcomponents){case 1:Pe=this.color_spaces.DEVICE_GRAY;break;case 4:Pe=this.color_spaces.DEVICE_CMYK;break;case 3:Pe=this.color_spaces.DEVICE_RGB}dt={data:E,width:Ve.width,height:Ve.height,colorSpace:Pe,bitsPerComponent:8,filter:Ye,index:re,alias:Ae}}return dt}}(Da.API),Da.API.processPNG=function(y,z,E,re){if(this.__addimage__.isArrayBuffer(y)&&(y=new Uint8Array(y)),this.__addimage__.isArrayBufferView(y)){var Ae,he=oc(y,{checkCrc:!0}),Ke=he.width,Pe=he.height,Ve=he.channels,Ye=he.palette,dt=he.depth;Ae=Ye&&Ve===1?function(Nr){for(var Gn=Nr.width,Gr=Nr.height,un=Nr.data,On=Nr.palette,mr=Nr.depth,dr=!1,hi=[],Fi=[],Oi=void 0,ai=!1,Pi=0,Po=0;Po<On.length;Po++){var io=(0,Ei.Z)(On[Po],4),nn=io[0],Kn=io[1],rr=io[2],Br=io[3];hi.push(nn,Kn,rr),Br!=null&&(Br===0?(Pi++,Fi.length<1&&Fi.push(Po)):Br<255&&(ai=!0))}if(ai||Pi>1){dr=!0,Fi=void 0;var Rr=Gn*Gr;Oi=new Uint8Array(Rr);for(var si=new DataView(un.buffer),Di=0;Di<Rr;Di++){var xi=Wm(si,Di,mr),Xi=(0,Ei.Z)(On[xi],4)[3];Oi[Di]=Xi}}else Pi===0&&(Fi=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:dr?8:void 0,colorBytes:un,alphaBytes:Oi,needSMask:dr,palette:hi,mask:Fi}}(he):Ve===2||Ve===4?function(Nr){for(var Gn=Nr.data,Gr=Nr.width,un=Nr.height,On=Nr.channels,mr=Nr.depth,dr=On===2?"DeviceGray":"DeviceRGB",hi=On-1,Fi=Gr*un,Oi=hi,ai=Fi*Oi,Pi=1*Fi,Po=Math.ceil(ai*mr/8),io=Math.ceil(Pi*mr/8),nn=new Uint8Array(Po),Kn=new Uint8Array(io),rr=new DataView(Gn.buffer),Br=new DataView(nn.buffer),Rr=new DataView(Kn.buffer),si=!1,Di=0;Di<Fi;Di++){for(var xi=Di*On,Xi=0;Xi<Oi;Xi++)U0(Br,Wm(rr,xi+Xi,mr),Di*Oi+Xi,mr);var wo=Wm(rr,xi+Oi,mr);wo<(1<<mr)-1&&(si=!0),U0(Rr,wo,1*Di,mr)}return{colorSpace:dr,colorsPerPixel:hi,sMaskBitsPerComponent:si?mr:void 0,colorBytes:nn,alphaBytes:Kn,needSMask:si}}(he):function(Nr){var Gn=Nr.data,Gr=Nr.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:Gr,colorsPerPixel:Gr==="DeviceGray"?1:3,colorBytes:Gn instanceof Uint16Array?function(un){for(var On=un.length,mr=new Uint8Array(2*On),dr=new DataView(mr.buffer,mr.byteOffset,mr.byteLength),hi=0;hi<On;hi++)dr.setUint16(2*hi,un[hi],!1);return mr}(Gn):Gn,needSMask:!1}}(he);var Pt,Jt,ut,In=Ae,Cn=In.colorSpace,Nn=In.colorsPerPixel,cn=In.sMaskBitsPerComponent,wr=In.colorBytes,lr=In.alphaBytes,Zn=In.needSMask,Ai=In.palette,Qi=In.mask,Ii=null;return re!==Da.API.image_compression.NONE&&typeof pi=="function"?(Ii=function(Nr){var Gn;switch(Nr){case Da.API.image_compression.FAST:Gn=11;break;case Da.API.image_compression.MEDIUM:Gn=13;break;case Da.API.image_compression.SLOW:Gn=14;break;default:Gn=12}return Gn}(re),Pt=this.decode.FLATE_DECODE,Jt="/Predictor ".concat(Ii," /Colors ").concat(Nn," /BitsPerComponent ").concat(dt," /Columns ").concat(Ke),y=P0(wr,Math.ceil(Ke*Nn*dt/8),Nn,dt,re),Zn&&(ut=P0(lr,Math.ceil(Ke*cn/8),1,cn,re))):(Pt=void 0,Jt=void 0,y=wr,Zn&&(ut=lr)),(this.__addimage__.isArrayBuffer(y)||this.__addimage__.isArrayBufferView(y))&&(y=this.__addimage__.arrayBufferToBinaryString(y)),(ut&&this.__addimage__.isArrayBuffer(ut)||this.__addimage__.isArrayBufferView(ut))&&(ut=this.__addimage__.arrayBufferToBinaryString(ut)),{alias:E,data:y,index:z,filter:Pt,decodeParameters:Jt,transparency:Qi,palette:Ai,sMask:ut,predictor:Ii,width:Ke,height:Pe,bitsPerComponent:dt,sMaskBitsPerComponent:cn,colorSpace:Cn}}},function(y){y.processGIF89A=function(z,E,re,Ae){var he=new kv(z),Ke=he.width,Pe=he.height,Ve=[];he.decodeAndBlitFrameRGBA(0,Ve);var Ye={data:Ve,width:Ke,height:Pe},dt=new $m(100).encode(Ye,100);return y.processJPEG.call(this,dt,E,re,Ae)},y.processGIF87A=y.processGIF89A}(Da.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),Ae=this.datav.getUint8(this.pos++,!0),he=this.datav.getUint8(this.pos++,!0);this.palette[z]={red:Ae,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){cl.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,Ae=0;Ae<z;Ae++)for(var he=this.datav.getUint8(this.pos++,!0),Ke=re*this.width*4+8*Ae*4,Pe=0;Pe<8&&8*Ae+Pe<this.width;Pe++){var Ve=this.palette[he>>7-Pe&1];this.data[Ke+4*Pe]=Ve.blue,this.data[Ke+4*Pe+1]=Ve.green,this.data[Ke+4*Pe+2]=Ve.red,this.data[Ke+4*Pe+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,Ae=0;Ae<y;Ae++){var he=this.datav.getUint8(this.pos++,!0),Ke=re*this.width*4+2*Ae*4,Pe=he>>4,Ve=15&he,Ye=this.palette[Pe];if(this.data[Ke]=Ye.blue,this.data[Ke+1]=Ye.green,this.data[Ke+2]=Ye.red,this.data[Ke+3]=255,2*Ae+1>=this.width)break;Ye=this.palette[Ve],this.data[Ke+4]=Ye.blue,this.data[Ke+4+1]=Ye.green,this.data[Ke+4+2]=Ye.red,this.data[Ke+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 Ae=this.datav.getUint8(this.pos++,!0),he=E*this.width*4+4*re;if(Ae<this.palette.length){var Ke=this.palette[Ae];this.data[he]=Ke.red,this.data[he+1]=Ke.green,this.data[he+2]=Ke.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,Ae=0;Ae<this.width;Ae++){var he=this.datav.getUint16(this.pos,!0);this.pos+=2;var Ke=(he&z)/z*255|0,Pe=(he>>5&z)/z*255|0,Ve=(he>>10&z)/z*255|0,Ye=he>>15?255:0,dt=re*this.width*4+4*Ae;this.data[dt]=Ve,this.data[dt+1]=Pe,this.data[dt+2]=Ke,this.data[dt+3]=Ye}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 Ae=this.bottom_up?re:this.height-1-re,he=0;he<this.width;he++){var Ke=this.datav.getUint16(this.pos,!0);this.pos+=2;var Pe=(Ke&z)/z*255|0,Ve=(Ke>>5&E)/E*255|0,Ye=(Ke>>11)/z*255|0,dt=Ae*this.width*4+4*he;this.data[dt]=Ye,this.data[dt+1]=Ve,this.data[dt+2]=Pe,this.data[dt+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),Ae=this.datav.getUint8(this.pos++,!0),he=this.datav.getUint8(this.pos++,!0),Ke=z*this.width*4+4*E;this.data[Ke]=he,this.data[Ke+1]=Ae,this.data[Ke+2]=re,this.data[Ke+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),Ae=this.datav.getUint8(this.pos++,!0),he=this.datav.getUint8(this.pos++,!0),Ke=this.datav.getUint8(this.pos++,!0),Pe=z*this.width*4+4*E;this.data[Pe]=he,this.data[Pe+1]=Ae,this.data[Pe+2]=re,this.data[Pe+3]=Ke}},cf.prototype.getData=function(){return this.data},function(y){y.processBMP=function(z,E,re,Ae){var he=new cf(z,!1),Ke=he.width,Pe=he.height,Ve={data:he.getData(),width:Ke,height:Pe},Ye=new $m(100).encode(Ve,100);return y.processJPEG.call(this,Ye,E,re,Ae)}}(Da.API),Q0.prototype.getData=function(){return this.data},function(y){y.processWEBP=function(z,E,re,Ae){var he=new Q0(z),Ke=he.width,Pe=he.height,Ve={data:he.getData(),width:Ke,height:Pe},Ye=new $m(100).encode(Ve,100);return y.processJPEG.call(this,Ye,E,re,Ae)}}(Da.API),Da.API.processRGBA=function(y,z,E){for(var re=y.data,Ae=re.length,he=new Uint8Array(Ae/4*3),Ke=new Uint8Array(Ae/4),Pe=0,Ve=0,Ye=0;Ye<Ae;Ye+=4){var dt=re[Ye],Pt=re[Ye+1],Jt=re[Ye+2],ut=re[Ye+3];he[Pe++]=dt,he[Pe++]=Pt,he[Pe++]=Jt,Ke[Ve++]=ut}var In=this.__addimage__.arrayBufferToBinaryString(he);return{alpha:this.__addimage__.arrayBufferToBinaryString(Ke),data:In,index:z,alias:E,colorSpace:"DeviceRGB",bitsPerComponent:8,width:y.width,height:y.height}},Da.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},rg=Da.API,im=rg.getCharWidthsArray=function(y,z){var E,re,Ae=(z=z||{}).font||this.internal.getFont(),he=z.fontSize||this.internal.getFontSize(),Ke=z.charSpace||this.internal.getCharSpace(),Pe=z.widths?z.widths:Ae.metadata.Unicode.widths,Ve=Pe.fof?Pe.fof:1,Ye=z.kerning?z.kerning:Ae.metadata.Unicode.kerning,dt=Ye.fof?Ye.fof:1,Pt=z.doKerning!==!1,Jt=0,ut=y.length,In=0,Cn=Pe[0]||Ve,Nn=[];for(E=0;E<ut;E++)re=y.charCodeAt(E),typeof Ae.metadata.widthOfString=="function"?Nn.push((Ae.metadata.widthOfGlyph(Ae.metadata.characterToGlyph(re))+Ke*(1e3/he)||0)/1e3):(Jt=Pt&&(0,x.Z)(Ye[re])==="object"&&!isNaN(parseInt(Ye[re][In],10))?Ye[re][In]/dt:0,Nn.push((Pe[re]||Cn)/Ve+Jt)),In=re;return Nn},D0=rg.getStringUnitWidth=function(y,z){var E=(z=z||{}).fontSize||this.internal.getFontSize(),re=z.font||this.internal.getFont(),Ae=z.charSpace||this.internal.getCharSpace();return rg.processArabic&&(y=rg.processArabic(y)),typeof re.metadata.widthOfString=="function"?re.metadata.widthOfString(y,E,Ae)/E:im.apply(this,arguments).reduce(function(he,Ke){return he+Ke},0)},N0=function(y,z,E,re){for(var Ae=[],he=0,Ke=y.length,Pe=0;he!==Ke&&Pe+z[he]<E;)Pe+=z[he],he++;Ae.push(y.slice(0,he));var Ve=he;for(Pe=0;he!==Ke;)Pe+z[he]>re&&(Ae.push(y.slice(Ve,he)),Pe=0,Ve=he),Pe+=z[he],he++;return Ve!==he&&Ae.push(y.slice(Ve,he)),Ae},O0=function(y,z,E){E||(E={});var re,Ae,he,Ke,Pe,Ve,Ye,dt=[],Pt=[dt],Jt=E.textIndent||0,ut=0,In=0,Cn=y.split(" "),Nn=im.apply(this,[" ",E])[0];if(Ve=E.lineIndent===-1?Cn[0].length+2:E.lineIndent||0){var cn=Array(Ve).join(" "),wr=[];Cn.map(function(Zn){(Zn=Zn.split(/\s*\n/)).length>1?wr=wr.concat(Zn.map(function(Ai,Qi){return(Qi&&Ai.length?`
`:"")+Ai})):wr.push(Zn[0])}),Cn=wr,Ve=D0.apply(this,[cn,E])}for(he=0,Ke=Cn.length;he<Ke;he++){var lr=0;if(re=Cn[he],Ve&&re[0]==`
`&&(re=re.substr(1),lr=1),Jt+ut+(In=(Ae=im.apply(this,[re,E])).reduce(function(Zn,Ai){return Zn+Ai},0))>z||lr){if(In>z){for(Pe=N0.apply(this,[re,Ae,z-(Jt+ut),z]),dt.push(Pe.shift()),dt=[Pe.pop()];Pe.length;)Pt.push([Pe.shift()]);In=Ae.slice(re.length-(dt[0]?dt[0].length:0)).reduce(function(Zn,Ai){return Zn+Ai},0)}else dt=[re];Pt.push(dt),Jt=In+Ve,ut=Nn}else dt.push(re),Jt+=ut+In,ut=Nn}return Ye=Ve?function(Zn,Ai){return(Ai?cn:"")+Zn.join(" ")}:function(Zn){return Zn.join(" ")},Pt.map(Ye)},rg.splitTextToSize=function(y,z,E){var re,Ae=(E=E||{}).fontSize||this.internal.getFontSize(),he=function(dt){if(dt.widths&&dt.kerning)return{widths:dt.widths,kerning:dt.kerning};var Pt=this.internal.getFont(dt.fontName,dt.fontStyle),Jt="Unicode";return Pt.metadata[Jt]?{widths:Pt.metadata[Jt].widths||{0:1},kerning:Pt.metadata[Jt].kerning||{}}:{font:Pt.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,E);re=Array.isArray(y)?y:String(y).split(/\r?\n/);var Ke=1*this.internal.scaleFactor*z/Ae;he.textIndent=E.textIndent?1*E.textIndent*this.internal.scaleFactor/Ae:0,he.lineIndent=E.lineIndent;var Pe,Ve,Ye=[];for(Pe=0,Ve=re.length;Pe<Ve;Pe++)Ye=Ye.concat(O0.apply(this,[re[Pe],Ke,he]));return Ye},function(y){y.__fontmetrics__=y.__fontmetrics__||{};for(var z="0123456789abcdef",E="klmnopqrstuvwxyz",re={},Ae={},he=0;he<16;he++)re[E[he]]=z[he],Ae[z[he]]=E[he];var Ke=function(Jt){return"0x"+parseInt(Jt,10).toString(16)},Pe=y.__fontmetrics__.compress=function(Jt){var ut,In,Cn,Nn,cn=["{"];for(var wr in Jt){if(ut=Jt[wr],isNaN(parseInt(wr,10))?In="'"+wr+"'":(wr=parseInt(wr,10),In=(In=Ke(wr).slice(2)).slice(0,-1)+Ae[In.slice(-1)]),typeof ut=="number")ut<0?(Cn=Ke(ut).slice(3),Nn="-"):(Cn=Ke(ut).slice(2),Nn=""),Cn=Nn+Cn.slice(0,-1)+Ae[Cn.slice(-1)];else{if((0,x.Z)(ut)!=="object")throw new Error("Don't know what to do with value type "+(0,x.Z)(ut)+".");Cn=Pe(ut)}cn.push(In+Cn)}return cn.push("}"),cn.join("")},Ve=y.__fontmetrics__.uncompress=function(Jt){if(typeof Jt!="string")throw new Error("Invalid argument passed to uncompress.");for(var ut,In,Cn,Nn,cn={},wr=1,lr=cn,Zn=[],Ai="",Qi="",Ii=Jt.length-1,Nr=1;Nr<Ii;Nr+=1)(Nn=Jt[Nr])=="'"?ut?(Cn=ut.join(""),ut=void 0):ut=[]:ut?ut.push(Nn):Nn=="{"?(Zn.push([lr,Cn]),lr={},Cn=void 0):Nn=="}"?((In=Zn.pop())[0][In[1]]=lr,Cn=void 0,lr=In[0]):Nn=="-"?wr=-1:Cn===void 0?re.hasOwnProperty(Nn)?(Ai+=re[Nn],Cn=parseInt(Ai,16)*wr,wr=1,Ai=""):Ai+=Nn:re.hasOwnProperty(Nn)?(Qi+=re[Nn],lr[Cn]=parseInt(Qi,16)*wr,wr=1,Cn=void 0,Qi=""):Qi+=Nn;return cn},Ye={codePages:["WinAnsiEncoding"],WinAnsiEncoding:Ve("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},dt={Unicode:{Courier:Ye,"Courier-Bold":Ye,"Courier-BoldOblique":Ye,"Courier-Oblique":Ye,Helvetica:Ye,"Helvetica-Bold":Ye,"Helvetica-BoldOblique":Ye,"Helvetica-Oblique":Ye,"Times-Roman":Ye,"Times-Bold":Ye,"Times-BoldItalic":Ye,"Times-Italic":Ye}},Pt={Unicode:{"Courier-Oblique":Ve("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":Ve("{'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":Ve("{'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:Ve("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":Ve("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":Ve("{'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:Ve("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:Ve("{'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":Ve("{'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:Ve("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":Ve("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":Ve("{'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":Ve("{'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":Ve("{'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}}}")}};y.events.push(["addFont",function(Jt){var ut=Jt.font,In=Pt.Unicode[ut.postScriptName];In&&(ut.metadata.Unicode={},ut.metadata.Unicode.widths=In.widths,ut.metadata.Unicode.kerning=In.kerning);var Cn=dt.Unicode[ut.postScriptName];Cn&&(ut.metadata.Unicode.encoding=Cn,ut.encoding=Cn.codePages[0])}])}(Da.API),function(y){var z=function(E){for(var re=E.length,Ae=new Uint8Array(re),he=0;he<re;he++)Ae[he]=E.charCodeAt(he);return Ae};y.API.events.push(["addFont",function(E){var re=void 0,Ae=E.font,he=E.instance;if(!Ae.isStandardFont){if(he===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+Ae.postScriptName+"').");if(typeof(re=he.existsFileInVFS(Ae.postScriptName)===!1?he.loadFile(Ae.postScriptName):he.getFileFromVFS(Ae.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+Ae.postScriptName+"').");(function(Ke,Pe){Pe=/^\x00\x01\x00\x00/.test(Pe)?z(Pe):z(gp(Pe)),Ke.metadata=y.API.TTFFont.open(Pe),Ke.metadata.Unicode=Ke.metadata.Unicode||{encoding:{},kerning:{},widths:[]},Ke.metadata.glyIdsUsed=[0]})(Ae,re)}}])}(Da),Da.API.addSvgAsImage=function(y,z,E,re,Ae,he,Ke,Pe){if(isNaN(z)||isNaN(E))throw cl.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(re)||isNaN(Ae))throw cl.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var Ve=document.createElement("canvas");Ve.width=re,Ve.height=Ae;var Ye=Ve.getContext("2d");Ye.fillStyle="#fff",Ye.fillRect(0,0,Ve.width,Ve.height);var dt={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},Pt=this;return(ka.canvg?Promise.resolve(ka.canvg):ae.e(3754).then(ae.bind(ae,63754))).catch(function(Jt){return Promise.reject(new Error("Could not load canvg: "+Jt))}).then(function(Jt){return Jt.default?Jt.default:Jt}).then(function(Jt){return Jt.fromString(Ye,y,dt)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(Jt){return Jt.render(dt)}).then(function(){Pt.addImage(Ve.toDataURL("image/jpeg",1),z,E,re,Ae,Ke,Pe)})},Da.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 Ae=0;Ae<this.internal.pages[re].length;Ae++)this.internal.pages[re][Ae]=this.internal.pages[re][Ae].replace(z,E);return this},Da.API.viewerPreferences=function(y,z){var E;y=y||{},z=z||!1;var re,Ae,he,Ke={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}},Pe=Object.keys(Ke),Ve=[],Ye=0,dt=0,Pt=0;function Jt(In,Cn){var Nn,cn=!1;for(Nn=0;Nn<In.length;Nn+=1)In[Nn]===Cn&&(cn=!0);return cn}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(Ke)),this.internal.viewerpreferences.isSubscribed=!1),E=this.internal.viewerpreferences.configuration,y==="reset"||z===!0){var ut=Pe.length;for(Pt=0;Pt<ut;Pt+=1)E[Pe[Pt]].value=E[Pe[Pt]].defaultValue,E[Pe[Pt]].explicitSet=!1}if((0,x.Z)(y)==="object"){for(Ae in y)if(he=y[Ae],Jt(Pe,Ae)&&he!==void 0){if(E[Ae].type==="boolean"&&typeof he=="boolean")E[Ae].value=he;else if(E[Ae].type==="name"&&Jt(E[Ae].valueSet,he))E[Ae].value=he;else if(E[Ae].type==="integer"&&Number.isInteger(he))E[Ae].value=he;else if(E[Ae].type==="array"){for(Ye=0;Ye<he.length;Ye+=1)if(re=!0,he[Ye].length===1&&typeof he[Ye][0]=="number")Ve.push(String(he[Ye]-1));else if(he[Ye].length>1){for(dt=0;dt<he[Ye].length;dt+=1)typeof he[Ye][dt]!="number"&&(re=!1);re===!0&&Ve.push([he[Ye][0]-1,he[Ye][1]-1].join(" "))}E[Ae].value="["+Ve.join(" ")+"]"}else E[Ae].value=E[Ae].defaultValue;E[Ae].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var In,Cn=[];for(In in E)E[In].explicitSet===!0&&(E[In].type==="name"?Cn.push("/"+In+" /"+E[In].value):Cn.push("/"+In+" "+E[In].value));Cn.length!==0&&this.internal.write(`/ViewerPreferences
<<
`+Cn.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>',Ae=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),he=unescape(encodeURIComponent(re)),Ke=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),Pe=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),Ve=unescape(encodeURIComponent("</x:xmpmeta>")),Ye=he.length+Ke.length+Pe.length+Ae.length+Ve.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Ye+" >>"),this.internal.write("stream"),this.internal.write(Ae+he+Ke+Pe+Ve),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,Ae){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:re,namespaceuri:Ae||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",E),this.internal.events.subscribe("postPutResources",z)),this}}(Da.API),function(y){var z=y.API,E=z.pdfEscape16=function(he,Ke){for(var Pe,Ve=Ke.metadata.Unicode.widths,Ye=["","0","00","000","0000"],dt=[""],Pt=0,Jt=he.length;Pt<Jt;++Pt){if(Pe=Ke.metadata.characterToGlyph(he.charCodeAt(Pt)),Ke.metadata.glyIdsUsed.push(Pe),Ke.metadata.toUnicode[Pe]=he.charCodeAt(Pt),Ve.indexOf(Pe)==-1&&(Ve.push(Pe),Ve.push([parseInt(Ke.metadata.widthOfGlyph(Pe),10)])),Pe=="0")return dt.join("");Pe=Pe.toString(16),dt.push(Ye[4-Pe.length],Pe)}return dt.join("")},re=function(he){var Ke,Pe,Ve,Ye,dt,Pt,Jt;for(dt=`/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`,Ve=[],Pt=0,Jt=(Pe=Object.keys(he).sort(function(ut,In){return ut-In})).length;Pt<Jt;Pt++)Ke=Pe[Pt],Ve.length>=100&&(dt+=`
`+Ve.length+` beginbfchar
`+Ve.join(`
`)+`
endbfchar`,Ve=[]),he[Ke]!==void 0&&he[Ke]!==null&&typeof he[Ke].toString=="function"&&(Ye=("0000"+he[Ke].toString(16)).slice(-4),Ke=("0000"+(+Ke).toString(16)).slice(-4),Ve.push("<"+Ke+"><"+Ye+">"));return Ve.length&&(dt+=`
`+Ve.length+` beginbfchar
`+Ve.join(`
`)+`
endbfchar
`),dt+`endcmap
CMapName currentdict /CMap defineresource pop
end
end`};z.events.push(["putFont",function(he){(function(Ke){var Pe=Ke.font,Ve=Ke.out,Ye=Ke.newObject,dt=Ke.putStream;if(Pe.metadata instanceof y.API.TTFFont&&Pe.encoding==="Identity-H"){for(var Pt=Pe.metadata.Unicode.widths,Jt=Pe.metadata.subset.encode(Pe.metadata.glyIdsUsed,1),ut="",In=0;In<Jt.length;In++)ut+=String.fromCharCode(Jt[In]);var Cn=Ye();dt({data:ut,addLength1:!0,objectId:Cn}),Ve("endobj");var Nn=Ye();dt({data:re(Pe.metadata.toUnicode),addLength1:!0,objectId:Nn}),Ve("endobj");var cn=Ye();Ve("<<"),Ve("/Type /FontDescriptor"),Ve("/FontName /"+md(Pe.fontName)),Ve("/FontFile2 "+Cn+" 0 R"),Ve("/FontBBox "+y.API.PDFObject.convert(Pe.metadata.bbox)),Ve("/Flags "+Pe.metadata.flags),Ve("/StemV "+Pe.metadata.stemV),Ve("/ItalicAngle "+Pe.metadata.italicAngle),Ve("/Ascent "+Pe.metadata.ascender),Ve("/Descent "+Pe.metadata.decender),Ve("/CapHeight "+Pe.metadata.capHeight),Ve(">>"),Ve("endobj");var wr=Ye();Ve("<<"),Ve("/Type /Font"),Ve("/BaseFont /"+md(Pe.fontName)),Ve("/FontDescriptor "+cn+" 0 R"),Ve("/W "+y.API.PDFObject.convert(Pt)),Ve("/CIDToGIDMap /Identity"),Ve("/DW 1000"),Ve("/Subtype /CIDFontType2"),Ve("/CIDSystemInfo"),Ve("<<"),Ve("/Supplement 0"),Ve("/Registry (Adobe)"),Ve("/Ordering ("+Pe.encoding+")"),Ve(">>"),Ve(">>"),Ve("endobj"),Pe.objectNumber=Ye(),Ve("<<"),Ve("/Type /Font"),Ve("/Subtype /Type0"),Ve("/ToUnicode "+Nn+" 0 R"),Ve("/BaseFont /"+md(Pe.fontName)),Ve("/Encoding /"+Pe.encoding),Ve("/DescendantFonts ["+wr+" 0 R]"),Ve(">>"),Ve("endobj"),Pe.isAlreadyPutted=!0}})(he)}]),z.events.push(["putFont",function(he){(function(Ke){var Pe=Ke.font,Ve=Ke.out,Ye=Ke.newObject,dt=Ke.putStream;if(Pe.metadata instanceof y.API.TTFFont&&Pe.encoding==="WinAnsiEncoding"){for(var Pt=Pe.metadata.rawData,Jt="",ut=0;ut<Pt.length;ut++)Jt+=String.fromCharCode(Pt[ut]);var In=Ye();dt({data:Jt,addLength1:!0,objectId:In}),Ve("endobj");var Cn=Ye();dt({data:re(Pe.metadata.toUnicode),addLength1:!0,objectId:Cn}),Ve("endobj");var Nn=Ye();Ve("<<"),Ve("/Descent "+Pe.metadata.decender),Ve("/CapHeight "+Pe.metadata.capHeight),Ve("/StemV "+Pe.metadata.stemV),Ve("/Type /FontDescriptor"),Ve("/FontFile2 "+In+" 0 R"),Ve("/Flags 96"),Ve("/FontBBox "+y.API.PDFObject.convert(Pe.metadata.bbox)),Ve("/FontName /"+md(Pe.fontName)),Ve("/ItalicAngle "+Pe.metadata.italicAngle),Ve("/Ascent "+Pe.metadata.ascender),Ve(">>"),Ve("endobj"),Pe.objectNumber=Ye();for(var cn=0;cn<Pe.metadata.hmtx.widths.length;cn++)Pe.metadata.hmtx.widths[cn]=parseInt(Pe.metadata.hmtx.widths[cn]*(1e3/Pe.metadata.head.unitsPerEm));Ve("<</Subtype/TrueType/Type/Font/ToUnicode "+Cn+" 0 R/BaseFont/"+md(Pe.fontName)+"/FontDescriptor "+Nn+" 0 R/Encoding/"+Pe.encoding+" /FirstChar 29 /LastChar 255 /Widths "+y.API.PDFObject.convert(Pe.metadata.hmtx.widths)+">>"),Ve("endobj"),Pe.isAlreadyPutted=!0}})(he)}]);var Ae=function(he){var Ke,Pe=he.text||"",Ve=he.x,Ye=he.y,dt=he.options||{},Pt=he.mutex||{},Jt=Pt.pdfEscape,ut=Pt.activeFontKey,In=Pt.fonts,Cn=ut,Nn="",cn=0,wr="",lr=In[Cn].encoding;if(In[Cn].encoding!=="Identity-H")return{text:Pe,x:Ve,y:Ye,options:dt,mutex:Pt};for(wr=Pe,Cn=ut,Array.isArray(Pe)&&(wr=Pe[0]),cn=0;cn<wr.length;cn+=1)In[Cn].metadata.hasOwnProperty("cmap")&&(Ke=In[Cn].metadata.cmap.unicode.codeMap[wr[cn].charCodeAt(0)]),Ke||wr[cn].charCodeAt(0)<256&&In[Cn].metadata.hasOwnProperty("Unicode")?Nn+=wr[cn]:Nn+="";var Zn="";return parseInt(Cn.slice(1))<14||lr==="WinAnsiEncoding"?Zn=Jt(Nn,Cn).split("").map(function(Ai){return Ai.charCodeAt(0).toString(16)}).join(""):lr==="Identity-H"&&(Zn=E(Nn,In[Cn])),Pt.isHex=!0,{text:Zn,x:Ve,y:Ye,options:dt,mutex:Pt}};z.events.push(["postProcessText",function(he){var Ke=he.text||"",Pe=[],Ve={text:Ke,x:he.x,y:he.y,options:he.options,mutex:he.mutex};if(Array.isArray(Ke)){var Ye=0;for(Ye=0;Ye<Ke.length;Ye+=1)Array.isArray(Ke[Ye])&&Ke[Ye].length===3?Pe.push([Ae(Object.assign({},Ve,{text:Ke[Ye][0]})).text,Ke[Ye][1],Ke[Ye][2]]):Pe.push(Ae(Object.assign({},Ve,{text:Ke[Ye]})).text);he.text=Pe}else he.text=Ae(Object.assign({},Ve,{text:Ke})).text}])}(Da),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}}(Da.API),function(y){y.__bidiEngine__=y.prototype.__bidiEngine__=function(re){var Ae,he,Ke,Pe,Ve,Ye,dt,Pt=z,Jt=[[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]],ut=[[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]],In={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},Cn={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Nn=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],cn=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)$/),wr=!1,lr=0;this.__bidiEngine__={};var Zn=function(un){var On=un.charCodeAt(),mr=On>>8,dr=Cn[mr];return dr!==void 0?Pt[256*dr+(255&On)]:mr===252||mr===253?"AL":cn.test(mr)?"L":mr===8?"R":"N"},Ai=function(un){for(var On,mr=0;mr<un.length;mr++){if((On=Zn(un.charAt(mr)))==="L")return!1;if(On==="R")return!0}return!1},Qi=function(un,On,mr,dr){var hi,Fi,Oi,ai,Pi=On[dr];switch(Pi){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":wr=!1;break;case"N":case"AN":break;case"EN":wr&&(Pi="AN");break;case"AL":wr=!0,Pi="R";break;case"WS":case"BN":Pi="N";break;case"CS":dr<1||dr+1>=On.length||(hi=mr[dr-1])!=="EN"&&hi!=="AN"||(Fi=On[dr+1])!=="EN"&&Fi!=="AN"?Pi="N":wr&&(Fi="AN"),Pi=Fi===hi?Fi:"N";break;case"ES":Pi=(hi=dr>0?mr[dr-1]:"B")==="EN"&&dr+1<On.length&&On[dr+1]==="EN"?"EN":"N";break;case"ET":if(dr>0&&mr[dr-1]==="EN"){Pi="EN";break}if(wr){Pi="N";break}for(Oi=dr+1,ai=On.length;Oi<ai&&On[Oi]==="ET";)Oi++;Pi=Oi<ai&&On[Oi]==="EN"?"EN":"N";break;case"NSM":if(Ke&&!Pe){for(ai=On.length,Oi=dr+1;Oi<ai&&On[Oi]==="NSM";)Oi++;if(Oi<ai){var Po=un[dr],io=Po>=1425&&Po<=2303||Po===64286;if(hi=On[Oi],io&&(hi==="R"||hi==="AL")){Pi="R";break}}}Pi=dr<1||(hi=On[dr-1])==="B"?"N":mr[dr-1];break;case"B":wr=!1,Ae=!0,Pi=lr;break;case"S":he=!0,Pi="N"}return Pi},Ii=function(un,On,mr){var dr=un.split("");return mr&&Nr(dr,mr,{hiLevel:lr}),dr.reverse(),On&&On.reverse(),dr.join("")},Nr=function(un,On,mr){var dr,hi,Fi,Oi,ai,Pi=-1,Po=un.length,io=0,nn=[],Kn=lr?ut:Jt,rr=[];for(wr=!1,Ae=!1,he=!1,hi=0;hi<Po;hi++)rr[hi]=Zn(un[hi]);for(Fi=0;Fi<Po;Fi++){if(ai=io,nn[Fi]=Qi(un,rr,nn,Fi),dr=240&(io=Kn[ai][In[nn[Fi]]]),io&=15,On[Fi]=Oi=Kn[io][5],dr>0)if(dr===16){for(hi=Pi;hi<Fi;hi++)On[hi]=1;Pi=-1}else Pi=-1;if(Kn[io][6])Pi===-1&&(Pi=Fi);else if(Pi>-1){for(hi=Pi;hi<Fi;hi++)On[hi]=Oi;Pi=-1}rr[Fi]==="B"&&(On[Fi]=0),mr.hiLevel|=Oi}he&&function(Br,Rr,si){for(var Di=0;Di<si;Di++)if(Br[Di]==="S"){Rr[Di]=lr;for(var xi=Di-1;xi>=0&&Br[xi]==="WS";xi--)Rr[xi]=lr}}(rr,On,Po)},Gn=function(un,On,mr,dr,hi){if(!(hi.hiLevel<un)){if(un===1&&lr===1&&!Ae)return On.reverse(),void(mr&&mr.reverse());for(var Fi,Oi,ai,Pi,Po=On.length,io=0;io<Po;){if(dr[io]>=un){for(ai=io+1;ai<Po&&dr[ai]>=un;)ai++;for(Pi=io,Oi=ai-1;Pi<Oi;Pi++,Oi--)Fi=On[Pi],On[Pi]=On[Oi],On[Oi]=Fi,mr&&(Fi=mr[Pi],mr[Pi]=mr[Oi],mr[Oi]=Fi);io=ai}io++}}},Gr=function(un,On,mr){var dr=un.split(""),hi={hiLevel:lr};return mr||(mr=[]),Nr(dr,mr,hi),function(Fi,Oi,ai){if(ai.hiLevel!==0&&dt)for(var Pi,Po=0;Po<Fi.length;Po++)Oi[Po]===1&&(Pi=Nn.indexOf(Fi[Po]))>=0&&(Fi[Po]=Nn[Pi+1])}(dr,mr,hi),Gn(2,dr,On,mr,hi),Gn(1,dr,On,mr,hi),dr.join("")};return this.__bidiEngine__.doBidiReorder=function(un,On,mr){if(function(hi,Fi){if(Fi)for(var Oi=0;Oi<hi.length;Oi++)Fi[Oi]=Oi;Pe===void 0&&(Pe=Ai(hi)),Ye===void 0&&(Ye=Ai(hi))}(un,On),Ke||!Ve||Ye)if(Ke&&Ve&&Pe^Ye)lr=Pe?1:0,un=Ii(un,On,mr);else if(!Ke&&Ve&&Ye)lr=Pe?1:0,un=Gr(un,On,mr),un=Ii(un,On);else if(!Ke||Pe||Ve||Ye){if(Ke&&!Ve&&Pe^Ye)un=Ii(un,On),Pe?(lr=0,un=Gr(un,On,mr)):(lr=1,un=Gr(un,On,mr),un=Ii(un,On));else if(Ke&&Pe&&!Ve&&Ye)lr=1,un=Gr(un,On,mr),un=Ii(un,On);else if(!Ke&&!Ve&&Pe^Ye){var dr=dt;Pe?(lr=1,un=Gr(un,On,mr),lr=0,dt=!1,un=Gr(un,On,mr),dt=dr):(lr=0,un=Gr(un,On,mr),un=Ii(un,On),lr=1,dt=!1,un=Gr(un,On,mr),dt=dr,un=Ii(un,On))}}else lr=0,un=Gr(un,On,mr);else lr=Pe?1:0,un=Gr(un,On,mr);return un},this.__bidiEngine__.setOptions=function(un){un&&(Ke=un.isInputVisual,Ve=un.isOutputVisual,Pe=un.isInputRtl,Ye=un.isOutputRtl,dt=un.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 Ae=re.text;re.x,re.y;var he=re.options||{};re.mutex,he.lang;var Ke=[];if(he.isInputVisual=typeof he.isInputVisual!="boolean"||he.isInputVisual,E.setOptions(he),Object.prototype.toString.call(Ae)==="[object Array]"){var Pe=0;for(Ke=[],Pe=0;Pe<Ae.length;Pe+=1)Object.prototype.toString.call(Ae[Pe])==="[object Array]"?Ke.push([E.doBidiReorder(Ae[Pe][0]),Ae[Pe][1],Ae[Pe][2]]):Ke.push([E.doBidiReorder(Ae[Pe])]);re.text=Ke}else re.text=E.doBidiReorder(Ae);E.setOptions({isInputVisual:!0})}])}(Da),Da.API.TTFFont=function(){function y(z){var E;if(this.rawData=z,E=this.contents=new jh(z),this.contents.pos=4,E.readString(4)==="ttcf")throw new Error("TTCF not supported.");E.pos=0,this.parse(),this.subset=new Yv(this),this.registerTTF()}return y.open=function(z){return new y(z)},y.prototype.parse=function(){return this.directory=new Mv(this.contents),this.head=new Rv(this),this.name=new Kv(this),this.cmap=new z0(this),this.toUnicode={},this.hhea=new jv(this),this.maxp=new Zv(this),this.hmtx=new Wv(this),this.post=new Hv(this),this.os2=new Qv(this),this.loca=new Xv(this),this.glyf=new $v(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,Ae,he;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var Ke,Pe,Ve,Ye;for(Ye=[],Ke=0,Pe=(Ve=this.bbox).length;Ke<Pe;Ke++)z=Ve[Ke],Ye.push(Math.round(z*this.scaleFactor));return Ye}.call(this),this.stemV=0,this.post.exists?(re=255&(Ae=this.post.italic_angle),32768&(E=Ae>>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 Ae,he,Ke,Pe;for(Ke=0,he=0,Pe=(z=""+z).length;0<=Pe?he<Pe:he>Pe;he=0<=Pe?++he:--he)Ae=z.charCodeAt(he),Ke+=this.widthOfGlyph(this.characterToGlyph(Ae))+re*(1e3/E)||0;return Ke*(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 df,jh=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,Ae;for(Ae=[],E=0,re=z.length;0<=re?E<re:E>re;E=0<=re?++E:--E)Ae.push(this.writeByte(z.charCodeAt(E)));return Ae},y.prototype.readShort=function(){return this.readInt16()},y.prototype.writeShort=function(z){return this.writeInt16(z)},y.prototype.readLongLong=function(){var z,E,re,Ae,he,Ke,Pe,Ve;return z=this.readByte(),E=this.readByte(),re=this.readByte(),Ae=this.readByte(),he=this.readByte(),Ke=this.readByte(),Pe=this.readByte(),Ve=this.readByte(),128&z?-1*(72057594037927940*(255^z)+281474976710656*(255^E)+1099511627776*(255^re)+4294967296*(255^Ae)+16777216*(255^he)+65536*(255^Ke)+256*(255^Pe)+(255^Ve)+1):72057594037927940*z+281474976710656*E+1099511627776*re+4294967296*Ae+16777216*he+65536*Ke+256*Pe+Ve},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,Ae,he;for(he=[],re=0,Ae=z.length;re<Ae;re++)E=z[re],he.push(this.writeByte(E));return he},y}(),Mv=function(){var y;function z(E){var re,Ae,he;for(this.scalarType=E.readInt(),this.tableCount=E.readShort(),this.searchRange=E.readShort(),this.entrySelector=E.readShort(),this.rangeShift=E.readShort(),this.tables={},Ae=0,he=this.tableCount;0<=he?Ae<he:Ae>he;Ae=0<=he?++Ae:--Ae)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,Ae,he,Ke,Pe,Ve,Ye,dt,Pt,Jt,ut,In,Cn;for(Cn in ut=Object.keys(E).length,Ve=Math.log(2),Pt=16*Math.floor(Math.log(ut)/Ve),Ke=Math.floor(Pt/Ve),dt=16*ut-Pt,(Ae=new jh).writeInt(this.scalarType),Ae.writeShort(ut),Ae.writeShort(Pt),Ae.writeShort(Ke),Ae.writeShort(dt),he=16*ut,Ye=Ae.pos+he,Pe=null,In=[],E)for(Jt=E[Cn],Ae.writeString(Cn),Ae.writeInt(y(Jt)),Ae.writeInt(Ye),Ae.writeInt(Jt.length),In=In.concat(Jt),Cn==="head"&&(Pe=Ye),Ye+=Jt.length;Ye%4;)In.push(0),Ye++;return Ae.write(In),re=2981146554-y(Ae.data),Ae.pos=Pe+8,Ae.writeUInt32(re),Ae.data},y=function(E){var re,Ae,he,Ke;for(E=K0.call(E);E.length%4;)E.push(0);for(he=new jh(E),Ae=0,re=0,Ke=E.length;re<Ke;re=re+=4)Ae+=he.readUInt32();return 4294967295&Ae},z}(),Uv={}.hasOwnProperty,Hf=function(y,z){for(var E in z)Uv.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};df=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 Rv=function(){function y(){return y.__super__.constructor.apply(this,arguments)}return Hf(y,df),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 jh).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,Ae,he,Ke,Pe,Ve,Ye,dt,Pt,Jt,ut,In,Cn,Nn,cn,wr,lr;switch(this.platformID=z.readUInt16(),this.encodingID=z.readShort(),this.offset=E+z.readInt(),Pt=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(Ve=0;Ve<256;++Ve)this.codeMap[Ve]=z.readByte();break;case 4:for(ut=z.readUInt16(),Jt=ut/2,z.pos+=6,he=function(){var Zn,Ai;for(Ai=[],Ve=Zn=0;0<=Jt?Zn<Jt:Zn>Jt;Ve=0<=Jt?++Zn:--Zn)Ai.push(z.readUInt16());return Ai}(),z.pos+=2,Cn=function(){var Zn,Ai;for(Ai=[],Ve=Zn=0;0<=Jt?Zn<Jt:Zn>Jt;Ve=0<=Jt?++Zn:--Zn)Ai.push(z.readUInt16());return Ai}(),Ye=function(){var Zn,Ai;for(Ai=[],Ve=Zn=0;0<=Jt?Zn<Jt:Zn>Jt;Ve=0<=Jt?++Zn:--Zn)Ai.push(z.readUInt16());return Ai}(),dt=function(){var Zn,Ai;for(Ai=[],Ve=Zn=0;0<=Jt?Zn<Jt:Zn>Jt;Ve=0<=Jt?++Zn:--Zn)Ai.push(z.readUInt16());return Ai}(),Ae=(this.length-z.pos+this.offset)/2,Pe=function(){var Zn,Ai;for(Ai=[],Ve=Zn=0;0<=Ae?Zn<Ae:Zn>Ae;Ve=0<=Ae?++Zn:--Zn)Ai.push(z.readUInt16());return Ai}(),Ve=cn=0,lr=he.length;cn<lr;Ve=++cn)for(Nn=he[Ve],re=wr=In=Cn[Ve];In<=Nn?wr<=Nn:wr>=Nn;re=In<=Nn?++wr:--wr)dt[Ve]===0?Ke=re+Ye[Ve]:(Ke=Pe[dt[Ve]/2+(re-In)-(Jt-Ve)]||0)!==0&&(Ke+=Ye[Ve]),this.codeMap[re]=65535&Ke}z.pos=Pt}return y.encode=function(z,E){var re,Ae,he,Ke,Pe,Ve,Ye,dt,Pt,Jt,ut,In,Cn,Nn,cn,wr,lr,Zn,Ai,Qi,Ii,Nr,Gn,Gr,un,On,mr,dr,hi,Fi,Oi,ai,Pi,Po,io,nn,Kn,rr,Br,Rr,si,Di,xi,Xi,wo,ua;switch(dr=new jh,Ke=Object.keys(z).sort(function(ca,Mi){return ca-Mi}),E){case"macroman":for(Cn=0,Nn=function(){var ca=[];for(In=0;In<256;++In)ca.push(0);return ca}(),wr={0:0},he={},hi=0,Pi=Ke.length;hi<Pi;hi++)wr[xi=z[Ae=Ke[hi]]]==null&&(wr[xi]=++Cn),he[Ae]={old:z[Ae],new:wr[z[Ae]]},Nn[Ae]=wr[z[Ae]];return dr.writeUInt16(1),dr.writeUInt16(0),dr.writeUInt32(12),dr.writeUInt16(0),dr.writeUInt16(262),dr.writeUInt16(0),dr.write(Nn),{charMap:he,subtable:dr.data,maxGlyphID:Cn+1};case"unicode":for(On=[],Pt=[],lr=0,wr={},re={},cn=Ye=null,Fi=0,Po=Ke.length;Fi<Po;Fi++)wr[Ai=z[Ae=Ke[Fi]]]==null&&(wr[Ai]=++lr),re[Ae]={old:Ai,new:wr[Ai]},Pe=wr[Ai]-Ae,cn!=null&&Pe===Ye||(cn&&Pt.push(cn),On.push(Ae),Ye=Pe),cn=Ae;for(cn&&Pt.push(cn),Pt.push(65535),On.push(65535),Gr=2*(Gn=On.length),Nr=2*Math.pow(Math.log(Gn)/Math.LN2,2),Jt=Math.log(Nr/2)/Math.LN2,Ii=2*Gn-Nr,Ve=[],Qi=[],ut=[],In=Oi=0,io=On.length;Oi<io;In=++Oi){if(un=On[In],dt=Pt[In],un===65535){Ve.push(0),Qi.push(0);break}if(un-(mr=re[un].new)>=32768)for(Ve.push(0),Qi.push(2*(ut.length+Gn-In)),Ae=ai=un;un<=dt?ai<=dt:ai>=dt;Ae=un<=dt?++ai:--ai)ut.push(re[Ae].new);else Ve.push(mr-un),Qi.push(0)}for(dr.writeUInt16(3),dr.writeUInt16(1),dr.writeUInt32(12),dr.writeUInt16(4),dr.writeUInt16(16+8*Gn+2*ut.length),dr.writeUInt16(0),dr.writeUInt16(Gr),dr.writeUInt16(Nr),dr.writeUInt16(Jt),dr.writeUInt16(Ii),si=0,nn=Pt.length;si<nn;si++)Ae=Pt[si],dr.writeUInt16(Ae);for(dr.writeUInt16(0),Di=0,Kn=On.length;Di<Kn;Di++)Ae=On[Di],dr.writeUInt16(Ae);for(Xi=0,rr=Ve.length;Xi<rr;Xi++)Pe=Ve[Xi],dr.writeUInt16(Pe);for(wo=0,Br=Qi.length;wo<Br;wo++)Zn=Qi[wo],dr.writeUInt16(Zn);for(ua=0,Rr=ut.length;ua<Rr;ua++)Cn=ut[ua],dr.writeUInt16(Cn);return{charMap:re,subtable:dr.data,maxGlyphID:lr+1}}},y}(),z0=function(){function y(){return y.__super__.constructor.apply(this,arguments)}return Hf(y,df),y.prototype.tag="cmap",y.prototype.parse=function(z){var E,re,Ae;for(z.pos=this.offset,this.version=z.readUInt16(),Ae=z.readUInt16(),this.tables=[],this.unicode=null,re=0;0<=Ae?re<Ae:re>Ae;re=0<=Ae?++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,Ae;return E==null&&(E="macroman"),re=H0.encode(z,E),(Ae=new jh).writeUInt16(0),Ae.writeUInt16(1),re.table=Ae.data.concat(re.subtable),re},y}(),jv=function(){function y(){return y.__super__.constructor.apply(this,arguments)}return Hf(y,df),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}(),Qv=function(){function y(){return y.__super__.constructor.apply(this,arguments)}return Hf(y,df),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,df),y.prototype.tag="post",y.prototype.parse=function(z){var E,re,Ae;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=[],Ae=[];z.pos<this.offset+this.length;)E=z.readByte(),Ae.push(this.names.push(z.readString(E)));return Ae;case 151552:return re=z.readUInt16(),this.offsets=z.read(re);case 262144:return this.map=function(){var Ke,Pe,Ve;for(Ve=[],he=Ke=0,Pe=this.file.maxp.numGlyphs;0<=Pe?Ke<Pe:Ke>Pe;he=0<=Pe?++Ke:--Ke)Ve.push(z.readUInt32());return Ve}.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,df),y.prototype.tag="name",y.prototype.parse=function(z){var E,re,Ae,he,Ke,Pe,Ve,Ye,dt,Pt,Jt;for(z.pos=this.offset,z.readShort(),E=z.readShort(),Pe=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+Pe+z.readShort()});for(Ve={},he=dt=0,Pt=re.length;dt<Pt;he=++dt)Ae=re[he],z.pos=Ae.offset,Ye=z.readString(Ae.length),Ke=new zv(Ye,Ae),Ve[Jt=Ae.nameID]==null&&(Ve[Jt]=[]),Ve[Ae.nameID].push(Ke);this.strings=Ve,this.copyright=Ve[0],this.fontFamily=Ve[1],this.fontSubfamily=Ve[2],this.uniqueSubfamily=Ve[3],this.fontName=Ve[4],this.version=Ve[5];try{this.postscriptName=Ve[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(ut){this.postscriptName=Ve[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=Ve[7],this.manufacturer=Ve[8],this.designer=Ve[9],this.description=Ve[10],this.vendorUrl=Ve[11],this.designerUrl=Ve[12],this.license=Ve[13],this.licenseUrl=Ve[14],this.preferredFamily=Ve[15],this.preferredSubfamily=Ve[17],this.compatibleFull=Ve[18],this.sampleText=Ve[19]},y}(),Zv=function(){function y(){return y.__super__.constructor.apply(this,arguments)}return Hf(y,df),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,df),y.prototype.tag="hmtx",y.prototype.parse=function(z){var E,re,Ae,he,Ke,Pe,Ve;for(z.pos=this.offset,this.metrics=[],E=0,Pe=this.file.hhea.numberOfMetrics;0<=Pe?E<Pe:E>Pe;E=0<=Pe?++E:--E)this.metrics.push({advance:z.readUInt16(),lsb:z.readInt16()});for(Ae=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Ye,dt;for(dt=[],E=Ye=0;0<=Ae?Ye<Ae:Ye>Ae;E=0<=Ae?++Ye:--Ye)dt.push(z.readInt16());return dt}(),this.widths=function(){var Ye,dt,Pt,Jt;for(Jt=[],Ye=0,dt=(Pt=this.metrics).length;Ye<dt;Ye++)he=Pt[Ye],Jt.push(he.advance);return Jt}.call(this),re=this.widths[this.widths.length-1],Ve=[],E=Ke=0;0<=Ae?Ke<Ae:Ke>Ae;E=0<=Ae?++Ke:--Ke)Ve.push(this.widths.push(re));return Ve},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,$v=function(){function y(){return y.__super__.constructor.apply(this,arguments)}return Hf(y,df),y.prototype.tag="glyf",y.prototype.parse=function(){return this.cache={}},y.prototype.glyphFor=function(z){var E,re,Ae,he,Ke,Pe,Ve,Ye,dt,Pt;return z in this.cache?this.cache[z]:(he=this.file.loca,E=this.file.contents,re=he.indexOf(z),(Ae=he.lengthOf(z))===0?this.cache[z]=null:(E.pos=this.offset+re,Ke=(Pe=new jh(E.read(Ae))).readShort(),Ye=Pe.readShort(),Pt=Pe.readShort(),Ve=Pe.readShort(),dt=Pe.readShort(),this.cache[z]=Ke===-1?new Vv(Pe,Ye,Pt,Ve,dt):new Gv(Pe,Ke,Ye,Pt,Ve,dt),this.cache[z]))},y.prototype.encode=function(z,E,re){var Ae,he,Ke,Pe,Ve;for(Ke=[],he=[],Pe=0,Ve=E.length;Pe<Ve;Pe++)Ae=z[E[Pe]],he.push(Ke.length),Ae&&(Ke=Ke.concat(Ae.encode(re)));return he.push(Ke.length),{table:Ke,offsets:he}},y}(),Gv=function(){function y(z,E,re,Ae,he,Ke){this.raw=z,this.numberOfContours=E,this.xMin=re,this.yMin=Ae,this.xMax=he,this.yMax=Ke,this.compound=!1}return y.prototype.encode=function(){return this.raw.data},y}(),Vv=function(){function y(z,E,re,Ae,he){var Ke,Pe;for(this.raw=z,this.xMin=E,this.yMin=re,this.xMax=Ae,this.yMax=he,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],Ke=this.raw;Pe=Ke.readShort(),this.glyphOffsets.push(Ke.pos),this.glyphIDs.push(Ke.readUInt16()),32&Pe;)Ke.pos+=1&Pe?4:2,128&Pe?Ke.pos+=8:64&Pe?Ke.pos+=4:8&Pe&&(Ke.pos+=2)}return y.prototype.encode=function(){var z,E,re;for(E=new jh(K0.call(this.raw.data)),z=0,re=this.glyphIDs.length;z<re;++z)E.pos=this.glyphOffsets[z];return E.data},y}(),Xv=function(){function y(){return y.__super__.constructor.apply(this,arguments)}return Hf(y,df),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 Ae,he;for(he=[],re=0,Ae=this.length;re<Ae;re+=2)he.push(2*z.readUInt16());return he}.call(this):function(){var Ae,he;for(he=[],re=0,Ae=this.length;re<Ae;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),Ae=0,he=0,Ke=0;Ke<re.length;++Ke)if(re[Ke]=Ae,he<E.length&&E[he]==Ke){++he,re[Ke]=Ae;var Pe=this.offsets[Ke],Ve=this.offsets[Ke+1]-Pe;Ve>0&&(Ae+=Ve)}for(var Ye=new Array(4*re.length),dt=0;dt<re.length;++dt)Ye[4*dt+3]=255&re[dt],Ye[4*dt+2]=(65280&re[dt])>>8,Ye[4*dt+1]=(16711680&re[dt])>>16,Ye[4*dt]=(4278190080&re[dt])>>24;return Ye},y}(),Yv=function(){function y(z){this.font=z,this.subset={},this.unicodes={},this.next=33}return y.prototype.generateCmap=function(){var z,E,re,Ae,he;for(E in Ae=this.font.cmap.tables[0].codeMap,z={},he=this.subset)re=he[E],z[E]=Ae[re];return z},y.prototype.glyphsFor=function(z){var E,re,Ae,he,Ke,Pe,Ve;for(Ae={},Ke=0,Pe=z.length;Ke<Pe;Ke++)Ae[he=z[Ke]]=this.font.glyf.glyphFor(he);for(he in E=[],Ae)(re=Ae[he])!=null&&re.compound&&E.push.apply(E,re.glyphIDs);if(E.length>0)for(he in Ve=this.glyphsFor(E))re=Ve[he],Ae[he]=re;return Ae},y.prototype.encode=function(z,E){var re,Ae,he,Ke,Pe,Ve,Ye,dt,Pt,Jt,ut,In,Cn,Nn,cn;for(Ae in re=z0.encode(this.generateCmap(),"unicode"),Ke=this.glyphsFor(z),ut={0:0},cn=re.charMap)ut[(Ve=cn[Ae]).old]=Ve.new;for(In in Jt=re.maxGlyphID,Ke)In in ut||(ut[In]=Jt++);return dt=function(wr){var lr,Zn;for(lr in Zn={},wr)Zn[wr[lr]]=lr;return Zn}(ut),Pt=Object.keys(dt).sort(function(wr,lr){return wr-lr}),Cn=function(){var wr,lr,Zn;for(Zn=[],wr=0,lr=Pt.length;wr<lr;wr++)Pe=Pt[wr],Zn.push(dt[Pe]);return Zn}(),he=this.font.glyf.encode(Ke,Cn,ut),Ye=this.font.loca.encode(he.offsets,Cn),Nn={cmap:this.font.cmap.raw(),glyf:he.table,loca:Ye,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&&(Nn["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Nn)},y}();Da.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,Ae,he,Ke;if(Array.isArray(E))return"["+function(){var Pe,Ve,Ye;for(Ye=[],Pe=0,Ve=E.length;Pe<Ve;Pe++)re=E[Pe],Ye.push(z.convert(re));return Ye}().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(Ae in he=["<<"],E)Ke=E[Ae],he.push("/"+Ae+" "+z.convert(Ke));return he.push(">>"),he.join(`
`)}return""+E},z}()},86129:function(Vn,Tt,ae){var x=ae(19208).lW,ct=ae(97671);(function(Le){Vn.exports=Le()})(function(){return function Le(Je,He,Se){function Ue(oe,Oe){if(!He[oe]){if(!Je[oe]){var ve=void 0;if(!Oe&&ve)return require(oe,!0);if(fe)return fe(oe,!0);var Me=new Error("Cannot find module '"+oe+"'");throw Me.code="MODULE_NOT_FOUND",Me}var Ie=He[oe]={exports:{}};Je[oe][0].call(Ie.exports,function(_e){var we=Je[oe][1][_e];return Ue(we||_e)},Ie,Ie.exports,Le,Je,He,Se)}return He[oe].exports}for(var fe=void 0,Ce=0;Ce<Se.length;Ce++)Ue(Se[Ce]);return Ue}({1:[function(Le,Je,He){"use strict";var Se=Le("./utils"),Ue=Le("./support"),fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";He.encode=function(Ce){for(var oe,Oe,ve,Me,Ie,_e,we,xe=[],Ee=0,ke=Ce.length,ze=ke,Qe=Se.getTypeOf(Ce)!=="string";Ee<Ce.length;)ze=ke-Ee,ve=Qe?(oe=Ce[Ee++],Oe=Ee<ke?Ce[Ee++]:0,Ee<ke?Ce[Ee++]:0):(oe=Ce.charCodeAt(Ee++),Oe=Ee<ke?Ce.charCodeAt(Ee++):0,Ee<ke?Ce.charCodeAt(Ee++):0),Me=oe>>2,Ie=(3&oe)<<4|Oe>>4,_e=1<ze?(15&Oe)<<2|ve>>6:64,we=2<ze?63&ve:64,xe.push(fe.charAt(Me)+fe.charAt(Ie)+fe.charAt(_e)+fe.charAt(we));return xe.join("")},He.decode=function(Ce){var oe,Oe,ve,Me,Ie,_e,we=0,xe=0,Ee="data:";if(Ce.substr(0,Ee.length)===Ee)throw new Error("Invalid base64 input, it looks like a data url.");var ke,ze=3*(Ce=Ce.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(Ce.charAt(Ce.length-1)===fe.charAt(64)&&ze--,Ce.charAt(Ce.length-2)===fe.charAt(64)&&ze--,ze%1!=0)throw new Error("Invalid base64 input, bad content length.");for(ke=Ue.uint8array?new Uint8Array(0|ze):new Array(0|ze);we<Ce.length;)oe=fe.indexOf(Ce.charAt(we++))<<2|(Me=fe.indexOf(Ce.charAt(we++)))>>4,Oe=(15&Me)<<4|(Ie=fe.indexOf(Ce.charAt(we++)))>>2,ve=(3&Ie)<<6|(_e=fe.indexOf(Ce.charAt(we++))),ke[xe++]=oe,Ie!==64&&(ke[xe++]=Oe),_e!==64&&(ke[xe++]=ve);return ke}},{"./support":30,"./utils":32}],2:[function(Le,Je,He){"use strict";var Se=Le("./external"),Ue=Le("./stream/DataWorker"),fe=Le("./stream/Crc32Probe"),Ce=Le("./stream/DataLengthProbe");function oe(Oe,ve,Me,Ie,_e){this.compressedSize=Oe,this.uncompressedSize=ve,this.crc32=Me,this.compression=Ie,this.compressedContent=_e}oe.prototype={getContentWorker:function(){var Oe=new Ue(Se.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new Ce("data_length")),ve=this;return Oe.on("end",function(){if(this.streamInfo.data_length!==ve.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),Oe},getCompressedWorker:function(){return new Ue(Se.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},oe.createWorkerFrom=function(Oe,ve,Me){return Oe.pipe(new fe).pipe(new Ce("uncompressedSize")).pipe(ve.compressWorker(Me)).pipe(new Ce("compressedSize")).withStreamInfo("compression",ve)},Je.exports=oe},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(Le,Je,He){"use strict";var Se=Le("./stream/GenericWorker");He.STORE={magic:"\0\0",compressWorker:function(){return new Se("STORE compression")},uncompressWorker:function(){return new Se("STORE decompression")}},He.DEFLATE=Le("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(Le,Je,He){"use strict";var Se=Le("./utils"),Ue=function(){for(var fe,Ce=[],oe=0;oe<256;oe++){fe=oe;for(var Oe=0;Oe<8;Oe++)fe=1&fe?3988292384^fe>>>1:fe>>>1;Ce[oe]=fe}return Ce}();Je.exports=function(fe,Ce){return fe!==void 0&&fe.length?Se.getTypeOf(fe)!=="string"?function(oe,Oe,ve,Me){var Ie=Ue,_e=Me+ve;oe^=-1;for(var we=Me;we<_e;we++)oe=oe>>>8^Ie[255&(oe^Oe[we])];return-1^oe}(0|Ce,fe,fe.length,0):function(oe,Oe,ve,Me){var Ie=Ue,_e=Me+ve;oe^=-1;for(var we=Me;we<_e;we++)oe=oe>>>8^Ie[255&(oe^Oe.charCodeAt(we))];return-1^oe}(0|Ce,fe,fe.length,0):0}},{"./utils":32}],5:[function(Le,Je,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,Je,He){"use strict";var Se=null;Se=typeof Promise!="undefined"?Promise:Le("lie"),Je.exports={Promise:Se}},{lie:37}],7:[function(Le,Je,He){"use strict";var Se=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",Ue=Le("pako"),fe=Le("./utils"),Ce=Le("./stream/GenericWorker"),oe=Se?"uint8array":"array";function Oe(ve,Me){Ce.call(this,"FlateWorker/"+ve),this._pako=null,this._pakoAction=ve,this._pakoOptions=Me,this.meta={}}He.magic="\b\0",fe.inherits(Oe,Ce),Oe.prototype.processChunk=function(ve){this.meta=ve.meta,this._pako===null&&this._createPako(),this._pako.push(fe.transformTo(oe,ve.data),!1)},Oe.prototype.flush=function(){Ce.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},Oe.prototype.cleanUp=function(){Ce.prototype.cleanUp.call(this),this._pako=null},Oe.prototype._createPako=function(){this._pako=new Ue[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var ve=this;this._pako.onData=function(Me){ve.push({data:Me,meta:ve.meta})}},He.compressWorker=function(ve){return new Oe("Deflate",ve)},He.uncompressWorker=function(){return new Oe("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(Le,Je,He){"use strict";function Se(Ie,_e){var we,xe="";for(we=0;we<_e;we++)xe+=String.fromCharCode(255&Ie),Ie>>>=8;return xe}function Ue(Ie,_e,we,xe,Ee,ke){var ze,Qe,Re=Ie.file,et=Ie.compression,Ge=ke!==oe.utf8encode,lt=fe.transformTo("string",ke(Re.name)),it=fe.transformTo("string",oe.utf8encode(Re.name)),ft=Re.comment,bt=fe.transformTo("string",ke(ft)),je=fe.transformTo("string",oe.utf8encode(ft)),ht=it.length!==Re.name.length,Ne=je.length!==ft.length,We="",Ut="",ot="",yt=Re.dir,Ft=Re.date,Ze={crc32:0,compressedSize:0,uncompressedSize:0};_e&&!we||(Ze.crc32=Ie.crc32,Ze.compressedSize=Ie.compressedSize,Ze.uncompressedSize=Ie.uncompressedSize);var Te=0;_e&&(Te|=8),Ge||!ht&&!Ne||(Te|=2048);var At=0,Zt=0;yt&&(At|=16),Ee==="UNIX"?(Zt=798,At|=function(rt,Nt){var Qt=rt;return rt||(Qt=Nt?16893:33204),(65535&Qt)<<16}(Re.unixPermissions,yt)):(Zt=20,At|=function(rt){return 63&(rt||0)}(Re.dosPermissions)),ze=Ft.getUTCHours(),ze<<=6,ze|=Ft.getUTCMinutes(),ze<<=5,ze|=Ft.getUTCSeconds()/2,Qe=Ft.getUTCFullYear()-1980,Qe<<=4,Qe|=Ft.getUTCMonth()+1,Qe<<=5,Qe|=Ft.getUTCDate(),ht&&(Ut=Se(1,1)+Se(Oe(lt),4)+it,We+="up"+Se(Ut.length,2)+Ut),Ne&&(ot=Se(1,1)+Se(Oe(bt),4)+je,We+="uc"+Se(ot.length,2)+ot);var Kt="";return Kt+=`
\0`,Kt+=Se(Te,2),Kt+=et.magic,Kt+=Se(ze,2),Kt+=Se(Qe,2),Kt+=Se(Ze.crc32,4),Kt+=Se(Ze.compressedSize,4),Kt+=Se(Ze.uncompressedSize,4),Kt+=Se(lt.length,2),Kt+=Se(We.length,2),{fileRecord:ve.LOCAL_FILE_HEADER+Kt+lt+We,dirRecord:ve.CENTRAL_FILE_HEADER+Se(Zt,2)+Kt+Se(bt.length,2)+"\0\0\0\0"+Se(At,4)+Se(xe,4)+lt+We+bt}}var fe=Le("../utils"),Ce=Le("../stream/GenericWorker"),oe=Le("../utf8"),Oe=Le("../crc32"),ve=Le("../signature");function Me(Ie,_e,we,xe){Ce.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=_e,this.zipPlatform=we,this.encodeFileName=xe,this.streamFiles=Ie,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}fe.inherits(Me,Ce),Me.prototype.push=function(Ie){var _e=Ie.meta.percent||0,we=this.entriesCount,xe=this._sources.length;this.accumulate?this.contentBuffer.push(Ie):(this.bytesWritten+=Ie.data.length,Ce.prototype.push.call(this,{data:Ie.data,meta:{currentFile:this.currentFile,percent:we?(_e+100*(we-xe-1))/we:100}}))},Me.prototype.openedSource=function(Ie){this.currentSourceOffset=this.bytesWritten,this.currentFile=Ie.file.name;var _e=this.streamFiles&&!Ie.file.dir;if(_e){var we=Ue(Ie,_e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:we.fileRecord,meta:{percent:0}})}else this.accumulate=!0},Me.prototype.closedSource=function(Ie){this.accumulate=!1;var _e=this.streamFiles&&!Ie.file.dir,we=Ue(Ie,_e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(we.dirRecord),_e)this.push({data:function(xe){return ve.DATA_DESCRIPTOR+Se(xe.crc32,4)+Se(xe.compressedSize,4)+Se(xe.uncompressedSize,4)}(Ie),meta:{percent:100}});else for(this.push({data:we.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},Me.prototype.flush=function(){for(var Ie=this.bytesWritten,_e=0;_e<this.dirRecords.length;_e++)this.push({data:this.dirRecords[_e],meta:{percent:100}});var we=this.bytesWritten-Ie,xe=function(Ee,ke,ze,Qe,Re){var et=fe.transformTo("string",Re(Qe));return ve.CENTRAL_DIRECTORY_END+"\0\0\0\0"+Se(Ee,2)+Se(Ee,2)+Se(ke,4)+Se(ze,4)+Se(et.length,2)+et}(this.dirRecords.length,we,Ie,this.zipComment,this.encodeFileName);this.push({data:xe,meta:{percent:100}})},Me.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},Me.prototype.registerPrevious=function(Ie){this._sources.push(Ie);var _e=this;return Ie.on("data",function(we){_e.processChunk(we)}),Ie.on("end",function(){_e.closedSource(_e.previous.streamInfo),_e._sources.length?_e.prepareNextSource():_e.end()}),Ie.on("error",function(we){_e.error(we)}),this},Me.prototype.resume=function(){return!!Ce.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},Me.prototype.error=function(Ie){var _e=this._sources;if(!Ce.prototype.error.call(this,Ie))return!1;for(var we=0;we<_e.length;we++)try{_e[we].error(Ie)}catch(xe){}return!0},Me.prototype.lock=function(){Ce.prototype.lock.call(this);for(var Ie=this._sources,_e=0;_e<Ie.length;_e++)Ie[_e].lock()},Je.exports=Me},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(Le,Je,He){"use strict";var Se=Le("../compressions"),Ue=Le("./ZipFileWorker");He.generateWorker=function(fe,Ce,oe){var Oe=new Ue(Ce.streamFiles,oe,Ce.platform,Ce.encodeFileName),ve=0;try{fe.forEach(function(Me,Ie){ve++;var _e=function(ke,ze){var Qe=ke||ze,Re=Se[Qe];if(!Re)throw new Error(Qe+" is not a valid compression method !");return Re}(Ie.options.compression,Ce.compression),we=Ie.options.compressionOptions||Ce.compressionOptions||{},xe=Ie.dir,Ee=Ie.date;Ie._compressWorker(_e,we).withStreamInfo("file",{name:Me,dir:xe,date:Ee,comment:Ie.comment||"",unixPermissions:Ie.unixPermissions,dosPermissions:Ie.dosPermissions}).pipe(Oe)}),Oe.entriesCount=ve}catch(Me){Oe.error(Me)}return Oe}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(Le,Je,He){"use strict";function Se(){if(!(this instanceof Se))return new Se;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 Ue=new Se;for(var fe in this)typeof this[fe]!="function"&&(Ue[fe]=this[fe]);return Ue}}(Se.prototype=Le("./object")).loadAsync=Le("./load"),Se.support=Le("./support"),Se.defaults=Le("./defaults"),Se.version="3.10.1",Se.loadAsync=function(Ue,fe){return new Se().loadAsync(Ue,fe)},Se.external=Le("./external"),Je.exports=Se},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(Le,Je,He){"use strict";var Se=Le("./utils"),Ue=Le("./external"),fe=Le("./utf8"),Ce=Le("./zipEntries"),oe=Le("./stream/Crc32Probe"),Oe=Le("./nodejsUtils");function ve(Me){return new Ue.Promise(function(Ie,_e){var we=Me.decompressed.getContentWorker().pipe(new oe);we.on("error",function(xe){_e(xe)}).on("end",function(){we.streamInfo.crc32!==Me.decompressed.crc32?_e(new Error("Corrupted zip : CRC32 mismatch")):Ie()}).resume()})}Je.exports=function(Me,Ie){var _e=this;return Ie=Se.extend(Ie||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:fe.utf8decode}),Oe.isNode&&Oe.isStream(Me)?Ue.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):Se.prepareContent("the loaded zip file",Me,!0,Ie.optimizedBinaryString,Ie.base64).then(function(we){var xe=new Ce(Ie);return xe.load(we),xe}).then(function(we){var xe=[Ue.Promise.resolve(we)],Ee=we.files;if(Ie.checkCRC32)for(var ke=0;ke<Ee.length;ke++)xe.push(ve(Ee[ke]));return Ue.Promise.all(xe)}).then(function(we){for(var xe=we.shift(),Ee=xe.files,ke=0;ke<Ee.length;ke++){var ze=Ee[ke],Qe=ze.fileNameStr,Re=Se.resolve(ze.fileNameStr);_e.file(Re,ze.decompressed,{binary:!0,optimizedBinaryString:!0,date:ze.date,dir:ze.dir,comment:ze.fileCommentStr.length?ze.fileCommentStr:null,unixPermissions:ze.unixPermissions,dosPermissions:ze.dosPermissions,createFolders:Ie.createFolders}),ze.dir||(_e.file(Re).unsafeOriginalName=Qe)}return xe.zipComment.length&&(_e.comment=xe.zipComment),_e})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(Le,Je,He){"use strict";var Se=Le("../utils"),Ue=Le("../stream/GenericWorker");function fe(Ce,oe){Ue.call(this,"Nodejs stream input adapter for "+Ce),this._upstreamEnded=!1,this._bindStream(oe)}Se.inherits(fe,Ue),fe.prototype._bindStream=function(Ce){var oe=this;(this._stream=Ce).pause(),Ce.on("data",function(Oe){oe.push({data:Oe,meta:{percent:0}})}).on("error",function(Oe){oe.isPaused?this.generatedError=Oe:oe.error(Oe)}).on("end",function(){oe.isPaused?oe._upstreamEnded=!0:oe.end()})},fe.prototype.pause=function(){return!!Ue.prototype.pause.call(this)&&(this._stream.pause(),!0)},fe.prototype.resume=function(){return!!Ue.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},Je.exports=fe},{"../stream/GenericWorker":28,"../utils":32}],13:[function(Le,Je,He){"use strict";var Se=Le("readable-stream").Readable;function Ue(fe,Ce,oe){Se.call(this,Ce),this._helper=fe;var Oe=this;fe.on("data",function(ve,Me){Oe.push(ve)||Oe._helper.pause(),oe&&oe(Me)}).on("error",function(ve){Oe.emit("error",ve)}).on("end",function(){Oe.push(null)})}Le("../utils").inherits(Ue,Se),Ue.prototype._read=function(){this._helper.resume()},Je.exports=Ue},{"../utils":32,"readable-stream":16}],14:[function(Le,Je,He){"use strict";Je.exports={isNode:typeof x!="undefined",newBufferFrom:function(Se,Ue){if(x.from&&x.from!==Uint8Array.from)return x.from(Se,Ue);if(typeof Se=="number")throw new Error('The "data" argument must not be a number');return new x(Se,Ue)},allocBuffer:function(Se){if(x.alloc)return x.alloc(Se);var Ue=new x(Se);return Ue.fill(0),Ue},isBuffer:function(Se){return x.isBuffer(Se)},isStream:function(Se){return Se&&typeof Se.on=="function"&&typeof Se.pause=="function"&&typeof Se.resume=="function"}}},{}],15:[function(Le,Je,He){"use strict";function Se(Re,et,Ge){var lt,it=fe.getTypeOf(et),ft=fe.extend(Ge||{},Oe);ft.date=ft.date||new Date,ft.compression!==null&&(ft.compression=ft.compression.toUpperCase()),typeof ft.unixPermissions=="string"&&(ft.unixPermissions=parseInt(ft.unixPermissions,8)),ft.unixPermissions&&16384&ft.unixPermissions&&(ft.dir=!0),ft.dosPermissions&&16&ft.dosPermissions&&(ft.dir=!0),ft.dir&&(Re=Ee(Re)),ft.createFolders&&(lt=xe(Re))&&ke.call(this,lt,!0);var bt=it==="string"&&ft.binary===!1&&ft.base64===!1;Ge&&Ge.binary!==void 0||(ft.binary=!bt),(et instanceof ve&&et.uncompressedSize===0||ft.dir||!et||et.length===0)&&(ft.base64=!1,ft.binary=!0,et="",ft.compression="STORE",it="string");var je=null;je=et instanceof ve||et instanceof Ce?et:_e.isNode&&_e.isStream(et)?new we(Re,et):fe.prepareContent(Re,et,ft.binary,ft.optimizedBinaryString,ft.base64);var ht=new Me(Re,je,ft);this.files[Re]=ht}var Ue=Le("./utf8"),fe=Le("./utils"),Ce=Le("./stream/GenericWorker"),oe=Le("./stream/StreamHelper"),Oe=Le("./defaults"),ve=Le("./compressedObject"),Me=Le("./zipObject"),Ie=Le("./generate"),_e=Le("./nodejsUtils"),we=Le("./nodejs/NodejsStreamInputAdapter"),xe=function(Re){Re.slice(-1)==="/"&&(Re=Re.substring(0,Re.length-1));var et=Re.lastIndexOf("/");return 0<et?Re.substring(0,et):""},Ee=function(Re){return Re.slice(-1)!=="/"&&(Re+="/"),Re},ke=function(Re,et){return et=et!==void 0?et:Oe.createFolders,Re=Ee(Re),this.files[Re]||Se.call(this,Re,null,{dir:!0,createFolders:et}),this.files[Re]};function ze(Re){return Object.prototype.toString.call(Re)==="[object RegExp]"}var Qe={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(Re){var et,Ge,lt;for(et in this.files)lt=this.files[et],(Ge=et.slice(this.root.length,et.length))&&et.slice(0,this.root.length)===this.root&&Re(Ge,lt)},filter:function(Re){var et=[];return this.forEach(function(Ge,lt){Re(Ge,lt)&&et.push(lt)}),et},file:function(Re,et,Ge){if(arguments.length!==1)return Re=this.root+Re,Se.call(this,Re,et,Ge),this;if(ze(Re)){var lt=Re;return this.filter(function(ft,bt){return!bt.dir&&lt.test(ft)})}var it=this.files[this.root+Re];return it&&!it.dir?it:null},folder:function(Re){if(!Re)return this;if(ze(Re))return this.filter(function(it,ft){return ft.dir&&Re.test(it)});var et=this.root+Re,Ge=ke.call(this,et),lt=this.clone();return lt.root=Ge.name,lt},remove:function(Re){Re=this.root+Re;var et=this.files[Re];if(et||(Re.slice(-1)!=="/"&&(Re+="/"),et=this.files[Re]),et&&!et.dir)delete this.files[Re];else for(var Ge=this.filter(function(it,ft){return ft.name.slice(0,Re.length)===Re}),lt=0;lt<Ge.length;lt++)delete this.files[Ge[lt].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(Re){var et,Ge={};try{if((Ge=fe.extend(Re||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:Ue.utf8encode})).type=Ge.type.toLowerCase(),Ge.compression=Ge.compression.toUpperCase(),Ge.type==="binarystring"&&(Ge.type="string"),!Ge.type)throw new Error("No output type specified.");fe.checkSupport(Ge.type),Ge.platform!=="darwin"&&Ge.platform!=="freebsd"&&Ge.platform!=="linux"&&Ge.platform!=="sunos"||(Ge.platform="UNIX"),Ge.platform==="win32"&&(Ge.platform="DOS");var lt=Ge.comment||this.comment||"";et=Ie.generateWorker(this,Ge,lt)}catch(it){(et=new Ce("error")).error(it)}return new oe(et,Ge.type||"string",Ge.mimeType)},generateAsync:function(Re,et){return this.generateInternalStream(Re).accumulate(et)},generateNodeStream:function(Re,et){return(Re=Re||{}).type||(Re.type="nodebuffer"),this.generateInternalStream(Re).toNodejsStream(et)}};Je.exports=Qe},{"./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,Je,He){"use strict";Je.exports=Le("stream")},{stream:void 0}],17:[function(Le,Je,He){"use strict";var Se=Le("./DataReader");function Ue(fe){Se.call(this,fe);for(var Ce=0;Ce<this.data.length;Ce++)fe[Ce]=255&fe[Ce]}Le("../utils").inherits(Ue,Se),Ue.prototype.byteAt=function(fe){return this.data[this.zero+fe]},Ue.prototype.lastIndexOfSignature=function(fe){for(var Ce=fe.charCodeAt(0),oe=fe.charCodeAt(1),Oe=fe.charCodeAt(2),ve=fe.charCodeAt(3),Me=this.length-4;0<=Me;--Me)if(this.data[Me]===Ce&&this.data[Me+1]===oe&&this.data[Me+2]===Oe&&this.data[Me+3]===ve)return Me-this.zero;return-1},Ue.prototype.readAndCheckSignature=function(fe){var Ce=fe.charCodeAt(0),oe=fe.charCodeAt(1),Oe=fe.charCodeAt(2),ve=fe.charCodeAt(3),Me=this.readData(4);return Ce===Me[0]&&oe===Me[1]&&Oe===Me[2]&&ve===Me[3]},Ue.prototype.readData=function(fe){if(this.checkOffset(fe),fe===0)return[];var Ce=this.data.slice(this.zero+this.index,this.zero+this.index+fe);return this.index+=fe,Ce},Je.exports=Ue},{"../utils":32,"./DataReader":18}],18:[function(Le,Je,He){"use strict";var Se=Le("../utils");function Ue(fe){this.data=fe,this.length=fe.length,this.index=0,this.zero=0}Ue.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 Ce,oe=0;for(this.checkOffset(fe),Ce=this.index+fe-1;Ce>=this.index;Ce--)oe=(oe<<8)+this.byteAt(Ce);return this.index+=fe,oe},readString:function(fe){return Se.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))}},Je.exports=Ue},{"../utils":32}],19:[function(Le,Je,He){"use strict";var Se=Le("./Uint8ArrayReader");function Ue(fe){Se.call(this,fe)}Le("../utils").inherits(Ue,Se),Ue.prototype.readData=function(fe){this.checkOffset(fe);var Ce=this.data.slice(this.zero+this.index,this.zero+this.index+fe);return this.index+=fe,Ce},Je.exports=Ue},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(Le,Je,He){"use strict";var Se=Le("./DataReader");function Ue(fe){Se.call(this,fe)}Le("../utils").inherits(Ue,Se),Ue.prototype.byteAt=function(fe){return this.data.charCodeAt(this.zero+fe)},Ue.prototype.lastIndexOfSignature=function(fe){return this.data.lastIndexOf(fe)-this.zero},Ue.prototype.readAndCheckSignature=function(fe){return fe===this.readData(4)},Ue.prototype.readData=function(fe){this.checkOffset(fe);var Ce=this.data.slice(this.zero+this.index,this.zero+this.index+fe);return this.index+=fe,Ce},Je.exports=Ue},{"../utils":32,"./DataReader":18}],21:[function(Le,Je,He){"use strict";var Se=Le("./ArrayReader");function Ue(fe){Se.call(this,fe)}Le("../utils").inherits(Ue,Se),Ue.prototype.readData=function(fe){if(this.checkOffset(fe),fe===0)return new Uint8Array(0);var Ce=this.data.subarray(this.zero+this.index,this.zero+this.index+fe);return this.index+=fe,Ce},Je.exports=Ue},{"../utils":32,"./ArrayReader":17}],22:[function(Le,Je,He){"use strict";var Se=Le("../utils"),Ue=Le("../support"),fe=Le("./ArrayReader"),Ce=Le("./StringReader"),oe=Le("./NodeBufferReader"),Oe=Le("./Uint8ArrayReader");Je.exports=function(ve){var Me=Se.getTypeOf(ve);return Se.checkSupport(Me),Me!=="string"||Ue.uint8array?Me==="nodebuffer"?new oe(ve):Ue.uint8array?new Oe(Se.transformTo("uint8array",ve)):new fe(Se.transformTo("array",ve)):new Ce(ve)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(Le,Je,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,Je,He){"use strict";var Se=Le("./GenericWorker"),Ue=Le("../utils");function fe(Ce){Se.call(this,"ConvertWorker to "+Ce),this.destType=Ce}Ue.inherits(fe,Se),fe.prototype.processChunk=function(Ce){this.push({data:Ue.transformTo(this.destType,Ce.data),meta:Ce.meta})},Je.exports=fe},{"../utils":32,"./GenericWorker":28}],25:[function(Le,Je,He){"use strict";var Se=Le("./GenericWorker"),Ue=Le("../crc32");function fe(){Se.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}Le("../utils").inherits(fe,Se),fe.prototype.processChunk=function(Ce){this.streamInfo.crc32=Ue(Ce.data,this.streamInfo.crc32||0),this.push(Ce)},Je.exports=fe},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(Le,Je,He){"use strict";var Se=Le("../utils"),Ue=Le("./GenericWorker");function fe(Ce){Ue.call(this,"DataLengthProbe for "+Ce),this.propName=Ce,this.withStreamInfo(Ce,0)}Se.inherits(fe,Ue),fe.prototype.processChunk=function(Ce){if(Ce){var oe=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=oe+Ce.data.length}Ue.prototype.processChunk.call(this,Ce)},Je.exports=fe},{"../utils":32,"./GenericWorker":28}],27:[function(Le,Je,He){"use strict";var Se=Le("../utils"),Ue=Le("./GenericWorker");function fe(Ce){Ue.call(this,"DataWorker");var oe=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,Ce.then(function(Oe){oe.dataIsReady=!0,oe.data=Oe,oe.max=Oe&&Oe.length||0,oe.type=Se.getTypeOf(Oe),oe.isPaused||oe._tickAndRepeat()},function(Oe){oe.error(Oe)})}Se.inherits(fe,Ue),fe.prototype.cleanUp=function(){Ue.prototype.cleanUp.call(this),this.data=null},fe.prototype.resume=function(){return!!Ue.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,Se.delay(this._tickAndRepeat,[],this)),!0)},fe.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(Se.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},fe.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var Ce=null,oe=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":Ce=this.data.substring(this.index,oe);break;case"uint8array":Ce=this.data.subarray(this.index,oe);break;case"array":case"nodebuffer":Ce=this.data.slice(this.index,oe)}return this.index=oe,this.push({data:Ce,meta:{percent:this.max?this.index/this.max*100:0}})},Je.exports=fe},{"../utils":32,"./GenericWorker":28}],28:[function(Le,Je,He){"use strict";function Se(Ue){this.name=Ue||"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}Se.prototype={push:function(Ue){this.emit("data",Ue)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(Ue){this.emit("error",Ue)}return!0},error:function(Ue){return!this.isFinished&&(this.isPaused?this.generatedError=Ue:(this.isFinished=!0,this.emit("error",Ue),this.previous&&this.previous.error(Ue),this.cleanUp()),!0)},on:function(Ue,fe){return this._listeners[Ue].push(fe),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(Ue,fe){if(this._listeners[Ue])for(var Ce=0;Ce<this._listeners[Ue].length;Ce++)this._listeners[Ue][Ce].call(this,fe)},pipe:function(Ue){return Ue.registerPrevious(this)},registerPrevious:function(Ue){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=Ue.streamInfo,this.mergeStreamInfo(),this.previous=Ue;var fe=this;return Ue.on("data",function(Ce){fe.processChunk(Ce)}),Ue.on("end",function(){fe.end()}),Ue.on("error",function(Ce){fe.error(Ce)}),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 Ue=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),Ue=!0),this.previous&&this.previous.resume(),!Ue},flush:function(){},processChunk:function(Ue){this.push(Ue)},withStreamInfo:function(Ue,fe){return this.extraStreamInfo[Ue]=fe,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var Ue in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,Ue)&&(this.streamInfo[Ue]=this.extraStreamInfo[Ue])},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 Ue="Worker "+this.name;return this.previous?this.previous+" -> "+Ue:Ue}},Je.exports=Se},{}],29:[function(Le,Je,He){"use strict";var Se=Le("../utils"),Ue=Le("./ConvertWorker"),fe=Le("./GenericWorker"),Ce=Le("../base64"),oe=Le("../support"),Oe=Le("../external"),ve=null;if(oe.nodestream)try{ve=Le("../nodejs/NodejsStreamOutputAdapter")}catch(_e){}function Me(_e,we){return new Oe.Promise(function(xe,Ee){var ke=[],ze=_e._internalType,Qe=_e._outputType,Re=_e._mimeType;_e.on("data",function(et,Ge){ke.push(et),we&&we(Ge)}).on("error",function(et){ke=[],Ee(et)}).on("end",function(){try{var et=function(Ge,lt,it){switch(Ge){case"blob":return Se.newBlob(Se.transformTo("arraybuffer",lt),it);case"base64":return Ce.encode(lt);default:return Se.transformTo(Ge,lt)}}(Qe,function(Ge,lt){var it,ft=0,bt=null,je=0;for(it=0;it<lt.length;it++)je+=lt[it].length;switch(Ge){case"string":return lt.join("");case"array":return Array.prototype.concat.apply([],lt);case"uint8array":for(bt=new Uint8Array(je),it=0;it<lt.length;it++)bt.set(lt[it],ft),ft+=lt[it].length;return bt;case"nodebuffer":return x.concat(lt);default:throw new Error("concat : unsupported type '"+Ge+"'")}}(ze,ke),Re);xe(et)}catch(Ge){Ee(Ge)}ke=[]}).resume()})}function Ie(_e,we,xe){var Ee=we;switch(we){case"blob":case"arraybuffer":Ee="uint8array";break;case"base64":Ee="string"}try{this._internalType=Ee,this._outputType=we,this._mimeType=xe,Se.checkSupport(Ee),this._worker=_e.pipe(new Ue(Ee)),_e.lock()}catch(ke){this._worker=new fe("error"),this._worker.error(ke)}}Ie.prototype={accumulate:function(_e){return Me(this,_e)},on:function(_e,we){var xe=this;return _e==="data"?this._worker.on(_e,function(Ee){we.call(xe,Ee.data,Ee.meta)}):this._worker.on(_e,function(){Se.delay(we,arguments,xe)}),this},resume:function(){return Se.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(_e){if(Se.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new ve(this,{objectMode:this._outputType!=="nodebuffer"},_e)}},Je.exports=Ie},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(Le,Je,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 Se=new ArrayBuffer(0);try{He.blob=new Blob([Se],{type:"application/zip"}).size===0}catch(fe){try{var Ue=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);Ue.append(Se),He.blob=Ue.getBlob("application/zip").size===0}catch(Ce){He.blob=!1}}}try{He.nodestream=!!Le("readable-stream").Readable}catch(fe){He.nodestream=!1}},{"readable-stream":16}],31:[function(Le,Je,He){"use strict";for(var Se=Le("./utils"),Ue=Le("./support"),fe=Le("./nodejsUtils"),Ce=Le("./stream/GenericWorker"),oe=new Array(256),Oe=0;Oe<256;Oe++)oe[Oe]=252<=Oe?6:248<=Oe?5:240<=Oe?4:224<=Oe?3:192<=Oe?2:1;oe[254]=oe[254]=1;function ve(){Ce.call(this,"utf-8 decode"),this.leftOver=null}function Me(){Ce.call(this,"utf-8 encode")}He.utf8encode=function(Ie){return Ue.nodebuffer?fe.newBufferFrom(Ie,"utf-8"):function(_e){var we,xe,Ee,ke,ze,Qe=_e.length,Re=0;for(ke=0;ke<Qe;ke++)(64512&(xe=_e.charCodeAt(ke)))==55296&&ke+1<Qe&&(64512&(Ee=_e.charCodeAt(ke+1)))==56320&&(xe=65536+(xe-55296<<10)+(Ee-56320),ke++),Re+=xe<128?1:xe<2048?2:xe<65536?3:4;for(we=Ue.uint8array?new Uint8Array(Re):new Array(Re),ke=ze=0;ze<Re;ke++)(64512&(xe=_e.charCodeAt(ke)))==55296&&ke+1<Qe&&(64512&(Ee=_e.charCodeAt(ke+1)))==56320&&(xe=65536+(xe-55296<<10)+(Ee-56320),ke++),xe<128?we[ze++]=xe:(xe<2048?we[ze++]=192|xe>>>6:(xe<65536?we[ze++]=224|xe>>>12:(we[ze++]=240|xe>>>18,we[ze++]=128|xe>>>12&63),we[ze++]=128|xe>>>6&63),we[ze++]=128|63&xe);return we}(Ie)},He.utf8decode=function(Ie){return Ue.nodebuffer?Se.transformTo("nodebuffer",Ie).toString("utf-8"):function(_e){var we,xe,Ee,ke,ze=_e.length,Qe=new Array(2*ze);for(we=xe=0;we<ze;)if((Ee=_e[we++])<128)Qe[xe++]=Ee;else if(4<(ke=oe[Ee]))Qe[xe++]=65533,we+=ke-1;else{for(Ee&=ke===2?31:ke===3?15:7;1<ke&&we<ze;)Ee=Ee<<6|63&_e[we++],ke--;1<ke?Qe[xe++]=65533:Ee<65536?Qe[xe++]=Ee:(Ee-=65536,Qe[xe++]=55296|Ee>>10&1023,Qe[xe++]=56320|1023&Ee)}return Qe.length!==xe&&(Qe.subarray?Qe=Qe.subarray(0,xe):Qe.length=xe),Se.applyFromCharCode(Qe)}(Ie=Se.transformTo(Ue.uint8array?"uint8array":"array",Ie))},Se.inherits(ve,Ce),ve.prototype.processChunk=function(Ie){var _e=Se.transformTo(Ue.uint8array?"uint8array":"array",Ie.data);if(this.leftOver&&this.leftOver.length){if(Ue.uint8array){var we=_e;(_e=new Uint8Array(we.length+this.leftOver.length)).set(this.leftOver,0),_e.set(we,this.leftOver.length)}else _e=this.leftOver.concat(_e);this.leftOver=null}var xe=function(ke,ze){var Qe;for((ze=ze||ke.length)>ke.length&&(ze=ke.length),Qe=ze-1;0<=Qe&&(192&ke[Qe])==128;)Qe--;return Qe<0||Qe===0?ze:Qe+oe[ke[Qe]]>ze?Qe:ze}(_e),Ee=_e;xe!==_e.length&&(Ue.uint8array?(Ee=_e.subarray(0,xe),this.leftOver=_e.subarray(xe,_e.length)):(Ee=_e.slice(0,xe),this.leftOver=_e.slice(xe,_e.length))),this.push({data:He.utf8decode(Ee),meta:Ie.meta})},ve.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:He.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},He.Utf8DecodeWorker=ve,Se.inherits(Me,Ce),Me.prototype.processChunk=function(Ie){this.push({data:He.utf8encode(Ie.data),meta:Ie.meta})},He.Utf8EncodeWorker=Me},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(Le,Je,He){"use strict";var Se=Le("./support"),Ue=Le("./base64"),fe=Le("./nodejsUtils"),Ce=Le("./external");function oe(we){return we}function Oe(we,xe){for(var Ee=0;Ee<we.length;++Ee)xe[Ee]=255&we.charCodeAt(Ee);return xe}Le("setimmediate"),He.newBlob=function(we,xe){He.checkSupport("blob");try{return new Blob([we],{type:xe})}catch(ke){try{var Ee=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return Ee.append(we),Ee.getBlob(xe)}catch(ze){throw new Error("Bug : can't construct the Blob.")}}};var ve={stringifyByChunk:function(we,xe,Ee){var ke=[],ze=0,Qe=we.length;if(Qe<=Ee)return String.fromCharCode.apply(null,we);for(;ze<Qe;)xe==="array"||xe==="nodebuffer"?ke.push(String.fromCharCode.apply(null,we.slice(ze,Math.min(ze+Ee,Qe)))):ke.push(String.fromCharCode.apply(null,we.subarray(ze,Math.min(ze+Ee,Qe)))),ze+=Ee;return ke.join("")},stringifyByChar:function(we){for(var xe="",Ee=0;Ee<we.length;Ee++)xe+=String.fromCharCode(we[Ee]);return xe},applyCanBeUsed:{uint8array:function(){try{return Se.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(we){return!1}}(),nodebuffer:function(){try{return Se.nodebuffer&&String.fromCharCode.apply(null,fe.allocBuffer(1)).length===1}catch(we){return!1}}()}};function Me(we){var xe=65536,Ee=He.getTypeOf(we),ke=!0;if(Ee==="uint8array"?ke=ve.applyCanBeUsed.uint8array:Ee==="nodebuffer"&&(ke=ve.applyCanBeUsed.nodebuffer),ke)for(;1<xe;)try{return ve.stringifyByChunk(we,Ee,xe)}catch(ze){xe=Math.floor(xe/2)}return ve.stringifyByChar(we)}function Ie(we,xe){for(var Ee=0;Ee<we.length;Ee++)xe[Ee]=we[Ee];return xe}He.applyFromCharCode=Me;var _e={};_e.string={string:oe,array:function(we){return Oe(we,new Array(we.length))},arraybuffer:function(we){return _e.string.uint8array(we).buffer},uint8array:function(we){return Oe(we,new Uint8Array(we.length))},nodebuffer:function(we){return Oe(we,fe.allocBuffer(we.length))}},_e.array={string:Me,array:oe,arraybuffer:function(we){return new Uint8Array(we).buffer},uint8array:function(we){return new Uint8Array(we)},nodebuffer:function(we){return fe.newBufferFrom(we)}},_e.arraybuffer={string:function(we){return Me(new Uint8Array(we))},array:function(we){return Ie(new Uint8Array(we),new Array(we.byteLength))},arraybuffer:oe,uint8array:function(we){return new Uint8Array(we)},nodebuffer:function(we){return fe.newBufferFrom(new Uint8Array(we))}},_e.uint8array={string:Me,array:function(we){return Ie(we,new Array(we.length))},arraybuffer:function(we){return we.buffer},uint8array:oe,nodebuffer:function(we){return fe.newBufferFrom(we)}},_e.nodebuffer={string:Me,array:function(we){return Ie(we,new Array(we.length))},arraybuffer:function(we){return _e.nodebuffer.uint8array(we).buffer},uint8array:function(we){return Ie(we,new Uint8Array(we.length))},nodebuffer:oe},He.transformTo=function(we,xe){if(xe=xe||"",!we)return xe;He.checkSupport(we);var Ee=He.getTypeOf(xe);return _e[Ee][we](xe)},He.resolve=function(we){for(var xe=we.split("/"),Ee=[],ke=0;ke<xe.length;ke++){var ze=xe[ke];ze==="."||ze===""&&ke!==0&&ke!==xe.length-1||(ze===".."?Ee.pop():Ee.push(ze))}return Ee.join("/")},He.getTypeOf=function(we){return typeof we=="string"?"string":Object.prototype.toString.call(we)==="[object Array]"?"array":Se.nodebuffer&&fe.isBuffer(we)?"nodebuffer":Se.uint8array&&we instanceof Uint8Array?"uint8array":Se.arraybuffer&&we instanceof ArrayBuffer?"arraybuffer":void 0},He.checkSupport=function(we){if(!Se[we.toLowerCase()])throw new Error(we+" is not supported by this platform")},He.MAX_VALUE_16BITS=65535,He.MAX_VALUE_32BITS=-1,He.pretty=function(we){var xe,Ee,ke="";for(Ee=0;Ee<(we||"").length;Ee++)ke+="\\x"+((xe=we.charCodeAt(Ee))<16?"0":"")+xe.toString(16).toUpperCase();return ke},He.delay=function(we,xe,Ee){setImmediate(function(){we.apply(Ee||null,xe||[])})},He.inherits=function(we,xe){function Ee(){}Ee.prototype=xe.prototype,we.prototype=new Ee},He.extend=function(){var we,xe,Ee={};for(we=0;we<arguments.length;we++)for(xe in arguments[we])Object.prototype.hasOwnProperty.call(arguments[we],xe)&&Ee[xe]===void 0&&(Ee[xe]=arguments[we][xe]);return Ee},He.prepareContent=function(we,xe,Ee,ke,ze){return Ce.Promise.resolve(xe).then(function(Qe){return Se.blob&&(Qe instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(Qe))!==-1)&&typeof FileReader!="undefined"?new Ce.Promise(function(Re,et){var Ge=new FileReader;Ge.onload=function(lt){Re(lt.target.result)},Ge.onerror=function(lt){et(lt.target.error)},Ge.readAsArrayBuffer(Qe)}):Qe}).then(function(Qe){var Re=He.getTypeOf(Qe);return Re?(Re==="arraybuffer"?Qe=He.transformTo("uint8array",Qe):Re==="string"&&(ze?Qe=Ue.decode(Qe):Ee&&ke!==!0&&(Qe=function(et){return Oe(et,Se.uint8array?new Uint8Array(et.length):new Array(et.length))}(Qe))),Qe):Ce.Promise.reject(new Error("Can't read the data of '"+we+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(Le,Je,He){"use strict";var Se=Le("./reader/readerFor"),Ue=Le("./utils"),fe=Le("./signature"),Ce=Le("./zipEntry"),oe=Le("./support");function Oe(ve){this.files=[],this.loadOptions=ve}Oe.prototype={checkSignature:function(ve){if(!this.reader.readAndCheckSignature(ve)){this.reader.index-=4;var Me=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+Ue.pretty(Me)+", expected "+Ue.pretty(ve)+")")}},isSignature:function(ve,Me){var Ie=this.reader.index;this.reader.setIndex(ve);var _e=this.reader.readString(4)===Me;return this.reader.setIndex(Ie),_e},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 ve=this.reader.readData(this.zipCommentLength),Me=oe.uint8array?"uint8array":"array",Ie=Ue.transformTo(Me,ve);this.zipComment=this.loadOptions.decodeFileName(Ie)},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 ve,Me,Ie,_e=this.zip64EndOfCentralSize-44;0<_e;)ve=this.reader.readInt(2),Me=this.reader.readInt(4),Ie=this.reader.readData(Me),this.zip64ExtensibleData[ve]={id:ve,length:Me,value:Ie}},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 ve,Me;for(ve=0;ve<this.files.length;ve++)Me=this.files[ve],this.reader.setIndex(Me.localHeaderOffset),this.checkSignature(fe.LOCAL_FILE_HEADER),Me.readLocalPart(this.reader),Me.handleUTF8(),Me.processAttributes()},readCentralDir:function(){var ve;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(fe.CENTRAL_FILE_HEADER);)(ve=new Ce({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(ve);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 ve=this.reader.lastIndexOfSignature(fe.CENTRAL_DIRECTORY_END);if(ve<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(ve);var Me=ve;if(this.checkSignature(fe.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===Ue.MAX_VALUE_16BITS||this.diskWithCentralDirStart===Ue.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===Ue.MAX_VALUE_16BITS||this.centralDirRecords===Ue.MAX_VALUE_16BITS||this.centralDirSize===Ue.MAX_VALUE_32BITS||this.centralDirOffset===Ue.MAX_VALUE_32BITS){if(this.zip64=!0,(ve=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(ve),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 Ie=this.centralDirOffset+this.centralDirSize;this.zip64&&(Ie+=20,Ie+=12+this.zip64EndOfCentralSize);var _e=Me-Ie;if(0<_e)this.isSignature(Me,fe.CENTRAL_FILE_HEADER)||(this.reader.zero=_e);else if(_e<0)throw new Error("Corrupted zip: missing "+Math.abs(_e)+" bytes.")},prepareReader:function(ve){this.reader=Se(ve)},load:function(ve){this.prepareReader(ve),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},Je.exports=Oe},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(Le,Je,He){"use strict";var Se=Le("./reader/readerFor"),Ue=Le("./utils"),fe=Le("./compressedObject"),Ce=Le("./crc32"),oe=Le("./utf8"),Oe=Le("./compressions"),ve=Le("./support");function Me(Ie,_e){this.options=Ie,this.loadOptions=_e}Me.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(Ie){var _e,we;if(Ie.skip(22),this.fileNameLength=Ie.readInt(2),we=Ie.readInt(2),this.fileName=Ie.readData(this.fileNameLength),Ie.skip(we),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((_e=function(xe){for(var Ee in Oe)if(Object.prototype.hasOwnProperty.call(Oe,Ee)&&Oe[Ee].magic===xe)return Oe[Ee];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+Ue.pretty(this.compressionMethod)+" unknown (inner file : "+Ue.transformTo("string",this.fileName)+")");this.decompressed=new fe(this.compressedSize,this.uncompressedSize,this.crc32,_e,Ie.readData(this.compressedSize))},readCentralPart:function(Ie){this.versionMadeBy=Ie.readInt(2),Ie.skip(2),this.bitFlag=Ie.readInt(2),this.compressionMethod=Ie.readString(2),this.date=Ie.readDate(),this.crc32=Ie.readInt(4),this.compressedSize=Ie.readInt(4),this.uncompressedSize=Ie.readInt(4);var _e=Ie.readInt(2);if(this.extraFieldsLength=Ie.readInt(2),this.fileCommentLength=Ie.readInt(2),this.diskNumberStart=Ie.readInt(2),this.internalFileAttributes=Ie.readInt(2),this.externalFileAttributes=Ie.readInt(4),this.localHeaderOffset=Ie.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");Ie.skip(_e),this.readExtraFields(Ie),this.parseZIP64ExtraField(Ie),this.fileComment=Ie.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var Ie=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),Ie==0&&(this.dosPermissions=63&this.externalFileAttributes),Ie==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var Ie=Se(this.extraFields[1].value);this.uncompressedSize===Ue.MAX_VALUE_32BITS&&(this.uncompressedSize=Ie.readInt(8)),this.compressedSize===Ue.MAX_VALUE_32BITS&&(this.compressedSize=Ie.readInt(8)),this.localHeaderOffset===Ue.MAX_VALUE_32BITS&&(this.localHeaderOffset=Ie.readInt(8)),this.diskNumberStart===Ue.MAX_VALUE_32BITS&&(this.diskNumberStart=Ie.readInt(4))}},readExtraFields:function(Ie){var _e,we,xe,Ee=Ie.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});Ie.index+4<Ee;)_e=Ie.readInt(2),we=Ie.readInt(2),xe=Ie.readData(we),this.extraFields[_e]={id:_e,length:we,value:xe};Ie.setIndex(Ee)},handleUTF8:function(){var Ie=ve.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=oe.utf8decode(this.fileName),this.fileCommentStr=oe.utf8decode(this.fileComment);else{var _e=this.findExtraFieldUnicodePath();if(_e!==null)this.fileNameStr=_e;else{var we=Ue.transformTo(Ie,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(we)}var xe=this.findExtraFieldUnicodeComment();if(xe!==null)this.fileCommentStr=xe;else{var Ee=Ue.transformTo(Ie,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(Ee)}}},findExtraFieldUnicodePath:function(){var Ie=this.extraFields[28789];if(Ie){var _e=Se(Ie.value);return _e.readInt(1)!==1||Ce(this.fileName)!==_e.readInt(4)?null:oe.utf8decode(_e.readData(Ie.length-5))}return null},findExtraFieldUnicodeComment:function(){var Ie=this.extraFields[25461];if(Ie){var _e=Se(Ie.value);return _e.readInt(1)!==1||Ce(this.fileComment)!==_e.readInt(4)?null:oe.utf8decode(_e.readData(Ie.length-5))}return null}},Je.exports=Me},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(Le,Je,He){"use strict";function Se(_e,we,xe){this.name=_e,this.dir=xe.dir,this.date=xe.date,this.comment=xe.comment,this.unixPermissions=xe.unixPermissions,this.dosPermissions=xe.dosPermissions,this._data=we,this._dataBinary=xe.binary,this.options={compression:xe.compression,compressionOptions:xe.compressionOptions}}var Ue=Le("./stream/StreamHelper"),fe=Le("./stream/DataWorker"),Ce=Le("./utf8"),oe=Le("./compressedObject"),Oe=Le("./stream/GenericWorker");Se.prototype={internalStream:function(_e){var we=null,xe="string";try{if(!_e)throw new Error("No output type specified.");var Ee=(xe=_e.toLowerCase())==="string"||xe==="text";xe!=="binarystring"&&xe!=="text"||(xe="string"),we=this._decompressWorker();var ke=!this._dataBinary;ke&&!Ee&&(we=we.pipe(new Ce.Utf8EncodeWorker)),!ke&&Ee&&(we=we.pipe(new Ce.Utf8DecodeWorker))}catch(ze){(we=new Oe("error")).error(ze)}return new Ue(we,xe,"")},async:function(_e,we){return this.internalStream(_e).accumulate(we)},nodeStream:function(_e,we){return this.internalStream(_e||"nodebuffer").toNodejsStream(we)},_compressWorker:function(_e,we){if(this._data instanceof oe&&this._data.compression.magic===_e.magic)return this._data.getCompressedWorker();var xe=this._decompressWorker();return this._dataBinary||(xe=xe.pipe(new Ce.Utf8EncodeWorker)),oe.createWorkerFrom(xe,_e,we)},_decompressWorker:function(){return this._data instanceof oe?this._data.getContentWorker():this._data instanceof Oe?this._data:new fe(this._data)}};for(var ve=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Me=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},Ie=0;Ie<ve.length;Ie++)Se.prototype[ve[Ie]]=Me;Je.exports=Se},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(Le,Je,He){(function(Se){"use strict";var Ue,fe,Ce=Se.MutationObserver||Se.WebKitMutationObserver;if(Ce){var oe=0,Oe=new Ce(_e),ve=Se.document.createTextNode("");Oe.observe(ve,{characterData:!0}),Ue=function(){ve.data=oe=++oe%2}}else if(Se.setImmediate||Se.MessageChannel===void 0)Ue="document"in Se&&"onreadystatechange"in Se.document.createElement("script")?function(){var we=Se.document.createElement("script");we.onreadystatechange=function(){_e(),we.onreadystatechange=null,we.parentNode.removeChild(we),we=null},Se.document.documentElement.appendChild(we)}:function(){setTimeout(_e,0)};else{var Me=new Se.MessageChannel;Me.port1.onmessage=_e,Ue=function(){Me.port2.postMessage(0)}}var Ie=[];function _e(){var we,xe;fe=!0;for(var Ee=Ie.length;Ee;){for(xe=Ie,Ie=[],we=-1;++we<Ee;)xe[we]();Ee=Ie.length}fe=!1}Je.exports=function(we){Ie.push(we)!==1||fe||Ue()}}).call(this,typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(Le,Je,He){"use strict";var Se=Le("immediate");function Ue(){}var fe={},Ce=["REJECTED"],oe=["FULFILLED"],Oe=["PENDING"];function ve(Ee){if(typeof Ee!="function")throw new TypeError("resolver must be a function");this.state=Oe,this.queue=[],this.outcome=void 0,Ee!==Ue&&we(this,Ee)}function Me(Ee,ke,ze){this.promise=Ee,typeof ke=="function"&&(this.onFulfilled=ke,this.callFulfilled=this.otherCallFulfilled),typeof ze=="function"&&(this.onRejected=ze,this.callRejected=this.otherCallRejected)}function Ie(Ee,ke,ze){Se(function(){var Qe;try{Qe=ke(ze)}catch(Re){return fe.reject(Ee,Re)}Qe===Ee?fe.reject(Ee,new TypeError("Cannot resolve promise with itself")):fe.resolve(Ee,Qe)})}function _e(Ee){var ke=Ee&&Ee.then;if(Ee&&(typeof Ee=="object"||typeof Ee=="function")&&typeof ke=="function")return function(){ke.apply(Ee,arguments)}}function we(Ee,ke){var ze=!1;function Qe(Ge){ze||(ze=!0,fe.reject(Ee,Ge))}function Re(Ge){ze||(ze=!0,fe.resolve(Ee,Ge))}var et=xe(function(){ke(Re,Qe)});et.status==="error"&&Qe(et.value)}function xe(Ee,ke){var ze={};try{ze.value=Ee(ke),ze.status="success"}catch(Qe){ze.status="error",ze.value=Qe}return ze}(Je.exports=ve).prototype.finally=function(Ee){if(typeof Ee!="function")return this;var ke=this.constructor;return this.then(function(ze){return ke.resolve(Ee()).then(function(){return ze})},function(ze){return ke.resolve(Ee()).then(function(){throw ze})})},ve.prototype.catch=function(Ee){return this.then(null,Ee)},ve.prototype.then=function(Ee,ke){if(typeof Ee!="function"&&this.state===oe||typeof ke!="function"&&this.state===Ce)return this;var ze=new this.constructor(Ue);return this.state!==Oe?Ie(ze,this.state===oe?Ee:ke,this.outcome):this.queue.push(new Me(ze,Ee,ke)),ze},Me.prototype.callFulfilled=function(Ee){fe.resolve(this.promise,Ee)},Me.prototype.otherCallFulfilled=function(Ee){Ie(this.promise,this.onFulfilled,Ee)},Me.prototype.callRejected=function(Ee){fe.reject(this.promise,Ee)},Me.prototype.otherCallRejected=function(Ee){Ie(this.promise,this.onRejected,Ee)},fe.resolve=function(Ee,ke){var ze=xe(_e,ke);if(ze.status==="error")return fe.reject(Ee,ze.value);var Qe=ze.value;if(Qe)we(Ee,Qe);else{Ee.state=oe,Ee.outcome=ke;for(var Re=-1,et=Ee.queue.length;++Re<et;)Ee.queue[Re].callFulfilled(ke)}return Ee},fe.reject=function(Ee,ke){Ee.state=Ce,Ee.outcome=ke;for(var ze=-1,Qe=Ee.queue.length;++ze<Qe;)Ee.queue[ze].callRejected(ke);return Ee},ve.resolve=function(Ee){return Ee instanceof this?Ee:fe.resolve(new this(Ue),Ee)},ve.reject=function(Ee){var ke=new this(Ue);return fe.reject(ke,Ee)},ve.all=function(Ee){var ke=this;if(Object.prototype.toString.call(Ee)!=="[object Array]")return this.reject(new TypeError("must be an array"));var ze=Ee.length,Qe=!1;if(!ze)return this.resolve([]);for(var Re=new Array(ze),et=0,Ge=-1,lt=new this(Ue);++Ge<ze;)it(Ee[Ge],Ge);return lt;function it(ft,bt){ke.resolve(ft).then(function(je){Re[bt]=je,++et!==ze||Qe||(Qe=!0,fe.resolve(lt,Re))},function(je){Qe||(Qe=!0,fe.reject(lt,je))})}},ve.race=function(Ee){var ke=this;if(Object.prototype.toString.call(Ee)!=="[object Array]")return this.reject(new TypeError("must be an array"));var ze=Ee.length,Qe=!1;if(!ze)return this.resolve([]);for(var Re=-1,et=new this(Ue);++Re<ze;)Ge=Ee[Re],ke.resolve(Ge).then(function(lt){Qe||(Qe=!0,fe.resolve(et,lt))},function(lt){Qe||(Qe=!0,fe.reject(et,lt))});var Ge;return et}},{immediate:36}],38:[function(Le,Je,He){"use strict";var Se={};(0,Le("./lib/utils/common").assign)(Se,Le("./lib/deflate"),Le("./lib/inflate"),Le("./lib/zlib/constants")),Je.exports=Se},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(Le,Je,He){"use strict";var Se=Le("./zlib/deflate"),Ue=Le("./utils/common"),fe=Le("./utils/strings"),Ce=Le("./zlib/messages"),oe=Le("./zlib/zstream"),Oe=Object.prototype.toString,ve=0,Me=-1,Ie=0,_e=8;function we(Ee){if(!(this instanceof we))return new we(Ee);this.options=Ue.assign({level:Me,method:_e,chunkSize:16384,windowBits:15,memLevel:8,strategy:Ie,to:""},Ee||{});var ke=this.options;ke.raw&&0<ke.windowBits?ke.windowBits=-ke.windowBits:ke.gzip&&0<ke.windowBits&&ke.windowBits<16&&(ke.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new oe,this.strm.avail_out=0;var ze=Se.deflateInit2(this.strm,ke.level,ke.method,ke.windowBits,ke.memLevel,ke.strategy);if(ze!==ve)throw new Error(Ce[ze]);if(ke.header&&Se.deflateSetHeader(this.strm,ke.header),ke.dictionary){var Qe;if(Qe=typeof ke.dictionary=="string"?fe.string2buf(ke.dictionary):Oe.call(ke.dictionary)==="[object ArrayBuffer]"?new Uint8Array(ke.dictionary):ke.dictionary,(ze=Se.deflateSetDictionary(this.strm,Qe))!==ve)throw new Error(Ce[ze]);this._dict_set=!0}}function xe(Ee,ke){var ze=new we(ke);if(ze.push(Ee,!0),ze.err)throw ze.msg||Ce[ze.err];return ze.result}we.prototype.push=function(Ee,ke){var ze,Qe,Re=this.strm,et=this.options.chunkSize;if(this.ended)return!1;Qe=ke===~~ke?ke:ke===!0?4:0,typeof Ee=="string"?Re.input=fe.string2buf(Ee):Oe.call(Ee)==="[object ArrayBuffer]"?Re.input=new Uint8Array(Ee):Re.input=Ee,Re.next_in=0,Re.avail_in=Re.input.length;do{if(Re.avail_out===0&&(Re.output=new Ue.Buf8(et),Re.next_out=0,Re.avail_out=et),(ze=Se.deflate(Re,Qe))!==1&&ze!==ve)return this.onEnd(ze),!(this.ended=!0);Re.avail_out!==0&&(Re.avail_in!==0||Qe!==4&&Qe!==2)||(this.options.to==="string"?this.onData(fe.buf2binstring(Ue.shrinkBuf(Re.output,Re.next_out))):this.onData(Ue.shrinkBuf(Re.output,Re.next_out)))}while((0<Re.avail_in||Re.avail_out===0)&&ze!==1);return Qe===4?(ze=Se.deflateEnd(this.strm),this.onEnd(ze),this.ended=!0,ze===ve):Qe!==2||(this.onEnd(ve),!(Re.avail_out=0))},we.prototype.onData=function(Ee){this.chunks.push(Ee)},we.prototype.onEnd=function(Ee){Ee===ve&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ue.flattenChunks(this.chunks)),this.chunks=[],this.err=Ee,this.msg=this.strm.msg},He.Deflate=we,He.deflate=xe,He.deflateRaw=function(Ee,ke){return(ke=ke||{}).raw=!0,xe(Ee,ke)},He.gzip=function(Ee,ke){return(ke=ke||{}).gzip=!0,xe(Ee,ke)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(Le,Je,He){"use strict";var Se=Le("./zlib/inflate"),Ue=Le("./utils/common"),fe=Le("./utils/strings"),Ce=Le("./zlib/constants"),oe=Le("./zlib/messages"),Oe=Le("./zlib/zstream"),ve=Le("./zlib/gzheader"),Me=Object.prototype.toString;function Ie(we){if(!(this instanceof Ie))return new Ie(we);this.options=Ue.assign({chunkSize:16384,windowBits:0,to:""},we||{});var xe=this.options;xe.raw&&0<=xe.windowBits&&xe.windowBits<16&&(xe.windowBits=-xe.windowBits,xe.windowBits===0&&(xe.windowBits=-15)),!(0<=xe.windowBits&&xe.windowBits<16)||we&&we.windowBits||(xe.windowBits+=32),15<xe.windowBits&&xe.windowBits<48&&!(15&xe.windowBits)&&(xe.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Oe,this.strm.avail_out=0;var Ee=Se.inflateInit2(this.strm,xe.windowBits);if(Ee!==Ce.Z_OK)throw new Error(oe[Ee]);this.header=new ve,Se.inflateGetHeader(this.strm,this.header)}function _e(we,xe){var Ee=new Ie(xe);if(Ee.push(we,!0),Ee.err)throw Ee.msg||oe[Ee.err];return Ee.result}Ie.prototype.push=function(we,xe){var Ee,ke,ze,Qe,Re,et,Ge=this.strm,lt=this.options.chunkSize,it=this.options.dictionary,ft=!1;if(this.ended)return!1;ke=xe===~~xe?xe:xe===!0?Ce.Z_FINISH:Ce.Z_NO_FLUSH,typeof we=="string"?Ge.input=fe.binstring2buf(we):Me.call(we)==="[object ArrayBuffer]"?Ge.input=new Uint8Array(we):Ge.input=we,Ge.next_in=0,Ge.avail_in=Ge.input.length;do{if(Ge.avail_out===0&&(Ge.output=new Ue.Buf8(lt),Ge.next_out=0,Ge.avail_out=lt),(Ee=Se.inflate(Ge,Ce.Z_NO_FLUSH))===Ce.Z_NEED_DICT&&it&&(et=typeof it=="string"?fe.string2buf(it):Me.call(it)==="[object ArrayBuffer]"?new Uint8Array(it):it,Ee=Se.inflateSetDictionary(this.strm,et)),Ee===Ce.Z_BUF_ERROR&&ft===!0&&(Ee=Ce.Z_OK,ft=!1),Ee!==Ce.Z_STREAM_END&&Ee!==Ce.Z_OK)return this.onEnd(Ee),!(this.ended=!0);Ge.next_out&&(Ge.avail_out!==0&&Ee!==Ce.Z_STREAM_END&&(Ge.avail_in!==0||ke!==Ce.Z_FINISH&&ke!==Ce.Z_SYNC_FLUSH)||(this.options.to==="string"?(ze=fe.utf8border(Ge.output,Ge.next_out),Qe=Ge.next_out-ze,Re=fe.buf2string(Ge.output,ze),Ge.next_out=Qe,Ge.avail_out=lt-Qe,Qe&&Ue.arraySet(Ge.output,Ge.output,ze,Qe,0),this.onData(Re)):this.onData(Ue.shrinkBuf(Ge.output,Ge.next_out)))),Ge.avail_in===0&&Ge.avail_out===0&&(ft=!0)}while((0<Ge.avail_in||Ge.avail_out===0)&&Ee!==Ce.Z_STREAM_END);return Ee===Ce.Z_STREAM_END&&(ke=Ce.Z_FINISH),ke===Ce.Z_FINISH?(Ee=Se.inflateEnd(this.strm),this.onEnd(Ee),this.ended=!0,Ee===Ce.Z_OK):ke!==Ce.Z_SYNC_FLUSH||(this.onEnd(Ce.Z_OK),!(Ge.avail_out=0))},Ie.prototype.onData=function(we){this.chunks.push(we)},Ie.prototype.onEnd=function(we){we===Ce.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ue.flattenChunks(this.chunks)),this.chunks=[],this.err=we,this.msg=this.strm.msg},He.Inflate=Ie,He.inflate=_e,He.inflateRaw=function(we,xe){return(xe=xe||{}).raw=!0,_e(we,xe)},He.ungzip=_e},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(Le,Je,He){"use strict";var Se=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";He.assign=function(Ce){for(var oe=Array.prototype.slice.call(arguments,1);oe.length;){var Oe=oe.shift();if(Oe){if(typeof Oe!="object")throw new TypeError(Oe+"must be non-object");for(var ve in Oe)Oe.hasOwnProperty(ve)&&(Ce[ve]=Oe[ve])}}return Ce},He.shrinkBuf=function(Ce,oe){return Ce.length===oe?Ce:Ce.subarray?Ce.subarray(0,oe):(Ce.length=oe,Ce)};var Ue={arraySet:function(Ce,oe,Oe,ve,Me){if(oe.subarray&&Ce.subarray)Ce.set(oe.subarray(Oe,Oe+ve),Me);else for(var Ie=0;Ie<ve;Ie++)Ce[Me+Ie]=oe[Oe+Ie]},flattenChunks:function(Ce){var oe,Oe,ve,Me,Ie,_e;for(oe=ve=0,Oe=Ce.length;oe<Oe;oe++)ve+=Ce[oe].length;for(_e=new Uint8Array(ve),oe=Me=0,Oe=Ce.length;oe<Oe;oe++)Ie=Ce[oe],_e.set(Ie,Me),Me+=Ie.length;return _e}},fe={arraySet:function(Ce,oe,Oe,ve,Me){for(var Ie=0;Ie<ve;Ie++)Ce[Me+Ie]=oe[Oe+Ie]},flattenChunks:function(Ce){return[].concat.apply([],Ce)}};He.setTyped=function(Ce){Ce?(He.Buf8=Uint8Array,He.Buf16=Uint16Array,He.Buf32=Int32Array,He.assign(He,Ue)):(He.Buf8=Array,He.Buf16=Array,He.Buf32=Array,He.assign(He,fe))},He.setTyped(Se)},{}],42:[function(Le,Je,He){"use strict";var Se=Le("./common"),Ue=!0,fe=!0;try{String.fromCharCode.apply(null,[0])}catch(ve){Ue=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(ve){fe=!1}for(var Ce=new Se.Buf8(256),oe=0;oe<256;oe++)Ce[oe]=252<=oe?6:248<=oe?5:240<=oe?4:224<=oe?3:192<=oe?2:1;function Oe(ve,Me){if(Me<65537&&(ve.subarray&&fe||!ve.subarray&&Ue))return String.fromCharCode.apply(null,Se.shrinkBuf(ve,Me));for(var Ie="",_e=0;_e<Me;_e++)Ie+=String.fromCharCode(ve[_e]);return Ie}Ce[254]=Ce[254]=1,He.string2buf=function(ve){var Me,Ie,_e,we,xe,Ee=ve.length,ke=0;for(we=0;we<Ee;we++)(64512&(Ie=ve.charCodeAt(we)))==55296&&we+1<Ee&&(64512&(_e=ve.charCodeAt(we+1)))==56320&&(Ie=65536+(Ie-55296<<10)+(_e-56320),we++),ke+=Ie<128?1:Ie<2048?2:Ie<65536?3:4;for(Me=new Se.Buf8(ke),we=xe=0;xe<ke;we++)(64512&(Ie=ve.charCodeAt(we)))==55296&&we+1<Ee&&(64512&(_e=ve.charCodeAt(we+1)))==56320&&(Ie=65536+(Ie-55296<<10)+(_e-56320),we++),Ie<128?Me[xe++]=Ie:(Ie<2048?Me[xe++]=192|Ie>>>6:(Ie<65536?Me[xe++]=224|Ie>>>12:(Me[xe++]=240|Ie>>>18,Me[xe++]=128|Ie>>>12&63),Me[xe++]=128|Ie>>>6&63),Me[xe++]=128|63&Ie);return Me},He.buf2binstring=function(ve){return Oe(ve,ve.length)},He.binstring2buf=function(ve){for(var Me=new Se.Buf8(ve.length),Ie=0,_e=Me.length;Ie<_e;Ie++)Me[Ie]=ve.charCodeAt(Ie);return Me},He.buf2string=function(ve,Me){var Ie,_e,we,xe,Ee=Me||ve.length,ke=new Array(2*Ee);for(Ie=_e=0;Ie<Ee;)if((we=ve[Ie++])<128)ke[_e++]=we;else if(4<(xe=Ce[we]))ke[_e++]=65533,Ie+=xe-1;else{for(we&=xe===2?31:xe===3?15:7;1<xe&&Ie<Ee;)we=we<<6|63&ve[Ie++],xe--;1<xe?ke[_e++]=65533:we<65536?ke[_e++]=we:(we-=65536,ke[_e++]=55296|we>>10&1023,ke[_e++]=56320|1023&we)}return Oe(ke,_e)},He.utf8border=function(ve,Me){var Ie;for((Me=Me||ve.length)>ve.length&&(Me=ve.length),Ie=Me-1;0<=Ie&&(192&ve[Ie])==128;)Ie--;return Ie<0||Ie===0?Me:Ie+Ce[ve[Ie]]>Me?Ie:Me}},{"./common":41}],43:[function(Le,Je,He){"use strict";Je.exports=function(Se,Ue,fe,Ce){for(var oe=65535&Se|0,Oe=Se>>>16&65535|0,ve=0;fe!==0;){for(fe-=ve=2e3<fe?2e3:fe;Oe=Oe+(oe=oe+Ue[Ce++]|0)|0,--ve;);oe%=65521,Oe%=65521}return oe|Oe<<16|0}},{}],44:[function(Le,Je,He){"use strict";Je.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,Je,He){"use strict";var Se=function(){for(var Ue,fe=[],Ce=0;Ce<256;Ce++){Ue=Ce;for(var oe=0;oe<8;oe++)Ue=1&Ue?3988292384^Ue>>>1:Ue>>>1;fe[Ce]=Ue}return fe}();Je.exports=function(Ue,fe,Ce,oe){var Oe=Se,ve=oe+Ce;Ue^=-1;for(var Me=oe;Me<ve;Me++)Ue=Ue>>>8^Oe[255&(Ue^fe[Me])];return-1^Ue}},{}],46:[function(Le,Je,He){"use strict";var Se,Ue=Le("../utils/common"),fe=Le("./trees"),Ce=Le("./adler32"),oe=Le("./crc32"),Oe=Le("./messages"),ve=0,Me=4,Ie=0,_e=-2,we=-1,xe=4,Ee=2,ke=8,ze=9,Qe=286,Re=30,et=19,Ge=2*Qe+1,lt=15,it=3,ft=258,bt=ft+it+1,je=42,ht=113,Ne=1,We=2,Ut=3,ot=4;function yt(de,ge){return de.msg=Oe[ge],ge}function Ft(de){return(de<<1)-(4<de?9:0)}function Ze(de){for(var ge=de.length;0<=--ge;)de[ge]=0}function Te(de){var ge=de.state,ie=ge.pending;ie>de.avail_out&&(ie=de.avail_out),ie!==0&&(Ue.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,Te(de.strm)}function Zt(de,ge){de.pending_buf[de.pending++]=ge}function Kt(de,ge){de.pending_buf[de.pending++]=ge>>>8&255,de.pending_buf[de.pending++]=255&ge}function rt(de,ge){var ie,ee,le=de.max_chain_length,se=de.strstart,Be=de.prev_length,$e=de.nice_match,at=de.strstart>de.w_size-bt?de.strstart-(de.w_size-bt):0,pt=de.window,gt=de.w_mask,Bt=de.prev,Lt=de.strstart+ft,Rt=pt[se+Be-1],Ct=pt[se+Be];de.prev_length>=de.good_match&&(le>>=2),$e>de.lookahead&&($e=de.lookahead);do if(pt[(ie=ge)+Be]===Ct&&pt[ie+Be-1]===Rt&&pt[ie]===pt[se]&&pt[++ie]===pt[se+1]){se+=2,ie++;do;while(pt[++se]===pt[++ie]&&pt[++se]===pt[++ie]&&pt[++se]===pt[++ie]&&pt[++se]===pt[++ie]&&pt[++se]===pt[++ie]&&pt[++se]===pt[++ie]&&pt[++se]===pt[++ie]&&pt[++se]===pt[++ie]&&se<Lt);if(ee=ft-(Lt-se),se=Lt-ft,Be<ee){if(de.match_start=ge,$e<=(Be=ee))break;Rt=pt[se+Be-1],Ct=pt[se+Be]}}while((ge=Bt[ge&gt])>at&&--le!=0);return Be<=de.lookahead?Be:de.lookahead}function Nt(de){var ge,ie,ee,le,se,Be,$e,at,pt,gt,Bt=de.w_size;do{if(le=de.window_size-de.lookahead-de.strstart,de.strstart>=Bt+(Bt-bt)){for(Ue.arraySet(de.window,de.window,Bt,Bt,0),de.match_start-=Bt,de.strstart-=Bt,de.block_start-=Bt,ge=ie=de.hash_size;ee=de.head[--ge],de.head[ge]=Bt<=ee?ee-Bt:0,--ie;);for(ge=ie=Bt;ee=de.prev[--ge],de.prev[ge]=Bt<=ee?ee-Bt:0,--ie;);le+=Bt}if(de.strm.avail_in===0)break;if(Be=de.strm,$e=de.window,at=de.strstart+de.lookahead,pt=le,gt=void 0,gt=Be.avail_in,pt<gt&&(gt=pt),ie=gt===0?0:(Be.avail_in-=gt,Ue.arraySet($e,Be.input,Be.next_in,gt,at),Be.state.wrap===1?Be.adler=Ce(Be.adler,$e,gt,at):Be.state.wrap===2&&(Be.adler=oe(Be.adler,$e,gt,at)),Be.next_in+=gt,Be.total_in+=gt,gt),de.lookahead+=ie,de.lookahead+de.insert>=it)for(se=de.strstart-de.insert,de.ins_h=de.window[se],de.ins_h=(de.ins_h<<de.hash_shift^de.window[se+1])&de.hash_mask;de.insert&&(de.ins_h=(de.ins_h<<de.hash_shift^de.window[se+it-1])&de.hash_mask,de.prev[se&de.w_mask]=de.head[de.ins_h],de.head[de.ins_h]=se,se++,de.insert--,!(de.lookahead+de.insert<it)););}while(de.lookahead<bt&&de.strm.avail_in!==0)}function Qt(de,ge){for(var ie,ee;;){if(de.lookahead<bt){if(Nt(de),de.lookahead<bt&&ge===ve)return Ne;if(de.lookahead===0)break}if(ie=0,de.lookahead>=it&&(de.ins_h=(de.ins_h<<de.hash_shift^de.window[de.strstart+it-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-bt&&(de.match_length=rt(de,ie)),de.match_length>=it)if(ee=fe._tr_tally(de,de.strstart-de.match_start,de.match_length-it),de.lookahead-=de.match_length,de.match_length<=de.max_lazy_match&&de.lookahead>=it){for(de.match_length--;de.strstart++,de.ins_h=(de.ins_h<<de.hash_shift^de.window[de.strstart+it-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<it-1?de.strstart:it-1,ge===Me?(At(de,!0),de.strm.avail_out===0?Ut:ot):de.last_lit&&(At(de,!1),de.strm.avail_out===0)?Ne:We}function pn(de,ge){for(var ie,ee,le;;){if(de.lookahead<bt){if(Nt(de),de.lookahead<bt&&ge===ve)return Ne;if(de.lookahead===0)break}if(ie=0,de.lookahead>=it&&(de.ins_h=(de.ins_h<<de.hash_shift^de.window[de.strstart+it-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=it-1,ie!==0&&de.prev_length<de.max_lazy_match&&de.strstart-ie<=de.w_size-bt&&(de.match_length=rt(de,ie),de.match_length<=5&&(de.strategy===1||de.match_length===it&&4096<de.strstart-de.match_start)&&(de.match_length=it-1)),de.prev_length>=it&&de.match_length<=de.prev_length){for(le=de.strstart+de.lookahead-it,ee=fe._tr_tally(de,de.strstart-1-de.prev_match,de.prev_length-it),de.lookahead-=de.prev_length-1,de.prev_length-=2;++de.strstart<=le&&(de.ins_h=(de.ins_h<<de.hash_shift^de.window[de.strstart+it-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=it-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<it-1?de.strstart:it-1,ge===Me?(At(de,!0),de.strm.avail_out===0?Ut:ot):de.last_lit&&(At(de,!1),de.strm.avail_out===0)?Ne:We}function Ot(de,ge,ie,ee,le){this.good_length=de,this.max_lazy=ge,this.nice_length=ie,this.max_chain=ee,this.func=le}function vn(){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=ke,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 Ue.Buf16(2*Ge),this.dyn_dtree=new Ue.Buf16(2*(2*Re+1)),this.bl_tree=new Ue.Buf16(2*(2*et+1)),Ze(this.dyn_ltree),Ze(this.dyn_dtree),Ze(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Ue.Buf16(lt+1),this.heap=new Ue.Buf16(2*Qe+1),Ze(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Ue.Buf16(2*Qe+1),Ze(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function _t(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?je:ht,de.adler=ge.wrap===2?0:1,ge.last_flush=ve,fe._tr_init(ge),Ie):yt(de,_e)}function Fn(de){var ge=_t(de);return ge===Ie&&function(ie){ie.window_size=2*ie.w_size,Ze(ie.head),ie.max_lazy_match=Se[ie.level].max_lazy,ie.good_match=Se[ie.level].good_length,ie.nice_match=Se[ie.level].nice_length,ie.max_chain_length=Se[ie.level].max_chain,ie.strstart=0,ie.block_start=0,ie.lookahead=0,ie.insert=0,ie.match_length=ie.prev_length=it-1,ie.match_available=0,ie.ins_h=0}(de.state),ge}function on(de,ge,ie,ee,le,se){if(!de)return _e;var Be=1;if(ge===we&&(ge=6),ee<0?(Be=0,ee=-ee):15<ee&&(Be=2,ee-=16),le<1||ze<le||ie!==ke||ee<8||15<ee||ge<0||9<ge||se<0||xe<se)return yt(de,_e);ee===8&&(ee=9);var $e=new vn;return(de.state=$e).strm=de,$e.wrap=Be,$e.gzhead=null,$e.w_bits=ee,$e.w_size=1<<$e.w_bits,$e.w_mask=$e.w_size-1,$e.hash_bits=le+7,$e.hash_size=1<<$e.hash_bits,$e.hash_mask=$e.hash_size-1,$e.hash_shift=~~(($e.hash_bits+it-1)/it),$e.window=new Ue.Buf8(2*$e.w_size),$e.head=new Ue.Buf16($e.hash_size),$e.prev=new Ue.Buf16($e.w_size),$e.lit_bufsize=1<<le+6,$e.pending_buf_size=4*$e.lit_bufsize,$e.pending_buf=new Ue.Buf8($e.pending_buf_size),$e.d_buf=1*$e.lit_bufsize,$e.l_buf=3*$e.lit_bufsize,$e.level=ge,$e.strategy=se,$e.method=ie,Fn(de)}Se=[new Ot(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(Nt(de),de.lookahead===0&&ge===ve)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-bt&&(At(de,!1),de.strm.avail_out===0))return Ne}return de.insert=0,ge===Me?(At(de,!0),de.strm.avail_out===0?Ut:ot):(de.strstart>de.block_start&&(At(de,!1),de.strm.avail_out),Ne)}),new Ot(4,4,8,4,Qt),new Ot(4,5,16,8,Qt),new Ot(4,6,32,32,Qt),new Ot(4,4,16,16,pn),new Ot(8,16,32,32,pn),new Ot(8,16,128,128,pn),new Ot(8,32,128,256,pn),new Ot(32,128,258,1024,pn),new Ot(32,258,258,4096,pn)],He.deflateInit=function(de,ge){return on(de,ge,ke,15,8,0)},He.deflateInit2=on,He.deflateReset=Fn,He.deflateResetKeep=_t,He.deflateSetHeader=function(de,ge){return de&&de.state?de.state.wrap!==2?_e:(de.state.gzhead=ge,Ie):_e},He.deflate=function(de,ge){var ie,ee,le,se;if(!de||!de.state||5<ge||ge<0)return de?yt(de,_e):_e;if(ee=de.state,!de.output||!de.input&&de.avail_in!==0||ee.status===666&&ge!==Me)return yt(de,de.avail_out===0?-5:_e);if(ee.strm=de,ie=ee.last_flush,ee.last_flush=ge,ee.status===je)if(ee.wrap===2)de.adler=0,Zt(ee,31),Zt(ee,139),Zt(ee,8),ee.gzhead?(Zt(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)),Zt(ee,255&ee.gzhead.time),Zt(ee,ee.gzhead.time>>8&255),Zt(ee,ee.gzhead.time>>16&255),Zt(ee,ee.gzhead.time>>24&255),Zt(ee,ee.level===9?2:2<=ee.strategy||ee.level<2?4:0),Zt(ee,255&ee.gzhead.os),ee.gzhead.extra&&ee.gzhead.extra.length&&(Zt(ee,255&ee.gzhead.extra.length),Zt(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):(Zt(ee,0),Zt(ee,0),Zt(ee,0),Zt(ee,0),Zt(ee,0),Zt(ee,ee.level===9?2:2<=ee.strategy||ee.level<2?4:0),Zt(ee,3),ee.status=ht);else{var Be=ke+(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=ht,Kt(ee,Be),ee.strstart!==0&&(Kt(ee,de.adler>>>16),Kt(ee,65535&de.adler)),de.adler=1}if(ee.status===69)if(ee.gzhead.extra){for(le=ee.pending;ee.gzindex<(65535&ee.gzhead.extra.length)&&(ee.pending!==ee.pending_buf_size||(ee.gzhead.hcrc&&ee.pending>le&&(de.adler=oe(de.adler,ee.pending_buf,ee.pending-le,le)),Te(de),le=ee.pending,ee.pending!==ee.pending_buf_size));)Zt(ee,255&ee.gzhead.extra[ee.gzindex]),ee.gzindex++;ee.gzhead.hcrc&&ee.pending>le&&(de.adler=oe(de.adler,ee.pending_buf,ee.pending-le,le)),ee.gzindex===ee.gzhead.extra.length&&(ee.gzindex=0,ee.status=73)}else ee.status=73;if(ee.status===73)if(ee.gzhead.name){le=ee.pending;do{if(ee.pending===ee.pending_buf_size&&(ee.gzhead.hcrc&&ee.pending>le&&(de.adler=oe(de.adler,ee.pending_buf,ee.pending-le,le)),Te(de),le=ee.pending,ee.pending===ee.pending_buf_size)){se=1;break}se=ee.gzindex<ee.gzhead.name.length?255&ee.gzhead.name.charCodeAt(ee.gzindex++):0,Zt(ee,se)}while(se!==0);ee.gzhead.hcrc&&ee.pending>le&&(de.adler=oe(de.adler,ee.pending_buf,ee.pending-le,le)),se===0&&(ee.gzindex=0,ee.status=91)}else ee.status=91;if(ee.status===91)if(ee.gzhead.comment){le=ee.pending;do{if(ee.pending===ee.pending_buf_size&&(ee.gzhead.hcrc&&ee.pending>le&&(de.adler=oe(de.adler,ee.pending_buf,ee.pending-le,le)),Te(de),le=ee.pending,ee.pending===ee.pending_buf_size)){se=1;break}se=ee.gzindex<ee.gzhead.comment.length?255&ee.gzhead.comment.charCodeAt(ee.gzindex++):0,Zt(ee,se)}while(se!==0);ee.gzhead.hcrc&&ee.pending>le&&(de.adler=oe(de.adler,ee.pending_buf,ee.pending-le,le)),se===0&&(ee.status=103)}else ee.status=103;if(ee.status===103&&(ee.gzhead.hcrc?(ee.pending+2>ee.pending_buf_size&&Te(de),ee.pending+2<=ee.pending_buf_size&&(Zt(ee,255&de.adler),Zt(ee,de.adler>>8&255),de.adler=0,ee.status=ht)):ee.status=ht),ee.pending!==0){if(Te(de),de.avail_out===0)return ee.last_flush=-1,Ie}else if(de.avail_in===0&&Ft(ge)<=Ft(ie)&&ge!==Me)return yt(de,-5);if(ee.status===666&&de.avail_in!==0)return yt(de,-5);if(de.avail_in!==0||ee.lookahead!==0||ge!==ve&&ee.status!==666){var $e=ee.strategy===2?function(at,pt){for(var gt;;){if(at.lookahead===0&&(Nt(at),at.lookahead===0)){if(pt===ve)return Ne;break}if(at.match_length=0,gt=fe._tr_tally(at,0,at.window[at.strstart]),at.lookahead--,at.strstart++,gt&&(At(at,!1),at.strm.avail_out===0))return Ne}return at.insert=0,pt===Me?(At(at,!0),at.strm.avail_out===0?Ut:ot):at.last_lit&&(At(at,!1),at.strm.avail_out===0)?Ne:We}(ee,ge):ee.strategy===3?function(at,pt){for(var gt,Bt,Lt,Rt,Ct=at.window;;){if(at.lookahead<=ft){if(Nt(at),at.lookahead<=ft&&pt===ve)return Ne;if(at.lookahead===0)break}if(at.match_length=0,at.lookahead>=it&&0<at.strstart&&(Bt=Ct[Lt=at.strstart-1])===Ct[++Lt]&&Bt===Ct[++Lt]&&Bt===Ct[++Lt]){Rt=at.strstart+ft;do;while(Bt===Ct[++Lt]&&Bt===Ct[++Lt]&&Bt===Ct[++Lt]&&Bt===Ct[++Lt]&&Bt===Ct[++Lt]&&Bt===Ct[++Lt]&&Bt===Ct[++Lt]&&Bt===Ct[++Lt]&&Lt<Rt);at.match_length=ft-(Rt-Lt),at.match_length>at.lookahead&&(at.match_length=at.lookahead)}if(at.match_length>=it?(gt=fe._tr_tally(at,1,at.match_length-it),at.lookahead-=at.match_length,at.strstart+=at.match_length,at.match_length=0):(gt=fe._tr_tally(at,0,at.window[at.strstart]),at.lookahead--,at.strstart++),gt&&(At(at,!1),at.strm.avail_out===0))return Ne}return at.insert=0,pt===Me?(At(at,!0),at.strm.avail_out===0?Ut:ot):at.last_lit&&(At(at,!1),at.strm.avail_out===0)?Ne:We}(ee,ge):Se[ee.level].func(ee,ge);if($e!==Ut&&$e!==ot||(ee.status=666),$e===Ne||$e===Ut)return de.avail_out===0&&(ee.last_flush=-1),Ie;if($e===We&&(ge===1?fe._tr_align(ee):ge!==5&&(fe._tr_stored_block(ee,0,0,!1),ge===3&&(Ze(ee.head),ee.lookahead===0&&(ee.strstart=0,ee.block_start=0,ee.insert=0))),Te(de),de.avail_out===0))return ee.last_flush=-1,Ie}return ge!==Me?Ie:ee.wrap<=0?1:(ee.wrap===2?(Zt(ee,255&de.adler),Zt(ee,de.adler>>8&255),Zt(ee,de.adler>>16&255),Zt(ee,de.adler>>24&255),Zt(ee,255&de.total_in),Zt(ee,de.total_in>>8&255),Zt(ee,de.total_in>>16&255),Zt(ee,de.total_in>>24&255)):(Kt(ee,de.adler>>>16),Kt(ee,65535&de.adler)),Te(de),0<ee.wrap&&(ee.wrap=-ee.wrap),ee.pending!==0?Ie:1)},He.deflateEnd=function(de){var ge;return de&&de.state?(ge=de.state.status)!==je&&ge!==69&&ge!==73&&ge!==91&&ge!==103&&ge!==ht&&ge!==666?yt(de,_e):(de.state=null,ge===ht?yt(de,-3):Ie):_e},He.deflateSetDictionary=function(de,ge){var ie,ee,le,se,Be,$e,at,pt,gt=ge.length;if(!de||!de.state||(se=(ie=de.state).wrap)===2||se===1&&ie.status!==je||ie.lookahead)return _e;for(se===1&&(de.adler=Ce(de.adler,ge,gt,0)),ie.wrap=0,gt>=ie.w_size&&(se===0&&(Ze(ie.head),ie.strstart=0,ie.block_start=0,ie.insert=0),pt=new Ue.Buf8(ie.w_size),Ue.arraySet(pt,ge,gt-ie.w_size,ie.w_size,0),ge=pt,gt=ie.w_size),Be=de.avail_in,$e=de.next_in,at=de.input,de.avail_in=gt,de.next_in=0,de.input=ge,Nt(ie);ie.lookahead>=it;){for(ee=ie.strstart,le=ie.lookahead-(it-1);ie.ins_h=(ie.ins_h<<ie.hash_shift^ie.window[ee+it-1])&ie.hash_mask,ie.prev[ee&ie.w_mask]=ie.head[ie.ins_h],ie.head[ie.ins_h]=ee,ee++,--le;);ie.strstart=ee,ie.lookahead=it-1,Nt(ie)}return ie.strstart+=ie.lookahead,ie.block_start=ie.strstart,ie.insert=ie.lookahead,ie.lookahead=0,ie.match_length=ie.prev_length=it-1,ie.match_available=0,de.next_in=$e,de.input=at,de.avail_in=Be,ie.wrap=se,Ie},He.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(Le,Je,He){"use strict";Je.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,Je,He){"use strict";Je.exports=function(Se,Ue){var fe,Ce,oe,Oe,ve,Me,Ie,_e,we,xe,Ee,ke,ze,Qe,Re,et,Ge,lt,it,ft,bt,je,ht,Ne,We;fe=Se.state,Ce=Se.next_in,Ne=Se.input,oe=Ce+(Se.avail_in-5),Oe=Se.next_out,We=Se.output,ve=Oe-(Ue-Se.avail_out),Me=Oe+(Se.avail_out-257),Ie=fe.dmax,_e=fe.wsize,we=fe.whave,xe=fe.wnext,Ee=fe.window,ke=fe.hold,ze=fe.bits,Qe=fe.lencode,Re=fe.distcode,et=(1<<fe.lenbits)-1,Ge=(1<<fe.distbits)-1;e:do{ze<15&&(ke+=Ne[Ce++]<<ze,ze+=8,ke+=Ne[Ce++]<<ze,ze+=8),lt=Qe[ke&et];t:for(;;){if(ke>>>=it=lt>>>24,ze-=it,(it=lt>>>16&255)===0)We[Oe++]=65535&lt;else{if(!(16&it)){if(!(64&it)){lt=Qe[(65535&lt)+(ke&(1<<it)-1)];continue t}if(32&it){fe.mode=12;break e}Se.msg="invalid literal/length code",fe.mode=30;break e}ft=65535&lt,(it&=15)&&(ze<it&&(ke+=Ne[Ce++]<<ze,ze+=8),ft+=ke&(1<<it)-1,ke>>>=it,ze-=it),ze<15&&(ke+=Ne[Ce++]<<ze,ze+=8,ke+=Ne[Ce++]<<ze,ze+=8),lt=Re[ke&Ge];n:for(;;){if(ke>>>=it=lt>>>24,ze-=it,!(16&(it=lt>>>16&255))){if(!(64&it)){lt=Re[(65535&lt)+(ke&(1<<it)-1)];continue n}Se.msg="invalid distance code",fe.mode=30;break e}if(bt=65535&lt,ze<(it&=15)&&(ke+=Ne[Ce++]<<ze,(ze+=8)<it&&(ke+=Ne[Ce++]<<ze,ze+=8)),Ie<(bt+=ke&(1<<it)-1)){Se.msg="invalid distance too far back",fe.mode=30;break e}if(ke>>>=it,ze-=it,(it=Oe-ve)<bt){if(we<(it=bt-it)&&fe.sane){Se.msg="invalid distance too far back",fe.mode=30;break e}if(ht=Ee,(je=0)===xe){if(je+=_e-it,it<ft){for(ft-=it;We[Oe++]=Ee[je++],--it;);je=Oe-bt,ht=We}}else if(xe<it){if(je+=_e+xe-it,(it-=xe)<ft){for(ft-=it;We[Oe++]=Ee[je++],--it;);if(je=0,xe<ft){for(ft-=it=xe;We[Oe++]=Ee[je++],--it;);je=Oe-bt,ht=We}}}else if(je+=xe-it,it<ft){for(ft-=it;We[Oe++]=Ee[je++],--it;);je=Oe-bt,ht=We}for(;2<ft;)We[Oe++]=ht[je++],We[Oe++]=ht[je++],We[Oe++]=ht[je++],ft-=3;ft&&(We[Oe++]=ht[je++],1<ft&&(We[Oe++]=ht[je++]))}else{for(je=Oe-bt;We[Oe++]=We[je++],We[Oe++]=We[je++],We[Oe++]=We[je++],2<(ft-=3););ft&&(We[Oe++]=We[je++],1<ft&&(We[Oe++]=We[je++]))}break}}break}}while(Ce<oe&&Oe<Me);Ce-=ft=ze>>3,ke&=(1<<(ze-=ft<<3))-1,Se.next_in=Ce,Se.next_out=Oe,Se.avail_in=Ce<oe?oe-Ce+5:5-(Ce-oe),Se.avail_out=Oe<Me?Me-Oe+257:257-(Oe-Me),fe.hold=ke,fe.bits=ze}},{}],49:[function(Le,Je,He){"use strict";var Se=Le("../utils/common"),Ue=Le("./adler32"),fe=Le("./crc32"),Ce=Le("./inffast"),oe=Le("./inftrees"),Oe=1,ve=2,Me=0,Ie=-2,_e=1,we=852,xe=592;function Ee(je){return(je>>>24&255)+(je>>>8&65280)+((65280&je)<<8)+((255&je)<<24)}function ke(){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 Se.Buf16(320),this.work=new Se.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function ze(je){var ht;return je&&je.state?(ht=je.state,je.total_in=je.total_out=ht.total=0,je.msg="",ht.wrap&&(je.adler=1&ht.wrap),ht.mode=_e,ht.last=0,ht.havedict=0,ht.dmax=32768,ht.head=null,ht.hold=0,ht.bits=0,ht.lencode=ht.lendyn=new Se.Buf32(we),ht.distcode=ht.distdyn=new Se.Buf32(xe),ht.sane=1,ht.back=-1,Me):Ie}function Qe(je){var ht;return je&&je.state?((ht=je.state).wsize=0,ht.whave=0,ht.wnext=0,ze(je)):Ie}function Re(je,ht){var Ne,We;return je&&je.state?(We=je.state,ht<0?(Ne=0,ht=-ht):(Ne=1+(ht>>4),ht<48&&(ht&=15)),ht&&(ht<8||15<ht)?Ie:(We.window!==null&&We.wbits!==ht&&(We.window=null),We.wrap=Ne,We.wbits=ht,Qe(je))):Ie}function et(je,ht){var Ne,We;return je?(We=new ke,(je.state=We).window=null,(Ne=Re(je,ht))!==Me&&(je.state=null),Ne):Ie}var Ge,lt,it=!0;function ft(je){if(it){var ht;for(Ge=new Se.Buf32(512),lt=new Se.Buf32(32),ht=0;ht<144;)je.lens[ht++]=8;for(;ht<256;)je.lens[ht++]=9;for(;ht<280;)je.lens[ht++]=7;for(;ht<288;)je.lens[ht++]=8;for(oe(Oe,je.lens,0,288,Ge,0,je.work,{bits:9}),ht=0;ht<32;)je.lens[ht++]=5;oe(ve,je.lens,0,32,lt,0,je.work,{bits:5}),it=!1}je.lencode=Ge,je.lenbits=9,je.distcode=lt,je.distbits=5}function bt(je,ht,Ne,We){var Ut,ot=je.state;return ot.window===null&&(ot.wsize=1<<ot.wbits,ot.wnext=0,ot.whave=0,ot.window=new Se.Buf8(ot.wsize)),We>=ot.wsize?(Se.arraySet(ot.window,ht,Ne-ot.wsize,ot.wsize,0),ot.wnext=0,ot.whave=ot.wsize):(We<(Ut=ot.wsize-ot.wnext)&&(Ut=We),Se.arraySet(ot.window,ht,Ne-We,Ut,ot.wnext),(We-=Ut)?(Se.arraySet(ot.window,ht,Ne-We,We,0),ot.wnext=We,ot.whave=ot.wsize):(ot.wnext+=Ut,ot.wnext===ot.wsize&&(ot.wnext=0),ot.whave<ot.wsize&&(ot.whave+=Ut))),0}He.inflateReset=Qe,He.inflateReset2=Re,He.inflateResetKeep=ze,He.inflateInit=function(je){return et(je,15)},He.inflateInit2=et,He.inflate=function(je,ht){var Ne,We,Ut,ot,yt,Ft,Ze,Te,At,Zt,Kt,rt,Nt,Qt,pn,Ot,vn,_t,Fn,on,de,ge,ie,ee,le=0,se=new Se.Buf8(4),Be=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!je||!je.state||!je.output||!je.input&&je.avail_in!==0)return Ie;(Ne=je.state).mode===12&&(Ne.mode=13),yt=je.next_out,Ut=je.output,Ze=je.avail_out,ot=je.next_in,We=je.input,Ft=je.avail_in,Te=Ne.hold,At=Ne.bits,Zt=Ft,Kt=Ze,ge=Me;e:for(;;)switch(Ne.mode){case _e:if(Ne.wrap===0){Ne.mode=13;break}for(;At<16;){if(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}if(2&Ne.wrap&&Te===35615){se[Ne.check=0]=255&Te,se[1]=Te>>>8&255,Ne.check=fe(Ne.check,se,2,0),At=Te=0,Ne.mode=2;break}if(Ne.flags=0,Ne.head&&(Ne.head.done=!1),!(1&Ne.wrap)||(((255&Te)<<8)+(Te>>8))%31){je.msg="incorrect header check",Ne.mode=30;break}if((15&Te)!=8){je.msg="unknown compression method",Ne.mode=30;break}if(At-=4,de=8+(15&(Te>>>=4)),Ne.wbits===0)Ne.wbits=de;else if(de>Ne.wbits){je.msg="invalid window size",Ne.mode=30;break}Ne.dmax=1<<de,je.adler=Ne.check=1,Ne.mode=512&Te?10:12,At=Te=0;break;case 2:for(;At<16;){if(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}if(Ne.flags=Te,(255&Ne.flags)!=8){je.msg="unknown compression method",Ne.mode=30;break}if(57344&Ne.flags){je.msg="unknown header flags set",Ne.mode=30;break}Ne.head&&(Ne.head.text=Te>>8&1),512&Ne.flags&&(se[0]=255&Te,se[1]=Te>>>8&255,Ne.check=fe(Ne.check,se,2,0)),At=Te=0,Ne.mode=3;case 3:for(;At<32;){if(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}Ne.head&&(Ne.head.time=Te),512&Ne.flags&&(se[0]=255&Te,se[1]=Te>>>8&255,se[2]=Te>>>16&255,se[3]=Te>>>24&255,Ne.check=fe(Ne.check,se,4,0)),At=Te=0,Ne.mode=4;case 4:for(;At<16;){if(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}Ne.head&&(Ne.head.xflags=255&Te,Ne.head.os=Te>>8),512&Ne.flags&&(se[0]=255&Te,se[1]=Te>>>8&255,Ne.check=fe(Ne.check,se,2,0)),At=Te=0,Ne.mode=5;case 5:if(1024&Ne.flags){for(;At<16;){if(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}Ne.length=Te,Ne.head&&(Ne.head.extra_len=Te),512&Ne.flags&&(se[0]=255&Te,se[1]=Te>>>8&255,Ne.check=fe(Ne.check,se,2,0)),At=Te=0}else Ne.head&&(Ne.head.extra=null);Ne.mode=6;case 6:if(1024&Ne.flags&&(Ft<(rt=Ne.length)&&(rt=Ft),rt&&(Ne.head&&(de=Ne.head.extra_len-Ne.length,Ne.head.extra||(Ne.head.extra=new Array(Ne.head.extra_len)),Se.arraySet(Ne.head.extra,We,ot,rt,de)),512&Ne.flags&&(Ne.check=fe(Ne.check,We,rt,ot)),Ft-=rt,ot+=rt,Ne.length-=rt),Ne.length))break e;Ne.length=0,Ne.mode=7;case 7:if(2048&Ne.flags){if(Ft===0)break e;for(rt=0;de=We[ot+rt++],Ne.head&&de&&Ne.length<65536&&(Ne.head.name+=String.fromCharCode(de)),de&&rt<Ft;);if(512&Ne.flags&&(Ne.check=fe(Ne.check,We,rt,ot)),Ft-=rt,ot+=rt,de)break e}else Ne.head&&(Ne.head.name=null);Ne.length=0,Ne.mode=8;case 8:if(4096&Ne.flags){if(Ft===0)break e;for(rt=0;de=We[ot+rt++],Ne.head&&de&&Ne.length<65536&&(Ne.head.comment+=String.fromCharCode(de)),de&&rt<Ft;);if(512&Ne.flags&&(Ne.check=fe(Ne.check,We,rt,ot)),Ft-=rt,ot+=rt,de)break e}else Ne.head&&(Ne.head.comment=null);Ne.mode=9;case 9:if(512&Ne.flags){for(;At<16;){if(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}if(Te!==(65535&Ne.check)){je.msg="header crc mismatch",Ne.mode=30;break}At=Te=0}Ne.head&&(Ne.head.hcrc=Ne.flags>>9&1,Ne.head.done=!0),je.adler=Ne.check=0,Ne.mode=12;break;case 10:for(;At<32;){if(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}je.adler=Ne.check=Ee(Te),At=Te=0,Ne.mode=11;case 11:if(Ne.havedict===0)return je.next_out=yt,je.avail_out=Ze,je.next_in=ot,je.avail_in=Ft,Ne.hold=Te,Ne.bits=At,2;je.adler=Ne.check=1,Ne.mode=12;case 12:if(ht===5||ht===6)break e;case 13:if(Ne.last){Te>>>=7&At,At-=7&At,Ne.mode=27;break}for(;At<3;){if(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}switch(Ne.last=1&Te,At-=1,3&(Te>>>=1)){case 0:Ne.mode=14;break;case 1:if(ft(Ne),Ne.mode=20,ht!==6)break;Te>>>=2,At-=2;break e;case 2:Ne.mode=17;break;case 3:je.msg="invalid block type",Ne.mode=30}Te>>>=2,At-=2;break;case 14:for(Te>>>=7&At,At-=7&At;At<32;){if(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}if((65535&Te)!=(Te>>>16^65535)){je.msg="invalid stored block lengths",Ne.mode=30;break}if(Ne.length=65535&Te,At=Te=0,Ne.mode=15,ht===6)break e;case 15:Ne.mode=16;case 16:if(rt=Ne.length){if(Ft<rt&&(rt=Ft),Ze<rt&&(rt=Ze),rt===0)break e;Se.arraySet(Ut,We,ot,rt,yt),Ft-=rt,ot+=rt,Ze-=rt,yt+=rt,Ne.length-=rt;break}Ne.mode=12;break;case 17:for(;At<14;){if(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}if(Ne.nlen=257+(31&Te),Te>>>=5,At-=5,Ne.ndist=1+(31&Te),Te>>>=5,At-=5,Ne.ncode=4+(15&Te),Te>>>=4,At-=4,286<Ne.nlen||30<Ne.ndist){je.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(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}Ne.lens[Be[Ne.have++]]=7&Te,Te>>>=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){je.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(;Ot=(le=Ne.lencode[Te&(1<<Ne.lenbits)-1])>>>16&255,vn=65535&le,!((pn=le>>>24)<=At);){if(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}if(vn<16)Te>>>=pn,At-=pn,Ne.lens[Ne.have++]=vn;else{if(vn===16){for(ee=pn+2;At<ee;){if(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}if(Te>>>=pn,At-=pn,Ne.have===0){je.msg="invalid bit length repeat",Ne.mode=30;break}de=Ne.lens[Ne.have-1],rt=3+(3&Te),Te>>>=2,At-=2}else if(vn===17){for(ee=pn+3;At<ee;){if(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}At-=pn,de=0,rt=3+(7&(Te>>>=pn)),Te>>>=3,At-=3}else{for(ee=pn+7;At<ee;){if(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}At-=pn,de=0,rt=11+(127&(Te>>>=pn)),Te>>>=7,At-=7}if(Ne.have+rt>Ne.nlen+Ne.ndist){je.msg="invalid bit length repeat",Ne.mode=30;break}for(;rt--;)Ne.lens[Ne.have++]=de}}if(Ne.mode===30)break;if(Ne.lens[256]===0){je.msg="invalid code -- missing end-of-block",Ne.mode=30;break}if(Ne.lenbits=9,ie={bits:Ne.lenbits},ge=oe(Oe,Ne.lens,0,Ne.nlen,Ne.lencode,0,Ne.work,ie),Ne.lenbits=ie.bits,ge){je.msg="invalid literal/lengths set",Ne.mode=30;break}if(Ne.distbits=6,Ne.distcode=Ne.distdyn,ie={bits:Ne.distbits},ge=oe(ve,Ne.lens,Ne.nlen,Ne.ndist,Ne.distcode,0,Ne.work,ie),Ne.distbits=ie.bits,ge){je.msg="invalid distances set",Ne.mode=30;break}if(Ne.mode=20,ht===6)break e;case 20:Ne.mode=21;case 21:if(6<=Ft&&258<=Ze){je.next_out=yt,je.avail_out=Ze,je.next_in=ot,je.avail_in=Ft,Ne.hold=Te,Ne.bits=At,Ce(je,Kt),yt=je.next_out,Ut=je.output,Ze=je.avail_out,ot=je.next_in,We=je.input,Ft=je.avail_in,Te=Ne.hold,At=Ne.bits,Ne.mode===12&&(Ne.back=-1);break}for(Ne.back=0;Ot=(le=Ne.lencode[Te&(1<<Ne.lenbits)-1])>>>16&255,vn=65535&le,!((pn=le>>>24)<=At);){if(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}if(Ot&&!(240&Ot)){for(_t=pn,Fn=Ot,on=vn;Ot=(le=Ne.lencode[on+((Te&(1<<_t+Fn)-1)>>_t)])>>>16&255,vn=65535&le,!(_t+(pn=le>>>24)<=At);){if(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}Te>>>=_t,At-=_t,Ne.back+=_t}if(Te>>>=pn,At-=pn,Ne.back+=pn,Ne.length=vn,Ot===0){Ne.mode=26;break}if(32&Ot){Ne.back=-1,Ne.mode=12;break}if(64&Ot){je.msg="invalid literal/length code",Ne.mode=30;break}Ne.extra=15&Ot,Ne.mode=22;case 22:if(Ne.extra){for(ee=Ne.extra;At<ee;){if(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}Ne.length+=Te&(1<<Ne.extra)-1,Te>>>=Ne.extra,At-=Ne.extra,Ne.back+=Ne.extra}Ne.was=Ne.length,Ne.mode=23;case 23:for(;Ot=(le=Ne.distcode[Te&(1<<Ne.distbits)-1])>>>16&255,vn=65535&le,!((pn=le>>>24)<=At);){if(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}if(!(240&Ot)){for(_t=pn,Fn=Ot,on=vn;Ot=(le=Ne.distcode[on+((Te&(1<<_t+Fn)-1)>>_t)])>>>16&255,vn=65535&le,!(_t+(pn=le>>>24)<=At);){if(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}Te>>>=_t,At-=_t,Ne.back+=_t}if(Te>>>=pn,At-=pn,Ne.back+=pn,64&Ot){je.msg="invalid distance code",Ne.mode=30;break}Ne.offset=vn,Ne.extra=15&Ot,Ne.mode=24;case 24:if(Ne.extra){for(ee=Ne.extra;At<ee;){if(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}Ne.offset+=Te&(1<<Ne.extra)-1,Te>>>=Ne.extra,At-=Ne.extra,Ne.back+=Ne.extra}if(Ne.offset>Ne.dmax){je.msg="invalid distance too far back",Ne.mode=30;break}Ne.mode=25;case 25:if(Ze===0)break e;if(rt=Kt-Ze,Ne.offset>rt){if((rt=Ne.offset-rt)>Ne.whave&&Ne.sane){je.msg="invalid distance too far back",Ne.mode=30;break}Nt=rt>Ne.wnext?(rt-=Ne.wnext,Ne.wsize-rt):Ne.wnext-rt,rt>Ne.length&&(rt=Ne.length),Qt=Ne.window}else Qt=Ut,Nt=yt-Ne.offset,rt=Ne.length;for(Ze<rt&&(rt=Ze),Ze-=rt,Ne.length-=rt;Ut[yt++]=Qt[Nt++],--rt;);Ne.length===0&&(Ne.mode=21);break;case 26:if(Ze===0)break e;Ut[yt++]=Ne.length,Ze--,Ne.mode=21;break;case 27:if(Ne.wrap){for(;At<32;){if(Ft===0)break e;Ft--,Te|=We[ot++]<<At,At+=8}if(Kt-=Ze,je.total_out+=Kt,Ne.total+=Kt,Kt&&(je.adler=Ne.check=Ne.flags?fe(Ne.check,Ut,Kt,yt-Kt):Ue(Ne.check,Ut,Kt,yt-Kt)),Kt=Ze,(Ne.flags?Te:Ee(Te))!==Ne.check){je.msg="incorrect data check",Ne.mode=30;break}At=Te=0}Ne.mode=28;case 28:if(Ne.wrap&&Ne.flags){for(;At<32;){if(Ft===0)break e;Ft--,Te+=We[ot++]<<At,At+=8}if(Te!==(4294967295&Ne.total)){je.msg="incorrect length check",Ne.mode=30;break}At=Te=0}Ne.mode=29;case 29:ge=1;break e;case 30:ge=-3;break e;case 31:return-4;case 32:default:return Ie}return je.next_out=yt,je.avail_out=Ze,je.next_in=ot,je.avail_in=Ft,Ne.hold=Te,Ne.bits=At,(Ne.wsize||Kt!==je.avail_out&&Ne.mode<30&&(Ne.mode<27||ht!==4))&&bt(je,je.output,je.next_out,Kt-je.avail_out)?(Ne.mode=31,-4):(Zt-=je.avail_in,Kt-=je.avail_out,je.total_in+=Zt,je.total_out+=Kt,Ne.total+=Kt,Ne.wrap&&Kt&&(je.adler=Ne.check=Ne.flags?fe(Ne.check,Ut,Kt,je.next_out-Kt):Ue(Ne.check,Ut,Kt,je.next_out-Kt)),je.data_type=Ne.bits+(Ne.last?64:0)+(Ne.mode===12?128:0)+(Ne.mode===20||Ne.mode===15?256:0),(Zt==0&&Kt===0||ht===4)&&ge===Me&&(ge=-5),ge)},He.inflateEnd=function(je){if(!je||!je.state)return Ie;var ht=je.state;return ht.window&&(ht.window=null),je.state=null,Me},He.inflateGetHeader=function(je,ht){var Ne;return je&&je.state&&2&(Ne=je.state).wrap?((Ne.head=ht).done=!1,Me):Ie},He.inflateSetDictionary=function(je,ht){var Ne,We=ht.length;return je&&je.state?(Ne=je.state).wrap!==0&&Ne.mode!==11?Ie:Ne.mode===11&&Ue(1,ht,We,0)!==Ne.check?-3:bt(je,ht,We,We)?(Ne.mode=31,-4):(Ne.havedict=1,Me):Ie},He.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(Le,Je,He){"use strict";var Se=Le("../utils/common"),Ue=[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],Ce=[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];Je.exports=function(Oe,ve,Me,Ie,_e,we,xe,Ee){var ke,ze,Qe,Re,et,Ge,lt,it,ft,bt=Ee.bits,je=0,ht=0,Ne=0,We=0,Ut=0,ot=0,yt=0,Ft=0,Ze=0,Te=0,At=null,Zt=0,Kt=new Se.Buf16(16),rt=new Se.Buf16(16),Nt=null,Qt=0;for(je=0;je<=15;je++)Kt[je]=0;for(ht=0;ht<Ie;ht++)Kt[ve[Me+ht]]++;for(Ut=bt,We=15;1<=We&&Kt[We]===0;We--);if(We<Ut&&(Ut=We),We===0)return _e[we++]=20971520,_e[we++]=20971520,Ee.bits=1,0;for(Ne=1;Ne<We&&Kt[Ne]===0;Ne++);for(Ut<Ne&&(Ut=Ne),je=Ft=1;je<=15;je++)if(Ft<<=1,(Ft-=Kt[je])<0)return-1;if(0<Ft&&(Oe===0||We!==1))return-1;for(rt[1]=0,je=1;je<15;je++)rt[je+1]=rt[je]+Kt[je];for(ht=0;ht<Ie;ht++)ve[Me+ht]!==0&&(xe[rt[ve[Me+ht]]++]=ht);if(Ge=Oe===0?(At=Nt=xe,19):Oe===1?(At=Ue,Zt-=257,Nt=fe,Qt-=257,256):(At=Ce,Nt=oe,-1),je=Ne,et=we,yt=ht=Te=0,Qe=-1,Re=(Ze=1<<(ot=Ut))-1,Oe===1&&852<Ze||Oe===2&&592<Ze)return 1;for(;;){for(lt=je-yt,ft=xe[ht]<Ge?(it=0,xe[ht]):xe[ht]>Ge?(it=Nt[Qt+xe[ht]],At[Zt+xe[ht]]):(it=96,0),ke=1<<je-yt,Ne=ze=1<<ot;_e[et+(Te>>yt)+(ze-=ke)]=lt<<24|it<<16|ft|0,ze!==0;);for(ke=1<<je-1;Te&ke;)ke>>=1;if(ke!==0?(Te&=ke-1,Te+=ke):Te=0,ht++,--Kt[je]==0){if(je===We)break;je=ve[Me+xe[ht]]}if(Ut<je&&(Te&Re)!==Qe){for(yt===0&&(yt=Ut),et+=Ne,Ft=1<<(ot=je-yt);ot+yt<We&&!((Ft-=Kt[ot+yt])<=0);)ot++,Ft<<=1;if(Ze+=1<<ot,Oe===1&&852<Ze||Oe===2&&592<Ze)return 1;_e[Qe=Te&Re]=Ut<<24|ot<<16|et-we|0}}return Te!==0&&(_e[et+Te]=je-yt<<24|64<<16|0),Ee.bits=Ut,0}},{"../utils/common":41}],51:[function(Le,Je,He){"use strict";Je.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,Je,He){"use strict";var Se=Le("../utils/common"),Ue=0,fe=1;function Ce(le){for(var se=le.length;0<=--se;)le[se]=0}var oe=0,Oe=29,ve=256,Me=ve+1+Oe,Ie=30,_e=19,we=2*Me+1,xe=15,Ee=16,ke=7,ze=256,Qe=16,Re=17,et=18,Ge=[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],lt=[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],it=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],ft=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],bt=new Array(2*(Me+2));Ce(bt);var je=new Array(2*Ie);Ce(je);var ht=new Array(512);Ce(ht);var Ne=new Array(256);Ce(Ne);var We=new Array(Oe);Ce(We);var Ut,ot,yt,Ft=new Array(Ie);function Ze(le,se,Be,$e,at){this.static_tree=le,this.extra_bits=se,this.extra_base=Be,this.elems=$e,this.max_length=at,this.has_stree=le&&le.length}function Te(le,se){this.dyn_tree=le,this.max_code=0,this.stat_desc=se}function At(le){return le<256?ht[le]:ht[256+(le>>>7)]}function Zt(le,se){le.pending_buf[le.pending++]=255&se,le.pending_buf[le.pending++]=se>>>8&255}function Kt(le,se,Be){le.bi_valid>Ee-Be?(le.bi_buf|=se<<le.bi_valid&65535,Zt(le,le.bi_buf),le.bi_buf=se>>Ee-le.bi_valid,le.bi_valid+=Be-Ee):(le.bi_buf|=se<<le.bi_valid&65535,le.bi_valid+=Be)}function rt(le,se,Be){Kt(le,Be[2*se],Be[2*se+1])}function Nt(le,se){for(var Be=0;Be|=1&le,le>>>=1,Be<<=1,0<--se;);return Be>>>1}function Qt(le,se,Be){var $e,at,pt=new Array(xe+1),gt=0;for($e=1;$e<=xe;$e++)pt[$e]=gt=gt+Be[$e-1]<<1;for(at=0;at<=se;at++){var Bt=le[2*at+1];Bt!==0&&(le[2*at]=Nt(pt[Bt]++,Bt))}}function pn(le){var se;for(se=0;se<Me;se++)le.dyn_ltree[2*se]=0;for(se=0;se<Ie;se++)le.dyn_dtree[2*se]=0;for(se=0;se<_e;se++)le.bl_tree[2*se]=0;le.dyn_ltree[2*ze]=1,le.opt_len=le.static_len=0,le.last_lit=le.matches=0}function Ot(le){8<le.bi_valid?Zt(le,le.bi_buf):0<le.bi_valid&&(le.pending_buf[le.pending++]=le.bi_buf),le.bi_buf=0,le.bi_valid=0}function vn(le,se,Be,$e){var at=2*se,pt=2*Be;return le[at]<le[pt]||le[at]===le[pt]&&$e[se]<=$e[Be]}function _t(le,se,Be){for(var $e=le.heap[Be],at=Be<<1;at<=le.heap_len&&(at<le.heap_len&&vn(se,le.heap[at+1],le.heap[at],le.depth)&&at++,!vn(se,$e,le.heap[at],le.depth));)le.heap[Be]=le.heap[at],Be=at,at<<=1;le.heap[Be]=$e}function Fn(le,se,Be){var $e,at,pt,gt,Bt=0;if(le.last_lit!==0)for(;$e=le.pending_buf[le.d_buf+2*Bt]<<8|le.pending_buf[le.d_buf+2*Bt+1],at=le.pending_buf[le.l_buf+Bt],Bt++,$e===0?rt(le,at,se):(rt(le,(pt=Ne[at])+ve+1,se),(gt=Ge[pt])!==0&&Kt(le,at-=We[pt],gt),rt(le,pt=At(--$e),Be),(gt=lt[pt])!==0&&Kt(le,$e-=Ft[pt],gt)),Bt<le.last_lit;);rt(le,ze,se)}function on(le,se){var Be,$e,at,pt=se.dyn_tree,gt=se.stat_desc.static_tree,Bt=se.stat_desc.has_stree,Lt=se.stat_desc.elems,Rt=-1;for(le.heap_len=0,le.heap_max=we,Be=0;Be<Lt;Be++)pt[2*Be]!==0?(le.heap[++le.heap_len]=Rt=Be,le.depth[Be]=0):pt[2*Be+1]=0;for(;le.heap_len<2;)pt[2*(at=le.heap[++le.heap_len]=Rt<2?++Rt:0)]=1,le.depth[at]=0,le.opt_len--,Bt&&(le.static_len-=gt[2*at+1]);for(se.max_code=Rt,Be=le.heap_len>>1;1<=Be;Be--)_t(le,pt,Be);for(at=Lt;Be=le.heap[1],le.heap[1]=le.heap[le.heap_len--],_t(le,pt,1),$e=le.heap[1],le.heap[--le.heap_max]=Be,le.heap[--le.heap_max]=$e,pt[2*at]=pt[2*Be]+pt[2*$e],le.depth[at]=(le.depth[Be]>=le.depth[$e]?le.depth[Be]:le.depth[$e])+1,pt[2*Be+1]=pt[2*$e+1]=at,le.heap[1]=at++,_t(le,pt,1),2<=le.heap_len;);le.heap[--le.heap_max]=le.heap[1],function(Ct,st){var $t,Vt,bn,an,en,Hn,En=st.dyn_tree,Mt=st.max_code,sn=st.stat_desc.static_tree,Dn=st.stat_desc.has_stree,Wn=st.stat_desc.extra_bits,It=st.stat_desc.extra_base,Wt=st.stat_desc.max_length,rn=0;for(an=0;an<=xe;an++)Ct.bl_count[an]=0;for(En[2*Ct.heap[Ct.heap_max]+1]=0,$t=Ct.heap_max+1;$t<we;$t++)Wt<(an=En[2*En[2*(Vt=Ct.heap[$t])+1]+1]+1)&&(an=Wt,rn++),En[2*Vt+1]=an,Mt<Vt||(Ct.bl_count[an]++,en=0,It<=Vt&&(en=Wn[Vt-It]),Hn=En[2*Vt],Ct.opt_len+=Hn*(an+en),Dn&&(Ct.static_len+=Hn*(sn[2*Vt+1]+en)));if(rn!==0){do{for(an=Wt-1;Ct.bl_count[an]===0;)an--;Ct.bl_count[an]--,Ct.bl_count[an+1]+=2,Ct.bl_count[Wt]--,rn-=2}while(0<rn);for(an=Wt;an!==0;an--)for(Vt=Ct.bl_count[an];Vt!==0;)Mt<(bn=Ct.heap[--$t])||(En[2*bn+1]!==an&&(Ct.opt_len+=(an-En[2*bn+1])*En[2*bn],En[2*bn+1]=an),Vt--)}}(le,se),Qt(pt,Rt,le.bl_count)}function de(le,se,Be){var $e,at,pt=-1,gt=se[1],Bt=0,Lt=7,Rt=4;for(gt===0&&(Lt=138,Rt=3),se[2*(Be+1)+1]=65535,$e=0;$e<=Be;$e++)at=gt,gt=se[2*($e+1)+1],++Bt<Lt&&at===gt||(Bt<Rt?le.bl_tree[2*at]+=Bt:at!==0?(at!==pt&&le.bl_tree[2*at]++,le.bl_tree[2*Qe]++):Bt<=10?le.bl_tree[2*Re]++:le.bl_tree[2*et]++,pt=at,Rt=(Bt=0)===gt?(Lt=138,3):at===gt?(Lt=6,3):(Lt=7,4))}function ge(le,se,Be){var $e,at,pt=-1,gt=se[1],Bt=0,Lt=7,Rt=4;for(gt===0&&(Lt=138,Rt=3),$e=0;$e<=Be;$e++)if(at=gt,gt=se[2*($e+1)+1],!(++Bt<Lt&&at===gt)){if(Bt<Rt)for(;rt(le,at,le.bl_tree),--Bt!=0;);else at!==0?(at!==pt&&(rt(le,at,le.bl_tree),Bt--),rt(le,Qe,le.bl_tree),Kt(le,Bt-3,2)):Bt<=10?(rt(le,Re,le.bl_tree),Kt(le,Bt-3,3)):(rt(le,et,le.bl_tree),Kt(le,Bt-11,7));pt=at,Rt=(Bt=0)===gt?(Lt=138,3):at===gt?(Lt=6,3):(Lt=7,4)}}Ce(Ft);var ie=!1;function ee(le,se,Be,$e){Kt(le,(oe<<1)+($e?1:0),3),function(at,pt,gt,Bt){Ot(at),Bt&&(Zt(at,gt),Zt(at,~gt)),Se.arraySet(at.pending_buf,at.window,pt,gt,at.pending),at.pending+=gt}(le,se,Be,!0)}He._tr_init=function(le){ie||(function(){var se,Be,$e,at,pt,gt=new Array(xe+1);for(at=$e=0;at<Oe-1;at++)for(We[at]=$e,se=0;se<1<<Ge[at];se++)Ne[$e++]=at;for(Ne[$e-1]=at,at=pt=0;at<16;at++)for(Ft[at]=pt,se=0;se<1<<lt[at];se++)ht[pt++]=at;for(pt>>=7;at<Ie;at++)for(Ft[at]=pt<<7,se=0;se<1<<lt[at]-7;se++)ht[256+pt++]=at;for(Be=0;Be<=xe;Be++)gt[Be]=0;for(se=0;se<=143;)bt[2*se+1]=8,se++,gt[8]++;for(;se<=255;)bt[2*se+1]=9,se++,gt[9]++;for(;se<=279;)bt[2*se+1]=7,se++,gt[7]++;for(;se<=287;)bt[2*se+1]=8,se++,gt[8]++;for(Qt(bt,Me+1,gt),se=0;se<Ie;se++)je[2*se+1]=5,je[2*se]=Nt(se,5);Ut=new Ze(bt,Ge,ve+1,Me,xe),ot=new Ze(je,lt,0,Ie,xe),yt=new Ze(new Array(0),it,0,_e,ke)}(),ie=!0),le.l_desc=new Te(le.dyn_ltree,Ut),le.d_desc=new Te(le.dyn_dtree,ot),le.bl_desc=new Te(le.bl_tree,yt),le.bi_buf=0,le.bi_valid=0,pn(le)},He._tr_stored_block=ee,He._tr_flush_block=function(le,se,Be,$e){var at,pt,gt=0;0<le.level?(le.strm.data_type===2&&(le.strm.data_type=function(Bt){var Lt,Rt=4093624447;for(Lt=0;Lt<=31;Lt++,Rt>>>=1)if(1&Rt&&Bt.dyn_ltree[2*Lt]!==0)return Ue;if(Bt.dyn_ltree[18]!==0||Bt.dyn_ltree[20]!==0||Bt.dyn_ltree[26]!==0)return fe;for(Lt=32;Lt<ve;Lt++)if(Bt.dyn_ltree[2*Lt]!==0)return fe;return Ue}(le)),on(le,le.l_desc),on(le,le.d_desc),gt=function(Bt){var Lt;for(de(Bt,Bt.dyn_ltree,Bt.l_desc.max_code),de(Bt,Bt.dyn_dtree,Bt.d_desc.max_code),on(Bt,Bt.bl_desc),Lt=_e-1;3<=Lt&&Bt.bl_tree[2*ft[Lt]+1]===0;Lt--);return Bt.opt_len+=3*(Lt+1)+5+5+4,Lt}(le),at=le.opt_len+3+7>>>3,(pt=le.static_len+3+7>>>3)<=at&&(at=pt)):at=pt=Be+5,Be+4<=at&&se!==-1?ee(le,se,Be,$e):le.strategy===4||pt===at?(Kt(le,2+($e?1:0),3),Fn(le,bt,je)):(Kt(le,4+($e?1:0),3),function(Bt,Lt,Rt,Ct){var st;for(Kt(Bt,Lt-257,5),Kt(Bt,Rt-1,5),Kt(Bt,Ct-4,4),st=0;st<Ct;st++)Kt(Bt,Bt.bl_tree[2*ft[st]+1],3);ge(Bt,Bt.dyn_ltree,Lt-1),ge(Bt,Bt.dyn_dtree,Rt-1)}(le,le.l_desc.max_code+1,le.d_desc.max_code+1,gt+1),Fn(le,le.dyn_ltree,le.dyn_dtree)),pn(le),$e&&Ot(le)},He._tr_tally=function(le,se,Be){return le.pending_buf[le.d_buf+2*le.last_lit]=se>>>8&255,le.pending_buf[le.d_buf+2*le.last_lit+1]=255&se,le.pending_buf[le.l_buf+le.last_lit]=255&Be,le.last_lit++,se===0?le.dyn_ltree[2*Be]++:(le.matches++,se--,le.dyn_ltree[2*(Ne[Be]+ve+1)]++,le.dyn_dtree[2*At(se)]++),le.last_lit===le.lit_bufsize-1},He._tr_align=function(le){Kt(le,2,3),rt(le,ze,bt),function(se){se.bi_valid===16?(Zt(se,se.bi_buf),se.bi_buf=0,se.bi_valid=0):8<=se.bi_valid&&(se.pending_buf[se.pending++]=255&se.bi_buf,se.bi_buf>>=8,se.bi_valid-=8)}(le)}},{"../utils/common":41}],53:[function(Le,Je,He){"use strict";Je.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,Je,He){(function(Se){(function(Ue,fe){"use strict";if(!Ue.setImmediate){var Ce,oe,Oe,ve,Me=1,Ie={},_e=!1,we=Ue.document,xe=Object.getPrototypeOf&&Object.getPrototypeOf(Ue);xe=xe&&xe.setTimeout?xe:Ue,Ce={}.toString.call(Ue.process)==="[object process]"?function(Qe){ct.nextTick(function(){ke(Qe)})}:function(){if(Ue.postMessage&&!Ue.importScripts){var Qe=!0,Re=Ue.onmessage;return Ue.onmessage=function(){Qe=!1},Ue.postMessage("","*"),Ue.onmessage=Re,Qe}}()?(ve="setImmediate$"+Math.random()+"$",Ue.addEventListener?Ue.addEventListener("message",ze,!1):Ue.attachEvent("onmessage",ze),function(Qe){Ue.postMessage(ve+Qe,"*")}):Ue.MessageChannel?((Oe=new MessageChannel).port1.onmessage=function(Qe){ke(Qe.data)},function(Qe){Oe.port2.postMessage(Qe)}):we&&"onreadystatechange"in we.createElement("script")?(oe=we.documentElement,function(Qe){var Re=we.createElement("script");Re.onreadystatechange=function(){ke(Qe),Re.onreadystatechange=null,oe.removeChild(Re),Re=null},oe.appendChild(Re)}):function(Qe){setTimeout(ke,0,Qe)},xe.setImmediate=function(Qe){typeof Qe!="function"&&(Qe=new Function(""+Qe));for(var Re=new Array(arguments.length-1),et=0;et<Re.length;et++)Re[et]=arguments[et+1];var Ge={callback:Qe,args:Re};return Ie[Me]=Ge,Ce(Me),Me++},xe.clearImmediate=Ee}function Ee(Qe){delete Ie[Qe]}function ke(Qe){if(_e)setTimeout(ke,0,Qe);else{var Re=Ie[Qe];if(Re){_e=!0;try{(function(et){var Ge=et.callback,lt=et.args;switch(lt.length){case 0:Ge();break;case 1:Ge(lt[0]);break;case 2:Ge(lt[0],lt[1]);break;case 3:Ge(lt[0],lt[1],lt[2]);break;default:Ge.apply(fe,lt)}})(Re)}finally{Ee(Qe),_e=!1}}}}function ze(Qe){Qe.source===Ue&&typeof Qe.data=="string"&&Qe.data.indexOf(ve)===0&&ke(+Qe.data.slice(ve.length))}})(typeof self=="undefined"?Se===void 0?this:Se:self)}).call(this,typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})},2859:function(Vn,Tt,ae){"use strict";ae.d(Tt,{hP:function(){return on}});var x=function(de,ge){return(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ie,ee){ie.__proto__=ee}||function(ie,ee){for(var le in ee)Object.prototype.hasOwnProperty.call(ee,le)&&(ie[le]=ee[le])})(de,ge)};function ct(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(le,se){function Be(pt){try{at(ee.next(pt))}catch(gt){se(gt)}}function $e(pt){try{at(ee.throw(pt))}catch(gt){se(gt)}}function at(pt){var gt;pt.done?le(pt.value):(gt=pt.value,gt instanceof ie?gt:new ie(function(Bt){Bt(gt)})).then(Be,$e)}at((ee=ee.apply(de,ge||[])).next())})}function Je(de,ge){var ie,ee,le,se,Be={label:0,sent:function(){if(1&le[0])throw le[1];return le[1]},trys:[],ops:[]};return se={next:$e(0),throw:$e(1),return:$e(2)},typeof Symbol=="function"&&(se[Symbol.iterator]=function(){return this}),se;function $e(at){return function(pt){return function(gt){if(ie)throw new TypeError("Generator is already executing.");for(;Be;)try{if(ie=1,ee&&(le=2&gt[0]?ee.return:gt[0]?ee.throw||((le=ee.return)&&le.call(ee),0):ee.next)&&!(le=le.call(ee,gt[1])).done)return le;switch(ee=0,le&&(gt=[2&gt[0],le.value]),gt[0]){case 0:case 1:le=gt;break;case 4:return Be.label++,{value:gt[1],done:!1};case 5:Be.label++,ee=gt[1],gt=[0];continue;case 7:gt=Be.ops.pop(),Be.trys.pop();continue;default:if(le=Be.trys,!((le=le.length>0&&le[le.length-1])||gt[0]!==6&&gt[0]!==2)){Be=0;continue}if(gt[0]===3&&(!le||gt[1]>le[0]&&gt[1]<le[3])){Be.label=gt[1];break}if(gt[0]===6&&Be.label<le[1]){Be.label=le[1],le=gt;break}if(le&&Be.label<le[2]){Be.label=le[2],Be.ops.push(gt);break}le[2]&&Be.ops.pop(),Be.trys.pop();continue}gt=ge.call(de,Be)}catch(Bt){gt=[6,Bt],ee=0}finally{ie=le=0}if(5&gt[0])throw gt[1];return{value:gt[0]?gt[1]:void 0,done:!0}}([at,pt])}}}function He(){for(var de=0,ge=0,ie=arguments.length;ge<ie;ge++)de+=arguments[ge].length;var ee=Array(de),le=0;for(ge=0;ge<ie;ge++)for(var se=arguments[ge],Be=0,$e=se.length;Be<$e;Be++,le++)ee[le]=se[Be];return ee}var Se=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,le=ie;ee<le.length;ee++){var se=le[ee],Be=se[0],$e=se[1];ge.setAttribute(Be,$e)}},de.createRect=function(ge,ie,ee){var le=document.createElementNS("http://www.w3.org/2000/svg","rect");return le.setAttribute("width",ge.toString()),le.setAttribute("height",ie.toString()),ee&&de.setAttributes(le,ee),le},de.createLine=function(ge,ie,ee,le,se){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",le.toString()),se&&de.setAttributes(Be,se),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 le=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return le.setAttribute("cx",(ge/2).toString()),le.setAttribute("cy",(ie/2).toString()),le.setAttribute("rx",(ge/2).toString()),le.setAttribute("ry",(ie/2).toString()),ee&&de.setAttributes(le,ee),le},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,le,se,Be,$e){var at=document.createElementNS("http://www.w3.org/2000/svg","marker");return de.setAttributes(at,[["id",ge],["orient",ie],["markerWidth",ee.toString()],["markerHeight",le.toString()],["refX",se.toString()],["refY",Be.toString()]]),at.appendChild($e),at},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}(),Ue=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 le=this;return new Promise(function(se){var Be=ee!==void 0?ee:document.createElement("canvas");ge===null&&(le.markersOnly=!0,le.naturalSize=!1);var $e=document.createElementNS("http://www.w3.org/2000/svg","svg");$e.setAttribute("xmlns","http://www.w3.org/2000/svg"),$e.setAttribute("width",ie.width.baseVal.valueAsString),$e.setAttribute("height",ie.height.baseVal.valueAsString),$e.setAttribute("viewBox","0 0 "+ie.viewBox.baseVal.width.toString()+" "+ie.viewBox.baseVal.height.toString()),$e.innerHTML=ie.innerHTML,le.naturalSize===!0?($e.width.baseVal.value=ge.naturalWidth,$e.height.baseVal.value=ge.naturalHeight):le.width!==void 0&&le.height!==void 0&&($e.width.baseVal.value=le.width,$e.height.baseVal.value=le.height),Be.width=$e.width.baseVal.value,Be.height=$e.height.baseVal.value;var at=$e.outerHTML,pt=Be.getContext("2d");le.markersOnly!==!0&&pt.drawImage(ge,0,0,Be.width,Be.height);var gt=window.URL,Bt=new Image(Be.width,Be.height);Bt.setAttribute("crossOrigin","anonymous");var Lt=new Blob([at],{type:"image/svg+xml"}),Rt=gt.createObjectURL(Lt);Bt.onload=function(){pt.drawImage(Bt,0,0),gt.revokeObjectURL(Rt);var Ct=Be.toDataURL(le.imageType,le.imageQuality);se(Ct)},Bt.src=Rt})},de}(),Ce=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 Oe("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new Oe("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
from {
opacity: 0;
}
to {
opacity: 1;
}
`)),this.addRule(new Oe("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
from {
opacity: 1;
}
to {
opacity: 0;
}
`)),this.addClass(new ve("fade_in",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
`)),this.addClass(new ve("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}(),Oe=function(de,ge){this.selector=de,this.style=ge},ve=function(de,ge){this.localName=de,this.style=ge},Me=function(){function de(ge,ie,ee,le,se){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=ge,this.displayMode=ie,this.markerItems=ee,this.uiStyleSettings=le,this.styles=se,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(se){var Be=document.createElement("div");Be.className=""+ie.toolbarButtonStyleClass.name,Be.setAttribute("data-type-name",se.typeName),Be.innerHTML=se.icon,Be.addEventListener("click",function(){ie.markerToolbarButtonClicked(Be,se)}),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 le=document.createElement("div");le.className=this.toolbarBlockStyleClass.name,le.style.whiteSpace="nowrap",le.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(le),this.addActionButton(le,'<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(le,'<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 le=this,se=document.createElement("div");switch(se.className=""+this.toolbarButtonStyleClass.name,se.innerHTML=ie,se.setAttribute("data-action",ee),se.addEventListener("click",function(){le.actionToolbarButtonClicked(se,ee)}),ee){case"select":se.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":se.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":se.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":se.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":se.style.fill=this.uiStyleSettings.closeButtonColor}ge.appendChild(se),this.buttons.push(se)},de.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new ve("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 ve("toolbar_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
`)),this.toolbarBlockStyleClass=this.styles.addClass(new ve("toolbar-block",`
display: inline-block;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new ve("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 ve("toolbar-overflow-block_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`));var ge=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new ve("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 ve("toolbar_button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new ve("toolbar_active_button",`
fill: `+this.uiStyleSettings.toolbarColor+`;
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new Oe("."+this.toolbarButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`)),this.styles.addRule(new Oe("."+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}(),Ie=function(){function de(ge,ie,ee,le){this.panels=[],this.panelButtons=[],this.markerjsContainer=ge,this.displayMode=ie,this.uiStyleSettings=ee,this.styles=le,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return de.prototype.addStyles=function(){var ge;this.toolboxStyleClass=this.styles.addClass(new ve("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 ve("toolbox_colors",`
color: `+this.uiStyleSettings.toolboxColor+`;
`));var ie=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new ve("toolbox-button-row",`
display: flex;
cursor: default;
box-sizing: content-box;
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new ve("toolbox-button-row_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new ve("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 ve("toolbox-panel-row_colors",`
background-color: `+((ge=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ge!==void 0?ge:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
`)),this.toolboxButtonStyleClass=this.styles.addClass(new ve("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 ve("toolbox-button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new ve("toolbox-active-button_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.styles.addRule(new Oe("."+this.toolboxButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new Oe("."+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,le=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(se){var Be;se.uiStyleSettings=le.uiStyleSettings;var $e=document.createElement("div");$e.className=le.toolboxButtonStyleClass.name+" "+((Be=le.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Be!==void 0?Be:le.toolboxButtonStyleColorsClass.name),$e.innerHTML=se.icon,$e.title=se.title,$e.addEventListener("click",function(){le.panelButtonClick(se)}),le.panelButtons.push($e),le.buttonRow.appendChild($e)}),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 le=ge.getUi();le.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(le),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(se,Be){var $e,at;se.className=ie.toolboxButtonStyleClass.name+" "+(Be===ee?""+(($e=ie.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&$e!==void 0?$e:ie.toolboxActiveButtonStyleColorsClass.name):""+((at=ie.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&at!==void 0?at:ie.toolboxButtonStyleColorsClass.name))})},de}(),_e=function(de,ge){this.title=de,this.icon=ge},we=function(de){function ge(ie,ee,le,se){var Be=de.call(this,ie,se||'<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=le,Be.setCurrentColor=Be.setCurrentColor.bind(Be),Be.getColorBox=Be.getColorBox.bind(Be),Be}return ct(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(le){var se=ie.getColorBox(le);ee.appendChild(se),ie.colorBoxes.push(se)}),ee},ge.prototype.getColorBox=function(ie){var ee=this,le=this.uiStyleSettings.toolbarHeight/4,se=this.uiStyleSettings.toolbarHeight-le,Be=document.createElement("div");Be.style.display="inline-block",Be.style.boxSizing="content-box",Be.style.width=se-2+"px",Be.style.height=se-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=(se+2)/2+"px",Be.style.borderColor=ie===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",Be.addEventListener("click",function(){ee.setCurrentColor(ie,Be)});var $e=document.createElement("div");return $e.style.display="inline-block",$e.style.width=se-2+"px",$e.style.height=se-2+"px",$e.style.backgroundColor=ie,$e.style.borderRadius=se/2+"px",ie==="transparent"&&($e.style.fill=this.uiStyleSettings.toolboxAccentColor,$e.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($e),Be},ge.prototype.setCurrentColor=function(ie,ee){var le=this;this.currentColor=ie,this.colorBoxes.forEach(function(se){se.style.borderColor=se===ee?le.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(ie)},ge}(_e),xe=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}(),ke=function(){function de(){this.GRIP_SIZE=10,this.visual=Se.createGroup(),this.visual.appendChild(Se.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(Se.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}(),ze=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}(),Qe=function(de){function ge(ie,ee,le){var se=de.call(this,ie,ee,le)||this;return se.left=0,se.top=0,se.width=0,se.height=0,se.defaultSize={x:50,y:20},se.offsetX=0,se.offsetY=0,se.rotationAngle=0,se.CB_DISTANCE=10,se._suppressMarkerCreateEvent=!1,se.container.transform.baseVal.appendItem(Se.createTransform()),se.setupControlBox(),se}return ct(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=Se.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 le=this.unrotatePoint(ie);if(this.manipulationStartX=le.x,this.manipulationStartY=le.y,this.offsetX=le.x-this.left,this.offsetY=le.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 se=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=se.x-this.width/2,this.top=se.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,le=this.manipulationStartWidth,se=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,le=this.manipulationStartWidth+this.manipulationStartLeft-ee;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:le=this.manipulationStartWidth+ie.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:se=this.manipulationStartTop+ie.y-this.manipulationStartY,Be=this.manipulationStartHeight+this.manipulationStartTop-se;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:Be=this.manipulationStartHeight+ie.y-this.manipulationStartY}le>=0?(this.left=ee,this.width=le):(this.left=ee+le,this.width=-le),Be>=0?(this.top=se,this.height=Be):(this.top=se+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(),le=Se.createPoint(ie.x,ie.y);return{x:(le=le.matrixTransform(ee)).x,y:le.y}},ge.prototype.unrotatePoint=function(ie){if(this.rotationAngle===0)return ie;var ee=this.container.getCTM();ee=ee.inverse();var le=Se.createPoint(ie.x,ie.y);return{x:(le=le.matrixTransform(ee)).x,y:le.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=Se.createGroup();var ie=Se.createTransform();ie.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(ie),this.container.appendChild(this.controlBox),this.controlRect=Se.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=Se.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 ke;return ie.visual.transform.baseVal.appendItem(Se.createTransform()),this.controlBox.appendChild(ie.visual),ie},ge.prototype.positionGrips=function(){var ie=this.controlGrips.topLeft.GRIP_SIZE,ee=-ie/2,le=ee,se=(this.width+this.CB_DISTANCE)/2-ie/2,Be=(this.height+this.CB_DISTANCE)/2-ie/2,$e=this.height+this.CB_DISTANCE-ie/2,at=this.width+this.CB_DISTANCE-ie/2;this.positionGrip(this.controlGrips.topLeft.visual,ee,le),this.positionGrip(this.controlGrips.topCenter.visual,se,le),this.positionGrip(this.controlGrips.topRight.visual,at,le),this.positionGrip(this.controlGrips.centerLeft.visual,ee,Be),this.positionGrip(this.controlGrips.centerRight.visual,at,Be),this.positionGrip(this.controlGrips.bottomLeft.visual,ee,$e),this.positionGrip(this.controlGrips.bottomCenter.visual,se,$e),this.positionGrip(this.controlGrips.bottomRight.visual,at,$e),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,se,le-3*this.CB_DISTANCE)},ge.prototype.positionGrip=function(ie,ee,le){var se=ie.transform.baseVal.getItem(0);se.setTranslate(ee,le),ie.transform.baseVal.replaceItem(se,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:ze.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:ze.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(ze.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,ee.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(ze.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,ee.containerTransformMatrix))},ge.prototype.scale=function(ie,ee){de.prototype.scale.call(this,ie,ee);var le=this.rotatePoint({x:this.left,y:this.top}),se=this.unrotatePoint({x:le.x*ie,y:le.y*ee});this.left=se.x,this.top=se.y,this.width=this.width*ie,this.height=this.height*ee,this.adjustControlBox()},ge}(xe),Re=function(de){function ge(ie,ee,le){var se=de.call(this,ie,ee,le)||this;return se.fillColor="transparent",se.strokeColor="transparent",se.strokeWidth=0,se.strokeDasharray="",se.opacity=1,se.setStrokeColor=se.setStrokeColor.bind(se),se.setFillColor=se.setFillColor.bind(se),se.setStrokeWidth=se.setStrokeWidth.bind(se),se.setStrokeDasharray=se.setStrokeDasharray.bind(se),se.createVisual=se.createVisual.bind(se),se}return ct(ge,de),ge.prototype.ownsTarget=function(ie){return!(!de.prototype.ownsTarget.call(this,ie)&&ie!==this.visual)},ge.prototype.createVisual=function(){this.visual=Se.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),Se.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&&Se.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ie),this.stateChanged()},ge.prototype.setFillColor=function(ie){this.fillColor=ie,this.visual&&Se.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ge.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.visual&&Se.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ge.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.visual&&Se.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}(Qe),et=function(de){function ge(ie,ee,le,se){var Be=de.call(this,ie,se||'<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=le,Be.setCurrentWidth=Be.setCurrentWidth.bind(Be),Be}return ct(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(le){var se=document.createElement("div");se.style.display="flex",se.style.flexGrow="2",se.style.alignItems="center",se.style.justifyContent="space-between",se.style.padding="5px",se.style.borderWidth="2px",se.style.borderStyle="solid",se.style.borderColor=le===ie.currentWidth?ie.uiStyleSettings.toolboxAccentColor:"transparent",se.addEventListener("click",function(){ie.setCurrentWidth(le,se)}),ee.appendChild(se);var Be=document.createElement("div");Be.innerText=le.toString(),Be.style.marginRight="5px",se.appendChild(Be);var $e=document.createElement("div");$e.style.minHeight="20px",$e.style.flexGrow="2",$e.style.display="flex",$e.style.alignItems="center";var at=document.createElement("hr");at.style.minWidth="20px",at.style.border="0px",at.style.borderTop=le+"px solid "+ie.uiStyleSettings.toolboxColor,at.style.flexGrow="2",$e.appendChild(at),se.appendChild($e),ie.widthBoxes.push(se)}),ee},ge.prototype.setCurrentWidth=function(ie,ee){var le=this;this.currentWidth=ie,this.widthBoxes.forEach(function(se){se.style.borderColor=se===ee?le.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ge}(_e),Ge=function(de){function ge(ie,ee,le,se){var Be=de.call(this,ie,se||'<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=le,Be.setCurrentStyle=Be.setCurrentStyle.bind(Be),Be}return ct(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(le){var se=document.createElement("div");se.style.display="flex",se.style.alignItems="center",se.style.justifyContent="space-between",se.style.padding="5px",se.style.borderWidth="2px",se.style.borderStyle="solid",se.style.overflow="hidden",se.style.maxWidth=100/ie.styles.length-5+"%",se.style.borderColor=le===ie.currentStyle?ie.uiStyleSettings.toolboxAccentColor:"transparent",se.addEventListener("click",function(){ie.setCurrentStyle(le,se)}),ee.appendChild(se);var Be=document.createElement("div");Be.style.minHeight="20px",Be.style.flexGrow="2",Be.style.overflow="hidden";var $e=`<svg width="100" height="20">
<line x1="0" y1="10" x2="100" y2="10" stroke="`+ie.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(le!==""?'stroke-dasharray="'+le+'"':"")+` />
</svg>`;Be.innerHTML=$e,se.appendChild(Be),ie.styleBoxes.push(se)}),ee},ge.prototype.setCurrentStyle=function(ie,ee){var le=this;this.currentStyle=ie,this.styleBoxes.forEach(function(se){se.style.borderColor=se===ee?le.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ge}(_e),lt=function(de){function ge(ie,ee,le){var se=de.call(this,ie,ee,le)||this;return se.strokeColor=le.defaultColor,se.strokeWidth=le.defaultStrokeWidth,se.strokeDasharray=le.defaultStrokeDasharray,se.strokePanel=new we("Line color",le.defaultColorSet,le.defaultColor),se.strokePanel.onColorChanged=se.setStrokeColor,se.strokeWidthPanel=new et("Line width",le.defaultStrokeWidths,le.defaultStrokeWidth),se.strokeWidthPanel.onWidthChanged=se.setStrokeWidth,se.strokeStylePanel=new Ge("Line style",le.defaultStrokeDasharrays,le.defaultStrokeDasharray),se.strokeStylePanel.onStyleChanged=se.setStrokeDasharray,se}return ct(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}(Re),it=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"},ft=function(de){function ge(ie,ee,le){var se=de.call(this,ie,ee,le)||this;return se.x1=0,se.y1=0,se.x2=0,se.y2=0,se.defaultLength=50,se.manipulationStartX=0,se.manipulationStartY=0,se.manipulationStartX1=0,se.manipulationStartY1=0,se.manipulationStartX2=0,se.manipulationStartY2=0,se.setupControlBox(),se}return ct(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=Se.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 ke;return ie.visual.transform.baseVal.appendItem(Se.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,le){var se=ie.transform.baseVal.getItem(0);se.setTranslate(ee,le),ie.transform.baseVal.replaceItem(se,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}(xe),bt=function(de){function ge(ie,ee,le){var se=de.call(this,ie,ee,le)||this;return se.strokeColor="transparent",se.strokeWidth=0,se.strokeDasharray="",se.setStrokeColor=se.setStrokeColor.bind(se),se.setStrokeWidth=se.setStrokeWidth.bind(se),se.setStrokeDasharray=se.setStrokeDasharray.bind(se),se.strokeColor=le.defaultColor,se.strokeWidth=le.defaultStrokeWidth,se.strokeDasharray=le.defaultStrokeDasharray,se.strokePanel=new we("Line color",le.defaultColorSet,le.defaultColor),se.strokePanel.onColorChanged=se.setStrokeColor,se.strokeWidthPanel=new et("Line width",le.defaultStrokeWidths,le.defaultStrokeWidth),se.strokeWidthPanel.onWidthChanged=se.setStrokeWidth,se.strokeStylePanel=new Ge("Line style",le.defaultStrokeDasharrays,le.defaultStrokeDasharray),se.strokeStylePanel.onStyleChanged=se.setStrokeDasharray,se}return ct(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=Se.createGroup(),this.selectorLine=Se.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=Se.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()),Se.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),Se.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),Se.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}(ft),je=function(de){function ge(ie,ee,le,se){var Be=de.call(this,ie,se||'<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=le,Be.setCurrentFont=Be.setCurrentFont.bind(Be),Be}return ct(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(le){var se=document.createElement("div");se.style.display="inline-block",se.style.alignItems="center",se.style.justifyContent="space-between",se.style.padding="5px",se.style.borderWidth="2px",se.style.borderStyle="solid",se.style.overflow="hidden",se.style.maxWidth=100/ie.fonts.length-5+"%",se.style.borderColor=le===ie.currentFont?ie.uiStyleSettings.toolboxAccentColor:"transparent",se.addEventListener("click",function(){ie.setCurrentFont(le,se)}),ee.appendChild(se);var Be=document.createElement("div");Be.style.display="flex",Be.style.minHeight="20px",Be.style.flexGrow="2",Be.style.fontFamily=le,Be.style.overflow="hidden";var $e=document.createElement("div");$e.style.whiteSpace="nowrap",$e.style.overflow="hidden",$e.style.textOverflow="ellipsis",$e.innerHTML="The quick brown fox jumps over the lazy dog",Be.appendChild($e),se.appendChild(Be),ie.fontBoxes.push(se)}),ee},ge.prototype.setCurrentFont=function(ie,ee){var le=this;this.currentFont=ie,this.fontBoxes.forEach(function(se){se.style.borderColor=se===ee?le.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ge}(_e),ht=function(de){function ge(ie,ee,le){var se=de.call(this,ie,ee,le)||this;return se.color="transparent",se.padding=5,se.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",se.text=se.DEFAULT_TEXT,se.isMoved=!1,se.color=le.defaultColor,se.fontFamily=le.defaultFontFamily,se.defaultSize={x:100,y:30},se.setColor=se.setColor.bind(se),se.setFont=se.setFont.bind(se),se.renderText=se.renderText.bind(se),se.sizeText=se.sizeText.bind(se),se.textEditDivClicked=se.textEditDivClicked.bind(se),se.showTextEditor=se.showTextEditor.bind(se),se.setSize=se.setSize.bind(se),se.positionTextEditor=se.positionTextEditor.bind(se),se.colorPanel=new we("Color",le.defaultColorSet,le.defaultColor),se.colorPanel.onColorChanged=se.setColor,se.fontFamilyPanel=new je("Font",le.defaultFontFamilies,le.defaultFontFamily),se.fontFamilyPanel.onFontChanged=se.setFont,se}return ct(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(le){le===ie&&(ee=!0)}),ee},ge.prototype.createVisual=function(){this.visual=Se.createGroup(),this.bgRectangle=Se.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=Se.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(Se.createTransform()),this.textElement.transform.baseVal.appendItem(Se.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(Se.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 le=(1*this.width-this.width*this.padding*2/100)/ie.width,se=(1*this.height-this.height*this.padding*2/100)/ie.height;ee=Math.min(le,se)}return ee},ge.prototype.getTextPosition=function(ie){var ee=this.textElement.getBBox(),le=0,se=0;return ee.width>0&&ee.height>0&&(le=(this.width-ee.width*ie)/2,se=this.height/2-ee.height*ie/2),{x:le,y:se}},ge.prototype.sizeText=function(){var ie=this.textElement.getBBox(),ee=this.getTextScale(),le=this.getTextPosition(ee);le.y-=ie.y*ee,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+le.x+"px, "+le.y+"px) scale("+ee+", "+ee+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(le.x,le.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&&(Se.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Se.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 le=ee.clipboardData.getData("text"),se=window.getSelection();if(!se.rangeCount)return!1;se.deleteFromDocument(),se.getRangeAt(0).insertNode(document.createTextNode(le)),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}),le=this.textElement.getBBox(),se={x:le.width*ie,y:le.height*ie};ee.x-=se.x/2,ee.y-=se.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&&Se.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&&Se.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}(Qe),Ne=function(de){function ge(ie,ee,le){var se=de.call(this,ie,ee,le)||this;return se.color="transparent",se.lineWidth=3,se.drawing=!1,se.pixelRatio=1,se.color=le.defaultColor,se.lineWidth=le.defaultStrokeWidth,se.pixelRatio=le.freehandPixelRatio,se.setColor=se.setColor.bind(se),se.addCanvas=se.addCanvas.bind(se),se.finishCreation=se.finishCreation.bind(se),se.setLineWidth=se.setLineWidth.bind(se),se.colorPanel=new we("Color",le.defaultColorSet,le.defaultColor),se.colorPanel.onColorChanged=se.setColor,se.lineWidthPanel=new et("Line width",le.defaultStrokeWidths,le.defaultStrokeWidth),se.lineWidthPanel.onWidthChanged=se.setLineWidth,se}return ct(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=Se.createGroup(),this.drawingImage=Se.createImage(),this.visual.appendChild(this.drawingImage);var ie=Se.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),Se.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Se.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],le=ee[0],se=ee[1],Be=ee[2],$e=ee[3],at=!1,pt=0;pt<this.canvasElement.height;pt++)for(var gt=0;gt<this.canvasElement.width;gt++)ie.data[pt*this.canvasElement.width*4+4*gt+3]>0&&(at=!0,pt<se&&(se=pt),gt<le&&(le=gt),pt>$e&&($e=pt),gt>Be&&(Be=gt));if(at){this.left=le/this.pixelRatio,this.top=se/this.pixelRatio,this.width=(Be-le)/this.pixelRatio,this.height=($e-se)/this.pixelRatio;var Bt=document.createElement("canvas");Bt.width=Be-le,Bt.height=$e-se,Bt.getContext("2d").putImageData(this.canvasContext.getImageData(le,se,Be-le,$e-se),0,0),this.drawingImgUrl=Bt.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ge.prototype.setDrawingImage=function(){Se.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),Se.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}(Qe),We=function(de){function ge(ie,ee,le){var se=de.call(this,ie,le||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return se.typeBoxes=[],se.currentType=ee,se.setCurrentType=se.setCurrentType.bind(se),se}return ct(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 le=function($e){var at="both";switch($e){case 0:at="both";break;case 1:at="start";break;case 2:at="end";break;case 3:at="none"}var pt=document.createElement("div");if(pt.style.display="flex",pt.style.flexGrow="2",pt.style.alignItems="center",pt.style.justifyContent="space-between",pt.style.padding="5px",pt.style.borderWidth="2px",pt.style.borderStyle="solid",pt.style.borderColor=at===se.currentType?se.uiStyleSettings.toolboxAccentColor:"transparent",pt.addEventListener("click",function(){ie.setCurrentType(at,pt)}),ee.appendChild(pt),at==="both"||at==="start"){var gt=document.createElement("div");gt.style.display="flex",gt.style.alignItems="center",gt.style.minHeight="20px",gt.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="`+(se.uiStyleSettings!==void 0?se.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,gt.style.marginLeft="5px",pt.appendChild(gt)}var Bt=document.createElement("div");Bt.style.display="flex",Bt.style.alignItems="center",Bt.style.minHeight="20px",Bt.style.flexGrow="2";var Lt=document.createElement("hr");if(Lt.style.minWidth="20px",Lt.style.border="0px",Lt.style.borderTop="3px solid "+(se.uiStyleSettings!==void 0?se.uiStyleSettings.toolboxColor:"#eeeeee"),Lt.style.flexGrow="2",Bt.appendChild(Lt),pt.appendChild(Bt),at==="both"||at==="end"){var Rt=document.createElement("div");Rt.style.display="flex",Rt.style.alignItems="center",Rt.style.minHeight="20px",Rt.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="`+(se.uiStyleSettings!==void 0?se.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,Rt.style.marginRight="5px",pt.appendChild(Rt)}se.typeBoxes.push(pt)},se=this,Be=0;Be<4;Be++)le(Be);return ee},ge.prototype.setCurrentType=function(ie,ee){var le=this;this.currentType=ie,this.typeBoxes.forEach(function(se){se.style.borderColor=se===ee?le.uiStyleSettings!==void 0?le.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ge}(_e),Ut=function(de){function ge(ie,ee,le){var se=de.call(this,ie,ee,le)||this;return se.arrowType="end",se.arrowBaseHeight=10,se.arrowBaseWidth=10,se.getArrowPoints=se.getArrowPoints.bind(se),se.setArrowType=se.setArrowType.bind(se),se.arrowTypePanel=new We("Arrow type","end"),se.arrowTypePanel.onArrowTypeChanged=se.setArrowType,se}return ct(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 le=this.arrowBaseWidth+2*this.strokeWidth,se=this.arrowBaseHeight+2*this.strokeWidth;return ie-le/2+","+(ee+se/2)+" "+ie+","+(ee-se/2)+" "+(ie+le/2)+","+(ee+se/2)},ge.prototype.createTips=function(){this.arrow1=Se.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(Se.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=Se.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(Se.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",Se.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),Se.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 le=this.arrow2.transform.baseVal.getItem(0);le.setRotate(ie+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(le,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}(bt),ot=function(de){function ge(ie,ee,le){var se=de.call(this,ie,ee,le)||this;return se.fillColor=le.defaultFillColor,se.strokeWidth=0,se.fillPanel=new we("Color",le.defaultColorSet,le.defaultFillColor),se.fillPanel.onColorChanged=se.setFillColor,se}return ct(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}(Re),yt=function(de){function ge(ie,ee,le,se){var Be=de.call(this,ie,se||'<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=le,Be.setCurrentOpacity=Be.setCurrentOpacity.bind(Be),Be}return ct(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(le){var se=document.createElement("div");se.style.display="flex",se.style.alignItems="center",se.style.justifyContent="center",se.style.padding="5px",se.style.borderWidth="2px",se.style.borderStyle="solid",se.style.borderColor=le===ie.currentOpacity?ie.uiStyleSettings.toolboxAccentColor:"transparent",se.addEventListener("click",function(){ie.setCurrentOpacity(le,se)}),ee.appendChild(se);var Be=document.createElement("div");Be.innerText=100*le+"%",se.appendChild(Be),ie.opacityBoxes.push(se)}),ee},ge.prototype.setCurrentOpacity=function(ie,ee){var le=this;this.currentOpacity=ie,this.opacityBoxes.forEach(function(se){se.style.borderColor=se===ee?le.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ge}(_e),Ft=function(de){function ge(ie,ee,le){var se=de.call(this,ie,ee,le)||this;return se.setOpacity=se.setOpacity.bind(se),se.fillColor=le.defaultHighlightColor,se.strokeWidth=0,se.opacity=le.defaultHighlightOpacity,se.fillPanel=new we("Color",le.defaultColorSet,se.fillColor),se.fillPanel.onColorChanged=se.setFillColor,se.opacityPanel=new yt("Opacity",le.defaultOpacitySteps,se.opacity),se.opacityPanel.onOpacityChanged=se.setOpacity,se}return ct(ge,de),ge.prototype.setOpacity=function(ie){this.opacity=ie,this.visual&&Se.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),Ze='<svg viewBox="0 0 24 24"><path d="M9.62 12L12 5.67 14.37 12M11 3L5.5 17h2.25l1.12-3h6.25l1.13 3h2.25L13 3h-2z"/></svg>',Te='<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,le){var se=de.call(this,ie,ee,le)||this;return se.bgColor="transparent",se.tipPosition={x:0,y:0},se.tipBase1Position={x:0,y:0},se.tipBase2Position={x:0,y:0},se.tipMoving=!1,se.color=le.defaultStrokeColor,se.bgColor=le.defaultFillColor,se.fontFamily=le.defaultFontFamily,se.defaultSize={x:100,y:30},se.setBgColor=se.setBgColor.bind(se),se.getTipPoints=se.getTipPoints.bind(se),se.positionTip=se.positionTip.bind(se),se.setTipPoints=se.setTipPoints.bind(se),se.colorPanel=new we("Text color",le.defaultColorSet,se.color,Ze),se.colorPanel.onColorChanged=se.setColor,se.bgColorPanel=new we("Fill color",le.defaultColorSet,se.bgColor,Te),se.bgColorPanel.onColorChanged=se.setBgColor,se.fontFamilyPanel=new je("Font",le.defaultFontFamilies,le.defaultFontFamily),se.fontFamilyPanel.onFontChanged=se.setFont,se.tipGrip=new ke,se.tipGrip.visual.transform.baseVal.appendItem(Se.createTransform()),se.controlBox.appendChild(se.tipGrip.visual),se}return ct(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(){Se.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=Se.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&&(Se.setAttributes(this.bgRectangle,[["fill",ie]]),Se.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),le=this.height/5;ie&&(this.tipPosition={x:ee+le/2,y:this.height+20});var se=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?se<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(le=this.width/5,ee=Math.min(this.width/2,15),this.tipBase1Position={x:ee,y:0},this.tipBase2Position={x:ee+le,y:0}):(this.tipBase1Position={x:0,y:ee},this.tipBase2Position={x:0,y:ee+le}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?se<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(le=this.width/5,ee=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ee-le,y:0},this.tipBase2Position={x:this.width-ee,y:0}):(this.tipBase1Position={x:this.width,y:ee},this.tipBase2Position={x:this.width,y:ee+le}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?se<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(le=this.width/5,ee=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ee-le,y:this.height},this.tipBase2Position={x:this.width-ee,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-ee-le},this.tipBase2Position={x:this.width,y:this.height-ee}):se<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(le=this.width/5,ee=Math.min(this.width/2,15),this.tipBase1Position={x:ee,y:this.height},this.tipBase2Position={x:ee+le,y:this.height}):(this.tipBase1Position={x:0,y:this.height-ee},this.tipBase2Position={x:0,y:this.height-ee-le})},ge.prototype.resize=function(ie){de.prototype.resize.call(this,ie),this.positionTip()},ge.prototype.positionTip=function(){Se.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}(ht),Zt=function(de){function ge(ie,ee,le){var se=de.call(this,ie,ee,le)||this;return se.fillColor="transparent",se.strokeColor="transparent",se.strokeWidth=0,se.strokeDasharray="",se.opacity=1,se.strokeColor=le.defaultColor,se.strokeWidth=le.defaultStrokeWidth,se.strokeDasharray=le.defaultStrokeDasharray,se.fillColor=le.defaultFillColor,se.setStrokeColor=se.setStrokeColor.bind(se),se.setFillColor=se.setFillColor.bind(se),se.setStrokeWidth=se.setStrokeWidth.bind(se),se.setStrokeDasharray=se.setStrokeDasharray.bind(se),se.setOpacity=se.setOpacity.bind(se),se.createVisual=se.createVisual.bind(se),se.strokePanel=new we("Line color",He(le.defaultColorSet,["transparent"]),le.defaultColor),se.strokePanel.onColorChanged=se.setStrokeColor,se.fillPanel=new we("Fill color",He(le.defaultColorSet,["transparent"]),se.fillColor,Te),se.fillPanel.onColorChanged=se.setFillColor,se.strokeWidthPanel=new et("Line width",le.defaultStrokeWidths,le.defaultStrokeWidth),se.strokeWidthPanel.onWidthChanged=se.setStrokeWidth,se.strokeStylePanel=new Ge("Line style",le.defaultStrokeDasharrays,le.defaultStrokeDasharray),se.strokeStylePanel.onStyleChanged=se.setStrokeDasharray,se.opacityPanel=new yt("Opacity",le.defaultOpacitySteps,se.opacity),se.opacityPanel.onOpacityChanged=se.setOpacity,se}return ct(ge,de),ge.prototype.ownsTarget=function(ie){return!(!de.prototype.ownsTarget.call(this,ie)&&ie!==this.visual)},ge.prototype.createVisual=function(){this.visual=Se.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),Se.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&&Se.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ie),this.stateChanged()},ge.prototype.setFillColor=function(ie){this.fillColor=ie,this.visual&&Se.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(ie),this.stateChanged()},ge.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.visual&&Se.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ge.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.visual&&Se.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ge.prototype.setOpacity=function(ie){this.opacity=ie,this.visual&&Se.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}(Qe),Kt=function(de){function ge(ie,ee,le){return de.call(this,ie,ee,le)||this}return ct(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=Se.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(Se.createTransform()),this.visual.appendChild(this.tip1),this.tip2=Se.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(Se.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&&(Se.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()]]),Se.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 le=this.tip2.transform.baseVal.getItem(0);le.setRotate(ie+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(le,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}(bt),rt=function(de){function ge(ie,ee,le){var se=de.call(this,ie,ee,le)||this;return se.strokePanel.colors=le.defaultColorSet,se.fillColor="transparent",se}return ct(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}(Zt),Nt=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}(),Qt=function(de){function ge(ie,ee,le){var se=de.call(this,ie,ee,le)||this;return se.strokeColor="transparent",se.strokeWidth=0,se.strokeDasharray="",se.curveX=0,se.curveY=0,se.manipulationStartCurveX=0,se.manipulationStartCurveY=0,se.setStrokeColor=se.setStrokeColor.bind(se),se.setStrokeWidth=se.setStrokeWidth.bind(se),se.setStrokeDasharray=se.setStrokeDasharray.bind(se),se.positionGrips=se.positionGrips.bind(se),se.addControlGrips=se.addControlGrips.bind(se),se.adjustVisual=se.adjustVisual.bind(se),se.setupControlBox=se.setupControlBox.bind(se),se.resize=se.resize.bind(se),se.strokeColor=le.defaultColor,se.strokeWidth=le.defaultStrokeWidth,se.strokeDasharray=le.defaultStrokeDasharray,se.strokePanel=new we("Line color",le.defaultColorSet,le.defaultColor),se.strokePanel.onColorChanged=se.setStrokeColor,se.strokeWidthPanel=new et("Line width",le.defaultStrokeWidths,le.defaultStrokeWidth),se.strokeWidthPanel.onWidthChanged=se.setStrokeWidth,se.strokeStylePanel=new Ge("Line style",le.defaultStrokeDasharrays,le.defaultStrokeDasharray),se.strokeStylePanel.onStyleChanged=se.setStrokeDasharray,se}return ct(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=Se.createGroup(),this.selectorCurve=Se.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=Se.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()),Se.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),Se.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),Se.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ge.prototype.setupControlBox=function(){de.prototype.setupControlBox.call(this),this.curveControlLine1=Se.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=Se.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}(ft),pn=function(de){function ge(ie,ee,le){var se=de.call(this,ie,ee,le)||this;return se.fillColor="transparent",se.strokeColor="transparent",se.strokeWidth=0,se.strokeDasharray="",se.textColor="transparent",se.fontSize="1rem",se.isMoved=!1,se.captionText="Caption",se.PADDING=5,se.captionBoxWidth=0,se.captionBoxHeight=0,se.strokeColor=le.defaultColor,se.strokeWidth=le.defaultStrokeWidth,se.strokeDasharray=le.defaultStrokeDasharray,se.fillColor=le.defaultFillColor,se.textColor=le.defaultStrokeColor,se.fontFamily=le.defaultFontFamily,se.fontSize=le.defaultCaptionFontSize,se.captionText=le.defaultCaptionText,se.setStrokeColor=se.setStrokeColor.bind(se),se.setFillColor=se.setFillColor.bind(se),se.setStrokeWidth=se.setStrokeWidth.bind(se),se.setStrokeDasharray=se.setStrokeDasharray.bind(se),se.createVisual=se.createVisual.bind(se),se.sizeCaption=se.sizeCaption.bind(se),se.setCaptionText=se.setCaptionText.bind(se),se.showTextEditor=se.showTextEditor.bind(se),se.positionTextEditor=se.positionTextEditor.bind(se),se.finishTextEditing=se.finishTextEditing.bind(se),se.setFont=se.setFont.bind(se),se.setTextColor=se.setTextColor.bind(se),se.strokePanel=new we("Line color",He(le.defaultColorSet,["transparent"]),se.strokeColor),se.strokePanel.onColorChanged=se.setStrokeColor,se.fillPanel=new we("Fill color",He(le.defaultColorSet,["transparent"]),se.fillColor,Te),se.fillPanel.onColorChanged=se.setFillColor,se.strokeWidthPanel=new et("Line width",le.defaultStrokeWidths,le.defaultStrokeWidth),se.strokeWidthPanel.onWidthChanged=se.setStrokeWidth,se.strokeStylePanel=new Ge("Line style",le.defaultStrokeDasharrays,le.defaultStrokeDasharray),se.strokeStylePanel.onStyleChanged=se.setStrokeDasharray,se.fontFamilyPanel=new je("Font",le.defaultFontFamilies,le.defaultFontFamily),se.fontFamilyPanel.onFontChanged=se.setFont,se.textColorPanel=new we("Text color",le.defaultColorSet,se.textColor,Ze),se.textColorPanel.onColorChanged=se.setTextColor,se}return ct(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=Se.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=Se.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=Se.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=Se.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),Se.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')"]]),Se.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&&Se.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&&Se.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),Se.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&&Se.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(ie),this.stateChanged()},ge.prototype.setFillColor=function(ie){this.fillColor=ie,this.captionBg&&Se.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(ie),this.stateChanged()},ge.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.frame&&Se.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ge.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.frame&&Se.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}(Qe),Ot=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}(),vn=function(de){function ge(ie,ee,le){var se=de.call(this,ie,!1)||this;return se.dataUrl=ee,se.state=le,se}return ct(ge,de),ge}(Ot),_t=function(de){function ge(ie,ee,le){le===void 0&&(le=!1);var se=de.call(this,ie,le)||this;return se.marker=ee,se}return ct(ge,de),ge}(Ot),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}(),on=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 it,this._isOpen=!1,this.undoRedoManager=new Nt,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[lt,Ne,Ut,ht,rt,Zt,Ft,At,Kt,ot,bt,Qt,pn]},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[lt,Ne,Ut,ht,Zt,Ft,At]},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"BASIC_MARKER_TYPES",{get:function(){return[lt,Ne,Ut,ht,Ft]},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 le=ie.ALL_MARKER_TYPES.find(function(se){return se.typeName===ee});le!==void 0&&ie._availableMarkerTypes.push(le)}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(),Ue.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},de.prototype.show=function(){var ge=this;this.styles.styleSheetRoot===void 0&&Ce.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Ce.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(ie){return ie(new Ot(ge))})},de.prototype.render=function(){return Le(this,void 0,void 0,function(){var ge;return Je(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(le){var se=new Ot(ie,!0);le(se),se.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(le){return le(new Ot(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,le=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,le),this._isResizing=!1},de.prototype.scaleMarkers=function(ge,ie){var ee,le=this;this._currentMarker&&this._currentMarker instanceof ht?this._currentMarker.scale(ge,ie):(ee=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(se){se!==le._currentMarker&&se.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=Se.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 Me(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 Ie(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(le){var se=new _t(ge,ge._currentMarker,!0);le(se),se.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(le){return le(new _t(ge,ee))})}}},de.prototype.clear=function(){var ge=this,ie=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(Be){var $e=new _t(ge,void 0,!0);Be($e),$e.defaultPrevented&&(ie=!0)}),!ie)){this.setCurrentMarker();for(var ee=function(Be){var $e=le.markers[Be];le.setCurrentMarker(le.markers[Be]),le._currentMarker.dispose(),le.markerImage.removeChild(le._currentMarker.container),le.markers.splice(le.markers.indexOf(le._currentMarker),1),le.eventListeners.markerdelete.forEach(function(at){return at(new _t(ge,$e))})},le=this,se=this.markers.length-1;se>=0;se--)ee(se);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 le=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(ie),le<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(se){return se(new Ot(ge))})}else this.undoRedoManager.replaceLastUndoStep(ie),this.eventListeners.statechange.forEach(function(se){return se(new Ot(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 Ot(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 Ot(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 Je(this,function(le){switch(le.label){case 0:return[4,this.render()];case 1:return ge=le.sent(),ie=this.getState(),this.eventListeners.render.forEach(function(se){return se(new vn(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 le=ie._availableMarkerTypes.find(function(Be){return Be.typeName===ee.typeName});if(le!==void 0){var se=ie.addNewMarker(le);se.restoreState(ee),ie.markers.push(se)}}),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 Ot(ie))})},de.prototype.addNewMarker=function(ge){var ie=Se.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(le){return le.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(le){return le(new _t(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 _t(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 _t(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 _t(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 _t(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){Ue.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 Ot(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 Ot(ge))}))},de.instanceCounter=0,de}()},6551:function(Vn,Tt,ae){"use strict";ae.d(Tt,{ZP:function(){return Ue}});var x=ae(42978),ct=ae(59301),Le=ae(47273),Je=0,He=(0,Le.Z)();function Se(){var fe;return He?(fe=Je,Je+=1):fe="TEST_OR_SSR",fe}function Ue(fe){var Ce=ct.useState(),oe=(0,x.Z)(Ce,2),Oe=oe[0],ve=oe[1];return ct.useEffect(function(){ve("rc_select_".concat(Se()))},[]),fe||Oe}},37463:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Ac:function(){return en},Xo:function(){return En},Wx:function(){return sn},ZP:function(){return Xt},lk:function(){return ze}});var x=ae(54476),ct=ae(94480),Le=ae(20068),Je=ae(33885),He=ae(42978),Se=ae(75931),Ue=ae(76190),fe=ae(18929),Ce=ae(48736),oe=ae(59301),Oe=ae(92310),ve=ae.n(Oe),Me=ae(34280),Ie=ae(49658),_e=ae(8654),we=function(yn){var kt=yn.className,dn=yn.customizeIcon,zt=yn.customizeIconProps,hn=yn.children,Pn=yn.onMouseDown,_r=yn.onClick,Jr=typeof dn=="function"?dn(zt):dn;return oe.createElement("span",{className:kt,onMouseDown:function(ir){ir.preventDefault(),Pn==null||Pn(ir)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:_r,"aria-hidden":!0},Jr!==void 0?Jr:oe.createElement("span",{className:ve()(kt.split(/\s+/).map(function(di){return"".concat(di,"-icon")}))},hn))},xe=we,Ee=function(yn,kt,dn,zt,hn){var Pn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,_r=arguments.length>6?arguments[6]:void 0,Jr=arguments.length>7?arguments[7]:void 0,di=oe.useMemo(function(){if((0,Ue.Z)(zt)==="object")return zt.clearIcon;if(hn)return hn},[zt,hn]),ir=oe.useMemo(function(){return!!(!Pn&&zt&&(dn.length||_r)&&!(Jr==="combobox"&&_r===""))},[zt,Pn,dn.length,_r,Jr]);return{allowClear:ir,clearIcon:oe.createElement(xe,{className:"".concat(yn,"-clear"),onMouseDown:kt,customizeIcon:di},"\xD7")}},ke=oe.createContext(null);function ze(){return oe.useContext(ke)}function Qe(){var ln=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,yn=oe.useState(!1),kt=(0,He.Z)(yn,2),dn=kt[0],zt=kt[1],hn=oe.useRef(null),Pn=function(){window.clearTimeout(hn.current)};oe.useEffect(function(){return Pn},[]);var _r=function(di,ir){Pn(),hn.current=window.setTimeout(function(){zt(di),ir&&ir()},ln)};return[dn,_r,Pn]}function Re(){var ln=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,yn=oe.useRef(null),kt=oe.useRef(null);oe.useEffect(function(){return function(){window.clearTimeout(kt.current)}},[]);function dn(zt){(zt||yn.current===null)&&(yn.current=zt),window.clearTimeout(kt.current),kt.current=window.setTimeout(function(){yn.current=null},ln)}return[function(){return yn.current},dn]}function et(ln,yn,kt,dn){var zt=oe.useRef(null);zt.current={open:yn,triggerOpen:kt,customizedTrigger:dn},oe.useEffect(function(){function hn(Pn){var _r;if(!((_r=zt.current)!==null&&_r!==void 0&&_r.customizedTrigger)){var Jr=Pn.target;Jr.shadowRoot&&Pn.composed&&(Jr=Pn.composedPath()[0]||Jr),zt.current.open&&ln().filter(function(di){return di}).every(function(di){return!di.contains(Jr)&&di!==Jr})&&zt.current.triggerOpen(!1)}}return window.addEventListener("mousedown",hn),function(){return window.removeEventListener("mousedown",hn)}},[])}var Ge=ae(10228);function lt(ln){return ln&&![Ge.Z.ESC,Ge.Z.SHIFT,Ge.Z.BACKSPACE,Ge.Z.TAB,Ge.Z.WIN_KEY,Ge.Z.ALT,Ge.Z.META,Ge.Z.WIN_KEY_RIGHT,Ge.Z.CTRL,Ge.Z.SEMICOLON,Ge.Z.EQUALS,Ge.Z.CAPS_LOCK,Ge.Z.CONTEXT_MENU,Ge.Z.F1,Ge.Z.F2,Ge.Z.F3,Ge.Z.F4,Ge.Z.F5,Ge.Z.F6,Ge.Z.F7,Ge.Z.F8,Ge.Z.F9,Ge.Z.F10,Ge.Z.F11,Ge.Z.F12].includes(ln)}var it=ae(26112),ft=ae(83836);function bt(ln,yn,kt){var dn=(0,Je.Z)((0,Je.Z)({},ln),kt?yn:{});return Object.keys(yn).forEach(function(zt){var hn=yn[zt];typeof hn=="function"&&(dn[zt]=function(){for(var Pn,_r=arguments.length,Jr=new Array(_r),di=0;di<_r;di++)Jr[di]=arguments[di];return hn.apply(void 0,Jr),(Pn=ln[zt])===null||Pn===void 0?void 0:Pn.call.apply(Pn,[ln].concat(Jr))})}),dn}var je=bt,ht=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],Ne=function(yn,kt){var dn=yn.prefixCls,zt=yn.id,hn=yn.inputElement,Pn=yn.autoFocus,_r=yn.autoComplete,Jr=yn.editable,di=yn.activeDescendantId,ir=yn.value,Ar=yn.open,ar=yn.attrs,ei=(0,Se.Z)(yn,ht),tr=hn||oe.createElement("input",null),Un=tr,cr=Un.ref,Bi=Un.props;return(0,Ce.Kp)(!("maxLength"in tr.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),tr=oe.cloneElement(tr,(0,Je.Z)((0,Je.Z)((0,Je.Z)({type:"search"},je(ei,Bi,!0)),{},{id:zt,ref:(0,_e.sQ)(kt,cr),autoComplete:_r||"off",autoFocus:Pn,className:ve()("".concat(dn,"-selection-search-input"),Bi==null?void 0:Bi.className),role:"combobox","aria-expanded":Ar||!1,"aria-haspopup":"listbox","aria-owns":"".concat(zt,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(zt,"_list"),"aria-activedescendant":Ar?di:void 0},ar),{},{value:Jr?ir:"",readOnly:!Jr,unselectable:Jr?null:"on",style:(0,Je.Z)((0,Je.Z)({},Bi.style),{},{opacity:Jr?null:0})})),tr},We=oe.forwardRef(Ne),Ut=We;function ot(ln){return Array.isArray(ln)?ln:ln!==void 0?[ln]:[]}var yt=typeof window!="undefined"&&window.document&&window.document.documentElement,Ft=yt;function Ze(ln){return ln!=null}function Te(ln){return!ln&&ln!==0}function At(ln){return["string","number"].includes((0,Ue.Z)(ln))}function Zt(ln){var yn=void 0;return ln&&(At(ln.title)?yn=ln.title.toString():At(ln.label)&&(yn=ln.label.toString())),yn}function Kt(ln,yn){Ft?oe.useLayoutEffect(ln,yn):oe.useEffect(ln,yn)}function rt(ln){var yn;return(yn=ln.key)!==null&&yn!==void 0?yn:ln.value}var Nt=function(yn){yn.preventDefault(),yn.stopPropagation()},Qt=function(yn){var kt=yn.id,dn=yn.prefixCls,zt=yn.values,hn=yn.open,Pn=yn.searchValue,_r=yn.autoClearSearchValue,Jr=yn.inputRef,di=yn.placeholder,ir=yn.disabled,Ar=yn.mode,ar=yn.showSearch,ei=yn.autoFocus,tr=yn.autoComplete,Un=yn.activeDescendantId,cr=yn.tabIndex,Bi=yn.removeIcon,zn=yn.maxTagCount,gn=yn.maxTagTextLength,$n=yn.maxTagPlaceholder,nr=$n===void 0?function(ti){return"+ ".concat(ti.length," ...")}:$n,pr=yn.tagRender,Zr=yn.onToggleOpen,Ni=yn.onRemove,fi=yn.onInputChange,Li=yn.onInputPaste,vi=yn.onInputKeyDown,Ei=yn.onInputMouseDown,yi=yn.onInputCompositionStart,Si=yn.onInputCompositionEnd,wi=yn.onInputBlur,Ti=oe.useRef(null),eo=(0,oe.useState)(0),vo=(0,He.Z)(eo,2),Yi=vo[0],Do=vo[1],ki=(0,oe.useState)(!1),ko=(0,He.Z)(ki,2),Ao=ko[0],Xo=ko[1],Co="".concat(dn,"-selection"),to=hn||Ar==="multiple"&&_r===!1||Ar==="tags"?Pn:"",xo=Ar==="tags"||Ar==="multiple"&&_r===!1||ar&&(hn||Ao);Kt(function(){Do(Ti.current.scrollWidth)},[to]);var $o=function(Wr,Ri,ro,zr,oi){return oe.createElement("span",{title:Zt(Wr),className:ve()("".concat(Co,"-item"),(0,Le.Z)({},"".concat(Co,"-item-disabled"),ro))},oe.createElement("span",{className:"".concat(Co,"-item-content")},Ri),zr&&oe.createElement(xe,{className:"".concat(Co,"-item-remove"),onMouseDown:Nt,onClick:oi,customizeIcon:Bi},"\xD7"))},_n=function(Wr,Ri,ro,zr,oi,yr){var ni=function(Jo){Nt(Jo),Zr(!hn)};return oe.createElement("span",{onMouseDown:ni},pr({label:Ri,value:Wr,disabled:ro,closable:zr,onClose:oi,isMaxTag:!!yr}))},No=function(Wr){var Ri=Wr.disabled,ro=Wr.label,zr=Wr.value,oi=!ir&&!Ri,yr=ro;if(typeof gn=="number"&&(typeof ro=="string"||typeof ro=="number")){var ni=String(yr);ni.length>gn&&(yr="".concat(ni.slice(0,gn),"..."))}var co=function(fo){fo&&fo.stopPropagation(),Ni(Wr)};return typeof pr=="function"?_n(zr,yr,Ri,oi,co):$o(Wr,yr,Ri,oi,co)},Vi=function(Wr){if(!zt.length)return null;var Ri=typeof nr=="function"?nr(Wr):nr;return typeof pr=="function"?_n(void 0,Ri,!1,!1,void 0,!0):$o({title:Ri},Ri,!1)},Ur=oe.createElement("div",{className:"".concat(Co,"-search"),style:{width:Yi},onFocus:function(){Xo(!0)},onBlur:function(){Xo(!1)}},oe.createElement(Ut,{ref:Jr,open:hn,prefixCls:dn,id:kt,inputElement:null,disabled:ir,autoFocus:ei,autoComplete:tr,editable:xo,activeDescendantId:Un,value:to,onKeyDown:vi,onMouseDown:Ei,onChange:fi,onPaste:Li,onCompositionStart:yi,onCompositionEnd:Si,onBlur:wi,tabIndex:cr,attrs:(0,it.Z)(yn,!0)}),oe.createElement("span",{ref:Ti,className:"".concat(Co,"-search-mirror"),"aria-hidden":!0},to,"\xA0")),qr=oe.createElement(ft.Z,{prefixCls:"".concat(Co,"-overflow"),data:zt,renderItem:No,renderRest:Vi,suffix:Ur,itemKey:rt,maxCount:zn});return oe.createElement("span",{className:"".concat(Co,"-wrap")},qr,!zt.length&&!to&&oe.createElement("span",{className:"".concat(Co,"-placeholder")},di))},pn=Qt,Ot=function(yn){var kt=yn.inputElement,dn=yn.prefixCls,zt=yn.id,hn=yn.inputRef,Pn=yn.disabled,_r=yn.autoFocus,Jr=yn.autoComplete,di=yn.activeDescendantId,ir=yn.mode,Ar=yn.open,ar=yn.values,ei=yn.placeholder,tr=yn.tabIndex,Un=yn.showSearch,cr=yn.searchValue,Bi=yn.activeValue,zn=yn.maxLength,gn=yn.onInputKeyDown,$n=yn.onInputMouseDown,nr=yn.onInputChange,pr=yn.onInputPaste,Zr=yn.onInputCompositionStart,Ni=yn.onInputCompositionEnd,fi=yn.onInputBlur,Li=yn.title,vi=oe.useState(!1),Ei=(0,He.Z)(vi,2),yi=Ei[0],Si=Ei[1],wi=ir==="combobox",Ti=wi||Un,eo=ar[0],vo=cr||"";wi&&Bi&&!yi&&(vo=Bi),oe.useEffect(function(){wi&&Si(!1)},[wi,Bi]);var Yi=ir!=="combobox"&&!Ar&&!Un?!1:!!vo,Do=Li===void 0?Zt(eo):Li,ki=oe.useMemo(function(){return eo?null:oe.createElement("span",{className:"".concat(dn,"-selection-placeholder"),style:Yi?{visibility:"hidden"}:void 0},ei)},[eo,Yi,ei,dn]);return oe.createElement("span",{className:"".concat(dn,"-selection-wrap")},oe.createElement("span",{className:"".concat(dn,"-selection-search")},oe.createElement(Ut,{ref:hn,prefixCls:dn,id:zt,open:Ar,inputElement:kt,disabled:Pn,autoFocus:_r,autoComplete:Jr,editable:Ti,activeDescendantId:di,value:vo,onKeyDown:gn,onMouseDown:$n,onChange:function(Ao){Si(!0),nr(Ao)},onPaste:pr,onCompositionStart:Zr,onCompositionEnd:Ni,onBlur:fi,tabIndex:tr,attrs:(0,it.Z)(yn,!0),maxLength:wi?zn:void 0})),!wi&&eo?oe.createElement("span",{className:"".concat(dn,"-selection-item"),title:Do,style:Yi?{visibility:"hidden"}:void 0},eo.label):null,ki)},vn=Ot,_t=function(yn,kt){var dn=(0,oe.useRef)(null),zt=(0,oe.useRef)(!1),hn=yn.prefixCls,Pn=yn.open,_r=yn.mode,Jr=yn.showSearch,di=yn.tokenWithEnter,ir=yn.disabled,Ar=yn.prefix,ar=yn.autoClearSearchValue,ei=yn.onSearch,tr=yn.onSearchSubmit,Un=yn.onToggleOpen,cr=yn.onInputKeyDown,Bi=yn.onInputBlur,zn=yn.domRef;oe.useImperativeHandle(kt,function(){return{focus:function(Do){dn.current.focus(Do)},blur:function(){dn.current.blur()}}});var gn=Re(0),$n=(0,He.Z)(gn,2),nr=$n[0],pr=$n[1],Zr=function(Do){var ki=Do.which,ko=dn.current instanceof HTMLTextAreaElement;!ko&&Pn&&(ki===Ge.Z.UP||ki===Ge.Z.DOWN)&&Do.preventDefault(),cr&&cr(Do),ki===Ge.Z.ENTER&&_r==="tags"&&!zt.current&&!Pn&&(tr==null||tr(Do.target.value)),!(ko&&!Pn&&~[Ge.Z.UP,Ge.Z.DOWN,Ge.Z.LEFT,Ge.Z.RIGHT].indexOf(ki))&&lt(ki)&&Un(!0)},Ni=function(){pr(!0)},fi=(0,oe.useRef)(null),Li=function(Do){ei(Do,!0,zt.current)!==!1&&Un(!0)},vi=function(){zt.current=!0},Ei=function(Do){zt.current=!1,_r!=="combobox"&&Li(Do.target.value)},yi=function(Do){var ki=Do.target.value;if(di&&fi.current&&/[\r\n]/.test(fi.current)){var ko=fi.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");ki=ki.replace(ko,fi.current)}fi.current=null,Li(ki)},Si=function(Do){var ki=Do.clipboardData,ko=ki==null?void 0:ki.getData("text");fi.current=ko||""},wi=function(Do){var ki=Do.target;if(ki!==dn.current){var ko=document.body.style.msTouchAction!==void 0;ko?setTimeout(function(){dn.current.focus()}):dn.current.focus()}},Ti=function(Do){var ki=nr();Do.target!==dn.current&&!ki&&!(_r==="combobox"&&ir)&&Do.preventDefault(),(_r!=="combobox"&&(!Jr||!ki)||!Pn)&&(Pn&&ar!==!1&&ei("",!0,!1),Un())},eo={inputRef:dn,onInputKeyDown:Zr,onInputMouseDown:Ni,onInputChange:yi,onInputPaste:Si,onInputCompositionStart:vi,onInputCompositionEnd:Ei,onInputBlur:Bi},vo=_r==="multiple"||_r==="tags"?oe.createElement(pn,(0,x.Z)({},yn,eo)):oe.createElement(vn,(0,x.Z)({},yn,eo));return oe.createElement("div",{ref:zn,className:"".concat(hn,"-selector"),onClick:wi,onMouseDown:Ti},Ar&&oe.createElement("div",{className:"".concat(hn,"-prefix")},Ar),vo)},Fn=oe.forwardRef(_t),on=Fn,de=ae(65030),ge=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],ie=function(yn){var kt=yn===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:kt,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:kt,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:kt,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:kt,adjustY:1},htmlRegion:"scroll"}}},ee=function(yn,kt){var dn=yn.prefixCls,zt=yn.disabled,hn=yn.visible,Pn=yn.children,_r=yn.popupElement,Jr=yn.animation,di=yn.transitionName,ir=yn.dropdownStyle,Ar=yn.dropdownClassName,ar=yn.direction,ei=ar===void 0?"ltr":ar,tr=yn.placement,Un=yn.builtinPlacements,cr=yn.dropdownMatchSelectWidth,Bi=yn.dropdownRender,zn=yn.dropdownAlign,gn=yn.getPopupContainer,$n=yn.empty,nr=yn.getTriggerDOMNode,pr=yn.onPopupVisibleChange,Zr=yn.onPopupMouseEnter,Ni=(0,Se.Z)(yn,ge),fi="".concat(dn,"-dropdown"),Li=_r;Bi&&(Li=Bi(_r));var vi=oe.useMemo(function(){return Un||ie(cr)},[Un,cr]),Ei=Jr?"".concat(fi,"-").concat(Jr):di,yi=typeof cr=="number",Si=oe.useMemo(function(){return yi?null:cr===!1?"minWidth":"width"},[cr,yi]),wi=ir;yi&&(wi=(0,Je.Z)((0,Je.Z)({},wi),{},{width:cr}));var Ti=oe.useRef(null);return oe.useImperativeHandle(kt,function(){return{getPopupElement:function(){var vo;return(vo=Ti.current)===null||vo===void 0?void 0:vo.popupElement}}}),oe.createElement(de.Z,(0,x.Z)({},Ni,{showAction:pr?["click"]:[],hideAction:pr?["click"]:[],popupPlacement:tr||(ei==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:vi,prefixCls:fi,popupTransitionName:Ei,popup:oe.createElement("div",{onMouseEnter:Zr},Li),ref:Ti,stretch:Si,popupAlign:zn,popupVisible:hn,getPopupContainer:gn,popupClassName:ve()(Ar,(0,Le.Z)({},"".concat(fi,"-empty"),$n)),popupStyle:wi,getTriggerDOMNode:nr,onPopupVisibleChange:pr}),Pn)},le=oe.forwardRef(ee),se=le,Be=ae(66712);function $e(ln,yn){var kt=ln.key,dn;return"value"in ln&&(dn=ln.value),kt!=null?kt:dn!==void 0?dn:"rc-index-key-".concat(yn)}function at(ln){return typeof ln!="undefined"&&!Number.isNaN(ln)}function pt(ln,yn){var kt=ln||{},dn=kt.label,zt=kt.value,hn=kt.options,Pn=kt.groupLabel,_r=dn||(yn?"children":"label");return{label:_r,value:zt||"value",options:hn||"options",groupLabel:Pn||_r}}function gt(ln){var yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},kt=yn.fieldNames,dn=yn.childrenAsData,zt=[],hn=pt(kt,!1),Pn=hn.label,_r=hn.value,Jr=hn.options,di=hn.groupLabel;function ir(Ar,ar){Array.isArray(Ar)&&Ar.forEach(function(ei){if(ar||!(Jr in ei)){var tr=ei[_r];zt.push({key:$e(ei,zt.length),groupOption:ar,data:ei,label:ei[Pn],value:tr})}else{var Un=ei[di];Un===void 0&&dn&&(Un=ei.label),zt.push({key:$e(ei,zt.length),group:!0,data:ei,label:Un}),ir(ei[Jr],!0)}})}return ir(ln,!1),zt}function Bt(ln){var yn=(0,Je.Z)({},ln);return"props"in yn||Object.defineProperty(yn,"props",{get:function(){return(0,Ce.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),yn}}),yn}var Lt=function(yn,kt,dn){if(!kt||!kt.length)return null;var zt=!1,hn=function _r(Jr,di){var ir=(0,Be.Z)(di),Ar=ir[0],ar=ir.slice(1);if(!Ar)return[Jr];var ei=Jr.split(Ar);return zt=zt||ei.length>1,ei.reduce(function(tr,Un){return[].concat((0,ct.Z)(tr),(0,ct.Z)(_r(Un,ar)))},[]).filter(Boolean)},Pn=hn(yn,kt);return zt?typeof dn!="undefined"?Pn.slice(0,dn):Pn:null},Rt=oe.createContext(null),Ct=Rt;function st(ln){var yn=ln.visible,kt=ln.values;if(!yn)return null;var dn=50;return oe.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(kt.slice(0,dn).map(function(zt){var hn=zt.label,Pn=zt.value;return["number","string"].includes((0,Ue.Z)(hn))?hn:Pn}).join(", ")),kt.length>dn?", ...":null)}var $t=["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"],Vt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],bn=function(yn){return yn==="tags"||yn==="multiple"},an=oe.forwardRef(function(ln,yn){var kt,dn=ln.id,zt=ln.prefixCls,hn=ln.className,Pn=ln.showSearch,_r=ln.tagRender,Jr=ln.direction,di=ln.omitDomProps,ir=ln.displayValues,Ar=ln.onDisplayValuesChange,ar=ln.emptyOptions,ei=ln.notFoundContent,tr=ei===void 0?"Not Found":ei,Un=ln.onClear,cr=ln.mode,Bi=ln.disabled,zn=ln.loading,gn=ln.getInputElement,$n=ln.getRawInputElement,nr=ln.open,pr=ln.defaultOpen,Zr=ln.onDropdownVisibleChange,Ni=ln.activeValue,fi=ln.onActiveValueChange,Li=ln.activeDescendantId,vi=ln.searchValue,Ei=ln.autoClearSearchValue,yi=ln.onSearch,Si=ln.onSearchSplit,wi=ln.tokenSeparators,Ti=ln.allowClear,eo=ln.prefix,vo=ln.suffixIcon,Yi=ln.clearIcon,Do=ln.OptionList,ki=ln.animation,ko=ln.transitionName,Ao=ln.dropdownStyle,Xo=ln.dropdownClassName,Co=ln.dropdownMatchSelectWidth,to=ln.dropdownRender,xo=ln.dropdownAlign,$o=ln.placement,_n=ln.builtinPlacements,No=ln.getPopupContainer,Vi=ln.showAction,Ur=Vi===void 0?[]:Vi,qr=ln.onFocus,ti=ln.onBlur,Wr=ln.onKeyUp,Ri=ln.onKeyDown,ro=ln.onMouseDown,zr=(0,Se.Z)(ln,$t),oi=bn(cr),yr=(Pn!==void 0?Pn:oi)||cr==="combobox",ni=(0,Je.Z)({},zr);Vt.forEach(function(Pa){delete ni[Pa]}),di==null||di.forEach(function(Pa){delete ni[Pa]});var co=oe.useState(!1),Jo=(0,He.Z)(co,2),fo=Jo[0],ta=Jo[1];oe.useEffect(function(){ta((0,Ie.Z)())},[]);var Go=oe.useRef(null),va=oe.useRef(null),Vo=oe.useRef(null),oa=oe.useRef(null),da=oe.useRef(null),Wa=oe.useRef(!1),Ds=Qe(),zs=(0,He.Z)(Ds,3),is=zs[0],us=zs[1],Mo=zs[2];oe.useImperativeHandle(yn,function(){var Pa,Ua;return{focus:(Pa=oa.current)===null||Pa===void 0?void 0:Pa.focus,blur:(Ua=oa.current)===null||Ua===void 0?void 0:Ua.blur,scrollTo:function(tA){var Vl;return(Vl=da.current)===null||Vl===void 0?void 0:Vl.scrollTo(tA)},nativeElement:Go.current||va.current}});var mo=oe.useMemo(function(){var Pa;if(cr!=="combobox")return vi;var Ua=(Pa=ir[0])===null||Pa===void 0?void 0:Pa.value;return typeof Ua=="string"||typeof Ua=="number"?String(Ua):""},[vi,cr,ir]),Fa=cr==="combobox"&&typeof gn=="function"&&gn()||null,hs=typeof $n=="function"&&$n(),el=(0,_e.x1)(va,hs==null||(kt=hs.props)===null||kt===void 0?void 0:kt.ref),tl=oe.useState(!1),nl=(0,He.Z)(tl,2),hl=nl[0],lu=nl[1];(0,Me.Z)(function(){lu(!0)},[]);var Js=(0,fe.Z)(!1,{defaultValue:pr,value:nr}),Kl=(0,He.Z)(Js,2),Zl=Kl[0],Lu=Kl[1],dl=hl?Zl:!1,FA=!tr&&ar;(Bi||FA&&dl&&cr==="combobox")&&(dl=!1);var hA=FA?!1:dl,pa=oe.useCallback(function(Pa){var Ua=Pa!==void 0?Pa:!dl;Bi||(Lu(Ua),dl!==Ua&&(Zr==null||Zr(Ua)))},[Bi,dl,Lu,Zr]),Ia=oe.useMemo(function(){return(wi||[]).some(function(Pa){return[`
`,`\r
`].includes(Pa)})},[wi]),ma=oe.useContext(Ct)||{},Ca=ma.maxCount,qa=ma.rawValues,Xa=function(Ua,Rs,tA){if(!(oi&&at(Ca)&&(qa==null?void 0:qa.size)>=Ca)){var Vl=!0,Au=Ua;fi==null||fi(null);var WA=Lt(Ua,wi,at(Ca)?Ca-qa.size:void 0),gA=tA?null:WA;return cr!=="combobox"&&gA&&(Au="",Si==null||Si(gA),pa(!1),Vl=!1),yi&&mo!==Au&&yi(Au,{source:Rs?"typing":"effect"}),Vl}},Ha=function(Ua){!Ua||!Ua.trim()||yi(Ua,{source:"submit"})};oe.useEffect(function(){!dl&&!oi&&cr!=="combobox"&&Xa("",!1,!1)},[dl]),oe.useEffect(function(){Zl&&Bi&&Lu(!1),Bi&&!Wa.current&&us(!1)},[Bi]);var Wl=Re(),uu=(0,He.Z)(Wl,2),ji=uu[0],ga=uu[1],Ta=oe.useRef(!1),iu=function(Ua){var Rs=ji(),tA=Ua.key,Vl=tA==="Enter";if(Vl&&(cr!=="combobox"&&Ua.preventDefault(),dl||pa(!0)),ga(!!mo),tA==="Backspace"&&!Rs&&oi&&!mo&&ir.length){for(var Au=(0,ct.Z)(ir),WA=null,gA=Au.length-1;gA>=0;gA-=1){var fc=Au[gA];if(!fc.disabled){Au.splice(gA,1),WA=fc;break}}WA&&Ar(Au,{type:"remove",values:[WA]})}for(var Xl=arguments.length,mA=new Array(Xl>1?Xl-1:0),nc=1;nc<Xl;nc++)mA[nc-1]=arguments[nc];if(dl&&(!Vl||!Ta.current)){var rc;Vl&&(Ta.current=!0),(rc=da.current)===null||rc===void 0||rc.onKeyDown.apply(rc,[Ua].concat(mA))}Ri==null||Ri.apply(void 0,[Ua].concat(mA))},Pl=function(Ua){for(var Rs=arguments.length,tA=new Array(Rs>1?Rs-1:0),Vl=1;Vl<Rs;Vl++)tA[Vl-1]=arguments[Vl];if(dl){var Au;(Au=da.current)===null||Au===void 0||Au.onKeyUp.apply(Au,[Ua].concat(tA))}Ua.key==="Enter"&&(Ta.current=!1),Wr==null||Wr.apply(void 0,[Ua].concat(tA))},ps=function(Ua){var Rs=ir.filter(function(tA){return tA!==Ua});Ar(Rs,{type:"remove",values:[Ua]})},Cu=function(){Ta.current=!1},pl=oe.useRef(!1),Kc=function(){us(!0),Bi||(qr&&!pl.current&&qr.apply(void 0,arguments),Ur.includes("focus")&&pa(!0)),pl.current=!0},IA=function(){Wa.current=!0,us(!1,function(){pl.current=!1,Wa.current=!1,pa(!1)}),!Bi&&(mo&&(cr==="tags"?yi(mo,{source:"submit"}):cr==="multiple"&&yi("",{source:"blur"})),ti&&ti.apply(void 0,arguments))},xu=[];oe.useEffect(function(){return function(){xu.forEach(function(Pa){return clearTimeout(Pa)}),xu.splice(0,xu.length)}},[]);var aa=function(Ua){var Rs,tA=Ua.target,Vl=(Rs=Vo.current)===null||Rs===void 0?void 0:Rs.getPopupElement();if(Vl&&Vl.contains(tA)){var Au=setTimeout(function(){var Xl=xu.indexOf(Au);if(Xl!==-1&&xu.splice(Xl,1),Mo(),!fo&&!Vl.contains(document.activeElement)){var mA;(mA=oa.current)===null||mA===void 0||mA.focus()}});xu.push(Au)}for(var WA=arguments.length,gA=new Array(WA>1?WA-1:0),fc=1;fc<WA;fc++)gA[fc-1]=arguments[fc];ro==null||ro.apply(void 0,[Ua].concat(gA))},Wu=oe.useState({}),dc=(0,He.Z)(Wu,2),Mu=dc[1];function Ns(){Mu({})}var eA;hs&&(eA=function(Ua){pa(Ua)}),et(function(){var Pa;return[Go.current,(Pa=Vo.current)===null||Pa===void 0?void 0:Pa.getPopupElement()]},hA,pa,!!hs);var pA=oe.useMemo(function(){return(0,Je.Z)((0,Je.Z)({},ln),{},{notFoundContent:tr,open:dl,triggerOpen:hA,id:dn,showSearch:yr,multiple:oi,toggleOpen:pa})},[ln,tr,hA,dl,dn,yr,oi,pa]),_A=!!vo||zn,bl;_A&&(bl=oe.createElement(xe,{className:ve()("".concat(zt,"-arrow"),(0,Le.Z)({},"".concat(zt,"-arrow-loading"),zn)),customizeIcon:vo,customizeIconProps:{loading:zn,searchValue:mo,open:dl,focused:is,showSearch:yr}}));var Cl=function(){var Ua;Un==null||Un(),(Ua=oa.current)===null||Ua===void 0||Ua.focus(),Ar([],{type:"clear",values:ir}),Xa("",!1,!1)},rl=Ee(zt,Cl,ir,Ti,Yi,Bi,mo,cr),$l=rl.allowClear,Gl=rl.clearIcon,Oc=oe.createElement(Do,{ref:da}),nd=ve()(zt,hn,(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"),is),"".concat(zt,"-multiple"),oi),"".concat(zt,"-single"),!oi),"".concat(zt,"-allow-clear"),Ti),"".concat(zt,"-show-arrow"),_A),"".concat(zt,"-disabled"),Bi),"".concat(zt,"-loading"),zn),"".concat(zt,"-open"),dl),"".concat(zt,"-customize-input"),Fa),"".concat(zt,"-show-search"),yr)),_l=oe.createElement(se,{ref:Vo,disabled:Bi,prefixCls:zt,visible:hA,popupElement:Oc,animation:ki,transitionName:ko,dropdownStyle:Ao,dropdownClassName:Xo,direction:Jr,dropdownMatchSelectWidth:Co,dropdownRender:to,dropdownAlign:xo,placement:$o,builtinPlacements:_n,getPopupContainer:No,empty:ar,getTriggerDOMNode:function(Ua){return va.current||Ua},onPopupVisibleChange:eA,onPopupMouseEnter:Ns},hs?oe.cloneElement(hs,{ref:el}):oe.createElement(on,(0,x.Z)({},ln,{domRef:va,prefixCls:zt,inputElement:Fa,ref:oa,id:dn,prefix:eo,showSearch:yr,autoClearSearchValue:Ei,mode:cr,activeDescendantId:Li,tagRender:_r,values:ir,open:dl,onToggleOpen:pa,activeValue:Ni,searchValue:mo,onSearch:Xa,onSearchSubmit:Ha,onRemove:ps,tokenWithEnter:Ia,onInputBlur:Cu}))),Uu;return hs?Uu=_l:Uu=oe.createElement("div",(0,x.Z)({className:nd},ni,{ref:Go,onMouseDown:aa,onKeyDown:iu,onKeyUp:Pl,onFocus:Kc,onBlur:IA}),oe.createElement(st,{visible:is&&!dl,values:ir}),_l,bl,$l&&Gl),oe.createElement(ke.Provider,{value:pA},Uu)}),en=an,Hn=function(){return null};Hn.isSelectOptGroup=!0;var En=Hn,Mt=function(){return null};Mt.isSelectOption=!0;var sn=Mt,Dn=ae(80547),Wn=ae(2738),It=ae(48911);function Wt(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var rn=["disabled","title","children","style","className"];function mn(ln){return typeof ln=="string"||typeof ln=="number"}var Xn=function(yn,kt){var dn=ze(),zt=dn.prefixCls,hn=dn.id,Pn=dn.open,_r=dn.multiple,Jr=dn.mode,di=dn.searchValue,ir=dn.toggleOpen,Ar=dn.notFoundContent,ar=dn.onPopupScroll,ei=oe.useContext(Ct),tr=ei.maxCount,Un=ei.flattenOptions,cr=ei.onActiveValue,Bi=ei.defaultActiveFirstOption,zn=ei.onSelect,gn=ei.menuItemSelectedIcon,$n=ei.rawValues,nr=ei.fieldNames,pr=ei.virtual,Zr=ei.direction,Ni=ei.listHeight,fi=ei.listItemHeight,Li=ei.optionRender,vi="".concat(zt,"-item"),Ei=(0,Dn.Z)(function(){return Un},[Pn,Un],function(Vi,Ur){return Ur[0]&&Vi[1]!==Ur[1]}),yi=oe.useRef(null),Si=oe.useMemo(function(){return _r&&at(tr)&&($n==null?void 0:$n.size)>=tr},[_r,tr,$n==null?void 0:$n.size]),wi=function(Ur){Ur.preventDefault()},Ti=function(Ur){var qr;(qr=yi.current)===null||qr===void 0||qr.scrollTo(typeof Ur=="number"?{index:Ur}:Ur)},eo=oe.useCallback(function(Vi){return Jr==="combobox"?!1:$n.has(Vi)},[Jr,(0,ct.Z)($n).toString(),$n.size]),vo=function(Ur){for(var qr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ti=Ei.length,Wr=0;Wr<ti;Wr+=1){var Ri=(Ur+Wr*qr+ti)%ti,ro=Ei[Ri]||{},zr=ro.group,oi=ro.data;if(!zr&&!(oi!=null&&oi.disabled)&&(eo(oi.value)||!Si))return Ri}return-1},Yi=oe.useState(function(){return vo(0)}),Do=(0,He.Z)(Yi,2),ki=Do[0],ko=Do[1],Ao=function(Ur){var qr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;ko(Ur);var ti={source:qr?"keyboard":"mouse"},Wr=Ei[Ur];if(!Wr){cr(null,-1,ti);return}cr(Wr.value,Ur,ti)};(0,oe.useEffect)(function(){Ao(Bi!==!1?vo(0):-1)},[Ei.length,di]);var Xo=oe.useCallback(function(Vi){return Jr==="combobox"?String(Vi).toLowerCase()===di.toLowerCase():$n.has(Vi)},[Jr,di,(0,ct.Z)($n).toString(),$n.size]);(0,oe.useEffect)(function(){var Vi=setTimeout(function(){if(!_r&&Pn&&$n.size===1){var qr=Array.from($n)[0],ti=Ei.findIndex(function(Wr){var Ri=Wr.data;return di?String(Ri.value).startsWith(di):Ri.value===qr});ti!==-1&&(Ao(ti),Ti(ti))}});if(Pn){var Ur;(Ur=yi.current)===null||Ur===void 0||Ur.scrollTo(void 0)}return function(){return clearTimeout(Vi)}},[Pn,di]);var Co=function(Ur){Ur!==void 0&&zn(Ur,{selected:!$n.has(Ur)}),_r||ir(!1)};if(oe.useImperativeHandle(kt,function(){return{onKeyDown:function(Ur){var qr=Ur.which,ti=Ur.ctrlKey;switch(qr){case Ge.Z.N:case Ge.Z.P:case Ge.Z.UP:case Ge.Z.DOWN:{var Wr=0;if(qr===Ge.Z.UP?Wr=-1:qr===Ge.Z.DOWN?Wr=1:Wt()&&ti&&(qr===Ge.Z.N?Wr=1:qr===Ge.Z.P&&(Wr=-1)),Wr!==0){var Ri=vo(ki+Wr,Wr);Ti(Ri),Ao(Ri,!0)}break}case Ge.Z.TAB:case Ge.Z.ENTER:{var ro,zr=Ei[ki];zr&&!(zr!=null&&(ro=zr.data)!==null&&ro!==void 0&&ro.disabled)&&!Si?Co(zr.value):Co(void 0),Pn&&Ur.preventDefault();break}case Ge.Z.ESC:ir(!1),Pn&&Ur.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Ur){Ti(Ur)}}}),Ei.length===0)return oe.createElement("div",{role:"listbox",id:"".concat(hn,"_list"),className:"".concat(vi,"-empty"),onMouseDown:wi},Ar);var to=Object.keys(nr).map(function(Vi){return nr[Vi]}),xo=function(Ur){return Ur.label};function $o(Vi,Ur){var qr=Vi.group;return{role:qr?"presentation":"option",id:"".concat(hn,"_list_").concat(Ur)}}var _n=function(Ur){var qr=Ei[Ur];if(!qr)return null;var ti=qr.data||{},Wr=ti.value,Ri=qr.group,ro=(0,it.Z)(ti,!0),zr=xo(qr);return qr?oe.createElement("div",(0,x.Z)({"aria-label":typeof zr=="string"&&!Ri?zr:null},ro,{key:Ur},$o(qr,Ur),{"aria-selected":Xo(Wr)}),Wr):null},No={role:"listbox",id:"".concat(hn,"_list")};return oe.createElement(oe.Fragment,null,pr&&oe.createElement("div",(0,x.Z)({},No,{style:{height:0,width:0,overflow:"hidden"}}),_n(ki-1),_n(ki),_n(ki+1)),oe.createElement(It.Z,{itemKey:"key",ref:yi,data:Ei,height:Ni,itemHeight:fi,fullHeight:!1,onMouseDown:wi,onScroll:ar,virtual:pr,direction:Zr,innerProps:pr?null:No},function(Vi,Ur){var qr=Vi.group,ti=Vi.groupOption,Wr=Vi.data,Ri=Vi.label,ro=Vi.value,zr=Wr.key;if(qr){var oi,yr=(oi=Wr.title)!==null&&oi!==void 0?oi:mn(Ri)?Ri.toString():void 0;return oe.createElement("div",{className:ve()(vi,"".concat(vi,"-group"),Wr.className),title:yr},Ri!==void 0?Ri:zr)}var ni=Wr.disabled,co=Wr.title,Jo=Wr.children,fo=Wr.style,ta=Wr.className,Go=(0,Se.Z)(Wr,rn),va=(0,Wn.Z)(Go,to),Vo=eo(ro),oa=ni||!Vo&&Si,da="".concat(vi,"-option"),Wa=ve()(vi,da,ta,(0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)({},"".concat(da,"-grouped"),ti),"".concat(da,"-active"),ki===Ur&&!oa),"".concat(da,"-disabled"),oa),"".concat(da,"-selected"),Vo)),Ds=xo(Vi),zs=!gn||typeof gn=="function"||Vo,is=typeof Ds=="number"?Ds:Ds||ro,us=mn(is)?is.toString():void 0;return co!==void 0&&(us=co),oe.createElement("div",(0,x.Z)({},(0,it.Z)(va),pr?{}:$o(Vi,Ur),{"aria-selected":Xo(ro),className:Wa,title:us,onMouseMove:function(){ki===Ur||oa||Ao(Ur)},onClick:function(){oa||Co(ro)},style:fo}),oe.createElement("div",{className:"".concat(da,"-content")},typeof Li=="function"?Li(Vi,{index:Ur}):is),oe.isValidElement(gn)||Vo,zs&&oe.createElement(xe,{className:"".concat(vi,"-option-state"),customizeIcon:gn,customizeIconProps:{value:ro,disabled:oa,isSelected:Vo}},Vo?"\u2713":null))}))},Fr=oe.forwardRef(Xn),ri=Fr,Hr=function(ln,yn){var kt=oe.useRef({values:new Map,options:new Map}),dn=oe.useMemo(function(){var hn=kt.current,Pn=hn.values,_r=hn.options,Jr=ln.map(function(Ar){if(Ar.label===void 0){var ar;return(0,Je.Z)((0,Je.Z)({},Ar),{},{label:(ar=Pn.get(Ar.value))===null||ar===void 0?void 0:ar.label})}return Ar}),di=new Map,ir=new Map;return Jr.forEach(function(Ar){di.set(Ar.value,Ar),ir.set(Ar.value,yn.get(Ar.value)||_r.get(Ar.value))}),kt.current.values=di,kt.current.options=ir,Jr},[ln,yn]),zt=oe.useCallback(function(hn){return yn.get(hn)||kt.current.options.get(hn)},[yn]);return[dn,zt]};function Ir(ln,yn){return ot(ln).join("").toUpperCase().includes(yn)}var er=function(ln,yn,kt,dn,zt){return oe.useMemo(function(){if(!kt||dn===!1)return ln;var hn=yn.options,Pn=yn.label,_r=yn.value,Jr=[],di=typeof dn=="function",ir=kt.toUpperCase(),Ar=di?dn:function(ei,tr){return zt?Ir(tr[zt],ir):tr[hn]?Ir(tr[Pn!=="children"?Pn:"label"],ir):Ir(tr[_r],ir)},ar=di?function(ei){return Bt(ei)}:function(ei){return ei};return ln.forEach(function(ei){if(ei[hn]){var tr=Ar(kt,ar(ei));if(tr)Jr.push(ei);else{var Un=ei[hn].filter(function(cr){return Ar(kt,ar(cr))});Un.length&&Jr.push((0,Je.Z)((0,Je.Z)({},ei),{},(0,Le.Z)({},hn,Un)))}return}Ar(kt,ar(ei))&&Jr.push(ei)}),Jr},[ln,dn,zt,kt,yn])},vr=ae(6551),Mr=ae(11592),Yn=["children","value"],sr=["children"];function jn(ln){var yn=ln,kt=yn.key,dn=yn.props,zt=dn.children,hn=dn.value,Pn=(0,Se.Z)(dn,Yn);return(0,Je.Z)({key:kt,value:hn!==void 0?hn:kt,children:zt},Pn)}function ur(ln){var yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Mr.Z)(ln).map(function(kt,dn){if(!oe.isValidElement(kt)||!kt.type)return null;var zt=kt,hn=zt.type.isSelectOptGroup,Pn=zt.key,_r=zt.props,Jr=_r.children,di=(0,Se.Z)(_r,sr);return yn||!hn?jn(kt):(0,Je.Z)((0,Je.Z)({key:"__RC_SELECT_GRP__".concat(Pn===null?dn:Pn,"__"),label:Pn},di),{},{options:ur(Jr)})}).filter(function(kt){return kt})}var br=function(yn,kt,dn,zt,hn){return oe.useMemo(function(){var Pn=yn,_r=!yn;_r&&(Pn=ur(kt));var Jr=new Map,di=new Map,ir=function(ei,tr,Un){Un&&typeof Un=="string"&&ei.set(tr[Un],tr)},Ar=function ar(ei){for(var tr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Un=0;Un<ei.length;Un+=1){var cr=ei[Un];!cr[dn.options]||tr?(Jr.set(cr[dn.value],cr),ir(di,cr,dn.label),ir(di,cr,zt),ir(di,cr,hn)):ar(cr[dn.options],!0)}};return Ar(Pn),{options:Pn,valueOptions:Jr,labelOptions:di}},[yn,kt,dn,zt,hn])},Xr=br;function Yr(ln){var yn=oe.useRef();yn.current=ln;var kt=oe.useCallback(function(){return yn.current.apply(yn,arguments)},[]);return kt}function pi(ln){var yn=ln.mode,kt=ln.options,dn=ln.children,zt=ln.backfill,hn=ln.allowClear,Pn=ln.placeholder,_r=ln.getInputElement,Jr=ln.showSearch,di=ln.onSearch,ir=ln.defaultOpen,Ar=ln.autoFocus,ar=ln.labelInValue,ei=ln.value,tr=ln.inputValue,Un=ln.optionLabelProp,cr=isMultiple(yn),Bi=Jr!==void 0?Jr:cr||yn==="combobox",zn=kt||convertChildrenToData(dn);if(warning(yn!=="tags"||zn.every(function(pr){return!pr.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),yn==="tags"||yn==="combobox"){var gn=zn.some(function(pr){return pr.options?pr.options.some(function(Zr){return typeof("value"in Zr?Zr.value:Zr.key)=="number"}):typeof("value"in pr?pr.value:pr.key)=="number"});warning(!gn,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(yn!=="combobox"||!Un,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(yn==="combobox"||!zt,"`backfill` only works with `combobox` mode."),warning(yn==="combobox"||!_r,"`getInputElement` only work with `combobox` mode."),noteOnce(yn!=="combobox"||!_r||!hn||!Pn,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),di&&!Bi&&yn!=="combobox"&&yn!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!ir||Ar,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),ei!=null){var $n=toArray(ei);warning(!ar||$n.every(function(pr){return _typeof(pr)==="object"&&("key"in pr||"value"in pr)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!cr||Array.isArray(ei),"`value` should be array when `mode` is `multiple` or `tags`")}if(dn){var nr=null;toNodeArray(dn).some(function(pr){if(!React.isValidElement(pr)||!pr.type)return!1;var Zr=pr,Ni=Zr.type;if(Ni.isSelectOption)return!1;if(Ni.isSelectOptGroup){var fi=toNodeArray(pr.props.children).every(function(Li){return!React.isValidElement(Li)||!pr.type||Li.type.isSelectOption?!0:(nr=Li.type,!1)});return!fi}return nr=Ni,!0}),nr&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(nr.displayName||nr.name||nr,"`.")),warning(tr===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function ci(ln,yn){if(ln){var kt=function dn(zt){for(var hn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Pn=0;Pn<zt.length;Pn++){var _r=zt[Pn];if(_r[yn==null?void 0:yn.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!hn&&Array.isArray(_r[yn==null?void 0:yn.options])&&dn(_r[yn==null?void 0:yn.options],!0))break}};kt(ln)}}var Hi=null,mi=["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"],no=["inputValue"];function Ki(ln){return!ln||(0,Ue.Z)(ln)!=="object"}var fr=oe.forwardRef(function(ln,yn){var kt=ln.id,dn=ln.mode,zt=ln.prefixCls,hn=zt===void 0?"rc-select":zt,Pn=ln.backfill,_r=ln.fieldNames,Jr=ln.inputValue,di=ln.searchValue,ir=ln.onSearch,Ar=ln.autoClearSearchValue,ar=Ar===void 0?!0:Ar,ei=ln.onSelect,tr=ln.onDeselect,Un=ln.dropdownMatchSelectWidth,cr=Un===void 0?!0:Un,Bi=ln.filterOption,zn=ln.filterSort,gn=ln.optionFilterProp,$n=ln.optionLabelProp,nr=ln.options,pr=ln.optionRender,Zr=ln.children,Ni=ln.defaultActiveFirstOption,fi=ln.menuItemSelectedIcon,Li=ln.virtual,vi=ln.direction,Ei=ln.listHeight,yi=Ei===void 0?200:Ei,Si=ln.listItemHeight,wi=Si===void 0?20:Si,Ti=ln.labelRender,eo=ln.value,vo=ln.defaultValue,Yi=ln.labelInValue,Do=ln.onChange,ki=ln.maxCount,ko=(0,Se.Z)(ln,mi),Ao=(0,vr.ZP)(kt),Xo=bn(dn),Co=!!(!nr&&Zr),to=oe.useMemo(function(){return Bi===void 0&&dn==="combobox"?!1:Bi},[Bi,dn]),xo=oe.useMemo(function(){return pt(_r,Co)},[JSON.stringify(_r),Co]),$o=(0,fe.Z)("",{value:di!==void 0?di:Jr,postState:function(Ia){return Ia||""}}),_n=(0,He.Z)($o,2),No=_n[0],Vi=_n[1],Ur=Xr(nr,Zr,xo,gn,$n),qr=Ur.valueOptions,ti=Ur.labelOptions,Wr=Ur.options,Ri=oe.useCallback(function(pa){var Ia=ot(pa);return Ia.map(function(ma){var Ca,qa,Xa,Ha,Wl;if(Ki(ma))Ca=ma;else{var uu;Xa=ma.key,qa=ma.label,Ca=(uu=ma.value)!==null&&uu!==void 0?uu:Xa}var ji=qr.get(Ca);if(ji){var ga;if(qa===void 0&&(qa=ji==null?void 0:ji[$n||xo.label]),Xa===void 0&&(Xa=(ga=ji==null?void 0:ji.key)!==null&&ga!==void 0?ga:Ca),Ha=ji==null?void 0:ji.disabled,Wl=ji==null?void 0:ji.title,0)var Ta}return{label:qa,value:Ca,key:Xa,disabled:Ha,title:Wl}})},[xo,$n,qr]),ro=(0,fe.Z)(vo,{value:eo}),zr=(0,He.Z)(ro,2),oi=zr[0],yr=zr[1],ni=oe.useMemo(function(){var pa,Ia=Xo&&oi===null?[]:oi,ma=Ri(Ia);return dn==="combobox"&&Te((pa=ma[0])===null||pa===void 0?void 0:pa.value)?[]:ma},[oi,Ri,dn,Xo]),co=Hr(ni,qr),Jo=(0,He.Z)(co,2),fo=Jo[0],ta=Jo[1],Go=oe.useMemo(function(){if(!dn&&fo.length===1){var pa=fo[0];if(pa.value===null&&(pa.label===null||pa.label===void 0))return[]}return fo.map(function(Ia){var ma;return(0,Je.Z)((0,Je.Z)({},Ia),{},{label:(ma=typeof Ti=="function"?Ti(Ia):Ia.label)!==null&&ma!==void 0?ma:Ia.value})})},[dn,fo,Ti]),va=oe.useMemo(function(){return new Set(fo.map(function(pa){return pa.value}))},[fo]);oe.useEffect(function(){if(dn==="combobox"){var pa,Ia=(pa=fo[0])===null||pa===void 0?void 0:pa.value;Vi(Ze(Ia)?String(Ia):"")}},[fo]);var Vo=Yr(function(pa,Ia){var ma=Ia!=null?Ia:pa;return(0,Le.Z)((0,Le.Z)({},xo.value,pa),xo.label,ma)}),oa=oe.useMemo(function(){if(dn!=="tags")return Wr;var pa=(0,ct.Z)(Wr),Ia=function(Ca){return qr.has(Ca)};return(0,ct.Z)(fo).sort(function(ma,Ca){return ma.value<Ca.value?-1:1}).forEach(function(ma){var Ca=ma.value;Ia(Ca)||pa.push(Vo(Ca,ma.label))}),pa},[Vo,Wr,qr,fo,dn]),da=er(oa,xo,No,to,gn),Wa=oe.useMemo(function(){return dn!=="tags"||!No||da.some(function(pa){return pa[gn||"value"]===No})||da.some(function(pa){return pa[xo.value]===No})?da:[Vo(No)].concat((0,ct.Z)(da))},[Vo,gn,dn,da,No,xo]),Ds=function pa(Ia){var ma=(0,ct.Z)(Ia).sort(function(Ca,qa){return zn(Ca,qa,{searchValue:No})});return ma.map(function(Ca){return Array.isArray(Ca.options)?(0,Je.Z)((0,Je.Z)({},Ca),{},{options:Ca.options.length>0?pa(Ca.options):Ca.options}):Ca})},zs=oe.useMemo(function(){return zn?Ds(Wa):Wa},[Wa,zn,No]),is=oe.useMemo(function(){return gt(zs,{fieldNames:xo,childrenAsData:Co})},[zs,xo,Co]),us=function(Ia){var ma=Ri(Ia);if(yr(ma),Do&&(ma.length!==fo.length||ma.some(function(Xa,Ha){var Wl;return((Wl=fo[Ha])===null||Wl===void 0?void 0:Wl.value)!==(Xa==null?void 0:Xa.value)}))){var Ca=Yi?ma:ma.map(function(Xa){return Xa.value}),qa=ma.map(function(Xa){return Bt(ta(Xa.value))});Do(Xo?Ca:Ca[0],Xo?qa:qa[0])}},Mo=oe.useState(null),mo=(0,He.Z)(Mo,2),Fa=mo[0],hs=mo[1],el=oe.useState(0),tl=(0,He.Z)(el,2),nl=tl[0],hl=tl[1],lu=Ni!==void 0?Ni:dn!=="combobox",Js=oe.useCallback(function(pa,Ia){var ma=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ca=ma.source,qa=Ca===void 0?"keyboard":Ca;hl(Ia),Pn&&dn==="combobox"&&pa!==null&&qa==="keyboard"&&hs(String(pa))},[Pn,dn]),Kl=function(Ia,ma,Ca){var qa=function(){var ps,Cu=ta(Ia);return[Yi?{label:Cu==null?void 0:Cu[xo.label],value:Ia,key:(ps=Cu==null?void 0:Cu.key)!==null&&ps!==void 0?ps:Ia}:Ia,Bt(Cu)]};if(ma&&ei){var Xa=qa(),Ha=(0,He.Z)(Xa,2),Wl=Ha[0],uu=Ha[1];ei(Wl,uu)}else if(!ma&&tr&&Ca!=="clear"){var ji=qa(),ga=(0,He.Z)(ji,2),Ta=ga[0],iu=ga[1];tr(Ta,iu)}},Zl=Yr(function(pa,Ia){var ma,Ca=Xo?Ia.selected:!0;Ca?ma=Xo?[].concat((0,ct.Z)(fo),[pa]):[pa]:ma=fo.filter(function(qa){return qa.value!==pa}),us(ma),Kl(pa,Ca),dn==="combobox"?hs(""):(!bn||ar)&&(Vi(""),hs(""))}),Lu=function(Ia,ma){us(Ia);var Ca=ma.type,qa=ma.values;(Ca==="remove"||Ca==="clear")&&qa.forEach(function(Xa){Kl(Xa.value,!1,Ca)})},dl=function(Ia,ma){if(Vi(Ia),hs(null),ma.source==="submit"){var Ca=(Ia||"").trim();if(Ca){var qa=Array.from(new Set([].concat((0,ct.Z)(va),[Ca])));us(qa),Kl(Ca,!0),Vi("")}return}ma.source!=="blur"&&(dn==="combobox"&&us(Ia),ir==null||ir(Ia))},FA=function(Ia){var ma=Ia;dn!=="tags"&&(ma=Ia.map(function(qa){var Xa=ti.get(qa);return Xa==null?void 0:Xa.value}).filter(function(qa){return qa!==void 0}));var Ca=Array.from(new Set([].concat((0,ct.Z)(va),(0,ct.Z)(ma))));us(Ca),Ca.forEach(function(qa){Kl(qa,!0)})},hA=oe.useMemo(function(){var pa=Li!==!1&&cr!==!1;return(0,Je.Z)((0,Je.Z)({},Ur),{},{flattenOptions:is,onActiveValue:Js,defaultActiveFirstOption:lu,onSelect:Zl,menuItemSelectedIcon:fi,rawValues:va,fieldNames:xo,virtual:pa,direction:vi,listHeight:yi,listItemHeight:wi,childrenAsData:Co,maxCount:ki,optionRender:pr})},[ki,Ur,is,Js,lu,Zl,fi,va,xo,Li,cr,vi,yi,wi,Co,pr]);return oe.createElement(Ct.Provider,{value:hA},oe.createElement(en,(0,x.Z)({},ko,{id:Ao,prefixCls:hn,ref:yn,omitDomProps:no,mode:dn,displayValues:Go,onDisplayValuesChange:Lu,direction:vi,searchValue:No,onSearch:dl,autoClearSearchValue:ar,onSearchSplit:FA,dropdownMatchSelectWidth:cr,OptionList:ri,emptyOptions:!is.length,activeValue:Fa,activeDescendantId:"".concat(Ao,"_list_").concat(nl)})))}),Lr=fr;Lr.Option=sn,Lr.OptGroup=En;var gi=Lr,Xt=gi},22711:function(Vn,Tt,ae){"use strict";ae.r(Tt),ae.d(Tt,{ResizableTextArea:function(){return je},default:function(){return Ut}});var x=ae(54476),ct=ae(20068),Le=ae(33885),Je=ae(94480),He=ae(42978),Se=ae(75931),Ue=ae(92310),fe=ae.n(Ue),Ce=ae(36901),oe=ae(66003),Oe=ae(30292),ve=ae(18929),Me=ae(59301),Ie=ae(76190),_e=ae(29301),we=ae(34280),xe=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;
`,ke=["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"],ze={},Qe;function Re(ot){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ft=ot.getAttribute("id")||ot.getAttribute("data-reactid")||ot.getAttribute("name");if(yt&&ze[Ft])return ze[Ft];var Ze=window.getComputedStyle(ot),Te=Ze.getPropertyValue("box-sizing")||Ze.getPropertyValue("-moz-box-sizing")||Ze.getPropertyValue("-webkit-box-sizing"),At=parseFloat(Ze.getPropertyValue("padding-bottom"))+parseFloat(Ze.getPropertyValue("padding-top")),Zt=parseFloat(Ze.getPropertyValue("border-bottom-width"))+parseFloat(Ze.getPropertyValue("border-top-width")),Kt=ke.map(function(Nt){return"".concat(Nt,":").concat(Ze.getPropertyValue(Nt))}).join(";"),rt={sizingStyle:Kt,paddingSize:At,borderSize:Zt,boxSizing:Te};return yt&&Ft&&(ze[Ft]=rt),rt}function et(ot){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Ze=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Qe||(Qe=document.createElement("textarea"),Qe.setAttribute("tab-index","-1"),Qe.setAttribute("aria-hidden","true"),Qe.setAttribute("name","hiddenTextarea"),document.body.appendChild(Qe)),ot.getAttribute("wrap")?Qe.setAttribute("wrap",ot.getAttribute("wrap")):Qe.removeAttribute("wrap");var Te=Re(ot,yt),At=Te.paddingSize,Zt=Te.borderSize,Kt=Te.boxSizing,rt=Te.sizingStyle;Qe.setAttribute("style","".concat(rt,";").concat(Ee)),Qe.value=ot.value||ot.placeholder||"";var Nt=void 0,Qt=void 0,pn,Ot=Qe.scrollHeight;if(Kt==="border-box"?Ot+=Zt:Kt==="content-box"&&(Ot-=At),Ft!==null||Ze!==null){Qe.value=" ";var vn=Qe.scrollHeight-At;Ft!==null&&(Nt=vn*Ft,Kt==="border-box"&&(Nt=Nt+At+Zt),Ot=Math.max(Nt,Ot)),Ze!==null&&(Qt=vn*Ze,Kt==="border-box"&&(Qt=Qt+At+Zt),pn=Ot>Qt?"":"hidden",Ot=Math.min(Qt,Ot))}var _t={height:Ot,overflowY:pn,resize:"none"};return Nt&&(_t.minHeight=Nt),Qt&&(_t.maxHeight=Qt),_t}var Ge=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],lt=0,it=1,ft=2,bt=Me.forwardRef(function(ot,yt){var Ft=ot,Ze=Ft.prefixCls,Te=Ft.defaultValue,At=Ft.value,Zt=Ft.autoSize,Kt=Ft.onResize,rt=Ft.className,Nt=Ft.style,Qt=Ft.disabled,pn=Ft.onChange,Ot=Ft.onInternalAutoSize,vn=(0,Se.Z)(Ft,Ge),_t=(0,ve.Z)(Te,{value:At,postState:function(sn){return sn!=null?sn:""}}),Fn=(0,He.Z)(_t,2),on=Fn[0],de=Fn[1],ge=function(sn){de(sn.target.value),pn==null||pn(sn)},ie=Me.useRef();Me.useImperativeHandle(yt,function(){return{textArea:ie.current}});var ee=Me.useMemo(function(){return Zt&&(0,Ie.Z)(Zt)==="object"?[Zt.minRows,Zt.maxRows]:[]},[Zt]),le=(0,He.Z)(ee,2),se=le[0],Be=le[1],$e=!!Zt,at=function(){try{if(document.activeElement===ie.current){var sn=ie.current,Dn=sn.selectionStart,Wn=sn.selectionEnd,It=sn.scrollTop;ie.current.setSelectionRange(Dn,Wn),ie.current.scrollTop=It}}catch(Wt){}},pt=Me.useState(ft),gt=(0,He.Z)(pt,2),Bt=gt[0],Lt=gt[1],Rt=Me.useState(),Ct=(0,He.Z)(Rt,2),st=Ct[0],$t=Ct[1],Vt=function(){Lt(lt)};(0,we.Z)(function(){$e&&Vt()},[At,se,Be,$e]),(0,we.Z)(function(){if(Bt===lt)Lt(it);else if(Bt===it){var Mt=et(ie.current,!1,se,Be);Lt(ft),$t(Mt)}else at()},[Bt]);var bn=Me.useRef(),an=function(){xe.Z.cancel(bn.current)},en=function(sn){Bt===ft&&(Kt==null||Kt(sn),Zt&&(an(),bn.current=(0,xe.Z)(function(){Vt()})))};Me.useEffect(function(){return an},[]);var Hn=$e?st:null,En=(0,Le.Z)((0,Le.Z)({},Nt),Hn);return(Bt===lt||Bt===it)&&(En.overflowY="hidden",En.overflowX="hidden"),Me.createElement(_e.Z,{onResize:en,disabled:!(Zt||Kt)},Me.createElement("textarea",(0,x.Z)({},vn,{ref:ie,style:En,className:fe()(Ze,rt,(0,ct.Z)({},"".concat(Ze,"-disabled"),Qt)),disabled:Qt,value:on,onChange:ge})))}),je=bt,ht=["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=Me.forwardRef(function(ot,yt){var Ft,Ze=ot.defaultValue,Te=ot.value,At=ot.onFocus,Zt=ot.onBlur,Kt=ot.onChange,rt=ot.allowClear,Nt=ot.maxLength,Qt=ot.onCompositionStart,pn=ot.onCompositionEnd,Ot=ot.suffix,vn=ot.prefixCls,_t=vn===void 0?"rc-textarea":vn,Fn=ot.showCount,on=ot.count,de=ot.className,ge=ot.style,ie=ot.disabled,ee=ot.hidden,le=ot.classNames,se=ot.styles,Be=ot.onResize,$e=ot.onClear,at=ot.onPressEnter,pt=ot.readOnly,gt=ot.autoSize,Bt=ot.onKeyDown,Lt=(0,Se.Z)(ot,ht),Rt=(0,ve.Z)(Ze,{value:Te,defaultValue:Ze}),Ct=(0,He.Z)(Rt,2),st=Ct[0],$t=Ct[1],Vt=st==null?"":String(st),bn=Me.useState(!1),an=(0,He.Z)(bn,2),en=an[0],Hn=an[1],En=Me.useRef(!1),Mt=Me.useState(null),sn=(0,He.Z)(Mt,2),Dn=sn[0],Wn=sn[1],It=(0,Me.useRef)(null),Wt=(0,Me.useRef)(null),rn=function(){var Lr;return(Lr=Wt.current)===null||Lr===void 0?void 0:Lr.textArea},mn=function(){rn().focus()};(0,Me.useImperativeHandle)(yt,function(){var fr;return{resizableTextArea:Wt.current,focus:mn,blur:function(){rn().blur()},nativeElement:((fr=It.current)===null||fr===void 0?void 0:fr.nativeElement)||rn()}}),(0,Me.useEffect)(function(){Hn(function(fr){return!ie&&fr})},[ie]);var Xn=Me.useState(null),Fr=(0,He.Z)(Xn,2),ri=Fr[0],Hr=Fr[1];Me.useEffect(function(){if(ri){var fr;(fr=rn()).setSelectionRange.apply(fr,(0,Je.Z)(ri))}},[ri]);var Ir=(0,oe.Z)(on,Fn),er=(Ft=Ir.max)!==null&&Ft!==void 0?Ft:Nt,vr=Number(er)>0,Mr=Ir.strategy(Vt),Yn=!!er&&Mr>er,sr=function(Lr,gi){var Xt=gi;!En.current&&Ir.exceedFormatter&&Ir.max&&Ir.strategy(gi)>Ir.max&&(Xt=Ir.exceedFormatter(gi,{max:Ir.max}),gi!==Xt&&Hr([rn().selectionStart||0,rn().selectionEnd||0])),$t(Xt),(0,Oe.rJ)(Lr.currentTarget,Lr,Kt,Xt)},jn=function(Lr){En.current=!0,Qt==null||Qt(Lr)},ur=function(Lr){En.current=!1,sr(Lr,Lr.currentTarget.value),pn==null||pn(Lr)},br=function(Lr){sr(Lr,Lr.target.value)},Xr=function(Lr){Lr.key==="Enter"&&at&&at(Lr),Bt==null||Bt(Lr)},Yr=function(Lr){Hn(!0),At==null||At(Lr)},pi=function(Lr){Hn(!1),Zt==null||Zt(Lr)},ci=function(Lr){$t(""),mn(),(0,Oe.rJ)(rn(),Lr,Kt)},Hi=Ot,mi;Ir.show&&(Ir.showFormatter?mi=Ir.showFormatter({value:Vt,count:Mr,maxLength:er}):mi="".concat(Mr).concat(vr?" / ".concat(er):""),Hi=Me.createElement(Me.Fragment,null,Hi,Me.createElement("span",{className:fe()("".concat(_t,"-data-count"),le==null?void 0:le.count),style:se==null?void 0:se.count},mi)));var no=function(Lr){var gi;Be==null||Be(Lr),(gi=rn())!==null&&gi!==void 0&&gi.style.height&&Wn(!0)},Ki=!gt&&!Fn&&!rt;return Me.createElement(Ce.BaseInput,{ref:It,value:Vt,allowClear:rt,handleReset:ci,suffix:Hi,prefixCls:_t,classNames:(0,Le.Z)((0,Le.Z)({},le),{},{affixWrapper:fe()(le==null?void 0:le.affixWrapper,(0,ct.Z)((0,ct.Z)({},"".concat(_t,"-show-count"),Fn),"".concat(_t,"-textarea-allow-clear"),rt))}),disabled:ie,focused:en,className:fe()(de,Yn&&"".concat(_t,"-out-of-range")),style:(0,Le.Z)((0,Le.Z)({},ge),Dn&&!Ki?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof mi=="string"?mi:void 0}},hidden:ee,readOnly:pt,onClear:$e},Me.createElement(je,(0,x.Z)({},Lt,{autoSize:gt,maxLength:Nt,onKeyDown:Xr,onChange:br,onFocus:Yr,onBlur:pi,onCompositionStart:jn,onCompositionEnd:ur,className:fe()(le==null?void 0:le.textarea),style:(0,Le.Z)((0,Le.Z)({},se==null?void 0:se.textarea),{},{resize:ge==null?void 0:ge.resize}),disabled:ie,prefixCls:_t,onResize:no,ref:Wt,readOnly:pt})))}),We=Ne,Ut=We},639:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return ze}});var x=ae(54476),ct=ae(20068),Le=ae(33885),Je=ae(42978),He=ae(75931),Se=ae(59301),Ue=ae(92310),fe=ae.n(Ue),Ce=ae(26112),oe=ae(30699),Oe=function(Re){for(var et=Re.prefixCls,Ge=Re.level,lt=Re.isStart,it=Re.isEnd,ft="".concat(et,"-indent-unit"),bt=[],je=0;je<Ge;je+=1)bt.push(Se.createElement("span",{key:je,className:fe()(ft,(0,ct.Z)((0,ct.Z)({},"".concat(ft,"-start"),lt[je]),"".concat(ft,"-end"),it[je]))}));return Se.createElement("span",{"aria-hidden":"true",className:"".concat(et,"-indent")},bt)},ve=Se.memo(Oe),Me=ae(65065),Ie=ae(34061),_e=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],we="open",xe="close",Ee="---",ke=function(Re){var et,Ge,lt,it=Re.eventKey,ft=Re.className,bt=Re.style,je=Re.dragOver,ht=Re.dragOverGapTop,Ne=Re.dragOverGapBottom,We=Re.isLeaf,Ut=Re.isStart,ot=Re.isEnd,yt=Re.expanded,Ft=Re.selected,Ze=Re.checked,Te=Re.halfChecked,At=Re.loading,Zt=Re.domRef,Kt=Re.active,rt=Re.data,Nt=Re.onMouseMove,Qt=Re.selectable,pn=(0,He.Z)(Re,_e),Ot=Se.useContext(oe.k),vn=Se.useContext(oe.y),_t=Se.useRef(null),Fn=Se.useState(!1),on=(0,Je.Z)(Fn,2),de=on[0],ge=on[1],ie=!!(Ot.disabled||Re.disabled||(et=vn.nodeDisabled)!==null&&et!==void 0&&et.call(vn,rt)),ee=Se.useMemo(function(){return!Ot.checkable||Re.checkable===!1?!1:Ot.checkable},[Ot.checkable,Re.checkable]),le=function(Mr){ie||Ot.onNodeSelect(Mr,(0,Ie.F)(Re))},se=function(Mr){ie||!ee||Re.disableCheckbox||Ot.onNodeCheck(Mr,(0,Ie.F)(Re),!Ze)},Be=Se.useMemo(function(){return typeof Qt=="boolean"?Qt:Ot.selectable},[Qt,Ot.selectable]),$e=function(Mr){Ot.onNodeClick(Mr,(0,Ie.F)(Re)),Be?le(Mr):se(Mr)},at=function(Mr){Ot.onNodeDoubleClick(Mr,(0,Ie.F)(Re))},pt=function(Mr){Ot.onNodeMouseEnter(Mr,(0,Ie.F)(Re))},gt=function(Mr){Ot.onNodeMouseLeave(Mr,(0,Ie.F)(Re))},Bt=function(Mr){Ot.onNodeContextMenu(Mr,(0,Ie.F)(Re))},Lt=Se.useMemo(function(){return!!(Ot.draggable&&(!Ot.draggable.nodeDraggable||Ot.draggable.nodeDraggable(rt)))},[Ot.draggable,rt]),Rt=function(Mr){Mr.stopPropagation(),ge(!0),Ot.onNodeDragStart(Mr,Re);try{Mr.dataTransfer.setData("text/plain","")}catch(Yn){}},Ct=function(Mr){Mr.preventDefault(),Mr.stopPropagation(),Ot.onNodeDragEnter(Mr,Re)},st=function(Mr){Mr.preventDefault(),Mr.stopPropagation(),Ot.onNodeDragOver(Mr,Re)},$t=function(Mr){Mr.stopPropagation(),Ot.onNodeDragLeave(Mr,Re)},Vt=function(Mr){Mr.stopPropagation(),ge(!1),Ot.onNodeDragEnd(Mr,Re)},bn=function(Mr){Mr.preventDefault(),Mr.stopPropagation(),ge(!1),Ot.onNodeDrop(Mr,Re)},an=function(Mr){At||Ot.onNodeExpand(Mr,(0,Ie.F)(Re))},en=Se.useMemo(function(){var vr=(0,Me.Z)(Ot.keyEntities,it)||{},Mr=vr.children;return!!(Mr||[]).length},[Ot.keyEntities,it]),Hn=Se.useMemo(function(){return We===!1?!1:We||!Ot.loadData&&!en||Ot.loadData&&Re.loaded&&!en},[We,Ot.loadData,en,Re.loaded]);Se.useEffect(function(){At||typeof Ot.loadData=="function"&&yt&&!Hn&&!Re.loaded&&Ot.onNodeLoad((0,Ie.F)(Re))},[At,Ot.loadData,Ot.onNodeLoad,yt,Hn,Re]);var En=Se.useMemo(function(){var vr;return(vr=Ot.draggable)!==null&&vr!==void 0&&vr.icon?Se.createElement("span",{className:"".concat(Ot.prefixCls,"-draggable-icon")},Ot.draggable.icon):null},[Ot.draggable]),Mt=function(Mr){var Yn=Re.switcherIcon||Ot.switcherIcon;return typeof Yn=="function"?Yn((0,Le.Z)((0,Le.Z)({},Re),{},{isLeaf:Mr})):Yn},sn=function(){if(Hn){var Mr=Mt(!0);return Mr!==!1?Se.createElement("span",{className:fe()("".concat(Ot.prefixCls,"-switcher"),"".concat(Ot.prefixCls,"-switcher-noop"))},Mr):null}var Yn=Mt(!1);return Yn!==!1?Se.createElement("span",{onClick:an,className:fe()("".concat(Ot.prefixCls,"-switcher"),"".concat(Ot.prefixCls,"-switcher_").concat(yt?we:xe))},Yn):null},Dn=Se.useMemo(function(){if(!ee)return null;var vr=typeof ee!="boolean"?ee:null;return Se.createElement("span",{className:fe()("".concat(Ot.prefixCls,"-checkbox"),(0,ct.Z)((0,ct.Z)((0,ct.Z)({},"".concat(Ot.prefixCls,"-checkbox-checked"),Ze),"".concat(Ot.prefixCls,"-checkbox-indeterminate"),!Ze&&Te),"".concat(Ot.prefixCls,"-checkbox-disabled"),ie||Re.disableCheckbox)),onClick:se,role:"checkbox","aria-checked":Te?"mixed":Ze,"aria-disabled":ie||Re.disableCheckbox,"aria-label":"Select ".concat(typeof Re.title=="string"?Re.title:"tree node")},vr)},[ee,Ze,Te,ie,Re.disableCheckbox,Re.title]),Wn=Se.useMemo(function(){return Hn?null:yt?we:xe},[Hn,yt]),It=Se.useMemo(function(){return Se.createElement("span",{className:fe()("".concat(Ot.prefixCls,"-iconEle"),"".concat(Ot.prefixCls,"-icon__").concat(Wn||"docu"),(0,ct.Z)({},"".concat(Ot.prefixCls,"-icon_loading"),At))})},[Ot.prefixCls,Wn,At]),Wt=Se.useMemo(function(){var vr=!!Ot.draggable,Mr=!Re.disabled&&vr&&Ot.dragOverNodeKey===it;return Mr?Ot.dropIndicatorRender({dropPosition:Ot.dropPosition,dropLevelOffset:Ot.dropLevelOffset,indent:Ot.indent,prefixCls:Ot.prefixCls,direction:Ot.direction}):null},[Ot.dropPosition,Ot.dropLevelOffset,Ot.indent,Ot.prefixCls,Ot.direction,Ot.draggable,Ot.dragOverNodeKey,Ot.dropIndicatorRender]),rn=Se.useMemo(function(){var vr=Re.title,Mr=vr===void 0?Ee:vr,Yn="".concat(Ot.prefixCls,"-node-content-wrapper"),sr;if(Ot.showIcon){var jn=Re.icon||Ot.icon;sr=jn?Se.createElement("span",{className:fe()("".concat(Ot.prefixCls,"-iconEle"),"".concat(Ot.prefixCls,"-icon__customize"))},typeof jn=="function"?jn(Re):jn):It}else Ot.loadData&&At&&(sr=It);var ur;return typeof Mr=="function"?ur=Mr(rt):Ot.titleRender?ur=Ot.titleRender(rt):ur=Mr,Se.createElement("span",{ref:_t,title:typeof Mr=="string"?Mr:"",className:fe()(Yn,"".concat(Yn,"-").concat(Wn||"normal"),(0,ct.Z)({},"".concat(Ot.prefixCls,"-node-selected"),!ie&&(Ft||de))),onMouseEnter:pt,onMouseLeave:gt,onContextMenu:Bt,onClick:$e,onDoubleClick:at},sr,Se.createElement("span",{className:"".concat(Ot.prefixCls,"-title")},ur),Wt)},[Ot.prefixCls,Ot.showIcon,Re,Ot.icon,It,Ot.titleRender,rt,Wn,pt,gt,Bt,$e,at]),mn=(0,Ce.Z)(pn,{aria:!0,data:!0}),Xn=(0,Me.Z)(Ot.keyEntities,it)||{},Fr=Xn.level,ri=ot[ot.length-1],Hr=!ie&&Lt,Ir=Ot.draggingNodeKey===it,er=Qt!==void 0?{"aria-selected":!!Qt}:void 0;return Se.createElement("div",(0,x.Z)({ref:Zt,role:"treeitem","aria-expanded":We?void 0:yt,className:fe()(ft,"".concat(Ot.prefixCls,"-treenode"),(lt={},(0,ct.Z)((0,ct.Z)((0,ct.Z)((0,ct.Z)((0,ct.Z)((0,ct.Z)((0,ct.Z)((0,ct.Z)((0,ct.Z)((0,ct.Z)(lt,"".concat(Ot.prefixCls,"-treenode-disabled"),ie),"".concat(Ot.prefixCls,"-treenode-switcher-").concat(yt?"open":"close"),!We),"".concat(Ot.prefixCls,"-treenode-checkbox-checked"),Ze),"".concat(Ot.prefixCls,"-treenode-checkbox-indeterminate"),Te),"".concat(Ot.prefixCls,"-treenode-selected"),Ft),"".concat(Ot.prefixCls,"-treenode-loading"),At),"".concat(Ot.prefixCls,"-treenode-active"),Kt),"".concat(Ot.prefixCls,"-treenode-leaf-last"),ri),"".concat(Ot.prefixCls,"-treenode-draggable"),Lt),"dragging",Ir),(0,ct.Z)((0,ct.Z)((0,ct.Z)((0,ct.Z)((0,ct.Z)((0,ct.Z)((0,ct.Z)(lt,"drop-target",Ot.dropTargetKey===it),"drop-container",Ot.dropContainerKey===it),"drag-over",!ie&&je),"drag-over-gap-top",!ie&&ht),"drag-over-gap-bottom",!ie&&Ne),"filter-node",(Ge=Ot.filterTreeNode)===null||Ge===void 0?void 0:Ge.call(Ot,(0,Ie.F)(Re))),"".concat(Ot.prefixCls,"-treenode-leaf"),Hn))),style:bt,draggable:Hr,onDragStart:Hr?Rt:void 0,onDragEnter:Lt?Ct:void 0,onDragOver:Lt?st:void 0,onDragLeave:Lt?$t:void 0,onDrop:Lt?bn:void 0,onDragEnd:Lt?Vt:void 0,onMouseMove:Nt},er,mn),Se.createElement(ve,{prefixCls:Ot.prefixCls,level:Fr,isStart:Ut,isEnd:ot}),En,sn(),Dn,rn)};ke.isTreeNode=1;var ze=ke},30699:function(Vn,Tt,ae){"use strict";ae.d(Tt,{k:function(){return ct},y:function(){return Le}});var x=ae(59301),ct=x.createContext(null),Le=x.createContext({})},3741:function(Vn,Tt,ae){"use strict";ae.d(Tt,{OF:function(){return it.Z},y6:function(){return xe.y},ZP:function(){return ie}});var x=ae(54476),ct=ae(76190),Le=ae(33885),Je=ae(94480),He=ae(67732),Se=ae(83652),Ue=ae(31226),fe=ae(42403),Ce=ae(158),oe=ae(20068),Oe=ae(92310),ve=ae.n(Oe),Me=ae(10228),Ie=ae(26112),_e=ae(48736),we=ae(59301),xe=ae(30699),Ee=function(le){var se=le.dropPosition,Be=le.dropLevelOffset,$e=le.indent,at={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(se){case-1:at.top=0,at.left=-Be*$e;break;case 1:at.bottom=0,at.left=-Be*$e;break;case 0:at.bottom=0,at.left=$e;break}return we.createElement("div",{style:at})},ke=Ee;function ze(ee){if(ee==null)throw new TypeError("Cannot destructure "+ee)}var Qe=ae(42978),Re=ae(75931),et=ae(34280),Ge=ae(48911),lt=ae(77900),it=ae(639);function ft(ee,le){var se=we.useState(!1),Be=(0,Qe.Z)(se,2),$e=Be[0],at=Be[1];(0,et.Z)(function(){if($e)return ee(),function(){le()}},[$e]),(0,et.Z)(function(){return at(!0),function(){at(!1)}},[])}var bt=ft,je=ae(34061),ht=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Ne=we.forwardRef(function(ee,le){var se=ee.className,Be=ee.style,$e=ee.motion,at=ee.motionNodes,pt=ee.motionType,gt=ee.onMotionStart,Bt=ee.onMotionEnd,Lt=ee.active,Rt=ee.treeNodeRequiredProps,Ct=(0,Re.Z)(ee,ht),st=we.useState(!0),$t=(0,Qe.Z)(st,2),Vt=$t[0],bn=$t[1],an=we.useContext(xe.k),en=an.prefixCls,Hn=at&&pt!=="hide";(0,et.Z)(function(){at&&Hn!==Vt&&bn(Hn)},[at]);var En=function(){at&&gt()},Mt=we.useRef(!1),sn=function(){at&&!Mt.current&&(Mt.current=!0,Bt())};bt(En,sn);var Dn=function(It){Hn===It&&sn()};return at?we.createElement(lt.default,(0,x.Z)({ref:le,visible:Vt},$e,{motionAppear:pt==="show",onVisibleChanged:Dn}),function(Wn,It){var Wt=Wn.className,rn=Wn.style;return we.createElement("div",{ref:It,className:ve()("".concat(en,"-treenode-motion"),Wt),style:rn},at.map(function(mn){var Xn=Object.assign({},(ze(mn.data),mn.data)),Fr=mn.title,ri=mn.key,Hr=mn.isStart,Ir=mn.isEnd;delete Xn.children;var er=(0,je.H8)(ri,Rt);return we.createElement(it.Z,(0,x.Z)({},Xn,er,{title:Fr,active:Lt,data:mn.data,key:ri,isStart:Hr,isEnd:Ir}))}))}):we.createElement(it.Z,(0,x.Z)({domRef:le,className:se,style:Be},Ct,{active:Lt}))}),We=Ne;function Ut(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],se=ee.length,Be=le.length;if(Math.abs(se-Be)!==1)return{add:!1,key:null};function $e(at,pt){var gt=new Map;at.forEach(function(Lt){gt.set(Lt,!0)});var Bt=pt.filter(function(Lt){return!gt.has(Lt)});return Bt.length===1?Bt[0]:null}return se<Be?{add:!0,key:$e(ee,le)}:{add:!1,key:$e(le,ee)}}function ot(ee,le,se){var Be=ee.findIndex(function(gt){return gt.key===se}),$e=ee[Be+1],at=le.findIndex(function(gt){return gt.key===se});if($e){var pt=le.findIndex(function(gt){return gt.key===$e.key});return le.slice(at+1,pt)}return le.slice(at+1)}var yt=["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"],Ft={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ze=function(){},Te="RC_TREE_MOTION_".concat(Math.random()),At={key:Te},Zt={key:Te,level:0,index:0,pos:"0",node:At,nodes:[At]},Kt={parent:null,children:[],pos:Zt.pos,data:At,title:null,key:Te,isStart:[],isEnd:[]};function rt(ee,le,se,Be){return le===!1||!se?ee:ee.slice(0,Math.ceil(se/Be)+1)}function Nt(ee){var le=ee.key,se=ee.pos;return(0,je.km)(le,se)}function Qt(ee){for(var le=String(ee.data.key),se=ee;se.parent;)se=se.parent,le="".concat(se.data.key," > ").concat(le);return le}var pn=we.forwardRef(function(ee,le){var se=ee.prefixCls,Be=ee.data,$e=ee.selectable,at=ee.checkable,pt=ee.expandedKeys,gt=ee.selectedKeys,Bt=ee.checkedKeys,Lt=ee.loadedKeys,Rt=ee.loadingKeys,Ct=ee.halfCheckedKeys,st=ee.keyEntities,$t=ee.disabled,Vt=ee.dragging,bn=ee.dragOverNodeKey,an=ee.dropPosition,en=ee.motion,Hn=ee.height,En=ee.itemHeight,Mt=ee.virtual,sn=ee.scrollWidth,Dn=ee.focusable,Wn=ee.activeItem,It=ee.focused,Wt=ee.tabIndex,rn=ee.onKeyDown,mn=ee.onFocus,Xn=ee.onBlur,Fr=ee.onActiveChange,ri=ee.onListChangeStart,Hr=ee.onListChangeEnd,Ir=(0,Re.Z)(ee,yt),er=we.useRef(null),vr=we.useRef(null);we.useImperativeHandle(le,function(){return{scrollTo:function(_r){er.current.scrollTo(_r)},getIndentWidth:function(){return vr.current.offsetWidth}}});var Mr=we.useState(pt),Yn=(0,Qe.Z)(Mr,2),sr=Yn[0],jn=Yn[1],ur=we.useState(Be),br=(0,Qe.Z)(ur,2),Xr=br[0],Yr=br[1],pi=we.useState(Be),ci=(0,Qe.Z)(pi,2),Hi=ci[0],mi=ci[1],no=we.useState([]),Ki=(0,Qe.Z)(no,2),fr=Ki[0],Lr=Ki[1],gi=we.useState(null),Xt=(0,Qe.Z)(gi,2),ln=Xt[0],yn=Xt[1],kt=we.useRef(Be);kt.current=Be;function dn(){var Pn=kt.current;Yr(Pn),mi(Pn),Lr([]),yn(null),Hr()}(0,et.Z)(function(){jn(pt);var Pn=Ut(sr,pt);if(Pn.key!==null)if(Pn.add){var _r=Xr.findIndex(function(ei){var tr=ei.key;return tr===Pn.key}),Jr=rt(ot(Xr,Be,Pn.key),Mt,Hn,En),di=Xr.slice();di.splice(_r+1,0,Kt),mi(di),Lr(Jr),yn("show")}else{var ir=Be.findIndex(function(ei){var tr=ei.key;return tr===Pn.key}),Ar=rt(ot(Be,Xr,Pn.key),Mt,Hn,En),ar=Be.slice();ar.splice(ir+1,0,Kt),mi(ar),Lr(Ar),yn("hide")}else Xr!==Be&&(Yr(Be),mi(Be))},[pt,Be]),we.useEffect(function(){Vt||dn()},[Vt]);var zt=en?Hi:Be,hn={expandedKeys:pt,selectedKeys:gt,loadedKeys:Lt,loadingKeys:Rt,checkedKeys:Bt,halfCheckedKeys:Ct,dragOverNodeKey:bn,dropPosition:an,keyEntities:st};return we.createElement(we.Fragment,null,It&&Wn&&we.createElement("span",{style:Ft,"aria-live":"assertive"},Qt(Wn)),we.createElement("div",null,we.createElement("input",{style:Ft,disabled:Dn===!1||$t,tabIndex:Dn!==!1?Wt:null,onKeyDown:rn,onFocus:mn,onBlur:Xn,value:"",onChange:Ze,"aria-label":"for screen reader"})),we.createElement("div",{className:"".concat(se,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},we.createElement("div",{className:"".concat(se,"-indent")},we.createElement("div",{ref:vr,className:"".concat(se,"-indent-unit")}))),we.createElement(Ge.Z,(0,x.Z)({},Ir,{data:zt,itemKey:Nt,height:Hn,fullHeight:!1,virtual:Mt,itemHeight:En,scrollWidth:sn,prefixCls:"".concat(se,"-list"),ref:er,role:"tree",onVisibleChange:function(_r){_r.every(function(Jr){return Nt(Jr)!==Te})&&dn()}}),function(Pn){var _r=Pn.pos,Jr=Object.assign({},(ze(Pn.data),Pn.data)),di=Pn.title,ir=Pn.key,Ar=Pn.isStart,ar=Pn.isEnd,ei=(0,je.km)(ir,_r);delete Jr.key,delete Jr.children;var tr=(0,je.H8)(ei,hn);return we.createElement(We,(0,x.Z)({},Jr,tr,{title:di,active:!!Wn&&ir===Wn.key,pos:_r,data:Pn.data,isStart:Ar,isEnd:ar,motion:en,motionNodes:ir===Te?fr:null,motionType:ln,onMotionStart:ri,onMotionEnd:dn,treeNodeRequiredProps:hn,onMouseMove:function(){Fr(null)}}))}))}),Ot=pn,vn=ae(82661),_t=ae(34643),Fn=ae(65065),on=10,de=function(ee){(0,fe.Z)(se,ee);var le=(0,Ce.Z)(se);function se(){var Be;(0,He.Z)(this,se);for(var $e=arguments.length,at=new Array($e),pt=0;pt<$e;pt++)at[pt]=arguments[pt];return Be=le.call.apply(le,[this].concat(at)),(0,oe.Z)((0,Ue.Z)(Be),"destroyed",!1),(0,oe.Z)((0,Ue.Z)(Be),"delayedDragEnterLogic",void 0),(0,oe.Z)((0,Ue.Z)(Be),"loadingRetryTimes",{}),(0,oe.Z)((0,Ue.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,je.w$)()}),(0,oe.Z)((0,Ue.Z)(Be),"dragStartMousePosition",null),(0,oe.Z)((0,Ue.Z)(Be),"dragNodeProps",null),(0,oe.Z)((0,Ue.Z)(Be),"currentMouseOverDroppableNodeKey",null),(0,oe.Z)((0,Ue.Z)(Be),"listRef",we.createRef()),(0,oe.Z)((0,Ue.Z)(Be),"onNodeDragStart",function(gt,Bt){var Lt=Be.state,Rt=Lt.expandedKeys,Ct=Lt.keyEntities,st=Be.props.onDragStart,$t=Bt.eventKey;Be.dragNodeProps=Bt,Be.dragStartMousePosition={x:gt.clientX,y:gt.clientY};var Vt=(0,vn._5)(Rt,$t);Be.setState({draggingNodeKey:$t,dragChildrenKeys:(0,vn.wA)($t,Ct),indent:Be.listRef.current.getIndentWidth()}),Be.setExpandedKeys(Vt),window.addEventListener("dragend",Be.onWindowDragEnd),st==null||st({event:gt,node:(0,je.F)(Bt)})}),(0,oe.Z)((0,Ue.Z)(Be),"onNodeDragEnter",function(gt,Bt){var Lt=Be.state,Rt=Lt.expandedKeys,Ct=Lt.keyEntities,st=Lt.dragChildrenKeys,$t=Lt.flattenNodes,Vt=Lt.indent,bn=Be.props,an=bn.onDragEnter,en=bn.onExpand,Hn=bn.allowDrop,En=bn.direction,Mt=Bt.pos,sn=Bt.eventKey;if(Be.currentMouseOverDroppableNodeKey!==sn&&(Be.currentMouseOverDroppableNodeKey=sn),!Be.dragNodeProps){Be.resetDragState();return}var Dn=(0,vn.OM)(gt,Be.dragNodeProps,Bt,Vt,Be.dragStartMousePosition,Hn,$t,Ct,Rt,En),Wn=Dn.dropPosition,It=Dn.dropLevelOffset,Wt=Dn.dropTargetKey,rn=Dn.dropContainerKey,mn=Dn.dropTargetPos,Xn=Dn.dropAllowed,Fr=Dn.dragOverNodeKey;if(st.includes(Wt)||!Xn){Be.resetDragState();return}if(Be.delayedDragEnterLogic||(Be.delayedDragEnterLogic={}),Object.keys(Be.delayedDragEnterLogic).forEach(function(ri){clearTimeout(Be.delayedDragEnterLogic[ri])}),Be.dragNodeProps.eventKey!==Bt.eventKey&&(gt.persist(),Be.delayedDragEnterLogic[Mt]=window.setTimeout(function(){if(Be.state.draggingNodeKey!==null){var ri=(0,Je.Z)(Rt),Hr=(0,Fn.Z)(Ct,Bt.eventKey);Hr&&(Hr.children||[]).length&&(ri=(0,vn.L0)(Rt,Bt.eventKey)),Be.props.hasOwnProperty("expandedKeys")||Be.setExpandedKeys(ri),en==null||en(ri,{node:(0,je.F)(Bt),expanded:!0,nativeEvent:gt.nativeEvent})}},800)),Be.dragNodeProps.eventKey===Wt&&It===0){Be.resetDragState();return}Be.setState({dragOverNodeKey:Fr,dropPosition:Wn,dropLevelOffset:It,dropTargetKey:Wt,dropContainerKey:rn,dropTargetPos:mn,dropAllowed:Xn}),an==null||an({event:gt,node:(0,je.F)(Bt),expandedKeys:Rt})}),(0,oe.Z)((0,Ue.Z)(Be),"onNodeDragOver",function(gt,Bt){var Lt=Be.state,Rt=Lt.dragChildrenKeys,Ct=Lt.flattenNodes,st=Lt.keyEntities,$t=Lt.expandedKeys,Vt=Lt.indent,bn=Be.props,an=bn.onDragOver,en=bn.allowDrop,Hn=bn.direction;if(Be.dragNodeProps){var En=(0,vn.OM)(gt,Be.dragNodeProps,Bt,Vt,Be.dragStartMousePosition,en,Ct,st,$t,Hn),Mt=En.dropPosition,sn=En.dropLevelOffset,Dn=En.dropTargetKey,Wn=En.dropContainerKey,It=En.dropTargetPos,Wt=En.dropAllowed,rn=En.dragOverNodeKey;Rt.includes(Dn)||!Wt||(Be.dragNodeProps.eventKey===Dn&&sn===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():Mt===Be.state.dropPosition&&sn===Be.state.dropLevelOffset&&Dn===Be.state.dropTargetKey&&Wn===Be.state.dropContainerKey&&It===Be.state.dropTargetPos&&Wt===Be.state.dropAllowed&&rn===Be.state.dragOverNodeKey||Be.setState({dropPosition:Mt,dropLevelOffset:sn,dropTargetKey:Dn,dropContainerKey:Wn,dropTargetPos:It,dropAllowed:Wt,dragOverNodeKey:rn}),an==null||an({event:gt,node:(0,je.F)(Bt)}))}}),(0,oe.Z)((0,Ue.Z)(Be),"onNodeDragLeave",function(gt,Bt){Be.currentMouseOverDroppableNodeKey===Bt.eventKey&&!gt.currentTarget.contains(gt.relatedTarget)&&(Be.resetDragState(),Be.currentMouseOverDroppableNodeKey=null);var Lt=Be.props.onDragLeave;Lt==null||Lt({event:gt,node:(0,je.F)(Bt)})}),(0,oe.Z)((0,Ue.Z)(Be),"onWindowDragEnd",function(gt){Be.onNodeDragEnd(gt,null,!0),window.removeEventListener("dragend",Be.onWindowDragEnd)}),(0,oe.Z)((0,Ue.Z)(Be),"onNodeDragEnd",function(gt,Bt){var Lt=Be.props.onDragEnd;Be.setState({dragOverNodeKey:null}),Be.cleanDragState(),Lt==null||Lt({event:gt,node:(0,je.F)(Bt)}),Be.dragNodeProps=null,window.removeEventListener("dragend",Be.onWindowDragEnd)}),(0,oe.Z)((0,Ue.Z)(Be),"onNodeDrop",function(gt,Bt){var Lt,Rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ct=Be.state,st=Ct.dragChildrenKeys,$t=Ct.dropPosition,Vt=Ct.dropTargetKey,bn=Ct.dropTargetPos,an=Ct.dropAllowed;if(an){var en=Be.props.onDrop;if(Be.setState({dragOverNodeKey:null}),Be.cleanDragState(),Vt!==null){var Hn=(0,Le.Z)((0,Le.Z)({},(0,je.H8)(Vt,Be.getTreeNodeRequiredProps())),{},{active:((Lt=Be.getActiveItem())===null||Lt===void 0?void 0:Lt.key)===Vt,data:(0,Fn.Z)(Be.state.keyEntities,Vt).node}),En=st.includes(Vt);(0,_e.ZP)(!En,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Mt=(0,vn.yx)(bn),sn={event:gt,node:(0,je.F)(Hn),dragNode:Be.dragNodeProps?(0,je.F)(Be.dragNodeProps):null,dragNodesKeys:[Be.dragNodeProps.eventKey].concat(st),dropToGap:$t!==0,dropPosition:$t+Number(Mt[Mt.length-1])};Rt||en==null||en(sn),Be.dragNodeProps=null}}}),(0,oe.Z)((0,Ue.Z)(Be),"cleanDragState",function(){var gt=Be.state.draggingNodeKey;gt!==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,Ue.Z)(Be),"triggerExpandActionExpand",function(gt,Bt){var Lt=Be.state,Rt=Lt.expandedKeys,Ct=Lt.flattenNodes,st=Bt.expanded,$t=Bt.key,Vt=Bt.isLeaf;if(!(Vt||gt.shiftKey||gt.metaKey||gt.ctrlKey)){var bn=Ct.filter(function(en){return en.key===$t})[0],an=(0,je.F)((0,Le.Z)((0,Le.Z)({},(0,je.H8)($t,Be.getTreeNodeRequiredProps())),{},{data:bn.data}));Be.setExpandedKeys(st?(0,vn._5)(Rt,$t):(0,vn.L0)(Rt,$t)),Be.onNodeExpand(gt,an)}}),(0,oe.Z)((0,Ue.Z)(Be),"onNodeClick",function(gt,Bt){var Lt=Be.props,Rt=Lt.onClick,Ct=Lt.expandAction;Ct==="click"&&Be.triggerExpandActionExpand(gt,Bt),Rt==null||Rt(gt,Bt)}),(0,oe.Z)((0,Ue.Z)(Be),"onNodeDoubleClick",function(gt,Bt){var Lt=Be.props,Rt=Lt.onDoubleClick,Ct=Lt.expandAction;Ct==="doubleClick"&&Be.triggerExpandActionExpand(gt,Bt),Rt==null||Rt(gt,Bt)}),(0,oe.Z)((0,Ue.Z)(Be),"onNodeSelect",function(gt,Bt){var Lt=Be.state.selectedKeys,Rt=Be.state,Ct=Rt.keyEntities,st=Rt.fieldNames,$t=Be.props,Vt=$t.onSelect,bn=$t.multiple,an=Bt.selected,en=Bt[st.key],Hn=!an;Hn?bn?Lt=(0,vn.L0)(Lt,en):Lt=[en]:Lt=(0,vn._5)(Lt,en);var En=Lt.map(function(Mt){var sn=(0,Fn.Z)(Ct,Mt);return sn?sn.node:null}).filter(Boolean);Be.setUncontrolledState({selectedKeys:Lt}),Vt==null||Vt(Lt,{event:"select",selected:Hn,node:Bt,selectedNodes:En,nativeEvent:gt.nativeEvent})}),(0,oe.Z)((0,Ue.Z)(Be),"onNodeCheck",function(gt,Bt,Lt){var Rt=Be.state,Ct=Rt.keyEntities,st=Rt.checkedKeys,$t=Rt.halfCheckedKeys,Vt=Be.props,bn=Vt.checkStrictly,an=Vt.onCheck,en=Bt.key,Hn,En={event:"check",node:Bt,checked:Lt,nativeEvent:gt.nativeEvent};if(bn){var Mt=Lt?(0,vn.L0)(st,en):(0,vn._5)(st,en),sn=(0,vn._5)($t,en);Hn={checked:Mt,halfChecked:sn},En.checkedNodes=Mt.map(function(mn){return(0,Fn.Z)(Ct,mn)}).filter(Boolean).map(function(mn){return mn.node}),Be.setUncontrolledState({checkedKeys:Mt})}else{var Dn=(0,_t.S)([].concat((0,Je.Z)(st),[en]),!0,Ct),Wn=Dn.checkedKeys,It=Dn.halfCheckedKeys;if(!Lt){var Wt=new Set(Wn);Wt.delete(en);var rn=(0,_t.S)(Array.from(Wt),{checked:!1,halfCheckedKeys:It},Ct);Wn=rn.checkedKeys,It=rn.halfCheckedKeys}Hn=Wn,En.checkedNodes=[],En.checkedNodesPositions=[],En.halfCheckedKeys=It,Wn.forEach(function(mn){var Xn=(0,Fn.Z)(Ct,mn);if(Xn){var Fr=Xn.node,ri=Xn.pos;En.checkedNodes.push(Fr),En.checkedNodesPositions.push({node:Fr,pos:ri})}}),Be.setUncontrolledState({checkedKeys:Wn},!1,{halfCheckedKeys:It})}an==null||an(Hn,En)}),(0,oe.Z)((0,Ue.Z)(Be),"onNodeLoad",function(gt){var Bt,Lt=gt.key,Rt=Be.state.keyEntities,Ct=(0,Fn.Z)(Rt,Lt);if(!(Ct!=null&&(Bt=Ct.children)!==null&&Bt!==void 0&&Bt.length)){var st=new Promise(function($t,Vt){Be.setState(function(bn){var an=bn.loadedKeys,en=an===void 0?[]:an,Hn=bn.loadingKeys,En=Hn===void 0?[]:Hn,Mt=Be.props,sn=Mt.loadData,Dn=Mt.onLoad;if(!sn||en.includes(Lt)||En.includes(Lt))return null;var Wn=sn(gt);return Wn.then(function(){var It=Be.state.loadedKeys,Wt=(0,vn.L0)(It,Lt);Dn==null||Dn(Wt,{event:"load",node:gt}),Be.setUncontrolledState({loadedKeys:Wt}),Be.setState(function(rn){return{loadingKeys:(0,vn._5)(rn.loadingKeys,Lt)}}),$t()}).catch(function(It){if(Be.setState(function(rn){return{loadingKeys:(0,vn._5)(rn.loadingKeys,Lt)}}),Be.loadingRetryTimes[Lt]=(Be.loadingRetryTimes[Lt]||0)+1,Be.loadingRetryTimes[Lt]>=on){var Wt=Be.state.loadedKeys;(0,_e.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Be.setUncontrolledState({loadedKeys:(0,vn.L0)(Wt,Lt)}),$t()}Vt(It)}),{loadingKeys:(0,vn.L0)(En,Lt)}})});return st.catch(function(){}),st}}),(0,oe.Z)((0,Ue.Z)(Be),"onNodeMouseEnter",function(gt,Bt){var Lt=Be.props.onMouseEnter;Lt==null||Lt({event:gt,node:Bt})}),(0,oe.Z)((0,Ue.Z)(Be),"onNodeMouseLeave",function(gt,Bt){var Lt=Be.props.onMouseLeave;Lt==null||Lt({event:gt,node:Bt})}),(0,oe.Z)((0,Ue.Z)(Be),"onNodeContextMenu",function(gt,Bt){var Lt=Be.props.onRightClick;Lt&&(gt.preventDefault(),Lt({event:gt,node:Bt}))}),(0,oe.Z)((0,Ue.Z)(Be),"onFocus",function(){var gt=Be.props.onFocus;Be.setState({focused:!0});for(var Bt=arguments.length,Lt=new Array(Bt),Rt=0;Rt<Bt;Rt++)Lt[Rt]=arguments[Rt];gt==null||gt.apply(void 0,Lt)}),(0,oe.Z)((0,Ue.Z)(Be),"onBlur",function(){var gt=Be.props.onBlur;Be.setState({focused:!1}),Be.onActiveChange(null);for(var Bt=arguments.length,Lt=new Array(Bt),Rt=0;Rt<Bt;Rt++)Lt[Rt]=arguments[Rt];gt==null||gt.apply(void 0,Lt)}),(0,oe.Z)((0,Ue.Z)(Be),"getTreeNodeRequiredProps",function(){var gt=Be.state,Bt=gt.expandedKeys,Lt=gt.selectedKeys,Rt=gt.loadedKeys,Ct=gt.loadingKeys,st=gt.checkedKeys,$t=gt.halfCheckedKeys,Vt=gt.dragOverNodeKey,bn=gt.dropPosition,an=gt.keyEntities;return{expandedKeys:Bt||[],selectedKeys:Lt||[],loadedKeys:Rt||[],loadingKeys:Ct||[],checkedKeys:st||[],halfCheckedKeys:$t||[],dragOverNodeKey:Vt,dropPosition:bn,keyEntities:an}}),(0,oe.Z)((0,Ue.Z)(Be),"setExpandedKeys",function(gt){var Bt=Be.state,Lt=Bt.treeData,Rt=Bt.fieldNames,Ct=(0,je.oH)(Lt,gt,Rt);Be.setUncontrolledState({expandedKeys:gt,flattenNodes:Ct},!0)}),(0,oe.Z)((0,Ue.Z)(Be),"onNodeExpand",function(gt,Bt){var Lt=Be.state.expandedKeys,Rt=Be.state,Ct=Rt.listChanging,st=Rt.fieldNames,$t=Be.props,Vt=$t.onExpand,bn=$t.loadData,an=Bt.expanded,en=Bt[st.key];if(!Ct){var Hn=Lt.includes(en),En=!an;if((0,_e.ZP)(an&&Hn||!an&&!Hn,"Expand state not sync with index check"),Lt=En?(0,vn.L0)(Lt,en):(0,vn._5)(Lt,en),Be.setExpandedKeys(Lt),Vt==null||Vt(Lt,{node:Bt,expanded:En,nativeEvent:gt.nativeEvent}),En&&bn){var Mt=Be.onNodeLoad(Bt);Mt&&Mt.then(function(){var sn=(0,je.oH)(Be.state.treeData,Lt,st);Be.setUncontrolledState({flattenNodes:sn})}).catch(function(){var sn=Be.state.expandedKeys,Dn=(0,vn._5)(sn,en);Be.setExpandedKeys(Dn)})}}}),(0,oe.Z)((0,Ue.Z)(Be),"onListChangeStart",function(){Be.setUncontrolledState({listChanging:!0})}),(0,oe.Z)((0,Ue.Z)(Be),"onListChangeEnd",function(){setTimeout(function(){Be.setUncontrolledState({listChanging:!1})})}),(0,oe.Z)((0,Ue.Z)(Be),"onActiveChange",function(gt){var Bt=Be.state.activeKey,Lt=Be.props,Rt=Lt.onActiveChange,Ct=Lt.itemScrollOffset,st=Ct===void 0?0:Ct;Bt!==gt&&(Be.setState({activeKey:gt}),gt!==null&&Be.scrollTo({key:gt,offset:st}),Rt==null||Rt(gt))}),(0,oe.Z)((0,Ue.Z)(Be),"getActiveItem",function(){var gt=Be.state,Bt=gt.activeKey,Lt=gt.flattenNodes;return Bt===null?null:Lt.find(function(Rt){var Ct=Rt.key;return Ct===Bt})||null}),(0,oe.Z)((0,Ue.Z)(Be),"offsetActiveKey",function(gt){var Bt=Be.state,Lt=Bt.flattenNodes,Rt=Bt.activeKey,Ct=Lt.findIndex(function(Vt){var bn=Vt.key;return bn===Rt});Ct===-1&&gt<0&&(Ct=Lt.length),Ct=(Ct+gt+Lt.length)%Lt.length;var st=Lt[Ct];if(st){var $t=st.key;Be.onActiveChange($t)}else Be.onActiveChange(null)}),(0,oe.Z)((0,Ue.Z)(Be),"onKeyDown",function(gt){var Bt=Be.state,Lt=Bt.activeKey,Rt=Bt.expandedKeys,Ct=Bt.checkedKeys,st=Bt.fieldNames,$t=Be.props,Vt=$t.onKeyDown,bn=$t.checkable,an=$t.selectable;switch(gt.which){case Me.Z.UP:{Be.offsetActiveKey(-1),gt.preventDefault();break}case Me.Z.DOWN:{Be.offsetActiveKey(1),gt.preventDefault();break}}var en=Be.getActiveItem();if(en&&en.data){var Hn=Be.getTreeNodeRequiredProps(),En=en.data.isLeaf===!1||!!(en.data[st.children]||[]).length,Mt=(0,je.F)((0,Le.Z)((0,Le.Z)({},(0,je.H8)(Lt,Hn)),{},{data:en.data,active:!0}));switch(gt.which){case Me.Z.LEFT:{En&&Rt.includes(Lt)?Be.onNodeExpand({},Mt):en.parent&&Be.onActiveChange(en.parent.key),gt.preventDefault();break}case Me.Z.RIGHT:{En&&!Rt.includes(Lt)?Be.onNodeExpand({},Mt):en.children&&en.children.length&&Be.onActiveChange(en.children[0].key),gt.preventDefault();break}case Me.Z.ENTER:case Me.Z.SPACE:{bn&&!Mt.disabled&&Mt.checkable!==!1&&!Mt.disableCheckbox?Be.onNodeCheck({},Mt,!Ct.includes(Lt)):!bn&&an&&!Mt.disabled&&Mt.selectable!==!1&&Be.onNodeSelect({},Mt);break}}}Vt==null||Vt(gt)}),(0,oe.Z)((0,Ue.Z)(Be),"setUncontrolledState",function(gt){var Bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Be.destroyed){var Rt=!1,Ct=!0,st={};Object.keys(gt).forEach(function($t){if(Be.props.hasOwnProperty($t)){Ct=!1;return}Rt=!0,st[$t]=gt[$t]}),Rt&&(!Bt||Ct)&&Be.setState((0,Le.Z)((0,Le.Z)({},st),Lt))}}),(0,oe.Z)((0,Ue.Z)(Be),"scrollTo",function(gt){Be.listRef.current.scrollTo(gt)}),Be}return(0,Se.Z)(se,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var $e=this.props,at=$e.activeKey,pt=$e.itemScrollOffset,gt=pt===void 0?0:pt;at!==void 0&&at!==this.state.activeKey&&(this.setState({activeKey:at}),at!==null&&this.scrollTo({key:at,offset:gt}))}},{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 $e=this.state,at=$e.focused,pt=$e.flattenNodes,gt=$e.keyEntities,Bt=$e.draggingNodeKey,Lt=$e.activeKey,Rt=$e.dropLevelOffset,Ct=$e.dropContainerKey,st=$e.dropTargetKey,$t=$e.dropPosition,Vt=$e.dragOverNodeKey,bn=$e.indent,an=this.props,en=an.prefixCls,Hn=an.className,En=an.style,Mt=an.showLine,sn=an.focusable,Dn=an.tabIndex,Wn=Dn===void 0?0:Dn,It=an.selectable,Wt=an.showIcon,rn=an.icon,mn=an.switcherIcon,Xn=an.draggable,Fr=an.checkable,ri=an.checkStrictly,Hr=an.disabled,Ir=an.motion,er=an.loadData,vr=an.filterTreeNode,Mr=an.height,Yn=an.itemHeight,sr=an.scrollWidth,jn=an.virtual,ur=an.titleRender,br=an.dropIndicatorRender,Xr=an.onContextMenu,Yr=an.onScroll,pi=an.direction,ci=an.rootClassName,Hi=an.rootStyle,mi=(0,Ie.Z)(this.props,{aria:!0,data:!0}),no;Xn&&((0,ct.Z)(Xn)==="object"?no=Xn:typeof Xn=="function"?no={nodeDraggable:Xn}:no={});var Ki={prefixCls:en,selectable:It,showIcon:Wt,icon:rn,switcherIcon:mn,draggable:no,draggingNodeKey:Bt,checkable:Fr,checkStrictly:ri,disabled:Hr,keyEntities:gt,dropLevelOffset:Rt,dropContainerKey:Ct,dropTargetKey:st,dropPosition:$t,dragOverNodeKey:Vt,indent:bn,direction:pi,dropIndicatorRender:br,loadData:er,filterTreeNode:vr,titleRender:ur,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 we.createElement(xe.k.Provider,{value:Ki},we.createElement("div",{className:ve()(en,Hn,ci,(0,oe.Z)((0,oe.Z)((0,oe.Z)({},"".concat(en,"-show-line"),Mt),"".concat(en,"-focused"),at),"".concat(en,"-active-focused"),Lt!==null)),style:Hi},we.createElement(Ot,(0,x.Z)({ref:this.listRef,prefixCls:en,style:En,data:pt,disabled:Hr,selectable:It,checkable:!!Fr,motion:Ir,dragging:Bt!==null,height:Mr,itemHeight:Yn,virtual:jn,focusable:sn,focused:at,tabIndex:Wn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Xr,onScroll:Yr,scrollWidth:sr},this.getTreeNodeRequiredProps(),mi))))}}],[{key:"getDerivedStateFromProps",value:function($e,at){var pt=at.prevProps,gt={prevProps:$e};function Bt(Wn){return!pt&&$e.hasOwnProperty(Wn)||pt&&pt[Wn]!==$e[Wn]}var Lt,Rt=at.fieldNames;if(Bt("fieldNames")&&(Rt=(0,je.w$)($e.fieldNames),gt.fieldNames=Rt),Bt("treeData")?Lt=$e.treeData:Bt("children")&&((0,_e.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Lt=(0,je.zn)($e.children)),Lt){gt.treeData=Lt;var Ct=(0,je.I8)(Lt,{fieldNames:Rt});gt.keyEntities=(0,Le.Z)((0,oe.Z)({},Te,Zt),Ct.keyEntities)}var st=gt.keyEntities||at.keyEntities;if(Bt("expandedKeys")||pt&&Bt("autoExpandParent"))gt.expandedKeys=$e.autoExpandParent||!pt&&$e.defaultExpandParent?(0,vn.r7)($e.expandedKeys,st):$e.expandedKeys;else if(!pt&&$e.defaultExpandAll){var $t=(0,Le.Z)({},st);delete $t[Te];var Vt=[];Object.keys($t).forEach(function(Wn){var It=$t[Wn];It.children&&It.children.length&&Vt.push(It.key)}),gt.expandedKeys=Vt}else!pt&&$e.defaultExpandedKeys&&(gt.expandedKeys=$e.autoExpandParent||$e.defaultExpandParent?(0,vn.r7)($e.defaultExpandedKeys,st):$e.defaultExpandedKeys);if(gt.expandedKeys||delete gt.expandedKeys,Lt||gt.expandedKeys){var bn=(0,je.oH)(Lt||at.treeData,gt.expandedKeys||at.expandedKeys,Rt);gt.flattenNodes=bn}if($e.selectable&&(Bt("selectedKeys")?gt.selectedKeys=(0,vn.BT)($e.selectedKeys,$e):!pt&&$e.defaultSelectedKeys&&(gt.selectedKeys=(0,vn.BT)($e.defaultSelectedKeys,$e))),$e.checkable){var an;if(Bt("checkedKeys")?an=(0,vn.E6)($e.checkedKeys)||{}:!pt&&$e.defaultCheckedKeys?an=(0,vn.E6)($e.defaultCheckedKeys)||{}:Lt&&(an=(0,vn.E6)($e.checkedKeys)||{checkedKeys:at.checkedKeys,halfCheckedKeys:at.halfCheckedKeys}),an){var en=an,Hn=en.checkedKeys,En=Hn===void 0?[]:Hn,Mt=en.halfCheckedKeys,sn=Mt===void 0?[]:Mt;if(!$e.checkStrictly){var Dn=(0,_t.S)(En,!0,st);En=Dn.checkedKeys,sn=Dn.halfCheckedKeys}gt.checkedKeys=En,gt.halfCheckedKeys=sn}}return Bt("loadedKeys")&&(gt.loadedKeys=$e.loadedKeys),gt}}]),se}(we.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:ke,allowDrop:function(){return!0},expandAction:!1}),(0,oe.Z)(de,"TreeNode",it.Z);var ge=de,ie=ge},82661:function(Vn,Tt,ae){"use strict";ae.d(Tt,{BT:function(){return we},E6:function(){return ke},L0:function(){return oe},OM:function(){return _e},_5:function(){return Ce},r7:function(){return ze},wA:function(){return ve},yx:function(){return Oe}});var x=ae(94480),ct=ae(76190),Le=ae(48736),Je=ae(59301),He=ae(639),Se=ae(65065),Ue=ae(34061),fe=null;function Ce(Qe,Re){if(!Qe)return[];var et=Qe.slice(),Ge=et.indexOf(Re);return Ge>=0&&et.splice(Ge,1),et}function oe(Qe,Re){var et=(Qe||[]).slice();return et.indexOf(Re)===-1&&et.push(Re),et}function Oe(Qe){return Qe.split("-")}function ve(Qe,Re){var et=[],Ge=(0,Se.Z)(Re,Qe);function lt(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];it.forEach(function(ft){var bt=ft.key,je=ft.children;et.push(bt),lt(je)})}return lt(Ge.children),et}function Me(Qe){if(Qe.parent){var Re=Oe(Qe.pos);return Number(Re[Re.length-1])===Qe.parent.children.length-1}return!1}function Ie(Qe){var Re=Oe(Qe.pos);return Number(Re[Re.length-1])===0}function _e(Qe,Re,et,Ge,lt,it,ft,bt,je,ht){var Ne,We=Qe.clientX,Ut=Qe.clientY,ot=Qe.target.getBoundingClientRect(),yt=ot.top,Ft=ot.height,Ze=(ht==="rtl"?-1:1)*(((lt==null?void 0:lt.x)||0)-We),Te=(Ze-12)/Ge,At=je.filter(function(ie){var ee;return(ee=bt[ie])===null||ee===void 0||(ee=ee.children)===null||ee===void 0?void 0:ee.length}),Zt=(0,Se.Z)(bt,et.eventKey);if(Ut<yt+Ft/2){var Kt=ft.findIndex(function(ie){return ie.key===Zt.key}),rt=Kt<=0?0:Kt-1,Nt=ft[rt].key;Zt=(0,Se.Z)(bt,Nt)}var Qt=Zt.key,pn=Zt,Ot=Zt.key,vn=0,_t=0;if(!At.includes(Qt))for(var Fn=0;Fn<Te&&Me(Zt);Fn+=1)Zt=Zt.parent,_t+=1;var on=Re.data,de=Zt.node,ge=!0;return Ie(Zt)&&Zt.level===0&&Ut<yt+Ft/2&&it({dragNode:on,dropNode:de,dropPosition:-1})&&Zt.key===et.eventKey?vn=-1:(pn.children||[]).length&&At.includes(Ot)?it({dragNode:on,dropNode:de,dropPosition:0})?vn=0:ge=!1:_t===0?Te>-1.5?it({dragNode:on,dropNode:de,dropPosition:1})?vn=1:ge=!1:it({dragNode:on,dropNode:de,dropPosition:0})?vn=0:it({dragNode:on,dropNode:de,dropPosition:1})?vn=1:ge=!1:it({dragNode:on,dropNode:de,dropPosition:1})?vn=1:ge=!1,{dropPosition:vn,dropLevelOffset:_t,dropTargetKey:Zt.key,dropTargetPos:Zt.pos,dragOverNodeKey:Ot,dropContainerKey:vn===0?null:((Ne=Zt.parent)===null||Ne===void 0?void 0:Ne.key)||null,dropAllowed:ge}}function we(Qe,Re){if(Qe){var et=Re.multiple;return et?Qe.slice():Qe.length?[Qe[0]]:Qe}}var xe=function(Re){return Re};function Ee(Qe,Re){if(!Qe)return[];var et=Re||{},Ge=et.processProps,lt=Ge===void 0?xe:Ge,it=Array.isArray(Qe)?Qe:[Qe];return it.map(function(ft){var bt=ft.children,je=_objectWithoutProperties(ft,fe),ht=Ee(bt,Re);return React.createElement(TreeNode,_extends({key:je.key},lt(je)),ht)})}function ke(Qe){if(!Qe)return null;var Re;if(Array.isArray(Qe))Re={checkedKeys:Qe,halfCheckedKeys:void 0};else if((0,ct.Z)(Qe)==="object")Re={checkedKeys:Qe.checked||void 0,halfCheckedKeys:Qe.halfChecked||void 0};else return(0,Le.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return Re}function ze(Qe,Re){var et=new Set;function Ge(lt){if(!et.has(lt)){var it=(0,Se.Z)(Re,lt);if(it){et.add(lt);var ft=it.parent,bt=it.node;bt.disabled||ft&&Ge(ft.key)}}}return(Qe||[]).forEach(function(lt){Ge(lt)}),(0,x.Z)(et)}},34643:function(Vn,Tt,ae){"use strict";ae.d(Tt,{S:function(){return Ue}});var x=ae(48736),ct=ae(65065);function Le(fe,Ce){var oe=new Set;return fe.forEach(function(Oe){Ce.has(Oe)||oe.add(Oe)}),oe}function Je(fe){var Ce=fe||{},oe=Ce.disabled,Oe=Ce.disableCheckbox,ve=Ce.checkable;return!!(oe||Oe)||ve===!1}function He(fe,Ce,oe,Oe){for(var ve=new Set(fe),Me=new Set,Ie=0;Ie<=oe;Ie+=1){var _e=Ce.get(Ie)||new Set;_e.forEach(function(ke){var ze=ke.key,Qe=ke.node,Re=ke.children,et=Re===void 0?[]:Re;ve.has(ze)&&!Oe(Qe)&&et.filter(function(Ge){return!Oe(Ge.node)}).forEach(function(Ge){ve.add(Ge.key)})})}for(var we=new Set,xe=oe;xe>=0;xe-=1){var Ee=Ce.get(xe)||new Set;Ee.forEach(function(ke){var ze=ke.parent,Qe=ke.node;if(!(Oe(Qe)||!ke.parent||we.has(ke.parent.key))){if(Oe(ke.parent.node)){we.add(ze.key);return}var Re=!0,et=!1;(ze.children||[]).filter(function(Ge){return!Oe(Ge.node)}).forEach(function(Ge){var lt=Ge.key,it=ve.has(lt);Re&&!it&&(Re=!1),!et&&(it||Me.has(lt))&&(et=!0)}),Re&&ve.add(ze.key),et&&Me.add(ze.key),we.add(ze.key)}})}return{checkedKeys:Array.from(ve),halfCheckedKeys:Array.from(Le(Me,ve))}}function Se(fe,Ce,oe,Oe,ve){for(var Me=new Set(fe),Ie=new Set(Ce),_e=0;_e<=Oe;_e+=1){var we=oe.get(_e)||new Set;we.forEach(function(ze){var Qe=ze.key,Re=ze.node,et=ze.children,Ge=et===void 0?[]:et;!Me.has(Qe)&&!Ie.has(Qe)&&!ve(Re)&&Ge.filter(function(lt){return!ve(lt.node)}).forEach(function(lt){Me.delete(lt.key)})})}Ie=new Set;for(var xe=new Set,Ee=Oe;Ee>=0;Ee-=1){var ke=oe.get(Ee)||new Set;ke.forEach(function(ze){var Qe=ze.parent,Re=ze.node;if(!(ve(Re)||!ze.parent||xe.has(ze.parent.key))){if(ve(ze.parent.node)){xe.add(Qe.key);return}var et=!0,Ge=!1;(Qe.children||[]).filter(function(lt){return!ve(lt.node)}).forEach(function(lt){var it=lt.key,ft=Me.has(it);et&&!ft&&(et=!1),!Ge&&(ft||Ie.has(it))&&(Ge=!0)}),et||Me.delete(Qe.key),Ge&&Ie.add(Qe.key),xe.add(Qe.key)}})}return{checkedKeys:Array.from(Me),halfCheckedKeys:Array.from(Le(Ie,Me))}}function Ue(fe,Ce,oe,Oe){var ve=[],Me;Oe?Me=Oe:Me=Je;var Ie=new Set(fe.filter(function(Ee){var ke=!!(0,ct.Z)(oe,Ee);return ke||ve.push(Ee),ke})),_e=new Map,we=0;Object.keys(oe).forEach(function(Ee){var ke=oe[Ee],ze=ke.level,Qe=_e.get(ze);Qe||(Qe=new Set,_e.set(ze,Qe)),Qe.add(ke),we=Math.max(we,ze)}),(0,x.ZP)(!ve.length,"Tree missing follow keys: ".concat(ve.slice(0,100).map(function(Ee){return"'".concat(Ee,"'")}).join(", ")));var xe;return Ce===!0?xe=He(Ie,_e,we,Me):xe=Se(Ie,Ce.halfCheckedKeys,_e,we,Me),xe}},65065:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return x}});function x(ct,Le){return ct[Le]}},34061:function(Vn,Tt,ae){"use strict";ae.d(Tt,{F:function(){return ze},H8:function(){return ke},I8:function(){return Ee},km:function(){return ve},oH:function(){return we},w$:function(){return Me},zn:function(){return _e}});var x=ae(76190),ct=ae(94480),Le=ae(33885),Je=ae(75931),He=ae(11592),Se=ae(2738),Ue=ae(48736),fe=ae(65065),Ce=["children"];function oe(Qe,Re){return"".concat(Qe,"-").concat(Re)}function Oe(Qe){return Qe&&Qe.type&&Qe.type.isTreeNode}function ve(Qe,Re){return Qe!=null?Qe:Re}function Me(Qe){var Re=Qe||{},et=Re.title,Ge=Re._title,lt=Re.key,it=Re.children,ft=et||"title";return{title:ft,_title:Ge||[ft],key:lt||"key",children:it||"children"}}function Ie(Qe,Re){var et=new Map;function Ge(lt){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(lt||[]).forEach(function(ft){var bt=ft[Re.key],je=ft[Re.children];warning(bt!=null,"Tree node must have a certain key: [".concat(it).concat(bt,"]"));var ht=String(bt);warning(!et.has(ht)||bt===null||bt===void 0,"Same 'key' exist in the Tree: ".concat(ht)),et.set(ht,!0),Ge(je,"".concat(it).concat(ht," > "))})}Ge(Qe)}function _e(Qe){function Re(et){var Ge=(0,He.Z)(et);return Ge.map(function(lt){if(!Oe(lt))return(0,Ue.ZP)(!lt,"Tree/TreeNode can only accept TreeNode as children."),null;var it=lt.key,ft=lt.props,bt=ft.children,je=(0,Je.Z)(ft,Ce),ht=(0,Le.Z)({key:it},je),Ne=Re(bt);return Ne.length&&(ht.children=Ne),ht}).filter(function(lt){return lt})}return Re(Qe)}function we(Qe,Re,et){var Ge=Me(et),lt=Ge._title,it=Ge.key,ft=Ge.children,bt=new Set(Re===!0?[]:Re),je=[];function ht(Ne){var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ne.map(function(Ut,ot){for(var yt=oe(We?We.pos:"0",ot),Ft=ve(Ut[it],yt),Ze,Te=0;Te<lt.length;Te+=1){var At=lt[Te];if(Ut[At]!==void 0){Ze=Ut[At];break}}var Zt=Object.assign((0,Se.Z)(Ut,[].concat((0,ct.Z)(lt),[it,ft])),{title:Ze,key:Ft,parent:We,pos:yt,children:null,data:Ut,isStart:[].concat((0,ct.Z)(We?We.isStart:[]),[ot===0]),isEnd:[].concat((0,ct.Z)(We?We.isEnd:[]),[ot===Ne.length-1])});return je.push(Zt),Re===!0||bt.has(Ft)?Zt.children=ht(Ut[ft]||[],Zt):Zt.children=[],Zt})}return ht(Qe),je}function xe(Qe,Re,et){var Ge={};(0,x.Z)(et)==="object"?Ge=et:Ge={externalGetKey:et},Ge=Ge||{};var lt=Ge,it=lt.childrenPropName,ft=lt.externalGetKey,bt=lt.fieldNames,je=Me(bt),ht=je.key,Ne=je.children,We=it||Ne,Ut;ft?typeof ft=="string"?Ut=function(Ft){return Ft[ft]}:typeof ft=="function"&&(Ut=function(Ft){return ft(Ft)}):Ut=function(Ft,Ze){return ve(Ft[ht],Ze)};function ot(yt,Ft,Ze,Te){var At=yt?yt[We]:Qe,Zt=yt?oe(Ze.pos,Ft):"0",Kt=yt?[].concat((0,ct.Z)(Te),[yt]):[];if(yt){var rt=Ut(yt,Zt),Nt={node:yt,index:Ft,pos:Zt,key:rt,parentPos:Ze.node?Ze.pos:null,level:Ze.level+1,nodes:Kt};Re(Nt)}At&&At.forEach(function(Qt,pn){ot(Qt,pn,{node:yt,pos:Zt,level:Ze?Ze.level+1:-1},Kt)})}ot(null)}function Ee(Qe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},et=Re.initWrapper,Ge=Re.processEntity,lt=Re.onProcessFinished,it=Re.externalGetKey,ft=Re.childrenPropName,bt=Re.fieldNames,je=arguments.length>2?arguments[2]:void 0,ht=it||je,Ne={},We={},Ut={posEntities:Ne,keyEntities:We};return et&&(Ut=et(Ut)||Ut),xe(Qe,function(ot){var yt=ot.node,Ft=ot.index,Ze=ot.pos,Te=ot.key,At=ot.parentPos,Zt=ot.level,Kt=ot.nodes,rt={node:yt,nodes:Kt,index:Ft,key:Te,pos:Ze,level:Zt},Nt=ve(Te,Ze);Ne[Ze]=rt,We[Nt]=rt,rt.parent=Ne[At],rt.parent&&(rt.parent.children=rt.parent.children||[],rt.parent.children.push(rt)),Ge&&Ge(rt,Ut)},{externalGetKey:ht,childrenPropName:ft,fieldNames:bt}),lt&&lt(Ut),Ut}function ke(Qe,Re){var et=Re.expandedKeys,Ge=Re.selectedKeys,lt=Re.loadedKeys,it=Re.loadingKeys,ft=Re.checkedKeys,bt=Re.halfCheckedKeys,je=Re.dragOverNodeKey,ht=Re.dropPosition,Ne=Re.keyEntities,We=(0,fe.Z)(Ne,Qe),Ut={eventKey:Qe,expanded:et.indexOf(Qe)!==-1,selected:Ge.indexOf(Qe)!==-1,loaded:lt.indexOf(Qe)!==-1,loading:it.indexOf(Qe)!==-1,checked:ft.indexOf(Qe)!==-1,halfChecked:bt.indexOf(Qe)!==-1,pos:String(We?We.pos:""),dragOver:je===Qe&&ht===0,dragOverGapTop:je===Qe&&ht===-1,dragOverGapBottom:je===Qe&&ht===1};return Ut}function ze(Qe){var Re=Qe.data,et=Qe.expanded,Ge=Qe.selected,lt=Qe.checked,it=Qe.loaded,ft=Qe.loading,bt=Qe.halfChecked,je=Qe.dragOver,ht=Qe.dragOverGapTop,Ne=Qe.dragOverGapBottom,We=Qe.pos,Ut=Qe.active,ot=Qe.eventKey,yt=(0,Le.Z)((0,Le.Z)({},Re),{},{expanded:et,selected:Ge,checked:lt,loaded:it,loading:ft,halfChecked:bt,dragOver:je,dragOverGapTop:ht,dragOverGapBottom:Ne,pos:We,active:Ut,key:ot});return"props"in yt||Object.defineProperty(yt,"props",{get:function(){return(0,Ue.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),Qe}}),yt}},8224:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return ct}});var x=ae(4676);function ct(Le,Je,He,Se){var Ue=x.unstable_batchedUpdates?function(Ce){x.unstable_batchedUpdates(He,Ce)}:He;return Le!=null&&Le.addEventListener&&Le.addEventListener(Je,Ue,Se),{remove:function(){Le!=null&&Le.removeEventListener&&Le.removeEventListener(Je,Ue,Se)}}}},3465:function(Vn,Tt,ae){"use strict";ae.d(Tt,{G:function(){return Je}});var x=ae(47273),ct=function(Se){if((0,x.Z)()&&window.document.documentElement){var Ue=Array.isArray(Se)?Se:[Se],fe=window.document.documentElement;return Ue.some(function(Ce){return Ce in fe.style})}return!1},Le=function(Se,Ue){if(!ct(Se))return!1;var fe=document.createElement("div"),Ce=fe.style[Se];return fe.style[Se]=Ue,fe.style[Se]!==Ce};function Je(He,Se){return!Array.isArray(He)&&Se!==void 0?Le(He,Se):ct(He)}},48911:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return on}});var x=ae(54476),ct=ae(76190),Le=ae(33885),Je=ae(20068),He=ae(42978),Se=ae(75931),Ue=ae(92310),fe=ae.n(Ue),Ce=ae(29301),oe=ae(70425),Oe=ae(34280),ve=ae(59301),Me=ae(4676),Ie=ve.forwardRef(function(de,ge){var ie=de.height,ee=de.offsetY,le=de.offsetX,se=de.children,Be=de.prefixCls,$e=de.onInnerResize,at=de.innerProps,pt=de.rtl,gt=de.extra,Bt={},Lt={display:"flex",flexDirection:"column"};return ee!==void 0&&(Bt={height:ie,position:"relative",overflow:"hidden"},Lt=(0,Le.Z)((0,Le.Z)({},Lt),{},(0,Je.Z)((0,Je.Z)((0,Je.Z)((0,Je.Z)((0,Je.Z)({transform:"translateY(".concat(ee,"px)")},pt?"marginRight":"marginLeft",-le),"position","absolute"),"left",0),"right",0),"top",0))),ve.createElement("div",{style:Bt},ve.createElement(Ce.Z,{onResize:function(Ct){var st=Ct.offsetHeight;st&&$e&&$e()}},ve.createElement("div",(0,x.Z)({style:Lt,className:fe()((0,Je.Z)({},"".concat(Be,"-holder-inner"),Be)),ref:ge},at),se,gt)))});Ie.displayName="Filler";var _e=Ie;function we(de){var ge=de.children,ie=de.setRef,ee=ve.useCallback(function(le){ie(le)},[]);return ve.cloneElement(ge,{ref:ee})}function xe(de,ge,ie,ee,le,se,Be,$e){var at=$e.getKey;return de.slice(ge,ie+1).map(function(pt,gt){var Bt=ge+gt,Lt=Be(pt,Bt,{style:{width:ee},offsetX:le}),Rt=at(pt);return ve.createElement(we,{key:Rt,setRef:function(st){return se(pt,st)}},Lt)})}function Ee(de,ge,ie,ee){var le=ie-de,se=ge-ie,Be=Math.min(le,se)*2;if(ee<=Be){var $e=Math.floor(ee/2);return ee%2?ie+$e+1:ie-$e}return le>se?ie-(ee-se):ie+(ee-le)}function ke(de,ge,ie){var ee=de.length,le=ge.length,se,Be;if(ee===0&&le===0)return null;ee<le?(se=de,Be=ge):(se=ge,Be=de);var $e={__EMPTY_ITEM__:!0};function at(Ct){return Ct!==void 0?ie(Ct):$e}for(var pt=null,gt=Math.abs(ee-le)!==1,Bt=0;Bt<Be.length;Bt+=1){var Lt=at(se[Bt]),Rt=at(Be[Bt]);if(Lt!==Rt){pt=Bt,gt=gt||Lt!==at(Be[Bt+1]);break}}return pt===null?null:{index:pt,multiple:gt}}function ze(de,ge,ie){var ee=ve.useState(de),le=(0,He.Z)(ee,2),se=le[0],Be=le[1],$e=ve.useState(null),at=(0,He.Z)($e,2),pt=at[0],gt=at[1];return ve.useEffect(function(){var Bt=ke(se||[],de||[],ge);(Bt==null?void 0:Bt.index)!==void 0&&(ie==null||ie(Bt.index),gt(de[Bt.index])),Be(de)},[de]),[pt]}var Qe=ae(16089),Re=(typeof navigator=="undefined"?"undefined":(0,ct.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),et=Re,Ge=function(de,ge,ie,ee){var le=(0,ve.useRef)(!1),se=(0,ve.useRef)(null);function Be(){clearTimeout(se.current),le.current=!0,se.current=setTimeout(function(){le.current=!1},50)}var $e=(0,ve.useRef)({top:de,bottom:ge,left:ie,right:ee});return $e.current.top=de,$e.current.bottom=ge,$e.current.left=ie,$e.current.right=ee,function(at,pt){var gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Bt=at?pt<0&&$e.current.left||pt>0&&$e.current.right:pt<0&&$e.current.top||pt>0&&$e.current.bottom;return gt&&Bt?(clearTimeout(se.current),le.current=!1):(!Bt||le.current)&&Be(),!le.current&&Bt}};function lt(de,ge,ie,ee,le,se,Be){var $e=(0,ve.useRef)(0),at=(0,ve.useRef)(null),pt=(0,ve.useRef)(null),gt=(0,ve.useRef)(!1),Bt=Ge(ge,ie,ee,le);function Lt(bn,an){if(Qe.Z.cancel(at.current),!Bt(!1,an)){var en=bn;if(!en._virtualHandled)en._virtualHandled=!0;else return;$e.current+=an,pt.current=an,et||en.preventDefault(),at.current=(0,Qe.Z)(function(){var Hn=gt.current?10:1;Be($e.current*Hn,!1),$e.current=0})}}function Rt(bn,an){Be(an,!0),et||bn.preventDefault()}var Ct=(0,ve.useRef)(null),st=(0,ve.useRef)(null);function $t(bn){if(de){Qe.Z.cancel(st.current),st.current=(0,Qe.Z)(function(){Ct.current=null},2);var an=bn.deltaX,en=bn.deltaY,Hn=bn.shiftKey,En=an,Mt=en;(Ct.current==="sx"||!Ct.current&&Hn&&en&&!an)&&(En=en,Mt=0,Ct.current="sx");var sn=Math.abs(En),Dn=Math.abs(Mt);Ct.current===null&&(Ct.current=se&&sn>Dn?"x":"y"),Ct.current==="y"?Lt(bn,Mt):Rt(bn,En)}}function Vt(bn){de&&(gt.current=bn.detail===pt.current)}return[$t,Vt]}function it(de,ge,ie,ee){var le=ve.useMemo(function(){return[new Map,[]]},[de,ie.id,ee]),se=(0,He.Z)(le,2),Be=se[0],$e=se[1],at=function(gt){var Bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gt,Lt=Be.get(gt),Rt=Be.get(Bt);if(Lt===void 0||Rt===void 0)for(var Ct=de.length,st=$e.length;st<Ct;st+=1){var $t,Vt=de[st],bn=ge(Vt);Be.set(bn,st);var an=($t=ie.get(bn))!==null&&$t!==void 0?$t:ee;if($e[st]=($e[st-1]||0)+an,bn===gt&&(Lt=st),bn===Bt&&(Rt=st),Lt!==void 0&&Rt!==void 0)break}return{top:$e[Lt-1]||0,bottom:$e[Rt]}};return at}var ft=ae(67732),bt=ae(83652),je=function(){function de(){(0,ft.Z)(this,de),(0,Je.Z)(this,"maps",void 0),(0,Je.Z)(this,"id",0),(0,Je.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,bt.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}(),ht=je;function Ne(de){var ge=parseFloat(de);return isNaN(ge)?0:ge}function We(de,ge,ie){var ee=ve.useState(0),le=(0,He.Z)(ee,2),se=le[0],Be=le[1],$e=(0,ve.useRef)(new Map),at=(0,ve.useRef)(new ht),pt=(0,ve.useRef)(0);function gt(){pt.current+=1}function Bt(){var Rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;gt();var Ct=function(){var Vt=!1;$e.current.forEach(function(bn,an){if(bn&&bn.offsetParent){var en=bn.offsetHeight,Hn=getComputedStyle(bn),En=Hn.marginTop,Mt=Hn.marginBottom,sn=Ne(En),Dn=Ne(Mt),Wn=en+sn+Dn;at.current.get(an)!==Wn&&(at.current.set(an,Wn),Vt=!0)}}),Vt&&Be(function(bn){return bn+1})};if(Rt)Ct();else{pt.current+=1;var st=pt.current;Promise.resolve().then(function(){st===pt.current&&Ct()})}}function Lt(Rt,Ct){var st=de(Rt),$t=$e.current.get(st);Ct?($e.current.set(st,Ct),Bt()):$e.current.delete(st),!$t!=!Ct&&(Ct?ge==null||ge(Rt):ie==null||ie(Rt))}return(0,ve.useEffect)(function(){return gt},[]),[Lt,Bt,at.current,se]}var Ut=14/15;function ot(de,ge,ie){var ee=(0,ve.useRef)(!1),le=(0,ve.useRef)(0),se=(0,ve.useRef)(0),Be=(0,ve.useRef)(null),$e=(0,ve.useRef)(null),at,pt=function(Rt){if(ee.current){var Ct=Math.ceil(Rt.touches[0].pageX),st=Math.ceil(Rt.touches[0].pageY),$t=le.current-Ct,Vt=se.current-st,bn=Math.abs($t)>Math.abs(Vt);bn?le.current=Ct:se.current=st;var an=ie(bn,bn?$t:Vt,!1,Rt);an&&Rt.preventDefault(),clearInterval($e.current),an&&($e.current=setInterval(function(){bn?$t*=Ut:Vt*=Ut;var en=Math.floor(bn?$t:Vt);(!ie(bn,en,!0)||Math.abs(en)<=.1)&&clearInterval($e.current)},16))}},gt=function(){ee.current=!1,at()},Bt=function(Rt){at(),Rt.touches.length===1&&!ee.current&&(ee.current=!0,le.current=Math.ceil(Rt.touches[0].pageX),se.current=Math.ceil(Rt.touches[0].pageY),Be.current=Rt.target,Be.current.addEventListener("touchmove",pt,{passive:!1}),Be.current.addEventListener("touchend",gt,{passive:!0}))};at=function(){Be.current&&(Be.current.removeEventListener("touchmove",pt),Be.current.removeEventListener("touchend",gt))},(0,Oe.Z)(function(){return de&&ge.current.addEventListener("touchstart",Bt,{passive:!0}),function(){var Lt;(Lt=ge.current)===null||Lt===void 0||Lt.removeEventListener("touchstart",Bt),at(),clearInterval($e.current)}},[de])}function yt(de){return Math.floor(Math.pow(de,.5))}function Ft(de,ge){var ie="touches"in de?de.touches[0]:de;return ie[ge?"pageX":"pageY"]-window[ge?"scrollX":"scrollY"]}function Ze(de,ge,ie){ve.useEffect(function(){var ee=ge.current;if(de&&ee){var le=!1,se,Be,$e=function(){Qe.Z.cancel(se)},at=function Lt(){$e(),se=(0,Qe.Z)(function(){ie(Be),Lt()})},pt=function(){le=!1,$e()},gt=function(Rt){if(!(Rt.target.draggable||Rt.button!==0)){var Ct=Rt;Ct._virtualHandled||(Ct._virtualHandled=!0,le=!0)}},Bt=function(Rt){if(le){var Ct=Ft(Rt,!1),st=ee.getBoundingClientRect(),$t=st.top,Vt=st.bottom;if(Ct<=$t){var bn=$t-Ct;Be=-yt(bn),at()}else if(Ct>=Vt){var an=Ct-Vt;Be=yt(an),at()}else $e()}};return ee.addEventListener("mousedown",gt),ee.ownerDocument.addEventListener("mouseup",pt),ee.ownerDocument.addEventListener("mousemove",Bt),ee.ownerDocument.addEventListener("dragend",pt),function(){ee.removeEventListener("mousedown",gt),ee.ownerDocument.removeEventListener("mouseup",pt),ee.ownerDocument.removeEventListener("mousemove",Bt),ee.ownerDocument.removeEventListener("dragend",pt),$e()}}},[de])}var Te=10;function At(de,ge,ie,ee,le,se,Be,$e){var at=ve.useRef(),pt=ve.useState(null),gt=(0,He.Z)(pt,2),Bt=gt[0],Lt=gt[1];return(0,Oe.Z)(function(){if(Bt&&Bt.times<Te){if(!de.current){Lt(function(Ir){return(0,Le.Z)({},Ir)});return}se();var Rt=Bt.targetAlign,Ct=Bt.originAlign,st=Bt.index,$t=Bt.offset,Vt=de.current.clientHeight,bn=!1,an=Rt,en=null;if(Vt){for(var Hn=Rt||Ct,En=0,Mt=0,sn=0,Dn=Math.min(ge.length-1,st),Wn=0;Wn<=Dn;Wn+=1){var It=le(ge[Wn]);Mt=En;var Wt=ie.get(It);sn=Mt+(Wt===void 0?ee:Wt),En=sn}for(var rn=Hn==="top"?$t:Vt-$t,mn=Dn;mn>=0;mn-=1){var Xn=le(ge[mn]),Fr=ie.get(Xn);if(Fr===void 0){bn=!0;break}if(rn-=Fr,rn<=0)break}switch(Hn){case"top":en=Mt-$t;break;case"bottom":en=sn-Vt+$t;break;default:{var ri=de.current.scrollTop,Hr=ri+Vt;Mt<ri?an="top":sn>Hr&&(an="bottom")}}en!==null&&Be(en),en!==Bt.lastTop&&(bn=!0)}bn&&Lt((0,Le.Z)((0,Le.Z)({},Bt),{},{times:Bt.times+1,targetAlign:an,lastTop:en}))}},[Bt,de.current]),function(Rt){if(Rt==null){$e();return}if(Qe.Z.cancel(at.current),typeof Rt=="number")Be(Rt);else if(Rt&&(0,ct.Z)(Rt)==="object"){var Ct,st=Rt.align;"index"in Rt?Ct=Rt.index:Ct=ge.findIndex(function(bn){return le(bn)===Rt.key});var $t=Rt.offset,Vt=$t===void 0?0:$t;Lt({times:0,index:Ct,offset:Vt,originAlign:st})}}}var Zt=ve.forwardRef(function(de,ge){var ie=de.prefixCls,ee=de.rtl,le=de.scrollOffset,se=de.scrollRange,Be=de.onStartMove,$e=de.onStopMove,at=de.onScroll,pt=de.horizontal,gt=de.spinSize,Bt=de.containerSize,Lt=de.style,Rt=de.thumbStyle,Ct=de.showScrollBar,st=ve.useState(!1),$t=(0,He.Z)(st,2),Vt=$t[0],bn=$t[1],an=ve.useState(null),en=(0,He.Z)(an,2),Hn=en[0],En=en[1],Mt=ve.useState(null),sn=(0,He.Z)(Mt,2),Dn=sn[0],Wn=sn[1],It=!ee,Wt=ve.useRef(),rn=ve.useRef(),mn=ve.useState(Ct),Xn=(0,He.Z)(mn,2),Fr=Xn[0],ri=Xn[1],Hr=ve.useRef(),Ir=function(){Ct===!0||Ct===!1||(clearTimeout(Hr.current),ri(!0),Hr.current=setTimeout(function(){ri(!1)},3e3))},er=se-Bt||0,vr=Bt-gt||0,Mr=ve.useMemo(function(){if(le===0||er===0)return 0;var ci=le/er;return ci*vr},[le,er,vr]),Yn=function(Hi){Hi.stopPropagation(),Hi.preventDefault()},sr=ve.useRef({top:Mr,dragging:Vt,pageY:Hn,startTop:Dn});sr.current={top:Mr,dragging:Vt,pageY:Hn,startTop:Dn};var jn=function(Hi){bn(!0),En(Ft(Hi,pt)),Wn(sr.current.top),Be(),Hi.stopPropagation(),Hi.preventDefault()};ve.useEffect(function(){var ci=function(Ki){Ki.preventDefault()},Hi=Wt.current,mi=rn.current;return Hi.addEventListener("touchstart",ci,{passive:!1}),mi.addEventListener("touchstart",jn,{passive:!1}),function(){Hi.removeEventListener("touchstart",ci),mi.removeEventListener("touchstart",jn)}},[]);var ur=ve.useRef();ur.current=er;var br=ve.useRef();br.current=vr,ve.useEffect(function(){if(Vt){var ci,Hi=function(Ki){var fr=sr.current,Lr=fr.dragging,gi=fr.pageY,Xt=fr.startTop;Qe.Z.cancel(ci);var ln=Wt.current.getBoundingClientRect(),yn=Bt/(pt?ln.width:ln.height);if(Lr){var kt=(Ft(Ki,pt)-gi)*yn,dn=Xt;!It&&pt?dn-=kt:dn+=kt;var zt=ur.current,hn=br.current,Pn=hn?dn/hn:0,_r=Math.ceil(Pn*zt);_r=Math.max(_r,0),_r=Math.min(_r,zt),ci=(0,Qe.Z)(function(){at(_r,pt)})}},mi=function(){bn(!1),$e()};return window.addEventListener("mousemove",Hi,{passive:!0}),window.addEventListener("touchmove",Hi,{passive:!0}),window.addEventListener("mouseup",mi,{passive:!0}),window.addEventListener("touchend",mi,{passive:!0}),function(){window.removeEventListener("mousemove",Hi),window.removeEventListener("touchmove",Hi),window.removeEventListener("mouseup",mi),window.removeEventListener("touchend",mi),Qe.Z.cancel(ci)}}},[Vt]),ve.useEffect(function(){return Ir(),function(){clearTimeout(Hr.current)}},[le]),ve.useImperativeHandle(ge,function(){return{delayHidden:Ir}});var Xr="".concat(ie,"-scrollbar"),Yr={position:"absolute",visibility:Fr?null:"hidden"},pi={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return pt?(Object.assign(Yr,{height:8,left:0,right:0,bottom:0}),Object.assign(pi,(0,Je.Z)({height:"100%",width:gt},It?"left":"right",Mr))):(Object.assign(Yr,(0,Je.Z)({width:8,top:0,bottom:0},It?"right":"left",0)),Object.assign(pi,{width:"100%",height:gt,top:Mr})),ve.createElement("div",{ref:Wt,className:fe()(Xr,(0,Je.Z)((0,Je.Z)((0,Je.Z)({},"".concat(Xr,"-horizontal"),pt),"".concat(Xr,"-vertical"),!pt),"".concat(Xr,"-visible"),Fr)),style:(0,Le.Z)((0,Le.Z)({},Yr),Lt),onMouseDown:Yn,onMouseMove:Ir},ve.createElement("div",{ref:rn,className:fe()("".concat(Xr,"-thumb"),(0,Je.Z)({},"".concat(Xr,"-thumb-moving"),Vt)),style:(0,Le.Z)((0,Le.Z)({},pi),Rt),onMouseDown:jn}))}),Kt=Zt,rt=20;function Nt(){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,rt),Math.floor(ie)}var Qt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],pn=[],Ot={overflowY:"auto",overflowAnchor:"none"};function vn(de,ge){var ie=de.prefixCls,ee=ie===void 0?"rc-virtual-list":ie,le=de.className,se=de.height,Be=de.itemHeight,$e=de.fullHeight,at=$e===void 0?!0:$e,pt=de.style,gt=de.data,Bt=de.children,Lt=de.itemKey,Rt=de.virtual,Ct=de.direction,st=de.scrollWidth,$t=de.component,Vt=$t===void 0?"div":$t,bn=de.onScroll,an=de.onVirtualScroll,en=de.onVisibleChange,Hn=de.innerProps,En=de.extraRender,Mt=de.styles,sn=de.showScrollBar,Dn=sn===void 0?"optional":sn,Wn=(0,Se.Z)(de,Qt),It=ve.useCallback(function(Ur){return typeof Lt=="function"?Lt(Ur):Ur==null?void 0:Ur[Lt]},[Lt]),Wt=We(It,null,null),rn=(0,He.Z)(Wt,4),mn=rn[0],Xn=rn[1],Fr=rn[2],ri=rn[3],Hr=!!(Rt!==!1&&se&&Be),Ir=ve.useMemo(function(){return Object.values(Fr.maps).reduce(function(Ur,qr){return Ur+qr},0)},[Fr.id,Fr.maps]),er=Hr&&gt&&(Math.max(Be*gt.length,Ir)>se||!!st),vr=Ct==="rtl",Mr=fe()(ee,(0,Je.Z)({},"".concat(ee,"-rtl"),vr),le),Yn=gt||pn,sr=(0,ve.useRef)(),jn=(0,ve.useRef)(),ur=(0,ve.useRef)(),br=(0,ve.useState)(0),Xr=(0,He.Z)(br,2),Yr=Xr[0],pi=Xr[1],ci=(0,ve.useState)(0),Hi=(0,He.Z)(ci,2),mi=Hi[0],no=Hi[1],Ki=(0,ve.useState)(!1),fr=(0,He.Z)(Ki,2),Lr=fr[0],gi=fr[1],Xt=function(){gi(!0)},ln=function(){gi(!1)},yn={getKey:It};function kt(Ur){pi(function(qr){var ti;typeof Ur=="function"?ti=Ur(qr):ti=Ur;var Wr=Ni(ti);return sr.current.scrollTop=Wr,Wr})}var dn=(0,ve.useRef)({start:0,end:Yn.length}),zt=(0,ve.useRef)(),hn=ze(Yn,It),Pn=(0,He.Z)(hn,1),_r=Pn[0];zt.current=_r;var Jr=ve.useMemo(function(){if(!Hr)return{scrollHeight:void 0,start:0,end:Yn.length-1,offset:void 0};if(!er){var Ur;return{scrollHeight:((Ur=jn.current)===null||Ur===void 0?void 0:Ur.offsetHeight)||0,start:0,end:Yn.length-1,offset:void 0}}for(var qr=0,ti,Wr,Ri,ro=Yn.length,zr=0;zr<ro;zr+=1){var oi=Yn[zr],yr=It(oi),ni=Fr.get(yr),co=qr+(ni===void 0?Be:ni);co>=Yr&&ti===void 0&&(ti=zr,Wr=qr),co>Yr+se&&Ri===void 0&&(Ri=zr),qr=co}return ti===void 0&&(ti=0,Wr=0,Ri=Math.ceil(se/Be)),Ri===void 0&&(Ri=Yn.length-1),Ri=Math.min(Ri+1,Yn.length-1),{scrollHeight:qr,start:ti,end:Ri,offset:Wr}},[er,Hr,Yr,Yn,ri,se]),di=Jr.scrollHeight,ir=Jr.start,Ar=Jr.end,ar=Jr.offset;dn.current.start=ir,dn.current.end=Ar,ve.useLayoutEffect(function(){var Ur=Fr.getRecord();if(Ur.size===1){var qr=Array.from(Ur.keys())[0],ti=Ur.get(qr),Wr=Yn[ir];if(Wr&&ti===void 0){var Ri=It(Wr);if(Ri===qr){var ro=Fr.get(qr),zr=ro-Be;kt(function(oi){return oi+zr})}}}Fr.resetRecord()},[di]);var ei=ve.useState({width:0,height:se}),tr=(0,He.Z)(ei,2),Un=tr[0],cr=tr[1],Bi=function(qr){cr({width:qr.offsetWidth,height:qr.offsetHeight})},zn=(0,ve.useRef)(),gn=(0,ve.useRef)(),$n=ve.useMemo(function(){return Nt(Un.width,st)},[Un.width,st]),nr=ve.useMemo(function(){return Nt(Un.height,di)},[Un.height,di]),pr=di-se,Zr=(0,ve.useRef)(pr);Zr.current=pr;function Ni(Ur){var qr=Ur;return Number.isNaN(Zr.current)||(qr=Math.min(qr,Zr.current)),qr=Math.max(qr,0),qr}var fi=Yr<=0,Li=Yr>=pr,vi=mi<=0,Ei=mi>=st,yi=Ge(fi,Li,vi,Ei),Si=function(){return{x:vr?-mi:mi,y:Yr}},wi=(0,ve.useRef)(Si()),Ti=(0,oe.zX)(function(Ur){if(an){var qr=(0,Le.Z)((0,Le.Z)({},Si()),Ur);(wi.current.x!==qr.x||wi.current.y!==qr.y)&&(an(qr),wi.current=qr)}});function eo(Ur,qr){var ti=Ur;qr?((0,Me.flushSync)(function(){no(ti)}),Ti()):kt(ti)}function vo(Ur){var qr=Ur.currentTarget.scrollTop;qr!==Yr&&kt(qr),bn==null||bn(Ur),Ti()}var Yi=function(qr){var ti=qr,Wr=st?st-Un.width:0;return ti=Math.max(ti,0),ti=Math.min(ti,Wr),ti},Do=(0,oe.zX)(function(Ur,qr){qr?((0,Me.flushSync)(function(){no(function(ti){var Wr=ti+(vr?-Ur:Ur);return Yi(Wr)})}),Ti()):kt(function(ti){var Wr=ti+Ur;return Wr})}),ki=lt(Hr,fi,Li,vi,Ei,!!st,Do),ko=(0,He.Z)(ki,2),Ao=ko[0],Xo=ko[1];ot(Hr,sr,function(Ur,qr,ti,Wr){var Ri=Wr;return yi(Ur,qr,ti)?!1:!Ri||!Ri._virtualHandled?(Ri&&(Ri._virtualHandled=!0),Ao({preventDefault:function(){},deltaX:Ur?qr:0,deltaY:Ur?0:qr}),!0):!1}),Ze(er,sr,function(Ur){kt(function(qr){return qr+Ur})}),(0,Oe.Z)(function(){function Ur(ti){var Wr=fi&&ti.detail<0,Ri=Li&&ti.detail>0;Hr&&!Wr&&!Ri&&ti.preventDefault()}var qr=sr.current;return qr.addEventListener("wheel",Ao,{passive:!1}),qr.addEventListener("DOMMouseScroll",Xo,{passive:!0}),qr.addEventListener("MozMousePixelScroll",Ur,{passive:!1}),function(){qr.removeEventListener("wheel",Ao),qr.removeEventListener("DOMMouseScroll",Xo),qr.removeEventListener("MozMousePixelScroll",Ur)}},[Hr,fi,Li]),(0,Oe.Z)(function(){if(st){var Ur=Yi(mi);no(Ur),Ti({x:Ur})}},[Un.width,st]);var Co=function(){var qr,ti;(qr=zn.current)===null||qr===void 0||qr.delayHidden(),(ti=gn.current)===null||ti===void 0||ti.delayHidden()},to=At(sr,Yn,Fr,Be,It,function(){return Xn(!0)},kt,Co);ve.useImperativeHandle(ge,function(){return{nativeElement:ur.current,getScrollInfo:Si,scrollTo:function(qr){function ti(Wr){return Wr&&(0,ct.Z)(Wr)==="object"&&("left"in Wr||"top"in Wr)}ti(qr)?(qr.left!==void 0&&no(Yi(qr.left)),to(qr.top)):to(qr)}}}),(0,Oe.Z)(function(){if(en){var Ur=Yn.slice(ir,Ar+1);en(Ur,Yn)}},[ir,Ar,Yn]);var xo=it(Yn,It,Fr,Be),$o=En==null?void 0:En({start:ir,end:Ar,virtual:er,offsetX:mi,offsetY:ar,rtl:vr,getSize:xo}),_n=xe(Yn,ir,Ar,st,mi,mn,Bt,yn),No=null;se&&(No=(0,Le.Z)((0,Je.Z)({},at?"height":"maxHeight",se),Ot),Hr&&(No.overflowY="hidden",st&&(No.overflowX="hidden"),Lr&&(No.pointerEvents="none")));var Vi={};return vr&&(Vi.dir="rtl"),ve.createElement("div",(0,x.Z)({ref:ur,style:(0,Le.Z)((0,Le.Z)({},pt),{},{position:"relative"}),className:Mr},Vi,Wn),ve.createElement(Ce.Z,{onResize:Bi},ve.createElement(Vt,{className:"".concat(ee,"-holder"),style:No,ref:sr,onScroll:vo,onMouseEnter:Co},ve.createElement(_e,{prefixCls:ee,height:di,offsetX:mi,offsetY:ar,scrollWidth:st,onInnerResize:Xn,ref:jn,innerProps:Hn,rtl:vr,extra:$o},_n))),er&&di>se&&ve.createElement(Kt,{ref:zn,prefixCls:ee,scrollOffset:Yr,scrollRange:di,rtl:vr,onScroll:eo,onStartMove:Xt,onStopMove:ln,spinSize:nr,containerSize:Un.height,style:Mt==null?void 0:Mt.verticalScrollBar,thumbStyle:Mt==null?void 0:Mt.verticalScrollBarThumb,showScrollBar:Dn}),er&&st>Un.width&&ve.createElement(Kt,{ref:gn,prefixCls:ee,scrollOffset:mi,scrollRange:st,rtl:vr,onScroll:eo,onStartMove:Xt,onStopMove:ln,spinSize:$n,containerSize:Un.width,horizontal:!0,style:Mt==null?void 0:Mt.horizontalScrollBar,thumbStyle:Mt==null?void 0:Mt.horizontalScrollBarThumb,showScrollBar:Dn}))}var _t=ve.forwardRef(vn);_t.displayName="List";var Fn=_t,on=Fn},51353:function(Vn,Tt,ae){"use strict";Object.defineProperty(Tt,"__esModule",{value:!0}),Object.defineProperty(Tt,"DraggableCore",{enumerable:!0,get:function(){return fe.default}}),Tt.default=void 0;var x=Oe(ae(59301)),ct=oe(ae(12708)),Le=oe(ae(4676)),Je=ae(14625),He=ae(77026),Se=ae(22013),Ue=ae(80217),fe=oe(ae(68555)),Ce=oe(ae(97510));function oe(xe){return xe&&xe.__esModule?xe:{default:xe}}function Oe(xe,Ee){if(typeof WeakMap=="function")var ke=new WeakMap,ze=new WeakMap;return(Oe=function(Qe,Re){if(!Re&&Qe&&Qe.__esModule)return Qe;var et,Ge,lt={__proto__:null,default:Qe};if(Qe===null||typeof Qe!="object"&&typeof Qe!="function")return lt;if(et=Re?ze:ke){if(et.has(Qe))return et.get(Qe);et.set(Qe,lt)}for(const it in Qe)it!=="default"&&{}.hasOwnProperty.call(Qe,it)&&((Ge=(et=Object.defineProperty)&&Object.getOwnPropertyDescriptor(Qe,it))&&(Ge.get||Ge.set)?et(lt,it,Ge):lt[it]=Qe[it]);return lt})(xe,Ee)}function ve(){return ve=Object.assign?Object.assign.bind():function(xe){for(var Ee=1;Ee<arguments.length;Ee++){var ke=arguments[Ee];for(var ze in ke)({}).hasOwnProperty.call(ke,ze)&&(xe[ze]=ke[ze])}return xe},ve.apply(null,arguments)}function Me(xe,Ee,ke){return(Ee=Ie(Ee))in xe?Object.defineProperty(xe,Ee,{value:ke,enumerable:!0,configurable:!0,writable:!0}):xe[Ee]=ke,xe}function Ie(xe){var Ee=_e(xe,"string");return typeof Ee=="symbol"?Ee:Ee+""}function _e(xe,Ee){if(typeof xe!="object"||!xe)return xe;var ke=xe[Symbol.toPrimitive];if(ke!==void 0){var ze=ke.call(xe,Ee||"default");if(typeof ze!="object")return ze;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Ee==="string"?String:Number)(xe)}class we extends x.Component{static getDerivedStateFromProps(Ee,ke){let{position:ze}=Ee,{prevPropsPosition:Qe}=ke;return ze&&(!Qe||ze.x!==Qe.x||ze.y!==Qe.y)?((0,Ce.default)("Draggable: getDerivedStateFromProps %j",{position:ze,prevPropsPosition:Qe}),{x:ze.x,y:ze.y,prevPropsPosition:wf({},ze)}):null}constructor(Ee){super(Ee),Me(this,"onDragStart",(ke,ze)=>{if((0,Ce.default)("Draggable: onDragStart: %j",ze),this.props.onStart(ke,(0,Se.createDraggableData)(this,ze))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),Me(this,"onDrag",(ke,ze)=>{if(!this.state.dragging)return!1;(0,Ce.default)("Draggable: onDrag: %j",ze);const Qe=(0,Se.createDraggableData)(this,ze),Re={x:Qe.x,y:Qe.y,slackX:0,slackY:0};if(this.props.bounds){const{x:Ge,y:lt}=Re;Re.x+=this.state.slackX,Re.y+=this.state.slackY;const[it,ft]=(0,Se.getBoundPosition)(this,Re.x,Re.y);Re.x=it,Re.y=ft,Re.slackX=this.state.slackX+(Ge-Re.x),Re.slackY=this.state.slackY+(lt-Re.y),Qe.x=Re.x,Qe.y=Re.y,Qe.deltaX=Re.x-this.state.x,Qe.deltaY=Re.y-this.state.y}if(this.props.onDrag(ke,Qe)===!1)return!1;this.setState(Re)}),Me(this,"onDragStop",(ke,ze)=>{if(!this.state.dragging||this.props.onStop(ke,(0,Se.createDraggableData)(this,ze))===!1)return!1;(0,Ce.default)("Draggable: onDragStop: %j",ze);const Re={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:Ge,y:lt}=this.props.position;Re.x=Ge,Re.y=lt}this.setState(Re)}),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,ke,ze;return(ze=(ke=(Ee=this.props)==null?void 0:Ee.nodeRef)==null?void 0:ke.current)!=null?ze:Le.default.findDOMNode(this)}render(){const Ft=this.props,{axis:Ee,bounds:ke,children:ze,defaultPosition:Qe,defaultClassName:Re,defaultClassNameDragging:et,defaultClassNameDragged:Ge,position:lt,positionOffset:it,scale:ft}=Ft,bt=Nv(Ft,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"]);let je={},ht=null;const We=!!!lt||this.state.dragging,Ut=lt||Qe,ot={x:(0,Se.canDragX)(this)&&We?this.state.x:Ut.x,y:(0,Se.canDragY)(this)&&We?this.state.y:Ut.y};this.state.isElementSVG?ht=(0,He.createSVGTransform)(ot,it):je=(0,He.createCSSTransform)(ot,it);const yt=(0,Je.clsx)(ze.props.className||"",Re,{[et]:this.state.dragging,[Ge]:this.state.dragged});return x.createElement(fe.default,ve({},bt,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),x.cloneElement(x.Children.only(ze),{className:yt,style:wf(wf({},ze.props.style),je),transform:ht}))}}Tt.default=we,Me(we,"displayName","Draggable"),Me(we,"propTypes",F0(wf({},fe.default.propTypes),{axis:ct.default.oneOf(["both","x","y","none"]),bounds:ct.default.oneOfType([ct.default.shape({left:ct.default.number,right:ct.default.number,top:ct.default.number,bottom:ct.default.number}),ct.default.string,ct.default.oneOf([!1])]),defaultClassName:ct.default.string,defaultClassNameDragging:ct.default.string,defaultClassNameDragged:ct.default.string,defaultPosition:ct.default.shape({x:ct.default.number,y:ct.default.number}),positionOffset:ct.default.shape({x:ct.default.oneOfType([ct.default.number,ct.default.string]),y:ct.default.oneOfType([ct.default.number,ct.default.string])}),position:ct.default.shape({x:ct.default.number,y:ct.default.number}),className:Ue.dontSetMe,style:Ue.dontSetMe,transform:Ue.dontSetMe})),Me(we,"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(Vn,Tt,ae){"use strict";Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.default=void 0;var x=Ce(ae(59301)),ct=fe(ae(12708)),Le=fe(ae(4676)),Je=ae(77026),He=ae(22013),Se=ae(80217),Ue=fe(ae(97510));function fe(we){return we&&we.__esModule?we:{default:we}}function Ce(we,xe){if(typeof WeakMap=="function")var Ee=new WeakMap,ke=new WeakMap;return(Ce=function(ze,Qe){if(!Qe&&ze&&ze.__esModule)return ze;var Re,et,Ge={__proto__:null,default:ze};if(ze===null||typeof ze!="object"&&typeof ze!="function")return Ge;if(Re=Qe?ke:Ee){if(Re.has(ze))return Re.get(ze);Re.set(ze,Ge)}for(const lt in ze)lt!=="default"&&{}.hasOwnProperty.call(ze,lt)&&((et=(Re=Object.defineProperty)&&Object.getOwnPropertyDescriptor(ze,lt))&&(et.get||et.set)?Re(Ge,lt,et):Ge[lt]=ze[lt]);return Ge})(we,xe)}function oe(we,xe,Ee){return(xe=Oe(xe))in we?Object.defineProperty(we,xe,{value:Ee,enumerable:!0,configurable:!0,writable:!0}):we[xe]=Ee,we}function Oe(we){var xe=ve(we,"string");return typeof xe=="symbol"?xe:xe+""}function ve(we,xe){if(typeof we!="object"||!we)return we;var Ee=we[Symbol.toPrimitive];if(Ee!==void 0){var ke=Ee.call(we,xe||"default");if(typeof ke!="object")return ke;throw new TypeError("@@toPrimitive must return a primitive value.")}return(xe==="string"?String:Number)(we)}const Me={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let Ie=Me.mouse;class _e 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",xe=>{if(this.props.onMouseDown(xe),!this.props.allowAnyClick&&typeof xe.button=="number"&&xe.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:ke}=Ee;if(this.props.disabled||!(xe.target instanceof ke.defaultView.Node)||this.props.handle&&!(0,Je.matchesSelectorAndParentsTo)(xe.target,this.props.handle,Ee)||this.props.cancel&&(0,Je.matchesSelectorAndParentsTo)(xe.target,this.props.cancel,Ee))return;xe.type==="touchstart"&&!this.props.allowMobileScroll&&xe.preventDefault();const ze=(0,Je.getTouchIdentifier)(xe);this.touchIdentifier=ze;const Qe=(0,He.getControlPosition)(xe,ze,this);if(Qe==null)return;const{x:Re,y:et}=Qe,Ge=(0,He.createCoreData)(this,Re,et);(0,Ue.default)("DraggableCore: handleDragStart: %j",Ge),(0,Ue.default)("calling",this.props.onStart),!(this.props.onStart(xe,Ge)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,Je.addUserSelectStyles)(ke),this.dragging=!0,this.lastX=Re,this.lastY=et,(0,Je.addEvent)(ke,Ie.move,this.handleDrag),(0,Je.addEvent)(ke,Ie.stop,this.handleDragStop))}),oe(this,"handleDrag",xe=>{const Ee=(0,He.getControlPosition)(xe,this.touchIdentifier,this);if(Ee==null)return;let{x:ke,y:ze}=Ee;if(Array.isArray(this.props.grid)){let et=ke-this.lastX,Ge=ze-this.lastY;if([et,Ge]=(0,He.snapToGrid)(this.props.grid,et,Ge),!et&&!Ge)return;ke=this.lastX+et,ze=this.lastY+Ge}const Qe=(0,He.createCoreData)(this,ke,ze);if((0,Ue.default)("DraggableCore: handleDrag: %j",Qe),this.props.onDrag(xe,Qe)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(et){const Ge=document.createEvent("MouseEvents");Ge.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(Ge)}return}this.lastX=ke,this.lastY=ze}),oe(this,"handleDragStop",xe=>{if(!this.dragging)return;const Ee=(0,He.getControlPosition)(xe,this.touchIdentifier,this);if(Ee==null)return;let{x:ke,y:ze}=Ee;if(Array.isArray(this.props.grid)){let Ge=ke-this.lastX||0,lt=ze-this.lastY||0;[Ge,lt]=(0,He.snapToGrid)(this.props.grid,Ge,lt),ke=this.lastX+Ge,ze=this.lastY+lt}const Qe=(0,He.createCoreData)(this,ke,ze);if(this.props.onStop(xe,Qe)===!1||this.mounted===!1)return!1;const et=this.findDOMNode();et&&this.props.enableUserSelectHack&&(0,Je.scheduleRemoveUserSelectStyles)(et.ownerDocument),(0,Ue.default)("DraggableCore: handleDragStop: %j",Qe),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,et&&((0,Ue.default)("DraggableCore: Removing handlers"),(0,Je.removeEvent)(et.ownerDocument,Ie.move,this.handleDrag),(0,Je.removeEvent)(et.ownerDocument,Ie.stop,this.handleDragStop))}),oe(this,"onMouseDown",xe=>(Ie=Me.mouse,this.handleDragStart(xe))),oe(this,"onMouseUp",xe=>(Ie=Me.mouse,this.handleDragStop(xe))),oe(this,"onTouchStart",xe=>(Ie=Me.touch,this.handleDragStart(xe))),oe(this,"onTouchEnd",xe=>(Ie=Me.touch,this.handleDragStop(xe)))}componentDidMount(){this.mounted=!0;const xe=this.findDOMNode();xe&&(0,Je.addEvent)(xe,Me.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const xe=this.findDOMNode();if(xe){const{ownerDocument:Ee}=xe;(0,Je.removeEvent)(Ee,Me.mouse.move,this.handleDrag),(0,Je.removeEvent)(Ee,Me.touch.move,this.handleDrag),(0,Je.removeEvent)(Ee,Me.mouse.stop,this.handleDragStop),(0,Je.removeEvent)(Ee,Me.touch.stop,this.handleDragStop),(0,Je.removeEvent)(xe,Me.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,Je.scheduleRemoveUserSelectStyles)(Ee)}}findDOMNode(){var xe,Ee,ke;return(xe=this.props)!=null&&xe.nodeRef?(ke=(Ee=this.props)==null?void 0:Ee.nodeRef)==null?void 0:ke.current:Le.default.findDOMNode(this)}render(){return x.cloneElement(x.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}Tt.default=_e,oe(_e,"displayName","DraggableCore"),oe(_e,"propTypes",{allowAnyClick:ct.default.bool,allowMobileScroll:ct.default.bool,children:ct.default.node.isRequired,disabled:ct.default.bool,enableUserSelectHack:ct.default.bool,offsetParent:function(we,xe){if(we[xe]&&we[xe].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:ct.default.arrayOf(ct.default.number),handle:ct.default.string,cancel:ct.default.string,nodeRef:ct.default.object,onStart:ct.default.func,onDrag:ct.default.func,onStop:ct.default.func,onMouseDown:ct.default.func,scale:ct.default.number,className:Se.dontSetMe,style:Se.dontSetMe,transform:Se.dontSetMe}),oe(_e,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},96249:function(Vn,Tt,ae){"use strict";const{default:x,DraggableCore:ct}=ae(51353);Vn.exports=x,Vn.exports.default=x,Vn.exports.DraggableCore=ct},77026:function(Vn,Tt,ae){"use strict";Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.addClassName=Re,Tt.addEvent=Ue,Tt.addUserSelectStyles=ke,Tt.createCSSTransform=Ie,Tt.createSVGTransform=_e,Tt.getTouch=xe,Tt.getTouchIdentifier=Ee,Tt.getTranslation=we,Tt.innerHeight=Oe,Tt.innerWidth=ve,Tt.matchesSelector=He,Tt.matchesSelectorAndParentsTo=Se,Tt.offsetXYFromParent=Me,Tt.outerHeight=Ce,Tt.outerWidth=oe,Tt.removeClassName=et,Tt.removeEvent=fe,Tt.scheduleRemoveUserSelectStyles=ze;var x=ae(80217),ct=Le(ae(76172));function Le(Ge,lt){if(typeof WeakMap=="function")var it=new WeakMap,ft=new WeakMap;return(Le=function(bt,je){if(!je&&bt&&bt.__esModule)return bt;var ht,Ne,We={__proto__:null,default:bt};if(bt===null||typeof bt!="object"&&typeof bt!="function")return We;if(ht=je?ft:it){if(ht.has(bt))return ht.get(bt);ht.set(bt,We)}for(const Ut in bt)Ut!=="default"&&{}.hasOwnProperty.call(bt,Ut)&&((Ne=(ht=Object.defineProperty)&&Object.getOwnPropertyDescriptor(bt,Ut))&&(Ne.get||Ne.set)?ht(We,Ut,Ne):We[Ut]=bt[Ut]);return We})(Ge,lt)}let Je="";function He(Ge,lt){return Je||(Je=(0,x.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(it){return(0,x.isFunction)(Ge[it])})),(0,x.isFunction)(Ge[Je])?Ge[Je](lt):!1}function Se(Ge,lt,it){let ft=Ge;do{if(He(ft,lt))return!0;if(ft===it)return!1;ft=ft.parentNode}while(ft);return!1}function Ue(Ge,lt,it,ft){if(!Ge)return;const bt=wf({capture:!0},ft);Ge.addEventListener?Ge.addEventListener(lt,it,bt):Ge.attachEvent?Ge.attachEvent("on"+lt,it):Ge["on"+lt]=it}function fe(Ge,lt,it,ft){if(!Ge)return;const bt=wf({capture:!0},ft);Ge.removeEventListener?Ge.removeEventListener(lt,it,bt):Ge.detachEvent?Ge.detachEvent("on"+lt,it):Ge["on"+lt]=null}function Ce(Ge){let lt=Ge.clientHeight;const it=Ge.ownerDocument.defaultView.getComputedStyle(Ge);return lt+=(0,x.int)(it.borderTopWidth),lt+=(0,x.int)(it.borderBottomWidth),lt}function oe(Ge){let lt=Ge.clientWidth;const it=Ge.ownerDocument.defaultView.getComputedStyle(Ge);return lt+=(0,x.int)(it.borderLeftWidth),lt+=(0,x.int)(it.borderRightWidth),lt}function Oe(Ge){let lt=Ge.clientHeight;const it=Ge.ownerDocument.defaultView.getComputedStyle(Ge);return lt-=(0,x.int)(it.paddingTop),lt-=(0,x.int)(it.paddingBottom),lt}function ve(Ge){let lt=Ge.clientWidth;const it=Ge.ownerDocument.defaultView.getComputedStyle(Ge);return lt-=(0,x.int)(it.paddingLeft),lt-=(0,x.int)(it.paddingRight),lt}function Me(Ge,lt,it){const bt=lt===lt.ownerDocument.body?{left:0,top:0}:lt.getBoundingClientRect(),je=(Ge.clientX+lt.scrollLeft-bt.left)/it,ht=(Ge.clientY+lt.scrollTop-bt.top)/it;return{x:je,y:ht}}function Ie(Ge,lt){const it=we(Ge,lt,"px");return{[(0,ct.browserPrefixToKey)("transform",ct.default)]:it}}function _e(Ge,lt){return we(Ge,lt,"")}function we(Ge,lt,it){let{x:ft,y:bt}=Ge,je=`translate(${ft}${it},${bt}${it})`;if(lt){const ht=`${typeof lt.x=="string"?lt.x:lt.x+it}`,Ne=`${typeof lt.y=="string"?lt.y:lt.y+it}`;je=`translate(${ht}, ${Ne})`+je}return je}function xe(Ge,lt){return Ge.targetTouches&&(0,x.findInArray)(Ge.targetTouches,it=>lt===it.identifier)||Ge.changedTouches&&(0,x.findInArray)(Ge.changedTouches,it=>lt===it.identifier)}function Ee(Ge){if(Ge.targetTouches&&Ge.targetTouches[0])return Ge.targetTouches[0].identifier;if(Ge.changedTouches&&Ge.changedTouches[0])return Ge.changedTouches[0].identifier}function ke(Ge){if(!Ge)return;let lt=Ge.getElementById("react-draggable-style-el");lt||(lt=Ge.createElement("style"),lt.type="text/css",lt.id="react-draggable-style-el",lt.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
`,lt.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;}
`,Ge.getElementsByTagName("head")[0].appendChild(lt)),Ge.body&&Re(Ge.body,"react-draggable-transparent-selection")}function ze(Ge){window.requestAnimationFrame?window.requestAnimationFrame(()=>{Qe(Ge)}):Qe(Ge)}function Qe(Ge){if(Ge)try{if(Ge.body&&et(Ge.body,"react-draggable-transparent-selection"),Ge.selection)Ge.selection.empty();else{const lt=(Ge.defaultView||window).getSelection();lt&&lt.type!=="Caret"&&lt.removeAllRanges()}}catch(lt){}}function Re(Ge,lt){Ge.classList?Ge.classList.add(lt):Ge.className.match(new RegExp(`(?:^|\\s)${lt}(?!\\S)`))||(Ge.className+=` ${lt}`)}function et(Ge,lt){Ge.classList?Ge.classList.remove(lt):Ge.className=Ge.className.replace(new RegExp(`(?:^|\\s)${lt}(?!\\S)`,"g"),"")}},76172:function(Vn,Tt){"use strict";Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.browserPrefixToKey=ct,Tt.browserPrefixToStyle=Le,Tt.default=void 0,Tt.getPrefix=x;const ae=["Moz","Webkit","O","ms"];function x(){var fe,Ce;let Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window=="undefined")return"";const Ue=(Ce=(fe=window.document)==null?void 0:fe.documentElement)==null?void 0:Ce.style;if(!Ue||Se in Ue)return"";for(let oe=0;oe<ae.length;oe++)if(ct(Se,ae[oe])in Ue)return ae[oe];return""}function ct(Se,Ue){return Ue?`${Ue}${Je(Se)}`:Se}function Le(Se,Ue){return Ue?`-${Ue.toLowerCase()}-${Se}`:Se}function Je(Se){let Ue="",fe=!0;for(let Ce=0;Ce<Se.length;Ce++)fe?(Ue+=Se[Ce].toUpperCase(),fe=!1):Se[Ce]==="-"?fe=!0:Ue+=Se[Ce];return Ue}var He=Tt.default=x()},97510:function(Vn,Tt){"use strict";Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.default=ae;function ae(){}},22013:function(Vn,Tt,ae){"use strict";Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.canDragX=He,Tt.canDragY=Se,Tt.createCoreData=fe,Tt.createDraggableData=Ce,Tt.getBoundPosition=Le,Tt.getControlPosition=Ue,Tt.snapToGrid=Je;var x=ae(80217),ct=ae(77026);function Le(ve,Me,Ie){if(!ve.props.bounds)return[Me,Ie];let{bounds:_e}=ve.props;_e=typeof _e=="string"?_e:oe(_e);const we=Oe(ve);if(typeof _e=="string"){const{ownerDocument:xe}=we,Ee=xe.defaultView;let ke;if(_e==="parent"?ke=we.parentNode:ke=we.getRootNode().querySelector(_e),!(ke instanceof Ee.HTMLElement))throw new Error('Bounds selector "'+_e+'" could not find an element.');const ze=ke,Qe=Ee.getComputedStyle(we),Re=Ee.getComputedStyle(ze);_e={left:-we.offsetLeft+(0,x.int)(Re.paddingLeft)+(0,x.int)(Qe.marginLeft),top:-we.offsetTop+(0,x.int)(Re.paddingTop)+(0,x.int)(Qe.marginTop),right:(0,ct.innerWidth)(ze)-(0,ct.outerWidth)(we)-we.offsetLeft+(0,x.int)(Re.paddingRight)-(0,x.int)(Qe.marginRight),bottom:(0,ct.innerHeight)(ze)-(0,ct.outerHeight)(we)-we.offsetTop+(0,x.int)(Re.paddingBottom)-(0,x.int)(Qe.marginBottom)}}return(0,x.isNum)(_e.right)&&(Me=Math.min(Me,_e.right)),(0,x.isNum)(_e.bottom)&&(Ie=Math.min(Ie,_e.bottom)),(0,x.isNum)(_e.left)&&(Me=Math.max(Me,_e.left)),(0,x.isNum)(_e.top)&&(Ie=Math.max(Ie,_e.top)),[Me,Ie]}function Je(ve,Me,Ie){const _e=Math.round(Me/ve[0])*ve[0],we=Math.round(Ie/ve[1])*ve[1];return[_e,we]}function He(ve){return ve.props.axis==="both"||ve.props.axis==="x"}function Se(ve){return ve.props.axis==="both"||ve.props.axis==="y"}function Ue(ve,Me,Ie){const _e=typeof Me=="number"?(0,ct.getTouch)(ve,Me):null;if(typeof Me=="number"&&!_e)return null;const we=Oe(Ie),xe=Ie.props.offsetParent||we.offsetParent||we.ownerDocument.body;return(0,ct.offsetXYFromParent)(_e||ve,xe,Ie.props.scale)}function fe(ve,Me,Ie){const _e=!(0,x.isNum)(ve.lastX),we=Oe(ve);return _e?{node:we,deltaX:0,deltaY:0,lastX:Me,lastY:Ie,x:Me,y:Ie}:{node:we,deltaX:Me-ve.lastX,deltaY:Ie-ve.lastY,lastX:ve.lastX,lastY:ve.lastY,x:Me,y:Ie}}function Ce(ve,Me){const Ie=ve.props.scale;return{node:Me.node,x:ve.state.x+Me.deltaX/Ie,y:ve.state.y+Me.deltaY/Ie,deltaX:Me.deltaX/Ie,deltaY:Me.deltaY/Ie,lastX:ve.state.x,lastY:ve.state.y}}function oe(ve){return{left:ve.left,top:ve.top,right:ve.right,bottom:ve.bottom}}function Oe(ve){const Me=ve.findDOMNode();if(!Me)throw new Error("<DraggableCore>: Unmounted during event!");return Me}},80217:function(Vn,Tt){"use strict";Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.dontSetMe=Je,Tt.findInArray=ae,Tt.int=Le,Tt.isFunction=x,Tt.isNum=ct;function ae(He,Se){for(let Ue=0,fe=He.length;Ue<fe;Ue++)if(Se.apply(Se,[He[Ue],Ue,He]))return He[Ue]}function x(He){return typeof He=="function"||Object.prototype.toString.call(He)==="[object Function]"}function ct(He){return typeof He=="number"&&!isNaN(He)}function Le(He){return parseInt(He,10)}function Je(He,Se,Ue){if(He[Se])return new Error(`Invalid prop ${Se} passed to ${Ue} - do not set this, set it on the child.`)}},27774:function(Vn,Tt){"use strict";Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.SizeSensorId=Tt.SensorTabIndex=Tt.SensorClassName=void 0;var ae="size-sensor-id";Tt.SizeSensorId=ae;var x="size-sensor-object";Tt.SensorClassName=x;var ct="-1";Tt.SensorTabIndex=ct},79301:function(Vn,Tt){"use strict";Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.default=void 0;var ae=function(ct){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,Je=null;return function(){for(var He=this,Se=arguments.length,Ue=new Array(Se),fe=0;fe<Se;fe++)Ue[fe]=arguments[fe];clearTimeout(Je),Je=setTimeout(function(){ct.apply(He,Ue)},Le)}};Tt.default=ae},79789:function(Vn,Tt){"use strict";Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.default=void 0;var ae=1,x=function(){return"".concat(ae++)};Tt.default=x},47242:function(Vn,Tt,ae){"use strict";Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.ver=Tt.clear=Tt.bind=void 0;var x=ae(95270),ct=function(Se,Ue){var fe=(0,x.getSensor)(Se);return fe.bind(Ue),function(){fe.unbind(Ue)}};Tt.bind=ct;var Le=function(Se){var Ue=(0,x.getSensor)(Se);(0,x.removeSensor)(Ue)};Tt.clear=Le;var Je="1.0.2";Tt.ver=Je},95270:function(Vn,Tt,ae){"use strict";Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.removeSensor=Tt.getSensor=Tt.Sensors=void 0;var x=Je(ae(79789)),ct=ae(57829),Le=ae(27774);function Je(Ce){return Ce&&Ce.__esModule?Ce:{default:Ce}}var He={};Tt.Sensors=He;function Se(Ce){Ce&&He[Ce]&&delete He[Ce]}var Ue=function(oe){var Oe=oe.getAttribute(Le.SizeSensorId);if(Oe&&He[Oe])return He[Oe];var ve=(0,x.default)();oe.setAttribute(Le.SizeSensorId,ve);var Me=(0,ct.createSensor)(oe,function(){return Se(ve)});return He[ve]=Me,Me};Tt.getSensor=Ue;var fe=function(oe){var Oe=oe.element.getAttribute(Le.SizeSensorId);oe.destroy(),Se(Oe)};Tt.removeSensor=fe},57829:function(Vn,Tt,ae){"use strict";Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.createSensor=void 0;var x=ae(20953),ct=ae(55202),Le=typeof ResizeObserver!="undefined"?ct.createSensor:x.createSensor;Tt.createSensor=Le},20953:function(Vn,Tt,ae){"use strict";Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.createSensor=void 0;var x=Le(ae(79301)),ct=ae(27774);function Le(He){return He&&He.__esModule?He:{default:He}}var Je=function(Se,Ue){var fe=void 0,Ce=[],oe=function(){getComputedStyle(Se).position==="static"&&(Se.style.position="relative");var we=document.createElement("object");return we.onload=function(){we.contentDocument.defaultView.addEventListener("resize",Oe),Oe()},we.style.display="block",we.style.position="absolute",we.style.top="0",we.style.left="0",we.style.height="100%",we.style.width="100%",we.style.overflow="hidden",we.style.pointerEvents="none",we.style.zIndex="-1",we.style.opacity="0",we.setAttribute("class",ct.SensorClassName),we.setAttribute("tabindex",ct.SensorTabIndex),we.type="text/html",Se.appendChild(we),we.data="about:blank",we},Oe=(0,x.default)(function(){Ce.forEach(function(_e){_e(Se)})}),ve=function(we){fe||(fe=oe()),Ce.indexOf(we)===-1&&Ce.push(we)},Me=function(){fe&&fe.parentNode&&(fe.contentDocument&&fe.contentDocument.defaultView.removeEventListener("resize",Oe),fe.parentNode.removeChild(fe),Se.removeAttribute(ct.SizeSensorId),fe=void 0,Ce=[],Ue&&Ue())},Ie=function(we){var xe=Ce.indexOf(we);xe!==-1&&Ce.splice(xe,1),Ce.length===0&&fe&&Me()};return{element:Se,bind:ve,destroy:Me,unbind:Ie}};Tt.createSensor=Je},55202:function(Vn,Tt,ae){"use strict";Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.createSensor=void 0;var x=ae(27774),ct=Le(ae(79301));function Le(He){return He&&He.__esModule?He:{default:He}}var Je=function(Se,Ue){var fe=void 0,Ce=[],oe=(0,ct.default)(function(){Ce.forEach(function(_e){_e(Se)})}),Oe=function(){var we=new ResizeObserver(oe);return we.observe(Se),oe(),we},ve=function(we){fe||(fe=Oe()),Ce.indexOf(we)===-1&&Ce.push(we)},Me=function(){fe.disconnect(),Ce=[],fe=void 0,Se.removeAttribute(x.SizeSensorId),Ue&&Ue()},Ie=function(we){var xe=Ce.indexOf(we);xe!==-1&&Ce.splice(xe,1),Ce.length===0&&fe&&Me()};return{element:Se,bind:ve,destroy:Me,unbind:Ie}};Tt.createSensor=Je},93314:function(Vn){"use strict";Vn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnWHiEYOVQ6zNM6QM/AY+CImHnF9YtfwTMCgB9P+5G0SHa9xP3bk2gT9cBU3r6Hjp95nBYNcz3gDlwkRhX843vlfS59PmFHfjFzgC/2pJ1nEEnEIpIAG+834Wia2Ox7PJ8wt0twLz7J8Gsl3zf316zCVYPsz5oe85F1yUcu0YwcQPBjlElZyjL8wsrQeyBn+XxK8DETqefgyACFCPe6kjxfDPfT6C7BpilBLMG+L6/A34h+P1VikCZ60nuTYpzN4AxqznjCqPOMZ1RSp9f2OVLYZH1lbOrNvjVlswIGEAKYOyrj1K82NL3E+huAWbEMnbFSn1+Qzd4AcE3fajPZV6X04D3lnHGM4xOawKFJwLLYiD5H2AoCkHwJQMLA42v090CzJjVBBN7UCh8rN3AgDrqCYq6lX3L6RQ1MGQRhwWvA7UrALbnFzCJjOhG+d2WjFCkUYKZPZpSDIv1PWDGrycY34NCahI0+yxN/Ivg3c4UlUN8VqWxok/XEfRrSdG0tm/rzcoHBv7KYc5AILqqLWDcOb/45RmGEFyhFL8/0Yga33y+Tl9uJhjxOEVIoG9rnrqVKSJSRFb0fb3tG1A81sC39TLRSu85HL57Eaii0Bm3oqEKqZXSJaUURUxTU0Tyuy0ZAc5SYCUbxE+6+x4w3+0kGNiWooqP3/Qz9xB0bUTRsLqI2eEFUlbvA9WBJxv5ltdMit9jFocpLwB1InQIkBEQTmLUHStOBoMBOr24K2+/AwwPHOKArS2iKCY9VzKIg34jyMgTv6f1wpwqL8JLHKgUTLHwjZIxZTKg0V2Bzg2tLzvYBYA75xe/25J1mkEnGAzYyXE40KQmMK23uLeLN8b1j0ME7epTxFTzRmnCy/jzXyCqIny+NVryDzFeKfd+xLcrDOMMO8MMfgx45iFrOZA7AstiTvvVoZ91usM3tClHcLpeZWDmAN8DZtlRgkY1KJr5+BC87hQQLAeebCwcZN6gXH6MgG2P+rfyDmD+WLoV8xZugkIRiNh2TTHghcfRoF4tFBZpkXgpGQ81rmdu9puLOLzwMPBYPR1Cgzw/v7CC/WpLxjrc/jtaT2LApRrhwC+DfA+Y9aeI0dKzbT3vTCChk3r7eaBABzzfTGgO79CtPUmM9b7U2jv9bf3kOyjSlihLcoSg93MdkZ2Th227j2Hoq8/inTeeNzZ+xFIOsTHAsw/pAeL5+cUvAdPuG1pVRnArQgEsGex7wGw7RxAgBTo19M4EEjqtD1wEkrPYm15oDu/QbfkPSM0hHsu8du0/gSnfLkFGVrbThjFLynULJ6FOZHUw2RNbyd/qUJLFHZV+ywr9aksWO4Ou0BK8KueRz/bVq++CUuD+RGbhB3R/0LeAOZEEnFIRvPGYb+vdGw+cvU7w3uOe1dv+mfeRk5svCMUfvz8AA3o9jgkbCJQVgPe7lGTz5MDvj4f+VXs/JH1ip1PmAkHy17u8z42bjl4lxjf9C809m0CCZo4FUVwKsDPOJLz0ZTp6Fdh6jtnWe1bvuCm/4q/tRwQ1/b03e2LIwGfw1RaCkADg425AOvPkYCHZd0cG43dbsk4zaDFgWHiHcG85wjBQoEhnMhAzf5r/Jihkf9/+fjXDtDXqGA108+Eqcy0DYAfwMU95NnEFzVgLovibwK8HCab19qze61s24Pf5K7A5KwB5vHM1CblMij9m/Q87rtc1jsek54CMPIBayGD0BgP0ImUw/gwYFiqjllhHGAcvAkuPcijU8cgv0KGgSGv8LNJqweu1MOh14A3ss+S78W+Dzuo3RsPoTy0YgIjQALFz0C36tBzg570EE3p4NnHFVn5TA0zaSPDzy57Vu2bIS6jF67BDHYBHgnVI0kow+6ZjLyZNm9RD+35jkZINfNO7ZIVhEn+e16NQ6157/OqWjJ1h9n1IXoydTi8AeGD+KzxqinCEsfkswfBJC2HQacXOG7v0B+e9CGXVUK+U5aoQdm5iE3eqh296R/XoDEBu0e3/hcz3FzF+Z292trI91Zgav7N2tKrDrrfFTdgTI4dAl61BipZDDXYINRCMvBrusNvBikAMHT8LTM3/pwElK4xMAuQV6uBuKK4yA5hEVfY8SvmmHCETGyjDtzqbQLHf0KMgaCnWEcaW/whGT1mAHHZP6oW09bueaFy3khdKcl0EO+y+v4xgphs2MWxbs+K46bLCDIoi6+9iVLKY4PbTp8UB5t8h/UB53qimz1aJA9lyLExz7H1vyMCnUa15L/x9EfhtkIk/nh74y9ShPz5JnUGA26qFZIdcTofWqR5xxd5Uip1O9wDoJNYRxs4LBB9PXYxUdaHrGSqAYuWUp9GmSQ0BlN4h8cTq8qVfOGgKStpBeAoJb4DEYPrPsU89b/5e/LvEYPubLCIQX06NEtWpfwa/yA4h0FEgqVCK71OCUeTARdLLfbpg9PAXsfGsBBtOA0uHmKpyV0PZsqFl5lo5QaXWgRqNw4pTHiEYGa2M+KX0yMROpxsA9BDrCGNvAsG4GcuQdMt45eJx+nXsk3iyNbOY9k161wOry8/GqZCr1t4GBA/O3T0Nm7gSDl/89IBRHiU0nRk3CgU3knEmT4pZN51rrjI5TN2oGmCOMP44BKx7B8jINemP8ZRCK2Y5LNXAMrMlS0hSpwKw9TRGME+XHf5ekybEfPCInU7/BDBArCOMw5cIPvt+JRJUGqHj7JRu2rsd0P+JGBuanELTTVpwwO3/cnjFxNcTwMz95hquxud5pd+skIEfR6NJA+F2y6o1S3Fj4xpj/X9lBmK7OsDuChMUKMf+v36AXC4Fc4QxYwew/X0gM8/k5VKvN0BvcF9gfc8CJuGWuh4twgoQnJSBzK+nDP+3eLTsBahJSNL8DdD29kaUAFsDSU4vpVJp3FTETqdzAbwl1hHGySSCCTPX41RimlcmzthBrTCsV1Obss5cJ2hWXQupTIoiHUW+1nRYZkcn5kRbTzlIOQq5hBmimfRu2RwoeU4gl5rAFiI3Odpmb/NRK0zXu+zgKzZtWZWK/VvTxWZzSP/EK5HoEivcxsFQWIBzk8caVxmWmMT+g6thNlfMg/p1xYfv9DXSMEcYEzYAu247wnBXQ9myE/fslixRpf6FUgw2N5bgDChmk6Lw33MMqkqlg8JeVKmn8hRjHI0QIdgbiJynGWhiZ9AZoPhgaEeK50Q4wmDCvwmzt+HwGe8EcH67V1N8MshWV4UBpnlNLQID3Lcn5nkKrZ6iUEex4azEqC08di0BW1XDgsTP+2NHsrH6F+/0m9Xetns1PN9b3IWHPi8XyetXIOPoEeg1WbhYKMGK9CCoiiSoWq0SnuvWzqhLVuyoz+wI411mmi3epZI9Lt2zgElIUht9INtpdDJPMUsSGf59NCFFxc8TknI6AoZ9LqbCmj+V4X33zMAEAOMHtaXoJ0KLVpUJjJuzD3v+vSh+xtnJ0ffxaMwY0dHuCtO8pg6BAcK3LI4axCTai/4hRsBM3kww5DGK6o5vYx32S52pw9QxbEi8k6o2DMeoj2q5VVhqNnB29JsI0TP5M6Dj5Gg7dwmkpVZOsyOMtyg4joDyBhRq3d+Osbru3S2ZSp0LCmf+9ZM5CUY3qBWx3LREUy5RpbkKQOl0FAimvrksPAME08Q6wmD74DGz/8H2A/+5NdClM8U2r4VFE7rZBcwjtXQIkHsOGLbSLP7XBJhvdxD0fJiinhs+pVk5n41IBM/UFryQSHggvpxRooovpsgdFwjoD8MQri3ZIso/XYzm9a2FwDfUAFPxX/AaRYSCeCR/KW7fvQuYJE0RQF3vSQh2UQn3bsOaYXEJSZrPADrJBfP5BceCVx+4LO0r1hGG3gC8//Np/LXrmJjxdUhbv1YE9vzU22eAmbOPBRmieNCNFzvP8/jhaxVSL3vn4M9zBJN/bgSZgJsyplZ0KQ24oSZgq8vmE4V4+9hrkNIS8O5uPhbNOz+CprWpWRhd7Ahj9svMYM871rT38pbM/q2XvelHoeU4bpxBgt+Jjr8MAqfi80NXZEW/H1UEuOMIY/zCRPyxZr9XABMSJMP5pbelahYlsjNMi1p6402Pp8lyhWEhIBpVp2hdV1yp6nwgPAhYvzQF/+zOEpfZCfXgz6LRIMrxKsq0B5YcKsL6UxRFvBygelBdLjhZGMCx/RfTKWMCUGZzbAClvJEmtiGH97oEGLdhzBHGjL4UDyvLOmBUmn9AaamAay7GimAXgdErzG1RlX36k9el+PlgsPFtK9YRxtwtNzBl7havTZoLywYhuJRbSCNgauvBlAg9TQYDjyVHOeOWbOVxoEoo0Mn2JttpNZvOcmhfn0KTXoTr8TlITSnCrRSt8TMvV7gj79KVPDskCo+1tb/rZkLScavzcTlTARBrZUu+MB1coHNHZ8rQXEzvH4T+8yWY9DzQrj6QptFDzzRlPUj37JbM5pZMeCfZK5CNgsPt3PlbEny3LwSlHWEIqWLzcTWGfbFaCKkgml0zeyNaaa3QdqcAs+msSa2k+4OCmmYm2nyWQ98W9idabo4eqSla3EopMn6m3mRgKkJ6KlM6dV5Plz418ES3CjZE7Ar9w2X5UGXbv3bmC1NBAiqBEOf34zFhKlzLq40PuxK0i8qFutBzRdd7FjDx1zSDCKELxA2tmZoyyztqqc9tUdDlDAm+2hUCdxxhHIwrwOAJy5EvIkSCsz78Nq4rnmhpfU/BANOytgEydwQmpSpjQro/b68we+JNArzej4jjKouz0q+luDwGAzWCxnI1Kr0qPfpEZTzXv6pVwUzf6+MVBTiX6vi+hxoKQfUF4AJswWZZGF+UCUN2IsYMaINnbcVd4jp0m/qePcNcvJlTldcaUm5vVN3qnKNM1zUcJm4LhTuOMP65qMWYGWtxJcU76jGT3nwUrz1j7ZnCCBilAbLS96RucIFJtv88ZpLD/HMZSEgFXmkrrqANp2yjEYsroYRar6f44I3zxh9qNwnH8FHWNxBLj2ix6F85SKltmGV9lBrAF6RConCuh8fotCn7MSC2Fob3ELkPddDBexYwrL2JSZqtFPQpdwfHUT7mf+zjTWFwxxHG8St6zPhtCw6cZXcSnqdhLzTF2FethZcMMK2UBki9DBgmbz18mYAJbMUk5shiYBsxORzT5ucZ8PHbcUaC4OpBGDe55AbiShqP9/40gHLOt058UZbxXMPJnQuUKK+DLi8DEs0R/PJBLIIVwjULHPXgnt2SsQbHq7JeIJSYFIi8mNgeeeT6cFRQAItFOsL4L5li0do9WLrLriK06FZ2e7QO5v3PwugcgDcBo9MbsPT2CnMxFcYwdiNFuMhlKjcs/J23AMMEoONHJhj5JA2T44tvS2TTo5cX4kKqY5X9YuYacq9CEhzlMngmr8uGQasFLUpDPcUV/DCiKwrcNBwrrvueBsyKFVTSvG32aQraRPRMdJKBWaa+vSrcqNAo1hEGsyD8Y/1R/LzmjFea1EBZAbtn9rIqywiYSB5Siecey3U6A5YeN23JmCCPORIcK8IWhV0ps1Wpj8hzjyPmsDPN5P+ZNCWInMOXPz9g/PtgohZfbpEZ3SE5TxSGXBUkIa61vPnCDLCzFEuGrOMY1q02Xunq2VS6p7dkrKOJ17N7UAPP1PG9moatCoOBJ9go0hEGe+P+vC4e3yw84JX2VAoLxMmFL9sApnUkD4kXAKPV6bHsuNQIGDb5p28nmCwixmZSJnA5jeCZh1x3NzfpKi7M/xlFGRmo0qoNqnfohPAG1mcH1dUCfDP+sqkwjuCreY2Mf478swiJGa6V3Az518EFVgHhXMu0DYUZ4G8Dhuqy0Sg0EfM+8myHf88DhjEzIUmzAaA9XA+ZcIqR60KRp+XgjiOM3Sdu4s0vtyAkSIrgQCmCg6QIYZ+BMuPf7Dfzs9vP2bPi34ICZTh2szJ6NM41HuyrV7f2G8tWmNZRPCSc5yuMJWCYGcjHawm+7Sv8DPPfdSBfS9C5oWveHhg+GFqNyfRBEhgIeWgY2kz7AZysRDh5KT4fP0y5vZ0lwBdzGoO9FwbOK4S6KMDpCkP1eaD6fCNghCSDNhe8zmTsVznrMD59XIGa7Wx194SUVUxzT2/JihuZmJJThWoNZ0HgNY/EH28MRUY+B7GOMFibcrJzkJuXB3Z1zXHc7U9ivNlh0mX2aXpm/7ekLA57E6R44zHm5slWAs0A0ybKpDDoaWLhHJafMK0wLIm1ujx0iYD56WgrQO3ryuplSN6xzajkqM83+RCr1aUrol95A5zUJIT971QO5n2bZPybXYRNntsYvx4guLJrL1qkbsD2moOQHP6wlUskRkt5PfiCm5AEC/exa9DmgNcVoVL2KQy59RsqhAQg6tPvwAU5U1F0zvH7AjCsC4mqnE6UGpitvsfSJ0IIHb8lmNzIlkCsIwxPJzDLf10NrDtJMNyBjzDvAkaH5SdkbgOGOf5oVAN4sKawnl+YOwspf+81EzPIh9VvgCbvfoDAKlVx9JAai+ZcNz4PVBBE9W+M07uPo9/laeBgknSeC22ObbVeQ06QCRzselivuQhZBNveCX+JGAoyEZEThyE3fkIYNa00yh69UPdF6y2wsJ6ZqO6LLZl5pUlW9wHFMkrh6mTokgdf7QzG5UwpxDrCcFmwAAImPPztIMHorva3RkbA1GEhGoRPDkfVMj/EVoARaabM2vliCxj9QQtJ1GDAtU3rcGPXDmjVWWDfWWJbtHp9BiCwRScU6KQICJRg4VEp4g8ex4tXvrFSpGT0JxXNsKraIEgVFaHLuQ5ZSE1wAeLsEioRFZ5PnAVlTok5hiQwCG1+mAupwr1V5r4CDGNkgkrzEij93Znqi5CB/XafAhduySDWEYaQsl3RFGiB6Tsce4NkgGlbx+WtqatqjM9ZlOAVJ0tWmPeWEvzYX3gYcOY9cuKzsLE1EVK5oagQJ7/4DDlXS67gZTVqI6dlXxwNaIXrJ06j75UZkFhoHbNyK7Zqh2E3usHAlCupDgFhtSAJEmdsxsqJqZSHevmJaHPoC6vm1nvpNdTu7t6R+L4DjAk06t7M+tKuDb+QkQTw00EFTl2XQawjDIHFOyVj6h+frSeY4uC2it1MRVXgIeUIpBLTWcjdxMJArDgpN2/JPlpF8PlzwoPDjl9v0vZ1N2k1apz+ehJyVaZzS3HimUMKIoWUWrusqtDqUTR46308/bUKekghU1QBkbq+PbPXPkNuEog8DAOS5+ABzVEzSWj9GDSf+JVbXbovAcNs+oODFYSjsp8oqCm2gcj06z9BOHJNbjTZ7RDt/oQQWa2ZXEw0ZWY1yYzYGdCYuj5L7AJNwgBlvHRgj3mjnfvtx0YlS/Zcp9dj6wU5nmpiysccdLMYm5UECr3HruHwQ3/P+KPLzcWZ6VOQfdG5xWbVzl0R9fJgEI7DjO0Eu85rQSTuH1lbV45HbmYSzl1OR+2im4g0ZEJpyETdAC26zpnv1tDdt4AptulPNJ1rplMKUY6uFh8PxL5LARDrCMMtLtvJJAYw3qqTlcOCw7JYLUoBwWHZWWvBIYJxz3jeAiZxv7R0AZJ3bIetdT1B7T4voebTPc0VMbe2G08Wur26sII+6JyD5x4JQU6+FkfOp+DA2es4fO4GsvO1qFk5BE3qVEaTupWNn9G1K0AmILT1fQ8YxhhKqfTi9ewBoPQjSiFAxAasOh2AbfGBRr0qMY4wPJ86phLuFmBm7ibo2oSioYAL+uPXgKvpBIMe9VavgctnE5C7fyuyz58Bc2oRVKMWaj7XBxVbWGuELjxMsOxIAYjUtaqMo9Z90CkHz7WwXkoNPMXZy2k4ePYGDvx3HVdSTHIjBqCVn7verJQJwBQzjKnzJyRlPcZJuJ6UxwsAHEoP/joXgA3nAiHWEYa3ps7dAgyTeTwSRdHcuecDYzdXHCN4oBrwaH3v9Fqr55GWmY2ICNe3XWtOEvyy17MVZmRsLnq2dH4bdv5qBt6Ytg3d29TDOAFvhjIFmNLDGp+c1UxCycs8xTu3jcrMJDvi5VhxOghiHWF4Z+rcvRXGGBy2EvCYABB8sZHggycpqoa6f+lgya/MXC20RUUIDXV9gGJueb/d5tkZ5r0OOejd2nldm/+5gkkLDuOzQe3QrY1r2+0yDZjiwbp4PUNJeelKSqlZSX3/ZRkWHVNArCMMbwFm/AaC8c9Qt65rPWkDCw7Lggw9YVLhcprWnCCoH5qKGmHUaC4tl8sgl0kgl7FPqWhdt6upuQiWc1AoXN96MSd849ez62/31YPeeSwHL7Z1DpixvxzA7hNJWP9lL1RmjgtcJL8ADOOBSkWDCqiGaQoYlYn+TZJh/hEF3HGE4YqpQp7/sC0PrzRPhYxPg9yQjmCkoTA/HUV5aZDq0wBZBQQ0my6kKFE028/BGODpOYHBYfPy8qDT6aDT6Y2flolpUxeDhznscAWkfxKzEFNDAbncteIk8xIzYinxSBj1VrtcvPSo4y0Zs0Z96qPVqFpBgcXjnhXEx/saMCZfZNmTQCjTmZCAEC0oUglPU3iOnDEYtCcb16nCrDaN6ZxKU1HK0xOEIOrMDSlmHnDPEYZLzhoKAW0aivLSQXRpCKRp4HTpKMxNAy1KN36XE+cRAHjKIb/pckhk7h967bXz70STao47wWHZ9bZebwJOMYDY38Zrb4vEtKwZeAKMq5IJSDKZFOuPpqFr8yqCNBjYDd3AXwwgnPu+2Qa3zccrjzleNY7G3cR7P+7G8+2jMWaAMH8r9zVg4pKynudA1jmawExnjKf8fwRkAwF+j46MuJSoyupEKdkdnyoh0/e65wjDUX1c3MdA3hUEEO+YL6fU+BwRNUQa07tAM7v5OpNM8LoXg8PqDXrotHrojUDSQafXgXmrKZ3i0uV4vKkwiT2TJ/WcqYWBBLp8PzkieK1NIV5r71iO8/2qE1i2O8542GeHfiHpvgbMRVX2RzzlpwnpKCGEOa76i5dynxCeTriaTvpP2RnqliMMhwC9MBaBBaeFNEcQTU7FvpDWeU0QrVCiCynA7jjHip9Cy3FFxxz/mVYi0//sPD2u5wWgXUOBSmkAXvtVj7R819s3R215ta0Orz/m2FVVnwkbkJyWa7xOZtfKQtJ9DZiEpKzXAfKbkI6W0JAiQrDyZjZ5adyWUM4dRxiO6qOqRVCkLRPXHCfUt2gjhLXw7jmGBYdl18Uf+Tg47K4LBCz0uZh6P1oJnL/p/qH/5dYGvNnBfv5rN7PRb9JGVAoLwoavrC1enQ3gfQ2YC1ey6kil3CV2lhE7S7MKuMIxf4UGuuMIw1FdhszjCLk6XmxTHNLrqRT5TVdAJnNfPaR04cbgsPsIJjzrmbqL2E4evgxsPy+uXubM7+Vfmbss9661X2lDMdhuABRgyc4LmLnmJGKbKfHlW8KNyu5rwLBBS0zSbKBuWGOyWCoj1rrnCMPRZNEX5SLk3ACmVih2PjmkV9WYiso1RHrec1I7i1HJ5Ct3Kjiso6rPXgeY9P6bPsKB2uSRWKSlZbjNy3FjhuOTD5kIzja9891OnEhMxVs9muHVbsL5e98DJu5ydkNOxh934enfhmPsUDl0ZRgCZUS0IwyHWzJmqPPfcATorrk9yKUzZld5DTKlKUCQNxLr98jlJhV/X6ZrmcBXmwnmDBReb2R0CxQWmiOaiG5uj+5dsOyPH23yMd2ybmNWg6nJfDv8cbRpLDzO6H0PGMaN2zYyi8Q6/Ru+Ogw6A8FfIh1hOBs5evE7KLJ3ih5cRxluSR5FWLNxXiuPFeRJ6D53G5KWC3y4gmDhG8IAw7Ssa9Vlpsrup8jaNXHh+A6bAnYcu4bPfjto/H3z1D4IZ5JcgalMAIb1NVGlHkwpmQ1QwRf3H6wPRU6Re44wHPHXcGMTQm7+LJD9rsnU+soIaO2ux1z75Yu163fdStcUuYXA6wsIVg4VBpjMLDUeaOrgAOK6OjNFcvwhVCiluzbh90PYdvQqqlcMxuovSjSkhRRbZgDDOnsxOaczpYaFlEKQp4Sxm0KQlidxyxGGI+Zqs+IRfuUDIbwXTJMWsxghIc79CAsu7C6Ndg0lAAAdVklEQVStMEws88Jsgg3DhQEmSXUdLdt55hLJuIKs/g2x7UvcdrJtWPcxq40q/h2bKfGViAM/K69MAYZ16NKlzHCDlHwBwr0FUKdr7efbQpCs8a4jjMKCfITHDQRH3d97l578qmqTUblWczGYcErLzjDT+/hej63HLA5r32YOCl135dyFeHTuahtsynVOa4qvPv8II4aVyLJOXUzFsG9NW+bXuz+EISK9lJc5wBSz69KNzEheLxlFQVnEIrvmUlN3B+NiuncdYWi1OsjjP0KQznvxIDVVh0Bem1kreCcZg8N2pwhzX4juVkN6zebwx+u8oHr/OXoCPXrZBpsSW/GAvj3wy6yvzdl+WnsKi3aYnKFPHtIBnZu79qBpWWeZBUxxJ69coYE6ae4zlOqfIyBPM59uxc++36/AuZvedYTBJNz6+OkIL3AVn1b40N8K6oawRu8Jz+CCcvImgiEdKKoLF7p7pe4B8zl8148XVO+uPQcwYNAwj+tt0iga/+4t0Z4a8MUms9HY0vE9ECnUHc7tlpR5wFhyfA+l0lqq7L4A/QlAhTmHgnA8We51Rxh5FxejcvZSjwe7uIAk/cOo0nqK18qbsYPghebUGO7Dl+n1Pzh89iwvqN71G7fhzbc/9Lh5LALCzr+PQVMkR2w0Na4u566m49J1tVElRqyDEb8CTDH3LyblPMhTw67fjwZVPXTV+44wspP2oVq6IBU3QRPiprYWwtvOE0QrhGj2PoKO0dSoR+fL9O5SDm/H8oLq/XP5Gowc7R2tic9/XIlNyU2wY5RH1gJGVvklYFjHL6k0Ty85EbhxV6KceNsRRuatS6h1fYTX5mK+IQR5TZcbDb+8kVhw2MY1KFrV8UZpwsv4ZC3BCw8LC0o7/7fF+HRCydnDWS1FOSmQh1S363aX5XtlxGTEBfbCxveAIMFCB/s1+i1gGDsGL9Cvvpgm6eVtRxgZGZmomTQYHNUKn01OKHlIcEG5AfWE+eB2WefKY0DVMCDWO0G5XNZXTMDOTu3qUzxuinDhNH0/cx6+nGYrpS+diflxLkhPgFRRGfIQ+wzq9OxA5DUei5VDgYruObw0V+vXgOn8LR3L85jibUcY6iw1KiV9CLnhpqt5Ieg5DxkOV16PRyKFyTBcFbrxDPNZJj44rKtyXT1nvsYaVqeC4k1OmfoDfpjl2ncYb9CiMOOS0edyUOVoEGM4cuvUuGkrBHdbgIVvALWs4++6arLNc78GTOx0yq6efvS2I4zs7ByEJY1HkNYUactZ4kkg9FwE9JIKMEgijH8bjN/Z36bftCQcudLaeKC6q9KEPd8dB2Tliw8OK6x0x1Q/7SWoGkrRt4XrksZN/Brzfl3skpB59S9IN13hy0KrQxZkK+ANCQ1Do7ePYO5AoIF1DFqX5Zcm8G/AfENfB8Fv3naEkZubi6CkbxCou2yc9CZARJgBwcCRVlgZV3KC0aSmAhwnQYBcYowHI5FIwIN9MjPfkt/shcUQPdq3Mxy5DLDwfQNFBod1t77ifMyxuVxCBdX7wZgJWLzUdXh3Zh7NtmSgPCQBIQgIt+8/qtmw3fj5zep4yDoGregu+TVgOk2nTNl8pbcdYeTnFyA9U2MMDhQYIIFcwoGTSGCgnHHLECTnIJVIMG2H1BjywtcCRBYc9shlgrdEBocVPbtKZVjyDwGLLyqk3mHvjsGa9ZtdV0k4FGZdBa/NM/JbUcX+wSy692z8PDoWAjwpOa3TvwEzjXajHLa0b0DxSXfvnA9cj3AJxfe7TG5bq4aKyeU5bWIqsOkswcguvu3zyuPE6IBDSL2DBr+Hrdv3uOxshVqNkZqwH7q8NCNtYKUG4CS2V2G1OozE7ClvoZOHFx3+DZjptD0F/m4RRTHpOd9OHja4c/cRdHuQGh3r+TKxScuMuXz9kmDRmM/dgKB6+wwYgv0HjrhkS6+Bb2PlbzNQpDbZILEtGdualU4VH3gaX0/92ii89HZSVpY7NQllzvOLfYG7W7d7Nqe3a/NGA1hR7WfQZhKKU0yAN62396wkhTKFyUPa1qVo6KXDvNB62YH/2x0EXzzv/cnjrA07zhPsT4SgepkeGdMnc5V++nE6Phz/PTITmEIlhSykOmQK24M/W3mmzV2Lpxp7f5z9BjCPT6P1DRwuetMRhqsBtnzOnFHEVAMeVvp24hbpmata4lHcFzH9LKZl8TJXn4Cgep98+kWcPmtSknSWVi/7BZNmrsc/G2eC1xVAqqgEeYjtVRjhpPji1wN49qE7x+uYyAi7C4E3XvA+XWFU6Vo1ABsP2MzJwvDlMnjTEYarAbZ8zrYoVUKBR+vduUF01J67YUR2OhmYs49g9suu+9uhy/OIT2DyFedpz/bVWLXtFL77/F3o8zMhCQxHQJh9nZ/RU5diYJc7p95QZgCTnKHLppTaHK3Zm3bwYhkqKIDFg72/VLsabLZFYbYhnRu6nkCuyhL7/G4AJuEWwKT9QsyUWz3WDdeSkl1268zR3ThwLgtDBzyFIo0KnDwYgRH2VfYrP/jCzKTdX3pPZ8ll60wE990Kk5yhi6OU2kSaZx5OBy2UIkDqPUcYAnloJDtwkSC7AHj6Dm4THK4wIoPDiumXI1pVJjBqBcGqYa5fEA+16IxbqaabL2cp+dJJ3MqRoGXL1si7cRKcNAiBFe2vIopqDZemn133kqsyvf38fgTMJkops4WxSUOWSFGoI9joRUcYQhl+SgUkZZK7EtBp3DpgsjhzdqHdckiXlQcMWcReTq4Bw+z5mV2/sxQcrMCVuH+NoQof7DwESf/+aTz4B1WyH8tDHl7zhDpxlwA9A4+7alXAfQcYVYb2V1C8YY8N7y6XQl1AsGoojyD3vZK6zWHm9siDmK9u13u3Mgrtb71GbZCbm+e0mbVq1cDJIyavMK99OAvrfp0IfVEOFJWj7earUKUG9mxZ45WuOzqv2Cv8vgNMcqZuCuXpWHudGb1GipvZxKuOMLwyIn5eSGSDR8AiQDtLDzZ+ALu3rTKSzPrzAMa//xK0OSlQVLHZfd8uhuDQ/p1QKDyPiFCmAaNK17KD3g/2mP/ZXxJcyeAw/xUeNT3UZPXzOe7V7tes2wx6vcFpme3btcaa5SbX2gfP56Dnk62NipiKqo7tB1at+BMPPdjE47a6kr1YVnD/rTAZ+r6U8ivscWnyVgnibnL4sT+P+l6yN/F4NMoLQLXIh2zizpRmy9PduuCP+ab3YE4h8OCjzyMzfrvDMwyjm/rVZPR8vofHHC7TgLmRpetoMFC7Ximm75TgVDJn1G96srHrw6jHnC4vQBAHqipd+zvu/2JP/Dhjsrm8zv0n4sSWHx3KYRjh0DcH44NRnt8sl2nApGTROnqD7oq9kZq1T4IjV0Q7/xc06OVE7nPg6DS2bXL+AqvW4hVEdvnEXEna2bW4uGY4pEGO99ZPPv4YZs3y3DNpmQYM42hyujaBAjbXJxvOcFhxggHGI+UD92dGeU67HDg6/SGAd36GqfHoMNTuULJaFGZexem5T4CTOL7ufCCmAf7dv0EQ11MyrWN6WmYq84C5lqEdyVF8J4hTlkQc+URZUSbMG4PowsVlSEhSO3zlBtm5+alR0UOPD+KaZ5fa0aQryM+3oi/d/ocfaYOCQudxQCeOHYUPRrxpLocZk8U0i8Wt1HSHLQ+Qy3Hj0jFjzE1Xya8Bw4IuJWfoFgJ42RWjip8TQlbVqijtbwz3dw8kfwJM23YdkaXWOOX6tMljMWzIQCuawW9/hJVrNznNt37Fr+jc8VGXI+rXgCnmjipT353w/Es80IIALDAIM56QMFBQSpmkLAUEJzmeX1qrSuBfLrnqQwJ/AkyXJ7sh+bo5ALZdLs+cPgmvDuxj9ezPFesxbETJucZexrfeeAnTv3QdQqTMAyY5TdeZEspcjdjXjfDm5Ka4REDerF1F5tos0Ev1+hNger7QGxfiLzrl3PyfpqJfb+sr4vSMTDR4qCOYy15HSVmrJs4ddx3Dp8wDRpWhvQQKYfGjvTGJCS4rK8nvPDhvt9WfADPwlUE4etx5ROpFv/6A55950mYkn+zxMv45etLpCB/esw5NGjm3Vy77gEnX+lyQIua2xFOM+hNghg8fjp17Djhl2aolc9C1i21A1x9//h3jJn3jNO+EsaPwocWFgT3isg+Y8hXGatzv51uyTz75GGvWb3E66Teu+h0dLYIlFRNfuapCs7bOgzG1a9MCW9ezKI+OU5kHTPkZxnrw72fAfP3VFPy+yK42k7mTOzf+idYt7cfB7PBkH6cmzsz/29ULhxAe5thlT5kHjOV0SUzKfp6CLwkMAnIjJjLcyo3bRZV6Kk8xxpyPIjsmqiQgYkKS5jpAzfauBFzP6Miw9Z5urdzN709bsjmzZ+K7mb84ZdWBnavR9MFGdmm+/XE+Jn7pXOy2cP536NnD8UrkX4BRaSZQSieauUnIphhl+LNWoFJpFlFKSy7yCYmLUYabRyBBpdkISp8pzkMImRitDP/c3QnvaT5/AsyyJQswYcq3Tll29O+NaBht/45HyLZs0Et9MOvbSQ7r8DfArKOUPm/BjSkxkRFWl++JKvUuSvF4CSCwO1oZ0aX4e0KSmmn2fWoBmPXRynAf2ymW9MCfALNt8zqMGD3BKWDOHt2BKKVj36+du/XD8VNnHZZRu2YNnD+xqxwwjAOJKvU1SlHiDYGgT4wywspZb8I19QUQlBhPULokJqqCecVJUKl7g8JkocS0zQiSopURUZ6uFO7m9yfA/HtoL14Z8r5TViWe2Y9qVR2HUftp7kJ84iLGjLNVqsysMKcTk2s3i67t0KXIheTsSlJK0yilJRqVFPVjoiIuW59z1Ew5q8T9EsE3McoI85km4Zq6HgjMvn4IIVRPSJVGtcMy3J30nuTzJ8AkXjiJZ3uXRD+2xzdV/BGEhzsO1JlyMxWNHnncqRDzmymfYuhg+9pS3gKMq/kqZE54pBp85sy1CjRIEmww2BfnKoKC23NEsrzk/IKc/PycRjzTzrudQoLCAi3BwH6mlH6eV5Bjjo3HEUIUitALoDBfpfDU0C+/IM+5gEAIB9ygCVGEXXeUrawpX2bcvIx2jzuPHJ167SQCA5yHZevR9w3s+9uxy9mnn+qMZQtYyFPb5Awwaek3BcUBkEg4jhQY8po2jcpyY8gtprAnuV3kTVCpPwKFOcgkIdgbrYzobJntokrTgKfUKjY4B/RvEBlRAjTT1m4Ppehk0fIxMcoI51KxO9Q3f1phaFEmHmhuNWQ2XNWknHMYpq+YePGytXhnpPkYalNGSEgwkuIOQyq11V721grjjeng0QrjqgGJKs0SSqmF/ynyfUxk+CjLfAlJWR0BYmWFKZVyHevVDPvbmk7zHUBHFv9GCPkzWhkuWOPZVVvFPPcnwFQI5lE1qrlD9jA1/bSkUy7Zl52TiwYPdkBhUZFD2u0blqBta9u6/AcwSZrzFNR8PcxR8mqDqHCm2m9O8Uma/gTUKjY4R0h0A2W4lcbfxWuaQTyhC8yAAbkQHRne2OVI3QECfwIME7pWr9sC+QUFdjkZFhqK5MR/BHH5taEfOtUa+GT0u/hk9Ds2ZfkFYG7coIo8gyabUpiDHUqItGl9ZYjV/WJikmYUBbW66A+RhgfXrEmsLJsuqXIfMlD9mZIVBoZgSXhYaTpBI+chkb8BpknLJ6BKvmGXa1WrVMbFs/sFcXT7rv3o8/Iwh7SO1GT8AjCJydmPUp4/ZMGdwmhleCghRG+11VKpp4HiI4vfNDGRETbG4JRSaaJKk8Ni9ZhBw3HtomuHHRY0Wl4kEgsYL1bt9aJcWVyyCnv1HYBz5+x78K9Zswb27NwqqF16gwGxnZ9Eerr9y01mffnv4QNQKIIElceIfKl0y+q7Y2eY+CTNOwS05NqDkKMxyvDWpTmRqNIsppRanEXIhRgHW60ElYb5I21VXAYFGd4wMtxzTwqCh8dE6G+AGfzW2zhwwPLdV8KwunXqYOtm4VpKX0+bjt//cKxs+cu8n9Gh/WOCR6TMACZRlT2PUr7E0Jtw82KUYUNLcyL+mno3ISi5hiFkV4wy/Al7HEtQZc8F5d8q2ZZx86OVYebvgrnsIaG/Aeaj/43Fhr/smxs3bBiDDWtXCubohbg49OzVzyH9kMGv46MPzXc7LsstO4BJ0hyloC3Nkxt4JzoyYnZpDiRcU8eBwOxTlFK6uGFUhVfscSoxSf02BcwrCgE5Fh0Zbl5xXHLXSwRiAXM/ayuztn88/mv8PM/qrsbMyRbNH8KeLVYSAJdcZnKd/87H26Vr3uxB7NtmrR1d5s8w7LxxUZWdQ0Etzhvk0eja4TaSq4Qko4cFs5iYI9y0Bsqw/9kFTLKmLeWp+cxCQAobKMNszkUuR8xDAn8DzLTv5mDy1B/tcq1d25bYus4+mByxedacBRg7cardxxzH4VrcYSt1/zIPmMuqzKZ6ylnatRpCpPlhNWvWtLr5unmTBmdrNbmWnCOUjIqOCv/eHjdv3LihyNUrspmzjOLnUsI3q6esaL498xALgrL7G2B+W7gcI8fYVw5/PPYxrFvO3DcIT2npGWj4cGfo9Vb3P+YCmMSfSf6LU5kHTPy17FcJ4f8o2Y6R89GR4Taepy+pNNEGShOsAYN+0VERDi2WEpM05yioWf5CKfdaw6gws3xG+LC5T+lvgNmwaQcGDravgNm9a2csX2hfpcUZh/u/+i42b9ttl2T40Ffx1eclm4wyD5jEJM131FoqvyRaGW7tuMqo7pIVSynZa8k1Cr5jw8iKVlJ+y+elb9UIyPfRpbQH3IeCsJz+BphDR46jW0+7x0qj4RczABObNm7ZhZdef89uNmaMxozS/GaFSVSp91KKWAtufBQTGTG9NHcuXtf05w3WUn4CNIiOjHAYhTQhST0agFmHjBDsi1ZGlOiYiR05N+j9DTDxiZfRqoOVzZ+Za/369MD8WfbPI85Yq9Pp0fDhTmDumEondo5hZssRtzWgy/QKw1T5L6o0WZbq+pTiiYZRETYWQolJ2R9Q8DMsGRakDFcoCbGvhwEg/pq6CyEwO7MigKaBMrwCU/l3Y+67lcXfAMNC9tVp1M4ur159uQ9mznBsLemMwWMnTMOsueaduxXp0j9m4ZluJpvCMg2YxCR1fQqY9cDYRA4MC6usDCc2r5KEJDVbKdiKUZzUMZERFZwxWaXSVCwE0i1tbFytSm6hwkkmR4Cxp9rPirnfr5WZM75KymYwGGw99Qr1XmmPnefjEtG2k6UxbgmV5TmmbAMmWd2H8jBLsgjBtWhlhN1wuglJmiWAlTbz+Rg7lwOlmZ2oUl+lFGaLS8Khb3TtCLNFprcBUro8fwMM6z/zYpmaZutc/L23X8eUCZaaTeK437l7Pxw/aWu+3Oyhxvh7h2lIyzZgktRTKGCOY0kI1kUrI+xaICUkqZl715LzB8WumKgIu1J+y2FIVKnXUgqzTT8BvoyOjHBsbCFuDF1SiwWMywLvIoEQXTLWvB49+yAhwcpsydjqYUOHYNT79g/vQrq1bPkqTPj8CxtSdo759/DfCA1lLrcdp/te0p+g0myCRWhx5jGmYVQFu5f4CSpNHCg1S/kJIYuileGDXDE6/lrWBOY5xkxHyOYYZbjZq4yr/J4+90fAvPbGWzh8xFaNf8S772D4OzYaT4JZnJubi/Ydu9gNqTF39kx0irX1qGlZuM8Bc+PGZa86k8jVVzwGwOwRQQLD4CCpxq5LkFxDxXOgCC5mAOEwO5jLdHnlUqAP72KA5FcLxqWHSDPNajiCR8tNwlx9xav2sjo6w9ymTeCobjTR3bpjQlaDvLbddjnrptAV5oPRH2PTZlsPmLVrVv1q7+bf57rJSmO2Zu36TM3LLzArmAVWqo+qD/dD96c6Y1T3CiASx/F1JNpku9t9T9rjLO8d01a+Uw0uL/fucCCoSqPvCYGN9JJS8n5B2nn7ejMCmxpUpUl7TsL9HRHdBVWbD0CYspXRNZA+Lz394IQq91SI4HLACBxUfydTVGs8FpROseUDHZafGufRCtNxOh1nyM+YKFVUMqs86fLSaW7y0U1n5j/teahlLw5eOWC8yMyyXJSiWqMhoLBRGiOUvpaXFueRalLsdPongAGMfwUZl6G4sARtcw4e/XrXNhv7qbvN43sCMGcSUyy1Asw8aRpdw+gcw9FzMcwrLktMnnLaEg4oqjV8DpSzsRSjPAYUpF9Y5gmvOs2gbXke069tm8A9l7enaYNQWXCAhKMNK4ZFdl6yxqHfO0/qdDfvPQEYdxtfns93HIj9xpBm0BVUpgYteH0ReL0W1FAEWXDl/w5+VvEhIS1JSbli98VYnLdGjbr7furWZVGYXDawYlAAgmTSMY8vXn1XXGk56k+ZBYw3ViV7TLvXVipXk1DIRHZGwyYxex47nf4LwJ6xXuK+0cR5CDERjdjzWs8IXsvdvJRTGDDt7HXt9QLtmIJbF34QUcQdJS2zgLmjXPPHwmu2UCj0+SxYr1XiCN8l91a8fT19kXwqBv9Xg975fuHZaw9reZN6YLWqlfYe2rGoRO4motxiwIvI4pS0HDDe4qSflDPrqS5aA6UyAtAR23dz3u52gyffH3vj9HYWrcE0Nyl0lCOjC255dnXtrXaWA8ZbnPSTcna/3PsyBa0LILPLkjWVvN3tyk2emp+fljTEVC5N43j0zU2Ps/KM6u06xZRXDhgx3Cqnxe6Xe12gYKFJSF6XJaudK3qJ5xdRVG3ETNvZJcI5nqPPFt6ME629IL5a4TnKNGAopfLkbIRIDAgBj2BQnUJPiUIqQRD7JNSgAIgCBIGUkkCOIIAHH0gIFwBKAkH5QEogJwRyUCKn4OWEcDJCIQeBnFLIACoFAfOgLQX7TnH7O5UCHAdQCQjhQKkEIKbvAGf8m4DAFAqEEGIcCnLbbMH4m3FDAtDbtj70dtADCmb7w/6B8gB4gBiMfxNiAGW/se8sogLRg0IPYvyvA2D6DqIn7DuFlhJoKeV1BJwWhGophZZQaEG4QhBaSClfxIEr/HbR1mZrli2unp/8X6tcHW92bhJdv/6cLRvW/AIiyweHPIMEubXDkEsI0QqfhibK4KqNXqEA86hxOF9X1B1Zl5mDlHsq3dOASU2lIQYZKuv0usrgSCUJIRUBvgLlSQVKEMGBhPOgEaB8OEDCKBBGYAyJEUKBEAI2ocuTOxw4dfoMzp0/j/j4RJw5+x/i4uJZGBKbotq0boWFf9jGwKSAjgDMwUkuBXIIkA3QbBBOw4GoeVANoVATjmYBXJaB0syWrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},96908:function(Vn){"use strict";Vn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqpPSBgw6BASOh/xAlxgC+u6WJqh0bqdi2nrb66gI0sjQXL2W8xHpb9XUykwPITjZ43KuTpcnBw2HA4TBwFBw81Dt66+42aoq2U7FjAw0Ve8R52KxpLB6v86KWjTvuetmswAGkTUN1W7aDBsHIieiHjkVDlhpuavbkU7ThE9wtjQLMbTosyFzGc5pGoD/RyQ13ANnJBk9YdSm9YVg6+tB0NC2ZtqZ6dn/1P+rKirwqaRqrknVuSM9mZ8J0FD2CetmJ1MipO74WkPXn0VOg72CvY1ZRuJU9uRvQPW4ZLes0jdszlvG3+CoRWroDyERZPtH1Dk1HH56B5vHQWFvJzrUf42lrUaMlPJ4BMxOxtnQAmWhgJLL+3gPQR5+E1qsPDdXl5G9YjUdipIreGpzGFUOfpb4zVXQA2ZnW7op1paSiH30qWlIqdVWlFGz6Al1ipmqkXH0wnD0ym8bOUt0BZGdZuivXk9IH/ajJaK4Uasr3UJizUQX/Fb2WOZ7LtfniosefHEDG38bdo4bUvuijJqG5XFQU5VOSv22/3hr8NTObWzqjIQ4gO8PK3aWO3v3RR57gHR13blpHQ121FZTTM7N5Od5NcQAZbwt3N/mDjvDu8jQ11rHj6/XoskevqKxXMuOPfZHyeDbJAWQ8rdsdZct2zYjj0VJS2bu7gLLiXdZRMiszmx/Hs1kOIONp3e4qO60/+rBx6O5WdmzeRHOTz8lO0pg2fhkr4tU0B5Dxsmx3lytTd99B1FZVUZC31dqanMzxTNDmsz9gGcumOoCMpTV7kixXEvrwCV4HZ1vuZlqamqytu2VCNn+NR3MdQMbDqj1Epj5wBFqfgVSU7qWkWB3CENKgEhibme39jCklBpCysf/H3aohrY1w64CYNqrLCJOziRJg1hN+qqtjJklJQx88xrudmJuzBY+cVveBcmlmNr/qmODQpRIHyPuKlVYtjXBL/1i3K7HyDh4Gp94IU2+Ee0+A+pgPJJ3WPn3QEWgpvSkpKaaiosJabxsuJk7IYksslXEAGUtrmrIW5sHAkerb7UO6NSBJ6wcDhnvXkFu354HlDK8GKzOzOS+WJnQAGUtrmrIW5atXCHoCIDXwDDwSlyuJvIICGhran7OIdRjIAaQDyIgW0PsNRkvtR2l5OaXlAcuPmIaBuh4gp1wP/QYrI338ODRUBRpM0+Cc36p0OVT6nwd9PIcdAydcqr7nroL8NXDi5TBmKoyepPgL16n0dS+3dzgGjoaTjY0If7n+Wow+GdK/p1Jr9sC+Ihg1SX0X3Xob6+K3F0FLg0r/egUUbWovSRy8SdNh5PEw4jho2Ae71sOuDbDhVaWvP1nbWLIZvvo3TLwQvjtDvdQlaf+eB2Uxeuu1V2/oP4yGhnryCn3etqmWS+PmjGUsiYhsGwxdD5C/WwsjJirV7xkX3KjyPvZSY+poqoXbBvqaetzF8HPjDMAbc2HIWDjlp8FNsfldePIaH+iTU2FxIRxkyHvgu5D3afCyM5dDprF8emuBN4jM6TPDm/zZG+HTf/l4xpwG1z/nXaMFpYIv4fHpUGVEJEwmaxu/eBFyP4Br/t5exMPnwZb3bUDADouGPmiU9+3FnLxC3BZvW0rHMgzUswEpI5O8Q9LaDAVroHgzDE2H0SdB6kGqJyryYdFJ0GicbLnsfjjLOGn1yT/ghRmBPSajmgBXLg+Qwwd3j4WzboXTDV4J95jkPZxghH2e+xl89ozKEVDdlKVu8RAq/lqNikm91Eg++GiVXlsGD52tRr1ggCz+BgaPAXk/20oxBSTo/YagJfdiV8lequuMEd9SnwYxCQP1bECKwerK4ZELQUYbk2RbbNZbMOQYlbJyMSy/Wz3LdDjvG/XcWAN3Hg6t7XYp4IxZ8CNjmSCj7NJp7cEQyamRH8m8zT7H54WZ8MkTPhlyO4ZM+xcvUGkb3oDHLw8OSDP1m3fgw0ehtlSBWUb2ysL2eh3It7T+iMddVV1LUVnQMFZMwkA9H5CPXQqb3gzsChlVBBSyHm2uh7ljFHiFbn4Pjj1DPT/1U5Bp0Uq/XQ1HnKxSnrgC1r8aHSAvnAfn3aXKfPYsPHN9cKiYywIJrC+a5Ft/WqfsSDIOBITWsnJjRr/DaG1pIbewJKjUWISBejYgZTqeOzZ0l9zyPhxzusp/7BLY9JZ6FifjhhfUc85/YckPfDKsI6iMRnNGq3t+rBRphJyzBuQgrNBD34etHwTXcfLVcN3TKu/d++H136lnKyDlx3TXkcGdv1iB0ZTT7zDv0/aiMppaWoNKP9AwUM8G5Fdvwt8MjzuY+ab/Bc40dr+yfw2rDEdRRgMBlXSArAFl9KwyzgVaR7f3HoDX5gRKjgTIh6rV2lZow+uBSwJTojhX489R32QUltHYH5A7P4P7T4s19ILLk2k7JY3SqhpK99WFqvOAwkA9G5Af/R1emhW6s865HS5ZpPJXLYXsW328Fy+EH9yhvi+/B1YafH/YCoceqdLnZUBpu6NZKj0cICVgLvnRkoSCFk8OBOSXy+DJq6OV1jH+5F6Q1p/G5mZ2lAQJxxlSDyQMFHtATpgGR56iVNvyHmz7KLDxstcrXqpQUx3cdoiPJ5ZhnzUvwNPXhjb+tLth2lyV/86f4I3f+3jF8Zmfq+6SLNsB96TDUVPgNx8qHmnXg2cFlx0OkDIyPrhPrV2FJNbqe8MvtK4S3go2Zcv6Vta5nUGicp9B3vuBcooraXMHfxHxQMJAsQfkRQvg3DuVeazeq9Vgo06EOz9XKXu3wvwMX651fbXgeCgxPF5reQlgLzSCvuHikOJpSiwxFF3zBEy5TuU+exN8aqzXTP5fvgkZxvrxz2fC5CvhtJ+p3KevgzXPRw9IKWHd6w41yoYDmH8csrMAKTql9vWGqoqr6qisaw6pZUfDQLEH5Hd+Atc+qRRdmw3/vCpQaStPzn9gybk+nl+8BhMvUN+XXgCb3wksf+1T8J1rVHo4QMoux7xxwcMfElwXUJt7zg+cDnmr29clux+/MDxoGW0zzlVBc9lNmTMy9Nov0hpy1goY/31Vl3/Ix6rB8ZfACT9UKRJe+vw59ZxIQMq0nZJGbUMzBRVhL7XoUBgo9oCUoPMdxu6GBKQXTIByy4VaKWnwm4/VVpnQf5fAy7/2dcP0B+FMY90XbMo9fCLM+UJNpZEAKflfZqndGH8SZ0acGiEJSC82wjhWPokH3pvnA62ZJ/G+rJsDZZop1nWmePni7VvpuIvg56+oFNlynJ8JzX5OgswCd63zbUH+5Xuw/ePEA1KWGvIOt9vNlr21eDyhz3p2JAwUe0CKyWavhHRjfVVXoUAni38x8ik/geHGFC33yMgIZu2wcWfDr972dZ/slnz+PNTuhaNPhUvuVd6vSeFGSPGQBbjrXoH3/gxl22BIOpz0I593LXIevQi+ttRpBc/5c+ECI2hupt8rMcGvQgPSGk6SsFHO+2rPXLxyk2a8DrLeFirdrtaHEryXy0ZlmTD5Kt9uzTcrVXDfpESOkKKD7G3rOruqmqhuCv9qjcvF+RlZhDBuoAnjA0iJ1ckoaR4wCNV1794HrxsBYivPze/CsWcGLyUgWz5XAVMoHCAFiEInXhZcloBkxQKQvehQJFP6wh2+Lb78L+C+KaH5JUeWE7Ks8KdZaeqqZaFDRsCMN3z79qEk7t4IMjo21XQdQLpSvP8QoKaxlcJ9odeRorCmsSVjHBPtvhQWH0CKJtKRVz3mO4BgNXhFgQrHyC8/GMmhUNlTPvWG9rnVJarcphX2DleIByrOxxVL1Mhsxv5EqkyVWbNh4/Lw4JLc2e/4TvbI3raM2pFo6k1wxkwYPNa3z2wFpJSXeOf5v1d751bdJE/WqfJDkeWBf+A90SOkTNtJvdA9bWwpa8ET4RWNaMJA8QOk2WF9DlEHGmS6FhDszVX7rXao76EwdJy6yF2OjJXLieUIFKqzpPMlHCWjdsFadWTMDglQFhVAnwFqi/HOEYHrPTtywvFIBx96FAzPVODbk6PW3XbCQQdad0fLiz11D7urW9nXHP4eqmjCQPEHZEcb3NFysR49JMxz5SNKm9VPgZzYcQjE4ZOzKy1u8qtt3Jmv8fCEZcyOZDoHkJEsNHcjDBuvuO6bCvlG/DRSuW9Dvly74tHZUumOOG3LUWo7L4U5gAwHHHGsxMESkvOKC40DEd8GsEXRxqI6D1VNka+P1ODtzGzOD7t66XGX3sdyypaguATHhbJvg1UPR9FN3x7WxjbYsc/ezSqRwkA9b4QclqE8aiEJeH/5UseQITs5F81X/+tQSPa6g73f0zHpPaqUhMa3VrppDRMkNxscKQzU8wDZo7q6+zSmtFGntN6GcwOECwM5gOw+fd6lNW31QG6lADLytTHhwkAOILt0N3cv5XZWe6gXZNqhEGEgB5B2jOfw2LLAvmad3bX2pu1QYSAHkLZM7TDZsYD4NDn2YpJeccHCQA4g7Vja4bFtgeJ6D5WNNqdtcXD8TgM5gLRtaofRjgWa3LC9yl5M0jtK+p0GcgBpx8oOT1QWyKt209Aa2ds2hbpczM7Iwrvr4AAyKlM7zHYsEKVz0+5uIAeQdizs8Ni2gIyL8icxSbeNnZv9go0wkANI26Z2GKOxwJ56D+VRODdmGMgBZDRWdnhtW6C6WWeX/Zjk/jDQ/wHkSLPJ/mcrgQAAAABJRU5ErkJggg=="},57177:function(Vn){"use strict";Vn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANQAAAA8CAYAAAAeyZT3AAAAAXNSR0IArs4c6QAAEpJJREFUeF7tXQeYFdUV/mcbS1F6UUEsoLC7IGKNJWpERbEgSoxGo7HEQFDRWCAGgdASNBbEhglqsC1rAxVBNGg0qNgLsJRddmFhe3vby3uT7393ZmfeezOv7M57W3LP9/EtM3Pn3DPn3n/uvf85c58CKdID0gOOeUBxTJNUJD0gPQAJKNkJpAcc9EALoNRpCaqt3rh4QIkDvH/jxV/zuZZjrVy8uRzvSzDdrx3HxWnnEnz1eevhOf/79HpNdrAs6wrQr9VvtiMc+/kc0HSan9Nrq8Uzt9hquuZjv8kPev26r8x16X5VPYDHDYT7Vy/L8vo94d7P8u5mcV+w+1U34GEZ7a+5Tg/vV31tbrmu36ff23JcB9VdBo9a5v2rekq14/1wN30GNXGzctPKKgf7eExVKUGBpJsSEkgWYPMHXEuH0sHlB5iW8jrAtE6sd9AW8GidVD9mR/fvxDrAzJ3Yp/ObAGL3srC1XweJnf0awHUQWgGJ52i3P+D9OyOP/QHSAjYT8Lwd3gRGH3Bp5dza34D7LUDsD04vmPzuN9cZGkSAF3xm4JttNoFWdasNlRVNta4SV21l6YHakvyPGurrNivA12kZ2B1TdLSisvAA1QrF8hbpAUsP8EWVkAwkdgMSugHxiUB8EpDcC+g1AOjeG+BciSBWPXA3NaA8Pxel+7LRXF+bCwXpShxeTX0V33ZED0tAdcRW+X+2iaN3j35Ar/7iX/e+XnCpbg9cZfkozctBrauci/9tioIlKSpeUTLg7iguk4DqKC0h7bD2QPJBQP/hUHsNhsIVv+qBq7QI+7O2w93USGDtUoEFaavxoqJ4x7Z2FQmodnW/rDxsD3Ba2PcwqL0PhaLEobmxAXnZmaiuKPOqUBRsSlBx06gM7AlbZxQKSkBFwalSZRQ9kJAEDD4GSD7Yyz6WFu5HQV4uVI+Ho1W1ouCe1NV4OooWBFUtAdVenpf1ts0DfQ6F2mcoOMurq6nCnp2Z8DAMwNEKWJEKTG+PtZUEVNuaVd7dnh5I6gF1wFFQEpJQW+1CTtYueBgeEPLuwGRcNWQVamJpogRULL0t63LeA/GJUAeNhBKXgOpqF3Kzs6Ey3iVGqs29gQnDMlDnfMXWGiWgYuVpWU/0PBCfBHXQ0VCUeLgqK7B3b67I4BDyZloKrlTmQ6AsyiIBFWUHS/Ux8kBCMtT+w70MYGlJMfILCloqVoDH0jIwMxaWSEDFwsuyjth4IKk71D7DGKzCnj05qK0zZnoKMDUtA69F2xAJqGh7WOqPrQeYvtSjL+rr65C1JxeqMfUrTkpAyrGvoCSaBklARdO7UnfsPaAAat/DocTFo7C4FMWlIvBLUYD0tAz8KppGSUBF07tSd/t4ILE71N5DoHrcyMrJQ0NjY4sd8QompazGumgZJgEVLc9Kve3rgZ79gW49UVVdg9wDhWZbMtNSMEaZDxEFdlgkoBx2qFTXQTygxHnz/gAPdu3NR2Njk9mwmWMy8Fg0LJWAioZXpU7DA/0OB479hTguyQZ2/Sdm3lF79IWS2B2llVXILylvqVcBuLAamZbh/euotA+geg0E/ponHqSpDrizj6MP1WGU8WM671eq7fhVweTFwIQ/Cpe8PRfY8NfYuue4y4BbNbb6y1eA534Tu/rjEqEeNAAejxs7cgvg4VfGmijA8rQM3Oa0Me0HqKUHxLM01gEzD3b6udpXX+9DgNNvBs64GVh0PFDj+Isw/Oe7fAlw3t2i/NoHgPVLwr/XiZLtCShGpHr29zJ++aWVKHX5pPU1Iw5jx6RjuxOP2QLUsPaUcLJG6uII1ZUBtTAb6McAI4B7BktAtdcIRf/zM/vkg9HY3IydeQxBGbMFBVifloELnezecoRy0pu6rsU5QJ/DJKDogXYeoWiCp2c/7mWF7MJy1Nb7kBNwmkaXgJKAioYHDJ0dAFBqt55Q4ruhyFWDooqArzkcpdE7HqBOuxE4aKBokE9WALUGO9PSStxc4Px7xWFzI/DhI0YDDjoGOP5ycbxjE5CzBRh/JTDiDGD4CaL83m/E+W9e8yUM+g0HTtIC6f56/bvd8JOAURp75SoAKvYDh58gStG27tq68L3FQGOtOP/TOmD/j76aOP09YSowbBww9DigtgLY9y2w7zvguzeEvf5ifsb8bcAPbwNjLwF+Pg3oPQTgubfnAcW7ASfXUAOOBH52PTB0nKiHn6UXZwFFu4DPVwEFFssRK0BRz7gpwn/0U+7XQM6XwFfpYrsxpyUhEUjqhdqGJmQXVgRoj1NwR+pqLHOi2o4HqD99DQwdK55t7mjRKfyF++4t1xIf66uAu/oZJcwNuGYOMHgkcKoNs7TtfWDltQZoOd9eshfoqel76OdA9mfWfp6+FkjTpt/vLhA79Jw1PXibrLoZ+OwFo8yIM4EbXwT6MF5iIblfASumAuUaI6oX8e+kOz4Crn3GV8HjFwLbP3AOUJfMBybO9m7eYCnuJmDjQ4L4MIu/rR8+Bty2zvCxuezuT4AVVwHVxU70bR8dao8+XsY1c38F3Ca2j4WcpNG7NqA4MiT1AJoagNwtwIFtwJBRwPATvVF0r5TmAItPBOoqxfEVDwLnapn+n/4DeHlaYONyVCHw4hPErqoPjATOvRM4Syvr3RVWE2/jaQvhF38HfP4vcYEd7ZZ0sWsu5cBPYlTiW58j6cCjxfmqYuDRCWLU0cXcSQ9sBQaOEPvcmcVJQF08F7joz4b2sr3iRcOX2eHjxT9dVl4HfPWqta0cnRmX4r58WZ8CRbsD24Mvj8UnOE7kqN16eT/t2FdWjcrawFHfKRq9awOKzVpdAjxxCcC3vS79jwBmvCs2+6CQStbfrJxOzdsqzte5gFmHAU31vp317BnAL7VpJke55ZN8r4ciJQjyedsM4uLl6cCnzxo6uDcdp42XLRDnvlsDrLjSupPqZ7duAD5+EqgqEmBkh2fHb+uUjy+eJXliI0rK6/f6TrF5ji+TK5aK65wCzh1lbyvb48nJQM4XRpkBRwHT3gIOGS3Obfw78OYsX5+29YgvnLgklNc0YH+FNgX31ekIjd71AfXU5cCP7wQ2B9/q7NScwjTUAHNGCPBR7tgIHHu2+D8DkQxImuXezcARJ4kzz14FfPuG7/VQgLpkHnDh/eIerj3+daN1d9GnlQwM862tr7/MI1QoHW0FFNdLE+8ToQ6uFTlFtpJFe4C+Q8WVmb2NdaO/rS/cCHyxyro95m4Ve9ozNsn24MvBKeHW10nd0dTsxo5C663TnaDRuzagOJ2bM9K+SWZ+ABxzlrj+1GTgx3fF/0kS3PSy+H/mv4FlFxg6zCMYG3z28MCFdChAzd4CDDte6Hz0PGDnR9Y2nvxr4IbnxbX3HwTe+pP4v7mT8mVw/5HW5A3LthVQ4XboO94Hjj1HlF403hr8ZfsEULQ9HwJUz1gHpJwnTj89RZAtTgpHW9WD3cU1qG+y/iK+rTR61wbUD+8AT2uMn1XDTH0YOEfLPsn4I7BJI3q43zZBcdAgsUZiJyjfJzSYRxcuwt+cHag5FKAerRRrO8p3bwVOKXWNJEdSzhdHHAU5GvoDas/nwINn2nc7JwHF2NrxUwCydP2PFEQMiRzulcdjfV1Ke2iXv61b14vpt52Y169v3Ad88LCTcBJ2KvEoqmpAUbUFeypqaxON3rUB9Z9ngFdn2DfK+fcAzHWjbFoOZNxplL1sIXDBfeJ47VxgvVbuLztFh6LMSwWKdgbqDwYodkpej1RIpS85ObCTfrUaWPnr6AKKDNlVy4DxUwURE0rsABWqPZhzOEXLNfz4KSD99lA1RXbd+1NCiahrdCOrzH4jpLbQ6M4Daswk4MhTxYNu32idXcxcN7JklPpq4K6+hmOcpM23vAw8f7290yc9AEyaI65v+BuwxsRkkbiYv0PM6fWF9lGnAXd/LMoza/qRc611BwMUR6ZHKgz6mbE2uymQWTsZNaspX6iE07aOUInJwO0bgKNPM9qL8bHCXUBVoRhdmxuAibOMaawdoL54EXjht/btYR791y0E3pkfGWBClSbjH0c21IPM4no0e6yTlttCozsPqEsXCOdSzOyZ+WFJs87SWJ7CncD8VOOqeX2xYByQrzFu5vsZgF2oxaeCxaHIdDGWZCfXPgucdoO4uuoW4DNtvaKX/8M7QKq2fvr7OcDJVwNn/k5cff4GYMtLkQOKd5hz/exGuWCdI5Lsg7YCimzj5EXCmrzvBYXP4LO/zPrcCGzbASrYS4j6rvuHCBxT7MiLUKAJdZ3Teag44GpCWZ39j3a0lkZ3HlCnXAdcv1I81tcZwD+vCXxEc5nMD4FlE40yv38TGHuxOF5+MbBtQ+D91z8HnKKxTcEAxSyDeaMFfewvDA4TlHrO3UNnAdmbfUsx++D3GoPH0S51oghIskPNHma/9gm1hjIvvv0pc7MF4yaLNQuF9Dzf8JRYAop0NmcdlGeuBL5fE+hL/qbT0gJjOmgHKLbHn48CXD5f0Ap9bA/67eDB4njp6SKbxWnRfjmzqr4ZuZVBszJaRaM7DygGTe/TsgsYUF0wBigx/SACpxB3fyJSbSj/Xga8pn2vw+OpjwDnaOseqynbYWOB2V+KqRglGKB4neksVlQvyQiSEhQGVJdoNLi5ARkPWpRtgE6/xnhP+h32TW1eZ5FlJNtoluMuBW59XZxhytL8NKCh2rcMR+H7vzFSmB7+BcBMAkosAWWegvPlyJekv5hBx2t2gOK1/64EXro1UMeEu4ApfxPnmYa0VJti2nu59Vfi4r27y24vaYYnyLdqraHRnQcUH/P29cAobX1RXSpAw8U7O8mp1wGHalM8bu7OEcTc4UZPAG57z3AWsxW+eEnM148+XUw/yL7pEgxQZOgIvG9eF8HC4l3A4FHAib802D3qefJS4CdTneamumgOcLFfOs0ixoR+sG9QMx1P2j3zA5EzSFZQF3MnZMYA10cMPvOzbU4zT77GyJbwZ8daCyjq58sjHPlhrfDJb1aKNqMU7gBemgZk/VdkeHCtfPliY82s6w0GKJYhkULSgdN5Zq4wTKGzrbzOGQtnLtES9gmPB/uqPKhsCL6hbFwcLkpNh03nCDQwOoBirIajlJ4gaueY95cCb2kBTnMZc0zD/16CZO0cY14fDFAEEmX8FdYWsJOvWwAwF89OOCVcmGWkCIXz9uR0lNNSf5mRLH6rlsIg6LQ1Rt6iXf1ct3B0qncZJVoLqEg6qM5sWrUlM0hIruiM386PBdj09aUdoLZtFOSGTq8HtK1bZKywX0RVvL/cBlejir2u4D9+qCjYnjoaY8Pd1CU6gKIz2BGvecpIIDU7qDRX0Nl881oJf7WOMYnTb/K9Wpkv7vtxXXjJsWTASB6Q8uVbVo/9UCunWqRlv18buunIcumZ5czt46gZSs64BTh7OjBwpJFnZwYU7+cCmTlyzB0028ZrXKcR6Jxe+mdgxxJQtOWIU4CrHzdYPP3Z2Y7fvi5GV+b7MXmWYgcopi0xiM2g+aARvh7kfhP0LUf0GAk5vu2l7qDTPpoSCY0ePUDpTunRVwzrnO6xE/NNFm5KCXcBHTJaLFT5yQWdHkrsOhs7L6co+ucCTKMJR9jRF+cCjMUwK2HW0MD1Tjh6gpVh+hPz2Q5NE+ApyBTrznDo9LbWHe79tHFIigACaXJOH/VUrXB1mMuxTbne1j+nqSltjZY235NX5UFFiGlfJDR69AHV5keOUEEkb+9wVHMac/UTouTm5wBmjEvpMh6oblKRUxnGb14reHzMaoSMNEtAheoac74HDkkRpZae4ZslHepeeb3De4DL6O1load9/JQ1nE1dJKCCNTmTPUmQUPi90kItobXDdxNpYCQe2F/tQXl96J+PUoD30jJwUdDZe7vsehTJ00Za1skpH4O6DO5SMu4CNj0eqTWyfCfwQF0zkFUR3qf3oWj0rjdCHZJqxE0YczF/PRpJ4zJyf+l8b3ayV5jrZ7W/RSQ6ZdkO6QGyfTvL3Giyye0zGx2KRu96gOqQTSaN6ugeKKpTUVQTBjkRgkaXgOroLS3ti4kH+L3hjjICKvS22cFodAmomDSXrKQzeGBPpQc1Nl/yBthvQ6NLQHWGlpY2xsQDFQ0q8qrCm/bZ0egSUDFpKllJZ/AAOYnM8GJS3sexotEloDpDS0sbY+aBAzUelNWFjknpBvnT6BJQMWsqWVFn8EC9G9hdHl5MyjtK+WWjS0B1hlaWNsbUA9mVbtQ2hWb7TKPU7anp8Eb9JaBi2lSyss7ggQjJCZ+90SWgOkMLSxtj5gGOS/zHmJQ7jMyJFsM0Gl0CKmZNJSvqTB4oqPGgJAJyQqfRJaA6UytLW2PmgcoGFfvCj0m10Oj/A9jGm+feuyEMAAAAAElFTkSuQmCC"},81378:function(Vn){"use strict";Vn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAAA8CAYAAADGxTD9AAAAAXNSR0IArs4c6QAAFoFJREFUeF7tXQl4k1W6fv8sTbqvlJa2tJSy74ugsiMqq4AKIlDUueNwR2dGHR0XdLwixW3uuF6Xq3O9o15nxuUiIIsCsijK1pa20NJ937eke5tmmec7f/40TfInaUNK6+R7nj5Jk7Of93z/t55w8JBnBYbwCnBDeOyeoXtWAB4Ae0AwpFeA+1SWbbA1A07KQSID6JWT0ivAyThIpBwgBSQy4+fCq0T4jANnrEdlWFkpjK/0ndAetd/znpMaTO0LZcz74tsxti0xjqVXfeNYZcZyxvHSuK3GbDYX03iMbbLy5nOz+pzGbGDrwpfj52DQG2DQAwad8Gcwvudf9ToDQN/pDdBrDYBFWfqMry/UAytP9fjPjJ/rYVHf2L7Qph4GaA0tOj1UnBYqvd6gMugMKr0OKoOOq+UMhhQ5DGfHPRNWMaSRaxy8bQBzPGAZAI3AFMAoAIJtnBnA2WaagdlU39iOAKKeje85FKY2TYDkwWh+APi2ebD0AJ8HMn/AzAHFA4x9Jxwss7bN5yXUpbnwB4SvY3Nu9LmwLr36NIKWAEhA1BlMgOUBCAZYBtJe761Byx+A3vV54Av1efDrtUawm4G+N+D5MfUcHH5s7H890KnqNjRWNGkaqlXqhgp1VV1JwxkOSJUAqUB0xk4s0Q4FgIty4KEweM8Yba+ARCmBzBuQeksgVXKQKugVkAdIoRwhhU+EHJycg0GrNz01Whs6UJhegtLsCmi7tI0GYC8H7osYTPhuO2Z3D9a19gB4sO6Mm8flFSKBd4QcyuFS+MbKIfOWMM6v69KjIq8WhVlFaKpvAQeuFsCr/gh45wmsbXHzsPrcvAfAfV6yn18FjgN8YmUInKiAd4TMJObUlNQj42wWutq7SNtXA9zrIVC88nts7Bgsq+AB8GDZiUEyDrm/BAFj5PBLUAASniNnpeSgvLCSjZADl8dBev8ubD41GIbsAfBg2IVBOAaSnUNnK6GM5DlyQ5UKmSlZ6GjvJBiT5epdGRSP7MRGzbUcvgfA13L1h0DfPtFyBE9VMKuMVqNH2rl0NNapBG78vQ98b9+B2xuu1VQ8AL5WKz+E+pV6cQiaqoAyXAp9tx5pyZfQUNdoBDEKAG5VEhJzrsWUPAC+Fqs+RPsMnOgF3xg5dBod0i9eRmM9D2IAFYB03m5sKRnoqXkAPNArPsT7CxingE+UFDqdHpfSMtHYYJIecn2hnL8DG+sGcooeAA/kav9M+gpIkEMZJYdBq0PqxXS0NDcLMvEFKRTzB1Kx8wD4ZwKqgZ6G/2g5vCPlaGttR+rFZMaRiSSQvLILW58YqPF4ADxQK/1z64cDs05IlByqqiqRX5gvKHV6gLspCYknB2LKHgAPxCr/TPuQ+XAImOQFzsDh0pVLUDcJ5jWUSaGcuBMbW9099WsOYDKYU8Qbi5zqshnZ6e41uGrtSxScU3NQhErR1UBhae4hstkaBiiWzDtSykSJri4NLmYmQ6s1dfz6bmx7xD0z7Gn1mgN4bX48CyapP9eBI/NLXZ5v3JYAzHlnOGvnyMJSqNO7TG36xMjYe41KB22r+GGR+nC48aNIVrb4780o2+OYkYTOVWLRnijk/JcKee+qoVHzMqE5zXlvOGLW+0MRIsXBGUVouuweJ9bys7HwjpJBldaJk2vcH/brP9aLRb1V11aisLzAKEpwWimks3Zic4bLm2qngUED4K5GHWpOttuda+U3bSj83ya7ZeLvCcD1f+HBd3hOMVQXeQDL/DhsVI1l71MerUXOm/zjzhYRV1lfmsC+Sn28FtmviZcV6t/wUSRGbQ5g/575RRWKPuE1c3Ma8+sgXPcmf7gynqvH5d3OO7DkARIowigzwDEtPxcLryApmrK7cGqtYwB31evQ3Wx94Bz3xJcgOThwrBd0Wj1Ssi6gW8sfTA44swuJ8zje9ewWGjQAdmZ2OW+rkPIwRfeJ09UAsH+CHGuuxLNOzj9Yjfz37R8axTAp1hWPBnmsOuu02BtXCL3Ges8IhOvLRkPmI0FjSie+ud55u//YB4Iw+w0e/Febkh+qQe47apea9Y2VQeYrQXlNGcpqeubFQfKrJGz9wKXG7VQeNADuqNKi6FNrrmU+9rqfOlDxtf3HudMAfkuFmPV+iN0QgMyXG6BK6xE1gqYpsDI5jnX9071VKHYwrklPhWDa88NY+csvNiDj2XrRJZ/7fgRG3xfIvv8qrgAdFc4Jq4MdwHQoCcQkA6fmXIBOz8v4HNAog2zcc9gsviguoNutAKZHsdRHYnd4y76LgU+UHKr0TvxwFx+y54iIu7WX9Ww8SwGS8/mp8YkBmPNuBHv/7fwSHph6A0jBshQhVqbGIWiKAgUfqnFue42p22HzvHHzyZHs/+83VKB8r/ihoRQjkuMp6IVShvYlFGLyjlCEzVXanIZXiJS5Y4laizSij+78/2lisrRA8kAJCz53RKO2BLL+ic5tr0btaftiGZXrrNGhu6n/IoQwJt+RMrbOJTVFqG4030vJX3dj632Oxt6f790K4CWHohF5s29/xmW3DoH98Oyex9TY3wRh9mvij1f15S4cWVBiBWCBW2vb9fhqZIFpEyNv9sGSQzFsDCdWlqHqqDgIiIsv+DyKlS39/xac3lSJpd9EI+Im1+Z9+YUGZPyHbaYVMlOB0DneNtdo5J3+GL7Ih31HcraYtYPmXPSx/SdeXzeORAifETJ0dnYivTgFBoMgRpEMLF24G5tP97VNR+WHJIBL97TgtBm37i+AJV4c1hbEsywEc8XOHJRHl5Si7rTtBASZLwfi4n7xXmydT60rR8XBNkx/IQwhM3s4cMgsJVOqCDT1Z5xLZij6W7MowMxFFkcbLPZ9R7UWX8XwFoOrSd4jOUilMuRWZkHdZq78cpdliJ5xtZNFBwTAxAW+u7nMap1uOhbDTEo1p9qR8oh95Ywe9YJp68fESpT8oyc9K+x6JUas8GPtB09TIGoV/55Eg45qHTprtSj8qMmmFWLKs6GY8scwNOdqcGBSEas3KjEAN3xotGRcV9xLPjafBJnFEv4tyPTRsZtKUfu9NUBJTApf6NOrD1dAYw7gikOt0Hc7r+SHTFcys6W7AOwVLIFXoBQ16iqU1BdaTvOJ3dj2iitzt6w7IADuqNHiq2jr0357xWgow2UoP9CK8/9eDZ8YOXxjZPAZaXyNkcN7uBRHF5dh7gcRGH1vIHQaA/ZE5ovKjk4rcUYzmt9oOW7L5i0Ox28tQ/Xxdkz+YyimPhvGPvsyPA8albV8GLXaF4u+iu61nqIAPhGD8Pk+aM7R4MBk/pC4QuYA3juqAJo+yK/XvRUOkpPdBWB6qpHuo9F0I73sgsU0uTYZFOShc93gb2x5wAD89YQiDLteyUBKDgVSZGI3+bOUb0e0L6EAEx8PRfQaP6gyOnFytbhts68Apr5vOT0SYXO9Uba3BT9sqMSNn0QiblMAOuu12BNpffDIbLYqLY4dPnMSA/CKlFgET1UyRdVcdnc0b7HvB7MIQWP2jiJlk8OVqgy0a6wU4H27sW1df+d+zTjwiRXlTF60R6TFd1Rq0VbSjbYyLdpLu9FW2s2UoxG3+qK1RIumzC67GnN/AEwmqmlJw5D3ngppO+pBjgCSYet+bGfc35IW7olih4mIQK4M44EsBuC1hfHswDYkd+LECuv2zNunC0wcORXMAaxR060nzsNB6ith9mp3cWAaiVewFBQnUaEqRVVzudXgOEjWJGHrAedHLV5ywDjw/rGFWF86Gu2lWrSV8cCM3xbIjPoElB+3VjHw0gbaIsHlXPyPZvyUWCU6I0sAtxV3Y/QvApH332pRTxx56TgJZwLOBtUYyP0kKPhrE87dX92rL6k3hzvrEtiTgwBZ+HGTybsmBuCN6jHMyO8M0eElU5w9MgfwF2F5fTKBCXZodwKY3MoE4rauVmTX2vQkF4dCOfFqpOcPGIBtycArLsQieLoS3a16ZL/WaFOWkyo4hN3gjejVPMdLe7oOWa+YUlms9tkcwAR2Uuh0HXrsH1folCuZYgjWF4/m+9pRh6w/Wfe1+EAUgiYp8M0NJezJILiubQGYAmvu7hjnDHZZmeY8DQ5MtC8nmwOY5Gq6b81Z8o6UMYuIOwFM3gvv4TLGjDJqkqHVWcd8SICXdmHbU86OW6zcNQWwI/OX5aAJ6IdnFqO1yPZNR8RJJz8dhomPhfSqShz/4NQipwAcscwHSw/zNuDv76hA+X5rJwYFDJFtmQKFzA+MLQCbx1VUHmlD9bE2m3sx/qFg5tBRZ3bh0PRipzlwfwHgVgADkAdL2F1zZc1FqG/v/RQzjrmbg9e0JGy60t85UD23AniZUfsmj9P+sdZchTRWAgxxMb943jtli7Tt5HnrRsnnLWg4T/cS9KaEXwZi5EZ/pulLjB45KkHyYe7bauS8pWIXdDgTzDPrtXCM+00w62BPTD46q+2HPToCcNQqXyzay1srLM1/5rNYkRyL4GlKNKZ24pu59mMkzDnwoZnF0DQ5H5o546VhzH3ubgBLlRLI/Tk0dzQjX51pc185cCeTkLhk0AL4ttxR8BvlxdyZx5bwygu5Q8l1KRDJpxTk0pKnYU4Aoti7/EEu1/Zyba/YB3Kn2nJ5Lvh8BAtTtKRvbyxBwwUe8M5Go60rjudd2xmdODzLcbCNIwBPfT4Mk5/iXbv2QihXpsUxsaTuTAeOLrRvZTIHcOmXLcy06CyRJYgcL+4GMF1XJQ+RsvvWLjcmQ0fXadogCbh7diHxY2fHb1nOrRz4rtYxTNkp+byZhQ7OejUc4Yt9cHBKEVryeDFAUM7MvWurMuIQOEGB6hNtOH4Lr8WS6eq23HhUHm5F+tP1vcSIcb8NwqQdoaDNNHQD437Lc1BnwinZ3b7G8xS+0BvLvuNjILLfaETqY44TbB0BeOmRaEQs8WXOhs8CckUDzVdfHoWAcV6oOtYGstjYo8FuRhPGToyJ4lRKW4rQ2NUTa2I+N7o8UAq/cTuxvl/hcG4DMGUd3FHNx9ReebWRKV7ktiVtPPcdFZIf4j1vzgJ4WlIYJj0RCl0nKWRFzGIhELl0dZ383bt9MaORy3j6i8NwfHk5yFohgI3abS3U4OCMYuja7XM3ewCmw3Fn3RjQfWP15ztwZJ44Z70tLx5+cXKTLdpZAP90TxW0rc4H4ox9MAgRS33dzoFp/BTYQ0p4i6YZha1Z9qb03m5s+3V/uLDbAEw3uaxM4e2+KY/VIucNFWb+aRjGPxzCrA57YwuY2coZAFMg9205o9j9tln/2Yi0p8Q5oxiAzZUpciuTB45kZqLkR2qgvtSFZcd47isQZVc4cnHbA/DIDf6Y/7cRrDlH1hMyMZKFoOj/mnDmvt5KD3FmWk+BYtb5IXYjHzx/9pdVIB3BWRqzPYgF+5B+cP6BHq6ozuhinsKrSSRGyPwl7B7izJZU6ETynDhAL4X0hp3Ycr6v/bsNwObKy+m7K9njnUxUxIVJO039Qy2yX1c5BeDrP4xAfGIgU1b2jym06doVJi4GYOK0ltYJqlN9vA2Xkhow+9VwZtKjCKqa4+0smozeH1taJhrMQ/XtAfjmUyMx7EY+auzriYUmscnWJt1Zn8BiCLLfVCH10d5xIRMeDcaMl8L7urd9Kn/xyVpc+bPjzJM+NUpc2FsCCQeUdRRA1S3OeDjg4lQor9uIjc5rpO60Qlz39nCM+RUf6GKuTC3aH4WoFX4sFpZEgbV5fE6cmAx8OanBJJemP1uHzBfFbcCWgBJkYP8xcqzJ4uMdiAiYFBif+VIjU/JINhfk5rz31YzDr8kZxTxsZJc9NKNYNFlTDMAhsxRYfpZ/AjnjQt7UOZYd7LRn6pD1cu85DmUAc3L6SQgJ2rXNKOiwK0ZQbu9Du7Dtzb4cErdwYDLe316eAJKDyQa7L77HsxS9zg8Lv4hC7Q/tOL25EreejrULYJKdKZWGLBDkzeuLTGquxJFiSMmHJZ+1IOvlBjRl8Y9LYTz0XrAXU8KneQaEvYMjBmDzWGjhCSS2MaSg3lHJ6wskEhR+ZB2nS8qQJUUs8wVF01Ecx8Wn6pD9qu3DPeU53hJCQVXkkcx/X42uut6MTswD2hcwiZUlzxz9NkduZxq6DeJiCgeu2RsY/zTsuFotOnELgEes9MXifbzt0zLFhsBNFgaSOYmckYFJGfIf44XmbMcy2vTdYSzwh+jgtCITUClIvTmvmylrAo1Y7osFX45glhLiyidXlZuC16nPVem8ZYBk9q8nFNq0CdsCsLmVwBnuO/EPIZj+Ap+SRFkkDeesbd3CmAkMI1b4ghwfw+bxMjwRJcSeWF1u/aTggDlvDwc5X8htT0Q28eK/tzD7OMm+7ibBNl+tKUO9zn7WDQd8loRtm5wdk1sALERz0SBI9qOYh/GP8KYtSxKi0djPTxnjWsnBwXEcA5Wt5Ehq48y91UyuJgpf5I15n4xgSiEBjoiSK/dEFYgGukTe4ouFe3rAe+GBGuT/pXfyprkcbysugvqxBDB9tvRIDBMHaPxkEqv+js/oGLbAGzNfCYeuXQ9dFz9fUlDDjNkVFAdB4ZZkUbEkGi/FKUet9mNxGgK1FGhw8ck6u2lPVJZMWgRicvpQZJwJ+KfaWYZ2OeUaOq8LOosvVo7iTCgxuVuvQW53msO6UnC3PI/Eow4LuksGnvnncIz/XTDqz3bgyIJSZqqypUA5M0CxMj9urWTiABFpuhvqE/iFMpKjDGaSUZedGMnuM7jwYA3yP7CdeXzT0RgMX+xjU7myBWAy7y0+EA3/0V649Hw9Lu3qSZ2nQKA7ahLYD6pYEkXiHVtSivqztrmv5RqSKzv/AzX70/fxN4ToYFL0XdBk3rJBThvy/rnzMhT62TNyahTpMtFhsO1OF9aEfsYgHKFTfoeVDh8PbuHANJCJj4ewC0QIGOQgEMvh6i+IKw609hIpxv8+mAWp0O0+ZftanLo0hOKRyUYrBl4aG5mvKOWo6ojtRY+72x+z3+Lz8egOhrofOxhXpUd8+h+tc9oS7g9EAF0EYvwJLNJc6n/qQOW3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},16722:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});const x=Ce=>typeof Ce=="object"&&Ce!=null&&Ce.nodeType===1,ct=(Ce,oe)=>(!oe||Ce!=="hidden")&&Ce!=="visible"&&Ce!=="clip",Le=(Ce,oe)=>{if(Ce.clientHeight<Ce.scrollHeight||Ce.clientWidth<Ce.scrollWidth){const Oe=getComputedStyle(Ce,null);return ct(Oe.overflowY,oe)||ct(Oe.overflowX,oe)||(ve=>{const Me=(Ie=>{if(!Ie.ownerDocument||!Ie.ownerDocument.defaultView)return null;try{return Ie.ownerDocument.defaultView.frameElement}catch(_e){return null}})(ve);return!!Me&&(Me.clientHeight<ve.scrollHeight||Me.clientWidth<ve.scrollWidth)})(Ce)}return!1},Je=(Ce,oe,Oe,ve,Me,Ie,_e,we)=>Ie<Ce&&_e>oe||Ie>Ce&&_e<oe?0:Ie<=Ce&&we<=Oe||_e>=oe&&we>=Oe?Ie-Ce-ve:_e>oe&&we<Oe||Ie<Ce&&we>Oe?_e-oe+Me:0,He=Ce=>{const oe=Ce.parentElement;return oe==null?Ce.getRootNode().host||null:oe},Se=(Ce,oe)=>{var Oe,ve,Me,Ie;if(typeof document=="undefined")return[];const{scrollMode:_e,block:we,inline:xe,boundary:Ee,skipOverflowHiddenElements:ke}=oe,ze=typeof Ee=="function"?Ee:Kt=>Kt!==Ee;if(!x(Ce))throw new TypeError("Invalid target");const Qe=document.scrollingElement||document.documentElement,Re=[];let et=Ce;for(;x(et)&&ze(et);){if(et=He(et),et===Qe){Re.push(et);break}et!=null&&et===document.body&&Le(et)&&!Le(document.documentElement)||et!=null&&Le(et,ke)&&Re.push(et)}const Ge=(ve=(Oe=window.visualViewport)==null?void 0:Oe.width)!=null?ve:innerWidth,lt=(Ie=(Me=window.visualViewport)==null?void 0:Me.height)!=null?Ie:innerHeight,{scrollX:it,scrollY:ft}=window,{height:bt,width:je,top:ht,right:Ne,bottom:We,left:Ut}=Ce.getBoundingClientRect(),{top:ot,right:yt,bottom:Ft,left:Ze}=(Kt=>{const rt=window.getComputedStyle(Kt);return{top:parseFloat(rt.scrollMarginTop)||0,right:parseFloat(rt.scrollMarginRight)||0,bottom:parseFloat(rt.scrollMarginBottom)||0,left:parseFloat(rt.scrollMarginLeft)||0}})(Ce);let Te=we==="start"||we==="nearest"?ht-ot:we==="end"?We+Ft:ht+bt/2-ot+Ft,At=xe==="center"?Ut+je/2-Ze+yt:xe==="end"?Ne+yt:Ut-Ze;const Zt=[];for(let Kt=0;Kt<Re.length;Kt++){const rt=Re[Kt],{height:Nt,width:Qt,top:pn,right:Ot,bottom:vn,left:_t}=rt.getBoundingClientRect();if(_e==="if-needed"&&ht>=0&&Ut>=0&&We<=lt&&Ne<=Ge&&(rt===Qe&&!Le(rt)||ht>=pn&&We<=vn&&Ut>=_t&&Ne<=Ot))return Zt;const Fn=getComputedStyle(rt),on=parseInt(Fn.borderLeftWidth,10),de=parseInt(Fn.borderTopWidth,10),ge=parseInt(Fn.borderRightWidth,10),ie=parseInt(Fn.borderBottomWidth,10);let ee=0,le=0;const se="offsetWidth"in rt?rt.offsetWidth-rt.clientWidth-on-ge:0,Be="offsetHeight"in rt?rt.offsetHeight-rt.clientHeight-de-ie:0,$e="offsetWidth"in rt?rt.offsetWidth===0?0:Qt/rt.offsetWidth:0,at="offsetHeight"in rt?rt.offsetHeight===0?0:Nt/rt.offsetHeight:0;if(Qe===rt)ee=we==="start"?Te:we==="end"?Te-lt:we==="nearest"?Je(ft,ft+lt,lt,de,ie,ft+Te,ft+Te+bt,bt):Te-lt/2,le=xe==="start"?At:xe==="center"?At-Ge/2:xe==="end"?At-Ge:Je(it,it+Ge,Ge,on,ge,it+At,it+At+je,je),ee=Math.max(0,ee+ft),le=Math.max(0,le+it);else{ee=we==="start"?Te-pn-de:we==="end"?Te-vn+ie+Be:we==="nearest"?Je(pn,vn,Nt,de,ie+Be,Te,Te+bt,bt):Te-(pn+Nt/2)+Be/2,le=xe==="start"?At-_t-on:xe==="center"?At-(_t+Qt/2)+se/2:xe==="end"?At-Ot+ge+se:Je(_t,Ot,Qt,on,ge+se,At,At+je,je);const{scrollLeft:pt,scrollTop:gt}=rt;ee=at===0?0:Math.max(0,Math.min(gt+ee/at,rt.scrollHeight-Nt/at+Be)),le=$e===0?0:Math.max(0,Math.min(pt+le/$e,rt.scrollWidth-Qt/$e+se)),Te+=gt-ee,At+=pt-le}Zt.push({el:rt,top:ee,left:le})}return Zt},Ue=Ce=>Ce===!1?{block:"end",inline:"nearest"}:(oe=>oe===Object(oe)&&Object.keys(oe).length!==0)(Ce)?Ce:{block:"start",inline:"nearest"};function fe(Ce,oe){if(!Ce.isConnected||!(Me=>{let Ie=Me;for(;Ie&&Ie.parentNode;){if(Ie.parentNode===document)return!0;Ie=Ie.parentNode instanceof ShadowRoot?Ie.parentNode.host:Ie.parentNode}return!1})(Ce))return;const Oe=(Me=>{const Ie=window.getComputedStyle(Me);return{top:parseFloat(Ie.scrollMarginTop)||0,right:parseFloat(Ie.scrollMarginRight)||0,bottom:parseFloat(Ie.scrollMarginBottom)||0,left:parseFloat(Ie.scrollMarginLeft)||0}})(Ce);if((Me=>typeof Me=="object"&&typeof Me.behavior=="function")(oe))return oe.behavior(Se(Ce,oe));const ve=typeof oe=="boolean"||oe==null?void 0:oe.behavior;for(const{el:Me,top:Ie,left:_e}of Se(Ce,Ue(oe))){const we=Ie-Oe.top+Oe.bottom,xe=_e-Oe.left+Oe.right;Me.scroll({top:we,left:xe,behavior:ve})}}}}]);
}());