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/antdesign.56abd2b3.async.js

833 lines
1.5 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 Gl=Object.defineProperty,Kl=Object.defineProperties;var Xl=Object.getOwnPropertyDescriptors;var sl=Object.getOwnPropertySymbols;var _l=Object.prototype.hasOwnProperty,Yl=Object.prototype.propertyIsEnumerable;var ll=(Yr,Kt,n)=>Kt in Yr?Gl(Yr,Kt,{enumerable:!0,configurable:!0,writable:!0,value:n}):Yr[Kt]=n,j0=(Yr,Kt)=>{for(var n in Kt||(Kt={}))_l.call(Kt,n)&&ll(Yr,n,Kt[n]);if(sl)for(var n of sl(Kt))Yl.call(Kt,n)&&ll(Yr,n,Kt[n]);return Yr},N0=(Yr,Kt)=>Kl(Yr,Xl(Kt));(self.webpackChunk=self.webpackChunk||[]).push([[8891],{70557:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},27812:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={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"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},89489:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={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"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},59477:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={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"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},40001:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={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"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},81953:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},26227:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={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"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},49198:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={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"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},84105:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},41464:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},18785:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},87169:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={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"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},73331:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={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"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},15277:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={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"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},52671:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={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"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},8657:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={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"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},56082:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={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"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},61481:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},33853:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={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"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},12893:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-circle",theme:"outlined"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},15075:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={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"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},32134:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-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 8h152v152c0 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-8z"}},{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"}}]},name:"plus-circle",theme:"outlined"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},62772:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},43531:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={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"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},61485:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={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"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},38819:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},47472:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={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"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},87395:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={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"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},32050:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},Re=L,q=n(7657),ee=function(c,T){return qe.createElement(q.Z,(0,a.Z)({},c,{ref:T,icon:Re}))},_=qe.forwardRef(ee),y=_},88831:function(){"use strict"},29509:function(Yr,Kt,n){"use strict";n.d(Kt,{o2:function(){return q},yT:function(){return ee}});var a=n(94480),qe=n(34998);const L=qe.i.map(_=>`${_}-inverse`),Re=["success","processing","error","default","warning"];function q(_){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,a.Z)(L),(0,a.Z)(qe.i)).includes(_):qe.i.includes(_)}function ee(_){return Re.includes(_)}},9981:function(Yr,Kt){"use strict";const n=function(){const a=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let qe=1;qe<arguments.length;qe++){const L=qe<0||arguments.length<=qe?void 0:arguments[qe];L&&Object.keys(L).forEach(Re=>{const q=L[Re];q!==void 0&&(a[Re]=q)})}return a};Kt.Z=n},86013:function(Yr,Kt,n){"use strict";var a=n(59301),qe=n(19248);const L=Re=>{let q;return typeof Re=="object"&&(Re!=null&&Re.clearIcon)?q=Re:Re&&(q={clearIcon:a.createElement(qe.Z,null)}),q};Kt.Z=L},54500:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return a}});const a=qe=>qe?typeof qe=="function"?qe():qe:null},97224:function(Yr,Kt,n){"use strict";n.d(Kt,{F:function(){return a}});function a(L){return L!=null&&L===L.window}const qe=L=>{var Re,q;if(typeof window=="undefined")return 0;let ee=0;return a(L)?ee=L.pageYOffset:L instanceof Document?ee=L.documentElement.scrollTop:(L instanceof HTMLElement||L)&&(ee=L.scrollTop),L&&!a(L)&&typeof ee!="number"&&(ee=(q=((Re=L.ownerDocument)!==null&&Re!==void 0?Re:L).documentElement)===null||q===void 0?void 0:q.scrollTop),ee};Kt.Z=qe},52838:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return ee}});var a=n(37645);function qe(_,y,V,c){if(c===!1)return{adjustX:!1,adjustY:!1};const T=c&&typeof c=="object"?c:{},F={};switch(_){case"top":case"bottom":F.shiftX=y.arrowOffsetHorizontal*2+V,F.shiftY=!0,F.adjustY=!0;break;case"left":case"right":F.shiftY=y.arrowOffsetVertical*2+V,F.shiftX=!0,F.adjustX=!0;break}const G=Object.assign(Object.assign({},F),T);return G.shiftX||(G.adjustX=!0),G.shiftY||(G.adjustY=!0),G}const L={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},Re={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},q=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function ee(_){const{arrowWidth:y,autoAdjustOverflow:V,arrowPointAtCenter:c,offset:T,borderRadius:F,visibleFirst:G}=_,R=y/2,X={};return Object.keys(L).forEach(N=>{const A=c&&Re[N]||L[N],S=Object.assign(Object.assign({},A),{offset:[0,0],dynamicInset:!0});switch(X[N]=S,q.has(N)&&(S.autoArrow=!1),N){case"top":case"topLeft":case"topRight":S.offset[1]=-R-T;break;case"bottom":case"bottomLeft":case"bottomRight":S.offset[1]=R+T;break;case"left":case"leftTop":case"leftBottom":S.offset[0]=-R-T;break;case"right":case"rightTop":case"rightBottom":S.offset[0]=R+T;break}const E=(0,a.wZ)({contentRadius:F,limitVerticalRadius:!0});if(c)switch(N){case"topLeft":case"bottomLeft":S.offset[0]=-E.arrowOffsetHorizontal-R;break;case"topRight":case"bottomRight":S.offset[0]=E.arrowOffsetHorizontal+R;break;case"leftTop":case"rightTop":S.offset[1]=-E.arrowOffsetHorizontal*2+R;break;case"leftBottom":case"rightBottom":S.offset[1]=E.arrowOffsetHorizontal*2-R;break}S.overflow=qe(N,E,y,V),G&&(S.htmlRegion="visibleFirst")}),X}},83010:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return Re}});var a=n(16089);function qe(q,ee,_,y){const V=_-ee;return q/=y/2,q<1?V/2*q*q*q+ee:V/2*((q-=2)*q*q+2)+ee}var L=n(97224);function Re(q){let ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:_=()=>window,callback:y,duration:V=450}=ee,c=_(),T=(0,L.Z)(c),F=Date.now(),G=()=>{const X=Date.now()-F,N=qe(X>V?V:X,T,q,V);(0,L.F)(c)?c.scrollTo(window.pageXOffset,N):c instanceof Document||c.constructor.name==="HTMLDocument"?c.documentElement.scrollTop=N:c.scrollTop=N,X<V?(0,a.Z)(G):typeof y=="function"&&y()};(0,a.Z)(G)}},82855:function(Yr,Kt,n){"use strict";n.d(Kt,{F:function(){return q},Z:function(){return Re}});var a=n(92310),qe=n.n(a);const L=null;function Re(ee,_,y){return qe()({[`${ee}-status-success`]:_==="success",[`${ee}-status-warning`]:_==="warning",[`${ee}-status-error`]:_==="error",[`${ee}-status-validating`]:_==="validating",[`${ee}-has-feedback`]:y})}const q=(ee,_)=>_||ee},41780:function(Yr,Kt,n){"use strict";var a=n(94480),qe=n(16089);function L(Re){let q;const ee=y=>()=>{q=null,Re.apply(void 0,(0,a.Z)(y))},_=function(){if(q==null){for(var y=arguments.length,V=new Array(y),c=0;c<y;c++)V[c]=arguments[c];q=(0,qe.Z)(ee(V))}};return _.cancel=()=>{qe.Z.cancel(q),q=null},_}Kt.Z=L},48608:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return oe}});var a=n(59301),qe=n(92310),L=n.n(qe),Re=n(29301),q=n(41780),ee=n(48755),_=n(16931);const y=J=>{const{componentCls:te}=J;return{[te]:{position:"fixed",zIndex:J.zIndexPopup}}},V=J=>({zIndexPopup:J.zIndexBase+10});var c=(0,_.I$)("Affix",y,V);function T(J){return J!==window?J.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function F(J,te,$e){if($e!==void 0&&Math.round(te.top)>Math.round(J.top)-$e)return $e+te.top}function G(J,te,$e){if($e!==void 0&&Math.round(te.bottom)<Math.round(J.bottom)+$e){const Ne=window.innerHeight-te.bottom;return $e+Ne}}var R=function(J,te){var $e={};for(var Ne in J)Object.prototype.hasOwnProperty.call(J,Ne)&&te.indexOf(Ne)<0&&($e[Ne]=J[Ne]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Ne=Object.getOwnPropertySymbols(J);Qe<Ne.length;Qe++)te.indexOf(Ne[Qe])<0&&Object.prototype.propertyIsEnumerable.call(J,Ne[Qe])&&($e[Ne[Qe]]=J[Ne[Qe]]);return $e};const X=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function N(){return typeof window!="undefined"?window:null}const A=0,S=1;var oe=a.forwardRef((J,te)=>{var $e;const{style:Ne,offsetTop:Qe,offsetBottom:Ze,prefixCls:we,className:xe,rootClassName:Q,children:ye,target:j,onChange:I,onTestUpdatePosition:rt}=J,le=R(J,["style","offsetTop","offsetBottom","prefixCls","className","rootClassName","children","target","onChange","onTestUpdatePosition"]),{getPrefixCls:se,getTargetContainer:w}=a.useContext(ee.E_),k=se("affix",we),[z,C]=a.useState(!1),[Y,ke]=a.useState(),[pe,Ue]=a.useState(),at=a.useRef(A),ct=a.useRef(null),ce=a.useRef(null),Le=a.useRef(null),wt=a.useRef(null),Fe=a.useRef(null),De=($e=j!=null?j:w)!==null&&$e!==void 0?$e:N,P=Ze===void 0&&Qe===void 0?0:Qe,_e=()=>{if(at.current!==S||!wt.current||!Le.current||!De)return;const _t=De();if(_t){const Gt={status:A},Pt=T(Le.current);if(Pt.top===0&&Pt.left===0&&Pt.width===0&&Pt.height===0)return;const ot=T(_t),xt=F(Pt,ot,P),jt=G(Pt,ot,Ze);xt!==void 0?(Gt.affixStyle={position:"fixed",top:xt,width:Pt.width,height:Pt.height},Gt.placeholderStyle={width:Pt.width,height:Pt.height}):jt!==void 0&&(Gt.affixStyle={position:"fixed",bottom:jt,width:Pt.width,height:Pt.height},Gt.placeholderStyle={width:Pt.width,height:Pt.height}),Gt.lastAffix=!!Gt.affixStyle,z!==Gt.lastAffix&&(I==null||I(Gt.lastAffix)),at.current=Gt.status,ke(Gt.affixStyle),Ue(Gt.placeholderStyle),C(Gt.lastAffix)}},be=()=>{at.current=S,_e()},he=(0,q.Z)(()=>{be()}),de=(0,q.Z)(()=>{if(De&&Y){const _t=De();if(_t&&Le.current){const Gt=T(_t),Pt=T(Le.current),ot=F(Pt,Gt,P),xt=G(Pt,Gt,Ze);if(ot!==void 0&&Y.top===ot||xt!==void 0&&Y.bottom===xt)return}}be()}),me=()=>{const _t=De==null?void 0:De();_t&&(X.forEach(Gt=>{var Pt;ce.current&&((Pt=ct.current)===null||Pt===void 0||Pt.removeEventListener(Gt,ce.current)),_t==null||_t.addEventListener(Gt,de)}),ct.current=_t,ce.current=de)},Ie=()=>{Fe.current&&(clearTimeout(Fe.current),Fe.current=null);const _t=De==null?void 0:De();X.forEach(Gt=>{var Pt;_t==null||_t.removeEventListener(Gt,de),ce.current&&((Pt=ct.current)===null||Pt===void 0||Pt.removeEventListener(Gt,ce.current))}),he.cancel(),de.cancel()};a.useImperativeHandle(te,()=>({updatePosition:he})),a.useEffect(()=>(Fe.current=setTimeout(me),()=>Ie()),[]),a.useEffect(()=>{me()},[j,Y,z]),a.useEffect(()=>{he()},[j,Qe,Ze]);const[Se,Me,Je]=c(k),pt=L()(Q,Me,k,Je),Ot=L()({[pt]:Y});return Se(a.createElement(Re.Z,{onResize:he},a.createElement("div",Object.assign({style:Ne,className:xe,ref:Le},le),Y&&a.createElement("div",{style:pe,"aria-hidden":"true"}),a.createElement("div",{className:Ot,ref:wt,style:Y},a.createElement(Re.Z,{onResize:he},ye)))))})},1560:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return S}});var a=n(2738),qe=n(45915),L=n(82326),Re=n(59301),q=n(92310),ee=n.n(q),_=n(11592),y=n(75030),V=n(48755);const{Option:c}=L.default;function T(E){return(E==null?void 0:E.type)&&(E.type.isSelectOption||E.type.isSelectOptGroup)}const F=(E,oe)=>{var J;const{prefixCls:te,className:$e,popupClassName:Ne,dropdownClassName:Qe,children:Ze,dataSource:we}=E,xe=(0,_.Z)(Ze);let Q;xe.length===1&&Re.isValidElement(xe[0])&&!T(xe[0])&&([Q]=xe);const ye=Q?()=>Q:void 0;let j;xe.length&&T(xe[0])?j=Ze:j=we?we.map(se=>{if(Re.isValidElement(se))return se;switch(typeof se){case"string":return Re.createElement(c,{key:se,value:se},se);case"object":{const{value:w}=se;return Re.createElement(c,{key:w,value:w},se.text)}default:return}}):[];const{getPrefixCls:I}=Re.useContext(V.E_),rt=I("select",te),[le]=(0,y.Cn)("SelectLike",(J=E.dropdownStyle)===null||J===void 0?void 0:J.zIndex);return Re.createElement(L.default,Object.assign({ref:oe,suffixIcon:null},(0,a.Z)(E,["dataSource","dropdownClassName"]),{prefixCls:rt,popupClassName:Ne||Qe,dropdownStyle:Object.assign(Object.assign({},E.dropdownStyle),{zIndex:le}),className:ee()(`${rt}-auto-complete`,$e),mode:L.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:ye}),j)};var R=Re.forwardRef(F);const{Option:X}=L.default,N=(0,qe.Z)(R,"dropdownAlign",E=>(0,a.Z)(E,["visible"])),A=R;A.Option=X,A._InternalPanelDoNotUseOrYouWillBeFired=N;var S=A},91882:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return le}});var a=n(59301),qe=n(92310),L=n.n(qe),Re=n(11592),q=n(26112),ee=n(22703),_=n(48755),y=n(84105),V=n(19563);const c=se=>{let{children:w}=se;const{getPrefixCls:k}=a.useContext(_.E_),z=k("breadcrumb");return a.createElement("li",{className:`${z}-separator`,"aria-hidden":"true"},w===""?w:w||"/")};c.__ANT_BREADCRUMB_SEPARATOR=!0;var T=c,F=function(se,w){var k={};for(var z in se)Object.prototype.hasOwnProperty.call(se,z)&&w.indexOf(z)<0&&(k[z]=se[z]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,z=Object.getOwnPropertySymbols(se);C<z.length;C++)w.indexOf(z[C])<0&&Object.prototype.propertyIsEnumerable.call(se,z[C])&&(k[z[C]]=se[z[C]]);return k};function G(se,w){if(se.title===void 0||se.title===null)return null;const k=Object.keys(w).join("|");return typeof se.title=="object"?se.title:String(se.title).replace(new RegExp(`:(${k})`,"g"),(z,C)=>w[C]||z)}function R(se,w,k,z){if(k==null)return null;const{className:C,onClick:Y}=w,ke=F(w,["className","onClick"]),pe=Object.assign(Object.assign({},(0,q.Z)(ke,{data:!0,aria:!0})),{onClick:Y});return z!==void 0?a.createElement("a",Object.assign({},pe,{className:L()(`${se}-link`,C),href:z}),k):a.createElement("span",Object.assign({},pe,{className:L()(`${se}-link`,C)}),k)}function X(se,w){return(z,C,Y,ke,pe)=>{if(w)return w(z,C,Y,ke);const Ue=G(z,C);return R(se,z,Ue,pe)}}var N=function(se,w){var k={};for(var z in se)Object.prototype.hasOwnProperty.call(se,z)&&w.indexOf(z)<0&&(k[z]=se[z]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,z=Object.getOwnPropertySymbols(se);C<z.length;C++)w.indexOf(z[C])<0&&Object.prototype.propertyIsEnumerable.call(se,z[C])&&(k[z[C]]=se[z[C]]);return k};const A=se=>{const{prefixCls:w,separator:k="/",children:z,menu:C,overlay:Y,dropdownProps:ke,href:pe}=se,at=(ct=>{if(C||Y){const ce=Object.assign({},ke);if(C){const Le=C||{},{items:wt}=Le,Fe=N(Le,["items"]);ce.menu=Object.assign(Object.assign({},Fe),{items:wt==null?void 0:wt.map((De,P)=>{var{key:_e,title:be,label:he,path:de}=De,me=N(De,["key","title","label","path"]);let Ie=he!=null?he:be;return de&&(Ie=a.createElement("a",{href:`${pe}${de}`},Ie)),Object.assign(Object.assign({},me),{key:_e!=null?_e:P,label:Ie})})})}else Y&&(ce.overlay=Y);return a.createElement(V.Z,Object.assign({placement:"bottom"},ce),a.createElement("span",{className:`${w}-overlay-link`},ct,a.createElement(y.Z,null)))}return ct})(z);return at!=null?a.createElement(a.Fragment,null,a.createElement("li",null,at),k&&a.createElement(T,null,k)):null},S=se=>{const{prefixCls:w,children:k,href:z}=se,C=N(se,["prefixCls","children","href"]),{getPrefixCls:Y}=a.useContext(_.E_),ke=Y("breadcrumb",w);return a.createElement(A,Object.assign({},C,{prefixCls:ke}),R(ke,C,k,z))};S.__ANT_BREADCRUMB_ITEM=!0;var E=S,oe=n(36237),J=n(63356),te=n(16931),$e=n(51636);const Ne=se=>{const{componentCls:w,iconCls:k,calc:z}=se;return{[w]:Object.assign(Object.assign({},(0,J.Wf)(se)),{color:se.itemColor,fontSize:se.fontSize,[k]:{fontSize:se.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:se.linkColor,transition:`color ${se.motionDurationMid}`,padding:`0 ${(0,oe.unit)(se.paddingXXS)}`,borderRadius:se.borderRadiusSM,height:se.fontHeight,display:"inline-block",marginInline:z(se.marginXXS).mul(-1).equal(),"&:hover":{color:se.linkHoverColor,backgroundColor:se.colorBgTextHover}},(0,J.Qy)(se)),"li:last-child":{color:se.lastItemColor},[`${w}-separator`]:{marginInline:se.separatorMargin,color:se.separatorColor},[`${w}-link`]:{[`
> ${k} + span,
> ${k} + a
`]:{marginInlineStart:se.marginXXS}},[`${w}-overlay-link`]:{borderRadius:se.borderRadiusSM,height:se.fontHeight,display:"inline-block",padding:`0 ${(0,oe.unit)(se.paddingXXS)}`,marginInline:z(se.marginXXS).mul(-1).equal(),[`> ${k}`]:{marginInlineStart:se.marginXXS,fontSize:se.fontSizeIcon},"&:hover":{color:se.linkHoverColor,backgroundColor:se.colorBgTextHover,a:{color:se.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${se.componentCls}-rtl`]:{direction:"rtl"}})}},Qe=se=>({itemColor:se.colorTextDescription,lastItemColor:se.colorText,iconFontSize:se.fontSize,linkColor:se.colorTextDescription,linkHoverColor:se.colorText,separatorColor:se.colorTextDescription,separatorMargin:se.marginXS});var Ze=(0,te.I$)("Breadcrumb",se=>{const w=(0,$e.mergeToken)(se,{});return Ne(w)},Qe),we=function(se,w){var k={};for(var z in se)Object.prototype.hasOwnProperty.call(se,z)&&w.indexOf(z)<0&&(k[z]=se[z]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,z=Object.getOwnPropertySymbols(se);C<z.length;C++)w.indexOf(z[C])<0&&Object.prototype.propertyIsEnumerable.call(se,z[C])&&(k[z[C]]=se[z[C]]);return k};function xe(se){const{breadcrumbName:w,children:k}=se,z=we(se,["breadcrumbName","children"]),C=Object.assign({title:w},z);return k&&(C.menu={items:k.map(Y=>{var{breadcrumbName:ke}=Y,pe=we(Y,["breadcrumbName"]);return Object.assign(Object.assign({},pe),{title:ke})})}),C}function Q(se,w){return(0,a.useMemo)(()=>se||(w?w.map(xe):null),[se,w])}var ye=function(se,w){var k={};for(var z in se)Object.prototype.hasOwnProperty.call(se,z)&&w.indexOf(z)<0&&(k[z]=se[z]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,z=Object.getOwnPropertySymbols(se);C<z.length;C++)w.indexOf(z[C])<0&&Object.prototype.propertyIsEnumerable.call(se,z[C])&&(k[z[C]]=se[z[C]]);return k};const j=(se,w)=>{if(w===void 0)return w;let k=(w||"").replace(/^\//,"");return Object.keys(se).forEach(z=>{k=k.replace(`:${z}`,se[z])}),k},I=se=>{const{prefixCls:w,separator:k="/",style:z,className:C,rootClassName:Y,routes:ke,items:pe,children:Ue,itemRender:at,params:ct={}}=se,ce=ye(se,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Le,direction:wt,breadcrumb:Fe}=a.useContext(_.E_);let De;const P=Le("breadcrumb",w),[_e,be,he]=Ze(P),de=Q(pe,ke),me=X(P,at);if(de&&de.length>0){const Me=[],Je=pe||ke;De=de.map((pt,Ot)=>{const{path:_t,key:Gt,type:Pt,menu:ot,overlay:xt,onClick:jt,className:Ht,separator:Ct,dropdownProps:er}=pt,cr=j(ct,_t);cr!==void 0&&Me.push(cr);const Cr=Gt!=null?Gt:Ot;if(Pt==="separator")return a.createElement(T,{key:Cr},Ct);const qr={},Ar=Ot===de.length-1;ot?qr.menu=ot:xt&&(qr.overlay=xt);let{href:x}=pt;return Me.length&&cr!==void 0&&(x=`#/${Me.join("/")}`),a.createElement(A,Object.assign({key:Cr},qr,(0,q.Z)(pt,{data:!0,aria:!0}),{className:Ht,dropdownProps:er,href:x,separator:Ar?"":k,onClick:jt,prefixCls:P}),me(pt,ct,Je,Me,x))})}else if(Ue){const Me=(0,Re.Z)(Ue).length;De=(0,Re.Z)(Ue).map((Je,pt)=>{if(!Je)return Je;const Ot=pt===Me-1;return(0,ee.Tm)(Je,{separator:Ot?"":k,key:pt})})}const Ie=L()(P,Fe==null?void 0:Fe.className,{[`${P}-rtl`]:wt==="rtl"},C,Y,be,he),Se=Object.assign(Object.assign({},Fe==null?void 0:Fe.style),z);return _e(a.createElement("nav",Object.assign({className:Ie,style:Se},ce),a.createElement("ol",null,De)))};I.Item=E,I.Separator=T;var rt=I,le=rt},15037:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return se}});var a=n(59301),qe=n(92310),L=n.n(qe),Re=n(2738),q=n(48755),ee=n(31756),_=n(458),y=n(20554),V=function(w,k){var z={};for(var C in w)Object.prototype.hasOwnProperty.call(w,C)&&k.indexOf(C)<0&&(z[C]=w[C]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,C=Object.getOwnPropertySymbols(w);Y<C.length;Y++)k.indexOf(C[Y])<0&&Object.prototype.propertyIsEnumerable.call(w,C[Y])&&(z[C[Y]]=w[C[Y]]);return z},T=w=>{var{prefixCls:k,className:z,hoverable:C=!0}=w,Y=V(w,["prefixCls","className","hoverable"]);const{getPrefixCls:ke}=a.useContext(q.E_),pe=ke("card",k),Ue=L()(`${pe}-grid`,z,{[`${pe}-grid-hoverable`]:C});return a.createElement("div",Object.assign({},Y,{className:Ue}))},F=n(36237),G=n(63356),R=n(16931),X=n(51636);const N=w=>{const{antCls:k,componentCls:z,headerHeight:C,headerPadding:Y,tabsMarginBottom:ke}=w;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:C,marginBottom:-1,padding:`0 ${(0,F.unit)(Y)}`,color:w.colorTextHeading,fontWeight:w.fontWeightStrong,fontSize:w.headerFontSize,background:w.headerBg,borderBottom:`${(0,F.unit)(w.lineWidth)} ${w.lineType} ${w.colorBorderSecondary}`,borderRadius:`${(0,F.unit)(w.borderRadiusLG)} ${(0,F.unit)(w.borderRadiusLG)} 0 0`},(0,G.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},G.vS),{[`
> ${z}-typography,
> ${z}-typography-edit-content
`]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${k}-tabs-top`]:{clear:"both",marginBottom:ke,color:w.colorText,fontWeight:"normal",fontSize:w.fontSize,"&-bar":{borderBottom:`${(0,F.unit)(w.lineWidth)} ${w.lineType} ${w.colorBorderSecondary}`}}})},A=w=>{const{cardPaddingBase:k,colorBorderSecondary:z,cardShadow:C,lineWidth:Y}=w;return{width:"33.33%",padding:k,border:0,borderRadius:0,boxShadow:`
${(0,F.unit)(Y)} 0 0 0 ${z},
0 ${(0,F.unit)(Y)} 0 0 ${z},
${(0,F.unit)(Y)} ${(0,F.unit)(Y)} 0 0 ${z},
${(0,F.unit)(Y)} 0 0 0 ${z} inset,
0 ${(0,F.unit)(Y)} 0 0 ${z} inset;
`,transition:`all ${w.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:C}}},S=w=>{const{componentCls:k,iconCls:z,actionsLiMargin:C,cardActionsIconSize:Y,colorBorderSecondary:ke,actionsBg:pe}=w;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:pe,borderTop:`${(0,F.unit)(w.lineWidth)} ${w.lineType} ${ke}`,display:"flex",borderRadius:`0 0 ${(0,F.unit)(w.borderRadiusLG)} ${(0,F.unit)(w.borderRadiusLG)}`},(0,G.dF)()),{"& > li":{margin:C,color:w.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:w.calc(w.cardActionsIconSize).mul(2).equal(),fontSize:w.fontSize,lineHeight:w.lineHeight,cursor:"pointer","&:hover":{color:w.colorPrimary,transition:`color ${w.motionDurationMid}`},[`a:not(${k}-btn), > ${z}`]:{display:"inline-block",width:"100%",color:w.colorTextDescription,lineHeight:(0,F.unit)(w.fontHeight),transition:`color ${w.motionDurationMid}`,"&:hover":{color:w.colorPrimary}},[`> ${z}`]:{fontSize:Y,lineHeight:(0,F.unit)(w.calc(Y).mul(w.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,F.unit)(w.lineWidth)} ${w.lineType} ${ke}`}}})},E=w=>Object.assign(Object.assign({margin:`${(0,F.unit)(w.calc(w.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,G.dF)()),{"&-avatar":{paddingInlineEnd:w.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:w.marginXS}},"&-title":Object.assign({color:w.colorTextHeading,fontWeight:w.fontWeightStrong,fontSize:w.fontSizeLG},G.vS),"&-description":{color:w.colorTextDescription}}),oe=w=>{const{componentCls:k,colorFillAlter:z,headerPadding:C,bodyPadding:Y}=w;return{[`${k}-head`]:{padding:`0 ${(0,F.unit)(C)}`,background:z,"&-title":{fontSize:w.fontSize}},[`${k}-body`]:{padding:`${(0,F.unit)(w.padding)} ${(0,F.unit)(Y)}`}}},J=w=>{const{componentCls:k}=w;return{overflow:"hidden",[`${k}-body`]:{userSelect:"none"}}},te=w=>{const{componentCls:k,cardShadow:z,cardHeadPadding:C,colorBorderSecondary:Y,boxShadowTertiary:ke,bodyPadding:pe,extraColor:Ue}=w;return{[k]:Object.assign(Object.assign({},(0,G.Wf)(w)),{position:"relative",background:w.colorBgContainer,borderRadius:w.borderRadiusLG,[`&:not(${k}-bordered)`]:{boxShadow:ke},[`${k}-head`]:N(w),[`${k}-extra`]:{marginInlineStart:"auto",color:Ue,fontWeight:"normal",fontSize:w.fontSize},[`${k}-body`]:Object.assign({padding:pe,borderRadius:`0 0 ${(0,F.unit)(w.borderRadiusLG)} ${(0,F.unit)(w.borderRadiusLG)}`},(0,G.dF)()),[`${k}-grid`]:A(w),[`${k}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,F.unit)(w.borderRadiusLG)} ${(0,F.unit)(w.borderRadiusLG)} 0 0`}},[`${k}-actions`]:S(w),[`${k}-meta`]:E(w)}),[`${k}-bordered`]:{border:`${(0,F.unit)(w.lineWidth)} ${w.lineType} ${Y}`,[`${k}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${k}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${w.motionDurationMid}, border-color ${w.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:z}},[`${k}-contain-grid`]:{borderRadius:`${(0,F.unit)(w.borderRadiusLG)} ${(0,F.unit)(w.borderRadiusLG)} 0 0 `,[`${k}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${k}-loading) ${k}-body`]:{marginBlockStart:w.calc(w.lineWidth).mul(-1).equal(),marginInlineStart:w.calc(w.lineWidth).mul(-1).equal(),padding:0}},[`${k}-contain-tabs`]:{[`> div${k}-head`]:{minHeight:0,[`${k}-head-title, ${k}-extra`]:{paddingTop:C}}},[`${k}-type-inner`]:oe(w),[`${k}-loading`]:J(w),[`${k}-rtl`]:{direction:"rtl"}}},$e=w=>{const{componentCls:k,bodyPaddingSM:z,headerPaddingSM:C,headerHeightSM:Y,headerFontSizeSM:ke}=w;return{[`${k}-small`]:{[`> ${k}-head`]:{minHeight:Y,padding:`0 ${(0,F.unit)(C)}`,fontSize:ke,[`> ${k}-head-wrapper`]:{[`> ${k}-extra`]:{fontSize:w.fontSize}}},[`> ${k}-body`]:{padding:z}},[`${k}-small${k}-contain-tabs`]:{[`> ${k}-head`]:{[`${k}-head-title, ${k}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},Ne=w=>{var k,z;return{headerBg:"transparent",headerFontSize:w.fontSizeLG,headerFontSizeSM:w.fontSize,headerHeight:w.fontSizeLG*w.lineHeightLG+w.padding*2,headerHeightSM:w.fontSize*w.lineHeight+w.paddingXS*2,actionsBg:w.colorBgContainer,actionsLiMargin:`${w.paddingSM}px 0`,tabsMarginBottom:-w.padding-w.lineWidth,extraColor:w.colorText,bodyPaddingSM:12,headerPaddingSM:12,bodyPadding:(k=w.bodyPadding)!==null&&k!==void 0?k:w.paddingLG,headerPadding:(z=w.headerPadding)!==null&&z!==void 0?z:w.paddingLG}};var Qe=(0,R.I$)("Card",w=>{const k=(0,X.mergeToken)(w,{cardShadow:w.boxShadowCard,cardHeadPadding:w.padding,cardPaddingBase:w.paddingLG,cardActionsIconSize:w.fontSize});return[te(k),$e(k)]},Ne),Ze=n(24971),we=function(w,k){var z={};for(var C in w)Object.prototype.hasOwnProperty.call(w,C)&&k.indexOf(C)<0&&(z[C]=w[C]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,C=Object.getOwnPropertySymbols(w);Y<C.length;Y++)k.indexOf(C[Y])<0&&Object.prototype.propertyIsEnumerable.call(w,C[Y])&&(z[C[Y]]=w[C[Y]]);return z};const xe=w=>{const{actionClasses:k,actions:z=[],actionStyle:C}=w;return a.createElement("ul",{className:k,style:C},z.map((Y,ke)=>{const pe=`action-${ke}`;return a.createElement("li",{style:{width:`${100/z.length}%`},key:pe},a.createElement("span",null,Y))}))};var ye=a.forwardRef((w,k)=>{const{prefixCls:z,className:C,rootClassName:Y,style:ke,extra:pe,headStyle:Ue={},bodyStyle:at={},title:ct,loading:ce,bordered:Le,variant:wt,size:Fe,type:De,cover:P,actions:_e,tabList:be,children:he,activeTabKey:de,defaultActiveTabKey:me,tabBarExtraContent:Ie,hoverable:Se,tabProps:Me={},classNames:Je,styles:pt}=w,Ot=we(w,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","variant","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:_t,direction:Gt,card:Pt}=a.useContext(q.E_),[ot]=(0,Ze.Z)("card",wt,Le),xt=ne=>{var st;(st=w.onTabChange)===null||st===void 0||st.call(w,ne)},jt=ne=>{var st;return L()((st=Pt==null?void 0:Pt.classNames)===null||st===void 0?void 0:st[ne],Je==null?void 0:Je[ne])},Ht=ne=>{var st;return Object.assign(Object.assign({},(st=Pt==null?void 0:Pt.styles)===null||st===void 0?void 0:st[ne]),pt==null?void 0:pt[ne])},Ct=a.useMemo(()=>{let ne=!1;return a.Children.forEach(he,st=>{(st==null?void 0:st.type)===T&&(ne=!0)}),ne},[he]),er=_t("card",z),[cr,Cr,qr]=Qe(er),Ar=a.createElement(_.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},he),x=de!==void 0,H=Object.assign(Object.assign({},Me),{[x?"activeKey":"defaultActiveKey"]:x?de:me,tabBarExtraContent:Ie});let St;const ae=(0,ee.Z)(Fe),Be=!ae||ae==="default"?"large":ae,zr=be?a.createElement(y.default,Object.assign({size:Be},H,{className:`${er}-head-tabs`,onChange:xt,items:be.map(ne=>{var{tab:st}=ne,gn=we(ne,["tab"]);return Object.assign({label:st},gn)})})):null;if(ct||pe||zr){const ne=L()(`${er}-head`,jt("header")),st=L()(`${er}-head-title`,jt("title")),gn=L()(`${er}-extra`,jt("extra")),mt=Object.assign(Object.assign({},Ue),Ht("header"));St=a.createElement("div",{className:ne,style:mt},a.createElement("div",{className:`${er}-head-wrapper`},ct&&a.createElement("div",{className:st,style:Ht("title")},ct),pe&&a.createElement("div",{className:gn,style:Ht("extra")},pe)),zr)}const $r=L()(`${er}-cover`,jt("cover")),yn=P?a.createElement("div",{className:$r,style:Ht("cover")},P):null,Mn=L()(`${er}-body`,jt("body")),Ft=Object.assign(Object.assign({},at),Ht("body")),Sr=a.createElement("div",{className:Mn,style:Ft},ce?Ar:he),vr=L()(`${er}-actions`,jt("actions")),Lr=_e!=null&&_e.length?a.createElement(xe,{actionClasses:vr,actionStyle:Ht("actions"),actions:_e}):null,h=(0,Re.Z)(Ot,["onTabChange"]),D=L()(er,Pt==null?void 0:Pt.className,{[`${er}-loading`]:ce,[`${er}-bordered`]:ot!=="borderless",[`${er}-hoverable`]:Se,[`${er}-contain-grid`]:Ct,[`${er}-contain-tabs`]:be==null?void 0:be.length,[`${er}-${ae}`]:ae,[`${er}-type-${De}`]:!!De,[`${er}-rtl`]:Gt==="rtl"},C,Y,Cr,qr),Ee=Object.assign(Object.assign({},Pt==null?void 0:Pt.style),ke);return cr(a.createElement("div",Object.assign({ref:k},h,{className:D,style:Ee}),St,yn,Sr,Lr))}),j=function(w,k){var z={};for(var C in w)Object.prototype.hasOwnProperty.call(w,C)&&k.indexOf(C)<0&&(z[C]=w[C]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,C=Object.getOwnPropertySymbols(w);Y<C.length;Y++)k.indexOf(C[Y])<0&&Object.prototype.propertyIsEnumerable.call(w,C[Y])&&(z[C[Y]]=w[C[Y]]);return z},rt=w=>{const{prefixCls:k,className:z,avatar:C,title:Y,description:ke}=w,pe=j(w,["prefixCls","className","avatar","title","description"]),{getPrefixCls:Ue}=a.useContext(q.E_),at=Ue("card",k),ct=L()(`${at}-meta`,z),ce=C?a.createElement("div",{className:`${at}-meta-avatar`},C):null,Le=Y?a.createElement("div",{className:`${at}-meta-title`},Y):null,wt=ke?a.createElement("div",{className:`${at}-meta-description`},ke):null,Fe=Le||wt?a.createElement("div",{className:`${at}-meta-detail`},Le,wt):null;return a.createElement("div",Object.assign({},pe,{className:ct}),ce,Fe)};const le=ye;le.Grid=T,le.Meta=rt;var se=le},17149:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return _e}});var a=n(94480),qe=n(59301),L=n(92310),Re=n.n(L),q=n(63727),ee=n(2738),_=n(75030),y=n(86641),V=n(45915),c=n(82855),T=n(48755),F=n(38406),G=n(2171),R=n(83397),X=n(31756),N=n(56553),A=n(24971),S=n(1722),E=n(90376),oe=n(68525),J=n(90005),te=n(70045);function $e(be,he){const{getPrefixCls:de,direction:me,renderEmpty:Ie}=qe.useContext(T.E_),Se=he||me,Me=de("select",be),Je=de("cascader",be);return[Me,Je,Se,Ie]}var Ne=$e;function Qe(be,he){return qe.useMemo(()=>he?qe.createElement("span",{className:`${be}-checkbox-inner`}):!1,[he])}var Ze=n(33853),we=n(58617),xe=n(38819),ye=(be,he,de)=>{let me=de;de||(me=he?qe.createElement(Ze.Z,null):qe.createElement(xe.Z,null));const Ie=qe.createElement("span",{className:`${be}-menu-item-loading-icon`},qe.createElement(we.Z,{spin:!0}));return qe.useMemo(()=>[me,Ie],[me])},j=n(56119),I=n(16931),rt=n(36237),le=n(36170),se=n(63356),k=be=>{const{prefixCls:he,componentCls:de}=be,me=`${de}-menu-item`,Ie=`
&${me}-expand ${me}-expand-icon,
${me}-loading-icon
`;return[(0,le.C2)(`${he}-checkbox`,be),{[de]:{"&-checkbox":{top:0,marginInlineEnd:be.paddingXS,pointerEvents:"unset"},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${de}-menu-empty`]:{[`${de}-menu`]:{width:"100%",height:"auto",[me]:{color:be.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:be.controlItemWidth,height:be.dropdownHeight,margin:0,padding:be.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,rt.unit)(be.lineWidth)} ${be.lineType} ${be.colorSplit}`},"&-item":Object.assign(Object.assign({},se.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:be.optionPadding,lineHeight:be.lineHeight,cursor:"pointer",transition:`all ${be.motionDurationMid}`,borderRadius:be.borderRadiusSM,"&:hover":{background:be.controlItemBgHover},"&-disabled":{color:be.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Ie]:{color:be.colorTextDisabled}},[`&-active:not(${me}-disabled)`]:{"&, &:hover":{color:be.optionSelectedColor,fontWeight:be.optionSelectedFontWeight,backgroundColor:be.optionSelectedBg}},"&-content":{flex:"auto"},[Ie]:{marginInlineStart:be.paddingXXS,color:be.colorTextDescription,fontSize:be.fontSizeIcon},"&-keyword":{color:be.colorHighlight}})}}}]};const z=be=>{const{componentCls:he,antCls:de}=be;return[{[he]:{width:be.controlWidth}},{[`${he}-dropdown`]:[{[`&${de}-select-dropdown`]:{padding:0}},k(be)]},{[`${he}-dropdown-rtl`]:{direction:"rtl"}},(0,j.c)(be)]},C=be=>{const he=Math.round((be.controlHeight-be.fontSize*be.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:be.controlItemBgActive,optionSelectedFontWeight:be.fontWeightStrong,optionPadding:`${he}px ${be.paddingSM}px`,menuPadding:be.paddingXXS,optionSelectedColor:be.colorText}};var Y=(0,I.I$)("Cascader",be=>[z(be)],C);const ke=be=>{const{componentCls:he}=be;return{[`${he}-panel`]:[k(be),{display:"inline-flex",border:`${(0,rt.unit)(be.lineWidth)} ${be.lineType} ${be.colorSplit}`,borderRadius:be.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${he}-menus`]:{alignItems:"stretch"},[`${he}-menu`]:{height:"auto"},"&-empty":{padding:be.paddingXXS}}]}};var pe=(0,I.A1)(["Cascader","Panel"],be=>ke(be),C);function Ue(be){const{prefixCls:he,className:de,multiple:me,rootClassName:Ie,notFoundContent:Se,direction:Me,expandIcon:Je,disabled:pt}=be,Ot=qe.useContext(G.Z),_t=pt!=null?pt:Ot,[Gt,Pt,ot,xt]=Ne(he,Me),jt=(0,R.Z)(Pt),[Ht,Ct,er]=Y(Pt,jt);pe(Pt);const cr=ot==="rtl",[Cr,qr]=ye(Gt,cr,Je),Ar=Se||(xt==null?void 0:xt("Cascader"))||qe.createElement(F.Z,{componentName:"Cascader"}),x=Qe(Pt,me);return Ht(qe.createElement(q.s,Object.assign({},be,{checkable:x,prefixCls:Pt,className:Re()(de,Ct,Ie,er,jt),notFoundContent:Ar,direction:ot,expandIcon:Cr,loadingIcon:qr,disabled:_t})))}var at=Ue,ct=function(be,he){var de={};for(var me in be)Object.prototype.hasOwnProperty.call(be,me)&&he.indexOf(me)<0&&(de[me]=be[me]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,me=Object.getOwnPropertySymbols(be);Ie<me.length;Ie++)he.indexOf(me[Ie])<0&&Object.prototype.propertyIsEnumerable.call(be,me[Ie])&&(de[me[Ie]]=be[me[Ie]]);return de};const{SHOW_CHILD:ce,SHOW_PARENT:Le}=q.default;function wt(be,he,de){const me=be.toLowerCase().split(he).reduce((Me,Je,pt)=>pt===0?[Je]:[].concat((0,a.Z)(Me),[he,Je]),[]),Ie=[];let Se=0;return me.forEach((Me,Je)=>{const pt=Se+Me.length;let Ot=be.slice(Se,pt);Se=pt,Je%2===1&&(Ot=qe.createElement("span",{className:`${de}-menu-item-keyword`,key:`separator-${Je}`},Ot)),Ie.push(Ot)}),Ie}const Fe=(be,he,de,me)=>{const Ie=[],Se=be.toLowerCase();return he.forEach((Me,Je)=>{Je!==0&&Ie.push(" / ");let pt=Me[me.label];const Ot=typeof pt;(Ot==="string"||Ot==="number")&&(pt=wt(String(pt),Se,de)),Ie.push(pt)}),Ie},De=qe.forwardRef((be,he)=>{var de;const{prefixCls:me,size:Ie,disabled:Se,className:Me,rootClassName:Je,multiple:pt,bordered:Ot=!0,transitionName:_t,choiceTransitionName:Gt="",popupClassName:Pt,dropdownClassName:ot,expandIcon:xt,placement:jt,showSearch:Ht,allowClear:Ct=!0,notFoundContent:er,direction:cr,getPopupContainer:Cr,status:qr,showArrow:Ar,builtinPlacements:x,style:H,variant:St}=be,ae=ct(be,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),Be=(0,ee.Z)(ae,["suffixIcon"]),{getPrefixCls:zr,getPopupContainer:$r,className:yn,style:Mn}=(0,T.dj)("cascader"),{popupOverflow:Ft}=qe.useContext(T.E_),{status:Sr,hasFeedback:vr,isFormItemInput:Lr,feedbackIcon:h}=qe.useContext(N.aM),D=(0,c.F)(Sr,qr),[Ee,ne,st,gn]=Ne(me,cr),mt=st==="rtl",Zt=zr(),Ur=(0,R.Z)(Ee),[Pr,Jr,vn]=(0,E.Z)(Ee,Ur),Qn=(0,R.Z)(ne),[ge]=Y(ne,Qn),{compactSize:fr,compactItemClassnames:et}=(0,te.ri)(Ee,cr),[Ir,Vr]=(0,A.Z)("cascader",St,Ot),Sn=er||(gn==null?void 0:gn("Cascader"))||qe.createElement(F.Z,{componentName:"Cascader"}),ra=Re()(Pt||ot,`${ne}-dropdown`,{[`${ne}-dropdown-rtl`]:st==="rtl"},Je,Ur,Qn,Jr,vn),gt=qe.useMemo(()=>{if(!Ht)return Ht;let tn={render:Fe};return typeof Ht=="object"&&(tn=Object.assign(Object.assign({},tn),Ht)),tn},[Ht]),rr=(0,X.Z)(tn=>{var An;return(An=Ie!=null?Ie:fr)!==null&&An!==void 0?An:tn}),sr=qe.useContext(G.Z),or=Se!=null?Se:sr,[jr,on]=ye(Ee,mt,xt),Hr=Qe(ne,pt),Dr=(0,J.Z)(be.suffixIcon,Ar),{suffixIcon:nn,removeIcon:sn,clearIcon:$n}=(0,oe.Z)(Object.assign(Object.assign({},be),{hasFeedback:vr,feedbackIcon:h,showSuffixIcon:Dr,multiple:pt,prefixCls:Ee,componentName:"Cascader"})),Pn=qe.useMemo(()=>jt!==void 0?jt:mt?"bottomRight":"bottomLeft",[jt,mt]),On=Ct===!0?{clearIcon:$n}:Ct,[Tn]=(0,_.Cn)("SelectLike",(de=Be.dropdownStyle)===null||de===void 0?void 0:de.zIndex),na=qe.createElement(q.default,Object.assign({prefixCls:Ee,className:Re()(!me&&ne,{[`${Ee}-lg`]:rr==="large",[`${Ee}-sm`]:rr==="small",[`${Ee}-rtl`]:mt,[`${Ee}-${Ir}`]:Vr,[`${Ee}-in-form-item`]:Lr},(0,c.Z)(Ee,D,vr),et,yn,Me,Je,Ur,Qn,Jr,vn),disabled:or,style:Object.assign(Object.assign({},Mn),H)},Be,{builtinPlacements:(0,S.Z)(x,Ft),direction:st,placement:Pn,notFoundContent:Sn,allowClear:On,showSearch:gt,expandIcon:jr,suffixIcon:nn,removeIcon:sn,loadingIcon:on,checkable:Hr,dropdownClassName:ra,dropdownPrefixCls:me||ne,dropdownStyle:Object.assign(Object.assign({},Be.dropdownStyle),{zIndex:Tn}),choiceTransitionName:(0,y.m)(Zt,"",Gt),transitionName:(0,y.m)(Zt,"slide-up",_t),getPopupContainer:Cr||$r,ref:he}));return ge(Pr(na))}),P=(0,V.Z)(De,"dropdownAlign",be=>(0,ee.Z)(be,["visible"]));De.SHOW_PARENT=Le,De.SHOW_CHILD=ce,De.Panel=at,De._InternalPanelDoNotUseOrYouWillBeFired=P;var _e=De},62673:function(Yr,Kt,n){"use strict";n.d(Kt,{default:function(){return Ze}});var a=n(59301),qe=n(92310),L=n.n(qe),Re=n(16632),q=n(8654),ee=n(12919),_=n(63872),y=n(48755),V=n(2171),c=n(83397),T=n(56553),G=a.createContext(null),R=n(36170),X=n(74632),N=function(we,xe){var Q={};for(var ye in we)Object.prototype.hasOwnProperty.call(we,ye)&&xe.indexOf(ye)<0&&(Q[ye]=we[ye]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,ye=Object.getOwnPropertySymbols(we);j<ye.length;j++)xe.indexOf(ye[j])<0&&Object.prototype.propertyIsEnumerable.call(we,ye[j])&&(Q[ye[j]]=we[ye[j]]);return Q};const A=(we,xe)=>{var Q;const{prefixCls:ye,className:j,rootClassName:I,children:rt,indeterminate:le=!1,style:se,onMouseEnter:w,onMouseLeave:k,skipGroup:z=!1,disabled:C}=we,Y=N(we,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:ke,direction:pe,checkbox:Ue}=a.useContext(y.E_),at=a.useContext(G),{isFormItemInput:ct}=a.useContext(T.aM),ce=a.useContext(V.Z),Le=(Q=(at==null?void 0:at.disabled)||C)!==null&&Q!==void 0?Q:ce,wt=a.useRef(Y.value),Fe=a.useRef(null),De=(0,q.sQ)(xe,Fe);a.useEffect(()=>{at==null||at.registerValue(Y.value)},[]),a.useEffect(()=>{if(!z)return Y.value!==wt.current&&(at==null||at.cancelValue(wt.current),at==null||at.registerValue(Y.value),wt.current=Y.value),()=>at==null?void 0:at.cancelValue(Y.value)},[Y.value]),a.useEffect(()=>{var pt;!((pt=Fe.current)===null||pt===void 0)&&pt.input&&(Fe.current.input.indeterminate=le)},[le]);const P=ke("checkbox",ye),_e=(0,c.Z)(P),[be,he,de]=(0,R.ZP)(P,_e),me=Object.assign({},Y);at&&!z&&(me.onChange=function(){Y.onChange&&Y.onChange.apply(Y,arguments),at.toggleOption&&at.toggleOption({label:rt,value:Y.value})},me.name=at.name,me.checked=at.value.includes(Y.value));const Ie=L()(`${P}-wrapper`,{[`${P}-rtl`]:pe==="rtl",[`${P}-wrapper-checked`]:me.checked,[`${P}-wrapper-disabled`]:Le,[`${P}-wrapper-in-form-item`]:ct},Ue==null?void 0:Ue.className,j,I,de,_e,he),Se=L()({[`${P}-indeterminate`]:le},_.A,he),[Me,Je]=(0,X.Z)(me.onClick);return be(a.createElement(ee.Z,{component:"Checkbox",disabled:Le},a.createElement("label",{className:Ie,style:Object.assign(Object.assign({},Ue==null?void 0:Ue.style),se),onMouseEnter:w,onMouseLeave:k,onClick:Me},a.createElement(Re.Z,Object.assign({},me,{onClick:Je,prefixCls:P,className:Se,disabled:Le,ref:De})),rt!==void 0&&a.createElement("span",{className:`${P}-label`},rt))))};var E=a.forwardRef(A),oe=n(94480),J=n(2738),te=function(we,xe){var Q={};for(var ye in we)Object.prototype.hasOwnProperty.call(we,ye)&&xe.indexOf(ye)<0&&(Q[ye]=we[ye]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,ye=Object.getOwnPropertySymbols(we);j<ye.length;j++)xe.indexOf(ye[j])<0&&Object.prototype.propertyIsEnumerable.call(we,ye[j])&&(Q[ye[j]]=we[ye[j]]);return Q},Ne=a.forwardRef((we,xe)=>{const{defaultValue:Q,children:ye,options:j=[],prefixCls:I,className:rt,rootClassName:le,style:se,onChange:w}=we,k=te(we,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:z,direction:C}=a.useContext(y.E_),[Y,ke]=a.useState(k.value||Q||[]),[pe,Ue]=a.useState([]);a.useEffect(()=>{"value"in k&&ke(k.value||[])},[k.value]);const at=a.useMemo(()=>j.map(Se=>typeof Se=="string"||typeof Se=="number"?{label:Se,value:Se}:Se),[j]),ct=Se=>{Ue(Me=>Me.filter(Je=>Je!==Se))},ce=Se=>{Ue(Me=>[].concat((0,oe.Z)(Me),[Se]))},Le=Se=>{const Me=Y.indexOf(Se.value),Je=(0,oe.Z)(Y);Me===-1?Je.push(Se.value):Je.splice(Me,1),"value"in k||ke(Je),w==null||w(Je.filter(pt=>pe.includes(pt)).sort((pt,Ot)=>{const _t=at.findIndex(Pt=>Pt.value===pt),Gt=at.findIndex(Pt=>Pt.value===Ot);return _t-Gt}))},wt=z("checkbox",I),Fe=`${wt}-group`,De=(0,c.Z)(wt),[P,_e,be]=(0,R.ZP)(wt,De),he=(0,J.Z)(k,["value","disabled"]),de=j.length?at.map(Se=>a.createElement(E,{prefixCls:wt,key:Se.value.toString(),disabled:"disabled"in Se?Se.disabled:k.disabled,value:Se.value,checked:Y.includes(Se.value),onChange:Se.onChange,className:`${Fe}-item`,style:Se.style,title:Se.title,id:Se.id,required:Se.required},Se.label)):ye,me={toggleOption:Le,value:Y,disabled:k.disabled,name:k.name,registerValue:ce,cancelValue:ct},Ie=L()(Fe,{[`${Fe}-rtl`]:C==="rtl"},rt,le,be,De,_e);return P(a.createElement("div",Object.assign({className:Ie,style:se},he,{ref:xe}),a.createElement(G.Provider,{value:me},de)))});const Qe=E;Qe.Group=Ne,Qe.__ANT_CHECKBOX=!0;var Ze=Qe},36170:function(Yr,Kt,n){"use strict";n.d(Kt,{C2:function(){return ee}});var a=n(36237),qe=n(63356),L=n(51636),Re=n(16931);const q=_=>{const{checkboxCls:y}=_,V=`${y}-wrapper`;return[{[`${y}-group`]:Object.assign(Object.assign({},(0,qe.Wf)(_)),{display:"inline-flex",flexWrap:"wrap",columnGap:_.marginXS,[`> ${_.antCls}-row`]:{flex:1}}),[V]:Object.assign(Object.assign({},(0,qe.Wf)(_)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${V}`]:{marginInlineStart:0},[`&${V}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[y]:Object.assign(Object.assign({},(0,qe.Wf)(_)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:_.borderRadiusSM,alignSelf:"center",[`${y}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${y}-inner`]:Object.assign({},(0,qe.oN)(_))},[`${y}-inner`]:{boxSizing:"border-box",display:"block",width:_.checkboxSize,height:_.checkboxSize,direction:"ltr",backgroundColor:_.colorBgContainer,border:`${(0,a.unit)(_.lineWidth)} ${_.lineType} ${_.colorBorder}`,borderRadius:_.borderRadiusSM,borderCollapse:"separate",transition:`all ${_.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:_.calc(_.checkboxSize).div(14).mul(5).equal(),height:_.calc(_.checkboxSize).div(14).mul(8).equal(),border:`${(0,a.unit)(_.lineWidthBold)} solid ${_.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${_.motionDurationFast} ${_.motionEaseInBack}, opacity ${_.motionDurationFast}`}},"& + span":{paddingInlineStart:_.paddingXS,paddingInlineEnd:_.paddingXS}})},{[`
${V}:not(${V}-disabled),
${y}:not(${y}-disabled)
`]:{[`&:hover ${y}-inner`]:{borderColor:_.colorPrimary}},[`${V}:not(${V}-disabled)`]:{[`&:hover ${y}-checked:not(${y}-disabled) ${y}-inner`]:{backgroundColor:_.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${y}-checked:not(${y}-disabled):after`]:{borderColor:_.colorPrimaryHover}}},{[`${y}-checked`]:{[`${y}-inner`]:{backgroundColor:_.colorPrimary,borderColor:_.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${_.motionDurationMid} ${_.motionEaseOutBack} ${_.motionDurationFast}`}}},[`
${V}-checked:not(${V}-disabled),
${y}-checked:not(${y}-disabled)
`]:{[`&:hover ${y}-inner`]:{backgroundColor:_.colorPrimaryHover,borderColor:"transparent"}}},{[y]:{"&-indeterminate":{[`${y}-inner`]:{backgroundColor:`${_.colorBgContainer} !important`,borderColor:`${_.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:_.calc(_.fontSizeLG).div(2).equal(),height:_.calc(_.fontSizeLG).div(2).equal(),backgroundColor:_.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${y}-inner`]:{backgroundColor:`${_.colorBgContainer} !important`,borderColor:`${_.colorPrimary} !important`}}}},{[`${V}-disabled`]:{cursor:"not-allowed"},[`${y}-disabled`]:{[`&, ${y}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${y}-inner`]:{background:_.colorBgContainerDisabled,borderColor:_.colorBorder,"&:after":{borderColor:_.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:_.colorTextDisabled},[`&${y}-indeterminate ${y}-inner::after`]:{background:_.colorTextDisabled}}}]};function ee(_,y){const V=(0,L.mergeToken)(y,{checkboxCls:`.${_}`,checkboxSize:y.controlInteractiveSize});return[q(V)]}Kt.ZP=(0,Re.I$)("Checkbox",(_,y)=>{let{prefixCls:V}=y;return[ee(V,_)]})},74632:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return L}});var a=n(59301),qe=n(16089);function L(Re){const q=a.useRef(null),ee=()=>{qe.Z.cancel(q.current),q.current=null};return[()=>{ee(),q.current=(0,qe.Z)(()=>{q.current=null})},V=>{q.current&&(V.stopPropagation(),ee()),Re==null||Re(V)}]}},8848:function(Yr,Kt,n){"use strict";n.d(Kt,{default:function(){return we}});var a=n(59301),qe=n(38819),L=n(92310),Re=n.n(L),q=n(98535),ee=n(11592),_=n(2738),y=n(86641),V=n(22703),c=n(48755),T=n(31756),G=a.forwardRef((xe,Q)=>{const{getPrefixCls:ye}=a.useContext(c.E_),{prefixCls:j,className:I,showArrow:rt=!0}=xe,le=ye("collapse",j),se=Re()({[`${le}-no-arrow`]:!rt},I);return a.createElement(q.default.Panel,Object.assign({ref:Q},xe,{prefixCls:le,className:se}))}),R=n(36237),X=n(63356),N=n(34961),A=n(16931),S=n(51636);const E=xe=>{const{componentCls:Q,contentBg:ye,padding:j,headerBg:I,headerPadding:rt,collapseHeaderPaddingSM:le,collapseHeaderPaddingLG:se,collapsePanelBorderRadius:w,lineWidth:k,lineType:z,colorBorder:C,colorText:Y,colorTextHeading:ke,colorTextDisabled:pe,fontSizeLG:Ue,lineHeight:at,lineHeightLG:ct,marginSM:ce,paddingSM:Le,paddingLG:wt,paddingXS:Fe,motionDurationSlow:De,fontSizeIcon:P,contentPadding:_e,fontHeight:be,fontHeightLG:he}=xe,de=`${(0,R.unit)(k)} ${z} ${C}`;return{[Q]:Object.assign(Object.assign({},(0,X.Wf)(xe)),{backgroundColor:I,border:de,borderRadius:w,"&-rtl":{direction:"rtl"},[`& > ${Q}-item`]:{borderBottom:de,"&:first-child":{[`
&,
& > ${Q}-header`]:{borderRadius:`${(0,R.unit)(w)} ${(0,R.unit)(w)} 0 0`}},"&:last-child":{[`
&,
& > ${Q}-header`]:{borderRadius:`0 0 ${(0,R.unit)(w)} ${(0,R.unit)(w)}`}},[`> ${Q}-header`]:Object.assign(Object.assign({position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:rt,color:ke,lineHeight:at,cursor:"pointer",transition:`all ${De}, visibility 0s`},(0,X.Qy)(xe)),{[`> ${Q}-header-text`]:{flex:"auto"},[`${Q}-expand-icon`]:{height:be,display:"flex",alignItems:"center",paddingInlineEnd:ce},[`${Q}-arrow`]:Object.assign(Object.assign({},(0,X.Ro)()),{fontSize:P,transition:`transform ${De}`,svg:{transition:`transform ${De}`}}),[`${Q}-header-text`]:{marginInlineEnd:"auto"}}),[`${Q}-collapsible-header`]:{cursor:"default",[`${Q}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Q}-collapsible-icon`]:{cursor:"unset",[`${Q}-expand-icon`]:{cursor:"pointer"}}},[`${Q}-content`]:{color:Y,backgroundColor:ye,borderTop:de,[`& > ${Q}-content-box`]:{padding:_e},"&-hidden":{display:"none"}},"&-small":{[`> ${Q}-item`]:{[`> ${Q}-header`]:{padding:le,paddingInlineStart:Fe,[`> ${Q}-expand-icon`]:{marginInlineStart:xe.calc(Le).sub(Fe).equal()}},[`> ${Q}-content > ${Q}-content-box`]:{padding:Le}}},"&-large":{[`> ${Q}-item`]:{fontSize:Ue,lineHeight:ct,[`> ${Q}-header`]:{padding:se,paddingInlineStart:j,[`> ${Q}-expand-icon`]:{height:he,marginInlineStart:xe.calc(wt).sub(j).equal()}},[`> ${Q}-content > ${Q}-content-box`]:{padding:wt}}},[`${Q}-item:last-child`]:{borderBottom:0,[`> ${Q}-content`]:{borderRadius:`0 0 ${(0,R.unit)(w)} ${(0,R.unit)(w)}`}},[`& ${Q}-item-disabled > ${Q}-header`]:{"\n &,\n & > .arrow\n ":{color:pe,cursor:"not-allowed"}},[`&${Q}-icon-position-end`]:{[`& > ${Q}-item`]:{[`> ${Q}-header`]:{[`${Q}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:ce}}}}})}},oe=xe=>{const{componentCls:Q}=xe,ye=`> ${Q}-item > ${Q}-header ${Q}-arrow`;return{[`${Q}-rtl`]:{[ye]:{transform:"rotate(180deg)"}}}},J=xe=>{const{componentCls:Q,headerBg:ye,paddingXXS:j,colorBorder:I}=xe;return{[`${Q}-borderless`]:{backgroundColor:ye,border:0,[`> ${Q}-item`]:{borderBottom:`1px solid ${I}`},[`
> ${Q}-item:last-child,
> ${Q}-item:last-child ${Q}-header
`]:{borderRadius:0},[`> ${Q}-item:last-child`]:{borderBottom:0},[`> ${Q}-item > ${Q}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Q}-item > ${Q}-content > ${Q}-content-box`]:{paddingTop:j}}}},te=xe=>{const{componentCls:Q,paddingSM:ye}=xe;return{[`${Q}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Q}-item`]:{borderBottom:0,[`> ${Q}-content`]:{backgroundColor:"transparent",border:0,[`> ${Q}-content-box`]:{paddingBlock:ye}}}}}},$e=xe=>({headerPadding:`${xe.paddingSM}px ${xe.padding}px`,headerBg:xe.colorFillAlter,contentPadding:`${xe.padding}px 16px`,contentBg:xe.colorBgContainer});var Ne=(0,A.I$)("Collapse",xe=>{const Q=(0,S.mergeToken)(xe,{collapseHeaderPaddingSM:`${(0,R.unit)(xe.paddingXS)} ${(0,R.unit)(xe.paddingSM)}`,collapseHeaderPaddingLG:`${(0,R.unit)(xe.padding)} ${(0,R.unit)(xe.paddingLG)}`,collapsePanelBorderRadius:xe.borderRadiusLG});return[E(Q),J(Q),te(Q),oe(Q),(0,N.Z)(Q)]},$e),Ze=Object.assign(a.forwardRef((xe,Q)=>{const{getPrefixCls:ye,direction:j,expandIcon:I,className:rt,style:le}=(0,c.dj)("collapse"),{prefixCls:se,className:w,rootClassName:k,style:z,bordered:C=!0,ghost:Y,size:ke,expandIconPosition:pe="start",children:Ue,expandIcon:at}=xe,ct=(0,T.Z)(Ie=>{var Se;return(Se=ke!=null?ke:Ie)!==null&&Se!==void 0?Se:"middle"}),ce=ye("collapse",se),Le=ye(),[wt,Fe,De]=Ne(ce),P=a.useMemo(()=>pe==="left"?"start":pe==="right"?"end":pe,[pe]),_e=at!=null?at:I,be=a.useCallback(function(){let Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Se=typeof _e=="function"?_e(Ie):a.createElement(qe.Z,{rotate:Ie.isActive?j==="rtl"?-90:90:void 0,"aria-label":Ie.isActive?"expanded":"collapsed"});return(0,V.Tm)(Se,()=>{var Me;return{className:Re()((Me=Se==null?void 0:Se.props)===null||Me===void 0?void 0:Me.className,`${ce}-arrow`)}})},[_e,ce]),he=Re()(`${ce}-icon-position-${P}`,{[`${ce}-borderless`]:!C,[`${ce}-rtl`]:j==="rtl",[`${ce}-ghost`]:!!Y,[`${ce}-${ct}`]:ct!=="middle"},rt,w,k,Fe,De),de=Object.assign(Object.assign({},(0,y.Z)(Le)),{motionAppear:!1,leavedClassName:`${ce}-content-hidden`}),me=a.useMemo(()=>Ue?(0,ee.Z)(Ue).map((Ie,Se)=>{var Me,Je;const pt=Ie.props;if(pt!=null&&pt.disabled){const Ot=(Me=Ie.key)!==null&&Me!==void 0?Me:String(Se),_t=Object.assign(Object.assign({},(0,_.Z)(Ie.props,["disabled"])),{key:Ot,collapsible:(Je=pt.collapsible)!==null&&Je!==void 0?Je:"disabled"});return(0,V.Tm)(Ie,_t)}return Ie}):null,[Ue]);return wt(a.createElement(q.default,Object.assign({ref:Q,openMotion:de},(0,_.Z)(xe,["rootClassName"]),{expandIcon:be,prefixCls:ce,className:he,style:Object.assign(Object.assign({},le),z)}),me))}),{Panel:G}),we=Ze},38406:function(Yr,Kt,n){"use strict";var a=n(59301),qe=n(48755),L=n(584);const Re=q=>{const{componentName:ee}=q,{getPrefixCls:_}=(0,a.useContext)(qe.E_),y=_("empty");switch(ee){case"Table":case"List":return a.createElement(L.Z,{image:L.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return a.createElement(L.Z,{image:L.Z.PRESENTED_IMAGE_SIMPLE,className:`${y}-small`});case"Table.filter":return null;default:return a.createElement(L.Z,null)}};Kt.Z=Re},16326:function(Yr,Kt,n){"use strict";n.d(Kt,{default:function(){return gn}});var a=n(48365),qe=n(45915),L=n(59301),Re=n(54476),q={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},ee=q,_=n(7657),y=function(Zt,Ur){return L.createElement(_.Z,(0,Re.Z)({},Zt,{ref:Ur,icon:ee}))},V=L.forwardRef(y),c=V,T={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},F=T,G=function(Zt,Ur){return L.createElement(_.Z,(0,Re.Z)({},Zt,{ref:Ur,icon:F}))},R=L.forwardRef(G),X=R,N={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},A=N,S=function(Zt,Ur){return L.createElement(_.Z,(0,Re.Z)({},Zt,{ref:Ur,icon:A}))},E=L.forwardRef(S),oe=E,J=n(92310),te=n.n(J),$e=n(8571),Ne=n(62487),Qe=n(75030),Ze=n(82855),we=n(48755),xe=n(2171),Q=n(83397),ye=n(31756),j=n(56553),I=n(24971),rt=n(9017),le=n(70045),se=n(57428),w=n(36237),k=n(53075),z=n(64910),C=n(63356),Y=n(56119),ke=n(46e3),pe=n(93873),Ue=n(36305),at=n(16931),ct=n(51636),ce=n(26743);const Le=(mt,Zt)=>{const{componentCls:Ur,controlHeight:Pr}=mt,Jr=Zt?`${Ur}-${Zt}`:"",vn=(0,ce.gp)(mt);return[{[`${Ur}-multiple${Jr}`]:{paddingBlock:vn.containerPadding,paddingInlineStart:vn.basePadding,minHeight:Pr,[`${Ur}-selection-item`]:{height:vn.itemHeight,lineHeight:(0,w.unit)(vn.itemLineHeight)}}}]};var Fe=mt=>{const{componentCls:Zt,calc:Ur,lineWidth:Pr}=mt,Jr=(0,ct.mergeToken)(mt,{fontHeight:mt.fontSize,selectHeight:mt.controlHeightSM,multipleSelectItemHeight:mt.multipleItemHeightSM,borderRadius:mt.borderRadiusSM,borderRadiusSM:mt.borderRadiusXS,controlHeight:mt.controlHeightSM}),vn=(0,ct.mergeToken)(mt,{fontHeight:Ur(mt.multipleItemHeightLG).sub(Ur(Pr).mul(2).equal()).equal(),fontSize:mt.fontSizeLG,selectHeight:mt.controlHeightLG,multipleSelectItemHeight:mt.multipleItemHeightLG,borderRadius:mt.borderRadiusLG,borderRadiusSM:mt.borderRadius,controlHeight:mt.controlHeightLG});return[Le(Jr,"small"),Le(mt),Le(vn,"large"),{[`${Zt}${Zt}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${Zt}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${Zt}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:mt.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${mt.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:mt.colorTextPlaceholder,pointerEvents:"none"}}},(0,ce._z)(mt)),{[`${Zt}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},De=n(17835);const P=mt=>{const{pickerCellCls:Zt,pickerCellInnerCls:Ur,cellHeight:Pr,borderRadiusSM:Jr,motionDurationMid:vn,cellHoverBg:Qn,lineWidth:ge,lineType:fr,colorPrimary:et,cellActiveWithRangeBg:Ir,colorTextLightSolid:Vr,colorTextDisabled:Sn,cellBgDisabled:ra,colorFillSecondary:gt}=mt;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Pr,transform:"translateY(-50%)",content:'""',pointerEvents:"none"},[Ur]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Pr,height:Pr,lineHeight:(0,w.unit)(Pr),borderRadius:Jr,transition:`background ${vn}`},[`&:hover:not(${Zt}-in-view):not(${Zt}-disabled),
&:hover:not(${Zt}-selected):not(${Zt}-range-start):not(${Zt}-range-end):not(${Zt}-disabled)`]:{[Ur]:{background:Qn}},[`&-in-view${Zt}-today ${Ur}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,w.unit)(ge)} ${fr} ${et}`,borderRadius:Jr,content:'""'}},[`&-in-view${Zt}-in-range,
&-in-view${Zt}-range-start,
&-in-view${Zt}-range-end`]:{position:"relative",[`&:not(${Zt}-disabled):before`]:{background:Ir}},[`&-in-view${Zt}-selected,
&-in-view${Zt}-range-start,
&-in-view${Zt}-range-end`]:{[`&:not(${Zt}-disabled) ${Ur}`]:{color:Vr,background:et},[`&${Zt}-disabled ${Ur}`]:{background:gt}},[`&-in-view${Zt}-range-start:not(${Zt}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${Zt}-range-end:not(${Zt}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${Zt}-range-start:not(${Zt}-range-end) ${Ur}`]:{borderStartStartRadius:Jr,borderEndStartRadius:Jr,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${Zt}-range-end:not(${Zt}-range-start) ${Ur}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Jr,borderEndEndRadius:Jr},"&-disabled":{color:Sn,cursor:"not-allowed",[Ur]:{background:"transparent"},"&::before":{background:ra}},[`&-disabled${Zt}-today ${Ur}::before`]:{borderColor:Sn}}},_e=mt=>{const{componentCls:Zt,pickerCellCls:Ur,pickerCellInnerCls:Pr,pickerYearMonthCellWidth:Jr,pickerControlIconSize:vn,cellWidth:Qn,paddingSM:ge,paddingXS:fr,paddingXXS:et,colorBgContainer:Ir,lineWidth:Vr,lineType:Sn,borderRadiusLG:ra,colorPrimary:gt,colorTextHeading:rr,colorSplit:sr,pickerControlIconBorderWidth:or,colorIcon:jr,textHeight:on,motionDurationMid:Hr,colorIconHover:Dr,fontWeightStrong:nn,cellHeight:sn,pickerCellPaddingVertical:$n,colorTextDisabled:Pn,colorText:On,fontSize:Tn,motionDurationSlow:na,withoutTimeCellHeight:tn,pickerQuarterPanelContentHeight:An,borderRadiusSM:qn,colorTextLightSolid:da,cellHoverBg:Ln,timeColumnHeight:aa,timeColumnWidth:Kn,timeCellHeight:Zn,controlItemBgActive:ea,marginXXS:zn,pickerDatePanelPaddingHorizontal:xn,pickerControlIconMargin:Xn}=mt,Ca=mt.calc(Qn).mul(7).add(mt.calc(xn).mul(2)).equal();return{[Zt]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Ir,borderRadius:ra,outline:"none","&-focused":{borderColor:gt},"&-rtl":{[`${Zt}-prev-icon,
${Zt}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${Zt}-next-icon,
${Zt}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${Zt}-time-panel`]:{[`${Zt}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:Ca},"&-header":{display:"flex",padding:`0 ${(0,w.unit)(fr)}`,color:rr,borderBottom:`${(0,w.unit)(Vr)} ${Sn} ${sr}`,"> *":{flex:"none"},button:{padding:0,color:jr,lineHeight:(0,w.unit)(on),background:"transparent",border:0,cursor:"pointer",transition:`color ${Hr}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center","&:empty":{display:"none"}},"> button":{minWidth:"1.6em",fontSize:Tn,"&:hover":{color:Dr},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:nn,lineHeight:(0,w.unit)(on),"> button":{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:fr},"&:hover":{color:gt}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:vn,height:vn,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:vn,height:vn,border:"0 solid currentcolor",borderBlockStartWidth:or,borderInlineStartWidth:or,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Xn,insetInlineStart:Xn,display:"inline-block",width:vn,height:vn,border:"0 solid currentcolor",borderBlockStartWidth:or,borderInlineStartWidth:or,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:sn,fontWeight:"normal"},th:{height:mt.calc(sn).add(mt.calc($n).mul(2)).equal(),color:On,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,w.unit)($n)} 0`,color:Pn,cursor:"pointer","&-in-view":{color:On}},P(mt)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Zt}-content`]:{height:mt.calc(tn).mul(4).equal()},[Pr]:{padding:`0 ${(0,w.unit)(fr)}`}},"&-quarter-panel":{[`${Zt}-content`]:{height:An}},"&-decade-panel":{[Pr]:{padding:`0 ${(0,w.unit)(mt.calc(fr).div(2).equal())}`},[`${Zt}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Zt}-body`]:{padding:`0 ${(0,w.unit)(fr)}`},[Pr]:{width:Jr}},"&-date-panel":{[`${Zt}-body`]:{padding:`${(0,w.unit)(fr)} ${(0,w.unit)(xn)}`},[`${Zt}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${Zt}-cell`]:{[`&:hover ${Pr},
&-selected ${Pr},
${Pr}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Hr}`},"&:first-child:before":{borderStartStartRadius:qn,borderEndStartRadius:qn},"&:last-child:before":{borderStartEndRadius:qn,borderEndEndRadius:qn}},"&:hover td:before":{background:Ln},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${Ur}`]:{"&:before":{background:gt},[`&${Zt}-cell-week`]:{color:new De.FastColor(da).setA(.5).toHexString()},[Pr]:{color:da}}},"&-range-hover td:before":{background:ea}}},"&-week-panel, &-date-panel-show-week":{[`${Zt}-body`]:{padding:`${(0,w.unit)(fr)} ${(0,w.unit)(ge)}`},[`${Zt}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${Zt}-time-panel`]:{borderInlineStart:`${(0,w.unit)(Vr)} ${Sn} ${sr}`},[`${Zt}-date-panel,
${Zt}-time-panel`]:{transition:`opacity ${na}`},"&-active":{[`${Zt}-date-panel,
${Zt}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${Zt}-content`]:{display:"flex",flex:"auto",height:aa},"&-column":{flex:"1 0 auto",width:Kn,margin:`${(0,w.unit)(et)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Hr}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:mt.colorTextTertiary,borderRadius:mt.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${mt.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${(0,w.unit)(Zn)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,w.unit)(Vr)} ${Sn} ${sr}`},"&-active":{background:new De.FastColor(ea).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Zt}-time-panel-cell`]:{marginInline:zn,[`${Zt}-time-panel-cell-inner`]:{display:"block",width:mt.calc(Kn).sub(mt.calc(zn).mul(2)).equal(),height:Zn,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:mt.calc(Kn).sub(Zn).div(2).equal(),color:On,lineHeight:(0,w.unit)(Zn),borderRadius:qn,cursor:"pointer",transition:`background ${Hr}`,"&:hover":{background:Ln}},"&-selected":{[`${Zt}-time-panel-cell-inner`]:{background:ea}},"&-disabled":{[`${Zt}-time-panel-cell-inner`]:{color:Pn,background:"transparent",cursor:"not-allowed"}}}}}}}}};var he=mt=>{const{componentCls:Zt,textHeight:Ur,lineWidth:Pr,paddingSM:Jr,antCls:vn,colorPrimary:Qn,cellActiveWithRangeBg:ge,colorPrimaryBorder:fr,lineType:et,colorSplit:Ir}=mt;return{[`${Zt}-dropdown`]:{[`${Zt}-footer`]:{borderTop:`${(0,w.unit)(Pr)} ${et} ${Ir}`,"&-extra":{padding:`0 ${(0,w.unit)(Jr)}`,lineHeight:(0,w.unit)(mt.calc(Ur).sub(mt.calc(Pr).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,w.unit)(Pr)} ${et} ${Ir}`}}},[`${Zt}-panels + ${Zt}-footer ${Zt}-ranges`]:{justifyContent:"space-between"},[`${Zt}-ranges`]:{marginBlock:0,paddingInline:(0,w.unit)(Jr),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,w.unit)(mt.calc(Ur).sub(mt.calc(Pr).mul(2)).equal()),display:"inline-block"},[`${Zt}-now-btn-disabled`]:{pointerEvents:"none",color:mt.colorTextDisabled},[`${Zt}-preset > ${vn}-tag-blue`]:{color:Qn,background:ge,borderColor:fr,cursor:"pointer"},[`${Zt}-ok`]:{paddingBlock:mt.calc(Pr).mul(2).equal(),marginInlineStart:"auto"}}}}};const de=mt=>{const{componentCls:Zt,controlHeightLG:Ur,paddingXXS:Pr,padding:Jr}=mt;return{pickerCellCls:`${Zt}-cell`,pickerCellInnerCls:`${Zt}-cell-inner`,pickerYearMonthCellWidth:mt.calc(Ur).mul(1.5).equal(),pickerQuarterPanelContentHeight:mt.calc(Ur).mul(1.4).equal(),pickerCellPaddingVertical:mt.calc(Pr).add(mt.calc(Pr).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:mt.calc(Jr).add(mt.calc(Pr).div(2)).equal()}},me=mt=>{const{colorBgContainerDisabled:Zt,controlHeight:Ur,controlHeightSM:Pr,controlHeightLG:Jr,paddingXXS:vn,lineWidth:Qn}=mt,ge=vn*2,fr=Qn*2,et=Math.min(Ur-ge,Ur-fr),Ir=Math.min(Pr-ge,Pr-fr),Vr=Math.min(Jr-ge,Jr-fr);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(vn/2),cellHoverBg:mt.controlItemBgHover,cellActiveWithRangeBg:mt.controlItemBgActive,cellHoverWithRangeBg:new De.FastColor(mt.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new De.FastColor(mt.colorPrimary).lighten(20).toHexString(),cellBgDisabled:Zt,timeColumnWidth:Jr*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:Pr*1.5,cellHeight:Pr,textHeight:Jr,withoutTimeCellHeight:Jr*1.65,multipleItemBg:mt.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:et,multipleItemHeightSM:Ir,multipleItemHeightLG:Vr,multipleSelectorBgDisabled:Zt,multipleItemColorDisabled:mt.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},Ie=mt=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,z.T)(mt)),me(mt)),(0,Ue.w)(mt)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:mt.zIndexPopupBase+50});var Se=n(39082),Je=mt=>{const{componentCls:Zt}=mt;return{[Zt]:[Object.assign(Object.assign(Object.assign(Object.assign({},(0,Se.qG)(mt)),(0,Se.vc)(mt)),(0,Se.H8)(mt)),(0,Se.Mu)(mt)),{"&-outlined":{[`&${Zt}-multiple ${Zt}-selection-item`]:{background:mt.multipleItemBg,border:`${(0,w.unit)(mt.lineWidth)} ${mt.lineType} ${mt.multipleItemBorderColor}`}},"&-filled":{[`&${Zt}-multiple ${Zt}-selection-item`]:{background:mt.colorBgContainer,border:`${(0,w.unit)(mt.lineWidth)} ${mt.lineType} ${mt.colorSplit}`}},"&-borderless":{[`&${Zt}-multiple ${Zt}-selection-item`]:{background:mt.multipleItemBg,border:`${(0,w.unit)(mt.lineWidth)} ${mt.lineType} ${mt.multipleItemBorderColor}`}},"&-underlined":{[`&${Zt}-multiple ${Zt}-selection-item`]:{background:mt.multipleItemBg,border:`${(0,w.unit)(mt.lineWidth)} ${mt.lineType} ${mt.multipleItemBorderColor}`}}}]}};const pt=(mt,Zt,Ur,Pr)=>{const Jr=mt.calc(Ur).add(2).equal(),vn=mt.max(mt.calc(Zt).sub(Jr).div(2).equal(),0),Qn=mt.max(mt.calc(Zt).sub(Jr).sub(vn).equal(),0);return{padding:`${(0,w.unit)(vn)} ${(0,w.unit)(Pr)} ${(0,w.unit)(Qn)}`}},Ot=mt=>{const{componentCls:Zt,colorError:Ur,colorWarning:Pr}=mt;return{[`${Zt}:not(${Zt}-disabled):not([disabled])`]:{[`&${Zt}-status-error`]:{[`${Zt}-active-bar`]:{background:Ur}},[`&${Zt}-status-warning`]:{[`${Zt}-active-bar`]:{background:Pr}}}}},_t=mt=>{const{componentCls:Zt,antCls:Ur,controlHeight:Pr,paddingInline:Jr,lineWidth:vn,lineType:Qn,colorBorder:ge,borderRadius:fr,motionDurationMid:et,colorTextDisabled:Ir,colorTextPlaceholder:Vr,controlHeightLG:Sn,fontSizeLG:ra,controlHeightSM:gt,paddingInlineSM:rr,paddingXS:sr,marginXS:or,colorTextDescription:jr,lineWidthBold:on,colorPrimary:Hr,motionDurationSlow:Dr,zIndexPopup:nn,paddingXXS:sn,sizePopupArrow:$n,colorBgElevated:Pn,borderRadiusLG:On,boxShadowSecondary:Tn,borderRadiusSM:na,colorSplit:tn,cellHoverBg:An,presetsWidth:qn,presetsMaxWidth:da,boxShadowPopoverArrow:Ln,fontHeight:aa,fontHeightLG:Kn,lineHeightLG:Zn}=mt;return[{[Zt]:Object.assign(Object.assign(Object.assign({},(0,C.Wf)(mt)),pt(mt,Pr,aa,Jr)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:fr,transition:`border ${et}, box-shadow ${et}, background ${et}`,[`${Zt}-prefix`]:{flex:"0 0 auto",marginInlineEnd:mt.inputAffixPadding},[`${Zt}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:mt.fontSize,lineHeight:mt.lineHeight,transition:`all ${et}`},(0,k.nz)(Vr)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:Ir,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:Vr}}},"&-large":Object.assign(Object.assign({},pt(mt,Sn,Kn,Jr)),{[`${Zt}-input > input`]:{fontSize:ra,lineHeight:Zn}}),"&-small":Object.assign({},pt(mt,gt,aa,rr)),[`${Zt}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:mt.calc(sr).div(2).equal(),color:Ir,lineHeight:1,pointerEvents:"none",transition:`opacity ${et}, color ${et}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:or}}},[`${Zt}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Ir,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${et}, color ${et}`,"> *":{verticalAlign:"top"},"&:hover":{color:jr}},"&:hover":{[`${Zt}-clear`]:{opacity:1},[`${Zt}-suffix:not(:last-child)`]:{opacity:0}},[`${Zt}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:ra,color:Ir,fontSize:ra,verticalAlign:"top",cursor:"default",[`${Zt}-focused &`]:{color:jr},[`${Zt}-range-separator &`]:{[`${Zt}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Zt}-active-bar`]:{bottom:mt.calc(vn).mul(-1).equal(),height:on,background:Hr,opacity:0,transition:`all ${Dr} ease-out`,pointerEvents:"none"},[`&${Zt}-focused`]:{[`${Zt}-active-bar`]:{opacity:1}},[`${Zt}-range-separator`]:{alignItems:"center",padding:`0 ${(0,w.unit)(sr)}`,lineHeight:1}},"&-range, &-multiple":{[`${Zt}-clear`]:{insetInlineEnd:Jr},[`&${Zt}-small`]:{[`${Zt}-clear`]:{insetInlineEnd:rr}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,C.Wf)(mt)),_e(mt)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:nn,[`&${Zt}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${Zt}-dropdown-placement-bottomLeft,
&${Zt}-dropdown-placement-bottomRight`]:{[`${Zt}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Zt}-dropdown-placement-topLeft,
&${Zt}-dropdown-placement-topRight`]:{[`${Zt}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${Ur}-slide-up-appear, &${Ur}-slide-up-enter`]:{[`${Zt}-range-arrow${Zt}-range-arrow`]:{transition:"none"}},[`&${Ur}-slide-up-enter${Ur}-slide-up-enter-active${Zt}-dropdown-placement-topLeft,
&${Ur}-slide-up-enter${Ur}-slide-up-enter-active${Zt}-dropdown-placement-topRight,
&${Ur}-slide-up-appear${Ur}-slide-up-appear-active${Zt}-dropdown-placement-topLeft,
&${Ur}-slide-up-appear${Ur}-slide-up-appear-active${Zt}-dropdown-placement-topRight`]:{animationName:ke.Qt},[`&${Ur}-slide-up-enter${Ur}-slide-up-enter-active${Zt}-dropdown-placement-bottomLeft,
&${Ur}-slide-up-enter${Ur}-slide-up-enter-active${Zt}-dropdown-placement-bottomRight,
&${Ur}-slide-up-appear${Ur}-slide-up-appear-active${Zt}-dropdown-placement-bottomLeft,
&${Ur}-slide-up-appear${Ur}-slide-up-appear-active${Zt}-dropdown-placement-bottomRight`]:{animationName:ke.fJ},[`&${Ur}-slide-up-leave ${Zt}-panel-container`]:{pointerEvents:"none"},[`&${Ur}-slide-up-leave${Ur}-slide-up-leave-active${Zt}-dropdown-placement-topLeft,
&${Ur}-slide-up-leave${Ur}-slide-up-leave-active${Zt}-dropdown-placement-topRight`]:{animationName:ke.ly},[`&${Ur}-slide-up-leave${Ur}-slide-up-leave-active${Zt}-dropdown-placement-bottomLeft,
&${Ur}-slide-up-leave${Ur}-slide-up-leave-active${Zt}-dropdown-placement-bottomRight`]:{animationName:ke.Uw},[`${Zt}-panel > ${Zt}-time-panel`]:{paddingTop:sn},[`${Zt}-range-wrapper`]:{display:"flex",position:"relative"},[`${Zt}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:mt.calc(Jr).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${Dr} ease-out`},(0,Ue.W)(mt,Pn,Ln)),{"&:before":{insetInlineStart:mt.calc(Jr).mul(1.5).equal()}}),[`${Zt}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Pn,borderRadius:On,boxShadow:Tn,transition:`margin ${Dr}`,display:"inline-block",pointerEvents:"auto",[`${Zt}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Zt}-presets`]:{display:"flex",flexDirection:"column",minWidth:qn,maxWidth:da,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:sr,borderInlineEnd:`${(0,w.unit)(vn)} ${Qn} ${tn}`,li:Object.assign(Object.assign({},C.vS),{borderRadius:na,paddingInline:sr,paddingBlock:mt.calc(gt).sub(aa).div(2).equal(),cursor:"pointer",transition:`all ${Dr}`,"+ li":{marginTop:or},"&:hover":{background:An}})}},[`${Zt}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${Zt}-panel`]:{borderWidth:0}}},[`${Zt}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Zt}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:ge}}}}),"&-dropdown-range":{padding:`${(0,w.unit)(mt.calc($n).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Zt}-separator`]:{transform:"scale(-1, 1)"},[`${Zt}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,ke.oN)(mt,"slide-up"),(0,ke.oN)(mt,"slide-down"),(0,pe.Fm)(mt,"move-up"),(0,pe.Fm)(mt,"move-down")]};var Gt=(0,at.I$)("DatePicker",mt=>{const Zt=(0,ct.mergeToken)((0,z.e)(mt),de(mt),{inputPaddingHorizontalBase:mt.calc(mt.paddingSM).sub(1).equal(),multipleSelectItemHeight:mt.multipleItemHeight,selectHeight:mt.controlHeight});return[he(Zt),_t(Zt),Je(Zt),Ot(Zt),Fe(Zt),(0,Y.c)(mt,{focusElCls:`${mt.componentCls}-focused`})]},Ie),Pt=n(68525);function ot(mt,Zt,Ur){return Ur!==void 0?Ur:Zt==="year"&&mt.lang.yearPlaceholder?mt.lang.yearPlaceholder:Zt==="quarter"&&mt.lang.quarterPlaceholder?mt.lang.quarterPlaceholder:Zt==="month"&&mt.lang.monthPlaceholder?mt.lang.monthPlaceholder:Zt==="week"&&mt.lang.weekPlaceholder?mt.lang.weekPlaceholder:Zt==="time"&&mt.timePickerLocale.placeholder?mt.timePickerLocale.placeholder:mt.lang.placeholder}function xt(mt,Zt,Ur){return Ur!==void 0?Ur:Zt==="year"&&mt.lang.yearPlaceholder?mt.lang.rangeYearPlaceholder:Zt==="quarter"&&mt.lang.quarterPlaceholder?mt.lang.rangeQuarterPlaceholder:Zt==="month"&&mt.lang.monthPlaceholder?mt.lang.rangeMonthPlaceholder:Zt==="week"&&mt.lang.weekPlaceholder?mt.lang.rangeWeekPlaceholder:Zt==="time"&&mt.timePickerLocale.placeholder?mt.timePickerLocale.rangePlaceholder:mt.lang.rangePlaceholder}function jt(mt,Zt){const{allowClear:Ur=!0}=mt,{clearIcon:Pr,removeIcon:Jr}=(0,Pt.Z)(Object.assign(Object.assign({},mt),{prefixCls:Zt,componentName:"DatePicker"}));return[L.useMemo(()=>Ur===!1?!1:Object.assign({clearIcon:Pr},Ur===!0?{}:Ur),[Ur,Pr]),Jr]}const[Ht,Ct]=["week","WeekPicker"],[er,cr]=["month","MonthPicker"],[Cr,qr]=["year","YearPicker"],[Ar,x]=["quarter","QuarterPicker"],[H,St]=["time","TimePicker"];var ae=n(99571),zr=mt=>L.createElement(ae.ZP,Object.assign({size:"small",type:"primary"},mt));function $r(mt){return(0,L.useMemo)(()=>Object.assign({button:zr},mt),[mt])}var yn=function(mt,Zt){var Ur={};for(var Pr in mt)Object.prototype.hasOwnProperty.call(mt,Pr)&&Zt.indexOf(Pr)<0&&(Ur[Pr]=mt[Pr]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jr=0,Pr=Object.getOwnPropertySymbols(mt);Jr<Pr.length;Jr++)Zt.indexOf(Pr[Jr])<0&&Object.prototype.propertyIsEnumerable.call(mt,Pr[Jr])&&(Ur[Pr[Jr]]=mt[Pr[Jr]]);return Ur},Ft=mt=>(0,L.forwardRef)((Ur,Pr)=>{var Jr;const{prefixCls:vn,getPopupContainer:Qn,components:ge,className:fr,style:et,placement:Ir,size:Vr,disabled:Sn,bordered:ra=!0,placeholder:gt,popupClassName:rr,dropdownClassName:sr,status:or,rootClassName:jr,variant:on,picker:Hr}=Ur,Dr=yn(Ur,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),nn=L.useRef(null),{getPrefixCls:sn,direction:$n,getPopupContainer:Pn,rangePicker:On}=(0,L.useContext)(we.E_),Tn=sn("picker",vn),{compactSize:na,compactItemClassnames:tn}=(0,le.ri)(Tn,$n),An=sn(),[qn,da]=(0,I.Z)("rangePicker",on,ra),Ln=(0,Q.Z)(Tn),[aa,Kn,Zn]=Gt(Tn,Ln),[ea]=jt(Ur,Tn),zn=$r(ge),xn=(0,ye.Z)($=>{var v;return(v=Vr!=null?Vr:na)!==null&&v!==void 0?v:$}),Xn=L.useContext(xe.Z),Ca=Sn!=null?Sn:Xn,Fa=(0,L.useContext)(j.aM),{hasFeedback:ao,status:oo,feedbackIcon:uo}=Fa,f=L.createElement(L.Fragment,null,Hr===H?L.createElement(X,null):L.createElement(c,null),ao&&uo);(0,L.useImperativeHandle)(Pr,()=>nn.current);const[s]=(0,rt.Z)("Calendar",se.Z),p=Object.assign(Object.assign({},s),Ur.locale),[b]=(0,Qe.Cn)("DatePicker",(Jr=Ur.popupStyle)===null||Jr===void 0?void 0:Jr.zIndex);return aa(L.createElement(Ne.Z,{space:!0},L.createElement($e.Sq,Object.assign({separator:L.createElement("span",{"aria-label":"to",className:`${Tn}-separator`},L.createElement(oe,null)),disabled:Ca,ref:nn,placement:Ir,placeholder:xt(p,Hr,gt),suffixIcon:f,prevIcon:L.createElement("span",{className:`${Tn}-prev-icon`}),nextIcon:L.createElement("span",{className:`${Tn}-next-icon`}),superPrevIcon:L.createElement("span",{className:`${Tn}-super-prev-icon`}),superNextIcon:L.createElement("span",{className:`${Tn}-super-next-icon`}),transitionName:`${An}-slide-up`,picker:Hr},Dr,{className:te()({[`${Tn}-${xn}`]:xn,[`${Tn}-${qn}`]:da},(0,Ze.Z)(Tn,(0,Ze.F)(oo,or),ao),Kn,tn,fr,On==null?void 0:On.className,Zn,Ln,jr),style:Object.assign(Object.assign({},On==null?void 0:On.style),et),locale:p.lang,prefixCls:Tn,getPopupContainer:Qn||Pn,generateConfig:mt,components:zn,direction:$n,classNames:{popup:te()(Kn,rr||sr,Zn,Ln,jr)},styles:{popup:Object.assign(Object.assign({},Ur.popupStyle),{zIndex:b})},allowClear:ea}))))}),Sr=function(mt,Zt){var Ur={};for(var Pr in mt)Object.prototype.hasOwnProperty.call(mt,Pr)&&Zt.indexOf(Pr)<0&&(Ur[Pr]=mt[Pr]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jr=0,Pr=Object.getOwnPropertySymbols(mt);Jr<Pr.length;Jr++)Zt.indexOf(Pr[Jr])<0&&Object.prototype.propertyIsEnumerable.call(mt,Pr[Jr])&&(Ur[Pr[Jr]]=mt[Pr[Jr]]);return Ur},Lr=mt=>{const Zt=(fr,et)=>{const Ir=et===St?"timePicker":"datePicker";return(0,L.forwardRef)((Sn,ra)=>{var gt;const{prefixCls:rr,getPopupContainer:sr,components:or,style:jr,className:on,rootClassName:Hr,size:Dr,bordered:nn,placement:sn,placeholder:$n,popupClassName:Pn,dropdownClassName:On,disabled:Tn,status:na,variant:tn,onCalendarChange:An}=Sn,qn=Sr(Sn,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:da,direction:Ln,getPopupContainer:aa,[Ir]:Kn}=(0,L.useContext)(we.E_),Zn=da("picker",rr),{compactSize:ea,compactItemClassnames:zn}=(0,le.ri)(Zn,Ln),xn=L.useRef(null),[Xn,Ca]=(0,I.Z)("datePicker",tn,nn),Fa=(0,Q.Z)(Zn),[ao,oo,uo]=Gt(Zn,Fa);(0,L.useImperativeHandle)(ra,()=>xn.current);const f={showToday:!0},s=fr||Sn.picker,p=da(),{onSelect:b,multiple:$}=qn,v=b&&fr==="time"&&!$,B=(nt,Ce,Ut)=>{An==null||An(nt,Ce,Ut),v&&b(nt)},[U,re]=jt(Sn,Zn),Ae=$r(or),lt=(0,ye.Z)(nt=>{var Ce;return(Ce=Dr!=null?Dr:ea)!==null&&Ce!==void 0?Ce:nt}),It=L.useContext(xe.Z),Et=Tn!=null?Tn:It,ve=(0,L.useContext)(j.aM),{hasFeedback:kt,status:Ge,feedbackIcon:Vt}=ve,vt=L.createElement(L.Fragment,null,s==="time"?L.createElement(X,null):L.createElement(c,null),kt&&Vt),[nr]=(0,rt.Z)("DatePicker",se.Z),xr=Object.assign(Object.assign({},nr),Sn.locale),[Qt]=(0,Qe.Cn)("DatePicker",(gt=Sn.popupStyle)===null||gt===void 0?void 0:gt.zIndex);return ao(L.createElement(Ne.Z,{space:!0},L.createElement($e.ZP,Object.assign({ref:xn,placeholder:ot(xr,s,$n),suffixIcon:vt,placement:sn,prevIcon:L.createElement("span",{className:`${Zn}-prev-icon`}),nextIcon:L.createElement("span",{className:`${Zn}-next-icon`}),superPrevIcon:L.createElement("span",{className:`${Zn}-super-prev-icon`}),superNextIcon:L.createElement("span",{className:`${Zn}-super-next-icon`}),transitionName:`${p}-slide-up`,picker:fr,onCalendarChange:B},f,qn,{locale:xr.lang,className:te()({[`${Zn}-${lt}`]:lt,[`${Zn}-${Xn}`]:Ca},(0,Ze.Z)(Zn,(0,Ze.F)(Ge,na),kt),oo,zn,Kn==null?void 0:Kn.className,on,uo,Fa,Hr),style:Object.assign(Object.assign({},Kn==null?void 0:Kn.style),jr),prefixCls:Zn,getPopupContainer:sr||aa,generateConfig:mt,components:Ae,direction:Ln,disabled:Et,classNames:{popup:te()(oo,uo,Fa,Hr,Pn||On)},styles:{popup:Object.assign(Object.assign({},Sn.popupStyle),{zIndex:Qt})},allowClear:U,removeIcon:re}))))})},Ur=Zt(),Pr=Zt(Ht,Ct),Jr=Zt(er,cr),vn=Zt(Cr,qr),Qn=Zt(Ar,x),ge=Zt(H,St);return{DatePicker:Ur,WeekPicker:Pr,MonthPicker:Jr,YearPicker:vn,TimePicker:ge,QuarterPicker:Qn}},D=mt=>{const{DatePicker:Zt,WeekPicker:Ur,MonthPicker:Pr,YearPicker:Jr,TimePicker:vn,QuarterPicker:Qn}=Lr(mt),ge=Ft(mt),fr=Zt;return fr.WeekPicker=Ur,fr.MonthPicker=Pr,fr.YearPicker=Jr,fr.RangePicker=ge,fr.TimePicker=vn,fr.QuarterPicker=Qn,fr};const Ee=D(a.Z),ne=(0,qe.Z)(Ee,"popupAlign",void 0,"picker");Ee._InternalPanelDoNotUseOrYouWillBeFired=ne;const st=(0,qe.Z)(Ee.RangePicker,"popupAlign",void 0,"picker");Ee._InternalRangePanelDoNotUseOrYouWillBeFired=st,Ee.generatePicker=D;var gn=Ee},37285:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return R}});var a=n(59301),qe=n(92310),L=n.n(qe),Re=n(48755),q=n(36237),ee=n(63356),_=n(16931),y=n(51636);const V=X=>{const{componentCls:N,sizePaddingEdgeHorizontal:A,colorSplit:S,lineWidth:E,textPaddingInline:oe,orientationMargin:J,verticalMarginInline:te}=X;return{[N]:Object.assign(Object.assign({},(0,ee.Wf)(X)),{borderBlockStart:`${(0,q.unit)(E)} solid ${S}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:te,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,q.unit)(E)} solid ${S}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,q.unit)(X.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${N}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,q.unit)(X.dividerHorizontalWithTextGutterMargin)} 0`,color:X.colorTextHeading,fontWeight:500,fontSize:X.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${S}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,q.unit)(E)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${N}-with-text-start`]:{"&::before":{width:`calc(${J} * 100%)`},"&::after":{width:`calc(100% - ${J} * 100%)`}},[`&-horizontal${N}-with-text-end`]:{"&::before":{width:`calc(100% - ${J} * 100%)`},"&::after":{width:`calc(${J} * 100%)`}},[`${N}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:oe},"&-dashed":{background:"none",borderColor:S,borderStyle:"dashed",borderWidth:`${(0,q.unit)(E)} 0 0`},[`&-horizontal${N}-with-text${N}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${N}-dashed`]:{borderInlineStartWidth:E,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:S,borderStyle:"dotted",borderWidth:`${(0,q.unit)(E)} 0 0`},[`&-horizontal${N}-with-text${N}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${N}-dotted`]:{borderInlineStartWidth:E,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${N}-with-text`]:{color:X.colorText,fontWeight:"normal",fontSize:X.fontSize},[`&-horizontal${N}-with-text-start${N}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${N}-inner-text`]:{paddingInlineStart:A}},[`&-horizontal${N}-with-text-end${N}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${N}-inner-text`]:{paddingInlineEnd:A}}})}},c=X=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:X.marginXS});var T=(0,_.I$)("Divider",X=>{const N=(0,y.mergeToken)(X,{dividerHorizontalWithTextGutterMargin:X.margin,dividerHorizontalGutterMargin:X.marginLG,sizePaddingEdgeHorizontal:0});return[V(N)]},c,{unitless:{orientationMargin:!0}}),F=function(X,N){var A={};for(var S in X)Object.prototype.hasOwnProperty.call(X,S)&&N.indexOf(S)<0&&(A[S]=X[S]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,S=Object.getOwnPropertySymbols(X);E<S.length;E++)N.indexOf(S[E])<0&&Object.prototype.propertyIsEnumerable.call(X,S[E])&&(A[S[E]]=X[S[E]]);return A},R=X=>{const{getPrefixCls:N,direction:A,className:S,style:E}=(0,Re.dj)("divider"),{prefixCls:oe,type:J="horizontal",orientation:te="center",orientationMargin:$e,className:Ne,rootClassName:Qe,children:Ze,dashed:we,variant:xe="solid",plain:Q,style:ye}=X,j=F(X,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),I=N("divider",oe),[rt,le,se]=T(I),w=!!Ze,k=a.useMemo(()=>te==="left"?A==="rtl"?"end":"start":te==="right"?A==="rtl"?"start":"end":te,[A,te]),z=k==="start"&&$e!=null,C=k==="end"&&$e!=null,Y=L()(I,S,le,se,`${I}-${J}`,{[`${I}-with-text`]:w,[`${I}-with-text-${k}`]:w,[`${I}-dashed`]:!!we,[`${I}-${xe}`]:xe!=="solid",[`${I}-plain`]:!!Q,[`${I}-rtl`]:A==="rtl",[`${I}-no-default-orientation-margin-start`]:z,[`${I}-no-default-orientation-margin-end`]:C},Ne,Qe),ke=a.useMemo(()=>typeof $e=="number"?$e:/^\d+$/.test($e)?Number($e):$e,[$e]),pe={marginInlineStart:z?ke:void 0,marginInlineEnd:C?ke:void 0};return rt(a.createElement("div",Object.assign({className:Y,style:Object.assign(Object.assign({},E),ye)},j,{role:"separator"}),Ze&&J!=="vertical"&&a.createElement("span",{className:`${I}-inner-text`,style:pe},Ze)))}},30641:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return rt}});var a=n(59301),qe=n(92310),L=n.n(qe),Re=n(66042),q=n(62487),ee=n(75030),_=n(86641),y=n(55743),V=n(48755),c=n(91190),T=n(78776),F=n(458),R=le=>{var se,w;const{prefixCls:k,title:z,footer:C,extra:Y,loading:ke,onClose:pe,headerStyle:Ue,bodyStyle:at,footerStyle:ct,children:ce,classNames:Le,styles:wt}=le,Fe=(0,V.dj)("drawer"),De=a.useCallback(de=>a.createElement("button",{type:"button",onClick:pe,"aria-label":"Close",className:`${k}-close`},de),[pe]),[P,_e]=(0,T.Z)((0,T.w)(le),(0,T.w)(Fe),{closable:!0,closeIconRender:De}),be=a.useMemo(()=>{var de,me;return!z&&!P?null:a.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(de=Fe.styles)===null||de===void 0?void 0:de.header),Ue),wt==null?void 0:wt.header),className:L()(`${k}-header`,{[`${k}-header-close-only`]:P&&!z&&!Y},(me=Fe.classNames)===null||me===void 0?void 0:me.header,Le==null?void 0:Le.header)},a.createElement("div",{className:`${k}-header-title`},_e,z&&a.createElement("div",{className:`${k}-title`},z)),Y&&a.createElement("div",{className:`${k}-extra`},Y))},[P,_e,Y,Ue,k,z]),he=a.useMemo(()=>{var de,me;if(!C)return null;const Ie=`${k}-footer`;return a.createElement("div",{className:L()(Ie,(de=Fe.classNames)===null||de===void 0?void 0:de.footer,Le==null?void 0:Le.footer),style:Object.assign(Object.assign(Object.assign({},(me=Fe.styles)===null||me===void 0?void 0:me.footer),ct),wt==null?void 0:wt.footer)},C)},[C,ct,k]);return a.createElement(a.Fragment,null,be,a.createElement("div",{className:L()(`${k}-body`,Le==null?void 0:Le.body,(se=Fe.classNames)===null||se===void 0?void 0:se.body),style:Object.assign(Object.assign(Object.assign({},(w=Fe.styles)===null||w===void 0?void 0:w.body),at),wt==null?void 0:wt.body)},ke?a.createElement(F.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${k}-body-skeleton`}):ce),he)},X=n(36237),N=n(63356),A=n(16931),S=n(51636);const E=le=>{const se="100%";return{left:`translateX(-${se})`,right:`translateX(${se})`,top:`translateY(-${se})`,bottom:`translateY(${se})`}[le]},oe=(le,se)=>({"&-enter, &-appear":Object.assign(Object.assign({},le),{"&-active":se}),"&-leave":Object.assign(Object.assign({},se),{"&-active":le})}),J=(le,se)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${se}`}}},oe({opacity:le},{opacity:1})),te=(le,se)=>[J(.7,se),oe({transform:E(le)},{transform:"none"})];var Ne=le=>{const{componentCls:se,motionDurationSlow:w}=le;return{[se]:{[`${se}-mask-motion`]:J(0,w),[`${se}-panel-motion`]:["left","right","top","bottom"].reduce((k,z)=>Object.assign(Object.assign({},k),{[`&-${z}`]:te(z,w)}),{})}}};const Qe=le=>{const{borderRadiusSM:se,componentCls:w,zIndexPopup:k,colorBgMask:z,colorBgElevated:C,motionDurationSlow:Y,motionDurationMid:ke,paddingXS:pe,padding:Ue,paddingLG:at,fontSizeLG:ct,lineHeightLG:ce,lineWidth:Le,lineType:wt,colorSplit:Fe,marginXS:De,colorIcon:P,colorIconHover:_e,colorBgTextHover:be,colorBgTextActive:he,colorText:de,fontWeightStrong:me,footerPaddingBlock:Ie,footerPaddingInline:Se,calc:Me}=le,Je=`${w}-content-wrapper`;return{[w]:{position:"fixed",inset:0,zIndex:k,pointerEvents:"none",color:de,"&-pure":{position:"relative",background:C,display:"flex",flexDirection:"column",[`&${w}-left`]:{boxShadow:le.boxShadowDrawerLeft},[`&${w}-right`]:{boxShadow:le.boxShadowDrawerRight},[`&${w}-top`]:{boxShadow:le.boxShadowDrawerUp},[`&${w}-bottom`]:{boxShadow:le.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${w}-mask`]:{position:"absolute",inset:0,zIndex:k,background:z,pointerEvents:"auto"},[Je]:{position:"absolute",zIndex:k,maxWidth:"100vw",transition:`all ${Y}`,"&-hidden":{display:"none"}},[`&-left > ${Je}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:le.boxShadowDrawerLeft},[`&-right > ${Je}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:le.boxShadowDrawerRight},[`&-top > ${Je}`]:{top:0,insetInline:0,boxShadow:le.boxShadowDrawerUp},[`&-bottom > ${Je}`]:{bottom:0,insetInline:0,boxShadow:le.boxShadowDrawerDown},[`${w}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:C,pointerEvents:"auto"},[`${w}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,X.unit)(Ue)} ${(0,X.unit)(at)}`,fontSize:ct,lineHeight:ce,borderBottom:`${(0,X.unit)(Le)} ${wt} ${Fe}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${w}-extra`]:{flex:"none"},[`${w}-close`]:Object.assign({display:"inline-flex",width:Me(ct).add(pe).equal(),height:Me(ct).add(pe).equal(),borderRadius:se,justifyContent:"center",alignItems:"center",marginInlineEnd:De,color:P,fontWeight:me,fontSize:ct,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${ke}`,textRendering:"auto","&:hover":{color:_e,backgroundColor:be,textDecoration:"none"},"&:active":{backgroundColor:he}},(0,N.Qy)(le)),[`${w}-title`]:{flex:1,margin:0,fontWeight:le.fontWeightStrong,fontSize:ct,lineHeight:ce},[`${w}-body`]:{flex:1,minWidth:0,minHeight:0,padding:at,overflow:"auto",[`${w}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${w}-footer`]:{flexShrink:0,padding:`${(0,X.unit)(Ie)} ${(0,X.unit)(Se)}`,borderTop:`${(0,X.unit)(Le)} ${wt} ${Fe}`},"&-rtl":{direction:"rtl"}}}},Ze=le=>({zIndexPopup:le.zIndexPopupBase,footerPaddingBlock:le.paddingXS,footerPaddingInline:le.padding});var we=(0,A.I$)("Drawer",le=>{const se=(0,S.mergeToken)(le,{});return[Qe(se),Ne(se)]},Ze),xe=function(le,se){var w={};for(var k in le)Object.prototype.hasOwnProperty.call(le,k)&&se.indexOf(k)<0&&(w[k]=le[k]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,k=Object.getOwnPropertySymbols(le);z<k.length;z++)se.indexOf(k[z])<0&&Object.prototype.propertyIsEnumerable.call(le,k[z])&&(w[k[z]]=le[k[z]]);return w};const Q=null,ye={distance:180},j=le=>{var se;const{rootClassName:w,width:k,height:z,size:C="default",mask:Y=!0,push:ke=ye,open:pe,afterOpenChange:Ue,onClose:at,prefixCls:ct,getContainer:ce,style:Le,className:wt,visible:Fe,afterVisibleChange:De,maskStyle:P,drawerStyle:_e,contentWrapperStyle:be}=le,he=xe(le,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:de,getPrefixCls:me,direction:Ie,className:Se,style:Me,classNames:Je,styles:pt}=(0,V.dj)("drawer"),Ot=me("drawer",ct),[_t,Gt,Pt]=we(Ot),ot=ce===void 0&&de?()=>de(document.body):ce,xt=L()({"no-mask":!Y,[`${Ot}-rtl`]:Ie==="rtl"},w,Gt,Pt),jt=a.useMemo(()=>k!=null?k:C==="large"?736:378,[k,C]),Ht=a.useMemo(()=>z!=null?z:C==="large"?736:378,[z,C]),Ct={motionName:(0,_.m)(Ot,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},er=H=>({motionName:(0,_.m)(Ot,`panel-motion-${H}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),cr=(0,c.H)(),[Cr,qr]=(0,ee.Cn)("Drawer",he.zIndex),{classNames:Ar={},styles:x={}}=he;return _t(a.createElement(q.Z,{form:!0,space:!0},a.createElement(y.Z.Provider,{value:qr},a.createElement(Re.Z,Object.assign({prefixCls:Ot,onClose:at,maskMotion:Ct,motion:er},he,{classNames:{mask:L()(Ar.mask,Je.mask),content:L()(Ar.content,Je.content),wrapper:L()(Ar.wrapper,Je.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},x.mask),P),pt.mask),content:Object.assign(Object.assign(Object.assign({},x.content),_e),pt.content),wrapper:Object.assign(Object.assign(Object.assign({},x.wrapper),be),pt.wrapper)},open:pe!=null?pe:Fe,mask:Y,push:ke,width:jt,height:Ht,style:Object.assign(Object.assign({},Me),Le),className:L()(Se,wt),rootClassName:xt,getContainer:ot,afterOpenChange:Ue!=null?Ue:De,panelRef:cr,zIndex:Cr}),a.createElement(R,Object.assign({prefixCls:Ot},he,{onClose:at}))))))},I=le=>{const{prefixCls:se,style:w,className:k,placement:z="right"}=le,C=xe(le,["prefixCls","style","className","placement"]),{getPrefixCls:Y}=a.useContext(V.E_),ke=Y("drawer",se),[pe,Ue,at]=we(ke),ct=L()(ke,`${ke}-pure`,`${ke}-${z}`,Ue,at,k);return pe(a.createElement("div",{className:ct,style:w},a.createElement(R,Object.assign({prefixCls:ke},C))))};j._InternalPanelDoNotUseOrYouWillBeFired=I;var rt=j},19563:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return ke}});var a=n(59301),qe=n(33853),L=n(38819),Re=n(92310),q=n.n(Re),ee=n(96478),_=n(6089),y=n(18929),V=n(2738),c=n(75030),F=pe=>typeof pe!="object"&&typeof pe!="function"||pe===null,G=n(52838),R=n(45915),X=n(22703),N=n(32383),A=n(55743),S=n(48755),E=n(83397),oe=n(93041),J=n(78857),te=n(57700),$e=n(36237),Ne=n(63356),Qe=n(46e3),Ze=n(93873),we=n(34925),xe=n(37645),Q=n(36305),ye=n(16931),j=n(51636),rt=pe=>{const{componentCls:Ue,menuCls:at,colorError:ct,colorTextLightSolid:ce}=pe,Le=`${at}-item`;return{[`${Ue}, ${Ue}-menu-submenu`]:{[`${at} ${Le}`]:{[`&${Le}-danger:not(${Le}-disabled)`]:{color:ct,"&:hover":{color:ce,backgroundColor:ct}}}}}};const le=pe=>{const{componentCls:Ue,menuCls:at,zIndexPopup:ct,dropdownArrowDistance:ce,sizePopupArrow:Le,antCls:wt,iconCls:Fe,motionDurationMid:De,paddingBlock:P,fontSize:_e,dropdownEdgeChildPadding:be,colorTextDisabled:he,fontSizeIcon:de,controlPaddingHorizontal:me,colorBgElevated:Ie}=pe;return[{[Ue]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ct,display:"block","&::before":{position:"absolute",insetBlock:pe.calc(Le).div(2).sub(ce).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${wt}-btn`]:{[`& > ${Fe}-down, & > ${wt}-btn-icon > ${Fe}-down`]:{fontSize:de}},[`${Ue}-wrap`]:{position:"relative",[`${wt}-btn > ${Fe}-down`]:{fontSize:de},[`${Fe}-down::before`]:{transition:`transform ${De}`}},[`${Ue}-wrap-open`]:{[`${Fe}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${wt}-slide-down-enter${wt}-slide-down-enter-active${Ue}-placement-bottomLeft,
&${wt}-slide-down-appear${wt}-slide-down-appear-active${Ue}-placement-bottomLeft,
&${wt}-slide-down-enter${wt}-slide-down-enter-active${Ue}-placement-bottom,
&${wt}-slide-down-appear${wt}-slide-down-appear-active${Ue}-placement-bottom,
&${wt}-slide-down-enter${wt}-slide-down-enter-active${Ue}-placement-bottomRight,
&${wt}-slide-down-appear${wt}-slide-down-appear-active${Ue}-placement-bottomRight`]:{animationName:Qe.fJ},[`&${wt}-slide-up-enter${wt}-slide-up-enter-active${Ue}-placement-topLeft,
&${wt}-slide-up-appear${wt}-slide-up-appear-active${Ue}-placement-topLeft,
&${wt}-slide-up-enter${wt}-slide-up-enter-active${Ue}-placement-top,
&${wt}-slide-up-appear${wt}-slide-up-appear-active${Ue}-placement-top,
&${wt}-slide-up-enter${wt}-slide-up-enter-active${Ue}-placement-topRight,
&${wt}-slide-up-appear${wt}-slide-up-appear-active${Ue}-placement-topRight`]:{animationName:Qe.Qt},[`&${wt}-slide-down-leave${wt}-slide-down-leave-active${Ue}-placement-bottomLeft,
&${wt}-slide-down-leave${wt}-slide-down-leave-active${Ue}-placement-bottom,
&${wt}-slide-down-leave${wt}-slide-down-leave-active${Ue}-placement-bottomRight`]:{animationName:Qe.Uw},[`&${wt}-slide-up-leave${wt}-slide-up-leave-active${Ue}-placement-topLeft,
&${wt}-slide-up-leave${wt}-slide-up-leave-active${Ue}-placement-top,
&${wt}-slide-up-leave${wt}-slide-up-leave-active${Ue}-placement-topRight`]:{animationName:Qe.ly}}},(0,xe.ZP)(pe,Ie,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Ue} ${at}`]:{position:"relative",margin:0},[`${at}-submenu-popup`]:{position:"absolute",zIndex:ct,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ue}, ${Ue}-menu-submenu`]:Object.assign(Object.assign({},(0,Ne.Wf)(pe)),{[at]:Object.assign(Object.assign({padding:be,listStyleType:"none",backgroundColor:Ie,backgroundClip:"padding-box",borderRadius:pe.borderRadiusLG,outline:"none",boxShadow:pe.boxShadowSecondary},(0,Ne.Qy)(pe)),{"&:empty":{padding:0,boxShadow:"none"},[`${at}-item-group-title`]:{padding:`${(0,$e.unit)(P)} ${(0,$e.unit)(me)}`,color:pe.colorTextDescription,transition:`all ${De}`},[`${at}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${at}-item-icon`]:{minWidth:_e,marginInlineEnd:pe.marginXS,fontSize:pe.fontSizeSM},[`${at}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${De}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${at}-item-extra`]:{paddingInlineStart:pe.padding,marginInlineStart:"auto",fontSize:pe.fontSizeSM,color:pe.colorTextDescription}},[`${at}-item, ${at}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,$e.unit)(P)} ${(0,$e.unit)(me)}`,color:pe.colorText,fontWeight:"normal",fontSize:_e,lineHeight:pe.lineHeight,cursor:"pointer",transition:`all ${De}`,borderRadius:pe.borderRadiusSM,"&:hover, &-active":{backgroundColor:pe.controlItemBgHover}},(0,Ne.Qy)(pe)),{"&-selected":{color:pe.colorPrimary,backgroundColor:pe.controlItemBgActive,"&:hover, &-active":{backgroundColor:pe.controlItemBgActiveHover}},"&-disabled":{color:he,cursor:"not-allowed","&:hover":{color:he,backgroundColor:Ie,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,$e.unit)(pe.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:pe.colorSplit},[`${Ue}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:pe.paddingXS,[`${Ue}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:pe.colorTextDescription,fontSize:de,fontStyle:"normal"}}}),[`${at}-item-group-list`]:{margin:`0 ${(0,$e.unit)(pe.marginXS)}`,padding:0,listStyle:"none"},[`${at}-submenu-title`]:{paddingInlineEnd:pe.calc(me).add(pe.fontSizeSM).equal()},[`${at}-submenu-vertical`]:{position:"relative"},[`${at}-submenu${at}-submenu-disabled ${Ue}-menu-submenu-title`]:{[`&, ${Ue}-menu-submenu-arrow-icon`]:{color:he,backgroundColor:Ie,cursor:"not-allowed"}},[`${at}-submenu-selected ${Ue}-menu-submenu-title`]:{color:pe.colorPrimary}})})},[(0,Qe.oN)(pe,"slide-up"),(0,Qe.oN)(pe,"slide-down"),(0,Ze.Fm)(pe,"move-up"),(0,Ze.Fm)(pe,"move-down"),(0,we._y)(pe,"zoom-big")]]},se=pe=>Object.assign(Object.assign({zIndexPopup:pe.zIndexPopupBase+50,paddingBlock:(pe.controlHeight-pe.fontSize*pe.lineHeight)/2},(0,xe.wZ)({contentRadius:pe.borderRadiusLG,limitVerticalRadius:!0})),(0,Q.w)(pe));var w=(0,ye.I$)("Dropdown",pe=>{const{marginXXS:Ue,sizePopupArrow:at,paddingXXS:ct,componentCls:ce}=pe,Le=(0,j.mergeToken)(pe,{menuCls:`${ce}-menu`,dropdownArrowDistance:pe.calc(at).div(2).add(Ue).equal(),dropdownEdgeChildPadding:ct});return[le(Le),rt(Le)]},se,{resetStyle:!1});const k=null,z=pe=>{var Ue;const{menu:at,arrow:ct,prefixCls:ce,children:Le,trigger:wt,disabled:Fe,dropdownRender:De,getPopupContainer:P,overlayClassName:_e,rootClassName:be,overlayStyle:he,open:de,onOpenChange:me,visible:Ie,onVisibleChange:Se,mouseEnterDelay:Me=.15,mouseLeaveDelay:Je=.1,autoAdjustOverflow:pt=!0,placement:Ot="",overlay:_t,transitionName:Gt}=pe,{getPopupContainer:Pt,getPrefixCls:ot,direction:xt,dropdown:jt}=a.useContext(S.E_),Ht=(0,N.ln)("Dropdown"),Ct=a.useMemo(()=>{const ne=ot();return Gt!==void 0?Gt:Ot.includes("top")?`${ne}-slide-down`:`${ne}-slide-up`},[ot,Ot,Gt]),er=a.useMemo(()=>Ot?Ot.includes("Center")?Ot.slice(0,Ot.indexOf("Center")):Ot:xt==="rtl"?"bottomRight":"bottomLeft",[Ot,xt]),cr=ot("dropdown",ce),Cr=(0,E.Z)(cr),[qr,Ar,x]=w(cr,Cr),[,H]=(0,te.ZP)(),St=a.Children.only(F(Le)?a.createElement("span",null,Le):Le),ae=(0,X.Tm)(St,{className:q()(`${cr}-trigger`,{[`${cr}-rtl`]:xt==="rtl"},St.props.className),disabled:(Ue=St.props.disabled)!==null&&Ue!==void 0?Ue:Fe}),Be=Fe?[]:wt,zr=!!(Be!=null&&Be.includes("contextMenu")),[$r,yn]=(0,y.Z)(!1,{value:de!=null?de:Ie}),Mn=(0,_.Z)(ne=>{me==null||me(ne,{source:"trigger"}),Se==null||Se(ne),yn(ne)}),Ft=q()(_e,be,Ar,x,Cr,jt==null?void 0:jt.className,{[`${cr}-rtl`]:xt==="rtl"}),Sr=(0,G.Z)({arrowPointAtCenter:typeof ct=="object"&&ct.pointAtCenter,autoAdjustOverflow:pt,offset:H.marginXXS,arrowWidth:ct?H.sizePopupArrow:0,borderRadius:H.borderRadius}),vr=a.useCallback(()=>{at!=null&&at.selectable&&(at!=null&&at.multiple)||(me==null||me(!1,{source:"menu"}),yn(!1))},[at==null?void 0:at.selectable,at==null?void 0:at.multiple]),Lr=()=>{let ne;return at!=null&&at.items?ne=a.createElement(oe.default,Object.assign({},at)):typeof _t=="function"?ne=_t():ne=_t,De&&(ne=De(ne)),ne=a.Children.only(typeof ne=="string"?a.createElement("span",null,ne):ne),a.createElement(J.J,{prefixCls:`${cr}-menu`,rootClassName:q()(x,Cr),expandIcon:a.createElement("span",{className:`${cr}-menu-submenu-arrow`},xt==="rtl"?a.createElement(qe.Z,{className:`${cr}-menu-submenu-arrow-icon`}):a.createElement(L.Z,{className:`${cr}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:vr,validator:st=>{let{mode:gn}=st}},ne)},[h,D]=(0,c.Cn)("Dropdown",he==null?void 0:he.zIndex);let Ee=a.createElement(ee.Z,Object.assign({alignPoint:zr},(0,V.Z)(pe,["rootClassName"]),{mouseEnterDelay:Me,mouseLeaveDelay:Je,visible:$r,builtinPlacements:Sr,arrow:!!ct,overlayClassName:Ft,prefixCls:cr,getPopupContainer:P||Pt,transitionName:Ct,trigger:Be,overlay:Lr,placement:er,onVisibleChange:Mn,overlayStyle:Object.assign(Object.assign(Object.assign({},jt==null?void 0:jt.style),he),{zIndex:h})}),ae);return h&&(Ee=a.createElement(A.Z.Provider,{value:D},Ee)),qr(Ee)},C=(0,R.Z)(z,"align",void 0,"dropdown",pe=>pe),Y=pe=>a.createElement(C,Object.assign({},pe),a.createElement("span",null));z._InternalPanelDoNotUseOrYouWillBeFired=Y;var ke=z},75727:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return R}});var a=n(19563),qe=n(59301),L=n(18785),Re=n(92310),q=n.n(Re),ee=n(99571),_=n(48755),y=n(77736),V=n(70045),c=function(X,N){var A={};for(var S in X)Object.prototype.hasOwnProperty.call(X,S)&&N.indexOf(S)<0&&(A[S]=X[S]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,S=Object.getOwnPropertySymbols(X);E<S.length;E++)N.indexOf(S[E])<0&&Object.prototype.propertyIsEnumerable.call(X,S[E])&&(A[S[E]]=X[S[E]]);return A};const T=X=>{const{getPopupContainer:N,getPrefixCls:A,direction:S}=qe.useContext(_.E_),{prefixCls:E,type:oe="default",danger:J,disabled:te,loading:$e,onClick:Ne,htmlType:Qe,children:Ze,className:we,menu:xe,arrow:Q,autoFocus:ye,overlay:j,trigger:I,align:rt,open:le,onOpenChange:se,placement:w,getPopupContainer:k,href:z,icon:C=qe.createElement(L.Z,null),title:Y,buttonsRender:ke=Me=>Me,mouseEnterDelay:pe,mouseLeaveDelay:Ue,overlayClassName:at,overlayStyle:ct,destroyPopupOnHide:ce,dropdownRender:Le}=X,wt=c(X,["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"]),Fe=A("dropdown",E),De=`${Fe}-button`,P={menu:xe,arrow:Q,autoFocus:ye,align:rt,disabled:te,trigger:te?[]:I,onOpenChange:se,getPopupContainer:k||N,mouseEnterDelay:pe,mouseLeaveDelay:Ue,overlayClassName:at,overlayStyle:ct,destroyPopupOnHide:ce,dropdownRender:Le},{compactSize:_e,compactItemClassnames:be}=(0,V.ri)(Fe,S),he=q()(De,be,we);"overlay"in X&&(P.overlay=j),"open"in X&&(P.open=le),"placement"in X?P.placement=w:P.placement=S==="rtl"?"bottomLeft":"bottomRight";const de=qe.createElement(ee.ZP,{type:oe,danger:J,disabled:te,loading:$e,onClick:Ne,htmlType:Qe,href:z,title:Y},Ze),me=qe.createElement(ee.ZP,{type:oe,danger:J,icon:C}),[Ie,Se]=ke([de,me]);return qe.createElement(y.Z.Compact,Object.assign({className:he,size:_e,block:!0},wt),Ie,qe.createElement(a.Z,Object.assign({},P),Se))};T.__ANT_BUTTON=!0;var F=T;const G=a.Z;G.Button=F;var R=G},584:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return oe}});var a=n(59301),qe=n(92310),L=n.n(qe),Re=n(9017),q=n(17835),ee=n(57700),y=()=>{const[,J]=(0,ee.ZP)(),[te]=(0,Re.Z)("Empty"),Ne=new q.FastColor(J.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return a.createElement("svg",{style:Ne,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},a.createElement("title",null,(te==null?void 0:te.description)||"Empty"),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("g",{transform:"translate(24 31.67)"},a.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),a.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"}),a.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)"}),a.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"}),a.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"})),a.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"}),a.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},a.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),a.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},c=()=>{const[,J]=(0,ee.ZP)(),[te]=(0,Re.Z)("Empty"),{colorFill:$e,colorFillTertiary:Ne,colorFillQuaternary:Qe,colorBgContainer:Ze}=J,{borderColor:we,shadowColor:xe,contentColor:Q}=(0,a.useMemo)(()=>({borderColor:new q.FastColor($e).onBackground(Ze).toHexString(),shadowColor:new q.FastColor(Ne).onBackground(Ze).toHexString(),contentColor:new q.FastColor(Qe).onBackground(Ze).toHexString()}),[$e,Ne,Qe,Ze]);return a.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},a.createElement("title",null,(te==null?void 0:te.description)||"Empty"),a.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},a.createElement("ellipse",{fill:xe,cx:"32",cy:"33",rx:"32",ry:"7"}),a.createElement("g",{fillRule:"nonzero",stroke:we},a.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"}),a.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:Q}))))},T=n(16931),F=n(51636);const G=J=>{const{componentCls:te,margin:$e,marginXS:Ne,marginXL:Qe,fontSize:Ze,lineHeight:we}=J;return{[te]:{marginInline:Ne,fontSize:Ze,lineHeight:we,textAlign:"center",[`${te}-image`]:{height:J.emptyImgHeight,marginBottom:Ne,opacity:J.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${te}-description`]:{color:J.colorTextDescription},[`${te}-footer`]:{marginTop:$e},"&-normal":{marginBlock:Qe,color:J.colorTextDescription,[`${te}-description`]:{color:J.colorTextDescription},[`${te}-image`]:{height:J.emptyImgHeightMD}},"&-small":{marginBlock:Ne,color:J.colorTextDescription,[`${te}-image`]:{height:J.emptyImgHeightSM}}}}};var R=(0,T.I$)("Empty",J=>{const{componentCls:te,controlHeightLG:$e,calc:Ne}=J,Qe=(0,F.mergeToken)(J,{emptyImgCls:`${te}-img`,emptyImgHeight:Ne($e).mul(2.5).equal(),emptyImgHeightMD:$e,emptyImgHeightSM:Ne($e).mul(.875).equal()});return[G(Qe)]}),X=n(48755),N=function(J,te){var $e={};for(var Ne in J)Object.prototype.hasOwnProperty.call(J,Ne)&&te.indexOf(Ne)<0&&($e[Ne]=J[Ne]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Ne=Object.getOwnPropertySymbols(J);Qe<Ne.length;Qe++)te.indexOf(Ne[Qe])<0&&Object.prototype.propertyIsEnumerable.call(J,Ne[Qe])&&($e[Ne[Qe]]=J[Ne[Qe]]);return $e};const A=a.createElement(y,null),S=a.createElement(c,null),E=J=>{const{className:te,rootClassName:$e,prefixCls:Ne,image:Qe=A,description:Ze,children:we,imageStyle:xe,style:Q,classNames:ye,styles:j}=J,I=N(J,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:rt,direction:le,className:se,style:w,classNames:k,styles:z}=(0,X.dj)("empty"),C=rt("empty",Ne),[Y,ke,pe]=R(C),[Ue]=(0,Re.Z)("Empty"),at=typeof Ze!="undefined"?Ze:Ue==null?void 0:Ue.description,ct=typeof at=="string"?at:"empty";let ce=null;return typeof Qe=="string"?ce=a.createElement("img",{alt:ct,src:Qe}):ce=Qe,Y(a.createElement("div",Object.assign({className:L()(ke,pe,C,se,{[`${C}-normal`]:Qe===S,[`${C}-rtl`]:le==="rtl"},te,$e,k.root,ye==null?void 0:ye.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},z.root),w),j==null?void 0:j.root),Q)},I),a.createElement("div",{className:L()(`${C}-image`,k.image,ye==null?void 0:ye.image),style:Object.assign(Object.assign(Object.assign({},xe),z.image),j==null?void 0:j.image)},ce),at&&a.createElement("div",{className:L()(`${C}-description`,k.description,ye==null?void 0:ye.description),style:Object.assign(Object.assign({},z.description),j==null?void 0:j.description)},at),we&&a.createElement("div",{className:L()(`${C}-footer`,k.footer,ye==null?void 0:ye.footer),style:Object.assign(Object.assign({},z.footer),j==null?void 0:j.footer)},we)))};E.PRESENTED_IMAGE_DEFAULT=A,E.PRESENTED_IMAGE_SIMPLE=S;var oe=E},24971:function(Yr,Kt,n){"use strict";var a=n(59301),qe=n(56553),L=n(48755);const Re=function(q,ee){let _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var y,V;const{variant:c,[q]:T}=a.useContext(L.E_),F=a.useContext(qe.pg),G=T==null?void 0:T.variant;let R;typeof ee!="undefined"?R=ee:_===!1?R="borderless":R=(V=(y=F!=null?F:G)!==null&&y!==void 0?y:c)!==null&&V!==void 0?V:"outlined";const X=L.tr.includes(R);return[R,X]};Kt.Z=Re},28284:function(Yr,Kt,n){"use strict";n.d(Kt,{default:function(){return ra}});var a=n(56553),qe=n(94480),L=n(59301),Re=n(92310),q=n.n(Re),ee=n(77900),_=n(86641),y=n(83397);function V(gt){const[rr,sr]=L.useState(gt);return L.useEffect(()=>{const or=setTimeout(()=>{sr(gt)},gt.length?0:10);return()=>{clearTimeout(or)}},[gt]),rr}var c=n(36237),T=n(63356),F=n(34925),G=n(34961),R=n(51636),X=n(16931),A=gt=>{const{componentCls:rr}=gt,sr=`${rr}-show-help`,or=`${rr}-show-help-item`;return{[sr]:{transition:`opacity ${gt.motionDurationFast} ${gt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[or]:{overflow:"hidden",transition:`height ${gt.motionDurationFast} ${gt.motionEaseInOut},
opacity ${gt.motionDurationFast} ${gt.motionEaseInOut},
transform ${gt.motionDurationFast} ${gt.motionEaseInOut} !important`,[`&${or}-appear, &${or}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${or}-leave-active`]:{transform:"translateY(-5px)"}}}}};const S=gt=>({legend:{display:"block",width:"100%",marginBottom:gt.marginLG,padding:0,color:gt.colorTextDescription,fontSize:gt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,c.unit)(gt.lineWidth)} ${gt.lineType} ${gt.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,c.unit)(gt.controlOutlineWidth)} ${gt.controlOutline}`},output:{display:"block",paddingTop:15,color:gt.colorText,fontSize:gt.fontSize,lineHeight:gt.lineHeight}}),E=(gt,rr)=>{const{formItemCls:sr}=gt;return{[sr]:{[`${sr}-label > label`]:{height:rr},[`${sr}-control-input`]:{minHeight:rr}}}},oe=gt=>{const{componentCls:rr}=gt;return{[gt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,T.Wf)(gt)),S(gt)),{[`${rr}-text`]:{display:"inline-block",paddingInlineEnd:gt.paddingSM},"&-small":Object.assign({},E(gt,gt.controlHeightSM)),"&-large":Object.assign({},E(gt,gt.controlHeightLG))})}},J=gt=>{const{formItemCls:rr,iconCls:sr,rootPrefixCls:or,antCls:jr,labelRequiredMarkColor:on,labelColor:Hr,labelFontSize:Dr,labelHeight:nn,labelColonMarginInlineStart:sn,labelColonMarginInlineEnd:$n,itemMarginBottom:Pn}=gt;return{[rr]:Object.assign(Object.assign({},(0,T.Wf)(gt)),{marginBottom:Pn,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
&-hidden${jr}-row`]:{display:"none"},"&-has-warning":{[`${rr}-split`]:{color:gt.colorError}},"&-has-error":{[`${rr}-split`]:{color:gt.colorWarning}},[`${rr}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:gt.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:nn,color:Hr,fontSize:Dr,[`> ${sr}`]:{fontSize:gt.fontSize,verticalAlign:"top"},[`&${rr}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:gt.marginXXS,color:on,fontSize:gt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${rr}-required-mark-hidden, &${rr}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${rr}-optional`]:{display:"inline-block",marginInlineStart:gt.marginXXS,color:gt.colorTextDescription,[`&${rr}-required-mark-hidden`]:{display:"none"}},[`${rr}-tooltip`]:{color:gt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:gt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:sn,marginInlineEnd:$n},[`&${rr}-no-colon::after`]:{content:'"\\a0"'}}},[`${rr}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${or}-col-'"]):not([class*="' ${or}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:gt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[rr]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:gt.colorTextDescription,fontSize:gt.fontSize,lineHeight:gt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:gt.controlHeightSM,transition:`color ${gt.motionDurationMid} ${gt.motionEaseOut}`},"&-explain":{"&-error":{color:gt.colorError},"&-warning":{color:gt.colorWarning}}},[`&-with-help ${rr}-explain`]:{height:"auto",opacity:1},[`${rr}-feedback-icon`]:{fontSize:gt.fontSize,textAlign:"center",visibility:"visible",animationName:F.kr,animationDuration:gt.motionDurationMid,animationTimingFunction:gt.motionEaseOutBack,pointerEvents:"none","&-success":{color:gt.colorSuccess},"&-error":{color:gt.colorError},"&-warning":{color:gt.colorWarning},"&-validating":{color:gt.colorPrimary}}})}},te=(gt,rr)=>{const{formItemCls:sr}=gt;return{[`${rr}-horizontal`]:{[`${sr}-label`]:{flexGrow:0},[`${sr}-control`]:{flex:"1 1 0",minWidth:0},[`${sr}-label[class$='-24'], ${sr}-label[class*='-24 ']`]:{[`& + ${sr}-control`]:{minWidth:"unset"}}}}},$e=gt=>{const{componentCls:rr,formItemCls:sr,inlineItemMarginBottom:or}=gt;return{[`${rr}-inline`]:{display:"flex",flexWrap:"wrap",[sr]:{flex:"none",marginInlineEnd:gt.margin,marginBottom:or,"&-row":{flexWrap:"nowrap"},[`> ${sr}-label,
> ${sr}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${sr}-label`]:{flex:"none"},[`${rr}-text`]:{display:"inline-block"},[`${sr}-has-feedback`]:{display:"inline-block"}}}}},Ne=gt=>({padding:gt.verticalLabelPadding,margin:gt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),Qe=gt=>{const{componentCls:rr,formItemCls:sr,rootPrefixCls:or}=gt;return{[`${sr} ${sr}-label`]:Ne(gt),[`${rr}:not(${rr}-inline)`]:{[sr]:{flexWrap:"wrap",[`${sr}-label, ${sr}-control`]:{[`&:not([class*=" ${or}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Ze=gt=>{const{componentCls:rr,formItemCls:sr,antCls:or}=gt;return{[`${rr}-vertical`]:{[`${sr}:not(${sr}-horizontal)`]:{[`${sr}-row`]:{flexDirection:"column"},[`${sr}-label > label`]:{height:"auto"},[`${sr}-control`]:{width:"100%"},[`${sr}-label,
${or}-col-24${sr}-label,
${or}-col-xl-24${sr}-label`]:Ne(gt)}},[`@media (max-width: ${(0,c.unit)(gt.screenXSMax)})`]:[Qe(gt),{[rr]:{[`${sr}:not(${sr}-horizontal)`]:{[`${or}-col-xs-24${sr}-label`]:Ne(gt)}}}],[`@media (max-width: ${(0,c.unit)(gt.screenSMMax)})`]:{[rr]:{[`${sr}:not(${sr}-horizontal)`]:{[`${or}-col-sm-24${sr}-label`]:Ne(gt)}}},[`@media (max-width: ${(0,c.unit)(gt.screenMDMax)})`]:{[rr]:{[`${sr}:not(${sr}-horizontal)`]:{[`${or}-col-md-24${sr}-label`]:Ne(gt)}}},[`@media (max-width: ${(0,c.unit)(gt.screenLGMax)})`]:{[rr]:{[`${sr}:not(${sr}-horizontal)`]:{[`${or}-col-lg-24${sr}-label`]:Ne(gt)}}}}},we=gt=>{const{formItemCls:rr,antCls:sr}=gt;return{[`${rr}-vertical`]:{[`${rr}-row`]:{flexDirection:"column"},[`${rr}-label > label`]:{height:"auto"},[`${rr}-control`]:{width:"100%"}},[`${rr}-vertical ${rr}-label,
${sr}-col-24${rr}-label,
${sr}-col-xl-24${rr}-label`]:Ne(gt),[`@media (max-width: ${(0,c.unit)(gt.screenXSMax)})`]:[Qe(gt),{[rr]:{[`${sr}-col-xs-24${rr}-label`]:Ne(gt)}}],[`@media (max-width: ${(0,c.unit)(gt.screenSMMax)})`]:{[rr]:{[`${sr}-col-sm-24${rr}-label`]:Ne(gt)}},[`@media (max-width: ${(0,c.unit)(gt.screenMDMax)})`]:{[rr]:{[`${sr}-col-md-24${rr}-label`]:Ne(gt)}},[`@media (max-width: ${(0,c.unit)(gt.screenLGMax)})`]:{[rr]:{[`${sr}-col-lg-24${rr}-label`]:Ne(gt)}}}},xe=gt=>({labelRequiredMarkColor:gt.colorError,labelColor:gt.colorTextHeading,labelFontSize:gt.fontSize,labelHeight:gt.controlHeight,labelColonMarginInlineStart:gt.marginXXS/2,labelColonMarginInlineEnd:gt.marginXS,itemMarginBottom:gt.marginLG,verticalLabelPadding:`0 0 ${gt.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Q=(gt,rr)=>(0,R.mergeToken)(gt,{formItemCls:`${gt.componentCls}-item`,rootPrefixCls:rr});var ye=(0,X.I$)("Form",(gt,rr)=>{let{rootPrefixCls:sr}=rr;const or=Q(gt,sr);return[oe(or),J(or),A(or),te(or,or.componentCls),te(or,or.formItemCls),$e(or),Ze(or),we(or),(0,G.Z)(or),F.kr]},xe,{order:-1e3});const j=[];function I(gt,rr,sr){let or=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof gt=="string"?gt:`${rr}-${or}`,error:gt,errorStatus:sr}}var le=gt=>{let{help:rr,helpStatus:sr,errors:or=j,warnings:jr=j,className:on,fieldId:Hr,onVisibleChanged:Dr}=gt;const{prefixCls:nn}=L.useContext(a.Rk),sn=`${nn}-item-explain`,$n=(0,y.Z)(nn),[Pn,On,Tn]=ye(nn,$n),na=L.useMemo(()=>(0,_.Z)(nn),[nn]),tn=V(or),An=V(jr),qn=L.useMemo(()=>rr!=null?[I(rr,"help",sr)]:[].concat((0,qe.Z)(tn.map((aa,Kn)=>I(aa,"error","error",Kn))),(0,qe.Z)(An.map((aa,Kn)=>I(aa,"warning","warning",Kn)))),[rr,sr,tn,An]),da=L.useMemo(()=>{const aa={};return qn.forEach(Kn=>{let{key:Zn}=Kn;aa[Zn]=(aa[Zn]||0)+1}),qn.map((Kn,Zn)=>Object.assign(Object.assign({},Kn),{key:aa[Kn.key]>1?`${Kn.key}-fallback-${Zn}`:Kn.key}))},[qn]),Ln={};return Hr&&(Ln.id=`${Hr}_help`),Pn(L.createElement(ee.default,{motionDeadline:na.motionDeadline,motionName:`${nn}-show-help`,visible:!!da.length,onVisibleChanged:Dr},aa=>{const{className:Kn,style:Zn}=aa;return L.createElement("div",Object.assign({},Ln,{className:q()(sn,Kn,Tn,$n,on,On),style:Zn}),L.createElement(ee.CSSMotionList,Object.assign({keys:da},(0,_.Z)(nn),{motionName:`${nn}-show-help-item`,component:!1}),ea=>{const{key:zn,error:xn,errorStatus:Xn,className:Ca,style:Fa}=ea;return L.createElement("div",{key:zn,className:q()(Ca,{[`${sn}-${Xn}`]:Xn}),style:Fa},xn)}))}))},se=n(30810),w=n(48755),k=n(2171),z=n(31756),C=n(23069),Y=n(76846),ke=n(16722);const pe=["parentNode"],Ue="form_item";function at(gt){return gt===void 0||gt===!1?[]:Array.isArray(gt)?gt:[gt]}function ct(gt,rr){if(!gt.length)return;const sr=gt.join("_");return rr?`${rr}_${sr}`:pe.includes(sr)?`${Ue}_${sr}`:sr}function ce(gt,rr,sr,or,jr,on){let Hr=or;return on!==void 0?Hr=on:sr.validating?Hr="validating":gt.length?Hr="error":rr.length?Hr="warning":(sr.touched||jr&&sr.validated)&&(Hr="success"),Hr}var Le=function(gt,rr){var sr={};for(var or in gt)Object.prototype.hasOwnProperty.call(gt,or)&&rr.indexOf(or)<0&&(sr[or]=gt[or]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jr=0,or=Object.getOwnPropertySymbols(gt);jr<or.length;jr++)rr.indexOf(or[jr])<0&&Object.prototype.propertyIsEnumerable.call(gt,or[jr])&&(sr[or[jr]]=gt[or[jr]]);return sr};function wt(gt){return at(gt).join("_")}function Fe(gt,rr){const sr=rr.getFieldInstance(gt),or=(0,Y.bn)(sr);if(or)return or;const jr=ct(at(gt),rr.__INTERNAL__.name);if(jr)return document.getElementById(jr)}function De(gt){const[rr]=(0,se.useForm)(),sr=L.useRef({}),or=L.useMemo(()=>gt!=null?gt:Object.assign(Object.assign({},rr),{__INTERNAL__:{itemRef:jr=>on=>{const Hr=wt(jr);on?sr.current[Hr]=on:delete sr.current[Hr]}},scrollToField:function(jr){let on=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:Hr}=on,Dr=Le(on,["focus"]),nn=Fe(jr,or);nn&&((0,ke.Z)(nn,Object.assign({scrollMode:"if-needed",block:"nearest"},Dr)),Hr&&or.focusField(jr))},focusField:jr=>{var on,Hr;const Dr=or.getFieldInstance(jr);typeof(Dr==null?void 0:Dr.focus)=="function"?Dr.focus():(Hr=(on=Fe(jr,or))===null||on===void 0?void 0:on.focus)===null||Hr===void 0||Hr.call(on)},getFieldInstance:jr=>{const on=wt(jr);return sr.current[on]}}),[gt,rr]);return[or]}var P=n(98350),_e=function(gt,rr){var sr={};for(var or in gt)Object.prototype.hasOwnProperty.call(gt,or)&&rr.indexOf(or)<0&&(sr[or]=gt[or]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jr=0,or=Object.getOwnPropertySymbols(gt);jr<or.length;jr++)rr.indexOf(or[jr])<0&&Object.prototype.propertyIsEnumerable.call(gt,or[jr])&&(sr[or[jr]]=gt[or[jr]]);return sr};const be=(gt,rr)=>{const sr=L.useContext(k.Z),{getPrefixCls:or,direction:jr,requiredMark:on,colon:Hr,scrollToFirstError:Dr,className:nn,style:sn}=(0,w.dj)("form"),{prefixCls:$n,className:Pn,rootClassName:On,size:Tn,disabled:na=sr,form:tn,colon:An,labelAlign:qn,labelWrap:da,labelCol:Ln,wrapperCol:aa,hideRequiredMark:Kn,layout:Zn="horizontal",scrollToFirstError:ea,requiredMark:zn,onFinishFailed:xn,name:Xn,style:Ca,feedbackIcons:Fa,variant:ao}=gt,oo=_e(gt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),uo=(0,z.Z)(Tn),f=L.useContext(P.Z),s=L.useMemo(()=>zn!==void 0?zn:Kn?!1:on!==void 0?on:!0,[Kn,zn,on]),p=An!=null?An:Hr,b=or("form",$n),$=(0,y.Z)(b),[v,B,U]=ye(b,$),re=q()(b,`${b}-${Zn}`,{[`${b}-hide-required-mark`]:s===!1,[`${b}-rtl`]:jr==="rtl",[`${b}-${uo}`]:uo},U,$,B,nn,Pn,On),[Ae]=De(tn),{__INTERNAL__:lt}=Ae;lt.name=Xn;const It=L.useMemo(()=>({name:Xn,labelAlign:qn,labelCol:Ln,labelWrap:da,wrapperCol:aa,vertical:Zn==="vertical",colon:p,requiredMark:s,itemRef:lt.itemRef,form:Ae,feedbackIcons:Fa}),[Xn,qn,Ln,aa,Zn,p,s,Ae,Fa]),Et=L.useRef(null);L.useImperativeHandle(rr,()=>{var Ge;return Object.assign(Object.assign({},Ae),{nativeElement:(Ge=Et.current)===null||Ge===void 0?void 0:Ge.nativeElement})});const ve=(Ge,Vt)=>{if(Ge){let vt={block:"nearest"};typeof Ge=="object"&&(vt=Object.assign(Object.assign({},vt),Ge)),Ae.scrollToField(Vt,vt)}},kt=Ge=>{if(xn==null||xn(Ge),Ge.errorFields.length){const Vt=Ge.errorFields[0].name;if(ea!==void 0){ve(ea,Vt);return}Dr!==void 0&&ve(Dr,Vt)}};return v(L.createElement(a.pg.Provider,{value:ao},L.createElement(k.n,{disabled:na},L.createElement(C.Z.Provider,{value:uo},L.createElement(a.RV,{validateMessages:f},L.createElement(a.q3.Provider,{value:It},L.createElement(se.default,Object.assign({id:Xn},oo,{name:Xn,onFinishFailed:kt,form:Ae,ref:Et,style:Object.assign(Object.assign({},sn),Ca),className:re}))))))))};var de=L.forwardRef(be),me=n(41799),Ie=n(8654),Se=n(22703),Me=n(32383),Je=n(11592);function pt(gt){if(typeof gt=="function")return gt;const rr=(0,Je.Z)(gt);return rr.length<=1?rr[0]:rr}const Ot=()=>{const{status:gt,errors:rr=[],warnings:sr=[]}=L.useContext(a.aM);return{status:gt,errors:rr,warnings:sr}};Ot.Context=a.aM;var _t=Ot,Gt=n(16089);function Pt(gt){const[rr,sr]=L.useState(gt),or=L.useRef(null),jr=L.useRef([]),on=L.useRef(!1);L.useEffect(()=>(on.current=!1,()=>{on.current=!0,Gt.Z.cancel(or.current),or.current=null}),[]);function Hr(Dr){on.current||(or.current===null&&(jr.current=[],or.current=(0,Gt.Z)(()=>{or.current=null,sr(nn=>{let sn=nn;return jr.current.forEach($n=>{sn=$n(sn)}),sn})})),jr.current.push(Dr))}return[rr,Hr]}function ot(){const{itemRef:gt}=L.useContext(a.q3),rr=L.useRef({});function sr(or,jr){const on=jr&&typeof jr=="object"&&(0,Ie.C4)(jr),Hr=or.join("_");return(rr.current.name!==Hr||rr.current.originRef!==on)&&(rr.current.name=Hr,rr.current.originRef=on,rr.current.ref=(0,Ie.sQ)(gt(or),on)),rr.current.ref}return sr}var xt=n(29194),jt=n(34280),Ht=n(2738),Ct=n(65970),er=n(70425),cr=n(5472);const Cr=gt=>{const{formItemCls:rr}=gt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${rr}-control`]:{display:"flex"}}}};var qr=(0,X.bk)(["Form","item-item"],(gt,rr)=>{let{rootPrefixCls:sr}=rr;const or=Q(gt,sr);return[Cr(or)]}),Ar=function(gt,rr){var sr={};for(var or in gt)Object.prototype.hasOwnProperty.call(gt,or)&&rr.indexOf(or)<0&&(sr[or]=gt[or]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jr=0,or=Object.getOwnPropertySymbols(gt);jr<or.length;jr++)rr.indexOf(or[jr])<0&&Object.prototype.propertyIsEnumerable.call(gt,or[jr])&&(sr[or[jr]]=gt[or[jr]]);return sr};const x=24;var St=gt=>{const{prefixCls:rr,status:sr,labelCol:or,wrapperCol:jr,children:on,errors:Hr,warnings:Dr,_internalItemRender:nn,extra:sn,help:$n,fieldId:Pn,marginBottom:On,onErrorVisibleChanged:Tn,label:na}=gt,tn=`${rr}-item`,An=L.useContext(a.q3),qn=L.useMemo(()=>{let oo=Object.assign({},jr||An.wrapperCol||{});return na===null&&!or&&!jr&&An.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(f=>{const s=f?[f]:[],p=(0,er.U2)(An.labelCol,s),b=typeof p=="object"?p:{},$=(0,er.U2)(oo,s),v=typeof $=="object"?$:{};"span"in b&&!("offset"in v)&&b.span<x&&(oo=(0,er.t8)(oo,[].concat(s,["offset"]),b.span))}),oo},[jr,An]),da=q()(`${tn}-control`,qn.className),Ln=L.useMemo(()=>{const{labelCol:oo,wrapperCol:uo}=An;return Ar(An,["labelCol","wrapperCol"])},[An]),aa=L.useRef(null),[Kn,Zn]=L.useState(0);(0,jt.Z)(()=>{sn&&aa.current?Zn(aa.current.clientHeight):Zn(0)},[sn]);const ea=L.createElement("div",{className:`${tn}-control-input`},L.createElement("div",{className:`${tn}-control-input-content`},on)),zn=L.useMemo(()=>({prefixCls:rr,status:sr}),[rr,sr]),xn=On!==null||Hr.length||Dr.length?L.createElement(a.Rk.Provider,{value:zn},L.createElement(le,{fieldId:Pn,errors:Hr,warnings:Dr,help:$n,helpStatus:sr,className:`${tn}-explain-connected`,onVisibleChanged:Tn})):null,Xn={};Pn&&(Xn.id=`${Pn}_extra`);const Ca=sn?L.createElement("div",Object.assign({},Xn,{className:`${tn}-extra`,ref:aa}),sn):null,Fa=xn||Ca?L.createElement("div",{className:`${tn}-additional`,style:On?{minHeight:On+Kn}:{}},xn,Ca):null,ao=nn&&nn.mark==="pro_table_render"&&nn.render?nn.render(gt,{input:ea,errorList:xn,extra:Ca}):L.createElement(L.Fragment,null,ea,Fa);return L.createElement(a.q3.Provider,{value:Ln},L.createElement(cr.Z,Object.assign({},qn,{className:da}),ao),L.createElement(qr,{prefixCls:rr}))},ae=n(61485),Be=n(9017),zr=n(85981),$r=n(25399),yn=function(gt,rr){var sr={};for(var or in gt)Object.prototype.hasOwnProperty.call(gt,or)&&rr.indexOf(or)<0&&(sr[or]=gt[or]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jr=0,or=Object.getOwnPropertySymbols(gt);jr<or.length;jr++)rr.indexOf(or[jr])<0&&Object.prototype.propertyIsEnumerable.call(gt,or[jr])&&(sr[or[jr]]=gt[or[jr]]);return sr};function Mn(gt){return gt?typeof gt=="object"&&!L.isValidElement(gt)?gt:{title:gt}:null}var Sr=gt=>{let{prefixCls:rr,label:sr,htmlFor:or,labelCol:jr,labelAlign:on,colon:Hr,required:Dr,requiredMark:nn,tooltip:sn,vertical:$n}=gt;var Pn;const[On]=(0,Be.Z)("Form"),{labelAlign:Tn,labelCol:na,labelWrap:tn,colon:An}=L.useContext(a.q3);if(!sr)return null;const qn=jr||na||{},da=on||Tn,Ln=`${rr}-item-label`,aa=q()(Ln,da==="left"&&`${Ln}-left`,qn.className,{[`${Ln}-wrap`]:!!tn});let Kn=sr;const Zn=Hr===!0||An!==!1&&Hr!==!1;Zn&&!$n&&typeof sr=="string"&&sr.trim()&&(Kn=sr.replace(/[:|]\s*$/,""));const zn=Mn(sn);if(zn){const{icon:oo=L.createElement(ae.Z,null)}=zn,uo=yn(zn,["icon"]),f=L.createElement($r.Z,Object.assign({},uo),L.cloneElement(oo,{className:`${rr}-item-tooltip`,title:"",onClick:s=>{s.preventDefault()},tabIndex:null}));Kn=L.createElement(L.Fragment,null,Kn,f)}const xn=nn==="optional",Xn=typeof nn=="function",Ca=nn===!1;Xn?Kn=nn(Kn,{required:!!Dr}):xn&&!Dr&&(Kn=L.createElement(L.Fragment,null,Kn,L.createElement("span",{className:`${rr}-item-optional`,title:""},(On==null?void 0:On.optional)||((Pn=zr.Z.Form)===null||Pn===void 0?void 0:Pn.optional))));let Fa;Ca?Fa="hidden":(xn||Xn)&&(Fa="optional");const ao=q()({[`${rr}-item-required`]:Dr,[`${rr}-item-required-mark-${Fa}`]:Fa,[`${rr}-item-no-colon`]:!Zn});return L.createElement(cr.Z,Object.assign({},qn,{className:aa}),L.createElement("label",{htmlFor:or,className:ao,title:typeof sr=="string"?sr:""},Kn))},vr=n(29679),Lr=n(19248),h=n(96512),D=n(58617);const Ee={success:vr.Z,warning:h.Z,error:Lr.Z,validating:D.Z};function ne(gt){let{children:rr,errors:sr,warnings:or,hasFeedback:jr,validateStatus:on,prefixCls:Hr,meta:Dr,noStyle:nn}=gt;const sn=`${Hr}-item`,{feedbackIcons:$n}=L.useContext(a.q3),Pn=ce(sr,or,Dr,null,!!jr,on),{isFormItemInput:On,status:Tn,hasFeedback:na,feedbackIcon:tn}=L.useContext(a.aM),An=L.useMemo(()=>{var qn;let da;if(jr){const aa=jr!==!0&&jr.icons||$n,Kn=Pn&&((qn=aa==null?void 0:aa({status:Pn,errors:sr,warnings:or}))===null||qn===void 0?void 0:qn[Pn]),Zn=Pn&&Ee[Pn];da=Kn!==!1&&Zn?L.createElement("span",{className:q()(`${sn}-feedback-icon`,`${sn}-feedback-icon-${Pn}`)},Kn||L.createElement(Zn,null)):null}const Ln={status:Pn||"",errors:sr,warnings:or,hasFeedback:!!jr,feedbackIcon:da,isFormItemInput:!0};return nn&&(Ln.status=(Pn!=null?Pn:Tn)||"",Ln.isFormItemInput=On,Ln.hasFeedback=!!(jr!=null?jr:na),Ln.feedbackIcon=jr!==void 0?Ln.feedbackIcon:tn),Ln},[Pn,jr,nn,On,Tn]);return L.createElement(a.aM.Provider,{value:An},rr)}var st=function(gt,rr){var sr={};for(var or in gt)Object.prototype.hasOwnProperty.call(gt,or)&&rr.indexOf(or)<0&&(sr[or]=gt[or]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jr=0,or=Object.getOwnPropertySymbols(gt);jr<or.length;jr++)rr.indexOf(or[jr])<0&&Object.prototype.propertyIsEnumerable.call(gt,or[jr])&&(sr[or[jr]]=gt[or[jr]]);return sr};function gn(gt){const{prefixCls:rr,className:sr,rootClassName:or,style:jr,help:on,errors:Hr,warnings:Dr,validateStatus:nn,meta:sn,hasFeedback:$n,hidden:Pn,children:On,fieldId:Tn,required:na,isRequired:tn,onSubItemMetaChange:An,layout:qn}=gt,da=st(gt,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),Ln=`${rr}-item`,{requiredMark:aa,vertical:Kn}=L.useContext(a.q3),Zn=Kn||qn==="vertical",ea=L.useRef(null),zn=V(Hr),xn=V(Dr),Xn=on!=null,Ca=!!(Xn||Hr.length||Dr.length),Fa=!!ea.current&&(0,xt.Z)(ea.current),[ao,oo]=L.useState(null);(0,jt.Z)(()=>{if(Ca&&ea.current){const b=getComputedStyle(ea.current);oo(parseInt(b.marginBottom,10))}},[Ca,Fa]);const uo=b=>{b||oo(null)},s=function(){let b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const $=b?zn:sn.errors,v=b?xn:sn.warnings;return ce($,v,sn,"",!!$n,nn)}(),p=q()(Ln,sr,or,{[`${Ln}-with-help`]:Xn||zn.length||xn.length,[`${Ln}-has-feedback`]:s&&$n,[`${Ln}-has-success`]:s==="success",[`${Ln}-has-warning`]:s==="warning",[`${Ln}-has-error`]:s==="error",[`${Ln}-is-validating`]:s==="validating",[`${Ln}-hidden`]:Pn,[`${Ln}-${qn}`]:qn});return L.createElement("div",{className:p,style:jr,ref:ea},L.createElement(Ct.Z,Object.assign({className:`${Ln}-row`},(0,Ht.Z)(da,["_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"])),L.createElement(Sr,Object.assign({htmlFor:Tn},gt,{requiredMark:aa,required:na!=null?na:tn,prefixCls:rr,vertical:Zn})),L.createElement(St,Object.assign({},gt,sn,{errors:zn,warnings:xn,prefixCls:rr,status:s,help:on,marginBottom:ao,onErrorVisibleChanged:uo}),L.createElement(a.qI.Provider,{value:An},L.createElement(ne,{prefixCls:rr,meta:sn,errors:sn.errors,warnings:sn.warnings,hasFeedback:$n,validateStatus:s},On)))),!!ao&&L.createElement("div",{className:`${Ln}-margin-offset`,style:{marginBottom:-ao}}))}const mt="__SPLIT__",Zt=null;function Ur(gt,rr){const sr=Object.keys(gt),or=Object.keys(rr);return sr.length===or.length&&sr.every(jr=>{const on=gt[jr],Hr=rr[jr];return on===Hr||typeof on=="function"||typeof Hr=="function"})}const Pr=L.memo(gt=>{let{children:rr}=gt;return rr},(gt,rr)=>Ur(gt.control,rr.control)&&gt.update===rr.update&&gt.childProps.length===rr.childProps.length&&gt.childProps.every((sr,or)=>sr===rr.childProps[or]));function Jr(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function vn(gt){const{name:rr,noStyle:sr,className:or,dependencies:jr,prefixCls:on,shouldUpdate:Hr,rules:Dr,children:nn,required:sn,label:$n,messageVariables:Pn,trigger:On="onChange",validateTrigger:Tn,hidden:na,help:tn,layout:An}=gt,{getPrefixCls:qn}=L.useContext(w.E_),{name:da}=L.useContext(a.q3),Ln=pt(nn),aa=typeof Ln=="function",Kn=L.useContext(a.qI),{validateTrigger:Zn}=L.useContext(se.FieldContext),ea=Tn!==void 0?Tn:Zn,zn=rr!=null,xn=qn("form",on),Xn=(0,y.Z)(xn),[Ca,Fa,ao]=ye(xn,Xn),oo=(0,Me.ln)("Form.Item"),uo=L.useContext(se.ListContext),f=L.useRef(null),[s,p]=Pt({}),[b,$]=(0,me.Z)(()=>Jr()),v=Et=>{const ve=uo==null?void 0:uo.getKey(Et.name);if($(Et.destroy?Jr():Et,!0),sr&&tn!==!1&&Kn){let kt=Et.name;if(Et.destroy)kt=f.current||kt;else if(ve!==void 0){const[Ge,Vt]=ve;kt=[Ge].concat((0,qe.Z)(Vt)),f.current=kt}Kn(Et,kt)}},B=(Et,ve)=>{p(kt=>{const Ge=Object.assign({},kt),vt=[].concat((0,qe.Z)(Et.name.slice(0,-1)),(0,qe.Z)(ve)).join(mt);return Et.destroy?delete Ge[vt]:Ge[vt]=Et,Ge})},[U,re]=L.useMemo(()=>{const Et=(0,qe.Z)(b.errors),ve=(0,qe.Z)(b.warnings);return Object.values(s).forEach(kt=>{Et.push.apply(Et,(0,qe.Z)(kt.errors||[])),ve.push.apply(ve,(0,qe.Z)(kt.warnings||[]))}),[Et,ve]},[s,b.errors,b.warnings]),Ae=ot();function lt(Et,ve,kt){return sr&&!na?L.createElement(ne,{prefixCls:xn,hasFeedback:gt.hasFeedback,validateStatus:gt.validateStatus,meta:b,errors:U,warnings:re,noStyle:!0},Et):L.createElement(gn,Object.assign({key:"row"},gt,{className:q()(or,ao,Xn,Fa),prefixCls:xn,fieldId:ve,isRequired:kt,errors:U,warnings:re,meta:b,onSubItemMetaChange:B,layout:An}),Et)}if(!zn&&!aa&&!jr)return Ca(lt(Ln));let It={};return typeof $n=="string"?It.label=$n:rr&&(It.label=String(rr)),Pn&&(It=Object.assign(Object.assign({},It),Pn)),Ca(L.createElement(se.Field,Object.assign({},gt,{messageVariables:It,trigger:On,validateTrigger:ea,onMetaChange:v}),(Et,ve,kt)=>{const Ge=at(rr).length&&ve?ve.name:[],Vt=ct(Ge,da),vt=sn!==void 0?sn:!!(Dr!=null&&Dr.some(Qt=>{if(Qt&&typeof Qt=="object"&&Qt.required&&!Qt.warningOnly)return!0;if(typeof Qt=="function"){const nt=Qt(kt);return(nt==null?void 0:nt.required)&&!(nt!=null&&nt.warningOnly)}return!1})),nr=Object.assign({},Et);let xr=null;if(Array.isArray(Ln)&&zn)xr=Ln;else if(!(aa&&(!(Hr||jr)||zn))){if(!(jr&&!aa&&!zn))if(L.isValidElement(Ln)){const Qt=Object.assign(Object.assign({},Ln.props),nr);if(Qt.id||(Qt.id=Vt),tn||U.length>0||re.length>0||gt.extra){const Ut=[];(tn||U.length>0)&&Ut.push(`${Vt}_help`),gt.extra&&Ut.push(`${Vt}_extra`),Qt["aria-describedby"]=Ut.join(" ")}U.length>0&&(Qt["aria-invalid"]="true"),vt&&(Qt["aria-required"]="true"),(0,Ie.Yr)(Ln)&&(Qt.ref=Ae(Ge,Ln)),new Set([].concat((0,qe.Z)(at(On)),(0,qe.Z)(at(ea)))).forEach(Ut=>{Qt[Ut]=function(){for(var Nt,$t,qt,He,ze,At=arguments.length,dt=new Array(At),dr=0;dr<At;dr++)dt[dr]=arguments[dr];(qt=nr[Ut])===null||qt===void 0||(Nt=qt).call.apply(Nt,[nr].concat(dt)),(ze=(He=Ln.props)[Ut])===null||ze===void 0||($t=ze).call.apply($t,[He].concat(dt))}});const Ce=[Qt["aria-required"],Qt["aria-invalid"],Qt["aria-describedby"]];xr=L.createElement(Pr,{control:nr,update:Ln,childProps:Ce},(0,Se.Tm)(Ln,Qt))}else aa&&(Hr||jr)&&!zn?xr=Ln(kt):xr=Ln}return lt(xr,Vt,vt)}))}const Qn=vn;Qn.useStatus=_t;var ge=Qn,fr=function(gt,rr){var sr={};for(var or in gt)Object.prototype.hasOwnProperty.call(gt,or)&&rr.indexOf(or)<0&&(sr[or]=gt[or]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jr=0,or=Object.getOwnPropertySymbols(gt);jr<or.length;jr++)rr.indexOf(or[jr])<0&&Object.prototype.propertyIsEnumerable.call(gt,or[jr])&&(sr[or[jr]]=gt[or[jr]]);return sr},Ir=gt=>{var{prefixCls:rr,children:sr}=gt,or=fr(gt,["prefixCls","children"]);const{getPrefixCls:jr}=L.useContext(w.E_),on=jr("form",rr),Hr=L.useMemo(()=>({prefixCls:on,status:"error"}),[on]);return L.createElement(se.List,Object.assign({},or),(Dr,nn,sn)=>L.createElement(a.Rk.Provider,{value:Hr},sr(Dr.map($n=>Object.assign(Object.assign({},$n),{fieldKey:$n.key})),nn,{errors:sn.errors,warnings:sn.warnings})))};function Vr(){const{form:gt}=L.useContext(a.q3);return gt}const Sn=de;Sn.Item=ge,Sn.List=Ir,Sn.ErrorList=le,Sn.useForm=De,Sn.useFormInstance=Vr,Sn.useWatch=se.useWatch,Sn.Provider=a.RV,Sn.create=()=>{};var ra=Sn},90083:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return Gt}});var a=n(59301),qe=n(15277),L=n(92310),Re=n.n(L),q=n(91574),ee=n(75030),_=n(86641),y=n(48755),V=n(83397),c=n(9017),T=n(99267),F=n(33853),G=n(38819),R=n(54476),X={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"},N=X,A=n(7657),S=function(ot,xt){return a.createElement(A.Z,(0,R.Z)({},ot,{ref:xt,icon:N}))},E=a.forwardRef(S),oe=E,J={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"},te=J,$e=function(ot,xt){return a.createElement(A.Z,(0,R.Z)({},ot,{ref:xt,icon:te}))},Ne=a.forwardRef($e),Qe=Ne,Ze={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"},we=Ze,xe=function(ot,xt){return a.createElement(A.Z,(0,R.Z)({},ot,{ref:xt,icon:we}))},Q=a.forwardRef(xe),ye=Q,j={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"},I=j,rt=function(ot,xt){return a.createElement(A.Z,(0,R.Z)({},ot,{ref:xt,icon:I}))},le=a.forwardRef(rt),se=le,w={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"},k=w,z=function(ot,xt){return a.createElement(A.Z,(0,R.Z)({},ot,{ref:xt,icon:k}))},C=a.forwardRef(z),Y=C,ke=n(36237),pe=n(17835),Ue=n(64427),at=n(63356),ct=n(34925),ce=n(99495),Le=n(16931),wt=n(51636);const Fe=Pt=>({position:Pt||"absolute",inset:0}),De=Pt=>{const{iconCls:ot,motionDurationSlow:xt,paddingXXS:jt,marginXXS:Ht,prefixCls:Ct,colorTextLightSolid:er}=Pt;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:er,background:new pe.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${xt}`,[`.${Ct}-mask-info`]:Object.assign(Object.assign({},at.vS),{padding:`0 ${(0,ke.unit)(jt)}`,[ot]:{marginInlineEnd:Ht,svg:{verticalAlign:"baseline"}}})}},P=Pt=>{const{previewCls:ot,modalMaskBg:xt,paddingSM:jt,marginXL:Ht,margin:Ct,paddingLG:er,previewOperationColorDisabled:cr,previewOperationHoverColor:Cr,motionDurationSlow:qr,iconCls:Ar,colorTextLightSolid:x}=Pt,H=new pe.FastColor(xt).setA(.1),St=H.clone().setA(.2);return{[`${ot}-footer`]:{position:"fixed",bottom:Ht,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:Pt.previewOperationColor,transform:"translateX(-50%)"},[`${ot}-progress`]:{marginBottom:Ct},[`${ot}-close`]:{position:"fixed",top:Ht,right:{_skip_check_:!0,value:Ht},display:"flex",color:x,backgroundColor:H.toRgbString(),borderRadius:"50%",padding:jt,outline:0,border:0,cursor:"pointer",transition:`all ${qr}`,"&:hover":{backgroundColor:St.toRgbString()},[`& > ${Ar}`]:{fontSize:Pt.previewOperationSize}},[`${ot}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,ke.unit)(er)}`,backgroundColor:H.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:jt,padding:jt,cursor:"pointer",transition:`all ${qr}`,userSelect:"none",[`&:not(${ot}-operations-operation-disabled):hover > ${Ar}`]:{color:Cr},"&-disabled":{color:cr,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Ar}`]:{fontSize:Pt.previewOperationSize}}}}},_e=Pt=>{const{modalMaskBg:ot,iconCls:xt,previewOperationColorDisabled:jt,previewCls:Ht,zIndexPopup:Ct,motionDurationSlow:er}=Pt,cr=new pe.FastColor(ot).setA(.1),Cr=cr.clone().setA(.2);return{[`${Ht}-switch-left, ${Ht}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Pt.calc(Ct).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:Pt.imagePreviewSwitchSize,height:Pt.imagePreviewSwitchSize,marginTop:Pt.calc(Pt.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:Pt.previewOperationColor,background:cr.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${er}`,userSelect:"none","&:hover":{background:Cr.toRgbString()},"&-disabled":{"&, &:hover":{color:jt,background:"transparent",cursor:"not-allowed",[`> ${xt}`]:{cursor:"not-allowed"}}},[`> ${xt}`]:{fontSize:Pt.previewOperationSize}},[`${Ht}-switch-left`]:{insetInlineStart:Pt.marginSM},[`${Ht}-switch-right`]:{insetInlineEnd:Pt.marginSM}}},be=Pt=>{const{motionEaseOut:ot,previewCls:xt,motionDurationSlow:jt,componentCls:Ht}=Pt;return[{[`${Ht}-preview-root`]:{[xt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${xt}-body`]:Object.assign(Object.assign({},Fe()),{overflow:"hidden"}),[`${xt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${jt} ${ot} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Fe()),{transition:`transform ${jt} ${ot} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${xt}-moving`]:{[`${xt}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Ht}-preview-root`]:{[`${xt}-wrap`]:{zIndex:Pt.zIndexPopup}}},{[`${Ht}-preview-operations-wrapper`]:{position:"fixed",zIndex:Pt.calc(Pt.zIndexPopup).add(1).equal()},"&":[P(Pt),_e(Pt)]}]},he=Pt=>{const{componentCls:ot}=Pt;return{[ot]:{position:"relative",display:"inline-block",[`${ot}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${ot}-img-placeholder`]:{backgroundColor:Pt.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${ot}-mask`]:Object.assign({},De(Pt)),[`${ot}-mask:hover`]:{opacity:1},[`${ot}-placeholder`]:Object.assign({},Fe())}}},de=Pt=>{const{previewCls:ot}=Pt;return{[`${ot}-root`]:(0,ct._y)(Pt,"zoom"),"&":(0,ce.J$)(Pt,!0)}},me=Pt=>({zIndexPopup:Pt.zIndexPopupBase+80,previewOperationColor:new pe.FastColor(Pt.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new pe.FastColor(Pt.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new pe.FastColor(Pt.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:Pt.fontSizeIcon*1.5});var Ie=(0,Le.I$)("Image",Pt=>{const ot=`${Pt.componentCls}-preview`,xt=(0,wt.mergeToken)(Pt,{previewCls:ot,modalMaskBg:new pe.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:Pt.controlHeightLG});return[he(xt),be(xt),(0,Ue.QA)((0,wt.mergeToken)(xt,{componentCls:ot})),de(xt)]},me),Se=function(Pt,ot){var xt={};for(var jt in Pt)Object.prototype.hasOwnProperty.call(Pt,jt)&&ot.indexOf(jt)<0&&(xt[jt]=Pt[jt]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ht=0,jt=Object.getOwnPropertySymbols(Pt);Ht<jt.length;Ht++)ot.indexOf(jt[Ht])<0&&Object.prototype.propertyIsEnumerable.call(Pt,jt[Ht])&&(xt[jt[Ht]]=Pt[jt[Ht]]);return xt};const Me={rotateLeft:a.createElement(oe,null),rotateRight:a.createElement(Qe,null),zoomIn:a.createElement(se,null),zoomOut:a.createElement(Y,null),close:a.createElement(T.Z,null),left:a.createElement(F.Z,null),right:a.createElement(G.Z,null),flipX:a.createElement(ye,null),flipY:a.createElement(ye,{rotate:90})};var pt=Pt=>{var{previewPrefixCls:ot,preview:xt}=Pt,jt=Se(Pt,["previewPrefixCls","preview"]);const{getPrefixCls:Ht}=a.useContext(y.E_),Ct=Ht("image",ot),er=`${Ct}-preview`,cr=Ht(),Cr=(0,V.Z)(Ct),[qr,Ar,x]=Ie(Ct,Cr),[H]=(0,ee.Cn)("ImagePreview",typeof xt=="object"?xt.zIndex:void 0),St=a.useMemo(()=>{var ae;if(xt===!1)return xt;const Be=typeof xt=="object"?xt:{},zr=Re()(Ar,x,Cr,(ae=Be.rootClassName)!==null&&ae!==void 0?ae:"");return Object.assign(Object.assign({},Be),{transitionName:(0,_.m)(cr,"zoom",Be.transitionName),maskTransitionName:(0,_.m)(cr,"fade",Be.maskTransitionName),rootClassName:zr,zIndex:H})},[xt]);return qr(a.createElement(q.Z.PreviewGroup,Object.assign({preview:St,previewPrefixCls:er,icons:Me},jt)))},Ot=function(Pt,ot){var xt={};for(var jt in Pt)Object.prototype.hasOwnProperty.call(Pt,jt)&&ot.indexOf(jt)<0&&(xt[jt]=Pt[jt]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ht=0,jt=Object.getOwnPropertySymbols(Pt);Ht<jt.length;Ht++)ot.indexOf(jt[Ht])<0&&Object.prototype.propertyIsEnumerable.call(Pt,jt[Ht])&&(xt[jt[Ht]]=Pt[jt[Ht]]);return xt};const _t=Pt=>{const{prefixCls:ot,preview:xt,className:jt,rootClassName:Ht,style:Ct}=Pt,er=Ot(Pt,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:cr,getPopupContainer:Cr,className:qr,style:Ar,preview:x}=(0,y.dj)("image"),[H]=(0,c.Z)("Image"),St=cr("image",ot),ae=cr(),Be=(0,V.Z)(St),[zr,$r,yn]=Ie(St,Be),Mn=Re()(Ht,$r,yn,Be),Ft=Re()(jt,$r,qr),[Sr]=(0,ee.Cn)("ImagePreview",typeof xt=="object"?xt.zIndex:void 0),vr=a.useMemo(()=>{if(xt===!1)return xt;const h=typeof xt=="object"?xt:{},{getContainer:D,closeIcon:Ee,rootClassName:ne}=h,st=Ot(h,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:a.createElement("div",{className:`${St}-mask-info`},a.createElement(qe.Z,null),H==null?void 0:H.preview),icons:Me},st),{rootClassName:Re()(Mn,ne),getContainer:D!=null?D:Cr,transitionName:(0,_.m)(ae,"zoom",h.transitionName),maskTransitionName:(0,_.m)(ae,"fade",h.maskTransitionName),zIndex:Sr,closeIcon:Ee!=null?Ee:x==null?void 0:x.closeIcon})},[xt,H,x==null?void 0:x.closeIcon]),Lr=Object.assign(Object.assign({},Ar),Ct);return zr(a.createElement(q.Z,Object.assign({prefixCls:St,preview:vr,rootClassName:Mn,className:Ft,style:Lr},er)))};_t.PreviewGroup=pt;var Gt=_t},71051:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return se}});var a=n(59301),qe=n(84105),L=n(87395),Re=n(92310),q=n.n(Re),ee=n(20922),_=n(62487),y=n(82855),V=n(48755),c=n(60840),T=n(2171),F=n(83397),G=n(31756),R=n(56553),X=n(24971),N=n(70045),A=n(36237),S=n(53075),E=n(64910),oe=n(39082),J=n(63356),te=n(56119),$e=n(16931),Ne=n(51636),Qe=n(17835);const Ze=w=>{var k;const z=(k=w.handleVisible)!==null&&k!==void 0?k:"auto",C=w.controlHeightSM-w.lineWidth*2;return Object.assign(Object.assign({},(0,E.T)(w)),{controlWidth:90,handleWidth:C,handleFontSize:w.fontSize/2,handleVisible:z,handleActiveBg:w.colorFillAlter,handleBg:w.colorBgContainer,filledHandleBg:new Qe.FastColor(w.colorFillSecondary).onBackground(w.colorBgContainer).toHexString(),handleHoverColor:w.colorPrimary,handleBorderColor:w.colorBorder,handleOpacity:z===!0?1:0,handleVisibleWidth:z===!0?C:0})},we=(w,k)=>{let{componentCls:z,borderRadiusSM:C,borderRadiusLG:Y}=w;const ke=k==="lg"?Y:C;return{[`&-${k}`]:{[`${z}-handler-wrap`]:{borderStartEndRadius:ke,borderEndEndRadius:ke},[`${z}-handler-up`]:{borderStartEndRadius:ke},[`${z}-handler-down`]:{borderEndEndRadius:ke}}}},xe=w=>{const{componentCls:k,lineWidth:z,lineType:C,borderRadius:Y,inputFontSizeSM:ke,inputFontSizeLG:pe,controlHeightLG:Ue,controlHeightSM:at,colorError:ct,paddingInlineSM:ce,paddingBlockSM:Le,paddingBlockLG:wt,paddingInlineLG:Fe,colorTextDescription:De,motionDurationMid:P,handleHoverColor:_e,handleOpacity:be,paddingInline:he,paddingBlock:de,handleBg:me,handleActiveBg:Ie,colorTextDisabled:Se,borderRadiusSM:Me,borderRadiusLG:Je,controlWidth:pt,handleBorderColor:Ot,filledHandleBg:_t,lineHeightLG:Gt,calc:Pt}=w;return[{[k]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,J.Wf)(w)),(0,S.ik)(w)),{display:"inline-block",width:pt,margin:0,padding:0,borderRadius:Y}),(0,oe.qG)(w,{[`${k}-handler-wrap`]:{background:me,[`${k}-handler-down`]:{borderBlockStart:`${(0,A.unit)(z)} ${C} ${Ot}`}}})),(0,oe.H8)(w,{[`${k}-handler-wrap`]:{background:_t,[`${k}-handler-down`]:{borderBlockStart:`${(0,A.unit)(z)} ${C} ${Ot}`}},"&:focus-within":{[`${k}-handler-wrap`]:{background:me}}})),(0,oe.vc)(w,{[`${k}-handler-wrap`]:{background:me,[`${k}-handler-down`]:{borderBlockStart:`${(0,A.unit)(z)} ${C} ${Ot}`}}})),(0,oe.Mu)(w)),{"&-rtl":{direction:"rtl",[`${k}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:pe,lineHeight:Gt,borderRadius:Je,[`input${k}-input`]:{height:Pt(Ue).sub(Pt(z).mul(2)).equal(),padding:`${(0,A.unit)(wt)} ${(0,A.unit)(Fe)}`}},"&-sm":{padding:0,fontSize:ke,borderRadius:Me,[`input${k}-input`]:{height:Pt(at).sub(Pt(z).mul(2)).equal(),padding:`${(0,A.unit)(Le)} ${(0,A.unit)(ce)}`}},"&-out-of-range":{[`${k}-input-wrap`]:{input:{color:ct}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,J.Wf)(w)),(0,S.s7)(w)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${k}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${k}-group-addon`]:{borderRadius:Je,fontSize:w.fontSizeLG}},"&-sm":{[`${k}-group-addon`]:{borderRadius:Me}}},(0,oe.ir)(w)),(0,oe.S5)(w)),{[`&:not(${k}-compact-first-item):not(${k}-compact-last-item)${k}-compact-item`]:{[`${k}, ${k}-group-addon`]:{borderRadius:0}},[`&:not(${k}-compact-last-item)${k}-compact-first-item`]:{[`${k}, ${k}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${k}-compact-first-item)${k}-compact-last-item`]:{[`${k}, ${k}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${k}-input`]:{cursor:"not-allowed"},[k]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,J.Wf)(w)),{width:"100%",padding:`${(0,A.unit)(de)} ${(0,A.unit)(he)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Y,outline:0,transition:`all ${P} linear`,appearance:"textfield",fontSize:"inherit"}),(0,S.nz)(w.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${k}-handler-wrap, &-focused ${k}-handler-wrap`]:{width:w.handleWidth,opacity:1}})},{[k]:Object.assign(Object.assign(Object.assign({[`${k}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:w.handleVisibleWidth,opacity:be,height:"100%",borderStartStartRadius:0,borderStartEndRadius:Y,borderEndEndRadius:Y,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${P}`,overflow:"hidden",[`${k}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
${k}-handler-up-inner,
${k}-handler-down-inner
`]:{marginInlineEnd:0,fontSize:w.handleFontSize}}},[`${k}-handler`]:{height:"50%",overflow:"hidden",color:De,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,A.unit)(z)} ${C} ${Ot}`,transition:`all ${P} linear`,"&:active":{background:Ie},"&:hover":{height:"60%",[`
${k}-handler-up-inner,
${k}-handler-down-inner
`]:{color:_e}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,J.Ro)()),{color:De,transition:`all ${P} linear`,userSelect:"none"})},[`${k}-handler-up`]:{borderStartEndRadius:Y},[`${k}-handler-down`]:{borderEndEndRadius:Y}},we(w,"lg")),we(w,"sm")),{"&-disabled, &-readonly":{[`${k}-handler-wrap`]:{display:"none"},[`${k}-input`]:{color:"inherit"}},[`
${k}-handler-up-disabled,
${k}-handler-down-disabled
`]:{cursor:"not-allowed"},[`
${k}-handler-up-disabled:hover &-handler-up-inner,
${k}-handler-down-disabled:hover &-handler-down-inner
`]:{color:Se}})}]},Q=w=>{const{componentCls:k,paddingBlock:z,paddingInline:C,inputAffixPadding:Y,controlWidth:ke,borderRadiusLG:pe,borderRadiusSM:Ue,paddingInlineLG:at,paddingInlineSM:ct,paddingBlockLG:ce,paddingBlockSM:Le,motionDurationMid:wt}=w;return{[`${k}-affix-wrapper`]:Object.assign(Object.assign({[`input${k}-input`]:{padding:`${(0,A.unit)(z)} 0`}},(0,S.ik)(w)),{position:"relative",display:"inline-flex",alignItems:"center",width:ke,padding:0,paddingInlineStart:C,"&-lg":{borderRadius:pe,paddingInlineStart:at,[`input${k}-input`]:{padding:`${(0,A.unit)(ce)} 0`}},"&-sm":{borderRadius:Ue,paddingInlineStart:ct,[`input${k}-input`]:{padding:`${(0,A.unit)(Le)} 0`}},[`&:not(${k}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${k}-disabled`]:{background:"transparent"},[`> div${k}`]:{width:"100%",border:"none",outline:"none",[`&${k}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${k}-handler-wrap`]:{zIndex:2},[k]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Y},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:C,marginInlineStart:Y,transition:`margin ${wt}`}},[`&:hover ${k}-handler-wrap, &-focused ${k}-handler-wrap`]:{width:w.handleWidth,opacity:1},[`&:not(${k}-affix-wrapper-without-controls):hover ${k}-suffix`]:{marginInlineEnd:w.calc(w.handleWidth).add(C).equal()}})}};var ye=(0,$e.I$)("InputNumber",w=>{const k=(0,Ne.mergeToken)(w,(0,E.e)(w));return[xe(k),Q(k),(0,te.c)(k)]},Ze,{unitless:{handleOpacity:!0}}),j=function(w,k){var z={};for(var C in w)Object.prototype.hasOwnProperty.call(w,C)&&k.indexOf(C)<0&&(z[C]=w[C]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,C=Object.getOwnPropertySymbols(w);Y<C.length;Y++)k.indexOf(C[Y])<0&&Object.prototype.propertyIsEnumerable.call(w,C[Y])&&(z[C[Y]]=w[C[Y]]);return z};const I=a.forwardRef((w,k)=>{const{getPrefixCls:z,direction:C}=a.useContext(V.E_),Y=a.useRef(null);a.useImperativeHandle(k,()=>Y.current);const{className:ke,rootClassName:pe,size:Ue,disabled:at,prefixCls:ct,addonBefore:ce,addonAfter:Le,prefix:wt,suffix:Fe,bordered:De,readOnly:P,status:_e,controls:be,variant:he}=w,de=j(w,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),me=z("input-number",ct),Ie=(0,F.Z)(me),[Se,Me,Je]=ye(me,Ie),{compactSize:pt,compactItemClassnames:Ot}=(0,N.ri)(me,C);let _t=a.createElement(L.Z,{className:`${me}-handler-up-inner`}),Gt=a.createElement(qe.Z,{className:`${me}-handler-down-inner`});const Pt=typeof be=="boolean"?be:void 0;typeof be=="object"&&(_t=typeof be.upIcon=="undefined"?_t:a.createElement("span",{className:`${me}-handler-up-inner`},be.upIcon),Gt=typeof be.downIcon=="undefined"?Gt:a.createElement("span",{className:`${me}-handler-down-inner`},be.downIcon));const{hasFeedback:ot,status:xt,isFormItemInput:jt,feedbackIcon:Ht}=a.useContext(R.aM),Ct=(0,y.F)(xt,_e),er=(0,G.Z)(Be=>{var zr;return(zr=Ue!=null?Ue:pt)!==null&&zr!==void 0?zr:Be}),cr=a.useContext(T.Z),Cr=at!=null?at:cr,[qr,Ar]=(0,X.Z)("inputNumber",he,De),x=ot&&a.createElement(a.Fragment,null,Ht),H=q()({[`${me}-lg`]:er==="large",[`${me}-sm`]:er==="small",[`${me}-rtl`]:C==="rtl",[`${me}-in-form-item`]:jt},Me),St=`${me}-group`,ae=a.createElement(ee.Z,Object.assign({ref:Y,disabled:Cr,className:q()(Je,Ie,ke,pe,Ot),upHandler:_t,downHandler:Gt,prefixCls:me,readOnly:P,controls:Pt,prefix:wt,suffix:x||Fe,addonBefore:ce&&a.createElement(_.Z,{form:!0,space:!0},ce),addonAfter:Le&&a.createElement(_.Z,{form:!0,space:!0},Le),classNames:{input:H,variant:q()({[`${me}-${qr}`]:Ar},(0,y.Z)(me,Ct,ot)),affixWrapper:q()({[`${me}-affix-wrapper-sm`]:er==="small",[`${me}-affix-wrapper-lg`]:er==="large",[`${me}-affix-wrapper-rtl`]:C==="rtl",[`${me}-affix-wrapper-without-controls`]:be===!1||Cr},Me),wrapper:q()({[`${St}-rtl`]:C==="rtl"},Me),groupWrapper:q()({[`${me}-group-wrapper-sm`]:er==="small",[`${me}-group-wrapper-lg`]:er==="large",[`${me}-group-wrapper-rtl`]:C==="rtl",[`${me}-group-wrapper-${qr}`]:Ar},(0,y.Z)(`${me}-group-wrapper`,Ct,ot),Me)}},de));return Se(ae)}),rt=I,le=w=>a.createElement(c.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},a.createElement(I,Object.assign({},w)));rt._InternalPanelDoNotUseOrYouWillBeFired=le;var se=rt},49397:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return J}});var a=n(59301),qe=n(92310),L=n.n(qe),Re=n(36901),q=n(8654),ee=n(62487),_=n(86013),y=n(82855),V=n(48755),c=n(2171),T=n(83397),F=n(31756),G=n(56553),R=n(24971),X=n(70045),N=n(23826),A=n(53075);function S(te){return!!(te.prefix||te.suffix||te.allowClear||te.showCount)}var E=function(te,$e){var Ne={};for(var Qe in te)Object.prototype.hasOwnProperty.call(te,Qe)&&$e.indexOf(Qe)<0&&(Ne[Qe]=te[Qe]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Qe=Object.getOwnPropertySymbols(te);Ze<Qe.length;Ze++)$e.indexOf(Qe[Ze])<0&&Object.prototype.propertyIsEnumerable.call(te,Qe[Ze])&&(Ne[Qe[Ze]]=te[Qe[Ze]]);return Ne},J=(0,a.forwardRef)((te,$e)=>{const{prefixCls:Ne,bordered:Qe=!0,status:Ze,size:we,disabled:xe,onBlur:Q,onFocus:ye,suffix:j,allowClear:I,addonAfter:rt,addonBefore:le,className:se,style:w,styles:k,rootClassName:z,onChange:C,classNames:Y,variant:ke}=te,pe=E(te,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Ue,direction:at,allowClear:ct,autoComplete:ce,className:Le,style:wt,classNames:Fe,styles:De}=(0,V.dj)("input"),P=Ue("input",Ne),_e=(0,a.useRef)(null),be=(0,T.Z)(P),[he,de,me]=(0,A.TI)(P,z),[Ie]=(0,A.ZP)(P,be),{compactSize:Se,compactItemClassnames:Me}=(0,X.ri)(P,at),Je=(0,F.Z)(H=>{var St;return(St=we!=null?we:Se)!==null&&St!==void 0?St:H}),pt=a.useContext(c.Z),Ot=xe!=null?xe:pt,{status:_t,hasFeedback:Gt,feedbackIcon:Pt}=(0,a.useContext)(G.aM),ot=(0,y.F)(_t,Ze),xt=S(te)||!!Gt,jt=(0,a.useRef)(xt),Ht=(0,N.Z)(_e,!0),Ct=H=>{Ht(),Q==null||Q(H)},er=H=>{Ht(),ye==null||ye(H)},cr=H=>{Ht(),C==null||C(H)},Cr=(Gt||j)&&a.createElement(a.Fragment,null,j,Gt&&Pt),qr=(0,_.Z)(I!=null?I:ct),[Ar,x]=(0,R.Z)("input",ke,Qe);return he(Ie(a.createElement(Re.default,Object.assign({ref:(0,q.sQ)($e,_e),prefixCls:P,autoComplete:ce},pe,{disabled:Ot,onBlur:Ct,onFocus:er,style:Object.assign(Object.assign({},wt),w),styles:Object.assign(Object.assign({},De),k),suffix:Cr,allowClear:qr,className:L()(se,z,me,be,Me,Le),onChange:cr,addonBefore:le&&a.createElement(ee.Z,{form:!0,space:!0},le),addonAfter:rt&&a.createElement(ee.Z,{form:!0,space:!0},rt),classNames:Object.assign(Object.assign(Object.assign({},Y),Fe),{input:L()({[`${P}-sm`]:Je==="small",[`${P}-lg`]:Je==="large",[`${P}-rtl`]:at==="rtl"},Y==null?void 0:Y.input,Fe.input,de),variant:L()({[`${P}-${Ar}`]:x},(0,y.Z)(P,ot)),affixWrapper:L()({[`${P}-affix-wrapper-sm`]:Je==="small",[`${P}-affix-wrapper-lg`]:Je==="large",[`${P}-affix-wrapper-rtl`]:at==="rtl"},de),wrapper:L()({[`${P}-group-rtl`]:at==="rtl"},de),groupWrapper:L()({[`${P}-group-wrapper-sm`]:Je==="small",[`${P}-group-wrapper-lg`]:Je==="large",[`${P}-group-wrapper-rtl`]:at==="rtl",[`${P}-group-wrapper-${Ar}`]:x},(0,y.Z)(`${P}-group-wrapper`,ot,Gt),de)})}))))})},79809:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return $e}});var a=n(59301),qe=n(92310),L=n.n(qe),Re=n(22711),q=n(86013),ee=n(82855),_=n(48755),y=n(2171),V=n(83397),c=n(31756),T=n(56553),F=n(24971),G=n(70045),R=n(30292),X=n(53075),N=n(16931),A=n(51636),S=n(64910);const E=Ne=>{const{componentCls:Qe,paddingLG:Ze}=Ne,we=`${Qe}-textarea`;return{[`textarea${Qe}`]:{maxWidth:"100%",height:"auto",minHeight:Ne.controlHeight,lineHeight:Ne.lineHeight,verticalAlign:"bottom",transition:`all ${Ne.motionDurationSlow}`,resize:"vertical",[`&${Qe}-mouse-active`]:{transition:`all ${Ne.motionDurationSlow}, height 0s, width 0s`}},[`${Qe}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[we]:{position:"relative","&-show-count":{[`> ${Qe}`]:{height:"100%"},[`${Qe}-data-count`]:{position:"absolute",bottom:Ne.calc(Ne.fontSize).mul(Ne.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:Ne.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
&-allow-clear > ${Qe},
&-affix-wrapper${we}-has-feedback ${Qe}
`]:{paddingInlineEnd:Ze},[`&-affix-wrapper${Qe}-affix-wrapper`]:{padding:0,[`> textarea${Qe}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:Ne.calc(Ne.controlHeight).sub(Ne.calc(Ne.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${Qe}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${Qe}-clear-icon`]:{position:"absolute",insetInlineEnd:Ne.paddingInline,insetBlockStart:Ne.paddingXS},[`${we}-suffix`]:{position:"absolute",top:0,insetInlineEnd:Ne.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${Qe}-affix-wrapper-sm`]:{[`${Qe}-suffix`]:{[`${Qe}-clear-icon`]:{insetInlineEnd:Ne.paddingInlineSM}}}}}};var oe=(0,N.I$)(["Input","TextArea"],Ne=>{const Qe=(0,A.mergeToken)(Ne,(0,S.e)(Ne));return[E(Qe)]},S.T,{resetFont:!1}),J=function(Ne,Qe){var Ze={};for(var we in Ne)Object.prototype.hasOwnProperty.call(Ne,we)&&Qe.indexOf(we)<0&&(Ze[we]=Ne[we]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,we=Object.getOwnPropertySymbols(Ne);xe<we.length;xe++)Qe.indexOf(we[xe])<0&&Object.prototype.propertyIsEnumerable.call(Ne,we[xe])&&(Ze[we[xe]]=Ne[we[xe]]);return Ze},$e=(0,a.forwardRef)((Ne,Qe)=>{var Ze;const{prefixCls:we,bordered:xe=!0,size:Q,disabled:ye,status:j,allowClear:I,classNames:rt,rootClassName:le,className:se,style:w,styles:k,variant:z,showCount:C,onMouseDown:Y,onResize:ke}=Ne,pe=J(Ne,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Ue,direction:at,allowClear:ct,autoComplete:ce,className:Le,style:wt,classNames:Fe,styles:De}=(0,_.dj)("textArea"),P=a.useContext(y.Z),_e=ye!=null?ye:P,{status:be,hasFeedback:he,feedbackIcon:de}=a.useContext(T.aM),me=(0,ee.F)(be,j),Ie=a.useRef(null);a.useImperativeHandle(Qe,()=>{var x;return{resizableTextArea:(x=Ie.current)===null||x===void 0?void 0:x.resizableTextArea,focus:H=>{var St,ae;(0,R.nH)((ae=(St=Ie.current)===null||St===void 0?void 0:St.resizableTextArea)===null||ae===void 0?void 0:ae.textArea,H)},blur:()=>{var H;return(H=Ie.current)===null||H===void 0?void 0:H.blur()}}});const Se=Ue("input",we),Me=(0,V.Z)(Se),[Je,pt,Ot]=(0,X.TI)(Se,le),[_t]=oe(Se,Me),{compactSize:Gt,compactItemClassnames:Pt}=(0,G.ri)(Se,at),ot=(0,c.Z)(x=>{var H;return(H=Q!=null?Q:Gt)!==null&&H!==void 0?H:x}),[xt,jt]=(0,F.Z)("textArea",z,xe),Ht=(0,q.Z)(I!=null?I:ct),[Ct,er]=a.useState(!1),[cr,Cr]=a.useState(!1),qr=x=>{er(!0),Y==null||Y(x);const H=()=>{er(!1),document.removeEventListener("mouseup",H)};document.addEventListener("mouseup",H)},Ar=x=>{var H,St;if(ke==null||ke(x),Ct&&typeof getComputedStyle=="function"){const ae=(St=(H=Ie.current)===null||H===void 0?void 0:H.nativeElement)===null||St===void 0?void 0:St.querySelector("textarea");ae&&getComputedStyle(ae).resize==="both"&&Cr(!0)}};return Je(_t(a.createElement(Re.default,Object.assign({autoComplete:ce},pe,{style:Object.assign(Object.assign({},wt),w),styles:Object.assign(Object.assign({},De),k),disabled:_e,allowClear:Ht,className:L()(Ot,Me,se,le,Pt,Le,cr&&`${Se}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},rt),Fe),{textarea:L()({[`${Se}-sm`]:ot==="small",[`${Se}-lg`]:ot==="large"},pt,rt==null?void 0:rt.textarea,Fe.textarea,Ct&&`${Se}-mouse-active`),variant:L()({[`${Se}-${xt}`]:jt},(0,ee.Z)(Se,me)),affixWrapper:L()(`${Se}-textarea-affix-wrapper`,{[`${Se}-affix-wrapper-rtl`]:at==="rtl",[`${Se}-affix-wrapper-sm`]:ot==="small",[`${Se}-affix-wrapper-lg`]:ot==="large",[`${Se}-textarea-show-count`]:C||((Ze=Ne.count)===null||Ze===void 0?void 0:Ze.show)},pt)}),prefixCls:Se,suffix:he&&a.createElement("span",{className:`${Se}-textarea-suffix`},de),showCount:C,ref:Ie,onResize:Ar,onMouseDown:qr}))))})},23826:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return qe}});var a=n(59301);function qe(L,Re){const q=(0,a.useRef)([]),ee=()=>{q.current.push(setTimeout(()=>{var _,y,V,c;!((_=L.current)===null||_===void 0)&&_.input&&((y=L.current)===null||y===void 0?void 0:y.input.getAttribute("type"))==="password"&&(!((V=L.current)===null||V===void 0)&&V.input.hasAttribute("value"))&&((c=L.current)===null||c===void 0||c.input.removeAttribute("value"))}))};return(0,a.useEffect)(()=>(Re&&ee(),()=>q.current.forEach(_=>{_&&clearTimeout(_)})),[]),ee}},37568:function(Yr,Kt,n){"use strict";n.d(Kt,{default:function(){return Fe}});var a=n(59301),qe=n(92310),L=n.n(qe),Re=n(48755),q=n(56553),ee=n(53075),y=De=>{const{getPrefixCls:P,direction:_e}=(0,a.useContext)(Re.E_),{prefixCls:be,className:he}=De,de=P("input-group",be),me=P("input"),[Ie,Se,Me]=(0,ee.ZP)(me),Je=L()(de,Me,{[`${de}-lg`]:De.size==="large",[`${de}-sm`]:De.size==="small",[`${de}-compact`]:De.compact,[`${de}-rtl`]:_e==="rtl"},Se,he),pt=(0,a.useContext)(q.aM),Ot=(0,a.useMemo)(()=>Object.assign(Object.assign({},pt),{isFormItemInput:!1}),[pt]);return Ie(a.createElement("span",{className:Je,style:De.style,onMouseEnter:De.onMouseEnter,onMouseLeave:De.onMouseLeave,onFocus:De.onFocus,onBlur:De.onBlur},a.createElement(q.aM.Provider,{value:Ot},De.children)))},V=n(49397),c=n(94480),T=n(6089),F=n(26112),G=n(82855),R=n(31756),X=n(16931),N=n(51636),A=n(64910);const S=De=>{const{componentCls:P,paddingXS:_e}=De;return{[P]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:_e,"&-rtl":{direction:"rtl"},[`${P}-input`]:{textAlign:"center",paddingInline:De.paddingXXS},[`&${P}-sm ${P}-input`]:{paddingInline:De.calc(De.paddingXXS).div(2).equal()},[`&${P}-lg ${P}-input`]:{paddingInline:De.paddingXS}}}};var E=(0,X.I$)(["Input","OTP"],De=>{const P=(0,N.mergeToken)(De,(0,A.e)(De));return[S(P)]},A.T),oe=n(16089),J=function(De,P){var _e={};for(var be in De)Object.prototype.hasOwnProperty.call(De,be)&&P.indexOf(be)<0&&(_e[be]=De[be]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,be=Object.getOwnPropertySymbols(De);he<be.length;he++)P.indexOf(be[he])<0&&Object.prototype.propertyIsEnumerable.call(De,be[he])&&(_e[be[he]]=De[be[he]]);return _e},$e=a.forwardRef((De,P)=>{const{value:_e,onChange:be,onActiveChange:he,index:de,mask:me}=De,Ie=J(De,["value","onChange","onActiveChange","index","mask"]),Se=_e&&typeof me=="string"?me:_e,Me=Gt=>{be(de,Gt.target.value)},Je=a.useRef(null);a.useImperativeHandle(P,()=>Je.current);const pt=()=>{(0,oe.Z)(()=>{var Gt;const Pt=(Gt=Je.current)===null||Gt===void 0?void 0:Gt.input;document.activeElement===Pt&&Pt&&Pt.select()})},Ot=Gt=>{const{key:Pt,ctrlKey:ot,metaKey:xt}=Gt;Pt==="ArrowLeft"?he(de-1):Pt==="ArrowRight"?he(de+1):Pt==="z"&&(ot||xt)&&Gt.preventDefault(),pt()},_t=Gt=>{Gt.key==="Backspace"&&!_e&&he(de-1),pt()};return a.createElement(V.Z,Object.assign({type:me===!0?"password":"text"},Ie,{ref:Je,value:Se,onInput:Me,onFocus:pt,onKeyDown:Ot,onKeyUp:_t,onMouseDown:pt,onMouseUp:pt}))}),Ne=function(De,P){var _e={};for(var be in De)Object.prototype.hasOwnProperty.call(De,be)&&P.indexOf(be)<0&&(_e[be]=De[be]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,be=Object.getOwnPropertySymbols(De);he<be.length;he++)P.indexOf(be[he])<0&&Object.prototype.propertyIsEnumerable.call(De,be[he])&&(_e[be[he]]=De[be[he]]);return _e};function Qe(De){return(De||"").split("")}const Ze=De=>{const{index:P,prefixCls:_e,separator:be}=De,he=typeof be=="function"?be(P):be;return he?a.createElement("span",{className:`${_e}-separator`},he):null};var xe=a.forwardRef((De,P)=>{const{prefixCls:_e,length:be=6,size:he,defaultValue:de,value:me,onChange:Ie,formatter:Se,separator:Me,variant:Je,disabled:pt,status:Ot,autoFocus:_t,mask:Gt,type:Pt,onInput:ot,inputMode:xt}=De,jt=Ne(De,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:Ht,direction:Ct}=a.useContext(Re.E_),er=Ht("otp",_e),cr=(0,F.Z)(jt,{aria:!0,data:!0,attr:!0}),[Cr,qr,Ar]=E(er),x=(0,R.Z)(D=>he!=null?he:D),H=a.useContext(q.aM),St=(0,G.F)(H.status,Ot),ae=a.useMemo(()=>Object.assign(Object.assign({},H),{status:St,hasFeedback:!1,feedbackIcon:null}),[H,St]),Be=a.useRef(null),zr=a.useRef({});a.useImperativeHandle(P,()=>({focus:()=>{var D;(D=zr.current[0])===null||D===void 0||D.focus()},blur:()=>{var D;for(let Ee=0;Ee<be;Ee+=1)(D=zr.current[Ee])===null||D===void 0||D.blur()},nativeElement:Be.current}));const $r=D=>Se?Se(D):D,[yn,Mn]=a.useState(()=>Qe($r(de||"")));a.useEffect(()=>{me!==void 0&&Mn(Qe(me))},[me]);const Ft=(0,T.Z)(D=>{Mn(D),ot&&ot(D),Ie&&D.length===be&&D.every(Ee=>Ee)&&D.some((Ee,ne)=>yn[ne]!==Ee)&&Ie(D.join(""))}),Sr=(0,T.Z)((D,Ee)=>{let ne=(0,c.Z)(yn);for(let gn=0;gn<D;gn+=1)ne[gn]||(ne[gn]="");Ee.length<=1?ne[D]=Ee:ne=ne.slice(0,D).concat(Qe(Ee)),ne=ne.slice(0,be);for(let gn=ne.length-1;gn>=0&&!ne[gn];gn-=1)ne.pop();const st=$r(ne.map(gn=>gn||" ").join(""));return ne=Qe(st).map((gn,mt)=>gn===" "&&!ne[mt]?ne[mt]:gn),ne}),vr=(D,Ee)=>{var ne;const st=Sr(D,Ee),gn=Math.min(D+Ee.length,be-1);gn!==D&&st[D]!==void 0&&((ne=zr.current[gn])===null||ne===void 0||ne.focus()),Ft(st)},Lr=D=>{var Ee;(Ee=zr.current[D])===null||Ee===void 0||Ee.focus()},h={variant:Je,disabled:pt,status:St,mask:Gt,type:Pt,inputMode:xt};return Cr(a.createElement("div",Object.assign({},cr,{ref:Be,className:L()(er,{[`${er}-sm`]:x==="small",[`${er}-lg`]:x==="large",[`${er}-rtl`]:Ct==="rtl"},Ar,qr)}),a.createElement(q.aM.Provider,{value:ae},Array.from({length:be}).map((D,Ee)=>{const ne=`otp-${Ee}`,st=yn[Ee]||"";return a.createElement(a.Fragment,{key:ne},a.createElement($e,Object.assign({ref:gn=>{zr.current[Ee]=gn},index:Ee,size:x,htmlSize:1,className:`${er}-input`,onChange:vr,value:st,onActiveChange:Lr,autoFocus:Ee===0&&_t},h)),Ee<be-1&&a.createElement(Ze,{separator:Me,index:Ee,prefixCls:er}))}))))}),Q=n(73331),ye=n(15277),j=n(2738),I=n(8654),rt=n(2171),le=n(23826),se=function(De,P){var _e={};for(var be in De)Object.prototype.hasOwnProperty.call(De,be)&&P.indexOf(be)<0&&(_e[be]=De[be]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,be=Object.getOwnPropertySymbols(De);he<be.length;he++)P.indexOf(be[he])<0&&Object.prototype.propertyIsEnumerable.call(De,be[he])&&(_e[be[he]]=De[be[he]]);return _e};const w=De=>De?a.createElement(ye.Z,null):a.createElement(Q.Z,null),k={click:"onClick",hover:"onMouseOver"};var C=a.forwardRef((De,P)=>{const{disabled:_e,action:be="click",visibilityToggle:he=!0,iconRender:de=w}=De,me=a.useContext(rt.Z),Ie=_e!=null?_e:me,Se=typeof he=="object"&&he.visible!==void 0,[Me,Je]=(0,a.useState)(()=>Se?he.visible:!1),pt=(0,a.useRef)(null);a.useEffect(()=>{Se&&Je(he.visible)},[Se,he]);const Ot=(0,le.Z)(pt),_t=()=>{var x;if(Ie)return;Me&&Ot();const H=!Me;Je(H),typeof he=="object"&&((x=he.onVisibleChange)===null||x===void 0||x.call(he,H))},Gt=x=>{const H=k[be]||"",St=de(Me),ae={[H]:_t,className:`${x}-icon`,key:"passwordIcon",onMouseDown:Be=>{Be.preventDefault()},onMouseUp:Be=>{Be.preventDefault()}};return a.cloneElement(a.isValidElement(St)?St:a.createElement("span",null,St),ae)},{className:Pt,prefixCls:ot,inputPrefixCls:xt,size:jt}=De,Ht=se(De,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Ct}=a.useContext(Re.E_),er=Ct("input",xt),cr=Ct("input-password",ot),Cr=he&&Gt(cr),qr=L()(cr,Pt,{[`${cr}-${jt}`]:!!jt}),Ar=Object.assign(Object.assign({},(0,j.Z)(Ht,["suffix","iconRender","visibilityToggle"])),{type:Me?"text":"password",className:qr,prefixCls:er,suffix:Cr});return jt&&(Ar.size=jt),a.createElement(V.Z,Object.assign({ref:(0,I.sQ)(P,pt)},Ar))}),Y=n(47472),ke=n(22703),pe=n(99571),Ue=n(70045),at=function(De,P){var _e={};for(var be in De)Object.prototype.hasOwnProperty.call(De,be)&&P.indexOf(be)<0&&(_e[be]=De[be]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,be=Object.getOwnPropertySymbols(De);he<be.length;he++)P.indexOf(be[he])<0&&Object.prototype.propertyIsEnumerable.call(De,be[he])&&(_e[be[he]]=De[be[he]]);return _e},ce=a.forwardRef((De,P)=>{const{prefixCls:_e,inputPrefixCls:be,className:he,size:de,suffix:me,enterButton:Ie=!1,addonAfter:Se,loading:Me,disabled:Je,onSearch:pt,onChange:Ot,onCompositionStart:_t,onCompositionEnd:Gt}=De,Pt=at(De,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:ot,direction:xt}=a.useContext(Re.E_),jt=a.useRef(!1),Ht=ot("input-search",_e),Ct=ot("input",be),{compactSize:er}=(0,Ue.ri)(Ht,xt),cr=(0,R.Z)(vr=>{var Lr;return(Lr=de!=null?de:er)!==null&&Lr!==void 0?Lr:vr}),Cr=a.useRef(null),qr=vr=>{vr!=null&&vr.target&&vr.type==="click"&&pt&&pt(vr.target.value,vr,{source:"clear"}),Ot==null||Ot(vr)},Ar=vr=>{var Lr;document.activeElement===((Lr=Cr.current)===null||Lr===void 0?void 0:Lr.input)&&vr.preventDefault()},x=vr=>{var Lr,h;pt&&pt((h=(Lr=Cr.current)===null||Lr===void 0?void 0:Lr.input)===null||h===void 0?void 0:h.value,vr,{source:"input"})},H=vr=>{jt.current||Me||x(vr)},St=typeof Ie=="boolean"?a.createElement(Y.Z,null):null,ae=`${Ht}-button`;let Be;const zr=Ie||{},$r=zr.type&&zr.type.__ANT_BUTTON===!0;$r||zr.type==="button"?Be=(0,ke.Tm)(zr,Object.assign({onMouseDown:Ar,onClick:vr=>{var Lr,h;(h=(Lr=zr==null?void 0:zr.props)===null||Lr===void 0?void 0:Lr.onClick)===null||h===void 0||h.call(Lr,vr),x(vr)},key:"enterButton"},$r?{className:ae,size:cr}:{})):Be=a.createElement(pe.ZP,{className:ae,type:Ie?"primary":void 0,size:cr,disabled:Je,key:"enterButton",onMouseDown:Ar,onClick:x,loading:Me,icon:St},Ie),Se&&(Be=[Be,(0,ke.Tm)(Se,{key:"addonAfter"})]);const yn=L()(Ht,{[`${Ht}-rtl`]:xt==="rtl",[`${Ht}-${cr}`]:!!cr,[`${Ht}-with-button`]:!!Ie},he),Mn=Object.assign(Object.assign({},Pt),{className:yn,prefixCls:Ct,type:"search"}),Ft=vr=>{jt.current=!0,_t==null||_t(vr)},Sr=vr=>{jt.current=!1,Gt==null||Gt(vr)};return a.createElement(V.Z,Object.assign({ref:(0,I.sQ)(Cr,P),onPressEnter:H},Mn,{size:cr,onCompositionStart:Ft,onCompositionEnd:Sr,addonAfter:Be,suffix:me,onChange:qr,disabled:Je}))}),Le=n(79809);const wt=V.Z;wt.Group=y,wt.Search=ce,wt.TextArea=Le.Z,wt.Password=C,wt.OTP=xe;var Fe=wt},53075:function(Yr,Kt,n){"use strict";n.d(Kt,{TI:function(){return oe},ik:function(){return F},nz:function(){return y},s7:function(){return G},x0:function(){return T}});var a=n(36237),qe=n(63356),L=n(56119),Re=n(16931),q=n(51636),ee=n(64910),_=n(39082);const y=J=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:J,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),V=J=>({borderColor:J.activeBorderColor,boxShadow:J.activeShadow,outline:0,backgroundColor:J.activeBg}),c=J=>{const{paddingBlockLG:te,lineHeightLG:$e,borderRadiusLG:Ne,paddingInlineLG:Qe}=J;return{padding:`${(0,a.unit)(te)} ${(0,a.unit)(Qe)}`,fontSize:J.inputFontSizeLG,lineHeight:$e,borderRadius:Ne}},T=J=>({padding:`${(0,a.unit)(J.paddingBlockSM)} ${(0,a.unit)(J.paddingInlineSM)}`,fontSize:J.inputFontSizeSM,borderRadius:J.borderRadiusSM}),F=J=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,a.unit)(J.paddingBlock)} ${(0,a.unit)(J.paddingInline)}`,color:J.colorText,fontSize:J.inputFontSize,lineHeight:J.lineHeight,borderRadius:J.borderRadius,transition:`all ${J.motionDurationMid}`},y(J.colorTextPlaceholder)),{"&-lg":Object.assign({},c(J)),"&-sm":Object.assign({},T(J)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),G=J=>{const{componentCls:te,antCls:$e}=J;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:J.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${te}, &-lg > ${te}-group-addon`]:Object.assign({},c(J)),[`&-sm ${te}, &-sm > ${te}-group-addon`]:Object.assign({},T(J)),[`&-lg ${$e}-select-single ${$e}-select-selector`]:{height:J.controlHeightLG},[`&-sm ${$e}-select-single ${$e}-select-selector`]:{height:J.controlHeightSM},[`> ${te}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${te}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,a.unit)(J.paddingInline)}`,color:J.colorText,fontWeight:"normal",fontSize:J.inputFontSize,textAlign:"center",borderRadius:J.borderRadius,transition:`all ${J.motionDurationSlow}`,lineHeight:1,[`${$e}-select`]:{margin:`${(0,a.unit)(J.calc(J.paddingBlock).add(1).mul(-1).equal())} ${(0,a.unit)(J.calc(J.paddingInline).mul(-1).equal())}`,[`&${$e}-select-single:not(${$e}-select-customize-input):not(${$e}-pagination-size-changer)`]:{[`${$e}-select-selector`]:{backgroundColor:"inherit",border:`${(0,a.unit)(J.lineWidth)} ${J.lineType} transparent`,boxShadow:"none"}}},[`${$e}-cascader-picker`]:{margin:`-9px ${(0,a.unit)(J.calc(J.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${$e}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[te]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${te}-search-with-button &`]:{zIndex:0}}},[`> ${te}:first-child, ${te}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${$e}-select ${$e}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${te}-affix-wrapper`]:{[`&:not(:first-child) ${te}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${te}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${te}:last-child, ${te}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${$e}-select ${$e}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${te}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${te}-search &`]:{borderStartStartRadius:J.borderRadius,borderEndStartRadius:J.borderRadius}},[`&:not(:first-child), ${te}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${te}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,qe.dF)()),{[`${te}-group-addon, ${te}-group-wrap, > ${te}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:J.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
& > ${te}-affix-wrapper,
& > ${te}-number-affix-wrapper,
& > ${$e}-picker-range
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:J.calc(J.lineWidth).mul(-1).equal(),borderInlineEndWidth:J.lineWidth},[te]:{float:"none"},[`& > ${$e}-select > ${$e}-select-selector,
& > ${$e}-select-auto-complete ${te},
& > ${$e}-cascader-picker ${te},
& > ${te}-group-wrapper ${te}`]:{borderInlineEndWidth:J.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${$e}-select-focused`]:{zIndex:1},[`& > ${$e}-select > ${$e}-select-arrow`]:{zIndex:1},[`& > *:first-child,
& > ${$e}-select:first-child > ${$e}-select-selector,
& > ${$e}-select-auto-complete:first-child ${te},
& > ${$e}-cascader-picker:first-child ${te}`]:{borderStartStartRadius:J.borderRadius,borderEndStartRadius:J.borderRadius},[`& > *:last-child,
& > ${$e}-select:last-child > ${$e}-select-selector,
& > ${$e}-cascader-picker:last-child ${te},
& > ${$e}-cascader-picker-focused:last-child ${te}`]:{borderInlineEndWidth:J.lineWidth,borderStartEndRadius:J.borderRadius,borderEndEndRadius:J.borderRadius},[`& > ${$e}-select-auto-complete ${te}`]:{verticalAlign:"top"},[`${te}-group-wrapper + ${te}-group-wrapper`]:{marginInlineStart:J.calc(J.lineWidth).mul(-1).equal(),[`${te}-affix-wrapper`]:{borderRadius:0}},[`${te}-group-wrapper:not(:last-child)`]:{[`&${te}-search > ${te}-group`]:{[`& > ${te}-group-addon > ${te}-search-button`]:{borderRadius:0},[`& > ${te}`]:{borderStartStartRadius:J.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:J.borderRadius}}}})}},R=J=>{const{componentCls:te,controlHeightSM:$e,lineWidth:Ne,calc:Qe}=J,we=Qe($e).sub(Qe(Ne).mul(2)).sub(16).div(2).equal();return{[te]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,qe.Wf)(J)),F(J)),(0,_.qG)(J)),(0,_.H8)(J)),(0,_.Mu)(J)),(0,_.vc)(J)),{'&[type="color"]':{height:J.controlHeight,[`&${te}-lg`]:{height:J.controlHeightLG},[`&${te}-sm`]:{height:$e,paddingTop:we,paddingBottom:we}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}},X=J=>{const{componentCls:te}=J;return{[`${te}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:J.colorTextQuaternary,fontSize:J.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${J.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:J.colorTextTertiary},"&:active":{color:J.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,a.unit)(J.inputAffixPadding)}`}}}},N=J=>{const{componentCls:te,inputAffixPadding:$e,colorTextDescription:Ne,motionDurationSlow:Qe,colorIcon:Ze,colorIconHover:we,iconCls:xe}=J,Q=`${te}-affix-wrapper`,ye=`${te}-affix-wrapper-disabled`;return{[Q]:Object.assign(Object.assign(Object.assign(Object.assign({},F(J)),{display:"inline-flex",[`&:not(${te}-disabled):hover`]:{zIndex:1,[`${te}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${te}`]:{padding:0},[`> input${te}, > textarea${te}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[te]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:J.paddingXS}},"&-show-count-suffix":{color:Ne},"&-show-count-has-suffix":{marginInlineEnd:J.paddingXXS},"&-prefix":{marginInlineEnd:$e},"&-suffix":{marginInlineStart:$e}}}),X(J)),{[`${xe}${te}-password-icon`]:{color:Ze,cursor:"pointer",transition:`all ${Qe}`,"&:hover":{color:we}}}),[`${te}-underlined`]:{borderRadius:0},[ye]:{[`${xe}${te}-password-icon`]:{color:Ze,cursor:"not-allowed","&:hover":{color:Ze}}}}},A=J=>{const{componentCls:te,borderRadiusLG:$e,borderRadiusSM:Ne}=J;return{[`${te}-group`]:Object.assign(Object.assign(Object.assign({},(0,qe.Wf)(J)),G(J)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${te}-group-addon`]:{borderRadius:$e,fontSize:J.inputFontSizeLG}},"&-sm":{[`${te}-group-addon`]:{borderRadius:Ne}}},(0,_.ir)(J)),(0,_.S5)(J)),{[`&:not(${te}-compact-first-item):not(${te}-compact-last-item)${te}-compact-item`]:{[`${te}, ${te}-group-addon`]:{borderRadius:0}},[`&:not(${te}-compact-last-item)${te}-compact-first-item`]:{[`${te}, ${te}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${te}-compact-first-item)${te}-compact-last-item`]:{[`${te}, ${te}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${te}-compact-last-item)${te}-compact-item`]:{[`${te}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${te}-compact-first-item)${te}-compact-item`]:{[`${te}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}},S=J=>{const{componentCls:te,antCls:$e}=J,Ne=`${te}-search`;return{[Ne]:{[te]:{"&:hover, &:focus":{[`+ ${te}-group-addon ${Ne}-button:not(${$e}-btn-primary)`]:{borderInlineStartColor:J.colorPrimaryHover}}},[`${te}-affix-wrapper`]:{height:J.controlHeight,borderRadius:0},[`${te}-lg`]:{lineHeight:J.calc(J.lineHeightLG).sub(2e-4).equal()},[`> ${te}-group`]:{[`> ${te}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${Ne}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${Ne}-button:not(${$e}-btn-primary)`]:{color:J.colorTextDescription,"&:hover":{color:J.colorPrimaryHover},"&:active":{color:J.colorPrimaryActive},[`&${$e}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${Ne}-button`]:{height:J.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${te}-affix-wrapper, ${Ne}-button`]:{height:J.controlHeightLG}},"&-small":{[`${te}-affix-wrapper, ${Ne}-button`]:{height:J.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${te}-compact-item`]:{[`&:not(${te}-compact-last-item)`]:{[`${te}-group-addon`]:{[`${te}-search-button`]:{marginInlineEnd:J.calc(J.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${te}-compact-first-item)`]:{[`${te},${te}-affix-wrapper`]:{borderRadius:0}},[`> ${te}-group-addon ${te}-search-button,
> ${te},
${te}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${te}-affix-wrapper-focused`]:{zIndex:2}}}}},E=J=>{const{componentCls:te}=J;return{[`${te}-out-of-range`]:{[`&, & input, & textarea, ${te}-show-count-suffix, ${te}-data-count`]:{color:J.colorError}}}},oe=(0,Re.I$)(["Input","Shared"],J=>{const te=(0,q.mergeToken)(J,(0,ee.e)(J));return[R(te),N(te)]},ee.T,{resetFont:!1});Kt.ZP=(0,Re.I$)(["Input","Component"],J=>{const te=(0,q.mergeToken)(J,(0,ee.e)(J));return[A(te),S(te),E(te),(0,L.c)(te)]},ee.T,{resetFont:!1})},64910:function(Yr,Kt,n){"use strict";n.d(Kt,{T:function(){return L},e:function(){return qe}});var a=n(51636);function qe(Re){return(0,a.mergeToken)(Re,{inputAffixPadding:Re.paddingXXS})}const L=Re=>{const{controlHeight:q,fontSize:ee,lineHeight:_,lineWidth:y,controlHeightSM:V,controlHeightLG:c,fontSizeLG:T,lineHeightLG:F,paddingSM:G,controlPaddingHorizontalSM:R,controlPaddingHorizontal:X,colorFillAlter:N,colorPrimaryHover:A,colorPrimary:S,controlOutlineWidth:E,controlOutline:oe,colorErrorOutline:J,colorWarningOutline:te,colorBgContainer:$e,inputFontSize:Ne,inputFontSizeLG:Qe,inputFontSizeSM:Ze}=Re,we=Ne||ee,xe=Ze||we,Q=Qe||T,ye=Math.round((q-we*_)/2*10)/10-y,j=Math.round((V-xe*_)/2*10)/10-y,I=Math.ceil((c-Q*F)/2*10)/10-y;return{paddingBlock:Math.max(ye,0),paddingBlockSM:Math.max(j,0),paddingBlockLG:Math.max(I,0),paddingInline:G-y,paddingInlineSM:R-y,paddingInlineLG:X-y,addonBg:N,activeBorderColor:S,hoverBorderColor:A,activeShadow:`0 0 0 ${E}px ${oe}`,errorActiveShadow:`0 0 0 ${E}px ${J}`,warningActiveShadow:`0 0 0 ${E}px ${te}`,hoverBg:$e,activeBg:$e,inputFontSize:we,inputFontSizeLG:Q,inputFontSizeSM:xe}}},39082:function(Yr,Kt,n){"use strict";n.d(Kt,{$U:function(){return q},H8:function(){return G},Mu:function(){return c},S5:function(){return X},Xy:function(){return Re},ir:function(){return V},qG:function(){return _},vc:function(){return S}});var a=n(36237),qe=n(51636);const L=E=>({borderColor:E.hoverBorderColor,backgroundColor:E.hoverBg}),Re=E=>({color:E.colorTextDisabled,backgroundColor:E.colorBgContainerDisabled,borderColor:E.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},L((0,qe.mergeToken)(E,{hoverBorderColor:E.colorBorder,hoverBg:E.colorBgContainerDisabled})))}),q=(E,oe)=>({background:E.colorBgContainer,borderWidth:E.lineWidth,borderStyle:E.lineType,borderColor:oe.borderColor,"&:hover":{borderColor:oe.hoverBorderColor,backgroundColor:E.hoverBg},"&:focus, &:focus-within":{borderColor:oe.activeBorderColor,boxShadow:oe.activeShadow,outline:0,backgroundColor:E.activeBg}}),ee=(E,oe)=>({[`&${E.componentCls}-status-${oe.status}:not(${E.componentCls}-disabled)`]:Object.assign(Object.assign({},q(E,oe)),{[`${E.componentCls}-prefix, ${E.componentCls}-suffix`]:{color:oe.affixColor}}),[`&${E.componentCls}-status-${oe.status}${E.componentCls}-disabled`]:{borderColor:oe.borderColor}}),_=(E,oe)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},q(E,{borderColor:E.colorBorder,hoverBorderColor:E.hoverBorderColor,activeBorderColor:E.activeBorderColor,activeShadow:E.activeShadow})),{[`&${E.componentCls}-disabled, &[disabled]`]:Object.assign({},Re(E))}),ee(E,{status:"error",borderColor:E.colorError,hoverBorderColor:E.colorErrorBorderHover,activeBorderColor:E.colorError,activeShadow:E.errorActiveShadow,affixColor:E.colorError})),ee(E,{status:"warning",borderColor:E.colorWarning,hoverBorderColor:E.colorWarningBorderHover,activeBorderColor:E.colorWarning,activeShadow:E.warningActiveShadow,affixColor:E.colorWarning})),oe)}),y=(E,oe)=>({[`&${E.componentCls}-group-wrapper-status-${oe.status}`]:{[`${E.componentCls}-group-addon`]:{borderColor:oe.addonBorderColor,color:oe.addonColor}}}),V=E=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${E.componentCls}-group`]:{"&-addon":{background:E.addonBg,border:`${(0,a.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},y(E,{status:"error",addonBorderColor:E.colorError,addonColor:E.colorErrorText})),y(E,{status:"warning",addonBorderColor:E.colorWarning,addonColor:E.colorWarningText})),{[`&${E.componentCls}-group-wrapper-disabled`]:{[`${E.componentCls}-group-addon`]:Object.assign({},Re(E))}})}),c=(E,oe)=>{const{componentCls:J}=E;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${J}-disabled, &[disabled]`]:{color:E.colorTextDisabled,cursor:"not-allowed"},[`&${J}-status-error`]:{"&, & input, & textarea":{color:E.colorError}},[`&${J}-status-warning`]:{"&, & input, & textarea":{color:E.colorWarning}}},oe)}},T=(E,oe)=>{var J;return{background:oe.bg,borderWidth:E.lineWidth,borderStyle:E.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:(J=oe==null?void 0:oe.inputColor)!==null&&J!==void 0?J:"unset"},"&:hover":{background:oe.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:oe.activeBorderColor,backgroundColor:E.activeBg}}},F=(E,oe)=>({[`&${E.componentCls}-status-${oe.status}:not(${E.componentCls}-disabled)`]:Object.assign(Object.assign({},T(E,oe)),{[`${E.componentCls}-prefix, ${E.componentCls}-suffix`]:{color:oe.affixColor}})}),G=(E,oe)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},T(E,{bg:E.colorFillTertiary,hoverBg:E.colorFillSecondary,activeBorderColor:E.activeBorderColor})),{[`&${E.componentCls}-disabled, &[disabled]`]:Object.assign({},Re(E))}),F(E,{status:"error",bg:E.colorErrorBg,hoverBg:E.colorErrorBgHover,activeBorderColor:E.colorError,inputColor:E.colorErrorText,affixColor:E.colorError})),F(E,{status:"warning",bg:E.colorWarningBg,hoverBg:E.colorWarningBgHover,activeBorderColor:E.colorWarning,inputColor:E.colorWarningText,affixColor:E.colorWarning})),oe)}),R=(E,oe)=>({[`&${E.componentCls}-group-wrapper-status-${oe.status}`]:{[`${E.componentCls}-group-addon`]:{background:oe.addonBg,color:oe.addonColor}}}),X=E=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${E.componentCls}-group`]:{"&-addon":{background:E.colorFillTertiary},[`${E.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,a.unit)(E.lineWidth)} ${E.lineType} ${E.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,a.unit)(E.lineWidth)} ${E.lineType} ${E.colorSplit}`}}}},R(E,{status:"error",addonBg:E.colorErrorBg,addonColor:E.colorErrorText})),R(E,{status:"warning",addonBg:E.colorWarningBg,addonColor:E.colorWarningText})),{[`&${E.componentCls}-group-wrapper-disabled`]:{[`${E.componentCls}-group`]:{"&-addon":{background:E.colorFillTertiary,color:E.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,a.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`,borderTop:`${(0,a.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`,borderBottom:`${(0,a.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,a.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`,borderTop:`${(0,a.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`,borderBottom:`${(0,a.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`}}}})}),N=(E,oe)=>({background:E.colorBgContainer,borderWidth:`${(0,a.unit)(E.lineWidth)} 0`,borderStyle:`${E.lineType} none`,borderColor:`transparent transparent ${oe.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${oe.borderColor} transparent`,backgroundColor:E.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${oe.borderColor} transparent`,outline:0,backgroundColor:E.activeBg}}),A=(E,oe)=>({[`&${E.componentCls}-status-${oe.status}:not(${E.componentCls}-disabled)`]:Object.assign(Object.assign({},N(E,oe)),{[`${E.componentCls}-prefix, ${E.componentCls}-suffix`]:{color:oe.affixColor}}),[`&${E.componentCls}-status-${oe.status}${E.componentCls}-disabled`]:{borderColor:`transparent transparent ${oe.borderColor} transparent`}}),S=(E,oe)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},N(E,{borderColor:E.colorBorder,hoverBorderColor:E.hoverBorderColor,activeBorderColor:E.activeBorderColor,activeShadow:E.activeShadow})),{[`&${E.componentCls}-disabled, &[disabled]`]:{color:E.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${E.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),A(E,{status:"error",borderColor:E.colorError,hoverBorderColor:E.colorErrorBorderHover,activeBorderColor:E.colorError,activeShadow:E.errorActiveShadow,affixColor:E.colorError})),A(E,{status:"warning",borderColor:E.colorWarning,hoverBorderColor:E.colorWarningBorderHover,activeBorderColor:E.colorWarning,activeShadow:E.warningActiveShadow,affixColor:E.colorWarning})),oe)})},24303:function(Yr,Kt,n){"use strict";n.d(Kt,{D:function(){return Ne},Z:function(){return we}});var a=n(59301),qe=n(54476),L={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"},Re=L,q=n(7657),ee=function(Q,ye){return a.createElement(q.Z,(0,qe.Z)({},Q,{ref:ye,icon:Re}))},_=a.forwardRef(ee),y=_,V=n(33853),c=n(38819),T=n(92310),F=n.n(T),G=n(2738),R=n(48755),X=n(6989),N=n(36237),A=n(48923),S=n(16931);const E=xe=>{const{componentCls:Q,siderBg:ye,motionDurationMid:j,motionDurationSlow:I,antCls:rt,triggerHeight:le,triggerColor:se,triggerBg:w,headerHeight:k,zeroTriggerWidth:z,zeroTriggerHeight:C,borderRadiusLG:Y,lightSiderBg:ke,lightTriggerColor:pe,lightTriggerBg:Ue,bodyBg:at}=xe;return{[Q]:{position:"relative",minWidth:0,background:ye,transition:`all ${j}, background 0s`,"&-has-trigger":{paddingBottom:le},"&-right":{order:1},[`${Q}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${rt}-menu${rt}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${Q}-children`]:{overflow:"hidden"},[`${Q}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:le,color:se,lineHeight:(0,N.unit)(le),textAlign:"center",background:w,cursor:"pointer",transition:`all ${j}`},[`${Q}-zero-width-trigger`]:{position:"absolute",top:k,insetInlineEnd:xe.calc(z).mul(-1).equal(),zIndex:1,width:z,height:C,color:se,fontSize:xe.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ye,borderRadius:`0 ${(0,N.unit)(Y)} ${(0,N.unit)(Y)} 0`,cursor:"pointer",transition:`background ${I} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${I}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:xe.calc(z).mul(-1).equal(),borderRadius:`${(0,N.unit)(Y)} 0 0 ${(0,N.unit)(Y)}`}},"&-light":{background:ke,[`${Q}-trigger`]:{color:pe,background:Ue},[`${Q}-zero-width-trigger`]:{color:pe,background:Ue,border:`1px solid ${at}`,borderInlineStart:0}}}}};var oe=(0,S.I$)(["Layout","Sider"],xe=>[E(xe)],A.eh,{deprecatedTokens:A.jn}),J=function(xe,Q){var ye={};for(var j in xe)Object.prototype.hasOwnProperty.call(xe,j)&&Q.indexOf(j)<0&&(ye[j]=xe[j]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,j=Object.getOwnPropertySymbols(xe);I<j.length;I++)Q.indexOf(j[I])<0&&Object.prototype.propertyIsEnumerable.call(xe,j[I])&&(ye[j[I]]=xe[j[I]]);return ye};const te={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},$e=xe=>!Number.isNaN(Number.parseFloat(xe))&&isFinite(xe),Ne=a.createContext({}),Qe=(()=>{let xe=0;return function(){let Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return xe+=1,`${Q}${xe}`}})();var we=a.forwardRef((xe,Q)=>{const{prefixCls:ye,className:j,trigger:I,children:rt,defaultCollapsed:le=!1,theme:se="dark",style:w={},collapsible:k=!1,reverseArrow:z=!1,width:C=200,collapsedWidth:Y=80,zeroWidthTriggerStyle:ke,breakpoint:pe,onCollapse:Ue,onBreakpoint:at}=xe,ct=J(xe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ce}=(0,a.useContext)(X.V),[Le,wt]=(0,a.useState)("collapsed"in xe?xe.collapsed:le),[Fe,De]=(0,a.useState)(!1);(0,a.useEffect)(()=>{"collapsed"in xe&&wt(xe.collapsed)},[xe.collapsed]);const P=(cr,Cr)=>{"collapsed"in xe||wt(cr),Ue==null||Ue(cr,Cr)},{getPrefixCls:_e,direction:be}=(0,a.useContext)(R.E_),he=_e("layout-sider",ye),[de,me,Ie]=oe(he),Se=(0,a.useRef)(null);Se.current=cr=>{De(cr.matches),at==null||at(cr.matches),Le!==cr.matches&&P(cr.matches,"responsive")},(0,a.useEffect)(()=>{function cr(qr){return Se.current(qr)}let Cr;if(typeof window!="undefined"){const{matchMedia:qr}=window;if(qr&&pe&&pe in te){Cr=qr(`screen and (max-width: ${te[pe]})`);try{Cr.addEventListener("change",cr)}catch(Ar){Cr.addListener(cr)}cr(Cr)}}return()=>{try{Cr==null||Cr.removeEventListener("change",cr)}catch(qr){Cr==null||Cr.removeListener(cr)}}},[pe]),(0,a.useEffect)(()=>{const cr=Qe("ant-sider-");return ce.addSider(cr),()=>ce.removeSider(cr)},[]);const Me=()=>{P(!Le,"clickTrigger")},Je=(0,G.Z)(ct,["collapsed"]),pt=Le?Y:C,Ot=$e(pt)?`${pt}px`:String(pt),_t=parseFloat(String(Y||0))===0?a.createElement("span",{onClick:Me,className:F()(`${he}-zero-width-trigger`,`${he}-zero-width-trigger-${z?"right":"left"}`),style:ke},I||a.createElement(y,null)):null,Gt=be==="rtl"==!z,xt={expanded:Gt?a.createElement(c.Z,null):a.createElement(V.Z,null),collapsed:Gt?a.createElement(V.Z,null):a.createElement(c.Z,null)}[Le?"collapsed":"expanded"],jt=I!==null?_t||a.createElement("div",{className:`${he}-trigger`,onClick:Me,style:{width:Ot}},I||xt):null,Ht=Object.assign(Object.assign({},w),{flex:`0 0 ${Ot}`,maxWidth:Ot,minWidth:Ot,width:Ot}),Ct=F()(he,`${he}-${se}`,{[`${he}-collapsed`]:!!Le,[`${he}-has-trigger`]:k&&I!==null&&!_t,[`${he}-below`]:!!Fe,[`${he}-zero-width`]:parseFloat(Ot)===0},j,me,Ie),er=a.useMemo(()=>({siderCollapsed:Le}),[Le]);return de(a.createElement(Ne.Provider,{value:er},a.createElement("aside",Object.assign({className:Ct},Je,{style:Ht,ref:Q}),a.createElement("div",{className:`${he}-children`},rt),k||Fe&&_t?jt:null)))})},6989:function(Yr,Kt,n){"use strict";n.d(Kt,{V:function(){return qe}});var a=n(59301);const qe=a.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},24404:function(Yr,Kt,n){"use strict";n.d(Kt,{default:function(){return te}});var a=n(94480),qe=n(59301),L=n(92310),Re=n.n(L),q=n(2738),ee=n(48755),_=n(6989),y=n(11592),V=n(24303);function c($e,Ne,Qe){return typeof Qe=="boolean"?Qe:$e.length?!0:(0,y.Z)(Ne).some(we=>we.type===V.Z)}var T=n(48923),F=function($e,Ne){var Qe={};for(var Ze in $e)Object.prototype.hasOwnProperty.call($e,Ze)&&Ne.indexOf(Ze)<0&&(Qe[Ze]=$e[Ze]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Ze=Object.getOwnPropertySymbols($e);we<Ze.length;we++)Ne.indexOf(Ze[we])<0&&Object.prototype.propertyIsEnumerable.call($e,Ze[we])&&(Qe[Ze[we]]=$e[Ze[we]]);return Qe};function G($e){let{suffixCls:Ne,tagName:Qe,displayName:Ze}=$e;return we=>qe.forwardRef((Q,ye)=>qe.createElement(we,Object.assign({ref:ye,suffixCls:Ne,tagName:Qe},Q)))}const R=qe.forwardRef(($e,Ne)=>{const{prefixCls:Qe,suffixCls:Ze,className:we,tagName:xe}=$e,Q=F($e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ye}=qe.useContext(ee.E_),j=ye("layout",Qe),[I,rt,le]=(0,T.ZP)(j),se=Ze?`${j}-${Ze}`:j;return I(qe.createElement(xe,Object.assign({className:Re()(Qe||se,we,rt,le),ref:Ne},Q)))}),X=qe.forwardRef(($e,Ne)=>{const{direction:Qe}=qe.useContext(ee.E_),[Ze,we]=qe.useState([]),{prefixCls:xe,className:Q,rootClassName:ye,children:j,hasSider:I,tagName:rt,style:le}=$e,se=F($e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),w=(0,q.Z)(se,["suffixCls"]),{getPrefixCls:k,className:z,style:C}=(0,ee.dj)("layout"),Y=k("layout",xe),ke=c(Ze,j,I),[pe,Ue,at]=(0,T.ZP)(Y),ct=Re()(Y,{[`${Y}-has-sider`]:ke,[`${Y}-rtl`]:Qe==="rtl"},z,Q,ye,Ue,at),ce=qe.useMemo(()=>({siderHook:{addSider:Le=>{we(wt=>[].concat((0,a.Z)(wt),[Le]))},removeSider:Le=>{we(wt=>wt.filter(Fe=>Fe!==Le))}}}),[]);return pe(qe.createElement(_.V.Provider,{value:ce},qe.createElement(rt,Object.assign({ref:Ne,className:ct,style:Object.assign(Object.assign({},C),le)},w),j)))}),N=G({tagName:"div",displayName:"Layout"})(X),A=G({suffixCls:"header",tagName:"header",displayName:"Header"})(R),S=G({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(R),E=G({suffixCls:"content",tagName:"main",displayName:"Content"})(R);var oe=N;const J=oe;J.Header=A,J.Footer=S,J.Content=E,J.Sider=V.Z,J._InternalSiderContext=V.D;var te=J},48923:function(Yr,Kt,n){"use strict";n.d(Kt,{eh:function(){return Re},jn:function(){return q}});var a=n(36237),qe=n(16931);const L=ee=>{const{antCls:_,componentCls:y,colorText:V,footerBg:c,headerHeight:T,headerPadding:F,headerColor:G,footerPadding:R,fontSize:X,bodyBg:N,headerBg:A}=ee;return{[y]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:N,"&, *":{boxSizing:"border-box"},[`&${y}-has-sider`]:{flexDirection:"row",[`> ${y}, > ${y}-content`]:{width:0}},[`${y}-header, &${y}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${y}-header`]:{height:T,padding:F,color:G,lineHeight:(0,a.unit)(T),background:A,[`${_}-menu`]:{lineHeight:"inherit"}},[`${y}-footer`]:{padding:R,color:V,fontSize:X,background:c},[`${y}-content`]:{flex:"auto",color:V,minHeight:0}}},Re=ee=>{const{colorBgLayout:_,controlHeight:y,controlHeightLG:V,colorText:c,controlHeightSM:T,marginXXS:F,colorTextLightSolid:G,colorBgContainer:R}=ee,X=V*1.25;return{colorBgHeader:"#001529",colorBgBody:_,colorBgTrigger:"#002140",bodyBg:_,headerBg:"#001529",headerHeight:y*2,headerPadding:`0 ${X}px`,headerColor:c,footerPadding:`${T}px ${X}px`,footerBg:_,siderBg:"#001529",triggerHeight:V+F*2,triggerBg:"#002140",triggerColor:G,zeroTriggerWidth:V,zeroTriggerHeight:V,lightSiderBg:R,lightTriggerBg:R,lightTriggerColor:c}},q=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];Kt.ZP=(0,qe.I$)("Layout",ee=>[L(ee)],Re,{deprecatedTokens:q})},78857:function(Yr,Kt,n){"use strict";n.d(Kt,{J:function(){return ee}});var a=n(59301),qe=n(8654),L=n(62487),Re=function(_,y){var V={};for(var c in _)Object.prototype.hasOwnProperty.call(_,c)&&y.indexOf(c)<0&&(V[c]=_[c]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,c=Object.getOwnPropertySymbols(_);T<c.length;T++)y.indexOf(c[T])<0&&Object.prototype.propertyIsEnumerable.call(_,c[T])&&(V[c[T]]=_[c[T]]);return V};const q=a.createContext(null),ee=a.forwardRef((_,y)=>{const{children:V}=_,c=Re(_,["children"]),T=a.useContext(q),F=a.useMemo(()=>Object.assign(Object.assign({},T),c),[T,c.prefixCls,c.mode,c.selectable,c.rootClassName]),G=(0,qe.t4)(V),R=(0,qe.x1)(y,G?(0,qe.C4)(V):null);return a.createElement(q.Provider,{value:F},a.createElement(L.Z,{space:!0},G?a.cloneElement(V,{ref:R}):V))});Kt.Z=q},93041:function(Yr,Kt,n){"use strict";n.d(Kt,{default:function(){return de}});var a=n(59301),qe=n(28321),L=n(24303),Re=n(18785),q=n(92310),ee=n.n(q),_=n(6089),y=n(2738),V=n(86641),c=n(22703),T=n(48755),F=n(83397),R=(0,a.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),X=function(me,Ie){var Se={};for(var Me in me)Object.prototype.hasOwnProperty.call(me,Me)&&Ie.indexOf(Me)<0&&(Se[Me]=me[Me]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,Me=Object.getOwnPropertySymbols(me);Je<Me.length;Je++)Ie.indexOf(Me[Je])<0&&Object.prototype.propertyIsEnumerable.call(me,Me[Je])&&(Se[Me[Je]]=me[Me[Je]]);return Se},A=me=>{const{prefixCls:Ie,className:Se,dashed:Me}=me,Je=X(me,["prefixCls","className","dashed"]),{getPrefixCls:pt}=a.useContext(T.E_),Ot=pt("menu",Ie),_t=ee()({[`${Ot}-item-divider-dashed`]:!!Me},Se);return a.createElement(qe.iz,Object.assign({className:_t},Je))},S=n(11592),E=n(25399),J=me=>{var Ie;const{className:Se,children:Me,icon:Je,title:pt,danger:Ot,extra:_t}=me,{prefixCls:Gt,firstLevel:Pt,direction:ot,disableMenuItemTitleTooltip:xt,inlineCollapsed:jt}=a.useContext(R),Ht=Ar=>{const x=Me==null?void 0:Me[0],H=a.createElement("span",{className:ee()(`${Gt}-title-content`,{[`${Gt}-title-content-with-extra`]:!!_t||_t===0})},Me);return(!Je||a.isValidElement(Me)&&Me.type==="span")&&Me&&Ar&&Pt&&typeof x=="string"?a.createElement("div",{className:`${Gt}-inline-collapsed-noicon`},x.charAt(0)):H},{siderCollapsed:Ct}=a.useContext(L.D);let er=pt;typeof pt=="undefined"?er=Pt?Me:"":pt===!1&&(er="");const cr={title:er};!Ct&&!jt&&(cr.title=null,cr.open=!1);const Cr=(0,S.Z)(Me).length;let qr=a.createElement(qe.ck,Object.assign({},(0,y.Z)(me,["title","icon","danger"]),{className:ee()({[`${Gt}-item-danger`]:Ot,[`${Gt}-item-only-child`]:(Je?Cr+1:Cr)===1},Se),title:typeof pt=="string"?pt:void 0}),(0,c.Tm)(Je,{className:ee()(a.isValidElement(Je)?(Ie=Je.props)===null||Ie===void 0?void 0:Ie.className:"",`${Gt}-item-icon`)}),Ht(jt));return xt||(qr=a.createElement(E.Z,Object.assign({},cr,{placement:ot==="rtl"?"left":"right",classNames:{root:`${Gt}-inline-collapsed-tooltip`}}),qr)),qr},te=n(78857),$e=n(36237),Ne=n(17835),Qe=n(63356),Ze=n(34961),we=n(46e3),xe=n(34925),Q=n(16931),ye=n(51636),I=me=>{const{componentCls:Ie,motionDurationSlow:Se,horizontalLineHeight:Me,colorSplit:Je,lineWidth:pt,lineType:Ot,itemPaddingInline:_t}=me;return{[`${Ie}-horizontal`]:{lineHeight:Me,border:0,borderBottom:`${(0,$e.unit)(pt)} ${Ot} ${Je}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ie}-item, ${Ie}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:_t},[`> ${Ie}-item:hover,
> ${Ie}-item-active,
> ${Ie}-submenu ${Ie}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ie}-item, ${Ie}-submenu-title`]:{transition:[`border-color ${Se}`,`background ${Se}`].join(",")},[`${Ie}-submenu-arrow`]:{display:"none"}}}},le=me=>{let{componentCls:Ie,menuArrowOffset:Se,calc:Me}=me;return{[`${Ie}-rtl`]:{direction:"rtl"},[`${Ie}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ie}-rtl${Ie}-vertical,
${Ie}-submenu-rtl ${Ie}-vertical`]:{[`${Ie}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,$e.unit)(Me(Se).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,$e.unit)(Se)})`}}}}};const se=me=>Object.assign({},(0,Qe.oN)(me));var k=(me,Ie)=>{const{componentCls:Se,itemColor:Me,itemSelectedColor:Je,subMenuItemSelectedColor:pt,groupTitleColor:Ot,itemBg:_t,subMenuItemBg:Gt,itemSelectedBg:Pt,activeBarHeight:ot,activeBarWidth:xt,activeBarBorderWidth:jt,motionDurationSlow:Ht,motionEaseInOut:Ct,motionEaseOut:er,itemPaddingInline:cr,motionDurationMid:Cr,itemHoverColor:qr,lineType:Ar,colorSplit:x,itemDisabledColor:H,dangerItemColor:St,dangerItemHoverColor:ae,dangerItemSelectedColor:Be,dangerItemActiveBg:zr,dangerItemSelectedBg:$r,popupBg:yn,itemHoverBg:Mn,itemActiveBg:Ft,menuSubMenuBg:Sr,horizontalItemSelectedColor:vr,horizontalItemSelectedBg:Lr,horizontalItemBorderRadius:h,horizontalItemHoverBg:D}=me;return{[`${Se}-${Ie}, ${Se}-${Ie} > ${Se}`]:{color:Me,background:_t,[`&${Se}-root:focus-visible`]:Object.assign({},se(me)),[`${Se}-item`]:{"&-group-title, &-extra":{color:Ot}},[`${Se}-submenu-selected > ${Se}-submenu-title`]:{color:pt},[`${Se}-item, ${Se}-submenu-title`]:{color:Me,[`&:not(${Se}-item-disabled):focus-visible`]:Object.assign({},se(me))},[`${Se}-item-disabled, ${Se}-submenu-disabled`]:{color:`${H} !important`},[`${Se}-item:not(${Se}-item-selected):not(${Se}-submenu-selected)`]:{[`&:hover, > ${Se}-submenu-title:hover`]:{color:qr}},[`&:not(${Se}-horizontal)`]:{[`${Se}-item:not(${Se}-item-selected)`]:{"&:hover":{backgroundColor:Mn},"&:active":{backgroundColor:Ft}},[`${Se}-submenu-title`]:{"&:hover":{backgroundColor:Mn},"&:active":{backgroundColor:Ft}}},[`${Se}-item-danger`]:{color:St,[`&${Se}-item:hover`]:{[`&:not(${Se}-item-selected):not(${Se}-submenu-selected)`]:{color:ae}},[`&${Se}-item:active`]:{background:zr}},[`${Se}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Se}-item-selected`]:{color:Je,[`&${Se}-item-danger`]:{color:Be},"a, a:hover":{color:"inherit"}},[`& ${Se}-item-selected`]:{backgroundColor:Pt,[`&${Se}-item-danger`]:{backgroundColor:$r}},[`&${Se}-submenu > ${Se}`]:{backgroundColor:Sr},[`&${Se}-popup > ${Se}`]:{backgroundColor:yn},[`&${Se}-submenu-popup > ${Se}`]:{backgroundColor:yn},[`&${Se}-horizontal`]:Object.assign(Object.assign({},Ie==="dark"?{borderBottom:0}:{}),{[`> ${Se}-item, > ${Se}-submenu`]:{top:jt,marginTop:me.calc(jt).mul(-1).equal(),marginBottom:0,borderRadius:h,"&::after":{position:"absolute",insetInline:cr,bottom:0,borderBottom:`${(0,$e.unit)(ot)} solid transparent`,transition:`border-color ${Ht} ${Ct}`,content:'""'},"&:hover, &-active, &-open":{background:D,"&::after":{borderBottomWidth:ot,borderBottomColor:vr}},"&-selected":{color:vr,backgroundColor:Lr,"&:hover":{backgroundColor:Lr},"&::after":{borderBottomWidth:ot,borderBottomColor:vr}}}}),[`&${Se}-root`]:{[`&${Se}-inline, &${Se}-vertical`]:{borderInlineEnd:`${(0,$e.unit)(jt)} ${Ar} ${x}`}},[`&${Se}-inline`]:{[`${Se}-sub${Se}-inline`]:{background:Gt},[`${Se}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,$e.unit)(xt)} solid ${Je}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Cr} ${er}`,`opacity ${Cr} ${er}`].join(","),content:'""'},[`&${Se}-item-danger`]:{"&::after":{borderInlineEndColor:Be}}},[`${Se}-selected, ${Se}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Cr} ${Ct}`,`opacity ${Cr} ${Ct}`].join(",")}}}}}};const z=me=>{const{componentCls:Ie,itemHeight:Se,itemMarginInline:Me,padding:Je,menuArrowSize:pt,marginXS:Ot,itemMarginBlock:_t,itemWidth:Gt,itemPaddingInline:Pt}=me,ot=me.calc(pt).add(Je).add(Ot).equal();return{[`${Ie}-item`]:{position:"relative",overflow:"hidden"},[`${Ie}-item, ${Ie}-submenu-title`]:{height:Se,lineHeight:(0,$e.unit)(Se),paddingInline:Pt,overflow:"hidden",textOverflow:"ellipsis",marginInline:Me,marginBlock:_t,width:Gt},[`> ${Ie}-item,
> ${Ie}-submenu > ${Ie}-submenu-title`]:{height:Se,lineHeight:(0,$e.unit)(Se)},[`${Ie}-item-group-list ${Ie}-submenu-title,
${Ie}-submenu-title`]:{paddingInlineEnd:ot}}};var Y=me=>{const{componentCls:Ie,iconCls:Se,itemHeight:Me,colorTextLightSolid:Je,dropdownWidth:pt,controlHeightLG:Ot,motionEaseOut:_t,paddingXL:Gt,itemMarginInline:Pt,fontSizeLG:ot,motionDurationFast:xt,motionDurationSlow:jt,paddingXS:Ht,boxShadowSecondary:Ct,collapsedWidth:er,collapsedIconSize:cr}=me,Cr={height:Me,lineHeight:(0,$e.unit)(Me),listStylePosition:"inside",listStyleType:"disc"};return[{[Ie]:{"&-inline, &-vertical":Object.assign({[`&${Ie}-root`]:{boxShadow:"none"}},z(me))},[`${Ie}-submenu-popup`]:{[`${Ie}-vertical`]:Object.assign(Object.assign({},z(me)),{boxShadow:Ct})}},{[`${Ie}-submenu-popup ${Ie}-vertical${Ie}-sub`]:{minWidth:pt,maxHeight:`calc(100vh - ${(0,$e.unit)(me.calc(Ot).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ie}-inline`]:{width:"100%",[`&${Ie}-root`]:{[`${Ie}-item, ${Ie}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${jt}`,`background ${jt}`,`padding ${xt} ${_t}`].join(","),[`> ${Ie}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ie}-sub${Ie}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ie}-submenu > ${Ie}-submenu-title`]:Cr,[`& ${Ie}-item-group-title`]:{paddingInlineStart:Gt}},[`${Ie}-item`]:Cr}},{[`${Ie}-inline-collapsed`]:{width:er,[`&${Ie}-root`]:{[`${Ie}-item, ${Ie}-submenu ${Ie}-submenu-title`]:{[`> ${Ie}-inline-collapsed-noicon`]:{fontSize:ot,textAlign:"center"}}},[`> ${Ie}-item,
> ${Ie}-item-group > ${Ie}-item-group-list > ${Ie}-item,
> ${Ie}-item-group > ${Ie}-item-group-list > ${Ie}-submenu > ${Ie}-submenu-title,
> ${Ie}-submenu > ${Ie}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,$e.unit)(me.calc(cr).div(2).equal())} - ${(0,$e.unit)(Pt)})`,textOverflow:"clip",[`
${Ie}-submenu-arrow,
${Ie}-submenu-expand-icon
`]:{opacity:0},[`${Ie}-item-icon, ${Se}`]:{margin:0,fontSize:cr,lineHeight:(0,$e.unit)(Me),"+ span":{display:"inline-block",opacity:0}}},[`${Ie}-item-icon, ${Se}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ie}-item-icon, ${Se}`]:{display:"none"},"a, a:hover":{color:Je}},[`${Ie}-item-group-title`]:Object.assign(Object.assign({},Qe.vS),{paddingInline:Ht})}}]};const ke=me=>{const{componentCls:Ie,motionDurationSlow:Se,motionDurationMid:Me,motionEaseInOut:Je,motionEaseOut:pt,iconCls:Ot,iconSize:_t,iconMarginInlineEnd:Gt}=me;return{[`${Ie}-item, ${Ie}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Se}`,`background ${Se}`,`padding calc(${Se} + 0.1s) ${Je}`].join(","),[`${Ie}-item-icon, ${Ot}`]:{minWidth:_t,fontSize:_t,transition:[`font-size ${Me} ${pt}`,`margin ${Se} ${Je}`,`color ${Se}`].join(","),"+ span":{marginInlineStart:Gt,opacity:1,transition:[`opacity ${Se} ${Je}`,`margin ${Se}`,`color ${Se}`].join(",")}},[`${Ie}-item-icon`]:Object.assign({},(0,Qe.Ro)()),[`&${Ie}-item-only-child`]:{[`> ${Ot}, > ${Ie}-item-icon`]:{marginInlineEnd:0}}},[`${Ie}-item-disabled, ${Ie}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${Ie}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},pe=me=>{const{componentCls:Ie,motionDurationSlow:Se,motionEaseInOut:Me,borderRadius:Je,menuArrowSize:pt,menuArrowOffset:Ot}=me;return{[`${Ie}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:me.margin,width:pt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Se} ${Me}, opacity ${Se}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:me.calc(pt).mul(.6).equal(),height:me.calc(pt).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:Je,transition:[`background ${Se} ${Me}`,`transform ${Se} ${Me}`,`top ${Se} ${Me}`,`color ${Se} ${Me}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,$e.unit)(me.calc(Ot).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,$e.unit)(Ot)})`}}}}},Ue=me=>{const{antCls:Ie,componentCls:Se,fontSize:Me,motionDurationSlow:Je,motionDurationMid:pt,motionEaseInOut:Ot,paddingXS:_t,padding:Gt,colorSplit:Pt,lineWidth:ot,zIndexPopup:xt,borderRadiusLG:jt,subMenuItemBorderRadius:Ht,menuArrowSize:Ct,menuArrowOffset:er,lineType:cr,groupTitleLineHeight:Cr,groupTitleFontSize:qr}=me;return[{"":{[Se]:Object.assign(Object.assign({},(0,Qe.dF)()),{"&-hidden":{display:"none"}})},[`${Se}-submenu-hidden`]:{display:"none"}},{[Se]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(me)),(0,Qe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Me,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Je} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Se}-item`]:{flex:"none"}},[`${Se}-item, ${Se}-submenu, ${Se}-submenu-title`]:{borderRadius:me.itemBorderRadius},[`${Se}-item-group-title`]:{padding:`${(0,$e.unit)(_t)} ${(0,$e.unit)(Gt)}`,fontSize:qr,lineHeight:Cr,transition:`all ${Je}`},[`&-horizontal ${Se}-submenu`]:{transition:[`border-color ${Je} ${Ot}`,`background ${Je} ${Ot}`].join(",")},[`${Se}-submenu, ${Se}-submenu-inline`]:{transition:[`border-color ${Je} ${Ot}`,`background ${Je} ${Ot}`,`padding ${pt} ${Ot}`].join(",")},[`${Se}-submenu ${Se}-sub`]:{cursor:"initial",transition:[`background ${Je} ${Ot}`,`padding ${Je} ${Ot}`].join(",")},[`${Se}-title-content`]:{transition:`color ${Je}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${Ie}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${Se}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:me.padding}},[`${Se}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Se}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Pt,borderStyle:cr,borderWidth:0,borderTopWidth:ot,marginBlock:ot,padding:0,"&-dashed":{borderStyle:"dashed"}}}),ke(me)),{[`${Se}-item-group`]:{[`${Se}-item-group-list`]:{margin:0,padding:0,[`${Se}-item, ${Se}-submenu-title`]:{paddingInline:`${(0,$e.unit)(me.calc(Me).mul(2).equal())} ${(0,$e.unit)(Gt)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:xt,borderRadius:jt,boxShadow:"none",transformOrigin:"0 0",[`&${Se}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${Se}`]:Object.assign(Object.assign(Object.assign({borderRadius:jt},ke(me)),pe(me)),{[`${Se}-item, ${Se}-submenu > ${Se}-submenu-title`]:{borderRadius:Ht},[`${Se}-submenu-title::after`]:{transition:`transform ${Je} ${Ot}`}})},"\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:me.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:me.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:me.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:me.paddingXS}}}),pe(me)),{[`&-inline-collapsed ${Se}-submenu-arrow,
&-inline ${Se}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,$e.unit)(er)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,$e.unit)(me.calc(er).mul(-1).equal())})`}},[`${Se}-submenu-open${Se}-submenu-inline > ${Se}-submenu-title > ${Se}-submenu-arrow`]:{transform:`translateY(${(0,$e.unit)(me.calc(Ct).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,$e.unit)(me.calc(er).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,$e.unit)(er)})`}}})},{[`${Ie}-layout-header`]:{[Se]:{lineHeight:"inherit"}}}]},at=me=>{var Ie,Se,Me;const{colorPrimary:Je,colorError:pt,colorTextDisabled:Ot,colorErrorBg:_t,colorText:Gt,colorTextDescription:Pt,colorBgContainer:ot,colorFillAlter:xt,colorFillContent:jt,lineWidth:Ht,lineWidthBold:Ct,controlItemBgActive:er,colorBgTextHover:cr,controlHeightLG:Cr,lineHeight:qr,colorBgElevated:Ar,marginXXS:x,padding:H,fontSize:St,controlHeightSM:ae,fontSizeLG:Be,colorTextLightSolid:zr,colorErrorHover:$r}=me,yn=(Ie=me.activeBarWidth)!==null&&Ie!==void 0?Ie:0,Mn=(Se=me.activeBarBorderWidth)!==null&&Se!==void 0?Se:Ht,Ft=(Me=me.itemMarginInline)!==null&&Me!==void 0?Me:me.marginXXS,Sr=new Ne.FastColor(zr).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:me.zIndexPopupBase+50,radiusItem:me.borderRadiusLG,itemBorderRadius:me.borderRadiusLG,radiusSubMenuItem:me.borderRadiusSM,subMenuItemBorderRadius:me.borderRadiusSM,colorItemText:Gt,itemColor:Gt,colorItemTextHover:Gt,itemHoverColor:Gt,colorItemTextHoverHorizontal:Je,horizontalItemHoverColor:Je,colorGroupTitle:Pt,groupTitleColor:Pt,colorItemTextSelected:Je,itemSelectedColor:Je,subMenuItemSelectedColor:Je,colorItemTextSelectedHorizontal:Je,horizontalItemSelectedColor:Je,colorItemBg:ot,itemBg:ot,colorItemBgHover:cr,itemHoverBg:cr,colorItemBgActive:jt,itemActiveBg:er,colorSubItemBg:xt,subMenuItemBg:xt,colorItemBgSelected:er,itemSelectedBg:er,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:yn,colorActiveBarHeight:Ct,activeBarHeight:Ct,colorActiveBarBorderSize:Ht,activeBarBorderWidth:Mn,colorItemTextDisabled:Ot,itemDisabledColor:Ot,colorDangerItemText:pt,dangerItemColor:pt,colorDangerItemTextHover:pt,dangerItemHoverColor:pt,colorDangerItemTextSelected:pt,dangerItemSelectedColor:pt,colorDangerItemBgActive:_t,dangerItemActiveBg:_t,colorDangerItemBgSelected:_t,dangerItemSelectedBg:_t,itemMarginInline:Ft,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Cr,groupTitleLineHeight:qr,collapsedWidth:Cr*2,popupBg:Ar,itemMarginBlock:x,itemPaddingInline:H,horizontalLineHeight:`${Cr*1.15}px`,iconSize:St,iconMarginInlineEnd:ae-St,collapsedIconSize:Be,groupTitleFontSize:St,darkItemDisabledColor:new Ne.FastColor(zr).setA(.25).toRgbString(),darkItemColor:Sr,darkDangerItemColor:pt,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:zr,darkItemSelectedBg:Je,darkDangerItemSelectedBg:pt,darkItemHoverBg:"transparent",darkGroupTitleColor:Sr,darkItemHoverColor:zr,darkDangerItemHoverColor:$r,darkDangerItemSelectedColor:zr,darkDangerItemActiveBg:pt,itemWidth:yn?`calc(100% + ${Mn}px)`:`calc(100% - ${Ft*2}px)`}};var ct=function(me){let Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:me,Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,Q.I$)("Menu",Je=>{const{colorBgElevated:pt,controlHeightLG:Ot,fontSize:_t,darkItemColor:Gt,darkDangerItemColor:Pt,darkItemBg:ot,darkSubMenuItemBg:xt,darkItemSelectedColor:jt,darkItemSelectedBg:Ht,darkDangerItemSelectedBg:Ct,darkItemHoverBg:er,darkGroupTitleColor:cr,darkItemHoverColor:Cr,darkItemDisabledColor:qr,darkDangerItemHoverColor:Ar,darkDangerItemSelectedColor:x,darkDangerItemActiveBg:H,popupBg:St,darkPopupBg:ae}=Je,Be=Je.calc(_t).div(7).mul(5).equal(),zr=(0,ye.mergeToken)(Je,{menuArrowSize:Be,menuHorizontalHeight:Je.calc(Ot).mul(1.15).equal(),menuArrowOffset:Je.calc(Be).mul(.25).equal(),menuSubMenuBg:pt,calc:Je.calc,popupBg:St}),$r=(0,ye.mergeToken)(zr,{itemColor:Gt,itemHoverColor:Cr,groupTitleColor:cr,itemSelectedColor:jt,subMenuItemSelectedColor:jt,itemBg:ot,popupBg:ae,subMenuItemBg:xt,itemActiveBg:"transparent",itemSelectedBg:Ht,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:er,itemDisabledColor:qr,dangerItemColor:Pt,dangerItemHoverColor:Ar,dangerItemSelectedColor:x,dangerItemActiveBg:H,dangerItemSelectedBg:Ct,menuSubMenuBg:xt,horizontalItemSelectedColor:jt,horizontalItemSelectedBg:Ht});return[Ue(zr),I(zr),Y(zr),k(zr,"light"),k($r,"dark"),le(zr),(0,Ze.Z)(zr),(0,we.oN)(zr,"slide-up"),(0,we.oN)(zr,"slide-down"),(0,xe._y)(zr,"zoom-big")]},at,{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:Se,unitless:{groupTitleLineHeight:!0}})(me,Ie)},ce=n(75030),wt=me=>{var Ie;const{popupClassName:Se,icon:Me,title:Je,theme:pt}=me,Ot=a.useContext(R),{prefixCls:_t,inlineCollapsed:Gt,theme:Pt}=Ot,ot=(0,qe.Xl)();let xt;if(!Me)xt=Gt&&!ot.length&&Je&&typeof Je=="string"?a.createElement("div",{className:`${_t}-inline-collapsed-noicon`},Je.charAt(0)):a.createElement("span",{className:`${_t}-title-content`},Je);else{const Ct=a.isValidElement(Je)&&Je.type==="span";xt=a.createElement(a.Fragment,null,(0,c.Tm)(Me,{className:ee()(a.isValidElement(Me)?(Ie=Me.props)===null||Ie===void 0?void 0:Ie.className:"",`${_t}-item-icon`)}),Ct?Je:a.createElement("span",{className:`${_t}-title-content`},Je))}const jt=a.useMemo(()=>Object.assign(Object.assign({},Ot),{firstLevel:!1}),[Ot]),[Ht]=(0,ce.Cn)("Menu");return a.createElement(R.Provider,{value:jt},a.createElement(qe.Wd,Object.assign({},(0,y.Z)(me,["icon"]),{title:xt,popupClassName:ee()(_t,Se,`${_t}-${pt||Pt}`),popupStyle:Object.assign({zIndex:Ht},me.popupStyle)})))},Fe=function(me,Ie){var Se={};for(var Me in me)Object.prototype.hasOwnProperty.call(me,Me)&&Ie.indexOf(Me)<0&&(Se[Me]=me[Me]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,Me=Object.getOwnPropertySymbols(me);Je<Me.length;Je++)Ie.indexOf(Me[Je])<0&&Object.prototype.propertyIsEnumerable.call(me,Me[Je])&&(Se[Me[Je]]=me[Me[Je]]);return Se};function De(me){return me===null||me===!1}const P={item:J,submenu:wt,divider:A};var be=(0,a.forwardRef)((me,Ie)=>{var Se;const Me=a.useContext(te.Z),Je=Me||{},{getPrefixCls:pt,getPopupContainer:Ot,direction:_t,menu:Gt}=a.useContext(T.E_),Pt=pt(),{prefixCls:ot,className:xt,style:jt,theme:Ht="light",expandIcon:Ct,_internalDisableMenuItemTitleTooltip:er,inlineCollapsed:cr,siderCollapsed:Cr,rootClassName:qr,mode:Ar,selectable:x,onClick:H,overflowedIndicatorPopupClassName:St}=me,ae=Fe(me,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Be=(0,y.Z)(ae,["collapsedWidth"]);(Se=Je.validator)===null||Se===void 0||Se.call(Je,{mode:Ar});const zr=(0,_.Z)(function(){var gn;H==null||H.apply(void 0,arguments),(gn=Je.onClick)===null||gn===void 0||gn.call(Je)}),$r=Je.mode||Ar,yn=x!=null?x:Je.selectable,Mn=cr!=null?cr:Cr,Ft={horizontal:{motionName:`${Pt}-slide-up`},inline:(0,V.Z)(Pt),other:{motionName:`${Pt}-zoom-big`}},Sr=pt("menu",ot||Je.prefixCls),vr=(0,F.Z)(Sr),[Lr,h,D]=ct(Sr,vr,!Me),Ee=ee()(`${Sr}-${Ht}`,Gt==null?void 0:Gt.className,xt),ne=a.useMemo(()=>{var gn,mt;if(typeof Ct=="function"||De(Ct))return Ct||null;if(typeof Je.expandIcon=="function"||De(Je.expandIcon))return Je.expandIcon||null;if(typeof(Gt==null?void 0:Gt.expandIcon)=="function"||De(Gt==null?void 0:Gt.expandIcon))return(Gt==null?void 0:Gt.expandIcon)||null;const Zt=(gn=Ct!=null?Ct:Je==null?void 0:Je.expandIcon)!==null&&gn!==void 0?gn:Gt==null?void 0:Gt.expandIcon;return(0,c.Tm)(Zt,{className:ee()(`${Sr}-submenu-expand-icon`,a.isValidElement(Zt)?(mt=Zt.props)===null||mt===void 0?void 0:mt.className:void 0)})},[Ct,Je==null?void 0:Je.expandIcon,Gt==null?void 0:Gt.expandIcon,Sr]),st=a.useMemo(()=>({prefixCls:Sr,inlineCollapsed:Mn||!1,direction:_t,firstLevel:!0,theme:Ht,mode:$r,disableMenuItemTitleTooltip:er}),[Sr,Mn,_t,er,Ht]);return Lr(a.createElement(te.Z.Provider,{value:null},a.createElement(R.Provider,{value:st},a.createElement(qe.ZP,Object.assign({getPopupContainer:Ot,overflowedIndicator:a.createElement(Re.Z,null),overflowedIndicatorPopupClassName:ee()(Sr,`${Sr}-${Ht}`,St),mode:$r,selectable:yn,onClick:zr},Be,{inlineCollapsed:Mn,style:Object.assign(Object.assign({},Gt==null?void 0:Gt.style),jt),className:Ee,prefixCls:Sr,direction:_t,defaultMotions:Ft,expandIcon:ne,ref:Ie,rootClassName:ee()(qr,h,Je.rootClassName,D,vr),_internalComponents:P})))))});const he=(0,a.forwardRef)((me,Ie)=>{const Se=(0,a.useRef)(null),Me=a.useContext(L.D);return(0,a.useImperativeHandle)(Ie,()=>({menu:Se.current,focus:Je=>{var pt;(pt=Se.current)===null||pt===void 0||pt.focus(Je)}})),a.createElement(be,Object.assign({ref:Se},me,Me))});he.Item=J,he.SubMenu=wt,he.Divider=A,he.ItemGroup=qe.BW;var de=he},13747:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return ct}});var a=n(59301),qe=n(54476),L={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"},Re=L,q=n(7657),ee=function(Le,wt){return a.createElement(q.Z,(0,qe.Z)({},Le,{ref:wt,icon:Re}))},_=a.forwardRef(ee),y=_,V=n(49198),c=n(33853),T=n(38819),F=n(92310),G=n.n(F),R=n(23425),X=n(61852),N=n(48755),A=n(31756),S=n(13783),E=n(9017),oe=n(82326),J=n(57700),te=n(36237),$e=n(53075),Ne=n(64910),Qe=n(39082),Ze=n(63356),we=n(51636),xe=n(16931);const Q=ce=>{const{componentCls:Le}=ce;return{[`${Le}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Le}-item-link`]:{color:ce.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Le}-item-link`]:{color:ce.colorTextDisabled,cursor:"not-allowed"}}},[`&${Le}-disabled`]:{cursor:"not-allowed",[`${Le}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:ce.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:ce.colorBorder,backgroundColor:ce.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:ce.itemActiveBgDisabled},a:{color:ce.itemActiveColorDisabled}}},[`${Le}-item-link`]:{color:ce.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Le}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Le}-simple-pager`]:{color:ce.colorTextDisabled},[`${Le}-jump-prev, ${Le}-jump-next`]:{[`${Le}-item-link-icon`]:{opacity:0},[`${Le}-item-ellipsis`]:{opacity:1}}},[`&${Le}-simple`]:{[`${Le}-prev, ${Le}-next`]:{[`&${Le}-disabled ${Le}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},ye=ce=>{const{componentCls:Le}=ce;return{[`&${Le}-mini ${Le}-total-text, &${Le}-mini ${Le}-simple-pager`]:{height:ce.itemSizeSM,lineHeight:(0,te.unit)(ce.itemSizeSM)},[`&${Le}-mini ${Le}-item`]:{minWidth:ce.itemSizeSM,height:ce.itemSizeSM,margin:0,lineHeight:(0,te.unit)(ce.calc(ce.itemSizeSM).sub(2).equal())},[`&${Le}-mini ${Le}-prev, &${Le}-mini ${Le}-next`]:{minWidth:ce.itemSizeSM,height:ce.itemSizeSM,margin:0,lineHeight:(0,te.unit)(ce.itemSizeSM)},[`&${Le}-mini:not(${Le}-disabled)`]:{[`${Le}-prev, ${Le}-next`]:{[`&:hover ${Le}-item-link`]:{backgroundColor:ce.colorBgTextHover},[`&:active ${Le}-item-link`]:{backgroundColor:ce.colorBgTextActive},[`&${Le}-disabled:hover ${Le}-item-link`]:{backgroundColor:"transparent"}}},[`
&${Le}-mini ${Le}-prev ${Le}-item-link,
&${Le}-mini ${Le}-next ${Le}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:ce.itemSizeSM,lineHeight:(0,te.unit)(ce.itemSizeSM)}},[`&${Le}-mini ${Le}-jump-prev, &${Le}-mini ${Le}-jump-next`]:{height:ce.itemSizeSM,marginInlineEnd:0,lineHeight:(0,te.unit)(ce.itemSizeSM)},[`&${Le}-mini ${Le}-options`]:{marginInlineStart:ce.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:ce.miniOptionsSizeChangerTop},"&-quick-jumper":{height:ce.itemSizeSM,lineHeight:(0,te.unit)(ce.itemSizeSM),input:Object.assign(Object.assign({},(0,$e.x0)(ce)),{width:ce.paginationMiniQuickJumperInputWidth,height:ce.controlHeightSM})}}}},j=ce=>{const{componentCls:Le}=ce;return{[`
&${Le}-simple ${Le}-prev,
&${Le}-simple ${Le}-next
`]:{height:ce.itemSizeSM,lineHeight:(0,te.unit)(ce.itemSizeSM),verticalAlign:"top",[`${Le}-item-link`]:{height:ce.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:ce.colorBgTextHover},"&:active":{backgroundColor:ce.colorBgTextActive},"&::after":{height:ce.itemSizeSM,lineHeight:(0,te.unit)(ce.itemSizeSM)}}},[`&${Le}-simple ${Le}-simple-pager`]:{display:"inline-block",height:ce.itemSizeSM,marginInlineEnd:ce.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,te.unit)(ce.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:ce.itemInputBg,border:`${(0,te.unit)(ce.lineWidth)} ${ce.lineType} ${ce.colorBorder}`,borderRadius:ce.borderRadius,outline:"none",transition:`border-color ${ce.motionDurationMid}`,color:"inherit","&:hover":{borderColor:ce.colorPrimary},"&:focus":{borderColor:ce.colorPrimaryHover,boxShadow:`${(0,te.unit)(ce.inputOutlineOffset)} 0 ${(0,te.unit)(ce.controlOutlineWidth)} ${ce.controlOutline}`},"&[disabled]":{color:ce.colorTextDisabled,backgroundColor:ce.colorBgContainerDisabled,borderColor:ce.colorBorder,cursor:"not-allowed"}}}}},I=ce=>{const{componentCls:Le}=ce;return{[`${Le}-jump-prev, ${Le}-jump-next`]:{outline:0,[`${Le}-item-container`]:{position:"relative",[`${Le}-item-link-icon`]:{color:ce.colorPrimary,fontSize:ce.fontSizeSM,opacity:0,transition:`all ${ce.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Le}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:ce.colorTextDisabled,letterSpacing:ce.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:ce.paginationEllipsisTextIndent,opacity:1,transition:`all ${ce.motionDurationMid}`}},"&:hover":{[`${Le}-item-link-icon`]:{opacity:1},[`${Le}-item-ellipsis`]:{opacity:0}}},[`
${Le}-prev,
${Le}-jump-prev,
${Le}-jump-next
`]:{marginInlineEnd:ce.marginXS},[`
${Le}-prev,
${Le}-next,
${Le}-jump-prev,
${Le}-jump-next
`]:{display:"inline-block",minWidth:ce.itemSize,height:ce.itemSize,color:ce.colorText,fontFamily:ce.fontFamily,lineHeight:(0,te.unit)(ce.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:ce.borderRadius,cursor:"pointer",transition:`all ${ce.motionDurationMid}`},[`${Le}-prev, ${Le}-next`]:{outline:0,button:{color:ce.colorText,cursor:"pointer",userSelect:"none"},[`${Le}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:ce.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,te.unit)(ce.lineWidth)} ${ce.lineType} transparent`,borderRadius:ce.borderRadius,outline:"none",transition:`all ${ce.motionDurationMid}`},[`&:hover ${Le}-item-link`]:{backgroundColor:ce.colorBgTextHover},[`&:active ${Le}-item-link`]:{backgroundColor:ce.colorBgTextActive},[`&${Le}-disabled:hover`]:{[`${Le}-item-link`]:{backgroundColor:"transparent"}}},[`${Le}-slash`]:{marginInlineEnd:ce.paginationSlashMarginInlineEnd,marginInlineStart:ce.paginationSlashMarginInlineStart},[`${Le}-options`]:{display:"inline-block",marginInlineStart:ce.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:ce.controlHeight,marginInlineStart:ce.marginXS,lineHeight:(0,te.unit)(ce.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,$e.ik)(ce)),(0,Qe.$U)(ce,{borderColor:ce.colorBorder,hoverBorderColor:ce.colorPrimaryHover,activeBorderColor:ce.colorPrimary,activeShadow:ce.activeShadow})),{"&[disabled]":Object.assign({},(0,Qe.Xy)(ce)),width:ce.calc(ce.controlHeightLG).mul(1.25).equal(),height:ce.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:ce.marginXS,marginInlineEnd:ce.marginXS})}}}},rt=ce=>{const{componentCls:Le}=ce;return{[`${Le}-item`]:{display:"inline-block",minWidth:ce.itemSize,height:ce.itemSize,marginInlineEnd:ce.marginXS,fontFamily:ce.fontFamily,lineHeight:(0,te.unit)(ce.calc(ce.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:ce.itemBg,border:`${(0,te.unit)(ce.lineWidth)} ${ce.lineType} transparent`,borderRadius:ce.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,te.unit)(ce.paginationItemPaddingInline)}`,color:ce.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Le}-item-active)`]:{"&:hover":{transition:`all ${ce.motionDurationMid}`,backgroundColor:ce.colorBgTextHover},"&:active":{backgroundColor:ce.colorBgTextActive}},"&-active":{fontWeight:ce.fontWeightStrong,backgroundColor:ce.itemActiveBg,borderColor:ce.colorPrimary,a:{color:ce.colorPrimary},"&:hover":{borderColor:ce.colorPrimaryHover},"&:hover a":{color:ce.colorPrimaryHover}}}}},le=ce=>{const{componentCls:Le}=ce;return{[Le]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ze.Wf)(ce)),{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:'""'},[`${Le}-total-text`]:{display:"inline-block",height:ce.itemSize,marginInlineEnd:ce.marginXS,lineHeight:(0,te.unit)(ce.calc(ce.itemSize).sub(2).equal()),verticalAlign:"middle"}}),rt(ce)),I(ce)),j(ce)),ye(ce)),Q(ce)),{[`@media only screen and (max-width: ${ce.screenLG}px)`]:{[`${Le}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${ce.screenSM}px)`]:{[`${Le}-options`]:{display:"none"}}}),[`&${ce.componentCls}-rtl`]:{direction:"rtl"}}},se=ce=>{const{componentCls:Le}=ce;return{[`${Le}:not(${Le}-disabled)`]:{[`${Le}-item`]:Object.assign({},(0,Ze.Qy)(ce)),[`${Le}-jump-prev, ${Le}-jump-next`]:{"&:focus-visible":Object.assign({[`${Le}-item-link-icon`]:{opacity:1},[`${Le}-item-ellipsis`]:{opacity:0}},(0,Ze.oN)(ce))},[`${Le}-prev, ${Le}-next`]:{[`&:focus-visible ${Le}-item-link`]:Object.assign({},(0,Ze.oN)(ce))}}}},w=ce=>Object.assign({itemBg:ce.colorBgContainer,itemSize:ce.controlHeight,itemSizeSM:ce.controlHeightSM,itemActiveBg:ce.colorBgContainer,itemLinkBg:ce.colorBgContainer,itemActiveColorDisabled:ce.colorTextDisabled,itemActiveBgDisabled:ce.controlItemBgActiveDisabled,itemInputBg:ce.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Ne.T)(ce)),k=ce=>(0,we.mergeToken)(ce,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:ce.calc(ce.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:ce.calc(ce.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:ce.calc(ce.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:ce.calc(ce.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:ce.marginSM,paginationSlashMarginInlineEnd:ce.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Ne.e)(ce));var z=(0,xe.I$)("Pagination",ce=>{const Le=k(ce);return[le(Le),se(Le)]},w);const C=ce=>{const{componentCls:Le}=ce;return{[`${Le}${Le}-bordered${Le}-disabled:not(${Le}-mini)`]:{"&, &:hover":{[`${Le}-item-link`]:{borderColor:ce.colorBorder}},"&:focus-visible":{[`${Le}-item-link`]:{borderColor:ce.colorBorder}},[`${Le}-item, ${Le}-item-link`]:{backgroundColor:ce.colorBgContainerDisabled,borderColor:ce.colorBorder,[`&:hover:not(${Le}-item-active)`]:{backgroundColor:ce.colorBgContainerDisabled,borderColor:ce.colorBorder,a:{color:ce.colorTextDisabled}},[`&${Le}-item-active`]:{backgroundColor:ce.itemActiveBgDisabled}},[`${Le}-prev, ${Le}-next`]:{"&:hover button":{backgroundColor:ce.colorBgContainerDisabled,borderColor:ce.colorBorder,color:ce.colorTextDisabled},[`${Le}-item-link`]:{backgroundColor:ce.colorBgContainerDisabled,borderColor:ce.colorBorder}}},[`${Le}${Le}-bordered:not(${Le}-mini)`]:{[`${Le}-prev, ${Le}-next`]:{"&:hover button":{borderColor:ce.colorPrimaryHover,backgroundColor:ce.itemBg},[`${Le}-item-link`]:{backgroundColor:ce.itemLinkBg,borderColor:ce.colorBorder},[`&:hover ${Le}-item-link`]:{borderColor:ce.colorPrimary,backgroundColor:ce.itemBg,color:ce.colorPrimary},[`&${Le}-disabled`]:{[`${Le}-item-link`]:{borderColor:ce.colorBorder,color:ce.colorTextDisabled}}},[`${Le}-item`]:{backgroundColor:ce.itemBg,border:`${(0,te.unit)(ce.lineWidth)} ${ce.lineType} ${ce.colorBorder}`,[`&:hover:not(${Le}-item-active)`]:{borderColor:ce.colorPrimary,backgroundColor:ce.itemBg,a:{color:ce.colorPrimary}},"&-active":{borderColor:ce.colorPrimary}}}}};var Y=(0,xe.bk)(["Pagination","bordered"],ce=>{const Le=k(ce);return[C(Le)]},w);function ke(ce){return(0,a.useMemo)(()=>typeof ce=="boolean"?[ce,{}]:ce&&typeof ce=="object"?[!0,ce]:[void 0,void 0],[ce])}var pe=function(ce,Le){var wt={};for(var Fe in ce)Object.prototype.hasOwnProperty.call(ce,Fe)&&Le.indexOf(Fe)<0&&(wt[Fe]=ce[Fe]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,Fe=Object.getOwnPropertySymbols(ce);De<Fe.length;De++)Le.indexOf(Fe[De])<0&&Object.prototype.propertyIsEnumerable.call(ce,Fe[De])&&(wt[Fe[De]]=ce[Fe[De]]);return wt},at=ce=>{const{align:Le,prefixCls:wt,selectPrefixCls:Fe,className:De,rootClassName:P,style:_e,size:be,locale:he,responsive:de,showSizeChanger:me,selectComponentClass:Ie,pageSizeOptions:Se}=ce,Me=pe(ce,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Je}=(0,S.Z)(de),[,pt]=(0,J.ZP)(),{getPrefixCls:Ot,direction:_t,showSizeChanger:Gt,className:Pt,style:ot}=(0,N.dj)("pagination"),xt=Ot("pagination",wt),[jt,Ht,Ct]=z(xt),er=(0,A.Z)(be),cr=er==="small"||!!(Je&&!er&&de),[Cr]=(0,E.Z)("Pagination",X.Z),qr=Object.assign(Object.assign({},Cr),he),[Ar,x]=ke(me),[H,St]=ke(Gt),ae=Ar!=null?Ar:H,Be=x!=null?x:St,zr=Ie||oe.default,$r=a.useMemo(()=>Se?Se.map(Lr=>Number(Lr)):void 0,[Se]),yn=Lr=>{var h;const{disabled:D,size:Ee,onSizeChange:ne,"aria-label":st,className:gn,options:mt}=Lr,{className:Zt,onChange:Ur}=Be||{},Pr=(h=mt.find(Jr=>String(Jr.value)===String(Ee)))===null||h===void 0?void 0:h.value;return a.createElement(zr,Object.assign({disabled:D,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:Jr=>Jr.parentNode,"aria-label":st,options:mt},Be,{value:Pr,onChange:(Jr,vn)=>{ne==null||ne(Jr),Ur==null||Ur(Jr,vn)},size:cr?"small":"middle",className:G()(gn,Zt)}))},Mn=a.useMemo(()=>{const Lr=a.createElement("span",{className:`${xt}-item-ellipsis`},"\u2022\u2022\u2022"),h=a.createElement("button",{className:`${xt}-item-link`,type:"button",tabIndex:-1},_t==="rtl"?a.createElement(T.Z,null):a.createElement(c.Z,null)),D=a.createElement("button",{className:`${xt}-item-link`,type:"button",tabIndex:-1},_t==="rtl"?a.createElement(c.Z,null):a.createElement(T.Z,null)),Ee=a.createElement("a",{className:`${xt}-item-link`},a.createElement("div",{className:`${xt}-item-container`},_t==="rtl"?a.createElement(V.Z,{className:`${xt}-item-link-icon`}):a.createElement(y,{className:`${xt}-item-link-icon`}),Lr)),ne=a.createElement("a",{className:`${xt}-item-link`},a.createElement("div",{className:`${xt}-item-container`},_t==="rtl"?a.createElement(y,{className:`${xt}-item-link-icon`}):a.createElement(V.Z,{className:`${xt}-item-link-icon`}),Lr));return{prevIcon:h,nextIcon:D,jumpPrevIcon:Ee,jumpNextIcon:ne}},[_t,xt]),Ft=Ot("select",Fe),Sr=G()({[`${xt}-${Le}`]:!!Le,[`${xt}-mini`]:cr,[`${xt}-rtl`]:_t==="rtl",[`${xt}-bordered`]:pt.wireframe},Pt,De,P,Ht,Ct),vr=Object.assign(Object.assign({},ot),_e);return jt(a.createElement(a.Fragment,null,pt.wireframe&&a.createElement(Y,{prefixCls:xt}),a.createElement(R.Z,Object.assign({},Mn,Me,{style:vr,prefixCls:xt,selectPrefixCls:Ft,className:Sr,locale:qr,pageSizeOptions:$r,showSizeChanger:ae,sizeChangerRender:yn}))))},ct=at},93725:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return we}});var a=n(59301),qe=n(96512),L=n(92310),Re=n.n(L),q=n(18929),ee=n(2738),_=n(48755),y=n(37639),V=n(15565),c=n(54500),T=n(99571),F=n(61670),G=n(9017),R=n(85981),X=n(69106),N=n(16931);const A=xe=>{const{componentCls:Q,iconCls:ye,antCls:j,zIndexPopup:I,colorText:rt,colorWarning:le,marginXXS:se,marginXS:w,fontSize:k,fontWeightStrong:z,colorTextHeading:C}=xe;return{[Q]:{zIndex:I,[`&${j}-popover`]:{fontSize:k},[`${Q}-message`]:{marginBottom:w,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${Q}-message-icon ${ye}`]:{color:le,fontSize:k,lineHeight:1,marginInlineEnd:w},[`${Q}-title`]:{fontWeight:z,color:C,"&:only-child":{fontWeight:"normal"}},[`${Q}-description`]:{marginTop:se,color:rt}},[`${Q}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:w}}}}},S=xe=>{const{zIndexPopupBase:Q}=xe;return{zIndexPopup:Q+60}};var E=(0,N.I$)("Popconfirm",xe=>A(xe),S,{resetStyle:!1}),oe=function(xe,Q){var ye={};for(var j in xe)Object.prototype.hasOwnProperty.call(xe,j)&&Q.indexOf(j)<0&&(ye[j]=xe[j]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,j=Object.getOwnPropertySymbols(xe);I<j.length;I++)Q.indexOf(j[I])<0&&Object.prototype.propertyIsEnumerable.call(xe,j[I])&&(ye[j[I]]=xe[j[I]]);return ye};const J=xe=>{const{prefixCls:Q,okButtonProps:ye,cancelButtonProps:j,title:I,description:rt,cancelText:le,okText:se,okType:w="primary",icon:k=a.createElement(qe.Z,null),showCancel:z=!0,close:C,onConfirm:Y,onCancel:ke,onPopupClick:pe}=xe,{getPrefixCls:Ue}=a.useContext(_.E_),[at]=(0,G.Z)("Popconfirm",R.Z.Popconfirm),ct=(0,c.Z)(I),ce=(0,c.Z)(rt);return a.createElement("div",{className:`${Q}-inner-content`,onClick:pe},a.createElement("div",{className:`${Q}-message`},k&&a.createElement("span",{className:`${Q}-message-icon`},k),a.createElement("div",{className:`${Q}-message-text`},ct&&a.createElement("div",{className:`${Q}-title`},ct),ce&&a.createElement("div",{className:`${Q}-description`},ce))),a.createElement("div",{className:`${Q}-buttons`},z&&a.createElement(T.ZP,Object.assign({onClick:ke,size:"small"},j),le||(at==null?void 0:at.cancelText)),a.createElement(V.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,F.nx)(w)),ye),actionFn:Y,close:C,prefixCls:Ue("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},se||(at==null?void 0:at.okText))))};var $e=xe=>{const{prefixCls:Q,placement:ye,className:j,style:I}=xe,rt=oe(xe,["prefixCls","placement","className","style"]),{getPrefixCls:le}=a.useContext(_.E_),se=le("popconfirm",Q),[w]=E(se);return w(a.createElement(X.ZP,{placement:ye,className:Re()(se,j),style:I,content:a.createElement(J,Object.assign({prefixCls:se},rt))}))},Ne=function(xe,Q){var ye={};for(var j in xe)Object.prototype.hasOwnProperty.call(xe,j)&&Q.indexOf(j)<0&&(ye[j]=xe[j]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,j=Object.getOwnPropertySymbols(xe);I<j.length;I++)Q.indexOf(j[I])<0&&Object.prototype.propertyIsEnumerable.call(xe,j[I])&&(ye[j[I]]=xe[j[I]]);return ye};const Ze=a.forwardRef((xe,Q)=>{var ye,j;const{prefixCls:I,placement:rt="top",trigger:le="click",okType:se="primary",icon:w=a.createElement(qe.Z,null),children:k,overlayClassName:z,onOpenChange:C,onVisibleChange:Y,overlayStyle:ke,styles:pe,classNames:Ue}=xe,at=Ne(xe,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange","overlayStyle","styles","classNames"]),{getPrefixCls:ct,className:ce,style:Le,classNames:wt,styles:Fe}=(0,_.dj)("popconfirm"),[De,P]=(0,q.Z)(!1,{value:(ye=xe.open)!==null&&ye!==void 0?ye:xe.visible,defaultValue:(j=xe.defaultOpen)!==null&&j!==void 0?j:xe.defaultVisible}),_e=(pt,Ot)=>{P(pt,!0),Y==null||Y(pt),C==null||C(pt,Ot)},be=pt=>{_e(!1,pt)},he=pt=>{var Ot;return(Ot=xe.onConfirm)===null||Ot===void 0?void 0:Ot.call(void 0,pt)},de=pt=>{var Ot;_e(!1,pt),(Ot=xe.onCancel)===null||Ot===void 0||Ot.call(void 0,pt)},me=(pt,Ot)=>{const{disabled:_t=!1}=xe;_t||_e(pt,Ot)},Ie=ct("popconfirm",I),Se=Re()(Ie,ce,z,wt.root,Ue==null?void 0:Ue.root),Me=Re()(wt.body,Ue==null?void 0:Ue.body),[Je]=E(Ie);return Je(a.createElement(y.Z,Object.assign({},(0,ee.Z)(at,["title"]),{trigger:le,placement:rt,onOpenChange:me,open:De,ref:Q,classNames:{root:Se,body:Me},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},Fe.root),Le),ke),pe==null?void 0:pe.root),body:Object.assign(Object.assign({},Fe.body),pe==null?void 0:pe.body)},content:a.createElement(J,Object.assign({okType:se,icon:w},xe,{prefixCls:Ie,close:be,onConfirm:he,onCancel:de})),"data-popover-inject":!0}),k))});Ze._InternalPanelDoNotUseOrYouWillBeFired=$e;var we=Ze},69106:function(Yr,Kt,n){"use strict";n.d(Kt,{aV:function(){return V},t5:function(){return c}});var a=n(59301),qe=n(92310),L=n.n(qe),Re=n(29125),q=n(54500),ee=n(48755),_=n(85074),y=function(F,G){var R={};for(var X in F)Object.prototype.hasOwnProperty.call(F,X)&&G.indexOf(X)<0&&(R[X]=F[X]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,X=Object.getOwnPropertySymbols(F);N<X.length;N++)G.indexOf(X[N])<0&&Object.prototype.propertyIsEnumerable.call(F,X[N])&&(R[X[N]]=F[X[N]]);return R};const V=F=>{let{title:G,content:R,prefixCls:X}=F;return!G&&!R?null:a.createElement(a.Fragment,null,G&&a.createElement("div",{className:`${X}-title`},G),R&&a.createElement("div",{className:`${X}-inner-content`},R))},c=F=>{const{hashId:G,prefixCls:R,className:X,style:N,placement:A="top",title:S,content:E,children:oe}=F,J=(0,q.Z)(S),te=(0,q.Z)(E),$e=L()(G,R,`${R}-pure`,`${R}-placement-${A}`,X);return a.createElement("div",{className:$e,style:N},a.createElement("div",{className:`${R}-arrow`}),a.createElement(Re.G,Object.assign({},F,{className:G,prefixCls:R}),oe||a.createElement(V,{prefixCls:R,title:J,content:te})))},T=F=>{const{prefixCls:G,className:R}=F,X=y(F,["prefixCls","className"]),{getPrefixCls:N}=a.useContext(ee.E_),A=N("popover",G),[S,E,oe]=(0,_.Z)(A);return S(a.createElement(c,Object.assign({},X,{prefixCls:A,hashId:E,className:L()(R,oe)})))};Kt.ZP=T},37639:function(Yr,Kt,n){"use strict";var a=n(59301),qe=n(92310),L=n.n(qe),Re=n(18929),q=n(10228),ee=n(54500),_=n(86641),y=n(22703),V=n(25399),c=n(69106),T=n(48755),F=n(85074),G=function(N,A){var S={};for(var E in N)Object.prototype.hasOwnProperty.call(N,E)&&A.indexOf(E)<0&&(S[E]=N[E]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,E=Object.getOwnPropertySymbols(N);oe<E.length;oe++)A.indexOf(E[oe])<0&&Object.prototype.propertyIsEnumerable.call(N,E[oe])&&(S[E[oe]]=N[E[oe]]);return S};const X=a.forwardRef((N,A)=>{var S,E;const{prefixCls:oe,title:J,content:te,overlayClassName:$e,placement:Ne="top",trigger:Qe="hover",children:Ze,mouseEnterDelay:we=.1,mouseLeaveDelay:xe=.1,onOpenChange:Q,overlayStyle:ye={},styles:j,classNames:I}=N,rt=G(N,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:le,className:se,style:w,classNames:k,styles:z}=(0,T.dj)("popover"),C=le("popover",oe),[Y,ke,pe]=(0,F.Z)(C),Ue=le(),at=L()($e,ke,pe,se,k.root,I==null?void 0:I.root),ct=L()(k.body,I==null?void 0:I.body),[ce,Le]=(0,Re.Z)(!1,{value:(S=N.open)!==null&&S!==void 0?S:N.visible,defaultValue:(E=N.defaultOpen)!==null&&E!==void 0?E:N.defaultVisible}),wt=(be,he)=>{Le(be,!0),Q==null||Q(be,he)},Fe=be=>{be.keyCode===q.Z.ESC&&wt(!1,be)},De=be=>{wt(be)},P=(0,ee.Z)(J),_e=(0,ee.Z)(te);return Y(a.createElement(V.Z,Object.assign({placement:Ne,trigger:Qe,mouseEnterDelay:we,mouseLeaveDelay:xe},rt,{prefixCls:C,classNames:{root:at,body:ct},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},z.root),w),ye),j==null?void 0:j.root),body:Object.assign(Object.assign({},z.body),j==null?void 0:j.body)},ref:A,open:ce,onOpenChange:De,overlay:P||_e?a.createElement(c.aV,{prefixCls:C,title:P,content:_e}):null,transitionName:(0,_.m)(Ue,"zoom-big",rt.transitionName),"data-popover-inject":!0}),(0,y.Tm)(Ze,{onKeyDown:be=>{var he,de;a.isValidElement(Ze)&&((de=Ze==null?void 0:(he=Ze.props).onKeyDown)===null||de===void 0||de.call(he,be)),Fe(be)}})))});X._InternalPanelDoNotUseOrYouWillBeFired=c.ZP,Kt.Z=X},85074:function(Yr,Kt,n){"use strict";var a=n(63356),qe=n(34925),L=n(37645),Re=n(36305),q=n(34998),ee=n(16931),_=n(51636);const y=T=>{const{componentCls:F,popoverColor:G,titleMinWidth:R,fontWeightStrong:X,innerPadding:N,boxShadowSecondary:A,colorTextHeading:S,borderRadiusLG:E,zIndexPopup:oe,titleMarginBottom:J,colorBgElevated:te,popoverBg:$e,titleBorderBottom:Ne,innerContentPadding:Qe,titlePadding:Ze}=T;return[{[F]:Object.assign(Object.assign({},(0,a.Wf)(T)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:oe,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":te,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${F}-content`]:{position:"relative"},[`${F}-inner`]:{backgroundColor:$e,backgroundClip:"padding-box",borderRadius:E,boxShadow:A,padding:N},[`${F}-title`]:{minWidth:R,marginBottom:J,color:S,fontWeight:X,borderBottom:Ne,padding:Ze},[`${F}-inner-content`]:{color:G,padding:Qe}})},(0,L.ZP)(T,"var(--antd-arrow-background-color)"),{[`${F}-pure`]:{position:"relative",maxWidth:"none",margin:T.sizePopupArrow,display:"inline-block",[`${F}-content`]:{display:"inline-block"}}}]},V=T=>{const{componentCls:F}=T;return{[F]:q.i.map(G=>{const R=T[`${G}6`];return{[`&${F}-${G}`]:{"--antd-arrow-background-color":R,[`${F}-inner`]:{backgroundColor:R},[`${F}-arrow`]:{background:"transparent"}}}})}},c=T=>{const{lineWidth:F,controlHeight:G,fontHeight:R,padding:X,wireframe:N,zIndexPopupBase:A,borderRadiusLG:S,marginXS:E,lineType:oe,colorSplit:J,paddingSM:te}=T,$e=G-R,Ne=$e/2,Qe=$e/2-F,Ze=X;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:A+30},(0,Re.w)(T)),(0,L.wZ)({contentRadius:S,limitVerticalRadius:!0})),{innerPadding:N?0:12,titleMarginBottom:N?0:E,titlePadding:N?`${Ne}px ${Ze}px ${Qe}px`:0,titleBorderBottom:N?`${F}px ${oe} ${J}`:"none",innerContentPadding:N?`${te}px ${Ze}px`:0})};Kt.Z=(0,ee.I$)("Popover",T=>{const{colorBgElevated:F,colorText:G}=T,R=(0,_.mergeToken)(T,{popoverBg:F,popoverColor:G});return[y(R),V(R),(0,qe._y)(R,"zoom-big")]},c,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},60242:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return wt}});var a=n(59301),qe=n(17835),L=n(29679),Re=n(40001),q=n(19248),ee=n(99267),_=n(92310),y=n.n(_),V=n(2738),c=n(48755),T=n(25930),F=n(25399),G=n(68361);function R(Fe){return!Fe||Fe<0?0:Fe>100?100:Fe}function X(Fe){let{success:De,successPercent:P}=Fe,_e=P;return De&&"progress"in De&&(_e=De.progress),De&&"percent"in De&&(_e=De.percent),_e}const N=Fe=>{let{percent:De,success:P,successPercent:_e}=Fe;const be=R(X({success:P,successPercent:_e}));return[be,R(R(De)-be)]},A=Fe=>{let{success:De={},strokeColor:P}=Fe;const{strokeColor:_e}=De;return[_e||G.presetPrimaryColors.green,P||null]},S=(Fe,De,P)=>{var _e,be,he,de;let me=-1,Ie=-1;if(De==="step"){const Se=P.steps,Me=P.strokeWidth;typeof Fe=="string"||typeof Fe=="undefined"?(me=Fe==="small"?2:14,Ie=Me!=null?Me:8):typeof Fe=="number"?[me,Ie]=[Fe,Fe]:[me=14,Ie=8]=Array.isArray(Fe)?Fe:[Fe.width,Fe.height],me*=Se}else if(De==="line"){const Se=P==null?void 0:P.strokeWidth;typeof Fe=="string"||typeof Fe=="undefined"?Ie=Se||(Fe==="small"?6:8):typeof Fe=="number"?[me,Ie]=[Fe,Fe]:[me=-1,Ie=8]=Array.isArray(Fe)?Fe:[Fe.width,Fe.height]}else(De==="circle"||De==="dashboard")&&(typeof Fe=="string"||typeof Fe=="undefined"?[me,Ie]=Fe==="small"?[60,60]:[120,120]:typeof Fe=="number"?[me,Ie]=[Fe,Fe]:Array.isArray(Fe)&&(me=(be=(_e=Fe[0])!==null&&_e!==void 0?_e:Fe[1])!==null&&be!==void 0?be:120,Ie=(de=(he=Fe[0])!==null&&he!==void 0?he:Fe[1])!==null&&de!==void 0?de:120));return[me,Ie]},E=3,oe=Fe=>E/Fe*100;var te=Fe=>{const{prefixCls:De,trailColor:P=null,strokeLinecap:_e="round",gapPosition:be,gapDegree:he,width:de=120,type:me,children:Ie,success:Se,size:Me=de,steps:Je}=Fe,[pt,Ot]=S(Me,"circle");let{strokeWidth:_t}=Fe;_t===void 0&&(_t=Math.max(oe(pt),6));const Gt={width:pt,height:Ot,fontSize:pt*.15+6},Pt=a.useMemo(()=>{if(he||he===0)return he;if(me==="dashboard")return 75},[he,me]),ot=N(Fe),xt=be||me==="dashboard"&&"bottom"||void 0,jt=Object.prototype.toString.call(Fe.strokeColor)==="[object Object]",Ht=A({success:Se,strokeColor:Fe.strokeColor}),Ct=y()(`${De}-inner`,{[`${De}-circle-gradient`]:jt}),er=a.createElement(T.Cd,{steps:Je,percent:Je?ot[1]:ot,strokeWidth:_t,trailWidth:_t,strokeColor:Je?Ht[1]:Ht,strokeLinecap:_e,trailColor:P,prefixCls:De,gapDegree:Pt,gapPosition:xt}),cr=pt<=20,Cr=a.createElement("div",{className:Ct,style:Gt},er,!cr&&Ie);return cr?a.createElement(F.Z,{title:Ie},Cr):Cr},$e=n(36237),Ne=n(63356),Qe=n(16931),Ze=n(51636);const we="--progress-line-stroke-color",xe="--progress-percent",Q=Fe=>{const De=Fe?"100%":"-100%";return new $e.Keyframes(`antProgress${Fe?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${De}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${De}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},ye=Fe=>{const{componentCls:De,iconCls:P}=Fe;return{[De]:Object.assign(Object.assign({},(0,Ne.Wf)(Fe)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Fe.fontSize},[`${De}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${De}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:Fe.remainingColor,borderRadius:Fe.lineBorderRadius},[`${De}-inner:not(${De}-circle-gradient)`]:{[`${De}-circle-path`]:{stroke:Fe.defaultColor}},[`${De}-success-bg, ${De}-bg`]:{position:"relative",background:Fe.defaultColor,borderRadius:Fe.lineBorderRadius,transition:`all ${Fe.motionDurationSlow} ${Fe.motionEaseInOutCirc}`},[`${De}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${De}-text`]:{width:"max-content",marginInlineStart:0,marginTop:Fe.marginXXS}},[`${De}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${we})`]},height:"100%",width:`calc(1 / var(${xe}) * 100%)`,display:"block"},[`&${De}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${De}-text-inner`]:{color:Fe.colorWhite,[`&${De}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${De}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Fe.colorSuccess},[`${De}-text`]:{display:"inline-block",marginInlineStart:Fe.marginXS,color:Fe.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[P]:{fontSize:Fe.fontSize},[`&${De}-text-outer`]:{width:"max-content"},[`&${De}-text-outer${De}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:Fe.marginXS}},[`${De}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,$e.unit)(Fe.paddingXXS)}`,[`&${De}-text-start`]:{justifyContent:"start"},[`&${De}-text-end`]:{justifyContent:"end"}},[`&${De}-status-active`]:{[`${De}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Fe.colorBgContainer,borderRadius:Fe.lineBorderRadius,opacity:0,animationName:Q(),animationDuration:Fe.progressActiveMotionDuration,animationTimingFunction:Fe.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${De}-rtl${De}-status-active`]:{[`${De}-bg::before`]:{animationName:Q(!0)}},[`&${De}-status-exception`]:{[`${De}-bg`]:{backgroundColor:Fe.colorError},[`${De}-text`]:{color:Fe.colorError}},[`&${De}-status-exception ${De}-inner:not(${De}-circle-gradient)`]:{[`${De}-circle-path`]:{stroke:Fe.colorError}},[`&${De}-status-success`]:{[`${De}-bg`]:{backgroundColor:Fe.colorSuccess},[`${De}-text`]:{color:Fe.colorSuccess}},[`&${De}-status-success ${De}-inner:not(${De}-circle-gradient)`]:{[`${De}-circle-path`]:{stroke:Fe.colorSuccess}}})}},j=Fe=>{const{componentCls:De,iconCls:P}=Fe;return{[De]:{[`${De}-circle-trail`]:{stroke:Fe.remainingColor},[`&${De}-circle ${De}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${De}-circle ${De}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Fe.circleTextColor,fontSize:Fe.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[P]:{fontSize:Fe.circleIconFontSize}},[`${De}-circle&-status-exception`]:{[`${De}-text`]:{color:Fe.colorError}},[`${De}-circle&-status-success`]:{[`${De}-text`]:{color:Fe.colorSuccess}}},[`${De}-inline-circle`]:{lineHeight:1,[`${De}-inner`]:{verticalAlign:"bottom"}}}},I=Fe=>{const{componentCls:De}=Fe;return{[De]:{[`${De}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Fe.progressStepMinWidth,marginInlineEnd:Fe.progressStepMarginInlineEnd,backgroundColor:Fe.remainingColor,transition:`all ${Fe.motionDurationSlow}`,"&-active":{backgroundColor:Fe.defaultColor}}}}}},rt=Fe=>{const{componentCls:De,iconCls:P}=Fe;return{[De]:{[`${De}-small&-line, ${De}-small&-line ${De}-text ${P}`]:{fontSize:Fe.fontSizeSM}}}},le=Fe=>({circleTextColor:Fe.colorText,defaultColor:Fe.colorInfo,remainingColor:Fe.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${Fe.fontSize/Fe.fontSizeSM}em`});var se=(0,Qe.I$)("Progress",Fe=>{const De=Fe.calc(Fe.marginXXS).div(2).equal(),P=(0,Ze.mergeToken)(Fe,{progressStepMarginInlineEnd:De,progressStepMinWidth:De,progressActiveMotionDuration:"2.4s"});return[ye(P),j(P),I(P),rt(P)]},le),w=function(Fe,De){var P={};for(var _e in Fe)Object.prototype.hasOwnProperty.call(Fe,_e)&&De.indexOf(_e)<0&&(P[_e]=Fe[_e]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,_e=Object.getOwnPropertySymbols(Fe);be<_e.length;be++)De.indexOf(_e[be])<0&&Object.prototype.propertyIsEnumerable.call(Fe,_e[be])&&(P[_e[be]]=Fe[_e[be]]);return P};const k=Fe=>{let De=[];return Object.keys(Fe).forEach(P=>{const _e=parseFloat(P.replace(/%/g,""));Number.isNaN(_e)||De.push({key:_e,value:Fe[P]})}),De=De.sort((P,_e)=>P.key-_e.key),De.map(P=>{let{key:_e,value:be}=P;return`${be} ${_e}%`}).join(", ")},z=(Fe,De)=>{const{from:P=G.presetPrimaryColors.blue,to:_e=G.presetPrimaryColors.blue,direction:be=De==="rtl"?"to left":"to right"}=Fe,he=w(Fe,["from","to","direction"]);if(Object.keys(he).length!==0){const me=k(he),Ie=`linear-gradient(${be}, ${me})`;return{background:Ie,[we]:Ie}}const de=`linear-gradient(${be}, ${P}, ${_e})`;return{background:de,[we]:de}};var Y=Fe=>{const{prefixCls:De,direction:P,percent:_e,size:be,strokeWidth:he,strokeColor:de,strokeLinecap:me="round",children:Ie,trailColor:Se=null,percentPosition:Me,success:Je}=Fe,{align:pt,type:Ot}=Me,_t=de&&typeof de!="string"?z(de,P):{[we]:de,background:de},Gt=me==="square"||me==="butt"?0:void 0,Pt=be!=null?be:[-1,he||(be==="small"?6:8)],[ot,xt]=S(Pt,"line",{strokeWidth:he}),jt={backgroundColor:Se||void 0,borderRadius:Gt},Ht=Object.assign(Object.assign({width:`${R(_e)}%`,height:xt,borderRadius:Gt},_t),{[xe]:R(_e)/100}),Ct=X(Fe),er={width:`${R(Ct)}%`,height:xt,borderRadius:Gt,backgroundColor:Je==null?void 0:Je.strokeColor},cr={width:ot<0?"100%":ot},Cr=a.createElement("div",{className:`${De}-inner`,style:jt},a.createElement("div",{className:y()(`${De}-bg`,`${De}-bg-${Ot}`),style:Ht},Ot==="inner"&&Ie),Ct!==void 0&&a.createElement("div",{className:`${De}-success-bg`,style:er})),qr=Ot==="outer"&&pt==="start",Ar=Ot==="outer"&&pt==="end";return Ot==="outer"&&pt==="center"?a.createElement("div",{className:`${De}-layout-bottom`},Cr,Ie):a.createElement("div",{className:`${De}-outer`,style:cr},qr&&Ie,Cr,Ar&&Ie)},pe=Fe=>{const{size:De,steps:P,rounding:_e=Math.round,percent:be=0,strokeWidth:he=8,strokeColor:de,trailColor:me=null,prefixCls:Ie,children:Se}=Fe,Me=_e(P*(be/100)),Je=De==="small"?2:14,pt=De!=null?De:[Je,he],[Ot,_t]=S(pt,"step",{steps:P,strokeWidth:he}),Gt=Ot/P,Pt=Array.from({length:P});for(let ot=0;ot<P;ot++){const xt=Array.isArray(de)?de[ot]:de;Pt[ot]=a.createElement("div",{key:ot,className:y()(`${Ie}-steps-item`,{[`${Ie}-steps-item-active`]:ot<=Me-1}),style:{backgroundColor:ot<=Me-1?xt:me,width:Gt,height:_t}})}return a.createElement("div",{className:`${Ie}-steps-outer`},Pt,Se)},Ue=function(Fe,De){var P={};for(var _e in Fe)Object.prototype.hasOwnProperty.call(Fe,_e)&&De.indexOf(_e)<0&&(P[_e]=Fe[_e]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,_e=Object.getOwnPropertySymbols(Fe);be<_e.length;be++)De.indexOf(_e[be])<0&&Object.prototype.propertyIsEnumerable.call(Fe,_e[be])&&(P[_e[be]]=Fe[_e[be]]);return P};const at=null,ct=["normal","exception","active","success"];var Le=a.forwardRef((Fe,De)=>{const{prefixCls:P,className:_e,rootClassName:be,steps:he,strokeColor:de,percent:me=0,size:Ie="default",showInfo:Se=!0,type:Me="line",status:Je,format:pt,style:Ot,percentPosition:_t={}}=Fe,Gt=Ue(Fe,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Pt="end",type:ot="outer"}=_t,xt=Array.isArray(de)?de[0]:de,jt=typeof de=="string"||Array.isArray(de)?de:void 0,Ht=a.useMemo(()=>{if(xt){const Mn=typeof xt=="string"?xt:Object.values(xt)[0];return new qe.FastColor(Mn).isLight()}return!1},[de]),Ct=a.useMemo(()=>{var Mn,Ft;const Sr=X(Fe);return parseInt(Sr!==void 0?(Mn=Sr!=null?Sr:0)===null||Mn===void 0?void 0:Mn.toString():(Ft=me!=null?me:0)===null||Ft===void 0?void 0:Ft.toString(),10)},[me,Fe.success,Fe.successPercent]),er=a.useMemo(()=>!ct.includes(Je)&&Ct>=100?"success":Je||"normal",[Je,Ct]),{getPrefixCls:cr,direction:Cr,progress:qr}=a.useContext(c.E_),Ar=cr("progress",P),[x,H,St]=se(Ar),ae=Me==="line",Be=ae&&!he,zr=a.useMemo(()=>{if(!Se)return null;const Mn=X(Fe);let Ft;const Sr=pt||(Lr=>`${Lr}%`),vr=ae&&Ht&&ot==="inner";return ot==="inner"||pt||er!=="exception"&&er!=="success"?Ft=Sr(R(me),R(Mn)):er==="exception"?Ft=ae?a.createElement(q.Z,null):a.createElement(ee.Z,null):er==="success"&&(Ft=ae?a.createElement(L.Z,null):a.createElement(Re.Z,null)),a.createElement("span",{className:y()(`${Ar}-text`,{[`${Ar}-text-bright`]:vr,[`${Ar}-text-${Pt}`]:Be,[`${Ar}-text-${ot}`]:Be}),title:typeof Ft=="string"?Ft:void 0},Ft)},[Se,me,Ct,er,Me,Ar,pt]);let $r;Me==="line"?$r=he?a.createElement(pe,Object.assign({},Fe,{strokeColor:jt,prefixCls:Ar,steps:typeof he=="object"?he.count:he}),zr):a.createElement(Y,Object.assign({},Fe,{strokeColor:xt,prefixCls:Ar,direction:Cr,percentPosition:{align:Pt,type:ot}}),zr):(Me==="circle"||Me==="dashboard")&&($r=a.createElement(te,Object.assign({},Fe,{strokeColor:xt,prefixCls:Ar,progressStatus:er}),zr));const yn=y()(Ar,`${Ar}-status-${er}`,{[`${Ar}-${Me==="dashboard"&&"circle"||Me}`]:Me!=="line",[`${Ar}-inline-circle`]:Me==="circle"&&S(Ie,"circle")[0]<=20,[`${Ar}-line`]:Be,[`${Ar}-line-align-${Pt}`]:Be,[`${Ar}-line-position-${ot}`]:Be,[`${Ar}-steps`]:he,[`${Ar}-show-info`]:Se,[`${Ar}-${Ie}`]:typeof Ie=="string",[`${Ar}-rtl`]:Cr==="rtl"},qr==null?void 0:qr.className,_e,be,H,St);return x(a.createElement("div",Object.assign({ref:De,style:Object.assign(Object.assign({},qr==null?void 0:qr.style),Ot),className:yn,role:"progressbar","aria-valuenow":Ct,"aria-valuemin":0,"aria-valuemax":100},(0,V.Z)(Gt,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),$r))}),wt=Le},47889:function(Yr,Kt,n){"use strict";n.d(Kt,{ZP:function(){return ke}});var a=n(59301),qe=n(92310),L=n.n(qe),Re=n(18929),q=n(26112),ee=n(48755),_=n(83397),y=n(31756);const V=a.createContext(null),c=V.Provider;var T=V;const F=a.createContext(null),G=F.Provider;var R=n(16632),X=n(8654),N=n(12919),A=n(63872),S=n(74632),E=n(2171),oe=n(56553),J=n(36237),te=n(63356),$e=n(16931),Ne=n(51636);const Qe=pe=>{const{componentCls:Ue,antCls:at}=pe,ct=`${Ue}-group`;return{[ct]:Object.assign(Object.assign({},(0,te.Wf)(pe)),{display:"inline-block",fontSize:0,[`&${ct}-rtl`]:{direction:"rtl"},[`&${ct}-block`]:{display:"flex"},[`${at}-badge ${at}-badge-count`]:{zIndex:1},[`> ${at}-badge:not(:first-child) > ${at}-button-wrapper`]:{borderInlineStart:"none"}})}},Ze=pe=>{const{componentCls:Ue,wrapperMarginInlineEnd:at,colorPrimary:ct,radioSize:ce,motionDurationSlow:Le,motionDurationMid:wt,motionEaseInOutCirc:Fe,colorBgContainer:De,colorBorder:P,lineWidth:_e,colorBgContainerDisabled:be,colorTextDisabled:he,paddingXS:de,dotColorDisabled:me,lineType:Ie,radioColor:Se,radioBgColor:Me,calc:Je}=pe,pt=`${Ue}-inner`,_t=Je(ce).sub(Je(4).mul(2)),Gt=Je(1).mul(ce).equal({unit:!0});return{[`${Ue}-wrapper`]:Object.assign(Object.assign({},(0,te.Wf)(pe)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:at,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${Ue}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:pe.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${Ue}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,J.unit)(_e)} ${Ie} ${ct}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[Ue]:Object.assign(Object.assign({},(0,te.Wf)(pe)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${Ue}-wrapper:hover &,
&:hover ${pt}`]:{borderColor:ct},[`${Ue}-input:focus-visible + ${pt}`]:Object.assign({},(0,te.oN)(pe)),[`${Ue}:hover::after, ${Ue}-wrapper:hover &::after`]:{visibility:"visible"},[`${Ue}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:Gt,height:Gt,marginBlockStart:Je(1).mul(ce).div(-2).equal({unit:!0}),marginInlineStart:Je(1).mul(ce).div(-2).equal({unit:!0}),backgroundColor:Se,borderBlockStart:0,borderInlineStart:0,borderRadius:Gt,transform:"scale(0)",opacity:0,transition:`all ${Le} ${Fe}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:Gt,height:Gt,backgroundColor:De,borderColor:P,borderStyle:"solid",borderWidth:_e,borderRadius:"50%",transition:`all ${wt}`},[`${Ue}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${Ue}-checked`]:{[pt]:{borderColor:ct,backgroundColor:Me,"&::after":{transform:`scale(${pe.calc(pe.dotSize).div(ce).equal()})`,opacity:1,transition:`all ${Le} ${Fe}`}}},[`${Ue}-disabled`]:{cursor:"not-allowed",[pt]:{backgroundColor:be,borderColor:P,cursor:"not-allowed","&::after":{backgroundColor:me}},[`${Ue}-input`]:{cursor:"not-allowed"},[`${Ue}-disabled + span`]:{color:he,cursor:"not-allowed"},[`&${Ue}-checked`]:{[pt]:{"&::after":{transform:`scale(${Je(_t).div(ce).equal()})`}}}},[`span${Ue} + *`]:{paddingInlineStart:de,paddingInlineEnd:de}})}},we=pe=>{const{buttonColor:Ue,controlHeight:at,componentCls:ct,lineWidth:ce,lineType:Le,colorBorder:wt,motionDurationSlow:Fe,motionDurationMid:De,buttonPaddingInline:P,fontSize:_e,buttonBg:be,fontSizeLG:he,controlHeightLG:de,controlHeightSM:me,paddingXS:Ie,borderRadius:Se,borderRadiusSM:Me,borderRadiusLG:Je,buttonCheckedBg:pt,buttonSolidCheckedColor:Ot,colorTextDisabled:_t,colorBgContainerDisabled:Gt,buttonCheckedBgDisabled:Pt,buttonCheckedColorDisabled:ot,colorPrimary:xt,colorPrimaryHover:jt,colorPrimaryActive:Ht,buttonSolidCheckedBg:Ct,buttonSolidCheckedHoverBg:er,buttonSolidCheckedActiveBg:cr,calc:Cr}=pe;return{[`${ct}-button-wrapper`]:{position:"relative",display:"inline-block",height:at,margin:0,paddingInline:P,paddingBlock:0,color:Ue,fontSize:_e,lineHeight:(0,J.unit)(Cr(at).sub(Cr(ce).mul(2)).equal()),background:be,border:`${(0,J.unit)(ce)} ${Le} ${wt}`,borderBlockStartWidth:Cr(ce).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:ce,cursor:"pointer",transition:[`color ${De}`,`background ${De}`,`box-shadow ${De}`].join(","),a:{color:Ue},[`> ${ct}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:Cr(ce).mul(-1).equal(),insetInlineStart:Cr(ce).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:ce,paddingInline:0,backgroundColor:wt,transition:`background-color ${Fe}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,J.unit)(ce)} ${Le} ${wt}`,borderStartStartRadius:Se,borderEndStartRadius:Se},"&:last-child":{borderStartEndRadius:Se,borderEndEndRadius:Se},"&:first-child:last-child":{borderRadius:Se},[`${ct}-group-large &`]:{height:de,fontSize:he,lineHeight:(0,J.unit)(Cr(de).sub(Cr(ce).mul(2)).equal()),"&:first-child":{borderStartStartRadius:Je,borderEndStartRadius:Je},"&:last-child":{borderStartEndRadius:Je,borderEndEndRadius:Je}},[`${ct}-group-small &`]:{height:me,paddingInline:Cr(Ie).sub(ce).equal(),paddingBlock:0,lineHeight:(0,J.unit)(Cr(me).sub(Cr(ce).mul(2)).equal()),"&:first-child":{borderStartStartRadius:Me,borderEndStartRadius:Me},"&:last-child":{borderStartEndRadius:Me,borderEndEndRadius:Me}},"&:hover":{position:"relative",color:xt},"&:has(:focus-visible)":Object.assign({},(0,te.oN)(pe)),[`${ct}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${ct}-button-wrapper-disabled)`]:{zIndex:1,color:xt,background:pt,borderColor:xt,"&::before":{backgroundColor:xt},"&:first-child":{borderColor:xt},"&:hover":{color:jt,borderColor:jt,"&::before":{backgroundColor:jt}},"&:active":{color:Ht,borderColor:Ht,"&::before":{backgroundColor:Ht}}},[`${ct}-group-solid &-checked:not(${ct}-button-wrapper-disabled)`]:{color:Ot,background:Ct,borderColor:Ct,"&:hover":{color:Ot,background:er,borderColor:er},"&:active":{color:Ot,background:cr,borderColor:cr}},"&-disabled":{color:_t,backgroundColor:Gt,borderColor:wt,cursor:"not-allowed","&:first-child, &:hover":{color:_t,backgroundColor:Gt,borderColor:wt}},[`&-disabled${ct}-button-wrapper-checked`]:{color:ot,backgroundColor:Pt,borderColor:wt,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},xe=pe=>{const{wireframe:Ue,padding:at,marginXS:ct,lineWidth:ce,fontSizeLG:Le,colorText:wt,colorBgContainer:Fe,colorTextDisabled:De,controlItemBgActiveDisabled:P,colorTextLightSolid:_e,colorPrimary:be,colorPrimaryHover:he,colorPrimaryActive:de,colorWhite:me}=pe,Ie=4,Se=Le,Me=Ue?Se-Ie*2:Se-(Ie+ce)*2;return{radioSize:Se,dotSize:Me,dotColorDisabled:De,buttonSolidCheckedColor:_e,buttonSolidCheckedBg:be,buttonSolidCheckedHoverBg:he,buttonSolidCheckedActiveBg:de,buttonBg:Fe,buttonCheckedBg:Fe,buttonColor:wt,buttonCheckedBgDisabled:P,buttonCheckedColorDisabled:De,buttonPaddingInline:at-ce,wrapperMarginInlineEnd:ct,radioColor:Ue?be:me,radioBgColor:Ue?Fe:be}};var Q=(0,$e.I$)("Radio",pe=>{const{controlOutline:Ue,controlOutlineWidth:at}=pe,ct=`0 0 0 ${(0,J.unit)(at)} ${Ue}`,ce=ct,Le=(0,Ne.mergeToken)(pe,{radioFocusShadow:ct,radioButtonFocusShadow:ce});return[Qe(Le),Ze(Le),we(Le)]},xe,{unitless:{radioSize:!0,dotSize:!0}}),ye=function(pe,Ue){var at={};for(var ct in pe)Object.prototype.hasOwnProperty.call(pe,ct)&&Ue.indexOf(ct)<0&&(at[ct]=pe[ct]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ce=0,ct=Object.getOwnPropertySymbols(pe);ce<ct.length;ce++)Ue.indexOf(ct[ce])<0&&Object.prototype.propertyIsEnumerable.call(pe,ct[ce])&&(at[ct[ce]]=pe[ct[ce]]);return at};const j=(pe,Ue)=>{var at,ct;const ce=a.useContext(T),Le=a.useContext(F),{getPrefixCls:wt,direction:Fe,radio:De}=a.useContext(ee.E_),P=a.useRef(null),_e=(0,X.sQ)(Ue,P),{isFormItemInput:be}=a.useContext(oe.aM),he=qr=>{var Ar,x;(Ar=pe.onChange)===null||Ar===void 0||Ar.call(pe,qr),(x=ce==null?void 0:ce.onChange)===null||x===void 0||x.call(ce,qr)},{prefixCls:de,className:me,rootClassName:Ie,children:Se,style:Me,title:Je}=pe,pt=ye(pe,["prefixCls","className","rootClassName","children","style","title"]),Ot=wt("radio",de),_t=((ce==null?void 0:ce.optionType)||Le)==="button",Gt=_t?`${Ot}-button`:Ot,Pt=(0,_.Z)(Ot),[ot,xt,jt]=Q(Ot,Pt),Ht=Object.assign({},pt),Ct=a.useContext(E.Z);ce&&(Ht.name=ce.name,Ht.onChange=he,Ht.checked=pe.value===ce.value,Ht.disabled=(at=Ht.disabled)!==null&&at!==void 0?at:ce.disabled),Ht.disabled=(ct=Ht.disabled)!==null&&ct!==void 0?ct:Ct;const er=L()(`${Gt}-wrapper`,{[`${Gt}-wrapper-checked`]:Ht.checked,[`${Gt}-wrapper-disabled`]:Ht.disabled,[`${Gt}-wrapper-rtl`]:Fe==="rtl",[`${Gt}-wrapper-in-form-item`]:be,[`${Gt}-wrapper-block`]:!!(ce!=null&&ce.block)},De==null?void 0:De.className,me,Ie,xt,jt,Pt),[cr,Cr]=(0,S.Z)(Ht.onClick);return ot(a.createElement(N.Z,{component:"Radio",disabled:Ht.disabled},a.createElement("label",{className:er,style:Object.assign(Object.assign({},De==null?void 0:De.style),Me),onMouseEnter:pe.onMouseEnter,onMouseLeave:pe.onMouseLeave,title:Je,onClick:cr},a.createElement(R.Z,Object.assign({},Ht,{className:L()(Ht.className,{[A.A]:!_t}),type:"radio",prefixCls:Gt,ref:_e,onClick:Cr})),Se!==void 0?a.createElement("span",{className:`${Gt}-label`},Se):null)))};var rt=a.forwardRef(j),le=n(80402);const se=a.forwardRef((pe,Ue)=>{const{getPrefixCls:at,direction:ct}=a.useContext(ee.E_),ce=(0,le.Z)(),{prefixCls:Le,className:wt,rootClassName:Fe,options:De,buttonStyle:P="outline",disabled:_e,children:be,size:he,style:de,id:me,optionType:Ie,name:Se=ce,defaultValue:Me,value:Je,block:pt=!1,onChange:Ot,onMouseEnter:_t,onMouseLeave:Gt,onFocus:Pt,onBlur:ot}=pe,[xt,jt]=(0,Re.Z)(Me,{value:Je}),Ht=a.useCallback(Be=>{const zr=xt,$r=Be.target.value;"value"in pe||jt($r),$r!==zr&&(Ot==null||Ot(Be))},[xt,jt,Ot]),Ct=at("radio",Le),er=`${Ct}-group`,cr=(0,_.Z)(Ct),[Cr,qr,Ar]=Q(Ct,cr);let x=be;De&&De.length>0&&(x=De.map(Be=>typeof Be=="string"||typeof Be=="number"?a.createElement(rt,{key:Be.toString(),prefixCls:Ct,disabled:_e,value:Be,checked:xt===Be},Be):a.createElement(rt,{key:`radio-group-value-options-${Be.value}`,prefixCls:Ct,disabled:Be.disabled||_e,value:Be.value,checked:xt===Be.value,title:Be.title,style:Be.style,id:Be.id,required:Be.required},Be.label)));const H=(0,y.Z)(he),St=L()(er,`${er}-${P}`,{[`${er}-${H}`]:H,[`${er}-rtl`]:ct==="rtl",[`${er}-block`]:pt},wt,Fe,qr,Ar,cr),ae=a.useMemo(()=>({onChange:Ht,value:xt,disabled:_e,name:Se,optionType:Ie,block:pt}),[Ht,xt,_e,Se,Ie,pt]);return Cr(a.createElement("div",Object.assign({},(0,q.Z)(pe,{aria:!0,data:!0}),{className:St,style:de,onMouseEnter:_t,onMouseLeave:Gt,onFocus:Pt,onBlur:ot,id:me,ref:Ue}),a.createElement(c,{value:ae},x)))});var w=a.memo(se),k=function(pe,Ue){var at={};for(var ct in pe)Object.prototype.hasOwnProperty.call(pe,ct)&&Ue.indexOf(ct)<0&&(at[ct]=pe[ct]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ce=0,ct=Object.getOwnPropertySymbols(pe);ce<ct.length;ce++)Ue.indexOf(ct[ce])<0&&Object.prototype.propertyIsEnumerable.call(pe,ct[ce])&&(at[ct[ce]]=pe[ct[ce]]);return at};const z=(pe,Ue)=>{const{getPrefixCls:at}=a.useContext(ee.E_),{prefixCls:ct}=pe,ce=k(pe,["prefixCls"]),Le=at("radio",ct);return a.createElement(G,{value:"button"},a.createElement(rt,Object.assign({prefixCls:Le},ce,{type:"radio",ref:Ue})))};var C=a.forwardRef(z);const Y=rt;Y.Button=C,Y.Group=w,Y.__ANT_RADIO=!0;var ke=Y},58018:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return Ze}});var a=n(59301),qe=n(54476),L={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"},Re=L,q=n(7657),ee=function(xe,Q){return a.createElement(q.Z,(0,qe.Z)({},xe,{ref:Q,icon:Re}))},_=a.forwardRef(ee),y=_,V=n(92310),c=n.n(V),T=n(738),F=n(48755),G=n(25399),R=n(36237),X=n(63356),N=n(16931),A=n(51636);const S=we=>{const{componentCls:xe}=we;return{[`${xe}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:we.marginXS},"> div":{transition:`all ${we.motionDurationMid}, outline 0s`,"&:hover":{transform:we.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,R.unit)(we.lineWidth)} dashed ${we.starColor}`,transform:we.starHoverScale}},"&-first, &-second":{color:we.starBg,transition:`all ${we.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${xe}-star-first, &-half ${xe}-star-second`]:{opacity:1},[`&-half ${xe}-star-first, &-full ${xe}-star-second`]:{color:"inherit"}}}},E=we=>({[`&-rtl${we.componentCls}`]:{direction:"rtl"}}),oe=we=>{const{componentCls:xe}=we;return{[xe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,X.Wf)(we)),{display:"inline-block",margin:0,padding:0,color:we.starColor,fontSize:we.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${xe} ${xe}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),S(we)),E(we))}},J=we=>({starColor:we.yellow6,starSize:we.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:we.colorFillContent});var te=(0,N.I$)("Rate",we=>{const xe=(0,A.mergeToken)(we,{});return[oe(xe)]},J),$e=n(2171),Ne=function(we,xe){var Q={};for(var ye in we)Object.prototype.hasOwnProperty.call(we,ye)&&xe.indexOf(ye)<0&&(Q[ye]=we[ye]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,ye=Object.getOwnPropertySymbols(we);j<ye.length;j++)xe.indexOf(ye[j])<0&&Object.prototype.propertyIsEnumerable.call(we,ye[j])&&(Q[ye[j]]=we[ye[j]]);return Q},Ze=a.forwardRef((we,xe)=>{const{prefixCls:Q,className:ye,rootClassName:j,style:I,tooltips:rt,character:le=a.createElement(y,null),disabled:se}=we,w=Ne(we,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),k=(wt,Fe)=>{let{index:De}=Fe;return rt?a.createElement(G.Z,{title:rt[De]},wt):wt},{getPrefixCls:z,direction:C,rate:Y}=a.useContext(F.E_),ke=z("rate",Q),[pe,Ue,at]=te(ke),ct=Object.assign(Object.assign({},Y==null?void 0:Y.style),I),ce=a.useContext($e.Z),Le=se!=null?se:ce;return pe(a.createElement(T.Z,Object.assign({ref:xe,character:le,characterRender:k,disabled:Le},w,{className:c()(ye,j,Ue,at,Y==null?void 0:Y.className),style:ct,prefixCls:ke,direction:C})))})},82326:function(Yr,Kt,n){"use strict";var a=n(59301),qe=n(92310),L=n.n(qe),Re=n(37463),q=n(2738),ee=n(75030),_=n(86641),y=n(45915),V=n(82855),c=n(48755),T=n(38406),F=n(2171),G=n(83397),R=n(31756),X=n(56553),N=n(24971),A=n(70045),S=n(57700),E=n(1722),oe=n(90376),J=n(68525),te=n(90005),$e=function(xe,Q){var ye={};for(var j in xe)Object.prototype.hasOwnProperty.call(xe,j)&&Q.indexOf(j)<0&&(ye[j]=xe[j]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,j=Object.getOwnPropertySymbols(xe);I<j.length;I++)Q.indexOf(j[I])<0&&Object.prototype.propertyIsEnumerable.call(xe,j[I])&&(ye[j[I]]=xe[j[I]]);return ye};const Ne="SECRET_COMBOBOX_MODE_DO_NOT_USE",Qe=(xe,Q)=>{var ye;const{prefixCls:j,bordered:I,className:rt,rootClassName:le,getPopupContainer:se,popupClassName:w,dropdownClassName:k,listHeight:z=256,placement:C,listItemHeight:Y,size:ke,disabled:pe,notFoundContent:Ue,status:at,builtinPlacements:ct,dropdownMatchSelectWidth:ce,popupMatchSelectWidth:Le,direction:wt,style:Fe,allowClear:De,variant:P,dropdownStyle:_e,transitionName:be,tagRender:he,maxCount:de,prefix:me}=xe,Ie=$e(xe,["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:Se,getPrefixCls:Me,renderEmpty:Je,direction:pt,virtual:Ot,popupMatchSelectWidth:_t,popupOverflow:Gt}=a.useContext(c.E_),Pt=(0,c.dj)("select"),[,ot]=(0,S.ZP)(),xt=Y!=null?Y:ot==null?void 0:ot.controlHeight,jt=Me("select",j),Ht=Me(),Ct=wt!=null?wt:pt,{compactSize:er,compactItemClassnames:cr}=(0,A.ri)(jt,Ct),[Cr,qr]=(0,N.Z)("select",P,I),Ar=(0,G.Z)(jt),[x,H,St]=(0,oe.Z)(jt,Ar),ae=a.useMemo(()=>{const{mode:ge}=xe;if(ge!=="combobox")return ge===Ne?"combobox":ge},[xe.mode]),Be=ae==="multiple"||ae==="tags",zr=(0,te.Z)(xe.suffixIcon,xe.showArrow),$r=(ye=Le!=null?Le:ce)!==null&&ye!==void 0?ye:_t,{status:yn,hasFeedback:Mn,isFormItemInput:Ft,feedbackIcon:Sr}=a.useContext(X.aM),vr=(0,V.F)(yn,at);let Lr;Ue!==void 0?Lr=Ue:ae==="combobox"?Lr=null:Lr=(Je==null?void 0:Je("Select"))||a.createElement(T.Z,{componentName:"Select"});const{suffixIcon:h,itemIcon:D,removeIcon:Ee,clearIcon:ne}=(0,J.Z)(Object.assign(Object.assign({},Ie),{multiple:Be,hasFeedback:Mn,feedbackIcon:Sr,showSuffixIcon:zr,prefixCls:jt,componentName:"Select"})),st=De===!0?{clearIcon:ne}:De,gn=(0,q.Z)(Ie,["suffixIcon","itemIcon"]),mt=L()(w||k,{[`${jt}-dropdown-${Ct}`]:Ct==="rtl"},le,St,Ar,H),Zt=(0,R.Z)(ge=>{var fr;return(fr=ke!=null?ke:er)!==null&&fr!==void 0?fr:ge}),Ur=a.useContext(F.Z),Pr=pe!=null?pe:Ur,Jr=L()({[`${jt}-lg`]:Zt==="large",[`${jt}-sm`]:Zt==="small",[`${jt}-rtl`]:Ct==="rtl",[`${jt}-${Cr}`]:qr,[`${jt}-in-form-item`]:Ft},(0,V.Z)(jt,vr,Mn),cr,Pt.className,rt,le,St,Ar,H),vn=a.useMemo(()=>C!==void 0?C:Ct==="rtl"?"bottomRight":"bottomLeft",[C,Ct]),[Qn]=(0,ee.Cn)("SelectLike",_e==null?void 0:_e.zIndex);return x(a.createElement(Re.ZP,Object.assign({ref:Q,virtual:Ot,showSearch:Pt.showSearch},gn,{style:Object.assign(Object.assign({},Pt.style),Fe),dropdownMatchSelectWidth:$r,transitionName:(0,_.m)(Ht,"slide-up",be),builtinPlacements:(0,E.Z)(ct,Gt),listHeight:z,listItemHeight:xt,mode:ae,prefixCls:jt,placement:vn,direction:Ct,prefix:me,suffixIcon:h,menuItemSelectedIcon:D,removeIcon:Ee,allowClear:st,notFoundContent:Lr,className:Jr,getPopupContainer:se||Se,dropdownClassName:mt,disabled:Pr,dropdownStyle:Object.assign(Object.assign({},_e),{zIndex:Qn}),maxCount:Be?de:void 0,tagRender:Be?he:void 0})))},Ze=a.forwardRef(Qe),we=(0,y.Z)(Ze,"dropdownAlign");Ze.SECRET_COMBOBOX_MODE_DO_NOT_USE=Ne,Ze.Option=Re.Wx,Ze.OptGroup=Re.Xo,Ze._InternalPanelDoNotUseOrYouWillBeFired=we,Kt.default=Ze},1722:function(Yr,Kt){"use strict";const n=qe=>{const Re={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:qe==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},Re),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Re),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Re),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Re),{points:["br","tr"],offset:[0,-4]})}};function a(qe,L){return qe||n(L)}Kt.Z=a},90376:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return j}});var a=n(63356),qe=n(56119),L=n(16931),Re=n(51636),q=n(46e3),ee=n(93873);const _=I=>{const{optionHeight:rt,optionFontSize:le,optionLineHeight:se,optionPadding:w}=I;return{position:"relative",display:"block",minHeight:rt,padding:w,color:I.colorText,fontWeight:"normal",fontSize:le,lineHeight:se,boxSizing:"border-box"}};var V=I=>{const{antCls:rt,componentCls:le}=I,se=`${le}-item`,w=`&${rt}-slide-up-enter${rt}-slide-up-enter-active`,k=`&${rt}-slide-up-appear${rt}-slide-up-appear-active`,z=`&${rt}-slide-up-leave${rt}-slide-up-leave-active`,C=`${le}-dropdown-placement-`,Y=`${se}-option-selected`;return[{[`${le}-dropdown`]:Object.assign(Object.assign({},(0,a.Wf)(I)),{position:"absolute",top:-9999,zIndex:I.zIndexPopup,boxSizing:"border-box",padding:I.paddingXXS,overflow:"hidden",fontSize:I.fontSize,fontVariant:"initial",backgroundColor:I.colorBgElevated,borderRadius:I.borderRadiusLG,outline:"none",boxShadow:I.boxShadowSecondary,[`
${w}${C}bottomLeft,
${k}${C}bottomLeft
`]:{animationName:q.fJ},[`
${w}${C}topLeft,
${k}${C}topLeft,
${w}${C}topRight,
${k}${C}topRight
`]:{animationName:q.Qt},[`${z}${C}bottomLeft`]:{animationName:q.Uw},[`
${z}${C}topLeft,
${z}${C}topRight
`]:{animationName:q.ly},"&-hidden":{display:"none"},[se]:Object.assign(Object.assign({},_(I)),{cursor:"pointer",transition:`background ${I.motionDurationSlow} ease`,borderRadius:I.borderRadiusSM,"&-group":{color:I.colorTextDescription,fontSize:I.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},a.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${se}-option-disabled)`]:{backgroundColor:I.optionActiveBg},[`&-selected:not(${se}-option-disabled)`]:{color:I.optionSelectedColor,fontWeight:I.optionSelectedFontWeight,backgroundColor:I.optionSelectedBg,[`${se}-option-state`]:{color:I.colorPrimary}},"&-disabled":{[`&${se}-option-selected`]:{backgroundColor:I.colorBgContainerDisabled},color:I.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:I.calc(I.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},_(I)),{color:I.colorTextDisabled})}),[`${Y}:has(+ ${Y})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Y}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,q.oN)(I,"slide-up"),(0,q.oN)(I,"slide-down"),(0,ee.Fm)(I,"move-up"),(0,ee.Fm)(I,"move-down")]},c=n(26743),T=n(36237);function F(I,rt){const{componentCls:le,inputPaddingHorizontalBase:se,borderRadius:w}=I,k=I.calc(I.controlHeight).sub(I.calc(I.lineWidth).mul(2)).equal(),z=rt?`${le}-${rt}`:"";return{[`${le}-single${z}`]:{fontSize:I.fontSize,height:I.controlHeight,[`${le}-selector`]:Object.assign(Object.assign({},(0,a.Wf)(I,!0)),{display:"flex",borderRadius:w,flex:"1 1 auto",[`${le}-selection-wrap:after`]:{lineHeight:(0,T.unit)(k)},[`${le}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
${le}-selection-item,
${le}-selection-placeholder
`]:{display:"block",padding:0,lineHeight:(0,T.unit)(k),transition:`all ${I.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${le}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${le}-selection-item:empty:after`,`${le}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
&${le}-show-arrow ${le}-selection-item,
&${le}-show-arrow ${le}-selection-search,
&${le}-show-arrow ${le}-selection-placeholder
`]:{paddingInlineEnd:I.showArrowPaddingInlineEnd},[`&${le}-open ${le}-selection-item`]:{color:I.colorTextPlaceholder},[`&:not(${le}-customize-input)`]:{[`${le}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,T.unit)(se)}`,[`${le}-selection-search-input`]:{height:k,fontSize:I.fontSize},"&:after":{lineHeight:(0,T.unit)(k)}}},[`&${le}-customize-input`]:{[`${le}-selector`]:{"&:after":{display:"none"},[`${le}-selection-search`]:{position:"static",width:"100%"},[`${le}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,T.unit)(se)}`,"&:after":{display:"none"}}}}}}}function G(I){const{componentCls:rt}=I,le=I.calc(I.controlPaddingHorizontalSM).sub(I.lineWidth).equal();return[F(I),F((0,Re.mergeToken)(I,{controlHeight:I.controlHeightSM,borderRadius:I.borderRadiusSM}),"sm"),{[`${rt}-single${rt}-sm`]:{[`&:not(${rt}-customize-input)`]:{[`${rt}-selector`]:{padding:`0 ${(0,T.unit)(le)}`},[`&${rt}-show-arrow ${rt}-selection-search`]:{insetInlineEnd:I.calc(le).add(I.calc(I.fontSize).mul(1.5)).equal()},[`
&${rt}-show-arrow ${rt}-selection-item,
&${rt}-show-arrow ${rt}-selection-placeholder
`]:{paddingInlineEnd:I.calc(I.fontSize).mul(1.5).equal()}}}},F((0,Re.mergeToken)(I,{controlHeight:I.singleItemHeightLG,fontSize:I.fontSizeLG,borderRadius:I.borderRadiusLG}),"lg")]}const R=I=>{const{fontSize:rt,lineHeight:le,lineWidth:se,controlHeight:w,controlHeightSM:k,controlHeightLG:z,paddingXXS:C,controlPaddingHorizontal:Y,zIndexPopupBase:ke,colorText:pe,fontWeightStrong:Ue,controlItemBgActive:at,controlItemBgHover:ct,colorBgContainer:ce,colorFillSecondary:Le,colorBgContainerDisabled:wt,colorTextDisabled:Fe,colorPrimaryHover:De,colorPrimary:P,controlOutline:_e}=I,be=C*2,he=se*2,de=Math.min(w-be,w-he),me=Math.min(k-be,k-he),Ie=Math.min(z-be,z-he);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(C/2),zIndexPopup:ke+50,optionSelectedColor:pe,optionSelectedFontWeight:Ue,optionSelectedBg:at,optionActiveBg:ct,optionPadding:`${(w-rt*le)/2}px ${Y}px`,optionFontSize:rt,optionLineHeight:le,optionHeight:w,selectorBg:ce,clearBg:ce,singleItemHeightLG:z,multipleItemBg:Le,multipleItemBorderColor:"transparent",multipleItemHeight:de,multipleItemHeightSM:me,multipleItemHeightLG:Ie,multipleSelectorBgDisabled:wt,multipleItemColorDisabled:Fe,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(I.fontSize*1.25),hoverBorderColor:De,activeBorderColor:P,activeOutlineColor:_e,selectAffixPadding:C}},X=(I,rt)=>{const{componentCls:le,antCls:se,controlOutlineWidth:w}=I;return{[`&:not(${le}-customize-input) ${le}-selector`]:{border:`${(0,T.unit)(I.lineWidth)} ${I.lineType} ${rt.borderColor}`,background:I.selectorBg},[`&:not(${le}-disabled):not(${le}-customize-input):not(${se}-pagination-size-changer)`]:{[`&:hover ${le}-selector`]:{borderColor:rt.hoverBorderHover},[`${le}-focused& ${le}-selector`]:{borderColor:rt.activeBorderColor,boxShadow:`0 0 0 ${(0,T.unit)(w)} ${rt.activeOutlineColor}`,outline:0},[`${le}-prefix`]:{color:rt.color}}}},N=(I,rt)=>({[`&${I.componentCls}-status-${rt.status}`]:Object.assign({},X(I,rt))}),A=I=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},X(I,{borderColor:I.colorBorder,hoverBorderHover:I.hoverBorderColor,activeBorderColor:I.activeBorderColor,activeOutlineColor:I.activeOutlineColor,color:I.colorText})),N(I,{status:"error",borderColor:I.colorError,hoverBorderHover:I.colorErrorHover,activeBorderColor:I.colorError,activeOutlineColor:I.colorErrorOutline,color:I.colorError})),N(I,{status:"warning",borderColor:I.colorWarning,hoverBorderHover:I.colorWarningHover,activeBorderColor:I.colorWarning,activeOutlineColor:I.colorWarningOutline,color:I.colorWarning})),{[`&${I.componentCls}-disabled`]:{[`&:not(${I.componentCls}-customize-input) ${I.componentCls}-selector`]:{background:I.colorBgContainerDisabled,color:I.colorTextDisabled}},[`&${I.componentCls}-multiple ${I.componentCls}-selection-item`]:{background:I.multipleItemBg,border:`${(0,T.unit)(I.lineWidth)} ${I.lineType} ${I.multipleItemBorderColor}`}})}),S=(I,rt)=>{const{componentCls:le,antCls:se}=I;return{[`&:not(${le}-customize-input) ${le}-selector`]:{background:rt.bg,border:`${(0,T.unit)(I.lineWidth)} ${I.lineType} transparent`,color:rt.color},[`&:not(${le}-disabled):not(${le}-customize-input):not(${se}-pagination-size-changer)`]:{[`&:hover ${le}-selector`]:{background:rt.hoverBg},[`${le}-focused& ${le}-selector`]:{background:I.selectorBg,borderColor:rt.activeBorderColor,outline:0}}}},E=(I,rt)=>({[`&${I.componentCls}-status-${rt.status}`]:Object.assign({},S(I,rt))}),oe=I=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},S(I,{bg:I.colorFillTertiary,hoverBg:I.colorFillSecondary,activeBorderColor:I.activeBorderColor,color:I.colorText})),E(I,{status:"error",bg:I.colorErrorBg,hoverBg:I.colorErrorBgHover,activeBorderColor:I.colorError,color:I.colorError})),E(I,{status:"warning",bg:I.colorWarningBg,hoverBg:I.colorWarningBgHover,activeBorderColor:I.colorWarning,color:I.colorWarning})),{[`&${I.componentCls}-disabled`]:{[`&:not(${I.componentCls}-customize-input) ${I.componentCls}-selector`]:{borderColor:I.colorBorder,background:I.colorBgContainerDisabled,color:I.colorTextDisabled}},[`&${I.componentCls}-multiple ${I.componentCls}-selection-item`]:{background:I.colorBgContainer,border:`${(0,T.unit)(I.lineWidth)} ${I.lineType} ${I.colorSplit}`}})}),J=I=>({"&-borderless":{[`${I.componentCls}-selector`]:{background:"transparent",border:`${(0,T.unit)(I.lineWidth)} ${I.lineType} transparent`},[`&${I.componentCls}-disabled`]:{[`&:not(${I.componentCls}-customize-input) ${I.componentCls}-selector`]:{color:I.colorTextDisabled}},[`&${I.componentCls}-multiple ${I.componentCls}-selection-item`]:{background:I.multipleItemBg,border:`${(0,T.unit)(I.lineWidth)} ${I.lineType} ${I.multipleItemBorderColor}`},[`&${I.componentCls}-status-error`]:{[`${I.componentCls}-prefix, ${I.componentCls}-selection-item`]:{color:I.colorError}},[`&${I.componentCls}-status-warning`]:{[`${I.componentCls}-prefix, ${I.componentCls}-selection-item`]:{color:I.colorWarning}}}}),te=(I,rt)=>{const{componentCls:le,antCls:se}=I;return{[`&:not(${le}-customize-input) ${le}-selector`]:{borderWidth:`0 0 ${(0,T.unit)(I.lineWidth)} 0`,borderStyle:`none none ${I.lineType} none`,borderColor:rt.borderColor,background:I.selectorBg,borderRadius:0},[`&:not(${le}-disabled):not(${le}-customize-input):not(${se}-pagination-size-changer)`]:{[`&:hover ${le}-selector`]:{borderColor:rt.hoverBorderHover},[`${le}-focused& ${le}-selector`]:{borderColor:rt.activeBorderColor,outline:0},[`${le}-prefix`]:{color:rt.color}}}},$e=(I,rt)=>({[`&${I.componentCls}-status-${rt.status}`]:Object.assign({},te(I,rt))}),Ne=I=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},te(I,{borderColor:I.colorBorder,hoverBorderHover:I.hoverBorderColor,activeBorderColor:I.activeBorderColor,activeOutlineColor:I.activeOutlineColor,color:I.colorText})),$e(I,{status:"error",borderColor:I.colorError,hoverBorderHover:I.colorErrorHover,activeBorderColor:I.colorError,activeOutlineColor:I.colorErrorOutline,color:I.colorError})),$e(I,{status:"warning",borderColor:I.colorWarning,hoverBorderHover:I.colorWarningHover,activeBorderColor:I.colorWarning,activeOutlineColor:I.colorWarningOutline,color:I.colorWarning})),{[`&${I.componentCls}-disabled`]:{[`&:not(${I.componentCls}-customize-input) ${I.componentCls}-selector`]:{color:I.colorTextDisabled}},[`&${I.componentCls}-multiple ${I.componentCls}-selection-item`]:{background:I.multipleItemBg,border:`${(0,T.unit)(I.lineWidth)} ${I.lineType} ${I.multipleItemBorderColor}`}})});var Ze=I=>({[I.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},A(I)),oe(I)),J(I)),Ne(I))});const we=I=>{const{componentCls:rt}=I;return{position:"relative",transition:`all ${I.motionDurationMid} ${I.motionEaseInOut}`,input:{cursor:"pointer"},[`${rt}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${rt}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},xe=I=>{const{componentCls:rt}=I;return{[`${rt}-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"}}}},Q=I=>{const{antCls:rt,componentCls:le,inputPaddingHorizontalBase:se,iconCls:w}=I;return{[le]:Object.assign(Object.assign({},(0,a.Wf)(I)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${le}-customize-input) ${le}-selector`]:Object.assign(Object.assign({},we(I)),xe(I)),[`${le}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},a.vS),{[`> ${rt}-typography`]:{display:"inline"}}),[`${le}-selection-placeholder`]:Object.assign(Object.assign({},a.vS),{flex:1,color:I.colorTextPlaceholder,pointerEvents:"none"}),[`${le}-arrow`]:Object.assign(Object.assign({},(0,a.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:se,height:I.fontSizeIcon,marginTop:I.calc(I.fontSizeIcon).mul(-1).div(2).equal(),color:I.colorTextQuaternary,fontSize:I.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${I.motionDurationSlow} ease`,[w]:{verticalAlign:"top",transition:`transform ${I.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${le}-suffix)`]:{pointerEvents:"auto"}},[`${le}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${le}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${le}-prefix`]:{flex:"none",marginInlineEnd:I.selectAffixPadding},[`${le}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:se,zIndex:1,display:"inline-block",width:I.fontSizeIcon,height:I.fontSizeIcon,marginTop:I.calc(I.fontSizeIcon).mul(-1).div(2).equal(),color:I.colorTextQuaternary,fontSize:I.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${I.motionDurationMid} ease, opacity ${I.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:I.colorTextTertiary}},[`&:hover ${le}-clear`]:{opacity:1,background:I.colorBgBase,borderRadius:"50%"}}),[`${le}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${le}-has-feedback`]:{[`${le}-clear`]:{insetInlineEnd:I.calc(se).add(I.fontSize).add(I.paddingXS).equal()}}}}}},ye=I=>{const{componentCls:rt}=I;return[{[rt]:{[`&${rt}-in-form-item`]:{width:"100%"}}},Q(I),G(I),(0,c.ZP)(I),V(I),{[`${rt}-rtl`]:{direction:"rtl"}},(0,qe.c)(I,{borderElCls:`${rt}-selector`,focusElCls:`${rt}-focused`})]};var j=(0,L.I$)("Select",(I,rt)=>{let{rootPrefixCls:le}=rt;const se=(0,Re.mergeToken)(I,{rootPrefixCls:le,inputPaddingHorizontalBase:I.calc(I.paddingSM).sub(1).equal(),multipleSelectItemHeight:I.multipleItemHeight,selectHeight:I.controlHeight});return[ye(se),Ze(se)]},R,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Yr,Kt,n){"use strict";n.d(Kt,{_z:function(){return ee},gp:function(){return Re}});var a=n(36237),qe=n(63356),L=n(51636);const Re=c=>{const{multipleSelectItemHeight:T,paddingXXS:F,lineWidth:G,INTERNAL_FIXED_ITEM_MARGIN:R}=c,X=c.max(c.calc(F).sub(G).equal(),0),N=c.max(c.calc(X).sub(R).equal(),0);return{basePadding:X,containerPadding:N,itemHeight:(0,a.unit)(T),itemLineHeight:(0,a.unit)(c.calc(T).sub(c.calc(c.lineWidth).mul(2)).equal())}},q=c=>{const{multipleSelectItemHeight:T,selectHeight:F,lineWidth:G}=c;return c.calc(F).sub(T).div(2).sub(G).equal()},ee=c=>{const{componentCls:T,iconCls:F,borderRadiusSM:G,motionDurationSlow:R,paddingXS:X,multipleItemColorDisabled:N,multipleItemBorderColorDisabled:A,colorIcon:S,colorIconHover:E,INTERNAL_FIXED_ITEM_MARGIN:oe}=c;return{[`${T}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${T}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:oe,borderRadius:G,cursor:"default",transition:`font-size ${R}, line-height ${R}, height ${R}`,marginInlineEnd:c.calc(oe).mul(2).equal(),paddingInlineStart:X,paddingInlineEnd:c.calc(X).div(2).equal(),[`${T}-disabled&`]:{color:N,borderColor:A,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:c.calc(X).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,qe.Ro)()),{display:"inline-flex",alignItems:"center",color:S,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${F}`]:{verticalAlign:"-0.2em"},"&:hover":{color:E}})}}}},_=(c,T)=>{const{componentCls:F,INTERNAL_FIXED_ITEM_MARGIN:G}=c,R=`${F}-selection-overflow`,X=c.multipleSelectItemHeight,N=q(c),A=T?`${F}-${T}`:"",S=Re(c);return{[`${F}-multiple${A}`]:Object.assign(Object.assign({},ee(c)),{[`${F}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:S.basePadding,paddingBlock:S.containerPadding,borderRadius:c.borderRadius,[`${F}-disabled&`]:{background:c.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,a.unit)(G)} 0`,lineHeight:(0,a.unit)(X),visibility:"hidden",content:'"\\a0"'}},[`${F}-selection-item`]:{height:S.itemHeight,lineHeight:(0,a.unit)(S.itemLineHeight)},[`${F}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,a.unit)(X),marginBlock:G}},[`${F}-prefix`]:{marginInlineStart:c.calc(c.inputPaddingHorizontalBase).sub(S.basePadding).equal()},[`${R}-item + ${R}-item,
${F}-prefix + ${F}-selection-wrap
`]:{[`${F}-selection-search`]:{marginInlineStart:0},[`${F}-selection-placeholder`]:{insetInlineStart:0}},[`${R}-item-suffix`]:{minHeight:S.itemHeight,marginBlock:G},[`${F}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:c.calc(c.inputPaddingHorizontalBase).sub(N).equal(),"\n &-input,\n &-mirror\n ":{height:X,fontFamily:c.fontFamily,lineHeight:(0,a.unit)(X),transition:`all ${c.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${F}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:c.calc(c.inputPaddingHorizontalBase).sub(S.basePadding).equal(),insetInlineEnd:c.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${c.motionDurationSlow}`}})}};function y(c,T){const{componentCls:F}=c,G=T?`${F}-${T}`:"",R={[`${F}-multiple${G}`]:{fontSize:c.fontSize,[`${F}-selector`]:{[`${F}-show-search&`]:{cursor:"text"}},[`
&${F}-show-arrow ${F}-selector,
&${F}-allow-clear ${F}-selector
`]:{paddingInlineEnd:c.calc(c.fontSizeIcon).add(c.controlPaddingHorizontal).equal()}}};return[_(c,T),R]}const V=c=>{const{componentCls:T}=c,F=(0,L.mergeToken)(c,{selectHeight:c.controlHeightSM,multipleSelectItemHeight:c.multipleItemHeightSM,borderRadius:c.borderRadiusSM,borderRadiusSM:c.borderRadiusXS}),G=(0,L.mergeToken)(c,{fontSize:c.fontSizeLG,selectHeight:c.controlHeightLG,multipleSelectItemHeight:c.multipleItemHeightLG,borderRadius:c.borderRadiusLG,borderRadiusSM:c.borderRadius});return[y(c),y(F,"sm"),{[`${T}-multiple${T}-sm`]:{[`${T}-selection-placeholder`]:{insetInline:c.calc(c.controlPaddingHorizontalSM).sub(c.lineWidth).equal()},[`${T}-selection-search`]:{marginInlineStart:2}}},y(G,"lg")]};Kt.ZP=V},68525:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return y}});var a=n(59301),qe=n(40001),L=n(19248),Re=n(99267),q=n(84105),ee=n(58617),_=n(47472);function y(V){let{suffixIcon:c,clearIcon:T,menuItemSelectedIcon:F,removeIcon:G,loading:R,multiple:X,hasFeedback:N,prefixCls:A,showSuffixIcon:S,feedbackIcon:E,showArrow:oe,componentName:J}=V;const te=T!=null?T:a.createElement(L.Z,null),$e=we=>c===null&&!N&&!oe?null:a.createElement(a.Fragment,null,S!==!1&&we,N&&E);let Ne=null;if(c!==void 0)Ne=$e(c);else if(R)Ne=$e(a.createElement(ee.Z,{spin:!0}));else{const we=`${A}-suffix`;Ne=xe=>{let{open:Q,showSearch:ye}=xe;return $e(Q&&ye?a.createElement(_.Z,{className:we}):a.createElement(q.Z,{className:we}))}}let Qe=null;F!==void 0?Qe=F:X?Qe=a.createElement(qe.Z,null):Qe=null;let Ze=null;return G!==void 0?Ze=G:Ze=a.createElement(Re.Z,null),{clearIcon:te,suffixIcon:Ne,itemIcon:Qe,removeIcon:Ze}}},90005:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return a}});function a(qe,L){return L!==void 0?L:qe!==null}},77736:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return A}});var a=n(59301),qe=n(92310),L=n.n(qe),Re=n(11592);function q(S){return["small","middle","large"].includes(S)}function ee(S){return S?typeof S=="number"&&!Number.isNaN(S):!1}var _=n(48755),y=n(70045);const V=a.createContext({latestIndex:0}),c=V.Provider;var F=S=>{let{className:E,index:oe,children:J,split:te,style:$e}=S;const{latestIndex:Ne}=a.useContext(V);return J==null?null:a.createElement(a.Fragment,null,a.createElement("div",{className:E,style:$e},J),oe<Ne&&te&&a.createElement("span",{className:`${E}-split`},te))},G=n(31547),R=function(S,E){var oe={};for(var J in S)Object.prototype.hasOwnProperty.call(S,J)&&E.indexOf(J)<0&&(oe[J]=S[J]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,J=Object.getOwnPropertySymbols(S);te<J.length;te++)E.indexOf(J[te])<0&&Object.prototype.propertyIsEnumerable.call(S,J[te])&&(oe[J[te]]=S[J[te]]);return oe};const N=a.forwardRef((S,E)=>{var oe;const{getPrefixCls:J,direction:te,size:$e,className:Ne,style:Qe,classNames:Ze,styles:we}=(0,_.dj)("space"),{size:xe=$e!=null?$e:"small",align:Q,className:ye,rootClassName:j,children:I,direction:rt="horizontal",prefixCls:le,split:se,style:w,wrap:k=!1,classNames:z,styles:C}=S,Y=R(S,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[ke,pe]=Array.isArray(xe)?xe:[xe,xe],Ue=q(pe),at=q(ke),ct=ee(pe),ce=ee(ke),Le=(0,Re.Z)(I,{keepEmpty:!0}),wt=Q===void 0&&rt==="horizontal"?"center":Q,Fe=J("space",le),[De,P,_e]=(0,G.Z)(Fe),be=L()(Fe,Ne,P,`${Fe}-${rt}`,{[`${Fe}-rtl`]:te==="rtl",[`${Fe}-align-${wt}`]:wt,[`${Fe}-gap-row-${pe}`]:Ue,[`${Fe}-gap-col-${ke}`]:at},ye,j,_e),he=L()(`${Fe}-item`,(oe=z==null?void 0:z.item)!==null&&oe!==void 0?oe:Ze.item);let de=0;const me=Le.map((Me,Je)=>{var pt;Me!=null&&(de=Je);const Ot=(Me==null?void 0:Me.key)||`${he}-${Je}`;return a.createElement(F,{className:he,key:Ot,index:Je,split:se,style:(pt=C==null?void 0:C.item)!==null&&pt!==void 0?pt:we.item},Me)}),Ie=a.useMemo(()=>({latestIndex:de}),[de]);if(Le.length===0)return null;const Se={};return k&&(Se.flexWrap="wrap"),!at&&ce&&(Se.columnGap=ke),!Ue&&ct&&(Se.rowGap=pe),De(a.createElement("div",Object.assign({ref:E,className:be,style:Object.assign(Object.assign(Object.assign({},Se),Qe),w)},Y),a.createElement(c,{value:Ie},me)))});N.Compact=y.ZP;var A=N},11938:function(Yr,Kt,n){"use strict";n.d(Kt,{default:function(){return xe}});var a=n(59301),qe=n(40192),L=n(22703),Re=n(92310),q=n.n(Re),ee=n(26112),_=n(48755),y=n(458),c=Q=>{const{value:ye,formatter:j,precision:I,decimalSeparator:rt,groupSeparator:le="",prefixCls:se}=Q;let w;if(typeof j=="function")w=j(ye);else{const k=String(ye),z=k.match(/^(-?)(\d*)(\.(\d+))?$/);if(!z||k==="-")w=k;else{const C=z[1];let Y=z[2]||"0",ke=z[4]||"";Y=Y.replace(/\B(?=(\d{3})+(?!\d))/g,le),typeof I=="number"&&(ke=ke.padEnd(I,"0").slice(0,I>0?I:0)),ke&&(ke=`${rt}${ke}`),w=[a.createElement("span",{key:"int",className:`${se}-content-value-int`},C,Y),ke&&a.createElement("span",{key:"decimal",className:`${se}-content-value-decimal`},ke)]}}return a.createElement("span",{className:`${se}-content-value`},w)},T=n(63356),F=n(16931),G=n(51636);const R=Q=>{const{componentCls:ye,marginXXS:j,padding:I,colorTextDescription:rt,titleFontSize:le,colorTextHeading:se,contentFontSize:w,fontFamily:k}=Q;return{[ye]:Object.assign(Object.assign({},(0,T.Wf)(Q)),{[`${ye}-title`]:{marginBottom:j,color:rt,fontSize:le},[`${ye}-skeleton`]:{paddingTop:I},[`${ye}-content`]:{color:se,fontSize:w,fontFamily:k,[`${ye}-content-value`]:{display:"inline-block",direction:"ltr"},[`${ye}-content-prefix, ${ye}-content-suffix`]:{display:"inline-block"},[`${ye}-content-prefix`]:{marginInlineEnd:j},[`${ye}-content-suffix`]:{marginInlineStart:j}}})}},X=Q=>{const{fontSizeHeading3:ye,fontSize:j}=Q;return{titleFontSize:j,contentFontSize:ye}};var N=(0,F.I$)("Statistic",Q=>{const ye=(0,G.mergeToken)(Q,{});return[R(ye)]},X),A=function(Q,ye){var j={};for(var I in Q)Object.prototype.hasOwnProperty.call(Q,I)&&ye.indexOf(I)<0&&(j[I]=Q[I]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,I=Object.getOwnPropertySymbols(Q);rt<I.length;rt++)ye.indexOf(I[rt])<0&&Object.prototype.propertyIsEnumerable.call(Q,I[rt])&&(j[I[rt]]=Q[I[rt]]);return j},E=Q=>{const{prefixCls:ye,className:j,rootClassName:I,style:rt,valueStyle:le,value:se=0,title:w,valueRender:k,prefix:z,suffix:C,loading:Y=!1,formatter:ke,precision:pe,decimalSeparator:Ue=".",groupSeparator:at=",",onMouseEnter:ct,onMouseLeave:ce}=Q,Le=A(Q,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:wt,direction:Fe,className:De,style:P}=(0,_.dj)("statistic"),_e=wt("statistic",ye),[be,he,de]=N(_e),me=a.createElement(c,{decimalSeparator:Ue,groupSeparator:at,prefixCls:_e,formatter:ke,precision:pe,value:se}),Ie=q()(_e,{[`${_e}-rtl`]:Fe==="rtl"},De,j,I,he,de),Se=(0,ee.Z)(Le,{aria:!0,data:!0});return be(a.createElement("div",Object.assign({},Se,{className:Ie,style:Object.assign(Object.assign({},P),rt),onMouseEnter:ct,onMouseLeave:ce}),w&&a.createElement("div",{className:`${_e}-title`},w),a.createElement(y.Z,{paragraph:!1,loading:Y,className:`${_e}-skeleton`},a.createElement("div",{style:le,className:`${_e}-content`},z&&a.createElement("span",{className:`${_e}-content-prefix`},z),k?k(me):me,C&&a.createElement("span",{className:`${_e}-content-suffix`},C)))))};const oe=[["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 J(Q,ye){let j=Q;const I=/\[[^\]]*]/g,rt=(ye.match(I)||[]).map(k=>k.slice(1,-1)),le=ye.replace(I,"[]"),se=oe.reduce((k,z)=>{let[C,Y]=z;if(k.includes(C)){const ke=Math.floor(j/Y);return j-=ke*Y,k.replace(new RegExp(`${C}+`,"g"),pe=>{const Ue=pe.length;return ke.toString().padStart(Ue,"0")})}return k},le);let w=0;return se.replace(I,()=>{const k=rt[w];return w+=1,k})}function te(Q,ye){const{format:j=""}=ye,I=new Date(Q).getTime(),rt=Date.now(),le=Math.max(I-rt,0);return J(le,j)}var $e=function(Q,ye){var j={};for(var I in Q)Object.prototype.hasOwnProperty.call(Q,I)&&ye.indexOf(I)<0&&(j[I]=Q[I]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,I=Object.getOwnPropertySymbols(Q);rt<I.length;rt++)ye.indexOf(I[rt])<0&&Object.prototype.propertyIsEnumerable.call(Q,I[rt])&&(j[I[rt]]=Q[I[rt]]);return j};const Ne=1e3/30;function Qe(Q){return new Date(Q).getTime()}const Ze=Q=>{const{value:ye,format:j="HH:mm:ss",onChange:I,onFinish:rt}=Q,le=$e(Q,["value","format","onChange","onFinish"]),se=(0,qe.Z)(),w=a.useRef(null),k=()=>{rt==null||rt(),w.current&&(clearInterval(w.current),w.current=null)},z=()=>{const ke=Qe(ye);ke>=Date.now()&&(w.current=setInterval(()=>{se(),I==null||I(ke-Date.now()),ke<Date.now()&&k()},Ne))};a.useEffect(()=>(z(),()=>{w.current&&(clearInterval(w.current),w.current=null)}),[ye]);const C=(ke,pe)=>te(ke,Object.assign(Object.assign({},pe),{format:j})),Y=ke=>(0,L.Tm)(ke,{title:void 0});return a.createElement(E,Object.assign({},le,{value:ye,valueRender:Y,formatter:C}))};var we=a.memo(Ze);E.Countdown=we;var xe=E},34961:function(Yr,Kt){"use strict";const n=a=>({[a.componentCls]:{[`${a.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${a.motionDurationMid} ${a.motionEaseInOut},
opacity ${a.motionDurationMid} ${a.motionEaseInOut} !important`}},[`${a.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${a.motionDurationMid} ${a.motionEaseInOut},
opacity ${a.motionDurationMid} ${a.motionEaseInOut} !important`}}});Kt.Z=n},93873:function(Yr,Kt,n){"use strict";n.d(Kt,{Fm:function(){return F}});var a=n(36237),qe=n(48746);const L=new a.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Re=new a.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),q=new a.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ee=new a.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),_=new a.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),y=new a.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),V=new a.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),c=new a.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),T={"move-up":{inKeyframes:V,outKeyframes:c},"move-down":{inKeyframes:L,outKeyframes:Re},"move-left":{inKeyframes:q,outKeyframes:ee},"move-right":{inKeyframes:_,outKeyframes:y}},F=(G,R)=>{const{antCls:X}=G,N=`${X}-${R}`,{inKeyframes:A,outKeyframes:S}=T[R];return[(0,qe.R)(N,A,S,G.motionDurationMid),{[`
${N}-enter,
${N}-appear
`]:{opacity:0,animationTimingFunction:G.motionEaseOutCirc},[`${N}-leave`]:{animationTimingFunction:G.motionEaseInOutCirc}}]}},46e3:function(Yr,Kt,n){"use strict";n.d(Kt,{Qt:function(){return q},Uw:function(){return Re},fJ:function(){return L},ly:function(){return ee},oN:function(){return F}});var a=n(36237),qe=n(48746);const L=new a.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Re=new a.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),q=new a.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),ee=new a.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),_=new a.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),y=new a.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),V=new a.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),c=new a.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),T={"slide-up":{inKeyframes:L,outKeyframes:Re},"slide-down":{inKeyframes:q,outKeyframes:ee},"slide-left":{inKeyframes:_,outKeyframes:y},"slide-right":{inKeyframes:V,outKeyframes:c}},F=(G,R)=>{const{antCls:X}=G,N=`${X}-${R}`,{inKeyframes:A,outKeyframes:S}=T[R];return[(0,qe.R)(N,A,S,G.motionDurationMid),{[`
${N}-enter,
${N}-appear
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:G.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${N}-leave`]:{animationTimingFunction:G.motionEaseInQuint}}]}},37645:function(Yr,Kt,n){"use strict";n.d(Kt,{ZP:function(){return ee},qN:function(){return L},wZ:function(){return Re}});var a=n(36237),qe=n(36305);const L=8;function Re(_){const{contentRadius:y,limitVerticalRadius:V}=_,c=y>12?y+2:12;return{arrowOffsetHorizontal:c,arrowOffsetVertical:V?L:c}}function q(_,y){return _?y:{}}function ee(_,y,V){const{componentCls:c,boxShadowPopoverArrow:T,arrowOffsetVertical:F,arrowOffsetHorizontal:G}=_,{arrowDistance:R=0,arrowPlacement:X={left:!0,right:!0,top:!0,bottom:!0}}=V||{};return{[c]:Object.assign(Object.assign(Object.assign(Object.assign({[`${c}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,qe.W)(_,y,T)),{"&:before":{background:y}})]},q(!!X.top,{[[`&-placement-top > ${c}-arrow`,`&-placement-topLeft > ${c}-arrow`,`&-placement-topRight > ${c}-arrow`].join(",")]:{bottom:R,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${c}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":G,[`> ${c}-arrow`]:{left:{_skip_check_:!0,value:G}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,a.unit)(G)})`,[`> ${c}-arrow`]:{right:{_skip_check_:!0,value:G}}}})),q(!!X.bottom,{[[`&-placement-bottom > ${c}-arrow`,`&-placement-bottomLeft > ${c}-arrow`,`&-placement-bottomRight > ${c}-arrow`].join(",")]:{top:R,transform:"translateY(-100%)"},[`&-placement-bottom > ${c}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":G,[`> ${c}-arrow`]:{left:{_skip_check_:!0,value:G}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,a.unit)(G)})`,[`> ${c}-arrow`]:{right:{_skip_check_:!0,value:G}}}})),q(!!X.left,{[[`&-placement-left > ${c}-arrow`,`&-placement-leftTop > ${c}-arrow`,`&-placement-leftBottom > ${c}-arrow`].join(",")]:{right:{_skip_check_:!0,value:R},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${c}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${c}-arrow`]:{top:F},[`&-placement-leftBottom > ${c}-arrow`]:{bottom:F}})),q(!!X.right,{[[`&-placement-right > ${c}-arrow`,`&-placement-rightTop > ${c}-arrow`,`&-placement-rightBottom > ${c}-arrow`].join(",")]:{left:{_skip_check_:!0,value:R},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${c}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${c}-arrow`]:{top:F},[`&-placement-rightBottom > ${c}-arrow`]:{bottom:F}}))}}},36305:function(Yr,Kt,n){"use strict";n.d(Kt,{W:function(){return L},w:function(){return qe}});var a=n(36237);function qe(Re){const{sizePopupArrow:q,borderRadiusXS:ee,borderRadiusOuter:_}=Re,y=q/2,V=0,c=y,T=_*1/Math.sqrt(2),F=y-_*(1-1/Math.sqrt(2)),G=y-ee*(1/Math.sqrt(2)),R=_*(Math.sqrt(2)-1)+ee*(1/Math.sqrt(2)),X=2*y-G,N=R,A=2*y-T,S=F,E=2*y-V,oe=c,J=y*Math.sqrt(2)+_*(Math.sqrt(2)-2),te=_*(Math.sqrt(2)-1),$e=`polygon(${te}px 100%, 50% ${te}px, ${2*y-te}px 100%, ${te}px 100%)`,Ne=`path('M ${V} ${c} A ${_} ${_} 0 0 0 ${T} ${F} L ${G} ${R} A ${ee} ${ee} 0 0 1 ${X} ${N} L ${A} ${S} A ${_} ${_} 0 0 0 ${E} ${oe} Z')`;return{arrowShadowWidth:J,arrowPath:Ne,arrowPolygon:$e}}const L=(Re,q,ee)=>{const{sizePopupArrow:_,arrowPolygon:y,arrowPath:V,arrowShadowWidth:c,borderRadiusXS:T,calc:F}=Re;return{pointerEvents:"none",width:_,height:_,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:_,height:F(_).div(2).equal(),background:q,clipPath:{_multi_value_:!0,value:[y,V]},content:'""'},"&::after":{content:'""',position:"absolute",width:c,height:c,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,a.unit)(T)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:ee,zIndex:0,background:"transparent"}}}},71411:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return Ze}});var a=n(59301),qe=n(58617),L=n(92310),Re=n.n(L),q=n(63158),ee=n(18929),_=n(12919),y=n(48755),V=n(2171),c=n(31756),T=n(36237),F=n(17835),G=n(63356),R=n(16931),X=n(51636);const N=we=>{const{componentCls:xe,trackHeightSM:Q,trackPadding:ye,trackMinWidthSM:j,innerMinMarginSM:I,innerMaxMarginSM:rt,handleSizeSM:le,calc:se}=we,w=`${xe}-inner`,k=(0,T.unit)(se(le).add(se(ye).mul(2)).equal()),z=(0,T.unit)(se(rt).mul(2).equal());return{[xe]:{[`&${xe}-small`]:{minWidth:j,height:Q,lineHeight:(0,T.unit)(Q),[`${xe}-inner`]:{paddingInlineStart:rt,paddingInlineEnd:I,[`${w}-checked, ${w}-unchecked`]:{minHeight:Q},[`${w}-checked`]:{marginInlineStart:`calc(-100% + ${k} - ${z})`,marginInlineEnd:`calc(100% - ${k} + ${z})`},[`${w}-unchecked`]:{marginTop:se(Q).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${xe}-handle`]:{width:le,height:le},[`${xe}-loading-icon`]:{top:se(se(le).sub(we.switchLoadingIconSize)).div(2).equal(),fontSize:we.switchLoadingIconSize},[`&${xe}-checked`]:{[`${xe}-inner`]:{paddingInlineStart:I,paddingInlineEnd:rt,[`${w}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${w}-unchecked`]:{marginInlineStart:`calc(100% - ${k} + ${z})`,marginInlineEnd:`calc(-100% + ${k} - ${z})`}},[`${xe}-handle`]:{insetInlineStart:`calc(100% - ${(0,T.unit)(se(le).add(ye).equal())})`}},[`&:not(${xe}-disabled):active`]:{[`&:not(${xe}-checked) ${w}`]:{[`${w}-unchecked`]:{marginInlineStart:se(we.marginXXS).div(2).equal(),marginInlineEnd:se(we.marginXXS).mul(-1).div(2).equal()}},[`&${xe}-checked ${w}`]:{[`${w}-checked`]:{marginInlineStart:se(we.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:se(we.marginXXS).div(2).equal()}}}}}}},A=we=>{const{componentCls:xe,handleSize:Q,calc:ye}=we;return{[xe]:{[`${xe}-loading-icon${we.iconCls}`]:{position:"relative",top:ye(ye(Q).sub(we.fontSize)).div(2).equal(),color:we.switchLoadingIconColor,verticalAlign:"top"},[`&${xe}-checked ${xe}-loading-icon`]:{color:we.switchColor}}}},S=we=>{const{componentCls:xe,trackPadding:Q,handleBg:ye,handleShadow:j,handleSize:I,calc:rt}=we,le=`${xe}-handle`;return{[xe]:{[le]:{position:"absolute",top:Q,insetInlineStart:Q,width:I,height:I,transition:`all ${we.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:ye,borderRadius:rt(I).div(2).equal(),boxShadow:j,transition:`all ${we.switchDuration} ease-in-out`,content:'""'}},[`&${xe}-checked ${le}`]:{insetInlineStart:`calc(100% - ${(0,T.unit)(rt(I).add(Q).equal())})`},[`&:not(${xe}-disabled):active`]:{[`${le}::before`]:{insetInlineEnd:we.switchHandleActiveInset,insetInlineStart:0},[`&${xe}-checked ${le}::before`]:{insetInlineEnd:0,insetInlineStart:we.switchHandleActiveInset}}}}},E=we=>{const{componentCls:xe,trackHeight:Q,trackPadding:ye,innerMinMargin:j,innerMaxMargin:I,handleSize:rt,calc:le}=we,se=`${xe}-inner`,w=(0,T.unit)(le(rt).add(le(ye).mul(2)).equal()),k=(0,T.unit)(le(I).mul(2).equal());return{[xe]:{[se]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:I,paddingInlineEnd:j,transition:`padding-inline-start ${we.switchDuration} ease-in-out, padding-inline-end ${we.switchDuration} ease-in-out`,[`${se}-checked, ${se}-unchecked`]:{display:"block",color:we.colorTextLightSolid,fontSize:we.fontSizeSM,transition:`margin-inline-start ${we.switchDuration} ease-in-out, margin-inline-end ${we.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:Q},[`${se}-checked`]:{marginInlineStart:`calc(-100% + ${w} - ${k})`,marginInlineEnd:`calc(100% - ${w} + ${k})`},[`${se}-unchecked`]:{marginTop:le(Q).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${xe}-checked ${se}`]:{paddingInlineStart:j,paddingInlineEnd:I,[`${se}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${se}-unchecked`]:{marginInlineStart:`calc(100% - ${w} + ${k})`,marginInlineEnd:`calc(-100% + ${w} - ${k})`}},[`&:not(${xe}-disabled):active`]:{[`&:not(${xe}-checked) ${se}`]:{[`${se}-unchecked`]:{marginInlineStart:le(ye).mul(2).equal(),marginInlineEnd:le(ye).mul(-1).mul(2).equal()}},[`&${xe}-checked ${se}`]:{[`${se}-checked`]:{marginInlineStart:le(ye).mul(-1).mul(2).equal(),marginInlineEnd:le(ye).mul(2).equal()}}}}}},oe=we=>{const{componentCls:xe,trackHeight:Q,trackMinWidth:ye}=we;return{[xe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,G.Wf)(we)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:ye,height:Q,lineHeight:(0,T.unit)(Q),verticalAlign:"middle",background:we.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${we.motionDurationMid}`,userSelect:"none",[`&:hover:not(${xe}-disabled)`]:{background:we.colorTextTertiary}}),(0,G.Qy)(we)),{[`&${xe}-checked`]:{background:we.switchColor,[`&:hover:not(${xe}-disabled)`]:{background:we.colorPrimaryHover}},[`&${xe}-loading, &${xe}-disabled`]:{cursor:"not-allowed",opacity:we.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${xe}-rtl`]:{direction:"rtl"}})}},J=we=>{const{fontSize:xe,lineHeight:Q,controlHeight:ye,colorWhite:j}=we,I=xe*Q,rt=ye/2,le=2,se=I-le*2,w=rt-le*2;return{trackHeight:I,trackHeightSM:rt,trackMinWidth:se*2+le*4,trackMinWidthSM:w*2+le*2,trackPadding:le,handleBg:j,handleSize:se,handleSizeSM:w,handleShadow:`0 2px 4px 0 ${new F.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:se/2,innerMaxMargin:se+le+le*2,innerMinMarginSM:w/2,innerMaxMarginSM:w+le+le*2}};var te=(0,R.I$)("Switch",we=>{const xe=(0,X.mergeToken)(we,{switchDuration:we.motionDurationMid,switchColor:we.colorPrimary,switchDisabledOpacity:we.opacityLoading,switchLoadingIconSize:we.calc(we.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${we.opacityLoading})`,switchHandleActiveInset:"-30%"});return[oe(xe),E(xe),S(xe),A(xe),N(xe)]},J),$e=function(we,xe){var Q={};for(var ye in we)Object.prototype.hasOwnProperty.call(we,ye)&&xe.indexOf(ye)<0&&(Q[ye]=we[ye]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,ye=Object.getOwnPropertySymbols(we);j<ye.length;j++)xe.indexOf(ye[j])<0&&Object.prototype.propertyIsEnumerable.call(we,ye[j])&&(Q[ye[j]]=we[ye[j]]);return Q};const Qe=a.forwardRef((we,xe)=>{const{prefixCls:Q,size:ye,disabled:j,loading:I,className:rt,rootClassName:le,style:se,checked:w,value:k,defaultChecked:z,defaultValue:C,onChange:Y}=we,ke=$e(we,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[pe,Ue]=(0,ee.Z)(!1,{value:w!=null?w:k,defaultValue:z!=null?z:C}),{getPrefixCls:at,direction:ct,switch:ce}=a.useContext(y.E_),Le=a.useContext(V.Z),wt=(j!=null?j:Le)||I,Fe=at("switch",Q),De=a.createElement("div",{className:`${Fe}-handle`},I&&a.createElement(qe.Z,{className:`${Fe}-loading-icon`})),[P,_e,be]=te(Fe),he=(0,c.Z)(ye),de=Re()(ce==null?void 0:ce.className,{[`${Fe}-small`]:he==="small",[`${Fe}-loading`]:I,[`${Fe}-rtl`]:ct==="rtl"},rt,le,_e,be),me=Object.assign(Object.assign({},ce==null?void 0:ce.style),se),Ie=function(){Ue(arguments.length<=0?void 0:arguments[0]),Y==null||Y.apply(void 0,arguments)};return P(a.createElement(_.Z,{component:"Switch"},a.createElement(q.Z,Object.assign({},ke,{checked:pe,onChange:Ie,prefixCls:Fe,className:de,style:me,disabled:wt,ref:xe,loadingIcon:De}))))});Qe.__ANT_SWITCH=!0;var Ze=Qe},54172:function(Yr,Kt,n){"use strict";n.d(Kt,{default:function(){return Qt}});var a=n(59301),qe=n(4030),Re=nt=>null,ee=nt=>null,_=n(94480),y=n(84105),V=n(92310),c=n.n(V),T=n(82661),F=n(34643),G=n(34061),R=n(18929);function X(nt){const[Ce,Ut]=(0,a.useState)(null);return[(0,a.useCallback)((qt,He,ze)=>{const At=Ce!=null?Ce:qt,dt=Math.min(At||0,qt),dr=Math.max(At||0,qt),br=He.slice(dt,dr+1).map(ir=>nt(ir)),Jt=br.some(ir=>!ze.has(ir)),Tt=[];return br.forEach(ir=>{Jt?(ze.has(ir)||Tt.push(ir),ze.add(ir)):(ze.delete(ir),Tt.push(ir))}),Ut(Jt?dr:null),Tt},[Ce]),qt=>{Ut(qt)}]}var N=n(32383),A=n(62673),S=n(75727),E=n(47889);const oe={},J="SELECT_ALL",te="SELECT_INVERT",$e="SELECT_NONE",Ne=[],Qe=(nt,Ce)=>{let Ut=[];return(Ce||[]).forEach(Nt=>{Ut.push(Nt),Nt&&typeof Nt=="object"&&nt in Nt&&(Ut=[].concat((0,_.Z)(Ut),(0,_.Z)(Qe(nt,Nt[nt]))))}),Ut};var we=(nt,Ce)=>{const{preserveSelectedRowKeys:Ut,selectedRowKeys:Nt,defaultSelectedRowKeys:$t,getCheckboxProps:qt,onChange:He,onSelect:ze,onSelectAll:At,onSelectInvert:dt,onSelectNone:dr,onSelectMultiple:br,columnWidth:Jt,type:Tt,selections:ir,fixed:Zr,renderCell:Wt,hideSelectAll:Pe,checkStrictly:yt=!0}=Ce||{},{prefixCls:Bt,data:ht,pageData:Yt,getRecordByKey:lr,getRowKey:mr,expandType:Or,childrenColumnName:Rr,locale:Fr,getPopupContainer:un}=nt,wn=(0,N.ln)("Table"),[Mr,Lt]=X(Bn=>Bn),[ya,ha]=(0,R.Z)(Nt||$t||Ne,{value:Nt}),Wn=a.useRef(new Map),an=(0,a.useCallback)(Bn=>{if(Ut){const Yn=new Map;Bn.forEach(Qr=>{let mn=lr(Qr);!mn&&Wn.current.has(Qr)&&(mn=Wn.current.get(Qr)),Yn.set(Qr,mn)}),Wn.current=Yn}},[lr,Ut]);a.useEffect(()=>{an(ya)},[ya]);const dn=(0,a.useMemo)(()=>Qe(Rr,Yt),[Rr,Yt]),{keyEntities:Gr}=(0,a.useMemo)(()=>{if(yt)return{keyEntities:null};let Bn=ht;if(Ut){const Yn=new Set(dn.map((mn,ua)=>mr(mn,ua))),Qr=Array.from(Wn.current).reduce((mn,ua)=>{let[En,fa]=ua;return Yn.has(En)?mn:mn.concat(fa)},[]);Bn=[].concat((0,_.Z)(Bn),(0,_.Z)(Qr))}return(0,G.I8)(Bn,{externalGetKey:mr,childrenPropName:Rr})},[ht,mr,yt,Rr,Ut,dn]),la=(0,a.useMemo)(()=>{const Bn=new Map;return dn.forEach((Yn,Qr)=>{const mn=mr(Yn,Qr),ua=(qt?qt(Yn):null)||{};Bn.set(mn,ua)}),Bn},[dn,mr,qt]),Gn=(0,a.useCallback)(Bn=>{const Yn=mr(Bn);let Qr;return la.has(Yn)?Qr=la.get(mr(Bn)):Qr=qt?qt(Bn):void 0,!!(Qr!=null&&Qr.disabled)},[la,mr]),[xa,_n]=(0,a.useMemo)(()=>{if(yt)return[ya||[],[]];const{checkedKeys:Bn,halfCheckedKeys:Yn}=(0,F.S)(ya,!0,Gr,Gn);return[Bn||[],Yn]},[ya,yt,Gr,Gn]),ca=(0,a.useMemo)(()=>{const Bn=Tt==="radio"?xa.slice(0,1):xa;return new Set(Bn)},[xa,Tt]),Ra=(0,a.useMemo)(()=>Tt==="radio"?new Set:new Set(_n),[_n,Tt]);a.useEffect(()=>{Ce||ha(Ne)},[!!Ce]);const oa=(0,a.useCallback)((Bn,Yn)=>{let Qr,mn;an(Bn),Ut?(Qr=Bn,mn=Bn.map(ua=>Wn.current.get(ua))):(Qr=[],mn=[],Bn.forEach(ua=>{const En=lr(ua);En!==void 0&&(Qr.push(ua),mn.push(En))})),ha(Qr),He==null||He(Qr,mn,{type:Yn})},[ha,lr,He,Ut]),kn=(0,a.useCallback)((Bn,Yn,Qr,mn)=>{if(ze){const ua=Qr.map(En=>lr(En));ze(lr(Bn),Yn,ua,mn)}oa(Qr,"single")},[ze,lr,oa]),ia=(0,a.useMemo)(()=>!ir||Pe?null:(ir===!0?[J,te,$e]:ir).map(Yn=>Yn===J?{key:"all",text:Fr.selectionAll,onSelect(){oa(ht.map((Qr,mn)=>mr(Qr,mn)).filter(Qr=>{const mn=la.get(Qr);return!(mn!=null&&mn.disabled)||ca.has(Qr)}),"all")}}:Yn===te?{key:"invert",text:Fr.selectInvert,onSelect(){const Qr=new Set(ca);Yt.forEach((ua,En)=>{const fa=mr(ua,En),Vn=la.get(fa);Vn!=null&&Vn.disabled||(Qr.has(fa)?Qr.delete(fa):Qr.add(fa))});const mn=Array.from(Qr);dt&&(wn.deprecated(!1,"onSelectInvert","onChange"),dt(mn)),oa(mn,"invert")}}:Yn===$e?{key:"none",text:Fr.selectNone,onSelect(){dr==null||dr(),oa(Array.from(ca).filter(Qr=>{const mn=la.get(Qr);return mn==null?void 0:mn.disabled}),"none")}}:Yn).map(Yn=>Object.assign(Object.assign({},Yn),{onSelect:function(){for(var Qr,mn,ua=arguments.length,En=new Array(ua),fa=0;fa<ua;fa++)En[fa]=arguments[fa];(mn=Yn.onSelect)===null||mn===void 0||(Qr=mn).call.apply(Qr,[Yn].concat(En)),Lt(null)}})),[ir,ca,Yt,mr,dt,oa]);return[(0,a.useCallback)(Bn=>{var Yn;if(!Ce)return Bn.filter(Na=>Na!==oe);let Qr=(0,_.Z)(Bn);const mn=new Set(ca),ua=dn.map(mr).filter(Na=>!la.get(Na).disabled),En=ua.every(Na=>mn.has(Na)),fa=ua.some(Na=>mn.has(Na)),Vn=()=>{const Na=[];En?ua.forEach(Ma=>{mn.delete(Ma),Na.push(Ma)}):ua.forEach(Ma=>{mn.has(Ma)||(mn.add(Ma),Na.push(Ma))});const za=Array.from(mn);At==null||At(!En,za.map(Ma=>lr(Ma)),Na.map(Ma=>lr(Ma))),oa(za,"all"),Lt(null)};let Wa,qa;if(Tt!=="radio"){let Na;if(ia){const ba={getPopupContainer:un,items:ia.map((Ya,ka)=>{const{key:Ja,text:io,onSelect:ho}=Ya;return{key:Ja!=null?Ja:ka,onClick:()=>{ho==null||ho(ua)},label:io}})};Na=a.createElement("div",{className:`${Bt}-selection-extra`},a.createElement(S.Z,{menu:ba,getPopupContainer:un},a.createElement("span",null,a.createElement(y.Z,null))))}const za=dn.map((ba,Ya)=>{const ka=mr(ba,Ya),Ja=la.get(ka)||{};return Object.assign({checked:mn.has(ka)},Ja)}).filter(ba=>{let{disabled:Ya}=ba;return Ya}),Ma=!!za.length&&za.length===dn.length,Da=Ma&&za.every(ba=>{let{checked:Ya}=ba;return Ya}),Ua=Ma&&za.some(ba=>{let{checked:Ya}=ba;return Ya});qa=a.createElement(A.default,{checked:Ma?Da:!!dn.length&&En,indeterminate:Ma?!Da&&Ua:!En&&fa,onChange:Vn,disabled:dn.length===0||Ma,"aria-label":Na?"Custom selection":"Select all",skipGroup:!0}),Wa=!Pe&&a.createElement("div",{className:`${Bt}-selection`},qa,Na)}let Cn;Tt==="radio"?Cn=(Na,za,Ma)=>{const Da=mr(za,Ma),Ua=mn.has(Da),ba=la.get(Da);return{node:a.createElement(E.ZP,Object.assign({},ba,{checked:Ua,onClick:Ya=>{var ka;Ya.stopPropagation(),(ka=ba==null?void 0:ba.onClick)===null||ka===void 0||ka.call(ba,Ya)},onChange:Ya=>{var ka;mn.has(Da)||kn(Da,!0,[Da],Ya.nativeEvent),(ka=ba==null?void 0:ba.onChange)===null||ka===void 0||ka.call(ba,Ya)}})),checked:Ua}}:Cn=(Na,za,Ma)=>{var Da;const Ua=mr(za,Ma),ba=mn.has(Ua),Ya=Ra.has(Ua),ka=la.get(Ua);let Ja;return Or==="nest"?Ja=Ya:Ja=(Da=ka==null?void 0:ka.indeterminate)!==null&&Da!==void 0?Da:Ya,{node:a.createElement(A.default,Object.assign({},ka,{indeterminate:Ja,checked:ba,skipGroup:!0,onClick:io=>{var ho;io.stopPropagation(),(ho=ka==null?void 0:ka.onClick)===null||ho===void 0||ho.call(ka,io)},onChange:io=>{var ho;const{nativeEvent:Mo}=io,{shiftKey:Bo}=Mo,La=ua.findIndex(vo=>vo===Ua),Ko=xa.some(vo=>ua.includes(vo));if(Bo&&yt&&Ko){const vo=Mr(La,ua,mn),Lo=Array.from(mn);br==null||br(!ba,Lo.map(Co=>lr(Co)),vo.map(Co=>lr(Co))),oa(Lo,"multiple")}else{const vo=xa;if(yt){const Lo=ba?(0,T._5)(vo,Ua):(0,T.L0)(vo,Ua);kn(Ua,!ba,Lo,Mo)}else{const Lo=(0,F.S)([].concat((0,_.Z)(vo),[Ua]),!0,Gr,Gn),{checkedKeys:Co,halfCheckedKeys:Si}=Lo;let Vo=Co;if(ba){const ai=new Set(Co);ai.delete(Ua),Vo=(0,F.S)(Array.from(ai),{checked:!1,halfCheckedKeys:Si},Gr,Gn).checkedKeys}kn(Ua,!ba,Vo,Mo)}}Lt(ba?null:La),(ho=ka==null?void 0:ka.onChange)===null||ho===void 0||ho.call(ka,io)}})),checked:ba}};const jn=(Na,za,Ma)=>{const{node:Da,checked:Ua}=Cn(Na,za,Ma);return Wt?Wt(Ua,za,Ma,Da):Da};if(!Qr.includes(oe))if(Qr.findIndex(Na=>{var za;return((za=Na[qe.vP])===null||za===void 0?void 0:za.columnType)==="EXPAND_COLUMN"})===0){const[Na,...za]=Qr;Qr=[Na,oe].concat((0,_.Z)(za))}else Qr=[oe].concat((0,_.Z)(Qr));const ma=Qr.indexOf(oe);Qr=Qr.filter((Na,za)=>Na!==oe||za===ma);const Qa=Qr[ma-1],_a=Qr[ma+1];let po=Zr;po===void 0&&((_a==null?void 0:_a.fixed)!==void 0?po=_a.fixed:(Qa==null?void 0:Qa.fixed)!==void 0&&(po=Qa.fixed)),po&&Qa&&((Yn=Qa[qe.vP])===null||Yn===void 0?void 0:Yn.columnType)==="EXPAND_COLUMN"&&Qa.fixed===void 0&&(Qa.fixed=po);const go=c()(`${Bt}-selection-col`,{[`${Bt}-selection-col-with-dropdown`]:ir&&Tt==="checkbox"}),pa=()=>Ce!=null&&Ce.columnTitle?typeof Ce.columnTitle=="function"?Ce.columnTitle(qa):Ce.columnTitle:Wa,No={fixed:po,width:Jt,className:`${Bt}-selection-column`,title:pa(),render:jn,onCell:Ce.onCell,[qe.vP]:{className:go}};return Qr.map(Na=>Na===oe?No:Na)},[mr,dn,Ce,xa,ca,Ra,Jt,ia,Or,la,br,kn,Gn]),ca]},xe=n(97347),Q=n(2738);function ye(nt,Ce){return nt._antProxy=nt._antProxy||{},Object.keys(Ce).forEach(Ut=>{if(!(Ut in nt._antProxy)){const Nt=nt[Ut];nt._antProxy[Ut]=Nt,nt[Ut]=Ce[Ut]}}),nt}function j(nt,Ce){return(0,a.useImperativeHandle)(nt,()=>{const Ut=Ce(),{nativeElement:Nt}=Ut;return typeof Proxy!="undefined"?new Proxy(Nt,{get($t,qt){return Ut[qt]?Ut[qt]:Reflect.get($t,qt)}}):ye(Nt,Ut)})}var I=n(83010),rt=n(48755),le=n(38406),se=n(83397),w=n(31756),k=n(13783),z=n(85981),C=n(13747),Y=n(29787),ke=n(57700);function pe(nt){return Ce=>{const{prefixCls:Ut,onExpand:Nt,record:$t,expanded:qt,expandable:He}=Ce,ze=`${Ut}-row-expand-icon`;return a.createElement("button",{type:"button",onClick:At=>{Nt($t,At),At.stopPropagation()},className:c()(ze,{[`${ze}-spaced`]:!He,[`${ze}-expanded`]:He&&qt,[`${ze}-collapsed`]:He&&!qt}),"aria-label":qt?nt.collapse:nt.expand,"aria-expanded":qt})}}var Ue=pe;function at(nt){return(Ut,Nt)=>{const $t=Ut.querySelector(`.${nt}-container`);let qt=Nt;if($t){const He=getComputedStyle($t),ze=parseInt(He.borderLeftWidth,10),At=parseInt(He.borderRightWidth,10);qt=Nt-ze-At}return qt}}const ct=(nt,Ce)=>"key"in nt&&nt.key!==void 0&&nt.key!==null?nt.key:nt.dataIndex?Array.isArray(nt.dataIndex)?nt.dataIndex.join("."):nt.dataIndex:Ce;function ce(nt,Ce){return Ce?`${Ce}-${nt}`:`${nt}`}const Le=(nt,Ce)=>typeof nt=="function"?nt(Ce):nt,wt=(nt,Ce)=>{const Ut=Le(nt,Ce);return Object.prototype.toString.call(Ut)==="[object Object]"?"":Ut};var Fe=n(54476),De={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"},P=De,_e=n(7657),be=function(Ce,Ut){return a.createElement(_e.Z,(0,Fe.Z)({},Ce,{ref:Ut,icon:P}))},he=a.forwardRef(be),de=he,me=n(13697),Ie=n(9981),Se=n(40192);function Me(nt){const Ce=a.useRef(nt),Ut=(0,Se.Z)();return[()=>Ce.current,Nt=>{Ce.current=Nt,Ut()}]}var Je=n(99571),pt=n(584),Ot=n(93041),_t=n(78857),Gt=n(18287),Pt=n(47472),ot=n(49397),jt=nt=>{const{value:Ce,filterSearch:Ut,tablePrefixCls:Nt,locale:$t,onChange:qt}=nt;return Ut?a.createElement("div",{className:`${Nt}-filter-dropdown-search`},a.createElement(ot.Z,{prefix:a.createElement(Pt.Z,null),placeholder:$t.filterSearchPlaceholder,onChange:qt,value:Ce,htmlSize:1,className:`${Nt}-filter-dropdown-search-input`})):null},Ht=n(10228);const Ct=nt=>{const{keyCode:Ce}=nt;Ce===Ht.Z.ENTER&&nt.stopPropagation()};var cr=a.forwardRef((nt,Ce)=>a.createElement("div",{className:nt.className,onClick:Ut=>Ut.stopPropagation(),onKeyDown:Ct,ref:Ce},nt.children));function Cr(nt){let Ce=[];return(nt||[]).forEach(Ut=>{let{value:Nt,children:$t}=Ut;Ce.push(Nt),$t&&(Ce=[].concat((0,_.Z)(Ce),(0,_.Z)(Cr($t))))}),Ce}function qr(nt){return nt.some(Ce=>{let{children:Ut}=Ce;return Ut})}function Ar(nt,Ce){return typeof Ce=="string"||typeof Ce=="number"?Ce==null?void 0:Ce.toString().toLowerCase().includes(nt.trim().toLowerCase()):!1}function x(nt){let{filters:Ce,prefixCls:Ut,filteredKeys:Nt,filterMultiple:$t,searchValue:qt,filterSearch:He}=nt;return Ce.map((ze,At)=>{const dt=String(ze.value);if(ze.children)return{key:dt||At,label:ze.text,popupClassName:`${Ut}-dropdown-submenu`,children:x({filters:ze.children,prefixCls:Ut,filteredKeys:Nt,filterMultiple:$t,searchValue:qt,filterSearch:He})};const dr=$t?A.default:E.ZP,br={key:ze.value!==void 0?dt:At,label:a.createElement(a.Fragment,null,a.createElement(dr,{checked:Nt.includes(dt)}),a.createElement("span",null,ze.text))};return qt.trim()?typeof He=="function"?He(qt,ze)?br:null:Ar(qt,ze.text)?br:null:br})}function H(nt){return nt||[]}var ae=nt=>{var Ce,Ut,Nt,$t;const{tablePrefixCls:qt,prefixCls:He,column:ze,dropdownPrefixCls:At,columnKey:dt,filterOnClose:dr,filterMultiple:br,filterMode:Jt="menu",filterSearch:Tt=!1,filterState:ir,triggerFilter:Zr,locale:Wt,children:Pe,getPopupContainer:yt,rootClassName:Bt}=nt,{filterResetToDefaultFilteredValue:ht,defaultFilteredValue:Yt,filterDropdownProps:lr={},filterDropdownOpen:mr,filterDropdownVisible:Or,onFilterDropdownVisibleChange:Rr,onFilterDropdownOpenChange:Fr}=ze,[un,wn]=a.useState(!1),Mr=!!(ir&&(!((Ce=ir.filteredKeys)===null||Ce===void 0)&&Ce.length||ir.forceFiltered)),Lt=Cn=>{var jn;wn(Cn),(jn=lr.onOpenChange)===null||jn===void 0||jn.call(lr,Cn),Fr==null||Fr(Cn),Rr==null||Rr(Cn)},ya=($t=(Nt=(Ut=lr.open)!==null&&Ut!==void 0?Ut:mr)!==null&&Nt!==void 0?Nt:Or)!==null&&$t!==void 0?$t:un,ha=ir==null?void 0:ir.filteredKeys,[Wn,an]=Me(H(ha)),dn=Cn=>{let{selectedKeys:jn}=Cn;an(jn)},Gr=(Cn,jn)=>{let{node:ma,checked:Qa}=jn;dn(br?{selectedKeys:Cn}:{selectedKeys:Qa&&ma.key?[ma.key]:[]})};a.useEffect(()=>{un&&dn({selectedKeys:H(ha)})},[ha]);const[la,Gn]=a.useState([]),xa=Cn=>{Gn(Cn)},[_n,ca]=a.useState(""),Ra=Cn=>{const{value:jn}=Cn.target;ca(jn)};a.useEffect(()=>{un||ca("")},[un]);const oa=Cn=>{const jn=Cn!=null&&Cn.length?Cn:null;if(jn===null&&(!ir||!ir.filteredKeys)||(0,me.Z)(jn,ir==null?void 0:ir.filteredKeys,!0))return null;Zr({column:ze,key:dt,filteredKeys:jn})},kn=()=>{Lt(!1),oa(Wn())},ia=function(){let{confirm:Cn,closeDropdown:jn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Cn&&oa([]),jn&&Lt(!1),ca(""),an(ht?(Yt||[]).map(ma=>String(ma)):[])},Rn=function(){let{closeDropdown:Cn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Cn&&Lt(!1),oa(Wn())},Bn=(Cn,jn)=>{jn.source==="trigger"&&(Cn&&ha!==void 0&&an(H(ha)),Lt(Cn),!Cn&&!ze.filterDropdown&&dr&&kn())},Yn=c()({[`${At}-menu-without-submenu`]:!qr(ze.filters||[])}),Qr=Cn=>{if(Cn.target.checked){const jn=Cr(ze==null?void 0:ze.filters).map(ma=>String(ma));an(jn)}else an([])},mn=Cn=>{let{filters:jn}=Cn;return(jn||[]).map((ma,Qa)=>{const _a=String(ma.value),po={title:ma.text,key:ma.value!==void 0?_a:String(Qa)};return ma.children&&(po.children=mn({filters:ma.children})),po})},ua=Cn=>{var jn;return Object.assign(Object.assign({},Cn),{text:Cn.title,value:Cn.key,children:((jn=Cn.children)===null||jn===void 0?void 0:jn.map(ma=>ua(ma)))||[]})};let En;const{direction:fa,renderEmpty:Vn}=a.useContext(rt.E_);if(typeof ze.filterDropdown=="function")En=ze.filterDropdown({prefixCls:`${At}-custom`,setSelectedKeys:Cn=>dn({selectedKeys:Cn}),selectedKeys:Wn(),confirm:Rn,clearFilters:ia,filters:ze.filters,visible:ya,close:()=>{Lt(!1)}});else if(ze.filterDropdown)En=ze.filterDropdown;else{const Cn=Wn()||[],jn=()=>{var Qa,_a;const po=(Qa=Vn==null?void 0:Vn("Table.filter"))!==null&&Qa!==void 0?Qa:a.createElement(pt.Z,{image:pt.Z.PRESENTED_IMAGE_SIMPLE,description:Wt.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((ze.filters||[]).length===0)return po;if(Jt==="tree")return a.createElement(a.Fragment,null,a.createElement(jt,{filterSearch:Tt,value:_n,onChange:Ra,tablePrefixCls:qt,locale:Wt}),a.createElement("div",{className:`${qt}-filter-dropdown-tree`},br?a.createElement(A.default,{checked:Cn.length===Cr(ze.filters).length,indeterminate:Cn.length>0&&Cn.length<Cr(ze.filters).length,className:`${qt}-filter-dropdown-checkall`,onChange:Qr},(_a=Wt==null?void 0:Wt.filterCheckall)!==null&&_a!==void 0?_a:Wt==null?void 0:Wt.filterCheckAll):null,a.createElement(Gt.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:br,checkStrictly:!br,className:`${At}-menu`,onCheck:Gr,checkedKeys:Cn,selectedKeys:Cn,showIcon:!1,treeData:mn({filters:ze.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:_n.trim()?No=>typeof Tt=="function"?Tt(_n,ua(No)):Ar(_n,No.title):void 0})));const go=x({filters:ze.filters||[],filterSearch:Tt,prefixCls:He,filteredKeys:Wn(),filterMultiple:br,searchValue:_n}),pa=go.every(No=>No===null);return a.createElement(a.Fragment,null,a.createElement(jt,{filterSearch:Tt,value:_n,onChange:Ra,tablePrefixCls:qt,locale:Wt}),pa?po:a.createElement(Ot.default,{selectable:!0,multiple:br,prefixCls:`${At}-menu`,className:Yn,onSelect:dn,onDeselect:dn,selectedKeys:Cn,getPopupContainer:yt,openKeys:la,onOpenChange:xa,items:go}))},ma=()=>ht?(0,me.Z)((Yt||[]).map(Qa=>String(Qa)),Cn,!0):Cn.length===0;En=a.createElement(a.Fragment,null,jn(),a.createElement("div",{className:`${He}-dropdown-btns`},a.createElement(Je.ZP,{type:"link",size:"small",disabled:ma(),onClick:()=>ia()},Wt.filterReset),a.createElement(Je.ZP,{type:"primary",size:"small",onClick:kn},Wt.filterConfirm)))}ze.filterDropdown&&(En=a.createElement(_t.J,{selectable:void 0},En)),En=a.createElement(cr,{className:`${He}-dropdown`},En);const Wa=()=>{let Cn;return typeof ze.filterIcon=="function"?Cn=ze.filterIcon(Mr):ze.filterIcon?Cn=ze.filterIcon:Cn=a.createElement(de,null),a.createElement("span",{role:"button",tabIndex:-1,className:c()(`${He}-trigger`,{active:Mr}),onClick:jn=>{jn.stopPropagation()}},Cn)},qa=(0,Ie.Z)({trigger:["click"],placement:fa==="rtl"?"bottomLeft":"bottomRight",children:Wa(),getPopupContainer:yt},Object.assign(Object.assign({},lr),{rootClassName:c()(Bt,lr.rootClassName),open:ya,onOpenChange:Bn,dropdownRender:()=>typeof(lr==null?void 0:lr.dropdownRender)=="function"?lr.dropdownRender(En):En}));return a.createElement("div",{className:`${He}-column`},a.createElement("span",{className:`${qt}-column-title`},Pe),a.createElement(S.Z,Object.assign({},qa)))};const Be=(nt,Ce,Ut)=>{let Nt=[];return(nt||[]).forEach(($t,qt)=>{var He;const ze=ce(qt,Ut);if($t.filters||"filterDropdown"in $t||"onFilter"in $t)if("filteredValue"in $t){let At=$t.filteredValue;"filterDropdown"in $t||(At=(He=At==null?void 0:At.map(String))!==null&&He!==void 0?He:At),Nt.push({column:$t,key:ct($t,ze),filteredKeys:At,forceFiltered:$t.filtered})}else Nt.push({column:$t,key:ct($t,ze),filteredKeys:Ce&&$t.defaultFilteredValue?$t.defaultFilteredValue:void 0,forceFiltered:$t.filtered});"children"in $t&&(Nt=[].concat((0,_.Z)(Nt),(0,_.Z)(Be($t.children,Ce,ze))))}),Nt};function zr(nt,Ce,Ut,Nt,$t,qt,He,ze,At){return Ut.map((dt,dr)=>{const br=ce(dr,ze),{filterOnClose:Jt=!0,filterMultiple:Tt=!0,filterMode:ir,filterSearch:Zr}=dt;let Wt=dt;if(Wt.filters||Wt.filterDropdown){const Pe=ct(Wt,br),yt=Nt.find(Bt=>{let{key:ht}=Bt;return Pe===ht});Wt=Object.assign(Object.assign({},Wt),{title:Bt=>a.createElement(ae,{tablePrefixCls:nt,prefixCls:`${nt}-filter`,dropdownPrefixCls:Ce,column:Wt,columnKey:Pe,filterState:yt,filterOnClose:Jt,filterMultiple:Tt,filterMode:ir,filterSearch:Zr,triggerFilter:qt,locale:$t,getPopupContainer:He,rootClassName:At},Le(dt.title,Bt))})}return"children"in Wt&&(Wt=Object.assign(Object.assign({},Wt),{children:zr(nt,Ce,Wt.children,Nt,$t,qt,He,br,At)})),Wt})}const $r=nt=>{const Ce={};return nt.forEach(Ut=>{let{key:Nt,filteredKeys:$t,column:qt}=Ut;const He=Nt,{filters:ze,filterDropdown:At}=qt;if(At)Ce[He]=$t||null;else if(Array.isArray($t)){const dt=Cr(ze);Ce[He]=dt.filter(dr=>$t.includes(String(dr)))}else Ce[He]=null}),Ce},yn=(nt,Ce,Ut)=>Ce.reduce(($t,qt)=>{const{column:{onFilter:He,filters:ze},filteredKeys:At}=qt;return He&&At&&At.length?$t.map(dt=>Object.assign({},dt)).filter(dt=>At.some(dr=>{const br=Cr(ze),Jt=br.findIndex(ir=>String(ir)===String(dr)),Tt=Jt!==-1?br[Jt]:dr;return dt[Ut]&&(dt[Ut]=yn(dt[Ut],Ce,Ut)),He(Tt,dt)})):$t},nt),Mn=nt=>nt.flatMap(Ce=>"children"in Ce?[Ce].concat((0,_.Z)(Mn(Ce.children||[]))):[Ce]);var Sr=nt=>{const{prefixCls:Ce,dropdownPrefixCls:Ut,mergedColumns:Nt,onFilterChange:$t,getPopupContainer:qt,locale:He,rootClassName:ze}=nt,At=(0,N.ln)("Table"),dt=a.useMemo(()=>Mn(Nt||[]),[Nt]),[dr,br]=a.useState(()=>Be(dt,!0)),Jt=a.useMemo(()=>{const Wt=Be(dt,!1);if(Wt.length===0)return Wt;let Pe=!0,yt=!0;if(Wt.forEach(Bt=>{let{filteredKeys:ht}=Bt;ht!==void 0?Pe=!1:yt=!1}),Pe){const Bt=(dt||[]).map((ht,Yt)=>ct(ht,ce(Yt)));return dr.filter(ht=>{let{key:Yt}=ht;return Bt.includes(Yt)}).map(ht=>{const Yt=dt[Bt.findIndex(lr=>lr===ht.key)];return Object.assign(Object.assign({},ht),{column:Object.assign(Object.assign({},ht.column),Yt),forceFiltered:Yt.filtered})})}return Wt},[dt,dr]),Tt=a.useMemo(()=>$r(Jt),[Jt]),ir=Wt=>{const Pe=Jt.filter(yt=>{let{key:Bt}=yt;return Bt!==Wt.key});Pe.push(Wt),br(Pe),$t($r(Pe),Pe)};return[Wt=>zr(Ce,Ut,Wt,Jt,He,ir,qt,void 0,ze),Jt,Tt]},Lr=(nt,Ce,Ut)=>{const Nt=a.useRef({});function $t(qt){var He;if(!Nt.current||Nt.current.data!==nt||Nt.current.childrenColumnName!==Ce||Nt.current.getRowKey!==Ut){let At=function(dt){dt.forEach((dr,br)=>{const Jt=Ut(dr,br);ze.set(Jt,dr),dr&&typeof dr=="object"&&Ce in dr&&At(dr[Ce]||[])})};const ze=new Map;At(nt),Nt.current={data:nt,childrenColumnName:Ce,kvMap:ze,getRowKey:Ut}}return(He=Nt.current.kvMap)===null||He===void 0?void 0:He.get(qt)}return[$t]},h=function(nt,Ce){var Ut={};for(var Nt in nt)Object.prototype.hasOwnProperty.call(nt,Nt)&&Ce.indexOf(Nt)<0&&(Ut[Nt]=nt[Nt]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,Nt=Object.getOwnPropertySymbols(nt);$t<Nt.length;$t++)Ce.indexOf(Nt[$t])<0&&Object.prototype.propertyIsEnumerable.call(nt,Nt[$t])&&(Ut[Nt[$t]]=nt[Nt[$t]]);return Ut};const D=10;function Ee(nt,Ce){const Ut={current:nt.current,pageSize:nt.pageSize};return Object.keys(Ce&&typeof Ce=="object"?Ce:{}).forEach($t=>{const qt=nt[$t];typeof qt!="function"&&(Ut[$t]=qt)}),Ut}function ne(nt,Ce,Ut){const Nt=Ut&&typeof Ut=="object"?Ut:{},{total:$t=0}=Nt,qt=h(Nt,["total"]),[He,ze]=(0,a.useState)(()=>({current:"defaultCurrent"in qt?qt.defaultCurrent:1,pageSize:"defaultPageSize"in qt?qt.defaultPageSize:D})),At=(0,Ie.Z)(He,qt,{total:$t>0?$t:nt}),dt=Math.ceil(($t||nt)/At.pageSize);At.current>dt&&(At.current=dt||1);const dr=(Jt,Tt)=>{ze({current:Jt!=null?Jt:1,pageSize:Tt||At.pageSize})},br=(Jt,Tt)=>{var ir;Ut&&((ir=Ut.onChange)===null||ir===void 0||ir.call(Ut,Jt,Tt)),dr(Jt,Tt),Ce(Jt,Tt||(At==null?void 0:At.pageSize))};return Ut===!1?[{},()=>{}]:[Object.assign(Object.assign({},At),{onChange:br}),dr]}var st=ne,gn=n(89489),mt=n(59477),Zt=n(25399);const Ur="ascend",Pr="descend",Jr=nt=>typeof nt.sorter=="object"&&typeof nt.sorter.multiple=="number"?nt.sorter.multiple:!1,vn=nt=>typeof nt=="function"?nt:nt&&typeof nt=="object"&&nt.compare?nt.compare:!1,Qn=(nt,Ce)=>Ce?nt[nt.indexOf(Ce)+1]:nt[0],ge=(nt,Ce,Ut)=>{let Nt=[];const $t=(qt,He)=>{Nt.push({column:qt,key:ct(qt,He),multiplePriority:Jr(qt),sortOrder:qt.sortOrder})};return(nt||[]).forEach((qt,He)=>{const ze=ce(He,Ut);qt.children?("sortOrder"in qt&&$t(qt,ze),Nt=[].concat((0,_.Z)(Nt),(0,_.Z)(ge(qt.children,Ce,ze)))):qt.sorter&&("sortOrder"in qt?$t(qt,ze):Ce&&qt.defaultSortOrder&&Nt.push({column:qt,key:ct(qt,ze),multiplePriority:Jr(qt),sortOrder:qt.defaultSortOrder}))}),Nt},fr=(nt,Ce,Ut,Nt,$t,qt,He,ze)=>(Ce||[]).map((dt,dr)=>{const br=ce(dr,ze);let Jt=dt;if(Jt.sorter){const Tt=Jt.sortDirections||$t,ir=Jt.showSorterTooltip===void 0?He:Jt.showSorterTooltip,Zr=ct(Jt,br),Wt=Ut.find(Rr=>{let{key:Fr}=Rr;return Fr===Zr}),Pe=Wt?Wt.sortOrder:null,yt=Qn(Tt,Pe);let Bt;if(dt.sortIcon)Bt=dt.sortIcon({sortOrder:Pe});else{const Rr=Tt.includes(Ur)&&a.createElement(mt.Z,{className:c()(`${nt}-column-sorter-up`,{active:Pe===Ur})}),Fr=Tt.includes(Pr)&&a.createElement(gn.Z,{className:c()(`${nt}-column-sorter-down`,{active:Pe===Pr})});Bt=a.createElement("span",{className:c()(`${nt}-column-sorter`,{[`${nt}-column-sorter-full`]:!!(Rr&&Fr)})},a.createElement("span",{className:`${nt}-column-sorter-inner`,"aria-hidden":"true"},Rr,Fr))}const{cancelSort:ht,triggerAsc:Yt,triggerDesc:lr}=qt||{};let mr=ht;yt===Pr?mr=lr:yt===Ur&&(mr=Yt);const Or=typeof ir=="object"?Object.assign({title:mr},ir):{title:mr};Jt=Object.assign(Object.assign({},Jt),{className:c()(Jt.className,{[`${nt}-column-sort`]:Pe}),title:Rr=>{const Fr=`${nt}-column-sorters`,un=a.createElement("span",{className:`${nt}-column-title`},Le(dt.title,Rr)),wn=a.createElement("div",{className:Fr},un,Bt);return ir?typeof ir!="boolean"&&(ir==null?void 0:ir.target)==="sorter-icon"?a.createElement("div",{className:`${Fr} ${nt}-column-sorters-tooltip-target-sorter`},un,a.createElement(Zt.Z,Object.assign({},Or),Bt)):a.createElement(Zt.Z,Object.assign({},Or),wn):wn},onHeaderCell:Rr=>{var Fr;const un=((Fr=dt.onHeaderCell)===null||Fr===void 0?void 0:Fr.call(dt,Rr))||{},wn=un.onClick,Mr=un.onKeyDown;un.onClick=ha=>{Nt({column:dt,key:Zr,sortOrder:yt,multiplePriority:Jr(dt)}),wn==null||wn(ha)},un.onKeyDown=ha=>{ha.keyCode===Ht.Z.ENTER&&(Nt({column:dt,key:Zr,sortOrder:yt,multiplePriority:Jr(dt)}),Mr==null||Mr(ha))};const Lt=wt(dt.title,{}),ya=Lt==null?void 0:Lt.toString();return Pe&&(un["aria-sort"]=Pe==="ascend"?"ascending":"descending"),un["aria-label"]=ya||"",un.className=c()(un.className,`${nt}-column-has-sorters`),un.tabIndex=0,dt.ellipsis&&(un.title=(Lt!=null?Lt:"").toString()),un}})}return"children"in Jt&&(Jt=Object.assign(Object.assign({},Jt),{children:fr(nt,Jt.children,Ut,Nt,$t,qt,He,br)})),Jt}),et=nt=>{const{column:Ce,sortOrder:Ut}=nt;return{column:Ce,order:Ut,field:Ce.dataIndex,columnKey:Ce.key}},Ir=nt=>{const Ce=nt.filter(Ut=>{let{sortOrder:Nt}=Ut;return Nt}).map(et);if(Ce.length===0&&nt.length){const Ut=nt.length-1;return Object.assign(Object.assign({},et(nt[Ut])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return Ce.length<=1?Ce[0]||{}:Ce},Vr=(nt,Ce,Ut)=>{const Nt=Ce.slice().sort((He,ze)=>ze.multiplePriority-He.multiplePriority),$t=nt.slice(),qt=Nt.filter(He=>{let{column:{sorter:ze},sortOrder:At}=He;return vn(ze)&&At});return qt.length?$t.sort((He,ze)=>{for(let At=0;At<qt.length;At+=1){const dt=qt[At],{column:{sorter:dr},sortOrder:br}=dt,Jt=vn(dr);if(Jt&&br){const Tt=Jt(He,ze,br);if(Tt!==0)return br===Ur?Tt:-Tt}}return 0}).map(He=>{const ze=He[Ut];return ze?Object.assign(Object.assign({},He),{[Ut]:Vr(ze,Ce,Ut)}):He}):$t};var ra=nt=>{const{prefixCls:Ce,mergedColumns:Ut,sortDirections:Nt,tableLocale:$t,showSorterTooltip:qt,onSorterChange:He}=nt,[ze,At]=a.useState(ge(Ut,!0)),dt=(Zr,Wt)=>{const Pe=[];return Zr.forEach((yt,Bt)=>{const ht=ce(Bt,Wt);if(Pe.push(ct(yt,ht)),Array.isArray(yt.children)){const Yt=dt(yt.children,ht);Pe.push.apply(Pe,(0,_.Z)(Yt))}}),Pe},dr=a.useMemo(()=>{let Zr=!0;const Wt=ge(Ut,!1);if(!Wt.length){const ht=dt(Ut);return ze.filter(Yt=>{let{key:lr}=Yt;return ht.includes(lr)})}const Pe=[];function yt(ht){Zr?Pe.push(ht):Pe.push(Object.assign(Object.assign({},ht),{sortOrder:null}))}let Bt=null;return Wt.forEach(ht=>{Bt===null?(yt(ht),ht.sortOrder&&(ht.multiplePriority===!1?Zr=!1:Bt=!0)):(Bt&&ht.multiplePriority!==!1||(Zr=!1),yt(ht))}),Pe},[Ut,ze]),br=a.useMemo(()=>{var Zr,Wt;const Pe=dr.map(yt=>{let{column:Bt,sortOrder:ht}=yt;return{column:Bt,order:ht}});return{sortColumns:Pe,sortColumn:(Zr=Pe[0])===null||Zr===void 0?void 0:Zr.column,sortOrder:(Wt=Pe[0])===null||Wt===void 0?void 0:Wt.order}},[dr]),Jt=Zr=>{let Wt;Zr.multiplePriority===!1||!dr.length||dr[0].multiplePriority===!1?Wt=[Zr]:Wt=[].concat((0,_.Z)(dr.filter(Pe=>{let{key:yt}=Pe;return yt!==Zr.key})),[Zr]),At(Wt),He(Ir(Wt),Wt)};return[Zr=>fr(Ce,Zr,dr,Jt,Nt,$t,qt),dr,br,()=>Ir(dr)]};const gt=(nt,Ce)=>nt.map(Nt=>{const $t=Object.assign({},Nt);return $t.title=Le(Nt.title,Ce),"children"in $t&&($t.children=gt($t.children,Ce)),$t});var sr=nt=>[a.useCallback(Ut=>gt(Ut,nt),[nt])],jr=(0,qe.Q$)((nt,Ce)=>{const{_renderTimes:Ut}=nt,{_renderTimes:Nt}=Ce;return Ut!==Nt}),Hr=(0,qe.TN)((nt,Ce)=>{const{_renderTimes:Ut}=nt,{_renderTimes:Nt}=Ce;return Ut!==Nt}),Dr=n(36237),nn=n(17835),sn=n(63356),$n=n(16931),Pn=n(51636),Tn=nt=>{const{componentCls:Ce,lineWidth:Ut,lineType:Nt,tableBorderColor:$t,tableHeaderBg:qt,tablePaddingVertical:He,tablePaddingHorizontal:ze,calc:At}=nt,dt=`${(0,Dr.unit)(Ut)} ${Nt} ${$t}`,dr=(br,Jt,Tt)=>({[`&${Ce}-${br}`]:{[`> ${Ce}-container`]:{[`> ${Ce}-content, > ${Ce}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Ce}-expanded-row-fixed`]:{margin:`${(0,Dr.unit)(At(Jt).mul(-1).equal())}
${(0,Dr.unit)(At(At(Tt).add(Ut)).mul(-1).equal())}`}}}}}});return{[`${Ce}-wrapper`]:{[`${Ce}${Ce}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Ce}-title`]:{border:dt,borderBottom:0},[`> ${Ce}-container`]:{borderInlineStart:dt,borderTop:dt,[`
> ${Ce}-content,
> ${Ce}-header,
> ${Ce}-body,
> ${Ce}-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:dt},"> thead":{"> tr:not(:last-child) > th":{borderBottom:dt},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Ce}-cell-fix-right-first::after`]:{borderInlineEnd:dt}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Ce}-expanded-row-fixed`]:{margin:`${(0,Dr.unit)(At(He).mul(-1).equal())} ${(0,Dr.unit)(At(At(ze).add(Ut)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:Ut,bottom:0,borderInlineEnd:dt,content:'""'}}}}}},[`&${Ce}-scroll-horizontal`]:{[`> ${Ce}-container > ${Ce}-body`]:{"> table > tbody":{[`
> tr${Ce}-expanded-row,
> tr${Ce}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},dr("middle",nt.tablePaddingVerticalMiddle,nt.tablePaddingHorizontalMiddle)),dr("small",nt.tablePaddingVerticalSmall,nt.tablePaddingHorizontalSmall)),{[`> ${Ce}-footer`]:{border:dt,borderTop:0}}),[`${Ce}-cell`]:{[`${Ce}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,Dr.unit)(Ut)} 0 ${(0,Dr.unit)(Ut)} ${qt}`}},[`${Ce}-bordered ${Ce}-cell-scrollbar`]:{borderInlineEnd:dt}}}},tn=nt=>{const{componentCls:Ce}=nt;return{[`${Ce}-wrapper`]:{[`${Ce}-cell-ellipsis`]:Object.assign(Object.assign({},sn.vS),{wordBreak:"keep-all",[`
&${Ce}-cell-fix-left-last,
&${Ce}-cell-fix-right-first
`]:{overflow:"visible",[`${Ce}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Ce}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},qn=nt=>{const{componentCls:Ce}=nt;return{[`${Ce}-wrapper`]:{[`${Ce}-tbody > tr${Ce}-placeholder`]:{textAlign:"center",color:nt.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:nt.colorBgContainer}}}}},Ln=nt=>{const{componentCls:Ce,antCls:Ut,motionDurationSlow:Nt,lineWidth:$t,paddingXS:qt,lineType:He,tableBorderColor:ze,tableExpandIconBg:At,tableExpandColumnWidth:dt,borderRadius:dr,tablePaddingVertical:br,tablePaddingHorizontal:Jt,tableExpandedRowBg:Tt,paddingXXS:ir,expandIconMarginTop:Zr,expandIconSize:Wt,expandIconHalfInner:Pe,expandIconScale:yt,calc:Bt}=nt,ht=`${(0,Dr.unit)($t)} ${He} ${ze}`,Yt=Bt(ir).sub($t).equal();return{[`${Ce}-wrapper`]:{[`${Ce}-expand-icon-col`]:{width:dt},[`${Ce}-row-expand-icon-cell`]:{textAlign:"center",[`${Ce}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Ce}-row-indent`]:{height:1,float:"left"},[`${Ce}-row-expand-icon`]:Object.assign(Object.assign({},(0,sn.Nd)(nt)),{position:"relative",float:"left",width:Wt,height:Wt,color:"inherit",lineHeight:(0,Dr.unit)(Wt),background:At,border:ht,borderRadius:dr,transform:`scale(${yt})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Nt} ease-out`,content:'""'},"&::before":{top:Pe,insetInlineEnd:Yt,insetInlineStart:Yt,height:$t},"&::after":{top:Yt,bottom:Yt,insetInlineStart:Pe,width:$t,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"}}),[`${Ce}-row-indent + ${Ce}-row-expand-icon`]:{marginTop:Zr,marginInlineEnd:qt},[`tr${Ce}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Tt}},[`${Ut}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${Ce}-expanded-row-fixed`]:{position:"relative",margin:`${(0,Dr.unit)(Bt(br).mul(-1).equal())} ${(0,Dr.unit)(Bt(Jt).mul(-1).equal())}`,padding:`${(0,Dr.unit)(br)} ${(0,Dr.unit)(Jt)}`}}}},Kn=nt=>{const{componentCls:Ce,antCls:Ut,iconCls:Nt,tableFilterDropdownWidth:$t,tableFilterDropdownSearchWidth:qt,paddingXXS:He,paddingXS:ze,colorText:At,lineWidth:dt,lineType:dr,tableBorderColor:br,headerIconColor:Jt,fontSizeSM:Tt,tablePaddingHorizontal:ir,borderRadius:Zr,motionDurationSlow:Wt,colorTextDescription:Pe,colorPrimary:yt,tableHeaderFilterActiveBg:Bt,colorTextDisabled:ht,tableFilterDropdownBg:Yt,tableFilterDropdownHeight:lr,controlItemBgHover:mr,controlItemBgActive:Or,boxShadowSecondary:Rr,filterDropdownMenuBg:Fr,calc:un}=nt,wn=`${Ut}-dropdown`,Mr=`${Ce}-filter-dropdown`,Lt=`${Ut}-tree`,ya=`${(0,Dr.unit)(dt)} ${dr} ${br}`;return[{[`${Ce}-wrapper`]:{[`${Ce}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Ce}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:un(He).mul(-1).equal(),marginInline:`${(0,Dr.unit)(He)} ${(0,Dr.unit)(un(ir).div(2).mul(-1).equal())}`,padding:`0 ${(0,Dr.unit)(He)}`,color:Jt,fontSize:Tt,borderRadius:Zr,cursor:"pointer",transition:`all ${Wt}`,"&:hover":{color:Pe,background:Bt},"&.active":{color:yt}}}},{[`${Ut}-dropdown`]:{[Mr]:Object.assign(Object.assign({},(0,sn.Wf)(nt)),{minWidth:$t,backgroundColor:Yt,borderRadius:Zr,boxShadow:Rr,overflow:"hidden",[`${wn}-menu`]:{maxHeight:lr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Fr,"&:empty::after":{display:"block",padding:`${(0,Dr.unit)(ze)} 0`,color:ht,fontSize:Tt,textAlign:"center",content:'"Not Found"'}},[`${Mr}-tree`]:{paddingBlock:`${(0,Dr.unit)(ze)} 0`,paddingInline:ze,[Lt]:{padding:0},[`${Lt}-treenode ${Lt}-node-content-wrapper:hover`]:{backgroundColor:mr},[`${Lt}-treenode-checkbox-checked ${Lt}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Or}}},[`${Mr}-search`]:{padding:ze,borderBottom:ya,"&-input":{input:{minWidth:qt},[Nt]:{color:ht}}},[`${Mr}-checkall`]:{width:"100%",marginBottom:He,marginInlineStart:He},[`${Mr}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,Dr.unit)(un(ze).sub(dt).equal())} ${(0,Dr.unit)(ze)}`,overflow:"hidden",borderTop:ya}})}},{[`${Ut}-dropdown ${Mr}, ${Mr}-submenu`]:{[`${Ut}-checkbox-wrapper + span`]:{paddingInlineStart:ze,color:At},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},ea=nt=>{const{componentCls:Ce,lineWidth:Ut,colorSplit:Nt,motionDurationSlow:$t,zIndexTableFixed:qt,tableBg:He,zIndexTableSticky:ze,calc:At}=nt,dt=Nt;return{[`${Ce}-wrapper`]:{[`
${Ce}-cell-fix-left,
${Ce}-cell-fix-right
`]:{position:"sticky !important",zIndex:qt,background:He},[`
${Ce}-cell-fix-left-first::after,
${Ce}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:At(Ut).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${$t}`,content:'""',pointerEvents:"none"},[`${Ce}-cell-fix-left-all::after`]:{display:"none"},[`
${Ce}-cell-fix-right-first::after,
${Ce}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:At(Ut).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${$t}`,content:'""',pointerEvents:"none"},[`${Ce}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:At(ze).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${$t}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Ce}-ping-left`]:{[`&:not(${Ce}-has-fix-left) ${Ce}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${dt}`},[`
${Ce}-cell-fix-left-first::after,
${Ce}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${dt}`},[`${Ce}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Ce}-ping-right`]:{[`&:not(${Ce}-has-fix-right) ${Ce}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${dt}`},[`
${Ce}-cell-fix-right-first::after,
${Ce}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${dt}`}},[`${Ce}-fixed-column-gapped`]:{[`
${Ce}-cell-fix-left-first::after,
${Ce}-cell-fix-left-last::after,
${Ce}-cell-fix-right-first::after,
${Ce}-cell-fix-right-last::after
`]:{boxShadow:"none"}}}}},xn=nt=>{const{componentCls:Ce,antCls:Ut,margin:Nt}=nt;return{[`${Ce}-wrapper`]:{[`${Ce}-pagination${Ut}-pagination`]:{margin:`${(0,Dr.unit)(Nt)} 0`},[`${Ce}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:nt.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Ca=nt=>{const{componentCls:Ce,tableRadius:Ut}=nt;return{[`${Ce}-wrapper`]:{[Ce]:{[`${Ce}-title, ${Ce}-header`]:{borderRadius:`${(0,Dr.unit)(Ut)} ${(0,Dr.unit)(Ut)} 0 0`},[`${Ce}-title + ${Ce}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Ce}-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:Ut,borderStartEndRadius:Ut,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Ut},"> *:last-child":{borderStartEndRadius:Ut}}},"&-footer":{borderRadius:`0 0 ${(0,Dr.unit)(Ut)} ${(0,Dr.unit)(Ut)}`}}}}},ao=nt=>{const{componentCls:Ce}=nt;return{[`${Ce}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Ce}-pagination-left`]:{justifyContent:"flex-end"},[`${Ce}-pagination-right`]:{justifyContent:"flex-start"},[`${Ce}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Ce}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Ce}-row-indent`]:{float:"right"}}}}},uo=nt=>{const{componentCls:Ce,antCls:Ut,iconCls:Nt,fontSizeIcon:$t,padding:qt,paddingXS:He,headerIconColor:ze,headerIconHoverColor:At,tableSelectionColumnWidth:dt,tableSelectedRowBg:dr,tableSelectedRowHoverBg:br,tableRowHoverBg:Jt,tablePaddingHorizontal:Tt,calc:ir}=nt;return{[`${Ce}-wrapper`]:{[`${Ce}-selection-col`]:{width:dt,[`&${Ce}-selection-col-with-dropdown`]:{width:ir(dt).add($t).add(ir(qt).div(4)).equal()}},[`${Ce}-bordered ${Ce}-selection-col`]:{width:ir(dt).add(ir(He).mul(2)).equal(),[`&${Ce}-selection-col-with-dropdown`]:{width:ir(dt).add($t).add(ir(qt).div(4)).add(ir(He).mul(2)).equal()}},[`
table tr th${Ce}-selection-column,
table tr td${Ce}-selection-column,
${Ce}-selection-column
`]:{paddingInlineEnd:nt.paddingXS,paddingInlineStart:nt.paddingXS,textAlign:"center",[`${Ut}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Ce}-selection-column${Ce}-cell-fix-left`]:{zIndex:ir(nt.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${Ce}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Ce}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Ce}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${nt.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,Dr.unit)(ir(Tt).div(4).equal()),[Nt]:{color:ze,fontSize:$t,verticalAlign:"baseline","&:hover":{color:At}}},[`${Ce}-tbody`]:{[`${Ce}-row`]:{[`&${Ce}-row-selected`]:{[`> ${Ce}-cell`]:{background:dr,"&-row-hover":{background:br}}},[`> ${Ce}-cell-row-hover`]:{background:Jt}}}}}},s=nt=>{const{componentCls:Ce,tableExpandColumnWidth:Ut,calc:Nt}=nt,$t=(qt,He,ze,At)=>({[`${Ce}${Ce}-${qt}`]:{fontSize:At,[`
${Ce}-title,
${Ce}-footer,
${Ce}-cell,
${Ce}-thead > tr > th,
${Ce}-tbody > tr > th,
${Ce}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${(0,Dr.unit)(He)} ${(0,Dr.unit)(ze)}`},[`${Ce}-filter-trigger`]:{marginInlineEnd:(0,Dr.unit)(Nt(ze).div(2).mul(-1).equal())},[`${Ce}-expanded-row-fixed`]:{margin:`${(0,Dr.unit)(Nt(He).mul(-1).equal())} ${(0,Dr.unit)(Nt(ze).mul(-1).equal())}`},[`${Ce}-tbody`]:{[`${Ce}-wrapper:only-child ${Ce}`]:{marginBlock:(0,Dr.unit)(Nt(He).mul(-1).equal()),marginInline:`${(0,Dr.unit)(Nt(Ut).sub(ze).equal())} ${(0,Dr.unit)(Nt(ze).mul(-1).equal())}`}},[`${Ce}-selection-extra`]:{paddingInlineStart:(0,Dr.unit)(Nt(ze).div(4).equal())}}});return{[`${Ce}-wrapper`]:Object.assign(Object.assign({},$t("middle",nt.tablePaddingVerticalMiddle,nt.tablePaddingHorizontalMiddle,nt.tableFontSizeMiddle)),$t("small",nt.tablePaddingVerticalSmall,nt.tablePaddingHorizontalSmall,nt.tableFontSizeSmall))}},b=nt=>{const{componentCls:Ce,marginXXS:Ut,fontSizeIcon:Nt,headerIconColor:$t,headerIconHoverColor:qt}=nt;return{[`${Ce}-wrapper`]:{[`${Ce}-thead th${Ce}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${nt.motionDurationSlow}, left 0s`,"&:hover":{background:nt.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:nt.colorPrimary},[`
&${Ce}-cell-fix-left:hover,
&${Ce}-cell-fix-right:hover
`]:{background:nt.tableFixedHeaderSortActiveBg}},[`${Ce}-thead th${Ce}-column-sort`]:{background:nt.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Ce}-column-sort`]:{background:nt.tableBodySortBg},[`${Ce}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${Ce}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Ce}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${Ce}-column-sorter`]:{marginInlineStart:Ut,color:$t,fontSize:0,transition:`color ${nt.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Nt,"&.active":{color:nt.colorPrimary}},[`${Ce}-column-sorter-up + ${Ce}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Ce}-column-sorters:hover ${Ce}-column-sorter`]:{color:qt}}}},v=nt=>{const{componentCls:Ce,opacityLoading:Ut,tableScrollThumbBg:Nt,tableScrollThumbBgHover:$t,tableScrollThumbSize:qt,tableScrollBg:He,zIndexTableSticky:ze,stickyScrollBarBorderRadius:At,lineWidth:dt,lineType:dr,tableBorderColor:br}=nt,Jt=`${(0,Dr.unit)(dt)} ${dr} ${br}`;return{[`${Ce}-wrapper`]:{[`${Ce}-sticky`]:{"&-holder":{position:"sticky",zIndex:ze,background:nt.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,Dr.unit)(qt)} !important`,zIndex:ze,display:"flex",alignItems:"center",background:He,borderTop:Jt,opacity:Ut,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:qt,backgroundColor:Nt,borderRadius:At,transition:`all ${nt.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:$t}}}}}}},U=nt=>{const{componentCls:Ce,lineWidth:Ut,tableBorderColor:Nt,calc:$t}=nt,qt=`${(0,Dr.unit)(Ut)} ${nt.lineType} ${Nt}`;return{[`${Ce}-wrapper`]:{[`${Ce}-summary`]:{position:"relative",zIndex:nt.zIndexTableFixed,background:nt.tableBg,"> tr":{"> th, > td":{borderBottom:qt}}},[`div${Ce}-summary`]:{boxShadow:`0 ${(0,Dr.unit)($t(Ut).mul(-1).equal())} 0 ${Nt}`}}}},Ae=nt=>{const{componentCls:Ce,motionDurationMid:Ut,lineWidth:Nt,lineType:$t,tableBorderColor:qt,calc:He}=nt,ze=`${(0,Dr.unit)(Nt)} ${$t} ${qt}`,At=`${Ce}-expanded-row-cell`;return{[`${Ce}-wrapper`]:{[`${Ce}-tbody-virtual`]:{[`${Ce}-tbody-virtual-holder-inner`]:{[`
& > ${Ce}-row,
& > div:not(${Ce}-row) > ${Ce}-row
`]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${Ce}-cell`]:{borderBottom:ze,transition:`background ${Ut}`},[`${Ce}-expanded-row`]:{[`${At}${At}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,Dr.unit)(Nt)})`,borderInlineEnd:"none"}}},[`${Ce}-bordered`]:{[`${Ce}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:ze,position:"absolute"},[`${Ce}-cell`]:{borderInlineEnd:ze,[`&${Ce}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:He(Nt).mul(-1).equal(),borderInlineStart:ze}}},[`&${Ce}-virtual`]:{[`${Ce}-placeholder ${Ce}-cell`]:{borderInlineEnd:ze,borderBottom:ze}}}}}};const lt=nt=>{const{componentCls:Ce,fontWeightStrong:Ut,tablePaddingVertical:Nt,tablePaddingHorizontal:$t,tableExpandColumnWidth:qt,lineWidth:He,lineType:ze,tableBorderColor:At,tableFontSize:dt,tableBg:dr,tableRadius:br,tableHeaderTextColor:Jt,motionDurationMid:Tt,tableHeaderBg:ir,tableHeaderCellSplitColor:Zr,tableFooterTextColor:Wt,tableFooterBg:Pe,calc:yt}=nt,Bt=`${(0,Dr.unit)(He)} ${ze} ${At}`;return{[`${Ce}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,sn.dF)()),{[Ce]:Object.assign(Object.assign({},(0,sn.Wf)(nt)),{fontSize:dt,background:dr,borderRadius:`${(0,Dr.unit)(br)} ${(0,Dr.unit)(br)} 0 0`,scrollbarColor:`${nt.tableScrollThumbBg} ${nt.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,Dr.unit)(br)} ${(0,Dr.unit)(br)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${Ce}-cell,
${Ce}-thead > tr > th,
${Ce}-tbody > tr > th,
${Ce}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${(0,Dr.unit)(Nt)} ${(0,Dr.unit)($t)}`,overflowWrap:"break-word"},[`${Ce}-title`]:{padding:`${(0,Dr.unit)(Nt)} ${(0,Dr.unit)($t)}`},[`${Ce}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Jt,fontWeight:Ut,textAlign:"start",background:ir,borderBottom:Bt,transition:`background ${Tt} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Ce}-selection-column):not(${Ce}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Zr,transform:"translateY(-50%)",transition:`background-color ${Tt}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Ce}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Tt}, border-color ${Tt}`,borderBottom:Bt,[`
> ${Ce}-wrapper:only-child,
> ${Ce}-expanded-row-fixed > ${Ce}-wrapper:only-child
`]:{[Ce]:{marginBlock:(0,Dr.unit)(yt(Nt).mul(-1).equal()),marginInline:`${(0,Dr.unit)(yt(qt).sub($t).equal())}
${(0,Dr.unit)(yt($t).mul(-1).equal())}`,[`${Ce}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Jt,fontWeight:Ut,textAlign:"start",background:ir,borderBottom:Bt,transition:`background ${Tt} ease`}}},[`${Ce}-footer`]:{padding:`${(0,Dr.unit)(Nt)} ${(0,Dr.unit)($t)}`,color:Wt,background:Pe}})}},It=nt=>{const{colorFillAlter:Ce,colorBgContainer:Ut,colorTextHeading:Nt,colorFillSecondary:$t,colorFillContent:qt,controlItemBgActive:He,controlItemBgActiveHover:ze,padding:At,paddingSM:dt,paddingXS:dr,colorBorderSecondary:br,borderRadiusLG:Jt,controlHeight:Tt,colorTextPlaceholder:ir,fontSize:Zr,fontSizeSM:Wt,lineHeight:Pe,lineWidth:yt,colorIcon:Bt,colorIconHover:ht,opacityLoading:Yt,controlInteractiveSize:lr}=nt,mr=new nn.FastColor($t).onBackground(Ut).toHexString(),Or=new nn.FastColor(qt).onBackground(Ut).toHexString(),Rr=new nn.FastColor(Ce).onBackground(Ut).toHexString(),Fr=new nn.FastColor(Bt),un=new nn.FastColor(ht),wn=lr/2-yt,Mr=wn*2+yt*3;return{headerBg:Rr,headerColor:Nt,headerSortActiveBg:mr,headerSortHoverBg:Or,bodySortBg:Rr,rowHoverBg:Rr,rowSelectedBg:He,rowSelectedHoverBg:ze,rowExpandedBg:Ce,cellPaddingBlock:At,cellPaddingInline:At,cellPaddingBlockMD:dt,cellPaddingInlineMD:dr,cellPaddingBlockSM:dr,cellPaddingInlineSM:dr,borderColor:br,headerBorderRadius:Jt,footerBg:Rr,footerColor:Nt,cellFontSize:Zr,cellFontSizeMD:Zr,cellFontSizeSM:Zr,headerSplitColor:br,fixedHeaderSortActiveBg:mr,headerFilterHoverBg:qt,filterDropdownMenuBg:Ut,filterDropdownBg:Ut,expandIconBg:Ut,selectionColumnWidth:Tt,stickyScrollBarBg:ir,stickyScrollBarBorderRadius:100,expandIconMarginTop:(Zr*Pe-yt*3)/2-Math.ceil((Wt*1.4-yt*3)/2),headerIconColor:Fr.clone().setA(Fr.a*Yt).toRgbString(),headerIconHoverColor:un.clone().setA(un.a*Yt).toRgbString(),expandIconHalfInner:wn,expandIconSize:Mr,expandIconScale:lr/Mr}},Et=2;var ve=(0,$n.I$)("Table",nt=>{const{colorTextHeading:Ce,colorSplit:Ut,colorBgContainer:Nt,controlInteractiveSize:$t,headerBg:qt,headerColor:He,headerSortActiveBg:ze,headerSortHoverBg:At,bodySortBg:dt,rowHoverBg:dr,rowSelectedBg:br,rowSelectedHoverBg:Jt,rowExpandedBg:Tt,cellPaddingBlock:ir,cellPaddingInline:Zr,cellPaddingBlockMD:Wt,cellPaddingInlineMD:Pe,cellPaddingBlockSM:yt,cellPaddingInlineSM:Bt,borderColor:ht,footerBg:Yt,footerColor:lr,headerBorderRadius:mr,cellFontSize:Or,cellFontSizeMD:Rr,cellFontSizeSM:Fr,headerSplitColor:un,fixedHeaderSortActiveBg:wn,headerFilterHoverBg:Mr,filterDropdownBg:Lt,expandIconBg:ya,selectionColumnWidth:ha,stickyScrollBarBg:Wn,calc:an}=nt,dn=(0,Pn.mergeToken)(nt,{tableFontSize:Or,tableBg:Nt,tableRadius:mr,tablePaddingVertical:ir,tablePaddingHorizontal:Zr,tablePaddingVerticalMiddle:Wt,tablePaddingHorizontalMiddle:Pe,tablePaddingVerticalSmall:yt,tablePaddingHorizontalSmall:Bt,tableBorderColor:ht,tableHeaderTextColor:He,tableHeaderBg:qt,tableFooterTextColor:lr,tableFooterBg:Yt,tableHeaderCellSplitColor:un,tableHeaderSortBg:ze,tableHeaderSortHoverBg:At,tableBodySortBg:dt,tableFixedHeaderSortActiveBg:wn,tableHeaderFilterActiveBg:Mr,tableFilterDropdownBg:Lt,tableRowHoverBg:dr,tableSelectedRowBg:br,tableSelectedRowHoverBg:Jt,zIndexTableFixed:Et,zIndexTableSticky:an(Et).add(1).equal({unit:!1}),tableFontSizeMiddle:Rr,tableFontSizeSmall:Fr,tableSelectionColumnWidth:ha,tableExpandIconBg:ya,tableExpandColumnWidth:an($t).add(an(nt.padding).mul(2)).equal(),tableExpandedRowBg:Tt,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Wn,tableScrollThumbBgHover:Ce,tableScrollBg:Ut});return[lt(dn),xn(dn),U(dn),b(dn),Kn(dn),Tn(dn),Ca(dn),Ln(dn),U(dn),qn(dn),uo(dn),ea(dn),v(dn),tn(dn),s(dn),ao(dn),Ae(dn)]},It,{unitless:{expandIconScale:!0}});const kt=[],Ge=(nt,Ce)=>{var Ut,Nt;const{prefixCls:$t,className:qt,rootClassName:He,style:ze,size:At,bordered:dt,dropdownPrefixCls:dr,dataSource:br,pagination:Jt,rowSelection:Tt,rowKey:ir="key",rowClassName:Zr,columns:Wt,children:Pe,childrenColumnName:yt,onChange:Bt,getPopupContainer:ht,loading:Yt,expandIcon:lr,expandable:mr,expandedRowRender:Or,expandIconColumnIndex:Rr,indentSize:Fr,scroll:un,sortDirections:wn,locale:Mr,showSorterTooltip:Lt={target:"full-header"},virtual:ya}=nt,ha=(0,N.ln)("Table"),Wn=a.useMemo(()=>Wt||(0,xe.L)(Pe),[Wt,Pe]),an=a.useMemo(()=>Wn.some(Pa=>Pa.responsive),[Wn]),dn=(0,k.Z)(an),Gr=a.useMemo(()=>{const Pa=new Set(Object.keys(dn).filter(ja=>dn[ja]));return Wn.filter(ja=>!ja.responsive||ja.responsive.some(bo=>Pa.has(bo)))},[Wn,dn]),la=(0,Q.Z)(nt,["className","style","columns"]),{locale:Gn=z.Z,direction:xa,table:_n,renderEmpty:ca,getPrefixCls:Ra,getPopupContainer:oa}=a.useContext(rt.E_),kn=(0,w.Z)(At),ia=Object.assign(Object.assign({},Gn.Table),Mr),Rn=br||kt,Bn=Ra("table",$t),Yn=Ra("dropdown",dr),[,Qr]=(0,ke.ZP)(),mn=(0,se.Z)(Bn),[ua,En,fa]=ve(Bn,mn),Vn=Object.assign(Object.assign({childrenColumnName:yt,expandIconColumnIndex:Rr},mr),{expandIcon:(Ut=mr==null?void 0:mr.expandIcon)!==null&&Ut!==void 0?Ut:(Nt=_n==null?void 0:_n.expandable)===null||Nt===void 0?void 0:Nt.expandIcon}),{childrenColumnName:Wa="children"}=Vn,qa=a.useMemo(()=>Rn.some(Pa=>Pa==null?void 0:Pa[Wa])?"nest":Or||mr!=null&&mr.expandedRowRender?"row":null,[Rn]),Cn={body:a.useRef(null)},jn=at(Bn),ma=a.useRef(null),Qa=a.useRef(null);j(Ce,()=>Object.assign(Object.assign({},Qa.current),{nativeElement:ma.current}));const _a=a.useMemo(()=>typeof ir=="function"?ir:Pa=>Pa==null?void 0:Pa[ir],[ir]),[po]=Lr(Rn,Wa,_a),go={},pa=function(Pa,ja){let bo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ve,zo,Do,Eo;const so=Object.assign(Object.assign({},go),Pa);bo&&((Ve=go.resetPagination)===null||Ve===void 0||Ve.call(go),!((zo=so.pagination)===null||zo===void 0)&&zo.current&&(so.pagination.current=1),Jt&&((Do=Jt.onChange)===null||Do===void 0||Do.call(Jt,1,(Eo=so.pagination)===null||Eo===void 0?void 0:Eo.pageSize))),un&&un.scrollToFirstRowOnChange!==!1&&Cn.body.current&&(0,I.Z)(0,{getContainer:()=>Cn.body.current}),Bt==null||Bt(so.pagination,so.filters,so.sorter,{currentDataSource:yn(Vr(Rn,so.sorterStates,Wa),so.filterStates,Wa),action:ja})},No=(Pa,ja)=>{pa({sorter:Pa,sorterStates:ja},"sort",!1)},[Na,za,Ma,Da]=ra({prefixCls:Bn,mergedColumns:Gr,onSorterChange:No,sortDirections:wn||["ascend","descend"],tableLocale:ia,showSorterTooltip:Lt}),Ua=a.useMemo(()=>Vr(Rn,za,Wa),[Rn,za]);go.sorter=Da(),go.sorterStates=za;const ba=(Pa,ja)=>{pa({filters:Pa,filterStates:ja},"filter",!0)},[Ya,ka,Ja]=Sr({prefixCls:Bn,locale:ia,dropdownPrefixCls:Yn,mergedColumns:Gr,onFilterChange:ba,getPopupContainer:ht||oa,rootClassName:c()(He,mn)}),io=yn(Ua,ka,Wa);go.filters=Ja,go.filterStates=ka;const ho=a.useMemo(()=>{const Pa={};return Object.keys(Ja).forEach(ja=>{Ja[ja]!==null&&(Pa[ja]=Ja[ja])}),Object.assign(Object.assign({},Ma),{filters:Pa})},[Ma,Ja]),[Mo]=sr(ho),Bo=(Pa,ja)=>{pa({pagination:Object.assign(Object.assign({},go.pagination),{current:Pa,pageSize:ja})},"paginate")},[La,Ko]=st(io.length,Bo,Jt);go.pagination=Jt===!1?{}:Ee(La,Jt),go.resetPagination=Ko;const vo=a.useMemo(()=>{if(Jt===!1||!La.pageSize)return io;const{current:Pa=1,total:ja,pageSize:bo=D}=La;return io.length<ja?io.length>bo?io.slice((Pa-1)*bo,Pa*bo):io:io.slice((Pa-1)*bo,Pa*bo)},[!!Jt,io,La==null?void 0:La.current,La==null?void 0:La.pageSize,La==null?void 0:La.total]),[Lo,Co]=we({prefixCls:Bn,data:io,pageData:vo,getRowKey:_a,getRecordByKey:po,expandType:qa,childrenColumnName:Wa,locale:ia,getPopupContainer:ht||oa},Tt),Si=(Pa,ja,bo)=>{let Ve;return typeof Zr=="function"?Ve=c()(Zr(Pa,ja,bo)):Ve=c()(Zr),c()({[`${Bn}-row-selected`]:Co.has(_a(Pa,ja))},Ve)};Vn.__PARENT_RENDER_ICON__=Vn.expandIcon,Vn.expandIcon=Vn.expandIcon||lr||Ue(ia),qa==="nest"&&Vn.expandIconColumnIndex===void 0?Vn.expandIconColumnIndex=Tt?1:0:Vn.expandIconColumnIndex>0&&Tt&&(Vn.expandIconColumnIndex-=1),typeof Vn.indentSize!="number"&&(Vn.indentSize=typeof Fr=="number"?Fr:15);const Vo=a.useCallback(Pa=>Mo(Lo(Ya(Na(Pa)))),[Na,Ya,Lo]);let ai,$i;if(Jt!==!1&&(La!=null&&La.total)){let Pa;La.size?Pa=La.size:Pa=kn==="small"||kn==="middle"?"small":void 0;const ja=zo=>a.createElement(C.Z,Object.assign({},La,{className:c()(`${Bn}-pagination ${Bn}-pagination-${zo}`,La.className),size:Pa})),bo=xa==="rtl"?"left":"right",{position:Ve}=La;if(Ve!==null&&Array.isArray(Ve)){const zo=Ve.find(so=>so.includes("top")),Do=Ve.find(so=>so.includes("bottom")),Eo=Ve.every(so=>`${so}`=="none");!zo&&!Do&&!Eo&&($i=ja(bo)),zo&&(ai=ja(zo.toLowerCase().replace("top",""))),Do&&($i=ja(Do.toLowerCase().replace("bottom","")))}else $i=ja(bo)}let Ho;typeof Yt=="boolean"?Ho={spinning:Yt}:typeof Yt=="object"&&(Ho=Object.assign({spinning:!0},Yt));const Xo=c()(fa,mn,`${Bn}-wrapper`,_n==null?void 0:_n.className,{[`${Bn}-wrapper-rtl`]:xa==="rtl"},qt,He,En),Hi=Object.assign(Object.assign({},_n==null?void 0:_n.style),ze),wi=typeof(Mr==null?void 0:Mr.emptyText)!="undefined"?Mr.emptyText:(ca==null?void 0:ca("Table"))||a.createElement(le.Z,{componentName:"Table"}),Ci=ya?Hr:jr,Oi={},Ai=a.useMemo(()=>{const{fontSize:Pa,lineHeight:ja,lineWidth:bo,padding:Ve,paddingXS:zo,paddingSM:Do}=Qr,Eo=Math.floor(Pa*ja);switch(kn){case"middle":return Do*2+Eo+bo;case"small":return zo*2+Eo+bo;default:return Ve*2+Eo+bo}},[Qr,kn]);return ya&&(Oi.listItemHeight=Ai),ua(a.createElement("div",{ref:ma,className:Xo,style:Hi},a.createElement(Y.Z,Object.assign({spinning:!1},Ho),ai,a.createElement(Ci,Object.assign({},Oi,la,{ref:Qa,columns:Gr,direction:xa,expandable:Vn,prefixCls:Bn,className:c()({[`${Bn}-middle`]:kn==="middle",[`${Bn}-small`]:kn==="small",[`${Bn}-bordered`]:dt,[`${Bn}-empty`]:Rn.length===0},fa,mn,En),data:vo,rowKey:_a,rowClassName:Si,emptyText:wi,internalHooks:qe.RQ,internalRefs:Cn,transformColumns:Vo,getContainerWidth:jn})),$i)))};var Vt=a.forwardRef(Ge);const vt=(nt,Ce)=>{const Ut=a.useRef(0);return Ut.current+=1,a.createElement(Vt,Object.assign({},nt,{ref:Ce,_renderTimes:Ut.current}))},nr=a.forwardRef(vt);nr.SELECTION_COLUMN=oe,nr.EXPAND_COLUMN=qe.w2,nr.SELECTION_ALL=J,nr.SELECTION_INVERT=te,nr.SELECTION_NONE=$e,nr.Column=Re,nr.ColumnGroup=ee,nr.Summary=qe.ER;var xr=nr,Qt=xr},20554:function(Yr,Kt,n){"use strict";n.d(Kt,{default:function(){return z}});var a=n(59301),qe=n(99267),L=n(18785),Re=n(62772),q=n(92310),ee=n.n(q),_=n(29443),y=n(48755),V=n(83397),c=n(31756),T=n(86641);const F={motionAppear:!1,motionEnter:!0,motionLeave:!0};function G(C){let Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},ke;return Y===!1?ke={inkBar:!1,tabPane:!1}:Y===!0?ke={inkBar:!0,tabPane:!0}:ke=Object.assign({inkBar:!0},typeof Y=="object"?Y:{}),ke.tabPane&&(ke.tabPaneMotion=Object.assign(Object.assign({},F),{motionName:(0,T.m)(C,"switch")})),ke}var R=n(11592),X=function(C,Y){var ke={};for(var pe in C)Object.prototype.hasOwnProperty.call(C,pe)&&Y.indexOf(pe)<0&&(ke[pe]=C[pe]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,pe=Object.getOwnPropertySymbols(C);Ue<pe.length;Ue++)Y.indexOf(pe[Ue])<0&&Object.prototype.propertyIsEnumerable.call(C,pe[Ue])&&(ke[pe[Ue]]=C[pe[Ue]]);return ke};function N(C){return C.filter(Y=>Y)}function A(C,Y){if(C)return C;const ke=(0,R.Z)(Y).map(pe=>{if(a.isValidElement(pe)){const{key:Ue,props:at}=pe,ct=at||{},{tab:ce}=ct,Le=X(ct,["tab"]);return Object.assign(Object.assign({key:String(Ue)},Le),{label:ce})}return null});return N(ke)}var S=n(36237),E=n(63356),oe=n(16931),J=n(51636),te=n(46e3),Ne=C=>{const{componentCls:Y,motionDurationSlow:ke}=C;return[{[Y]:{[`${Y}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${ke}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${ke}`}}}}},[(0,te.oN)(C,"slide-up"),(0,te.oN)(C,"slide-down")]]};const Qe=C=>{const{componentCls:Y,tabsCardPadding:ke,cardBg:pe,cardGutter:Ue,colorBorderSecondary:at,itemSelectedColor:ct}=C;return{[`${Y}-card`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{[`${Y}-tab`]:{margin:0,padding:ke,background:pe,border:`${(0,S.unit)(C.lineWidth)} ${C.lineType} ${at}`,transition:`all ${C.motionDurationSlow} ${C.motionEaseInOut}`},[`${Y}-tab-active`]:{color:ct,background:C.colorBgContainer},[`${Y}-tab-focus`]:Object.assign({},(0,E.oN)(C,-3)),[`${Y}-ink-bar`]:{visibility:"hidden"},[`& ${Y}-tab${Y}-tab-focus ${Y}-tab-btn`]:{outline:"none"}},[`&${Y}-top, &${Y}-bottom`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{[`${Y}-tab + ${Y}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,S.unit)(Ue)}}}},[`&${Y}-top`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{[`${Y}-tab`]:{borderRadius:`${(0,S.unit)(C.borderRadiusLG)} ${(0,S.unit)(C.borderRadiusLG)} 0 0`},[`${Y}-tab-active`]:{borderBottomColor:C.colorBgContainer}}},[`&${Y}-bottom`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{[`${Y}-tab`]:{borderRadius:`0 0 ${(0,S.unit)(C.borderRadiusLG)} ${(0,S.unit)(C.borderRadiusLG)}`},[`${Y}-tab-active`]:{borderTopColor:C.colorBgContainer}}},[`&${Y}-left, &${Y}-right`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{[`${Y}-tab + ${Y}-tab`]:{marginTop:(0,S.unit)(Ue)}}},[`&${Y}-left`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{[`${Y}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,S.unit)(C.borderRadiusLG)} 0 0 ${(0,S.unit)(C.borderRadiusLG)}`}},[`${Y}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:C.colorBgContainer}}}},[`&${Y}-right`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{[`${Y}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,S.unit)(C.borderRadiusLG)} ${(0,S.unit)(C.borderRadiusLG)} 0`}},[`${Y}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:C.colorBgContainer}}}}}}},Ze=C=>{const{componentCls:Y,itemHoverColor:ke,dropdownEdgeChildVerticalPadding:pe}=C;return{[`${Y}-dropdown`]:Object.assign(Object.assign({},(0,E.Wf)(C)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:C.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${Y}-dropdown-menu`]:{maxHeight:C.tabsDropdownHeight,margin:0,padding:`${(0,S.unit)(pe)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:C.colorBgContainer,backgroundClip:"padding-box",borderRadius:C.borderRadiusLG,outline:"none",boxShadow:C.boxShadowSecondary,"&-item":Object.assign(Object.assign({},E.vS),{display:"flex",alignItems:"center",minWidth:C.tabsDropdownWidth,margin:0,padding:`${(0,S.unit)(C.paddingXXS)} ${(0,S.unit)(C.paddingSM)}`,color:C.colorText,fontWeight:"normal",fontSize:C.fontSize,lineHeight:C.lineHeight,cursor:"pointer",transition:`all ${C.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:C.marginSM},color:C.colorTextDescription,fontSize:C.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:ke}},"&:hover":{background:C.controlItemBgHover},"&-disabled":{"&, &:hover":{color:C.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},we=C=>{const{componentCls:Y,margin:ke,colorBorderSecondary:pe,horizontalMargin:Ue,verticalItemPadding:at,verticalItemMargin:ct,calc:ce}=C;return{[`${Y}-top, ${Y}-bottom`]:{flexDirection:"column",[`> ${Y}-nav, > div > ${Y}-nav`]:{margin:Ue,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,S.unit)(C.lineWidth)} ${C.lineType} ${pe}`,content:"''"},[`${Y}-ink-bar`]:{height:C.lineWidthBold,"&-animated":{transition:`width ${C.motionDurationSlow}, left ${C.motionDurationSlow},
right ${C.motionDurationSlow}`}},[`${Y}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:C.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:C.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:C.boxShadowTabsOverflowRight},[`&${Y}-nav-wrap-ping-left::before`]:{opacity:1},[`&${Y}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${Y}-top`]:{[`> ${Y}-nav,
> div > ${Y}-nav`]:{"&::before":{bottom:0},[`${Y}-ink-bar`]:{bottom:0}}},[`${Y}-bottom`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{order:1,marginTop:ke,marginBottom:0,"&::before":{top:0},[`${Y}-ink-bar`]:{top:0}},[`> ${Y}-content-holder, > div > ${Y}-content-holder`]:{order:0}},[`${Y}-left, ${Y}-right`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{flexDirection:"column",minWidth:ce(C.controlHeight).mul(1.25).equal(),[`${Y}-tab`]:{padding:at,textAlign:"center"},[`${Y}-tab + ${Y}-tab`]:{margin:ct},[`${Y}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:C.controlHeight},"&::before":{top:0,boxShadow:C.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:C.boxShadowTabsOverflowBottom},[`&${Y}-nav-wrap-ping-top::before`]:{opacity:1},[`&${Y}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${Y}-ink-bar`]:{width:C.lineWidthBold,"&-animated":{transition:`height ${C.motionDurationSlow}, top ${C.motionDurationSlow}`}},[`${Y}-nav-list, ${Y}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${Y}-left`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{[`${Y}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${Y}-content-holder, > div > ${Y}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,S.unit)(ce(C.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,S.unit)(C.lineWidth)} ${C.lineType} ${C.colorBorder}`},[`> ${Y}-content > ${Y}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:C.paddingLG}}}},[`${Y}-right`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{order:1,[`${Y}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${Y}-content-holder, > div > ${Y}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:ce(C.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,S.unit)(C.lineWidth)} ${C.lineType} ${C.colorBorder}`},[`> ${Y}-content > ${Y}-tabpane`]:{paddingRight:{_skip_check_:!0,value:C.paddingLG}}}}}},xe=C=>{const{componentCls:Y,cardPaddingSM:ke,cardPaddingLG:pe,horizontalItemPaddingSM:Ue,horizontalItemPaddingLG:at}=C;return{[Y]:{"&-small":{[`> ${Y}-nav`]:{[`${Y}-tab`]:{padding:Ue,fontSize:C.titleFontSizeSM}}},"&-large":{[`> ${Y}-nav`]:{[`${Y}-tab`]:{padding:at,fontSize:C.titleFontSizeLG}}}},[`${Y}-card`]:{[`&${Y}-small`]:{[`> ${Y}-nav`]:{[`${Y}-tab`]:{padding:ke}},[`&${Y}-bottom`]:{[`> ${Y}-nav ${Y}-tab`]:{borderRadius:`0 0 ${(0,S.unit)(C.borderRadius)} ${(0,S.unit)(C.borderRadius)}`}},[`&${Y}-top`]:{[`> ${Y}-nav ${Y}-tab`]:{borderRadius:`${(0,S.unit)(C.borderRadius)} ${(0,S.unit)(C.borderRadius)} 0 0`}},[`&${Y}-right`]:{[`> ${Y}-nav ${Y}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,S.unit)(C.borderRadius)} ${(0,S.unit)(C.borderRadius)} 0`}}},[`&${Y}-left`]:{[`> ${Y}-nav ${Y}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,S.unit)(C.borderRadius)} 0 0 ${(0,S.unit)(C.borderRadius)}`}}}},[`&${Y}-large`]:{[`> ${Y}-nav`]:{[`${Y}-tab`]:{padding:pe}}}}}},Q=C=>{const{componentCls:Y,itemActiveColor:ke,itemHoverColor:pe,iconCls:Ue,tabsHorizontalItemMargin:at,horizontalItemPadding:ct,itemSelectedColor:ce,itemColor:Le}=C,wt=`${Y}-tab`;return{[wt]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:ct,fontSize:C.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:Le,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:ke}},"&-btn":{outline:"none",transition:`all ${C.motionDurationSlow}`,[`${wt}-icon:not(:last-child)`]:{marginInlineEnd:C.marginSM}},"&-remove":Object.assign({flex:"none",marginRight:{_skip_check_:!0,value:C.calc(C.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:C.marginXS},color:C.colorTextDescription,fontSize:C.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${C.motionDurationSlow}`,"&:hover":{color:C.colorTextHeading}},(0,E.Qy)(C)),"&:hover":{color:pe},[`&${wt}-active ${wt}-btn`]:{color:ce,textShadow:C.tabsActiveTextShadow},[`&${wt}-focus ${wt}-btn`]:Object.assign({},(0,E.oN)(C)),[`&${wt}-disabled`]:{color:C.colorTextDisabled,cursor:"not-allowed"},[`&${wt}-disabled ${wt}-btn, &${wt}-disabled ${Y}-remove`]:{"&:focus, &:active":{color:C.colorTextDisabled}},[`& ${wt}-remove ${Ue}`]:{margin:0},[`${Ue}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:C.marginSM}}},[`${wt} + ${wt}`]:{margin:{_skip_check_:!0,value:at}}}},ye=C=>{const{componentCls:Y,tabsHorizontalItemMarginRTL:ke,iconCls:pe,cardGutter:Ue,calc:at}=C;return{[`${Y}-rtl`]:{direction:"rtl",[`${Y}-nav`]:{[`${Y}-tab`]:{margin:{_skip_check_:!0,value:ke},[`${Y}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[pe]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,S.unit)(C.marginSM)}},[`${Y}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,S.unit)(C.marginXS)},marginLeft:{_skip_check_:!0,value:(0,S.unit)(at(C.marginXXS).mul(-1).equal())},[pe]:{margin:0}}}},[`&${Y}-left`]:{[`> ${Y}-nav`]:{order:1},[`> ${Y}-content-holder`]:{order:0}},[`&${Y}-right`]:{[`> ${Y}-nav`]:{order:0},[`> ${Y}-content-holder`]:{order:1}},[`&${Y}-card${Y}-top, &${Y}-card${Y}-bottom`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{[`${Y}-tab + ${Y}-tab`]:{marginRight:{_skip_check_:!0,value:Ue},marginLeft:{_skip_check_:!0,value:0}}}}},[`${Y}-dropdown-rtl`]:{direction:"rtl"},[`${Y}-menu-item`]:{[`${Y}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},j=C=>{const{componentCls:Y,tabsCardPadding:ke,cardHeight:pe,cardGutter:Ue,itemHoverColor:at,itemActiveColor:ct,colorBorderSecondary:ce}=C;return{[Y]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,E.Wf)(C)),{display:"flex",[`> ${Y}-nav, > div > ${Y}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${Y}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${C.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${Y}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${C.motionDurationSlow}`},[`${Y}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${Y}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${Y}-nav-more`]:{position:"relative",padding:ke,background:"transparent",border:0,color:C.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:C.calc(C.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${Y}-nav-add`]:Object.assign({minWidth:pe,marginLeft:{_skip_check_:!0,value:Ue},padding:(0,S.unit)(C.paddingXS),background:"transparent",border:`${(0,S.unit)(C.lineWidth)} ${C.lineType} ${ce}`,borderRadius:`${(0,S.unit)(C.borderRadiusLG)} ${(0,S.unit)(C.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:C.colorText,transition:`all ${C.motionDurationSlow} ${C.motionEaseInOut}`,"&:hover":{color:at},"&:active, &:focus:not(:focus-visible)":{color:ct}},(0,E.Qy)(C,-3))},[`${Y}-extra-content`]:{flex:"none"},[`${Y}-ink-bar`]:{position:"absolute",background:C.inkBarColor,pointerEvents:"none"}}),Q(C)),{[`${Y}-content`]:{position:"relative",width:"100%"},[`${Y}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${Y}-tabpane`]:Object.assign(Object.assign({},(0,E.Qy)(C)),{"&-hidden":{display:"none"}})}),[`${Y}-centered`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{[`${Y}-nav-wrap`]:{[`&:not([class*='${Y}-nav-wrap-ping']) > ${Y}-nav-list`]:{margin:"auto"}}}}}},I=C=>{const Y=C.controlHeightLG;return{zIndexPopup:C.zIndexPopupBase+50,cardBg:C.colorFillAlter,cardHeight:Y,cardPadding:`${(Y-Math.round(C.fontSize*C.lineHeight))/2-C.lineWidth}px ${C.padding}px`,cardPaddingSM:`${C.paddingXXS*1.5}px ${C.padding}px`,cardPaddingLG:`${C.paddingXS}px ${C.padding}px ${C.paddingXXS*1.5}px`,titleFontSize:C.fontSize,titleFontSizeLG:C.fontSizeLG,titleFontSizeSM:C.fontSize,inkBarColor:C.colorPrimary,horizontalMargin:`0 0 ${C.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${C.paddingSM}px 0`,horizontalItemPaddingSM:`${C.paddingXS}px 0`,horizontalItemPaddingLG:`${C.padding}px 0`,verticalItemPadding:`${C.paddingXS}px ${C.paddingLG}px`,verticalItemMargin:`${C.margin}px 0 0 0`,itemColor:C.colorText,itemSelectedColor:C.colorPrimary,itemHoverColor:C.colorPrimaryHover,itemActiveColor:C.colorPrimaryActive,cardGutter:C.marginXXS/2}};var rt=(0,oe.I$)("Tabs",C=>{const Y=(0,J.mergeToken)(C,{tabsCardPadding:C.cardPadding,dropdownEdgeChildVerticalPadding:C.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,S.unit)(C.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,S.unit)(C.horizontalItemGutter)}`});return[xe(Y),ye(Y),we(Y),Ze(Y),Qe(Y),j(Y),Ne(Y)]},I),se=()=>null,w=function(C,Y){var ke={};for(var pe in C)Object.prototype.hasOwnProperty.call(C,pe)&&Y.indexOf(pe)<0&&(ke[pe]=C[pe]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,pe=Object.getOwnPropertySymbols(C);Ue<pe.length;Ue++)Y.indexOf(pe[Ue])<0&&Object.prototype.propertyIsEnumerable.call(C,pe[Ue])&&(ke[pe[Ue]]=C[pe[Ue]]);return ke};const k=C=>{var Y,ke,pe,Ue,at,ct,ce,Le,wt,Fe,De;const{type:P,className:_e,rootClassName:be,size:he,onEdit:de,hideAdd:me,centered:Ie,addIcon:Se,removeIcon:Me,moreIcon:Je,more:pt,popupClassName:Ot,children:_t,items:Gt,animated:Pt,style:ot,indicatorSize:xt,indicator:jt}=C,Ht=w(C,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:Ct}=Ht,{direction:er,tabs:cr,getPrefixCls:Cr,getPopupContainer:qr}=a.useContext(y.E_),Ar=Cr("tabs",Ct),x=(0,V.Z)(Ar),[H,St,ae]=rt(Ar,x);let Be;P==="editable-card"&&(Be={onEdit:(vr,Lr)=>{let{key:h,event:D}=Lr;de==null||de(vr==="add"?D:h,vr)},removeIcon:(Y=Me!=null?Me:cr==null?void 0:cr.removeIcon)!==null&&Y!==void 0?Y:a.createElement(qe.Z,null),addIcon:(Se!=null?Se:cr==null?void 0:cr.addIcon)||a.createElement(Re.Z,null),showAdd:me!==!0});const zr=Cr(),$r=(0,c.Z)(he),yn=A(Gt,_t),Mn=G(Ar,Pt),Ft=Object.assign(Object.assign({},cr==null?void 0:cr.style),ot),Sr={align:(ke=jt==null?void 0:jt.align)!==null&&ke!==void 0?ke:(pe=cr==null?void 0:cr.indicator)===null||pe===void 0?void 0:pe.align,size:(ce=(at=(Ue=jt==null?void 0:jt.size)!==null&&Ue!==void 0?Ue:xt)!==null&&at!==void 0?at:(ct=cr==null?void 0:cr.indicator)===null||ct===void 0?void 0:ct.size)!==null&&ce!==void 0?ce:cr==null?void 0:cr.indicatorSize};return H(a.createElement(_.Z,Object.assign({direction:er,getPopupContainer:qr},Ht,{items:yn,className:ee()({[`${Ar}-${$r}`]:$r,[`${Ar}-card`]:["card","editable-card"].includes(P),[`${Ar}-editable-card`]:P==="editable-card",[`${Ar}-centered`]:Ie},cr==null?void 0:cr.className,_e,be,St,ae,x),popupClassName:ee()(Ot,St,ae,x),style:Ft,editable:Be,more:Object.assign({icon:(De=(Fe=(wt=(Le=cr==null?void 0:cr.more)===null||Le===void 0?void 0:Le.icon)!==null&&wt!==void 0?wt:cr==null?void 0:cr.moreIcon)!==null&&Fe!==void 0?Fe:Je)!==null&&De!==void 0?De:a.createElement(L.Z,null),transitionName:`${zr}-slide-up`},pt),prefixCls:Ar,animated:Mn,indicator:Sr})))};k.TabPane=se;var z=k},96599:function(Yr,Kt,n){"use strict";n.d(Kt,{default:function(){return j}});var a=n(59301),qe=n(92310),L=n.n(qe),Re=n(2738),q=n(29509),ee=n(78776),_=n(22703),y=n(12919),V=n(48755),c=n(36237),T=n(17835),F=n(63356),G=n(51636),R=n(16931);const X=I=>{const{paddingXXS:rt,lineWidth:le,tagPaddingHorizontal:se,componentCls:w,calc:k}=I,z=k(se).sub(le).equal(),C=k(rt).sub(le).equal();return{[w]:Object.assign(Object.assign({},(0,F.Wf)(I)),{display:"inline-block",height:"auto",marginInlineEnd:I.marginXS,paddingInline:z,fontSize:I.tagFontSize,lineHeight:I.tagLineHeight,whiteSpace:"nowrap",background:I.defaultBg,border:`${(0,c.unit)(I.lineWidth)} ${I.lineType} ${I.colorBorder}`,borderRadius:I.borderRadiusSM,opacity:1,transition:`all ${I.motionDurationMid}`,textAlign:"start",position:"relative",[`&${w}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:I.defaultColor},[`${w}-close-icon`]:{marginInlineStart:C,fontSize:I.tagIconSize,color:I.colorTextDescription,cursor:"pointer",transition:`all ${I.motionDurationMid}`,"&:hover":{color:I.colorTextHeading}},[`&${w}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${I.iconCls}-close, ${I.iconCls}-close:hover`]:{color:I.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${w}-checkable-checked):hover`]:{color:I.colorPrimary,backgroundColor:I.colorFillSecondary},"&:active, &-checked":{color:I.colorTextLightSolid},"&-checked":{backgroundColor:I.colorPrimary,"&:hover":{backgroundColor:I.colorPrimaryHover}},"&:active":{backgroundColor:I.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${I.iconCls} + span, > span + ${I.iconCls}`]:{marginInlineStart:z}}),[`${w}-borderless`]:{borderColor:"transparent",background:I.tagBorderlessBg}}},N=I=>{const{lineWidth:rt,fontSizeIcon:le,calc:se}=I,w=I.fontSizeSM;return(0,G.mergeToken)(I,{tagFontSize:w,tagLineHeight:(0,c.unit)(se(I.lineHeightSM).mul(w).equal()),tagIconSize:se(le).sub(se(rt).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:I.defaultBg})},A=I=>({defaultBg:new T.FastColor(I.colorFillQuaternary).onBackground(I.colorBgContainer).toHexString(),defaultColor:I.colorText});var S=(0,R.I$)("Tag",I=>{const rt=N(I);return X(rt)},A),E=function(I,rt){var le={};for(var se in I)Object.prototype.hasOwnProperty.call(I,se)&&rt.indexOf(se)<0&&(le[se]=I[se]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,se=Object.getOwnPropertySymbols(I);w<se.length;w++)rt.indexOf(se[w])<0&&Object.prototype.propertyIsEnumerable.call(I,se[w])&&(le[se[w]]=I[se[w]]);return le},J=a.forwardRef((I,rt)=>{const{prefixCls:le,style:se,className:w,checked:k,onChange:z,onClick:C}=I,Y=E(I,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:ke,tag:pe}=a.useContext(V.E_),Ue=Fe=>{z==null||z(!k),C==null||C(Fe)},at=ke("tag",le),[ct,ce,Le]=S(at),wt=L()(at,`${at}-checkable`,{[`${at}-checkable-checked`]:k},pe==null?void 0:pe.className,w,ce,Le);return ct(a.createElement("span",Object.assign({},Y,{ref:rt,style:Object.assign(Object.assign({},se),pe==null?void 0:pe.style),className:wt,onClick:Ue})))}),te=n(93427);const $e=I=>(0,te.Z)(I,(rt,le)=>{let{textColor:se,lightBorderColor:w,lightColor:k,darkColor:z}=le;return{[`${I.componentCls}${I.componentCls}-${rt}`]:{color:se,background:k,borderColor:w,"&-inverse":{color:I.colorTextLightSolid,background:z,borderColor:z},[`&${I.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Ne=(0,R.bk)(["Tag","preset"],I=>{const rt=N(I);return $e(rt)},A);function Qe(I){return typeof I!="string"?I:I.charAt(0).toUpperCase()+I.slice(1)}const Ze=(I,rt,le)=>{const se=Qe(le);return{[`${I.componentCls}${I.componentCls}-${rt}`]:{color:I[`color${le}`],background:I[`color${se}Bg`],borderColor:I[`color${se}Border`],[`&${I.componentCls}-borderless`]:{borderColor:"transparent"}}}};var we=(0,R.bk)(["Tag","status"],I=>{const rt=N(I);return[Ze(rt,"success","Success"),Ze(rt,"processing","Info"),Ze(rt,"error","Error"),Ze(rt,"warning","Warning")]},A),xe=function(I,rt){var le={};for(var se in I)Object.prototype.hasOwnProperty.call(I,se)&&rt.indexOf(se)<0&&(le[se]=I[se]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,se=Object.getOwnPropertySymbols(I);w<se.length;w++)rt.indexOf(se[w])<0&&Object.prototype.propertyIsEnumerable.call(I,se[w])&&(le[se[w]]=I[se[w]]);return le};const ye=a.forwardRef((I,rt)=>{const{prefixCls:le,className:se,rootClassName:w,style:k,children:z,icon:C,color:Y,onClose:ke,bordered:pe=!0,visible:Ue}=I,at=xe(I,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:ct,direction:ce,tag:Le}=a.useContext(V.E_),[wt,Fe]=a.useState(!0),De=(0,Re.Z)(at,["closeIcon","closable"]);a.useEffect(()=>{Ue!==void 0&&Fe(Ue)},[Ue]);const P=(0,q.o2)(Y),_e=(0,q.yT)(Y),be=P||_e,he=Object.assign(Object.assign({backgroundColor:Y&&!be?Y:void 0},Le==null?void 0:Le.style),k),de=ct("tag",le),[me,Ie,Se]=S(de),Me=L()(de,Le==null?void 0:Le.className,{[`${de}-${Y}`]:be,[`${de}-has-color`]:Y&&!be,[`${de}-hidden`]:!wt,[`${de}-rtl`]:ce==="rtl",[`${de}-borderless`]:!pe},se,w,Ie,Se),Je=ot=>{ot.stopPropagation(),ke==null||ke(ot),!ot.defaultPrevented&&Fe(!1)},[,pt]=(0,ee.Z)((0,ee.w)(I),(0,ee.w)(Le),{closable:!1,closeIconRender:ot=>{const xt=a.createElement("span",{className:`${de}-close-icon`,onClick:Je},ot);return(0,_.wm)(ot,xt,jt=>({onClick:Ht=>{var Ct;(Ct=jt==null?void 0:jt.onClick)===null||Ct===void 0||Ct.call(jt,Ht),Je(Ht)},className:L()(jt==null?void 0:jt.className,`${de}-close-icon`)}))}}),Ot=typeof at.onClick=="function"||z&&z.type==="a",_t=C||null,Gt=_t?a.createElement(a.Fragment,null,_t,z&&a.createElement("span",null,z)):z,Pt=a.createElement("span",Object.assign({},De,{ref:rt,className:Me,style:he}),Gt,pt,P&&a.createElement(Ne,{key:"preset",prefixCls:de}),_e&&a.createElement(we,{key:"status",prefixCls:de}));return me(Ot?a.createElement(y.Z,{component:"Tag"},Pt):Pt)});ye.CheckableTag=J;var j=ye},93427:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return qe}});var a=n(34998);function qe(L,Re){return a.i.reduce((q,ee)=>{const _=L[`${ee}1`],y=L[`${ee}3`],V=L[`${ee}6`],c=L[`${ee}7`];return Object.assign(Object.assign({},q),Re(ee,{lightColor:_,lightBorderColor:y,darkColor:V,textColor:c}))},{})}},25399:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return rt}});var a=n(59301),qe=n(92310),L=n.n(qe),Re=n(29125),q=n(18929),ee=n(62487),_=n(75030),y=n(86641),V=n(52838),c=n(22703),T=n(32383),F=n(55743),G=n(57700),R=n(48755),X=n(36237),N=n(63356),A=n(34925),S=n(37645),E=n(36305),oe=n(93427),J=n(51636),te=n(16931);const $e=le=>{const{calc:se,componentCls:w,tooltipMaxWidth:k,tooltipColor:z,tooltipBg:C,tooltipBorderRadius:Y,zIndexPopup:ke,controlHeight:pe,boxShadowSecondary:Ue,paddingSM:at,paddingXS:ct,arrowOffsetHorizontal:ce,sizePopupArrow:Le}=le,wt=se(Y).add(Le).add(ce).equal(),Fe=se(Y).mul(2).add(Le).equal();return[{[w]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,N.Wf)(le)),{position:"absolute",zIndex:ke,display:"block",width:"max-content",maxWidth:k,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":C,[`${w}-inner`]:{minWidth:Fe,minHeight:pe,padding:`${(0,X.unit)(le.calc(at).div(2).equal())} ${(0,X.unit)(ct)}`,color:z,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:C,borderRadius:Y,boxShadow:Ue,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:wt},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${w}-inner`]:{borderRadius:le.min(Y,S.qN)}},[`${w}-content`]:{position:"relative"}}),(0,oe.Z)(le,(De,P)=>{let{darkColor:_e}=P;return{[`&${w}-${De}`]:{[`${w}-inner`]:{backgroundColor:_e},[`${w}-arrow`]:{"--antd-arrow-background-color":_e}}}})),{"&-rtl":{direction:"rtl"}})},(0,S.ZP)(le,"var(--antd-arrow-background-color)"),{[`${w}-pure`]:{position:"relative",maxWidth:"none",margin:le.sizePopupArrow}}]},Ne=le=>Object.assign(Object.assign({zIndexPopup:le.zIndexPopupBase+70},(0,S.wZ)({contentRadius:le.borderRadius,limitVerticalRadius:!0})),(0,E.w)((0,J.mergeToken)(le,{borderRadiusOuter:Math.min(le.borderRadiusOuter,4)})));var Qe=function(le){let se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,te.I$)("Tooltip",k=>{const{borderRadius:z,colorTextLightSolid:C,colorBgSpotlight:Y}=k,ke=(0,J.mergeToken)(k,{tooltipMaxWidth:250,tooltipColor:C,tooltipBorderRadius:z,tooltipBg:Y});return[$e(ke),(0,A._y)(k,"zoom-big-fast")]},Ne,{resetStyle:!1,injectStyle:se})(le)},Ze=n(29509);function we(le,se){const w=(0,Ze.o2)(se),k=L()({[`${le}-${se}`]:se&&w}),z={},C={};return se&&!w&&(z.background=se,C["--antd-arrow-background-color"]=se),{className:k,overlayStyle:z,arrowStyle:C}}var Q=le=>{const{prefixCls:se,className:w,placement:k="top",title:z,color:C,overlayInnerStyle:Y}=le,{getPrefixCls:ke}=a.useContext(R.E_),pe=ke("tooltip",se),[Ue,at,ct]=Qe(pe),ce=we(pe,C),Le=ce.arrowStyle,wt=Object.assign(Object.assign({},Y),ce.overlayStyle),Fe=L()(at,ct,pe,`${pe}-pure`,`${pe}-placement-${k}`,w,ce.className);return Ue(a.createElement("div",{className:Fe,style:Le},a.createElement("div",{className:`${pe}-arrow`}),a.createElement(Re.G,Object.assign({},le,{className:at,prefixCls:pe,overlayInnerStyle:wt}),z)))},ye=function(le,se){var w={};for(var k in le)Object.prototype.hasOwnProperty.call(le,k)&&se.indexOf(k)<0&&(w[k]=le[k]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,k=Object.getOwnPropertySymbols(le);z<k.length;z++)se.indexOf(k[z])<0&&Object.prototype.propertyIsEnumerable.call(le,k[z])&&(w[k[z]]=le[k[z]]);return w};const I=a.forwardRef((le,se)=>{var w,k;const{prefixCls:z,openClassName:C,getTooltipContainer:Y,color:ke,overlayInnerStyle:pe,children:Ue,afterOpenChange:at,afterVisibleChange:ct,destroyTooltipOnHide:ce,arrow:Le=!0,title:wt,overlay:Fe,builtinPlacements:De,arrowPointAtCenter:P=!1,autoAdjustOverflow:_e=!0,motion:be,getPopupContainer:he,placement:de="top",mouseEnterDelay:me=.1,mouseLeaveDelay:Ie=.1,overlayStyle:Se,rootClassName:Me,overlayClassName:Je,styles:pt,classNames:Ot}=le,_t=ye(le,["prefixCls","openClassName","getTooltipContainer","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","destroyTooltipOnHide","arrow","title","overlay","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","motion","getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),Gt=!!Le,[,Pt]=(0,G.ZP)(),{getPopupContainer:ot,getPrefixCls:xt,direction:jt,className:Ht,style:Ct,classNames:er,styles:cr}=(0,R.dj)("tooltip"),Cr=(0,T.ln)("Tooltip"),qr=a.useRef(null),Ar=()=>{var vn;(vn=qr.current)===null||vn===void 0||vn.forceAlign()};a.useImperativeHandle(se,()=>{var vn,Qn;return{forceAlign:Ar,forcePopupAlign:()=>{Cr.deprecated(!1,"forcePopupAlign","forceAlign"),Ar()},nativeElement:(vn=qr.current)===null||vn===void 0?void 0:vn.nativeElement,popupElement:(Qn=qr.current)===null||Qn===void 0?void 0:Qn.popupElement}});const[x,H]=(0,q.Z)(!1,{value:(w=le.open)!==null&&w!==void 0?w:le.visible,defaultValue:(k=le.defaultOpen)!==null&&k!==void 0?k:le.defaultVisible}),St=!wt&&!Fe&&wt!==0,ae=vn=>{var Qn,ge;H(St?!1:vn),St||((Qn=le.onOpenChange)===null||Qn===void 0||Qn.call(le,vn),(ge=le.onVisibleChange)===null||ge===void 0||ge.call(le,vn))},Be=a.useMemo(()=>{var vn,Qn;let ge=P;return typeof Le=="object"&&(ge=(Qn=(vn=Le.pointAtCenter)!==null&&vn!==void 0?vn:Le.arrowPointAtCenter)!==null&&Qn!==void 0?Qn:P),De||(0,V.Z)({arrowPointAtCenter:ge,autoAdjustOverflow:_e,arrowWidth:Gt?Pt.sizePopupArrow:0,borderRadius:Pt.borderRadius,offset:Pt.marginXXS,visibleFirst:!0})},[P,Le,De,Pt]),zr=a.useMemo(()=>wt===0?wt:Fe||wt||"",[Fe,wt]),$r=a.createElement(ee.Z,{space:!0},typeof zr=="function"?zr():zr),yn=xt("tooltip",z),Mn=xt(),Ft=le["data-popover-inject"];let Sr=x;!("open"in le)&&!("visible"in le)&&St&&(Sr=!1);const vr=a.isValidElement(Ue)&&!(0,c.M2)(Ue)?Ue:a.createElement("span",null,Ue),Lr=vr.props,h=!Lr.className||typeof Lr.className=="string"?L()(Lr.className,C||`${yn}-open`):Lr.className,[D,Ee,ne]=Qe(yn,!Ft),st=we(yn,ke),gn=st.arrowStyle,mt=L()(Je,{[`${yn}-rtl`]:jt==="rtl"},st.className,Me,Ee,ne,Ht,er.root,Ot==null?void 0:Ot.root),Zt=L()(er.body,Ot==null?void 0:Ot.body),[Ur,Pr]=(0,_.Cn)("Tooltip",_t.zIndex),Jr=a.createElement(Re.Z,Object.assign({},_t,{zIndex:Ur,showArrow:Gt,placement:de,mouseEnterDelay:me,mouseLeaveDelay:Ie,prefixCls:yn,classNames:{root:mt,body:Zt},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},gn),cr.root),Ct),Se),pt==null?void 0:pt.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},cr.body),pe),pt==null?void 0:pt.body),st.overlayStyle)},getTooltipContainer:he||Y||ot,ref:qr,builtinPlacements:Be,overlay:$r,visible:Sr,onVisibleChange:ae,afterVisibleChange:at!=null?at:ct,arrowContent:a.createElement("span",{className:`${yn}-arrow-content`}),motion:{motionName:(0,y.m)(Mn,"zoom-big-fast",le.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!ce}),Sr?(0,c.Tm)(vr,{className:h}):vr);return D(a.createElement(F.Z.Provider,{value:Pr},Jr))});I._InternalPanelDoNotUseOrYouWillBeFired=Q;var rt=I},86743:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return k}});var a=n(59301),qe=n(38470),L=n(92310),Re=n.n(L),q=n(75030),ee=n(52838),_=n(55743),y=n(48755),V=n(57700),c=n(94480),T=n(99267),F=n(99571),G=n(9017),R=n(85981);function X(z){return z!=null}var A=z=>{var C,Y;const{stepProps:ke,current:pe,type:Ue,indicatorsRender:at}=z,{prefixCls:ct,total:ce=1,title:Le,onClose:wt,onPrev:Fe,onNext:De,onFinish:P,cover:_e,description:be,nextButtonProps:he,prevButtonProps:de,type:me,closable:Ie}=ke,Se=me!=null?me:Ue,Me=a.createElement("button",{type:"button",onClick:wt,className:`${ct}-close`},(Ie==null?void 0:Ie.closeIcon)||a.createElement(T.Z,{className:`${ct}-close-icon`})),Je=pe===ce-1,pt=()=>{var Ct;Fe==null||Fe(),(Ct=de==null?void 0:de.onClick)===null||Ct===void 0||Ct.call(de)},Ot=()=>{var Ct;Je?P==null||P():De==null||De(),(Ct=he==null?void 0:he.onClick)===null||Ct===void 0||Ct.call(he)},_t=X(Le)?a.createElement("div",{className:`${ct}-header`},a.createElement("div",{className:`${ct}-title`},Le)):null,Gt=X(be)?a.createElement("div",{className:`${ct}-description`},be):null,Pt=X(_e)?a.createElement("div",{className:`${ct}-cover`},_e):null;let ot;at?ot=at(pe,ce):ot=(0,c.Z)(Array.from({length:ce}).keys()).map((Ct,er)=>a.createElement("span",{key:Ct,className:Re()(er===pe&&`${ct}-indicator-active`,`${ct}-indicator`)}));const xt=Se==="primary"?"default":"primary",jt={type:"default",ghost:Se==="primary"},[Ht]=(0,G.Z)("Tour",R.Z.Tour);return a.createElement("div",{className:`${ct}-content`},a.createElement("div",{className:`${ct}-inner`},Ie&&Me,Pt,_t,Gt,a.createElement("div",{className:`${ct}-footer`},ce>1&&a.createElement("div",{className:`${ct}-indicators`},ot),a.createElement("div",{className:`${ct}-buttons`},pe!==0?a.createElement(F.ZP,Object.assign({},jt,de,{onClick:pt,size:"small",className:Re()(`${ct}-prev-btn`,de==null?void 0:de.className)}),(C=de==null?void 0:de.children)!==null&&C!==void 0?C:Ht==null?void 0:Ht.Previous):null,a.createElement(F.ZP,Object.assign({type:xt},he,{onClick:Ot,size:"small",className:Re()(`${ct}-next-btn`,he==null?void 0:he.className)}),(Y=he==null?void 0:he.children)!==null&&Y!==void 0?Y:Je?Ht==null?void 0:Ht.Finish:Ht==null?void 0:Ht.Next)))))},S=n(78776),E=n(45915),oe=n(22703),J=n(69106),te=n(36237),$e=n(17835),Ne=n(63356),Qe=n(37645),Ze=n(36305),we=n(16931),xe=n(51636);const Q=z=>{const{componentCls:C,padding:Y,paddingXS:ke,borderRadius:pe,borderRadiusXS:Ue,colorPrimary:at,colorFill:ct,indicatorHeight:ce,indicatorWidth:Le,boxShadowTertiary:wt,zIndexPopup:Fe,colorBgElevated:De,fontWeightStrong:P,marginXS:_e,colorTextLightSolid:be,tourBorderRadius:he,colorWhite:de,primaryNextBtnHoverBg:me,closeBtnSize:Ie,motionDurationSlow:Se,antCls:Me,primaryPrevBtnBg:Je}=z;return[{[C]:Object.assign(Object.assign({},(0,Ne.Wf)(z)),{position:"absolute",zIndex:Fe,maxWidth:"fit-content",visibility:"visible",width:520,"--antd-arrow-background-color":De,"&-pure":{maxWidth:"100%",position:"relative"},[`&${C}-hidden`]:{display:"none"},[`${C}-content`]:{position:"relative"},[`${C}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:he,boxShadow:wt,position:"relative",backgroundColor:De,border:"none",backgroundClip:"padding-box",[`${C}-close`]:Object.assign({position:"absolute",top:Y,insetInlineEnd:Y,color:z.colorIcon,background:"none",border:"none",width:Ie,height:Ie,borderRadius:z.borderRadiusSM,transition:`background-color ${z.motionDurationMid}, color ${z.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer","&:hover":{color:z.colorIconHover,backgroundColor:z.colorBgTextHover},"&:active":{backgroundColor:z.colorBgTextActive}},(0,Ne.Qy)(z)),[`${C}-cover`]:{textAlign:"center",padding:`${(0,te.unit)(z.calc(Y).add(Ie).add(ke).equal())} ${(0,te.unit)(Y)} 0`,img:{width:"100%"}},[`${C}-header`]:{padding:`${(0,te.unit)(Y)} ${(0,te.unit)(Y)} ${(0,te.unit)(ke)}`,width:`calc(100% - ${(0,te.unit)(Ie)})`,wordBreak:"break-word",[`${C}-title`]:{fontWeight:P}},[`${C}-description`]:{padding:`0 ${(0,te.unit)(Y)}`,wordWrap:"break-word"},[`${C}-footer`]:{padding:`${(0,te.unit)(ke)} ${(0,te.unit)(Y)} ${(0,te.unit)(Y)}`,textAlign:"end",borderRadius:`0 0 ${(0,te.unit)(Ue)} ${(0,te.unit)(Ue)}`,display:"flex",[`${C}-indicators`]:{display:"inline-block",[`${C}-indicator`]:{width:Le,height:ce,display:"inline-block",borderRadius:"50%",background:ct,"&:not(:last-child)":{marginInlineEnd:ce},"&-active":{background:at}}},[`${C}-buttons`]:{marginInlineStart:"auto",[`${Me}-btn`]:{marginInlineStart:_e}}}},[`${C}-primary, &${C}-primary`]:{"--antd-arrow-background-color":at,[`${C}-inner`]:{color:be,textAlign:"start",textDecoration:"none",backgroundColor:at,borderRadius:pe,boxShadow:wt,[`${C}-close`]:{color:be},[`${C}-indicators`]:{[`${C}-indicator`]:{background:Je,"&-active":{background:be}}},[`${C}-prev-btn`]:{color:be,borderColor:Je,backgroundColor:at,"&:hover":{backgroundColor:Je,borderColor:"transparent"}},[`${C}-next-btn`]:{color:at,borderColor:"transparent",background:de,"&:hover":{background:me}}}}}),[`${C}-mask`]:{[`${C}-placeholder-animated`]:{transition:`all ${Se}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${C}-inner`]:{borderRadius:z.min(he,Qe.qN)}}},(0,Qe.ZP)(z,"var(--antd-arrow-background-color)")]},ye=z=>Object.assign(Object.assign({zIndexPopup:z.zIndexPopupBase+70,closeBtnSize:z.fontSize*z.lineHeight,primaryPrevBtnBg:new $e.FastColor(z.colorTextLightSolid).setA(.15).toRgbString(),primaryNextBtnHoverBg:new $e.FastColor(z.colorBgTextHover).onBackground(z.colorWhite).toRgbString()},(0,Qe.wZ)({contentRadius:z.borderRadiusLG,limitVerticalRadius:!0})),(0,Ze.w)(z));var j=(0,we.I$)("Tour",z=>{const{borderRadiusLG:C}=z,Y=(0,xe.mergeToken)(z,{indicatorWidth:6,indicatorHeight:6,tourBorderRadius:C});return[Q(Y)]},ye),I=function(z,C){var Y={};for(var ke in z)Object.prototype.hasOwnProperty.call(z,ke)&&C.indexOf(ke)<0&&(Y[ke]=z[ke]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,ke=Object.getOwnPropertySymbols(z);pe<ke.length;pe++)C.indexOf(ke[pe])<0&&Object.prototype.propertyIsEnumerable.call(z,ke[pe])&&(Y[ke[pe]]=z[ke[pe]]);return Y};const rt=z=>{const{prefixCls:C,current:Y=0,total:ke=6,className:pe,style:Ue,type:at,closable:ct,closeIcon:ce}=z,Le=I(z,["prefixCls","current","total","className","style","type","closable","closeIcon"]),{getPrefixCls:wt}=a.useContext(y.E_),Fe=wt("tour",C),[De,P,_e]=j(Fe),[be,he]=(0,S.Z)({closable:ct,closeIcon:ce},null,{closable:!0,closeIconRender:de=>a.isValidElement(de)?(0,oe.Tm)(de,{className:Re()(de.props.className,`${Fe}-close-icon`)}):de});return De(a.createElement(J.t5,{prefixCls:Fe,hashId:P,className:Re()(pe,`${Fe}-pure`,at&&`${Fe}-${at}`,_e),style:Ue},a.createElement(A,{stepProps:Object.assign(Object.assign({},Le),{prefixCls:Fe,total:ke,closable:be?{closeIcon:he}:void 0}),current:Y,type:at})))};var le=(0,E.i)(rt),se=function(z,C){var Y={};for(var ke in z)Object.prototype.hasOwnProperty.call(z,ke)&&C.indexOf(ke)<0&&(Y[ke]=z[ke]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,ke=Object.getOwnPropertySymbols(z);pe<ke.length;pe++)C.indexOf(ke[pe])<0&&Object.prototype.propertyIsEnumerable.call(z,ke[pe])&&(Y[ke[pe]]=z[ke[pe]]);return Y};const w=z=>{const{prefixCls:C,type:Y,rootClassName:ke,indicatorsRender:pe,steps:Ue,closeIcon:at}=z,ct=se(z,["prefixCls","type","rootClassName","indicatorsRender","steps","closeIcon"]),{getPrefixCls:ce,direction:Le,tour:wt}=(0,a.useContext)(y.E_),Fe=ce("tour",C),[De,P,_e]=j(Fe),[,be]=(0,V.ZP)(),he=a.useMemo(()=>Ue==null?void 0:Ue.map(Je=>{var pt;return Object.assign(Object.assign({},Je),{className:Re()(Je.className,{[`${Fe}-primary`]:((pt=Je.type)!==null&&pt!==void 0?pt:Y)==="primary"})})}),[Ue,Y]),de=Je=>{var pt;return(0,ee.Z)({arrowPointAtCenter:(pt=Je==null?void 0:Je.arrowPointAtCenter)!==null&&pt!==void 0?pt:!0,autoAdjustOverflow:!0,offset:be.marginXXS,arrowWidth:be.sizePopupArrow,borderRadius:be.borderRadius})},me=Re()({[`${Fe}-rtl`]:Le==="rtl"},P,_e,ke),Ie=(Je,pt)=>a.createElement(A,{type:Y,stepProps:Je,current:pt,indicatorsRender:pe}),[Se,Me]=(0,q.Cn)("Tour",ct.zIndex);return De(a.createElement(_.Z.Provider,{value:Me},a.createElement(qe.Z,Object.assign({},ct,{closeIcon:at!=null?at:wt==null?void 0:wt.closeIcon,zIndex:Se,rootClassName:me,prefixCls:Fe,animated:!0,renderPanel:Ie,builtinPlacements:de,steps:he}))))};w._InternalPanelDoNotUseOrYouWillBeFired=le;var k=w},69219:function(Yr,Kt,n){"use strict";n.d(Kt,{default:function(){return k}});var a=n(59301),qe=n(92310),L=n.n(qe),Re=n(9940),q=n(2738),ee=n(75030),_=n(86641),y=n(45915),V=n(82855),c=n(48755),T=n(38406),F=n(2171),G=n(83397),R=n(31756),X=n(56553),N=n(24971),A=n(1722),S=n(90376),E=n(68525),oe=n(90005),J=n(70045),te=n(57700),$e=n(85278),Ne=n(36237),Qe=n(36170),Ze=n(51636),we=n(16931),xe=n(12425);const Q=z=>{const{componentCls:C,treePrefixCls:Y,colorBgElevated:ke}=z,pe=`.${Y}`;return[{[`${C}-dropdown`]:[{padding:`${(0,Ne.unit)(z.paddingXS)} ${(0,Ne.unit)(z.calc(z.paddingXS).div(2).equal())}`},(0,xe.Yk)(Y,(0,Ze.mergeToken)(z,{colorBgContainer:ke}),!1),{[pe]:{borderRadius:0,[`${pe}-list-holder-inner`]:{alignItems:"stretch",[`${pe}-treenode`]:{[`${pe}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Qe.C2)(`${Y}-checkbox`,z),{"&-rtl":{direction:"rtl",[`${pe}-switcher${pe}-switcher_close`]:{[`${pe}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]},ye=null;function j(z,C,Y){return(0,we.I$)("TreeSelect",ke=>{const pe=(0,Ze.mergeToken)(ke,{treePrefixCls:C});return[Q(pe)]},xe.TM)(z,Y)}var I=function(z,C){var Y={};for(var ke in z)Object.prototype.hasOwnProperty.call(z,ke)&&C.indexOf(ke)<0&&(Y[ke]=z[ke]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,ke=Object.getOwnPropertySymbols(z);pe<ke.length;pe++)C.indexOf(ke[pe])<0&&Object.prototype.propertyIsEnumerable.call(z,ke[pe])&&(Y[ke[pe]]=z[ke[pe]]);return Y};const rt=(z,C)=>{var Y;const{prefixCls:ke,size:pe,disabled:Ue,bordered:at=!0,className:ct,rootClassName:ce,treeCheckable:Le,multiple:wt,listHeight:Fe=256,listItemHeight:De,placement:P,notFoundContent:_e,switcherIcon:be,treeLine:he,getPopupContainer:de,popupClassName:me,dropdownClassName:Ie,treeIcon:Se=!1,transitionName:Me,choiceTransitionName:Je="",status:pt,treeExpandAction:Ot,builtinPlacements:_t,dropdownMatchSelectWidth:Gt,popupMatchSelectWidth:Pt,allowClear:ot,variant:xt,dropdownStyle:jt,tagRender:Ht,maxCount:Ct,showCheckedStrategy:er,treeCheckStrictly:cr}=z,Cr=I(z,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender","maxCount","showCheckedStrategy","treeCheckStrictly"]),{getPopupContainer:qr,getPrefixCls:Ar,renderEmpty:x,direction:H,virtual:St,popupMatchSelectWidth:ae,popupOverflow:Be}=a.useContext(c.E_),[,zr]=(0,te.ZP)(),$r=De!=null?De:(zr==null?void 0:zr.controlHeightSM)+(zr==null?void 0:zr.paddingXXS),yn=Ar(),Mn=Ar("select",ke),Ft=Ar("select-tree",ke),Sr=Ar("tree-select",ke),{compactSize:vr,compactItemClassnames:Lr}=(0,J.ri)(Mn,H),h=(0,G.Z)(Mn),D=(0,G.Z)(Sr),[Ee,ne,st]=(0,S.Z)(Mn,h),[gn]=j(Sr,Ft,D),[mt,Zt]=(0,N.Z)("treeSelect",xt,at),Ur=L()(me||Ie,`${Sr}-dropdown`,{[`${Sr}-dropdown-rtl`]:H==="rtl"},ce,st,h,D,ne),Pr=!!(Le||wt),Jr=a.useMemo(()=>{if(!(Ct&&(er==="SHOW_ALL"&&!cr||er==="SHOW_PARENT")))return Ct},[Ct,er,cr]),vn=(0,oe.Z)(z.suffixIcon,z.showArrow),Qn=(Y=Pt!=null?Pt:Gt)!==null&&Y!==void 0?Y:ae,{status:ge,hasFeedback:fr,isFormItemInput:et,feedbackIcon:Ir}=a.useContext(X.aM),Vr=(0,V.F)(ge,pt),{suffixIcon:Sn,removeIcon:ra,clearIcon:gt}=(0,E.Z)(Object.assign(Object.assign({},Cr),{multiple:Pr,showSuffixIcon:vn,hasFeedback:fr,feedbackIcon:Ir,prefixCls:Mn,componentName:"TreeSelect"})),rr=ot===!0?{clearIcon:gt}:ot;let sr;_e!==void 0?sr=_e:sr=(x==null?void 0:x("Select"))||a.createElement(T.Z,{componentName:"Select"});const or=(0,q.Z)(Cr,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),jr=a.useMemo(()=>P!==void 0?P:H==="rtl"?"bottomRight":"bottomLeft",[P,H]),on=(0,R.Z)(On=>{var Tn;return(Tn=pe!=null?pe:vr)!==null&&Tn!==void 0?Tn:On}),Hr=a.useContext(F.Z),Dr=Ue!=null?Ue:Hr,nn=L()(!ke&&Sr,{[`${Mn}-lg`]:on==="large",[`${Mn}-sm`]:on==="small",[`${Mn}-rtl`]:H==="rtl",[`${Mn}-${mt}`]:Zt,[`${Mn}-in-form-item`]:et},(0,V.Z)(Mn,Vr,fr),Lr,ct,ce,st,h,D,ne),sn=On=>a.createElement($e.Z,{prefixCls:Ft,switcherIcon:be,treeNodeProps:On,showLine:he}),[$n]=(0,ee.Cn)("SelectLike",jt==null?void 0:jt.zIndex),Pn=a.createElement(Re.ZP,Object.assign({virtual:St,disabled:Dr},or,{dropdownMatchSelectWidth:Qn,builtinPlacements:(0,A.Z)(_t,Be),ref:C,prefixCls:Mn,className:nn,listHeight:Fe,listItemHeight:$r,treeCheckable:Le&&a.createElement("span",{className:`${Mn}-tree-checkbox-inner`}),treeLine:!!he,suffixIcon:Sn,multiple:Pr,placement:jr,removeIcon:ra,allowClear:rr,switcherIcon:sn,showTreeIcon:Se,notFoundContent:sr,getPopupContainer:de||qr,treeMotion:null,dropdownClassName:Ur,dropdownStyle:Object.assign(Object.assign({},jt),{zIndex:$n}),choiceTransitionName:(0,_.m)(yn,"",Je),transitionName:(0,_.m)(yn,"slide-up",Me),treeExpandAction:Ot,tagRender:Pr?Ht:void 0,maxCount:Jr,showCheckedStrategy:er,treeCheckStrictly:cr}));return Ee(gn(Pn))},se=a.forwardRef(rt),w=(0,y.Z)(se,"dropdownAlign",z=>(0,q.Z)(z,["visible"]));se.TreeNode=Re.OF,se.SHOW_ALL=Re.Qw,se.SHOW_PARENT=Re.hT,se.SHOW_CHILD=Re.FJ,se._InternalPanelDoNotUseOrYouWillBeFired=w;var k=se},18287:function(Yr,Kt,n){"use strict";n.d(Kt,{default:function(){return ke}});var a=n(3741),qe=n(94480),L=n(59301),Re=n(52671),q=n(8657),ee=n(54476),_={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"},y=_,V=n(7657),c=function(Ue,at){return L.createElement(V.Z,(0,ee.Z)({},Ue,{ref:at,icon:y}))},T=L.forwardRef(c),F=T,G=n(92310),R=n.n(G),X=n(82661),N=n(34061),A=n(48755),S=n(56082),E=n(86641),oe=n(57700),J=n(12425);const te=4;function $e(pe){const{dropPosition:Ue,dropLevelOffset:at,prefixCls:ct,indent:ce,direction:Le="ltr"}=pe,wt=Le==="ltr"?"left":"right",Fe=Le==="ltr"?"right":"left",De={[wt]:-at*ce+te,[Fe]:0};switch(Ue){case-1:De.top=-3;break;case 1:De.bottom=-3;break;default:De.bottom=-3,De[wt]=ce+te;break}return L.createElement("div",{style:De,className:`${ct}-drop-indicator`})}var Ne=$e,Qe=n(85278),we=L.forwardRef((pe,Ue)=>{var at;const{getPrefixCls:ct,direction:ce,virtual:Le,tree:wt}=L.useContext(A.E_),{prefixCls:Fe,className:De,showIcon:P=!1,showLine:_e,switcherIcon:be,switcherLoadingIcon:he,blockNode:de=!1,children:me,checkable:Ie=!1,selectable:Se=!0,draggable:Me,motion:Je,style:pt}=pe,Ot=ct("tree",Fe),_t=ct(),Gt=Je!=null?Je:Object.assign(Object.assign({},(0,E.Z)(_t)),{motionAppear:!1}),Pt=Object.assign(Object.assign({},pe),{checkable:Ie,selectable:Se,showIcon:P,motion:Gt,blockNode:de,showLine:!!_e,dropIndicatorRender:Ne}),[ot,xt,jt]=(0,J.ZP)(Ot),[,Ht]=(0,oe.ZP)(),Ct=Ht.paddingXS/2+(((at=Ht.Tree)===null||at===void 0?void 0:at.titleHeight)||Ht.controlHeightSM),er=L.useMemo(()=>{if(!Me)return!1;let Cr={};switch(typeof Me){case"function":Cr.nodeDraggable=Me;break;case"object":Cr=Object.assign({},Me);break;default:break}return Cr.icon!==!1&&(Cr.icon=Cr.icon||L.createElement(S.Z,null)),Cr},[Me]),cr=Cr=>L.createElement(Qe.Z,{prefixCls:Ot,switcherIcon:be,switcherLoadingIcon:he,treeNodeProps:Cr,showLine:_e});return ot(L.createElement(a.ZP,Object.assign({itemHeight:Ct,ref:Ue,virtual:Le},Pt,{style:Object.assign(Object.assign({},wt==null?void 0:wt.style),pt),prefixCls:Ot,className:R()({[`${Ot}-icon-hide`]:!P,[`${Ot}-block-node`]:de,[`${Ot}-unselectable`]:!Se,[`${Ot}-rtl`]:ce==="rtl"},wt==null?void 0:wt.className,De,xt,jt),direction:ce,checkable:Ie&&L.createElement("span",{className:`${Ot}-checkbox-inner`}),selectable:Se,switcherIcon:cr,draggable:er}),me))});const xe=0,Q=1,ye=2;function j(pe,Ue,at){const{key:ct,children:ce}=at;function Le(wt){const Fe=wt[ct],De=wt[ce];Ue(Fe,wt)!==!1&&j(De||[],Ue,at)}pe.forEach(Le)}function I(pe){let{treeData:Ue,expandedKeys:at,startKey:ct,endKey:ce,fieldNames:Le}=pe;const wt=[];let Fe=xe;if(ct&&ct===ce)return[ct];if(!ct||!ce)return[];function De(P){return P===ct||P===ce}return j(Ue,P=>{if(Fe===ye)return!1;if(De(P)){if(wt.push(P),Fe===xe)Fe=Q;else if(Fe===Q)return Fe=ye,!1}else Fe===Q&&wt.push(P);return at.includes(P)},(0,N.w$)(Le)),wt}function rt(pe,Ue,at){const ct=(0,qe.Z)(Ue),ce=[];return j(pe,(Le,wt)=>{const Fe=ct.indexOf(Le);return Fe!==-1&&(ce.push(wt),ct.splice(Fe,1)),!!ct.length},(0,N.w$)(at)),ce}var le=function(pe,Ue){var at={};for(var ct in pe)Object.prototype.hasOwnProperty.call(pe,ct)&&Ue.indexOf(ct)<0&&(at[ct]=pe[ct]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ce=0,ct=Object.getOwnPropertySymbols(pe);ce<ct.length;ce++)Ue.indexOf(ct[ce])<0&&Object.prototype.propertyIsEnumerable.call(pe,ct[ce])&&(at[ct[ce]]=pe[ct[ce]]);return at};function se(pe){const{isLeaf:Ue,expanded:at}=pe;return Ue?L.createElement(Re.Z,null):at?L.createElement(q.Z,null):L.createElement(F,null)}function w(pe){let{treeData:Ue,children:at}=pe;return Ue||(0,N.zn)(at)}const k=(pe,Ue)=>{var{defaultExpandAll:at,defaultExpandParent:ct,defaultExpandedKeys:ce}=pe,Le=le(pe,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const wt=L.useRef(null),Fe=L.useRef(null),De=()=>{const{keyEntities:ot}=(0,N.I8)(w(Le));let xt;return at?xt=Object.keys(ot):ct?xt=(0,X.r7)(Le.expandedKeys||ce||[],ot):xt=Le.expandedKeys||ce||[],xt},[P,_e]=L.useState(Le.selectedKeys||Le.defaultSelectedKeys||[]),[be,he]=L.useState(()=>De());L.useEffect(()=>{"selectedKeys"in Le&&_e(Le.selectedKeys)},[Le.selectedKeys]),L.useEffect(()=>{"expandedKeys"in Le&&he(Le.expandedKeys)},[Le.expandedKeys]);const de=(ot,xt)=>{var jt;return"expandedKeys"in Le||he(ot),(jt=Le.onExpand)===null||jt===void 0?void 0:jt.call(Le,ot,xt)},me=(ot,xt)=>{var jt;const{multiple:Ht,fieldNames:Ct}=Le,{node:er,nativeEvent:cr}=xt,{key:Cr=""}=er,qr=w(Le),Ar=Object.assign(Object.assign({},xt),{selected:!0}),x=(cr==null?void 0:cr.ctrlKey)||(cr==null?void 0:cr.metaKey),H=cr==null?void 0:cr.shiftKey;let St;Ht&&x?(St=ot,wt.current=Cr,Fe.current=St,Ar.selectedNodes=rt(qr,St,Ct)):Ht&&H?(St=Array.from(new Set([].concat((0,qe.Z)(Fe.current||[]),(0,qe.Z)(I({treeData:qr,expandedKeys:be,startKey:Cr,endKey:wt.current,fieldNames:Ct}))))),Ar.selectedNodes=rt(qr,St,Ct)):(St=[Cr],wt.current=Cr,Fe.current=St,Ar.selectedNodes=rt(qr,St,Ct)),(jt=Le.onSelect)===null||jt===void 0||jt.call(Le,St,Ar),"selectedKeys"in Le||_e(St)},{getPrefixCls:Ie,direction:Se}=L.useContext(A.E_),{prefixCls:Me,className:Je,showIcon:pt=!0,expandAction:Ot="click"}=Le,_t=le(Le,["prefixCls","className","showIcon","expandAction"]),Gt=Ie("tree",Me),Pt=R()(`${Gt}-directory`,{[`${Gt}-directory-rtl`]:Se==="rtl"},Je);return L.createElement(we,Object.assign({icon:se,ref:Ue,blockNode:!0},_t,{showIcon:pt,expandAction:Ot,prefixCls:Gt,className:Pt,expandedKeys:be,selectedKeys:P,onSelect:me,onExpand:de}))};var C=L.forwardRef(k);const Y=we;Y.DirectoryTree=C,Y.TreeNode=a.OF;var ke=Y},12425:function(Yr,Kt,n){"use strict";n.d(Kt,{ZP:function(){return X},Yk:function(){return F},TM:function(){return G}});var a=n(36237),qe=n(36170),L=n(63356),Re=n(34961),q=n(51636),ee=n(16931);const _=N=>{let{treeCls:A,treeNodeCls:S,directoryNodeSelectedBg:E,directoryNodeSelectedColor:oe,motionDurationMid:J,borderRadius:te,controlItemBgHover:$e}=N;return{[`${A}${A}-directory ${S}`]:{[`${A}-node-content-wrapper`]:{position:"static",[`> *:not(${A}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${J}`,content:'""',borderRadius:te},"&:hover:before":{background:$e}},[`${A}-switcher, ${A}-checkbox, ${A}-draggable-icon`]:{zIndex:1},"&-selected":{[`${A}-switcher, ${A}-draggable-icon`]:{color:oe},[`${A}-node-content-wrapper`]:{color:oe,background:"transparent","&:before, &:hover:before":{background:E}}}}}},y=new a.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),V=(N,A)=>({[`.${N}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${A.motionDurationSlow}`}}}),c=(N,A)=>({[`.${N}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:A.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,a.unit)(A.lineWidthBold)} solid ${A.colorPrimary}`,borderRadius:"50%",content:'""'}}}),T=(N,A)=>{const{treeCls:S,treeNodeCls:E,treeNodePadding:oe,titleHeight:J,indentSize:te,nodeSelectedBg:$e,nodeHoverBg:Ne,colorTextQuaternary:Qe,controlItemBgActiveDisabled:Ze}=A;return{[S]:Object.assign(Object.assign({},(0,L.Wf)(A)),{background:A.colorBgContainer,borderRadius:A.borderRadius,transition:`background-color ${A.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${S}-rtl ${S}-switcher_close ${S}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${S}-active-focused)`]:Object.assign({},(0,L.oN)(A)),[`${S}-list-holder-inner`]:{alignItems:"flex-start"},[`&${S}-block-node`]:{[`${S}-list-holder-inner`]:{alignItems:"stretch",[`${S}-node-content-wrapper`]:{flex:"auto"},[`${E}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${A.colorPrimary}`,opacity:0,animationName:y,animationDuration:A.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:A.borderRadius}}},[E]:{display:"flex",alignItems:"flex-start",marginBottom:oe,lineHeight:(0,a.unit)(J),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:oe},[`&-disabled ${S}-node-content-wrapper`]:{color:A.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${S}-checkbox-disabled + ${S}-node-selected,&${E}-disabled${E}-selected ${S}-node-content-wrapper`]:{backgroundColor:Ze},[`${S}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${E}-disabled)`]:{[`${S}-node-content-wrapper`]:{"&:hover":{color:A.nodeHoverColor}}},[`&-active ${S}-node-content-wrapper`]:{background:A.controlItemBgHover},[`&:not(${E}-disabled).filter-node ${S}-title`]:{color:A.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${S}-draggable-icon`]:{flexShrink:0,width:J,textAlign:"center",visibility:"visible",color:Qe},[`&${E}-disabled ${S}-draggable-icon`]:{visibility:"hidden"}}},[`${S}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:te}},[`${S}-draggable-icon`]:{visibility:"hidden"},[`${S}-switcher, ${S}-checkbox`]:{marginInlineEnd:A.calc(A.calc(J).sub(A.controlInteractiveSize)).div(2).equal()},[`${S}-switcher`]:Object.assign(Object.assign({},V(N,A)),{position:"relative",flex:"none",alignSelf:"stretch",width:J,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${A.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:J,height:J,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:A.borderRadius,transition:`all ${A.motionDurationSlow}`},[`&:not(${S}-switcher-noop):hover:before`]:{backgroundColor:A.colorBgTextHover},[`&_close ${S}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:A.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:A.calc(J).div(2).equal(),bottom:A.calc(oe).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${A.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:A.calc(A.calc(J).div(2).equal()).mul(.8).equal(),height:A.calc(J).div(2).equal(),borderBottom:`1px solid ${A.colorBorder}`,content:'""'}}}),[`${S}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:J,paddingBlock:0,paddingInline:A.paddingXS,background:"transparent",borderRadius:A.borderRadius,cursor:"pointer",transition:`all ${A.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},c(N,A)),{"&:hover":{backgroundColor:Ne},[`&${S}-node-selected`]:{color:A.nodeSelectedColor,backgroundColor:$e},[`${S}-iconEle`]:{display:"inline-block",width:J,height:J,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${S}-unselectable ${S}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${E}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${A.colorPrimary}`},"&-show-line":{[`${S}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:A.calc(J).div(2).equal(),bottom:A.calc(oe).mul(-1).equal(),borderInlineEnd:`1px solid ${A.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${S}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${E}-leaf-last ${S}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,a.unit)(A.calc(J).div(2).equal())} !important`}})}},F=function(N,A){let S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const E=`.${N}`,oe=`${E}-treenode`,J=A.calc(A.paddingXS).div(2).equal(),te=(0,q.mergeToken)(A,{treeCls:E,treeNodeCls:oe,treeNodePadding:J});return[T(N,te),S&&_(te)].filter(Boolean)},G=N=>{const{controlHeightSM:A,controlItemBgHover:S,controlItemBgActive:E}=N,oe=A;return{titleHeight:oe,indentSize:oe,nodeHoverBg:S,nodeHoverColor:N.colorText,nodeSelectedBg:E,nodeSelectedColor:N.colorText}},R=N=>{const{colorTextLightSolid:A,colorPrimary:S}=N;return Object.assign(Object.assign({},G(N)),{directoryNodeSelectedColor:A,directoryNodeSelectedBg:S})};var X=(0,ee.I$)("Tree",(N,A)=>{let{prefixCls:S}=A;return[{[N.componentCls]:(0,qe.C2)(`${S}-checkbox`,N)},F(S,N),(0,Re.Z)(N)]},R)},85278:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return A}});var a=n(59301),qe=n(54476),L={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"},Re=L,q=n(7657),ee=function(E,oe){return a.createElement(q.Z,(0,qe.Z)({},E,{ref:oe,icon:Re}))},_=a.forwardRef(ee),y=_,V=n(52671),c=n(58617),T=n(15075),F=n(43531),G=n(92310),R=n.n(G),X=n(22703),A=S=>{const{prefixCls:E,switcherIcon:oe,treeNodeProps:J,showLine:te,switcherLoadingIcon:$e}=S,{isLeaf:Ne,expanded:Qe,loading:Ze}=J;if(Ze)return a.isValidElement($e)?$e:a.createElement(c.Z,{className:`${E}-switcher-loading-icon`});let we;if(te&&typeof te=="object"&&(we=te.showLeafIcon),Ne){if(!te)return null;if(typeof we!="boolean"&&we){const ye=typeof we=="function"?we(J):we,j=`${E}-switcher-line-custom-icon`;return a.isValidElement(ye)?(0,X.Tm)(ye,{className:R()(ye.props.className||"",j)}):ye}return we?a.createElement(V.Z,{className:`${E}-switcher-line-icon`}):a.createElement("span",{className:`${E}-switcher-leaf-line`})}const xe=`${E}-switcher-icon`,Q=typeof oe=="function"?oe(J):oe;return a.isValidElement(Q)?(0,X.Tm)(Q,{className:R()(Q.props.className||"",xe)}):Q!==void 0?Q:te?Qe?a.createElement(T.Z,{className:`${E}-switcher-line-icon`}):a.createElement(F.Z,{className:`${E}-switcher-line-icon`}):a.createElement(y,{className:xe})}},530:function(Yr,Kt,n){"use strict";n.d(Kt,{default:function(){return Qn}});var a=n(59301),qe=n(54476),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},Re=L,q=n(7657),ee=function(fr,et){return a.createElement(q.Z,(0,qe.Z)({},fr,{ref:et,icon:Re}))},_=a.forwardRef(ee),y=_,V=n(92310),c=n.n(V),T=n(29301),F=n(11592),G=n(34280),R=n(18929),X=n(2738),N=n(8654),A=n(24514),S=n(48755),E=n(9017),oe=n(25399),J={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},te=J,$e=function(fr,et){return a.createElement(q.Z,(0,qe.Z)({},fr,{ref:et,icon:te}))},Ne=a.forwardRef($e),Qe=Ne,Ze=n(10228),we=n(22703),xe=n(79809),Q=n(63356),ye=n(16931),j=n(68361),I=n(36237);const rt=(ge,fr,et,Ir)=>{const{titleMarginBottom:Vr,fontWeightStrong:Sn}=Ir;return{marginBottom:Vr,color:et,fontWeight:Sn,fontSize:ge,lineHeight:fr}},le=ge=>{const fr=[1,2,3,4,5],et={};return fr.forEach(Ir=>{et[`
h${Ir}&,
div&-h${Ir},
div&-h${Ir} > textarea,
h${Ir}
`]=rt(ge[`fontSizeHeading${Ir}`],ge[`lineHeightHeading${Ir}`],ge.colorTextHeading,ge)}),et},se=ge=>{const{componentCls:fr}=ge;return{"a&, a":Object.assign(Object.assign({},(0,Q.Nd)(ge)),{userSelect:"text",[`&[disabled], &${fr}-disabled`]:{color:ge.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:ge.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},w=ge=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:ge.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:ge.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:j.gold[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:ge.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),k=ge=>{const{componentCls:fr,paddingSM:et}=ge,Ir=et;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:ge.calc(ge.paddingSM).mul(-1).equal(),marginTop:ge.calc(Ir).mul(-1).equal(),marginBottom:`calc(1em - ${(0,I.unit)(Ir)})`},[`${fr}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:ge.calc(ge.marginXS).add(2).equal(),insetBlockEnd:ge.marginXS,color:ge.colorTextDescription,fontWeight:"normal",fontSize:ge.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},z=ge=>({[`${ge.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:ge.colorSuccess}},[`${ge.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),C=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),Y=ge=>{const{componentCls:fr,titleMarginTop:et}=ge;return{[fr]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:ge.colorText,wordBreak:"break-word",lineHeight:ge.lineHeight,[`&${fr}-secondary`]:{color:ge.colorTextDescription},[`&${fr}-success`]:{color:ge.colorSuccessText},[`&${fr}-warning`]:{color:ge.colorWarningText},[`&${fr}-danger`]:{color:ge.colorErrorText,"a&:active, a&:focus":{color:ge.colorErrorTextActive},"a&:hover":{color:ge.colorErrorTextHover}},[`&${fr}-disabled`]:{color:ge.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},le(ge)),{[`
& + h1${fr},
& + h2${fr},
& + h3${fr},
& + h4${fr},
& + h5${fr}
`]:{marginTop:et},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:et}}}),w(ge)),se(ge)),{[`
${fr}-expand,
${fr}-collapse,
${fr}-edit,
${fr}-copy
`]:Object.assign(Object.assign({},(0,Q.Nd)(ge)),{marginInlineStart:ge.marginXXS})}),k(ge)),z(ge)),C()),{"&-rtl":{direction:"rtl"}})}},ke=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"});var pe=(0,ye.I$)("Typography",ge=>[Y(ge)],ke),at=ge=>{const{prefixCls:fr,"aria-label":et,className:Ir,style:Vr,direction:Sn,maxLength:ra,autoSize:gt=!0,value:rr,onSave:sr,onCancel:or,onEnd:jr,component:on,enterIcon:Hr=a.createElement(Qe,null)}=ge,Dr=a.useRef(null),nn=a.useRef(!1),sn=a.useRef(null),[$n,Pn]=a.useState(rr);a.useEffect(()=>{Pn(rr)},[rr]),a.useEffect(()=>{var ea;if(!((ea=Dr.current)===null||ea===void 0)&&ea.resizableTextArea){const{textArea:zn}=Dr.current.resizableTextArea;zn.focus();const{length:xn}=zn.value;zn.setSelectionRange(xn,xn)}},[]);const On=ea=>{let{target:zn}=ea;Pn(zn.value.replace(/[\n\r]/g,""))},Tn=()=>{nn.current=!0},na=()=>{nn.current=!1},tn=ea=>{let{keyCode:zn}=ea;nn.current||(sn.current=zn)},An=()=>{sr($n.trim())},qn=ea=>{let{keyCode:zn,ctrlKey:xn,altKey:Xn,metaKey:Ca,shiftKey:Fa}=ea;sn.current!==zn||nn.current||xn||Xn||Ca||Fa||(zn===Ze.Z.ENTER?(An(),jr==null||jr()):zn===Ze.Z.ESC&&or())},da=()=>{An()},[Ln,aa,Kn]=pe(fr),Zn=c()(fr,`${fr}-edit-content`,{[`${fr}-rtl`]:Sn==="rtl",[`${fr}-${on}`]:!!on},Ir,aa,Kn);return Ln(a.createElement("div",{className:Zn,style:Vr},a.createElement(xe.Z,{ref:Dr,maxLength:ra,value:$n,onChange:On,onKeyDown:tn,onKeyUp:qn,onCompositionStart:Tn,onCompositionEnd:na,onBlur:da,"aria-label":et,rows:1,autoSize:gt}),Hr!==null?(0,we.Tm)(Hr,{className:`${fr}-edit-content-confirm`}):null))},ct=n(25769),ce=n.n(ct),Le=n(6089),Fe=function(ge){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&ge==null?[]:Array.isArray(ge)?ge:[ge]},De=function(ge,fr,et,Ir){function Vr(Sn){return Sn instanceof et?Sn:new et(function(ra){ra(Sn)})}return new(et||(et=Promise))(function(Sn,ra){function gt(or){try{sr(Ir.next(or))}catch(jr){ra(jr)}}function rr(or){try{sr(Ir.throw(or))}catch(jr){ra(jr)}}function sr(or){or.done?Sn(or.value):Vr(or.value).then(gt,rr)}sr((Ir=Ir.apply(ge,fr||[])).next())})},_e=ge=>{let{copyConfig:fr,children:et}=ge;const[Ir,Vr]=a.useState(!1),[Sn,ra]=a.useState(!1),gt=a.useRef(null),rr=()=>{gt.current&&clearTimeout(gt.current)},sr={};fr.format&&(sr.format=fr.format),a.useEffect(()=>rr,[]);const or=(0,Le.Z)(jr=>De(void 0,void 0,void 0,function*(){var on;jr==null||jr.preventDefault(),jr==null||jr.stopPropagation(),ra(!0);try{const Hr=typeof fr.text=="function"?yield fr.text():fr.text;ce()(Hr||Fe(et,!0).join("")||"",sr),ra(!1),Vr(!0),rr(),gt.current=setTimeout(()=>{Vr(!1)},3e3),(on=fr.onCopy)===null||on===void 0||on.call(fr,jr)}catch(Hr){throw ra(!1),Hr}}));return{copied:Ir,copyLoading:Sn,onClick:or}};function be(ge,fr){return a.useMemo(()=>{const et=!!ge;return[et,Object.assign(Object.assign({},fr),et&&typeof ge=="object"?ge:null)]},[ge])}var de=ge=>{const fr=(0,a.useRef)(void 0);return(0,a.useEffect)(()=>{fr.current=ge}),fr.current},Ie=(ge,fr,et)=>(0,a.useMemo)(()=>ge===!0?{title:fr!=null?fr:et}:(0,a.isValidElement)(ge)?{title:ge}:typeof ge=="object"?Object.assign({title:fr!=null?fr:et},ge):{title:ge},[ge,fr,et]),Se=function(ge,fr){var et={};for(var Ir in ge)Object.prototype.hasOwnProperty.call(ge,Ir)&&fr.indexOf(Ir)<0&&(et[Ir]=ge[Ir]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vr=0,Ir=Object.getOwnPropertySymbols(ge);Vr<Ir.length;Vr++)fr.indexOf(Ir[Vr])<0&&Object.prototype.propertyIsEnumerable.call(ge,Ir[Vr])&&(et[Ir[Vr]]=ge[Ir[Vr]]);return et},Je=a.forwardRef((ge,fr)=>{const{prefixCls:et,component:Ir="article",className:Vr,rootClassName:Sn,setContentRef:ra,children:gt,direction:rr,style:sr}=ge,or=Se(ge,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:jr,direction:on,className:Hr,style:Dr}=(0,S.dj)("typography"),nn=rr!=null?rr:on,sn=ra?(0,N.sQ)(fr,ra):fr,$n=jr("typography",et),[Pn,On,Tn]=pe($n),na=c()($n,Hr,{[`${$n}-rtl`]:nn==="rtl"},Vr,Sn,On,Tn),tn=Object.assign(Object.assign({},Dr),sr);return Pn(a.createElement(Ir,Object.assign({className:na,style:tn,ref:sn},or),gt))}),pt=n(40001),Ot=n(81953),_t=n(58617);function Gt(ge){return ge===!1?[!1,!1]:Array.isArray(ge)?ge:[ge]}function Pt(ge,fr,et){return ge===!0||ge===void 0?fr:ge||et&&fr}function ot(ge){const fr=document.createElement("em");ge.appendChild(fr);const et=ge.getBoundingClientRect(),Ir=fr.getBoundingClientRect();return ge.removeChild(fr),et.left>Ir.left||Ir.right>et.right||et.top>Ir.top||Ir.bottom>et.bottom}const xt=ge=>["string","number"].includes(typeof ge);var Ht=ge=>{let{prefixCls:fr,copied:et,locale:Ir,iconOnly:Vr,tooltips:Sn,icon:ra,tabIndex:gt,onCopy:rr,loading:sr}=ge;const or=Gt(Sn),jr=Gt(ra),{copied:on,copy:Hr}=Ir!=null?Ir:{},Dr=et?on:Hr,nn=Pt(or[et?1:0],Dr),sn=typeof nn=="string"?nn:Dr;return a.createElement(oe.Z,{title:nn},a.createElement("button",{type:"button",className:c()(`${fr}-copy`,{[`${fr}-copy-success`]:et,[`${fr}-copy-icon-only`]:Vr}),onClick:rr,"aria-label":sn,tabIndex:gt},et?Pt(jr[1],a.createElement(pt.Z,null),!0):Pt(jr[0],sr?a.createElement(_t.Z,null):a.createElement(Ot.Z,null),!0)))},Ct=n(94480);const er=a.forwardRef((ge,fr)=>{let{style:et,children:Ir}=ge;const Vr=a.useRef(null);return a.useImperativeHandle(fr,()=>({isExceed:()=>{const Sn=Vr.current;return Sn.scrollHeight>Sn.clientHeight},getHeight:()=>Vr.current.clientHeight})),a.createElement("span",{"aria-hidden":!0,ref:Vr,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},et)},Ir)}),cr=ge=>ge.reduce((fr,et)=>fr+(xt(et)?String(et).length:1),0);function Cr(ge,fr){let et=0;const Ir=[];for(let Vr=0;Vr<ge.length;Vr+=1){if(et===fr)return Ir;const Sn=ge[Vr],gt=xt(Sn)?String(Sn).length:1,rr=et+gt;if(rr>fr){const sr=fr-et;return Ir.push(String(Sn).slice(0,sr)),Ir}Ir.push(Sn),et=rr}return ge}const qr=0,Ar=1,x=2,H=3,St=4,ae={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function Be(ge){const{enableMeasure:fr,width:et,text:Ir,children:Vr,rows:Sn,expanded:ra,miscDeps:gt,onEllipsis:rr}=ge,sr=a.useMemo(()=>(0,F.Z)(Ir),[Ir]),or=a.useMemo(()=>cr(sr),[Ir]),jr=a.useMemo(()=>Vr(sr,!1),[Ir]),[on,Hr]=a.useState(null),Dr=a.useRef(null),nn=a.useRef(null),sn=a.useRef(null),$n=a.useRef(null),Pn=a.useRef(null),[On,Tn]=a.useState(!1),[na,tn]=a.useState(qr),[An,qn]=a.useState(0),[da,Ln]=a.useState(null);(0,G.Z)(()=>{tn(fr&&et&&or?Ar:qr)},[et,Ir,Sn,fr,sr]),(0,G.Z)(()=>{var ea,zn,xn,Xn;if(na===Ar){tn(x);const Ca=nn.current&&getComputedStyle(nn.current).whiteSpace;Ln(Ca)}else if(na===x){const Ca=!!(!((ea=sn.current)===null||ea===void 0)&&ea.isExceed());tn(Ca?H:St),Hr(Ca?[0,or]:null),Tn(Ca);const Fa=((zn=sn.current)===null||zn===void 0?void 0:zn.getHeight())||0,ao=Sn===1?0:((xn=$n.current)===null||xn===void 0?void 0:xn.getHeight())||0,oo=((Xn=Pn.current)===null||Xn===void 0?void 0:Xn.getHeight())||0,uo=Math.max(Fa,ao+oo);qn(uo+1),rr(Ca)}},[na]);const aa=on?Math.ceil((on[0]+on[1])/2):0;(0,G.Z)(()=>{var ea;const[zn,xn]=on||[0,0];if(zn!==xn){const Ca=(((ea=Dr.current)===null||ea===void 0?void 0:ea.getHeight())||0)>An;let Fa=aa;xn-zn===1&&(Fa=Ca?zn:xn),Hr(Ca?[zn,Fa]:[Fa,xn])}},[on,aa]);const Kn=a.useMemo(()=>{if(!fr)return Vr(sr,!1);if(na!==H||!on||on[0]!==on[1]){const ea=Vr(sr,!1);return[St,qr].includes(na)?ea:a.createElement("span",{style:Object.assign(Object.assign({},ae),{WebkitLineClamp:Sn})},ea)}return Vr(ra?sr:Cr(sr,on[0]),On)},[ra,na,on,sr].concat((0,Ct.Z)(gt))),Zn={width:et,margin:0,padding:0,whiteSpace:da==="nowrap"?"normal":"inherit"};return a.createElement(a.Fragment,null,Kn,na===x&&a.createElement(a.Fragment,null,a.createElement(er,{style:Object.assign(Object.assign(Object.assign({},Zn),ae),{WebkitLineClamp:Sn}),ref:sn},jr),a.createElement(er,{style:Object.assign(Object.assign(Object.assign({},Zn),ae),{WebkitLineClamp:Sn-1}),ref:$n},jr),a.createElement(er,{style:Object.assign(Object.assign(Object.assign({},Zn),ae),{WebkitLineClamp:1}),ref:Pn},Vr([],!0))),na===H&&on&&on[0]!==on[1]&&a.createElement(er,{style:Object.assign(Object.assign({},Zn),{top:400}),ref:Dr},Vr(Cr(sr,aa),!0)),na===Ar&&a.createElement("span",{style:{whiteSpace:"inherit"},ref:nn}))}var $r=ge=>{let{enableEllipsis:fr,isEllipsis:et,children:Ir,tooltipProps:Vr}=ge;return!(Vr!=null&&Vr.title)||!fr?Ir:a.createElement(oe.Z,Object.assign({open:et?void 0:!1},Vr),Ir)},yn=function(ge,fr){var et={};for(var Ir in ge)Object.prototype.hasOwnProperty.call(ge,Ir)&&fr.indexOf(Ir)<0&&(et[Ir]=ge[Ir]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vr=0,Ir=Object.getOwnPropertySymbols(ge);Vr<Ir.length;Vr++)fr.indexOf(Ir[Vr])<0&&Object.prototype.propertyIsEnumerable.call(ge,Ir[Vr])&&(et[Ir[Vr]]=ge[Ir[Vr]]);return et};function Mn(ge,fr){let{mark:et,code:Ir,underline:Vr,delete:Sn,strong:ra,keyboard:gt,italic:rr}=ge,sr=fr;function or(jr,on){on&&(sr=a.createElement(jr,{},sr))}return or("strong",ra),or("u",Vr),or("del",Sn),or("code",Ir),or("mark",et),or("kbd",gt),or("i",rr),sr}const Ft="...";var vr=a.forwardRef((ge,fr)=>{var et;const{prefixCls:Ir,className:Vr,style:Sn,type:ra,disabled:gt,children:rr,ellipsis:sr,editable:or,copyable:jr,component:on,title:Hr}=ge,Dr=yn(ge,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:nn,direction:sn}=a.useContext(S.E_),[$n]=(0,E.Z)("Text"),Pn=a.useRef(null),On=a.useRef(null),Tn=nn("typography",Ir),na=(0,X.Z)(Dr,["mark","code","delete","underline","strong","keyboard","italic"]),[tn,An]=be(or),[qn,da]=(0,R.Z)(!1,{value:An.editing}),{triggerType:Ln=["icon"]}=An,aa=Jt=>{var Tt;Jt&&((Tt=An.onStart)===null||Tt===void 0||Tt.call(An)),da(Jt)},Kn=de(qn);(0,G.Z)(()=>{var Jt;!qn&&Kn&&((Jt=On.current)===null||Jt===void 0||Jt.focus())},[qn]);const Zn=Jt=>{Jt==null||Jt.preventDefault(),aa(!0)},ea=Jt=>{var Tt;(Tt=An.onChange)===null||Tt===void 0||Tt.call(An,Jt),aa(!1)},zn=()=>{var Jt;(Jt=An.onCancel)===null||Jt===void 0||Jt.call(An),aa(!1)},[xn,Xn]=be(jr),{copied:Ca,copyLoading:Fa,onClick:ao}=_e({copyConfig:Xn,children:rr}),[oo,uo]=a.useState(!1),[f,s]=a.useState(!1),[p,b]=a.useState(!1),[$,v]=a.useState(!1),[B,U]=a.useState(!0),[re,Ae]=be(sr,{expandable:!1,symbol:Jt=>Jt?$n==null?void 0:$n.collapse:$n==null?void 0:$n.expand}),[lt,It]=(0,R.Z)(Ae.defaultExpanded||!1,{value:Ae.expanded}),Et=re&&(!lt||Ae.expandable==="collapsible"),{rows:ve=1}=Ae,kt=a.useMemo(()=>Et&&(Ae.suffix!==void 0||Ae.onEllipsis||Ae.expandable||tn||xn),[Et,Ae,tn,xn]);(0,G.Z)(()=>{re&&!kt&&(uo((0,A.G)("webkitLineClamp")),s((0,A.G)("textOverflow")))},[kt,re]);const[Ge,Vt]=a.useState(Et),vt=a.useMemo(()=>kt?!1:ve===1?f:oo,[kt,f,oo]);(0,G.Z)(()=>{Vt(vt&&Et)},[vt,Et]);const nr=Et&&(Ge?$:p),xr=Et&&ve===1&&Ge,Qt=Et&&ve>1&&Ge,nt=(Jt,Tt)=>{var ir;It(Tt.expanded),(ir=Ae.onExpand)===null||ir===void 0||ir.call(Ae,Jt,Tt)},[Ce,Ut]=a.useState(0),Nt=Jt=>{let{offsetWidth:Tt}=Jt;Ut(Tt)},$t=Jt=>{var Tt;b(Jt),p!==Jt&&((Tt=Ae.onEllipsis)===null||Tt===void 0||Tt.call(Ae,Jt))};a.useEffect(()=>{const Jt=Pn.current;if(re&&Ge&&Jt){const Tt=ot(Jt);$!==Tt&&v(Tt)}},[re,Ge,rr,Qt,B,Ce]),a.useEffect(()=>{const Jt=Pn.current;if(typeof IntersectionObserver=="undefined"||!Jt||!Ge||!Et)return;const Tt=new IntersectionObserver(()=>{U(!!Jt.offsetParent)});return Tt.observe(Jt),()=>{Tt.disconnect()}},[Ge,Et]);const qt=Ie(Ae.tooltip,An.text,rr),He=a.useMemo(()=>{if(!(!re||Ge))return[An.text,rr,Hr,qt.title].find(xt)},[re,Ge,Hr,qt.title,nr]);if(qn)return a.createElement(at,{value:(et=An.text)!==null&&et!==void 0?et:typeof rr=="string"?rr:"",onSave:ea,onCancel:zn,onEnd:An.onEnd,prefixCls:Tn,className:Vr,style:Sn,direction:sn,component:on,maxLength:An.maxLength,autoSize:An.autoSize,enterIcon:An.enterIcon});const ze=()=>{const{expandable:Jt,symbol:Tt}=Ae;return Jt?a.createElement("button",{type:"button",key:"expand",className:`${Tn}-${lt?"collapse":"expand"}`,onClick:ir=>nt(ir,{expanded:!lt}),"aria-label":lt?$n.collapse:$n==null?void 0:$n.expand},typeof Tt=="function"?Tt(lt):Tt):null},At=()=>{if(!tn)return;const{icon:Jt,tooltip:Tt,tabIndex:ir}=An,Zr=(0,F.Z)(Tt)[0]||($n==null?void 0:$n.edit),Wt=typeof Zr=="string"?Zr:"";return Ln.includes("icon")?a.createElement(oe.Z,{key:"edit",title:Tt===!1?"":Zr},a.createElement("button",{type:"button",ref:On,className:`${Tn}-edit`,onClick:Zn,"aria-label":Wt,tabIndex:ir},Jt||a.createElement(y,{role:"button"}))):null},dt=()=>xn?a.createElement(Ht,Object.assign({key:"copy"},Xn,{prefixCls:Tn,copied:Ca,locale:$n,onCopy:ao,loading:Fa,iconOnly:rr==null})):null,dr=Jt=>[Jt&&ze(),At(),dt()],br=Jt=>[Jt&&!lt&&a.createElement("span",{"aria-hidden":!0,key:"ellipsis"},Ft),Ae.suffix,dr(Jt)];return a.createElement(T.Z,{onResize:Nt,disabled:!Et},Jt=>a.createElement($r,{tooltipProps:qt,enableEllipsis:Et,isEllipsis:nr},a.createElement(Je,Object.assign({className:c()({[`${Tn}-${ra}`]:ra,[`${Tn}-disabled`]:gt,[`${Tn}-ellipsis`]:re,[`${Tn}-ellipsis-single-line`]:xr,[`${Tn}-ellipsis-multiple-line`]:Qt},Vr),prefixCls:Ir,style:Object.assign(Object.assign({},Sn),{WebkitLineClamp:Qt?ve:void 0}),component:on,ref:(0,N.sQ)(Jt,Pn,fr),direction:sn,onClick:Ln.includes("text")?Zn:void 0,"aria-label":He==null?void 0:He.toString(),title:Hr},na),a.createElement(Be,{enableMeasure:Et&&!Ge,text:rr,rows:ve,width:Ce,onEllipsis:$t,expanded:lt,miscDeps:[Ca,lt,Fa,tn,xn,$n]},(Tt,ir)=>Mn(ge,a.createElement(a.Fragment,null,Tt.length>0&&ir&&!lt&&He?a.createElement("span",{key:"show-content","aria-hidden":!0},Tt):Tt,br(ir)))))))}),Lr=function(ge,fr){var et={};for(var Ir in ge)Object.prototype.hasOwnProperty.call(ge,Ir)&&fr.indexOf(Ir)<0&&(et[Ir]=ge[Ir]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vr=0,Ir=Object.getOwnPropertySymbols(ge);Vr<Ir.length;Vr++)fr.indexOf(Ir[Vr])<0&&Object.prototype.propertyIsEnumerable.call(ge,Ir[Vr])&&(et[Ir[Vr]]=ge[Ir[Vr]]);return et},D=a.forwardRef((ge,fr)=>{var{ellipsis:et,rel:Ir}=ge,Vr=Lr(ge,["ellipsis","rel"]);const Sn=Object.assign(Object.assign({},Vr),{rel:Ir===void 0&&Vr.target==="_blank"?"noopener noreferrer":Ir});return delete Sn.navigate,a.createElement(vr,Object.assign({},Sn,{ref:fr,ellipsis:!!et,component:"a"}))}),ne=a.forwardRef((ge,fr)=>a.createElement(vr,Object.assign({ref:fr},ge,{component:"div"}))),st=function(ge,fr){var et={};for(var Ir in ge)Object.prototype.hasOwnProperty.call(ge,Ir)&&fr.indexOf(Ir)<0&&(et[Ir]=ge[Ir]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vr=0,Ir=Object.getOwnPropertySymbols(ge);Vr<Ir.length;Vr++)fr.indexOf(Ir[Vr])<0&&Object.prototype.propertyIsEnumerable.call(ge,Ir[Vr])&&(et[Ir[Vr]]=ge[Ir[Vr]]);return et};const gn=(ge,fr)=>{var{ellipsis:et}=ge,Ir=st(ge,["ellipsis"]);const Vr=a.useMemo(()=>et&&typeof et=="object"?(0,X.Z)(et,["expandable","rows"]):et,[et]);return a.createElement(vr,Object.assign({ref:fr},Ir,{ellipsis:Vr,component:"span"}))};var mt=a.forwardRef(gn),Zt=function(ge,fr){var et={};for(var Ir in ge)Object.prototype.hasOwnProperty.call(ge,Ir)&&fr.indexOf(Ir)<0&&(et[Ir]=ge[Ir]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vr=0,Ir=Object.getOwnPropertySymbols(ge);Vr<Ir.length;Vr++)fr.indexOf(Ir[Vr])<0&&Object.prototype.propertyIsEnumerable.call(ge,Ir[Vr])&&(et[Ir[Vr]]=ge[Ir[Vr]]);return et};const Ur=[1,2,3,4,5];var Jr=a.forwardRef((ge,fr)=>{const{level:et=1}=ge,Ir=Zt(ge,["level"]),Vr=Ur.includes(et)?`h${et}`:"h1";return a.createElement(vr,Object.assign({ref:fr},Ir,{component:Vr}))});const vn=Je;vn.Text=mt,vn.Link=D,vn.Title=Jr,vn.Paragraph=ne;var Qn=vn},14566:function(Yr,Kt,n){"use strict";n.d(Kt,{default:function(){return Mn}});var a=n(59301),qe=n(94480),L=n(4676),Re=n(92310),q=n.n(Re),ee=n(90472),_=n(18929),y=n(48755),V=n(2171),c=n(9017),T=n(85981),F=n(63356),G=n(34961),R=n(16931),X=n(51636),N=n(36237),S=Ft=>{const{componentCls:Sr,iconCls:vr}=Ft;return{[`${Sr}-wrapper`]:{[`${Sr}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Ft.colorFillAlter,border:`${(0,N.unit)(Ft.lineWidth)} dashed ${Ft.colorBorder}`,borderRadius:Ft.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ft.motionDurationSlow}`,[Sr]:{padding:Ft.padding},[`${Sr}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:Ft.borderRadiusLG,"&:focus-visible":{outline:`${(0,N.unit)(Ft.lineWidthFocus)} solid ${Ft.colorPrimaryBorder}`}},[`${Sr}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`
&:not(${Sr}-disabled):hover,
&-hover:not(${Sr}-disabled)
`]:{borderColor:Ft.colorPrimaryHover},[`p${Sr}-drag-icon`]:{marginBottom:Ft.margin,[vr]:{color:Ft.colorPrimary,fontSize:Ft.uploadThumbnailSize}},[`p${Sr}-text`]:{margin:`0 0 ${(0,N.unit)(Ft.marginXXS)}`,color:Ft.colorTextHeading,fontSize:Ft.fontSizeLG},[`p${Sr}-hint`]:{color:Ft.colorTextDescription,fontSize:Ft.fontSize},[`&${Sr}-disabled`]:{[`p${Sr}-drag-icon ${vr},
p${Sr}-text,
p${Sr}-hint
`]:{color:Ft.colorTextDisabled}}}}}},oe=Ft=>{const{componentCls:Sr,iconCls:vr,fontSize:Lr,lineHeight:h,calc:D}=Ft,Ee=`${Sr}-list-item`,ne=`${Ee}-actions`,st=`${Ee}-action`;return{[`${Sr}-wrapper`]:{[`${Sr}-list`]:Object.assign(Object.assign({},(0,F.dF)()),{lineHeight:Ft.lineHeight,[Ee]:{position:"relative",height:D(Ft.lineHeight).mul(Lr).equal(),marginTop:Ft.marginXS,fontSize:Lr,display:"flex",alignItems:"center",transition:`background-color ${Ft.motionDurationSlow}`,borderRadius:Ft.borderRadiusSM,"&:hover":{backgroundColor:Ft.controlItemBgHover},[`${Ee}-name`]:Object.assign(Object.assign({},F.vS),{padding:`0 ${(0,N.unit)(Ft.paddingXS)}`,lineHeight:h,flex:"auto",transition:`all ${Ft.motionDurationSlow}`}),[ne]:{whiteSpace:"nowrap",[st]:{opacity:0},[vr]:{color:Ft.actionsColor,transition:`all ${Ft.motionDurationSlow}`},[`
${st}:focus-visible,
&.picture ${st}
`]:{opacity:1}},[`${Sr}-icon ${vr}`]:{color:Ft.colorTextDescription,fontSize:Lr},[`${Ee}-progress`]:{position:"absolute",bottom:Ft.calc(Ft.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:D(Lr).add(Ft.paddingXS).equal(),fontSize:Lr,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Ee}:hover ${st}`]:{opacity:1},[`${Ee}-error`]:{color:Ft.colorError,[`${Ee}-name, ${Sr}-icon ${vr}`]:{color:Ft.colorError},[ne]:{[`${vr}, ${vr}:hover`]:{color:Ft.colorError},[st]:{opacity:1}}},[`${Sr}-list-item-container`]:{transition:`opacity ${Ft.motionDurationSlow}, height ${Ft.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},J=n(99495),$e=Ft=>{const{componentCls:Sr}=Ft,vr=new N.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:Ft.calc(Ft.marginXS).div(-2).equal()}}),Lr=new N.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:Ft.calc(Ft.marginXS).div(-2).equal()}}),h=`${Sr}-animate-inline`;return[{[`${Sr}-wrapper`]:{[`${h}-appear, ${h}-enter, ${h}-leave`]:{animationDuration:Ft.motionDurationSlow,animationTimingFunction:Ft.motionEaseInOutCirc,animationFillMode:"forwards"},[`${h}-appear, ${h}-enter`]:{animationName:vr},[`${h}-leave`]:{animationName:Lr}}},{[`${Sr}-wrapper`]:(0,J.J$)(Ft)},vr,Lr]},Ne=n(68361);const Qe=Ft=>{const{componentCls:Sr,iconCls:vr,uploadThumbnailSize:Lr,uploadProgressOffset:h,calc:D}=Ft,Ee=`${Sr}-list`,ne=`${Ee}-item`;return{[`${Sr}-wrapper`]:{[`
${Ee}${Ee}-picture,
${Ee}${Ee}-picture-card,
${Ee}${Ee}-picture-circle
`]:{[ne]:{position:"relative",height:D(Lr).add(D(Ft.lineWidth).mul(2)).add(D(Ft.paddingXS).mul(2)).equal(),padding:Ft.paddingXS,border:`${(0,N.unit)(Ft.lineWidth)} ${Ft.lineType} ${Ft.colorBorder}`,borderRadius:Ft.borderRadiusLG,"&:hover":{background:"transparent"},[`${ne}-thumbnail`]:Object.assign(Object.assign({},F.vS),{width:Lr,height:Lr,lineHeight:(0,N.unit)(D(Lr).add(Ft.paddingSM).equal()),textAlign:"center",flex:"none",[vr]:{fontSize:Ft.fontSizeHeading2,color:Ft.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${ne}-progress`]:{bottom:h,width:`calc(100% - ${(0,N.unit)(D(Ft.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:D(Lr).add(Ft.paddingXS).equal()}},[`${ne}-error`]:{borderColor:Ft.colorError,[`${ne}-thumbnail ${vr}`]:{[`svg path[fill='${Ne.blue[0]}']`]:{fill:Ft.colorErrorBg},[`svg path[fill='${Ne.blue.primary}']`]:{fill:Ft.colorError}}},[`${ne}-uploading`]:{borderStyle:"dashed",[`${ne}-name`]:{marginBottom:h}}},[`${Ee}${Ee}-picture-circle ${ne}`]:{[`&, &::before, ${ne}-thumbnail`]:{borderRadius:"50%"}}}}},Ze=Ft=>{const{componentCls:Sr,iconCls:vr,fontSizeLG:Lr,colorTextLightSolid:h,calc:D}=Ft,Ee=`${Sr}-list`,ne=`${Ee}-item`,st=Ft.uploadPicCardSize;return{[`
${Sr}-wrapper${Sr}-picture-card-wrapper,
${Sr}-wrapper${Sr}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,F.dF)()),{display:"block",[`${Sr}${Sr}-select`]:{width:st,height:st,textAlign:"center",verticalAlign:"top",backgroundColor:Ft.colorFillAlter,border:`${(0,N.unit)(Ft.lineWidth)} dashed ${Ft.colorBorder}`,borderRadius:Ft.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ft.motionDurationSlow}`,[`> ${Sr}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Sr}-disabled):hover`]:{borderColor:Ft.colorPrimary}},[`${Ee}${Ee}-picture-card, ${Ee}${Ee}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:Ft.marginXS,marginInlineEnd:Ft.marginXS}},"@supports (gap: 1px)":{gap:Ft.marginXS},[`${Ee}-item-container`]:{display:"inline-block",width:st,height:st,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[ne]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,N.unit)(D(Ft.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,N.unit)(D(Ft.paddingXS).mul(2).equal())})`,backgroundColor:Ft.colorBgMask,opacity:0,transition:`all ${Ft.motionDurationSlow}`,content:'" "'}},[`${ne}:hover`]:{[`&::before, ${ne}-actions`]:{opacity:1}},[`${ne}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Ft.motionDurationSlow}`,[`
${vr}-eye,
${vr}-download,
${vr}-delete
`]:{zIndex:10,width:Lr,margin:`0 ${(0,N.unit)(Ft.marginXXS)}`,fontSize:Lr,cursor:"pointer",transition:`all ${Ft.motionDurationSlow}`,color:h,"&:hover":{color:h},svg:{verticalAlign:"baseline"}}},[`${ne}-thumbnail, ${ne}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${ne}-name`]:{display:"none",textAlign:"center"},[`${ne}-file + ${ne}-name`]:{position:"absolute",bottom:Ft.margin,display:"block",width:`calc(100% - ${(0,N.unit)(D(Ft.paddingXS).mul(2).equal())})`},[`${ne}-uploading`]:{[`&${ne}`]:{backgroundColor:Ft.colorFillAlter},[`&::before, ${vr}-eye, ${vr}-download, ${vr}-delete`]:{display:"none"}},[`${ne}-progress`]:{bottom:Ft.marginXL,width:`calc(100% - ${(0,N.unit)(D(Ft.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${Sr}-wrapper${Sr}-picture-circle-wrapper`]:{[`${Sr}${Sr}-select`]:{borderRadius:"50%"}}}};var xe=Ft=>{const{componentCls:Sr}=Ft;return{[`${Sr}-rtl`]:{direction:"rtl"}}};const Q=Ft=>{const{componentCls:Sr,colorTextDisabled:vr}=Ft;return{[`${Sr}-wrapper`]:Object.assign(Object.assign({},(0,F.Wf)(Ft)),{[Sr]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Sr}-select`]:{display:"inline-block"},[`${Sr}-hidden`]:{display:"none"},[`${Sr}-disabled`]:{color:vr,cursor:"not-allowed"}})}},ye=Ft=>({actionsColor:Ft.colorTextDescription});var j=(0,R.I$)("Upload",Ft=>{const{fontSizeHeading3:Sr,fontHeight:vr,lineWidth:Lr,controlHeightLG:h,calc:D}=Ft,Ee=(0,X.mergeToken)(Ft,{uploadThumbnailSize:D(Sr).mul(2).equal(),uploadProgressOffset:D(D(vr).div(2)).add(Lr).equal(),uploadPicCardSize:D(h).mul(2.55).equal()});return[Q(Ee),S(Ee),Qe(Ee),Ze(Ee),oe(Ee),$e(Ee),xe(Ee),(0,G.Z)(Ee)]},ye),I=n(54476),rt={icon:function(Sr,vr){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:vr}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:Sr}}]}},name:"file",theme:"twotone"},le=rt,se=n(7657),w=function(Sr,vr){return a.createElement(se.Z,(0,I.Z)({},Sr,{ref:vr,icon:le}))},k=a.forwardRef(w),z=k,C=n(58617),Y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},ke=Y,pe=function(Sr,vr){return a.createElement(se.Z,(0,I.Z)({},Sr,{ref:vr,icon:ke}))},Ue=a.forwardRef(pe),at=Ue,ct={icon:function(Sr,vr){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:Sr}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:vr}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:vr}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:vr}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:Sr}}]}},name:"picture",theme:"twotone"},ce=ct,Le=function(Sr,vr){return a.createElement(se.Z,(0,I.Z)({},Sr,{ref:vr,icon:ce}))},wt=a.forwardRef(Le),Fe=wt,De=n(77900),P=n(2738),_e=n(40192),be=n(86641),he=n(22703),de=n(99571);function me(Ft){return Object.assign(Object.assign({},Ft),{lastModified:Ft.lastModified,lastModifiedDate:Ft.lastModifiedDate,name:Ft.name,size:Ft.size,type:Ft.type,uid:Ft.uid,percent:0,originFileObj:Ft})}function Ie(Ft,Sr){const vr=(0,qe.Z)(Sr),Lr=vr.findIndex(h=>{let{uid:D}=h;return D===Ft.uid});return Lr===-1?vr.push(Ft):vr[Lr]=Ft,vr}function Se(Ft,Sr){const vr=Ft.uid!==void 0?"uid":"name";return Sr.filter(Lr=>Lr[vr]===Ft[vr])[0]}function Me(Ft,Sr){const vr=Ft.uid!==void 0?"uid":"name",Lr=Sr.filter(h=>h[vr]!==Ft[vr]);return Lr.length===Sr.length?null:Lr}const Je=function(){const Sr=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Lr=Sr[Sr.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Lr)||[""])[0]},pt=Ft=>Ft.indexOf("image/")===0,Ot=Ft=>{if(Ft.type&&!Ft.thumbUrl)return pt(Ft.type);const Sr=Ft.thumbUrl||Ft.url||"",vr=Je(Sr);return/^data:image\//.test(Sr)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(vr)?!0:!(/^data:/.test(Sr)||vr)},_t=200;function Gt(Ft){return new Promise(Sr=>{if(!Ft.type||!pt(Ft.type)){Sr("");return}const vr=document.createElement("canvas");vr.width=_t,vr.height=_t,vr.style.cssText=`position: fixed; left: 0; top: 0; width: ${_t}px; height: ${_t}px; z-index: 9999; display: none;`,document.body.appendChild(vr);const Lr=vr.getContext("2d"),h=new Image;if(h.onload=()=>{const{width:D,height:Ee}=h;let ne=_t,st=_t,gn=0,mt=0;D>Ee?(st=Ee*(_t/D),mt=-(st-ne)/2):(ne=D*(_t/Ee),gn=-(ne-st)/2),Lr.drawImage(h,gn,mt,ne,st);const Zt=vr.toDataURL();document.body.removeChild(vr),window.URL.revokeObjectURL(h.src),Sr(Zt)},h.crossOrigin="anonymous",Ft.type.startsWith("image/svg+xml")){const D=new FileReader;D.onload=()=>{D.result&&typeof D.result=="string"&&(h.src=D.result)},D.readAsDataURL(Ft)}else if(Ft.type.startsWith("image/gif")){const D=new FileReader;D.onload=()=>{D.result&&Sr(D.result)},D.readAsDataURL(Ft)}else h.src=window.URL.createObjectURL(Ft)})}var Pt=n(26227),ot=n(41464),xt=n(15277),jt=n(60242),Ht=n(25399),er=a.forwardRef((Ft,Sr)=>{let{prefixCls:vr,className:Lr,style:h,locale:D,listType:Ee,file:ne,items:st,progress:gn,iconRender:mt,actionIconRender:Zt,itemRender:Ur,isImgUrl:Pr,showPreviewIcon:Jr,showRemoveIcon:vn,showDownloadIcon:Qn,previewIcon:ge,removeIcon:fr,downloadIcon:et,extra:Ir,onPreview:Vr,onDownload:Sn,onClose:ra}=Ft;var gt,rr;const{status:sr}=ne,[or,jr]=a.useState(sr);a.useEffect(()=>{sr!=="removed"&&jr(sr)},[sr]);const[on,Hr]=a.useState(!1);a.useEffect(()=>{const xn=setTimeout(()=>{Hr(!0)},300);return()=>{clearTimeout(xn)}},[]);const Dr=mt(ne);let nn=a.createElement("div",{className:`${vr}-icon`},Dr);if(Ee==="picture"||Ee==="picture-card"||Ee==="picture-circle")if(or==="uploading"||!ne.thumbUrl&&!ne.url){const xn=q()(`${vr}-list-item-thumbnail`,{[`${vr}-list-item-file`]:or!=="uploading"});nn=a.createElement("div",{className:xn},Dr)}else{const xn=Pr!=null&&Pr(ne)?a.createElement("img",{src:ne.thumbUrl||ne.url,alt:ne.name,className:`${vr}-list-item-image`,crossOrigin:ne.crossOrigin}):Dr,Xn=q()(`${vr}-list-item-thumbnail`,{[`${vr}-list-item-file`]:Pr&&!Pr(ne)});nn=a.createElement("a",{className:Xn,onClick:Ca=>Vr(ne,Ca),href:ne.url||ne.thumbUrl,target:"_blank",rel:"noopener noreferrer"},xn)}const sn=q()(`${vr}-list-item`,`${vr}-list-item-${or}`),$n=typeof ne.linkProps=="string"?JSON.parse(ne.linkProps):ne.linkProps,Pn=(typeof vn=="function"?vn(ne):vn)?Zt((typeof fr=="function"?fr(ne):fr)||a.createElement(Pt.Z,null),()=>ra(ne),vr,D.removeFile,!0):null,On=(typeof Qn=="function"?Qn(ne):Qn)&&or==="done"?Zt((typeof et=="function"?et(ne):et)||a.createElement(ot.Z,null),()=>Sn(ne),vr,D.downloadFile):null,Tn=Ee!=="picture-card"&&Ee!=="picture-circle"&&a.createElement("span",{key:"download-delete",className:q()(`${vr}-list-item-actions`,{picture:Ee==="picture"})},On,Pn),na=typeof Ir=="function"?Ir(ne):Ir,tn=na&&a.createElement("span",{className:`${vr}-list-item-extra`},na),An=q()(`${vr}-list-item-name`),qn=ne.url?a.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:An,title:ne.name},$n,{href:ne.url,onClick:xn=>Vr(ne,xn)}),ne.name,tn):a.createElement("span",{key:"view",className:An,onClick:xn=>Vr(ne,xn),title:ne.name},ne.name,tn),da=(typeof Jr=="function"?Jr(ne):Jr)&&(ne.url||ne.thumbUrl)?a.createElement("a",{href:ne.url||ne.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:xn=>Vr(ne,xn),title:D.previewFile},typeof ge=="function"?ge(ne):ge||a.createElement(xt.Z,null)):null,Ln=(Ee==="picture-card"||Ee==="picture-circle")&&or!=="uploading"&&a.createElement("span",{className:`${vr}-list-item-actions`},da,or==="done"&&On,Pn),{getPrefixCls:aa}=a.useContext(y.E_),Kn=aa(),Zn=a.createElement("div",{className:sn},nn,qn,Tn,Ln,on&&a.createElement(De.default,{motionName:`${Kn}-fade`,visible:or==="uploading",motionDeadline:2e3},xn=>{let{className:Xn}=xn;const Ca="percent"in ne?a.createElement(jt.Z,Object.assign({},gn,{type:"line",percent:ne.percent,"aria-label":ne["aria-label"],"aria-labelledby":ne["aria-labelledby"]})):null;return a.createElement("div",{className:q()(`${vr}-list-item-progress`,Xn)},Ca)})),ea=ne.response&&typeof ne.response=="string"?ne.response:((gt=ne.error)===null||gt===void 0?void 0:gt.statusText)||((rr=ne.error)===null||rr===void 0?void 0:rr.message)||D.uploadError,zn=or==="error"?a.createElement(Ht.Z,{title:ea,getPopupContainer:xn=>xn.parentNode},Zn):Zn;return a.createElement("div",{className:q()(`${vr}-list-item-container`,Lr),style:h,ref:Sr},Ur?Ur(zn,ne,st,{download:Sn.bind(null,ne),preview:Vr.bind(null,ne),remove:ra.bind(null,ne)}):zn)});const cr=(Ft,Sr)=>{const{listType:vr="text",previewFile:Lr=Gt,onPreview:h,onDownload:D,onRemove:Ee,locale:ne,iconRender:st,isImageUrl:gn=Ot,prefixCls:mt,items:Zt=[],showPreviewIcon:Ur=!0,showRemoveIcon:Pr=!0,showDownloadIcon:Jr=!1,removeIcon:vn,previewIcon:Qn,downloadIcon:ge,extra:fr,progress:et={size:[-1,2],showInfo:!1},appendAction:Ir,appendActionVisible:Vr=!0,itemRender:Sn,disabled:ra}=Ft,gt=(0,_e.Z)(),[rr,sr]=a.useState(!1),or=["picture-card","picture-circle"].includes(vr);a.useEffect(()=>{vr.startsWith("picture")&&(Zt||[]).forEach(tn=>{!(tn.originFileObj instanceof File||tn.originFileObj instanceof Blob)||tn.thumbUrl!==void 0||(tn.thumbUrl="",Lr==null||Lr(tn.originFileObj).then(An=>{tn.thumbUrl=An||"",gt()}))})},[vr,Zt,Lr]),a.useEffect(()=>{sr(!0)},[]);const jr=(tn,An)=>{if(h)return An==null||An.preventDefault(),h(tn)},on=tn=>{typeof D=="function"?D(tn):tn.url&&window.open(tn.url)},Hr=tn=>{Ee==null||Ee(tn)},Dr=tn=>{if(st)return st(tn,vr);const An=tn.status==="uploading";if(vr.startsWith("picture")){const qn=vr==="picture"?a.createElement(C.Z,null):ne.uploading,da=gn!=null&&gn(tn)?a.createElement(Fe,null):a.createElement(z,null);return An?qn:da}return An?a.createElement(C.Z,null):a.createElement(at,null)},nn=(tn,An,qn,da,Ln)=>{const aa={type:"text",size:"small",title:da,onClick:Kn=>{var Zn,ea;An(),a.isValidElement(tn)&&((ea=(Zn=tn.props).onClick)===null||ea===void 0||ea.call(Zn,Kn))},className:`${qn}-list-item-action`};return Ln&&(aa.disabled=ra),a.isValidElement(tn)?a.createElement(de.ZP,Object.assign({},aa,{icon:(0,he.Tm)(tn,Object.assign(Object.assign({},tn.props),{onClick:()=>{}}))})):a.createElement(de.ZP,Object.assign({},aa),a.createElement("span",null,tn))};a.useImperativeHandle(Sr,()=>({handlePreview:jr,handleDownload:on}));const{getPrefixCls:sn}=a.useContext(y.E_),$n=sn("upload",mt),Pn=sn(),On=q()(`${$n}-list`,`${$n}-list-${vr}`),Tn=a.useMemo(()=>(0,P.Z)((0,be.Z)(Pn),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[Pn]),na=Object.assign(Object.assign({},or?{}:Tn),{motionDeadline:2e3,motionName:`${$n}-${or?"animate-inline":"animate"}`,keys:(0,qe.Z)(Zt.map(tn=>({key:tn.uid,file:tn}))),motionAppear:rr});return a.createElement("div",{className:On},a.createElement(De.CSSMotionList,Object.assign({},na,{component:!1}),tn=>{let{key:An,file:qn,className:da,style:Ln}=tn;return a.createElement(er,{key:An,locale:ne,prefixCls:$n,className:da,style:Ln,file:qn,items:Zt,progress:et,listType:vr,isImgUrl:gn,showPreviewIcon:Ur,showRemoveIcon:Pr,showDownloadIcon:Jr,removeIcon:vn,previewIcon:Qn,downloadIcon:ge,extra:fr,iconRender:Dr,actionIconRender:nn,itemRender:Sn,onPreview:jr,onDownload:on,onClose:Hr})}),Ir&&a.createElement(De.default,Object.assign({},na,{visible:Vr,forceRender:!0}),tn=>{let{className:An,style:qn}=tn;return(0,he.Tm)(Ir,da=>({className:q()(da.className,An),style:Object.assign(Object.assign(Object.assign({},qn),{pointerEvents:An?"none":void 0}),da.style)}))}))};var qr=a.forwardRef(cr),Ar=function(Ft,Sr,vr,Lr){function h(D){return D instanceof vr?D:new vr(function(Ee){Ee(D)})}return new(vr||(vr=Promise))(function(D,Ee){function ne(mt){try{gn(Lr.next(mt))}catch(Zt){Ee(Zt)}}function st(mt){try{gn(Lr.throw(mt))}catch(Zt){Ee(Zt)}}function gn(mt){mt.done?D(mt.value):h(mt.value).then(ne,st)}gn((Lr=Lr.apply(Ft,Sr||[])).next())})};const x=`__LIST_IGNORE_${Date.now()}__`,H=(Ft,Sr)=>{const{fileList:vr,defaultFileList:Lr,onRemove:h,showUploadList:D=!0,listType:Ee="text",onPreview:ne,onDownload:st,onChange:gn,onDrop:mt,previewFile:Zt,disabled:Ur,locale:Pr,iconRender:Jr,isImageUrl:vn,progress:Qn,prefixCls:ge,className:fr,type:et="select",children:Ir,style:Vr,itemRender:Sn,maxCount:ra,data:gt={},multiple:rr=!1,hasControlInside:sr=!0,action:or="",accept:jr="",supportServerRender:on=!0,rootClassName:Hr}=Ft,Dr=a.useContext(V.Z),nn=Ur!=null?Ur:Dr,[sn,$n]=(0,_.Z)(Lr||[],{value:vr,postState:kt=>kt!=null?kt:[]}),[Pn,On]=a.useState("drop"),Tn=a.useRef(null),na=a.useRef(null);a.useMemo(()=>{const kt=Date.now();(vr||[]).forEach((Ge,Vt)=>{!Ge.uid&&!Object.isFrozen(Ge)&&(Ge.uid=`__AUTO__${kt}_${Vt}__`)})},[vr]);const tn=(kt,Ge,Vt)=>{let vt=(0,qe.Z)(Ge),nr=!1;ra===1?vt=vt.slice(-1):ra&&(nr=vt.length>ra,vt=vt.slice(0,ra)),(0,L.flushSync)(()=>{$n(vt)});const xr={file:kt,fileList:vt};Vt&&(xr.event=Vt),(!nr||kt.status==="removed"||vt.some(Qt=>Qt.uid===kt.uid))&&(0,L.flushSync)(()=>{gn==null||gn(xr)})},An=(kt,Ge)=>Ar(void 0,void 0,void 0,function*(){const{beforeUpload:Vt,transformFile:vt}=Ft;let nr=kt;if(Vt){const xr=yield Vt(kt,Ge);if(xr===!1)return!1;if(delete kt[x],xr===x)return Object.defineProperty(kt,x,{value:!0,configurable:!0}),!1;typeof xr=="object"&&xr&&(nr=xr)}return vt&&(nr=yield vt(nr)),nr}),qn=kt=>{const Ge=kt.filter(nr=>!nr.file[x]);if(!Ge.length)return;const Vt=Ge.map(nr=>me(nr.file));let vt=(0,qe.Z)(sn);Vt.forEach(nr=>{vt=Ie(nr,vt)}),Vt.forEach((nr,xr)=>{let Qt=nr;if(Ge[xr].parsedFile)nr.status="uploading";else{const{originFileObj:nt}=nr;let Ce;try{Ce=new File([nt],nt.name,{type:nt.type})}catch(Ut){Ce=new Blob([nt],{type:nt.type}),Ce.name=nt.name,Ce.lastModifiedDate=new Date,Ce.lastModified=new Date().getTime()}Ce.uid=nr.uid,Qt=Ce}tn(Qt,vt)})},da=(kt,Ge,Vt)=>{try{typeof kt=="string"&&(kt=JSON.parse(kt))}catch(xr){}if(!Se(Ge,sn))return;const vt=me(Ge);vt.status="done",vt.percent=100,vt.response=kt,vt.xhr=Vt;const nr=Ie(vt,sn);tn(vt,nr)},Ln=(kt,Ge)=>{if(!Se(Ge,sn))return;const Vt=me(Ge);Vt.status="uploading",Vt.percent=kt.percent;const vt=Ie(Vt,sn);tn(Vt,vt,kt)},aa=(kt,Ge,Vt)=>{if(!Se(Vt,sn))return;const vt=me(Vt);vt.error=kt,vt.response=Ge,vt.status="error";const nr=Ie(vt,sn);tn(vt,nr)},Kn=kt=>{let Ge;Promise.resolve(typeof h=="function"?h(kt):h).then(Vt=>{var vt;if(Vt===!1)return;const nr=Me(kt,sn);nr&&(Ge=Object.assign(Object.assign({},kt),{status:"removed"}),sn==null||sn.forEach(xr=>{const Qt=Ge.uid!==void 0?"uid":"name";xr[Qt]===Ge[Qt]&&!Object.isFrozen(xr)&&(xr.status="removed")}),(vt=Tn.current)===null||vt===void 0||vt.abort(Ge),tn(Ge,nr))})},Zn=kt=>{On(kt.type),kt.type==="drop"&&(mt==null||mt(kt))};a.useImperativeHandle(Sr,()=>({onBatchStart:qn,onSuccess:da,onProgress:Ln,onError:aa,fileList:sn,upload:Tn.current,nativeElement:na.current}));const{getPrefixCls:ea,direction:zn,upload:xn}=a.useContext(y.E_),Xn=ea("upload",ge),Ca=Object.assign(Object.assign({onBatchStart:qn,onError:aa,onProgress:Ln,onSuccess:da},Ft),{data:gt,multiple:rr,action:or,accept:jr,supportServerRender:on,prefixCls:Xn,disabled:nn,beforeUpload:An,onChange:void 0,hasControlInside:sr});delete Ca.className,delete Ca.style,(!Ir||nn)&&delete Ca.id;const Fa=`${Xn}-wrapper`,[ao,oo,uo]=j(Xn,Fa),[f]=(0,c.Z)("Upload",T.Z.Upload),{showRemoveIcon:s,showPreviewIcon:p,showDownloadIcon:b,removeIcon:$,previewIcon:v,downloadIcon:B,extra:U}=typeof D=="boolean"?{}:D,re=typeof s=="undefined"?!nn:s,Ae=(kt,Ge)=>D?a.createElement(qr,{prefixCls:Xn,listType:Ee,items:sn,previewFile:Zt,onPreview:ne,onDownload:st,onRemove:Kn,showRemoveIcon:re,showPreviewIcon:p,showDownloadIcon:b,removeIcon:$,previewIcon:v,downloadIcon:B,iconRender:Jr,extra:U,locale:Object.assign(Object.assign({},f),Pr),isImageUrl:vn,progress:Qn,appendAction:kt,appendActionVisible:Ge,itemRender:Sn,disabled:nn}):kt,lt=q()(Fa,fr,Hr,oo,uo,xn==null?void 0:xn.className,{[`${Xn}-rtl`]:zn==="rtl",[`${Xn}-picture-card-wrapper`]:Ee==="picture-card",[`${Xn}-picture-circle-wrapper`]:Ee==="picture-circle"}),It=Object.assign(Object.assign({},xn==null?void 0:xn.style),Vr);if(et==="drag"){const kt=q()(oo,Xn,`${Xn}-drag`,{[`${Xn}-drag-uploading`]:sn.some(Ge=>Ge.status==="uploading"),[`${Xn}-drag-hover`]:Pn==="dragover",[`${Xn}-disabled`]:nn,[`${Xn}-rtl`]:zn==="rtl"});return ao(a.createElement("span",{className:lt,ref:na},a.createElement("div",{className:kt,style:It,onDrop:Zn,onDragOver:Zn,onDragLeave:Zn},a.createElement(ee.Z,Object.assign({},Ca,{ref:Tn,className:`${Xn}-btn`}),a.createElement("div",{className:`${Xn}-drag-container`},Ir))),Ae()))}const Et=q()(Xn,`${Xn}-select`,{[`${Xn}-disabled`]:nn,[`${Xn}-hidden`]:!Ir}),ve=a.createElement("div",{className:Et},a.createElement(ee.Z,Object.assign({},Ca,{ref:Tn})));return ao(Ee==="picture-card"||Ee==="picture-circle"?a.createElement("span",{className:lt,ref:na},Ae(ve,!!Ir)):a.createElement("span",{className:lt,ref:na},ve,Ae()))};var ae=a.forwardRef(H),Be=function(Ft,Sr){var vr={};for(var Lr in Ft)Object.prototype.hasOwnProperty.call(Ft,Lr)&&Sr.indexOf(Lr)<0&&(vr[Lr]=Ft[Lr]);if(Ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,Lr=Object.getOwnPropertySymbols(Ft);h<Lr.length;h++)Sr.indexOf(Lr[h])<0&&Object.prototype.propertyIsEnumerable.call(Ft,Lr[h])&&(vr[Lr[h]]=Ft[Lr[h]]);return vr},$r=a.forwardRef((Ft,Sr)=>{var{style:vr,height:Lr,hasControlInside:h=!1}=Ft,D=Be(Ft,["style","height","hasControlInside"]);return a.createElement(ae,Object.assign({ref:Sr,hasControlInside:h},D,{type:"drag",style:Object.assign(Object.assign({},vr),{height:Lr})}))});const yn=ae;yn.Dragger=$r,yn.LIST_IGNORE=x;var Mn=yn},44164:function(Yr,Kt,n){var a=n(97671);(function(L,Re){Yr.exports=Re(n(85524),n(64270))})(self,function(qe,L){return function(){var Re={"./src/plugin/hyperlinks.js":function(y,V,c){"use strict";c.r(V);var T=c("./node_modules/core-js/modules/web.dom-collections.for-each.js"),F=c.n(T),G=c("./node_modules/core-js/modules/es.string.link.js"),R=c.n(G),X=c("./src/worker.js"),N=c("./src/utils.js"),A=[],S={toContainer:X.default.prototype.toContainer,toPdf:X.default.prototype.toPdf};X.default.prototype.toContainer=function(){return S.toContainer.call(this).then(function(){if(this.opt.enableLinks){var J=this.prop.container,te=J.querySelectorAll("a"),$e=(0,N.unitConvert)(J.getBoundingClientRect(),this.prop.pageSize.k);A=[],Array.prototype.forEach.call(te,function(Ne){for(var Qe=Ne.getClientRects(),Ze=0;Ze<Qe.length;Ze++){var we=(0,N.unitConvert)(Qe[Ze],this.prop.pageSize.k);we.left-=$e.left,we.top-=$e.top;var xe=Math.floor(we.top/this.prop.pageSize.inner.height)+1,Q=this.opt.margin[0]+we.top%this.prop.pageSize.inner.height,ye=this.opt.margin[1]+we.left;A.push({page:xe,top:Q,left:ye,clientRect:we,link:Ne})}},this)}})},X.default.prototype.toPdf=function(){return S.toPdf.call(this).then(function(){if(this.opt.enableLinks){A.forEach(function(te){this.prop.pdf.setPage(te.page),this.prop.pdf.link(te.left,te.top,te.clientRect.width,te.clientRect.height,{url:te.link.href})},this);var J=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(J)}})}},"./src/plugin/jspdf-plugin.js":function(y,V,c){"use strict";c.r(V);var T=c("./node_modules/core-js/modules/es.symbol.js"),F=c.n(T),G=c("./node_modules/core-js/modules/es.symbol.description.js"),R=c.n(G),X=c("./node_modules/core-js/modules/es.object.to-string.js"),N=c.n(X),A=c("./node_modules/core-js/modules/es.symbol.iterator.js"),S=c.n(A),E=c("./node_modules/core-js/modules/es.array.iterator.js"),oe=c.n(E),J=c("./node_modules/core-js/modules/es.string.iterator.js"),te=c.n(J),$e=c("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Ne=c.n($e),Qe=c("jspdf"),Ze=c.n(Qe);function we(xe){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?we=function(ye){return typeof ye}:we=function(ye){return ye&&typeof Symbol=="function"&&ye.constructor===Symbol&&ye!==Symbol.prototype?"symbol":typeof ye},we(xe)}Qe.jsPDF.getPageSize=function(xe,Q,ye){if(we(xe)==="object"){var j=xe;xe=j.orientation,Q=j.unit||Q,ye=j.format||ye}Q=Q||"mm",ye=ye||"a4",xe=(""+(xe||"P")).toLowerCase();var I=(""+ye).toLowerCase(),rt={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(Q){case"pt":var le=1;break;case"mm":var le=72/25.4;break;case"cm":var le=72/2.54;break;case"in":var le=72;break;case"px":var le=72/96;break;case"pc":var le=12;break;case"em":var le=12;break;case"ex":var le=6;break;default:throw"Invalid unit: "+Q}if(rt.hasOwnProperty(I))var se=rt[I][1]/le,w=rt[I][0]/le;else try{var se=ye[1],w=ye[0]}catch(C){throw new Error("Invalid format: "+ye)}if(xe==="p"||xe==="portrait"){if(xe="p",w>se){var k=w;w=se,se=k}}else if(xe==="l"||xe==="landscape"){if(xe="l",se>w){var k=w;w=se,se=k}}else throw"Invalid orientation: "+xe;var z={width:w,height:se,unit:Q,k:le};return z},V.default=Qe.jsPDF},"./src/plugin/pagebreaks.js":function(y,V,c){"use strict";c.r(V);var T=c("./node_modules/core-js/modules/es.array.concat.js"),F=c.n(T),G=c("./node_modules/core-js/modules/es.array.slice.js"),R=c.n(G),X=c("./node_modules/core-js/modules/es.array.join.js"),N=c.n(X),A=c("./node_modules/core-js/modules/web.dom-collections.for-each.js"),S=c.n(A),E=c("./node_modules/core-js/modules/es.object.keys.js"),oe=c.n(E),J=c("./src/worker.js"),te=c("./src/utils.js"),$e={toContainer:J.default.prototype.toContainer};J.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},J.default.prototype.toContainer=function(){return $e.toContainer.call(this).then(function(){var Ze=this.prop.container,we=this.prop.pageSize.inner.px.height,xe=[].concat(this.opt.pagebreak.mode),Q={avoidAll:xe.indexOf("avoid-all")!==-1,css:xe.indexOf("css")!==-1,legacy:xe.indexOf("legacy")!==-1},ye={},j=this;["before","after","avoid"].forEach(function(le){var se=Q.avoidAll&&le==="avoid";ye[le]=se?[]:[].concat(j.opt.pagebreak[le]||[]),ye[le].length>0&&(ye[le]=Array.prototype.slice.call(Ze.querySelectorAll(ye[le].join(", "))))});var I=Ze.querySelectorAll(".html2pdf__page-break");I=Array.prototype.slice.call(I);var rt=Ze.querySelectorAll("*");Array.prototype.forEach.call(rt,function(se){var w={before:!1,after:Q.legacy&&I.indexOf(se)!==-1,avoid:Q.avoidAll};if(Q.css){var k=window.getComputedStyle(se),z=["always","page","left","right"],C=["avoid","avoid-page"];w={before:w.before||z.indexOf(k.breakBefore||k.pageBreakBefore)!==-1,after:w.after||z.indexOf(k.breakAfter||k.pageBreakAfter)!==-1,avoid:w.avoid||C.indexOf(k.breakInside||k.pageBreakInside)!==-1}}Object.keys(w).forEach(function(ct){w[ct]=w[ct]||ye[ct].indexOf(se)!==-1});var Y=se.getBoundingClientRect();if(w.avoid&&!w.before){var ke=Math.floor(Y.top/we),pe=Math.floor(Y.bottom/we),Ue=Math.abs(Y.bottom-Y.top)/we;pe!==ke&&Ue<=1&&(w.before=!0)}if(w.before){var at=(0,te.createElement)("div",{style:{display:"block",height:we-Y.top%we+"px"}});se.parentNode.insertBefore(at,se)}if(w.after){var at=(0,te.createElement)("div",{style:{display:"block",height:we-Y.bottom%we+"px"}});se.parentNode.insertBefore(at,se.nextSibling)}})})}},"./src/utils.js":function(y,V,c){"use strict";c.r(V),c.d(V,{objType:function(){return xe},createElement:function(){return Q},cloneNode:function(){return ye},unitConvert:function(){return j},toPx:function(){return I}});var T=c("./node_modules/core-js/modules/es.number.constructor.js"),F=c.n(T),G=c("./node_modules/core-js/modules/es.symbol.js"),R=c.n(G),X=c("./node_modules/core-js/modules/es.symbol.description.js"),N=c.n(X),A=c("./node_modules/core-js/modules/es.object.to-string.js"),S=c.n(A),E=c("./node_modules/core-js/modules/es.symbol.iterator.js"),oe=c.n(E),J=c("./node_modules/core-js/modules/es.array.iterator.js"),te=c.n(J),$e=c("./node_modules/core-js/modules/es.string.iterator.js"),Ne=c.n($e),Qe=c("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Ze=c.n(Qe);function we(rt){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?we=function(se){return typeof se}:we=function(se){return se&&typeof Symbol=="function"&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se},we(rt)}var xe=function(le){var se=we(le);return se==="undefined"?"undefined":se==="string"||le instanceof String?"string":se==="number"||le instanceof Number?"number":se==="function"||le instanceof Function?"function":le&&le.constructor===Array?"array":le&&le.nodeType===1?"element":se==="object"?"object":"unknown"},Q=function(le,se){var w=document.createElement(le);if(se.className&&(w.className=se.className),se.innerHTML){w.innerHTML=se.innerHTML;for(var k=w.getElementsByTagName("script"),z=k.length;z-- >0;null)k[z].parentNode.removeChild(k[z])}for(var C in se.style)w.style[C]=se.style[C];return w},ye=function rt(le,se){for(var w=le.nodeType===3?document.createTextNode(le.nodeValue):le.cloneNode(!1),k=le.firstChild;k;k=k.nextSibling)(se===!0||k.nodeType!==1||k.nodeName!=="SCRIPT")&&w.appendChild(rt(k,se));return le.nodeType===1&&(le.nodeName==="CANVAS"?(w.width=le.width,w.height=le.height,w.getContext("2d").drawImage(le,0,0)):(le.nodeName==="TEXTAREA"||le.nodeName==="SELECT")&&(w.value=le.value),w.addEventListener("load",function(){w.scrollTop=le.scrollTop,w.scrollLeft=le.scrollLeft},!0)),w},j=function(le,se){if(xe(le)==="number")return le*72/96/se;var w={};for(var k in le)w[k]=le[k]*72/96/se;return w},I=function(le,se){return Math.floor(le*se/72*96)}},"./src/worker.js":function(y,V,c){"use strict";c.r(V);var T=c("./node_modules/core-js/modules/es.object.assign.js"),F=c.n(T),G=c("./node_modules/core-js/modules/es.array.map.js"),R=c.n(G),X=c("./node_modules/core-js/modules/es.object.keys.js"),N=c.n(X),A=c("./node_modules/core-js/modules/es.array.concat.js"),S=c.n(A),E=c("./node_modules/core-js/modules/es.object.to-string.js"),oe=c.n(E),J=c("./node_modules/core-js/modules/es.regexp.to-string.js"),te=c.n(J),$e=c("./node_modules/core-js/modules/es.function.name.js"),Ne=c.n($e),Qe=c("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Ze=c.n(Qe),we=c("jspdf"),xe=c.n(we),Q=c("html2canvas"),ye=c.n(Q),j=c("./src/utils.js"),I=c("./node_modules/es6-promise/dist/es6-promise.js"),rt=c.n(I),le=rt().Promise,se=function w(k){var z=Object.assign(w.convert(le.resolve()),JSON.parse(JSON.stringify(w.template))),C=w.convert(le.resolve(),z);return C=C.setProgress(1,w,1,[w]),C=C.set(k),C};se.prototype=Object.create(le.prototype),se.prototype.constructor=se,se.convert=function(k,z){return k.__proto__=z||se.prototype,k},se.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:{}}},se.prototype.from=function(k,z){function C(Y){switch((0,j.objType)(Y)){case"string":return"string";case"element":return Y.nodeName.toLowerCase&&Y.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(z=z||C(k),z){case"string":return this.set({src:(0,j.createElement)("div",{innerHTML:k})});case"element":return this.set({src:k});case"canvas":return this.set({canvas:k});case"img":return this.set({img:k});default:return this.error("Unknown source type.")}})},se.prototype.to=function(k){switch(k){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.")}},se.prototype.toContainer=function(){var k=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(k).then(function(){var C={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},Y={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};C.opacity=0;var ke=(0,j.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,j.createElement)("div",{className:"html2pdf__overlay",style:C}),this.prop.container=(0,j.createElement)("div",{className:"html2pdf__container",style:Y}),this.prop.container.appendChild(ke),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},se.prototype.toCanvas=function(){var k=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(k).then(function(){var C=Object.assign({},this.opt.html2canvas);return delete C.onrendered,Q(this.prop.container,C)}).then(function(C){var Y=this.opt.html2canvas.onrendered||function(){};Y(C),this.prop.canvas=C,document.body.removeChild(this.prop.overlay)})},se.prototype.toImg=function(){var k=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(k).then(function(){var C=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=C})},se.prototype.toPdf=function(){var k=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(k).then(function(){var C=this.prop.canvas,Y=this.opt,ke=C.height,pe=Math.floor(C.width*this.prop.pageSize.inner.ratio),Ue=Math.ceil(ke/pe),at=this.prop.pageSize.inner.height,ct=document.createElement("canvas"),ce=ct.getContext("2d");ct.width=C.width,ct.height=pe,this.prop.pdf=this.prop.pdf||new we.jsPDF(Y.jsPDF);for(var Le=0;Le<Ue;Le++){Le===Ue-1&&ke%pe!==0&&(ct.height=ke%pe,at=ct.height*this.prop.pageSize.inner.width/ct.width);var wt=ct.width,Fe=ct.height;ce.fillStyle="white",ce.fillRect(0,0,wt,Fe),ce.drawImage(C,0,Le*pe,wt,Fe,0,0,wt,Fe),Le&&this.prop.pdf.addPage();var De=ct.toDataURL("image/"+Y.image.type,Y.image.quality);this.prop.pdf.addImage(De,Y.image.type,Y.margin[1],Y.margin[0],this.prop.pageSize.inner.width,at)}})},se.prototype.output=function(k,z,C){return C=C||"pdf",C.toLowerCase()==="img"||C.toLowerCase()==="image"?this.outputImg(k,z):this.outputPdf(k,z)},se.prototype.outputPdf=function(k,z){var C=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(C).then(function(){return this.prop.pdf.output(k,z)})},se.prototype.outputImg=function(k,z){var C=[function(){return this.prop.img||this.toImg()}];return this.thenList(C).then(function(){switch(k){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 "'+k+'" is not supported.'}})},se.prototype.save=function(k){var z=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(z).set(k?{filename:k}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},se.prototype.set=function(k){if((0,j.objType)(k)!=="object")return this;var z=Object.keys(k||{}).map(function(C){switch(C){case"margin":return this.setMargin.bind(this,k.margin);case"jsPDF":return function(){return this.opt.jsPDF=k.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,k.pageSize);default:return C in se.template.prop?function(){this.prop[C]=k[C]}:function(){this.opt[C]=k[C]}}},this);return this.then(function(){return this.thenList(z)})},se.prototype.get=function(k,z){return this.then(function(){var Y=k in se.template.prop?this.prop[k]:this.opt[k];return z?z(Y):Y})},se.prototype.setMargin=function(k){return this.then(function(){switch((0,j.objType)(k)){case"number":k=[k,k,k,k];case"array":if(k.length===2&&(k=[k[0],k[1],k[0],k[1]]),k.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=k}).then(this.setPageSize)},se.prototype.setPageSize=function(k){return this.then(function(){k=k||we.jsPDF.getPageSize(this.opt.jsPDF),k.hasOwnProperty("inner")||(k.inner={width:k.width-this.opt.margin[1]-this.opt.margin[3],height:k.height-this.opt.margin[0]-this.opt.margin[2]},k.inner.px={width:(0,j.toPx)(k.inner.width,k.k),height:(0,j.toPx)(k.inner.height,k.k)},k.inner.ratio=k.inner.height/k.inner.width),this.prop.pageSize=k})},se.prototype.setProgress=function(k,z,C,Y){return k!=null&&(this.progress.val=k),z!=null&&(this.progress.state=z),C!=null&&(this.progress.n=C),Y!=null&&(this.progress.stack=Y),this.progress.ratio=this.progress.val/this.progress.state,this},se.prototype.updateProgress=function(k,z,C,Y){return this.setProgress(k?this.progress.val+k:null,z||null,C?this.progress.n+C:null,Y?this.progress.stack.concat(Y):null)},se.prototype.then=function(k,z){var C=this;return this.thenCore(k,z,function(ke,pe){return C.updateProgress(null,null,1,[ke]),le.prototype.then.call(this,function(at){return C.updateProgress(null,ke),at}).then(ke,pe).then(function(at){return C.updateProgress(1),at})})},se.prototype.thenCore=function(k,z,C){C=C||le.prototype.then;var Y=this;k&&(k=k.bind(Y)),z&&(z=z.bind(Y));var ke=le.toString().indexOf("[native code]")!==-1&&le.name==="Promise",pe=ke?Y:se.convert(Object.assign({},Y),le.prototype),Ue=C.call(pe,k,z);return se.convert(Ue,Y.__proto__)},se.prototype.thenExternal=function(k,z){return le.prototype.then.call(this,k,z)},se.prototype.thenList=function(k){var z=this;return k.forEach(function(Y){z=z.thenCore(Y)}),z},se.prototype.catch=function(w){w&&(w=w.bind(this));var k=le.prototype.catch.call(this,w);return se.convert(k,this)},se.prototype.catchExternal=function(k){return le.prototype.catch.call(this,k)},se.prototype.error=function(k){return this.then(function(){throw new Error(k)})},se.prototype.using=se.prototype.set,se.prototype.saveAs=se.prototype.save,se.prototype.export=se.prototype.output,se.prototype.run=se.prototype.then,V.default=se},"./node_modules/core-js/internals/a-function.js":function(y){y.exports=function(V){if(typeof V!="function")throw TypeError(String(V)+" is not a function");return V}},"./node_modules/core-js/internals/a-possible-prototype.js":function(y,V,c){var T=c("./node_modules/core-js/internals/is-object.js");y.exports=function(F){if(!T(F)&&F!==null)throw TypeError("Can't set "+String(F)+" as a prototype");return F}},"./node_modules/core-js/internals/add-to-unscopables.js":function(y,V,c){var T=c("./node_modules/core-js/internals/well-known-symbol.js"),F=c("./node_modules/core-js/internals/object-create.js"),G=c("./node_modules/core-js/internals/object-define-property.js"),R=T("unscopables"),X=Array.prototype;X[R]==null&&G.f(X,R,{configurable:!0,value:F(null)}),y.exports=function(N){X[R][N]=!0}},"./node_modules/core-js/internals/an-object.js":function(y,V,c){var T=c("./node_modules/core-js/internals/is-object.js");y.exports=function(F){if(!T(F))throw TypeError(String(F)+" is not an object");return F}},"./node_modules/core-js/internals/array-for-each.js":function(y,V,c){"use strict";var T=c("./node_modules/core-js/internals/array-iteration.js").forEach,F=c("./node_modules/core-js/internals/array-method-is-strict.js"),G=F("forEach");y.exports=G?[].forEach:function(X){return T(this,X,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(y,V,c){var T=c("./node_modules/core-js/internals/to-indexed-object.js"),F=c("./node_modules/core-js/internals/to-length.js"),G=c("./node_modules/core-js/internals/to-absolute-index.js"),R=function(X){return function(N,A,S){var E=T(N),oe=F(E.length),J=G(S,oe),te;if(X&&A!=A){for(;oe>J;)if(te=E[J++],te!=te)return!0}else for(;oe>J;J++)if((X||J in E)&&E[J]===A)return X||J||0;return!X&&-1}};y.exports={includes:R(!0),indexOf:R(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(y,V,c){var T=c("./node_modules/core-js/internals/function-bind-context.js"),F=c("./node_modules/core-js/internals/indexed-object.js"),G=c("./node_modules/core-js/internals/to-object.js"),R=c("./node_modules/core-js/internals/to-length.js"),X=c("./node_modules/core-js/internals/array-species-create.js"),N=[].push,A=function(S){var E=S==1,oe=S==2,J=S==3,te=S==4,$e=S==6,Ne=S==7,Qe=S==5||$e;return function(Ze,we,xe,Q){for(var ye=G(Ze),j=F(ye),I=T(we,xe,3),rt=R(j.length),le=0,se=Q||X,w=E?se(Ze,rt):oe||Ne?se(Ze,0):void 0,k,z;rt>le;le++)if((Qe||le in j)&&(k=j[le],z=I(k,le,ye),S))if(E)w[le]=z;else if(z)switch(S){case 3:return!0;case 5:return k;case 6:return le;case 2:N.call(w,k)}else switch(S){case 4:return!1;case 7:N.call(w,k)}return $e?-1:J||te?te:w}};y.exports={forEach:A(0),map:A(1),filter:A(2),some:A(3),every:A(4),find:A(5),findIndex:A(6),filterReject:A(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(y,V,c){var T=c("./node_modules/core-js/internals/fails.js"),F=c("./node_modules/core-js/internals/well-known-symbol.js"),G=c("./node_modules/core-js/internals/engine-v8-version.js"),R=F("species");y.exports=function(X){return G>=51||!T(function(){var N=[],A=N.constructor={};return A[R]=function(){return{foo:1}},N[X](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(y,V,c){"use strict";var T=c("./node_modules/core-js/internals/fails.js");y.exports=function(F,G){var R=[][F];return!!R&&T(function(){R.call(null,G||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(y,V,c){var T=c("./node_modules/core-js/internals/is-object.js"),F=c("./node_modules/core-js/internals/is-array.js"),G=c("./node_modules/core-js/internals/well-known-symbol.js"),R=G("species");y.exports=function(X){var N;return F(X)&&(N=X.constructor,typeof N=="function"&&(N===Array||F(N.prototype))?N=void 0:T(N)&&(N=N[R],N===null&&(N=void 0))),N===void 0?Array:N}},"./node_modules/core-js/internals/array-species-create.js":function(y,V,c){var T=c("./node_modules/core-js/internals/array-species-constructor.js");y.exports=function(F,G){return new(T(F))(G===0?0:G)}},"./node_modules/core-js/internals/classof-raw.js":function(y){var V={}.toString;y.exports=function(c){return V.call(c).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(y,V,c){var T=c("./node_modules/core-js/internals/to-string-tag-support.js"),F=c("./node_modules/core-js/internals/classof-raw.js"),G=c("./node_modules/core-js/internals/well-known-symbol.js"),R=G("toStringTag"),X=F(function(){return arguments}())=="Arguments",N=function(A,S){try{return A[S]}catch(E){}};y.exports=T?F:function(A){var S,E,oe;return A===void 0?"Undefined":A===null?"Null":typeof(E=N(S=Object(A),R))=="string"?E:X?F(S):(oe=F(S))=="Object"&&typeof S.callee=="function"?"Arguments":oe}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(y,V,c){var T=c("./node_modules/core-js/internals/has.js"),F=c("./node_modules/core-js/internals/own-keys.js"),G=c("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),R=c("./node_modules/core-js/internals/object-define-property.js");y.exports=function(X,N){for(var A=F(N),S=R.f,E=G.f,oe=0;oe<A.length;oe++){var J=A[oe];T(X,J)||S(X,J,E(N,J))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(y,V,c){var T=c("./node_modules/core-js/internals/fails.js");y.exports=!T(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})},"./node_modules/core-js/internals/create-html.js":function(y,V,c){var T=c("./node_modules/core-js/internals/require-object-coercible.js"),F=c("./node_modules/core-js/internals/to-string.js"),G=/"/g;y.exports=function(R,X,N,A){var S=F(T(R)),E="<"+X;return N!==""&&(E+=" "+N+'="'+F(A).replace(G,"&quot;")+'"'),E+">"+S+"</"+X+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(y,V,c){"use strict";var T=c("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,F=c("./node_modules/core-js/internals/object-create.js"),G=c("./node_modules/core-js/internals/create-property-descriptor.js"),R=c("./node_modules/core-js/internals/set-to-string-tag.js"),X=c("./node_modules/core-js/internals/iterators.js"),N=function(){return this};y.exports=function(A,S,E){var oe=S+" Iterator";return A.prototype=F(T,{next:G(1,E)}),R(A,oe,!1,!0),X[oe]=N,A}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(y,V,c){var T=c("./node_modules/core-js/internals/descriptors.js"),F=c("./node_modules/core-js/internals/object-define-property.js"),G=c("./node_modules/core-js/internals/create-property-descriptor.js");y.exports=T?function(R,X,N){return F.f(R,X,G(1,N))}:function(R,X,N){return R[X]=N,R}},"./node_modules/core-js/internals/create-property-descriptor.js":function(y){y.exports=function(V,c){return{enumerable:!(V&1),configurable:!(V&2),writable:!(V&4),value:c}}},"./node_modules/core-js/internals/create-property.js":function(y,V,c){"use strict";var T=c("./node_modules/core-js/internals/to-property-key.js"),F=c("./node_modules/core-js/internals/object-define-property.js"),G=c("./node_modules/core-js/internals/create-property-descriptor.js");y.exports=function(R,X,N){var A=T(X);A in R?F.f(R,A,G(0,N)):R[A]=N}},"./node_modules/core-js/internals/define-iterator.js":function(y,V,c){"use strict";var T=c("./node_modules/core-js/internals/export.js"),F=c("./node_modules/core-js/internals/create-iterator-constructor.js"),G=c("./node_modules/core-js/internals/object-get-prototype-of.js"),R=c("./node_modules/core-js/internals/object-set-prototype-of.js"),X=c("./node_modules/core-js/internals/set-to-string-tag.js"),N=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),A=c("./node_modules/core-js/internals/redefine.js"),S=c("./node_modules/core-js/internals/well-known-symbol.js"),E=c("./node_modules/core-js/internals/is-pure.js"),oe=c("./node_modules/core-js/internals/iterators.js"),J=c("./node_modules/core-js/internals/iterators-core.js"),te=J.IteratorPrototype,$e=J.BUGGY_SAFARI_ITERATORS,Ne=S("iterator"),Qe="keys",Ze="values",we="entries",xe=function(){return this};y.exports=function(Q,ye,j,I,rt,le,se){F(j,ye,I);var w=function(ce){if(ce===rt&&ke)return ke;if(!$e&&ce in C)return C[ce];switch(ce){case Qe:return function(){return new j(this,ce)};case Ze:return function(){return new j(this,ce)};case we:return function(){return new j(this,ce)}}return function(){return new j(this)}},k=ye+" Iterator",z=!1,C=Q.prototype,Y=C[Ne]||C["@@iterator"]||rt&&C[rt],ke=!$e&&Y||w(rt),pe=ye=="Array"&&C.entries||Y,Ue,at,ct;if(pe&&(Ue=G(pe.call(new Q)),te!==Object.prototype&&Ue.next&&(!E&&G(Ue)!==te&&(R?R(Ue,te):typeof Ue[Ne]!="function"&&N(Ue,Ne,xe)),X(Ue,k,!0,!0),E&&(oe[k]=xe))),rt==Ze&&Y&&Y.name!==Ze&&(z=!0,ke=function(){return Y.call(this)}),(!E||se)&&C[Ne]!==ke&&N(C,Ne,ke),oe[ye]=ke,rt)if(at={values:w(Ze),keys:le?ke:w(Qe),entries:w(we)},se)for(ct in at)($e||z||!(ct in C))&&A(C,ct,at[ct]);else T({target:ye,proto:!0,forced:$e||z},at);return at}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(y,V,c){var T=c("./node_modules/core-js/internals/path.js"),F=c("./node_modules/core-js/internals/has.js"),G=c("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),R=c("./node_modules/core-js/internals/object-define-property.js").f;y.exports=function(X){var N=T.Symbol||(T.Symbol={});F(N,X)||R(N,X,{value:G.f(X)})}},"./node_modules/core-js/internals/descriptors.js":function(y,V,c){var T=c("./node_modules/core-js/internals/fails.js");y.exports=!T(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(y,V,c){var T=c("./node_modules/core-js/internals/global.js"),F=c("./node_modules/core-js/internals/is-object.js"),G=T.document,R=F(G)&&F(G.createElement);y.exports=function(X){return R?G.createElement(X):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(y){y.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(y,V,c){var T=c("./node_modules/core-js/internals/get-built-in.js");y.exports=T("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(y,V,c){var T=c("./node_modules/core-js/internals/global.js"),F=c("./node_modules/core-js/internals/engine-user-agent.js"),G=T.process,R=T.Deno,X=G&&G.versions||R&&R.version,N=X&&X.v8,A,S;N?(A=N.split("."),S=A[0]<4?1:A[0]+A[1]):F&&(A=F.match(/Edge\/(\d+)/),(!A||A[1]>=74)&&(A=F.match(/Chrome\/(\d+)/),A&&(S=A[1]))),y.exports=S&&+S},"./node_modules/core-js/internals/enum-bug-keys.js":function(y){y.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(y,V,c){var T=c("./node_modules/core-js/internals/global.js"),F=c("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,G=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),R=c("./node_modules/core-js/internals/redefine.js"),X=c("./node_modules/core-js/internals/set-global.js"),N=c("./node_modules/core-js/internals/copy-constructor-properties.js"),A=c("./node_modules/core-js/internals/is-forced.js");y.exports=function(S,E){var oe=S.target,J=S.global,te=S.stat,$e,Ne,Qe,Ze,we,xe;if(J?Ne=T:te?Ne=T[oe]||X(oe,{}):Ne=(T[oe]||{}).prototype,Ne)for(Qe in E){if(we=E[Qe],S.noTargetGet?(xe=F(Ne,Qe),Ze=xe&&xe.value):Ze=Ne[Qe],$e=A(J?Qe:oe+(te?".":"#")+Qe,S.forced),!$e&&Ze!==void 0){if(typeof we==typeof Ze)continue;N(we,Ze)}(S.sham||Ze&&Ze.sham)&&G(we,"sham",!0),R(Ne,Qe,we,S)}}},"./node_modules/core-js/internals/fails.js":function(y){y.exports=function(V){try{return!!V()}catch(c){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(y,V,c){var T=c("./node_modules/core-js/internals/a-function.js");y.exports=function(F,G,R){if(T(F),G===void 0)return F;switch(R){case 0:return function(){return F.call(G)};case 1:return function(X){return F.call(G,X)};case 2:return function(X,N){return F.call(G,X,N)};case 3:return function(X,N,A){return F.call(G,X,N,A)}}return function(){return F.apply(G,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(y,V,c){var T=c("./node_modules/core-js/internals/global.js"),F=function(G){return typeof G=="function"?G:void 0};y.exports=function(G,R){return arguments.length<2?F(T[G]):T[G]&&T[G][R]}},"./node_modules/core-js/internals/global.js":function(y){var V=function(c){return c&&c.Math==Math&&c};y.exports=V(typeof globalThis=="object"&&globalThis)||V(typeof window=="object"&&window)||V(typeof self=="object"&&self)||V(typeof n.g=="object"&&n.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(y,V,c){var T=c("./node_modules/core-js/internals/to-object.js"),F={}.hasOwnProperty;y.exports=Object.hasOwn||function(R,X){return F.call(T(R),X)}},"./node_modules/core-js/internals/hidden-keys.js":function(y){y.exports={}},"./node_modules/core-js/internals/html.js":function(y,V,c){var T=c("./node_modules/core-js/internals/get-built-in.js");y.exports=T("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(y,V,c){var T=c("./node_modules/core-js/internals/descriptors.js"),F=c("./node_modules/core-js/internals/fails.js"),G=c("./node_modules/core-js/internals/document-create-element.js");y.exports=!T&&!F(function(){return Object.defineProperty(G("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(y,V,c){var T=c("./node_modules/core-js/internals/fails.js"),F=c("./node_modules/core-js/internals/classof-raw.js"),G="".split;y.exports=T(function(){return!Object("z").propertyIsEnumerable(0)})?function(R){return F(R)=="String"?G.call(R,""):Object(R)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(y,V,c){var T=c("./node_modules/core-js/internals/is-object.js"),F=c("./node_modules/core-js/internals/object-set-prototype-of.js");y.exports=function(G,R,X){var N,A;return F&&typeof(N=R.constructor)=="function"&&N!==X&&T(A=N.prototype)&&A!==X.prototype&&F(G,A),G}},"./node_modules/core-js/internals/inspect-source.js":function(y,V,c){var T=c("./node_modules/core-js/internals/shared-store.js"),F=Function.toString;typeof T.inspectSource!="function"&&(T.inspectSource=function(G){return F.call(G)}),y.exports=T.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(y,V,c){var T=c("./node_modules/core-js/internals/native-weak-map.js"),F=c("./node_modules/core-js/internals/global.js"),G=c("./node_modules/core-js/internals/is-object.js"),R=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),X=c("./node_modules/core-js/internals/has.js"),N=c("./node_modules/core-js/internals/shared-store.js"),A=c("./node_modules/core-js/internals/shared-key.js"),S=c("./node_modules/core-js/internals/hidden-keys.js"),E="Object already initialized",oe=F.WeakMap,J,te,$e,Ne=function(j){return $e(j)?te(j):J(j,{})},Qe=function(j){return function(I){var rt;if(!G(I)||(rt=te(I)).type!==j)throw TypeError("Incompatible receiver, "+j+" required");return rt}};if(T||N.state){var Ze=N.state||(N.state=new oe),we=Ze.get,xe=Ze.has,Q=Ze.set;J=function(j,I){if(xe.call(Ze,j))throw new TypeError(E);return I.facade=j,Q.call(Ze,j,I),I},te=function(j){return we.call(Ze,j)||{}},$e=function(j){return xe.call(Ze,j)}}else{var ye=A("state");S[ye]=!0,J=function(j,I){if(X(j,ye))throw new TypeError(E);return I.facade=j,R(j,ye,I),I},te=function(j){return X(j,ye)?j[ye]:{}},$e=function(j){return X(j,ye)}}y.exports={set:J,get:te,has:$e,enforce:Ne,getterFor:Qe}},"./node_modules/core-js/internals/is-array.js":function(y,V,c){var T=c("./node_modules/core-js/internals/classof-raw.js");y.exports=Array.isArray||function(G){return T(G)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(y,V,c){var T=c("./node_modules/core-js/internals/fails.js"),F=/#|\.prototype\./,G=function(S,E){var oe=X[R(S)];return oe==A?!0:oe==N?!1:typeof E=="function"?T(E):!!E},R=G.normalize=function(S){return String(S).replace(F,".").toLowerCase()},X=G.data={},N=G.NATIVE="N",A=G.POLYFILL="P";y.exports=G},"./node_modules/core-js/internals/is-object.js":function(y){y.exports=function(V){return typeof V=="object"?V!==null:typeof V=="function"}},"./node_modules/core-js/internals/is-pure.js":function(y){y.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(y,V,c){var T=c("./node_modules/core-js/internals/get-built-in.js"),F=c("./node_modules/core-js/internals/use-symbol-as-uid.js");y.exports=F?function(G){return typeof G=="symbol"}:function(G){var R=T("Symbol");return typeof R=="function"&&Object(G)instanceof R}},"./node_modules/core-js/internals/iterators-core.js":function(y,V,c){"use strict";var T=c("./node_modules/core-js/internals/fails.js"),F=c("./node_modules/core-js/internals/object-get-prototype-of.js"),G=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),R=c("./node_modules/core-js/internals/has.js"),X=c("./node_modules/core-js/internals/well-known-symbol.js"),N=c("./node_modules/core-js/internals/is-pure.js"),A=X("iterator"),S=!1,E=function(){return this},oe,J,te;[].keys&&(te=[].keys(),"next"in te?(J=F(F(te)),J!==Object.prototype&&(oe=J)):S=!0);var $e=oe==null||T(function(){var Ne={};return oe[A].call(Ne)!==Ne});$e&&(oe={}),(!N||$e)&&!R(oe,A)&&G(oe,A,E),y.exports={IteratorPrototype:oe,BUGGY_SAFARI_ITERATORS:S}},"./node_modules/core-js/internals/iterators.js":function(y){y.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(y,V,c){var T=c("./node_modules/core-js/internals/engine-v8-version.js"),F=c("./node_modules/core-js/internals/fails.js");y.exports=!!Object.getOwnPropertySymbols&&!F(function(){var G=Symbol();return!String(G)||!(Object(G)instanceof Symbol)||!Symbol.sham&&T&&T<41})},"./node_modules/core-js/internals/native-weak-map.js":function(y,V,c){var T=c("./node_modules/core-js/internals/global.js"),F=c("./node_modules/core-js/internals/inspect-source.js"),G=T.WeakMap;y.exports=typeof G=="function"&&/native code/.test(F(G))},"./node_modules/core-js/internals/object-assign.js":function(y,V,c){"use strict";var T=c("./node_modules/core-js/internals/descriptors.js"),F=c("./node_modules/core-js/internals/fails.js"),G=c("./node_modules/core-js/internals/object-keys.js"),R=c("./node_modules/core-js/internals/object-get-own-property-symbols.js"),X=c("./node_modules/core-js/internals/object-property-is-enumerable.js"),N=c("./node_modules/core-js/internals/to-object.js"),A=c("./node_modules/core-js/internals/indexed-object.js"),S=Object.assign,E=Object.defineProperty;y.exports=!S||F(function(){if(T&&S({b:1},S(E({},"a",{enumerable:!0,get:function(){E(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var oe={},J={},te=Symbol(),$e="abcdefghijklmnopqrst";return oe[te]=7,$e.split("").forEach(function(Ne){J[Ne]=Ne}),S({},oe)[te]!=7||G(S({},J)).join("")!=$e})?function(J,te){for(var $e=N(J),Ne=arguments.length,Qe=1,Ze=R.f,we=X.f;Ne>Qe;)for(var xe=A(arguments[Qe++]),Q=Ze?G(xe).concat(Ze(xe)):G(xe),ye=Q.length,j=0,I;ye>j;)I=Q[j++],(!T||we.call(xe,I))&&($e[I]=xe[I]);return $e}:S},"./node_modules/core-js/internals/object-create.js":function(y,V,c){var T=c("./node_modules/core-js/internals/an-object.js"),F=c("./node_modules/core-js/internals/object-define-properties.js"),G=c("./node_modules/core-js/internals/enum-bug-keys.js"),R=c("./node_modules/core-js/internals/hidden-keys.js"),X=c("./node_modules/core-js/internals/html.js"),N=c("./node_modules/core-js/internals/document-create-element.js"),A=c("./node_modules/core-js/internals/shared-key.js"),S=">",E="<",oe="prototype",J="script",te=A("IE_PROTO"),$e=function(){},Ne=function(Q){return E+J+S+Q+E+"/"+J+S},Qe=function(Q){Q.write(Ne("")),Q.close();var ye=Q.parentWindow.Object;return Q=null,ye},Ze=function(){var Q=N("iframe"),ye="java"+J+":",j;if(Q.style)return Q.style.display="none",X.appendChild(Q),Q.src=String(ye),j=Q.contentWindow.document,j.open(),j.write(Ne("document.F=Object")),j.close(),j.F},we,xe=function(){try{we=new ActiveXObject("htmlfile")}catch(ye){}xe=document.domain&&we?Qe(we):Ze()||Qe(we);for(var Q=G.length;Q--;)delete xe[oe][G[Q]];return xe()};R[te]=!0,y.exports=Object.create||function(ye,j){var I;return ye!==null?($e[oe]=T(ye),I=new $e,$e[oe]=null,I[te]=ye):I=xe(),j===void 0?I:F(I,j)}},"./node_modules/core-js/internals/object-define-properties.js":function(y,V,c){var T=c("./node_modules/core-js/internals/descriptors.js"),F=c("./node_modules/core-js/internals/object-define-property.js"),G=c("./node_modules/core-js/internals/an-object.js"),R=c("./node_modules/core-js/internals/object-keys.js");y.exports=T?Object.defineProperties:function(N,A){G(N);for(var S=R(A),E=S.length,oe=0,J;E>oe;)F.f(N,J=S[oe++],A[J]);return N}},"./node_modules/core-js/internals/object-define-property.js":function(y,V,c){var T=c("./node_modules/core-js/internals/descriptors.js"),F=c("./node_modules/core-js/internals/ie8-dom-define.js"),G=c("./node_modules/core-js/internals/an-object.js"),R=c("./node_modules/core-js/internals/to-property-key.js"),X=Object.defineProperty;V.f=T?X:function(A,S,E){if(G(A),S=R(S),G(E),F)try{return X(A,S,E)}catch(oe){}if("get"in E||"set"in E)throw TypeError("Accessors not supported");return"value"in E&&(A[S]=E.value),A}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(y,V,c){var T=c("./node_modules/core-js/internals/descriptors.js"),F=c("./node_modules/core-js/internals/object-property-is-enumerable.js"),G=c("./node_modules/core-js/internals/create-property-descriptor.js"),R=c("./node_modules/core-js/internals/to-indexed-object.js"),X=c("./node_modules/core-js/internals/to-property-key.js"),N=c("./node_modules/core-js/internals/has.js"),A=c("./node_modules/core-js/internals/ie8-dom-define.js"),S=Object.getOwnPropertyDescriptor;V.f=T?S:function(oe,J){if(oe=R(oe),J=X(J),A)try{return S(oe,J)}catch(te){}if(N(oe,J))return G(!F.f.call(oe,J),oe[J])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(y,V,c){var T=c("./node_modules/core-js/internals/to-indexed-object.js"),F=c("./node_modules/core-js/internals/object-get-own-property-names.js").f,G={}.toString,R=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],X=function(N){try{return F(N)}catch(A){return R.slice()}};y.exports.f=function(A){return R&&G.call(A)=="[object Window]"?X(A):F(T(A))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(y,V,c){var T=c("./node_modules/core-js/internals/object-keys-internal.js"),F=c("./node_modules/core-js/internals/enum-bug-keys.js"),G=F.concat("length","prototype");V.f=Object.getOwnPropertyNames||function(X){return T(X,G)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(y,V){V.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(y,V,c){var T=c("./node_modules/core-js/internals/has.js"),F=c("./node_modules/core-js/internals/to-object.js"),G=c("./node_modules/core-js/internals/shared-key.js"),R=c("./node_modules/core-js/internals/correct-prototype-getter.js"),X=G("IE_PROTO"),N=Object.prototype;y.exports=R?Object.getPrototypeOf:function(A){return A=F(A),T(A,X)?A[X]:typeof A.constructor=="function"&&A instanceof A.constructor?A.constructor.prototype:A instanceof Object?N:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(y,V,c){var T=c("./node_modules/core-js/internals/has.js"),F=c("./node_modules/core-js/internals/to-indexed-object.js"),G=c("./node_modules/core-js/internals/array-includes.js").indexOf,R=c("./node_modules/core-js/internals/hidden-keys.js");y.exports=function(X,N){var A=F(X),S=0,E=[],oe;for(oe in A)!T(R,oe)&&T(A,oe)&&E.push(oe);for(;N.length>S;)T(A,oe=N[S++])&&(~G(E,oe)||E.push(oe));return E}},"./node_modules/core-js/internals/object-keys.js":function(y,V,c){var T=c("./node_modules/core-js/internals/object-keys-internal.js"),F=c("./node_modules/core-js/internals/enum-bug-keys.js");y.exports=Object.keys||function(R){return T(R,F)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(y,V){"use strict";var c={}.propertyIsEnumerable,T=Object.getOwnPropertyDescriptor,F=T&&!c.call({1:2},1);V.f=F?function(R){var X=T(this,R);return!!X&&X.enumerable}:c},"./node_modules/core-js/internals/object-set-prototype-of.js":function(y,V,c){var T=c("./node_modules/core-js/internals/an-object.js"),F=c("./node_modules/core-js/internals/a-possible-prototype.js");y.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var G=!1,R={},X;try{X=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,X.call(R,[]),G=R instanceof Array}catch(N){}return function(A,S){return T(A),F(S),G?X.call(A,S):A.__proto__=S,A}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(y,V,c){"use strict";var T=c("./node_modules/core-js/internals/to-string-tag-support.js"),F=c("./node_modules/core-js/internals/classof.js");y.exports=T?{}.toString:function(){return"[object "+F(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(y,V,c){var T=c("./node_modules/core-js/internals/is-object.js");y.exports=function(F,G){var R,X;if(G==="string"&&typeof(R=F.toString)=="function"&&!T(X=R.call(F))||typeof(R=F.valueOf)=="function"&&!T(X=R.call(F))||G!=="string"&&typeof(R=F.toString)=="function"&&!T(X=R.call(F)))return X;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(y,V,c){var T=c("./node_modules/core-js/internals/get-built-in.js"),F=c("./node_modules/core-js/internals/object-get-own-property-names.js"),G=c("./node_modules/core-js/internals/object-get-own-property-symbols.js"),R=c("./node_modules/core-js/internals/an-object.js");y.exports=T("Reflect","ownKeys")||function(N){var A=F.f(R(N)),S=G.f;return S?A.concat(S(N)):A}},"./node_modules/core-js/internals/path.js":function(y,V,c){var T=c("./node_modules/core-js/internals/global.js");y.exports=T},"./node_modules/core-js/internals/redefine.js":function(y,V,c){var T=c("./node_modules/core-js/internals/global.js"),F=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),G=c("./node_modules/core-js/internals/has.js"),R=c("./node_modules/core-js/internals/set-global.js"),X=c("./node_modules/core-js/internals/inspect-source.js"),N=c("./node_modules/core-js/internals/internal-state.js"),A=N.get,S=N.enforce,E=String(String).split("String");(y.exports=function(oe,J,te,$e){var Ne=$e?!!$e.unsafe:!1,Qe=$e?!!$e.enumerable:!1,Ze=$e?!!$e.noTargetGet:!1,we;if(typeof te=="function"&&(typeof J=="string"&&!G(te,"name")&&F(te,"name",J),we=S(te),we.source||(we.source=E.join(typeof J=="string"?J:""))),oe===T){Qe?oe[J]=te:R(J,te);return}else Ne?!Ze&&oe[J]&&(Qe=!0):delete oe[J];Qe?oe[J]=te:F(oe,J,te)})(Function.prototype,"toString",function(){return typeof this=="function"&&A(this).source||X(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(y,V,c){"use strict";var T=c("./node_modules/core-js/internals/an-object.js");y.exports=function(){var F=T(this),G="";return F.global&&(G+="g"),F.ignoreCase&&(G+="i"),F.multiline&&(G+="m"),F.dotAll&&(G+="s"),F.unicode&&(G+="u"),F.sticky&&(G+="y"),G}},"./node_modules/core-js/internals/require-object-coercible.js":function(y){y.exports=function(V){if(V==null)throw TypeError("Can't call method on "+V);return V}},"./node_modules/core-js/internals/set-global.js":function(y,V,c){var T=c("./node_modules/core-js/internals/global.js");y.exports=function(F,G){try{Object.defineProperty(T,F,{value:G,configurable:!0,writable:!0})}catch(R){T[F]=G}return G}},"./node_modules/core-js/internals/set-to-string-tag.js":function(y,V,c){var T=c("./node_modules/core-js/internals/object-define-property.js").f,F=c("./node_modules/core-js/internals/has.js"),G=c("./node_modules/core-js/internals/well-known-symbol.js"),R=G("toStringTag");y.exports=function(X,N,A){X&&!F(X=A?X:X.prototype,R)&&T(X,R,{configurable:!0,value:N})}},"./node_modules/core-js/internals/shared-key.js":function(y,V,c){var T=c("./node_modules/core-js/internals/shared.js"),F=c("./node_modules/core-js/internals/uid.js"),G=T("keys");y.exports=function(R){return G[R]||(G[R]=F(R))}},"./node_modules/core-js/internals/shared-store.js":function(y,V,c){var T=c("./node_modules/core-js/internals/global.js"),F=c("./node_modules/core-js/internals/set-global.js"),G="__core-js_shared__",R=T[G]||F(G,{});y.exports=R},"./node_modules/core-js/internals/shared.js":function(y,V,c){var T=c("./node_modules/core-js/internals/is-pure.js"),F=c("./node_modules/core-js/internals/shared-store.js");(y.exports=function(G,R){return F[G]||(F[G]=R!==void 0?R:{})})("versions",[]).push({version:"3.16.0",mode:T?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(y,V,c){var T=c("./node_modules/core-js/internals/fails.js");y.exports=function(F){return T(function(){var G=""[F]('"');return G!==G.toLowerCase()||G.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(y,V,c){var T=c("./node_modules/core-js/internals/to-integer.js"),F=c("./node_modules/core-js/internals/to-string.js"),G=c("./node_modules/core-js/internals/require-object-coercible.js"),R=function(X){return function(N,A){var S=F(G(N)),E=T(A),oe=S.length,J,te;return E<0||E>=oe?X?"":void 0:(J=S.charCodeAt(E),J<55296||J>56319||E+1===oe||(te=S.charCodeAt(E+1))<56320||te>57343?X?S.charAt(E):J:X?S.slice(E,E+2):(J-55296<<10)+(te-56320)+65536)}};y.exports={codeAt:R(!1),charAt:R(!0)}},"./node_modules/core-js/internals/string-trim.js":function(y,V,c){var T=c("./node_modules/core-js/internals/require-object-coercible.js"),F=c("./node_modules/core-js/internals/to-string.js"),G=c("./node_modules/core-js/internals/whitespaces.js"),R="["+G+"]",X=RegExp("^"+R+R+"*"),N=RegExp(R+R+"*$"),A=function(S){return function(E){var oe=F(T(E));return S&1&&(oe=oe.replace(X,"")),S&2&&(oe=oe.replace(N,"")),oe}};y.exports={start:A(1),end:A(2),trim:A(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(y,V,c){var T=c("./node_modules/core-js/internals/to-integer.js"),F=Math.max,G=Math.min;y.exports=function(R,X){var N=T(R);return N<0?F(N+X,0):G(N,X)}},"./node_modules/core-js/internals/to-indexed-object.js":function(y,V,c){var T=c("./node_modules/core-js/internals/indexed-object.js"),F=c("./node_modules/core-js/internals/require-object-coercible.js");y.exports=function(G){return T(F(G))}},"./node_modules/core-js/internals/to-integer.js":function(y){var V=Math.ceil,c=Math.floor;y.exports=function(T){return isNaN(T=+T)?0:(T>0?c:V)(T)}},"./node_modules/core-js/internals/to-length.js":function(y,V,c){var T=c("./node_modules/core-js/internals/to-integer.js"),F=Math.min;y.exports=function(G){return G>0?F(T(G),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(y,V,c){var T=c("./node_modules/core-js/internals/require-object-coercible.js");y.exports=function(F){return Object(T(F))}},"./node_modules/core-js/internals/to-primitive.js":function(y,V,c){var T=c("./node_modules/core-js/internals/is-object.js"),F=c("./node_modules/core-js/internals/is-symbol.js"),G=c("./node_modules/core-js/internals/ordinary-to-primitive.js"),R=c("./node_modules/core-js/internals/well-known-symbol.js"),X=R("toPrimitive");y.exports=function(N,A){if(!T(N)||F(N))return N;var S=N[X],E;if(S!==void 0){if(A===void 0&&(A="default"),E=S.call(N,A),!T(E)||F(E))return E;throw TypeError("Can't convert object to primitive value")}return A===void 0&&(A="number"),G(N,A)}},"./node_modules/core-js/internals/to-property-key.js":function(y,V,c){var T=c("./node_modules/core-js/internals/to-primitive.js"),F=c("./node_modules/core-js/internals/is-symbol.js");y.exports=function(G){var R=T(G,"string");return F(R)?R:String(R)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(y,V,c){var T=c("./node_modules/core-js/internals/well-known-symbol.js"),F=T("toStringTag"),G={};G[F]="z",y.exports=String(G)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(y,V,c){var T=c("./node_modules/core-js/internals/is-symbol.js");y.exports=function(F){if(T(F))throw TypeError("Cannot convert a Symbol value to a string");return String(F)}},"./node_modules/core-js/internals/uid.js":function(y){var V=0,c=Math.random();y.exports=function(T){return"Symbol("+String(T===void 0?"":T)+")_"+(++V+c).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(y,V,c){var T=c("./node_modules/core-js/internals/native-symbol.js");y.exports=T&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(y,V,c){var T=c("./node_modules/core-js/internals/well-known-symbol.js");V.f=T},"./node_modules/core-js/internals/well-known-symbol.js":function(y,V,c){var T=c("./node_modules/core-js/internals/global.js"),F=c("./node_modules/core-js/internals/shared.js"),G=c("./node_modules/core-js/internals/has.js"),R=c("./node_modules/core-js/internals/uid.js"),X=c("./node_modules/core-js/internals/native-symbol.js"),N=c("./node_modules/core-js/internals/use-symbol-as-uid.js"),A=F("wks"),S=T.Symbol,E=N?S:S&&S.withoutSetter||R;y.exports=function(oe){return(!G(A,oe)||!(X||typeof A[oe]=="string"))&&(X&&G(S,oe)?A[oe]=S[oe]:A[oe]=E("Symbol."+oe)),A[oe]}},"./node_modules/core-js/internals/whitespaces.js":function(y){y.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(y,V,c){"use strict";var T=c("./node_modules/core-js/internals/export.js"),F=c("./node_modules/core-js/internals/fails.js"),G=c("./node_modules/core-js/internals/is-array.js"),R=c("./node_modules/core-js/internals/is-object.js"),X=c("./node_modules/core-js/internals/to-object.js"),N=c("./node_modules/core-js/internals/to-length.js"),A=c("./node_modules/core-js/internals/create-property.js"),S=c("./node_modules/core-js/internals/array-species-create.js"),E=c("./node_modules/core-js/internals/array-method-has-species-support.js"),oe=c("./node_modules/core-js/internals/well-known-symbol.js"),J=c("./node_modules/core-js/internals/engine-v8-version.js"),te=oe("isConcatSpreadable"),$e=9007199254740991,Ne="Maximum allowed index exceeded",Qe=J>=51||!F(function(){var Q=[];return Q[te]=!1,Q.concat()[0]!==Q}),Ze=E("concat"),we=function(Q){if(!R(Q))return!1;var ye=Q[te];return ye!==void 0?!!ye:G(Q)},xe=!Qe||!Ze;T({target:"Array",proto:!0,forced:xe},{concat:function(ye){var j=X(this),I=S(j,0),rt=0,le,se,w,k,z;for(le=-1,w=arguments.length;le<w;le++)if(z=le===-1?j:arguments[le],we(z)){if(k=N(z.length),rt+k>$e)throw TypeError(Ne);for(se=0;se<k;se++,rt++)se in z&&A(I,rt,z[se])}else{if(rt>=$e)throw TypeError(Ne);A(I,rt++,z)}return I.length=rt,I}})},"./node_modules/core-js/modules/es.array.iterator.js":function(y,V,c){"use strict";var T=c("./node_modules/core-js/internals/to-indexed-object.js"),F=c("./node_modules/core-js/internals/add-to-unscopables.js"),G=c("./node_modules/core-js/internals/iterators.js"),R=c("./node_modules/core-js/internals/internal-state.js"),X=c("./node_modules/core-js/internals/define-iterator.js"),N="Array Iterator",A=R.set,S=R.getterFor(N);y.exports=X(Array,"Array",function(E,oe){A(this,{type:N,target:T(E),index:0,kind:oe})},function(){var E=S(this),oe=E.target,J=E.kind,te=E.index++;return!oe||te>=oe.length?(E.target=void 0,{value:void 0,done:!0}):J=="keys"?{value:te,done:!1}:J=="values"?{value:oe[te],done:!1}:{value:[te,oe[te]],done:!1}},"values"),G.Arguments=G.Array,F("keys"),F("values"),F("entries")},"./node_modules/core-js/modules/es.array.join.js":function(y,V,c){"use strict";var T=c("./node_modules/core-js/internals/export.js"),F=c("./node_modules/core-js/internals/indexed-object.js"),G=c("./node_modules/core-js/internals/to-indexed-object.js"),R=c("./node_modules/core-js/internals/array-method-is-strict.js"),X=[].join,N=F!=Object,A=R("join",",");T({target:"Array",proto:!0,forced:N||!A},{join:function(E){return X.call(G(this),E===void 0?",":E)}})},"./node_modules/core-js/modules/es.array.map.js":function(y,V,c){"use strict";var T=c("./node_modules/core-js/internals/export.js"),F=c("./node_modules/core-js/internals/array-iteration.js").map,G=c("./node_modules/core-js/internals/array-method-has-species-support.js"),R=G("map");T({target:"Array",proto:!0,forced:!R},{map:function(N){return F(this,N,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(y,V,c){"use strict";var T=c("./node_modules/core-js/internals/export.js"),F=c("./node_modules/core-js/internals/is-object.js"),G=c("./node_modules/core-js/internals/is-array.js"),R=c("./node_modules/core-js/internals/to-absolute-index.js"),X=c("./node_modules/core-js/internals/to-length.js"),N=c("./node_modules/core-js/internals/to-indexed-object.js"),A=c("./node_modules/core-js/internals/create-property.js"),S=c("./node_modules/core-js/internals/well-known-symbol.js"),E=c("./node_modules/core-js/internals/array-method-has-species-support.js"),oe=E("slice"),J=S("species"),te=[].slice,$e=Math.max;T({target:"Array",proto:!0,forced:!oe},{slice:function(Qe,Ze){var we=N(this),xe=X(we.length),Q=R(Qe,xe),ye=R(Ze===void 0?xe:Ze,xe),j,I,rt;if(G(we)&&(j=we.constructor,typeof j=="function"&&(j===Array||G(j.prototype))?j=void 0:F(j)&&(j=j[J],j===null&&(j=void 0)),j===Array||j===void 0))return te.call(we,Q,ye);for(I=new(j===void 0?Array:j)($e(ye-Q,0)),rt=0;Q<ye;Q++,rt++)Q in we&&A(I,rt,we[Q]);return I.length=rt,I}})},"./node_modules/core-js/modules/es.function.name.js":function(y,V,c){var T=c("./node_modules/core-js/internals/descriptors.js"),F=c("./node_modules/core-js/internals/object-define-property.js").f,G=Function.prototype,R=G.toString,X=/^\s*function ([^ (]*)/,N="name";T&&!(N in G)&&F(G,N,{configurable:!0,get:function(){try{return R.call(this).match(X)[1]}catch(A){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(y,V,c){"use strict";var T=c("./node_modules/core-js/internals/descriptors.js"),F=c("./node_modules/core-js/internals/global.js"),G=c("./node_modules/core-js/internals/is-forced.js"),R=c("./node_modules/core-js/internals/redefine.js"),X=c("./node_modules/core-js/internals/has.js"),N=c("./node_modules/core-js/internals/classof-raw.js"),A=c("./node_modules/core-js/internals/inherit-if-required.js"),S=c("./node_modules/core-js/internals/is-symbol.js"),E=c("./node_modules/core-js/internals/to-primitive.js"),oe=c("./node_modules/core-js/internals/fails.js"),J=c("./node_modules/core-js/internals/object-create.js"),te=c("./node_modules/core-js/internals/object-get-own-property-names.js").f,$e=c("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Ne=c("./node_modules/core-js/internals/object-define-property.js").f,Qe=c("./node_modules/core-js/internals/string-trim.js").trim,Ze="Number",we=F[Ze],xe=we.prototype,Q=N(J(xe))==Ze,ye=function(se){if(S(se))throw TypeError("Cannot convert a Symbol value to a number");var w=E(se,"number"),k,z,C,Y,ke,pe,Ue,at;if(typeof w=="string"&&w.length>2){if(w=Qe(w),k=w.charCodeAt(0),k===43||k===45){if(z=w.charCodeAt(2),z===88||z===120)return NaN}else if(k===48){switch(w.charCodeAt(1)){case 66:case 98:C=2,Y=49;break;case 79:case 111:C=8,Y=55;break;default:return+w}for(ke=w.slice(2),pe=ke.length,Ue=0;Ue<pe;Ue++)if(at=ke.charCodeAt(Ue),at<48||at>Y)return NaN;return parseInt(ke,C)}}return+w};if(G(Ze,!we(" 0o1")||!we("0b1")||we("+0x1"))){for(var j=function(w){var k=arguments.length<1?0:w,z=this;return z instanceof j&&(Q?oe(function(){xe.valueOf.call(z)}):N(z)!=Ze)?A(new we(ye(k)),z,j):ye(k)},I=T?te(we):"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(","),rt=0,le;I.length>rt;rt++)X(we,le=I[rt])&&!X(j,le)&&Ne(j,le,$e(we,le));j.prototype=xe,xe.constructor=j,R(F,Ze,j)}},"./node_modules/core-js/modules/es.object.assign.js":function(y,V,c){var T=c("./node_modules/core-js/internals/export.js"),F=c("./node_modules/core-js/internals/object-assign.js");T({target:"Object",stat:!0,forced:Object.assign!==F},{assign:F})},"./node_modules/core-js/modules/es.object.keys.js":function(y,V,c){var T=c("./node_modules/core-js/internals/export.js"),F=c("./node_modules/core-js/internals/to-object.js"),G=c("./node_modules/core-js/internals/object-keys.js"),R=c("./node_modules/core-js/internals/fails.js"),X=R(function(){G(1)});T({target:"Object",stat:!0,forced:X},{keys:function(A){return G(F(A))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(y,V,c){var T=c("./node_modules/core-js/internals/to-string-tag-support.js"),F=c("./node_modules/core-js/internals/redefine.js"),G=c("./node_modules/core-js/internals/object-to-string.js");T||F(Object.prototype,"toString",G,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(y,V,c){"use strict";var T=c("./node_modules/core-js/internals/redefine.js"),F=c("./node_modules/core-js/internals/an-object.js"),G=c("./node_modules/core-js/internals/to-string.js"),R=c("./node_modules/core-js/internals/fails.js"),X=c("./node_modules/core-js/internals/regexp-flags.js"),N="toString",A=RegExp.prototype,S=A[N],E=R(function(){return S.call({source:"a",flags:"b"})!="/a/b"}),oe=S.name!=N;(E||oe)&&T(RegExp.prototype,N,function(){var te=F(this),$e=G(te.source),Ne=te.flags,Qe=G(Ne===void 0&&te instanceof RegExp&&!("flags"in A)?X.call(te):Ne);return"/"+$e+"/"+Qe},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(y,V,c){"use strict";var T=c("./node_modules/core-js/internals/string-multibyte.js").charAt,F=c("./node_modules/core-js/internals/to-string.js"),G=c("./node_modules/core-js/internals/internal-state.js"),R=c("./node_modules/core-js/internals/define-iterator.js"),X="String Iterator",N=G.set,A=G.getterFor(X);R(String,"String",function(S){N(this,{type:X,string:F(S),index:0})},function(){var E=A(this),oe=E.string,J=E.index,te;return J>=oe.length?{value:void 0,done:!0}:(te=T(oe,J),E.index+=te.length,{value:te,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(y,V,c){"use strict";var T=c("./node_modules/core-js/internals/export.js"),F=c("./node_modules/core-js/internals/create-html.js"),G=c("./node_modules/core-js/internals/string-html-forced.js");T({target:"String",proto:!0,forced:G("link")},{link:function(X){return F(this,"a","href",X)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(y,V,c){"use strict";var T=c("./node_modules/core-js/internals/export.js"),F=c("./node_modules/core-js/internals/descriptors.js"),G=c("./node_modules/core-js/internals/global.js"),R=c("./node_modules/core-js/internals/has.js"),X=c("./node_modules/core-js/internals/is-object.js"),N=c("./node_modules/core-js/internals/object-define-property.js").f,A=c("./node_modules/core-js/internals/copy-constructor-properties.js"),S=G.Symbol;if(F&&typeof S=="function"&&(!("description"in S.prototype)||S().description!==void 0)){var E={},oe=function(){var Ze=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),we=this instanceof oe?new S(Ze):Ze===void 0?S():S(Ze);return Ze===""&&(E[we]=!0),we};A(oe,S);var J=oe.prototype=S.prototype;J.constructor=oe;var te=J.toString,$e=String(S("test"))=="Symbol(test)",Ne=/^Symbol\((.*)\)[^)]+$/;N(J,"description",{configurable:!0,get:function(){var Ze=X(this)?this.valueOf():this,we=te.call(Ze);if(R(E,Ze))return"";var xe=$e?we.slice(7,-1):we.replace(Ne,"$1");return xe===""?void 0:xe}}),T({global:!0,forced:!0},{Symbol:oe})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(y,V,c){var T=c("./node_modules/core-js/internals/define-well-known-symbol.js");T("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(y,V,c){"use strict";var T=c("./node_modules/core-js/internals/export.js"),F=c("./node_modules/core-js/internals/global.js"),G=c("./node_modules/core-js/internals/get-built-in.js"),R=c("./node_modules/core-js/internals/is-pure.js"),X=c("./node_modules/core-js/internals/descriptors.js"),N=c("./node_modules/core-js/internals/native-symbol.js"),A=c("./node_modules/core-js/internals/fails.js"),S=c("./node_modules/core-js/internals/has.js"),E=c("./node_modules/core-js/internals/is-array.js"),oe=c("./node_modules/core-js/internals/is-object.js"),J=c("./node_modules/core-js/internals/is-symbol.js"),te=c("./node_modules/core-js/internals/an-object.js"),$e=c("./node_modules/core-js/internals/to-object.js"),Ne=c("./node_modules/core-js/internals/to-indexed-object.js"),Qe=c("./node_modules/core-js/internals/to-property-key.js"),Ze=c("./node_modules/core-js/internals/to-string.js"),we=c("./node_modules/core-js/internals/create-property-descriptor.js"),xe=c("./node_modules/core-js/internals/object-create.js"),Q=c("./node_modules/core-js/internals/object-keys.js"),ye=c("./node_modules/core-js/internals/object-get-own-property-names.js"),j=c("./node_modules/core-js/internals/object-get-own-property-names-external.js"),I=c("./node_modules/core-js/internals/object-get-own-property-symbols.js"),rt=c("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),le=c("./node_modules/core-js/internals/object-define-property.js"),se=c("./node_modules/core-js/internals/object-property-is-enumerable.js"),w=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),k=c("./node_modules/core-js/internals/redefine.js"),z=c("./node_modules/core-js/internals/shared.js"),C=c("./node_modules/core-js/internals/shared-key.js"),Y=c("./node_modules/core-js/internals/hidden-keys.js"),ke=c("./node_modules/core-js/internals/uid.js"),pe=c("./node_modules/core-js/internals/well-known-symbol.js"),Ue=c("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),at=c("./node_modules/core-js/internals/define-well-known-symbol.js"),ct=c("./node_modules/core-js/internals/set-to-string-tag.js"),ce=c("./node_modules/core-js/internals/internal-state.js"),Le=c("./node_modules/core-js/internals/array-iteration.js").forEach,wt=C("hidden"),Fe="Symbol",De="prototype",P=pe("toPrimitive"),_e=ce.set,be=ce.getterFor(Fe),he=Object[De],de=F.Symbol,me=G("JSON","stringify"),Ie=rt.f,Se=le.f,Me=j.f,Je=se.f,pt=z("symbols"),Ot=z("op-symbols"),_t=z("string-to-symbol-registry"),Gt=z("symbol-to-string-registry"),Pt=z("wks"),ot=F.QObject,xt=!ot||!ot[De]||!ot[De].findChild,jt=X&&A(function(){return xe(Se({},"a",{get:function(){return Se(this,"a",{value:7}).a}})).a!=7})?function(St,ae,Be){var zr=Ie(he,ae);zr&&delete he[ae],Se(St,ae,Be),zr&&St!==he&&Se(he,ae,zr)}:Se,Ht=function(St,ae){var Be=pt[St]=xe(de[De]);return _e(Be,{type:Fe,tag:St,description:ae}),X||(Be.description=ae),Be},Ct=function(ae,Be,zr){ae===he&&Ct(Ot,Be,zr),te(ae);var $r=Qe(Be);return te(zr),S(pt,$r)?(zr.enumerable?(S(ae,wt)&&ae[wt][$r]&&(ae[wt][$r]=!1),zr=xe(zr,{enumerable:we(0,!1)})):(S(ae,wt)||Se(ae,wt,we(1,{})),ae[wt][$r]=!0),jt(ae,$r,zr)):Se(ae,$r,zr)},er=function(ae,Be){te(ae);var zr=Ne(Be),$r=Q(zr).concat(x(zr));return Le($r,function(yn){(!X||Cr.call(zr,yn))&&Ct(ae,yn,zr[yn])}),ae},cr=function(ae,Be){return Be===void 0?xe(ae):er(xe(ae),Be)},Cr=function(ae){var Be=Qe(ae),zr=Je.call(this,Be);return this===he&&S(pt,Be)&&!S(Ot,Be)?!1:zr||!S(this,Be)||!S(pt,Be)||S(this,wt)&&this[wt][Be]?zr:!0},qr=function(ae,Be){var zr=Ne(ae),$r=Qe(Be);if(!(zr===he&&S(pt,$r)&&!S(Ot,$r))){var yn=Ie(zr,$r);return yn&&S(pt,$r)&&!(S(zr,wt)&&zr[wt][$r])&&(yn.enumerable=!0),yn}},Ar=function(ae){var Be=Me(Ne(ae)),zr=[];return Le(Be,function($r){!S(pt,$r)&&!S(Y,$r)&&zr.push($r)}),zr},x=function(ae){var Be=ae===he,zr=Me(Be?Ot:Ne(ae)),$r=[];return Le(zr,function(yn){S(pt,yn)&&(!Be||S(he,yn))&&$r.push(pt[yn])}),$r};if(N||(de=function(){if(this instanceof de)throw TypeError("Symbol is not a constructor");var ae=!arguments.length||arguments[0]===void 0?void 0:Ze(arguments[0]),Be=ke(ae),zr=function($r){this===he&&zr.call(Ot,$r),S(this,wt)&&S(this[wt],Be)&&(this[wt][Be]=!1),jt(this,Be,we(1,$r))};return X&&xt&&jt(he,Be,{configurable:!0,set:zr}),Ht(Be,ae)},k(de[De],"toString",function(){return be(this).tag}),k(de,"withoutSetter",function(St){return Ht(ke(St),St)}),se.f=Cr,le.f=Ct,rt.f=qr,ye.f=j.f=Ar,I.f=x,Ue.f=function(St){return Ht(pe(St),St)},X&&(Se(de[De],"description",{configurable:!0,get:function(){return be(this).description}}),R||k(he,"propertyIsEnumerable",Cr,{unsafe:!0}))),T({global:!0,wrap:!0,forced:!N,sham:!N},{Symbol:de}),Le(Q(Pt),function(St){at(St)}),T({target:Fe,stat:!0,forced:!N},{for:function(St){var ae=Ze(St);if(S(_t,ae))return _t[ae];var Be=de(ae);return _t[ae]=Be,Gt[Be]=ae,Be},keyFor:function(ae){if(!J(ae))throw TypeError(ae+" is not a symbol");if(S(Gt,ae))return Gt[ae]},useSetter:function(){xt=!0},useSimple:function(){xt=!1}}),T({target:"Object",stat:!0,forced:!N,sham:!X},{create:cr,defineProperty:Ct,defineProperties:er,getOwnPropertyDescriptor:qr}),T({target:"Object",stat:!0,forced:!N},{getOwnPropertyNames:Ar,getOwnPropertySymbols:x}),T({target:"Object",stat:!0,forced:A(function(){I.f(1)})},{getOwnPropertySymbols:function(ae){return I.f($e(ae))}}),me){var H=!N||A(function(){var St=de();return me([St])!="[null]"||me({a:St})!="{}"||me(Object(St))!="{}"});T({target:"JSON",stat:!0,forced:H},{stringify:function(ae,Be,zr){for(var $r=[ae],yn=1,Mn;arguments.length>yn;)$r.push(arguments[yn++]);if(Mn=Be,!(!oe(Be)&&ae===void 0||J(ae)))return E(Be)||(Be=function(Ft,Sr){if(typeof Mn=="function"&&(Sr=Mn.call(this,Ft,Sr)),!J(Sr))return Sr}),$r[1]=Be,me.apply(null,$r)}})}de[De][P]||w(de[De],P,de[De].valueOf),ct(de,Fe),Y[wt]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(y,V,c){var T=c("./node_modules/core-js/internals/global.js"),F=c("./node_modules/core-js/internals/dom-iterables.js"),G=c("./node_modules/core-js/internals/array-for-each.js"),R=c("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var X in F){var N=T[X],A=N&&N.prototype;if(A&&A.forEach!==G)try{R(A,"forEach",G)}catch(S){A.forEach=G}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(y,V,c){var T=c("./node_modules/core-js/internals/global.js"),F=c("./node_modules/core-js/internals/dom-iterables.js"),G=c("./node_modules/core-js/modules/es.array.iterator.js"),R=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),X=c("./node_modules/core-js/internals/well-known-symbol.js"),N=X("iterator"),A=X("toStringTag"),S=G.values;for(var E in F){var oe=T[E],J=oe&&oe.prototype;if(J){if(J[N]!==S)try{R(J,N,S)}catch($e){J[N]=S}if(J[A]||R(J,A,E),F[E]){for(var te in G)if(J[te]!==G[te])try{R(J,te,G[te])}catch($e){J[te]=G[te]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(y){(function(V,c){y.exports=c()})(this,function(){"use strict";function V(ot){var xt=typeof ot;return ot!==null&&(xt==="object"||xt==="function")}function c(ot){return typeof ot=="function"}var T=void 0;Array.isArray?T=Array.isArray:T=function(ot){return Object.prototype.toString.call(ot)==="[object Array]"};var F=T,G=0,R=void 0,X=void 0,N=function(xt,jt){Q[G]=xt,Q[G+1]=jt,G+=2,G===2&&(X?X(ye):I())};function A(ot){X=ot}function S(ot){N=ot}var E=typeof window!="undefined"?window:void 0,oe=E||{},J=oe.MutationObserver||oe.WebKitMutationObserver,te=typeof self=="undefined"&&typeof a!="undefined"&&{}.toString.call(a)==="[object process]",$e=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Ne(){return function(){return a.nextTick(ye)}}function Qe(){return typeof R!="undefined"?function(){R(ye)}:xe()}function Ze(){var ot=0,xt=new J(ye),jt=document.createTextNode("");return xt.observe(jt,{characterData:!0}),function(){jt.data=ot=++ot%2}}function we(){var ot=new MessageChannel;return ot.port1.onmessage=ye,function(){return ot.port2.postMessage(0)}}function xe(){var ot=setTimeout;return function(){return ot(ye,1)}}var Q=new Array(1e3);function ye(){for(var ot=0;ot<G;ot+=2){var xt=Q[ot],jt=Q[ot+1];xt(jt),Q[ot]=void 0,Q[ot+1]=void 0}G=0}function j(){try{var ot=Function("return this")().require("vertx");return R=ot.runOnLoop||ot.runOnContext,Qe()}catch(xt){return xe()}}var I=void 0;te?I=Ne():J?I=Ze():$e?I=we():E===void 0?I=j():I=xe();function rt(ot,xt){var jt=this,Ht=new this.constructor(w);Ht[se]===void 0&&me(Ht);var Ct=jt._state;if(Ct){var er=arguments[Ct-1];N(function(){return _e(Ct,Ht,er,jt._result)})}else De(jt,Ht,ot,xt);return Ht}function le(ot){var xt=this;if(ot&&typeof ot=="object"&&ot.constructor===xt)return ot;var jt=new xt(w);return ce(jt,ot),jt}var se=Math.random().toString(36).substring(2);function w(){}var k=void 0,z=1,C=2;function Y(){return new TypeError("You cannot resolve a promise with itself")}function ke(){return new TypeError("A promises callback cannot return that same promise.")}function pe(ot,xt,jt,Ht){try{ot.call(xt,jt,Ht)}catch(Ct){return Ct}}function Ue(ot,xt,jt){N(function(Ht){var Ct=!1,er=pe(jt,xt,function(cr){Ct||(Ct=!0,xt!==cr?ce(Ht,cr):wt(Ht,cr))},function(cr){Ct||(Ct=!0,Fe(Ht,cr))},"Settle: "+(Ht._label||" unknown promise"));!Ct&&er&&(Ct=!0,Fe(Ht,er))},ot)}function at(ot,xt){xt._state===z?wt(ot,xt._result):xt._state===C?Fe(ot,xt._result):De(xt,void 0,function(jt){return ce(ot,jt)},function(jt){return Fe(ot,jt)})}function ct(ot,xt,jt){xt.constructor===ot.constructor&&jt===rt&&xt.constructor.resolve===le?at(ot,xt):jt===void 0?wt(ot,xt):c(jt)?Ue(ot,xt,jt):wt(ot,xt)}function ce(ot,xt){if(ot===xt)Fe(ot,Y());else if(V(xt)){var jt=void 0;try{jt=xt.then}catch(Ht){Fe(ot,Ht);return}ct(ot,xt,jt)}else wt(ot,xt)}function Le(ot){ot._onerror&&ot._onerror(ot._result),P(ot)}function wt(ot,xt){ot._state===k&&(ot._result=xt,ot._state=z,ot._subscribers.length!==0&&N(P,ot))}function Fe(ot,xt){ot._state===k&&(ot._state=C,ot._result=xt,N(Le,ot))}function De(ot,xt,jt,Ht){var Ct=ot._subscribers,er=Ct.length;ot._onerror=null,Ct[er]=xt,Ct[er+z]=jt,Ct[er+C]=Ht,er===0&&ot._state&&N(P,ot)}function P(ot){var xt=ot._subscribers,jt=ot._state;if(xt.length!==0){for(var Ht=void 0,Ct=void 0,er=ot._result,cr=0;cr<xt.length;cr+=3)Ht=xt[cr],Ct=xt[cr+jt],Ht?_e(jt,Ht,Ct,er):Ct(er);ot._subscribers.length=0}}function _e(ot,xt,jt,Ht){var Ct=c(jt),er=void 0,cr=void 0,Cr=!0;if(Ct){try{er=jt(Ht)}catch(qr){Cr=!1,cr=qr}if(xt===er){Fe(xt,ke());return}}else er=Ht;xt._state!==k||(Ct&&Cr?ce(xt,er):Cr===!1?Fe(xt,cr):ot===z?wt(xt,er):ot===C&&Fe(xt,er))}function be(ot,xt){try{xt(function(Ht){ce(ot,Ht)},function(Ht){Fe(ot,Ht)})}catch(jt){Fe(ot,jt)}}var he=0;function de(){return he++}function me(ot){ot[se]=he++,ot._state=void 0,ot._result=void 0,ot._subscribers=[]}function Ie(){return new Error("Array Methods must be provided an Array")}var Se=function(){function ot(xt,jt){this._instanceConstructor=xt,this.promise=new xt(w),this.promise[se]||me(this.promise),F(jt)?(this.length=jt.length,this._remaining=jt.length,this._result=new Array(this.length),this.length===0?wt(this.promise,this._result):(this.length=this.length||0,this._enumerate(jt),this._remaining===0&&wt(this.promise,this._result))):Fe(this.promise,Ie())}return ot.prototype._enumerate=function(jt){for(var Ht=0;this._state===k&&Ht<jt.length;Ht++)this._eachEntry(jt[Ht],Ht)},ot.prototype._eachEntry=function(jt,Ht){var Ct=this._instanceConstructor,er=Ct.resolve;if(er===le){var cr=void 0,Cr=void 0,qr=!1;try{cr=jt.then}catch(x){qr=!0,Cr=x}if(cr===rt&&jt._state!==k)this._settledAt(jt._state,Ht,jt._result);else if(typeof cr!="function")this._remaining--,this._result[Ht]=jt;else if(Ct===Gt){var Ar=new Ct(w);qr?Fe(Ar,Cr):ct(Ar,jt,cr),this._willSettleAt(Ar,Ht)}else this._willSettleAt(new Ct(function(x){return x(jt)}),Ht)}else this._willSettleAt(er(jt),Ht)},ot.prototype._settledAt=function(jt,Ht,Ct){var er=this.promise;er._state===k&&(this._remaining--,jt===C?Fe(er,Ct):this._result[Ht]=Ct),this._remaining===0&&wt(er,this._result)},ot.prototype._willSettleAt=function(jt,Ht){var Ct=this;De(jt,void 0,function(er){return Ct._settledAt(z,Ht,er)},function(er){return Ct._settledAt(C,Ht,er)})},ot}();function Me(ot){return new Se(this,ot).promise}function Je(ot){var xt=this;return F(ot)?new xt(function(jt,Ht){for(var Ct=ot.length,er=0;er<Ct;er++)xt.resolve(ot[er]).then(jt,Ht)}):new xt(function(jt,Ht){return Ht(new TypeError("You must pass an array to race."))})}function pt(ot){var xt=this,jt=new xt(w);return Fe(jt,ot),jt}function Ot(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function _t(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Gt=function(){function ot(xt){this[se]=de(),this._result=this._state=void 0,this._subscribers=[],w!==xt&&(typeof xt!="function"&&Ot(),this instanceof ot?be(this,xt):_t())}return ot.prototype.catch=function(jt){return this.then(null,jt)},ot.prototype.finally=function(jt){var Ht=this,Ct=Ht.constructor;return c(jt)?Ht.then(function(er){return Ct.resolve(jt()).then(function(){return er})},function(er){return Ct.resolve(jt()).then(function(){throw er})}):Ht.then(jt,jt)},ot}();Gt.prototype.then=rt,Gt.all=Me,Gt.race=Je,Gt.resolve=le,Gt.reject=pt,Gt._setScheduler=A,Gt._setAsap=S,Gt._asap=N;function Pt(){var ot=void 0;if(typeof n.g!="undefined")ot=n.g;else if(typeof self!="undefined")ot=self;else try{ot=Function("return this")()}catch(Ht){throw new Error("polyfill failed because global object is unavailable in this environment")}var xt=ot.Promise;if(xt){var jt=null;try{jt=Object.prototype.toString.call(xt.resolve())}catch(Ht){}if(jt==="[object Promise]"&&!xt.cast)return}ot.Promise=Gt}return Gt.polyfill=Pt,Gt.Promise=Gt,Gt})},html2canvas:function(y){"use strict";y.exports=L},jspdf:function(y){"use strict";y.exports=qe}},q={};function ee(y){var V=q[y];if(V!==void 0)return V.exports;var c=q[y]={exports:{}};return Re[y].call(c.exports,c,c.exports,ee),c.exports}(function(){ee.n=function(y){var V=y&&y.__esModule?function(){return y.default}:function(){return y};return ee.d(V,{a:V}),V}})(),function(){ee.d=function(y,V){for(var c in V)ee.o(V,c)&&!ee.o(y,c)&&Object.defineProperty(y,c,{enumerable:!0,get:V[c]})}}(),function(){ee.o=function(y,V){return Object.prototype.hasOwnProperty.call(y,V)}}(),function(){ee.r=function(y){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})}}();var _={};return function(){"use strict";ee.r(_);var y=ee("./src/worker.js"),V=ee("./src/plugin/jspdf-plugin.js"),c=ee("./src/plugin/pagebreaks.js"),T=ee("./src/plugin/hyperlinks.js"),F=function G(R,X){var N=new G.Worker(X);return R?N.from(R).save():N};F.Worker=y.default,_.default=F}(),_=_.default,_}()})},85524:function(Yr,Kt,n){"use strict";n.r(Kt),n.d(Kt,{AcroForm:function(){return Be},AcroFormAppearance:function(){return St},AcroFormButton:function(){return er},AcroFormCheckBox:function(){return Ar},AcroFormChoiceField:function(){return xt},AcroFormComboBox:function(){return Ht},AcroFormEditBox:function(){return Ct},AcroFormListBox:function(){return jt},AcroFormPasswordField:function(){return H},AcroFormPushButton:function(){return cr},AcroFormRadioButton:function(){return Cr},AcroFormTextField:function(){return x},GState:function(){return le},ShadingPattern:function(){return w},TilingPattern:function(){return k},default:function(){return z},jsPDF:function(){return z}});var a=n(76190),qe=n(6330),L=n(42978),Re=n(6341);var q=function(){return typeof window!="undefined"?window:typeof n.g!="undefined"?n.g:typeof self!="undefined"?self:this}();function ee(){q.console&&typeof q.console.log=="function"&&q.console.log.apply(q.console,arguments)}var _={log:ee,warn:function(f){q.console&&(typeof q.console.warn=="function"?q.console.warn.apply(q.console,arguments):ee.call(null,arguments))},error:function(f){q.console&&(typeof q.console.error=="function"?q.console.error.apply(q.console,arguments):ee(f))}};function y(f,s,p){var b=new XMLHttpRequest;b.open("GET",f),b.responseType="blob",b.onload=function(){T(b.response,s,p)},b.onerror=function(){_.error("could not download file")},b.send()}function V(f){var s=new XMLHttpRequest;s.open("HEAD",f,!1);try{s.send()}catch(p){}return s.status>=200&&s.status<=299}function c(f){try{f.dispatchEvent(new MouseEvent("click"))}catch(p){var s=document.createEvent("MouseEvents");s.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),f.dispatchEvent(s)}}var T=q.saveAs||((typeof window=="undefined"?"undefined":(0,a.Z)(window))!=="object"||window!==q?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(f,s,p){var b=q.URL||q.webkitURL,$=document.createElement("a");s=s||f.name||"download",$.download=s,$.rel="noopener",typeof f=="string"?($.href=f,$.origin!==location.origin?V($.href)?y(f,s,p):c($,$.target="_blank"):c($)):($.href=b.createObjectURL(f),setTimeout(function(){b.revokeObjectURL($.href)},4e4),setTimeout(function(){c($)},0))}:"msSaveOrOpenBlob"in navigator?function(f,s,p){if(s=s||f.name||"download",typeof f=="string")if(V(f))y(f,s,p);else{var b=document.createElement("a");b.href=f,b.target="_blank",setTimeout(function(){c(b)})}else navigator.msSaveOrOpenBlob(function($,v){return v===void 0?v={autoBom:!1}:(0,a.Z)(v)!=="object"&&(_.warn("Deprecated: Expected third argument to be a object"),v={autoBom:!v}),v.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test($.type)?new Blob(["\uFEFF",$],{type:$.type}):$}(f,p),s)}:function(f,s,p,b){if((b=b||open("","_blank"))&&(b.document.title=b.document.body.innerText="downloading..."),typeof f=="string")return y(f,s,p);var $=f.type==="application/octet-stream",v=/constructor/i.test(q.HTMLElement)||q.safari,B=/CriOS\/[\d]+/.test(navigator.userAgent);if((B||$&&v)&&(typeof FileReader=="undefined"?"undefined":(0,a.Z)(FileReader))==="object"){var U=new FileReader;U.onloadend=function(){var lt=U.result;lt=B?lt:lt.replace(/^data:[^;]*;/,"data:attachment/file;"),b?b.location.href=lt:location=lt,b=null},U.readAsDataURL(f)}else{var re=q.URL||q.webkitURL,Ae=re.createObjectURL(f);b?b.location=Ae:location.href=Ae,b=null,setTimeout(function(){re.revokeObjectURL(Ae)},4e4)}});function F(f){var s;f=f||"",this.ok=!1,f.charAt(0)=="#"&&(f=f.substr(1,6)),f={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"}[f=(f=f.replace(/ /g,"")).toLowerCase()]||f;for(var p=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(U){return[parseInt(U[1]),parseInt(U[2]),parseInt(U[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(U){return[parseInt(U[1],16),parseInt(U[2],16),parseInt(U[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(U){return[parseInt(U[1]+U[1],16),parseInt(U[2]+U[2],16),parseInt(U[3]+U[3],16)]}}],b=0;b<p.length;b++){var $=p[b].re,v=p[b].process,B=$.exec(f);B&&(s=v(B),this.r=s[0],this.g=s[1],this.b=s[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 U=this.r.toString(16),re=this.g.toString(16),Ae=this.b.toString(16);return U.length==1&&(U="0"+U),re.length==1&&(re="0"+re),Ae.length==1&&(Ae="0"+Ae),"#"+U+re+Ae}}var G=q.atob.bind(q),R=q.btoa.bind(q);function X(f,s){var p=f[0],b=f[1],$=f[2],v=f[3];p=A(p,b,$,v,s[0],7,-680876936),v=A(v,p,b,$,s[1],12,-389564586),$=A($,v,p,b,s[2],17,606105819),b=A(b,$,v,p,s[3],22,-1044525330),p=A(p,b,$,v,s[4],7,-176418897),v=A(v,p,b,$,s[5],12,1200080426),$=A($,v,p,b,s[6],17,-1473231341),b=A(b,$,v,p,s[7],22,-45705983),p=A(p,b,$,v,s[8],7,1770035416),v=A(v,p,b,$,s[9],12,-1958414417),$=A($,v,p,b,s[10],17,-42063),b=A(b,$,v,p,s[11],22,-1990404162),p=A(p,b,$,v,s[12],7,1804603682),v=A(v,p,b,$,s[13],12,-40341101),$=A($,v,p,b,s[14],17,-1502002290),p=S(p,b=A(b,$,v,p,s[15],22,1236535329),$,v,s[1],5,-165796510),v=S(v,p,b,$,s[6],9,-1069501632),$=S($,v,p,b,s[11],14,643717713),b=S(b,$,v,p,s[0],20,-373897302),p=S(p,b,$,v,s[5],5,-701558691),v=S(v,p,b,$,s[10],9,38016083),$=S($,v,p,b,s[15],14,-660478335),b=S(b,$,v,p,s[4],20,-405537848),p=S(p,b,$,v,s[9],5,568446438),v=S(v,p,b,$,s[14],9,-1019803690),$=S($,v,p,b,s[3],14,-187363961),b=S(b,$,v,p,s[8],20,1163531501),p=S(p,b,$,v,s[13],5,-1444681467),v=S(v,p,b,$,s[2],9,-51403784),$=S($,v,p,b,s[7],14,1735328473),p=E(p,b=S(b,$,v,p,s[12],20,-1926607734),$,v,s[5],4,-378558),v=E(v,p,b,$,s[8],11,-2022574463),$=E($,v,p,b,s[11],16,1839030562),b=E(b,$,v,p,s[14],23,-35309556),p=E(p,b,$,v,s[1],4,-1530992060),v=E(v,p,b,$,s[4],11,1272893353),$=E($,v,p,b,s[7],16,-155497632),b=E(b,$,v,p,s[10],23,-1094730640),p=E(p,b,$,v,s[13],4,681279174),v=E(v,p,b,$,s[0],11,-358537222),$=E($,v,p,b,s[3],16,-722521979),b=E(b,$,v,p,s[6],23,76029189),p=E(p,b,$,v,s[9],4,-640364487),v=E(v,p,b,$,s[12],11,-421815835),$=E($,v,p,b,s[15],16,530742520),p=oe(p,b=E(b,$,v,p,s[2],23,-995338651),$,v,s[0],6,-198630844),v=oe(v,p,b,$,s[7],10,1126891415),$=oe($,v,p,b,s[14],15,-1416354905),b=oe(b,$,v,p,s[5],21,-57434055),p=oe(p,b,$,v,s[12],6,1700485571),v=oe(v,p,b,$,s[3],10,-1894986606),$=oe($,v,p,b,s[10],15,-1051523),b=oe(b,$,v,p,s[1],21,-2054922799),p=oe(p,b,$,v,s[8],6,1873313359),v=oe(v,p,b,$,s[15],10,-30611744),$=oe($,v,p,b,s[6],15,-1560198380),b=oe(b,$,v,p,s[13],21,1309151649),p=oe(p,b,$,v,s[4],6,-145523070),v=oe(v,p,b,$,s[11],10,-1120210379),$=oe($,v,p,b,s[2],15,718787259),b=oe(b,$,v,p,s[9],21,-343485551),f[0]=xe(p,f[0]),f[1]=xe(b,f[1]),f[2]=xe($,f[2]),f[3]=xe(v,f[3])}function N(f,s,p,b,$,v){return s=xe(xe(s,f),xe(b,v)),xe(s<<$|s>>>32-$,p)}function A(f,s,p,b,$,v,B){return N(s&p|~s&b,f,s,$,v,B)}function S(f,s,p,b,$,v,B){return N(s&b|p&~b,f,s,$,v,B)}function E(f,s,p,b,$,v,B){return N(s^p^b,f,s,$,v,B)}function oe(f,s,p,b,$,v,B){return N(p^(s|~b),f,s,$,v,B)}function J(f){var s,p=f.length,b=[1732584193,-271733879,-1732584194,271733878];for(s=64;s<=f.length;s+=64)X(b,te(f.substring(s-64,s)));f=f.substring(s-64);var $=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(s=0;s<f.length;s++)$[s>>2]|=f.charCodeAt(s)<<(s%4<<3);if($[s>>2]|=128<<(s%4<<3),s>55)for(X(b,$),s=0;s<16;s++)$[s]=0;return $[14]=8*p,X(b,$),b}function te(f){var s,p=[];for(s=0;s<64;s+=4)p[s>>2]=f.charCodeAt(s)+(f.charCodeAt(s+1)<<8)+(f.charCodeAt(s+2)<<16)+(f.charCodeAt(s+3)<<24);return p}var $e="0123456789abcdef".split("");function Ne(f){for(var s="",p=0;p<4;p++)s+=$e[f>>8*p+4&15]+$e[f>>8*p&15];return s}function Qe(f){return String.fromCharCode(255&f,(65280&f)>>8,(16711680&f)>>16,(4278190080&f)>>24)}function Ze(f){return J(f).map(Qe).join("")}var we=function(f){for(var s=0;s<f.length;s++)f[s]=Ne(f[s]);return f.join("")}(J("hello"))!="5d41402abc4b2a76b9719d911017c592";function xe(f,s){if(we){var p=(65535&f)+(65535&s);return(f>>16)+(s>>16)+(p>>16)<<16|65535&p}return f+s&4294967295}function Q(f,s){var p,b,$,v;if(f!==p){for(var B=($=f,v=1+(256/f.length|0),new Array(v+1).join($)),U=[],re=0;re<256;re++)U[re]=re;var Ae=0;for(re=0;re<256;re++){var lt=U[re];Ae=(Ae+lt+B.charCodeAt(re))%256,U[re]=U[Ae],U[Ae]=lt}p=f,b=U}else U=b;var It=s.length,Et=0,ve=0,kt="";for(re=0;re<It;re++)ve=(ve+(lt=U[Et=(Et+1)%256]))%256,U[Et]=U[ve],U[ve]=lt,B=U[(U[Et]+U[ve])%256],kt+=String.fromCharCode(s.charCodeAt(re)^B);return kt}var ye={print:4,modify:8,copy:16,"annot-forms":32};function j(f,s,p,b){this.v=1,this.r=2;var $=192;f.forEach(function(U){if(ye.perm!==void 0)throw new Error("Invalid permission: "+U);$+=ye[U]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var v=(s+this.padding).substr(0,32),B=(p+this.padding).substr(0,32);this.O=this.processOwnerPassword(v,B),this.P=-(1+(255^$)),this.encryptionKey=Ze(v+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(b)).substr(0,5),this.U=Q(this.encryptionKey,this.padding)}function I(f){if(/[^\u0000-\u00ff]/.test(f))throw new Error("Invalid PDF Name Object: "+f+", Only accept ASCII characters.");for(var s="",p=f.length,b=0;b<p;b++){var $=f.charCodeAt(b);s+=$<33||$===35||$===37||$===40||$===41||$===47||$===60||$===62||$===91||$===93||$===123||$===125||$>126?"#"+("0"+$.toString(16)).slice(-2):f[b]}return s}function rt(f){if((0,a.Z)(f)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var s={};this.subscribe=function(p,b,$){if($=$||!1,typeof p!="string"||typeof b!="function"||typeof $!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");s.hasOwnProperty(p)||(s[p]={});var v=Math.random().toString(35);return s[p][v]=[b,!!$],v},this.unsubscribe=function(p){for(var b in s)if(s[b][p])return delete s[b][p],Object.keys(s[b]).length===0&&delete s[b],!0;return!1},this.publish=function(p){if(s.hasOwnProperty(p)){var b=Array.prototype.slice.call(arguments,1),$=[];for(var v in s[p]){var B=s[p][v];try{B[0].apply(f,b)}catch(U){q.console&&_.error("jsPDF PubSub Error",U.message,U)}B[1]&&$.push(v)}$.length&&$.forEach(this.unsubscribe)}},this.getTopics=function(){return s}}function le(f){if(!(this instanceof le))return new le(f);var s="opacity,stroke-opacity".split(",");for(var p in f)f.hasOwnProperty(p)&&s.indexOf(p)>=0&&(this[p]=f[p]);this.id="",this.objectNumber=-1}function se(f,s){this.gState=f,this.matrix=s,this.id="",this.objectNumber=-1}function w(f,s,p,b,$){if(!(this instanceof w))return new w(f,s,p,b,$);this.type=f==="axial"?2:3,this.coords=s,this.colors=p,se.call(this,b,$)}function k(f,s,p,b,$){if(!(this instanceof k))return new k(f,s,p,b,$);this.boundingBox=f,this.xStep=s,this.yStep=p,this.stream="",this.cloneIndex=0,se.call(this,b,$)}function z(f){var s,p=typeof arguments[0]=="string"?arguments[0]:"p",b=arguments[1],$=arguments[2],v=arguments[3],B=[],U=1,re=16,Ae="S",lt=null;(0,a.Z)(f=f||{})==="object"&&(p=f.orientation,b=f.unit||b,$=f.format||$,v=f.compress||f.compressPdf||v,(lt=f.encryption||null)!==null&&(lt.userPassword=lt.userPassword||"",lt.ownerPassword=lt.ownerPassword||"",lt.userPermissions=lt.userPermissions||[]),U=typeof f.userUnit=="number"?Math.abs(f.userUnit):1,f.precision!==void 0&&(s=f.precision),f.floatPrecision!==void 0&&(re=f.floatPrecision),Ae=f.defaultPathOperation||"S"),B=f.filters||(v===!0?["FlateEncode"]:B),b=b||"mm",p=(""+(p||"P")).toLowerCase();var It=f.putOnlyUsedFonts||!1,Et={},ve={internal:{},__private__:{}};ve.__private__.PubSub=rt;var kt="1.3",Ge=ve.__private__.getPdfVersion=function(){return kt};ve.__private__.setPdfVersion=function(M){kt=M};var Vt={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]};ve.__private__.getPageFormats=function(){return Vt};var vt=ve.__private__.getPageFormat=function(M){return Vt[M]};$=$||"a4";var nr="compat",xr="advanced",Qt=nr;function nt(){this.saveGraphicsState(),Lt(new pa(ia,0,0,-ia,0,Jo()*ia).toString()+" cm"),this.setFontSize(this.getFontSize()/ia),Ae="n",Qt=xr}function Ce(){this.restoreGraphicsState(),Ae="S",Qt=nr}var Ut=ve.__private__.combineFontStyleAndFontWeight=function(M,je){if(M=="bold"&&je=="normal"||M=="bold"&&je==400||M=="normal"&&je=="italic"||M=="bold"&&je=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return je&&(M=je==400||je==="normal"?M==="italic"?"italic":"normal":je!=700&&je!=="bold"||M!=="normal"?(je==700?"bold":je)+""+M:"bold"),M};ve.advancedAPI=function(M){var je=Qt===nr;return je&&nt.call(this),typeof M!="function"||(M(this),je&&Ce.call(this)),this},ve.compatAPI=function(M){var je=Qt===xr;return je&&Ce.call(this),typeof M!="function"||(M(this),je&&nt.call(this)),this},ve.isAdvancedAPI=function(){return Qt===xr};var Nt,$t=function(M){if(Qt!==xr)throw new Error(M+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},qt=ve.roundToPrecision=ve.__private__.roundToPrecision=function(M,je){var zt=s||je;if(isNaN(M)||isNaN(zt))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return M.toFixed(zt).replace(/0+$/,"")};Nt=ve.hpf=ve.__private__.hpf=typeof re=="number"?function(M){if(isNaN(M))throw new Error("Invalid argument passed to jsPDF.hpf");return qt(M,re)}:re==="smart"?function(M){if(isNaN(M))throw new Error("Invalid argument passed to jsPDF.hpf");return qt(M,M>-1&&M<1?16:5)}:function(M){if(isNaN(M))throw new Error("Invalid argument passed to jsPDF.hpf");return qt(M,16)};var He=ve.f2=ve.__private__.f2=function(M){if(isNaN(M))throw new Error("Invalid argument passed to jsPDF.f2");return qt(M,2)},ze=ve.__private__.f3=function(M){if(isNaN(M))throw new Error("Invalid argument passed to jsPDF.f3");return qt(M,3)},At=ve.scale=ve.__private__.scale=function(M){if(isNaN(M))throw new Error("Invalid argument passed to jsPDF.scale");return Qt===nr?M*ia:Qt===xr?M:void 0},dt=function(M){return At(function(je){return Qt===nr?Jo()-je:Qt===xr?je:void 0}(M))};ve.__private__.setPrecision=ve.setPrecision=function(M){typeof parseInt(M,10)=="number"&&(s=parseInt(M,10))};var dr,br="00000000000000000000000000000000",Jt=ve.__private__.getFileId=function(){return br},Tt=ve.__private__.setFileId=function(M){return br=M!==void 0&&/^[a-fA-F0-9]{32}$/.test(M)?M.toUpperCase():br.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),lt!==null&&(Io=new j(lt.userPermissions,lt.userPassword,lt.ownerPassword,br)),br};ve.setFileId=function(M){return Tt(M),this},ve.getFileId=function(){return Jt()};var ir=ve.__private__.convertDateToPDFDate=function(M){var je=M.getTimezoneOffset(),zt=je<0?"+":"-",tr=Math.floor(Math.abs(je/60)),wr=Math.abs(je%60),Kr=[zt,Bt(tr),"'",Bt(wr),"'"].join("");return["D:",M.getFullYear(),Bt(M.getMonth()+1),Bt(M.getDate()),Bt(M.getHours()),Bt(M.getMinutes()),Bt(M.getSeconds()),Kr].join("")},Zr=ve.__private__.convertPDFDateToDate=function(M){var je=parseInt(M.substr(2,4),10),zt=parseInt(M.substr(6,2),10)-1,tr=parseInt(M.substr(8,2),10),wr=parseInt(M.substr(10,2),10),Kr=parseInt(M.substr(12,2),10),cn=parseInt(M.substr(14,2),10);return new Date(je,zt,tr,wr,Kr,cn,0)},Wt=ve.__private__.setCreationDate=function(M){var je;if(M===void 0&&(M=new Date),M instanceof Date)je=ir(M);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(M))throw new Error("Invalid argument passed to jsPDF.setCreationDate");je=M}return dr=je},Pe=ve.__private__.getCreationDate=function(M){var je=dr;return M==="jsDate"&&(je=Zr(dr)),je};ve.setCreationDate=function(M){return Wt(M),this},ve.getCreationDate=function(M){return Pe(M)};var yt,Bt=ve.__private__.padd2=function(M){return("0"+parseInt(M)).slice(-2)},ht=ve.__private__.padd2Hex=function(M){return("00"+(M=M.toString())).substr(M.length)},Yt=0,lr=[],mr=[],Or=0,Rr=[],Fr=[],un=!1,wn=mr;ve.__private__.setCustomOutputDestination=function(M){un=!0,wn=M};var Mr=function(M){un||(wn=M)};ve.__private__.resetCustomOutputDestination=function(){un=!1,wn=mr};var Lt=ve.__private__.out=function(M){return M=M.toString(),Or+=M.length+1,wn.push(M),wn},ya=ve.__private__.write=function(M){return Lt(arguments.length===1?M.toString():Array.prototype.join.call(arguments," "))},ha=ve.__private__.getArrayBuffer=function(M){for(var je=M.length,zt=new ArrayBuffer(je),tr=new Uint8Array(zt);je--;)tr[je]=M.charCodeAt(je);return zt},Wn=[["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]];ve.__private__.getStandardFonts=function(){return Wn};var an=f.fontSize||16;ve.__private__.setFontSize=ve.setFontSize=function(M){return an=Qt===xr?M/ia:M,this};var dn,Gr=ve.__private__.getFontSize=ve.getFontSize=function(){return Qt===nr?an:an*ia},la=f.R2L||!1;ve.__private__.setR2L=ve.setR2L=function(M){return la=M,this},ve.__private__.getR2L=ve.getR2L=function(){return la};var Gn,xa=ve.__private__.setZoomMode=function(M){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(M))dn=M;else if(isNaN(M)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(M)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+M+'" is not recognized.');dn=M}else dn=parseInt(M,10)};ve.__private__.getZoomMode=function(){return dn};var _n,ca=ve.__private__.setPageMode=function(M){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(M)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+M+'" is not recognized.');Gn=M};ve.__private__.getPageMode=function(){return Gn};var Ra=ve.__private__.setLayoutMode=function(M){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(M)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+M+'" is not recognized.');_n=M};ve.__private__.getLayoutMode=function(){return _n},ve.__private__.setDisplayMode=ve.setDisplayMode=function(M,je,zt){return xa(M),Ra(je),ca(zt),this};var oa={title:"",subject:"",author:"",keywords:"",creator:""};ve.__private__.getDocumentProperty=function(M){if(Object.keys(oa).indexOf(M)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return oa[M]},ve.__private__.getDocumentProperties=function(){return oa},ve.__private__.setDocumentProperties=ve.setProperties=ve.setDocumentProperties=function(M){for(var je in oa)oa.hasOwnProperty(je)&&M[je]&&(oa[je]=M[je]);return this},ve.__private__.setDocumentProperty=function(M,je){if(Object.keys(oa).indexOf(M)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return oa[M]=je};var kn,ia,Rn,Bn,Yn,Qr={},mn={},ua=[],En={},fa={},Vn={},Wa={},qa=null,Cn=0,jn=[],ma=new rt(ve),Qa=f.hotfixes||[],_a={},po={},go=[],pa=function M(je,zt,tr,wr,Kr,cn){if(!(this instanceof M))return new M(je,zt,tr,wr,Kr,cn);isNaN(je)&&(je=1),isNaN(zt)&&(zt=0),isNaN(tr)&&(tr=0),isNaN(wr)&&(wr=1),isNaN(Kr)&&(Kr=0),isNaN(cn)&&(cn=0),this._matrix=[je,zt,tr,wr,Kr,cn]};Object.defineProperty(pa.prototype,"sx",{get:function(){return this._matrix[0]},set:function(M){this._matrix[0]=M}}),Object.defineProperty(pa.prototype,"shy",{get:function(){return this._matrix[1]},set:function(M){this._matrix[1]=M}}),Object.defineProperty(pa.prototype,"shx",{get:function(){return this._matrix[2]},set:function(M){this._matrix[2]=M}}),Object.defineProperty(pa.prototype,"sy",{get:function(){return this._matrix[3]},set:function(M){this._matrix[3]=M}}),Object.defineProperty(pa.prototype,"tx",{get:function(){return this._matrix[4]},set:function(M){this._matrix[4]=M}}),Object.defineProperty(pa.prototype,"ty",{get:function(){return this._matrix[5]},set:function(M){this._matrix[5]=M}}),Object.defineProperty(pa.prototype,"a",{get:function(){return this._matrix[0]},set:function(M){this._matrix[0]=M}}),Object.defineProperty(pa.prototype,"b",{get:function(){return this._matrix[1]},set:function(M){this._matrix[1]=M}}),Object.defineProperty(pa.prototype,"c",{get:function(){return this._matrix[2]},set:function(M){this._matrix[2]=M}}),Object.defineProperty(pa.prototype,"d",{get:function(){return this._matrix[3]},set:function(M){this._matrix[3]=M}}),Object.defineProperty(pa.prototype,"e",{get:function(){return this._matrix[4]},set:function(M){this._matrix[4]=M}}),Object.defineProperty(pa.prototype,"f",{get:function(){return this._matrix[5]},set:function(M){this._matrix[5]=M}}),Object.defineProperty(pa.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(pa.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(pa.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(pa.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),pa.prototype.join=function(M){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Nt).join(M)},pa.prototype.multiply=function(M){var je=M.sx*this.sx+M.shy*this.shx,zt=M.sx*this.shy+M.shy*this.sy,tr=M.shx*this.sx+M.sy*this.shx,wr=M.shx*this.shy+M.sy*this.sy,Kr=M.tx*this.sx+M.ty*this.shx+this.tx,cn=M.tx*this.shy+M.ty*this.sy+this.ty;return new pa(je,zt,tr,wr,Kr,cn)},pa.prototype.decompose=function(){var M=this.sx,je=this.shy,zt=this.shx,tr=this.sy,wr=this.tx,Kr=this.ty,cn=Math.sqrt(M*M+je*je),Jn=(M/=cn)*zt+(je/=cn)*tr;zt-=M*Jn,tr-=je*Jn;var ta=Math.sqrt(zt*zt+tr*tr);return Jn/=ta,M*(tr/=ta)<je*(zt/=ta)&&(M=-M,je=-je,Jn=-Jn,cn=-cn),{scale:new pa(cn,0,0,ta,0,0),translate:new pa(1,0,0,1,wr,Kr),rotate:new pa(M,je,-je,M,0,0),skew:new pa(1,0,Jn,1,0,0)}},pa.prototype.toString=function(M){return this.join(" ")},pa.prototype.inversed=function(){var M=this.sx,je=this.shy,zt=this.shx,tr=this.sy,wr=this.tx,Kr=this.ty,cn=1/(M*tr-je*zt),Jn=tr*cn,ta=-je*cn,$a=-zt*cn,Ta=M*cn;return new pa(Jn,ta,$a,Ta,-Jn*wr-$a*Kr,-ta*wr-Ta*Kr)},pa.prototype.applyToPoint=function(M){var je=M.x*this.sx+M.y*this.shx+this.tx,zt=M.x*this.shy+M.y*this.sy+this.ty;return new Mi(je,zt)},pa.prototype.applyToRectangle=function(M){var je=this.applyToPoint(M),zt=this.applyToPoint(new Mi(M.x+M.w,M.y+M.h));return new ti(je.x,je.y,zt.x-je.x,zt.y-je.y)},pa.prototype.clone=function(){var M=this.sx,je=this.shy,zt=this.shx,tr=this.sy,wr=this.tx,Kr=this.ty;return new pa(M,je,zt,tr,wr,Kr)},ve.Matrix=pa;var No=ve.matrixMult=function(M,je){return je.multiply(M)},Na=new pa(1,0,0,1,0,0);ve.unitMatrix=ve.identityMatrix=Na;var za=function(M,je){if(!fa[M]){var zt=(je instanceof w?"Sh":"P")+(Object.keys(En).length+1).toString(10);je.id=zt,fa[M]=zt,En[zt]=je,ma.publish("addPattern",je)}};ve.ShadingPattern=w,ve.TilingPattern=k,ve.addShadingPattern=function(M,je){return $t("addShadingPattern()"),za(M,je),this},ve.beginTilingPattern=function(M){$t("beginTilingPattern()"),as(M.boundingBox[0],M.boundingBox[1],M.boundingBox[2]-M.boundingBox[0],M.boundingBox[3]-M.boundingBox[1],M.matrix)},ve.endTilingPattern=function(M,je){$t("endTilingPattern()"),je.stream=Fr[yt].join(`
`),za(M,je),ma.publish("endTilingPattern",je),go.pop().restore()};var Ma,Da=ve.__private__.newObject=function(){var M=Ua();return ba(M,!0),M},Ua=ve.__private__.newObjectDeferred=function(){return Yt++,lr[Yt]=function(){return Or},Yt},ba=function(M,je){return je=typeof je=="boolean"&&je,lr[M]=Or,je&&Lt(M+" 0 obj"),M},Ya=ve.__private__.newAdditionalObject=function(){var M={objId:Ua(),content:""};return Rr.push(M),M},ka=Ua(),Ja=Ua(),io=ve.__private__.decodeColorString=function(M){var je=M.split(" ");if(je.length!==2||je[1]!=="g"&&je[1]!=="G")je.length!==5||je[4]!=="k"&&je[4]!=="K"||(je=[(1-je[0])*(1-je[3]),(1-je[1])*(1-je[3]),(1-je[2])*(1-je[3]),"r"]);else{var zt=parseFloat(je[0]);je=[zt,zt,zt,"r"]}for(var tr="#",wr=0;wr<3;wr++)tr+=("0"+Math.floor(255*parseFloat(je[wr])).toString(16)).slice(-2);return tr},ho=ve.__private__.encodeColorString=function(M){var je;typeof M=="string"&&(M={ch1:M});var zt=M.ch1,tr=M.ch2,wr=M.ch3,Kr=M.ch4,cn=M.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof zt=="string"&&zt.charAt(0)!=="#"){var Jn=new F(zt);if(Jn.ok)zt=Jn.toHex();else if(!/^\d*\.?\d*$/.test(zt))throw new Error('Invalid color "'+zt+'" passed to jsPDF.encodeColorString.')}if(typeof zt=="string"&&/^#[0-9A-Fa-f]{3}$/.test(zt)&&(zt="#"+zt[1]+zt[1]+zt[2]+zt[2]+zt[3]+zt[3]),typeof zt=="string"&&/^#[0-9A-Fa-f]{6}$/.test(zt)){var ta=parseInt(zt.substr(1),16);zt=ta>>16&255,tr=ta>>8&255,wr=255&ta}if(tr===void 0||Kr===void 0&&zt===tr&&tr===wr)je=typeof zt=="string"?zt+" "+cn[0]:M.precision===2?He(zt/255)+" "+cn[0]:ze(zt/255)+" "+cn[0];else if(Kr===void 0||(0,a.Z)(Kr)==="object"){if(Kr&&!isNaN(Kr.a)&&Kr.a===0)return["1.","1.","1.",cn[1]].join(" ");je=typeof zt=="string"?[zt,tr,wr,cn[1]].join(" "):M.precision===2?[He(zt/255),He(tr/255),He(wr/255),cn[1]].join(" "):[ze(zt/255),ze(tr/255),ze(wr/255),cn[1]].join(" ")}else je=typeof zt=="string"?[zt,tr,wr,Kr,cn[2]].join(" "):M.precision===2?[He(zt),He(tr),He(wr),He(Kr),cn[2]].join(" "):[ze(zt),ze(tr),ze(wr),ze(Kr),cn[2]].join(" ");return je},Mo=ve.__private__.getFilters=function(){return B},Bo=ve.__private__.putStream=function(M){var je=(M=M||{}).data||"",zt=M.filters||Mo(),tr=M.alreadyAppliedFilters||[],wr=M.addLength1||!1,Kr=je.length,cn=M.objectId,Jn=function(l){return l};if(lt!==null&&cn===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");lt!==null&&(Jn=Io.encryptor(cn,0));var ta={};zt===!0&&(zt=["FlateEncode"]);var $a=M.additionalKeyValues||[],Ta=(ta=z.API.processDataByFilters!==void 0?z.API.processDataByFilters(je,zt):{data:je,reverseChain:[]}).reverseChain+(Array.isArray(tr)?tr.join(" "):tr.toString());if(ta.data.length!==0&&($a.push({key:"Length",value:ta.data.length}),wr===!0&&$a.push({key:"Length1",value:Kr})),Ta.length!=0)if(Ta.split("/").length-1==1)$a.push({key:"Filter",value:Ta});else{$a.push({key:"Filter",value:"["+Ta+"]"});for(var ro=0;ro<$a.length;ro+=1)if($a[ro].key==="DecodeParms"){for(var ie=[],r=0;r<ta.reverseChain.split("/").length-1;r+=1)ie.push("null");ie.push($a[ro].value),$a[ro].value="["+ie.join(" ")+"]"}}Lt("<<");for(var o=0;o<$a.length;o++)Lt("/"+$a[o].key+" "+$a[o].value);Lt(">>"),ta.data.length!==0&&(Lt("stream"),Lt(Jn(ta.data)),Lt("endstream"))},La=ve.__private__.putPage=function(M){var je=M.number,zt=M.data,tr=M.objId,wr=M.contentsObjId;ba(tr,!0),Lt("<</Type /Page"),Lt("/Parent "+M.rootDictionaryObjId+" 0 R"),Lt("/Resources "+M.resourceDictionaryObjId+" 0 R"),Lt("/MediaBox ["+parseFloat(Nt(M.mediaBox.bottomLeftX))+" "+parseFloat(Nt(M.mediaBox.bottomLeftY))+" "+Nt(M.mediaBox.topRightX)+" "+Nt(M.mediaBox.topRightY)+"]"),M.cropBox!==null&&Lt("/CropBox ["+Nt(M.cropBox.bottomLeftX)+" "+Nt(M.cropBox.bottomLeftY)+" "+Nt(M.cropBox.topRightX)+" "+Nt(M.cropBox.topRightY)+"]"),M.bleedBox!==null&&Lt("/BleedBox ["+Nt(M.bleedBox.bottomLeftX)+" "+Nt(M.bleedBox.bottomLeftY)+" "+Nt(M.bleedBox.topRightX)+" "+Nt(M.bleedBox.topRightY)+"]"),M.trimBox!==null&&Lt("/TrimBox ["+Nt(M.trimBox.bottomLeftX)+" "+Nt(M.trimBox.bottomLeftY)+" "+Nt(M.trimBox.topRightX)+" "+Nt(M.trimBox.topRightY)+"]"),M.artBox!==null&&Lt("/ArtBox ["+Nt(M.artBox.bottomLeftX)+" "+Nt(M.artBox.bottomLeftY)+" "+Nt(M.artBox.topRightX)+" "+Nt(M.artBox.topRightY)+"]"),typeof M.userUnit=="number"&&M.userUnit!==1&&Lt("/UserUnit "+M.userUnit),ma.publish("putPage",{objId:tr,pageContext:jn[je],pageNumber:je,page:zt}),Lt("/Contents "+wr+" 0 R"),Lt(">>"),Lt("endobj");var Kr=zt.join(`
`);return Qt===xr&&(Kr+=`
Q`),ba(wr,!0),Bo({data:Kr,filters:Mo(),objectId:wr}),Lt("endobj"),tr},Ko=ve.__private__.putPages=function(){var M,je,zt=[];for(M=1;M<=Cn;M++)jn[M].objId=Ua(),jn[M].contentsObjId=Ua();for(M=1;M<=Cn;M++)zt.push(La({number:M,data:Fr[M],objId:jn[M].objId,contentsObjId:jn[M].contentsObjId,mediaBox:jn[M].mediaBox,cropBox:jn[M].cropBox,bleedBox:jn[M].bleedBox,trimBox:jn[M].trimBox,artBox:jn[M].artBox,userUnit:jn[M].userUnit,rootDictionaryObjId:ka,resourceDictionaryObjId:Ja}));ba(ka,!0),Lt("<</Type /Pages");var tr="/Kids [";for(je=0;je<Cn;je++)tr+=zt[je]+" 0 R ";Lt(tr+"]"),Lt("/Count "+Cn),Lt(">>"),Lt("endobj"),ma.publish("postPutPages")},vo=function(M){ma.publish("putFont",{font:M,out:Lt,newObject:Da,putStream:Bo}),M.isAlreadyPutted!==!0&&(M.objectNumber=Da(),Lt("<<"),Lt("/Type /Font"),Lt("/BaseFont /"+I(M.postScriptName)),Lt("/Subtype /Type1"),typeof M.encoding=="string"&&Lt("/Encoding /"+M.encoding),Lt("/FirstChar 32"),Lt("/LastChar 255"),Lt(">>"),Lt("endobj"))},Lo=function(M){M.objectNumber=Da();var je=[];je.push({key:"Type",value:"/XObject"}),je.push({key:"Subtype",value:"/Form"}),je.push({key:"BBox",value:"["+[Nt(M.x),Nt(M.y),Nt(M.x+M.width),Nt(M.y+M.height)].join(" ")+"]"}),je.push({key:"Matrix",value:"["+M.matrix.toString()+"]"});var zt=M.pages[1].join(`
`);Bo({data:zt,additionalKeyValues:je,objectId:M.objectNumber}),Lt("endobj")},Co=function(M,je){je||(je=21);var zt=Da(),tr=function(cn,Jn){var ta,$a=[],Ta=1/(Jn-1);for(ta=0;ta<1;ta+=Ta)$a.push(ta);if($a.push(1),cn[0].offset!=0){var ro={offset:0,color:cn[0].color};cn.unshift(ro)}if(cn[cn.length-1].offset!=1){var ie={offset:1,color:cn[cn.length-1].color};cn.push(ie)}for(var r="",o=0,l=0;l<$a.length;l++){for(ta=$a[l];ta>cn[o+1].offset;)o++;var g=cn[o].offset,W=(ta-g)/(cn[o+1].offset-g),fe=cn[o].color,We=cn[o+1].color;r+=ht(Math.round((1-W)*fe[0]+W*We[0]).toString(16))+ht(Math.round((1-W)*fe[1]+W*We[1]).toString(16))+ht(Math.round((1-W)*fe[2]+W*We[2]).toString(16))}return r.trim()}(M.colors,je),wr=[];wr.push({key:"FunctionType",value:"0"}),wr.push({key:"Domain",value:"[0.0 1.0]"}),wr.push({key:"Size",value:"["+je+"]"}),wr.push({key:"BitsPerSample",value:"8"}),wr.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),wr.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Bo({data:tr,additionalKeyValues:wr,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:zt}),Lt("endobj"),M.objectNumber=Da(),Lt("<< /ShadingType "+M.type),Lt("/ColorSpace /DeviceRGB");var Kr="/Coords ["+Nt(parseFloat(M.coords[0]))+" "+Nt(parseFloat(M.coords[1]))+" ";M.type===2?Kr+=Nt(parseFloat(M.coords[2]))+" "+Nt(parseFloat(M.coords[3])):Kr+=Nt(parseFloat(M.coords[2]))+" "+Nt(parseFloat(M.coords[3]))+" "+Nt(parseFloat(M.coords[4]))+" "+Nt(parseFloat(M.coords[5])),Lt(Kr+="]"),M.matrix&&Lt("/Matrix ["+M.matrix.toString()+"]"),Lt("/Function "+zt+" 0 R"),Lt("/Extend [true true]"),Lt(">>"),Lt("endobj")},Si=function(M,je){var zt=Ua(),tr=Da();je.push({resourcesOid:zt,objectOid:tr}),M.objectNumber=tr;var wr=[];wr.push({key:"Type",value:"/Pattern"}),wr.push({key:"PatternType",value:"1"}),wr.push({key:"PaintType",value:"1"}),wr.push({key:"TilingType",value:"1"}),wr.push({key:"BBox",value:"["+M.boundingBox.map(Nt).join(" ")+"]"}),wr.push({key:"XStep",value:Nt(M.xStep)}),wr.push({key:"YStep",value:Nt(M.yStep)}),wr.push({key:"Resources",value:zt+" 0 R"}),M.matrix&&wr.push({key:"Matrix",value:"["+M.matrix.toString()+"]"}),Bo({data:M.stream,additionalKeyValues:wr,objectId:M.objectNumber}),Lt("endobj")},Vo=function(M){for(var je in M.objectNumber=Da(),Lt("<<"),M)switch(je){case"opacity":Lt("/ca "+He(M[je]));break;case"stroke-opacity":Lt("/CA "+He(M[je]))}Lt(">>"),Lt("endobj")},ai=function(M){ba(M.resourcesOid,!0),Lt("<<"),Lt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var je in Lt("/Font <<"),Qr)Qr.hasOwnProperty(je)&&(It===!1||It===!0&&Et.hasOwnProperty(je))&&Lt("/"+je+" "+Qr[je].objectNumber+" 0 R");Lt(">>")}(),function(){if(Object.keys(En).length>0){for(var je in Lt("/Shading <<"),En)En.hasOwnProperty(je)&&En[je]instanceof w&&En[je].objectNumber>=0&&Lt("/"+je+" "+En[je].objectNumber+" 0 R");ma.publish("putShadingPatternDict"),Lt(">>")}}(),function(je){if(Object.keys(En).length>0){for(var zt in Lt("/Pattern <<"),En)En.hasOwnProperty(zt)&&En[zt]instanceof ve.TilingPattern&&En[zt].objectNumber>=0&&En[zt].objectNumber<je&&Lt("/"+zt+" "+En[zt].objectNumber+" 0 R");ma.publish("putTilingPatternDict"),Lt(">>")}}(M.objectOid),function(){if(Object.keys(Vn).length>0){var je;for(je in Lt("/ExtGState <<"),Vn)Vn.hasOwnProperty(je)&&Vn[je].objectNumber>=0&&Lt("/"+je+" "+Vn[je].objectNumber+" 0 R");ma.publish("putGStateDict"),Lt(">>")}}(),function(){for(var je in Lt("/XObject <<"),_a)_a.hasOwnProperty(je)&&_a[je].objectNumber>=0&&Lt("/"+je+" "+_a[je].objectNumber+" 0 R");ma.publish("putXobjectDict"),Lt(">>")}(),Lt(">>"),Lt("endobj")},$i=function(M){mn[M.fontName]=mn[M.fontName]||{},mn[M.fontName][M.fontStyle]=M.id},Ho=function(M,je,zt,tr,wr){var Kr={id:"F"+(Object.keys(Qr).length+1).toString(10),postScriptName:M,fontName:je,fontStyle:zt,encoding:tr,isStandardFont:wr||!1,metadata:{}};return ma.publish("addFont",{font:Kr,instance:this}),Qr[Kr.id]=Kr,$i(Kr),Kr.id},Xo=ve.__private__.pdfEscape=ve.pdfEscape=function(M,je){return function(zt,tr){var wr,Kr,cn,Jn,ta,$a,Ta,ro,ie;if(cn=(tr=tr||{}).sourceEncoding||"Unicode",ta=tr.outputEncoding,(tr.autoencode||ta)&&Qr[kn].metadata&&Qr[kn].metadata[cn]&&Qr[kn].metadata[cn].encoding&&(Jn=Qr[kn].metadata[cn].encoding,!ta&&Qr[kn].encoding&&(ta=Qr[kn].encoding),!ta&&Jn.codePages&&(ta=Jn.codePages[0]),typeof ta=="string"&&(ta=Jn[ta]),ta)){for(Ta=!1,$a=[],wr=0,Kr=zt.length;wr<Kr;wr++)(ro=ta[zt.charCodeAt(wr)])?$a.push(String.fromCharCode(ro)):$a.push(zt[wr]),$a[wr].charCodeAt(0)>>8&&(Ta=!0);zt=$a.join("")}for(wr=zt.length;Ta===void 0&&wr!==0;)zt.charCodeAt(wr-1)>>8&&(Ta=!0),wr--;if(!Ta)return zt;for($a=tr.noBOM?[]:[254,255],wr=0,Kr=zt.length;wr<Kr;wr++){if((ie=(ro=zt.charCodeAt(wr))>>8)>>8)throw new Error("Character at position "+wr+" of string '"+zt+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");$a.push(ie),$a.push(ro-(ie<<8))}return String.fromCharCode.apply(void 0,$a)}(M,je).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Hi=ve.__private__.beginPage=function(M){Fr[++Cn]=[],jn[Cn]={objId:0,contentsObjId:0,userUnit:Number(U),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(M[0]),topRightY:Number(M[1])}},Oi(Cn),Mr(Fr[yt])},wi=function(M,je){var zt,tr,wr;switch(p=je||p,typeof M=="string"&&(zt=vt(M.toLowerCase()),Array.isArray(zt)&&(tr=zt[0],wr=zt[1])),Array.isArray(M)&&(tr=M[0]*ia,wr=M[1]*ia),isNaN(tr)&&(tr=$[0],wr=$[1]),(tr>14400||wr>14400)&&(_.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),tr=Math.min(14400,tr),wr=Math.min(14400,wr)),$=[tr,wr],p.substr(0,1)){case"l":wr>tr&&($=[wr,tr]);break;case"p":tr>wr&&($=[wr,tr])}Hi($),xs(mi),Lt(ns),Yi!==0&&Lt(Yi+" J"),us!==0&&Lt(us+" j"),ma.publish("addPage",{pageNumber:Cn})},Ci=function(M){M>0&&M<=Cn&&(Fr.splice(M,1),jn.splice(M,1),Cn--,yt>Cn&&(yt=Cn),this.setPage(yt))},Oi=function(M){M>0&&M<=Cn&&(yt=M)},Ai=ve.__private__.getNumberOfPages=ve.getNumberOfPages=function(){return Fr.length-1},Pa=function(M,je,zt){var tr,wr=void 0;return zt=zt||{},M=M!==void 0?M:Qr[kn].fontName,je=je!==void 0?je:Qr[kn].fontStyle,tr=M.toLowerCase(),mn[tr]!==void 0&&mn[tr][je]!==void 0?wr=mn[tr][je]:mn[M]!==void 0&&mn[M][je]!==void 0?wr=mn[M][je]:zt.disableWarning===!1&&_.warn("Unable to look up font label for font '"+M+"', '"+je+"'. Refer to getFontList() for available fonts."),wr||zt.noFallback||(wr=mn.times[je])==null&&(wr=mn.times.normal),wr},ja=ve.__private__.putInfo=function(){var M=Da(),je=function(tr){return tr};for(var zt in lt!==null&&(je=Io.encryptor(M,0)),Lt("<<"),Lt("/Producer ("+Xo(je("jsPDF "+z.version))+")"),oa)oa.hasOwnProperty(zt)&&oa[zt]&&Lt("/"+zt.substr(0,1).toUpperCase()+zt.substr(1)+" ("+Xo(je(oa[zt]))+")");Lt("/CreationDate ("+Xo(je(dr))+")"),Lt(">>"),Lt("endobj")},bo=ve.__private__.putCatalog=function(M){var je=(M=M||{}).rootDictionaryObjId||ka;switch(Da(),Lt("<<"),Lt("/Type /Catalog"),Lt("/Pages "+je+" 0 R"),dn||(dn="fullwidth"),dn){case"fullwidth":Lt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Lt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Lt("/OpenAction [3 0 R /Fit]");break;case"original":Lt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var zt=""+dn;zt.substr(zt.length-1)==="%"&&(dn=parseInt(dn)/100),typeof dn=="number"&&Lt("/OpenAction [3 0 R /XYZ null null "+He(dn)+"]")}switch(_n||(_n="continuous"),_n){case"continuous":Lt("/PageLayout /OneColumn");break;case"single":Lt("/PageLayout /SinglePage");break;case"two":case"twoleft":Lt("/PageLayout /TwoColumnLeft");break;case"tworight":Lt("/PageLayout /TwoColumnRight")}Gn&&Lt("/PageMode /"+Gn),ma.publish("putCatalog"),Lt(">>"),Lt("endobj")},Ve=ve.__private__.putTrailer=function(){Lt("trailer"),Lt("<<"),Lt("/Size "+(Yt+1)),Lt("/Root "+Yt+" 0 R"),Lt("/Info "+(Yt-1)+" 0 R"),lt!==null&&Lt("/Encrypt "+Io.oid+" 0 R"),Lt("/ID [ <"+br+"> <"+br+"> ]"),Lt(">>")},zo=ve.__private__.putHeader=function(){Lt("%PDF-"+kt),Lt("%\xBA\xDF\xAC\xE0")},Do=ve.__private__.putXRef=function(){var M="0000000000";Lt("xref"),Lt("0 "+(Yt+1)),Lt("0000000000 65535 f ");for(var je=1;je<=Yt;je++)typeof lr[je]=="function"?Lt((M+lr[je]()).slice(-10)+" 00000 n "):lr[je]!==void 0?Lt((M+lr[je]).slice(-10)+" 00000 n "):Lt("0000000000 00000 n ")},Eo=ve.__private__.buildDocument=function(){var M;Yt=0,Or=0,mr=[],lr=[],Rr=[],ka=Ua(),Ja=Ua(),Mr(mr),ma.publish("buildDocument"),zo(),Ko(),function(){ma.publish("putAdditionalObjects");for(var zt=0;zt<Rr.length;zt++){var tr=Rr[zt];ba(tr.objId,!0),Lt(tr.content),Lt("endobj")}ma.publish("postPutAdditionalObjects")}(),M=[],function(){for(var zt in Qr)Qr.hasOwnProperty(zt)&&(It===!1||It===!0&&Et.hasOwnProperty(zt))&&vo(Qr[zt])}(),function(){var zt;for(zt in Vn)Vn.hasOwnProperty(zt)&&Vo(Vn[zt])}(),function(){for(var zt in _a)_a.hasOwnProperty(zt)&&Lo(_a[zt])}(),function(zt){var tr;for(tr in En)En.hasOwnProperty(tr)&&(En[tr]instanceof w?Co(En[tr]):En[tr]instanceof k&&Si(En[tr],zt))}(M),ma.publish("putResources"),M.forEach(ai),ai({resourcesOid:Ja,objectOid:Number.MAX_SAFE_INTEGER}),ma.publish("postPutResources"),lt!==null&&(Io.oid=Da(),Lt("<<"),Lt("/Filter /Standard"),Lt("/V "+Io.v),Lt("/R "+Io.r),Lt("/U <"+Io.toHexString(Io.U)+">"),Lt("/O <"+Io.toHexString(Io.O)+">"),Lt("/P "+Io.P),Lt(">>"),Lt("endobj")),ja(),bo();var je=Or;return Do(),Ve(),Lt("startxref"),Lt(""+je),Lt("%%EOF"),Mr(Fr[yt]),mr.join(`
`)},so=ve.__private__.getBlob=function(M){return new Blob([ha(M)],{type:"application/pdf"})},_o=ve.output=ve.__private__.output=(Ma=function(M,je){switch(typeof(je=je||{})=="string"?je={filename:je}:je.filename=je.filename||"generated.pdf",M){case void 0:return Eo();case"save":ve.save(je.filename);break;case"arraybuffer":return ha(Eo());case"blob":return so(Eo());case"bloburi":case"bloburl":if(q.URL!==void 0&&typeof q.URL.createObjectURL=="function")return q.URL&&q.URL.createObjectURL(so(Eo()))||void 0;_.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var zt="",tr=Eo();try{zt=R(tr)}catch(r){zt=R(unescape(encodeURIComponent(tr)))}return"data:application/pdf;filename="+je.filename+";base64,"+zt;case"pdfobjectnewwindow":if(Object.prototype.toString.call(q)==="[object Window]"){var wr="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Kr=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';je.pdfObjectUrl&&(wr=je.pdfObjectUrl,Kr="");var cn='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+wr+'"'+Kr+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(je)+");<\/script></body></html>",Jn=q.open();return Jn!==null&&Jn.document.write(cn),Jn}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(q)==="[object Window]"){var ta='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(je.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+je.filename+'" width="500px" height="400px" /></body></html>',$a=q.open();if($a!==null){$a.document.write(ta);var Ta=this;$a.document.documentElement.querySelector("#pdfViewer").onload=function(){$a.document.title=je.filename,$a.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(Ta.output("bloburl"))}}return $a}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(q)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var ro='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",je)+'"></iframe></body></html>',ie=q.open();if(ie!==null&&(ie.document.write(ro),ie.document.title=je.filename),ie||typeof safari=="undefined")return ie;break;case"datauri":case"dataurl":return q.document.location.href=this.output("datauristring",je);default:return null}},Ma.foo=function(){try{return Ma.apply(this,arguments)}catch(zt){var M=zt.stack||"";~M.indexOf(" at ")&&(M=M.split(" at ")[1]);var je="Error in function "+M.split(`
`)[0].split("<")[0]+": "+zt.message;if(!q.console)throw new Error(je);q.console.error(je,zt),q.alert&&alert(je)}},Ma.foo.bar=Ma,Ma.foo),Wo=function(M){return Array.isArray(Qa)===!0&&Qa.indexOf(M)>-1};switch(b){case"pt":ia=1;break;case"mm":ia=72/25.4;break;case"cm":ia=72/2.54;break;case"in":ia=72;break;case"px":ia=Wo("px_scaling")==1?.75:96/72;break;case"pc":case"em":ia=12;break;case"ex":ia=6;break;default:if(typeof b!="number")throw new Error("Invalid unit: "+b);ia=b}var Io=null;Wt(),Tt();var Yo=ve.__private__.getPageInfo=ve.getPageInfo=function(M){if(isNaN(M)||M%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:jn[M].objId,pageNumber:M,pageContext:jn[M]}},Pi=ve.__private__.getPageInfoByObjId=function(M){if(isNaN(M)||M%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var je in jn)if(jn[je].objId===M)break;return Yo(je)},Wi=ve.__private__.getCurrentPageInfo=ve.getCurrentPageInfo=function(){return{objId:jn[yt].objId,pageNumber:yt,pageContext:jn[yt]}};ve.addPage=function(){return wi.apply(this,arguments),this},ve.setPage=function(){return Oi.apply(this,arguments),Mr.call(this,Fr[yt]),this},ve.insertPage=function(M){return this.addPage(),this.movePage(yt,M),this},ve.movePage=function(M,je){var zt,tr;if(M>je){zt=Fr[M],tr=jn[M];for(var wr=M;wr>je;wr--)Fr[wr]=Fr[wr-1],jn[wr]=jn[wr-1];Fr[je]=zt,jn[je]=tr,this.setPage(je)}else if(M<je){zt=Fr[M],tr=jn[M];for(var Kr=M;Kr<je;Kr++)Fr[Kr]=Fr[Kr+1],jn[Kr]=jn[Kr+1];Fr[je]=zt,jn[je]=tr,this.setPage(je)}return this},ve.deletePage=function(){return Ci.apply(this,arguments),this},ve.__private__.text=ve.text=function(M,je,zt,tr,wr){var Kr,cn,Jn,ta,$a,Ta,ro,ie,r,o=(tr=tr||{}).scope||this;if(typeof M=="number"&&typeof je=="number"&&(typeof zt=="string"||Array.isArray(zt))){var l=zt;zt=je,je=M,M=l}if(arguments[3]instanceof pa==0?(Jn=arguments[4],ta=arguments[5],(0,a.Z)(ro=arguments[3])==="object"&&ro!==null||(typeof Jn=="string"&&(ta=Jn,Jn=null),typeof ro=="string"&&(ta=ro,ro=null),typeof ro=="number"&&(Jn=ro,ro=null),tr={flags:ro,angle:Jn,align:ta})):($t("The transform parameter of text() with a Matrix value"),r=wr),isNaN(je)||isNaN(zt)||M==null)throw new Error("Invalid arguments passed to jsPDF.text");if(M.length===0)return o;var g,W="",fe=typeof tr.lineHeightFactor=="number"?tr.lineHeightFactor:ji,We=o.internal.scaleFactor;function it(eo){return eo=eo.split(" ").join(Array(tr.TabLen||9).join(" ")),Xo(eo,ro)}function Mt(eo){for(var lo,wo=eo.concat(),Po=[],ni=wo.length;ni--;)typeof(lo=wo.shift())=="string"?Po.push(lo):Array.isArray(eo)&&(lo.length===1||lo[1]===void 0&&lo[2]===void 0)?Po.push(lo[0]):Po.push([lo[0],lo[1],lo[2]]);return Po}function ar(eo,lo){var wo;if(typeof eo=="string")wo=lo(eo)[0];else if(Array.isArray(eo)){for(var Po,ni,vi=eo.concat(),To=[],Ji=vi.length;Ji--;)typeof(Po=vi.shift())=="string"?To.push(lo(Po)[0]):Array.isArray(Po)&&typeof Po[0]=="string"&&(ni=lo(Po[0],Po[1],Po[2]),To.push([ni[0],ni[1],ni[2]]));wo=To}return wo}var yr=!1,kr=!0;if(typeof M=="string")yr=!0;else if(Array.isArray(M)){var rn=M.concat();cn=[];for(var hn,pn=rn.length;pn--;)(typeof(hn=rn.shift())!="string"||Array.isArray(hn)&&typeof hn[0]!="string")&&(kr=!1);yr=kr}if(yr===!1)throw new Error('Type of text must be string or Array. "'+M+'" is not recognized.');typeof M=="string"&&(M=M.match(/[\r?\n]/)?M.split(/\r\n|\r|\n/g):[M]);var Un=an/o.internal.scaleFactor,wa=Un*(fe-1);switch(tr.baseline){case"bottom":zt-=wa;break;case"top":zt+=Un-wa;break;case"hanging":zt+=Un-2*wa;break;case"middle":zt+=Un/2-wa}if((Ta=tr.maxWidth||0)>0&&(typeof M=="string"?M=o.splitTextToSize(M,Ta):Object.prototype.toString.call(M)==="[object Array]"&&(M=M.reduce(function(eo,lo){return eo.concat(o.splitTextToSize(lo,Ta))},[]))),Kr={text:M,x:je,y:zt,options:tr,mutex:{pdfEscape:Xo,activeFontKey:kn,fonts:Qr,activeFontSize:an}},ma.publish("preProcessText",Kr),M=Kr.text,Jn=(tr=Kr.options).angle,r instanceof pa==0&&Jn&&typeof Jn=="number"){Jn*=Math.PI/180,tr.rotationDirection===0&&(Jn=-Jn),Qt===xr&&(Jn=-Jn);var Aa=Math.cos(Jn),u=Math.sin(Jn);r=new pa(Aa,u,-u,Aa,0,0)}else Jn&&Jn instanceof pa&&(r=Jn);Qt!==xr||r||(r=Na),($a=tr.charSpace||Gi)!==void 0&&(W+=Nt(At($a))+` Tc
`,this.setCharSpace(this.getCharSpace()||0)),(ie=tr.horizontalScale)!==void 0&&(W+=Nt(100*ie)+` Tz
`),tr.lang;var e=-1,t=tr.renderingMode!==void 0?tr.renderingMode:tr.stroke,d=o.internal.getCurrentPageInfo().pageContext;switch(t){case 0:case!1:case"fill":e=0;break;case 1:case!0:case"stroke":e=1;break;case 2:case"fillThenStroke":e=2;break;case 3:case"invisible":e=3;break;case 4:case"fillAndAddForClipping":e=4;break;case 5:case"strokeAndAddPathForClipping":e=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":e=6;break;case 7:case"addToPathForClipping":e=7}var O=d.usedRenderingMode!==void 0?d.usedRenderingMode:-1;e!==-1?W+=e+` Tr
`:O!==-1&&(W+=`0 Tr
`),e!==-1&&(d.usedRenderingMode=e),ta=tr.align||"left";var K,Oe=an*fe,Ke=o.internal.pageSize.getWidth(),Ye=Qr[kn];$a=tr.charSpace||Gi,Ta=tr.maxWidth||0,ro=Object.assign({autoencode:!0,noBOM:!0},tr.flags);var Xt=[],ur=function(eo){return o.getStringUnitWidth(eo,{font:Ye,charSpace:$a,fontSize:an,doKerning:!1})*an/We};if(Object.prototype.toString.call(M)==="[object Array]"){var pr;cn=Mt(M),ta!=="left"&&(K=cn.map(ur));var Tr,Wr=0;if(ta==="right"){je-=K[0],M=[],pn=cn.length;for(var ln=0;ln<pn;ln++)ln===0?(Tr=li(je),pr=pi(zt)):(Tr=At(Wr-K[ln]),pr=-Oe),M.push([cn[ln],Tr,pr]),Wr=K[ln]}else if(ta==="center"){je-=K[0]/2,M=[],pn=cn.length;for(var In=0;In<pn;In++)In===0?(Tr=li(je),pr=pi(zt)):(Tr=At((Wr-K[In])/2),pr=-Oe),M.push([cn[In],Tr,pr]),Wr=K[In]}else if(ta==="left"){M=[],pn=cn.length;for(var Hn=0;Hn<pn;Hn++)M.push(cn[Hn])}else if(ta==="justify"&&Ye.encoding==="Identity-H"){M=[],pn=cn.length,Ta=Ta!==0?Ta:Ke;for(var Nn=0,Fn=0;Fn<pn;Fn++)if(pr=Fn===0?pi(zt):-Oe,Tr=Fn===0?li(je):Nn,Fn<pn-1){var Oa=At((Ta-K[Fn])/(cn[Fn].split(" ").length-1)),Ba=cn[Fn].split(" ");M.push([Ba[0]+" ",Tr,pr]),Nn=0;for(var Ia=1;Ia<Ba.length;Ia++){var Ka=(ur(Ba[Ia-1]+" "+Ba[Ia])-ur(Ba[Ia]))*We+Oa;Ia==Ba.length-1?M.push([Ba[Ia],Ka,0]):M.push([Ba[Ia]+" ",Ka,0]),Nn-=Ka}}else M.push([cn[Fn],Tr,pr]);M.push(["",Nn,0])}else{if(ta!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(M=[],pn=cn.length,Ta=Ta!==0?Ta:Ke,Fn=0;Fn<pn;Fn++)pr=Fn===0?pi(zt):-Oe,Tr=Fn===0?li(je):0,Fn<pn-1?Xt.push(Nt(At((Ta-K[Fn])/(cn[Fn].split(" ").length-1)))):Xt.push(0),M.push([cn[Fn],Tr,pr])}}(typeof tr.R2L=="boolean"?tr.R2L:la)===!0&&(M=ar(M,function(eo,lo,wo){return[eo.split("").reverse().join(""),lo,wo]})),Kr={text:M,x:je,y:zt,options:tr,mutex:{pdfEscape:Xo,activeFontKey:kn,fonts:Qr,activeFontSize:an}},ma.publish("postProcessText",Kr),M=Kr.text,g=Kr.mutex.isHex||!1;var Ga=Qr[kn].encoding;Ga!=="WinAnsiEncoding"&&Ga!=="StandardEncoding"||(M=ar(M,function(eo,lo,wo){return[it(eo),lo,wo]})),cn=Mt(M),M=[];for(var fo,Xa,Go,$o=Array.isArray(cn[0])?1:0,mo="",ri=function(eo,lo,wo){var Po="";return wo instanceof pa?(wo=typeof tr.angle=="number"?No(wo,new pa(1,0,0,1,eo,lo)):No(new pa(1,0,0,1,eo,lo),wo),Qt===xr&&(wo=No(new pa(1,0,0,-1,0,0),wo)),Po=wo.join(" ")+` Tm
`):Po=Nt(eo)+" "+Nt(lo)+` Td
`,Po},So=0;So<cn.length;So++){switch(mo="",$o){case 1:Go=(g?"<":"(")+cn[So][0]+(g?">":")"),fo=parseFloat(cn[So][1]),Xa=parseFloat(cn[So][2]);break;case 0:Go=(g?"<":"(")+cn[So]+(g?">":")"),fo=li(je),Xa=pi(zt)}Xt!==void 0&&Xt[So]!==void 0&&(mo=Xt[So]+` Tw
`),So===0?M.push(mo+ri(fo,Xa,r)+Go):$o===0?M.push(mo+Go):$o===1&&M.push(mo+ri(fo,Xa,r)+Go)}M=$o===0?M.join(` Tj
T* `):M.join(` Tj
`),M+=` Tj
`;var Ro=`BT
/`;return Ro+=kn+" "+an+` Tf
`,Ro+=Nt(an*fe)+` TL
`,Ro+=Ni+`
`,Ro+=W,Ro+=M,Lt(Ro+="ET"),Et[kn]=!0,o};var vs=ve.__private__.clip=ve.clip=function(M){return Lt(M==="evenodd"?"W*":"W"),this};ve.clipEvenOdd=function(){return vs("evenodd")},ve.__private__.discardPath=ve.discardPath=function(){return Lt("n"),this};var ui=ve.__private__.isValidStyle=function(M){var je=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(M)!==-1&&(je=!0),je};ve.__private__.setDefaultPathOperation=ve.setDefaultPathOperation=function(M){return ui(M)&&(Ae=M),this};var ts=ve.__private__.getStyle=ve.getStyle=function(M){var je=Ae;switch(M){case"D":case"S":je="S";break;case"F":je="f";break;case"FD":case"DF":je="B";break;case"f":case"f*":case"B":case"B*":je=M}return je},ss=ve.close=function(){return Lt("h"),this};ve.stroke=function(){return Lt("S"),this},ve.fill=function(M){return di("f",M),this},ve.fillEvenOdd=function(M){return di("f*",M),this},ve.fillStroke=function(M){return di("B",M),this},ve.fillStrokeEvenOdd=function(M){return di("B*",M),this};var di=function(M,je){(0,a.Z)(je)==="object"?ls(je,M):Lt(M)},Ui=function(M){M===null||Qt===xr&&M===void 0||(M=ts(M),Lt(M))};function bs(M,je,zt,tr,wr){var Kr=new k(je||this.boundingBox,zt||this.xStep,tr||this.yStep,this.gState,wr||this.matrix);Kr.stream=this.stream;var cn=M+"$$"+this.cloneIndex+++"$$";return za(cn,Kr),Kr}var ls=function(M,je){var zt=fa[M.key],tr=En[zt];if(tr instanceof w)Lt("q"),Lt(ys(je)),tr.gState&&ve.setGState(tr.gState),Lt(M.matrix.toString()+" cm"),Lt("/"+zt+" sh"),Lt("Q");else if(tr instanceof k){var wr=new pa(1,0,0,-1,0,Jo());M.matrix&&(wr=wr.multiply(M.matrix||Na),zt=bs.call(tr,M.key,M.boundingBox,M.xStep,M.yStep,wr).id),Lt("q"),Lt("/Pattern cs"),Lt("/"+zt+" scn"),tr.gState&&ve.setGState(tr.gState),Lt(je),Lt("Q")}},ys=function(M){switch(M){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"}},rs=ve.moveTo=function(M,je){return Lt(Nt(At(M))+" "+Nt(dt(je))+" m"),this},hi=ve.lineTo=function(M,je){return Lt(Nt(At(M))+" "+Nt(dt(je))+" l"),this},fi=ve.curveTo=function(M,je,zt,tr,wr,Kr){return Lt([Nt(At(M)),Nt(dt(je)),Nt(At(zt)),Nt(dt(tr)),Nt(At(wr)),Nt(dt(Kr)),"c"].join(" ")),this};ve.__private__.line=ve.line=function(M,je,zt,tr,wr){if(isNaN(M)||isNaN(je)||isNaN(zt)||isNaN(tr)||!ui(wr))throw new Error("Invalid arguments passed to jsPDF.line");return Qt===nr?this.lines([[zt-M,tr-je]],M,je,[1,1],wr||"S"):this.lines([[zt-M,tr-je]],M,je,[1,1]).stroke()},ve.__private__.lines=ve.lines=function(M,je,zt,tr,wr,Kr){var cn,Jn,ta,$a,Ta,ro,ie,r,o,l,g,W;if(typeof M=="number"&&(W=zt,zt=je,je=M,M=W),tr=tr||[1,1],Kr=Kr||!1,isNaN(je)||isNaN(zt)||!Array.isArray(M)||!Array.isArray(tr)||!ui(wr)||typeof Kr!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(rs(je,zt),cn=tr[0],Jn=tr[1],$a=M.length,l=je,g=zt,ta=0;ta<$a;ta++)(Ta=M[ta]).length===2?(l=Ta[0]*cn+l,g=Ta[1]*Jn+g,hi(l,g)):(ro=Ta[0]*cn+l,ie=Ta[1]*Jn+g,r=Ta[2]*cn+l,o=Ta[3]*Jn+g,l=Ta[4]*cn+l,g=Ta[5]*Jn+g,fi(ro,ie,r,o,l,g));return Kr&&ss(),Ui(wr),this},ve.path=function(M){for(var je=0;je<M.length;je++){var zt=M[je],tr=zt.c;switch(zt.op){case"m":rs(tr[0],tr[1]);break;case"l":hi(tr[0],tr[1]);break;case"c":fi.apply(this,tr);break;case"h":ss()}}return this},ve.__private__.rect=ve.rect=function(M,je,zt,tr,wr){if(isNaN(M)||isNaN(je)||isNaN(zt)||isNaN(tr)||!ui(wr))throw new Error("Invalid arguments passed to jsPDF.rect");return Qt===nr&&(tr=-tr),Lt([Nt(At(M)),Nt(dt(je)),Nt(At(zt)),Nt(At(tr)),"re"].join(" ")),Ui(wr),this},ve.__private__.triangle=ve.triangle=function(M,je,zt,tr,wr,Kr,cn){if(isNaN(M)||isNaN(je)||isNaN(zt)||isNaN(tr)||isNaN(wr)||isNaN(Kr)||!ui(cn))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[zt-M,tr-je],[wr-zt,Kr-tr],[M-wr,je-Kr]],M,je,[1,1],cn,!0),this},ve.__private__.roundedRect=ve.roundedRect=function(M,je,zt,tr,wr,Kr,cn){if(isNaN(M)||isNaN(je)||isNaN(zt)||isNaN(tr)||isNaN(wr)||isNaN(Kr)||!ui(cn))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Jn=4/3*(Math.SQRT2-1);return wr=Math.min(wr,.5*zt),Kr=Math.min(Kr,.5*tr),this.lines([[zt-2*wr,0],[wr*Jn,0,wr,Kr-Kr*Jn,wr,Kr],[0,tr-2*Kr],[0,Kr*Jn,-wr*Jn,Kr,-wr,Kr],[2*wr-zt,0],[-wr*Jn,0,-wr,-Kr*Jn,-wr,-Kr],[0,2*Kr-tr],[0,-Kr*Jn,wr*Jn,-Kr,wr,-Kr]],M+wr,je,[1,1],cn,!0),this},ve.__private__.ellipse=ve.ellipse=function(M,je,zt,tr,wr){if(isNaN(M)||isNaN(je)||isNaN(zt)||isNaN(tr)||!ui(wr))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Kr=4/3*(Math.SQRT2-1)*zt,cn=4/3*(Math.SQRT2-1)*tr;return rs(M+zt,je),fi(M+zt,je-cn,M+Kr,je-tr,M,je-tr),fi(M-Kr,je-tr,M-zt,je-cn,M-zt,je),fi(M-zt,je+cn,M-Kr,je+tr,M,je+tr),fi(M+Kr,je+tr,M+zt,je+cn,M+zt,je),Ui(wr),this},ve.__private__.circle=ve.circle=function(M,je,zt,tr){if(isNaN(M)||isNaN(je)||isNaN(zt)||!ui(tr))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(M,je,zt,zt,tr)},ve.setFont=function(M,je,zt){return zt&&(je=Ut(je,zt)),kn=Pa(M,je,{disableWarning:!1}),this};var cs=ve.__private__.getFont=ve.getFont=function(){return Qr[Pa.apply(ve,arguments)]};ve.__private__.getFontList=ve.getFontList=function(){var M,je,zt={};for(M in mn)if(mn.hasOwnProperty(M))for(je in zt[M]=[],mn[M])mn[M].hasOwnProperty(je)&&zt[M].push(je);return zt},ve.addFont=function(M,je,zt,tr,wr){var Kr=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&Kr.indexOf(arguments[3])!==-1?wr=arguments[3]:arguments[3]&&Kr.indexOf(arguments[3])==-1&&(zt=Ut(zt,tr)),Ho.call(this,M,je,zt,wr=wr||"Identity-H")};var ji,mi=f.lineWidth||.200025,Ea=ve.__private__.getLineWidth=ve.getLineWidth=function(){return mi},xs=ve.__private__.setLineWidth=ve.setLineWidth=function(M){return mi=M,Lt(Nt(At(M))+" w"),this};ve.__private__.setLineDash=z.API.setLineDash=z.API.setLineDashPattern=function(M,je){if(M=M||[],je=je||0,isNaN(je)||!Array.isArray(M))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return M=M.map(function(zt){return Nt(At(zt))}).join(" "),je=Nt(At(je)),Lt("["+M+"] "+je+" d"),this};var Ss=ve.__private__.getLineHeight=ve.getLineHeight=function(){return an*ji};ve.__private__.getLineHeight=ve.getLineHeight=function(){return an*ji};var ws=ve.__private__.setLineHeightFactor=ve.setLineHeightFactor=function(M){return typeof(M=M||1.15)=="number"&&(ji=M),this},_i=ve.__private__.getLineHeightFactor=ve.getLineHeightFactor=function(){return ji};ws(f.lineHeight);var li=ve.__private__.getHorizontalCoordinate=function(M){return At(M)},pi=ve.__private__.getVerticalCoordinate=function(M){return Qt===xr?M:jn[yt].mediaBox.topRightY-jn[yt].mediaBox.bottomLeftY-At(M)},Ms=ve.__private__.getHorizontalCoordinateString=ve.getHorizontalCoordinateString=function(M){return Nt(li(M))},Cs=ve.__private__.getVerticalCoordinateString=ve.getVerticalCoordinateString=function(M){return Nt(pi(M))},ns=f.strokeColor||"0 G";ve.__private__.getStrokeColor=ve.getDrawColor=function(){return io(ns)},ve.__private__.setStrokeColor=ve.setDrawColor=function(M,je,zt,tr){return ns=ho({ch1:M,ch2:je,ch3:zt,ch4:tr,pdfColorType:"draw",precision:2}),Lt(ns),this};var Zi=f.fillColor||"0 g";ve.__private__.getFillColor=ve.getFillColor=function(){return io(Zi)},ve.__private__.setFillColor=ve.setFillColor=function(M,je,zt,tr){return Zi=ho({ch1:M,ch2:je,ch3:zt,ch4:tr,pdfColorType:"fill",precision:2}),Lt(Zi),this};var Ni=f.textColor||"0 g",Vi=ve.__private__.getTextColor=ve.getTextColor=function(){return io(Ni)};ve.__private__.setTextColor=ve.setTextColor=function(M,je,zt,tr){return Ni=ho({ch1:M,ch2:je,ch3:zt,ch4:tr,pdfColorType:"text",precision:3}),this};var Gi=f.charSpace,Os=ve.__private__.getCharSpace=ve.getCharSpace=function(){return parseFloat(Gi||0)};ve.__private__.setCharSpace=ve.setCharSpace=function(M){if(isNaN(M))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Gi=M,this};var Yi=0;ve.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},ve.__private__.setLineCap=ve.setLineCap=function(M){var je=ve.CapJoinStyles[M];if(je===void 0)throw new Error("Line cap style of '"+M+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Yi=je,Lt(je+" J"),this};var us=0;ve.__private__.setLineJoin=ve.setLineJoin=function(M){var je=ve.CapJoinStyles[M];if(je===void 0)throw new Error("Line join style of '"+M+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return us=je,Lt(je+" j"),this},ve.__private__.setLineMiterLimit=ve.__private__.setMiterLimit=ve.setLineMiterLimit=ve.setMiterLimit=function(M){if(M=M||0,isNaN(M))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return Lt(Nt(At(M))+" M"),this},ve.GState=le,ve.setGState=function(M){(M=typeof M=="string"?Vn[Wa[M]]:ft(null,M)).equals(qa)||(Lt("/"+M.id+" gs"),qa=M)};var ft=function(M,je){if(!M||!Wa[M]){var zt=!1;for(var tr in Vn)if(Vn.hasOwnProperty(tr)&&Vn[tr].equals(je)){zt=!0;break}if(zt)je=Vn[tr];else{var wr="GS"+(Object.keys(Vn).length+1).toString(10);Vn[wr]=je,je.id=wr}return M&&(Wa[M]=je.id),ma.publish("addGState",je),je}};ve.addGState=function(M,je){return ft(M,je),this},ve.saveGraphicsState=function(){return Lt("q"),ua.push({key:kn,size:an,color:Ni}),this},ve.restoreGraphicsState=function(){Lt("Q");var M=ua.pop();return kn=M.key,an=M.size,Ni=M.color,qa=null,this},ve.setCurrentTransformationMatrix=function(M){return Lt(M.toString()+" cm"),this},ve.comment=function(M){return Lt("#"+M),this};var Mi=function(M,je){var zt=M||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return zt},set:function(Kr){isNaN(Kr)||(zt=parseFloat(Kr))}});var tr=je||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return tr},set:function(Kr){isNaN(Kr)||(tr=parseFloat(Kr))}});var wr="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return wr},set:function(Kr){wr=Kr.toString()}}),this},ti=function(M,je,zt,tr){Mi.call(this,M,je),this.type="rect";var wr=zt||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return wr},set:function(cn){isNaN(cn)||(wr=parseFloat(cn))}});var Kr=tr||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return Kr},set:function(cn){isNaN(cn)||(Kr=parseFloat(cn))}}),this},Ti=function(){this.page=Cn,this.currentPage=yt,this.pages=Fr.slice(0),this.pagesContext=jn.slice(0),this.x=Rn,this.y=Bn,this.matrix=Yn,this.width=os(yt),this.height=Jo(yt),this.outputDestination=wn,this.id="",this.objectNumber=-1};Ti.prototype.restore=function(){Cn=this.page,yt=this.currentPage,jn=this.pagesContext,Fr=this.pages,Rn=this.x,Bn=this.y,Yn=this.matrix,is(yt,this.width),gi(yt,this.height),wn=this.outputDestination};var as=function(M,je,zt,tr,wr){go.push(new Ti),Cn=yt=0,Fr=[],Rn=M,Bn=je,Yn=wr,Hi([zt,tr])};for(var Bi in ve.beginFormObject=function(M,je,zt,tr,wr){return as(M,je,zt,tr,wr),this},ve.endFormObject=function(M){return function(je){if(po[je])go.pop().restore();else{var zt=new Ti,tr="Xo"+(Object.keys(_a).length+1).toString(10);zt.id=tr,po[je]=tr,_a[tr]=zt,ma.publish("addFormObject",zt),go.pop().restore()}}(M),this},ve.doFormObject=function(M,je){var zt=_a[po[M]];return Lt("q"),Lt(je.toString()+" cm"),Lt("/"+zt.id+" Do"),Lt("Q"),this},ve.getFormObject=function(M){var je=_a[po[M]];return{x:je.x,y:je.y,width:je.width,height:je.height,matrix:je.matrix}},ve.save=function(M,je){return M=M||"generated.pdf",(je=je||{}).returnPromise=je.returnPromise||!1,je.returnPromise===!1?(T(so(Eo()),M),typeof T.unload=="function"&&q.setTimeout&&setTimeout(T.unload,911),this):new Promise(function(zt,tr){try{var wr=T(so(Eo()),M);typeof T.unload=="function"&&q.setTimeout&&setTimeout(T.unload,911),zt(wr)}catch(Kr){tr(Kr.message)}})},z.API)z.API.hasOwnProperty(Bi)&&(Bi==="events"&&z.API.events.length?function(M,je){var zt,tr,wr;for(wr=je.length-1;wr!==-1;wr--)zt=je[wr][0],tr=je[wr][1],M.subscribe.apply(M,[zt].concat(typeof tr=="function"?[tr]:tr))}(ma,z.API.events):ve[Bi]=z.API[Bi]);var os=ve.getPageWidth=function(M){return(jn[M=M||yt].mediaBox.topRightX-jn[M].mediaBox.bottomLeftX)/ia},is=ve.setPageWidth=function(M,je){jn[M].mediaBox.topRightX=je*ia+jn[M].mediaBox.bottomLeftX},Jo=ve.getPageHeight=function(M){return(jn[M=M||yt].mediaBox.topRightY-jn[M].mediaBox.bottomLeftY)/ia},gi=ve.setPageHeight=function(M,je){jn[M].mediaBox.topRightY=je*ia+jn[M].mediaBox.bottomLeftY};return ve.internal={pdfEscape:Xo,getStyle:ts,getFont:cs,getFontSize:Gr,getCharSpace:Os,getTextColor:Vi,getLineHeight:Ss,getLineHeightFactor:_i,getLineWidth:Ea,write:ya,getHorizontalCoordinate:li,getVerticalCoordinate:pi,getCoordinateString:Ms,getVerticalCoordinateString:Cs,collections:{},newObject:Da,newAdditionalObject:Ya,newObjectDeferred:Ua,newObjectDeferredBegin:ba,getFilters:Mo,putStream:Bo,events:ma,scaleFactor:ia,pageSize:{getWidth:function(){return os(yt)},setWidth:function(M){is(yt,M)},getHeight:function(){return Jo(yt)},setHeight:function(M){gi(yt,M)}},encryptionOptions:lt,encryption:Io,getEncryptor:function(M){return lt!==null?Io.encryptor(M,0):function(je){return je}},output:_o,getNumberOfPages:Ai,pages:Fr,out:Lt,f2:He,f3:ze,getPageInfo:Yo,getPageInfoByObjId:Pi,getCurrentPageInfo:Wi,getPDFVersion:Ge,Point:Mi,Rectangle:ti,Matrix:pa,hasHotfix:Wo},Object.defineProperty(ve.internal.pageSize,"width",{get:function(){return os(yt)},set:function(M){is(yt,M)},enumerable:!0,configurable:!0}),Object.defineProperty(ve.internal.pageSize,"height",{get:function(){return Jo(yt)},set:function(M){gi(yt,M)},enumerable:!0,configurable:!0}),function(M){for(var je=0,zt=Wn.length;je<zt;je++){var tr=Ho.call(this,M[je][0],M[je][1],M[je][2],Wn[je][3],!0);It===!1&&(Et[tr]=!0);var wr=M[je][0].split("-");$i({id:tr,fontName:wr[0],fontStyle:wr[1]||""})}ma.publish("addFonts",{fonts:Qr,dictionary:mn})}.call(ve,Wn),kn="F1",wi($,p),ma.publish("initialized"),ve}j.prototype.lsbFirstWord=function(f){return String.fromCharCode(255&f,f>>8&255,f>>16&255,f>>24&255)},j.prototype.toHexString=function(f){return f.split("").map(function(s){return("0"+(255&s.charCodeAt(0)).toString(16)).slice(-2)}).join("")},j.prototype.hexToBytes=function(f){for(var s=[],p=0;p<f.length;p+=2)s.push(String.fromCharCode(parseInt(f.substr(p,2),16)));return s.join("")},j.prototype.processOwnerPassword=function(f,s){return Q(Ze(s).substr(0,5),f)},j.prototype.encryptor=function(f,s){var p=Ze(this.encryptionKey+String.fromCharCode(255&f,f>>8&255,f>>16&255,255&s,s>>8&255)).substr(0,10);return function(b){return Q(p,b)}},le.prototype.equals=function(f){var s,p="id,objectNumber,equals";if(!f||(0,a.Z)(f)!==(0,a.Z)(this))return!1;var b=0;for(s in this)if(!(p.indexOf(s)>=0)){if(this.hasOwnProperty(s)&&!f.hasOwnProperty(s)||this[s]!==f[s])return!1;b++}for(s in f)f.hasOwnProperty(s)&&p.indexOf(s)<0&&b--;return b===0},z.API={events:[]},z.version="3.0.2";var C=z.API,Y=1,ke=function(f){return f.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},pe=function(f){return f.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Ue=function(f){return f.toFixed(2)},at=function(f){return f.toFixed(5)};C.__acroform__={};var ct=function(f,s){f.prototype=Object.create(s.prototype),f.prototype.constructor=f},ce=function(f){return f*Y},Le=function(f){var s=new Gt,p=St.internal.getHeight(f)||0,b=St.internal.getWidth(f)||0;return s.BBox=[0,0,Number(Ue(b)),Number(Ue(p))],s},wt=C.__acroform__.setBit=function(f,s){if(f=f||0,s=s||0,isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return f|1<<s},Fe=C.__acroform__.clearBit=function(f,s){if(f=f||0,s=s||0,isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return f&~(1<<s)},De=C.__acroform__.getBit=function(f,s){if(isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return f&1<<s?1:0},P=C.__acroform__.getBitForPdf=function(f,s){if(isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return De(f,s-1)},_e=C.__acroform__.setBitForPdf=function(f,s){if(isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return wt(f,s-1)},be=C.__acroform__.clearBitForPdf=function(f,s){if(isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return Fe(f,s-1)},he=C.__acroform__.calculateCoordinates=function(f,s){var p=s.internal.getHorizontalCoordinate,b=s.internal.getVerticalCoordinate,$=f[0],v=f[1],B=f[2],U=f[3],re={};return re.lowerLeft_X=p($)||0,re.lowerLeft_Y=b(v+U)||0,re.upperRight_X=p($+B)||0,re.upperRight_Y=b(v)||0,[Number(Ue(re.lowerLeft_X)),Number(Ue(re.lowerLeft_Y)),Number(Ue(re.upperRight_X)),Number(Ue(re.upperRight_Y))]},de=function(f){if(f.appearanceStreamContent)return f.appearanceStreamContent;if(f.V||f.DV){var s=[],p=f._V||f.DV,b=me(f,p),$=f.scope.internal.getFont(f.fontName,f.fontStyle).id;s.push("/Tx BMC"),s.push("q"),s.push("BT"),s.push(f.scope.__private__.encodeColorString(f.color)),s.push("/"+$+" "+Ue(b.fontSize)+" Tf"),s.push("1 0 0 1 0 0 Tm"),s.push(b.text),s.push("ET"),s.push("Q"),s.push("EMC");var v=Le(f);return v.scope=f.scope,v.stream=s.join(`
`),v}},me=function(f,s){var p=f.fontSize===0?f.maxFontSize:f.fontSize,b={text:"",fontSize:""},$=(s=(s=s.substr(0,1)=="("?s.substr(1):s).substr(s.length-1)==")"?s.substr(0,s.length-1):s).split(" ");$=f.multiline?$.map(function(He){return He.split(`
`)}):$.map(function(He){return[He]});var v=p,B=St.internal.getHeight(f)||0;B=B<0?-B:B;var U=St.internal.getWidth(f)||0;U=U<0?-U:U;var re=function(He,ze,At){if(He+1<$.length){var dt=ze+" "+$[He+1][0];return Ie(dt,f,At).width<=U-4}return!1};v++;e:for(;v>0;){s="",v--;var Ae,lt,It=Ie("3",f,v).height,Et=f.multiline?B-v:(B-It)/2,ve=Et+=2,kt=0,Ge=0,Vt=0;if(v<=0){s=`(...) Tj
`,s+="% Width of Text: "+Ie(s,f,v=12).width+", FieldWidth:"+U+`
`;break}for(var vt="",nr=0,xr=0;xr<$.length;xr++)if($.hasOwnProperty(xr)){var Qt=!1;if($[xr].length!==1&&Vt!==$[xr].length-1){if((It+2)*(nr+2)+2>B)continue e;vt+=$[xr][Vt],Qt=!0,Ge=xr,xr--}else{vt=(vt+=$[xr][Vt]+" ").substr(vt.length-1)==" "?vt.substr(0,vt.length-1):vt;var nt=parseInt(xr),Ce=re(nt,vt,v),Ut=xr>=$.length-1;if(Ce&&!Ut){vt+=" ",Vt=0;continue}if(Ce||Ut){if(Ut)Ge=nt;else if(f.multiline&&(It+2)*(nr+2)+2>B)continue e}else{if(!f.multiline||(It+2)*(nr+2)+2>B)continue e;Ge=nt}}for(var Nt="",$t=kt;$t<=Ge;$t++){var qt=$[$t];if(f.multiline){if($t===Ge){Nt+=qt[Vt]+" ",Vt=(Vt+1)%qt.length;continue}if($t===kt){Nt+=qt[qt.length-1]+" ";continue}}Nt+=qt[0]+" "}switch(Nt=Nt.substr(Nt.length-1)==" "?Nt.substr(0,Nt.length-1):Nt,lt=Ie(Nt,f,v).width,f.textAlign){case"right":Ae=U-lt-2;break;case"center":Ae=(U-lt)/2;break;default:Ae=2}s+=Ue(Ae)+" "+Ue(ve)+` Td
`,s+="("+ke(Nt)+`) Tj
`,s+=-Ue(Ae)+` 0 Td
`,ve=-(v+2),lt=0,kt=Qt?Ge:Ge+1,nr++,vt=""}break}return b.text=s,b.fontSize=v,b},Ie=function(f,s,p){var b=s.scope.internal.getFont(s.fontName,s.fontStyle),$=s.scope.getStringUnitWidth(f,{font:b,fontSize:parseFloat(p),charSpace:0})*parseFloat(p);return{height:s.scope.getStringUnitWidth("3",{font:b,fontSize:parseFloat(p),charSpace:0})*parseFloat(p)*1.5,width:$}},Se={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Me=function(f,s){var p={type:"reference",object:f};s.internal.getPageInfo(f.page).pageContext.annotations.find(function(b){return b.type===p.type&&b.object===p.object})===void 0&&s.internal.getPageInfo(f.page).pageContext.annotations.push(p)},Je=function(f,s){if(s.scope=f,f.internal!==void 0&&(f.internal.acroformPlugin===void 0||f.internal.acroformPlugin.isInitialized===!1)){if(ot.FieldNum=0,f.internal.acroformPlugin=JSON.parse(JSON.stringify(Se)),f.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Y=f.internal.scaleFactor,f.internal.acroformPlugin.acroFormDictionaryRoot=new Pt,f.internal.acroformPlugin.acroFormDictionaryRoot.scope=f,f.internal.acroformPlugin.acroFormDictionaryRoot._eventID=f.internal.events.subscribe("postPutResources",function(){(function(p){p.internal.events.unsubscribe(p.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete p.internal.acroformPlugin.acroFormDictionaryRoot._eventID,p.internal.acroformPlugin.printedOut=!0})(f)}),f.internal.events.subscribe("buildDocument",function(){(function(p){p.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var b=p.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var $ in b)if(b.hasOwnProperty($)){var v=b[$];v.objId=void 0,v.hasAnnotation&&Me(v,p)}})(f)}),f.internal.events.subscribe("putCatalog",function(){(function(p){if(p.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");p.internal.write("/AcroForm "+p.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(f)}),f.internal.events.subscribe("postPutPages",function(p){(function(b,$){var v=!b;for(var B in b||($.internal.newObjectDeferredBegin($.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),$.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),b=b||$.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(b.hasOwnProperty(B)){var U=b[B],re=[],Ae=U.Rect;if(U.Rect&&(U.Rect=he(U.Rect,$)),$.internal.newObjectDeferredBegin(U.objId,!0),U.DA=St.createDefaultAppearanceStream(U),(0,a.Z)(U)==="object"&&typeof U.getKeyValueListForStream=="function"&&(re=U.getKeyValueListForStream()),U.Rect=Ae,U.hasAppearanceStream&&!U.appearanceStreamContent){var lt=de(U);re.push({key:"AP",value:"<</N "+lt+">>"}),$.internal.acroformPlugin.xForms.push(lt)}if(U.appearanceStreamContent){var It="";for(var Et in U.appearanceStreamContent)if(U.appearanceStreamContent.hasOwnProperty(Et)){var ve=U.appearanceStreamContent[Et];if(It+="/"+Et+" ",It+="<<",Object.keys(ve).length>=1||Array.isArray(ve)){for(var B in ve)if(ve.hasOwnProperty(B)){var kt=ve[B];typeof kt=="function"&&(kt=kt.call($,U)),It+="/"+B+" "+kt+" ",$.internal.acroformPlugin.xForms.indexOf(kt)>=0||$.internal.acroformPlugin.xForms.push(kt)}}else typeof(kt=ve)=="function"&&(kt=kt.call($,U)),It+="/"+B+" "+kt,$.internal.acroformPlugin.xForms.indexOf(kt)>=0||$.internal.acroformPlugin.xForms.push(kt);It+=">>"}re.push({key:"AP",value:`<<
`+It+">>"})}$.internal.putStream({additionalKeyValues:re,objectId:U.objId}),$.internal.out("endobj")}v&&function(Ge,Vt){for(var vt in Ge)if(Ge.hasOwnProperty(vt)){var nr=vt,xr=Ge[vt];Vt.internal.newObjectDeferredBegin(xr.objId,!0),(0,a.Z)(xr)==="object"&&typeof xr.putStream=="function"&&xr.putStream(),delete Ge[nr]}}($.internal.acroformPlugin.xForms,$)})(p,f)}),f.internal.acroformPlugin.isInitialized=!0}},pt=C.__acroform__.arrayToPdfArray=function(f,s,p){var b=function(B){return B};if(Array.isArray(f)){for(var $="[",v=0;v<f.length;v++)switch(v!==0&&($+=" "),(0,a.Z)(f[v])){case"boolean":case"number":case"object":$+=f[v].toString();break;case"string":f[v].substr(0,1)!=="/"?(s!==void 0&&p&&(b=p.internal.getEncryptor(s)),$+="("+ke(b(f[v].toString()))+")"):$+=f[v].toString()}return $+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Ot=function(f,s,p){var b=function($){return $};return s!==void 0&&p&&(b=p.internal.getEncryptor(s)),(f=f||"").toString(),"("+ke(b(f))+")"},_t=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(f){this._objId=f}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};_t.prototype.toString=function(){return this.objId+" 0 R"},_t.prototype.putStream=function(){var f=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:f,objectId:this.objId}),this.scope.internal.out("endobj")},_t.prototype.getKeyValueListForStream=function(){var f=[],s=Object.getOwnPropertyNames(this).filter(function(v){return v!="content"&&v!="appearanceStreamContent"&&v!="scope"&&v!="objId"&&v.substring(0,1)!="_"});for(var p in s)if(Object.getOwnPropertyDescriptor(this,s[p]).configurable===!1){var b=s[p],$=this[b];$&&(Array.isArray($)?f.push({key:b,value:pt($,this.objId,this.scope)}):$ instanceof _t?($.scope=this.scope,f.push({key:b,value:$.objId+" 0 R"})):typeof $!="function"&&f.push({key:b,value:$}))}return f};var Gt=function(){_t.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 f,s=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return s},set:function(p){s=p}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(p){f=p.trim()},get:function(){return f||null}})};ct(Gt,_t);var Pt=function(){_t.call(this);var f,s=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return s.length>0?s:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return s}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(f){var p=function(b){return b};return this.scope&&(p=this.scope.internal.getEncryptor(this.objId)),"("+ke(p(f))+")"}},set:function(p){f=p}})};ct(Pt,_t);var ot=function f(){_t.call(this);var s=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return s},set:function(vt){if(isNaN(vt))throw new Error('Invalid value "'+vt+'" for attribute F supplied.');s=vt}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!P(s,3)},set:function(vt){vt?this.F=_e(s,3):this.F=be(s,3)}});var p=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return p},set:function(vt){if(isNaN(vt))throw new Error('Invalid value "'+vt+'" for attribute Ff supplied.');p=vt}});var b=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(b.length!==0)return b},set:function(vt){b=vt!==void 0?vt:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!b||isNaN(b[0])?0:b[0]},set:function(vt){b[0]=vt}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!b||isNaN(b[1])?0:b[1]},set:function(vt){b[1]=vt}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!b||isNaN(b[2])?0:b[2]},set:function(vt){b[2]=vt}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!b||isNaN(b[3])?0:b[3]},set:function(vt){b[3]=vt}});var $="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return $},set:function(vt){switch(vt){case"/Btn":case"/Tx":case"/Ch":case"/Sig":$=vt;break;default:throw new Error('Invalid value "'+vt+'" for attribute FT supplied.')}}});var v=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!v||v.length<1){if(this instanceof qr)return;v="FieldObject"+f.FieldNum++}var vt=function(nr){return nr};return this.scope&&(vt=this.scope.internal.getEncryptor(this.objId)),"("+ke(vt(v))+")"},set:function(vt){v=vt.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return v},set:function(vt){v=vt}});var B="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return B},set:function(vt){B=vt}});var U="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return U},set:function(vt){U=vt}});var re=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return re},set:function(vt){re=vt}});var Ae=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return Ae===void 0?50/Y:Ae},set:function(vt){Ae=vt}});var lt="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return lt},set:function(vt){lt=vt}});var It="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!It||this instanceof qr||this instanceof x))return Ot(It,this.objId,this.scope)},set:function(vt){vt=vt.toString(),It=vt}});var Et=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Et)return this instanceof er==0?Ot(Et,this.objId,this.scope):Et},set:function(vt){vt=vt.toString(),Et=this instanceof er==0?vt.substr(0,1)==="("?pe(vt.substr(1,vt.length-2)):pe(vt):vt}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof er==1?pe(Et.substr(1,Et.length-1)):Et},set:function(vt){vt=vt.toString(),Et=this instanceof er==1?"/"+vt:vt}});var ve=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(ve)return ve},set:function(vt){this.V=vt}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(ve)return this instanceof er==0?Ot(ve,this.objId,this.scope):ve},set:function(vt){vt=vt.toString(),ve=this instanceof er==0?vt.substr(0,1)==="("?pe(vt.substr(1,vt.length-2)):pe(vt):vt}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof er==1?pe(ve.substr(1,ve.length-1)):ve},set:function(vt){vt=vt.toString(),ve=this instanceof er==1?"/"+vt:vt}}),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 kt,Ge=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return Ge},set:function(vt){vt=!!vt,Ge=vt}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(kt)return kt},set:function(vt){kt=vt}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!P(this.Ff,1)},set:function(vt){vt?this.Ff=_e(this.Ff,1):this.Ff=be(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!P(this.Ff,2)},set:function(vt){vt?this.Ff=_e(this.Ff,2):this.Ff=be(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!P(this.Ff,3)},set:function(vt){vt?this.Ff=_e(this.Ff,3):this.Ff=be(this.Ff,3)}});var Vt=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Vt!==null)return Vt},set:function(vt){if([0,1,2].indexOf(vt)===-1)throw new Error('Invalid value "'+vt+'" for attribute Q supplied.');Vt=vt}}),Object.defineProperty(this,"textAlign",{get:function(){var vt;switch(Vt){case 0:default:vt="left";break;case 1:vt="center";break;case 2:vt="right"}return vt},configurable:!0,enumerable:!0,set:function(vt){switch(vt){case"right":case 2:Vt=2;break;case"center":case 1:Vt=1;break;default:Vt=0}}})};ct(ot,_t);var xt=function(){ot.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var f=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return f},set:function(p){f=p}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return f},set:function(p){f=p}});var s=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return pt(s,this.objId,this.scope)},set:function(p){var b,$;$=[],typeof(b=p)=="string"&&($=function(v,B,U){U||(U=1);for(var re,Ae=[];re=B.exec(v);)Ae.push(re[U]);return Ae}(b,/\((.*?)\)/g)),s=$}}),this.getOptions=function(){return s},this.setOptions=function(p){s=p,this.sort&&s.sort()},this.addOption=function(p){p=(p=p||"").toString(),s.push(p),this.sort&&s.sort()},this.removeOption=function(p,b){for(b=b||!1,p=(p=p||"").toString();s.indexOf(p)!==-1&&(s.splice(s.indexOf(p),1),b!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!P(this.Ff,18)},set:function(p){p?this.Ff=_e(this.Ff,18):this.Ff=be(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!P(this.Ff,19)},set:function(p){this.combo===!0&&(p?this.Ff=_e(this.Ff,19):this.Ff=be(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!P(this.Ff,20)},set:function(p){p?(this.Ff=_e(this.Ff,20),s.sort()):this.Ff=be(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!P(this.Ff,22)},set:function(p){p?this.Ff=_e(this.Ff,22):this.Ff=be(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!P(this.Ff,23)},set:function(p){p?this.Ff=_e(this.Ff,23):this.Ff=be(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!P(this.Ff,27)},set:function(p){p?this.Ff=_e(this.Ff,27):this.Ff=be(this.Ff,27)}}),this.hasAppearanceStream=!1};ct(xt,ot);var jt=function(){xt.call(this),this.fontName="helvetica",this.combo=!1};ct(jt,xt);var Ht=function(){jt.call(this),this.combo=!0};ct(Ht,jt);var Ct=function(){Ht.call(this),this.edit=!0};ct(Ct,Ht);var er=function(){ot.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!P(this.Ff,15)},set:function(p){p?this.Ff=_e(this.Ff,15):this.Ff=be(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!P(this.Ff,16)},set:function(p){p?this.Ff=_e(this.Ff,16):this.Ff=be(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!P(this.Ff,17)},set:function(p){p?this.Ff=_e(this.Ff,17):this.Ff=be(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!P(this.Ff,26)},set:function(p){p?this.Ff=_e(this.Ff,26):this.Ff=be(this.Ff,26)}});var f,s={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var p=function(v){return v};if(this.scope&&(p=this.scope.internal.getEncryptor(this.objId)),Object.keys(s).length!==0){var b,$=[];for(b in $.push("<<"),s)$.push("/"+b+" ("+ke(p(s[b]))+")");return $.push(">>"),$.join(`
`)}},set:function(p){(0,a.Z)(p)==="object"&&(s=p)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return s.CA||""},set:function(p){typeof p=="string"&&(s.CA=p)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return f},set:function(p){f=p}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return f.substr(1,f.length-1)},set:function(p){f="/"+p}})};ct(er,ot);var cr=function(){er.call(this),this.pushButton=!0};ct(cr,er);var Cr=function(){er.call(this),this.radio=!0,this.pushButton=!1;var f=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return f},set:function(s){f=s!==void 0?s:[]}})};ct(Cr,er);var qr=function(){var f,s;ot.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return f},set:function($){f=$}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return s},set:function($){s=$}});var p,b={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var $=function(U){return U};this.scope&&($=this.scope.internal.getEncryptor(this.objId));var v,B=[];for(v in B.push("<<"),b)B.push("/"+v+" ("+ke($(b[v]))+")");return B.push(">>"),B.join(`
`)},set:function($){(0,a.Z)($)==="object"&&(b=$)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return b.CA||""},set:function($){typeof $=="string"&&(b.CA=$)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return p},set:function($){p=$}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return p.substr(1,p.length-1)},set:function($){p="/"+$}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=St.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};ct(qr,ot),Cr.prototype.setAppearance=function(f){if(!("createAppearanceStream"in f)||!("getCA"in f))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var s in this.Kids)if(this.Kids.hasOwnProperty(s)){var p=this.Kids[s];p.appearanceStreamContent=f.createAppearanceStream(p.optionName),p.caption=f.getCA()}},Cr.prototype.createOption=function(f){var s=new qr;return s.Parent=this,s.optionName=f,this.Kids.push(s),ae.call(this.scope,s),s};var Ar=function(){er.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=St.CheckBox.createAppearanceStream()};ct(Ar,er);var x=function(){ot.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!P(this.Ff,13)},set:function(s){s?this.Ff=_e(this.Ff,13):this.Ff=be(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!P(this.Ff,21)},set:function(s){s?this.Ff=_e(this.Ff,21):this.Ff=be(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!P(this.Ff,23)},set:function(s){s?this.Ff=_e(this.Ff,23):this.Ff=be(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!P(this.Ff,24)},set:function(s){s?this.Ff=_e(this.Ff,24):this.Ff=be(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!P(this.Ff,25)},set:function(s){s?this.Ff=_e(this.Ff,25):this.Ff=be(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!P(this.Ff,26)},set:function(s){s?this.Ff=_e(this.Ff,26):this.Ff=be(this.Ff,26)}});var f=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return f},set:function(s){f=s}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return f},set:function(s){Number.isInteger(s)&&(f=s)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};ct(x,ot);var H=function(){x.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!P(this.Ff,14)},set:function(f){f?this.Ff=_e(this.Ff,14):this.Ff=be(this.Ff,14)}}),this.password=!0};ct(H,x);var St={CheckBox:{createAppearanceStream:function(){return{N:{On:St.CheckBox.YesNormal},D:{On:St.CheckBox.YesPushDown,Off:St.CheckBox.OffPushDown}}},YesPushDown:function(f){var s=Le(f);s.scope=f.scope;var p=[],b=f.scope.internal.getFont(f.fontName,f.fontStyle).id,$=f.scope.__private__.encodeColorString(f.color),v=me(f,f.caption);return p.push("0.749023 g"),p.push("0 0 "+Ue(St.internal.getWidth(f))+" "+Ue(St.internal.getHeight(f))+" re"),p.push("f"),p.push("BMC"),p.push("q"),p.push("0 0 1 rg"),p.push("/"+b+" "+Ue(v.fontSize)+" Tf "+$),p.push("BT"),p.push(v.text),p.push("ET"),p.push("Q"),p.push("EMC"),s.stream=p.join(`
`),s},YesNormal:function(f){var s=Le(f);s.scope=f.scope;var p=f.scope.internal.getFont(f.fontName,f.fontStyle).id,b=f.scope.__private__.encodeColorString(f.color),$=[],v=St.internal.getHeight(f),B=St.internal.getWidth(f),U=me(f,f.caption);return $.push("1 g"),$.push("0 0 "+Ue(B)+" "+Ue(v)+" re"),$.push("f"),$.push("q"),$.push("0 0 1 rg"),$.push("0 0 "+Ue(B-1)+" "+Ue(v-1)+" re"),$.push("W"),$.push("n"),$.push("0 g"),$.push("BT"),$.push("/"+p+" "+Ue(U.fontSize)+" Tf "+b),$.push(U.text),$.push("ET"),$.push("Q"),s.stream=$.join(`
`),s},OffPushDown:function(f){var s=Le(f);s.scope=f.scope;var p=[];return p.push("0.749023 g"),p.push("0 0 "+Ue(St.internal.getWidth(f))+" "+Ue(St.internal.getHeight(f))+" re"),p.push("f"),s.stream=p.join(`
`),s}},RadioButton:{Circle:{createAppearanceStream:function(f){var s={D:{Off:St.RadioButton.Circle.OffPushDown},N:{}};return s.N[f]=St.RadioButton.Circle.YesNormal,s.D[f]=St.RadioButton.Circle.YesPushDown,s},getCA:function(){return"l"},YesNormal:function(f){var s=Le(f);s.scope=f.scope;var p=[],b=St.internal.getWidth(f)<=St.internal.getHeight(f)?St.internal.getWidth(f)/4:St.internal.getHeight(f)/4;b=Number((.9*b).toFixed(5));var $=St.internal.Bezier_C,v=Number((b*$).toFixed(5));return p.push("q"),p.push("1 0 0 1 "+at(St.internal.getWidth(f)/2)+" "+at(St.internal.getHeight(f)/2)+" cm"),p.push(b+" 0 m"),p.push(b+" "+v+" "+v+" "+b+" 0 "+b+" c"),p.push("-"+v+" "+b+" -"+b+" "+v+" -"+b+" 0 c"),p.push("-"+b+" -"+v+" -"+v+" -"+b+" 0 -"+b+" c"),p.push(v+" -"+b+" "+b+" -"+v+" "+b+" 0 c"),p.push("f"),p.push("Q"),s.stream=p.join(`
`),s},YesPushDown:function(f){var s=Le(f);s.scope=f.scope;var p=[],b=St.internal.getWidth(f)<=St.internal.getHeight(f)?St.internal.getWidth(f)/4:St.internal.getHeight(f)/4;b=Number((.9*b).toFixed(5));var $=Number((2*b).toFixed(5)),v=Number(($*St.internal.Bezier_C).toFixed(5)),B=Number((b*St.internal.Bezier_C).toFixed(5));return p.push("0.749023 g"),p.push("q"),p.push("1 0 0 1 "+at(St.internal.getWidth(f)/2)+" "+at(St.internal.getHeight(f)/2)+" cm"),p.push($+" 0 m"),p.push($+" "+v+" "+v+" "+$+" 0 "+$+" c"),p.push("-"+v+" "+$+" -"+$+" "+v+" -"+$+" 0 c"),p.push("-"+$+" -"+v+" -"+v+" -"+$+" 0 -"+$+" c"),p.push(v+" -"+$+" "+$+" -"+v+" "+$+" 0 c"),p.push("f"),p.push("Q"),p.push("0 g"),p.push("q"),p.push("1 0 0 1 "+at(St.internal.getWidth(f)/2)+" "+at(St.internal.getHeight(f)/2)+" cm"),p.push(b+" 0 m"),p.push(b+" "+B+" "+B+" "+b+" 0 "+b+" c"),p.push("-"+B+" "+b+" -"+b+" "+B+" -"+b+" 0 c"),p.push("-"+b+" -"+B+" -"+B+" -"+b+" 0 -"+b+" c"),p.push(B+" -"+b+" "+b+" -"+B+" "+b+" 0 c"),p.push("f"),p.push("Q"),s.stream=p.join(`
`),s},OffPushDown:function(f){var s=Le(f);s.scope=f.scope;var p=[],b=St.internal.getWidth(f)<=St.internal.getHeight(f)?St.internal.getWidth(f)/4:St.internal.getHeight(f)/4;b=Number((.9*b).toFixed(5));var $=Number((2*b).toFixed(5)),v=Number(($*St.internal.Bezier_C).toFixed(5));return p.push("0.749023 g"),p.push("q"),p.push("1 0 0 1 "+at(St.internal.getWidth(f)/2)+" "+at(St.internal.getHeight(f)/2)+" cm"),p.push($+" 0 m"),p.push($+" "+v+" "+v+" "+$+" 0 "+$+" c"),p.push("-"+v+" "+$+" -"+$+" "+v+" -"+$+" 0 c"),p.push("-"+$+" -"+v+" -"+v+" -"+$+" 0 -"+$+" c"),p.push(v+" -"+$+" "+$+" -"+v+" "+$+" 0 c"),p.push("f"),p.push("Q"),s.stream=p.join(`
`),s}},Cross:{createAppearanceStream:function(f){var s={D:{Off:St.RadioButton.Cross.OffPushDown},N:{}};return s.N[f]=St.RadioButton.Cross.YesNormal,s.D[f]=St.RadioButton.Cross.YesPushDown,s},getCA:function(){return"8"},YesNormal:function(f){var s=Le(f);s.scope=f.scope;var p=[],b=St.internal.calculateCross(f);return p.push("q"),p.push("1 1 "+Ue(St.internal.getWidth(f)-2)+" "+Ue(St.internal.getHeight(f)-2)+" re"),p.push("W"),p.push("n"),p.push(Ue(b.x1.x)+" "+Ue(b.x1.y)+" m"),p.push(Ue(b.x2.x)+" "+Ue(b.x2.y)+" l"),p.push(Ue(b.x4.x)+" "+Ue(b.x4.y)+" m"),p.push(Ue(b.x3.x)+" "+Ue(b.x3.y)+" l"),p.push("s"),p.push("Q"),s.stream=p.join(`
`),s},YesPushDown:function(f){var s=Le(f);s.scope=f.scope;var p=St.internal.calculateCross(f),b=[];return b.push("0.749023 g"),b.push("0 0 "+Ue(St.internal.getWidth(f))+" "+Ue(St.internal.getHeight(f))+" re"),b.push("f"),b.push("q"),b.push("1 1 "+Ue(St.internal.getWidth(f)-2)+" "+Ue(St.internal.getHeight(f)-2)+" re"),b.push("W"),b.push("n"),b.push(Ue(p.x1.x)+" "+Ue(p.x1.y)+" m"),b.push(Ue(p.x2.x)+" "+Ue(p.x2.y)+" l"),b.push(Ue(p.x4.x)+" "+Ue(p.x4.y)+" m"),b.push(Ue(p.x3.x)+" "+Ue(p.x3.y)+" l"),b.push("s"),b.push("Q"),s.stream=b.join(`
`),s},OffPushDown:function(f){var s=Le(f);s.scope=f.scope;var p=[];return p.push("0.749023 g"),p.push("0 0 "+Ue(St.internal.getWidth(f))+" "+Ue(St.internal.getHeight(f))+" re"),p.push("f"),s.stream=p.join(`
`),s}}},createDefaultAppearanceStream:function(f){var s=f.scope.internal.getFont(f.fontName,f.fontStyle).id,p=f.scope.__private__.encodeColorString(f.color);return"/"+s+" "+f.fontSize+" Tf "+p}};St.internal={Bezier_C:.551915024494,calculateCross:function(f){var s=St.internal.getWidth(f),p=St.internal.getHeight(f),b=Math.min(s,p);return{x1:{x:(s-b)/2,y:(p-b)/2+b},x2:{x:(s-b)/2+b,y:(p-b)/2},x3:{x:(s-b)/2,y:(p-b)/2},x4:{x:(s-b)/2+b,y:(p-b)/2+b}}}},St.internal.getWidth=function(f){var s=0;return(0,a.Z)(f)==="object"&&(s=ce(f.Rect[2])),s},St.internal.getHeight=function(f){var s=0;return(0,a.Z)(f)==="object"&&(s=ce(f.Rect[3])),s};var ae=C.addField=function(f){if(Je(this,f),!(f instanceof ot))throw new Error("Invalid argument passed to jsPDF.addField.");var s;return(s=f).scope.internal.acroformPlugin.printedOut&&(s.scope.internal.acroformPlugin.printedOut=!1,s.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),s.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(s),f.page=f.scope.internal.getCurrentPageInfo().pageNumber,this};C.AcroFormChoiceField=xt,C.AcroFormListBox=jt,C.AcroFormComboBox=Ht,C.AcroFormEditBox=Ct,C.AcroFormButton=er,C.AcroFormPushButton=cr,C.AcroFormRadioButton=Cr,C.AcroFormCheckBox=Ar,C.AcroFormTextField=x,C.AcroFormPasswordField=H,C.AcroFormAppearance=St,C.AcroForm={ChoiceField:xt,ListBox:jt,ComboBox:Ht,EditBox:Ct,Button:er,PushButton:cr,RadioButton:Cr,CheckBox:Ar,TextField:x,PasswordField:H,Appearance:St},z.AcroForm={ChoiceField:xt,ListBox:jt,ComboBox:Ht,EditBox:Ct,Button:er,PushButton:cr,RadioButton:Cr,CheckBox:Ar,TextField:x,PasswordField:H,Appearance:St};var Be=z.AcroForm;function zr(f){return f.reduce(function(s,p,b){return s[p]=b,s},{})}(function(f){var s="addImage_";f.__addimage__={};var p="UNKNOWN",b={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]]},$=f.__addimage__.getImageFileTypeByImageData=function(He,ze){var At,dt,dr,br,Jt,Tt=p;if((ze=ze||p)==="RGBA"||He.data!==void 0&&He.data instanceof Uint8ClampedArray&&"height"in He&&"width"in He)return"RGBA";if(Ce(He))for(Jt in b)for(dr=b[Jt],At=0;At<dr.length;At+=1){for(br=!0,dt=0;dt<dr[At].length;dt+=1)if(dr[At][dt]!==void 0&&dr[At][dt]!==He[dt]){br=!1;break}if(br===!0){Tt=Jt;break}}else for(Jt in b)for(dr=b[Jt],At=0;At<dr.length;At+=1){for(br=!0,dt=0;dt<dr[At].length;dt+=1)if(dr[At][dt]!==void 0&&dr[At][dt]!==He.charCodeAt(dt)){br=!1;break}if(br===!0){Tt=Jt;break}}return Tt===p&&ze!==p&&(Tt=ze),Tt},v=function He(ze){for(var At=this.internal.write,dt=this.internal.putStream,dr=(0,this.internal.getFilters)();dr.indexOf("FlateEncode")!==-1;)dr.splice(dr.indexOf("FlateEncode"),1);ze.objectId=this.internal.newObject();var br=[];if(br.push({key:"Type",value:"/XObject"}),br.push({key:"Subtype",value:"/Image"}),br.push({key:"Width",value:ze.width}),br.push({key:"Height",value:ze.height}),ze.colorSpace===vt.INDEXED?br.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(ze.palette.length/3-1)+" "+("sMask"in ze&&ze.sMask!==void 0?ze.objectId+2:ze.objectId+1)+" 0 R]"}):(br.push({key:"ColorSpace",value:"/"+ze.colorSpace}),ze.colorSpace===vt.DEVICE_CMYK&&br.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),br.push({key:"BitsPerComponent",value:ze.bitsPerComponent}),"decodeParameters"in ze&&ze.decodeParameters!==void 0&&br.push({key:"DecodeParms",value:"<<"+ze.decodeParameters+">>"}),"transparency"in ze&&Array.isArray(ze.transparency)){for(var Jt="",Tt=0,ir=ze.transparency.length;Tt<ir;Tt++)Jt+=ze.transparency[Tt]+" "+ze.transparency[Tt]+" ";br.push({key:"Mask",value:"["+Jt+"]"})}ze.sMask!==void 0&&br.push({key:"SMask",value:ze.objectId+1+" 0 R"});var Zr=ze.filter!==void 0?["/"+ze.filter]:void 0;if(dt({data:ze.data,additionalKeyValues:br,alreadyAppliedFilters:Zr,objectId:ze.objectId}),At("endobj"),"sMask"in ze&&ze.sMask!==void 0){var Wt=(ze.predictor!=null?"/Predictor "+ze.predictor:"")+" /Colors 1 /BitsPerComponent 8 /Columns "+ze.width,Pe={width:ze.width,height:ze.height,colorSpace:"DeviceGray",bitsPerComponent:ze.bitsPerComponent,decodeParameters:Wt,data:ze.sMask};"filter"in ze&&(Pe.filter=ze.filter),He.call(this,Pe)}if(ze.colorSpace===vt.INDEXED){var yt=this.internal.newObject();dt({data:Nt(new Uint8Array(ze.palette)),objectId:yt}),At("endobj")}},B=function(){var He=this.internal.collections[s+"images"];for(var ze in He)v.call(this,He[ze])},U=function(){var He,ze=this.internal.collections[s+"images"],At=this.internal.write;for(var dt in ze)At("/I"+(He=ze[dt]).index,He.objectId,"0","R")},re=function(){this.internal.collections[s+"images"]||(this.internal.collections[s+"images"]={},this.internal.events.subscribe("putResources",B),this.internal.events.subscribe("putXobjectDict",U))},Ae=function(){var He=this.internal.collections[s+"images"];return re.call(this),He},lt=function(){return Object.keys(this.internal.collections[s+"images"]).length},It=function(He){return typeof f["process"+He.toUpperCase()]=="function"},Et=function(He){return(0,a.Z)(He)==="object"&&He.nodeType===1},ve=function(He,ze){if(He.nodeName==="IMG"&&He.hasAttribute("src")){var At=""+He.getAttribute("src");if(At.indexOf("data:image/")===0)return G(unescape(At).split("base64,").pop());var dt=f.loadFile(At,!0);if(dt!==void 0)return dt}if(He.nodeName==="CANVAS"){if(He.width===0||He.height===0)throw new Error("Given canvas must have data. Canvas width: "+He.width+", height: "+He.height);var dr;switch(ze){case"PNG":dr="image/png";break;case"WEBP":dr="image/webp";break;default:dr="image/jpeg"}return G(He.toDataURL(dr,1).split("base64,").pop())}},kt=function(He){var ze=this.internal.collections[s+"images"];if(ze){for(var At in ze)if(He===ze[At].alias)return ze[At]}},Ge=function(He,ze,At){return He||ze||(He=-96,ze=-96),He<0&&(He=-1*At.width*72/He/this.internal.scaleFactor),ze<0&&(ze=-1*At.height*72/ze/this.internal.scaleFactor),He===0&&(He=ze*At.width/At.height),ze===0&&(ze=He*At.height/At.width),[He,ze]},Vt=function(He,ze,At,dt,dr,br){var Jt=Ge.call(this,At,dt,dr),Tt=this.internal.getCoordinateString,ir=this.internal.getVerticalCoordinateString,Zr=Ae.call(this);if(At=Jt[0],dt=Jt[1],Zr[dr.index]=dr,br){br*=Math.PI/180;var Wt=Math.cos(br),Pe=Math.sin(br),yt=function(ht){return ht.toFixed(4)},Bt=[yt(Wt),yt(Pe),yt(-1*Pe),yt(Wt),0,0,"cm"]}this.internal.write("q"),br?(this.internal.write([1,"0","0",1,Tt(He),ir(ze+dt),"cm"].join(" ")),this.internal.write(Bt.join(" ")),this.internal.write([Tt(At),"0","0",Tt(dt),"0","0","cm"].join(" "))):this.internal.write([Tt(At),"0","0",Tt(dt),Tt(He),ir(ze+dt),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+dr.index+" Do"),this.internal.write("Q")},vt=f.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"};f.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 nr=f.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},xr=f.__addimage__.sHashCode=function(He){var ze,At,dt=0;if(typeof He=="string")for(At=He.length,ze=0;ze<At;ze++)dt=(dt<<5)-dt+He.charCodeAt(ze),dt|=0;else if(Ce(He))for(At=He.byteLength/2,ze=0;ze<At;ze++)dt=(dt<<5)-dt+He[ze],dt|=0;return dt},Qt=f.__addimage__.validateStringAsBase64=function(He){(He=He||"").toString().trim();var ze=!0;return He.length===0&&(ze=!1),He.length%4!=0&&(ze=!1),/^[A-Za-z0-9+/]+$/.test(He.substr(0,He.length-2))===!1&&(ze=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(He.substr(-2))===!1&&(ze=!1),ze},nt=f.__addimage__.extractImageFromDataUrl=function(He){if(He==null||!(He=He.trim()).startsWith("data:"))return null;var ze=He.indexOf(",");return ze<0?null:He.substring(0,ze).trim().endsWith("base64")?He.substring(ze+1):null};f.__addimage__.isArrayBuffer=function(He){return He instanceof ArrayBuffer};var Ce=f.__addimage__.isArrayBufferView=function(He){return He instanceof Int8Array||He instanceof Uint8Array||He instanceof Uint8ClampedArray||He instanceof Int16Array||He instanceof Uint16Array||He instanceof Int32Array||He instanceof Uint32Array||He instanceof Float32Array||He instanceof Float64Array},Ut=f.__addimage__.binaryStringToUint8Array=function(He){for(var ze=He.length,At=new Uint8Array(ze),dt=0;dt<ze;dt++)At[dt]=He.charCodeAt(dt);return At},Nt=f.__addimage__.arrayBufferToBinaryString=function(He){for(var ze="",At=Ce(He)?He:new Uint8Array(He),dt=0;dt<At.length;dt+=8192)ze+=String.fromCharCode.apply(null,At.subarray(dt,dt+8192));return ze};f.addImage=function(){var He,ze,At,dt,dr,br,Jt,Tt,ir;if(typeof arguments[1]=="number"?(ze=p,At=arguments[1],dt=arguments[2],dr=arguments[3],br=arguments[4],Jt=arguments[5],Tt=arguments[6],ir=arguments[7]):(ze=arguments[1],At=arguments[2],dt=arguments[3],dr=arguments[4],br=arguments[5],Jt=arguments[6],Tt=arguments[7],ir=arguments[8]),(0,a.Z)(He=arguments[0])==="object"&&!Et(He)&&"imageData"in He){var Zr=He;He=Zr.imageData,ze=Zr.format||ze||p,At=Zr.x||At||0,dt=Zr.y||dt||0,dr=Zr.w||Zr.width||dr,br=Zr.h||Zr.height||br,Jt=Zr.alias||Jt,Tt=Zr.compression||Tt,ir=Zr.rotation||Zr.angle||ir}var Wt=this.internal.getFilters();if(Tt===void 0&&Wt.indexOf("FlateEncode")!==-1&&(Tt="SLOW"),isNaN(At)||isNaN(dt))throw new Error("Invalid coordinates passed to jsPDF.addImage");re.call(this);var Pe=$t.call(this,He,ze,Jt,Tt);return Vt.call(this,At,dt,dr,br,Pe,ir),this};var $t=function(He,ze,At,dt){var dr,br,Jt;if(typeof He=="string"&&$(He)===p){He=unescape(He);var Tt=qt(He,!1);(Tt!==""||(Tt=f.loadFile(He,!0))!==void 0)&&(He=Tt)}if(Et(He)&&(He=ve(He,ze)),ze=$(He,ze),!It(ze))throw new Error("addImage does not support files of type '"+ze+"', please ensure that a plugin for '"+ze+"' support is added.");if(((Jt=At)==null||Jt.length===0)&&(At=function(ir){return typeof ir=="string"||Ce(ir)?xr(ir):Ce(ir.data)?xr(ir.data):null}(He)),(dr=kt.call(this,At))||(He instanceof Uint8Array||ze==="RGBA"||(br=He,He=Ut(He)),dr=this["process"+ze.toUpperCase()](He,lt.call(this),At,function(ir){return ir&&typeof ir=="string"&&(ir=ir.toUpperCase()),ir in f.image_compression?ir:nr.NONE}(dt),br)),!dr)throw new Error("An unknown error occurred whilst processing the image.");return dr},qt=f.__addimage__.convertBase64ToBinaryString=function(He,ze){ze=typeof ze!="boolean"||ze;var At,dt="";if(typeof He=="string"){var dr;At=(dr=nt(He))!==null&&dr!==void 0?dr:He;try{dt=G(At)}catch(br){if(ze)throw Qt(At)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+br.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return dt};f.getImageProperties=function(He){var ze,At,dt="";if(Et(He)&&(He=ve(He)),typeof He=="string"&&$(He)===p&&((dt=qt(He,!1))===""&&(dt=f.loadFile(He)||""),He=dt),At=$(He),!It(At))throw new Error("addImage does not support files of type '"+At+"', please ensure that a plugin for '"+At+"' support is added.");if(He instanceof Uint8Array||(He=Ut(He)),!(ze=this["process"+At.toUpperCase()](He)))throw new Error("An unknown error occurred whilst processing the image");return ze.fileType=At,ze}})(z.API),function(f){var s=function(p){if(p!==void 0&&p!="")return!0};z.API.events.push(["addPage",function(p){this.internal.getPageInfo(p.pageNumber).pageContext.annotations=[]}]),f.events.push(["putPage",function(p){for(var b,$,v,B=this.internal.getCoordinateString,U=this.internal.getVerticalCoordinateString,re=this.internal.getPageInfoByObjId(p.objId),Ae=p.pageContext.annotations,lt=!1,It=0;It<Ae.length&&!lt;It++)switch((b=Ae[It]).type){case"link":(s(b.options.url)||s(b.options.pageNumber))&&(lt=!0);break;case"reference":case"text":case"freetext":lt=!0}if(lt!=0){this.internal.write("/Annots [");for(var Et=0;Et<Ae.length;Et++){b=Ae[Et];var ve=this.internal.pdfEscape,kt=this.internal.getEncryptor(p.objId);switch(b.type){case"reference":this.internal.write(" "+b.object.objId+" 0 R ");break;case"text":var Ge=this.internal.newAdditionalObject(),Vt=this.internal.newAdditionalObject(),vt=this.internal.getEncryptor(Ge.objId),nr=b.title||"Note";v="<</Type /Annot /Subtype /Text "+($="/Rect ["+B(b.bounds.x)+" "+U(b.bounds.y+b.bounds.h)+" "+B(b.bounds.x+b.bounds.w)+" "+U(b.bounds.y)+"] ")+"/Contents ("+ve(vt(b.contents))+")",v+=" /Popup "+Vt.objId+" 0 R",v+=" /P "+re.objId+" 0 R",v+=" /T ("+ve(vt(nr))+") >>",Ge.content=v;var xr=Ge.objId+" 0 R";v="<</Type /Annot /Subtype /Popup "+($="/Rect ["+B(b.bounds.x+30)+" "+U(b.bounds.y+b.bounds.h)+" "+B(b.bounds.x+b.bounds.w+30)+" "+U(b.bounds.y)+"] ")+" /Parent "+xr,b.open&&(v+=" /Open true"),v+=" >>",Vt.content=v,this.internal.write(Ge.objId,"0 R",Vt.objId,"0 R");break;case"freetext":$="/Rect ["+B(b.bounds.x)+" "+U(b.bounds.y)+" "+B(b.bounds.x+b.bounds.w)+" "+U(b.bounds.y+b.bounds.h)+"] ";var Qt=b.color||"#000000";v="<</Type /Annot /Subtype /FreeText "+$+"/Contents ("+ve(kt(b.contents))+")",v+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+Qt+")",v+=" /Border [0 0 0]",v+=" >>",this.internal.write(v);break;case"link":if(b.options.name){var nt=this.annotations._nameMap[b.options.name];b.options.pageNumber=nt.page,b.options.top=nt.y}else b.options.top||(b.options.top=0);if($="/Rect ["+b.finalBounds.x+" "+b.finalBounds.y+" "+b.finalBounds.w+" "+b.finalBounds.h+"] ",v="",b.options.url)v="<</Type /Annot /Subtype /Link "+$+"/Border [0 0 0] /A <</S /URI /URI ("+ve(kt(b.options.url))+") >>";else if(b.options.pageNumber)switch(v="<</Type /Annot /Subtype /Link "+$+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(b.options.pageNumber).objId+" 0 R",b.options.magFactor=b.options.magFactor||"XYZ",b.options.magFactor){case"Fit":v+=" /Fit]";break;case"FitH":v+=" /FitH "+b.options.top+"]";break;case"FitV":b.options.left=b.options.left||0,v+=" /FitV "+b.options.left+"]";break;default:var Ce=U(b.options.top);b.options.left=b.options.left||0,b.options.zoom===void 0&&(b.options.zoom=0),v+=" /XYZ "+b.options.left+" "+Ce+" "+b.options.zoom+"]"}v!=""&&(v+=" >>",this.internal.write(v))}}this.internal.write("]")}}]),f.createAnnotation=function(p){var b=this.internal.getCurrentPageInfo();switch(p.type){case"link":this.link(p.bounds.x,p.bounds.y,p.bounds.w,p.bounds.h,p);break;case"text":case"freetext":b.pageContext.annotations.push(p)}},f.link=function(p,b,$,v,B){var U=this.internal.getCurrentPageInfo(),re=this.internal.getCoordinateString,Ae=this.internal.getVerticalCoordinateString;U.pageContext.annotations.push({finalBounds:{x:re(p),y:Ae(b),w:re(p+$),h:Ae(b+v)},options:B,type:"link"})},f.textWithLink=function(p,b,$,v){var B,U,re=this.getTextWidth(p),Ae=this.internal.getLineHeight()/this.internal.scaleFactor;if(v.maxWidth!==void 0){U=v.maxWidth;var lt=this.splitTextToSize(p,U).length;B=Math.ceil(Ae*lt)}else U=re,B=Ae;return this.text(p,b,$,v),$+=.2*Ae,v.align==="center"&&(b-=re/2),v.align==="right"&&(b-=re),this.link(b,$-Ae,U,B,v),re},f.getTextWidth=function(p){var b=this.internal.getFontSize();return this.getStringUnitWidth(p)*b/this.internal.scaleFactor}}(z.API),function(f){var s={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]},p={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}},b={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},$=[1570,1571,1573,1575];f.__arabicParser__={};var v=f.__arabicParser__.isInArabicSubstitutionA=function(Ge){return s[Ge.charCodeAt(0)]!==void 0},B=f.__arabicParser__.isArabicLetter=function(Ge){return typeof Ge=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(Ge)},U=f.__arabicParser__.isArabicEndLetter=function(Ge){return B(Ge)&&v(Ge)&&s[Ge.charCodeAt(0)].length<=2},re=f.__arabicParser__.isArabicAlfLetter=function(Ge){return B(Ge)&&$.indexOf(Ge.charCodeAt(0))>=0};f.__arabicParser__.arabicLetterHasIsolatedForm=function(Ge){return B(Ge)&&v(Ge)&&s[Ge.charCodeAt(0)].length>=1};var Ae=f.__arabicParser__.arabicLetterHasFinalForm=function(Ge){return B(Ge)&&v(Ge)&&s[Ge.charCodeAt(0)].length>=2};f.__arabicParser__.arabicLetterHasInitialForm=function(Ge){return B(Ge)&&v(Ge)&&s[Ge.charCodeAt(0)].length>=3};var lt=f.__arabicParser__.arabicLetterHasMedialForm=function(Ge){return B(Ge)&&v(Ge)&&s[Ge.charCodeAt(0)].length==4},It=f.__arabicParser__.resolveLigatures=function(Ge){var Vt=0,vt=p,nr="",xr=0;for(Vt=0;Vt<Ge.length;Vt+=1)vt[Ge.charCodeAt(Vt)]!==void 0?(xr++,typeof(vt=vt[Ge.charCodeAt(Vt)])=="number"&&(nr+=String.fromCharCode(vt),vt=p,xr=0),Vt===Ge.length-1&&(vt=p,nr+=Ge.charAt(Vt-(xr-1)),Vt-=xr-1,xr=0)):(vt=p,nr+=Ge.charAt(Vt-xr),Vt-=xr,xr=0);return nr};f.__arabicParser__.isArabicDiacritic=function(Ge){return Ge!==void 0&&b[Ge.charCodeAt(0)]!==void 0};var Et=f.__arabicParser__.getCorrectForm=function(Ge,Vt,vt){return B(Ge)?v(Ge)===!1?-1:!Ae(Ge)||!B(Vt)&&!B(vt)||!B(vt)&&U(Vt)||U(Ge)&&!B(Vt)||U(Ge)&&re(Vt)||U(Ge)&&U(Vt)?0:lt(Ge)&&B(Vt)&&!U(Vt)&&B(vt)&&Ae(vt)?3:U(Ge)||!B(vt)?1:2:-1},ve=function(Ge){var Vt=0,vt=0,nr=0,xr="",Qt="",nt="",Ce=(Ge=Ge||"").split("\\s+"),Ut=[];for(Vt=0;Vt<Ce.length;Vt+=1){for(Ut.push(""),vt=0;vt<Ce[Vt].length;vt+=1)xr=Ce[Vt][vt],Qt=Ce[Vt][vt-1],nt=Ce[Vt][vt+1],B(xr)?(nr=Et(xr,Qt,nt),Ut[Vt]+=nr!==-1?String.fromCharCode(s[xr.charCodeAt(0)][nr]):xr):Ut[Vt]+=xr;Ut[Vt]=It(Ut[Vt])}return Ut.join(" ")},kt=f.__arabicParser__.processArabic=f.processArabic=function(){var Ge,Vt=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,vt=[];if(Array.isArray(Vt)){var nr=0;for(vt=[],nr=0;nr<Vt.length;nr+=1)Array.isArray(Vt[nr])?vt.push([ve(Vt[nr][0]),Vt[nr][1],Vt[nr][2]]):vt.push([ve(Vt[nr])]);Ge=vt}else Ge=ve(Vt);return typeof arguments[0]=="string"?Ge:(arguments[0].text=Ge,arguments[0])};f.events.push(["preProcessText",kt])}(z.API),z.API.autoPrint=function(f){var s;return(f=f||{}).variant=f.variant||"non-conform",f.variant==="javascript"?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){s=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 "+s+" 0 R")})),this},function(f){var s=function(){var p=void 0;Object.defineProperty(this,"pdf",{get:function(){return p},set:function(U){p=U}});var b=150;Object.defineProperty(this,"width",{get:function(){return b},set:function(U){b=isNaN(U)||Number.isInteger(U)===!1||U<0?150:U,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=b+1)}});var $=300;Object.defineProperty(this,"height",{get:function(){return $},set:function(U){$=isNaN(U)||Number.isInteger(U)===!1||U<0?300:U,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=$+1)}});var v=[];Object.defineProperty(this,"childNodes",{get:function(){return v},set:function(U){v=U}});var B={};Object.defineProperty(this,"style",{get:function(){return B},set:function(U){B=U}}),Object.defineProperty(this,"parentNode",{})};s.prototype.getContext=function(p,b){var $;if((p=p||"2d")!=="2d")return null;for($ in b)this.pdf.context2d.hasOwnProperty($)&&(this.pdf.context2d[$]=b[$]);return this.pdf.context2d._canvas=this,this.pdf.context2d},s.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},f.events.push(["initialized",function(){this.canvas=new s,this.canvas.pdf=this}])}(z.API),function(f){var s={left:0,top:0,bottom:0,right:0},p=!1,b=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({},s),this.internal.__cell__.margins.width=this.getPageWidth(),$.call(this))},$=function(){this.internal.__cell__.lastCell=new v,this.internal.__cell__.pages=1},v=function(){var re=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return re},set:function(Ge){re=Ge}});var Ae=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Ae},set:function(Ge){Ae=Ge}});var lt=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return lt},set:function(Ge){lt=Ge}});var It=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return It},set:function(Ge){It=Ge}});var Et=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Et},set:function(Ge){Et=Ge}});var ve=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ve},set:function(Ge){ve=Ge}});var kt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return kt},set:function(Ge){kt=Ge}}),this};v.prototype.clone=function(){return new v(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},v.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},f.setHeaderFunction=function(re){return b.call(this),this.internal.__cell__.headerFunction=typeof re=="function"?re:void 0,this},f.getTextDimensions=function(re,Ae){b.call(this);var lt=(Ae=Ae||{}).fontSize||this.getFontSize(),It=Ae.font||this.getFont(),Et=Ae.scaleFactor||this.internal.scaleFactor,ve=0,kt=0,Ge=0,Vt=this;if(!Array.isArray(re)&&typeof re!="string"){if(typeof re!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");re=String(re)}var vt=Ae.maxWidth;vt>0?typeof re=="string"?re=this.splitTextToSize(re,vt):Object.prototype.toString.call(re)==="[object Array]"&&(re=re.reduce(function(xr,Qt){return xr.concat(Vt.splitTextToSize(Qt,vt))},[])):re=Array.isArray(re)?re:[re];for(var nr=0;nr<re.length;nr++)ve<(Ge=this.getStringUnitWidth(re[nr],{font:It})*lt)&&(ve=Ge);return ve!==0&&(kt=re.length),{w:ve/=Et,h:Math.max((kt*lt*this.getLineHeightFactor()-lt*(this.getLineHeightFactor()-1))/Et,0)}},f.cellAddPage=function(){b.call(this),this.addPage();var re=this.internal.__cell__.margins||s;return this.internal.__cell__.lastCell=new v(re.left,re.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var B=f.cell=function(){var re;re=arguments[0]instanceof v?arguments[0]:new v(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),b.call(this);var Ae=this.internal.__cell__.lastCell,lt=this.internal.__cell__.padding,It=this.internal.__cell__.margins||s,Et=this.internal.__cell__.tableHeaderRow,ve=this.internal.__cell__.printHeaders;return Ae.lineNumber!==void 0&&(Ae.lineNumber===re.lineNumber?(re.x=(Ae.x||0)+(Ae.width||0),re.y=Ae.y||0):Ae.y+Ae.height+re.height+It.bottom>this.getPageHeight()?(this.cellAddPage(),re.y=It.top,ve&&Et&&(this.printHeaderRow(re.lineNumber,!0),re.y+=Et[0].height)):re.y=Ae.y+Ae.height||re.y),re.text[0]!==void 0&&(this.rect(re.x,re.y,re.width,re.height,p===!0?"FD":void 0),re.align==="right"?this.text(re.text,re.x+re.width-lt,re.y+lt,{align:"right",baseline:"top"}):re.align==="center"?this.text(re.text,re.x+re.width/2,re.y+lt,{align:"center",baseline:"top",maxWidth:re.width-lt-lt}):this.text(re.text,re.x+lt,re.y+lt,{align:"left",baseline:"top",maxWidth:re.width-lt-lt})),this.internal.__cell__.lastCell=re,this};f.table=function(re,Ae,lt,It,Et){if(b.call(this),!lt)throw new Error("No data for PDF table.");var ve,kt,Ge,Vt,vt=[],nr=[],xr=[],Qt={},nt={},Ce=[],Ut=[],Nt=(Et=Et||{}).autoSize||!1,$t=Et.printHeaders!==!1,qt=Et.css&&Et.css["font-size"]!==void 0?16*Et.css["font-size"]:Et.fontSize||12,He=Et.margins||Object.assign({width:this.getPageWidth()},s),ze=typeof Et.padding=="number"?Et.padding:3,At=Et.headerBackgroundColor||"#c8c8c8",dt=Et.headerTextColor||"#000";if($.call(this),this.internal.__cell__.printHeaders=$t,this.internal.__cell__.margins=He,this.internal.__cell__.table_font_size=qt,this.internal.__cell__.padding=ze,this.internal.__cell__.headerBackgroundColor=At,this.internal.__cell__.headerTextColor=dt,this.setFontSize(qt),It==null)nr=vt=Object.keys(lt[0]),xr=vt.map(function(){return"left"});else if(Array.isArray(It)&&(0,a.Z)(It[0])==="object")for(vt=It.map(function(Zr){return Zr.name}),nr=It.map(function(Zr){return Zr.prompt||Zr.name||""}),xr=It.map(function(Zr){return Zr.align||"left"}),ve=0;ve<It.length;ve+=1)nt[It[ve].name]=.7499990551181103*It[ve].width;else Array.isArray(It)&&typeof It[0]=="string"&&(nr=vt=It,xr=vt.map(function(){return"left"}));if(Nt||Array.isArray(It)&&typeof It[0]=="string")for(ve=0;ve<vt.length;ve+=1){for(Qt[Vt=vt[ve]]=lt.map(function(Zr){return Zr[Vt]}),this.setFont(void 0,"bold"),Ce.push(this.getTextDimensions(nr[ve],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),kt=Qt[Vt],this.setFont(void 0,"normal"),Ge=0;Ge<kt.length;Ge+=1)Ce.push(this.getTextDimensions(kt[Ge],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);nt[Vt]=Math.max.apply(null,Ce)+ze+ze,Ce=[]}if($t){var dr={};for(ve=0;ve<vt.length;ve+=1)dr[vt[ve]]={},dr[vt[ve]].text=nr[ve],dr[vt[ve]].align=xr[ve];var br=U.call(this,dr,nt);Ut=vt.map(function(Zr){return new v(re,Ae,nt[Zr],br,dr[Zr].text,void 0,dr[Zr].align)}),this.setTableHeaderRow(Ut),this.printHeaderRow(1,!1)}var Jt=It.reduce(function(Zr,Wt){return Zr[Wt.name]=Wt.align,Zr},{});for(ve=0;ve<lt.length;ve+=1){"rowStart"in Et&&Et.rowStart instanceof Function&&Et.rowStart({row:ve,data:lt[ve]},this);var Tt=U.call(this,lt[ve],nt);for(Ge=0;Ge<vt.length;Ge+=1){var ir=lt[ve][vt[Ge]];"cellStart"in Et&&Et.cellStart instanceof Function&&Et.cellStart({row:ve,col:Ge,data:ir},this),B.call(this,new v(re,Ae,nt[vt[Ge]],Tt,ir,ve+2,Jt[vt[Ge]]))}}return this.internal.__cell__.table_x=re,this.internal.__cell__.table_y=Ae,this};var U=function(re,Ae){var lt=this.internal.__cell__.padding,It=this.internal.__cell__.table_font_size,Et=this.internal.scaleFactor;return Object.keys(re).map(function(ve){var kt=re[ve];return this.splitTextToSize(kt.hasOwnProperty("text")?kt.text:kt,Ae[ve]-lt-lt)},this).map(function(ve){return this.getLineHeightFactor()*ve.length*It/Et+lt+lt},this).reduce(function(ve,kt){return Math.max(ve,kt)},0)};f.setTableHeaderRow=function(re){b.call(this),this.internal.__cell__.tableHeaderRow=re},f.printHeaderRow=function(re,Ae){if(b.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var lt;if(p=!0,typeof this.internal.__cell__.headerFunction=="function"){var It=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new v(It[0],It[1],It[2],It[3],void 0,-1)}this.setFont(void 0,"bold");for(var Et=[],ve=0;ve<this.internal.__cell__.tableHeaderRow.length;ve+=1){lt=this.internal.__cell__.tableHeaderRow[ve].clone(),Ae&&(lt.y=this.internal.__cell__.margins.top||0,Et.push(lt)),lt.lineNumber=re;var kt=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),B.call(this,lt),this.setTextColor(kt)}Et.length>0&&this.setTableHeaderRow(Et),this.setFont(void 0,"normal"),p=!1}}(z.API);var $r={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},yn=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Mn=zr(yn),Ft=[100,200,300,400,500,600,700,800,900],Sr=zr(Ft);function vr(f){var s=f.family.replace(/"|'/g,"").toLowerCase(),p=function(v){return $r[v=v||"normal"]?v:"normal"}(f.style),b=function(v){return v?typeof v=="number"?v>=100&&v<=900&&v%100==0?v:400:/^\d00$/.test(v)?parseInt(v):v==="bold"?700:400:400}(f.weight),$=function(v){return typeof Mn[v=v||"normal"]=="number"?v:"normal"}(f.stretch);return{family:s,style:p,weight:b,stretch:$,src:f.src||[],ref:f.ref||{name:s,style:[$,p,b].join(" ")}}}function Lr(f,s,p,b){var $;for($=p;$>=0&&$<s.length;$+=b)if(f[s[$]])return f[s[$]];for($=p;$>=0&&$<s.length;$-=b)if(f[s[$]])return f[s[$]]}var h={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},D={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Ee(f){return[f.stretch,f.style,f.weight,f.family].join(" ")}function ne(f){return f.trimLeft()}function st(f,s){for(var p=0;p<f.length;){if(f.charAt(p)===s)return[f.substring(0,p),f.substring(p+1)];p+=1}return null}function gn(f){var s=f.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return s===null?null:[s[0],f.substring(s[0].length)]}var mt,Zt,Ur,Pr,Jr,vn,Qn,ge,fr=["times"];function et(f,s,p,b){var $=4,v=Sn;switch(b){case z.API.image_compression.FAST:$=1,v=Vr;break;case z.API.image_compression.MEDIUM:$=6,v=ra;break;case z.API.image_compression.SLOW:$=9,v=gt}f=function(U,re,Ae,lt){for(var It,Et=U.length/re,ve=new Uint8Array(U.length+Et),kt=[Ir,Vr,Sn,ra,gt],Ge=0;Ge<Et;Ge+=1){var Vt=Ge*re,vt=U.subarray(Vt,Vt+re);if(lt)ve.set(lt(vt,Ae,It),Vt+Ge);else{for(var nr=kt.length,xr=[],Qt=0;Qt<nr;Qt+=1)xr[Qt]=kt[Qt](vt,Ae,It);var nt=sr(xr.concat());ve.set(xr[nt],Vt+Ge)}It=vt}return ve}(f,s,p,v);var B=(0,qe.iZ)(f,{level:$});return z.API.__addimage__.arrayBufferToBinaryString(B)}function Ir(f){var s=Array.apply([],f);return s.unshift(0),s}function Vr(f,s){var p=f.length,b=[];b[0]=1;for(var $=0;$<p;$+=1){var v=f[$-s]||0;b[$+1]=f[$]-v+256&255}return b}function Sn(f,s,p){var b=f.length,$=[];$[0]=2;for(var v=0;v<b;v+=1){var B=p&&p[v]||0;$[v+1]=f[v]-B+256&255}return $}function ra(f,s,p){var b=f.length,$=[];$[0]=3;for(var v=0;v<b;v+=1){var B=f[v-s]||0,U=p&&p[v]||0;$[v+1]=f[v]+256-(B+U>>>1)&255}return $}function gt(f,s,p){var b=f.length,$=[];$[0]=4;for(var v=0;v<b;v+=1){var B=rr(f[v-s]||0,p&&p[v]||0,p&&p[v-s]||0);$[v+1]=f[v]-B+256&255}return $}function rr(f,s,p){if(f===s&&s===p)return f;var b=Math.abs(s-p),$=Math.abs(f-p),v=Math.abs(f+s-p-p);return b<=$&&b<=v?f:$<=v?s:p}function sr(f){var s=f.map(function(p){return p.reduce(function(b,$){return b+Math.abs($)},0)});return s.indexOf(Math.min.apply(null,s))}function or(f,s,p){var b=s*p,$=Math.floor(b/8),v=16-(b-8*$+p),B=(1<<p)-1;return on(f,$)>>v&B}function jr(f,s,p,b){var $=p*b,v=Math.floor($/8),B=16-($-8*v+b),U=(1<<b)-1,re=(s&U)<<B;(function(Ae,lt,It){if(lt+1<Ae.byteLength)Ae.setUint16(lt,It,!1);else{var Et=It>>8&255;Ae.setUint8(lt,Et)}})(f,v,on(f,v)&~(U<<B)&65535|re)}function on(f,s){return s+1<f.byteLength?f.getUint16(s,!1):f.getUint8(s)<<8}function Hr(f){var s=0;if(f[s++]!==71||f[s++]!==73||f[s++]!==70||f[s++]!==56||(f[s++]+1&253)!=56||f[s++]!==97)throw new Error("Invalid GIF 87a/89a header.");var p=f[s++]|f[s++]<<8,b=f[s++]|f[s++]<<8,$=f[s++],v=$>>7,B=1<<1+(7&$);f[s++],f[s++];var U=null,re=null;v&&(U=s,re=B,s+=3*B);var Ae=!0,lt=[],It=0,Et=null,ve=0,kt=null;for(this.width=p,this.height=b;Ae&&s<f.length;)switch(f[s++]){case 33:switch(f[s++]){case 255:if(f[s]!==11||f[s+1]==78&&f[s+2]==69&&f[s+3]==84&&f[s+4]==83&&f[s+5]==67&&f[s+6]==65&&f[s+7]==80&&f[s+8]==69&&f[s+9]==50&&f[s+10]==46&&f[s+11]==48&&f[s+12]==3&&f[s+13]==1&&f[s+16]==0)s+=14,kt=f[s++]|f[s++]<<8,s++;else for(s+=12;;){if(!((He=f[s++])>=0))throw Error("Invalid block size");if(He===0)break;s+=He}break;case 249:if(f[s++]!==4||f[s+4]!==0)throw new Error("Invalid graphics extension block.");var Ge=f[s++];It=f[s++]|f[s++]<<8,Et=f[s++],1&Ge||(Et=null),ve=Ge>>2&7,s++;break;case 254:for(;;){if(!((He=f[s++])>=0))throw Error("Invalid block size");if(He===0)break;s+=He}break;default:throw new Error("Unknown graphic control label: 0x"+f[s-1].toString(16))}break;case 44:var Vt=f[s++]|f[s++]<<8,vt=f[s++]|f[s++]<<8,nr=f[s++]|f[s++]<<8,xr=f[s++]|f[s++]<<8,Qt=f[s++],nt=Qt>>6&1,Ce=1<<1+(7&Qt),Ut=U,Nt=re,$t=!1;Qt>>7&&($t=!0,Ut=s,Nt=Ce,s+=3*Ce);var qt=s;for(s++;;){var He;if(!((He=f[s++])>=0))throw Error("Invalid block size");if(He===0)break;s+=He}lt.push({x:Vt,y:vt,width:nr,height:xr,has_local_palette:$t,palette_offset:Ut,palette_size:Nt,data_offset:qt,data_length:s-qt,transparent_index:Et,interlaced:!!nt,delay:It,disposal:ve});break;case 59:Ae=!1;break;default:throw new Error("Unknown gif block: 0x"+f[s-1].toString(16))}this.numFrames=function(){return lt.length},this.loopCount=function(){return kt},this.frameInfo=function(ze){if(ze<0||ze>=lt.length)throw new Error("Frame index out of range.");return lt[ze]},this.decodeAndBlitFrameBGRA=function(ze,At){var dt=this.frameInfo(ze),dr=dt.width*dt.height,br=new Uint8Array(dr);Dr(f,dt.data_offset,br,dr);var Jt=dt.palette_offset,Tt=dt.transparent_index;Tt===null&&(Tt=256);var ir=dt.width,Zr=p-ir,Wt=ir,Pe=4*(dt.y*p+dt.x),yt=4*((dt.y+dt.height)*p+dt.x),Bt=Pe,ht=4*Zr;dt.interlaced===!0&&(ht+=4*p*7);for(var Yt=8,lr=0,mr=br.length;lr<mr;++lr){var Or=br[lr];if(Wt===0&&(Wt=ir,(Bt+=ht)>=yt&&(ht=4*Zr+4*p*(Yt-1),Bt=Pe+(ir+Zr)*(Yt<<1),Yt>>=1)),Or===Tt)Bt+=4;else{var Rr=f[Jt+3*Or],Fr=f[Jt+3*Or+1],un=f[Jt+3*Or+2];At[Bt++]=un,At[Bt++]=Fr,At[Bt++]=Rr,At[Bt++]=255}--Wt}},this.decodeAndBlitFrameRGBA=function(ze,At){var dt=this.frameInfo(ze),dr=dt.width*dt.height,br=new Uint8Array(dr);Dr(f,dt.data_offset,br,dr);var Jt=dt.palette_offset,Tt=dt.transparent_index;Tt===null&&(Tt=256);var ir=dt.width,Zr=p-ir,Wt=ir,Pe=4*(dt.y*p+dt.x),yt=4*((dt.y+dt.height)*p+dt.x),Bt=Pe,ht=4*Zr;dt.interlaced===!0&&(ht+=4*p*7);for(var Yt=8,lr=0,mr=br.length;lr<mr;++lr){var Or=br[lr];if(Wt===0&&(Wt=ir,(Bt+=ht)>=yt&&(ht=4*Zr+4*p*(Yt-1),Bt=Pe+(ir+Zr)*(Yt<<1),Yt>>=1)),Or===Tt)Bt+=4;else{var Rr=f[Jt+3*Or],Fr=f[Jt+3*Or+1],un=f[Jt+3*Or+2];At[Bt++]=Rr,At[Bt++]=Fr,At[Bt++]=un,At[Bt++]=255}--Wt}}}function Dr(f,s,p,b){for(var $=f[s++],v=1<<$,B=v+1,U=B+1,re=$+1,Ae=(1<<re)-1,lt=0,It=0,Et=0,ve=f[s++],kt=new Int32Array(4096),Ge=null;;){for(;lt<16&&ve!==0;)It|=f[s++]<<lt,lt+=8,ve===1?ve=f[s++]:--ve;if(lt<re)break;var Vt=It&Ae;if(It>>=re,lt-=re,Vt!==v){if(Vt===B)break;for(var vt=Vt<U?Vt:Ge,nr=0,xr=vt;xr>v;)xr=kt[xr]>>8,++nr;var Qt=xr;if(Et+nr+(vt!==Vt?1:0)>b)return void _.log("Warning, gif stream longer than expected.");p[Et++]=Qt;var nt=Et+=nr;for(vt!==Vt&&(p[Et++]=Qt),xr=vt;nr--;)xr=kt[xr],p[--nt]=255&xr,xr>>=8;Ge!==null&&U<4096&&(kt[U++]=Ge<<8|Qt,U>=Ae+1&&re<12&&(++re,Ae=Ae<<1|1)),Ge=Vt}else U=B+1,Ae=(1<<(re=$+1))-1,Ge=null}return Et!==b&&_.log("Warning, gif stream shorter than expected."),p}function nn(f){var s,p,b,$,v,B=Math.floor,U=new Array(64),re=new Array(64),Ae=new Array(64),lt=new Array(64),It=new Array(65535),Et=new Array(65535),ve=new Array(64),kt=new Array(64),Ge=[],Vt=0,vt=7,nr=new Array(64),xr=new Array(64),Qt=new Array(64),nt=new Array(256),Ce=new Array(2048),Ut=[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],Nt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],$t=[0,1,2,3,4,5,6,7,8,9,10,11],qt=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],He=[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],ze=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],At=[0,1,2,3,4,5,6,7,8,9,10,11],dt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],dr=[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 br(Pe,yt){for(var Bt=0,ht=0,Yt=new Array,lr=1;lr<=16;lr++){for(var mr=1;mr<=Pe[lr];mr++)Yt[yt[ht]]=[],Yt[yt[ht]][0]=Bt,Yt[yt[ht]][1]=lr,ht++,Bt++;Bt*=2}return Yt}function Jt(Pe){for(var yt=Pe[0],Bt=Pe[1]-1;Bt>=0;)yt&1<<Bt&&(Vt|=1<<vt),Bt--,--vt<0&&(Vt==255?(Tt(255),Tt(0)):Tt(Vt),vt=7,Vt=0)}function Tt(Pe){Ge.push(Pe)}function ir(Pe){Tt(Pe>>8&255),Tt(255&Pe)}function Zr(Pe,yt,Bt,ht,Yt){for(var lr,mr=Yt[0],Or=Yt[240],Rr=function(an,dn){var Gr,la,Gn,xa,_n,ca,Ra,oa,kn,ia,Rn=0;for(kn=0;kn<8;++kn){Gr=an[Rn],la=an[Rn+1],Gn=an[Rn+2],xa=an[Rn+3],_n=an[Rn+4],ca=an[Rn+5],Ra=an[Rn+6];var Bn=Gr+(oa=an[Rn+7]),Yn=Gr-oa,Qr=la+Ra,mn=la-Ra,ua=Gn+ca,En=Gn-ca,fa=xa+_n,Vn=xa-_n,Wa=Bn+fa,qa=Bn-fa,Cn=Qr+ua,jn=Qr-ua;an[Rn]=Wa+Cn,an[Rn+4]=Wa-Cn;var ma=.707106781*(jn+qa);an[Rn+2]=qa+ma,an[Rn+6]=qa-ma;var Qa=.382683433*((Wa=Vn+En)-(jn=mn+Yn)),_a=.5411961*Wa+Qa,po=1.306562965*jn+Qa,go=.707106781*(Cn=En+mn),pa=Yn+go,No=Yn-go;an[Rn+5]=No+_a,an[Rn+3]=No-_a,an[Rn+1]=pa+po,an[Rn+7]=pa-po,Rn+=8}for(Rn=0,kn=0;kn<8;++kn){Gr=an[Rn],la=an[Rn+8],Gn=an[Rn+16],xa=an[Rn+24],_n=an[Rn+32],ca=an[Rn+40],Ra=an[Rn+48];var Na=Gr+(oa=an[Rn+56]),za=Gr-oa,Ma=la+Ra,Da=la-Ra,Ua=Gn+ca,ba=Gn-ca,Ya=xa+_n,ka=xa-_n,Ja=Na+Ya,io=Na-Ya,ho=Ma+Ua,Mo=Ma-Ua;an[Rn]=Ja+ho,an[Rn+32]=Ja-ho;var Bo=.707106781*(Mo+io);an[Rn+16]=io+Bo,an[Rn+48]=io-Bo;var La=.382683433*((Ja=ka+ba)-(Mo=Da+za)),Ko=.5411961*Ja+La,vo=1.306562965*Mo+La,Lo=.707106781*(ho=ba+Da),Co=za+Lo,Si=za-Lo;an[Rn+40]=Si+Ko,an[Rn+24]=Si-Ko,an[Rn+8]=Co+vo,an[Rn+56]=Co-vo,Rn++}for(kn=0;kn<64;++kn)ia=an[kn]*dn[kn],ve[kn]=ia>0?ia+.5|0:ia-.5|0;return ve}(Pe,yt),Fr=0;Fr<64;++Fr)kt[Ut[Fr]]=Rr[Fr];var un=kt[0]-Bt;Bt=kt[0],un==0?Jt(ht[0]):(Jt(ht[Et[lr=32767+un]]),Jt(It[lr]));for(var wn=63;wn>0&&kt[wn]==0;)wn--;if(wn==0)return Jt(mr),Bt;for(var Mr,Lt=1;Lt<=wn;){for(var ya=Lt;kt[Lt]==0&&Lt<=wn;)++Lt;var ha=Lt-ya;if(ha>=16){Mr=ha>>4;for(var Wn=1;Wn<=Mr;++Wn)Jt(Or);ha&=15}lr=32767+kt[Lt],Jt(Yt[(ha<<4)+Et[lr]]),Jt(It[lr]),Lt++}return wn!=63&&Jt(mr),Bt}function Wt(Pe){Pe=Math.min(Math.max(Pe,1),100),v!=Pe&&(function(yt){for(var Bt=[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],ht=0;ht<64;ht++){var Yt=B((Bt[ht]*yt+50)/100);Yt=Math.min(Math.max(Yt,1),255),U[Ut[ht]]=Yt}for(var lr=[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],mr=0;mr<64;mr++){var Or=B((lr[mr]*yt+50)/100);Or=Math.min(Math.max(Or,1),255),re[Ut[mr]]=Or}for(var Rr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Fr=0,un=0;un<8;un++)for(var wn=0;wn<8;wn++)Ae[Fr]=1/(U[Ut[Fr]]*Rr[un]*Rr[wn]*8),lt[Fr]=1/(re[Ut[Fr]]*Rr[un]*Rr[wn]*8),Fr++}(Pe<50?Math.floor(5e3/Pe):Math.floor(200-2*Pe)),v=Pe)}this.encode=function(Pe,yt){yt&&Wt(yt),Ge=new Array,Vt=0,vt=7,ir(65496),ir(65504),ir(16),Tt(74),Tt(70),Tt(73),Tt(70),Tt(0),Tt(1),Tt(1),Tt(0),ir(1),ir(1),Tt(0),Tt(0),function(){ir(65499),ir(132),Tt(0);for(var la=0;la<64;la++)Tt(U[la]);Tt(1);for(var Gn=0;Gn<64;Gn++)Tt(re[Gn])}(),function(la,Gn){ir(65472),ir(17),Tt(8),ir(Gn),ir(la),Tt(3),Tt(1),Tt(17),Tt(0),Tt(2),Tt(17),Tt(1),Tt(3),Tt(17),Tt(1)}(Pe.width,Pe.height),function(){ir(65476),ir(418),Tt(0);for(var la=0;la<16;la++)Tt(Nt[la+1]);for(var Gn=0;Gn<=11;Gn++)Tt($t[Gn]);Tt(16);for(var xa=0;xa<16;xa++)Tt(qt[xa+1]);for(var _n=0;_n<=161;_n++)Tt(He[_n]);Tt(1);for(var ca=0;ca<16;ca++)Tt(ze[ca+1]);for(var Ra=0;Ra<=11;Ra++)Tt(At[Ra]);Tt(17);for(var oa=0;oa<16;oa++)Tt(dt[oa+1]);for(var kn=0;kn<=161;kn++)Tt(dr[kn])}(),ir(65498),ir(12),Tt(3),Tt(1),Tt(0),Tt(2),Tt(17),Tt(3),Tt(17),Tt(0),Tt(63),Tt(0);var Bt=0,ht=0,Yt=0;Vt=0,vt=7,this.encode.displayName="_encode_";for(var lr,mr,Or,Rr,Fr,un,wn,Mr,Lt,ya=Pe.data,ha=Pe.width,Wn=Pe.height,an=4*ha,dn=0;dn<Wn;){for(lr=0;lr<an;){for(Fr=an*dn+lr,wn=-1,Mr=0,Lt=0;Lt<64;Lt++)un=Fr+(Mr=Lt>>3)*an+(wn=4*(7&Lt)),dn+Mr>=Wn&&(un-=an*(dn+1+Mr-Wn)),lr+wn>=an&&(un-=lr+wn-an+4),mr=ya[un++],Or=ya[un++],Rr=ya[un++],nr[Lt]=(Ce[mr]+Ce[Or+256|0]+Ce[Rr+512|0]>>16)-128,xr[Lt]=(Ce[mr+768|0]+Ce[Or+1024|0]+Ce[Rr+1280|0]>>16)-128,Qt[Lt]=(Ce[mr+1280|0]+Ce[Or+1536|0]+Ce[Rr+1792|0]>>16)-128;Bt=Zr(nr,Ae,Bt,s,b),ht=Zr(xr,lt,ht,p,$),Yt=Zr(Qt,lt,Yt,p,$),lr+=32}dn+=8}if(vt>=0){var Gr=[];Gr[1]=vt+1,Gr[0]=(1<<vt+1)-1,Jt(Gr)}return ir(65497),new Uint8Array(Ge)},f=f||50,function(){for(var Pe=String.fromCharCode,yt=0;yt<256;yt++)nt[yt]=Pe(yt)}(),s=br(Nt,$t),p=br(ze,At),b=br(qt,He),$=br(dt,dr),function(){for(var Pe=1,yt=2,Bt=1;Bt<=15;Bt++){for(var ht=Pe;ht<yt;ht++)Et[32767+ht]=Bt,It[32767+ht]=[],It[32767+ht][1]=Bt,It[32767+ht][0]=ht;for(var Yt=-(yt-1);Yt<=-Pe;Yt++)Et[32767+Yt]=Bt,It[32767+Yt]=[],It[32767+Yt][1]=Bt,It[32767+Yt][0]=yt-1+Yt;Pe<<=1,yt<<=1}}(),function(){for(var Pe=0;Pe<256;Pe++)Ce[Pe]=19595*Pe,Ce[Pe+256|0]=38470*Pe,Ce[Pe+512|0]=7471*Pe+32768,Ce[Pe+768|0]=-11059*Pe,Ce[Pe+1024|0]=-21709*Pe,Ce[Pe+1280|0]=32768*Pe+8421375,Ce[Pe+1536|0]=-27439*Pe,Ce[Pe+1792|0]=-5329*Pe}(),Wt(f)}function sn(f,s){if(this.pos=0,this.buffer=f,this.datav=new DataView(f.buffer),this.is_with_alpha=!!s,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 $n(f){function s($t){if(!$t)throw Error("assert :P")}function p($t,qt,He){for(var ze=0;4>ze;ze++)if($t[qt+ze]!=He.charCodeAt(ze))return!0;return!1}function b($t,qt,He,ze,At){for(var dt=0;dt<At;dt++)$t[qt+dt]=He[ze+dt]}function $($t,qt,He,ze){for(var At=0;At<ze;At++)$t[qt+At]=He}function v($t){return new Int32Array($t)}function B($t,qt){for(var He=[],ze=0;ze<$t;ze++)He.push(new qt);return He}function U($t,qt){var He=[];return function ze(At,dt,dr){for(var br=dr[dt],Jt=0;Jt<br&&(At.push(dr.length>dt+1?[]:new qt),!(dr.length<dt+1));Jt++)ze(At[Jt],dt+1,dr)}(He,0,$t),He}var re=function(){var $t=this;function qt(i,m){for(var Z=1<<m-1>>>0;i&Z;)Z>>>=1;return Z?(i&Z-1)+Z:i}function He(i,m,Z,ue,Te){s(!(ue%Z));do i[m+(ue-=Z)]=Te;while(0<ue)}function ze(i,m,Z,ue,Te){if(s(2328>=Te),512>=Te)var Xe=v(512);else if((Xe=v(Te))==null)return 0;return function(tt,ut,bt,Dt,hr,Br){var Rt,gr,Er=ut,Xr=1<<bt,Nr=v(16),_r=v(16);for(s(hr!=0),s(Dt!=null),s(tt!=null),s(0<bt),gr=0;gr<hr;++gr){if(15<Dt[gr])return 0;++Nr[Dt[gr]]}if(Nr[0]==hr)return 0;for(_r[1]=0,Rt=1;15>Rt;++Rt){if(Nr[Rt]>1<<Rt)return 0;_r[Rt+1]=_r[Rt]+Nr[Rt]}for(gr=0;gr<hr;++gr)Rt=Dt[gr],0<Dt[gr]&&(Br[_r[Rt]++]=gr);if(_r[15]==1)return(Dt=new At).g=0,Dt.value=Br[0],He(tt,Er,1,Xr,Dt),Xr;var en,bn=-1,fn=Xr-1,Sa=0,sa=1,Za=1,ga=1<<bt;for(gr=0,Rt=1,hr=2;Rt<=bt;++Rt,hr<<=1){if(sa+=Za<<=1,0>(Za-=Nr[Rt]))return 0;for(;0<Nr[Rt];--Nr[Rt])(Dt=new At).g=Rt,Dt.value=Br[gr++],He(tt,Er+Sa,hr,ga,Dt),Sa=qt(Sa,Rt)}for(Rt=bt+1,hr=2;15>=Rt;++Rt,hr<<=1){if(sa+=Za<<=1,0>(Za-=Nr[Rt]))return 0;for(;0<Nr[Rt];--Nr[Rt]){if(Dt=new At,(Sa&fn)!=bn){for(Er+=ga,en=1<<(bn=Rt)-bt;15>bn&&!(0>=(en-=Nr[bn]));)++bn,en<<=1;Xr+=ga=1<<(en=bn-bt),tt[ut+(bn=Sa&fn)].g=en+bt,tt[ut+bn].value=Er-ut-bn}Dt.g=Rt-bt,Dt.value=Br[gr++],He(tt,Er+(Sa>>bt),hr,ga,Dt),Sa=qt(Sa,Rt)}}return sa!=2*_r[15]-1?0:Xr}(i,m,Z,ue,Te,Xe)}function At(){this.value=this.g=0}function dt(){this.value=this.g=0}function dr(){this.G=B(5,At),this.H=v(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=B(ln,dt)}function br(i,m,Z,ue){s(i!=null),s(m!=null),s(2147483648>ue),i.Ca=254,i.I=0,i.b=-8,i.Ka=0,i.oa=m,i.pa=Z,i.Jd=m,i.Yc=Z+ue,i.Zc=4<=ue?Z+ue-4+1:Z,mr(i)}function Jt(i,m){for(var Z=0;0<m--;)Z|=Rr(i,128)<<m;return Z}function Tt(i,m){var Z=Jt(i,m);return Or(i)?-Z:Z}function ir(i,m,Z,ue){var Te,Xe=0;for(s(i!=null),s(m!=null),s(4294967288>ue),i.Sb=ue,i.Ra=0,i.u=0,i.h=0,4<ue&&(ue=4),Te=0;Te<ue;++Te)Xe+=m[Z+Te]<<8*Te;i.Ra=Xe,i.bb=ue,i.oa=m,i.pa=Z}function Zr(i){for(;8<=i.u&&i.bb<i.Sb;)i.Ra>>>=8,i.Ra+=i.oa[i.pa+i.bb]<<Nn-8>>>0,++i.bb,i.u-=8;ht(i)&&(i.h=1,i.u=0)}function Wt(i,m){if(s(0<=m),!i.h&&m<=Hn){var Z=Bt(i)&In[m];return i.u+=m,Zr(i),Z}return i.h=1,i.u=0}function Pe(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function yt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Bt(i){return i.Ra>>>(i.u&Nn-1)>>>0}function ht(i){return s(i.bb<=i.Sb),i.h||i.bb==i.Sb&&i.u>Nn}function Yt(i,m){i.u=m,i.h=ht(i)}function lr(i){i.u>=Fn&&(s(i.u>=Fn),Zr(i))}function mr(i){s(i!=null&&i.oa!=null),i.pa<i.Zc?(i.I=(i.oa[i.pa++]|i.I<<8)>>>0,i.b+=8):(s(i!=null&&i.oa!=null),i.pa<i.Yc?(i.b+=8,i.I=i.oa[i.pa++]|i.I<<8):i.Ka?i.b=0:(i.I<<=8,i.b+=8,i.Ka=1))}function Or(i){return Jt(i,1)}function Rr(i,m){var Z=i.Ca;0>i.b&&mr(i);var ue=i.b,Te=Z*m>>>8,Xe=(i.I>>>ue>Te)+0;for(Xe?(Z-=Te,i.I-=Te+1<<ue>>>0):Z=Te+1,ue=Z,Te=0;256<=ue;)Te+=8,ue>>=8;return ue=7^Te+Oa[ue],i.b-=ue,i.Ca=(Z<<ue)-1,Xe}function Fr(i,m,Z){i[m+0]=Z>>24&255,i[m+1]=Z>>16&255,i[m+2]=Z>>8&255,i[m+3]=255&Z}function un(i,m){return i[m+0]|i[m+1]<<8}function wn(i,m){return un(i,m)|i[m+2]<<16}function Mr(i,m){return un(i,m)|un(i,m+2)<<16}function Lt(i,m){var Z=1<<m;return s(i!=null),s(0<m),i.X=v(Z),i.X==null?0:(i.Mb=32-m,i.Xa=m,1)}function ya(i,m){s(i!=null),s(m!=null),s(i.Xa==m.Xa),b(m.X,0,i.X,0,1<<m.Xa)}function ha(){this.X=[],this.Xa=this.Mb=0}function Wn(i,m,Z,ue){s(Z!=null),s(ue!=null);var Te=Z[0],Xe=ue[0];return Te==0&&(Te=(i*Xe+m/2)/m),Xe==0&&(Xe=(m*Te+i/2)/i),0>=Te||0>=Xe?0:(Z[0]=Te,ue[0]=Xe,1)}function an(i,m){return i+(1<<m)-1>>>m}function dn(i,m){return((4278255360&i)+(4278255360&m)>>>0&4278255360)+((16711935&i)+(16711935&m)>>>0&16711935)>>>0}function Gr(i,m){$t[m]=function(Z,ue,Te,Xe,tt,ut,bt){var Dt;for(Dt=0;Dt<tt;++Dt){var hr=$t[i](ut[bt+Dt-1],Te,Xe+Dt);ut[bt+Dt]=dn(Z[ue+Dt],hr)}}}function la(){this.ud=this.hd=this.jd=0}function Gn(i,m){return((4278124286&(i^m))>>>1)+(i&m)>>>0}function xa(i){return 0<=i&&256>i?i:0>i?0:255<i?255:void 0}function _n(i,m){return xa(i+(i-m+.5>>1))}function ca(i,m,Z){return Math.abs(m-Z)-Math.abs(i-Z)}function Ra(i,m,Z,ue,Te,Xe,tt){for(ue=Xe[tt-1],Z=0;Z<Te;++Z)Xe[tt+Z]=ue=dn(i[m+Z],ue)}function oa(i,m,Z,ue,Te){var Xe;for(Xe=0;Xe<Z;++Xe){var tt=i[m+Xe],ut=tt>>8&255,bt=16711935&(bt=(bt=16711935&tt)+((ut<<16)+ut));ue[Te+Xe]=(4278255360&tt)+bt>>>0}}function kn(i,m){m.jd=255&i,m.hd=i>>8&255,m.ud=i>>16&255}function ia(i,m,Z,ue,Te,Xe){var tt;for(tt=0;tt<ue;++tt){var ut=m[Z+tt],bt=ut>>>8,Dt=ut,hr=255&(hr=(hr=ut>>>16)+((i.jd<<24>>24)*(bt<<24>>24)>>>5));Dt=255&(Dt=(Dt+=(i.hd<<24>>24)*(bt<<24>>24)>>>5)+((i.ud<<24>>24)*(hr<<24>>24)>>>5)),Te[Xe+tt]=(4278255360&ut)+(hr<<16)+Dt}}function Rn(i,m,Z,ue,Te){$t[m]=function(Xe,tt,ut,bt,Dt,hr,Br,Rt,gr){for(bt=Br;bt<Rt;++bt)for(Br=0;Br<gr;++Br)Dt[hr++]=Te(ut[ue(Xe[tt++])])},$t[i]=function(Xe,tt,ut,bt,Dt,hr,Br){var Rt=8>>Xe.b,gr=Xe.Ea,Er=Xe.K[0],Xr=Xe.w;if(8>Rt)for(Xe=(1<<Xe.b)-1,Xr=(1<<Rt)-1;tt<ut;++tt){var Nr,_r=0;for(Nr=0;Nr<gr;++Nr)Nr&Xe||(_r=ue(bt[Dt++])),hr[Br++]=Te(Er[_r&Xr]),_r>>=Rt}else $t["VP8LMapColor"+Z](bt,Dt,Er,Xr,hr,Br,tt,ut,gr)}}function Bn(i,m,Z,ue,Te){for(Z=m+Z;m<Z;){var Xe=i[m++];ue[Te++]=Xe>>16&255,ue[Te++]=Xe>>8&255,ue[Te++]=255&Xe}}function Yn(i,m,Z,ue,Te){for(Z=m+Z;m<Z;){var Xe=i[m++];ue[Te++]=Xe>>16&255,ue[Te++]=Xe>>8&255,ue[Te++]=255&Xe,ue[Te++]=Xe>>24&255}}function Qr(i,m,Z,ue,Te){for(Z=m+Z;m<Z;){var Xe=(tt=i[m++])>>16&240|tt>>12&15,tt=240&tt|tt>>28&15;ue[Te++]=Xe,ue[Te++]=tt}}function mn(i,m,Z,ue,Te){for(Z=m+Z;m<Z;){var Xe=(tt=i[m++])>>16&248|tt>>13&7,tt=tt>>5&224|tt>>3&31;ue[Te++]=Xe,ue[Te++]=tt}}function ua(i,m,Z,ue,Te){for(Z=m+Z;m<Z;){var Xe=i[m++];ue[Te++]=255&Xe,ue[Te++]=Xe>>8&255,ue[Te++]=Xe>>16&255}}function En(i,m,Z,ue,Te,Xe){if(Xe==0)for(Z=m+Z;m<Z;)Fr(ue,((Xe=i[m++])[0]>>24|Xe[1]>>8&65280|Xe[2]<<8&16711680|Xe[3]<<24)>>>0),Te+=32;else b(ue,Te,i,m,Z)}function fa(i,m){$t[m][0]=$t[i+"0"],$t[m][1]=$t[i+"1"],$t[m][2]=$t[i+"2"],$t[m][3]=$t[i+"3"],$t[m][4]=$t[i+"4"],$t[m][5]=$t[i+"5"],$t[m][6]=$t[i+"6"],$t[m][7]=$t[i+"7"],$t[m][8]=$t[i+"8"],$t[m][9]=$t[i+"9"],$t[m][10]=$t[i+"10"],$t[m][11]=$t[i+"11"],$t[m][12]=$t[i+"12"],$t[m][13]=$t[i+"13"],$t[m][14]=$t[i+"0"],$t[m][15]=$t[i+"0"]}function Vn(i){return i==g0||i==v0||i==n0||i==b0}function Wa(){this.eb=[],this.size=this.A=this.fb=0}function qa(){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 Cn(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Wa,this.f.kb=new qa,this.sd=null}function jn(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ma(){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 Qa(i){return alert("todo:WebPSamplerProcessPlane"),i.T}function _a(i,m){var Z=i.T,ue=m.ba.f.RGBA,Te=ue.eb,Xe=ue.fb+i.ka*ue.A,tt=Xi[m.ba.S],ut=i.y,bt=i.O,Dt=i.f,hr=i.N,Br=i.ea,Rt=i.W,gr=m.cc,Er=m.dc,Xr=m.Mc,Nr=m.Nc,_r=i.ka,en=i.ka+i.T,bn=i.U,fn=bn+1>>1;for(_r==0?tt(ut,bt,null,null,Dt,hr,Br,Rt,Dt,hr,Br,Rt,Te,Xe,null,null,bn):(tt(m.ec,m.fc,ut,bt,gr,Er,Xr,Nr,Dt,hr,Br,Rt,Te,Xe-ue.A,Te,Xe,bn),++Z);_r+2<en;_r+=2)gr=Dt,Er=hr,Xr=Br,Nr=Rt,hr+=i.Rc,Rt+=i.Rc,Xe+=2*ue.A,tt(ut,(bt+=2*i.fa)-i.fa,ut,bt,gr,Er,Xr,Nr,Dt,hr,Br,Rt,Te,Xe-ue.A,Te,Xe,bn);return bt+=i.fa,i.j+en<i.o?(b(m.ec,m.fc,ut,bt,bn),b(m.cc,m.dc,Dt,hr,fn),b(m.Mc,m.Nc,Br,Rt,fn),Z--):1&en||tt(ut,bt,null,null,Dt,hr,Br,Rt,Dt,hr,Br,Rt,Te,Xe+ue.A,null,null,bn),Z}function po(i,m,Z){var ue=i.F,Te=[i.J];if(ue!=null){var Xe=i.U,tt=m.ba.S,ut=tt==r0||tt==n0;m=m.ba.f.RGBA;var bt=[0],Dt=i.ka;bt[0]=i.T,i.Kb&&(Dt==0?--bt[0]:(--Dt,Te[0]-=i.width),i.j+i.ka+i.T==i.o&&(bt[0]=i.o-i.j-Dt));var hr=m.eb;Dt=m.fb+Dt*m.A,i=Ls(ue,Te[0],i.width,Xe,bt,hr,Dt+(ut?0:3),m.A),s(Z==bt),i&&Vn(tt)&&Es(hr,Dt,ut,Xe,bt,m.A)}return 0}function go(i){var m=i.ma,Z=m.ba.S,ue=11>Z,Te=Z==e0||Z==t0||Z==r0||Z==p0||Z==12||Vn(Z);if(m.memory=null,m.Ib=null,m.Jb=null,m.Nd=null,!pr(m.Oa,i,Te?11:12))return 0;if(Te&&Vn(Z)&&kr(),i.da)alert("todo:use_scaling");else{if(ue){if(m.Ib=Qa,i.Kb){if(Z=i.U+1>>1,m.memory=v(i.U+2*Z),m.memory==null)return 0;m.ec=m.memory,m.fc=0,m.cc=m.ec,m.dc=m.fc+i.U,m.Mc=m.cc,m.Nc=m.dc+Z,m.Ib=_a,kr()}}else alert("todo:EmitYUV");Te&&(m.Jb=po,ue&&ar())}if(ue&&!K0){for(i=0;256>i;++i)$l[i]=89858*(i-128)+o0>>a0,jl[i]=-22014*(i-128)+o0,Pl[i]=-45773*(i-128),Al[i]=113618*(i-128)+o0>>a0;for(i=Vs;i<S0;++i)m=76283*(i-16)+o0>>a0,Nl[i-Vs]=K(m,255),Ml[i-Vs]=K(m+8>>4,15);K0=1}return 1}function pa(i){var m=i.ma,Z=i.U,ue=i.T;return s(!(1&i.ka)),0>=Z||0>=ue?0:(Z=m.Ib(i,m),m.Jb!=null&&m.Jb(i,m,Z),m.Dc+=Z,1)}function No(i){i.ma.memory=null}function Na(i,m,Z,ue){return Wt(i,8)!=47?0:(m[0]=Wt(i,14)+1,Z[0]=Wt(i,14)+1,ue[0]=Wt(i,1),Wt(i,3)!=0?0:!i.h)}function za(i,m){if(4>i)return i+1;var Z=i-2>>1;return(2+(1&i)<<Z)+Wt(m,Z)+1}function Ma(i,m){return 120<m?m-120:1<=(Z=((Z=fl[m-1])>>4)*i+(8-(15&Z)))?Z:1;var Z}function Da(i,m,Z){var ue=Bt(Z),Te=i[m+=255&ue].g-8;return 0<Te&&(Yt(Z,Z.u+8),ue=Bt(Z),m+=i[m].value,m+=ue&(1<<Te)-1),Yt(Z,Z.u+i[m].g),i[m].value}function Ua(i,m,Z){return Z.g+=i.g,Z.value+=i.value<<m>>>0,s(8>=Z.g),i.g}function ba(i,m,Z){var ue=i.xc;return s((m=ue==0?0:i.vc[i.md*(Z>>ue)+(m>>ue)])<i.Wb),i.Ya[m]}function Ya(i,m,Z,ue){var Te=i.ab,Xe=i.c*m,tt=i.C;m=tt+m;var ut=Z,bt=ue;for(ue=i.Ta,Z=i.Ua;0<Te--;){var Dt=i.gc[Te],hr=tt,Br=m,Rt=ut,gr=bt,Er=(bt=ue,ut=Z,Dt.Ea);switch(s(hr<Br),s(Br<=Dt.nc),Dt.hc){case 2:Ka(Rt,gr,(Br-hr)*Er,bt,ut);break;case 0:var Xr=hr,Nr=Br,_r=bt,en=ut,bn=(ga=Dt).Ea;Xr==0&&(Ba(Rt,gr,null,null,1,_r,en),Ra(Rt,gr+1,0,0,bn-1,_r,en+1),gr+=bn,en+=bn,++Xr);for(var fn=1<<ga.b,Sa=fn-1,sa=an(bn,ga.b),Za=ga.K,ga=ga.w+(Xr>>ga.b)*sa;Xr<Nr;){var to=Za,qo=ga,Va=1;for(Ia(Rt,gr,_r,en-bn,1,_r,en);Va<bn;){var va=(Va&~Sa)+fn;va>bn&&(va=bn),(0,$o[to[qo++]>>8&15])(Rt,gr+ +Va,_r,en+Va-bn,va-Va,_r,en+Va),Va=va}gr+=bn,en+=bn,++Xr&Sa||(ga+=sa)}Br!=Dt.nc&&b(bt,ut-Er,bt,ut+(Br-hr-1)*Er,Er);break;case 1:for(Er=Rt,Nr=gr,bn=(Rt=Dt.Ea)-(en=Rt&~(_r=(gr=1<<Dt.b)-1)),Xr=an(Rt,Dt.b),fn=Dt.K,Dt=Dt.w+(hr>>Dt.b)*Xr;hr<Br;){for(Sa=fn,sa=Dt,Za=new la,ga=Nr+en,to=Nr+Rt;Nr<ga;)kn(Sa[sa++],Za),mo(Za,Er,Nr,gr,bt,ut),Nr+=gr,ut+=gr;Nr<to&&(kn(Sa[sa++],Za),mo(Za,Er,Nr,bn,bt,ut),Nr+=bn,ut+=bn),++hr&_r||(Dt+=Xr)}break;case 3:if(Rt==bt&&gr==ut&&0<Dt.b){for(Nr=bt,Rt=Er=ut+(Br-hr)*Er-(en=(Br-hr)*an(Dt.Ea,Dt.b)),gr=bt,_r=ut,Xr=[],en=(bn=en)-1;0<=en;--en)Xr[en]=gr[_r+en];for(en=bn-1;0<=en;--en)Nr[Rt+en]=Xr[en];Ga(Dt,hr,Br,bt,Er,bt,ut)}else Ga(Dt,hr,Br,Rt,gr,bt,ut)}ut=ue,bt=Z}bt!=Z&&b(ue,Z,ut,bt,Xe)}function ka(i,m){var Z=i.V,ue=i.Ba+i.c*i.C,Te=m-i.C;if(s(m<=i.l.o),s(16>=Te),0<Te){var Xe=i.l,tt=i.Ta,ut=i.Ua,bt=Xe.width;if(Ya(i,Te,Z,ue),Te=ut=[ut],s((Z=i.C)<(ue=m)),s(Xe.v<Xe.va),ue>Xe.o&&(ue=Xe.o),Z<Xe.j){var Dt=Xe.j-Z;Z=Xe.j,Te[0]+=Dt*bt}if(Z>=ue?Z=0:(Te[0]+=4*Xe.v,Xe.ka=Z-Xe.j,Xe.U=Xe.va-Xe.v,Xe.T=ue-Z,Z=1),Z){if(ut=ut[0],11>(Z=i.ca).S){var hr=Z.f.RGBA,Br=(ue=Z.S,Te=Xe.U,Xe=Xe.T,Dt=hr.eb,hr.A),Rt=Xe;for(hr=hr.fb+i.Ma*hr.A;0<Rt--;){var gr=tt,Er=ut,Xr=Te,Nr=Dt,_r=hr;switch(ue){case Qs:ri(gr,Er,Xr,Nr,_r);break;case e0:So(gr,Er,Xr,Nr,_r);break;case g0:So(gr,Er,Xr,Nr,_r),Es(Nr,_r,0,Xr,1,0);break;case D0:lo(gr,Er,Xr,Nr,_r);break;case t0:En(gr,Er,Xr,Nr,_r,1);break;case v0:En(gr,Er,Xr,Nr,_r,1),Es(Nr,_r,0,Xr,1,0);break;case r0:En(gr,Er,Xr,Nr,_r,0);break;case n0:En(gr,Er,Xr,Nr,_r,0),Es(Nr,_r,1,Xr,1,0);break;case p0:Ro(gr,Er,Xr,Nr,_r);break;case b0:Ro(gr,Er,Xr,Nr,_r),ks(Nr,_r,Xr,1,0);break;case R0:eo(gr,Er,Xr,Nr,_r);break;default:s(0)}ut+=bt,hr+=Br}i.Ma+=Xe}else alert("todo:EmitRescaledRowsYUVA");s(i.Ma<=Z.height)}}i.C=m,s(i.C<=i.i)}function Ja(i){var m;if(0<i.ua)return 0;for(m=0;m<i.Wb;++m){var Z=i.Ya[m].G,ue=i.Ya[m].H;if(0<Z[1][ue[1]+0].g||0<Z[2][ue[2]+0].g||0<Z[3][ue[3]+0].g)return 0}return 1}function io(i,m,Z,ue,Te,Xe){if(i.Z!=0){var tt=i.qd,ut=i.rd;for(s($s[i.Z]!=null);m<Z;++m)$s[i.Z](tt,ut,ue,Te,ue,Te,Xe),tt=ue,ut=Te,Te+=Xe;i.qd=tt,i.rd=ut}}function ho(i,m){var Z=i.l.ma,ue=Z.Z==0||Z.Z==1?i.l.j:i.C;if(ue=i.C<ue?ue:i.C,s(m<=i.l.o),m>ue){var Te=i.l.width,Xe=Z.ca,tt=Z.tb+Te*ue,ut=i.V,bt=i.Ba+i.c*ue,Dt=i.gc;s(i.ab==1),s(Dt[0].hc==3),Xa(Dt[0],ue,m,ut,bt,Xe,tt),io(Z,ue,m,Xe,tt,Te)}i.C=i.Ma=m}function Mo(i,m,Z,ue,Te,Xe,tt){var ut=i.$/ue,bt=i.$%ue,Dt=i.m,hr=i.s,Br=Z+i.$,Rt=Br;Te=Z+ue*Te;var gr=Z+ue*Xe,Er=280+hr.ua,Xr=i.Pb?ut:16777216,Nr=0<hr.ua?hr.Wa:null,_r=hr.wc,en=Br<gr?ba(hr,bt,ut):null;s(i.C<Xe),s(gr<=Te);var bn=!1;e:for(;;){for(;bn||Br<gr;){var fn=0;if(ut>=Xr){var Sa=Br-Z;s((Xr=i).Pb),Xr.wd=Xr.m,Xr.xd=Sa,0<Xr.s.ua&&ya(Xr.s.Wa,Xr.s.vb),Xr=ut+pl}if(bt&_r||(en=ba(hr,bt,ut)),s(en!=null),en.Qb&&(m[Br]=en.qb,bn=!0),!bn)if(lr(Dt),en.jc){fn=Dt,Sa=m;var sa=Br,Za=en.pd[Bt(fn)&ln-1];s(en.jc),256>Za.g?(Yt(fn,fn.u+Za.g),Sa[sa]=Za.value,fn=0):(Yt(fn,fn.u+Za.g-256),s(256<=Za.value),fn=Za.value),fn==0&&(bn=!0)}else fn=Da(en.G[0],en.H[0],Dt);if(Dt.h)break;if(bn||256>fn){if(!bn)if(en.nd)m[Br]=(en.qb|fn<<8)>>>0;else{if(lr(Dt),bn=Da(en.G[1],en.H[1],Dt),lr(Dt),Sa=Da(en.G[2],en.H[2],Dt),sa=Da(en.G[3],en.H[3],Dt),Dt.h)break;m[Br]=(sa<<24|bn<<16|fn<<8|Sa)>>>0}if(bn=!1,++Br,++bt>=ue&&(bt=0,++ut,tt!=null&&ut<=Xe&&!(ut%16)&&tt(i,ut),Nr!=null))for(;Rt<Br;)fn=m[Rt++],Nr.X[(506832829*fn&4294967295)>>>Nr.Mb]=fn}else if(280>fn){if(fn=za(fn-256,Dt),Sa=Da(en.G[4],en.H[4],Dt),lr(Dt),Sa=Ma(ue,Sa=za(Sa,Dt)),Dt.h)break;if(Br-Z<Sa||Te-Br<fn)break e;for(sa=0;sa<fn;++sa)m[Br+sa]=m[Br+sa-Sa];for(Br+=fn,bt+=fn;bt>=ue;)bt-=ue,++ut,tt!=null&&ut<=Xe&&!(ut%16)&&tt(i,ut);if(s(Br<=Te),bt&_r&&(en=ba(hr,bt,ut)),Nr!=null)for(;Rt<Br;)fn=m[Rt++],Nr.X[(506832829*fn&4294967295)>>>Nr.Mb]=fn}else{if(!(fn<Er))break e;for(bn=fn-280,s(Nr!=null);Rt<Br;)fn=m[Rt++],Nr.X[(506832829*fn&4294967295)>>>Nr.Mb]=fn;fn=Br,s(!(bn>>>(Sa=Nr).Xa)),m[fn]=Sa.X[bn],bn=!0}bn||s(Dt.h==ht(Dt))}if(i.Pb&&Dt.h&&Br<Te)s(i.m.h),i.a=5,i.m=i.wd,i.$=i.xd,0<i.s.ua&&ya(i.s.vb,i.s.Wa);else{if(Dt.h)break e;tt!=null&&tt(i,ut>Xe?Xe:ut),i.a=0,i.$=Br-Z}return 1}return i.a=3,0}function Bo(i){s(i!=null),i.vc=null,i.yc=null,i.Ya=null;var m=i.Wa;m!=null&&(m.X=null),i.vb=null,s(i!=null)}function La(){var i=new ie;return i==null?null:(i.a=0,i.xb=H0,fa("Predictor","VP8LPredictors"),fa("Predictor","VP8LPredictors_C"),fa("PredictorAdd","VP8LPredictorsAdd"),fa("PredictorAdd","VP8LPredictorsAdd_C"),Ka=oa,mo=ia,ri=Bn,So=Yn,Ro=Qr,eo=mn,lo=ua,$t.VP8LMapColor32b=fo,$t.VP8LMapColor8b=Go,i)}function Ko(i,m,Z,ue,Te){var Xe=1,tt=[i],ut=[m],bt=ue.m,Dt=ue.s,hr=null,Br=0;e:for(;;){if(Z)for(;Xe&&Wt(bt,1);){var Rt=tt,gr=ut,Er=ue,Xr=1,Nr=Er.m,_r=Er.gc[Er.ab],en=Wt(Nr,2);if(Er.Oc&1<<en)Xe=0;else{switch(Er.Oc|=1<<en,_r.hc=en,_r.Ea=Rt[0],_r.nc=gr[0],_r.K=[null],++Er.ab,s(4>=Er.ab),en){case 0:case 1:_r.b=Wt(Nr,3)+2,Xr=Ko(an(_r.Ea,_r.b),an(_r.nc,_r.b),0,Er,_r.K),_r.K=_r.K[0];break;case 3:var bn,fn=Wt(Nr,8)+1,Sa=16<fn?0:4<fn?1:2<fn?2:3;if(Rt[0]=an(_r.Ea,Sa),_r.b=Sa,bn=Xr=Ko(fn,1,0,Er,_r.K)){var sa,Za=fn,ga=_r,to=1<<(8>>ga.b),qo=v(to);if(qo==null)bn=0;else{var Va=ga.K[0],va=ga.w;for(qo[0]=ga.K[0][0],sa=1;sa<1*Za;++sa)qo[sa]=dn(Va[va+sa],qo[sa-1]);for(;sa<4*to;++sa)qo[sa]=0;ga.K[0]=null,ga.K[0]=qo,bn=1}}Xr=bn;break;case 2:break;default:s(0)}Xe=Xr}}if(tt=tt[0],ut=ut[0],Xe&&Wt(bt,1)&&!(Xe=1<=(Br=Wt(bt,4))&&11>=Br)){ue.a=3;break e}var Dn;if(Dn=Xe)t:{var Uo,Ha,no,jo=ue,oi=tt,bi=ut,Fo=Br,ci=Z,yi=jo.m,Qo=jo.s,co=[null],yo=1,ko=0,xo=ml[Fo];r:for(;;){if(ci&&Wt(yi,1)){var ii=Wt(yi,3)+2,Qi=an(oi,ii),Zo=an(bi,ii),Ei=Qi*Zo;if(!Ko(Qi,Zo,0,jo,co))break r;for(co=co[0],Qo.xc=ii,Uo=0;Uo<Ei;++Uo){var Oo=co[Uo]>>8&65535;co[Uo]=Oo,Oo>=yo&&(yo=Oo+1)}}if(yi.h)break r;for(Ha=0;5>Ha;++Ha){var ei=F0[Ha];!Ha&&0<Fo&&(ei+=1<<Fo),ko<ei&&(ko=ei)}var zi=B(yo*xo,At),xi=yo,Di=B(xi,dr);if(Di==null)var Ri=null;else s(65536>=xi),Ri=Di;var Ii=v(ko);if(Ri==null||Ii==null||zi==null){jo.a=1;break r}var Fi=zi;for(Uo=no=0;Uo<yo;++Uo){var Ao=Ri[Uo],ki=Ao.G,es=Ao.H,Ds=0,ps=1,si=0;for(Ha=0;5>Ha;++Ha){ei=F0[Ha],ki[Ha]=Fi,es[Ha]=no,!Ha&&0<Fo&&(ei+=1<<Fo);a:{var s0,w0=ei,l0=jo,Gs=Ii,Ll=Fi,zl=no,C0=0,As=l0.m,Dl=Wt(As,1);if($(Gs,0,0,w0),Dl){var Rl=Wt(As,1)+1,Fl=Wt(As,1),Y0=Wt(As,Fl==0?1:8);Gs[Y0]=1,Rl==2&&(Gs[Y0=Wt(As,8)]=1);var c0=1}else{var J0=v(19),q0=Wt(As,4)+4;if(19<q0){l0.a=3;var u0=0;break a}for(s0=0;s0<q0;++s0)J0[hl[s0]]=Wt(As,3);var O0=void 0,Ks=void 0,Q0=l0,kl=J0,d0=w0,el=Gs,E0=0,Ps=Q0.m,tl=8,rl=B(128,At);n:for(;ze(rl,0,7,kl,19);){if(Wt(Ps,1)){var Hl=2+2*Wt(Ps,3);if((O0=2+Wt(Ps,Hl))>d0)break n}else O0=d0;for(Ks=0;Ks<d0&&O0--;){lr(Ps);var nl=rl[0+(127&Bt(Ps))];Yt(Ps,Ps.u+nl.g);var Hs=nl.value;if(16>Hs)el[Ks++]=Hs,Hs!=0&&(tl=Hs);else{var Wl=Hs==16,al=Hs-16,Ul=ul[al],ol=Wt(Ps,cl[al])+Ul;if(Ks+ol>d0)break n;for(var Zl=Wl?tl:0;0<ol--;)el[Ks++]=Zl}}E0=1;break n}E0||(Q0.a=3),c0=E0}(c0=c0&&!As.h)&&(C0=ze(Ll,zl,8,Gs,w0)),c0&&C0!=0?u0=C0:(l0.a=3,u0=0)}if(u0==0)break r;if(ps&&dl[Ha]==1&&(ps=Fi[no].g==0),Ds+=Fi[no].g,no+=u0,3>=Ha){var Xs,I0=Ii[0];for(Xs=1;Xs<ei;++Xs)Ii[Xs]>I0&&(I0=Ii[Xs]);si+=I0}}if(Ao.nd=ps,Ao.Qb=0,ps&&(Ao.qb=(ki[3][es[3]+0].value<<24|ki[1][es[1]+0].value<<16|ki[2][es[2]+0].value)>>>0,Ds==0&&256>ki[0][es[0]+0].value&&(Ao.Qb=1,Ao.qb+=ki[0][es[0]+0].value<<8)),Ao.jc=!Ao.Qb&&6>si,Ao.jc){var h0,gs=Ao;for(h0=0;h0<ln;++h0){var js=h0,Ns=gs.pd[js],f0=gs.G[0][gs.H[0]+js];256<=f0.value?(Ns.g=f0.g+256,Ns.value=f0.value):(Ns.g=0,Ns.value=0,js>>=Ua(f0,8,Ns),js>>=Ua(gs.G[1][gs.H[1]+js],16,Ns),js>>=Ua(gs.G[2][gs.H[2]+js],0,Ns),Ua(gs.G[3][gs.H[3]+js],24,Ns))}}}Qo.vc=co,Qo.Wb=yo,Qo.Ya=Ri,Qo.yc=zi,Dn=1;break t}Dn=0}if(!(Xe=Dn)){ue.a=3;break e}if(0<Br){if(Dt.ua=1<<Br,!Lt(Dt.Wa,Br)){ue.a=1,Xe=0;break e}}else Dt.ua=0;var $0=ue,il=tt,Vl=ut,A0=$0.s,P0=A0.xc;if($0.c=il,$0.i=Vl,A0.md=an(il,P0),A0.wc=P0==0?-1:(1<<P0)-1,Z){ue.xb=wl;break e}if((hr=v(tt*ut))==null){ue.a=1,Xe=0;break e}Xe=(Xe=Mo(ue,hr,0,tt,ut,ut,null))&&!bt.h;break e}return Xe?(Te!=null?Te[0]=hr:(s(hr==null),s(Z)),ue.$=0,Z||Bo(Dt)):Bo(Dt),Xe}function vo(i,m){var Z=i.c*i.i,ue=Z+m+16*m;return s(i.c<=m),i.V=v(ue),i.V==null?(i.Ta=null,i.Ua=0,i.a=1,0):(i.Ta=i.V,i.Ua=i.Ba+Z+m,1)}function Lo(i,m){var Z=i.C,ue=m-Z,Te=i.V,Xe=i.Ba+i.c*Z;for(s(m<=i.l.o);0<ue;){var tt=16<ue?16:ue,ut=i.l.ma,bt=i.l.width,Dt=bt*tt,hr=ut.ca,Br=ut.tb+bt*Z,Rt=i.Ta,gr=i.Ua;Ya(i,tt,Te,Xe),zs(Rt,gr,hr,Br,Dt),io(ut,Z,Z+tt,hr,Br,bt),ue-=tt,Te+=tt*i.c,Z+=tt}s(Z==m),i.C=i.Ma=m}function Co(){this.ub=this.yd=this.td=this.Rb=0}function Si(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Vo(){this.Fb=this.Bb=this.Cb=0,this.Zb=v(4),this.Lb=v(4)}function ai(){this.Yb=function(){var i=[];return function m(Z,ue,Te){for(var Xe=Te[ue],tt=0;tt<Xe&&(Z.push(Te.length>ue+1?[]:0),!(Te.length<ue+1));tt++)m(Z[tt],ue+1,Te)}(i,0,[3,11]),i}()}function $i(){this.jb=v(3),this.Wc=U([4,8],ai),this.Xc=U([4,17],ai)}function Ho(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new v(4),this.od=new v(4)}function Xo(){this.ld=this.La=this.dd=this.tc=0}function Hi(){this.Na=this.la=0}function wi(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Ci(){this.ad=v(384),this.Za=0,this.Ob=v(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Oi(){this.uc=this.M=this.Nb=0,this.wa=Array(new Xo),this.Y=0,this.ya=Array(new Ci),this.aa=0,this.l=new ja}function Ai(){this.y=v(16),this.f=v(8),this.ea=v(8)}function Pa(){this.cb=this.a=0,this.sc="",this.m=new Pe,this.Od=new Co,this.Kc=new Si,this.ed=new Ho,this.Qa=new Vo,this.Ic=this.$c=this.Aa=0,this.D=new Oi,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=B(8,Pe),this.ia=0,this.pb=B(4,wi),this.Pa=new $i,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ai),this.Hd=0,this.rb=Array(new Hi),this.sb=0,this.wa=Array(new Xo),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 Ci),this.L=this.aa=0,this.gd=U([4,2],Xo),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 ja(){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 bo(){var i=new Pa;return i!=null&&(i.a=0,i.sc="OK",i.cb=0,i.Xb=0,Zs||(Zs=Eo)),i}function Ve(i,m,Z){return i.a==0&&(i.a=m,i.sc=Z,i.cb=0),0}function zo(i,m,Z){return 3<=Z&&i[m+0]==157&&i[m+1]==1&&i[m+2]==42}function Do(i,m){if(i==null)return 0;if(i.a=0,i.sc="OK",m==null)return Ve(i,2,"null VP8Io passed to VP8GetHeaders()");var Z=m.data,ue=m.w,Te=m.ha;if(4>Te)return Ve(i,7,"Truncated header.");var Xe=Z[ue+0]|Z[ue+1]<<8|Z[ue+2]<<16,tt=i.Od;if(tt.Rb=!(1&Xe),tt.td=Xe>>1&7,tt.yd=Xe>>4&1,tt.ub=Xe>>5,3<tt.td)return Ve(i,3,"Incorrect keyframe parameters.");if(!tt.yd)return Ve(i,4,"Frame not displayable.");ue+=3,Te-=3;var ut=i.Kc;if(tt.Rb){if(7>Te)return Ve(i,7,"cannot parse picture header");if(!zo(Z,ue,Te))return Ve(i,3,"Bad code word");ut.c=16383&(Z[ue+4]<<8|Z[ue+3]),ut.Td=Z[ue+4]>>6,ut.i=16383&(Z[ue+6]<<8|Z[ue+5]),ut.Ud=Z[ue+6]>>6,ue+=7,Te-=7,i.za=ut.c+15>>4,i.Ub=ut.i+15>>4,m.width=ut.c,m.height=ut.i,m.Da=0,m.j=0,m.v=0,m.va=m.width,m.o=m.height,m.da=0,m.ib=m.width,m.hb=m.height,m.U=m.width,m.T=m.height,$((Xe=i.Pa).jb,0,255,Xe.jb.length),s((Xe=i.Qa)!=null),Xe.Cb=0,Xe.Bb=0,Xe.Fb=1,$(Xe.Zb,0,0,Xe.Zb.length),$(Xe.Lb,0,0,Xe.Lb)}if(tt.ub>Te)return Ve(i,7,"bad partition length");br(Xe=i.m,Z,ue,tt.ub),ue+=tt.ub,Te-=tt.ub,tt.Rb&&(ut.Ld=Or(Xe),ut.Kd=Or(Xe)),ut=i.Qa;var bt,Dt=i.Pa;if(s(Xe!=null),s(ut!=null),ut.Cb=Or(Xe),ut.Cb){if(ut.Bb=Or(Xe),Or(Xe)){for(ut.Fb=Or(Xe),bt=0;4>bt;++bt)ut.Zb[bt]=Or(Xe)?Tt(Xe,7):0;for(bt=0;4>bt;++bt)ut.Lb[bt]=Or(Xe)?Tt(Xe,6):0}if(ut.Bb)for(bt=0;3>bt;++bt)Dt.jb[bt]=Or(Xe)?Jt(Xe,8):255}else ut.Bb=0;if(Xe.Ka)return Ve(i,3,"cannot parse segment header");if((ut=i.ed).zd=Or(Xe),ut.Tb=Jt(Xe,6),ut.wb=Jt(Xe,3),ut.Pc=Or(Xe),ut.Pc&&Or(Xe)){for(Dt=0;4>Dt;++Dt)Or(Xe)&&(ut.vd[Dt]=Tt(Xe,6));for(Dt=0;4>Dt;++Dt)Or(Xe)&&(ut.od[Dt]=Tt(Xe,6))}if(i.L=ut.Tb==0?0:ut.zd?1:2,Xe.Ka)return Ve(i,3,"cannot parse filter header");var hr=Te;if(Te=bt=ue,ue=bt+hr,ut=hr,i.Xb=(1<<Jt(i.m,2))-1,hr<3*(Dt=i.Xb))Z=7;else{for(bt+=3*Dt,ut-=3*Dt,hr=0;hr<Dt;++hr){var Br=Z[Te+0]|Z[Te+1]<<8|Z[Te+2]<<16;Br>ut&&(Br=ut),br(i.Jc[+hr],Z,bt,Br),bt+=Br,ut-=Br,Te+=3}br(i.Jc[+Dt],Z,bt,ut),Z=bt<ue?0:5}if(Z!=0)return Ve(i,Z,"cannot parse partitions");for(Z=Jt(bt=i.m,7),Te=Or(bt)?Tt(bt,4):0,ue=Or(bt)?Tt(bt,4):0,ut=Or(bt)?Tt(bt,4):0,Dt=Or(bt)?Tt(bt,4):0,bt=Or(bt)?Tt(bt,4):0,hr=i.Qa,Br=0;4>Br;++Br){if(hr.Cb){var Rt=hr.Zb[Br];hr.Fb||(Rt+=Z)}else{if(0<Br){i.pb[Br]=i.pb[0];continue}Rt=Z}var gr=i.pb[Br];gr.Sc[0]=y0[K(Rt+Te,127)],gr.Sc[1]=x0[K(Rt+0,127)],gr.Eb[0]=2*y0[K(Rt+ue,127)],gr.Eb[1]=101581*x0[K(Rt+ut,127)]>>16,8>gr.Eb[1]&&(gr.Eb[1]=8),gr.Qc[0]=y0[K(Rt+Dt,117)],gr.Qc[1]=x0[K(Rt+bt,127)],gr.lc=Rt+bt}if(!tt.Rb)return Ve(i,4,"Not a key frame.");for(Or(Xe),tt=i.Pa,Z=0;4>Z;++Z){for(Te=0;8>Te;++Te)for(ue=0;3>ue;++ue)for(ut=0;11>ut;++ut)Dt=Rr(Xe,xl[Z][Te][ue][ut])?Jt(Xe,8):bl[Z][Te][ue][ut],tt.Wc[Z][Te].Yb[ue][ut]=Dt;for(Te=0;17>Te;++Te)tt.Xc[Z][Te]=tt.Wc[Z][Sl[Te]]}return i.kc=Or(Xe),i.kc&&(i.Bd=Jt(Xe,8)),i.cb=1}function Eo(i,m,Z,ue,Te,Xe,tt){var ut=m[Te].Yb[Z];for(Z=0;16>Te;++Te){if(!Rr(i,ut[Z+0]))return Te;for(;!Rr(i,ut[Z+1]);)if(ut=m[++Te].Yb[0],Z=0,Te==16)return 16;var bt=m[Te+1].Yb;if(Rr(i,ut[Z+2])){var Dt=i,hr=0;if(Rr(Dt,(Rt=ut)[(Br=Z)+3]))if(Rr(Dt,Rt[Br+6])){for(ut=0,Br=2*(hr=Rr(Dt,Rt[Br+8]))+(Rt=Rr(Dt,Rt[Br+9+hr])),hr=0,Rt=gl[Br];Rt[ut];++ut)hr+=hr+Rr(Dt,Rt[ut]);hr+=3+(8<<Br)}else Rr(Dt,Rt[Br+7])?(hr=7+2*Rr(Dt,165),hr+=Rr(Dt,145)):hr=5+Rr(Dt,159);else hr=Rr(Dt,Rt[Br+4])?3+Rr(Dt,Rt[Br+5]):2;ut=bt[2]}else hr=1,ut=bt[1];bt=tt+vl[Te],0>(Dt=i).b&&mr(Dt);var Br,Rt=Dt.b,gr=(Br=Dt.Ca>>1)-(Dt.I>>Rt)>>31;--Dt.b,Dt.Ca+=gr,Dt.Ca|=1,Dt.I-=(Br+1&gr)<<Rt,Xe[bt]=((hr^gr)-gr)*ue[(0<Te)+0]}return 16}function so(i){var m=i.rb[i.sb-1];m.la=0,m.Na=0,$(i.zc,0,0,i.zc.length),i.ja=0}function _o(i,m,Z,ue,Te){Te=i[m+Z+32*ue]+(Te>>3),i[m+Z+32*ue]=-256&Te?0>Te?0:255:Te}function Wo(i,m,Z,ue,Te,Xe){_o(i,m,0,Z,ue+Te),_o(i,m,1,Z,ue+Xe),_o(i,m,2,Z,ue-Xe),_o(i,m,3,Z,ue-Te)}function Io(i){return(20091*i>>16)+i}function Yo(i,m,Z,ue){var Te,Xe=0,tt=v(16);for(Te=0;4>Te;++Te){var ut=i[m+0]+i[m+8],bt=i[m+0]-i[m+8],Dt=(35468*i[m+4]>>16)-Io(i[m+12]),hr=Io(i[m+4])+(35468*i[m+12]>>16);tt[Xe+0]=ut+hr,tt[Xe+1]=bt+Dt,tt[Xe+2]=bt-Dt,tt[Xe+3]=ut-hr,Xe+=4,m++}for(Te=Xe=0;4>Te;++Te)ut=(i=tt[Xe+0]+4)+tt[Xe+8],bt=i-tt[Xe+8],Dt=(35468*tt[Xe+4]>>16)-Io(tt[Xe+12]),_o(Z,ue,0,0,ut+(hr=Io(tt[Xe+4])+(35468*tt[Xe+12]>>16))),_o(Z,ue,1,0,bt+Dt),_o(Z,ue,2,0,bt-Dt),_o(Z,ue,3,0,ut-hr),Xe++,ue+=32}function Pi(i,m,Z,ue){var Te=i[m+0]+4,Xe=35468*i[m+4]>>16,tt=Io(i[m+4]),ut=35468*i[m+1]>>16;Wo(Z,ue,0,Te+tt,i=Io(i[m+1]),ut),Wo(Z,ue,1,Te+Xe,i,ut),Wo(Z,ue,2,Te-Xe,i,ut),Wo(Z,ue,3,Te-tt,i,ut)}function Wi(i,m,Z,ue,Te){Yo(i,m,Z,ue),Te&&Yo(i,m+16,Z,ue+4)}function vs(i,m,Z,ue){Po(i,m+0,Z,ue,1),Po(i,m+32,Z,ue+128,1)}function ui(i,m,Z,ue){var Te;for(i=i[m+0]+4,Te=0;4>Te;++Te)for(m=0;4>m;++m)_o(Z,ue,m,Te,i)}function ts(i,m,Z,ue){i[m+0]&&To(i,m+0,Z,ue),i[m+16]&&To(i,m+16,Z,ue+4),i[m+32]&&To(i,m+32,Z,ue+128),i[m+48]&&To(i,m+48,Z,ue+128+4)}function ss(i,m,Z,ue){var Te,Xe=v(16);for(Te=0;4>Te;++Te){var tt=i[m+0+Te]+i[m+12+Te],ut=i[m+4+Te]+i[m+8+Te],bt=i[m+4+Te]-i[m+8+Te],Dt=i[m+0+Te]-i[m+12+Te];Xe[0+Te]=tt+ut,Xe[8+Te]=tt-ut,Xe[4+Te]=Dt+bt,Xe[12+Te]=Dt-bt}for(Te=0;4>Te;++Te)tt=(i=Xe[0+4*Te]+3)+Xe[3+4*Te],ut=Xe[1+4*Te]+Xe[2+4*Te],bt=Xe[1+4*Te]-Xe[2+4*Te],Dt=i-Xe[3+4*Te],Z[ue+0]=tt+ut>>3,Z[ue+16]=Dt+bt>>3,Z[ue+32]=tt-ut>>3,Z[ue+48]=Dt-bt>>3,ue+=64}function di(i,m,Z){var ue,Te=m-32,Xe=Li,tt=255-i[Te-1];for(ue=0;ue<Z;++ue){var ut,bt=Xe,Dt=tt+i[m-1];for(ut=0;ut<Z;++ut)i[m+ut]=bt[Dt+i[Te+ut]];m+=32}}function Ui(i,m){di(i,m,4)}function bs(i,m){di(i,m,8)}function ls(i,m){di(i,m,16)}function ys(i,m){var Z;for(Z=0;16>Z;++Z)b(i,m+32*Z,i,m-32,16)}function rs(i,m){var Z;for(Z=16;0<Z;--Z)$(i,m,i[m-1],16),m+=32}function hi(i,m,Z){var ue;for(ue=0;16>ue;++ue)$(m,Z+32*ue,i,16)}function fi(i,m){var Z,ue=16;for(Z=0;16>Z;++Z)ue+=i[m-1+32*Z]+i[m+Z-32];hi(ue>>5,i,m)}function cs(i,m){var Z,ue=8;for(Z=0;16>Z;++Z)ue+=i[m-1+32*Z];hi(ue>>4,i,m)}function ji(i,m){var Z,ue=8;for(Z=0;16>Z;++Z)ue+=i[m+Z-32];hi(ue>>4,i,m)}function mi(i,m){hi(128,i,m)}function Ea(i,m,Z){return i+2*m+Z+2>>2}function xs(i,m){var Z,ue=m-32;for(ue=new Uint8Array([Ea(i[ue-1],i[ue+0],i[ue+1]),Ea(i[ue+0],i[ue+1],i[ue+2]),Ea(i[ue+1],i[ue+2],i[ue+3]),Ea(i[ue+2],i[ue+3],i[ue+4])]),Z=0;4>Z;++Z)b(i,m+32*Z,ue,0,ue.length)}function Ss(i,m){var Z=i[m-1],ue=i[m-1+32],Te=i[m-1+64],Xe=i[m-1+96];Fr(i,m+0,16843009*Ea(i[m-1-32],Z,ue)),Fr(i,m+32,16843009*Ea(Z,ue,Te)),Fr(i,m+64,16843009*Ea(ue,Te,Xe)),Fr(i,m+96,16843009*Ea(Te,Xe,Xe))}function ws(i,m){var Z,ue=4;for(Z=0;4>Z;++Z)ue+=i[m+Z-32]+i[m-1+32*Z];for(ue>>=3,Z=0;4>Z;++Z)$(i,m+32*Z,ue,4)}function _i(i,m){var Z=i[m-1+0],ue=i[m-1+32],Te=i[m-1+64],Xe=i[m-1-32],tt=i[m+0-32],ut=i[m+1-32],bt=i[m+2-32],Dt=i[m+3-32];i[m+0+96]=Ea(ue,Te,i[m-1+96]),i[m+1+96]=i[m+0+64]=Ea(Z,ue,Te),i[m+2+96]=i[m+1+64]=i[m+0+32]=Ea(Xe,Z,ue),i[m+3+96]=i[m+2+64]=i[m+1+32]=i[m+0+0]=Ea(tt,Xe,Z),i[m+3+64]=i[m+2+32]=i[m+1+0]=Ea(ut,tt,Xe),i[m+3+32]=i[m+2+0]=Ea(bt,ut,tt),i[m+3+0]=Ea(Dt,bt,ut)}function li(i,m){var Z=i[m+1-32],ue=i[m+2-32],Te=i[m+3-32],Xe=i[m+4-32],tt=i[m+5-32],ut=i[m+6-32],bt=i[m+7-32];i[m+0+0]=Ea(i[m+0-32],Z,ue),i[m+1+0]=i[m+0+32]=Ea(Z,ue,Te),i[m+2+0]=i[m+1+32]=i[m+0+64]=Ea(ue,Te,Xe),i[m+3+0]=i[m+2+32]=i[m+1+64]=i[m+0+96]=Ea(Te,Xe,tt),i[m+3+32]=i[m+2+64]=i[m+1+96]=Ea(Xe,tt,ut),i[m+3+64]=i[m+2+96]=Ea(tt,ut,bt),i[m+3+96]=Ea(ut,bt,bt)}function pi(i,m){var Z=i[m-1+0],ue=i[m-1+32],Te=i[m-1+64],Xe=i[m-1-32],tt=i[m+0-32],ut=i[m+1-32],bt=i[m+2-32],Dt=i[m+3-32];i[m+0+0]=i[m+1+64]=Xe+tt+1>>1,i[m+1+0]=i[m+2+64]=tt+ut+1>>1,i[m+2+0]=i[m+3+64]=ut+bt+1>>1,i[m+3+0]=bt+Dt+1>>1,i[m+0+96]=Ea(Te,ue,Z),i[m+0+64]=Ea(ue,Z,Xe),i[m+0+32]=i[m+1+96]=Ea(Z,Xe,tt),i[m+1+32]=i[m+2+96]=Ea(Xe,tt,ut),i[m+2+32]=i[m+3+96]=Ea(tt,ut,bt),i[m+3+32]=Ea(ut,bt,Dt)}function Ms(i,m){var Z=i[m+0-32],ue=i[m+1-32],Te=i[m+2-32],Xe=i[m+3-32],tt=i[m+4-32],ut=i[m+5-32],bt=i[m+6-32],Dt=i[m+7-32];i[m+0+0]=Z+ue+1>>1,i[m+1+0]=i[m+0+64]=ue+Te+1>>1,i[m+2+0]=i[m+1+64]=Te+Xe+1>>1,i[m+3+0]=i[m+2+64]=Xe+tt+1>>1,i[m+0+32]=Ea(Z,ue,Te),i[m+1+32]=i[m+0+96]=Ea(ue,Te,Xe),i[m+2+32]=i[m+1+96]=Ea(Te,Xe,tt),i[m+3+32]=i[m+2+96]=Ea(Xe,tt,ut),i[m+3+64]=Ea(tt,ut,bt),i[m+3+96]=Ea(ut,bt,Dt)}function Cs(i,m){var Z=i[m-1+0],ue=i[m-1+32],Te=i[m-1+64],Xe=i[m-1+96];i[m+0+0]=Z+ue+1>>1,i[m+2+0]=i[m+0+32]=ue+Te+1>>1,i[m+2+32]=i[m+0+64]=Te+Xe+1>>1,i[m+1+0]=Ea(Z,ue,Te),i[m+3+0]=i[m+1+32]=Ea(ue,Te,Xe),i[m+3+32]=i[m+1+64]=Ea(Te,Xe,Xe),i[m+3+64]=i[m+2+64]=i[m+0+96]=i[m+1+96]=i[m+2+96]=i[m+3+96]=Xe}function ns(i,m){var Z=i[m-1+0],ue=i[m-1+32],Te=i[m-1+64],Xe=i[m-1+96],tt=i[m-1-32],ut=i[m+0-32],bt=i[m+1-32],Dt=i[m+2-32];i[m+0+0]=i[m+2+32]=Z+tt+1>>1,i[m+0+32]=i[m+2+64]=ue+Z+1>>1,i[m+0+64]=i[m+2+96]=Te+ue+1>>1,i[m+0+96]=Xe+Te+1>>1,i[m+3+0]=Ea(ut,bt,Dt),i[m+2+0]=Ea(tt,ut,bt),i[m+1+0]=i[m+3+32]=Ea(Z,tt,ut),i[m+1+32]=i[m+3+64]=Ea(ue,Z,tt),i[m+1+64]=i[m+3+96]=Ea(Te,ue,Z),i[m+1+96]=Ea(Xe,Te,ue)}function Zi(i,m){var Z;for(Z=0;8>Z;++Z)b(i,m+32*Z,i,m-32,8)}function Ni(i,m){var Z;for(Z=0;8>Z;++Z)$(i,m,i[m-1],8),m+=32}function Vi(i,m,Z){var ue;for(ue=0;8>ue;++ue)$(m,Z+32*ue,i,8)}function Gi(i,m){var Z,ue=8;for(Z=0;8>Z;++Z)ue+=i[m+Z-32]+i[m-1+32*Z];Vi(ue>>4,i,m)}function Os(i,m){var Z,ue=4;for(Z=0;8>Z;++Z)ue+=i[m+Z-32];Vi(ue>>3,i,m)}function Yi(i,m){var Z,ue=4;for(Z=0;8>Z;++Z)ue+=i[m-1+32*Z];Vi(ue>>3,i,m)}function us(i,m){Vi(128,i,m)}function ft(i,m,Z){var ue=i[m-Z],Te=i[m+0],Xe=3*(Te-ue)+m0[1020+i[m-2*Z]-i[m+Z]],tt=qs[112+(Xe+4>>3)];i[m-Z]=Li[255+ue+qs[112+(Xe+3>>3)]],i[m+0]=Li[255+Te-tt]}function Mi(i,m,Z,ue){var Te=i[m+0],Xe=i[m+Z];return Ki[255+i[m-2*Z]-i[m-Z]]>ue||Ki[255+Xe-Te]>ue}function ti(i,m,Z,ue){return 4*Ki[255+i[m-Z]-i[m+0]]+Ki[255+i[m-2*Z]-i[m+Z]]<=ue}function Ti(i,m,Z,ue,Te){var Xe=i[m-3*Z],tt=i[m-2*Z],ut=i[m-Z],bt=i[m+0],Dt=i[m+Z],hr=i[m+2*Z],Br=i[m+3*Z];return 4*Ki[255+ut-bt]+Ki[255+tt-Dt]>ue?0:Ki[255+i[m-4*Z]-Xe]<=Te&&Ki[255+Xe-tt]<=Te&&Ki[255+tt-ut]<=Te&&Ki[255+Br-hr]<=Te&&Ki[255+hr-Dt]<=Te&&Ki[255+Dt-bt]<=Te}function as(i,m,Z,ue){var Te=2*ue+1;for(ue=0;16>ue;++ue)ti(i,m+ue,Z,Te)&&ft(i,m+ue,Z)}function Bi(i,m,Z,ue){var Te=2*ue+1;for(ue=0;16>ue;++ue)ti(i,m+ue*Z,1,Te)&&ft(i,m+ue*Z,1)}function os(i,m,Z,ue){var Te;for(Te=3;0<Te;--Te)as(i,m+=4*Z,Z,ue)}function is(i,m,Z,ue){var Te;for(Te=3;0<Te;--Te)Bi(i,m+=4,Z,ue)}function Jo(i,m,Z,ue,Te,Xe,tt,ut){for(Xe=2*Xe+1;0<Te--;){if(Ti(i,m,Z,Xe,tt))if(Mi(i,m,Z,ut))ft(i,m,Z);else{var bt=i,Dt=m,hr=Z,Br=bt[Dt-2*hr],Rt=bt[Dt-hr],gr=bt[Dt+0],Er=bt[Dt+hr],Xr=bt[Dt+2*hr],Nr=27*(en=m0[1020+3*(gr-Rt)+m0[1020+Br-Er]])+63>>7,_r=18*en+63>>7,en=9*en+63>>7;bt[Dt-3*hr]=Li[255+bt[Dt-3*hr]+en],bt[Dt-2*hr]=Li[255+Br+_r],bt[Dt-hr]=Li[255+Rt+Nr],bt[Dt+0]=Li[255+gr-Nr],bt[Dt+hr]=Li[255+Er-_r],bt[Dt+2*hr]=Li[255+Xr-en]}m+=ue}}function gi(i,m,Z,ue,Te,Xe,tt,ut){for(Xe=2*Xe+1;0<Te--;){if(Ti(i,m,Z,Xe,tt))if(Mi(i,m,Z,ut))ft(i,m,Z);else{var bt=i,Dt=m,hr=Z,Br=bt[Dt-hr],Rt=bt[Dt+0],gr=bt[Dt+hr],Er=qs[112+(4+(Xr=3*(Rt-Br))>>3)],Xr=qs[112+(Xr+3>>3)],Nr=Er+1>>1;bt[Dt-2*hr]=Li[255+bt[Dt-2*hr]+Nr],bt[Dt-hr]=Li[255+Br+Xr],bt[Dt+0]=Li[255+Rt-Er],bt[Dt+hr]=Li[255+gr-Nr]}m+=ue}}function M(i,m,Z,ue,Te,Xe){Jo(i,m,Z,1,16,ue,Te,Xe)}function je(i,m,Z,ue,Te,Xe){Jo(i,m,1,Z,16,ue,Te,Xe)}function zt(i,m,Z,ue,Te,Xe){var tt;for(tt=3;0<tt;--tt)gi(i,m+=4*Z,Z,1,16,ue,Te,Xe)}function tr(i,m,Z,ue,Te,Xe){var tt;for(tt=3;0<tt;--tt)gi(i,m+=4,1,Z,16,ue,Te,Xe)}function wr(i,m,Z,ue,Te,Xe,tt,ut){Jo(i,m,Te,1,8,Xe,tt,ut),Jo(Z,ue,Te,1,8,Xe,tt,ut)}function Kr(i,m,Z,ue,Te,Xe,tt,ut){Jo(i,m,1,Te,8,Xe,tt,ut),Jo(Z,ue,1,Te,8,Xe,tt,ut)}function cn(i,m,Z,ue,Te,Xe,tt,ut){gi(i,m+4*Te,Te,1,8,Xe,tt,ut),gi(Z,ue+4*Te,Te,1,8,Xe,tt,ut)}function Jn(i,m,Z,ue,Te,Xe,tt,ut){gi(i,m+4,1,Te,8,Xe,tt,ut),gi(Z,ue+4,1,Te,8,Xe,tt,ut)}function ta(){this.ba=new Cn,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new ma,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function $a(){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 Ta(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function ro(){this.ua=0,this.Wa=new ha,this.vb=new ha,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new dr,this.yc=new At}function ie(){this.xb=this.a=0,this.l=new ja,this.ca=new Cn,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new yt,this.Pb=0,this.wd=new yt,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new ro,this.ab=0,this.gc=B(4,Ta),this.Oc=0}function r(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new ja,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function o(i,m,Z,ue,Te,Xe,tt){for(i=i==null?0:i[m+0],m=0;m<tt;++m)Te[Xe+m]=i+Z[ue+m]&255,i=Te[Xe+m]}function l(i,m,Z,ue,Te,Xe,tt){var ut;if(i==null)o(null,null,Z,ue,Te,Xe,tt);else for(ut=0;ut<tt;++ut)Te[Xe+ut]=i[m+ut]+Z[ue+ut]&255}function g(i,m,Z,ue,Te,Xe,tt){if(i==null)o(null,null,Z,ue,Te,Xe,tt);else{var ut,bt=i[m+0],Dt=bt,hr=bt;for(ut=0;ut<tt;++ut)Dt=hr+(bt=i[m+ut])-Dt,hr=Z[ue+ut]+(-256&Dt?0>Dt?0:255:Dt)&255,Dt=bt,Te[Xe+ut]=hr}}function W(i,m,Z,ue){var Te=m.width,Xe=m.o;if(s(i!=null&&m!=null),0>Z||0>=ue||Z+ue>Xe)return null;if(!i.Cc){if(i.ga==null){var tt;if(i.ga=new r,(tt=i.ga==null)||(tt=m.width*m.o,s(i.Gb.length==0),i.Gb=v(tt),i.Uc=0,i.Gb==null?tt=0:(i.mb=i.Gb,i.nb=i.Uc,i.rc=null,tt=1),tt=!tt),!tt){tt=i.ga;var ut=i.Fa,bt=i.P,Dt=i.qc,hr=i.mb,Br=i.nb,Rt=bt+1,gr=Dt-1,Er=tt.l;if(s(ut!=null&&hr!=null&&m!=null),$s[0]=null,$s[1]=o,$s[2]=l,$s[3]=g,tt.ca=hr,tt.tb=Br,tt.c=m.width,tt.i=m.height,s(0<tt.c&&0<tt.i),1>=Dt)m=0;else if(tt.$a=3&ut[bt+0],tt.Z=ut[bt+0]>>2&3,tt.Lc=ut[bt+0]>>4&3,bt=ut[bt+0]>>6&3,0>tt.$a||1<tt.$a||4<=tt.Z||1<tt.Lc||bt)m=0;else if(Er.put=pa,Er.ac=go,Er.bc=No,Er.ma=tt,Er.width=m.width,Er.height=m.height,Er.Da=m.Da,Er.v=m.v,Er.va=m.va,Er.j=m.j,Er.o=m.o,tt.$a)e:{s(tt.$a==1),m=La();t:for(;;){if(m==null){m=0;break e}if(s(tt!=null),tt.mc=m,m.c=tt.c,m.i=tt.i,m.l=tt.l,m.l.ma=tt,m.l.width=tt.c,m.l.height=tt.i,m.a=0,ir(m.m,ut,Rt,gr),!Ko(tt.c,tt.i,1,m,null)||(m.ab==1&&m.gc[0].hc==3&&Ja(m.s)?(tt.ic=1,ut=m.c*m.i,m.Ta=null,m.Ua=0,m.V=v(ut),m.Ba=0,m.V==null?(m.a=1,m=0):m=1):(tt.ic=0,m=vo(m,tt.c)),!m))break t;m=1;break e}tt.mc=null,m=0}else m=gr>=tt.c*tt.i;tt=!m}if(tt)return null;i.ga.Lc!=1?i.Ga=0:ue=Xe-Z}s(i.ga!=null),s(Z+ue<=Xe);e:{if(m=(ut=i.ga).c,Xe=ut.l.o,ut.$a==0){if(Rt=i.rc,gr=i.Vc,Er=i.Fa,bt=i.P+1+Z*m,Dt=i.mb,hr=i.nb+Z*m,s(bt<=i.P+i.qc),ut.Z!=0)for(s($s[ut.Z]!=null),tt=0;tt<ue;++tt)$s[ut.Z](Rt,gr,Er,bt,Dt,hr,m),Rt=Dt,gr=hr,hr+=m,bt+=m;else for(tt=0;tt<ue;++tt)b(Dt,hr,Er,bt,m),Rt=Dt,gr=hr,hr+=m,bt+=m;i.rc=Rt,i.Vc=gr}else{if(s(ut.mc!=null),m=Z+ue,s((tt=ut.mc)!=null),s(m<=tt.i),tt.C>=m)m=1;else if(ut.ic||ar(),ut.ic){ut=tt.V,Rt=tt.Ba,gr=tt.c;var Xr=tt.i,Nr=(Er=1,bt=tt.$/gr,Dt=tt.$%gr,hr=tt.m,Br=tt.s,tt.$),_r=gr*Xr,en=gr*m,bn=Br.wc,fn=Nr<en?ba(Br,Dt,bt):null;s(Nr<=_r),s(m<=Xr),s(Ja(Br));t:for(;;){for(;!hr.h&&Nr<en;){if(Dt&bn||(fn=ba(Br,Dt,bt)),s(fn!=null),lr(hr),256>(Xr=Da(fn.G[0],fn.H[0],hr)))ut[Rt+Nr]=Xr,++Nr,++Dt>=gr&&(Dt=0,++bt<=m&&!(bt%16)&&ho(tt,bt));else{if(!(280>Xr)){Er=0;break t}Xr=za(Xr-256,hr);var Sa,sa=Da(fn.G[4],fn.H[4],hr);if(lr(hr),!(Nr>=(sa=Ma(gr,sa=za(sa,hr)))&&_r-Nr>=Xr)){Er=0;break t}for(Sa=0;Sa<Xr;++Sa)ut[Rt+Nr+Sa]=ut[Rt+Nr+Sa-sa];for(Nr+=Xr,Dt+=Xr;Dt>=gr;)Dt-=gr,++bt<=m&&!(bt%16)&&ho(tt,bt);Nr<en&&Dt&bn&&(fn=ba(Br,Dt,bt))}s(hr.h==ht(hr))}ho(tt,bt>m?m:bt);break t}!Er||hr.h&&Nr<_r?(Er=0,tt.a=hr.h?5:3):tt.$=Nr,m=Er}else m=Mo(tt,tt.V,tt.Ba,tt.c,tt.i,m,Lo);if(!m){ue=0;break e}}Z+ue>=Xe&&(i.Cc=1),ue=1}if(!ue)return null;if(i.Cc&&((ue=i.ga)!=null&&(ue.mc=null),i.ga=null,0<i.Ga))return alert("todo:WebPDequantizeLevels"),null}return i.nb+Z*Te}function fe(i,m,Z,ue,Te,Xe){for(;0<Te--;){var tt,ut=i,bt=m+(Z?1:0),Dt=i,hr=m+(Z?0:3);for(tt=0;tt<ue;++tt){var Br=Dt[hr+4*tt];Br!=255&&(Br*=32897,ut[bt+4*tt+0]=ut[bt+4*tt+0]*Br>>23,ut[bt+4*tt+1]=ut[bt+4*tt+1]*Br>>23,ut[bt+4*tt+2]=ut[bt+4*tt+2]*Br>>23)}m+=Xe}}function We(i,m,Z,ue,Te){for(;0<ue--;){var Xe;for(Xe=0;Xe<Z;++Xe){var tt=i[m+2*Xe+0],ut=15&(Dt=i[m+2*Xe+1]),bt=4369*ut,Dt=(240&Dt|Dt>>4)*bt>>16;i[m+2*Xe+0]=(240&tt|tt>>4)*bt>>16&240|(15&tt|tt<<4)*bt>>16>>4&15,i[m+2*Xe+1]=240&Dt|ut}m+=Te}}function it(i,m,Z,ue,Te,Xe,tt,ut){var bt,Dt,hr=255;for(Dt=0;Dt<Te;++Dt){for(bt=0;bt<ue;++bt){var Br=i[m+bt];Xe[tt+4*bt]=Br,hr&=Br}m+=Z,tt+=ut}return hr!=255}function Mt(i,m,Z,ue,Te){var Xe;for(Xe=0;Xe<Te;++Xe)Z[ue+Xe]=i[m+Xe]>>8}function ar(){Es=fe,ks=We,Ls=it,zs=Mt}function yr(i,m,Z){$t[i]=function(ue,Te,Xe,tt,ut,bt,Dt,hr,Br,Rt,gr,Er,Xr,Nr,_r,en,bn){var fn,Sa=bn-1>>1,sa=ut[bt+0]|Dt[hr+0]<<16,Za=Br[Rt+0]|gr[Er+0]<<16;s(ue!=null);var ga=3*sa+Za+131074>>2;for(m(ue[Te+0],255&ga,ga>>16,Xr,Nr),Xe!=null&&(ga=3*Za+sa+131074>>2,m(Xe[tt+0],255&ga,ga>>16,_r,en)),fn=1;fn<=Sa;++fn){var to=ut[bt+fn]|Dt[hr+fn]<<16,qo=Br[Rt+fn]|gr[Er+fn]<<16,Va=sa+to+Za+qo+524296,va=Va+2*(to+Za)>>3;ga=va+sa>>1,sa=(Va=Va+2*(sa+qo)>>3)+to>>1,m(ue[Te+2*fn-1],255&ga,ga>>16,Xr,Nr+(2*fn-1)*Z),m(ue[Te+2*fn-0],255&sa,sa>>16,Xr,Nr+(2*fn-0)*Z),Xe!=null&&(ga=Va+Za>>1,sa=va+qo>>1,m(Xe[tt+2*fn-1],255&ga,ga>>16,_r,en+(2*fn-1)*Z),m(Xe[tt+2*fn+0],255&sa,sa>>16,_r,en+(2*fn+0)*Z)),sa=to,Za=qo}1&bn||(ga=3*sa+Za+131074>>2,m(ue[Te+bn-1],255&ga,ga>>16,Xr,Nr+(bn-1)*Z),Xe!=null&&(ga=3*Za+sa+131074>>2,m(Xe[tt+bn-1],255&ga,ga>>16,_r,en+(bn-1)*Z)))}}function kr(){Xi[Qs]=Cl,Xi[e0]=W0,Xi[D0]=Ol,Xi[t0]=U0,Xi[r0]=Z0,Xi[p0]=V0,Xi[R0]=El,Xi[g0]=W0,Xi[v0]=U0,Xi[n0]=Z0,Xi[b0]=V0}function rn(i){return i&~Il?0>i?0:255:i>>G0}function hn(i,m){return rn((19077*i>>8)+(26149*m>>8)-14234)}function pn(i,m,Z){return rn((19077*i>>8)-(6419*m>>8)-(13320*Z>>8)+8708)}function Un(i,m){return rn((19077*i>>8)+(33050*m>>8)-17685)}function wa(i,m,Z,ue,Te){ue[Te+0]=hn(i,Z),ue[Te+1]=pn(i,m,Z),ue[Te+2]=Un(i,m)}function Aa(i,m,Z,ue,Te){ue[Te+0]=Un(i,m),ue[Te+1]=pn(i,m,Z),ue[Te+2]=hn(i,Z)}function u(i,m,Z,ue,Te){var Xe=pn(i,m,Z);m=Xe<<3&224|Un(i,m)>>3,ue[Te+0]=248&hn(i,Z)|Xe>>5,ue[Te+1]=m}function e(i,m,Z,ue,Te){var Xe=240&Un(i,m)|15;ue[Te+0]=240&hn(i,Z)|pn(i,m,Z)>>4,ue[Te+1]=Xe}function t(i,m,Z,ue,Te){ue[Te+0]=255,wa(i,m,Z,ue,Te+1)}function d(i,m,Z,ue,Te){Aa(i,m,Z,ue,Te),ue[Te+3]=255}function O(i,m,Z,ue,Te){wa(i,m,Z,ue,Te),ue[Te+3]=255}function K(i,m){return 0>i?0:i>m?m:i}function Oe(i,m,Z){$t[i]=function(ue,Te,Xe,tt,ut,bt,Dt,hr,Br){for(var Rt=hr+(-2&Br)*Z;hr!=Rt;)m(ue[Te+0],Xe[tt+0],ut[bt+0],Dt,hr),m(ue[Te+1],Xe[tt+0],ut[bt+0],Dt,hr+Z),Te+=2,++tt,++bt,hr+=2*Z;1&Br&&m(ue[Te+0],Xe[tt+0],ut[bt+0],Dt,hr)}}function Ke(i,m,Z){return Z==0?i==0?m==0?6:5:m==0?4:0:Z}function Ye(i,m,Z,ue,Te){switch(i>>>30){case 3:Po(m,Z,ue,Te,0);break;case 2:ni(m,Z,ue,Te);break;case 1:To(m,Z,ue,Te)}}function Xt(i,m){var Z,ue,Te=m.M,Xe=m.Nb,tt=i.oc,ut=i.pc+40,bt=i.oc,Dt=i.pc+584,hr=i.oc,Br=i.pc+600;for(Z=0;16>Z;++Z)tt[ut+32*Z-1]=129;for(Z=0;8>Z;++Z)bt[Dt+32*Z-1]=129,hr[Br+32*Z-1]=129;for(0<Te?tt[ut-1-32]=bt[Dt-1-32]=hr[Br-1-32]=129:($(tt,ut-32-1,127,21),$(bt,Dt-32-1,127,9),$(hr,Br-32-1,127,9)),ue=0;ue<i.za;++ue){var Rt=m.ya[m.aa+ue];if(0<ue){for(Z=-1;16>Z;++Z)b(tt,ut+32*Z-4,tt,ut+32*Z+12,4);for(Z=-1;8>Z;++Z)b(bt,Dt+32*Z-4,bt,Dt+32*Z+4,4),b(hr,Br+32*Z-4,hr,Br+32*Z+4,4)}var gr=i.Gd,Er=i.Hd+ue,Xr=Rt.ad,Nr=Rt.Hc;if(0<Te&&(b(tt,ut-32,gr[Er].y,0,16),b(bt,Dt-32,gr[Er].f,0,8),b(hr,Br-32,gr[Er].ea,0,8)),Rt.Za){var _r=tt,en=ut-32+16;for(0<Te&&(ue>=i.za-1?$(_r,en,gr[Er].y[15],4):b(_r,en,gr[Er+1].y,0,4)),Z=0;4>Z;Z++)_r[en+128+Z]=_r[en+256+Z]=_r[en+384+Z]=_r[en+0+Z];for(Z=0;16>Z;++Z,Nr<<=2)_r=tt,en=ut+X0[Z],qi[Rt.Ob[Z]](_r,en),Ye(Nr,Xr,16*+Z,_r,en)}else if(_r=Ke(ue,Te,Rt.Ob[0]),Is[_r](tt,ut),Nr!=0)for(Z=0;16>Z;++Z,Nr<<=2)Ye(Nr,Xr,16*+Z,tt,ut+X0[Z]);for(Z=Rt.Gc,_r=Ke(ue,Te,Rt.Dd),ms[_r](bt,Dt),ms[_r](hr,Br),Nr=Xr,_r=bt,en=Dt,255&(Rt=0|Z)&&(170&Rt?vi(Nr,256,_r,en):Ji(Nr,256,_r,en)),Rt=hr,Nr=Br,255&(Z>>=8)&&(170&Z?vi(Xr,320,Rt,Nr):Ji(Xr,320,Rt,Nr)),Te<i.Ub-1&&(b(gr[Er].y,0,tt,ut+480,16),b(gr[Er].f,0,bt,Dt+224,8),b(gr[Er].ea,0,hr,Br+224,8)),Z=8*Xe*i.B,gr=i.sa,Er=i.ta+16*ue+16*Xe*i.R,Xr=i.qa,Rt=i.ra+8*ue+Z,Nr=i.Ha,_r=i.Ia+8*ue+Z,Z=0;16>Z;++Z)b(gr,Er+Z*i.R,tt,ut+32*Z,16);for(Z=0;8>Z;++Z)b(Xr,Rt+Z*i.B,bt,Dt+32*Z,8),b(Nr,_r+Z*i.B,hr,Br+32*Z,8)}}function ur(i,m,Z,ue,Te,Xe,tt,ut,bt){var Dt=[0],hr=[0],Br=0,Rt=bt!=null?bt.kd:0,gr=bt!=null?bt:new $a;if(i==null||12>Z)return 7;gr.data=i,gr.w=m,gr.ha=Z,m=[m],Z=[Z],gr.gb=[gr.gb];e:{var Er=m,Xr=Z,Nr=gr.gb;if(s(i!=null),s(Xr!=null),s(Nr!=null),Nr[0]=0,12<=Xr[0]&&!p(i,Er[0],"RIFF")){if(p(i,Er[0]+8,"WEBP")){Nr=3;break e}var _r=Mr(i,Er[0]+4);if(12>_r||4294967286<_r){Nr=3;break e}if(Rt&&_r>Xr[0]-8){Nr=7;break e}Nr[0]=_r,Er[0]+=12,Xr[0]-=12}Nr=0}if(Nr!=0)return Nr;for(_r=0<gr.gb[0],Z=Z[0];;){e:{var en=i;Xr=m,Nr=Z;var bn=Dt,fn=hr,Sa=Er=[0];if((ga=Br=[Br])[0]=0,8>Nr[0])Nr=7;else{if(!p(en,Xr[0],"VP8X")){if(Mr(en,Xr[0]+4)!=10){Nr=3;break e}if(18>Nr[0]){Nr=7;break e}var sa=Mr(en,Xr[0]+8),Za=1+wn(en,Xr[0]+12);if(2147483648<=Za*(en=1+wn(en,Xr[0]+15))){Nr=3;break e}Sa!=null&&(Sa[0]=sa),bn!=null&&(bn[0]=Za),fn!=null&&(fn[0]=en),Xr[0]+=18,Nr[0]-=18,ga[0]=1}Nr=0}}if(Br=Br[0],Er=Er[0],Nr!=0)return Nr;if(Xr=!!(2&Er),!_r&&Br)return 3;if(Xe!=null&&(Xe[0]=!!(16&Er)),tt!=null&&(tt[0]=Xr),ut!=null&&(ut[0]=0),tt=Dt[0],Er=hr[0],Br&&Xr&&bt==null){Nr=0;break}if(4>Z){Nr=7;break}if(_r&&Br||!_r&&!Br&&!p(i,m[0],"ALPH")){Z=[Z],gr.na=[gr.na],gr.P=[gr.P],gr.Sa=[gr.Sa];e:{sa=i,Nr=m,_r=Z;var ga=gr.gb;bn=gr.na,fn=gr.P,Sa=gr.Sa,Za=22,s(sa!=null),s(_r!=null),en=Nr[0];var to=_r[0];for(s(bn!=null),s(Sa!=null),bn[0]=null,fn[0]=null,Sa[0]=0;;){if(Nr[0]=en,_r[0]=to,8>to){Nr=7;break e}var qo=Mr(sa,en+4);if(4294967286<qo){Nr=3;break e}var Va=8+qo+1&-2;if(Za+=Va,0<ga&&Za>ga){Nr=3;break e}if(!p(sa,en,"VP8 ")||!p(sa,en,"VP8L")){Nr=0;break e}if(to[0]<Va){Nr=7;break e}p(sa,en,"ALPH")||(bn[0]=sa,fn[0]=en+8,Sa[0]=qo),en+=Va,to-=Va}}if(Z=Z[0],gr.na=gr.na[0],gr.P=gr.P[0],gr.Sa=gr.Sa[0],Nr!=0)break}Z=[Z],gr.Ja=[gr.Ja],gr.xa=[gr.xa];e:if(ga=i,Nr=m,_r=Z,bn=gr.gb[0],fn=gr.Ja,Sa=gr.xa,sa=Nr[0],en=!p(ga,sa,"VP8 "),Za=!p(ga,sa,"VP8L"),s(ga!=null),s(_r!=null),s(fn!=null),s(Sa!=null),8>_r[0])Nr=7;else{if(en||Za){if(ga=Mr(ga,sa+4),12<=bn&&ga>bn-12){Nr=3;break e}if(Rt&&ga>_r[0]-8){Nr=7;break e}fn[0]=ga,Nr[0]+=8,_r[0]-=8,Sa[0]=Za}else Sa[0]=5<=_r[0]&&ga[sa+0]==47&&!(ga[sa+4]>>5),fn[0]=_r[0];Nr=0}if(Z=Z[0],gr.Ja=gr.Ja[0],gr.xa=gr.xa[0],m=m[0],Nr!=0)break;if(4294967286<gr.Ja)return 3;if(ut==null||Xr||(ut[0]=gr.xa?2:1),tt=[tt],Er=[Er],gr.xa){if(5>Z){Nr=7;break}ut=tt,Rt=Er,Xr=Xe,i==null||5>Z?i=0:5<=Z&&i[m+0]==47&&!(i[m+4]>>5)?(_r=[0],ga=[0],bn=[0],ir(fn=new yt,i,m,Z),Na(fn,_r,ga,bn)?(ut!=null&&(ut[0]=_r[0]),Rt!=null&&(Rt[0]=ga[0]),Xr!=null&&(Xr[0]=bn[0]),i=1):i=0):i=0}else{if(10>Z){Nr=7;break}ut=Er,i==null||10>Z||!zo(i,m+3,Z-3)?i=0:(Rt=i[m+0]|i[m+1]<<8|i[m+2]<<16,Xr=16383&(i[m+7]<<8|i[m+6]),i=16383&(i[m+9]<<8|i[m+8]),1&Rt||3<(Rt>>1&7)||!(Rt>>4&1)||Rt>>5>=gr.Ja||!Xr||!i?i=0:(tt&&(tt[0]=Xr),ut&&(ut[0]=i),i=1))}if(!i||(tt=tt[0],Er=Er[0],Br&&(Dt[0]!=tt||hr[0]!=Er)))return 3;bt!=null&&(bt[0]=gr,bt.offset=m-bt.w,s(4294967286>m-bt.w),s(bt.offset==bt.ha-Z));break}return Nr==0||Nr==7&&Br&&bt==null?(Xe!=null&&(Xe[0]|=gr.na!=null&&0<gr.na.length),ue!=null&&(ue[0]=tt),Te!=null&&(Te[0]=Er),0):Nr}function pr(i,m,Z){var ue=m.width,Te=m.height,Xe=0,tt=0,ut=ue,bt=Te;if(m.Da=i!=null&&0<i.Da,m.Da&&(ut=i.cd,bt=i.bd,Xe=i.v,tt=i.j,11>Z||(Xe&=-2,tt&=-2),0>Xe||0>tt||0>=ut||0>=bt||Xe+ut>ue||tt+bt>Te))return 0;if(m.v=Xe,m.j=tt,m.va=Xe+ut,m.o=tt+bt,m.U=ut,m.T=bt,m.da=i!=null&&0<i.da,m.da){if(!Wn(ut,bt,Z=[i.ib],Xe=[i.hb]))return 0;m.ib=Z[0],m.hb=Xe[0]}return m.ob=i!=null&&i.ob,m.Kb=i==null||!i.Sd,m.da&&(m.ob=m.ib<3*ue/4&&m.hb<3*Te/4,m.Kb=0),1}function Tr(i){if(i==null)return 2;if(11>i.S){var m=i.f.RGBA;m.fb+=(i.height-1)*m.A,m.A=-m.A}else m=i.f.kb,i=i.height,m.O+=(i-1)*m.fa,m.fa=-m.fa,m.N+=(i-1>>1)*m.Ab,m.Ab=-m.Ab,m.W+=(i-1>>1)*m.Db,m.Db=-m.Db,m.F!=null&&(m.J+=(i-1)*m.lb,m.lb=-m.lb);return 0}function Wr(i,m,Z,ue){if(ue==null||0>=i||0>=m)return 2;if(Z!=null){if(Z.Da){var Te=Z.cd,Xe=Z.bd,tt=-2&Z.v,ut=-2&Z.j;if(0>tt||0>ut||0>=Te||0>=Xe||tt+Te>i||ut+Xe>m)return 2;i=Te,m=Xe}if(Z.da){if(!Wn(i,m,Te=[Z.ib],Xe=[Z.hb]))return 2;i=Te[0],m=Xe[0]}}ue.width=i,ue.height=m;e:{var bt=ue.width,Dt=ue.height;if(i=ue.S,0>=bt||0>=Dt||!(i>=Qs&&13>i))i=2;else{if(0>=ue.Rd&&ue.sd==null){tt=Xe=Te=m=0;var hr=(ut=bt*_0[i])*Dt;if(11>i||(Xe=(Dt+1)/2*(m=(bt+1)/2),i==12&&(tt=(Te=bt)*Dt)),(Dt=v(hr+2*Xe+tt))==null){i=1;break e}ue.sd=Dt,11>i?((bt=ue.f.RGBA).eb=Dt,bt.fb=0,bt.A=ut,bt.size=hr):((bt=ue.f.kb).y=Dt,bt.O=0,bt.fa=ut,bt.Fd=hr,bt.f=Dt,bt.N=0+hr,bt.Ab=m,bt.Cd=Xe,bt.ea=Dt,bt.W=0+hr+Xe,bt.Db=m,bt.Ed=Xe,i==12&&(bt.F=Dt,bt.J=0+hr+2*Xe),bt.Tc=tt,bt.lb=Te)}if(m=1,Te=ue.S,Xe=ue.width,tt=ue.height,Te>=Qs&&13>Te)if(11>Te)i=ue.f.RGBA,m&=(ut=Math.abs(i.A))*(tt-1)+Xe<=i.size,m&=ut>=Xe*_0[Te],m&=i.eb!=null;else{i=ue.f.kb,ut=(Xe+1)/2,hr=(tt+1)/2,bt=Math.abs(i.fa),Dt=Math.abs(i.Ab);var Br=Math.abs(i.Db),Rt=Math.abs(i.lb),gr=Rt*(tt-1)+Xe;m&=bt*(tt-1)+Xe<=i.Fd,m&=Dt*(hr-1)+ut<=i.Cd,m=(m&=Br*(hr-1)+ut<=i.Ed)&bt>=Xe&Dt>=ut&Br>=ut,m&=i.y!=null,m&=i.f!=null,m&=i.ea!=null,Te==12&&(m&=Rt>=Xe,m&=gr<=i.Tc,m&=i.F!=null)}else m=0;i=m?0:2}}return i!=0||Z!=null&&Z.fd&&(i=Tr(ue)),i}var ln=64,In=[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],Hn=24,Nn=32,Fn=8,Oa=[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];Gr("Predictor0","PredictorAdd0"),$t.Predictor0=function(){return 4278190080},$t.Predictor1=function(i){return i},$t.Predictor2=function(i,m,Z){return m[Z+0]},$t.Predictor3=function(i,m,Z){return m[Z+1]},$t.Predictor4=function(i,m,Z){return m[Z-1]},$t.Predictor5=function(i,m,Z){return Gn(Gn(i,m[Z+1]),m[Z+0])},$t.Predictor6=function(i,m,Z){return Gn(i,m[Z-1])},$t.Predictor7=function(i,m,Z){return Gn(i,m[Z+0])},$t.Predictor8=function(i,m,Z){return Gn(m[Z-1],m[Z+0])},$t.Predictor9=function(i,m,Z){return Gn(m[Z+0],m[Z+1])},$t.Predictor10=function(i,m,Z){return Gn(Gn(i,m[Z-1]),Gn(m[Z+0],m[Z+1]))},$t.Predictor11=function(i,m,Z){var ue=m[Z+0];return 0>=ca(ue>>24&255,i>>24&255,(m=m[Z-1])>>24&255)+ca(ue>>16&255,i>>16&255,m>>16&255)+ca(ue>>8&255,i>>8&255,m>>8&255)+ca(255&ue,255&i,255&m)?ue:i},$t.Predictor12=function(i,m,Z){var ue=m[Z+0];return(xa((i>>24&255)+(ue>>24&255)-((m=m[Z-1])>>24&255))<<24|xa((i>>16&255)+(ue>>16&255)-(m>>16&255))<<16|xa((i>>8&255)+(ue>>8&255)-(m>>8&255))<<8|xa((255&i)+(255&ue)-(255&m)))>>>0},$t.Predictor13=function(i,m,Z){var ue=m[Z-1];return(_n((i=Gn(i,m[Z+0]))>>24&255,ue>>24&255)<<24|_n(i>>16&255,ue>>16&255)<<16|_n(i>>8&255,ue>>8&255)<<8|_n(255&i,255&ue))>>>0};var Ba=$t.PredictorAdd0;$t.PredictorAdd1=Ra,Gr("Predictor2","PredictorAdd2"),Gr("Predictor3","PredictorAdd3"),Gr("Predictor4","PredictorAdd4"),Gr("Predictor5","PredictorAdd5"),Gr("Predictor6","PredictorAdd6"),Gr("Predictor7","PredictorAdd7"),Gr("Predictor8","PredictorAdd8"),Gr("Predictor9","PredictorAdd9"),Gr("Predictor10","PredictorAdd10"),Gr("Predictor11","PredictorAdd11"),Gr("Predictor12","PredictorAdd12"),Gr("Predictor13","PredictorAdd13");var Ia=$t.PredictorAdd2;Rn("ColorIndexInverseTransform","MapARGB","32b",function(i){return i>>8&255},function(i){return i}),Rn("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(i){return i},function(i){return i>>8&255});var Ka,Ga=$t.ColorIndexInverseTransform,fo=$t.MapARGB,Xa=$t.VP8LColorIndexInverseTransformAlpha,Go=$t.MapAlpha,$o=$t.VP8LPredictorsAdd=[];$o.length=16,($t.VP8LPredictors=[]).length=16,($t.VP8LPredictorsAdd_C=[]).length=16,($t.VP8LPredictors_C=[]).length=16;var mo,ri,So,Ro,eo,lo,wo,Po,ni,vi,To,Ji,Rs,ds,Ws,hs,fs,Ts,Bs,_s,Ys,Js,Fs,Us,Es,ks,Ls,zs,M0=v(511),T0=v(2041),B0=v(225),L0=v(767),z0=0,m0=T0,qs=B0,Li=L0,Ki=M0,Qs=0,e0=1,D0=2,t0=3,r0=4,p0=5,R0=6,g0=7,v0=8,n0=9,b0=10,cl=[2,3,7],ul=[3,3,11],F0=[280,256,256,256,40],dl=[0,1,1,1,0],hl=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],fl=[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],ml=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],pl=8,y0=[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],x0=[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],Zs=null,gl=[[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]],vl=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],k0=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],bl=[[[[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]]]],yl=[[[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]]],xl=[[[[255,255,255,255,255,255,255,255,255,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]]]],Sl=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Is=[],qi=[],ms=[],wl=1,H0=2,$s=[],Xi=[];yr("UpsampleRgbLinePair",wa,3),yr("UpsampleBgrLinePair",Aa,3),yr("UpsampleRgbaLinePair",O,4),yr("UpsampleBgraLinePair",d,4),yr("UpsampleArgbLinePair",t,4),yr("UpsampleRgba4444LinePair",e,2),yr("UpsampleRgb565LinePair",u,2);var Cl=$t.UpsampleRgbLinePair,Ol=$t.UpsampleBgrLinePair,W0=$t.UpsampleRgbaLinePair,U0=$t.UpsampleBgraLinePair,Z0=$t.UpsampleArgbLinePair,V0=$t.UpsampleRgba4444LinePair,El=$t.UpsampleRgb565LinePair,a0=16,o0=1<<a0-1,Vs=-227,S0=482,G0=6,Il=(256<<G0)-1,K0=0,$l=v(256),Al=v(256),Pl=v(256),jl=v(256),Nl=v(S0-Vs),Ml=v(S0-Vs);Oe("YuvToRgbRow",wa,3),Oe("YuvToBgrRow",Aa,3),Oe("YuvToRgbaRow",O,4),Oe("YuvToBgraRow",d,4),Oe("YuvToArgbRow",t,4),Oe("YuvToRgba4444Row",e,2),Oe("YuvToRgb565Row",u,2);var X0=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],i0=[0,2,8],Tl=[8,7,6,4,4,2,2,2,1,1,1,1],Bl=1;this.WebPDecodeRGBA=function(i,m,Z,ue,Te){var Xe=e0,tt=new ta,ut=new Cn;tt.ba=ut,ut.S=Xe,ut.width=[ut.width],ut.height=[ut.height];var bt=ut.width,Dt=ut.height,hr=new jn;if(hr==null||i==null)var Br=2;else s(hr!=null),Br=ur(i,m,Z,hr.width,hr.height,hr.Pd,hr.Qd,hr.format,null);if(Br!=0?bt=0:(bt!=null&&(bt[0]=hr.width[0]),Dt!=null&&(Dt[0]=hr.height[0]),bt=1),bt){ut.width=ut.width[0],ut.height=ut.height[0],ue!=null&&(ue[0]=ut.width),Te!=null&&(Te[0]=ut.height);e:{if(ue=new ja,(Te=new $a).data=i,Te.w=m,Te.ha=Z,Te.kd=1,m=[0],s(Te!=null),((i=ur(Te.data,Te.w,Te.ha,null,null,null,m,null,Te))==0||i==7)&&m[0]&&(i=4),(m=i)==0){if(s(tt!=null),ue.data=Te.data,ue.w=Te.w+Te.offset,ue.ha=Te.ha-Te.offset,ue.put=pa,ue.ac=go,ue.bc=No,ue.ma=tt,Te.xa){if((i=La())==null){tt=1;break e}if(function(Rt,gr){var Er=[0],Xr=[0],Nr=[0];t:for(;;){if(Rt==null)return 0;if(gr==null)return Rt.a=2,0;if(Rt.l=gr,Rt.a=0,ir(Rt.m,gr.data,gr.w,gr.ha),!Na(Rt.m,Er,Xr,Nr)){Rt.a=3;break t}if(Rt.xb=H0,gr.width=Er[0],gr.height=Xr[0],!Ko(Er[0],Xr[0],1,Rt,null))break t;return 1}return s(Rt.a!=0),0}(i,ue)){if(ue=(m=Wr(ue.width,ue.height,tt.Oa,tt.ba))==0){t:{ue=i;r:for(;;){if(ue==null){ue=0;break t}if(s(ue.s.yc!=null),s(ue.s.Ya!=null),s(0<ue.s.Wb),s((Z=ue.l)!=null),s((Te=Z.ma)!=null),ue.xb!=0){if(ue.ca=Te.ba,ue.tb=Te.tb,s(ue.ca!=null),!pr(Te.Oa,Z,t0)){ue.a=2;break r}if(!vo(ue,Z.width)||Z.da)break r;if((Z.da||Vn(ue.ca.S))&&ar(),11>ue.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),ue.ca.f.kb.F!=null&&ar()),ue.Pb&&0<ue.s.ua&&ue.s.vb.X==null&&!Lt(ue.s.vb,ue.s.Wa.Xa)){ue.a=1;break r}ue.xb=0}if(!Mo(ue,ue.V,ue.Ba,ue.c,ue.i,Z.o,ka))break r;Te.Dc=ue.Ma,ue=1;break t}s(ue.a!=0),ue=0}ue=!ue}ue&&(m=i.a)}else m=i.a}else{if((i=new bo)==null){tt=1;break e}if(i.Fa=Te.na,i.P=Te.P,i.qc=Te.Sa,Do(i,ue)){if((m=Wr(ue.width,ue.height,tt.Oa,tt.ba))==0){if(i.Aa=0,Z=tt.Oa,s((Te=i)!=null),Z!=null){if(0<(bt=0>(bt=Z.Md)?0:100<bt?255:255*bt/100)){for(Dt=hr=0;4>Dt;++Dt)12>(Br=Te.pb[Dt]).lc&&(Br.ia=bt*Tl[0>Br.lc?0:Br.lc]>>3),hr|=Br.ia;hr&&(alert("todo:VP8InitRandom"),Te.ia=1)}Te.Ga=Z.Id,100<Te.Ga?Te.Ga=100:0>Te.Ga&&(Te.Ga=0)}(function(Rt,gr){if(Rt==null)return 0;if(gr==null)return Ve(Rt,2,"NULL VP8Io parameter in VP8Decode().");if(!Rt.cb&&!Do(Rt,gr))return 0;if(s(Rt.cb),gr.ac==null||gr.ac(gr)){gr.ob&&(Rt.L=0);var Er=i0[Rt.L];if(Rt.L==2?(Rt.yb=0,Rt.zb=0):(Rt.yb=gr.v-Er>>4,Rt.zb=gr.j-Er>>4,0>Rt.yb&&(Rt.yb=0),0>Rt.zb&&(Rt.zb=0)),Rt.Va=gr.o+15+Er>>4,Rt.Hb=gr.va+15+Er>>4,Rt.Hb>Rt.za&&(Rt.Hb=Rt.za),Rt.Va>Rt.Ub&&(Rt.Va=Rt.Ub),0<Rt.L){var Xr=Rt.ed;for(Er=0;4>Er;++Er){var Nr;if(Rt.Qa.Cb){var _r=Rt.Qa.Lb[Er];Rt.Qa.Fb||(_r+=Xr.Tb)}else _r=Xr.Tb;for(Nr=0;1>=Nr;++Nr){var en=Rt.gd[Er][Nr],bn=_r;if(Xr.Pc&&(bn+=Xr.vd[0],Nr&&(bn+=Xr.od[0])),0<(bn=0>bn?0:63<bn?63:bn)){var fn=bn;0<Xr.wb&&(fn=4<Xr.wb?fn>>2:fn>>1)>9-Xr.wb&&(fn=9-Xr.wb),1>fn&&(fn=1),en.dd=fn,en.tc=2*bn+fn,en.ld=40<=bn?2:15<=bn?1:0}else en.tc=0;en.La=Nr}}}Er=0}else Ve(Rt,6,"Frame setup failed"),Er=Rt.a;if(Er=Er==0){if(Er){Rt.$c=0,0<Rt.Aa||(Rt.Ic=Bl);t:{Er=Rt.Ic,Xr=4*(fn=Rt.za);var Sa=32*fn,sa=fn+1,Za=0<Rt.L?fn*(0<Rt.Aa?2:1):0,ga=(Rt.Aa==2?2:1)*fn;if((en=Xr+832+(Nr=3*(16*Er+i0[Rt.L])/2*Sa)+(_r=Rt.Fa!=null&&0<Rt.Fa.length?Rt.Kc.c*Rt.Kc.i:0))!=en)Er=0;else{if(en>Rt.Vb){if(Rt.Vb=0,Rt.Ec=v(en),Rt.Fc=0,Rt.Ec==null){Er=Ve(Rt,1,"no memory during frame initialization.");break t}Rt.Vb=en}en=Rt.Ec,bn=Rt.Fc,Rt.Ac=en,Rt.Bc=bn,bn+=Xr,Rt.Gd=B(Sa,Ai),Rt.Hd=0,Rt.rb=B(sa+1,Hi),Rt.sb=1,Rt.wa=Za?B(Za,Xo):null,Rt.Y=0,Rt.D.Nb=0,Rt.D.wa=Rt.wa,Rt.D.Y=Rt.Y,0<Rt.Aa&&(Rt.D.Y+=fn),s(!0),Rt.oc=en,Rt.pc=bn,bn+=832,Rt.ya=B(ga,Ci),Rt.aa=0,Rt.D.ya=Rt.ya,Rt.D.aa=Rt.aa,Rt.Aa==2&&(Rt.D.aa+=fn),Rt.R=16*fn,Rt.B=8*fn,fn=(Sa=i0[Rt.L])*Rt.R,Sa=Sa/2*Rt.B,Rt.sa=en,Rt.ta=bn+fn,Rt.qa=Rt.sa,Rt.ra=Rt.ta+16*Er*Rt.R+Sa,Rt.Ha=Rt.qa,Rt.Ia=Rt.ra+8*Er*Rt.B+Sa,Rt.$c=0,bn+=Nr,Rt.mb=_r?en:null,Rt.nb=_r?bn:null,s(bn+_r<=Rt.Fc+Rt.Vb),so(Rt),$(Rt.Ac,Rt.Bc,0,Xr),Er=1}}if(Er){if(gr.ka=0,gr.y=Rt.sa,gr.O=Rt.ta,gr.f=Rt.qa,gr.N=Rt.ra,gr.ea=Rt.Ha,gr.Vd=Rt.Ia,gr.fa=Rt.R,gr.Rc=Rt.B,gr.F=null,gr.J=0,!z0){for(Er=-255;255>=Er;++Er)M0[255+Er]=0>Er?-Er:Er;for(Er=-1020;1020>=Er;++Er)T0[1020+Er]=-128>Er?-128:127<Er?127:Er;for(Er=-112;112>=Er;++Er)B0[112+Er]=-16>Er?-16:15<Er?15:Er;for(Er=-255;510>=Er;++Er)L0[255+Er]=0>Er?0:255<Er?255:Er;z0=1}wo=ss,Po=Wi,vi=vs,To=ui,Ji=ts,ni=Pi,Rs=M,ds=je,Ws=wr,hs=Kr,fs=zt,Ts=tr,Bs=cn,_s=Jn,Ys=as,Js=Bi,Fs=os,Us=is,qi[0]=ws,qi[1]=Ui,qi[2]=xs,qi[3]=Ss,qi[4]=_i,qi[5]=pi,qi[6]=li,qi[7]=Ms,qi[8]=ns,qi[9]=Cs,Is[0]=fi,Is[1]=ls,Is[2]=ys,Is[3]=rs,Is[4]=cs,Is[5]=ji,Is[6]=mi,ms[0]=Gi,ms[1]=bs,ms[2]=Zi,ms[3]=Ni,ms[4]=Yi,ms[5]=Os,ms[6]=us,Er=1}else Er=0}Er&&(Er=function(to,qo){for(to.M=0;to.M<to.Va;++to.M){var Va,va=to.Jc[to.M&to.Xb],Dn=to.m,Uo=to;for(Va=0;Va<Uo.za;++Va){var Ha=Dn,no=Uo,jo=no.Ac,oi=no.Bc+4*Va,bi=no.zc,Fo=no.ya[no.aa+Va];if(no.Qa.Bb?Fo.$b=Rr(Ha,no.Pa.jb[0])?2+Rr(Ha,no.Pa.jb[2]):Rr(Ha,no.Pa.jb[1]):Fo.$b=0,no.kc&&(Fo.Ad=Rr(Ha,no.Bd)),Fo.Za=!Rr(Ha,145)+0,Fo.Za){var ci=Fo.Ob,yi=0;for(no=0;4>no;++no){var Qo,co=bi[0+no];for(Qo=0;4>Qo;++Qo){co=yl[jo[oi+Qo]][co];for(var yo=k0[Rr(Ha,co[0])];0<yo;)yo=k0[2*yo+Rr(Ha,co[yo])];co=-yo,jo[oi+Qo]=co}b(ci,yi,jo,oi,4),yi+=4,bi[0+no]=co}}else co=Rr(Ha,156)?Rr(Ha,128)?1:3:Rr(Ha,163)?2:0,Fo.Ob[0]=co,$(jo,oi,co,4),$(bi,0,co,4);Fo.Dd=Rr(Ha,142)?Rr(Ha,114)?Rr(Ha,183)?1:3:2:0}if(Uo.m.Ka)return Ve(to,7,"Premature end-of-partition0 encountered.");for(;to.ja<to.za;++to.ja){if(Uo=va,Ha=(Dn=to).rb[Dn.sb-1],jo=Dn.rb[Dn.sb+Dn.ja],Va=Dn.ya[Dn.aa+Dn.ja],oi=Dn.kc?Va.Ad:0)Ha.la=jo.la=0,Va.Za||(Ha.Na=jo.Na=0),Va.Hc=0,Va.Gc=0,Va.ia=0;else{var ko,xo;if(Ha=jo,jo=Uo,oi=Dn.Pa.Xc,bi=Dn.ya[Dn.aa+Dn.ja],Fo=Dn.pb[bi.$b],no=bi.ad,ci=0,yi=Dn.rb[Dn.sb-1],co=Qo=0,$(no,ci,0,384),bi.Za)var ii=0,Qi=oi[3];else{yo=v(16);var Zo=Ha.Na+yi.Na;if(Zo=Zs(jo,oi[1],Zo,Fo.Eb,0,yo,0),Ha.Na=yi.Na=(0<Zo)+0,1<Zo)wo(yo,0,no,ci);else{var Ei=yo[0]+3>>3;for(yo=0;256>yo;yo+=16)no[ci+yo]=Ei}ii=1,Qi=oi[0]}var Oo=15&Ha.la,ei=15&yi.la;for(yo=0;4>yo;++yo){var zi=1&ei;for(Ei=xo=0;4>Ei;++Ei)Oo=Oo>>1|(zi=(Zo=Zs(jo,Qi,Zo=zi+(1&Oo),Fo.Sc,ii,no,ci))>ii)<<7,xo=xo<<2|(3<Zo?3:1<Zo?2:no[ci+0]!=0),ci+=16;Oo>>=4,ei=ei>>1|zi<<7,Qo=(Qo<<8|xo)>>>0}for(Qi=Oo,ii=ei>>4,ko=0;4>ko;ko+=2){for(xo=0,Oo=Ha.la>>4+ko,ei=yi.la>>4+ko,yo=0;2>yo;++yo){for(zi=1&ei,Ei=0;2>Ei;++Ei)Zo=zi+(1&Oo),Oo=Oo>>1|(zi=0<(Zo=Zs(jo,oi[2],Zo,Fo.Qc,0,no,ci)))<<3,xo=xo<<2|(3<Zo?3:1<Zo?2:no[ci+0]!=0),ci+=16;Oo>>=2,ei=ei>>1|zi<<5}co|=xo<<4*ko,Qi|=Oo<<4<<ko,ii|=(240&ei)<<ko}Ha.la=Qi,yi.la=ii,bi.Hc=Qo,bi.Gc=co,bi.ia=43690&co?0:Fo.ia,oi=!(Qo|co)}if(0<Dn.L&&(Dn.wa[Dn.Y+Dn.ja]=Dn.gd[Va.$b][Va.Za],Dn.wa[Dn.Y+Dn.ja].La|=!oi),Uo.Ka)return Ve(to,7,"Premature end-of-file encountered.")}if(so(to),Dn=qo,Uo=1,Va=(va=to).D,Ha=0<va.L&&va.M>=va.zb&&va.M<=va.Va,va.Aa==0)t:{if(Va.M=va.M,Va.uc=Ha,Xt(va,Va),Uo=1,Va=(xo=va.D).Nb,Ha=(co=i0[va.L])*va.R,jo=co/2*va.B,yo=16*Va*va.R,Ei=8*Va*va.B,oi=va.sa,bi=va.ta-Ha+yo,Fo=va.qa,no=va.ra-jo+Ei,ci=va.Ha,yi=va.Ia-jo+Ei,ei=(Oo=xo.M)==0,Qo=Oo>=va.Va-1,va.Aa==2&&Xt(va,xo),xo.uc)for(zi=(Zo=va).D.M,s(Zo.D.uc),xo=Zo.yb;xo<Zo.Hb;++xo){ii=xo,Qi=zi;var xi=(Di=(si=Zo).D).Nb;ko=si.R;var Di=Di.wa[Di.Y+ii],Ri=si.sa,Ii=si.ta+16*xi*ko+16*ii,Fi=Di.dd,Ao=Di.tc;if(Ao!=0)if(s(3<=Ao),si.L==1)0<ii&&Js(Ri,Ii,ko,Ao+4),Di.La&&Us(Ri,Ii,ko,Ao),0<Qi&&Ys(Ri,Ii,ko,Ao+4),Di.La&&Fs(Ri,Ii,ko,Ao);else{var ki=si.B,es=si.qa,Ds=si.ra+8*xi*ki+8*ii,ps=si.Ha,si=si.Ia+8*xi*ki+8*ii;xi=Di.ld,0<ii&&(ds(Ri,Ii,ko,Ao+4,Fi,xi),hs(es,Ds,ps,si,ki,Ao+4,Fi,xi)),Di.La&&(Ts(Ri,Ii,ko,Ao,Fi,xi),_s(es,Ds,ps,si,ki,Ao,Fi,xi)),0<Qi&&(Rs(Ri,Ii,ko,Ao+4,Fi,xi),Ws(es,Ds,ps,si,ki,Ao+4,Fi,xi)),Di.La&&(fs(Ri,Ii,ko,Ao,Fi,xi),Bs(es,Ds,ps,si,ki,Ao,Fi,xi))}}if(va.ia&&alert("todo:DitherRow"),Dn.put!=null){if(xo=16*Oo,Oo=16*(Oo+1),ei?(Dn.y=va.sa,Dn.O=va.ta+yo,Dn.f=va.qa,Dn.N=va.ra+Ei,Dn.ea=va.Ha,Dn.W=va.Ia+Ei):(xo-=co,Dn.y=oi,Dn.O=bi,Dn.f=Fo,Dn.N=no,Dn.ea=ci,Dn.W=yi),Qo||(Oo-=co),Oo>Dn.o&&(Oo=Dn.o),Dn.F=null,Dn.J=null,va.Fa!=null&&0<va.Fa.length&&xo<Oo&&(Dn.J=W(va,Dn,xo,Oo-xo),Dn.F=va.mb,Dn.F==null&&Dn.F.length==0)){Uo=Ve(va,3,"Could not decode alpha data.");break t}xo<Dn.j&&(co=Dn.j-xo,xo=Dn.j,s(!(1&co)),Dn.O+=va.R*co,Dn.N+=va.B*(co>>1),Dn.W+=va.B*(co>>1),Dn.F!=null&&(Dn.J+=Dn.width*co)),xo<Oo&&(Dn.O+=Dn.v,Dn.N+=Dn.v>>1,Dn.W+=Dn.v>>1,Dn.F!=null&&(Dn.J+=Dn.v),Dn.ka=xo-Dn.j,Dn.U=Dn.va-Dn.v,Dn.T=Oo-xo,Uo=Dn.put(Dn))}Va+1!=va.Ic||Qo||(b(va.sa,va.ta-Ha,oi,bi+16*va.R,Ha),b(va.qa,va.ra-jo,Fo,no+8*va.B,jo),b(va.Ha,va.Ia-jo,ci,yi+8*va.B,jo))}if(!Uo)return Ve(to,6,"Output aborted.")}return 1}(Rt,gr)),gr.bc!=null&&gr.bc(gr),Er&=1}return Er?(Rt.cb=0,Er):0})(i,ue)||(m=i.a)}}else m=i.a}m==0&&tt.Oa!=null&&tt.Oa.fd&&(m=Tr(tt.ba))}tt=m}Xe=tt!=0?null:11>Xe?ut.f.RGBA.eb:ut.f.kb.y}else Xe=null;return Xe};var _0=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Ae($t,qt){for(var He="",ze=0;ze<4;ze++)He+=String.fromCharCode($t[qt++]);return He}function lt($t,qt){return $t[qt+0]|$t[qt+1]<<8}function It($t,qt){return($t[qt+0]|$t[qt+1]<<8|$t[qt+2]<<16)>>>0}function Et($t,qt){return($t[qt+0]|$t[qt+1]<<8|$t[qt+2]<<16|$t[qt+3]<<24)>>>0}new re;var ve=[0],kt=[0],Ge=[],Vt=new re,vt=f,nr=function($t,qt){var He={},ze=0,At=!1,dt=0,dr=0;if(He.frames=[],!function(Pe,yt){for(var Bt=0;Bt<4;Bt++)if(Pe[yt+Bt]!="RIFF".charCodeAt(Bt))return!0;return!1}($t,qt)){for(Et($t,qt+=4),qt+=8;qt<$t.length;){var br=Ae($t,qt),Jt=Et($t,qt+=4);qt+=4;var Tt=Jt+(1&Jt);switch(br){case"VP8 ":case"VP8L":He.frames[ze]===void 0&&(He.frames[ze]={}),(Wt=He.frames[ze]).src_off=At?dr:qt-8,Wt.src_size=dt+Jt+8,ze++,At&&(At=!1,dt=0,dr=0);break;case"VP8X":(Wt=He.header={}).feature_flags=$t[qt];var ir=qt+4;Wt.canvas_width=1+It($t,ir),ir+=3,Wt.canvas_height=1+It($t,ir),ir+=3;break;case"ALPH":At=!0,dt=Tt+8,dr=qt-8;break;case"ANIM":(Wt=He.header).bgcolor=Et($t,qt),ir=qt+4,Wt.loop_count=lt($t,ir),ir+=2;break;case"ANMF":var Zr,Wt;(Wt=He.frames[ze]={}).offset_x=2*It($t,qt),qt+=3,Wt.offset_y=2*It($t,qt),qt+=3,Wt.width=1+It($t,qt),qt+=3,Wt.height=1+It($t,qt),qt+=3,Wt.duration=It($t,qt),qt+=3,Zr=$t[qt++],Wt.dispose=1&Zr,Wt.blend=Zr>>1&1}br!="ANMF"&&(qt+=Tt)}return He}}(vt,0);nr.response=vt,nr.rgbaoutput=!0,nr.dataurl=!1;var xr=nr.header?nr.header:null,Qt=nr.frames?nr.frames:null;if(xr){xr.loop_counter=xr.loop_count,ve=[xr.canvas_height],kt=[xr.canvas_width];for(var nt=0;nt<Qt.length&&Qt[nt].blend!=0;nt++);}var Ce=Qt[0],Ut=Vt.WebPDecodeRGBA(vt,Ce.src_off,Ce.src_size,kt,ve);Ce.rgba=Ut,Ce.imgwidth=kt[0],Ce.imgheight=ve[0];for(var Nt=0;Nt<kt[0]*ve[0]*4;Nt++)Ge[Nt]=Ut[Nt];return this.width=kt,this.height=ve,this.data=Ge,this}(function(f){var s,p,b,$,v,B,U,re,Ae,lt=function(Pe){return Pe=Pe||{},this.isStrokeTransparent=Pe.isStrokeTransparent||!1,this.strokeOpacity=Pe.strokeOpacity||1,this.strokeStyle=Pe.strokeStyle||"#000000",this.fillStyle=Pe.fillStyle||"#000000",this.isFillTransparent=Pe.isFillTransparent||!1,this.fillOpacity=Pe.fillOpacity||1,this.font=Pe.font||"10px sans-serif",this.textBaseline=Pe.textBaseline||"alphabetic",this.textAlign=Pe.textAlign||"left",this.lineWidth=Pe.lineWidth||1,this.lineJoin=Pe.lineJoin||"miter",this.lineCap=Pe.lineCap||"butt",this.path=Pe.path||[],this.transform=Pe.transform!==void 0?Pe.transform.clone():new re,this.globalCompositeOperation=Pe.globalCompositeOperation||"normal",this.globalAlpha=Pe.globalAlpha||1,this.clip_path=Pe.clip_path||[],this.currentPoint=Pe.currentPoint||new B,this.miterLimit=Pe.miterLimit||10,this.lastPoint=Pe.lastPoint||new B,this.lineDashOffset=Pe.lineDashOffset||0,this.lineDash=Pe.lineDash||[],this.margin=Pe.margin||[0,0,0,0],this.prevPageLastElemOffset=Pe.prevPageLastElemOffset||0,this.ignoreClearRect=typeof Pe.ignoreClearRect!="boolean"||Pe.ignoreClearRect,this};f.events.push(["initialized",function(){this.context2d=new It(this),s=this.internal.f2,p=this.internal.getCoordinateString,b=this.internal.getVerticalCoordinateString,$=this.internal.getHorizontalCoordinate,v=this.internal.getVerticalCoordinate,B=this.internal.Point,U=this.internal.Rectangle,re=this.internal.Matrix,Ae=new lt}]);var It=function(Pe){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var yt=Pe;Object.defineProperty(this,"pdf",{get:function(){return yt}});var Bt=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return Bt},set:function(Mr){Bt=!!Mr}});var ht=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return ht},set:function(Mr){ht=!!Mr}});var Yt=0;Object.defineProperty(this,"posX",{get:function(){return Yt},set:function(Mr){isNaN(Mr)||(Yt=Mr)}});var lr=0;Object.defineProperty(this,"posY",{get:function(){return lr},set:function(Mr){isNaN(Mr)||(lr=Mr)}}),Object.defineProperty(this,"margin",{get:function(){return Ae.margin},set:function(Mr){var Lt;typeof Mr=="number"?Lt=[Mr,Mr,Mr,Mr]:((Lt=new Array(4))[0]=Mr[0],Lt[1]=Mr.length>=2?Mr[1]:Lt[0],Lt[2]=Mr.length>=3?Mr[2]:Lt[0],Lt[3]=Mr.length>=4?Mr[3]:Lt[1]),Ae.margin=Lt}});var mr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return mr},set:function(Mr){mr=Mr}});var Or=0;Object.defineProperty(this,"lastBreak",{get:function(){return Or},set:function(Mr){Or=Mr}});var Rr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Rr},set:function(Mr){Rr=Mr}}),Object.defineProperty(this,"ctx",{get:function(){return Ae},set:function(Mr){Mr instanceof lt&&(Ae=Mr)}}),Object.defineProperty(this,"path",{get:function(){return Ae.path},set:function(Mr){Ae.path=Mr}});var Fr=[];Object.defineProperty(this,"ctxStack",{get:function(){return Fr},set:function(Mr){Fr=Mr}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Mr){var Lt;Lt=Et(Mr),this.ctx.fillStyle=Lt.style,this.ctx.isFillTransparent=Lt.a===0,this.ctx.fillOpacity=Lt.a,this.pdf.setFillColor(Lt.r,Lt.g,Lt.b,{a:Lt.a}),this.pdf.setTextColor(Lt.r,Lt.g,Lt.b,{a:Lt.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Mr){var Lt=Et(Mr);this.ctx.strokeStyle=Lt.style,this.ctx.isStrokeTransparent=Lt.a===0,this.ctx.strokeOpacity=Lt.a,Lt.a===0?this.pdf.setDrawColor(255,255,255):(Lt.a,this.pdf.setDrawColor(Lt.r,Lt.g,Lt.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Mr){["butt","round","square"].indexOf(Mr)!==-1&&(this.ctx.lineCap=Mr,this.pdf.setLineCap(Mr))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Mr){isNaN(Mr)||(this.ctx.lineWidth=Mr,this.pdf.setLineWidth(Mr))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Mr){["bevel","round","miter"].indexOf(Mr)!==-1&&(this.ctx.lineJoin=Mr,this.pdf.setLineJoin(Mr))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Mr){isNaN(Mr)||(this.ctx.miterLimit=Mr,this.pdf.setMiterLimit(Mr))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Mr){this.ctx.textBaseline=Mr}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Mr){["right","end","center","left","start"].indexOf(Mr)!==-1&&(this.ctx.textAlign=Mr)}});var un=null,wn=null;Object.defineProperty(this,"fontFaces",{get:function(){return wn},set:function(Mr){un=null,wn=Mr}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Mr){var Lt;if(this.ctx.font=Mr,(Lt=/^\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(Mr))!==null){var ya=Lt[1];Lt[2];var ha=Lt[3],Wn=Lt[4];Lt[5];var an=Lt[6],dn=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Wn)[2];Wn=Math.floor(dn==="px"?parseFloat(Wn)*this.pdf.internal.scaleFactor:dn==="em"?parseFloat(Wn)*this.pdf.getFontSize():parseFloat(Wn)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Wn);var Gr=function(ia){var Rn,Bn,Yn=[],Qr=ia.trim();if(Qr==="")return fr;if(Qr in D)return[D[Qr]];for(;Qr!=="";){switch(Bn=null,Rn=(Qr=ne(Qr)).charAt(0)){case'"':case"'":Bn=st(Qr.substring(1),Rn);break;default:Bn=gn(Qr)}if(Bn===null||(Yn.push(Bn[0]),(Qr=ne(Bn[1]))!==""&&Qr.charAt(0)!==","))return fr;Qr=Qr.replace(/^,/,"")}return Yn}(an);if(this.fontFaces){var la=function(ia,Rn){if(un===null){var Bn=function(Yn){var Qr=[];return Object.keys(Yn).forEach(function(mn){Yn[mn].forEach(function(ua){var En=null;switch(ua){case"bold":En={family:mn,weight:"bold"};break;case"italic":En={family:mn,style:"italic"};break;case"bolditalic":En={family:mn,weight:"bold",style:"italic"};break;case"":case"normal":En={family:mn}}En!==null&&(En.ref={name:mn,style:ua},Qr.push(En))})}),Qr}(ia.getFontList());un=function(Yn){for(var Qr={},mn=0;mn<Yn.length;++mn){var ua=vr(Yn[mn]),En=ua.family,fa=ua.stretch,Vn=ua.style,Wa=ua.weight;Qr[En]=Qr[En]||{},Qr[En][fa]=Qr[En][fa]||{},Qr[En][fa][Vn]=Qr[En][fa][Vn]||{},Qr[En][fa][Vn][Wa]=ua}return Qr}(Bn.concat(Rn))}return un}(this.pdf,this.fontFaces),Gn=Gr.map(function(ia){return{family:ia,stretch:"normal",weight:ha,style:ya}}),xa=function(ia,Rn,Bn){for(var Yn=(Bn=Bn||{}).defaultFontFamily||"times",Qr=Object.assign({},h,Bn.genericFontFamilies||{}),mn=null,ua=null,En=0;En<Rn.length;++En)if(Qr[(mn=vr(Rn[En])).family]&&(mn.family=Qr[mn.family]),ia.hasOwnProperty(mn.family)){ua=ia[mn.family];break}if(!(ua=ua||ia[Yn]))throw new Error("Could not find a font-family for the rule '"+Ee(mn)+"' and default family '"+Yn+"'.");if(ua=function(fa,Vn){if(Vn[fa])return Vn[fa];var Wa=Mn[fa],qa=Wa<=Mn.normal?-1:1,Cn=Lr(Vn,yn,Wa,qa);if(!Cn)throw new Error("Could not find a matching font-stretch value for "+fa);return Cn}(mn.stretch,ua),ua=function(fa,Vn){if(Vn[fa])return Vn[fa];for(var Wa=$r[fa],qa=0;qa<Wa.length;++qa)if(Vn[Wa[qa]])return Vn[Wa[qa]];throw new Error("Could not find a matching font-style for "+fa)}(mn.style,ua),!(ua=function(fa,Vn){if(Vn[fa])return Vn[fa];if(fa===400&&Vn[500])return Vn[500];if(fa===500&&Vn[400])return Vn[400];var Wa=Sr[fa],qa=Lr(Vn,Ft,Wa,fa<400?-1:1);if(!qa)throw new Error("Could not find a matching font-weight for value "+fa);return qa}(mn.weight,ua)))throw new Error("Failed to resolve a font for the rule '"+Ee(mn)+"'.");return ua}(la,Gn);this.pdf.setFont(xa.ref.name,xa.ref.style)}else{var _n="";(ha==="bold"||parseInt(ha,10)>=700||ya==="bold")&&(_n="bold"),ya==="italic"&&(_n+="italic"),_n.length===0&&(_n="normal");for(var ca="",Ra={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"},oa=0;oa<Gr.length;oa++){if(this.pdf.internal.getFont(Gr[oa],_n,{noFallback:!0,disableWarning:!0})!==void 0){ca=Gr[oa];break}if(_n==="bolditalic"&&this.pdf.internal.getFont(Gr[oa],"bold",{noFallback:!0,disableWarning:!0})!==void 0)ca=Gr[oa],_n="bold";else if(this.pdf.internal.getFont(Gr[oa],"normal",{noFallback:!0,disableWarning:!0})!==void 0){ca=Gr[oa],_n="normal";break}}if(ca===""){for(var kn=0;kn<Gr.length;kn++)if(Ra[Gr[kn]]){ca=Ra[Gr[kn]];break}}ca=ca===""?"Times":ca,this.pdf.setFont(ca,_n)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Mr){this.ctx.globalCompositeOperation=Mr}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Mr){this.ctx.globalAlpha=Mr}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(Mr){this.ctx.lineDashOffset=Mr,Wt.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(Mr){this.ctx.lineDash=Mr,Wt.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Mr){this.ctx.ignoreClearRect=!!Mr}})};It.prototype.setLineDash=function(Pe){this.lineDash=Pe},It.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},It.prototype.fill=function(){Qt.call(this,"fill",!1)},It.prototype.stroke=function(){Qt.call(this,"stroke",!1)},It.prototype.beginPath=function(){this.path=[{type:"begin"}]},It.prototype.moveTo=function(Pe,yt){if(isNaN(Pe)||isNaN(yt))throw _.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var Bt=this.ctx.transform.applyToPoint(new B(Pe,yt));this.path.push({type:"mt",x:Bt.x,y:Bt.y}),this.ctx.lastPoint=new B(Pe,yt)},It.prototype.closePath=function(){var Pe=new B(0,0),yt=0;for(yt=this.path.length-1;yt!==-1;yt--)if(this.path[yt].type==="begin"&&(0,a.Z)(this.path[yt+1])==="object"&&typeof this.path[yt+1].x=="number"){Pe=new B(this.path[yt+1].x,this.path[yt+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new B(Pe.x,Pe.y)},It.prototype.lineTo=function(Pe,yt){if(isNaN(Pe)||isNaN(yt))throw _.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var Bt=this.ctx.transform.applyToPoint(new B(Pe,yt));this.path.push({type:"lt",x:Bt.x,y:Bt.y}),this.ctx.lastPoint=new B(Bt.x,Bt.y)},It.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),Qt.call(this,null,!0)},It.prototype.quadraticCurveTo=function(Pe,yt,Bt,ht){if(isNaN(Bt)||isNaN(ht)||isNaN(Pe)||isNaN(yt))throw _.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var Yt=this.ctx.transform.applyToPoint(new B(Bt,ht)),lr=this.ctx.transform.applyToPoint(new B(Pe,yt));this.path.push({type:"qct",x1:lr.x,y1:lr.y,x:Yt.x,y:Yt.y}),this.ctx.lastPoint=new B(Yt.x,Yt.y)},It.prototype.bezierCurveTo=function(Pe,yt,Bt,ht,Yt,lr){if(isNaN(Yt)||isNaN(lr)||isNaN(Pe)||isNaN(yt)||isNaN(Bt)||isNaN(ht))throw _.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var mr=this.ctx.transform.applyToPoint(new B(Yt,lr)),Or=this.ctx.transform.applyToPoint(new B(Pe,yt)),Rr=this.ctx.transform.applyToPoint(new B(Bt,ht));this.path.push({type:"bct",x1:Or.x,y1:Or.y,x2:Rr.x,y2:Rr.y,x:mr.x,y:mr.y}),this.ctx.lastPoint=new B(mr.x,mr.y)},It.prototype.arc=function(Pe,yt,Bt,ht,Yt,lr){if(isNaN(Pe)||isNaN(yt)||isNaN(Bt)||isNaN(ht)||isNaN(Yt))throw _.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(lr=!!lr,!this.ctx.transform.isIdentity){var mr=this.ctx.transform.applyToPoint(new B(Pe,yt));Pe=mr.x,yt=mr.y;var Or=this.ctx.transform.applyToPoint(new B(0,Bt)),Rr=this.ctx.transform.applyToPoint(new B(0,0));Bt=Math.sqrt(Math.pow(Or.x-Rr.x,2)+Math.pow(Or.y-Rr.y,2))}Math.abs(Yt-ht)>=2*Math.PI&&(ht=0,Yt=2*Math.PI),this.path.push({type:"arc",x:Pe,y:yt,radius:Bt,startAngle:ht,endAngle:Yt,counterclockwise:lr})},It.prototype.arcTo=function(Pe,yt,Bt,ht,Yt){throw new Error("arcTo not implemented.")},It.prototype.rect=function(Pe,yt,Bt,ht){if(isNaN(Pe)||isNaN(yt)||isNaN(Bt)||isNaN(ht))throw _.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Pe,yt),this.lineTo(Pe+Bt,yt),this.lineTo(Pe+Bt,yt+ht),this.lineTo(Pe,yt+ht),this.lineTo(Pe,yt),this.lineTo(Pe+Bt,yt),this.lineTo(Pe,yt)},It.prototype.fillRect=function(Pe,yt,Bt,ht){if(isNaN(Pe)||isNaN(yt)||isNaN(Bt)||isNaN(ht))throw _.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ve.call(this)){var Yt={};this.lineCap!=="butt"&&(Yt.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Yt.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Pe,yt,Bt,ht),this.fill(),Yt.hasOwnProperty("lineCap")&&(this.lineCap=Yt.lineCap),Yt.hasOwnProperty("lineJoin")&&(this.lineJoin=Yt.lineJoin)}},It.prototype.strokeRect=function(Pe,yt,Bt,ht){if(isNaN(Pe)||isNaN(yt)||isNaN(Bt)||isNaN(ht))throw _.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");kt.call(this)||(this.beginPath(),this.rect(Pe,yt,Bt,ht),this.stroke())},It.prototype.clearRect=function(Pe,yt,Bt,ht){if(isNaN(Pe)||isNaN(yt)||isNaN(Bt)||isNaN(ht))throw _.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Pe,yt,Bt,ht))},It.prototype.save=function(Pe){Pe=typeof Pe!="boolean"||Pe;for(var yt=this.pdf.internal.getCurrentPageInfo().pageNumber,Bt=0;Bt<this.pdf.internal.getNumberOfPages();Bt++)this.pdf.setPage(Bt+1),this.pdf.internal.out("q");if(this.pdf.setPage(yt),Pe){this.ctx.fontSize=this.pdf.internal.getFontSize();var ht=new lt(this.ctx);this.ctxStack.push(this.ctx),this.ctx=ht}},It.prototype.restore=function(Pe){Pe=typeof Pe!="boolean"||Pe;for(var yt=this.pdf.internal.getCurrentPageInfo().pageNumber,Bt=0;Bt<this.pdf.internal.getNumberOfPages();Bt++)this.pdf.setPage(Bt+1),this.pdf.internal.out("Q");this.pdf.setPage(yt),Pe&&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)},It.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var Et=function(Pe){var yt,Bt,ht,Yt;if(Pe.isCanvasGradient===!0&&(Pe=Pe.getColor()),!Pe)return{r:0,g:0,b:0,a:0,style:Pe};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(Pe))yt=0,Bt=0,ht=0,Yt=0;else{var lr=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(Pe);if(lr!==null)yt=parseInt(lr[1]),Bt=parseInt(lr[2]),ht=parseInt(lr[3]),Yt=1;else if((lr=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(Pe))!==null)yt=parseInt(lr[1]),Bt=parseInt(lr[2]),ht=parseInt(lr[3]),Yt=parseFloat(lr[4]);else{if(Yt=1,typeof Pe=="string"&&Pe.charAt(0)!=="#"){var mr=new F(Pe);Pe=mr.ok?mr.toHex():"#000000"}Pe.length===4?(yt=Pe.substring(1,2),yt+=yt,Bt=Pe.substring(2,3),Bt+=Bt,ht=Pe.substring(3,4),ht+=ht):(yt=Pe.substring(1,3),Bt=Pe.substring(3,5),ht=Pe.substring(5,7)),yt=parseInt(yt,16),Bt=parseInt(Bt,16),ht=parseInt(ht,16)}}return{r:yt,g:Bt,b:ht,a:Yt,style:Pe}},ve=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},kt=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};It.prototype.fillText=function(Pe,yt,Bt,ht){if(isNaN(yt)||isNaN(Bt)||typeof Pe!="string")throw _.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(ht=isNaN(ht)?void 0:ht,!ve.call(this)){var Yt=Tt(this.ctx.transform.rotation),lr=this.ctx.transform.scaleX;ze.call(this,{text:Pe,x:yt,y:Bt,scale:lr,angle:Yt,align:this.textAlign,maxWidth:ht})}},It.prototype.strokeText=function(Pe,yt,Bt,ht){if(isNaN(yt)||isNaN(Bt)||typeof Pe!="string")throw _.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!kt.call(this)){ht=isNaN(ht)?void 0:ht;var Yt=Tt(this.ctx.transform.rotation),lr=this.ctx.transform.scaleX;ze.call(this,{text:Pe,x:yt,y:Bt,scale:lr,renderingMode:"stroke",angle:Yt,align:this.textAlign,maxWidth:ht})}},It.prototype.measureText=function(Pe){if(typeof Pe!="string")throw _.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var yt=this.pdf,Bt=this.pdf.internal.scaleFactor,ht=yt.internal.getFontSize(),Yt=yt.getStringUnitWidth(Pe)*ht/yt.internal.scaleFactor;return new function(lr){var mr=(lr=lr||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return mr}}),this}({width:Yt*=Math.round(96*Bt/72*1e4)/1e4})},It.prototype.scale=function(Pe,yt){if(isNaN(Pe)||isNaN(yt))throw _.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var Bt=new re(Pe,0,0,yt,0,0);this.ctx.transform=this.ctx.transform.multiply(Bt)},It.prototype.rotate=function(Pe){if(isNaN(Pe))throw _.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var yt=new re(Math.cos(Pe),Math.sin(Pe),-Math.sin(Pe),Math.cos(Pe),0,0);this.ctx.transform=this.ctx.transform.multiply(yt)},It.prototype.translate=function(Pe,yt){if(isNaN(Pe)||isNaN(yt))throw _.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var Bt=new re(1,0,0,1,Pe,yt);this.ctx.transform=this.ctx.transform.multiply(Bt)},It.prototype.transform=function(Pe,yt,Bt,ht,Yt,lr){if(isNaN(Pe)||isNaN(yt)||isNaN(Bt)||isNaN(ht)||isNaN(Yt)||isNaN(lr))throw _.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var mr=new re(Pe,yt,Bt,ht,Yt,lr);this.ctx.transform=this.ctx.transform.multiply(mr)},It.prototype.setTransform=function(Pe,yt,Bt,ht,Yt,lr){Pe=isNaN(Pe)?1:Pe,yt=isNaN(yt)?0:yt,Bt=isNaN(Bt)?0:Bt,ht=isNaN(ht)?1:ht,Yt=isNaN(Yt)?0:Yt,lr=isNaN(lr)?0:lr,this.ctx.transform=new re(Pe,yt,Bt,ht,Yt,lr)};var Ge=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};It.prototype.drawImage=function(Pe,yt,Bt,ht,Yt,lr,mr,Or,Rr){var Fr=this.pdf.getImageProperties(Pe),un=1,wn=1,Mr=1,Lt=1;ht!==void 0&&Or!==void 0&&(Mr=Or/ht,Lt=Rr/Yt,un=Fr.width/ht*Or/ht,wn=Fr.height/Yt*Rr/Yt),lr===void 0&&(lr=yt,mr=Bt,yt=0,Bt=0),ht!==void 0&&Or===void 0&&(Or=ht,Rr=Yt),ht===void 0&&Or===void 0&&(Or=Fr.width,Rr=Fr.height);for(var ya,ha=this.ctx.transform.decompose(),Wn=Tt(ha.rotate.shx),an=new re,dn=(an=(an=(an=an.multiply(ha.translate)).multiply(ha.skew)).multiply(ha.scale)).applyToRectangle(new U(lr-yt*Mr,mr-Bt*Lt,ht*un,Yt*wn)),Gr=Vt.call(this,dn),la=[],Gn=0;Gn<Gr.length;Gn+=1)la.indexOf(Gr[Gn])===-1&&la.push(Gr[Gn]);if(xr(la),this.autoPaging)for(var xa=la[0],_n=la[la.length-1],ca=xa;ca<_n+1;ca++){this.pdf.setPage(ca);var Ra=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],oa=ca===1?this.posY+this.margin[0]:this.margin[0],kn=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ia=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Rn=ca===1?0:kn+(ca-2)*ia;if(this.ctx.clip_path.length!==0){var Bn=this.path;ya=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=nr(ya,this.posX+this.margin[3],-Rn+oa+this.ctx.prevPageLastElemOffset),nt.call(this,"fill",!0),this.path=Bn}var Yn=JSON.parse(JSON.stringify(dn));Yn=nr([Yn],this.posX+this.margin[3],-Rn+oa+this.ctx.prevPageLastElemOffset)[0];var Qr=(ca>xa||ca<_n)&&Ge.call(this);Qr&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Ra,ia,null).clip().discardPath()),this.pdf.addImage(Pe,"JPEG",Yn.x,Yn.y,Yn.w,Yn.h,null,null,Wn),Qr&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(Pe,"JPEG",dn.x,dn.y,dn.w,dn.h,null,null,Wn)};var Vt=function(Pe,yt,Bt){var ht=[];yt=yt||this.pdf.internal.pageSize.width,Bt=Bt||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var Yt=this.posY+this.ctx.prevPageLastElemOffset;switch(Pe.type){default:case"mt":case"lt":ht.push(Math.floor((Pe.y+Yt)/Bt)+1);break;case"arc":ht.push(Math.floor((Pe.y+Yt-Pe.radius)/Bt)+1),ht.push(Math.floor((Pe.y+Yt+Pe.radius)/Bt)+1);break;case"qct":var lr=ir(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Pe.x1,Pe.y1,Pe.x,Pe.y);ht.push(Math.floor((lr.y+Yt)/Bt)+1),ht.push(Math.floor((lr.y+lr.h+Yt)/Bt)+1);break;case"bct":var mr=Zr(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Pe.x1,Pe.y1,Pe.x2,Pe.y2,Pe.x,Pe.y);ht.push(Math.floor((mr.y+Yt)/Bt)+1),ht.push(Math.floor((mr.y+mr.h+Yt)/Bt)+1);break;case"rect":ht.push(Math.floor((Pe.y+Yt)/Bt)+1),ht.push(Math.floor((Pe.y+Pe.h+Yt)/Bt)+1)}for(var Or=0;Or<ht.length;Or+=1)for(;this.pdf.internal.getNumberOfPages()<ht[Or];)vt.call(this);return ht},vt=function(){var Pe=this.fillStyle,yt=this.strokeStyle,Bt=this.font,ht=this.lineCap,Yt=this.lineWidth,lr=this.lineJoin;this.pdf.addPage(),this.fillStyle=Pe,this.strokeStyle=yt,this.font=Bt,this.lineCap=ht,this.lineWidth=Yt,this.lineJoin=lr},nr=function(Pe,yt,Bt){for(var ht=0;ht<Pe.length;ht++)switch(Pe[ht].type){case"bct":Pe[ht].x2+=yt,Pe[ht].y2+=Bt;case"qct":Pe[ht].x1+=yt,Pe[ht].y1+=Bt;default:Pe[ht].x+=yt,Pe[ht].y+=Bt}return Pe},xr=function(Pe){return Pe.sort(function(yt,Bt){return yt-Bt})},Qt=function(Pe,yt){for(var Bt,ht,Yt=this.fillStyle,lr=this.strokeStyle,mr=this.lineCap,Or=this.lineWidth,Rr=Math.abs(Or*this.ctx.transform.scaleX),Fr=this.lineJoin,un=JSON.parse(JSON.stringify(this.path)),wn=JSON.parse(JSON.stringify(this.path)),Mr=[],Lt=0;Lt<wn.length;Lt++)if(wn[Lt].x!==void 0)for(var ya=Vt.call(this,wn[Lt]),ha=0;ha<ya.length;ha+=1)Mr.indexOf(ya[ha])===-1&&Mr.push(ya[ha]);for(var Wn=0;Wn<Mr.length;Wn++)for(;this.pdf.internal.getNumberOfPages()<Mr[Wn];)vt.call(this);if(xr(Mr),this.autoPaging)for(var an=Mr[0],dn=Mr[Mr.length-1],Gr=an;Gr<dn+1;Gr++){this.pdf.setPage(Gr),this.fillStyle=Yt,this.strokeStyle=lr,this.lineCap=mr,this.lineWidth=Rr,this.lineJoin=Fr;var la=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Gn=Gr===1?this.posY+this.margin[0]:this.margin[0],xa=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],_n=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],ca=Gr===1?0:xa+(Gr-2)*_n;if(this.ctx.clip_path.length!==0){var Ra=this.path;Bt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=nr(Bt,this.posX+this.margin[3],-ca+Gn+this.ctx.prevPageLastElemOffset),nt.call(this,Pe,!0),this.path=Ra}if(ht=JSON.parse(JSON.stringify(un)),this.path=nr(ht,this.posX+this.margin[3],-ca+Gn+this.ctx.prevPageLastElemOffset),yt===!1||Gr===0){var oa=(Gr>an||Gr<dn)&&Ge.call(this);oa&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],la,_n,null).clip().discardPath()),nt.call(this,Pe,yt),oa&&this.pdf.restoreGraphicsState()}this.lineWidth=Or}else this.lineWidth=Rr,nt.call(this,Pe,yt),this.lineWidth=Or;this.path=un},nt=function(Pe,yt){if((Pe!=="stroke"||yt||!kt.call(this))&&(Pe==="stroke"||yt||!ve.call(this))){for(var Bt,ht,Yt=[],lr=this.path,mr=0;mr<lr.length;mr++){var Or=lr[mr];switch(Or.type){case"begin":Yt.push({begin:!0});break;case"close":Yt.push({close:!0});break;case"mt":Yt.push({start:Or,deltas:[],abs:[]});break;case"lt":var Rr=Yt.length;if(lr[mr-1]&&!isNaN(lr[mr-1].x)&&(Bt=[Or.x-lr[mr-1].x,Or.y-lr[mr-1].y],Rr>0)){for(;Rr>=0;Rr--)if(Yt[Rr-1].close!==!0&&Yt[Rr-1].begin!==!0){Yt[Rr-1].deltas.push(Bt),Yt[Rr-1].abs.push(Or);break}}break;case"bct":Bt=[Or.x1-lr[mr-1].x,Or.y1-lr[mr-1].y,Or.x2-lr[mr-1].x,Or.y2-lr[mr-1].y,Or.x-lr[mr-1].x,Or.y-lr[mr-1].y],Yt[Yt.length-1].deltas.push(Bt);break;case"qct":var Fr=lr[mr-1].x+2/3*(Or.x1-lr[mr-1].x),un=lr[mr-1].y+2/3*(Or.y1-lr[mr-1].y),wn=Or.x+2/3*(Or.x1-Or.x),Mr=Or.y+2/3*(Or.y1-Or.y),Lt=Or.x,ya=Or.y;Bt=[Fr-lr[mr-1].x,un-lr[mr-1].y,wn-lr[mr-1].x,Mr-lr[mr-1].y,Lt-lr[mr-1].x,ya-lr[mr-1].y],Yt[Yt.length-1].deltas.push(Bt);break;case"arc":Yt.push({deltas:[],abs:[],arc:!0}),Array.isArray(Yt[Yt.length-1].abs)&&Yt[Yt.length-1].abs.push(Or)}}ht=yt?null:Pe==="stroke"?"stroke":"fill";for(var ha=!1,Wn=0;Wn<Yt.length;Wn++)if(Yt[Wn].arc)for(var an=Yt[Wn].abs,dn=0;dn<an.length;dn++){var Gr=an[dn];Gr.type==="arc"?Nt.call(this,Gr.x,Gr.y,Gr.radius,Gr.startAngle,Gr.endAngle,Gr.counterclockwise,void 0,yt,!ha):At.call(this,Gr.x,Gr.y),ha=!0}else if(Yt[Wn].close===!0)this.pdf.internal.out("h"),ha=!1;else if(Yt[Wn].begin!==!0){var la=Yt[Wn].start.x,Gn=Yt[Wn].start.y;dt.call(this,Yt[Wn].deltas,la,Gn),ha=!0}ht&&$t.call(this,ht),yt&&qt.call(this)}},Ce=function(Pe){var yt=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,Bt=yt*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return Pe-Bt;case"top":return Pe+yt-Bt;case"hanging":return Pe+yt-2*Bt;case"middle":return Pe+yt/2-Bt;default:return Pe}},Ut=function(Pe){return Pe+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};It.prototype.createLinearGradient=function(){var Pe=function(){};return Pe.colorStops=[],Pe.addColorStop=function(yt,Bt){this.colorStops.push([yt,Bt])},Pe.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},Pe.isCanvasGradient=!0,Pe},It.prototype.createPattern=function(){return this.createLinearGradient()},It.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Nt=function(Pe,yt,Bt,ht,Yt,lr,mr,Or,Rr){for(var Fr=br.call(this,Bt,ht,Yt,lr),un=0;un<Fr.length;un++){var wn=Fr[un];un===0&&(Rr?He.call(this,wn.x1+Pe,wn.y1+yt):At.call(this,wn.x1+Pe,wn.y1+yt)),dr.call(this,Pe,yt,wn.x2,wn.y2,wn.x3,wn.y3,wn.x4,wn.y4)}Or?qt.call(this):$t.call(this,mr)},$t=function(Pe){switch(Pe){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},qt=function(){this.pdf.clip(),this.pdf.discardPath()},He=function(Pe,yt){this.pdf.internal.out(p(Pe)+" "+b(yt)+" m")},ze=function(Pe){var yt;switch(Pe.align){case"right":case"end":yt="right";break;case"center":yt="center";break;default:yt="left"}var Bt=this.pdf.getTextDimensions(Pe.text),ht=Ce.call(this,Pe.y),Yt=Ut.call(this,ht)-Bt.h,lr=this.ctx.transform.applyToPoint(new B(Pe.x,ht)),mr=this.ctx.transform.decompose(),Or=new re;Or=(Or=(Or=Or.multiply(mr.translate)).multiply(mr.skew)).multiply(mr.scale);for(var Rr,Fr,un,wn=this.ctx.transform.applyToRectangle(new U(Pe.x,ht,Bt.w,Bt.h)),Mr=Or.applyToRectangle(new U(Pe.x,Yt,Bt.w,Bt.h)),Lt=Vt.call(this,Mr),ya=[],ha=0;ha<Lt.length;ha+=1)ya.indexOf(Lt[ha])===-1&&ya.push(Lt[ha]);if(xr(ya),this.autoPaging)for(var Wn=ya[0],an=ya[ya.length-1],dn=Wn;dn<an+1;dn++){this.pdf.setPage(dn);var Gr=dn===1?this.posY+this.margin[0]:this.margin[0],la=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Gn=this.pdf.internal.pageSize.height-this.margin[2],xa=Gn-this.margin[0],_n=this.pdf.internal.pageSize.width-this.margin[1],ca=_n-this.margin[3],Ra=dn===1?0:la+(dn-2)*xa;if(this.ctx.clip_path.length!==0){var oa=this.path;Rr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=nr(Rr,this.posX+this.margin[3],-1*Ra+Gr),nt.call(this,"fill",!0),this.path=oa}var kn=nr([JSON.parse(JSON.stringify(Mr))],this.posX+this.margin[3],-Ra+Gr+this.ctx.prevPageLastElemOffset)[0];Pe.scale>=.01&&(Fr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Fr*Pe.scale),un=this.lineWidth,this.lineWidth=un*Pe.scale);var ia=this.autoPaging!=="text";if(ia||kn.y+kn.h<=Gn){if(ia||kn.y>=Gr&&kn.x<=_n){var Rn=ia?Pe.text:this.pdf.splitTextToSize(Pe.text,Pe.maxWidth||_n-kn.x)[0],Bn=nr([JSON.parse(JSON.stringify(wn))],this.posX+this.margin[3],-Ra+Gr+this.ctx.prevPageLastElemOffset)[0],Yn=ia&&(dn>Wn||dn<an)&&Ge.call(this);Yn&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ca,xa,null).clip().discardPath()),this.pdf.text(Rn,Bn.x,Bn.y,{angle:Pe.angle,align:yt,renderingMode:Pe.renderingMode}),Yn&&this.pdf.restoreGraphicsState()}}else kn.y<Gn&&(this.ctx.prevPageLastElemOffset+=Gn-kn.y);Pe.scale>=.01&&(this.pdf.setFontSize(Fr),this.lineWidth=un)}else Pe.scale>=.01&&(Fr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Fr*Pe.scale),un=this.lineWidth,this.lineWidth=un*Pe.scale),this.pdf.text(Pe.text,lr.x+this.posX,lr.y+this.posY,{angle:Pe.angle,align:yt,renderingMode:Pe.renderingMode,maxWidth:Pe.maxWidth}),Pe.scale>=.01&&(this.pdf.setFontSize(Fr),this.lineWidth=un)},At=function(Pe,yt,Bt,ht){Bt=Bt||0,ht=ht||0,this.pdf.internal.out(p(Pe+Bt)+" "+b(yt+ht)+" l")},dt=function(Pe,yt,Bt){return this.pdf.lines(Pe,yt,Bt,null,null)},dr=function(Pe,yt,Bt,ht,Yt,lr,mr,Or){this.pdf.internal.out([s($(Bt+Pe)),s(v(ht+yt)),s($(Yt+Pe)),s(v(lr+yt)),s($(mr+Pe)),s(v(Or+yt)),"c"].join(" "))},br=function(Pe,yt,Bt,ht){for(var Yt=2*Math.PI,lr=Math.PI/2;yt>Bt;)yt-=Yt;var mr=Math.abs(Bt-yt);mr<Yt&&ht&&(mr=Yt-mr);for(var Or=[],Rr=ht?-1:1,Fr=yt;mr>1e-5;){var un=Fr+Rr*Math.min(mr,lr);Or.push(Jt.call(this,Pe,Fr,un)),mr-=Math.abs(un-Fr),Fr=un}return Or},Jt=function(Pe,yt,Bt){var ht=(Bt-yt)/2,Yt=Pe*Math.cos(ht),lr=Pe*Math.sin(ht),mr=Yt,Or=-lr,Rr=mr*mr+Or*Or,Fr=Rr+mr*Yt+Or*lr,un=4/3*(Math.sqrt(2*Rr*Fr)-Fr)/(mr*lr-Or*Yt),wn=mr-un*Or,Mr=Or+un*mr,Lt=wn,ya=-Mr,ha=ht+yt,Wn=Math.cos(ha),an=Math.sin(ha);return{x1:Pe*Math.cos(yt),y1:Pe*Math.sin(yt),x2:wn*Wn-Mr*an,y2:wn*an+Mr*Wn,x3:Lt*Wn-ya*an,y3:Lt*an+ya*Wn,x4:Pe*Math.cos(Bt),y4:Pe*Math.sin(Bt)}},Tt=function(Pe){return 180*Pe/Math.PI},ir=function(Pe,yt,Bt,ht,Yt,lr){var mr=Pe+.5*(Bt-Pe),Or=yt+.5*(ht-yt),Rr=Yt+.5*(Bt-Yt),Fr=lr+.5*(ht-lr),un=Math.min(Pe,Yt,mr,Rr),wn=Math.max(Pe,Yt,mr,Rr),Mr=Math.min(yt,lr,Or,Fr),Lt=Math.max(yt,lr,Or,Fr);return new U(un,Mr,wn-un,Lt-Mr)},Zr=function(Pe,yt,Bt,ht,Yt,lr,mr,Or){var Rr,Fr,un,wn,Mr,Lt,ya,ha,Wn,an,dn,Gr,la,Gn,xa=Bt-Pe,_n=ht-yt,ca=Yt-Bt,Ra=lr-ht,oa=mr-Yt,kn=Or-lr;for(Fr=0;Fr<41;Fr++)Wn=(ya=(un=Pe+(Rr=Fr/40)*xa)+Rr*((Mr=Bt+Rr*ca)-un))+Rr*(Mr+Rr*(Yt+Rr*oa-Mr)-ya),an=(ha=(wn=yt+Rr*_n)+Rr*((Lt=ht+Rr*Ra)-wn))+Rr*(Lt+Rr*(lr+Rr*kn-Lt)-ha),Fr==0?(dn=Wn,Gr=an,la=Wn,Gn=an):(dn=Math.min(dn,Wn),Gr=Math.min(Gr,an),la=Math.max(la,Wn),Gn=Math.max(Gn,an));return new U(Math.round(dn),Math.round(Gr),Math.round(la-dn),Math.round(Gn-Gr))},Wt=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Pe,yt,Bt=(Pe=this.ctx.lineDash,yt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Pe,lineDashOffset:yt}));this.prevLineDash!==Bt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Bt)}}})(z.API),function(f){var s=function(B){var U,re,Ae,lt,It,Et,ve,kt,Ge,Vt;for(/[^\x00-\xFF]/.test(B),re=[],Ae=0,lt=(B+=U="\0\0\0\0".slice(B.length%4||4)).length;lt>Ae;Ae+=4)(It=(B.charCodeAt(Ae)<<24)+(B.charCodeAt(Ae+1)<<16)+(B.charCodeAt(Ae+2)<<8)+B.charCodeAt(Ae+3))!==0?(Et=(It=((It=((It=((It=(It-(Vt=It%85))/85)-(Ge=It%85))/85)-(kt=It%85))/85)-(ve=It%85))/85)%85,re.push(Et+33,ve+33,kt+33,Ge+33,Vt+33)):re.push(122);return function(vt,nr){for(var xr=nr;xr>0;xr--)vt.pop()}(re,U.length),String.fromCharCode.apply(String,re)+"~>"},p=function(B){var U,re,Ae,lt,It,Et=String,ve="length",kt=255,Ge="charCodeAt",Vt="slice",vt="replace";for(B[Vt](-2),B=B[Vt](0,-2)[vt](/\s/g,"")[vt]("z","!!!!!"),Ae=[],lt=0,It=(B+=U="uuuuu"[Vt](B[ve]%5||5))[ve];It>lt;lt+=5)re=52200625*(B[Ge](lt)-33)+614125*(B[Ge](lt+1)-33)+7225*(B[Ge](lt+2)-33)+85*(B[Ge](lt+3)-33)+(B[Ge](lt+4)-33),Ae.push(kt&re>>24,kt&re>>16,kt&re>>8,kt&re);return function(nr,xr){for(var Qt=xr;Qt>0;Qt--)nr.pop()}(Ae,U[ve]),Et.fromCharCode.apply(Et,Ae)},b=function(B){return B.split("").map(function(U){return("0"+U.charCodeAt().toString(16)).slice(-2)}).join("")+">"},$=function(B){var U=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((B=B.replace(/\s/g,"")).indexOf(">")!==-1&&(B=B.substr(0,B.indexOf(">"))),B.length%2&&(B+="0"),U.test(B)===!1)return"";for(var re="",Ae=0;Ae<B.length;Ae+=2)re+=String.fromCharCode("0x"+(B[Ae]+B[Ae+1]));return re},v=function(B){for(var U=new Uint8Array(B.length),re=B.length;re--;)U[re]=B.charCodeAt(re);return(U=(0,qe.iZ)(U)).reduce(function(Ae,lt){return Ae+String.fromCharCode(lt)},"")};f.processDataByFilters=function(B,U){var re=0,Ae=B||"",lt=[];for(typeof(U=U||[])=="string"&&(U=[U]),re=0;re<U.length;re+=1)switch(U[re]){case"ASCII85Decode":case"/ASCII85Decode":Ae=p(Ae),lt.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":Ae=s(Ae),lt.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":Ae=$(Ae),lt.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":Ae=b(Ae),lt.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":Ae=v(Ae),lt.push("/FlateDecode");break;default:throw new Error('The filter: "'+U[re]+'" is not implemented')}return{data:Ae,reverseChain:lt.reverse().join(" ")}}}(z.API),function(f){f.loadFile=function(s,p,b){return function($,v,B){v=v!==!1,B=typeof B=="function"?B:function(){};var U=void 0;try{U=function(re,Ae,lt){var It=new XMLHttpRequest,Et=0,ve=function(kt){var Ge=kt.length,Vt=[],vt=String.fromCharCode;for(Et=0;Et<Ge;Et+=1)Vt.push(vt(255&kt.charCodeAt(Et)));return Vt.join("")};if(It.open("GET",re,!Ae),It.overrideMimeType("text/plain; charset=x-user-defined"),Ae===!1&&(It.onload=function(){It.status===200?lt(ve(this.responseText)):lt(void 0)}),It.send(null),Ae&&It.status===200)return ve(It.responseText)}($,v,B)}catch(re){}return U}(s,p,b)},f.loadImageFile=f.loadFile}(z.API),function(f){function s(){return(q.html2canvas?Promise.resolve(q.html2canvas):Promise.resolve().then(n.t.bind(n,64270,23))).catch(function(U){return Promise.reject(new Error("Could not load html2canvas: "+U))}).then(function(U){return U.default?U.default:U})}function p(){return(q.DOMPurify?Promise.resolve(q.DOMPurify):n.e(2364).then(n.bind(n,12364))).catch(function(U){return Promise.reject(new Error("Could not load dompurify: "+U))}).then(function(U){return U.default?U.default:U})}var b=function(U){var re=(0,a.Z)(U);return re==="undefined"?"undefined":re==="string"||U instanceof String?"string":re==="number"||U instanceof Number?"number":re==="function"||U instanceof Function?"function":U&&U.constructor===Array?"array":U&&U.nodeType===1?"element":re==="object"?"object":"unknown"},$=function(U,re){var Ae=document.createElement(U);for(var lt in re.className&&(Ae.className=re.className),re.innerHTML&&re.dompurify&&(Ae.innerHTML=re.dompurify.sanitize(re.innerHTML)),re.style)Ae.style[lt]=re.style[lt];return Ae},v=function U(re,Ae){for(var lt=re.nodeType===3?document.createTextNode(re.nodeValue):re.cloneNode(!1),It=re.firstChild;It;It=It.nextSibling)Ae!==!0&&It.nodeType===1&&It.nodeName==="SCRIPT"||lt.appendChild(U(It,Ae));return re.nodeType===1&&(re.nodeName==="CANVAS"?(lt.width=re.width,lt.height=re.height,lt.getContext("2d").drawImage(re,0,0)):re.nodeName!=="TEXTAREA"&&re.nodeName!=="SELECT"||(lt.value=re.value),lt.addEventListener("load",function(){lt.scrollTop=re.scrollTop,lt.scrollLeft=re.scrollLeft},!0)),lt},B=function U(re){var Ae=Object.assign(U.convert(Promise.resolve()),JSON.parse(JSON.stringify(U.template))),lt=U.convert(Promise.resolve(),Ae);return(lt=lt.setProgress(1,U,1,[U])).set(re)};(B.prototype=Object.create(Promise.prototype)).constructor=B,B.convert=function(U,re){return U.__proto__=re||B.prototype,U},B.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"}},B.prototype.from=function(U,re){return this.then(function(){switch(re=re||function(Ae){switch(b(Ae)){case"string":return"string";case"element":return Ae.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(U),re){case"string":return this.then(p).then(function(Ae){return this.set({src:$("div",{innerHTML:U,dompurify:Ae})})});case"element":return this.set({src:U});case"canvas":return this.set({canvas:U});case"img":return this.set({img:U});default:return this.error("Unknown source type.")}})},B.prototype.to=function(U){switch(U){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.")}},B.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 U={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},re=v(this.prop.src,this.opt.html2canvas.javascriptEnabled);re.tagName==="BODY"&&(U.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=$("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=$("div",{className:"html2pdf__container",style:U}),this.prop.container.appendChild(re),this.prop.container.firstChild.appendChild($("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"})},B.prototype.toCanvas=function(){var U=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(U).then(s).then(function(re){var Ae=Object.assign({},this.opt.html2canvas);return delete Ae.onrendered,re(this.prop.container,Ae)}).then(function(re){(this.opt.html2canvas.onrendered||function(){})(re),this.prop.canvas=re,document.body.removeChild(this.prop.overlay)})},B.prototype.toContext2d=function(){var U=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(U).then(s).then(function(re){var Ae=this.opt.jsPDF,lt=this.opt.fontFaces,It=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,Et=Object.assign({async:!0,allowTaint:!0,scale:It,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 Et.onrendered,Ae.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,Ae.context2d.posX=this.opt.x,Ae.context2d.posY=this.opt.y,Ae.context2d.margin=this.opt.margin,Ae.context2d.fontFaces=lt,lt)for(var ve=0;ve<lt.length;++ve){var kt=lt[ve],Ge=kt.src.find(function(Vt){return Vt.format==="truetype"});Ge&&Ae.addFont(Ge.url,kt.ref.name,kt.ref.style)}return Et.windowHeight=Et.windowHeight||0,Et.windowHeight=Et.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):Et.windowHeight,Ae.context2d.save(!0),re(this.prop.container,Et)}).then(function(re){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(re),this.prop.canvas=re,document.body.removeChild(this.prop.overlay)})},B.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var U=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=U})},B.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},B.prototype.output=function(U,re,Ae){return(Ae=Ae||"pdf").toLowerCase()==="img"||Ae.toLowerCase()==="image"?this.outputImg(U,re):this.outputPdf(U,re)},B.prototype.outputPdf=function(U,re){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(U,re)})},B.prototype.outputImg=function(U){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(U){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 "'+U+'" is not supported.'}})},B.prototype.save=function(U){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(U?{filename:U}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},B.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},B.prototype.set=function(U){if(b(U)!=="object")return this;var re=Object.keys(U||{}).map(function(Ae){if(Ae in B.template.prop)return function(){this.prop[Ae]=U[Ae]};switch(Ae){case"margin":return this.setMargin.bind(this,U.margin);case"jsPDF":return function(){return this.opt.jsPDF=U.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,U.pageSize);default:return function(){this.opt[Ae]=U[Ae]}}},this);return this.then(function(){return this.thenList(re)})},B.prototype.get=function(U,re){return this.then(function(){var Ae=U in B.template.prop?this.prop[U]:this.opt[U];return re?re(Ae):Ae})},B.prototype.setMargin=function(U){return this.then(function(){switch(b(U)){case"number":U=[U,U,U,U];case"array":if(U.length===2&&(U=[U[0],U[1],U[0],U[1]]),U.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=U}).then(this.setPageSize)},B.prototype.setPageSize=function(U){function re(Ae,lt){return Math.floor(Ae*lt/72*96)}return this.then(function(){(U=U||z.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(U.inner={width:U.width-this.opt.margin[1]-this.opt.margin[3],height:U.height-this.opt.margin[0]-this.opt.margin[2]},U.inner.px={width:re(U.inner.width,U.k),height:re(U.inner.height,U.k)},U.inner.ratio=U.inner.height/U.inner.width),this.prop.pageSize=U})},B.prototype.setProgress=function(U,re,Ae,lt){return U!=null&&(this.progress.val=U),re!=null&&(this.progress.state=re),Ae!=null&&(this.progress.n=Ae),lt!=null&&(this.progress.stack=lt),this.progress.ratio=this.progress.val/this.progress.state,this},B.prototype.updateProgress=function(U,re,Ae,lt){return this.setProgress(U?this.progress.val+U:null,re||null,Ae?this.progress.n+Ae:null,lt?this.progress.stack.concat(lt):null)},B.prototype.then=function(U,re){var Ae=this;return this.thenCore(U,re,function(lt,It){return Ae.updateProgress(null,null,1,[lt]),Promise.prototype.then.call(this,function(Et){return Ae.updateProgress(null,lt),Et}).then(lt,It).then(function(Et){return Ae.updateProgress(1),Et})})},B.prototype.thenCore=function(U,re,Ae){Ae=Ae||Promise.prototype.then;var lt=this;U&&(U=U.bind(lt)),re&&(re=re.bind(lt));var It=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?lt:B.convert(Object.assign({},lt),Promise.prototype),Et=Ae.call(It,U,re);return B.convert(Et,lt.__proto__)},B.prototype.thenExternal=function(U,re){return Promise.prototype.then.call(this,U,re)},B.prototype.thenList=function(U){var re=this;return U.forEach(function(Ae){re=re.thenCore(Ae)}),re},B.prototype.catch=function(U){U&&(U=U.bind(this));var re=Promise.prototype.catch.call(this,U);return B.convert(re,this)},B.prototype.catchExternal=function(U){return Promise.prototype.catch.call(this,U)},B.prototype.error=function(U){return this.then(function(){throw new Error(U)})},B.prototype.using=B.prototype.set,B.prototype.saveAs=B.prototype.save,B.prototype.export=B.prototype.output,B.prototype.run=B.prototype.then,z.getPageSize=function(U,re,Ae){if((0,a.Z)(U)==="object"){var lt=U;U=lt.orientation,re=lt.unit||re,Ae=lt.format||Ae}re=re||"mm",Ae=Ae||"a4",U=(""+(U||"P")).toLowerCase();var It,Et=(""+Ae).toLowerCase(),ve={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(re){case"pt":It=1;break;case"mm":It=72/25.4;break;case"cm":It=72/2.54;break;case"in":It=72;break;case"px":It=.75;break;case"pc":case"em":It=12;break;case"ex":It=6;break;default:throw"Invalid unit: "+re}var kt,Ge=0,Vt=0;if(ve.hasOwnProperty(Et))Ge=ve[Et][1]/It,Vt=ve[Et][0]/It;else try{Ge=Ae[1],Vt=Ae[0]}catch(vt){throw new Error("Invalid format: "+Ae)}if(U==="p"||U==="portrait")U="p",Vt>Ge&&(kt=Vt,Vt=Ge,Ge=kt);else{if(U!=="l"&&U!=="landscape")throw"Invalid orientation: "+U;U="l",Ge>Vt&&(kt=Vt,Vt=Ge,Ge=kt)}return{width:Vt,height:Ge,unit:re,k:It,orientation:U}},f.html=function(U,re){(re=re||{}).callback=re.callback||function(){},re.html2canvas=re.html2canvas||{},re.html2canvas.canvas=re.html2canvas.canvas||this.canvas,re.jsPDF=re.jsPDF||this,re.fontFaces=re.fontFaces?re.fontFaces.map(vr):null;var Ae=new B(re);return re.worker?Ae:Ae.from(U).doCallback()}}(z.API),z.API.addJS=function(f){return Ur=f,this.internal.events.subscribe("postPutResources",function(){mt=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(mt+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Zt=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Ur+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){mt!==void 0&&Zt!==void 0&&this.internal.out("/Names <</JavaScript "+mt+" 0 R>>")}),this},function(f){var s;f.events.push(["postPutResources",function(){var p=this,b=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var $=p.outline.render().split(/\r\n/),v=0;v<$.length;v++){var B=$[v],U=b.exec(B);if(U!=null){var re=U[1];p.internal.newObjectDeferredBegin(re,!1)}p.internal.write(B)}if(this.outline.createNamedDestinations){var Ae=this.internal.pages.length,lt=[];for(v=0;v<Ae;v++){var It=p.internal.newObject();lt.push(It);var Et=p.internal.getPageInfo(v+1);p.internal.write("<< /D["+Et.objId+" 0 R /XYZ null null null]>> endobj")}var ve=p.internal.newObject();for(p.internal.write("<< /Names [ "),v=0;v<lt.length;v++)p.internal.write("(page_"+(v+1)+")"+lt[v]+" 0 R");p.internal.write(" ] >>","endobj"),s=p.internal.newObject(),p.internal.write("<< /Dests "+ve+" 0 R"),p.internal.write(">>","endobj")}}]),f.events.push(["putCatalog",function(){var p=this;p.outline.root.children.length>0&&(p.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&p.internal.write("/Names "+s+" 0 R"))}]),f.events.push(["initialized",function(){var p=this;p.outline={createNamedDestinations:!1,root:{children:[]}},p.outline.add=function(b,$,v){var B={title:$,options:v,children:[]};return b==null&&(b=this.root),b.children.push(B),B},p.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=p,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},p.outline.genIds_r=function(b){b.id=p.internal.newObjectDeferred();for(var $=0;$<b.children.length;$++)this.genIds_r(b.children[$])},p.outline.renderRoot=function(b){this.objStart(b),this.line("/Type /Outlines"),b.children.length>0&&(this.line("/First "+this.makeRef(b.children[0])),this.line("/Last "+this.makeRef(b.children[b.children.length-1]))),this.line("/Count "+this.count_r({count:0},b)),this.objEnd()},p.outline.renderItems=function(b){for(var $=this.ctx.pdf.internal.getVerticalCoordinateString,v=0;v<b.children.length;v++){var B=b.children[v];this.objStart(B),this.line("/Title "+this.makeString(B.title)),this.line("/Parent "+this.makeRef(b)),v>0&&this.line("/Prev "+this.makeRef(b.children[v-1])),v<b.children.length-1&&this.line("/Next "+this.makeRef(b.children[v+1])),B.children.length>0&&(this.line("/First "+this.makeRef(B.children[0])),this.line("/Last "+this.makeRef(B.children[B.children.length-1])));var U=this.count=this.count_r({count:0},B);if(U>0&&this.line("/Count "+U),B.options&&B.options.pageNumber){var re=p.internal.getPageInfo(B.options.pageNumber);this.line("/Dest ["+re.objId+" 0 R /XYZ 0 "+$(0)+" 0]")}this.objEnd()}for(var Ae=0;Ae<b.children.length;Ae++)this.renderItems(b.children[Ae])},p.outline.line=function(b){this.ctx.val+=b+`\r
`},p.outline.makeRef=function(b){return b.id+" 0 R"},p.outline.makeString=function(b){return"("+p.internal.pdfEscape(b)+")"},p.outline.objStart=function(b){this.ctx.val+=`\r
`+b.id+` 0 obj\r
<<\r
`},p.outline.objEnd=function(){this.ctx.val+=`>> \r
endobj\r
`},p.outline.count_r=function(b,$){for(var v=0;v<$.children.length;v++)b.count++,this.count_r(b,$.children[v]);return b.count}}])}(z.API),function(f){var s=[192,193,194,195,196,197,198,199];f.processJPEG=function(p,b,$,v,B,U){var re,Ae=this.decode.DCT_DECODE,lt=null;if(typeof p=="string"||this.__addimage__.isArrayBuffer(p)||this.__addimage__.isArrayBufferView(p)){switch(p=B||p,p=this.__addimage__.isArrayBuffer(p)?new Uint8Array(p):p,re=function(It){for(var Et,ve=256*It.charCodeAt(4)+It.charCodeAt(5),kt=It.length,Ge={width:0,height:0,numcomponents:1},Vt=4;Vt<kt;Vt+=2){if(Vt+=ve,s.indexOf(It.charCodeAt(Vt+1))!==-1){Et=256*It.charCodeAt(Vt+5)+It.charCodeAt(Vt+6),Ge={width:256*It.charCodeAt(Vt+7)+It.charCodeAt(Vt+8),height:Et,numcomponents:It.charCodeAt(Vt+9)};break}ve=256*It.charCodeAt(Vt+2)+It.charCodeAt(Vt+3)}return Ge}(p=this.__addimage__.isArrayBufferView(p)?this.__addimage__.arrayBufferToBinaryString(p):p),re.numcomponents){case 1:U=this.color_spaces.DEVICE_GRAY;break;case 4:U=this.color_spaces.DEVICE_CMYK;break;case 3:U=this.color_spaces.DEVICE_RGB}lt={data:p,width:re.width,height:re.height,colorSpace:U,bitsPerComponent:8,filter:Ae,index:b,alias:$}}return lt}}(z.API),z.API.processPNG=function(f,s,p,b){if(this.__addimage__.isArrayBuffer(f)&&(f=new Uint8Array(f)),this.__addimage__.isArrayBufferView(f)){var $,v=(0,Re.Jx)(f,{checkCrc:!0}),B=v.width,U=v.height,re=v.channels,Ae=v.palette,lt=v.depth;$=Ae&&re===1?function(Ut){for(var Nt=Ut.width,$t=Ut.height,qt=Ut.data,He=Ut.palette,ze=Ut.depth,At=!1,dt=[],dr=[],br=void 0,Jt=!1,Tt=0,ir=0;ir<He.length;ir++){var Zr=(0,L.Z)(He[ir],4),Wt=Zr[0],Pe=Zr[1],yt=Zr[2],Bt=Zr[3];dt.push(Wt,Pe,yt),Bt!=null&&(Bt===0?(Tt++,dr.length<1&&dr.push(ir)):Bt<255&&(Jt=!0))}if(Jt||Tt>1){At=!0,dr=void 0;var ht=Nt*$t;br=new Uint8Array(ht);for(var Yt=new DataView(qt.buffer),lr=0;lr<ht;lr++){var mr=or(Yt,lr,ze),Or=(0,L.Z)(He[mr],4)[3];br[lr]=Or}}return{colorSpace:"Indexed",colorsPerPixel:1,colorBytes:qt,alphaBytes:br,needSMask:At,palette:dt,mask:dr}}(v):re===2||re===4?function(Ut){for(var Nt=Ut.data,$t=Ut.width,qt=Ut.height,He=Ut.channels,ze=Ut.depth,At=He===2?"DeviceGray":"DeviceRGB",dt=He-1,dr=$t*qt,br=dt,Jt=dr*br,Tt=1*dr,ir=Math.ceil(Jt*ze/8),Zr=Math.ceil(Tt*ze/8),Wt=new Uint8Array(ir),Pe=new Uint8Array(Zr),yt=new DataView(Nt.buffer),Bt=new DataView(Wt.buffer),ht=new DataView(Pe.buffer),Yt=!1,lr=0;lr<dr;lr++){for(var mr=lr*He,Or=0;Or<br;Or++)jr(Bt,or(yt,mr+Or,ze),lr*br+Or,ze);var Rr=or(yt,mr+br,ze);Rr<(1<<ze)-1&&(Yt=!0),jr(ht,Rr,1*lr,ze)}return{colorSpace:At,colorsPerPixel:dt,colorBytes:Wt,alphaBytes:Pe,needSMask:Yt}}(v):function(Ut){var Nt=Ut.data,$t=Ut.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:$t,colorsPerPixel:$t==="DeviceGray"?1:3,colorBytes:Nt instanceof Uint8Array?Nt:new Uint8Array(Nt.buffer),needSMask:!1}}(v);var It,Et,ve,kt=$,Ge=kt.colorSpace,Vt=kt.colorsPerPixel,vt=kt.colorBytes,nr=kt.alphaBytes,xr=kt.needSMask,Qt=kt.palette,nt=kt.mask,Ce=null;return b!==z.API.image_compression.NONE&&typeof qe.iZ=="function"?(Ce=function(Ut){var Nt;switch(Ut){case z.API.image_compression.FAST:Nt=11;break;case z.API.image_compression.MEDIUM:Nt=13;break;case z.API.image_compression.SLOW:Nt=14;break;default:Nt=12}return Nt}(b),It=this.decode.FLATE_DECODE,Et="/Predictor ".concat(Ce," "),f=et(vt,B*Vt,Vt,b),xr&&(ve=et(nr,B,1,b))):(It=void 0,Et="",f=vt,xr&&(ve=nr)),Et+="/Colors ".concat(Vt," /BitsPerComponent ").concat(lt," /Columns ").concat(B),(this.__addimage__.isArrayBuffer(f)||this.__addimage__.isArrayBufferView(f))&&(f=this.__addimage__.arrayBufferToBinaryString(f)),(ve&&this.__addimage__.isArrayBuffer(ve)||this.__addimage__.isArrayBufferView(ve))&&(ve=this.__addimage__.arrayBufferToBinaryString(ve)),{alias:p,data:f,index:s,filter:It,decodeParameters:Et,transparency:nt,palette:Qt,sMask:ve,predictor:Ce,width:B,height:U,bitsPerComponent:lt,colorSpace:Ge}}},function(f){f.processGIF89A=function(s,p,b,$){var v=new Hr(s),B=v.width,U=v.height,re=[];v.decodeAndBlitFrameRGBA(0,re);var Ae={data:re,width:B,height:U},lt=new nn(100).encode(Ae,100);return f.processJPEG.call(this,lt,p,b,$)},f.processGIF87A=f.processGIF89A}(z.API),sn.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 f=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(f);for(var s=0;s<f;s++){var p=this.datav.getUint8(this.pos++,!0),b=this.datav.getUint8(this.pos++,!0),$=this.datav.getUint8(this.pos++,!0),v=this.datav.getUint8(this.pos++,!0);this.palette[s]={red:$,green:b,blue:p,quad:v}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},sn.prototype.parseBGR=function(){this.pos=this.offset;try{var f="bit"+this.bitPP,s=this.width*this.height*4;this.data=new Uint8Array(s),this[f]()}catch(p){_.log("bit decode error:"+p)}},sn.prototype.bit1=function(){var f,s=Math.ceil(this.width/8),p=s%4;for(f=this.height-1;f>=0;f--){for(var b=this.bottom_up?f:this.height-1-f,$=0;$<s;$++)for(var v=this.datav.getUint8(this.pos++,!0),B=b*this.width*4+8*$*4,U=0;U<8&&8*$+U<this.width;U++){var re=this.palette[v>>7-U&1];this.data[B+4*U]=re.blue,this.data[B+4*U+1]=re.green,this.data[B+4*U+2]=re.red,this.data[B+4*U+3]=255}p!==0&&(this.pos+=4-p)}},sn.prototype.bit4=function(){for(var f=Math.ceil(this.width/2),s=f%4,p=this.height-1;p>=0;p--){for(var b=this.bottom_up?p:this.height-1-p,$=0;$<f;$++){var v=this.datav.getUint8(this.pos++,!0),B=b*this.width*4+2*$*4,U=v>>4,re=15&v,Ae=this.palette[U];if(this.data[B]=Ae.blue,this.data[B+1]=Ae.green,this.data[B+2]=Ae.red,this.data[B+3]=255,2*$+1>=this.width)break;Ae=this.palette[re],this.data[B+4]=Ae.blue,this.data[B+4+1]=Ae.green,this.data[B+4+2]=Ae.red,this.data[B+4+3]=255}s!==0&&(this.pos+=4-s)}},sn.prototype.bit8=function(){for(var f=this.width%4,s=this.height-1;s>=0;s--){for(var p=this.bottom_up?s:this.height-1-s,b=0;b<this.width;b++){var $=this.datav.getUint8(this.pos++,!0),v=p*this.width*4+4*b;if($<this.palette.length){var B=this.palette[$];this.data[v]=B.red,this.data[v+1]=B.green,this.data[v+2]=B.blue,this.data[v+3]=255}else this.data[v]=255,this.data[v+1]=255,this.data[v+2]=255,this.data[v+3]=255}f!==0&&(this.pos+=4-f)}},sn.prototype.bit15=function(){for(var f=this.width%3,s=parseInt("11111",2),p=this.height-1;p>=0;p--){for(var b=this.bottom_up?p:this.height-1-p,$=0;$<this.width;$++){var v=this.datav.getUint16(this.pos,!0);this.pos+=2;var B=(v&s)/s*255|0,U=(v>>5&s)/s*255|0,re=(v>>10&s)/s*255|0,Ae=v>>15?255:0,lt=b*this.width*4+4*$;this.data[lt]=re,this.data[lt+1]=U,this.data[lt+2]=B,this.data[lt+3]=Ae}this.pos+=f}},sn.prototype.bit16=function(){for(var f=this.width%3,s=parseInt("11111",2),p=parseInt("111111",2),b=this.height-1;b>=0;b--){for(var $=this.bottom_up?b:this.height-1-b,v=0;v<this.width;v++){var B=this.datav.getUint16(this.pos,!0);this.pos+=2;var U=(B&s)/s*255|0,re=(B>>5&p)/p*255|0,Ae=(B>>11)/s*255|0,lt=$*this.width*4+4*v;this.data[lt]=Ae,this.data[lt+1]=re,this.data[lt+2]=U,this.data[lt+3]=255}this.pos+=f}},sn.prototype.bit24=function(){for(var f=this.height-1;f>=0;f--){for(var s=this.bottom_up?f:this.height-1-f,p=0;p<this.width;p++){var b=this.datav.getUint8(this.pos++,!0),$=this.datav.getUint8(this.pos++,!0),v=this.datav.getUint8(this.pos++,!0),B=s*this.width*4+4*p;this.data[B]=v,this.data[B+1]=$,this.data[B+2]=b,this.data[B+3]=255}this.pos+=this.width%4}},sn.prototype.bit32=function(){for(var f=this.height-1;f>=0;f--)for(var s=this.bottom_up?f:this.height-1-f,p=0;p<this.width;p++){var b=this.datav.getUint8(this.pos++,!0),$=this.datav.getUint8(this.pos++,!0),v=this.datav.getUint8(this.pos++,!0),B=this.datav.getUint8(this.pos++,!0),U=s*this.width*4+4*p;this.data[U]=v,this.data[U+1]=$,this.data[U+2]=b,this.data[U+3]=B}},sn.prototype.getData=function(){return this.data},function(f){f.processBMP=function(s,p,b,$){var v=new sn(s,!1),B=v.width,U=v.height,re={data:v.getData(),width:B,height:U},Ae=new nn(100).encode(re,100);return f.processJPEG.call(this,Ae,p,b,$)}}(z.API),$n.prototype.getData=function(){return this.data},function(f){f.processWEBP=function(s,p,b,$){var v=new $n(s),B=v.width,U=v.height,re={data:v.getData(),width:B,height:U},Ae=new nn(100).encode(re,100);return f.processJPEG.call(this,Ae,p,b,$)}}(z.API),z.API.processRGBA=function(f,s,p){for(var b=f.data,$=b.length,v=new Uint8Array($/4*3),B=new Uint8Array($/4),U=0,re=0,Ae=0;Ae<$;Ae+=4){var lt=b[Ae],It=b[Ae+1],Et=b[Ae+2],ve=b[Ae+3];v[U++]=lt,v[U++]=It,v[U++]=Et,B[re++]=ve}var kt=this.__addimage__.arrayBufferToBinaryString(v);return{alpha:this.__addimage__.arrayBufferToBinaryString(B),data:kt,index:s,alias:p,colorSpace:"DeviceRGB",bitsPerComponent:8,width:f.width,height:f.height}},z.API.setLanguage=function(f){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"}[f]!==void 0&&(this.internal.languageSettings.languageCode=f,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},Pr=z.API,Jr=Pr.getCharWidthsArray=function(f,s){var p,b,$=(s=s||{}).font||this.internal.getFont(),v=s.fontSize||this.internal.getFontSize(),B=s.charSpace||this.internal.getCharSpace(),U=s.widths?s.widths:$.metadata.Unicode.widths,re=U.fof?U.fof:1,Ae=s.kerning?s.kerning:$.metadata.Unicode.kerning,lt=Ae.fof?Ae.fof:1,It=s.doKerning!==!1,Et=0,ve=f.length,kt=0,Ge=U[0]||re,Vt=[];for(p=0;p<ve;p++)b=f.charCodeAt(p),typeof $.metadata.widthOfString=="function"?Vt.push(($.metadata.widthOfGlyph($.metadata.characterToGlyph(b))+B*(1e3/v)||0)/1e3):(Et=It&&(0,a.Z)(Ae[b])==="object"&&!isNaN(parseInt(Ae[b][kt],10))?Ae[b][kt]/lt:0,Vt.push((U[b]||Ge)/re+Et)),kt=b;return Vt},vn=Pr.getStringUnitWidth=function(f,s){var p=(s=s||{}).fontSize||this.internal.getFontSize(),b=s.font||this.internal.getFont(),$=s.charSpace||this.internal.getCharSpace();return Pr.processArabic&&(f=Pr.processArabic(f)),typeof b.metadata.widthOfString=="function"?b.metadata.widthOfString(f,p,$)/p:Jr.apply(this,arguments).reduce(function(v,B){return v+B},0)},Qn=function(f,s,p,b){for(var $=[],v=0,B=f.length,U=0;v!==B&&U+s[v]<p;)U+=s[v],v++;$.push(f.slice(0,v));var re=v;for(U=0;v!==B;)U+s[v]>b&&($.push(f.slice(re,v)),U=0,re=v),U+=s[v],v++;return re!==v&&$.push(f.slice(re,v)),$},ge=function(f,s,p){p||(p={});var b,$,v,B,U,re,Ae,lt=[],It=[lt],Et=p.textIndent||0,ve=0,kt=0,Ge=f.split(" "),Vt=Jr.apply(this,[" ",p])[0];if(re=p.lineIndent===-1?Ge[0].length+2:p.lineIndent||0){var vt=Array(re).join(" "),nr=[];Ge.map(function(Qt){(Qt=Qt.split(/\s*\n/)).length>1?nr=nr.concat(Qt.map(function(nt,Ce){return(Ce&&nt.length?`
`:"")+nt})):nr.push(Qt[0])}),Ge=nr,re=vn.apply(this,[vt,p])}for(v=0,B=Ge.length;v<B;v++){var xr=0;if(b=Ge[v],re&&b[0]==`
`&&(b=b.substr(1),xr=1),Et+ve+(kt=($=Jr.apply(this,[b,p])).reduce(function(Qt,nt){return Qt+nt},0))>s||xr){if(kt>s){for(U=Qn.apply(this,[b,$,s-(Et+ve),s]),lt.push(U.shift()),lt=[U.pop()];U.length;)It.push([U.shift()]);kt=$.slice(b.length-(lt[0]?lt[0].length:0)).reduce(function(Qt,nt){return Qt+nt},0)}else lt=[b];It.push(lt),Et=kt+re,ve=Vt}else lt.push(b),Et+=ve+kt,ve=Vt}return Ae=re?function(Qt,nt){return(nt?vt:"")+Qt.join(" ")}:function(Qt){return Qt.join(" ")},It.map(Ae)},Pr.splitTextToSize=function(f,s,p){var b,$=(p=p||{}).fontSize||this.internal.getFontSize(),v=function(lt){if(lt.widths&&lt.kerning)return{widths:lt.widths,kerning:lt.kerning};var It=this.internal.getFont(lt.fontName,lt.fontStyle),Et="Unicode";return It.metadata[Et]?{widths:It.metadata[Et].widths||{0:1},kerning:It.metadata[Et].kerning||{}}:{font:It.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,p);b=Array.isArray(f)?f:String(f).split(/\r?\n/);var B=1*this.internal.scaleFactor*s/$;v.textIndent=p.textIndent?1*p.textIndent*this.internal.scaleFactor/$:0,v.lineIndent=p.lineIndent;var U,re,Ae=[];for(U=0,re=b.length;U<re;U++)Ae=Ae.concat(ge.apply(this,[b[U],B,v]));return Ae},function(f){f.__fontmetrics__=f.__fontmetrics__||{};for(var s="0123456789abcdef",p="klmnopqrstuvwxyz",b={},$={},v=0;v<16;v++)b[p[v]]=s[v],$[s[v]]=p[v];var B=function(Et){return"0x"+parseInt(Et,10).toString(16)},U=f.__fontmetrics__.compress=function(Et){var ve,kt,Ge,Vt,vt=["{"];for(var nr in Et){if(ve=Et[nr],isNaN(parseInt(nr,10))?kt="'"+nr+"'":(nr=parseInt(nr,10),kt=(kt=B(nr).slice(2)).slice(0,-1)+$[kt.slice(-1)]),typeof ve=="number")ve<0?(Ge=B(ve).slice(3),Vt="-"):(Ge=B(ve).slice(2),Vt=""),Ge=Vt+Ge.slice(0,-1)+$[Ge.slice(-1)];else{if((0,a.Z)(ve)!=="object")throw new Error("Don't know what to do with value type "+(0,a.Z)(ve)+".");Ge=U(ve)}vt.push(kt+Ge)}return vt.push("}"),vt.join("")},re=f.__fontmetrics__.uncompress=function(Et){if(typeof Et!="string")throw new Error("Invalid argument passed to uncompress.");for(var ve,kt,Ge,Vt,vt={},nr=1,xr=vt,Qt=[],nt="",Ce="",Ut=Et.length-1,Nt=1;Nt<Ut;Nt+=1)(Vt=Et[Nt])=="'"?ve?(Ge=ve.join(""),ve=void 0):ve=[]:ve?ve.push(Vt):Vt=="{"?(Qt.push([xr,Ge]),xr={},Ge=void 0):Vt=="}"?((kt=Qt.pop())[0][kt[1]]=xr,Ge=void 0,xr=kt[0]):Vt=="-"?nr=-1:Ge===void 0?b.hasOwnProperty(Vt)?(nt+=b[Vt],Ge=parseInt(nt,16)*nr,nr=1,nt=""):nt+=Vt:b.hasOwnProperty(Vt)?(Ce+=b[Vt],xr[Ge]=parseInt(Ce,16)*nr,nr=1,Ge=void 0,Ce=""):Ce+=Vt;return vt},Ae={codePages:["WinAnsiEncoding"],WinAnsiEncoding:re("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},lt={Unicode:{Courier:Ae,"Courier-Bold":Ae,"Courier-BoldOblique":Ae,"Courier-Oblique":Ae,Helvetica:Ae,"Helvetica-Bold":Ae,"Helvetica-BoldOblique":Ae,"Helvetica-Oblique":Ae,"Times-Roman":Ae,"Times-Bold":Ae,"Times-BoldItalic":Ae,"Times-Italic":Ae}},It={Unicode:{"Courier-Oblique":re("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":re("{'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":re("{'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:re("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":re("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":re("{'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:re("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:re("{'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":re("{'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:re("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":re("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":re("{'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":re("{'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":re("{'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}}}")}};f.events.push(["addFont",function(Et){var ve=Et.font,kt=It.Unicode[ve.postScriptName];kt&&(ve.metadata.Unicode={},ve.metadata.Unicode.widths=kt.widths,ve.metadata.Unicode.kerning=kt.kerning);var Ge=lt.Unicode[ve.postScriptName];Ge&&(ve.metadata.Unicode.encoding=Ge,ve.encoding=Ge.codePages[0])}])}(z.API),function(f){var s=function(p){for(var b=p.length,$=new Uint8Array(b),v=0;v<b;v++)$[v]=p.charCodeAt(v);return $};f.API.events.push(["addFont",function(p){var b=void 0,$=p.font,v=p.instance;if(!$.isStandardFont){if(v===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+$.postScriptName+"').");if(typeof(b=v.existsFileInVFS($.postScriptName)===!1?v.loadFile($.postScriptName):v.getFileFromVFS($.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+$.postScriptName+"').");(function(B,U){U=/^\x00\x01\x00\x00/.test(U)?s(U):s(G(U)),B.metadata=f.API.TTFFont.open(U),B.metadata.Unicode=B.metadata.Unicode||{encoding:{},kerning:{},widths:[]},B.metadata.glyIdsUsed=[0]})($,b)}}])}(z),z.API.addSvgAsImage=function(f,s,p,b,$,v,B,U){if(isNaN(s)||isNaN(p))throw _.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(b)||isNaN($))throw _.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var re=document.createElement("canvas");re.width=b,re.height=$;var Ae=re.getContext("2d");Ae.fillStyle="#fff",Ae.fillRect(0,0,re.width,re.height);var lt={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},It=this;return(q.canvg?Promise.resolve(q.canvg):n.e(3754).then(n.bind(n,63754))).catch(function(Et){return Promise.reject(new Error("Could not load canvg: "+Et))}).then(function(Et){return Et.default?Et.default:Et}).then(function(Et){return Et.fromString(Ae,f,lt)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(Et){return Et.render(lt)}).then(function(){It.addImage(re.toDataURL("image/jpeg",1),s,p,b,$,B,U)})},z.API.putTotalPages=function(f){var s,p=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(s=new RegExp(f,"g"),p=this.internal.getNumberOfPages()):(s=new RegExp(this.pdfEscape16(f,this.internal.getFont()),"g"),p=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var b=1;b<=this.internal.getNumberOfPages();b++)for(var $=0;$<this.internal.pages[b].length;$++)this.internal.pages[b][$]=this.internal.pages[b][$].replace(s,p);return this},z.API.viewerPreferences=function(f,s){var p;f=f||{},s=s||!1;var b,$,v,B={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}},U=Object.keys(B),re=[],Ae=0,lt=0,It=0;function Et(kt,Ge){var Vt,vt=!1;for(Vt=0;Vt<kt.length;Vt+=1)kt[Vt]===Ge&&(vt=!0);return vt}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(B)),this.internal.viewerpreferences.isSubscribed=!1),p=this.internal.viewerpreferences.configuration,f==="reset"||s===!0){var ve=U.length;for(It=0;It<ve;It+=1)p[U[It]].value=p[U[It]].defaultValue,p[U[It]].explicitSet=!1}if((0,a.Z)(f)==="object"){for($ in f)if(v=f[$],Et(U,$)&&v!==void 0){if(p[$].type==="boolean"&&typeof v=="boolean")p[$].value=v;else if(p[$].type==="name"&&Et(p[$].valueSet,v))p[$].value=v;else if(p[$].type==="integer"&&Number.isInteger(v))p[$].value=v;else if(p[$].type==="array"){for(Ae=0;Ae<v.length;Ae+=1)if(b=!0,v[Ae].length===1&&typeof v[Ae][0]=="number")re.push(String(v[Ae]-1));else if(v[Ae].length>1){for(lt=0;lt<v[Ae].length;lt+=1)typeof v[Ae][lt]!="number"&&(b=!1);b===!0&&re.push([v[Ae][0]-1,v[Ae][1]-1].join(" "))}p[$].value="["+re.join(" ")+"]"}else p[$].value=p[$].defaultValue;p[$].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var kt,Ge=[];for(kt in p)p[kt].explicitSet===!0&&(p[kt].type==="name"?Ge.push("/"+kt+" /"+p[kt].value):Ge.push("/"+kt+" "+p[kt].value));Ge.length!==0&&this.internal.write(`/ViewerPreferences
<<
`+Ge.join(`
`)+`
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=p,this},function(f){var s=function(){var b='<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>',$=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),v=unescape(encodeURIComponent(b)),B=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),U=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),re=unescape(encodeURIComponent("</x:xmpmeta>")),Ae=v.length+B.length+U.length+$.length+re.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Ae+" >>"),this.internal.write("stream"),this.internal.write($+v+B+U+re),this.internal.write("endstream"),this.internal.write("endobj")},p=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};f.addMetadata=function(b,$){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:b,namespaceuri:$||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",p),this.internal.events.subscribe("postPutResources",s)),this}}(z.API),function(f){var s=f.API,p=s.pdfEscape16=function(v,B){for(var U,re=B.metadata.Unicode.widths,Ae=["","0","00","000","0000"],lt=[""],It=0,Et=v.length;It<Et;++It){if(U=B.metadata.characterToGlyph(v.charCodeAt(It)),B.metadata.glyIdsUsed.push(U),B.metadata.toUnicode[U]=v.charCodeAt(It),re.indexOf(U)==-1&&(re.push(U),re.push([parseInt(B.metadata.widthOfGlyph(U),10)])),U=="0")return lt.join("");U=U.toString(16),lt.push(Ae[4-U.length],U)}return lt.join("")},b=function(v){var B,U,re,Ae,lt,It,Et;for(lt=`/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`,re=[],It=0,Et=(U=Object.keys(v).sort(function(ve,kt){return ve-kt})).length;It<Et;It++)B=U[It],re.length>=100&&(lt+=`
`+re.length+` beginbfchar
`+re.join(`
`)+`
endbfchar`,re=[]),v[B]!==void 0&&v[B]!==null&&typeof v[B].toString=="function"&&(Ae=("0000"+v[B].toString(16)).slice(-4),B=("0000"+(+B).toString(16)).slice(-4),re.push("<"+B+"><"+Ae+">"));return re.length&&(lt+=`
`+re.length+` beginbfchar
`+re.join(`
`)+`
endbfchar
`),lt+`endcmap
CMapName currentdict /CMap defineresource pop
end
end`};s.events.push(["putFont",function(v){(function(B){var U=B.font,re=B.out,Ae=B.newObject,lt=B.putStream;if(U.metadata instanceof f.API.TTFFont&&U.encoding==="Identity-H"){for(var It=U.metadata.Unicode.widths,Et=U.metadata.subset.encode(U.metadata.glyIdsUsed,1),ve="",kt=0;kt<Et.length;kt++)ve+=String.fromCharCode(Et[kt]);var Ge=Ae();lt({data:ve,addLength1:!0,objectId:Ge}),re("endobj");var Vt=Ae();lt({data:b(U.metadata.toUnicode),addLength1:!0,objectId:Vt}),re("endobj");var vt=Ae();re("<<"),re("/Type /FontDescriptor"),re("/FontName /"+I(U.fontName)),re("/FontFile2 "+Ge+" 0 R"),re("/FontBBox "+f.API.PDFObject.convert(U.metadata.bbox)),re("/Flags "+U.metadata.flags),re("/StemV "+U.metadata.stemV),re("/ItalicAngle "+U.metadata.italicAngle),re("/Ascent "+U.metadata.ascender),re("/Descent "+U.metadata.decender),re("/CapHeight "+U.metadata.capHeight),re(">>"),re("endobj");var nr=Ae();re("<<"),re("/Type /Font"),re("/BaseFont /"+I(U.fontName)),re("/FontDescriptor "+vt+" 0 R"),re("/W "+f.API.PDFObject.convert(It)),re("/CIDToGIDMap /Identity"),re("/DW 1000"),re("/Subtype /CIDFontType2"),re("/CIDSystemInfo"),re("<<"),re("/Supplement 0"),re("/Registry (Adobe)"),re("/Ordering ("+U.encoding+")"),re(">>"),re(">>"),re("endobj"),U.objectNumber=Ae(),re("<<"),re("/Type /Font"),re("/Subtype /Type0"),re("/ToUnicode "+Vt+" 0 R"),re("/BaseFont /"+I(U.fontName)),re("/Encoding /"+U.encoding),re("/DescendantFonts ["+nr+" 0 R]"),re(">>"),re("endobj"),U.isAlreadyPutted=!0}})(v)}]),s.events.push(["putFont",function(v){(function(B){var U=B.font,re=B.out,Ae=B.newObject,lt=B.putStream;if(U.metadata instanceof f.API.TTFFont&&U.encoding==="WinAnsiEncoding"){for(var It=U.metadata.rawData,Et="",ve=0;ve<It.length;ve++)Et+=String.fromCharCode(It[ve]);var kt=Ae();lt({data:Et,addLength1:!0,objectId:kt}),re("endobj");var Ge=Ae();lt({data:b(U.metadata.toUnicode),addLength1:!0,objectId:Ge}),re("endobj");var Vt=Ae();re("<<"),re("/Descent "+U.metadata.decender),re("/CapHeight "+U.metadata.capHeight),re("/StemV "+U.metadata.stemV),re("/Type /FontDescriptor"),re("/FontFile2 "+kt+" 0 R"),re("/Flags 96"),re("/FontBBox "+f.API.PDFObject.convert(U.metadata.bbox)),re("/FontName /"+I(U.fontName)),re("/ItalicAngle "+U.metadata.italicAngle),re("/Ascent "+U.metadata.ascender),re(">>"),re("endobj"),U.objectNumber=Ae();for(var vt=0;vt<U.metadata.hmtx.widths.length;vt++)U.metadata.hmtx.widths[vt]=parseInt(U.metadata.hmtx.widths[vt]*(1e3/U.metadata.head.unitsPerEm));re("<</Subtype/TrueType/Type/Font/ToUnicode "+Ge+" 0 R/BaseFont/"+I(U.fontName)+"/FontDescriptor "+Vt+" 0 R/Encoding/"+U.encoding+" /FirstChar 29 /LastChar 255 /Widths "+f.API.PDFObject.convert(U.metadata.hmtx.widths)+">>"),re("endobj"),U.isAlreadyPutted=!0}})(v)}]);var $=function(v){var B,U=v.text||"",re=v.x,Ae=v.y,lt=v.options||{},It=v.mutex||{},Et=It.pdfEscape,ve=It.activeFontKey,kt=It.fonts,Ge=ve,Vt="",vt=0,nr="",xr=kt[Ge].encoding;if(kt[Ge].encoding!=="Identity-H")return{text:U,x:re,y:Ae,options:lt,mutex:It};for(nr=U,Ge=ve,Array.isArray(U)&&(nr=U[0]),vt=0;vt<nr.length;vt+=1)kt[Ge].metadata.hasOwnProperty("cmap")&&(B=kt[Ge].metadata.cmap.unicode.codeMap[nr[vt].charCodeAt(0)]),B||nr[vt].charCodeAt(0)<256&&kt[Ge].metadata.hasOwnProperty("Unicode")?Vt+=nr[vt]:Vt+="";var Qt="";return parseInt(Ge.slice(1))<14||xr==="WinAnsiEncoding"?Qt=Et(Vt,Ge).split("").map(function(nt){return nt.charCodeAt(0).toString(16)}).join(""):xr==="Identity-H"&&(Qt=p(Vt,kt[Ge])),It.isHex=!0,{text:Qt,x:re,y:Ae,options:lt,mutex:It}};s.events.push(["postProcessText",function(v){var B=v.text||"",U=[],re={text:B,x:v.x,y:v.y,options:v.options,mutex:v.mutex};if(Array.isArray(B)){var Ae=0;for(Ae=0;Ae<B.length;Ae+=1)Array.isArray(B[Ae])&&B[Ae].length===3?U.push([$(Object.assign({},re,{text:B[Ae][0]})).text,B[Ae][1],B[Ae][2]]):U.push($(Object.assign({},re,{text:B[Ae]})).text);v.text=U}else v.text=$(Object.assign({},re,{text:B})).text}])}(z),function(f){var s=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};f.existsFileInVFS=function(p){return s.call(this),this.internal.vFS[p]!==void 0},f.addFileToVFS=function(p,b){return s.call(this),this.internal.vFS[p]=b,this},f.getFileFromVFS=function(p){return s.call(this),this.internal.vFS[p]!==void 0?this.internal.vFS[p]:null}}(z.API),function(f){f.__bidiEngine__=f.prototype.__bidiEngine__=function(b){var $,v,B,U,re,Ae,lt,It=s,Et=[[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]],ve=[[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]],kt={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},Ge={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Vt=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],vt=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)$/),nr=!1,xr=0;this.__bidiEngine__={};var Qt=function(He){var ze=He.charCodeAt(),At=ze>>8,dt=Ge[At];return dt!==void 0?It[256*dt+(255&ze)]:At===252||At===253?"AL":vt.test(At)?"L":At===8?"R":"N"},nt=function(He){for(var ze,At=0;At<He.length;At++){if((ze=Qt(He.charAt(At)))==="L")return!1;if(ze==="R")return!0}return!1},Ce=function(He,ze,At,dt){var dr,br,Jt,Tt,ir=ze[dt];switch(ir){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":nr=!1;break;case"N":case"AN":break;case"EN":nr&&(ir="AN");break;case"AL":nr=!0,ir="R";break;case"WS":case"BN":ir="N";break;case"CS":dt<1||dt+1>=ze.length||(dr=At[dt-1])!=="EN"&&dr!=="AN"||(br=ze[dt+1])!=="EN"&&br!=="AN"?ir="N":nr&&(br="AN"),ir=br===dr?br:"N";break;case"ES":ir=(dr=dt>0?At[dt-1]:"B")==="EN"&&dt+1<ze.length&&ze[dt+1]==="EN"?"EN":"N";break;case"ET":if(dt>0&&At[dt-1]==="EN"){ir="EN";break}if(nr){ir="N";break}for(Jt=dt+1,Tt=ze.length;Jt<Tt&&ze[Jt]==="ET";)Jt++;ir=Jt<Tt&&ze[Jt]==="EN"?"EN":"N";break;case"NSM":if(B&&!U){for(Tt=ze.length,Jt=dt+1;Jt<Tt&&ze[Jt]==="NSM";)Jt++;if(Jt<Tt){var Zr=He[dt],Wt=Zr>=1425&&Zr<=2303||Zr===64286;if(dr=ze[Jt],Wt&&(dr==="R"||dr==="AL")){ir="R";break}}}ir=dt<1||(dr=ze[dt-1])==="B"?"N":At[dt-1];break;case"B":nr=!1,$=!0,ir=xr;break;case"S":v=!0,ir="N"}return ir},Ut=function(He,ze,At){var dt=He.split("");return At&&Nt(dt,At,{hiLevel:xr}),dt.reverse(),ze&&ze.reverse(),dt.join("")},Nt=function(He,ze,At){var dt,dr,br,Jt,Tt,ir=-1,Zr=He.length,Wt=0,Pe=[],yt=xr?ve:Et,Bt=[];for(nr=!1,$=!1,v=!1,dr=0;dr<Zr;dr++)Bt[dr]=Qt(He[dr]);for(br=0;br<Zr;br++){if(Tt=Wt,Pe[br]=Ce(He,Bt,Pe,br),dt=240&(Wt=yt[Tt][kt[Pe[br]]]),Wt&=15,ze[br]=Jt=yt[Wt][5],dt>0)if(dt===16){for(dr=ir;dr<br;dr++)ze[dr]=1;ir=-1}else ir=-1;if(yt[Wt][6])ir===-1&&(ir=br);else if(ir>-1){for(dr=ir;dr<br;dr++)ze[dr]=Jt;ir=-1}Bt[br]==="B"&&(ze[br]=0),At.hiLevel|=Jt}v&&function(ht,Yt,lr){for(var mr=0;mr<lr;mr++)if(ht[mr]==="S"){Yt[mr]=xr;for(var Or=mr-1;Or>=0&&ht[Or]==="WS";Or--)Yt[Or]=xr}}(Bt,ze,Zr)},$t=function(He,ze,At,dt,dr){if(!(dr.hiLevel<He)){if(He===1&&xr===1&&!$)return ze.reverse(),void(At&&At.reverse());for(var br,Jt,Tt,ir,Zr=ze.length,Wt=0;Wt<Zr;){if(dt[Wt]>=He){for(Tt=Wt+1;Tt<Zr&&dt[Tt]>=He;)Tt++;for(ir=Wt,Jt=Tt-1;ir<Jt;ir++,Jt--)br=ze[ir],ze[ir]=ze[Jt],ze[Jt]=br,At&&(br=At[ir],At[ir]=At[Jt],At[Jt]=br);Wt=Tt}Wt++}}},qt=function(He,ze,At){var dt=He.split(""),dr={hiLevel:xr};return At||(At=[]),Nt(dt,At,dr),function(br,Jt,Tt){if(Tt.hiLevel!==0&&lt)for(var ir,Zr=0;Zr<br.length;Zr++)Jt[Zr]===1&&(ir=Vt.indexOf(br[Zr]))>=0&&(br[Zr]=Vt[ir+1])}(dt,At,dr),$t(2,dt,ze,At,dr),$t(1,dt,ze,At,dr),dt.join("")};return this.__bidiEngine__.doBidiReorder=function(He,ze,At){if(function(dr,br){if(br)for(var Jt=0;Jt<dr.length;Jt++)br[Jt]=Jt;U===void 0&&(U=nt(dr)),Ae===void 0&&(Ae=nt(dr))}(He,ze),B||!re||Ae)if(B&&re&&U^Ae)xr=U?1:0,He=Ut(He,ze,At);else if(!B&&re&&Ae)xr=U?1:0,He=qt(He,ze,At),He=Ut(He,ze);else if(!B||U||re||Ae){if(B&&!re&&U^Ae)He=Ut(He,ze),U?(xr=0,He=qt(He,ze,At)):(xr=1,He=qt(He,ze,At),He=Ut(He,ze));else if(B&&U&&!re&&Ae)xr=1,He=qt(He,ze,At),He=Ut(He,ze);else if(!B&&!re&&U^Ae){var dt=lt;U?(xr=1,He=qt(He,ze,At),xr=0,lt=!1,He=qt(He,ze,At),lt=dt):(xr=0,He=qt(He,ze,At),He=Ut(He,ze),xr=1,lt=!1,He=qt(He,ze,At),lt=dt,He=Ut(He,ze))}}else xr=0,He=qt(He,ze,At);else xr=U?1:0,He=qt(He,ze,At);return He},this.__bidiEngine__.setOptions=function(He){He&&(B=He.isInputVisual,re=He.isOutputVisual,U=He.isInputRtl,Ae=He.isOutputRtl,lt=He.isSymmetricSwapping)},this.__bidiEngine__.setOptions(b),this.__bidiEngine__};var s=["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"],p=new f.__bidiEngine__({isInputVisual:!0});f.API.events.push(["postProcessText",function(b){var $=b.text;b.x,b.y;var v=b.options||{};b.mutex,v.lang;var B=[];if(v.isInputVisual=typeof v.isInputVisual!="boolean"||v.isInputVisual,p.setOptions(v),Object.prototype.toString.call($)==="[object Array]"){var U=0;for(B=[],U=0;U<$.length;U+=1)Object.prototype.toString.call($[U])==="[object Array]"?B.push([p.doBidiReorder($[U][0]),$[U][1],$[U][2]]):B.push([p.doBidiReorder($[U])]);b.text=B}else b.text=p.doBidiReorder($);p.setOptions({isInputVisual:!0})}])}(z),z.API.TTFFont=function(){function f(s){var p;if(this.rawData=s,p=this.contents=new On(s),this.contents.pos=4,p.readString(4)==="ttcf")throw new Error("TTCF not supported.");p.pos=0,this.parse(),this.subset=new uo(this),this.registerTTF()}return f.open=function(s){return new f(s)},f.prototype.parse=function(){return this.directory=new Tn(this.contents),this.head=new An(this),this.name=new ea(this),this.cmap=new da(this),this.toUnicode={},this.hhea=new Ln(this),this.maxp=new zn(this),this.hmtx=new xn(this),this.post=new Kn(this),this.os2=new aa(this),this.loca=new oo(this),this.glyf=new Ca(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]},f.prototype.registerTTF=function(){var s,p,b,$,v;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var B,U,re,Ae;for(Ae=[],B=0,U=(re=this.bbox).length;B<U;B++)s=re[B],Ae.push(Math.round(s*this.scaleFactor));return Ae}.call(this),this.stemV=0,this.post.exists?(b=255&($=this.post.italic_angle),32768&(p=$>>16)&&(p=-(1+(65535^p))),this.italicAngle=+(p+"."+b)):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=(v=this.familyClass)===1||v===2||v===3||v===4||v===5||v===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")},f.prototype.characterToGlyph=function(s){var p;return((p=this.cmap.unicode)!=null?p.codeMap[s]:void 0)||0},f.prototype.widthOfGlyph=function(s){var p;return p=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(s).advance*p},f.prototype.widthOfString=function(s,p,b){var $,v,B,U;for(B=0,v=0,U=(s=""+s).length;0<=U?v<U:v>U;v=0<=U?++v:--v)$=s.charCodeAt(v),B+=this.widthOfGlyph(this.characterToGlyph($))+b*(1e3/p)||0;return B*(p/1e3)},f.prototype.lineHeight=function(s,p){var b;return p==null&&(p=!1),b=p?this.lineGap:0,(this.ascender+b-this.decender)/1e3*s},f}();var Pn,On=function(){function f(s){this.data=s!=null?s:[],this.pos=0,this.length=this.data.length}return f.prototype.readByte=function(){return this.data[this.pos++]},f.prototype.writeByte=function(s){return this.data[this.pos++]=s},f.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},f.prototype.writeUInt32=function(s){return this.writeByte(s>>>24&255),this.writeByte(s>>16&255),this.writeByte(s>>8&255),this.writeByte(255&s)},f.prototype.readInt32=function(){var s;return(s=this.readUInt32())>=2147483648?s-4294967296:s},f.prototype.writeInt32=function(s){return s<0&&(s+=4294967296),this.writeUInt32(s)},f.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},f.prototype.writeUInt16=function(s){return this.writeByte(s>>8&255),this.writeByte(255&s)},f.prototype.readInt16=function(){var s;return(s=this.readUInt16())>=32768?s-65536:s},f.prototype.writeInt16=function(s){return s<0&&(s+=65536),this.writeUInt16(s)},f.prototype.readString=function(s){var p,b;for(b=[],p=0;0<=s?p<s:p>s;p=0<=s?++p:--p)b[p]=String.fromCharCode(this.readByte());return b.join("")},f.prototype.writeString=function(s){var p,b,$;for($=[],p=0,b=s.length;0<=b?p<b:p>b;p=0<=b?++p:--p)$.push(this.writeByte(s.charCodeAt(p)));return $},f.prototype.readShort=function(){return this.readInt16()},f.prototype.writeShort=function(s){return this.writeInt16(s)},f.prototype.readLongLong=function(){var s,p,b,$,v,B,U,re;return s=this.readByte(),p=this.readByte(),b=this.readByte(),$=this.readByte(),v=this.readByte(),B=this.readByte(),U=this.readByte(),re=this.readByte(),128&s?-1*(72057594037927940*(255^s)+281474976710656*(255^p)+1099511627776*(255^b)+4294967296*(255^$)+16777216*(255^v)+65536*(255^B)+256*(255^U)+(255^re)+1):72057594037927940*s+281474976710656*p+1099511627776*b+4294967296*$+16777216*v+65536*B+256*U+re},f.prototype.writeLongLong=function(s){var p,b;return p=Math.floor(s/4294967296),b=4294967295&s,this.writeByte(p>>24&255),this.writeByte(p>>16&255),this.writeByte(p>>8&255),this.writeByte(255&p),this.writeByte(b>>24&255),this.writeByte(b>>16&255),this.writeByte(b>>8&255),this.writeByte(255&b)},f.prototype.readInt=function(){return this.readInt32()},f.prototype.writeInt=function(s){return this.writeInt32(s)},f.prototype.read=function(s){var p,b;for(p=[],b=0;0<=s?b<s:b>s;b=0<=s?++b:--b)p.push(this.readByte());return p},f.prototype.write=function(s){var p,b,$,v;for(v=[],b=0,$=s.length;b<$;b++)p=s[b],v.push(this.writeByte(p));return v},f}(),Tn=function(){var f;function s(p){var b,$,v;for(this.scalarType=p.readInt(),this.tableCount=p.readShort(),this.searchRange=p.readShort(),this.entrySelector=p.readShort(),this.rangeShift=p.readShort(),this.tables={},$=0,v=this.tableCount;0<=v?$<v:$>v;$=0<=v?++$:--$)b={tag:p.readString(4),checksum:p.readInt(),offset:p.readInt(),length:p.readInt()},this.tables[b.tag]=b}return s.prototype.encode=function(p){var b,$,v,B,U,re,Ae,lt,It,Et,ve,kt,Ge;for(Ge in ve=Object.keys(p).length,re=Math.log(2),It=16*Math.floor(Math.log(ve)/re),B=Math.floor(It/re),lt=16*ve-It,($=new On).writeInt(this.scalarType),$.writeShort(ve),$.writeShort(It),$.writeShort(B),$.writeShort(lt),v=16*ve,Ae=$.pos+v,U=null,kt=[],p)for(Et=p[Ge],$.writeString(Ge),$.writeInt(f(Et)),$.writeInt(Ae),$.writeInt(Et.length),kt=kt.concat(Et),Ge==="head"&&(U=Ae),Ae+=Et.length;Ae%4;)kt.push(0),Ae++;return $.write(kt),b=2981146554-f($.data),$.pos=U+8,$.writeUInt32(b),$.data},f=function(p){var b,$,v,B;for(p=Xn.call(p);p.length%4;)p.push(0);for(v=new On(p),$=0,b=0,B=p.length;b<B;b=b+=4)$+=v.readUInt32();return 4294967295&$},s}(),na={}.hasOwnProperty,tn=function(f,s){for(var p in s)na.call(s,p)&&(f[p]=s[p]);function b(){this.constructor=f}return b.prototype=s.prototype,f.prototype=new b,f.__super__=s.prototype,f};Pn=function(){function f(s){var p;this.file=s,p=this.file.directory.tables[this.tag],this.exists=!!p,p&&(this.offset=p.offset,this.length=p.length,this.parse(this.file.contents))}return f.prototype.parse=function(){},f.prototype.encode=function(){},f.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},f}();var An=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="head",f.prototype.parse=function(s){return s.pos=this.offset,this.version=s.readInt(),this.revision=s.readInt(),this.checkSumAdjustment=s.readInt(),this.magicNumber=s.readInt(),this.flags=s.readShort(),this.unitsPerEm=s.readShort(),this.created=s.readLongLong(),this.modified=s.readLongLong(),this.xMin=s.readShort(),this.yMin=s.readShort(),this.xMax=s.readShort(),this.yMax=s.readShort(),this.macStyle=s.readShort(),this.lowestRecPPEM=s.readShort(),this.fontDirectionHint=s.readShort(),this.indexToLocFormat=s.readShort(),this.glyphDataFormat=s.readShort()},f.prototype.encode=function(s){var p;return(p=new On).writeInt(this.version),p.writeInt(this.revision),p.writeInt(this.checkSumAdjustment),p.writeInt(this.magicNumber),p.writeShort(this.flags),p.writeShort(this.unitsPerEm),p.writeLongLong(this.created),p.writeLongLong(this.modified),p.writeShort(this.xMin),p.writeShort(this.yMin),p.writeShort(this.xMax),p.writeShort(this.yMax),p.writeShort(this.macStyle),p.writeShort(this.lowestRecPPEM),p.writeShort(this.fontDirectionHint),p.writeShort(s),p.writeShort(this.glyphDataFormat),p.data},f}(),qn=function(){function f(s,p){var b,$,v,B,U,re,Ae,lt,It,Et,ve,kt,Ge,Vt,vt,nr,xr;switch(this.platformID=s.readUInt16(),this.encodingID=s.readShort(),this.offset=p+s.readInt(),It=s.pos,s.pos=this.offset,this.format=s.readUInt16(),this.length=s.readUInt16(),this.language=s.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(re=0;re<256;++re)this.codeMap[re]=s.readByte();break;case 4:for(ve=s.readUInt16(),Et=ve/2,s.pos+=6,v=function(){var Qt,nt;for(nt=[],re=Qt=0;0<=Et?Qt<Et:Qt>Et;re=0<=Et?++Qt:--Qt)nt.push(s.readUInt16());return nt}(),s.pos+=2,Ge=function(){var Qt,nt;for(nt=[],re=Qt=0;0<=Et?Qt<Et:Qt>Et;re=0<=Et?++Qt:--Qt)nt.push(s.readUInt16());return nt}(),Ae=function(){var Qt,nt;for(nt=[],re=Qt=0;0<=Et?Qt<Et:Qt>Et;re=0<=Et?++Qt:--Qt)nt.push(s.readUInt16());return nt}(),lt=function(){var Qt,nt;for(nt=[],re=Qt=0;0<=Et?Qt<Et:Qt>Et;re=0<=Et?++Qt:--Qt)nt.push(s.readUInt16());return nt}(),$=(this.length-s.pos+this.offset)/2,U=function(){var Qt,nt;for(nt=[],re=Qt=0;0<=$?Qt<$:Qt>$;re=0<=$?++Qt:--Qt)nt.push(s.readUInt16());return nt}(),re=vt=0,xr=v.length;vt<xr;re=++vt)for(Vt=v[re],b=nr=kt=Ge[re];kt<=Vt?nr<=Vt:nr>=Vt;b=kt<=Vt?++nr:--nr)lt[re]===0?B=b+Ae[re]:(B=U[lt[re]/2+(b-kt)-(Et-re)]||0)!==0&&(B+=Ae[re]),this.codeMap[b]=65535&B}s.pos=It}return f.encode=function(s,p){var b,$,v,B,U,re,Ae,lt,It,Et,ve,kt,Ge,Vt,vt,nr,xr,Qt,nt,Ce,Ut,Nt,$t,qt,He,ze,At,dt,dr,br,Jt,Tt,ir,Zr,Wt,Pe,yt,Bt,ht,Yt,lr,mr,Or,Rr,Fr,un;switch(dt=new On,B=Object.keys(s).sort(function(wn,Mr){return wn-Mr}),p){case"macroman":for(Ge=0,Vt=function(){var wn=[];for(kt=0;kt<256;++kt)wn.push(0);return wn}(),nr={0:0},v={},dr=0,ir=B.length;dr<ir;dr++)nr[Or=s[$=B[dr]]]==null&&(nr[Or]=++Ge),v[$]={old:s[$],new:nr[s[$]]},Vt[$]=nr[s[$]];return dt.writeUInt16(1),dt.writeUInt16(0),dt.writeUInt32(12),dt.writeUInt16(0),dt.writeUInt16(262),dt.writeUInt16(0),dt.write(Vt),{charMap:v,subtable:dt.data,maxGlyphID:Ge+1};case"unicode":for(ze=[],It=[],xr=0,nr={},b={},vt=Ae=null,br=0,Zr=B.length;br<Zr;br++)nr[nt=s[$=B[br]]]==null&&(nr[nt]=++xr),b[$]={old:nt,new:nr[nt]},U=nr[nt]-$,vt!=null&&U===Ae||(vt&&It.push(vt),ze.push($),Ae=U),vt=$;for(vt&&It.push(vt),It.push(65535),ze.push(65535),qt=2*($t=ze.length),Nt=2*Math.pow(Math.log($t)/Math.LN2,2),Et=Math.log(Nt/2)/Math.LN2,Ut=2*$t-Nt,re=[],Ce=[],ve=[],kt=Jt=0,Wt=ze.length;Jt<Wt;kt=++Jt){if(He=ze[kt],lt=It[kt],He===65535){re.push(0),Ce.push(0);break}if(He-(At=b[He].new)>=32768)for(re.push(0),Ce.push(2*(ve.length+$t-kt)),$=Tt=He;He<=lt?Tt<=lt:Tt>=lt;$=He<=lt?++Tt:--Tt)ve.push(b[$].new);else re.push(At-He),Ce.push(0)}for(dt.writeUInt16(3),dt.writeUInt16(1),dt.writeUInt32(12),dt.writeUInt16(4),dt.writeUInt16(16+8*$t+2*ve.length),dt.writeUInt16(0),dt.writeUInt16(qt),dt.writeUInt16(Nt),dt.writeUInt16(Et),dt.writeUInt16(Ut),lr=0,Pe=It.length;lr<Pe;lr++)$=It[lr],dt.writeUInt16($);for(dt.writeUInt16(0),mr=0,yt=ze.length;mr<yt;mr++)$=ze[mr],dt.writeUInt16($);for(Rr=0,Bt=re.length;Rr<Bt;Rr++)U=re[Rr],dt.writeUInt16(U);for(Fr=0,ht=Ce.length;Fr<ht;Fr++)Qt=Ce[Fr],dt.writeUInt16(Qt);for(un=0,Yt=ve.length;un<Yt;un++)Ge=ve[un],dt.writeUInt16(Ge);return{charMap:b,subtable:dt.data,maxGlyphID:xr+1}}},f}(),da=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="cmap",f.prototype.parse=function(s){var p,b,$;for(s.pos=this.offset,this.version=s.readUInt16(),$=s.readUInt16(),this.tables=[],this.unicode=null,b=0;0<=$?b<$:b>$;b=0<=$?++b:--b)p=new qn(s,this.offset),this.tables.push(p),p.isUnicode&&this.unicode==null&&(this.unicode=p);return!0},f.encode=function(s,p){var b,$;return p==null&&(p="macroman"),b=qn.encode(s,p),($=new On).writeUInt16(0),$.writeUInt16(1),b.table=$.data.concat(b.subtable),b},f}(),Ln=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="hhea",f.prototype.parse=function(s){return s.pos=this.offset,this.version=s.readInt(),this.ascender=s.readShort(),this.decender=s.readShort(),this.lineGap=s.readShort(),this.advanceWidthMax=s.readShort(),this.minLeftSideBearing=s.readShort(),this.minRightSideBearing=s.readShort(),this.xMaxExtent=s.readShort(),this.caretSlopeRise=s.readShort(),this.caretSlopeRun=s.readShort(),this.caretOffset=s.readShort(),s.pos+=8,this.metricDataFormat=s.readShort(),this.numberOfMetrics=s.readUInt16()},f}(),aa=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="OS/2",f.prototype.parse=function(s){if(s.pos=this.offset,this.version=s.readUInt16(),this.averageCharWidth=s.readShort(),this.weightClass=s.readUInt16(),this.widthClass=s.readUInt16(),this.type=s.readShort(),this.ySubscriptXSize=s.readShort(),this.ySubscriptYSize=s.readShort(),this.ySubscriptXOffset=s.readShort(),this.ySubscriptYOffset=s.readShort(),this.ySuperscriptXSize=s.readShort(),this.ySuperscriptYSize=s.readShort(),this.ySuperscriptXOffset=s.readShort(),this.ySuperscriptYOffset=s.readShort(),this.yStrikeoutSize=s.readShort(),this.yStrikeoutPosition=s.readShort(),this.familyClass=s.readShort(),this.panose=function(){var p,b;for(b=[],p=0;p<10;++p)b.push(s.readByte());return b}(),this.charRange=function(){var p,b;for(b=[],p=0;p<4;++p)b.push(s.readInt());return b}(),this.vendorID=s.readString(4),this.selection=s.readShort(),this.firstCharIndex=s.readShort(),this.lastCharIndex=s.readShort(),this.version>0&&(this.ascent=s.readShort(),this.descent=s.readShort(),this.lineGap=s.readShort(),this.winAscent=s.readShort(),this.winDescent=s.readShort(),this.codePageRange=function(){var p,b;for(b=[],p=0;p<2;p=++p)b.push(s.readInt());return b}(),this.version>1))return this.xHeight=s.readShort(),this.capHeight=s.readShort(),this.defaultChar=s.readShort(),this.breakChar=s.readShort(),this.maxContext=s.readShort()},f}(),Kn=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="post",f.prototype.parse=function(s){var p,b,$;switch(s.pos=this.offset,this.format=s.readInt(),this.italicAngle=s.readInt(),this.underlinePosition=s.readShort(),this.underlineThickness=s.readShort(),this.isFixedPitch=s.readInt(),this.minMemType42=s.readInt(),this.maxMemType42=s.readInt(),this.minMemType1=s.readInt(),this.maxMemType1=s.readInt(),this.format){case 65536:case 196608:break;case 131072:var v;for(b=s.readUInt16(),this.glyphNameIndex=[],v=0;0<=b?v<b:v>b;v=0<=b?++v:--v)this.glyphNameIndex.push(s.readUInt16());for(this.names=[],$=[];s.pos<this.offset+this.length;)p=s.readByte(),$.push(this.names.push(s.readString(p)));return $;case 151552:return b=s.readUInt16(),this.offsets=s.read(b);case 262144:return this.map=function(){var B,U,re;for(re=[],v=B=0,U=this.file.maxp.numGlyphs;0<=U?B<U:B>U;v=0<=U?++B:--B)re.push(s.readUInt32());return re}.call(this)}},f}(),Zn=function(f,s){this.raw=f,this.length=f.length,this.platformID=s.platformID,this.encodingID=s.encodingID,this.languageID=s.languageID},ea=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="name",f.prototype.parse=function(s){var p,b,$,v,B,U,re,Ae,lt,It,Et;for(s.pos=this.offset,s.readShort(),p=s.readShort(),U=s.readShort(),b=[],v=0;0<=p?v<p:v>p;v=0<=p?++v:--v)b.push({platformID:s.readShort(),encodingID:s.readShort(),languageID:s.readShort(),nameID:s.readShort(),length:s.readShort(),offset:this.offset+U+s.readShort()});for(re={},v=lt=0,It=b.length;lt<It;v=++lt)$=b[v],s.pos=$.offset,Ae=s.readString($.length),B=new Zn(Ae,$),re[Et=$.nameID]==null&&(re[Et]=[]),re[$.nameID].push(B);this.strings=re,this.copyright=re[0],this.fontFamily=re[1],this.fontSubfamily=re[2],this.uniqueSubfamily=re[3],this.fontName=re[4],this.version=re[5];try{this.postscriptName=re[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(ve){this.postscriptName=re[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=re[7],this.manufacturer=re[8],this.designer=re[9],this.description=re[10],this.vendorUrl=re[11],this.designerUrl=re[12],this.license=re[13],this.licenseUrl=re[14],this.preferredFamily=re[15],this.preferredSubfamily=re[17],this.compatibleFull=re[18],this.sampleText=re[19]},f}(),zn=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="maxp",f.prototype.parse=function(s){return s.pos=this.offset,this.version=s.readInt(),this.numGlyphs=s.readUInt16(),this.maxPoints=s.readUInt16(),this.maxContours=s.readUInt16(),this.maxCompositePoints=s.readUInt16(),this.maxComponentContours=s.readUInt16(),this.maxZones=s.readUInt16(),this.maxTwilightPoints=s.readUInt16(),this.maxStorage=s.readUInt16(),this.maxFunctionDefs=s.readUInt16(),this.maxInstructionDefs=s.readUInt16(),this.maxStackElements=s.readUInt16(),this.maxSizeOfInstructions=s.readUInt16(),this.maxComponentElements=s.readUInt16(),this.maxComponentDepth=s.readUInt16()},f}(),xn=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="hmtx",f.prototype.parse=function(s){var p,b,$,v,B,U,re;for(s.pos=this.offset,this.metrics=[],p=0,U=this.file.hhea.numberOfMetrics;0<=U?p<U:p>U;p=0<=U?++p:--p)this.metrics.push({advance:s.readUInt16(),lsb:s.readInt16()});for($=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Ae,lt;for(lt=[],p=Ae=0;0<=$?Ae<$:Ae>$;p=0<=$?++Ae:--Ae)lt.push(s.readInt16());return lt}(),this.widths=function(){var Ae,lt,It,Et;for(Et=[],Ae=0,lt=(It=this.metrics).length;Ae<lt;Ae++)v=It[Ae],Et.push(v.advance);return Et}.call(this),b=this.widths[this.widths.length-1],re=[],p=B=0;0<=$?B<$:B>$;p=0<=$?++B:--B)re.push(this.widths.push(b));return re},f.prototype.forGlyph=function(s){return s in this.metrics?this.metrics[s]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[s-this.metrics.length]}},f}(),Xn=[].slice,Ca=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="glyf",f.prototype.parse=function(){return this.cache={}},f.prototype.glyphFor=function(s){var p,b,$,v,B,U,re,Ae,lt,It;return s in this.cache?this.cache[s]:(v=this.file.loca,p=this.file.contents,b=v.indexOf(s),($=v.lengthOf(s))===0?this.cache[s]=null:(p.pos=this.offset+b,B=(U=new On(p.read($))).readShort(),Ae=U.readShort(),It=U.readShort(),re=U.readShort(),lt=U.readShort(),this.cache[s]=B===-1?new ao(U,Ae,It,re,lt):new Fa(U,B,Ae,It,re,lt),this.cache[s]))},f.prototype.encode=function(s,p,b){var $,v,B,U,re;for(B=[],v=[],U=0,re=p.length;U<re;U++)$=s[p[U]],v.push(B.length),$&&(B=B.concat($.encode(b)));return v.push(B.length),{table:B,offsets:v}},f}(),Fa=function(){function f(s,p,b,$,v,B){this.raw=s,this.numberOfContours=p,this.xMin=b,this.yMin=$,this.xMax=v,this.yMax=B,this.compound=!1}return f.prototype.encode=function(){return this.raw.data},f}(),ao=function(){function f(s,p,b,$,v){var B,U;for(this.raw=s,this.xMin=p,this.yMin=b,this.xMax=$,this.yMax=v,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],B=this.raw;U=B.readShort(),this.glyphOffsets.push(B.pos),this.glyphIDs.push(B.readUInt16()),32&U;)B.pos+=1&U?4:2,128&U?B.pos+=8:64&U?B.pos+=4:8&U&&(B.pos+=2)}return f.prototype.encode=function(){var s,p,b;for(p=new On(Xn.call(this.raw.data)),s=0,b=this.glyphIDs.length;s<b;++s)p.pos=this.glyphOffsets[s];return p.data},f}(),oo=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="loca",f.prototype.parse=function(s){var p,b;return s.pos=this.offset,p=this.file.head.indexToLocFormat,this.offsets=p===0?function(){var $,v;for(v=[],b=0,$=this.length;b<$;b+=2)v.push(2*s.readUInt16());return v}.call(this):function(){var $,v;for(v=[],b=0,$=this.length;b<$;b+=4)v.push(s.readUInt32());return v}.call(this)},f.prototype.indexOf=function(s){return this.offsets[s]},f.prototype.lengthOf=function(s){return this.offsets[s+1]-this.offsets[s]},f.prototype.encode=function(s,p){for(var b=new Uint32Array(this.offsets.length),$=0,v=0,B=0;B<b.length;++B)if(b[B]=$,v<p.length&&p[v]==B){++v,b[B]=$;var U=this.offsets[B],re=this.offsets[B+1]-U;re>0&&($+=re)}for(var Ae=new Array(4*b.length),lt=0;lt<b.length;++lt)Ae[4*lt+3]=255&b[lt],Ae[4*lt+2]=(65280&b[lt])>>8,Ae[4*lt+1]=(16711680&b[lt])>>16,Ae[4*lt]=(4278190080&b[lt])>>24;return Ae},f}(),uo=function(){function f(s){this.font=s,this.subset={},this.unicodes={},this.next=33}return f.prototype.generateCmap=function(){var s,p,b,$,v;for(p in $=this.font.cmap.tables[0].codeMap,s={},v=this.subset)b=v[p],s[p]=$[b];return s},f.prototype.glyphsFor=function(s){var p,b,$,v,B,U,re;for($={},B=0,U=s.length;B<U;B++)$[v=s[B]]=this.font.glyf.glyphFor(v);for(v in p=[],$)(b=$[v])!=null&&b.compound&&p.push.apply(p,b.glyphIDs);if(p.length>0)for(v in re=this.glyphsFor(p))b=re[v],$[v]=b;return $},f.prototype.encode=function(s,p){var b,$,v,B,U,re,Ae,lt,It,Et,ve,kt,Ge,Vt,vt;for($ in b=da.encode(this.generateCmap(),"unicode"),B=this.glyphsFor(s),ve={0:0},vt=b.charMap)ve[(re=vt[$]).old]=re.new;for(kt in Et=b.maxGlyphID,B)kt in ve||(ve[kt]=Et++);return lt=function(nr){var xr,Qt;for(xr in Qt={},nr)Qt[nr[xr]]=xr;return Qt}(ve),It=Object.keys(lt).sort(function(nr,xr){return nr-xr}),Ge=function(){var nr,xr,Qt;for(Qt=[],nr=0,xr=It.length;nr<xr;nr++)U=It[nr],Qt.push(lt[U]);return Qt}(),v=this.font.glyf.encode(B,Ge,ve),Ae=this.font.loca.encode(v.offsets,Ge),Vt={cmap:this.font.cmap.raw(),glyf:v.table,loca:Ae,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(p)},this.font.os2.exists&&(Vt["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Vt)},f}();z.API.PDFObject=function(){var f;function s(){}return f=function(p,b){return(Array(b+1).join("0")+p).slice(-b)},s.convert=function(p){var b,$,v,B;if(Array.isArray(p))return"["+function(){var U,re,Ae;for(Ae=[],U=0,re=p.length;U<re;U++)b=p[U],Ae.push(s.convert(b));return Ae}().join(" ")+"]";if(typeof p=="string")return"/"+p;if(p!=null&&p.isString)return"("+p+")";if(p instanceof Date)return"(D:"+f(p.getUTCFullYear(),4)+f(p.getUTCMonth(),2)+f(p.getUTCDate(),2)+f(p.getUTCHours(),2)+f(p.getUTCMinutes(),2)+f(p.getUTCSeconds(),2)+"Z)";if({}.toString.call(p)==="[object Object]"){for($ in v=["<<"],p)B=p[$],v.push("/"+$+" "+s.convert(B));return v.push(">>"),v.join(`
`)}return""+p},s}()},86129:function(Yr,Kt,n){var a=n(19208).lW,qe=n(97671);(function(L){Yr.exports=L()})(function(){return function L(Re,q,ee){function _(c,T){if(!q[c]){if(!Re[c]){var F=void 0;if(!T&&F)return require(c,!0);if(y)return y(c,!0);var G=new Error("Cannot find module '"+c+"'");throw G.code="MODULE_NOT_FOUND",G}var R=q[c]={exports:{}};Re[c][0].call(R.exports,function(X){var N=Re[c][1][X];return _(N||X)},R,R.exports,L,Re,q,ee)}return q[c].exports}for(var y=void 0,V=0;V<ee.length;V++)_(ee[V]);return _}({1:[function(L,Re,q){"use strict";var ee=L("./utils"),_=L("./support"),y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";q.encode=function(V){for(var c,T,F,G,R,X,N,A=[],S=0,E=V.length,oe=E,J=ee.getTypeOf(V)!=="string";S<V.length;)oe=E-S,F=J?(c=V[S++],T=S<E?V[S++]:0,S<E?V[S++]:0):(c=V.charCodeAt(S++),T=S<E?V.charCodeAt(S++):0,S<E?V.charCodeAt(S++):0),G=c>>2,R=(3&c)<<4|T>>4,X=1<oe?(15&T)<<2|F>>6:64,N=2<oe?63&F:64,A.push(y.charAt(G)+y.charAt(R)+y.charAt(X)+y.charAt(N));return A.join("")},q.decode=function(V){var c,T,F,G,R,X,N=0,A=0,S="data:";if(V.substr(0,S.length)===S)throw new Error("Invalid base64 input, it looks like a data url.");var E,oe=3*(V=V.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(V.charAt(V.length-1)===y.charAt(64)&&oe--,V.charAt(V.length-2)===y.charAt(64)&&oe--,oe%1!=0)throw new Error("Invalid base64 input, bad content length.");for(E=_.uint8array?new Uint8Array(0|oe):new Array(0|oe);N<V.length;)c=y.indexOf(V.charAt(N++))<<2|(G=y.indexOf(V.charAt(N++)))>>4,T=(15&G)<<4|(R=y.indexOf(V.charAt(N++)))>>2,F=(3&R)<<6|(X=y.indexOf(V.charAt(N++))),E[A++]=c,R!==64&&(E[A++]=T),X!==64&&(E[A++]=F);return E}},{"./support":30,"./utils":32}],2:[function(L,Re,q){"use strict";var ee=L("./external"),_=L("./stream/DataWorker"),y=L("./stream/Crc32Probe"),V=L("./stream/DataLengthProbe");function c(T,F,G,R,X){this.compressedSize=T,this.uncompressedSize=F,this.crc32=G,this.compression=R,this.compressedContent=X}c.prototype={getContentWorker:function(){var T=new _(ee.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new V("data_length")),F=this;return T.on("end",function(){if(this.streamInfo.data_length!==F.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),T},getCompressedWorker:function(){return new _(ee.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},c.createWorkerFrom=function(T,F,G){return T.pipe(new y).pipe(new V("uncompressedSize")).pipe(F.compressWorker(G)).pipe(new V("compressedSize")).withStreamInfo("compression",F)},Re.exports=c},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(L,Re,q){"use strict";var ee=L("./stream/GenericWorker");q.STORE={magic:"\0\0",compressWorker:function(){return new ee("STORE compression")},uncompressWorker:function(){return new ee("STORE decompression")}},q.DEFLATE=L("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(L,Re,q){"use strict";var ee=L("./utils"),_=function(){for(var y,V=[],c=0;c<256;c++){y=c;for(var T=0;T<8;T++)y=1&y?3988292384^y>>>1:y>>>1;V[c]=y}return V}();Re.exports=function(y,V){return y!==void 0&&y.length?ee.getTypeOf(y)!=="string"?function(c,T,F,G){var R=_,X=G+F;c^=-1;for(var N=G;N<X;N++)c=c>>>8^R[255&(c^T[N])];return-1^c}(0|V,y,y.length,0):function(c,T,F,G){var R=_,X=G+F;c^=-1;for(var N=G;N<X;N++)c=c>>>8^R[255&(c^T.charCodeAt(N))];return-1^c}(0|V,y,y.length,0):0}},{"./utils":32}],5:[function(L,Re,q){"use strict";q.base64=!1,q.binary=!1,q.dir=!1,q.createFolders=!0,q.date=null,q.compression=null,q.compressionOptions=null,q.comment=null,q.unixPermissions=null,q.dosPermissions=null},{}],6:[function(L,Re,q){"use strict";var ee=null;ee=typeof Promise!="undefined"?Promise:L("lie"),Re.exports={Promise:ee}},{lie:37}],7:[function(L,Re,q){"use strict";var ee=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",_=L("pako"),y=L("./utils"),V=L("./stream/GenericWorker"),c=ee?"uint8array":"array";function T(F,G){V.call(this,"FlateWorker/"+F),this._pako=null,this._pakoAction=F,this._pakoOptions=G,this.meta={}}q.magic="\b\0",y.inherits(T,V),T.prototype.processChunk=function(F){this.meta=F.meta,this._pako===null&&this._createPako(),this._pako.push(y.transformTo(c,F.data),!1)},T.prototype.flush=function(){V.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},T.prototype.cleanUp=function(){V.prototype.cleanUp.call(this),this._pako=null},T.prototype._createPako=function(){this._pako=new _[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var F=this;this._pako.onData=function(G){F.push({data:G,meta:F.meta})}},q.compressWorker=function(F){return new T("Deflate",F)},q.uncompressWorker=function(){return new T("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(L,Re,q){"use strict";function ee(R,X){var N,A="";for(N=0;N<X;N++)A+=String.fromCharCode(255&R),R>>>=8;return A}function _(R,X,N,A,S,E){var oe,J,te=R.file,$e=R.compression,Ne=E!==c.utf8encode,Qe=y.transformTo("string",E(te.name)),Ze=y.transformTo("string",c.utf8encode(te.name)),we=te.comment,xe=y.transformTo("string",E(we)),Q=y.transformTo("string",c.utf8encode(we)),ye=Ze.length!==te.name.length,j=Q.length!==we.length,I="",rt="",le="",se=te.dir,w=te.date,k={crc32:0,compressedSize:0,uncompressedSize:0};X&&!N||(k.crc32=R.crc32,k.compressedSize=R.compressedSize,k.uncompressedSize=R.uncompressedSize);var z=0;X&&(z|=8),Ne||!ye&&!j||(z|=2048);var C=0,Y=0;se&&(C|=16),S==="UNIX"?(Y=798,C|=function(pe,Ue){var at=pe;return pe||(at=Ue?16893:33204),(65535&at)<<16}(te.unixPermissions,se)):(Y=20,C|=function(pe){return 63&(pe||0)}(te.dosPermissions)),oe=w.getUTCHours(),oe<<=6,oe|=w.getUTCMinutes(),oe<<=5,oe|=w.getUTCSeconds()/2,J=w.getUTCFullYear()-1980,J<<=4,J|=w.getUTCMonth()+1,J<<=5,J|=w.getUTCDate(),ye&&(rt=ee(1,1)+ee(T(Qe),4)+Ze,I+="up"+ee(rt.length,2)+rt),j&&(le=ee(1,1)+ee(T(xe),4)+Q,I+="uc"+ee(le.length,2)+le);var ke="";return ke+=`
\0`,ke+=ee(z,2),ke+=$e.magic,ke+=ee(oe,2),ke+=ee(J,2),ke+=ee(k.crc32,4),ke+=ee(k.compressedSize,4),ke+=ee(k.uncompressedSize,4),ke+=ee(Qe.length,2),ke+=ee(I.length,2),{fileRecord:F.LOCAL_FILE_HEADER+ke+Qe+I,dirRecord:F.CENTRAL_FILE_HEADER+ee(Y,2)+ke+ee(xe.length,2)+"\0\0\0\0"+ee(C,4)+ee(A,4)+Qe+I+xe}}var y=L("../utils"),V=L("../stream/GenericWorker"),c=L("../utf8"),T=L("../crc32"),F=L("../signature");function G(R,X,N,A){V.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=X,this.zipPlatform=N,this.encodeFileName=A,this.streamFiles=R,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}y.inherits(G,V),G.prototype.push=function(R){var X=R.meta.percent||0,N=this.entriesCount,A=this._sources.length;this.accumulate?this.contentBuffer.push(R):(this.bytesWritten+=R.data.length,V.prototype.push.call(this,{data:R.data,meta:{currentFile:this.currentFile,percent:N?(X+100*(N-A-1))/N:100}}))},G.prototype.openedSource=function(R){this.currentSourceOffset=this.bytesWritten,this.currentFile=R.file.name;var X=this.streamFiles&&!R.file.dir;if(X){var N=_(R,X,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:N.fileRecord,meta:{percent:0}})}else this.accumulate=!0},G.prototype.closedSource=function(R){this.accumulate=!1;var X=this.streamFiles&&!R.file.dir,N=_(R,X,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(N.dirRecord),X)this.push({data:function(A){return F.DATA_DESCRIPTOR+ee(A.crc32,4)+ee(A.compressedSize,4)+ee(A.uncompressedSize,4)}(R),meta:{percent:100}});else for(this.push({data:N.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},G.prototype.flush=function(){for(var R=this.bytesWritten,X=0;X<this.dirRecords.length;X++)this.push({data:this.dirRecords[X],meta:{percent:100}});var N=this.bytesWritten-R,A=function(S,E,oe,J,te){var $e=y.transformTo("string",te(J));return F.CENTRAL_DIRECTORY_END+"\0\0\0\0"+ee(S,2)+ee(S,2)+ee(E,4)+ee(oe,4)+ee($e.length,2)+$e}(this.dirRecords.length,N,R,this.zipComment,this.encodeFileName);this.push({data:A,meta:{percent:100}})},G.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},G.prototype.registerPrevious=function(R){this._sources.push(R);var X=this;return R.on("data",function(N){X.processChunk(N)}),R.on("end",function(){X.closedSource(X.previous.streamInfo),X._sources.length?X.prepareNextSource():X.end()}),R.on("error",function(N){X.error(N)}),this},G.prototype.resume=function(){return!!V.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},G.prototype.error=function(R){var X=this._sources;if(!V.prototype.error.call(this,R))return!1;for(var N=0;N<X.length;N++)try{X[N].error(R)}catch(A){}return!0},G.prototype.lock=function(){V.prototype.lock.call(this);for(var R=this._sources,X=0;X<R.length;X++)R[X].lock()},Re.exports=G},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(L,Re,q){"use strict";var ee=L("../compressions"),_=L("./ZipFileWorker");q.generateWorker=function(y,V,c){var T=new _(V.streamFiles,c,V.platform,V.encodeFileName),F=0;try{y.forEach(function(G,R){F++;var X=function(E,oe){var J=E||oe,te=ee[J];if(!te)throw new Error(J+" is not a valid compression method !");return te}(R.options.compression,V.compression),N=R.options.compressionOptions||V.compressionOptions||{},A=R.dir,S=R.date;R._compressWorker(X,N).withStreamInfo("file",{name:G,dir:A,date:S,comment:R.comment||"",unixPermissions:R.unixPermissions,dosPermissions:R.dosPermissions}).pipe(T)}),T.entriesCount=F}catch(G){T.error(G)}return T}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(L,Re,q){"use strict";function ee(){if(!(this instanceof ee))return new ee;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 _=new ee;for(var y in this)typeof this[y]!="function"&&(_[y]=this[y]);return _}}(ee.prototype=L("./object")).loadAsync=L("./load"),ee.support=L("./support"),ee.defaults=L("./defaults"),ee.version="3.10.1",ee.loadAsync=function(_,y){return new ee().loadAsync(_,y)},ee.external=L("./external"),Re.exports=ee},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(L,Re,q){"use strict";var ee=L("./utils"),_=L("./external"),y=L("./utf8"),V=L("./zipEntries"),c=L("./stream/Crc32Probe"),T=L("./nodejsUtils");function F(G){return new _.Promise(function(R,X){var N=G.decompressed.getContentWorker().pipe(new c);N.on("error",function(A){X(A)}).on("end",function(){N.streamInfo.crc32!==G.decompressed.crc32?X(new Error("Corrupted zip : CRC32 mismatch")):R()}).resume()})}Re.exports=function(G,R){var X=this;return R=ee.extend(R||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:y.utf8decode}),T.isNode&&T.isStream(G)?_.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):ee.prepareContent("the loaded zip file",G,!0,R.optimizedBinaryString,R.base64).then(function(N){var A=new V(R);return A.load(N),A}).then(function(N){var A=[_.Promise.resolve(N)],S=N.files;if(R.checkCRC32)for(var E=0;E<S.length;E++)A.push(F(S[E]));return _.Promise.all(A)}).then(function(N){for(var A=N.shift(),S=A.files,E=0;E<S.length;E++){var oe=S[E],J=oe.fileNameStr,te=ee.resolve(oe.fileNameStr);X.file(te,oe.decompressed,{binary:!0,optimizedBinaryString:!0,date:oe.date,dir:oe.dir,comment:oe.fileCommentStr.length?oe.fileCommentStr:null,unixPermissions:oe.unixPermissions,dosPermissions:oe.dosPermissions,createFolders:R.createFolders}),oe.dir||(X.file(te).unsafeOriginalName=J)}return A.zipComment.length&&(X.comment=A.zipComment),X})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(L,Re,q){"use strict";var ee=L("../utils"),_=L("../stream/GenericWorker");function y(V,c){_.call(this,"Nodejs stream input adapter for "+V),this._upstreamEnded=!1,this._bindStream(c)}ee.inherits(y,_),y.prototype._bindStream=function(V){var c=this;(this._stream=V).pause(),V.on("data",function(T){c.push({data:T,meta:{percent:0}})}).on("error",function(T){c.isPaused?this.generatedError=T:c.error(T)}).on("end",function(){c.isPaused?c._upstreamEnded=!0:c.end()})},y.prototype.pause=function(){return!!_.prototype.pause.call(this)&&(this._stream.pause(),!0)},y.prototype.resume=function(){return!!_.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},Re.exports=y},{"../stream/GenericWorker":28,"../utils":32}],13:[function(L,Re,q){"use strict";var ee=L("readable-stream").Readable;function _(y,V,c){ee.call(this,V),this._helper=y;var T=this;y.on("data",function(F,G){T.push(F)||T._helper.pause(),c&&c(G)}).on("error",function(F){T.emit("error",F)}).on("end",function(){T.push(null)})}L("../utils").inherits(_,ee),_.prototype._read=function(){this._helper.resume()},Re.exports=_},{"../utils":32,"readable-stream":16}],14:[function(L,Re,q){"use strict";Re.exports={isNode:typeof a!="undefined",newBufferFrom:function(ee,_){if(a.from&&a.from!==Uint8Array.from)return a.from(ee,_);if(typeof ee=="number")throw new Error('The "data" argument must not be a number');return new a(ee,_)},allocBuffer:function(ee){if(a.alloc)return a.alloc(ee);var _=new a(ee);return _.fill(0),_},isBuffer:function(ee){return a.isBuffer(ee)},isStream:function(ee){return ee&&typeof ee.on=="function"&&typeof ee.pause=="function"&&typeof ee.resume=="function"}}},{}],15:[function(L,Re,q){"use strict";function ee(te,$e,Ne){var Qe,Ze=y.getTypeOf($e),we=y.extend(Ne||{},T);we.date=we.date||new Date,we.compression!==null&&(we.compression=we.compression.toUpperCase()),typeof we.unixPermissions=="string"&&(we.unixPermissions=parseInt(we.unixPermissions,8)),we.unixPermissions&&16384&we.unixPermissions&&(we.dir=!0),we.dosPermissions&&16&we.dosPermissions&&(we.dir=!0),we.dir&&(te=S(te)),we.createFolders&&(Qe=A(te))&&E.call(this,Qe,!0);var xe=Ze==="string"&&we.binary===!1&&we.base64===!1;Ne&&Ne.binary!==void 0||(we.binary=!xe),($e instanceof F&&$e.uncompressedSize===0||we.dir||!$e||$e.length===0)&&(we.base64=!1,we.binary=!0,$e="",we.compression="STORE",Ze="string");var Q=null;Q=$e instanceof F||$e instanceof V?$e:X.isNode&&X.isStream($e)?new N(te,$e):y.prepareContent(te,$e,we.binary,we.optimizedBinaryString,we.base64);var ye=new G(te,Q,we);this.files[te]=ye}var _=L("./utf8"),y=L("./utils"),V=L("./stream/GenericWorker"),c=L("./stream/StreamHelper"),T=L("./defaults"),F=L("./compressedObject"),G=L("./zipObject"),R=L("./generate"),X=L("./nodejsUtils"),N=L("./nodejs/NodejsStreamInputAdapter"),A=function(te){te.slice(-1)==="/"&&(te=te.substring(0,te.length-1));var $e=te.lastIndexOf("/");return 0<$e?te.substring(0,$e):""},S=function(te){return te.slice(-1)!=="/"&&(te+="/"),te},E=function(te,$e){return $e=$e!==void 0?$e:T.createFolders,te=S(te),this.files[te]||ee.call(this,te,null,{dir:!0,createFolders:$e}),this.files[te]};function oe(te){return Object.prototype.toString.call(te)==="[object RegExp]"}var J={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(te){var $e,Ne,Qe;for($e in this.files)Qe=this.files[$e],(Ne=$e.slice(this.root.length,$e.length))&&$e.slice(0,this.root.length)===this.root&&te(Ne,Qe)},filter:function(te){var $e=[];return this.forEach(function(Ne,Qe){te(Ne,Qe)&&$e.push(Qe)}),$e},file:function(te,$e,Ne){if(arguments.length!==1)return te=this.root+te,ee.call(this,te,$e,Ne),this;if(oe(te)){var Qe=te;return this.filter(function(we,xe){return!xe.dir&&Qe.test(we)})}var Ze=this.files[this.root+te];return Ze&&!Ze.dir?Ze:null},folder:function(te){if(!te)return this;if(oe(te))return this.filter(function(Ze,we){return we.dir&&te.test(Ze)});var $e=this.root+te,Ne=E.call(this,$e),Qe=this.clone();return Qe.root=Ne.name,Qe},remove:function(te){te=this.root+te;var $e=this.files[te];if($e||(te.slice(-1)!=="/"&&(te+="/"),$e=this.files[te]),$e&&!$e.dir)delete this.files[te];else for(var Ne=this.filter(function(Ze,we){return we.name.slice(0,te.length)===te}),Qe=0;Qe<Ne.length;Qe++)delete this.files[Ne[Qe].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(te){var $e,Ne={};try{if((Ne=y.extend(te||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:_.utf8encode})).type=Ne.type.toLowerCase(),Ne.compression=Ne.compression.toUpperCase(),Ne.type==="binarystring"&&(Ne.type="string"),!Ne.type)throw new Error("No output type specified.");y.checkSupport(Ne.type),Ne.platform!=="darwin"&&Ne.platform!=="freebsd"&&Ne.platform!=="linux"&&Ne.platform!=="sunos"||(Ne.platform="UNIX"),Ne.platform==="win32"&&(Ne.platform="DOS");var Qe=Ne.comment||this.comment||"";$e=R.generateWorker(this,Ne,Qe)}catch(Ze){($e=new V("error")).error(Ze)}return new c($e,Ne.type||"string",Ne.mimeType)},generateAsync:function(te,$e){return this.generateInternalStream(te).accumulate($e)},generateNodeStream:function(te,$e){return(te=te||{}).type||(te.type="nodebuffer"),this.generateInternalStream(te).toNodejsStream($e)}};Re.exports=J},{"./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(L,Re,q){"use strict";Re.exports=L("stream")},{stream:void 0}],17:[function(L,Re,q){"use strict";var ee=L("./DataReader");function _(y){ee.call(this,y);for(var V=0;V<this.data.length;V++)y[V]=255&y[V]}L("../utils").inherits(_,ee),_.prototype.byteAt=function(y){return this.data[this.zero+y]},_.prototype.lastIndexOfSignature=function(y){for(var V=y.charCodeAt(0),c=y.charCodeAt(1),T=y.charCodeAt(2),F=y.charCodeAt(3),G=this.length-4;0<=G;--G)if(this.data[G]===V&&this.data[G+1]===c&&this.data[G+2]===T&&this.data[G+3]===F)return G-this.zero;return-1},_.prototype.readAndCheckSignature=function(y){var V=y.charCodeAt(0),c=y.charCodeAt(1),T=y.charCodeAt(2),F=y.charCodeAt(3),G=this.readData(4);return V===G[0]&&c===G[1]&&T===G[2]&&F===G[3]},_.prototype.readData=function(y){if(this.checkOffset(y),y===0)return[];var V=this.data.slice(this.zero+this.index,this.zero+this.index+y);return this.index+=y,V},Re.exports=_},{"../utils":32,"./DataReader":18}],18:[function(L,Re,q){"use strict";var ee=L("../utils");function _(y){this.data=y,this.length=y.length,this.index=0,this.zero=0}_.prototype={checkOffset:function(y){this.checkIndex(this.index+y)},checkIndex:function(y){if(this.length<this.zero+y||y<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+y+"). Corrupted zip ?")},setIndex:function(y){this.checkIndex(y),this.index=y},skip:function(y){this.setIndex(this.index+y)},byteAt:function(){},readInt:function(y){var V,c=0;for(this.checkOffset(y),V=this.index+y-1;V>=this.index;V--)c=(c<<8)+this.byteAt(V);return this.index+=y,c},readString:function(y){return ee.transformTo("string",this.readData(y))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var y=this.readInt(4);return new Date(Date.UTC(1980+(y>>25&127),(y>>21&15)-1,y>>16&31,y>>11&31,y>>5&63,(31&y)<<1))}},Re.exports=_},{"../utils":32}],19:[function(L,Re,q){"use strict";var ee=L("./Uint8ArrayReader");function _(y){ee.call(this,y)}L("../utils").inherits(_,ee),_.prototype.readData=function(y){this.checkOffset(y);var V=this.data.slice(this.zero+this.index,this.zero+this.index+y);return this.index+=y,V},Re.exports=_},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(L,Re,q){"use strict";var ee=L("./DataReader");function _(y){ee.call(this,y)}L("../utils").inherits(_,ee),_.prototype.byteAt=function(y){return this.data.charCodeAt(this.zero+y)},_.prototype.lastIndexOfSignature=function(y){return this.data.lastIndexOf(y)-this.zero},_.prototype.readAndCheckSignature=function(y){return y===this.readData(4)},_.prototype.readData=function(y){this.checkOffset(y);var V=this.data.slice(this.zero+this.index,this.zero+this.index+y);return this.index+=y,V},Re.exports=_},{"../utils":32,"./DataReader":18}],21:[function(L,Re,q){"use strict";var ee=L("./ArrayReader");function _(y){ee.call(this,y)}L("../utils").inherits(_,ee),_.prototype.readData=function(y){if(this.checkOffset(y),y===0)return new Uint8Array(0);var V=this.data.subarray(this.zero+this.index,this.zero+this.index+y);return this.index+=y,V},Re.exports=_},{"../utils":32,"./ArrayReader":17}],22:[function(L,Re,q){"use strict";var ee=L("../utils"),_=L("../support"),y=L("./ArrayReader"),V=L("./StringReader"),c=L("./NodeBufferReader"),T=L("./Uint8ArrayReader");Re.exports=function(F){var G=ee.getTypeOf(F);return ee.checkSupport(G),G!=="string"||_.uint8array?G==="nodebuffer"?new c(F):_.uint8array?new T(ee.transformTo("uint8array",F)):new y(ee.transformTo("array",F)):new V(F)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(L,Re,q){"use strict";q.LOCAL_FILE_HEADER="PK",q.CENTRAL_FILE_HEADER="PK",q.CENTRAL_DIRECTORY_END="PK",q.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",q.ZIP64_CENTRAL_DIRECTORY_END="PK",q.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(L,Re,q){"use strict";var ee=L("./GenericWorker"),_=L("../utils");function y(V){ee.call(this,"ConvertWorker to "+V),this.destType=V}_.inherits(y,ee),y.prototype.processChunk=function(V){this.push({data:_.transformTo(this.destType,V.data),meta:V.meta})},Re.exports=y},{"../utils":32,"./GenericWorker":28}],25:[function(L,Re,q){"use strict";var ee=L("./GenericWorker"),_=L("../crc32");function y(){ee.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}L("../utils").inherits(y,ee),y.prototype.processChunk=function(V){this.streamInfo.crc32=_(V.data,this.streamInfo.crc32||0),this.push(V)},Re.exports=y},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(L,Re,q){"use strict";var ee=L("../utils"),_=L("./GenericWorker");function y(V){_.call(this,"DataLengthProbe for "+V),this.propName=V,this.withStreamInfo(V,0)}ee.inherits(y,_),y.prototype.processChunk=function(V){if(V){var c=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=c+V.data.length}_.prototype.processChunk.call(this,V)},Re.exports=y},{"../utils":32,"./GenericWorker":28}],27:[function(L,Re,q){"use strict";var ee=L("../utils"),_=L("./GenericWorker");function y(V){_.call(this,"DataWorker");var c=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,V.then(function(T){c.dataIsReady=!0,c.data=T,c.max=T&&T.length||0,c.type=ee.getTypeOf(T),c.isPaused||c._tickAndRepeat()},function(T){c.error(T)})}ee.inherits(y,_),y.prototype.cleanUp=function(){_.prototype.cleanUp.call(this),this.data=null},y.prototype.resume=function(){return!!_.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,ee.delay(this._tickAndRepeat,[],this)),!0)},y.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(ee.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},y.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var V=null,c=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":V=this.data.substring(this.index,c);break;case"uint8array":V=this.data.subarray(this.index,c);break;case"array":case"nodebuffer":V=this.data.slice(this.index,c)}return this.index=c,this.push({data:V,meta:{percent:this.max?this.index/this.max*100:0}})},Re.exports=y},{"../utils":32,"./GenericWorker":28}],28:[function(L,Re,q){"use strict";function ee(_){this.name=_||"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}ee.prototype={push:function(_){this.emit("data",_)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(_){this.emit("error",_)}return!0},error:function(_){return!this.isFinished&&(this.isPaused?this.generatedError=_:(this.isFinished=!0,this.emit("error",_),this.previous&&this.previous.error(_),this.cleanUp()),!0)},on:function(_,y){return this._listeners[_].push(y),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(_,y){if(this._listeners[_])for(var V=0;V<this._listeners[_].length;V++)this._listeners[_][V].call(this,y)},pipe:function(_){return _.registerPrevious(this)},registerPrevious:function(_){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=_.streamInfo,this.mergeStreamInfo(),this.previous=_;var y=this;return _.on("data",function(V){y.processChunk(V)}),_.on("end",function(){y.end()}),_.on("error",function(V){y.error(V)}),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 _=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),_=!0),this.previous&&this.previous.resume(),!_},flush:function(){},processChunk:function(_){this.push(_)},withStreamInfo:function(_,y){return this.extraStreamInfo[_]=y,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var _ in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,_)&&(this.streamInfo[_]=this.extraStreamInfo[_])},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 _="Worker "+this.name;return this.previous?this.previous+" -> "+_:_}},Re.exports=ee},{}],29:[function(L,Re,q){"use strict";var ee=L("../utils"),_=L("./ConvertWorker"),y=L("./GenericWorker"),V=L("../base64"),c=L("../support"),T=L("../external"),F=null;if(c.nodestream)try{F=L("../nodejs/NodejsStreamOutputAdapter")}catch(X){}function G(X,N){return new T.Promise(function(A,S){var E=[],oe=X._internalType,J=X._outputType,te=X._mimeType;X.on("data",function($e,Ne){E.push($e),N&&N(Ne)}).on("error",function($e){E=[],S($e)}).on("end",function(){try{var $e=function(Ne,Qe,Ze){switch(Ne){case"blob":return ee.newBlob(ee.transformTo("arraybuffer",Qe),Ze);case"base64":return V.encode(Qe);default:return ee.transformTo(Ne,Qe)}}(J,function(Ne,Qe){var Ze,we=0,xe=null,Q=0;for(Ze=0;Ze<Qe.length;Ze++)Q+=Qe[Ze].length;switch(Ne){case"string":return Qe.join("");case"array":return Array.prototype.concat.apply([],Qe);case"uint8array":for(xe=new Uint8Array(Q),Ze=0;Ze<Qe.length;Ze++)xe.set(Qe[Ze],we),we+=Qe[Ze].length;return xe;case"nodebuffer":return a.concat(Qe);default:throw new Error("concat : unsupported type '"+Ne+"'")}}(oe,E),te);A($e)}catch(Ne){S(Ne)}E=[]}).resume()})}function R(X,N,A){var S=N;switch(N){case"blob":case"arraybuffer":S="uint8array";break;case"base64":S="string"}try{this._internalType=S,this._outputType=N,this._mimeType=A,ee.checkSupport(S),this._worker=X.pipe(new _(S)),X.lock()}catch(E){this._worker=new y("error"),this._worker.error(E)}}R.prototype={accumulate:function(X){return G(this,X)},on:function(X,N){var A=this;return X==="data"?this._worker.on(X,function(S){N.call(A,S.data,S.meta)}):this._worker.on(X,function(){ee.delay(N,arguments,A)}),this},resume:function(){return ee.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(X){if(ee.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new F(this,{objectMode:this._outputType!=="nodebuffer"},X)}},Re.exports=R},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(L,Re,q){"use strict";if(q.base64=!0,q.array=!0,q.string=!0,q.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",q.nodebuffer=typeof a!="undefined",q.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")q.blob=!1;else{var ee=new ArrayBuffer(0);try{q.blob=new Blob([ee],{type:"application/zip"}).size===0}catch(y){try{var _=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);_.append(ee),q.blob=_.getBlob("application/zip").size===0}catch(V){q.blob=!1}}}try{q.nodestream=!!L("readable-stream").Readable}catch(y){q.nodestream=!1}},{"readable-stream":16}],31:[function(L,Re,q){"use strict";for(var ee=L("./utils"),_=L("./support"),y=L("./nodejsUtils"),V=L("./stream/GenericWorker"),c=new Array(256),T=0;T<256;T++)c[T]=252<=T?6:248<=T?5:240<=T?4:224<=T?3:192<=T?2:1;c[254]=c[254]=1;function F(){V.call(this,"utf-8 decode"),this.leftOver=null}function G(){V.call(this,"utf-8 encode")}q.utf8encode=function(R){return _.nodebuffer?y.newBufferFrom(R,"utf-8"):function(X){var N,A,S,E,oe,J=X.length,te=0;for(E=0;E<J;E++)(64512&(A=X.charCodeAt(E)))==55296&&E+1<J&&(64512&(S=X.charCodeAt(E+1)))==56320&&(A=65536+(A-55296<<10)+(S-56320),E++),te+=A<128?1:A<2048?2:A<65536?3:4;for(N=_.uint8array?new Uint8Array(te):new Array(te),E=oe=0;oe<te;E++)(64512&(A=X.charCodeAt(E)))==55296&&E+1<J&&(64512&(S=X.charCodeAt(E+1)))==56320&&(A=65536+(A-55296<<10)+(S-56320),E++),A<128?N[oe++]=A:(A<2048?N[oe++]=192|A>>>6:(A<65536?N[oe++]=224|A>>>12:(N[oe++]=240|A>>>18,N[oe++]=128|A>>>12&63),N[oe++]=128|A>>>6&63),N[oe++]=128|63&A);return N}(R)},q.utf8decode=function(R){return _.nodebuffer?ee.transformTo("nodebuffer",R).toString("utf-8"):function(X){var N,A,S,E,oe=X.length,J=new Array(2*oe);for(N=A=0;N<oe;)if((S=X[N++])<128)J[A++]=S;else if(4<(E=c[S]))J[A++]=65533,N+=E-1;else{for(S&=E===2?31:E===3?15:7;1<E&&N<oe;)S=S<<6|63&X[N++],E--;1<E?J[A++]=65533:S<65536?J[A++]=S:(S-=65536,J[A++]=55296|S>>10&1023,J[A++]=56320|1023&S)}return J.length!==A&&(J.subarray?J=J.subarray(0,A):J.length=A),ee.applyFromCharCode(J)}(R=ee.transformTo(_.uint8array?"uint8array":"array",R))},ee.inherits(F,V),F.prototype.processChunk=function(R){var X=ee.transformTo(_.uint8array?"uint8array":"array",R.data);if(this.leftOver&&this.leftOver.length){if(_.uint8array){var N=X;(X=new Uint8Array(N.length+this.leftOver.length)).set(this.leftOver,0),X.set(N,this.leftOver.length)}else X=this.leftOver.concat(X);this.leftOver=null}var A=function(E,oe){var J;for((oe=oe||E.length)>E.length&&(oe=E.length),J=oe-1;0<=J&&(192&E[J])==128;)J--;return J<0||J===0?oe:J+c[E[J]]>oe?J:oe}(X),S=X;A!==X.length&&(_.uint8array?(S=X.subarray(0,A),this.leftOver=X.subarray(A,X.length)):(S=X.slice(0,A),this.leftOver=X.slice(A,X.length))),this.push({data:q.utf8decode(S),meta:R.meta})},F.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:q.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},q.Utf8DecodeWorker=F,ee.inherits(G,V),G.prototype.processChunk=function(R){this.push({data:q.utf8encode(R.data),meta:R.meta})},q.Utf8EncodeWorker=G},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(L,Re,q){"use strict";var ee=L("./support"),_=L("./base64"),y=L("./nodejsUtils"),V=L("./external");function c(N){return N}function T(N,A){for(var S=0;S<N.length;++S)A[S]=255&N.charCodeAt(S);return A}L("setimmediate"),q.newBlob=function(N,A){q.checkSupport("blob");try{return new Blob([N],{type:A})}catch(E){try{var S=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return S.append(N),S.getBlob(A)}catch(oe){throw new Error("Bug : can't construct the Blob.")}}};var F={stringifyByChunk:function(N,A,S){var E=[],oe=0,J=N.length;if(J<=S)return String.fromCharCode.apply(null,N);for(;oe<J;)A==="array"||A==="nodebuffer"?E.push(String.fromCharCode.apply(null,N.slice(oe,Math.min(oe+S,J)))):E.push(String.fromCharCode.apply(null,N.subarray(oe,Math.min(oe+S,J)))),oe+=S;return E.join("")},stringifyByChar:function(N){for(var A="",S=0;S<N.length;S++)A+=String.fromCharCode(N[S]);return A},applyCanBeUsed:{uint8array:function(){try{return ee.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(N){return!1}}(),nodebuffer:function(){try{return ee.nodebuffer&&String.fromCharCode.apply(null,y.allocBuffer(1)).length===1}catch(N){return!1}}()}};function G(N){var A=65536,S=q.getTypeOf(N),E=!0;if(S==="uint8array"?E=F.applyCanBeUsed.uint8array:S==="nodebuffer"&&(E=F.applyCanBeUsed.nodebuffer),E)for(;1<A;)try{return F.stringifyByChunk(N,S,A)}catch(oe){A=Math.floor(A/2)}return F.stringifyByChar(N)}function R(N,A){for(var S=0;S<N.length;S++)A[S]=N[S];return A}q.applyFromCharCode=G;var X={};X.string={string:c,array:function(N){return T(N,new Array(N.length))},arraybuffer:function(N){return X.string.uint8array(N).buffer},uint8array:function(N){return T(N,new Uint8Array(N.length))},nodebuffer:function(N){return T(N,y.allocBuffer(N.length))}},X.array={string:G,array:c,arraybuffer:function(N){return new Uint8Array(N).buffer},uint8array:function(N){return new Uint8Array(N)},nodebuffer:function(N){return y.newBufferFrom(N)}},X.arraybuffer={string:function(N){return G(new Uint8Array(N))},array:function(N){return R(new Uint8Array(N),new Array(N.byteLength))},arraybuffer:c,uint8array:function(N){return new Uint8Array(N)},nodebuffer:function(N){return y.newBufferFrom(new Uint8Array(N))}},X.uint8array={string:G,array:function(N){return R(N,new Array(N.length))},arraybuffer:function(N){return N.buffer},uint8array:c,nodebuffer:function(N){return y.newBufferFrom(N)}},X.nodebuffer={string:G,array:function(N){return R(N,new Array(N.length))},arraybuffer:function(N){return X.nodebuffer.uint8array(N).buffer},uint8array:function(N){return R(N,new Uint8Array(N.length))},nodebuffer:c},q.transformTo=function(N,A){if(A=A||"",!N)return A;q.checkSupport(N);var S=q.getTypeOf(A);return X[S][N](A)},q.resolve=function(N){for(var A=N.split("/"),S=[],E=0;E<A.length;E++){var oe=A[E];oe==="."||oe===""&&E!==0&&E!==A.length-1||(oe===".."?S.pop():S.push(oe))}return S.join("/")},q.getTypeOf=function(N){return typeof N=="string"?"string":Object.prototype.toString.call(N)==="[object Array]"?"array":ee.nodebuffer&&y.isBuffer(N)?"nodebuffer":ee.uint8array&&N instanceof Uint8Array?"uint8array":ee.arraybuffer&&N instanceof ArrayBuffer?"arraybuffer":void 0},q.checkSupport=function(N){if(!ee[N.toLowerCase()])throw new Error(N+" is not supported by this platform")},q.MAX_VALUE_16BITS=65535,q.MAX_VALUE_32BITS=-1,q.pretty=function(N){var A,S,E="";for(S=0;S<(N||"").length;S++)E+="\\x"+((A=N.charCodeAt(S))<16?"0":"")+A.toString(16).toUpperCase();return E},q.delay=function(N,A,S){setImmediate(function(){N.apply(S||null,A||[])})},q.inherits=function(N,A){function S(){}S.prototype=A.prototype,N.prototype=new S},q.extend=function(){var N,A,S={};for(N=0;N<arguments.length;N++)for(A in arguments[N])Object.prototype.hasOwnProperty.call(arguments[N],A)&&S[A]===void 0&&(S[A]=arguments[N][A]);return S},q.prepareContent=function(N,A,S,E,oe){return V.Promise.resolve(A).then(function(J){return ee.blob&&(J instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(J))!==-1)&&typeof FileReader!="undefined"?new V.Promise(function(te,$e){var Ne=new FileReader;Ne.onload=function(Qe){te(Qe.target.result)},Ne.onerror=function(Qe){$e(Qe.target.error)},Ne.readAsArrayBuffer(J)}):J}).then(function(J){var te=q.getTypeOf(J);return te?(te==="arraybuffer"?J=q.transformTo("uint8array",J):te==="string"&&(oe?J=_.decode(J):S&&E!==!0&&(J=function($e){return T($e,ee.uint8array?new Uint8Array($e.length):new Array($e.length))}(J))),J):V.Promise.reject(new Error("Can't read the data of '"+N+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(L,Re,q){"use strict";var ee=L("./reader/readerFor"),_=L("./utils"),y=L("./signature"),V=L("./zipEntry"),c=L("./support");function T(F){this.files=[],this.loadOptions=F}T.prototype={checkSignature:function(F){if(!this.reader.readAndCheckSignature(F)){this.reader.index-=4;var G=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+_.pretty(G)+", expected "+_.pretty(F)+")")}},isSignature:function(F,G){var R=this.reader.index;this.reader.setIndex(F);var X=this.reader.readString(4)===G;return this.reader.setIndex(R),X},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 F=this.reader.readData(this.zipCommentLength),G=c.uint8array?"uint8array":"array",R=_.transformTo(G,F);this.zipComment=this.loadOptions.decodeFileName(R)},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 F,G,R,X=this.zip64EndOfCentralSize-44;0<X;)F=this.reader.readInt(2),G=this.reader.readInt(4),R=this.reader.readData(G),this.zip64ExtensibleData[F]={id:F,length:G,value:R}},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 F,G;for(F=0;F<this.files.length;F++)G=this.files[F],this.reader.setIndex(G.localHeaderOffset),this.checkSignature(y.LOCAL_FILE_HEADER),G.readLocalPart(this.reader),G.handleUTF8(),G.processAttributes()},readCentralDir:function(){var F;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(y.CENTRAL_FILE_HEADER);)(F=new V({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(F);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 F=this.reader.lastIndexOfSignature(y.CENTRAL_DIRECTORY_END);if(F<0)throw this.isSignature(0,y.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(F);var G=F;if(this.checkSignature(y.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===_.MAX_VALUE_16BITS||this.diskWithCentralDirStart===_.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===_.MAX_VALUE_16BITS||this.centralDirRecords===_.MAX_VALUE_16BITS||this.centralDirSize===_.MAX_VALUE_32BITS||this.centralDirOffset===_.MAX_VALUE_32BITS){if(this.zip64=!0,(F=this.reader.lastIndexOfSignature(y.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(F),this.checkSignature(y.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,y.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(y.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(y.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var R=this.centralDirOffset+this.centralDirSize;this.zip64&&(R+=20,R+=12+this.zip64EndOfCentralSize);var X=G-R;if(0<X)this.isSignature(G,y.CENTRAL_FILE_HEADER)||(this.reader.zero=X);else if(X<0)throw new Error("Corrupted zip: missing "+Math.abs(X)+" bytes.")},prepareReader:function(F){this.reader=ee(F)},load:function(F){this.prepareReader(F),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},Re.exports=T},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(L,Re,q){"use strict";var ee=L("./reader/readerFor"),_=L("./utils"),y=L("./compressedObject"),V=L("./crc32"),c=L("./utf8"),T=L("./compressions"),F=L("./support");function G(R,X){this.options=R,this.loadOptions=X}G.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(R){var X,N;if(R.skip(22),this.fileNameLength=R.readInt(2),N=R.readInt(2),this.fileName=R.readData(this.fileNameLength),R.skip(N),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((X=function(A){for(var S in T)if(Object.prototype.hasOwnProperty.call(T,S)&&T[S].magic===A)return T[S];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+_.pretty(this.compressionMethod)+" unknown (inner file : "+_.transformTo("string",this.fileName)+")");this.decompressed=new y(this.compressedSize,this.uncompressedSize,this.crc32,X,R.readData(this.compressedSize))},readCentralPart:function(R){this.versionMadeBy=R.readInt(2),R.skip(2),this.bitFlag=R.readInt(2),this.compressionMethod=R.readString(2),this.date=R.readDate(),this.crc32=R.readInt(4),this.compressedSize=R.readInt(4),this.uncompressedSize=R.readInt(4);var X=R.readInt(2);if(this.extraFieldsLength=R.readInt(2),this.fileCommentLength=R.readInt(2),this.diskNumberStart=R.readInt(2),this.internalFileAttributes=R.readInt(2),this.externalFileAttributes=R.readInt(4),this.localHeaderOffset=R.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");R.skip(X),this.readExtraFields(R),this.parseZIP64ExtraField(R),this.fileComment=R.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var R=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),R==0&&(this.dosPermissions=63&this.externalFileAttributes),R==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var R=ee(this.extraFields[1].value);this.uncompressedSize===_.MAX_VALUE_32BITS&&(this.uncompressedSize=R.readInt(8)),this.compressedSize===_.MAX_VALUE_32BITS&&(this.compressedSize=R.readInt(8)),this.localHeaderOffset===_.MAX_VALUE_32BITS&&(this.localHeaderOffset=R.readInt(8)),this.diskNumberStart===_.MAX_VALUE_32BITS&&(this.diskNumberStart=R.readInt(4))}},readExtraFields:function(R){var X,N,A,S=R.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});R.index+4<S;)X=R.readInt(2),N=R.readInt(2),A=R.readData(N),this.extraFields[X]={id:X,length:N,value:A};R.setIndex(S)},handleUTF8:function(){var R=F.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=c.utf8decode(this.fileName),this.fileCommentStr=c.utf8decode(this.fileComment);else{var X=this.findExtraFieldUnicodePath();if(X!==null)this.fileNameStr=X;else{var N=_.transformTo(R,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(N)}var A=this.findExtraFieldUnicodeComment();if(A!==null)this.fileCommentStr=A;else{var S=_.transformTo(R,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(S)}}},findExtraFieldUnicodePath:function(){var R=this.extraFields[28789];if(R){var X=ee(R.value);return X.readInt(1)!==1||V(this.fileName)!==X.readInt(4)?null:c.utf8decode(X.readData(R.length-5))}return null},findExtraFieldUnicodeComment:function(){var R=this.extraFields[25461];if(R){var X=ee(R.value);return X.readInt(1)!==1||V(this.fileComment)!==X.readInt(4)?null:c.utf8decode(X.readData(R.length-5))}return null}},Re.exports=G},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(L,Re,q){"use strict";function ee(X,N,A){this.name=X,this.dir=A.dir,this.date=A.date,this.comment=A.comment,this.unixPermissions=A.unixPermissions,this.dosPermissions=A.dosPermissions,this._data=N,this._dataBinary=A.binary,this.options={compression:A.compression,compressionOptions:A.compressionOptions}}var _=L("./stream/StreamHelper"),y=L("./stream/DataWorker"),V=L("./utf8"),c=L("./compressedObject"),T=L("./stream/GenericWorker");ee.prototype={internalStream:function(X){var N=null,A="string";try{if(!X)throw new Error("No output type specified.");var S=(A=X.toLowerCase())==="string"||A==="text";A!=="binarystring"&&A!=="text"||(A="string"),N=this._decompressWorker();var E=!this._dataBinary;E&&!S&&(N=N.pipe(new V.Utf8EncodeWorker)),!E&&S&&(N=N.pipe(new V.Utf8DecodeWorker))}catch(oe){(N=new T("error")).error(oe)}return new _(N,A,"")},async:function(X,N){return this.internalStream(X).accumulate(N)},nodeStream:function(X,N){return this.internalStream(X||"nodebuffer").toNodejsStream(N)},_compressWorker:function(X,N){if(this._data instanceof c&&this._data.compression.magic===X.magic)return this._data.getCompressedWorker();var A=this._decompressWorker();return this._dataBinary||(A=A.pipe(new V.Utf8EncodeWorker)),c.createWorkerFrom(A,X,N)},_decompressWorker:function(){return this._data instanceof c?this._data.getContentWorker():this._data instanceof T?this._data:new y(this._data)}};for(var F=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],G=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},R=0;R<F.length;R++)ee.prototype[F[R]]=G;Re.exports=ee},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(L,Re,q){(function(ee){"use strict";var _,y,V=ee.MutationObserver||ee.WebKitMutationObserver;if(V){var c=0,T=new V(X),F=ee.document.createTextNode("");T.observe(F,{characterData:!0}),_=function(){F.data=c=++c%2}}else if(ee.setImmediate||ee.MessageChannel===void 0)_="document"in ee&&"onreadystatechange"in ee.document.createElement("script")?function(){var N=ee.document.createElement("script");N.onreadystatechange=function(){X(),N.onreadystatechange=null,N.parentNode.removeChild(N),N=null},ee.document.documentElement.appendChild(N)}:function(){setTimeout(X,0)};else{var G=new ee.MessageChannel;G.port1.onmessage=X,_=function(){G.port2.postMessage(0)}}var R=[];function X(){var N,A;y=!0;for(var S=R.length;S;){for(A=R,R=[],N=-1;++N<S;)A[N]();S=R.length}y=!1}Re.exports=function(N){R.push(N)!==1||y||_()}}).call(this,typeof n.g!="undefined"?n.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(L,Re,q){"use strict";var ee=L("immediate");function _(){}var y={},V=["REJECTED"],c=["FULFILLED"],T=["PENDING"];function F(S){if(typeof S!="function")throw new TypeError("resolver must be a function");this.state=T,this.queue=[],this.outcome=void 0,S!==_&&N(this,S)}function G(S,E,oe){this.promise=S,typeof E=="function"&&(this.onFulfilled=E,this.callFulfilled=this.otherCallFulfilled),typeof oe=="function"&&(this.onRejected=oe,this.callRejected=this.otherCallRejected)}function R(S,E,oe){ee(function(){var J;try{J=E(oe)}catch(te){return y.reject(S,te)}J===S?y.reject(S,new TypeError("Cannot resolve promise with itself")):y.resolve(S,J)})}function X(S){var E=S&&S.then;if(S&&(typeof S=="object"||typeof S=="function")&&typeof E=="function")return function(){E.apply(S,arguments)}}function N(S,E){var oe=!1;function J(Ne){oe||(oe=!0,y.reject(S,Ne))}function te(Ne){oe||(oe=!0,y.resolve(S,Ne))}var $e=A(function(){E(te,J)});$e.status==="error"&&J($e.value)}function A(S,E){var oe={};try{oe.value=S(E),oe.status="success"}catch(J){oe.status="error",oe.value=J}return oe}(Re.exports=F).prototype.finally=function(S){if(typeof S!="function")return this;var E=this.constructor;return this.then(function(oe){return E.resolve(S()).then(function(){return oe})},function(oe){return E.resolve(S()).then(function(){throw oe})})},F.prototype.catch=function(S){return this.then(null,S)},F.prototype.then=function(S,E){if(typeof S!="function"&&this.state===c||typeof E!="function"&&this.state===V)return this;var oe=new this.constructor(_);return this.state!==T?R(oe,this.state===c?S:E,this.outcome):this.queue.push(new G(oe,S,E)),oe},G.prototype.callFulfilled=function(S){y.resolve(this.promise,S)},G.prototype.otherCallFulfilled=function(S){R(this.promise,this.onFulfilled,S)},G.prototype.callRejected=function(S){y.reject(this.promise,S)},G.prototype.otherCallRejected=function(S){R(this.promise,this.onRejected,S)},y.resolve=function(S,E){var oe=A(X,E);if(oe.status==="error")return y.reject(S,oe.value);var J=oe.value;if(J)N(S,J);else{S.state=c,S.outcome=E;for(var te=-1,$e=S.queue.length;++te<$e;)S.queue[te].callFulfilled(E)}return S},y.reject=function(S,E){S.state=V,S.outcome=E;for(var oe=-1,J=S.queue.length;++oe<J;)S.queue[oe].callRejected(E);return S},F.resolve=function(S){return S instanceof this?S:y.resolve(new this(_),S)},F.reject=function(S){var E=new this(_);return y.reject(E,S)},F.all=function(S){var E=this;if(Object.prototype.toString.call(S)!=="[object Array]")return this.reject(new TypeError("must be an array"));var oe=S.length,J=!1;if(!oe)return this.resolve([]);for(var te=new Array(oe),$e=0,Ne=-1,Qe=new this(_);++Ne<oe;)Ze(S[Ne],Ne);return Qe;function Ze(we,xe){E.resolve(we).then(function(Q){te[xe]=Q,++$e!==oe||J||(J=!0,y.resolve(Qe,te))},function(Q){J||(J=!0,y.reject(Qe,Q))})}},F.race=function(S){var E=this;if(Object.prototype.toString.call(S)!=="[object Array]")return this.reject(new TypeError("must be an array"));var oe=S.length,J=!1;if(!oe)return this.resolve([]);for(var te=-1,$e=new this(_);++te<oe;)Ne=S[te],E.resolve(Ne).then(function(Qe){J||(J=!0,y.resolve($e,Qe))},function(Qe){J||(J=!0,y.reject($e,Qe))});var Ne;return $e}},{immediate:36}],38:[function(L,Re,q){"use strict";var ee={};(0,L("./lib/utils/common").assign)(ee,L("./lib/deflate"),L("./lib/inflate"),L("./lib/zlib/constants")),Re.exports=ee},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(L,Re,q){"use strict";var ee=L("./zlib/deflate"),_=L("./utils/common"),y=L("./utils/strings"),V=L("./zlib/messages"),c=L("./zlib/zstream"),T=Object.prototype.toString,F=0,G=-1,R=0,X=8;function N(S){if(!(this instanceof N))return new N(S);this.options=_.assign({level:G,method:X,chunkSize:16384,windowBits:15,memLevel:8,strategy:R,to:""},S||{});var E=this.options;E.raw&&0<E.windowBits?E.windowBits=-E.windowBits:E.gzip&&0<E.windowBits&&E.windowBits<16&&(E.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var oe=ee.deflateInit2(this.strm,E.level,E.method,E.windowBits,E.memLevel,E.strategy);if(oe!==F)throw new Error(V[oe]);if(E.header&&ee.deflateSetHeader(this.strm,E.header),E.dictionary){var J;if(J=typeof E.dictionary=="string"?y.string2buf(E.dictionary):T.call(E.dictionary)==="[object ArrayBuffer]"?new Uint8Array(E.dictionary):E.dictionary,(oe=ee.deflateSetDictionary(this.strm,J))!==F)throw new Error(V[oe]);this._dict_set=!0}}function A(S,E){var oe=new N(E);if(oe.push(S,!0),oe.err)throw oe.msg||V[oe.err];return oe.result}N.prototype.push=function(S,E){var oe,J,te=this.strm,$e=this.options.chunkSize;if(this.ended)return!1;J=E===~~E?E:E===!0?4:0,typeof S=="string"?te.input=y.string2buf(S):T.call(S)==="[object ArrayBuffer]"?te.input=new Uint8Array(S):te.input=S,te.next_in=0,te.avail_in=te.input.length;do{if(te.avail_out===0&&(te.output=new _.Buf8($e),te.next_out=0,te.avail_out=$e),(oe=ee.deflate(te,J))!==1&&oe!==F)return this.onEnd(oe),!(this.ended=!0);te.avail_out!==0&&(te.avail_in!==0||J!==4&&J!==2)||(this.options.to==="string"?this.onData(y.buf2binstring(_.shrinkBuf(te.output,te.next_out))):this.onData(_.shrinkBuf(te.output,te.next_out)))}while((0<te.avail_in||te.avail_out===0)&&oe!==1);return J===4?(oe=ee.deflateEnd(this.strm),this.onEnd(oe),this.ended=!0,oe===F):J!==2||(this.onEnd(F),!(te.avail_out=0))},N.prototype.onData=function(S){this.chunks.push(S)},N.prototype.onEnd=function(S){S===F&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=_.flattenChunks(this.chunks)),this.chunks=[],this.err=S,this.msg=this.strm.msg},q.Deflate=N,q.deflate=A,q.deflateRaw=function(S,E){return(E=E||{}).raw=!0,A(S,E)},q.gzip=function(S,E){return(E=E||{}).gzip=!0,A(S,E)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(L,Re,q){"use strict";var ee=L("./zlib/inflate"),_=L("./utils/common"),y=L("./utils/strings"),V=L("./zlib/constants"),c=L("./zlib/messages"),T=L("./zlib/zstream"),F=L("./zlib/gzheader"),G=Object.prototype.toString;function R(N){if(!(this instanceof R))return new R(N);this.options=_.assign({chunkSize:16384,windowBits:0,to:""},N||{});var A=this.options;A.raw&&0<=A.windowBits&&A.windowBits<16&&(A.windowBits=-A.windowBits,A.windowBits===0&&(A.windowBits=-15)),!(0<=A.windowBits&&A.windowBits<16)||N&&N.windowBits||(A.windowBits+=32),15<A.windowBits&&A.windowBits<48&&!(15&A.windowBits)&&(A.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new T,this.strm.avail_out=0;var S=ee.inflateInit2(this.strm,A.windowBits);if(S!==V.Z_OK)throw new Error(c[S]);this.header=new F,ee.inflateGetHeader(this.strm,this.header)}function X(N,A){var S=new R(A);if(S.push(N,!0),S.err)throw S.msg||c[S.err];return S.result}R.prototype.push=function(N,A){var S,E,oe,J,te,$e,Ne=this.strm,Qe=this.options.chunkSize,Ze=this.options.dictionary,we=!1;if(this.ended)return!1;E=A===~~A?A:A===!0?V.Z_FINISH:V.Z_NO_FLUSH,typeof N=="string"?Ne.input=y.binstring2buf(N):G.call(N)==="[object ArrayBuffer]"?Ne.input=new Uint8Array(N):Ne.input=N,Ne.next_in=0,Ne.avail_in=Ne.input.length;do{if(Ne.avail_out===0&&(Ne.output=new _.Buf8(Qe),Ne.next_out=0,Ne.avail_out=Qe),(S=ee.inflate(Ne,V.Z_NO_FLUSH))===V.Z_NEED_DICT&&Ze&&($e=typeof Ze=="string"?y.string2buf(Ze):G.call(Ze)==="[object ArrayBuffer]"?new Uint8Array(Ze):Ze,S=ee.inflateSetDictionary(this.strm,$e)),S===V.Z_BUF_ERROR&&we===!0&&(S=V.Z_OK,we=!1),S!==V.Z_STREAM_END&&S!==V.Z_OK)return this.onEnd(S),!(this.ended=!0);Ne.next_out&&(Ne.avail_out!==0&&S!==V.Z_STREAM_END&&(Ne.avail_in!==0||E!==V.Z_FINISH&&E!==V.Z_SYNC_FLUSH)||(this.options.to==="string"?(oe=y.utf8border(Ne.output,Ne.next_out),J=Ne.next_out-oe,te=y.buf2string(Ne.output,oe),Ne.next_out=J,Ne.avail_out=Qe-J,J&&_.arraySet(Ne.output,Ne.output,oe,J,0),this.onData(te)):this.onData(_.shrinkBuf(Ne.output,Ne.next_out)))),Ne.avail_in===0&&Ne.avail_out===0&&(we=!0)}while((0<Ne.avail_in||Ne.avail_out===0)&&S!==V.Z_STREAM_END);return S===V.Z_STREAM_END&&(E=V.Z_FINISH),E===V.Z_FINISH?(S=ee.inflateEnd(this.strm),this.onEnd(S),this.ended=!0,S===V.Z_OK):E!==V.Z_SYNC_FLUSH||(this.onEnd(V.Z_OK),!(Ne.avail_out=0))},R.prototype.onData=function(N){this.chunks.push(N)},R.prototype.onEnd=function(N){N===V.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=_.flattenChunks(this.chunks)),this.chunks=[],this.err=N,this.msg=this.strm.msg},q.Inflate=R,q.inflate=X,q.inflateRaw=function(N,A){return(A=A||{}).raw=!0,X(N,A)},q.ungzip=X},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(L,Re,q){"use strict";var ee=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";q.assign=function(V){for(var c=Array.prototype.slice.call(arguments,1);c.length;){var T=c.shift();if(T){if(typeof T!="object")throw new TypeError(T+"must be non-object");for(var F in T)T.hasOwnProperty(F)&&(V[F]=T[F])}}return V},q.shrinkBuf=function(V,c){return V.length===c?V:V.subarray?V.subarray(0,c):(V.length=c,V)};var _={arraySet:function(V,c,T,F,G){if(c.subarray&&V.subarray)V.set(c.subarray(T,T+F),G);else for(var R=0;R<F;R++)V[G+R]=c[T+R]},flattenChunks:function(V){var c,T,F,G,R,X;for(c=F=0,T=V.length;c<T;c++)F+=V[c].length;for(X=new Uint8Array(F),c=G=0,T=V.length;c<T;c++)R=V[c],X.set(R,G),G+=R.length;return X}},y={arraySet:function(V,c,T,F,G){for(var R=0;R<F;R++)V[G+R]=c[T+R]},flattenChunks:function(V){return[].concat.apply([],V)}};q.setTyped=function(V){V?(q.Buf8=Uint8Array,q.Buf16=Uint16Array,q.Buf32=Int32Array,q.assign(q,_)):(q.Buf8=Array,q.Buf16=Array,q.Buf32=Array,q.assign(q,y))},q.setTyped(ee)},{}],42:[function(L,Re,q){"use strict";var ee=L("./common"),_=!0,y=!0;try{String.fromCharCode.apply(null,[0])}catch(F){_=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(F){y=!1}for(var V=new ee.Buf8(256),c=0;c<256;c++)V[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;function T(F,G){if(G<65537&&(F.subarray&&y||!F.subarray&&_))return String.fromCharCode.apply(null,ee.shrinkBuf(F,G));for(var R="",X=0;X<G;X++)R+=String.fromCharCode(F[X]);return R}V[254]=V[254]=1,q.string2buf=function(F){var G,R,X,N,A,S=F.length,E=0;for(N=0;N<S;N++)(64512&(R=F.charCodeAt(N)))==55296&&N+1<S&&(64512&(X=F.charCodeAt(N+1)))==56320&&(R=65536+(R-55296<<10)+(X-56320),N++),E+=R<128?1:R<2048?2:R<65536?3:4;for(G=new ee.Buf8(E),N=A=0;A<E;N++)(64512&(R=F.charCodeAt(N)))==55296&&N+1<S&&(64512&(X=F.charCodeAt(N+1)))==56320&&(R=65536+(R-55296<<10)+(X-56320),N++),R<128?G[A++]=R:(R<2048?G[A++]=192|R>>>6:(R<65536?G[A++]=224|R>>>12:(G[A++]=240|R>>>18,G[A++]=128|R>>>12&63),G[A++]=128|R>>>6&63),G[A++]=128|63&R);return G},q.buf2binstring=function(F){return T(F,F.length)},q.binstring2buf=function(F){for(var G=new ee.Buf8(F.length),R=0,X=G.length;R<X;R++)G[R]=F.charCodeAt(R);return G},q.buf2string=function(F,G){var R,X,N,A,S=G||F.length,E=new Array(2*S);for(R=X=0;R<S;)if((N=F[R++])<128)E[X++]=N;else if(4<(A=V[N]))E[X++]=65533,R+=A-1;else{for(N&=A===2?31:A===3?15:7;1<A&&R<S;)N=N<<6|63&F[R++],A--;1<A?E[X++]=65533:N<65536?E[X++]=N:(N-=65536,E[X++]=55296|N>>10&1023,E[X++]=56320|1023&N)}return T(E,X)},q.utf8border=function(F,G){var R;for((G=G||F.length)>F.length&&(G=F.length),R=G-1;0<=R&&(192&F[R])==128;)R--;return R<0||R===0?G:R+V[F[R]]>G?R:G}},{"./common":41}],43:[function(L,Re,q){"use strict";Re.exports=function(ee,_,y,V){for(var c=65535&ee|0,T=ee>>>16&65535|0,F=0;y!==0;){for(y-=F=2e3<y?2e3:y;T=T+(c=c+_[V++]|0)|0,--F;);c%=65521,T%=65521}return c|T<<16|0}},{}],44:[function(L,Re,q){"use strict";Re.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(L,Re,q){"use strict";var ee=function(){for(var _,y=[],V=0;V<256;V++){_=V;for(var c=0;c<8;c++)_=1&_?3988292384^_>>>1:_>>>1;y[V]=_}return y}();Re.exports=function(_,y,V,c){var T=ee,F=c+V;_^=-1;for(var G=c;G<F;G++)_=_>>>8^T[255&(_^y[G])];return-1^_}},{}],46:[function(L,Re,q){"use strict";var ee,_=L("../utils/common"),y=L("./trees"),V=L("./adler32"),c=L("./crc32"),T=L("./messages"),F=0,G=4,R=0,X=-2,N=-1,A=4,S=2,E=8,oe=9,J=286,te=30,$e=19,Ne=2*J+1,Qe=15,Ze=3,we=258,xe=we+Ze+1,Q=42,ye=113,j=1,I=2,rt=3,le=4;function se(P,_e){return P.msg=T[_e],_e}function w(P){return(P<<1)-(4<P?9:0)}function k(P){for(var _e=P.length;0<=--_e;)P[_e]=0}function z(P){var _e=P.state,be=_e.pending;be>P.avail_out&&(be=P.avail_out),be!==0&&(_.arraySet(P.output,_e.pending_buf,_e.pending_out,be,P.next_out),P.next_out+=be,_e.pending_out+=be,P.total_out+=be,P.avail_out-=be,_e.pending-=be,_e.pending===0&&(_e.pending_out=0))}function C(P,_e){y._tr_flush_block(P,0<=P.block_start?P.block_start:-1,P.strstart-P.block_start,_e),P.block_start=P.strstart,z(P.strm)}function Y(P,_e){P.pending_buf[P.pending++]=_e}function ke(P,_e){P.pending_buf[P.pending++]=_e>>>8&255,P.pending_buf[P.pending++]=255&_e}function pe(P,_e){var be,he,de=P.max_chain_length,me=P.strstart,Ie=P.prev_length,Se=P.nice_match,Me=P.strstart>P.w_size-xe?P.strstart-(P.w_size-xe):0,Je=P.window,pt=P.w_mask,Ot=P.prev,_t=P.strstart+we,Gt=Je[me+Ie-1],Pt=Je[me+Ie];P.prev_length>=P.good_match&&(de>>=2),Se>P.lookahead&&(Se=P.lookahead);do if(Je[(be=_e)+Ie]===Pt&&Je[be+Ie-1]===Gt&&Je[be]===Je[me]&&Je[++be]===Je[me+1]){me+=2,be++;do;while(Je[++me]===Je[++be]&&Je[++me]===Je[++be]&&Je[++me]===Je[++be]&&Je[++me]===Je[++be]&&Je[++me]===Je[++be]&&Je[++me]===Je[++be]&&Je[++me]===Je[++be]&&Je[++me]===Je[++be]&&me<_t);if(he=we-(_t-me),me=_t-we,Ie<he){if(P.match_start=_e,Se<=(Ie=he))break;Gt=Je[me+Ie-1],Pt=Je[me+Ie]}}while((_e=Ot[_e&pt])>Me&&--de!=0);return Ie<=P.lookahead?Ie:P.lookahead}function Ue(P){var _e,be,he,de,me,Ie,Se,Me,Je,pt,Ot=P.w_size;do{if(de=P.window_size-P.lookahead-P.strstart,P.strstart>=Ot+(Ot-xe)){for(_.arraySet(P.window,P.window,Ot,Ot,0),P.match_start-=Ot,P.strstart-=Ot,P.block_start-=Ot,_e=be=P.hash_size;he=P.head[--_e],P.head[_e]=Ot<=he?he-Ot:0,--be;);for(_e=be=Ot;he=P.prev[--_e],P.prev[_e]=Ot<=he?he-Ot:0,--be;);de+=Ot}if(P.strm.avail_in===0)break;if(Ie=P.strm,Se=P.window,Me=P.strstart+P.lookahead,Je=de,pt=void 0,pt=Ie.avail_in,Je<pt&&(pt=Je),be=pt===0?0:(Ie.avail_in-=pt,_.arraySet(Se,Ie.input,Ie.next_in,pt,Me),Ie.state.wrap===1?Ie.adler=V(Ie.adler,Se,pt,Me):Ie.state.wrap===2&&(Ie.adler=c(Ie.adler,Se,pt,Me)),Ie.next_in+=pt,Ie.total_in+=pt,pt),P.lookahead+=be,P.lookahead+P.insert>=Ze)for(me=P.strstart-P.insert,P.ins_h=P.window[me],P.ins_h=(P.ins_h<<P.hash_shift^P.window[me+1])&P.hash_mask;P.insert&&(P.ins_h=(P.ins_h<<P.hash_shift^P.window[me+Ze-1])&P.hash_mask,P.prev[me&P.w_mask]=P.head[P.ins_h],P.head[P.ins_h]=me,me++,P.insert--,!(P.lookahead+P.insert<Ze)););}while(P.lookahead<xe&&P.strm.avail_in!==0)}function at(P,_e){for(var be,he;;){if(P.lookahead<xe){if(Ue(P),P.lookahead<xe&&_e===F)return j;if(P.lookahead===0)break}if(be=0,P.lookahead>=Ze&&(P.ins_h=(P.ins_h<<P.hash_shift^P.window[P.strstart+Ze-1])&P.hash_mask,be=P.prev[P.strstart&P.w_mask]=P.head[P.ins_h],P.head[P.ins_h]=P.strstart),be!==0&&P.strstart-be<=P.w_size-xe&&(P.match_length=pe(P,be)),P.match_length>=Ze)if(he=y._tr_tally(P,P.strstart-P.match_start,P.match_length-Ze),P.lookahead-=P.match_length,P.match_length<=P.max_lazy_match&&P.lookahead>=Ze){for(P.match_length--;P.strstart++,P.ins_h=(P.ins_h<<P.hash_shift^P.window[P.strstart+Ze-1])&P.hash_mask,be=P.prev[P.strstart&P.w_mask]=P.head[P.ins_h],P.head[P.ins_h]=P.strstart,--P.match_length!=0;);P.strstart++}else P.strstart+=P.match_length,P.match_length=0,P.ins_h=P.window[P.strstart],P.ins_h=(P.ins_h<<P.hash_shift^P.window[P.strstart+1])&P.hash_mask;else he=y._tr_tally(P,0,P.window[P.strstart]),P.lookahead--,P.strstart++;if(he&&(C(P,!1),P.strm.avail_out===0))return j}return P.insert=P.strstart<Ze-1?P.strstart:Ze-1,_e===G?(C(P,!0),P.strm.avail_out===0?rt:le):P.last_lit&&(C(P,!1),P.strm.avail_out===0)?j:I}function ct(P,_e){for(var be,he,de;;){if(P.lookahead<xe){if(Ue(P),P.lookahead<xe&&_e===F)return j;if(P.lookahead===0)break}if(be=0,P.lookahead>=Ze&&(P.ins_h=(P.ins_h<<P.hash_shift^P.window[P.strstart+Ze-1])&P.hash_mask,be=P.prev[P.strstart&P.w_mask]=P.head[P.ins_h],P.head[P.ins_h]=P.strstart),P.prev_length=P.match_length,P.prev_match=P.match_start,P.match_length=Ze-1,be!==0&&P.prev_length<P.max_lazy_match&&P.strstart-be<=P.w_size-xe&&(P.match_length=pe(P,be),P.match_length<=5&&(P.strategy===1||P.match_length===Ze&&4096<P.strstart-P.match_start)&&(P.match_length=Ze-1)),P.prev_length>=Ze&&P.match_length<=P.prev_length){for(de=P.strstart+P.lookahead-Ze,he=y._tr_tally(P,P.strstart-1-P.prev_match,P.prev_length-Ze),P.lookahead-=P.prev_length-1,P.prev_length-=2;++P.strstart<=de&&(P.ins_h=(P.ins_h<<P.hash_shift^P.window[P.strstart+Ze-1])&P.hash_mask,be=P.prev[P.strstart&P.w_mask]=P.head[P.ins_h],P.head[P.ins_h]=P.strstart),--P.prev_length!=0;);if(P.match_available=0,P.match_length=Ze-1,P.strstart++,he&&(C(P,!1),P.strm.avail_out===0))return j}else if(P.match_available){if((he=y._tr_tally(P,0,P.window[P.strstart-1]))&&C(P,!1),P.strstart++,P.lookahead--,P.strm.avail_out===0)return j}else P.match_available=1,P.strstart++,P.lookahead--}return P.match_available&&(he=y._tr_tally(P,0,P.window[P.strstart-1]),P.match_available=0),P.insert=P.strstart<Ze-1?P.strstart:Ze-1,_e===G?(C(P,!0),P.strm.avail_out===0?rt:le):P.last_lit&&(C(P,!1),P.strm.avail_out===0)?j:I}function ce(P,_e,be,he,de){this.good_length=P,this.max_lazy=_e,this.nice_length=be,this.max_chain=he,this.func=de}function Le(){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=E,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 _.Buf16(2*Ne),this.dyn_dtree=new _.Buf16(2*(2*te+1)),this.bl_tree=new _.Buf16(2*(2*$e+1)),k(this.dyn_ltree),k(this.dyn_dtree),k(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new _.Buf16(Qe+1),this.heap=new _.Buf16(2*J+1),k(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new _.Buf16(2*J+1),k(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 wt(P){var _e;return P&&P.state?(P.total_in=P.total_out=0,P.data_type=S,(_e=P.state).pending=0,_e.pending_out=0,_e.wrap<0&&(_e.wrap=-_e.wrap),_e.status=_e.wrap?Q:ye,P.adler=_e.wrap===2?0:1,_e.last_flush=F,y._tr_init(_e),R):se(P,X)}function Fe(P){var _e=wt(P);return _e===R&&function(be){be.window_size=2*be.w_size,k(be.head),be.max_lazy_match=ee[be.level].max_lazy,be.good_match=ee[be.level].good_length,be.nice_match=ee[be.level].nice_length,be.max_chain_length=ee[be.level].max_chain,be.strstart=0,be.block_start=0,be.lookahead=0,be.insert=0,be.match_length=be.prev_length=Ze-1,be.match_available=0,be.ins_h=0}(P.state),_e}function De(P,_e,be,he,de,me){if(!P)return X;var Ie=1;if(_e===N&&(_e=6),he<0?(Ie=0,he=-he):15<he&&(Ie=2,he-=16),de<1||oe<de||be!==E||he<8||15<he||_e<0||9<_e||me<0||A<me)return se(P,X);he===8&&(he=9);var Se=new Le;return(P.state=Se).strm=P,Se.wrap=Ie,Se.gzhead=null,Se.w_bits=he,Se.w_size=1<<Se.w_bits,Se.w_mask=Se.w_size-1,Se.hash_bits=de+7,Se.hash_size=1<<Se.hash_bits,Se.hash_mask=Se.hash_size-1,Se.hash_shift=~~((Se.hash_bits+Ze-1)/Ze),Se.window=new _.Buf8(2*Se.w_size),Se.head=new _.Buf16(Se.hash_size),Se.prev=new _.Buf16(Se.w_size),Se.lit_bufsize=1<<de+6,Se.pending_buf_size=4*Se.lit_bufsize,Se.pending_buf=new _.Buf8(Se.pending_buf_size),Se.d_buf=1*Se.lit_bufsize,Se.l_buf=3*Se.lit_bufsize,Se.level=_e,Se.strategy=me,Se.method=be,Fe(P)}ee=[new ce(0,0,0,0,function(P,_e){var be=65535;for(be>P.pending_buf_size-5&&(be=P.pending_buf_size-5);;){if(P.lookahead<=1){if(Ue(P),P.lookahead===0&&_e===F)return j;if(P.lookahead===0)break}P.strstart+=P.lookahead,P.lookahead=0;var he=P.block_start+be;if((P.strstart===0||P.strstart>=he)&&(P.lookahead=P.strstart-he,P.strstart=he,C(P,!1),P.strm.avail_out===0)||P.strstart-P.block_start>=P.w_size-xe&&(C(P,!1),P.strm.avail_out===0))return j}return P.insert=0,_e===G?(C(P,!0),P.strm.avail_out===0?rt:le):(P.strstart>P.block_start&&(C(P,!1),P.strm.avail_out),j)}),new ce(4,4,8,4,at),new ce(4,5,16,8,at),new ce(4,6,32,32,at),new ce(4,4,16,16,ct),new ce(8,16,32,32,ct),new ce(8,16,128,128,ct),new ce(8,32,128,256,ct),new ce(32,128,258,1024,ct),new ce(32,258,258,4096,ct)],q.deflateInit=function(P,_e){return De(P,_e,E,15,8,0)},q.deflateInit2=De,q.deflateReset=Fe,q.deflateResetKeep=wt,q.deflateSetHeader=function(P,_e){return P&&P.state?P.state.wrap!==2?X:(P.state.gzhead=_e,R):X},q.deflate=function(P,_e){var be,he,de,me;if(!P||!P.state||5<_e||_e<0)return P?se(P,X):X;if(he=P.state,!P.output||!P.input&&P.avail_in!==0||he.status===666&&_e!==G)return se(P,P.avail_out===0?-5:X);if(he.strm=P,be=he.last_flush,he.last_flush=_e,he.status===Q)if(he.wrap===2)P.adler=0,Y(he,31),Y(he,139),Y(he,8),he.gzhead?(Y(he,(he.gzhead.text?1:0)+(he.gzhead.hcrc?2:0)+(he.gzhead.extra?4:0)+(he.gzhead.name?8:0)+(he.gzhead.comment?16:0)),Y(he,255&he.gzhead.time),Y(he,he.gzhead.time>>8&255),Y(he,he.gzhead.time>>16&255),Y(he,he.gzhead.time>>24&255),Y(he,he.level===9?2:2<=he.strategy||he.level<2?4:0),Y(he,255&he.gzhead.os),he.gzhead.extra&&he.gzhead.extra.length&&(Y(he,255&he.gzhead.extra.length),Y(he,he.gzhead.extra.length>>8&255)),he.gzhead.hcrc&&(P.adler=c(P.adler,he.pending_buf,he.pending,0)),he.gzindex=0,he.status=69):(Y(he,0),Y(he,0),Y(he,0),Y(he,0),Y(he,0),Y(he,he.level===9?2:2<=he.strategy||he.level<2?4:0),Y(he,3),he.status=ye);else{var Ie=E+(he.w_bits-8<<4)<<8;Ie|=(2<=he.strategy||he.level<2?0:he.level<6?1:he.level===6?2:3)<<6,he.strstart!==0&&(Ie|=32),Ie+=31-Ie%31,he.status=ye,ke(he,Ie),he.strstart!==0&&(ke(he,P.adler>>>16),ke(he,65535&P.adler)),P.adler=1}if(he.status===69)if(he.gzhead.extra){for(de=he.pending;he.gzindex<(65535&he.gzhead.extra.length)&&(he.pending!==he.pending_buf_size||(he.gzhead.hcrc&&he.pending>de&&(P.adler=c(P.adler,he.pending_buf,he.pending-de,de)),z(P),de=he.pending,he.pending!==he.pending_buf_size));)Y(he,255&he.gzhead.extra[he.gzindex]),he.gzindex++;he.gzhead.hcrc&&he.pending>de&&(P.adler=c(P.adler,he.pending_buf,he.pending-de,de)),he.gzindex===he.gzhead.extra.length&&(he.gzindex=0,he.status=73)}else he.status=73;if(he.status===73)if(he.gzhead.name){de=he.pending;do{if(he.pending===he.pending_buf_size&&(he.gzhead.hcrc&&he.pending>de&&(P.adler=c(P.adler,he.pending_buf,he.pending-de,de)),z(P),de=he.pending,he.pending===he.pending_buf_size)){me=1;break}me=he.gzindex<he.gzhead.name.length?255&he.gzhead.name.charCodeAt(he.gzindex++):0,Y(he,me)}while(me!==0);he.gzhead.hcrc&&he.pending>de&&(P.adler=c(P.adler,he.pending_buf,he.pending-de,de)),me===0&&(he.gzindex=0,he.status=91)}else he.status=91;if(he.status===91)if(he.gzhead.comment){de=he.pending;do{if(he.pending===he.pending_buf_size&&(he.gzhead.hcrc&&he.pending>de&&(P.adler=c(P.adler,he.pending_buf,he.pending-de,de)),z(P),de=he.pending,he.pending===he.pending_buf_size)){me=1;break}me=he.gzindex<he.gzhead.comment.length?255&he.gzhead.comment.charCodeAt(he.gzindex++):0,Y(he,me)}while(me!==0);he.gzhead.hcrc&&he.pending>de&&(P.adler=c(P.adler,he.pending_buf,he.pending-de,de)),me===0&&(he.status=103)}else he.status=103;if(he.status===103&&(he.gzhead.hcrc?(he.pending+2>he.pending_buf_size&&z(P),he.pending+2<=he.pending_buf_size&&(Y(he,255&P.adler),Y(he,P.adler>>8&255),P.adler=0,he.status=ye)):he.status=ye),he.pending!==0){if(z(P),P.avail_out===0)return he.last_flush=-1,R}else if(P.avail_in===0&&w(_e)<=w(be)&&_e!==G)return se(P,-5);if(he.status===666&&P.avail_in!==0)return se(P,-5);if(P.avail_in!==0||he.lookahead!==0||_e!==F&&he.status!==666){var Se=he.strategy===2?function(Me,Je){for(var pt;;){if(Me.lookahead===0&&(Ue(Me),Me.lookahead===0)){if(Je===F)return j;break}if(Me.match_length=0,pt=y._tr_tally(Me,0,Me.window[Me.strstart]),Me.lookahead--,Me.strstart++,pt&&(C(Me,!1),Me.strm.avail_out===0))return j}return Me.insert=0,Je===G?(C(Me,!0),Me.strm.avail_out===0?rt:le):Me.last_lit&&(C(Me,!1),Me.strm.avail_out===0)?j:I}(he,_e):he.strategy===3?function(Me,Je){for(var pt,Ot,_t,Gt,Pt=Me.window;;){if(Me.lookahead<=we){if(Ue(Me),Me.lookahead<=we&&Je===F)return j;if(Me.lookahead===0)break}if(Me.match_length=0,Me.lookahead>=Ze&&0<Me.strstart&&(Ot=Pt[_t=Me.strstart-1])===Pt[++_t]&&Ot===Pt[++_t]&&Ot===Pt[++_t]){Gt=Me.strstart+we;do;while(Ot===Pt[++_t]&&Ot===Pt[++_t]&&Ot===Pt[++_t]&&Ot===Pt[++_t]&&Ot===Pt[++_t]&&Ot===Pt[++_t]&&Ot===Pt[++_t]&&Ot===Pt[++_t]&&_t<Gt);Me.match_length=we-(Gt-_t),Me.match_length>Me.lookahead&&(Me.match_length=Me.lookahead)}if(Me.match_length>=Ze?(pt=y._tr_tally(Me,1,Me.match_length-Ze),Me.lookahead-=Me.match_length,Me.strstart+=Me.match_length,Me.match_length=0):(pt=y._tr_tally(Me,0,Me.window[Me.strstart]),Me.lookahead--,Me.strstart++),pt&&(C(Me,!1),Me.strm.avail_out===0))return j}return Me.insert=0,Je===G?(C(Me,!0),Me.strm.avail_out===0?rt:le):Me.last_lit&&(C(Me,!1),Me.strm.avail_out===0)?j:I}(he,_e):ee[he.level].func(he,_e);if(Se!==rt&&Se!==le||(he.status=666),Se===j||Se===rt)return P.avail_out===0&&(he.last_flush=-1),R;if(Se===I&&(_e===1?y._tr_align(he):_e!==5&&(y._tr_stored_block(he,0,0,!1),_e===3&&(k(he.head),he.lookahead===0&&(he.strstart=0,he.block_start=0,he.insert=0))),z(P),P.avail_out===0))return he.last_flush=-1,R}return _e!==G?R:he.wrap<=0?1:(he.wrap===2?(Y(he,255&P.adler),Y(he,P.adler>>8&255),Y(he,P.adler>>16&255),Y(he,P.adler>>24&255),Y(he,255&P.total_in),Y(he,P.total_in>>8&255),Y(he,P.total_in>>16&255),Y(he,P.total_in>>24&255)):(ke(he,P.adler>>>16),ke(he,65535&P.adler)),z(P),0<he.wrap&&(he.wrap=-he.wrap),he.pending!==0?R:1)},q.deflateEnd=function(P){var _e;return P&&P.state?(_e=P.state.status)!==Q&&_e!==69&&_e!==73&&_e!==91&&_e!==103&&_e!==ye&&_e!==666?se(P,X):(P.state=null,_e===ye?se(P,-3):R):X},q.deflateSetDictionary=function(P,_e){var be,he,de,me,Ie,Se,Me,Je,pt=_e.length;if(!P||!P.state||(me=(be=P.state).wrap)===2||me===1&&be.status!==Q||be.lookahead)return X;for(me===1&&(P.adler=V(P.adler,_e,pt,0)),be.wrap=0,pt>=be.w_size&&(me===0&&(k(be.head),be.strstart=0,be.block_start=0,be.insert=0),Je=new _.Buf8(be.w_size),_.arraySet(Je,_e,pt-be.w_size,be.w_size,0),_e=Je,pt=be.w_size),Ie=P.avail_in,Se=P.next_in,Me=P.input,P.avail_in=pt,P.next_in=0,P.input=_e,Ue(be);be.lookahead>=Ze;){for(he=be.strstart,de=be.lookahead-(Ze-1);be.ins_h=(be.ins_h<<be.hash_shift^be.window[he+Ze-1])&be.hash_mask,be.prev[he&be.w_mask]=be.head[be.ins_h],be.head[be.ins_h]=he,he++,--de;);be.strstart=he,be.lookahead=Ze-1,Ue(be)}return be.strstart+=be.lookahead,be.block_start=be.strstart,be.insert=be.lookahead,be.lookahead=0,be.match_length=be.prev_length=Ze-1,be.match_available=0,P.next_in=Se,P.input=Me,P.avail_in=Ie,be.wrap=me,R},q.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(L,Re,q){"use strict";Re.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(L,Re,q){"use strict";Re.exports=function(ee,_){var y,V,c,T,F,G,R,X,N,A,S,E,oe,J,te,$e,Ne,Qe,Ze,we,xe,Q,ye,j,I;y=ee.state,V=ee.next_in,j=ee.input,c=V+(ee.avail_in-5),T=ee.next_out,I=ee.output,F=T-(_-ee.avail_out),G=T+(ee.avail_out-257),R=y.dmax,X=y.wsize,N=y.whave,A=y.wnext,S=y.window,E=y.hold,oe=y.bits,J=y.lencode,te=y.distcode,$e=(1<<y.lenbits)-1,Ne=(1<<y.distbits)-1;e:do{oe<15&&(E+=j[V++]<<oe,oe+=8,E+=j[V++]<<oe,oe+=8),Qe=J[E&$e];t:for(;;){if(E>>>=Ze=Qe>>>24,oe-=Ze,(Ze=Qe>>>16&255)===0)I[T++]=65535&Qe;else{if(!(16&Ze)){if(!(64&Ze)){Qe=J[(65535&Qe)+(E&(1<<Ze)-1)];continue t}if(32&Ze){y.mode=12;break e}ee.msg="invalid literal/length code",y.mode=30;break e}we=65535&Qe,(Ze&=15)&&(oe<Ze&&(E+=j[V++]<<oe,oe+=8),we+=E&(1<<Ze)-1,E>>>=Ze,oe-=Ze),oe<15&&(E+=j[V++]<<oe,oe+=8,E+=j[V++]<<oe,oe+=8),Qe=te[E&Ne];r:for(;;){if(E>>>=Ze=Qe>>>24,oe-=Ze,!(16&(Ze=Qe>>>16&255))){if(!(64&Ze)){Qe=te[(65535&Qe)+(E&(1<<Ze)-1)];continue r}ee.msg="invalid distance code",y.mode=30;break e}if(xe=65535&Qe,oe<(Ze&=15)&&(E+=j[V++]<<oe,(oe+=8)<Ze&&(E+=j[V++]<<oe,oe+=8)),R<(xe+=E&(1<<Ze)-1)){ee.msg="invalid distance too far back",y.mode=30;break e}if(E>>>=Ze,oe-=Ze,(Ze=T-F)<xe){if(N<(Ze=xe-Ze)&&y.sane){ee.msg="invalid distance too far back",y.mode=30;break e}if(ye=S,(Q=0)===A){if(Q+=X-Ze,Ze<we){for(we-=Ze;I[T++]=S[Q++],--Ze;);Q=T-xe,ye=I}}else if(A<Ze){if(Q+=X+A-Ze,(Ze-=A)<we){for(we-=Ze;I[T++]=S[Q++],--Ze;);if(Q=0,A<we){for(we-=Ze=A;I[T++]=S[Q++],--Ze;);Q=T-xe,ye=I}}}else if(Q+=A-Ze,Ze<we){for(we-=Ze;I[T++]=S[Q++],--Ze;);Q=T-xe,ye=I}for(;2<we;)I[T++]=ye[Q++],I[T++]=ye[Q++],I[T++]=ye[Q++],we-=3;we&&(I[T++]=ye[Q++],1<we&&(I[T++]=ye[Q++]))}else{for(Q=T-xe;I[T++]=I[Q++],I[T++]=I[Q++],I[T++]=I[Q++],2<(we-=3););we&&(I[T++]=I[Q++],1<we&&(I[T++]=I[Q++]))}break}}break}}while(V<c&&T<G);V-=we=oe>>3,E&=(1<<(oe-=we<<3))-1,ee.next_in=V,ee.next_out=T,ee.avail_in=V<c?c-V+5:5-(V-c),ee.avail_out=T<G?G-T+257:257-(T-G),y.hold=E,y.bits=oe}},{}],49:[function(L,Re,q){"use strict";var ee=L("../utils/common"),_=L("./adler32"),y=L("./crc32"),V=L("./inffast"),c=L("./inftrees"),T=1,F=2,G=0,R=-2,X=1,N=852,A=592;function S(Q){return(Q>>>24&255)+(Q>>>8&65280)+((65280&Q)<<8)+((255&Q)<<24)}function E(){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 ee.Buf16(320),this.work=new ee.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function oe(Q){var ye;return Q&&Q.state?(ye=Q.state,Q.total_in=Q.total_out=ye.total=0,Q.msg="",ye.wrap&&(Q.adler=1&ye.wrap),ye.mode=X,ye.last=0,ye.havedict=0,ye.dmax=32768,ye.head=null,ye.hold=0,ye.bits=0,ye.lencode=ye.lendyn=new ee.Buf32(N),ye.distcode=ye.distdyn=new ee.Buf32(A),ye.sane=1,ye.back=-1,G):R}function J(Q){var ye;return Q&&Q.state?((ye=Q.state).wsize=0,ye.whave=0,ye.wnext=0,oe(Q)):R}function te(Q,ye){var j,I;return Q&&Q.state?(I=Q.state,ye<0?(j=0,ye=-ye):(j=1+(ye>>4),ye<48&&(ye&=15)),ye&&(ye<8||15<ye)?R:(I.window!==null&&I.wbits!==ye&&(I.window=null),I.wrap=j,I.wbits=ye,J(Q))):R}function $e(Q,ye){var j,I;return Q?(I=new E,(Q.state=I).window=null,(j=te(Q,ye))!==G&&(Q.state=null),j):R}var Ne,Qe,Ze=!0;function we(Q){if(Ze){var ye;for(Ne=new ee.Buf32(512),Qe=new ee.Buf32(32),ye=0;ye<144;)Q.lens[ye++]=8;for(;ye<256;)Q.lens[ye++]=9;for(;ye<280;)Q.lens[ye++]=7;for(;ye<288;)Q.lens[ye++]=8;for(c(T,Q.lens,0,288,Ne,0,Q.work,{bits:9}),ye=0;ye<32;)Q.lens[ye++]=5;c(F,Q.lens,0,32,Qe,0,Q.work,{bits:5}),Ze=!1}Q.lencode=Ne,Q.lenbits=9,Q.distcode=Qe,Q.distbits=5}function xe(Q,ye,j,I){var rt,le=Q.state;return le.window===null&&(le.wsize=1<<le.wbits,le.wnext=0,le.whave=0,le.window=new ee.Buf8(le.wsize)),I>=le.wsize?(ee.arraySet(le.window,ye,j-le.wsize,le.wsize,0),le.wnext=0,le.whave=le.wsize):(I<(rt=le.wsize-le.wnext)&&(rt=I),ee.arraySet(le.window,ye,j-I,rt,le.wnext),(I-=rt)?(ee.arraySet(le.window,ye,j-I,I,0),le.wnext=I,le.whave=le.wsize):(le.wnext+=rt,le.wnext===le.wsize&&(le.wnext=0),le.whave<le.wsize&&(le.whave+=rt))),0}q.inflateReset=J,q.inflateReset2=te,q.inflateResetKeep=oe,q.inflateInit=function(Q){return $e(Q,15)},q.inflateInit2=$e,q.inflate=function(Q,ye){var j,I,rt,le,se,w,k,z,C,Y,ke,pe,Ue,at,ct,ce,Le,wt,Fe,De,P,_e,be,he,de=0,me=new ee.Buf8(4),Ie=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Q||!Q.state||!Q.output||!Q.input&&Q.avail_in!==0)return R;(j=Q.state).mode===12&&(j.mode=13),se=Q.next_out,rt=Q.output,k=Q.avail_out,le=Q.next_in,I=Q.input,w=Q.avail_in,z=j.hold,C=j.bits,Y=w,ke=k,_e=G;e:for(;;)switch(j.mode){case X:if(j.wrap===0){j.mode=13;break}for(;C<16;){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}if(2&j.wrap&&z===35615){me[j.check=0]=255&z,me[1]=z>>>8&255,j.check=y(j.check,me,2,0),C=z=0,j.mode=2;break}if(j.flags=0,j.head&&(j.head.done=!1),!(1&j.wrap)||(((255&z)<<8)+(z>>8))%31){Q.msg="incorrect header check",j.mode=30;break}if((15&z)!=8){Q.msg="unknown compression method",j.mode=30;break}if(C-=4,P=8+(15&(z>>>=4)),j.wbits===0)j.wbits=P;else if(P>j.wbits){Q.msg="invalid window size",j.mode=30;break}j.dmax=1<<P,Q.adler=j.check=1,j.mode=512&z?10:12,C=z=0;break;case 2:for(;C<16;){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}if(j.flags=z,(255&j.flags)!=8){Q.msg="unknown compression method",j.mode=30;break}if(57344&j.flags){Q.msg="unknown header flags set",j.mode=30;break}j.head&&(j.head.text=z>>8&1),512&j.flags&&(me[0]=255&z,me[1]=z>>>8&255,j.check=y(j.check,me,2,0)),C=z=0,j.mode=3;case 3:for(;C<32;){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}j.head&&(j.head.time=z),512&j.flags&&(me[0]=255&z,me[1]=z>>>8&255,me[2]=z>>>16&255,me[3]=z>>>24&255,j.check=y(j.check,me,4,0)),C=z=0,j.mode=4;case 4:for(;C<16;){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}j.head&&(j.head.xflags=255&z,j.head.os=z>>8),512&j.flags&&(me[0]=255&z,me[1]=z>>>8&255,j.check=y(j.check,me,2,0)),C=z=0,j.mode=5;case 5:if(1024&j.flags){for(;C<16;){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}j.length=z,j.head&&(j.head.extra_len=z),512&j.flags&&(me[0]=255&z,me[1]=z>>>8&255,j.check=y(j.check,me,2,0)),C=z=0}else j.head&&(j.head.extra=null);j.mode=6;case 6:if(1024&j.flags&&(w<(pe=j.length)&&(pe=w),pe&&(j.head&&(P=j.head.extra_len-j.length,j.head.extra||(j.head.extra=new Array(j.head.extra_len)),ee.arraySet(j.head.extra,I,le,pe,P)),512&j.flags&&(j.check=y(j.check,I,pe,le)),w-=pe,le+=pe,j.length-=pe),j.length))break e;j.length=0,j.mode=7;case 7:if(2048&j.flags){if(w===0)break e;for(pe=0;P=I[le+pe++],j.head&&P&&j.length<65536&&(j.head.name+=String.fromCharCode(P)),P&&pe<w;);if(512&j.flags&&(j.check=y(j.check,I,pe,le)),w-=pe,le+=pe,P)break e}else j.head&&(j.head.name=null);j.length=0,j.mode=8;case 8:if(4096&j.flags){if(w===0)break e;for(pe=0;P=I[le+pe++],j.head&&P&&j.length<65536&&(j.head.comment+=String.fromCharCode(P)),P&&pe<w;);if(512&j.flags&&(j.check=y(j.check,I,pe,le)),w-=pe,le+=pe,P)break e}else j.head&&(j.head.comment=null);j.mode=9;case 9:if(512&j.flags){for(;C<16;){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}if(z!==(65535&j.check)){Q.msg="header crc mismatch",j.mode=30;break}C=z=0}j.head&&(j.head.hcrc=j.flags>>9&1,j.head.done=!0),Q.adler=j.check=0,j.mode=12;break;case 10:for(;C<32;){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}Q.adler=j.check=S(z),C=z=0,j.mode=11;case 11:if(j.havedict===0)return Q.next_out=se,Q.avail_out=k,Q.next_in=le,Q.avail_in=w,j.hold=z,j.bits=C,2;Q.adler=j.check=1,j.mode=12;case 12:if(ye===5||ye===6)break e;case 13:if(j.last){z>>>=7&C,C-=7&C,j.mode=27;break}for(;C<3;){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}switch(j.last=1&z,C-=1,3&(z>>>=1)){case 0:j.mode=14;break;case 1:if(we(j),j.mode=20,ye!==6)break;z>>>=2,C-=2;break e;case 2:j.mode=17;break;case 3:Q.msg="invalid block type",j.mode=30}z>>>=2,C-=2;break;case 14:for(z>>>=7&C,C-=7&C;C<32;){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}if((65535&z)!=(z>>>16^65535)){Q.msg="invalid stored block lengths",j.mode=30;break}if(j.length=65535&z,C=z=0,j.mode=15,ye===6)break e;case 15:j.mode=16;case 16:if(pe=j.length){if(w<pe&&(pe=w),k<pe&&(pe=k),pe===0)break e;ee.arraySet(rt,I,le,pe,se),w-=pe,le+=pe,k-=pe,se+=pe,j.length-=pe;break}j.mode=12;break;case 17:for(;C<14;){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}if(j.nlen=257+(31&z),z>>>=5,C-=5,j.ndist=1+(31&z),z>>>=5,C-=5,j.ncode=4+(15&z),z>>>=4,C-=4,286<j.nlen||30<j.ndist){Q.msg="too many length or distance symbols",j.mode=30;break}j.have=0,j.mode=18;case 18:for(;j.have<j.ncode;){for(;C<3;){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}j.lens[Ie[j.have++]]=7&z,z>>>=3,C-=3}for(;j.have<19;)j.lens[Ie[j.have++]]=0;if(j.lencode=j.lendyn,j.lenbits=7,be={bits:j.lenbits},_e=c(0,j.lens,0,19,j.lencode,0,j.work,be),j.lenbits=be.bits,_e){Q.msg="invalid code lengths set",j.mode=30;break}j.have=0,j.mode=19;case 19:for(;j.have<j.nlen+j.ndist;){for(;ce=(de=j.lencode[z&(1<<j.lenbits)-1])>>>16&255,Le=65535&de,!((ct=de>>>24)<=C);){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}if(Le<16)z>>>=ct,C-=ct,j.lens[j.have++]=Le;else{if(Le===16){for(he=ct+2;C<he;){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}if(z>>>=ct,C-=ct,j.have===0){Q.msg="invalid bit length repeat",j.mode=30;break}P=j.lens[j.have-1],pe=3+(3&z),z>>>=2,C-=2}else if(Le===17){for(he=ct+3;C<he;){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}C-=ct,P=0,pe=3+(7&(z>>>=ct)),z>>>=3,C-=3}else{for(he=ct+7;C<he;){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}C-=ct,P=0,pe=11+(127&(z>>>=ct)),z>>>=7,C-=7}if(j.have+pe>j.nlen+j.ndist){Q.msg="invalid bit length repeat",j.mode=30;break}for(;pe--;)j.lens[j.have++]=P}}if(j.mode===30)break;if(j.lens[256]===0){Q.msg="invalid code -- missing end-of-block",j.mode=30;break}if(j.lenbits=9,be={bits:j.lenbits},_e=c(T,j.lens,0,j.nlen,j.lencode,0,j.work,be),j.lenbits=be.bits,_e){Q.msg="invalid literal/lengths set",j.mode=30;break}if(j.distbits=6,j.distcode=j.distdyn,be={bits:j.distbits},_e=c(F,j.lens,j.nlen,j.ndist,j.distcode,0,j.work,be),j.distbits=be.bits,_e){Q.msg="invalid distances set",j.mode=30;break}if(j.mode=20,ye===6)break e;case 20:j.mode=21;case 21:if(6<=w&&258<=k){Q.next_out=se,Q.avail_out=k,Q.next_in=le,Q.avail_in=w,j.hold=z,j.bits=C,V(Q,ke),se=Q.next_out,rt=Q.output,k=Q.avail_out,le=Q.next_in,I=Q.input,w=Q.avail_in,z=j.hold,C=j.bits,j.mode===12&&(j.back=-1);break}for(j.back=0;ce=(de=j.lencode[z&(1<<j.lenbits)-1])>>>16&255,Le=65535&de,!((ct=de>>>24)<=C);){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}if(ce&&!(240&ce)){for(wt=ct,Fe=ce,De=Le;ce=(de=j.lencode[De+((z&(1<<wt+Fe)-1)>>wt)])>>>16&255,Le=65535&de,!(wt+(ct=de>>>24)<=C);){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}z>>>=wt,C-=wt,j.back+=wt}if(z>>>=ct,C-=ct,j.back+=ct,j.length=Le,ce===0){j.mode=26;break}if(32&ce){j.back=-1,j.mode=12;break}if(64&ce){Q.msg="invalid literal/length code",j.mode=30;break}j.extra=15&ce,j.mode=22;case 22:if(j.extra){for(he=j.extra;C<he;){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}j.length+=z&(1<<j.extra)-1,z>>>=j.extra,C-=j.extra,j.back+=j.extra}j.was=j.length,j.mode=23;case 23:for(;ce=(de=j.distcode[z&(1<<j.distbits)-1])>>>16&255,Le=65535&de,!((ct=de>>>24)<=C);){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}if(!(240&ce)){for(wt=ct,Fe=ce,De=Le;ce=(de=j.distcode[De+((z&(1<<wt+Fe)-1)>>wt)])>>>16&255,Le=65535&de,!(wt+(ct=de>>>24)<=C);){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}z>>>=wt,C-=wt,j.back+=wt}if(z>>>=ct,C-=ct,j.back+=ct,64&ce){Q.msg="invalid distance code",j.mode=30;break}j.offset=Le,j.extra=15&ce,j.mode=24;case 24:if(j.extra){for(he=j.extra;C<he;){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}j.offset+=z&(1<<j.extra)-1,z>>>=j.extra,C-=j.extra,j.back+=j.extra}if(j.offset>j.dmax){Q.msg="invalid distance too far back",j.mode=30;break}j.mode=25;case 25:if(k===0)break e;if(pe=ke-k,j.offset>pe){if((pe=j.offset-pe)>j.whave&&j.sane){Q.msg="invalid distance too far back",j.mode=30;break}Ue=pe>j.wnext?(pe-=j.wnext,j.wsize-pe):j.wnext-pe,pe>j.length&&(pe=j.length),at=j.window}else at=rt,Ue=se-j.offset,pe=j.length;for(k<pe&&(pe=k),k-=pe,j.length-=pe;rt[se++]=at[Ue++],--pe;);j.length===0&&(j.mode=21);break;case 26:if(k===0)break e;rt[se++]=j.length,k--,j.mode=21;break;case 27:if(j.wrap){for(;C<32;){if(w===0)break e;w--,z|=I[le++]<<C,C+=8}if(ke-=k,Q.total_out+=ke,j.total+=ke,ke&&(Q.adler=j.check=j.flags?y(j.check,rt,ke,se-ke):_(j.check,rt,ke,se-ke)),ke=k,(j.flags?z:S(z))!==j.check){Q.msg="incorrect data check",j.mode=30;break}C=z=0}j.mode=28;case 28:if(j.wrap&&j.flags){for(;C<32;){if(w===0)break e;w--,z+=I[le++]<<C,C+=8}if(z!==(4294967295&j.total)){Q.msg="incorrect length check",j.mode=30;break}C=z=0}j.mode=29;case 29:_e=1;break e;case 30:_e=-3;break e;case 31:return-4;case 32:default:return R}return Q.next_out=se,Q.avail_out=k,Q.next_in=le,Q.avail_in=w,j.hold=z,j.bits=C,(j.wsize||ke!==Q.avail_out&&j.mode<30&&(j.mode<27||ye!==4))&&xe(Q,Q.output,Q.next_out,ke-Q.avail_out)?(j.mode=31,-4):(Y-=Q.avail_in,ke-=Q.avail_out,Q.total_in+=Y,Q.total_out+=ke,j.total+=ke,j.wrap&&ke&&(Q.adler=j.check=j.flags?y(j.check,rt,ke,Q.next_out-ke):_(j.check,rt,ke,Q.next_out-ke)),Q.data_type=j.bits+(j.last?64:0)+(j.mode===12?128:0)+(j.mode===20||j.mode===15?256:0),(Y==0&&ke===0||ye===4)&&_e===G&&(_e=-5),_e)},q.inflateEnd=function(Q){if(!Q||!Q.state)return R;var ye=Q.state;return ye.window&&(ye.window=null),Q.state=null,G},q.inflateGetHeader=function(Q,ye){var j;return Q&&Q.state&&2&(j=Q.state).wrap?((j.head=ye).done=!1,G):R},q.inflateSetDictionary=function(Q,ye){var j,I=ye.length;return Q&&Q.state?(j=Q.state).wrap!==0&&j.mode!==11?R:j.mode===11&&_(1,ye,I,0)!==j.check?-3:xe(Q,ye,I,I)?(j.mode=31,-4):(j.havedict=1,G):R},q.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(L,Re,q){"use strict";var ee=L("../utils/common"),_=[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],y=[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],V=[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],c=[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];Re.exports=function(T,F,G,R,X,N,A,S){var E,oe,J,te,$e,Ne,Qe,Ze,we,xe=S.bits,Q=0,ye=0,j=0,I=0,rt=0,le=0,se=0,w=0,k=0,z=0,C=null,Y=0,ke=new ee.Buf16(16),pe=new ee.Buf16(16),Ue=null,at=0;for(Q=0;Q<=15;Q++)ke[Q]=0;for(ye=0;ye<R;ye++)ke[F[G+ye]]++;for(rt=xe,I=15;1<=I&&ke[I]===0;I--);if(I<rt&&(rt=I),I===0)return X[N++]=20971520,X[N++]=20971520,S.bits=1,0;for(j=1;j<I&&ke[j]===0;j++);for(rt<j&&(rt=j),Q=w=1;Q<=15;Q++)if(w<<=1,(w-=ke[Q])<0)return-1;if(0<w&&(T===0||I!==1))return-1;for(pe[1]=0,Q=1;Q<15;Q++)pe[Q+1]=pe[Q]+ke[Q];for(ye=0;ye<R;ye++)F[G+ye]!==0&&(A[pe[F[G+ye]]++]=ye);if(Ne=T===0?(C=Ue=A,19):T===1?(C=_,Y-=257,Ue=y,at-=257,256):(C=V,Ue=c,-1),Q=j,$e=N,se=ye=z=0,J=-1,te=(k=1<<(le=rt))-1,T===1&&852<k||T===2&&592<k)return 1;for(;;){for(Qe=Q-se,we=A[ye]<Ne?(Ze=0,A[ye]):A[ye]>Ne?(Ze=Ue[at+A[ye]],C[Y+A[ye]]):(Ze=96,0),E=1<<Q-se,j=oe=1<<le;X[$e+(z>>se)+(oe-=E)]=Qe<<24|Ze<<16|we|0,oe!==0;);for(E=1<<Q-1;z&E;)E>>=1;if(E!==0?(z&=E-1,z+=E):z=0,ye++,--ke[Q]==0){if(Q===I)break;Q=F[G+A[ye]]}if(rt<Q&&(z&te)!==J){for(se===0&&(se=rt),$e+=j,w=1<<(le=Q-se);le+se<I&&!((w-=ke[le+se])<=0);)le++,w<<=1;if(k+=1<<le,T===1&&852<k||T===2&&592<k)return 1;X[J=z&te]=rt<<24|le<<16|$e-N|0}}return z!==0&&(X[$e+z]=Q-se<<24|64<<16|0),S.bits=rt,0}},{"../utils/common":41}],51:[function(L,Re,q){"use strict";Re.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(L,Re,q){"use strict";var ee=L("../utils/common"),_=0,y=1;function V(de){for(var me=de.length;0<=--me;)de[me]=0}var c=0,T=29,F=256,G=F+1+T,R=30,X=19,N=2*G+1,A=15,S=16,E=7,oe=256,J=16,te=17,$e=18,Ne=[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],Qe=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Ze=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],we=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],xe=new Array(2*(G+2));V(xe);var Q=new Array(2*R);V(Q);var ye=new Array(512);V(ye);var j=new Array(256);V(j);var I=new Array(T);V(I);var rt,le,se,w=new Array(R);function k(de,me,Ie,Se,Me){this.static_tree=de,this.extra_bits=me,this.extra_base=Ie,this.elems=Se,this.max_length=Me,this.has_stree=de&&de.length}function z(de,me){this.dyn_tree=de,this.max_code=0,this.stat_desc=me}function C(de){return de<256?ye[de]:ye[256+(de>>>7)]}function Y(de,me){de.pending_buf[de.pending++]=255&me,de.pending_buf[de.pending++]=me>>>8&255}function ke(de,me,Ie){de.bi_valid>S-Ie?(de.bi_buf|=me<<de.bi_valid&65535,Y(de,de.bi_buf),de.bi_buf=me>>S-de.bi_valid,de.bi_valid+=Ie-S):(de.bi_buf|=me<<de.bi_valid&65535,de.bi_valid+=Ie)}function pe(de,me,Ie){ke(de,Ie[2*me],Ie[2*me+1])}function Ue(de,me){for(var Ie=0;Ie|=1&de,de>>>=1,Ie<<=1,0<--me;);return Ie>>>1}function at(de,me,Ie){var Se,Me,Je=new Array(A+1),pt=0;for(Se=1;Se<=A;Se++)Je[Se]=pt=pt+Ie[Se-1]<<1;for(Me=0;Me<=me;Me++){var Ot=de[2*Me+1];Ot!==0&&(de[2*Me]=Ue(Je[Ot]++,Ot))}}function ct(de){var me;for(me=0;me<G;me++)de.dyn_ltree[2*me]=0;for(me=0;me<R;me++)de.dyn_dtree[2*me]=0;for(me=0;me<X;me++)de.bl_tree[2*me]=0;de.dyn_ltree[2*oe]=1,de.opt_len=de.static_len=0,de.last_lit=de.matches=0}function ce(de){8<de.bi_valid?Y(de,de.bi_buf):0<de.bi_valid&&(de.pending_buf[de.pending++]=de.bi_buf),de.bi_buf=0,de.bi_valid=0}function Le(de,me,Ie,Se){var Me=2*me,Je=2*Ie;return de[Me]<de[Je]||de[Me]===de[Je]&&Se[me]<=Se[Ie]}function wt(de,me,Ie){for(var Se=de.heap[Ie],Me=Ie<<1;Me<=de.heap_len&&(Me<de.heap_len&&Le(me,de.heap[Me+1],de.heap[Me],de.depth)&&Me++,!Le(me,Se,de.heap[Me],de.depth));)de.heap[Ie]=de.heap[Me],Ie=Me,Me<<=1;de.heap[Ie]=Se}function Fe(de,me,Ie){var Se,Me,Je,pt,Ot=0;if(de.last_lit!==0)for(;Se=de.pending_buf[de.d_buf+2*Ot]<<8|de.pending_buf[de.d_buf+2*Ot+1],Me=de.pending_buf[de.l_buf+Ot],Ot++,Se===0?pe(de,Me,me):(pe(de,(Je=j[Me])+F+1,me),(pt=Ne[Je])!==0&&ke(de,Me-=I[Je],pt),pe(de,Je=C(--Se),Ie),(pt=Qe[Je])!==0&&ke(de,Se-=w[Je],pt)),Ot<de.last_lit;);pe(de,oe,me)}function De(de,me){var Ie,Se,Me,Je=me.dyn_tree,pt=me.stat_desc.static_tree,Ot=me.stat_desc.has_stree,_t=me.stat_desc.elems,Gt=-1;for(de.heap_len=0,de.heap_max=N,Ie=0;Ie<_t;Ie++)Je[2*Ie]!==0?(de.heap[++de.heap_len]=Gt=Ie,de.depth[Ie]=0):Je[2*Ie+1]=0;for(;de.heap_len<2;)Je[2*(Me=de.heap[++de.heap_len]=Gt<2?++Gt:0)]=1,de.depth[Me]=0,de.opt_len--,Ot&&(de.static_len-=pt[2*Me+1]);for(me.max_code=Gt,Ie=de.heap_len>>1;1<=Ie;Ie--)wt(de,Je,Ie);for(Me=_t;Ie=de.heap[1],de.heap[1]=de.heap[de.heap_len--],wt(de,Je,1),Se=de.heap[1],de.heap[--de.heap_max]=Ie,de.heap[--de.heap_max]=Se,Je[2*Me]=Je[2*Ie]+Je[2*Se],de.depth[Me]=(de.depth[Ie]>=de.depth[Se]?de.depth[Ie]:de.depth[Se])+1,Je[2*Ie+1]=Je[2*Se+1]=Me,de.heap[1]=Me++,wt(de,Je,1),2<=de.heap_len;);de.heap[--de.heap_max]=de.heap[1],function(Pt,ot){var xt,jt,Ht,Ct,er,cr,Cr=ot.dyn_tree,qr=ot.max_code,Ar=ot.stat_desc.static_tree,x=ot.stat_desc.has_stree,H=ot.stat_desc.extra_bits,St=ot.stat_desc.extra_base,ae=ot.stat_desc.max_length,Be=0;for(Ct=0;Ct<=A;Ct++)Pt.bl_count[Ct]=0;for(Cr[2*Pt.heap[Pt.heap_max]+1]=0,xt=Pt.heap_max+1;xt<N;xt++)ae<(Ct=Cr[2*Cr[2*(jt=Pt.heap[xt])+1]+1]+1)&&(Ct=ae,Be++),Cr[2*jt+1]=Ct,qr<jt||(Pt.bl_count[Ct]++,er=0,St<=jt&&(er=H[jt-St]),cr=Cr[2*jt],Pt.opt_len+=cr*(Ct+er),x&&(Pt.static_len+=cr*(Ar[2*jt+1]+er)));if(Be!==0){do{for(Ct=ae-1;Pt.bl_count[Ct]===0;)Ct--;Pt.bl_count[Ct]--,Pt.bl_count[Ct+1]+=2,Pt.bl_count[ae]--,Be-=2}while(0<Be);for(Ct=ae;Ct!==0;Ct--)for(jt=Pt.bl_count[Ct];jt!==0;)qr<(Ht=Pt.heap[--xt])||(Cr[2*Ht+1]!==Ct&&(Pt.opt_len+=(Ct-Cr[2*Ht+1])*Cr[2*Ht],Cr[2*Ht+1]=Ct),jt--)}}(de,me),at(Je,Gt,de.bl_count)}function P(de,me,Ie){var Se,Me,Je=-1,pt=me[1],Ot=0,_t=7,Gt=4;for(pt===0&&(_t=138,Gt=3),me[2*(Ie+1)+1]=65535,Se=0;Se<=Ie;Se++)Me=pt,pt=me[2*(Se+1)+1],++Ot<_t&&Me===pt||(Ot<Gt?de.bl_tree[2*Me]+=Ot:Me!==0?(Me!==Je&&de.bl_tree[2*Me]++,de.bl_tree[2*J]++):Ot<=10?de.bl_tree[2*te]++:de.bl_tree[2*$e]++,Je=Me,Gt=(Ot=0)===pt?(_t=138,3):Me===pt?(_t=6,3):(_t=7,4))}function _e(de,me,Ie){var Se,Me,Je=-1,pt=me[1],Ot=0,_t=7,Gt=4;for(pt===0&&(_t=138,Gt=3),Se=0;Se<=Ie;Se++)if(Me=pt,pt=me[2*(Se+1)+1],!(++Ot<_t&&Me===pt)){if(Ot<Gt)for(;pe(de,Me,de.bl_tree),--Ot!=0;);else Me!==0?(Me!==Je&&(pe(de,Me,de.bl_tree),Ot--),pe(de,J,de.bl_tree),ke(de,Ot-3,2)):Ot<=10?(pe(de,te,de.bl_tree),ke(de,Ot-3,3)):(pe(de,$e,de.bl_tree),ke(de,Ot-11,7));Je=Me,Gt=(Ot=0)===pt?(_t=138,3):Me===pt?(_t=6,3):(_t=7,4)}}V(w);var be=!1;function he(de,me,Ie,Se){ke(de,(c<<1)+(Se?1:0),3),function(Me,Je,pt,Ot){ce(Me),Ot&&(Y(Me,pt),Y(Me,~pt)),ee.arraySet(Me.pending_buf,Me.window,Je,pt,Me.pending),Me.pending+=pt}(de,me,Ie,!0)}q._tr_init=function(de){be||(function(){var me,Ie,Se,Me,Je,pt=new Array(A+1);for(Me=Se=0;Me<T-1;Me++)for(I[Me]=Se,me=0;me<1<<Ne[Me];me++)j[Se++]=Me;for(j[Se-1]=Me,Me=Je=0;Me<16;Me++)for(w[Me]=Je,me=0;me<1<<Qe[Me];me++)ye[Je++]=Me;for(Je>>=7;Me<R;Me++)for(w[Me]=Je<<7,me=0;me<1<<Qe[Me]-7;me++)ye[256+Je++]=Me;for(Ie=0;Ie<=A;Ie++)pt[Ie]=0;for(me=0;me<=143;)xe[2*me+1]=8,me++,pt[8]++;for(;me<=255;)xe[2*me+1]=9,me++,pt[9]++;for(;me<=279;)xe[2*me+1]=7,me++,pt[7]++;for(;me<=287;)xe[2*me+1]=8,me++,pt[8]++;for(at(xe,G+1,pt),me=0;me<R;me++)Q[2*me+1]=5,Q[2*me]=Ue(me,5);rt=new k(xe,Ne,F+1,G,A),le=new k(Q,Qe,0,R,A),se=new k(new Array(0),Ze,0,X,E)}(),be=!0),de.l_desc=new z(de.dyn_ltree,rt),de.d_desc=new z(de.dyn_dtree,le),de.bl_desc=new z(de.bl_tree,se),de.bi_buf=0,de.bi_valid=0,ct(de)},q._tr_stored_block=he,q._tr_flush_block=function(de,me,Ie,Se){var Me,Je,pt=0;0<de.level?(de.strm.data_type===2&&(de.strm.data_type=function(Ot){var _t,Gt=4093624447;for(_t=0;_t<=31;_t++,Gt>>>=1)if(1&Gt&&Ot.dyn_ltree[2*_t]!==0)return _;if(Ot.dyn_ltree[18]!==0||Ot.dyn_ltree[20]!==0||Ot.dyn_ltree[26]!==0)return y;for(_t=32;_t<F;_t++)if(Ot.dyn_ltree[2*_t]!==0)return y;return _}(de)),De(de,de.l_desc),De(de,de.d_desc),pt=function(Ot){var _t;for(P(Ot,Ot.dyn_ltree,Ot.l_desc.max_code),P(Ot,Ot.dyn_dtree,Ot.d_desc.max_code),De(Ot,Ot.bl_desc),_t=X-1;3<=_t&&Ot.bl_tree[2*we[_t]+1]===0;_t--);return Ot.opt_len+=3*(_t+1)+5+5+4,_t}(de),Me=de.opt_len+3+7>>>3,(Je=de.static_len+3+7>>>3)<=Me&&(Me=Je)):Me=Je=Ie+5,Ie+4<=Me&&me!==-1?he(de,me,Ie,Se):de.strategy===4||Je===Me?(ke(de,2+(Se?1:0),3),Fe(de,xe,Q)):(ke(de,4+(Se?1:0),3),function(Ot,_t,Gt,Pt){var ot;for(ke(Ot,_t-257,5),ke(Ot,Gt-1,5),ke(Ot,Pt-4,4),ot=0;ot<Pt;ot++)ke(Ot,Ot.bl_tree[2*we[ot]+1],3);_e(Ot,Ot.dyn_ltree,_t-1),_e(Ot,Ot.dyn_dtree,Gt-1)}(de,de.l_desc.max_code+1,de.d_desc.max_code+1,pt+1),Fe(de,de.dyn_ltree,de.dyn_dtree)),ct(de),Se&&ce(de)},q._tr_tally=function(de,me,Ie){return de.pending_buf[de.d_buf+2*de.last_lit]=me>>>8&255,de.pending_buf[de.d_buf+2*de.last_lit+1]=255&me,de.pending_buf[de.l_buf+de.last_lit]=255&Ie,de.last_lit++,me===0?de.dyn_ltree[2*Ie]++:(de.matches++,me--,de.dyn_ltree[2*(j[Ie]+F+1)]++,de.dyn_dtree[2*C(me)]++),de.last_lit===de.lit_bufsize-1},q._tr_align=function(de){ke(de,2,3),pe(de,oe,xe),function(me){me.bi_valid===16?(Y(me,me.bi_buf),me.bi_buf=0,me.bi_valid=0):8<=me.bi_valid&&(me.pending_buf[me.pending++]=255&me.bi_buf,me.bi_buf>>=8,me.bi_valid-=8)}(de)}},{"../utils/common":41}],53:[function(L,Re,q){"use strict";Re.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(L,Re,q){(function(ee){(function(_,y){"use strict";if(!_.setImmediate){var V,c,T,F,G=1,R={},X=!1,N=_.document,A=Object.getPrototypeOf&&Object.getPrototypeOf(_);A=A&&A.setTimeout?A:_,V={}.toString.call(_.process)==="[object process]"?function(J){qe.nextTick(function(){E(J)})}:function(){if(_.postMessage&&!_.importScripts){var J=!0,te=_.onmessage;return _.onmessage=function(){J=!1},_.postMessage("","*"),_.onmessage=te,J}}()?(F="setImmediate$"+Math.random()+"$",_.addEventListener?_.addEventListener("message",oe,!1):_.attachEvent("onmessage",oe),function(J){_.postMessage(F+J,"*")}):_.MessageChannel?((T=new MessageChannel).port1.onmessage=function(J){E(J.data)},function(J){T.port2.postMessage(J)}):N&&"onreadystatechange"in N.createElement("script")?(c=N.documentElement,function(J){var te=N.createElement("script");te.onreadystatechange=function(){E(J),te.onreadystatechange=null,c.removeChild(te),te=null},c.appendChild(te)}):function(J){setTimeout(E,0,J)},A.setImmediate=function(J){typeof J!="function"&&(J=new Function(""+J));for(var te=new Array(arguments.length-1),$e=0;$e<te.length;$e++)te[$e]=arguments[$e+1];var Ne={callback:J,args:te};return R[G]=Ne,V(G),G++},A.clearImmediate=S}function S(J){delete R[J]}function E(J){if(X)setTimeout(E,0,J);else{var te=R[J];if(te){X=!0;try{(function($e){var Ne=$e.callback,Qe=$e.args;switch(Qe.length){case 0:Ne();break;case 1:Ne(Qe[0]);break;case 2:Ne(Qe[0],Qe[1]);break;case 3:Ne(Qe[0],Qe[1],Qe[2]);break;default:Ne.apply(y,Qe)}})(te)}finally{S(J),X=!1}}}}function oe(J){J.source===_&&typeof J.data=="string"&&J.data.indexOf(F)===0&&E(+J.data.slice(F.length))}})(typeof self=="undefined"?ee===void 0?this:ee:self)}).call(this,typeof n.g!="undefined"?n.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})},15342:function(Yr){(function(n,a){Yr.exports=a()})(typeof self!="undefined"?self:this,function(){return function(Kt){var n={};function a(qe){if(n[qe])return n[qe].exports;var L=n[qe]={i:qe,l:!1,exports:{}};return Kt[qe].call(L.exports,L,L.exports,a),L.l=!0,L.exports}return a.m=Kt,a.c=n,a.d=function(qe,L,Re){a.o(qe,L)||Object.defineProperty(qe,L,{enumerable:!0,get:Re})},a.r=function(qe){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(qe,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(qe,"__esModule",{value:!0})},a.t=function(qe,L){if(L&1&&(qe=a(qe)),L&8||L&4&&typeof qe=="object"&&qe&&qe.__esModule)return qe;var Re=Object.create(null);if(a.r(Re),Object.defineProperty(Re,"default",{enumerable:!0,value:qe}),L&2&&typeof qe!="string")for(var q in qe)a.d(Re,q,function(ee){return qe[ee]}.bind(null,q));return Re},a.n=function(qe){var L=qe&&qe.__esModule?function(){return qe.default}:function(){return qe};return a.d(L,"a",L),L},a.o=function(qe,L){return Object.prototype.hasOwnProperty.call(qe,L)},a.p="",a(a.s=1)}([function(Kt,n,a){},function(Kt,n,a){"use strict";a.r(n);var qe=a(0),L=function(){function ie(r,o,l){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=r,this.start=o,this.end=l}return ie.range=function(o,l){return l?!o||!o.loc||!l.loc||o.loc.lexer!==l.loc.lexer?null:new ie(o.loc.lexer,o.loc.start,l.loc.end):o&&o.loc},ie}(),Re=function(){function ie(o,l){this.text=void 0,this.loc=void 0,this.text=o,this.loc=l}var r=ie.prototype;return r.range=function(l,g){return new ie(g,L.range(this,l))},ie}(),q=function ie(r,o){this.position=void 0;var l="KaTeX parse error: "+r,g,W=o&&o.loc;if(W&&W.start<=W.end){var fe=W.lexer.input;g=W.start;var We=W.end;g===fe.length?l+=" at end of input: ":l+=" at position "+(g+1)+": ";var it=fe.slice(g,We).replace(/[^]/g,"$&\u0332"),Mt;g>15?Mt="\u2026"+fe.slice(g-15,g):Mt=fe.slice(0,g);var ar;We+15<fe.length?ar=fe.slice(We,We+15)+"\u2026":ar=fe.slice(We),l+=Mt+it+ar}var yr=new Error(l);return yr.name="ParseError",yr.__proto__=ie.prototype,yr.position=g,yr};q.prototype.__proto__=Error.prototype;var ee=q,_=function(r,o){return r.indexOf(o)!==-1},y=function(r,o){return r===void 0?o:r},V=/([A-Z])/g,c=function(r){return r.replace(V,"-$1").toLowerCase()},T={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},F=/[&><"']/g;function G(ie){return String(ie).replace(F,function(r){return T[r]})}var R=function ie(r){return r.type==="ordgroup"||r.type==="color"?r.body.length===1?ie(r.body[0]):r:r.type==="font"?ie(r.body):r},X=function(r){var o=R(r);return o.type==="mathord"||o.type==="textord"||o.type==="atom"},N=function(r){if(!r)throw new Error("Expected non-null, but got "+String(r));return r},A=function(r){var o=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(r);return o!=null?o[1]:"_relative"},S={contains:_,deflt:y,escape:G,hyphenate:c,getBaseElem:R,isCharacterBox:X,protocolFromUrl:A},E=function(){function ie(o){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,o=o||{},this.displayMode=S.deflt(o.displayMode,!1),this.output=S.deflt(o.output,"htmlAndMathml"),this.leqno=S.deflt(o.leqno,!1),this.fleqn=S.deflt(o.fleqn,!1),this.throwOnError=S.deflt(o.throwOnError,!0),this.errorColor=S.deflt(o.errorColor,"#cc0000"),this.macros=o.macros||{},this.minRuleThickness=Math.max(0,S.deflt(o.minRuleThickness,0)),this.colorIsTextColor=S.deflt(o.colorIsTextColor,!1),this.strict=S.deflt(o.strict,"warn"),this.trust=S.deflt(o.trust,!1),this.maxSize=Math.max(0,S.deflt(o.maxSize,1/0)),this.maxExpand=Math.max(0,S.deflt(o.maxExpand,1e3))}var r=ie.prototype;return r.reportNonstrict=function(l,g,W){var fe=this.strict;if(typeof fe=="function"&&(fe=fe(l,g,W)),!(!fe||fe==="ignore")){if(fe===!0||fe==="error")throw new ee("LaTeX-incompatible input and strict mode is set to 'error': "+(g+" ["+l+"]"),W);fe==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(g+" ["+l+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+fe+"': "+g+" ["+l+"]"))}},r.useStrictBehavior=function(l,g,W){var fe=this.strict;if(typeof fe=="function")try{fe=fe(l,g,W)}catch(We){fe="error"}return!fe||fe==="ignore"?!1:fe===!0||fe==="error"?!0:fe==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(g+" ["+l+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+fe+"': "+g+" ["+l+"]")),!1)},r.isTrusted=function(l){l.url&&!l.protocol&&(l.protocol=S.protocolFromUrl(l.url));var g=typeof this.trust=="function"?this.trust(l):this.trust;return!!g},ie}(),oe=function(){function ie(o,l,g){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=o,this.size=l,this.cramped=g}var r=ie.prototype;return r.sup=function(){return Q[ye[this.id]]},r.sub=function(){return Q[j[this.id]]},r.fracNum=function(){return Q[I[this.id]]},r.fracDen=function(){return Q[rt[this.id]]},r.cramp=function(){return Q[le[this.id]]},r.text=function(){return Q[se[this.id]]},r.isTight=function(){return this.size>=2},ie}(),J=0,te=1,$e=2,Ne=3,Qe=4,Ze=5,we=6,xe=7,Q=[new oe(J,0,!1),new oe(te,0,!0),new oe($e,1,!1),new oe(Ne,1,!0),new oe(Qe,2,!1),new oe(Ze,2,!0),new oe(we,3,!1),new oe(xe,3,!0)],ye=[Qe,Ze,Qe,Ze,we,xe,we,xe],j=[Ze,Ze,Ze,Ze,xe,xe,xe,xe],I=[$e,Ne,Qe,Ze,we,xe,we,xe],rt=[Ne,Ne,Ze,Ze,xe,xe,xe,xe],le=[te,te,Ne,Ne,Ze,Ze,xe,xe],se=[J,te,$e,Ne,$e,Ne,$e,Ne],w={DISPLAY:Q[J],TEXT:Q[$e],SCRIPT:Q[Qe],SCRIPTSCRIPT:Q[we]},k=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function z(ie){for(var r=0;r<k.length;r++)for(var o=k[r],l=0;l<o.blocks.length;l++){var g=o.blocks[l];if(ie>=g[0]&&ie<=g[1])return o.name}return null}var C=[];k.forEach(function(ie){return ie.blocks.forEach(function(r){return C.push.apply(C,r)})});function Y(ie){for(var r=0;r<C.length;r+=2)if(ie>=C[r]&&ie<=C[r+1])return!0;return!1}var ke=80,pe=function(r,o){return"M95,"+(622+r+o)+`
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l`+r/2.075+" -"+r+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+r)+`H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M`+(834+r)+" "+o+"h400000v"+(40+r)+"h-400000z"},Ue=function(r,o){return"M263,"+(601+r+o)+`c0.7,0,18,39.7,52,119
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
c340,-704.7,510.7,-1060.3,512,-1067
l`+r/2.084+" -"+r+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+r)+`H1012.3
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
M`+(1001+r)+" "+o+"h400000v"+(40+r)+"h-400000z"},at=function(r,o){return"M983 "+(10+r+o)+`
l`+r/3.13+" -"+r+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+r)+`
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
M`+(1001+r)+" "+o+"h400000v"+(40+r)+"h-400000z"},ct=function(r,o){return"M424,"+(2398+r+o)+`
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
l`+r/4.223+" -"+r+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+r)+`H1014.6
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2z M`+(1001+r)+" "+o+`
h400000v`+(40+r)+"h-400000z"},ce=function(r,o){return"M473,"+(2713+r+o)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+r/5.298+" -"+r+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+r)+`H1017.7
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
606zM`+(1001+r)+" "+o+"h400000v"+(40+r)+"H1017.7z"},Le=function(r,o,l){var g=l-54-o-r;return"M702 "+(r+o)+"H400000"+(40+r)+`
H742v`+g+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
219 661 l218 661zM702 `+o+"H400000v"+(40+r)+"H742z"},wt=function(r,o,l){o=1e3*o;var g="";switch(r){case"sqrtMain":g=pe(o,ke);break;case"sqrtSize1":g=Ue(o,ke);break;case"sqrtSize2":g=at(o,ke);break;case"sqrtSize3":g=ct(o,ke);break;case"sqrtSize4":g=ce(o,ke);break;case"sqrtTall":g=Le(o,ke,l)}return g},Fe={doubleleftarrow:`M262 157
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
435 0h399565z`,leftgroupunder:`M400000 262
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},De=function(){function ie(o){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=o,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var r=ie.prototype;return r.hasClass=function(l){return S.contains(this.classes,l)},r.toNode=function(){for(var l=document.createDocumentFragment(),g=0;g<this.children.length;g++)l.appendChild(this.children[g].toNode());return l},r.toMarkup=function(){for(var l="",g=0;g<this.children.length;g++)l+=this.children[g].toMarkup();return l},r.toText=function(){var l=function(W){return W.toText()};return this.children.map(l).join("")},ie}(),P=function(r){return r.filter(function(o){return o}).join(" ")},_e=function(r,o,l){if(this.classes=r||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=l||{},o){o.style.isTight()&&this.classes.push("mtight");var g=o.getColor();g&&(this.style.color=g)}},be=function(r){var o=document.createElement(r);o.className=P(this.classes);for(var l in this.style)this.style.hasOwnProperty(l)&&(o.style[l]=this.style[l]);for(var g in this.attributes)this.attributes.hasOwnProperty(g)&&o.setAttribute(g,this.attributes[g]);for(var W=0;W<this.children.length;W++)o.appendChild(this.children[W].toNode());return o},he=function(r){var o="<"+r;this.classes.length&&(o+=' class="'+S.escape(P(this.classes))+'"');var l="";for(var g in this.style)this.style.hasOwnProperty(g)&&(l+=S.hyphenate(g)+":"+this.style[g]+";");l&&(o+=' style="'+S.escape(l)+'"');for(var W in this.attributes)this.attributes.hasOwnProperty(W)&&(o+=" "+W+'="'+S.escape(this.attributes[W])+'"');o+=">";for(var fe=0;fe<this.children.length;fe++)o+=this.children[fe].toMarkup();return o+="</"+r+">",o},de=function(){function ie(o,l,g,W){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,_e.call(this,o,g,W),this.children=l||[]}var r=ie.prototype;return r.setAttribute=function(l,g){this.attributes[l]=g},r.hasClass=function(l){return S.contains(this.classes,l)},r.toNode=function(){return be.call(this,"span")},r.toMarkup=function(){return he.call(this,"span")},ie}(),me=function(){function ie(o,l,g,W){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,_e.call(this,l,W),this.children=g||[],this.setAttribute("href",o)}var r=ie.prototype;return r.setAttribute=function(l,g){this.attributes[l]=g},r.hasClass=function(l){return S.contains(this.classes,l)},r.toNode=function(){return be.call(this,"a")},r.toMarkup=function(){return he.call(this,"a")},ie}(),Ie=function(){function ie(o,l,g){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=l,this.src=o,this.classes=["mord"],this.style=g}var r=ie.prototype;return r.hasClass=function(l){return S.contains(this.classes,l)},r.toNode=function(){var l=document.createElement("img");l.src=this.src,l.alt=this.alt,l.className="mord";for(var g in this.style)this.style.hasOwnProperty(g)&&(l.style[g]=this.style[g]);return l},r.toMarkup=function(){var l="<img src='"+this.src+" 'alt='"+this.alt+"' ",g="";for(var W in this.style)this.style.hasOwnProperty(W)&&(g+=S.hyphenate(W)+":"+this.style[W]+";");return g&&(l+=' style="'+S.escape(g)+'"'),l+="'/>",l},ie}(),Se={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Me=function(){function ie(o,l,g,W,fe,We,it,Mt){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=o,this.height=l||0,this.depth=g||0,this.italic=W||0,this.skew=fe||0,this.width=We||0,this.classes=it||[],this.style=Mt||{},this.maxFontSize=0;var ar=z(this.text.charCodeAt(0));ar&&this.classes.push(ar+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Se[this.text])}var r=ie.prototype;return r.hasClass=function(l){return S.contains(this.classes,l)},r.toNode=function(){var l=document.createTextNode(this.text),g=null;this.italic>0&&(g=document.createElement("span"),g.style.marginRight=this.italic+"em"),this.classes.length>0&&(g=g||document.createElement("span"),g.className=P(this.classes));for(var W in this.style)this.style.hasOwnProperty(W)&&(g=g||document.createElement("span"),g.style[W]=this.style[W]);return g?(g.appendChild(l),g):l},r.toMarkup=function(){var l=!1,g="<span";this.classes.length&&(l=!0,g+=' class="',g+=S.escape(P(this.classes)),g+='"');var W="";this.italic>0&&(W+="margin-right:"+this.italic+"em;");for(var fe in this.style)this.style.hasOwnProperty(fe)&&(W+=S.hyphenate(fe)+":"+this.style[fe]+";");W&&(l=!0,g+=' style="'+S.escape(W)+'"');var We=S.escape(this.text);return l?(g+=">",g+=We,g+="</span>",g):We},ie}(),Je=function(){function ie(o,l){this.children=void 0,this.attributes=void 0,this.children=o||[],this.attributes=l||{}}var r=ie.prototype;return r.toNode=function(){var l="http://www.w3.org/2000/svg",g=document.createElementNS(l,"svg");for(var W in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,W)&&g.setAttribute(W,this.attributes[W]);for(var fe=0;fe<this.children.length;fe++)g.appendChild(this.children[fe].toNode());return g},r.toMarkup=function(){var l="<svg";for(var g in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,g)&&(l+=" "+g+"='"+this.attributes[g]+"'");l+=">";for(var W=0;W<this.children.length;W++)l+=this.children[W].toMarkup();return l+="</svg>",l},ie}(),pt=function(){function ie(o,l){this.pathName=void 0,this.alternate=void 0,this.pathName=o,this.alternate=l}var r=ie.prototype;return r.toNode=function(){var l="http://www.w3.org/2000/svg",g=document.createElementNS(l,"path");return this.alternate?g.setAttribute("d",this.alternate):g.setAttribute("d",Fe[this.pathName]),g},r.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+Fe[this.pathName]+"'/>"},ie}(),Ot=function(){function ie(o){this.attributes=void 0,this.attributes=o||{}}var r=ie.prototype;return r.toNode=function(){var l="http://www.w3.org/2000/svg",g=document.createElementNS(l,"line");for(var W in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,W)&&g.setAttribute(W,this.attributes[W]);return g},r.toMarkup=function(){var l="<line";for(var g in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,g)&&(l+=" "+g+"='"+this.attributes[g]+"'");return l+="/>",l},ie}();function _t(ie){if(ie instanceof Me)return ie;throw new Error("Expected symbolNode but got "+String(ie)+".")}function Gt(ie){if(ie instanceof de)return ie;throw new Error("Expected span<HtmlDomNode> but got "+String(ie)+".")}var Pt={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.744,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.744,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},ot={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},xt={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function jt(ie,r){Pt[ie]=r}function Ht(ie,r,o){if(!Pt[r])throw new Error("Font metrics not found for font: "+r+".");var l=ie.charCodeAt(0),g=Pt[r][l];if(!g&&ie[0]in xt&&(l=xt[ie[0]].charCodeAt(0),g=Pt[r][l]),!g&&o==="text"&&Y(l)&&(g=Pt[r][77]),g)return{depth:g[0],height:g[1],italic:g[2],skew:g[3],width:g[4]}}var Ct={};function er(ie){var r;if(ie>=5?r=0:ie>=3?r=1:r=2,!Ct[r]){var o=Ct[r]={cssEmPerMu:ot.quad[r]/18};for(var l in ot)ot.hasOwnProperty(l)&&(o[l]=ot[l][r])}return Ct[r]}var cr={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Cr={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},qr={math:{},text:{}},Ar=qr;function x(ie,r,o,l,g,W){qr[ie][g]={font:r,group:o,replace:l},W&&l&&(qr[ie][l]=qr[ie][g])}var H="math",St="text",ae="main",Be="ams",zr="accent-token",$r="bin",yn="close",Mn="inner",Ft="mathord",Sr="op-token",vr="open",Lr="punct",h="rel",D="spacing",Ee="textord";x(H,ae,h,"\u2261","\\equiv",!0),x(H,ae,h,"\u227A","\\prec",!0),x(H,ae,h,"\u227B","\\succ",!0),x(H,ae,h,"\u223C","\\sim",!0),x(H,ae,h,"\u22A5","\\perp"),x(H,ae,h,"\u2AAF","\\preceq",!0),x(H,ae,h,"\u2AB0","\\succeq",!0),x(H,ae,h,"\u2243","\\simeq",!0),x(H,ae,h,"\u2223","\\mid",!0),x(H,ae,h,"\u226A","\\ll",!0),x(H,ae,h,"\u226B","\\gg",!0),x(H,ae,h,"\u224D","\\asymp",!0),x(H,ae,h,"\u2225","\\parallel"),x(H,ae,h,"\u22C8","\\bowtie",!0),x(H,ae,h,"\u2323","\\smile",!0),x(H,ae,h,"\u2291","\\sqsubseteq",!0),x(H,ae,h,"\u2292","\\sqsupseteq",!0),x(H,ae,h,"\u2250","\\doteq",!0),x(H,ae,h,"\u2322","\\frown",!0),x(H,ae,h,"\u220B","\\ni",!0),x(H,ae,h,"\u221D","\\propto",!0),x(H,ae,h,"\u22A2","\\vdash",!0),x(H,ae,h,"\u22A3","\\dashv",!0),x(H,ae,h,"\u220B","\\owns"),x(H,ae,Lr,".","\\ldotp"),x(H,ae,Lr,"\u22C5","\\cdotp"),x(H,ae,Ee,"#","\\#"),x(St,ae,Ee,"#","\\#"),x(H,ae,Ee,"&","\\&"),x(St,ae,Ee,"&","\\&"),x(H,ae,Ee,"\u2135","\\aleph",!0),x(H,ae,Ee,"\u2200","\\forall",!0),x(H,ae,Ee,"\u210F","\\hbar",!0),x(H,ae,Ee,"\u2203","\\exists",!0),x(H,ae,Ee,"\u2207","\\nabla",!0),x(H,ae,Ee,"\u266D","\\flat",!0),x(H,ae,Ee,"\u2113","\\ell",!0),x(H,ae,Ee,"\u266E","\\natural",!0),x(H,ae,Ee,"\u2663","\\clubsuit",!0),x(H,ae,Ee,"\u2118","\\wp",!0),x(H,ae,Ee,"\u266F","\\sharp",!0),x(H,ae,Ee,"\u2662","\\diamondsuit",!0),x(H,ae,Ee,"\u211C","\\Re",!0),x(H,ae,Ee,"\u2661","\\heartsuit",!0),x(H,ae,Ee,"\u2111","\\Im",!0),x(H,ae,Ee,"\u2660","\\spadesuit",!0),x(St,ae,Ee,"\xA7","\\S",!0),x(St,ae,Ee,"\xB6","\\P",!0),x(H,ae,Ee,"\u2020","\\dag"),x(St,ae,Ee,"\u2020","\\dag"),x(St,ae,Ee,"\u2020","\\textdagger"),x(H,ae,Ee,"\u2021","\\ddag"),x(St,ae,Ee,"\u2021","\\ddag"),x(St,ae,Ee,"\u2021","\\textdaggerdbl"),x(H,ae,yn,"\u23B1","\\rmoustache",!0),x(H,ae,vr,"\u23B0","\\lmoustache",!0),x(H,ae,yn,"\u27EF","\\rgroup",!0),x(H,ae,vr,"\u27EE","\\lgroup",!0),x(H,ae,$r,"\u2213","\\mp",!0),x(H,ae,$r,"\u2296","\\ominus",!0),x(H,ae,$r,"\u228E","\\uplus",!0),x(H,ae,$r,"\u2293","\\sqcap",!0),x(H,ae,$r,"\u2217","\\ast"),x(H,ae,$r,"\u2294","\\sqcup",!0),x(H,ae,$r,"\u25EF","\\bigcirc"),x(H,ae,$r,"\u2219","\\bullet"),x(H,ae,$r,"\u2021","\\ddagger"),x(H,ae,$r,"\u2240","\\wr",!0),x(H,ae,$r,"\u2A3F","\\amalg"),x(H,ae,$r,"&","\\And"),x(H,ae,h,"\u27F5","\\longleftarrow",!0),x(H,ae,h,"\u21D0","\\Leftarrow",!0),x(H,ae,h,"\u27F8","\\Longleftarrow",!0),x(H,ae,h,"\u27F6","\\longrightarrow",!0),x(H,ae,h,"\u21D2","\\Rightarrow",!0),x(H,ae,h,"\u27F9","\\Longrightarrow",!0),x(H,ae,h,"\u2194","\\leftrightarrow",!0),x(H,ae,h,"\u27F7","\\longleftrightarrow",!0),x(H,ae,h,"\u21D4","\\Leftrightarrow",!0),x(H,ae,h,"\u27FA","\\Longleftrightarrow",!0),x(H,ae,h,"\u21A6","\\mapsto",!0),x(H,ae,h,"\u27FC","\\longmapsto",!0),x(H,ae,h,"\u2197","\\nearrow",!0),x(H,ae,h,"\u21A9","\\hookleftarrow",!0),x(H,ae,h,"\u21AA","\\hookrightarrow",!0),x(H,ae,h,"\u2198","\\searrow",!0),x(H,ae,h,"\u21BC","\\leftharpoonup",!0),x(H,ae,h,"\u21C0","\\rightharpoonup",!0),x(H,ae,h,"\u2199","\\swarrow",!0),x(H,ae,h,"\u21BD","\\leftharpoondown",!0),x(H,ae,h,"\u21C1","\\rightharpoondown",!0),x(H,ae,h,"\u2196","\\nwarrow",!0),x(H,ae,h,"\u21CC","\\rightleftharpoons",!0),x(H,Be,h,"\u226E","\\nless",!0),x(H,Be,h,"\uE010","\\@nleqslant"),x(H,Be,h,"\uE011","\\@nleqq"),x(H,Be,h,"\u2A87","\\lneq",!0),x(H,Be,h,"\u2268","\\lneqq",!0),x(H,Be,h,"\uE00C","\\@lvertneqq"),x(H,Be,h,"\u22E6","\\lnsim",!0),x(H,Be,h,"\u2A89","\\lnapprox",!0),x(H,Be,h,"\u2280","\\nprec",!0),x(H,Be,h,"\u22E0","\\npreceq",!0),x(H,Be,h,"\u22E8","\\precnsim",!0),x(H,Be,h,"\u2AB9","\\precnapprox",!0),x(H,Be,h,"\u2241","\\nsim",!0),x(H,Be,h,"\uE006","\\@nshortmid"),x(H,Be,h,"\u2224","\\nmid",!0),x(H,Be,h,"\u22AC","\\nvdash",!0),x(H,Be,h,"\u22AD","\\nvDash",!0),x(H,Be,h,"\u22EA","\\ntriangleleft"),x(H,Be,h,"\u22EC","\\ntrianglelefteq",!0),x(H,Be,h,"\u228A","\\subsetneq",!0),x(H,Be,h,"\uE01A","\\@varsubsetneq"),x(H,Be,h,"\u2ACB","\\subsetneqq",!0),x(H,Be,h,"\uE017","\\@varsubsetneqq"),x(H,Be,h,"\u226F","\\ngtr",!0),x(H,Be,h,"\uE00F","\\@ngeqslant"),x(H,Be,h,"\uE00E","\\@ngeqq"),x(H,Be,h,"\u2A88","\\gneq",!0),x(H,Be,h,"\u2269","\\gneqq",!0),x(H,Be,h,"\uE00D","\\@gvertneqq"),x(H,Be,h,"\u22E7","\\gnsim",!0),x(H,Be,h,"\u2A8A","\\gnapprox",!0),x(H,Be,h,"\u2281","\\nsucc",!0),x(H,Be,h,"\u22E1","\\nsucceq",!0),x(H,Be,h,"\u22E9","\\succnsim",!0),x(H,Be,h,"\u2ABA","\\succnapprox",!0),x(H,Be,h,"\u2246","\\ncong",!0),x(H,Be,h,"\uE007","\\@nshortparallel"),x(H,Be,h,"\u2226","\\nparallel",!0),x(H,Be,h,"\u22AF","\\nVDash",!0),x(H,Be,h,"\u22EB","\\ntriangleright"),x(H,Be,h,"\u22ED","\\ntrianglerighteq",!0),x(H,Be,h,"\uE018","\\@nsupseteqq"),x(H,Be,h,"\u228B","\\supsetneq",!0),x(H,Be,h,"\uE01B","\\@varsupsetneq"),x(H,Be,h,"\u2ACC","\\supsetneqq",!0),x(H,Be,h,"\uE019","\\@varsupsetneqq"),x(H,Be,h,"\u22AE","\\nVdash",!0),x(H,Be,h,"\u2AB5","\\precneqq",!0),x(H,Be,h,"\u2AB6","\\succneqq",!0),x(H,Be,h,"\uE016","\\@nsubseteqq"),x(H,Be,$r,"\u22B4","\\unlhd"),x(H,Be,$r,"\u22B5","\\unrhd"),x(H,Be,h,"\u219A","\\nleftarrow",!0),x(H,Be,h,"\u219B","\\nrightarrow",!0),x(H,Be,h,"\u21CD","\\nLeftarrow",!0),x(H,Be,h,"\u21CF","\\nRightarrow",!0),x(H,Be,h,"\u21AE","\\nleftrightarrow",!0),x(H,Be,h,"\u21CE","\\nLeftrightarrow",!0),x(H,Be,h,"\u25B3","\\vartriangle"),x(H,Be,Ee,"\u210F","\\hslash"),x(H,Be,Ee,"\u25BD","\\triangledown"),x(H,Be,Ee,"\u25CA","\\lozenge"),x(H,Be,Ee,"\u24C8","\\circledS"),x(H,Be,Ee,"\xAE","\\circledR"),x(St,Be,Ee,"\xAE","\\circledR"),x(H,Be,Ee,"\u2221","\\measuredangle",!0),x(H,Be,Ee,"\u2204","\\nexists"),x(H,Be,Ee,"\u2127","\\mho"),x(H,Be,Ee,"\u2132","\\Finv",!0),x(H,Be,Ee,"\u2141","\\Game",!0),x(H,Be,Ee,"\u2035","\\backprime"),x(H,Be,Ee,"\u25B2","\\blacktriangle"),x(H,Be,Ee,"\u25BC","\\blacktriangledown"),x(H,Be,Ee,"\u25A0","\\blacksquare"),x(H,Be,Ee,"\u29EB","\\blacklozenge"),x(H,Be,Ee,"\u2605","\\bigstar"),x(H,Be,Ee,"\u2222","\\sphericalangle",!0),x(H,Be,Ee,"\u2201","\\complement",!0),x(H,Be,Ee,"\xF0","\\eth",!0),x(H,Be,Ee,"\u2571","\\diagup"),x(H,Be,Ee,"\u2572","\\diagdown"),x(H,Be,Ee,"\u25A1","\\square"),x(H,Be,Ee,"\u25A1","\\Box"),x(H,Be,Ee,"\u25CA","\\Diamond"),x(H,Be,Ee,"\xA5","\\yen",!0),x(St,Be,Ee,"\xA5","\\yen",!0),x(H,Be,Ee,"\u2713","\\checkmark",!0),x(St,Be,Ee,"\u2713","\\checkmark"),x(H,Be,Ee,"\u2136","\\beth",!0),x(H,Be,Ee,"\u2138","\\daleth",!0),x(H,Be,Ee,"\u2137","\\gimel",!0),x(H,Be,Ee,"\u03DD","\\digamma",!0),x(H,Be,Ee,"\u03F0","\\varkappa"),x(H,Be,vr,"\u250C","\\ulcorner",!0),x(H,Be,yn,"\u2510","\\urcorner",!0),x(H,Be,vr,"\u2514","\\llcorner",!0),x(H,Be,yn,"\u2518","\\lrcorner",!0),x(H,Be,h,"\u2266","\\leqq",!0),x(H,Be,h,"\u2A7D","\\leqslant",!0),x(H,Be,h,"\u2A95","\\eqslantless",!0),x(H,Be,h,"\u2272","\\lesssim",!0),x(H,Be,h,"\u2A85","\\lessapprox",!0),x(H,Be,h,"\u224A","\\approxeq",!0),x(H,Be,$r,"\u22D6","\\lessdot"),x(H,Be,h,"\u22D8","\\lll",!0),x(H,Be,h,"\u2276","\\lessgtr",!0),x(H,Be,h,"\u22DA","\\lesseqgtr",!0),x(H,Be,h,"\u2A8B","\\lesseqqgtr",!0),x(H,Be,h,"\u2251","\\doteqdot"),x(H,Be,h,"\u2253","\\risingdotseq",!0),x(H,Be,h,"\u2252","\\fallingdotseq",!0),x(H,Be,h,"\u223D","\\backsim",!0),x(H,Be,h,"\u22CD","\\backsimeq",!0),x(H,Be,h,"\u2AC5","\\subseteqq",!0),x(H,Be,h,"\u22D0","\\Subset",!0),x(H,Be,h,"\u228F","\\sqsubset",!0),x(H,Be,h,"\u227C","\\preccurlyeq",!0),x(H,Be,h,"\u22DE","\\curlyeqprec",!0),x(H,Be,h,"\u227E","\\precsim",!0),x(H,Be,h,"\u2AB7","\\precapprox",!0),x(H,Be,h,"\u22B2","\\vartriangleleft"),x(H,Be,h,"\u22B4","\\trianglelefteq"),x(H,Be,h,"\u22A8","\\vDash",!0),x(H,Be,h,"\u22AA","\\Vvdash",!0),x(H,Be,h,"\u2323","\\smallsmile"),x(H,Be,h,"\u2322","\\smallfrown"),x(H,Be,h,"\u224F","\\bumpeq",!0),x(H,Be,h,"\u224E","\\Bumpeq",!0),x(H,Be,h,"\u2267","\\geqq",!0),x(H,Be,h,"\u2A7E","\\geqslant",!0),x(H,Be,h,"\u2A96","\\eqslantgtr",!0),x(H,Be,h,"\u2273","\\gtrsim",!0),x(H,Be,h,"\u2A86","\\gtrapprox",!0),x(H,Be,$r,"\u22D7","\\gtrdot"),x(H,Be,h,"\u22D9","\\ggg",!0),x(H,Be,h,"\u2277","\\gtrless",!0),x(H,Be,h,"\u22DB","\\gtreqless",!0),x(H,Be,h,"\u2A8C","\\gtreqqless",!0),x(H,Be,h,"\u2256","\\eqcirc",!0),x(H,Be,h,"\u2257","\\circeq",!0),x(H,Be,h,"\u225C","\\triangleq",!0),x(H,Be,h,"\u223C","\\thicksim"),x(H,Be,h,"\u2248","\\thickapprox"),x(H,Be,h,"\u2AC6","\\supseteqq",!0),x(H,Be,h,"\u22D1","\\Supset",!0),x(H,Be,h,"\u2290","\\sqsupset",!0),x(H,Be,h,"\u227D","\\succcurlyeq",!0),x(H,Be,h,"\u22DF","\\curlyeqsucc",!0),x(H,Be,h,"\u227F","\\succsim",!0),x(H,Be,h,"\u2AB8","\\succapprox",!0),x(H,Be,h,"\u22B3","\\vartriangleright"),x(H,Be,h,"\u22B5","\\trianglerighteq"),x(H,Be,h,"\u22A9","\\Vdash",!0),x(H,Be,h,"\u2223","\\shortmid"),x(H,Be,h,"\u2225","\\shortparallel"),x(H,Be,h,"\u226C","\\between",!0),x(H,Be,h,"\u22D4","\\pitchfork",!0),x(H,Be,h,"\u221D","\\varpropto"),x(H,Be,h,"\u25C0","\\blacktriangleleft"),x(H,Be,h,"\u2234","\\therefore",!0),x(H,Be,h,"\u220D","\\backepsilon"),x(H,Be,h,"\u25B6","\\blacktriangleright"),x(H,Be,h,"\u2235","\\because",!0),x(H,Be,h,"\u22D8","\\llless"),x(H,Be,h,"\u22D9","\\gggtr"),x(H,Be,$r,"\u22B2","\\lhd"),x(H,Be,$r,"\u22B3","\\rhd"),x(H,Be,h,"\u2242","\\eqsim",!0),x(H,ae,h,"\u22C8","\\Join"),x(H,Be,h,"\u2251","\\Doteq",!0),x(H,Be,$r,"\u2214","\\dotplus",!0),x(H,Be,$r,"\u2216","\\smallsetminus"),x(H,Be,$r,"\u22D2","\\Cap",!0),x(H,Be,$r,"\u22D3","\\Cup",!0),x(H,Be,$r,"\u2A5E","\\doublebarwedge",!0),x(H,Be,$r,"\u229F","\\boxminus",!0),x(H,Be,$r,"\u229E","\\boxplus",!0),x(H,Be,$r,"\u22C7","\\divideontimes",!0),x(H,Be,$r,"\u22C9","\\ltimes",!0),x(H,Be,$r,"\u22CA","\\rtimes",!0),x(H,Be,$r,"\u22CB","\\leftthreetimes",!0),x(H,Be,$r,"\u22CC","\\rightthreetimes",!0),x(H,Be,$r,"\u22CF","\\curlywedge",!0),x(H,Be,$r,"\u22CE","\\curlyvee",!0),x(H,Be,$r,"\u229D","\\circleddash",!0),x(H,Be,$r,"\u229B","\\circledast",!0),x(H,Be,$r,"\u22C5","\\centerdot"),x(H,Be,$r,"\u22BA","\\intercal",!0),x(H,Be,$r,"\u22D2","\\doublecap"),x(H,Be,$r,"\u22D3","\\doublecup"),x(H,Be,$r,"\u22A0","\\boxtimes",!0),x(H,Be,h,"\u21E2","\\dashrightarrow",!0),x(H,Be,h,"\u21E0","\\dashleftarrow",!0),x(H,Be,h,"\u21C7","\\leftleftarrows",!0),x(H,Be,h,"\u21C6","\\leftrightarrows",!0),x(H,Be,h,"\u21DA","\\Lleftarrow",!0),x(H,Be,h,"\u219E","\\twoheadleftarrow",!0),x(H,Be,h,"\u21A2","\\leftarrowtail",!0),x(H,Be,h,"\u21AB","\\looparrowleft",!0),x(H,Be,h,"\u21CB","\\leftrightharpoons",!0),x(H,Be,h,"\u21B6","\\curvearrowleft",!0),x(H,Be,h,"\u21BA","\\circlearrowleft",!0),x(H,Be,h,"\u21B0","\\Lsh",!0),x(H,Be,h,"\u21C8","\\upuparrows",!0),x(H,Be,h,"\u21BF","\\upharpoonleft",!0),x(H,Be,h,"\u21C3","\\downharpoonleft",!0),x(H,Be,h,"\u22B8","\\multimap",!0),x(H,Be,h,"\u21AD","\\leftrightsquigarrow",!0),x(H,Be,h,"\u21C9","\\rightrightarrows",!0),x(H,Be,h,"\u21C4","\\rightleftarrows",!0),x(H,Be,h,"\u21A0","\\twoheadrightarrow",!0),x(H,Be,h,"\u21A3","\\rightarrowtail",!0),x(H,Be,h,"\u21AC","\\looparrowright",!0),x(H,Be,h,"\u21B7","\\curvearrowright",!0),x(H,Be,h,"\u21BB","\\circlearrowright",!0),x(H,Be,h,"\u21B1","\\Rsh",!0),x(H,Be,h,"\u21CA","\\downdownarrows",!0),x(H,Be,h,"\u21BE","\\upharpoonright",!0),x(H,Be,h,"\u21C2","\\downharpoonright",!0),x(H,Be,h,"\u21DD","\\rightsquigarrow",!0),x(H,Be,h,"\u21DD","\\leadsto"),x(H,Be,h,"\u21DB","\\Rrightarrow",!0),x(H,Be,h,"\u21BE","\\restriction"),x(H,ae,Ee,"\u2018","`"),x(H,ae,Ee,"$","\\$"),x(St,ae,Ee,"$","\\$"),x(St,ae,Ee,"$","\\textdollar"),x(H,ae,Ee,"%","\\%"),x(St,ae,Ee,"%","\\%"),x(H,ae,Ee,"_","\\_"),x(St,ae,Ee,"_","\\_"),x(St,ae,Ee,"_","\\textunderscore"),x(H,ae,Ee,"\u2220","\\angle",!0),x(H,ae,Ee,"\u221E","\\infty",!0),x(H,ae,Ee,"\u2032","\\prime"),x(H,ae,Ee,"\u25B3","\\triangle"),x(H,ae,Ee,"\u0393","\\Gamma",!0),x(H,ae,Ee,"\u0394","\\Delta",!0),x(H,ae,Ee,"\u0398","\\Theta",!0),x(H,ae,Ee,"\u039B","\\Lambda",!0),x(H,ae,Ee,"\u039E","\\Xi",!0),x(H,ae,Ee,"\u03A0","\\Pi",!0),x(H,ae,Ee,"\u03A3","\\Sigma",!0),x(H,ae,Ee,"\u03A5","\\Upsilon",!0),x(H,ae,Ee,"\u03A6","\\Phi",!0),x(H,ae,Ee,"\u03A8","\\Psi",!0),x(H,ae,Ee,"\u03A9","\\Omega",!0),x(H,ae,Ee,"A","\u0391"),x(H,ae,Ee,"B","\u0392"),x(H,ae,Ee,"E","\u0395"),x(H,ae,Ee,"Z","\u0396"),x(H,ae,Ee,"H","\u0397"),x(H,ae,Ee,"I","\u0399"),x(H,ae,Ee,"K","\u039A"),x(H,ae,Ee,"M","\u039C"),x(H,ae,Ee,"N","\u039D"),x(H,ae,Ee,"O","\u039F"),x(H,ae,Ee,"P","\u03A1"),x(H,ae,Ee,"T","\u03A4"),x(H,ae,Ee,"X","\u03A7"),x(H,ae,Ee,"\xAC","\\neg",!0),x(H,ae,Ee,"\xAC","\\lnot"),x(H,ae,Ee,"\u22A4","\\top"),x(H,ae,Ee,"\u22A5","\\bot"),x(H,ae,Ee,"\u2205","\\emptyset"),x(H,Be,Ee,"\u2205","\\varnothing"),x(H,ae,Ft,"\u03B1","\\alpha",!0),x(H,ae,Ft,"\u03B2","\\beta",!0),x(H,ae,Ft,"\u03B3","\\gamma",!0),x(H,ae,Ft,"\u03B4","\\delta",!0),x(H,ae,Ft,"\u03F5","\\epsilon",!0),x(H,ae,Ft,"\u03B6","\\zeta",!0),x(H,ae,Ft,"\u03B7","\\eta",!0),x(H,ae,Ft,"\u03B8","\\theta",!0),x(H,ae,Ft,"\u03B9","\\iota",!0),x(H,ae,Ft,"\u03BA","\\kappa",!0),x(H,ae,Ft,"\u03BB","\\lambda",!0),x(H,ae,Ft,"\u03BC","\\mu",!0),x(H,ae,Ft,"\u03BD","\\nu",!0),x(H,ae,Ft,"\u03BE","\\xi",!0),x(H,ae,Ft,"\u03BF","\\omicron",!0),x(H,ae,Ft,"\u03C0","\\pi",!0),x(H,ae,Ft,"\u03C1","\\rho",!0),x(H,ae,Ft,"\u03C3","\\sigma",!0),x(H,ae,Ft,"\u03C4","\\tau",!0),x(H,ae,Ft,"\u03C5","\\upsilon",!0),x(H,ae,Ft,"\u03D5","\\phi",!0),x(H,ae,Ft,"\u03C7","\\chi",!0),x(H,ae,Ft,"\u03C8","\\psi",!0),x(H,ae,Ft,"\u03C9","\\omega",!0),x(H,ae,Ft,"\u03B5","\\varepsilon",!0),x(H,ae,Ft,"\u03D1","\\vartheta",!0),x(H,ae,Ft,"\u03D6","\\varpi",!0),x(H,ae,Ft,"\u03F1","\\varrho",!0),x(H,ae,Ft,"\u03C2","\\varsigma",!0),x(H,ae,Ft,"\u03C6","\\varphi",!0),x(H,ae,$r,"\u2217","*"),x(H,ae,$r,"+","+"),x(H,ae,$r,"\u2212","-"),x(H,ae,$r,"\u22C5","\\cdot",!0),x(H,ae,$r,"\u2218","\\circ"),x(H,ae,$r,"\xF7","\\div",!0),x(H,ae,$r,"\xB1","\\pm",!0),x(H,ae,$r,"\xD7","\\times",!0),x(H,ae,$r,"\u2229","\\cap",!0),x(H,ae,$r,"\u222A","\\cup",!0),x(H,ae,$r,"\u2216","\\setminus"),x(H,ae,$r,"\u2227","\\land"),x(H,ae,$r,"\u2228","\\lor"),x(H,ae,$r,"\u2227","\\wedge",!0),x(H,ae,$r,"\u2228","\\vee",!0),x(H,ae,Ee,"\u221A","\\surd"),x(H,ae,vr,"(","("),x(H,ae,vr,"[","["),x(H,ae,vr,"\u27E8","\\langle",!0),x(H,ae,vr,"\u2223","\\lvert"),x(H,ae,vr,"\u2225","\\lVert"),x(H,ae,yn,")",")"),x(H,ae,yn,"]","]"),x(H,ae,yn,"?","?"),x(H,ae,yn,"!","!"),x(H,ae,yn,"\u27E9","\\rangle",!0),x(H,ae,yn,"\u2223","\\rvert"),x(H,ae,yn,"\u2225","\\rVert"),x(H,ae,h,"=","="),x(H,ae,h,"<","<"),x(H,ae,h,">",">"),x(H,ae,h,":",":"),x(H,ae,h,"\u2248","\\approx",!0),x(H,ae,h,"\u2245","\\cong",!0),x(H,ae,h,"\u2265","\\ge"),x(H,ae,h,"\u2265","\\geq",!0),x(H,ae,h,"\u2190","\\gets"),x(H,ae,h,">","\\gt"),x(H,ae,h,"\u2208","\\in",!0),x(H,ae,h,"\uE020","\\@not"),x(H,ae,h,"\u2282","\\subset",!0),x(H,ae,h,"\u2283","\\supset",!0),x(H,ae,h,"\u2286","\\subseteq",!0),x(H,ae,h,"\u2287","\\supseteq",!0),x(H,Be,h,"\u2288","\\nsubseteq",!0),x(H,Be,h,"\u2289","\\nsupseteq",!0),x(H,ae,h,"\u22A8","\\models"),x(H,ae,h,"\u2190","\\leftarrow",!0),x(H,ae,h,"\u2264","\\le"),x(H,ae,h,"\u2264","\\leq",!0),x(H,ae,h,"<","\\lt"),x(H,ae,h,"\u2192","\\rightarrow",!0),x(H,ae,h,"\u2192","\\to"),x(H,Be,h,"\u2271","\\ngeq",!0),x(H,Be,h,"\u2270","\\nleq",!0),x(H,ae,D,"\xA0","\\ "),x(H,ae,D,"\xA0","~"),x(H,ae,D,"\xA0","\\space"),x(H,ae,D,"\xA0","\\nobreakspace"),x(St,ae,D,"\xA0","\\ "),x(St,ae,D,"\xA0","~"),x(St,ae,D,"\xA0","\\space"),x(St,ae,D,"\xA0","\\nobreakspace"),x(H,ae,D,null,"\\nobreak"),x(H,ae,D,null,"\\allowbreak"),x(H,ae,Lr,",",","),x(H,ae,Lr,";",";"),x(H,Be,$r,"\u22BC","\\barwedge",!0),x(H,Be,$r,"\u22BB","\\veebar",!0),x(H,ae,$r,"\u2299","\\odot",!0),x(H,ae,$r,"\u2295","\\oplus",!0),x(H,ae,$r,"\u2297","\\otimes",!0),x(H,ae,Ee,"\u2202","\\partial",!0),x(H,ae,$r,"\u2298","\\oslash",!0),x(H,Be,$r,"\u229A","\\circledcirc",!0),x(H,Be,$r,"\u22A1","\\boxdot",!0),x(H,ae,$r,"\u25B3","\\bigtriangleup"),x(H,ae,$r,"\u25BD","\\bigtriangledown"),x(H,ae,$r,"\u2020","\\dagger"),x(H,ae,$r,"\u22C4","\\diamond"),x(H,ae,$r,"\u22C6","\\star"),x(H,ae,$r,"\u25C3","\\triangleleft"),x(H,ae,$r,"\u25B9","\\triangleright"),x(H,ae,vr,"{","\\{"),x(St,ae,Ee,"{","\\{"),x(St,ae,Ee,"{","\\textbraceleft"),x(H,ae,yn,"}","\\}"),x(St,ae,Ee,"}","\\}"),x(St,ae,Ee,"}","\\textbraceright"),x(H,ae,vr,"{","\\lbrace"),x(H,ae,yn,"}","\\rbrace"),x(H,ae,vr,"[","\\lbrack"),x(St,ae,Ee,"[","\\lbrack"),x(H,ae,yn,"]","\\rbrack"),x(St,ae,Ee,"]","\\rbrack"),x(H,ae,vr,"(","\\lparen"),x(H,ae,yn,")","\\rparen"),x(St,ae,Ee,"<","\\textless"),x(St,ae,Ee,">","\\textgreater"),x(H,ae,vr,"\u230A","\\lfloor",!0),x(H,ae,yn,"\u230B","\\rfloor",!0),x(H,ae,vr,"\u2308","\\lceil",!0),x(H,ae,yn,"\u2309","\\rceil",!0),x(H,ae,Ee,"\\","\\backslash"),x(H,ae,Ee,"\u2223","|"),x(H,ae,Ee,"\u2223","\\vert"),x(St,ae,Ee,"|","\\textbar"),x(H,ae,Ee,"\u2225","\\|"),x(H,ae,Ee,"\u2225","\\Vert"),x(St,ae,Ee,"\u2225","\\textbardbl"),x(St,ae,Ee,"~","\\textasciitilde"),x(St,ae,Ee,"\\","\\textbackslash"),x(St,ae,Ee,"^","\\textasciicircum"),x(H,ae,h,"\u2191","\\uparrow",!0),x(H,ae,h,"\u21D1","\\Uparrow",!0),x(H,ae,h,"\u2193","\\downarrow",!0),x(H,ae,h,"\u21D3","\\Downarrow",!0),x(H,ae,h,"\u2195","\\updownarrow",!0),x(H,ae,h,"\u21D5","\\Updownarrow",!0),x(H,ae,Sr,"\u2210","\\coprod"),x(H,ae,Sr,"\u22C1","\\bigvee"),x(H,ae,Sr,"\u22C0","\\bigwedge"),x(H,ae,Sr,"\u2A04","\\biguplus"),x(H,ae,Sr,"\u22C2","\\bigcap"),x(H,ae,Sr,"\u22C3","\\bigcup"),x(H,ae,Sr,"\u222B","\\int"),x(H,ae,Sr,"\u222B","\\intop"),x(H,ae,Sr,"\u222C","\\iint"),x(H,ae,Sr,"\u222D","\\iiint"),x(H,ae,Sr,"\u220F","\\prod"),x(H,ae,Sr,"\u2211","\\sum"),x(H,ae,Sr,"\u2A02","\\bigotimes"),x(H,ae,Sr,"\u2A01","\\bigoplus"),x(H,ae,Sr,"\u2A00","\\bigodot"),x(H,ae,Sr,"\u222E","\\oint"),x(H,ae,Sr,"\u222F","\\oiint"),x(H,ae,Sr,"\u2230","\\oiiint"),x(H,ae,Sr,"\u2A06","\\bigsqcup"),x(H,ae,Sr,"\u222B","\\smallint"),x(St,ae,Mn,"\u2026","\\textellipsis"),x(H,ae,Mn,"\u2026","\\mathellipsis"),x(St,ae,Mn,"\u2026","\\ldots",!0),x(H,ae,Mn,"\u2026","\\ldots",!0),x(H,ae,Mn,"\u22EF","\\@cdots",!0),x(H,ae,Mn,"\u22F1","\\ddots",!0),x(H,ae,Ee,"\u22EE","\\varvdots"),x(H,ae,zr,"\u02CA","\\acute"),x(H,ae,zr,"\u02CB","\\grave"),x(H,ae,zr,"\xA8","\\ddot"),x(H,ae,zr,"~","\\tilde"),x(H,ae,zr,"\u02C9","\\bar"),x(H,ae,zr,"\u02D8","\\breve"),x(H,ae,zr,"\u02C7","\\check"),x(H,ae,zr,"^","\\hat"),x(H,ae,zr,"\u20D7","\\vec"),x(H,ae,zr,"\u02D9","\\dot"),x(H,ae,zr,"\u02DA","\\mathring"),x(H,ae,Ft,"\u0131","\\imath",!0),x(H,ae,Ft,"\u0237","\\jmath",!0),x(St,ae,Ee,"\u0131","\\i",!0),x(St,ae,Ee,"\u0237","\\j",!0),x(St,ae,Ee,"\xDF","\\ss",!0),x(St,ae,Ee,"\xE6","\\ae",!0),x(St,ae,Ee,"\xE6","\\ae",!0),x(St,ae,Ee,"\u0153","\\oe",!0),x(St,ae,Ee,"\xF8","\\o",!0),x(St,ae,Ee,"\xC6","\\AE",!0),x(St,ae,Ee,"\u0152","\\OE",!0),x(St,ae,Ee,"\xD8","\\O",!0),x(St,ae,zr,"\u02CA","\\'"),x(St,ae,zr,"\u02CB","\\`"),x(St,ae,zr,"\u02C6","\\^"),x(St,ae,zr,"\u02DC","\\~"),x(St,ae,zr,"\u02C9","\\="),x(St,ae,zr,"\u02D8","\\u"),x(St,ae,zr,"\u02D9","\\."),x(St,ae,zr,"\u02DA","\\r"),x(St,ae,zr,"\u02C7","\\v"),x(St,ae,zr,"\xA8",'\\"'),x(St,ae,zr,"\u02DD","\\H"),x(St,ae,zr,"\u25EF","\\textcircled");var ne={"--":!0,"---":!0,"``":!0,"''":!0};x(St,ae,Ee,"\u2013","--"),x(St,ae,Ee,"\u2013","\\textendash"),x(St,ae,Ee,"\u2014","---"),x(St,ae,Ee,"\u2014","\\textemdash"),x(St,ae,Ee,"\u2018","`"),x(St,ae,Ee,"\u2018","\\textquoteleft"),x(St,ae,Ee,"\u2019","'"),x(St,ae,Ee,"\u2019","\\textquoteright"),x(St,ae,Ee,"\u201C","``"),x(St,ae,Ee,"\u201C","\\textquotedblleft"),x(St,ae,Ee,"\u201D","''"),x(St,ae,Ee,"\u201D","\\textquotedblright"),x(H,ae,Ee,"\xB0","\\degree",!0),x(St,ae,Ee,"\xB0","\\degree"),x(St,ae,Ee,"\xB0","\\textdegree",!0),x(H,ae,Ft,"\xA3","\\pounds"),x(H,ae,Ft,"\xA3","\\mathsterling",!0),x(St,ae,Ft,"\xA3","\\pounds"),x(St,ae,Ft,"\xA3","\\textsterling",!0),x(H,Be,Ee,"\u2720","\\maltese"),x(St,Be,Ee,"\u2720","\\maltese"),x(St,ae,D,"\xA0","\\ "),x(St,ae,D,"\xA0"," "),x(St,ae,D,"\xA0","~");for(var st='0123456789/@."',gn=0;gn<st.length;gn++){var mt=st.charAt(gn);x(H,ae,Ee,mt,mt)}for(var Zt='0123456789!@*()-=+[]<>|";:?/.,',Ur=0;Ur<Zt.length;Ur++){var Pr=Zt.charAt(Ur);x(St,ae,Ee,Pr,Pr)}for(var Jr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",vn=0;vn<Jr.length;vn++){var Qn=Jr.charAt(vn);x(H,ae,Ft,Qn,Qn),x(St,ae,Ee,Qn,Qn)}x(H,Be,Ee,"C","\u2102"),x(St,Be,Ee,"C","\u2102"),x(H,Be,Ee,"H","\u210D"),x(St,Be,Ee,"H","\u210D"),x(H,Be,Ee,"N","\u2115"),x(St,Be,Ee,"N","\u2115"),x(H,Be,Ee,"P","\u2119"),x(St,Be,Ee,"P","\u2119"),x(H,Be,Ee,"Q","\u211A"),x(St,Be,Ee,"Q","\u211A"),x(H,Be,Ee,"R","\u211D"),x(St,Be,Ee,"R","\u211D"),x(H,Be,Ee,"Z","\u2124"),x(St,Be,Ee,"Z","\u2124"),x(H,ae,Ft,"h","\u210E"),x(St,ae,Ft,"h","\u210E");for(var ge="",fr=0;fr<Jr.length;fr++){var et=Jr.charAt(fr);ge=String.fromCharCode(55349,56320+fr),x(H,ae,Ft,et,ge),x(St,ae,Ee,et,ge),ge=String.fromCharCode(55349,56372+fr),x(H,ae,Ft,et,ge),x(St,ae,Ee,et,ge),ge=String.fromCharCode(55349,56424+fr),x(H,ae,Ft,et,ge),x(St,ae,Ee,et,ge),ge=String.fromCharCode(55349,56580+fr),x(H,ae,Ft,et,ge),x(St,ae,Ee,et,ge),ge=String.fromCharCode(55349,56736+fr),x(H,ae,Ft,et,ge),x(St,ae,Ee,et,ge),ge=String.fromCharCode(55349,56788+fr),x(H,ae,Ft,et,ge),x(St,ae,Ee,et,ge),ge=String.fromCharCode(55349,56840+fr),x(H,ae,Ft,et,ge),x(St,ae,Ee,et,ge),ge=String.fromCharCode(55349,56944+fr),x(H,ae,Ft,et,ge),x(St,ae,Ee,et,ge),fr<26&&(ge=String.fromCharCode(55349,56632+fr),x(H,ae,Ft,et,ge),x(St,ae,Ee,et,ge),ge=String.fromCharCode(55349,56476+fr),x(H,ae,Ft,et,ge),x(St,ae,Ee,et,ge))}ge="\u{1D55C}",x(H,ae,Ft,"k",ge),x(St,ae,Ee,"k",ge);for(var Ir=0;Ir<10;Ir++){var Vr=Ir.toString();ge=String.fromCharCode(55349,57294+Ir),x(H,ae,Ft,Vr,ge),x(St,ae,Ee,Vr,ge),ge=String.fromCharCode(55349,57314+Ir),x(H,ae,Ft,Vr,ge),x(St,ae,Ee,Vr,ge),ge=String.fromCharCode(55349,57324+Ir),x(H,ae,Ft,Vr,ge),x(St,ae,Ee,Vr,ge),ge=String.fromCharCode(55349,57334+Ir),x(H,ae,Ft,Vr,ge),x(St,ae,Ee,Vr,ge)}for(var Sn="\xC7\xD0\xDE\xE7\xFE",ra=0;ra<Sn.length;ra++){var gt=Sn.charAt(ra);x(H,ae,Ft,gt,gt),x(St,ae,Ee,gt,gt)}x(St,ae,Ee,"\xF0","\xF0"),x(St,ae,Ee,"\u2013","\u2013"),x(St,ae,Ee,"\u2014","\u2014"),x(St,ae,Ee,"\u2018","\u2018"),x(St,ae,Ee,"\u2019","\u2019"),x(St,ae,Ee,"\u201C","\u201C"),x(St,ae,Ee,"\u201D","\u201D");var rr=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],sr=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],or=function(r,o){var l=r.charCodeAt(0),g=r.charCodeAt(1),W=(l-55296)*1024+(g-56320)+65536,fe=o==="math"?0:1;if(119808<=W&&W<120484){var We=Math.floor((W-119808)/26);return[rr[We][2],rr[We][fe]]}else if(120782<=W&&W<=120831){var it=Math.floor((W-120782)/10);return[sr[it][2],sr[it][fe]]}else{if(W===120485||W===120486)return[rr[0][2],rr[0][fe]];if(120486<W&&W<120782)return["",""];throw new ee("Unsupported character: "+r)}},jr=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],on=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Hr=function(r,o){return o.size<2?r:jr[r-1][o.size-1]},Dr=function(){function ie(o){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=o.style,this.color=o.color,this.size=o.size||ie.BASESIZE,this.textSize=o.textSize||this.size,this.phantom=!!o.phantom,this.font=o.font||"",this.fontFamily=o.fontFamily||"",this.fontWeight=o.fontWeight||"",this.fontShape=o.fontShape||"",this.sizeMultiplier=on[this.size-1],this.maxSize=o.maxSize,this.minRuleThickness=o.minRuleThickness,this._fontMetrics=void 0}var r=ie.prototype;return r.extend=function(l){var g={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var W in l)l.hasOwnProperty(W)&&(g[W]=l[W]);return new ie(g)},r.havingStyle=function(l){return this.style===l?this:this.extend({style:l,size:Hr(this.textSize,l)})},r.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},r.havingSize=function(l){return this.size===l&&this.textSize===l?this:this.extend({style:this.style.text(),size:l,textSize:l,sizeMultiplier:on[l-1]})},r.havingBaseStyle=function(l){l=l||this.style.text();var g=Hr(ie.BASESIZE,l);return this.size===g&&this.textSize===ie.BASESIZE&&this.style===l?this:this.extend({style:l,size:g})},r.havingBaseSizing=function(){var l;switch(this.style.id){case 4:case 5:l=3;break;case 6:case 7:l=1;break;default:l=6}return this.extend({style:this.style.text(),size:l})},r.withColor=function(l){return this.extend({color:l})},r.withPhantom=function(){return this.extend({phantom:!0})},r.withFont=function(l){return this.extend({font:l})},r.withTextFontFamily=function(l){return this.extend({fontFamily:l,font:""})},r.withTextFontWeight=function(l){return this.extend({fontWeight:l,font:""})},r.withTextFontShape=function(l){return this.extend({fontShape:l,font:""})},r.sizingClasses=function(l){return l.size!==this.size?["sizing","reset-size"+l.size,"size"+this.size]:[]},r.baseSizingClasses=function(){return this.size!==ie.BASESIZE?["sizing","reset-size"+this.size,"size"+ie.BASESIZE]:[]},r.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=er(this.size)),this._fontMetrics},r.getColor=function(){return this.phantom?"transparent":this.color},ie}();Dr.BASESIZE=6;var nn=Dr,sn={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},$n={ex:!0,em:!0,mu:!0},Pn=function(r){return typeof r!="string"&&(r=r.unit),r in sn||r in $n||r==="ex"},On=function(r,o){var l;if(r.unit in sn)l=sn[r.unit]/o.fontMetrics().ptPerEm/o.sizeMultiplier;else if(r.unit==="mu")l=o.fontMetrics().cssEmPerMu;else{var g;if(o.style.isTight()?g=o.havingStyle(o.style.text()):g=o,r.unit==="ex")l=g.fontMetrics().xHeight;else if(r.unit==="em")l=g.fontMetrics().quad;else throw new ee("Invalid unit: '"+r.unit+"'");g!==o&&(l*=g.sizeMultiplier/o.sizeMultiplier)}return Math.min(r.number*l,o.maxSize)},Tn=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],na=function(r,o,l){return Ar[l][r]&&Ar[l][r].replace&&(r=Ar[l][r].replace),{value:r,metrics:Ht(r,o,l)}},tn=function(r,o,l,g,W){var fe=na(r,o,l),We=fe.metrics;r=fe.value;var it;if(We){var Mt=We.italic;(l==="text"||g&&g.font==="mathit")&&(Mt=0),it=new Me(r,We.height,We.depth,Mt,We.skew,We.width,W)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+r+"' in style '"+o+"' and mode '"+l+"'")),it=new Me(r,0,0,0,0,0,W);if(g){it.maxFontSize=g.sizeMultiplier,g.style.isTight()&&it.classes.push("mtight");var ar=g.getColor();ar&&(it.style.color=ar)}return it},An=function(r,o,l,g){return g===void 0&&(g=[]),l.font==="boldsymbol"&&na(r,"Main-Bold",o).metrics?tn(r,"Main-Bold",o,l,g.concat(["mathbf"])):r==="\\"||Ar[o][r].font==="main"?tn(r,"Main-Regular",o,l,g):tn(r,"AMS-Regular",o,l,g.concat(["amsrm"]))},qn=function(r,o,l,g){return/[0-9]/.test(r.charAt(0))||S.contains(Tn,r)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},da=function(r,o,l,g){return S.contains(Tn,r)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(r.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Ln=function(r,o,l,g){return na(r,"Math-BoldItalic",o).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},aa=function(r,o,l){var g=r.mode,W=r.text,fe=["mord"],We=g==="math"||g==="text"&&o.font,it=We?o.font:o.fontFamily;if(W.charCodeAt(0)===55349){var Mt=or(W,g),ar=Mt[0],yr=Mt[1];return tn(W,ar,g,o,fe.concat(yr))}else if(it){var kr,rn;if(it==="boldsymbol"||it==="mathnormal"){var hn=it==="boldsymbol"?Ln(W,g,o,fe):da(W,g,o,fe);kr=hn.fontName,rn=[hn.fontClass]}else S.contains(Tn,W)?(kr="Main-Italic",rn=["mathit"]):We?(kr=p[it].fontName,rn=[it]):(kr=s(it,o.fontWeight,o.fontShape),rn=[it,o.fontWeight,o.fontShape]);if(na(W,kr,g).metrics)return tn(W,kr,g,o,fe.concat(rn));if(ne.hasOwnProperty(W)&&kr.substr(0,10)==="Typewriter"){for(var pn=[],Un=0;Un<W.length;Un++)pn.push(tn(W[Un],kr,g,o,fe.concat(rn)));return Fa(pn)}}if(l==="mathord"){var wa=qn(W,g,o,fe);return tn(W,wa.fontName,g,o,fe.concat([wa.fontClass]))}else if(l==="textord"){var Aa=Ar[g][W]&&Ar[g][W].font;if(Aa==="ams"){var u=s("amsrm",o.fontWeight,o.fontShape);return tn(W,u,g,o,fe.concat("amsrm",o.fontWeight,o.fontShape))}else if(Aa==="main"||!Aa){var e=s("textrm",o.fontWeight,o.fontShape);return tn(W,e,g,o,fe.concat(o.fontWeight,o.fontShape))}else{var t=s(Aa,o.fontWeight,o.fontShape);return tn(W,t,g,o,fe.concat(t,o.fontWeight,o.fontShape))}}else throw new Error("unexpected type: "+l+" in makeOrd")},Kn=function(r,o){if(P(r.classes)!==P(o.classes)||r.skew!==o.skew||r.maxFontSize!==o.maxFontSize)return!1;for(var l in r.style)if(r.style.hasOwnProperty(l)&&r.style[l]!==o.style[l])return!1;for(var g in o.style)if(o.style.hasOwnProperty(g)&&r.style[g]!==o.style[g])return!1;return!0},Zn=function(r){for(var o=0;o<r.length-1;o++){var l=r[o],g=r[o+1];l instanceof Me&&g instanceof Me&&Kn(l,g)&&(l.text+=g.text,l.height=Math.max(l.height,g.height),l.depth=Math.max(l.depth,g.depth),l.italic=g.italic,r.splice(o+1,1),o--)}return r},ea=function(r){for(var o=0,l=0,g=0,W=0;W<r.children.length;W++){var fe=r.children[W];fe.height>o&&(o=fe.height),fe.depth>l&&(l=fe.depth),fe.maxFontSize>g&&(g=fe.maxFontSize)}r.height=o,r.depth=l,r.maxFontSize=g},zn=function(r,o,l,g){var W=new de(r,o,l,g);return ea(W),W},xn=function(r,o,l,g){return new de(r,o,l,g)},Xn=function(r,o,l){var g=zn([r],[],o);return g.height=Math.max(l||o.fontMetrics().defaultRuleThickness,o.minRuleThickness),g.style.borderBottomWidth=g.height+"em",g.maxFontSize=1,g},Ca=function(r,o,l,g){var W=new me(r,o,l,g);return ea(W),W},Fa=function(r){var o=new De(r);return ea(o),o},ao=function(r,o){return r instanceof De?zn([],[r],o):r},oo=function(r){if(r.positionType==="individualShift"){for(var o=r.children,l=[o[0]],g=-o[0].shift-o[0].elem.depth,W=g,fe=1;fe<o.length;fe++){var We=-o[fe].shift-W-o[fe].elem.depth,it=We-(o[fe-1].elem.height+o[fe-1].elem.depth);W=W+We,l.push({type:"kern",size:it}),l.push(o[fe])}return{children:l,depth:g}}var Mt;if(r.positionType==="top"){for(var ar=r.positionData,yr=0;yr<r.children.length;yr++){var kr=r.children[yr];ar-=kr.type==="kern"?kr.size:kr.elem.height+kr.elem.depth}Mt=ar}else if(r.positionType==="bottom")Mt=-r.positionData;else{var rn=r.children[0];if(rn.type!=="elem")throw new Error('First child must have type "elem".');if(r.positionType==="shift")Mt=-rn.elem.depth-r.positionData;else if(r.positionType==="firstBaseline")Mt=-rn.elem.depth;else throw new Error("Invalid positionType "+r.positionType+".")}return{children:r.children,depth:Mt}},uo=function(r,o){for(var l=oo(r),g=l.children,W=l.depth,fe=0,We=0;We<g.length;We++){var it=g[We];if(it.type==="elem"){var Mt=it.elem;fe=Math.max(fe,Mt.maxFontSize,Mt.height)}}fe+=2;var ar=zn(["pstrut"],[]);ar.style.height=fe+"em";for(var yr=[],kr=W,rn=W,hn=W,pn=0;pn<g.length;pn++){var Un=g[pn];if(Un.type==="kern")hn+=Un.size;else{var wa=Un.elem,Aa=Un.wrapperClasses||[],u=Un.wrapperStyle||{},e=zn(Aa,[ar,wa],void 0,u);e.style.top=-fe-hn-wa.depth+"em",Un.marginLeft&&(e.style.marginLeft=Un.marginLeft),Un.marginRight&&(e.style.marginRight=Un.marginRight),yr.push(e),hn+=wa.height+wa.depth}kr=Math.min(kr,hn),rn=Math.max(rn,hn)}var t=zn(["vlist"],yr);t.style.height=rn+"em";var d;if(kr<0){var O=zn([],[]),K=zn(["vlist"],[O]);K.style.height=-kr+"em";var Oe=zn(["vlist-s"],[new Me("\u200B")]);d=[zn(["vlist-r"],[t,Oe]),zn(["vlist-r"],[K])]}else d=[zn(["vlist-r"],[t])];var Ke=zn(["vlist-t"],d);return d.length===2&&Ke.classes.push("vlist-t2"),Ke.height=rn,Ke.depth=-kr,Ke},f=function(r,o){var l=zn(["mspace"],[],o),g=On(r,o);return l.style.marginRight=g+"em",l},s=function(r,o,l){var g="";switch(r){case"amsrm":g="AMS";break;case"textrm":g="Main";break;case"textsf":g="SansSerif";break;case"texttt":g="Typewriter";break;default:g=r}var W;return o==="textbf"&&l==="textit"?W="BoldItalic":o==="textbf"?W="Bold":o==="textit"?W="Italic":W="Regular",g+"-"+W},p={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},b={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},$=function(r,o){var l=b[r],g=l[0],W=l[1],fe=l[2],We=new pt(g),it=new Je([We],{width:W+"em",height:fe+"em",style:"width:"+W+"em",viewBox:"0 0 "+1e3*W+" "+1e3*fe,preserveAspectRatio:"xMinYMin"}),Mt=xn(["overlay"],[it],o);return Mt.height=fe,Mt.style.height=fe+"em",Mt.style.width=W+"em",Mt},v={fontMap:p,makeSymbol:tn,mathsym:An,makeSpan:zn,makeSvgSpan:xn,makeLineSpan:Xn,makeAnchor:Ca,makeFragment:Fa,wrapFragment:ao,makeVList:uo,makeOrd:aa,makeGlue:f,staticSvg:$,svgData:b,tryCombineChars:Zn};function B(ie,r){var o=U(ie,r);if(!o)throw new Error("Expected node of type "+r+", but got "+(ie?"node of type "+ie.type:String(ie)));return o}function U(ie,r){return ie&&ie.type===r?ie:null}function re(ie,r){var o=Ae(ie,r);if(!o)throw new Error('Expected node of type "atom" and family "'+r+'", but got '+(ie?ie.type==="atom"?"atom of family "+ie.family:"node of type "+ie.type:String(ie)));return o}function Ae(ie,r){return ie&&ie.type==="atom"&&ie.family===r?ie:null}function lt(ie){var r=It(ie);if(!r)throw new Error("Expected node of symbol group type, but got "+(ie?"node of type "+ie.type:String(ie)));return r}function It(ie){return ie&&(ie.type==="atom"||Cr.hasOwnProperty(ie.type))?ie:null}var Et={number:3,unit:"mu"},ve={number:4,unit:"mu"},kt={number:5,unit:"mu"},Ge={mord:{mop:Et,mbin:ve,mrel:kt,minner:Et},mop:{mord:Et,mop:Et,mrel:kt,minner:Et},mbin:{mord:ve,mop:ve,mopen:ve,minner:ve},mrel:{mord:kt,mop:kt,mopen:kt,minner:kt},mopen:{},mclose:{mop:Et,mbin:ve,mrel:kt,minner:Et},mpunct:{mord:Et,mop:Et,mrel:kt,mopen:Et,mclose:Et,mpunct:Et,minner:Et},minner:{mord:Et,mop:Et,mbin:ve,mrel:kt,mopen:Et,mpunct:Et,minner:Et}},Vt={mord:{mop:Et},mop:{mord:Et,mop:Et},mbin:{},mrel:{},mopen:{},mclose:{mop:Et},mpunct:{},minner:{mop:Et}},vt={},nr={},xr={};function Qt(ie){for(var r=ie.type,o=ie.names,l=ie.props,g=ie.handler,W=ie.htmlBuilder,fe=ie.mathmlBuilder,We={type:r,numArgs:l.numArgs,argTypes:l.argTypes,greediness:l.greediness===void 0?1:l.greediness,allowedInText:!!l.allowedInText,allowedInMath:l.allowedInMath===void 0?!0:l.allowedInMath,numOptionalArgs:l.numOptionalArgs||0,infix:!!l.infix,handler:g},it=0;it<o.length;++it)vt[o[it]]=We;r&&(W&&(nr[r]=W),fe&&(xr[r]=fe))}function nt(ie){var r=ie.type,o=ie.htmlBuilder,l=ie.mathmlBuilder;Qt({type:r,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:o,mathmlBuilder:l})}var Ce=function(r){var o=U(r,"ordgroup");return o?o.body:[r]},Ut=v.makeSpan,Nt=["leftmost","mbin","mopen","mrel","mop","mpunct"],$t=["rightmost","mrel","mclose","mpunct"],qt={display:w.DISPLAY,text:w.TEXT,script:w.SCRIPT,scriptscript:w.SCRIPTSCRIPT},He={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},ze=function(r,o,l,g){g===void 0&&(g=[null,null]);for(var W=[],fe=0;fe<r.length;fe++){var We=Tt(r[fe],o);if(We instanceof De){var it=We.children;W.push.apply(W,it)}else W.push(We)}if(!l)return W;var Mt=o;if(r.length===1){var ar=U(r[0],"sizing")||U(r[0],"styling");ar&&(ar.type==="sizing"?Mt=o.havingSize(ar.size):ar.type==="styling"&&(Mt=o.havingStyle(qt[ar.style])))}var yr=Ut([g[0]||"leftmost"],[],o),kr=Ut([g[1]||"rightmost"],[],o);return At(W,function(rn,hn){var pn=hn.classes[0],Un=rn.classes[0];pn==="mbin"&&S.contains($t,Un)?hn.classes[0]="mord":Un==="mbin"&&S.contains(Nt,pn)&&(rn.classes[0]="mord")},{node:yr},kr),At(W,function(rn,hn){var pn=br(hn),Un=br(rn),wa=pn&&Un?rn.hasClass("mtight")?Vt[pn][Un]:Ge[pn][Un]:null;if(wa)return v.makeGlue(wa,Mt)},{node:yr},kr),W},At=function ie(r,o,l,g){g&&r.push(g);for(var W=0;W<r.length;W++){var fe=r[W],We=dt(fe);if(We){ie(We.children,o,l);continue}if(fe.classes[0]!=="mspace"){var it=o(fe,l.node);it&&(l.insertAfter?l.insertAfter(it):(r.unshift(it),W++)),l.node=fe,l.insertAfter=function(Mt){return function(ar){r.splice(Mt+1,0,ar),W++}}(W)}}g&&r.pop()},dt=function(r){return r instanceof De||r instanceof me?r:null},dr=function ie(r,o){var l=dt(r);if(l){var g=l.children;if(g.length){if(o==="right")return ie(g[g.length-1],"right");if(o==="left")return ie(g[0],"left")}}return r},br=function(r,o){return r?(o&&(r=dr(r,o)),He[r.classes[0]]||null):null},Jt=function(r,o){var l=["nulldelimiter"].concat(r.baseSizingClasses());return Ut(o.concat(l))},Tt=function(r,o,l){if(!r)return Ut();if(nr[r.type]){var g=nr[r.type](r,o);if(l&&o.size!==l.size){g=Ut(o.sizingClasses(l),[g],o);var W=o.sizeMultiplier/l.sizeMultiplier;g.height*=W,g.depth*=W}return g}else throw new ee("Got group of unknown type: '"+r.type+"'")};function ir(ie,r){var o=Ut(["base"],ie,r),l=Ut(["strut"]);return l.style.height=o.height+o.depth+"em",l.style.verticalAlign=-o.depth+"em",o.children.unshift(l),o}function Zr(ie,r){var o=null;ie.length===1&&ie[0].type==="tag"&&(o=ie[0].tag,ie=ie[0].body);for(var l=ze(ie,r,!0),g=[],W=[],fe=0;fe<l.length;fe++)if(W.push(l[fe]),l[fe].hasClass("mbin")||l[fe].hasClass("mrel")||l[fe].hasClass("allowbreak")){for(var We=!1;fe<l.length-1&&l[fe+1].hasClass("mspace")&&!l[fe+1].hasClass("newline");)fe++,W.push(l[fe]),l[fe].hasClass("nobreak")&&(We=!0);We||(g.push(ir(W,r)),W=[])}else l[fe].hasClass("newline")&&(W.pop(),W.length>0&&(g.push(ir(W,r)),W=[]),g.push(l[fe]));W.length>0&&g.push(ir(W,r));var it;o&&(it=ir(ze(o,r,!0)),it.classes=["tag"],g.push(it));var Mt=Ut(["katex-html"],g);if(Mt.setAttribute("aria-hidden","true"),it){var ar=it.children[0];ar.style.height=Mt.height+Mt.depth+"em",ar.style.verticalAlign=-Mt.depth+"em"}return Mt}function Wt(ie){return new De(ie)}var Pe=function(){function ie(o,l){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=o,this.attributes={},this.children=l||[]}var r=ie.prototype;return r.setAttribute=function(l,g){this.attributes[l]=g},r.getAttribute=function(l){return this.attributes[l]},r.toNode=function(){var l=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var g in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,g)&&l.setAttribute(g,this.attributes[g]);for(var W=0;W<this.children.length;W++)l.appendChild(this.children[W].toNode());return l},r.toMarkup=function(){var l="<"+this.type;for(var g in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,g)&&(l+=" "+g+'="',l+=S.escape(this.attributes[g]),l+='"');l+=">";for(var W=0;W<this.children.length;W++)l+=this.children[W].toMarkup();return l+="</"+this.type+">",l},r.toText=function(){return this.children.map(function(l){return l.toText()}).join("")},ie}(),yt=function(){function ie(o){this.text=void 0,this.text=o}var r=ie.prototype;return r.toNode=function(){return document.createTextNode(this.text)},r.toMarkup=function(){return S.escape(this.toText())},r.toText=function(){return this.text},ie}(),Bt=function(){function ie(o){this.width=void 0,this.character=void 0,this.width=o,o>=.05555&&o<=.05556?this.character="\u200A":o>=.1666&&o<=.1667?this.character="\u2009":o>=.2222&&o<=.2223?this.character="\u2005":o>=.2777&&o<=.2778?this.character="\u2005\u200A":o>=-.05556&&o<=-.05555?this.character="\u200A\u2063":o>=-.1667&&o<=-.1666?this.character="\u2009\u2063":o>=-.2223&&o<=-.2222?this.character="\u205F\u2063":o>=-.2778&&o<=-.2777?this.character="\u2005\u2063":this.character=null}var r=ie.prototype;return r.toNode=function(){if(this.character)return document.createTextNode(this.character);var l=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return l.setAttribute("width",this.width+"em"),l},r.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},r.toText=function(){return this.character?this.character:" "},ie}(),ht={MathNode:Pe,TextNode:yt,SpaceNode:Bt,newDocumentFragment:Wt},Yt=function(r,o,l){return Ar[o][r]&&Ar[o][r].replace&&r.charCodeAt(0)!==55349&&!(ne.hasOwnProperty(r)&&l&&(l.fontFamily&&l.fontFamily.substr(4,2)==="tt"||l.font&&l.font.substr(4,2)==="tt"))&&(r=Ar[o][r].replace),new ht.TextNode(r)},lr=function(r){return r.length===1?r[0]:new ht.MathNode("mrow",r)},mr=function(r,o){if(o.fontFamily==="texttt")return"monospace";if(o.fontFamily==="textsf")return o.fontShape==="textit"&&o.fontWeight==="textbf"?"sans-serif-bold-italic":o.fontShape==="textit"?"sans-serif-italic":o.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(o.fontShape==="textit"&&o.fontWeight==="textbf")return"bold-italic";if(o.fontShape==="textit")return"italic";if(o.fontWeight==="textbf")return"bold";var l=o.font;if(!l||l==="mathnormal")return null;var g=r.mode;if(l==="mathit")return"italic";if(l==="boldsymbol")return"bold-italic";if(l==="mathbf")return"bold";if(l==="mathbb")return"double-struck";if(l==="mathfrak")return"fraktur";if(l==="mathscr"||l==="mathcal")return"script";if(l==="mathsf")return"sans-serif";if(l==="mathtt")return"monospace";var W=r.text;if(S.contains(["\\imath","\\jmath"],W))return null;Ar[g][W]&&Ar[g][W].replace&&(W=Ar[g][W].replace);var fe=v.fontMap[l].fontName;return Ht(W,fe,g)?v.fontMap[l].variant:null},Or=function(r,o,l){if(r.length===1){var g=Fr(r[0],o);return l&&g instanceof Pe&&g.type==="mo"&&(g.setAttribute("lspace","0em"),g.setAttribute("rspace","0em")),[g]}for(var W=[],fe,We=0;We<r.length;We++){var it=Fr(r[We],o);if(it instanceof Pe&&fe instanceof Pe){if(it.type==="mtext"&&fe.type==="mtext"&&it.getAttribute("mathvariant")===fe.getAttribute("mathvariant")){var Mt;(Mt=fe.children).push.apply(Mt,it.children);continue}else if(it.type==="mn"&&fe.type==="mn"){var ar;(ar=fe.children).push.apply(ar,it.children);continue}else if(it.type==="mi"&&it.children.length===1&&fe.type==="mn"){var yr=it.children[0];if(yr instanceof yt&&yr.text==="."){var kr;(kr=fe.children).push.apply(kr,it.children);continue}}else if(fe.type==="mi"&&fe.children.length===1){var rn=fe.children[0];if(rn instanceof yt&&rn.text==="\u0338"&&(it.type==="mo"||it.type==="mi"||it.type==="mn")){var hn=it.children[0];hn instanceof yt&&hn.text.length>0&&(hn.text=hn.text.slice(0,1)+"\u0338"+hn.text.slice(1),W.pop())}}}W.push(it),fe=it}return W},Rr=function(r,o,l){return lr(Or(r,o,l))},Fr=function(r,o){if(!r)return new ht.MathNode("mrow");if(xr[r.type]){var l=xr[r.type](r,o);return l}else throw new ee("Got group of unknown type: '"+r.type+"'")};function un(ie,r,o,l){var g=Or(ie,o),W;g.length===1&&g[0]instanceof Pe&&S.contains(["mrow","mtable"],g[0].type)?W=g[0]:W=new ht.MathNode("mrow",g);var fe=new ht.MathNode("annotation",[new ht.TextNode(r)]);fe.setAttribute("encoding","application/x-tex");var We=new ht.MathNode("semantics",[W,fe]),it=new ht.MathNode("math",[We]);it.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var Mt=l?"katex":"katex-mathml";return v.makeSpan([Mt],[it])}var wn=function(r){return new nn({style:r.displayMode?w.DISPLAY:w.TEXT,maxSize:r.maxSize,minRuleThickness:r.minRuleThickness})},Mr=function(r,o){if(o.displayMode){var l=["katex-display"];o.leqno&&l.push("leqno"),o.fleqn&&l.push("fleqn"),r=v.makeSpan(l,[r])}return r},Lt=function(r,o,l){var g=wn(l),W;if(l.output==="mathml")return un(r,o,g,!0);if(l.output==="html"){var fe=Zr(r,g);W=v.makeSpan(["katex"],[fe])}else{var We=un(r,o,g,!1),it=Zr(r,g);W=v.makeSpan(["katex"],[We,it])}return Mr(W,l)},ya=function(r,o,l){var g=wn(l),W=Zr(r,g),fe=v.makeSpan(["katex"],[W]);return Mr(fe,l)},ha=Lt,Wn={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB"},an=function(r){var o=new ht.MathNode("mo",[new ht.TextNode(Wn[r.substr(1)])]);return o.setAttribute("stretchy","true"),o},dn={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Gr=function(r){return r.type==="ordgroup"?r.body.length:1},la=function(r,o){function l(){var it=4e5,Mt=r.label.substr(1);if(S.contains(["widehat","widecheck","widetilde","utilde"],Mt)){var ar=r,yr=Gr(ar.base),kr,rn,hn;if(yr>5)Mt==="widehat"||Mt==="widecheck"?(kr=420,it=2364,hn=.42,rn=Mt+"4"):(kr=312,it=2340,hn=.34,rn="tilde4");else{var pn=[1,1,2,2,3,3][yr];Mt==="widehat"||Mt==="widecheck"?(it=[0,1062,2364,2364,2364][pn],kr=[0,239,300,360,420][pn],hn=[0,.24,.3,.3,.36,.42][pn],rn=Mt+pn):(it=[0,600,1033,2339,2340][pn],kr=[0,260,286,306,312][pn],hn=[0,.26,.286,.3,.306,.34][pn],rn="tilde"+pn)}var Un=new pt(rn),wa=new Je([Un],{width:"100%",height:hn+"em",viewBox:"0 0 "+it+" "+kr,preserveAspectRatio:"none"});return{span:v.makeSvgSpan([],[wa],o),minWidth:0,height:hn}}else{var Aa=[],u=dn[Mt],e=u[0],t=u[1],d=u[2],O=d/1e3,K=e.length,Oe,Ke;if(K===1){var Ye=u[3];Oe=["hide-tail"],Ke=[Ye]}else if(K===2)Oe=["halfarrow-left","halfarrow-right"],Ke=["xMinYMin","xMaxYMin"];else if(K===3)Oe=["brace-left","brace-center","brace-right"],Ke=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+K+" children.");for(var Xt=0;Xt<K;Xt++){var ur=new pt(e[Xt]),pr=new Je([ur],{width:"400em",height:O+"em",viewBox:"0 0 "+it+" "+d,preserveAspectRatio:Ke[Xt]+" slice"}),Tr=v.makeSvgSpan([Oe[Xt]],[pr],o);if(K===1)return{span:Tr,minWidth:t,height:O};Tr.style.height=O+"em",Aa.push(Tr)}return{span:v.makeSpan(["stretchy"],Aa,o),minWidth:t,height:O}}}var g=l(),W=g.span,fe=g.minWidth,We=g.height;return W.height=We,W.style.height=We+"em",fe>0&&(W.style.minWidth=fe+"em"),W},Gn=function(r,o,l,g){var W,fe=r.height+r.depth+2*l;if(/fbox|color/.test(o)){if(W=v.makeSpan(["stretchy",o],[],g),o==="fbox"){var We=g.color&&g.getColor();We&&(W.style.borderColor=We)}}else{var it=[];/^[bx]cancel$/.test(o)&&it.push(new Ot({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(o)&&it.push(new Ot({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Mt=new Je(it,{width:"100%",height:fe+"em"});W=v.makeSvgSpan([],[Mt],g)}return W.height=fe,W.style.height=fe+"em",W},xa={encloseSpan:Gn,mathMLnode:an,svgSpan:la},_n=function(r,o){var l,g,W=U(r,"supsub"),fe;W?(g=B(W.base,"accent"),l=g.base,W.base=l,fe=Gt(Tt(W,o)),W.base=g):(g=B(r,"accent"),l=g.base);var We=Tt(l,o.havingCrampedStyle()),it=g.isShifty&&S.isCharacterBox(l),Mt=0;if(it){var ar=S.getBaseElem(l),yr=Tt(ar,o.havingCrampedStyle());Mt=_t(yr).skew}var kr=Math.min(We.height,o.fontMetrics().xHeight),rn;if(g.isStretchy)rn=xa.svgSpan(g,o),rn=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:We},{type:"elem",elem:rn,wrapperClasses:["svg-align"],wrapperStyle:Mt>0?{width:"calc(100% - "+2*Mt+"em)",marginLeft:2*Mt+"em"}:void 0}]},o);else{var hn,pn;g.label==="\\vec"?(hn=v.staticSvg("vec",o),pn=v.svgData.vec[1]):(hn=v.makeOrd({mode:g.mode,text:g.label},o,"textord"),hn=_t(hn),hn.italic=0,pn=hn.width),rn=v.makeSpan(["accent-body"],[hn]);var Un=g.label==="\\textcircled";Un&&(rn.classes.push("accent-full"),kr=We.height);var wa=Mt;Un||(wa-=pn/2),rn.style.left=wa+"em",g.label==="\\textcircled"&&(rn.style.top=".2em"),rn=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:We},{type:"kern",size:-kr},{type:"elem",elem:rn}]},o)}var Aa=v.makeSpan(["mord","accent"],[rn],o);return fe?(fe.children[0]=Aa,fe.height=Math.max(Aa.height,fe.height),fe.classes[0]="mord",fe):Aa},ca=function(r,o){var l=r.isStretchy?xa.mathMLnode(r.label):new ht.MathNode("mo",[Yt(r.label,r.mode)]),g=new ht.MathNode("mover",[Fr(r.base,o),l]);return g.setAttribute("accent","true"),g},Ra=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(ie){return"\\"+ie}).join("|"));Qt({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(r,o){var l=o[0],g=!Ra.test(r.funcName),W=!g||r.funcName==="\\widehat"||r.funcName==="\\widetilde"||r.funcName==="\\widecheck";return{type:"accent",mode:r.parser.mode,label:r.funcName,isStretchy:g,isShifty:W,base:l}},htmlBuilder:_n,mathmlBuilder:ca}),Qt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(r,o){var l=o[0];return{type:"accent",mode:r.parser.mode,label:r.funcName,isStretchy:!1,isShifty:!0,base:l}},htmlBuilder:_n,mathmlBuilder:ca}),Qt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(r,o){var l=r.parser,g=r.funcName,W=o[0];return{type:"accentUnder",mode:l.mode,label:g,base:W}},htmlBuilder:function(r,o){var l=Tt(r.base,o),g=xa.svgSpan(r,o),W=r.label==="\\utilde"?.12:0,fe=v.makeVList({positionType:"bottom",positionData:g.height+W,children:[{type:"elem",elem:g,wrapperClasses:["svg-align"]},{type:"kern",size:W},{type:"elem",elem:l}]},o);return v.makeSpan(["mord","accentunder"],[fe],o)},mathmlBuilder:function(r,o){var l=xa.mathMLnode(r.label),g=new ht.MathNode("munder",[Fr(r.base,o),l]);return g.setAttribute("accentunder","true"),g}});var oa=function(r){var o=new ht.MathNode("mpadded",r?[r]:[]);return o.setAttribute("width","+0.6em"),o.setAttribute("lspace","0.3em"),o};Qt({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(r,o,l){var g=r.parser,W=r.funcName;return{type:"xArrow",mode:g.mode,label:W,body:o[0],below:l[0]}},htmlBuilder:function(r,o){var l=o.style,g=o.havingStyle(l.sup()),W=v.wrapFragment(Tt(r.body,g,o),o);W.classes.push("x-arrow-pad");var fe;r.below&&(g=o.havingStyle(l.sub()),fe=v.wrapFragment(Tt(r.below,g,o),o),fe.classes.push("x-arrow-pad"));var We=xa.svgSpan(r,o),it=-o.fontMetrics().axisHeight+.5*We.height,Mt=-o.fontMetrics().axisHeight-.5*We.height-.111;(W.depth>.25||r.label==="\\xleftequilibrium")&&(Mt-=W.depth);var ar;if(fe){var yr=-o.fontMetrics().axisHeight+fe.height+.5*We.height+.111;ar=v.makeVList({positionType:"individualShift",children:[{type:"elem",elem:W,shift:Mt},{type:"elem",elem:We,shift:it},{type:"elem",elem:fe,shift:yr}]},o)}else ar=v.makeVList({positionType:"individualShift",children:[{type:"elem",elem:W,shift:Mt},{type:"elem",elem:We,shift:it}]},o);return ar.children[0].children[0].children[1].classes.push("svg-align"),v.makeSpan(["mrel","x-arrow"],[ar],o)},mathmlBuilder:function(r,o){var l=xa.mathMLnode(r.label),g;if(r.body){var W=oa(Fr(r.body,o));if(r.below){var fe=oa(Fr(r.below,o));g=new ht.MathNode("munderover",[l,fe,W])}else g=new ht.MathNode("mover",[l,W])}else if(r.below){var We=oa(Fr(r.below,o));g=new ht.MathNode("munder",[l,We])}else g=oa(),g=new ht.MathNode("mover",[l,g]);return g}}),Qt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(r,o){for(var l=r.parser,g=B(o[0],"ordgroup"),W=g.body,fe="",We=0;We<W.length;We++){var it=B(W[We],"textord");fe+=it.text}var Mt=parseInt(fe);if(isNaN(Mt))throw new ee("\\@char has non-numeric argument "+fe);return{type:"textord",mode:l.mode,text:String.fromCharCode(Mt)}}});var kn=function(r,o){var l=ze(r.body,o.withColor(r.color),!1);return v.makeFragment(l)},ia=function(r,o){var l=Or(r.body,o.withColor(r.color)),g=new ht.MathNode("mstyle",l);return g.setAttribute("mathcolor",r.color),g};Qt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(r,o){var l=r.parser,g=B(o[0],"color-token").color,W=o[1];return{type:"color",mode:l.mode,color:g,body:Ce(W)}},htmlBuilder:kn,mathmlBuilder:ia}),Qt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(r,o){var l=r.parser,g=r.breakOnTokenText,W=B(o[0],"color-token").color;l.gullet.macros.set("\\current@color",W);var fe=l.parseExpression(!0,g);return{type:"color",mode:l.mode,color:W,body:fe}},htmlBuilder:kn,mathmlBuilder:ia}),Qt({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(r,o,l){var g=r.parser,W=r.funcName,fe=l[0],We=W==="\\cr",it=!1;return We||(g.settings.displayMode&&g.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?it=!1:it=!0),{type:"cr",mode:g.mode,newLine:it,newRow:We,size:fe&&B(fe,"size").value}},htmlBuilder:function(r,o){if(r.newRow)throw new ee("\\cr valid only within a tabular/array environment");var l=v.makeSpan(["mspace"],[],o);return r.newLine&&(l.classes.push("newline"),r.size&&(l.style.marginTop=On(r.size,o)+"em")),l},mathmlBuilder:function(r,o){var l=new ht.MathNode("mspace");return r.newLine&&(l.setAttribute("linebreak","newline"),r.size&&l.setAttribute("height",On(r.size,o)+"em")),l}});var Rn=function(r,o,l){var g=Ar.math[r]&&Ar.math[r].replace,W=Ht(g||r,o,l);if(!W)throw new Error("Unsupported symbol "+r+" and font size "+o+".");return W},Bn=function(r,o,l,g){var W=l.havingBaseStyle(o),fe=v.makeSpan(g.concat(W.sizingClasses(l)),[r],l),We=W.sizeMultiplier/l.sizeMultiplier;return fe.height*=We,fe.depth*=We,fe.maxFontSize=W.sizeMultiplier,fe},Yn=function(r,o,l){var g=o.havingBaseStyle(l),W=(1-o.sizeMultiplier/g.sizeMultiplier)*o.fontMetrics().axisHeight;r.classes.push("delimcenter"),r.style.top=W+"em",r.height-=W,r.depth+=W},Qr=function(r,o,l,g,W,fe){var We=v.makeSymbol(r,"Main-Regular",W,g),it=Bn(We,o,g,fe);return l&&Yn(it,g,o),it},mn=function(r,o,l,g){return v.makeSymbol(r,"Size"+o+"-Regular",l,g)},ua=function(r,o,l,g,W,fe){var We=mn(r,o,W,g),it=Bn(v.makeSpan(["delimsizing","size"+o],[We],g),w.TEXT,g,fe);return l&&Yn(it,g,w.TEXT),it},En=function(r,o,l){var g;o==="Size1-Regular"?g="delim-size1":g="delim-size4";var W=v.makeSpan(["delimsizinginner",g],[v.makeSpan([],[v.makeSymbol(r,o,l)])]);return{type:"elem",elem:W}},fa={type:"kern",size:-.005},Vn=function(r,o,l,g,W,fe){var We,it,Mt,ar;We=Mt=ar=r,it=null;var yr="Size1-Regular";r==="\\uparrow"?Mt=ar="\u23D0":r==="\\Uparrow"?Mt=ar="\u2016":r==="\\downarrow"?We=Mt="\u23D0":r==="\\Downarrow"?We=Mt="\u2016":r==="\\updownarrow"?(We="\\uparrow",Mt="\u23D0",ar="\\downarrow"):r==="\\Updownarrow"?(We="\\Uparrow",Mt="\u2016",ar="\\Downarrow"):r==="["||r==="\\lbrack"?(We="\u23A1",Mt="\u23A2",ar="\u23A3",yr="Size4-Regular"):r==="]"||r==="\\rbrack"?(We="\u23A4",Mt="\u23A5",ar="\u23A6",yr="Size4-Regular"):r==="\\lfloor"||r==="\u230A"?(Mt=We="\u23A2",ar="\u23A3",yr="Size4-Regular"):r==="\\lceil"||r==="\u2308"?(We="\u23A1",Mt=ar="\u23A2",yr="Size4-Regular"):r==="\\rfloor"||r==="\u230B"?(Mt=We="\u23A5",ar="\u23A6",yr="Size4-Regular"):r==="\\rceil"||r==="\u2309"?(We="\u23A4",Mt=ar="\u23A5",yr="Size4-Regular"):r==="("||r==="\\lparen"?(We="\u239B",Mt="\u239C",ar="\u239D",yr="Size4-Regular"):r===")"||r==="\\rparen"?(We="\u239E",Mt="\u239F",ar="\u23A0",yr="Size4-Regular"):r==="\\{"||r==="\\lbrace"?(We="\u23A7",it="\u23A8",ar="\u23A9",Mt="\u23AA",yr="Size4-Regular"):r==="\\}"||r==="\\rbrace"?(We="\u23AB",it="\u23AC",ar="\u23AD",Mt="\u23AA",yr="Size4-Regular"):r==="\\lgroup"||r==="\u27EE"?(We="\u23A7",ar="\u23A9",Mt="\u23AA",yr="Size4-Regular"):r==="\\rgroup"||r==="\u27EF"?(We="\u23AB",ar="\u23AD",Mt="\u23AA",yr="Size4-Regular"):r==="\\lmoustache"||r==="\u23B0"?(We="\u23A7",ar="\u23AD",Mt="\u23AA",yr="Size4-Regular"):(r==="\\rmoustache"||r==="\u23B1")&&(We="\u23AB",ar="\u23A9",Mt="\u23AA",yr="Size4-Regular");var kr=Rn(We,yr,W),rn=kr.height+kr.depth,hn=Rn(Mt,yr,W),pn=hn.height+hn.depth,Un=Rn(ar,yr,W),wa=Un.height+Un.depth,Aa=0,u=1;if(it!==null){var e=Rn(it,yr,W);Aa=e.height+e.depth,u=2}var t=rn+wa+Aa,d=Math.max(0,Math.ceil((o-t)/(u*pn))),O=t+d*u*pn,K=g.fontMetrics().axisHeight;l&&(K*=g.sizeMultiplier);var Oe=O/2-K,Ke=(d+1)*.005-pn,Ye=[];if(Ye.push(En(ar,yr,W)),it===null)for(var Xt=0;Xt<d;Xt++)Ye.push(fa),Ye.push(En(Mt,yr,W));else{for(var ur=0;ur<d;ur++)Ye.push(fa),Ye.push(En(Mt,yr,W));Ye.push({type:"kern",size:Ke}),Ye.push(En(Mt,yr,W)),Ye.push(fa),Ye.push(En(it,yr,W));for(var pr=0;pr<d;pr++)Ye.push(fa),Ye.push(En(Mt,yr,W))}Ye.push({type:"kern",size:Ke}),Ye.push(En(Mt,yr,W)),Ye.push(fa),Ye.push(En(We,yr,W));var Tr=g.havingBaseStyle(w.TEXT),Wr=v.makeVList({positionType:"bottom",positionData:Oe,children:Ye},Tr);return Bn(v.makeSpan(["delimsizing","mult"],[Wr],Tr),w.TEXT,g,fe)},Wa=80,qa=.08,Cn=function(r,o,l,g,W){var fe=wt(r,g,l),We=new pt(r,fe),it=new Je([We],{width:"400em",height:o+"em",viewBox:"0 0 400000 "+l,preserveAspectRatio:"xMinYMin slice"});return v.makeSvgSpan(["hide-tail"],[it],W)},jn=function(r,o){var l=o.havingBaseSizing(),g=Ma("\\surd",r*l.sizeMultiplier,Na,l),W=l.sizeMultiplier,fe=Math.max(0,o.minRuleThickness-o.fontMetrics().sqrtRuleThickness),We,it=0,Mt=0,ar=0,yr;return g.type==="small"?(ar=1e3+1e3*fe+Wa,r<1?W=1:r<1.4&&(W=.7),it=(1+fe+qa)/W,Mt=(1+fe)/W,We=Cn("sqrtMain",it,ar,fe,o),We.style.minWidth="0.853em",yr=.833/W):g.type==="large"?(ar=(1e3+Wa)*po[g.size],Mt=(po[g.size]+fe)/W,it=(po[g.size]+fe+qa)/W,We=Cn("sqrtSize"+g.size,it,ar,fe,o),We.style.minWidth="1.02em",yr=1/W):(it=r+fe+qa,Mt=r+fe,ar=Math.floor(1e3*r+fe)+Wa,We=Cn("sqrtTall",it,ar,fe,o),We.style.minWidth="0.742em",yr=1.056),We.height=Mt,We.style.height=it+"em",{span:We,advanceWidth:yr,ruleWidth:(o.fontMetrics().sqrtRuleThickness+fe)*W}},ma=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Qa=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],_a=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],po=[0,1.2,1.8,2.4,3],go=function(r,o,l,g,W){if(r==="<"||r==="\\lt"||r==="\u27E8"?r="\\langle":(r===">"||r==="\\gt"||r==="\u27E9")&&(r="\\rangle"),S.contains(ma,r)||S.contains(_a,r))return ua(r,o,!1,l,g,W);if(S.contains(Qa,r))return Vn(r,po[o],!1,l,g,W);throw new ee("Illegal delimiter: '"+r+"'")},pa=[{type:"small",style:w.SCRIPTSCRIPT},{type:"small",style:w.SCRIPT},{type:"small",style:w.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],No=[{type:"small",style:w.SCRIPTSCRIPT},{type:"small",style:w.SCRIPT},{type:"small",style:w.TEXT},{type:"stack"}],Na=[{type:"small",style:w.SCRIPTSCRIPT},{type:"small",style:w.SCRIPT},{type:"small",style:w.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],za=function(r){if(r.type==="small")return"Main-Regular";if(r.type==="large")return"Size"+r.size+"-Regular";if(r.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+r.type+"' here.")},Ma=function(r,o,l,g){for(var W=Math.min(2,3-g.style.size),fe=W;fe<l.length&&l[fe].type!=="stack";fe++){var We=Rn(r,za(l[fe]),"math"),it=We.height+We.depth;if(l[fe].type==="small"){var Mt=g.havingBaseStyle(l[fe].style);it*=Mt.sizeMultiplier}if(it>o)return l[fe]}return l[l.length-1]},Da=function(r,o,l,g,W,fe){r==="<"||r==="\\lt"||r==="\u27E8"?r="\\langle":(r===">"||r==="\\gt"||r==="\u27E9")&&(r="\\rangle");var We;S.contains(_a,r)?We=pa:S.contains(ma,r)?We=Na:We=No;var it=Ma(r,o,We,g);return it.type==="small"?Qr(r,it.style,l,g,W,fe):it.type==="large"?ua(r,it.size,l,g,W,fe):Vn(r,o,l,g,W,fe)},Ua=function(r,o,l,g,W,fe){var We=g.fontMetrics().axisHeight*g.sizeMultiplier,it=901,Mt=5/g.fontMetrics().ptPerEm,ar=Math.max(o-We,l+We),yr=Math.max(ar/500*it,2*ar-Mt);return Da(r,yr,!0,g,W,fe)},ba={sqrtImage:jn,sizedDelim:go,customSizedDelim:Da,leftRightDelim:Ua},Ya={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},ka=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Ja(ie,r){var o=It(ie);if(o&&S.contains(ka,o.text))return o;throw new ee("Invalid delimiter: '"+(o?o.text:JSON.stringify(ie))+"' after '"+r.funcName+"'",ie)}Qt({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(r,o){var l=Ja(o[0],r);return{type:"delimsizing",mode:r.parser.mode,size:Ya[r.funcName].size,mclass:Ya[r.funcName].mclass,delim:l.text}},htmlBuilder:function(r,o){return r.delim==="."?v.makeSpan([r.mclass]):ba.sizedDelim(r.delim,r.size,o,r.mode,[r.mclass])},mathmlBuilder:function(r){var o=[];r.delim!=="."&&o.push(Yt(r.delim,r.mode));var l=new ht.MathNode("mo",o);return r.mclass==="mopen"||r.mclass==="mclose"?l.setAttribute("fence","true"):l.setAttribute("fence","false"),l}});function io(ie){if(!ie.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Qt({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(r,o){var l=r.parser.gullet.macros.get("\\current@color");if(l&&typeof l!="string")throw new ee("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:r.parser.mode,delim:Ja(o[0],r).text,color:l}}}),Qt({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(r,o){var l=Ja(o[0],r),g=r.parser;++g.leftrightDepth;var W=g.parseExpression(!1);--g.leftrightDepth,g.expect("\\right",!1);var fe=B(g.parseFunction(),"leftright-right");return{type:"leftright",mode:g.mode,body:W,left:l.text,right:fe.delim,rightColor:fe.color}},htmlBuilder:function(r,o){io(r);for(var l=ze(r.body,o,!0,["mopen","mclose"]),g=0,W=0,fe=!1,We=0;We<l.length;We++)l[We].isMiddle?fe=!0:(g=Math.max(l[We].height,g),W=Math.max(l[We].depth,W));g*=o.sizeMultiplier,W*=o.sizeMultiplier;var it;if(r.left==="."?it=Jt(o,["mopen"]):it=ba.leftRightDelim(r.left,g,W,o,r.mode,["mopen"]),l.unshift(it),fe)for(var Mt=1;Mt<l.length;Mt++){var ar=l[Mt],yr=ar.isMiddle;yr&&(l[Mt]=ba.leftRightDelim(yr.delim,g,W,yr.options,r.mode,[]))}var kr;if(r.right===".")kr=Jt(o,["mclose"]);else{var rn=r.rightColor?o.withColor(r.rightColor):o;kr=ba.leftRightDelim(r.right,g,W,rn,r.mode,["mclose"])}return l.push(kr),v.makeSpan(["minner"],l,o)},mathmlBuilder:function(r,o){io(r);var l=Or(r.body,o);if(r.left!=="."){var g=new ht.MathNode("mo",[Yt(r.left,r.mode)]);g.setAttribute("fence","true"),l.unshift(g)}if(r.right!=="."){var W=new ht.MathNode("mo",[Yt(r.right,r.mode)]);W.setAttribute("fence","true"),r.rightColor&&W.setAttribute("mathcolor",r.rightColor),l.push(W)}return lr(l)}}),Qt({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(r,o){var l=Ja(o[0],r);if(!r.parser.leftrightDepth)throw new ee("\\middle without preceding \\left",l);return{type:"middle",mode:r.parser.mode,delim:l.text}},htmlBuilder:function(r,o){var l;if(r.delim===".")l=Jt(o,[]);else{l=ba.sizedDelim(r.delim,1,o,r.mode,[]);var g={delim:r.delim,options:o};l.isMiddle=g}return l},mathmlBuilder:function(r,o){var l=r.delim==="\\vert"||r.delim==="|"?Yt("|","text"):Yt(r.delim,r.mode),g=new ht.MathNode("mo",[l]);return g.setAttribute("fence","true"),g.setAttribute("lspace","0.05em"),g.setAttribute("rspace","0.05em"),g}});var ho=function(r,o){var l=v.wrapFragment(Tt(r.body,o),o),g=r.label.substr(1),W=o.sizeMultiplier,fe,We=0,it=S.isCharacterBox(r.body);if(g==="sout")fe=v.makeSpan(["stretchy","sout"]),fe.height=o.fontMetrics().defaultRuleThickness/W,We=-.5*o.fontMetrics().xHeight;else{/cancel/.test(g)?it||l.classes.push("cancel-pad"):l.classes.push("boxpad");var Mt=0,ar=0;/box/.test(g)?(ar=Math.max(o.fontMetrics().fboxrule,o.minRuleThickness),Mt=o.fontMetrics().fboxsep+(g==="colorbox"?0:ar)):Mt=it?.2:0,fe=xa.encloseSpan(l,g,Mt,o),/fbox|boxed|fcolorbox/.test(g)&&(fe.style.borderStyle="solid",fe.style.borderWidth=ar+"em"),We=l.depth+Mt,r.backgroundColor&&(fe.style.backgroundColor=r.backgroundColor,r.borderColor&&(fe.style.borderColor=r.borderColor))}var yr;return r.backgroundColor?yr=v.makeVList({positionType:"individualShift",children:[{type:"elem",elem:fe,shift:We},{type:"elem",elem:l,shift:0}]},o):yr=v.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:fe,shift:We,wrapperClasses:/cancel/.test(g)?["svg-align"]:[]}]},o),/cancel/.test(g)&&(yr.height=l.height,yr.depth=l.depth),/cancel/.test(g)&&!it?v.makeSpan(["mord","cancel-lap"],[yr],o):v.makeSpan(["mord"],[yr],o)},Mo=function(r,o){var l=0,g=new ht.MathNode(r.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Fr(r.body,o)]);switch(r.label){case"\\cancel":g.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":g.setAttribute("notation","downdiagonalstrike");break;case"\\sout":g.setAttribute("notation","horizontalstrike");break;case"\\fbox":g.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(l=o.fontMetrics().fboxsep*o.fontMetrics().ptPerEm,g.setAttribute("width","+"+2*l+"pt"),g.setAttribute("height","+"+2*l+"pt"),g.setAttribute("lspace",l+"pt"),g.setAttribute("voffset",l+"pt"),r.label==="\\fcolorbox"){var W=Math.max(o.fontMetrics().fboxrule,o.minRuleThickness);g.setAttribute("style","border: "+W+"em solid "+String(r.borderColor))}break;case"\\xcancel":g.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return r.backgroundColor&&g.setAttribute("mathbackground",r.backgroundColor),g};Qt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(r,o,l){var g=r.parser,W=r.funcName,fe=B(o[0],"color-token").color,We=o[1];return{type:"enclose",mode:g.mode,label:W,backgroundColor:fe,body:We}},htmlBuilder:ho,mathmlBuilder:Mo}),Qt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(r,o,l){var g=r.parser,W=r.funcName,fe=B(o[0],"color-token").color,We=B(o[1],"color-token").color,it=o[2];return{type:"enclose",mode:g.mode,label:W,backgroundColor:We,borderColor:fe,body:it}},htmlBuilder:ho,mathmlBuilder:Mo}),Qt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(r,o){var l=r.parser;return{type:"enclose",mode:l.mode,label:"\\fbox",body:o[0]}}}),Qt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(r,o,l){var g=r.parser,W=r.funcName,fe=o[0];return{type:"enclose",mode:g.mode,label:W,body:fe}},htmlBuilder:ho,mathmlBuilder:Mo});var Bo={};function La(ie){for(var r=ie.type,o=ie.names,l=ie.props,g=ie.handler,W=ie.htmlBuilder,fe=ie.mathmlBuilder,We={type:r,numArgs:l.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:g},it=0;it<o.length;++it)Bo[o[it]]=We;W&&(nr[r]=W),fe&&(xr[r]=fe)}function Ko(ie){var r=[];ie.consumeSpaces();for(var o=ie.fetch().text;o==="\\hline"||o==="\\hdashline";)ie.consume(),r.push(o==="\\hdashline"),ie.consumeSpaces(),o=ie.fetch().text;return r}function vo(ie,r,o){var l=r.hskipBeforeAndAfter,g=r.addJot,W=r.cols,fe=r.arraystretch,We=r.colSeparationType;if(ie.gullet.beginGroup(),ie.gullet.macros.set("\\\\","\\cr"),!fe){var it=ie.gullet.expandMacroAsText("\\arraystretch");if(it==null)fe=1;else if(fe=parseFloat(it),!fe||fe<0)throw new ee("Invalid \\arraystretch: "+it)}ie.gullet.beginGroup();var Mt=[],ar=[Mt],yr=[],kr=[];for(kr.push(Ko(ie));;){var rn=ie.parseExpression(!1,"\\cr");ie.gullet.endGroup(),ie.gullet.beginGroup(),rn={type:"ordgroup",mode:ie.mode,body:rn},o&&(rn={type:"styling",mode:ie.mode,style:o,body:[rn]}),Mt.push(rn);var hn=ie.fetch().text;if(hn==="&")ie.consume();else if(hn==="\\end"){Mt.length===1&&rn.type==="styling"&&rn.body[0].body.length===0&&ar.pop(),kr.length<ar.length+1&&kr.push([]);break}else if(hn==="\\cr"){var pn=B(ie.parseFunction(),"cr");yr.push(pn.size),kr.push(Ko(ie)),Mt=[],ar.push(Mt)}else throw new ee("Expected & or \\\\ or \\cr or \\end",ie.nextToken)}return ie.gullet.endGroup(),ie.gullet.endGroup(),{type:"array",mode:ie.mode,addJot:g,arraystretch:fe,body:ar,cols:W,rowGaps:yr,hskipBeforeAndAfter:l,hLinesBeforeRow:kr,colSeparationType:We}}function Lo(ie){return ie.substr(0,1)==="d"?"display":"text"}var Co=function(r,o){var l,g,W=r.body.length,fe=r.hLinesBeforeRow,We=0,it=new Array(W),Mt=[],ar=Math.max(o.fontMetrics().arrayRuleWidth,o.minRuleThickness),yr=1/o.fontMetrics().ptPerEm,kr=5*yr;if(r.colSeparationType&&r.colSeparationType==="small"){var rn=o.havingStyle(w.SCRIPT).sizeMultiplier;kr=.2778*(rn/o.sizeMultiplier)}var hn=12*yr,pn=3*yr,Un=r.arraystretch*hn,wa=.7*Un,Aa=.3*Un,u=0;function e(mo){for(var ri=0;ri<mo.length;++ri)ri>0&&(u+=.25),Mt.push({pos:u,isDashed:mo[ri]})}for(e(fe[0]),l=0;l<r.body.length;++l){var t=r.body[l],d=wa,O=Aa;We<t.length&&(We=t.length);var K=new Array(t.length);for(g=0;g<t.length;++g){var Oe=Tt(t[g],o);O<Oe.depth&&(O=Oe.depth),d<Oe.height&&(d=Oe.height),K[g]=Oe}var Ke=r.rowGaps[l],Ye=0;Ke&&(Ye=On(Ke,o),Ye>0&&(Ye+=Aa,O<Ye&&(O=Ye),Ye=0)),r.addJot&&(O+=pn),K.height=d,K.depth=O,u+=d,K.pos=u,u+=O+Ye,it[l]=K,e(fe[l+1])}var Xt=u/2+o.fontMetrics().axisHeight,ur=r.cols||[],pr=[],Tr,Wr;for(g=0,Wr=0;g<We||Wr<ur.length;++g,++Wr){for(var ln=ur[Wr]||{},In=!0;ln.type==="separator";){if(In||(Tr=v.makeSpan(["arraycolsep"],[]),Tr.style.width=o.fontMetrics().doubleRuleSep+"em",pr.push(Tr)),ln.separator==="|"||ln.separator===":"){var Hn=ln.separator==="|"?"solid":"dashed",Nn=v.makeSpan(["vertical-separator"],[],o);Nn.style.height=u+"em",Nn.style.borderRightWidth=ar+"em",Nn.style.borderRightStyle=Hn,Nn.style.margin="0 -"+ar/2+"em",Nn.style.verticalAlign=-(u-Xt)+"em",pr.push(Nn)}else throw new ee("Invalid separator type: "+ln.separator);Wr++,ln=ur[Wr]||{},In=!1}if(!(g>=We)){var Fn=void 0;(g>0||r.hskipBeforeAndAfter)&&(Fn=S.deflt(ln.pregap,kr),Fn!==0&&(Tr=v.makeSpan(["arraycolsep"],[]),Tr.style.width=Fn+"em",pr.push(Tr)));var Oa=[];for(l=0;l<W;++l){var Ba=it[l],Ia=Ba[g];if(Ia){var Ka=Ba.pos-Xt;Ia.depth=Ba.depth,Ia.height=Ba.height,Oa.push({type:"elem",elem:Ia,shift:Ka})}}Oa=v.makeVList({positionType:"individualShift",children:Oa},o),Oa=v.makeSpan(["col-align-"+(ln.align||"c")],[Oa]),pr.push(Oa),(g<We-1||r.hskipBeforeAndAfter)&&(Fn=S.deflt(ln.postgap,kr),Fn!==0&&(Tr=v.makeSpan(["arraycolsep"],[]),Tr.style.width=Fn+"em",pr.push(Tr)))}}if(it=v.makeSpan(["mtable"],pr),Mt.length>0){for(var Ga=v.makeLineSpan("hline",o,ar),fo=v.makeLineSpan("hdashline",o,ar),Xa=[{type:"elem",elem:it,shift:0}];Mt.length>0;){var Go=Mt.pop(),$o=Go.pos-Xt;Go.isDashed?Xa.push({type:"elem",elem:fo,shift:$o}):Xa.push({type:"elem",elem:Ga,shift:$o})}it=v.makeVList({positionType:"individualShift",children:Xa},o)}return v.makeSpan(["mord"],[it],o)},Si={c:"center ",l:"left ",r:"right "},Vo=function(r,o){var l=new ht.MathNode("mtable",r.body.map(function(u){return new ht.MathNode("mtr",u.map(function(e){return new ht.MathNode("mtd",[Fr(e,o)])}))})),g=r.arraystretch===.5?.1:.16+r.arraystretch-1+(r.addJot?.09:0);l.setAttribute("rowspacing",g+"em");var W="",fe="";if(r.cols){var We=r.cols,it="",Mt=!1,ar=0,yr=We.length;We[0].type==="separator"&&(W+="top ",ar=1),We[We.length-1].type==="separator"&&(W+="bottom ",yr-=1);for(var kr=ar;kr<yr;kr++)We[kr].type==="align"?(fe+=Si[We[kr].align],Mt&&(it+="none "),Mt=!0):We[kr].type==="separator"&&Mt&&(it+=We[kr].separator==="|"?"solid ":"dashed ",Mt=!1);l.setAttribute("columnalign",fe.trim()),/[sd]/.test(it)&&l.setAttribute("columnlines",it.trim())}if(r.colSeparationType==="align"){for(var rn=r.cols||[],hn="",pn=1;pn<rn.length;pn++)hn+=pn%2?"0em ":"1em ";l.setAttribute("columnspacing",hn.trim())}else r.colSeparationType==="alignat"?l.setAttribute("columnspacing","0em"):r.colSeparationType==="small"?l.setAttribute("columnspacing","0.2778em"):l.setAttribute("columnspacing","1em");var Un="",wa=r.hLinesBeforeRow;W+=wa[0].length>0?"left ":"",W+=wa[wa.length-1].length>0?"right ":"";for(var Aa=1;Aa<wa.length-1;Aa++)Un+=wa[Aa].length===0?"none ":wa[Aa][0]?"dashed ":"solid ";return/[sd]/.test(Un)&&l.setAttribute("rowlines",Un.trim()),W!==""&&(l=new ht.MathNode("menclose",[l]),l.setAttribute("notation",W.trim())),r.arraystretch&&r.arraystretch<1&&(l=new ht.MathNode("mstyle",[l]),l.setAttribute("scriptlevel","1")),l},ai=function(r,o){var l=[],g=vo(r.parser,{cols:l,addJot:!0},"display"),W,fe=0,We={type:"ordgroup",mode:r.mode,body:[]},it=U(o[0],"ordgroup");if(it){for(var Mt="",ar=0;ar<it.body.length;ar++){var yr=B(it.body[ar],"textord");Mt+=yr.text}W=Number(Mt),fe=W*2}var kr=!fe;g.body.forEach(function(Un){for(var wa=1;wa<Un.length;wa+=2){var Aa=B(Un[wa],"styling"),u=B(Aa.body[0],"ordgroup");u.body.unshift(We)}if(kr)fe<Un.length&&(fe=Un.length);else{var e=Un.length/2;if(W<e)throw new ee("Too many math in a row: "+("expected "+W+", but got "+e),Un[0])}});for(var rn=0;rn<fe;++rn){var hn="r",pn=0;rn%2===1?hn="l":rn>0&&kr&&(pn=1),l[rn]={type:"align",align:hn,pregap:pn,postgap:0}}return g.colSeparationType=kr?"align":"alignat",g};La({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(r,o){var l=It(o[0]),g=l?[o[0]]:B(o[0],"ordgroup").body,W=g.map(function(We){var it=lt(We),Mt=it.text;if("lcr".indexOf(Mt)!==-1)return{type:"align",align:Mt};if(Mt==="|")return{type:"separator",separator:"|"};if(Mt===":")return{type:"separator",separator:":"};throw new ee("Unknown column alignment: "+Mt,We)}),fe={cols:W,hskipBeforeAndAfter:!0};return vo(r.parser,fe,Lo(r.envName))},htmlBuilder:Co,mathmlBuilder:Vo}),La({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(r){var o={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[r.envName],l={hskipBeforeAndAfter:!1},g=vo(r.parser,l,Lo(r.envName));return o?{type:"leftright",mode:r.mode,body:[g],left:o[0],right:o[1],rightColor:void 0}:g},htmlBuilder:Co,mathmlBuilder:Vo}),La({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(r){var o={arraystretch:.5},l=vo(r.parser,o,"script");return l.colSeparationType="small",l},htmlBuilder:Co,mathmlBuilder:Vo}),La({type:"array",names:["subarray"],props:{numArgs:1},handler:function(r,o){var l=It(o[0]),g=l?[o[0]]:B(o[0],"ordgroup").body,W=g.map(function(We){var it=lt(We),Mt=it.text;if("lc".indexOf(Mt)!==-1)return{type:"align",align:Mt};throw new ee("Unknown column alignment: "+Mt,We)});if(W.length>1)throw new ee("{subarray} can contain only one column");var fe={cols:W,hskipBeforeAndAfter:!1,arraystretch:.5};if(fe=vo(r.parser,fe,"script"),fe.body[0].length>1)throw new ee("{subarray} can contain only one column");return fe},htmlBuilder:Co,mathmlBuilder:Vo}),La({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(r){var o={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},l=vo(r.parser,o,Lo(r.envName));return{type:"leftright",mode:r.mode,body:[l],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Co,mathmlBuilder:Vo}),La({type:"array",names:["aligned"],props:{numArgs:0},handler:ai,htmlBuilder:Co,mathmlBuilder:Vo}),La({type:"array",names:["gathered"],props:{numArgs:0},handler:function(r){var o={cols:[{type:"align",align:"c"}],addJot:!0};return vo(r.parser,o,"display")},htmlBuilder:Co,mathmlBuilder:Vo}),La({type:"array",names:["alignedat"],props:{numArgs:1},handler:ai,htmlBuilder:Co,mathmlBuilder:Vo}),Qt({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(r,o){throw new ee(r.funcName+" valid only within array environment")}});var $i=Bo,Ho=$i;Qt({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(r,o){var l=r.parser,g=r.funcName,W=o[0];if(W.type!=="ordgroup")throw new ee("Invalid environment name",W);for(var fe="",We=0;We<W.body.length;++We)fe+=B(W.body[We],"textord").text;if(g==="\\begin"){if(!Ho.hasOwnProperty(fe))throw new ee("No such environment: "+fe,W);var it=Ho[fe],Mt=l.parseArguments("\\begin{"+fe+"}",it),ar=Mt.args,yr=Mt.optArgs,kr={mode:l.mode,envName:fe,parser:l},rn=it.handler(kr,ar,yr);l.expect("\\end",!1);var hn=l.nextToken,pn=B(l.parseFunction(),"environment");if(pn.name!==fe)throw new ee("Mismatch: \\begin{"+fe+"} matched by \\end{"+pn.name+"}",hn);return rn}return{type:"environment",mode:l.mode,name:fe,nameGroup:W}}});var Xo=v.makeSpan;function Hi(ie,r){var o=ze(ie.body,r,!0);return Xo([ie.mclass],o,r)}function wi(ie,r){var o,l=Or(ie.body,r);return ie.mclass==="minner"?ht.newDocumentFragment(l):(ie.mclass==="mord"?ie.isCharacterBox?(o=l[0],o.type="mi"):o=new ht.MathNode("mi",l):(ie.isCharacterBox?(o=l[0],o.type="mo"):o=new ht.MathNode("mo",l),ie.mclass==="mbin"?(o.attributes.lspace="0.22em",o.attributes.rspace="0.22em"):ie.mclass==="mpunct"?(o.attributes.lspace="0em",o.attributes.rspace="0.17em"):(ie.mclass==="mopen"||ie.mclass==="mclose")&&(o.attributes.lspace="0em",o.attributes.rspace="0em")),o)}Qt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(r,o){var l=r.parser,g=r.funcName,W=o[0];return{type:"mclass",mode:l.mode,mclass:"m"+g.substr(5),body:Ce(W),isCharacterBox:S.isCharacterBox(W)}},htmlBuilder:Hi,mathmlBuilder:wi});var Ci=function(r){var o=r.type==="ordgroup"&&r.body.length?r.body[0]:r;return o.type==="atom"&&(o.family==="bin"||o.family==="rel")?"m"+o.family:"mord"};Qt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(r,o){var l=r.parser;return{type:"mclass",mode:l.mode,mclass:Ci(o[0]),body:[o[1]],isCharacterBox:S.isCharacterBox(o[1])}}}),Qt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(r,o){var l=r.parser,g=r.funcName,W=o[1],fe=o[0],We;g!=="\\stackrel"?We=Ci(W):We="mrel";var it={type:"op",mode:W.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:g!=="\\stackrel",body:Ce(W)},Mt={type:"supsub",mode:fe.mode,base:it,sup:g==="\\underset"?null:fe,sub:g==="\\underset"?fe:null};return{type:"mclass",mode:l.mode,mclass:We,body:[Mt],isCharacterBox:S.isCharacterBox(Mt)}},htmlBuilder:Hi,mathmlBuilder:wi});var Oi=function(r,o){var l=r.font,g=o.withFont(l);return Tt(r.body,g)},Ai=function(r,o){var l=r.font,g=o.withFont(l);return Fr(r.body,g)},Pa={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Qt({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(r,o){var l=r.parser,g=r.funcName,W=o[0],fe=g;return fe in Pa&&(fe=Pa[fe]),{type:"font",mode:l.mode,font:fe.slice(1),body:W}},htmlBuilder:Oi,mathmlBuilder:Ai}),Qt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(r,o){var l=r.parser,g=o[0],W=S.isCharacterBox(g);return{type:"mclass",mode:l.mode,mclass:Ci(g),body:[{type:"font",mode:l.mode,font:"boldsymbol",body:g}],isCharacterBox:W}}}),Qt({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(r,o){var l=r.parser,g=r.funcName,W=r.breakOnTokenText,fe=l.mode,We=l.parseExpression(!0,W),it="math"+g.slice(1);return{type:"font",mode:fe,font:it,body:{type:"ordgroup",mode:l.mode,body:We}}},htmlBuilder:Oi,mathmlBuilder:Ai});var ja=function(r,o){var l=o;return r==="display"?l=l.id>=w.SCRIPT.id?l.text():w.DISPLAY:r==="text"&&l.size===w.DISPLAY.size?l=w.TEXT:r==="script"?l=w.SCRIPT:r==="scriptscript"&&(l=w.SCRIPTSCRIPT),l},bo=function(r,o){var l=ja(r.size,o.style),g=l.fracNum(),W=l.fracDen(),fe;fe=o.havingStyle(g);var We=Tt(r.numer,fe,o);if(r.continued){var it=8.5/o.fontMetrics().ptPerEm,Mt=3.5/o.fontMetrics().ptPerEm;We.height=We.height<it?it:We.height,We.depth=We.depth<Mt?Mt:We.depth}fe=o.havingStyle(W);var ar=Tt(r.denom,fe,o),yr,kr,rn;r.hasBarLine?(r.barSize?(kr=On(r.barSize,o),yr=v.makeLineSpan("frac-line",o,kr)):yr=v.makeLineSpan("frac-line",o),kr=yr.height,rn=yr.height):(yr=null,kr=0,rn=o.fontMetrics().defaultRuleThickness);var hn,pn,Un;l.size===w.DISPLAY.size||r.size==="display"?(hn=o.fontMetrics().num1,kr>0?pn=3*rn:pn=7*rn,Un=o.fontMetrics().denom1):(kr>0?(hn=o.fontMetrics().num2,pn=rn):(hn=o.fontMetrics().num3,pn=3*rn),Un=o.fontMetrics().denom2);var wa;if(yr){var u=o.fontMetrics().axisHeight;hn-We.depth-(u+.5*kr)<pn&&(hn+=pn-(hn-We.depth-(u+.5*kr))),u-.5*kr-(ar.height-Un)<pn&&(Un+=pn-(u-.5*kr-(ar.height-Un)));var e=-(u-.5*kr);wa=v.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ar,shift:Un},{type:"elem",elem:yr,shift:e},{type:"elem",elem:We,shift:-hn}]},o)}else{var Aa=hn-We.depth-(ar.height-Un);Aa<pn&&(hn+=.5*(pn-Aa),Un+=.5*(pn-Aa)),wa=v.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ar,shift:Un},{type:"elem",elem:We,shift:-hn}]},o)}fe=o.havingStyle(l),wa.height*=fe.sizeMultiplier/o.sizeMultiplier,wa.depth*=fe.sizeMultiplier/o.sizeMultiplier;var t;l.size===w.DISPLAY.size?t=o.fontMetrics().delim1:t=o.fontMetrics().delim2;var d,O;return r.leftDelim==null?d=Jt(o,["mopen"]):d=ba.customSizedDelim(r.leftDelim,t,!0,o.havingStyle(l),r.mode,["mopen"]),r.continued?O=v.makeSpan([]):r.rightDelim==null?O=Jt(o,["mclose"]):O=ba.customSizedDelim(r.rightDelim,t,!0,o.havingStyle(l),r.mode,["mclose"]),v.makeSpan(["mord"].concat(fe.sizingClasses(o)),[d,v.makeSpan(["mfrac"],[wa]),O],o)},Ve=function(r,o){var l=new ht.MathNode("mfrac",[Fr(r.numer,o),Fr(r.denom,o)]);if(!r.hasBarLine)l.setAttribute("linethickness","0px");else if(r.barSize){var g=On(r.barSize,o);l.setAttribute("linethickness",g+"em")}var W=ja(r.size,o.style);if(W.size!==o.style.size){l=new ht.MathNode("mstyle",[l]);var fe=W.size===w.DISPLAY.size?"true":"false";l.setAttribute("displaystyle",fe),l.setAttribute("scriptlevel","0")}if(r.leftDelim!=null||r.rightDelim!=null){var We=[];if(r.leftDelim!=null){var it=new ht.MathNode("mo",[new ht.TextNode(r.leftDelim.replace("\\",""))]);it.setAttribute("fence","true"),We.push(it)}if(We.push(l),r.rightDelim!=null){var Mt=new ht.MathNode("mo",[new ht.TextNode(r.rightDelim.replace("\\",""))]);Mt.setAttribute("fence","true"),We.push(Mt)}return lr(We)}return l};Qt({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(r,o){var l=r.parser,g=r.funcName,W=o[0],fe=o[1],We,it=null,Mt=null,ar="auto";switch(g){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":We=!0;break;case"\\\\atopfrac":We=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":We=!1,it="(",Mt=")";break;case"\\\\bracefrac":We=!1,it="\\{",Mt="\\}";break;case"\\\\brackfrac":We=!1,it="[",Mt="]";break;default:throw new Error("Unrecognized genfrac command")}switch(g){case"\\cfrac":case"\\dfrac":case"\\dbinom":ar="display";break;case"\\tfrac":case"\\tbinom":ar="text";break}return{type:"genfrac",mode:l.mode,continued:g==="\\cfrac",numer:W,denom:fe,hasBarLine:We,leftDelim:it,rightDelim:Mt,size:ar,barSize:null}},htmlBuilder:bo,mathmlBuilder:Ve}),Qt({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(r){var o=r.parser,l=r.funcName,g=r.token,W;switch(l){case"\\over":W="\\frac";break;case"\\choose":W="\\binom";break;case"\\atop":W="\\\\atopfrac";break;case"\\brace":W="\\\\bracefrac";break;case"\\brack":W="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:o.mode,replaceWith:W,token:g}}});var zo=["display","text","script","scriptscript"],Do=function(r){var o=null;return r.length>0&&(o=r,o=o==="."?null:o),o};Qt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(r,o){var l=r.parser,g=o[4],W=o[5],fe=U(o[0],"atom");fe&&(fe=re(o[0],"open"));var We=fe?Do(fe.text):null,it=U(o[1],"atom");it&&(it=re(o[1],"close"));var Mt=it?Do(it.text):null,ar=B(o[2],"size"),yr,kr=null;ar.isBlank?yr=!0:(kr=ar.value,yr=kr.number>0);var rn="auto",hn=U(o[3],"ordgroup");if(hn){if(hn.body.length>0){var pn=B(hn.body[0],"textord");rn=zo[Number(pn.text)]}}else hn=B(o[3],"textord"),rn=zo[Number(hn.text)];return{type:"genfrac",mode:l.mode,numer:g,denom:W,continued:!1,hasBarLine:yr,barSize:kr,leftDelim:We,rightDelim:Mt,size:rn}},htmlBuilder:bo,mathmlBuilder:Ve}),Qt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(r,o){var l=r.parser,g=r.funcName,W=r.token;return{type:"infix",mode:l.mode,replaceWith:"\\\\abovefrac",size:B(o[0],"size").value,token:W}}}),Qt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(r,o){var l=r.parser,g=r.funcName,W=o[0],fe=N(B(o[1],"infix").size),We=o[2],it=fe.number>0;return{type:"genfrac",mode:l.mode,numer:W,denom:We,continued:!1,hasBarLine:it,barSize:fe,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:bo,mathmlBuilder:Ve});var Eo=function(r,o){var l=o.style,g,W,fe=U(r,"supsub");fe?(g=fe.sup?Tt(fe.sup,o.havingStyle(l.sup()),o):Tt(fe.sub,o.havingStyle(l.sub()),o),W=B(fe.base,"horizBrace")):W=B(r,"horizBrace");var We=Tt(W.base,o.havingBaseStyle(w.DISPLAY)),it=xa.svgSpan(W,o),Mt;if(W.isOver?(Mt=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:We},{type:"kern",size:.1},{type:"elem",elem:it}]},o),Mt.children[0].children[0].children[1].classes.push("svg-align")):(Mt=v.makeVList({positionType:"bottom",positionData:We.depth+.1+it.height,children:[{type:"elem",elem:it},{type:"kern",size:.1},{type:"elem",elem:We}]},o),Mt.children[0].children[0].children[0].classes.push("svg-align")),g){var ar=v.makeSpan(["mord",W.isOver?"mover":"munder"],[Mt],o);W.isOver?Mt=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ar},{type:"kern",size:.2},{type:"elem",elem:g}]},o):Mt=v.makeVList({positionType:"bottom",positionData:ar.depth+.2+g.height+g.depth,children:[{type:"elem",elem:g},{type:"kern",size:.2},{type:"elem",elem:ar}]},o)}return v.makeSpan(["mord",W.isOver?"mover":"munder"],[Mt],o)},so=function(r,o){var l=xa.mathMLnode(r.label);return new ht.MathNode(r.isOver?"mover":"munder",[Fr(r.base,o),l])};Qt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(r,o){var l=r.parser,g=r.funcName;return{type:"horizBrace",mode:l.mode,label:g,isOver:/^\\over/.test(g),base:o[0]}},htmlBuilder:Eo,mathmlBuilder:so}),Qt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(r,o){var l=r.parser,g=o[1],W=B(o[0],"url").url;return l.settings.isTrusted({command:"\\href",url:W})?{type:"href",mode:l.mode,href:W,body:Ce(g)}:l.formatUnsupportedCmd("\\href")},htmlBuilder:function(r,o){var l=ze(r.body,o,!1);return v.makeAnchor(r.href,[],l,o)},mathmlBuilder:function(r,o){var l=Rr(r.body,o);return l instanceof Pe||(l=new Pe("mrow",[l])),l.setAttribute("href",r.href),l}}),Qt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(r,o){var l=r.parser,g=B(o[0],"url").url;if(!l.settings.isTrusted({command:"\\url",url:g}))return l.formatUnsupportedCmd("\\url");for(var W=[],fe=0;fe<g.length;fe++){var We=g[fe];We==="~"&&(We="\\textasciitilde"),W.push({type:"textord",mode:"text",text:We})}var it={type:"text",mode:l.mode,font:"\\texttt",body:W};return{type:"href",mode:l.mode,href:g,body:Ce(it)}}}),Qt({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(r,o){var l=r.parser;return{type:"htmlmathml",mode:l.mode,html:Ce(o[0]),mathml:Ce(o[1])}},htmlBuilder:function(r,o){var l=ze(r.html,o,!1);return v.makeFragment(l)},mathmlBuilder:function(r,o){return Rr(r.mathml,o)}});var _o=function(r){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(r))return{number:+r,unit:"bp"};var o=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r);if(!o)throw new ee("Invalid size: '"+r+"' in \\includegraphics");var l={number:+(o[1]+o[2]),unit:o[3]};if(!Pn(l))throw new ee("Invalid unit: '"+l.unit+"' in \\includegraphics.");return l};Qt({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(r,o,l){var g=r.parser,W={number:0,unit:"em"},fe={number:.9,unit:"em"},We={number:0,unit:"em"},it="";if(l[0])for(var Mt=B(l[0],"raw").string,ar=Mt.split(","),yr=0;yr<ar.length;yr++){var kr=ar[yr].split("=");if(kr.length===2){var rn=kr[1].trim();switch(kr[0].trim()){case"alt":it=rn;break;case"width":W=_o(rn);break;case"height":fe=_o(rn);break;case"totalheight":We=_o(rn);break;default:throw new ee("Invalid key: '"+kr[0]+"' in \\includegraphics.")}}}var hn=B(o[0],"url").url;return it===""&&(it=hn,it=it.replace(/^.*[\\/]/,""),it=it.substring(0,it.lastIndexOf("."))),g.settings.isTrusted({command:"\\includegraphics",url:hn})?{type:"includegraphics",mode:g.mode,alt:it,width:W,height:fe,totalheight:We,src:hn}:g.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(r,o){var l=On(r.height,o),g=0;r.totalheight.number>0&&(g=On(r.totalheight,o)-l,g=Number(g.toFixed(2)));var W=0;r.width.number>0&&(W=On(r.width,o));var fe={height:l+g+"em"};W>0&&(fe.width=W+"em"),g>0&&(fe.verticalAlign=-g+"em");var We=new Ie(r.src,r.alt,fe);return We.height=l,We.depth=g,We},mathmlBuilder:function(r,o){var l=new ht.MathNode("mglyph",[]);l.setAttribute("alt",r.alt);var g=On(r.height,o),W=0;if(r.totalheight.number>0&&(W=On(r.totalheight,o)-g,W=W.toFixed(2),l.setAttribute("valign","-"+W+"em")),l.setAttribute("height",g+W+"em"),r.width.number>0){var fe=On(r.width,o);l.setAttribute("width",fe+"em")}return l.setAttribute("src",r.src),l}}),Qt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(r,o){var l=r.parser,g=r.funcName,W=B(o[0],"size");if(l.settings.strict){var fe=g[1]==="m",We=W.value.unit==="mu";fe?(We||l.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" supports only mu units, "+("not "+W.value.unit+" units")),l.mode!=="math"&&l.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" works only in math mode")):We&&l.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" doesn't support mu units")}return{type:"kern",mode:l.mode,dimension:W.value}},htmlBuilder:function(r,o){return v.makeGlue(r.dimension,o)},mathmlBuilder:function(r,o){var l=On(r.dimension,o);return new ht.SpaceNode(l)}}),Qt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(r,o){var l=r.parser,g=r.funcName,W=o[0];return{type:"lap",mode:l.mode,alignment:g.slice(5),body:W}},htmlBuilder:function(r,o){var l;r.alignment==="clap"?(l=v.makeSpan([],[Tt(r.body,o)]),l=v.makeSpan(["inner"],[l],o)):l=v.makeSpan(["inner"],[Tt(r.body,o)]);var g=v.makeSpan(["fix"],[]),W=v.makeSpan([r.alignment],[l,g],o),fe=v.makeSpan(["strut"]);return fe.style.height=W.height+W.depth+"em",fe.style.verticalAlign=-W.depth+"em",W.children.unshift(fe),W=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:W}]},o),v.makeSpan(["mord"],[W],o)},mathmlBuilder:function(r,o){var l=new ht.MathNode("mpadded",[Fr(r.body,o)]);if(r.alignment!=="rlap"){var g=r.alignment==="llap"?"-1":"-0.5";l.setAttribute("lspace",g+"width")}return l.setAttribute("width","0px"),l}}),Qt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(r,o){var l=r.funcName,g=r.parser,W=g.mode;g.switchMode("math");var fe=l==="\\("?"\\)":"$",We=g.parseExpression(!1,fe);return g.expect(fe),g.switchMode(W),{type:"styling",mode:g.mode,style:"text",body:We}}}),Qt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(r,o){throw new ee("Mismatched "+r.funcName)}});var Wo=function(r,o){switch(o.style.size){case w.DISPLAY.size:return r.display;case w.TEXT.size:return r.text;case w.SCRIPT.size:return r.script;case w.SCRIPTSCRIPT.size:return r.scriptscript;default:return r.text}};Qt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(r,o){var l=r.parser;return{type:"mathchoice",mode:l.mode,display:Ce(o[0]),text:Ce(o[1]),script:Ce(o[2]),scriptscript:Ce(o[3])}},htmlBuilder:function(r,o){var l=Wo(r,o),g=ze(l,o,!1);return v.makeFragment(g)},mathmlBuilder:function(r,o){var l=Wo(r,o);return Rr(l,o)}});var Io=function(r,o,l,g,W,fe,We){r=v.makeSpan([],[r]);var it,Mt;if(o){var ar=Tt(o,g.havingStyle(W.sup()),g);Mt={elem:ar,kern:Math.max(g.fontMetrics().bigOpSpacing1,g.fontMetrics().bigOpSpacing3-ar.depth)}}if(l){var yr=Tt(l,g.havingStyle(W.sub()),g);it={elem:yr,kern:Math.max(g.fontMetrics().bigOpSpacing2,g.fontMetrics().bigOpSpacing4-yr.height)}}var kr;if(Mt&&it){var rn=g.fontMetrics().bigOpSpacing5+it.elem.height+it.elem.depth+it.kern+r.depth+We;kr=v.makeVList({positionType:"bottom",positionData:rn,children:[{type:"kern",size:g.fontMetrics().bigOpSpacing5},{type:"elem",elem:it.elem,marginLeft:-fe+"em"},{type:"kern",size:it.kern},{type:"elem",elem:r},{type:"kern",size:Mt.kern},{type:"elem",elem:Mt.elem,marginLeft:fe+"em"},{type:"kern",size:g.fontMetrics().bigOpSpacing5}]},g)}else if(it){var hn=r.height-We;kr=v.makeVList({positionType:"top",positionData:hn,children:[{type:"kern",size:g.fontMetrics().bigOpSpacing5},{type:"elem",elem:it.elem,marginLeft:-fe+"em"},{type:"kern",size:it.kern},{type:"elem",elem:r}]},g)}else if(Mt){var pn=r.depth+We;kr=v.makeVList({positionType:"bottom",positionData:pn,children:[{type:"elem",elem:r},{type:"kern",size:Mt.kern},{type:"elem",elem:Mt.elem,marginLeft:fe+"em"},{type:"kern",size:g.fontMetrics().bigOpSpacing5}]},g)}else return r;return v.makeSpan(["mop","op-limits"],[kr],g)},Yo=["\\smallint"],Pi=function(r,o){var l,g,W=!1,fe,We=U(r,"supsub");We?(l=We.sup,g=We.sub,fe=B(We.base,"op"),W=!0):fe=B(r,"op");var it=o.style,Mt=!1;it.size===w.DISPLAY.size&&fe.symbol&&!S.contains(Yo,fe.name)&&(Mt=!0);var ar;if(fe.symbol){var yr=Mt?"Size2-Regular":"Size1-Regular",kr="";if((fe.name==="\\oiint"||fe.name==="\\oiiint")&&(kr=fe.name.substr(1),fe.name=kr==="oiint"?"\\iint":"\\iiint"),ar=v.makeSymbol(fe.name,yr,"math",o,["mop","op-symbol",Mt?"large-op":"small-op"]),kr.length>0){var rn=ar.italic,hn=v.staticSvg(kr+"Size"+(Mt?"2":"1"),o);ar=v.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ar,shift:0},{type:"elem",elem:hn,shift:Mt?.08:0}]},o),fe.name="\\"+kr,ar.classes.unshift("mop"),ar.italic=rn}}else if(fe.body){var pn=ze(fe.body,o,!0);pn.length===1&&pn[0]instanceof Me?(ar=pn[0],ar.classes[0]="mop"):ar=v.makeSpan(["mop"],v.tryCombineChars(pn),o)}else{for(var Un=[],wa=1;wa<fe.name.length;wa++)Un.push(v.mathsym(fe.name[wa],fe.mode,o));ar=v.makeSpan(["mop"],Un,o)}var Aa=0,u=0;return(ar instanceof Me||fe.name==="\\oiint"||fe.name==="\\oiiint")&&!fe.suppressBaseShift&&(Aa=(ar.height-ar.depth)/2-o.fontMetrics().axisHeight,u=ar.italic),W?Io(ar,l,g,o,it,u,Aa):(Aa&&(ar.style.position="relative",ar.style.top=Aa+"em"),ar)},Wi=function(r,o){var l;if(r.symbol)l=new Pe("mo",[Yt(r.name,r.mode)]),S.contains(Yo,r.name)&&l.setAttribute("largeop","false");else if(r.body)l=new Pe("mo",Or(r.body,o));else{l=new Pe("mi",[new yt(r.name.slice(1))]);var g=new Pe("mo",[Yt("\u2061","text")]);r.parentIsSupSub?l=new Pe("mo",[l,g]):l=Wt([l,g])}return l},vs={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Qt({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:function(r,o){var l=r.parser,g=r.funcName,W=g;return W.length===1&&(W=vs[W]),{type:"op",mode:l.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:W}},htmlBuilder:Pi,mathmlBuilder:Wi}),Qt({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(r,o){var l=r.parser,g=o[0];return{type:"op",mode:l.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ce(g)}},htmlBuilder:Pi,mathmlBuilder:Wi});var ui={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Qt({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(r){var o=r.parser,l=r.funcName;return{type:"op",mode:o.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:l}},htmlBuilder:Pi,mathmlBuilder:Wi}),Qt({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(r){var o=r.parser,l=r.funcName;return{type:"op",mode:o.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:l}},htmlBuilder:Pi,mathmlBuilder:Wi}),Qt({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(r){var o=r.parser,l=r.funcName,g=l;return g.length===1&&(g=ui[g]),{type:"op",mode:o.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:g}},htmlBuilder:Pi,mathmlBuilder:Wi});var ts=function(r,o){var l,g,W=!1,fe,We=U(r,"supsub");We?(l=We.sup,g=We.sub,fe=B(We.base,"operatorname"),W=!0):fe=B(r,"operatorname");var it;if(fe.body.length>0){for(var Mt=fe.body.map(function(rn){var hn=rn.text;return typeof hn=="string"?{type:"textord",mode:rn.mode,text:hn}:rn}),ar=ze(Mt,o.withFont("mathrm"),!0),yr=0;yr<ar.length;yr++){var kr=ar[yr];kr instanceof Me&&(kr.text=kr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}it=v.makeSpan(["mop"],ar,o)}else it=v.makeSpan(["mop"],[],o);return W?Io(it,l,g,o,o.style,0,0):it},ss=function(r,o){for(var l=Or(r.body,o.withFont("mathrm")),g=!0,W=0;W<l.length;W++){var fe=l[W];if(!(fe instanceof ht.SpaceNode))if(fe instanceof ht.MathNode)switch(fe.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var We=fe.children[0];fe.children.length===1&&We instanceof ht.TextNode?We.text=We.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):g=!1;break}default:g=!1}else g=!1}if(g){var it=l.map(function(yr){return yr.toText()}).join("");l=[new ht.TextNode(it)]}var Mt=new ht.MathNode("mi",l);Mt.setAttribute("mathvariant","normal");var ar=new ht.MathNode("mo",[Yt("\u2061","text")]);return r.parentIsSupSub?new ht.MathNode("mo",[Mt,ar]):ht.newDocumentFragment([Mt,ar])};Qt({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(r,o){var l=r.parser,g=r.funcName,W=o[0];return{type:"operatorname",mode:l.mode,body:Ce(W),alwaysHandleSupSub:g==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:ts,mathmlBuilder:ss}),nt({type:"ordgroup",htmlBuilder:function(r,o){return r.semisimple?v.makeFragment(ze(r.body,o,!1)):v.makeSpan(["mord"],ze(r.body,o,!0),o)},mathmlBuilder:function(r,o){return Rr(r.body,o,!0)}}),Qt({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(r,o){var l=r.parser,g=o[0];return{type:"overline",mode:l.mode,body:g}},htmlBuilder:function(r,o){var l=Tt(r.body,o.havingCrampedStyle()),g=v.makeLineSpan("overline-line",o),W=o.fontMetrics().defaultRuleThickness,fe=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:3*W},{type:"elem",elem:g},{type:"kern",size:W}]},o);return v.makeSpan(["mord","overline"],[fe],o)},mathmlBuilder:function(r,o){var l=new ht.MathNode("mo",[new ht.TextNode("\u203E")]);l.setAttribute("stretchy","true");var g=new ht.MathNode("mover",[Fr(r.body,o),l]);return g.setAttribute("accent","true"),g}}),Qt({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(r,o){var l=r.parser,g=o[0];return{type:"phantom",mode:l.mode,body:Ce(g)}},htmlBuilder:function(r,o){var l=ze(r.body,o.withPhantom(),!1);return v.makeFragment(l)},mathmlBuilder:function(r,o){var l=Or(r.body,o);return new ht.MathNode("mphantom",l)}}),Qt({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(r,o){var l=r.parser,g=o[0];return{type:"hphantom",mode:l.mode,body:g}},htmlBuilder:function(r,o){var l=v.makeSpan([],[Tt(r.body,o.withPhantom())]);if(l.height=0,l.depth=0,l.children)for(var g=0;g<l.children.length;g++)l.children[g].height=0,l.children[g].depth=0;return l=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l}]},o),v.makeSpan(["mord"],[l],o)},mathmlBuilder:function(r,o){var l=Or(Ce(r.body),o),g=new ht.MathNode("mphantom",l),W=new ht.MathNode("mpadded",[g]);return W.setAttribute("height","0px"),W.setAttribute("depth","0px"),W}}),Qt({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(r,o){var l=r.parser,g=o[0];return{type:"vphantom",mode:l.mode,body:g}},htmlBuilder:function(r,o){var l=v.makeSpan(["inner"],[Tt(r.body,o.withPhantom())]),g=v.makeSpan(["fix"],[]);return v.makeSpan(["mord","rlap"],[l,g],o)},mathmlBuilder:function(r,o){var l=Or(Ce(r.body),o),g=new ht.MathNode("mphantom",l),W=new ht.MathNode("mpadded",[g]);return W.setAttribute("width","0px"),W}}),Qt({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(r,o){var l=r.parser,g=B(o[0],"size").value,W=o[1];return{type:"raisebox",mode:l.mode,dy:g,body:W}},htmlBuilder:function(r,o){var l=Tt(r.body,o),g=On(r.dy,o);return v.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:l}]},o)},mathmlBuilder:function(r,o){var l=new ht.MathNode("mpadded",[Fr(r.body,o)]),g=r.dy.number+r.dy.unit;return l.setAttribute("voffset",g),l}}),Qt({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(r,o,l){var g=r.parser,W=l[0],fe=B(o[0],"size"),We=B(o[1],"size");return{type:"rule",mode:g.mode,shift:W&&B(W,"size").value,width:fe.value,height:We.value}},htmlBuilder:function(r,o){var l=v.makeSpan(["mord","rule"],[],o),g=On(r.width,o),W=On(r.height,o),fe=r.shift?On(r.shift,o):0;return l.style.borderRightWidth=g+"em",l.style.borderTopWidth=W+"em",l.style.bottom=fe+"em",l.width=g,l.height=W+fe,l.depth=-fe,l.maxFontSize=W*1.125*o.sizeMultiplier,l},mathmlBuilder:function(r,o){var l=On(r.width,o),g=On(r.height,o),W=r.shift?On(r.shift,o):0,fe=o.color&&o.getColor()||"black",We=new ht.MathNode("mspace");We.setAttribute("mathbackground",fe),We.setAttribute("width",l+"em"),We.setAttribute("height",g+"em");var it=new ht.MathNode("mpadded",[We]);return W>=0?it.setAttribute("height","+"+W+"em"):(it.setAttribute("height",W+"em"),it.setAttribute("depth","+"+-W+"em")),it.setAttribute("voffset",W+"em"),it}});function di(ie,r,o){for(var l=ze(ie,r,!1),g=r.sizeMultiplier/o.sizeMultiplier,W=0;W<l.length;W++){var fe=l[W].classes.indexOf("sizing");fe<0?Array.prototype.push.apply(l[W].classes,r.sizingClasses(o)):l[W].classes[fe+1]==="reset-size"+r.size&&(l[W].classes[fe+1]="reset-size"+o.size),l[W].height*=g,l[W].depth*=g}return v.makeFragment(l)}var Ui=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],bs=function(r,o){var l=o.havingSize(r.size);return di(r.body,l,o)};Qt({type:"sizing",names:Ui,props:{numArgs:0,allowedInText:!0},handler:function(r,o){var l=r.breakOnTokenText,g=r.funcName,W=r.parser,fe=W.parseExpression(!1,l);return{type:"sizing",mode:W.mode,size:Ui.indexOf(g)+1,body:fe}},htmlBuilder:bs,mathmlBuilder:function(r,o){var l=o.havingSize(r.size),g=Or(r.body,l),W=new ht.MathNode("mstyle",g);return W.setAttribute("mathsize",l.sizeMultiplier+"em"),W}}),Qt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(r,o,l){var g=r.parser,W=!1,fe=!1,We=l[0]&&B(l[0],"ordgroup");if(We)for(var it="",Mt=0;Mt<We.body.length;++Mt){var ar=We.body[Mt];if(it=ar.text,it==="t")W=!0;else if(it==="b")fe=!0;else{W=!1,fe=!1;break}}else W=!0,fe=!0;var yr=o[0];return{type:"smash",mode:g.mode,body:yr,smashHeight:W,smashDepth:fe}},htmlBuilder:function(r,o){var l=v.makeSpan([],[Tt(r.body,o)]);if(!r.smashHeight&&!r.smashDepth)return l;if(r.smashHeight&&(l.height=0,l.children))for(var g=0;g<l.children.length;g++)l.children[g].height=0;if(r.smashDepth&&(l.depth=0,l.children))for(var W=0;W<l.children.length;W++)l.children[W].depth=0;var fe=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l}]},o);return v.makeSpan(["mord"],[fe],o)},mathmlBuilder:function(r,o){var l=new ht.MathNode("mpadded",[Fr(r.body,o)]);return r.smashHeight&&l.setAttribute("height","0px"),r.smashDepth&&l.setAttribute("depth","0px"),l}}),Qt({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(r,o,l){var g=r.parser,W=l[0],fe=o[0];return{type:"sqrt",mode:g.mode,body:fe,index:W}},htmlBuilder:function(r,o){var l=Tt(r.body,o.havingCrampedStyle());l.height===0&&(l.height=o.fontMetrics().xHeight),l=v.wrapFragment(l,o);var g=o.fontMetrics(),W=g.defaultRuleThickness,fe=W;o.style.id<w.TEXT.id&&(fe=o.fontMetrics().xHeight);var We=W+fe/4,it=l.height+l.depth+We+W,Mt=ba.sqrtImage(it,o),ar=Mt.span,yr=Mt.ruleWidth,kr=Mt.advanceWidth,rn=ar.height-yr;rn>l.height+l.depth+We&&(We=(We+rn-l.height-l.depth)/2);var hn=ar.height-l.height-We-yr;l.style.paddingLeft=kr+"em";var pn=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l,wrapperClasses:["svg-align"]},{type:"kern",size:-(l.height+hn)},{type:"elem",elem:ar},{type:"kern",size:yr}]},o);if(r.index){var Un=o.havingStyle(w.SCRIPTSCRIPT),wa=Tt(r.index,Un,o),Aa=.6*(pn.height-pn.depth),u=v.makeVList({positionType:"shift",positionData:-Aa,children:[{type:"elem",elem:wa}]},o),e=v.makeSpan(["root"],[u]);return v.makeSpan(["mord","sqrt"],[e,pn],o)}else return v.makeSpan(["mord","sqrt"],[pn],o)},mathmlBuilder:function(r,o){var l=r.body,g=r.index;return g?new ht.MathNode("mroot",[Fr(l,o),Fr(g,o)]):new ht.MathNode("msqrt",[Fr(l,o)])}});var ls={display:w.DISPLAY,text:w.TEXT,script:w.SCRIPT,scriptscript:w.SCRIPTSCRIPT};Qt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(r,o){var l=r.breakOnTokenText,g=r.funcName,W=r.parser,fe=W.parseExpression(!0,l),We=g.slice(1,g.length-5);return{type:"styling",mode:W.mode,style:We,body:fe}},htmlBuilder:function(r,o){var l=ls[r.style],g=o.havingStyle(l).withFont("");return di(r.body,g,o)},mathmlBuilder:function(r,o){var l=ls[r.style],g=o.havingStyle(l),W=Or(r.body,g),fe=new ht.MathNode("mstyle",W),We={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},it=We[r.style];return fe.setAttribute("scriptlevel",it[0]),fe.setAttribute("displaystyle",it[1]),fe}});var ys=function(r,o){var l=r.base;if(l)if(l.type==="op"){var g=l.limits&&(o.style.size===w.DISPLAY.size||l.alwaysHandleSupSub);return g?Pi:null}else if(l.type==="operatorname"){var W=l.alwaysHandleSupSub&&(o.style.size===w.DISPLAY.size||l.limits);return W?ts:null}else{if(l.type==="accent")return S.isCharacterBox(l.base)?_n:null;if(l.type==="horizBrace"){var fe=!r.sub;return fe===l.isOver?Eo:null}else return null}else return null};nt({type:"supsub",htmlBuilder:function(r,o){var l=ys(r,o);if(l)return l(r,o);var g=r.base,W=r.sup,fe=r.sub,We=Tt(g,o),it,Mt,ar=o.fontMetrics(),yr=0,kr=0,rn=g&&S.isCharacterBox(g);if(W){var hn=o.havingStyle(o.style.sup());it=Tt(W,hn,o),rn||(yr=We.height-hn.fontMetrics().supDrop*hn.sizeMultiplier/o.sizeMultiplier)}if(fe){var pn=o.havingStyle(o.style.sub());Mt=Tt(fe,pn,o),rn||(kr=We.depth+pn.fontMetrics().subDrop*pn.sizeMultiplier/o.sizeMultiplier)}var Un;o.style===w.DISPLAY?Un=ar.sup1:o.style.cramped?Un=ar.sup3:Un=ar.sup2;var wa=o.sizeMultiplier,Aa=.5/ar.ptPerEm/wa+"em",u=null;if(Mt){var e=r.base&&r.base.type==="op"&&r.base.name&&(r.base.name==="\\oiint"||r.base.name==="\\oiiint");(We instanceof Me||e)&&(u=-We.italic+"em")}var t;if(it&&Mt){yr=Math.max(yr,Un,it.depth+.25*ar.xHeight),kr=Math.max(kr,ar.sub2);var d=ar.defaultRuleThickness,O=4*d;if(yr-it.depth-(Mt.height-kr)<O){kr=O-(yr-it.depth)+Mt.height;var K=.8*ar.xHeight-(yr-it.depth);K>0&&(yr+=K,kr-=K)}var Oe=[{type:"elem",elem:Mt,shift:kr,marginRight:Aa,marginLeft:u},{type:"elem",elem:it,shift:-yr,marginRight:Aa}];t=v.makeVList({positionType:"individualShift",children:Oe},o)}else if(Mt){kr=Math.max(kr,ar.sub1,Mt.height-.8*ar.xHeight);var Ke=[{type:"elem",elem:Mt,marginLeft:u,marginRight:Aa}];t=v.makeVList({positionType:"shift",positionData:kr,children:Ke},o)}else if(it)yr=Math.max(yr,Un,it.depth+.25*ar.xHeight),t=v.makeVList({positionType:"shift",positionData:-yr,children:[{type:"elem",elem:it,marginRight:Aa}]},o);else throw new Error("supsub must have either sup or sub.");var Ye=br(We,"right")||"mord";return v.makeSpan([Ye],[We,v.makeSpan(["msupsub"],[t])],o)},mathmlBuilder:function(r,o){var l=!1,g,W,fe=U(r.base,"horizBrace");fe&&(W=!!r.sup,W===fe.isOver&&(l=!0,g=fe.isOver)),r.base&&(r.base.type==="op"||r.base.type==="operatorname")&&(r.base.parentIsSupSub=!0);var We=[Fr(r.base,o)];r.sub&&We.push(Fr(r.sub,o)),r.sup&&We.push(Fr(r.sup,o));var it;if(l)it=g?"mover":"munder";else if(r.sub)if(r.sup){var yr=r.base;yr&&yr.type==="op"&&yr.limits&&o.style===w.DISPLAY||yr&&yr.type==="operatorname"&&yr.alwaysHandleSupSub&&(o.style===w.DISPLAY||yr.limits)?it="munderover":it="msubsup"}else{var ar=r.base;ar&&ar.type==="op"&&ar.limits&&(o.style===w.DISPLAY||ar.alwaysHandleSupSub)||ar&&ar.type==="operatorname"&&ar.alwaysHandleSupSub&&(ar.limits||o.style===w.DISPLAY)?it="munder":it="msub"}else{var Mt=r.base;Mt&&Mt.type==="op"&&Mt.limits&&(o.style===w.DISPLAY||Mt.alwaysHandleSupSub)||Mt&&Mt.type==="operatorname"&&Mt.alwaysHandleSupSub&&(Mt.limits||o.style===w.DISPLAY)?it="mover":it="msup"}var kr=new ht.MathNode(it,We);return kr}}),nt({type:"atom",htmlBuilder:function(r,o){return v.mathsym(r.text,r.mode,o,["m"+r.family])},mathmlBuilder:function(r,o){var l=new ht.MathNode("mo",[Yt(r.text,r.mode)]);if(r.family==="bin"){var g=mr(r,o);g==="bold-italic"&&l.setAttribute("mathvariant",g)}else r.family==="punct"?l.setAttribute("separator","true"):(r.family==="open"||r.family==="close")&&l.setAttribute("stretchy","false");return l}});var rs={mi:"italic",mn:"normal",mtext:"normal"};nt({type:"mathord",htmlBuilder:function(r,o){return v.makeOrd(r,o,"mathord")},mathmlBuilder:function(r,o){var l=new ht.MathNode("mi",[Yt(r.text,r.mode,o)]),g=mr(r,o)||"italic";return g!==rs[l.type]&&l.setAttribute("mathvariant",g),l}}),nt({type:"textord",htmlBuilder:function(r,o){return v.makeOrd(r,o,"textord")},mathmlBuilder:function(r,o){var l=Yt(r.text,r.mode,o),g=mr(r,o)||"normal",W;return r.mode==="text"?W=new ht.MathNode("mtext",[l]):/[0-9]/.test(r.text)?W=new ht.MathNode("mn",[l]):r.text==="\\prime"?W=new ht.MathNode("mo",[l]):W=new ht.MathNode("mi",[l]),g!==rs[W.type]&&W.setAttribute("mathvariant",g),W}});var hi={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},fi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};nt({type:"spacing",htmlBuilder:function(r,o){if(fi.hasOwnProperty(r.text)){var l=fi[r.text].className||"";if(r.mode==="text"){var g=v.makeOrd(r,o,"textord");return g.classes.push(l),g}else return v.makeSpan(["mspace",l],[v.mathsym(r.text,r.mode,o)],o)}else{if(hi.hasOwnProperty(r.text))return v.makeSpan(["mspace",hi[r.text]],[],o);throw new ee('Unknown type of space "'+r.text+'"')}},mathmlBuilder:function(r,o){var l;if(fi.hasOwnProperty(r.text))l=new ht.MathNode("mtext",[new ht.TextNode("\xA0")]);else{if(hi.hasOwnProperty(r.text))return new ht.MathNode("mspace");throw new ee('Unknown type of space "'+r.text+'"')}return l}});var cs=function(){var r=new ht.MathNode("mtd",[]);return r.setAttribute("width","50%"),r};nt({type:"tag",mathmlBuilder:function(r,o){var l=new ht.MathNode("mtable",[new ht.MathNode("mtr",[cs(),new ht.MathNode("mtd",[Rr(r.body,o)]),cs(),new ht.MathNode("mtd",[Rr(r.tag,o)])])]);return l.setAttribute("width","100%"),l}});var ji={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},mi={"\\textbf":"textbf","\\textmd":"textmd"},Ea={"\\textit":"textit","\\textup":"textup"},xs=function(r,o){var l=r.font;return l?ji[l]?o.withTextFontFamily(ji[l]):mi[l]?o.withTextFontWeight(mi[l]):o.withTextFontShape(Ea[l]):o};Qt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(r,o){var l=r.parser,g=r.funcName,W=o[0];return{type:"text",mode:l.mode,body:Ce(W),font:g}},htmlBuilder:function(r,o){var l=xs(r,o),g=ze(r.body,l,!0);return v.makeSpan(["mord","text"],v.tryCombineChars(g),l)},mathmlBuilder:function(r,o){var l=xs(r,o);return Rr(r.body,l)}}),Qt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(r,o){var l=r.parser;return{type:"underline",mode:l.mode,body:o[0]}},htmlBuilder:function(r,o){var l=Tt(r.body,o),g=v.makeLineSpan("underline-line",o),W=o.fontMetrics().defaultRuleThickness,fe=v.makeVList({positionType:"top",positionData:l.height,children:[{type:"kern",size:W},{type:"elem",elem:g},{type:"kern",size:3*W},{type:"elem",elem:l}]},o);return v.makeSpan(["mord","underline"],[fe],o)},mathmlBuilder:function(r,o){var l=new ht.MathNode("mo",[new ht.TextNode("\u203E")]);l.setAttribute("stretchy","true");var g=new ht.MathNode("munder",[Fr(r.body,o),l]);return g.setAttribute("accentunder","true"),g}}),Qt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(r,o,l){throw new ee("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(r,o){for(var l=Ss(r),g=[],W=o.havingStyle(o.style.text()),fe=0;fe<l.length;fe++){var We=l[fe];We==="~"&&(We="\\textasciitilde"),g.push(v.makeSymbol(We,"Typewriter-Regular",r.mode,W,["mord","texttt"]))}return v.makeSpan(["mord","text"].concat(W.sizingClasses(o)),v.tryCombineChars(g),W)},mathmlBuilder:function(r,o){var l=new ht.TextNode(Ss(r)),g=new ht.MathNode("mtext",[l]);return g.setAttribute("mathvariant","monospace"),g}});var Ss=function(r){return r.body.replace(/ /g,r.star?"\u2423":"\xA0")},ws=vt,_i=ws,li=`[ \r
]`,pi="\\\\[a-zA-Z@]+",Ms="\\\\[^\uD800-\uDFFF]",Cs=""+pi+li+"*",ns=new RegExp("^("+pi+")"+li+"*$"),Zi="[\u0300-\u036F]",Ni=new RegExp(Zi+"+$"),Vi="("+li+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Zi+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Zi+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+Cs)+("|"+Ms+")"),Gi=function(){function ie(o,l){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=o,this.settings=l,this.tokenRegex=new RegExp(Vi,"g"),this.catcodes={"%":14}}var r=ie.prototype;return r.setCatcode=function(l,g){this.catcodes[l]=g},r.lex=function(){var l=this.input,g=this.tokenRegex.lastIndex;if(g===l.length)return new Re("EOF",new L(this,g,g));var W=this.tokenRegex.exec(l);if(W===null||W.index!==g)throw new ee("Unexpected character: '"+l[g]+"'",new Re(l[g],new L(this,g,g+1)));var fe=W[2]||" ";if(this.catcodes[fe]===14){var We=l.indexOf(`
`,this.tokenRegex.lastIndex);return We===-1?(this.tokenRegex.lastIndex=l.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=We+1,this.lex()}var it=fe.match(ns);return it&&(fe=it[1]),new Re(fe,new L(this,g,this.tokenRegex.lastIndex))},ie}(),Os=function(){function ie(o,l){o===void 0&&(o={}),l===void 0&&(l={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=l,this.builtins=o,this.undefStack=[]}var r=ie.prototype;return r.beginGroup=function(){this.undefStack.push({})},r.endGroup=function(){if(this.undefStack.length===0)throw new ee("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var l=this.undefStack.pop();for(var g in l)l.hasOwnProperty(g)&&(l[g]===void 0?delete this.current[g]:this.current[g]=l[g])},r.has=function(l){return this.current.hasOwnProperty(l)||this.builtins.hasOwnProperty(l)},r.get=function(l){return this.current.hasOwnProperty(l)?this.current[l]:this.builtins[l]},r.set=function(l,g,W){if(W===void 0&&(W=!1),W){for(var fe=0;fe<this.undefStack.length;fe++)delete this.undefStack[fe][l];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][l]=g)}else{var We=this.undefStack[this.undefStack.length-1];We&&!We.hasOwnProperty(l)&&(We[l]=this.current[l])}this.current[l]=g},ie}(),Yi={},us=Yi;function ft(ie,r){Yi[ie]=r}ft("\\@firstoftwo",function(ie){var r=ie.consumeArgs(2);return{tokens:r[0],numArgs:0}}),ft("\\@secondoftwo",function(ie){var r=ie.consumeArgs(2);return{tokens:r[1],numArgs:0}}),ft("\\@ifnextchar",function(ie){var r=ie.consumeArgs(3),o=ie.future();return r[0].length===1&&r[0][0].text===o.text?{tokens:r[1],numArgs:0}:{tokens:r[2],numArgs:0}}),ft("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),ft("\\TextOrMath",function(ie){var r=ie.consumeArgs(2);return ie.mode==="text"?{tokens:r[0],numArgs:0}:{tokens:r[1],numArgs:0}});var Mi={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};ft("\\char",function(ie){var r=ie.popToken(),o,l="";if(r.text==="'")o=8,r=ie.popToken();else if(r.text==='"')o=16,r=ie.popToken();else if(r.text==="`")if(r=ie.popToken(),r.text[0]==="\\")l=r.text.charCodeAt(1);else{if(r.text==="EOF")throw new ee("\\char` missing argument");l=r.text.charCodeAt(0)}else o=10;if(o){if(l=Mi[r.text],l==null||l>=o)throw new ee("Invalid base-"+o+" digit "+r.text);for(var g;(g=Mi[ie.future().text])!=null&&g<o;)l*=o,l+=g,ie.popToken()}return"\\@char{"+l+"}"});var ti=function(r,o){var l=r.consumeArgs(1)[0];if(l.length!==1)throw new ee("\\gdef's first argument must be a macro name");var g=l[0].text,W=0;for(l=r.consumeArgs(1)[0];l.length===1&&l[0].text==="#";){if(l=r.consumeArgs(1)[0],l.length!==1)throw new ee('Invalid argument number length "'+l.length+'"');if(!/^[1-9]$/.test(l[0].text))throw new ee('Invalid argument number "'+l[0].text+'"');if(W++,parseInt(l[0].text)!==W)throw new ee('Argument number "'+l[0].text+'" out of order');l=r.consumeArgs(1)[0]}return r.macros.set(g,{tokens:l,numArgs:W},o),""};ft("\\gdef",function(ie){return ti(ie,!0)}),ft("\\def",function(ie){return ti(ie,!1)}),ft("\\global",function(ie){var r=ie.consumeArgs(1)[0];if(r.length!==1)throw new ee("Invalid command after \\global");var o=r[0].text;if(o==="\\def")return ti(ie,!0);throw new ee("Invalid command '"+o+"' after \\global")});var Ti=function(r,o,l){var g=r.consumeArgs(1)[0];if(g.length!==1)throw new ee("\\newcommand's first argument must be a macro name");var W=g[0].text,fe=r.isDefined(W);if(fe&&!o)throw new ee("\\newcommand{"+W+"} attempting to redefine "+(W+"; use \\renewcommand"));if(!fe&&!l)throw new ee("\\renewcommand{"+W+"} when command "+W+" does not yet exist; use \\newcommand");var We=0;if(g=r.consumeArgs(1)[0],g.length===1&&g[0].text==="["){for(var it="",Mt=r.expandNextToken();Mt.text!=="]"&&Mt.text!=="EOF";)it+=Mt.text,Mt=r.expandNextToken();if(!it.match(/^\s*[0-9]+\s*$/))throw new ee("Invalid number of arguments: "+it);We=parseInt(it),g=r.consumeArgs(1)[0]}return r.macros.set(W,{tokens:g,numArgs:We}),""};ft("\\newcommand",function(ie){return Ti(ie,!1,!0)}),ft("\\renewcommand",function(ie){return Ti(ie,!0,!1)}),ft("\\providecommand",function(ie){return Ti(ie,!0,!0)}),ft("\\bgroup","{"),ft("\\egroup","}"),ft("\\lq","`"),ft("\\rq","'"),ft("\\aa","\\r a"),ft("\\AA","\\r A"),ft("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),ft("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),ft("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),ft("\u212C","\\mathscr{B}"),ft("\u2130","\\mathscr{E}"),ft("\u2131","\\mathscr{F}"),ft("\u210B","\\mathscr{H}"),ft("\u2110","\\mathscr{I}"),ft("\u2112","\\mathscr{L}"),ft("\u2133","\\mathscr{M}"),ft("\u211B","\\mathscr{R}"),ft("\u212D","\\mathfrak{C}"),ft("\u210C","\\mathfrak{H}"),ft("\u2128","\\mathfrak{Z}"),ft("\\Bbbk","\\Bbb{k}"),ft("\xB7","\\cdotp"),ft("\\llap","\\mathllap{\\textrm{#1}}"),ft("\\rlap","\\mathrlap{\\textrm{#1}}"),ft("\\clap","\\mathclap{\\textrm{#1}}"),ft("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),ft("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),ft("\\ne","\\neq"),ft("\u2260","\\neq"),ft("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),ft("\u2209","\\notin"),ft("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),ft("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),ft("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),ft("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),ft("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),ft("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),ft("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),ft("\u27C2","\\perp"),ft("\u203C","\\mathclose{!\\mkern-0.8mu!}"),ft("\u220C","\\notni"),ft("\u231C","\\ulcorner"),ft("\u231D","\\urcorner"),ft("\u231E","\\llcorner"),ft("\u231F","\\lrcorner"),ft("\xA9","\\copyright"),ft("\xAE","\\textregistered"),ft("\uFE0F","\\textregistered"),ft("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),ft("\u22EE","\\vdots"),ft("\\varGamma","\\mathit{\\Gamma}"),ft("\\varDelta","\\mathit{\\Delta}"),ft("\\varTheta","\\mathit{\\Theta}"),ft("\\varLambda","\\mathit{\\Lambda}"),ft("\\varXi","\\mathit{\\Xi}"),ft("\\varPi","\\mathit{\\Pi}"),ft("\\varSigma","\\mathit{\\Sigma}"),ft("\\varUpsilon","\\mathit{\\Upsilon}"),ft("\\varPhi","\\mathit{\\Phi}"),ft("\\varPsi","\\mathit{\\Psi}"),ft("\\varOmega","\\mathit{\\Omega}"),ft("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),ft("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),ft("\\boxed","\\fbox{$\\displaystyle{#1}$}"),ft("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),ft("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),ft("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var as={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};ft("\\dots",function(ie){var r="\\dotso",o=ie.expandAfterFuture().text;return o in as?r=as[o]:(o.substr(0,4)==="\\not"||o in Ar.math&&S.contains(["bin","rel"],Ar.math[o].group))&&(r="\\dotsb"),r});var Bi={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};ft("\\dotso",function(ie){var r=ie.future().text;return r in Bi?"\\ldots\\,":"\\ldots"}),ft("\\dotsc",function(ie){var r=ie.future().text;return r in Bi&&r!==","?"\\ldots\\,":"\\ldots"}),ft("\\cdots",function(ie){var r=ie.future().text;return r in Bi?"\\@cdots\\,":"\\@cdots"}),ft("\\dotsb","\\cdots"),ft("\\dotsm","\\cdots"),ft("\\dotsi","\\!\\cdots"),ft("\\dotsx","\\ldots\\,"),ft("\\DOTSI","\\relax"),ft("\\DOTSB","\\relax"),ft("\\DOTSX","\\relax"),ft("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),ft("\\,","\\tmspace+{3mu}{.1667em}"),ft("\\thinspace","\\,"),ft("\\>","\\mskip{4mu}"),ft("\\:","\\tmspace+{4mu}{.2222em}"),ft("\\medspace","\\:"),ft("\\;","\\tmspace+{5mu}{.2777em}"),ft("\\thickspace","\\;"),ft("\\!","\\tmspace-{3mu}{.1667em}"),ft("\\negthinspace","\\!"),ft("\\negmedspace","\\tmspace-{4mu}{.2222em}"),ft("\\negthickspace","\\tmspace-{5mu}{.277em}"),ft("\\enspace","\\kern.5em "),ft("\\enskip","\\hskip.5em\\relax"),ft("\\quad","\\hskip1em\\relax"),ft("\\qquad","\\hskip2em\\relax"),ft("\\tag","\\@ifstar\\tag@literal\\tag@paren"),ft("\\tag@paren","\\tag@literal{({#1})}"),ft("\\tag@literal",function(ie){if(ie.macros.get("\\df@tag"))throw new ee("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),ft("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),ft("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),ft("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),ft("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),ft("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),ft("\\\\","\\newline"),ft("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var os=Pt["Main-Regular"][84][1]-.7*Pt["Main-Regular"][65][1]+"em";ft("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+os+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),ft("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+os+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),ft("\\hspace","\\@ifstar\\@hspacer\\@hspace"),ft("\\@hspace","\\hskip #1\\relax"),ft("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),ft("\\ordinarycolon",":"),ft("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),ft("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),ft("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),ft("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),ft("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),ft("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),ft("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),ft("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),ft("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),ft("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),ft("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),ft("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),ft("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),ft("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),ft("\u2237","\\dblcolon"),ft("\u2239","\\eqcolon"),ft("\u2254","\\coloneqq"),ft("\u2255","\\eqqcolon"),ft("\u2A74","\\Coloneqq"),ft("\\ratio","\\vcentcolon"),ft("\\coloncolon","\\dblcolon"),ft("\\colonequals","\\coloneqq"),ft("\\coloncolonequals","\\Coloneqq"),ft("\\equalscolon","\\eqqcolon"),ft("\\equalscoloncolon","\\Eqqcolon"),ft("\\colonminus","\\coloneq"),ft("\\coloncolonminus","\\Coloneq"),ft("\\minuscolon","\\eqcolon"),ft("\\minuscoloncolon","\\Eqcolon"),ft("\\coloncolonapprox","\\Colonapprox"),ft("\\coloncolonsim","\\Colonsim"),ft("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ft("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ft("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ft("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ft("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),ft("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),ft("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),ft("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),ft("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),ft("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),ft("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),ft("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),ft("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),ft("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),ft("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),ft("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),ft("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),ft("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),ft("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),ft("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),ft("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),ft("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),ft("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),ft("\u27E6","\\llbracket"),ft("\u27E7","\\rrbracket"),ft("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),ft("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),ft("\u2983","\\lBrace"),ft("\u2984","\\rBrace"),ft("\\darr","\\downarrow"),ft("\\dArr","\\Downarrow"),ft("\\Darr","\\Downarrow"),ft("\\lang","\\langle"),ft("\\rang","\\rangle"),ft("\\uarr","\\uparrow"),ft("\\uArr","\\Uparrow"),ft("\\Uarr","\\Uparrow"),ft("\\N","\\mathbb{N}"),ft("\\R","\\mathbb{R}"),ft("\\Z","\\mathbb{Z}"),ft("\\alef","\\aleph"),ft("\\alefsym","\\aleph"),ft("\\Alpha","\\mathrm{A}"),ft("\\Beta","\\mathrm{B}"),ft("\\bull","\\bullet"),ft("\\Chi","\\mathrm{X}"),ft("\\clubs","\\clubsuit"),ft("\\cnums","\\mathbb{C}"),ft("\\Complex","\\mathbb{C}"),ft("\\Dagger","\\ddagger"),ft("\\diamonds","\\diamondsuit"),ft("\\empty","\\emptyset"),ft("\\Epsilon","\\mathrm{E}"),ft("\\Eta","\\mathrm{H}"),ft("\\exist","\\exists"),ft("\\harr","\\leftrightarrow"),ft("\\hArr","\\Leftrightarrow"),ft("\\Harr","\\Leftrightarrow"),ft("\\hearts","\\heartsuit"),ft("\\image","\\Im"),ft("\\infin","\\infty"),ft("\\Iota","\\mathrm{I}"),ft("\\isin","\\in"),ft("\\Kappa","\\mathrm{K}"),ft("\\larr","\\leftarrow"),ft("\\lArr","\\Leftarrow"),ft("\\Larr","\\Leftarrow"),ft("\\lrarr","\\leftrightarrow"),ft("\\lrArr","\\Leftrightarrow"),ft("\\Lrarr","\\Leftrightarrow"),ft("\\Mu","\\mathrm{M}"),ft("\\natnums","\\mathbb{N}"),ft("\\Nu","\\mathrm{N}"),ft("\\Omicron","\\mathrm{O}"),ft("\\plusmn","\\pm"),ft("\\rarr","\\rightarrow"),ft("\\rArr","\\Rightarrow"),ft("\\Rarr","\\Rightarrow"),ft("\\real","\\Re"),ft("\\reals","\\mathbb{R}"),ft("\\Reals","\\mathbb{R}"),ft("\\Rho","\\mathrm{P}"),ft("\\sdot","\\cdot"),ft("\\sect","\\S"),ft("\\spades","\\spadesuit"),ft("\\sub","\\subset"),ft("\\sube","\\subseteq"),ft("\\supe","\\supseteq"),ft("\\Tau","\\mathrm{T}"),ft("\\thetasym","\\vartheta"),ft("\\weierp","\\wp"),ft("\\Zeta","\\mathrm{Z}"),ft("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),ft("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),ft("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),ft("\\blue","\\textcolor{##6495ed}{#1}"),ft("\\orange","\\textcolor{##ffa500}{#1}"),ft("\\pink","\\textcolor{##ff00af}{#1}"),ft("\\red","\\textcolor{##df0030}{#1}"),ft("\\green","\\textcolor{##28ae7b}{#1}"),ft("\\gray","\\textcolor{gray}{#1}"),ft("\\purple","\\textcolor{##9d38bd}{#1}"),ft("\\blueA","\\textcolor{##ccfaff}{#1}"),ft("\\blueB","\\textcolor{##80f6ff}{#1}"),ft("\\blueC","\\textcolor{##63d9ea}{#1}"),ft("\\blueD","\\textcolor{##11accd}{#1}"),ft("\\blueE","\\textcolor{##0c7f99}{#1}"),ft("\\tealA","\\textcolor{##94fff5}{#1}"),ft("\\tealB","\\textcolor{##26edd5}{#1}"),ft("\\tealC","\\textcolor{##01d1c1}{#1}"),ft("\\tealD","\\textcolor{##01a995}{#1}"),ft("\\tealE","\\textcolor{##208170}{#1}"),ft("\\greenA","\\textcolor{##b6ffb0}{#1}"),ft("\\greenB","\\textcolor{##8af281}{#1}"),ft("\\greenC","\\textcolor{##74cf70}{#1}"),ft("\\greenD","\\textcolor{##1fab54}{#1}"),ft("\\greenE","\\textcolor{##0d923f}{#1}"),ft("\\goldA","\\textcolor{##ffd0a9}{#1}"),ft("\\goldB","\\textcolor{##ffbb71}{#1}"),ft("\\goldC","\\textcolor{##ff9c39}{#1}"),ft("\\goldD","\\textcolor{##e07d10}{#1}"),ft("\\goldE","\\textcolor{##a75a05}{#1}"),ft("\\redA","\\textcolor{##fca9a9}{#1}"),ft("\\redB","\\textcolor{##ff8482}{#1}"),ft("\\redC","\\textcolor{##f9685d}{#1}"),ft("\\redD","\\textcolor{##e84d39}{#1}"),ft("\\redE","\\textcolor{##bc2612}{#1}"),ft("\\maroonA","\\textcolor{##ffbde0}{#1}"),ft("\\maroonB","\\textcolor{##ff92c6}{#1}"),ft("\\maroonC","\\textcolor{##ed5fa6}{#1}"),ft("\\maroonD","\\textcolor{##ca337c}{#1}"),ft("\\maroonE","\\textcolor{##9e034e}{#1}"),ft("\\purpleA","\\textcolor{##ddd7ff}{#1}"),ft("\\purpleB","\\textcolor{##c6b9fc}{#1}"),ft("\\purpleC","\\textcolor{##aa87ff}{#1}"),ft("\\purpleD","\\textcolor{##7854ab}{#1}"),ft("\\purpleE","\\textcolor{##543b78}{#1}"),ft("\\mintA","\\textcolor{##f5f9e8}{#1}"),ft("\\mintB","\\textcolor{##edf2df}{#1}"),ft("\\mintC","\\textcolor{##e0e5cc}{#1}"),ft("\\grayA","\\textcolor{##f6f7f7}{#1}"),ft("\\grayB","\\textcolor{##f0f1f2}{#1}"),ft("\\grayC","\\textcolor{##e3e5e6}{#1}"),ft("\\grayD","\\textcolor{##d6d8da}{#1}"),ft("\\grayE","\\textcolor{##babec2}{#1}"),ft("\\grayF","\\textcolor{##888d93}{#1}"),ft("\\grayG","\\textcolor{##626569}{#1}"),ft("\\grayH","\\textcolor{##3b3e40}{#1}"),ft("\\grayI","\\textcolor{##21242c}{#1}"),ft("\\kaBlue","\\textcolor{##314453}{#1}"),ft("\\kaGreen","\\textcolor{##71B307}{#1}");var is={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Jo=function(){function ie(o,l,g){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=l,this.expansionCount=0,this.feed(o),this.macros=new Os(us,l.macros),this.mode=g,this.stack=[]}var r=ie.prototype;return r.feed=function(l){this.lexer=new Gi(l,this.settings)},r.switchMode=function(l){this.mode=l},r.beginGroup=function(){this.macros.beginGroup()},r.endGroup=function(){this.macros.endGroup()},r.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},r.popToken=function(){return this.future(),this.stack.pop()},r.pushToken=function(l){this.stack.push(l)},r.pushTokens=function(l){var g;(g=this.stack).push.apply(g,l)},r.consumeSpaces=function(){for(;;){var l=this.future();if(l.text===" ")this.stack.pop();else break}},r.consumeArgs=function(l){for(var g=[],W=0;W<l;++W){this.consumeSpaces();var fe=this.popToken();if(fe.text==="{"){for(var We=[],it=1;it!==0;){var Mt=this.popToken();if(We.push(Mt),Mt.text==="{")++it;else if(Mt.text==="}")--it;else if(Mt.text==="EOF")throw new ee("End of input in macro argument",fe)}We.pop(),We.reverse(),g[W]=We}else{if(fe.text==="EOF")throw new ee("End of input expecting macro argument");g[W]=[fe]}}return g},r.expandOnce=function(){var l=this.popToken(),g=l.text,W=this._getExpansion(g);if(W==null)return this.pushToken(l),l;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new ee("Too many expansions: infinite loop or need to increase maxExpand setting");var fe=W.tokens;if(W.numArgs){var We=this.consumeArgs(W.numArgs);fe=fe.slice();for(var it=fe.length-1;it>=0;--it){var Mt=fe[it];if(Mt.text==="#"){if(it===0)throw new ee("Incomplete placeholder at end of macro body",Mt);if(Mt=fe[--it],Mt.text==="#")fe.splice(it+1,1);else if(/^[1-9]$/.test(Mt.text)){var ar;(ar=fe).splice.apply(ar,[it,2].concat(We[+Mt.text-1]))}else throw new ee("Not a valid argument number",Mt)}}}return this.pushTokens(fe),fe},r.expandAfterFuture=function(){return this.expandOnce(),this.future()},r.expandNextToken=function(){for(;;){var l=this.expandOnce();if(l instanceof Re)if(l.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},r.expandMacro=function(l){if(this.macros.get(l)){var g=[],W=this.stack.length;for(this.pushToken(new Re(l));this.stack.length>W;){var fe=this.expandOnce();fe instanceof Re&&g.push(this.stack.pop())}return g}},r.expandMacroAsText=function(l){var g=this.expandMacro(l);return g&&g.map(function(W){return W.text}).join("")},r._getExpansion=function(l){var g=this.macros.get(l);if(g==null)return g;var W=typeof g=="function"?g(this):g;if(typeof W=="string"){var fe=0;if(W.indexOf("#")!==-1)for(var We=W.replace(/##/g,"");We.indexOf("#"+(fe+1))!==-1;)++fe;for(var it=new Gi(W,this.settings),Mt=[],ar=it.lex();ar.text!=="EOF";)Mt.push(ar),ar=it.lex();Mt.reverse();var yr={tokens:Mt,numArgs:fe};return yr}return W},r.isDefined=function(l){return this.macros.has(l)||_i.hasOwnProperty(l)||Ar.math.hasOwnProperty(l)||Ar.text.hasOwnProperty(l)||is.hasOwnProperty(l)},ie}(),gi={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"}},M={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u010F:"d\u030C",\u1E0B:"d\u0307",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u013A:"l\u0301",\u013E:"l\u030C",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u010E:"D\u030C",\u1E0A:"D\u0307",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0139:"L\u0301",\u013D:"L\u030C",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u0164:"T\u030C",\u1E6A:"T\u0307",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},je=function(){function ie(o,l){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Jo(o,l,this.mode),this.settings=l,this.leftrightDepth=0}var r=ie.prototype;return r.expect=function(l,g){if(g===void 0&&(g=!0),this.fetch().text!==l)throw new ee("Expected '"+l+"', got '"+this.fetch().text+"'",this.fetch());g&&this.consume()},r.consume=function(){this.nextToken=null},r.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},r.switchMode=function(l){this.mode=l,this.gullet.switchMode(l)},r.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var l=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),l},r.parseExpression=function(l,g){for(var W=[];;){this.mode==="math"&&this.consumeSpaces();var fe=this.fetch();if(ie.endOfExpression.indexOf(fe.text)!==-1||g&&fe.text===g||l&&_i[fe.text]&&_i[fe.text].infix)break;var We=this.parseAtom(g);if(!We)break;W.push(We)}return this.mode==="text"&&this.formLigatures(W),this.handleInfixNodes(W)},r.handleInfixNodes=function(l){for(var g=-1,W,fe=0;fe<l.length;fe++){var We=U(l[fe],"infix");if(We){if(g!==-1)throw new ee("only one infix operator per group",We.token);g=fe,W=We.replaceWith}}if(g!==-1&&W){var it,Mt,ar=l.slice(0,g),yr=l.slice(g+1);ar.length===1&&ar[0].type==="ordgroup"?it=ar[0]:it={type:"ordgroup",mode:this.mode,body:ar},yr.length===1&&yr[0].type==="ordgroup"?Mt=yr[0]:Mt={type:"ordgroup",mode:this.mode,body:yr};var kr;return W==="\\\\abovefrac"?kr=this.callFunction(W,[it,l[g],Mt],[]):kr=this.callFunction(W,[it,Mt],[]),[kr]}else return l},r.handleSupSubscript=function(l){var g=this.fetch(),W=g.text;this.consume();var fe=this.parseGroup(l,!1,ie.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!fe)throw new ee("Expected group after '"+W+"'",g);return fe},r.formatUnsupportedCmd=function(l){for(var g=[],W=0;W<l.length;W++)g.push({type:"textord",mode:"text",text:l[W]});var fe={type:"text",mode:this.mode,body:g},We={type:"color",mode:this.mode,color:this.settings.errorColor,body:[fe]};return We},r.parseAtom=function(l){var g=this.parseGroup("atom",!1,null,l);if(this.mode==="text")return g;for(var W,fe;;){this.consumeSpaces();var We=this.fetch();if(We.text==="\\limits"||We.text==="\\nolimits"){var it=U(g,"op");if(it){var Mt=We.text==="\\limits";it.limits=Mt,it.alwaysHandleSupSub=!0}else if(it=U(g,"operatorname"),it&&it.alwaysHandleSupSub){var ar=We.text==="\\limits";it.limits=ar}else throw new ee("Limit controls must follow a math operator",We);this.consume()}else if(We.text==="^"){if(W)throw new ee("Double superscript",We);W=this.handleSupSubscript("superscript")}else if(We.text==="_"){if(fe)throw new ee("Double subscript",We);fe=this.handleSupSubscript("subscript")}else if(We.text==="'"){if(W)throw new ee("Double superscript",We);var yr={type:"textord",mode:this.mode,text:"\\prime"},kr=[yr];for(this.consume();this.fetch().text==="'";)kr.push(yr),this.consume();this.fetch().text==="^"&&kr.push(this.handleSupSubscript("superscript")),W={type:"ordgroup",mode:this.mode,body:kr}}else break}return W||fe?{type:"supsub",mode:this.mode,base:g,sup:W,sub:fe}:g},r.parseFunction=function(l,g,W){var fe=this.fetch(),We=fe.text,it=_i[We];if(!it)return null;if(this.consume(),W!=null&&it.greediness<=W)throw new ee("Got function '"+We+"' with no arguments"+(g?" as "+g:""),fe);if(this.mode==="text"&&!it.allowedInText)throw new ee("Can't use function '"+We+"' in text mode",fe);if(this.mode==="math"&&it.allowedInMath===!1)throw new ee("Can't use function '"+We+"' in math mode",fe);var Mt=this.parseArguments(We,it),ar=Mt.args,yr=Mt.optArgs;return this.callFunction(We,ar,yr,fe,l)},r.callFunction=function(l,g,W,fe,We){var it={funcName:l,parser:this,token:fe,breakOnTokenText:We},Mt=_i[l];if(Mt&&Mt.handler)return Mt.handler(it,g,W);throw new ee("No function handler for "+l)},r.parseArguments=function(l,g){var W=g.numArgs+g.numOptionalArgs;if(W===0)return{args:[],optArgs:[]};for(var fe=g.greediness,We=[],it=[],Mt=0;Mt<W;Mt++){var ar=g.argTypes&&g.argTypes[Mt],yr=Mt<g.numOptionalArgs,kr=Mt>0&&!yr||Mt===0&&!yr&&this.mode==="math",rn=this.parseGroupOfType("argument to '"+l+"'",ar,yr,fe,kr);if(!rn){if(yr){it.push(null);continue}throw new ee("Expected group after '"+l+"'",this.fetch())}(yr?it:We).push(rn)}return{args:We,optArgs:it}},r.parseGroupOfType=function(l,g,W,fe,We){switch(g){case"color":return We&&this.consumeSpaces(),this.parseColorGroup(W);case"size":return We&&this.consumeSpaces(),this.parseSizeGroup(W);case"url":return this.parseUrlGroup(W,We);case"math":case"text":return this.parseGroup(l,W,fe,void 0,g,We);case"hbox":{var it=this.parseGroup(l,W,fe,void 0,"text",We);if(!it)return it;var Mt={type:"styling",mode:it.mode,body:[it],style:"text"};return Mt}case"raw":{if(We&&this.consumeSpaces(),W&&this.fetch().text==="{")return null;var ar=this.parseStringGroup("raw",W,!0);if(ar)return{type:"raw",mode:"text",string:ar.text};throw new ee("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(l,W,fe,void 0,void 0,We);default:throw new ee("Unknown group type as "+l,this.fetch())}},r.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},r.parseStringGroup=function(l,g,W){var fe=g?"[":"{",We=g?"]":"}",it=this.fetch();if(it.text!==fe){if(g)return null;if(W&&it.text!=="EOF"&&/[^{}[\]]/.test(it.text))return this.consume(),it}var Mt=this.mode;this.mode="text",this.expect(fe);for(var ar="",yr=this.fetch(),kr=0,rn=yr,hn;(hn=this.fetch()).text!==We||W&&kr>0;){switch(hn.text){case"EOF":throw new ee("Unexpected end of input in "+l,yr.range(rn,ar));case fe:kr++;break;case We:kr--;break}rn=hn,ar+=rn.text,this.consume()}return this.expect(We),this.mode=Mt,yr.range(rn,ar)},r.parseRegexGroup=function(l,g){var W=this.mode;this.mode="text";for(var fe=this.fetch(),We=fe,it="",Mt;(Mt=this.fetch()).text!=="EOF"&&l.test(it+Mt.text);)We=Mt,it+=We.text,this.consume();if(it==="")throw new ee("Invalid "+g+": '"+fe.text+"'",fe);return this.mode=W,fe.range(We,it)},r.parseColorGroup=function(l){var g=this.parseStringGroup("color",l);if(!g)return null;var W=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(g.text);if(!W)throw new ee("Invalid color: '"+g.text+"'",g);var fe=W[0];return/^[0-9a-f]{6}$/i.test(fe)&&(fe="#"+fe),{type:"color-token",mode:this.mode,color:fe}},r.parseSizeGroup=function(l){var g,W=!1;if(!l&&this.fetch().text!=="{"?g=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):g=this.parseStringGroup("size",l),!g)return null;!l&&g.text.length===0&&(g.text="0pt",W=!0);var fe=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(g.text);if(!fe)throw new ee("Invalid size: '"+g.text+"'",g);var We={number:+(fe[1]+fe[2]),unit:fe[3]};if(!Pn(We))throw new ee("Invalid unit: '"+We.unit+"'",g);return{type:"size",mode:this.mode,value:We,isBlank:W}},r.parseUrlGroup=function(l,g){this.gullet.lexer.setCatcode("%",13);var W=this.parseStringGroup("url",l,!0);if(this.gullet.lexer.setCatcode("%",14),!W)return null;var fe=W.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:fe}},r.parseGroup=function(l,g,W,fe,We,it){var Mt=this.mode;We&&this.switchMode(We),it&&this.consumeSpaces();var ar=this.fetch(),yr=ar.text,kr;if(g?yr==="[":yr==="{"||yr==="\\begingroup"){this.consume();var rn=ie.endOfGroup[yr];this.gullet.beginGroup();var hn=this.parseExpression(!1,rn),pn=this.fetch();this.expect(rn),this.gullet.endGroup(),kr={type:"ordgroup",mode:this.mode,loc:L.range(ar,pn),body:hn,semisimple:yr==="\\begingroup"||void 0}}else if(g)kr=null;else if(kr=this.parseFunction(fe,l,W)||this.parseSymbol(),kr==null&&yr[0]==="\\"&&!is.hasOwnProperty(yr)){if(this.settings.throwOnError)throw new ee("Undefined control sequence: "+yr,ar);kr=this.formatUnsupportedCmd(yr),this.consume()}return We&&this.switchMode(Mt),kr},r.formLigatures=function(l){for(var g=l.length-1,W=0;W<g;++W){var fe=l[W],We=fe.text;We==="-"&&l[W+1].text==="-"&&(W+1<g&&l[W+2].text==="-"?(l.splice(W,3,{type:"textord",mode:"text",loc:L.range(fe,l[W+2]),text:"---"}),g-=2):(l.splice(W,2,{type:"textord",mode:"text",loc:L.range(fe,l[W+1]),text:"--"}),g-=1)),(We==="'"||We==="`")&&l[W+1].text===We&&(l.splice(W,2,{type:"textord",mode:"text",loc:L.range(fe,l[W+1]),text:We+We}),g-=1)}},r.parseSymbol=function(){var l=this.fetch(),g=l.text;if(/^\\verb[^a-zA-Z]/.test(g)){this.consume();var W=g.slice(5),fe=W.charAt(0)==="*";if(fe&&(W=W.slice(1)),W.length<2||W.charAt(0)!==W.slice(-1))throw new ee(`\\verb assertion failed --
please report what input caused this bug`);return W=W.slice(1,-1),{type:"verb",mode:"text",body:W,star:fe}}M.hasOwnProperty(g[0])&&!Ar[this.mode][g[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+g[0]+'" used in math mode',l),g=M[g[0]]+g.substr(1));var We=Ni.exec(g);We&&(g=g.substring(0,We.index),g==="i"?g="\u0131":g==="j"&&(g="\u0237"));var it;if(Ar[this.mode][g]){this.settings.strict&&this.mode==="math"&&Sn.indexOf(g)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+g[0]+'" used in math mode',l);var Mt=Ar[this.mode][g].group,ar=L.range(l),yr;if(cr.hasOwnProperty(Mt)){var kr=Mt;yr={type:"atom",mode:this.mode,family:kr,loc:ar,text:g}}else yr={type:Mt,mode:this.mode,loc:ar,text:g};it=yr}else if(g.charCodeAt(0)>=128)this.settings.strict&&(Y(g.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+g[0]+'" used in math mode',l):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+g[0]+'"'+(" ("+g.charCodeAt(0)+")"),l)),it={type:"textord",mode:"text",loc:L.range(l),text:g};else return null;if(this.consume(),We)for(var rn=0;rn<We[0].length;rn++){var hn=We[0][rn];if(!gi[hn])throw new ee("Unknown accent ' "+hn+"'",l);var pn=gi[hn][this.mode];if(!pn)throw new ee("Accent "+hn+" unsupported in "+this.mode+" mode",l);it={type:"accent",mode:this.mode,loc:L.range(l),label:pn,isStretchy:!1,isShifty:!0,base:it}}return it},ie}();je.endOfExpression=["}","\\endgroup","\\end","\\right","&"],je.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},je.SUPSUB_GREEDINESS=1;var zt=function(r,o){if(!(typeof r=="string"||r instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var l=new je(r,o);delete l.gullet.macros.current["\\df@tag"];var g=l.parse();if(l.gullet.macros.get("\\df@tag")){if(!o.displayMode)throw new ee("\\tag works only in display equations");l.gullet.feed("\\df@tag"),g=[{type:"tag",mode:"text",body:g,tag:l.parse()}]}return g},tr=zt,wr=function(r,o,l){o.textContent="";var g=ta(r,l).toNode();o.appendChild(g)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),wr=function(){throw new ee("KaTeX doesn't work in quirks mode.")});var Kr=function(r,o){var l=ta(r,o).toMarkup();return l},cn=function(r,o){var l=new E(o);return tr(r,l)},Jn=function(r,o,l){if(l.throwOnError||!(r instanceof ee))throw r;var g=v.makeSpan(["katex-error"],[new Me(o)]);return g.setAttribute("title",r.toString()),g.setAttribute("style","color:"+l.errorColor),g},ta=function(r,o){var l=new E(o);try{var g=tr(r,l);return Lt(g,r,l)}catch(W){return Jn(W,r,l)}},$a=function(r,o){var l=new E(o);try{var g=tr(r,l);return ya(g,r,l)}catch(W){return Jn(W,r,l)}},Ta={version:"0.11.1",render:wr,renderToString:Kr,ParseError:ee,__parse:cn,__renderToDomTree:ta,__renderToHTMLTree:$a,__setFontMetrics:jt,__defineSymbol:x,__defineMacro:ft,__domTree:{Span:de,Anchor:me,SymbolNode:Me,SvgNode:Je,PathNode:pt,LineNode:Ot}},ro=n.default=Ta}]).default})},95827:function(Yr,Kt,n){"use strict";n.d(Kt,{Z:function(){return Aa}});var a=n(40797),qe=n(91378);class L{constructor(e,t,d){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=d}static range(e,t){return t?!e||!e.loc||!t.loc||e.loc.lexer!==t.loc.lexer?null:new L(e.loc.lexer,e.loc.start,t.loc.end):e&&e.loc}}class Re{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new Re(t,L.range(this,e))}}class q{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var d="KaTeX parse error: "+e,O,K,Oe=t&&t.loc;if(Oe&&Oe.start<=Oe.end){var Ke=Oe.lexer.input;O=Oe.start,K=Oe.end,O===Ke.length?d+=" at end of input: ":d+=" at position "+(O+1)+": ";var Ye=Ke.slice(O,K).replace(/[^]/g,"$&\u0332"),Xt;O>15?Xt="\u2026"+Ke.slice(O-15,O):Xt=Ke.slice(0,O);var ur;K+15<Ke.length?ur=Ke.slice(K,K+15)+"\u2026":ur=Ke.slice(K),d+=Xt+Ye+ur}var pr=new Error(d);return pr.name="ParseError",pr.__proto__=q.prototype,pr.position=O,O!=null&&K!=null&&(pr.length=K-O),pr.rawMessage=e,pr}}q.prototype.__proto__=Error.prototype;var ee=function(e,t){return e.indexOf(t)!==-1},_=function(e,t){return e===void 0?t:e},y=/([A-Z])/g,V=function(e){return e.replace(y,"-$1").toLowerCase()},c={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},T=/[&><"']/g;function F(u){return String(u).replace(T,e=>c[e])}var G=function u(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?u(e.body[0]):e:e.type==="font"?u(e.body):e},R=function(e){var t=G(e);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},X=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},N=function(e){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},A={contains:ee,deflt:_,escape:F,hyphenate:V,getBaseElem:G,isCharacterBox:R,protocolFromUrl:N},S={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:u=>"#"+u},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(u,e)=>(e.push(u),e)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:u=>Math.max(0,u),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:u=>Math.max(0,u),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:u=>Math.max(0,u),cli:"-e, --max-expand <n>",cliProcessor:u=>u==="Infinity"?1/0:parseInt(u)},globalGroup:{type:"boolean",cli:!1}};function E(u){if(u.default)return u.default;var e=u.type,t=Array.isArray(e)?e[0]:e;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class oe{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var t in S)if(S.hasOwnProperty(t)){var d=S[t];this[t]=e[t]!==void 0?d.processor?d.processor(e[t]):e[t]:E(d)}}reportNonstrict(e,t,d){var O=this.strict;if(typeof O=="function"&&(O=O(e,t,d)),!(!O||O==="ignore")){if(O===!0||O==="error")throw new q("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+e+"]"),d);O==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+O+"': "+t+" ["+e+"]"))}}useStrictBehavior(e,t,d){var O=this.strict;if(typeof O=="function")try{O=O(e,t,d)}catch(K){O="error"}return!O||O==="ignore"?!1:O===!0||O==="error"?!0:O==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+O+"': "+t+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var t=A.protocolFromUrl(e.url);if(t==null)return!1;e.protocol=t}var d=typeof this.trust=="function"?this.trust(e):this.trust;return!!d}}class J{constructor(e,t,d){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=d}sup(){return ye[j[this.id]]}sub(){return ye[I[this.id]]}fracNum(){return ye[rt[this.id]]}fracDen(){return ye[le[this.id]]}cramp(){return ye[se[this.id]]}text(){return ye[w[this.id]]}isTight(){return this.size>=2}}var te=0,$e=1,Ne=2,Qe=3,Ze=4,we=5,xe=6,Q=7,ye=[new J(te,0,!1),new J($e,0,!0),new J(Ne,1,!1),new J(Qe,1,!0),new J(Ze,2,!1),new J(we,2,!0),new J(xe,3,!1),new J(Q,3,!0)],j=[Ze,we,Ze,we,xe,Q,xe,Q],I=[we,we,we,we,Q,Q,Q,Q],rt=[Ne,Qe,Ze,we,xe,Q,xe,Q],le=[Qe,Qe,we,we,Q,Q,Q,Q],se=[$e,$e,Qe,Qe,we,we,Q,Q],w=[te,$e,Ne,Qe,Ne,Qe,Ne,Qe],k={DISPLAY:ye[te],TEXT:ye[Ne],SCRIPT:ye[Ze],SCRIPTSCRIPT:ye[xe]},z=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function C(u){for(var e=0;e<z.length;e++)for(var t=z[e],d=0;d<t.blocks.length;d++){var O=t.blocks[d];if(u>=O[0]&&u<=O[1])return t.name}return null}var Y=[];z.forEach(u=>u.blocks.forEach(e=>Y.push(...e)));function ke(u){for(var e=0;e<Y.length;e+=2)if(u>=Y[e]&&u<=Y[e+1])return!0;return!1}var pe=80,Ue=function(e,t){return"M95,"+(622+e+t)+`
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l`+e/2.075+" -"+e+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+e)+`H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M`+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},at=function(e,t){return"M263,"+(601+e+t)+`c0.7,0,18,39.7,52,119
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
c340,-704.7,510.7,-1060.3,512,-1067
l`+e/2.084+" -"+e+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+e)+`H1012.3
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},ct=function(e,t){return"M983 "+(10+e+t)+`
l`+e/3.13+" -"+e+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+`
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},ce=function(e,t){return"M424,"+(2398+e+t)+`
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
l`+e/4.223+" -"+e+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+e)+`H1014.6
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+" "+t+`
h400000v`+(40+e)+"h-400000z"},Le=function(e,t){return"M473,"+(2713+e+t)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+" -"+e+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
606zM`+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"},wt=function(e){var t=e/2;return"M400000 "+e+" H0 L"+t+" 0 l65 45 L145 "+(e-80)+" H400000z"},Fe=function(e,t,d){var O=d-54-t-e;return"M702 "+(e+t)+"H400000"+(40+e)+`
H742v`+O+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
219 661 l218 661zM702 `+t+"H400000v"+(40+e)+"H742z"},De=function(e,t,d){t=1e3*t;var O="";switch(e){case"sqrtMain":O=Ue(t,pe);break;case"sqrtSize1":O=at(t,pe);break;case"sqrtSize2":O=ct(t,pe);break;case"sqrtSize3":O=ce(t,pe);break;case"sqrtSize4":O=Le(t,pe);break;case"sqrtTall":O=Fe(t,pe,d)}return O},P=function(e,t){switch(e){case"\u239C":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"\u2223":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"\u2225":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z"+("M367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z");case"\u239F":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"\u23A2":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"\u23A5":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"\u23AA":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"\u23D0":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"\u2016":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257z"+("M478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z");default:return""}},_e={doubleleftarrow:`M262 157
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
435 0h399565z`,leftgroupunder:`M400000 262
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},be=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v1759 h347 v-84
H403z M403 1759 V0 H319 V1759 v`+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v1759 H0 v84 H347z
M347 1759 V0 H263 V1759 v`+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+` v585 h43z
M367 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+` v1715 h263 v84 H319z
MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+` v1799 H0 v-84 H319z
MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v602 h84z
M403 1759 V0 H319 V1759 v`+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v602 h84z
M347 1759 V0 h-84 V1759 v`+t+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
-36,557 l0,`+(t+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
l0,-`+(t+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(t+9)+`
c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class he{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return A.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){var e=t=>t.toText();return this.children.map(e).join("")}}var de={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},me={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Ie={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Se(u,e){de[u]=e}function Me(u,e,t){if(!de[e])throw new Error("Font metrics not found for font: "+e+".");var d=u.charCodeAt(0),O=de[e][d];if(!O&&u[0]in Ie&&(d=Ie[u[0]].charCodeAt(0),O=de[e][d]),!O&&t==="text"&&ke(d)&&(O=de[e][77]),O)return{depth:O[0],height:O[1],italic:O[2],skew:O[3],width:O[4]}}var Je={};function pt(u){var e;if(u>=5?e=0:u>=3?e=1:e=2,!Je[e]){var t=Je[e]={cssEmPerMu:me.quad[e]/18};for(var d in me)me.hasOwnProperty(d)&&(t[d]=me[d][e])}return Je[e]}var Ot=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],_t=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Gt=function(e,t){return t.size<2?e:Ot[e-1][t.size-1]};class Pt{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||Pt.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=_t[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var d in e)e.hasOwnProperty(d)&&(t[d]=e[d]);return new Pt(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:Gt(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:_t[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=Gt(Pt.BASESIZE,e);return this.size===t&&this.textSize===Pt.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Pt.BASESIZE?["sizing","reset-size"+this.size,"size"+Pt.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=pt(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Pt.BASESIZE=6;var ot={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},xt={ex:!0,em:!0,mu:!0},jt=function(e){return typeof e!="string"&&(e=e.unit),e in ot||e in xt||e==="ex"},Ht=function(e,t){var d;if(e.unit in ot)d=ot[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(e.unit==="mu")d=t.fontMetrics().cssEmPerMu;else{var O;if(t.style.isTight()?O=t.havingStyle(t.style.text()):O=t,e.unit==="ex")d=O.fontMetrics().xHeight;else if(e.unit==="em")d=O.fontMetrics().quad;else throw new q("Invalid unit: '"+e.unit+"'");O!==t&&(d*=O.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*d,t.maxSize)},Ct=function(e){return+e.toFixed(4)+"em"},er=function(e){return e.filter(t=>t).join(" ")},cr=function(e,t,d){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=d||{},t){t.style.isTight()&&this.classes.push("mtight");var O=t.getColor();O&&(this.style.color=O)}},Cr=function(e){var t=document.createElement(e);t.className=er(this.classes);for(var d in this.style)this.style.hasOwnProperty(d)&&(t.style[d]=this.style[d]);for(var O in this.attributes)this.attributes.hasOwnProperty(O)&&t.setAttribute(O,this.attributes[O]);for(var K=0;K<this.children.length;K++)t.appendChild(this.children[K].toNode());return t},qr=/[\s"'>/=\x00-\x1f]/,Ar=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+A.escape(er(this.classes))+'"');var d="";for(var O in this.style)this.style.hasOwnProperty(O)&&(d+=A.hyphenate(O)+":"+this.style[O]+";");d&&(t+=' style="'+A.escape(d)+'"');for(var K in this.attributes)if(this.attributes.hasOwnProperty(K)){if(qr.test(K))throw new q("Invalid attribute name '"+K+"'");t+=" "+K+'="'+A.escape(this.attributes[K])+'"'}t+=">";for(var Oe=0;Oe<this.children.length;Oe++)t+=this.children[Oe].toMarkup();return t+="</"+e+">",t};class x{constructor(e,t,d,O){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,cr.call(this,e,d,O),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return A.contains(this.classes,e)}toNode(){return Cr.call(this,"span")}toMarkup(){return Ar.call(this,"span")}}class H{constructor(e,t,d,O){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,cr.call(this,t,O),this.children=d||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return A.contains(this.classes,e)}toNode(){return Cr.call(this,"a")}toMarkup(){return Ar.call(this,"a")}}class St{constructor(e,t,d){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=d}hasClass(e){return A.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var t in this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e='<img src="'+A.escape(this.src)+'"'+(' alt="'+A.escape(this.alt)+'"'),t="";for(var d in this.style)this.style.hasOwnProperty(d)&&(t+=A.hyphenate(d)+":"+this.style[d]+";");return t&&(e+=' style="'+A.escape(t)+'"'),e+="'/>",e}}var ae={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"};class Be{constructor(e,t,d,O,K,Oe,Ke,Ye){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=d||0,this.italic=O||0,this.skew=K||0,this.width=Oe||0,this.classes=Ke||[],this.style=Ye||{},this.maxFontSize=0;var Xt=C(this.text.charCodeAt(0));Xt&&this.classes.push(Xt+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ae[this.text])}hasClass(e){return A.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),t=null;this.italic>0&&(t=document.createElement("span"),t.style.marginRight=Ct(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=er(this.classes));for(var d in this.style)this.style.hasOwnProperty(d)&&(t=t||document.createElement("span"),t.style[d]=this.style[d]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=A.escape(er(this.classes)),t+='"');var d="";this.italic>0&&(d+="margin-right:"+this.italic+"em;");for(var O in this.style)this.style.hasOwnProperty(O)&&(d+=A.hyphenate(O)+":"+this.style[O]+";");d&&(e=!0,t+=' style="'+A.escape(d)+'"');var K=A.escape(this.text);return e?(t+=">",t+=K,t+="</span>",t):K}}class zr{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");for(var d in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,d)&&t.setAttribute(d,this.attributes[d]);for(var O=0;O<this.children.length;O++)t.appendChild(this.children[O].toNode());return t}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+A.escape(this.attributes[t])+'"');e+=">";for(var d=0;d<this.children.length;d++)e+=this.children[d].toMarkup();return e+="</svg>",e}}class $r{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"path");return this.alternate?t.setAttribute("d",this.alternate):t.setAttribute("d",_e[this.pathName]),t}toMarkup(){return this.alternate?'<path d="'+A.escape(this.alternate)+'"/>':'<path d="'+A.escape(_e[this.pathName])+'"/>'}}class yn{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"line");for(var d in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,d)&&t.setAttribute(d,this.attributes[d]);return t}toMarkup(){var e="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+A.escape(this.attributes[t])+'"');return e+="/>",e}}function Mn(u){if(u instanceof Be)return u;throw new Error("Expected symbolNode but got "+String(u)+".")}function Ft(u){if(u instanceof x)return u;throw new Error("Expected span<HtmlDomNode> but got "+String(u)+".")}var Sr={bin:1,close:1,inner:1,open:1,punct:1,rel:1},vr={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Lr={math:{},text:{}};function h(u,e,t,d,O,K){Lr[u][O]={font:e,group:t,replace:d},K&&d&&(Lr[u][d]=Lr[u][O])}var D="math",Ee="text",ne="main",st="ams",gn="accent-token",mt="bin",Zt="close",Ur="inner",Pr="mathord",Jr="op-token",vn="open",Qn="punct",ge="rel",fr="spacing",et="textord";h(D,ne,ge,"\u2261","\\equiv",!0),h(D,ne,ge,"\u227A","\\prec",!0),h(D,ne,ge,"\u227B","\\succ",!0),h(D,ne,ge,"\u223C","\\sim",!0),h(D,ne,ge,"\u22A5","\\perp"),h(D,ne,ge,"\u2AAF","\\preceq",!0),h(D,ne,ge,"\u2AB0","\\succeq",!0),h(D,ne,ge,"\u2243","\\simeq",!0),h(D,ne,ge,"\u2223","\\mid",!0),h(D,ne,ge,"\u226A","\\ll",!0),h(D,ne,ge,"\u226B","\\gg",!0),h(D,ne,ge,"\u224D","\\asymp",!0),h(D,ne,ge,"\u2225","\\parallel"),h(D,ne,ge,"\u22C8","\\bowtie",!0),h(D,ne,ge,"\u2323","\\smile",!0),h(D,ne,ge,"\u2291","\\sqsubseteq",!0),h(D,ne,ge,"\u2292","\\sqsupseteq",!0),h(D,ne,ge,"\u2250","\\doteq",!0),h(D,ne,ge,"\u2322","\\frown",!0),h(D,ne,ge,"\u220B","\\ni",!0),h(D,ne,ge,"\u221D","\\propto",!0),h(D,ne,ge,"\u22A2","\\vdash",!0),h(D,ne,ge,"\u22A3","\\dashv",!0),h(D,ne,ge,"\u220B","\\owns"),h(D,ne,Qn,".","\\ldotp"),h(D,ne,Qn,"\u22C5","\\cdotp"),h(D,ne,et,"#","\\#"),h(Ee,ne,et,"#","\\#"),h(D,ne,et,"&","\\&"),h(Ee,ne,et,"&","\\&"),h(D,ne,et,"\u2135","\\aleph",!0),h(D,ne,et,"\u2200","\\forall",!0),h(D,ne,et,"\u210F","\\hbar",!0),h(D,ne,et,"\u2203","\\exists",!0),h(D,ne,et,"\u2207","\\nabla",!0),h(D,ne,et,"\u266D","\\flat",!0),h(D,ne,et,"\u2113","\\ell",!0),h(D,ne,et,"\u266E","\\natural",!0),h(D,ne,et,"\u2663","\\clubsuit",!0),h(D,ne,et,"\u2118","\\wp",!0),h(D,ne,et,"\u266F","\\sharp",!0),h(D,ne,et,"\u2662","\\diamondsuit",!0),h(D,ne,et,"\u211C","\\Re",!0),h(D,ne,et,"\u2661","\\heartsuit",!0),h(D,ne,et,"\u2111","\\Im",!0),h(D,ne,et,"\u2660","\\spadesuit",!0),h(D,ne,et,"\xA7","\\S",!0),h(Ee,ne,et,"\xA7","\\S"),h(D,ne,et,"\xB6","\\P",!0),h(Ee,ne,et,"\xB6","\\P"),h(D,ne,et,"\u2020","\\dag"),h(Ee,ne,et,"\u2020","\\dag"),h(Ee,ne,et,"\u2020","\\textdagger"),h(D,ne,et,"\u2021","\\ddag"),h(Ee,ne,et,"\u2021","\\ddag"),h(Ee,ne,et,"\u2021","\\textdaggerdbl"),h(D,ne,Zt,"\u23B1","\\rmoustache",!0),h(D,ne,vn,"\u23B0","\\lmoustache",!0),h(D,ne,Zt,"\u27EF","\\rgroup",!0),h(D,ne,vn,"\u27EE","\\lgroup",!0),h(D,ne,mt,"\u2213","\\mp",!0),h(D,ne,mt,"\u2296","\\ominus",!0),h(D,ne,mt,"\u228E","\\uplus",!0),h(D,ne,mt,"\u2293","\\sqcap",!0),h(D,ne,mt,"\u2217","\\ast"),h(D,ne,mt,"\u2294","\\sqcup",!0),h(D,ne,mt,"\u25EF","\\bigcirc",!0),h(D,ne,mt,"\u2219","\\bullet",!0),h(D,ne,mt,"\u2021","\\ddagger"),h(D,ne,mt,"\u2240","\\wr",!0),h(D,ne,mt,"\u2A3F","\\amalg"),h(D,ne,mt,"&","\\And"),h(D,ne,ge,"\u27F5","\\longleftarrow",!0),h(D,ne,ge,"\u21D0","\\Leftarrow",!0),h(D,ne,ge,"\u27F8","\\Longleftarrow",!0),h(D,ne,ge,"\u27F6","\\longrightarrow",!0),h(D,ne,ge,"\u21D2","\\Rightarrow",!0),h(D,ne,ge,"\u27F9","\\Longrightarrow",!0),h(D,ne,ge,"\u2194","\\leftrightarrow",!0),h(D,ne,ge,"\u27F7","\\longleftrightarrow",!0),h(D,ne,ge,"\u21D4","\\Leftrightarrow",!0),h(D,ne,ge,"\u27FA","\\Longleftrightarrow",!0),h(D,ne,ge,"\u21A6","\\mapsto",!0),h(D,ne,ge,"\u27FC","\\longmapsto",!0),h(D,ne,ge,"\u2197","\\nearrow",!0),h(D,ne,ge,"\u21A9","\\hookleftarrow",!0),h(D,ne,ge,"\u21AA","\\hookrightarrow",!0),h(D,ne,ge,"\u2198","\\searrow",!0),h(D,ne,ge,"\u21BC","\\leftharpoonup",!0),h(D,ne,ge,"\u21C0","\\rightharpoonup",!0),h(D,ne,ge,"\u2199","\\swarrow",!0),h(D,ne,ge,"\u21BD","\\leftharpoondown",!0),h(D,ne,ge,"\u21C1","\\rightharpoondown",!0),h(D,ne,ge,"\u2196","\\nwarrow",!0),h(D,ne,ge,"\u21CC","\\rightleftharpoons",!0),h(D,st,ge,"\u226E","\\nless",!0),h(D,st,ge,"\uE010","\\@nleqslant"),h(D,st,ge,"\uE011","\\@nleqq"),h(D,st,ge,"\u2A87","\\lneq",!0),h(D,st,ge,"\u2268","\\lneqq",!0),h(D,st,ge,"\uE00C","\\@lvertneqq"),h(D,st,ge,"\u22E6","\\lnsim",!0),h(D,st,ge,"\u2A89","\\lnapprox",!0),h(D,st,ge,"\u2280","\\nprec",!0),h(D,st,ge,"\u22E0","\\npreceq",!0),h(D,st,ge,"\u22E8","\\precnsim",!0),h(D,st,ge,"\u2AB9","\\precnapprox",!0),h(D,st,ge,"\u2241","\\nsim",!0),h(D,st,ge,"\uE006","\\@nshortmid"),h(D,st,ge,"\u2224","\\nmid",!0),h(D,st,ge,"\u22AC","\\nvdash",!0),h(D,st,ge,"\u22AD","\\nvDash",!0),h(D,st,ge,"\u22EA","\\ntriangleleft"),h(D,st,ge,"\u22EC","\\ntrianglelefteq",!0),h(D,st,ge,"\u228A","\\subsetneq",!0),h(D,st,ge,"\uE01A","\\@varsubsetneq"),h(D,st,ge,"\u2ACB","\\subsetneqq",!0),h(D,st,ge,"\uE017","\\@varsubsetneqq"),h(D,st,ge,"\u226F","\\ngtr",!0),h(D,st,ge,"\uE00F","\\@ngeqslant"),h(D,st,ge,"\uE00E","\\@ngeqq"),h(D,st,ge,"\u2A88","\\gneq",!0),h(D,st,ge,"\u2269","\\gneqq",!0),h(D,st,ge,"\uE00D","\\@gvertneqq"),h(D,st,ge,"\u22E7","\\gnsim",!0),h(D,st,ge,"\u2A8A","\\gnapprox",!0),h(D,st,ge,"\u2281","\\nsucc",!0),h(D,st,ge,"\u22E1","\\nsucceq",!0),h(D,st,ge,"\u22E9","\\succnsim",!0),h(D,st,ge,"\u2ABA","\\succnapprox",!0),h(D,st,ge,"\u2246","\\ncong",!0),h(D,st,ge,"\uE007","\\@nshortparallel"),h(D,st,ge,"\u2226","\\nparallel",!0),h(D,st,ge,"\u22AF","\\nVDash",!0),h(D,st,ge,"\u22EB","\\ntriangleright"),h(D,st,ge,"\u22ED","\\ntrianglerighteq",!0),h(D,st,ge,"\uE018","\\@nsupseteqq"),h(D,st,ge,"\u228B","\\supsetneq",!0),h(D,st,ge,"\uE01B","\\@varsupsetneq"),h(D,st,ge,"\u2ACC","\\supsetneqq",!0),h(D,st,ge,"\uE019","\\@varsupsetneqq"),h(D,st,ge,"\u22AE","\\nVdash",!0),h(D,st,ge,"\u2AB5","\\precneqq",!0),h(D,st,ge,"\u2AB6","\\succneqq",!0),h(D,st,ge,"\uE016","\\@nsubseteqq"),h(D,st,mt,"\u22B4","\\unlhd"),h(D,st,mt,"\u22B5","\\unrhd"),h(D,st,ge,"\u219A","\\nleftarrow",!0),h(D,st,ge,"\u219B","\\nrightarrow",!0),h(D,st,ge,"\u21CD","\\nLeftarrow",!0),h(D,st,ge,"\u21CF","\\nRightarrow",!0),h(D,st,ge,"\u21AE","\\nleftrightarrow",!0),h(D,st,ge,"\u21CE","\\nLeftrightarrow",!0),h(D,st,ge,"\u25B3","\\vartriangle"),h(D,st,et,"\u210F","\\hslash"),h(D,st,et,"\u25BD","\\triangledown"),h(D,st,et,"\u25CA","\\lozenge"),h(D,st,et,"\u24C8","\\circledS"),h(D,st,et,"\xAE","\\circledR"),h(Ee,st,et,"\xAE","\\circledR"),h(D,st,et,"\u2221","\\measuredangle",!0),h(D,st,et,"\u2204","\\nexists"),h(D,st,et,"\u2127","\\mho"),h(D,st,et,"\u2132","\\Finv",!0),h(D,st,et,"\u2141","\\Game",!0),h(D,st,et,"\u2035","\\backprime"),h(D,st,et,"\u25B2","\\blacktriangle"),h(D,st,et,"\u25BC","\\blacktriangledown"),h(D,st,et,"\u25A0","\\blacksquare"),h(D,st,et,"\u29EB","\\blacklozenge"),h(D,st,et,"\u2605","\\bigstar"),h(D,st,et,"\u2222","\\sphericalangle",!0),h(D,st,et,"\u2201","\\complement",!0),h(D,st,et,"\xF0","\\eth",!0),h(Ee,ne,et,"\xF0","\xF0"),h(D,st,et,"\u2571","\\diagup"),h(D,st,et,"\u2572","\\diagdown"),h(D,st,et,"\u25A1","\\square"),h(D,st,et,"\u25A1","\\Box"),h(D,st,et,"\u25CA","\\Diamond"),h(D,st,et,"\xA5","\\yen",!0),h(Ee,st,et,"\xA5","\\yen",!0),h(D,st,et,"\u2713","\\checkmark",!0),h(Ee,st,et,"\u2713","\\checkmark"),h(D,st,et,"\u2136","\\beth",!0),h(D,st,et,"\u2138","\\daleth",!0),h(D,st,et,"\u2137","\\gimel",!0),h(D,st,et,"\u03DD","\\digamma",!0),h(D,st,et,"\u03F0","\\varkappa"),h(D,st,vn,"\u250C","\\@ulcorner",!0),h(D,st,Zt,"\u2510","\\@urcorner",!0),h(D,st,vn,"\u2514","\\@llcorner",!0),h(D,st,Zt,"\u2518","\\@lrcorner",!0),h(D,st,ge,"\u2266","\\leqq",!0),h(D,st,ge,"\u2A7D","\\leqslant",!0),h(D,st,ge,"\u2A95","\\eqslantless",!0),h(D,st,ge,"\u2272","\\lesssim",!0),h(D,st,ge,"\u2A85","\\lessapprox",!0),h(D,st,ge,"\u224A","\\approxeq",!0),h(D,st,mt,"\u22D6","\\lessdot"),h(D,st,ge,"\u22D8","\\lll",!0),h(D,st,ge,"\u2276","\\lessgtr",!0),h(D,st,ge,"\u22DA","\\lesseqgtr",!0),h(D,st,ge,"\u2A8B","\\lesseqqgtr",!0),h(D,st,ge,"\u2251","\\doteqdot"),h(D,st,ge,"\u2253","\\risingdotseq",!0),h(D,st,ge,"\u2252","\\fallingdotseq",!0),h(D,st,ge,"\u223D","\\backsim",!0),h(D,st,ge,"\u22CD","\\backsimeq",!0),h(D,st,ge,"\u2AC5","\\subseteqq",!0),h(D,st,ge,"\u22D0","\\Subset",!0),h(D,st,ge,"\u228F","\\sqsubset",!0),h(D,st,ge,"\u227C","\\preccurlyeq",!0),h(D,st,ge,"\u22DE","\\curlyeqprec",!0),h(D,st,ge,"\u227E","\\precsim",!0),h(D,st,ge,"\u2AB7","\\precapprox",!0),h(D,st,ge,"\u22B2","\\vartriangleleft"),h(D,st,ge,"\u22B4","\\trianglelefteq"),h(D,st,ge,"\u22A8","\\vDash",!0),h(D,st,ge,"\u22AA","\\Vvdash",!0),h(D,st,ge,"\u2323","\\smallsmile"),h(D,st,ge,"\u2322","\\smallfrown"),h(D,st,ge,"\u224F","\\bumpeq",!0),h(D,st,ge,"\u224E","\\Bumpeq",!0),h(D,st,ge,"\u2267","\\geqq",!0),h(D,st,ge,"\u2A7E","\\geqslant",!0),h(D,st,ge,"\u2A96","\\eqslantgtr",!0),h(D,st,ge,"\u2273","\\gtrsim",!0),h(D,st,ge,"\u2A86","\\gtrapprox",!0),h(D,st,mt,"\u22D7","\\gtrdot"),h(D,st,ge,"\u22D9","\\ggg",!0),h(D,st,ge,"\u2277","\\gtrless",!0),h(D,st,ge,"\u22DB","\\gtreqless",!0),h(D,st,ge,"\u2A8C","\\gtreqqless",!0),h(D,st,ge,"\u2256","\\eqcirc",!0),h(D,st,ge,"\u2257","\\circeq",!0),h(D,st,ge,"\u225C","\\triangleq",!0),h(D,st,ge,"\u223C","\\thicksim"),h(D,st,ge,"\u2248","\\thickapprox"),h(D,st,ge,"\u2AC6","\\supseteqq",!0),h(D,st,ge,"\u22D1","\\Supset",!0),h(D,st,ge,"\u2290","\\sqsupset",!0),h(D,st,ge,"\u227D","\\succcurlyeq",!0),h(D,st,ge,"\u22DF","\\curlyeqsucc",!0),h(D,st,ge,"\u227F","\\succsim",!0),h(D,st,ge,"\u2AB8","\\succapprox",!0),h(D,st,ge,"\u22B3","\\vartriangleright"),h(D,st,ge,"\u22B5","\\trianglerighteq"),h(D,st,ge,"\u22A9","\\Vdash",!0),h(D,st,ge,"\u2223","\\shortmid"),h(D,st,ge,"\u2225","\\shortparallel"),h(D,st,ge,"\u226C","\\between",!0),h(D,st,ge,"\u22D4","\\pitchfork",!0),h(D,st,ge,"\u221D","\\varpropto"),h(D,st,ge,"\u25C0","\\blacktriangleleft"),h(D,st,ge,"\u2234","\\therefore",!0),h(D,st,ge,"\u220D","\\backepsilon"),h(D,st,ge,"\u25B6","\\blacktriangleright"),h(D,st,ge,"\u2235","\\because",!0),h(D,st,ge,"\u22D8","\\llless"),h(D,st,ge,"\u22D9","\\gggtr"),h(D,st,mt,"\u22B2","\\lhd"),h(D,st,mt,"\u22B3","\\rhd"),h(D,st,ge,"\u2242","\\eqsim",!0),h(D,ne,ge,"\u22C8","\\Join"),h(D,st,ge,"\u2251","\\Doteq",!0),h(D,st,mt,"\u2214","\\dotplus",!0),h(D,st,mt,"\u2216","\\smallsetminus"),h(D,st,mt,"\u22D2","\\Cap",!0),h(D,st,mt,"\u22D3","\\Cup",!0),h(D,st,mt,"\u2A5E","\\doublebarwedge",!0),h(D,st,mt,"\u229F","\\boxminus",!0),h(D,st,mt,"\u229E","\\boxplus",!0),h(D,st,mt,"\u22C7","\\divideontimes",!0),h(D,st,mt,"\u22C9","\\ltimes",!0),h(D,st,mt,"\u22CA","\\rtimes",!0),h(D,st,mt,"\u22CB","\\leftthreetimes",!0),h(D,st,mt,"\u22CC","\\rightthreetimes",!0),h(D,st,mt,"\u22CF","\\curlywedge",!0),h(D,st,mt,"\u22CE","\\curlyvee",!0),h(D,st,mt,"\u229D","\\circleddash",!0),h(D,st,mt,"\u229B","\\circledast",!0),h(D,st,mt,"\u22C5","\\centerdot"),h(D,st,mt,"\u22BA","\\intercal",!0),h(D,st,mt,"\u22D2","\\doublecap"),h(D,st,mt,"\u22D3","\\doublecup"),h(D,st,mt,"\u22A0","\\boxtimes",!0),h(D,st,ge,"\u21E2","\\dashrightarrow",!0),h(D,st,ge,"\u21E0","\\dashleftarrow",!0),h(D,st,ge,"\u21C7","\\leftleftarrows",!0),h(D,st,ge,"\u21C6","\\leftrightarrows",!0),h(D,st,ge,"\u21DA","\\Lleftarrow",!0),h(D,st,ge,"\u219E","\\twoheadleftarrow",!0),h(D,st,ge,"\u21A2","\\leftarrowtail",!0),h(D,st,ge,"\u21AB","\\looparrowleft",!0),h(D,st,ge,"\u21CB","\\leftrightharpoons",!0),h(D,st,ge,"\u21B6","\\curvearrowleft",!0),h(D,st,ge,"\u21BA","\\circlearrowleft",!0),h(D,st,ge,"\u21B0","\\Lsh",!0),h(D,st,ge,"\u21C8","\\upuparrows",!0),h(D,st,ge,"\u21BF","\\upharpoonleft",!0),h(D,st,ge,"\u21C3","\\downharpoonleft",!0),h(D,ne,ge,"\u22B6","\\origof",!0),h(D,ne,ge,"\u22B7","\\imageof",!0),h(D,st,ge,"\u22B8","\\multimap",!0),h(D,st,ge,"\u21AD","\\leftrightsquigarrow",!0),h(D,st,ge,"\u21C9","\\rightrightarrows",!0),h(D,st,ge,"\u21C4","\\rightleftarrows",!0),h(D,st,ge,"\u21A0","\\twoheadrightarrow",!0),h(D,st,ge,"\u21A3","\\rightarrowtail",!0),h(D,st,ge,"\u21AC","\\looparrowright",!0),h(D,st,ge,"\u21B7","\\curvearrowright",!0),h(D,st,ge,"\u21BB","\\circlearrowright",!0),h(D,st,ge,"\u21B1","\\Rsh",!0),h(D,st,ge,"\u21CA","\\downdownarrows",!0),h(D,st,ge,"\u21BE","\\upharpoonright",!0),h(D,st,ge,"\u21C2","\\downharpoonright",!0),h(D,st,ge,"\u21DD","\\rightsquigarrow",!0),h(D,st,ge,"\u21DD","\\leadsto"),h(D,st,ge,"\u21DB","\\Rrightarrow",!0),h(D,st,ge,"\u21BE","\\restriction"),h(D,ne,et,"\u2018","`"),h(D,ne,et,"$","\\$"),h(Ee,ne,et,"$","\\$"),h(Ee,ne,et,"$","\\textdollar"),h(D,ne,et,"%","\\%"),h(Ee,ne,et,"%","\\%"),h(D,ne,et,"_","\\_"),h(Ee,ne,et,"_","\\_"),h(Ee,ne,et,"_","\\textunderscore"),h(D,ne,et,"\u2220","\\angle",!0),h(D,ne,et,"\u221E","\\infty",!0),h(D,ne,et,"\u2032","\\prime"),h(D,ne,et,"\u25B3","\\triangle"),h(D,ne,et,"\u0393","\\Gamma",!0),h(D,ne,et,"\u0394","\\Delta",!0),h(D,ne,et,"\u0398","\\Theta",!0),h(D,ne,et,"\u039B","\\Lambda",!0),h(D,ne,et,"\u039E","\\Xi",!0),h(D,ne,et,"\u03A0","\\Pi",!0),h(D,ne,et,"\u03A3","\\Sigma",!0),h(D,ne,et,"\u03A5","\\Upsilon",!0),h(D,ne,et,"\u03A6","\\Phi",!0),h(D,ne,et,"\u03A8","\\Psi",!0),h(D,ne,et,"\u03A9","\\Omega",!0),h(D,ne,et,"A","\u0391"),h(D,ne,et,"B","\u0392"),h(D,ne,et,"E","\u0395"),h(D,ne,et,"Z","\u0396"),h(D,ne,et,"H","\u0397"),h(D,ne,et,"I","\u0399"),h(D,ne,et,"K","\u039A"),h(D,ne,et,"M","\u039C"),h(D,ne,et,"N","\u039D"),h(D,ne,et,"O","\u039F"),h(D,ne,et,"P","\u03A1"),h(D,ne,et,"T","\u03A4"),h(D,ne,et,"X","\u03A7"),h(D,ne,et,"\xAC","\\neg",!0),h(D,ne,et,"\xAC","\\lnot"),h(D,ne,et,"\u22A4","\\top"),h(D,ne,et,"\u22A5","\\bot"),h(D,ne,et,"\u2205","\\emptyset"),h(D,st,et,"\u2205","\\varnothing"),h(D,ne,Pr,"\u03B1","\\alpha",!0),h(D,ne,Pr,"\u03B2","\\beta",!0),h(D,ne,Pr,"\u03B3","\\gamma",!0),h(D,ne,Pr,"\u03B4","\\delta",!0),h(D,ne,Pr,"\u03F5","\\epsilon",!0),h(D,ne,Pr,"\u03B6","\\zeta",!0),h(D,ne,Pr,"\u03B7","\\eta",!0),h(D,ne,Pr,"\u03B8","\\theta",!0),h(D,ne,Pr,"\u03B9","\\iota",!0),h(D,ne,Pr,"\u03BA","\\kappa",!0),h(D,ne,Pr,"\u03BB","\\lambda",!0),h(D,ne,Pr,"\u03BC","\\mu",!0),h(D,ne,Pr,"\u03BD","\\nu",!0),h(D,ne,Pr,"\u03BE","\\xi",!0),h(D,ne,Pr,"\u03BF","\\omicron",!0),h(D,ne,Pr,"\u03C0","\\pi",!0),h(D,ne,Pr,"\u03C1","\\rho",!0),h(D,ne,Pr,"\u03C3","\\sigma",!0),h(D,ne,Pr,"\u03C4","\\tau",!0),h(D,ne,Pr,"\u03C5","\\upsilon",!0),h(D,ne,Pr,"\u03D5","\\phi",!0),h(D,ne,Pr,"\u03C7","\\chi",!0),h(D,ne,Pr,"\u03C8","\\psi",!0),h(D,ne,Pr,"\u03C9","\\omega",!0),h(D,ne,Pr,"\u03B5","\\varepsilon",!0),h(D,ne,Pr,"\u03D1","\\vartheta",!0),h(D,ne,Pr,"\u03D6","\\varpi",!0),h(D,ne,Pr,"\u03F1","\\varrho",!0),h(D,ne,Pr,"\u03C2","\\varsigma",!0),h(D,ne,Pr,"\u03C6","\\varphi",!0),h(D,ne,mt,"\u2217","*",!0),h(D,ne,mt,"+","+"),h(D,ne,mt,"\u2212","-",!0),h(D,ne,mt,"\u22C5","\\cdot",!0),h(D,ne,mt,"\u2218","\\circ",!0),h(D,ne,mt,"\xF7","\\div",!0),h(D,ne,mt,"\xB1","\\pm",!0),h(D,ne,mt,"\xD7","\\times",!0),h(D,ne,mt,"\u2229","\\cap",!0),h(D,ne,mt,"\u222A","\\cup",!0),h(D,ne,mt,"\u2216","\\setminus",!0),h(D,ne,mt,"\u2227","\\land"),h(D,ne,mt,"\u2228","\\lor"),h(D,ne,mt,"\u2227","\\wedge",!0),h(D,ne,mt,"\u2228","\\vee",!0),h(D,ne,et,"\u221A","\\surd"),h(D,ne,vn,"\u27E8","\\langle",!0),h(D,ne,vn,"\u2223","\\lvert"),h(D,ne,vn,"\u2225","\\lVert"),h(D,ne,Zt,"?","?"),h(D,ne,Zt,"!","!"),h(D,ne,Zt,"\u27E9","\\rangle",!0),h(D,ne,Zt,"\u2223","\\rvert"),h(D,ne,Zt,"\u2225","\\rVert"),h(D,ne,ge,"=","="),h(D,ne,ge,":",":"),h(D,ne,ge,"\u2248","\\approx",!0),h(D,ne,ge,"\u2245","\\cong",!0),h(D,ne,ge,"\u2265","\\ge"),h(D,ne,ge,"\u2265","\\geq",!0),h(D,ne,ge,"\u2190","\\gets"),h(D,ne,ge,">","\\gt",!0),h(D,ne,ge,"\u2208","\\in",!0),h(D,ne,ge,"\uE020","\\@not"),h(D,ne,ge,"\u2282","\\subset",!0),h(D,ne,ge,"\u2283","\\supset",!0),h(D,ne,ge,"\u2286","\\subseteq",!0),h(D,ne,ge,"\u2287","\\supseteq",!0),h(D,st,ge,"\u2288","\\nsubseteq",!0),h(D,st,ge,"\u2289","\\nsupseteq",!0),h(D,ne,ge,"\u22A8","\\models"),h(D,ne,ge,"\u2190","\\leftarrow",!0),h(D,ne,ge,"\u2264","\\le"),h(D,ne,ge,"\u2264","\\leq",!0),h(D,ne,ge,"<","\\lt",!0),h(D,ne,ge,"\u2192","\\rightarrow",!0),h(D,ne,ge,"\u2192","\\to"),h(D,st,ge,"\u2271","\\ngeq",!0),h(D,st,ge,"\u2270","\\nleq",!0),h(D,ne,fr,"\xA0","\\ "),h(D,ne,fr,"\xA0","\\space"),h(D,ne,fr,"\xA0","\\nobreakspace"),h(Ee,ne,fr,"\xA0","\\ "),h(Ee,ne,fr,"\xA0"," "),h(Ee,ne,fr,"\xA0","\\space"),h(Ee,ne,fr,"\xA0","\\nobreakspace"),h(D,ne,fr,null,"\\nobreak"),h(D,ne,fr,null,"\\allowbreak"),h(D,ne,Qn,",",","),h(D,ne,Qn,";",";"),h(D,st,mt,"\u22BC","\\barwedge",!0),h(D,st,mt,"\u22BB","\\veebar",!0),h(D,ne,mt,"\u2299","\\odot",!0),h(D,ne,mt,"\u2295","\\oplus",!0),h(D,ne,mt,"\u2297","\\otimes",!0),h(D,ne,et,"\u2202","\\partial",!0),h(D,ne,mt,"\u2298","\\oslash",!0),h(D,st,mt,"\u229A","\\circledcirc",!0),h(D,st,mt,"\u22A1","\\boxdot",!0),h(D,ne,mt,"\u25B3","\\bigtriangleup"),h(D,ne,mt,"\u25BD","\\bigtriangledown"),h(D,ne,mt,"\u2020","\\dagger"),h(D,ne,mt,"\u22C4","\\diamond"),h(D,ne,mt,"\u22C6","\\star"),h(D,ne,mt,"\u25C3","\\triangleleft"),h(D,ne,mt,"\u25B9","\\triangleright"),h(D,ne,vn,"{","\\{"),h(Ee,ne,et,"{","\\{"),h(Ee,ne,et,"{","\\textbraceleft"),h(D,ne,Zt,"}","\\}"),h(Ee,ne,et,"}","\\}"),h(Ee,ne,et,"}","\\textbraceright"),h(D,ne,vn,"{","\\lbrace"),h(D,ne,Zt,"}","\\rbrace"),h(D,ne,vn,"[","\\lbrack",!0),h(Ee,ne,et,"[","\\lbrack",!0),h(D,ne,Zt,"]","\\rbrack",!0),h(Ee,ne,et,"]","\\rbrack",!0),h(D,ne,vn,"(","\\lparen",!0),h(D,ne,Zt,")","\\rparen",!0),h(Ee,ne,et,"<","\\textless",!0),h(Ee,ne,et,">","\\textgreater",!0),h(D,ne,vn,"\u230A","\\lfloor",!0),h(D,ne,Zt,"\u230B","\\rfloor",!0),h(D,ne,vn,"\u2308","\\lceil",!0),h(D,ne,Zt,"\u2309","\\rceil",!0),h(D,ne,et,"\\","\\backslash"),h(D,ne,et,"\u2223","|"),h(D,ne,et,"\u2223","\\vert"),h(Ee,ne,et,"|","\\textbar",!0),h(D,ne,et,"\u2225","\\|"),h(D,ne,et,"\u2225","\\Vert"),h(Ee,ne,et,"\u2225","\\textbardbl"),h(Ee,ne,et,"~","\\textasciitilde"),h(Ee,ne,et,"\\","\\textbackslash"),h(Ee,ne,et,"^","\\textasciicircum"),h(D,ne,ge,"\u2191","\\uparrow",!0),h(D,ne,ge,"\u21D1","\\Uparrow",!0),h(D,ne,ge,"\u2193","\\downarrow",!0),h(D,ne,ge,"\u21D3","\\Downarrow",!0),h(D,ne,ge,"\u2195","\\updownarrow",!0),h(D,ne,ge,"\u21D5","\\Updownarrow",!0),h(D,ne,Jr,"\u2210","\\coprod"),h(D,ne,Jr,"\u22C1","\\bigvee"),h(D,ne,Jr,"\u22C0","\\bigwedge"),h(D,ne,Jr,"\u2A04","\\biguplus"),h(D,ne,Jr,"\u22C2","\\bigcap"),h(D,ne,Jr,"\u22C3","\\bigcup"),h(D,ne,Jr,"\u222B","\\int"),h(D,ne,Jr,"\u222B","\\intop"),h(D,ne,Jr,"\u222C","\\iint"),h(D,ne,Jr,"\u222D","\\iiint"),h(D,ne,Jr,"\u220F","\\prod"),h(D,ne,Jr,"\u2211","\\sum"),h(D,ne,Jr,"\u2A02","\\bigotimes"),h(D,ne,Jr,"\u2A01","\\bigoplus"),h(D,ne,Jr,"\u2A00","\\bigodot"),h(D,ne,Jr,"\u222E","\\oint"),h(D,ne,Jr,"\u222F","\\oiint"),h(D,ne,Jr,"\u2230","\\oiiint"),h(D,ne,Jr,"\u2A06","\\bigsqcup"),h(D,ne,Jr,"\u222B","\\smallint"),h(Ee,ne,Ur,"\u2026","\\textellipsis"),h(D,ne,Ur,"\u2026","\\mathellipsis"),h(Ee,ne,Ur,"\u2026","\\ldots",!0),h(D,ne,Ur,"\u2026","\\ldots",!0),h(D,ne,Ur,"\u22EF","\\@cdots",!0),h(D,ne,Ur,"\u22F1","\\ddots",!0),h(D,ne,et,"\u22EE","\\varvdots"),h(Ee,ne,et,"\u22EE","\\varvdots"),h(D,ne,gn,"\u02CA","\\acute"),h(D,ne,gn,"\u02CB","\\grave"),h(D,ne,gn,"\xA8","\\ddot"),h(D,ne,gn,"~","\\tilde"),h(D,ne,gn,"\u02C9","\\bar"),h(D,ne,gn,"\u02D8","\\breve"),h(D,ne,gn,"\u02C7","\\check"),h(D,ne,gn,"^","\\hat"),h(D,ne,gn,"\u20D7","\\vec"),h(D,ne,gn,"\u02D9","\\dot"),h(D,ne,gn,"\u02DA","\\mathring"),h(D,ne,Pr,"\uE131","\\@imath"),h(D,ne,Pr,"\uE237","\\@jmath"),h(D,ne,et,"\u0131","\u0131"),h(D,ne,et,"\u0237","\u0237"),h(Ee,ne,et,"\u0131","\\i",!0),h(Ee,ne,et,"\u0237","\\j",!0),h(Ee,ne,et,"\xDF","\\ss",!0),h(Ee,ne,et,"\xE6","\\ae",!0),h(Ee,ne,et,"\u0153","\\oe",!0),h(Ee,ne,et,"\xF8","\\o",!0),h(Ee,ne,et,"\xC6","\\AE",!0),h(Ee,ne,et,"\u0152","\\OE",!0),h(Ee,ne,et,"\xD8","\\O",!0),h(Ee,ne,gn,"\u02CA","\\'"),h(Ee,ne,gn,"\u02CB","\\`"),h(Ee,ne,gn,"\u02C6","\\^"),h(Ee,ne,gn,"\u02DC","\\~"),h(Ee,ne,gn,"\u02C9","\\="),h(Ee,ne,gn,"\u02D8","\\u"),h(Ee,ne,gn,"\u02D9","\\."),h(Ee,ne,gn,"\xB8","\\c"),h(Ee,ne,gn,"\u02DA","\\r"),h(Ee,ne,gn,"\u02C7","\\v"),h(Ee,ne,gn,"\xA8",'\\"'),h(Ee,ne,gn,"\u02DD","\\H"),h(Ee,ne,gn,"\u25EF","\\textcircled");var Ir={"--":!0,"---":!0,"``":!0,"''":!0};h(Ee,ne,et,"\u2013","--",!0),h(Ee,ne,et,"\u2013","\\textendash"),h(Ee,ne,et,"\u2014","---",!0),h(Ee,ne,et,"\u2014","\\textemdash"),h(Ee,ne,et,"\u2018","`",!0),h(Ee,ne,et,"\u2018","\\textquoteleft"),h(Ee,ne,et,"\u2019","'",!0),h(Ee,ne,et,"\u2019","\\textquoteright"),h(Ee,ne,et,"\u201C","``",!0),h(Ee,ne,et,"\u201C","\\textquotedblleft"),h(Ee,ne,et,"\u201D","''",!0),h(Ee,ne,et,"\u201D","\\textquotedblright"),h(D,ne,et,"\xB0","\\degree",!0),h(Ee,ne,et,"\xB0","\\degree"),h(Ee,ne,et,"\xB0","\\textdegree",!0),h(D,ne,et,"\xA3","\\pounds"),h(D,ne,et,"\xA3","\\mathsterling",!0),h(Ee,ne,et,"\xA3","\\pounds"),h(Ee,ne,et,"\xA3","\\textsterling",!0),h(D,st,et,"\u2720","\\maltese"),h(Ee,st,et,"\u2720","\\maltese");for(var Vr='0123456789/@."',Sn=0;Sn<Vr.length;Sn++){var ra=Vr.charAt(Sn);h(D,ne,et,ra,ra)}for(var gt='0123456789!@*()-=+";:?/.,',rr=0;rr<gt.length;rr++){var sr=gt.charAt(rr);h(Ee,ne,et,sr,sr)}for(var or="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",jr=0;jr<or.length;jr++){var on=or.charAt(jr);h(D,ne,Pr,on,on),h(Ee,ne,et,on,on)}h(D,st,et,"C","\u2102"),h(Ee,st,et,"C","\u2102"),h(D,st,et,"H","\u210D"),h(Ee,st,et,"H","\u210D"),h(D,st,et,"N","\u2115"),h(Ee,st,et,"N","\u2115"),h(D,st,et,"P","\u2119"),h(Ee,st,et,"P","\u2119"),h(D,st,et,"Q","\u211A"),h(Ee,st,et,"Q","\u211A"),h(D,st,et,"R","\u211D"),h(Ee,st,et,"R","\u211D"),h(D,st,et,"Z","\u2124"),h(Ee,st,et,"Z","\u2124"),h(D,ne,Pr,"h","\u210E"),h(Ee,ne,Pr,"h","\u210E");for(var Hr="",Dr=0;Dr<or.length;Dr++){var nn=or.charAt(Dr);Hr=String.fromCharCode(55349,56320+Dr),h(D,ne,Pr,nn,Hr),h(Ee,ne,et,nn,Hr),Hr=String.fromCharCode(55349,56372+Dr),h(D,ne,Pr,nn,Hr),h(Ee,ne,et,nn,Hr),Hr=String.fromCharCode(55349,56424+Dr),h(D,ne,Pr,nn,Hr),h(Ee,ne,et,nn,Hr),Hr=String.fromCharCode(55349,56580+Dr),h(D,ne,Pr,nn,Hr),h(Ee,ne,et,nn,Hr),Hr=String.fromCharCode(55349,56684+Dr),h(D,ne,Pr,nn,Hr),h(Ee,ne,et,nn,Hr),Hr=String.fromCharCode(55349,56736+Dr),h(D,ne,Pr,nn,Hr),h(Ee,ne,et,nn,Hr),Hr=String.fromCharCode(55349,56788+Dr),h(D,ne,Pr,nn,Hr),h(Ee,ne,et,nn,Hr),Hr=String.fromCharCode(55349,56840+Dr),h(D,ne,Pr,nn,Hr),h(Ee,ne,et,nn,Hr),Hr=String.fromCharCode(55349,56944+Dr),h(D,ne,Pr,nn,Hr),h(Ee,ne,et,nn,Hr),Dr<26&&(Hr=String.fromCharCode(55349,56632+Dr),h(D,ne,Pr,nn,Hr),h(Ee,ne,et,nn,Hr),Hr=String.fromCharCode(55349,56476+Dr),h(D,ne,Pr,nn,Hr),h(Ee,ne,et,nn,Hr))}Hr="\u{1D55C}",h(D,ne,Pr,"k",Hr),h(Ee,ne,et,"k",Hr);for(var sn=0;sn<10;sn++){var $n=sn.toString();Hr=String.fromCharCode(55349,57294+sn),h(D,ne,Pr,$n,Hr),h(Ee,ne,et,$n,Hr),Hr=String.fromCharCode(55349,57314+sn),h(D,ne,Pr,$n,Hr),h(Ee,ne,et,$n,Hr),Hr=String.fromCharCode(55349,57324+sn),h(D,ne,Pr,$n,Hr),h(Ee,ne,et,$n,Hr),Hr=String.fromCharCode(55349,57334+sn),h(D,ne,Pr,$n,Hr),h(Ee,ne,et,$n,Hr)}for(var Pn="\xD0\xDE\xFE",On=0;On<Pn.length;On++){var Tn=Pn.charAt(On);h(D,ne,Pr,Tn,Tn),h(Ee,ne,et,Tn,Tn)}var na=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],tn=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],An=function(e,t){var d=e.charCodeAt(0),O=e.charCodeAt(1),K=(d-55296)*1024+(O-56320)+65536,Oe=t==="math"?0:1;if(119808<=K&&K<120484){var Ke=Math.floor((K-119808)/26);return[na[Ke][2],na[Ke][Oe]]}else if(120782<=K&&K<=120831){var Ye=Math.floor((K-120782)/10);return[tn[Ye][2],tn[Ye][Oe]]}else{if(K===120485||K===120486)return[na[0][2],na[0][Oe]];if(120486<K&&K<120782)return["",""];throw new q("Unsupported character: "+e)}},qn=function(e,t,d){return Lr[d][e]&&Lr[d][e].replace&&(e=Lr[d][e].replace),{value:e,metrics:Me(e,t,d)}},da=function(e,t,d,O,K){var Oe=qn(e,t,d),Ke=Oe.metrics;e=Oe.value;var Ye;if(Ke){var Xt=Ke.italic;(d==="text"||O&&O.font==="mathit")&&(Xt=0),Ye=new Be(e,Ke.height,Ke.depth,Xt,Ke.skew,Ke.width,K)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+e+"' in style '"+t+"' and mode '"+d+"'")),Ye=new Be(e,0,0,0,0,0,K);if(O){Ye.maxFontSize=O.sizeMultiplier,O.style.isTight()&&Ye.classes.push("mtight");var ur=O.getColor();ur&&(Ye.style.color=ur)}return Ye},Ln=function(e,t,d,O){return O===void 0&&(O=[]),d.font==="boldsymbol"&&qn(e,"Main-Bold",t).metrics?da(e,"Main-Bold",t,d,O.concat(["mathbf"])):e==="\\"||Lr[t][e].font==="main"?da(e,"Main-Regular",t,d,O):da(e,"AMS-Regular",t,d,O.concat(["amsrm"]))},aa=function(e,t,d,O,K){return K!=="textord"&&qn(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Kn=function(e,t,d){var O=e.mode,K=e.text,Oe=["mord"],Ke=O==="math"||O==="text"&&t.font,Ye=Ke?t.font:t.fontFamily,Xt="",ur="";if(K.charCodeAt(0)===55349&&([Xt,ur]=An(K,O)),Xt.length>0)return da(K,Xt,O,t,Oe.concat(ur));if(Ye){var pr,Tr;if(Ye==="boldsymbol"){var Wr=aa(K,O,t,Oe,d);pr=Wr.fontName,Tr=[Wr.fontClass]}else Ke?(pr=b[Ye].fontName,Tr=[Ye]):(pr=p(Ye,t.fontWeight,t.fontShape),Tr=[Ye,t.fontWeight,t.fontShape]);if(qn(K,pr,O).metrics)return da(K,pr,O,t,Oe.concat(Tr));if(Ir.hasOwnProperty(K)&&pr.slice(0,10)==="Typewriter"){for(var ln=[],In=0;In<K.length;In++)ln.push(da(K[In],pr,O,t,Oe.concat(Tr)));return ao(ln)}}if(d==="mathord")return da(K,"Math-Italic",O,t,Oe.concat(["mathnormal"]));if(d==="textord"){var Hn=Lr[O][K]&&Lr[O][K].font;if(Hn==="ams"){var Nn=p("amsrm",t.fontWeight,t.fontShape);return da(K,Nn,O,t,Oe.concat("amsrm",t.fontWeight,t.fontShape))}else if(Hn==="main"||!Hn){var Fn=p("textrm",t.fontWeight,t.fontShape);return da(K,Fn,O,t,Oe.concat(t.fontWeight,t.fontShape))}else{var Oa=p(Hn,t.fontWeight,t.fontShape);return da(K,Oa,O,t,Oe.concat(Oa,t.fontWeight,t.fontShape))}}else throw new Error("unexpected type: "+d+" in makeOrd")},Zn=(u,e)=>{if(er(u.classes)!==er(e.classes)||u.skew!==e.skew||u.maxFontSize!==e.maxFontSize)return!1;if(u.classes.length===1){var t=u.classes[0];if(t==="mbin"||t==="mord")return!1}for(var d in u.style)if(u.style.hasOwnProperty(d)&&u.style[d]!==e.style[d])return!1;for(var O in e.style)if(e.style.hasOwnProperty(O)&&u.style[O]!==e.style[O])return!1;return!0},ea=u=>{for(var e=0;e<u.length-1;e++){var t=u[e],d=u[e+1];t instanceof Be&&d instanceof Be&&Zn(t,d)&&(t.text+=d.text,t.height=Math.max(t.height,d.height),t.depth=Math.max(t.depth,d.depth),t.italic=d.italic,u.splice(e+1,1),e--)}return u},zn=function(e){for(var t=0,d=0,O=0,K=0;K<e.children.length;K++){var Oe=e.children[K];Oe.height>t&&(t=Oe.height),Oe.depth>d&&(d=Oe.depth),Oe.maxFontSize>O&&(O=Oe.maxFontSize)}e.height=t,e.depth=d,e.maxFontSize=O},xn=function(e,t,d,O){var K=new x(e,t,d,O);return zn(K),K},Xn=(u,e,t,d)=>new x(u,e,t,d),Ca=function(e,t,d){var O=xn([e],[],t);return O.height=Math.max(d||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),O.style.borderBottomWidth=Ct(O.height),O.maxFontSize=1,O},Fa=function(e,t,d,O){var K=new H(e,t,d,O);return zn(K),K},ao=function(e){var t=new he(e);return zn(t),t},oo=function(e,t){return e instanceof he?xn([],[e],t):e},uo=function(e){if(e.positionType==="individualShift"){for(var t=e.children,d=[t[0]],O=-t[0].shift-t[0].elem.depth,K=O,Oe=1;Oe<t.length;Oe++){var Ke=-t[Oe].shift-K-t[Oe].elem.depth,Ye=Ke-(t[Oe-1].elem.height+t[Oe-1].elem.depth);K=K+Ke,d.push({type:"kern",size:Ye}),d.push(t[Oe])}return{children:d,depth:O}}var Xt;if(e.positionType==="top"){for(var ur=e.positionData,pr=0;pr<e.children.length;pr++){var Tr=e.children[pr];ur-=Tr.type==="kern"?Tr.size:Tr.elem.height+Tr.elem.depth}Xt=ur}else if(e.positionType==="bottom")Xt=-e.positionData;else{var Wr=e.children[0];if(Wr.type!=="elem")throw new Error('First child must have type "elem".');if(e.positionType==="shift")Xt=-Wr.elem.depth-e.positionData;else if(e.positionType==="firstBaseline")Xt=-Wr.elem.depth;else throw new Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:Xt}},f=function(e,t){for(var{children:d,depth:O}=uo(e),K=0,Oe=0;Oe<d.length;Oe++){var Ke=d[Oe];if(Ke.type==="elem"){var Ye=Ke.elem;K=Math.max(K,Ye.maxFontSize,Ye.height)}}K+=2;var Xt=xn(["pstrut"],[]);Xt.style.height=Ct(K);for(var ur=[],pr=O,Tr=O,Wr=O,ln=0;ln<d.length;ln++){var In=d[ln];if(In.type==="kern")Wr+=In.size;else{var Hn=In.elem,Nn=In.wrapperClasses||[],Fn=In.wrapperStyle||{},Oa=xn(Nn,[Xt,Hn],void 0,Fn);Oa.style.top=Ct(-K-Wr-Hn.depth),In.marginLeft&&(Oa.style.marginLeft=In.marginLeft),In.marginRight&&(Oa.style.marginRight=In.marginRight),ur.push(Oa),Wr+=Hn.height+Hn.depth}pr=Math.min(pr,Wr),Tr=Math.max(Tr,Wr)}var Ba=xn(["vlist"],ur);Ba.style.height=Ct(Tr);var Ia;if(pr<0){var Ka=xn([],[]),Ga=xn(["vlist"],[Ka]);Ga.style.height=Ct(-pr);var fo=xn(["vlist-s"],[new Be("\u200B")]);Ia=[xn(["vlist-r"],[Ba,fo]),xn(["vlist-r"],[Ga])]}else Ia=[xn(["vlist-r"],[Ba])];var Xa=xn(["vlist-t"],Ia);return Ia.length===2&&Xa.classes.push("vlist-t2"),Xa.height=Tr,Xa.depth=-pr,Xa},s=(u,e)=>{var t=xn(["mspace"],[],e),d=Ht(u,e);return t.style.marginRight=Ct(d),t},p=function(e,t,d){var O="";switch(e){case"amsrm":O="AMS";break;case"textrm":O="Main";break;case"textsf":O="SansSerif";break;case"texttt":O="Typewriter";break;default:O=e}var K;return t==="textbf"&&d==="textit"?K="BoldItalic":t==="textbf"?K="Bold":t==="textit"?K="Italic":K="Regular",O+"-"+K},b={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},$={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},v=function(e,t){var[d,O,K]=$[e],Oe=new $r(d),Ke=new zr([Oe],{width:Ct(O),height:Ct(K),style:"width:"+Ct(O),viewBox:"0 0 "+1e3*O+" "+1e3*K,preserveAspectRatio:"xMinYMin"}),Ye=Xn(["overlay"],[Ke],t);return Ye.height=K,Ye.style.height=Ct(K),Ye.style.width=Ct(O),Ye},B={fontMap:b,makeSymbol:da,mathsym:Ln,makeSpan:xn,makeSvgSpan:Xn,makeLineSpan:Ca,makeAnchor:Fa,makeFragment:ao,wrapFragment:oo,makeVList:f,makeOrd:Kn,makeGlue:s,staticSvg:v,svgData:$,tryCombineChars:ea},U={number:3,unit:"mu"},re={number:4,unit:"mu"},Ae={number:5,unit:"mu"},lt={mord:{mop:U,mbin:re,mrel:Ae,minner:U},mop:{mord:U,mop:U,mrel:Ae,minner:U},mbin:{mord:re,mop:re,mopen:re,minner:re},mrel:{mord:Ae,mop:Ae,mopen:Ae,minner:Ae},mopen:{},mclose:{mop:U,mbin:re,mrel:Ae,minner:U},mpunct:{mord:U,mop:U,mrel:Ae,mopen:U,mclose:U,mpunct:U,minner:U},minner:{mord:U,mop:U,mbin:re,mrel:Ae,mopen:U,mpunct:U,minner:U}},It={mord:{mop:U},mop:{mord:U,mop:U},mbin:{},mrel:{},mopen:{},mclose:{mop:U},mpunct:{},minner:{mop:U}},Et={},ve={},kt={};function Ge(u){for(var{type:e,names:t,props:d,handler:O,htmlBuilder:K,mathmlBuilder:Oe}=u,Ke={type:e,numArgs:d.numArgs,argTypes:d.argTypes,allowedInArgument:!!d.allowedInArgument,allowedInText:!!d.allowedInText,allowedInMath:d.allowedInMath===void 0?!0:d.allowedInMath,numOptionalArgs:d.numOptionalArgs||0,infix:!!d.infix,primitive:!!d.primitive,handler:O},Ye=0;Ye<t.length;++Ye)Et[t[Ye]]=Ke;e&&(K&&(ve[e]=K),Oe&&(kt[e]=Oe))}function Vt(u){var{type:e,htmlBuilder:t,mathmlBuilder:d}=u;Ge({type:e,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:t,mathmlBuilder:d})}var vt=function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},nr=function(e){return e.type==="ordgroup"?e.body:[e]},xr=B.makeSpan,Qt=["leftmost","mbin","mopen","mrel","mop","mpunct"],nt=["rightmost","mrel","mclose","mpunct"],Ce={display:k.DISPLAY,text:k.TEXT,script:k.SCRIPT,scriptscript:k.SCRIPTSCRIPT},Ut={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Nt=function(e,t,d,O){O===void 0&&(O=[null,null]);for(var K=[],Oe=0;Oe<e.length;Oe++){var Ke=dt(e[Oe],t);if(Ke instanceof he){var Ye=Ke.children;K.push(...Ye)}else K.push(Ke)}if(B.tryCombineChars(K),!d)return K;var Xt=t;if(e.length===1){var ur=e[0];ur.type==="sizing"?Xt=t.havingSize(ur.size):ur.type==="styling"&&(Xt=t.havingStyle(Ce[ur.style]))}var pr=xr([O[0]||"leftmost"],[],t),Tr=xr([O[1]||"rightmost"],[],t),Wr=d==="root";return $t(K,(ln,In)=>{var Hn=In.classes[0],Nn=ln.classes[0];Hn==="mbin"&&A.contains(nt,Nn)?In.classes[0]="mord":Nn==="mbin"&&A.contains(Qt,Hn)&&(ln.classes[0]="mord")},{node:pr},Tr,Wr),$t(K,(ln,In)=>{var Hn=ze(In),Nn=ze(ln),Fn=Hn&&Nn?ln.hasClass("mtight")?It[Hn][Nn]:lt[Hn][Nn]:null;if(Fn)return B.makeGlue(Fn,Xt)},{node:pr},Tr,Wr),K},$t=function u(e,t,d,O,K){O&&e.push(O);for(var Oe=0;Oe<e.length;Oe++){var Ke=e[Oe],Ye=qt(Ke);if(Ye){u(Ye.children,t,d,null,K);continue}var Xt=!Ke.hasClass("mspace");if(Xt){var ur=t(Ke,d.node);ur&&(d.insertAfter?d.insertAfter(ur):(e.unshift(ur),Oe++))}Xt?d.node=Ke:K&&Ke.hasClass("newline")&&(d.node=xr(["leftmost"])),d.insertAfter=(pr=>Tr=>{e.splice(pr+1,0,Tr),Oe++})(Oe)}O&&e.pop()},qt=function(e){return e instanceof he||e instanceof H||e instanceof x&&e.hasClass("enclosing")?e:null},He=function u(e,t){var d=qt(e);if(d){var O=d.children;if(O.length){if(t==="right")return u(O[O.length-1],"right");if(t==="left")return u(O[0],"left")}}return e},ze=function(e,t){return e?(t&&(e=He(e,t)),Ut[e.classes[0]]||null):null},At=function(e,t){var d=["nulldelimiter"].concat(e.baseSizingClasses());return xr(t.concat(d))},dt=function(e,t,d){if(!e)return xr();if(ve[e.type]){var O=ve[e.type](e,t);if(d&&t.size!==d.size){O=xr(t.sizingClasses(d),[O],t);var K=t.sizeMultiplier/d.sizeMultiplier;O.height*=K,O.depth*=K}return O}else throw new q("Got group of unknown type: '"+e.type+"'")};function dr(u,e){var t=xr(["base"],u,e),d=xr(["strut"]);return d.style.height=Ct(t.height+t.depth),t.depth&&(d.style.verticalAlign=Ct(-t.depth)),t.children.unshift(d),t}function br(u,e){var t=null;u.length===1&&u[0].type==="tag"&&(t=u[0].tag,u=u[0].body);var d=Nt(u,e,"root"),O;d.length===2&&d[1].hasClass("tag")&&(O=d.pop());for(var K=[],Oe=[],Ke=0;Ke<d.length;Ke++)if(Oe.push(d[Ke]),d[Ke].hasClass("mbin")||d[Ke].hasClass("mrel")||d[Ke].hasClass("allowbreak")){for(var Ye=!1;Ke<d.length-1&&d[Ke+1].hasClass("mspace")&&!d[Ke+1].hasClass("newline");)Ke++,Oe.push(d[Ke]),d[Ke].hasClass("nobreak")&&(Ye=!0);Ye||(K.push(dr(Oe,e)),Oe=[])}else d[Ke].hasClass("newline")&&(Oe.pop(),Oe.length>0&&(K.push(dr(Oe,e)),Oe=[]),K.push(d[Ke]));Oe.length>0&&K.push(dr(Oe,e));var Xt;t?(Xt=dr(Nt(t,e,!0)),Xt.classes=["tag"],K.push(Xt)):O&&K.push(O);var ur=xr(["katex-html"],K);if(ur.setAttribute("aria-hidden","true"),Xt){var pr=Xt.children[0];pr.style.height=Ct(ur.height+ur.depth),ur.depth&&(pr.style.verticalAlign=Ct(-ur.depth))}return ur}function Jt(u){return new he(u)}class Tt{constructor(e,t,d){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=d||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=er(this.classes));for(var d=0;d<this.children.length;d++)if(this.children[d]instanceof ir&&this.children[d+1]instanceof ir){for(var O=this.children[d].toText()+this.children[++d].toText();this.children[d+1]instanceof ir;)O+=this.children[++d].toText();e.appendChild(new ir(O).toNode())}else e.appendChild(this.children[d].toNode());return e}toMarkup(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=A.escape(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+A.escape(er(this.classes))+'"'),e+=">";for(var d=0;d<this.children.length;d++)e+=this.children[d].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}}class ir{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return A.escape(this.toText())}toText(){return this.text}}class Zr{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character="\u200A":e>=.1666&&e<=.1667?this.character="\u2009":e>=.2222&&e<=.2223?this.character="\u2005":e>=.2777&&e<=.2778?this.character="\u2005\u200A":e>=-.05556&&e<=-.05555?this.character="\u200A\u2063":e>=-.1667&&e<=-.1666?this.character="\u2009\u2063":e>=-.2223&&e<=-.2222?this.character="\u205F\u2063":e>=-.2778&&e<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",Ct(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Ct(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Wt={MathNode:Tt,TextNode:ir,SpaceNode:Zr,newDocumentFragment:Jt},Pe=function(e,t,d){return Lr[t][e]&&Lr[t][e].replace&&e.charCodeAt(0)!==55349&&!(Ir.hasOwnProperty(e)&&d&&(d.fontFamily&&d.fontFamily.slice(4,6)==="tt"||d.font&&d.font.slice(4,6)==="tt"))&&(e=Lr[t][e].replace),new Wt.TextNode(e)},yt=function(e){return e.length===1?e[0]:new Wt.MathNode("mrow",e)},Bt=function(e,t){if(t.fontFamily==="texttt")return"monospace";if(t.fontFamily==="textsf")return t.fontShape==="textit"&&t.fontWeight==="textbf"?"sans-serif-bold-italic":t.fontShape==="textit"?"sans-serif-italic":t.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(t.fontShape==="textit"&&t.fontWeight==="textbf")return"bold-italic";if(t.fontShape==="textit")return"italic";if(t.fontWeight==="textbf")return"bold";var d=t.font;if(!d||d==="mathnormal")return null;var O=e.mode;if(d==="mathit")return"italic";if(d==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(d==="mathbf")return"bold";if(d==="mathbb")return"double-struck";if(d==="mathsfit")return"sans-serif-italic";if(d==="mathfrak")return"fraktur";if(d==="mathscr"||d==="mathcal")return"script";if(d==="mathsf")return"sans-serif";if(d==="mathtt")return"monospace";var K=e.text;if(A.contains(["\\imath","\\jmath"],K))return null;Lr[O][K]&&Lr[O][K].replace&&(K=Lr[O][K].replace);var Oe=B.fontMap[d].fontName;return Me(K,Oe,O)?B.fontMap[d].variant:null};function ht(u){if(!u)return!1;if(u.type==="mi"&&u.children.length===1){var e=u.children[0];return e instanceof ir&&e.text==="."}else if(u.type==="mo"&&u.children.length===1&&u.getAttribute("separator")==="true"&&u.getAttribute("lspace")==="0em"&&u.getAttribute("rspace")==="0em"){var t=u.children[0];return t instanceof ir&&t.text===","}else return!1}var Yt=function(e,t,d){if(e.length===1){var O=mr(e[0],t);return d&&O instanceof Tt&&O.type==="mo"&&(O.setAttribute("lspace","0em"),O.setAttribute("rspace","0em")),[O]}for(var K=[],Oe,Ke=0;Ke<e.length;Ke++){var Ye=mr(e[Ke],t);if(Ye instanceof Tt&&Oe instanceof Tt){if(Ye.type==="mtext"&&Oe.type==="mtext"&&Ye.getAttribute("mathvariant")===Oe.getAttribute("mathvariant")){Oe.children.push(...Ye.children);continue}else if(Ye.type==="mn"&&Oe.type==="mn"){Oe.children.push(...Ye.children);continue}else if(ht(Ye)&&Oe.type==="mn"){Oe.children.push(...Ye.children);continue}else if(Ye.type==="mn"&&ht(Oe))Ye.children=[...Oe.children,...Ye.children],K.pop();else if((Ye.type==="msup"||Ye.type==="msub")&&Ye.children.length>=1&&(Oe.type==="mn"||ht(Oe))){var Xt=Ye.children[0];Xt instanceof Tt&&Xt.type==="mn"&&(Xt.children=[...Oe.children,...Xt.children],K.pop())}else if(Oe.type==="mi"&&Oe.children.length===1){var ur=Oe.children[0];if(ur instanceof ir&&ur.text==="\u0338"&&(Ye.type==="mo"||Ye.type==="mi"||Ye.type==="mn")){var pr=Ye.children[0];pr instanceof ir&&pr.text.length>0&&(pr.text=pr.text.slice(0,1)+"\u0338"+pr.text.slice(1),K.pop())}}}K.push(Ye),Oe=Ye}return K},lr=function(e,t,d){return yt(Yt(e,t,d))},mr=function(e,t){if(!e)return new Wt.MathNode("mrow");if(kt[e.type]){var d=kt[e.type](e,t);return d}else throw new q("Got group of unknown type: '"+e.type+"'")};function Or(u,e,t,d,O){var K=Yt(u,t),Oe;K.length===1&&K[0]instanceof Tt&&A.contains(["mrow","mtable"],K[0].type)?Oe=K[0]:Oe=new Wt.MathNode("mrow",K);var Ke=new Wt.MathNode("annotation",[new Wt.TextNode(e)]);Ke.setAttribute("encoding","application/x-tex");var Ye=new Wt.MathNode("semantics",[Oe,Ke]),Xt=new Wt.MathNode("math",[Ye]);Xt.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),d&&Xt.setAttribute("display","block");var ur=O?"katex":"katex-mathml";return B.makeSpan([ur],[Xt])}var Rr=function(e){return new Pt({style:e.displayMode?k.DISPLAY:k.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Fr=function(e,t){if(t.displayMode){var d=["katex-display"];t.leqno&&d.push("leqno"),t.fleqn&&d.push("fleqn"),e=B.makeSpan(d,[e])}return e},un=function(e,t,d){var O=Rr(d),K;if(d.output==="mathml")return Or(e,t,O,d.displayMode,!0);if(d.output==="html"){var Oe=br(e,O);K=B.makeSpan(["katex"],[Oe])}else{var Ke=Or(e,t,O,d.displayMode,!1),Ye=br(e,O);K=B.makeSpan(["katex"],[Ke,Ye])}return Fr(K,d)},wn=function(e,t,d){var O=Rr(d),K=br(e,O),Oe=B.makeSpan(["katex"],[K]);return Fr(Oe,d)},Mr={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},Lt=function(e){var t=new Wt.MathNode("mo",[new Wt.TextNode(Mr[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},ya={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},ha=function(e){return e.type==="ordgroup"?e.body.length:1},Wn=function(e,t){function d(){var Ke=4e5,Ye=e.label.slice(1);if(A.contains(["widehat","widecheck","widetilde","utilde"],Ye)){var Xt=e,ur=ha(Xt.base),pr,Tr,Wr;if(ur>5)Ye==="widehat"||Ye==="widecheck"?(pr=420,Ke=2364,Wr=.42,Tr=Ye+"4"):(pr=312,Ke=2340,Wr=.34,Tr="tilde4");else{var ln=[1,1,2,2,3,3][ur];Ye==="widehat"||Ye==="widecheck"?(Ke=[0,1062,2364,2364,2364][ln],pr=[0,239,300,360,420][ln],Wr=[0,.24,.3,.3,.36,.42][ln],Tr=Ye+ln):(Ke=[0,600,1033,2339,2340][ln],pr=[0,260,286,306,312][ln],Wr=[0,.26,.286,.3,.306,.34][ln],Tr="tilde"+ln)}var In=new $r(Tr),Hn=new zr([In],{width:"100%",height:Ct(Wr),viewBox:"0 0 "+Ke+" "+pr,preserveAspectRatio:"none"});return{span:B.makeSvgSpan([],[Hn],t),minWidth:0,height:Wr}}else{var Nn=[],Fn=ya[Ye],[Oa,Ba,Ia]=Fn,Ka=Ia/1e3,Ga=Oa.length,fo,Xa;if(Ga===1){var Go=Fn[3];fo=["hide-tail"],Xa=[Go]}else if(Ga===2)fo=["halfarrow-left","halfarrow-right"],Xa=["xMinYMin","xMaxYMin"];else if(Ga===3)fo=["brace-left","brace-center","brace-right"],Xa=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+Ga+" children.");for(var $o=0;$o<Ga;$o++){var mo=new $r(Oa[$o]),ri=new zr([mo],{width:"400em",height:Ct(Ka),viewBox:"0 0 "+Ke+" "+Ia,preserveAspectRatio:Xa[$o]+" slice"}),So=B.makeSvgSpan([fo[$o]],[ri],t);if(Ga===1)return{span:So,minWidth:Ba,height:Ka};So.style.height=Ct(Ka),Nn.push(So)}return{span:B.makeSpan(["stretchy"],Nn,t),minWidth:Ba,height:Ka}}}var{span:O,minWidth:K,height:Oe}=d();return O.height=Oe,O.style.height=Ct(Oe),K>0&&(O.style.minWidth=Ct(K)),O},an=function(e,t,d,O,K){var Oe,Ke=e.height+e.depth+d+O;if(/fbox|color|angl/.test(t)){if(Oe=B.makeSpan(["stretchy",t],[],K),t==="fbox"){var Ye=K.color&&K.getColor();Ye&&(Oe.style.borderColor=Ye)}}else{var Xt=[];/^[bx]cancel$/.test(t)&&Xt.push(new yn({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&Xt.push(new yn({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var ur=new zr(Xt,{width:"100%",height:Ct(Ke)});Oe=B.makeSvgSpan([],[ur],K)}return Oe.height=Ke,Oe.style.height=Ct(Ke),Oe},dn={encloseSpan:an,mathMLnode:Lt,svgSpan:Wn};function Gr(u,e){if(!u||u.type!==e)throw new Error("Expected node of type "+e+", but got "+(u?"node of type "+u.type:String(u)));return u}function la(u){var e=Gn(u);if(!e)throw new Error("Expected node of symbol group type, but got "+(u?"node of type "+u.type:String(u)));return e}function Gn(u){return u&&(u.type==="atom"||vr.hasOwnProperty(u.type))?u:null}var xa=(u,e)=>{var t,d,O;u&&u.type==="supsub"?(d=Gr(u.base,"accent"),t=d.base,u.base=t,O=Ft(dt(u,e)),u.base=d):(d=Gr(u,"accent"),t=d.base);var K=dt(t,e.havingCrampedStyle()),Oe=d.isShifty&&A.isCharacterBox(t),Ke=0;if(Oe){var Ye=A.getBaseElem(t),Xt=dt(Ye,e.havingCrampedStyle());Ke=Mn(Xt).skew}var ur=d.label==="\\c",pr=ur?K.height+K.depth:Math.min(K.height,e.fontMetrics().xHeight),Tr;if(d.isStretchy)Tr=dn.svgSpan(d,e),Tr=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:K},{type:"elem",elem:Tr,wrapperClasses:["svg-align"],wrapperStyle:Ke>0?{width:"calc(100% - "+Ct(2*Ke)+")",marginLeft:Ct(2*Ke)}:void 0}]},e);else{var Wr,ln;d.label==="\\vec"?(Wr=B.staticSvg("vec",e),ln=B.svgData.vec[1]):(Wr=B.makeOrd({mode:d.mode,text:d.label},e,"textord"),Wr=Mn(Wr),Wr.italic=0,ln=Wr.width,ur&&(pr+=Wr.depth)),Tr=B.makeSpan(["accent-body"],[Wr]);var In=d.label==="\\textcircled";In&&(Tr.classes.push("accent-full"),pr=K.height);var Hn=Ke;In||(Hn-=ln/2),Tr.style.left=Ct(Hn),d.label==="\\textcircled"&&(Tr.style.top=".2em"),Tr=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:K},{type:"kern",size:-pr},{type:"elem",elem:Tr}]},e)}var Nn=B.makeSpan(["mord","accent"],[Tr],e);return O?(O.children[0]=Nn,O.height=Math.max(Nn.height,O.height),O.classes[0]="mord",O):Nn},_n=(u,e)=>{var t=u.isStretchy?dn.mathMLnode(u.label):new Wt.MathNode("mo",[Pe(u.label,u.mode)]),d=new Wt.MathNode("mover",[mr(u.base,e),t]);return d.setAttribute("accent","true"),d},ca=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(u=>"\\"+u).join("|"));Ge({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(u,e)=>{var t=vt(e[0]),d=!ca.test(u.funcName),O=!d||u.funcName==="\\widehat"||u.funcName==="\\widetilde"||u.funcName==="\\widecheck";return{type:"accent",mode:u.parser.mode,label:u.funcName,isStretchy:d,isShifty:O,base:t}},htmlBuilder:xa,mathmlBuilder:_n}),Ge({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(u,e)=>{var t=e[0],d=u.parser.mode;return d==="math"&&(u.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+u.funcName+" works only in text mode"),d="text"),{type:"accent",mode:d,label:u.funcName,isStretchy:!1,isShifty:!0,base:t}},htmlBuilder:xa,mathmlBuilder:_n}),Ge({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(u,e)=>{var{parser:t,funcName:d}=u,O=e[0];return{type:"accentUnder",mode:t.mode,label:d,base:O}},htmlBuilder:(u,e)=>{var t=dt(u.base,e),d=dn.svgSpan(u,e),O=u.label==="\\utilde"?.12:0,K=B.makeVList({positionType:"top",positionData:t.height,children:[{type:"elem",elem:d,wrapperClasses:["svg-align"]},{type:"kern",size:O},{type:"elem",elem:t}]},e);return B.makeSpan(["mord","accentunder"],[K],e)},mathmlBuilder:(u,e)=>{var t=dn.mathMLnode(u.label),d=new Wt.MathNode("munder",[mr(u.base,e),t]);return d.setAttribute("accentunder","true"),d}});var Ra=u=>{var e=new Wt.MathNode("mpadded",u?[u]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};Ge({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(u,e,t){var{parser:d,funcName:O}=u;return{type:"xArrow",mode:d.mode,label:O,body:e[0],below:t[0]}},htmlBuilder(u,e){var t=e.style,d=e.havingStyle(t.sup()),O=B.wrapFragment(dt(u.body,d,e),e),K=u.label.slice(0,2)==="\\x"?"x":"cd";O.classes.push(K+"-arrow-pad");var Oe;u.below&&(d=e.havingStyle(t.sub()),Oe=B.wrapFragment(dt(u.below,d,e),e),Oe.classes.push(K+"-arrow-pad"));var Ke=dn.svgSpan(u,e),Ye=-e.fontMetrics().axisHeight+.5*Ke.height,Xt=-e.fontMetrics().axisHeight-.5*Ke.height-.111;(O.depth>.25||u.label==="\\xleftequilibrium")&&(Xt-=O.depth);var ur;if(Oe){var pr=-e.fontMetrics().axisHeight+Oe.height+.5*Ke.height+.111;ur=B.makeVList({positionType:"individualShift",children:[{type:"elem",elem:O,shift:Xt},{type:"elem",elem:Ke,shift:Ye},{type:"elem",elem:Oe,shift:pr}]},e)}else ur=B.makeVList({positionType:"individualShift",children:[{type:"elem",elem:O,shift:Xt},{type:"elem",elem:Ke,shift:Ye}]},e);return ur.children[0].children[0].children[1].classes.push("svg-align"),B.makeSpan(["mrel","x-arrow"],[ur],e)},mathmlBuilder(u,e){var t=dn.mathMLnode(u.label);t.setAttribute("minsize",u.label.charAt(0)==="x"?"1.75em":"3.0em");var d;if(u.body){var O=Ra(mr(u.body,e));if(u.below){var K=Ra(mr(u.below,e));d=new Wt.MathNode("munderover",[t,K,O])}else d=new Wt.MathNode("mover",[t,O])}else if(u.below){var Oe=Ra(mr(u.below,e));d=new Wt.MathNode("munder",[t,Oe])}else d=Ra(),d=new Wt.MathNode("mover",[t,d]);return d}});var oa=B.makeSpan;function kn(u,e){var t=Nt(u.body,e,!0);return oa([u.mclass],t,e)}function ia(u,e){var t,d=Yt(u.body,e);return u.mclass==="minner"?t=new Wt.MathNode("mpadded",d):u.mclass==="mord"?u.isCharacterBox?(t=d[0],t.type="mi"):t=new Wt.MathNode("mi",d):(u.isCharacterBox?(t=d[0],t.type="mo"):t=new Wt.MathNode("mo",d),u.mclass==="mbin"?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):u.mclass==="mpunct"?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):u.mclass==="mopen"||u.mclass==="mclose"?(t.attributes.lspace="0em",t.attributes.rspace="0em"):u.mclass==="minner"&&(t.attributes.lspace="0.0556em",t.attributes.width="+0.1111em")),t}Ge({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(u,e){var{parser:t,funcName:d}=u,O=e[0];return{type:"mclass",mode:t.mode,mclass:"m"+d.slice(5),body:nr(O),isCharacterBox:A.isCharacterBox(O)}},htmlBuilder:kn,mathmlBuilder:ia});var Rn=u=>{var e=u.type==="ordgroup"&&u.body.length?u.body[0]:u;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};Ge({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(u,e){var{parser:t}=u;return{type:"mclass",mode:t.mode,mclass:Rn(e[0]),body:nr(e[1]),isCharacterBox:A.isCharacterBox(e[1])}}}),Ge({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(u,e){var{parser:t,funcName:d}=u,O=e[1],K=e[0],Oe;d!=="\\stackrel"?Oe=Rn(O):Oe="mrel";var Ke={type:"op",mode:O.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:d!=="\\stackrel",body:nr(O)},Ye={type:"supsub",mode:K.mode,base:Ke,sup:d==="\\underset"?null:K,sub:d==="\\underset"?K:null};return{type:"mclass",mode:t.mode,mclass:Oe,body:[Ye],isCharacterBox:A.isCharacterBox(Ye)}},htmlBuilder:kn,mathmlBuilder:ia}),Ge({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(u,e){var{parser:t}=u;return{type:"pmb",mode:t.mode,mclass:Rn(e[0]),body:nr(e[0])}},htmlBuilder(u,e){var t=Nt(u.body,e,!0),d=B.makeSpan([u.mclass],t,e);return d.style.textShadow="0.02em 0.01em 0.04px",d},mathmlBuilder(u,e){var t=Yt(u.body,e),d=new Wt.MathNode("mstyle",t);return d.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),d}});var Bn={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Yn=()=>({type:"styling",body:[],mode:"math",style:"display"}),Qr=u=>u.type==="textord"&&u.text==="@",mn=(u,e)=>(u.type==="mathord"||u.type==="atom")&&u.text===e;function ua(u,e,t){var d=Bn[u];switch(d){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return t.callFunction(d,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var O=t.callFunction("\\\\cdleft",[e[0]],[]),K={type:"atom",text:d,mode:"math",family:"rel"},Oe=t.callFunction("\\Big",[K],[]),Ke=t.callFunction("\\\\cdright",[e[1]],[]),Ye={type:"ordgroup",mode:"math",body:[O,Oe,Ke]};return t.callFunction("\\\\cdparent",[Ye],[])}case"\\\\cdlongequal":return t.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var Xt={type:"textord",text:"\\Vert",mode:"math"};return t.callFunction("\\Big",[Xt],[])}default:return{type:"textord",text:" ",mode:"math"}}}function En(u){var e=[];for(u.gullet.beginGroup(),u.gullet.macros.set("\\cr","\\\\\\relax"),u.gullet.beginGroup();;){e.push(u.parseExpression(!1,"\\\\")),u.gullet.endGroup(),u.gullet.beginGroup();var t=u.fetch().text;if(t==="&"||t==="\\\\")u.consume();else if(t==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new q("Expected \\\\ or \\cr or \\end",u.nextToken)}for(var d=[],O=[d],K=0;K<e.length;K++){for(var Oe=e[K],Ke=Yn(),Ye=0;Ye<Oe.length;Ye++)if(!Qr(Oe[Ye]))Ke.body.push(Oe[Ye]);else{d.push(Ke),Ye+=1;var Xt=la(Oe[Ye]).text,ur=new Array(2);if(ur[0]={type:"ordgroup",mode:"math",body:[]},ur[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(Xt)>-1))if("<>AV".indexOf(Xt)>-1)for(var pr=0;pr<2;pr++){for(var Tr=!0,Wr=Ye+1;Wr<Oe.length;Wr++){if(mn(Oe[Wr],Xt)){Tr=!1,Ye=Wr;break}if(Qr(Oe[Wr]))throw new q("Missing a "+Xt+" character to complete a CD arrow.",Oe[Wr]);ur[pr].body.push(Oe[Wr])}if(Tr)throw new q("Missing a "+Xt+" character to complete a CD arrow.",Oe[Ye])}else throw new q('Expected one of "<>AV=|." after @',Oe[Ye]);var ln=ua(Xt,ur,u),In={type:"styling",body:[ln],mode:"math",style:"display"};d.push(In),Ke=Yn()}K%2===0?d.push(Ke):d.shift(),d=[],O.push(d)}u.gullet.endGroup(),u.gullet.endGroup();var Hn=new Array(O[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:O,arraystretch:1,addJot:!0,rowGaps:[null],cols:Hn,colSeparationType:"CD",hLinesBeforeRow:new Array(O.length+1).fill([])}}Ge({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(u,e){var{parser:t,funcName:d}=u;return{type:"cdlabel",mode:t.mode,side:d.slice(4),label:e[0]}},htmlBuilder(u,e){var t=e.havingStyle(e.style.sup()),d=B.wrapFragment(dt(u.label,t,e),e);return d.classes.push("cd-label-"+u.side),d.style.bottom=Ct(.8-d.depth),d.height=0,d.depth=0,d},mathmlBuilder(u,e){var t=new Wt.MathNode("mrow",[mr(u.label,e)]);return t=new Wt.MathNode("mpadded",[t]),t.setAttribute("width","0"),u.side==="left"&&t.setAttribute("lspace","-1width"),t.setAttribute("voffset","0.7em"),t=new Wt.MathNode("mstyle",[t]),t.setAttribute("displaystyle","false"),t.setAttribute("scriptlevel","1"),t}}),Ge({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(u,e){var{parser:t}=u;return{type:"cdlabelparent",mode:t.mode,fragment:e[0]}},htmlBuilder(u,e){var t=B.wrapFragment(dt(u.fragment,e),e);return t.classes.push("cd-vert-arrow"),t},mathmlBuilder(u,e){return new Wt.MathNode("mrow",[mr(u.fragment,e)])}}),Ge({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(u,e){for(var{parser:t}=u,d=Gr(e[0],"ordgroup"),O=d.body,K="",Oe=0;Oe<O.length;Oe++){var Ke=Gr(O[Oe],"textord");K+=Ke.text}var Ye=parseInt(K),Xt;if(isNaN(Ye))throw new q("\\@char has non-numeric argument "+K);if(Ye<0||Ye>=1114111)throw new q("\\@char with invalid code point "+K);return Ye<=65535?Xt=String.fromCharCode(Ye):(Ye-=65536,Xt=String.fromCharCode((Ye>>10)+55296,(Ye&1023)+56320)),{type:"textord",mode:t.mode,text:Xt}}});var fa=(u,e)=>{var t=Nt(u.body,e.withColor(u.color),!1);return B.makeFragment(t)},Vn=(u,e)=>{var t=Yt(u.body,e.withColor(u.color)),d=new Wt.MathNode("mstyle",t);return d.setAttribute("mathcolor",u.color),d};Ge({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(u,e){var{parser:t}=u,d=Gr(e[0],"color-token").color,O=e[1];return{type:"color",mode:t.mode,color:d,body:nr(O)}},htmlBuilder:fa,mathmlBuilder:Vn}),Ge({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(u,e){var{parser:t,breakOnTokenText:d}=u,O=Gr(e[0],"color-token").color;t.gullet.macros.set("\\current@color",O);var K=t.parseExpression(!0,d);return{type:"color",mode:t.mode,color:O,body:K}},htmlBuilder:fa,mathmlBuilder:Vn}),Ge({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(u,e,t){var{parser:d}=u,O=d.gullet.future().text==="["?d.parseSizeGroup(!0):null,K=!d.settings.displayMode||!d.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:d.mode,newLine:K,size:O&&Gr(O,"size").value}},htmlBuilder(u,e){var t=B.makeSpan(["mspace"],[],e);return u.newLine&&(t.classes.push("newline"),u.size&&(t.style.marginTop=Ct(Ht(u.size,e)))),t},mathmlBuilder(u,e){var t=new Wt.MathNode("mspace");return u.newLine&&(t.setAttribute("linebreak","newline"),u.size&&t.setAttribute("height",Ct(Ht(u.size,e)))),t}});var Wa={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},qa=u=>{var e=u.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new q("Expected a control sequence",u);return e},Cn=u=>{var e=u.gullet.popToken();return e.text==="="&&(e=u.gullet.popToken(),e.text===" "&&(e=u.gullet.popToken())),e},jn=(u,e,t,d)=>{var O=u.gullet.macros.get(t.text);O==null&&(t.noexpand=!0,O={tokens:[t],numArgs:0,unexpandable:!u.gullet.isExpandable(t.text)}),u.gullet.macros.set(e,O,d)};Ge({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(u){var{parser:e,funcName:t}=u;e.consumeSpaces();var d=e.fetch();if(Wa[d.text])return(t==="\\global"||t==="\\\\globallong")&&(d.text=Wa[d.text]),Gr(e.parseFunction(),"internal");throw new q("Invalid token after macro prefix",d)}}),Ge({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(u){var{parser:e,funcName:t}=u,d=e.gullet.popToken(),O=d.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(O))throw new q("Expected a control sequence",d);for(var K=0,Oe,Ke=[[]];e.gullet.future().text!=="{";)if(d=e.gullet.popToken(),d.text==="#"){if(e.gullet.future().text==="{"){Oe=e.gullet.future(),Ke[K].push("{");break}if(d=e.gullet.popToken(),!/^[1-9]$/.test(d.text))throw new q('Invalid argument number "'+d.text+'"');if(parseInt(d.text)!==K+1)throw new q('Argument number "'+d.text+'" out of order');K++,Ke.push([])}else{if(d.text==="EOF")throw new q("Expected a macro definition");Ke[K].push(d.text)}var{tokens:Ye}=e.gullet.consumeArg();return Oe&&Ye.unshift(Oe),(t==="\\edef"||t==="\\xdef")&&(Ye=e.gullet.expandTokens(Ye),Ye.reverse()),e.gullet.macros.set(O,{tokens:Ye,numArgs:K,delimiters:Ke},t===Wa[t]),{type:"internal",mode:e.mode}}}),Ge({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(u){var{parser:e,funcName:t}=u,d=qa(e.gullet.popToken());e.gullet.consumeSpaces();var O=Cn(e);return jn(e,d,O,t==="\\\\globallet"),{type:"internal",mode:e.mode}}}),Ge({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(u){var{parser:e,funcName:t}=u,d=qa(e.gullet.popToken()),O=e.gullet.popToken(),K=e.gullet.popToken();return jn(e,d,K,t==="\\\\globalfuture"),e.gullet.pushToken(K),e.gullet.pushToken(O),{type:"internal",mode:e.mode}}});var ma=function(e,t,d){var O=Lr.math[e]&&Lr.math[e].replace,K=Me(O||e,t,d);if(!K)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return K},Qa=function(e,t,d,O){var K=d.havingBaseStyle(t),Oe=B.makeSpan(O.concat(K.sizingClasses(d)),[e],d),Ke=K.sizeMultiplier/d.sizeMultiplier;return Oe.height*=Ke,Oe.depth*=Ke,Oe.maxFontSize=K.sizeMultiplier,Oe},_a=function(e,t,d){var O=t.havingBaseStyle(d),K=(1-t.sizeMultiplier/O.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=Ct(K),e.height-=K,e.depth+=K},po=function(e,t,d,O,K,Oe){var Ke=B.makeSymbol(e,"Main-Regular",K,O),Ye=Qa(Ke,t,O,Oe);return d&&_a(Ye,O,t),Ye},go=function(e,t,d,O){return B.makeSymbol(e,"Size"+t+"-Regular",d,O)},pa=function(e,t,d,O,K,Oe){var Ke=go(e,t,K,O),Ye=Qa(B.makeSpan(["delimsizing","size"+t],[Ke],O),k.TEXT,O,Oe);return d&&_a(Ye,O,k.TEXT),Ye},No=function(e,t,d){var O;t==="Size1-Regular"?O="delim-size1":O="delim-size4";var K=B.makeSpan(["delimsizinginner",O],[B.makeSpan([],[B.makeSymbol(e,t,d)])]);return{type:"elem",elem:K}},Na=function(e,t,d){var O=de["Size4-Regular"][e.charCodeAt(0)]?de["Size4-Regular"][e.charCodeAt(0)][4]:de["Size1-Regular"][e.charCodeAt(0)][4],K=new $r("inner",P(e,Math.round(1e3*t))),Oe=new zr([K],{width:Ct(O),height:Ct(t),style:"width:"+Ct(O),viewBox:"0 0 "+1e3*O+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),Ke=B.makeSvgSpan([],[Oe],d);return Ke.height=t,Ke.style.height=Ct(t),Ke.style.width=Ct(O),{type:"elem",elem:Ke}},za=.008,Ma={type:"kern",size:-1*za},Da=["|","\\lvert","\\rvert","\\vert"],Ua=["\\|","\\lVert","\\rVert","\\Vert"],ba=function(e,t,d,O,K,Oe){var Ke,Ye,Xt,ur,pr="",Tr=0;Ke=Xt=ur=e,Ye=null;var Wr="Size1-Regular";e==="\\uparrow"?Xt=ur="\u23D0":e==="\\Uparrow"?Xt=ur="\u2016":e==="\\downarrow"?Ke=Xt="\u23D0":e==="\\Downarrow"?Ke=Xt="\u2016":e==="\\updownarrow"?(Ke="\\uparrow",Xt="\u23D0",ur="\\downarrow"):e==="\\Updownarrow"?(Ke="\\Uparrow",Xt="\u2016",ur="\\Downarrow"):A.contains(Da,e)?(Xt="\u2223",pr="vert",Tr=333):A.contains(Ua,e)?(Xt="\u2225",pr="doublevert",Tr=556):e==="["||e==="\\lbrack"?(Ke="\u23A1",Xt="\u23A2",ur="\u23A3",Wr="Size4-Regular",pr="lbrack",Tr=667):e==="]"||e==="\\rbrack"?(Ke="\u23A4",Xt="\u23A5",ur="\u23A6",Wr="Size4-Regular",pr="rbrack",Tr=667):e==="\\lfloor"||e==="\u230A"?(Xt=Ke="\u23A2",ur="\u23A3",Wr="Size4-Regular",pr="lfloor",Tr=667):e==="\\lceil"||e==="\u2308"?(Ke="\u23A1",Xt=ur="\u23A2",Wr="Size4-Regular",pr="lceil",Tr=667):e==="\\rfloor"||e==="\u230B"?(Xt=Ke="\u23A5",ur="\u23A6",Wr="Size4-Regular",pr="rfloor",Tr=667):e==="\\rceil"||e==="\u2309"?(Ke="\u23A4",Xt=ur="\u23A5",Wr="Size4-Regular",pr="rceil",Tr=667):e==="("||e==="\\lparen"?(Ke="\u239B",Xt="\u239C",ur="\u239D",Wr="Size4-Regular",pr="lparen",Tr=875):e===")"||e==="\\rparen"?(Ke="\u239E",Xt="\u239F",ur="\u23A0",Wr="Size4-Regular",pr="rparen",Tr=875):e==="\\{"||e==="\\lbrace"?(Ke="\u23A7",Ye="\u23A8",ur="\u23A9",Xt="\u23AA",Wr="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(Ke="\u23AB",Ye="\u23AC",ur="\u23AD",Xt="\u23AA",Wr="Size4-Regular"):e==="\\lgroup"||e==="\u27EE"?(Ke="\u23A7",ur="\u23A9",Xt="\u23AA",Wr="Size4-Regular"):e==="\\rgroup"||e==="\u27EF"?(Ke="\u23AB",ur="\u23AD",Xt="\u23AA",Wr="Size4-Regular"):e==="\\lmoustache"||e==="\u23B0"?(Ke="\u23A7",ur="\u23AD",Xt="\u23AA",Wr="Size4-Regular"):(e==="\\rmoustache"||e==="\u23B1")&&(Ke="\u23AB",ur="\u23A9",Xt="\u23AA",Wr="Size4-Regular");var ln=ma(Ke,Wr,K),In=ln.height+ln.depth,Hn=ma(Xt,Wr,K),Nn=Hn.height+Hn.depth,Fn=ma(ur,Wr,K),Oa=Fn.height+Fn.depth,Ba=0,Ia=1;if(Ye!==null){var Ka=ma(Ye,Wr,K);Ba=Ka.height+Ka.depth,Ia=2}var Ga=In+Oa+Ba,fo=Math.max(0,Math.ceil((t-Ga)/(Ia*Nn))),Xa=Ga+fo*Ia*Nn,Go=O.fontMetrics().axisHeight;d&&(Go*=O.sizeMultiplier);var $o=Xa/2-Go,mo=[];if(pr.length>0){var ri=Xa-In-Oa,So=Math.round(Xa*1e3),Ro=be(pr,Math.round(ri*1e3)),eo=new $r(pr,Ro),lo=(Tr/1e3).toFixed(3)+"em",wo=(So/1e3).toFixed(3)+"em",Po=new zr([eo],{width:lo,height:wo,viewBox:"0 0 "+Tr+" "+So}),ni=B.makeSvgSpan([],[Po],O);ni.height=So/1e3,ni.style.width=lo,ni.style.height=wo,mo.push({type:"elem",elem:ni})}else{if(mo.push(No(ur,Wr,K)),mo.push(Ma),Ye===null){var vi=Xa-In-Oa+2*za;mo.push(Na(Xt,vi,O))}else{var To=(Xa-In-Oa-Ba)/2+2*za;mo.push(Na(Xt,To,O)),mo.push(Ma),mo.push(No(Ye,Wr,K)),mo.push(Ma),mo.push(Na(Xt,To,O))}mo.push(Ma),mo.push(No(Ke,Wr,K))}var Ji=O.havingBaseStyle(k.TEXT),Rs=B.makeVList({positionType:"bottom",positionData:$o,children:mo},Ji);return Qa(B.makeSpan(["delimsizing","mult"],[Rs],Ji),k.TEXT,O,Oe)},Ya=80,ka=.08,Ja=function(e,t,d,O,K){var Oe=De(e,O,d),Ke=new $r(e,Oe),Ye=new zr([Ke],{width:"400em",height:Ct(t),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});return B.makeSvgSpan(["hide-tail"],[Ye],K)},io=function(e,t){var d=t.havingBaseSizing(),O=Vo("\\surd",e*d.sizeMultiplier,Co,d),K=d.sizeMultiplier,Oe=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),Ke,Ye=0,Xt=0,ur=0,pr;return O.type==="small"?(ur=1e3+1e3*Oe+Ya,e<1?K=1:e<1.4&&(K=.7),Ye=(1+Oe+ka)/K,Xt=(1+Oe)/K,Ke=Ja("sqrtMain",Ye,ur,Oe,t),Ke.style.minWidth="0.853em",pr=.833/K):O.type==="large"?(ur=(1e3+Ya)*La[O.size],Xt=(La[O.size]+Oe)/K,Ye=(La[O.size]+Oe+ka)/K,Ke=Ja("sqrtSize"+O.size,Ye,ur,Oe,t),Ke.style.minWidth="1.02em",pr=1/K):(Ye=e+Oe+ka,Xt=e+Oe,ur=Math.floor(1e3*e+Oe)+Ya,Ke=Ja("sqrtTall",Ye,ur,Oe,t),Ke.style.minWidth="0.742em",pr=1.056),Ke.height=Xt,Ke.style.height=Ct(Ye),{span:Ke,advanceWidth:pr,ruleWidth:(t.fontMetrics().sqrtRuleThickness+Oe)*K}},ho=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Mo=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Bo=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],La=[0,1.2,1.8,2.4,3],Ko=function(e,t,d,O,K){if(e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle"),A.contains(ho,e)||A.contains(Bo,e))return pa(e,t,!1,d,O,K);if(A.contains(Mo,e))return ba(e,La[t],!1,d,O,K);throw new q("Illegal delimiter: '"+e+"'")},vo=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Lo=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"stack"}],Co=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Si=function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},Vo=function(e,t,d,O){for(var K=Math.min(2,3-O.style.size),Oe=K;Oe<d.length&&d[Oe].type!=="stack";Oe++){var Ke=ma(e,Si(d[Oe]),"math"),Ye=Ke.height+Ke.depth;if(d[Oe].type==="small"){var Xt=O.havingBaseStyle(d[Oe].style);Ye*=Xt.sizeMultiplier}if(Ye>t)return d[Oe]}return d[d.length-1]},ai=function(e,t,d,O,K,Oe){e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle");var Ke;A.contains(Bo,e)?Ke=vo:A.contains(ho,e)?Ke=Co:Ke=Lo;var Ye=Vo(e,t,Ke,O);return Ye.type==="small"?po(e,Ye.style,d,O,K,Oe):Ye.type==="large"?pa(e,Ye.size,d,O,K,Oe):ba(e,t,d,O,K,Oe)},$i=function(e,t,d,O,K,Oe){var Ke=O.fontMetrics().axisHeight*O.sizeMultiplier,Ye=901,Xt=5/O.fontMetrics().ptPerEm,ur=Math.max(t-Ke,d+Ke),pr=Math.max(ur/500*Ye,2*ur-Xt);return ai(e,pr,!0,O,K,Oe)},Ho={sqrtImage:io,sizedDelim:Ko,sizeToMaxHeight:La,customSizedDelim:ai,leftRightDelim:$i},Xo={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Hi=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function wi(u,e){var t=Gn(u);if(t&&A.contains(Hi,t.text))return t;throw t?new q("Invalid delimiter '"+t.text+"' after '"+e.funcName+"'",u):new q("Invalid delimiter type '"+u.type+"'",u)}Ge({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(u,e)=>{var t=wi(e[0],u);return{type:"delimsizing",mode:u.parser.mode,size:Xo[u.funcName].size,mclass:Xo[u.funcName].mclass,delim:t.text}},htmlBuilder:(u,e)=>u.delim==="."?B.makeSpan([u.mclass]):Ho.sizedDelim(u.delim,u.size,e,u.mode,[u.mclass]),mathmlBuilder:u=>{var e=[];u.delim!=="."&&e.push(Pe(u.delim,u.mode));var t=new Wt.MathNode("mo",e);u.mclass==="mopen"||u.mclass==="mclose"?t.setAttribute("fence","true"):t.setAttribute("fence","false"),t.setAttribute("stretchy","true");var d=Ct(Ho.sizeToMaxHeight[u.size]);return t.setAttribute("minsize",d),t.setAttribute("maxsize",d),t}});function Ci(u){if(!u.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ge({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(u,e)=>{var t=u.parser.gullet.macros.get("\\current@color");if(t&&typeof t!="string")throw new q("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:u.parser.mode,delim:wi(e[0],u).text,color:t}}}),Ge({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(u,e)=>{var t=wi(e[0],u),d=u.parser;++d.leftrightDepth;var O=d.parseExpression(!1);--d.leftrightDepth,d.expect("\\right",!1);var K=Gr(d.parseFunction(),"leftright-right");return{type:"leftright",mode:d.mode,body:O,left:t.text,right:K.delim,rightColor:K.color}},htmlBuilder:(u,e)=>{Ci(u);for(var t=Nt(u.body,e,!0,["mopen","mclose"]),d=0,O=0,K=!1,Oe=0;Oe<t.length;Oe++)t[Oe].isMiddle?K=!0:(d=Math.max(t[Oe].height,d),O=Math.max(t[Oe].depth,O));d*=e.sizeMultiplier,O*=e.sizeMultiplier;var Ke;if(u.left==="."?Ke=At(e,["mopen"]):Ke=Ho.leftRightDelim(u.left,d,O,e,u.mode,["mopen"]),t.unshift(Ke),K)for(var Ye=1;Ye<t.length;Ye++){var Xt=t[Ye],ur=Xt.isMiddle;ur&&(t[Ye]=Ho.leftRightDelim(ur.delim,d,O,ur.options,u.mode,[]))}var pr;if(u.right===".")pr=At(e,["mclose"]);else{var Tr=u.rightColor?e.withColor(u.rightColor):e;pr=Ho.leftRightDelim(u.right,d,O,Tr,u.mode,["mclose"])}return t.push(pr),B.makeSpan(["minner"],t,e)},mathmlBuilder:(u,e)=>{Ci(u);var t=Yt(u.body,e);if(u.left!=="."){var d=new Wt.MathNode("mo",[Pe(u.left,u.mode)]);d.setAttribute("fence","true"),t.unshift(d)}if(u.right!=="."){var O=new Wt.MathNode("mo",[Pe(u.right,u.mode)]);O.setAttribute("fence","true"),u.rightColor&&O.setAttribute("mathcolor",u.rightColor),t.push(O)}return yt(t)}}),Ge({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(u,e)=>{var t=wi(e[0],u);if(!u.parser.leftrightDepth)throw new q("\\middle without preceding \\left",t);return{type:"middle",mode:u.parser.mode,delim:t.text}},htmlBuilder:(u,e)=>{var t;if(u.delim===".")t=At(e,[]);else{t=Ho.sizedDelim(u.delim,1,e,u.mode,[]);var d={delim:u.delim,options:e};t.isMiddle=d}return t},mathmlBuilder:(u,e)=>{var t=u.delim==="\\vert"||u.delim==="|"?Pe("|","text"):Pe(u.delim,u.mode),d=new Wt.MathNode("mo",[t]);return d.setAttribute("fence","true"),d.setAttribute("lspace","0.05em"),d.setAttribute("rspace","0.05em"),d}});var Oi=(u,e)=>{var t=B.wrapFragment(dt(u.body,e),e),d=u.label.slice(1),O=e.sizeMultiplier,K,Oe=0,Ke=A.isCharacterBox(u.body);if(d==="sout")K=B.makeSpan(["stretchy","sout"]),K.height=e.fontMetrics().defaultRuleThickness/O,Oe=-.5*e.fontMetrics().xHeight;else if(d==="phase"){var Ye=Ht({number:.6,unit:"pt"},e),Xt=Ht({number:.35,unit:"ex"},e),ur=e.havingBaseSizing();O=O/ur.sizeMultiplier;var pr=t.height+t.depth+Ye+Xt;t.style.paddingLeft=Ct(pr/2+Ye);var Tr=Math.floor(1e3*pr*O),Wr=wt(Tr),ln=new zr([new $r("phase",Wr)],{width:"400em",height:Ct(Tr/1e3),viewBox:"0 0 400000 "+Tr,preserveAspectRatio:"xMinYMin slice"});K=B.makeSvgSpan(["hide-tail"],[ln],e),K.style.height=Ct(pr),Oe=t.depth+Ye+Xt}else{/cancel/.test(d)?Ke||t.classes.push("cancel-pad"):d==="angl"?t.classes.push("anglpad"):t.classes.push("boxpad");var In=0,Hn=0,Nn=0;/box/.test(d)?(Nn=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),In=e.fontMetrics().fboxsep+(d==="colorbox"?0:Nn),Hn=In):d==="angl"?(Nn=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),In=4*Nn,Hn=Math.max(0,.25-t.depth)):(In=Ke?.2:0,Hn=In),K=dn.encloseSpan(t,d,In,Hn,e),/fbox|boxed|fcolorbox/.test(d)?(K.style.borderStyle="solid",K.style.borderWidth=Ct(Nn)):d==="angl"&&Nn!==.049&&(K.style.borderTopWidth=Ct(Nn),K.style.borderRightWidth=Ct(Nn)),Oe=t.depth+Hn,u.backgroundColor&&(K.style.backgroundColor=u.backgroundColor,u.borderColor&&(K.style.borderColor=u.borderColor))}var Fn;if(u.backgroundColor)Fn=B.makeVList({positionType:"individualShift",children:[{type:"elem",elem:K,shift:Oe},{type:"elem",elem:t,shift:0}]},e);else{var Oa=/cancel|phase/.test(d)?["svg-align"]:[];Fn=B.makeVList({positionType:"individualShift",children:[{type:"elem",elem:t,shift:0},{type:"elem",elem:K,shift:Oe,wrapperClasses:Oa}]},e)}return/cancel/.test(d)&&(Fn.height=t.height,Fn.depth=t.depth),/cancel/.test(d)&&!Ke?B.makeSpan(["mord","cancel-lap"],[Fn],e):B.makeSpan(["mord"],[Fn],e)},Ai=(u,e)=>{var t=0,d=new Wt.MathNode(u.label.indexOf("colorbox")>-1?"mpadded":"menclose",[mr(u.body,e)]);switch(u.label){case"\\cancel":d.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":d.setAttribute("notation","downdiagonalstrike");break;case"\\phase":d.setAttribute("notation","phasorangle");break;case"\\sout":d.setAttribute("notation","horizontalstrike");break;case"\\fbox":d.setAttribute("notation","box");break;case"\\angl":d.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(t=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,d.setAttribute("width","+"+2*t+"pt"),d.setAttribute("height","+"+2*t+"pt"),d.setAttribute("lspace",t+"pt"),d.setAttribute("voffset",t+"pt"),u.label==="\\fcolorbox"){var O=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);d.setAttribute("style","border: "+O+"em solid "+String(u.borderColor))}break;case"\\xcancel":d.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return u.backgroundColor&&d.setAttribute("mathbackground",u.backgroundColor),d};Ge({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(u,e,t){var{parser:d,funcName:O}=u,K=Gr(e[0],"color-token").color,Oe=e[1];return{type:"enclose",mode:d.mode,label:O,backgroundColor:K,body:Oe}},htmlBuilder:Oi,mathmlBuilder:Ai}),Ge({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(u,e,t){var{parser:d,funcName:O}=u,K=Gr(e[0],"color-token").color,Oe=Gr(e[1],"color-token").color,Ke=e[2];return{type:"enclose",mode:d.mode,label:O,backgroundColor:Oe,borderColor:K,body:Ke}},htmlBuilder:Oi,mathmlBuilder:Ai}),Ge({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(u,e){var{parser:t}=u;return{type:"enclose",mode:t.mode,label:"\\fbox",body:e[0]}}}),Ge({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(u,e){var{parser:t,funcName:d}=u,O=e[0];return{type:"enclose",mode:t.mode,label:d,body:O}},htmlBuilder:Oi,mathmlBuilder:Ai}),Ge({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(u,e){var{parser:t}=u;return{type:"enclose",mode:t.mode,label:"\\angl",body:e[0]}}});var Pa={};function ja(u){for(var{type:e,names:t,props:d,handler:O,htmlBuilder:K,mathmlBuilder:Oe}=u,Ke={type:e,numArgs:d.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:O},Ye=0;Ye<t.length;++Ye)Pa[t[Ye]]=Ke;K&&(ve[e]=K),Oe&&(kt[e]=Oe)}var bo={};function Ve(u,e){bo[u]=e}function zo(u){var e=[];u.consumeSpaces();var t=u.fetch().text;for(t==="\\relax"&&(u.consume(),u.consumeSpaces(),t=u.fetch().text);t==="\\hline"||t==="\\hdashline";)u.consume(),e.push(t==="\\hdashline"),u.consumeSpaces(),t=u.fetch().text;return e}var Do=u=>{var e=u.parser.settings;if(!e.displayMode)throw new q("{"+u.envName+"} can be used only in display mode.")};function Eo(u){if(u.indexOf("ed")===-1)return u.indexOf("*")===-1}function so(u,e,t){var{hskipBeforeAndAfter:d,addJot:O,cols:K,arraystretch:Oe,colSeparationType:Ke,autoTag:Ye,singleRow:Xt,emptySingleRow:ur,maxNumCols:pr,leqno:Tr}=e;if(u.gullet.beginGroup(),Xt||u.gullet.macros.set("\\cr","\\\\\\relax"),!Oe){var Wr=u.gullet.expandMacroAsText("\\arraystretch");if(Wr==null)Oe=1;else if(Oe=parseFloat(Wr),!Oe||Oe<0)throw new q("Invalid \\arraystretch: "+Wr)}u.gullet.beginGroup();var ln=[],In=[ln],Hn=[],Nn=[],Fn=Ye!=null?[]:void 0;function Oa(){Ye&&u.gullet.macros.set("\\@eqnsw","1",!0)}function Ba(){Fn&&(u.gullet.macros.get("\\df@tag")?(Fn.push(u.subparse([new Re("\\df@tag")])),u.gullet.macros.set("\\df@tag",void 0,!0)):Fn.push(!!Ye&&u.gullet.macros.get("\\@eqnsw")==="1"))}for(Oa(),Nn.push(zo(u));;){var Ia=u.parseExpression(!1,Xt?"\\end":"\\\\");u.gullet.endGroup(),u.gullet.beginGroup(),Ia={type:"ordgroup",mode:u.mode,body:Ia},t&&(Ia={type:"styling",mode:u.mode,style:t,body:[Ia]}),ln.push(Ia);var Ka=u.fetch().text;if(Ka==="&"){if(pr&&ln.length===pr){if(Xt||Ke)throw new q("Too many tab characters: &",u.nextToken);u.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}u.consume()}else if(Ka==="\\end"){Ba(),ln.length===1&&Ia.type==="styling"&&Ia.body[0].body.length===0&&(In.length>1||!ur)&&In.pop(),Nn.length<In.length+1&&Nn.push([]);break}else if(Ka==="\\\\"){u.consume();var Ga=void 0;u.gullet.future().text!==" "&&(Ga=u.parseSizeGroup(!0)),Hn.push(Ga?Ga.value:null),Ba(),Nn.push(zo(u)),ln=[],In.push(ln),Oa()}else throw new q("Expected & or \\\\ or \\cr or \\end",u.nextToken)}return u.gullet.endGroup(),u.gullet.endGroup(),{type:"array",mode:u.mode,addJot:O,arraystretch:Oe,body:In,cols:K,rowGaps:Hn,hskipBeforeAndAfter:d,hLinesBeforeRow:Nn,colSeparationType:Ke,tags:Fn,leqno:Tr}}function _o(u){return u.slice(0,1)==="d"?"display":"text"}var Wo=function(e,t){var d,O,K=e.body.length,Oe=e.hLinesBeforeRow,Ke=0,Ye=new Array(K),Xt=[],ur=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),pr=1/t.fontMetrics().ptPerEm,Tr=5*pr;if(e.colSeparationType&&e.colSeparationType==="small"){var Wr=t.havingStyle(k.SCRIPT).sizeMultiplier;Tr=.2778*(Wr/t.sizeMultiplier)}var ln=e.colSeparationType==="CD"?Ht({number:3,unit:"ex"},t):12*pr,In=3*pr,Hn=e.arraystretch*ln,Nn=.7*Hn,Fn=.3*Hn,Oa=0;function Ba(Ls){for(var zs=0;zs<Ls.length;++zs)zs>0&&(Oa+=.25),Xt.push({pos:Oa,isDashed:Ls[zs]})}for(Ba(Oe[0]),d=0;d<e.body.length;++d){var Ia=e.body[d],Ka=Nn,Ga=Fn;Ke<Ia.length&&(Ke=Ia.length);var fo=new Array(Ia.length);for(O=0;O<Ia.length;++O){var Xa=dt(Ia[O],t);Ga<Xa.depth&&(Ga=Xa.depth),Ka<Xa.height&&(Ka=Xa.height),fo[O]=Xa}var Go=e.rowGaps[d],$o=0;Go&&($o=Ht(Go,t),$o>0&&($o+=Fn,Ga<$o&&(Ga=$o),$o=0)),e.addJot&&(Ga+=In),fo.height=Ka,fo.depth=Ga,Oa+=Ka,fo.pos=Oa,Oa+=Ga+$o,Ye[d]=fo,Ba(Oe[d+1])}var mo=Oa/2+t.fontMetrics().axisHeight,ri=e.cols||[],So=[],Ro,eo,lo=[];if(e.tags&&e.tags.some(Ls=>Ls))for(d=0;d<K;++d){var wo=Ye[d],Po=wo.pos-mo,ni=e.tags[d],vi=void 0;ni===!0?vi=B.makeSpan(["eqn-num"],[],t):ni===!1?vi=B.makeSpan([],[],t):vi=B.makeSpan([],Nt(ni,t,!0),t),vi.depth=wo.depth,vi.height=wo.height,lo.push({type:"elem",elem:vi,shift:Po})}for(O=0,eo=0;O<Ke||eo<ri.length;++O,++eo){for(var To=ri[eo]||{},Ji=!0;To.type==="separator";){if(Ji||(Ro=B.makeSpan(["arraycolsep"],[]),Ro.style.width=Ct(t.fontMetrics().doubleRuleSep),So.push(Ro)),To.separator==="|"||To.separator===":"){var Rs=To.separator==="|"?"solid":"dashed",ds=B.makeSpan(["vertical-separator"],[],t);ds.style.height=Ct(Oa),ds.style.borderRightWidth=Ct(ur),ds.style.borderRightStyle=Rs,ds.style.margin="0 "+Ct(-ur/2);var Ws=Oa-mo;Ws&&(ds.style.verticalAlign=Ct(-Ws)),So.push(ds)}else throw new q("Invalid separator type: "+To.separator);eo++,To=ri[eo]||{},Ji=!1}if(!(O>=Ke)){var hs=void 0;(O>0||e.hskipBeforeAndAfter)&&(hs=A.deflt(To.pregap,Tr),hs!==0&&(Ro=B.makeSpan(["arraycolsep"],[]),Ro.style.width=Ct(hs),So.push(Ro)));var fs=[];for(d=0;d<K;++d){var Ts=Ye[d],Bs=Ts[O];if(Bs){var _s=Ts.pos-mo;Bs.depth=Ts.depth,Bs.height=Ts.height,fs.push({type:"elem",elem:Bs,shift:_s})}}fs=B.makeVList({positionType:"individualShift",children:fs},t),fs=B.makeSpan(["col-align-"+(To.align||"c")],[fs]),So.push(fs),(O<Ke-1||e.hskipBeforeAndAfter)&&(hs=A.deflt(To.postgap,Tr),hs!==0&&(Ro=B.makeSpan(["arraycolsep"],[]),Ro.style.width=Ct(hs),So.push(Ro)))}}if(Ye=B.makeSpan(["mtable"],So),Xt.length>0){for(var Ys=B.makeLineSpan("hline",t,ur),Js=B.makeLineSpan("hdashline",t,ur),Fs=[{type:"elem",elem:Ye,shift:0}];Xt.length>0;){var Us=Xt.pop(),Es=Us.pos-mo;Us.isDashed?Fs.push({type:"elem",elem:Js,shift:Es}):Fs.push({type:"elem",elem:Ys,shift:Es})}Ye=B.makeVList({positionType:"individualShift",children:Fs},t)}if(lo.length===0)return B.makeSpan(["mord"],[Ye],t);var ks=B.makeVList({positionType:"individualShift",children:lo},t);return ks=B.makeSpan(["tag"],[ks],t),B.makeFragment([Ye,ks])},Io={c:"center ",l:"left ",r:"right "},Yo=function(e,t){for(var d=[],O=new Wt.MathNode("mtd",[],["mtr-glue"]),K=new Wt.MathNode("mtd",[],["mml-eqn-num"]),Oe=0;Oe<e.body.length;Oe++){for(var Ke=e.body[Oe],Ye=[],Xt=0;Xt<Ke.length;Xt++)Ye.push(new Wt.MathNode("mtd",[mr(Ke[Xt],t)]));e.tags&&e.tags[Oe]&&(Ye.unshift(O),Ye.push(O),e.leqno?Ye.unshift(K):Ye.push(K)),d.push(new Wt.MathNode("mtr",Ye))}var ur=new Wt.MathNode("mtable",d),pr=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);ur.setAttribute("rowspacing",Ct(pr));var Tr="",Wr="";if(e.cols&&e.cols.length>0){var ln=e.cols,In="",Hn=!1,Nn=0,Fn=ln.length;ln[0].type==="separator"&&(Tr+="top ",Nn=1),ln[ln.length-1].type==="separator"&&(Tr+="bottom ",Fn-=1);for(var Oa=Nn;Oa<Fn;Oa++)ln[Oa].type==="align"?(Wr+=Io[ln[Oa].align],Hn&&(In+="none "),Hn=!0):ln[Oa].type==="separator"&&Hn&&(In+=ln[Oa].separator==="|"?"solid ":"dashed ",Hn=!1);ur.setAttribute("columnalign",Wr.trim()),/[sd]/.test(In)&&ur.setAttribute("columnlines",In.trim())}if(e.colSeparationType==="align"){for(var Ba=e.cols||[],Ia="",Ka=1;Ka<Ba.length;Ka++)Ia+=Ka%2?"0em ":"1em ";ur.setAttribute("columnspacing",Ia.trim())}else e.colSeparationType==="alignat"||e.colSeparationType==="gather"?ur.setAttribute("columnspacing","0em"):e.colSeparationType==="small"?ur.setAttribute("columnspacing","0.2778em"):e.colSeparationType==="CD"?ur.setAttribute("columnspacing","0.5em"):ur.setAttribute("columnspacing","1em");var Ga="",fo=e.hLinesBeforeRow;Tr+=fo[0].length>0?"left ":"",Tr+=fo[fo.length-1].length>0?"right ":"";for(var Xa=1;Xa<fo.length-1;Xa++)Ga+=fo[Xa].length===0?"none ":fo[Xa][0]?"dashed ":"solid ";return/[sd]/.test(Ga)&&ur.setAttribute("rowlines",Ga.trim()),Tr!==""&&(ur=new Wt.MathNode("menclose",[ur]),ur.setAttribute("notation",Tr.trim())),e.arraystretch&&e.arraystretch<1&&(ur=new Wt.MathNode("mstyle",[ur]),ur.setAttribute("scriptlevel","1")),ur},Pi=function(e,t){e.envName.indexOf("ed")===-1&&Do(e);var d=[],O=e.envName.indexOf("at")>-1?"alignat":"align",K=e.envName==="split",Oe=so(e.parser,{cols:d,addJot:!0,autoTag:K?void 0:Eo(e.envName),emptySingleRow:!0,colSeparationType:O,maxNumCols:K?2:void 0,leqno:e.parser.settings.leqno},"display"),Ke,Ye=0,Xt={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){for(var ur="",pr=0;pr<t[0].body.length;pr++){var Tr=Gr(t[0].body[pr],"textord");ur+=Tr.text}Ke=Number(ur),Ye=Ke*2}var Wr=!Ye;Oe.body.forEach(function(Nn){for(var Fn=1;Fn<Nn.length;Fn+=2){var Oa=Gr(Nn[Fn],"styling"),Ba=Gr(Oa.body[0],"ordgroup");Ba.body.unshift(Xt)}if(Wr)Ye<Nn.length&&(Ye=Nn.length);else{var Ia=Nn.length/2;if(Ke<Ia)throw new q("Too many math in a row: "+("expected "+Ke+", but got "+Ia),Nn[0])}});for(var ln=0;ln<Ye;++ln){var In="r",Hn=0;ln%2===1?In="l":ln>0&&Wr&&(Hn=1),d[ln]={type:"align",align:In,pregap:Hn,postgap:0}}return Oe.colSeparationType=Wr?"align":"alignat",Oe};ja({type:"array",names:["array","darray"],props:{numArgs:1},handler(u,e){var t=Gn(e[0]),d=t?[e[0]]:Gr(e[0],"ordgroup").body,O=d.map(function(Oe){var Ke=la(Oe),Ye=Ke.text;if("lcr".indexOf(Ye)!==-1)return{type:"align",align:Ye};if(Ye==="|")return{type:"separator",separator:"|"};if(Ye===":")return{type:"separator",separator:":"};throw new q("Unknown column alignment: "+Ye,Oe)}),K={cols:O,hskipBeforeAndAfter:!0,maxNumCols:O.length};return so(u.parser,K,_o(u.envName))},htmlBuilder:Wo,mathmlBuilder:Yo}),ja({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(u){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[u.envName.replace("*","")],t="c",d={hskipBeforeAndAfter:!1,cols:[{type:"align",align:t}]};if(u.envName.charAt(u.envName.length-1)==="*"){var O=u.parser;if(O.consumeSpaces(),O.fetch().text==="["){if(O.consume(),O.consumeSpaces(),t=O.fetch().text,"lcr".indexOf(t)===-1)throw new q("Expected l or c or r",O.nextToken);O.consume(),O.consumeSpaces(),O.expect("]"),O.consume(),d.cols=[{type:"align",align:t}]}}var K=so(u.parser,d,_o(u.envName)),Oe=Math.max(0,...K.body.map(Ke=>Ke.length));return K.cols=new Array(Oe).fill({type:"align",align:t}),e?{type:"leftright",mode:u.mode,body:[K],left:e[0],right:e[1],rightColor:void 0}:K},htmlBuilder:Wo,mathmlBuilder:Yo}),ja({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(u){var e={arraystretch:.5},t=so(u.parser,e,"script");return t.colSeparationType="small",t},htmlBuilder:Wo,mathmlBuilder:Yo}),ja({type:"array",names:["subarray"],props:{numArgs:1},handler(u,e){var t=Gn(e[0]),d=t?[e[0]]:Gr(e[0],"ordgroup").body,O=d.map(function(Oe){var Ke=la(Oe),Ye=Ke.text;if("lc".indexOf(Ye)!==-1)return{type:"align",align:Ye};throw new q("Unknown column alignment: "+Ye,Oe)});if(O.length>1)throw new q("{subarray} can contain only one column");var K={cols:O,hskipBeforeAndAfter:!1,arraystretch:.5};if(K=so(u.parser,K,"script"),K.body.length>0&&K.body[0].length>1)throw new q("{subarray} can contain only one column");return K},htmlBuilder:Wo,mathmlBuilder:Yo}),ja({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(u){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},t=so(u.parser,e,_o(u.envName));return{type:"leftright",mode:u.mode,body:[t],left:u.envName.indexOf("r")>-1?".":"\\{",right:u.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Wo,mathmlBuilder:Yo}),ja({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Pi,htmlBuilder:Wo,mathmlBuilder:Yo}),ja({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(u){A.contains(["gather","gather*"],u.envName)&&Do(u);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Eo(u.envName),emptySingleRow:!0,leqno:u.parser.settings.leqno};return so(u.parser,e,"display")},htmlBuilder:Wo,mathmlBuilder:Yo}),ja({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Pi,htmlBuilder:Wo,mathmlBuilder:Yo}),ja({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(u){Do(u);var e={autoTag:Eo(u.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:u.parser.settings.leqno};return so(u.parser,e,"display")},htmlBuilder:Wo,mathmlBuilder:Yo}),ja({type:"array",names:["CD"],props:{numArgs:0},handler(u){return Do(u),En(u.parser)},htmlBuilder:Wo,mathmlBuilder:Yo}),Ve("\\nonumber","\\gdef\\@eqnsw{0}"),Ve("\\notag","\\nonumber"),Ge({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(u,e){throw new q(u.funcName+" valid only within array environment")}});var Wi=Pa;Ge({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(u,e){var{parser:t,funcName:d}=u,O=e[0];if(O.type!=="ordgroup")throw new q("Invalid environment name",O);for(var K="",Oe=0;Oe<O.body.length;++Oe)K+=Gr(O.body[Oe],"textord").text;if(d==="\\begin"){if(!Wi.hasOwnProperty(K))throw new q("No such environment: "+K,O);var Ke=Wi[K],{args:Ye,optArgs:Xt}=t.parseArguments("\\begin{"+K+"}",Ke),ur={mode:t.mode,envName:K,parser:t},pr=Ke.handler(ur,Ye,Xt);t.expect("\\end",!1);var Tr=t.nextToken,Wr=Gr(t.parseFunction(),"environment");if(Wr.name!==K)throw new q("Mismatch: \\begin{"+K+"} matched by \\end{"+Wr.name+"}",Tr);return pr}return{type:"environment",mode:t.mode,name:K,nameGroup:O}}});var vs=(u,e)=>{var t=u.font,d=e.withFont(t);return dt(u.body,d)},ui=(u,e)=>{var t=u.font,d=e.withFont(t);return mr(u.body,d)},ts={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ge({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(u,e)=>{var{parser:t,funcName:d}=u,O=vt(e[0]),K=d;return K in ts&&(K=ts[K]),{type:"font",mode:t.mode,font:K.slice(1),body:O}},htmlBuilder:vs,mathmlBuilder:ui}),Ge({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(u,e)=>{var{parser:t}=u,d=e[0],O=A.isCharacterBox(d);return{type:"mclass",mode:t.mode,mclass:Rn(d),body:[{type:"font",mode:t.mode,font:"boldsymbol",body:d}],isCharacterBox:O}}}),Ge({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(u,e)=>{var{parser:t,funcName:d,breakOnTokenText:O}=u,{mode:K}=t,Oe=t.parseExpression(!0,O),Ke="math"+d.slice(1);return{type:"font",mode:K,font:Ke,body:{type:"ordgroup",mode:t.mode,body:Oe}}},htmlBuilder:vs,mathmlBuilder:ui});var ss=(u,e)=>{var t=e;return u==="display"?t=t.id>=k.SCRIPT.id?t.text():k.DISPLAY:u==="text"&&t.size===k.DISPLAY.size?t=k.TEXT:u==="script"?t=k.SCRIPT:u==="scriptscript"&&(t=k.SCRIPTSCRIPT),t},di=(u,e)=>{var t=ss(u.size,e.style),d=t.fracNum(),O=t.fracDen(),K;K=e.havingStyle(d);var Oe=dt(u.numer,K,e);if(u.continued){var Ke=8.5/e.fontMetrics().ptPerEm,Ye=3.5/e.fontMetrics().ptPerEm;Oe.height=Oe.height<Ke?Ke:Oe.height,Oe.depth=Oe.depth<Ye?Ye:Oe.depth}K=e.havingStyle(O);var Xt=dt(u.denom,K,e),ur,pr,Tr;u.hasBarLine?(u.barSize?(pr=Ht(u.barSize,e),ur=B.makeLineSpan("frac-line",e,pr)):ur=B.makeLineSpan("frac-line",e),pr=ur.height,Tr=ur.height):(ur=null,pr=0,Tr=e.fontMetrics().defaultRuleThickness);var Wr,ln,In;t.size===k.DISPLAY.size||u.size==="display"?(Wr=e.fontMetrics().num1,pr>0?ln=3*Tr:ln=7*Tr,In=e.fontMetrics().denom1):(pr>0?(Wr=e.fontMetrics().num2,ln=Tr):(Wr=e.fontMetrics().num3,ln=3*Tr),In=e.fontMetrics().denom2);var Hn;if(ur){var Fn=e.fontMetrics().axisHeight;Wr-Oe.depth-(Fn+.5*pr)<ln&&(Wr+=ln-(Wr-Oe.depth-(Fn+.5*pr))),Fn-.5*pr-(Xt.height-In)<ln&&(In+=ln-(Fn-.5*pr-(Xt.height-In)));var Oa=-(Fn-.5*pr);Hn=B.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Xt,shift:In},{type:"elem",elem:ur,shift:Oa},{type:"elem",elem:Oe,shift:-Wr}]},e)}else{var Nn=Wr-Oe.depth-(Xt.height-In);Nn<ln&&(Wr+=.5*(ln-Nn),In+=.5*(ln-Nn)),Hn=B.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Xt,shift:In},{type:"elem",elem:Oe,shift:-Wr}]},e)}K=e.havingStyle(t),Hn.height*=K.sizeMultiplier/e.sizeMultiplier,Hn.depth*=K.sizeMultiplier/e.sizeMultiplier;var Ba;t.size===k.DISPLAY.size?Ba=e.fontMetrics().delim1:t.size===k.SCRIPTSCRIPT.size?Ba=e.havingStyle(k.SCRIPT).fontMetrics().delim2:Ba=e.fontMetrics().delim2;var Ia,Ka;return u.leftDelim==null?Ia=At(e,["mopen"]):Ia=Ho.customSizedDelim(u.leftDelim,Ba,!0,e.havingStyle(t),u.mode,["mopen"]),u.continued?Ka=B.makeSpan([]):u.rightDelim==null?Ka=At(e,["mclose"]):Ka=Ho.customSizedDelim(u.rightDelim,Ba,!0,e.havingStyle(t),u.mode,["mclose"]),B.makeSpan(["mord"].concat(K.sizingClasses(e)),[Ia,B.makeSpan(["mfrac"],[Hn]),Ka],e)},Ui=(u,e)=>{var t=new Wt.MathNode("mfrac",[mr(u.numer,e),mr(u.denom,e)]);if(!u.hasBarLine)t.setAttribute("linethickness","0px");else if(u.barSize){var d=Ht(u.barSize,e);t.setAttribute("linethickness",Ct(d))}var O=ss(u.size,e.style);if(O.size!==e.style.size){t=new Wt.MathNode("mstyle",[t]);var K=O.size===k.DISPLAY.size?"true":"false";t.setAttribute("displaystyle",K),t.setAttribute("scriptlevel","0")}if(u.leftDelim!=null||u.rightDelim!=null){var Oe=[];if(u.leftDelim!=null){var Ke=new Wt.MathNode("mo",[new Wt.TextNode(u.leftDelim.replace("\\",""))]);Ke.setAttribute("fence","true"),Oe.push(Ke)}if(Oe.push(t),u.rightDelim!=null){var Ye=new Wt.MathNode("mo",[new Wt.TextNode(u.rightDelim.replace("\\",""))]);Ye.setAttribute("fence","true"),Oe.push(Ye)}return yt(Oe)}return t};Ge({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(u,e)=>{var{parser:t,funcName:d}=u,O=e[0],K=e[1],Oe,Ke=null,Ye=null,Xt="auto";switch(d){case"\\dfrac":case"\\frac":case"\\tfrac":Oe=!0;break;case"\\\\atopfrac":Oe=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Oe=!1,Ke="(",Ye=")";break;case"\\\\bracefrac":Oe=!1,Ke="\\{",Ye="\\}";break;case"\\\\brackfrac":Oe=!1,Ke="[",Ye="]";break;default:throw new Error("Unrecognized genfrac command")}switch(d){case"\\dfrac":case"\\dbinom":Xt="display";break;case"\\tfrac":case"\\tbinom":Xt="text";break}return{type:"genfrac",mode:t.mode,continued:!1,numer:O,denom:K,hasBarLine:Oe,leftDelim:Ke,rightDelim:Ye,size:Xt,barSize:null}},htmlBuilder:di,mathmlBuilder:Ui}),Ge({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(u,e)=>{var{parser:t,funcName:d}=u,O=e[0],K=e[1];return{type:"genfrac",mode:t.mode,continued:!0,numer:O,denom:K,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),Ge({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(u){var{parser:e,funcName:t,token:d}=u,O;switch(t){case"\\over":O="\\frac";break;case"\\choose":O="\\binom";break;case"\\atop":O="\\\\atopfrac";break;case"\\brace":O="\\\\bracefrac";break;case"\\brack":O="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:O,token:d}}});var bs=["display","text","script","scriptscript"],ls=function(e){var t=null;return e.length>0&&(t=e,t=t==="."?null:t),t};Ge({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(u,e){var{parser:t}=u,d=e[4],O=e[5],K=vt(e[0]),Oe=K.type==="atom"&&K.family==="open"?ls(K.text):null,Ke=vt(e[1]),Ye=Ke.type==="atom"&&Ke.family==="close"?ls(Ke.text):null,Xt=Gr(e[2],"size"),ur,pr=null;Xt.isBlank?ur=!0:(pr=Xt.value,ur=pr.number>0);var Tr="auto",Wr=e[3];if(Wr.type==="ordgroup"){if(Wr.body.length>0){var ln=Gr(Wr.body[0],"textord");Tr=bs[Number(ln.text)]}}else Wr=Gr(Wr,"textord"),Tr=bs[Number(Wr.text)];return{type:"genfrac",mode:t.mode,numer:d,denom:O,continued:!1,hasBarLine:ur,barSize:pr,leftDelim:Oe,rightDelim:Ye,size:Tr}},htmlBuilder:di,mathmlBuilder:Ui}),Ge({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(u,e){var{parser:t,funcName:d,token:O}=u;return{type:"infix",mode:t.mode,replaceWith:"\\\\abovefrac",size:Gr(e[0],"size").value,token:O}}}),Ge({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(u,e)=>{var{parser:t,funcName:d}=u,O=e[0],K=X(Gr(e[1],"infix").size),Oe=e[2],Ke=K.number>0;return{type:"genfrac",mode:t.mode,numer:O,denom:Oe,continued:!1,hasBarLine:Ke,barSize:K,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:di,mathmlBuilder:Ui});var ys=(u,e)=>{var t=e.style,d,O;u.type==="supsub"?(d=u.sup?dt(u.sup,e.havingStyle(t.sup()),e):dt(u.sub,e.havingStyle(t.sub()),e),O=Gr(u.base,"horizBrace")):O=Gr(u,"horizBrace");var K=dt(O.base,e.havingBaseStyle(k.DISPLAY)),Oe=dn.svgSpan(O,e),Ke;if(O.isOver?(Ke=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:K},{type:"kern",size:.1},{type:"elem",elem:Oe}]},e),Ke.children[0].children[0].children[1].classes.push("svg-align")):(Ke=B.makeVList({positionType:"bottom",positionData:K.depth+.1+Oe.height,children:[{type:"elem",elem:Oe},{type:"kern",size:.1},{type:"elem",elem:K}]},e),Ke.children[0].children[0].children[0].classes.push("svg-align")),d){var Ye=B.makeSpan(["mord",O.isOver?"mover":"munder"],[Ke],e);O.isOver?Ke=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ye},{type:"kern",size:.2},{type:"elem",elem:d}]},e):Ke=B.makeVList({positionType:"bottom",positionData:Ye.depth+.2+d.height+d.depth,children:[{type:"elem",elem:d},{type:"kern",size:.2},{type:"elem",elem:Ye}]},e)}return B.makeSpan(["mord",O.isOver?"mover":"munder"],[Ke],e)},rs=(u,e)=>{var t=dn.mathMLnode(u.label);return new Wt.MathNode(u.isOver?"mover":"munder",[mr(u.base,e),t])};Ge({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(u,e){var{parser:t,funcName:d}=u;return{type:"horizBrace",mode:t.mode,label:d,isOver:/^\\over/.test(d),base:e[0]}},htmlBuilder:ys,mathmlBuilder:rs}),Ge({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(u,e)=>{var{parser:t}=u,d=e[1],O=Gr(e[0],"url").url;return t.settings.isTrusted({command:"\\href",url:O})?{type:"href",mode:t.mode,href:O,body:nr(d)}:t.formatUnsupportedCmd("\\href")},htmlBuilder:(u,e)=>{var t=Nt(u.body,e,!1);return B.makeAnchor(u.href,[],t,e)},mathmlBuilder:(u,e)=>{var t=lr(u.body,e);return t instanceof Tt||(t=new Tt("mrow",[t])),t.setAttribute("href",u.href),t}}),Ge({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(u,e)=>{var{parser:t}=u,d=Gr(e[0],"url").url;if(!t.settings.isTrusted({command:"\\url",url:d}))return t.formatUnsupportedCmd("\\url");for(var O=[],K=0;K<d.length;K++){var Oe=d[K];Oe==="~"&&(Oe="\\textasciitilde"),O.push({type:"textord",mode:"text",text:Oe})}var Ke={type:"text",mode:t.mode,font:"\\texttt",body:O};return{type:"href",mode:t.mode,href:d,body:nr(Ke)}}}),Ge({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(u,e){var{parser:t}=u;return{type:"hbox",mode:t.mode,body:nr(e[0])}},htmlBuilder(u,e){var t=Nt(u.body,e,!1);return B.makeFragment(t)},mathmlBuilder(u,e){return new Wt.MathNode("mrow",Yt(u.body,e))}}),Ge({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(u,e)=>{var{parser:t,funcName:d,token:O}=u,K=Gr(e[0],"raw").string,Oe=e[1];t.settings.strict&&t.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var Ke,Ye={};switch(d){case"\\htmlClass":Ye.class=K,Ke={command:"\\htmlClass",class:K};break;case"\\htmlId":Ye.id=K,Ke={command:"\\htmlId",id:K};break;case"\\htmlStyle":Ye.style=K,Ke={command:"\\htmlStyle",style:K};break;case"\\htmlData":{for(var Xt=K.split(","),ur=0;ur<Xt.length;ur++){var pr=Xt[ur].split("=");if(pr.length!==2)throw new q("Error parsing key-value for \\htmlData");Ye["data-"+pr[0].trim()]=pr[1].trim()}Ke={command:"\\htmlData",attributes:Ye};break}default:throw new Error("Unrecognized html command")}return t.settings.isTrusted(Ke)?{type:"html",mode:t.mode,attributes:Ye,body:nr(Oe)}:t.formatUnsupportedCmd(d)},htmlBuilder:(u,e)=>{var t=Nt(u.body,e,!1),d=["enclosing"];u.attributes.class&&d.push(...u.attributes.class.trim().split(/\s+/));var O=B.makeSpan(d,t,e);for(var K in u.attributes)K!=="class"&&u.attributes.hasOwnProperty(K)&&O.setAttribute(K,u.attributes[K]);return O},mathmlBuilder:(u,e)=>lr(u.body,e)}),Ge({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(u,e)=>{var{parser:t}=u;return{type:"htmlmathml",mode:t.mode,html:nr(e[0]),mathml:nr(e[1])}},htmlBuilder:(u,e)=>{var t=Nt(u.html,e,!1);return B.makeFragment(t)},mathmlBuilder:(u,e)=>lr(u.mathml,e)});var hi=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new q("Invalid size: '"+e+"' in \\includegraphics");var d={number:+(t[1]+t[2]),unit:t[3]};if(!jt(d))throw new q("Invalid unit: '"+d.unit+"' in \\includegraphics.");return d};Ge({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(u,e,t)=>{var{parser:d}=u,O={number:0,unit:"em"},K={number:.9,unit:"em"},Oe={number:0,unit:"em"},Ke="";if(t[0])for(var Ye=Gr(t[0],"raw").string,Xt=Ye.split(","),ur=0;ur<Xt.length;ur++){var pr=Xt[ur].split("=");if(pr.length===2){var Tr=pr[1].trim();switch(pr[0].trim()){case"alt":Ke=Tr;break;case"width":O=hi(Tr);break;case"height":K=hi(Tr);break;case"totalheight":Oe=hi(Tr);break;default:throw new q("Invalid key: '"+pr[0]+"' in \\includegraphics.")}}}var Wr=Gr(e[0],"url").url;return Ke===""&&(Ke=Wr,Ke=Ke.replace(/^.*[\\/]/,""),Ke=Ke.substring(0,Ke.lastIndexOf("."))),d.settings.isTrusted({command:"\\includegraphics",url:Wr})?{type:"includegraphics",mode:d.mode,alt:Ke,width:O,height:K,totalheight:Oe,src:Wr}:d.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(u,e)=>{var t=Ht(u.height,e),d=0;u.totalheight.number>0&&(d=Ht(u.totalheight,e)-t);var O=0;u.width.number>0&&(O=Ht(u.width,e));var K={height:Ct(t+d)};O>0&&(K.width=Ct(O)),d>0&&(K.verticalAlign=Ct(-d));var Oe=new St(u.src,u.alt,K);return Oe.height=t,Oe.depth=d,Oe},mathmlBuilder:(u,e)=>{var t=new Wt.MathNode("mglyph",[]);t.setAttribute("alt",u.alt);var d=Ht(u.height,e),O=0;if(u.totalheight.number>0&&(O=Ht(u.totalheight,e)-d,t.setAttribute("valign",Ct(-O))),t.setAttribute("height",Ct(d+O)),u.width.number>0){var K=Ht(u.width,e);t.setAttribute("width",Ct(K))}return t.setAttribute("src",u.src),t}}),Ge({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(u,e){var{parser:t,funcName:d}=u,O=Gr(e[0],"size");if(t.settings.strict){var K=d[1]==="m",Oe=O.value.unit==="mu";K?(Oe||t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+d+" supports only mu units, "+("not "+O.value.unit+" units")),t.mode!=="math"&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+d+" works only in math mode")):Oe&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+d+" doesn't support mu units")}return{type:"kern",mode:t.mode,dimension:O.value}},htmlBuilder(u,e){return B.makeGlue(u.dimension,e)},mathmlBuilder(u,e){var t=Ht(u.dimension,e);return new Wt.SpaceNode(t)}}),Ge({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(u,e)=>{var{parser:t,funcName:d}=u,O=e[0];return{type:"lap",mode:t.mode,alignment:d.slice(5),body:O}},htmlBuilder:(u,e)=>{var t;u.alignment==="clap"?(t=B.makeSpan([],[dt(u.body,e)]),t=B.makeSpan(["inner"],[t],e)):t=B.makeSpan(["inner"],[dt(u.body,e)]);var d=B.makeSpan(["fix"],[]),O=B.makeSpan([u.alignment],[t,d],e),K=B.makeSpan(["strut"]);return K.style.height=Ct(O.height+O.depth),O.depth&&(K.style.verticalAlign=Ct(-O.depth)),O.children.unshift(K),O=B.makeSpan(["thinbox"],[O],e),B.makeSpan(["mord","vbox"],[O],e)},mathmlBuilder:(u,e)=>{var t=new Wt.MathNode("mpadded",[mr(u.body,e)]);if(u.alignment!=="rlap"){var d=u.alignment==="llap"?"-1":"-0.5";t.setAttribute("lspace",d+"width")}return t.setAttribute("width","0px"),t}}),Ge({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(u,e){var{funcName:t,parser:d}=u,O=d.mode;d.switchMode("math");var K=t==="\\("?"\\)":"$",Oe=d.parseExpression(!1,K);return d.expect(K),d.switchMode(O),{type:"styling",mode:d.mode,style:"text",body:Oe}}}),Ge({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(u,e){throw new q("Mismatched "+u.funcName)}});var fi=(u,e)=>{switch(e.style.size){case k.DISPLAY.size:return u.display;case k.TEXT.size:return u.text;case k.SCRIPT.size:return u.script;case k.SCRIPTSCRIPT.size:return u.scriptscript;default:return u.text}};Ge({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(u,e)=>{var{parser:t}=u;return{type:"mathchoice",mode:t.mode,display:nr(e[0]),text:nr(e[1]),script:nr(e[2]),scriptscript:nr(e[3])}},htmlBuilder:(u,e)=>{var t=fi(u,e),d=Nt(t,e,!1);return B.makeFragment(d)},mathmlBuilder:(u,e)=>{var t=fi(u,e);return lr(t,e)}});var cs=(u,e,t,d,O,K,Oe)=>{u=B.makeSpan([],[u]);var Ke=t&&A.isCharacterBox(t),Ye,Xt;if(e){var ur=dt(e,d.havingStyle(O.sup()),d);Xt={elem:ur,kern:Math.max(d.fontMetrics().bigOpSpacing1,d.fontMetrics().bigOpSpacing3-ur.depth)}}if(t){var pr=dt(t,d.havingStyle(O.sub()),d);Ye={elem:pr,kern:Math.max(d.fontMetrics().bigOpSpacing2,d.fontMetrics().bigOpSpacing4-pr.height)}}var Tr;if(Xt&&Ye){var Wr=d.fontMetrics().bigOpSpacing5+Ye.elem.height+Ye.elem.depth+Ye.kern+u.depth+Oe;Tr=B.makeVList({positionType:"bottom",positionData:Wr,children:[{type:"kern",size:d.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ye.elem,marginLeft:Ct(-K)},{type:"kern",size:Ye.kern},{type:"elem",elem:u},{type:"kern",size:Xt.kern},{type:"elem",elem:Xt.elem,marginLeft:Ct(K)},{type:"kern",size:d.fontMetrics().bigOpSpacing5}]},d)}else if(Ye){var ln=u.height-Oe;Tr=B.makeVList({positionType:"top",positionData:ln,children:[{type:"kern",size:d.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ye.elem,marginLeft:Ct(-K)},{type:"kern",size:Ye.kern},{type:"elem",elem:u}]},d)}else if(Xt){var In=u.depth+Oe;Tr=B.makeVList({positionType:"bottom",positionData:In,children:[{type:"elem",elem:u},{type:"kern",size:Xt.kern},{type:"elem",elem:Xt.elem,marginLeft:Ct(K)},{type:"kern",size:d.fontMetrics().bigOpSpacing5}]},d)}else return u;var Hn=[Tr];if(Ye&&K!==0&&!Ke){var Nn=B.makeSpan(["mspace"],[],d);Nn.style.marginRight=Ct(K),Hn.unshift(Nn)}return B.makeSpan(["mop","op-limits"],Hn,d)},ji=["\\smallint"],mi=(u,e)=>{var t,d,O=!1,K;u.type==="supsub"?(t=u.sup,d=u.sub,K=Gr(u.base,"op"),O=!0):K=Gr(u,"op");var Oe=e.style,Ke=!1;Oe.size===k.DISPLAY.size&&K.symbol&&!A.contains(ji,K.name)&&(Ke=!0);var Ye;if(K.symbol){var Xt=Ke?"Size2-Regular":"Size1-Regular",ur="";if((K.name==="\\oiint"||K.name==="\\oiiint")&&(ur=K.name.slice(1),K.name=ur==="oiint"?"\\iint":"\\iiint"),Ye=B.makeSymbol(K.name,Xt,"math",e,["mop","op-symbol",Ke?"large-op":"small-op"]),ur.length>0){var pr=Ye.italic,Tr=B.staticSvg(ur+"Size"+(Ke?"2":"1"),e);Ye=B.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ye,shift:0},{type:"elem",elem:Tr,shift:Ke?.08:0}]},e),K.name="\\"+ur,Ye.classes.unshift("mop"),Ye.italic=pr}}else if(K.body){var Wr=Nt(K.body,e,!0);Wr.length===1&&Wr[0]instanceof Be?(Ye=Wr[0],Ye.classes[0]="mop"):Ye=B.makeSpan(["mop"],Wr,e)}else{for(var ln=[],In=1;In<K.name.length;In++)ln.push(B.mathsym(K.name[In],K.mode,e));Ye=B.makeSpan(["mop"],ln,e)}var Hn=0,Nn=0;return(Ye instanceof Be||K.name==="\\oiint"||K.name==="\\oiiint")&&!K.suppressBaseShift&&(Hn=(Ye.height-Ye.depth)/2-e.fontMetrics().axisHeight,Nn=Ye.italic),O?cs(Ye,t,d,e,Oe,Nn,Hn):(Hn&&(Ye.style.position="relative",Ye.style.top=Ct(Hn)),Ye)},Ea=(u,e)=>{var t;if(u.symbol)t=new Tt("mo",[Pe(u.name,u.mode)]),A.contains(ji,u.name)&&t.setAttribute("largeop","false");else if(u.body)t=new Tt("mo",Yt(u.body,e));else{t=new Tt("mi",[new ir(u.name.slice(1))]);var d=new Tt("mo",[Pe("\u2061","text")]);u.parentIsSupSub?t=new Tt("mrow",[t,d]):t=Jt([t,d])}return t},xs={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Ge({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(u,e)=>{var{parser:t,funcName:d}=u,O=d;return O.length===1&&(O=xs[O]),{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:O}},htmlBuilder:mi,mathmlBuilder:Ea}),Ge({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(u,e)=>{var{parser:t}=u,d=e[0];return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:nr(d)}},htmlBuilder:mi,mathmlBuilder:Ea});var Ss={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Ge({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(u){var{parser:e,funcName:t}=u;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:mi,mathmlBuilder:Ea}),Ge({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(u){var{parser:e,funcName:t}=u;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:mi,mathmlBuilder:Ea}),Ge({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(u){var{parser:e,funcName:t}=u,d=t;return d.length===1&&(d=Ss[d]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:d}},htmlBuilder:mi,mathmlBuilder:Ea});var ws=(u,e)=>{var t,d,O=!1,K;u.type==="supsub"?(t=u.sup,d=u.sub,K=Gr(u.base,"operatorname"),O=!0):K=Gr(u,"operatorname");var Oe;if(K.body.length>0){for(var Ke=K.body.map(pr=>{var Tr=pr.text;return typeof Tr=="string"?{type:"textord",mode:pr.mode,text:Tr}:pr}),Ye=Nt(Ke,e.withFont("mathrm"),!0),Xt=0;Xt<Ye.length;Xt++){var ur=Ye[Xt];ur instanceof Be&&(ur.text=ur.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Oe=B.makeSpan(["mop"],Ye,e)}else Oe=B.makeSpan(["mop"],[],e);return O?cs(Oe,t,d,e,e.style,0,0):Oe},_i=(u,e)=>{for(var t=Yt(u.body,e.withFont("mathrm")),d=!0,O=0;O<t.length;O++){var K=t[O];if(!(K instanceof Wt.SpaceNode))if(K instanceof Wt.MathNode)switch(K.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var Oe=K.children[0];K.children.length===1&&Oe instanceof Wt.TextNode?Oe.text=Oe.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):d=!1;break}default:d=!1}else d=!1}if(d){var Ke=t.map(ur=>ur.toText()).join("");t=[new Wt.TextNode(Ke)]}var Ye=new Wt.MathNode("mi",t);Ye.setAttribute("mathvariant","normal");var Xt=new Wt.MathNode("mo",[Pe("\u2061","text")]);return u.parentIsSupSub?new Wt.MathNode("mrow",[Ye,Xt]):Wt.newDocumentFragment([Ye,Xt])};Ge({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(u,e)=>{var{parser:t,funcName:d}=u,O=e[0];return{type:"operatorname",mode:t.mode,body:nr(O),alwaysHandleSupSub:d==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:ws,mathmlBuilder:_i}),Ve("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Vt({type:"ordgroup",htmlBuilder(u,e){return u.semisimple?B.makeFragment(Nt(u.body,e,!1)):B.makeSpan(["mord"],Nt(u.body,e,!0),e)},mathmlBuilder(u,e){return lr(u.body,e,!0)}}),Ge({type:"overline",names:["\\overline"],props:{numArgs:1},handler(u,e){var{parser:t}=u,d=e[0];return{type:"overline",mode:t.mode,body:d}},htmlBuilder(u,e){var t=dt(u.body,e.havingCrampedStyle()),d=B.makeLineSpan("overline-line",e),O=e.fontMetrics().defaultRuleThickness,K=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t},{type:"kern",size:3*O},{type:"elem",elem:d},{type:"kern",size:O}]},e);return B.makeSpan(["mord","overline"],[K],e)},mathmlBuilder(u,e){var t=new Wt.MathNode("mo",[new Wt.TextNode("\u203E")]);t.setAttribute("stretchy","true");var d=new Wt.MathNode("mover",[mr(u.body,e),t]);return d.setAttribute("accent","true"),d}}),Ge({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(u,e)=>{var{parser:t}=u,d=e[0];return{type:"phantom",mode:t.mode,body:nr(d)}},htmlBuilder:(u,e)=>{var t=Nt(u.body,e.withPhantom(),!1);return B.makeFragment(t)},mathmlBuilder:(u,e)=>{var t=Yt(u.body,e);return new Wt.MathNode("mphantom",t)}}),Ge({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(u,e)=>{var{parser:t}=u,d=e[0];return{type:"hphantom",mode:t.mode,body:d}},htmlBuilder:(u,e)=>{var t=B.makeSpan([],[dt(u.body,e.withPhantom())]);if(t.height=0,t.depth=0,t.children)for(var d=0;d<t.children.length;d++)t.children[d].height=0,t.children[d].depth=0;return t=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t}]},e),B.makeSpan(["mord"],[t],e)},mathmlBuilder:(u,e)=>{var t=Yt(nr(u.body),e),d=new Wt.MathNode("mphantom",t),O=new Wt.MathNode("mpadded",[d]);return O.setAttribute("height","0px"),O.setAttribute("depth","0px"),O}}),Ge({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(u,e)=>{var{parser:t}=u,d=e[0];return{type:"vphantom",mode:t.mode,body:d}},htmlBuilder:(u,e)=>{var t=B.makeSpan(["inner"],[dt(u.body,e.withPhantom())]),d=B.makeSpan(["fix"],[]);return B.makeSpan(["mord","rlap"],[t,d],e)},mathmlBuilder:(u,e)=>{var t=Yt(nr(u.body),e),d=new Wt.MathNode("mphantom",t),O=new Wt.MathNode("mpadded",[d]);return O.setAttribute("width","0px"),O}}),Ge({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(u,e){var{parser:t}=u,d=Gr(e[0],"size").value,O=e[1];return{type:"raisebox",mode:t.mode,dy:d,body:O}},htmlBuilder(u,e){var t=dt(u.body,e),d=Ht(u.dy,e);return B.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:t}]},e)},mathmlBuilder(u,e){var t=new Wt.MathNode("mpadded",[mr(u.body,e)]),d=u.dy.number+u.dy.unit;return t.setAttribute("voffset",d),t}}),Ge({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(u){var{parser:e}=u;return{type:"internal",mode:e.mode}}}),Ge({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(u,e,t){var{parser:d}=u,O=t[0],K=Gr(e[0],"size"),Oe=Gr(e[1],"size");return{type:"rule",mode:d.mode,shift:O&&Gr(O,"size").value,width:K.value,height:Oe.value}},htmlBuilder(u,e){var t=B.makeSpan(["mord","rule"],[],e),d=Ht(u.width,e),O=Ht(u.height,e),K=u.shift?Ht(u.shift,e):0;return t.style.borderRightWidth=Ct(d),t.style.borderTopWidth=Ct(O),t.style.bottom=Ct(K),t.width=d,t.height=O+K,t.depth=-K,t.maxFontSize=O*1.125*e.sizeMultiplier,t},mathmlBuilder(u,e){var t=Ht(u.width,e),d=Ht(u.height,e),O=u.shift?Ht(u.shift,e):0,K=e.color&&e.getColor()||"black",Oe=new Wt.MathNode("mspace");Oe.setAttribute("mathbackground",K),Oe.setAttribute("width",Ct(t)),Oe.setAttribute("height",Ct(d));var Ke=new Wt.MathNode("mpadded",[Oe]);return O>=0?Ke.setAttribute("height",Ct(O)):(Ke.setAttribute("height",Ct(O)),Ke.setAttribute("depth",Ct(-O))),Ke.setAttribute("voffset",Ct(O)),Ke}});function li(u,e,t){for(var d=Nt(u,e,!1),O=e.sizeMultiplier/t.sizeMultiplier,K=0;K<d.length;K++){var Oe=d[K].classes.indexOf("sizing");Oe<0?Array.prototype.push.apply(d[K].classes,e.sizingClasses(t)):d[K].classes[Oe+1]==="reset-size"+e.size&&(d[K].classes[Oe+1]="reset-size"+t.size),d[K].height*=O,d[K].depth*=O}return B.makeFragment(d)}var pi=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Ms=(u,e)=>{var t=e.havingSize(u.size);return li(u.body,t,e)};Ge({type:"sizing",names:pi,props:{numArgs:0,allowedInText:!0},handler:(u,e)=>{var{breakOnTokenText:t,funcName:d,parser:O}=u,K=O.parseExpression(!1,t);return{type:"sizing",mode:O.mode,size:pi.indexOf(d)+1,body:K}},htmlBuilder:Ms,mathmlBuilder:(u,e)=>{var t=e.havingSize(u.size),d=Yt(u.body,t),O=new Wt.MathNode("mstyle",d);return O.setAttribute("mathsize",Ct(t.sizeMultiplier)),O}}),Ge({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(u,e,t)=>{var{parser:d}=u,O=!1,K=!1,Oe=t[0]&&Gr(t[0],"ordgroup");if(Oe)for(var Ke="",Ye=0;Ye<Oe.body.length;++Ye){var Xt=Oe.body[Ye];if(Ke=Xt.text,Ke==="t")O=!0;else if(Ke==="b")K=!0;else{O=!1,K=!1;break}}else O=!0,K=!0;var ur=e[0];return{type:"smash",mode:d.mode,body:ur,smashHeight:O,smashDepth:K}},htmlBuilder:(u,e)=>{var t=B.makeSpan([],[dt(u.body,e)]);if(!u.smashHeight&&!u.smashDepth)return t;if(u.smashHeight&&(t.height=0,t.children))for(var d=0;d<t.children.length;d++)t.children[d].height=0;if(u.smashDepth&&(t.depth=0,t.children))for(var O=0;O<t.children.length;O++)t.children[O].depth=0;var K=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t}]},e);return B.makeSpan(["mord"],[K],e)},mathmlBuilder:(u,e)=>{var t=new Wt.MathNode("mpadded",[mr(u.body,e)]);return u.smashHeight&&t.setAttribute("height","0px"),u.smashDepth&&t.setAttribute("depth","0px"),t}}),Ge({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(u,e,t){var{parser:d}=u,O=t[0],K=e[0];return{type:"sqrt",mode:d.mode,body:K,index:O}},htmlBuilder(u,e){var t=dt(u.body,e.havingCrampedStyle());t.height===0&&(t.height=e.fontMetrics().xHeight),t=B.wrapFragment(t,e);var d=e.fontMetrics(),O=d.defaultRuleThickness,K=O;e.style.id<k.TEXT.id&&(K=e.fontMetrics().xHeight);var Oe=O+K/4,Ke=t.height+t.depth+Oe+O,{span:Ye,ruleWidth:Xt,advanceWidth:ur}=Ho.sqrtImage(Ke,e),pr=Ye.height-Xt;pr>t.height+t.depth+Oe&&(Oe=(Oe+pr-t.height-t.depth)/2);var Tr=Ye.height-t.height-Oe-Xt;t.style.paddingLeft=Ct(ur);var Wr=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t,wrapperClasses:["svg-align"]},{type:"kern",size:-(t.height+Tr)},{type:"elem",elem:Ye},{type:"kern",size:Xt}]},e);if(u.index){var ln=e.havingStyle(k.SCRIPTSCRIPT),In=dt(u.index,ln,e),Hn=.6*(Wr.height-Wr.depth),Nn=B.makeVList({positionType:"shift",positionData:-Hn,children:[{type:"elem",elem:In}]},e),Fn=B.makeSpan(["root"],[Nn]);return B.makeSpan(["mord","sqrt"],[Fn,Wr],e)}else return B.makeSpan(["mord","sqrt"],[Wr],e)},mathmlBuilder(u,e){var{body:t,index:d}=u;return d?new Wt.MathNode("mroot",[mr(t,e),mr(d,e)]):new Wt.MathNode("msqrt",[mr(t,e)])}});var Cs={display:k.DISPLAY,text:k.TEXT,script:k.SCRIPT,scriptscript:k.SCRIPTSCRIPT};Ge({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(u,e){var{breakOnTokenText:t,funcName:d,parser:O}=u,K=O.parseExpression(!0,t),Oe=d.slice(1,d.length-5);return{type:"styling",mode:O.mode,style:Oe,body:K}},htmlBuilder(u,e){var t=Cs[u.style],d=e.havingStyle(t).withFont("");return li(u.body,d,e)},mathmlBuilder(u,e){var t=Cs[u.style],d=e.havingStyle(t),O=Yt(u.body,d),K=new Wt.MathNode("mstyle",O),Oe={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Ke=Oe[u.style];return K.setAttribute("scriptlevel",Ke[0]),K.setAttribute("displaystyle",Ke[1]),K}});var ns=function(e,t){var d=e.base;if(d)if(d.type==="op"){var O=d.limits&&(t.style.size===k.DISPLAY.size||d.alwaysHandleSupSub);return O?mi:null}else if(d.type==="operatorname"){var K=d.alwaysHandleSupSub&&(t.style.size===k.DISPLAY.size||d.limits);return K?ws:null}else{if(d.type==="accent")return A.isCharacterBox(d.base)?xa:null;if(d.type==="horizBrace"){var Oe=!e.sub;return Oe===d.isOver?ys:null}else return null}else return null};Vt({type:"supsub",htmlBuilder(u,e){var t=ns(u,e);if(t)return t(u,e);var{base:d,sup:O,sub:K}=u,Oe=dt(d,e),Ke,Ye,Xt=e.fontMetrics(),ur=0,pr=0,Tr=d&&A.isCharacterBox(d);if(O){var Wr=e.havingStyle(e.style.sup());Ke=dt(O,Wr,e),Tr||(ur=Oe.height-Wr.fontMetrics().supDrop*Wr.sizeMultiplier/e.sizeMultiplier)}if(K){var ln=e.havingStyle(e.style.sub());Ye=dt(K,ln,e),Tr||(pr=Oe.depth+ln.fontMetrics().subDrop*ln.sizeMultiplier/e.sizeMultiplier)}var In;e.style===k.DISPLAY?In=Xt.sup1:e.style.cramped?In=Xt.sup3:In=Xt.sup2;var Hn=e.sizeMultiplier,Nn=Ct(.5/Xt.ptPerEm/Hn),Fn=null;if(Ye){var Oa=u.base&&u.base.type==="op"&&u.base.name&&(u.base.name==="\\oiint"||u.base.name==="\\oiiint");(Oe instanceof Be||Oa)&&(Fn=Ct(-Oe.italic))}var Ba;if(Ke&&Ye){ur=Math.max(ur,In,Ke.depth+.25*Xt.xHeight),pr=Math.max(pr,Xt.sub2);var Ia=Xt.defaultRuleThickness,Ka=4*Ia;if(ur-Ke.depth-(Ye.height-pr)<Ka){pr=Ka-(ur-Ke.depth)+Ye.height;var Ga=.8*Xt.xHeight-(ur-Ke.depth);Ga>0&&(ur+=Ga,pr-=Ga)}var fo=[{type:"elem",elem:Ye,shift:pr,marginRight:Nn,marginLeft:Fn},{type:"elem",elem:Ke,shift:-ur,marginRight:Nn}];Ba=B.makeVList({positionType:"individualShift",children:fo},e)}else if(Ye){pr=Math.max(pr,Xt.sub1,Ye.height-.8*Xt.xHeight);var Xa=[{type:"elem",elem:Ye,marginLeft:Fn,marginRight:Nn}];Ba=B.makeVList({positionType:"shift",positionData:pr,children:Xa},e)}else if(Ke)ur=Math.max(ur,In,Ke.depth+.25*Xt.xHeight),Ba=B.makeVList({positionType:"shift",positionData:-ur,children:[{type:"elem",elem:Ke,marginRight:Nn}]},e);else throw new Error("supsub must have either sup or sub.");var Go=ze(Oe,"right")||"mord";return B.makeSpan([Go],[Oe,B.makeSpan(["msupsub"],[Ba])],e)},mathmlBuilder(u,e){var t=!1,d,O;u.base&&u.base.type==="horizBrace"&&(O=!!u.sup,O===u.base.isOver&&(t=!0,d=u.base.isOver)),u.base&&(u.base.type==="op"||u.base.type==="operatorname")&&(u.base.parentIsSupSub=!0);var K=[mr(u.base,e)];u.sub&&K.push(mr(u.sub,e)),u.sup&&K.push(mr(u.sup,e));var Oe;if(t)Oe=d?"mover":"munder";else if(u.sub)if(u.sup){var Xt=u.base;Xt&&Xt.type==="op"&&Xt.limits&&e.style===k.DISPLAY||Xt&&Xt.type==="operatorname"&&Xt.alwaysHandleSupSub&&(e.style===k.DISPLAY||Xt.limits)?Oe="munderover":Oe="msubsup"}else{var Ye=u.base;Ye&&Ye.type==="op"&&Ye.limits&&(e.style===k.DISPLAY||Ye.alwaysHandleSupSub)||Ye&&Ye.type==="operatorname"&&Ye.alwaysHandleSupSub&&(Ye.limits||e.style===k.DISPLAY)?Oe="munder":Oe="msub"}else{var Ke=u.base;Ke&&Ke.type==="op"&&Ke.limits&&(e.style===k.DISPLAY||Ke.alwaysHandleSupSub)||Ke&&Ke.type==="operatorname"&&Ke.alwaysHandleSupSub&&(Ke.limits||e.style===k.DISPLAY)?Oe="mover":Oe="msup"}return new Wt.MathNode(Oe,K)}}),Vt({type:"atom",htmlBuilder(u,e){return B.mathsym(u.text,u.mode,e,["m"+u.family])},mathmlBuilder(u,e){var t=new Wt.MathNode("mo",[Pe(u.text,u.mode)]);if(u.family==="bin"){var d=Bt(u,e);d==="bold-italic"&&t.setAttribute("mathvariant",d)}else u.family==="punct"?t.setAttribute("separator","true"):(u.family==="open"||u.family==="close")&&t.setAttribute("stretchy","false");return t}});var Zi={mi:"italic",mn:"normal",mtext:"normal"};Vt({type:"mathord",htmlBuilder(u,e){return B.makeOrd(u,e,"mathord")},mathmlBuilder(u,e){var t=new Wt.MathNode("mi",[Pe(u.text,u.mode,e)]),d=Bt(u,e)||"italic";return d!==Zi[t.type]&&t.setAttribute("mathvariant",d),t}}),Vt({type:"textord",htmlBuilder(u,e){return B.makeOrd(u,e,"textord")},mathmlBuilder(u,e){var t=Pe(u.text,u.mode,e),d=Bt(u,e)||"normal",O;return u.mode==="text"?O=new Wt.MathNode("mtext",[t]):/[0-9]/.test(u.text)?O=new Wt.MathNode("mn",[t]):u.text==="\\prime"?O=new Wt.MathNode("mo",[t]):O=new Wt.MathNode("mi",[t]),d!==Zi[O.type]&&O.setAttribute("mathvariant",d),O}});var Ni={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Vi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Vt({type:"spacing",htmlBuilder(u,e){if(Vi.hasOwnProperty(u.text)){var t=Vi[u.text].className||"";if(u.mode==="text"){var d=B.makeOrd(u,e,"textord");return d.classes.push(t),d}else return B.makeSpan(["mspace",t],[B.mathsym(u.text,u.mode,e)],e)}else{if(Ni.hasOwnProperty(u.text))return B.makeSpan(["mspace",Ni[u.text]],[],e);throw new q('Unknown type of space "'+u.text+'"')}},mathmlBuilder(u,e){var t;if(Vi.hasOwnProperty(u.text))t=new Wt.MathNode("mtext",[new Wt.TextNode("\xA0")]);else{if(Ni.hasOwnProperty(u.text))return new Wt.MathNode("mspace");throw new q('Unknown type of space "'+u.text+'"')}return t}});var Gi=()=>{var u=new Wt.MathNode("mtd",[]);return u.setAttribute("width","50%"),u};Vt({type:"tag",mathmlBuilder(u,e){var t=new Wt.MathNode("mtable",[new Wt.MathNode("mtr",[Gi(),new Wt.MathNode("mtd",[lr(u.body,e)]),Gi(),new Wt.MathNode("mtd",[lr(u.tag,e)])])]);return t.setAttribute("width","100%"),t}});var Os={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Yi={"\\textbf":"textbf","\\textmd":"textmd"},us={"\\textit":"textit","\\textup":"textup"},ft=(u,e)=>{var t=u.font;if(t){if(Os[t])return e.withTextFontFamily(Os[t]);if(Yi[t])return e.withTextFontWeight(Yi[t]);if(t==="\\emph")return e.fontShape==="textit"?e.withTextFontShape("textup"):e.withTextFontShape("textit")}else return e;return e.withTextFontShape(us[t])};Ge({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(u,e){var{parser:t,funcName:d}=u,O=e[0];return{type:"text",mode:t.mode,body:nr(O),font:d}},htmlBuilder(u,e){var t=ft(u,e),d=Nt(u.body,t,!0);return B.makeSpan(["mord","text"],d,t)},mathmlBuilder(u,e){var t=ft(u,e);return lr(u.body,t)}}),Ge({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(u,e){var{parser:t}=u;return{type:"underline",mode:t.mode,body:e[0]}},htmlBuilder(u,e){var t=dt(u.body,e),d=B.makeLineSpan("underline-line",e),O=e.fontMetrics().defaultRuleThickness,K=B.makeVList({positionType:"top",positionData:t.height,children:[{type:"kern",size:O},{type:"elem",elem:d},{type:"kern",size:3*O},{type:"elem",elem:t}]},e);return B.makeSpan(["mord","underline"],[K],e)},mathmlBuilder(u,e){var t=new Wt.MathNode("mo",[new Wt.TextNode("\u203E")]);t.setAttribute("stretchy","true");var d=new Wt.MathNode("munder",[mr(u.body,e),t]);return d.setAttribute("accentunder","true"),d}}),Ge({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(u,e){var{parser:t}=u;return{type:"vcenter",mode:t.mode,body:e[0]}},htmlBuilder(u,e){var t=dt(u.body,e),d=e.fontMetrics().axisHeight,O=.5*(t.height-d-(t.depth+d));return B.makeVList({positionType:"shift",positionData:O,children:[{type:"elem",elem:t}]},e)},mathmlBuilder(u,e){return new Wt.MathNode("mpadded",[mr(u.body,e)],["vcenter"])}}),Ge({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(u,e,t){throw new q("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(u,e){for(var t=Mi(u),d=[],O=e.havingStyle(e.style.text()),K=0;K<t.length;K++){var Oe=t[K];Oe==="~"&&(Oe="\\textasciitilde"),d.push(B.makeSymbol(Oe,"Typewriter-Regular",u.mode,O,["mord","texttt"]))}return B.makeSpan(["mord","text"].concat(O.sizingClasses(e)),B.tryCombineChars(d),O)},mathmlBuilder(u,e){var t=new Wt.TextNode(Mi(u)),d=new Wt.MathNode("mtext",[t]);return d.setAttribute("mathvariant","monospace"),d}});var Mi=u=>u.body.replace(/ /g,u.star?"\u2423":"\xA0"),ti=Et,Ti=`[ \r
]`,as="\\\\[a-zA-Z@]+",Bi="\\\\[^\uD800-\uDFFF]",os="("+as+")"+Ti+"*",is=`\\\\(
|[ \r ]+
?)[ \r ]*`,Jo="[\u0300-\u036F]",gi=new RegExp(Jo+"+$"),M="("+Ti+"+)|"+(is+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Jo+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Jo+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+os)+("|"+Bi+")");class je{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(M,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new Re("EOF",new L(this,t,t));var d=this.tokenRegex.exec(e);if(d===null||d.index!==t)throw new q("Unexpected character: '"+e[t]+"'",new Re(e[t],new L(this,t,t+1)));var O=d[6]||d[3]||(d[2]?"\\ ":" ");if(this.catcodes[O]===14){var K=e.indexOf(`
`,this.tokenRegex.lastIndex);return K===-1?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=K+1,this.lex()}return new Re(O,new L(this,t,this.tokenRegex.lastIndex))}}class zt{constructor(e,t){e===void 0&&(e={}),t===void 0&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new q("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(e[t]==null?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,d){if(d===void 0&&(d=!1),d){for(var O=0;O<this.undefStack.length;O++)delete this.undefStack[O][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var K=this.undefStack[this.undefStack.length-1];K&&!K.hasOwnProperty(e)&&(K[e]=this.current[e])}t==null?delete this.current[e]:this.current[e]=t}}var tr=bo;Ve("\\noexpand",function(u){var e=u.popToken();return u.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}}),Ve("\\expandafter",function(u){var e=u.popToken();return u.expandOnce(!0),{tokens:[e],numArgs:0}}),Ve("\\@firstoftwo",function(u){var e=u.consumeArgs(2);return{tokens:e[0],numArgs:0}}),Ve("\\@secondoftwo",function(u){var e=u.consumeArgs(2);return{tokens:e[1],numArgs:0}}),Ve("\\@ifnextchar",function(u){var e=u.consumeArgs(3);u.consumeSpaces();var t=u.future();return e[0].length===1&&e[0][0].text===t.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}}),Ve("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Ve("\\TextOrMath",function(u){var e=u.consumeArgs(2);return u.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var wr={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Ve("\\char",function(u){var e=u.popToken(),t,d="";if(e.text==="'")t=8,e=u.popToken();else if(e.text==='"')t=16,e=u.popToken();else if(e.text==="`")if(e=u.popToken(),e.text[0]==="\\")d=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new q("\\char` missing argument");d=e.text.charCodeAt(0)}else t=10;if(t){if(d=wr[e.text],d==null||d>=t)throw new q("Invalid base-"+t+" digit "+e.text);for(var O;(O=wr[u.future().text])!=null&&O<t;)d*=t,d+=O,u.popToken()}return"\\@char{"+d+"}"});var Kr=(u,e,t,d)=>{var O=u.consumeArg().tokens;if(O.length!==1)throw new q("\\newcommand's first argument must be a macro name");var K=O[0].text,Oe=u.isDefined(K);if(Oe&&!e)throw new q("\\newcommand{"+K+"} attempting to redefine "+(K+"; use \\renewcommand"));if(!Oe&&!t)throw new q("\\renewcommand{"+K+"} when command "+K+" does not yet exist; use \\newcommand");var Ke=0;if(O=u.consumeArg().tokens,O.length===1&&O[0].text==="["){for(var Ye="",Xt=u.expandNextToken();Xt.text!=="]"&&Xt.text!=="EOF";)Ye+=Xt.text,Xt=u.expandNextToken();if(!Ye.match(/^\s*[0-9]+\s*$/))throw new q("Invalid number of arguments: "+Ye);Ke=parseInt(Ye),O=u.consumeArg().tokens}return Oe&&d||u.macros.set(K,{tokens:O,numArgs:Ke}),""};Ve("\\newcommand",u=>Kr(u,!1,!0,!1)),Ve("\\renewcommand",u=>Kr(u,!0,!1,!1)),Ve("\\providecommand",u=>Kr(u,!0,!0,!0)),Ve("\\message",u=>{var e=u.consumeArgs(1)[0];return console.log(e.reverse().map(t=>t.text).join("")),""}),Ve("\\errmessage",u=>{var e=u.consumeArgs(1)[0];return console.error(e.reverse().map(t=>t.text).join("")),""}),Ve("\\show",u=>{var e=u.popToken(),t=e.text;return console.log(e,u.macros.get(t),ti[t],Lr.math[t],Lr.text[t]),""}),Ve("\\bgroup","{"),Ve("\\egroup","}"),Ve("~","\\nobreakspace"),Ve("\\lq","`"),Ve("\\rq","'"),Ve("\\aa","\\r a"),Ve("\\AA","\\r A"),Ve("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),Ve("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Ve("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),Ve("\u212C","\\mathscr{B}"),Ve("\u2130","\\mathscr{E}"),Ve("\u2131","\\mathscr{F}"),Ve("\u210B","\\mathscr{H}"),Ve("\u2110","\\mathscr{I}"),Ve("\u2112","\\mathscr{L}"),Ve("\u2133","\\mathscr{M}"),Ve("\u211B","\\mathscr{R}"),Ve("\u212D","\\mathfrak{C}"),Ve("\u210C","\\mathfrak{H}"),Ve("\u2128","\\mathfrak{Z}"),Ve("\\Bbbk","\\Bbb{k}"),Ve("\xB7","\\cdotp"),Ve("\\llap","\\mathllap{\\textrm{#1}}"),Ve("\\rlap","\\mathrlap{\\textrm{#1}}"),Ve("\\clap","\\mathclap{\\textrm{#1}}"),Ve("\\mathstrut","\\vphantom{(}"),Ve("\\underbar","\\underline{\\text{#1}}"),Ve("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Ve("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Ve("\\ne","\\neq"),Ve("\u2260","\\neq"),Ve("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Ve("\u2209","\\notin"),Ve("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Ve("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Ve("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),Ve("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),Ve("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),Ve("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),Ve("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),Ve("\u27C2","\\perp"),Ve("\u203C","\\mathclose{!\\mkern-0.8mu!}"),Ve("\u220C","\\notni"),Ve("\u231C","\\ulcorner"),Ve("\u231D","\\urcorner"),Ve("\u231E","\\llcorner"),Ve("\u231F","\\lrcorner"),Ve("\xA9","\\copyright"),Ve("\xAE","\\textregistered"),Ve("\uFE0F","\\textregistered"),Ve("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Ve("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Ve("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Ve("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Ve("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),Ve("\u22EE","\\vdots"),Ve("\\varGamma","\\mathit{\\Gamma}"),Ve("\\varDelta","\\mathit{\\Delta}"),Ve("\\varTheta","\\mathit{\\Theta}"),Ve("\\varLambda","\\mathit{\\Lambda}"),Ve("\\varXi","\\mathit{\\Xi}"),Ve("\\varPi","\\mathit{\\Pi}"),Ve("\\varSigma","\\mathit{\\Sigma}"),Ve("\\varUpsilon","\\mathit{\\Upsilon}"),Ve("\\varPhi","\\mathit{\\Phi}"),Ve("\\varPsi","\\mathit{\\Psi}"),Ve("\\varOmega","\\mathit{\\Omega}"),Ve("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Ve("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Ve("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Ve("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Ve("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Ve("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),Ve("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),Ve("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var cn={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Ve("\\dots",function(u){var e="\\dotso",t=u.expandAfterFuture().text;return t in cn?e=cn[t]:(t.slice(0,4)==="\\not"||t in Lr.math&&A.contains(["bin","rel"],Lr.math[t].group))&&(e="\\dotsb"),e});var Jn={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Ve("\\dotso",function(u){var e=u.future().text;return e in Jn?"\\ldots\\,":"\\ldots"}),Ve("\\dotsc",function(u){var e=u.future().text;return e in Jn&&e!==","?"\\ldots\\,":"\\ldots"}),Ve("\\cdots",function(u){var e=u.future().text;return e in Jn?"\\@cdots\\,":"\\@cdots"}),Ve("\\dotsb","\\cdots"),Ve("\\dotsm","\\cdots"),Ve("\\dotsi","\\!\\cdots"),Ve("\\dotsx","\\ldots\\,"),Ve("\\DOTSI","\\relax"),Ve("\\DOTSB","\\relax"),Ve("\\DOTSX","\\relax"),Ve("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Ve("\\,","\\tmspace+{3mu}{.1667em}"),Ve("\\thinspace","\\,"),Ve("\\>","\\mskip{4mu}"),Ve("\\:","\\tmspace+{4mu}{.2222em}"),Ve("\\medspace","\\:"),Ve("\\;","\\tmspace+{5mu}{.2777em}"),Ve("\\thickspace","\\;"),Ve("\\!","\\tmspace-{3mu}{.1667em}"),Ve("\\negthinspace","\\!"),Ve("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Ve("\\negthickspace","\\tmspace-{5mu}{.277em}"),Ve("\\enspace","\\kern.5em "),Ve("\\enskip","\\hskip.5em\\relax"),Ve("\\quad","\\hskip1em\\relax"),Ve("\\qquad","\\hskip2em\\relax"),Ve("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Ve("\\tag@paren","\\tag@literal{({#1})}"),Ve("\\tag@literal",u=>{if(u.macros.get("\\df@tag"))throw new q("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Ve("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Ve("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Ve("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Ve("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Ve("\\newline","\\\\\\relax"),Ve("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var ta=Ct(de["Main-Regular"][84][1]-.7*de["Main-Regular"][65][1]);Ve("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+ta+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),Ve("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+ta+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),Ve("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Ve("\\@hspace","\\hskip #1\\relax"),Ve("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Ve("\\ordinarycolon",":"),Ve("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Ve("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Ve("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Ve("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Ve("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Ve("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Ve("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Ve("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Ve("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Ve("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Ve("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Ve("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Ve("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Ve("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Ve("\u2237","\\dblcolon"),Ve("\u2239","\\eqcolon"),Ve("\u2254","\\coloneqq"),Ve("\u2255","\\eqqcolon"),Ve("\u2A74","\\Coloneqq"),Ve("\\ratio","\\vcentcolon"),Ve("\\coloncolon","\\dblcolon"),Ve("\\colonequals","\\coloneqq"),Ve("\\coloncolonequals","\\Coloneqq"),Ve("\\equalscolon","\\eqqcolon"),Ve("\\equalscoloncolon","\\Eqqcolon"),Ve("\\colonminus","\\coloneq"),Ve("\\coloncolonminus","\\Coloneq"),Ve("\\minuscolon","\\eqcolon"),Ve("\\minuscoloncolon","\\Eqcolon"),Ve("\\coloncolonapprox","\\Colonapprox"),Ve("\\coloncolonsim","\\Colonsim"),Ve("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Ve("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Ve("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Ve("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Ve("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),Ve("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Ve("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Ve("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Ve("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Ve("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Ve("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Ve("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Ve("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Ve("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Ve("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Ve("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Ve("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Ve("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Ve("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Ve("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Ve("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Ve("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Ve("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Ve("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),Ve("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),Ve("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),Ve("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),Ve("\\imath","\\html@mathml{\\@imath}{\u0131}"),Ve("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),Ve("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),Ve("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),Ve("\u27E6","\\llbracket"),Ve("\u27E7","\\rrbracket"),Ve("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Ve("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Ve("\u2983","\\lBrace"),Ve("\u2984","\\rBrace"),Ve("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}"),Ve("\u29B5","\\minuso"),Ve("\\darr","\\downarrow"),Ve("\\dArr","\\Downarrow"),Ve("\\Darr","\\Downarrow"),Ve("\\lang","\\langle"),Ve("\\rang","\\rangle"),Ve("\\uarr","\\uparrow"),Ve("\\uArr","\\Uparrow"),Ve("\\Uarr","\\Uparrow"),Ve("\\N","\\mathbb{N}"),Ve("\\R","\\mathbb{R}"),Ve("\\Z","\\mathbb{Z}"),Ve("\\alef","\\aleph"),Ve("\\alefsym","\\aleph"),Ve("\\Alpha","\\mathrm{A}"),Ve("\\Beta","\\mathrm{B}"),Ve("\\bull","\\bullet"),Ve("\\Chi","\\mathrm{X}"),Ve("\\clubs","\\clubsuit"),Ve("\\cnums","\\mathbb{C}"),Ve("\\Complex","\\mathbb{C}"),Ve("\\Dagger","\\ddagger"),Ve("\\diamonds","\\diamondsuit"),Ve("\\empty","\\emptyset"),Ve("\\Epsilon","\\mathrm{E}"),Ve("\\Eta","\\mathrm{H}"),Ve("\\exist","\\exists"),Ve("\\harr","\\leftrightarrow"),Ve("\\hArr","\\Leftrightarrow"),Ve("\\Harr","\\Leftrightarrow"),Ve("\\hearts","\\heartsuit"),Ve("\\image","\\Im"),Ve("\\infin","\\infty"),Ve("\\Iota","\\mathrm{I}"),Ve("\\isin","\\in"),Ve("\\Kappa","\\mathrm{K}"),Ve("\\larr","\\leftarrow"),Ve("\\lArr","\\Leftarrow"),Ve("\\Larr","\\Leftarrow"),Ve("\\lrarr","\\leftrightarrow"),Ve("\\lrArr","\\Leftrightarrow"),Ve("\\Lrarr","\\Leftrightarrow"),Ve("\\Mu","\\mathrm{M}"),Ve("\\natnums","\\mathbb{N}"),Ve("\\Nu","\\mathrm{N}"),Ve("\\Omicron","\\mathrm{O}"),Ve("\\plusmn","\\pm"),Ve("\\rarr","\\rightarrow"),Ve("\\rArr","\\Rightarrow"),Ve("\\Rarr","\\Rightarrow"),Ve("\\real","\\Re"),Ve("\\reals","\\mathbb{R}"),Ve("\\Reals","\\mathbb{R}"),Ve("\\Rho","\\mathrm{P}"),Ve("\\sdot","\\cdot"),Ve("\\sect","\\S"),Ve("\\spades","\\spadesuit"),Ve("\\sub","\\subset"),Ve("\\sube","\\subseteq"),Ve("\\supe","\\supseteq"),Ve("\\Tau","\\mathrm{T}"),Ve("\\thetasym","\\vartheta"),Ve("\\weierp","\\wp"),Ve("\\Zeta","\\mathrm{Z}"),Ve("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Ve("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Ve("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Ve("\\bra","\\mathinner{\\langle{#1}|}"),Ve("\\ket","\\mathinner{|{#1}\\rangle}"),Ve("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Ve("\\Bra","\\left\\langle#1\\right|"),Ve("\\Ket","\\left|#1\\right\\rangle");var $a=u=>e=>{var t=e.consumeArg().tokens,d=e.consumeArg().tokens,O=e.consumeArg().tokens,K=e.consumeArg().tokens,Oe=e.macros.get("|"),Ke=e.macros.get("\\|");e.macros.beginGroup();var Ye=pr=>Tr=>{u&&(Tr.macros.set("|",Oe),O.length&&Tr.macros.set("\\|",Ke));var Wr=pr;if(!pr&&O.length){var ln=Tr.future();ln.text==="|"&&(Tr.popToken(),Wr=!0)}return{tokens:Wr?O:d,numArgs:0}};e.macros.set("|",Ye(!1)),O.length&&e.macros.set("\\|",Ye(!0));var Xt=e.consumeArg().tokens,ur=e.expandTokens([...K,...Xt,...t]);return e.macros.endGroup(),{tokens:ur.reverse(),numArgs:0}};Ve("\\bra@ket",$a(!1)),Ve("\\bra@set",$a(!0)),Ve("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Ve("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Ve("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Ve("\\angln","{\\angl n}"),Ve("\\blue","\\textcolor{##6495ed}{#1}"),Ve("\\orange","\\textcolor{##ffa500}{#1}"),Ve("\\pink","\\textcolor{##ff00af}{#1}"),Ve("\\red","\\textcolor{##df0030}{#1}"),Ve("\\green","\\textcolor{##28ae7b}{#1}"),Ve("\\gray","\\textcolor{gray}{#1}"),Ve("\\purple","\\textcolor{##9d38bd}{#1}"),Ve("\\blueA","\\textcolor{##ccfaff}{#1}"),Ve("\\blueB","\\textcolor{##80f6ff}{#1}"),Ve("\\blueC","\\textcolor{##63d9ea}{#1}"),Ve("\\blueD","\\textcolor{##11accd}{#1}"),Ve("\\blueE","\\textcolor{##0c7f99}{#1}"),Ve("\\tealA","\\textcolor{##94fff5}{#1}"),Ve("\\tealB","\\textcolor{##26edd5}{#1}"),Ve("\\tealC","\\textcolor{##01d1c1}{#1}"),Ve("\\tealD","\\textcolor{##01a995}{#1}"),Ve("\\tealE","\\textcolor{##208170}{#1}"),Ve("\\greenA","\\textcolor{##b6ffb0}{#1}"),Ve("\\greenB","\\textcolor{##8af281}{#1}"),Ve("\\greenC","\\textcolor{##74cf70}{#1}"),Ve("\\greenD","\\textcolor{##1fab54}{#1}"),Ve("\\greenE","\\textcolor{##0d923f}{#1}"),Ve("\\goldA","\\textcolor{##ffd0a9}{#1}"),Ve("\\goldB","\\textcolor{##ffbb71}{#1}"),Ve("\\goldC","\\textcolor{##ff9c39}{#1}"),Ve("\\goldD","\\textcolor{##e07d10}{#1}"),Ve("\\goldE","\\textcolor{##a75a05}{#1}"),Ve("\\redA","\\textcolor{##fca9a9}{#1}"),Ve("\\redB","\\textcolor{##ff8482}{#1}"),Ve("\\redC","\\textcolor{##f9685d}{#1}"),Ve("\\redD","\\textcolor{##e84d39}{#1}"),Ve("\\redE","\\textcolor{##bc2612}{#1}"),Ve("\\maroonA","\\textcolor{##ffbde0}{#1}"),Ve("\\maroonB","\\textcolor{##ff92c6}{#1}"),Ve("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Ve("\\maroonD","\\textcolor{##ca337c}{#1}"),Ve("\\maroonE","\\textcolor{##9e034e}{#1}"),Ve("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Ve("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Ve("\\purpleC","\\textcolor{##aa87ff}{#1}"),Ve("\\purpleD","\\textcolor{##7854ab}{#1}"),Ve("\\purpleE","\\textcolor{##543b78}{#1}"),Ve("\\mintA","\\textcolor{##f5f9e8}{#1}"),Ve("\\mintB","\\textcolor{##edf2df}{#1}"),Ve("\\mintC","\\textcolor{##e0e5cc}{#1}"),Ve("\\grayA","\\textcolor{##f6f7f7}{#1}"),Ve("\\grayB","\\textcolor{##f0f1f2}{#1}"),Ve("\\grayC","\\textcolor{##e3e5e6}{#1}"),Ve("\\grayD","\\textcolor{##d6d8da}{#1}"),Ve("\\grayE","\\textcolor{##babec2}{#1}"),Ve("\\grayF","\\textcolor{##888d93}{#1}"),Ve("\\grayG","\\textcolor{##626569}{#1}"),Ve("\\grayH","\\textcolor{##3b3e40}{#1}"),Ve("\\grayI","\\textcolor{##21242c}{#1}"),Ve("\\kaBlue","\\textcolor{##314453}{#1}"),Ve("\\kaGreen","\\textcolor{##71B307}{#1}");var Ta={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class ro{constructor(e,t,d){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new zt(tr,t.macros),this.mode=d,this.stack=[]}feed(e){this.lexer=new je(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,d,O;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;t=this.popToken(),{tokens:O,end:d}=this.consumeArg(["]"])}else({tokens:O,start:t,end:d}=this.consumeArg());return this.pushToken(new Re("EOF",d.loc)),this.pushTokens(O),t.range(d,"")}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var t=[],d=e&&e.length>0;d||this.consumeSpaces();var O=this.future(),K,Oe=0,Ke=0;do{if(K=this.popToken(),t.push(K),K.text==="{")++Oe;else if(K.text==="}"){if(--Oe,Oe===-1)throw new q("Extra }",K)}else if(K.text==="EOF")throw new q("Unexpected end of input in a macro argument, expected '"+(e&&d?e[Ke]:"}")+"'",K);if(e&&d)if((Oe===0||Oe===1&&e[Ke]==="{")&&K.text===e[Ke]){if(++Ke,Ke===e.length){t.splice(-Ke,Ke);break}}else Ke=0}while(Oe!==0||d);return O.text==="{"&&t[t.length-1].text==="}"&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:O,end:K}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new q("The length of delimiters doesn't match the number of args!");for(var d=t[0],O=0;O<d.length;O++){var K=this.popToken();if(d[O]!==K.text)throw new q("Use of the macro doesn't match its definition",K)}}for(var Oe=[],Ke=0;Ke<e;Ke++)Oe.push(this.consumeArg(t&&t[Ke+1]).tokens);return Oe}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new q("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),d=t.text,O=t.noexpand?null:this._getExpansion(d);if(O==null||e&&O.unexpandable){if(e&&O==null&&d[0]==="\\"&&!this.isDefined(d))throw new q("Undefined control sequence: "+d);return this.pushToken(t),!1}this.countExpansion(1);var K=O.tokens,Oe=this.consumeArgs(O.numArgs,O.delimiters);if(O.numArgs){K=K.slice();for(var Ke=K.length-1;Ke>=0;--Ke){var Ye=K[Ke];if(Ye.text==="#"){if(Ke===0)throw new q("Incomplete placeholder at end of macro body",Ye);if(Ye=K[--Ke],Ye.text==="#")K.splice(Ke+1,1);else if(/^[1-9]$/.test(Ye.text))K.splice(Ke,2,...Oe[+Ye.text-1]);else throw new q("Not a valid argument number",Ye)}}}return this.pushTokens(K),K.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Re(e)]):void 0}expandTokens(e){var t=[],d=this.stack.length;for(this.pushTokens(e);this.stack.length>d;)if(this.expandOnce(!0)===!1){var O=this.stack.pop();O.treatAsRelax&&(O.noexpand=!1,O.treatAsRelax=!1),t.push(O)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t&&t.map(d=>d.text).join("")}_getExpansion(e){var t=this.macros.get(e);if(t==null)return t;if(e.length===1){var d=this.lexer.catcodes[e];if(d!=null&&d!==13)return}var O=typeof t=="function"?t(this):t;if(typeof O=="string"){var K=0;if(O.indexOf("#")!==-1)for(var Oe=O.replace(/##/g,"");Oe.indexOf("#"+(K+1))!==-1;)++K;for(var Ke=new je(O,this.settings),Ye=[],Xt=Ke.lex();Xt.text!=="EOF";)Ye.push(Xt),Xt=Ke.lex();Ye.reverse();var ur={tokens:Ye,numArgs:K};return ur}return O}isDefined(e){return this.macros.has(e)||ti.hasOwnProperty(e)||Lr.math.hasOwnProperty(e)||Lr.text.hasOwnProperty(e)||Ta.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return t!=null?typeof t=="string"||typeof t=="function"||!t.unexpandable:ti.hasOwnProperty(e)&&!ti[e].primitive}}var ie=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,r=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),o={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},l={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"};class g{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new ro(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(t===void 0&&(t=!0),this.fetch().text!==e)throw new q("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new Re("}")),this.gullet.pushTokens(e);var d=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,d}parseExpression(e,t){for(var d=[];;){this.mode==="math"&&this.consumeSpaces();var O=this.fetch();if(g.endOfExpression.indexOf(O.text)!==-1||t&&O.text===t||e&&ti[O.text]&&ti[O.text].infix)break;var K=this.parseAtom(t);if(K){if(K.type==="internal")continue}else break;d.push(K)}return this.mode==="text"&&this.formLigatures(d),this.handleInfixNodes(d)}handleInfixNodes(e){for(var t=-1,d,O=0;O<e.length;O++)if(e[O].type==="infix"){if(t!==-1)throw new q("only one infix operator per group",e[O].token);t=O,d=e[O].replaceWith}if(t!==-1&&d){var K,Oe,Ke=e.slice(0,t),Ye=e.slice(t+1);Ke.length===1&&Ke[0].type==="ordgroup"?K=Ke[0]:K={type:"ordgroup",mode:this.mode,body:Ke},Ye.length===1&&Ye[0].type==="ordgroup"?Oe=Ye[0]:Oe={type:"ordgroup",mode:this.mode,body:Ye};var Xt;return d==="\\\\abovefrac"?Xt=this.callFunction(d,[K,e[t],Oe],[]):Xt=this.callFunction(d,[K,Oe],[]),[Xt]}else return e}handleSupSubscript(e){var t=this.fetch(),d=t.text;this.consume(),this.consumeSpaces();var O;do{var K;O=this.parseGroup(e)}while(((K=O)==null?void 0:K.type)==="internal");if(!O)throw new q("Expected group after '"+d+"'",t);return O}formatUnsupportedCmd(e){for(var t=[],d=0;d<e.length;d++)t.push({type:"textord",mode:"text",text:e[d]});var O={type:"text",mode:this.mode,body:t},K={type:"color",mode:this.mode,color:this.settings.errorColor,body:[O]};return K}parseAtom(e){var t=this.parseGroup("atom",e);if((t==null?void 0:t.type)==="internal"||this.mode==="text")return t;for(var d,O;;){this.consumeSpaces();var K=this.fetch();if(K.text==="\\limits"||K.text==="\\nolimits"){if(t&&t.type==="op"){var Oe=K.text==="\\limits";t.limits=Oe,t.alwaysHandleSupSub=!0}else if(t&&t.type==="operatorname")t.alwaysHandleSupSub&&(t.limits=K.text==="\\limits");else throw new q("Limit controls must follow a math operator",K);this.consume()}else if(K.text==="^"){if(d)throw new q("Double superscript",K);d=this.handleSupSubscript("superscript")}else if(K.text==="_"){if(O)throw new q("Double subscript",K);O=this.handleSupSubscript("subscript")}else if(K.text==="'"){if(d)throw new q("Double superscript",K);var Ke={type:"textord",mode:this.mode,text:"\\prime"},Ye=[Ke];for(this.consume();this.fetch().text==="'";)Ye.push(Ke),this.consume();this.fetch().text==="^"&&Ye.push(this.handleSupSubscript("superscript")),d={type:"ordgroup",mode:this.mode,body:Ye}}else if(r[K.text]){var Xt=ie.test(K.text),ur=[];for(ur.push(new Re(r[K.text])),this.consume();;){var pr=this.fetch().text;if(!r[pr]||ie.test(pr)!==Xt)break;ur.unshift(new Re(r[pr])),this.consume()}var Tr=this.subparse(ur);Xt?O={type:"ordgroup",mode:"math",body:Tr}:d={type:"ordgroup",mode:"math",body:Tr}}else break}return d||O?{type:"supsub",mode:this.mode,base:t,sup:d,sub:O}:t}parseFunction(e,t){var d=this.fetch(),O=d.text,K=ti[O];if(!K)return null;if(this.consume(),t&&t!=="atom"&&!K.allowedInArgument)throw new q("Got function '"+O+"' with no arguments"+(t?" as "+t:""),d);if(this.mode==="text"&&!K.allowedInText)throw new q("Can't use function '"+O+"' in text mode",d);if(this.mode==="math"&&K.allowedInMath===!1)throw new q("Can't use function '"+O+"' in math mode",d);var{args:Oe,optArgs:Ke}=this.parseArguments(O,K);return this.callFunction(O,Oe,Ke,d,e)}callFunction(e,t,d,O,K){var Oe={funcName:e,parser:this,token:O,breakOnTokenText:K},Ke=ti[e];if(Ke&&Ke.handler)return Ke.handler(Oe,t,d);throw new q("No function handler for "+e)}parseArguments(e,t){var d=t.numArgs+t.numOptionalArgs;if(d===0)return{args:[],optArgs:[]};for(var O=[],K=[],Oe=0;Oe<d;Oe++){var Ke=t.argTypes&&t.argTypes[Oe],Ye=Oe<t.numOptionalArgs;(t.primitive&&Ke==null||t.type==="sqrt"&&Oe===1&&K[0]==null)&&(Ke="primitive");var Xt=this.parseGroupOfType("argument to '"+e+"'",Ke,Ye);if(Ye)K.push(Xt);else if(Xt!=null)O.push(Xt);else throw new q("Null argument, please report this as a bug")}return{args:O,optArgs:K}}parseGroupOfType(e,t,d){switch(t){case"color":return this.parseColorGroup(d);case"size":return this.parseSizeGroup(d);case"url":return this.parseUrlGroup(d);case"math":case"text":return this.parseArgumentGroup(d,t);case"hbox":{var O=this.parseArgumentGroup(d,"text");return O!=null?{type:"styling",mode:O.mode,body:[O],style:"text"}:null}case"raw":{var K=this.parseStringGroup("raw",d);return K!=null?{type:"raw",mode:"text",string:K.text}:null}case"primitive":{if(d)throw new q("A primitive argument cannot be optional");var Oe=this.parseGroup(e);if(Oe==null)throw new q("Expected group as "+e,this.fetch());return Oe}case"original":case null:case void 0:return this.parseArgumentGroup(d);default:throw new q("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(e,t){var d=this.gullet.scanArgument(t);if(d==null)return null;for(var O="",K;(K=this.fetch()).text!=="EOF";)O+=K.text,this.consume();return this.consume(),d.text=O,d}parseRegexGroup(e,t){for(var d=this.fetch(),O=d,K="",Oe;(Oe=this.fetch()).text!=="EOF"&&e.test(K+Oe.text);)O=Oe,K+=O.text,this.consume();if(K==="")throw new q("Invalid "+t+": '"+d.text+"'",d);return d.range(O,K)}parseColorGroup(e){var t=this.parseStringGroup("color",e);if(t==null)return null;var d=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!d)throw new q("Invalid color: '"+t.text+"'",t);var O=d[0];return/^[0-9a-f]{6}$/i.test(O)&&(O="#"+O),{type:"color-token",mode:this.mode,color:O}}parseSizeGroup(e){var t,d=!1;if(this.gullet.consumeSpaces(),!e&&this.gullet.future().text!=="{"?t=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):t=this.parseStringGroup("size",e),!t)return null;!e&&t.text.length===0&&(t.text="0pt",d=!0);var O=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!O)throw new q("Invalid size: '"+t.text+"'",t);var K={number:+(O[1]+O[2]),unit:O[3]};if(!jt(K))throw new q("Invalid unit: '"+K.unit+"'",t);return{type:"size",mode:this.mode,value:K,isBlank:d}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var t=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),t==null)return null;var d=t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:d}}parseArgumentGroup(e,t){var d=this.gullet.scanArgument(e);if(d==null)return null;var O=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();var K=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var Oe={type:"ordgroup",mode:this.mode,loc:d.loc,body:K};return t&&this.switchMode(O),Oe}parseGroup(e,t){var d=this.fetch(),O=d.text,K;if(O==="{"||O==="\\begingroup"){this.consume();var Oe=O==="{"?"}":"\\endgroup";this.gullet.beginGroup();var Ke=this.parseExpression(!1,Oe),Ye=this.fetch();this.expect(Oe),this.gullet.endGroup(),K={type:"ordgroup",mode:this.mode,loc:L.range(d,Ye),body:Ke,semisimple:O==="\\begingroup"||void 0}}else if(K=this.parseFunction(t,e)||this.parseSymbol(),K==null&&O[0]==="\\"&&!Ta.hasOwnProperty(O)){if(this.settings.throwOnError)throw new q("Undefined control sequence: "+O,d);K=this.formatUnsupportedCmd(O),this.consume()}return K}formLigatures(e){for(var t=e.length-1,d=0;d<t;++d){var O=e[d],K=O.text;K==="-"&&e[d+1].text==="-"&&(d+1<t&&e[d+2].text==="-"?(e.splice(d,3,{type:"textord",mode:"text",loc:L.range(O,e[d+2]),text:"---"}),t-=2):(e.splice(d,2,{type:"textord",mode:"text",loc:L.range(O,e[d+1]),text:"--"}),t-=1)),(K==="'"||K==="`")&&e[d+1].text===K&&(e.splice(d,2,{type:"textord",mode:"text",loc:L.range(O,e[d+1]),text:K+K}),t-=1)}}parseSymbol(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var d=t.slice(5),O=d.charAt(0)==="*";if(O&&(d=d.slice(1)),d.length<2||d.charAt(0)!==d.slice(-1))throw new q(`\\verb assertion failed --
please report what input caused this bug`);return d=d.slice(1,-1),{type:"verb",mode:"text",body:d,star:O}}l.hasOwnProperty(t[0])&&!Lr[this.mode][t[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=l[t[0]]+t.slice(1));var K=gi.exec(t);K&&(t=t.substring(0,K.index),t==="i"?t="\u0131":t==="j"&&(t="\u0237"));var Oe;if(Lr[this.mode][t]){this.settings.strict&&this.mode==="math"&&Pn.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var Ke=Lr[this.mode][t].group,Ye=L.range(e),Xt;if(Sr.hasOwnProperty(Ke)){var ur=Ke;Xt={type:"atom",mode:this.mode,family:ur,loc:Ye,text:t}}else Xt={type:Ke,mode:this.mode,loc:Ye,text:t};Oe=Xt}else if(t.charCodeAt(0)>=128)this.settings.strict&&(ke(t.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'"'+(" ("+t.charCodeAt(0)+")"),e)),Oe={type:"textord",mode:"text",loc:L.range(e),text:t};else return null;if(this.consume(),K)for(var pr=0;pr<K[0].length;pr++){var Tr=K[0][pr];if(!o[Tr])throw new q("Unknown accent ' "+Tr+"'",e);var Wr=o[Tr][this.mode]||o[Tr].text;if(!Wr)throw new q("Accent "+Tr+" unsupported in "+this.mode+" mode",e);Oe={type:"accent",mode:this.mode,loc:L.range(e),label:Wr,isStretchy:!1,isShifty:!0,base:Oe}}return Oe}}g.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var W=function(e,t){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var d=new g(e,t);delete d.gullet.macros.current["\\df@tag"];var O=d.parse();if(delete d.gullet.macros.current["\\current@color"],delete d.gullet.macros.current["\\color"],d.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new q("\\tag works only in display equations");O=[{type:"tag",mode:"text",body:O,tag:d.subparse([new Re("\\df@tag")])}]}return O},fe=function(e,t,d){t.textContent="";var O=ar(e,d).toNode();t.appendChild(O)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),fe=function(){throw new q("KaTeX doesn't work in quirks mode.")});var We=function(e,t){var d=ar(e,t).toMarkup();return d},it=function(e,t){var d=new oe(t);return W(e,d)},Mt=function(e,t,d){if(d.throwOnError||!(e instanceof q))throw e;var O=B.makeSpan(["katex-error"],[new Be(t)]);return O.setAttribute("title",e.toString()),O.setAttribute("style","color:"+d.errorColor),O},ar=function(e,t){var d=new oe(t);try{var O=W(e,d);return un(O,e,d)}catch(K){return Mt(K,e,d)}},yr=function(e,t){var d=new oe(t);try{var O=W(e,d);return wn(O,e,d)}catch(K){return Mt(K,e,d)}},kr="0.16.22",rn={Span:x,Anchor:H,SymbolNode:Be,SvgNode:zr,PathNode:$r,LineNode:yn},hn={version:kr,render:fe,renderToString:We,ParseError:q,SETTINGS_SCHEMA:S,__parse:it,__renderToDomTree:ar,__renderToHTMLTree:yr,__setFontMetrics:Se,__defineSymbol:h,__defineFunction:Ge,__defineMacro:Ve,__domTree:rn},pn=n(2348);const Un={},wa=[];function Aa(u){const e=u||Un;return function(t,d){(0,pn.S4)(t,"element",function(O,K){const Oe=Array.isArray(O.properties.className)?O.properties.className:wa,Ke=Oe.includes("language-math"),Ye=Oe.includes("math-display"),Xt=Oe.includes("math-inline");let ur=Ye;if(!Ke&&!Ye&&!Xt)return;let pr=K[K.length-1],Tr=O;if(O.tagName==="code"&&Ke&&pr&&pr.type==="element"&&pr.tagName==="pre"&&(Tr=pr,pr=K[K.length-2],ur=!0),!pr)return;const Wr=(0,qe.l)(Tr,{whitespace:"pre"});let ln;try{ln=hn.renderToString(Wr,N0(j0({},e),{displayMode:ur,throwOnError:!0}))}catch(Hn){const Nn=Hn,Fn=Nn.name.toLowerCase();d.message("Could not render math with KaTeX",{ancestors:[...K,O],cause:Nn,place:O.position,ruleId:Fn,source:"rehype-katex"});try{ln=hn.renderToString(Wr,N0(j0({},e),{displayMode:ur,strict:"ignore",throwOnError:!1}))}catch(Oa){ln=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(e.errorColor||"#cc0000"),title:String(Hn)},children:[{type:"text",value:Wr}]}]}}typeof ln=="string"&&(ln=(0,a.N)(ln,{fragment:!0}).children);const In=pr.children.indexOf(Tr);return pr.children.splice(In,1,...ln),pn.AM})}}}}]);
}());