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.8bb233a5.async.js

824 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 zl=Object.defineProperty,Dl=Object.defineProperties;var Rl=Object.getOwnPropertyDescriptors;var q0=Object.getOwnPropertySymbols;var Fl=Object.prototype.hasOwnProperty,kl=Object.prototype.propertyIsEnumerable;var J0=(en,Jt,o)=>Jt in en?zl(en,Jt,{enumerable:!0,configurable:!0,writable:!0,value:o}):en[Jt]=o,w0=(en,Jt)=>{for(var o in Jt||(Jt={}))Fl.call(Jt,o)&&J0(en,o,Jt[o]);if(q0)for(var o of q0(Jt))kl.call(Jt,o)&&J0(en,o,Jt[o]);return en},S0=(en,Jt)=>Dl(en,Rl(Jt));(self.webpackChunk=self.webpackChunk||[]).push([[8891],{70557:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},27812:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},89489:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},59477:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},40001:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},81953:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},26227:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},49198:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},84105:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},41464:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},18785:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},87169:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},73331:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},15277:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},52671:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},8657:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},56082:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},61481:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},33853:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},12893:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},15075:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},32134:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},62772:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},43531:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},61485:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},38819:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},47472:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},87395:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},32050:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(67711),qe=o(59301),I={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"},He=I,te=o(7657),q=function(l,L){return qe.createElement(te.Z,(0,s.Z)({},l,{ref:L,icon:He}))},Q=qe.forwardRef(q),y=Q},8944:function(){"use strict"},29509:function(en,Jt,o){"use strict";o.d(Jt,{o2:function(){return te},yT:function(){return q}});var s=o(15142),qe=o(34998);const I=qe.i.map(Q=>`${Q}-inverse`),He=["success","processing","error","default","warning"];function te(Q){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,s.Z)(I),(0,s.Z)(qe.i)).includes(Q):qe.i.includes(Q)}function q(Q){return He.includes(Q)}},9981:function(en,Jt){"use strict";const o=function(){const s=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let qe=1;qe<arguments.length;qe++){const I=qe<0||arguments.length<=qe?void 0:arguments[qe];I&&Object.keys(I).forEach(He=>{const te=I[He];te!==void 0&&(s[He]=te)})}return s};Jt.Z=o},86013:function(en,Jt,o){"use strict";var s=o(59301),qe=o(19248);const I=He=>{let te;return typeof He=="object"&&(He!=null&&He.clearIcon)?te=He:He&&(te={clearIcon:s.createElement(qe.Z,null)}),te};Jt.Z=I},54500:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return s}});const s=qe=>qe?typeof qe=="function"?qe():qe:null},97224:function(en,Jt,o){"use strict";o.d(Jt,{F:function(){return s}});function s(I){return I!=null&&I===I.window}const qe=I=>{var He,te;if(typeof window=="undefined")return 0;let q=0;return s(I)?q=I.pageYOffset:I instanceof Document?q=I.documentElement.scrollTop:(I instanceof HTMLElement||I)&&(q=I.scrollTop),I&&!s(I)&&typeof q!="number"&&(q=(te=((He=I.ownerDocument)!==null&&He!==void 0?He:I).documentElement)===null||te===void 0?void 0:te.scrollTop),q};Jt.Z=qe},52838:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return q}});var s=o(37645);function qe(Q,y,U,l){if(l===!1)return{adjustX:!1,adjustY:!1};const L=l&&typeof l=="object"?l:{},W={};switch(Q){case"top":case"bottom":W.shiftX=y.arrowOffsetHorizontal*2+U,W.shiftY=!0,W.adjustY=!0;break;case"left":case"right":W.shiftY=y.arrowOffsetVertical*2+U,W.shiftX=!0,W.adjustX=!0;break}const G=Object.assign(Object.assign({},W),L);return G.shiftX||(G.adjustX=!0),G.shiftY||(G.adjustY=!0),G}const I={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"]}},He={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"]}},te=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function q(Q){const{arrowWidth:y,autoAdjustOverflow:U,arrowPointAtCenter:l,offset:L,borderRadius:W,visibleFirst:G}=Q,R=y/2,Z={};return Object.keys(I).forEach(A=>{const $=l&&He[A]||I[A],w=Object.assign(Object.assign({},$),{offset:[0,0],dynamicInset:!0});switch(Z[A]=w,te.has(A)&&(w.autoArrow=!1),A){case"top":case"topLeft":case"topRight":w.offset[1]=-R-L;break;case"bottom":case"bottomLeft":case"bottomRight":w.offset[1]=R+L;break;case"left":case"leftTop":case"leftBottom":w.offset[0]=-R-L;break;case"right":case"rightTop":case"rightBottom":w.offset[0]=R+L;break}const j=(0,s.wZ)({contentRadius:W,limitVerticalRadius:!0});if(l)switch(A){case"topLeft":case"bottomLeft":w.offset[0]=-j.arrowOffsetHorizontal-R;break;case"topRight":case"bottomRight":w.offset[0]=j.arrowOffsetHorizontal+R;break;case"leftTop":case"rightTop":w.offset[1]=-j.arrowOffsetHorizontal*2+R;break;case"leftBottom":case"rightBottom":w.offset[1]=j.arrowOffsetHorizontal*2-R;break}w.overflow=qe(A,j,y,U),G&&(w.htmlRegion="visibleFirst")}),Z}},83010:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return He}});var s=o(16089);function qe(te,q,Q,y){const U=Q-q;return te/=y/2,te<1?U/2*te*te*te+q:U/2*((te-=2)*te*te+2)+q}var I=o(97224);function He(te){let q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:Q=()=>window,callback:y,duration:U=450}=q,l=Q(),L=(0,I.Z)(l),W=Date.now(),G=()=>{const Z=Date.now()-W,A=qe(Z>U?U:Z,L,te,U);(0,I.F)(l)?l.scrollTo(window.pageXOffset,A):l instanceof Document||l.constructor.name==="HTMLDocument"?l.documentElement.scrollTop=A:l.scrollTop=A,Z<U?(0,s.Z)(G):typeof y=="function"&&y()};(0,s.Z)(G)}},82855:function(en,Jt,o){"use strict";o.d(Jt,{F:function(){return te},Z:function(){return He}});var s=o(92310),qe=o.n(s);const I=null;function He(q,Q,y){return qe()({[`${q}-status-success`]:Q==="success",[`${q}-status-warning`]:Q==="warning",[`${q}-status-error`]:Q==="error",[`${q}-status-validating`]:Q==="validating",[`${q}-has-feedback`]:y})}const te=(q,Q)=>Q||q},41780:function(en,Jt,o){"use strict";var s=o(15142),qe=o(16089);function I(He){let te;const q=y=>()=>{te=null,He.apply(void 0,(0,s.Z)(y))},Q=function(){if(te==null){for(var y=arguments.length,U=new Array(y),l=0;l<y;l++)U[l]=arguments[l];te=(0,qe.Z)(q(U))}};return Q.cancel=()=>{qe.Z.cancel(te),te=null},Q}Jt.Z=I},48608:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return de}});var s=o(59301),qe=o(92310),I=o.n(qe),He=o(29301),te=o(41780),q=o(48755),Q=o(16931);const y=X=>{const{componentCls:J}=X;return{[J]:{position:"fixed",zIndex:X.zIndexPopup}}},U=X=>({zIndexPopup:X.zIndexBase+10});var l=(0,Q.I$)("Affix",y,U);function L(X){return X!==window?X.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function W(X,J,Ne){if(Ne!==void 0&&Math.round(J.top)>Math.round(X.top)-Ne)return Ne+J.top}function G(X,J,Ne){if(Ne!==void 0&&Math.round(J.bottom)<Math.round(X.bottom)+Ne){const Le=window.innerHeight-J.bottom;return Ne+Le}}var R=function(X,J){var Ne={};for(var Le in X)Object.prototype.hasOwnProperty.call(X,Le)&&J.indexOf(Le)<0&&(Ne[Le]=X[Le]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Le=Object.getOwnPropertySymbols(X);et<Le.length;et++)J.indexOf(Le[et])<0&&Object.prototype.propertyIsEnumerable.call(X,Le[et])&&(Ne[Le[et]]=X[Le[et]]);return Ne};const Z=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function A(){return typeof window!="undefined"?window:null}const $=0,w=1;var de=s.forwardRef((X,J)=>{var Ne;const{style:Le,offsetTop:et,offsetBottom:Ue,prefixCls:Ce,className:Oe,rootClassName:Y,children:xe,target:M,onChange:E,onTestUpdatePosition:st}=X,ce=R(X,["style","offsetTop","offsetBottom","prefixCls","className","rootClassName","children","target","onChange","onTestUpdatePosition"]),{getPrefixCls:le,getTargetContainer:H}=s.useContext(q.E_),_=le("affix",Ce),[re,T]=s.useState(!1),[ne,Fe]=s.useState(),[ye,lt]=s.useState(),ft=s.useRef($),pt=s.useRef(null),he=s.useRef(null),We=s.useRef(null),jt=s.useRef(null),ze=s.useRef(null),Be=(Ne=M!=null?M:H)!==null&&Ne!==void 0?Ne:A,P=Ue===void 0&&et===void 0?0:et,ct=()=>{if(ft.current!==w||!jt.current||!We.current||!Be)return;const ar=Be();if(ar){const qt={status:$},Nt=L(We.current);if(Nt.top===0&&Nt.left===0&&Nt.width===0&&Nt.height===0)return;const ht=L(ar),Ot=W(Nt,ht,P),Tt=G(Nt,ht,Ue);Ot!==void 0?(qt.affixStyle={position:"fixed",top:Ot,width:Nt.width,height:Nt.height},qt.placeholderStyle={width:Nt.width,height:Nt.height}):Tt!==void 0&&(qt.affixStyle={position:"fixed",bottom:Tt,width:Nt.width,height:Nt.height},qt.placeholderStyle={width:Nt.width,height:Nt.height}),qt.lastAffix=!!qt.affixStyle,re!==qt.lastAffix&&(E==null||E(qt.lastAffix)),ft.current=qt.status,Fe(qt.affixStyle),lt(qt.placeholderStyle),T(qt.lastAffix)}},Se=()=>{ft.current=w,ct()},fe=(0,te.Z)(()=>{Se()}),ue=(0,te.Z)(()=>{if(Be&&ne){const ar=Be();if(ar&&We.current){const qt=L(ar),Nt=L(We.current),ht=W(Nt,qt,P),Ot=G(Nt,qt,Ue);if(ht!==void 0&&ne.top===ht||Ot!==void 0&&ne.bottom===Ot)return}}Se()}),ge=()=>{const ar=Be==null?void 0:Be();ar&&(Z.forEach(qt=>{var Nt;he.current&&((Nt=pt.current)===null||Nt===void 0||Nt.removeEventListener(qt,he.current)),ar==null||ar.addEventListener(qt,ue)}),pt.current=ar,he.current=ue)},$e=()=>{ze.current&&(clearTimeout(ze.current),ze.current=null);const ar=Be==null?void 0:Be();Z.forEach(qt=>{var Nt;ar==null||ar.removeEventListener(qt,ue),he.current&&((Nt=pt.current)===null||Nt===void 0||Nt.removeEventListener(qt,he.current))}),fe.cancel(),ue.cancel()};s.useImperativeHandle(J,()=>({updatePosition:fe})),s.useEffect(()=>(ze.current=setTimeout(ge),()=>$e()),[]),s.useEffect(()=>{ge()},[M,ne,re]),s.useEffect(()=>{fe()},[M,et,Ue]);const[we,Re,Je]=l(_),wt=I()(Y,Re,_,Je),At=I()({[wt]:ne});return we(s.createElement(He.Z,{onResize:fe},s.createElement("div",Object.assign({style:Le,className:Oe,ref:We},ce),ne&&s.createElement("div",{style:ye,"aria-hidden":"true"}),s.createElement("div",{className:At,ref:jt,style:ne},s.createElement(He.Z,{onResize:fe},xe)))))})},1560:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return w}});var s=o(2738),qe=o(45915),I=o(82326),He=o(59301),te=o(92310),q=o.n(te),Q=o(11592),y=o(75030),U=o(48755);const{Option:l}=I.default;function L(j){return(j==null?void 0:j.type)&&(j.type.isSelectOption||j.type.isSelectOptGroup)}const W=(j,de)=>{var X;const{prefixCls:J,className:Ne,popupClassName:Le,dropdownClassName:et,children:Ue,dataSource:Ce}=j,Oe=(0,Q.Z)(Ue);let Y;Oe.length===1&&He.isValidElement(Oe[0])&&!L(Oe[0])&&([Y]=Oe);const xe=Y?()=>Y:void 0;let M;Oe.length&&L(Oe[0])?M=Ue:M=Ce?Ce.map(le=>{if(He.isValidElement(le))return le;switch(typeof le){case"string":return He.createElement(l,{key:le,value:le},le);case"object":{const{value:H}=le;return He.createElement(l,{key:H,value:H},le.text)}default:return}}):[];const{getPrefixCls:E}=He.useContext(U.E_),st=E("select",J),[ce]=(0,y.Cn)("SelectLike",(X=j.dropdownStyle)===null||X===void 0?void 0:X.zIndex);return He.createElement(I.default,Object.assign({ref:de,suffixIcon:null},(0,s.Z)(j,["dataSource","dropdownClassName"]),{prefixCls:st,popupClassName:Le||et,dropdownStyle:Object.assign(Object.assign({},j.dropdownStyle),{zIndex:ce}),className:q()(`${st}-auto-complete`,Ne),mode:I.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:xe}),M)};var R=He.forwardRef(W);const{Option:Z}=I.default,A=(0,qe.Z)(R,"dropdownAlign",j=>(0,s.Z)(j,["visible"])),$=R;$.Option=Z,$._InternalPanelDoNotUseOrYouWillBeFired=A;var w=$},91882:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return ce}});var s=o(59301),qe=o(92310),I=o.n(qe),He=o(11592),te=o(26112),q=o(22703),Q=o(48755),y=o(84105),U=o(19563);const l=le=>{let{children:H}=le;const{getPrefixCls:_}=s.useContext(Q.E_),re=_("breadcrumb");return s.createElement("li",{className:`${re}-separator`,"aria-hidden":"true"},H===""?H:H||"/")};l.__ANT_BREADCRUMB_SEPARATOR=!0;var L=l,W=function(le,H){var _={};for(var re in le)Object.prototype.hasOwnProperty.call(le,re)&&H.indexOf(re)<0&&(_[re]=le[re]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,re=Object.getOwnPropertySymbols(le);T<re.length;T++)H.indexOf(re[T])<0&&Object.prototype.propertyIsEnumerable.call(le,re[T])&&(_[re[T]]=le[re[T]]);return _};function G(le,H){if(le.title===void 0||le.title===null)return null;const _=Object.keys(H).join("|");return typeof le.title=="object"?le.title:String(le.title).replace(new RegExp(`:(${_})`,"g"),(re,T)=>H[T]||re)}function R(le,H,_,re){if(_==null)return null;const{className:T,onClick:ne}=H,Fe=W(H,["className","onClick"]),ye=Object.assign(Object.assign({},(0,te.Z)(Fe,{data:!0,aria:!0})),{onClick:ne});return re!==void 0?s.createElement("a",Object.assign({},ye,{className:I()(`${le}-link`,T),href:re}),_):s.createElement("span",Object.assign({},ye,{className:I()(`${le}-link`,T)}),_)}function Z(le,H){return(re,T,ne,Fe,ye)=>{if(H)return H(re,T,ne,Fe);const lt=G(re,T);return R(le,re,lt,ye)}}var A=function(le,H){var _={};for(var re in le)Object.prototype.hasOwnProperty.call(le,re)&&H.indexOf(re)<0&&(_[re]=le[re]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,re=Object.getOwnPropertySymbols(le);T<re.length;T++)H.indexOf(re[T])<0&&Object.prototype.propertyIsEnumerable.call(le,re[T])&&(_[re[T]]=le[re[T]]);return _};const $=le=>{const{prefixCls:H,separator:_="/",children:re,menu:T,overlay:ne,dropdownProps:Fe,href:ye}=le,ft=(pt=>{if(T||ne){const he=Object.assign({},Fe);if(T){const We=T||{},{items:jt}=We,ze=A(We,["items"]);he.menu=Object.assign(Object.assign({},ze),{items:jt==null?void 0:jt.map((Be,P)=>{var{key:ct,title:Se,label:fe,path:ue}=Be,ge=A(Be,["key","title","label","path"]);let $e=fe!=null?fe:Se;return ue&&($e=s.createElement("a",{href:`${ye}${ue}`},$e)),Object.assign(Object.assign({},ge),{key:ct!=null?ct:P,label:$e})})})}else ne&&(he.overlay=ne);return s.createElement(U.Z,Object.assign({placement:"bottom"},he),s.createElement("span",{className:`${H}-overlay-link`},pt,s.createElement(y.Z,null)))}return pt})(re);return ft!=null?s.createElement(s.Fragment,null,s.createElement("li",null,ft),_&&s.createElement(L,null,_)):null},w=le=>{const{prefixCls:H,children:_,href:re}=le,T=A(le,["prefixCls","children","href"]),{getPrefixCls:ne}=s.useContext(Q.E_),Fe=ne("breadcrumb",H);return s.createElement($,Object.assign({},T,{prefixCls:Fe}),R(Fe,T,_,re))};w.__ANT_BREADCRUMB_ITEM=!0;var j=w,de=o(36237),X=o(63356),J=o(16931),Ne=o(51636);const Le=le=>{const{componentCls:H,iconCls:_,calc:re}=le;return{[H]:Object.assign(Object.assign({},(0,X.Wf)(le)),{color:le.itemColor,fontSize:le.fontSize,[_]:{fontSize:le.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:le.linkColor,transition:`color ${le.motionDurationMid}`,padding:`0 ${(0,de.unit)(le.paddingXXS)}`,borderRadius:le.borderRadiusSM,height:le.fontHeight,display:"inline-block",marginInline:re(le.marginXXS).mul(-1).equal(),"&:hover":{color:le.linkHoverColor,backgroundColor:le.colorBgTextHover}},(0,X.Qy)(le)),"li:last-child":{color:le.lastItemColor},[`${H}-separator`]:{marginInline:le.separatorMargin,color:le.separatorColor},[`${H}-link`]:{[`
> ${_} + span,
> ${_} + a
`]:{marginInlineStart:le.marginXXS}},[`${H}-overlay-link`]:{borderRadius:le.borderRadiusSM,height:le.fontHeight,display:"inline-block",padding:`0 ${(0,de.unit)(le.paddingXXS)}`,marginInline:re(le.marginXXS).mul(-1).equal(),[`> ${_}`]:{marginInlineStart:le.marginXXS,fontSize:le.fontSizeIcon},"&:hover":{color:le.linkHoverColor,backgroundColor:le.colorBgTextHover,a:{color:le.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${le.componentCls}-rtl`]:{direction:"rtl"}})}},et=le=>({itemColor:le.colorTextDescription,lastItemColor:le.colorText,iconFontSize:le.fontSize,linkColor:le.colorTextDescription,linkHoverColor:le.colorText,separatorColor:le.colorTextDescription,separatorMargin:le.marginXS});var Ue=(0,J.I$)("Breadcrumb",le=>{const H=(0,Ne.mergeToken)(le,{});return Le(H)},et),Ce=function(le,H){var _={};for(var re in le)Object.prototype.hasOwnProperty.call(le,re)&&H.indexOf(re)<0&&(_[re]=le[re]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,re=Object.getOwnPropertySymbols(le);T<re.length;T++)H.indexOf(re[T])<0&&Object.prototype.propertyIsEnumerable.call(le,re[T])&&(_[re[T]]=le[re[T]]);return _};function Oe(le){const{breadcrumbName:H,children:_}=le,re=Ce(le,["breadcrumbName","children"]),T=Object.assign({title:H},re);return _&&(T.menu={items:_.map(ne=>{var{breadcrumbName:Fe}=ne,ye=Ce(ne,["breadcrumbName"]);return Object.assign(Object.assign({},ye),{title:Fe})})}),T}function Y(le,H){return(0,s.useMemo)(()=>le||(H?H.map(Oe):null),[le,H])}var xe=function(le,H){var _={};for(var re in le)Object.prototype.hasOwnProperty.call(le,re)&&H.indexOf(re)<0&&(_[re]=le[re]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,re=Object.getOwnPropertySymbols(le);T<re.length;T++)H.indexOf(re[T])<0&&Object.prototype.propertyIsEnumerable.call(le,re[T])&&(_[re[T]]=le[re[T]]);return _};const M=(le,H)=>{if(H===void 0)return H;let _=(H||"").replace(/^\//,"");return Object.keys(le).forEach(re=>{_=_.replace(`:${re}`,le[re])}),_},E=le=>{const{prefixCls:H,separator:_="/",style:re,className:T,rootClassName:ne,routes:Fe,items:ye,children:lt,itemRender:ft,params:pt={}}=le,he=xe(le,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:We,direction:jt,breadcrumb:ze}=s.useContext(Q.E_);let Be;const P=We("breadcrumb",H),[ct,Se,fe]=Ue(P),ue=Y(ye,Fe),ge=Z(P,ft);if(ue&&ue.length>0){const Re=[],Je=ye||Fe;Be=ue.map((wt,At)=>{const{path:ar,key:qt,type:Nt,menu:ht,overlay:Ot,onClick:Tt,className:Ut,separator:St,dropdownProps:gr}=wt,lr=M(pt,ar);lr!==void 0&&Re.push(lr);const Cr=qt!=null?qt:At;if(Nt==="separator")return s.createElement(L,{key:Cr},St);const rn={},Er=At===ue.length-1;ht?rn.menu=ht:Ot&&(rn.overlay=Ot);let{href:S}=wt;return Re.length&&lr!==void 0&&(S=`#/${Re.join("/")}`),s.createElement($,Object.assign({key:Cr},rn,(0,te.Z)(wt,{data:!0,aria:!0}),{className:Ut,dropdownProps:gr,href:S,separator:Er?"":_,onClick:Tt,prefixCls:P}),ge(wt,pt,Je,Re,S))})}else if(lt){const Re=(0,He.Z)(lt).length;Be=(0,He.Z)(lt).map((Je,wt)=>{if(!Je)return Je;const At=wt===Re-1;return(0,q.Tm)(Je,{separator:At?"":_,key:wt})})}const $e=I()(P,ze==null?void 0:ze.className,{[`${P}-rtl`]:jt==="rtl"},T,ne,Se,fe),we=Object.assign(Object.assign({},ze==null?void 0:ze.style),re);return ct(s.createElement("nav",Object.assign({className:$e,style:we},he),s.createElement("ol",null,Be)))};E.Item=j,E.Separator=L;var st=E,ce=st},17149:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return ct}});var s=o(15142),qe=o(59301),I=o(92310),He=o.n(I),te=o(63727),q=o(2738),Q=o(75030),y=o(86641),U=o(45915),l=o(82855),L=o(48755),W=o(38406),G=o(2171),R=o(83397),Z=o(31756),A=o(56553),$=o(24971),w=o(1722),j=o(90376),de=o(68525),X=o(90005),J=o(70045);function Ne(Se,fe){const{getPrefixCls:ue,direction:ge,renderEmpty:$e}=qe.useContext(L.E_),we=fe||ge,Re=ue("select",Se),Je=ue("cascader",Se);return[Re,Je,we,$e]}var Le=Ne;function et(Se,fe){return qe.useMemo(()=>fe?qe.createElement("span",{className:`${Se}-checkbox-inner`}):!1,[fe])}var Ue=o(33853),Ce=o(58617),Oe=o(38819),xe=(Se,fe,ue)=>{let ge=ue;ue||(ge=fe?qe.createElement(Ue.Z,null):qe.createElement(Oe.Z,null));const $e=qe.createElement("span",{className:`${Se}-menu-item-loading-icon`},qe.createElement(Ce.Z,{spin:!0}));return qe.useMemo(()=>[ge,$e],[ge])},M=o(56119),E=o(16931),st=o(36237),ce=o(36170),le=o(63356),_=Se=>{const{prefixCls:fe,componentCls:ue}=Se,ge=`${ue}-menu-item`,$e=`
&${ge}-expand ${ge}-expand-icon,
${ge}-loading-icon
`;return[(0,ce.C2)(`${fe}-checkbox`,Se),{[ue]:{"&-checkbox":{top:0,marginInlineEnd:Se.paddingXS,pointerEvents:"unset"},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${ue}-menu-empty`]:{[`${ue}-menu`]:{width:"100%",height:"auto",[ge]:{color:Se.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:Se.controlItemWidth,height:Se.dropdownHeight,margin:0,padding:Se.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,st.unit)(Se.lineWidth)} ${Se.lineType} ${Se.colorSplit}`},"&-item":Object.assign(Object.assign({},le.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Se.optionPadding,lineHeight:Se.lineHeight,cursor:"pointer",transition:`all ${Se.motionDurationMid}`,borderRadius:Se.borderRadiusSM,"&:hover":{background:Se.controlItemBgHover},"&-disabled":{color:Se.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[$e]:{color:Se.colorTextDisabled}},[`&-active:not(${ge}-disabled)`]:{"&, &:hover":{color:Se.optionSelectedColor,fontWeight:Se.optionSelectedFontWeight,backgroundColor:Se.optionSelectedBg}},"&-content":{flex:"auto"},[$e]:{marginInlineStart:Se.paddingXXS,color:Se.colorTextDescription,fontSize:Se.fontSizeIcon},"&-keyword":{color:Se.colorHighlight}})}}}]};const re=Se=>{const{componentCls:fe,antCls:ue}=Se;return[{[fe]:{width:Se.controlWidth}},{[`${fe}-dropdown`]:[{[`&${ue}-select-dropdown`]:{padding:0}},_(Se)]},{[`${fe}-dropdown-rtl`]:{direction:"rtl"}},(0,M.c)(Se)]},T=Se=>{const fe=Math.round((Se.controlHeight-Se.fontSize*Se.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Se.controlItemBgActive,optionSelectedFontWeight:Se.fontWeightStrong,optionPadding:`${fe}px ${Se.paddingSM}px`,menuPadding:Se.paddingXXS,optionSelectedColor:Se.colorText}};var ne=(0,E.I$)("Cascader",Se=>[re(Se)],T);const Fe=Se=>{const{componentCls:fe}=Se;return{[`${fe}-panel`]:[_(Se),{display:"inline-flex",border:`${(0,st.unit)(Se.lineWidth)} ${Se.lineType} ${Se.colorSplit}`,borderRadius:Se.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${fe}-menus`]:{alignItems:"stretch"},[`${fe}-menu`]:{height:"auto"},"&-empty":{padding:Se.paddingXXS}}]}};var ye=(0,E.A1)(["Cascader","Panel"],Se=>Fe(Se),T);function lt(Se){const{prefixCls:fe,className:ue,multiple:ge,rootClassName:$e,notFoundContent:we,direction:Re,expandIcon:Je,disabled:wt}=Se,At=qe.useContext(G.Z),ar=wt!=null?wt:At,[qt,Nt,ht,Ot]=Le(fe,Re),Tt=(0,R.Z)(Nt),[Ut,St,gr]=ne(Nt,Tt);ye(Nt);const lr=ht==="rtl",[Cr,rn]=xe(qt,lr,Je),Er=we||(Ot==null?void 0:Ot("Cascader"))||qe.createElement(W.Z,{componentName:"Cascader"}),S=et(Nt,ge);return Ut(qe.createElement(te.s,Object.assign({},Se,{checkable:S,prefixCls:Nt,className:He()(ue,St,$e,gr,Tt),notFoundContent:Er,direction:ht,expandIcon:Cr,loadingIcon:rn,disabled:ar})))}var ft=lt,pt=function(Se,fe){var ue={};for(var ge in Se)Object.prototype.hasOwnProperty.call(Se,ge)&&fe.indexOf(ge)<0&&(ue[ge]=Se[ge]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,ge=Object.getOwnPropertySymbols(Se);$e<ge.length;$e++)fe.indexOf(ge[$e])<0&&Object.prototype.propertyIsEnumerable.call(Se,ge[$e])&&(ue[ge[$e]]=Se[ge[$e]]);return ue};const{SHOW_CHILD:he,SHOW_PARENT:We}=te.default;function jt(Se,fe,ue){const ge=Se.toLowerCase().split(fe).reduce((Re,Je,wt)=>wt===0?[Je]:[].concat((0,s.Z)(Re),[fe,Je]),[]),$e=[];let we=0;return ge.forEach((Re,Je)=>{const wt=we+Re.length;let At=Se.slice(we,wt);we=wt,Je%2===1&&(At=qe.createElement("span",{className:`${ue}-menu-item-keyword`,key:`separator-${Je}`},At)),$e.push(At)}),$e}const ze=(Se,fe,ue,ge)=>{const $e=[],we=Se.toLowerCase();return fe.forEach((Re,Je)=>{Je!==0&&$e.push(" / ");let wt=Re[ge.label];const At=typeof wt;(At==="string"||At==="number")&&(wt=jt(String(wt),we,ue)),$e.push(wt)}),$e},Be=qe.forwardRef((Se,fe)=>{var ue;const{prefixCls:ge,size:$e,disabled:we,className:Re,rootClassName:Je,multiple:wt,bordered:At=!0,transitionName:ar,choiceTransitionName:qt="",popupClassName:Nt,dropdownClassName:ht,expandIcon:Ot,placement:Tt,showSearch:Ut,allowClear:St=!0,notFoundContent:gr,direction:lr,getPopupContainer:Cr,status:rn,showArrow:Er,builtinPlacements:S,style:N,variant:er}=Se,se=pt(Se,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),ke=(0,q.Z)(se,["suffixIcon"]),{getPrefixCls:zr,getPopupContainer:Ir,className:yn,style:Bn}=(0,L.dj)("cascader"),{popupOverflow:zt}=qe.useContext(L.E_),{status:yr,hasFeedback:vr,isFormItemInput:Tr,feedbackIcon:f}=qe.useContext(A.aM),F=(0,l.F)(yr,rn),[Ae,ae,bt,bn]=Le(ge,lr),yt=bt==="rtl",Vt=zr(),Wr=(0,R.Z)(Ae),[Nr,Qr,vn]=(0,j.Z)(Ae,Wr),_n=(0,R.Z)(ae),[pe]=ne(ae,_n),{compactSize:fr,compactItemClassnames:tt}=(0,J.ri)(Ae,lr),[Or,Kr]=(0,$.Z)("cascader",er,At),xn=gr||(bn==null?void 0:bn("Cascader"))||qe.createElement(W.Z,{componentName:"Cascader"}),kn=He()(Nt||ht,`${ae}-dropdown`,{[`${ae}-dropdown-rtl`]:bt==="rtl"},Je,Wr,_n,Qr,vn),xt=qe.useMemo(()=>{if(!Ut)return Ut;let dn={render:ze};return typeof Ut=="object"&&(dn=Object.assign(Object.assign({},dn),Ut)),dn},[Ut]),tr=(0,Z.Z)(dn=>{var In;return(In=$e!=null?$e:fr)!==null&&In!==void 0?In:dn}),or=qe.useContext(G.Z),ir=we!=null?we:or,[Pr,tn]=xe(Ae,yt,Ot),Hr=et(ae,wt),Lr=(0,X.Z)(Se.suffixIcon,Er),{suffixIcon:ln,removeIcon:pn,clearIcon:En}=(0,de.Z)(Object.assign(Object.assign({},Se),{hasFeedback:vr,feedbackIcon:f,showSuffixIcon:Lr,multiple:wt,prefixCls:Ae,componentName:"Cascader"})),Dn=qe.useMemo(()=>Tt!==void 0?Tt:yt?"bottomRight":"bottomLeft",[Tt,yt]),$n=St===!0?{clearIcon:En}:St,[Pn]=(0,Q.Cn)("SelectLike",(ue=ke.dropdownStyle)===null||ue===void 0?void 0:ue.zIndex),Xn=qe.createElement(te.default,Object.assign({prefixCls:Ae,className:He()(!ge&&ae,{[`${Ae}-lg`]:tr==="large",[`${Ae}-sm`]:tr==="small",[`${Ae}-rtl`]:yt,[`${Ae}-${Or}`]:Kr,[`${Ae}-in-form-item`]:Tr},(0,l.Z)(Ae,F,vr),tt,yn,Re,Je,Wr,_n,Qr,vn),disabled:ir,style:Object.assign(Object.assign({},Bn),N)},ke,{builtinPlacements:(0,w.Z)(S,zt),direction:bt,placement:Dn,notFoundContent:xn,allowClear:$n,showSearch:xt,expandIcon:Pr,suffixIcon:ln,removeIcon:pn,loadingIcon:tn,checkable:Hr,dropdownClassName:kn,dropdownPrefixCls:ge||ae,dropdownStyle:Object.assign(Object.assign({},ke.dropdownStyle),{zIndex:Pn}),choiceTransitionName:(0,y.m)(Vt,"",qt),transitionName:(0,y.m)(Vt,"slide-up",ar),getPopupContainer:Cr||Ir,ref:fe}));return pe(Nr(Xn))}),P=(0,U.Z)(Be,"dropdownAlign",Se=>(0,q.Z)(Se,["visible"]));Be.SHOW_PARENT=We,Be.SHOW_CHILD=he,Be.Panel=ft,Be._InternalPanelDoNotUseOrYouWillBeFired=P;var ct=Be},62673:function(en,Jt,o){"use strict";o.d(Jt,{default:function(){return Ue}});var s=o(59301),qe=o(92310),I=o.n(qe),He=o(16632),te=o(8654),q=o(12919),Q=o(63872),y=o(48755),U=o(2171),l=o(83397),L=o(56553),G=s.createContext(null),R=o(36170),Z=o(74632),A=function(Ce,Oe){var Y={};for(var xe in Ce)Object.prototype.hasOwnProperty.call(Ce,xe)&&Oe.indexOf(xe)<0&&(Y[xe]=Ce[xe]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,xe=Object.getOwnPropertySymbols(Ce);M<xe.length;M++)Oe.indexOf(xe[M])<0&&Object.prototype.propertyIsEnumerable.call(Ce,xe[M])&&(Y[xe[M]]=Ce[xe[M]]);return Y};const $=(Ce,Oe)=>{var Y;const{prefixCls:xe,className:M,rootClassName:E,children:st,indeterminate:ce=!1,style:le,onMouseEnter:H,onMouseLeave:_,skipGroup:re=!1,disabled:T}=Ce,ne=A(Ce,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Fe,direction:ye,checkbox:lt}=s.useContext(y.E_),ft=s.useContext(G),{isFormItemInput:pt}=s.useContext(L.aM),he=s.useContext(U.Z),We=(Y=(ft==null?void 0:ft.disabled)||T)!==null&&Y!==void 0?Y:he,jt=s.useRef(ne.value),ze=s.useRef(null),Be=(0,te.sQ)(Oe,ze);s.useEffect(()=>{ft==null||ft.registerValue(ne.value)},[]),s.useEffect(()=>{if(!re)return ne.value!==jt.current&&(ft==null||ft.cancelValue(jt.current),ft==null||ft.registerValue(ne.value),jt.current=ne.value),()=>ft==null?void 0:ft.cancelValue(ne.value)},[ne.value]),s.useEffect(()=>{var wt;!((wt=ze.current)===null||wt===void 0)&&wt.input&&(ze.current.input.indeterminate=ce)},[ce]);const P=Fe("checkbox",xe),ct=(0,l.Z)(P),[Se,fe,ue]=(0,R.ZP)(P,ct),ge=Object.assign({},ne);ft&&!re&&(ge.onChange=function(){ne.onChange&&ne.onChange.apply(ne,arguments),ft.toggleOption&&ft.toggleOption({label:st,value:ne.value})},ge.name=ft.name,ge.checked=ft.value.includes(ne.value));const $e=I()(`${P}-wrapper`,{[`${P}-rtl`]:ye==="rtl",[`${P}-wrapper-checked`]:ge.checked,[`${P}-wrapper-disabled`]:We,[`${P}-wrapper-in-form-item`]:pt},lt==null?void 0:lt.className,M,E,ue,ct,fe),we=I()({[`${P}-indeterminate`]:ce},Q.A,fe),[Re,Je]=(0,Z.Z)(ge.onClick);return Se(s.createElement(q.Z,{component:"Checkbox",disabled:We},s.createElement("label",{className:$e,style:Object.assign(Object.assign({},lt==null?void 0:lt.style),le),onMouseEnter:H,onMouseLeave:_,onClick:Re},s.createElement(He.Z,Object.assign({},ge,{onClick:Je,prefixCls:P,className:we,disabled:We,ref:Be})),st!==void 0&&s.createElement("span",{className:`${P}-label`},st))))};var j=s.forwardRef($),de=o(15142),X=o(2738),J=function(Ce,Oe){var Y={};for(var xe in Ce)Object.prototype.hasOwnProperty.call(Ce,xe)&&Oe.indexOf(xe)<0&&(Y[xe]=Ce[xe]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,xe=Object.getOwnPropertySymbols(Ce);M<xe.length;M++)Oe.indexOf(xe[M])<0&&Object.prototype.propertyIsEnumerable.call(Ce,xe[M])&&(Y[xe[M]]=Ce[xe[M]]);return Y},Le=s.forwardRef((Ce,Oe)=>{const{defaultValue:Y,children:xe,options:M=[],prefixCls:E,className:st,rootClassName:ce,style:le,onChange:H}=Ce,_=J(Ce,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:re,direction:T}=s.useContext(y.E_),[ne,Fe]=s.useState(_.value||Y||[]),[ye,lt]=s.useState([]);s.useEffect(()=>{"value"in _&&Fe(_.value||[])},[_.value]);const ft=s.useMemo(()=>M.map(we=>typeof we=="string"||typeof we=="number"?{label:we,value:we}:we),[M]),pt=we=>{lt(Re=>Re.filter(Je=>Je!==we))},he=we=>{lt(Re=>[].concat((0,de.Z)(Re),[we]))},We=we=>{const Re=ne.indexOf(we.value),Je=(0,de.Z)(ne);Re===-1?Je.push(we.value):Je.splice(Re,1),"value"in _||Fe(Je),H==null||H(Je.filter(wt=>ye.includes(wt)).sort((wt,At)=>{const ar=ft.findIndex(Nt=>Nt.value===wt),qt=ft.findIndex(Nt=>Nt.value===At);return ar-qt}))},jt=re("checkbox",E),ze=`${jt}-group`,Be=(0,l.Z)(jt),[P,ct,Se]=(0,R.ZP)(jt,Be),fe=(0,X.Z)(_,["value","disabled"]),ue=M.length?ft.map(we=>s.createElement(j,{prefixCls:jt,key:we.value.toString(),disabled:"disabled"in we?we.disabled:_.disabled,value:we.value,checked:ne.includes(we.value),onChange:we.onChange,className:`${ze}-item`,style:we.style,title:we.title,id:we.id,required:we.required},we.label)):xe,ge={toggleOption:We,value:ne,disabled:_.disabled,name:_.name,registerValue:he,cancelValue:pt},$e=I()(ze,{[`${ze}-rtl`]:T==="rtl"},st,ce,Se,Be,ct);return P(s.createElement("div",Object.assign({className:$e,style:le},fe,{ref:Oe}),s.createElement(G.Provider,{value:ge},ue)))});const et=j;et.Group=Le,et.__ANT_CHECKBOX=!0;var Ue=et},36170:function(en,Jt,o){"use strict";o.d(Jt,{C2:function(){return q}});var s=o(36237),qe=o(63356),I=o(51636),He=o(16931);const te=Q=>{const{checkboxCls:y}=Q,U=`${y}-wrapper`;return[{[`${y}-group`]:Object.assign(Object.assign({},(0,qe.Wf)(Q)),{display:"inline-flex",flexWrap:"wrap",columnGap:Q.marginXS,[`> ${Q.antCls}-row`]:{flex:1}}),[U]:Object.assign(Object.assign({},(0,qe.Wf)(Q)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${U}`]:{marginInlineStart:0},[`&${U}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[y]:Object.assign(Object.assign({},(0,qe.Wf)(Q)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Q.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)(Q))},[`${y}-inner`]:{boxSizing:"border-box",display:"block",width:Q.checkboxSize,height:Q.checkboxSize,direction:"ltr",backgroundColor:Q.colorBgContainer,border:`${(0,s.unit)(Q.lineWidth)} ${Q.lineType} ${Q.colorBorder}`,borderRadius:Q.borderRadiusSM,borderCollapse:"separate",transition:`all ${Q.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:Q.calc(Q.checkboxSize).div(14).mul(5).equal(),height:Q.calc(Q.checkboxSize).div(14).mul(8).equal(),border:`${(0,s.unit)(Q.lineWidthBold)} solid ${Q.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Q.motionDurationFast} ${Q.motionEaseInBack}, opacity ${Q.motionDurationFast}`}},"& + span":{paddingInlineStart:Q.paddingXS,paddingInlineEnd:Q.paddingXS}})},{[`
${U}:not(${U}-disabled),
${y}:not(${y}-disabled)
`]:{[`&:hover ${y}-inner`]:{borderColor:Q.colorPrimary}},[`${U}:not(${U}-disabled)`]:{[`&:hover ${y}-checked:not(${y}-disabled) ${y}-inner`]:{backgroundColor:Q.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${y}-checked:not(${y}-disabled):after`]:{borderColor:Q.colorPrimaryHover}}},{[`${y}-checked`]:{[`${y}-inner`]:{backgroundColor:Q.colorPrimary,borderColor:Q.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Q.motionDurationMid} ${Q.motionEaseOutBack} ${Q.motionDurationFast}`}}},[`
${U}-checked:not(${U}-disabled),
${y}-checked:not(${y}-disabled)
`]:{[`&:hover ${y}-inner`]:{backgroundColor:Q.colorPrimaryHover,borderColor:"transparent"}}},{[y]:{"&-indeterminate":{[`${y}-inner`]:{backgroundColor:`${Q.colorBgContainer} !important`,borderColor:`${Q.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:Q.calc(Q.fontSizeLG).div(2).equal(),height:Q.calc(Q.fontSizeLG).div(2).equal(),backgroundColor:Q.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${y}-inner`]:{backgroundColor:`${Q.colorBgContainer} !important`,borderColor:`${Q.colorPrimary} !important`}}}},{[`${U}-disabled`]:{cursor:"not-allowed"},[`${y}-disabled`]:{[`&, ${y}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${y}-inner`]:{background:Q.colorBgContainerDisabled,borderColor:Q.colorBorder,"&:after":{borderColor:Q.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Q.colorTextDisabled},[`&${y}-indeterminate ${y}-inner::after`]:{background:Q.colorTextDisabled}}}]};function q(Q,y){const U=(0,I.mergeToken)(y,{checkboxCls:`.${Q}`,checkboxSize:y.controlInteractiveSize});return[te(U)]}Jt.ZP=(0,He.I$)("Checkbox",(Q,y)=>{let{prefixCls:U}=y;return[q(U,Q)]})},74632:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return I}});var s=o(59301),qe=o(16089);function I(He){const te=s.useRef(null),q=()=>{qe.Z.cancel(te.current),te.current=null};return[()=>{q(),te.current=(0,qe.Z)(()=>{te.current=null})},U=>{te.current&&(U.stopPropagation(),q()),He==null||He(U)}]}},8848:function(en,Jt,o){"use strict";o.d(Jt,{default:function(){return Ce}});var s=o(59301),qe=o(38819),I=o(92310),He=o.n(I),te=o(98535),q=o(11592),Q=o(2738),y=o(86641),U=o(22703),l=o(48755),L=o(31756),G=s.forwardRef((Oe,Y)=>{const{getPrefixCls:xe}=s.useContext(l.E_),{prefixCls:M,className:E,showArrow:st=!0}=Oe,ce=xe("collapse",M),le=He()({[`${ce}-no-arrow`]:!st},E);return s.createElement(te.default.Panel,Object.assign({ref:Y},Oe,{prefixCls:ce,className:le}))}),R=o(36237),Z=o(63356),A=o(34961),$=o(16931),w=o(51636);const j=Oe=>{const{componentCls:Y,contentBg:xe,padding:M,headerBg:E,headerPadding:st,collapseHeaderPaddingSM:ce,collapseHeaderPaddingLG:le,collapsePanelBorderRadius:H,lineWidth:_,lineType:re,colorBorder:T,colorText:ne,colorTextHeading:Fe,colorTextDisabled:ye,fontSizeLG:lt,lineHeight:ft,lineHeightLG:pt,marginSM:he,paddingSM:We,paddingLG:jt,paddingXS:ze,motionDurationSlow:Be,fontSizeIcon:P,contentPadding:ct,fontHeight:Se,fontHeightLG:fe}=Oe,ue=`${(0,R.unit)(_)} ${re} ${T}`;return{[Y]:Object.assign(Object.assign({},(0,Z.Wf)(Oe)),{backgroundColor:E,border:ue,borderRadius:H,"&-rtl":{direction:"rtl"},[`& > ${Y}-item`]:{borderBottom:ue,"&:first-child":{[`
&,
& > ${Y}-header`]:{borderRadius:`${(0,R.unit)(H)} ${(0,R.unit)(H)} 0 0`}},"&:last-child":{[`
&,
& > ${Y}-header`]:{borderRadius:`0 0 ${(0,R.unit)(H)} ${(0,R.unit)(H)}`}},[`> ${Y}-header`]:Object.assign(Object.assign({position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:st,color:Fe,lineHeight:ft,cursor:"pointer",transition:`all ${Be}, visibility 0s`},(0,Z.Qy)(Oe)),{[`> ${Y}-header-text`]:{flex:"auto"},[`${Y}-expand-icon`]:{height:Se,display:"flex",alignItems:"center",paddingInlineEnd:he},[`${Y}-arrow`]:Object.assign(Object.assign({},(0,Z.Ro)()),{fontSize:P,transition:`transform ${Be}`,svg:{transition:`transform ${Be}`}}),[`${Y}-header-text`]:{marginInlineEnd:"auto"}}),[`${Y}-collapsible-header`]:{cursor:"default",[`${Y}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Y}-collapsible-icon`]:{cursor:"unset",[`${Y}-expand-icon`]:{cursor:"pointer"}}},[`${Y}-content`]:{color:ne,backgroundColor:xe,borderTop:ue,[`& > ${Y}-content-box`]:{padding:ct},"&-hidden":{display:"none"}},"&-small":{[`> ${Y}-item`]:{[`> ${Y}-header`]:{padding:ce,paddingInlineStart:ze,[`> ${Y}-expand-icon`]:{marginInlineStart:Oe.calc(We).sub(ze).equal()}},[`> ${Y}-content > ${Y}-content-box`]:{padding:We}}},"&-large":{[`> ${Y}-item`]:{fontSize:lt,lineHeight:pt,[`> ${Y}-header`]:{padding:le,paddingInlineStart:M,[`> ${Y}-expand-icon`]:{height:fe,marginInlineStart:Oe.calc(jt).sub(M).equal()}},[`> ${Y}-content > ${Y}-content-box`]:{padding:jt}}},[`${Y}-item:last-child`]:{borderBottom:0,[`> ${Y}-content`]:{borderRadius:`0 0 ${(0,R.unit)(H)} ${(0,R.unit)(H)}`}},[`& ${Y}-item-disabled > ${Y}-header`]:{"\n &,\n & > .arrow\n ":{color:ye,cursor:"not-allowed"}},[`&${Y}-icon-position-end`]:{[`& > ${Y}-item`]:{[`> ${Y}-header`]:{[`${Y}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:he}}}}})}},de=Oe=>{const{componentCls:Y}=Oe,xe=`> ${Y}-item > ${Y}-header ${Y}-arrow`;return{[`${Y}-rtl`]:{[xe]:{transform:"rotate(180deg)"}}}},X=Oe=>{const{componentCls:Y,headerBg:xe,paddingXXS:M,colorBorder:E}=Oe;return{[`${Y}-borderless`]:{backgroundColor:xe,border:0,[`> ${Y}-item`]:{borderBottom:`1px solid ${E}`},[`
> ${Y}-item:last-child,
> ${Y}-item:last-child ${Y}-header
`]:{borderRadius:0},[`> ${Y}-item:last-child`]:{borderBottom:0},[`> ${Y}-item > ${Y}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Y}-item > ${Y}-content > ${Y}-content-box`]:{paddingTop:M}}}},J=Oe=>{const{componentCls:Y,paddingSM:xe}=Oe;return{[`${Y}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Y}-item`]:{borderBottom:0,[`> ${Y}-content`]:{backgroundColor:"transparent",border:0,[`> ${Y}-content-box`]:{paddingBlock:xe}}}}}},Ne=Oe=>({headerPadding:`${Oe.paddingSM}px ${Oe.padding}px`,headerBg:Oe.colorFillAlter,contentPadding:`${Oe.padding}px 16px`,contentBg:Oe.colorBgContainer});var Le=(0,$.I$)("Collapse",Oe=>{const Y=(0,w.mergeToken)(Oe,{collapseHeaderPaddingSM:`${(0,R.unit)(Oe.paddingXS)} ${(0,R.unit)(Oe.paddingSM)}`,collapseHeaderPaddingLG:`${(0,R.unit)(Oe.padding)} ${(0,R.unit)(Oe.paddingLG)}`,collapsePanelBorderRadius:Oe.borderRadiusLG});return[j(Y),X(Y),J(Y),de(Y),(0,A.Z)(Y)]},Ne),Ue=Object.assign(s.forwardRef((Oe,Y)=>{const{getPrefixCls:xe,direction:M,expandIcon:E,className:st,style:ce}=(0,l.dj)("collapse"),{prefixCls:le,className:H,rootClassName:_,style:re,bordered:T=!0,ghost:ne,size:Fe,expandIconPosition:ye="start",children:lt,expandIcon:ft}=Oe,pt=(0,L.Z)($e=>{var we;return(we=Fe!=null?Fe:$e)!==null&&we!==void 0?we:"middle"}),he=xe("collapse",le),We=xe(),[jt,ze,Be]=Le(he),P=s.useMemo(()=>ye==="left"?"start":ye==="right"?"end":ye,[ye]),ct=ft!=null?ft:E,Se=s.useCallback(function(){let $e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const we=typeof ct=="function"?ct($e):s.createElement(qe.Z,{rotate:$e.isActive?M==="rtl"?-90:90:void 0,"aria-label":$e.isActive?"expanded":"collapsed"});return(0,U.Tm)(we,()=>{var Re;return{className:He()((Re=we==null?void 0:we.props)===null||Re===void 0?void 0:Re.className,`${he}-arrow`)}})},[ct,he]),fe=He()(`${he}-icon-position-${P}`,{[`${he}-borderless`]:!T,[`${he}-rtl`]:M==="rtl",[`${he}-ghost`]:!!ne,[`${he}-${pt}`]:pt!=="middle"},st,H,_,ze,Be),ue=Object.assign(Object.assign({},(0,y.Z)(We)),{motionAppear:!1,leavedClassName:`${he}-content-hidden`}),ge=s.useMemo(()=>lt?(0,q.Z)(lt).map(($e,we)=>{var Re,Je;const wt=$e.props;if(wt!=null&&wt.disabled){const At=(Re=$e.key)!==null&&Re!==void 0?Re:String(we),ar=Object.assign(Object.assign({},(0,Q.Z)($e.props,["disabled"])),{key:At,collapsible:(Je=wt.collapsible)!==null&&Je!==void 0?Je:"disabled"});return(0,U.Tm)($e,ar)}return $e}):null,[lt]);return jt(s.createElement(te.default,Object.assign({ref:Y,openMotion:ue},(0,Q.Z)(Oe,["rootClassName"]),{expandIcon:Se,prefixCls:he,className:fe,style:Object.assign(Object.assign({},ce),re)}),ge))}),{Panel:G}),Ce=Ue},38406:function(en,Jt,o){"use strict";var s=o(59301),qe=o(48755),I=o(584);const He=te=>{const{componentName:q}=te,{getPrefixCls:Q}=(0,s.useContext)(qe.E_),y=Q("empty");switch(q){case"Table":case"List":return s.createElement(I.Z,{image:I.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return s.createElement(I.Z,{image:I.Z.PRESENTED_IMAGE_SIMPLE,className:`${y}-small`});case"Table.filter":return null;default:return s.createElement(I.Z,null)}};Jt.Z=He},16326:function(en,Jt,o){"use strict";o.d(Jt,{default:function(){return bn}});var s=o(48365),qe=o(45915),I=o(59301),He=o(67711),te={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"},q=te,Q=o(7657),y=function(Vt,Wr){return I.createElement(Q.Z,(0,He.Z)({},Vt,{ref:Wr,icon:q}))},U=I.forwardRef(y),l=U,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:"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"},W=L,G=function(Vt,Wr){return I.createElement(Q.Z,(0,He.Z)({},Vt,{ref:Wr,icon:W}))},R=I.forwardRef(G),Z=R,A={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,w=function(Vt,Wr){return I.createElement(Q.Z,(0,He.Z)({},Vt,{ref:Wr,icon:$}))},j=I.forwardRef(w),de=j,X=o(92310),J=o.n(X),Ne=o(8571),Le=o(62487),et=o(75030),Ue=o(82855),Ce=o(48755),Oe=o(2171),Y=o(83397),xe=o(31756),M=o(56553),E=o(24971),st=o(9017),ce=o(70045),le=o(57428),H=o(36237),_=o(53075),re=o(64910),T=o(63356),ne=o(56119),Fe=o(46e3),ye=o(93873),lt=o(36305),ft=o(16931),pt=o(51636),he=o(26743);const We=(yt,Vt)=>{const{componentCls:Wr,controlHeight:Nr}=yt,Qr=Vt?`${Wr}-${Vt}`:"",vn=(0,he.gp)(yt);return[{[`${Wr}-multiple${Qr}`]:{paddingBlock:vn.containerPadding,paddingInlineStart:vn.basePadding,minHeight:Nr,[`${Wr}-selection-item`]:{height:vn.itemHeight,lineHeight:(0,H.unit)(vn.itemLineHeight)}}}]};var ze=yt=>{const{componentCls:Vt,calc:Wr,lineWidth:Nr}=yt,Qr=(0,pt.mergeToken)(yt,{fontHeight:yt.fontSize,selectHeight:yt.controlHeightSM,multipleSelectItemHeight:yt.multipleItemHeightSM,borderRadius:yt.borderRadiusSM,borderRadiusSM:yt.borderRadiusXS,controlHeight:yt.controlHeightSM}),vn=(0,pt.mergeToken)(yt,{fontHeight:Wr(yt.multipleItemHeightLG).sub(Wr(Nr).mul(2).equal()).equal(),fontSize:yt.fontSizeLG,selectHeight:yt.controlHeightLG,multipleSelectItemHeight:yt.multipleItemHeightLG,borderRadius:yt.borderRadiusLG,borderRadiusSM:yt.borderRadius,controlHeight:yt.controlHeightLG});return[We(Qr,"small"),We(yt),We(vn,"large"),{[`${Vt}${Vt}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${Vt}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${Vt}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:yt.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${yt.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:yt.colorTextPlaceholder,pointerEvents:"none"}}},(0,he._z)(yt)),{[`${Vt}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},Be=o(17835);const P=yt=>{const{pickerCellCls:Vt,pickerCellInnerCls:Wr,cellHeight:Nr,borderRadiusSM:Qr,motionDurationMid:vn,cellHoverBg:_n,lineWidth:pe,lineType:fr,colorPrimary:tt,cellActiveWithRangeBg:Or,colorTextLightSolid:Kr,colorTextDisabled:xn,cellBgDisabled:kn,colorFillSecondary:xt}=yt;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Nr,transform:"translateY(-50%)",content:'""',pointerEvents:"none"},[Wr]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Nr,height:Nr,lineHeight:(0,H.unit)(Nr),borderRadius:Qr,transition:`background ${vn}`},[`&:hover:not(${Vt}-in-view):not(${Vt}-disabled),
&:hover:not(${Vt}-selected):not(${Vt}-range-start):not(${Vt}-range-end):not(${Vt}-disabled)`]:{[Wr]:{background:_n}},[`&-in-view${Vt}-today ${Wr}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,H.unit)(pe)} ${fr} ${tt}`,borderRadius:Qr,content:'""'}},[`&-in-view${Vt}-in-range,
&-in-view${Vt}-range-start,
&-in-view${Vt}-range-end`]:{position:"relative",[`&:not(${Vt}-disabled):before`]:{background:Or}},[`&-in-view${Vt}-selected,
&-in-view${Vt}-range-start,
&-in-view${Vt}-range-end`]:{[`&:not(${Vt}-disabled) ${Wr}`]:{color:Kr,background:tt},[`&${Vt}-disabled ${Wr}`]:{background:xt}},[`&-in-view${Vt}-range-start:not(${Vt}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${Vt}-range-end:not(${Vt}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${Vt}-range-start:not(${Vt}-range-end) ${Wr}`]:{borderStartStartRadius:Qr,borderEndStartRadius:Qr,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${Vt}-range-end:not(${Vt}-range-start) ${Wr}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Qr,borderEndEndRadius:Qr},"&-disabled":{color:xn,cursor:"not-allowed",[Wr]:{background:"transparent"},"&::before":{background:kn}},[`&-disabled${Vt}-today ${Wr}::before`]:{borderColor:xn}}},ct=yt=>{const{componentCls:Vt,pickerCellCls:Wr,pickerCellInnerCls:Nr,pickerYearMonthCellWidth:Qr,pickerControlIconSize:vn,cellWidth:_n,paddingSM:pe,paddingXS:fr,paddingXXS:tt,colorBgContainer:Or,lineWidth:Kr,lineType:xn,borderRadiusLG:kn,colorPrimary:xt,colorTextHeading:tr,colorSplit:or,pickerControlIconBorderWidth:ir,colorIcon:Pr,textHeight:tn,motionDurationMid:Hr,colorIconHover:Lr,fontWeightStrong:ln,cellHeight:pn,pickerCellPaddingVertical:En,colorTextDisabled:Dn,colorText:$n,fontSize:Pn,motionDurationSlow:Xn,withoutTimeCellHeight:dn,pickerQuarterPanelContentHeight:In,borderRadiusSM:Gn,colorTextLightSolid:ea,cellHoverBg:Nn,timeColumnHeight:Yn,timeColumnWidth:Un,timeCellHeight:g,controlItemBgActive:u,marginXXS:d,pickerDatePanelPaddingHorizontal:v,pickerControlIconMargin:O}=yt,b=yt.calc(_n).mul(7).add(yt.calc(v).mul(2)).equal();return{[Vt]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Or,borderRadius:kn,outline:"none","&-focused":{borderColor:xt},"&-rtl":{[`${Vt}-prev-icon,
${Vt}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${Vt}-next-icon,
${Vt}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${Vt}-time-panel`]:{[`${Vt}-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:b},"&-header":{display:"flex",padding:`0 ${(0,H.unit)(fr)}`,color:tr,borderBottom:`${(0,H.unit)(Kr)} ${xn} ${or}`,"> *":{flex:"none"},button:{padding:0,color:Pr,lineHeight:(0,H.unit)(tn),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:Pn,"&:hover":{color:Lr},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:ln,lineHeight:(0,H.unit)(tn),"> button":{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:fr},"&:hover":{color:xt}}}},"&-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:ir,borderInlineStartWidth:ir,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:O,insetInlineStart:O,display:"inline-block",width:vn,height:vn,border:"0 solid currentcolor",borderBlockStartWidth:ir,borderInlineStartWidth:ir,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:pn,fontWeight:"normal"},th:{height:yt.calc(pn).add(yt.calc(En).mul(2)).equal(),color:$n,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,H.unit)(En)} 0`,color:Dn,cursor:"pointer","&-in-view":{color:$n}},P(yt)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Vt}-content`]:{height:yt.calc(dn).mul(4).equal()},[Nr]:{padding:`0 ${(0,H.unit)(fr)}`}},"&-quarter-panel":{[`${Vt}-content`]:{height:In}},"&-decade-panel":{[Nr]:{padding:`0 ${(0,H.unit)(yt.calc(fr).div(2).equal())}`},[`${Vt}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Vt}-body`]:{padding:`0 ${(0,H.unit)(fr)}`},[Nr]:{width:Qr}},"&-date-panel":{[`${Vt}-body`]:{padding:`${(0,H.unit)(fr)} ${(0,H.unit)(v)}`},[`${Vt}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${Vt}-cell`]:{[`&:hover ${Nr},
&-selected ${Nr},
${Nr}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Hr}`},"&:first-child:before":{borderStartStartRadius:Gn,borderEndStartRadius:Gn},"&:last-child:before":{borderStartEndRadius:Gn,borderEndEndRadius:Gn}},"&:hover td:before":{background:Nn},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${Wr}`]:{"&:before":{background:xt},[`&${Vt}-cell-week`]:{color:new Be.FastColor(ea).setA(.5).toHexString()},[Nr]:{color:ea}}},"&-range-hover td:before":{background:u}}},"&-week-panel, &-date-panel-show-week":{[`${Vt}-body`]:{padding:`${(0,H.unit)(fr)} ${(0,H.unit)(pe)}`},[`${Vt}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${Vt}-time-panel`]:{borderInlineStart:`${(0,H.unit)(Kr)} ${xn} ${or}`},[`${Vt}-date-panel,
${Vt}-time-panel`]:{transition:`opacity ${Xn}`},"&-active":{[`${Vt}-date-panel,
${Vt}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${Vt}-content`]:{display:"flex",flex:"auto",height:Yn},"&-column":{flex:"1 0 auto",width:Un,margin:`${(0,H.unit)(tt)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Hr}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:yt.colorTextTertiary,borderRadius:yt.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${yt.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${(0,H.unit)(g)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,H.unit)(Kr)} ${xn} ${or}`},"&-active":{background:new Be.FastColor(u).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Vt}-time-panel-cell`]:{marginInline:d,[`${Vt}-time-panel-cell-inner`]:{display:"block",width:yt.calc(Un).sub(yt.calc(d).mul(2)).equal(),height:g,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:yt.calc(Un).sub(g).div(2).equal(),color:$n,lineHeight:(0,H.unit)(g),borderRadius:Gn,cursor:"pointer",transition:`background ${Hr}`,"&:hover":{background:Nn}},"&-selected":{[`${Vt}-time-panel-cell-inner`]:{background:u}},"&-disabled":{[`${Vt}-time-panel-cell-inner`]:{color:Dn,background:"transparent",cursor:"not-allowed"}}}}}}}}};var fe=yt=>{const{componentCls:Vt,textHeight:Wr,lineWidth:Nr,paddingSM:Qr,antCls:vn,colorPrimary:_n,cellActiveWithRangeBg:pe,colorPrimaryBorder:fr,lineType:tt,colorSplit:Or}=yt;return{[`${Vt}-dropdown`]:{[`${Vt}-footer`]:{borderTop:`${(0,H.unit)(Nr)} ${tt} ${Or}`,"&-extra":{padding:`0 ${(0,H.unit)(Qr)}`,lineHeight:(0,H.unit)(yt.calc(Wr).sub(yt.calc(Nr).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,H.unit)(Nr)} ${tt} ${Or}`}}},[`${Vt}-panels + ${Vt}-footer ${Vt}-ranges`]:{justifyContent:"space-between"},[`${Vt}-ranges`]:{marginBlock:0,paddingInline:(0,H.unit)(Qr),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,H.unit)(yt.calc(Wr).sub(yt.calc(Nr).mul(2)).equal()),display:"inline-block"},[`${Vt}-now-btn-disabled`]:{pointerEvents:"none",color:yt.colorTextDisabled},[`${Vt}-preset > ${vn}-tag-blue`]:{color:_n,background:pe,borderColor:fr,cursor:"pointer"},[`${Vt}-ok`]:{paddingBlock:yt.calc(Nr).mul(2).equal(),marginInlineStart:"auto"}}}}};const ue=yt=>{const{componentCls:Vt,controlHeightLG:Wr,paddingXXS:Nr,padding:Qr}=yt;return{pickerCellCls:`${Vt}-cell`,pickerCellInnerCls:`${Vt}-cell-inner`,pickerYearMonthCellWidth:yt.calc(Wr).mul(1.5).equal(),pickerQuarterPanelContentHeight:yt.calc(Wr).mul(1.4).equal(),pickerCellPaddingVertical:yt.calc(Nr).add(yt.calc(Nr).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:yt.calc(Qr).add(yt.calc(Nr).div(2)).equal()}},ge=yt=>{const{colorBgContainerDisabled:Vt,controlHeight:Wr,controlHeightSM:Nr,controlHeightLG:Qr,paddingXXS:vn,lineWidth:_n}=yt,pe=vn*2,fr=_n*2,tt=Math.min(Wr-pe,Wr-fr),Or=Math.min(Nr-pe,Nr-fr),Kr=Math.min(Qr-pe,Qr-fr);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(vn/2),cellHoverBg:yt.controlItemBgHover,cellActiveWithRangeBg:yt.controlItemBgActive,cellHoverWithRangeBg:new Be.FastColor(yt.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Be.FastColor(yt.colorPrimary).lighten(20).toHexString(),cellBgDisabled:Vt,timeColumnWidth:Qr*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:Nr*1.5,cellHeight:Nr,textHeight:Qr,withoutTimeCellHeight:Qr*1.65,multipleItemBg:yt.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:tt,multipleItemHeightSM:Or,multipleItemHeightLG:Kr,multipleSelectorBgDisabled:Vt,multipleItemColorDisabled:yt.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},$e=yt=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,re.T)(yt)),ge(yt)),(0,lt.w)(yt)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:yt.zIndexPopupBase+50});var we=o(39082),Je=yt=>{const{componentCls:Vt}=yt;return{[Vt]:[Object.assign(Object.assign(Object.assign(Object.assign({},(0,we.qG)(yt)),(0,we.vc)(yt)),(0,we.H8)(yt)),(0,we.Mu)(yt)),{"&-outlined":{[`&${Vt}-multiple ${Vt}-selection-item`]:{background:yt.multipleItemBg,border:`${(0,H.unit)(yt.lineWidth)} ${yt.lineType} ${yt.multipleItemBorderColor}`}},"&-filled":{[`&${Vt}-multiple ${Vt}-selection-item`]:{background:yt.colorBgContainer,border:`${(0,H.unit)(yt.lineWidth)} ${yt.lineType} ${yt.colorSplit}`}},"&-borderless":{[`&${Vt}-multiple ${Vt}-selection-item`]:{background:yt.multipleItemBg,border:`${(0,H.unit)(yt.lineWidth)} ${yt.lineType} ${yt.multipleItemBorderColor}`}},"&-underlined":{[`&${Vt}-multiple ${Vt}-selection-item`]:{background:yt.multipleItemBg,border:`${(0,H.unit)(yt.lineWidth)} ${yt.lineType} ${yt.multipleItemBorderColor}`}}}]}};const wt=(yt,Vt,Wr,Nr)=>{const Qr=yt.calc(Wr).add(2).equal(),vn=yt.max(yt.calc(Vt).sub(Qr).div(2).equal(),0),_n=yt.max(yt.calc(Vt).sub(Qr).sub(vn).equal(),0);return{padding:`${(0,H.unit)(vn)} ${(0,H.unit)(Nr)} ${(0,H.unit)(_n)}`}},At=yt=>{const{componentCls:Vt,colorError:Wr,colorWarning:Nr}=yt;return{[`${Vt}:not(${Vt}-disabled):not([disabled])`]:{[`&${Vt}-status-error`]:{[`${Vt}-active-bar`]:{background:Wr}},[`&${Vt}-status-warning`]:{[`${Vt}-active-bar`]:{background:Nr}}}}},ar=yt=>{const{componentCls:Vt,antCls:Wr,controlHeight:Nr,paddingInline:Qr,lineWidth:vn,lineType:_n,colorBorder:pe,borderRadius:fr,motionDurationMid:tt,colorTextDisabled:Or,colorTextPlaceholder:Kr,controlHeightLG:xn,fontSizeLG:kn,controlHeightSM:xt,paddingInlineSM:tr,paddingXS:or,marginXS:ir,colorTextDescription:Pr,lineWidthBold:tn,colorPrimary:Hr,motionDurationSlow:Lr,zIndexPopup:ln,paddingXXS:pn,sizePopupArrow:En,colorBgElevated:Dn,borderRadiusLG:$n,boxShadowSecondary:Pn,borderRadiusSM:Xn,colorSplit:dn,cellHoverBg:In,presetsWidth:Gn,presetsMaxWidth:ea,boxShadowPopoverArrow:Nn,fontHeight:Yn,fontHeightLG:Un,lineHeightLG:g}=yt;return[{[Vt]:Object.assign(Object.assign(Object.assign({},(0,T.Wf)(yt)),wt(yt,Nr,Yn,Qr)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:fr,transition:`border ${tt}, box-shadow ${tt}, background ${tt}`,[`${Vt}-prefix`]:{flex:"0 0 auto",marginInlineEnd:yt.inputAffixPadding},[`${Vt}-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:yt.fontSize,lineHeight:yt.lineHeight,transition:`all ${tt}`},(0,_.nz)(Kr)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:Or,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:Kr}}},"&-large":Object.assign(Object.assign({},wt(yt,xn,Un,Qr)),{[`${Vt}-input > input`]:{fontSize:kn,lineHeight:g}}),"&-small":Object.assign({},wt(yt,xt,Yn,tr)),[`${Vt}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:yt.calc(or).div(2).equal(),color:Or,lineHeight:1,pointerEvents:"none",transition:`opacity ${tt}, color ${tt}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:ir}}},[`${Vt}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Or,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${tt}, color ${tt}`,"> *":{verticalAlign:"top"},"&:hover":{color:Pr}},"&:hover":{[`${Vt}-clear`]:{opacity:1},[`${Vt}-suffix:not(:last-child)`]:{opacity:0}},[`${Vt}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:kn,color:Or,fontSize:kn,verticalAlign:"top",cursor:"default",[`${Vt}-focused &`]:{color:Pr},[`${Vt}-range-separator &`]:{[`${Vt}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Vt}-active-bar`]:{bottom:yt.calc(vn).mul(-1).equal(),height:tn,background:Hr,opacity:0,transition:`all ${Lr} ease-out`,pointerEvents:"none"},[`&${Vt}-focused`]:{[`${Vt}-active-bar`]:{opacity:1}},[`${Vt}-range-separator`]:{alignItems:"center",padding:`0 ${(0,H.unit)(or)}`,lineHeight:1}},"&-range, &-multiple":{[`${Vt}-clear`]:{insetInlineEnd:Qr},[`&${Vt}-small`]:{[`${Vt}-clear`]:{insetInlineEnd:tr}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,T.Wf)(yt)),ct(yt)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ln,[`&${Vt}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${Vt}-dropdown-placement-bottomLeft,
&${Vt}-dropdown-placement-bottomRight`]:{[`${Vt}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Vt}-dropdown-placement-topLeft,
&${Vt}-dropdown-placement-topRight`]:{[`${Vt}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${Wr}-slide-up-appear, &${Wr}-slide-up-enter`]:{[`${Vt}-range-arrow${Vt}-range-arrow`]:{transition:"none"}},[`&${Wr}-slide-up-enter${Wr}-slide-up-enter-active${Vt}-dropdown-placement-topLeft,
&${Wr}-slide-up-enter${Wr}-slide-up-enter-active${Vt}-dropdown-placement-topRight,
&${Wr}-slide-up-appear${Wr}-slide-up-appear-active${Vt}-dropdown-placement-topLeft,
&${Wr}-slide-up-appear${Wr}-slide-up-appear-active${Vt}-dropdown-placement-topRight`]:{animationName:Fe.Qt},[`&${Wr}-slide-up-enter${Wr}-slide-up-enter-active${Vt}-dropdown-placement-bottomLeft,
&${Wr}-slide-up-enter${Wr}-slide-up-enter-active${Vt}-dropdown-placement-bottomRight,
&${Wr}-slide-up-appear${Wr}-slide-up-appear-active${Vt}-dropdown-placement-bottomLeft,
&${Wr}-slide-up-appear${Wr}-slide-up-appear-active${Vt}-dropdown-placement-bottomRight`]:{animationName:Fe.fJ},[`&${Wr}-slide-up-leave ${Vt}-panel-container`]:{pointerEvents:"none"},[`&${Wr}-slide-up-leave${Wr}-slide-up-leave-active${Vt}-dropdown-placement-topLeft,
&${Wr}-slide-up-leave${Wr}-slide-up-leave-active${Vt}-dropdown-placement-topRight`]:{animationName:Fe.ly},[`&${Wr}-slide-up-leave${Wr}-slide-up-leave-active${Vt}-dropdown-placement-bottomLeft,
&${Wr}-slide-up-leave${Wr}-slide-up-leave-active${Vt}-dropdown-placement-bottomRight`]:{animationName:Fe.Uw},[`${Vt}-panel > ${Vt}-time-panel`]:{paddingTop:pn},[`${Vt}-range-wrapper`]:{display:"flex",position:"relative"},[`${Vt}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:yt.calc(Qr).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${Lr} ease-out`},(0,lt.W)(yt,Dn,Nn)),{"&:before":{insetInlineStart:yt.calc(Qr).mul(1.5).equal()}}),[`${Vt}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Dn,borderRadius:$n,boxShadow:Pn,transition:`margin ${Lr}`,display:"inline-block",pointerEvents:"auto",[`${Vt}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Vt}-presets`]:{display:"flex",flexDirection:"column",minWidth:Gn,maxWidth:ea,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:or,borderInlineEnd:`${(0,H.unit)(vn)} ${_n} ${dn}`,li:Object.assign(Object.assign({},T.vS),{borderRadius:Xn,paddingInline:or,paddingBlock:yt.calc(xt).sub(Yn).div(2).equal(),cursor:"pointer",transition:`all ${Lr}`,"+ li":{marginTop:ir},"&:hover":{background:In}})}},[`${Vt}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${Vt}-panel`]:{borderWidth:0}}},[`${Vt}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Vt}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:pe}}}}),"&-dropdown-range":{padding:`${(0,H.unit)(yt.calc(En).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Vt}-separator`]:{transform:"scale(-1, 1)"},[`${Vt}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Fe.oN)(yt,"slide-up"),(0,Fe.oN)(yt,"slide-down"),(0,ye.Fm)(yt,"move-up"),(0,ye.Fm)(yt,"move-down")]};var qt=(0,ft.I$)("DatePicker",yt=>{const Vt=(0,pt.mergeToken)((0,re.e)(yt),ue(yt),{inputPaddingHorizontalBase:yt.calc(yt.paddingSM).sub(1).equal(),multipleSelectItemHeight:yt.multipleItemHeight,selectHeight:yt.controlHeight});return[fe(Vt),ar(Vt),Je(Vt),At(Vt),ze(Vt),(0,ne.c)(yt,{focusElCls:`${yt.componentCls}-focused`})]},$e),Nt=o(68525);function ht(yt,Vt,Wr){return Wr!==void 0?Wr:Vt==="year"&&yt.lang.yearPlaceholder?yt.lang.yearPlaceholder:Vt==="quarter"&&yt.lang.quarterPlaceholder?yt.lang.quarterPlaceholder:Vt==="month"&&yt.lang.monthPlaceholder?yt.lang.monthPlaceholder:Vt==="week"&&yt.lang.weekPlaceholder?yt.lang.weekPlaceholder:Vt==="time"&&yt.timePickerLocale.placeholder?yt.timePickerLocale.placeholder:yt.lang.placeholder}function Ot(yt,Vt,Wr){return Wr!==void 0?Wr:Vt==="year"&&yt.lang.yearPlaceholder?yt.lang.rangeYearPlaceholder:Vt==="quarter"&&yt.lang.quarterPlaceholder?yt.lang.rangeQuarterPlaceholder:Vt==="month"&&yt.lang.monthPlaceholder?yt.lang.rangeMonthPlaceholder:Vt==="week"&&yt.lang.weekPlaceholder?yt.lang.rangeWeekPlaceholder:Vt==="time"&&yt.timePickerLocale.placeholder?yt.timePickerLocale.rangePlaceholder:yt.lang.rangePlaceholder}function Tt(yt,Vt){const{allowClear:Wr=!0}=yt,{clearIcon:Nr,removeIcon:Qr}=(0,Nt.Z)(Object.assign(Object.assign({},yt),{prefixCls:Vt,componentName:"DatePicker"}));return[I.useMemo(()=>Wr===!1?!1:Object.assign({clearIcon:Nr},Wr===!0?{}:Wr),[Wr,Nr]),Qr]}const[Ut,St]=["week","WeekPicker"],[gr,lr]=["month","MonthPicker"],[Cr,rn]=["year","YearPicker"],[Er,S]=["quarter","QuarterPicker"],[N,er]=["time","TimePicker"];var se=o(99571),zr=yt=>I.createElement(se.ZP,Object.assign({size:"small",type:"primary"},yt));function Ir(yt){return(0,I.useMemo)(()=>Object.assign({button:zr},yt),[yt])}var yn=function(yt,Vt){var Wr={};for(var Nr in yt)Object.prototype.hasOwnProperty.call(yt,Nr)&&Vt.indexOf(Nr)<0&&(Wr[Nr]=yt[Nr]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qr=0,Nr=Object.getOwnPropertySymbols(yt);Qr<Nr.length;Qr++)Vt.indexOf(Nr[Qr])<0&&Object.prototype.propertyIsEnumerable.call(yt,Nr[Qr])&&(Wr[Nr[Qr]]=yt[Nr[Qr]]);return Wr},zt=yt=>(0,I.forwardRef)((Wr,Nr)=>{var Qr;const{prefixCls:vn,getPopupContainer:_n,components:pe,className:fr,style:tt,placement:Or,size:Kr,disabled:xn,bordered:kn=!0,placeholder:xt,popupClassName:tr,dropdownClassName:or,status:ir,rootClassName:Pr,variant:tn,picker:Hr}=Wr,Lr=yn(Wr,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),ln=I.useRef(null),{getPrefixCls:pn,direction:En,getPopupContainer:Dn,rangePicker:$n}=(0,I.useContext)(Ce.E_),Pn=pn("picker",vn),{compactSize:Xn,compactItemClassnames:dn}=(0,ce.ri)(Pn,En),In=pn(),[Gn,ea]=(0,E.Z)("rangePicker",tn,kn),Nn=(0,Y.Z)(Pn),[Yn,Un,g]=qt(Pn,Nn),[u]=Tt(Wr,Pn),d=Ir(pe),v=(0,xe.Z)(Ht=>{var je;return(je=Kr!=null?Kr:Xn)!==null&&je!==void 0?je:Ht}),O=I.useContext(Oe.Z),b=xn!=null?xn:O,z=(0,I.useContext)(M.aM),{hasFeedback:V,status:ee,feedbackIcon:Ee}=z,ot=I.createElement(I.Fragment,null,Hr===N?I.createElement(Z,null):I.createElement(l,null),V&&Ee);(0,I.useImperativeHandle)(Nr,()=>ln.current);const[Xe]=(0,st.Z)("Calendar",le.Z),gt=Object.assign(Object.assign({},Xe),Wr.locale),[me]=(0,et.Cn)("DatePicker",(Qr=Wr.popupStyle)===null||Qr===void 0?void 0:Qr.zIndex);return Yn(I.createElement(Le.Z,{space:!0},I.createElement(Ne.Sq,Object.assign({separator:I.createElement("span",{"aria-label":"to",className:`${Pn}-separator`},I.createElement(de,null)),disabled:b,ref:ln,placement:Or,placeholder:Ot(gt,Hr,xt),suffixIcon:ot,prevIcon:I.createElement("span",{className:`${Pn}-prev-icon`}),nextIcon:I.createElement("span",{className:`${Pn}-next-icon`}),superPrevIcon:I.createElement("span",{className:`${Pn}-super-prev-icon`}),superNextIcon:I.createElement("span",{className:`${Pn}-super-next-icon`}),transitionName:`${In}-slide-up`,picker:Hr},Lr,{className:J()({[`${Pn}-${v}`]:v,[`${Pn}-${Gn}`]:ea},(0,Ue.Z)(Pn,(0,Ue.F)(ee,ir),V),Un,dn,fr,$n==null?void 0:$n.className,g,Nn,Pr),style:Object.assign(Object.assign({},$n==null?void 0:$n.style),tt),locale:gt.lang,prefixCls:Pn,getPopupContainer:_n||Dn,generateConfig:yt,components:d,direction:En,classNames:{popup:J()(Un,tr||or,g,Nn,Pr)},styles:{popup:Object.assign(Object.assign({},Wr.popupStyle),{zIndex:me})},allowClear:u}))))}),yr=function(yt,Vt){var Wr={};for(var Nr in yt)Object.prototype.hasOwnProperty.call(yt,Nr)&&Vt.indexOf(Nr)<0&&(Wr[Nr]=yt[Nr]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qr=0,Nr=Object.getOwnPropertySymbols(yt);Qr<Nr.length;Qr++)Vt.indexOf(Nr[Qr])<0&&Object.prototype.propertyIsEnumerable.call(yt,Nr[Qr])&&(Wr[Nr[Qr]]=yt[Nr[Qr]]);return Wr},Tr=yt=>{const Vt=(fr,tt)=>{const Or=tt===er?"timePicker":"datePicker";return(0,I.forwardRef)((xn,kn)=>{var xt;const{prefixCls:tr,getPopupContainer:or,components:ir,style:Pr,className:tn,rootClassName:Hr,size:Lr,bordered:ln,placement:pn,placeholder:En,popupClassName:Dn,dropdownClassName:$n,disabled:Pn,status:Xn,variant:dn,onCalendarChange:In}=xn,Gn=yr(xn,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:ea,direction:Nn,getPopupContainer:Yn,[Or]:Un}=(0,I.useContext)(Ce.E_),g=ea("picker",tr),{compactSize:u,compactItemClassnames:d}=(0,ce.ri)(g,Nn),v=I.useRef(null),[O,b]=(0,E.Z)("datePicker",dn,ln),z=(0,Y.Z)(g),[V,ee,Ee]=qt(g,z);(0,I.useImperativeHandle)(kn,()=>v.current);const ot={showToday:!0},Xe=fr||xn.picker,gt=ea(),{onSelect:me,multiple:Ht}=Gn,je=me&&fr==="time"&&!Ht,Pe=(Ve,ve,$t)=>{In==null||In(Ve,ve,$t),je&&me(Ve)},[at,Ft]=Tt(xn,g),cr=Ir(ir),Rr=(0,xe.Z)(Ve=>{var ve;return(ve=Lr!=null?Lr:u)!==null&&ve!==void 0?ve:Ve}),Vr=I.useContext(Oe.Z),Mr=Pn!=null?Pn:Vr,wr=(0,I.useContext)(M.aM),{hasFeedback:Zt,status:_t,feedbackIcon:Br}=wr,dt=I.createElement(I.Fragment,null,Xe==="time"?I.createElement(Z,null):I.createElement(l,null),Zt&&Br),[ut]=(0,st.Z)("DatePicker",le.Z),rr=Object.assign(Object.assign({},ut),xn.locale),[Pt]=(0,et.Cn)("DatePicker",(xt=xn.popupStyle)===null||xt===void 0?void 0:xt.zIndex);return V(I.createElement(Le.Z,{space:!0},I.createElement(Ne.ZP,Object.assign({ref:v,placeholder:ht(rr,Xe,En),suffixIcon:dt,placement:pn,prevIcon:I.createElement("span",{className:`${g}-prev-icon`}),nextIcon:I.createElement("span",{className:`${g}-next-icon`}),superPrevIcon:I.createElement("span",{className:`${g}-super-prev-icon`}),superNextIcon:I.createElement("span",{className:`${g}-super-next-icon`}),transitionName:`${gt}-slide-up`,picker:fr,onCalendarChange:Pe},ot,Gn,{locale:rr.lang,className:J()({[`${g}-${Rr}`]:Rr,[`${g}-${O}`]:b},(0,Ue.Z)(g,(0,Ue.F)(_t,Xn),Zt),ee,d,Un==null?void 0:Un.className,tn,Ee,z,Hr),style:Object.assign(Object.assign({},Un==null?void 0:Un.style),Pr),prefixCls:g,getPopupContainer:or||Yn,generateConfig:yt,components:cr,direction:Nn,disabled:Mr,classNames:{popup:J()(ee,Ee,z,Hr,Dn||$n)},styles:{popup:Object.assign(Object.assign({},xn.popupStyle),{zIndex:Pt})},allowClear:at,removeIcon:Ft}))))})},Wr=Vt(),Nr=Vt(Ut,St),Qr=Vt(gr,lr),vn=Vt(Cr,rn),_n=Vt(Er,S),pe=Vt(N,er);return{DatePicker:Wr,WeekPicker:Nr,MonthPicker:Qr,YearPicker:vn,TimePicker:pe,QuarterPicker:_n}},F=yt=>{const{DatePicker:Vt,WeekPicker:Wr,MonthPicker:Nr,YearPicker:Qr,TimePicker:vn,QuarterPicker:_n}=Tr(yt),pe=zt(yt),fr=Vt;return fr.WeekPicker=Wr,fr.MonthPicker=Nr,fr.YearPicker=Qr,fr.RangePicker=pe,fr.TimePicker=vn,fr.QuarterPicker=_n,fr};const Ae=F(s.Z),ae=(0,qe.Z)(Ae,"popupAlign",void 0,"picker");Ae._InternalPanelDoNotUseOrYouWillBeFired=ae;const bt=(0,qe.Z)(Ae.RangePicker,"popupAlign",void 0,"picker");Ae._InternalRangePanelDoNotUseOrYouWillBeFired=bt,Ae.generatePicker=F;var bn=Ae},37285:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return R}});var s=o(59301),qe=o(92310),I=o.n(qe),He=o(48755),te=o(36237),q=o(63356),Q=o(16931),y=o(51636);const U=Z=>{const{componentCls:A,sizePaddingEdgeHorizontal:$,colorSplit:w,lineWidth:j,textPaddingInline:de,orientationMargin:X,verticalMarginInline:J}=Z;return{[A]:Object.assign(Object.assign({},(0,q.Wf)(Z)),{borderBlockStart:`${(0,te.unit)(j)} solid ${w}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:J,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,te.unit)(j)} solid ${w}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,te.unit)(Z.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${A}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,te.unit)(Z.dividerHorizontalWithTextGutterMargin)} 0`,color:Z.colorTextHeading,fontWeight:500,fontSize:Z.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${w}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,te.unit)(j)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${A}-with-text-start`]:{"&::before":{width:`calc(${X} * 100%)`},"&::after":{width:`calc(100% - ${X} * 100%)`}},[`&-horizontal${A}-with-text-end`]:{"&::before":{width:`calc(100% - ${X} * 100%)`},"&::after":{width:`calc(${X} * 100%)`}},[`${A}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:de},"&-dashed":{background:"none",borderColor:w,borderStyle:"dashed",borderWidth:`${(0,te.unit)(j)} 0 0`},[`&-horizontal${A}-with-text${A}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${A}-dashed`]:{borderInlineStartWidth:j,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:w,borderStyle:"dotted",borderWidth:`${(0,te.unit)(j)} 0 0`},[`&-horizontal${A}-with-text${A}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${A}-dotted`]:{borderInlineStartWidth:j,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${A}-with-text`]:{color:Z.colorText,fontWeight:"normal",fontSize:Z.fontSize},[`&-horizontal${A}-with-text-start${A}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${A}-inner-text`]:{paddingInlineStart:$}},[`&-horizontal${A}-with-text-end${A}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${A}-inner-text`]:{paddingInlineEnd:$}}})}},l=Z=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Z.marginXS});var L=(0,Q.I$)("Divider",Z=>{const A=(0,y.mergeToken)(Z,{dividerHorizontalWithTextGutterMargin:Z.margin,dividerHorizontalGutterMargin:Z.marginLG,sizePaddingEdgeHorizontal:0});return[U(A)]},l,{unitless:{orientationMargin:!0}}),W=function(Z,A){var $={};for(var w in Z)Object.prototype.hasOwnProperty.call(Z,w)&&A.indexOf(w)<0&&($[w]=Z[w]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,w=Object.getOwnPropertySymbols(Z);j<w.length;j++)A.indexOf(w[j])<0&&Object.prototype.propertyIsEnumerable.call(Z,w[j])&&($[w[j]]=Z[w[j]]);return $},R=Z=>{const{getPrefixCls:A,direction:$,className:w,style:j}=(0,He.dj)("divider"),{prefixCls:de,type:X="horizontal",orientation:J="center",orientationMargin:Ne,className:Le,rootClassName:et,children:Ue,dashed:Ce,variant:Oe="solid",plain:Y,style:xe}=Z,M=W(Z,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),E=A("divider",de),[st,ce,le]=L(E),H=!!Ue,_=s.useMemo(()=>J==="left"?$==="rtl"?"end":"start":J==="right"?$==="rtl"?"start":"end":J,[$,J]),re=_==="start"&&Ne!=null,T=_==="end"&&Ne!=null,ne=I()(E,w,ce,le,`${E}-${X}`,{[`${E}-with-text`]:H,[`${E}-with-text-${_}`]:H,[`${E}-dashed`]:!!Ce,[`${E}-${Oe}`]:Oe!=="solid",[`${E}-plain`]:!!Y,[`${E}-rtl`]:$==="rtl",[`${E}-no-default-orientation-margin-start`]:re,[`${E}-no-default-orientation-margin-end`]:T},Le,et),Fe=s.useMemo(()=>typeof Ne=="number"?Ne:/^\d+$/.test(Ne)?Number(Ne):Ne,[Ne]),ye={marginInlineStart:re?Fe:void 0,marginInlineEnd:T?Fe:void 0};return st(s.createElement("div",Object.assign({className:ne,style:Object.assign(Object.assign({},j),xe)},M,{role:"separator"}),Ue&&X!=="vertical"&&s.createElement("span",{className:`${E}-inner-text`,style:ye},Ue)))}},30641:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return st}});var s=o(59301),qe=o(92310),I=o.n(qe),He=o(66042),te=o(62487),q=o(75030),Q=o(86641),y=o(55743),U=o(48755),l=o(91190),L=o(78776),W=o(458),R=ce=>{var le,H;const{prefixCls:_,title:re,footer:T,extra:ne,loading:Fe,onClose:ye,headerStyle:lt,bodyStyle:ft,footerStyle:pt,children:he,classNames:We,styles:jt}=ce,ze=(0,U.dj)("drawer"),Be=s.useCallback(ue=>s.createElement("button",{type:"button",onClick:ye,"aria-label":"Close",className:`${_}-close`},ue),[ye]),[P,ct]=(0,L.Z)((0,L.w)(ce),(0,L.w)(ze),{closable:!0,closeIconRender:Be}),Se=s.useMemo(()=>{var ue,ge;return!re&&!P?null:s.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(ue=ze.styles)===null||ue===void 0?void 0:ue.header),lt),jt==null?void 0:jt.header),className:I()(`${_}-header`,{[`${_}-header-close-only`]:P&&!re&&!ne},(ge=ze.classNames)===null||ge===void 0?void 0:ge.header,We==null?void 0:We.header)},s.createElement("div",{className:`${_}-header-title`},ct,re&&s.createElement("div",{className:`${_}-title`},re)),ne&&s.createElement("div",{className:`${_}-extra`},ne))},[P,ct,ne,lt,_,re]),fe=s.useMemo(()=>{var ue,ge;if(!T)return null;const $e=`${_}-footer`;return s.createElement("div",{className:I()($e,(ue=ze.classNames)===null||ue===void 0?void 0:ue.footer,We==null?void 0:We.footer),style:Object.assign(Object.assign(Object.assign({},(ge=ze.styles)===null||ge===void 0?void 0:ge.footer),pt),jt==null?void 0:jt.footer)},T)},[T,pt,_]);return s.createElement(s.Fragment,null,Se,s.createElement("div",{className:I()(`${_}-body`,We==null?void 0:We.body,(le=ze.classNames)===null||le===void 0?void 0:le.body),style:Object.assign(Object.assign(Object.assign({},(H=ze.styles)===null||H===void 0?void 0:H.body),ft),jt==null?void 0:jt.body)},Fe?s.createElement(W.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${_}-body-skeleton`}):he),fe)},Z=o(36237),A=o(63356),$=o(16931),w=o(51636);const j=ce=>{const le="100%";return{left:`translateX(-${le})`,right:`translateX(${le})`,top:`translateY(-${le})`,bottom:`translateY(${le})`}[ce]},de=(ce,le)=>({"&-enter, &-appear":Object.assign(Object.assign({},ce),{"&-active":le}),"&-leave":Object.assign(Object.assign({},le),{"&-active":ce})}),X=(ce,le)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${le}`}}},de({opacity:ce},{opacity:1})),J=(ce,le)=>[X(.7,le),de({transform:j(ce)},{transform:"none"})];var Le=ce=>{const{componentCls:le,motionDurationSlow:H}=ce;return{[le]:{[`${le}-mask-motion`]:X(0,H),[`${le}-panel-motion`]:["left","right","top","bottom"].reduce((_,re)=>Object.assign(Object.assign({},_),{[`&-${re}`]:J(re,H)}),{})}}};const et=ce=>{const{borderRadiusSM:le,componentCls:H,zIndexPopup:_,colorBgMask:re,colorBgElevated:T,motionDurationSlow:ne,motionDurationMid:Fe,paddingXS:ye,padding:lt,paddingLG:ft,fontSizeLG:pt,lineHeightLG:he,lineWidth:We,lineType:jt,colorSplit:ze,marginXS:Be,colorIcon:P,colorIconHover:ct,colorBgTextHover:Se,colorBgTextActive:fe,colorText:ue,fontWeightStrong:ge,footerPaddingBlock:$e,footerPaddingInline:we,calc:Re}=ce,Je=`${H}-content-wrapper`;return{[H]:{position:"fixed",inset:0,zIndex:_,pointerEvents:"none",color:ue,"&-pure":{position:"relative",background:T,display:"flex",flexDirection:"column",[`&${H}-left`]:{boxShadow:ce.boxShadowDrawerLeft},[`&${H}-right`]:{boxShadow:ce.boxShadowDrawerRight},[`&${H}-top`]:{boxShadow:ce.boxShadowDrawerUp},[`&${H}-bottom`]:{boxShadow:ce.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${H}-mask`]:{position:"absolute",inset:0,zIndex:_,background:re,pointerEvents:"auto"},[Je]:{position:"absolute",zIndex:_,maxWidth:"100vw",transition:`all ${ne}`,"&-hidden":{display:"none"}},[`&-left > ${Je}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:ce.boxShadowDrawerLeft},[`&-right > ${Je}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:ce.boxShadowDrawerRight},[`&-top > ${Je}`]:{top:0,insetInline:0,boxShadow:ce.boxShadowDrawerUp},[`&-bottom > ${Je}`]:{bottom:0,insetInline:0,boxShadow:ce.boxShadowDrawerDown},[`${H}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:T,pointerEvents:"auto"},[`${H}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,Z.unit)(lt)} ${(0,Z.unit)(ft)}`,fontSize:pt,lineHeight:he,borderBottom:`${(0,Z.unit)(We)} ${jt} ${ze}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${H}-extra`]:{flex:"none"},[`${H}-close`]:Object.assign({display:"inline-flex",width:Re(pt).add(ye).equal(),height:Re(pt).add(ye).equal(),borderRadius:le,justifyContent:"center",alignItems:"center",marginInlineEnd:Be,color:P,fontWeight:ge,fontSize:pt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${Fe}`,textRendering:"auto","&:hover":{color:ct,backgroundColor:Se,textDecoration:"none"},"&:active":{backgroundColor:fe}},(0,A.Qy)(ce)),[`${H}-title`]:{flex:1,margin:0,fontWeight:ce.fontWeightStrong,fontSize:pt,lineHeight:he},[`${H}-body`]:{flex:1,minWidth:0,minHeight:0,padding:ft,overflow:"auto",[`${H}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${H}-footer`]:{flexShrink:0,padding:`${(0,Z.unit)($e)} ${(0,Z.unit)(we)}`,borderTop:`${(0,Z.unit)(We)} ${jt} ${ze}`},"&-rtl":{direction:"rtl"}}}},Ue=ce=>({zIndexPopup:ce.zIndexPopupBase,footerPaddingBlock:ce.paddingXS,footerPaddingInline:ce.padding});var Ce=(0,$.I$)("Drawer",ce=>{const le=(0,w.mergeToken)(ce,{});return[et(le),Le(le)]},Ue),Oe=function(ce,le){var H={};for(var _ in ce)Object.prototype.hasOwnProperty.call(ce,_)&&le.indexOf(_)<0&&(H[_]=ce[_]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var re=0,_=Object.getOwnPropertySymbols(ce);re<_.length;re++)le.indexOf(_[re])<0&&Object.prototype.propertyIsEnumerable.call(ce,_[re])&&(H[_[re]]=ce[_[re]]);return H};const Y=null,xe={distance:180},M=ce=>{var le;const{rootClassName:H,width:_,height:re,size:T="default",mask:ne=!0,push:Fe=xe,open:ye,afterOpenChange:lt,onClose:ft,prefixCls:pt,getContainer:he,style:We,className:jt,visible:ze,afterVisibleChange:Be,maskStyle:P,drawerStyle:ct,contentWrapperStyle:Se}=ce,fe=Oe(ce,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:ue,getPrefixCls:ge,direction:$e,className:we,style:Re,classNames:Je,styles:wt}=(0,U.dj)("drawer"),At=ge("drawer",pt),[ar,qt,Nt]=Ce(At),ht=he===void 0&&ue?()=>ue(document.body):he,Ot=I()({"no-mask":!ne,[`${At}-rtl`]:$e==="rtl"},H,qt,Nt),Tt=s.useMemo(()=>_!=null?_:T==="large"?736:378,[_,T]),Ut=s.useMemo(()=>re!=null?re:T==="large"?736:378,[re,T]),St={motionName:(0,Q.m)(At,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},gr=N=>({motionName:(0,Q.m)(At,`panel-motion-${N}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),lr=(0,l.H)(),[Cr,rn]=(0,q.Cn)("Drawer",fe.zIndex),{classNames:Er={},styles:S={}}=fe;return ar(s.createElement(te.Z,{form:!0,space:!0},s.createElement(y.Z.Provider,{value:rn},s.createElement(He.Z,Object.assign({prefixCls:At,onClose:ft,maskMotion:St,motion:gr},fe,{classNames:{mask:I()(Er.mask,Je.mask),content:I()(Er.content,Je.content),wrapper:I()(Er.wrapper,Je.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},S.mask),P),wt.mask),content:Object.assign(Object.assign(Object.assign({},S.content),ct),wt.content),wrapper:Object.assign(Object.assign(Object.assign({},S.wrapper),Se),wt.wrapper)},open:ye!=null?ye:ze,mask:ne,push:Fe,width:Tt,height:Ut,style:Object.assign(Object.assign({},Re),We),className:I()(we,jt),rootClassName:Ot,getContainer:ht,afterOpenChange:lt!=null?lt:Be,panelRef:lr,zIndex:Cr}),s.createElement(R,Object.assign({prefixCls:At},fe,{onClose:ft}))))))},E=ce=>{const{prefixCls:le,style:H,className:_,placement:re="right"}=ce,T=Oe(ce,["prefixCls","style","className","placement"]),{getPrefixCls:ne}=s.useContext(U.E_),Fe=ne("drawer",le),[ye,lt,ft]=Ce(Fe),pt=I()(Fe,`${Fe}-pure`,`${Fe}-${re}`,lt,ft,_);return ye(s.createElement("div",{className:pt,style:H},s.createElement(R,Object.assign({prefixCls:Fe},T))))};M._InternalPanelDoNotUseOrYouWillBeFired=E;var st=M},19563:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return Fe}});var s=o(59301),qe=o(33853),I=o(38819),He=o(92310),te=o.n(He),q=o(96478),Q=o(6089),y=o(18929),U=o(2738),l=o(75030),W=ye=>typeof ye!="object"&&typeof ye!="function"||ye===null,G=o(52838),R=o(45915),Z=o(22703),A=o(32383),$=o(55743),w=o(48755),j=o(83397),de=o(93041),X=o(78857),J=o(57700),Ne=o(36237),Le=o(63356),et=o(46e3),Ue=o(93873),Ce=o(34925),Oe=o(37645),Y=o(36305),xe=o(16931),M=o(51636),st=ye=>{const{componentCls:lt,menuCls:ft,colorError:pt,colorTextLightSolid:he}=ye,We=`${ft}-item`;return{[`${lt}, ${lt}-menu-submenu`]:{[`${ft} ${We}`]:{[`&${We}-danger:not(${We}-disabled)`]:{color:pt,"&:hover":{color:he,backgroundColor:pt}}}}}};const ce=ye=>{const{componentCls:lt,menuCls:ft,zIndexPopup:pt,dropdownArrowDistance:he,sizePopupArrow:We,antCls:jt,iconCls:ze,motionDurationMid:Be,paddingBlock:P,fontSize:ct,dropdownEdgeChildPadding:Se,colorTextDisabled:fe,fontSizeIcon:ue,controlPaddingHorizontal:ge,colorBgElevated:$e}=ye;return[{[lt]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:pt,display:"block","&::before":{position:"absolute",insetBlock:ye.calc(We).div(2).sub(he).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${jt}-btn`]:{[`& > ${ze}-down, & > ${jt}-btn-icon > ${ze}-down`]:{fontSize:ue}},[`${lt}-wrap`]:{position:"relative",[`${jt}-btn > ${ze}-down`]:{fontSize:ue},[`${ze}-down::before`]:{transition:`transform ${Be}`}},[`${lt}-wrap-open`]:{[`${ze}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${jt}-slide-down-enter${jt}-slide-down-enter-active${lt}-placement-bottomLeft,
&${jt}-slide-down-appear${jt}-slide-down-appear-active${lt}-placement-bottomLeft,
&${jt}-slide-down-enter${jt}-slide-down-enter-active${lt}-placement-bottom,
&${jt}-slide-down-appear${jt}-slide-down-appear-active${lt}-placement-bottom,
&${jt}-slide-down-enter${jt}-slide-down-enter-active${lt}-placement-bottomRight,
&${jt}-slide-down-appear${jt}-slide-down-appear-active${lt}-placement-bottomRight`]:{animationName:et.fJ},[`&${jt}-slide-up-enter${jt}-slide-up-enter-active${lt}-placement-topLeft,
&${jt}-slide-up-appear${jt}-slide-up-appear-active${lt}-placement-topLeft,
&${jt}-slide-up-enter${jt}-slide-up-enter-active${lt}-placement-top,
&${jt}-slide-up-appear${jt}-slide-up-appear-active${lt}-placement-top,
&${jt}-slide-up-enter${jt}-slide-up-enter-active${lt}-placement-topRight,
&${jt}-slide-up-appear${jt}-slide-up-appear-active${lt}-placement-topRight`]:{animationName:et.Qt},[`&${jt}-slide-down-leave${jt}-slide-down-leave-active${lt}-placement-bottomLeft,
&${jt}-slide-down-leave${jt}-slide-down-leave-active${lt}-placement-bottom,
&${jt}-slide-down-leave${jt}-slide-down-leave-active${lt}-placement-bottomRight`]:{animationName:et.Uw},[`&${jt}-slide-up-leave${jt}-slide-up-leave-active${lt}-placement-topLeft,
&${jt}-slide-up-leave${jt}-slide-up-leave-active${lt}-placement-top,
&${jt}-slide-up-leave${jt}-slide-up-leave-active${lt}-placement-topRight`]:{animationName:et.ly}}},(0,Oe.ZP)(ye,$e,{arrowPlacement:{top:!0,bottom:!0}}),{[`${lt} ${ft}`]:{position:"relative",margin:0},[`${ft}-submenu-popup`]:{position:"absolute",zIndex:pt,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${lt}, ${lt}-menu-submenu`]:Object.assign(Object.assign({},(0,Le.Wf)(ye)),{[ft]:Object.assign(Object.assign({padding:Se,listStyleType:"none",backgroundColor:$e,backgroundClip:"padding-box",borderRadius:ye.borderRadiusLG,outline:"none",boxShadow:ye.boxShadowSecondary},(0,Le.Qy)(ye)),{"&:empty":{padding:0,boxShadow:"none"},[`${ft}-item-group-title`]:{padding:`${(0,Ne.unit)(P)} ${(0,Ne.unit)(ge)}`,color:ye.colorTextDescription,transition:`all ${Be}`},[`${ft}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ft}-item-icon`]:{minWidth:ct,marginInlineEnd:ye.marginXS,fontSize:ye.fontSizeSM},[`${ft}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${Be}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${ft}-item-extra`]:{paddingInlineStart:ye.padding,marginInlineStart:"auto",fontSize:ye.fontSizeSM,color:ye.colorTextDescription}},[`${ft}-item, ${ft}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,Ne.unit)(P)} ${(0,Ne.unit)(ge)}`,color:ye.colorText,fontWeight:"normal",fontSize:ct,lineHeight:ye.lineHeight,cursor:"pointer",transition:`all ${Be}`,borderRadius:ye.borderRadiusSM,"&:hover, &-active":{backgroundColor:ye.controlItemBgHover}},(0,Le.Qy)(ye)),{"&-selected":{color:ye.colorPrimary,backgroundColor:ye.controlItemBgActive,"&:hover, &-active":{backgroundColor:ye.controlItemBgActiveHover}},"&-disabled":{color:fe,cursor:"not-allowed","&:hover":{color:fe,backgroundColor:$e,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,Ne.unit)(ye.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:ye.colorSplit},[`${lt}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:ye.paddingXS,[`${lt}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:ye.colorTextDescription,fontSize:ue,fontStyle:"normal"}}}),[`${ft}-item-group-list`]:{margin:`0 ${(0,Ne.unit)(ye.marginXS)}`,padding:0,listStyle:"none"},[`${ft}-submenu-title`]:{paddingInlineEnd:ye.calc(ge).add(ye.fontSizeSM).equal()},[`${ft}-submenu-vertical`]:{position:"relative"},[`${ft}-submenu${ft}-submenu-disabled ${lt}-menu-submenu-title`]:{[`&, ${lt}-menu-submenu-arrow-icon`]:{color:fe,backgroundColor:$e,cursor:"not-allowed"}},[`${ft}-submenu-selected ${lt}-menu-submenu-title`]:{color:ye.colorPrimary}})})},[(0,et.oN)(ye,"slide-up"),(0,et.oN)(ye,"slide-down"),(0,Ue.Fm)(ye,"move-up"),(0,Ue.Fm)(ye,"move-down"),(0,Ce._y)(ye,"zoom-big")]]},le=ye=>Object.assign(Object.assign({zIndexPopup:ye.zIndexPopupBase+50,paddingBlock:(ye.controlHeight-ye.fontSize*ye.lineHeight)/2},(0,Oe.wZ)({contentRadius:ye.borderRadiusLG,limitVerticalRadius:!0})),(0,Y.w)(ye));var H=(0,xe.I$)("Dropdown",ye=>{const{marginXXS:lt,sizePopupArrow:ft,paddingXXS:pt,componentCls:he}=ye,We=(0,M.mergeToken)(ye,{menuCls:`${he}-menu`,dropdownArrowDistance:ye.calc(ft).div(2).add(lt).equal(),dropdownEdgeChildPadding:pt});return[ce(We),st(We)]},le,{resetStyle:!1});const _=null,re=ye=>{var lt;const{menu:ft,arrow:pt,prefixCls:he,children:We,trigger:jt,disabled:ze,dropdownRender:Be,getPopupContainer:P,overlayClassName:ct,rootClassName:Se,overlayStyle:fe,open:ue,onOpenChange:ge,visible:$e,onVisibleChange:we,mouseEnterDelay:Re=.15,mouseLeaveDelay:Je=.1,autoAdjustOverflow:wt=!0,placement:At="",overlay:ar,transitionName:qt}=ye,{getPopupContainer:Nt,getPrefixCls:ht,direction:Ot,dropdown:Tt}=s.useContext(w.E_),Ut=(0,A.ln)("Dropdown"),St=s.useMemo(()=>{const ae=ht();return qt!==void 0?qt:At.includes("top")?`${ae}-slide-down`:`${ae}-slide-up`},[ht,At,qt]),gr=s.useMemo(()=>At?At.includes("Center")?At.slice(0,At.indexOf("Center")):At:Ot==="rtl"?"bottomRight":"bottomLeft",[At,Ot]),lr=ht("dropdown",he),Cr=(0,j.Z)(lr),[rn,Er,S]=H(lr,Cr),[,N]=(0,J.ZP)(),er=s.Children.only(W(We)?s.createElement("span",null,We):We),se=(0,Z.Tm)(er,{className:te()(`${lr}-trigger`,{[`${lr}-rtl`]:Ot==="rtl"},er.props.className),disabled:(lt=er.props.disabled)!==null&&lt!==void 0?lt:ze}),ke=ze?[]:jt,zr=!!(ke!=null&&ke.includes("contextMenu")),[Ir,yn]=(0,y.Z)(!1,{value:ue!=null?ue:$e}),Bn=(0,Q.Z)(ae=>{ge==null||ge(ae,{source:"trigger"}),we==null||we(ae),yn(ae)}),zt=te()(ct,Se,Er,S,Cr,Tt==null?void 0:Tt.className,{[`${lr}-rtl`]:Ot==="rtl"}),yr=(0,G.Z)({arrowPointAtCenter:typeof pt=="object"&&pt.pointAtCenter,autoAdjustOverflow:wt,offset:N.marginXXS,arrowWidth:pt?N.sizePopupArrow:0,borderRadius:N.borderRadius}),vr=s.useCallback(()=>{ft!=null&&ft.selectable&&(ft!=null&&ft.multiple)||(ge==null||ge(!1,{source:"menu"}),yn(!1))},[ft==null?void 0:ft.selectable,ft==null?void 0:ft.multiple]),Tr=()=>{let ae;return ft!=null&&ft.items?ae=s.createElement(de.default,Object.assign({},ft)):typeof ar=="function"?ae=ar():ae=ar,Be&&(ae=Be(ae)),ae=s.Children.only(typeof ae=="string"?s.createElement("span",null,ae):ae),s.createElement(X.J,{prefixCls:`${lr}-menu`,rootClassName:te()(S,Cr),expandIcon:s.createElement("span",{className:`${lr}-menu-submenu-arrow`},Ot==="rtl"?s.createElement(qe.Z,{className:`${lr}-menu-submenu-arrow-icon`}):s.createElement(I.Z,{className:`${lr}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:vr,validator:bt=>{let{mode:bn}=bt}},ae)},[f,F]=(0,l.Cn)("Dropdown",fe==null?void 0:fe.zIndex);let Ae=s.createElement(q.Z,Object.assign({alignPoint:zr},(0,U.Z)(ye,["rootClassName"]),{mouseEnterDelay:Re,mouseLeaveDelay:Je,visible:Ir,builtinPlacements:yr,arrow:!!pt,overlayClassName:zt,prefixCls:lr,getPopupContainer:P||Nt,transitionName:St,trigger:ke,overlay:Tr,placement:gr,onVisibleChange:Bn,overlayStyle:Object.assign(Object.assign(Object.assign({},Tt==null?void 0:Tt.style),fe),{zIndex:f})}),se);return f&&(Ae=s.createElement($.Z.Provider,{value:F},Ae)),rn(Ae)},T=(0,R.Z)(re,"align",void 0,"dropdown",ye=>ye),ne=ye=>s.createElement(T,Object.assign({},ye),s.createElement("span",null));re._InternalPanelDoNotUseOrYouWillBeFired=ne;var Fe=re},75727:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return R}});var s=o(19563),qe=o(59301),I=o(18785),He=o(92310),te=o.n(He),q=o(99571),Q=o(48755),y=o(77736),U=o(70045),l=function(Z,A){var $={};for(var w in Z)Object.prototype.hasOwnProperty.call(Z,w)&&A.indexOf(w)<0&&($[w]=Z[w]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,w=Object.getOwnPropertySymbols(Z);j<w.length;j++)A.indexOf(w[j])<0&&Object.prototype.propertyIsEnumerable.call(Z,w[j])&&($[w[j]]=Z[w[j]]);return $};const L=Z=>{const{getPopupContainer:A,getPrefixCls:$,direction:w}=qe.useContext(Q.E_),{prefixCls:j,type:de="default",danger:X,disabled:J,loading:Ne,onClick:Le,htmlType:et,children:Ue,className:Ce,menu:Oe,arrow:Y,autoFocus:xe,overlay:M,trigger:E,align:st,open:ce,onOpenChange:le,placement:H,getPopupContainer:_,href:re,icon:T=qe.createElement(I.Z,null),title:ne,buttonsRender:Fe=Re=>Re,mouseEnterDelay:ye,mouseLeaveDelay:lt,overlayClassName:ft,overlayStyle:pt,destroyPopupOnHide:he,dropdownRender:We}=Z,jt=l(Z,["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"]),ze=$("dropdown",j),Be=`${ze}-button`,P={menu:Oe,arrow:Y,autoFocus:xe,align:st,disabled:J,trigger:J?[]:E,onOpenChange:le,getPopupContainer:_||A,mouseEnterDelay:ye,mouseLeaveDelay:lt,overlayClassName:ft,overlayStyle:pt,destroyPopupOnHide:he,dropdownRender:We},{compactSize:ct,compactItemClassnames:Se}=(0,U.ri)(ze,w),fe=te()(Be,Se,Ce);"overlay"in Z&&(P.overlay=M),"open"in Z&&(P.open=ce),"placement"in Z?P.placement=H:P.placement=w==="rtl"?"bottomLeft":"bottomRight";const ue=qe.createElement(q.ZP,{type:de,danger:X,disabled:J,loading:Ne,onClick:Le,htmlType:et,href:re,title:ne},Ue),ge=qe.createElement(q.ZP,{type:de,danger:X,icon:T}),[$e,we]=Fe([ue,ge]);return qe.createElement(y.Z.Compact,Object.assign({className:fe,size:ct,block:!0},jt),$e,qe.createElement(s.Z,Object.assign({},P),we))};L.__ANT_BUTTON=!0;var W=L;const G=s.Z;G.Button=W;var R=G},584:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return de}});var s=o(59301),qe=o(92310),I=o.n(qe),He=o(9017),te=o(17835),q=o(57700),y=()=>{const[,X]=(0,q.ZP)(),[J]=(0,He.Z)("Empty"),Le=new te.FastColor(X.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return s.createElement("svg",{style:Le,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},s.createElement("title",null,(J==null?void 0:J.description)||"Empty"),s.createElement("g",{fill:"none",fillRule:"evenodd"},s.createElement("g",{transform:"translate(24 31.67)"},s.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),s.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"}),s.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)"}),s.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"}),s.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"})),s.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"}),s.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},s.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),s.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},l=()=>{const[,X]=(0,q.ZP)(),[J]=(0,He.Z)("Empty"),{colorFill:Ne,colorFillTertiary:Le,colorFillQuaternary:et,colorBgContainer:Ue}=X,{borderColor:Ce,shadowColor:Oe,contentColor:Y}=(0,s.useMemo)(()=>({borderColor:new te.FastColor(Ne).onBackground(Ue).toHexString(),shadowColor:new te.FastColor(Le).onBackground(Ue).toHexString(),contentColor:new te.FastColor(et).onBackground(Ue).toHexString()}),[Ne,Le,et,Ue]);return s.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},s.createElement("title",null,(J==null?void 0:J.description)||"Empty"),s.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},s.createElement("ellipse",{fill:Oe,cx:"32",cy:"33",rx:"32",ry:"7"}),s.createElement("g",{fillRule:"nonzero",stroke:Ce},s.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"}),s.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:Y}))))},L=o(16931),W=o(51636);const G=X=>{const{componentCls:J,margin:Ne,marginXS:Le,marginXL:et,fontSize:Ue,lineHeight:Ce}=X;return{[J]:{marginInline:Le,fontSize:Ue,lineHeight:Ce,textAlign:"center",[`${J}-image`]:{height:X.emptyImgHeight,marginBottom:Le,opacity:X.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${J}-description`]:{color:X.colorTextDescription},[`${J}-footer`]:{marginTop:Ne},"&-normal":{marginBlock:et,color:X.colorTextDescription,[`${J}-description`]:{color:X.colorTextDescription},[`${J}-image`]:{height:X.emptyImgHeightMD}},"&-small":{marginBlock:Le,color:X.colorTextDescription,[`${J}-image`]:{height:X.emptyImgHeightSM}}}}};var R=(0,L.I$)("Empty",X=>{const{componentCls:J,controlHeightLG:Ne,calc:Le}=X,et=(0,W.mergeToken)(X,{emptyImgCls:`${J}-img`,emptyImgHeight:Le(Ne).mul(2.5).equal(),emptyImgHeightMD:Ne,emptyImgHeightSM:Le(Ne).mul(.875).equal()});return[G(et)]}),Z=o(48755),A=function(X,J){var Ne={};for(var Le in X)Object.prototype.hasOwnProperty.call(X,Le)&&J.indexOf(Le)<0&&(Ne[Le]=X[Le]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Le=Object.getOwnPropertySymbols(X);et<Le.length;et++)J.indexOf(Le[et])<0&&Object.prototype.propertyIsEnumerable.call(X,Le[et])&&(Ne[Le[et]]=X[Le[et]]);return Ne};const $=s.createElement(y,null),w=s.createElement(l,null),j=X=>{const{className:J,rootClassName:Ne,prefixCls:Le,image:et=$,description:Ue,children:Ce,imageStyle:Oe,style:Y,classNames:xe,styles:M}=X,E=A(X,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:st,direction:ce,className:le,style:H,classNames:_,styles:re}=(0,Z.dj)("empty"),T=st("empty",Le),[ne,Fe,ye]=R(T),[lt]=(0,He.Z)("Empty"),ft=typeof Ue!="undefined"?Ue:lt==null?void 0:lt.description,pt=typeof ft=="string"?ft:"empty";let he=null;return typeof et=="string"?he=s.createElement("img",{alt:pt,src:et}):he=et,ne(s.createElement("div",Object.assign({className:I()(Fe,ye,T,le,{[`${T}-normal`]:et===w,[`${T}-rtl`]:ce==="rtl"},J,Ne,_.root,xe==null?void 0:xe.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},re.root),H),M==null?void 0:M.root),Y)},E),s.createElement("div",{className:I()(`${T}-image`,_.image,xe==null?void 0:xe.image),style:Object.assign(Object.assign(Object.assign({},Oe),re.image),M==null?void 0:M.image)},he),ft&&s.createElement("div",{className:I()(`${T}-description`,_.description,xe==null?void 0:xe.description),style:Object.assign(Object.assign({},re.description),M==null?void 0:M.description)},ft),Ce&&s.createElement("div",{className:I()(`${T}-footer`,_.footer,xe==null?void 0:xe.footer),style:Object.assign(Object.assign({},re.footer),M==null?void 0:M.footer)},Ce)))};j.PRESENTED_IMAGE_DEFAULT=$,j.PRESENTED_IMAGE_SIMPLE=w;var de=j},24971:function(en,Jt,o){"use strict";var s=o(59301),qe=o(56553),I=o(48755);const He=function(te,q){let Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var y,U;const{variant:l,[te]:L}=s.useContext(I.E_),W=s.useContext(qe.pg),G=L==null?void 0:L.variant;let R;typeof q!="undefined"?R=q:Q===!1?R="borderless":R=(U=(y=W!=null?W:G)!==null&&y!==void 0?y:l)!==null&&U!==void 0?U:"outlined";const Z=I.tr.includes(R);return[R,Z]};Jt.Z=He},28284:function(en,Jt,o){"use strict";o.d(Jt,{default:function(){return kn}});var s=o(56553),qe=o(15142),I=o(59301),He=o(92310),te=o.n(He),q=o(77900),Q=o(86641),y=o(83397);function U(xt){const[tr,or]=I.useState(xt);return I.useEffect(()=>{const ir=setTimeout(()=>{or(xt)},xt.length?0:10);return()=>{clearTimeout(ir)}},[xt]),tr}var l=o(36237),L=o(63356),W=o(34925),G=o(34961),R=o(51636),Z=o(16931),$=xt=>{const{componentCls:tr}=xt,or=`${tr}-show-help`,ir=`${tr}-show-help-item`;return{[or]:{transition:`opacity ${xt.motionDurationFast} ${xt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[ir]:{overflow:"hidden",transition:`height ${xt.motionDurationFast} ${xt.motionEaseInOut},
opacity ${xt.motionDurationFast} ${xt.motionEaseInOut},
transform ${xt.motionDurationFast} ${xt.motionEaseInOut} !important`,[`&${ir}-appear, &${ir}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${ir}-leave-active`]:{transform:"translateY(-5px)"}}}}};const w=xt=>({legend:{display:"block",width:"100%",marginBottom:xt.marginLG,padding:0,color:xt.colorTextDescription,fontSize:xt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,l.unit)(xt.lineWidth)} ${xt.lineType} ${xt.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,l.unit)(xt.controlOutlineWidth)} ${xt.controlOutline}`},output:{display:"block",paddingTop:15,color:xt.colorText,fontSize:xt.fontSize,lineHeight:xt.lineHeight}}),j=(xt,tr)=>{const{formItemCls:or}=xt;return{[or]:{[`${or}-label > label`]:{height:tr},[`${or}-control-input`]:{minHeight:tr}}}},de=xt=>{const{componentCls:tr}=xt;return{[xt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,L.Wf)(xt)),w(xt)),{[`${tr}-text`]:{display:"inline-block",paddingInlineEnd:xt.paddingSM},"&-small":Object.assign({},j(xt,xt.controlHeightSM)),"&-large":Object.assign({},j(xt,xt.controlHeightLG))})}},X=xt=>{const{formItemCls:tr,iconCls:or,rootPrefixCls:ir,antCls:Pr,labelRequiredMarkColor:tn,labelColor:Hr,labelFontSize:Lr,labelHeight:ln,labelColonMarginInlineStart:pn,labelColonMarginInlineEnd:En,itemMarginBottom:Dn}=xt;return{[tr]:Object.assign(Object.assign({},(0,L.Wf)(xt)),{marginBottom:Dn,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
&-hidden${Pr}-row`]:{display:"none"},"&-has-warning":{[`${tr}-split`]:{color:xt.colorError}},"&-has-error":{[`${tr}-split`]:{color:xt.colorWarning}},[`${tr}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:xt.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:ln,color:Hr,fontSize:Lr,[`> ${or}`]:{fontSize:xt.fontSize,verticalAlign:"top"},[`&${tr}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:xt.marginXXS,color:tn,fontSize:xt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${tr}-required-mark-hidden, &${tr}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${tr}-optional`]:{display:"inline-block",marginInlineStart:xt.marginXXS,color:xt.colorTextDescription,[`&${tr}-required-mark-hidden`]:{display:"none"}},[`${tr}-tooltip`]:{color:xt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:xt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:pn,marginInlineEnd:En},[`&${tr}-no-colon::after`]:{content:'"\\a0"'}}},[`${tr}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${ir}-col-'"]):not([class*="' ${ir}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:xt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[tr]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:xt.colorTextDescription,fontSize:xt.fontSize,lineHeight:xt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:xt.controlHeightSM,transition:`color ${xt.motionDurationMid} ${xt.motionEaseOut}`},"&-explain":{"&-error":{color:xt.colorError},"&-warning":{color:xt.colorWarning}}},[`&-with-help ${tr}-explain`]:{height:"auto",opacity:1},[`${tr}-feedback-icon`]:{fontSize:xt.fontSize,textAlign:"center",visibility:"visible",animationName:W.kr,animationDuration:xt.motionDurationMid,animationTimingFunction:xt.motionEaseOutBack,pointerEvents:"none","&-success":{color:xt.colorSuccess},"&-error":{color:xt.colorError},"&-warning":{color:xt.colorWarning},"&-validating":{color:xt.colorPrimary}}})}},J=(xt,tr)=>{const{formItemCls:or}=xt;return{[`${tr}-horizontal`]:{[`${or}-label`]:{flexGrow:0},[`${or}-control`]:{flex:"1 1 0",minWidth:0},[`${or}-label[class$='-24'], ${or}-label[class*='-24 ']`]:{[`& + ${or}-control`]:{minWidth:"unset"}}}}},Ne=xt=>{const{componentCls:tr,formItemCls:or,inlineItemMarginBottom:ir}=xt;return{[`${tr}-inline`]:{display:"flex",flexWrap:"wrap",[or]:{flex:"none",marginInlineEnd:xt.margin,marginBottom:ir,"&-row":{flexWrap:"nowrap"},[`> ${or}-label,
> ${or}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${or}-label`]:{flex:"none"},[`${tr}-text`]:{display:"inline-block"},[`${or}-has-feedback`]:{display:"inline-block"}}}}},Le=xt=>({padding:xt.verticalLabelPadding,margin:xt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),et=xt=>{const{componentCls:tr,formItemCls:or,rootPrefixCls:ir}=xt;return{[`${or} ${or}-label`]:Le(xt),[`${tr}:not(${tr}-inline)`]:{[or]:{flexWrap:"wrap",[`${or}-label, ${or}-control`]:{[`&:not([class*=" ${ir}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Ue=xt=>{const{componentCls:tr,formItemCls:or,antCls:ir}=xt;return{[`${tr}-vertical`]:{[`${or}:not(${or}-horizontal)`]:{[`${or}-row`]:{flexDirection:"column"},[`${or}-label > label`]:{height:"auto"},[`${or}-control`]:{width:"100%"},[`${or}-label,
${ir}-col-24${or}-label,
${ir}-col-xl-24${or}-label`]:Le(xt)}},[`@media (max-width: ${(0,l.unit)(xt.screenXSMax)})`]:[et(xt),{[tr]:{[`${or}:not(${or}-horizontal)`]:{[`${ir}-col-xs-24${or}-label`]:Le(xt)}}}],[`@media (max-width: ${(0,l.unit)(xt.screenSMMax)})`]:{[tr]:{[`${or}:not(${or}-horizontal)`]:{[`${ir}-col-sm-24${or}-label`]:Le(xt)}}},[`@media (max-width: ${(0,l.unit)(xt.screenMDMax)})`]:{[tr]:{[`${or}:not(${or}-horizontal)`]:{[`${ir}-col-md-24${or}-label`]:Le(xt)}}},[`@media (max-width: ${(0,l.unit)(xt.screenLGMax)})`]:{[tr]:{[`${or}:not(${or}-horizontal)`]:{[`${ir}-col-lg-24${or}-label`]:Le(xt)}}}}},Ce=xt=>{const{formItemCls:tr,antCls:or}=xt;return{[`${tr}-vertical`]:{[`${tr}-row`]:{flexDirection:"column"},[`${tr}-label > label`]:{height:"auto"},[`${tr}-control`]:{width:"100%"}},[`${tr}-vertical ${tr}-label,
${or}-col-24${tr}-label,
${or}-col-xl-24${tr}-label`]:Le(xt),[`@media (max-width: ${(0,l.unit)(xt.screenXSMax)})`]:[et(xt),{[tr]:{[`${or}-col-xs-24${tr}-label`]:Le(xt)}}],[`@media (max-width: ${(0,l.unit)(xt.screenSMMax)})`]:{[tr]:{[`${or}-col-sm-24${tr}-label`]:Le(xt)}},[`@media (max-width: ${(0,l.unit)(xt.screenMDMax)})`]:{[tr]:{[`${or}-col-md-24${tr}-label`]:Le(xt)}},[`@media (max-width: ${(0,l.unit)(xt.screenLGMax)})`]:{[tr]:{[`${or}-col-lg-24${tr}-label`]:Le(xt)}}}},Oe=xt=>({labelRequiredMarkColor:xt.colorError,labelColor:xt.colorTextHeading,labelFontSize:xt.fontSize,labelHeight:xt.controlHeight,labelColonMarginInlineStart:xt.marginXXS/2,labelColonMarginInlineEnd:xt.marginXS,itemMarginBottom:xt.marginLG,verticalLabelPadding:`0 0 ${xt.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Y=(xt,tr)=>(0,R.mergeToken)(xt,{formItemCls:`${xt.componentCls}-item`,rootPrefixCls:tr});var xe=(0,Z.I$)("Form",(xt,tr)=>{let{rootPrefixCls:or}=tr;const ir=Y(xt,or);return[de(ir),X(ir),$(ir),J(ir,ir.componentCls),J(ir,ir.formItemCls),Ne(ir),Ue(ir),Ce(ir),(0,G.Z)(ir),W.kr]},Oe,{order:-1e3});const M=[];function E(xt,tr,or){let ir=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof xt=="string"?xt:`${tr}-${ir}`,error:xt,errorStatus:or}}var ce=xt=>{let{help:tr,helpStatus:or,errors:ir=M,warnings:Pr=M,className:tn,fieldId:Hr,onVisibleChanged:Lr}=xt;const{prefixCls:ln}=I.useContext(s.Rk),pn=`${ln}-item-explain`,En=(0,y.Z)(ln),[Dn,$n,Pn]=xe(ln,En),Xn=I.useMemo(()=>(0,Q.Z)(ln),[ln]),dn=U(ir),In=U(Pr),Gn=I.useMemo(()=>tr!=null?[E(tr,"help",or)]:[].concat((0,qe.Z)(dn.map((Yn,Un)=>E(Yn,"error","error",Un))),(0,qe.Z)(In.map((Yn,Un)=>E(Yn,"warning","warning",Un)))),[tr,or,dn,In]),ea=I.useMemo(()=>{const Yn={};return Gn.forEach(Un=>{let{key:g}=Un;Yn[g]=(Yn[g]||0)+1}),Gn.map((Un,g)=>Object.assign(Object.assign({},Un),{key:Yn[Un.key]>1?`${Un.key}-fallback-${g}`:Un.key}))},[Gn]),Nn={};return Hr&&(Nn.id=`${Hr}_help`),Dn(I.createElement(q.default,{motionDeadline:Xn.motionDeadline,motionName:`${ln}-show-help`,visible:!!ea.length,onVisibleChanged:Lr},Yn=>{const{className:Un,style:g}=Yn;return I.createElement("div",Object.assign({},Nn,{className:te()(pn,Un,Pn,En,tn,$n),style:g}),I.createElement(q.CSSMotionList,Object.assign({keys:ea},(0,Q.Z)(ln),{motionName:`${ln}-show-help-item`,component:!1}),u=>{const{key:d,error:v,errorStatus:O,className:b,style:z}=u;return I.createElement("div",{key:d,className:te()(b,{[`${pn}-${O}`]:O}),style:z},v)}))}))},le=o(30810),H=o(48755),_=o(2171),re=o(31756),T=o(23069),ne=o(76846),Fe=o(16722);const ye=["parentNode"],lt="form_item";function ft(xt){return xt===void 0||xt===!1?[]:Array.isArray(xt)?xt:[xt]}function pt(xt,tr){if(!xt.length)return;const or=xt.join("_");return tr?`${tr}_${or}`:ye.includes(or)?`${lt}_${or}`:or}function he(xt,tr,or,ir,Pr,tn){let Hr=ir;return tn!==void 0?Hr=tn:or.validating?Hr="validating":xt.length?Hr="error":tr.length?Hr="warning":(or.touched||Pr&&or.validated)&&(Hr="success"),Hr}var We=function(xt,tr){var or={};for(var ir in xt)Object.prototype.hasOwnProperty.call(xt,ir)&&tr.indexOf(ir)<0&&(or[ir]=xt[ir]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pr=0,ir=Object.getOwnPropertySymbols(xt);Pr<ir.length;Pr++)tr.indexOf(ir[Pr])<0&&Object.prototype.propertyIsEnumerable.call(xt,ir[Pr])&&(or[ir[Pr]]=xt[ir[Pr]]);return or};function jt(xt){return ft(xt).join("_")}function ze(xt,tr){const or=tr.getFieldInstance(xt),ir=(0,ne.bn)(or);if(ir)return ir;const Pr=pt(ft(xt),tr.__INTERNAL__.name);if(Pr)return document.getElementById(Pr)}function Be(xt){const[tr]=(0,le.useForm)(),or=I.useRef({}),ir=I.useMemo(()=>xt!=null?xt:Object.assign(Object.assign({},tr),{__INTERNAL__:{itemRef:Pr=>tn=>{const Hr=jt(Pr);tn?or.current[Hr]=tn:delete or.current[Hr]}},scrollToField:function(Pr){let tn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:Hr}=tn,Lr=We(tn,["focus"]),ln=ze(Pr,ir);ln&&((0,Fe.Z)(ln,Object.assign({scrollMode:"if-needed",block:"nearest"},Lr)),Hr&&ir.focusField(Pr))},focusField:Pr=>{var tn,Hr;const Lr=ir.getFieldInstance(Pr);typeof(Lr==null?void 0:Lr.focus)=="function"?Lr.focus():(Hr=(tn=ze(Pr,ir))===null||tn===void 0?void 0:tn.focus)===null||Hr===void 0||Hr.call(tn)},getFieldInstance:Pr=>{const tn=jt(Pr);return or.current[tn]}}),[xt,tr]);return[ir]}var P=o(98350),ct=function(xt,tr){var or={};for(var ir in xt)Object.prototype.hasOwnProperty.call(xt,ir)&&tr.indexOf(ir)<0&&(or[ir]=xt[ir]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pr=0,ir=Object.getOwnPropertySymbols(xt);Pr<ir.length;Pr++)tr.indexOf(ir[Pr])<0&&Object.prototype.propertyIsEnumerable.call(xt,ir[Pr])&&(or[ir[Pr]]=xt[ir[Pr]]);return or};const Se=(xt,tr)=>{const or=I.useContext(_.Z),{getPrefixCls:ir,direction:Pr,requiredMark:tn,colon:Hr,scrollToFirstError:Lr,className:ln,style:pn}=(0,H.dj)("form"),{prefixCls:En,className:Dn,rootClassName:$n,size:Pn,disabled:Xn=or,form:dn,colon:In,labelAlign:Gn,labelWrap:ea,labelCol:Nn,wrapperCol:Yn,hideRequiredMark:Un,layout:g="horizontal",scrollToFirstError:u,requiredMark:d,onFinishFailed:v,name:O,style:b,feedbackIcons:z,variant:V}=xt,ee=ct(xt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),Ee=(0,re.Z)(Pn),ot=I.useContext(P.Z),Xe=I.useMemo(()=>d!==void 0?d:Un?!1:tn!==void 0?tn:!0,[Un,d,tn]),gt=In!=null?In:Hr,me=ir("form",En),Ht=(0,y.Z)(me),[je,Pe,at]=xe(me,Ht),Ft=te()(me,`${me}-${g}`,{[`${me}-hide-required-mark`]:Xe===!1,[`${me}-rtl`]:Pr==="rtl",[`${me}-${Ee}`]:Ee},at,Ht,Pe,ln,Dn,$n),[cr]=Be(dn),{__INTERNAL__:Rr}=cr;Rr.name=O;const Vr=I.useMemo(()=>({name:O,labelAlign:Gn,labelCol:Nn,labelWrap:ea,wrapperCol:Yn,vertical:g==="vertical",colon:gt,requiredMark:Xe,itemRef:Rr.itemRef,form:cr,feedbackIcons:z}),[O,Gn,Nn,Yn,g,gt,Xe,cr,z]),Mr=I.useRef(null);I.useImperativeHandle(tr,()=>{var _t;return Object.assign(Object.assign({},cr),{nativeElement:(_t=Mr.current)===null||_t===void 0?void 0:_t.nativeElement})});const wr=(_t,Br)=>{if(_t){let dt={block:"nearest"};typeof _t=="object"&&(dt=Object.assign(Object.assign({},dt),_t)),cr.scrollToField(Br,dt)}},Zt=_t=>{if(v==null||v(_t),_t.errorFields.length){const Br=_t.errorFields[0].name;if(u!==void 0){wr(u,Br);return}Lr!==void 0&&wr(Lr,Br)}};return je(I.createElement(s.pg.Provider,{value:V},I.createElement(_.n,{disabled:Xn},I.createElement(T.Z.Provider,{value:Ee},I.createElement(s.RV,{validateMessages:ot},I.createElement(s.q3.Provider,{value:Vr},I.createElement(le.default,Object.assign({id:O},ee,{name:O,onFinishFailed:Zt,form:cr,ref:Mr,style:Object.assign(Object.assign({},pn),b),className:Ft}))))))))};var ue=I.forwardRef(Se),ge=o(41799),$e=o(8654),we=o(22703),Re=o(32383),Je=o(11592);function wt(xt){if(typeof xt=="function")return xt;const tr=(0,Je.Z)(xt);return tr.length<=1?tr[0]:tr}const At=()=>{const{status:xt,errors:tr=[],warnings:or=[]}=I.useContext(s.aM);return{status:xt,errors:tr,warnings:or}};At.Context=s.aM;var ar=At,qt=o(16089);function Nt(xt){const[tr,or]=I.useState(xt),ir=I.useRef(null),Pr=I.useRef([]),tn=I.useRef(!1);I.useEffect(()=>(tn.current=!1,()=>{tn.current=!0,qt.Z.cancel(ir.current),ir.current=null}),[]);function Hr(Lr){tn.current||(ir.current===null&&(Pr.current=[],ir.current=(0,qt.Z)(()=>{ir.current=null,or(ln=>{let pn=ln;return Pr.current.forEach(En=>{pn=En(pn)}),pn})})),Pr.current.push(Lr))}return[tr,Hr]}function ht(){const{itemRef:xt}=I.useContext(s.q3),tr=I.useRef({});function or(ir,Pr){const tn=Pr&&typeof Pr=="object"&&(0,$e.C4)(Pr),Hr=ir.join("_");return(tr.current.name!==Hr||tr.current.originRef!==tn)&&(tr.current.name=Hr,tr.current.originRef=tn,tr.current.ref=(0,$e.sQ)(xt(ir),tn)),tr.current.ref}return or}var Ot=o(29194),Tt=o(34280),Ut=o(2738),St=o(65970),gr=o(70425),lr=o(5472);const Cr=xt=>{const{formItemCls:tr}=xt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${tr}-control`]:{display:"flex"}}}};var rn=(0,Z.bk)(["Form","item-item"],(xt,tr)=>{let{rootPrefixCls:or}=tr;const ir=Y(xt,or);return[Cr(ir)]}),Er=function(xt,tr){var or={};for(var ir in xt)Object.prototype.hasOwnProperty.call(xt,ir)&&tr.indexOf(ir)<0&&(or[ir]=xt[ir]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pr=0,ir=Object.getOwnPropertySymbols(xt);Pr<ir.length;Pr++)tr.indexOf(ir[Pr])<0&&Object.prototype.propertyIsEnumerable.call(xt,ir[Pr])&&(or[ir[Pr]]=xt[ir[Pr]]);return or};const S=24;var er=xt=>{const{prefixCls:tr,status:or,labelCol:ir,wrapperCol:Pr,children:tn,errors:Hr,warnings:Lr,_internalItemRender:ln,extra:pn,help:En,fieldId:Dn,marginBottom:$n,onErrorVisibleChanged:Pn,label:Xn}=xt,dn=`${tr}-item`,In=I.useContext(s.q3),Gn=I.useMemo(()=>{let ee=Object.assign({},Pr||In.wrapperCol||{});return Xn===null&&!ir&&!Pr&&In.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(ot=>{const Xe=ot?[ot]:[],gt=(0,gr.U2)(In.labelCol,Xe),me=typeof gt=="object"?gt:{},Ht=(0,gr.U2)(ee,Xe),je=typeof Ht=="object"?Ht:{};"span"in me&&!("offset"in je)&&me.span<S&&(ee=(0,gr.t8)(ee,[].concat(Xe,["offset"]),me.span))}),ee},[Pr,In]),ea=te()(`${dn}-control`,Gn.className),Nn=I.useMemo(()=>{const{labelCol:ee,wrapperCol:Ee}=In;return Er(In,["labelCol","wrapperCol"])},[In]),Yn=I.useRef(null),[Un,g]=I.useState(0);(0,Tt.Z)(()=>{pn&&Yn.current?g(Yn.current.clientHeight):g(0)},[pn]);const u=I.createElement("div",{className:`${dn}-control-input`},I.createElement("div",{className:`${dn}-control-input-content`},tn)),d=I.useMemo(()=>({prefixCls:tr,status:or}),[tr,or]),v=$n!==null||Hr.length||Lr.length?I.createElement(s.Rk.Provider,{value:d},I.createElement(ce,{fieldId:Dn,errors:Hr,warnings:Lr,help:En,helpStatus:or,className:`${dn}-explain-connected`,onVisibleChanged:Pn})):null,O={};Dn&&(O.id=`${Dn}_extra`);const b=pn?I.createElement("div",Object.assign({},O,{className:`${dn}-extra`,ref:Yn}),pn):null,z=v||b?I.createElement("div",{className:`${dn}-additional`,style:$n?{minHeight:$n+Un}:{}},v,b):null,V=ln&&ln.mark==="pro_table_render"&&ln.render?ln.render(xt,{input:u,errorList:v,extra:b}):I.createElement(I.Fragment,null,u,z);return I.createElement(s.q3.Provider,{value:Nn},I.createElement(lr.Z,Object.assign({},Gn,{className:ea}),V),I.createElement(rn,{prefixCls:tr}))},se=o(61485),ke=o(9017),zr=o(85981),Ir=o(25399),yn=function(xt,tr){var or={};for(var ir in xt)Object.prototype.hasOwnProperty.call(xt,ir)&&tr.indexOf(ir)<0&&(or[ir]=xt[ir]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pr=0,ir=Object.getOwnPropertySymbols(xt);Pr<ir.length;Pr++)tr.indexOf(ir[Pr])<0&&Object.prototype.propertyIsEnumerable.call(xt,ir[Pr])&&(or[ir[Pr]]=xt[ir[Pr]]);return or};function Bn(xt){return xt?typeof xt=="object"&&!I.isValidElement(xt)?xt:{title:xt}:null}var yr=xt=>{let{prefixCls:tr,label:or,htmlFor:ir,labelCol:Pr,labelAlign:tn,colon:Hr,required:Lr,requiredMark:ln,tooltip:pn,vertical:En}=xt;var Dn;const[$n]=(0,ke.Z)("Form"),{labelAlign:Pn,labelCol:Xn,labelWrap:dn,colon:In}=I.useContext(s.q3);if(!or)return null;const Gn=Pr||Xn||{},ea=tn||Pn,Nn=`${tr}-item-label`,Yn=te()(Nn,ea==="left"&&`${Nn}-left`,Gn.className,{[`${Nn}-wrap`]:!!dn});let Un=or;const g=Hr===!0||In!==!1&&Hr!==!1;g&&!En&&typeof or=="string"&&or.trim()&&(Un=or.replace(/[:|]\s*$/,""));const d=Bn(pn);if(d){const{icon:ee=I.createElement(se.Z,null)}=d,Ee=yn(d,["icon"]),ot=I.createElement(Ir.Z,Object.assign({},Ee),I.cloneElement(ee,{className:`${tr}-item-tooltip`,title:"",onClick:Xe=>{Xe.preventDefault()},tabIndex:null}));Un=I.createElement(I.Fragment,null,Un,ot)}const v=ln==="optional",O=typeof ln=="function",b=ln===!1;O?Un=ln(Un,{required:!!Lr}):v&&!Lr&&(Un=I.createElement(I.Fragment,null,Un,I.createElement("span",{className:`${tr}-item-optional`,title:""},($n==null?void 0:$n.optional)||((Dn=zr.Z.Form)===null||Dn===void 0?void 0:Dn.optional))));let z;b?z="hidden":(v||O)&&(z="optional");const V=te()({[`${tr}-item-required`]:Lr,[`${tr}-item-required-mark-${z}`]:z,[`${tr}-item-no-colon`]:!g});return I.createElement(lr.Z,Object.assign({},Gn,{className:Yn}),I.createElement("label",{htmlFor:ir,className:V,title:typeof or=="string"?or:""},Un))},vr=o(29679),Tr=o(19248),f=o(96512),F=o(58617);const Ae={success:vr.Z,warning:f.Z,error:Tr.Z,validating:F.Z};function ae(xt){let{children:tr,errors:or,warnings:ir,hasFeedback:Pr,validateStatus:tn,prefixCls:Hr,meta:Lr,noStyle:ln}=xt;const pn=`${Hr}-item`,{feedbackIcons:En}=I.useContext(s.q3),Dn=he(or,ir,Lr,null,!!Pr,tn),{isFormItemInput:$n,status:Pn,hasFeedback:Xn,feedbackIcon:dn}=I.useContext(s.aM),In=I.useMemo(()=>{var Gn;let ea;if(Pr){const Yn=Pr!==!0&&Pr.icons||En,Un=Dn&&((Gn=Yn==null?void 0:Yn({status:Dn,errors:or,warnings:ir}))===null||Gn===void 0?void 0:Gn[Dn]),g=Dn&&Ae[Dn];ea=Un!==!1&&g?I.createElement("span",{className:te()(`${pn}-feedback-icon`,`${pn}-feedback-icon-${Dn}`)},Un||I.createElement(g,null)):null}const Nn={status:Dn||"",errors:or,warnings:ir,hasFeedback:!!Pr,feedbackIcon:ea,isFormItemInput:!0};return ln&&(Nn.status=(Dn!=null?Dn:Pn)||"",Nn.isFormItemInput=$n,Nn.hasFeedback=!!(Pr!=null?Pr:Xn),Nn.feedbackIcon=Pr!==void 0?Nn.feedbackIcon:dn),Nn},[Dn,Pr,ln,$n,Pn]);return I.createElement(s.aM.Provider,{value:In},tr)}var bt=function(xt,tr){var or={};for(var ir in xt)Object.prototype.hasOwnProperty.call(xt,ir)&&tr.indexOf(ir)<0&&(or[ir]=xt[ir]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pr=0,ir=Object.getOwnPropertySymbols(xt);Pr<ir.length;Pr++)tr.indexOf(ir[Pr])<0&&Object.prototype.propertyIsEnumerable.call(xt,ir[Pr])&&(or[ir[Pr]]=xt[ir[Pr]]);return or};function bn(xt){const{prefixCls:tr,className:or,rootClassName:ir,style:Pr,help:tn,errors:Hr,warnings:Lr,validateStatus:ln,meta:pn,hasFeedback:En,hidden:Dn,children:$n,fieldId:Pn,required:Xn,isRequired:dn,onSubItemMetaChange:In,layout:Gn}=xt,ea=bt(xt,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),Nn=`${tr}-item`,{requiredMark:Yn,vertical:Un}=I.useContext(s.q3),g=Un||Gn==="vertical",u=I.useRef(null),d=U(Hr),v=U(Lr),O=tn!=null,b=!!(O||Hr.length||Lr.length),z=!!u.current&&(0,Ot.Z)(u.current),[V,ee]=I.useState(null);(0,Tt.Z)(()=>{if(b&&u.current){const me=getComputedStyle(u.current);ee(parseInt(me.marginBottom,10))}},[b,z]);const Ee=me=>{me||ee(null)},Xe=function(){let me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Ht=me?d:pn.errors,je=me?v:pn.warnings;return he(Ht,je,pn,"",!!En,ln)}(),gt=te()(Nn,or,ir,{[`${Nn}-with-help`]:O||d.length||v.length,[`${Nn}-has-feedback`]:Xe&&En,[`${Nn}-has-success`]:Xe==="success",[`${Nn}-has-warning`]:Xe==="warning",[`${Nn}-has-error`]:Xe==="error",[`${Nn}-is-validating`]:Xe==="validating",[`${Nn}-hidden`]:Dn,[`${Nn}-${Gn}`]:Gn});return I.createElement("div",{className:gt,style:Pr,ref:u},I.createElement(St.Z,Object.assign({className:`${Nn}-row`},(0,Ut.Z)(ea,["_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"])),I.createElement(yr,Object.assign({htmlFor:Pn},xt,{requiredMark:Yn,required:Xn!=null?Xn:dn,prefixCls:tr,vertical:g})),I.createElement(er,Object.assign({},xt,pn,{errors:d,warnings:v,prefixCls:tr,status:Xe,help:tn,marginBottom:V,onErrorVisibleChanged:Ee}),I.createElement(s.qI.Provider,{value:In},I.createElement(ae,{prefixCls:tr,meta:pn,errors:pn.errors,warnings:pn.warnings,hasFeedback:En,validateStatus:Xe},$n)))),!!V&&I.createElement("div",{className:`${Nn}-margin-offset`,style:{marginBottom:-V}}))}const yt="__SPLIT__",Vt=null;function Wr(xt,tr){const or=Object.keys(xt),ir=Object.keys(tr);return or.length===ir.length&&or.every(Pr=>{const tn=xt[Pr],Hr=tr[Pr];return tn===Hr||typeof tn=="function"||typeof Hr=="function"})}const Nr=I.memo(xt=>{let{children:tr}=xt;return tr},(xt,tr)=>Wr(xt.control,tr.control)&&xt.update===tr.update&&xt.childProps.length===tr.childProps.length&&xt.childProps.every((or,ir)=>or===tr.childProps[ir]));function Qr(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function vn(xt){const{name:tr,noStyle:or,className:ir,dependencies:Pr,prefixCls:tn,shouldUpdate:Hr,rules:Lr,children:ln,required:pn,label:En,messageVariables:Dn,trigger:$n="onChange",validateTrigger:Pn,hidden:Xn,help:dn,layout:In}=xt,{getPrefixCls:Gn}=I.useContext(H.E_),{name:ea}=I.useContext(s.q3),Nn=wt(ln),Yn=typeof Nn=="function",Un=I.useContext(s.qI),{validateTrigger:g}=I.useContext(le.FieldContext),u=Pn!==void 0?Pn:g,d=tr!=null,v=Gn("form",tn),O=(0,y.Z)(v),[b,z,V]=xe(v,O),ee=(0,Re.ln)("Form.Item"),Ee=I.useContext(le.ListContext),ot=I.useRef(null),[Xe,gt]=Nt({}),[me,Ht]=(0,ge.Z)(()=>Qr()),je=Mr=>{const wr=Ee==null?void 0:Ee.getKey(Mr.name);if(Ht(Mr.destroy?Qr():Mr,!0),or&&dn!==!1&&Un){let Zt=Mr.name;if(Mr.destroy)Zt=ot.current||Zt;else if(wr!==void 0){const[_t,Br]=wr;Zt=[_t].concat((0,qe.Z)(Br)),ot.current=Zt}Un(Mr,Zt)}},Pe=(Mr,wr)=>{gt(Zt=>{const _t=Object.assign({},Zt),dt=[].concat((0,qe.Z)(Mr.name.slice(0,-1)),(0,qe.Z)(wr)).join(yt);return Mr.destroy?delete _t[dt]:_t[dt]=Mr,_t})},[at,Ft]=I.useMemo(()=>{const Mr=(0,qe.Z)(me.errors),wr=(0,qe.Z)(me.warnings);return Object.values(Xe).forEach(Zt=>{Mr.push.apply(Mr,(0,qe.Z)(Zt.errors||[])),wr.push.apply(wr,(0,qe.Z)(Zt.warnings||[]))}),[Mr,wr]},[Xe,me.errors,me.warnings]),cr=ht();function Rr(Mr,wr,Zt){return or&&!Xn?I.createElement(ae,{prefixCls:v,hasFeedback:xt.hasFeedback,validateStatus:xt.validateStatus,meta:me,errors:at,warnings:Ft,noStyle:!0},Mr):I.createElement(bn,Object.assign({key:"row"},xt,{className:te()(ir,V,O,z),prefixCls:v,fieldId:wr,isRequired:Zt,errors:at,warnings:Ft,meta:me,onSubItemMetaChange:Pe,layout:In}),Mr)}if(!d&&!Yn&&!Pr)return b(Rr(Nn));let Vr={};return typeof En=="string"?Vr.label=En:tr&&(Vr.label=String(tr)),Dn&&(Vr=Object.assign(Object.assign({},Vr),Dn)),b(I.createElement(le.Field,Object.assign({},xt,{messageVariables:Vr,trigger:$n,validateTrigger:u,onMetaChange:je}),(Mr,wr,Zt)=>{const _t=ft(tr).length&&wr?wr.name:[],Br=pt(_t,ea),dt=pn!==void 0?pn:!!(Lr!=null&&Lr.some(Pt=>{if(Pt&&typeof Pt=="object"&&Pt.required&&!Pt.warningOnly)return!0;if(typeof Pt=="function"){const Ve=Pt(Zt);return(Ve==null?void 0:Ve.required)&&!(Ve!=null&&Ve.warningOnly)}return!1})),ut=Object.assign({},Mr);let rr=null;if(Array.isArray(Nn)&&d)rr=Nn;else if(!(Yn&&(!(Hr||Pr)||d))){if(!(Pr&&!Yn&&!d))if(I.isValidElement(Nn)){const Pt=Object.assign(Object.assign({},Nn.props),ut);if(Pt.id||(Pt.id=Br),dn||at.length>0||Ft.length>0||xt.extra){const $t=[];(dn||at.length>0)&&$t.push(`${Br}_help`),xt.extra&&$t.push(`${Br}_extra`),Pt["aria-describedby"]=$t.join(" ")}at.length>0&&(Pt["aria-invalid"]="true"),dt&&(Pt["aria-required"]="true"),(0,$e.Yr)(Nn)&&(Pt.ref=cr(_t,Nn)),new Set([].concat((0,qe.Z)(ft($n)),(0,qe.Z)(ft(u)))).forEach($t=>{Pt[$t]=function(){for(var Ct,Xt,Gt,Sr,be,nt=arguments.length,rt=new Array(nt),kt=0;kt<nt;kt++)rt[kt]=arguments[kt];(Gt=ut[$t])===null||Gt===void 0||(Ct=Gt).call.apply(Ct,[ut].concat(rt)),(be=(Sr=Nn.props)[$t])===null||be===void 0||(Xt=be).call.apply(Xt,[Sr].concat(rt))}});const ve=[Pt["aria-required"],Pt["aria-invalid"],Pt["aria-describedby"]];rr=I.createElement(Nr,{control:ut,update:Nn,childProps:ve},(0,we.Tm)(Nn,Pt))}else Yn&&(Hr||Pr)&&!d?rr=Nn(Zt):rr=Nn}return Rr(rr,Br,dt)}))}const _n=vn;_n.useStatus=ar;var pe=_n,fr=function(xt,tr){var or={};for(var ir in xt)Object.prototype.hasOwnProperty.call(xt,ir)&&tr.indexOf(ir)<0&&(or[ir]=xt[ir]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pr=0,ir=Object.getOwnPropertySymbols(xt);Pr<ir.length;Pr++)tr.indexOf(ir[Pr])<0&&Object.prototype.propertyIsEnumerable.call(xt,ir[Pr])&&(or[ir[Pr]]=xt[ir[Pr]]);return or},Or=xt=>{var{prefixCls:tr,children:or}=xt,ir=fr(xt,["prefixCls","children"]);const{getPrefixCls:Pr}=I.useContext(H.E_),tn=Pr("form",tr),Hr=I.useMemo(()=>({prefixCls:tn,status:"error"}),[tn]);return I.createElement(le.List,Object.assign({},ir),(Lr,ln,pn)=>I.createElement(s.Rk.Provider,{value:Hr},or(Lr.map(En=>Object.assign(Object.assign({},En),{fieldKey:En.key})),ln,{errors:pn.errors,warnings:pn.warnings})))};function Kr(){const{form:xt}=I.useContext(s.q3);return xt}const xn=ue;xn.Item=pe,xn.List=Or,xn.ErrorList=ce,xn.useForm=Be,xn.useFormInstance=Kr,xn.useWatch=le.useWatch,xn.Provider=s.RV,xn.create=()=>{};var kn=xn},90083:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return qt}});var s=o(59301),qe=o(15277),I=o(92310),He=o.n(I),te=o(91574),q=o(75030),Q=o(86641),y=o(48755),U=o(83397),l=o(9017),L=o(99267),W=o(33853),G=o(38819),R=o(67711),Z={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"},A=Z,$=o(7657),w=function(ht,Ot){return s.createElement($.Z,(0,R.Z)({},ht,{ref:Ot,icon:A}))},j=s.forwardRef(w),de=j,X={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"},J=X,Ne=function(ht,Ot){return s.createElement($.Z,(0,R.Z)({},ht,{ref:Ot,icon:J}))},Le=s.forwardRef(Ne),et=Le,Ue={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"},Ce=Ue,Oe=function(ht,Ot){return s.createElement($.Z,(0,R.Z)({},ht,{ref:Ot,icon:Ce}))},Y=s.forwardRef(Oe),xe=Y,M={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"},E=M,st=function(ht,Ot){return s.createElement($.Z,(0,R.Z)({},ht,{ref:Ot,icon:E}))},ce=s.forwardRef(st),le=ce,H={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"},_=H,re=function(ht,Ot){return s.createElement($.Z,(0,R.Z)({},ht,{ref:Ot,icon:_}))},T=s.forwardRef(re),ne=T,Fe=o(36237),ye=o(17835),lt=o(64427),ft=o(63356),pt=o(34925),he=o(99495),We=o(16931),jt=o(51636);const ze=Nt=>({position:Nt||"absolute",inset:0}),Be=Nt=>{const{iconCls:ht,motionDurationSlow:Ot,paddingXXS:Tt,marginXXS:Ut,prefixCls:St,colorTextLightSolid:gr}=Nt;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:gr,background:new ye.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Ot}`,[`.${St}-mask-info`]:Object.assign(Object.assign({},ft.vS),{padding:`0 ${(0,Fe.unit)(Tt)}`,[ht]:{marginInlineEnd:Ut,svg:{verticalAlign:"baseline"}}})}},P=Nt=>{const{previewCls:ht,modalMaskBg:Ot,paddingSM:Tt,marginXL:Ut,margin:St,paddingLG:gr,previewOperationColorDisabled:lr,previewOperationHoverColor:Cr,motionDurationSlow:rn,iconCls:Er,colorTextLightSolid:S}=Nt,N=new ye.FastColor(Ot).setA(.1),er=N.clone().setA(.2);return{[`${ht}-footer`]:{position:"fixed",bottom:Ut,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:Nt.previewOperationColor,transform:"translateX(-50%)"},[`${ht}-progress`]:{marginBottom:St},[`${ht}-close`]:{position:"fixed",top:Ut,right:{_skip_check_:!0,value:Ut},display:"flex",color:S,backgroundColor:N.toRgbString(),borderRadius:"50%",padding:Tt,outline:0,border:0,cursor:"pointer",transition:`all ${rn}`,"&:hover":{backgroundColor:er.toRgbString()},[`& > ${Er}`]:{fontSize:Nt.previewOperationSize}},[`${ht}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,Fe.unit)(gr)}`,backgroundColor:N.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Tt,padding:Tt,cursor:"pointer",transition:`all ${rn}`,userSelect:"none",[`&:not(${ht}-operations-operation-disabled):hover > ${Er}`]:{color:Cr},"&-disabled":{color:lr,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Er}`]:{fontSize:Nt.previewOperationSize}}}}},ct=Nt=>{const{modalMaskBg:ht,iconCls:Ot,previewOperationColorDisabled:Tt,previewCls:Ut,zIndexPopup:St,motionDurationSlow:gr}=Nt,lr=new ye.FastColor(ht).setA(.1),Cr=lr.clone().setA(.2);return{[`${Ut}-switch-left, ${Ut}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Nt.calc(St).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:Nt.imagePreviewSwitchSize,height:Nt.imagePreviewSwitchSize,marginTop:Nt.calc(Nt.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:Nt.previewOperationColor,background:lr.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${gr}`,userSelect:"none","&:hover":{background:Cr.toRgbString()},"&-disabled":{"&, &:hover":{color:Tt,background:"transparent",cursor:"not-allowed",[`> ${Ot}`]:{cursor:"not-allowed"}}},[`> ${Ot}`]:{fontSize:Nt.previewOperationSize}},[`${Ut}-switch-left`]:{insetInlineStart:Nt.marginSM},[`${Ut}-switch-right`]:{insetInlineEnd:Nt.marginSM}}},Se=Nt=>{const{motionEaseOut:ht,previewCls:Ot,motionDurationSlow:Tt,componentCls:Ut}=Nt;return[{[`${Ut}-preview-root`]:{[Ot]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Ot}-body`]:Object.assign(Object.assign({},ze()),{overflow:"hidden"}),[`${Ot}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Tt} ${ht} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ze()),{transition:`transform ${Tt} ${ht} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Ot}-moving`]:{[`${Ot}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Ut}-preview-root`]:{[`${Ot}-wrap`]:{zIndex:Nt.zIndexPopup}}},{[`${Ut}-preview-operations-wrapper`]:{position:"fixed",zIndex:Nt.calc(Nt.zIndexPopup).add(1).equal()},"&":[P(Nt),ct(Nt)]}]},fe=Nt=>{const{componentCls:ht}=Nt;return{[ht]:{position:"relative",display:"inline-block",[`${ht}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${ht}-img-placeholder`]:{backgroundColor:Nt.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${ht}-mask`]:Object.assign({},Be(Nt)),[`${ht}-mask:hover`]:{opacity:1},[`${ht}-placeholder`]:Object.assign({},ze())}}},ue=Nt=>{const{previewCls:ht}=Nt;return{[`${ht}-root`]:(0,pt._y)(Nt,"zoom"),"&":(0,he.J$)(Nt,!0)}},ge=Nt=>({zIndexPopup:Nt.zIndexPopupBase+80,previewOperationColor:new ye.FastColor(Nt.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new ye.FastColor(Nt.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new ye.FastColor(Nt.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:Nt.fontSizeIcon*1.5});var $e=(0,We.I$)("Image",Nt=>{const ht=`${Nt.componentCls}-preview`,Ot=(0,jt.mergeToken)(Nt,{previewCls:ht,modalMaskBg:new ye.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:Nt.controlHeightLG});return[fe(Ot),Se(Ot),(0,lt.QA)((0,jt.mergeToken)(Ot,{componentCls:ht})),ue(Ot)]},ge),we=function(Nt,ht){var Ot={};for(var Tt in Nt)Object.prototype.hasOwnProperty.call(Nt,Tt)&&ht.indexOf(Tt)<0&&(Ot[Tt]=Nt[Tt]);if(Nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ut=0,Tt=Object.getOwnPropertySymbols(Nt);Ut<Tt.length;Ut++)ht.indexOf(Tt[Ut])<0&&Object.prototype.propertyIsEnumerable.call(Nt,Tt[Ut])&&(Ot[Tt[Ut]]=Nt[Tt[Ut]]);return Ot};const Re={rotateLeft:s.createElement(de,null),rotateRight:s.createElement(et,null),zoomIn:s.createElement(le,null),zoomOut:s.createElement(ne,null),close:s.createElement(L.Z,null),left:s.createElement(W.Z,null),right:s.createElement(G.Z,null),flipX:s.createElement(xe,null),flipY:s.createElement(xe,{rotate:90})};var wt=Nt=>{var{previewPrefixCls:ht,preview:Ot}=Nt,Tt=we(Nt,["previewPrefixCls","preview"]);const{getPrefixCls:Ut}=s.useContext(y.E_),St=Ut("image",ht),gr=`${St}-preview`,lr=Ut(),Cr=(0,U.Z)(St),[rn,Er,S]=$e(St,Cr),[N]=(0,q.Cn)("ImagePreview",typeof Ot=="object"?Ot.zIndex:void 0),er=s.useMemo(()=>{var se;if(Ot===!1)return Ot;const ke=typeof Ot=="object"?Ot:{},zr=He()(Er,S,Cr,(se=ke.rootClassName)!==null&&se!==void 0?se:"");return Object.assign(Object.assign({},ke),{transitionName:(0,Q.m)(lr,"zoom",ke.transitionName),maskTransitionName:(0,Q.m)(lr,"fade",ke.maskTransitionName),rootClassName:zr,zIndex:N})},[Ot]);return rn(s.createElement(te.Z.PreviewGroup,Object.assign({preview:er,previewPrefixCls:gr,icons:Re},Tt)))},At=function(Nt,ht){var Ot={};for(var Tt in Nt)Object.prototype.hasOwnProperty.call(Nt,Tt)&&ht.indexOf(Tt)<0&&(Ot[Tt]=Nt[Tt]);if(Nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ut=0,Tt=Object.getOwnPropertySymbols(Nt);Ut<Tt.length;Ut++)ht.indexOf(Tt[Ut])<0&&Object.prototype.propertyIsEnumerable.call(Nt,Tt[Ut])&&(Ot[Tt[Ut]]=Nt[Tt[Ut]]);return Ot};const ar=Nt=>{const{prefixCls:ht,preview:Ot,className:Tt,rootClassName:Ut,style:St}=Nt,gr=At(Nt,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:lr,getPopupContainer:Cr,className:rn,style:Er,preview:S}=(0,y.dj)("image"),[N]=(0,l.Z)("Image"),er=lr("image",ht),se=lr(),ke=(0,U.Z)(er),[zr,Ir,yn]=$e(er,ke),Bn=He()(Ut,Ir,yn,ke),zt=He()(Tt,Ir,rn),[yr]=(0,q.Cn)("ImagePreview",typeof Ot=="object"?Ot.zIndex:void 0),vr=s.useMemo(()=>{if(Ot===!1)return Ot;const f=typeof Ot=="object"?Ot:{},{getContainer:F,closeIcon:Ae,rootClassName:ae}=f,bt=At(f,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:s.createElement("div",{className:`${er}-mask-info`},s.createElement(qe.Z,null),N==null?void 0:N.preview),icons:Re},bt),{rootClassName:He()(Bn,ae),getContainer:F!=null?F:Cr,transitionName:(0,Q.m)(se,"zoom",f.transitionName),maskTransitionName:(0,Q.m)(se,"fade",f.maskTransitionName),zIndex:yr,closeIcon:Ae!=null?Ae:S==null?void 0:S.closeIcon})},[Ot,N,S==null?void 0:S.closeIcon]),Tr=Object.assign(Object.assign({},Er),St);return zr(s.createElement(te.Z,Object.assign({prefixCls:er,preview:vr,rootClassName:Bn,className:zt,style:Tr},gr)))};ar.PreviewGroup=wt;var qt=ar},71051:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return le}});var s=o(59301),qe=o(84105),I=o(87395),He=o(92310),te=o.n(He),q=o(20922),Q=o(62487),y=o(82855),U=o(48755),l=o(60840),L=o(2171),W=o(83397),G=o(31756),R=o(56553),Z=o(24971),A=o(70045),$=o(36237),w=o(53075),j=o(64910),de=o(39082),X=o(63356),J=o(56119),Ne=o(16931),Le=o(51636),et=o(17835);const Ue=H=>{var _;const re=(_=H.handleVisible)!==null&&_!==void 0?_:"auto",T=H.controlHeightSM-H.lineWidth*2;return Object.assign(Object.assign({},(0,j.T)(H)),{controlWidth:90,handleWidth:T,handleFontSize:H.fontSize/2,handleVisible:re,handleActiveBg:H.colorFillAlter,handleBg:H.colorBgContainer,filledHandleBg:new et.FastColor(H.colorFillSecondary).onBackground(H.colorBgContainer).toHexString(),handleHoverColor:H.colorPrimary,handleBorderColor:H.colorBorder,handleOpacity:re===!0?1:0,handleVisibleWidth:re===!0?T:0})},Ce=(H,_)=>{let{componentCls:re,borderRadiusSM:T,borderRadiusLG:ne}=H;const Fe=_==="lg"?ne:T;return{[`&-${_}`]:{[`${re}-handler-wrap`]:{borderStartEndRadius:Fe,borderEndEndRadius:Fe},[`${re}-handler-up`]:{borderStartEndRadius:Fe},[`${re}-handler-down`]:{borderEndEndRadius:Fe}}}},Oe=H=>{const{componentCls:_,lineWidth:re,lineType:T,borderRadius:ne,inputFontSizeSM:Fe,inputFontSizeLG:ye,controlHeightLG:lt,controlHeightSM:ft,colorError:pt,paddingInlineSM:he,paddingBlockSM:We,paddingBlockLG:jt,paddingInlineLG:ze,colorTextDescription:Be,motionDurationMid:P,handleHoverColor:ct,handleOpacity:Se,paddingInline:fe,paddingBlock:ue,handleBg:ge,handleActiveBg:$e,colorTextDisabled:we,borderRadiusSM:Re,borderRadiusLG:Je,controlWidth:wt,handleBorderColor:At,filledHandleBg:ar,lineHeightLG:qt,calc:Nt}=H;return[{[_]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,X.Wf)(H)),(0,w.ik)(H)),{display:"inline-block",width:wt,margin:0,padding:0,borderRadius:ne}),(0,de.qG)(H,{[`${_}-handler-wrap`]:{background:ge,[`${_}-handler-down`]:{borderBlockStart:`${(0,$.unit)(re)} ${T} ${At}`}}})),(0,de.H8)(H,{[`${_}-handler-wrap`]:{background:ar,[`${_}-handler-down`]:{borderBlockStart:`${(0,$.unit)(re)} ${T} ${At}`}},"&:focus-within":{[`${_}-handler-wrap`]:{background:ge}}})),(0,de.vc)(H,{[`${_}-handler-wrap`]:{background:ge,[`${_}-handler-down`]:{borderBlockStart:`${(0,$.unit)(re)} ${T} ${At}`}}})),(0,de.Mu)(H)),{"&-rtl":{direction:"rtl",[`${_}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:ye,lineHeight:qt,borderRadius:Je,[`input${_}-input`]:{height:Nt(lt).sub(Nt(re).mul(2)).equal(),padding:`${(0,$.unit)(jt)} ${(0,$.unit)(ze)}`}},"&-sm":{padding:0,fontSize:Fe,borderRadius:Re,[`input${_}-input`]:{height:Nt(ft).sub(Nt(re).mul(2)).equal(),padding:`${(0,$.unit)(We)} ${(0,$.unit)(he)}`}},"&-out-of-range":{[`${_}-input-wrap`]:{input:{color:pt}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,X.Wf)(H)),(0,w.s7)(H)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${_}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${_}-group-addon`]:{borderRadius:Je,fontSize:H.fontSizeLG}},"&-sm":{[`${_}-group-addon`]:{borderRadius:Re}}},(0,de.ir)(H)),(0,de.S5)(H)),{[`&:not(${_}-compact-first-item):not(${_}-compact-last-item)${_}-compact-item`]:{[`${_}, ${_}-group-addon`]:{borderRadius:0}},[`&:not(${_}-compact-last-item)${_}-compact-first-item`]:{[`${_}, ${_}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${_}-compact-first-item)${_}-compact-last-item`]:{[`${_}, ${_}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${_}-input`]:{cursor:"not-allowed"},[_]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,X.Wf)(H)),{width:"100%",padding:`${(0,$.unit)(ue)} ${(0,$.unit)(fe)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:ne,outline:0,transition:`all ${P} linear`,appearance:"textfield",fontSize:"inherit"}),(0,w.nz)(H.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${_}-handler-wrap, &-focused ${_}-handler-wrap`]:{width:H.handleWidth,opacity:1}})},{[_]:Object.assign(Object.assign(Object.assign({[`${_}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:H.handleVisibleWidth,opacity:Se,height:"100%",borderStartStartRadius:0,borderStartEndRadius:ne,borderEndEndRadius:ne,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${P}`,overflow:"hidden",[`${_}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
${_}-handler-up-inner,
${_}-handler-down-inner
`]:{marginInlineEnd:0,fontSize:H.handleFontSize}}},[`${_}-handler`]:{height:"50%",overflow:"hidden",color:Be,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,$.unit)(re)} ${T} ${At}`,transition:`all ${P} linear`,"&:active":{background:$e},"&:hover":{height:"60%",[`
${_}-handler-up-inner,
${_}-handler-down-inner
`]:{color:ct}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,X.Ro)()),{color:Be,transition:`all ${P} linear`,userSelect:"none"})},[`${_}-handler-up`]:{borderStartEndRadius:ne},[`${_}-handler-down`]:{borderEndEndRadius:ne}},Ce(H,"lg")),Ce(H,"sm")),{"&-disabled, &-readonly":{[`${_}-handler-wrap`]:{display:"none"},[`${_}-input`]:{color:"inherit"}},[`
${_}-handler-up-disabled,
${_}-handler-down-disabled
`]:{cursor:"not-allowed"},[`
${_}-handler-up-disabled:hover &-handler-up-inner,
${_}-handler-down-disabled:hover &-handler-down-inner
`]:{color:we}})}]},Y=H=>{const{componentCls:_,paddingBlock:re,paddingInline:T,inputAffixPadding:ne,controlWidth:Fe,borderRadiusLG:ye,borderRadiusSM:lt,paddingInlineLG:ft,paddingInlineSM:pt,paddingBlockLG:he,paddingBlockSM:We,motionDurationMid:jt}=H;return{[`${_}-affix-wrapper`]:Object.assign(Object.assign({[`input${_}-input`]:{padding:`${(0,$.unit)(re)} 0`}},(0,w.ik)(H)),{position:"relative",display:"inline-flex",alignItems:"center",width:Fe,padding:0,paddingInlineStart:T,"&-lg":{borderRadius:ye,paddingInlineStart:ft,[`input${_}-input`]:{padding:`${(0,$.unit)(he)} 0`}},"&-sm":{borderRadius:lt,paddingInlineStart:pt,[`input${_}-input`]:{padding:`${(0,$.unit)(We)} 0`}},[`&:not(${_}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${_}-disabled`]:{background:"transparent"},[`> div${_}`]:{width:"100%",border:"none",outline:"none",[`&${_}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${_}-handler-wrap`]:{zIndex:2},[_]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:ne},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:T,marginInlineStart:ne,transition:`margin ${jt}`}},[`&:hover ${_}-handler-wrap, &-focused ${_}-handler-wrap`]:{width:H.handleWidth,opacity:1},[`&:not(${_}-affix-wrapper-without-controls):hover ${_}-suffix`]:{marginInlineEnd:H.calc(H.handleWidth).add(T).equal()}})}};var xe=(0,Ne.I$)("InputNumber",H=>{const _=(0,Le.mergeToken)(H,(0,j.e)(H));return[Oe(_),Y(_),(0,J.c)(_)]},Ue,{unitless:{handleOpacity:!0}}),M=function(H,_){var re={};for(var T in H)Object.prototype.hasOwnProperty.call(H,T)&&_.indexOf(T)<0&&(re[T]=H[T]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,T=Object.getOwnPropertySymbols(H);ne<T.length;ne++)_.indexOf(T[ne])<0&&Object.prototype.propertyIsEnumerable.call(H,T[ne])&&(re[T[ne]]=H[T[ne]]);return re};const E=s.forwardRef((H,_)=>{const{getPrefixCls:re,direction:T}=s.useContext(U.E_),ne=s.useRef(null);s.useImperativeHandle(_,()=>ne.current);const{className:Fe,rootClassName:ye,size:lt,disabled:ft,prefixCls:pt,addonBefore:he,addonAfter:We,prefix:jt,suffix:ze,bordered:Be,readOnly:P,status:ct,controls:Se,variant:fe}=H,ue=M(H,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),ge=re("input-number",pt),$e=(0,W.Z)(ge),[we,Re,Je]=xe(ge,$e),{compactSize:wt,compactItemClassnames:At}=(0,A.ri)(ge,T);let ar=s.createElement(I.Z,{className:`${ge}-handler-up-inner`}),qt=s.createElement(qe.Z,{className:`${ge}-handler-down-inner`});const Nt=typeof Se=="boolean"?Se:void 0;typeof Se=="object"&&(ar=typeof Se.upIcon=="undefined"?ar:s.createElement("span",{className:`${ge}-handler-up-inner`},Se.upIcon),qt=typeof Se.downIcon=="undefined"?qt:s.createElement("span",{className:`${ge}-handler-down-inner`},Se.downIcon));const{hasFeedback:ht,status:Ot,isFormItemInput:Tt,feedbackIcon:Ut}=s.useContext(R.aM),St=(0,y.F)(Ot,ct),gr=(0,G.Z)(ke=>{var zr;return(zr=lt!=null?lt:wt)!==null&&zr!==void 0?zr:ke}),lr=s.useContext(L.Z),Cr=ft!=null?ft:lr,[rn,Er]=(0,Z.Z)("inputNumber",fe,Be),S=ht&&s.createElement(s.Fragment,null,Ut),N=te()({[`${ge}-lg`]:gr==="large",[`${ge}-sm`]:gr==="small",[`${ge}-rtl`]:T==="rtl",[`${ge}-in-form-item`]:Tt},Re),er=`${ge}-group`,se=s.createElement(q.Z,Object.assign({ref:ne,disabled:Cr,className:te()(Je,$e,Fe,ye,At),upHandler:ar,downHandler:qt,prefixCls:ge,readOnly:P,controls:Nt,prefix:jt,suffix:S||ze,addonBefore:he&&s.createElement(Q.Z,{form:!0,space:!0},he),addonAfter:We&&s.createElement(Q.Z,{form:!0,space:!0},We),classNames:{input:N,variant:te()({[`${ge}-${rn}`]:Er},(0,y.Z)(ge,St,ht)),affixWrapper:te()({[`${ge}-affix-wrapper-sm`]:gr==="small",[`${ge}-affix-wrapper-lg`]:gr==="large",[`${ge}-affix-wrapper-rtl`]:T==="rtl",[`${ge}-affix-wrapper-without-controls`]:Se===!1||Cr},Re),wrapper:te()({[`${er}-rtl`]:T==="rtl"},Re),groupWrapper:te()({[`${ge}-group-wrapper-sm`]:gr==="small",[`${ge}-group-wrapper-lg`]:gr==="large",[`${ge}-group-wrapper-rtl`]:T==="rtl",[`${ge}-group-wrapper-${rn}`]:Er},(0,y.Z)(`${ge}-group-wrapper`,St,ht),Re)}},ue));return we(se)}),st=E,ce=H=>s.createElement(l.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},s.createElement(E,Object.assign({},H)));st._InternalPanelDoNotUseOrYouWillBeFired=ce;var le=st},49397:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return X}});var s=o(59301),qe=o(92310),I=o.n(qe),He=o(36901),te=o(8654),q=o(62487),Q=o(86013),y=o(82855),U=o(48755),l=o(2171),L=o(83397),W=o(31756),G=o(56553),R=o(24971),Z=o(70045),A=o(23826),$=o(53075);function w(J){return!!(J.prefix||J.suffix||J.allowClear||J.showCount)}var j=function(J,Ne){var Le={};for(var et in J)Object.prototype.hasOwnProperty.call(J,et)&&Ne.indexOf(et)<0&&(Le[et]=J[et]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,et=Object.getOwnPropertySymbols(J);Ue<et.length;Ue++)Ne.indexOf(et[Ue])<0&&Object.prototype.propertyIsEnumerable.call(J,et[Ue])&&(Le[et[Ue]]=J[et[Ue]]);return Le},X=(0,s.forwardRef)((J,Ne)=>{const{prefixCls:Le,bordered:et=!0,status:Ue,size:Ce,disabled:Oe,onBlur:Y,onFocus:xe,suffix:M,allowClear:E,addonAfter:st,addonBefore:ce,className:le,style:H,styles:_,rootClassName:re,onChange:T,classNames:ne,variant:Fe}=J,ye=j(J,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:lt,direction:ft,allowClear:pt,autoComplete:he,className:We,style:jt,classNames:ze,styles:Be}=(0,U.dj)("input"),P=lt("input",Le),ct=(0,s.useRef)(null),Se=(0,L.Z)(P),[fe,ue,ge]=(0,$.TI)(P,re),[$e]=(0,$.ZP)(P,Se),{compactSize:we,compactItemClassnames:Re}=(0,Z.ri)(P,ft),Je=(0,W.Z)(N=>{var er;return(er=Ce!=null?Ce:we)!==null&&er!==void 0?er:N}),wt=s.useContext(l.Z),At=Oe!=null?Oe:wt,{status:ar,hasFeedback:qt,feedbackIcon:Nt}=(0,s.useContext)(G.aM),ht=(0,y.F)(ar,Ue),Ot=w(J)||!!qt,Tt=(0,s.useRef)(Ot),Ut=(0,A.Z)(ct,!0),St=N=>{Ut(),Y==null||Y(N)},gr=N=>{Ut(),xe==null||xe(N)},lr=N=>{Ut(),T==null||T(N)},Cr=(qt||M)&&s.createElement(s.Fragment,null,M,qt&&Nt),rn=(0,Q.Z)(E!=null?E:pt),[Er,S]=(0,R.Z)("input",Fe,et);return fe($e(s.createElement(He.default,Object.assign({ref:(0,te.sQ)(Ne,ct),prefixCls:P,autoComplete:he},ye,{disabled:At,onBlur:St,onFocus:gr,style:Object.assign(Object.assign({},jt),H),styles:Object.assign(Object.assign({},Be),_),suffix:Cr,allowClear:rn,className:I()(le,re,ge,Se,Re,We),onChange:lr,addonBefore:ce&&s.createElement(q.Z,{form:!0,space:!0},ce),addonAfter:st&&s.createElement(q.Z,{form:!0,space:!0},st),classNames:Object.assign(Object.assign(Object.assign({},ne),ze),{input:I()({[`${P}-sm`]:Je==="small",[`${P}-lg`]:Je==="large",[`${P}-rtl`]:ft==="rtl"},ne==null?void 0:ne.input,ze.input,ue),variant:I()({[`${P}-${Er}`]:S},(0,y.Z)(P,ht)),affixWrapper:I()({[`${P}-affix-wrapper-sm`]:Je==="small",[`${P}-affix-wrapper-lg`]:Je==="large",[`${P}-affix-wrapper-rtl`]:ft==="rtl"},ue),wrapper:I()({[`${P}-group-rtl`]:ft==="rtl"},ue),groupWrapper:I()({[`${P}-group-wrapper-sm`]:Je==="small",[`${P}-group-wrapper-lg`]:Je==="large",[`${P}-group-wrapper-rtl`]:ft==="rtl",[`${P}-group-wrapper-${Er}`]:S},(0,y.Z)(`${P}-group-wrapper`,ht,qt),ue)})}))))})},79809:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return Ne}});var s=o(59301),qe=o(92310),I=o.n(qe),He=o(22711),te=o(86013),q=o(82855),Q=o(48755),y=o(2171),U=o(83397),l=o(31756),L=o(56553),W=o(24971),G=o(70045),R=o(30292),Z=o(53075),A=o(16931),$=o(51636),w=o(64910);const j=Le=>{const{componentCls:et,paddingLG:Ue}=Le,Ce=`${et}-textarea`;return{[`textarea${et}`]:{maxWidth:"100%",height:"auto",minHeight:Le.controlHeight,lineHeight:Le.lineHeight,verticalAlign:"bottom",transition:`all ${Le.motionDurationSlow}`,resize:"vertical",[`&${et}-mouse-active`]:{transition:`all ${Le.motionDurationSlow}, height 0s, width 0s`}},[`${et}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[Ce]:{position:"relative","&-show-count":{[`> ${et}`]:{height:"100%"},[`${et}-data-count`]:{position:"absolute",bottom:Le.calc(Le.fontSize).mul(Le.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:Le.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
&-allow-clear > ${et},
&-affix-wrapper${Ce}-has-feedback ${et}
`]:{paddingInlineEnd:Ue},[`&-affix-wrapper${et}-affix-wrapper`]:{padding:0,[`> textarea${et}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:Le.calc(Le.controlHeight).sub(Le.calc(Le.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${et}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${et}-clear-icon`]:{position:"absolute",insetInlineEnd:Le.paddingInline,insetBlockStart:Le.paddingXS},[`${Ce}-suffix`]:{position:"absolute",top:0,insetInlineEnd:Le.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${et}-affix-wrapper-sm`]:{[`${et}-suffix`]:{[`${et}-clear-icon`]:{insetInlineEnd:Le.paddingInlineSM}}}}}};var de=(0,A.I$)(["Input","TextArea"],Le=>{const et=(0,$.mergeToken)(Le,(0,w.e)(Le));return[j(et)]},w.T,{resetFont:!1}),X=function(Le,et){var Ue={};for(var Ce in Le)Object.prototype.hasOwnProperty.call(Le,Ce)&&et.indexOf(Ce)<0&&(Ue[Ce]=Le[Ce]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Ce=Object.getOwnPropertySymbols(Le);Oe<Ce.length;Oe++)et.indexOf(Ce[Oe])<0&&Object.prototype.propertyIsEnumerable.call(Le,Ce[Oe])&&(Ue[Ce[Oe]]=Le[Ce[Oe]]);return Ue},Ne=(0,s.forwardRef)((Le,et)=>{var Ue;const{prefixCls:Ce,bordered:Oe=!0,size:Y,disabled:xe,status:M,allowClear:E,classNames:st,rootClassName:ce,className:le,style:H,styles:_,variant:re,showCount:T,onMouseDown:ne,onResize:Fe}=Le,ye=X(Le,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:lt,direction:ft,allowClear:pt,autoComplete:he,className:We,style:jt,classNames:ze,styles:Be}=(0,Q.dj)("textArea"),P=s.useContext(y.Z),ct=xe!=null?xe:P,{status:Se,hasFeedback:fe,feedbackIcon:ue}=s.useContext(L.aM),ge=(0,q.F)(Se,M),$e=s.useRef(null);s.useImperativeHandle(et,()=>{var S;return{resizableTextArea:(S=$e.current)===null||S===void 0?void 0:S.resizableTextArea,focus:N=>{var er,se;(0,R.nH)((se=(er=$e.current)===null||er===void 0?void 0:er.resizableTextArea)===null||se===void 0?void 0:se.textArea,N)},blur:()=>{var N;return(N=$e.current)===null||N===void 0?void 0:N.blur()}}});const we=lt("input",Ce),Re=(0,U.Z)(we),[Je,wt,At]=(0,Z.TI)(we,ce),[ar]=de(we,Re),{compactSize:qt,compactItemClassnames:Nt}=(0,G.ri)(we,ft),ht=(0,l.Z)(S=>{var N;return(N=Y!=null?Y:qt)!==null&&N!==void 0?N:S}),[Ot,Tt]=(0,W.Z)("textArea",re,Oe),Ut=(0,te.Z)(E!=null?E:pt),[St,gr]=s.useState(!1),[lr,Cr]=s.useState(!1),rn=S=>{gr(!0),ne==null||ne(S);const N=()=>{gr(!1),document.removeEventListener("mouseup",N)};document.addEventListener("mouseup",N)},Er=S=>{var N,er;if(Fe==null||Fe(S),St&&typeof getComputedStyle=="function"){const se=(er=(N=$e.current)===null||N===void 0?void 0:N.nativeElement)===null||er===void 0?void 0:er.querySelector("textarea");se&&getComputedStyle(se).resize==="both"&&Cr(!0)}};return Je(ar(s.createElement(He.default,Object.assign({autoComplete:he},ye,{style:Object.assign(Object.assign({},jt),H),styles:Object.assign(Object.assign({},Be),_),disabled:ct,allowClear:Ut,className:I()(At,Re,le,ce,Nt,We,lr&&`${we}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},st),ze),{textarea:I()({[`${we}-sm`]:ht==="small",[`${we}-lg`]:ht==="large"},wt,st==null?void 0:st.textarea,ze.textarea,St&&`${we}-mouse-active`),variant:I()({[`${we}-${Ot}`]:Tt},(0,q.Z)(we,ge)),affixWrapper:I()(`${we}-textarea-affix-wrapper`,{[`${we}-affix-wrapper-rtl`]:ft==="rtl",[`${we}-affix-wrapper-sm`]:ht==="small",[`${we}-affix-wrapper-lg`]:ht==="large",[`${we}-textarea-show-count`]:T||((Ue=Le.count)===null||Ue===void 0?void 0:Ue.show)},wt)}),prefixCls:we,suffix:fe&&s.createElement("span",{className:`${we}-textarea-suffix`},ue),showCount:T,ref:$e,onResize:Er,onMouseDown:rn}))))})},23826:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return qe}});var s=o(59301);function qe(I,He){const te=(0,s.useRef)([]),q=()=>{te.current.push(setTimeout(()=>{var Q,y,U,l;!((Q=I.current)===null||Q===void 0)&&Q.input&&((y=I.current)===null||y===void 0?void 0:y.input.getAttribute("type"))==="password"&&(!((U=I.current)===null||U===void 0)&&U.input.hasAttribute("value"))&&((l=I.current)===null||l===void 0||l.input.removeAttribute("value"))}))};return(0,s.useEffect)(()=>(He&&q(),()=>te.current.forEach(Q=>{Q&&clearTimeout(Q)})),[]),q}},37568:function(en,Jt,o){"use strict";o.d(Jt,{default:function(){return ze}});var s=o(59301),qe=o(92310),I=o.n(qe),He=o(48755),te=o(56553),q=o(53075),y=Be=>{const{getPrefixCls:P,direction:ct}=(0,s.useContext)(He.E_),{prefixCls:Se,className:fe}=Be,ue=P("input-group",Se),ge=P("input"),[$e,we,Re]=(0,q.ZP)(ge),Je=I()(ue,Re,{[`${ue}-lg`]:Be.size==="large",[`${ue}-sm`]:Be.size==="small",[`${ue}-compact`]:Be.compact,[`${ue}-rtl`]:ct==="rtl"},we,fe),wt=(0,s.useContext)(te.aM),At=(0,s.useMemo)(()=>Object.assign(Object.assign({},wt),{isFormItemInput:!1}),[wt]);return $e(s.createElement("span",{className:Je,style:Be.style,onMouseEnter:Be.onMouseEnter,onMouseLeave:Be.onMouseLeave,onFocus:Be.onFocus,onBlur:Be.onBlur},s.createElement(te.aM.Provider,{value:At},Be.children)))},U=o(49397),l=o(15142),L=o(6089),W=o(26112),G=o(82855),R=o(31756),Z=o(16931),A=o(51636),$=o(64910);const w=Be=>{const{componentCls:P,paddingXS:ct}=Be;return{[P]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:ct,"&-rtl":{direction:"rtl"},[`${P}-input`]:{textAlign:"center",paddingInline:Be.paddingXXS},[`&${P}-sm ${P}-input`]:{paddingInline:Be.calc(Be.paddingXXS).div(2).equal()},[`&${P}-lg ${P}-input`]:{paddingInline:Be.paddingXS}}}};var j=(0,Z.I$)(["Input","OTP"],Be=>{const P=(0,A.mergeToken)(Be,(0,$.e)(Be));return[w(P)]},$.T),de=o(16089),X=function(Be,P){var ct={};for(var Se in Be)Object.prototype.hasOwnProperty.call(Be,Se)&&P.indexOf(Se)<0&&(ct[Se]=Be[Se]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,Se=Object.getOwnPropertySymbols(Be);fe<Se.length;fe++)P.indexOf(Se[fe])<0&&Object.prototype.propertyIsEnumerable.call(Be,Se[fe])&&(ct[Se[fe]]=Be[Se[fe]]);return ct},Ne=s.forwardRef((Be,P)=>{const{value:ct,onChange:Se,onActiveChange:fe,index:ue,mask:ge}=Be,$e=X(Be,["value","onChange","onActiveChange","index","mask"]),we=ct&&typeof ge=="string"?ge:ct,Re=qt=>{Se(ue,qt.target.value)},Je=s.useRef(null);s.useImperativeHandle(P,()=>Je.current);const wt=()=>{(0,de.Z)(()=>{var qt;const Nt=(qt=Je.current)===null||qt===void 0?void 0:qt.input;document.activeElement===Nt&&Nt&&Nt.select()})},At=qt=>{const{key:Nt,ctrlKey:ht,metaKey:Ot}=qt;Nt==="ArrowLeft"?fe(ue-1):Nt==="ArrowRight"?fe(ue+1):Nt==="z"&&(ht||Ot)&&qt.preventDefault(),wt()},ar=qt=>{qt.key==="Backspace"&&!ct&&fe(ue-1),wt()};return s.createElement(U.Z,Object.assign({type:ge===!0?"password":"text"},$e,{ref:Je,value:we,onInput:Re,onFocus:wt,onKeyDown:At,onKeyUp:ar,onMouseDown:wt,onMouseUp:wt}))}),Le=function(Be,P){var ct={};for(var Se in Be)Object.prototype.hasOwnProperty.call(Be,Se)&&P.indexOf(Se)<0&&(ct[Se]=Be[Se]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,Se=Object.getOwnPropertySymbols(Be);fe<Se.length;fe++)P.indexOf(Se[fe])<0&&Object.prototype.propertyIsEnumerable.call(Be,Se[fe])&&(ct[Se[fe]]=Be[Se[fe]]);return ct};function et(Be){return(Be||"").split("")}const Ue=Be=>{const{index:P,prefixCls:ct,separator:Se}=Be,fe=typeof Se=="function"?Se(P):Se;return fe?s.createElement("span",{className:`${ct}-separator`},fe):null};var Oe=s.forwardRef((Be,P)=>{const{prefixCls:ct,length:Se=6,size:fe,defaultValue:ue,value:ge,onChange:$e,formatter:we,separator:Re,variant:Je,disabled:wt,status:At,autoFocus:ar,mask:qt,type:Nt,onInput:ht,inputMode:Ot}=Be,Tt=Le(Be,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:Ut,direction:St}=s.useContext(He.E_),gr=Ut("otp",ct),lr=(0,W.Z)(Tt,{aria:!0,data:!0,attr:!0}),[Cr,rn,Er]=j(gr),S=(0,R.Z)(F=>fe!=null?fe:F),N=s.useContext(te.aM),er=(0,G.F)(N.status,At),se=s.useMemo(()=>Object.assign(Object.assign({},N),{status:er,hasFeedback:!1,feedbackIcon:null}),[N,er]),ke=s.useRef(null),zr=s.useRef({});s.useImperativeHandle(P,()=>({focus:()=>{var F;(F=zr.current[0])===null||F===void 0||F.focus()},blur:()=>{var F;for(let Ae=0;Ae<Se;Ae+=1)(F=zr.current[Ae])===null||F===void 0||F.blur()},nativeElement:ke.current}));const Ir=F=>we?we(F):F,[yn,Bn]=s.useState(()=>et(Ir(ue||"")));s.useEffect(()=>{ge!==void 0&&Bn(et(ge))},[ge]);const zt=(0,L.Z)(F=>{Bn(F),ht&&ht(F),$e&&F.length===Se&&F.every(Ae=>Ae)&&F.some((Ae,ae)=>yn[ae]!==Ae)&&$e(F.join(""))}),yr=(0,L.Z)((F,Ae)=>{let ae=(0,l.Z)(yn);for(let bn=0;bn<F;bn+=1)ae[bn]||(ae[bn]="");Ae.length<=1?ae[F]=Ae:ae=ae.slice(0,F).concat(et(Ae)),ae=ae.slice(0,Se);for(let bn=ae.length-1;bn>=0&&!ae[bn];bn-=1)ae.pop();const bt=Ir(ae.map(bn=>bn||" ").join(""));return ae=et(bt).map((bn,yt)=>bn===" "&&!ae[yt]?ae[yt]:bn),ae}),vr=(F,Ae)=>{var ae;const bt=yr(F,Ae),bn=Math.min(F+Ae.length,Se-1);bn!==F&&bt[F]!==void 0&&((ae=zr.current[bn])===null||ae===void 0||ae.focus()),zt(bt)},Tr=F=>{var Ae;(Ae=zr.current[F])===null||Ae===void 0||Ae.focus()},f={variant:Je,disabled:wt,status:er,mask:qt,type:Nt,inputMode:Ot};return Cr(s.createElement("div",Object.assign({},lr,{ref:ke,className:I()(gr,{[`${gr}-sm`]:S==="small",[`${gr}-lg`]:S==="large",[`${gr}-rtl`]:St==="rtl"},Er,rn)}),s.createElement(te.aM.Provider,{value:se},Array.from({length:Se}).map((F,Ae)=>{const ae=`otp-${Ae}`,bt=yn[Ae]||"";return s.createElement(s.Fragment,{key:ae},s.createElement(Ne,Object.assign({ref:bn=>{zr.current[Ae]=bn},index:Ae,size:S,htmlSize:1,className:`${gr}-input`,onChange:vr,value:bt,onActiveChange:Tr,autoFocus:Ae===0&&ar},f)),Ae<Se-1&&s.createElement(Ue,{separator:Re,index:Ae,prefixCls:gr}))}))))}),Y=o(73331),xe=o(15277),M=o(2738),E=o(8654),st=o(2171),ce=o(23826),le=function(Be,P){var ct={};for(var Se in Be)Object.prototype.hasOwnProperty.call(Be,Se)&&P.indexOf(Se)<0&&(ct[Se]=Be[Se]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,Se=Object.getOwnPropertySymbols(Be);fe<Se.length;fe++)P.indexOf(Se[fe])<0&&Object.prototype.propertyIsEnumerable.call(Be,Se[fe])&&(ct[Se[fe]]=Be[Se[fe]]);return ct};const H=Be=>Be?s.createElement(xe.Z,null):s.createElement(Y.Z,null),_={click:"onClick",hover:"onMouseOver"};var T=s.forwardRef((Be,P)=>{const{disabled:ct,action:Se="click",visibilityToggle:fe=!0,iconRender:ue=H}=Be,ge=s.useContext(st.Z),$e=ct!=null?ct:ge,we=typeof fe=="object"&&fe.visible!==void 0,[Re,Je]=(0,s.useState)(()=>we?fe.visible:!1),wt=(0,s.useRef)(null);s.useEffect(()=>{we&&Je(fe.visible)},[we,fe]);const At=(0,ce.Z)(wt),ar=()=>{var S;if($e)return;Re&&At();const N=!Re;Je(N),typeof fe=="object"&&((S=fe.onVisibleChange)===null||S===void 0||S.call(fe,N))},qt=S=>{const N=_[Se]||"",er=ue(Re),se={[N]:ar,className:`${S}-icon`,key:"passwordIcon",onMouseDown:ke=>{ke.preventDefault()},onMouseUp:ke=>{ke.preventDefault()}};return s.cloneElement(s.isValidElement(er)?er:s.createElement("span",null,er),se)},{className:Nt,prefixCls:ht,inputPrefixCls:Ot,size:Tt}=Be,Ut=le(Be,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:St}=s.useContext(He.E_),gr=St("input",Ot),lr=St("input-password",ht),Cr=fe&&qt(lr),rn=I()(lr,Nt,{[`${lr}-${Tt}`]:!!Tt}),Er=Object.assign(Object.assign({},(0,M.Z)(Ut,["suffix","iconRender","visibilityToggle"])),{type:Re?"text":"password",className:rn,prefixCls:gr,suffix:Cr});return Tt&&(Er.size=Tt),s.createElement(U.Z,Object.assign({ref:(0,E.sQ)(P,wt)},Er))}),ne=o(47472),Fe=o(22703),ye=o(99571),lt=o(70045),ft=function(Be,P){var ct={};for(var Se in Be)Object.prototype.hasOwnProperty.call(Be,Se)&&P.indexOf(Se)<0&&(ct[Se]=Be[Se]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,Se=Object.getOwnPropertySymbols(Be);fe<Se.length;fe++)P.indexOf(Se[fe])<0&&Object.prototype.propertyIsEnumerable.call(Be,Se[fe])&&(ct[Se[fe]]=Be[Se[fe]]);return ct},he=s.forwardRef((Be,P)=>{const{prefixCls:ct,inputPrefixCls:Se,className:fe,size:ue,suffix:ge,enterButton:$e=!1,addonAfter:we,loading:Re,disabled:Je,onSearch:wt,onChange:At,onCompositionStart:ar,onCompositionEnd:qt}=Be,Nt=ft(Be,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:ht,direction:Ot}=s.useContext(He.E_),Tt=s.useRef(!1),Ut=ht("input-search",ct),St=ht("input",Se),{compactSize:gr}=(0,lt.ri)(Ut,Ot),lr=(0,R.Z)(vr=>{var Tr;return(Tr=ue!=null?ue:gr)!==null&&Tr!==void 0?Tr:vr}),Cr=s.useRef(null),rn=vr=>{vr!=null&&vr.target&&vr.type==="click"&&wt&&wt(vr.target.value,vr,{source:"clear"}),At==null||At(vr)},Er=vr=>{var Tr;document.activeElement===((Tr=Cr.current)===null||Tr===void 0?void 0:Tr.input)&&vr.preventDefault()},S=vr=>{var Tr,f;wt&&wt((f=(Tr=Cr.current)===null||Tr===void 0?void 0:Tr.input)===null||f===void 0?void 0:f.value,vr,{source:"input"})},N=vr=>{Tt.current||Re||S(vr)},er=typeof $e=="boolean"?s.createElement(ne.Z,null):null,se=`${Ut}-button`;let ke;const zr=$e||{},Ir=zr.type&&zr.type.__ANT_BUTTON===!0;Ir||zr.type==="button"?ke=(0,Fe.Tm)(zr,Object.assign({onMouseDown:Er,onClick:vr=>{var Tr,f;(f=(Tr=zr==null?void 0:zr.props)===null||Tr===void 0?void 0:Tr.onClick)===null||f===void 0||f.call(Tr,vr),S(vr)},key:"enterButton"},Ir?{className:se,size:lr}:{})):ke=s.createElement(ye.ZP,{className:se,type:$e?"primary":void 0,size:lr,disabled:Je,key:"enterButton",onMouseDown:Er,onClick:S,loading:Re,icon:er},$e),we&&(ke=[ke,(0,Fe.Tm)(we,{key:"addonAfter"})]);const yn=I()(Ut,{[`${Ut}-rtl`]:Ot==="rtl",[`${Ut}-${lr}`]:!!lr,[`${Ut}-with-button`]:!!$e},fe),Bn=Object.assign(Object.assign({},Nt),{className:yn,prefixCls:St,type:"search"}),zt=vr=>{Tt.current=!0,ar==null||ar(vr)},yr=vr=>{Tt.current=!1,qt==null||qt(vr)};return s.createElement(U.Z,Object.assign({ref:(0,E.sQ)(Cr,P),onPressEnter:N},Bn,{size:lr,onCompositionStart:zt,onCompositionEnd:yr,addonAfter:ke,suffix:ge,onChange:rn,disabled:Je}))}),We=o(79809);const jt=U.Z;jt.Group=y,jt.Search=he,jt.TextArea=We.Z,jt.Password=T,jt.OTP=Oe;var ze=jt},53075:function(en,Jt,o){"use strict";o.d(Jt,{TI:function(){return de},ik:function(){return W},nz:function(){return y},s7:function(){return G},x0:function(){return L}});var s=o(36237),qe=o(63356),I=o(56119),He=o(16931),te=o(51636),q=o(64910),Q=o(39082);const y=X=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:X,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),U=X=>({borderColor:X.activeBorderColor,boxShadow:X.activeShadow,outline:0,backgroundColor:X.activeBg}),l=X=>{const{paddingBlockLG:J,lineHeightLG:Ne,borderRadiusLG:Le,paddingInlineLG:et}=X;return{padding:`${(0,s.unit)(J)} ${(0,s.unit)(et)}`,fontSize:X.inputFontSizeLG,lineHeight:Ne,borderRadius:Le}},L=X=>({padding:`${(0,s.unit)(X.paddingBlockSM)} ${(0,s.unit)(X.paddingInlineSM)}`,fontSize:X.inputFontSizeSM,borderRadius:X.borderRadiusSM}),W=X=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,s.unit)(X.paddingBlock)} ${(0,s.unit)(X.paddingInline)}`,color:X.colorText,fontSize:X.inputFontSize,lineHeight:X.lineHeight,borderRadius:X.borderRadius,transition:`all ${X.motionDurationMid}`},y(X.colorTextPlaceholder)),{"&-lg":Object.assign({},l(X)),"&-sm":Object.assign({},L(X)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),G=X=>{const{componentCls:J,antCls:Ne}=X;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:X.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${J}, &-lg > ${J}-group-addon`]:Object.assign({},l(X)),[`&-sm ${J}, &-sm > ${J}-group-addon`]:Object.assign({},L(X)),[`&-lg ${Ne}-select-single ${Ne}-select-selector`]:{height:X.controlHeightLG},[`&-sm ${Ne}-select-single ${Ne}-select-selector`]:{height:X.controlHeightSM},[`> ${J}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${J}-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,s.unit)(X.paddingInline)}`,color:X.colorText,fontWeight:"normal",fontSize:X.inputFontSize,textAlign:"center",borderRadius:X.borderRadius,transition:`all ${X.motionDurationSlow}`,lineHeight:1,[`${Ne}-select`]:{margin:`${(0,s.unit)(X.calc(X.paddingBlock).add(1).mul(-1).equal())} ${(0,s.unit)(X.calc(X.paddingInline).mul(-1).equal())}`,[`&${Ne}-select-single:not(${Ne}-select-customize-input):not(${Ne}-pagination-size-changer)`]:{[`${Ne}-select-selector`]:{backgroundColor:"inherit",border:`${(0,s.unit)(X.lineWidth)} ${X.lineType} transparent`,boxShadow:"none"}}},[`${Ne}-cascader-picker`]:{margin:`-9px ${(0,s.unit)(X.calc(X.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${Ne}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[J]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${J}-search-with-button &`]:{zIndex:0}}},[`> ${J}:first-child, ${J}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${Ne}-select ${Ne}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${J}-affix-wrapper`]:{[`&:not(:first-child) ${J}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${J}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${J}:last-child, ${J}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${Ne}-select ${Ne}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${J}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${J}-search &`]:{borderStartStartRadius:X.borderRadius,borderEndStartRadius:X.borderRadius}},[`&:not(:first-child), ${J}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${J}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,qe.dF)()),{[`${J}-group-addon, ${J}-group-wrap, > ${J}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:X.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
& > ${J}-affix-wrapper,
& > ${J}-number-affix-wrapper,
& > ${Ne}-picker-range
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:X.calc(X.lineWidth).mul(-1).equal(),borderInlineEndWidth:X.lineWidth},[J]:{float:"none"},[`& > ${Ne}-select > ${Ne}-select-selector,
& > ${Ne}-select-auto-complete ${J},
& > ${Ne}-cascader-picker ${J},
& > ${J}-group-wrapper ${J}`]:{borderInlineEndWidth:X.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${Ne}-select-focused`]:{zIndex:1},[`& > ${Ne}-select > ${Ne}-select-arrow`]:{zIndex:1},[`& > *:first-child,
& > ${Ne}-select:first-child > ${Ne}-select-selector,
& > ${Ne}-select-auto-complete:first-child ${J},
& > ${Ne}-cascader-picker:first-child ${J}`]:{borderStartStartRadius:X.borderRadius,borderEndStartRadius:X.borderRadius},[`& > *:last-child,
& > ${Ne}-select:last-child > ${Ne}-select-selector,
& > ${Ne}-cascader-picker:last-child ${J},
& > ${Ne}-cascader-picker-focused:last-child ${J}`]:{borderInlineEndWidth:X.lineWidth,borderStartEndRadius:X.borderRadius,borderEndEndRadius:X.borderRadius},[`& > ${Ne}-select-auto-complete ${J}`]:{verticalAlign:"top"},[`${J}-group-wrapper + ${J}-group-wrapper`]:{marginInlineStart:X.calc(X.lineWidth).mul(-1).equal(),[`${J}-affix-wrapper`]:{borderRadius:0}},[`${J}-group-wrapper:not(:last-child)`]:{[`&${J}-search > ${J}-group`]:{[`& > ${J}-group-addon > ${J}-search-button`]:{borderRadius:0},[`& > ${J}`]:{borderStartStartRadius:X.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:X.borderRadius}}}})}},R=X=>{const{componentCls:J,controlHeightSM:Ne,lineWidth:Le,calc:et}=X,Ce=et(Ne).sub(et(Le).mul(2)).sub(16).div(2).equal();return{[J]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,qe.Wf)(X)),W(X)),(0,Q.qG)(X)),(0,Q.H8)(X)),(0,Q.Mu)(X)),(0,Q.vc)(X)),{'&[type="color"]':{height:X.controlHeight,[`&${J}-lg`]:{height:X.controlHeightLG},[`&${J}-sm`]:{height:Ne,paddingTop:Ce,paddingBottom:Ce}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}},Z=X=>{const{componentCls:J}=X;return{[`${J}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:X.colorTextQuaternary,fontSize:X.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${X.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:X.colorTextTertiary},"&:active":{color:X.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,s.unit)(X.inputAffixPadding)}`}}}},A=X=>{const{componentCls:J,inputAffixPadding:Ne,colorTextDescription:Le,motionDurationSlow:et,colorIcon:Ue,colorIconHover:Ce,iconCls:Oe}=X,Y=`${J}-affix-wrapper`,xe=`${J}-affix-wrapper-disabled`;return{[Y]:Object.assign(Object.assign(Object.assign(Object.assign({},W(X)),{display:"inline-flex",[`&:not(${J}-disabled):hover`]:{zIndex:1,[`${J}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${J}`]:{padding:0},[`> input${J}, > textarea${J}`]:{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"'},[J]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:X.paddingXS}},"&-show-count-suffix":{color:Le},"&-show-count-has-suffix":{marginInlineEnd:X.paddingXXS},"&-prefix":{marginInlineEnd:Ne},"&-suffix":{marginInlineStart:Ne}}}),Z(X)),{[`${Oe}${J}-password-icon`]:{color:Ue,cursor:"pointer",transition:`all ${et}`,"&:hover":{color:Ce}}}),[`${J}-underlined`]:{borderRadius:0},[xe]:{[`${Oe}${J}-password-icon`]:{color:Ue,cursor:"not-allowed","&:hover":{color:Ue}}}}},$=X=>{const{componentCls:J,borderRadiusLG:Ne,borderRadiusSM:Le}=X;return{[`${J}-group`]:Object.assign(Object.assign(Object.assign({},(0,qe.Wf)(X)),G(X)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${J}-group-addon`]:{borderRadius:Ne,fontSize:X.inputFontSizeLG}},"&-sm":{[`${J}-group-addon`]:{borderRadius:Le}}},(0,Q.ir)(X)),(0,Q.S5)(X)),{[`&:not(${J}-compact-first-item):not(${J}-compact-last-item)${J}-compact-item`]:{[`${J}, ${J}-group-addon`]:{borderRadius:0}},[`&:not(${J}-compact-last-item)${J}-compact-first-item`]:{[`${J}, ${J}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${J}-compact-first-item)${J}-compact-last-item`]:{[`${J}, ${J}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${J}-compact-last-item)${J}-compact-item`]:{[`${J}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${J}-compact-first-item)${J}-compact-item`]:{[`${J}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}},w=X=>{const{componentCls:J,antCls:Ne}=X,Le=`${J}-search`;return{[Le]:{[J]:{"&:hover, &:focus":{[`+ ${J}-group-addon ${Le}-button:not(${Ne}-btn-primary)`]:{borderInlineStartColor:X.colorPrimaryHover}}},[`${J}-affix-wrapper`]:{height:X.controlHeight,borderRadius:0},[`${J}-lg`]:{lineHeight:X.calc(X.lineHeightLG).sub(2e-4).equal()},[`> ${J}-group`]:{[`> ${J}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${Le}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${Le}-button:not(${Ne}-btn-primary)`]:{color:X.colorTextDescription,"&:hover":{color:X.colorPrimaryHover},"&:active":{color:X.colorPrimaryActive},[`&${Ne}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${Le}-button`]:{height:X.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${J}-affix-wrapper, ${Le}-button`]:{height:X.controlHeightLG}},"&-small":{[`${J}-affix-wrapper, ${Le}-button`]:{height:X.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${J}-compact-item`]:{[`&:not(${J}-compact-last-item)`]:{[`${J}-group-addon`]:{[`${J}-search-button`]:{marginInlineEnd:X.calc(X.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${J}-compact-first-item)`]:{[`${J},${J}-affix-wrapper`]:{borderRadius:0}},[`> ${J}-group-addon ${J}-search-button,
> ${J},
${J}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${J}-affix-wrapper-focused`]:{zIndex:2}}}}},j=X=>{const{componentCls:J}=X;return{[`${J}-out-of-range`]:{[`&, & input, & textarea, ${J}-show-count-suffix, ${J}-data-count`]:{color:X.colorError}}}},de=(0,He.I$)(["Input","Shared"],X=>{const J=(0,te.mergeToken)(X,(0,q.e)(X));return[R(J),A(J)]},q.T,{resetFont:!1});Jt.ZP=(0,He.I$)(["Input","Component"],X=>{const J=(0,te.mergeToken)(X,(0,q.e)(X));return[$(J),w(J),j(J),(0,I.c)(J)]},q.T,{resetFont:!1})},64910:function(en,Jt,o){"use strict";o.d(Jt,{T:function(){return I},e:function(){return qe}});var s=o(51636);function qe(He){return(0,s.mergeToken)(He,{inputAffixPadding:He.paddingXXS})}const I=He=>{const{controlHeight:te,fontSize:q,lineHeight:Q,lineWidth:y,controlHeightSM:U,controlHeightLG:l,fontSizeLG:L,lineHeightLG:W,paddingSM:G,controlPaddingHorizontalSM:R,controlPaddingHorizontal:Z,colorFillAlter:A,colorPrimaryHover:$,colorPrimary:w,controlOutlineWidth:j,controlOutline:de,colorErrorOutline:X,colorWarningOutline:J,colorBgContainer:Ne,inputFontSize:Le,inputFontSizeLG:et,inputFontSizeSM:Ue}=He,Ce=Le||q,Oe=Ue||Ce,Y=et||L,xe=Math.round((te-Ce*Q)/2*10)/10-y,M=Math.round((U-Oe*Q)/2*10)/10-y,E=Math.ceil((l-Y*W)/2*10)/10-y;return{paddingBlock:Math.max(xe,0),paddingBlockSM:Math.max(M,0),paddingBlockLG:Math.max(E,0),paddingInline:G-y,paddingInlineSM:R-y,paddingInlineLG:Z-y,addonBg:A,activeBorderColor:w,hoverBorderColor:$,activeShadow:`0 0 0 ${j}px ${de}`,errorActiveShadow:`0 0 0 ${j}px ${X}`,warningActiveShadow:`0 0 0 ${j}px ${J}`,hoverBg:Ne,activeBg:Ne,inputFontSize:Ce,inputFontSizeLG:Y,inputFontSizeSM:Oe}}},39082:function(en,Jt,o){"use strict";o.d(Jt,{$U:function(){return te},H8:function(){return G},Mu:function(){return l},S5:function(){return Z},Xy:function(){return He},ir:function(){return U},qG:function(){return Q},vc:function(){return w}});var s=o(36237),qe=o(51636);const I=j=>({borderColor:j.hoverBorderColor,backgroundColor:j.hoverBg}),He=j=>({color:j.colorTextDisabled,backgroundColor:j.colorBgContainerDisabled,borderColor:j.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},I((0,qe.mergeToken)(j,{hoverBorderColor:j.colorBorder,hoverBg:j.colorBgContainerDisabled})))}),te=(j,de)=>({background:j.colorBgContainer,borderWidth:j.lineWidth,borderStyle:j.lineType,borderColor:de.borderColor,"&:hover":{borderColor:de.hoverBorderColor,backgroundColor:j.hoverBg},"&:focus, &:focus-within":{borderColor:de.activeBorderColor,boxShadow:de.activeShadow,outline:0,backgroundColor:j.activeBg}}),q=(j,de)=>({[`&${j.componentCls}-status-${de.status}:not(${j.componentCls}-disabled)`]:Object.assign(Object.assign({},te(j,de)),{[`${j.componentCls}-prefix, ${j.componentCls}-suffix`]:{color:de.affixColor}}),[`&${j.componentCls}-status-${de.status}${j.componentCls}-disabled`]:{borderColor:de.borderColor}}),Q=(j,de)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},te(j,{borderColor:j.colorBorder,hoverBorderColor:j.hoverBorderColor,activeBorderColor:j.activeBorderColor,activeShadow:j.activeShadow})),{[`&${j.componentCls}-disabled, &[disabled]`]:Object.assign({},He(j))}),q(j,{status:"error",borderColor:j.colorError,hoverBorderColor:j.colorErrorBorderHover,activeBorderColor:j.colorError,activeShadow:j.errorActiveShadow,affixColor:j.colorError})),q(j,{status:"warning",borderColor:j.colorWarning,hoverBorderColor:j.colorWarningBorderHover,activeBorderColor:j.colorWarning,activeShadow:j.warningActiveShadow,affixColor:j.colorWarning})),de)}),y=(j,de)=>({[`&${j.componentCls}-group-wrapper-status-${de.status}`]:{[`${j.componentCls}-group-addon`]:{borderColor:de.addonBorderColor,color:de.addonColor}}}),U=j=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${j.componentCls}-group`]:{"&-addon":{background:j.addonBg,border:`${(0,s.unit)(j.lineWidth)} ${j.lineType} ${j.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},y(j,{status:"error",addonBorderColor:j.colorError,addonColor:j.colorErrorText})),y(j,{status:"warning",addonBorderColor:j.colorWarning,addonColor:j.colorWarningText})),{[`&${j.componentCls}-group-wrapper-disabled`]:{[`${j.componentCls}-group-addon`]:Object.assign({},He(j))}})}),l=(j,de)=>{const{componentCls:X}=j;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${X}-disabled, &[disabled]`]:{color:j.colorTextDisabled,cursor:"not-allowed"},[`&${X}-status-error`]:{"&, & input, & textarea":{color:j.colorError}},[`&${X}-status-warning`]:{"&, & input, & textarea":{color:j.colorWarning}}},de)}},L=(j,de)=>{var X;return{background:de.bg,borderWidth:j.lineWidth,borderStyle:j.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:(X=de==null?void 0:de.inputColor)!==null&&X!==void 0?X:"unset"},"&:hover":{background:de.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:de.activeBorderColor,backgroundColor:j.activeBg}}},W=(j,de)=>({[`&${j.componentCls}-status-${de.status}:not(${j.componentCls}-disabled)`]:Object.assign(Object.assign({},L(j,de)),{[`${j.componentCls}-prefix, ${j.componentCls}-suffix`]:{color:de.affixColor}})}),G=(j,de)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},L(j,{bg:j.colorFillTertiary,hoverBg:j.colorFillSecondary,activeBorderColor:j.activeBorderColor})),{[`&${j.componentCls}-disabled, &[disabled]`]:Object.assign({},He(j))}),W(j,{status:"error",bg:j.colorErrorBg,hoverBg:j.colorErrorBgHover,activeBorderColor:j.colorError,inputColor:j.colorErrorText,affixColor:j.colorError})),W(j,{status:"warning",bg:j.colorWarningBg,hoverBg:j.colorWarningBgHover,activeBorderColor:j.colorWarning,inputColor:j.colorWarningText,affixColor:j.colorWarning})),de)}),R=(j,de)=>({[`&${j.componentCls}-group-wrapper-status-${de.status}`]:{[`${j.componentCls}-group-addon`]:{background:de.addonBg,color:de.addonColor}}}),Z=j=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${j.componentCls}-group`]:{"&-addon":{background:j.colorFillTertiary},[`${j.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,s.unit)(j.lineWidth)} ${j.lineType} ${j.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,s.unit)(j.lineWidth)} ${j.lineType} ${j.colorSplit}`}}}},R(j,{status:"error",addonBg:j.colorErrorBg,addonColor:j.colorErrorText})),R(j,{status:"warning",addonBg:j.colorWarningBg,addonColor:j.colorWarningText})),{[`&${j.componentCls}-group-wrapper-disabled`]:{[`${j.componentCls}-group`]:{"&-addon":{background:j.colorFillTertiary,color:j.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,s.unit)(j.lineWidth)} ${j.lineType} ${j.colorBorder}`,borderTop:`${(0,s.unit)(j.lineWidth)} ${j.lineType} ${j.colorBorder}`,borderBottom:`${(0,s.unit)(j.lineWidth)} ${j.lineType} ${j.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,s.unit)(j.lineWidth)} ${j.lineType} ${j.colorBorder}`,borderTop:`${(0,s.unit)(j.lineWidth)} ${j.lineType} ${j.colorBorder}`,borderBottom:`${(0,s.unit)(j.lineWidth)} ${j.lineType} ${j.colorBorder}`}}}})}),A=(j,de)=>({background:j.colorBgContainer,borderWidth:`${(0,s.unit)(j.lineWidth)} 0`,borderStyle:`${j.lineType} none`,borderColor:`transparent transparent ${de.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${de.borderColor} transparent`,backgroundColor:j.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${de.borderColor} transparent`,outline:0,backgroundColor:j.activeBg}}),$=(j,de)=>({[`&${j.componentCls}-status-${de.status}:not(${j.componentCls}-disabled)`]:Object.assign(Object.assign({},A(j,de)),{[`${j.componentCls}-prefix, ${j.componentCls}-suffix`]:{color:de.affixColor}}),[`&${j.componentCls}-status-${de.status}${j.componentCls}-disabled`]:{borderColor:`transparent transparent ${de.borderColor} transparent`}}),w=(j,de)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},A(j,{borderColor:j.colorBorder,hoverBorderColor:j.hoverBorderColor,activeBorderColor:j.activeBorderColor,activeShadow:j.activeShadow})),{[`&${j.componentCls}-disabled, &[disabled]`]:{color:j.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${j.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),$(j,{status:"error",borderColor:j.colorError,hoverBorderColor:j.colorErrorBorderHover,activeBorderColor:j.colorError,activeShadow:j.errorActiveShadow,affixColor:j.colorError})),$(j,{status:"warning",borderColor:j.colorWarning,hoverBorderColor:j.colorWarningBorderHover,activeBorderColor:j.colorWarning,activeShadow:j.warningActiveShadow,affixColor:j.colorWarning})),de)})},24303:function(en,Jt,o){"use strict";o.d(Jt,{D:function(){return Le},Z:function(){return Ce}});var s=o(59301),qe=o(67711),I={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"},He=I,te=o(7657),q=function(Y,xe){return s.createElement(te.Z,(0,qe.Z)({},Y,{ref:xe,icon:He}))},Q=s.forwardRef(q),y=Q,U=o(33853),l=o(38819),L=o(92310),W=o.n(L),G=o(2738),R=o(48755),Z=o(6989),A=o(36237),$=o(48923),w=o(16931);const j=Oe=>{const{componentCls:Y,siderBg:xe,motionDurationMid:M,motionDurationSlow:E,antCls:st,triggerHeight:ce,triggerColor:le,triggerBg:H,headerHeight:_,zeroTriggerWidth:re,zeroTriggerHeight:T,borderRadiusLG:ne,lightSiderBg:Fe,lightTriggerColor:ye,lightTriggerBg:lt,bodyBg:ft}=Oe;return{[Y]:{position:"relative",minWidth:0,background:xe,transition:`all ${M}, background 0s`,"&-has-trigger":{paddingBottom:ce},"&-right":{order:1},[`${Y}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${st}-menu${st}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${Y}-children`]:{overflow:"hidden"},[`${Y}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:ce,color:le,lineHeight:(0,A.unit)(ce),textAlign:"center",background:H,cursor:"pointer",transition:`all ${M}`},[`${Y}-zero-width-trigger`]:{position:"absolute",top:_,insetInlineEnd:Oe.calc(re).mul(-1).equal(),zIndex:1,width:re,height:T,color:le,fontSize:Oe.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:xe,borderRadius:`0 ${(0,A.unit)(ne)} ${(0,A.unit)(ne)} 0`,cursor:"pointer",transition:`background ${E} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${E}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:Oe.calc(re).mul(-1).equal(),borderRadius:`${(0,A.unit)(ne)} 0 0 ${(0,A.unit)(ne)}`}},"&-light":{background:Fe,[`${Y}-trigger`]:{color:ye,background:lt},[`${Y}-zero-width-trigger`]:{color:ye,background:lt,border:`1px solid ${ft}`,borderInlineStart:0}}}}};var de=(0,w.I$)(["Layout","Sider"],Oe=>[j(Oe)],$.eh,{deprecatedTokens:$.jn}),X=function(Oe,Y){var xe={};for(var M in Oe)Object.prototype.hasOwnProperty.call(Oe,M)&&Y.indexOf(M)<0&&(xe[M]=Oe[M]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,M=Object.getOwnPropertySymbols(Oe);E<M.length;E++)Y.indexOf(M[E])<0&&Object.prototype.propertyIsEnumerable.call(Oe,M[E])&&(xe[M[E]]=Oe[M[E]]);return xe};const J={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Ne=Oe=>!Number.isNaN(Number.parseFloat(Oe))&&isFinite(Oe),Le=s.createContext({}),et=(()=>{let Oe=0;return function(){let Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Oe+=1,`${Y}${Oe}`}})();var Ce=s.forwardRef((Oe,Y)=>{const{prefixCls:xe,className:M,trigger:E,children:st,defaultCollapsed:ce=!1,theme:le="dark",style:H={},collapsible:_=!1,reverseArrow:re=!1,width:T=200,collapsedWidth:ne=80,zeroWidthTriggerStyle:Fe,breakpoint:ye,onCollapse:lt,onBreakpoint:ft}=Oe,pt=X(Oe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:he}=(0,s.useContext)(Z.V),[We,jt]=(0,s.useState)("collapsed"in Oe?Oe.collapsed:ce),[ze,Be]=(0,s.useState)(!1);(0,s.useEffect)(()=>{"collapsed"in Oe&&jt(Oe.collapsed)},[Oe.collapsed]);const P=(lr,Cr)=>{"collapsed"in Oe||jt(lr),lt==null||lt(lr,Cr)},{getPrefixCls:ct,direction:Se}=(0,s.useContext)(R.E_),fe=ct("layout-sider",xe),[ue,ge,$e]=de(fe),we=(0,s.useRef)(null);we.current=lr=>{Be(lr.matches),ft==null||ft(lr.matches),We!==lr.matches&&P(lr.matches,"responsive")},(0,s.useEffect)(()=>{function lr(rn){return we.current(rn)}let Cr;if(typeof window!="undefined"){const{matchMedia:rn}=window;if(rn&&ye&&ye in J){Cr=rn(`screen and (max-width: ${J[ye]})`);try{Cr.addEventListener("change",lr)}catch(Er){Cr.addListener(lr)}lr(Cr)}}return()=>{try{Cr==null||Cr.removeEventListener("change",lr)}catch(rn){Cr==null||Cr.removeListener(lr)}}},[ye]),(0,s.useEffect)(()=>{const lr=et("ant-sider-");return he.addSider(lr),()=>he.removeSider(lr)},[]);const Re=()=>{P(!We,"clickTrigger")},Je=(0,G.Z)(pt,["collapsed"]),wt=We?ne:T,At=Ne(wt)?`${wt}px`:String(wt),ar=parseFloat(String(ne||0))===0?s.createElement("span",{onClick:Re,className:W()(`${fe}-zero-width-trigger`,`${fe}-zero-width-trigger-${re?"right":"left"}`),style:Fe},E||s.createElement(y,null)):null,qt=Se==="rtl"==!re,Ot={expanded:qt?s.createElement(l.Z,null):s.createElement(U.Z,null),collapsed:qt?s.createElement(U.Z,null):s.createElement(l.Z,null)}[We?"collapsed":"expanded"],Tt=E!==null?ar||s.createElement("div",{className:`${fe}-trigger`,onClick:Re,style:{width:At}},E||Ot):null,Ut=Object.assign(Object.assign({},H),{flex:`0 0 ${At}`,maxWidth:At,minWidth:At,width:At}),St=W()(fe,`${fe}-${le}`,{[`${fe}-collapsed`]:!!We,[`${fe}-has-trigger`]:_&&E!==null&&!ar,[`${fe}-below`]:!!ze,[`${fe}-zero-width`]:parseFloat(At)===0},M,ge,$e),gr=s.useMemo(()=>({siderCollapsed:We}),[We]);return ue(s.createElement(Le.Provider,{value:gr},s.createElement("aside",Object.assign({className:St},Je,{style:Ut,ref:Y}),s.createElement("div",{className:`${fe}-children`},st),_||ze&&ar?Tt:null)))})},6989:function(en,Jt,o){"use strict";o.d(Jt,{V:function(){return qe}});var s=o(59301);const qe=s.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},24404:function(en,Jt,o){"use strict";o.d(Jt,{default:function(){return J}});var s=o(15142),qe=o(59301),I=o(92310),He=o.n(I),te=o(2738),q=o(48755),Q=o(6989),y=o(11592),U=o(24303);function l(Ne,Le,et){return typeof et=="boolean"?et:Ne.length?!0:(0,y.Z)(Le).some(Ce=>Ce.type===U.Z)}var L=o(48923),W=function(Ne,Le){var et={};for(var Ue in Ne)Object.prototype.hasOwnProperty.call(Ne,Ue)&&Le.indexOf(Ue)<0&&(et[Ue]=Ne[Ue]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ue=Object.getOwnPropertySymbols(Ne);Ce<Ue.length;Ce++)Le.indexOf(Ue[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ne,Ue[Ce])&&(et[Ue[Ce]]=Ne[Ue[Ce]]);return et};function G(Ne){let{suffixCls:Le,tagName:et,displayName:Ue}=Ne;return Ce=>qe.forwardRef((Y,xe)=>qe.createElement(Ce,Object.assign({ref:xe,suffixCls:Le,tagName:et},Y)))}const R=qe.forwardRef((Ne,Le)=>{const{prefixCls:et,suffixCls:Ue,className:Ce,tagName:Oe}=Ne,Y=W(Ne,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:xe}=qe.useContext(q.E_),M=xe("layout",et),[E,st,ce]=(0,L.ZP)(M),le=Ue?`${M}-${Ue}`:M;return E(qe.createElement(Oe,Object.assign({className:He()(et||le,Ce,st,ce),ref:Le},Y)))}),Z=qe.forwardRef((Ne,Le)=>{const{direction:et}=qe.useContext(q.E_),[Ue,Ce]=qe.useState([]),{prefixCls:Oe,className:Y,rootClassName:xe,children:M,hasSider:E,tagName:st,style:ce}=Ne,le=W(Ne,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),H=(0,te.Z)(le,["suffixCls"]),{getPrefixCls:_,className:re,style:T}=(0,q.dj)("layout"),ne=_("layout",Oe),Fe=l(Ue,M,E),[ye,lt,ft]=(0,L.ZP)(ne),pt=He()(ne,{[`${ne}-has-sider`]:Fe,[`${ne}-rtl`]:et==="rtl"},re,Y,xe,lt,ft),he=qe.useMemo(()=>({siderHook:{addSider:We=>{Ce(jt=>[].concat((0,s.Z)(jt),[We]))},removeSider:We=>{Ce(jt=>jt.filter(ze=>ze!==We))}}}),[]);return ye(qe.createElement(Q.V.Provider,{value:he},qe.createElement(st,Object.assign({ref:Le,className:pt,style:Object.assign(Object.assign({},T),ce)},H),M)))}),A=G({tagName:"div",displayName:"Layout"})(Z),$=G({suffixCls:"header",tagName:"header",displayName:"Header"})(R),w=G({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(R),j=G({suffixCls:"content",tagName:"main",displayName:"Content"})(R);var de=A;const X=de;X.Header=$,X.Footer=w,X.Content=j,X.Sider=U.Z,X._InternalSiderContext=U.D;var J=X},48923:function(en,Jt,o){"use strict";o.d(Jt,{eh:function(){return He},jn:function(){return te}});var s=o(36237),qe=o(16931);const I=q=>{const{antCls:Q,componentCls:y,colorText:U,footerBg:l,headerHeight:L,headerPadding:W,headerColor:G,footerPadding:R,fontSize:Z,bodyBg:A,headerBg:$}=q;return{[y]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:A,"&, *":{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:L,padding:W,color:G,lineHeight:(0,s.unit)(L),background:$,[`${Q}-menu`]:{lineHeight:"inherit"}},[`${y}-footer`]:{padding:R,color:U,fontSize:Z,background:l},[`${y}-content`]:{flex:"auto",color:U,minHeight:0}}},He=q=>{const{colorBgLayout:Q,controlHeight:y,controlHeightLG:U,colorText:l,controlHeightSM:L,marginXXS:W,colorTextLightSolid:G,colorBgContainer:R}=q,Z=U*1.25;return{colorBgHeader:"#001529",colorBgBody:Q,colorBgTrigger:"#002140",bodyBg:Q,headerBg:"#001529",headerHeight:y*2,headerPadding:`0 ${Z}px`,headerColor:l,footerPadding:`${L}px ${Z}px`,footerBg:Q,siderBg:"#001529",triggerHeight:U+W*2,triggerBg:"#002140",triggerColor:G,zeroTriggerWidth:U,zeroTriggerHeight:U,lightSiderBg:R,lightTriggerBg:R,lightTriggerColor:l}},te=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];Jt.ZP=(0,qe.I$)("Layout",q=>[I(q)],He,{deprecatedTokens:te})},78857:function(en,Jt,o){"use strict";o.d(Jt,{J:function(){return q}});var s=o(59301),qe=o(8654),I=o(62487),He=function(Q,y){var U={};for(var l in Q)Object.prototype.hasOwnProperty.call(Q,l)&&y.indexOf(l)<0&&(U[l]=Q[l]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,l=Object.getOwnPropertySymbols(Q);L<l.length;L++)y.indexOf(l[L])<0&&Object.prototype.propertyIsEnumerable.call(Q,l[L])&&(U[l[L]]=Q[l[L]]);return U};const te=s.createContext(null),q=s.forwardRef((Q,y)=>{const{children:U}=Q,l=He(Q,["children"]),L=s.useContext(te),W=s.useMemo(()=>Object.assign(Object.assign({},L),l),[L,l.prefixCls,l.mode,l.selectable,l.rootClassName]),G=(0,qe.t4)(U),R=(0,qe.x1)(y,G?(0,qe.C4)(U):null);return s.createElement(te.Provider,{value:W},s.createElement(I.Z,{space:!0},G?s.cloneElement(U,{ref:R}):U))});Jt.Z=te},93041:function(en,Jt,o){"use strict";o.d(Jt,{default:function(){return ue}});var s=o(59301),qe=o(28321),I=o(24303),He=o(18785),te=o(92310),q=o.n(te),Q=o(6089),y=o(2738),U=o(86641),l=o(22703),L=o(48755),W=o(83397),R=(0,s.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Z=function(ge,$e){var we={};for(var Re in ge)Object.prototype.hasOwnProperty.call(ge,Re)&&$e.indexOf(Re)<0&&(we[Re]=ge[Re]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,Re=Object.getOwnPropertySymbols(ge);Je<Re.length;Je++)$e.indexOf(Re[Je])<0&&Object.prototype.propertyIsEnumerable.call(ge,Re[Je])&&(we[Re[Je]]=ge[Re[Je]]);return we},$=ge=>{const{prefixCls:$e,className:we,dashed:Re}=ge,Je=Z(ge,["prefixCls","className","dashed"]),{getPrefixCls:wt}=s.useContext(L.E_),At=wt("menu",$e),ar=q()({[`${At}-item-divider-dashed`]:!!Re},we);return s.createElement(qe.iz,Object.assign({className:ar},Je))},w=o(11592),j=o(25399),X=ge=>{var $e;const{className:we,children:Re,icon:Je,title:wt,danger:At,extra:ar}=ge,{prefixCls:qt,firstLevel:Nt,direction:ht,disableMenuItemTitleTooltip:Ot,inlineCollapsed:Tt}=s.useContext(R),Ut=Er=>{const S=Re==null?void 0:Re[0],N=s.createElement("span",{className:q()(`${qt}-title-content`,{[`${qt}-title-content-with-extra`]:!!ar||ar===0})},Re);return(!Je||s.isValidElement(Re)&&Re.type==="span")&&Re&&Er&&Nt&&typeof S=="string"?s.createElement("div",{className:`${qt}-inline-collapsed-noicon`},S.charAt(0)):N},{siderCollapsed:St}=s.useContext(I.D);let gr=wt;typeof wt=="undefined"?gr=Nt?Re:"":wt===!1&&(gr="");const lr={title:gr};!St&&!Tt&&(lr.title=null,lr.open=!1);const Cr=(0,w.Z)(Re).length;let rn=s.createElement(qe.ck,Object.assign({},(0,y.Z)(ge,["title","icon","danger"]),{className:q()({[`${qt}-item-danger`]:At,[`${qt}-item-only-child`]:(Je?Cr+1:Cr)===1},we),title:typeof wt=="string"?wt:void 0}),(0,l.Tm)(Je,{className:q()(s.isValidElement(Je)?($e=Je.props)===null||$e===void 0?void 0:$e.className:"",`${qt}-item-icon`)}),Ut(Tt));return Ot||(rn=s.createElement(j.Z,Object.assign({},lr,{placement:ht==="rtl"?"left":"right",classNames:{root:`${qt}-inline-collapsed-tooltip`}}),rn)),rn},J=o(78857),Ne=o(36237),Le=o(17835),et=o(63356),Ue=o(34961),Ce=o(46e3),Oe=o(34925),Y=o(16931),xe=o(51636),E=ge=>{const{componentCls:$e,motionDurationSlow:we,horizontalLineHeight:Re,colorSplit:Je,lineWidth:wt,lineType:At,itemPaddingInline:ar}=ge;return{[`${$e}-horizontal`]:{lineHeight:Re,border:0,borderBottom:`${(0,Ne.unit)(wt)} ${At} ${Je}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${$e}-item, ${$e}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:ar},[`> ${$e}-item:hover,
> ${$e}-item-active,
> ${$e}-submenu ${$e}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${$e}-item, ${$e}-submenu-title`]:{transition:[`border-color ${we}`,`background ${we}`].join(",")},[`${$e}-submenu-arrow`]:{display:"none"}}}},ce=ge=>{let{componentCls:$e,menuArrowOffset:we,calc:Re}=ge;return{[`${$e}-rtl`]:{direction:"rtl"},[`${$e}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${$e}-rtl${$e}-vertical,
${$e}-submenu-rtl ${$e}-vertical`]:{[`${$e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,Ne.unit)(Re(we).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,Ne.unit)(we)})`}}}}};const le=ge=>Object.assign({},(0,et.oN)(ge));var _=(ge,$e)=>{const{componentCls:we,itemColor:Re,itemSelectedColor:Je,subMenuItemSelectedColor:wt,groupTitleColor:At,itemBg:ar,subMenuItemBg:qt,itemSelectedBg:Nt,activeBarHeight:ht,activeBarWidth:Ot,activeBarBorderWidth:Tt,motionDurationSlow:Ut,motionEaseInOut:St,motionEaseOut:gr,itemPaddingInline:lr,motionDurationMid:Cr,itemHoverColor:rn,lineType:Er,colorSplit:S,itemDisabledColor:N,dangerItemColor:er,dangerItemHoverColor:se,dangerItemSelectedColor:ke,dangerItemActiveBg:zr,dangerItemSelectedBg:Ir,popupBg:yn,itemHoverBg:Bn,itemActiveBg:zt,menuSubMenuBg:yr,horizontalItemSelectedColor:vr,horizontalItemSelectedBg:Tr,horizontalItemBorderRadius:f,horizontalItemHoverBg:F}=ge;return{[`${we}-${$e}, ${we}-${$e} > ${we}`]:{color:Re,background:ar,[`&${we}-root:focus-visible`]:Object.assign({},le(ge)),[`${we}-item`]:{"&-group-title, &-extra":{color:At}},[`${we}-submenu-selected > ${we}-submenu-title`]:{color:wt},[`${we}-item, ${we}-submenu-title`]:{color:Re,[`&:not(${we}-item-disabled):focus-visible`]:Object.assign({},le(ge))},[`${we}-item-disabled, ${we}-submenu-disabled`]:{color:`${N} !important`},[`${we}-item:not(${we}-item-selected):not(${we}-submenu-selected)`]:{[`&:hover, > ${we}-submenu-title:hover`]:{color:rn}},[`&:not(${we}-horizontal)`]:{[`${we}-item:not(${we}-item-selected)`]:{"&:hover":{backgroundColor:Bn},"&:active":{backgroundColor:zt}},[`${we}-submenu-title`]:{"&:hover":{backgroundColor:Bn},"&:active":{backgroundColor:zt}}},[`${we}-item-danger`]:{color:er,[`&${we}-item:hover`]:{[`&:not(${we}-item-selected):not(${we}-submenu-selected)`]:{color:se}},[`&${we}-item:active`]:{background:zr}},[`${we}-item a`]:{"&, &:hover":{color:"inherit"}},[`${we}-item-selected`]:{color:Je,[`&${we}-item-danger`]:{color:ke},"a, a:hover":{color:"inherit"}},[`& ${we}-item-selected`]:{backgroundColor:Nt,[`&${we}-item-danger`]:{backgroundColor:Ir}},[`&${we}-submenu > ${we}`]:{backgroundColor:yr},[`&${we}-popup > ${we}`]:{backgroundColor:yn},[`&${we}-submenu-popup > ${we}`]:{backgroundColor:yn},[`&${we}-horizontal`]:Object.assign(Object.assign({},$e==="dark"?{borderBottom:0}:{}),{[`> ${we}-item, > ${we}-submenu`]:{top:Tt,marginTop:ge.calc(Tt).mul(-1).equal(),marginBottom:0,borderRadius:f,"&::after":{position:"absolute",insetInline:lr,bottom:0,borderBottom:`${(0,Ne.unit)(ht)} solid transparent`,transition:`border-color ${Ut} ${St}`,content:'""'},"&:hover, &-active, &-open":{background:F,"&::after":{borderBottomWidth:ht,borderBottomColor:vr}},"&-selected":{color:vr,backgroundColor:Tr,"&:hover":{backgroundColor:Tr},"&::after":{borderBottomWidth:ht,borderBottomColor:vr}}}}),[`&${we}-root`]:{[`&${we}-inline, &${we}-vertical`]:{borderInlineEnd:`${(0,Ne.unit)(Tt)} ${Er} ${S}`}},[`&${we}-inline`]:{[`${we}-sub${we}-inline`]:{background:qt},[`${we}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,Ne.unit)(Ot)} solid ${Je}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Cr} ${gr}`,`opacity ${Cr} ${gr}`].join(","),content:'""'},[`&${we}-item-danger`]:{"&::after":{borderInlineEndColor:ke}}},[`${we}-selected, ${we}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Cr} ${St}`,`opacity ${Cr} ${St}`].join(",")}}}}}};const re=ge=>{const{componentCls:$e,itemHeight:we,itemMarginInline:Re,padding:Je,menuArrowSize:wt,marginXS:At,itemMarginBlock:ar,itemWidth:qt,itemPaddingInline:Nt}=ge,ht=ge.calc(wt).add(Je).add(At).equal();return{[`${$e}-item`]:{position:"relative",overflow:"hidden"},[`${$e}-item, ${$e}-submenu-title`]:{height:we,lineHeight:(0,Ne.unit)(we),paddingInline:Nt,overflow:"hidden",textOverflow:"ellipsis",marginInline:Re,marginBlock:ar,width:qt},[`> ${$e}-item,
> ${$e}-submenu > ${$e}-submenu-title`]:{height:we,lineHeight:(0,Ne.unit)(we)},[`${$e}-item-group-list ${$e}-submenu-title,
${$e}-submenu-title`]:{paddingInlineEnd:ht}}};var ne=ge=>{const{componentCls:$e,iconCls:we,itemHeight:Re,colorTextLightSolid:Je,dropdownWidth:wt,controlHeightLG:At,motionEaseOut:ar,paddingXL:qt,itemMarginInline:Nt,fontSizeLG:ht,motionDurationFast:Ot,motionDurationSlow:Tt,paddingXS:Ut,boxShadowSecondary:St,collapsedWidth:gr,collapsedIconSize:lr}=ge,Cr={height:Re,lineHeight:(0,Ne.unit)(Re),listStylePosition:"inside",listStyleType:"disc"};return[{[$e]:{"&-inline, &-vertical":Object.assign({[`&${$e}-root`]:{boxShadow:"none"}},re(ge))},[`${$e}-submenu-popup`]:{[`${$e}-vertical`]:Object.assign(Object.assign({},re(ge)),{boxShadow:St})}},{[`${$e}-submenu-popup ${$e}-vertical${$e}-sub`]:{minWidth:wt,maxHeight:`calc(100vh - ${(0,Ne.unit)(ge.calc(At).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${$e}-inline`]:{width:"100%",[`&${$e}-root`]:{[`${$e}-item, ${$e}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Tt}`,`background ${Tt}`,`padding ${Ot} ${ar}`].join(","),[`> ${$e}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${$e}-sub${$e}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${$e}-submenu > ${$e}-submenu-title`]:Cr,[`& ${$e}-item-group-title`]:{paddingInlineStart:qt}},[`${$e}-item`]:Cr}},{[`${$e}-inline-collapsed`]:{width:gr,[`&${$e}-root`]:{[`${$e}-item, ${$e}-submenu ${$e}-submenu-title`]:{[`> ${$e}-inline-collapsed-noicon`]:{fontSize:ht,textAlign:"center"}}},[`> ${$e}-item,
> ${$e}-item-group > ${$e}-item-group-list > ${$e}-item,
> ${$e}-item-group > ${$e}-item-group-list > ${$e}-submenu > ${$e}-submenu-title,
> ${$e}-submenu > ${$e}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,Ne.unit)(ge.calc(lr).div(2).equal())} - ${(0,Ne.unit)(Nt)})`,textOverflow:"clip",[`
${$e}-submenu-arrow,
${$e}-submenu-expand-icon
`]:{opacity:0},[`${$e}-item-icon, ${we}`]:{margin:0,fontSize:lr,lineHeight:(0,Ne.unit)(Re),"+ span":{display:"inline-block",opacity:0}}},[`${$e}-item-icon, ${we}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${$e}-item-icon, ${we}`]:{display:"none"},"a, a:hover":{color:Je}},[`${$e}-item-group-title`]:Object.assign(Object.assign({},et.vS),{paddingInline:Ut})}}]};const Fe=ge=>{const{componentCls:$e,motionDurationSlow:we,motionDurationMid:Re,motionEaseInOut:Je,motionEaseOut:wt,iconCls:At,iconSize:ar,iconMarginInlineEnd:qt}=ge;return{[`${$e}-item, ${$e}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${we}`,`background ${we}`,`padding calc(${we} + 0.1s) ${Je}`].join(","),[`${$e}-item-icon, ${At}`]:{minWidth:ar,fontSize:ar,transition:[`font-size ${Re} ${wt}`,`margin ${we} ${Je}`,`color ${we}`].join(","),"+ span":{marginInlineStart:qt,opacity:1,transition:[`opacity ${we} ${Je}`,`margin ${we}`,`color ${we}`].join(",")}},[`${$e}-item-icon`]:Object.assign({},(0,et.Ro)()),[`&${$e}-item-only-child`]:{[`> ${At}, > ${$e}-item-icon`]:{marginInlineEnd:0}}},[`${$e}-item-disabled, ${$e}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${$e}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},ye=ge=>{const{componentCls:$e,motionDurationSlow:we,motionEaseInOut:Re,borderRadius:Je,menuArrowSize:wt,menuArrowOffset:At}=ge;return{[`${$e}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:ge.margin,width:wt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${we} ${Re}, opacity ${we}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:ge.calc(wt).mul(.6).equal(),height:ge.calc(wt).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:Je,transition:[`background ${we} ${Re}`,`transform ${we} ${Re}`,`top ${we} ${Re}`,`color ${we} ${Re}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,Ne.unit)(ge.calc(At).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,Ne.unit)(At)})`}}}}},lt=ge=>{const{antCls:$e,componentCls:we,fontSize:Re,motionDurationSlow:Je,motionDurationMid:wt,motionEaseInOut:At,paddingXS:ar,padding:qt,colorSplit:Nt,lineWidth:ht,zIndexPopup:Ot,borderRadiusLG:Tt,subMenuItemBorderRadius:Ut,menuArrowSize:St,menuArrowOffset:gr,lineType:lr,groupTitleLineHeight:Cr,groupTitleFontSize:rn}=ge;return[{"":{[we]:Object.assign(Object.assign({},(0,et.dF)()),{"&-hidden":{display:"none"}})},[`${we}-submenu-hidden`]:{display:"none"}},{[we]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,et.Wf)(ge)),(0,et.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Re,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",[`${we}-item`]:{flex:"none"}},[`${we}-item, ${we}-submenu, ${we}-submenu-title`]:{borderRadius:ge.itemBorderRadius},[`${we}-item-group-title`]:{padding:`${(0,Ne.unit)(ar)} ${(0,Ne.unit)(qt)}`,fontSize:rn,lineHeight:Cr,transition:`all ${Je}`},[`&-horizontal ${we}-submenu`]:{transition:[`border-color ${Je} ${At}`,`background ${Je} ${At}`].join(",")},[`${we}-submenu, ${we}-submenu-inline`]:{transition:[`border-color ${Je} ${At}`,`background ${Je} ${At}`,`padding ${wt} ${At}`].join(",")},[`${we}-submenu ${we}-sub`]:{cursor:"initial",transition:[`background ${Je} ${At}`,`padding ${Je} ${At}`].join(",")},[`${we}-title-content`]:{transition:`color ${Je}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${$e}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${we}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:ge.padding}},[`${we}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${we}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Nt,borderStyle:lr,borderWidth:0,borderTopWidth:ht,marginBlock:ht,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Fe(ge)),{[`${we}-item-group`]:{[`${we}-item-group-list`]:{margin:0,padding:0,[`${we}-item, ${we}-submenu-title`]:{paddingInline:`${(0,Ne.unit)(ge.calc(Re).mul(2).equal())} ${(0,Ne.unit)(qt)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Ot,borderRadius:Tt,boxShadow:"none",transformOrigin:"0 0",[`&${we}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${we}`]:Object.assign(Object.assign(Object.assign({borderRadius:Tt},Fe(ge)),ye(ge)),{[`${we}-item, ${we}-submenu > ${we}-submenu-title`]:{borderRadius:Ut},[`${we}-submenu-title::after`]:{transition:`transform ${Je} ${At}`}})},"\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:ge.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:ge.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:ge.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:ge.paddingXS}}}),ye(ge)),{[`&-inline-collapsed ${we}-submenu-arrow,
&-inline ${we}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,Ne.unit)(gr)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,Ne.unit)(ge.calc(gr).mul(-1).equal())})`}},[`${we}-submenu-open${we}-submenu-inline > ${we}-submenu-title > ${we}-submenu-arrow`]:{transform:`translateY(${(0,Ne.unit)(ge.calc(St).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,Ne.unit)(ge.calc(gr).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,Ne.unit)(gr)})`}}})},{[`${$e}-layout-header`]:{[we]:{lineHeight:"inherit"}}}]},ft=ge=>{var $e,we,Re;const{colorPrimary:Je,colorError:wt,colorTextDisabled:At,colorErrorBg:ar,colorText:qt,colorTextDescription:Nt,colorBgContainer:ht,colorFillAlter:Ot,colorFillContent:Tt,lineWidth:Ut,lineWidthBold:St,controlItemBgActive:gr,colorBgTextHover:lr,controlHeightLG:Cr,lineHeight:rn,colorBgElevated:Er,marginXXS:S,padding:N,fontSize:er,controlHeightSM:se,fontSizeLG:ke,colorTextLightSolid:zr,colorErrorHover:Ir}=ge,yn=($e=ge.activeBarWidth)!==null&&$e!==void 0?$e:0,Bn=(we=ge.activeBarBorderWidth)!==null&&we!==void 0?we:Ut,zt=(Re=ge.itemMarginInline)!==null&&Re!==void 0?Re:ge.marginXXS,yr=new Le.FastColor(zr).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ge.zIndexPopupBase+50,radiusItem:ge.borderRadiusLG,itemBorderRadius:ge.borderRadiusLG,radiusSubMenuItem:ge.borderRadiusSM,subMenuItemBorderRadius:ge.borderRadiusSM,colorItemText:qt,itemColor:qt,colorItemTextHover:qt,itemHoverColor:qt,colorItemTextHoverHorizontal:Je,horizontalItemHoverColor:Je,colorGroupTitle:Nt,groupTitleColor:Nt,colorItemTextSelected:Je,itemSelectedColor:Je,subMenuItemSelectedColor:Je,colorItemTextSelectedHorizontal:Je,horizontalItemSelectedColor:Je,colorItemBg:ht,itemBg:ht,colorItemBgHover:lr,itemHoverBg:lr,colorItemBgActive:Tt,itemActiveBg:gr,colorSubItemBg:Ot,subMenuItemBg:Ot,colorItemBgSelected:gr,itemSelectedBg:gr,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:yn,colorActiveBarHeight:St,activeBarHeight:St,colorActiveBarBorderSize:Ut,activeBarBorderWidth:Bn,colorItemTextDisabled:At,itemDisabledColor:At,colorDangerItemText:wt,dangerItemColor:wt,colorDangerItemTextHover:wt,dangerItemHoverColor:wt,colorDangerItemTextSelected:wt,dangerItemSelectedColor:wt,colorDangerItemBgActive:ar,dangerItemActiveBg:ar,colorDangerItemBgSelected:ar,dangerItemSelectedBg:ar,itemMarginInline:zt,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Cr,groupTitleLineHeight:rn,collapsedWidth:Cr*2,popupBg:Er,itemMarginBlock:S,itemPaddingInline:N,horizontalLineHeight:`${Cr*1.15}px`,iconSize:er,iconMarginInlineEnd:se-er,collapsedIconSize:ke,groupTitleFontSize:er,darkItemDisabledColor:new Le.FastColor(zr).setA(.25).toRgbString(),darkItemColor:yr,darkDangerItemColor:wt,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:zr,darkItemSelectedBg:Je,darkDangerItemSelectedBg:wt,darkItemHoverBg:"transparent",darkGroupTitleColor:yr,darkItemHoverColor:zr,darkDangerItemHoverColor:Ir,darkDangerItemSelectedColor:zr,darkDangerItemActiveBg:wt,itemWidth:yn?`calc(100% + ${Bn}px)`:`calc(100% - ${zt*2}px)`}};var pt=function(ge){let $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge,we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,Y.I$)("Menu",Je=>{const{colorBgElevated:wt,controlHeightLG:At,fontSize:ar,darkItemColor:qt,darkDangerItemColor:Nt,darkItemBg:ht,darkSubMenuItemBg:Ot,darkItemSelectedColor:Tt,darkItemSelectedBg:Ut,darkDangerItemSelectedBg:St,darkItemHoverBg:gr,darkGroupTitleColor:lr,darkItemHoverColor:Cr,darkItemDisabledColor:rn,darkDangerItemHoverColor:Er,darkDangerItemSelectedColor:S,darkDangerItemActiveBg:N,popupBg:er,darkPopupBg:se}=Je,ke=Je.calc(ar).div(7).mul(5).equal(),zr=(0,xe.mergeToken)(Je,{menuArrowSize:ke,menuHorizontalHeight:Je.calc(At).mul(1.15).equal(),menuArrowOffset:Je.calc(ke).mul(.25).equal(),menuSubMenuBg:wt,calc:Je.calc,popupBg:er}),Ir=(0,xe.mergeToken)(zr,{itemColor:qt,itemHoverColor:Cr,groupTitleColor:lr,itemSelectedColor:Tt,subMenuItemSelectedColor:Tt,itemBg:ht,popupBg:se,subMenuItemBg:Ot,itemActiveBg:"transparent",itemSelectedBg:Ut,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:gr,itemDisabledColor:rn,dangerItemColor:Nt,dangerItemHoverColor:Er,dangerItemSelectedColor:S,dangerItemActiveBg:N,dangerItemSelectedBg:St,menuSubMenuBg:Ot,horizontalItemSelectedColor:Tt,horizontalItemSelectedBg:Ut});return[lt(zr),E(zr),ne(zr),_(zr,"light"),_(Ir,"dark"),ce(zr),(0,Ue.Z)(zr),(0,Ce.oN)(zr,"slide-up"),(0,Ce.oN)(zr,"slide-down"),(0,Oe._y)(zr,"zoom-big")]},ft,{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:we,unitless:{groupTitleLineHeight:!0}})(ge,$e)},he=o(75030),jt=ge=>{var $e;const{popupClassName:we,icon:Re,title:Je,theme:wt}=ge,At=s.useContext(R),{prefixCls:ar,inlineCollapsed:qt,theme:Nt}=At,ht=(0,qe.Xl)();let Ot;if(!Re)Ot=qt&&!ht.length&&Je&&typeof Je=="string"?s.createElement("div",{className:`${ar}-inline-collapsed-noicon`},Je.charAt(0)):s.createElement("span",{className:`${ar}-title-content`},Je);else{const St=s.isValidElement(Je)&&Je.type==="span";Ot=s.createElement(s.Fragment,null,(0,l.Tm)(Re,{className:q()(s.isValidElement(Re)?($e=Re.props)===null||$e===void 0?void 0:$e.className:"",`${ar}-item-icon`)}),St?Je:s.createElement("span",{className:`${ar}-title-content`},Je))}const Tt=s.useMemo(()=>Object.assign(Object.assign({},At),{firstLevel:!1}),[At]),[Ut]=(0,he.Cn)("Menu");return s.createElement(R.Provider,{value:Tt},s.createElement(qe.Wd,Object.assign({},(0,y.Z)(ge,["icon"]),{title:Ot,popupClassName:q()(ar,we,`${ar}-${wt||Nt}`),popupStyle:Object.assign({zIndex:Ut},ge.popupStyle)})))},ze=function(ge,$e){var we={};for(var Re in ge)Object.prototype.hasOwnProperty.call(ge,Re)&&$e.indexOf(Re)<0&&(we[Re]=ge[Re]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,Re=Object.getOwnPropertySymbols(ge);Je<Re.length;Je++)$e.indexOf(Re[Je])<0&&Object.prototype.propertyIsEnumerable.call(ge,Re[Je])&&(we[Re[Je]]=ge[Re[Je]]);return we};function Be(ge){return ge===null||ge===!1}const P={item:X,submenu:jt,divider:$};var Se=(0,s.forwardRef)((ge,$e)=>{var we;const Re=s.useContext(J.Z),Je=Re||{},{getPrefixCls:wt,getPopupContainer:At,direction:ar,menu:qt}=s.useContext(L.E_),Nt=wt(),{prefixCls:ht,className:Ot,style:Tt,theme:Ut="light",expandIcon:St,_internalDisableMenuItemTitleTooltip:gr,inlineCollapsed:lr,siderCollapsed:Cr,rootClassName:rn,mode:Er,selectable:S,onClick:N,overflowedIndicatorPopupClassName:er}=ge,se=ze(ge,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),ke=(0,y.Z)(se,["collapsedWidth"]);(we=Je.validator)===null||we===void 0||we.call(Je,{mode:Er});const zr=(0,Q.Z)(function(){var bn;N==null||N.apply(void 0,arguments),(bn=Je.onClick)===null||bn===void 0||bn.call(Je)}),Ir=Je.mode||Er,yn=S!=null?S:Je.selectable,Bn=lr!=null?lr:Cr,zt={horizontal:{motionName:`${Nt}-slide-up`},inline:(0,U.Z)(Nt),other:{motionName:`${Nt}-zoom-big`}},yr=wt("menu",ht||Je.prefixCls),vr=(0,W.Z)(yr),[Tr,f,F]=pt(yr,vr,!Re),Ae=q()(`${yr}-${Ut}`,qt==null?void 0:qt.className,Ot),ae=s.useMemo(()=>{var bn,yt;if(typeof St=="function"||Be(St))return St||null;if(typeof Je.expandIcon=="function"||Be(Je.expandIcon))return Je.expandIcon||null;if(typeof(qt==null?void 0:qt.expandIcon)=="function"||Be(qt==null?void 0:qt.expandIcon))return(qt==null?void 0:qt.expandIcon)||null;const Vt=(bn=St!=null?St:Je==null?void 0:Je.expandIcon)!==null&&bn!==void 0?bn:qt==null?void 0:qt.expandIcon;return(0,l.Tm)(Vt,{className:q()(`${yr}-submenu-expand-icon`,s.isValidElement(Vt)?(yt=Vt.props)===null||yt===void 0?void 0:yt.className:void 0)})},[St,Je==null?void 0:Je.expandIcon,qt==null?void 0:qt.expandIcon,yr]),bt=s.useMemo(()=>({prefixCls:yr,inlineCollapsed:Bn||!1,direction:ar,firstLevel:!0,theme:Ut,mode:Ir,disableMenuItemTitleTooltip:gr}),[yr,Bn,ar,gr,Ut]);return Tr(s.createElement(J.Z.Provider,{value:null},s.createElement(R.Provider,{value:bt},s.createElement(qe.ZP,Object.assign({getPopupContainer:At,overflowedIndicator:s.createElement(He.Z,null),overflowedIndicatorPopupClassName:q()(yr,`${yr}-${Ut}`,er),mode:Ir,selectable:yn,onClick:zr},ke,{inlineCollapsed:Bn,style:Object.assign(Object.assign({},qt==null?void 0:qt.style),Tt),className:Ae,prefixCls:yr,direction:ar,defaultMotions:zt,expandIcon:ae,ref:$e,rootClassName:q()(rn,f,Je.rootClassName,F,vr),_internalComponents:P})))))});const fe=(0,s.forwardRef)((ge,$e)=>{const we=(0,s.useRef)(null),Re=s.useContext(I.D);return(0,s.useImperativeHandle)($e,()=>({menu:we.current,focus:Je=>{var wt;(wt=we.current)===null||wt===void 0||wt.focus(Je)}})),s.createElement(Se,Object.assign({ref:we},ge,Re))});fe.Item=X,fe.SubMenu=jt,fe.Divider=$,fe.ItemGroup=qe.BW;var ue=fe},13747:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return pt}});var s=o(59301),qe=o(67711),I={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"},He=I,te=o(7657),q=function(We,jt){return s.createElement(te.Z,(0,qe.Z)({},We,{ref:jt,icon:He}))},Q=s.forwardRef(q),y=Q,U=o(49198),l=o(33853),L=o(38819),W=o(92310),G=o.n(W),R=o(23425),Z=o(61852),A=o(48755),$=o(31756),w=o(13783),j=o(9017),de=o(82326),X=o(57700),J=o(36237),Ne=o(53075),Le=o(64910),et=o(39082),Ue=o(63356),Ce=o(51636),Oe=o(16931);const Y=he=>{const{componentCls:We}=he;return{[`${We}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${We}-item-link`]:{color:he.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${We}-item-link`]:{color:he.colorTextDisabled,cursor:"not-allowed"}}},[`&${We}-disabled`]:{cursor:"not-allowed",[`${We}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:he.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:he.colorBorder,backgroundColor:he.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:he.itemActiveBgDisabled},a:{color:he.itemActiveColorDisabled}}},[`${We}-item-link`]:{color:he.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${We}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${We}-simple-pager`]:{color:he.colorTextDisabled},[`${We}-jump-prev, ${We}-jump-next`]:{[`${We}-item-link-icon`]:{opacity:0},[`${We}-item-ellipsis`]:{opacity:1}}},[`&${We}-simple`]:{[`${We}-prev, ${We}-next`]:{[`&${We}-disabled ${We}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},xe=he=>{const{componentCls:We}=he;return{[`&${We}-mini ${We}-total-text, &${We}-mini ${We}-simple-pager`]:{height:he.itemSizeSM,lineHeight:(0,J.unit)(he.itemSizeSM)},[`&${We}-mini ${We}-item`]:{minWidth:he.itemSizeSM,height:he.itemSizeSM,margin:0,lineHeight:(0,J.unit)(he.calc(he.itemSizeSM).sub(2).equal())},[`&${We}-mini ${We}-prev, &${We}-mini ${We}-next`]:{minWidth:he.itemSizeSM,height:he.itemSizeSM,margin:0,lineHeight:(0,J.unit)(he.itemSizeSM)},[`&${We}-mini:not(${We}-disabled)`]:{[`${We}-prev, ${We}-next`]:{[`&:hover ${We}-item-link`]:{backgroundColor:he.colorBgTextHover},[`&:active ${We}-item-link`]:{backgroundColor:he.colorBgTextActive},[`&${We}-disabled:hover ${We}-item-link`]:{backgroundColor:"transparent"}}},[`
&${We}-mini ${We}-prev ${We}-item-link,
&${We}-mini ${We}-next ${We}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:he.itemSizeSM,lineHeight:(0,J.unit)(he.itemSizeSM)}},[`&${We}-mini ${We}-jump-prev, &${We}-mini ${We}-jump-next`]:{height:he.itemSizeSM,marginInlineEnd:0,lineHeight:(0,J.unit)(he.itemSizeSM)},[`&${We}-mini ${We}-options`]:{marginInlineStart:he.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:he.miniOptionsSizeChangerTop},"&-quick-jumper":{height:he.itemSizeSM,lineHeight:(0,J.unit)(he.itemSizeSM),input:Object.assign(Object.assign({},(0,Ne.x0)(he)),{width:he.paginationMiniQuickJumperInputWidth,height:he.controlHeightSM})}}}},M=he=>{const{componentCls:We}=he;return{[`
&${We}-simple ${We}-prev,
&${We}-simple ${We}-next
`]:{height:he.itemSizeSM,lineHeight:(0,J.unit)(he.itemSizeSM),verticalAlign:"top",[`${We}-item-link`]:{height:he.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:he.colorBgTextHover},"&:active":{backgroundColor:he.colorBgTextActive},"&::after":{height:he.itemSizeSM,lineHeight:(0,J.unit)(he.itemSizeSM)}}},[`&${We}-simple ${We}-simple-pager`]:{display:"inline-block",height:he.itemSizeSM,marginInlineEnd:he.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,J.unit)(he.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:he.itemInputBg,border:`${(0,J.unit)(he.lineWidth)} ${he.lineType} ${he.colorBorder}`,borderRadius:he.borderRadius,outline:"none",transition:`border-color ${he.motionDurationMid}`,color:"inherit","&:hover":{borderColor:he.colorPrimary},"&:focus":{borderColor:he.colorPrimaryHover,boxShadow:`${(0,J.unit)(he.inputOutlineOffset)} 0 ${(0,J.unit)(he.controlOutlineWidth)} ${he.controlOutline}`},"&[disabled]":{color:he.colorTextDisabled,backgroundColor:he.colorBgContainerDisabled,borderColor:he.colorBorder,cursor:"not-allowed"}}}}},E=he=>{const{componentCls:We}=he;return{[`${We}-jump-prev, ${We}-jump-next`]:{outline:0,[`${We}-item-container`]:{position:"relative",[`${We}-item-link-icon`]:{color:he.colorPrimary,fontSize:he.fontSizeSM,opacity:0,transition:`all ${he.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${We}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:he.colorTextDisabled,letterSpacing:he.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:he.paginationEllipsisTextIndent,opacity:1,transition:`all ${he.motionDurationMid}`}},"&:hover":{[`${We}-item-link-icon`]:{opacity:1},[`${We}-item-ellipsis`]:{opacity:0}}},[`
${We}-prev,
${We}-jump-prev,
${We}-jump-next
`]:{marginInlineEnd:he.marginXS},[`
${We}-prev,
${We}-next,
${We}-jump-prev,
${We}-jump-next
`]:{display:"inline-block",minWidth:he.itemSize,height:he.itemSize,color:he.colorText,fontFamily:he.fontFamily,lineHeight:(0,J.unit)(he.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:he.borderRadius,cursor:"pointer",transition:`all ${he.motionDurationMid}`},[`${We}-prev, ${We}-next`]:{outline:0,button:{color:he.colorText,cursor:"pointer",userSelect:"none"},[`${We}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:he.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,J.unit)(he.lineWidth)} ${he.lineType} transparent`,borderRadius:he.borderRadius,outline:"none",transition:`all ${he.motionDurationMid}`},[`&:hover ${We}-item-link`]:{backgroundColor:he.colorBgTextHover},[`&:active ${We}-item-link`]:{backgroundColor:he.colorBgTextActive},[`&${We}-disabled:hover`]:{[`${We}-item-link`]:{backgroundColor:"transparent"}}},[`${We}-slash`]:{marginInlineEnd:he.paginationSlashMarginInlineEnd,marginInlineStart:he.paginationSlashMarginInlineStart},[`${We}-options`]:{display:"inline-block",marginInlineStart:he.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:he.controlHeight,marginInlineStart:he.marginXS,lineHeight:(0,J.unit)(he.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,Ne.ik)(he)),(0,et.$U)(he,{borderColor:he.colorBorder,hoverBorderColor:he.colorPrimaryHover,activeBorderColor:he.colorPrimary,activeShadow:he.activeShadow})),{"&[disabled]":Object.assign({},(0,et.Xy)(he)),width:he.calc(he.controlHeightLG).mul(1.25).equal(),height:he.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:he.marginXS,marginInlineEnd:he.marginXS})}}}},st=he=>{const{componentCls:We}=he;return{[`${We}-item`]:{display:"inline-block",minWidth:he.itemSize,height:he.itemSize,marginInlineEnd:he.marginXS,fontFamily:he.fontFamily,lineHeight:(0,J.unit)(he.calc(he.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:he.itemBg,border:`${(0,J.unit)(he.lineWidth)} ${he.lineType} transparent`,borderRadius:he.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,J.unit)(he.paginationItemPaddingInline)}`,color:he.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${We}-item-active)`]:{"&:hover":{transition:`all ${he.motionDurationMid}`,backgroundColor:he.colorBgTextHover},"&:active":{backgroundColor:he.colorBgTextActive}},"&-active":{fontWeight:he.fontWeightStrong,backgroundColor:he.itemActiveBg,borderColor:he.colorPrimary,a:{color:he.colorPrimary},"&:hover":{borderColor:he.colorPrimaryHover},"&:hover a":{color:he.colorPrimaryHover}}}}},ce=he=>{const{componentCls:We}=he;return{[We]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ue.Wf)(he)),{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:'""'},[`${We}-total-text`]:{display:"inline-block",height:he.itemSize,marginInlineEnd:he.marginXS,lineHeight:(0,J.unit)(he.calc(he.itemSize).sub(2).equal()),verticalAlign:"middle"}}),st(he)),E(he)),M(he)),xe(he)),Y(he)),{[`@media only screen and (max-width: ${he.screenLG}px)`]:{[`${We}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${he.screenSM}px)`]:{[`${We}-options`]:{display:"none"}}}),[`&${he.componentCls}-rtl`]:{direction:"rtl"}}},le=he=>{const{componentCls:We}=he;return{[`${We}:not(${We}-disabled)`]:{[`${We}-item`]:Object.assign({},(0,Ue.Qy)(he)),[`${We}-jump-prev, ${We}-jump-next`]:{"&:focus-visible":Object.assign({[`${We}-item-link-icon`]:{opacity:1},[`${We}-item-ellipsis`]:{opacity:0}},(0,Ue.oN)(he))},[`${We}-prev, ${We}-next`]:{[`&:focus-visible ${We}-item-link`]:Object.assign({},(0,Ue.oN)(he))}}}},H=he=>Object.assign({itemBg:he.colorBgContainer,itemSize:he.controlHeight,itemSizeSM:he.controlHeightSM,itemActiveBg:he.colorBgContainer,itemLinkBg:he.colorBgContainer,itemActiveColorDisabled:he.colorTextDisabled,itemActiveBgDisabled:he.controlItemBgActiveDisabled,itemInputBg:he.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Le.T)(he)),_=he=>(0,Ce.mergeToken)(he,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:he.calc(he.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:he.calc(he.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:he.calc(he.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:he.calc(he.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:he.marginSM,paginationSlashMarginInlineEnd:he.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Le.e)(he));var re=(0,Oe.I$)("Pagination",he=>{const We=_(he);return[ce(We),le(We)]},H);const T=he=>{const{componentCls:We}=he;return{[`${We}${We}-bordered${We}-disabled:not(${We}-mini)`]:{"&, &:hover":{[`${We}-item-link`]:{borderColor:he.colorBorder}},"&:focus-visible":{[`${We}-item-link`]:{borderColor:he.colorBorder}},[`${We}-item, ${We}-item-link`]:{backgroundColor:he.colorBgContainerDisabled,borderColor:he.colorBorder,[`&:hover:not(${We}-item-active)`]:{backgroundColor:he.colorBgContainerDisabled,borderColor:he.colorBorder,a:{color:he.colorTextDisabled}},[`&${We}-item-active`]:{backgroundColor:he.itemActiveBgDisabled}},[`${We}-prev, ${We}-next`]:{"&:hover button":{backgroundColor:he.colorBgContainerDisabled,borderColor:he.colorBorder,color:he.colorTextDisabled},[`${We}-item-link`]:{backgroundColor:he.colorBgContainerDisabled,borderColor:he.colorBorder}}},[`${We}${We}-bordered:not(${We}-mini)`]:{[`${We}-prev, ${We}-next`]:{"&:hover button":{borderColor:he.colorPrimaryHover,backgroundColor:he.itemBg},[`${We}-item-link`]:{backgroundColor:he.itemLinkBg,borderColor:he.colorBorder},[`&:hover ${We}-item-link`]:{borderColor:he.colorPrimary,backgroundColor:he.itemBg,color:he.colorPrimary},[`&${We}-disabled`]:{[`${We}-item-link`]:{borderColor:he.colorBorder,color:he.colorTextDisabled}}},[`${We}-item`]:{backgroundColor:he.itemBg,border:`${(0,J.unit)(he.lineWidth)} ${he.lineType} ${he.colorBorder}`,[`&:hover:not(${We}-item-active)`]:{borderColor:he.colorPrimary,backgroundColor:he.itemBg,a:{color:he.colorPrimary}},"&-active":{borderColor:he.colorPrimary}}}}};var ne=(0,Oe.bk)(["Pagination","bordered"],he=>{const We=_(he);return[T(We)]},H);function Fe(he){return(0,s.useMemo)(()=>typeof he=="boolean"?[he,{}]:he&&typeof he=="object"?[!0,he]:[void 0,void 0],[he])}var ye=function(he,We){var jt={};for(var ze in he)Object.prototype.hasOwnProperty.call(he,ze)&&We.indexOf(ze)<0&&(jt[ze]=he[ze]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,ze=Object.getOwnPropertySymbols(he);Be<ze.length;Be++)We.indexOf(ze[Be])<0&&Object.prototype.propertyIsEnumerable.call(he,ze[Be])&&(jt[ze[Be]]=he[ze[Be]]);return jt},ft=he=>{const{align:We,prefixCls:jt,selectPrefixCls:ze,className:Be,rootClassName:P,style:ct,size:Se,locale:fe,responsive:ue,showSizeChanger:ge,selectComponentClass:$e,pageSizeOptions:we}=he,Re=ye(he,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Je}=(0,w.Z)(ue),[,wt]=(0,X.ZP)(),{getPrefixCls:At,direction:ar,showSizeChanger:qt,className:Nt,style:ht}=(0,A.dj)("pagination"),Ot=At("pagination",jt),[Tt,Ut,St]=re(Ot),gr=(0,$.Z)(Se),lr=gr==="small"||!!(Je&&!gr&&ue),[Cr]=(0,j.Z)("Pagination",Z.Z),rn=Object.assign(Object.assign({},Cr),fe),[Er,S]=Fe(ge),[N,er]=Fe(qt),se=Er!=null?Er:N,ke=S!=null?S:er,zr=$e||de.default,Ir=s.useMemo(()=>we?we.map(Tr=>Number(Tr)):void 0,[we]),yn=Tr=>{var f;const{disabled:F,size:Ae,onSizeChange:ae,"aria-label":bt,className:bn,options:yt}=Tr,{className:Vt,onChange:Wr}=ke||{},Nr=(f=yt.find(Qr=>String(Qr.value)===String(Ae)))===null||f===void 0?void 0:f.value;return s.createElement(zr,Object.assign({disabled:F,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:Qr=>Qr.parentNode,"aria-label":bt,options:yt},ke,{value:Nr,onChange:(Qr,vn)=>{ae==null||ae(Qr),Wr==null||Wr(Qr,vn)},size:lr?"small":"middle",className:G()(bn,Vt)}))},Bn=s.useMemo(()=>{const Tr=s.createElement("span",{className:`${Ot}-item-ellipsis`},"\u2022\u2022\u2022"),f=s.createElement("button",{className:`${Ot}-item-link`,type:"button",tabIndex:-1},ar==="rtl"?s.createElement(L.Z,null):s.createElement(l.Z,null)),F=s.createElement("button",{className:`${Ot}-item-link`,type:"button",tabIndex:-1},ar==="rtl"?s.createElement(l.Z,null):s.createElement(L.Z,null)),Ae=s.createElement("a",{className:`${Ot}-item-link`},s.createElement("div",{className:`${Ot}-item-container`},ar==="rtl"?s.createElement(U.Z,{className:`${Ot}-item-link-icon`}):s.createElement(y,{className:`${Ot}-item-link-icon`}),Tr)),ae=s.createElement("a",{className:`${Ot}-item-link`},s.createElement("div",{className:`${Ot}-item-container`},ar==="rtl"?s.createElement(y,{className:`${Ot}-item-link-icon`}):s.createElement(U.Z,{className:`${Ot}-item-link-icon`}),Tr));return{prevIcon:f,nextIcon:F,jumpPrevIcon:Ae,jumpNextIcon:ae}},[ar,Ot]),zt=At("select",ze),yr=G()({[`${Ot}-${We}`]:!!We,[`${Ot}-mini`]:lr,[`${Ot}-rtl`]:ar==="rtl",[`${Ot}-bordered`]:wt.wireframe},Nt,Be,P,Ut,St),vr=Object.assign(Object.assign({},ht),ct);return Tt(s.createElement(s.Fragment,null,wt.wireframe&&s.createElement(ne,{prefixCls:Ot}),s.createElement(R.Z,Object.assign({},Bn,Re,{style:vr,prefixCls:Ot,selectPrefixCls:zt,className:yr,locale:rn,pageSizeOptions:Ir,showSizeChanger:se,sizeChangerRender:yn}))))},pt=ft},93725:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return Ce}});var s=o(59301),qe=o(96512),I=o(92310),He=o.n(I),te=o(18929),q=o(2738),Q=o(48755),y=o(37639),U=o(15565),l=o(54500),L=o(99571),W=o(61670),G=o(9017),R=o(85981),Z=o(69106),A=o(16931);const $=Oe=>{const{componentCls:Y,iconCls:xe,antCls:M,zIndexPopup:E,colorText:st,colorWarning:ce,marginXXS:le,marginXS:H,fontSize:_,fontWeightStrong:re,colorTextHeading:T}=Oe;return{[Y]:{zIndex:E,[`&${M}-popover`]:{fontSize:_},[`${Y}-message`]:{marginBottom:H,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${Y}-message-icon ${xe}`]:{color:ce,fontSize:_,lineHeight:1,marginInlineEnd:H},[`${Y}-title`]:{fontWeight:re,color:T,"&:only-child":{fontWeight:"normal"}},[`${Y}-description`]:{marginTop:le,color:st}},[`${Y}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:H}}}}},w=Oe=>{const{zIndexPopupBase:Y}=Oe;return{zIndexPopup:Y+60}};var j=(0,A.I$)("Popconfirm",Oe=>$(Oe),w,{resetStyle:!1}),de=function(Oe,Y){var xe={};for(var M in Oe)Object.prototype.hasOwnProperty.call(Oe,M)&&Y.indexOf(M)<0&&(xe[M]=Oe[M]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,M=Object.getOwnPropertySymbols(Oe);E<M.length;E++)Y.indexOf(M[E])<0&&Object.prototype.propertyIsEnumerable.call(Oe,M[E])&&(xe[M[E]]=Oe[M[E]]);return xe};const X=Oe=>{const{prefixCls:Y,okButtonProps:xe,cancelButtonProps:M,title:E,description:st,cancelText:ce,okText:le,okType:H="primary",icon:_=s.createElement(qe.Z,null),showCancel:re=!0,close:T,onConfirm:ne,onCancel:Fe,onPopupClick:ye}=Oe,{getPrefixCls:lt}=s.useContext(Q.E_),[ft]=(0,G.Z)("Popconfirm",R.Z.Popconfirm),pt=(0,l.Z)(E),he=(0,l.Z)(st);return s.createElement("div",{className:`${Y}-inner-content`,onClick:ye},s.createElement("div",{className:`${Y}-message`},_&&s.createElement("span",{className:`${Y}-message-icon`},_),s.createElement("div",{className:`${Y}-message-text`},pt&&s.createElement("div",{className:`${Y}-title`},pt),he&&s.createElement("div",{className:`${Y}-description`},he))),s.createElement("div",{className:`${Y}-buttons`},re&&s.createElement(L.ZP,Object.assign({onClick:Fe,size:"small"},M),ce||(ft==null?void 0:ft.cancelText)),s.createElement(U.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,W.nx)(H)),xe),actionFn:ne,close:T,prefixCls:lt("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},le||(ft==null?void 0:ft.okText))))};var Ne=Oe=>{const{prefixCls:Y,placement:xe,className:M,style:E}=Oe,st=de(Oe,["prefixCls","placement","className","style"]),{getPrefixCls:ce}=s.useContext(Q.E_),le=ce("popconfirm",Y),[H]=j(le);return H(s.createElement(Z.ZP,{placement:xe,className:He()(le,M),style:E,content:s.createElement(X,Object.assign({prefixCls:le},st))}))},Le=function(Oe,Y){var xe={};for(var M in Oe)Object.prototype.hasOwnProperty.call(Oe,M)&&Y.indexOf(M)<0&&(xe[M]=Oe[M]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,M=Object.getOwnPropertySymbols(Oe);E<M.length;E++)Y.indexOf(M[E])<0&&Object.prototype.propertyIsEnumerable.call(Oe,M[E])&&(xe[M[E]]=Oe[M[E]]);return xe};const Ue=s.forwardRef((Oe,Y)=>{var xe,M;const{prefixCls:E,placement:st="top",trigger:ce="click",okType:le="primary",icon:H=s.createElement(qe.Z,null),children:_,overlayClassName:re,onOpenChange:T,onVisibleChange:ne,overlayStyle:Fe,styles:ye,classNames:lt}=Oe,ft=Le(Oe,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange","overlayStyle","styles","classNames"]),{getPrefixCls:pt,className:he,style:We,classNames:jt,styles:ze}=(0,Q.dj)("popconfirm"),[Be,P]=(0,te.Z)(!1,{value:(xe=Oe.open)!==null&&xe!==void 0?xe:Oe.visible,defaultValue:(M=Oe.defaultOpen)!==null&&M!==void 0?M:Oe.defaultVisible}),ct=(wt,At)=>{P(wt,!0),ne==null||ne(wt),T==null||T(wt,At)},Se=wt=>{ct(!1,wt)},fe=wt=>{var At;return(At=Oe.onConfirm)===null||At===void 0?void 0:At.call(void 0,wt)},ue=wt=>{var At;ct(!1,wt),(At=Oe.onCancel)===null||At===void 0||At.call(void 0,wt)},ge=(wt,At)=>{const{disabled:ar=!1}=Oe;ar||ct(wt,At)},$e=pt("popconfirm",E),we=He()($e,he,re,jt.root,lt==null?void 0:lt.root),Re=He()(jt.body,lt==null?void 0:lt.body),[Je]=j($e);return Je(s.createElement(y.Z,Object.assign({},(0,q.Z)(ft,["title"]),{trigger:ce,placement:st,onOpenChange:ge,open:Be,ref:Y,classNames:{root:we,body:Re},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},ze.root),We),Fe),ye==null?void 0:ye.root),body:Object.assign(Object.assign({},ze.body),ye==null?void 0:ye.body)},content:s.createElement(X,Object.assign({okType:le,icon:H},Oe,{prefixCls:$e,close:Se,onConfirm:fe,onCancel:ue})),"data-popover-inject":!0}),_))});Ue._InternalPanelDoNotUseOrYouWillBeFired=Ne;var Ce=Ue},69106:function(en,Jt,o){"use strict";o.d(Jt,{aV:function(){return U},t5:function(){return l}});var s=o(59301),qe=o(92310),I=o.n(qe),He=o(29125),te=o(54500),q=o(48755),Q=o(85074),y=function(W,G){var R={};for(var Z in W)Object.prototype.hasOwnProperty.call(W,Z)&&G.indexOf(Z)<0&&(R[Z]=W[Z]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,Z=Object.getOwnPropertySymbols(W);A<Z.length;A++)G.indexOf(Z[A])<0&&Object.prototype.propertyIsEnumerable.call(W,Z[A])&&(R[Z[A]]=W[Z[A]]);return R};const U=W=>{let{title:G,content:R,prefixCls:Z}=W;return!G&&!R?null:s.createElement(s.Fragment,null,G&&s.createElement("div",{className:`${Z}-title`},G),R&&s.createElement("div",{className:`${Z}-inner-content`},R))},l=W=>{const{hashId:G,prefixCls:R,className:Z,style:A,placement:$="top",title:w,content:j,children:de}=W,X=(0,te.Z)(w),J=(0,te.Z)(j),Ne=I()(G,R,`${R}-pure`,`${R}-placement-${$}`,Z);return s.createElement("div",{className:Ne,style:A},s.createElement("div",{className:`${R}-arrow`}),s.createElement(He.G,Object.assign({},W,{className:G,prefixCls:R}),de||s.createElement(U,{prefixCls:R,title:X,content:J})))},L=W=>{const{prefixCls:G,className:R}=W,Z=y(W,["prefixCls","className"]),{getPrefixCls:A}=s.useContext(q.E_),$=A("popover",G),[w,j,de]=(0,Q.Z)($);return w(s.createElement(l,Object.assign({},Z,{prefixCls:$,hashId:j,className:I()(R,de)})))};Jt.ZP=L},37639:function(en,Jt,o){"use strict";var s=o(59301),qe=o(92310),I=o.n(qe),He=o(18929),te=o(10228),q=o(54500),Q=o(86641),y=o(22703),U=o(25399),l=o(69106),L=o(48755),W=o(85074),G=function(A,$){var w={};for(var j in A)Object.prototype.hasOwnProperty.call(A,j)&&$.indexOf(j)<0&&(w[j]=A[j]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,j=Object.getOwnPropertySymbols(A);de<j.length;de++)$.indexOf(j[de])<0&&Object.prototype.propertyIsEnumerable.call(A,j[de])&&(w[j[de]]=A[j[de]]);return w};const Z=s.forwardRef((A,$)=>{var w,j;const{prefixCls:de,title:X,content:J,overlayClassName:Ne,placement:Le="top",trigger:et="hover",children:Ue,mouseEnterDelay:Ce=.1,mouseLeaveDelay:Oe=.1,onOpenChange:Y,overlayStyle:xe={},styles:M,classNames:E}=A,st=G(A,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:ce,className:le,style:H,classNames:_,styles:re}=(0,L.dj)("popover"),T=ce("popover",de),[ne,Fe,ye]=(0,W.Z)(T),lt=ce(),ft=I()(Ne,Fe,ye,le,_.root,E==null?void 0:E.root),pt=I()(_.body,E==null?void 0:E.body),[he,We]=(0,He.Z)(!1,{value:(w=A.open)!==null&&w!==void 0?w:A.visible,defaultValue:(j=A.defaultOpen)!==null&&j!==void 0?j:A.defaultVisible}),jt=(Se,fe)=>{We(Se,!0),Y==null||Y(Se,fe)},ze=Se=>{Se.keyCode===te.Z.ESC&&jt(!1,Se)},Be=Se=>{jt(Se)},P=(0,q.Z)(X),ct=(0,q.Z)(J);return ne(s.createElement(U.Z,Object.assign({placement:Le,trigger:et,mouseEnterDelay:Ce,mouseLeaveDelay:Oe},st,{prefixCls:T,classNames:{root:ft,body:pt},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},re.root),H),xe),M==null?void 0:M.root),body:Object.assign(Object.assign({},re.body),M==null?void 0:M.body)},ref:$,open:he,onOpenChange:Be,overlay:P||ct?s.createElement(l.aV,{prefixCls:T,title:P,content:ct}):null,transitionName:(0,Q.m)(lt,"zoom-big",st.transitionName),"data-popover-inject":!0}),(0,y.Tm)(Ue,{onKeyDown:Se=>{var fe,ue;s.isValidElement(Ue)&&((ue=Ue==null?void 0:(fe=Ue.props).onKeyDown)===null||ue===void 0||ue.call(fe,Se)),ze(Se)}})))});Z._InternalPanelDoNotUseOrYouWillBeFired=l.ZP,Jt.Z=Z},85074:function(en,Jt,o){"use strict";var s=o(63356),qe=o(34925),I=o(37645),He=o(36305),te=o(34998),q=o(16931),Q=o(51636);const y=L=>{const{componentCls:W,popoverColor:G,titleMinWidth:R,fontWeightStrong:Z,innerPadding:A,boxShadowSecondary:$,colorTextHeading:w,borderRadiusLG:j,zIndexPopup:de,titleMarginBottom:X,colorBgElevated:J,popoverBg:Ne,titleBorderBottom:Le,innerContentPadding:et,titlePadding:Ue}=L;return[{[W]:Object.assign(Object.assign({},(0,s.Wf)(L)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:de,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":J,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${W}-content`]:{position:"relative"},[`${W}-inner`]:{backgroundColor:Ne,backgroundClip:"padding-box",borderRadius:j,boxShadow:$,padding:A},[`${W}-title`]:{minWidth:R,marginBottom:X,color:w,fontWeight:Z,borderBottom:Le,padding:Ue},[`${W}-inner-content`]:{color:G,padding:et}})},(0,I.ZP)(L,"var(--antd-arrow-background-color)"),{[`${W}-pure`]:{position:"relative",maxWidth:"none",margin:L.sizePopupArrow,display:"inline-block",[`${W}-content`]:{display:"inline-block"}}}]},U=L=>{const{componentCls:W}=L;return{[W]:te.i.map(G=>{const R=L[`${G}6`];return{[`&${W}-${G}`]:{"--antd-arrow-background-color":R,[`${W}-inner`]:{backgroundColor:R},[`${W}-arrow`]:{background:"transparent"}}}})}},l=L=>{const{lineWidth:W,controlHeight:G,fontHeight:R,padding:Z,wireframe:A,zIndexPopupBase:$,borderRadiusLG:w,marginXS:j,lineType:de,colorSplit:X,paddingSM:J}=L,Ne=G-R,Le=Ne/2,et=Ne/2-W,Ue=Z;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:$+30},(0,He.w)(L)),(0,I.wZ)({contentRadius:w,limitVerticalRadius:!0})),{innerPadding:A?0:12,titleMarginBottom:A?0:j,titlePadding:A?`${Le}px ${Ue}px ${et}px`:0,titleBorderBottom:A?`${W}px ${de} ${X}`:"none",innerContentPadding:A?`${J}px ${Ue}px`:0})};Jt.Z=(0,q.I$)("Popover",L=>{const{colorBgElevated:W,colorText:G}=L,R=(0,Q.mergeToken)(L,{popoverBg:W,popoverColor:G});return[y(R),U(R),(0,qe._y)(R,"zoom-big")]},l,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},60242:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return jt}});var s=o(59301),qe=o(17835),I=o(29679),He=o(40001),te=o(19248),q=o(99267),Q=o(92310),y=o.n(Q),U=o(2738),l=o(48755),L=o(25930),W=o(25399),G=o(68361);function R(ze){return!ze||ze<0?0:ze>100?100:ze}function Z(ze){let{success:Be,successPercent:P}=ze,ct=P;return Be&&"progress"in Be&&(ct=Be.progress),Be&&"percent"in Be&&(ct=Be.percent),ct}const A=ze=>{let{percent:Be,success:P,successPercent:ct}=ze;const Se=R(Z({success:P,successPercent:ct}));return[Se,R(R(Be)-Se)]},$=ze=>{let{success:Be={},strokeColor:P}=ze;const{strokeColor:ct}=Be;return[ct||G.presetPrimaryColors.green,P||null]},w=(ze,Be,P)=>{var ct,Se,fe,ue;let ge=-1,$e=-1;if(Be==="step"){const we=P.steps,Re=P.strokeWidth;typeof ze=="string"||typeof ze=="undefined"?(ge=ze==="small"?2:14,$e=Re!=null?Re:8):typeof ze=="number"?[ge,$e]=[ze,ze]:[ge=14,$e=8]=Array.isArray(ze)?ze:[ze.width,ze.height],ge*=we}else if(Be==="line"){const we=P==null?void 0:P.strokeWidth;typeof ze=="string"||typeof ze=="undefined"?$e=we||(ze==="small"?6:8):typeof ze=="number"?[ge,$e]=[ze,ze]:[ge=-1,$e=8]=Array.isArray(ze)?ze:[ze.width,ze.height]}else(Be==="circle"||Be==="dashboard")&&(typeof ze=="string"||typeof ze=="undefined"?[ge,$e]=ze==="small"?[60,60]:[120,120]:typeof ze=="number"?[ge,$e]=[ze,ze]:Array.isArray(ze)&&(ge=(Se=(ct=ze[0])!==null&&ct!==void 0?ct:ze[1])!==null&&Se!==void 0?Se:120,$e=(ue=(fe=ze[0])!==null&&fe!==void 0?fe:ze[1])!==null&&ue!==void 0?ue:120));return[ge,$e]},j=3,de=ze=>j/ze*100;var J=ze=>{const{prefixCls:Be,trailColor:P=null,strokeLinecap:ct="round",gapPosition:Se,gapDegree:fe,width:ue=120,type:ge,children:$e,success:we,size:Re=ue,steps:Je}=ze,[wt,At]=w(Re,"circle");let{strokeWidth:ar}=ze;ar===void 0&&(ar=Math.max(de(wt),6));const qt={width:wt,height:At,fontSize:wt*.15+6},Nt=s.useMemo(()=>{if(fe||fe===0)return fe;if(ge==="dashboard")return 75},[fe,ge]),ht=A(ze),Ot=Se||ge==="dashboard"&&"bottom"||void 0,Tt=Object.prototype.toString.call(ze.strokeColor)==="[object Object]",Ut=$({success:we,strokeColor:ze.strokeColor}),St=y()(`${Be}-inner`,{[`${Be}-circle-gradient`]:Tt}),gr=s.createElement(L.Cd,{steps:Je,percent:Je?ht[1]:ht,strokeWidth:ar,trailWidth:ar,strokeColor:Je?Ut[1]:Ut,strokeLinecap:ct,trailColor:P,prefixCls:Be,gapDegree:Nt,gapPosition:Ot}),lr=wt<=20,Cr=s.createElement("div",{className:St,style:qt},gr,!lr&&$e);return lr?s.createElement(W.Z,{title:$e},Cr):Cr},Ne=o(36237),Le=o(63356),et=o(16931),Ue=o(51636);const Ce="--progress-line-stroke-color",Oe="--progress-percent",Y=ze=>{const Be=ze?"100%":"-100%";return new Ne.Keyframes(`antProgress${ze?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Be}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Be}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},xe=ze=>{const{componentCls:Be,iconCls:P}=ze;return{[Be]:Object.assign(Object.assign({},(0,Le.Wf)(ze)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:ze.fontSize},[`${Be}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${Be}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:ze.remainingColor,borderRadius:ze.lineBorderRadius},[`${Be}-inner:not(${Be}-circle-gradient)`]:{[`${Be}-circle-path`]:{stroke:ze.defaultColor}},[`${Be}-success-bg, ${Be}-bg`]:{position:"relative",background:ze.defaultColor,borderRadius:ze.lineBorderRadius,transition:`all ${ze.motionDurationSlow} ${ze.motionEaseInOutCirc}`},[`${Be}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${Be}-text`]:{width:"max-content",marginInlineStart:0,marginTop:ze.marginXXS}},[`${Be}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${Ce})`]},height:"100%",width:`calc(1 / var(${Oe}) * 100%)`,display:"block"},[`&${Be}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${Be}-text-inner`]:{color:ze.colorWhite,[`&${Be}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${Be}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:ze.colorSuccess},[`${Be}-text`]:{display:"inline-block",marginInlineStart:ze.marginXS,color:ze.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[P]:{fontSize:ze.fontSize},[`&${Be}-text-outer`]:{width:"max-content"},[`&${Be}-text-outer${Be}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:ze.marginXS}},[`${Be}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,Ne.unit)(ze.paddingXXS)}`,[`&${Be}-text-start`]:{justifyContent:"start"},[`&${Be}-text-end`]:{justifyContent:"end"}},[`&${Be}-status-active`]:{[`${Be}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ze.colorBgContainer,borderRadius:ze.lineBorderRadius,opacity:0,animationName:Y(),animationDuration:ze.progressActiveMotionDuration,animationTimingFunction:ze.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Be}-rtl${Be}-status-active`]:{[`${Be}-bg::before`]:{animationName:Y(!0)}},[`&${Be}-status-exception`]:{[`${Be}-bg`]:{backgroundColor:ze.colorError},[`${Be}-text`]:{color:ze.colorError}},[`&${Be}-status-exception ${Be}-inner:not(${Be}-circle-gradient)`]:{[`${Be}-circle-path`]:{stroke:ze.colorError}},[`&${Be}-status-success`]:{[`${Be}-bg`]:{backgroundColor:ze.colorSuccess},[`${Be}-text`]:{color:ze.colorSuccess}},[`&${Be}-status-success ${Be}-inner:not(${Be}-circle-gradient)`]:{[`${Be}-circle-path`]:{stroke:ze.colorSuccess}}})}},M=ze=>{const{componentCls:Be,iconCls:P}=ze;return{[Be]:{[`${Be}-circle-trail`]:{stroke:ze.remainingColor},[`&${Be}-circle ${Be}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Be}-circle ${Be}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:ze.circleTextColor,fontSize:ze.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[P]:{fontSize:ze.circleIconFontSize}},[`${Be}-circle&-status-exception`]:{[`${Be}-text`]:{color:ze.colorError}},[`${Be}-circle&-status-success`]:{[`${Be}-text`]:{color:ze.colorSuccess}}},[`${Be}-inline-circle`]:{lineHeight:1,[`${Be}-inner`]:{verticalAlign:"bottom"}}}},E=ze=>{const{componentCls:Be}=ze;return{[Be]:{[`${Be}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:ze.progressStepMinWidth,marginInlineEnd:ze.progressStepMarginInlineEnd,backgroundColor:ze.remainingColor,transition:`all ${ze.motionDurationSlow}`,"&-active":{backgroundColor:ze.defaultColor}}}}}},st=ze=>{const{componentCls:Be,iconCls:P}=ze;return{[Be]:{[`${Be}-small&-line, ${Be}-small&-line ${Be}-text ${P}`]:{fontSize:ze.fontSizeSM}}}},ce=ze=>({circleTextColor:ze.colorText,defaultColor:ze.colorInfo,remainingColor:ze.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${ze.fontSize/ze.fontSizeSM}em`});var le=(0,et.I$)("Progress",ze=>{const Be=ze.calc(ze.marginXXS).div(2).equal(),P=(0,Ue.mergeToken)(ze,{progressStepMarginInlineEnd:Be,progressStepMinWidth:Be,progressActiveMotionDuration:"2.4s"});return[xe(P),M(P),E(P),st(P)]},ce),H=function(ze,Be){var P={};for(var ct in ze)Object.prototype.hasOwnProperty.call(ze,ct)&&Be.indexOf(ct)<0&&(P[ct]=ze[ct]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,ct=Object.getOwnPropertySymbols(ze);Se<ct.length;Se++)Be.indexOf(ct[Se])<0&&Object.prototype.propertyIsEnumerable.call(ze,ct[Se])&&(P[ct[Se]]=ze[ct[Se]]);return P};const _=ze=>{let Be=[];return Object.keys(ze).forEach(P=>{const ct=parseFloat(P.replace(/%/g,""));Number.isNaN(ct)||Be.push({key:ct,value:ze[P]})}),Be=Be.sort((P,ct)=>P.key-ct.key),Be.map(P=>{let{key:ct,value:Se}=P;return`${Se} ${ct}%`}).join(", ")},re=(ze,Be)=>{const{from:P=G.presetPrimaryColors.blue,to:ct=G.presetPrimaryColors.blue,direction:Se=Be==="rtl"?"to left":"to right"}=ze,fe=H(ze,["from","to","direction"]);if(Object.keys(fe).length!==0){const ge=_(fe),$e=`linear-gradient(${Se}, ${ge})`;return{background:$e,[Ce]:$e}}const ue=`linear-gradient(${Se}, ${P}, ${ct})`;return{background:ue,[Ce]:ue}};var ne=ze=>{const{prefixCls:Be,direction:P,percent:ct,size:Se,strokeWidth:fe,strokeColor:ue,strokeLinecap:ge="round",children:$e,trailColor:we=null,percentPosition:Re,success:Je}=ze,{align:wt,type:At}=Re,ar=ue&&typeof ue!="string"?re(ue,P):{[Ce]:ue,background:ue},qt=ge==="square"||ge==="butt"?0:void 0,Nt=Se!=null?Se:[-1,fe||(Se==="small"?6:8)],[ht,Ot]=w(Nt,"line",{strokeWidth:fe}),Tt={backgroundColor:we||void 0,borderRadius:qt},Ut=Object.assign(Object.assign({width:`${R(ct)}%`,height:Ot,borderRadius:qt},ar),{[Oe]:R(ct)/100}),St=Z(ze),gr={width:`${R(St)}%`,height:Ot,borderRadius:qt,backgroundColor:Je==null?void 0:Je.strokeColor},lr={width:ht<0?"100%":ht},Cr=s.createElement("div",{className:`${Be}-inner`,style:Tt},s.createElement("div",{className:y()(`${Be}-bg`,`${Be}-bg-${At}`),style:Ut},At==="inner"&&$e),St!==void 0&&s.createElement("div",{className:`${Be}-success-bg`,style:gr})),rn=At==="outer"&&wt==="start",Er=At==="outer"&&wt==="end";return At==="outer"&&wt==="center"?s.createElement("div",{className:`${Be}-layout-bottom`},Cr,$e):s.createElement("div",{className:`${Be}-outer`,style:lr},rn&&$e,Cr,Er&&$e)},ye=ze=>{const{size:Be,steps:P,rounding:ct=Math.round,percent:Se=0,strokeWidth:fe=8,strokeColor:ue,trailColor:ge=null,prefixCls:$e,children:we}=ze,Re=ct(P*(Se/100)),Je=Be==="small"?2:14,wt=Be!=null?Be:[Je,fe],[At,ar]=w(wt,"step",{steps:P,strokeWidth:fe}),qt=At/P,Nt=Array.from({length:P});for(let ht=0;ht<P;ht++){const Ot=Array.isArray(ue)?ue[ht]:ue;Nt[ht]=s.createElement("div",{key:ht,className:y()(`${$e}-steps-item`,{[`${$e}-steps-item-active`]:ht<=Re-1}),style:{backgroundColor:ht<=Re-1?Ot:ge,width:qt,height:ar}})}return s.createElement("div",{className:`${$e}-steps-outer`},Nt,we)},lt=function(ze,Be){var P={};for(var ct in ze)Object.prototype.hasOwnProperty.call(ze,ct)&&Be.indexOf(ct)<0&&(P[ct]=ze[ct]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,ct=Object.getOwnPropertySymbols(ze);Se<ct.length;Se++)Be.indexOf(ct[Se])<0&&Object.prototype.propertyIsEnumerable.call(ze,ct[Se])&&(P[ct[Se]]=ze[ct[Se]]);return P};const ft=null,pt=["normal","exception","active","success"];var We=s.forwardRef((ze,Be)=>{const{prefixCls:P,className:ct,rootClassName:Se,steps:fe,strokeColor:ue,percent:ge=0,size:$e="default",showInfo:we=!0,type:Re="line",status:Je,format:wt,style:At,percentPosition:ar={}}=ze,qt=lt(ze,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Nt="end",type:ht="outer"}=ar,Ot=Array.isArray(ue)?ue[0]:ue,Tt=typeof ue=="string"||Array.isArray(ue)?ue:void 0,Ut=s.useMemo(()=>{if(Ot){const Bn=typeof Ot=="string"?Ot:Object.values(Ot)[0];return new qe.FastColor(Bn).isLight()}return!1},[ue]),St=s.useMemo(()=>{var Bn,zt;const yr=Z(ze);return parseInt(yr!==void 0?(Bn=yr!=null?yr:0)===null||Bn===void 0?void 0:Bn.toString():(zt=ge!=null?ge:0)===null||zt===void 0?void 0:zt.toString(),10)},[ge,ze.success,ze.successPercent]),gr=s.useMemo(()=>!pt.includes(Je)&&St>=100?"success":Je||"normal",[Je,St]),{getPrefixCls:lr,direction:Cr,progress:rn}=s.useContext(l.E_),Er=lr("progress",P),[S,N,er]=le(Er),se=Re==="line",ke=se&&!fe,zr=s.useMemo(()=>{if(!we)return null;const Bn=Z(ze);let zt;const yr=wt||(Tr=>`${Tr}%`),vr=se&&Ut&&ht==="inner";return ht==="inner"||wt||gr!=="exception"&&gr!=="success"?zt=yr(R(ge),R(Bn)):gr==="exception"?zt=se?s.createElement(te.Z,null):s.createElement(q.Z,null):gr==="success"&&(zt=se?s.createElement(I.Z,null):s.createElement(He.Z,null)),s.createElement("span",{className:y()(`${Er}-text`,{[`${Er}-text-bright`]:vr,[`${Er}-text-${Nt}`]:ke,[`${Er}-text-${ht}`]:ke}),title:typeof zt=="string"?zt:void 0},zt)},[we,ge,St,gr,Re,Er,wt]);let Ir;Re==="line"?Ir=fe?s.createElement(ye,Object.assign({},ze,{strokeColor:Tt,prefixCls:Er,steps:typeof fe=="object"?fe.count:fe}),zr):s.createElement(ne,Object.assign({},ze,{strokeColor:Ot,prefixCls:Er,direction:Cr,percentPosition:{align:Nt,type:ht}}),zr):(Re==="circle"||Re==="dashboard")&&(Ir=s.createElement(J,Object.assign({},ze,{strokeColor:Ot,prefixCls:Er,progressStatus:gr}),zr));const yn=y()(Er,`${Er}-status-${gr}`,{[`${Er}-${Re==="dashboard"&&"circle"||Re}`]:Re!=="line",[`${Er}-inline-circle`]:Re==="circle"&&w($e,"circle")[0]<=20,[`${Er}-line`]:ke,[`${Er}-line-align-${Nt}`]:ke,[`${Er}-line-position-${ht}`]:ke,[`${Er}-steps`]:fe,[`${Er}-show-info`]:we,[`${Er}-${$e}`]:typeof $e=="string",[`${Er}-rtl`]:Cr==="rtl"},rn==null?void 0:rn.className,ct,Se,N,er);return S(s.createElement("div",Object.assign({ref:Be,style:Object.assign(Object.assign({},rn==null?void 0:rn.style),At),className:yn,role:"progressbar","aria-valuenow":St,"aria-valuemin":0,"aria-valuemax":100},(0,U.Z)(qt,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Ir))}),jt=We},47889:function(en,Jt,o){"use strict";o.d(Jt,{ZP:function(){return Fe}});var s=o(59301),qe=o(92310),I=o.n(qe),He=o(18929),te=o(26112),q=o(48755),Q=o(83397),y=o(31756);const U=s.createContext(null),l=U.Provider;var L=U;const W=s.createContext(null),G=W.Provider;var R=o(16632),Z=o(8654),A=o(12919),$=o(63872),w=o(74632),j=o(2171),de=o(56553),X=o(36237),J=o(63356),Ne=o(16931),Le=o(51636);const et=ye=>{const{componentCls:lt,antCls:ft}=ye,pt=`${lt}-group`;return{[pt]:Object.assign(Object.assign({},(0,J.Wf)(ye)),{display:"inline-block",fontSize:0,[`&${pt}-rtl`]:{direction:"rtl"},[`&${pt}-block`]:{display:"flex"},[`${ft}-badge ${ft}-badge-count`]:{zIndex:1},[`> ${ft}-badge:not(:first-child) > ${ft}-button-wrapper`]:{borderInlineStart:"none"}})}},Ue=ye=>{const{componentCls:lt,wrapperMarginInlineEnd:ft,colorPrimary:pt,radioSize:he,motionDurationSlow:We,motionDurationMid:jt,motionEaseInOutCirc:ze,colorBgContainer:Be,colorBorder:P,lineWidth:ct,colorBgContainerDisabled:Se,colorTextDisabled:fe,paddingXS:ue,dotColorDisabled:ge,lineType:$e,radioColor:we,radioBgColor:Re,calc:Je}=ye,wt=`${lt}-inner`,ar=Je(he).sub(Je(4).mul(2)),qt=Je(1).mul(he).equal({unit:!0});return{[`${lt}-wrapper`]:Object.assign(Object.assign({},(0,J.Wf)(ye)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:ft,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${lt}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:ye.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${lt}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,X.unit)(ct)} ${$e} ${pt}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[lt]:Object.assign(Object.assign({},(0,J.Wf)(ye)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${lt}-wrapper:hover &,
&:hover ${wt}`]:{borderColor:pt},[`${lt}-input:focus-visible + ${wt}`]:Object.assign({},(0,J.oN)(ye)),[`${lt}:hover::after, ${lt}-wrapper:hover &::after`]:{visibility:"visible"},[`${lt}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:qt,height:qt,marginBlockStart:Je(1).mul(he).div(-2).equal({unit:!0}),marginInlineStart:Je(1).mul(he).div(-2).equal({unit:!0}),backgroundColor:we,borderBlockStart:0,borderInlineStart:0,borderRadius:qt,transform:"scale(0)",opacity:0,transition:`all ${We} ${ze}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:qt,height:qt,backgroundColor:Be,borderColor:P,borderStyle:"solid",borderWidth:ct,borderRadius:"50%",transition:`all ${jt}`},[`${lt}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${lt}-checked`]:{[wt]:{borderColor:pt,backgroundColor:Re,"&::after":{transform:`scale(${ye.calc(ye.dotSize).div(he).equal()})`,opacity:1,transition:`all ${We} ${ze}`}}},[`${lt}-disabled`]:{cursor:"not-allowed",[wt]:{backgroundColor:Se,borderColor:P,cursor:"not-allowed","&::after":{backgroundColor:ge}},[`${lt}-input`]:{cursor:"not-allowed"},[`${lt}-disabled + span`]:{color:fe,cursor:"not-allowed"},[`&${lt}-checked`]:{[wt]:{"&::after":{transform:`scale(${Je(ar).div(he).equal()})`}}}},[`span${lt} + *`]:{paddingInlineStart:ue,paddingInlineEnd:ue}})}},Ce=ye=>{const{buttonColor:lt,controlHeight:ft,componentCls:pt,lineWidth:he,lineType:We,colorBorder:jt,motionDurationSlow:ze,motionDurationMid:Be,buttonPaddingInline:P,fontSize:ct,buttonBg:Se,fontSizeLG:fe,controlHeightLG:ue,controlHeightSM:ge,paddingXS:$e,borderRadius:we,borderRadiusSM:Re,borderRadiusLG:Je,buttonCheckedBg:wt,buttonSolidCheckedColor:At,colorTextDisabled:ar,colorBgContainerDisabled:qt,buttonCheckedBgDisabled:Nt,buttonCheckedColorDisabled:ht,colorPrimary:Ot,colorPrimaryHover:Tt,colorPrimaryActive:Ut,buttonSolidCheckedBg:St,buttonSolidCheckedHoverBg:gr,buttonSolidCheckedActiveBg:lr,calc:Cr}=ye;return{[`${pt}-button-wrapper`]:{position:"relative",display:"inline-block",height:ft,margin:0,paddingInline:P,paddingBlock:0,color:lt,fontSize:ct,lineHeight:(0,X.unit)(Cr(ft).sub(Cr(he).mul(2)).equal()),background:Se,border:`${(0,X.unit)(he)} ${We} ${jt}`,borderBlockStartWidth:Cr(he).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:he,cursor:"pointer",transition:[`color ${Be}`,`background ${Be}`,`box-shadow ${Be}`].join(","),a:{color:lt},[`> ${pt}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:Cr(he).mul(-1).equal(),insetInlineStart:Cr(he).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:he,paddingInline:0,backgroundColor:jt,transition:`background-color ${ze}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,X.unit)(he)} ${We} ${jt}`,borderStartStartRadius:we,borderEndStartRadius:we},"&:last-child":{borderStartEndRadius:we,borderEndEndRadius:we},"&:first-child:last-child":{borderRadius:we},[`${pt}-group-large &`]:{height:ue,fontSize:fe,lineHeight:(0,X.unit)(Cr(ue).sub(Cr(he).mul(2)).equal()),"&:first-child":{borderStartStartRadius:Je,borderEndStartRadius:Je},"&:last-child":{borderStartEndRadius:Je,borderEndEndRadius:Je}},[`${pt}-group-small &`]:{height:ge,paddingInline:Cr($e).sub(he).equal(),paddingBlock:0,lineHeight:(0,X.unit)(Cr(ge).sub(Cr(he).mul(2)).equal()),"&:first-child":{borderStartStartRadius:Re,borderEndStartRadius:Re},"&:last-child":{borderStartEndRadius:Re,borderEndEndRadius:Re}},"&:hover":{position:"relative",color:Ot},"&:has(:focus-visible)":Object.assign({},(0,J.oN)(ye)),[`${pt}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${pt}-button-wrapper-disabled)`]:{zIndex:1,color:Ot,background:wt,borderColor:Ot,"&::before":{backgroundColor:Ot},"&:first-child":{borderColor:Ot},"&:hover":{color:Tt,borderColor:Tt,"&::before":{backgroundColor:Tt}},"&:active":{color:Ut,borderColor:Ut,"&::before":{backgroundColor:Ut}}},[`${pt}-group-solid &-checked:not(${pt}-button-wrapper-disabled)`]:{color:At,background:St,borderColor:St,"&:hover":{color:At,background:gr,borderColor:gr},"&:active":{color:At,background:lr,borderColor:lr}},"&-disabled":{color:ar,backgroundColor:qt,borderColor:jt,cursor:"not-allowed","&:first-child, &:hover":{color:ar,backgroundColor:qt,borderColor:jt}},[`&-disabled${pt}-button-wrapper-checked`]:{color:ht,backgroundColor:Nt,borderColor:jt,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},Oe=ye=>{const{wireframe:lt,padding:ft,marginXS:pt,lineWidth:he,fontSizeLG:We,colorText:jt,colorBgContainer:ze,colorTextDisabled:Be,controlItemBgActiveDisabled:P,colorTextLightSolid:ct,colorPrimary:Se,colorPrimaryHover:fe,colorPrimaryActive:ue,colorWhite:ge}=ye,$e=4,we=We,Re=lt?we-$e*2:we-($e+he)*2;return{radioSize:we,dotSize:Re,dotColorDisabled:Be,buttonSolidCheckedColor:ct,buttonSolidCheckedBg:Se,buttonSolidCheckedHoverBg:fe,buttonSolidCheckedActiveBg:ue,buttonBg:ze,buttonCheckedBg:ze,buttonColor:jt,buttonCheckedBgDisabled:P,buttonCheckedColorDisabled:Be,buttonPaddingInline:ft-he,wrapperMarginInlineEnd:pt,radioColor:lt?Se:ge,radioBgColor:lt?ze:Se}};var Y=(0,Ne.I$)("Radio",ye=>{const{controlOutline:lt,controlOutlineWidth:ft}=ye,pt=`0 0 0 ${(0,X.unit)(ft)} ${lt}`,he=pt,We=(0,Le.mergeToken)(ye,{radioFocusShadow:pt,radioButtonFocusShadow:he});return[et(We),Ue(We),Ce(We)]},Oe,{unitless:{radioSize:!0,dotSize:!0}}),xe=function(ye,lt){var ft={};for(var pt in ye)Object.prototype.hasOwnProperty.call(ye,pt)&&lt.indexOf(pt)<0&&(ft[pt]=ye[pt]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,pt=Object.getOwnPropertySymbols(ye);he<pt.length;he++)lt.indexOf(pt[he])<0&&Object.prototype.propertyIsEnumerable.call(ye,pt[he])&&(ft[pt[he]]=ye[pt[he]]);return ft};const M=(ye,lt)=>{var ft,pt;const he=s.useContext(L),We=s.useContext(W),{getPrefixCls:jt,direction:ze,radio:Be}=s.useContext(q.E_),P=s.useRef(null),ct=(0,Z.sQ)(lt,P),{isFormItemInput:Se}=s.useContext(de.aM),fe=rn=>{var Er,S;(Er=ye.onChange)===null||Er===void 0||Er.call(ye,rn),(S=he==null?void 0:he.onChange)===null||S===void 0||S.call(he,rn)},{prefixCls:ue,className:ge,rootClassName:$e,children:we,style:Re,title:Je}=ye,wt=xe(ye,["prefixCls","className","rootClassName","children","style","title"]),At=jt("radio",ue),ar=((he==null?void 0:he.optionType)||We)==="button",qt=ar?`${At}-button`:At,Nt=(0,Q.Z)(At),[ht,Ot,Tt]=Y(At,Nt),Ut=Object.assign({},wt),St=s.useContext(j.Z);he&&(Ut.name=he.name,Ut.onChange=fe,Ut.checked=ye.value===he.value,Ut.disabled=(ft=Ut.disabled)!==null&&ft!==void 0?ft:he.disabled),Ut.disabled=(pt=Ut.disabled)!==null&&pt!==void 0?pt:St;const gr=I()(`${qt}-wrapper`,{[`${qt}-wrapper-checked`]:Ut.checked,[`${qt}-wrapper-disabled`]:Ut.disabled,[`${qt}-wrapper-rtl`]:ze==="rtl",[`${qt}-wrapper-in-form-item`]:Se,[`${qt}-wrapper-block`]:!!(he!=null&&he.block)},Be==null?void 0:Be.className,ge,$e,Ot,Tt,Nt),[lr,Cr]=(0,w.Z)(Ut.onClick);return ht(s.createElement(A.Z,{component:"Radio",disabled:Ut.disabled},s.createElement("label",{className:gr,style:Object.assign(Object.assign({},Be==null?void 0:Be.style),Re),onMouseEnter:ye.onMouseEnter,onMouseLeave:ye.onMouseLeave,title:Je,onClick:lr},s.createElement(R.Z,Object.assign({},Ut,{className:I()(Ut.className,{[$.A]:!ar}),type:"radio",prefixCls:qt,ref:ct,onClick:Cr})),we!==void 0?s.createElement("span",{className:`${qt}-label`},we):null)))};var st=s.forwardRef(M),ce=o(80402);const le=s.forwardRef((ye,lt)=>{const{getPrefixCls:ft,direction:pt}=s.useContext(q.E_),he=(0,ce.Z)(),{prefixCls:We,className:jt,rootClassName:ze,options:Be,buttonStyle:P="outline",disabled:ct,children:Se,size:fe,style:ue,id:ge,optionType:$e,name:we=he,defaultValue:Re,value:Je,block:wt=!1,onChange:At,onMouseEnter:ar,onMouseLeave:qt,onFocus:Nt,onBlur:ht}=ye,[Ot,Tt]=(0,He.Z)(Re,{value:Je}),Ut=s.useCallback(ke=>{const zr=Ot,Ir=ke.target.value;"value"in ye||Tt(Ir),Ir!==zr&&(At==null||At(ke))},[Ot,Tt,At]),St=ft("radio",We),gr=`${St}-group`,lr=(0,Q.Z)(St),[Cr,rn,Er]=Y(St,lr);let S=Se;Be&&Be.length>0&&(S=Be.map(ke=>typeof ke=="string"||typeof ke=="number"?s.createElement(st,{key:ke.toString(),prefixCls:St,disabled:ct,value:ke,checked:Ot===ke},ke):s.createElement(st,{key:`radio-group-value-options-${ke.value}`,prefixCls:St,disabled:ke.disabled||ct,value:ke.value,checked:Ot===ke.value,title:ke.title,style:ke.style,id:ke.id,required:ke.required},ke.label)));const N=(0,y.Z)(fe),er=I()(gr,`${gr}-${P}`,{[`${gr}-${N}`]:N,[`${gr}-rtl`]:pt==="rtl",[`${gr}-block`]:wt},jt,ze,rn,Er,lr),se=s.useMemo(()=>({onChange:Ut,value:Ot,disabled:ct,name:we,optionType:$e,block:wt}),[Ut,Ot,ct,we,$e,wt]);return Cr(s.createElement("div",Object.assign({},(0,te.Z)(ye,{aria:!0,data:!0}),{className:er,style:ue,onMouseEnter:ar,onMouseLeave:qt,onFocus:Nt,onBlur:ht,id:ge,ref:lt}),s.createElement(l,{value:se},S)))});var H=s.memo(le),_=function(ye,lt){var ft={};for(var pt in ye)Object.prototype.hasOwnProperty.call(ye,pt)&&lt.indexOf(pt)<0&&(ft[pt]=ye[pt]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,pt=Object.getOwnPropertySymbols(ye);he<pt.length;he++)lt.indexOf(pt[he])<0&&Object.prototype.propertyIsEnumerable.call(ye,pt[he])&&(ft[pt[he]]=ye[pt[he]]);return ft};const re=(ye,lt)=>{const{getPrefixCls:ft}=s.useContext(q.E_),{prefixCls:pt}=ye,he=_(ye,["prefixCls"]),We=ft("radio",pt);return s.createElement(G,{value:"button"},s.createElement(st,Object.assign({prefixCls:We},he,{type:"radio",ref:lt})))};var T=s.forwardRef(re);const ne=st;ne.Button=T,ne.Group=H,ne.__ANT_RADIO=!0;var Fe=ne},58018:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return Ue}});var s=o(59301),qe=o(67711),I={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"},He=I,te=o(7657),q=function(Oe,Y){return s.createElement(te.Z,(0,qe.Z)({},Oe,{ref:Y,icon:He}))},Q=s.forwardRef(q),y=Q,U=o(92310),l=o.n(U),L=o(738),W=o(48755),G=o(25399),R=o(36237),Z=o(63356),A=o(16931),$=o(51636);const w=Ce=>{const{componentCls:Oe}=Ce;return{[`${Oe}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Ce.marginXS},"> div":{transition:`all ${Ce.motionDurationMid}, outline 0s`,"&:hover":{transform:Ce.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,R.unit)(Ce.lineWidth)} dashed ${Ce.starColor}`,transform:Ce.starHoverScale}},"&-first, &-second":{color:Ce.starBg,transition:`all ${Ce.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Oe}-star-first, &-half ${Oe}-star-second`]:{opacity:1},[`&-half ${Oe}-star-first, &-full ${Oe}-star-second`]:{color:"inherit"}}}},j=Ce=>({[`&-rtl${Ce.componentCls}`]:{direction:"rtl"}}),de=Ce=>{const{componentCls:Oe}=Ce;return{[Oe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Z.Wf)(Ce)),{display:"inline-block",margin:0,padding:0,color:Ce.starColor,fontSize:Ce.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${Oe} ${Oe}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),w(Ce)),j(Ce))}},X=Ce=>({starColor:Ce.yellow6,starSize:Ce.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Ce.colorFillContent});var J=(0,A.I$)("Rate",Ce=>{const Oe=(0,$.mergeToken)(Ce,{});return[de(Oe)]},X),Ne=o(2171),Le=function(Ce,Oe){var Y={};for(var xe in Ce)Object.prototype.hasOwnProperty.call(Ce,xe)&&Oe.indexOf(xe)<0&&(Y[xe]=Ce[xe]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,xe=Object.getOwnPropertySymbols(Ce);M<xe.length;M++)Oe.indexOf(xe[M])<0&&Object.prototype.propertyIsEnumerable.call(Ce,xe[M])&&(Y[xe[M]]=Ce[xe[M]]);return Y},Ue=s.forwardRef((Ce,Oe)=>{const{prefixCls:Y,className:xe,rootClassName:M,style:E,tooltips:st,character:ce=s.createElement(y,null),disabled:le}=Ce,H=Le(Ce,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),_=(jt,ze)=>{let{index:Be}=ze;return st?s.createElement(G.Z,{title:st[Be]},jt):jt},{getPrefixCls:re,direction:T,rate:ne}=s.useContext(W.E_),Fe=re("rate",Y),[ye,lt,ft]=J(Fe),pt=Object.assign(Object.assign({},ne==null?void 0:ne.style),E),he=s.useContext(Ne.Z),We=le!=null?le:he;return ye(s.createElement(L.Z,Object.assign({ref:Oe,character:ce,characterRender:_,disabled:We},H,{className:l()(xe,M,lt,ft,ne==null?void 0:ne.className),style:pt,prefixCls:Fe,direction:T})))})},82326:function(en,Jt,o){"use strict";var s=o(59301),qe=o(92310),I=o.n(qe),He=o(37463),te=o(2738),q=o(75030),Q=o(86641),y=o(45915),U=o(82855),l=o(48755),L=o(38406),W=o(2171),G=o(83397),R=o(31756),Z=o(56553),A=o(24971),$=o(70045),w=o(57700),j=o(1722),de=o(90376),X=o(68525),J=o(90005),Ne=function(Oe,Y){var xe={};for(var M in Oe)Object.prototype.hasOwnProperty.call(Oe,M)&&Y.indexOf(M)<0&&(xe[M]=Oe[M]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,M=Object.getOwnPropertySymbols(Oe);E<M.length;E++)Y.indexOf(M[E])<0&&Object.prototype.propertyIsEnumerable.call(Oe,M[E])&&(xe[M[E]]=Oe[M[E]]);return xe};const Le="SECRET_COMBOBOX_MODE_DO_NOT_USE",et=(Oe,Y)=>{var xe;const{prefixCls:M,bordered:E,className:st,rootClassName:ce,getPopupContainer:le,popupClassName:H,dropdownClassName:_,listHeight:re=256,placement:T,listItemHeight:ne,size:Fe,disabled:ye,notFoundContent:lt,status:ft,builtinPlacements:pt,dropdownMatchSelectWidth:he,popupMatchSelectWidth:We,direction:jt,style:ze,allowClear:Be,variant:P,dropdownStyle:ct,transitionName:Se,tagRender:fe,maxCount:ue,prefix:ge}=Oe,$e=Ne(Oe,["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:we,getPrefixCls:Re,renderEmpty:Je,direction:wt,virtual:At,popupMatchSelectWidth:ar,popupOverflow:qt}=s.useContext(l.E_),Nt=(0,l.dj)("select"),[,ht]=(0,w.ZP)(),Ot=ne!=null?ne:ht==null?void 0:ht.controlHeight,Tt=Re("select",M),Ut=Re(),St=jt!=null?jt:wt,{compactSize:gr,compactItemClassnames:lr}=(0,$.ri)(Tt,St),[Cr,rn]=(0,A.Z)("select",P,E),Er=(0,G.Z)(Tt),[S,N,er]=(0,de.Z)(Tt,Er),se=s.useMemo(()=>{const{mode:pe}=Oe;if(pe!=="combobox")return pe===Le?"combobox":pe},[Oe.mode]),ke=se==="multiple"||se==="tags",zr=(0,J.Z)(Oe.suffixIcon,Oe.showArrow),Ir=(xe=We!=null?We:he)!==null&&xe!==void 0?xe:ar,{status:yn,hasFeedback:Bn,isFormItemInput:zt,feedbackIcon:yr}=s.useContext(Z.aM),vr=(0,U.F)(yn,ft);let Tr;lt!==void 0?Tr=lt:se==="combobox"?Tr=null:Tr=(Je==null?void 0:Je("Select"))||s.createElement(L.Z,{componentName:"Select"});const{suffixIcon:f,itemIcon:F,removeIcon:Ae,clearIcon:ae}=(0,X.Z)(Object.assign(Object.assign({},$e),{multiple:ke,hasFeedback:Bn,feedbackIcon:yr,showSuffixIcon:zr,prefixCls:Tt,componentName:"Select"})),bt=Be===!0?{clearIcon:ae}:Be,bn=(0,te.Z)($e,["suffixIcon","itemIcon"]),yt=I()(H||_,{[`${Tt}-dropdown-${St}`]:St==="rtl"},ce,er,Er,N),Vt=(0,R.Z)(pe=>{var fr;return(fr=Fe!=null?Fe:gr)!==null&&fr!==void 0?fr:pe}),Wr=s.useContext(W.Z),Nr=ye!=null?ye:Wr,Qr=I()({[`${Tt}-lg`]:Vt==="large",[`${Tt}-sm`]:Vt==="small",[`${Tt}-rtl`]:St==="rtl",[`${Tt}-${Cr}`]:rn,[`${Tt}-in-form-item`]:zt},(0,U.Z)(Tt,vr,Bn),lr,Nt.className,st,ce,er,Er,N),vn=s.useMemo(()=>T!==void 0?T:St==="rtl"?"bottomRight":"bottomLeft",[T,St]),[_n]=(0,q.Cn)("SelectLike",ct==null?void 0:ct.zIndex);return S(s.createElement(He.ZP,Object.assign({ref:Y,virtual:At,showSearch:Nt.showSearch},bn,{style:Object.assign(Object.assign({},Nt.style),ze),dropdownMatchSelectWidth:Ir,transitionName:(0,Q.m)(Ut,"slide-up",Se),builtinPlacements:(0,j.Z)(pt,qt),listHeight:re,listItemHeight:Ot,mode:se,prefixCls:Tt,placement:vn,direction:St,prefix:ge,suffixIcon:f,menuItemSelectedIcon:F,removeIcon:Ae,allowClear:bt,notFoundContent:Tr,className:Qr,getPopupContainer:le||we,dropdownClassName:yt,disabled:Nr,dropdownStyle:Object.assign(Object.assign({},ct),{zIndex:_n}),maxCount:ke?ue:void 0,tagRender:ke?fe:void 0})))},Ue=s.forwardRef(et),Ce=(0,y.Z)(Ue,"dropdownAlign");Ue.SECRET_COMBOBOX_MODE_DO_NOT_USE=Le,Ue.Option=He.Wx,Ue.OptGroup=He.Xo,Ue._InternalPanelDoNotUseOrYouWillBeFired=Ce,Jt.default=Ue},1722:function(en,Jt){"use strict";const o=qe=>{const He={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:qe==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},He),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},He),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},He),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},He),{points:["br","tr"],offset:[0,-4]})}};function s(qe,I){return qe||o(I)}Jt.Z=s},90376:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return M}});var s=o(63356),qe=o(56119),I=o(16931),He=o(51636),te=o(46e3),q=o(93873);const Q=E=>{const{optionHeight:st,optionFontSize:ce,optionLineHeight:le,optionPadding:H}=E;return{position:"relative",display:"block",minHeight:st,padding:H,color:E.colorText,fontWeight:"normal",fontSize:ce,lineHeight:le,boxSizing:"border-box"}};var U=E=>{const{antCls:st,componentCls:ce}=E,le=`${ce}-item`,H=`&${st}-slide-up-enter${st}-slide-up-enter-active`,_=`&${st}-slide-up-appear${st}-slide-up-appear-active`,re=`&${st}-slide-up-leave${st}-slide-up-leave-active`,T=`${ce}-dropdown-placement-`,ne=`${le}-option-selected`;return[{[`${ce}-dropdown`]:Object.assign(Object.assign({},(0,s.Wf)(E)),{position:"absolute",top:-9999,zIndex:E.zIndexPopup,boxSizing:"border-box",padding:E.paddingXXS,overflow:"hidden",fontSize:E.fontSize,fontVariant:"initial",backgroundColor:E.colorBgElevated,borderRadius:E.borderRadiusLG,outline:"none",boxShadow:E.boxShadowSecondary,[`
${H}${T}bottomLeft,
${_}${T}bottomLeft
`]:{animationName:te.fJ},[`
${H}${T}topLeft,
${_}${T}topLeft,
${H}${T}topRight,
${_}${T}topRight
`]:{animationName:te.Qt},[`${re}${T}bottomLeft`]:{animationName:te.Uw},[`
${re}${T}topLeft,
${re}${T}topRight
`]:{animationName:te.ly},"&-hidden":{display:"none"},[le]:Object.assign(Object.assign({},Q(E)),{cursor:"pointer",transition:`background ${E.motionDurationSlow} ease`,borderRadius:E.borderRadiusSM,"&-group":{color:E.colorTextDescription,fontSize:E.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},s.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${le}-option-disabled)`]:{backgroundColor:E.optionActiveBg},[`&-selected:not(${le}-option-disabled)`]:{color:E.optionSelectedColor,fontWeight:E.optionSelectedFontWeight,backgroundColor:E.optionSelectedBg,[`${le}-option-state`]:{color:E.colorPrimary}},"&-disabled":{[`&${le}-option-selected`]:{backgroundColor:E.colorBgContainerDisabled},color:E.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:E.calc(E.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Q(E)),{color:E.colorTextDisabled})}),[`${ne}:has(+ ${ne})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${ne}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,te.oN)(E,"slide-up"),(0,te.oN)(E,"slide-down"),(0,q.Fm)(E,"move-up"),(0,q.Fm)(E,"move-down")]},l=o(26743),L=o(36237);function W(E,st){const{componentCls:ce,inputPaddingHorizontalBase:le,borderRadius:H}=E,_=E.calc(E.controlHeight).sub(E.calc(E.lineWidth).mul(2)).equal(),re=st?`${ce}-${st}`:"";return{[`${ce}-single${re}`]:{fontSize:E.fontSize,height:E.controlHeight,[`${ce}-selector`]:Object.assign(Object.assign({},(0,s.Wf)(E,!0)),{display:"flex",borderRadius:H,flex:"1 1 auto",[`${ce}-selection-wrap:after`]:{lineHeight:(0,L.unit)(_)},[`${ce}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
${ce}-selection-item,
${ce}-selection-placeholder
`]:{display:"block",padding:0,lineHeight:(0,L.unit)(_),transition:`all ${E.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${ce}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${ce}-selection-item:empty:after`,`${ce}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
&${ce}-show-arrow ${ce}-selection-item,
&${ce}-show-arrow ${ce}-selection-search,
&${ce}-show-arrow ${ce}-selection-placeholder
`]:{paddingInlineEnd:E.showArrowPaddingInlineEnd},[`&${ce}-open ${ce}-selection-item`]:{color:E.colorTextPlaceholder},[`&:not(${ce}-customize-input)`]:{[`${ce}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,L.unit)(le)}`,[`${ce}-selection-search-input`]:{height:_,fontSize:E.fontSize},"&:after":{lineHeight:(0,L.unit)(_)}}},[`&${ce}-customize-input`]:{[`${ce}-selector`]:{"&:after":{display:"none"},[`${ce}-selection-search`]:{position:"static",width:"100%"},[`${ce}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,L.unit)(le)}`,"&:after":{display:"none"}}}}}}}function G(E){const{componentCls:st}=E,ce=E.calc(E.controlPaddingHorizontalSM).sub(E.lineWidth).equal();return[W(E),W((0,He.mergeToken)(E,{controlHeight:E.controlHeightSM,borderRadius:E.borderRadiusSM}),"sm"),{[`${st}-single${st}-sm`]:{[`&:not(${st}-customize-input)`]:{[`${st}-selector`]:{padding:`0 ${(0,L.unit)(ce)}`},[`&${st}-show-arrow ${st}-selection-search`]:{insetInlineEnd:E.calc(ce).add(E.calc(E.fontSize).mul(1.5)).equal()},[`
&${st}-show-arrow ${st}-selection-item,
&${st}-show-arrow ${st}-selection-placeholder
`]:{paddingInlineEnd:E.calc(E.fontSize).mul(1.5).equal()}}}},W((0,He.mergeToken)(E,{controlHeight:E.singleItemHeightLG,fontSize:E.fontSizeLG,borderRadius:E.borderRadiusLG}),"lg")]}const R=E=>{const{fontSize:st,lineHeight:ce,lineWidth:le,controlHeight:H,controlHeightSM:_,controlHeightLG:re,paddingXXS:T,controlPaddingHorizontal:ne,zIndexPopupBase:Fe,colorText:ye,fontWeightStrong:lt,controlItemBgActive:ft,controlItemBgHover:pt,colorBgContainer:he,colorFillSecondary:We,colorBgContainerDisabled:jt,colorTextDisabled:ze,colorPrimaryHover:Be,colorPrimary:P,controlOutline:ct}=E,Se=T*2,fe=le*2,ue=Math.min(H-Se,H-fe),ge=Math.min(_-Se,_-fe),$e=Math.min(re-Se,re-fe);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(T/2),zIndexPopup:Fe+50,optionSelectedColor:ye,optionSelectedFontWeight:lt,optionSelectedBg:ft,optionActiveBg:pt,optionPadding:`${(H-st*ce)/2}px ${ne}px`,optionFontSize:st,optionLineHeight:ce,optionHeight:H,selectorBg:he,clearBg:he,singleItemHeightLG:re,multipleItemBg:We,multipleItemBorderColor:"transparent",multipleItemHeight:ue,multipleItemHeightSM:ge,multipleItemHeightLG:$e,multipleSelectorBgDisabled:jt,multipleItemColorDisabled:ze,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(E.fontSize*1.25),hoverBorderColor:Be,activeBorderColor:P,activeOutlineColor:ct,selectAffixPadding:T}},Z=(E,st)=>{const{componentCls:ce,antCls:le,controlOutlineWidth:H}=E;return{[`&:not(${ce}-customize-input) ${ce}-selector`]:{border:`${(0,L.unit)(E.lineWidth)} ${E.lineType} ${st.borderColor}`,background:E.selectorBg},[`&:not(${ce}-disabled):not(${ce}-customize-input):not(${le}-pagination-size-changer)`]:{[`&:hover ${ce}-selector`]:{borderColor:st.hoverBorderHover},[`${ce}-focused& ${ce}-selector`]:{borderColor:st.activeBorderColor,boxShadow:`0 0 0 ${(0,L.unit)(H)} ${st.activeOutlineColor}`,outline:0},[`${ce}-prefix`]:{color:st.color}}}},A=(E,st)=>({[`&${E.componentCls}-status-${st.status}`]:Object.assign({},Z(E,st))}),$=E=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},Z(E,{borderColor:E.colorBorder,hoverBorderHover:E.hoverBorderColor,activeBorderColor:E.activeBorderColor,activeOutlineColor:E.activeOutlineColor,color:E.colorText})),A(E,{status:"error",borderColor:E.colorError,hoverBorderHover:E.colorErrorHover,activeBorderColor:E.colorError,activeOutlineColor:E.colorErrorOutline,color:E.colorError})),A(E,{status:"warning",borderColor:E.colorWarning,hoverBorderHover:E.colorWarningHover,activeBorderColor:E.colorWarning,activeOutlineColor:E.colorWarningOutline,color:E.colorWarning})),{[`&${E.componentCls}-disabled`]:{[`&:not(${E.componentCls}-customize-input) ${E.componentCls}-selector`]:{background:E.colorBgContainerDisabled,color:E.colorTextDisabled}},[`&${E.componentCls}-multiple ${E.componentCls}-selection-item`]:{background:E.multipleItemBg,border:`${(0,L.unit)(E.lineWidth)} ${E.lineType} ${E.multipleItemBorderColor}`}})}),w=(E,st)=>{const{componentCls:ce,antCls:le}=E;return{[`&:not(${ce}-customize-input) ${ce}-selector`]:{background:st.bg,border:`${(0,L.unit)(E.lineWidth)} ${E.lineType} transparent`,color:st.color},[`&:not(${ce}-disabled):not(${ce}-customize-input):not(${le}-pagination-size-changer)`]:{[`&:hover ${ce}-selector`]:{background:st.hoverBg},[`${ce}-focused& ${ce}-selector`]:{background:E.selectorBg,borderColor:st.activeBorderColor,outline:0}}}},j=(E,st)=>({[`&${E.componentCls}-status-${st.status}`]:Object.assign({},w(E,st))}),de=E=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},w(E,{bg:E.colorFillTertiary,hoverBg:E.colorFillSecondary,activeBorderColor:E.activeBorderColor,color:E.colorText})),j(E,{status:"error",bg:E.colorErrorBg,hoverBg:E.colorErrorBgHover,activeBorderColor:E.colorError,color:E.colorError})),j(E,{status:"warning",bg:E.colorWarningBg,hoverBg:E.colorWarningBgHover,activeBorderColor:E.colorWarning,color:E.colorWarning})),{[`&${E.componentCls}-disabled`]:{[`&:not(${E.componentCls}-customize-input) ${E.componentCls}-selector`]:{borderColor:E.colorBorder,background:E.colorBgContainerDisabled,color:E.colorTextDisabled}},[`&${E.componentCls}-multiple ${E.componentCls}-selection-item`]:{background:E.colorBgContainer,border:`${(0,L.unit)(E.lineWidth)} ${E.lineType} ${E.colorSplit}`}})}),X=E=>({"&-borderless":{[`${E.componentCls}-selector`]:{background:"transparent",border:`${(0,L.unit)(E.lineWidth)} ${E.lineType} transparent`},[`&${E.componentCls}-disabled`]:{[`&:not(${E.componentCls}-customize-input) ${E.componentCls}-selector`]:{color:E.colorTextDisabled}},[`&${E.componentCls}-multiple ${E.componentCls}-selection-item`]:{background:E.multipleItemBg,border:`${(0,L.unit)(E.lineWidth)} ${E.lineType} ${E.multipleItemBorderColor}`},[`&${E.componentCls}-status-error`]:{[`${E.componentCls}-prefix, ${E.componentCls}-selection-item`]:{color:E.colorError}},[`&${E.componentCls}-status-warning`]:{[`${E.componentCls}-prefix, ${E.componentCls}-selection-item`]:{color:E.colorWarning}}}}),J=(E,st)=>{const{componentCls:ce,antCls:le}=E;return{[`&:not(${ce}-customize-input) ${ce}-selector`]:{borderWidth:`0 0 ${(0,L.unit)(E.lineWidth)} 0`,borderStyle:`none none ${E.lineType} none`,borderColor:st.borderColor,background:E.selectorBg,borderRadius:0},[`&:not(${ce}-disabled):not(${ce}-customize-input):not(${le}-pagination-size-changer)`]:{[`&:hover ${ce}-selector`]:{borderColor:st.hoverBorderHover},[`${ce}-focused& ${ce}-selector`]:{borderColor:st.activeBorderColor,outline:0},[`${ce}-prefix`]:{color:st.color}}}},Ne=(E,st)=>({[`&${E.componentCls}-status-${st.status}`]:Object.assign({},J(E,st))}),Le=E=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},J(E,{borderColor:E.colorBorder,hoverBorderHover:E.hoverBorderColor,activeBorderColor:E.activeBorderColor,activeOutlineColor:E.activeOutlineColor,color:E.colorText})),Ne(E,{status:"error",borderColor:E.colorError,hoverBorderHover:E.colorErrorHover,activeBorderColor:E.colorError,activeOutlineColor:E.colorErrorOutline,color:E.colorError})),Ne(E,{status:"warning",borderColor:E.colorWarning,hoverBorderHover:E.colorWarningHover,activeBorderColor:E.colorWarning,activeOutlineColor:E.colorWarningOutline,color:E.colorWarning})),{[`&${E.componentCls}-disabled`]:{[`&:not(${E.componentCls}-customize-input) ${E.componentCls}-selector`]:{color:E.colorTextDisabled}},[`&${E.componentCls}-multiple ${E.componentCls}-selection-item`]:{background:E.multipleItemBg,border:`${(0,L.unit)(E.lineWidth)} ${E.lineType} ${E.multipleItemBorderColor}`}})});var Ue=E=>({[E.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},$(E)),de(E)),X(E)),Le(E))});const Ce=E=>{const{componentCls:st}=E;return{position:"relative",transition:`all ${E.motionDurationMid} ${E.motionEaseInOut}`,input:{cursor:"pointer"},[`${st}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${st}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Oe=E=>{const{componentCls:st}=E;return{[`${st}-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"}}}},Y=E=>{const{antCls:st,componentCls:ce,inputPaddingHorizontalBase:le,iconCls:H}=E;return{[ce]:Object.assign(Object.assign({},(0,s.Wf)(E)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${ce}-customize-input) ${ce}-selector`]:Object.assign(Object.assign({},Ce(E)),Oe(E)),[`${ce}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},s.vS),{[`> ${st}-typography`]:{display:"inline"}}),[`${ce}-selection-placeholder`]:Object.assign(Object.assign({},s.vS),{flex:1,color:E.colorTextPlaceholder,pointerEvents:"none"}),[`${ce}-arrow`]:Object.assign(Object.assign({},(0,s.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:le,height:E.fontSizeIcon,marginTop:E.calc(E.fontSizeIcon).mul(-1).div(2).equal(),color:E.colorTextQuaternary,fontSize:E.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${E.motionDurationSlow} ease`,[H]:{verticalAlign:"top",transition:`transform ${E.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${ce}-suffix)`]:{pointerEvents:"auto"}},[`${ce}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${ce}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${ce}-prefix`]:{flex:"none",marginInlineEnd:E.selectAffixPadding},[`${ce}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:le,zIndex:1,display:"inline-block",width:E.fontSizeIcon,height:E.fontSizeIcon,marginTop:E.calc(E.fontSizeIcon).mul(-1).div(2).equal(),color:E.colorTextQuaternary,fontSize:E.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${E.motionDurationMid} ease, opacity ${E.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:E.colorTextTertiary}},[`&:hover ${ce}-clear`]:{opacity:1,background:E.colorBgBase,borderRadius:"50%"}}),[`${ce}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${ce}-has-feedback`]:{[`${ce}-clear`]:{insetInlineEnd:E.calc(le).add(E.fontSize).add(E.paddingXS).equal()}}}}}},xe=E=>{const{componentCls:st}=E;return[{[st]:{[`&${st}-in-form-item`]:{width:"100%"}}},Y(E),G(E),(0,l.ZP)(E),U(E),{[`${st}-rtl`]:{direction:"rtl"}},(0,qe.c)(E,{borderElCls:`${st}-selector`,focusElCls:`${st}-focused`})]};var M=(0,I.I$)("Select",(E,st)=>{let{rootPrefixCls:ce}=st;const le=(0,He.mergeToken)(E,{rootPrefixCls:ce,inputPaddingHorizontalBase:E.calc(E.paddingSM).sub(1).equal(),multipleSelectItemHeight:E.multipleItemHeight,selectHeight:E.controlHeight});return[xe(le),Ue(le)]},R,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(en,Jt,o){"use strict";o.d(Jt,{_z:function(){return q},gp:function(){return He}});var s=o(36237),qe=o(63356),I=o(51636);const He=l=>{const{multipleSelectItemHeight:L,paddingXXS:W,lineWidth:G,INTERNAL_FIXED_ITEM_MARGIN:R}=l,Z=l.max(l.calc(W).sub(G).equal(),0),A=l.max(l.calc(Z).sub(R).equal(),0);return{basePadding:Z,containerPadding:A,itemHeight:(0,s.unit)(L),itemLineHeight:(0,s.unit)(l.calc(L).sub(l.calc(l.lineWidth).mul(2)).equal())}},te=l=>{const{multipleSelectItemHeight:L,selectHeight:W,lineWidth:G}=l;return l.calc(W).sub(L).div(2).sub(G).equal()},q=l=>{const{componentCls:L,iconCls:W,borderRadiusSM:G,motionDurationSlow:R,paddingXS:Z,multipleItemColorDisabled:A,multipleItemBorderColorDisabled:$,colorIcon:w,colorIconHover:j,INTERNAL_FIXED_ITEM_MARGIN:de}=l;return{[`${L}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${L}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:de,borderRadius:G,cursor:"default",transition:`font-size ${R}, line-height ${R}, height ${R}`,marginInlineEnd:l.calc(de).mul(2).equal(),paddingInlineStart:Z,paddingInlineEnd:l.calc(Z).div(2).equal(),[`${L}-disabled&`]:{color:A,borderColor:$,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:l.calc(Z).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,qe.Ro)()),{display:"inline-flex",alignItems:"center",color:w,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${W}`]:{verticalAlign:"-0.2em"},"&:hover":{color:j}})}}}},Q=(l,L)=>{const{componentCls:W,INTERNAL_FIXED_ITEM_MARGIN:G}=l,R=`${W}-selection-overflow`,Z=l.multipleSelectItemHeight,A=te(l),$=L?`${W}-${L}`:"",w=He(l);return{[`${W}-multiple${$}`]:Object.assign(Object.assign({},q(l)),{[`${W}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:w.basePadding,paddingBlock:w.containerPadding,borderRadius:l.borderRadius,[`${W}-disabled&`]:{background:l.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,s.unit)(G)} 0`,lineHeight:(0,s.unit)(Z),visibility:"hidden",content:'"\\a0"'}},[`${W}-selection-item`]:{height:w.itemHeight,lineHeight:(0,s.unit)(w.itemLineHeight)},[`${W}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,s.unit)(Z),marginBlock:G}},[`${W}-prefix`]:{marginInlineStart:l.calc(l.inputPaddingHorizontalBase).sub(w.basePadding).equal()},[`${R}-item + ${R}-item,
${W}-prefix + ${W}-selection-wrap
`]:{[`${W}-selection-search`]:{marginInlineStart:0},[`${W}-selection-placeholder`]:{insetInlineStart:0}},[`${R}-item-suffix`]:{minHeight:w.itemHeight,marginBlock:G},[`${W}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:l.calc(l.inputPaddingHorizontalBase).sub(A).equal(),"\n &-input,\n &-mirror\n ":{height:Z,fontFamily:l.fontFamily,lineHeight:(0,s.unit)(Z),transition:`all ${l.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${W}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:l.calc(l.inputPaddingHorizontalBase).sub(w.basePadding).equal(),insetInlineEnd:l.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${l.motionDurationSlow}`}})}};function y(l,L){const{componentCls:W}=l,G=L?`${W}-${L}`:"",R={[`${W}-multiple${G}`]:{fontSize:l.fontSize,[`${W}-selector`]:{[`${W}-show-search&`]:{cursor:"text"}},[`
&${W}-show-arrow ${W}-selector,
&${W}-allow-clear ${W}-selector
`]:{paddingInlineEnd:l.calc(l.fontSizeIcon).add(l.controlPaddingHorizontal).equal()}}};return[Q(l,L),R]}const U=l=>{const{componentCls:L}=l,W=(0,I.mergeToken)(l,{selectHeight:l.controlHeightSM,multipleSelectItemHeight:l.multipleItemHeightSM,borderRadius:l.borderRadiusSM,borderRadiusSM:l.borderRadiusXS}),G=(0,I.mergeToken)(l,{fontSize:l.fontSizeLG,selectHeight:l.controlHeightLG,multipleSelectItemHeight:l.multipleItemHeightLG,borderRadius:l.borderRadiusLG,borderRadiusSM:l.borderRadius});return[y(l),y(W,"sm"),{[`${L}-multiple${L}-sm`]:{[`${L}-selection-placeholder`]:{insetInline:l.calc(l.controlPaddingHorizontalSM).sub(l.lineWidth).equal()},[`${L}-selection-search`]:{marginInlineStart:2}}},y(G,"lg")]};Jt.ZP=U},68525:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return y}});var s=o(59301),qe=o(40001),I=o(19248),He=o(99267),te=o(84105),q=o(58617),Q=o(47472);function y(U){let{suffixIcon:l,clearIcon:L,menuItemSelectedIcon:W,removeIcon:G,loading:R,multiple:Z,hasFeedback:A,prefixCls:$,showSuffixIcon:w,feedbackIcon:j,showArrow:de,componentName:X}=U;const J=L!=null?L:s.createElement(I.Z,null),Ne=Ce=>l===null&&!A&&!de?null:s.createElement(s.Fragment,null,w!==!1&&Ce,A&&j);let Le=null;if(l!==void 0)Le=Ne(l);else if(R)Le=Ne(s.createElement(q.Z,{spin:!0}));else{const Ce=`${$}-suffix`;Le=Oe=>{let{open:Y,showSearch:xe}=Oe;return Ne(Y&&xe?s.createElement(Q.Z,{className:Ce}):s.createElement(te.Z,{className:Ce}))}}let et=null;W!==void 0?et=W:Z?et=s.createElement(qe.Z,null):et=null;let Ue=null;return G!==void 0?Ue=G:Ue=s.createElement(He.Z,null),{clearIcon:J,suffixIcon:Le,itemIcon:et,removeIcon:Ue}}},90005:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return s}});function s(qe,I){return I!==void 0?I:qe!==null}},77736:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return $}});var s=o(59301),qe=o(92310),I=o.n(qe),He=o(11592);function te(w){return["small","middle","large"].includes(w)}function q(w){return w?typeof w=="number"&&!Number.isNaN(w):!1}var Q=o(48755),y=o(70045);const U=s.createContext({latestIndex:0}),l=U.Provider;var W=w=>{let{className:j,index:de,children:X,split:J,style:Ne}=w;const{latestIndex:Le}=s.useContext(U);return X==null?null:s.createElement(s.Fragment,null,s.createElement("div",{className:j,style:Ne},X),de<Le&&J&&s.createElement("span",{className:`${j}-split`},J))},G=o(31547),R=function(w,j){var de={};for(var X in w)Object.prototype.hasOwnProperty.call(w,X)&&j.indexOf(X)<0&&(de[X]=w[X]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var J=0,X=Object.getOwnPropertySymbols(w);J<X.length;J++)j.indexOf(X[J])<0&&Object.prototype.propertyIsEnumerable.call(w,X[J])&&(de[X[J]]=w[X[J]]);return de};const A=s.forwardRef((w,j)=>{var de;const{getPrefixCls:X,direction:J,size:Ne,className:Le,style:et,classNames:Ue,styles:Ce}=(0,Q.dj)("space"),{size:Oe=Ne!=null?Ne:"small",align:Y,className:xe,rootClassName:M,children:E,direction:st="horizontal",prefixCls:ce,split:le,style:H,wrap:_=!1,classNames:re,styles:T}=w,ne=R(w,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[Fe,ye]=Array.isArray(Oe)?Oe:[Oe,Oe],lt=te(ye),ft=te(Fe),pt=q(ye),he=q(Fe),We=(0,He.Z)(E,{keepEmpty:!0}),jt=Y===void 0&&st==="horizontal"?"center":Y,ze=X("space",ce),[Be,P,ct]=(0,G.Z)(ze),Se=I()(ze,Le,P,`${ze}-${st}`,{[`${ze}-rtl`]:J==="rtl",[`${ze}-align-${jt}`]:jt,[`${ze}-gap-row-${ye}`]:lt,[`${ze}-gap-col-${Fe}`]:ft},xe,M,ct),fe=I()(`${ze}-item`,(de=re==null?void 0:re.item)!==null&&de!==void 0?de:Ue.item);let ue=0;const ge=We.map((Re,Je)=>{var wt;Re!=null&&(ue=Je);const At=(Re==null?void 0:Re.key)||`${fe}-${Je}`;return s.createElement(W,{className:fe,key:At,index:Je,split:le,style:(wt=T==null?void 0:T.item)!==null&&wt!==void 0?wt:Ce.item},Re)}),$e=s.useMemo(()=>({latestIndex:ue}),[ue]);if(We.length===0)return null;const we={};return _&&(we.flexWrap="wrap"),!ft&&he&&(we.columnGap=Fe),!lt&&pt&&(we.rowGap=ye),Be(s.createElement("div",Object.assign({ref:j,className:Se,style:Object.assign(Object.assign(Object.assign({},we),et),H)},ne),s.createElement(l,{value:$e},ge)))});A.Compact=y.ZP;var $=A},11938:function(en,Jt,o){"use strict";o.d(Jt,{default:function(){return Oe}});var s=o(59301),qe=o(40192),I=o(22703),He=o(92310),te=o.n(He),q=o(26112),Q=o(48755),y=o(458),l=Y=>{const{value:xe,formatter:M,precision:E,decimalSeparator:st,groupSeparator:ce="",prefixCls:le}=Y;let H;if(typeof M=="function")H=M(xe);else{const _=String(xe),re=_.match(/^(-?)(\d*)(\.(\d+))?$/);if(!re||_==="-")H=_;else{const T=re[1];let ne=re[2]||"0",Fe=re[4]||"";ne=ne.replace(/\B(?=(\d{3})+(?!\d))/g,ce),typeof E=="number"&&(Fe=Fe.padEnd(E,"0").slice(0,E>0?E:0)),Fe&&(Fe=`${st}${Fe}`),H=[s.createElement("span",{key:"int",className:`${le}-content-value-int`},T,ne),Fe&&s.createElement("span",{key:"decimal",className:`${le}-content-value-decimal`},Fe)]}}return s.createElement("span",{className:`${le}-content-value`},H)},L=o(63356),W=o(16931),G=o(51636);const R=Y=>{const{componentCls:xe,marginXXS:M,padding:E,colorTextDescription:st,titleFontSize:ce,colorTextHeading:le,contentFontSize:H,fontFamily:_}=Y;return{[xe]:Object.assign(Object.assign({},(0,L.Wf)(Y)),{[`${xe}-title`]:{marginBottom:M,color:st,fontSize:ce},[`${xe}-skeleton`]:{paddingTop:E},[`${xe}-content`]:{color:le,fontSize:H,fontFamily:_,[`${xe}-content-value`]:{display:"inline-block",direction:"ltr"},[`${xe}-content-prefix, ${xe}-content-suffix`]:{display:"inline-block"},[`${xe}-content-prefix`]:{marginInlineEnd:M},[`${xe}-content-suffix`]:{marginInlineStart:M}}})}},Z=Y=>{const{fontSizeHeading3:xe,fontSize:M}=Y;return{titleFontSize:M,contentFontSize:xe}};var A=(0,W.I$)("Statistic",Y=>{const xe=(0,G.mergeToken)(Y,{});return[R(xe)]},Z),$=function(Y,xe){var M={};for(var E in Y)Object.prototype.hasOwnProperty.call(Y,E)&&xe.indexOf(E)<0&&(M[E]=Y[E]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,E=Object.getOwnPropertySymbols(Y);st<E.length;st++)xe.indexOf(E[st])<0&&Object.prototype.propertyIsEnumerable.call(Y,E[st])&&(M[E[st]]=Y[E[st]]);return M},j=Y=>{const{prefixCls:xe,className:M,rootClassName:E,style:st,valueStyle:ce,value:le=0,title:H,valueRender:_,prefix:re,suffix:T,loading:ne=!1,formatter:Fe,precision:ye,decimalSeparator:lt=".",groupSeparator:ft=",",onMouseEnter:pt,onMouseLeave:he}=Y,We=$(Y,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:jt,direction:ze,className:Be,style:P}=(0,Q.dj)("statistic"),ct=jt("statistic",xe),[Se,fe,ue]=A(ct),ge=s.createElement(l,{decimalSeparator:lt,groupSeparator:ft,prefixCls:ct,formatter:Fe,precision:ye,value:le}),$e=te()(ct,{[`${ct}-rtl`]:ze==="rtl"},Be,M,E,fe,ue),we=(0,q.Z)(We,{aria:!0,data:!0});return Se(s.createElement("div",Object.assign({},we,{className:$e,style:Object.assign(Object.assign({},P),st),onMouseEnter:pt,onMouseLeave:he}),H&&s.createElement("div",{className:`${ct}-title`},H),s.createElement(y.Z,{paragraph:!1,loading:ne,className:`${ct}-skeleton`},s.createElement("div",{style:ce,className:`${ct}-content`},re&&s.createElement("span",{className:`${ct}-content-prefix`},re),_?_(ge):ge,T&&s.createElement("span",{className:`${ct}-content-suffix`},T)))))};const de=[["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 X(Y,xe){let M=Y;const E=/\[[^\]]*]/g,st=(xe.match(E)||[]).map(_=>_.slice(1,-1)),ce=xe.replace(E,"[]"),le=de.reduce((_,re)=>{let[T,ne]=re;if(_.includes(T)){const Fe=Math.floor(M/ne);return M-=Fe*ne,_.replace(new RegExp(`${T}+`,"g"),ye=>{const lt=ye.length;return Fe.toString().padStart(lt,"0")})}return _},ce);let H=0;return le.replace(E,()=>{const _=st[H];return H+=1,_})}function J(Y,xe){const{format:M=""}=xe,E=new Date(Y).getTime(),st=Date.now(),ce=Math.max(E-st,0);return X(ce,M)}var Ne=function(Y,xe){var M={};for(var E in Y)Object.prototype.hasOwnProperty.call(Y,E)&&xe.indexOf(E)<0&&(M[E]=Y[E]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,E=Object.getOwnPropertySymbols(Y);st<E.length;st++)xe.indexOf(E[st])<0&&Object.prototype.propertyIsEnumerable.call(Y,E[st])&&(M[E[st]]=Y[E[st]]);return M};const Le=1e3/30;function et(Y){return new Date(Y).getTime()}const Ue=Y=>{const{value:xe,format:M="HH:mm:ss",onChange:E,onFinish:st}=Y,ce=Ne(Y,["value","format","onChange","onFinish"]),le=(0,qe.Z)(),H=s.useRef(null),_=()=>{st==null||st(),H.current&&(clearInterval(H.current),H.current=null)},re=()=>{const Fe=et(xe);Fe>=Date.now()&&(H.current=setInterval(()=>{le(),E==null||E(Fe-Date.now()),Fe<Date.now()&&_()},Le))};s.useEffect(()=>(re(),()=>{H.current&&(clearInterval(H.current),H.current=null)}),[xe]);const T=(Fe,ye)=>J(Fe,Object.assign(Object.assign({},ye),{format:M})),ne=Fe=>(0,I.Tm)(Fe,{title:void 0});return s.createElement(j,Object.assign({},ce,{value:xe,valueRender:ne,formatter:T}))};var Ce=s.memo(Ue);j.Countdown=Ce;var Oe=j},34961:function(en,Jt){"use strict";const o=s=>({[s.componentCls]:{[`${s.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${s.motionDurationMid} ${s.motionEaseInOut},
opacity ${s.motionDurationMid} ${s.motionEaseInOut} !important`}},[`${s.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${s.motionDurationMid} ${s.motionEaseInOut},
opacity ${s.motionDurationMid} ${s.motionEaseInOut} !important`}}});Jt.Z=o},93873:function(en,Jt,o){"use strict";o.d(Jt,{Fm:function(){return W}});var s=o(36237),qe=o(48746);const I=new s.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),He=new s.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),te=new s.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),q=new s.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Q=new s.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 s.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),U=new s.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new s.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),L={"move-up":{inKeyframes:U,outKeyframes:l},"move-down":{inKeyframes:I,outKeyframes:He},"move-left":{inKeyframes:te,outKeyframes:q},"move-right":{inKeyframes:Q,outKeyframes:y}},W=(G,R)=>{const{antCls:Z}=G,A=`${Z}-${R}`,{inKeyframes:$,outKeyframes:w}=L[R];return[(0,qe.R)(A,$,w,G.motionDurationMid),{[`
${A}-enter,
${A}-appear
`]:{opacity:0,animationTimingFunction:G.motionEaseOutCirc},[`${A}-leave`]:{animationTimingFunction:G.motionEaseInOutCirc}}]}},46e3:function(en,Jt,o){"use strict";o.d(Jt,{Qt:function(){return te},Uw:function(){return He},fJ:function(){return I},ly:function(){return q},oN:function(){return W}});var s=o(36237),qe=o(48746);const I=new s.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),He=new s.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),te=new s.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),q=new s.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),Q=new s.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),y=new s.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),U=new s.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),l=new s.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),L={"slide-up":{inKeyframes:I,outKeyframes:He},"slide-down":{inKeyframes:te,outKeyframes:q},"slide-left":{inKeyframes:Q,outKeyframes:y},"slide-right":{inKeyframes:U,outKeyframes:l}},W=(G,R)=>{const{antCls:Z}=G,A=`${Z}-${R}`,{inKeyframes:$,outKeyframes:w}=L[R];return[(0,qe.R)(A,$,w,G.motionDurationMid),{[`
${A}-enter,
${A}-appear
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:G.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${A}-leave`]:{animationTimingFunction:G.motionEaseInQuint}}]}},37645:function(en,Jt,o){"use strict";o.d(Jt,{ZP:function(){return q},qN:function(){return I},wZ:function(){return He}});var s=o(36237),qe=o(36305);const I=8;function He(Q){const{contentRadius:y,limitVerticalRadius:U}=Q,l=y>12?y+2:12;return{arrowOffsetHorizontal:l,arrowOffsetVertical:U?I:l}}function te(Q,y){return Q?y:{}}function q(Q,y,U){const{componentCls:l,boxShadowPopoverArrow:L,arrowOffsetVertical:W,arrowOffsetHorizontal:G}=Q,{arrowDistance:R=0,arrowPlacement:Z={left:!0,right:!0,top:!0,bottom:!0}}=U||{};return{[l]:Object.assign(Object.assign(Object.assign(Object.assign({[`${l}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,qe.W)(Q,y,L)),{"&:before":{background:y}})]},te(!!Z.top,{[[`&-placement-top > ${l}-arrow`,`&-placement-topLeft > ${l}-arrow`,`&-placement-topRight > ${l}-arrow`].join(",")]:{bottom:R,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${l}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":G,[`> ${l}-arrow`]:{left:{_skip_check_:!0,value:G}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,s.unit)(G)})`,[`> ${l}-arrow`]:{right:{_skip_check_:!0,value:G}}}})),te(!!Z.bottom,{[[`&-placement-bottom > ${l}-arrow`,`&-placement-bottomLeft > ${l}-arrow`,`&-placement-bottomRight > ${l}-arrow`].join(",")]:{top:R,transform:"translateY(-100%)"},[`&-placement-bottom > ${l}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":G,[`> ${l}-arrow`]:{left:{_skip_check_:!0,value:G}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,s.unit)(G)})`,[`> ${l}-arrow`]:{right:{_skip_check_:!0,value:G}}}})),te(!!Z.left,{[[`&-placement-left > ${l}-arrow`,`&-placement-leftTop > ${l}-arrow`,`&-placement-leftBottom > ${l}-arrow`].join(",")]:{right:{_skip_check_:!0,value:R},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${l}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${l}-arrow`]:{top:W},[`&-placement-leftBottom > ${l}-arrow`]:{bottom:W}})),te(!!Z.right,{[[`&-placement-right > ${l}-arrow`,`&-placement-rightTop > ${l}-arrow`,`&-placement-rightBottom > ${l}-arrow`].join(",")]:{left:{_skip_check_:!0,value:R},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${l}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${l}-arrow`]:{top:W},[`&-placement-rightBottom > ${l}-arrow`]:{bottom:W}}))}}},36305:function(en,Jt,o){"use strict";o.d(Jt,{W:function(){return I},w:function(){return qe}});var s=o(36237);function qe(He){const{sizePopupArrow:te,borderRadiusXS:q,borderRadiusOuter:Q}=He,y=te/2,U=0,l=y,L=Q*1/Math.sqrt(2),W=y-Q*(1-1/Math.sqrt(2)),G=y-q*(1/Math.sqrt(2)),R=Q*(Math.sqrt(2)-1)+q*(1/Math.sqrt(2)),Z=2*y-G,A=R,$=2*y-L,w=W,j=2*y-U,de=l,X=y*Math.sqrt(2)+Q*(Math.sqrt(2)-2),J=Q*(Math.sqrt(2)-1),Ne=`polygon(${J}px 100%, 50% ${J}px, ${2*y-J}px 100%, ${J}px 100%)`,Le=`path('M ${U} ${l} A ${Q} ${Q} 0 0 0 ${L} ${W} L ${G} ${R} A ${q} ${q} 0 0 1 ${Z} ${A} L ${$} ${w} A ${Q} ${Q} 0 0 0 ${j} ${de} Z')`;return{arrowShadowWidth:X,arrowPath:Le,arrowPolygon:Ne}}const I=(He,te,q)=>{const{sizePopupArrow:Q,arrowPolygon:y,arrowPath:U,arrowShadowWidth:l,borderRadiusXS:L,calc:W}=He;return{pointerEvents:"none",width:Q,height:Q,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:Q,height:W(Q).div(2).equal(),background:te,clipPath:{_multi_value_:!0,value:[y,U]},content:'""'},"&::after":{content:'""',position:"absolute",width:l,height:l,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,s.unit)(L)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:q,zIndex:0,background:"transparent"}}}},71411:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return Ue}});var s=o(59301),qe=o(58617),I=o(92310),He=o.n(I),te=o(63158),q=o(18929),Q=o(12919),y=o(48755),U=o(2171),l=o(31756),L=o(36237),W=o(17835),G=o(63356),R=o(16931),Z=o(51636);const A=Ce=>{const{componentCls:Oe,trackHeightSM:Y,trackPadding:xe,trackMinWidthSM:M,innerMinMarginSM:E,innerMaxMarginSM:st,handleSizeSM:ce,calc:le}=Ce,H=`${Oe}-inner`,_=(0,L.unit)(le(ce).add(le(xe).mul(2)).equal()),re=(0,L.unit)(le(st).mul(2).equal());return{[Oe]:{[`&${Oe}-small`]:{minWidth:M,height:Y,lineHeight:(0,L.unit)(Y),[`${Oe}-inner`]:{paddingInlineStart:st,paddingInlineEnd:E,[`${H}-checked, ${H}-unchecked`]:{minHeight:Y},[`${H}-checked`]:{marginInlineStart:`calc(-100% + ${_} - ${re})`,marginInlineEnd:`calc(100% - ${_} + ${re})`},[`${H}-unchecked`]:{marginTop:le(Y).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${Oe}-handle`]:{width:ce,height:ce},[`${Oe}-loading-icon`]:{top:le(le(ce).sub(Ce.switchLoadingIconSize)).div(2).equal(),fontSize:Ce.switchLoadingIconSize},[`&${Oe}-checked`]:{[`${Oe}-inner`]:{paddingInlineStart:E,paddingInlineEnd:st,[`${H}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${H}-unchecked`]:{marginInlineStart:`calc(100% - ${_} + ${re})`,marginInlineEnd:`calc(-100% + ${_} - ${re})`}},[`${Oe}-handle`]:{insetInlineStart:`calc(100% - ${(0,L.unit)(le(ce).add(xe).equal())})`}},[`&:not(${Oe}-disabled):active`]:{[`&:not(${Oe}-checked) ${H}`]:{[`${H}-unchecked`]:{marginInlineStart:le(Ce.marginXXS).div(2).equal(),marginInlineEnd:le(Ce.marginXXS).mul(-1).div(2).equal()}},[`&${Oe}-checked ${H}`]:{[`${H}-checked`]:{marginInlineStart:le(Ce.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:le(Ce.marginXXS).div(2).equal()}}}}}}},$=Ce=>{const{componentCls:Oe,handleSize:Y,calc:xe}=Ce;return{[Oe]:{[`${Oe}-loading-icon${Ce.iconCls}`]:{position:"relative",top:xe(xe(Y).sub(Ce.fontSize)).div(2).equal(),color:Ce.switchLoadingIconColor,verticalAlign:"top"},[`&${Oe}-checked ${Oe}-loading-icon`]:{color:Ce.switchColor}}}},w=Ce=>{const{componentCls:Oe,trackPadding:Y,handleBg:xe,handleShadow:M,handleSize:E,calc:st}=Ce,ce=`${Oe}-handle`;return{[Oe]:{[ce]:{position:"absolute",top:Y,insetInlineStart:Y,width:E,height:E,transition:`all ${Ce.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:xe,borderRadius:st(E).div(2).equal(),boxShadow:M,transition:`all ${Ce.switchDuration} ease-in-out`,content:'""'}},[`&${Oe}-checked ${ce}`]:{insetInlineStart:`calc(100% - ${(0,L.unit)(st(E).add(Y).equal())})`},[`&:not(${Oe}-disabled):active`]:{[`${ce}::before`]:{insetInlineEnd:Ce.switchHandleActiveInset,insetInlineStart:0},[`&${Oe}-checked ${ce}::before`]:{insetInlineEnd:0,insetInlineStart:Ce.switchHandleActiveInset}}}}},j=Ce=>{const{componentCls:Oe,trackHeight:Y,trackPadding:xe,innerMinMargin:M,innerMaxMargin:E,handleSize:st,calc:ce}=Ce,le=`${Oe}-inner`,H=(0,L.unit)(ce(st).add(ce(xe).mul(2)).equal()),_=(0,L.unit)(ce(E).mul(2).equal());return{[Oe]:{[le]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:E,paddingInlineEnd:M,transition:`padding-inline-start ${Ce.switchDuration} ease-in-out, padding-inline-end ${Ce.switchDuration} ease-in-out`,[`${le}-checked, ${le}-unchecked`]:{display:"block",color:Ce.colorTextLightSolid,fontSize:Ce.fontSizeSM,transition:`margin-inline-start ${Ce.switchDuration} ease-in-out, margin-inline-end ${Ce.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:Y},[`${le}-checked`]:{marginInlineStart:`calc(-100% + ${H} - ${_})`,marginInlineEnd:`calc(100% - ${H} + ${_})`},[`${le}-unchecked`]:{marginTop:ce(Y).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${Oe}-checked ${le}`]:{paddingInlineStart:M,paddingInlineEnd:E,[`${le}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${le}-unchecked`]:{marginInlineStart:`calc(100% - ${H} + ${_})`,marginInlineEnd:`calc(-100% + ${H} - ${_})`}},[`&:not(${Oe}-disabled):active`]:{[`&:not(${Oe}-checked) ${le}`]:{[`${le}-unchecked`]:{marginInlineStart:ce(xe).mul(2).equal(),marginInlineEnd:ce(xe).mul(-1).mul(2).equal()}},[`&${Oe}-checked ${le}`]:{[`${le}-checked`]:{marginInlineStart:ce(xe).mul(-1).mul(2).equal(),marginInlineEnd:ce(xe).mul(2).equal()}}}}}},de=Ce=>{const{componentCls:Oe,trackHeight:Y,trackMinWidth:xe}=Ce;return{[Oe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,G.Wf)(Ce)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:xe,height:Y,lineHeight:(0,L.unit)(Y),verticalAlign:"middle",background:Ce.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Ce.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Oe}-disabled)`]:{background:Ce.colorTextTertiary}}),(0,G.Qy)(Ce)),{[`&${Oe}-checked`]:{background:Ce.switchColor,[`&:hover:not(${Oe}-disabled)`]:{background:Ce.colorPrimaryHover}},[`&${Oe}-loading, &${Oe}-disabled`]:{cursor:"not-allowed",opacity:Ce.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Oe}-rtl`]:{direction:"rtl"}})}},X=Ce=>{const{fontSize:Oe,lineHeight:Y,controlHeight:xe,colorWhite:M}=Ce,E=Oe*Y,st=xe/2,ce=2,le=E-ce*2,H=st-ce*2;return{trackHeight:E,trackHeightSM:st,trackMinWidth:le*2+ce*4,trackMinWidthSM:H*2+ce*2,trackPadding:ce,handleBg:M,handleSize:le,handleSizeSM:H,handleShadow:`0 2px 4px 0 ${new W.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:le/2,innerMaxMargin:le+ce+ce*2,innerMinMarginSM:H/2,innerMaxMarginSM:H+ce+ce*2}};var J=(0,R.I$)("Switch",Ce=>{const Oe=(0,Z.mergeToken)(Ce,{switchDuration:Ce.motionDurationMid,switchColor:Ce.colorPrimary,switchDisabledOpacity:Ce.opacityLoading,switchLoadingIconSize:Ce.calc(Ce.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${Ce.opacityLoading})`,switchHandleActiveInset:"-30%"});return[de(Oe),j(Oe),w(Oe),$(Oe),A(Oe)]},X),Ne=function(Ce,Oe){var Y={};for(var xe in Ce)Object.prototype.hasOwnProperty.call(Ce,xe)&&Oe.indexOf(xe)<0&&(Y[xe]=Ce[xe]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,xe=Object.getOwnPropertySymbols(Ce);M<xe.length;M++)Oe.indexOf(xe[M])<0&&Object.prototype.propertyIsEnumerable.call(Ce,xe[M])&&(Y[xe[M]]=Ce[xe[M]]);return Y};const et=s.forwardRef((Ce,Oe)=>{const{prefixCls:Y,size:xe,disabled:M,loading:E,className:st,rootClassName:ce,style:le,checked:H,value:_,defaultChecked:re,defaultValue:T,onChange:ne}=Ce,Fe=Ne(Ce,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[ye,lt]=(0,q.Z)(!1,{value:H!=null?H:_,defaultValue:re!=null?re:T}),{getPrefixCls:ft,direction:pt,switch:he}=s.useContext(y.E_),We=s.useContext(U.Z),jt=(M!=null?M:We)||E,ze=ft("switch",Y),Be=s.createElement("div",{className:`${ze}-handle`},E&&s.createElement(qe.Z,{className:`${ze}-loading-icon`})),[P,ct,Se]=J(ze),fe=(0,l.Z)(xe),ue=He()(he==null?void 0:he.className,{[`${ze}-small`]:fe==="small",[`${ze}-loading`]:E,[`${ze}-rtl`]:pt==="rtl"},st,ce,ct,Se),ge=Object.assign(Object.assign({},he==null?void 0:he.style),le),$e=function(){lt(arguments.length<=0?void 0:arguments[0]),ne==null||ne.apply(void 0,arguments)};return P(s.createElement(Q.Z,{component:"Switch"},s.createElement(te.Z,Object.assign({},Fe,{checked:ye,onChange:$e,prefixCls:ze,className:ue,style:ge,disabled:jt,ref:Oe,loadingIcon:Be}))))});et.__ANT_SWITCH=!0;var Ue=et},54172:function(en,Jt,o){"use strict";o.d(Jt,{default:function(){return Pt}});var s=o(59301),qe=o(4030),He=Ve=>null,q=Ve=>null,Q=o(15142),y=o(84105),U=o(92310),l=o.n(U),L=o(82661),W=o(34643),G=o(34061),R=o(18929);function Z(Ve){const[ve,$t]=(0,s.useState)(null);return[(0,s.useCallback)((Gt,Sr,be)=>{const nt=ve!=null?ve:Gt,rt=Math.min(nt||0,Gt),kt=Math.max(nt||0,Gt),Yt=Sr.slice(rt,kt+1).map(Qt=>Ve(Qt)),Lt=Yt.some(Qt=>!be.has(Qt)),Bt=[];return Yt.forEach(Qt=>{Lt?(be.has(Qt)||Bt.push(Qt),be.add(Qt)):(be.delete(Qt),Bt.push(Qt))}),$t(Lt?kt:null),Bt},[ve]),Gt=>{$t(Gt)}]}var A=o(32383),$=o(62673),w=o(75727),j=o(47889);const de={},X="SELECT_ALL",J="SELECT_INVERT",Ne="SELECT_NONE",Le=[],et=(Ve,ve)=>{let $t=[];return(ve||[]).forEach(Ct=>{$t.push(Ct),Ct&&typeof Ct=="object"&&Ve in Ct&&($t=[].concat((0,Q.Z)($t),(0,Q.Z)(et(Ve,Ct[Ve]))))}),$t};var Ce=(Ve,ve)=>{const{preserveSelectedRowKeys:$t,selectedRowKeys:Ct,defaultSelectedRowKeys:Xt,getCheckboxProps:Gt,onChange:Sr,onSelect:be,onSelectAll:nt,onSelectInvert:rt,onSelectNone:kt,onSelectMultiple:Yt,columnWidth:Lt,type:Bt,selections:Qt,fixed:Ur,renderCell:Wt,hideSelectAll:Fr,checkStrictly:Xr=!0}=ve||{},{prefixCls:gn,data:Dt,pageData:Et,getRecordByKey:wn,getRowKey:Gr,expandType:qr,childrenColumnName:nn,locale:_r,getPopupContainer:on}=Ve,Mn=(0,A.ln)("Table"),[Ln,Hn]=Z(Jn=>Jn),[ta,oa]=(0,R.Z)(Ct||Xt||Le,{value:Ct}),ma=s.useRef(new Map),Kn=(0,s.useCallback)(Jn=>{if($t){const ra=new Map;Jn.forEach(fn=>{let Cn=wn(fn);!Cn&&ma.current.has(fn)&&(Cn=ma.current.get(fn)),ra.set(fn,Cn)}),ma.current=ra}},[wn,$t]);s.useEffect(()=>{Kn(ta)},[ta]);const On=(0,s.useMemo)(()=>et(nn,Et),[nn,Et]),{keyEntities:Yr}=(0,s.useMemo)(()=>{if(Xr)return{keyEntities:null};let Jn=Dt;if($t){const ra=new Set(On.map((Cn,Oa)=>Gr(Cn,Oa))),fn=Array.from(ma.current).reduce((Cn,Oa)=>{let[aa,za]=Oa;return ra.has(aa)?Cn:Cn.concat(za)},[]);Jn=[].concat((0,Q.Z)(Jn),(0,Q.Z)(fn))}return(0,G.I8)(Jn,{externalGetKey:Gr,childrenPropName:nn})},[Dt,Gr,Xr,nn,$t,On]),Ba=(0,s.useMemo)(()=>{const Jn=new Map;return On.forEach((ra,fn)=>{const Cn=Gr(ra,fn),Oa=(Gt?Gt(ra):null)||{};Jn.set(Cn,Oa)}),Jn},[On,Gr,Gt]),ba=(0,s.useCallback)(Jn=>{const ra=Gr(Jn);let fn;return Ba.has(ra)?fn=Ba.get(Gr(Jn)):fn=Gt?Gt(Jn):void 0,!!(fn!=null&&fn.disabled)},[Ba,Gr]),[La,ia]=(0,s.useMemo)(()=>{if(Xr)return[ta||[],[]];const{checkedKeys:Jn,halfCheckedKeys:ra}=(0,W.S)(ta,!0,Yr,ba);return[Jn||[],ra]},[ta,Xr,Yr,ba]),Ca=(0,s.useMemo)(()=>{const Jn=Bt==="radio"?La.slice(0,1):La;return new Set(Jn)},[La,Bt]),uo=(0,s.useMemo)(()=>Bt==="radio"?new Set:new Set(ia),[ia,Bt]);s.useEffect(()=>{ve||oa(Le)},[!!ve]);const sa=(0,s.useCallback)((Jn,ra)=>{let fn,Cn;Kn(Jn),$t?(fn=Jn,Cn=Jn.map(Oa=>ma.current.get(Oa))):(fn=[],Cn=[],Jn.forEach(Oa=>{const aa=wn(Oa);aa!==void 0&&(fn.push(Oa),Cn.push(aa))})),oa(fn),Sr==null||Sr(fn,Cn,{type:ra})},[oa,wn,Sr,$t]),no=(0,s.useCallback)((Jn,ra,fn,Cn)=>{if(be){const Oa=fn.map(aa=>wn(aa));be(wn(Jn),ra,Oa,Cn)}sa(fn,"single")},[be,wn,sa]),Ma=(0,s.useMemo)(()=>!Qt||Fr?null:(Qt===!0?[X,J,Ne]:Qt).map(ra=>ra===X?{key:"all",text:_r.selectionAll,onSelect(){sa(Dt.map((fn,Cn)=>Gr(fn,Cn)).filter(fn=>{const Cn=Ba.get(fn);return!(Cn!=null&&Cn.disabled)||Ca.has(fn)}),"all")}}:ra===J?{key:"invert",text:_r.selectInvert,onSelect(){const fn=new Set(Ca);Et.forEach((Oa,aa)=>{const za=Gr(Oa,aa),Ta=Ba.get(za);Ta!=null&&Ta.disabled||(fn.has(za)?fn.delete(za):fn.add(za))});const Cn=Array.from(fn);rt&&(Mn.deprecated(!1,"onSelectInvert","onChange"),rt(Cn)),sa(Cn,"invert")}}:ra===Ne?{key:"none",text:_r.selectNone,onSelect(){kt==null||kt(),sa(Array.from(Ca).filter(fn=>{const Cn=Ba.get(fn);return Cn==null?void 0:Cn.disabled}),"none")}}:ra).map(ra=>Object.assign(Object.assign({},ra),{onSelect:function(){for(var fn,Cn,Oa=arguments.length,aa=new Array(Oa),za=0;za<Oa;za++)aa[za]=arguments[za];(Cn=ra.onSelect)===null||Cn===void 0||(fn=Cn).call.apply(fn,[ra].concat(aa)),Hn(null)}})),[Qt,Ca,Et,Gr,rt,sa]);return[(0,s.useCallback)(Jn=>{var ra;if(!ve)return Jn.filter(ga=>ga!==de);let fn=(0,Q.Z)(Jn);const Cn=new Set(Ca),Oa=On.map(Gr).filter(ga=>!Ba.get(ga).disabled),aa=Oa.every(ga=>Cn.has(ga)),za=Oa.some(ga=>Cn.has(ga)),Ta=()=>{const ga=[];aa?Oa.forEach(Sa=>{Cn.delete(Sa),ga.push(Sa)}):Oa.forEach(Sa=>{Cn.has(Sa)||(Cn.add(Sa),ga.push(Sa))});const Ia=Array.from(Cn);nt==null||nt(!aa,Ia.map(Sa=>wn(Sa)),ga.map(Sa=>wn(Sa))),sa(Ia,"all"),Hn(null)};let Wn,so;if(Bt!=="radio"){let ga;if(Ma){const ya={getPopupContainer:on,items:Ma.map((ka,Na)=>{const{key:Xa,text:lo,onSelect:vo}=ka;return{key:Xa!=null?Xa:Na,onClick:()=>{vo==null||vo(Oa)},label:lo}})};ga=s.createElement("div",{className:`${gn}-selection-extra`},s.createElement(w.Z,{menu:ya,getPopupContainer:on},s.createElement("span",null,s.createElement(y.Z,null))))}const Ia=On.map((ya,ka)=>{const Na=Gr(ya,ka),Xa=Ba.get(Na)||{};return Object.assign({checked:Cn.has(Na)},Xa)}).filter(ya=>{let{disabled:ka}=ya;return ka}),Sa=!!Ia.length&&Ia.length===On.length,Ua=Sa&&Ia.every(ya=>{let{checked:ka}=ya;return ka}),_a=Sa&&Ia.some(ya=>{let{checked:ka}=ya;return ka});so=s.createElement($.default,{checked:Sa?Ua:!!On.length&&aa,indeterminate:Sa?!Ua&&_a:!aa&&za,onChange:Ta,disabled:On.length===0||Sa,"aria-label":ga?"Custom selection":"Select all",skipGroup:!0}),Wn=!Fr&&s.createElement("div",{className:`${gn}-selection`},so,ga)}let Rn;Bt==="radio"?Rn=(ga,Ia,Sa)=>{const Ua=Gr(Ia,Sa),_a=Cn.has(Ua),ya=Ba.get(Ua);return{node:s.createElement(j.ZP,Object.assign({},ya,{checked:_a,onClick:ka=>{var Na;ka.stopPropagation(),(Na=ya==null?void 0:ya.onClick)===null||Na===void 0||Na.call(ya,ka)},onChange:ka=>{var Na;Cn.has(Ua)||no(Ua,!0,[Ua],ka.nativeEvent),(Na=ya==null?void 0:ya.onChange)===null||Na===void 0||Na.call(ya,ka)}})),checked:_a}}:Rn=(ga,Ia,Sa)=>{var Ua;const _a=Gr(Ia,Sa),ya=Cn.has(_a),ka=uo.has(_a),Na=Ba.get(_a);let Xa;return qr==="nest"?Xa=ka:Xa=(Ua=Na==null?void 0:Na.indeterminate)!==null&&Ua!==void 0?Ua:ka,{node:s.createElement($.default,Object.assign({},Na,{indeterminate:Xa,checked:ya,skipGroup:!0,onClick:lo=>{var vo;lo.stopPropagation(),(vo=Na==null?void 0:Na.onClick)===null||vo===void 0||vo.call(Na,lo)},onChange:lo=>{var vo;const{nativeEvent:Ko}=lo,{shiftKey:Wo}=Ko,Aa=Oa.findIndex(oo=>oo===_a),Si=La.some(oo=>Oa.includes(oo));if(Wo&&Xr&&Si){const oo=Ln(Aa,Oa,Cn),Mo=Array.from(Cn);Yt==null||Yt(!ya,Mo.map(mo=>wn(mo)),oo.map(mo=>wn(mo))),sa(Mo,"multiple")}else{const oo=La;if(Xr){const Mo=ya?(0,L._5)(oo,_a):(0,L.L0)(oo,_a);no(_a,!ya,Mo,Ko)}else{const Mo=(0,W.S)([].concat((0,Q.Z)(oo),[_a]),!0,Yr,ba),{checkedKeys:mo,halfCheckedKeys:Ti}=Mo;let xo=mo;if(ya){const _o=new Set(mo);_o.delete(_a),xo=(0,W.S)(Array.from(_o),{checked:!1,halfCheckedKeys:Ti},Yr,ba).checkedKeys}no(_a,!ya,xo,Ko)}}Hn(ya?null:Aa),(vo=Na==null?void 0:Na.onChange)===null||vo===void 0||vo.call(Na,lo)}})),checked:ya}};const la=(ga,Ia,Sa)=>{const{node:Ua,checked:_a}=Rn(ga,Ia,Sa);return Wt?Wt(_a,Ia,Sa,Ua):Ua};if(!fn.includes(de))if(fn.findIndex(ga=>{var Ia;return((Ia=ga[qe.vP])===null||Ia===void 0?void 0:Ia.columnType)==="EXPAND_COLUMN"})===0){const[ga,...Ia]=fn;fn=[ga,de].concat((0,Q.Z)(Ia))}else fn=[de].concat((0,Q.Z)(fn));const ca=fn.indexOf(de);fn=fn.filter((ga,Ia)=>ga!==de||Ia===ca);const xa=fn[ca-1],Fa=fn[ca+1];let ao=Ur;ao===void 0&&((Fa==null?void 0:Fa.fixed)!==void 0?ao=Fa.fixed:(xa==null?void 0:xa.fixed)!==void 0&&(ao=xa.fixed)),ao&&xa&&((ra=xa[qe.vP])===null||ra===void 0?void 0:ra.columnType)==="EXPAND_COLUMN"&&xa.fixed===void 0&&(xa.fixed=ao);const Qa=l()(`${gn}-selection-col`,{[`${gn}-selection-col-with-dropdown`]:Qt&&Bt==="checkbox"}),go=()=>ve!=null&&ve.columnTitle?typeof ve.columnTitle=="function"?ve.columnTitle(so):ve.columnTitle:Wn,ho={fixed:ao,width:Lt,className:`${gn}-selection-column`,title:go(),render:la,onCell:ve.onCell,[qe.vP]:{className:Qa}};return fn.map(ga=>ga===de?ho:ga)},[Gr,On,ve,La,Ca,uo,Lt,Ma,qr,Ba,Yt,no,ba]),Ca]},Oe=o(97347),Y=o(2738);function xe(Ve,ve){return Ve._antProxy=Ve._antProxy||{},Object.keys(ve).forEach($t=>{if(!($t in Ve._antProxy)){const Ct=Ve[$t];Ve._antProxy[$t]=Ct,Ve[$t]=ve[$t]}}),Ve}function M(Ve,ve){return(0,s.useImperativeHandle)(Ve,()=>{const $t=ve(),{nativeElement:Ct}=$t;return typeof Proxy!="undefined"?new Proxy(Ct,{get(Xt,Gt){return $t[Gt]?$t[Gt]:Reflect.get(Xt,Gt)}}):xe(Ct,$t)})}var E=o(83010),st=o(48755),ce=o(38406),le=o(83397),H=o(31756),_=o(13783),re=o(85981),T=o(13747),ne=o(29787),Fe=o(57700);function ye(Ve){return ve=>{const{prefixCls:$t,onExpand:Ct,record:Xt,expanded:Gt,expandable:Sr}=ve,be=`${$t}-row-expand-icon`;return s.createElement("button",{type:"button",onClick:nt=>{Ct(Xt,nt),nt.stopPropagation()},className:l()(be,{[`${be}-spaced`]:!Sr,[`${be}-expanded`]:Sr&&Gt,[`${be}-collapsed`]:Sr&&!Gt}),"aria-label":Gt?Ve.collapse:Ve.expand,"aria-expanded":Gt})}}var lt=ye;function ft(Ve){return($t,Ct)=>{const Xt=$t.querySelector(`.${Ve}-container`);let Gt=Ct;if(Xt){const Sr=getComputedStyle(Xt),be=parseInt(Sr.borderLeftWidth,10),nt=parseInt(Sr.borderRightWidth,10);Gt=Ct-be-nt}return Gt}}const pt=(Ve,ve)=>"key"in Ve&&Ve.key!==void 0&&Ve.key!==null?Ve.key:Ve.dataIndex?Array.isArray(Ve.dataIndex)?Ve.dataIndex.join("."):Ve.dataIndex:ve;function he(Ve,ve){return ve?`${ve}-${Ve}`:`${Ve}`}const We=(Ve,ve)=>typeof Ve=="function"?Ve(ve):Ve,jt=(Ve,ve)=>{const $t=We(Ve,ve);return Object.prototype.toString.call($t)==="[object Object]"?"":$t};var ze=o(67711),Be={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=Be,ct=o(7657),Se=function(ve,$t){return s.createElement(ct.Z,(0,ze.Z)({},ve,{ref:$t,icon:P}))},fe=s.forwardRef(Se),ue=fe,ge=o(13697),$e=o(9981),we=o(40192);function Re(Ve){const ve=s.useRef(Ve),$t=(0,we.Z)();return[()=>ve.current,Ct=>{ve.current=Ct,$t()}]}var Je=o(99571),wt=o(584),At=o(93041),ar=o(78857),qt=o(18287),Nt=o(47472),ht=o(49397),Tt=Ve=>{const{value:ve,filterSearch:$t,tablePrefixCls:Ct,locale:Xt,onChange:Gt}=Ve;return $t?s.createElement("div",{className:`${Ct}-filter-dropdown-search`},s.createElement(ht.Z,{prefix:s.createElement(Nt.Z,null),placeholder:Xt.filterSearchPlaceholder,onChange:Gt,value:ve,htmlSize:1,className:`${Ct}-filter-dropdown-search-input`})):null},Ut=o(10228);const St=Ve=>{const{keyCode:ve}=Ve;ve===Ut.Z.ENTER&&Ve.stopPropagation()};var lr=s.forwardRef((Ve,ve)=>s.createElement("div",{className:Ve.className,onClick:$t=>$t.stopPropagation(),onKeyDown:St,ref:ve},Ve.children));function Cr(Ve){let ve=[];return(Ve||[]).forEach($t=>{let{value:Ct,children:Xt}=$t;ve.push(Ct),Xt&&(ve=[].concat((0,Q.Z)(ve),(0,Q.Z)(Cr(Xt))))}),ve}function rn(Ve){return Ve.some(ve=>{let{children:$t}=ve;return $t})}function Er(Ve,ve){return typeof ve=="string"||typeof ve=="number"?ve==null?void 0:ve.toString().toLowerCase().includes(Ve.trim().toLowerCase()):!1}function S(Ve){let{filters:ve,prefixCls:$t,filteredKeys:Ct,filterMultiple:Xt,searchValue:Gt,filterSearch:Sr}=Ve;return ve.map((be,nt)=>{const rt=String(be.value);if(be.children)return{key:rt||nt,label:be.text,popupClassName:`${$t}-dropdown-submenu`,children:S({filters:be.children,prefixCls:$t,filteredKeys:Ct,filterMultiple:Xt,searchValue:Gt,filterSearch:Sr})};const kt=Xt?$.default:j.ZP,Yt={key:be.value!==void 0?rt:nt,label:s.createElement(s.Fragment,null,s.createElement(kt,{checked:Ct.includes(rt)}),s.createElement("span",null,be.text))};return Gt.trim()?typeof Sr=="function"?Sr(Gt,be)?Yt:null:Er(Gt,be.text)?Yt:null:Yt})}function N(Ve){return Ve||[]}var se=Ve=>{var ve,$t,Ct,Xt;const{tablePrefixCls:Gt,prefixCls:Sr,column:be,dropdownPrefixCls:nt,columnKey:rt,filterOnClose:kt,filterMultiple:Yt,filterMode:Lt="menu",filterSearch:Bt=!1,filterState:Qt,triggerFilter:Ur,locale:Wt,children:Fr,getPopupContainer:Xr,rootClassName:gn}=Ve,{filterResetToDefaultFilteredValue:Dt,defaultFilteredValue:Et,filterDropdownProps:wn={},filterDropdownOpen:Gr,filterDropdownVisible:qr,onFilterDropdownVisibleChange:nn,onFilterDropdownOpenChange:_r}=be,[on,Mn]=s.useState(!1),Ln=!!(Qt&&(!((ve=Qt.filteredKeys)===null||ve===void 0)&&ve.length||Qt.forceFiltered)),Hn=Rn=>{var la;Mn(Rn),(la=wn.onOpenChange)===null||la===void 0||la.call(wn,Rn),_r==null||_r(Rn),nn==null||nn(Rn)},ta=(Xt=(Ct=($t=wn.open)!==null&&$t!==void 0?$t:Gr)!==null&&Ct!==void 0?Ct:qr)!==null&&Xt!==void 0?Xt:on,oa=Qt==null?void 0:Qt.filteredKeys,[ma,Kn]=Re(N(oa)),On=Rn=>{let{selectedKeys:la}=Rn;Kn(la)},Yr=(Rn,la)=>{let{node:ca,checked:xa}=la;On(Yt?{selectedKeys:Rn}:{selectedKeys:xa&&ca.key?[ca.key]:[]})};s.useEffect(()=>{on&&On({selectedKeys:N(oa)})},[oa]);const[Ba,ba]=s.useState([]),La=Rn=>{ba(Rn)},[ia,Ca]=s.useState(""),uo=Rn=>{const{value:la}=Rn.target;Ca(la)};s.useEffect(()=>{on||Ca("")},[on]);const sa=Rn=>{const la=Rn!=null&&Rn.length?Rn:null;if(la===null&&(!Qt||!Qt.filteredKeys)||(0,ge.Z)(la,Qt==null?void 0:Qt.filteredKeys,!0))return null;Ur({column:be,key:rt,filteredKeys:la})},no=()=>{Hn(!1),sa(ma())},Ma=function(){let{confirm:Rn,closeDropdown:la}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Rn&&sa([]),la&&Hn(!1),Ca(""),Kn(Dt?(Et||[]).map(ca=>String(ca)):[])},Wa=function(){let{closeDropdown:Rn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Rn&&Hn(!1),sa(ma())},Jn=(Rn,la)=>{la.source==="trigger"&&(Rn&&oa!==void 0&&Kn(N(oa)),Hn(Rn),!Rn&&!be.filterDropdown&&kt&&no())},ra=l()({[`${nt}-menu-without-submenu`]:!rn(be.filters||[])}),fn=Rn=>{if(Rn.target.checked){const la=Cr(be==null?void 0:be.filters).map(ca=>String(ca));Kn(la)}else Kn([])},Cn=Rn=>{let{filters:la}=Rn;return(la||[]).map((ca,xa)=>{const Fa=String(ca.value),ao={title:ca.text,key:ca.value!==void 0?Fa:String(xa)};return ca.children&&(ao.children=Cn({filters:ca.children})),ao})},Oa=Rn=>{var la;return Object.assign(Object.assign({},Rn),{text:Rn.title,value:Rn.key,children:((la=Rn.children)===null||la===void 0?void 0:la.map(ca=>Oa(ca)))||[]})};let aa;const{direction:za,renderEmpty:Ta}=s.useContext(st.E_);if(typeof be.filterDropdown=="function")aa=be.filterDropdown({prefixCls:`${nt}-custom`,setSelectedKeys:Rn=>On({selectedKeys:Rn}),selectedKeys:ma(),confirm:Wa,clearFilters:Ma,filters:be.filters,visible:ta,close:()=>{Hn(!1)}});else if(be.filterDropdown)aa=be.filterDropdown;else{const Rn=ma()||[],la=()=>{var xa,Fa;const ao=(xa=Ta==null?void 0:Ta("Table.filter"))!==null&&xa!==void 0?xa:s.createElement(wt.Z,{image:wt.Z.PRESENTED_IMAGE_SIMPLE,description:Wt.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((be.filters||[]).length===0)return ao;if(Lt==="tree")return s.createElement(s.Fragment,null,s.createElement(Tt,{filterSearch:Bt,value:ia,onChange:uo,tablePrefixCls:Gt,locale:Wt}),s.createElement("div",{className:`${Gt}-filter-dropdown-tree`},Yt?s.createElement($.default,{checked:Rn.length===Cr(be.filters).length,indeterminate:Rn.length>0&&Rn.length<Cr(be.filters).length,className:`${Gt}-filter-dropdown-checkall`,onChange:fn},(Fa=Wt==null?void 0:Wt.filterCheckall)!==null&&Fa!==void 0?Fa:Wt==null?void 0:Wt.filterCheckAll):null,s.createElement(qt.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Yt,checkStrictly:!Yt,className:`${nt}-menu`,onCheck:Yr,checkedKeys:Rn,selectedKeys:Rn,showIcon:!1,treeData:Cn({filters:be.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:ia.trim()?ho=>typeof Bt=="function"?Bt(ia,Oa(ho)):Er(ia,ho.title):void 0})));const Qa=S({filters:be.filters||[],filterSearch:Bt,prefixCls:Sr,filteredKeys:ma(),filterMultiple:Yt,searchValue:ia}),go=Qa.every(ho=>ho===null);return s.createElement(s.Fragment,null,s.createElement(Tt,{filterSearch:Bt,value:ia,onChange:uo,tablePrefixCls:Gt,locale:Wt}),go?ao:s.createElement(At.default,{selectable:!0,multiple:Yt,prefixCls:`${nt}-menu`,className:ra,onSelect:On,onDeselect:On,selectedKeys:Rn,getPopupContainer:Xr,openKeys:Ba,onOpenChange:La,items:Qa}))},ca=()=>Dt?(0,ge.Z)((Et||[]).map(xa=>String(xa)),Rn,!0):Rn.length===0;aa=s.createElement(s.Fragment,null,la(),s.createElement("div",{className:`${Sr}-dropdown-btns`},s.createElement(Je.ZP,{type:"link",size:"small",disabled:ca(),onClick:()=>Ma()},Wt.filterReset),s.createElement(Je.ZP,{type:"primary",size:"small",onClick:no},Wt.filterConfirm)))}be.filterDropdown&&(aa=s.createElement(ar.J,{selectable:void 0},aa)),aa=s.createElement(lr,{className:`${Sr}-dropdown`},aa);const Wn=()=>{let Rn;return typeof be.filterIcon=="function"?Rn=be.filterIcon(Ln):be.filterIcon?Rn=be.filterIcon:Rn=s.createElement(ue,null),s.createElement("span",{role:"button",tabIndex:-1,className:l()(`${Sr}-trigger`,{active:Ln}),onClick:la=>{la.stopPropagation()}},Rn)},so=(0,$e.Z)({trigger:["click"],placement:za==="rtl"?"bottomLeft":"bottomRight",children:Wn(),getPopupContainer:Xr},Object.assign(Object.assign({},wn),{rootClassName:l()(gn,wn.rootClassName),open:ta,onOpenChange:Jn,dropdownRender:()=>typeof(wn==null?void 0:wn.dropdownRender)=="function"?wn.dropdownRender(aa):aa}));return s.createElement("div",{className:`${Sr}-column`},s.createElement("span",{className:`${Gt}-column-title`},Fr),s.createElement(w.Z,Object.assign({},so)))};const ke=(Ve,ve,$t)=>{let Ct=[];return(Ve||[]).forEach((Xt,Gt)=>{var Sr;const be=he(Gt,$t);if(Xt.filters||"filterDropdown"in Xt||"onFilter"in Xt)if("filteredValue"in Xt){let nt=Xt.filteredValue;"filterDropdown"in Xt||(nt=(Sr=nt==null?void 0:nt.map(String))!==null&&Sr!==void 0?Sr:nt),Ct.push({column:Xt,key:pt(Xt,be),filteredKeys:nt,forceFiltered:Xt.filtered})}else Ct.push({column:Xt,key:pt(Xt,be),filteredKeys:ve&&Xt.defaultFilteredValue?Xt.defaultFilteredValue:void 0,forceFiltered:Xt.filtered});"children"in Xt&&(Ct=[].concat((0,Q.Z)(Ct),(0,Q.Z)(ke(Xt.children,ve,be))))}),Ct};function zr(Ve,ve,$t,Ct,Xt,Gt,Sr,be,nt){return $t.map((rt,kt)=>{const Yt=he(kt,be),{filterOnClose:Lt=!0,filterMultiple:Bt=!0,filterMode:Qt,filterSearch:Ur}=rt;let Wt=rt;if(Wt.filters||Wt.filterDropdown){const Fr=pt(Wt,Yt),Xr=Ct.find(gn=>{let{key:Dt}=gn;return Fr===Dt});Wt=Object.assign(Object.assign({},Wt),{title:gn=>s.createElement(se,{tablePrefixCls:Ve,prefixCls:`${Ve}-filter`,dropdownPrefixCls:ve,column:Wt,columnKey:Fr,filterState:Xr,filterOnClose:Lt,filterMultiple:Bt,filterMode:Qt,filterSearch:Ur,triggerFilter:Gt,locale:Xt,getPopupContainer:Sr,rootClassName:nt},We(rt.title,gn))})}return"children"in Wt&&(Wt=Object.assign(Object.assign({},Wt),{children:zr(Ve,ve,Wt.children,Ct,Xt,Gt,Sr,Yt,nt)})),Wt})}const Ir=Ve=>{const ve={};return Ve.forEach($t=>{let{key:Ct,filteredKeys:Xt,column:Gt}=$t;const Sr=Ct,{filters:be,filterDropdown:nt}=Gt;if(nt)ve[Sr]=Xt||null;else if(Array.isArray(Xt)){const rt=Cr(be);ve[Sr]=rt.filter(kt=>Xt.includes(String(kt)))}else ve[Sr]=null}),ve},yn=(Ve,ve,$t)=>ve.reduce((Xt,Gt)=>{const{column:{onFilter:Sr,filters:be},filteredKeys:nt}=Gt;return Sr&&nt&&nt.length?Xt.map(rt=>Object.assign({},rt)).filter(rt=>nt.some(kt=>{const Yt=Cr(be),Lt=Yt.findIndex(Qt=>String(Qt)===String(kt)),Bt=Lt!==-1?Yt[Lt]:kt;return rt[$t]&&(rt[$t]=yn(rt[$t],ve,$t)),Sr(Bt,rt)})):Xt},Ve),Bn=Ve=>Ve.flatMap(ve=>"children"in ve?[ve].concat((0,Q.Z)(Bn(ve.children||[]))):[ve]);var yr=Ve=>{const{prefixCls:ve,dropdownPrefixCls:$t,mergedColumns:Ct,onFilterChange:Xt,getPopupContainer:Gt,locale:Sr,rootClassName:be}=Ve,nt=(0,A.ln)("Table"),rt=s.useMemo(()=>Bn(Ct||[]),[Ct]),[kt,Yt]=s.useState(()=>ke(rt,!0)),Lt=s.useMemo(()=>{const Wt=ke(rt,!1);if(Wt.length===0)return Wt;let Fr=!0,Xr=!0;if(Wt.forEach(gn=>{let{filteredKeys:Dt}=gn;Dt!==void 0?Fr=!1:Xr=!1}),Fr){const gn=(rt||[]).map((Dt,Et)=>pt(Dt,he(Et)));return kt.filter(Dt=>{let{key:Et}=Dt;return gn.includes(Et)}).map(Dt=>{const Et=rt[gn.findIndex(wn=>wn===Dt.key)];return Object.assign(Object.assign({},Dt),{column:Object.assign(Object.assign({},Dt.column),Et),forceFiltered:Et.filtered})})}return Wt},[rt,kt]),Bt=s.useMemo(()=>Ir(Lt),[Lt]),Qt=Wt=>{const Fr=Lt.filter(Xr=>{let{key:gn}=Xr;return gn!==Wt.key});Fr.push(Wt),Yt(Fr),Xt(Ir(Fr),Fr)};return[Wt=>zr(ve,$t,Wt,Lt,Sr,Qt,Gt,void 0,be),Lt,Bt]},Tr=(Ve,ve,$t)=>{const Ct=s.useRef({});function Xt(Gt){var Sr;if(!Ct.current||Ct.current.data!==Ve||Ct.current.childrenColumnName!==ve||Ct.current.getRowKey!==$t){let nt=function(rt){rt.forEach((kt,Yt)=>{const Lt=$t(kt,Yt);be.set(Lt,kt),kt&&typeof kt=="object"&&ve in kt&&nt(kt[ve]||[])})};const be=new Map;nt(Ve),Ct.current={data:Ve,childrenColumnName:ve,kvMap:be,getRowKey:$t}}return(Sr=Ct.current.kvMap)===null||Sr===void 0?void 0:Sr.get(Gt)}return[Xt]},f=function(Ve,ve){var $t={};for(var Ct in Ve)Object.prototype.hasOwnProperty.call(Ve,Ct)&&ve.indexOf(Ct)<0&&($t[Ct]=Ve[Ct]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xt=0,Ct=Object.getOwnPropertySymbols(Ve);Xt<Ct.length;Xt++)ve.indexOf(Ct[Xt])<0&&Object.prototype.propertyIsEnumerable.call(Ve,Ct[Xt])&&($t[Ct[Xt]]=Ve[Ct[Xt]]);return $t};const F=10;function Ae(Ve,ve){const $t={current:Ve.current,pageSize:Ve.pageSize};return Object.keys(ve&&typeof ve=="object"?ve:{}).forEach(Xt=>{const Gt=Ve[Xt];typeof Gt!="function"&&($t[Xt]=Gt)}),$t}function ae(Ve,ve,$t){const Ct=$t&&typeof $t=="object"?$t:{},{total:Xt=0}=Ct,Gt=f(Ct,["total"]),[Sr,be]=(0,s.useState)(()=>({current:"defaultCurrent"in Gt?Gt.defaultCurrent:1,pageSize:"defaultPageSize"in Gt?Gt.defaultPageSize:F})),nt=(0,$e.Z)(Sr,Gt,{total:Xt>0?Xt:Ve}),rt=Math.ceil((Xt||Ve)/nt.pageSize);nt.current>rt&&(nt.current=rt||1);const kt=(Lt,Bt)=>{be({current:Lt!=null?Lt:1,pageSize:Bt||nt.pageSize})},Yt=(Lt,Bt)=>{var Qt;$t&&((Qt=$t.onChange)===null||Qt===void 0||Qt.call($t,Lt,Bt)),kt(Lt,Bt),ve(Lt,Bt||(nt==null?void 0:nt.pageSize))};return $t===!1?[{},()=>{}]:[Object.assign(Object.assign({},nt),{onChange:Yt}),kt]}var bt=ae,bn=o(89489),yt=o(59477),Vt=o(25399);const Wr="ascend",Nr="descend",Qr=Ve=>typeof Ve.sorter=="object"&&typeof Ve.sorter.multiple=="number"?Ve.sorter.multiple:!1,vn=Ve=>typeof Ve=="function"?Ve:Ve&&typeof Ve=="object"&&Ve.compare?Ve.compare:!1,_n=(Ve,ve)=>ve?Ve[Ve.indexOf(ve)+1]:Ve[0],pe=(Ve,ve,$t)=>{let Ct=[];const Xt=(Gt,Sr)=>{Ct.push({column:Gt,key:pt(Gt,Sr),multiplePriority:Qr(Gt),sortOrder:Gt.sortOrder})};return(Ve||[]).forEach((Gt,Sr)=>{const be=he(Sr,$t);Gt.children?("sortOrder"in Gt&&Xt(Gt,be),Ct=[].concat((0,Q.Z)(Ct),(0,Q.Z)(pe(Gt.children,ve,be)))):Gt.sorter&&("sortOrder"in Gt?Xt(Gt,be):ve&&Gt.defaultSortOrder&&Ct.push({column:Gt,key:pt(Gt,be),multiplePriority:Qr(Gt),sortOrder:Gt.defaultSortOrder}))}),Ct},fr=(Ve,ve,$t,Ct,Xt,Gt,Sr,be)=>(ve||[]).map((rt,kt)=>{const Yt=he(kt,be);let Lt=rt;if(Lt.sorter){const Bt=Lt.sortDirections||Xt,Qt=Lt.showSorterTooltip===void 0?Sr:Lt.showSorterTooltip,Ur=pt(Lt,Yt),Wt=$t.find(nn=>{let{key:_r}=nn;return _r===Ur}),Fr=Wt?Wt.sortOrder:null,Xr=_n(Bt,Fr);let gn;if(rt.sortIcon)gn=rt.sortIcon({sortOrder:Fr});else{const nn=Bt.includes(Wr)&&s.createElement(yt.Z,{className:l()(`${Ve}-column-sorter-up`,{active:Fr===Wr})}),_r=Bt.includes(Nr)&&s.createElement(bn.Z,{className:l()(`${Ve}-column-sorter-down`,{active:Fr===Nr})});gn=s.createElement("span",{className:l()(`${Ve}-column-sorter`,{[`${Ve}-column-sorter-full`]:!!(nn&&_r)})},s.createElement("span",{className:`${Ve}-column-sorter-inner`,"aria-hidden":"true"},nn,_r))}const{cancelSort:Dt,triggerAsc:Et,triggerDesc:wn}=Gt||{};let Gr=Dt;Xr===Nr?Gr=wn:Xr===Wr&&(Gr=Et);const qr=typeof Qt=="object"?Object.assign({title:Gr},Qt):{title:Gr};Lt=Object.assign(Object.assign({},Lt),{className:l()(Lt.className,{[`${Ve}-column-sort`]:Fr}),title:nn=>{const _r=`${Ve}-column-sorters`,on=s.createElement("span",{className:`${Ve}-column-title`},We(rt.title,nn)),Mn=s.createElement("div",{className:_r},on,gn);return Qt?typeof Qt!="boolean"&&(Qt==null?void 0:Qt.target)==="sorter-icon"?s.createElement("div",{className:`${_r} ${Ve}-column-sorters-tooltip-target-sorter`},on,s.createElement(Vt.Z,Object.assign({},qr),gn)):s.createElement(Vt.Z,Object.assign({},qr),Mn):Mn},onHeaderCell:nn=>{var _r;const on=((_r=rt.onHeaderCell)===null||_r===void 0?void 0:_r.call(rt,nn))||{},Mn=on.onClick,Ln=on.onKeyDown;on.onClick=oa=>{Ct({column:rt,key:Ur,sortOrder:Xr,multiplePriority:Qr(rt)}),Mn==null||Mn(oa)},on.onKeyDown=oa=>{oa.keyCode===Ut.Z.ENTER&&(Ct({column:rt,key:Ur,sortOrder:Xr,multiplePriority:Qr(rt)}),Ln==null||Ln(oa))};const Hn=jt(rt.title,{}),ta=Hn==null?void 0:Hn.toString();return Fr&&(on["aria-sort"]=Fr==="ascend"?"ascending":"descending"),on["aria-label"]=ta||"",on.className=l()(on.className,`${Ve}-column-has-sorters`),on.tabIndex=0,rt.ellipsis&&(on.title=(Hn!=null?Hn:"").toString()),on}})}return"children"in Lt&&(Lt=Object.assign(Object.assign({},Lt),{children:fr(Ve,Lt.children,$t,Ct,Xt,Gt,Sr,Yt)})),Lt}),tt=Ve=>{const{column:ve,sortOrder:$t}=Ve;return{column:ve,order:$t,field:ve.dataIndex,columnKey:ve.key}},Or=Ve=>{const ve=Ve.filter($t=>{let{sortOrder:Ct}=$t;return Ct}).map(tt);if(ve.length===0&&Ve.length){const $t=Ve.length-1;return Object.assign(Object.assign({},tt(Ve[$t])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return ve.length<=1?ve[0]||{}:ve},Kr=(Ve,ve,$t)=>{const Ct=ve.slice().sort((Sr,be)=>be.multiplePriority-Sr.multiplePriority),Xt=Ve.slice(),Gt=Ct.filter(Sr=>{let{column:{sorter:be},sortOrder:nt}=Sr;return vn(be)&&nt});return Gt.length?Xt.sort((Sr,be)=>{for(let nt=0;nt<Gt.length;nt+=1){const rt=Gt[nt],{column:{sorter:kt},sortOrder:Yt}=rt,Lt=vn(kt);if(Lt&&Yt){const Bt=Lt(Sr,be,Yt);if(Bt!==0)return Yt===Wr?Bt:-Bt}}return 0}).map(Sr=>{const be=Sr[$t];return be?Object.assign(Object.assign({},Sr),{[$t]:Kr(be,ve,$t)}):Sr}):Xt};var kn=Ve=>{const{prefixCls:ve,mergedColumns:$t,sortDirections:Ct,tableLocale:Xt,showSorterTooltip:Gt,onSorterChange:Sr}=Ve,[be,nt]=s.useState(pe($t,!0)),rt=(Ur,Wt)=>{const Fr=[];return Ur.forEach((Xr,gn)=>{const Dt=he(gn,Wt);if(Fr.push(pt(Xr,Dt)),Array.isArray(Xr.children)){const Et=rt(Xr.children,Dt);Fr.push.apply(Fr,(0,Q.Z)(Et))}}),Fr},kt=s.useMemo(()=>{let Ur=!0;const Wt=pe($t,!1);if(!Wt.length){const Dt=rt($t);return be.filter(Et=>{let{key:wn}=Et;return Dt.includes(wn)})}const Fr=[];function Xr(Dt){Ur?Fr.push(Dt):Fr.push(Object.assign(Object.assign({},Dt),{sortOrder:null}))}let gn=null;return Wt.forEach(Dt=>{gn===null?(Xr(Dt),Dt.sortOrder&&(Dt.multiplePriority===!1?Ur=!1:gn=!0)):(gn&&Dt.multiplePriority!==!1||(Ur=!1),Xr(Dt))}),Fr},[$t,be]),Yt=s.useMemo(()=>{var Ur,Wt;const Fr=kt.map(Xr=>{let{column:gn,sortOrder:Dt}=Xr;return{column:gn,order:Dt}});return{sortColumns:Fr,sortColumn:(Ur=Fr[0])===null||Ur===void 0?void 0:Ur.column,sortOrder:(Wt=Fr[0])===null||Wt===void 0?void 0:Wt.order}},[kt]),Lt=Ur=>{let Wt;Ur.multiplePriority===!1||!kt.length||kt[0].multiplePriority===!1?Wt=[Ur]:Wt=[].concat((0,Q.Z)(kt.filter(Fr=>{let{key:Xr}=Fr;return Xr!==Ur.key})),[Ur]),nt(Wt),Sr(Or(Wt),Wt)};return[Ur=>fr(ve,Ur,kt,Lt,Ct,Xt,Gt),kt,Yt,()=>Or(kt)]};const xt=(Ve,ve)=>Ve.map(Ct=>{const Xt=Object.assign({},Ct);return Xt.title=We(Ct.title,ve),"children"in Xt&&(Xt.children=xt(Xt.children,ve)),Xt});var or=Ve=>[s.useCallback($t=>xt($t,Ve),[Ve])],Pr=(0,qe.Q$)((Ve,ve)=>{const{_renderTimes:$t}=Ve,{_renderTimes:Ct}=ve;return $t!==Ct}),Hr=(0,qe.TN)((Ve,ve)=>{const{_renderTimes:$t}=Ve,{_renderTimes:Ct}=ve;return $t!==Ct}),Lr=o(36237),ln=o(17835),pn=o(63356),En=o(16931),Dn=o(51636),Pn=Ve=>{const{componentCls:ve,lineWidth:$t,lineType:Ct,tableBorderColor:Xt,tableHeaderBg:Gt,tablePaddingVertical:Sr,tablePaddingHorizontal:be,calc:nt}=Ve,rt=`${(0,Lr.unit)($t)} ${Ct} ${Xt}`,kt=(Yt,Lt,Bt)=>({[`&${ve}-${Yt}`]:{[`> ${ve}-container`]:{[`> ${ve}-content, > ${ve}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ve}-expanded-row-fixed`]:{margin:`${(0,Lr.unit)(nt(Lt).mul(-1).equal())}
${(0,Lr.unit)(nt(nt(Bt).add($t)).mul(-1).equal())}`}}}}}});return{[`${ve}-wrapper`]:{[`${ve}${ve}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ve}-title`]:{border:rt,borderBottom:0},[`> ${ve}-container`]:{borderInlineStart:rt,borderTop:rt,[`
> ${ve}-content,
> ${ve}-header,
> ${ve}-body,
> ${ve}-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:rt},"> thead":{"> tr:not(:last-child) > th":{borderBottom:rt},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ve}-cell-fix-right-first::after`]:{borderInlineEnd:rt}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ve}-expanded-row-fixed`]:{margin:`${(0,Lr.unit)(nt(Sr).mul(-1).equal())} ${(0,Lr.unit)(nt(nt(be).add($t)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:$t,bottom:0,borderInlineEnd:rt,content:'""'}}}}}},[`&${ve}-scroll-horizontal`]:{[`> ${ve}-container > ${ve}-body`]:{"> table > tbody":{[`
> tr${ve}-expanded-row,
> tr${ve}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},kt("middle",Ve.tablePaddingVerticalMiddle,Ve.tablePaddingHorizontalMiddle)),kt("small",Ve.tablePaddingVerticalSmall,Ve.tablePaddingHorizontalSmall)),{[`> ${ve}-footer`]:{border:rt,borderTop:0}}),[`${ve}-cell`]:{[`${ve}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,Lr.unit)($t)} 0 ${(0,Lr.unit)($t)} ${Gt}`}},[`${ve}-bordered ${ve}-cell-scrollbar`]:{borderInlineEnd:rt}}}},dn=Ve=>{const{componentCls:ve}=Ve;return{[`${ve}-wrapper`]:{[`${ve}-cell-ellipsis`]:Object.assign(Object.assign({},pn.vS),{wordBreak:"keep-all",[`
&${ve}-cell-fix-left-last,
&${ve}-cell-fix-right-first
`]:{overflow:"visible",[`${ve}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ve}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Gn=Ve=>{const{componentCls:ve}=Ve;return{[`${ve}-wrapper`]:{[`${ve}-tbody > tr${ve}-placeholder`]:{textAlign:"center",color:Ve.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Ve.colorBgContainer}}}}},Nn=Ve=>{const{componentCls:ve,antCls:$t,motionDurationSlow:Ct,lineWidth:Xt,paddingXS:Gt,lineType:Sr,tableBorderColor:be,tableExpandIconBg:nt,tableExpandColumnWidth:rt,borderRadius:kt,tablePaddingVertical:Yt,tablePaddingHorizontal:Lt,tableExpandedRowBg:Bt,paddingXXS:Qt,expandIconMarginTop:Ur,expandIconSize:Wt,expandIconHalfInner:Fr,expandIconScale:Xr,calc:gn}=Ve,Dt=`${(0,Lr.unit)(Xt)} ${Sr} ${be}`,Et=gn(Qt).sub(Xt).equal();return{[`${ve}-wrapper`]:{[`${ve}-expand-icon-col`]:{width:rt},[`${ve}-row-expand-icon-cell`]:{textAlign:"center",[`${ve}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ve}-row-indent`]:{height:1,float:"left"},[`${ve}-row-expand-icon`]:Object.assign(Object.assign({},(0,pn.Nd)(Ve)),{position:"relative",float:"left",width:Wt,height:Wt,color:"inherit",lineHeight:(0,Lr.unit)(Wt),background:nt,border:Dt,borderRadius:kt,transform:`scale(${Xr})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Ct} ease-out`,content:'""'},"&::before":{top:Fr,insetInlineEnd:Et,insetInlineStart:Et,height:Xt},"&::after":{top:Et,bottom:Et,insetInlineStart:Fr,width:Xt,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"}}),[`${ve}-row-indent + ${ve}-row-expand-icon`]:{marginTop:Ur,marginInlineEnd:Gt},[`tr${ve}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Bt}},[`${$t}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${ve}-expanded-row-fixed`]:{position:"relative",margin:`${(0,Lr.unit)(gn(Yt).mul(-1).equal())} ${(0,Lr.unit)(gn(Lt).mul(-1).equal())}`,padding:`${(0,Lr.unit)(Yt)} ${(0,Lr.unit)(Lt)}`}}}},Un=Ve=>{const{componentCls:ve,antCls:$t,iconCls:Ct,tableFilterDropdownWidth:Xt,tableFilterDropdownSearchWidth:Gt,paddingXXS:Sr,paddingXS:be,colorText:nt,lineWidth:rt,lineType:kt,tableBorderColor:Yt,headerIconColor:Lt,fontSizeSM:Bt,tablePaddingHorizontal:Qt,borderRadius:Ur,motionDurationSlow:Wt,colorTextDescription:Fr,colorPrimary:Xr,tableHeaderFilterActiveBg:gn,colorTextDisabled:Dt,tableFilterDropdownBg:Et,tableFilterDropdownHeight:wn,controlItemBgHover:Gr,controlItemBgActive:qr,boxShadowSecondary:nn,filterDropdownMenuBg:_r,calc:on}=Ve,Mn=`${$t}-dropdown`,Ln=`${ve}-filter-dropdown`,Hn=`${$t}-tree`,ta=`${(0,Lr.unit)(rt)} ${kt} ${Yt}`;return[{[`${ve}-wrapper`]:{[`${ve}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ve}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:on(Sr).mul(-1).equal(),marginInline:`${(0,Lr.unit)(Sr)} ${(0,Lr.unit)(on(Qt).div(2).mul(-1).equal())}`,padding:`0 ${(0,Lr.unit)(Sr)}`,color:Lt,fontSize:Bt,borderRadius:Ur,cursor:"pointer",transition:`all ${Wt}`,"&:hover":{color:Fr,background:gn},"&.active":{color:Xr}}}},{[`${$t}-dropdown`]:{[Ln]:Object.assign(Object.assign({},(0,pn.Wf)(Ve)),{minWidth:Xt,backgroundColor:Et,borderRadius:Ur,boxShadow:nn,overflow:"hidden",[`${Mn}-menu`]:{maxHeight:wn,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:_r,"&:empty::after":{display:"block",padding:`${(0,Lr.unit)(be)} 0`,color:Dt,fontSize:Bt,textAlign:"center",content:'"Not Found"'}},[`${Ln}-tree`]:{paddingBlock:`${(0,Lr.unit)(be)} 0`,paddingInline:be,[Hn]:{padding:0},[`${Hn}-treenode ${Hn}-node-content-wrapper:hover`]:{backgroundColor:Gr},[`${Hn}-treenode-checkbox-checked ${Hn}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:qr}}},[`${Ln}-search`]:{padding:be,borderBottom:ta,"&-input":{input:{minWidth:Gt},[Ct]:{color:Dt}}},[`${Ln}-checkall`]:{width:"100%",marginBottom:Sr,marginInlineStart:Sr},[`${Ln}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,Lr.unit)(on(be).sub(rt).equal())} ${(0,Lr.unit)(be)}`,overflow:"hidden",borderTop:ta}})}},{[`${$t}-dropdown ${Ln}, ${Ln}-submenu`]:{[`${$t}-checkbox-wrapper + span`]:{paddingInlineStart:be,color:nt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},u=Ve=>{const{componentCls:ve,lineWidth:$t,colorSplit:Ct,motionDurationSlow:Xt,zIndexTableFixed:Gt,tableBg:Sr,zIndexTableSticky:be,calc:nt}=Ve,rt=Ct;return{[`${ve}-wrapper`]:{[`
${ve}-cell-fix-left,
${ve}-cell-fix-right
`]:{position:"sticky !important",zIndex:Gt,background:Sr},[`
${ve}-cell-fix-left-first::after,
${ve}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:nt($t).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${Xt}`,content:'""',pointerEvents:"none"},[`${ve}-cell-fix-left-all::after`]:{display:"none"},[`
${ve}-cell-fix-right-first::after,
${ve}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:nt($t).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Xt}`,content:'""',pointerEvents:"none"},[`${ve}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:nt(be).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${Xt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ve}-ping-left`]:{[`&:not(${ve}-has-fix-left) ${ve}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${rt}`},[`
${ve}-cell-fix-left-first::after,
${ve}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${rt}`},[`${ve}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ve}-ping-right`]:{[`&:not(${ve}-has-fix-right) ${ve}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${rt}`},[`
${ve}-cell-fix-right-first::after,
${ve}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${rt}`}},[`${ve}-fixed-column-gapped`]:{[`
${ve}-cell-fix-left-first::after,
${ve}-cell-fix-left-last::after,
${ve}-cell-fix-right-first::after,
${ve}-cell-fix-right-last::after
`]:{boxShadow:"none"}}}}},v=Ve=>{const{componentCls:ve,antCls:$t,margin:Ct}=Ve;return{[`${ve}-wrapper`]:{[`${ve}-pagination${$t}-pagination`]:{margin:`${(0,Lr.unit)(Ct)} 0`},[`${ve}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Ve.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},b=Ve=>{const{componentCls:ve,tableRadius:$t}=Ve;return{[`${ve}-wrapper`]:{[ve]:{[`${ve}-title, ${ve}-header`]:{borderRadius:`${(0,Lr.unit)($t)} ${(0,Lr.unit)($t)} 0 0`},[`${ve}-title + ${ve}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ve}-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:$t,borderStartEndRadius:$t,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:$t},"> *:last-child":{borderStartEndRadius:$t}}},"&-footer":{borderRadius:`0 0 ${(0,Lr.unit)($t)} ${(0,Lr.unit)($t)}`}}}}},V=Ve=>{const{componentCls:ve}=Ve;return{[`${ve}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ve}-pagination-left`]:{justifyContent:"flex-end"},[`${ve}-pagination-right`]:{justifyContent:"flex-start"},[`${ve}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ve}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ve}-row-indent`]:{float:"right"}}}}},Ee=Ve=>{const{componentCls:ve,antCls:$t,iconCls:Ct,fontSizeIcon:Xt,padding:Gt,paddingXS:Sr,headerIconColor:be,headerIconHoverColor:nt,tableSelectionColumnWidth:rt,tableSelectedRowBg:kt,tableSelectedRowHoverBg:Yt,tableRowHoverBg:Lt,tablePaddingHorizontal:Bt,calc:Qt}=Ve;return{[`${ve}-wrapper`]:{[`${ve}-selection-col`]:{width:rt,[`&${ve}-selection-col-with-dropdown`]:{width:Qt(rt).add(Xt).add(Qt(Gt).div(4)).equal()}},[`${ve}-bordered ${ve}-selection-col`]:{width:Qt(rt).add(Qt(Sr).mul(2)).equal(),[`&${ve}-selection-col-with-dropdown`]:{width:Qt(rt).add(Xt).add(Qt(Gt).div(4)).add(Qt(Sr).mul(2)).equal()}},[`
table tr th${ve}-selection-column,
table tr td${ve}-selection-column,
${ve}-selection-column
`]:{paddingInlineEnd:Ve.paddingXS,paddingInlineStart:Ve.paddingXS,textAlign:"center",[`${$t}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ve}-selection-column${ve}-cell-fix-left`]:{zIndex:Qt(Ve.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${ve}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ve}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ve}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Ve.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,Lr.unit)(Qt(Bt).div(4).equal()),[Ct]:{color:be,fontSize:Xt,verticalAlign:"baseline","&:hover":{color:nt}}},[`${ve}-tbody`]:{[`${ve}-row`]:{[`&${ve}-row-selected`]:{[`> ${ve}-cell`]:{background:kt,"&-row-hover":{background:Yt}}},[`> ${ve}-cell-row-hover`]:{background:Lt}}}}}},Xe=Ve=>{const{componentCls:ve,tableExpandColumnWidth:$t,calc:Ct}=Ve,Xt=(Gt,Sr,be,nt)=>({[`${ve}${ve}-${Gt}`]:{fontSize:nt,[`
${ve}-title,
${ve}-footer,
${ve}-cell,
${ve}-thead > tr > th,
${ve}-tbody > tr > th,
${ve}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${(0,Lr.unit)(Sr)} ${(0,Lr.unit)(be)}`},[`${ve}-filter-trigger`]:{marginInlineEnd:(0,Lr.unit)(Ct(be).div(2).mul(-1).equal())},[`${ve}-expanded-row-fixed`]:{margin:`${(0,Lr.unit)(Ct(Sr).mul(-1).equal())} ${(0,Lr.unit)(Ct(be).mul(-1).equal())}`},[`${ve}-tbody`]:{[`${ve}-wrapper:only-child ${ve}`]:{marginBlock:(0,Lr.unit)(Ct(Sr).mul(-1).equal()),marginInline:`${(0,Lr.unit)(Ct($t).sub(be).equal())} ${(0,Lr.unit)(Ct(be).mul(-1).equal())}`}},[`${ve}-selection-extra`]:{paddingInlineStart:(0,Lr.unit)(Ct(be).div(4).equal())}}});return{[`${ve}-wrapper`]:Object.assign(Object.assign({},Xt("middle",Ve.tablePaddingVerticalMiddle,Ve.tablePaddingHorizontalMiddle,Ve.tableFontSizeMiddle)),Xt("small",Ve.tablePaddingVerticalSmall,Ve.tablePaddingHorizontalSmall,Ve.tableFontSizeSmall))}},me=Ve=>{const{componentCls:ve,marginXXS:$t,fontSizeIcon:Ct,headerIconColor:Xt,headerIconHoverColor:Gt}=Ve;return{[`${ve}-wrapper`]:{[`${ve}-thead th${ve}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Ve.motionDurationSlow}, left 0s`,"&:hover":{background:Ve.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Ve.colorPrimary},[`
&${ve}-cell-fix-left:hover,
&${ve}-cell-fix-right:hover
`]:{background:Ve.tableFixedHeaderSortActiveBg}},[`${ve}-thead th${ve}-column-sort`]:{background:Ve.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ve}-column-sort`]:{background:Ve.tableBodySortBg},[`${ve}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${ve}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ve}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${ve}-column-sorter`]:{marginInlineStart:$t,color:Xt,fontSize:0,transition:`color ${Ve.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Ct,"&.active":{color:Ve.colorPrimary}},[`${ve}-column-sorter-up + ${ve}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ve}-column-sorters:hover ${ve}-column-sorter`]:{color:Gt}}}},je=Ve=>{const{componentCls:ve,opacityLoading:$t,tableScrollThumbBg:Ct,tableScrollThumbBgHover:Xt,tableScrollThumbSize:Gt,tableScrollBg:Sr,zIndexTableSticky:be,stickyScrollBarBorderRadius:nt,lineWidth:rt,lineType:kt,tableBorderColor:Yt}=Ve,Lt=`${(0,Lr.unit)(rt)} ${kt} ${Yt}`;return{[`${ve}-wrapper`]:{[`${ve}-sticky`]:{"&-holder":{position:"sticky",zIndex:be,background:Ve.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,Lr.unit)(Gt)} !important`,zIndex:be,display:"flex",alignItems:"center",background:Sr,borderTop:Lt,opacity:$t,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Gt,backgroundColor:Ct,borderRadius:nt,transition:`all ${Ve.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Xt}}}}}}},at=Ve=>{const{componentCls:ve,lineWidth:$t,tableBorderColor:Ct,calc:Xt}=Ve,Gt=`${(0,Lr.unit)($t)} ${Ve.lineType} ${Ct}`;return{[`${ve}-wrapper`]:{[`${ve}-summary`]:{position:"relative",zIndex:Ve.zIndexTableFixed,background:Ve.tableBg,"> tr":{"> th, > td":{borderBottom:Gt}}},[`div${ve}-summary`]:{boxShadow:`0 ${(0,Lr.unit)(Xt($t).mul(-1).equal())} 0 ${Ct}`}}}},cr=Ve=>{const{componentCls:ve,motionDurationMid:$t,lineWidth:Ct,lineType:Xt,tableBorderColor:Gt,calc:Sr}=Ve,be=`${(0,Lr.unit)(Ct)} ${Xt} ${Gt}`,nt=`${ve}-expanded-row-cell`;return{[`${ve}-wrapper`]:{[`${ve}-tbody-virtual`]:{[`${ve}-tbody-virtual-holder-inner`]:{[`
& > ${ve}-row,
& > div:not(${ve}-row) > ${ve}-row
`]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${ve}-cell`]:{borderBottom:be,transition:`background ${$t}`},[`${ve}-expanded-row`]:{[`${nt}${nt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,Lr.unit)(Ct)})`,borderInlineEnd:"none"}}},[`${ve}-bordered`]:{[`${ve}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:be,position:"absolute"},[`${ve}-cell`]:{borderInlineEnd:be,[`&${ve}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:Sr(Ct).mul(-1).equal(),borderInlineStart:be}}},[`&${ve}-virtual`]:{[`${ve}-placeholder ${ve}-cell`]:{borderInlineEnd:be,borderBottom:be}}}}}};const Rr=Ve=>{const{componentCls:ve,fontWeightStrong:$t,tablePaddingVertical:Ct,tablePaddingHorizontal:Xt,tableExpandColumnWidth:Gt,lineWidth:Sr,lineType:be,tableBorderColor:nt,tableFontSize:rt,tableBg:kt,tableRadius:Yt,tableHeaderTextColor:Lt,motionDurationMid:Bt,tableHeaderBg:Qt,tableHeaderCellSplitColor:Ur,tableFooterTextColor:Wt,tableFooterBg:Fr,calc:Xr}=Ve,gn=`${(0,Lr.unit)(Sr)} ${be} ${nt}`;return{[`${ve}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,pn.dF)()),{[ve]:Object.assign(Object.assign({},(0,pn.Wf)(Ve)),{fontSize:rt,background:kt,borderRadius:`${(0,Lr.unit)(Yt)} ${(0,Lr.unit)(Yt)} 0 0`,scrollbarColor:`${Ve.tableScrollThumbBg} ${Ve.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,Lr.unit)(Yt)} ${(0,Lr.unit)(Yt)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${ve}-cell,
${ve}-thead > tr > th,
${ve}-tbody > tr > th,
${ve}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${(0,Lr.unit)(Ct)} ${(0,Lr.unit)(Xt)}`,overflowWrap:"break-word"},[`${ve}-title`]:{padding:`${(0,Lr.unit)(Ct)} ${(0,Lr.unit)(Xt)}`},[`${ve}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Lt,fontWeight:$t,textAlign:"start",background:Qt,borderBottom:gn,transition:`background ${Bt} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ve}-selection-column):not(${ve}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Ur,transform:"translateY(-50%)",transition:`background-color ${Bt}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ve}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Bt}, border-color ${Bt}`,borderBottom:gn,[`
> ${ve}-wrapper:only-child,
> ${ve}-expanded-row-fixed > ${ve}-wrapper:only-child
`]:{[ve]:{marginBlock:(0,Lr.unit)(Xr(Ct).mul(-1).equal()),marginInline:`${(0,Lr.unit)(Xr(Gt).sub(Xt).equal())}
${(0,Lr.unit)(Xr(Xt).mul(-1).equal())}`,[`${ve}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Lt,fontWeight:$t,textAlign:"start",background:Qt,borderBottom:gn,transition:`background ${Bt} ease`}}},[`${ve}-footer`]:{padding:`${(0,Lr.unit)(Ct)} ${(0,Lr.unit)(Xt)}`,color:Wt,background:Fr}})}},Vr=Ve=>{const{colorFillAlter:ve,colorBgContainer:$t,colorTextHeading:Ct,colorFillSecondary:Xt,colorFillContent:Gt,controlItemBgActive:Sr,controlItemBgActiveHover:be,padding:nt,paddingSM:rt,paddingXS:kt,colorBorderSecondary:Yt,borderRadiusLG:Lt,controlHeight:Bt,colorTextPlaceholder:Qt,fontSize:Ur,fontSizeSM:Wt,lineHeight:Fr,lineWidth:Xr,colorIcon:gn,colorIconHover:Dt,opacityLoading:Et,controlInteractiveSize:wn}=Ve,Gr=new ln.FastColor(Xt).onBackground($t).toHexString(),qr=new ln.FastColor(Gt).onBackground($t).toHexString(),nn=new ln.FastColor(ve).onBackground($t).toHexString(),_r=new ln.FastColor(gn),on=new ln.FastColor(Dt),Mn=wn/2-Xr,Ln=Mn*2+Xr*3;return{headerBg:nn,headerColor:Ct,headerSortActiveBg:Gr,headerSortHoverBg:qr,bodySortBg:nn,rowHoverBg:nn,rowSelectedBg:Sr,rowSelectedHoverBg:be,rowExpandedBg:ve,cellPaddingBlock:nt,cellPaddingInline:nt,cellPaddingBlockMD:rt,cellPaddingInlineMD:kt,cellPaddingBlockSM:kt,cellPaddingInlineSM:kt,borderColor:Yt,headerBorderRadius:Lt,footerBg:nn,footerColor:Ct,cellFontSize:Ur,cellFontSizeMD:Ur,cellFontSizeSM:Ur,headerSplitColor:Yt,fixedHeaderSortActiveBg:Gr,headerFilterHoverBg:Gt,filterDropdownMenuBg:$t,filterDropdownBg:$t,expandIconBg:$t,selectionColumnWidth:Bt,stickyScrollBarBg:Qt,stickyScrollBarBorderRadius:100,expandIconMarginTop:(Ur*Fr-Xr*3)/2-Math.ceil((Wt*1.4-Xr*3)/2),headerIconColor:_r.clone().setA(_r.a*Et).toRgbString(),headerIconHoverColor:on.clone().setA(on.a*Et).toRgbString(),expandIconHalfInner:Mn,expandIconSize:Ln,expandIconScale:wn/Ln}},Mr=2;var wr=(0,En.I$)("Table",Ve=>{const{colorTextHeading:ve,colorSplit:$t,colorBgContainer:Ct,controlInteractiveSize:Xt,headerBg:Gt,headerColor:Sr,headerSortActiveBg:be,headerSortHoverBg:nt,bodySortBg:rt,rowHoverBg:kt,rowSelectedBg:Yt,rowSelectedHoverBg:Lt,rowExpandedBg:Bt,cellPaddingBlock:Qt,cellPaddingInline:Ur,cellPaddingBlockMD:Wt,cellPaddingInlineMD:Fr,cellPaddingBlockSM:Xr,cellPaddingInlineSM:gn,borderColor:Dt,footerBg:Et,footerColor:wn,headerBorderRadius:Gr,cellFontSize:qr,cellFontSizeMD:nn,cellFontSizeSM:_r,headerSplitColor:on,fixedHeaderSortActiveBg:Mn,headerFilterHoverBg:Ln,filterDropdownBg:Hn,expandIconBg:ta,selectionColumnWidth:oa,stickyScrollBarBg:ma,calc:Kn}=Ve,On=(0,Dn.mergeToken)(Ve,{tableFontSize:qr,tableBg:Ct,tableRadius:Gr,tablePaddingVertical:Qt,tablePaddingHorizontal:Ur,tablePaddingVerticalMiddle:Wt,tablePaddingHorizontalMiddle:Fr,tablePaddingVerticalSmall:Xr,tablePaddingHorizontalSmall:gn,tableBorderColor:Dt,tableHeaderTextColor:Sr,tableHeaderBg:Gt,tableFooterTextColor:wn,tableFooterBg:Et,tableHeaderCellSplitColor:on,tableHeaderSortBg:be,tableHeaderSortHoverBg:nt,tableBodySortBg:rt,tableFixedHeaderSortActiveBg:Mn,tableHeaderFilterActiveBg:Ln,tableFilterDropdownBg:Hn,tableRowHoverBg:kt,tableSelectedRowBg:Yt,tableSelectedRowHoverBg:Lt,zIndexTableFixed:Mr,zIndexTableSticky:Kn(Mr).add(1).equal({unit:!1}),tableFontSizeMiddle:nn,tableFontSizeSmall:_r,tableSelectionColumnWidth:oa,tableExpandIconBg:ta,tableExpandColumnWidth:Kn(Xt).add(Kn(Ve.padding).mul(2)).equal(),tableExpandedRowBg:Bt,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:ma,tableScrollThumbBgHover:ve,tableScrollBg:$t});return[Rr(On),v(On),at(On),me(On),Un(On),Pn(On),b(On),Nn(On),at(On),Gn(On),Ee(On),u(On),je(On),dn(On),Xe(On),V(On),cr(On)]},Vr,{unitless:{expandIconScale:!0}});const Zt=[],_t=(Ve,ve)=>{var $t,Ct;const{prefixCls:Xt,className:Gt,rootClassName:Sr,style:be,size:nt,bordered:rt,dropdownPrefixCls:kt,dataSource:Yt,pagination:Lt,rowSelection:Bt,rowKey:Qt="key",rowClassName:Ur,columns:Wt,children:Fr,childrenColumnName:Xr,onChange:gn,getPopupContainer:Dt,loading:Et,expandIcon:wn,expandable:Gr,expandedRowRender:qr,expandIconColumnIndex:nn,indentSize:_r,scroll:on,sortDirections:Mn,locale:Ln,showSorterTooltip:Hn={target:"full-header"},virtual:ta}=Ve,oa=(0,A.ln)("Table"),ma=s.useMemo(()=>Wt||(0,Oe.L)(Fr),[Wt,Fr]),Kn=s.useMemo(()=>ma.some(na=>na.responsive),[ma]),On=(0,_.Z)(Kn),Yr=s.useMemo(()=>{const na=new Set(Object.keys(On).filter(wa=>On[wa]));return ma.filter(wa=>!wa.responsive||wa.responsive.some(Ja=>na.has(Ja)))},[ma,On]),Ba=(0,Y.Z)(Ve,["className","style","columns"]),{locale:ba=re.Z,direction:La,table:ia,renderEmpty:Ca,getPrefixCls:uo,getPopupContainer:sa}=s.useContext(st.E_),no=(0,H.Z)(nt),Ma=Object.assign(Object.assign({},ba.Table),Ln),Wa=Yt||Zt,Jn=uo("table",Xt),ra=uo("dropdown",kt),[,fn]=(0,Fe.ZP)(),Cn=(0,le.Z)(Jn),[Oa,aa,za]=wr(Jn,Cn),Ta=Object.assign(Object.assign({childrenColumnName:Xr,expandIconColumnIndex:nn},Gr),{expandIcon:($t=Gr==null?void 0:Gr.expandIcon)!==null&&$t!==void 0?$t:(Ct=ia==null?void 0:ia.expandable)===null||Ct===void 0?void 0:Ct.expandIcon}),{childrenColumnName:Wn="children"}=Ta,so=s.useMemo(()=>Wa.some(na=>na==null?void 0:na[Wn])?"nest":qr||Gr!=null&&Gr.expandedRowRender?"row":null,[Wa]),Rn={body:s.useRef(null)},la=ft(Jn),ca=s.useRef(null),xa=s.useRef(null);M(ve,()=>Object.assign(Object.assign({},xa.current),{nativeElement:ca.current}));const Fa=s.useMemo(()=>typeof Qt=="function"?Qt:na=>na==null?void 0:na[Qt],[Qt]),[ao]=Tr(Wa,Wn,Fa),Qa={},go=function(na,wa){let Ja=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ye,wo,Io,Ao;const eo=Object.assign(Object.assign({},Qa),na);Ja&&((Ye=Qa.resetPagination)===null||Ye===void 0||Ye.call(Qa),!((wo=eo.pagination)===null||wo===void 0)&&wo.current&&(eo.pagination.current=1),Lt&&((Io=Lt.onChange)===null||Io===void 0||Io.call(Lt,1,(Ao=eo.pagination)===null||Ao===void 0?void 0:Ao.pageSize))),on&&on.scrollToFirstRowOnChange!==!1&&Rn.body.current&&(0,E.Z)(0,{getContainer:()=>Rn.body.current}),gn==null||gn(eo.pagination,eo.filters,eo.sorter,{currentDataSource:yn(Kr(Wa,eo.sorterStates,Wn),eo.filterStates,Wn),action:wa})},ho=(na,wa)=>{go({sorter:na,sorterStates:wa},"sort",!1)},[ga,Ia,Sa,Ua]=kn({prefixCls:Jn,mergedColumns:Yr,onSorterChange:ho,sortDirections:Mn||["ascend","descend"],tableLocale:Ma,showSorterTooltip:Hn}),_a=s.useMemo(()=>Kr(Wa,Ia,Wn),[Wa,Ia]);Qa.sorter=Ua(),Qa.sorterStates=Ia;const ya=(na,wa)=>{go({filters:na,filterStates:wa},"filter",!0)},[ka,Na,Xa]=yr({prefixCls:Jn,locale:Ma,dropdownPrefixCls:ra,mergedColumns:Yr,onFilterChange:ya,getPopupContainer:Dt||sa,rootClassName:l()(Sr,Cn)}),lo=yn(_a,Na,Wn);Qa.filters=Xa,Qa.filterStates=Na;const vo=s.useMemo(()=>{const na={};return Object.keys(Xa).forEach(wa=>{Xa[wa]!==null&&(na[wa]=Xa[wa])}),Object.assign(Object.assign({},Sa),{filters:na})},[Sa,Xa]),[Ko]=or(vo),Wo=(na,wa)=>{go({pagination:Object.assign(Object.assign({},Qa.pagination),{current:na,pageSize:wa})},"paginate")},[Aa,Si]=bt(lo.length,Wo,Lt);Qa.pagination=Lt===!1?{}:Ae(Aa,Lt),Qa.resetPagination=Si;const oo=s.useMemo(()=>{if(Lt===!1||!Aa.pageSize)return lo;const{current:na=1,total:wa,pageSize:Ja=F}=Aa;return lo.length<wa?lo.length>Ja?lo.slice((na-1)*Ja,na*Ja):lo:lo.slice((na-1)*Ja,na*Ja)},[!!Lt,lo,Aa==null?void 0:Aa.current,Aa==null?void 0:Aa.pageSize,Aa==null?void 0:Aa.total]),[Mo,mo]=Ce({prefixCls:Jn,data:lo,pageData:oo,getRowKey:Fa,getRecordByKey:ao,expandType:so,childrenColumnName:Wn,locale:Ma,getPopupContainer:Dt||sa},Bt),Ti=(na,wa,Ja)=>{let Ye;return typeof Ur=="function"?Ye=l()(Ur(na,wa,Ja)):Ye=l()(Ur),l()({[`${Jn}-row-selected`]:mo.has(Fa(na,wa))},Ye)};Ta.__PARENT_RENDER_ICON__=Ta.expandIcon,Ta.expandIcon=Ta.expandIcon||wn||lt(Ma),so==="nest"&&Ta.expandIconColumnIndex===void 0?Ta.expandIconColumnIndex=Bt?1:0:Ta.expandIconColumnIndex>0&&Bt&&(Ta.expandIconColumnIndex-=1),typeof Ta.indentSize!="number"&&(Ta.indentSize=typeof _r=="number"?_r:15);const xo=s.useCallback(na=>Ko(Mo(ka(ga(na)))),[ga,ka,Mo]);let _o,qa;if(Lt!==!1&&(Aa!=null&&Aa.total)){let na;Aa.size?na=Aa.size:na=no==="small"||no==="middle"?"small":void 0;const wa=wo=>s.createElement(T.Z,Object.assign({},Aa,{className:l()(`${Jn}-pagination ${Jn}-pagination-${wo}`,Aa.className),size:na})),Ja=La==="rtl"?"left":"right",{position:Ye}=Aa;if(Ye!==null&&Array.isArray(Ye)){const wo=Ye.find(eo=>eo.includes("top")),Io=Ye.find(eo=>eo.includes("bottom")),Ao=Ye.every(eo=>`${eo}`=="none");!wo&&!Io&&!Ao&&(qa=wa(Ja)),wo&&(_o=wa(wo.toLowerCase().replace("top",""))),Io&&(qa=wa(Io.toLowerCase().replace("bottom","")))}else qa=wa(Ja)}let Oo;typeof Et=="boolean"?Oo={spinning:Et}:typeof Et=="object"&&(Oo=Object.assign({spinning:!0},Et));const Bi=l()(za,Cn,`${Jn}-wrapper`,ia==null?void 0:ia.className,{[`${Jn}-wrapper-rtl`]:La==="rtl"},Gt,Sr,aa),Li=Object.assign(Object.assign({},ia==null?void 0:ia.style),be),Xo=typeof(Ln==null?void 0:Ln.emptyText)!="undefined"?Ln.emptyText:(Ca==null?void 0:Ca("Table"))||s.createElement(ce.Z,{componentName:"Table"}),Ci=ta?Hr:Pr,Eo={},Yo=s.useMemo(()=>{const{fontSize:na,lineHeight:wa,lineWidth:Ja,padding:Ye,paddingXS:wo,paddingSM:Io}=fn,Ao=Math.floor(na*wa);switch(no){case"middle":return Io*2+Ao+Ja;case"small":return wo*2+Ao+Ja;default:return Ye*2+Ao+Ja}},[fn,no]);return ta&&(Eo.listItemHeight=Yo),Oa(s.createElement("div",{ref:ca,className:Bi,style:Li},s.createElement(ne.Z,Object.assign({spinning:!1},Oo),_o,s.createElement(Ci,Object.assign({},Eo,Ba,{ref:xa,columns:Yr,direction:La,expandable:Ta,prefixCls:Jn,className:l()({[`${Jn}-middle`]:no==="middle",[`${Jn}-small`]:no==="small",[`${Jn}-bordered`]:rt,[`${Jn}-empty`]:Wa.length===0},za,Cn,aa),data:oo,rowKey:Fa,rowClassName:Ti,emptyText:Xo,internalHooks:qe.RQ,internalRefs:Rn,transformColumns:xo,getContainerWidth:la})),qa)))};var Br=s.forwardRef(_t);const dt=(Ve,ve)=>{const $t=s.useRef(0);return $t.current+=1,s.createElement(Br,Object.assign({},Ve,{ref:ve,_renderTimes:$t.current}))},ut=s.forwardRef(dt);ut.SELECTION_COLUMN=de,ut.EXPAND_COLUMN=qe.w2,ut.SELECTION_ALL=X,ut.SELECTION_INVERT=J,ut.SELECTION_NONE=Ne,ut.Column=He,ut.ColumnGroup=q,ut.Summary=qe.ER;var rr=ut,Pt=rr},20554:function(en,Jt,o){"use strict";o.d(Jt,{default:function(){return re}});var s=o(59301),qe=o(99267),I=o(18785),He=o(62772),te=o(92310),q=o.n(te),Q=o(29443),y=o(48755),U=o(83397),l=o(31756),L=o(86641);const W={motionAppear:!1,motionEnter:!0,motionLeave:!0};function G(T){let ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},Fe;return ne===!1?Fe={inkBar:!1,tabPane:!1}:ne===!0?Fe={inkBar:!0,tabPane:!0}:Fe=Object.assign({inkBar:!0},typeof ne=="object"?ne:{}),Fe.tabPane&&(Fe.tabPaneMotion=Object.assign(Object.assign({},W),{motionName:(0,L.m)(T,"switch")})),Fe}var R=o(11592),Z=function(T,ne){var Fe={};for(var ye in T)Object.prototype.hasOwnProperty.call(T,ye)&&ne.indexOf(ye)<0&&(Fe[ye]=T[ye]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,ye=Object.getOwnPropertySymbols(T);lt<ye.length;lt++)ne.indexOf(ye[lt])<0&&Object.prototype.propertyIsEnumerable.call(T,ye[lt])&&(Fe[ye[lt]]=T[ye[lt]]);return Fe};function A(T){return T.filter(ne=>ne)}function $(T,ne){if(T)return T;const Fe=(0,R.Z)(ne).map(ye=>{if(s.isValidElement(ye)){const{key:lt,props:ft}=ye,pt=ft||{},{tab:he}=pt,We=Z(pt,["tab"]);return Object.assign(Object.assign({key:String(lt)},We),{label:he})}return null});return A(Fe)}var w=o(36237),j=o(63356),de=o(16931),X=o(51636),J=o(46e3),Le=T=>{const{componentCls:ne,motionDurationSlow:Fe}=T;return[{[ne]:{[`${ne}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${Fe}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${Fe}`}}}}},[(0,J.oN)(T,"slide-up"),(0,J.oN)(T,"slide-down")]]};const et=T=>{const{componentCls:ne,tabsCardPadding:Fe,cardBg:ye,cardGutter:lt,colorBorderSecondary:ft,itemSelectedColor:pt}=T;return{[`${ne}-card`]:{[`> ${ne}-nav, > div > ${ne}-nav`]:{[`${ne}-tab`]:{margin:0,padding:Fe,background:ye,border:`${(0,w.unit)(T.lineWidth)} ${T.lineType} ${ft}`,transition:`all ${T.motionDurationSlow} ${T.motionEaseInOut}`},[`${ne}-tab-active`]:{color:pt,background:T.colorBgContainer},[`${ne}-tab-focus`]:Object.assign({},(0,j.oN)(T,-3)),[`${ne}-ink-bar`]:{visibility:"hidden"},[`& ${ne}-tab${ne}-tab-focus ${ne}-tab-btn`]:{outline:"none"}},[`&${ne}-top, &${ne}-bottom`]:{[`> ${ne}-nav, > div > ${ne}-nav`]:{[`${ne}-tab + ${ne}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,w.unit)(lt)}}}},[`&${ne}-top`]:{[`> ${ne}-nav, > div > ${ne}-nav`]:{[`${ne}-tab`]:{borderRadius:`${(0,w.unit)(T.borderRadiusLG)} ${(0,w.unit)(T.borderRadiusLG)} 0 0`},[`${ne}-tab-active`]:{borderBottomColor:T.colorBgContainer}}},[`&${ne}-bottom`]:{[`> ${ne}-nav, > div > ${ne}-nav`]:{[`${ne}-tab`]:{borderRadius:`0 0 ${(0,w.unit)(T.borderRadiusLG)} ${(0,w.unit)(T.borderRadiusLG)}`},[`${ne}-tab-active`]:{borderTopColor:T.colorBgContainer}}},[`&${ne}-left, &${ne}-right`]:{[`> ${ne}-nav, > div > ${ne}-nav`]:{[`${ne}-tab + ${ne}-tab`]:{marginTop:(0,w.unit)(lt)}}},[`&${ne}-left`]:{[`> ${ne}-nav, > div > ${ne}-nav`]:{[`${ne}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,w.unit)(T.borderRadiusLG)} 0 0 ${(0,w.unit)(T.borderRadiusLG)}`}},[`${ne}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:T.colorBgContainer}}}},[`&${ne}-right`]:{[`> ${ne}-nav, > div > ${ne}-nav`]:{[`${ne}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,w.unit)(T.borderRadiusLG)} ${(0,w.unit)(T.borderRadiusLG)} 0`}},[`${ne}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:T.colorBgContainer}}}}}}},Ue=T=>{const{componentCls:ne,itemHoverColor:Fe,dropdownEdgeChildVerticalPadding:ye}=T;return{[`${ne}-dropdown`]:Object.assign(Object.assign({},(0,j.Wf)(T)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:T.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${ne}-dropdown-menu`]:{maxHeight:T.tabsDropdownHeight,margin:0,padding:`${(0,w.unit)(ye)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:T.colorBgContainer,backgroundClip:"padding-box",borderRadius:T.borderRadiusLG,outline:"none",boxShadow:T.boxShadowSecondary,"&-item":Object.assign(Object.assign({},j.vS),{display:"flex",alignItems:"center",minWidth:T.tabsDropdownWidth,margin:0,padding:`${(0,w.unit)(T.paddingXXS)} ${(0,w.unit)(T.paddingSM)}`,color:T.colorText,fontWeight:"normal",fontSize:T.fontSize,lineHeight:T.lineHeight,cursor:"pointer",transition:`all ${T.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:T.marginSM},color:T.colorTextDescription,fontSize:T.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:Fe}},"&:hover":{background:T.controlItemBgHover},"&-disabled":{"&, &:hover":{color:T.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Ce=T=>{const{componentCls:ne,margin:Fe,colorBorderSecondary:ye,horizontalMargin:lt,verticalItemPadding:ft,verticalItemMargin:pt,calc:he}=T;return{[`${ne}-top, ${ne}-bottom`]:{flexDirection:"column",[`> ${ne}-nav, > div > ${ne}-nav`]:{margin:lt,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,w.unit)(T.lineWidth)} ${T.lineType} ${ye}`,content:"''"},[`${ne}-ink-bar`]:{height:T.lineWidthBold,"&-animated":{transition:`width ${T.motionDurationSlow}, left ${T.motionDurationSlow},
right ${T.motionDurationSlow}`}},[`${ne}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:T.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:T.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:T.boxShadowTabsOverflowRight},[`&${ne}-nav-wrap-ping-left::before`]:{opacity:1},[`&${ne}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${ne}-top`]:{[`> ${ne}-nav,
> div > ${ne}-nav`]:{"&::before":{bottom:0},[`${ne}-ink-bar`]:{bottom:0}}},[`${ne}-bottom`]:{[`> ${ne}-nav, > div > ${ne}-nav`]:{order:1,marginTop:Fe,marginBottom:0,"&::before":{top:0},[`${ne}-ink-bar`]:{top:0}},[`> ${ne}-content-holder, > div > ${ne}-content-holder`]:{order:0}},[`${ne}-left, ${ne}-right`]:{[`> ${ne}-nav, > div > ${ne}-nav`]:{flexDirection:"column",minWidth:he(T.controlHeight).mul(1.25).equal(),[`${ne}-tab`]:{padding:ft,textAlign:"center"},[`${ne}-tab + ${ne}-tab`]:{margin:pt},[`${ne}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:T.controlHeight},"&::before":{top:0,boxShadow:T.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:T.boxShadowTabsOverflowBottom},[`&${ne}-nav-wrap-ping-top::before`]:{opacity:1},[`&${ne}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${ne}-ink-bar`]:{width:T.lineWidthBold,"&-animated":{transition:`height ${T.motionDurationSlow}, top ${T.motionDurationSlow}`}},[`${ne}-nav-list, ${ne}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${ne}-left`]:{[`> ${ne}-nav, > div > ${ne}-nav`]:{[`${ne}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${ne}-content-holder, > div > ${ne}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,w.unit)(he(T.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,w.unit)(T.lineWidth)} ${T.lineType} ${T.colorBorder}`},[`> ${ne}-content > ${ne}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:T.paddingLG}}}},[`${ne}-right`]:{[`> ${ne}-nav, > div > ${ne}-nav`]:{order:1,[`${ne}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${ne}-content-holder, > div > ${ne}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:he(T.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,w.unit)(T.lineWidth)} ${T.lineType} ${T.colorBorder}`},[`> ${ne}-content > ${ne}-tabpane`]:{paddingRight:{_skip_check_:!0,value:T.paddingLG}}}}}},Oe=T=>{const{componentCls:ne,cardPaddingSM:Fe,cardPaddingLG:ye,horizontalItemPaddingSM:lt,horizontalItemPaddingLG:ft}=T;return{[ne]:{"&-small":{[`> ${ne}-nav`]:{[`${ne}-tab`]:{padding:lt,fontSize:T.titleFontSizeSM}}},"&-large":{[`> ${ne}-nav`]:{[`${ne}-tab`]:{padding:ft,fontSize:T.titleFontSizeLG}}}},[`${ne}-card`]:{[`&${ne}-small`]:{[`> ${ne}-nav`]:{[`${ne}-tab`]:{padding:Fe}},[`&${ne}-bottom`]:{[`> ${ne}-nav ${ne}-tab`]:{borderRadius:`0 0 ${(0,w.unit)(T.borderRadius)} ${(0,w.unit)(T.borderRadius)}`}},[`&${ne}-top`]:{[`> ${ne}-nav ${ne}-tab`]:{borderRadius:`${(0,w.unit)(T.borderRadius)} ${(0,w.unit)(T.borderRadius)} 0 0`}},[`&${ne}-right`]:{[`> ${ne}-nav ${ne}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,w.unit)(T.borderRadius)} ${(0,w.unit)(T.borderRadius)} 0`}}},[`&${ne}-left`]:{[`> ${ne}-nav ${ne}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,w.unit)(T.borderRadius)} 0 0 ${(0,w.unit)(T.borderRadius)}`}}}},[`&${ne}-large`]:{[`> ${ne}-nav`]:{[`${ne}-tab`]:{padding:ye}}}}}},Y=T=>{const{componentCls:ne,itemActiveColor:Fe,itemHoverColor:ye,iconCls:lt,tabsHorizontalItemMargin:ft,horizontalItemPadding:pt,itemSelectedColor:he,itemColor:We}=T,jt=`${ne}-tab`;return{[jt]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:pt,fontSize:T.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:We,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:Fe}},"&-btn":{outline:"none",transition:`all ${T.motionDurationSlow}`,[`${jt}-icon:not(:last-child)`]:{marginInlineEnd:T.marginSM}},"&-remove":Object.assign({flex:"none",marginRight:{_skip_check_:!0,value:T.calc(T.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:T.marginXS},color:T.colorTextDescription,fontSize:T.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${T.motionDurationSlow}`,"&:hover":{color:T.colorTextHeading}},(0,j.Qy)(T)),"&:hover":{color:ye},[`&${jt}-active ${jt}-btn`]:{color:he,textShadow:T.tabsActiveTextShadow},[`&${jt}-focus ${jt}-btn`]:Object.assign({},(0,j.oN)(T)),[`&${jt}-disabled`]:{color:T.colorTextDisabled,cursor:"not-allowed"},[`&${jt}-disabled ${jt}-btn, &${jt}-disabled ${ne}-remove`]:{"&:focus, &:active":{color:T.colorTextDisabled}},[`& ${jt}-remove ${lt}`]:{margin:0},[`${lt}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:T.marginSM}}},[`${jt} + ${jt}`]:{margin:{_skip_check_:!0,value:ft}}}},xe=T=>{const{componentCls:ne,tabsHorizontalItemMarginRTL:Fe,iconCls:ye,cardGutter:lt,calc:ft}=T;return{[`${ne}-rtl`]:{direction:"rtl",[`${ne}-nav`]:{[`${ne}-tab`]:{margin:{_skip_check_:!0,value:Fe},[`${ne}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[ye]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,w.unit)(T.marginSM)}},[`${ne}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,w.unit)(T.marginXS)},marginLeft:{_skip_check_:!0,value:(0,w.unit)(ft(T.marginXXS).mul(-1).equal())},[ye]:{margin:0}}}},[`&${ne}-left`]:{[`> ${ne}-nav`]:{order:1},[`> ${ne}-content-holder`]:{order:0}},[`&${ne}-right`]:{[`> ${ne}-nav`]:{order:0},[`> ${ne}-content-holder`]:{order:1}},[`&${ne}-card${ne}-top, &${ne}-card${ne}-bottom`]:{[`> ${ne}-nav, > div > ${ne}-nav`]:{[`${ne}-tab + ${ne}-tab`]:{marginRight:{_skip_check_:!0,value:lt},marginLeft:{_skip_check_:!0,value:0}}}}},[`${ne}-dropdown-rtl`]:{direction:"rtl"},[`${ne}-menu-item`]:{[`${ne}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},M=T=>{const{componentCls:ne,tabsCardPadding:Fe,cardHeight:ye,cardGutter:lt,itemHoverColor:ft,itemActiveColor:pt,colorBorderSecondary:he}=T;return{[ne]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,j.Wf)(T)),{display:"flex",[`> ${ne}-nav, > div > ${ne}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${ne}-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 ${T.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${ne}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${T.motionDurationSlow}`},[`${ne}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${ne}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${ne}-nav-more`]:{position:"relative",padding:Fe,background:"transparent",border:0,color:T.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:T.calc(T.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${ne}-nav-add`]:Object.assign({minWidth:ye,marginLeft:{_skip_check_:!0,value:lt},padding:(0,w.unit)(T.paddingXS),background:"transparent",border:`${(0,w.unit)(T.lineWidth)} ${T.lineType} ${he}`,borderRadius:`${(0,w.unit)(T.borderRadiusLG)} ${(0,w.unit)(T.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:T.colorText,transition:`all ${T.motionDurationSlow} ${T.motionEaseInOut}`,"&:hover":{color:ft},"&:active, &:focus:not(:focus-visible)":{color:pt}},(0,j.Qy)(T,-3))},[`${ne}-extra-content`]:{flex:"none"},[`${ne}-ink-bar`]:{position:"absolute",background:T.inkBarColor,pointerEvents:"none"}}),Y(T)),{[`${ne}-content`]:{position:"relative",width:"100%"},[`${ne}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${ne}-tabpane`]:Object.assign(Object.assign({},(0,j.Qy)(T)),{"&-hidden":{display:"none"}})}),[`${ne}-centered`]:{[`> ${ne}-nav, > div > ${ne}-nav`]:{[`${ne}-nav-wrap`]:{[`&:not([class*='${ne}-nav-wrap-ping']) > ${ne}-nav-list`]:{margin:"auto"}}}}}},E=T=>{const ne=T.controlHeightLG;return{zIndexPopup:T.zIndexPopupBase+50,cardBg:T.colorFillAlter,cardHeight:ne,cardPadding:`${(ne-Math.round(T.fontSize*T.lineHeight))/2-T.lineWidth}px ${T.padding}px`,cardPaddingSM:`${T.paddingXXS*1.5}px ${T.padding}px`,cardPaddingLG:`${T.paddingXS}px ${T.padding}px ${T.paddingXXS*1.5}px`,titleFontSize:T.fontSize,titleFontSizeLG:T.fontSizeLG,titleFontSizeSM:T.fontSize,inkBarColor:T.colorPrimary,horizontalMargin:`0 0 ${T.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${T.paddingSM}px 0`,horizontalItemPaddingSM:`${T.paddingXS}px 0`,horizontalItemPaddingLG:`${T.padding}px 0`,verticalItemPadding:`${T.paddingXS}px ${T.paddingLG}px`,verticalItemMargin:`${T.margin}px 0 0 0`,itemColor:T.colorText,itemSelectedColor:T.colorPrimary,itemHoverColor:T.colorPrimaryHover,itemActiveColor:T.colorPrimaryActive,cardGutter:T.marginXXS/2}};var st=(0,de.I$)("Tabs",T=>{const ne=(0,X.mergeToken)(T,{tabsCardPadding:T.cardPadding,dropdownEdgeChildVerticalPadding:T.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,w.unit)(T.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,w.unit)(T.horizontalItemGutter)}`});return[Oe(ne),xe(ne),Ce(ne),Ue(ne),et(ne),M(ne),Le(ne)]},E),le=()=>null,H=function(T,ne){var Fe={};for(var ye in T)Object.prototype.hasOwnProperty.call(T,ye)&&ne.indexOf(ye)<0&&(Fe[ye]=T[ye]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,ye=Object.getOwnPropertySymbols(T);lt<ye.length;lt++)ne.indexOf(ye[lt])<0&&Object.prototype.propertyIsEnumerable.call(T,ye[lt])&&(Fe[ye[lt]]=T[ye[lt]]);return Fe};const _=T=>{var ne,Fe,ye,lt,ft,pt,he,We,jt,ze,Be;const{type:P,className:ct,rootClassName:Se,size:fe,onEdit:ue,hideAdd:ge,centered:$e,addIcon:we,removeIcon:Re,moreIcon:Je,more:wt,popupClassName:At,children:ar,items:qt,animated:Nt,style:ht,indicatorSize:Ot,indicator:Tt}=T,Ut=H(T,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:St}=Ut,{direction:gr,tabs:lr,getPrefixCls:Cr,getPopupContainer:rn}=s.useContext(y.E_),Er=Cr("tabs",St),S=(0,U.Z)(Er),[N,er,se]=st(Er,S);let ke;P==="editable-card"&&(ke={onEdit:(vr,Tr)=>{let{key:f,event:F}=Tr;ue==null||ue(vr==="add"?F:f,vr)},removeIcon:(ne=Re!=null?Re:lr==null?void 0:lr.removeIcon)!==null&&ne!==void 0?ne:s.createElement(qe.Z,null),addIcon:(we!=null?we:lr==null?void 0:lr.addIcon)||s.createElement(He.Z,null),showAdd:ge!==!0});const zr=Cr(),Ir=(0,l.Z)(fe),yn=$(qt,ar),Bn=G(Er,Nt),zt=Object.assign(Object.assign({},lr==null?void 0:lr.style),ht),yr={align:(Fe=Tt==null?void 0:Tt.align)!==null&&Fe!==void 0?Fe:(ye=lr==null?void 0:lr.indicator)===null||ye===void 0?void 0:ye.align,size:(he=(ft=(lt=Tt==null?void 0:Tt.size)!==null&&lt!==void 0?lt:Ot)!==null&&ft!==void 0?ft:(pt=lr==null?void 0:lr.indicator)===null||pt===void 0?void 0:pt.size)!==null&&he!==void 0?he:lr==null?void 0:lr.indicatorSize};return N(s.createElement(Q.Z,Object.assign({direction:gr,getPopupContainer:rn},Ut,{items:yn,className:q()({[`${Er}-${Ir}`]:Ir,[`${Er}-card`]:["card","editable-card"].includes(P),[`${Er}-editable-card`]:P==="editable-card",[`${Er}-centered`]:$e},lr==null?void 0:lr.className,ct,Se,er,se,S),popupClassName:q()(At,er,se,S),style:zt,editable:ke,more:Object.assign({icon:(Be=(ze=(jt=(We=lr==null?void 0:lr.more)===null||We===void 0?void 0:We.icon)!==null&&jt!==void 0?jt:lr==null?void 0:lr.moreIcon)!==null&&ze!==void 0?ze:Je)!==null&&Be!==void 0?Be:s.createElement(I.Z,null),transitionName:`${zr}-slide-up`},wt),prefixCls:Er,animated:Bn,indicator:yr})))};_.TabPane=le;var re=_},96599:function(en,Jt,o){"use strict";o.d(Jt,{default:function(){return M}});var s=o(59301),qe=o(92310),I=o.n(qe),He=o(2738),te=o(29509),q=o(78776),Q=o(22703),y=o(12919),U=o(48755),l=o(36237),L=o(17835),W=o(63356),G=o(51636),R=o(16931);const Z=E=>{const{paddingXXS:st,lineWidth:ce,tagPaddingHorizontal:le,componentCls:H,calc:_}=E,re=_(le).sub(ce).equal(),T=_(st).sub(ce).equal();return{[H]:Object.assign(Object.assign({},(0,W.Wf)(E)),{display:"inline-block",height:"auto",marginInlineEnd:E.marginXS,paddingInline:re,fontSize:E.tagFontSize,lineHeight:E.tagLineHeight,whiteSpace:"nowrap",background:E.defaultBg,border:`${(0,l.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`,borderRadius:E.borderRadiusSM,opacity:1,transition:`all ${E.motionDurationMid}`,textAlign:"start",position:"relative",[`&${H}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:E.defaultColor},[`${H}-close-icon`]:{marginInlineStart:T,fontSize:E.tagIconSize,color:E.colorTextDescription,cursor:"pointer",transition:`all ${E.motionDurationMid}`,"&:hover":{color:E.colorTextHeading}},[`&${H}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${E.iconCls}-close, ${E.iconCls}-close:hover`]:{color:E.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${H}-checkable-checked):hover`]:{color:E.colorPrimary,backgroundColor:E.colorFillSecondary},"&:active, &-checked":{color:E.colorTextLightSolid},"&-checked":{backgroundColor:E.colorPrimary,"&:hover":{backgroundColor:E.colorPrimaryHover}},"&:active":{backgroundColor:E.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${E.iconCls} + span, > span + ${E.iconCls}`]:{marginInlineStart:re}}),[`${H}-borderless`]:{borderColor:"transparent",background:E.tagBorderlessBg}}},A=E=>{const{lineWidth:st,fontSizeIcon:ce,calc:le}=E,H=E.fontSizeSM;return(0,G.mergeToken)(E,{tagFontSize:H,tagLineHeight:(0,l.unit)(le(E.lineHeightSM).mul(H).equal()),tagIconSize:le(ce).sub(le(st).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:E.defaultBg})},$=E=>({defaultBg:new L.FastColor(E.colorFillQuaternary).onBackground(E.colorBgContainer).toHexString(),defaultColor:E.colorText});var w=(0,R.I$)("Tag",E=>{const st=A(E);return Z(st)},$),j=function(E,st){var ce={};for(var le in E)Object.prototype.hasOwnProperty.call(E,le)&&st.indexOf(le)<0&&(ce[le]=E[le]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,le=Object.getOwnPropertySymbols(E);H<le.length;H++)st.indexOf(le[H])<0&&Object.prototype.propertyIsEnumerable.call(E,le[H])&&(ce[le[H]]=E[le[H]]);return ce},X=s.forwardRef((E,st)=>{const{prefixCls:ce,style:le,className:H,checked:_,onChange:re,onClick:T}=E,ne=j(E,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Fe,tag:ye}=s.useContext(U.E_),lt=ze=>{re==null||re(!_),T==null||T(ze)},ft=Fe("tag",ce),[pt,he,We]=w(ft),jt=I()(ft,`${ft}-checkable`,{[`${ft}-checkable-checked`]:_},ye==null?void 0:ye.className,H,he,We);return pt(s.createElement("span",Object.assign({},ne,{ref:st,style:Object.assign(Object.assign({},le),ye==null?void 0:ye.style),className:jt,onClick:lt})))}),J=o(93427);const Ne=E=>(0,J.Z)(E,(st,ce)=>{let{textColor:le,lightBorderColor:H,lightColor:_,darkColor:re}=ce;return{[`${E.componentCls}${E.componentCls}-${st}`]:{color:le,background:_,borderColor:H,"&-inverse":{color:E.colorTextLightSolid,background:re,borderColor:re},[`&${E.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Le=(0,R.bk)(["Tag","preset"],E=>{const st=A(E);return Ne(st)},$);function et(E){return typeof E!="string"?E:E.charAt(0).toUpperCase()+E.slice(1)}const Ue=(E,st,ce)=>{const le=et(ce);return{[`${E.componentCls}${E.componentCls}-${st}`]:{color:E[`color${ce}`],background:E[`color${le}Bg`],borderColor:E[`color${le}Border`],[`&${E.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Ce=(0,R.bk)(["Tag","status"],E=>{const st=A(E);return[Ue(st,"success","Success"),Ue(st,"processing","Info"),Ue(st,"error","Error"),Ue(st,"warning","Warning")]},$),Oe=function(E,st){var ce={};for(var le in E)Object.prototype.hasOwnProperty.call(E,le)&&st.indexOf(le)<0&&(ce[le]=E[le]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,le=Object.getOwnPropertySymbols(E);H<le.length;H++)st.indexOf(le[H])<0&&Object.prototype.propertyIsEnumerable.call(E,le[H])&&(ce[le[H]]=E[le[H]]);return ce};const xe=s.forwardRef((E,st)=>{const{prefixCls:ce,className:le,rootClassName:H,style:_,children:re,icon:T,color:ne,onClose:Fe,bordered:ye=!0,visible:lt}=E,ft=Oe(E,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:pt,direction:he,tag:We}=s.useContext(U.E_),[jt,ze]=s.useState(!0),Be=(0,He.Z)(ft,["closeIcon","closable"]);s.useEffect(()=>{lt!==void 0&&ze(lt)},[lt]);const P=(0,te.o2)(ne),ct=(0,te.yT)(ne),Se=P||ct,fe=Object.assign(Object.assign({backgroundColor:ne&&!Se?ne:void 0},We==null?void 0:We.style),_),ue=pt("tag",ce),[ge,$e,we]=w(ue),Re=I()(ue,We==null?void 0:We.className,{[`${ue}-${ne}`]:Se,[`${ue}-has-color`]:ne&&!Se,[`${ue}-hidden`]:!jt,[`${ue}-rtl`]:he==="rtl",[`${ue}-borderless`]:!ye},le,H,$e,we),Je=ht=>{ht.stopPropagation(),Fe==null||Fe(ht),!ht.defaultPrevented&&ze(!1)},[,wt]=(0,q.Z)((0,q.w)(E),(0,q.w)(We),{closable:!1,closeIconRender:ht=>{const Ot=s.createElement("span",{className:`${ue}-close-icon`,onClick:Je},ht);return(0,Q.wm)(ht,Ot,Tt=>({onClick:Ut=>{var St;(St=Tt==null?void 0:Tt.onClick)===null||St===void 0||St.call(Tt,Ut),Je(Ut)},className:I()(Tt==null?void 0:Tt.className,`${ue}-close-icon`)}))}}),At=typeof ft.onClick=="function"||re&&re.type==="a",ar=T||null,qt=ar?s.createElement(s.Fragment,null,ar,re&&s.createElement("span",null,re)):re,Nt=s.createElement("span",Object.assign({},Be,{ref:st,className:Re,style:fe}),qt,wt,P&&s.createElement(Le,{key:"preset",prefixCls:ue}),ct&&s.createElement(Ce,{key:"status",prefixCls:ue}));return ge(At?s.createElement(y.Z,{component:"Tag"},Nt):Nt)});xe.CheckableTag=X;var M=xe},93427:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return qe}});var s=o(34998);function qe(I,He){return s.i.reduce((te,q)=>{const Q=I[`${q}1`],y=I[`${q}3`],U=I[`${q}6`],l=I[`${q}7`];return Object.assign(Object.assign({},te),He(q,{lightColor:Q,lightBorderColor:y,darkColor:U,textColor:l}))},{})}},25399:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return st}});var s=o(59301),qe=o(92310),I=o.n(qe),He=o(29125),te=o(18929),q=o(62487),Q=o(75030),y=o(86641),U=o(52838),l=o(22703),L=o(32383),W=o(55743),G=o(57700),R=o(48755),Z=o(36237),A=o(63356),$=o(34925),w=o(37645),j=o(36305),de=o(93427),X=o(51636),J=o(16931);const Ne=ce=>{const{calc:le,componentCls:H,tooltipMaxWidth:_,tooltipColor:re,tooltipBg:T,tooltipBorderRadius:ne,zIndexPopup:Fe,controlHeight:ye,boxShadowSecondary:lt,paddingSM:ft,paddingXS:pt,arrowOffsetHorizontal:he,sizePopupArrow:We}=ce,jt=le(ne).add(We).add(he).equal(),ze=le(ne).mul(2).add(We).equal();return[{[H]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,A.Wf)(ce)),{position:"absolute",zIndex:Fe,display:"block",width:"max-content",maxWidth:_,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":T,[`${H}-inner`]:{minWidth:ze,minHeight:ye,padding:`${(0,Z.unit)(ce.calc(ft).div(2).equal())} ${(0,Z.unit)(pt)}`,color:re,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:T,borderRadius:ne,boxShadow:lt,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:jt},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${H}-inner`]:{borderRadius:ce.min(ne,w.qN)}},[`${H}-content`]:{position:"relative"}}),(0,de.Z)(ce,(Be,P)=>{let{darkColor:ct}=P;return{[`&${H}-${Be}`]:{[`${H}-inner`]:{backgroundColor:ct},[`${H}-arrow`]:{"--antd-arrow-background-color":ct}}}})),{"&-rtl":{direction:"rtl"}})},(0,w.ZP)(ce,"var(--antd-arrow-background-color)"),{[`${H}-pure`]:{position:"relative",maxWidth:"none",margin:ce.sizePopupArrow}}]},Le=ce=>Object.assign(Object.assign({zIndexPopup:ce.zIndexPopupBase+70},(0,w.wZ)({contentRadius:ce.borderRadius,limitVerticalRadius:!0})),(0,j.w)((0,X.mergeToken)(ce,{borderRadiusOuter:Math.min(ce.borderRadiusOuter,4)})));var et=function(ce){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,J.I$)("Tooltip",_=>{const{borderRadius:re,colorTextLightSolid:T,colorBgSpotlight:ne}=_,Fe=(0,X.mergeToken)(_,{tooltipMaxWidth:250,tooltipColor:T,tooltipBorderRadius:re,tooltipBg:ne});return[Ne(Fe),(0,$._y)(_,"zoom-big-fast")]},Le,{resetStyle:!1,injectStyle:le})(ce)},Ue=o(29509);function Ce(ce,le){const H=(0,Ue.o2)(le),_=I()({[`${ce}-${le}`]:le&&H}),re={},T={};return le&&!H&&(re.background=le,T["--antd-arrow-background-color"]=le),{className:_,overlayStyle:re,arrowStyle:T}}var Y=ce=>{const{prefixCls:le,className:H,placement:_="top",title:re,color:T,overlayInnerStyle:ne}=ce,{getPrefixCls:Fe}=s.useContext(R.E_),ye=Fe("tooltip",le),[lt,ft,pt]=et(ye),he=Ce(ye,T),We=he.arrowStyle,jt=Object.assign(Object.assign({},ne),he.overlayStyle),ze=I()(ft,pt,ye,`${ye}-pure`,`${ye}-placement-${_}`,H,he.className);return lt(s.createElement("div",{className:ze,style:We},s.createElement("div",{className:`${ye}-arrow`}),s.createElement(He.G,Object.assign({},ce,{className:ft,prefixCls:ye,overlayInnerStyle:jt}),re)))},xe=function(ce,le){var H={};for(var _ in ce)Object.prototype.hasOwnProperty.call(ce,_)&&le.indexOf(_)<0&&(H[_]=ce[_]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var re=0,_=Object.getOwnPropertySymbols(ce);re<_.length;re++)le.indexOf(_[re])<0&&Object.prototype.propertyIsEnumerable.call(ce,_[re])&&(H[_[re]]=ce[_[re]]);return H};const E=s.forwardRef((ce,le)=>{var H,_;const{prefixCls:re,openClassName:T,getTooltipContainer:ne,color:Fe,overlayInnerStyle:ye,children:lt,afterOpenChange:ft,afterVisibleChange:pt,destroyTooltipOnHide:he,arrow:We=!0,title:jt,overlay:ze,builtinPlacements:Be,arrowPointAtCenter:P=!1,autoAdjustOverflow:ct=!0,motion:Se,getPopupContainer:fe,placement:ue="top",mouseEnterDelay:ge=.1,mouseLeaveDelay:$e=.1,overlayStyle:we,rootClassName:Re,overlayClassName:Je,styles:wt,classNames:At}=ce,ar=xe(ce,["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"]),qt=!!We,[,Nt]=(0,G.ZP)(),{getPopupContainer:ht,getPrefixCls:Ot,direction:Tt,className:Ut,style:St,classNames:gr,styles:lr}=(0,R.dj)("tooltip"),Cr=(0,L.ln)("Tooltip"),rn=s.useRef(null),Er=()=>{var vn;(vn=rn.current)===null||vn===void 0||vn.forceAlign()};s.useImperativeHandle(le,()=>{var vn,_n;return{forceAlign:Er,forcePopupAlign:()=>{Cr.deprecated(!1,"forcePopupAlign","forceAlign"),Er()},nativeElement:(vn=rn.current)===null||vn===void 0?void 0:vn.nativeElement,popupElement:(_n=rn.current)===null||_n===void 0?void 0:_n.popupElement}});const[S,N]=(0,te.Z)(!1,{value:(H=ce.open)!==null&&H!==void 0?H:ce.visible,defaultValue:(_=ce.defaultOpen)!==null&&_!==void 0?_:ce.defaultVisible}),er=!jt&&!ze&&jt!==0,se=vn=>{var _n,pe;N(er?!1:vn),er||((_n=ce.onOpenChange)===null||_n===void 0||_n.call(ce,vn),(pe=ce.onVisibleChange)===null||pe===void 0||pe.call(ce,vn))},ke=s.useMemo(()=>{var vn,_n;let pe=P;return typeof We=="object"&&(pe=(_n=(vn=We.pointAtCenter)!==null&&vn!==void 0?vn:We.arrowPointAtCenter)!==null&&_n!==void 0?_n:P),Be||(0,U.Z)({arrowPointAtCenter:pe,autoAdjustOverflow:ct,arrowWidth:qt?Nt.sizePopupArrow:0,borderRadius:Nt.borderRadius,offset:Nt.marginXXS,visibleFirst:!0})},[P,We,Be,Nt]),zr=s.useMemo(()=>jt===0?jt:ze||jt||"",[ze,jt]),Ir=s.createElement(q.Z,{space:!0},typeof zr=="function"?zr():zr),yn=Ot("tooltip",re),Bn=Ot(),zt=ce["data-popover-inject"];let yr=S;!("open"in ce)&&!("visible"in ce)&&er&&(yr=!1);const vr=s.isValidElement(lt)&&!(0,l.M2)(lt)?lt:s.createElement("span",null,lt),Tr=vr.props,f=!Tr.className||typeof Tr.className=="string"?I()(Tr.className,T||`${yn}-open`):Tr.className,[F,Ae,ae]=et(yn,!zt),bt=Ce(yn,Fe),bn=bt.arrowStyle,yt=I()(Je,{[`${yn}-rtl`]:Tt==="rtl"},bt.className,Re,Ae,ae,Ut,gr.root,At==null?void 0:At.root),Vt=I()(gr.body,At==null?void 0:At.body),[Wr,Nr]=(0,Q.Cn)("Tooltip",ar.zIndex),Qr=s.createElement(He.Z,Object.assign({},ar,{zIndex:Wr,showArrow:qt,placement:ue,mouseEnterDelay:ge,mouseLeaveDelay:$e,prefixCls:yn,classNames:{root:yt,body:Vt},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},bn),lr.root),St),we),wt==null?void 0:wt.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},lr.body),ye),wt==null?void 0:wt.body),bt.overlayStyle)},getTooltipContainer:fe||ne||ht,ref:rn,builtinPlacements:ke,overlay:Ir,visible:yr,onVisibleChange:se,afterVisibleChange:ft!=null?ft:pt,arrowContent:s.createElement("span",{className:`${yn}-arrow-content`}),motion:{motionName:(0,y.m)(Bn,"zoom-big-fast",ce.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!he}),yr?(0,l.Tm)(vr,{className:f}):vr);return F(s.createElement(W.Z.Provider,{value:Nr},Qr))});E._InternalPanelDoNotUseOrYouWillBeFired=Y;var st=E},86743:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return _}});var s=o(59301),qe=o(38470),I=o(92310),He=o.n(I),te=o(75030),q=o(52838),Q=o(55743),y=o(48755),U=o(57700),l=o(15142),L=o(99267),W=o(99571),G=o(9017),R=o(85981);function Z(re){return re!=null}var $=re=>{var T,ne;const{stepProps:Fe,current:ye,type:lt,indicatorsRender:ft}=re,{prefixCls:pt,total:he=1,title:We,onClose:jt,onPrev:ze,onNext:Be,onFinish:P,cover:ct,description:Se,nextButtonProps:fe,prevButtonProps:ue,type:ge,closable:$e}=Fe,we=ge!=null?ge:lt,Re=s.createElement("button",{type:"button",onClick:jt,className:`${pt}-close`},($e==null?void 0:$e.closeIcon)||s.createElement(L.Z,{className:`${pt}-close-icon`})),Je=ye===he-1,wt=()=>{var St;ze==null||ze(),(St=ue==null?void 0:ue.onClick)===null||St===void 0||St.call(ue)},At=()=>{var St;Je?P==null||P():Be==null||Be(),(St=fe==null?void 0:fe.onClick)===null||St===void 0||St.call(fe)},ar=Z(We)?s.createElement("div",{className:`${pt}-header`},s.createElement("div",{className:`${pt}-title`},We)):null,qt=Z(Se)?s.createElement("div",{className:`${pt}-description`},Se):null,Nt=Z(ct)?s.createElement("div",{className:`${pt}-cover`},ct):null;let ht;ft?ht=ft(ye,he):ht=(0,l.Z)(Array.from({length:he}).keys()).map((St,gr)=>s.createElement("span",{key:St,className:He()(gr===ye&&`${pt}-indicator-active`,`${pt}-indicator`)}));const Ot=we==="primary"?"default":"primary",Tt={type:"default",ghost:we==="primary"},[Ut]=(0,G.Z)("Tour",R.Z.Tour);return s.createElement("div",{className:`${pt}-content`},s.createElement("div",{className:`${pt}-inner`},$e&&Re,Nt,ar,qt,s.createElement("div",{className:`${pt}-footer`},he>1&&s.createElement("div",{className:`${pt}-indicators`},ht),s.createElement("div",{className:`${pt}-buttons`},ye!==0?s.createElement(W.ZP,Object.assign({},Tt,ue,{onClick:wt,size:"small",className:He()(`${pt}-prev-btn`,ue==null?void 0:ue.className)}),(T=ue==null?void 0:ue.children)!==null&&T!==void 0?T:Ut==null?void 0:Ut.Previous):null,s.createElement(W.ZP,Object.assign({type:Ot},fe,{onClick:At,size:"small",className:He()(`${pt}-next-btn`,fe==null?void 0:fe.className)}),(ne=fe==null?void 0:fe.children)!==null&&ne!==void 0?ne:Je?Ut==null?void 0:Ut.Finish:Ut==null?void 0:Ut.Next)))))},w=o(78776),j=o(45915),de=o(22703),X=o(69106),J=o(36237),Ne=o(17835),Le=o(63356),et=o(37645),Ue=o(36305),Ce=o(16931),Oe=o(51636);const Y=re=>{const{componentCls:T,padding:ne,paddingXS:Fe,borderRadius:ye,borderRadiusXS:lt,colorPrimary:ft,colorFill:pt,indicatorHeight:he,indicatorWidth:We,boxShadowTertiary:jt,zIndexPopup:ze,colorBgElevated:Be,fontWeightStrong:P,marginXS:ct,colorTextLightSolid:Se,tourBorderRadius:fe,colorWhite:ue,primaryNextBtnHoverBg:ge,closeBtnSize:$e,motionDurationSlow:we,antCls:Re,primaryPrevBtnBg:Je}=re;return[{[T]:Object.assign(Object.assign({},(0,Le.Wf)(re)),{position:"absolute",zIndex:ze,maxWidth:"fit-content",visibility:"visible",width:520,"--antd-arrow-background-color":Be,"&-pure":{maxWidth:"100%",position:"relative"},[`&${T}-hidden`]:{display:"none"},[`${T}-content`]:{position:"relative"},[`${T}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:fe,boxShadow:jt,position:"relative",backgroundColor:Be,border:"none",backgroundClip:"padding-box",[`${T}-close`]:Object.assign({position:"absolute",top:ne,insetInlineEnd:ne,color:re.colorIcon,background:"none",border:"none",width:$e,height:$e,borderRadius:re.borderRadiusSM,transition:`background-color ${re.motionDurationMid}, color ${re.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer","&:hover":{color:re.colorIconHover,backgroundColor:re.colorBgTextHover},"&:active":{backgroundColor:re.colorBgTextActive}},(0,Le.Qy)(re)),[`${T}-cover`]:{textAlign:"center",padding:`${(0,J.unit)(re.calc(ne).add($e).add(Fe).equal())} ${(0,J.unit)(ne)} 0`,img:{width:"100%"}},[`${T}-header`]:{padding:`${(0,J.unit)(ne)} ${(0,J.unit)(ne)} ${(0,J.unit)(Fe)}`,width:`calc(100% - ${(0,J.unit)($e)})`,wordBreak:"break-word",[`${T}-title`]:{fontWeight:P}},[`${T}-description`]:{padding:`0 ${(0,J.unit)(ne)}`,wordWrap:"break-word"},[`${T}-footer`]:{padding:`${(0,J.unit)(Fe)} ${(0,J.unit)(ne)} ${(0,J.unit)(ne)}`,textAlign:"end",borderRadius:`0 0 ${(0,J.unit)(lt)} ${(0,J.unit)(lt)}`,display:"flex",[`${T}-indicators`]:{display:"inline-block",[`${T}-indicator`]:{width:We,height:he,display:"inline-block",borderRadius:"50%",background:pt,"&:not(:last-child)":{marginInlineEnd:he},"&-active":{background:ft}}},[`${T}-buttons`]:{marginInlineStart:"auto",[`${Re}-btn`]:{marginInlineStart:ct}}}},[`${T}-primary, &${T}-primary`]:{"--antd-arrow-background-color":ft,[`${T}-inner`]:{color:Se,textAlign:"start",textDecoration:"none",backgroundColor:ft,borderRadius:ye,boxShadow:jt,[`${T}-close`]:{color:Se},[`${T}-indicators`]:{[`${T}-indicator`]:{background:Je,"&-active":{background:Se}}},[`${T}-prev-btn`]:{color:Se,borderColor:Je,backgroundColor:ft,"&:hover":{backgroundColor:Je,borderColor:"transparent"}},[`${T}-next-btn`]:{color:ft,borderColor:"transparent",background:ue,"&:hover":{background:ge}}}}}),[`${T}-mask`]:{[`${T}-placeholder-animated`]:{transition:`all ${we}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${T}-inner`]:{borderRadius:re.min(fe,et.qN)}}},(0,et.ZP)(re,"var(--antd-arrow-background-color)")]},xe=re=>Object.assign(Object.assign({zIndexPopup:re.zIndexPopupBase+70,closeBtnSize:re.fontSize*re.lineHeight,primaryPrevBtnBg:new Ne.FastColor(re.colorTextLightSolid).setA(.15).toRgbString(),primaryNextBtnHoverBg:new Ne.FastColor(re.colorBgTextHover).onBackground(re.colorWhite).toRgbString()},(0,et.wZ)({contentRadius:re.borderRadiusLG,limitVerticalRadius:!0})),(0,Ue.w)(re));var M=(0,Ce.I$)("Tour",re=>{const{borderRadiusLG:T}=re,ne=(0,Oe.mergeToken)(re,{indicatorWidth:6,indicatorHeight:6,tourBorderRadius:T});return[Y(ne)]},xe),E=function(re,T){var ne={};for(var Fe in re)Object.prototype.hasOwnProperty.call(re,Fe)&&T.indexOf(Fe)<0&&(ne[Fe]=re[Fe]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,Fe=Object.getOwnPropertySymbols(re);ye<Fe.length;ye++)T.indexOf(Fe[ye])<0&&Object.prototype.propertyIsEnumerable.call(re,Fe[ye])&&(ne[Fe[ye]]=re[Fe[ye]]);return ne};const st=re=>{const{prefixCls:T,current:ne=0,total:Fe=6,className:ye,style:lt,type:ft,closable:pt,closeIcon:he}=re,We=E(re,["prefixCls","current","total","className","style","type","closable","closeIcon"]),{getPrefixCls:jt}=s.useContext(y.E_),ze=jt("tour",T),[Be,P,ct]=M(ze),[Se,fe]=(0,w.Z)({closable:pt,closeIcon:he},null,{closable:!0,closeIconRender:ue=>s.isValidElement(ue)?(0,de.Tm)(ue,{className:He()(ue.props.className,`${ze}-close-icon`)}):ue});return Be(s.createElement(X.t5,{prefixCls:ze,hashId:P,className:He()(ye,`${ze}-pure`,ft&&`${ze}-${ft}`,ct),style:lt},s.createElement($,{stepProps:Object.assign(Object.assign({},We),{prefixCls:ze,total:Fe,closable:Se?{closeIcon:fe}:void 0}),current:ne,type:ft})))};var ce=(0,j.i)(st),le=function(re,T){var ne={};for(var Fe in re)Object.prototype.hasOwnProperty.call(re,Fe)&&T.indexOf(Fe)<0&&(ne[Fe]=re[Fe]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,Fe=Object.getOwnPropertySymbols(re);ye<Fe.length;ye++)T.indexOf(Fe[ye])<0&&Object.prototype.propertyIsEnumerable.call(re,Fe[ye])&&(ne[Fe[ye]]=re[Fe[ye]]);return ne};const H=re=>{const{prefixCls:T,type:ne,rootClassName:Fe,indicatorsRender:ye,steps:lt,closeIcon:ft}=re,pt=le(re,["prefixCls","type","rootClassName","indicatorsRender","steps","closeIcon"]),{getPrefixCls:he,direction:We,tour:jt}=(0,s.useContext)(y.E_),ze=he("tour",T),[Be,P,ct]=M(ze),[,Se]=(0,U.ZP)(),fe=s.useMemo(()=>lt==null?void 0:lt.map(Je=>{var wt;return Object.assign(Object.assign({},Je),{className:He()(Je.className,{[`${ze}-primary`]:((wt=Je.type)!==null&&wt!==void 0?wt:ne)==="primary"})})}),[lt,ne]),ue=Je=>{var wt;return(0,q.Z)({arrowPointAtCenter:(wt=Je==null?void 0:Je.arrowPointAtCenter)!==null&&wt!==void 0?wt:!0,autoAdjustOverflow:!0,offset:Se.marginXXS,arrowWidth:Se.sizePopupArrow,borderRadius:Se.borderRadius})},ge=He()({[`${ze}-rtl`]:We==="rtl"},P,ct,Fe),$e=(Je,wt)=>s.createElement($,{type:ne,stepProps:Je,current:wt,indicatorsRender:ye}),[we,Re]=(0,te.Cn)("Tour",pt.zIndex);return Be(s.createElement(Q.Z.Provider,{value:Re},s.createElement(qe.Z,Object.assign({},pt,{closeIcon:ft!=null?ft:jt==null?void 0:jt.closeIcon,zIndex:we,rootClassName:ge,prefixCls:ze,animated:!0,renderPanel:$e,builtinPlacements:ue,steps:fe}))))};H._InternalPanelDoNotUseOrYouWillBeFired=ce;var _=H},69219:function(en,Jt,o){"use strict";o.d(Jt,{default:function(){return _}});var s=o(59301),qe=o(92310),I=o.n(qe),He=o(9940),te=o(2738),q=o(75030),Q=o(86641),y=o(45915),U=o(82855),l=o(48755),L=o(38406),W=o(2171),G=o(83397),R=o(31756),Z=o(56553),A=o(24971),$=o(1722),w=o(90376),j=o(68525),de=o(90005),X=o(70045),J=o(57700),Ne=o(85278),Le=o(36237),et=o(36170),Ue=o(51636),Ce=o(16931),Oe=o(12425);const Y=re=>{const{componentCls:T,treePrefixCls:ne,colorBgElevated:Fe}=re,ye=`.${ne}`;return[{[`${T}-dropdown`]:[{padding:`${(0,Le.unit)(re.paddingXS)} ${(0,Le.unit)(re.calc(re.paddingXS).div(2).equal())}`},(0,Oe.Yk)(ne,(0,Ue.mergeToken)(re,{colorBgContainer:Fe}),!1),{[ye]:{borderRadius:0,[`${ye}-list-holder-inner`]:{alignItems:"stretch",[`${ye}-treenode`]:{[`${ye}-node-content-wrapper`]:{flex:"auto"}}}}},(0,et.C2)(`${ne}-checkbox`,re),{"&-rtl":{direction:"rtl",[`${ye}-switcher${ye}-switcher_close`]:{[`${ye}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]},xe=null;function M(re,T,ne){return(0,Ce.I$)("TreeSelect",Fe=>{const ye=(0,Ue.mergeToken)(Fe,{treePrefixCls:T});return[Y(ye)]},Oe.TM)(re,ne)}var E=function(re,T){var ne={};for(var Fe in re)Object.prototype.hasOwnProperty.call(re,Fe)&&T.indexOf(Fe)<0&&(ne[Fe]=re[Fe]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,Fe=Object.getOwnPropertySymbols(re);ye<Fe.length;ye++)T.indexOf(Fe[ye])<0&&Object.prototype.propertyIsEnumerable.call(re,Fe[ye])&&(ne[Fe[ye]]=re[Fe[ye]]);return ne};const st=(re,T)=>{var ne;const{prefixCls:Fe,size:ye,disabled:lt,bordered:ft=!0,className:pt,rootClassName:he,treeCheckable:We,multiple:jt,listHeight:ze=256,listItemHeight:Be,placement:P,notFoundContent:ct,switcherIcon:Se,treeLine:fe,getPopupContainer:ue,popupClassName:ge,dropdownClassName:$e,treeIcon:we=!1,transitionName:Re,choiceTransitionName:Je="",status:wt,treeExpandAction:At,builtinPlacements:ar,dropdownMatchSelectWidth:qt,popupMatchSelectWidth:Nt,allowClear:ht,variant:Ot,dropdownStyle:Tt,tagRender:Ut,maxCount:St,showCheckedStrategy:gr,treeCheckStrictly:lr}=re,Cr=E(re,["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:rn,getPrefixCls:Er,renderEmpty:S,direction:N,virtual:er,popupMatchSelectWidth:se,popupOverflow:ke}=s.useContext(l.E_),[,zr]=(0,J.ZP)(),Ir=Be!=null?Be:(zr==null?void 0:zr.controlHeightSM)+(zr==null?void 0:zr.paddingXXS),yn=Er(),Bn=Er("select",Fe),zt=Er("select-tree",Fe),yr=Er("tree-select",Fe),{compactSize:vr,compactItemClassnames:Tr}=(0,X.ri)(Bn,N),f=(0,G.Z)(Bn),F=(0,G.Z)(yr),[Ae,ae,bt]=(0,w.Z)(Bn,f),[bn]=M(yr,zt,F),[yt,Vt]=(0,A.Z)("treeSelect",Ot,ft),Wr=I()(ge||$e,`${yr}-dropdown`,{[`${yr}-dropdown-rtl`]:N==="rtl"},he,bt,f,F,ae),Nr=!!(We||jt),Qr=s.useMemo(()=>{if(!(St&&(gr==="SHOW_ALL"&&!lr||gr==="SHOW_PARENT")))return St},[St,gr,lr]),vn=(0,de.Z)(re.suffixIcon,re.showArrow),_n=(ne=Nt!=null?Nt:qt)!==null&&ne!==void 0?ne:se,{status:pe,hasFeedback:fr,isFormItemInput:tt,feedbackIcon:Or}=s.useContext(Z.aM),Kr=(0,U.F)(pe,wt),{suffixIcon:xn,removeIcon:kn,clearIcon:xt}=(0,j.Z)(Object.assign(Object.assign({},Cr),{multiple:Nr,showSuffixIcon:vn,hasFeedback:fr,feedbackIcon:Or,prefixCls:Bn,componentName:"TreeSelect"})),tr=ht===!0?{clearIcon:xt}:ht;let or;ct!==void 0?or=ct:or=(S==null?void 0:S("Select"))||s.createElement(L.Z,{componentName:"Select"});const ir=(0,te.Z)(Cr,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),Pr=s.useMemo(()=>P!==void 0?P:N==="rtl"?"bottomRight":"bottomLeft",[P,N]),tn=(0,R.Z)($n=>{var Pn;return(Pn=ye!=null?ye:vr)!==null&&Pn!==void 0?Pn:$n}),Hr=s.useContext(W.Z),Lr=lt!=null?lt:Hr,ln=I()(!Fe&&yr,{[`${Bn}-lg`]:tn==="large",[`${Bn}-sm`]:tn==="small",[`${Bn}-rtl`]:N==="rtl",[`${Bn}-${yt}`]:Vt,[`${Bn}-in-form-item`]:tt},(0,U.Z)(Bn,Kr,fr),Tr,pt,he,bt,f,F,ae),pn=$n=>s.createElement(Ne.Z,{prefixCls:zt,switcherIcon:Se,treeNodeProps:$n,showLine:fe}),[En]=(0,q.Cn)("SelectLike",Tt==null?void 0:Tt.zIndex),Dn=s.createElement(He.ZP,Object.assign({virtual:er,disabled:Lr},ir,{dropdownMatchSelectWidth:_n,builtinPlacements:(0,$.Z)(ar,ke),ref:T,prefixCls:Bn,className:ln,listHeight:ze,listItemHeight:Ir,treeCheckable:We&&s.createElement("span",{className:`${Bn}-tree-checkbox-inner`}),treeLine:!!fe,suffixIcon:xn,multiple:Nr,placement:Pr,removeIcon:kn,allowClear:tr,switcherIcon:pn,showTreeIcon:we,notFoundContent:or,getPopupContainer:ue||rn,treeMotion:null,dropdownClassName:Wr,dropdownStyle:Object.assign(Object.assign({},Tt),{zIndex:En}),choiceTransitionName:(0,Q.m)(yn,"",Je),transitionName:(0,Q.m)(yn,"slide-up",Re),treeExpandAction:At,tagRender:Nr?Ut:void 0,maxCount:Qr,showCheckedStrategy:gr,treeCheckStrictly:lr}));return Ae(bn(Dn))},le=s.forwardRef(st),H=(0,y.Z)(le,"dropdownAlign",re=>(0,te.Z)(re,["visible"]));le.TreeNode=He.OF,le.SHOW_ALL=He.Qw,le.SHOW_PARENT=He.hT,le.SHOW_CHILD=He.FJ,le._InternalPanelDoNotUseOrYouWillBeFired=H;var _=le},18287:function(en,Jt,o){"use strict";o.d(Jt,{default:function(){return Fe}});var s=o(71598),qe=o(15142),I=o(59301),He=o(52671),te=o(8657),q=o(67711),Q={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=Q,U=o(7657),l=function(lt,ft){return I.createElement(U.Z,(0,q.Z)({},lt,{ref:ft,icon:y}))},L=I.forwardRef(l),W=L,G=o(92310),R=o.n(G),Z=o(82661),A=o(34061),$=o(48755),w=o(56082),j=o(86641),de=o(57700),X=o(12425);const J=4;function Ne(ye){const{dropPosition:lt,dropLevelOffset:ft,prefixCls:pt,indent:he,direction:We="ltr"}=ye,jt=We==="ltr"?"left":"right",ze=We==="ltr"?"right":"left",Be={[jt]:-ft*he+J,[ze]:0};switch(lt){case-1:Be.top=-3;break;case 1:Be.bottom=-3;break;default:Be.bottom=-3,Be[jt]=he+J;break}return I.createElement("div",{style:Be,className:`${pt}-drop-indicator`})}var Le=Ne,et=o(85278),Ce=I.forwardRef((ye,lt)=>{var ft;const{getPrefixCls:pt,direction:he,virtual:We,tree:jt}=I.useContext($.E_),{prefixCls:ze,className:Be,showIcon:P=!1,showLine:ct,switcherIcon:Se,switcherLoadingIcon:fe,blockNode:ue=!1,children:ge,checkable:$e=!1,selectable:we=!0,draggable:Re,motion:Je,style:wt}=ye,At=pt("tree",ze),ar=pt(),qt=Je!=null?Je:Object.assign(Object.assign({},(0,j.Z)(ar)),{motionAppear:!1}),Nt=Object.assign(Object.assign({},ye),{checkable:$e,selectable:we,showIcon:P,motion:qt,blockNode:ue,showLine:!!ct,dropIndicatorRender:Le}),[ht,Ot,Tt]=(0,X.ZP)(At),[,Ut]=(0,de.ZP)(),St=Ut.paddingXS/2+(((ft=Ut.Tree)===null||ft===void 0?void 0:ft.titleHeight)||Ut.controlHeightSM),gr=I.useMemo(()=>{if(!Re)return!1;let Cr={};switch(typeof Re){case"function":Cr.nodeDraggable=Re;break;case"object":Cr=Object.assign({},Re);break;default:break}return Cr.icon!==!1&&(Cr.icon=Cr.icon||I.createElement(w.Z,null)),Cr},[Re]),lr=Cr=>I.createElement(et.Z,{prefixCls:At,switcherIcon:Se,switcherLoadingIcon:fe,treeNodeProps:Cr,showLine:ct});return ht(I.createElement(s.ZP,Object.assign({itemHeight:St,ref:lt,virtual:We},Nt,{style:Object.assign(Object.assign({},jt==null?void 0:jt.style),wt),prefixCls:At,className:R()({[`${At}-icon-hide`]:!P,[`${At}-block-node`]:ue,[`${At}-unselectable`]:!we,[`${At}-rtl`]:he==="rtl"},jt==null?void 0:jt.className,Be,Ot,Tt),direction:he,checkable:$e&&I.createElement("span",{className:`${At}-checkbox-inner`}),selectable:we,switcherIcon:lr,draggable:gr}),ge))});const Oe=0,Y=1,xe=2;function M(ye,lt,ft){const{key:pt,children:he}=ft;function We(jt){const ze=jt[pt],Be=jt[he];lt(ze,jt)!==!1&&M(Be||[],lt,ft)}ye.forEach(We)}function E(ye){let{treeData:lt,expandedKeys:ft,startKey:pt,endKey:he,fieldNames:We}=ye;const jt=[];let ze=Oe;if(pt&&pt===he)return[pt];if(!pt||!he)return[];function Be(P){return P===pt||P===he}return M(lt,P=>{if(ze===xe)return!1;if(Be(P)){if(jt.push(P),ze===Oe)ze=Y;else if(ze===Y)return ze=xe,!1}else ze===Y&&jt.push(P);return ft.includes(P)},(0,A.w$)(We)),jt}function st(ye,lt,ft){const pt=(0,qe.Z)(lt),he=[];return M(ye,(We,jt)=>{const ze=pt.indexOf(We);return ze!==-1&&(he.push(jt),pt.splice(ze,1)),!!pt.length},(0,A.w$)(ft)),he}var ce=function(ye,lt){var ft={};for(var pt in ye)Object.prototype.hasOwnProperty.call(ye,pt)&&lt.indexOf(pt)<0&&(ft[pt]=ye[pt]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,pt=Object.getOwnPropertySymbols(ye);he<pt.length;he++)lt.indexOf(pt[he])<0&&Object.prototype.propertyIsEnumerable.call(ye,pt[he])&&(ft[pt[he]]=ye[pt[he]]);return ft};function le(ye){const{isLeaf:lt,expanded:ft}=ye;return lt?I.createElement(He.Z,null):ft?I.createElement(te.Z,null):I.createElement(W,null)}function H(ye){let{treeData:lt,children:ft}=ye;return lt||(0,A.zn)(ft)}const _=(ye,lt)=>{var{defaultExpandAll:ft,defaultExpandParent:pt,defaultExpandedKeys:he}=ye,We=ce(ye,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const jt=I.useRef(null),ze=I.useRef(null),Be=()=>{const{keyEntities:ht}=(0,A.I8)(H(We));let Ot;return ft?Ot=Object.keys(ht):pt?Ot=(0,Z.r7)(We.expandedKeys||he||[],ht):Ot=We.expandedKeys||he||[],Ot},[P,ct]=I.useState(We.selectedKeys||We.defaultSelectedKeys||[]),[Se,fe]=I.useState(()=>Be());I.useEffect(()=>{"selectedKeys"in We&&ct(We.selectedKeys)},[We.selectedKeys]),I.useEffect(()=>{"expandedKeys"in We&&fe(We.expandedKeys)},[We.expandedKeys]);const ue=(ht,Ot)=>{var Tt;return"expandedKeys"in We||fe(ht),(Tt=We.onExpand)===null||Tt===void 0?void 0:Tt.call(We,ht,Ot)},ge=(ht,Ot)=>{var Tt;const{multiple:Ut,fieldNames:St}=We,{node:gr,nativeEvent:lr}=Ot,{key:Cr=""}=gr,rn=H(We),Er=Object.assign(Object.assign({},Ot),{selected:!0}),S=(lr==null?void 0:lr.ctrlKey)||(lr==null?void 0:lr.metaKey),N=lr==null?void 0:lr.shiftKey;let er;Ut&&S?(er=ht,jt.current=Cr,ze.current=er,Er.selectedNodes=st(rn,er,St)):Ut&&N?(er=Array.from(new Set([].concat((0,qe.Z)(ze.current||[]),(0,qe.Z)(E({treeData:rn,expandedKeys:Se,startKey:Cr,endKey:jt.current,fieldNames:St}))))),Er.selectedNodes=st(rn,er,St)):(er=[Cr],jt.current=Cr,ze.current=er,Er.selectedNodes=st(rn,er,St)),(Tt=We.onSelect)===null||Tt===void 0||Tt.call(We,er,Er),"selectedKeys"in We||ct(er)},{getPrefixCls:$e,direction:we}=I.useContext($.E_),{prefixCls:Re,className:Je,showIcon:wt=!0,expandAction:At="click"}=We,ar=ce(We,["prefixCls","className","showIcon","expandAction"]),qt=$e("tree",Re),Nt=R()(`${qt}-directory`,{[`${qt}-directory-rtl`]:we==="rtl"},Je);return I.createElement(Ce,Object.assign({icon:le,ref:lt,blockNode:!0},ar,{showIcon:wt,expandAction:At,prefixCls:qt,className:Nt,expandedKeys:Se,selectedKeys:P,onSelect:ge,onExpand:ue}))};var T=I.forwardRef(_);const ne=Ce;ne.DirectoryTree=T,ne.TreeNode=s.OF;var Fe=ne},12425:function(en,Jt,o){"use strict";o.d(Jt,{ZP:function(){return Z},Yk:function(){return W},TM:function(){return G}});var s=o(36237),qe=o(36170),I=o(63356),He=o(34961),te=o(51636),q=o(16931);const Q=A=>{let{treeCls:$,treeNodeCls:w,directoryNodeSelectedBg:j,directoryNodeSelectedColor:de,motionDurationMid:X,borderRadius:J,controlItemBgHover:Ne}=A;return{[`${$}${$}-directory ${w}`]:{[`${$}-node-content-wrapper`]:{position:"static",[`> *:not(${$}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${X}`,content:'""',borderRadius:J},"&:hover:before":{background:Ne}},[`${$}-switcher, ${$}-checkbox, ${$}-draggable-icon`]:{zIndex:1},"&-selected":{[`${$}-switcher, ${$}-draggable-icon`]:{color:de},[`${$}-node-content-wrapper`]:{color:de,background:"transparent","&:before, &:hover:before":{background:j}}}}}},y=new s.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),U=(A,$)=>({[`.${A}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${$.motionDurationSlow}`}}}),l=(A,$)=>({[`.${A}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:$.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,s.unit)($.lineWidthBold)} solid ${$.colorPrimary}`,borderRadius:"50%",content:'""'}}}),L=(A,$)=>{const{treeCls:w,treeNodeCls:j,treeNodePadding:de,titleHeight:X,indentSize:J,nodeSelectedBg:Ne,nodeHoverBg:Le,colorTextQuaternary:et,controlItemBgActiveDisabled:Ue}=$;return{[w]:Object.assign(Object.assign({},(0,I.Wf)($)),{background:$.colorBgContainer,borderRadius:$.borderRadius,transition:`background-color ${$.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${w}-rtl ${w}-switcher_close ${w}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${w}-active-focused)`]:Object.assign({},(0,I.oN)($)),[`${w}-list-holder-inner`]:{alignItems:"flex-start"},[`&${w}-block-node`]:{[`${w}-list-holder-inner`]:{alignItems:"stretch",[`${w}-node-content-wrapper`]:{flex:"auto"},[`${j}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${$.colorPrimary}`,opacity:0,animationName:y,animationDuration:$.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:$.borderRadius}}},[j]:{display:"flex",alignItems:"flex-start",marginBottom:de,lineHeight:(0,s.unit)(X),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:de},[`&-disabled ${w}-node-content-wrapper`]:{color:$.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${w}-checkbox-disabled + ${w}-node-selected,&${j}-disabled${j}-selected ${w}-node-content-wrapper`]:{backgroundColor:Ue},[`${w}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${j}-disabled)`]:{[`${w}-node-content-wrapper`]:{"&:hover":{color:$.nodeHoverColor}}},[`&-active ${w}-node-content-wrapper`]:{background:$.controlItemBgHover},[`&:not(${j}-disabled).filter-node ${w}-title`]:{color:$.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${w}-draggable-icon`]:{flexShrink:0,width:X,textAlign:"center",visibility:"visible",color:et},[`&${j}-disabled ${w}-draggable-icon`]:{visibility:"hidden"}}},[`${w}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:J}},[`${w}-draggable-icon`]:{visibility:"hidden"},[`${w}-switcher, ${w}-checkbox`]:{marginInlineEnd:$.calc($.calc(X).sub($.controlInteractiveSize)).div(2).equal()},[`${w}-switcher`]:Object.assign(Object.assign({},U(A,$)),{position:"relative",flex:"none",alignSelf:"stretch",width:X,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${$.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:X,height:X,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:$.borderRadius,transition:`all ${$.motionDurationSlow}`},[`&:not(${w}-switcher-noop):hover:before`]:{backgroundColor:$.colorBgTextHover},[`&_close ${w}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:$.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:$.calc(X).div(2).equal(),bottom:$.calc(de).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${$.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:$.calc($.calc(X).div(2).equal()).mul(.8).equal(),height:$.calc(X).div(2).equal(),borderBottom:`1px solid ${$.colorBorder}`,content:'""'}}}),[`${w}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:X,paddingBlock:0,paddingInline:$.paddingXS,background:"transparent",borderRadius:$.borderRadius,cursor:"pointer",transition:`all ${$.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},l(A,$)),{"&:hover":{backgroundColor:Le},[`&${w}-node-selected`]:{color:$.nodeSelectedColor,backgroundColor:Ne},[`${w}-iconEle`]:{display:"inline-block",width:X,height:X,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${w}-unselectable ${w}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${j}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${$.colorPrimary}`},"&-show-line":{[`${w}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:$.calc(X).div(2).equal(),bottom:$.calc(de).mul(-1).equal(),borderInlineEnd:`1px solid ${$.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${w}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${j}-leaf-last ${w}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,s.unit)($.calc(X).div(2).equal())} !important`}})}},W=function(A,$){let w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const j=`.${A}`,de=`${j}-treenode`,X=$.calc($.paddingXS).div(2).equal(),J=(0,te.mergeToken)($,{treeCls:j,treeNodeCls:de,treeNodePadding:X});return[L(A,J),w&&Q(J)].filter(Boolean)},G=A=>{const{controlHeightSM:$,controlItemBgHover:w,controlItemBgActive:j}=A,de=$;return{titleHeight:de,indentSize:de,nodeHoverBg:w,nodeHoverColor:A.colorText,nodeSelectedBg:j,nodeSelectedColor:A.colorText}},R=A=>{const{colorTextLightSolid:$,colorPrimary:w}=A;return Object.assign(Object.assign({},G(A)),{directoryNodeSelectedColor:$,directoryNodeSelectedBg:w})};var Z=(0,q.I$)("Tree",(A,$)=>{let{prefixCls:w}=$;return[{[A.componentCls]:(0,qe.C2)(`${w}-checkbox`,A)},W(w,A),(0,He.Z)(A)]},R)},85278:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return $}});var s=o(59301),qe=o(67711),I={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"},He=I,te=o(7657),q=function(j,de){return s.createElement(te.Z,(0,qe.Z)({},j,{ref:de,icon:He}))},Q=s.forwardRef(q),y=Q,U=o(52671),l=o(58617),L=o(15075),W=o(43531),G=o(92310),R=o.n(G),Z=o(22703),$=w=>{const{prefixCls:j,switcherIcon:de,treeNodeProps:X,showLine:J,switcherLoadingIcon:Ne}=w,{isLeaf:Le,expanded:et,loading:Ue}=X;if(Ue)return s.isValidElement(Ne)?Ne:s.createElement(l.Z,{className:`${j}-switcher-loading-icon`});let Ce;if(J&&typeof J=="object"&&(Ce=J.showLeafIcon),Le){if(!J)return null;if(typeof Ce!="boolean"&&Ce){const xe=typeof Ce=="function"?Ce(X):Ce,M=`${j}-switcher-line-custom-icon`;return s.isValidElement(xe)?(0,Z.Tm)(xe,{className:R()(xe.props.className||"",M)}):xe}return Ce?s.createElement(U.Z,{className:`${j}-switcher-line-icon`}):s.createElement("span",{className:`${j}-switcher-leaf-line`})}const Oe=`${j}-switcher-icon`,Y=typeof de=="function"?de(X):de;return s.isValidElement(Y)?(0,Z.Tm)(Y,{className:R()(Y.props.className||"",Oe)}):Y!==void 0?Y:J?et?s.createElement(L.Z,{className:`${j}-switcher-line-icon`}):s.createElement(W.Z,{className:`${j}-switcher-line-icon`}):s.createElement(y,{className:Oe})}},530:function(en,Jt,o){"use strict";o.d(Jt,{default:function(){return _n}});var s=o(59301),qe=o(67711),I={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"},He=I,te=o(7657),q=function(fr,tt){return s.createElement(te.Z,(0,qe.Z)({},fr,{ref:tt,icon:He}))},Q=s.forwardRef(q),y=Q,U=o(92310),l=o.n(U),L=o(29301),W=o(11592),G=o(34280),R=o(18929),Z=o(2738),A=o(8654),$=o(24514),w=o(48755),j=o(9017),de=o(25399),X={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"},J=X,Ne=function(fr,tt){return s.createElement(te.Z,(0,qe.Z)({},fr,{ref:tt,icon:J}))},Le=s.forwardRef(Ne),et=Le,Ue=o(10228),Ce=o(22703),Oe=o(79809),Y=o(63356),xe=o(16931),M=o(68361),E=o(36237);const st=(pe,fr,tt,Or)=>{const{titleMarginBottom:Kr,fontWeightStrong:xn}=Or;return{marginBottom:Kr,color:tt,fontWeight:xn,fontSize:pe,lineHeight:fr}},ce=pe=>{const fr=[1,2,3,4,5],tt={};return fr.forEach(Or=>{tt[`
h${Or}&,
div&-h${Or},
div&-h${Or} > textarea,
h${Or}
`]=st(pe[`fontSizeHeading${Or}`],pe[`lineHeightHeading${Or}`],pe.colorTextHeading,pe)}),tt},le=pe=>{const{componentCls:fr}=pe;return{"a&, a":Object.assign(Object.assign({},(0,Y.Nd)(pe)),{userSelect:"text",[`&[disabled], &${fr}-disabled`]:{color:pe.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:pe.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},H=pe=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:pe.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:pe.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:M.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:pe.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}}),_=pe=>{const{componentCls:fr,paddingSM:tt}=pe,Or=tt;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:pe.calc(pe.paddingSM).mul(-1).equal(),marginTop:pe.calc(Or).mul(-1).equal(),marginBottom:`calc(1em - ${(0,E.unit)(Or)})`},[`${fr}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:pe.calc(pe.marginXS).add(2).equal(),insetBlockEnd:pe.marginXS,color:pe.colorTextDescription,fontWeight:"normal",fontSize:pe.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},re=pe=>({[`${pe.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:pe.colorSuccess}},[`${pe.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),T=()=>({"\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"}}),ne=pe=>{const{componentCls:fr,titleMarginTop:tt}=pe;return{[fr]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:pe.colorText,wordBreak:"break-word",lineHeight:pe.lineHeight,[`&${fr}-secondary`]:{color:pe.colorTextDescription},[`&${fr}-success`]:{color:pe.colorSuccessText},[`&${fr}-warning`]:{color:pe.colorWarningText},[`&${fr}-danger`]:{color:pe.colorErrorText,"a&:active, a&:focus":{color:pe.colorErrorTextActive},"a&:hover":{color:pe.colorErrorTextHover}},[`&${fr}-disabled`]:{color:pe.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},ce(pe)),{[`
& + h1${fr},
& + h2${fr},
& + h3${fr},
& + h4${fr},
& + h5${fr}
`]:{marginTop:tt},"\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:tt}}}),H(pe)),le(pe)),{[`
${fr}-expand,
${fr}-collapse,
${fr}-edit,
${fr}-copy
`]:Object.assign(Object.assign({},(0,Y.Nd)(pe)),{marginInlineStart:pe.marginXXS})}),_(pe)),re(pe)),T()),{"&-rtl":{direction:"rtl"}})}},Fe=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"});var ye=(0,xe.I$)("Typography",pe=>[ne(pe)],Fe),ft=pe=>{const{prefixCls:fr,"aria-label":tt,className:Or,style:Kr,direction:xn,maxLength:kn,autoSize:xt=!0,value:tr,onSave:or,onCancel:ir,onEnd:Pr,component:tn,enterIcon:Hr=s.createElement(et,null)}=pe,Lr=s.useRef(null),ln=s.useRef(!1),pn=s.useRef(null),[En,Dn]=s.useState(tr);s.useEffect(()=>{Dn(tr)},[tr]),s.useEffect(()=>{var u;if(!((u=Lr.current)===null||u===void 0)&&u.resizableTextArea){const{textArea:d}=Lr.current.resizableTextArea;d.focus();const{length:v}=d.value;d.setSelectionRange(v,v)}},[]);const $n=u=>{let{target:d}=u;Dn(d.value.replace(/[\n\r]/g,""))},Pn=()=>{ln.current=!0},Xn=()=>{ln.current=!1},dn=u=>{let{keyCode:d}=u;ln.current||(pn.current=d)},In=()=>{or(En.trim())},Gn=u=>{let{keyCode:d,ctrlKey:v,altKey:O,metaKey:b,shiftKey:z}=u;pn.current!==d||ln.current||v||O||b||z||(d===Ue.Z.ENTER?(In(),Pr==null||Pr()):d===Ue.Z.ESC&&ir())},ea=()=>{In()},[Nn,Yn,Un]=ye(fr),g=l()(fr,`${fr}-edit-content`,{[`${fr}-rtl`]:xn==="rtl",[`${fr}-${tn}`]:!!tn},Or,Yn,Un);return Nn(s.createElement("div",{className:g,style:Kr},s.createElement(Oe.Z,{ref:Lr,maxLength:kn,value:En,onChange:$n,onKeyDown:dn,onKeyUp:Gn,onCompositionStart:Pn,onCompositionEnd:Xn,onBlur:ea,"aria-label":tt,rows:1,autoSize:xt}),Hr!==null?(0,Ce.Tm)(Hr,{className:`${fr}-edit-content-confirm`}):null))},pt=o(25769),he=o.n(pt),We=o(6089),ze=function(pe){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&pe==null?[]:Array.isArray(pe)?pe:[pe]},Be=function(pe,fr,tt,Or){function Kr(xn){return xn instanceof tt?xn:new tt(function(kn){kn(xn)})}return new(tt||(tt=Promise))(function(xn,kn){function xt(ir){try{or(Or.next(ir))}catch(Pr){kn(Pr)}}function tr(ir){try{or(Or.throw(ir))}catch(Pr){kn(Pr)}}function or(ir){ir.done?xn(ir.value):Kr(ir.value).then(xt,tr)}or((Or=Or.apply(pe,fr||[])).next())})},ct=pe=>{let{copyConfig:fr,children:tt}=pe;const[Or,Kr]=s.useState(!1),[xn,kn]=s.useState(!1),xt=s.useRef(null),tr=()=>{xt.current&&clearTimeout(xt.current)},or={};fr.format&&(or.format=fr.format),s.useEffect(()=>tr,[]);const ir=(0,We.Z)(Pr=>Be(void 0,void 0,void 0,function*(){var tn;Pr==null||Pr.preventDefault(),Pr==null||Pr.stopPropagation(),kn(!0);try{const Hr=typeof fr.text=="function"?yield fr.text():fr.text;he()(Hr||ze(tt,!0).join("")||"",or),kn(!1),Kr(!0),tr(),xt.current=setTimeout(()=>{Kr(!1)},3e3),(tn=fr.onCopy)===null||tn===void 0||tn.call(fr,Pr)}catch(Hr){throw kn(!1),Hr}}));return{copied:Or,copyLoading:xn,onClick:ir}};function Se(pe,fr){return s.useMemo(()=>{const tt=!!pe;return[tt,Object.assign(Object.assign({},fr),tt&&typeof pe=="object"?pe:null)]},[pe])}var ue=pe=>{const fr=(0,s.useRef)(void 0);return(0,s.useEffect)(()=>{fr.current=pe}),fr.current},$e=(pe,fr,tt)=>(0,s.useMemo)(()=>pe===!0?{title:fr!=null?fr:tt}:(0,s.isValidElement)(pe)?{title:pe}:typeof pe=="object"?Object.assign({title:fr!=null?fr:tt},pe):{title:pe},[pe,fr,tt]),we=function(pe,fr){var tt={};for(var Or in pe)Object.prototype.hasOwnProperty.call(pe,Or)&&fr.indexOf(Or)<0&&(tt[Or]=pe[Or]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kr=0,Or=Object.getOwnPropertySymbols(pe);Kr<Or.length;Kr++)fr.indexOf(Or[Kr])<0&&Object.prototype.propertyIsEnumerable.call(pe,Or[Kr])&&(tt[Or[Kr]]=pe[Or[Kr]]);return tt},Je=s.forwardRef((pe,fr)=>{const{prefixCls:tt,component:Or="article",className:Kr,rootClassName:xn,setContentRef:kn,children:xt,direction:tr,style:or}=pe,ir=we(pe,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:Pr,direction:tn,className:Hr,style:Lr}=(0,w.dj)("typography"),ln=tr!=null?tr:tn,pn=kn?(0,A.sQ)(fr,kn):fr,En=Pr("typography",tt),[Dn,$n,Pn]=ye(En),Xn=l()(En,Hr,{[`${En}-rtl`]:ln==="rtl"},Kr,xn,$n,Pn),dn=Object.assign(Object.assign({},Lr),or);return Dn(s.createElement(Or,Object.assign({className:Xn,style:dn,ref:pn},ir),xt))}),wt=o(40001),At=o(81953),ar=o(58617);function qt(pe){return pe===!1?[!1,!1]:Array.isArray(pe)?pe:[pe]}function Nt(pe,fr,tt){return pe===!0||pe===void 0?fr:pe||tt&&fr}function ht(pe){const fr=document.createElement("em");pe.appendChild(fr);const tt=pe.getBoundingClientRect(),Or=fr.getBoundingClientRect();return pe.removeChild(fr),tt.left>Or.left||Or.right>tt.right||tt.top>Or.top||Or.bottom>tt.bottom}const Ot=pe=>["string","number"].includes(typeof pe);var Ut=pe=>{let{prefixCls:fr,copied:tt,locale:Or,iconOnly:Kr,tooltips:xn,icon:kn,tabIndex:xt,onCopy:tr,loading:or}=pe;const ir=qt(xn),Pr=qt(kn),{copied:tn,copy:Hr}=Or!=null?Or:{},Lr=tt?tn:Hr,ln=Nt(ir[tt?1:0],Lr),pn=typeof ln=="string"?ln:Lr;return s.createElement(de.Z,{title:ln},s.createElement("button",{type:"button",className:l()(`${fr}-copy`,{[`${fr}-copy-success`]:tt,[`${fr}-copy-icon-only`]:Kr}),onClick:tr,"aria-label":pn,tabIndex:xt},tt?Nt(Pr[1],s.createElement(wt.Z,null),!0):Nt(Pr[0],or?s.createElement(ar.Z,null):s.createElement(At.Z,null),!0)))},St=o(15142);const gr=s.forwardRef((pe,fr)=>{let{style:tt,children:Or}=pe;const Kr=s.useRef(null);return s.useImperativeHandle(fr,()=>({isExceed:()=>{const xn=Kr.current;return xn.scrollHeight>xn.clientHeight},getHeight:()=>Kr.current.clientHeight})),s.createElement("span",{"aria-hidden":!0,ref:Kr,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},tt)},Or)}),lr=pe=>pe.reduce((fr,tt)=>fr+(Ot(tt)?String(tt).length:1),0);function Cr(pe,fr){let tt=0;const Or=[];for(let Kr=0;Kr<pe.length;Kr+=1){if(tt===fr)return Or;const xn=pe[Kr],xt=Ot(xn)?String(xn).length:1,tr=tt+xt;if(tr>fr){const or=fr-tt;return Or.push(String(xn).slice(0,or)),Or}Or.push(xn),tt=tr}return pe}const rn=0,Er=1,S=2,N=3,er=4,se={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function ke(pe){const{enableMeasure:fr,width:tt,text:Or,children:Kr,rows:xn,expanded:kn,miscDeps:xt,onEllipsis:tr}=pe,or=s.useMemo(()=>(0,W.Z)(Or),[Or]),ir=s.useMemo(()=>lr(or),[Or]),Pr=s.useMemo(()=>Kr(or,!1),[Or]),[tn,Hr]=s.useState(null),Lr=s.useRef(null),ln=s.useRef(null),pn=s.useRef(null),En=s.useRef(null),Dn=s.useRef(null),[$n,Pn]=s.useState(!1),[Xn,dn]=s.useState(rn),[In,Gn]=s.useState(0),[ea,Nn]=s.useState(null);(0,G.Z)(()=>{dn(fr&&tt&&ir?Er:rn)},[tt,Or,xn,fr,or]),(0,G.Z)(()=>{var u,d,v,O;if(Xn===Er){dn(S);const b=ln.current&&getComputedStyle(ln.current).whiteSpace;Nn(b)}else if(Xn===S){const b=!!(!((u=pn.current)===null||u===void 0)&&u.isExceed());dn(b?N:er),Hr(b?[0,ir]:null),Pn(b);const z=((d=pn.current)===null||d===void 0?void 0:d.getHeight())||0,V=xn===1?0:((v=En.current)===null||v===void 0?void 0:v.getHeight())||0,ee=((O=Dn.current)===null||O===void 0?void 0:O.getHeight())||0,Ee=Math.max(z,V+ee);Gn(Ee+1),tr(b)}},[Xn]);const Yn=tn?Math.ceil((tn[0]+tn[1])/2):0;(0,G.Z)(()=>{var u;const[d,v]=tn||[0,0];if(d!==v){const b=(((u=Lr.current)===null||u===void 0?void 0:u.getHeight())||0)>In;let z=Yn;v-d===1&&(z=b?d:v),Hr(b?[d,z]:[z,v])}},[tn,Yn]);const Un=s.useMemo(()=>{if(!fr)return Kr(or,!1);if(Xn!==N||!tn||tn[0]!==tn[1]){const u=Kr(or,!1);return[er,rn].includes(Xn)?u:s.createElement("span",{style:Object.assign(Object.assign({},se),{WebkitLineClamp:xn})},u)}return Kr(kn?or:Cr(or,tn[0]),$n)},[kn,Xn,tn,or].concat((0,St.Z)(xt))),g={width:tt,margin:0,padding:0,whiteSpace:ea==="nowrap"?"normal":"inherit"};return s.createElement(s.Fragment,null,Un,Xn===S&&s.createElement(s.Fragment,null,s.createElement(gr,{style:Object.assign(Object.assign(Object.assign({},g),se),{WebkitLineClamp:xn}),ref:pn},Pr),s.createElement(gr,{style:Object.assign(Object.assign(Object.assign({},g),se),{WebkitLineClamp:xn-1}),ref:En},Pr),s.createElement(gr,{style:Object.assign(Object.assign(Object.assign({},g),se),{WebkitLineClamp:1}),ref:Dn},Kr([],!0))),Xn===N&&tn&&tn[0]!==tn[1]&&s.createElement(gr,{style:Object.assign(Object.assign({},g),{top:400}),ref:Lr},Kr(Cr(or,Yn),!0)),Xn===Er&&s.createElement("span",{style:{whiteSpace:"inherit"},ref:ln}))}var Ir=pe=>{let{enableEllipsis:fr,isEllipsis:tt,children:Or,tooltipProps:Kr}=pe;return!(Kr!=null&&Kr.title)||!fr?Or:s.createElement(de.Z,Object.assign({open:tt?void 0:!1},Kr),Or)},yn=function(pe,fr){var tt={};for(var Or in pe)Object.prototype.hasOwnProperty.call(pe,Or)&&fr.indexOf(Or)<0&&(tt[Or]=pe[Or]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kr=0,Or=Object.getOwnPropertySymbols(pe);Kr<Or.length;Kr++)fr.indexOf(Or[Kr])<0&&Object.prototype.propertyIsEnumerable.call(pe,Or[Kr])&&(tt[Or[Kr]]=pe[Or[Kr]]);return tt};function Bn(pe,fr){let{mark:tt,code:Or,underline:Kr,delete:xn,strong:kn,keyboard:xt,italic:tr}=pe,or=fr;function ir(Pr,tn){tn&&(or=s.createElement(Pr,{},or))}return ir("strong",kn),ir("u",Kr),ir("del",xn),ir("code",Or),ir("mark",tt),ir("kbd",xt),ir("i",tr),or}const zt="...";var vr=s.forwardRef((pe,fr)=>{var tt;const{prefixCls:Or,className:Kr,style:xn,type:kn,disabled:xt,children:tr,ellipsis:or,editable:ir,copyable:Pr,component:tn,title:Hr}=pe,Lr=yn(pe,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:ln,direction:pn}=s.useContext(w.E_),[En]=(0,j.Z)("Text"),Dn=s.useRef(null),$n=s.useRef(null),Pn=ln("typography",Or),Xn=(0,Z.Z)(Lr,["mark","code","delete","underline","strong","keyboard","italic"]),[dn,In]=Se(ir),[Gn,ea]=(0,R.Z)(!1,{value:In.editing}),{triggerType:Nn=["icon"]}=In,Yn=Lt=>{var Bt;Lt&&((Bt=In.onStart)===null||Bt===void 0||Bt.call(In)),ea(Lt)},Un=ue(Gn);(0,G.Z)(()=>{var Lt;!Gn&&Un&&((Lt=$n.current)===null||Lt===void 0||Lt.focus())},[Gn]);const g=Lt=>{Lt==null||Lt.preventDefault(),Yn(!0)},u=Lt=>{var Bt;(Bt=In.onChange)===null||Bt===void 0||Bt.call(In,Lt),Yn(!1)},d=()=>{var Lt;(Lt=In.onCancel)===null||Lt===void 0||Lt.call(In),Yn(!1)},[v,O]=Se(Pr),{copied:b,copyLoading:z,onClick:V}=ct({copyConfig:O,children:tr}),[ee,Ee]=s.useState(!1),[ot,Xe]=s.useState(!1),[gt,me]=s.useState(!1),[Ht,je]=s.useState(!1),[Pe,at]=s.useState(!0),[Ft,cr]=Se(or,{expandable:!1,symbol:Lt=>Lt?En==null?void 0:En.collapse:En==null?void 0:En.expand}),[Rr,Vr]=(0,R.Z)(cr.defaultExpanded||!1,{value:cr.expanded}),Mr=Ft&&(!Rr||cr.expandable==="collapsible"),{rows:wr=1}=cr,Zt=s.useMemo(()=>Mr&&(cr.suffix!==void 0||cr.onEllipsis||cr.expandable||dn||v),[Mr,cr,dn,v]);(0,G.Z)(()=>{Ft&&!Zt&&(Ee((0,$.G)("webkitLineClamp")),Xe((0,$.G)("textOverflow")))},[Zt,Ft]);const[_t,Br]=s.useState(Mr),dt=s.useMemo(()=>Zt?!1:wr===1?ot:ee,[Zt,ot,ee]);(0,G.Z)(()=>{Br(dt&&Mr)},[dt,Mr]);const ut=Mr&&(_t?Ht:gt),rr=Mr&&wr===1&&_t,Pt=Mr&&wr>1&&_t,Ve=(Lt,Bt)=>{var Qt;Vr(Bt.expanded),(Qt=cr.onExpand)===null||Qt===void 0||Qt.call(cr,Lt,Bt)},[ve,$t]=s.useState(0),Ct=Lt=>{let{offsetWidth:Bt}=Lt;$t(Bt)},Xt=Lt=>{var Bt;me(Lt),gt!==Lt&&((Bt=cr.onEllipsis)===null||Bt===void 0||Bt.call(cr,Lt))};s.useEffect(()=>{const Lt=Dn.current;if(Ft&&_t&&Lt){const Bt=ht(Lt);Ht!==Bt&&je(Bt)}},[Ft,_t,tr,Pt,Pe,ve]),s.useEffect(()=>{const Lt=Dn.current;if(typeof IntersectionObserver=="undefined"||!Lt||!_t||!Mr)return;const Bt=new IntersectionObserver(()=>{at(!!Lt.offsetParent)});return Bt.observe(Lt),()=>{Bt.disconnect()}},[_t,Mr]);const Gt=$e(cr.tooltip,In.text,tr),Sr=s.useMemo(()=>{if(!(!Ft||_t))return[In.text,tr,Hr,Gt.title].find(Ot)},[Ft,_t,Hr,Gt.title,ut]);if(Gn)return s.createElement(ft,{value:(tt=In.text)!==null&&tt!==void 0?tt:typeof tr=="string"?tr:"",onSave:u,onCancel:d,onEnd:In.onEnd,prefixCls:Pn,className:Kr,style:xn,direction:pn,component:tn,maxLength:In.maxLength,autoSize:In.autoSize,enterIcon:In.enterIcon});const be=()=>{const{expandable:Lt,symbol:Bt}=cr;return Lt?s.createElement("button",{type:"button",key:"expand",className:`${Pn}-${Rr?"collapse":"expand"}`,onClick:Qt=>Ve(Qt,{expanded:!Rr}),"aria-label":Rr?En.collapse:En==null?void 0:En.expand},typeof Bt=="function"?Bt(Rr):Bt):null},nt=()=>{if(!dn)return;const{icon:Lt,tooltip:Bt,tabIndex:Qt}=In,Ur=(0,W.Z)(Bt)[0]||(En==null?void 0:En.edit),Wt=typeof Ur=="string"?Ur:"";return Nn.includes("icon")?s.createElement(de.Z,{key:"edit",title:Bt===!1?"":Ur},s.createElement("button",{type:"button",ref:$n,className:`${Pn}-edit`,onClick:g,"aria-label":Wt,tabIndex:Qt},Lt||s.createElement(y,{role:"button"}))):null},rt=()=>v?s.createElement(Ut,Object.assign({key:"copy"},O,{prefixCls:Pn,copied:b,locale:En,onCopy:V,loading:z,iconOnly:tr==null})):null,kt=Lt=>[Lt&&be(),nt(),rt()],Yt=Lt=>[Lt&&!Rr&&s.createElement("span",{"aria-hidden":!0,key:"ellipsis"},zt),cr.suffix,kt(Lt)];return s.createElement(L.Z,{onResize:Ct,disabled:!Mr},Lt=>s.createElement(Ir,{tooltipProps:Gt,enableEllipsis:Mr,isEllipsis:ut},s.createElement(Je,Object.assign({className:l()({[`${Pn}-${kn}`]:kn,[`${Pn}-disabled`]:xt,[`${Pn}-ellipsis`]:Ft,[`${Pn}-ellipsis-single-line`]:rr,[`${Pn}-ellipsis-multiple-line`]:Pt},Kr),prefixCls:Or,style:Object.assign(Object.assign({},xn),{WebkitLineClamp:Pt?wr:void 0}),component:tn,ref:(0,A.sQ)(Lt,Dn,fr),direction:pn,onClick:Nn.includes("text")?g:void 0,"aria-label":Sr==null?void 0:Sr.toString(),title:Hr},Xn),s.createElement(ke,{enableMeasure:Mr&&!_t,text:tr,rows:wr,width:ve,onEllipsis:Xt,expanded:Rr,miscDeps:[b,Rr,z,dn,v,En]},(Bt,Qt)=>Bn(pe,s.createElement(s.Fragment,null,Bt.length>0&&Qt&&!Rr&&Sr?s.createElement("span",{key:"show-content","aria-hidden":!0},Bt):Bt,Yt(Qt)))))))}),Tr=function(pe,fr){var tt={};for(var Or in pe)Object.prototype.hasOwnProperty.call(pe,Or)&&fr.indexOf(Or)<0&&(tt[Or]=pe[Or]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kr=0,Or=Object.getOwnPropertySymbols(pe);Kr<Or.length;Kr++)fr.indexOf(Or[Kr])<0&&Object.prototype.propertyIsEnumerable.call(pe,Or[Kr])&&(tt[Or[Kr]]=pe[Or[Kr]]);return tt},F=s.forwardRef((pe,fr)=>{var{ellipsis:tt,rel:Or}=pe,Kr=Tr(pe,["ellipsis","rel"]);const xn=Object.assign(Object.assign({},Kr),{rel:Or===void 0&&Kr.target==="_blank"?"noopener noreferrer":Or});return delete xn.navigate,s.createElement(vr,Object.assign({},xn,{ref:fr,ellipsis:!!tt,component:"a"}))}),ae=s.forwardRef((pe,fr)=>s.createElement(vr,Object.assign({ref:fr},pe,{component:"div"}))),bt=function(pe,fr){var tt={};for(var Or in pe)Object.prototype.hasOwnProperty.call(pe,Or)&&fr.indexOf(Or)<0&&(tt[Or]=pe[Or]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kr=0,Or=Object.getOwnPropertySymbols(pe);Kr<Or.length;Kr++)fr.indexOf(Or[Kr])<0&&Object.prototype.propertyIsEnumerable.call(pe,Or[Kr])&&(tt[Or[Kr]]=pe[Or[Kr]]);return tt};const bn=(pe,fr)=>{var{ellipsis:tt}=pe,Or=bt(pe,["ellipsis"]);const Kr=s.useMemo(()=>tt&&typeof tt=="object"?(0,Z.Z)(tt,["expandable","rows"]):tt,[tt]);return s.createElement(vr,Object.assign({ref:fr},Or,{ellipsis:Kr,component:"span"}))};var yt=s.forwardRef(bn),Vt=function(pe,fr){var tt={};for(var Or in pe)Object.prototype.hasOwnProperty.call(pe,Or)&&fr.indexOf(Or)<0&&(tt[Or]=pe[Or]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kr=0,Or=Object.getOwnPropertySymbols(pe);Kr<Or.length;Kr++)fr.indexOf(Or[Kr])<0&&Object.prototype.propertyIsEnumerable.call(pe,Or[Kr])&&(tt[Or[Kr]]=pe[Or[Kr]]);return tt};const Wr=[1,2,3,4,5];var Qr=s.forwardRef((pe,fr)=>{const{level:tt=1}=pe,Or=Vt(pe,["level"]),Kr=Wr.includes(tt)?`h${tt}`:"h1";return s.createElement(vr,Object.assign({ref:fr},Or,{component:Kr}))});const vn=Je;vn.Text=yt,vn.Link=F,vn.Title=Qr,vn.Paragraph=ae;var _n=vn},14566:function(en,Jt,o){"use strict";o.d(Jt,{default:function(){return Bn}});var s=o(59301),qe=o(15142),I=o(4676),He=o(92310),te=o.n(He),q=o(90472),Q=o(18929),y=o(48755),U=o(2171),l=o(9017),L=o(85981),W=o(63356),G=o(34961),R=o(16931),Z=o(51636),A=o(36237),w=zt=>{const{componentCls:yr,iconCls:vr}=zt;return{[`${yr}-wrapper`]:{[`${yr}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:zt.colorFillAlter,border:`${(0,A.unit)(zt.lineWidth)} dashed ${zt.colorBorder}`,borderRadius:zt.borderRadiusLG,cursor:"pointer",transition:`border-color ${zt.motionDurationSlow}`,[yr]:{padding:zt.padding},[`${yr}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:zt.borderRadiusLG,"&:focus-visible":{outline:`${(0,A.unit)(zt.lineWidthFocus)} solid ${zt.colorPrimaryBorder}`}},[`${yr}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`
&:not(${yr}-disabled):hover,
&-hover:not(${yr}-disabled)
`]:{borderColor:zt.colorPrimaryHover},[`p${yr}-drag-icon`]:{marginBottom:zt.margin,[vr]:{color:zt.colorPrimary,fontSize:zt.uploadThumbnailSize}},[`p${yr}-text`]:{margin:`0 0 ${(0,A.unit)(zt.marginXXS)}`,color:zt.colorTextHeading,fontSize:zt.fontSizeLG},[`p${yr}-hint`]:{color:zt.colorTextDescription,fontSize:zt.fontSize},[`&${yr}-disabled`]:{[`p${yr}-drag-icon ${vr},
p${yr}-text,
p${yr}-hint
`]:{color:zt.colorTextDisabled}}}}}},de=zt=>{const{componentCls:yr,iconCls:vr,fontSize:Tr,lineHeight:f,calc:F}=zt,Ae=`${yr}-list-item`,ae=`${Ae}-actions`,bt=`${Ae}-action`;return{[`${yr}-wrapper`]:{[`${yr}-list`]:Object.assign(Object.assign({},(0,W.dF)()),{lineHeight:zt.lineHeight,[Ae]:{position:"relative",height:F(zt.lineHeight).mul(Tr).equal(),marginTop:zt.marginXS,fontSize:Tr,display:"flex",alignItems:"center",transition:`background-color ${zt.motionDurationSlow}`,borderRadius:zt.borderRadiusSM,"&:hover":{backgroundColor:zt.controlItemBgHover},[`${Ae}-name`]:Object.assign(Object.assign({},W.vS),{padding:`0 ${(0,A.unit)(zt.paddingXS)}`,lineHeight:f,flex:"auto",transition:`all ${zt.motionDurationSlow}`}),[ae]:{whiteSpace:"nowrap",[bt]:{opacity:0},[vr]:{color:zt.actionsColor,transition:`all ${zt.motionDurationSlow}`},[`
${bt}:focus-visible,
&.picture ${bt}
`]:{opacity:1}},[`${yr}-icon ${vr}`]:{color:zt.colorTextDescription,fontSize:Tr},[`${Ae}-progress`]:{position:"absolute",bottom:zt.calc(zt.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:F(Tr).add(zt.paddingXS).equal(),fontSize:Tr,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Ae}:hover ${bt}`]:{opacity:1},[`${Ae}-error`]:{color:zt.colorError,[`${Ae}-name, ${yr}-icon ${vr}`]:{color:zt.colorError},[ae]:{[`${vr}, ${vr}:hover`]:{color:zt.colorError},[bt]:{opacity:1}}},[`${yr}-list-item-container`]:{transition:`opacity ${zt.motionDurationSlow}, height ${zt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},X=o(99495),Ne=zt=>{const{componentCls:yr}=zt,vr=new A.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:zt.calc(zt.marginXS).div(-2).equal()}}),Tr=new A.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:zt.calc(zt.marginXS).div(-2).equal()}}),f=`${yr}-animate-inline`;return[{[`${yr}-wrapper`]:{[`${f}-appear, ${f}-enter, ${f}-leave`]:{animationDuration:zt.motionDurationSlow,animationTimingFunction:zt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${f}-appear, ${f}-enter`]:{animationName:vr},[`${f}-leave`]:{animationName:Tr}}},{[`${yr}-wrapper`]:(0,X.J$)(zt)},vr,Tr]},Le=o(68361);const et=zt=>{const{componentCls:yr,iconCls:vr,uploadThumbnailSize:Tr,uploadProgressOffset:f,calc:F}=zt,Ae=`${yr}-list`,ae=`${Ae}-item`;return{[`${yr}-wrapper`]:{[`
${Ae}${Ae}-picture,
${Ae}${Ae}-picture-card,
${Ae}${Ae}-picture-circle
`]:{[ae]:{position:"relative",height:F(Tr).add(F(zt.lineWidth).mul(2)).add(F(zt.paddingXS).mul(2)).equal(),padding:zt.paddingXS,border:`${(0,A.unit)(zt.lineWidth)} ${zt.lineType} ${zt.colorBorder}`,borderRadius:zt.borderRadiusLG,"&:hover":{background:"transparent"},[`${ae}-thumbnail`]:Object.assign(Object.assign({},W.vS),{width:Tr,height:Tr,lineHeight:(0,A.unit)(F(Tr).add(zt.paddingSM).equal()),textAlign:"center",flex:"none",[vr]:{fontSize:zt.fontSizeHeading2,color:zt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${ae}-progress`]:{bottom:f,width:`calc(100% - ${(0,A.unit)(F(zt.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:F(Tr).add(zt.paddingXS).equal()}},[`${ae}-error`]:{borderColor:zt.colorError,[`${ae}-thumbnail ${vr}`]:{[`svg path[fill='${Le.blue[0]}']`]:{fill:zt.colorErrorBg},[`svg path[fill='${Le.blue.primary}']`]:{fill:zt.colorError}}},[`${ae}-uploading`]:{borderStyle:"dashed",[`${ae}-name`]:{marginBottom:f}}},[`${Ae}${Ae}-picture-circle ${ae}`]:{[`&, &::before, ${ae}-thumbnail`]:{borderRadius:"50%"}}}}},Ue=zt=>{const{componentCls:yr,iconCls:vr,fontSizeLG:Tr,colorTextLightSolid:f,calc:F}=zt,Ae=`${yr}-list`,ae=`${Ae}-item`,bt=zt.uploadPicCardSize;return{[`
${yr}-wrapper${yr}-picture-card-wrapper,
${yr}-wrapper${yr}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,W.dF)()),{display:"block",[`${yr}${yr}-select`]:{width:bt,height:bt,textAlign:"center",verticalAlign:"top",backgroundColor:zt.colorFillAlter,border:`${(0,A.unit)(zt.lineWidth)} dashed ${zt.colorBorder}`,borderRadius:zt.borderRadiusLG,cursor:"pointer",transition:`border-color ${zt.motionDurationSlow}`,[`> ${yr}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${yr}-disabled):hover`]:{borderColor:zt.colorPrimary}},[`${Ae}${Ae}-picture-card, ${Ae}${Ae}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:zt.marginXS,marginInlineEnd:zt.marginXS}},"@supports (gap: 1px)":{gap:zt.marginXS},[`${Ae}-item-container`]:{display:"inline-block",width:bt,height:bt,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[ae]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,A.unit)(F(zt.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,A.unit)(F(zt.paddingXS).mul(2).equal())})`,backgroundColor:zt.colorBgMask,opacity:0,transition:`all ${zt.motionDurationSlow}`,content:'" "'}},[`${ae}:hover`]:{[`&::before, ${ae}-actions`]:{opacity:1}},[`${ae}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${zt.motionDurationSlow}`,[`
${vr}-eye,
${vr}-download,
${vr}-delete
`]:{zIndex:10,width:Tr,margin:`0 ${(0,A.unit)(zt.marginXXS)}`,fontSize:Tr,cursor:"pointer",transition:`all ${zt.motionDurationSlow}`,color:f,"&:hover":{color:f},svg:{verticalAlign:"baseline"}}},[`${ae}-thumbnail, ${ae}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${ae}-name`]:{display:"none",textAlign:"center"},[`${ae}-file + ${ae}-name`]:{position:"absolute",bottom:zt.margin,display:"block",width:`calc(100% - ${(0,A.unit)(F(zt.paddingXS).mul(2).equal())})`},[`${ae}-uploading`]:{[`&${ae}`]:{backgroundColor:zt.colorFillAlter},[`&::before, ${vr}-eye, ${vr}-download, ${vr}-delete`]:{display:"none"}},[`${ae}-progress`]:{bottom:zt.marginXL,width:`calc(100% - ${(0,A.unit)(F(zt.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${yr}-wrapper${yr}-picture-circle-wrapper`]:{[`${yr}${yr}-select`]:{borderRadius:"50%"}}}};var Oe=zt=>{const{componentCls:yr}=zt;return{[`${yr}-rtl`]:{direction:"rtl"}}};const Y=zt=>{const{componentCls:yr,colorTextDisabled:vr}=zt;return{[`${yr}-wrapper`]:Object.assign(Object.assign({},(0,W.Wf)(zt)),{[yr]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${yr}-select`]:{display:"inline-block"},[`${yr}-hidden`]:{display:"none"},[`${yr}-disabled`]:{color:vr,cursor:"not-allowed"}})}},xe=zt=>({actionsColor:zt.colorTextDescription});var M=(0,R.I$)("Upload",zt=>{const{fontSizeHeading3:yr,fontHeight:vr,lineWidth:Tr,controlHeightLG:f,calc:F}=zt,Ae=(0,Z.mergeToken)(zt,{uploadThumbnailSize:F(yr).mul(2).equal(),uploadProgressOffset:F(F(vr).div(2)).add(Tr).equal(),uploadPicCardSize:F(f).mul(2.55).equal()});return[Y(Ae),w(Ae),et(Ae),Ue(Ae),de(Ae),Ne(Ae),Oe(Ae),(0,G.Z)(Ae)]},xe),E=o(67711),st={icon:function(yr,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:yr}}]}},name:"file",theme:"twotone"},ce=st,le=o(7657),H=function(yr,vr){return s.createElement(le.Z,(0,E.Z)({},yr,{ref:vr,icon:ce}))},_=s.forwardRef(H),re=_,T=o(58617),ne={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"},Fe=ne,ye=function(yr,vr){return s.createElement(le.Z,(0,E.Z)({},yr,{ref:vr,icon:Fe}))},lt=s.forwardRef(ye),ft=lt,pt={icon:function(yr,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:yr}},{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:yr}}]}},name:"picture",theme:"twotone"},he=pt,We=function(yr,vr){return s.createElement(le.Z,(0,E.Z)({},yr,{ref:vr,icon:he}))},jt=s.forwardRef(We),ze=jt,Be=o(77900),P=o(2738),ct=o(40192),Se=o(86641),fe=o(22703),ue=o(99571);function ge(zt){return Object.assign(Object.assign({},zt),{lastModified:zt.lastModified,lastModifiedDate:zt.lastModifiedDate,name:zt.name,size:zt.size,type:zt.type,uid:zt.uid,percent:0,originFileObj:zt})}function $e(zt,yr){const vr=(0,qe.Z)(yr),Tr=vr.findIndex(f=>{let{uid:F}=f;return F===zt.uid});return Tr===-1?vr.push(zt):vr[Tr]=zt,vr}function we(zt,yr){const vr=zt.uid!==void 0?"uid":"name";return yr.filter(Tr=>Tr[vr]===zt[vr])[0]}function Re(zt,yr){const vr=zt.uid!==void 0?"uid":"name",Tr=yr.filter(f=>f[vr]!==zt[vr]);return Tr.length===yr.length?null:Tr}const Je=function(){const yr=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Tr=yr[yr.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Tr)||[""])[0]},wt=zt=>zt.indexOf("image/")===0,At=zt=>{if(zt.type&&!zt.thumbUrl)return wt(zt.type);const yr=zt.thumbUrl||zt.url||"",vr=Je(yr);return/^data:image\//.test(yr)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(vr)?!0:!(/^data:/.test(yr)||vr)},ar=200;function qt(zt){return new Promise(yr=>{if(!zt.type||!wt(zt.type)){yr("");return}const vr=document.createElement("canvas");vr.width=ar,vr.height=ar,vr.style.cssText=`position: fixed; left: 0; top: 0; width: ${ar}px; height: ${ar}px; z-index: 9999; display: none;`,document.body.appendChild(vr);const Tr=vr.getContext("2d"),f=new Image;if(f.onload=()=>{const{width:F,height:Ae}=f;let ae=ar,bt=ar,bn=0,yt=0;F>Ae?(bt=Ae*(ar/F),yt=-(bt-ae)/2):(ae=F*(ar/Ae),bn=-(ae-bt)/2),Tr.drawImage(f,bn,yt,ae,bt);const Vt=vr.toDataURL();document.body.removeChild(vr),window.URL.revokeObjectURL(f.src),yr(Vt)},f.crossOrigin="anonymous",zt.type.startsWith("image/svg+xml")){const F=new FileReader;F.onload=()=>{F.result&&typeof F.result=="string"&&(f.src=F.result)},F.readAsDataURL(zt)}else if(zt.type.startsWith("image/gif")){const F=new FileReader;F.onload=()=>{F.result&&yr(F.result)},F.readAsDataURL(zt)}else f.src=window.URL.createObjectURL(zt)})}var Nt=o(26227),ht=o(41464),Ot=o(15277),Tt=o(60242),Ut=o(25399),gr=s.forwardRef((zt,yr)=>{let{prefixCls:vr,className:Tr,style:f,locale:F,listType:Ae,file:ae,items:bt,progress:bn,iconRender:yt,actionIconRender:Vt,itemRender:Wr,isImgUrl:Nr,showPreviewIcon:Qr,showRemoveIcon:vn,showDownloadIcon:_n,previewIcon:pe,removeIcon:fr,downloadIcon:tt,extra:Or,onPreview:Kr,onDownload:xn,onClose:kn}=zt;var xt,tr;const{status:or}=ae,[ir,Pr]=s.useState(or);s.useEffect(()=>{or!=="removed"&&Pr(or)},[or]);const[tn,Hr]=s.useState(!1);s.useEffect(()=>{const v=setTimeout(()=>{Hr(!0)},300);return()=>{clearTimeout(v)}},[]);const Lr=yt(ae);let ln=s.createElement("div",{className:`${vr}-icon`},Lr);if(Ae==="picture"||Ae==="picture-card"||Ae==="picture-circle")if(ir==="uploading"||!ae.thumbUrl&&!ae.url){const v=te()(`${vr}-list-item-thumbnail`,{[`${vr}-list-item-file`]:ir!=="uploading"});ln=s.createElement("div",{className:v},Lr)}else{const v=Nr!=null&&Nr(ae)?s.createElement("img",{src:ae.thumbUrl||ae.url,alt:ae.name,className:`${vr}-list-item-image`,crossOrigin:ae.crossOrigin}):Lr,O=te()(`${vr}-list-item-thumbnail`,{[`${vr}-list-item-file`]:Nr&&!Nr(ae)});ln=s.createElement("a",{className:O,onClick:b=>Kr(ae,b),href:ae.url||ae.thumbUrl,target:"_blank",rel:"noopener noreferrer"},v)}const pn=te()(`${vr}-list-item`,`${vr}-list-item-${ir}`),En=typeof ae.linkProps=="string"?JSON.parse(ae.linkProps):ae.linkProps,Dn=(typeof vn=="function"?vn(ae):vn)?Vt((typeof fr=="function"?fr(ae):fr)||s.createElement(Nt.Z,null),()=>kn(ae),vr,F.removeFile,!0):null,$n=(typeof _n=="function"?_n(ae):_n)&&ir==="done"?Vt((typeof tt=="function"?tt(ae):tt)||s.createElement(ht.Z,null),()=>xn(ae),vr,F.downloadFile):null,Pn=Ae!=="picture-card"&&Ae!=="picture-circle"&&s.createElement("span",{key:"download-delete",className:te()(`${vr}-list-item-actions`,{picture:Ae==="picture"})},$n,Dn),Xn=typeof Or=="function"?Or(ae):Or,dn=Xn&&s.createElement("span",{className:`${vr}-list-item-extra`},Xn),In=te()(`${vr}-list-item-name`),Gn=ae.url?s.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:In,title:ae.name},En,{href:ae.url,onClick:v=>Kr(ae,v)}),ae.name,dn):s.createElement("span",{key:"view",className:In,onClick:v=>Kr(ae,v),title:ae.name},ae.name,dn),ea=(typeof Qr=="function"?Qr(ae):Qr)&&(ae.url||ae.thumbUrl)?s.createElement("a",{href:ae.url||ae.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:v=>Kr(ae,v),title:F.previewFile},typeof pe=="function"?pe(ae):pe||s.createElement(Ot.Z,null)):null,Nn=(Ae==="picture-card"||Ae==="picture-circle")&&ir!=="uploading"&&s.createElement("span",{className:`${vr}-list-item-actions`},ea,ir==="done"&&$n,Dn),{getPrefixCls:Yn}=s.useContext(y.E_),Un=Yn(),g=s.createElement("div",{className:pn},ln,Gn,Pn,Nn,tn&&s.createElement(Be.default,{motionName:`${Un}-fade`,visible:ir==="uploading",motionDeadline:2e3},v=>{let{className:O}=v;const b="percent"in ae?s.createElement(Tt.Z,Object.assign({},bn,{type:"line",percent:ae.percent,"aria-label":ae["aria-label"],"aria-labelledby":ae["aria-labelledby"]})):null;return s.createElement("div",{className:te()(`${vr}-list-item-progress`,O)},b)})),u=ae.response&&typeof ae.response=="string"?ae.response:((xt=ae.error)===null||xt===void 0?void 0:xt.statusText)||((tr=ae.error)===null||tr===void 0?void 0:tr.message)||F.uploadError,d=ir==="error"?s.createElement(Ut.Z,{title:u,getPopupContainer:v=>v.parentNode},g):g;return s.createElement("div",{className:te()(`${vr}-list-item-container`,Tr),style:f,ref:yr},Wr?Wr(d,ae,bt,{download:xn.bind(null,ae),preview:Kr.bind(null,ae),remove:kn.bind(null,ae)}):d)});const lr=(zt,yr)=>{const{listType:vr="text",previewFile:Tr=qt,onPreview:f,onDownload:F,onRemove:Ae,locale:ae,iconRender:bt,isImageUrl:bn=At,prefixCls:yt,items:Vt=[],showPreviewIcon:Wr=!0,showRemoveIcon:Nr=!0,showDownloadIcon:Qr=!1,removeIcon:vn,previewIcon:_n,downloadIcon:pe,extra:fr,progress:tt={size:[-1,2],showInfo:!1},appendAction:Or,appendActionVisible:Kr=!0,itemRender:xn,disabled:kn}=zt,xt=(0,ct.Z)(),[tr,or]=s.useState(!1),ir=["picture-card","picture-circle"].includes(vr);s.useEffect(()=>{vr.startsWith("picture")&&(Vt||[]).forEach(dn=>{!(dn.originFileObj instanceof File||dn.originFileObj instanceof Blob)||dn.thumbUrl!==void 0||(dn.thumbUrl="",Tr==null||Tr(dn.originFileObj).then(In=>{dn.thumbUrl=In||"",xt()}))})},[vr,Vt,Tr]),s.useEffect(()=>{or(!0)},[]);const Pr=(dn,In)=>{if(f)return In==null||In.preventDefault(),f(dn)},tn=dn=>{typeof F=="function"?F(dn):dn.url&&window.open(dn.url)},Hr=dn=>{Ae==null||Ae(dn)},Lr=dn=>{if(bt)return bt(dn,vr);const In=dn.status==="uploading";if(vr.startsWith("picture")){const Gn=vr==="picture"?s.createElement(T.Z,null):ae.uploading,ea=bn!=null&&bn(dn)?s.createElement(ze,null):s.createElement(re,null);return In?Gn:ea}return In?s.createElement(T.Z,null):s.createElement(ft,null)},ln=(dn,In,Gn,ea,Nn)=>{const Yn={type:"text",size:"small",title:ea,onClick:Un=>{var g,u;In(),s.isValidElement(dn)&&((u=(g=dn.props).onClick)===null||u===void 0||u.call(g,Un))},className:`${Gn}-list-item-action`};return Nn&&(Yn.disabled=kn),s.isValidElement(dn)?s.createElement(ue.ZP,Object.assign({},Yn,{icon:(0,fe.Tm)(dn,Object.assign(Object.assign({},dn.props),{onClick:()=>{}}))})):s.createElement(ue.ZP,Object.assign({},Yn),s.createElement("span",null,dn))};s.useImperativeHandle(yr,()=>({handlePreview:Pr,handleDownload:tn}));const{getPrefixCls:pn}=s.useContext(y.E_),En=pn("upload",yt),Dn=pn(),$n=te()(`${En}-list`,`${En}-list-${vr}`),Pn=s.useMemo(()=>(0,P.Z)((0,Se.Z)(Dn),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[Dn]),Xn=Object.assign(Object.assign({},ir?{}:Pn),{motionDeadline:2e3,motionName:`${En}-${ir?"animate-inline":"animate"}`,keys:(0,qe.Z)(Vt.map(dn=>({key:dn.uid,file:dn}))),motionAppear:tr});return s.createElement("div",{className:$n},s.createElement(Be.CSSMotionList,Object.assign({},Xn,{component:!1}),dn=>{let{key:In,file:Gn,className:ea,style:Nn}=dn;return s.createElement(gr,{key:In,locale:ae,prefixCls:En,className:ea,style:Nn,file:Gn,items:Vt,progress:tt,listType:vr,isImgUrl:bn,showPreviewIcon:Wr,showRemoveIcon:Nr,showDownloadIcon:Qr,removeIcon:vn,previewIcon:_n,downloadIcon:pe,extra:fr,iconRender:Lr,actionIconRender:ln,itemRender:xn,onPreview:Pr,onDownload:tn,onClose:Hr})}),Or&&s.createElement(Be.default,Object.assign({},Xn,{visible:Kr,forceRender:!0}),dn=>{let{className:In,style:Gn}=dn;return(0,fe.Tm)(Or,ea=>({className:te()(ea.className,In),style:Object.assign(Object.assign(Object.assign({},Gn),{pointerEvents:In?"none":void 0}),ea.style)}))}))};var rn=s.forwardRef(lr),Er=function(zt,yr,vr,Tr){function f(F){return F instanceof vr?F:new vr(function(Ae){Ae(F)})}return new(vr||(vr=Promise))(function(F,Ae){function ae(yt){try{bn(Tr.next(yt))}catch(Vt){Ae(Vt)}}function bt(yt){try{bn(Tr.throw(yt))}catch(Vt){Ae(Vt)}}function bn(yt){yt.done?F(yt.value):f(yt.value).then(ae,bt)}bn((Tr=Tr.apply(zt,yr||[])).next())})};const S=`__LIST_IGNORE_${Date.now()}__`,N=(zt,yr)=>{const{fileList:vr,defaultFileList:Tr,onRemove:f,showUploadList:F=!0,listType:Ae="text",onPreview:ae,onDownload:bt,onChange:bn,onDrop:yt,previewFile:Vt,disabled:Wr,locale:Nr,iconRender:Qr,isImageUrl:vn,progress:_n,prefixCls:pe,className:fr,type:tt="select",children:Or,style:Kr,itemRender:xn,maxCount:kn,data:xt={},multiple:tr=!1,hasControlInside:or=!0,action:ir="",accept:Pr="",supportServerRender:tn=!0,rootClassName:Hr}=zt,Lr=s.useContext(U.Z),ln=Wr!=null?Wr:Lr,[pn,En]=(0,Q.Z)(Tr||[],{value:vr,postState:Zt=>Zt!=null?Zt:[]}),[Dn,$n]=s.useState("drop"),Pn=s.useRef(null),Xn=s.useRef(null);s.useMemo(()=>{const Zt=Date.now();(vr||[]).forEach((_t,Br)=>{!_t.uid&&!Object.isFrozen(_t)&&(_t.uid=`__AUTO__${Zt}_${Br}__`)})},[vr]);const dn=(Zt,_t,Br)=>{let dt=(0,qe.Z)(_t),ut=!1;kn===1?dt=dt.slice(-1):kn&&(ut=dt.length>kn,dt=dt.slice(0,kn)),(0,I.flushSync)(()=>{En(dt)});const rr={file:Zt,fileList:dt};Br&&(rr.event=Br),(!ut||Zt.status==="removed"||dt.some(Pt=>Pt.uid===Zt.uid))&&(0,I.flushSync)(()=>{bn==null||bn(rr)})},In=(Zt,_t)=>Er(void 0,void 0,void 0,function*(){const{beforeUpload:Br,transformFile:dt}=zt;let ut=Zt;if(Br){const rr=yield Br(Zt,_t);if(rr===!1)return!1;if(delete Zt[S],rr===S)return Object.defineProperty(Zt,S,{value:!0,configurable:!0}),!1;typeof rr=="object"&&rr&&(ut=rr)}return dt&&(ut=yield dt(ut)),ut}),Gn=Zt=>{const _t=Zt.filter(ut=>!ut.file[S]);if(!_t.length)return;const Br=_t.map(ut=>ge(ut.file));let dt=(0,qe.Z)(pn);Br.forEach(ut=>{dt=$e(ut,dt)}),Br.forEach((ut,rr)=>{let Pt=ut;if(_t[rr].parsedFile)ut.status="uploading";else{const{originFileObj:Ve}=ut;let ve;try{ve=new File([Ve],Ve.name,{type:Ve.type})}catch($t){ve=new Blob([Ve],{type:Ve.type}),ve.name=Ve.name,ve.lastModifiedDate=new Date,ve.lastModified=new Date().getTime()}ve.uid=ut.uid,Pt=ve}dn(Pt,dt)})},ea=(Zt,_t,Br)=>{try{typeof Zt=="string"&&(Zt=JSON.parse(Zt))}catch(rr){}if(!we(_t,pn))return;const dt=ge(_t);dt.status="done",dt.percent=100,dt.response=Zt,dt.xhr=Br;const ut=$e(dt,pn);dn(dt,ut)},Nn=(Zt,_t)=>{if(!we(_t,pn))return;const Br=ge(_t);Br.status="uploading",Br.percent=Zt.percent;const dt=$e(Br,pn);dn(Br,dt,Zt)},Yn=(Zt,_t,Br)=>{if(!we(Br,pn))return;const dt=ge(Br);dt.error=Zt,dt.response=_t,dt.status="error";const ut=$e(dt,pn);dn(dt,ut)},Un=Zt=>{let _t;Promise.resolve(typeof f=="function"?f(Zt):f).then(Br=>{var dt;if(Br===!1)return;const ut=Re(Zt,pn);ut&&(_t=Object.assign(Object.assign({},Zt),{status:"removed"}),pn==null||pn.forEach(rr=>{const Pt=_t.uid!==void 0?"uid":"name";rr[Pt]===_t[Pt]&&!Object.isFrozen(rr)&&(rr.status="removed")}),(dt=Pn.current)===null||dt===void 0||dt.abort(_t),dn(_t,ut))})},g=Zt=>{$n(Zt.type),Zt.type==="drop"&&(yt==null||yt(Zt))};s.useImperativeHandle(yr,()=>({onBatchStart:Gn,onSuccess:ea,onProgress:Nn,onError:Yn,fileList:pn,upload:Pn.current,nativeElement:Xn.current}));const{getPrefixCls:u,direction:d,upload:v}=s.useContext(y.E_),O=u("upload",pe),b=Object.assign(Object.assign({onBatchStart:Gn,onError:Yn,onProgress:Nn,onSuccess:ea},zt),{data:xt,multiple:tr,action:ir,accept:Pr,supportServerRender:tn,prefixCls:O,disabled:ln,beforeUpload:In,onChange:void 0,hasControlInside:or});delete b.className,delete b.style,(!Or||ln)&&delete b.id;const z=`${O}-wrapper`,[V,ee,Ee]=M(O,z),[ot]=(0,l.Z)("Upload",L.Z.Upload),{showRemoveIcon:Xe,showPreviewIcon:gt,showDownloadIcon:me,removeIcon:Ht,previewIcon:je,downloadIcon:Pe,extra:at}=typeof F=="boolean"?{}:F,Ft=typeof Xe=="undefined"?!ln:Xe,cr=(Zt,_t)=>F?s.createElement(rn,{prefixCls:O,listType:Ae,items:pn,previewFile:Vt,onPreview:ae,onDownload:bt,onRemove:Un,showRemoveIcon:Ft,showPreviewIcon:gt,showDownloadIcon:me,removeIcon:Ht,previewIcon:je,downloadIcon:Pe,iconRender:Qr,extra:at,locale:Object.assign(Object.assign({},ot),Nr),isImageUrl:vn,progress:_n,appendAction:Zt,appendActionVisible:_t,itemRender:xn,disabled:ln}):Zt,Rr=te()(z,fr,Hr,ee,Ee,v==null?void 0:v.className,{[`${O}-rtl`]:d==="rtl",[`${O}-picture-card-wrapper`]:Ae==="picture-card",[`${O}-picture-circle-wrapper`]:Ae==="picture-circle"}),Vr=Object.assign(Object.assign({},v==null?void 0:v.style),Kr);if(tt==="drag"){const Zt=te()(ee,O,`${O}-drag`,{[`${O}-drag-uploading`]:pn.some(_t=>_t.status==="uploading"),[`${O}-drag-hover`]:Dn==="dragover",[`${O}-disabled`]:ln,[`${O}-rtl`]:d==="rtl"});return V(s.createElement("span",{className:Rr,ref:Xn},s.createElement("div",{className:Zt,style:Vr,onDrop:g,onDragOver:g,onDragLeave:g},s.createElement(q.Z,Object.assign({},b,{ref:Pn,className:`${O}-btn`}),s.createElement("div",{className:`${O}-drag-container`},Or))),cr()))}const Mr=te()(O,`${O}-select`,{[`${O}-disabled`]:ln,[`${O}-hidden`]:!Or}),wr=s.createElement("div",{className:Mr},s.createElement(q.Z,Object.assign({},b,{ref:Pn})));return V(Ae==="picture-card"||Ae==="picture-circle"?s.createElement("span",{className:Rr,ref:Xn},cr(wr,!!Or)):s.createElement("span",{className:Rr,ref:Xn},wr,cr()))};var se=s.forwardRef(N),ke=function(zt,yr){var vr={};for(var Tr in zt)Object.prototype.hasOwnProperty.call(zt,Tr)&&yr.indexOf(Tr)<0&&(vr[Tr]=zt[Tr]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,Tr=Object.getOwnPropertySymbols(zt);f<Tr.length;f++)yr.indexOf(Tr[f])<0&&Object.prototype.propertyIsEnumerable.call(zt,Tr[f])&&(vr[Tr[f]]=zt[Tr[f]]);return vr},Ir=s.forwardRef((zt,yr)=>{var{style:vr,height:Tr,hasControlInside:f=!1}=zt,F=ke(zt,["style","height","hasControlInside"]);return s.createElement(se,Object.assign({ref:yr,hasControlInside:f},F,{type:"drag",style:Object.assign(Object.assign({},vr),{height:Tr})}))});const yn=se;yn.Dragger=Ir,yn.LIST_IGNORE=S;var Bn=yn},44164:function(en,Jt,o){var s=o(97671);(function(I,He){en.exports=He(o(38520),o(64270))})(self,function(qe,I){return function(){var He={"./src/plugin/hyperlinks.js":function(y,U,l){"use strict";l.r(U);var L=l("./node_modules/core-js/modules/web.dom-collections.for-each.js"),W=l.n(L),G=l("./node_modules/core-js/modules/es.string.link.js"),R=l.n(G),Z=l("./src/worker.js"),A=l("./src/utils.js"),$=[],w={toContainer:Z.default.prototype.toContainer,toPdf:Z.default.prototype.toPdf};Z.default.prototype.toContainer=function(){return w.toContainer.call(this).then(function(){if(this.opt.enableLinks){var X=this.prop.container,J=X.querySelectorAll("a"),Ne=(0,A.unitConvert)(X.getBoundingClientRect(),this.prop.pageSize.k);$=[],Array.prototype.forEach.call(J,function(Le){for(var et=Le.getClientRects(),Ue=0;Ue<et.length;Ue++){var Ce=(0,A.unitConvert)(et[Ue],this.prop.pageSize.k);Ce.left-=Ne.left,Ce.top-=Ne.top;var Oe=Math.floor(Ce.top/this.prop.pageSize.inner.height)+1,Y=this.opt.margin[0]+Ce.top%this.prop.pageSize.inner.height,xe=this.opt.margin[1]+Ce.left;$.push({page:Oe,top:Y,left:xe,clientRect:Ce,link:Le})}},this)}})},Z.default.prototype.toPdf=function(){return w.toPdf.call(this).then(function(){if(this.opt.enableLinks){$.forEach(function(J){this.prop.pdf.setPage(J.page),this.prop.pdf.link(J.left,J.top,J.clientRect.width,J.clientRect.height,{url:J.link.href})},this);var X=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(X)}})}},"./src/plugin/jspdf-plugin.js":function(y,U,l){"use strict";l.r(U);var L=l("./node_modules/core-js/modules/es.symbol.js"),W=l.n(L),G=l("./node_modules/core-js/modules/es.symbol.description.js"),R=l.n(G),Z=l("./node_modules/core-js/modules/es.object.to-string.js"),A=l.n(Z),$=l("./node_modules/core-js/modules/es.symbol.iterator.js"),w=l.n($),j=l("./node_modules/core-js/modules/es.array.iterator.js"),de=l.n(j),X=l("./node_modules/core-js/modules/es.string.iterator.js"),J=l.n(X),Ne=l("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Le=l.n(Ne),et=l("jspdf"),Ue=l.n(et);function Ce(Oe){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ce=function(xe){return typeof xe}:Ce=function(xe){return xe&&typeof Symbol=="function"&&xe.constructor===Symbol&&xe!==Symbol.prototype?"symbol":typeof xe},Ce(Oe)}et.jsPDF.getPageSize=function(Oe,Y,xe){if(Ce(Oe)==="object"){var M=Oe;Oe=M.orientation,Y=M.unit||Y,xe=M.format||xe}Y=Y||"mm",xe=xe||"a4",Oe=(""+(Oe||"P")).toLowerCase();var E=(""+xe).toLowerCase(),st={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(Y){case"pt":var ce=1;break;case"mm":var ce=72/25.4;break;case"cm":var ce=72/2.54;break;case"in":var ce=72;break;case"px":var ce=72/96;break;case"pc":var ce=12;break;case"em":var ce=12;break;case"ex":var ce=6;break;default:throw"Invalid unit: "+Y}if(st.hasOwnProperty(E))var le=st[E][1]/ce,H=st[E][0]/ce;else try{var le=xe[1],H=xe[0]}catch(T){throw new Error("Invalid format: "+xe)}if(Oe==="p"||Oe==="portrait"){if(Oe="p",H>le){var _=H;H=le,le=_}}else if(Oe==="l"||Oe==="landscape"){if(Oe="l",le>H){var _=H;H=le,le=_}}else throw"Invalid orientation: "+Oe;var re={width:H,height:le,unit:Y,k:ce};return re},U.default=et.jsPDF},"./src/plugin/pagebreaks.js":function(y,U,l){"use strict";l.r(U);var L=l("./node_modules/core-js/modules/es.array.concat.js"),W=l.n(L),G=l("./node_modules/core-js/modules/es.array.slice.js"),R=l.n(G),Z=l("./node_modules/core-js/modules/es.array.join.js"),A=l.n(Z),$=l("./node_modules/core-js/modules/web.dom-collections.for-each.js"),w=l.n($),j=l("./node_modules/core-js/modules/es.object.keys.js"),de=l.n(j),X=l("./src/worker.js"),J=l("./src/utils.js"),Ne={toContainer:X.default.prototype.toContainer};X.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},X.default.prototype.toContainer=function(){return Ne.toContainer.call(this).then(function(){var Ue=this.prop.container,Ce=this.prop.pageSize.inner.px.height,Oe=[].concat(this.opt.pagebreak.mode),Y={avoidAll:Oe.indexOf("avoid-all")!==-1,css:Oe.indexOf("css")!==-1,legacy:Oe.indexOf("legacy")!==-1},xe={},M=this;["before","after","avoid"].forEach(function(ce){var le=Y.avoidAll&&ce==="avoid";xe[ce]=le?[]:[].concat(M.opt.pagebreak[ce]||[]),xe[ce].length>0&&(xe[ce]=Array.prototype.slice.call(Ue.querySelectorAll(xe[ce].join(", "))))});var E=Ue.querySelectorAll(".html2pdf__page-break");E=Array.prototype.slice.call(E);var st=Ue.querySelectorAll("*");Array.prototype.forEach.call(st,function(le){var H={before:!1,after:Y.legacy&&E.indexOf(le)!==-1,avoid:Y.avoidAll};if(Y.css){var _=window.getComputedStyle(le),re=["always","page","left","right"],T=["avoid","avoid-page"];H={before:H.before||re.indexOf(_.breakBefore||_.pageBreakBefore)!==-1,after:H.after||re.indexOf(_.breakAfter||_.pageBreakAfter)!==-1,avoid:H.avoid||T.indexOf(_.breakInside||_.pageBreakInside)!==-1}}Object.keys(H).forEach(function(pt){H[pt]=H[pt]||xe[pt].indexOf(le)!==-1});var ne=le.getBoundingClientRect();if(H.avoid&&!H.before){var Fe=Math.floor(ne.top/Ce),ye=Math.floor(ne.bottom/Ce),lt=Math.abs(ne.bottom-ne.top)/Ce;ye!==Fe&&lt<=1&&(H.before=!0)}if(H.before){var ft=(0,J.createElement)("div",{style:{display:"block",height:Ce-ne.top%Ce+"px"}});le.parentNode.insertBefore(ft,le)}if(H.after){var ft=(0,J.createElement)("div",{style:{display:"block",height:Ce-ne.bottom%Ce+"px"}});le.parentNode.insertBefore(ft,le.nextSibling)}})})}},"./src/utils.js":function(y,U,l){"use strict";l.r(U),l.d(U,{objType:function(){return Oe},createElement:function(){return Y},cloneNode:function(){return xe},unitConvert:function(){return M},toPx:function(){return E}});var L=l("./node_modules/core-js/modules/es.number.constructor.js"),W=l.n(L),G=l("./node_modules/core-js/modules/es.symbol.js"),R=l.n(G),Z=l("./node_modules/core-js/modules/es.symbol.description.js"),A=l.n(Z),$=l("./node_modules/core-js/modules/es.object.to-string.js"),w=l.n($),j=l("./node_modules/core-js/modules/es.symbol.iterator.js"),de=l.n(j),X=l("./node_modules/core-js/modules/es.array.iterator.js"),J=l.n(X),Ne=l("./node_modules/core-js/modules/es.string.iterator.js"),Le=l.n(Ne),et=l("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Ue=l.n(et);function Ce(st){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ce=function(le){return typeof le}:Ce=function(le){return le&&typeof Symbol=="function"&&le.constructor===Symbol&&le!==Symbol.prototype?"symbol":typeof le},Ce(st)}var Oe=function(ce){var le=Ce(ce);return le==="undefined"?"undefined":le==="string"||ce instanceof String?"string":le==="number"||ce instanceof Number?"number":le==="function"||ce instanceof Function?"function":ce&&ce.constructor===Array?"array":ce&&ce.nodeType===1?"element":le==="object"?"object":"unknown"},Y=function(ce,le){var H=document.createElement(ce);if(le.className&&(H.className=le.className),le.innerHTML){H.innerHTML=le.innerHTML;for(var _=H.getElementsByTagName("script"),re=_.length;re-- >0;null)_[re].parentNode.removeChild(_[re])}for(var T in le.style)H.style[T]=le.style[T];return H},xe=function st(ce,le){for(var H=ce.nodeType===3?document.createTextNode(ce.nodeValue):ce.cloneNode(!1),_=ce.firstChild;_;_=_.nextSibling)(le===!0||_.nodeType!==1||_.nodeName!=="SCRIPT")&&H.appendChild(st(_,le));return ce.nodeType===1&&(ce.nodeName==="CANVAS"?(H.width=ce.width,H.height=ce.height,H.getContext("2d").drawImage(ce,0,0)):(ce.nodeName==="TEXTAREA"||ce.nodeName==="SELECT")&&(H.value=ce.value),H.addEventListener("load",function(){H.scrollTop=ce.scrollTop,H.scrollLeft=ce.scrollLeft},!0)),H},M=function(ce,le){if(Oe(ce)==="number")return ce*72/96/le;var H={};for(var _ in ce)H[_]=ce[_]*72/96/le;return H},E=function(ce,le){return Math.floor(ce*le/72*96)}},"./src/worker.js":function(y,U,l){"use strict";l.r(U);var L=l("./node_modules/core-js/modules/es.object.assign.js"),W=l.n(L),G=l("./node_modules/core-js/modules/es.array.map.js"),R=l.n(G),Z=l("./node_modules/core-js/modules/es.object.keys.js"),A=l.n(Z),$=l("./node_modules/core-js/modules/es.array.concat.js"),w=l.n($),j=l("./node_modules/core-js/modules/es.object.to-string.js"),de=l.n(j),X=l("./node_modules/core-js/modules/es.regexp.to-string.js"),J=l.n(X),Ne=l("./node_modules/core-js/modules/es.function.name.js"),Le=l.n(Ne),et=l("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Ue=l.n(et),Ce=l("jspdf"),Oe=l.n(Ce),Y=l("html2canvas"),xe=l.n(Y),M=l("./src/utils.js"),E=l("./node_modules/es6-promise/dist/es6-promise.js"),st=l.n(E),ce=st().Promise,le=function H(_){var re=Object.assign(H.convert(ce.resolve()),JSON.parse(JSON.stringify(H.template))),T=H.convert(ce.resolve(),re);return T=T.setProgress(1,H,1,[H]),T=T.set(_),T};le.prototype=Object.create(ce.prototype),le.prototype.constructor=le,le.convert=function(_,re){return _.__proto__=re||le.prototype,_},le.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:{}}},le.prototype.from=function(_,re){function T(ne){switch((0,M.objType)(ne)){case"string":return"string";case"element":return ne.nodeName.toLowerCase&&ne.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(re=re||T(_),re){case"string":return this.set({src:(0,M.createElement)("div",{innerHTML:_})});case"element":return this.set({src:_});case"canvas":return this.set({canvas:_});case"img":return this.set({img:_});default:return this.error("Unknown source type.")}})},le.prototype.to=function(_){switch(_){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.")}},le.prototype.toContainer=function(){var _=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(_).then(function(){var T={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},ne={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};T.opacity=0;var Fe=(0,M.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,M.createElement)("div",{className:"html2pdf__overlay",style:T}),this.prop.container=(0,M.createElement)("div",{className:"html2pdf__container",style:ne}),this.prop.container.appendChild(Fe),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},le.prototype.toCanvas=function(){var _=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(_).then(function(){var T=Object.assign({},this.opt.html2canvas);return delete T.onrendered,Y(this.prop.container,T)}).then(function(T){var ne=this.opt.html2canvas.onrendered||function(){};ne(T),this.prop.canvas=T,document.body.removeChild(this.prop.overlay)})},le.prototype.toImg=function(){var _=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(_).then(function(){var T=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=T})},le.prototype.toPdf=function(){var _=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(_).then(function(){var T=this.prop.canvas,ne=this.opt,Fe=T.height,ye=Math.floor(T.width*this.prop.pageSize.inner.ratio),lt=Math.ceil(Fe/ye),ft=this.prop.pageSize.inner.height,pt=document.createElement("canvas"),he=pt.getContext("2d");pt.width=T.width,pt.height=ye,this.prop.pdf=this.prop.pdf||new Ce.jsPDF(ne.jsPDF);for(var We=0;We<lt;We++){We===lt-1&&Fe%ye!==0&&(pt.height=Fe%ye,ft=pt.height*this.prop.pageSize.inner.width/pt.width);var jt=pt.width,ze=pt.height;he.fillStyle="white",he.fillRect(0,0,jt,ze),he.drawImage(T,0,We*ye,jt,ze,0,0,jt,ze),We&&this.prop.pdf.addPage();var Be=pt.toDataURL("image/"+ne.image.type,ne.image.quality);this.prop.pdf.addImage(Be,ne.image.type,ne.margin[1],ne.margin[0],this.prop.pageSize.inner.width,ft)}})},le.prototype.output=function(_,re,T){return T=T||"pdf",T.toLowerCase()==="img"||T.toLowerCase()==="image"?this.outputImg(_,re):this.outputPdf(_,re)},le.prototype.outputPdf=function(_,re){var T=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(T).then(function(){return this.prop.pdf.output(_,re)})},le.prototype.outputImg=function(_,re){var T=[function(){return this.prop.img||this.toImg()}];return this.thenList(T).then(function(){switch(_){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 "'+_+'" is not supported.'}})},le.prototype.save=function(_){var re=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(re).set(_?{filename:_}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},le.prototype.set=function(_){if((0,M.objType)(_)!=="object")return this;var re=Object.keys(_||{}).map(function(T){switch(T){case"margin":return this.setMargin.bind(this,_.margin);case"jsPDF":return function(){return this.opt.jsPDF=_.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,_.pageSize);default:return T in le.template.prop?function(){this.prop[T]=_[T]}:function(){this.opt[T]=_[T]}}},this);return this.then(function(){return this.thenList(re)})},le.prototype.get=function(_,re){return this.then(function(){var ne=_ in le.template.prop?this.prop[_]:this.opt[_];return re?re(ne):ne})},le.prototype.setMargin=function(_){return this.then(function(){switch((0,M.objType)(_)){case"number":_=[_,_,_,_];case"array":if(_.length===2&&(_=[_[0],_[1],_[0],_[1]]),_.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=_}).then(this.setPageSize)},le.prototype.setPageSize=function(_){return this.then(function(){_=_||Ce.jsPDF.getPageSize(this.opt.jsPDF),_.hasOwnProperty("inner")||(_.inner={width:_.width-this.opt.margin[1]-this.opt.margin[3],height:_.height-this.opt.margin[0]-this.opt.margin[2]},_.inner.px={width:(0,M.toPx)(_.inner.width,_.k),height:(0,M.toPx)(_.inner.height,_.k)},_.inner.ratio=_.inner.height/_.inner.width),this.prop.pageSize=_})},le.prototype.setProgress=function(_,re,T,ne){return _!=null&&(this.progress.val=_),re!=null&&(this.progress.state=re),T!=null&&(this.progress.n=T),ne!=null&&(this.progress.stack=ne),this.progress.ratio=this.progress.val/this.progress.state,this},le.prototype.updateProgress=function(_,re,T,ne){return this.setProgress(_?this.progress.val+_:null,re||null,T?this.progress.n+T:null,ne?this.progress.stack.concat(ne):null)},le.prototype.then=function(_,re){var T=this;return this.thenCore(_,re,function(Fe,ye){return T.updateProgress(null,null,1,[Fe]),ce.prototype.then.call(this,function(ft){return T.updateProgress(null,Fe),ft}).then(Fe,ye).then(function(ft){return T.updateProgress(1),ft})})},le.prototype.thenCore=function(_,re,T){T=T||ce.prototype.then;var ne=this;_&&(_=_.bind(ne)),re&&(re=re.bind(ne));var Fe=ce.toString().indexOf("[native code]")!==-1&&ce.name==="Promise",ye=Fe?ne:le.convert(Object.assign({},ne),ce.prototype),lt=T.call(ye,_,re);return le.convert(lt,ne.__proto__)},le.prototype.thenExternal=function(_,re){return ce.prototype.then.call(this,_,re)},le.prototype.thenList=function(_){var re=this;return _.forEach(function(ne){re=re.thenCore(ne)}),re},le.prototype.catch=function(H){H&&(H=H.bind(this));var _=ce.prototype.catch.call(this,H);return le.convert(_,this)},le.prototype.catchExternal=function(_){return ce.prototype.catch.call(this,_)},le.prototype.error=function(_){return this.then(function(){throw new Error(_)})},le.prototype.using=le.prototype.set,le.prototype.saveAs=le.prototype.save,le.prototype.export=le.prototype.output,le.prototype.run=le.prototype.then,U.default=le},"./node_modules/core-js/internals/a-function.js":function(y){y.exports=function(U){if(typeof U!="function")throw TypeError(String(U)+" is not a function");return U}},"./node_modules/core-js/internals/a-possible-prototype.js":function(y,U,l){var L=l("./node_modules/core-js/internals/is-object.js");y.exports=function(W){if(!L(W)&&W!==null)throw TypeError("Can't set "+String(W)+" as a prototype");return W}},"./node_modules/core-js/internals/add-to-unscopables.js":function(y,U,l){var L=l("./node_modules/core-js/internals/well-known-symbol.js"),W=l("./node_modules/core-js/internals/object-create.js"),G=l("./node_modules/core-js/internals/object-define-property.js"),R=L("unscopables"),Z=Array.prototype;Z[R]==null&&G.f(Z,R,{configurable:!0,value:W(null)}),y.exports=function(A){Z[R][A]=!0}},"./node_modules/core-js/internals/an-object.js":function(y,U,l){var L=l("./node_modules/core-js/internals/is-object.js");y.exports=function(W){if(!L(W))throw TypeError(String(W)+" is not an object");return W}},"./node_modules/core-js/internals/array-for-each.js":function(y,U,l){"use strict";var L=l("./node_modules/core-js/internals/array-iteration.js").forEach,W=l("./node_modules/core-js/internals/array-method-is-strict.js"),G=W("forEach");y.exports=G?[].forEach:function(Z){return L(this,Z,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(y,U,l){var L=l("./node_modules/core-js/internals/to-indexed-object.js"),W=l("./node_modules/core-js/internals/to-length.js"),G=l("./node_modules/core-js/internals/to-absolute-index.js"),R=function(Z){return function(A,$,w){var j=L(A),de=W(j.length),X=G(w,de),J;if(Z&&$!=$){for(;de>X;)if(J=j[X++],J!=J)return!0}else for(;de>X;X++)if((Z||X in j)&&j[X]===$)return Z||X||0;return!Z&&-1}};y.exports={includes:R(!0),indexOf:R(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(y,U,l){var L=l("./node_modules/core-js/internals/function-bind-context.js"),W=l("./node_modules/core-js/internals/indexed-object.js"),G=l("./node_modules/core-js/internals/to-object.js"),R=l("./node_modules/core-js/internals/to-length.js"),Z=l("./node_modules/core-js/internals/array-species-create.js"),A=[].push,$=function(w){var j=w==1,de=w==2,X=w==3,J=w==4,Ne=w==6,Le=w==7,et=w==5||Ne;return function(Ue,Ce,Oe,Y){for(var xe=G(Ue),M=W(xe),E=L(Ce,Oe,3),st=R(M.length),ce=0,le=Y||Z,H=j?le(Ue,st):de||Le?le(Ue,0):void 0,_,re;st>ce;ce++)if((et||ce in M)&&(_=M[ce],re=E(_,ce,xe),w))if(j)H[ce]=re;else if(re)switch(w){case 3:return!0;case 5:return _;case 6:return ce;case 2:A.call(H,_)}else switch(w){case 4:return!1;case 7:A.call(H,_)}return Ne?-1:X||J?J:H}};y.exports={forEach:$(0),map:$(1),filter:$(2),some:$(3),every:$(4),find:$(5),findIndex:$(6),filterReject:$(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(y,U,l){var L=l("./node_modules/core-js/internals/fails.js"),W=l("./node_modules/core-js/internals/well-known-symbol.js"),G=l("./node_modules/core-js/internals/engine-v8-version.js"),R=W("species");y.exports=function(Z){return G>=51||!L(function(){var A=[],$=A.constructor={};return $[R]=function(){return{foo:1}},A[Z](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(y,U,l){"use strict";var L=l("./node_modules/core-js/internals/fails.js");y.exports=function(W,G){var R=[][W];return!!R&&L(function(){R.call(null,G||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(y,U,l){var L=l("./node_modules/core-js/internals/is-object.js"),W=l("./node_modules/core-js/internals/is-array.js"),G=l("./node_modules/core-js/internals/well-known-symbol.js"),R=G("species");y.exports=function(Z){var A;return W(Z)&&(A=Z.constructor,typeof A=="function"&&(A===Array||W(A.prototype))?A=void 0:L(A)&&(A=A[R],A===null&&(A=void 0))),A===void 0?Array:A}},"./node_modules/core-js/internals/array-species-create.js":function(y,U,l){var L=l("./node_modules/core-js/internals/array-species-constructor.js");y.exports=function(W,G){return new(L(W))(G===0?0:G)}},"./node_modules/core-js/internals/classof-raw.js":function(y){var U={}.toString;y.exports=function(l){return U.call(l).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(y,U,l){var L=l("./node_modules/core-js/internals/to-string-tag-support.js"),W=l("./node_modules/core-js/internals/classof-raw.js"),G=l("./node_modules/core-js/internals/well-known-symbol.js"),R=G("toStringTag"),Z=W(function(){return arguments}())=="Arguments",A=function($,w){try{return $[w]}catch(j){}};y.exports=L?W:function($){var w,j,de;return $===void 0?"Undefined":$===null?"Null":typeof(j=A(w=Object($),R))=="string"?j:Z?W(w):(de=W(w))=="Object"&&typeof w.callee=="function"?"Arguments":de}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(y,U,l){var L=l("./node_modules/core-js/internals/has.js"),W=l("./node_modules/core-js/internals/own-keys.js"),G=l("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),R=l("./node_modules/core-js/internals/object-define-property.js");y.exports=function(Z,A){for(var $=W(A),w=R.f,j=G.f,de=0;de<$.length;de++){var X=$[de];L(Z,X)||w(Z,X,j(A,X))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(y,U,l){var L=l("./node_modules/core-js/internals/fails.js");y.exports=!L(function(){function W(){}return W.prototype.constructor=null,Object.getPrototypeOf(new W)!==W.prototype})},"./node_modules/core-js/internals/create-html.js":function(y,U,l){var L=l("./node_modules/core-js/internals/require-object-coercible.js"),W=l("./node_modules/core-js/internals/to-string.js"),G=/"/g;y.exports=function(R,Z,A,$){var w=W(L(R)),j="<"+Z;return A!==""&&(j+=" "+A+'="'+W($).replace(G,"&quot;")+'"'),j+">"+w+"</"+Z+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(y,U,l){"use strict";var L=l("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,W=l("./node_modules/core-js/internals/object-create.js"),G=l("./node_modules/core-js/internals/create-property-descriptor.js"),R=l("./node_modules/core-js/internals/set-to-string-tag.js"),Z=l("./node_modules/core-js/internals/iterators.js"),A=function(){return this};y.exports=function($,w,j){var de=w+" Iterator";return $.prototype=W(L,{next:G(1,j)}),R($,de,!1,!0),Z[de]=A,$}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(y,U,l){var L=l("./node_modules/core-js/internals/descriptors.js"),W=l("./node_modules/core-js/internals/object-define-property.js"),G=l("./node_modules/core-js/internals/create-property-descriptor.js");y.exports=L?function(R,Z,A){return W.f(R,Z,G(1,A))}:function(R,Z,A){return R[Z]=A,R}},"./node_modules/core-js/internals/create-property-descriptor.js":function(y){y.exports=function(U,l){return{enumerable:!(U&1),configurable:!(U&2),writable:!(U&4),value:l}}},"./node_modules/core-js/internals/create-property.js":function(y,U,l){"use strict";var L=l("./node_modules/core-js/internals/to-property-key.js"),W=l("./node_modules/core-js/internals/object-define-property.js"),G=l("./node_modules/core-js/internals/create-property-descriptor.js");y.exports=function(R,Z,A){var $=L(Z);$ in R?W.f(R,$,G(0,A)):R[$]=A}},"./node_modules/core-js/internals/define-iterator.js":function(y,U,l){"use strict";var L=l("./node_modules/core-js/internals/export.js"),W=l("./node_modules/core-js/internals/create-iterator-constructor.js"),G=l("./node_modules/core-js/internals/object-get-prototype-of.js"),R=l("./node_modules/core-js/internals/object-set-prototype-of.js"),Z=l("./node_modules/core-js/internals/set-to-string-tag.js"),A=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),$=l("./node_modules/core-js/internals/redefine.js"),w=l("./node_modules/core-js/internals/well-known-symbol.js"),j=l("./node_modules/core-js/internals/is-pure.js"),de=l("./node_modules/core-js/internals/iterators.js"),X=l("./node_modules/core-js/internals/iterators-core.js"),J=X.IteratorPrototype,Ne=X.BUGGY_SAFARI_ITERATORS,Le=w("iterator"),et="keys",Ue="values",Ce="entries",Oe=function(){return this};y.exports=function(Y,xe,M,E,st,ce,le){W(M,xe,E);var H=function(he){if(he===st&&Fe)return Fe;if(!Ne&&he in T)return T[he];switch(he){case et:return function(){return new M(this,he)};case Ue:return function(){return new M(this,he)};case Ce:return function(){return new M(this,he)}}return function(){return new M(this)}},_=xe+" Iterator",re=!1,T=Y.prototype,ne=T[Le]||T["@@iterator"]||st&&T[st],Fe=!Ne&&ne||H(st),ye=xe=="Array"&&T.entries||ne,lt,ft,pt;if(ye&&(lt=G(ye.call(new Y)),J!==Object.prototype&&lt.next&&(!j&&G(lt)!==J&&(R?R(lt,J):typeof lt[Le]!="function"&&A(lt,Le,Oe)),Z(lt,_,!0,!0),j&&(de[_]=Oe))),st==Ue&&ne&&ne.name!==Ue&&(re=!0,Fe=function(){return ne.call(this)}),(!j||le)&&T[Le]!==Fe&&A(T,Le,Fe),de[xe]=Fe,st)if(ft={values:H(Ue),keys:ce?Fe:H(et),entries:H(Ce)},le)for(pt in ft)(Ne||re||!(pt in T))&&$(T,pt,ft[pt]);else L({target:xe,proto:!0,forced:Ne||re},ft);return ft}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(y,U,l){var L=l("./node_modules/core-js/internals/path.js"),W=l("./node_modules/core-js/internals/has.js"),G=l("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),R=l("./node_modules/core-js/internals/object-define-property.js").f;y.exports=function(Z){var A=L.Symbol||(L.Symbol={});W(A,Z)||R(A,Z,{value:G.f(Z)})}},"./node_modules/core-js/internals/descriptors.js":function(y,U,l){var L=l("./node_modules/core-js/internals/fails.js");y.exports=!L(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(y,U,l){var L=l("./node_modules/core-js/internals/global.js"),W=l("./node_modules/core-js/internals/is-object.js"),G=L.document,R=W(G)&&W(G.createElement);y.exports=function(Z){return R?G.createElement(Z):{}}},"./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,U,l){var L=l("./node_modules/core-js/internals/get-built-in.js");y.exports=L("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(y,U,l){var L=l("./node_modules/core-js/internals/global.js"),W=l("./node_modules/core-js/internals/engine-user-agent.js"),G=L.process,R=L.Deno,Z=G&&G.versions||R&&R.version,A=Z&&Z.v8,$,w;A?($=A.split("."),w=$[0]<4?1:$[0]+$[1]):W&&($=W.match(/Edge\/(\d+)/),(!$||$[1]>=74)&&($=W.match(/Chrome\/(\d+)/),$&&(w=$[1]))),y.exports=w&&+w},"./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,U,l){var L=l("./node_modules/core-js/internals/global.js"),W=l("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,G=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),R=l("./node_modules/core-js/internals/redefine.js"),Z=l("./node_modules/core-js/internals/set-global.js"),A=l("./node_modules/core-js/internals/copy-constructor-properties.js"),$=l("./node_modules/core-js/internals/is-forced.js");y.exports=function(w,j){var de=w.target,X=w.global,J=w.stat,Ne,Le,et,Ue,Ce,Oe;if(X?Le=L:J?Le=L[de]||Z(de,{}):Le=(L[de]||{}).prototype,Le)for(et in j){if(Ce=j[et],w.noTargetGet?(Oe=W(Le,et),Ue=Oe&&Oe.value):Ue=Le[et],Ne=$(X?et:de+(J?".":"#")+et,w.forced),!Ne&&Ue!==void 0){if(typeof Ce==typeof Ue)continue;A(Ce,Ue)}(w.sham||Ue&&Ue.sham)&&G(Ce,"sham",!0),R(Le,et,Ce,w)}}},"./node_modules/core-js/internals/fails.js":function(y){y.exports=function(U){try{return!!U()}catch(l){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(y,U,l){var L=l("./node_modules/core-js/internals/a-function.js");y.exports=function(W,G,R){if(L(W),G===void 0)return W;switch(R){case 0:return function(){return W.call(G)};case 1:return function(Z){return W.call(G,Z)};case 2:return function(Z,A){return W.call(G,Z,A)};case 3:return function(Z,A,$){return W.call(G,Z,A,$)}}return function(){return W.apply(G,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(y,U,l){var L=l("./node_modules/core-js/internals/global.js"),W=function(G){return typeof G=="function"?G:void 0};y.exports=function(G,R){return arguments.length<2?W(L[G]):L[G]&&L[G][R]}},"./node_modules/core-js/internals/global.js":function(y){var U=function(l){return l&&l.Math==Math&&l};y.exports=U(typeof globalThis=="object"&&globalThis)||U(typeof window=="object"&&window)||U(typeof self=="object"&&self)||U(typeof o.g=="object"&&o.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(y,U,l){var L=l("./node_modules/core-js/internals/to-object.js"),W={}.hasOwnProperty;y.exports=Object.hasOwn||function(R,Z){return W.call(L(R),Z)}},"./node_modules/core-js/internals/hidden-keys.js":function(y){y.exports={}},"./node_modules/core-js/internals/html.js":function(y,U,l){var L=l("./node_modules/core-js/internals/get-built-in.js");y.exports=L("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(y,U,l){var L=l("./node_modules/core-js/internals/descriptors.js"),W=l("./node_modules/core-js/internals/fails.js"),G=l("./node_modules/core-js/internals/document-create-element.js");y.exports=!L&&!W(function(){return Object.defineProperty(G("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(y,U,l){var L=l("./node_modules/core-js/internals/fails.js"),W=l("./node_modules/core-js/internals/classof-raw.js"),G="".split;y.exports=L(function(){return!Object("z").propertyIsEnumerable(0)})?function(R){return W(R)=="String"?G.call(R,""):Object(R)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(y,U,l){var L=l("./node_modules/core-js/internals/is-object.js"),W=l("./node_modules/core-js/internals/object-set-prototype-of.js");y.exports=function(G,R,Z){var A,$;return W&&typeof(A=R.constructor)=="function"&&A!==Z&&L($=A.prototype)&&$!==Z.prototype&&W(G,$),G}},"./node_modules/core-js/internals/inspect-source.js":function(y,U,l){var L=l("./node_modules/core-js/internals/shared-store.js"),W=Function.toString;typeof L.inspectSource!="function"&&(L.inspectSource=function(G){return W.call(G)}),y.exports=L.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(y,U,l){var L=l("./node_modules/core-js/internals/native-weak-map.js"),W=l("./node_modules/core-js/internals/global.js"),G=l("./node_modules/core-js/internals/is-object.js"),R=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),Z=l("./node_modules/core-js/internals/has.js"),A=l("./node_modules/core-js/internals/shared-store.js"),$=l("./node_modules/core-js/internals/shared-key.js"),w=l("./node_modules/core-js/internals/hidden-keys.js"),j="Object already initialized",de=W.WeakMap,X,J,Ne,Le=function(M){return Ne(M)?J(M):X(M,{})},et=function(M){return function(E){var st;if(!G(E)||(st=J(E)).type!==M)throw TypeError("Incompatible receiver, "+M+" required");return st}};if(L||A.state){var Ue=A.state||(A.state=new de),Ce=Ue.get,Oe=Ue.has,Y=Ue.set;X=function(M,E){if(Oe.call(Ue,M))throw new TypeError(j);return E.facade=M,Y.call(Ue,M,E),E},J=function(M){return Ce.call(Ue,M)||{}},Ne=function(M){return Oe.call(Ue,M)}}else{var xe=$("state");w[xe]=!0,X=function(M,E){if(Z(M,xe))throw new TypeError(j);return E.facade=M,R(M,xe,E),E},J=function(M){return Z(M,xe)?M[xe]:{}},Ne=function(M){return Z(M,xe)}}y.exports={set:X,get:J,has:Ne,enforce:Le,getterFor:et}},"./node_modules/core-js/internals/is-array.js":function(y,U,l){var L=l("./node_modules/core-js/internals/classof-raw.js");y.exports=Array.isArray||function(G){return L(G)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(y,U,l){var L=l("./node_modules/core-js/internals/fails.js"),W=/#|\.prototype\./,G=function(w,j){var de=Z[R(w)];return de==$?!0:de==A?!1:typeof j=="function"?L(j):!!j},R=G.normalize=function(w){return String(w).replace(W,".").toLowerCase()},Z=G.data={},A=G.NATIVE="N",$=G.POLYFILL="P";y.exports=G},"./node_modules/core-js/internals/is-object.js":function(y){y.exports=function(U){return typeof U=="object"?U!==null:typeof U=="function"}},"./node_modules/core-js/internals/is-pure.js":function(y){y.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(y,U,l){var L=l("./node_modules/core-js/internals/get-built-in.js"),W=l("./node_modules/core-js/internals/use-symbol-as-uid.js");y.exports=W?function(G){return typeof G=="symbol"}:function(G){var R=L("Symbol");return typeof R=="function"&&Object(G)instanceof R}},"./node_modules/core-js/internals/iterators-core.js":function(y,U,l){"use strict";var L=l("./node_modules/core-js/internals/fails.js"),W=l("./node_modules/core-js/internals/object-get-prototype-of.js"),G=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),R=l("./node_modules/core-js/internals/has.js"),Z=l("./node_modules/core-js/internals/well-known-symbol.js"),A=l("./node_modules/core-js/internals/is-pure.js"),$=Z("iterator"),w=!1,j=function(){return this},de,X,J;[].keys&&(J=[].keys(),"next"in J?(X=W(W(J)),X!==Object.prototype&&(de=X)):w=!0);var Ne=de==null||L(function(){var Le={};return de[$].call(Le)!==Le});Ne&&(de={}),(!A||Ne)&&!R(de,$)&&G(de,$,j),y.exports={IteratorPrototype:de,BUGGY_SAFARI_ITERATORS:w}},"./node_modules/core-js/internals/iterators.js":function(y){y.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(y,U,l){var L=l("./node_modules/core-js/internals/engine-v8-version.js"),W=l("./node_modules/core-js/internals/fails.js");y.exports=!!Object.getOwnPropertySymbols&&!W(function(){var G=Symbol();return!String(G)||!(Object(G)instanceof Symbol)||!Symbol.sham&&L&&L<41})},"./node_modules/core-js/internals/native-weak-map.js":function(y,U,l){var L=l("./node_modules/core-js/internals/global.js"),W=l("./node_modules/core-js/internals/inspect-source.js"),G=L.WeakMap;y.exports=typeof G=="function"&&/native code/.test(W(G))},"./node_modules/core-js/internals/object-assign.js":function(y,U,l){"use strict";var L=l("./node_modules/core-js/internals/descriptors.js"),W=l("./node_modules/core-js/internals/fails.js"),G=l("./node_modules/core-js/internals/object-keys.js"),R=l("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Z=l("./node_modules/core-js/internals/object-property-is-enumerable.js"),A=l("./node_modules/core-js/internals/to-object.js"),$=l("./node_modules/core-js/internals/indexed-object.js"),w=Object.assign,j=Object.defineProperty;y.exports=!w||W(function(){if(L&&w({b:1},w(j({},"a",{enumerable:!0,get:function(){j(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var de={},X={},J=Symbol(),Ne="abcdefghijklmnopqrst";return de[J]=7,Ne.split("").forEach(function(Le){X[Le]=Le}),w({},de)[J]!=7||G(w({},X)).join("")!=Ne})?function(X,J){for(var Ne=A(X),Le=arguments.length,et=1,Ue=R.f,Ce=Z.f;Le>et;)for(var Oe=$(arguments[et++]),Y=Ue?G(Oe).concat(Ue(Oe)):G(Oe),xe=Y.length,M=0,E;xe>M;)E=Y[M++],(!L||Ce.call(Oe,E))&&(Ne[E]=Oe[E]);return Ne}:w},"./node_modules/core-js/internals/object-create.js":function(y,U,l){var L=l("./node_modules/core-js/internals/an-object.js"),W=l("./node_modules/core-js/internals/object-define-properties.js"),G=l("./node_modules/core-js/internals/enum-bug-keys.js"),R=l("./node_modules/core-js/internals/hidden-keys.js"),Z=l("./node_modules/core-js/internals/html.js"),A=l("./node_modules/core-js/internals/document-create-element.js"),$=l("./node_modules/core-js/internals/shared-key.js"),w=">",j="<",de="prototype",X="script",J=$("IE_PROTO"),Ne=function(){},Le=function(Y){return j+X+w+Y+j+"/"+X+w},et=function(Y){Y.write(Le("")),Y.close();var xe=Y.parentWindow.Object;return Y=null,xe},Ue=function(){var Y=A("iframe"),xe="java"+X+":",M;if(Y.style)return Y.style.display="none",Z.appendChild(Y),Y.src=String(xe),M=Y.contentWindow.document,M.open(),M.write(Le("document.F=Object")),M.close(),M.F},Ce,Oe=function(){try{Ce=new ActiveXObject("htmlfile")}catch(xe){}Oe=document.domain&&Ce?et(Ce):Ue()||et(Ce);for(var Y=G.length;Y--;)delete Oe[de][G[Y]];return Oe()};R[J]=!0,y.exports=Object.create||function(xe,M){var E;return xe!==null?(Ne[de]=L(xe),E=new Ne,Ne[de]=null,E[J]=xe):E=Oe(),M===void 0?E:W(E,M)}},"./node_modules/core-js/internals/object-define-properties.js":function(y,U,l){var L=l("./node_modules/core-js/internals/descriptors.js"),W=l("./node_modules/core-js/internals/object-define-property.js"),G=l("./node_modules/core-js/internals/an-object.js"),R=l("./node_modules/core-js/internals/object-keys.js");y.exports=L?Object.defineProperties:function(A,$){G(A);for(var w=R($),j=w.length,de=0,X;j>de;)W.f(A,X=w[de++],$[X]);return A}},"./node_modules/core-js/internals/object-define-property.js":function(y,U,l){var L=l("./node_modules/core-js/internals/descriptors.js"),W=l("./node_modules/core-js/internals/ie8-dom-define.js"),G=l("./node_modules/core-js/internals/an-object.js"),R=l("./node_modules/core-js/internals/to-property-key.js"),Z=Object.defineProperty;U.f=L?Z:function($,w,j){if(G($),w=R(w),G(j),W)try{return Z($,w,j)}catch(de){}if("get"in j||"set"in j)throw TypeError("Accessors not supported");return"value"in j&&($[w]=j.value),$}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(y,U,l){var L=l("./node_modules/core-js/internals/descriptors.js"),W=l("./node_modules/core-js/internals/object-property-is-enumerable.js"),G=l("./node_modules/core-js/internals/create-property-descriptor.js"),R=l("./node_modules/core-js/internals/to-indexed-object.js"),Z=l("./node_modules/core-js/internals/to-property-key.js"),A=l("./node_modules/core-js/internals/has.js"),$=l("./node_modules/core-js/internals/ie8-dom-define.js"),w=Object.getOwnPropertyDescriptor;U.f=L?w:function(de,X){if(de=R(de),X=Z(X),$)try{return w(de,X)}catch(J){}if(A(de,X))return G(!W.f.call(de,X),de[X])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(y,U,l){var L=l("./node_modules/core-js/internals/to-indexed-object.js"),W=l("./node_modules/core-js/internals/object-get-own-property-names.js").f,G={}.toString,R=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Z=function(A){try{return W(A)}catch($){return R.slice()}};y.exports.f=function($){return R&&G.call($)=="[object Window]"?Z($):W(L($))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(y,U,l){var L=l("./node_modules/core-js/internals/object-keys-internal.js"),W=l("./node_modules/core-js/internals/enum-bug-keys.js"),G=W.concat("length","prototype");U.f=Object.getOwnPropertyNames||function(Z){return L(Z,G)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(y,U){U.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(y,U,l){var L=l("./node_modules/core-js/internals/has.js"),W=l("./node_modules/core-js/internals/to-object.js"),G=l("./node_modules/core-js/internals/shared-key.js"),R=l("./node_modules/core-js/internals/correct-prototype-getter.js"),Z=G("IE_PROTO"),A=Object.prototype;y.exports=R?Object.getPrototypeOf:function($){return $=W($),L($,Z)?$[Z]:typeof $.constructor=="function"&&$ instanceof $.constructor?$.constructor.prototype:$ instanceof Object?A:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(y,U,l){var L=l("./node_modules/core-js/internals/has.js"),W=l("./node_modules/core-js/internals/to-indexed-object.js"),G=l("./node_modules/core-js/internals/array-includes.js").indexOf,R=l("./node_modules/core-js/internals/hidden-keys.js");y.exports=function(Z,A){var $=W(Z),w=0,j=[],de;for(de in $)!L(R,de)&&L($,de)&&j.push(de);for(;A.length>w;)L($,de=A[w++])&&(~G(j,de)||j.push(de));return j}},"./node_modules/core-js/internals/object-keys.js":function(y,U,l){var L=l("./node_modules/core-js/internals/object-keys-internal.js"),W=l("./node_modules/core-js/internals/enum-bug-keys.js");y.exports=Object.keys||function(R){return L(R,W)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(y,U){"use strict";var l={}.propertyIsEnumerable,L=Object.getOwnPropertyDescriptor,W=L&&!l.call({1:2},1);U.f=W?function(R){var Z=L(this,R);return!!Z&&Z.enumerable}:l},"./node_modules/core-js/internals/object-set-prototype-of.js":function(y,U,l){var L=l("./node_modules/core-js/internals/an-object.js"),W=l("./node_modules/core-js/internals/a-possible-prototype.js");y.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var G=!1,R={},Z;try{Z=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,Z.call(R,[]),G=R instanceof Array}catch(A){}return function($,w){return L($),W(w),G?Z.call($,w):$.__proto__=w,$}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(y,U,l){"use strict";var L=l("./node_modules/core-js/internals/to-string-tag-support.js"),W=l("./node_modules/core-js/internals/classof.js");y.exports=L?{}.toString:function(){return"[object "+W(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(y,U,l){var L=l("./node_modules/core-js/internals/is-object.js");y.exports=function(W,G){var R,Z;if(G==="string"&&typeof(R=W.toString)=="function"&&!L(Z=R.call(W))||typeof(R=W.valueOf)=="function"&&!L(Z=R.call(W))||G!=="string"&&typeof(R=W.toString)=="function"&&!L(Z=R.call(W)))return Z;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(y,U,l){var L=l("./node_modules/core-js/internals/get-built-in.js"),W=l("./node_modules/core-js/internals/object-get-own-property-names.js"),G=l("./node_modules/core-js/internals/object-get-own-property-symbols.js"),R=l("./node_modules/core-js/internals/an-object.js");y.exports=L("Reflect","ownKeys")||function(A){var $=W.f(R(A)),w=G.f;return w?$.concat(w(A)):$}},"./node_modules/core-js/internals/path.js":function(y,U,l){var L=l("./node_modules/core-js/internals/global.js");y.exports=L},"./node_modules/core-js/internals/redefine.js":function(y,U,l){var L=l("./node_modules/core-js/internals/global.js"),W=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),G=l("./node_modules/core-js/internals/has.js"),R=l("./node_modules/core-js/internals/set-global.js"),Z=l("./node_modules/core-js/internals/inspect-source.js"),A=l("./node_modules/core-js/internals/internal-state.js"),$=A.get,w=A.enforce,j=String(String).split("String");(y.exports=function(de,X,J,Ne){var Le=Ne?!!Ne.unsafe:!1,et=Ne?!!Ne.enumerable:!1,Ue=Ne?!!Ne.noTargetGet:!1,Ce;if(typeof J=="function"&&(typeof X=="string"&&!G(J,"name")&&W(J,"name",X),Ce=w(J),Ce.source||(Ce.source=j.join(typeof X=="string"?X:""))),de===L){et?de[X]=J:R(X,J);return}else Le?!Ue&&de[X]&&(et=!0):delete de[X];et?de[X]=J:W(de,X,J)})(Function.prototype,"toString",function(){return typeof this=="function"&&$(this).source||Z(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(y,U,l){"use strict";var L=l("./node_modules/core-js/internals/an-object.js");y.exports=function(){var W=L(this),G="";return W.global&&(G+="g"),W.ignoreCase&&(G+="i"),W.multiline&&(G+="m"),W.dotAll&&(G+="s"),W.unicode&&(G+="u"),W.sticky&&(G+="y"),G}},"./node_modules/core-js/internals/require-object-coercible.js":function(y){y.exports=function(U){if(U==null)throw TypeError("Can't call method on "+U);return U}},"./node_modules/core-js/internals/set-global.js":function(y,U,l){var L=l("./node_modules/core-js/internals/global.js");y.exports=function(W,G){try{Object.defineProperty(L,W,{value:G,configurable:!0,writable:!0})}catch(R){L[W]=G}return G}},"./node_modules/core-js/internals/set-to-string-tag.js":function(y,U,l){var L=l("./node_modules/core-js/internals/object-define-property.js").f,W=l("./node_modules/core-js/internals/has.js"),G=l("./node_modules/core-js/internals/well-known-symbol.js"),R=G("toStringTag");y.exports=function(Z,A,$){Z&&!W(Z=$?Z:Z.prototype,R)&&L(Z,R,{configurable:!0,value:A})}},"./node_modules/core-js/internals/shared-key.js":function(y,U,l){var L=l("./node_modules/core-js/internals/shared.js"),W=l("./node_modules/core-js/internals/uid.js"),G=L("keys");y.exports=function(R){return G[R]||(G[R]=W(R))}},"./node_modules/core-js/internals/shared-store.js":function(y,U,l){var L=l("./node_modules/core-js/internals/global.js"),W=l("./node_modules/core-js/internals/set-global.js"),G="__core-js_shared__",R=L[G]||W(G,{});y.exports=R},"./node_modules/core-js/internals/shared.js":function(y,U,l){var L=l("./node_modules/core-js/internals/is-pure.js"),W=l("./node_modules/core-js/internals/shared-store.js");(y.exports=function(G,R){return W[G]||(W[G]=R!==void 0?R:{})})("versions",[]).push({version:"3.16.0",mode:L?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(y,U,l){var L=l("./node_modules/core-js/internals/fails.js");y.exports=function(W){return L(function(){var G=""[W]('"');return G!==G.toLowerCase()||G.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(y,U,l){var L=l("./node_modules/core-js/internals/to-integer.js"),W=l("./node_modules/core-js/internals/to-string.js"),G=l("./node_modules/core-js/internals/require-object-coercible.js"),R=function(Z){return function(A,$){var w=W(G(A)),j=L($),de=w.length,X,J;return j<0||j>=de?Z?"":void 0:(X=w.charCodeAt(j),X<55296||X>56319||j+1===de||(J=w.charCodeAt(j+1))<56320||J>57343?Z?w.charAt(j):X:Z?w.slice(j,j+2):(X-55296<<10)+(J-56320)+65536)}};y.exports={codeAt:R(!1),charAt:R(!0)}},"./node_modules/core-js/internals/string-trim.js":function(y,U,l){var L=l("./node_modules/core-js/internals/require-object-coercible.js"),W=l("./node_modules/core-js/internals/to-string.js"),G=l("./node_modules/core-js/internals/whitespaces.js"),R="["+G+"]",Z=RegExp("^"+R+R+"*"),A=RegExp(R+R+"*$"),$=function(w){return function(j){var de=W(L(j));return w&1&&(de=de.replace(Z,"")),w&2&&(de=de.replace(A,"")),de}};y.exports={start:$(1),end:$(2),trim:$(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(y,U,l){var L=l("./node_modules/core-js/internals/to-integer.js"),W=Math.max,G=Math.min;y.exports=function(R,Z){var A=L(R);return A<0?W(A+Z,0):G(A,Z)}},"./node_modules/core-js/internals/to-indexed-object.js":function(y,U,l){var L=l("./node_modules/core-js/internals/indexed-object.js"),W=l("./node_modules/core-js/internals/require-object-coercible.js");y.exports=function(G){return L(W(G))}},"./node_modules/core-js/internals/to-integer.js":function(y){var U=Math.ceil,l=Math.floor;y.exports=function(L){return isNaN(L=+L)?0:(L>0?l:U)(L)}},"./node_modules/core-js/internals/to-length.js":function(y,U,l){var L=l("./node_modules/core-js/internals/to-integer.js"),W=Math.min;y.exports=function(G){return G>0?W(L(G),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(y,U,l){var L=l("./node_modules/core-js/internals/require-object-coercible.js");y.exports=function(W){return Object(L(W))}},"./node_modules/core-js/internals/to-primitive.js":function(y,U,l){var L=l("./node_modules/core-js/internals/is-object.js"),W=l("./node_modules/core-js/internals/is-symbol.js"),G=l("./node_modules/core-js/internals/ordinary-to-primitive.js"),R=l("./node_modules/core-js/internals/well-known-symbol.js"),Z=R("toPrimitive");y.exports=function(A,$){if(!L(A)||W(A))return A;var w=A[Z],j;if(w!==void 0){if($===void 0&&($="default"),j=w.call(A,$),!L(j)||W(j))return j;throw TypeError("Can't convert object to primitive value")}return $===void 0&&($="number"),G(A,$)}},"./node_modules/core-js/internals/to-property-key.js":function(y,U,l){var L=l("./node_modules/core-js/internals/to-primitive.js"),W=l("./node_modules/core-js/internals/is-symbol.js");y.exports=function(G){var R=L(G,"string");return W(R)?R:String(R)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(y,U,l){var L=l("./node_modules/core-js/internals/well-known-symbol.js"),W=L("toStringTag"),G={};G[W]="z",y.exports=String(G)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(y,U,l){var L=l("./node_modules/core-js/internals/is-symbol.js");y.exports=function(W){if(L(W))throw TypeError("Cannot convert a Symbol value to a string");return String(W)}},"./node_modules/core-js/internals/uid.js":function(y){var U=0,l=Math.random();y.exports=function(L){return"Symbol("+String(L===void 0?"":L)+")_"+(++U+l).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(y,U,l){var L=l("./node_modules/core-js/internals/native-symbol.js");y.exports=L&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(y,U,l){var L=l("./node_modules/core-js/internals/well-known-symbol.js");U.f=L},"./node_modules/core-js/internals/well-known-symbol.js":function(y,U,l){var L=l("./node_modules/core-js/internals/global.js"),W=l("./node_modules/core-js/internals/shared.js"),G=l("./node_modules/core-js/internals/has.js"),R=l("./node_modules/core-js/internals/uid.js"),Z=l("./node_modules/core-js/internals/native-symbol.js"),A=l("./node_modules/core-js/internals/use-symbol-as-uid.js"),$=W("wks"),w=L.Symbol,j=A?w:w&&w.withoutSetter||R;y.exports=function(de){return(!G($,de)||!(Z||typeof $[de]=="string"))&&(Z&&G(w,de)?$[de]=w[de]:$[de]=j("Symbol."+de)),$[de]}},"./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,U,l){"use strict";var L=l("./node_modules/core-js/internals/export.js"),W=l("./node_modules/core-js/internals/fails.js"),G=l("./node_modules/core-js/internals/is-array.js"),R=l("./node_modules/core-js/internals/is-object.js"),Z=l("./node_modules/core-js/internals/to-object.js"),A=l("./node_modules/core-js/internals/to-length.js"),$=l("./node_modules/core-js/internals/create-property.js"),w=l("./node_modules/core-js/internals/array-species-create.js"),j=l("./node_modules/core-js/internals/array-method-has-species-support.js"),de=l("./node_modules/core-js/internals/well-known-symbol.js"),X=l("./node_modules/core-js/internals/engine-v8-version.js"),J=de("isConcatSpreadable"),Ne=9007199254740991,Le="Maximum allowed index exceeded",et=X>=51||!W(function(){var Y=[];return Y[J]=!1,Y.concat()[0]!==Y}),Ue=j("concat"),Ce=function(Y){if(!R(Y))return!1;var xe=Y[J];return xe!==void 0?!!xe:G(Y)},Oe=!et||!Ue;L({target:"Array",proto:!0,forced:Oe},{concat:function(xe){var M=Z(this),E=w(M,0),st=0,ce,le,H,_,re;for(ce=-1,H=arguments.length;ce<H;ce++)if(re=ce===-1?M:arguments[ce],Ce(re)){if(_=A(re.length),st+_>Ne)throw TypeError(Le);for(le=0;le<_;le++,st++)le in re&&$(E,st,re[le])}else{if(st>=Ne)throw TypeError(Le);$(E,st++,re)}return E.length=st,E}})},"./node_modules/core-js/modules/es.array.iterator.js":function(y,U,l){"use strict";var L=l("./node_modules/core-js/internals/to-indexed-object.js"),W=l("./node_modules/core-js/internals/add-to-unscopables.js"),G=l("./node_modules/core-js/internals/iterators.js"),R=l("./node_modules/core-js/internals/internal-state.js"),Z=l("./node_modules/core-js/internals/define-iterator.js"),A="Array Iterator",$=R.set,w=R.getterFor(A);y.exports=Z(Array,"Array",function(j,de){$(this,{type:A,target:L(j),index:0,kind:de})},function(){var j=w(this),de=j.target,X=j.kind,J=j.index++;return!de||J>=de.length?(j.target=void 0,{value:void 0,done:!0}):X=="keys"?{value:J,done:!1}:X=="values"?{value:de[J],done:!1}:{value:[J,de[J]],done:!1}},"values"),G.Arguments=G.Array,W("keys"),W("values"),W("entries")},"./node_modules/core-js/modules/es.array.join.js":function(y,U,l){"use strict";var L=l("./node_modules/core-js/internals/export.js"),W=l("./node_modules/core-js/internals/indexed-object.js"),G=l("./node_modules/core-js/internals/to-indexed-object.js"),R=l("./node_modules/core-js/internals/array-method-is-strict.js"),Z=[].join,A=W!=Object,$=R("join",",");L({target:"Array",proto:!0,forced:A||!$},{join:function(j){return Z.call(G(this),j===void 0?",":j)}})},"./node_modules/core-js/modules/es.array.map.js":function(y,U,l){"use strict";var L=l("./node_modules/core-js/internals/export.js"),W=l("./node_modules/core-js/internals/array-iteration.js").map,G=l("./node_modules/core-js/internals/array-method-has-species-support.js"),R=G("map");L({target:"Array",proto:!0,forced:!R},{map:function(A){return W(this,A,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(y,U,l){"use strict";var L=l("./node_modules/core-js/internals/export.js"),W=l("./node_modules/core-js/internals/is-object.js"),G=l("./node_modules/core-js/internals/is-array.js"),R=l("./node_modules/core-js/internals/to-absolute-index.js"),Z=l("./node_modules/core-js/internals/to-length.js"),A=l("./node_modules/core-js/internals/to-indexed-object.js"),$=l("./node_modules/core-js/internals/create-property.js"),w=l("./node_modules/core-js/internals/well-known-symbol.js"),j=l("./node_modules/core-js/internals/array-method-has-species-support.js"),de=j("slice"),X=w("species"),J=[].slice,Ne=Math.max;L({target:"Array",proto:!0,forced:!de},{slice:function(et,Ue){var Ce=A(this),Oe=Z(Ce.length),Y=R(et,Oe),xe=R(Ue===void 0?Oe:Ue,Oe),M,E,st;if(G(Ce)&&(M=Ce.constructor,typeof M=="function"&&(M===Array||G(M.prototype))?M=void 0:W(M)&&(M=M[X],M===null&&(M=void 0)),M===Array||M===void 0))return J.call(Ce,Y,xe);for(E=new(M===void 0?Array:M)(Ne(xe-Y,0)),st=0;Y<xe;Y++,st++)Y in Ce&&$(E,st,Ce[Y]);return E.length=st,E}})},"./node_modules/core-js/modules/es.function.name.js":function(y,U,l){var L=l("./node_modules/core-js/internals/descriptors.js"),W=l("./node_modules/core-js/internals/object-define-property.js").f,G=Function.prototype,R=G.toString,Z=/^\s*function ([^ (]*)/,A="name";L&&!(A in G)&&W(G,A,{configurable:!0,get:function(){try{return R.call(this).match(Z)[1]}catch($){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(y,U,l){"use strict";var L=l("./node_modules/core-js/internals/descriptors.js"),W=l("./node_modules/core-js/internals/global.js"),G=l("./node_modules/core-js/internals/is-forced.js"),R=l("./node_modules/core-js/internals/redefine.js"),Z=l("./node_modules/core-js/internals/has.js"),A=l("./node_modules/core-js/internals/classof-raw.js"),$=l("./node_modules/core-js/internals/inherit-if-required.js"),w=l("./node_modules/core-js/internals/is-symbol.js"),j=l("./node_modules/core-js/internals/to-primitive.js"),de=l("./node_modules/core-js/internals/fails.js"),X=l("./node_modules/core-js/internals/object-create.js"),J=l("./node_modules/core-js/internals/object-get-own-property-names.js").f,Ne=l("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Le=l("./node_modules/core-js/internals/object-define-property.js").f,et=l("./node_modules/core-js/internals/string-trim.js").trim,Ue="Number",Ce=W[Ue],Oe=Ce.prototype,Y=A(X(Oe))==Ue,xe=function(le){if(w(le))throw TypeError("Cannot convert a Symbol value to a number");var H=j(le,"number"),_,re,T,ne,Fe,ye,lt,ft;if(typeof H=="string"&&H.length>2){if(H=et(H),_=H.charCodeAt(0),_===43||_===45){if(re=H.charCodeAt(2),re===88||re===120)return NaN}else if(_===48){switch(H.charCodeAt(1)){case 66:case 98:T=2,ne=49;break;case 79:case 111:T=8,ne=55;break;default:return+H}for(Fe=H.slice(2),ye=Fe.length,lt=0;lt<ye;lt++)if(ft=Fe.charCodeAt(lt),ft<48||ft>ne)return NaN;return parseInt(Fe,T)}}return+H};if(G(Ue,!Ce(" 0o1")||!Ce("0b1")||Ce("+0x1"))){for(var M=function(H){var _=arguments.length<1?0:H,re=this;return re instanceof M&&(Y?de(function(){Oe.valueOf.call(re)}):A(re)!=Ue)?$(new Ce(xe(_)),re,M):xe(_)},E=L?J(Ce):"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(","),st=0,ce;E.length>st;st++)Z(Ce,ce=E[st])&&!Z(M,ce)&&Le(M,ce,Ne(Ce,ce));M.prototype=Oe,Oe.constructor=M,R(W,Ue,M)}},"./node_modules/core-js/modules/es.object.assign.js":function(y,U,l){var L=l("./node_modules/core-js/internals/export.js"),W=l("./node_modules/core-js/internals/object-assign.js");L({target:"Object",stat:!0,forced:Object.assign!==W},{assign:W})},"./node_modules/core-js/modules/es.object.keys.js":function(y,U,l){var L=l("./node_modules/core-js/internals/export.js"),W=l("./node_modules/core-js/internals/to-object.js"),G=l("./node_modules/core-js/internals/object-keys.js"),R=l("./node_modules/core-js/internals/fails.js"),Z=R(function(){G(1)});L({target:"Object",stat:!0,forced:Z},{keys:function($){return G(W($))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(y,U,l){var L=l("./node_modules/core-js/internals/to-string-tag-support.js"),W=l("./node_modules/core-js/internals/redefine.js"),G=l("./node_modules/core-js/internals/object-to-string.js");L||W(Object.prototype,"toString",G,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(y,U,l){"use strict";var L=l("./node_modules/core-js/internals/redefine.js"),W=l("./node_modules/core-js/internals/an-object.js"),G=l("./node_modules/core-js/internals/to-string.js"),R=l("./node_modules/core-js/internals/fails.js"),Z=l("./node_modules/core-js/internals/regexp-flags.js"),A="toString",$=RegExp.prototype,w=$[A],j=R(function(){return w.call({source:"a",flags:"b"})!="/a/b"}),de=w.name!=A;(j||de)&&L(RegExp.prototype,A,function(){var J=W(this),Ne=G(J.source),Le=J.flags,et=G(Le===void 0&&J instanceof RegExp&&!("flags"in $)?Z.call(J):Le);return"/"+Ne+"/"+et},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(y,U,l){"use strict";var L=l("./node_modules/core-js/internals/string-multibyte.js").charAt,W=l("./node_modules/core-js/internals/to-string.js"),G=l("./node_modules/core-js/internals/internal-state.js"),R=l("./node_modules/core-js/internals/define-iterator.js"),Z="String Iterator",A=G.set,$=G.getterFor(Z);R(String,"String",function(w){A(this,{type:Z,string:W(w),index:0})},function(){var j=$(this),de=j.string,X=j.index,J;return X>=de.length?{value:void 0,done:!0}:(J=L(de,X),j.index+=J.length,{value:J,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(y,U,l){"use strict";var L=l("./node_modules/core-js/internals/export.js"),W=l("./node_modules/core-js/internals/create-html.js"),G=l("./node_modules/core-js/internals/string-html-forced.js");L({target:"String",proto:!0,forced:G("link")},{link:function(Z){return W(this,"a","href",Z)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(y,U,l){"use strict";var L=l("./node_modules/core-js/internals/export.js"),W=l("./node_modules/core-js/internals/descriptors.js"),G=l("./node_modules/core-js/internals/global.js"),R=l("./node_modules/core-js/internals/has.js"),Z=l("./node_modules/core-js/internals/is-object.js"),A=l("./node_modules/core-js/internals/object-define-property.js").f,$=l("./node_modules/core-js/internals/copy-constructor-properties.js"),w=G.Symbol;if(W&&typeof w=="function"&&(!("description"in w.prototype)||w().description!==void 0)){var j={},de=function(){var Ue=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),Ce=this instanceof de?new w(Ue):Ue===void 0?w():w(Ue);return Ue===""&&(j[Ce]=!0),Ce};$(de,w);var X=de.prototype=w.prototype;X.constructor=de;var J=X.toString,Ne=String(w("test"))=="Symbol(test)",Le=/^Symbol\((.*)\)[^)]+$/;A(X,"description",{configurable:!0,get:function(){var Ue=Z(this)?this.valueOf():this,Ce=J.call(Ue);if(R(j,Ue))return"";var Oe=Ne?Ce.slice(7,-1):Ce.replace(Le,"$1");return Oe===""?void 0:Oe}}),L({global:!0,forced:!0},{Symbol:de})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(y,U,l){var L=l("./node_modules/core-js/internals/define-well-known-symbol.js");L("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(y,U,l){"use strict";var L=l("./node_modules/core-js/internals/export.js"),W=l("./node_modules/core-js/internals/global.js"),G=l("./node_modules/core-js/internals/get-built-in.js"),R=l("./node_modules/core-js/internals/is-pure.js"),Z=l("./node_modules/core-js/internals/descriptors.js"),A=l("./node_modules/core-js/internals/native-symbol.js"),$=l("./node_modules/core-js/internals/fails.js"),w=l("./node_modules/core-js/internals/has.js"),j=l("./node_modules/core-js/internals/is-array.js"),de=l("./node_modules/core-js/internals/is-object.js"),X=l("./node_modules/core-js/internals/is-symbol.js"),J=l("./node_modules/core-js/internals/an-object.js"),Ne=l("./node_modules/core-js/internals/to-object.js"),Le=l("./node_modules/core-js/internals/to-indexed-object.js"),et=l("./node_modules/core-js/internals/to-property-key.js"),Ue=l("./node_modules/core-js/internals/to-string.js"),Ce=l("./node_modules/core-js/internals/create-property-descriptor.js"),Oe=l("./node_modules/core-js/internals/object-create.js"),Y=l("./node_modules/core-js/internals/object-keys.js"),xe=l("./node_modules/core-js/internals/object-get-own-property-names.js"),M=l("./node_modules/core-js/internals/object-get-own-property-names-external.js"),E=l("./node_modules/core-js/internals/object-get-own-property-symbols.js"),st=l("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ce=l("./node_modules/core-js/internals/object-define-property.js"),le=l("./node_modules/core-js/internals/object-property-is-enumerable.js"),H=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),_=l("./node_modules/core-js/internals/redefine.js"),re=l("./node_modules/core-js/internals/shared.js"),T=l("./node_modules/core-js/internals/shared-key.js"),ne=l("./node_modules/core-js/internals/hidden-keys.js"),Fe=l("./node_modules/core-js/internals/uid.js"),ye=l("./node_modules/core-js/internals/well-known-symbol.js"),lt=l("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),ft=l("./node_modules/core-js/internals/define-well-known-symbol.js"),pt=l("./node_modules/core-js/internals/set-to-string-tag.js"),he=l("./node_modules/core-js/internals/internal-state.js"),We=l("./node_modules/core-js/internals/array-iteration.js").forEach,jt=T("hidden"),ze="Symbol",Be="prototype",P=ye("toPrimitive"),ct=he.set,Se=he.getterFor(ze),fe=Object[Be],ue=W.Symbol,ge=G("JSON","stringify"),$e=st.f,we=ce.f,Re=M.f,Je=le.f,wt=re("symbols"),At=re("op-symbols"),ar=re("string-to-symbol-registry"),qt=re("symbol-to-string-registry"),Nt=re("wks"),ht=W.QObject,Ot=!ht||!ht[Be]||!ht[Be].findChild,Tt=Z&&$(function(){return Oe(we({},"a",{get:function(){return we(this,"a",{value:7}).a}})).a!=7})?function(er,se,ke){var zr=$e(fe,se);zr&&delete fe[se],we(er,se,ke),zr&&er!==fe&&we(fe,se,zr)}:we,Ut=function(er,se){var ke=wt[er]=Oe(ue[Be]);return ct(ke,{type:ze,tag:er,description:se}),Z||(ke.description=se),ke},St=function(se,ke,zr){se===fe&&St(At,ke,zr),J(se);var Ir=et(ke);return J(zr),w(wt,Ir)?(zr.enumerable?(w(se,jt)&&se[jt][Ir]&&(se[jt][Ir]=!1),zr=Oe(zr,{enumerable:Ce(0,!1)})):(w(se,jt)||we(se,jt,Ce(1,{})),se[jt][Ir]=!0),Tt(se,Ir,zr)):we(se,Ir,zr)},gr=function(se,ke){J(se);var zr=Le(ke),Ir=Y(zr).concat(S(zr));return We(Ir,function(yn){(!Z||Cr.call(zr,yn))&&St(se,yn,zr[yn])}),se},lr=function(se,ke){return ke===void 0?Oe(se):gr(Oe(se),ke)},Cr=function(se){var ke=et(se),zr=Je.call(this,ke);return this===fe&&w(wt,ke)&&!w(At,ke)?!1:zr||!w(this,ke)||!w(wt,ke)||w(this,jt)&&this[jt][ke]?zr:!0},rn=function(se,ke){var zr=Le(se),Ir=et(ke);if(!(zr===fe&&w(wt,Ir)&&!w(At,Ir))){var yn=$e(zr,Ir);return yn&&w(wt,Ir)&&!(w(zr,jt)&&zr[jt][Ir])&&(yn.enumerable=!0),yn}},Er=function(se){var ke=Re(Le(se)),zr=[];return We(ke,function(Ir){!w(wt,Ir)&&!w(ne,Ir)&&zr.push(Ir)}),zr},S=function(se){var ke=se===fe,zr=Re(ke?At:Le(se)),Ir=[];return We(zr,function(yn){w(wt,yn)&&(!ke||w(fe,yn))&&Ir.push(wt[yn])}),Ir};if(A||(ue=function(){if(this instanceof ue)throw TypeError("Symbol is not a constructor");var se=!arguments.length||arguments[0]===void 0?void 0:Ue(arguments[0]),ke=Fe(se),zr=function(Ir){this===fe&&zr.call(At,Ir),w(this,jt)&&w(this[jt],ke)&&(this[jt][ke]=!1),Tt(this,ke,Ce(1,Ir))};return Z&&Ot&&Tt(fe,ke,{configurable:!0,set:zr}),Ut(ke,se)},_(ue[Be],"toString",function(){return Se(this).tag}),_(ue,"withoutSetter",function(er){return Ut(Fe(er),er)}),le.f=Cr,ce.f=St,st.f=rn,xe.f=M.f=Er,E.f=S,lt.f=function(er){return Ut(ye(er),er)},Z&&(we(ue[Be],"description",{configurable:!0,get:function(){return Se(this).description}}),R||_(fe,"propertyIsEnumerable",Cr,{unsafe:!0}))),L({global:!0,wrap:!0,forced:!A,sham:!A},{Symbol:ue}),We(Y(Nt),function(er){ft(er)}),L({target:ze,stat:!0,forced:!A},{for:function(er){var se=Ue(er);if(w(ar,se))return ar[se];var ke=ue(se);return ar[se]=ke,qt[ke]=se,ke},keyFor:function(se){if(!X(se))throw TypeError(se+" is not a symbol");if(w(qt,se))return qt[se]},useSetter:function(){Ot=!0},useSimple:function(){Ot=!1}}),L({target:"Object",stat:!0,forced:!A,sham:!Z},{create:lr,defineProperty:St,defineProperties:gr,getOwnPropertyDescriptor:rn}),L({target:"Object",stat:!0,forced:!A},{getOwnPropertyNames:Er,getOwnPropertySymbols:S}),L({target:"Object",stat:!0,forced:$(function(){E.f(1)})},{getOwnPropertySymbols:function(se){return E.f(Ne(se))}}),ge){var N=!A||$(function(){var er=ue();return ge([er])!="[null]"||ge({a:er})!="{}"||ge(Object(er))!="{}"});L({target:"JSON",stat:!0,forced:N},{stringify:function(se,ke,zr){for(var Ir=[se],yn=1,Bn;arguments.length>yn;)Ir.push(arguments[yn++]);if(Bn=ke,!(!de(ke)&&se===void 0||X(se)))return j(ke)||(ke=function(zt,yr){if(typeof Bn=="function"&&(yr=Bn.call(this,zt,yr)),!X(yr))return yr}),Ir[1]=ke,ge.apply(null,Ir)}})}ue[Be][P]||H(ue[Be],P,ue[Be].valueOf),pt(ue,ze),ne[jt]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(y,U,l){var L=l("./node_modules/core-js/internals/global.js"),W=l("./node_modules/core-js/internals/dom-iterables.js"),G=l("./node_modules/core-js/internals/array-for-each.js"),R=l("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var Z in W){var A=L[Z],$=A&&A.prototype;if($&&$.forEach!==G)try{R($,"forEach",G)}catch(w){$.forEach=G}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(y,U,l){var L=l("./node_modules/core-js/internals/global.js"),W=l("./node_modules/core-js/internals/dom-iterables.js"),G=l("./node_modules/core-js/modules/es.array.iterator.js"),R=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),Z=l("./node_modules/core-js/internals/well-known-symbol.js"),A=Z("iterator"),$=Z("toStringTag"),w=G.values;for(var j in W){var de=L[j],X=de&&de.prototype;if(X){if(X[A]!==w)try{R(X,A,w)}catch(Ne){X[A]=w}if(X[$]||R(X,$,j),W[j]){for(var J in G)if(X[J]!==G[J])try{R(X,J,G[J])}catch(Ne){X[J]=G[J]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(y){(function(U,l){y.exports=l()})(this,function(){"use strict";function U(ht){var Ot=typeof ht;return ht!==null&&(Ot==="object"||Ot==="function")}function l(ht){return typeof ht=="function"}var L=void 0;Array.isArray?L=Array.isArray:L=function(ht){return Object.prototype.toString.call(ht)==="[object Array]"};var W=L,G=0,R=void 0,Z=void 0,A=function(Ot,Tt){Y[G]=Ot,Y[G+1]=Tt,G+=2,G===2&&(Z?Z(xe):E())};function $(ht){Z=ht}function w(ht){A=ht}var j=typeof window!="undefined"?window:void 0,de=j||{},X=de.MutationObserver||de.WebKitMutationObserver,J=typeof self=="undefined"&&typeof s!="undefined"&&{}.toString.call(s)==="[object process]",Ne=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Le(){return function(){return s.nextTick(xe)}}function et(){return typeof R!="undefined"?function(){R(xe)}:Oe()}function Ue(){var ht=0,Ot=new X(xe),Tt=document.createTextNode("");return Ot.observe(Tt,{characterData:!0}),function(){Tt.data=ht=++ht%2}}function Ce(){var ht=new MessageChannel;return ht.port1.onmessage=xe,function(){return ht.port2.postMessage(0)}}function Oe(){var ht=setTimeout;return function(){return ht(xe,1)}}var Y=new Array(1e3);function xe(){for(var ht=0;ht<G;ht+=2){var Ot=Y[ht],Tt=Y[ht+1];Ot(Tt),Y[ht]=void 0,Y[ht+1]=void 0}G=0}function M(){try{var ht=Function("return this")().require("vertx");return R=ht.runOnLoop||ht.runOnContext,et()}catch(Ot){return Oe()}}var E=void 0;J?E=Le():X?E=Ue():Ne?E=Ce():j===void 0?E=M():E=Oe();function st(ht,Ot){var Tt=this,Ut=new this.constructor(H);Ut[le]===void 0&&ge(Ut);var St=Tt._state;if(St){var gr=arguments[St-1];A(function(){return ct(St,Ut,gr,Tt._result)})}else Be(Tt,Ut,ht,Ot);return Ut}function ce(ht){var Ot=this;if(ht&&typeof ht=="object"&&ht.constructor===Ot)return ht;var Tt=new Ot(H);return he(Tt,ht),Tt}var le=Math.random().toString(36).substring(2);function H(){}var _=void 0,re=1,T=2;function ne(){return new TypeError("You cannot resolve a promise with itself")}function Fe(){return new TypeError("A promises callback cannot return that same promise.")}function ye(ht,Ot,Tt,Ut){try{ht.call(Ot,Tt,Ut)}catch(St){return St}}function lt(ht,Ot,Tt){A(function(Ut){var St=!1,gr=ye(Tt,Ot,function(lr){St||(St=!0,Ot!==lr?he(Ut,lr):jt(Ut,lr))},function(lr){St||(St=!0,ze(Ut,lr))},"Settle: "+(Ut._label||" unknown promise"));!St&&gr&&(St=!0,ze(Ut,gr))},ht)}function ft(ht,Ot){Ot._state===re?jt(ht,Ot._result):Ot._state===T?ze(ht,Ot._result):Be(Ot,void 0,function(Tt){return he(ht,Tt)},function(Tt){return ze(ht,Tt)})}function pt(ht,Ot,Tt){Ot.constructor===ht.constructor&&Tt===st&&Ot.constructor.resolve===ce?ft(ht,Ot):Tt===void 0?jt(ht,Ot):l(Tt)?lt(ht,Ot,Tt):jt(ht,Ot)}function he(ht,Ot){if(ht===Ot)ze(ht,ne());else if(U(Ot)){var Tt=void 0;try{Tt=Ot.then}catch(Ut){ze(ht,Ut);return}pt(ht,Ot,Tt)}else jt(ht,Ot)}function We(ht){ht._onerror&&ht._onerror(ht._result),P(ht)}function jt(ht,Ot){ht._state===_&&(ht._result=Ot,ht._state=re,ht._subscribers.length!==0&&A(P,ht))}function ze(ht,Ot){ht._state===_&&(ht._state=T,ht._result=Ot,A(We,ht))}function Be(ht,Ot,Tt,Ut){var St=ht._subscribers,gr=St.length;ht._onerror=null,St[gr]=Ot,St[gr+re]=Tt,St[gr+T]=Ut,gr===0&&ht._state&&A(P,ht)}function P(ht){var Ot=ht._subscribers,Tt=ht._state;if(Ot.length!==0){for(var Ut=void 0,St=void 0,gr=ht._result,lr=0;lr<Ot.length;lr+=3)Ut=Ot[lr],St=Ot[lr+Tt],Ut?ct(Tt,Ut,St,gr):St(gr);ht._subscribers.length=0}}function ct(ht,Ot,Tt,Ut){var St=l(Tt),gr=void 0,lr=void 0,Cr=!0;if(St){try{gr=Tt(Ut)}catch(rn){Cr=!1,lr=rn}if(Ot===gr){ze(Ot,Fe());return}}else gr=Ut;Ot._state!==_||(St&&Cr?he(Ot,gr):Cr===!1?ze(Ot,lr):ht===re?jt(Ot,gr):ht===T&&ze(Ot,gr))}function Se(ht,Ot){try{Ot(function(Ut){he(ht,Ut)},function(Ut){ze(ht,Ut)})}catch(Tt){ze(ht,Tt)}}var fe=0;function ue(){return fe++}function ge(ht){ht[le]=fe++,ht._state=void 0,ht._result=void 0,ht._subscribers=[]}function $e(){return new Error("Array Methods must be provided an Array")}var we=function(){function ht(Ot,Tt){this._instanceConstructor=Ot,this.promise=new Ot(H),this.promise[le]||ge(this.promise),W(Tt)?(this.length=Tt.length,this._remaining=Tt.length,this._result=new Array(this.length),this.length===0?jt(this.promise,this._result):(this.length=this.length||0,this._enumerate(Tt),this._remaining===0&&jt(this.promise,this._result))):ze(this.promise,$e())}return ht.prototype._enumerate=function(Tt){for(var Ut=0;this._state===_&&Ut<Tt.length;Ut++)this._eachEntry(Tt[Ut],Ut)},ht.prototype._eachEntry=function(Tt,Ut){var St=this._instanceConstructor,gr=St.resolve;if(gr===ce){var lr=void 0,Cr=void 0,rn=!1;try{lr=Tt.then}catch(S){rn=!0,Cr=S}if(lr===st&&Tt._state!==_)this._settledAt(Tt._state,Ut,Tt._result);else if(typeof lr!="function")this._remaining--,this._result[Ut]=Tt;else if(St===qt){var Er=new St(H);rn?ze(Er,Cr):pt(Er,Tt,lr),this._willSettleAt(Er,Ut)}else this._willSettleAt(new St(function(S){return S(Tt)}),Ut)}else this._willSettleAt(gr(Tt),Ut)},ht.prototype._settledAt=function(Tt,Ut,St){var gr=this.promise;gr._state===_&&(this._remaining--,Tt===T?ze(gr,St):this._result[Ut]=St),this._remaining===0&&jt(gr,this._result)},ht.prototype._willSettleAt=function(Tt,Ut){var St=this;Be(Tt,void 0,function(gr){return St._settledAt(re,Ut,gr)},function(gr){return St._settledAt(T,Ut,gr)})},ht}();function Re(ht){return new we(this,ht).promise}function Je(ht){var Ot=this;return W(ht)?new Ot(function(Tt,Ut){for(var St=ht.length,gr=0;gr<St;gr++)Ot.resolve(ht[gr]).then(Tt,Ut)}):new Ot(function(Tt,Ut){return Ut(new TypeError("You must pass an array to race."))})}function wt(ht){var Ot=this,Tt=new Ot(H);return ze(Tt,ht),Tt}function At(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function ar(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var qt=function(){function ht(Ot){this[le]=ue(),this._result=this._state=void 0,this._subscribers=[],H!==Ot&&(typeof Ot!="function"&&At(),this instanceof ht?Se(this,Ot):ar())}return ht.prototype.catch=function(Tt){return this.then(null,Tt)},ht.prototype.finally=function(Tt){var Ut=this,St=Ut.constructor;return l(Tt)?Ut.then(function(gr){return St.resolve(Tt()).then(function(){return gr})},function(gr){return St.resolve(Tt()).then(function(){throw gr})}):Ut.then(Tt,Tt)},ht}();qt.prototype.then=st,qt.all=Re,qt.race=Je,qt.resolve=ce,qt.reject=wt,qt._setScheduler=$,qt._setAsap=w,qt._asap=A;function Nt(){var ht=void 0;if(typeof o.g!="undefined")ht=o.g;else if(typeof self!="undefined")ht=self;else try{ht=Function("return this")()}catch(Ut){throw new Error("polyfill failed because global object is unavailable in this environment")}var Ot=ht.Promise;if(Ot){var Tt=null;try{Tt=Object.prototype.toString.call(Ot.resolve())}catch(Ut){}if(Tt==="[object Promise]"&&!Ot.cast)return}ht.Promise=qt}return qt.polyfill=Nt,qt.Promise=qt,qt})},html2canvas:function(y){"use strict";y.exports=I},jspdf:function(y){"use strict";y.exports=qe}},te={};function q(y){var U=te[y];if(U!==void 0)return U.exports;var l=te[y]={exports:{}};return He[y].call(l.exports,l,l.exports,q),l.exports}(function(){q.n=function(y){var U=y&&y.__esModule?function(){return y.default}:function(){return y};return q.d(U,{a:U}),U}})(),function(){q.d=function(y,U){for(var l in U)q.o(U,l)&&!q.o(y,l)&&Object.defineProperty(y,l,{enumerable:!0,get:U[l]})}}(),function(){q.o=function(y,U){return Object.prototype.hasOwnProperty.call(y,U)}}(),function(){q.r=function(y){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})}}();var Q={};return function(){"use strict";q.r(Q);var y=q("./src/worker.js"),U=q("./src/plugin/jspdf-plugin.js"),l=q("./src/plugin/pagebreaks.js"),L=q("./src/plugin/hyperlinks.js"),W=function G(R,Z){var A=new G.Worker(Z);return R?A.from(R).save():A};W.Worker=y.default,Q.default=W}(),Q=Q.default,Q}()})},38520:function(en,Jt,o){"use strict";o.r(Jt),o.d(Jt,{AcroForm:function(){return se},AcroFormAppearance:function(){return N},AcroFormButton:function(){return St},AcroFormCheckBox:function(){return rn},AcroFormChoiceField:function(){return ht},AcroFormComboBox:function(){return Tt},AcroFormEditBox:function(){return Ut},AcroFormListBox:function(){return Ot},AcroFormPasswordField:function(){return S},AcroFormPushButton:function(){return gr},AcroFormRadioButton:function(){return lr},AcroFormTextField:function(){return Er},GState:function(){return E},ShadingPattern:function(){return ce},TilingPattern:function(){return le},default:function(){return H},jsPDF:function(){return H}});var s=o(26420),qe=o(6330);var I=function(){return typeof window!="undefined"?window:typeof o.g!="undefined"?o.g:typeof self!="undefined"?self:this}();function He(){I.console&&typeof I.console.log=="function"&&I.console.log.apply(I.console,arguments)}var te={log:He,warn:function(g){I.console&&(typeof I.console.warn=="function"?I.console.warn.apply(I.console,arguments):He.call(null,arguments))},error:function(g){I.console&&(typeof I.console.error=="function"?I.console.error.apply(I.console,arguments):He(g))}};function q(g,u,d){var v=new XMLHttpRequest;v.open("GET",g),v.responseType="blob",v.onload=function(){L(v.response,u,d)},v.onerror=function(){te.error("could not download file")},v.send()}function Q(g){var u=new XMLHttpRequest;u.open("HEAD",g,!1);try{u.send()}catch(d){}return u.status>=200&&u.status<=299}function y(g){try{g.dispatchEvent(new MouseEvent("click"))}catch(d){var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),g.dispatchEvent(u)}}var U,l,L=I.saveAs||((typeof window=="undefined"?"undefined":(0,s.Z)(window))!=="object"||window!==I?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(g,u,d){var v=I.URL||I.webkitURL,O=document.createElement("a");u=u||g.name||"download",O.download=u,O.rel="noopener",typeof g=="string"?(O.href=g,O.origin!==location.origin?Q(O.href)?q(g,u,d):y(O,O.target="_blank"):y(O)):(O.href=v.createObjectURL(g),setTimeout(function(){v.revokeObjectURL(O.href)},4e4),setTimeout(function(){y(O)},0))}:"msSaveOrOpenBlob"in navigator?function(g,u,d){if(u=u||g.name||"download",typeof g=="string")if(Q(g))q(g,u,d);else{var v=document.createElement("a");v.href=g,v.target="_blank",setTimeout(function(){y(v)})}else navigator.msSaveOrOpenBlob(function(O,b){return b===void 0?b={autoBom:!1}:(0,s.Z)(b)!=="object"&&(te.warn("Deprecated: Expected third argument to be a object"),b={autoBom:!b}),b.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(O.type)?new Blob(["\uFEFF",O],{type:O.type}):O}(g,d),u)}:function(g,u,d,v){if((v=v||open("","_blank"))&&(v.document.title=v.document.body.innerText="downloading..."),typeof g=="string")return q(g,u,d);var O=g.type==="application/octet-stream",b=/constructor/i.test(I.HTMLElement)||I.safari,z=/CriOS\/[\d]+/.test(navigator.userAgent);if((z||O&&b)&&(typeof FileReader=="undefined"?"undefined":(0,s.Z)(FileReader))==="object"){var V=new FileReader;V.onloadend=function(){var ot=V.result;ot=z?ot:ot.replace(/^data:[^;]*;/,"data:attachment/file;"),v?v.location.href=ot:location=ot,v=null},V.readAsDataURL(g)}else{var ee=I.URL||I.webkitURL,Ee=ee.createObjectURL(g);v?v.location=Ee:location.href=Ee,v=null,setTimeout(function(){ee.revokeObjectURL(Ee)},4e4)}});function W(g){var u;g=g||"",this.ok=!1,g.charAt(0)=="#"&&(g=g.substr(1,6)),g={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"}[g=(g=g.replace(/ /g,"")).toLowerCase()]||g;for(var d=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(V){return[parseInt(V[1]),parseInt(V[2]),parseInt(V[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(V){return[parseInt(V[1],16),parseInt(V[2],16),parseInt(V[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(V){return[parseInt(V[1]+V[1],16),parseInt(V[2]+V[2],16),parseInt(V[3]+V[3],16)]}}],v=0;v<d.length;v++){var O=d[v].re,b=d[v].process,z=O.exec(g);z&&(u=b(z),this.r=u[0],this.g=u[1],this.b=u[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 V=this.r.toString(16),ee=this.g.toString(16),Ee=this.b.toString(16);return V.length==1&&(V="0"+V),ee.length==1&&(ee="0"+ee),Ee.length==1&&(Ee="0"+Ee),"#"+V+ee+Ee}}function G(g,u){var d=g[0],v=g[1],O=g[2],b=g[3];d=Z(d,v,O,b,u[0],7,-680876936),b=Z(b,d,v,O,u[1],12,-389564586),O=Z(O,b,d,v,u[2],17,606105819),v=Z(v,O,b,d,u[3],22,-1044525330),d=Z(d,v,O,b,u[4],7,-176418897),b=Z(b,d,v,O,u[5],12,1200080426),O=Z(O,b,d,v,u[6],17,-1473231341),v=Z(v,O,b,d,u[7],22,-45705983),d=Z(d,v,O,b,u[8],7,1770035416),b=Z(b,d,v,O,u[9],12,-1958414417),O=Z(O,b,d,v,u[10],17,-42063),v=Z(v,O,b,d,u[11],22,-1990404162),d=Z(d,v,O,b,u[12],7,1804603682),b=Z(b,d,v,O,u[13],12,-40341101),O=Z(O,b,d,v,u[14],17,-1502002290),d=A(d,v=Z(v,O,b,d,u[15],22,1236535329),O,b,u[1],5,-165796510),b=A(b,d,v,O,u[6],9,-1069501632),O=A(O,b,d,v,u[11],14,643717713),v=A(v,O,b,d,u[0],20,-373897302),d=A(d,v,O,b,u[5],5,-701558691),b=A(b,d,v,O,u[10],9,38016083),O=A(O,b,d,v,u[15],14,-660478335),v=A(v,O,b,d,u[4],20,-405537848),d=A(d,v,O,b,u[9],5,568446438),b=A(b,d,v,O,u[14],9,-1019803690),O=A(O,b,d,v,u[3],14,-187363961),v=A(v,O,b,d,u[8],20,1163531501),d=A(d,v,O,b,u[13],5,-1444681467),b=A(b,d,v,O,u[2],9,-51403784),O=A(O,b,d,v,u[7],14,1735328473),d=$(d,v=A(v,O,b,d,u[12],20,-1926607734),O,b,u[5],4,-378558),b=$(b,d,v,O,u[8],11,-2022574463),O=$(O,b,d,v,u[11],16,1839030562),v=$(v,O,b,d,u[14],23,-35309556),d=$(d,v,O,b,u[1],4,-1530992060),b=$(b,d,v,O,u[4],11,1272893353),O=$(O,b,d,v,u[7],16,-155497632),v=$(v,O,b,d,u[10],23,-1094730640),d=$(d,v,O,b,u[13],4,681279174),b=$(b,d,v,O,u[0],11,-358537222),O=$(O,b,d,v,u[3],16,-722521979),v=$(v,O,b,d,u[6],23,76029189),d=$(d,v,O,b,u[9],4,-640364487),b=$(b,d,v,O,u[12],11,-421815835),O=$(O,b,d,v,u[15],16,530742520),d=w(d,v=$(v,O,b,d,u[2],23,-995338651),O,b,u[0],6,-198630844),b=w(b,d,v,O,u[7],10,1126891415),O=w(O,b,d,v,u[14],15,-1416354905),v=w(v,O,b,d,u[5],21,-57434055),d=w(d,v,O,b,u[12],6,1700485571),b=w(b,d,v,O,u[3],10,-1894986606),O=w(O,b,d,v,u[10],15,-1051523),v=w(v,O,b,d,u[1],21,-2054922799),d=w(d,v,O,b,u[8],6,1873313359),b=w(b,d,v,O,u[15],10,-30611744),O=w(O,b,d,v,u[6],15,-1560198380),v=w(v,O,b,d,u[13],21,1309151649),d=w(d,v,O,b,u[4],6,-145523070),b=w(b,d,v,O,u[11],10,-1120210379),O=w(O,b,d,v,u[2],15,718787259),v=w(v,O,b,d,u[9],21,-343485551),g[0]=Ue(d,g[0]),g[1]=Ue(v,g[1]),g[2]=Ue(O,g[2]),g[3]=Ue(b,g[3])}function R(g,u,d,v,O,b){return u=Ue(Ue(u,g),Ue(v,b)),Ue(u<<O|u>>>32-O,d)}function Z(g,u,d,v,O,b,z){return R(u&d|~u&v,g,u,O,b,z)}function A(g,u,d,v,O,b,z){return R(u&v|d&~v,g,u,O,b,z)}function $(g,u,d,v,O,b,z){return R(u^d^v,g,u,O,b,z)}function w(g,u,d,v,O,b,z){return R(d^(u|~v),g,u,O,b,z)}function j(g){var u,d=g.length,v=[1732584193,-271733879,-1732584194,271733878];for(u=64;u<=g.length;u+=64)G(v,de(g.substring(u-64,u)));g=g.substring(u-64);var O=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(u=0;u<g.length;u++)O[u>>2]|=g.charCodeAt(u)<<(u%4<<3);if(O[u>>2]|=128<<(u%4<<3),u>55)for(G(v,O),u=0;u<16;u++)O[u]=0;return O[14]=8*d,G(v,O),v}function de(g){var u,d=[];for(u=0;u<64;u+=4)d[u>>2]=g.charCodeAt(u)+(g.charCodeAt(u+1)<<8)+(g.charCodeAt(u+2)<<16)+(g.charCodeAt(u+3)<<24);return d}U=I.atob.bind(I),l=I.btoa.bind(I);var X="0123456789abcdef".split("");function J(g){for(var u="",d=0;d<4;d++)u+=X[g>>8*d+4&15]+X[g>>8*d&15];return u}function Ne(g){return String.fromCharCode((255&g)>>0,(65280&g)>>8,(16711680&g)>>16,(4278190080&g)>>24)}function Le(g){return j(g).map(Ne).join("")}var et=function(g){for(var u=0;u<g.length;u++)g[u]=J(g[u]);return g.join("")}(j("hello"))!="5d41402abc4b2a76b9719d911017c592";function Ue(g,u){if(et){var d=(65535&g)+(65535&u);return(g>>16)+(u>>16)+(d>>16)<<16|65535&d}return g+u&4294967295}function Ce(g,u){var d,v,O,b;if(g!==d){for(var z=(O=g,b=1+(256/g.length>>0),new Array(b+1).join(O)),V=[],ee=0;ee<256;ee++)V[ee]=ee;var Ee=0;for(ee=0;ee<256;ee++){var ot=V[ee];Ee=(Ee+ot+z.charCodeAt(ee))%256,V[ee]=V[Ee],V[Ee]=ot}d=g,v=V}else V=v;var Xe=u.length,gt=0,me=0,Ht="";for(ee=0;ee<Xe;ee++)me=(me+(ot=V[gt=(gt+1)%256]))%256,V[gt]=V[me],V[me]=ot,z=V[(V[gt]+V[me])%256],Ht+=String.fromCharCode(u.charCodeAt(ee)^z);return Ht}var Oe={print:4,modify:8,copy:16,"annot-forms":32};function Y(g,u,d,v){this.v=1,this.r=2;var O=192;g.forEach(function(V){if(Oe.perm!==void 0)throw new Error("Invalid permission: "+V);O+=Oe[V]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var b=(u+this.padding).substr(0,32),z=(d+this.padding).substr(0,32);this.O=this.processOwnerPassword(b,z),this.P=-(1+(255^O)),this.encryptionKey=Le(b+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(v)).substr(0,5),this.U=Ce(this.encryptionKey,this.padding)}function xe(g){if(/[^\u0000-\u00ff]/.test(g))throw new Error("Invalid PDF Name Object: "+g+", Only accept ASCII characters.");for(var u="",d=g.length,v=0;v<d;v++){var O=g.charCodeAt(v);O<33||O===35||O===37||O===40||O===41||O===47||O===60||O===62||O===91||O===93||O===123||O===125||O>126?u+="#"+("0"+O.toString(16)).slice(-2):u+=g[v]}return u}function M(g){if((0,s.Z)(g)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var u={};this.subscribe=function(d,v,O){if(O=O||!1,typeof d!="string"||typeof v!="function"||typeof O!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");u.hasOwnProperty(d)||(u[d]={});var b=Math.random().toString(35);return u[d][b]=[v,!!O],b},this.unsubscribe=function(d){for(var v in u)if(u[v][d])return delete u[v][d],Object.keys(u[v]).length===0&&delete u[v],!0;return!1},this.publish=function(d){if(u.hasOwnProperty(d)){var v=Array.prototype.slice.call(arguments,1),O=[];for(var b in u[d]){var z=u[d][b];try{z[0].apply(g,v)}catch(V){I.console&&te.error("jsPDF PubSub Error",V.message,V)}z[1]&&O.push(b)}O.length&&O.forEach(this.unsubscribe)}},this.getTopics=function(){return u}}function E(g){if(!(this instanceof E))return new E(g);var u="opacity,stroke-opacity".split(",");for(var d in g)g.hasOwnProperty(d)&&u.indexOf(d)>=0&&(this[d]=g[d]);this.id="",this.objectNumber=-1}function st(g,u){this.gState=g,this.matrix=u,this.id="",this.objectNumber=-1}function ce(g,u,d,v,O){if(!(this instanceof ce))return new ce(g,u,d,v,O);this.type=g==="axial"?2:3,this.coords=u,this.colors=d,st.call(this,v,O)}function le(g,u,d,v,O){if(!(this instanceof le))return new le(g,u,d,v,O);this.boundingBox=g,this.xStep=u,this.yStep=d,this.stream="",this.cloneIndex=0,st.call(this,v,O)}function H(g){var u,d=typeof arguments[0]=="string"?arguments[0]:"p",v=arguments[1],O=arguments[2],b=arguments[3],z=[],V=1,ee=16,Ee="S",ot=null;(0,s.Z)(g=g||{})==="object"&&(d=g.orientation,v=g.unit||v,O=g.format||O,b=g.compress||g.compressPdf||b,(ot=g.encryption||null)!==null&&(ot.userPassword=ot.userPassword||"",ot.ownerPassword=ot.ownerPassword||"",ot.userPermissions=ot.userPermissions||[]),V=typeof g.userUnit=="number"?Math.abs(g.userUnit):1,g.precision!==void 0&&(u=g.precision),g.floatPrecision!==void 0&&(ee=g.floatPrecision),Ee=g.defaultPathOperation||"S"),z=g.filters||(b===!0?["FlateEncode"]:z),v=v||"mm",d=(""+(d||"P")).toLowerCase();var Xe=g.putOnlyUsedFonts||!1,gt={},me={internal:{},__private__:{}};me.__private__.PubSub=M;var Ht="1.3",je=me.__private__.getPdfVersion=function(){return Ht};me.__private__.setPdfVersion=function(x){Ht=x};var Pe={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]};me.__private__.getPageFormats=function(){return Pe};var at=me.__private__.getPageFormat=function(x){return Pe[x]};O=O||"a4";var Ft={COMPAT:"compat",ADVANCED:"advanced"},cr=Ft.COMPAT;function Rr(){this.saveGraphicsState(),Et(new Wn(Yr,0,0,-Yr,0,yi()*Yr).toString()+" cm"),this.setFontSize(this.getFontSize()/Yr),Ee="n",cr=Ft.ADVANCED}function Vr(){this.restoreGraphicsState(),Ee="S",cr=Ft.COMPAT}var Mr=me.__private__.combineFontStyleAndFontWeight=function(x,Me){if(x=="bold"&&Me=="normal"||x=="bold"&&Me==400||x=="normal"&&Me=="italic"||x=="bold"&&Me=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return Me&&(x=Me==400||Me==="normal"?x==="italic"?"italic":"normal":Me!=700&&Me!=="bold"||x!=="normal"?(Me==700?"bold":Me)+""+x:"bold"),x};me.advancedAPI=function(x){var Me=cr===Ft.COMPAT;return Me&&Rr.call(this),typeof x!="function"||(x(this),Me&&Vr.call(this)),this},me.compatAPI=function(x){var Me=cr===Ft.ADVANCED;return Me&&Vr.call(this),typeof x!="function"||(x(this),Me&&Rr.call(this)),this},me.isAdvancedAPI=function(){return cr===Ft.ADVANCED};var wr,Zt=function(x){if(cr!==Ft.ADVANCED)throw new Error(x+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},_t=me.roundToPrecision=me.__private__.roundToPrecision=function(x,Me){var Rt=u||Me;if(isNaN(x)||isNaN(Rt))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return x.toFixed(Rt).replace(/0+$/,"")};wr=me.hpf=me.__private__.hpf=typeof ee=="number"?function(x){if(isNaN(x))throw new Error("Invalid argument passed to jsPDF.hpf");return _t(x,ee)}:ee==="smart"?function(x){if(isNaN(x))throw new Error("Invalid argument passed to jsPDF.hpf");return _t(x,x>-1&&x<1?16:5)}:function(x){if(isNaN(x))throw new Error("Invalid argument passed to jsPDF.hpf");return _t(x,16)};var Br=me.f2=me.__private__.f2=function(x){if(isNaN(x))throw new Error("Invalid argument passed to jsPDF.f2");return _t(x,2)},dt=me.__private__.f3=function(x){if(isNaN(x))throw new Error("Invalid argument passed to jsPDF.f3");return _t(x,3)},ut=me.scale=me.__private__.scale=function(x){if(isNaN(x))throw new Error("Invalid argument passed to jsPDF.scale");return cr===Ft.COMPAT?x*Yr:cr===Ft.ADVANCED?x:void 0},rr=function(x){return cr===Ft.COMPAT?yi()-x:cr===Ft.ADVANCED?x:void 0},Pt=function(x){return ut(rr(x))};me.__private__.setPrecision=me.setPrecision=function(x){typeof parseInt(x,10)=="number"&&(u=parseInt(x,10))};var Ve,ve="00000000000000000000000000000000",$t=me.__private__.getFileId=function(){return ve},Ct=me.__private__.setFileId=function(x){return ve=x!==void 0&&/^[a-fA-F0-9]{32}$/.test(x)?x.toUpperCase():ve.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),ot!==null&&(So=new Y(ot.userPermissions,ot.userPassword,ot.ownerPassword,ve)),ve};me.setFileId=function(x){return Ct(x),this},me.getFileId=function(){return $t()};var Xt=me.__private__.convertDateToPDFDate=function(x){var Me=x.getTimezoneOffset(),Rt=Me<0?"+":"-",sr=Math.floor(Math.abs(Me/60)),k=Math.abs(Me%60),t=[Rt,rt(sr),"'",rt(k),"'"].join("");return["D:",x.getFullYear(),rt(x.getMonth()+1),rt(x.getDate()),rt(x.getHours()),rt(x.getMinutes()),rt(x.getSeconds()),t].join("")},Gt=me.__private__.convertPDFDateToDate=function(x){var Me=parseInt(x.substr(2,4),10),Rt=parseInt(x.substr(6,2),10)-1,sr=parseInt(x.substr(8,2),10),k=parseInt(x.substr(10,2),10),t=parseInt(x.substr(12,2),10),a=parseInt(x.substr(14,2),10);return new Date(Me,Rt,sr,k,t,a,0)},Sr=me.__private__.setCreationDate=function(x){var Me;if(x===void 0&&(x=new Date),x instanceof Date)Me=Xt(x);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(x))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Me=x}return Ve=Me},be=me.__private__.getCreationDate=function(x){var Me=Ve;return x==="jsDate"&&(Me=Gt(Ve)),Me};me.setCreationDate=function(x){return Sr(x),this},me.getCreationDate=function(x){return be(x)};var nt,rt=me.__private__.padd2=function(x){return("0"+parseInt(x)).slice(-2)},kt=me.__private__.padd2Hex=function(x){return("00"+(x=x.toString())).substr(x.length)},Yt=0,Lt=[],Bt=[],Qt=0,Ur=[],Wt=[],Fr=!1,Xr=Bt,gn=function(){Yt=0,Qt=0,Bt=[],Lt=[],Ur=[],Qa=xa(),go=xa()};me.__private__.setCustomOutputDestination=function(x){Fr=!0,Xr=x};var Dt=function(x){Fr||(Xr=x)};me.__private__.resetCustomOutputDestination=function(){Fr=!1,Xr=Bt};var Et=me.__private__.out=function(x){return x=x.toString(),Qt+=x.length+1,Xr.push(x),Xr},wn=me.__private__.write=function(x){return Et(arguments.length===1?x.toString():Array.prototype.join.call(arguments," "))},Gr=me.__private__.getArrayBuffer=function(x){for(var Me=x.length,Rt=new ArrayBuffer(Me),sr=new Uint8Array(Rt);Me--;)sr[Me]=x.charCodeAt(Me);return Rt},qr=[["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]];me.__private__.getStandardFonts=function(){return qr};var nn=g.fontSize||16;me.__private__.setFontSize=me.setFontSize=function(x){return nn=cr===Ft.ADVANCED?x/Yr:x,this};var _r,on=me.__private__.getFontSize=me.getFontSize=function(){return cr===Ft.COMPAT?nn:nn*Yr},Mn=g.R2L||!1;me.__private__.setR2L=me.setR2L=function(x){return Mn=x,this},me.__private__.getR2L=me.getR2L=function(){return Mn};var Ln,Hn=me.__private__.setZoomMode=function(x){var Me=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(x))_r=x;else if(isNaN(x)){if(Me.indexOf(x)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+x+'" is not recognized.');_r=x}else _r=parseInt(x,10)};me.__private__.getZoomMode=function(){return _r};var ta,oa=me.__private__.setPageMode=function(x){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(x)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+x+'" is not recognized.');Ln=x};me.__private__.getPageMode=function(){return Ln};var ma=me.__private__.setLayoutMode=function(x){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(x)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+x+'" is not recognized.');ta=x};me.__private__.getLayoutMode=function(){return ta},me.__private__.setDisplayMode=me.setDisplayMode=function(x,Me,Rt){return Hn(x),ma(Me),oa(Rt),this};var Kn={title:"",subject:"",author:"",keywords:"",creator:""};me.__private__.getDocumentProperty=function(x){if(Object.keys(Kn).indexOf(x)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Kn[x]},me.__private__.getDocumentProperties=function(){return Kn},me.__private__.setDocumentProperties=me.setProperties=me.setDocumentProperties=function(x){for(var Me in Kn)Kn.hasOwnProperty(Me)&&x[Me]&&(Kn[Me]=x[Me]);return this},me.__private__.setDocumentProperty=function(x,Me){if(Object.keys(Kn).indexOf(x)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Kn[x]=Me};var On,Yr,Ba,ba,La,ia={},Ca={},uo=[],sa={},no={},Ma={},Wa={},Jn=null,ra=0,fn=[],Cn=new M(me),Oa=g.hotfixes||[],aa={},za={},Ta=[],Wn=function x(Me,Rt,sr,k,t,a){if(!(this instanceof x))return new x(Me,Rt,sr,k,t,a);isNaN(Me)&&(Me=1),isNaN(Rt)&&(Rt=0),isNaN(sr)&&(sr=0),isNaN(k)&&(k=1),isNaN(t)&&(t=0),isNaN(a)&&(a=0),this._matrix=[Me,Rt,sr,k,t,a]};Object.defineProperty(Wn.prototype,"sx",{get:function(){return this._matrix[0]},set:function(x){this._matrix[0]=x}}),Object.defineProperty(Wn.prototype,"shy",{get:function(){return this._matrix[1]},set:function(x){this._matrix[1]=x}}),Object.defineProperty(Wn.prototype,"shx",{get:function(){return this._matrix[2]},set:function(x){this._matrix[2]=x}}),Object.defineProperty(Wn.prototype,"sy",{get:function(){return this._matrix[3]},set:function(x){this._matrix[3]=x}}),Object.defineProperty(Wn.prototype,"tx",{get:function(){return this._matrix[4]},set:function(x){this._matrix[4]=x}}),Object.defineProperty(Wn.prototype,"ty",{get:function(){return this._matrix[5]},set:function(x){this._matrix[5]=x}}),Object.defineProperty(Wn.prototype,"a",{get:function(){return this._matrix[0]},set:function(x){this._matrix[0]=x}}),Object.defineProperty(Wn.prototype,"b",{get:function(){return this._matrix[1]},set:function(x){this._matrix[1]=x}}),Object.defineProperty(Wn.prototype,"c",{get:function(){return this._matrix[2]},set:function(x){this._matrix[2]=x}}),Object.defineProperty(Wn.prototype,"d",{get:function(){return this._matrix[3]},set:function(x){this._matrix[3]=x}}),Object.defineProperty(Wn.prototype,"e",{get:function(){return this._matrix[4]},set:function(x){this._matrix[4]=x}}),Object.defineProperty(Wn.prototype,"f",{get:function(){return this._matrix[5]},set:function(x){this._matrix[5]=x}}),Object.defineProperty(Wn.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Wn.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Wn.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Wn.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Wn.prototype.join=function(x){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(wr).join(x)},Wn.prototype.multiply=function(x){var Me=x.sx*this.sx+x.shy*this.shx,Rt=x.sx*this.shy+x.shy*this.sy,sr=x.shx*this.sx+x.sy*this.shx,k=x.shx*this.shy+x.sy*this.sy,t=x.tx*this.sx+x.ty*this.shx+this.tx,a=x.tx*this.shy+x.ty*this.sy+this.ty;return new Wn(Me,Rt,sr,k,t,a)},Wn.prototype.decompose=function(){var x=this.sx,Me=this.shy,Rt=this.shx,sr=this.sy,k=this.tx,t=this.ty,a=Math.sqrt(x*x+Me*Me),i=(x/=a)*Rt+(Me/=a)*sr;Rt-=x*i,sr-=Me*i;var p=Math.sqrt(Rt*Rt+sr*sr);return i/=p,x*(sr/=p)<Me*(Rt/=p)&&(x=-x,Me=-Me,i=-i,a=-a),{scale:new Wn(a,0,0,p,0,0),translate:new Wn(1,0,0,1,k,t),rotate:new Wn(x,Me,-Me,x,0,0),skew:new Wn(1,0,i,1,0,0)}},Wn.prototype.toString=function(x){return this.join(" ")},Wn.prototype.inversed=function(){var x=this.sx,Me=this.shy,Rt=this.shx,sr=this.sy,k=this.tx,t=this.ty,a=1/(x*sr-Me*Rt),i=sr*a,p=-Me*a,D=-Rt*a,oe=x*a;return new Wn(i,p,D,oe,-i*k-D*t,-p*k-oe*t)},Wn.prototype.applyToPoint=function(x){var Me=x.x*this.sx+x.y*this.shx+this.tx,Rt=x.x*this.shy+x.y*this.sy+this.ty;return new Ii(Me,Rt)},Wn.prototype.applyToRectangle=function(x){var Me=this.applyToPoint(x),Rt=this.applyToPoint(new Ii(x.x+x.w,x.y+x.h));return new Ji(Me.x,Me.y,Rt.x-Me.x,Rt.y-Me.y)},Wn.prototype.clone=function(){var x=this.sx,Me=this.shy,Rt=this.shx,sr=this.sy,k=this.tx,t=this.ty;return new Wn(x,Me,Rt,sr,k,t)},me.Matrix=Wn;var so=me.matrixMult=function(x,Me){return Me.multiply(x)},Rn=new Wn(1,0,0,1,0,0);me.unitMatrix=me.identityMatrix=Rn;var la=function(x,Me){if(!no[x]){var Rt=(Me instanceof ce?"Sh":"P")+(Object.keys(sa).length+1).toString(10);Me.id=Rt,no[x]=Rt,sa[Rt]=Me,Cn.publish("addPattern",Me)}};me.ShadingPattern=ce,me.TilingPattern=le,me.addShadingPattern=function(x,Me){return Zt("addShadingPattern()"),la(x,Me),this},me.beginTilingPattern=function(x){Zt("beginTilingPattern()"),Ai(x.boundingBox[0],x.boundingBox[1],x.boundingBox[2]-x.boundingBox[0],x.boundingBox[3]-x.boundingBox[1],x.matrix)},me.endTilingPattern=function(x,Me){Zt("endTilingPattern()"),Me.stream=Wt[nt].join(`
`),la(x,Me),Cn.publish("endTilingPattern",Me),Ta.pop().restore()};var ca=me.__private__.newObject=function(){var x=xa();return Fa(x,!0),x},xa=me.__private__.newObjectDeferred=function(){return Yt++,Lt[Yt]=function(){return Qt},Yt},Fa=function(x,Me){return Me=typeof Me=="boolean"&&Me,Lt[x]=Qt,Me&&Et(x+" 0 obj"),x},ao=me.__private__.newAdditionalObject=function(){var x={objId:xa(),content:""};return Ur.push(x),x},Qa=xa(),go=xa(),ho=me.__private__.decodeColorString=function(x){var Me=x.split(" ");if(Me.length!==2||Me[1]!=="g"&&Me[1]!=="G")Me.length===5&&(Me[4]==="k"||Me[4]==="K")&&(Me=[(1-Me[0])*(1-Me[3]),(1-Me[1])*(1-Me[3]),(1-Me[2])*(1-Me[3]),"r"]);else{var Rt=parseFloat(Me[0]);Me=[Rt,Rt,Rt,"r"]}for(var sr="#",k=0;k<3;k++)sr+=("0"+Math.floor(255*parseFloat(Me[k])).toString(16)).slice(-2);return sr},ga=me.__private__.encodeColorString=function(x){var Me;typeof x=="string"&&(x={ch1:x});var Rt=x.ch1,sr=x.ch2,k=x.ch3,t=x.ch4,a=x.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof Rt=="string"&&Rt.charAt(0)!=="#"){var i=new W(Rt);if(i.ok)Rt=i.toHex();else if(!/^\d*\.?\d*$/.test(Rt))throw new Error('Invalid color "'+Rt+'" passed to jsPDF.encodeColorString.')}if(typeof Rt=="string"&&/^#[0-9A-Fa-f]{3}$/.test(Rt)&&(Rt="#"+Rt[1]+Rt[1]+Rt[2]+Rt[2]+Rt[3]+Rt[3]),typeof Rt=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Rt)){var p=parseInt(Rt.substr(1),16);Rt=p>>16&255,sr=p>>8&255,k=255&p}if(sr===void 0||t===void 0&&Rt===sr&&sr===k)if(typeof Rt=="string")Me=Rt+" "+a[0];else switch(x.precision){case 2:Me=Br(Rt/255)+" "+a[0];break;case 3:default:Me=dt(Rt/255)+" "+a[0]}else if(t===void 0||(0,s.Z)(t)==="object"){if(t&&!isNaN(t.a)&&t.a===0)return Me=["1.","1.","1.",a[1]].join(" ");if(typeof Rt=="string")Me=[Rt,sr,k,a[1]].join(" ");else switch(x.precision){case 2:Me=[Br(Rt/255),Br(sr/255),Br(k/255),a[1]].join(" ");break;default:case 3:Me=[dt(Rt/255),dt(sr/255),dt(k/255),a[1]].join(" ")}}else if(typeof Rt=="string")Me=[Rt,sr,k,t,a[2]].join(" ");else switch(x.precision){case 2:Me=[Br(Rt),Br(sr),Br(k),Br(t),a[2]].join(" ");break;case 3:default:Me=[dt(Rt),dt(sr),dt(k),dt(t),a[2]].join(" ")}return Me},Ia=me.__private__.getFilters=function(){return z},Sa=me.__private__.putStream=function(x){var Me=(x=x||{}).data||"",Rt=x.filters||Ia(),sr=x.alreadyAppliedFilters||[],k=x.addLength1||!1,t=Me.length,a=x.objectId,i=function(mr){return mr};if(ot!==null&&a===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");ot!==null&&(i=So.encryptor(a,0));var p={};Rt===!0&&(Rt=["FlateEncode"]);var D=x.additionalKeyValues||[],oe=(p=H.API.processDataByFilters!==void 0?H.API.processDataByFilters(Me,Rt):{data:Me,reverseChain:[]}).reverseChain+(Array.isArray(sr)?sr.join(" "):sr.toString());if(p.data.length!==0&&(D.push({key:"Length",value:p.data.length}),k===!0&&D.push({key:"Length1",value:t})),oe.length!=0)if(oe.split("/").length-1==1)D.push({key:"Filter",value:oe});else{D.push({key:"Filter",value:"["+oe+"]"});for(var De=0;De<D.length;De+=1)if(D[De].key==="DecodeParms"){for(var Qe=[],It=0;It<p.reverseChain.split("/").length-1;It+=1)Qe.push("null");Qe.push(D[De].value),D[De].value="["+Qe.join(" ")+"]"}}Et("<<");for(var nr=0;nr<D.length;nr++)Et("/"+D[nr].key+" "+D[nr].value);Et(">>"),p.data.length!==0&&(Et("stream"),Et(i(p.data)),Et("endstream"))},Ua=me.__private__.putPage=function(x){var Me=x.number,Rt=x.data,sr=x.objId,k=x.contentsObjId;Fa(sr,!0),Et("<</Type /Page"),Et("/Parent "+x.rootDictionaryObjId+" 0 R"),Et("/Resources "+x.resourceDictionaryObjId+" 0 R"),Et("/MediaBox ["+parseFloat(wr(x.mediaBox.bottomLeftX))+" "+parseFloat(wr(x.mediaBox.bottomLeftY))+" "+wr(x.mediaBox.topRightX)+" "+wr(x.mediaBox.topRightY)+"]"),x.cropBox!==null&&Et("/CropBox ["+wr(x.cropBox.bottomLeftX)+" "+wr(x.cropBox.bottomLeftY)+" "+wr(x.cropBox.topRightX)+" "+wr(x.cropBox.topRightY)+"]"),x.bleedBox!==null&&Et("/BleedBox ["+wr(x.bleedBox.bottomLeftX)+" "+wr(x.bleedBox.bottomLeftY)+" "+wr(x.bleedBox.topRightX)+" "+wr(x.bleedBox.topRightY)+"]"),x.trimBox!==null&&Et("/TrimBox ["+wr(x.trimBox.bottomLeftX)+" "+wr(x.trimBox.bottomLeftY)+" "+wr(x.trimBox.topRightX)+" "+wr(x.trimBox.topRightY)+"]"),x.artBox!==null&&Et("/ArtBox ["+wr(x.artBox.bottomLeftX)+" "+wr(x.artBox.bottomLeftY)+" "+wr(x.artBox.topRightX)+" "+wr(x.artBox.topRightY)+"]"),typeof x.userUnit=="number"&&x.userUnit!==1&&Et("/UserUnit "+x.userUnit),Cn.publish("putPage",{objId:sr,pageContext:fn[Me],pageNumber:Me,page:Rt}),Et("/Contents "+k+" 0 R"),Et(">>"),Et("endobj");var t=Rt.join(`
`);return cr===Ft.ADVANCED&&(t+=`
Q`),Fa(k,!0),Sa({data:t,filters:Ia(),objectId:k}),Et("endobj"),sr},_a=me.__private__.putPages=function(){var x,Me,Rt=[];for(x=1;x<=ra;x++)fn[x].objId=xa(),fn[x].contentsObjId=xa();for(x=1;x<=ra;x++)Rt.push(Ua({number:x,data:Wt[x],objId:fn[x].objId,contentsObjId:fn[x].contentsObjId,mediaBox:fn[x].mediaBox,cropBox:fn[x].cropBox,bleedBox:fn[x].bleedBox,trimBox:fn[x].trimBox,artBox:fn[x].artBox,userUnit:fn[x].userUnit,rootDictionaryObjId:Qa,resourceDictionaryObjId:go}));Fa(Qa,!0),Et("<</Type /Pages");var sr="/Kids [";for(Me=0;Me<ra;Me++)sr+=Rt[Me]+" 0 R ";Et(sr+"]"),Et("/Count "+ra),Et(">>"),Et("endobj"),Cn.publish("postPutPages")},ya=function(x){Cn.publish("putFont",{font:x,out:Et,newObject:ca,putStream:Sa}),x.isAlreadyPutted!==!0&&(x.objectNumber=ca(),Et("<<"),Et("/Type /Font"),Et("/BaseFont /"+xe(x.postScriptName)),Et("/Subtype /Type1"),typeof x.encoding=="string"&&Et("/Encoding /"+x.encoding),Et("/FirstChar 32"),Et("/LastChar 255"),Et(">>"),Et("endobj"))},ka=function(){for(var x in ia)ia.hasOwnProperty(x)&&(Xe===!1||Xe===!0&&gt.hasOwnProperty(x))&&ya(ia[x])},Na=function(x){x.objectNumber=ca();var Me=[];Me.push({key:"Type",value:"/XObject"}),Me.push({key:"Subtype",value:"/Form"}),Me.push({key:"BBox",value:"["+[wr(x.x),wr(x.y),wr(x.x+x.width),wr(x.y+x.height)].join(" ")+"]"}),Me.push({key:"Matrix",value:"["+x.matrix.toString()+"]"});var Rt=x.pages[1].join(`
`);Sa({data:Rt,additionalKeyValues:Me,objectId:x.objectNumber}),Et("endobj")},Xa=function(){for(var x in aa)aa.hasOwnProperty(x)&&Na(aa[x])},lo=function(x,Me){var Rt,sr=[],k=1/(Me-1);for(Rt=0;Rt<1;Rt+=k)sr.push(Rt);if(sr.push(1),x[0].offset!=0){var t={offset:0,color:x[0].color};x.unshift(t)}if(x[x.length-1].offset!=1){var a={offset:1,color:x[x.length-1].color};x.push(a)}for(var i="",p=0,D=0;D<sr.length;D++){for(Rt=sr[D];Rt>x[p+1].offset;)p++;var oe=x[p].offset,De=(Rt-oe)/(x[p+1].offset-oe),Qe=x[p].color,It=x[p+1].color;i+=kt(Math.round((1-De)*Qe[0]+De*It[0]).toString(16))+kt(Math.round((1-De)*Qe[1]+De*It[1]).toString(16))+kt(Math.round((1-De)*Qe[2]+De*It[2]).toString(16))}return i.trim()},vo=function(x,Me){Me||(Me=21);var Rt=ca(),sr=lo(x.colors,Me),k=[];k.push({key:"FunctionType",value:"0"}),k.push({key:"Domain",value:"[0.0 1.0]"}),k.push({key:"Size",value:"["+Me+"]"}),k.push({key:"BitsPerSample",value:"8"}),k.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),k.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Sa({data:sr,additionalKeyValues:k,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Rt}),Et("endobj"),x.objectNumber=ca(),Et("<< /ShadingType "+x.type),Et("/ColorSpace /DeviceRGB");var t="/Coords ["+wr(parseFloat(x.coords[0]))+" "+wr(parseFloat(x.coords[1]))+" ";x.type===2?t+=wr(parseFloat(x.coords[2]))+" "+wr(parseFloat(x.coords[3])):t+=wr(parseFloat(x.coords[2]))+" "+wr(parseFloat(x.coords[3]))+" "+wr(parseFloat(x.coords[4]))+" "+wr(parseFloat(x.coords[5])),Et(t+="]"),x.matrix&&Et("/Matrix ["+x.matrix.toString()+"]"),Et("/Function "+Rt+" 0 R"),Et("/Extend [true true]"),Et(">>"),Et("endobj")},Ko=function(x,Me){var Rt=xa(),sr=ca();Me.push({resourcesOid:Rt,objectOid:sr}),x.objectNumber=sr;var k=[];k.push({key:"Type",value:"/Pattern"}),k.push({key:"PatternType",value:"1"}),k.push({key:"PaintType",value:"1"}),k.push({key:"TilingType",value:"1"}),k.push({key:"BBox",value:"["+x.boundingBox.map(wr).join(" ")+"]"}),k.push({key:"XStep",value:wr(x.xStep)}),k.push({key:"YStep",value:wr(x.yStep)}),k.push({key:"Resources",value:Rt+" 0 R"}),x.matrix&&k.push({key:"Matrix",value:"["+x.matrix.toString()+"]"}),Sa({data:x.stream,additionalKeyValues:k,objectId:x.objectNumber}),Et("endobj")},Wo=function(x){var Me;for(Me in sa)sa.hasOwnProperty(Me)&&(sa[Me]instanceof ce?vo(sa[Me]):sa[Me]instanceof le&&Ko(sa[Me],x))},Aa=function(x){for(var Me in x.objectNumber=ca(),Et("<<"),x)switch(Me){case"opacity":Et("/ca "+Br(x[Me]));break;case"stroke-opacity":Et("/CA "+Br(x[Me]))}Et(">>"),Et("endobj")},Si=function(){var x;for(x in Ma)Ma.hasOwnProperty(x)&&Aa(Ma[x])},oo=function(){for(var x in Et("/XObject <<"),aa)aa.hasOwnProperty(x)&&aa[x].objectNumber>=0&&Et("/"+x+" "+aa[x].objectNumber+" 0 R");Cn.publish("putXobjectDict"),Et(">>")},Mo=function(){So.oid=ca(),Et("<<"),Et("/Filter /Standard"),Et("/V "+So.v),Et("/R "+So.r),Et("/U <"+So.toHexString(So.U)+">"),Et("/O <"+So.toHexString(So.O)+">"),Et("/P "+So.P),Et(">>"),Et("endobj")},mo=function(){for(var x in Et("/Font <<"),ia)ia.hasOwnProperty(x)&&(Xe===!1||Xe===!0&&gt.hasOwnProperty(x))&&Et("/"+x+" "+ia[x].objectNumber+" 0 R");Et(">>")},Ti=function(){if(Object.keys(sa).length>0){for(var x in Et("/Shading <<"),sa)sa.hasOwnProperty(x)&&sa[x]instanceof ce&&sa[x].objectNumber>=0&&Et("/"+x+" "+sa[x].objectNumber+" 0 R");Cn.publish("putShadingPatternDict"),Et(">>")}},xo=function(x){if(Object.keys(sa).length>0){for(var Me in Et("/Pattern <<"),sa)sa.hasOwnProperty(Me)&&sa[Me]instanceof me.TilingPattern&&sa[Me].objectNumber>=0&&sa[Me].objectNumber<x&&Et("/"+Me+" "+sa[Me].objectNumber+" 0 R");Cn.publish("putTilingPatternDict"),Et(">>")}},_o=function(){if(Object.keys(Ma).length>0){var x;for(x in Et("/ExtGState <<"),Ma)Ma.hasOwnProperty(x)&&Ma[x].objectNumber>=0&&Et("/"+x+" "+Ma[x].objectNumber+" 0 R");Cn.publish("putGStateDict"),Et(">>")}},qa=function(x){Fa(x.resourcesOid,!0),Et("<<"),Et("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),mo(),Ti(),xo(x.objectOid),_o(),oo(),Et(">>"),Et("endobj")},Oo=function(){var x=[];ka(),Si(),Xa(),Wo(x),Cn.publish("putResources"),x.forEach(qa),qa({resourcesOid:go,objectOid:Number.MAX_SAFE_INTEGER}),Cn.publish("postPutResources")},Bi=function(){Cn.publish("putAdditionalObjects");for(var x=0;x<Ur.length;x++){var Me=Ur[x];Fa(Me.objId,!0),Et(Me.content),Et("endobj")}Cn.publish("postPutAdditionalObjects")},Li=function(x){Ca[x.fontName]=Ca[x.fontName]||{},Ca[x.fontName][x.fontStyle]=x.id},Xo=function(x,Me,Rt,sr,k){var t={id:"F"+(Object.keys(ia).length+1).toString(10),postScriptName:x,fontName:Me,fontStyle:Rt,encoding:sr,isStandardFont:k||!1,metadata:{}};return Cn.publish("addFont",{font:t,instance:this}),ia[t.id]=t,Li(t),t.id},Ci=function(x){for(var Me=0,Rt=qr.length;Me<Rt;Me++){var sr=Xo.call(this,x[Me][0],x[Me][1],x[Me][2],qr[Me][3],!0);Xe===!1&&(gt[sr]=!0);var k=x[Me][0].split("-");Li({id:sr,fontName:k[0],fontStyle:k[1]||""})}Cn.publish("addFonts",{fonts:ia,dictionary:Ca})},Eo=function(x){return x.foo=function(){try{return x.apply(this,arguments)}catch(sr){var Me=sr.stack||"";~Me.indexOf(" at ")&&(Me=Me.split(" at ")[1]);var Rt="Error in function "+Me.split(`
`)[0].split("<")[0]+": "+sr.message;if(!I.console)throw new Error(Rt);I.console.error(Rt,sr),I.alert&&alert(Rt)}},x.foo.bar=x,x.foo},Yo=function(x,Me){var Rt,sr,k,t,a,i,p,D,oe;if(k=(Me=Me||{}).sourceEncoding||"Unicode",a=Me.outputEncoding,(Me.autoencode||a)&&ia[On].metadata&&ia[On].metadata[k]&&ia[On].metadata[k].encoding&&(t=ia[On].metadata[k].encoding,!a&&ia[On].encoding&&(a=ia[On].encoding),!a&&t.codePages&&(a=t.codePages[0]),typeof a=="string"&&(a=t[a]),a)){for(p=!1,i=[],Rt=0,sr=x.length;Rt<sr;Rt++)(D=a[x.charCodeAt(Rt)])?i.push(String.fromCharCode(D)):i.push(x[Rt]),i[Rt].charCodeAt(0)>>8&&(p=!0);x=i.join("")}for(Rt=x.length;p===void 0&&Rt!==0;)x.charCodeAt(Rt-1)>>8&&(p=!0),Rt--;if(!p)return x;for(i=Me.noBOM?[]:[254,255],Rt=0,sr=x.length;Rt<sr;Rt++){if((oe=(D=x.charCodeAt(Rt))>>8)>>8)throw new Error("Character at position "+Rt+" of string '"+x+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");i.push(oe),i.push(D-(oe<<8))}return String.fromCharCode.apply(void 0,i)},na=me.__private__.pdfEscape=me.pdfEscape=function(x,Me){return Yo(x,Me).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},wa=me.__private__.beginPage=function(x){Wt[++ra]=[],fn[ra]={objId:0,contentsObjId:0,userUnit:Number(V),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(x[0]),topRightY:Number(x[1])}},wo(ra),Dt(Wt[nt])},Ja=function(x,Me){var Rt,sr,k;switch(d=Me||d,typeof x=="string"&&(Rt=at(x.toLowerCase()),Array.isArray(Rt)&&(sr=Rt[0],k=Rt[1])),Array.isArray(x)&&(sr=x[0]*Yr,k=x[1]*Yr),isNaN(sr)&&(sr=O[0],k=O[1]),(sr>14400||k>14400)&&(te.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),sr=Math.min(14400,sr),k=Math.min(14400,k)),O=[sr,k],d.substr(0,1)){case"l":k>sr&&(O=[k,sr]);break;case"p":sr>k&&(O=[k,sr])}wa(O),os(Hi),Et(ei),Ui!==0&&Et(Ui+" J"),qi!==0&&Et(qi+" j"),Cn.publish("addPage",{pageNumber:ra})},Ye=function(x){x>0&&x<=ra&&(Wt.splice(x,1),fn.splice(x,1),ra--,nt>ra&&(nt=ra),this.setPage(nt))},wo=function(x){x>0&&x<=ra&&(nt=x)},Io=me.__private__.getNumberOfPages=me.getNumberOfPages=function(){return Wt.length-1},Ao=function(x,Me,Rt){var sr,k=void 0;return Rt=Rt||{},x=x!==void 0?x:ia[On].fontName,Me=Me!==void 0?Me:ia[On].fontStyle,sr=x.toLowerCase(),Ca[sr]!==void 0&&Ca[sr][Me]!==void 0?k=Ca[sr][Me]:Ca[x]!==void 0&&Ca[x][Me]!==void 0?k=Ca[x][Me]:Rt.disableWarning===!1&&te.warn("Unable to look up font label for font '"+x+"', '"+Me+"'. Refer to getFontList() for available fonts."),k||Rt.noFallback||(k=Ca.times[Me])==null&&(k=Ca.times.normal),k},eo=me.__private__.putInfo=function(){var x=ca(),Me=function(sr){return sr};for(var Rt in ot!==null&&(Me=So.encryptor(x,0)),Et("<<"),Et("/Producer ("+na(Me("jsPDF "+H.version))+")"),Kn)Kn.hasOwnProperty(Rt)&&Kn[Rt]&&Et("/"+Rt.substr(0,1).toUpperCase()+Rt.substr(1)+" ("+na(Me(Kn[Rt]))+")");Et("/CreationDate ("+na(Me(Ve))+")"),Et(">>"),Et("endobj")},hi=me.__private__.putCatalog=function(x){var Me=(x=x||{}).rootDictionaryObjId||Qa;switch(ca(),Et("<<"),Et("/Type /Catalog"),Et("/Pages "+Me+" 0 R"),_r||(_r="fullwidth"),_r){case"fullwidth":Et("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Et("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Et("/OpenAction [3 0 R /Fit]");break;case"original":Et("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Rt=""+_r;Rt.substr(Rt.length-1)==="%"&&(_r=parseInt(_r)/100),typeof _r=="number"&&Et("/OpenAction [3 0 R /XYZ null null "+Br(_r)+"]")}switch(ta||(ta="continuous"),ta){case"continuous":Et("/PageLayout /OneColumn");break;case"single":Et("/PageLayout /SinglePage");break;case"two":case"twoleft":Et("/PageLayout /TwoColumnLeft");break;case"tworight":Et("/PageLayout /TwoColumnRight")}Ln&&Et("/PageMode /"+Ln),Cn.publish("putCatalog"),Et(">>"),Et("endobj")},Do=me.__private__.putTrailer=function(){Et("trailer"),Et("<<"),Et("/Size "+(Yt+1)),Et("/Root "+Yt+" 0 R"),Et("/Info "+(Yt-1)+" 0 R"),ot!==null&&Et("/Encrypt "+So.oid+" 0 R"),Et("/ID [ <"+ve+"> <"+ve+"> ]"),Et(">>")},hs=me.__private__.putHeader=function(){Et("%PDF-"+Ht),Et("%\xBA\xDF\xAC\xE0")},Ro=me.__private__.putXRef=function(){var x="0000000000";Et("xref"),Et("0 "+(Yt+1)),Et("0000000000 65535 f ");for(var Me=1;Me<=Yt;Me++)typeof Lt[Me]=="function"?Et((x+Lt[Me]()).slice(-10)+" 00000 n "):Lt[Me]!==void 0?Et((x+Lt[Me]).slice(-10)+" 00000 n "):Et("0000000000 00000 n ")},To=me.__private__.buildDocument=function(){gn(),Dt(Bt),Cn.publish("buildDocument"),hs(),_a(),Bi(),Oo(),ot!==null&&Mo(),eo(),hi();var x=Qt;return Ro(),Do(),Et("startxref"),Et(""+x),Et("%%EOF"),Dt(Wt[nt]),Bt.join(`
`)},qo=me.__private__.getBlob=function(x){return new Blob([Gr(x)],{type:"application/pdf"})},zi=me.output=me.__private__.output=Eo(function(x,Me){switch(typeof(Me=Me||{})=="string"?Me={filename:Me}:Me.filename=Me.filename||"generated.pdf",x){case void 0:return To();case"save":me.save(Me.filename);break;case"arraybuffer":return Gr(To());case"blob":return qo(To());case"bloburi":case"bloburl":if(I.URL!==void 0&&typeof I.URL.createObjectURL=="function")return I.URL&&I.URL.createObjectURL(qo(To()))||void 0;te.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Rt="",sr=To();try{Rt=l(sr)}catch(It){Rt=l(unescape(encodeURIComponent(sr)))}return"data:application/pdf;filename="+Me.filename+";base64,"+Rt;case"pdfobjectnewwindow":if(Object.prototype.toString.call(I)==="[object Window]"){var k="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",t=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';Me.pdfObjectUrl&&(k=Me.pdfObjectUrl,t="");var a='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+k+'"'+t+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(Me)+");<\/script></body></html>",i=I.open();return i!==null&&i.document.write(a),i}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(I)==="[object Window]"){var p='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(Me.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+Me.filename+'" width="500px" height="400px" /></body></html>',D=I.open();if(D!==null){D.document.write(p);var oe=this;D.document.documentElement.querySelector("#pdfViewer").onload=function(){D.document.title=Me.filename,D.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(oe.output("bloburl"))}}return D}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(I)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var De='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",Me)+'"></iframe></body></html>',Qe=I.open();if(Qe!==null&&(Qe.document.write(De),Qe.document.title=Me.filename),Qe||typeof safari=="undefined")return Qe;break;case"datauri":case"dataurl":return I.document.location.href=this.output("datauristring",Me);default:return null}}),ts=function(x){return Array.isArray(Oa)===!0&&Oa.indexOf(x)>-1};switch(v){case"pt":Yr=1;break;case"mm":Yr=72/25.4;break;case"cm":Yr=72/2.54;break;case"in":Yr=72;break;case"px":Yr=ts("px_scaling")==1?.75:96/72;break;case"pc":case"em":Yr=12;break;case"ex":Yr=6;break;default:if(typeof v!="number")throw new Error("Invalid unit: "+v);Yr=v}var So=null;Sr(),Ct();var fs=function(x){return ot!==null?So.encryptor(x,0):function(Me){return Me}},Di=me.__private__.getPageInfo=me.getPageInfo=function(x){if(isNaN(x)||x%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:fn[x].objId,pageNumber:x,pageContext:fn[x]}},ua=me.__private__.getPageInfoByObjId=function(x){if(isNaN(x)||x%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var Me in fn)if(fn[Me].objId===x)break;return Di(Me)},ms=me.__private__.getCurrentPageInfo=me.getCurrentPageInfo=function(){return{objId:fn[nt].objId,pageNumber:nt,pageContext:fn[nt]}};me.addPage=function(){return Ja.apply(this,arguments),this},me.setPage=function(){return wo.apply(this,arguments),Dt.call(this,Wt[nt]),this},me.insertPage=function(x){return this.addPage(),this.movePage(nt,x),this},me.movePage=function(x,Me){var Rt,sr;if(x>Me){Rt=Wt[x],sr=fn[x];for(var k=x;k>Me;k--)Wt[k]=Wt[k-1],fn[k]=fn[k-1];Wt[Me]=Rt,fn[Me]=sr,this.setPage(Me)}else if(x<Me){Rt=Wt[x],sr=fn[x];for(var t=x;t<Me;t++)Wt[t]=Wt[t+1],fn[t]=fn[t+1];Wt[Me]=Rt,fn[Me]=sr,this.setPage(Me)}return this},me.deletePage=function(){return Ye.apply(this,arguments),this},me.__private__.text=me.text=function(x,Me,Rt,sr,k){var t,a,i,p,D,oe,De,Qe,It,nr=(sr=sr||{}).scope||this;if(typeof x=="number"&&typeof Me=="number"&&(typeof Rt=="string"||Array.isArray(Rt))){var mr=Rt;Rt=Me,Me=x,x=mr}if(arguments[3]instanceof Wn?(Zt("The transform parameter of text() with a Matrix value"),It=k):(i=arguments[4],p=arguments[5],(0,s.Z)(De=arguments[3])==="object"&&De!==null||(typeof i=="string"&&(p=i,i=null),typeof De=="string"&&(p=De,De=null),typeof De=="number"&&(i=De,De=null),sr={flags:De,angle:i,align:p})),isNaN(Me)||isNaN(Rt)||x==null)throw new Error("Invalid arguments passed to jsPDF.text");if(x.length===0)return nr;var jr="",Jr=!1,cn=typeof sr.lineHeightFactor=="number"?sr.lineHeightFactor:ai,Sn=nr.internal.scaleFactor;function Zn(Za){return Za=Za.split(" ").join(Array(sr.TabLen||9).join(" ")),na(Za,De)}function da(Za){for(var Va,fo=Za.concat(),yo=[],Vi=fo.length;Vi--;)typeof(Va=fo.shift())=="string"?yo.push(Va):Array.isArray(Za)&&(Va.length===1||Va[1]===void 0&&Va[2]===void 0)?yo.push(Va[0]):yo.push([Va[0],Va[1],Va[2]]);return yo}function va(Za,Va){var fo;if(typeof Za=="string")fo=Va(Za)[0];else if(Array.isArray(Za)){for(var yo,Vi,$s=Za.concat(),bs=[],ys=$s.length;ys--;)typeof(yo=$s.shift())=="string"?bs.push(Va(yo)[0]):Array.isArray(yo)&&typeof yo[0]=="string"&&(Vi=Va(yo[0],yo[1],yo[2]),bs.push([Vi[0],Vi[1],Vi[2]]));fo=bs}return fo}var c=!1,e=!0;if(typeof x=="string")c=!0;else if(Array.isArray(x)){var r=x.concat();a=[];for(var h,C=r.length;C--;)(typeof(h=r.shift())!="string"||Array.isArray(h)&&typeof h[0]!="string")&&(e=!1);c=e}if(c===!1)throw new Error('Type of text must be string or Array. "'+x+'" is not recognized.');typeof x=="string"&&(x=x.match(/[\r?\n]/)?x.split(/\r\n|\r|\n/g):[x]);var K=nn/nr.internal.scaleFactor,Ie=K*(cn-1);switch(sr.baseline){case"bottom":Rt-=Ie;break;case"top":Rt+=K-Ie;break;case"hanging":Rt+=K-2*Ie;break;case"middle":Rt+=K/2-Ie}if((oe=sr.maxWidth||0)>0&&(typeof x=="string"?x=nr.splitTextToSize(x,oe):Object.prototype.toString.call(x)==="[object Array]"&&(x=x.reduce(function(Za,Va){return Za.concat(nr.splitTextToSize(Va,oe))},[]))),t={text:x,x:Me,y:Rt,options:sr,mutex:{pdfEscape:na,activeFontKey:On,fonts:ia,activeFontSize:nn}},Cn.publish("preProcessText",t),x=t.text,i=(sr=t.options).angle,!(It instanceof Wn)&&i&&typeof i=="number"){i*=Math.PI/180,sr.rotationDirection===0&&(i=-i),cr===Ft.ADVANCED&&(i=-i);var Ge=Math.cos(i),_e=Math.sin(i);It=new Wn(Ge,_e,-_e,Ge,0,0)}else i&&i instanceof Wn&&(It=i);cr!==Ft.ADVANCED||It||(It=Rn),(D=sr.charSpace||vi)!==void 0&&(jr+=wr(ut(D))+` Tc
`,this.setCharSpace(this.getCharSpace()||0)),(Qe=sr.horizontalScale)!==void 0&&(jr+=wr(100*Qe)+` Tz
`),sr.lang;var Kt=-1,hr=sr.renderingMode!==void 0?sr.renderingMode:sr.stroke,br=nr.internal.getCurrentPageInfo().pageContext;switch(hr){case 0:case!1:case"fill":Kt=0;break;case 1:case!0:case"stroke":Kt=1;break;case 2:case"fillThenStroke":Kt=2;break;case 3:case"invisible":Kt=3;break;case 4:case"fillAndAddForClipping":Kt=4;break;case 5:case"strokeAndAddPathForClipping":Kt=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Kt=6;break;case 7:case"addToPathForClipping":Kt=7}var kr=br.usedRenderingMode!==void 0?br.usedRenderingMode:-1;Kt!==-1?jr+=Kt+` Tr
`:kr!==-1&&(jr+=`0 Tr
`),Kt!==-1&&(br.usedRenderingMode=Kt),p=sr.align||"left";var Dr,hn=nn*cn,An=nr.internal.pageSize.getWidth(),Fn=ia[On];D=sr.charSpace||vi,oe=sr.maxWidth||0,De=Object.assign({autoencode:!0,noBOM:!0},sr.flags);var jn=[],Qn=function(Za){return nr.getStringUnitWidth(Za,{font:Fn,charSpace:D,fontSize:nn,doKerning:!1})*nn/Sn};if(Object.prototype.toString.call(x)==="[object Array]"){var qn;a=da(x),p!=="left"&&(Dr=a.map(Qn));var ha,pa=0;if(p==="right"){Me-=Dr[0],x=[],C=a.length;for(var $a=0;$a<C;$a++)$a===0?(ha=Uo(Me),qn=Qo(Rt)):(ha=ut(pa-Dr[$a]),qn=-hn),x.push([a[$a],ha,qn]),pa=Dr[$a]}else if(p==="center"){Me-=Dr[0]/2,x=[],C=a.length;for(var Ea=0;Ea<C;Ea++)Ea===0?(ha=Uo(Me),qn=Qo(Rt)):(ha=ut((pa-Dr[Ea])/2),qn=-hn),x.push([a[Ea],ha,qn]),pa=Dr[Ea]}else if(p==="left"){x=[],C=a.length;for(var Ka=0;Ka<C;Ka++)x.push(a[Ka])}else if(p==="justify"&&Fn.encoding==="Identity-H"){x=[],C=a.length,oe=oe!==0?oe:An;for(var ja=0,Ha=0;Ha<C;Ha++)if(qn=Ha===0?Qo(Rt):-hn,ha=Ha===0?Uo(Me):ja,Ha<C-1){var bo=ut((oe-Dr[Ha])/(a[Ha].split(" ").length-1)),Da=a[Ha].split(" ");x.push([Da[0]+" ",ha,qn]),ja=0;for(var po=1;po<Da.length;po++){var $o=(Qn(Da[po-1]+" "+Da[po])-Qn(Da[po]))*Sn+bo;po==Da.length-1?x.push([Da[po],$o,0]):x.push([Da[po]+" ",$o,0]),ja-=$o}}else x.push([a[Ha],ha,qn]);x.push(["",ja,0])}else{if(p!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(x=[],C=a.length,oe=oe!==0?oe:An,Ha=0;Ha<C;Ha++)qn=Ha===0?Qo(Rt):-hn,ha=Ha===0?Uo(Me):0,Ha<C-1?jn.push(wr(ut((oe-Dr[Ha])/(a[Ha].split(" ").length-1)))):jn.push(0),x.push([a[Ha],ha,qn])}}var Vo=typeof sr.R2L=="boolean"?sr.R2L:Mn;Vo===!0&&(x=va(x,function(Za,Va,fo){return[Za.split("").reverse().join(""),Va,fo]})),t={text:x,x:Me,y:Rt,options:sr,mutex:{pdfEscape:na,activeFontKey:On,fonts:ia,activeFontSize:nn}},Cn.publish("postProcessText",t),x=t.text,Jr=t.mutex.isHex||!1;var ii=ia[On].encoding;ii!=="WinAnsiEncoding"&&ii!=="StandardEncoding"||(x=va(x,function(Za,Va,fo){return[Zn(Za),Va,fo]})),a=da(x),x=[];for(var si,li,Pi,Go=0,ti=1,jo=Array.isArray(a[0])?ti:Go,ci="",ss=function(Za,Va,fo){var yo="";return fo instanceof Wn?(fo=typeof sr.angle=="number"?so(fo,new Wn(1,0,0,1,Za,Va)):so(new Wn(1,0,0,1,Za,Va),fo),cr===Ft.ADVANCED&&(fo=so(new Wn(1,0,0,-1,0,0),fo)),yo=fo.join(" ")+` Tm
`):yo=wr(Za)+" "+wr(Va)+` Td
`,yo},Bo=0;Bo<a.length;Bo++){switch(ci="",jo){case ti:Pi=(Jr?"<":"(")+a[Bo][0]+(Jr?">":")"),si=parseFloat(a[Bo][1]),li=parseFloat(a[Bo][2]);break;case Go:Pi=(Jr?"<":"(")+a[Bo]+(Jr?">":")"),si=Uo(Me),li=Qo(Rt)}jn!==void 0&&jn[Bo]!==void 0&&(ci=jn[Bo]+` Tw
`),Bo===0?x.push(ci+ss(si,li,It)+Pi):jo===Go?x.push(ci+Pi):jo===ti&&x.push(ci+ss(si,li,It)+Pi)}x=jo===Go?x.join(` Tj
T* `):x.join(` Tj
`),x+=` Tj
`;var ri=`BT
/`;return ri+=On+" "+nn+` Tf
`,ri+=wr(nn*cn)+` TL
`,ri+=gi+`
`,ri+=jr,ri+=x,Et(ri+="ET"),gt[On]=!0,nr};var rs=me.__private__.clip=me.clip=function(x){return Et(x==="evenodd"?"W*":"W"),this};me.clipEvenOdd=function(){return rs("evenodd")},me.__private__.discardPath=me.discardPath=function(){return Et("n"),this};var Jo=me.__private__.isValidStyle=function(x){var Me=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(x)!==-1&&(Me=!0),Me};me.__private__.setDefaultPathOperation=me.setDefaultPathOperation=function(x){return Jo(x)&&(Ee=x),this};var ns=me.__private__.getStyle=me.getStyle=function(x){var Me=Ee;switch(x){case"D":case"S":Me="S";break;case"F":Me="f";break;case"FD":case"DF":Me="B";break;case"f":case"f*":case"B":case"B*":Me=x}return Me},Oi=me.close=function(){return Et("h"),this};me.stroke=function(){return Et("S"),this},me.fill=function(x){return fi("f",x),this},me.fillEvenOdd=function(x){return fi("f*",x),this},me.fillStroke=function(x){return fi("B",x),this},me.fillStrokeEvenOdd=function(x){return fi("B*",x),this};var fi=function(x,Me){(0,s.Z)(Me)==="object"?mi(Me,x):Et(x)},Ri=function(x){x===null||cr===Ft.ADVANCED&&x===void 0||(x=ns(x),Et(x))};function as(x,Me,Rt,sr,k){var t=new le(Me||this.boundingBox,Rt||this.xStep,sr||this.yStep,this.gState,k||this.matrix);t.stream=this.stream;var a=x+"$$"+this.cloneIndex+++"$$";return la(a,t),t}var mi=function(x,Me){var Rt=no[x.key],sr=sa[Rt];if(sr instanceof ce)Et("q"),Et(Fi(Me)),sr.gState&&me.setGState(sr.gState),Et(x.matrix.toString()+" cm"),Et("/"+Rt+" sh"),Et("Q");else if(sr instanceof le){var k=new Wn(1,0,0,-1,0,yi());x.matrix&&(k=k.multiply(x.matrix||Rn),Rt=as.call(sr,x.key,x.boundingBox,x.xStep,x.yStep,k).id),Et("q"),Et("/Pattern cs"),Et("/"+Rt+" scn"),sr.gState&&me.setGState(sr.gState),Et(Me),Et("Q")}},Fi=function(x){switch(x){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},_i=me.moveTo=function(x,Me){return Et(wr(ut(x))+" "+wr(Pt(Me))+" m"),this},Ei=me.lineTo=function(x,Me){return Et(wr(ut(x))+" "+wr(Pt(Me))+" l"),this},pi=me.curveTo=function(x,Me,Rt,sr,k,t){return Et([wr(ut(x)),wr(Pt(Me)),wr(ut(Rt)),wr(Pt(sr)),wr(ut(k)),wr(Pt(t)),"c"].join(" ")),this};me.__private__.line=me.line=function(x,Me,Rt,sr,k){if(isNaN(x)||isNaN(Me)||isNaN(Rt)||isNaN(sr)||!Jo(k))throw new Error("Invalid arguments passed to jsPDF.line");return cr===Ft.COMPAT?this.lines([[Rt-x,sr-Me]],x,Me,[1,1],k||"S"):this.lines([[Rt-x,sr-Me]],x,Me,[1,1]).stroke()},me.__private__.lines=me.lines=function(x,Me,Rt,sr,k,t){var a,i,p,D,oe,De,Qe,It,nr,mr,jr,Jr;if(typeof x=="number"&&(Jr=Rt,Rt=Me,Me=x,x=Jr),sr=sr||[1,1],t=t||!1,isNaN(Me)||isNaN(Rt)||!Array.isArray(x)||!Array.isArray(sr)||!Jo(k)||typeof t!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(_i(Me,Rt),a=sr[0],i=sr[1],D=x.length,mr=Me,jr=Rt,p=0;p<D;p++)(oe=x[p]).length===2?(mr=oe[0]*a+mr,jr=oe[1]*i+jr,Ei(mr,jr)):(De=oe[0]*a+mr,Qe=oe[1]*i+jr,It=oe[2]*a+mr,nr=oe[3]*i+jr,mr=oe[4]*a+mr,jr=oe[5]*i+jr,pi(De,Qe,It,nr,mr,jr));return t&&Oi(),Ri(k),this},me.path=function(x){for(var Me=0;Me<x.length;Me++){var Rt=x[Me],sr=Rt.c;switch(Rt.op){case"m":_i(sr[0],sr[1]);break;case"l":Ei(sr[0],sr[1]);break;case"c":pi.apply(this,sr);break;case"h":Oi()}}return this},me.__private__.rect=me.rect=function(x,Me,Rt,sr,k){if(isNaN(x)||isNaN(Me)||isNaN(Rt)||isNaN(sr)||!Jo(k))throw new Error("Invalid arguments passed to jsPDF.rect");return cr===Ft.COMPAT&&(sr=-sr),Et([wr(ut(x)),wr(Pt(Me)),wr(ut(Rt)),wr(ut(sr)),"re"].join(" ")),Ri(k),this},me.__private__.triangle=me.triangle=function(x,Me,Rt,sr,k,t,a){if(isNaN(x)||isNaN(Me)||isNaN(Rt)||isNaN(sr)||isNaN(k)||isNaN(t)||!Jo(a))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[Rt-x,sr-Me],[k-Rt,t-sr],[x-k,Me-t]],x,Me,[1,1],a,!0),this},me.__private__.roundedRect=me.roundedRect=function(x,Me,Rt,sr,k,t,a){if(isNaN(x)||isNaN(Me)||isNaN(Rt)||isNaN(sr)||isNaN(k)||isNaN(t)||!Jo(a))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var i=4/3*(Math.SQRT2-1);return k=Math.min(k,.5*Rt),t=Math.min(t,.5*sr),this.lines([[Rt-2*k,0],[k*i,0,k,t-t*i,k,t],[0,sr-2*t],[0,t*i,-k*i,t,-k,t],[2*k-Rt,0],[-k*i,0,-k,-t*i,-k,-t],[0,2*t-sr],[0,-t*i,k*i,-t,k,-t]],x+k,Me,[1,1],a,!0),this},me.__private__.ellipse=me.ellipse=function(x,Me,Rt,sr,k){if(isNaN(x)||isNaN(Me)||isNaN(Rt)||isNaN(sr)||!Jo(k))throw new Error("Invalid arguments passed to jsPDF.ellipse");var t=4/3*(Math.SQRT2-1)*Rt,a=4/3*(Math.SQRT2-1)*sr;return _i(x+Rt,Me),pi(x+Rt,Me-a,x+t,Me-sr,x,Me-sr),pi(x-t,Me-sr,x-Rt,Me-a,x-Rt,Me),pi(x-Rt,Me+a,x-t,Me+sr,x,Me+sr),pi(x+t,Me+sr,x+Rt,Me+a,x+Rt,Me),Ri(k),this},me.__private__.circle=me.circle=function(x,Me,Rt,sr){if(isNaN(x)||isNaN(Me)||isNaN(Rt)||!Jo(sr))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(x,Me,Rt,Rt,sr)},me.setFont=function(x,Me,Rt){return Rt&&(Me=Mr(Me,Rt)),On=Ao(x,Me,{disableWarning:!1}),this};var ki=me.__private__.getFont=me.getFont=function(){return ia[Ao.apply(me,arguments)]};me.__private__.getFontList=me.getFontList=function(){var x,Me,Rt={};for(x in Ca)if(Ca.hasOwnProperty(x))for(Me in Rt[x]=[],Ca[x])Ca[x].hasOwnProperty(Me)&&Rt[x].push(Me);return Rt},me.addFont=function(x,Me,Rt,sr,k){var t=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&t.indexOf(arguments[3])!==-1?k=arguments[3]:arguments[3]&&t.indexOf(arguments[3])==-1&&(Rt=Mr(Rt,sr)),k=k||"Identity-H",Xo.call(this,x,Me,Rt,k)};var ai,Hi=g.lineWidth||.200025,Xi=me.__private__.getLineWidth=me.getLineWidth=function(){return Hi},os=me.__private__.setLineWidth=me.setLineWidth=function(x){return Hi=x,Et(wr(ut(x))+" w"),this};me.__private__.setLineDash=H.API.setLineDash=H.API.setLineDashPattern=function(x,Me){if(x=x||[],Me=Me||0,isNaN(Me)||!Array.isArray(x))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return x=x.map(function(Rt){return wr(ut(Rt))}).join(" "),Me=wr(ut(Me)),Et("["+x+"] "+Me+" d"),this};var ps=me.__private__.getLineHeight=me.getLineHeight=function(){return nn*ai};me.__private__.getLineHeight=me.getLineHeight=function(){return nn*ai};var Wi=me.__private__.setLineHeightFactor=me.setLineHeightFactor=function(x){return typeof(x=x||1.15)=="number"&&(ai=x),this},Yi=me.__private__.getLineHeightFactor=me.getLineHeightFactor=function(){return ai};Wi(g.lineHeight);var Uo=me.__private__.getHorizontalCoordinate=function(x){return ut(x)},Qo=me.__private__.getVerticalCoordinate=function(x){return cr===Ft.ADVANCED?x:fn[nt].mediaBox.topRightY-fn[nt].mediaBox.bottomLeftY-ut(x)},gs=me.__private__.getHorizontalCoordinateString=me.getHorizontalCoordinateString=function(x){return wr(Uo(x))},oi=me.__private__.getVerticalCoordinateString=me.getVerticalCoordinateString=function(x){return wr(Qo(x))},ei=g.strokeColor||"0 G";me.__private__.getStrokeColor=me.getDrawColor=function(){return ho(ei)},me.__private__.setStrokeColor=me.setDrawColor=function(x,Me,Rt,sr){return ei=ga({ch1:x,ch2:Me,ch3:Rt,ch4:sr,pdfColorType:"draw",precision:2}),Et(ei),this};var vt=g.fillColor||"0 g";me.__private__.getFillColor=me.getFillColor=function(){return ho(vt)},me.__private__.setFillColor=me.setFillColor=function(x,Me,Rt,sr){return vt=ga({ch1:x,ch2:Me,ch3:Rt,ch4:sr,pdfColorType:"fill",precision:2}),Et(vt),this};var gi=g.textColor||"0 g",Zo=me.__private__.getTextColor=me.getTextColor=function(){return ho(gi)};me.__private__.setTextColor=me.setTextColor=function(x,Me,Rt,sr){return gi=ga({ch1:x,ch2:Me,ch3:Rt,ch4:sr,pdfColorType:"text",precision:3}),this};var vi=g.charSpace,vs=me.__private__.getCharSpace=me.getCharSpace=function(){return parseFloat(vi||0)};me.__private__.setCharSpace=me.setCharSpace=function(x){if(isNaN(x))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return vi=x,this};var Ui=0;me.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},me.__private__.setLineCap=me.setLineCap=function(x){var Me=me.CapJoinStyles[x];if(Me===void 0)throw new Error("Line cap style of '"+x+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ui=Me,Et(Me+" J"),this};var qi=0;me.__private__.setLineJoin=me.setLineJoin=function(x){var Me=me.CapJoinStyles[x];if(Me===void 0)throw new Error("Line join style of '"+x+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return qi=Me,Et(Me+" j"),this},me.__private__.setLineMiterLimit=me.__private__.setMiterLimit=me.setLineMiterLimit=me.setMiterLimit=function(x){if(x=x||0,isNaN(x))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return Et(wr(ut(x))+" M"),this},me.GState=E,me.setGState=function(x){(x=typeof x=="string"?Ma[Wa[x]]:is(null,x)).equals(Jn)||(Et("/"+x.id+" gs"),Jn=x)};var is=function(x,Me){if(!x||!Wa[x]){var Rt=!1;for(var sr in Ma)if(Ma.hasOwnProperty(sr)&&Ma[sr].equals(Me)){Rt=!0;break}if(Rt)Me=Ma[sr];else{var k="GS"+(Object.keys(Ma).length+1).toString(10);Ma[k]=Me,Me.id=k}return x&&(Wa[x]=Me.id),Cn.publish("addGState",Me),Me}};me.addGState=function(x,Me){return is(x,Me),this},me.saveGraphicsState=function(){return Et("q"),uo.push({key:On,size:nn,color:gi}),this},me.restoreGraphicsState=function(){Et("Q");var x=uo.pop();return On=x.key,nn=x.size,gi=x.color,Jn=null,this},me.setCurrentTransformationMatrix=function(x){return Et(x.toString()+" cm"),this},me.comment=function(x){return Et("#"+x),this};var Ii=function(x,Me){var Rt=x||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Rt},set:function(t){isNaN(t)||(Rt=parseFloat(t))}});var sr=Me||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return sr},set:function(t){isNaN(t)||(sr=parseFloat(t))}});var k="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return k},set:function(t){k=t.toString()}}),this},Ji=function(x,Me,Rt,sr){Ii.call(this,x,Me),this.type="rect";var k=Rt||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return k},set:function(a){isNaN(a)||(k=parseFloat(a))}});var t=sr||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return t},set:function(a){isNaN(a)||(t=parseFloat(a))}}),this},Qi=function(){this.page=ra,this.currentPage=nt,this.pages=Wt.slice(0),this.pagesContext=fn.slice(0),this.x=Ba,this.y=ba,this.matrix=La,this.width=bi(nt),this.height=yi(nt),this.outputDestination=Xr,this.id="",this.objectNumber=-1};Qi.prototype.restore=function(){ra=this.page,nt=this.currentPage,fn=this.pagesContext,Wt=this.pages,Ba=this.x,ba=this.y,La=this.matrix,Zi(nt,this.width),ji(nt,this.height),Xr=this.outputDestination};var Ai=function(x,Me,Rt,sr,k){Ta.push(new Qi),ra=nt=0,Wt=[],Ba=x,ba=Me,La=k,wa([Rt,sr])},As=function(x){if(za[x])Ta.pop().restore();else{var Me=new Qi,Rt="Xo"+(Object.keys(aa).length+1).toString(10);Me.id=Rt,za[x]=Rt,aa[Rt]=Me,Cn.publish("addFormObject",Me),Ta.pop().restore()}};for(var $i in me.beginFormObject=function(x,Me,Rt,sr,k){return Ai(x,Me,Rt,sr,k),this},me.endFormObject=function(x){return As(x),this},me.doFormObject=function(x,Me){var Rt=aa[za[x]];return Et("q"),Et(Me.toString()+" cm"),Et("/"+Rt.id+" Do"),Et("Q"),this},me.getFormObject=function(x){var Me=aa[za[x]];return{x:Me.x,y:Me.y,width:Me.width,height:Me.height,matrix:Me.matrix}},me.save=function(x,Me){return x=x||"generated.pdf",(Me=Me||{}).returnPromise=Me.returnPromise||!1,Me.returnPromise===!1?(L(qo(To()),x),typeof L.unload=="function"&&I.setTimeout&&setTimeout(L.unload,911),this):new Promise(function(Rt,sr){try{var k=L(qo(To()),x);typeof L.unload=="function"&&I.setTimeout&&setTimeout(L.unload,911),Rt(k)}catch(t){sr(t.message)}})},H.API)H.API.hasOwnProperty($i)&&($i==="events"&&H.API.events.length?function(x,Me){var Rt,sr,k;for(k=Me.length-1;k!==-1;k--)Rt=Me[k][0],sr=Me[k][1],x.subscribe.apply(x,[Rt].concat(typeof sr=="function"?[sr]:sr))}(Cn,H.API.events):me[$i]=H.API[$i]);var bi=me.getPageWidth=function(x){return(fn[x=x||nt].mediaBox.topRightX-fn[x].mediaBox.bottomLeftX)/Yr},Zi=me.setPageWidth=function(x,Me){fn[x].mediaBox.topRightX=Me*Yr+fn[x].mediaBox.bottomLeftX},yi=me.getPageHeight=function(x){return(fn[x=x||nt].mediaBox.topRightY-fn[x].mediaBox.bottomLeftY)/Yr},ji=me.setPageHeight=function(x,Me){fn[x].mediaBox.topRightY=Me*Yr+fn[x].mediaBox.bottomLeftY};return me.internal={pdfEscape:na,getStyle:ns,getFont:ki,getFontSize:on,getCharSpace:vs,getTextColor:Zo,getLineHeight:ps,getLineHeightFactor:Yi,getLineWidth:Xi,write:wn,getHorizontalCoordinate:Uo,getVerticalCoordinate:Qo,getCoordinateString:gs,getVerticalCoordinateString:oi,collections:{},newObject:ca,newAdditionalObject:ao,newObjectDeferred:xa,newObjectDeferredBegin:Fa,getFilters:Ia,putStream:Sa,events:Cn,scaleFactor:Yr,pageSize:{getWidth:function(){return bi(nt)},setWidth:function(x){Zi(nt,x)},getHeight:function(){return yi(nt)},setHeight:function(x){ji(nt,x)}},encryptionOptions:ot,encryption:So,getEncryptor:fs,output:zi,getNumberOfPages:Io,pages:Wt,out:Et,f2:Br,f3:dt,getPageInfo:Di,getPageInfoByObjId:ua,getCurrentPageInfo:ms,getPDFVersion:je,Point:Ii,Rectangle:Ji,Matrix:Wn,hasHotfix:ts},Object.defineProperty(me.internal.pageSize,"width",{get:function(){return bi(nt)},set:function(x){Zi(nt,x)},enumerable:!0,configurable:!0}),Object.defineProperty(me.internal.pageSize,"height",{get:function(){return yi(nt)},set:function(x){ji(nt,x)},enumerable:!0,configurable:!0}),Ci.call(me,qr),On="F1",Ja(O,d),Cn.publish("initialized"),me}Y.prototype.lsbFirstWord=function(g){return String.fromCharCode(g>>0&255,g>>8&255,g>>16&255,g>>24&255)},Y.prototype.toHexString=function(g){return g.split("").map(function(u){return("0"+(255&u.charCodeAt(0)).toString(16)).slice(-2)}).join("")},Y.prototype.hexToBytes=function(g){for(var u=[],d=0;d<g.length;d+=2)u.push(String.fromCharCode(parseInt(g.substr(d,2),16)));return u.join("")},Y.prototype.processOwnerPassword=function(g,u){return Ce(Le(u).substr(0,5),g)},Y.prototype.encryptor=function(g,u){var d=Le(this.encryptionKey+String.fromCharCode(255&g,g>>8&255,g>>16&255,255&u,u>>8&255)).substr(0,10);return function(v){return Ce(d,v)}},E.prototype.equals=function(g){var u,d="id,objectNumber,equals";if(!g||(0,s.Z)(g)!==(0,s.Z)(this))return!1;var v=0;for(u in this)if(!(d.indexOf(u)>=0)){if(this.hasOwnProperty(u)&&!g.hasOwnProperty(u)||this[u]!==g[u])return!1;v++}for(u in g)g.hasOwnProperty(u)&&d.indexOf(u)<0&&v--;return v===0},H.API={events:[]},H.version="3.0.1";var _=H.API,re=1,T=function(g){return g.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ne=function(g){return g.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Fe=function(g){return g.toFixed(2)},ye=function(g){return g.toFixed(5)};_.__acroform__={};var lt=function(g,u){g.prototype=Object.create(u.prototype),g.prototype.constructor=g},ft=function(g){return g*re},pt=function(g){var u=new ar,d=N.internal.getHeight(g)||0,v=N.internal.getWidth(g)||0;return u.BBox=[0,0,Number(Fe(v)),Number(Fe(d))],u},he=_.__acroform__.setBit=function(g,u){if(g=g||0,u=u||0,isNaN(g)||isNaN(u))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return g|=1<<u},We=_.__acroform__.clearBit=function(g,u){if(g=g||0,u=u||0,isNaN(g)||isNaN(u))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return g&=~(1<<u)},jt=_.__acroform__.getBit=function(g,u){if(isNaN(g)||isNaN(u))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return g&1<<u?1:0},ze=_.__acroform__.getBitForPdf=function(g,u){if(isNaN(g)||isNaN(u))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return jt(g,u-1)},Be=_.__acroform__.setBitForPdf=function(g,u){if(isNaN(g)||isNaN(u))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return he(g,u-1)},P=_.__acroform__.clearBitForPdf=function(g,u){if(isNaN(g)||isNaN(u))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return We(g,u-1)},ct=_.__acroform__.calculateCoordinates=function(g,u){var d=u.internal.getHorizontalCoordinate,v=u.internal.getVerticalCoordinate,O=g[0],b=g[1],z=g[2],V=g[3],ee={};return ee.lowerLeft_X=d(O)||0,ee.lowerLeft_Y=v(b+V)||0,ee.upperRight_X=d(O+z)||0,ee.upperRight_Y=v(b)||0,[Number(Fe(ee.lowerLeft_X)),Number(Fe(ee.lowerLeft_Y)),Number(Fe(ee.upperRight_X)),Number(Fe(ee.upperRight_Y))]},Se=function(g){if(g.appearanceStreamContent)return g.appearanceStreamContent;if(g.V||g.DV){var u=[],d=g._V||g.DV,v=fe(g,d),O=g.scope.internal.getFont(g.fontName,g.fontStyle).id;u.push("/Tx BMC"),u.push("q"),u.push("BT"),u.push(g.scope.__private__.encodeColorString(g.color)),u.push("/"+O+" "+Fe(v.fontSize)+" Tf"),u.push("1 0 0 1 0 0 Tm"),u.push(v.text),u.push("ET"),u.push("Q"),u.push("EMC");var b=pt(g);return b.scope=g.scope,b.stream=u.join(`
`),b}},fe=function(g,u){var d=g.fontSize===0?g.maxFontSize:g.fontSize,v={text:"",fontSize:""},O=(u=(u=u.substr(0,1)=="("?u.substr(1):u).substr(u.length-1)==")"?u.substr(0,u.length-1):u).split(" ");O=g.multiline?O.map(function(dt){return dt.split(`
`)}):O.map(function(dt){return[dt]});var b=d,z=N.internal.getHeight(g)||0;z=z<0?-z:z;var V=N.internal.getWidth(g)||0;V=V<0?-V:V;var ee=function(dt,ut,rr){if(dt+1<O.length){var Pt=ut+" "+O[dt+1][0];return ue(Pt,g,rr).width<=V-4}return!1};b++;e:for(;b>0;){u="",b--;var Ee,ot,Xe=ue("3",g,b).height,gt=g.multiline?z-b:(z-Xe)/2,me=gt+=2,Ht=0,je=0,Pe=0;if(b<=0){u=`(...) Tj
`,u+="% Width of Text: "+ue(u,g,b=12).width+", FieldWidth:"+V+`
`;break}for(var at="",Ft=0,cr=0;cr<O.length;cr++)if(O.hasOwnProperty(cr)){var Rr=!1;if(O[cr].length!==1&&Pe!==O[cr].length-1){if((Xe+2)*(Ft+2)+2>z)continue e;at+=O[cr][Pe],Rr=!0,je=cr,cr--}else{at=(at+=O[cr][Pe]+" ").substr(at.length-1)==" "?at.substr(0,at.length-1):at;var Vr=parseInt(cr),Mr=ee(Vr,at,b),wr=cr>=O.length-1;if(Mr&&!wr){at+=" ",Pe=0;continue}if(Mr||wr){if(wr)je=Vr;else if(g.multiline&&(Xe+2)*(Ft+2)+2>z)continue e}else{if(!g.multiline||(Xe+2)*(Ft+2)+2>z)continue e;je=Vr}}for(var Zt="",_t=Ht;_t<=je;_t++){var Br=O[_t];if(g.multiline){if(_t===je){Zt+=Br[Pe]+" ",Pe=(Pe+1)%Br.length;continue}if(_t===Ht){Zt+=Br[Br.length-1]+" ";continue}}Zt+=Br[0]+" "}switch(Zt=Zt.substr(Zt.length-1)==" "?Zt.substr(0,Zt.length-1):Zt,ot=ue(Zt,g,b).width,g.textAlign){case"right":Ee=V-ot-2;break;case"center":Ee=(V-ot)/2;break;case"left":default:Ee=2}u+=Fe(Ee)+" "+Fe(me)+` Td
`,u+="("+T(Zt)+`) Tj
`,u+=-Fe(Ee)+` 0 Td
`,me=-(b+2),ot=0,Ht=Rr?je:je+1,Ft++,at=""}break}return v.text=u,v.fontSize=b,v},ue=function(g,u,d){var v=u.scope.internal.getFont(u.fontName,u.fontStyle),O=u.scope.getStringUnitWidth(g,{font:v,fontSize:parseFloat(d),charSpace:0})*parseFloat(d);return{height:u.scope.getStringUnitWidth("3",{font:v,fontSize:parseFloat(d),charSpace:0})*parseFloat(d)*1.5,width:O}},ge={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},$e=function(g,u){var d={type:"reference",object:g};u.internal.getPageInfo(g.page).pageContext.annotations.find(function(v){return v.type===d.type&&v.object===d.object})===void 0&&u.internal.getPageInfo(g.page).pageContext.annotations.push(d)},we=function(g,u){for(var d in g)if(g.hasOwnProperty(d)){var v=d,O=g[d];u.internal.newObjectDeferredBegin(O.objId,!0),(0,s.Z)(O)==="object"&&typeof O.putStream=="function"&&O.putStream(),delete g[v]}},Re=function(g,u){if(u.scope=g,g.internal!==void 0&&(g.internal.acroformPlugin===void 0||g.internal.acroformPlugin.isInitialized===!1)){if(Nt.FieldNum=0,g.internal.acroformPlugin=JSON.parse(JSON.stringify(ge)),g.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");re=g.internal.scaleFactor,g.internal.acroformPlugin.acroFormDictionaryRoot=new qt,g.internal.acroformPlugin.acroFormDictionaryRoot.scope=g,g.internal.acroformPlugin.acroFormDictionaryRoot._eventID=g.internal.events.subscribe("postPutResources",function(){(function(d){d.internal.events.unsubscribe(d.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete d.internal.acroformPlugin.acroFormDictionaryRoot._eventID,d.internal.acroformPlugin.printedOut=!0})(g)}),g.internal.events.subscribe("buildDocument",function(){(function(d){d.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var v=d.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var O in v)if(v.hasOwnProperty(O)){var b=v[O];b.objId=void 0,b.hasAnnotation&&$e(b,d)}})(g)}),g.internal.events.subscribe("putCatalog",function(){(function(d){if(d.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");d.internal.write("/AcroForm "+d.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(g)}),g.internal.events.subscribe("postPutPages",function(d){(function(v,O){var b=!v;for(var z in v||(O.internal.newObjectDeferredBegin(O.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),O.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),v=v||O.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(v.hasOwnProperty(z)){var V=v[z],ee=[],Ee=V.Rect;if(V.Rect&&(V.Rect=ct(V.Rect,O)),O.internal.newObjectDeferredBegin(V.objId,!0),V.DA=N.createDefaultAppearanceStream(V),(0,s.Z)(V)==="object"&&typeof V.getKeyValueListForStream=="function"&&(ee=V.getKeyValueListForStream()),V.Rect=Ee,V.hasAppearanceStream&&!V.appearanceStreamContent){var ot=Se(V);ee.push({key:"AP",value:"<</N "+ot+">>"}),O.internal.acroformPlugin.xForms.push(ot)}if(V.appearanceStreamContent){var Xe="";for(var gt in V.appearanceStreamContent)if(V.appearanceStreamContent.hasOwnProperty(gt)){var me=V.appearanceStreamContent[gt];if(Xe+="/"+gt+" ",Xe+="<<",Object.keys(me).length>=1||Array.isArray(me)){for(var z in me)if(me.hasOwnProperty(z)){var Ht=me[z];typeof Ht=="function"&&(Ht=Ht.call(O,V)),Xe+="/"+z+" "+Ht+" ",O.internal.acroformPlugin.xForms.indexOf(Ht)>=0||O.internal.acroformPlugin.xForms.push(Ht)}}else typeof(Ht=me)=="function"&&(Ht=Ht.call(O,V)),Xe+="/"+z+" "+Ht,O.internal.acroformPlugin.xForms.indexOf(Ht)>=0||O.internal.acroformPlugin.xForms.push(Ht);Xe+=">>"}ee.push({key:"AP",value:`<<
`+Xe+">>"})}O.internal.putStream({additionalKeyValues:ee,objectId:V.objId}),O.internal.out("endobj")}b&&we(O.internal.acroformPlugin.xForms,O)})(d,g)}),g.internal.acroformPlugin.isInitialized=!0}},Je=_.__acroform__.arrayToPdfArray=function(g,u,d){var v=function(z){return z};if(Array.isArray(g)){for(var O="[",b=0;b<g.length;b++)switch(b!==0&&(O+=" "),(0,s.Z)(g[b])){case"boolean":case"number":case"object":O+=g[b].toString();break;case"string":g[b].substr(0,1)!=="/"?(u!==void 0&&d&&(v=d.internal.getEncryptor(u)),O+="("+T(v(g[b].toString()))+")"):O+=g[b].toString()}return O+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},wt=function(g,u,d){var v=function(O){return O};return u!==void 0&&d&&(v=d.internal.getEncryptor(u)),(g=g||"").toString(),g="("+T(v(g))+")"},At=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(g){this._objId=g}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};At.prototype.toString=function(){return this.objId+" 0 R"},At.prototype.putStream=function(){var g=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:g,objectId:this.objId}),this.scope.internal.out("endobj")},At.prototype.getKeyValueListForStream=function(){var g=[],u=Object.getOwnPropertyNames(this).filter(function(b){return b!="content"&&b!="appearanceStreamContent"&&b!="scope"&&b!="objId"&&b.substring(0,1)!="_"});for(var d in u)if(Object.getOwnPropertyDescriptor(this,u[d]).configurable===!1){var v=u[d],O=this[v];O&&(Array.isArray(O)?g.push({key:v,value:Je(O,this.objId,this.scope)}):O instanceof At?(O.scope=this.scope,g.push({key:v,value:O.objId+" 0 R"})):typeof O!="function"&&g.push({key:v,value:O}))}return g};var ar=function(){At.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 g,u=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return u},set:function(d){u=d}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(d){g=d.trim()},get:function(){return g||null}})};lt(ar,At);var qt=function(){At.call(this);var g,u=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return u.length>0?u:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return u}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(g){var d=function(v){return v};return this.scope&&(d=this.scope.internal.getEncryptor(this.objId)),"("+T(d(g))+")"}},set:function(d){g=d}})};lt(qt,At);var Nt=function g(){At.call(this);var u=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return u},set:function(at){if(isNaN(at))throw new Error('Invalid value "'+at+'" for attribute F supplied.');u=at}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!ze(u,3)},set:function(at){at?this.F=Be(u,3):this.F=P(u,3)}});var d=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return d},set:function(at){if(isNaN(at))throw new Error('Invalid value "'+at+'" for attribute Ff supplied.');d=at}});var v=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(v.length!==0)return v},set:function(at){v=at!==void 0?at:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!v||isNaN(v[0])?0:v[0]},set:function(at){v[0]=at}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!v||isNaN(v[1])?0:v[1]},set:function(at){v[1]=at}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!v||isNaN(v[2])?0:v[2]},set:function(at){v[2]=at}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!v||isNaN(v[3])?0:v[3]},set:function(at){v[3]=at}});var O="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return O},set:function(at){switch(at){case"/Btn":case"/Tx":case"/Ch":case"/Sig":O=at;break;default:throw new Error('Invalid value "'+at+'" for attribute FT supplied.')}}});var b=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!b||b.length<1){if(this instanceof Cr)return;b="FieldObject"+g.FieldNum++}var at=function(Ft){return Ft};return this.scope&&(at=this.scope.internal.getEncryptor(this.objId)),"("+T(at(b))+")"},set:function(at){b=at.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return b},set:function(at){b=at}});var z="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return z},set:function(at){z=at}});var V="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return V},set:function(at){V=at}});var ee=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return ee},set:function(at){ee=at}});var Ee=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return Ee===void 0?50/re:Ee},set:function(at){Ee=at}});var ot="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return ot},set:function(at){ot=at}});var Xe="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!Xe||this instanceof Cr||this instanceof Er))return wt(Xe,this.objId,this.scope)},set:function(at){at=at.toString(),Xe=at}});var gt=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(gt)return this instanceof St?gt:wt(gt,this.objId,this.scope)},set:function(at){at=at.toString(),gt=this instanceof St?at:at.substr(0,1)==="("?ne(at.substr(1,at.length-2)):ne(at)}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof St?ne(gt.substr(1,gt.length-1)):gt},set:function(at){at=at.toString(),gt=this instanceof St?"/"+at:at}});var me=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(me)return me},set:function(at){this.V=at}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(me)return this instanceof St?me:wt(me,this.objId,this.scope)},set:function(at){at=at.toString(),me=this instanceof St?at:at.substr(0,1)==="("?ne(at.substr(1,at.length-2)):ne(at)}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof St?ne(me.substr(1,me.length-1)):me},set:function(at){at=at.toString(),me=this instanceof St?"/"+at:at}}),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 Ht,je=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return je},set:function(at){at=!!at,je=at}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(Ht)return Ht},set:function(at){Ht=at}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!ze(this.Ff,1)},set:function(at){at?this.Ff=Be(this.Ff,1):this.Ff=P(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!ze(this.Ff,2)},set:function(at){at?this.Ff=Be(this.Ff,2):this.Ff=P(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!ze(this.Ff,3)},set:function(at){at?this.Ff=Be(this.Ff,3):this.Ff=P(this.Ff,3)}});var Pe=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Pe!==null)return Pe},set:function(at){if([0,1,2].indexOf(at)===-1)throw new Error('Invalid value "'+at+'" for attribute Q supplied.');Pe=at}}),Object.defineProperty(this,"textAlign",{get:function(){var at;switch(Pe){case 0:default:at="left";break;case 1:at="center";break;case 2:at="right"}return at},configurable:!0,enumerable:!0,set:function(at){switch(at){case"right":case 2:Pe=2;break;case"center":case 1:Pe=1;break;case"left":case 0:default:Pe=0}}})};lt(Nt,At);var ht=function(){Nt.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var g=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return g},set:function(d){g=d}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return g},set:function(d){g=d}});var u=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Je(u,this.objId,this.scope)},set:function(d){var v,O;O=[],typeof(v=d)=="string"&&(O=function(b,z,V){V||(V=1);for(var ee,Ee=[];ee=z.exec(b);)Ee.push(ee[V]);return Ee}(v,/\((.*?)\)/g)),u=O}}),this.getOptions=function(){return u},this.setOptions=function(d){u=d,this.sort&&u.sort()},this.addOption=function(d){d=(d=d||"").toString(),u.push(d),this.sort&&u.sort()},this.removeOption=function(d,v){for(v=v||!1,d=(d=d||"").toString();u.indexOf(d)!==-1&&(u.splice(u.indexOf(d),1),v!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!ze(this.Ff,18)},set:function(d){d?this.Ff=Be(this.Ff,18):this.Ff=P(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!ze(this.Ff,19)},set:function(d){this.combo===!0&&(d?this.Ff=Be(this.Ff,19):this.Ff=P(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!ze(this.Ff,20)},set:function(d){d?(this.Ff=Be(this.Ff,20),u.sort()):this.Ff=P(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!ze(this.Ff,22)},set:function(d){d?this.Ff=Be(this.Ff,22):this.Ff=P(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!ze(this.Ff,23)},set:function(d){d?this.Ff=Be(this.Ff,23):this.Ff=P(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!ze(this.Ff,27)},set:function(d){d?this.Ff=Be(this.Ff,27):this.Ff=P(this.Ff,27)}}),this.hasAppearanceStream=!1};lt(ht,Nt);var Ot=function(){ht.call(this),this.fontName="helvetica",this.combo=!1};lt(Ot,ht);var Tt=function(){Ot.call(this),this.combo=!0};lt(Tt,Ot);var Ut=function(){Tt.call(this),this.edit=!0};lt(Ut,Tt);var St=function(){Nt.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!ze(this.Ff,15)},set:function(d){d?this.Ff=Be(this.Ff,15):this.Ff=P(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!ze(this.Ff,16)},set:function(d){d?this.Ff=Be(this.Ff,16):this.Ff=P(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!ze(this.Ff,17)},set:function(d){d?this.Ff=Be(this.Ff,17):this.Ff=P(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!ze(this.Ff,26)},set:function(d){d?this.Ff=Be(this.Ff,26):this.Ff=P(this.Ff,26)}});var g,u={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var d=function(b){return b};if(this.scope&&(d=this.scope.internal.getEncryptor(this.objId)),Object.keys(u).length!==0){var v,O=[];for(v in O.push("<<"),u)O.push("/"+v+" ("+T(d(u[v]))+")");return O.push(">>"),O.join(`
`)}},set:function(d){(0,s.Z)(d)==="object"&&(u=d)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return u.CA||""},set:function(d){typeof d=="string"&&(u.CA=d)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return g},set:function(d){g=d}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return g.substr(1,g.length-1)},set:function(d){g="/"+d}})};lt(St,Nt);var gr=function(){St.call(this),this.pushButton=!0};lt(gr,St);var lr=function(){St.call(this),this.radio=!0,this.pushButton=!1;var g=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return g},set:function(u){g=u!==void 0?u:[]}})};lt(lr,St);var Cr=function(){var g,u;Nt.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return g},set:function(O){g=O}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return u},set:function(O){u=O}});var d,v={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var O=function(V){return V};this.scope&&(O=this.scope.internal.getEncryptor(this.objId));var b,z=[];for(b in z.push("<<"),v)z.push("/"+b+" ("+T(O(v[b]))+")");return z.push(">>"),z.join(`
`)},set:function(O){(0,s.Z)(O)==="object"&&(v=O)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return v.CA||""},set:function(O){typeof O=="string"&&(v.CA=O)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return d},set:function(O){d=O}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return d.substr(1,d.length-1)},set:function(O){d="/"+O}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=N.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};lt(Cr,Nt),lr.prototype.setAppearance=function(g){if(!("createAppearanceStream"in g)||!("getCA"in g))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var u in this.Kids)if(this.Kids.hasOwnProperty(u)){var d=this.Kids[u];d.appearanceStreamContent=g.createAppearanceStream(d.optionName),d.caption=g.getCA()}},lr.prototype.createOption=function(g){var u=new Cr;return u.Parent=this,u.optionName=g,this.Kids.push(u),er.call(this.scope,u),u};var rn=function(){St.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=N.CheckBox.createAppearanceStream()};lt(rn,St);var Er=function(){Nt.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!ze(this.Ff,13)},set:function(u){u?this.Ff=Be(this.Ff,13):this.Ff=P(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!ze(this.Ff,21)},set:function(u){u?this.Ff=Be(this.Ff,21):this.Ff=P(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!ze(this.Ff,23)},set:function(u){u?this.Ff=Be(this.Ff,23):this.Ff=P(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!ze(this.Ff,24)},set:function(u){u?this.Ff=Be(this.Ff,24):this.Ff=P(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!ze(this.Ff,25)},set:function(u){u?this.Ff=Be(this.Ff,25):this.Ff=P(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!ze(this.Ff,26)},set:function(u){u?this.Ff=Be(this.Ff,26):this.Ff=P(this.Ff,26)}});var g=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return g},set:function(u){g=u}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return g},set:function(u){Number.isInteger(u)&&(g=u)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};lt(Er,Nt);var S=function(){Er.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!ze(this.Ff,14)},set:function(g){g?this.Ff=Be(this.Ff,14):this.Ff=P(this.Ff,14)}}),this.password=!0};lt(S,Er);var N={CheckBox:{createAppearanceStream:function(){return{N:{On:N.CheckBox.YesNormal},D:{On:N.CheckBox.YesPushDown,Off:N.CheckBox.OffPushDown}}},YesPushDown:function(g){var u=pt(g);u.scope=g.scope;var d=[],v=g.scope.internal.getFont(g.fontName,g.fontStyle).id,O=g.scope.__private__.encodeColorString(g.color),b=fe(g,g.caption);return d.push("0.749023 g"),d.push("0 0 "+Fe(N.internal.getWidth(g))+" "+Fe(N.internal.getHeight(g))+" re"),d.push("f"),d.push("BMC"),d.push("q"),d.push("0 0 1 rg"),d.push("/"+v+" "+Fe(b.fontSize)+" Tf "+O),d.push("BT"),d.push(b.text),d.push("ET"),d.push("Q"),d.push("EMC"),u.stream=d.join(`
`),u},YesNormal:function(g){var u=pt(g);u.scope=g.scope;var d=g.scope.internal.getFont(g.fontName,g.fontStyle).id,v=g.scope.__private__.encodeColorString(g.color),O=[],b=N.internal.getHeight(g),z=N.internal.getWidth(g),V=fe(g,g.caption);return O.push("1 g"),O.push("0 0 "+Fe(z)+" "+Fe(b)+" re"),O.push("f"),O.push("q"),O.push("0 0 1 rg"),O.push("0 0 "+Fe(z-1)+" "+Fe(b-1)+" re"),O.push("W"),O.push("n"),O.push("0 g"),O.push("BT"),O.push("/"+d+" "+Fe(V.fontSize)+" Tf "+v),O.push(V.text),O.push("ET"),O.push("Q"),u.stream=O.join(`
`),u},OffPushDown:function(g){var u=pt(g);u.scope=g.scope;var d=[];return d.push("0.749023 g"),d.push("0 0 "+Fe(N.internal.getWidth(g))+" "+Fe(N.internal.getHeight(g))+" re"),d.push("f"),u.stream=d.join(`
`),u}},RadioButton:{Circle:{createAppearanceStream:function(g){var u={D:{Off:N.RadioButton.Circle.OffPushDown},N:{}};return u.N[g]=N.RadioButton.Circle.YesNormal,u.D[g]=N.RadioButton.Circle.YesPushDown,u},getCA:function(){return"l"},YesNormal:function(g){var u=pt(g);u.scope=g.scope;var d=[],v=N.internal.getWidth(g)<=N.internal.getHeight(g)?N.internal.getWidth(g)/4:N.internal.getHeight(g)/4;v=Number((.9*v).toFixed(5));var O=N.internal.Bezier_C,b=Number((v*O).toFixed(5));return d.push("q"),d.push("1 0 0 1 "+ye(N.internal.getWidth(g)/2)+" "+ye(N.internal.getHeight(g)/2)+" cm"),d.push(v+" 0 m"),d.push(v+" "+b+" "+b+" "+v+" 0 "+v+" c"),d.push("-"+b+" "+v+" -"+v+" "+b+" -"+v+" 0 c"),d.push("-"+v+" -"+b+" -"+b+" -"+v+" 0 -"+v+" c"),d.push(b+" -"+v+" "+v+" -"+b+" "+v+" 0 c"),d.push("f"),d.push("Q"),u.stream=d.join(`
`),u},YesPushDown:function(g){var u=pt(g);u.scope=g.scope;var d=[],v=N.internal.getWidth(g)<=N.internal.getHeight(g)?N.internal.getWidth(g)/4:N.internal.getHeight(g)/4;v=Number((.9*v).toFixed(5));var O=Number((2*v).toFixed(5)),b=Number((O*N.internal.Bezier_C).toFixed(5)),z=Number((v*N.internal.Bezier_C).toFixed(5));return d.push("0.749023 g"),d.push("q"),d.push("1 0 0 1 "+ye(N.internal.getWidth(g)/2)+" "+ye(N.internal.getHeight(g)/2)+" cm"),d.push(O+" 0 m"),d.push(O+" "+b+" "+b+" "+O+" 0 "+O+" c"),d.push("-"+b+" "+O+" -"+O+" "+b+" -"+O+" 0 c"),d.push("-"+O+" -"+b+" -"+b+" -"+O+" 0 -"+O+" c"),d.push(b+" -"+O+" "+O+" -"+b+" "+O+" 0 c"),d.push("f"),d.push("Q"),d.push("0 g"),d.push("q"),d.push("1 0 0 1 "+ye(N.internal.getWidth(g)/2)+" "+ye(N.internal.getHeight(g)/2)+" cm"),d.push(v+" 0 m"),d.push(v+" "+z+" "+z+" "+v+" 0 "+v+" c"),d.push("-"+z+" "+v+" -"+v+" "+z+" -"+v+" 0 c"),d.push("-"+v+" -"+z+" -"+z+" -"+v+" 0 -"+v+" c"),d.push(z+" -"+v+" "+v+" -"+z+" "+v+" 0 c"),d.push("f"),d.push("Q"),u.stream=d.join(`
`),u},OffPushDown:function(g){var u=pt(g);u.scope=g.scope;var d=[],v=N.internal.getWidth(g)<=N.internal.getHeight(g)?N.internal.getWidth(g)/4:N.internal.getHeight(g)/4;v=Number((.9*v).toFixed(5));var O=Number((2*v).toFixed(5)),b=Number((O*N.internal.Bezier_C).toFixed(5));return d.push("0.749023 g"),d.push("q"),d.push("1 0 0 1 "+ye(N.internal.getWidth(g)/2)+" "+ye(N.internal.getHeight(g)/2)+" cm"),d.push(O+" 0 m"),d.push(O+" "+b+" "+b+" "+O+" 0 "+O+" c"),d.push("-"+b+" "+O+" -"+O+" "+b+" -"+O+" 0 c"),d.push("-"+O+" -"+b+" -"+b+" -"+O+" 0 -"+O+" c"),d.push(b+" -"+O+" "+O+" -"+b+" "+O+" 0 c"),d.push("f"),d.push("Q"),u.stream=d.join(`
`),u}},Cross:{createAppearanceStream:function(g){var u={D:{Off:N.RadioButton.Cross.OffPushDown},N:{}};return u.N[g]=N.RadioButton.Cross.YesNormal,u.D[g]=N.RadioButton.Cross.YesPushDown,u},getCA:function(){return"8"},YesNormal:function(g){var u=pt(g);u.scope=g.scope;var d=[],v=N.internal.calculateCross(g);return d.push("q"),d.push("1 1 "+Fe(N.internal.getWidth(g)-2)+" "+Fe(N.internal.getHeight(g)-2)+" re"),d.push("W"),d.push("n"),d.push(Fe(v.x1.x)+" "+Fe(v.x1.y)+" m"),d.push(Fe(v.x2.x)+" "+Fe(v.x2.y)+" l"),d.push(Fe(v.x4.x)+" "+Fe(v.x4.y)+" m"),d.push(Fe(v.x3.x)+" "+Fe(v.x3.y)+" l"),d.push("s"),d.push("Q"),u.stream=d.join(`
`),u},YesPushDown:function(g){var u=pt(g);u.scope=g.scope;var d=N.internal.calculateCross(g),v=[];return v.push("0.749023 g"),v.push("0 0 "+Fe(N.internal.getWidth(g))+" "+Fe(N.internal.getHeight(g))+" re"),v.push("f"),v.push("q"),v.push("1 1 "+Fe(N.internal.getWidth(g)-2)+" "+Fe(N.internal.getHeight(g)-2)+" re"),v.push("W"),v.push("n"),v.push(Fe(d.x1.x)+" "+Fe(d.x1.y)+" m"),v.push(Fe(d.x2.x)+" "+Fe(d.x2.y)+" l"),v.push(Fe(d.x4.x)+" "+Fe(d.x4.y)+" m"),v.push(Fe(d.x3.x)+" "+Fe(d.x3.y)+" l"),v.push("s"),v.push("Q"),u.stream=v.join(`
`),u},OffPushDown:function(g){var u=pt(g);u.scope=g.scope;var d=[];return d.push("0.749023 g"),d.push("0 0 "+Fe(N.internal.getWidth(g))+" "+Fe(N.internal.getHeight(g))+" re"),d.push("f"),u.stream=d.join(`
`),u}}},createDefaultAppearanceStream:function(g){var u=g.scope.internal.getFont(g.fontName,g.fontStyle).id,d=g.scope.__private__.encodeColorString(g.color);return"/"+u+" "+g.fontSize+" Tf "+d}};N.internal={Bezier_C:.551915024494,calculateCross:function(g){var u=N.internal.getWidth(g),d=N.internal.getHeight(g),v=Math.min(u,d);return{x1:{x:(u-v)/2,y:(d-v)/2+v},x2:{x:(u-v)/2+v,y:(d-v)/2},x3:{x:(u-v)/2,y:(d-v)/2},x4:{x:(u-v)/2+v,y:(d-v)/2+v}}}},N.internal.getWidth=function(g){var u=0;return(0,s.Z)(g)==="object"&&(u=ft(g.Rect[2])),u},N.internal.getHeight=function(g){var u=0;return(0,s.Z)(g)==="object"&&(u=ft(g.Rect[3])),u};var er=_.addField=function(g){if(Re(this,g),!(g instanceof Nt))throw new Error("Invalid argument passed to jsPDF.addField.");var u;return(u=g).scope.internal.acroformPlugin.printedOut&&(u.scope.internal.acroformPlugin.printedOut=!1,u.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),u.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(u),g.page=g.scope.internal.getCurrentPageInfo().pageNumber,this};_.AcroFormChoiceField=ht,_.AcroFormListBox=Ot,_.AcroFormComboBox=Tt,_.AcroFormEditBox=Ut,_.AcroFormButton=St,_.AcroFormPushButton=gr,_.AcroFormRadioButton=lr,_.AcroFormCheckBox=rn,_.AcroFormTextField=Er,_.AcroFormPasswordField=S,_.AcroFormAppearance=N,_.AcroForm={ChoiceField:ht,ListBox:Ot,ComboBox:Tt,EditBox:Ut,Button:St,PushButton:gr,RadioButton:lr,CheckBox:rn,TextField:Er,PasswordField:S,Appearance:N},H.AcroForm={ChoiceField:ht,ListBox:Ot,ComboBox:Tt,EditBox:Ut,Button:St,PushButton:gr,RadioButton:lr,CheckBox:rn,TextField:Er,PasswordField:S,Appearance:N};var se=H.AcroForm;function ke(g){return g.reduce(function(u,d,v){return u[d]=v,u},{})}(function(g){g.__addimage__={};var u="UNKNOWN",d={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]]},v=g.__addimage__.getImageFileTypeByImageData=function(dt,ut){var rr,Pt,Ve,ve,$t,Ct=u;if((ut=ut||u)==="RGBA"||dt.data!==void 0&&dt.data instanceof Uint8ClampedArray&&"height"in dt&&"width"in dt)return"RGBA";if(Mr(dt))for($t in d)for(Ve=d[$t],rr=0;rr<Ve.length;rr+=1){for(ve=!0,Pt=0;Pt<Ve[rr].length;Pt+=1)if(Ve[rr][Pt]!==void 0&&Ve[rr][Pt]!==dt[Pt]){ve=!1;break}if(ve===!0){Ct=$t;break}}else for($t in d)for(Ve=d[$t],rr=0;rr<Ve.length;rr+=1){for(ve=!0,Pt=0;Pt<Ve[rr].length;Pt+=1)if(Ve[rr][Pt]!==void 0&&Ve[rr][Pt]!==dt.charCodeAt(Pt)){ve=!1;break}if(ve===!0){Ct=$t;break}}return Ct===u&&ut!==u&&(Ct=ut),Ct},O=function dt(ut){for(var rr=this.internal.write,Pt=this.internal.putStream,Ve=(0,this.internal.getFilters)();Ve.indexOf("FlateEncode")!==-1;)Ve.splice(Ve.indexOf("FlateEncode"),1);ut.objectId=this.internal.newObject();var ve=[];if(ve.push({key:"Type",value:"/XObject"}),ve.push({key:"Subtype",value:"/Image"}),ve.push({key:"Width",value:ut.width}),ve.push({key:"Height",value:ut.height}),ut.colorSpace===Pe.INDEXED?ve.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(ut.palette.length/3-1)+" "+("sMask"in ut&&ut.sMask!==void 0?ut.objectId+2:ut.objectId+1)+" 0 R]"}):(ve.push({key:"ColorSpace",value:"/"+ut.colorSpace}),ut.colorSpace===Pe.DEVICE_CMYK&&ve.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),ve.push({key:"BitsPerComponent",value:ut.bitsPerComponent}),"decodeParameters"in ut&&ut.decodeParameters!==void 0&&ve.push({key:"DecodeParms",value:"<<"+ut.decodeParameters+">>"}),"transparency"in ut&&Array.isArray(ut.transparency)){for(var $t="",Ct=0,Xt=ut.transparency.length;Ct<Xt;Ct++)$t+=ut.transparency[Ct]+" "+ut.transparency[Ct]+" ";ve.push({key:"Mask",value:"["+$t+"]"})}ut.sMask!==void 0&&ve.push({key:"SMask",value:ut.objectId+1+" 0 R"});var Gt=ut.filter!==void 0?["/"+ut.filter]:void 0;if(Pt({data:ut.data,additionalKeyValues:ve,alreadyAppliedFilters:Gt,objectId:ut.objectId}),rr("endobj"),"sMask"in ut&&ut.sMask!==void 0){var Sr="/Predictor "+ut.predictor+" /Colors 1 /BitsPerComponent "+ut.bitsPerComponent+" /Columns "+ut.width,be={width:ut.width,height:ut.height,colorSpace:"DeviceGray",bitsPerComponent:ut.bitsPerComponent,decodeParameters:Sr,data:ut.sMask};"filter"in ut&&(be.filter=ut.filter),dt.call(this,be)}if(ut.colorSpace===Pe.INDEXED){var nt=this.internal.newObject();Pt({data:Zt(new Uint8Array(ut.palette)),objectId:nt}),rr("endobj")}},b=function(){var dt=this.internal.collections.addImage_images;for(var ut in dt)O.call(this,dt[ut])},z=function(){var dt,ut=this.internal.collections.addImage_images,rr=this.internal.write;for(var Pt in ut)rr("/I"+(dt=ut[Pt]).index,dt.objectId,"0","R")},V=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",b),this.internal.events.subscribe("putXobjectDict",z))},ee=function(){var dt=this.internal.collections.addImage_images;return V.call(this),dt},Ee=function(){return Object.keys(this.internal.collections.addImage_images).length},ot=function(dt){return typeof g["process"+dt.toUpperCase()]=="function"},Xe=function(dt){return(0,s.Z)(dt)==="object"&&dt.nodeType===1},gt=function(dt,ut){if(dt.nodeName==="IMG"&&dt.hasAttribute("src")){var rr=""+dt.getAttribute("src");if(rr.indexOf("data:image/")===0)return U(unescape(rr).split("base64,").pop());var Pt=g.loadFile(rr,!0);if(Pt!==void 0)return Pt}if(dt.nodeName==="CANVAS"){if(dt.width===0||dt.height===0)throw new Error("Given canvas must have data. Canvas width: "+dt.width+", height: "+dt.height);var Ve;switch(ut){case"PNG":Ve="image/png";break;case"WEBP":Ve="image/webp";break;case"JPEG":case"JPG":default:Ve="image/jpeg"}return U(dt.toDataURL(Ve,1).split("base64,").pop())}},me=function(dt){var ut=this.internal.collections.addImage_images;if(ut){for(var rr in ut)if(dt===ut[rr].alias)return ut[rr]}},Ht=function(dt,ut,rr){return dt||ut||(dt=-96,ut=-96),dt<0&&(dt=-1*rr.width*72/dt/this.internal.scaleFactor),ut<0&&(ut=-1*rr.height*72/ut/this.internal.scaleFactor),dt===0&&(dt=ut*rr.width/rr.height),ut===0&&(ut=dt*rr.height/rr.width),[dt,ut]},je=function(dt,ut,rr,Pt,Ve,ve){var $t=Ht.call(this,rr,Pt,Ve),Ct=this.internal.getCoordinateString,Xt=this.internal.getVerticalCoordinateString,Gt=ee.call(this);if(rr=$t[0],Pt=$t[1],Gt[Ve.index]=Ve,ve){ve*=Math.PI/180;var Sr=Math.cos(ve),be=Math.sin(ve),nt=function(kt){return kt.toFixed(4)},rt=[nt(Sr),nt(be),nt(-1*be),nt(Sr),0,0,"cm"]}this.internal.write("q"),ve?(this.internal.write([1,"0","0",1,Ct(dt),Xt(ut+Pt),"cm"].join(" ")),this.internal.write(rt.join(" ")),this.internal.write([Ct(rr),"0","0",Ct(Pt),"0","0","cm"].join(" "))):this.internal.write([Ct(rr),"0","0",Ct(Pt),Ct(dt),Xt(ut+Pt),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+Ve.index+" Do"),this.internal.write("Q")},Pe=g.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"};g.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 at=g.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},Ft=g.__addimage__.sHashCode=function(dt){var ut,rr,Pt=0;if(typeof dt=="string")for(rr=dt.length,ut=0;ut<rr;ut++)Pt=(Pt<<5)-Pt+dt.charCodeAt(ut),Pt|=0;else if(Mr(dt))for(rr=dt.byteLength/2,ut=0;ut<rr;ut++)Pt=(Pt<<5)-Pt+dt[ut],Pt|=0;return Pt},cr=g.__addimage__.validateStringAsBase64=function(dt){(dt=dt||"").toString().trim();var ut=!0;return dt.length===0&&(ut=!1),dt.length%4!=0&&(ut=!1),/^[A-Za-z0-9+/]+$/.test(dt.substr(0,dt.length-2))===!1&&(ut=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(dt.substr(-2))===!1&&(ut=!1),ut},Rr=g.__addimage__.extractImageFromDataUrl=function(dt){if(dt==null||!(dt=dt.trim()).startsWith("data:"))return null;var ut=dt.indexOf(",");return ut<0?null:dt.substring(0,ut).trim().endsWith("base64")?dt.substring(ut+1):null},Vr=g.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"};g.__addimage__.isArrayBuffer=function(dt){return Vr()&&dt instanceof ArrayBuffer};var Mr=g.__addimage__.isArrayBufferView=function(dt){return Vr()&&typeof Uint32Array!="undefined"&&(dt instanceof Int8Array||dt instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&dt instanceof Uint8ClampedArray||dt instanceof Int16Array||dt instanceof Uint16Array||dt instanceof Int32Array||dt instanceof Uint32Array||dt instanceof Float32Array||dt instanceof Float64Array)},wr=g.__addimage__.binaryStringToUint8Array=function(dt){for(var ut=dt.length,rr=new Uint8Array(ut),Pt=0;Pt<ut;Pt++)rr[Pt]=dt.charCodeAt(Pt);return rr},Zt=g.__addimage__.arrayBufferToBinaryString=function(dt){for(var ut="",rr=Mr(dt)?dt:new Uint8Array(dt),Pt=0;Pt<rr.length;Pt+=8192)ut+=String.fromCharCode.apply(null,rr.subarray(Pt,Pt+8192));return ut};g.addImage=function(){var dt,ut,rr,Pt,Ve,ve,$t,Ct,Xt;if(typeof arguments[1]=="number"?(ut=u,rr=arguments[1],Pt=arguments[2],Ve=arguments[3],ve=arguments[4],$t=arguments[5],Ct=arguments[6],Xt=arguments[7]):(ut=arguments[1],rr=arguments[2],Pt=arguments[3],Ve=arguments[4],ve=arguments[5],$t=arguments[6],Ct=arguments[7],Xt=arguments[8]),(0,s.Z)(dt=arguments[0])==="object"&&!Xe(dt)&&"imageData"in dt){var Gt=dt;dt=Gt.imageData,ut=Gt.format||ut||u,rr=Gt.x||rr||0,Pt=Gt.y||Pt||0,Ve=Gt.w||Gt.width||Ve,ve=Gt.h||Gt.height||ve,$t=Gt.alias||$t,Ct=Gt.compression||Ct,Xt=Gt.rotation||Gt.angle||Xt}var Sr=this.internal.getFilters();if(Ct===void 0&&Sr.indexOf("FlateEncode")!==-1&&(Ct="SLOW"),isNaN(rr)||isNaN(Pt))throw new Error("Invalid coordinates passed to jsPDF.addImage");V.call(this);var be=_t.call(this,dt,ut,$t,Ct);return je.call(this,rr,Pt,Ve,ve,be,Xt),this};var _t=function(dt,ut,rr,Pt){var Ve,ve,$t;if(typeof dt=="string"&&v(dt)===u){dt=unescape(dt);var Ct=Br(dt,!1);(Ct!==""||(Ct=g.loadFile(dt,!0))!==void 0)&&(dt=Ct)}if(Xe(dt)&&(dt=gt(dt,ut)),ut=v(dt,ut),!ot(ut))throw new Error("addImage does not support files of type '"+ut+"', please ensure that a plugin for '"+ut+"' support is added.");if((($t=rr)==null||$t.length===0)&&(rr=function(Xt){return typeof Xt=="string"||Mr(Xt)?Ft(Xt):Mr(Xt.data)?Ft(Xt.data):null}(dt)),(Ve=me.call(this,rr))||(Vr()&&(dt instanceof Uint8Array||ut==="RGBA"||(ve=dt,dt=wr(dt))),Ve=this["process"+ut.toUpperCase()](dt,Ee.call(this),rr,function(Xt){return Xt&&typeof Xt=="string"&&(Xt=Xt.toUpperCase()),Xt in g.image_compression?Xt:at.NONE}(Pt),ve)),!Ve)throw new Error("An unknown error occurred whilst processing the image.");return Ve},Br=g.__addimage__.convertBase64ToBinaryString=function(dt,ut){ut=typeof ut!="boolean"||ut;var rr,Pt="";if(typeof dt=="string"){var Ve;rr=(Ve=Rr(dt))!==null&&Ve!==void 0?Ve:dt;try{Pt=U(rr)}catch(ve){if(ut)throw cr(rr)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+ve.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return Pt};g.getImageProperties=function(dt){var ut,rr,Pt="";if(Xe(dt)&&(dt=gt(dt)),typeof dt=="string"&&v(dt)===u&&((Pt=Br(dt,!1))===""&&(Pt=g.loadFile(dt)||""),dt=Pt),rr=v(dt),!ot(rr))throw new Error("addImage does not support files of type '"+rr+"', please ensure that a plugin for '"+rr+"' support is added.");if(!Vr()||dt instanceof Uint8Array||(dt=wr(dt)),!(ut=this["process"+rr.toUpperCase()](dt)))throw new Error("An unknown error occurred whilst processing the image");return ut.fileType=rr,ut}})(H.API),function(g){var u=function(d){if(d!==void 0&&d!="")return!0};H.API.events.push(["addPage",function(d){this.internal.getPageInfo(d.pageNumber).pageContext.annotations=[]}]),g.events.push(["putPage",function(d){for(var v,O,b,z=this.internal.getCoordinateString,V=this.internal.getVerticalCoordinateString,ee=this.internal.getPageInfoByObjId(d.objId),Ee=d.pageContext.annotations,ot=!1,Xe=0;Xe<Ee.length&&!ot;Xe++)switch((v=Ee[Xe]).type){case"link":(u(v.options.url)||u(v.options.pageNumber))&&(ot=!0);break;case"reference":case"text":case"freetext":ot=!0}if(ot!=0){this.internal.write("/Annots [");for(var gt=0;gt<Ee.length;gt++){v=Ee[gt];var me=this.internal.pdfEscape,Ht=this.internal.getEncryptor(d.objId);switch(v.type){case"reference":this.internal.write(" "+v.object.objId+" 0 R ");break;case"text":var je=this.internal.newAdditionalObject(),Pe=this.internal.newAdditionalObject(),at=this.internal.getEncryptor(je.objId),Ft=v.title||"Note";b="<</Type /Annot /Subtype /Text "+(O="/Rect ["+z(v.bounds.x)+" "+V(v.bounds.y+v.bounds.h)+" "+z(v.bounds.x+v.bounds.w)+" "+V(v.bounds.y)+"] ")+"/Contents ("+me(at(v.contents))+")",b+=" /Popup "+Pe.objId+" 0 R",b+=" /P "+ee.objId+" 0 R",b+=" /T ("+me(at(Ft))+") >>",je.content=b;var cr=je.objId+" 0 R";b="<</Type /Annot /Subtype /Popup "+(O="/Rect ["+z(v.bounds.x+30)+" "+V(v.bounds.y+v.bounds.h)+" "+z(v.bounds.x+v.bounds.w+30)+" "+V(v.bounds.y)+"] ")+" /Parent "+cr,v.open&&(b+=" /Open true"),b+=" >>",Pe.content=b,this.internal.write(je.objId,"0 R",Pe.objId,"0 R");break;case"freetext":O="/Rect ["+z(v.bounds.x)+" "+V(v.bounds.y)+" "+z(v.bounds.x+v.bounds.w)+" "+V(v.bounds.y+v.bounds.h)+"] ";var Rr=v.color||"#000000";b="<</Type /Annot /Subtype /FreeText "+O+"/Contents ("+me(Ht(v.contents))+")",b+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+Rr+")",b+=" /Border [0 0 0]",b+=" >>",this.internal.write(b);break;case"link":if(v.options.name){var Vr=this.annotations._nameMap[v.options.name];v.options.pageNumber=Vr.page,v.options.top=Vr.y}else v.options.top||(v.options.top=0);if(O="/Rect ["+v.finalBounds.x+" "+v.finalBounds.y+" "+v.finalBounds.w+" "+v.finalBounds.h+"] ",b="",v.options.url)b="<</Type /Annot /Subtype /Link "+O+"/Border [0 0 0] /A <</S /URI /URI ("+me(Ht(v.options.url))+") >>";else if(v.options.pageNumber)switch(b="<</Type /Annot /Subtype /Link "+O+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(v.options.pageNumber).objId+" 0 R",v.options.magFactor=v.options.magFactor||"XYZ",v.options.magFactor){case"Fit":b+=" /Fit]";break;case"FitH":b+=" /FitH "+v.options.top+"]";break;case"FitV":v.options.left=v.options.left||0,b+=" /FitV "+v.options.left+"]";break;case"XYZ":default:var Mr=V(v.options.top);v.options.left=v.options.left||0,v.options.zoom===void 0&&(v.options.zoom=0),b+=" /XYZ "+v.options.left+" "+Mr+" "+v.options.zoom+"]"}b!=""&&(b+=" >>",this.internal.write(b))}}this.internal.write("]")}}]),g.createAnnotation=function(d){var v=this.internal.getCurrentPageInfo();switch(d.type){case"link":this.link(d.bounds.x,d.bounds.y,d.bounds.w,d.bounds.h,d);break;case"text":case"freetext":v.pageContext.annotations.push(d)}},g.link=function(d,v,O,b,z){var V=this.internal.getCurrentPageInfo(),ee=this.internal.getCoordinateString,Ee=this.internal.getVerticalCoordinateString;V.pageContext.annotations.push({finalBounds:{x:ee(d),y:Ee(v),w:ee(d+O),h:Ee(v+b)},options:z,type:"link"})},g.textWithLink=function(d,v,O,b){var z,V,ee=this.getTextWidth(d),Ee=this.internal.getLineHeight()/this.internal.scaleFactor;if(b.maxWidth!==void 0){V=b.maxWidth;var ot=this.splitTextToSize(d,V).length;z=Math.ceil(Ee*ot)}else V=ee,z=Ee;return this.text(d,v,O,b),O+=.2*Ee,b.align==="center"&&(v-=ee/2),b.align==="right"&&(v-=ee),this.link(v,O-Ee,V,z,b),ee},g.getTextWidth=function(d){var v=this.internal.getFontSize();return this.getStringUnitWidth(d)*v/this.internal.scaleFactor}}(H.API),function(g){var u={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]},d={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}},v={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},O=[1570,1571,1573,1575];g.__arabicParser__={};var b=g.__arabicParser__.isInArabicSubstitutionA=function(je){return u[je.charCodeAt(0)]!==void 0},z=g.__arabicParser__.isArabicLetter=function(je){return typeof je=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(je)},V=g.__arabicParser__.isArabicEndLetter=function(je){return z(je)&&b(je)&&u[je.charCodeAt(0)].length<=2},ee=g.__arabicParser__.isArabicAlfLetter=function(je){return z(je)&&O.indexOf(je.charCodeAt(0))>=0};g.__arabicParser__.arabicLetterHasIsolatedForm=function(je){return z(je)&&b(je)&&u[je.charCodeAt(0)].length>=1};var Ee=g.__arabicParser__.arabicLetterHasFinalForm=function(je){return z(je)&&b(je)&&u[je.charCodeAt(0)].length>=2};g.__arabicParser__.arabicLetterHasInitialForm=function(je){return z(je)&&b(je)&&u[je.charCodeAt(0)].length>=3};var ot=g.__arabicParser__.arabicLetterHasMedialForm=function(je){return z(je)&&b(je)&&u[je.charCodeAt(0)].length==4},Xe=g.__arabicParser__.resolveLigatures=function(je){var Pe=0,at=d,Ft="",cr=0;for(Pe=0;Pe<je.length;Pe+=1)at[je.charCodeAt(Pe)]!==void 0?(cr++,typeof(at=at[je.charCodeAt(Pe)])=="number"&&(Ft+=String.fromCharCode(at),at=d,cr=0),Pe===je.length-1&&(at=d,Ft+=je.charAt(Pe-(cr-1)),Pe-=cr-1,cr=0)):(at=d,Ft+=je.charAt(Pe-cr),Pe-=cr,cr=0);return Ft};g.__arabicParser__.isArabicDiacritic=function(je){return je!==void 0&&v[je.charCodeAt(0)]!==void 0};var gt=g.__arabicParser__.getCorrectForm=function(je,Pe,at){return z(je)?b(je)===!1?-1:!Ee(je)||!z(Pe)&&!z(at)||!z(at)&&V(Pe)||V(je)&&!z(Pe)||V(je)&&ee(Pe)||V(je)&&V(Pe)?0:ot(je)&&z(Pe)&&!V(Pe)&&z(at)&&Ee(at)?3:V(je)||!z(at)?1:2:-1},me=function(je){var Pe=0,at=0,Ft=0,cr="",Rr="",Vr="",Mr=(je=je||"").split("\\s+"),wr=[];for(Pe=0;Pe<Mr.length;Pe+=1){for(wr.push(""),at=0;at<Mr[Pe].length;at+=1)cr=Mr[Pe][at],Rr=Mr[Pe][at-1],Vr=Mr[Pe][at+1],z(cr)?(Ft=gt(cr,Rr,Vr),wr[Pe]+=Ft!==-1?String.fromCharCode(u[cr.charCodeAt(0)][Ft]):cr):wr[Pe]+=cr;wr[Pe]=Xe(wr[Pe])}return wr.join(" ")},Ht=g.__arabicParser__.processArabic=g.processArabic=function(){var je,Pe=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,at=[];if(Array.isArray(Pe)){var Ft=0;for(at=[],Ft=0;Ft<Pe.length;Ft+=1)Array.isArray(Pe[Ft])?at.push([me(Pe[Ft][0]),Pe[Ft][1],Pe[Ft][2]]):at.push([me(Pe[Ft])]);je=at}else je=me(Pe);return typeof arguments[0]=="string"?je:(arguments[0].text=je,arguments[0])};g.events.push(["preProcessText",Ht])}(H.API),H.API.autoPrint=function(g){var u;switch((g=g||{}).variant=g.variant||"non-conform",g.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){u=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 "+u+" 0 R")})}return this},function(g){var u=function(){var d=void 0;Object.defineProperty(this,"pdf",{get:function(){return d},set:function(V){d=V}});var v=150;Object.defineProperty(this,"width",{get:function(){return v},set:function(V){v=isNaN(V)||Number.isInteger(V)===!1||V<0?150:V,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=v+1)}});var O=300;Object.defineProperty(this,"height",{get:function(){return O},set:function(V){O=isNaN(V)||Number.isInteger(V)===!1||V<0?300:V,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=O+1)}});var b=[];Object.defineProperty(this,"childNodes",{get:function(){return b},set:function(V){b=V}});var z={};Object.defineProperty(this,"style",{get:function(){return z},set:function(V){z=V}}),Object.defineProperty(this,"parentNode",{})};u.prototype.getContext=function(d,v){var O;if((d=d||"2d")!=="2d")return null;for(O in v)this.pdf.context2d.hasOwnProperty(O)&&(this.pdf.context2d[O]=v[O]);return this.pdf.context2d._canvas=this,this.pdf.context2d},u.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},g.events.push(["initialized",function(){this.canvas=new u,this.canvas.pdf=this}])}(H.API),function(g){var u={left:0,top:0,bottom:0,right:0},d=!1,v=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({},u),this.internal.__cell__.margins.width=this.getPageWidth(),O.call(this))},O=function(){this.internal.__cell__.lastCell=new b,this.internal.__cell__.pages=1},b=function(){var ee=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return ee},set:function(je){ee=je}});var Ee=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Ee},set:function(je){Ee=je}});var ot=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return ot},set:function(je){ot=je}});var Xe=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Xe},set:function(je){Xe=je}});var gt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return gt},set:function(je){gt=je}});var me=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return me},set:function(je){me=je}});var Ht=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Ht},set:function(je){Ht=je}}),this};b.prototype.clone=function(){return new b(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},b.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},g.setHeaderFunction=function(ee){return v.call(this),this.internal.__cell__.headerFunction=typeof ee=="function"?ee:void 0,this},g.getTextDimensions=function(ee,Ee){v.call(this);var ot=(Ee=Ee||{}).fontSize||this.getFontSize(),Xe=Ee.font||this.getFont(),gt=Ee.scaleFactor||this.internal.scaleFactor,me=0,Ht=0,je=0,Pe=this;if(!Array.isArray(ee)&&typeof ee!="string"){if(typeof ee!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");ee=String(ee)}var at=Ee.maxWidth;at>0?typeof ee=="string"?ee=this.splitTextToSize(ee,at):Object.prototype.toString.call(ee)==="[object Array]"&&(ee=ee.reduce(function(cr,Rr){return cr.concat(Pe.splitTextToSize(Rr,at))},[])):ee=Array.isArray(ee)?ee:[ee];for(var Ft=0;Ft<ee.length;Ft++)me<(je=this.getStringUnitWidth(ee[Ft],{font:Xe})*ot)&&(me=je);return me!==0&&(Ht=ee.length),{w:me/=gt,h:Math.max((Ht*ot*this.getLineHeightFactor()-ot*(this.getLineHeightFactor()-1))/gt,0)}},g.cellAddPage=function(){v.call(this),this.addPage();var ee=this.internal.__cell__.margins||u;return this.internal.__cell__.lastCell=new b(ee.left,ee.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var z=g.cell=function(){var ee;ee=arguments[0]instanceof b?arguments[0]:new b(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),v.call(this);var Ee=this.internal.__cell__.lastCell,ot=this.internal.__cell__.padding,Xe=this.internal.__cell__.margins||u,gt=this.internal.__cell__.tableHeaderRow,me=this.internal.__cell__.printHeaders;return Ee.lineNumber!==void 0&&(Ee.lineNumber===ee.lineNumber?(ee.x=(Ee.x||0)+(Ee.width||0),ee.y=Ee.y||0):Ee.y+Ee.height+ee.height+Xe.bottom>this.getPageHeight()?(this.cellAddPage(),ee.y=Xe.top,me&&gt&&(this.printHeaderRow(ee.lineNumber,!0),ee.y+=gt[0].height)):ee.y=Ee.y+Ee.height||ee.y),ee.text[0]!==void 0&&(this.rect(ee.x,ee.y,ee.width,ee.height,d===!0?"FD":void 0),ee.align==="right"?this.text(ee.text,ee.x+ee.width-ot,ee.y+ot,{align:"right",baseline:"top"}):ee.align==="center"?this.text(ee.text,ee.x+ee.width/2,ee.y+ot,{align:"center",baseline:"top",maxWidth:ee.width-ot-ot}):this.text(ee.text,ee.x+ot,ee.y+ot,{align:"left",baseline:"top",maxWidth:ee.width-ot-ot})),this.internal.__cell__.lastCell=ee,this};g.table=function(ee,Ee,ot,Xe,gt){if(v.call(this),!ot)throw new Error("No data for PDF table.");var me,Ht,je,Pe,at=[],Ft=[],cr=[],Rr={},Vr={},Mr=[],wr=[],Zt=(gt=gt||{}).autoSize||!1,_t=gt.printHeaders!==!1,Br=gt.css&&gt.css["font-size"]!==void 0?16*gt.css["font-size"]:gt.fontSize||12,dt=gt.margins||Object.assign({width:this.getPageWidth()},u),ut=typeof gt.padding=="number"?gt.padding:3,rr=gt.headerBackgroundColor||"#c8c8c8",Pt=gt.headerTextColor||"#000";if(O.call(this),this.internal.__cell__.printHeaders=_t,this.internal.__cell__.margins=dt,this.internal.__cell__.table_font_size=Br,this.internal.__cell__.padding=ut,this.internal.__cell__.headerBackgroundColor=rr,this.internal.__cell__.headerTextColor=Pt,this.setFontSize(Br),Xe==null)Ft=at=Object.keys(ot[0]),cr=at.map(function(){return"left"});else if(Array.isArray(Xe)&&(0,s.Z)(Xe[0])==="object")for(at=Xe.map(function(Gt){return Gt.name}),Ft=Xe.map(function(Gt){return Gt.prompt||Gt.name||""}),cr=Xe.map(function(Gt){return Gt.align||"left"}),me=0;me<Xe.length;me+=1)Vr[Xe[me].name]=Xe[me].width*(19.049976/25.4);else Array.isArray(Xe)&&typeof Xe[0]=="string"&&(Ft=at=Xe,cr=at.map(function(){return"left"}));if(Zt||Array.isArray(Xe)&&typeof Xe[0]=="string")for(me=0;me<at.length;me+=1){for(Rr[Pe=at[me]]=ot.map(function(Gt){return Gt[Pe]}),this.setFont(void 0,"bold"),Mr.push(this.getTextDimensions(Ft[me],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),Ht=Rr[Pe],this.setFont(void 0,"normal"),je=0;je<Ht.length;je+=1)Mr.push(this.getTextDimensions(Ht[je],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);Vr[Pe]=Math.max.apply(null,Mr)+ut+ut,Mr=[]}if(_t){var Ve={};for(me=0;me<at.length;me+=1)Ve[at[me]]={},Ve[at[me]].text=Ft[me],Ve[at[me]].align=cr[me];var ve=V.call(this,Ve,Vr);wr=at.map(function(Gt){return new b(ee,Ee,Vr[Gt],ve,Ve[Gt].text,void 0,Ve[Gt].align)}),this.setTableHeaderRow(wr),this.printHeaderRow(1,!1)}var $t=Xe.reduce(function(Gt,Sr){return Gt[Sr.name]=Sr.align,Gt},{});for(me=0;me<ot.length;me+=1){"rowStart"in gt&&gt.rowStart instanceof Function&&gt.rowStart({row:me,data:ot[me]},this);var Ct=V.call(this,ot[me],Vr);for(je=0;je<at.length;je+=1){var Xt=ot[me][at[je]];"cellStart"in gt&&gt.cellStart instanceof Function&&gt.cellStart({row:me,col:je,data:Xt},this),z.call(this,new b(ee,Ee,Vr[at[je]],Ct,Xt,me+2,$t[at[je]]))}}return this.internal.__cell__.table_x=ee,this.internal.__cell__.table_y=Ee,this};var V=function(ee,Ee){var ot=this.internal.__cell__.padding,Xe=this.internal.__cell__.table_font_size,gt=this.internal.scaleFactor;return Object.keys(ee).map(function(me){var Ht=ee[me];return this.splitTextToSize(Ht.hasOwnProperty("text")?Ht.text:Ht,Ee[me]-ot-ot)},this).map(function(me){return this.getLineHeightFactor()*me.length*Xe/gt+ot+ot},this).reduce(function(me,Ht){return Math.max(me,Ht)},0)};g.setTableHeaderRow=function(ee){v.call(this),this.internal.__cell__.tableHeaderRow=ee},g.printHeaderRow=function(ee,Ee){if(v.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var ot;if(d=!0,typeof this.internal.__cell__.headerFunction=="function"){var Xe=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new b(Xe[0],Xe[1],Xe[2],Xe[3],void 0,-1)}this.setFont(void 0,"bold");for(var gt=[],me=0;me<this.internal.__cell__.tableHeaderRow.length;me+=1){ot=this.internal.__cell__.tableHeaderRow[me].clone(),Ee&&(ot.y=this.internal.__cell__.margins.top||0,gt.push(ot)),ot.lineNumber=ee;var Ht=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),z.call(this,ot),this.setTextColor(Ht)}gt.length>0&&this.setTableHeaderRow(gt),this.setFont(void 0,"normal"),d=!1}}(H.API);var zr={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Ir=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],yn=ke(Ir),Bn=[100,200,300,400,500,600,700,800,900],zt=ke(Bn);function yr(g){var u=g.family.replace(/"|'/g,"").toLowerCase(),d=function(b){return zr[b=b||"normal"]?b:"normal"}(g.style),v=function(b){if(!b)return 400;if(typeof b=="number")return b>=100&&b<=900&&b%100==0?b:400;if(/^\d00$/.test(b))return parseInt(b);switch(b){case"bold":return 700;case"normal":default:return 400}}(g.weight),O=function(b){return typeof yn[b=b||"normal"]=="number"?b:"normal"}(g.stretch);return{family:u,style:d,weight:v,stretch:O,src:g.src||[],ref:g.ref||{name:u,style:[O,d,v].join(" ")}}}function vr(g,u,d,v){var O;for(O=d;O>=0&&O<u.length;O+=v)if(g[u[O]])return g[u[O]];for(O=d;O>=0&&O<u.length;O-=v)if(g[u[O]])return g[u[O]]}var Tr={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},f={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function F(g){return[g.stretch,g.style,g.weight,g.family].join(" ")}function Ae(g,u,d){for(var v=(d=d||{}).defaultFontFamily||"times",O=Object.assign({},Tr,d.genericFontFamilies||{}),b=null,z=null,V=0;V<u.length;++V)if(O[(b=yr(u[V])).family]&&(b.family=O[b.family]),g.hasOwnProperty(b.family)){z=g[b.family];break}if(!(z=z||g[v]))throw new Error("Could not find a font-family for the rule '"+F(b)+"' and default family '"+v+"'.");if(z=function(ee,Ee){if(Ee[ee])return Ee[ee];var ot=yn[ee],Xe=ot<=yn.normal?-1:1,gt=vr(Ee,Ir,ot,Xe);if(!gt)throw new Error("Could not find a matching font-stretch value for "+ee);return gt}(b.stretch,z),z=function(ee,Ee){if(Ee[ee])return Ee[ee];for(var ot=zr[ee],Xe=0;Xe<ot.length;++Xe)if(Ee[ot[Xe]])return Ee[ot[Xe]];throw new Error("Could not find a matching font-style for "+ee)}(b.style,z),!(z=function(ee,Ee){if(Ee[ee])return Ee[ee];if(ee===400&&Ee[500])return Ee[500];if(ee===500&&Ee[400])return Ee[400];var ot=zt[ee],Xe=vr(Ee,Bn,ot,ee<400?-1:1);if(!Xe)throw new Error("Could not find a matching font-weight for value "+ee);return Xe}(b.weight,z)))throw new Error("Failed to resolve a font for the rule '"+F(b)+"'.");return z}function ae(g){return g.trimLeft()}function bt(g,u){for(var d=0;d<g.length;){if(g.charAt(d)===u)return[g.substring(0,d),g.substring(d+1)];d+=1}return null}function bn(g){var u=g.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return u===null?null:[u[0],g.substring(u[0].length)]}var yt,Vt,Wr,Nr=["times"];(function(g){var u,d,v,O,b,z,V,ee,Ee,ot=function(be){return be=be||{},this.isStrokeTransparent=be.isStrokeTransparent||!1,this.strokeOpacity=be.strokeOpacity||1,this.strokeStyle=be.strokeStyle||"#000000",this.fillStyle=be.fillStyle||"#000000",this.isFillTransparent=be.isFillTransparent||!1,this.fillOpacity=be.fillOpacity||1,this.font=be.font||"10px sans-serif",this.textBaseline=be.textBaseline||"alphabetic",this.textAlign=be.textAlign||"left",this.lineWidth=be.lineWidth||1,this.lineJoin=be.lineJoin||"miter",this.lineCap=be.lineCap||"butt",this.path=be.path||[],this.transform=be.transform!==void 0?be.transform.clone():new ee,this.globalCompositeOperation=be.globalCompositeOperation||"normal",this.globalAlpha=be.globalAlpha||1,this.clip_path=be.clip_path||[],this.currentPoint=be.currentPoint||new z,this.miterLimit=be.miterLimit||10,this.lastPoint=be.lastPoint||new z,this.lineDashOffset=be.lineDashOffset||0,this.lineDash=be.lineDash||[],this.margin=be.margin||[0,0,0,0],this.prevPageLastElemOffset=be.prevPageLastElemOffset||0,this.ignoreClearRect=typeof be.ignoreClearRect!="boolean"||be.ignoreClearRect,this};g.events.push(["initialized",function(){this.context2d=new Xe(this),u=this.internal.f2,d=this.internal.getCoordinateString,v=this.internal.getVerticalCoordinateString,O=this.internal.getHorizontalCoordinate,b=this.internal.getVerticalCoordinate,z=this.internal.Point,V=this.internal.Rectangle,ee=this.internal.Matrix,Ee=new ot}]);var Xe=function(be){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var nt=be;Object.defineProperty(this,"pdf",{get:function(){return nt}});var rt=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return rt},set:function(Dt){rt=!!Dt}});var kt=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return kt},set:function(Dt){kt=!!Dt}});var Yt=0;Object.defineProperty(this,"posX",{get:function(){return Yt},set:function(Dt){isNaN(Dt)||(Yt=Dt)}});var Lt=0;Object.defineProperty(this,"posY",{get:function(){return Lt},set:function(Dt){isNaN(Dt)||(Lt=Dt)}}),Object.defineProperty(this,"margin",{get:function(){return Ee.margin},set:function(Dt){var Et;typeof Dt=="number"?Et=[Dt,Dt,Dt,Dt]:((Et=new Array(4))[0]=Dt[0],Et[1]=Dt.length>=2?Dt[1]:Et[0],Et[2]=Dt.length>=3?Dt[2]:Et[0],Et[3]=Dt.length>=4?Dt[3]:Et[1]),Ee.margin=Et}});var Bt=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Bt},set:function(Dt){Bt=Dt}});var Qt=0;Object.defineProperty(this,"lastBreak",{get:function(){return Qt},set:function(Dt){Qt=Dt}});var Ur=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Ur},set:function(Dt){Ur=Dt}}),Object.defineProperty(this,"ctx",{get:function(){return Ee},set:function(Dt){Dt instanceof ot&&(Ee=Dt)}}),Object.defineProperty(this,"path",{get:function(){return Ee.path},set:function(Dt){Ee.path=Dt}});var Wt=[];Object.defineProperty(this,"ctxStack",{get:function(){return Wt},set:function(Dt){Wt=Dt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Dt){var Et;Et=gt(Dt),this.ctx.fillStyle=Et.style,this.ctx.isFillTransparent=Et.a===0,this.ctx.fillOpacity=Et.a,this.pdf.setFillColor(Et.r,Et.g,Et.b,{a:Et.a}),this.pdf.setTextColor(Et.r,Et.g,Et.b,{a:Et.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Dt){var Et=gt(Dt);this.ctx.strokeStyle=Et.style,this.ctx.isStrokeTransparent=Et.a===0,this.ctx.strokeOpacity=Et.a,Et.a===0?this.pdf.setDrawColor(255,255,255):(Et.a,this.pdf.setDrawColor(Et.r,Et.g,Et.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Dt){["butt","round","square"].indexOf(Dt)!==-1&&(this.ctx.lineCap=Dt,this.pdf.setLineCap(Dt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Dt){isNaN(Dt)||(this.ctx.lineWidth=Dt,this.pdf.setLineWidth(Dt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Dt){["bevel","round","miter"].indexOf(Dt)!==-1&&(this.ctx.lineJoin=Dt,this.pdf.setLineJoin(Dt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Dt){isNaN(Dt)||(this.ctx.miterLimit=Dt,this.pdf.setMiterLimit(Dt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Dt){this.ctx.textBaseline=Dt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Dt){["right","end","center","left","start"].indexOf(Dt)!==-1&&(this.ctx.textAlign=Dt)}});var Fr=null;function Xr(Dt,Et){if(Fr===null){var wn=function(Gr){var qr=[];return Object.keys(Gr).forEach(function(nn){Gr[nn].forEach(function(_r){var on=null;switch(_r){case"bold":on={family:nn,weight:"bold"};break;case"italic":on={family:nn,style:"italic"};break;case"bolditalic":on={family:nn,weight:"bold",style:"italic"};break;case"":case"normal":on={family:nn}}on!==null&&(on.ref={name:nn,style:_r},qr.push(on))})}),qr}(Dt.getFontList());Fr=function(Gr){for(var qr={},nn=0;nn<Gr.length;++nn){var _r=yr(Gr[nn]),on=_r.family,Mn=_r.stretch,Ln=_r.style,Hn=_r.weight;qr[on]=qr[on]||{},qr[on][Mn]=qr[on][Mn]||{},qr[on][Mn][Ln]=qr[on][Mn][Ln]||{},qr[on][Mn][Ln][Hn]=_r}return qr}(wn.concat(Et))}return Fr}var gn=null;Object.defineProperty(this,"fontFaces",{get:function(){return gn},set:function(Dt){Fr=null,gn=Dt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Dt){var Et;if(this.ctx.font=Dt,(Et=/^\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(Dt))!==null){var wn=Et[1];Et[2];var Gr=Et[3],qr=Et[4];Et[5];var nn=Et[6],_r=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(qr)[2];qr=Math.floor(_r==="px"?parseFloat(qr)*this.pdf.internal.scaleFactor:_r==="em"?parseFloat(qr)*this.pdf.getFontSize():parseFloat(qr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(qr);var on=function(Kn){var On,Yr,Ba=[],ba=Kn.trim();if(ba==="")return Nr;if(ba in f)return[f[ba]];for(;ba!=="";){switch(Yr=null,On=(ba=ae(ba)).charAt(0)){case'"':case"'":Yr=bt(ba.substring(1),On);break;default:Yr=bn(ba)}if(Yr===null||(Ba.push(Yr[0]),(ba=ae(Yr[1]))!==""&&ba.charAt(0)!==","))return Nr;ba=ba.replace(/^,/,"")}return Ba}(nn);if(this.fontFaces){var Mn=Ae(Xr(this.pdf,this.fontFaces),on.map(function(Kn){return{family:Kn,stretch:"normal",weight:Gr,style:wn}}));this.pdf.setFont(Mn.ref.name,Mn.ref.style)}else{var Ln="";(Gr==="bold"||parseInt(Gr,10)>=700||wn==="bold")&&(Ln="bold"),wn==="italic"&&(Ln+="italic"),Ln.length===0&&(Ln="normal");for(var Hn="",ta={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<on.length;oa++){if(this.pdf.internal.getFont(on[oa],Ln,{noFallback:!0,disableWarning:!0})!==void 0){Hn=on[oa];break}if(Ln==="bolditalic"&&this.pdf.internal.getFont(on[oa],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Hn=on[oa],Ln="bold";else if(this.pdf.internal.getFont(on[oa],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Hn=on[oa],Ln="normal";break}}if(Hn===""){for(var ma=0;ma<on.length;ma++)if(ta[on[ma]]){Hn=ta[on[ma]];break}}Hn=Hn===""?"Times":Hn,this.pdf.setFont(Hn,Ln)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Dt){this.ctx.globalCompositeOperation=Dt}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Dt){this.ctx.globalAlpha=Dt}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(Dt){this.ctx.lineDashOffset=Dt,Sr.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(Dt){this.ctx.lineDash=Dt,Sr.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Dt){this.ctx.ignoreClearRect=!!Dt}})};Xe.prototype.setLineDash=function(be){this.lineDash=be},Xe.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},Xe.prototype.fill=function(){Rr.call(this,"fill",!1)},Xe.prototype.stroke=function(){Rr.call(this,"stroke",!1)},Xe.prototype.beginPath=function(){this.path=[{type:"begin"}]},Xe.prototype.moveTo=function(be,nt){if(isNaN(be)||isNaN(nt))throw te.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var rt=this.ctx.transform.applyToPoint(new z(be,nt));this.path.push({type:"mt",x:rt.x,y:rt.y}),this.ctx.lastPoint=new z(be,nt)},Xe.prototype.closePath=function(){var be=new z(0,0),nt=0;for(nt=this.path.length-1;nt!==-1;nt--)if(this.path[nt].type==="begin"&&(0,s.Z)(this.path[nt+1])==="object"&&typeof this.path[nt+1].x=="number"){be=new z(this.path[nt+1].x,this.path[nt+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new z(be.x,be.y)},Xe.prototype.lineTo=function(be,nt){if(isNaN(be)||isNaN(nt))throw te.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var rt=this.ctx.transform.applyToPoint(new z(be,nt));this.path.push({type:"lt",x:rt.x,y:rt.y}),this.ctx.lastPoint=new z(rt.x,rt.y)},Xe.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),Rr.call(this,null,!0)},Xe.prototype.quadraticCurveTo=function(be,nt,rt,kt){if(isNaN(rt)||isNaN(kt)||isNaN(be)||isNaN(nt))throw te.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var Yt=this.ctx.transform.applyToPoint(new z(rt,kt)),Lt=this.ctx.transform.applyToPoint(new z(be,nt));this.path.push({type:"qct",x1:Lt.x,y1:Lt.y,x:Yt.x,y:Yt.y}),this.ctx.lastPoint=new z(Yt.x,Yt.y)},Xe.prototype.bezierCurveTo=function(be,nt,rt,kt,Yt,Lt){if(isNaN(Yt)||isNaN(Lt)||isNaN(be)||isNaN(nt)||isNaN(rt)||isNaN(kt))throw te.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var Bt=this.ctx.transform.applyToPoint(new z(Yt,Lt)),Qt=this.ctx.transform.applyToPoint(new z(be,nt)),Ur=this.ctx.transform.applyToPoint(new z(rt,kt));this.path.push({type:"bct",x1:Qt.x,y1:Qt.y,x2:Ur.x,y2:Ur.y,x:Bt.x,y:Bt.y}),this.ctx.lastPoint=new z(Bt.x,Bt.y)},Xe.prototype.arc=function(be,nt,rt,kt,Yt,Lt){if(isNaN(be)||isNaN(nt)||isNaN(rt)||isNaN(kt)||isNaN(Yt))throw te.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Lt=!!Lt,!this.ctx.transform.isIdentity){var Bt=this.ctx.transform.applyToPoint(new z(be,nt));be=Bt.x,nt=Bt.y;var Qt=this.ctx.transform.applyToPoint(new z(0,rt)),Ur=this.ctx.transform.applyToPoint(new z(0,0));rt=Math.sqrt(Math.pow(Qt.x-Ur.x,2)+Math.pow(Qt.y-Ur.y,2))}Math.abs(Yt-kt)>=2*Math.PI&&(kt=0,Yt=2*Math.PI),this.path.push({type:"arc",x:be,y:nt,radius:rt,startAngle:kt,endAngle:Yt,counterclockwise:Lt})},Xe.prototype.arcTo=function(be,nt,rt,kt,Yt){throw new Error("arcTo not implemented.")},Xe.prototype.rect=function(be,nt,rt,kt){if(isNaN(be)||isNaN(nt)||isNaN(rt)||isNaN(kt))throw te.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(be,nt),this.lineTo(be+rt,nt),this.lineTo(be+rt,nt+kt),this.lineTo(be,nt+kt),this.lineTo(be,nt),this.lineTo(be+rt,nt),this.lineTo(be,nt)},Xe.prototype.fillRect=function(be,nt,rt,kt){if(isNaN(be)||isNaN(nt)||isNaN(rt)||isNaN(kt))throw te.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!me.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(be,nt,rt,kt),this.fill(),Yt.hasOwnProperty("lineCap")&&(this.lineCap=Yt.lineCap),Yt.hasOwnProperty("lineJoin")&&(this.lineJoin=Yt.lineJoin)}},Xe.prototype.strokeRect=function(be,nt,rt,kt){if(isNaN(be)||isNaN(nt)||isNaN(rt)||isNaN(kt))throw te.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Ht.call(this)||(this.beginPath(),this.rect(be,nt,rt,kt),this.stroke())},Xe.prototype.clearRect=function(be,nt,rt,kt){if(isNaN(be)||isNaN(nt)||isNaN(rt)||isNaN(kt))throw te.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(be,nt,rt,kt))},Xe.prototype.save=function(be){be=typeof be!="boolean"||be;for(var nt=this.pdf.internal.getCurrentPageInfo().pageNumber,rt=0;rt<this.pdf.internal.getNumberOfPages();rt++)this.pdf.setPage(rt+1),this.pdf.internal.out("q");if(this.pdf.setPage(nt),be){this.ctx.fontSize=this.pdf.internal.getFontSize();var kt=new ot(this.ctx);this.ctxStack.push(this.ctx),this.ctx=kt}},Xe.prototype.restore=function(be){be=typeof be!="boolean"||be;for(var nt=this.pdf.internal.getCurrentPageInfo().pageNumber,rt=0;rt<this.pdf.internal.getNumberOfPages();rt++)this.pdf.setPage(rt+1),this.pdf.internal.out("Q");this.pdf.setPage(nt),be&&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)},Xe.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var gt=function(be){var nt,rt,kt,Yt;if(be.isCanvasGradient===!0&&(be=be.getColor()),!be)return{r:0,g:0,b:0,a:0,style:be};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(be))nt=0,rt=0,kt=0,Yt=0;else{var Lt=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(be);if(Lt!==null)nt=parseInt(Lt[1]),rt=parseInt(Lt[2]),kt=parseInt(Lt[3]),Yt=1;else if((Lt=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(be))!==null)nt=parseInt(Lt[1]),rt=parseInt(Lt[2]),kt=parseInt(Lt[3]),Yt=parseFloat(Lt[4]);else{if(Yt=1,typeof be=="string"&&be.charAt(0)!=="#"){var Bt=new W(be);be=Bt.ok?Bt.toHex():"#000000"}be.length===4?(nt=be.substring(1,2),nt+=nt,rt=be.substring(2,3),rt+=rt,kt=be.substring(3,4),kt+=kt):(nt=be.substring(1,3),rt=be.substring(3,5),kt=be.substring(5,7)),nt=parseInt(nt,16),rt=parseInt(rt,16),kt=parseInt(kt,16)}}return{r:nt,g:rt,b:kt,a:Yt,style:be}},me=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},Ht=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};Xe.prototype.fillText=function(be,nt,rt,kt){if(isNaN(nt)||isNaN(rt)||typeof be!="string")throw te.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(kt=isNaN(kt)?void 0:kt,!me.call(this)){var Yt=Ct(this.ctx.transform.rotation),Lt=this.ctx.transform.scaleX;ut.call(this,{text:be,x:nt,y:rt,scale:Lt,angle:Yt,align:this.textAlign,maxWidth:kt})}},Xe.prototype.strokeText=function(be,nt,rt,kt){if(isNaN(nt)||isNaN(rt)||typeof be!="string")throw te.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!Ht.call(this)){kt=isNaN(kt)?void 0:kt;var Yt=Ct(this.ctx.transform.rotation),Lt=this.ctx.transform.scaleX;ut.call(this,{text:be,x:nt,y:rt,scale:Lt,renderingMode:"stroke",angle:Yt,align:this.textAlign,maxWidth:kt})}},Xe.prototype.measureText=function(be){if(typeof be!="string")throw te.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var nt=this.pdf,rt=this.pdf.internal.scaleFactor,kt=nt.internal.getFontSize(),Yt=nt.getStringUnitWidth(be)*kt/nt.internal.scaleFactor,Lt=function(Bt){var Qt=(Bt=Bt||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return Qt}}),this};return new Lt({width:Yt*=Math.round(96*rt/72*1e4)/1e4})},Xe.prototype.scale=function(be,nt){if(isNaN(be)||isNaN(nt))throw te.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var rt=new ee(be,0,0,nt,0,0);this.ctx.transform=this.ctx.transform.multiply(rt)},Xe.prototype.rotate=function(be){if(isNaN(be))throw te.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var nt=new ee(Math.cos(be),Math.sin(be),-Math.sin(be),Math.cos(be),0,0);this.ctx.transform=this.ctx.transform.multiply(nt)},Xe.prototype.translate=function(be,nt){if(isNaN(be)||isNaN(nt))throw te.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var rt=new ee(1,0,0,1,be,nt);this.ctx.transform=this.ctx.transform.multiply(rt)},Xe.prototype.transform=function(be,nt,rt,kt,Yt,Lt){if(isNaN(be)||isNaN(nt)||isNaN(rt)||isNaN(kt)||isNaN(Yt)||isNaN(Lt))throw te.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var Bt=new ee(be,nt,rt,kt,Yt,Lt);this.ctx.transform=this.ctx.transform.multiply(Bt)},Xe.prototype.setTransform=function(be,nt,rt,kt,Yt,Lt){be=isNaN(be)?1:be,nt=isNaN(nt)?0:nt,rt=isNaN(rt)?0:rt,kt=isNaN(kt)?1:kt,Yt=isNaN(Yt)?0:Yt,Lt=isNaN(Lt)?0:Lt,this.ctx.transform=new ee(be,nt,rt,kt,Yt,Lt)};var je=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Xe.prototype.drawImage=function(be,nt,rt,kt,Yt,Lt,Bt,Qt,Ur){var Wt=this.pdf.getImageProperties(be),Fr=1,Xr=1,gn=1,Dt=1;kt!==void 0&&Qt!==void 0&&(gn=Qt/kt,Dt=Ur/Yt,Fr=Wt.width/kt*Qt/kt,Xr=Wt.height/Yt*Ur/Yt),Lt===void 0&&(Lt=nt,Bt=rt,nt=0,rt=0),kt!==void 0&&Qt===void 0&&(Qt=kt,Ur=Yt),kt===void 0&&Qt===void 0&&(Qt=Wt.width,Ur=Wt.height);for(var Et,wn=this.ctx.transform.decompose(),Gr=Ct(wn.rotate.shx),qr=new ee,nn=(qr=(qr=(qr=qr.multiply(wn.translate)).multiply(wn.skew)).multiply(wn.scale)).applyToRectangle(new V(Lt-nt*gn,Bt-rt*Dt,kt*Fr,Yt*Xr)),_r=Pe.call(this,nn),on=[],Mn=0;Mn<_r.length;Mn+=1)on.indexOf(_r[Mn])===-1&&on.push(_r[Mn]);if(cr(on),this.autoPaging)for(var Ln=on[0],Hn=on[on.length-1],ta=Ln;ta<Hn+1;ta++){this.pdf.setPage(ta);var oa=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],ma=ta===1?this.posY+this.margin[0]:this.margin[0],Kn=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],On=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Yr=ta===1?0:Kn+(ta-2)*On;if(this.ctx.clip_path.length!==0){var Ba=this.path;Et=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Ft(Et,this.posX+this.margin[3],-Yr+ma+this.ctx.prevPageLastElemOffset),Vr.call(this,"fill",!0),this.path=Ba}var ba=JSON.parse(JSON.stringify(nn));ba=Ft([ba],this.posX+this.margin[3],-Yr+ma+this.ctx.prevPageLastElemOffset)[0];var La=(ta>Ln||ta<Hn)&&je.call(this);La&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],oa,On,null).clip().discardPath()),this.pdf.addImage(be,"JPEG",ba.x,ba.y,ba.w,ba.h,null,null,Gr),La&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(be,"JPEG",nn.x,nn.y,nn.w,nn.h,null,null,Gr)};var Pe=function(be,nt,rt){var kt=[];nt=nt||this.pdf.internal.pageSize.width,rt=rt||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var Yt=this.posY+this.ctx.prevPageLastElemOffset;switch(be.type){default:case"mt":case"lt":kt.push(Math.floor((be.y+Yt)/rt)+1);break;case"arc":kt.push(Math.floor((be.y+Yt-be.radius)/rt)+1),kt.push(Math.floor((be.y+Yt+be.radius)/rt)+1);break;case"qct":var Lt=Xt(this.ctx.lastPoint.x,this.ctx.lastPoint.y,be.x1,be.y1,be.x,be.y);kt.push(Math.floor((Lt.y+Yt)/rt)+1),kt.push(Math.floor((Lt.y+Lt.h+Yt)/rt)+1);break;case"bct":var Bt=Gt(this.ctx.lastPoint.x,this.ctx.lastPoint.y,be.x1,be.y1,be.x2,be.y2,be.x,be.y);kt.push(Math.floor((Bt.y+Yt)/rt)+1),kt.push(Math.floor((Bt.y+Bt.h+Yt)/rt)+1);break;case"rect":kt.push(Math.floor((be.y+Yt)/rt)+1),kt.push(Math.floor((be.y+be.h+Yt)/rt)+1)}for(var Qt=0;Qt<kt.length;Qt+=1)for(;this.pdf.internal.getNumberOfPages()<kt[Qt];)at.call(this);return kt},at=function(){var be=this.fillStyle,nt=this.strokeStyle,rt=this.font,kt=this.lineCap,Yt=this.lineWidth,Lt=this.lineJoin;this.pdf.addPage(),this.fillStyle=be,this.strokeStyle=nt,this.font=rt,this.lineCap=kt,this.lineWidth=Yt,this.lineJoin=Lt},Ft=function(be,nt,rt){for(var kt=0;kt<be.length;kt++)switch(be[kt].type){case"bct":be[kt].x2+=nt,be[kt].y2+=rt;case"qct":be[kt].x1+=nt,be[kt].y1+=rt;case"mt":case"lt":case"arc":default:be[kt].x+=nt,be[kt].y+=rt}return be},cr=function(be){return be.sort(function(nt,rt){return nt-rt})},Rr=function(be,nt){for(var rt,kt,Yt=this.fillStyle,Lt=this.strokeStyle,Bt=this.lineCap,Qt=this.lineWidth,Ur=Math.abs(Qt*this.ctx.transform.scaleX),Wt=this.lineJoin,Fr=JSON.parse(JSON.stringify(this.path)),Xr=JSON.parse(JSON.stringify(this.path)),gn=[],Dt=0;Dt<Xr.length;Dt++)if(Xr[Dt].x!==void 0)for(var Et=Pe.call(this,Xr[Dt]),wn=0;wn<Et.length;wn+=1)gn.indexOf(Et[wn])===-1&&gn.push(Et[wn]);for(var Gr=0;Gr<gn.length;Gr++)for(;this.pdf.internal.getNumberOfPages()<gn[Gr];)at.call(this);if(cr(gn),this.autoPaging)for(var qr=gn[0],nn=gn[gn.length-1],_r=qr;_r<nn+1;_r++){this.pdf.setPage(_r),this.fillStyle=Yt,this.strokeStyle=Lt,this.lineCap=Bt,this.lineWidth=Ur,this.lineJoin=Wt;var on=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Mn=_r===1?this.posY+this.margin[0]:this.margin[0],Ln=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Hn=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],ta=_r===1?0:Ln+(_r-2)*Hn;if(this.ctx.clip_path.length!==0){var oa=this.path;rt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Ft(rt,this.posX+this.margin[3],-ta+Mn+this.ctx.prevPageLastElemOffset),Vr.call(this,be,!0),this.path=oa}if(kt=JSON.parse(JSON.stringify(Fr)),this.path=Ft(kt,this.posX+this.margin[3],-ta+Mn+this.ctx.prevPageLastElemOffset),nt===!1||_r===0){var ma=(_r>qr||_r<nn)&&je.call(this);ma&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],on,Hn,null).clip().discardPath()),Vr.call(this,be,nt),ma&&this.pdf.restoreGraphicsState()}this.lineWidth=Qt}else this.lineWidth=Ur,Vr.call(this,be,nt),this.lineWidth=Qt;this.path=Fr},Vr=function(be,nt){if((be!=="stroke"||nt||!Ht.call(this))&&(be==="stroke"||nt||!me.call(this))){for(var rt,kt,Yt=[],Lt=this.path,Bt=0;Bt<Lt.length;Bt++){var Qt=Lt[Bt];switch(Qt.type){case"begin":Yt.push({begin:!0});break;case"close":Yt.push({close:!0});break;case"mt":Yt.push({start:Qt,deltas:[],abs:[]});break;case"lt":var Ur=Yt.length;if(Lt[Bt-1]&&!isNaN(Lt[Bt-1].x)&&(rt=[Qt.x-Lt[Bt-1].x,Qt.y-Lt[Bt-1].y],Ur>0)){for(;Ur>=0;Ur--)if(Yt[Ur-1].close!==!0&&Yt[Ur-1].begin!==!0){Yt[Ur-1].deltas.push(rt),Yt[Ur-1].abs.push(Qt);break}}break;case"bct":rt=[Qt.x1-Lt[Bt-1].x,Qt.y1-Lt[Bt-1].y,Qt.x2-Lt[Bt-1].x,Qt.y2-Lt[Bt-1].y,Qt.x-Lt[Bt-1].x,Qt.y-Lt[Bt-1].y],Yt[Yt.length-1].deltas.push(rt);break;case"qct":var Wt=Lt[Bt-1].x+2/3*(Qt.x1-Lt[Bt-1].x),Fr=Lt[Bt-1].y+2/3*(Qt.y1-Lt[Bt-1].y),Xr=Qt.x+2/3*(Qt.x1-Qt.x),gn=Qt.y+2/3*(Qt.y1-Qt.y),Dt=Qt.x,Et=Qt.y;rt=[Wt-Lt[Bt-1].x,Fr-Lt[Bt-1].y,Xr-Lt[Bt-1].x,gn-Lt[Bt-1].y,Dt-Lt[Bt-1].x,Et-Lt[Bt-1].y],Yt[Yt.length-1].deltas.push(rt);break;case"arc":Yt.push({deltas:[],abs:[],arc:!0}),Array.isArray(Yt[Yt.length-1].abs)&&Yt[Yt.length-1].abs.push(Qt)}}kt=nt?null:be==="stroke"?"stroke":"fill";for(var wn=!1,Gr=0;Gr<Yt.length;Gr++)if(Yt[Gr].arc)for(var qr=Yt[Gr].abs,nn=0;nn<qr.length;nn++){var _r=qr[nn];_r.type==="arc"?Zt.call(this,_r.x,_r.y,_r.radius,_r.startAngle,_r.endAngle,_r.counterclockwise,void 0,nt,!wn):rr.call(this,_r.x,_r.y),wn=!0}else if(Yt[Gr].close===!0)this.pdf.internal.out("h"),wn=!1;else if(Yt[Gr].begin!==!0){var on=Yt[Gr].start.x,Mn=Yt[Gr].start.y;Pt.call(this,Yt[Gr].deltas,on,Mn),wn=!0}kt&&_t.call(this,kt),nt&&Br.call(this)}},Mr=function(be){var nt=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,rt=nt*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return be-rt;case"top":return be+nt-rt;case"hanging":return be+nt-2*rt;case"middle":return be+nt/2-rt;case"ideographic":return be;case"alphabetic":default:return be}},wr=function(be){return be+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};Xe.prototype.createLinearGradient=function(){var be=function(){};return be.colorStops=[],be.addColorStop=function(nt,rt){this.colorStops.push([nt,rt])},be.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},be.isCanvasGradient=!0,be},Xe.prototype.createPattern=function(){return this.createLinearGradient()},Xe.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Zt=function(be,nt,rt,kt,Yt,Lt,Bt,Qt,Ur){for(var Wt=ve.call(this,rt,kt,Yt,Lt),Fr=0;Fr<Wt.length;Fr++){var Xr=Wt[Fr];Fr===0&&(Ur?dt.call(this,Xr.x1+be,Xr.y1+nt):rr.call(this,Xr.x1+be,Xr.y1+nt)),Ve.call(this,be,nt,Xr.x2,Xr.y2,Xr.x3,Xr.y3,Xr.x4,Xr.y4)}Qt?Br.call(this):_t.call(this,Bt)},_t=function(be){switch(be){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},Br=function(){this.pdf.clip(),this.pdf.discardPath()},dt=function(be,nt){this.pdf.internal.out(d(be)+" "+v(nt)+" m")},ut=function(be){var nt;switch(be.align){case"right":case"end":nt="right";break;case"center":nt="center";break;case"left":case"start":default:nt="left"}var rt=this.pdf.getTextDimensions(be.text),kt=Mr.call(this,be.y),Yt=wr.call(this,kt)-rt.h,Lt=this.ctx.transform.applyToPoint(new z(be.x,kt)),Bt=this.ctx.transform.decompose(),Qt=new ee;Qt=(Qt=(Qt=Qt.multiply(Bt.translate)).multiply(Bt.skew)).multiply(Bt.scale);for(var Ur,Wt,Fr,Xr=this.ctx.transform.applyToRectangle(new V(be.x,kt,rt.w,rt.h)),gn=Qt.applyToRectangle(new V(be.x,Yt,rt.w,rt.h)),Dt=Pe.call(this,gn),Et=[],wn=0;wn<Dt.length;wn+=1)Et.indexOf(Dt[wn])===-1&&Et.push(Dt[wn]);if(cr(Et),this.autoPaging)for(var Gr=Et[0],qr=Et[Et.length-1],nn=Gr;nn<qr+1;nn++){this.pdf.setPage(nn);var _r=nn===1?this.posY+this.margin[0]:this.margin[0],on=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Mn=this.pdf.internal.pageSize.height-this.margin[2],Ln=Mn-this.margin[0],Hn=this.pdf.internal.pageSize.width-this.margin[1],ta=Hn-this.margin[3],oa=nn===1?0:on+(nn-2)*Ln;if(this.ctx.clip_path.length!==0){var ma=this.path;Ur=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Ft(Ur,this.posX+this.margin[3],-1*oa+_r),Vr.call(this,"fill",!0),this.path=ma}var Kn=Ft([JSON.parse(JSON.stringify(gn))],this.posX+this.margin[3],-oa+_r+this.ctx.prevPageLastElemOffset)[0];be.scale>=.01&&(Wt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Wt*be.scale),Fr=this.lineWidth,this.lineWidth=Fr*be.scale);var On=this.autoPaging!=="text";if(On||Kn.y+Kn.h<=Mn){if(On||Kn.y>=_r&&Kn.x<=Hn){var Yr=On?be.text:this.pdf.splitTextToSize(be.text,be.maxWidth||Hn-Kn.x)[0],Ba=Ft([JSON.parse(JSON.stringify(Xr))],this.posX+this.margin[3],-oa+_r+this.ctx.prevPageLastElemOffset)[0],ba=On&&(nn>Gr||nn<qr)&&je.call(this);ba&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ta,Ln,null).clip().discardPath()),this.pdf.text(Yr,Ba.x,Ba.y,{angle:be.angle,align:nt,renderingMode:be.renderingMode}),ba&&this.pdf.restoreGraphicsState()}}else Kn.y<Mn&&(this.ctx.prevPageLastElemOffset+=Mn-Kn.y);be.scale>=.01&&(this.pdf.setFontSize(Wt),this.lineWidth=Fr)}else be.scale>=.01&&(Wt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Wt*be.scale),Fr=this.lineWidth,this.lineWidth=Fr*be.scale),this.pdf.text(be.text,Lt.x+this.posX,Lt.y+this.posY,{angle:be.angle,align:nt,renderingMode:be.renderingMode,maxWidth:be.maxWidth}),be.scale>=.01&&(this.pdf.setFontSize(Wt),this.lineWidth=Fr)},rr=function(be,nt,rt,kt){rt=rt||0,kt=kt||0,this.pdf.internal.out(d(be+rt)+" "+v(nt+kt)+" l")},Pt=function(be,nt,rt){return this.pdf.lines(be,nt,rt,null,null)},Ve=function(be,nt,rt,kt,Yt,Lt,Bt,Qt){this.pdf.internal.out([u(O(rt+be)),u(b(kt+nt)),u(O(Yt+be)),u(b(Lt+nt)),u(O(Bt+be)),u(b(Qt+nt)),"c"].join(" "))},ve=function(be,nt,rt,kt){for(var Yt=2*Math.PI,Lt=Math.PI/2;nt>rt;)nt-=Yt;var Bt=Math.abs(rt-nt);Bt<Yt&&kt&&(Bt=Yt-Bt);for(var Qt=[],Ur=kt?-1:1,Wt=nt;Bt>1e-5;){var Fr=Wt+Ur*Math.min(Bt,Lt);Qt.push($t.call(this,be,Wt,Fr)),Bt-=Math.abs(Fr-Wt),Wt=Fr}return Qt},$t=function(be,nt,rt){var kt=(rt-nt)/2,Yt=be*Math.cos(kt),Lt=be*Math.sin(kt),Bt=Yt,Qt=-Lt,Ur=Bt*Bt+Qt*Qt,Wt=Ur+Bt*Yt+Qt*Lt,Fr=4/3*(Math.sqrt(2*Ur*Wt)-Wt)/(Bt*Lt-Qt*Yt),Xr=Bt-Fr*Qt,gn=Qt+Fr*Bt,Dt=Xr,Et=-gn,wn=kt+nt,Gr=Math.cos(wn),qr=Math.sin(wn);return{x1:be*Math.cos(nt),y1:be*Math.sin(nt),x2:Xr*Gr-gn*qr,y2:Xr*qr+gn*Gr,x3:Dt*Gr-Et*qr,y3:Dt*qr+Et*Gr,x4:be*Math.cos(rt),y4:be*Math.sin(rt)}},Ct=function(be){return 180*be/Math.PI},Xt=function(be,nt,rt,kt,Yt,Lt){var Bt=be+.5*(rt-be),Qt=nt+.5*(kt-nt),Ur=Yt+.5*(rt-Yt),Wt=Lt+.5*(kt-Lt),Fr=Math.min(be,Yt,Bt,Ur),Xr=Math.max(be,Yt,Bt,Ur),gn=Math.min(nt,Lt,Qt,Wt),Dt=Math.max(nt,Lt,Qt,Wt);return new V(Fr,gn,Xr-Fr,Dt-gn)},Gt=function(be,nt,rt,kt,Yt,Lt,Bt,Qt){var Ur,Wt,Fr,Xr,gn,Dt,Et,wn,Gr,qr,nn,_r,on,Mn,Ln=rt-be,Hn=kt-nt,ta=Yt-rt,oa=Lt-kt,ma=Bt-Yt,Kn=Qt-Lt;for(Wt=0;Wt<41;Wt++)Gr=(Et=(Fr=be+(Ur=Wt/40)*Ln)+Ur*((gn=rt+Ur*ta)-Fr))+Ur*(gn+Ur*(Yt+Ur*ma-gn)-Et),qr=(wn=(Xr=nt+Ur*Hn)+Ur*((Dt=kt+Ur*oa)-Xr))+Ur*(Dt+Ur*(Lt+Ur*Kn-Dt)-wn),Wt==0?(nn=Gr,_r=qr,on=Gr,Mn=qr):(nn=Math.min(nn,Gr),_r=Math.min(_r,qr),on=Math.max(on,Gr),Mn=Math.max(Mn,qr));return new V(Math.round(nn),Math.round(_r),Math.round(on-nn),Math.round(Mn-_r))},Sr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var be,nt,rt=(be=this.ctx.lineDash,nt=this.ctx.lineDashOffset,JSON.stringify({lineDash:be,lineDashOffset:nt}));this.prevLineDash!==rt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=rt)}}})(H.API),function(g){var u=function(b){var z,V,ee,Ee,ot,Xe,gt,me,Ht,je;for(/[^\x00-\xFF]/.test(b),V=[],ee=0,Ee=(b+=z="\0\0\0\0".slice(b.length%4||4)).length;Ee>ee;ee+=4)(ot=(b.charCodeAt(ee)<<24)+(b.charCodeAt(ee+1)<<16)+(b.charCodeAt(ee+2)<<8)+b.charCodeAt(ee+3))!==0?(Xe=(ot=((ot=((ot=((ot=(ot-(je=ot%85))/85)-(Ht=ot%85))/85)-(me=ot%85))/85)-(gt=ot%85))/85)%85,V.push(Xe+33,gt+33,me+33,Ht+33,je+33)):V.push(122);return function(Pe,at){for(var Ft=at;Ft>0;Ft--)Pe.pop()}(V,z.length),String.fromCharCode.apply(String,V)+"~>"},d=function(b){var z,V,ee,Ee,ot,Xe=String,gt="length",me=255,Ht="charCodeAt",je="slice",Pe="replace";for(b[je](-2),b=b[je](0,-2)[Pe](/\s/g,"")[Pe]("z","!!!!!"),ee=[],Ee=0,ot=(b+=z="uuuuu"[je](b[gt]%5||5))[gt];ot>Ee;Ee+=5)V=52200625*(b[Ht](Ee)-33)+614125*(b[Ht](Ee+1)-33)+7225*(b[Ht](Ee+2)-33)+85*(b[Ht](Ee+3)-33)+(b[Ht](Ee+4)-33),ee.push(me&V>>24,me&V>>16,me&V>>8,me&V);return function(at,Ft){for(var cr=Ft;cr>0;cr--)at.pop()}(ee,z[gt]),Xe.fromCharCode.apply(Xe,ee)},v=function(b){var z=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"),z.test(b)===!1)return"";for(var V="",ee=0;ee<b.length;ee+=2)V+=String.fromCharCode("0x"+(b[ee]+b[ee+1]));return V},O=function(b){for(var z=new Uint8Array(b.length),V=b.length;V--;)z[V]=b.charCodeAt(V);return b=(z=(0,qe.iZ)(z)).reduce(function(ee,Ee){return ee+String.fromCharCode(Ee)},"")};g.processDataByFilters=function(b,z){var V=0,ee=b||"",Ee=[];for(typeof(z=z||[])=="string"&&(z=[z]),V=0;V<z.length;V+=1)switch(z[V]){case"ASCII85Decode":case"/ASCII85Decode":ee=d(ee),Ee.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":ee=u(ee),Ee.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":ee=v(ee),Ee.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":ee=ee.split("").map(function(ot){return("0"+ot.charCodeAt().toString(16)).slice(-2)}).join("")+">",Ee.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":ee=O(ee),Ee.push("/FlateDecode");break;default:throw new Error('The filter: "'+z[V]+'" is not implemented')}return{data:ee,reverseChain:Ee.reverse().join(" ")}}}(H.API),function(g){g.loadFile=function(u,d,v){return function(O,b,z){b=b!==!1,z=typeof z=="function"?z:function(){};var V=void 0;try{V=function(ee,Ee,ot){var Xe=new XMLHttpRequest,gt=0,me=function(Ht){var je=Ht.length,Pe=[],at=String.fromCharCode;for(gt=0;gt<je;gt+=1)Pe.push(at(255&Ht.charCodeAt(gt)));return Pe.join("")};if(Xe.open("GET",ee,!Ee),Xe.overrideMimeType("text/plain; charset=x-user-defined"),Ee===!1&&(Xe.onload=function(){Xe.status===200?ot(me(this.responseText)):ot(void 0)}),Xe.send(null),Ee&&Xe.status===200)return me(Xe.responseText)}(O,b,z)}catch(ee){}return V}(u,d,v)},g.loadImageFile=g.loadFile}(H.API),function(g){function u(){return(I.html2canvas?Promise.resolve(I.html2canvas):Promise.resolve().then(o.t.bind(o,64270,23))).catch(function(z){return Promise.reject(new Error("Could not load html2canvas: "+z))}).then(function(z){return z.default?z.default:z})}function d(){return(I.DOMPurify?Promise.resolve(I.DOMPurify):o.e(2364).then(o.bind(o,12364))).catch(function(z){return Promise.reject(new Error("Could not load dompurify: "+z))}).then(function(z){return z.default?z.default:z})}var v=function(z){var V=(0,s.Z)(z);return V==="undefined"?"undefined":V==="string"||z instanceof String?"string":V==="number"||z instanceof Number?"number":V==="function"||z instanceof Function?"function":z&&z.constructor===Array?"array":z&&z.nodeType===1?"element":V==="object"?"object":"unknown"},O=function(z,V){var ee=document.createElement(z);for(var Ee in V.className&&(ee.className=V.className),V.innerHTML&&V.dompurify&&(ee.innerHTML=V.dompurify.sanitize(V.innerHTML)),V.style)ee.style[Ee]=V.style[Ee];return ee},b=function z(V){var ee=Object.assign(z.convert(Promise.resolve()),JSON.parse(JSON.stringify(z.template))),Ee=z.convert(Promise.resolve(),ee);return Ee=(Ee=Ee.setProgress(1,z,1,[z])).set(V)};(b.prototype=Object.create(Promise.prototype)).constructor=b,b.convert=function(z,V){return z.__proto__=V||b.prototype,z},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(z,V){return this.then(function(){switch(V=V||function(ee){switch(v(ee)){case"string":return"string";case"element":return ee.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(z)){case"string":return this.then(d).then(function(ee){return this.set({src:O("div",{innerHTML:z,dompurify:ee})})});case"element":return this.set({src:z});case"canvas":return this.set({canvas:z});case"img":return this.set({img:z});default:return this.error("Unknown source type.")}})},b.prototype.to=function(z){switch(z){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 z={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},V=function ee(Ee,ot){for(var Xe=Ee.nodeType===3?document.createTextNode(Ee.nodeValue):Ee.cloneNode(!1),gt=Ee.firstChild;gt;gt=gt.nextSibling)ot!==!0&&gt.nodeType===1&&gt.nodeName==="SCRIPT"||Xe.appendChild(ee(gt,ot));return Ee.nodeType===1&&(Ee.nodeName==="CANVAS"?(Xe.width=Ee.width,Xe.height=Ee.height,Xe.getContext("2d").drawImage(Ee,0,0)):Ee.nodeName!=="TEXTAREA"&&Ee.nodeName!=="SELECT"||(Xe.value=Ee.value),Xe.addEventListener("load",function(){Xe.scrollTop=Ee.scrollTop,Xe.scrollLeft=Ee.scrollLeft},!0)),Xe}(this.prop.src,this.opt.html2canvas.javascriptEnabled);V.tagName==="BODY"&&(z.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=O("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=O("div",{className:"html2pdf__container",style:z}),this.prop.container.appendChild(V),this.prop.container.firstChild.appendChild(O("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 z=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(z).then(u).then(function(V){var ee=Object.assign({},this.opt.html2canvas);return delete ee.onrendered,V(this.prop.container,ee)}).then(function(V){(this.opt.html2canvas.onrendered||function(){})(V),this.prop.canvas=V,document.body.removeChild(this.prop.overlay)})},b.prototype.toContext2d=function(){var z=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(z).then(u).then(function(V){var ee=this.opt.jsPDF,Ee=this.opt.fontFaces,ot=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,Xe=Object.assign({async:!0,allowTaint:!0,scale:ot,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 Xe.onrendered,ee.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,ee.context2d.posX=this.opt.x,ee.context2d.posY=this.opt.y,ee.context2d.margin=this.opt.margin,ee.context2d.fontFaces=Ee,Ee)for(var gt=0;gt<Ee.length;++gt){var me=Ee[gt],Ht=me.src.find(function(je){return je.format==="truetype"});Ht&&ee.addFont(Ht.url,me.ref.name,me.ref.style)}return Xe.windowHeight=Xe.windowHeight||0,Xe.windowHeight=Xe.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):Xe.windowHeight,ee.context2d.save(!0),V(this.prop.container,Xe)}).then(function(V){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(V),this.prop.canvas=V,document.body.removeChild(this.prop.overlay)})},b.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var z=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=z})},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(z,V,ee){return(ee=ee||"pdf").toLowerCase()==="img"||ee.toLowerCase()==="image"?this.outputImg(z,V):this.outputPdf(z,V)},b.prototype.outputPdf=function(z,V){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(z,V)})},b.prototype.outputImg=function(z){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(z){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 "'+z+'" is not supported.'}})},b.prototype.save=function(z){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(z?{filename:z}: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(z){if(v(z)!=="object")return this;var V=Object.keys(z||{}).map(function(ee){if(ee in b.template.prop)return function(){this.prop[ee]=z[ee]};switch(ee){case"margin":return this.setMargin.bind(this,z.margin);case"jsPDF":return function(){return this.opt.jsPDF=z.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,z.pageSize);default:return function(){this.opt[ee]=z[ee]}}},this);return this.then(function(){return this.thenList(V)})},b.prototype.get=function(z,V){return this.then(function(){var ee=z in b.template.prop?this.prop[z]:this.opt[z];return V?V(ee):ee})},b.prototype.setMargin=function(z){return this.then(function(){switch(v(z)){case"number":z=[z,z,z,z];case"array":if(z.length===2&&(z=[z[0],z[1],z[0],z[1]]),z.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=z}).then(this.setPageSize)},b.prototype.setPageSize=function(z){function V(ee,Ee){return Math.floor(ee*Ee/72*96)}return this.then(function(){(z=z||H.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(z.inner={width:z.width-this.opt.margin[1]-this.opt.margin[3],height:z.height-this.opt.margin[0]-this.opt.margin[2]},z.inner.px={width:V(z.inner.width,z.k),height:V(z.inner.height,z.k)},z.inner.ratio=z.inner.height/z.inner.width),this.prop.pageSize=z})},b.prototype.setProgress=function(z,V,ee,Ee){return z!=null&&(this.progress.val=z),V!=null&&(this.progress.state=V),ee!=null&&(this.progress.n=ee),Ee!=null&&(this.progress.stack=Ee),this.progress.ratio=this.progress.val/this.progress.state,this},b.prototype.updateProgress=function(z,V,ee,Ee){return this.setProgress(z?this.progress.val+z:null,V||null,ee?this.progress.n+ee:null,Ee?this.progress.stack.concat(Ee):null)},b.prototype.then=function(z,V){var ee=this;return this.thenCore(z,V,function(Ee,ot){return ee.updateProgress(null,null,1,[Ee]),Promise.prototype.then.call(this,function(Xe){return ee.updateProgress(null,Ee),Xe}).then(Ee,ot).then(function(Xe){return ee.updateProgress(1),Xe})})},b.prototype.thenCore=function(z,V,ee){ee=ee||Promise.prototype.then,z&&(z=z.bind(this)),V&&(V=V.bind(this));var Ee=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:b.convert(Object.assign({},this),Promise.prototype),ot=ee.call(Ee,z,V);return b.convert(ot,this.__proto__)},b.prototype.thenExternal=function(z,V){return Promise.prototype.then.call(this,z,V)},b.prototype.thenList=function(z){var V=this;return z.forEach(function(ee){V=V.thenCore(ee)}),V},b.prototype.catch=function(z){z&&(z=z.bind(this));var V=Promise.prototype.catch.call(this,z);return b.convert(V,this)},b.prototype.catchExternal=function(z){return Promise.prototype.catch.call(this,z)},b.prototype.error=function(z){return this.then(function(){throw new Error(z)})},b.prototype.using=b.prototype.set,b.prototype.saveAs=b.prototype.save,b.prototype.export=b.prototype.output,b.prototype.run=b.prototype.then,H.getPageSize=function(z,V,ee){if((0,s.Z)(z)==="object"){var Ee=z;z=Ee.orientation,V=Ee.unit||V,ee=Ee.format||ee}V=V||"mm",ee=ee||"a4",z=(""+(z||"P")).toLowerCase();var ot,Xe=(""+ee).toLowerCase(),gt={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(V){case"pt":ot=1;break;case"mm":ot=72/25.4;break;case"cm":ot=72/2.54;break;case"in":ot=72;break;case"px":ot=.75;break;case"pc":case"em":ot=12;break;case"ex":ot=6;break;default:throw"Invalid unit: "+V}var me,Ht=0,je=0;if(gt.hasOwnProperty(Xe))Ht=gt[Xe][1]/ot,je=gt[Xe][0]/ot;else try{Ht=ee[1],je=ee[0]}catch(Pe){throw new Error("Invalid format: "+ee)}if(z==="p"||z==="portrait")z="p",je>Ht&&(me=je,je=Ht,Ht=me);else{if(z!=="l"&&z!=="landscape")throw"Invalid orientation: "+z;z="l",Ht>je&&(me=je,je=Ht,Ht=me)}return{width:je,height:Ht,unit:V,k:ot,orientation:z}},g.html=function(z,V){(V=V||{}).callback=V.callback||function(){},V.html2canvas=V.html2canvas||{},V.html2canvas.canvas=V.html2canvas.canvas||this.canvas,V.jsPDF=V.jsPDF||this,V.fontFaces=V.fontFaces?V.fontFaces.map(yr):null;var ee=new b(V);return V.worker?ee:ee.from(z).doCallback()}}(H.API),H.API.addJS=function(g){return Wr=g,this.internal.events.subscribe("postPutResources",function(){yt=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(yt+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Vt=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Wr+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){yt!==void 0&&Vt!==void 0&&this.internal.out("/Names <</JavaScript "+yt+" 0 R>>")}),this},function(g){var u;g.events.push(["postPutResources",function(){var d=this,v=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var O=d.outline.render().split(/\r\n/),b=0;b<O.length;b++){var z=O[b],V=v.exec(z);if(V!=null){var ee=V[1];d.internal.newObjectDeferredBegin(ee,!1)}d.internal.write(z)}if(this.outline.createNamedDestinations){var Ee=this.internal.pages.length,ot=[];for(b=0;b<Ee;b++){var Xe=d.internal.newObject();ot.push(Xe);var gt=d.internal.getPageInfo(b+1);d.internal.write("<< /D["+gt.objId+" 0 R /XYZ null null null]>> endobj")}var me=d.internal.newObject();for(d.internal.write("<< /Names [ "),b=0;b<ot.length;b++)d.internal.write("(page_"+(b+1)+")"+ot[b]+" 0 R");d.internal.write(" ] >>","endobj"),u=d.internal.newObject(),d.internal.write("<< /Dests "+me+" 0 R"),d.internal.write(">>","endobj")}}]),g.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+u+" 0 R"))}]),g.events.push(["initialized",function(){var d=this;d.outline={createNamedDestinations:!1,root:{children:[]}},d.outline.add=function(v,O,b){var z={title:O,options:b,children:[]};return v==null&&(v=this.root),v.children.push(z),z},d.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=d,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},d.outline.genIds_r=function(v){v.id=d.internal.newObjectDeferred();for(var O=0;O<v.children.length;O++)this.genIds_r(v.children[O])},d.outline.renderRoot=function(v){this.objStart(v),this.line("/Type /Outlines"),v.children.length>0&&(this.line("/First "+this.makeRef(v.children[0])),this.line("/Last "+this.makeRef(v.children[v.children.length-1]))),this.line("/Count "+this.count_r({count:0},v)),this.objEnd()},d.outline.renderItems=function(v){for(var O=this.ctx.pdf.internal.getVerticalCoordinateString,b=0;b<v.children.length;b++){var z=v.children[b];this.objStart(z),this.line("/Title "+this.makeString(z.title)),this.line("/Parent "+this.makeRef(v)),b>0&&this.line("/Prev "+this.makeRef(v.children[b-1])),b<v.children.length-1&&this.line("/Next "+this.makeRef(v.children[b+1])),z.children.length>0&&(this.line("/First "+this.makeRef(z.children[0])),this.line("/Last "+this.makeRef(z.children[z.children.length-1])));var V=this.count=this.count_r({count:0},z);if(V>0&&this.line("/Count "+V),z.options&&z.options.pageNumber){var ee=d.internal.getPageInfo(z.options.pageNumber);this.line("/Dest ["+ee.objId+" 0 R /XYZ 0 "+O(0)+" 0]")}this.objEnd()}for(var Ee=0;Ee<v.children.length;Ee++)this.renderItems(v.children[Ee])},d.outline.line=function(v){this.ctx.val+=v+`\r
`},d.outline.makeRef=function(v){return v.id+" 0 R"},d.outline.makeString=function(v){return"("+d.internal.pdfEscape(v)+")"},d.outline.objStart=function(v){this.ctx.val+=`\r
`+v.id+` 0 obj\r
<<\r
`},d.outline.objEnd=function(){this.ctx.val+=`>> \r
endobj\r
`},d.outline.count_r=function(v,O){for(var b=0;b<O.children.length;b++)v.count++,this.count_r(v,O.children[b]);return v.count}}])}(H.API),function(g){var u=[192,193,194,195,196,197,198,199];g.processJPEG=function(d,v,O,b,z,V){var ee,Ee=this.decode.DCT_DECODE,ot=null;if(typeof d=="string"||this.__addimage__.isArrayBuffer(d)||this.__addimage__.isArrayBufferView(d)){switch(d=z||d,d=this.__addimage__.isArrayBuffer(d)?new Uint8Array(d):d,(ee=function(Xe){for(var gt,me=256*Xe.charCodeAt(4)+Xe.charCodeAt(5),Ht=Xe.length,je={width:0,height:0,numcomponents:1},Pe=4;Pe<Ht;Pe+=2){if(Pe+=me,u.indexOf(Xe.charCodeAt(Pe+1))!==-1){gt=256*Xe.charCodeAt(Pe+5)+Xe.charCodeAt(Pe+6),je={width:256*Xe.charCodeAt(Pe+7)+Xe.charCodeAt(Pe+8),height:gt,numcomponents:Xe.charCodeAt(Pe+9)};break}me=256*Xe.charCodeAt(Pe+2)+Xe.charCodeAt(Pe+3)}return je}(d=this.__addimage__.isArrayBufferView(d)?this.__addimage__.arrayBufferToBinaryString(d):d)).numcomponents){case 1:V=this.color_spaces.DEVICE_GRAY;break;case 4:V=this.color_spaces.DEVICE_CMYK;break;case 3:V=this.color_spaces.DEVICE_RGB}ot={data:d,width:ee.width,height:ee.height,colorSpace:V,bitsPerComponent:8,filter:Ee,index:v,alias:O}}return ot}}(H.API);var Qr,vn,_n,pe,fr,tt=function(){var g,u,d;function v(b){var z,V,ee,Ee,ot,Xe,gt,me,Ht,je,Pe,at,Ft,cr;for(this.data=b,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},Xe=null;;){switch(z=this.readUInt32(),Ht=function(){var Rr,Vr;for(Vr=[],Rr=0;Rr<4;++Rr)Vr.push(String.fromCharCode(this.data[this.pos++]));return Vr}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(z);break;case"fcTL":Xe&&this.animation.frames.push(Xe),this.pos+=4,Xe={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},ot=this.readUInt16(),Ee=this.readUInt16()||100,Xe.delay=1e3*ot/Ee,Xe.disposeOp=this.data[this.pos++],Xe.blendOp=this.data[this.pos++],Xe.data=[];break;case"IDAT":case"fdAT":for(Ht==="fdAT"&&(this.pos+=4,z-=4),b=(Xe!=null?Xe.data:void 0)||this.imgData,at=0;0<=z?at<z:at>z;0<=z?++at:--at)b.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(ee=this.palette.length/3,this.transparency.indexed=this.read(z),this.transparency.indexed.length>ee)throw new Error("More transparent colors than palette size");if((je=ee-this.transparency.indexed.length)>0)for(Ft=0;0<=je?Ft<je:Ft>je;0<=je?++Ft:--Ft)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(z)[0];break;case 2:this.transparency.rgb=this.read(z)}break;case"tEXt":gt=(Pe=this.read(z)).indexOf(0),me=String.fromCharCode.apply(String,Pe.slice(0,gt)),this.text[me]=String.fromCharCode.apply(String,Pe.slice(gt+1));break;case"IEND":return Xe&&this.animation.frames.push(Xe),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(cr=this.colorType)===4||cr===6,V=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*V,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=z}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}v.prototype.read=function(b){var z,V;for(V=[],z=0;0<=b?z<b:z>b;0<=b?++z:--z)V.push(this.data[this.pos++]);return V},v.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},v.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},v.prototype.decodePixels=function(b){var z=this.pixelBitlength/8,V=new Uint8Array(this.width*this.height*z),ee=0,Ee=this;if(b==null&&(b=this.imgData),b.length===0)return new Uint8Array(0);function ot(Xe,gt,me,Ht){var je,Pe,at,Ft,cr,Rr,Vr,Mr,wr,Zt,_t,Br,dt,ut,rr,Pt,Ve,ve,$t,Ct,Xt,Gt=Math.ceil((Ee.width-Xe)/me),Sr=Math.ceil((Ee.height-gt)/Ht),be=Ee.width==Gt&&Ee.height==Sr;for(ut=z*Gt,Br=be?V:new Uint8Array(ut*Sr),Rr=b.length,dt=0,Pe=0;dt<Sr&&ee<Rr;){switch(b[ee++]){case 0:for(Ft=Ve=0;Ve<ut;Ft=Ve+=1)Br[Pe++]=b[ee++];break;case 1:for(Ft=ve=0;ve<ut;Ft=ve+=1)je=b[ee++],cr=Ft<z?0:Br[Pe-z],Br[Pe++]=(je+cr)%256;break;case 2:for(Ft=$t=0;$t<ut;Ft=$t+=1)je=b[ee++],at=(Ft-Ft%z)/z,rr=dt&&Br[(dt-1)*ut+at*z+Ft%z],Br[Pe++]=(rr+je)%256;break;case 3:for(Ft=Ct=0;Ct<ut;Ft=Ct+=1)je=b[ee++],at=(Ft-Ft%z)/z,cr=Ft<z?0:Br[Pe-z],rr=dt&&Br[(dt-1)*ut+at*z+Ft%z],Br[Pe++]=(je+Math.floor((cr+rr)/2))%256;break;case 4:for(Ft=Xt=0;Xt<ut;Ft=Xt+=1)je=b[ee++],at=(Ft-Ft%z)/z,cr=Ft<z?0:Br[Pe-z],dt===0?rr=Pt=0:(rr=Br[(dt-1)*ut+at*z+Ft%z],Pt=at&&Br[(dt-1)*ut+(at-1)*z+Ft%z]),Vr=cr+rr-Pt,Mr=Math.abs(Vr-cr),Zt=Math.abs(Vr-rr),_t=Math.abs(Vr-Pt),wr=Mr<=Zt&&Mr<=_t?cr:Zt<=_t?rr:Pt,Br[Pe++]=(je+wr)%256;break;default:throw new Error("Invalid filter algorithm: "+b[ee-1])}if(!be){var nt=((gt+dt*Ht)*Ee.width+Xe)*z,rt=dt*ut;for(Ft=0;Ft<Gt;Ft+=1){for(var kt=0;kt<z;kt+=1)V[nt++]=Br[rt++];nt+=(me-1)*z}}dt++}}return b=(0,qe.HT)(b),Ee.interlaceMethod==1?(ot(0,0,8,8),ot(4,0,8,8),ot(0,4,4,8),ot(2,0,4,4),ot(0,2,2,4),ot(1,0,2,2),ot(0,1,1,2)):ot(0,0,1,1),V},v.prototype.decodePalette=function(){var b,z,V,ee,Ee,ot,Xe,gt,me;for(V=this.palette,ot=this.transparency.indexed||[],Ee=new Uint8Array((ot.length||0)+V.length),ee=0,b=0,z=Xe=0,gt=V.length;Xe<gt;z=Xe+=3)Ee[ee++]=V[z],Ee[ee++]=V[z+1],Ee[ee++]=V[z+2],Ee[ee++]=(me=ot[b++])!=null?me:255;return Ee},v.prototype.copyToImageData=function(b,z){var V,ee,Ee,ot,Xe,gt,me,Ht,je,Pe,at;if(ee=this.colors,je=null,V=this.hasAlphaChannel,this.palette.length&&(je=(at=this._decodedPalette)!=null?at:this._decodedPalette=this.decodePalette(),ee=4,V=!0),Ht=(Ee=b.data||b).length,Xe=je||z,ot=gt=0,ee===1)for(;ot<Ht;)me=je?4*z[ot/4]:gt,Pe=Xe[me++],Ee[ot++]=Pe,Ee[ot++]=Pe,Ee[ot++]=Pe,Ee[ot++]=V?Xe[me++]:255,gt=me;else for(;ot<Ht;)me=je?4*z[ot/4]:gt,Ee[ot++]=Xe[me++],Ee[ot++]=Xe[me++],Ee[ot++]=Xe[me++],Ee[ot++]=V?Xe[me++]:255,gt=me},v.prototype.decode=function(){var b;return b=new Uint8Array(this.width*this.height*4),this.copyToImageData(b,this.decodePixels()),b};var O=function(){if(Object.prototype.toString.call(I)==="[object Window]"){try{u=I.document.createElement("canvas"),d=u.getContext("2d")}catch(b){return!1}return!0}return!1};return O(),g=function(b){var z;if(O()===!0)return d.width=b.width,d.height=b.height,d.clearRect(0,0,b.width,b.height),d.putImageData(b,0,0),(z=new Image).src=u.toDataURL(),z;throw new Error("This method requires a Browser with Canvas-capability.")},v.prototype.decodeFrames=function(b){var z,V,ee,Ee,ot,Xe,gt,me;if(this.animation){for(me=[],V=ot=0,Xe=(gt=this.animation.frames).length;ot<Xe;V=++ot)z=gt[V],ee=b.createImageData(z.width,z.height),Ee=this.decodePixels(new Uint8Array(z.data)),this.copyToImageData(ee,Ee),z.imageData=ee,me.push(z.image=g(ee));return me}},v.prototype.renderFrame=function(b,z){var V,ee,Ee;return V=(ee=this.animation.frames)[z],Ee=ee[z-1],z===0&&b.clearRect(0,0,this.width,this.height),(Ee!=null?Ee.disposeOp:void 0)===1?b.clearRect(Ee.xOffset,Ee.yOffset,Ee.width,Ee.height):(Ee!=null?Ee.disposeOp:void 0)===2&&b.putImageData(Ee.imageData,Ee.xOffset,Ee.yOffset),V.blendOp===0&&b.clearRect(V.xOffset,V.yOffset,V.width,V.height),b.drawImage(V.image,V.xOffset,V.yOffset)},v.prototype.animate=function(b){var z,V,ee,Ee,ot,Xe,gt=this;return V=0,Xe=this.animation,Ee=Xe.numFrames,ee=Xe.frames,ot=Xe.numPlays,(z=function(){var me,Ht;if(me=V++%Ee,Ht=ee[me],gt.renderFrame(b,me),Ee>1&&V/Ee<ot)return gt.animation._timeout=setTimeout(z,Ht.delay)})()},v.prototype.stopAnimation=function(){var b;return clearTimeout((b=this.animation)!=null?b._timeout:void 0)},v.prototype.render=function(b){var z,V;return b._png&&b._png.stopAnimation(),b._png=this,b.width=this.width,b.height=this.height,z=b.getContext("2d"),this.animation?(this.decodeFrames(z),this.animate(z)):(V=z.createImageData(this.width,this.height),this.copyToImageData(V,this.decodePixels()),z.putImageData(V,0,0))},v}();function Or(g){var u=0;if(g[u++]!==71||g[u++]!==73||g[u++]!==70||g[u++]!==56||(g[u++]+1&253)!=56||g[u++]!==97)throw new Error("Invalid GIF 87a/89a header.");var d=g[u++]|g[u++]<<8,v=g[u++]|g[u++]<<8,O=g[u++],b=O>>7,z=1<<(7&O)+1;g[u++],g[u++];var V=null,ee=null;b&&(V=u,ee=z,u+=3*z);var Ee=!0,ot=[],Xe=0,gt=null,me=0,Ht=null;for(this.width=d,this.height=v;Ee&&u<g.length;)switch(g[u++]){case 33:switch(g[u++]){case 255:if(g[u]!==11||g[u+1]==78&&g[u+2]==69&&g[u+3]==84&&g[u+4]==83&&g[u+5]==67&&g[u+6]==65&&g[u+7]==80&&g[u+8]==69&&g[u+9]==50&&g[u+10]==46&&g[u+11]==48&&g[u+12]==3&&g[u+13]==1&&g[u+16]==0)u+=14,Ht=g[u++]|g[u++]<<8,u++;else for(u+=12;;){if(!((dt=g[u++])>=0))throw Error("Invalid block size");if(dt===0)break;u+=dt}break;case 249:if(g[u++]!==4||g[u+4]!==0)throw new Error("Invalid graphics extension block.");var je=g[u++];Xe=g[u++]|g[u++]<<8,gt=g[u++],!(1&je)&&(gt=null),me=je>>2&7,u++;break;case 254:for(;;){if(!((dt=g[u++])>=0))throw Error("Invalid block size");if(dt===0)break;u+=dt}break;default:throw new Error("Unknown graphic control label: 0x"+g[u-1].toString(16))}break;case 44:var Pe=g[u++]|g[u++]<<8,at=g[u++]|g[u++]<<8,Ft=g[u++]|g[u++]<<8,cr=g[u++]|g[u++]<<8,Rr=g[u++],Vr=Rr>>6&1,Mr=1<<(7&Rr)+1,wr=V,Zt=ee,_t=!1;Rr>>7&&(_t=!0,wr=u,Zt=Mr,u+=3*Mr);var Br=u;for(u++;;){var dt;if(!((dt=g[u++])>=0))throw Error("Invalid block size");if(dt===0)break;u+=dt}ot.push({x:Pe,y:at,width:Ft,height:cr,has_local_palette:_t,palette_offset:wr,palette_size:Zt,data_offset:Br,data_length:u-Br,transparent_index:gt,interlaced:!!Vr,delay:Xe,disposal:me});break;case 59:Ee=!1;break;default:throw new Error("Unknown gif block: 0x"+g[u-1].toString(16))}this.numFrames=function(){return ot.length},this.loopCount=function(){return Ht},this.frameInfo=function(ut){if(ut<0||ut>=ot.length)throw new Error("Frame index out of range.");return ot[ut]},this.decodeAndBlitFrameBGRA=function(ut,rr){var Pt=this.frameInfo(ut),Ve=Pt.width*Pt.height,ve=new Uint8Array(Ve);Kr(g,Pt.data_offset,ve,Ve);var $t=Pt.palette_offset,Ct=Pt.transparent_index;Ct===null&&(Ct=256);var Xt=Pt.width,Gt=d-Xt,Sr=Xt,be=4*(Pt.y*d+Pt.x),nt=4*((Pt.y+Pt.height)*d+Pt.x),rt=be,kt=4*Gt;Pt.interlaced===!0&&(kt+=4*d*7);for(var Yt=8,Lt=0,Bt=ve.length;Lt<Bt;++Lt){var Qt=ve[Lt];if(Sr===0&&(Sr=Xt,(rt+=kt)>=nt&&(kt=4*Gt+4*d*(Yt-1),rt=be+(Xt+Gt)*(Yt<<1),Yt>>=1)),Qt===Ct)rt+=4;else{var Ur=g[$t+3*Qt],Wt=g[$t+3*Qt+1],Fr=g[$t+3*Qt+2];rr[rt++]=Fr,rr[rt++]=Wt,rr[rt++]=Ur,rr[rt++]=255}--Sr}},this.decodeAndBlitFrameRGBA=function(ut,rr){var Pt=this.frameInfo(ut),Ve=Pt.width*Pt.height,ve=new Uint8Array(Ve);Kr(g,Pt.data_offset,ve,Ve);var $t=Pt.palette_offset,Ct=Pt.transparent_index;Ct===null&&(Ct=256);var Xt=Pt.width,Gt=d-Xt,Sr=Xt,be=4*(Pt.y*d+Pt.x),nt=4*((Pt.y+Pt.height)*d+Pt.x),rt=be,kt=4*Gt;Pt.interlaced===!0&&(kt+=4*d*7);for(var Yt=8,Lt=0,Bt=ve.length;Lt<Bt;++Lt){var Qt=ve[Lt];if(Sr===0&&(Sr=Xt,(rt+=kt)>=nt&&(kt=4*Gt+4*d*(Yt-1),rt=be+(Xt+Gt)*(Yt<<1),Yt>>=1)),Qt===Ct)rt+=4;else{var Ur=g[$t+3*Qt],Wt=g[$t+3*Qt+1],Fr=g[$t+3*Qt+2];rr[rt++]=Ur,rr[rt++]=Wt,rr[rt++]=Fr,rr[rt++]=255}--Sr}}}function Kr(g,u,d,v){for(var O=g[u++],b=1<<O,z=b+1,V=z+1,ee=O+1,Ee=(1<<ee)-1,ot=0,Xe=0,gt=0,me=g[u++],Ht=new Int32Array(4096),je=null;;){for(;ot<16&&me!==0;)Xe|=g[u++]<<ot,ot+=8,me===1?me=g[u++]:--me;if(ot<ee)break;var Pe=Xe&Ee;if(Xe>>=ee,ot-=ee,Pe!==b){if(Pe===z)break;for(var at=Pe<V?Pe:je,Ft=0,cr=at;cr>b;)cr=Ht[cr]>>8,++Ft;var Rr=cr;if(gt+Ft+(at!==Pe?1:0)>v)return void te.log("Warning, gif stream longer than expected.");d[gt++]=Rr;var Vr=gt+=Ft;for(at!==Pe&&(d[gt++]=Rr),cr=at;Ft--;)cr=Ht[cr],d[--Vr]=255&cr,cr>>=8;je!==null&&V<4096&&(Ht[V++]=je<<8|Rr,V>=Ee+1&&ee<12&&(++ee,Ee=Ee<<1|1)),je=Pe}else V=z+1,Ee=(1<<(ee=O+1))-1,je=null}return gt!==v&&te.log("Warning, gif stream shorter than expected."),d}function xn(g){var u,d,v,O,b,z=Math.floor,V=new Array(64),ee=new Array(64),Ee=new Array(64),ot=new Array(64),Xe=new Array(65535),gt=new Array(65535),me=new Array(64),Ht=new Array(64),je=[],Pe=0,at=7,Ft=new Array(64),cr=new Array(64),Rr=new Array(64),Vr=new Array(256),Mr=new Array(2048),wr=[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],Zt=[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],Br=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],dt=[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],ut=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],rr=[0,1,2,3,4,5,6,7,8,9,10,11],Pt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Ve=[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 ve(be,nt){for(var rt=0,kt=0,Yt=new Array,Lt=1;Lt<=16;Lt++){for(var Bt=1;Bt<=be[Lt];Bt++)Yt[nt[kt]]=[],Yt[nt[kt]][0]=rt,Yt[nt[kt]][1]=Lt,kt++,rt++;rt*=2}return Yt}function $t(be){for(var nt=be[0],rt=be[1]-1;rt>=0;)nt&1<<rt&&(Pe|=1<<at),rt--,--at<0&&(Pe==255?(Ct(255),Ct(0)):Ct(Pe),at=7,Pe=0)}function Ct(be){je.push(be)}function Xt(be){Ct(be>>8&255),Ct(255&be)}function Gt(be,nt,rt,kt,Yt){for(var Lt,Bt=Yt[0],Qt=Yt[240],Ur=function(qr,nn){var _r,on,Mn,Ln,Hn,ta,oa,ma,Kn,On,Yr=0;for(Kn=0;Kn<8;++Kn){_r=qr[Yr],on=qr[Yr+1],Mn=qr[Yr+2],Ln=qr[Yr+3],Hn=qr[Yr+4],ta=qr[Yr+5],oa=qr[Yr+6];var Ba=_r+(ma=qr[Yr+7]),ba=_r-ma,La=on+oa,ia=on-oa,Ca=Mn+ta,uo=Mn-ta,sa=Ln+Hn,no=Ln-Hn,Ma=Ba+sa,Wa=Ba-sa,Jn=La+Ca,ra=La-Ca;qr[Yr]=Ma+Jn,qr[Yr+4]=Ma-Jn;var fn=.707106781*(ra+Wa);qr[Yr+2]=Wa+fn,qr[Yr+6]=Wa-fn;var Cn=.382683433*((Ma=no+uo)-(ra=ia+ba)),Oa=.5411961*Ma+Cn,aa=1.306562965*ra+Cn,za=.707106781*(Jn=uo+ia),Ta=ba+za,Wn=ba-za;qr[Yr+5]=Wn+Oa,qr[Yr+3]=Wn-Oa,qr[Yr+1]=Ta+aa,qr[Yr+7]=Ta-aa,Yr+=8}for(Yr=0,Kn=0;Kn<8;++Kn){_r=qr[Yr],on=qr[Yr+8],Mn=qr[Yr+16],Ln=qr[Yr+24],Hn=qr[Yr+32],ta=qr[Yr+40],oa=qr[Yr+48];var so=_r+(ma=qr[Yr+56]),Rn=_r-ma,la=on+oa,ca=on-oa,xa=Mn+ta,Fa=Mn-ta,ao=Ln+Hn,Qa=Ln-Hn,go=so+ao,ho=so-ao,ga=la+xa,Ia=la-xa;qr[Yr]=go+ga,qr[Yr+32]=go-ga;var Sa=.707106781*(Ia+ho);qr[Yr+16]=ho+Sa,qr[Yr+48]=ho-Sa;var Ua=.382683433*((go=Qa+Fa)-(Ia=ca+Rn)),_a=.5411961*go+Ua,ya=1.306562965*Ia+Ua,ka=.707106781*(ga=Fa+ca),Na=Rn+ka,Xa=Rn-ka;qr[Yr+40]=Xa+_a,qr[Yr+24]=Xa-_a,qr[Yr+8]=Na+ya,qr[Yr+56]=Na-ya,Yr++}for(Kn=0;Kn<64;++Kn)On=qr[Kn]*nn[Kn],me[Kn]=On>0?On+.5|0:On-.5|0;return me}(be,nt),Wt=0;Wt<64;++Wt)Ht[wr[Wt]]=Ur[Wt];var Fr=Ht[0]-rt;rt=Ht[0],Fr==0?$t(kt[0]):($t(kt[gt[Lt=32767+Fr]]),$t(Xe[Lt]));for(var Xr=63;Xr>0&&Ht[Xr]==0;)Xr--;if(Xr==0)return $t(Bt),rt;for(var gn,Dt=1;Dt<=Xr;){for(var Et=Dt;Ht[Dt]==0&&Dt<=Xr;)++Dt;var wn=Dt-Et;if(wn>=16){gn=wn>>4;for(var Gr=1;Gr<=gn;++Gr)$t(Qt);wn&=15}Lt=32767+Ht[Dt],$t(Yt[(wn<<4)+gt[Lt]]),$t(Xe[Lt]),Dt++}return Xr!=63&&$t(Bt),rt}function Sr(be){be=Math.min(Math.max(be,1),100),b!=be&&(function(nt){for(var rt=[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],kt=0;kt<64;kt++){var Yt=z((rt[kt]*nt+50)/100);Yt=Math.min(Math.max(Yt,1),255),V[wr[kt]]=Yt}for(var Lt=[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],Bt=0;Bt<64;Bt++){var Qt=z((Lt[Bt]*nt+50)/100);Qt=Math.min(Math.max(Qt,1),255),ee[wr[Bt]]=Qt}for(var Ur=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Wt=0,Fr=0;Fr<8;Fr++)for(var Xr=0;Xr<8;Xr++)Ee[Wt]=1/(V[wr[Wt]]*Ur[Fr]*Ur[Xr]*8),ot[Wt]=1/(ee[wr[Wt]]*Ur[Fr]*Ur[Xr]*8),Wt++}(be<50?Math.floor(5e3/be):Math.floor(200-2*be)),b=be)}this.encode=function(be,nt){nt&&Sr(nt),je=new Array,Pe=0,at=7,Xt(65496),Xt(65504),Xt(16),Ct(74),Ct(70),Ct(73),Ct(70),Ct(0),Ct(1),Ct(1),Ct(0),Xt(1),Xt(1),Ct(0),Ct(0),function(){Xt(65499),Xt(132),Ct(0);for(var on=0;on<64;on++)Ct(V[on]);Ct(1);for(var Mn=0;Mn<64;Mn++)Ct(ee[Mn])}(),function(on,Mn){Xt(65472),Xt(17),Ct(8),Xt(Mn),Xt(on),Ct(3),Ct(1),Ct(17),Ct(0),Ct(2),Ct(17),Ct(1),Ct(3),Ct(17),Ct(1)}(be.width,be.height),function(){Xt(65476),Xt(418),Ct(0);for(var on=0;on<16;on++)Ct(Zt[on+1]);for(var Mn=0;Mn<=11;Mn++)Ct(_t[Mn]);Ct(16);for(var Ln=0;Ln<16;Ln++)Ct(Br[Ln+1]);for(var Hn=0;Hn<=161;Hn++)Ct(dt[Hn]);Ct(1);for(var ta=0;ta<16;ta++)Ct(ut[ta+1]);for(var oa=0;oa<=11;oa++)Ct(rr[oa]);Ct(17);for(var ma=0;ma<16;ma++)Ct(Pt[ma+1]);for(var Kn=0;Kn<=161;Kn++)Ct(Ve[Kn])}(),Xt(65498),Xt(12),Ct(3),Ct(1),Ct(0),Ct(2),Ct(17),Ct(3),Ct(17),Ct(0),Ct(63),Ct(0);var rt=0,kt=0,Yt=0;Pe=0,at=7,this.encode.displayName="_encode_";for(var Lt,Bt,Qt,Ur,Wt,Fr,Xr,gn,Dt,Et=be.data,wn=be.width,Gr=be.height,qr=4*wn,nn=0;nn<Gr;){for(Lt=0;Lt<qr;){for(Wt=qr*nn+Lt,Xr=-1,gn=0,Dt=0;Dt<64;Dt++)Fr=Wt+(gn=Dt>>3)*qr+(Xr=4*(7&Dt)),nn+gn>=Gr&&(Fr-=qr*(nn+1+gn-Gr)),Lt+Xr>=qr&&(Fr-=Lt+Xr-qr+4),Bt=Et[Fr++],Qt=Et[Fr++],Ur=Et[Fr++],Ft[Dt]=(Mr[Bt]+Mr[Qt+256>>0]+Mr[Ur+512>>0]>>16)-128,cr[Dt]=(Mr[Bt+768>>0]+Mr[Qt+1024>>0]+Mr[Ur+1280>>0]>>16)-128,Rr[Dt]=(Mr[Bt+1280>>0]+Mr[Qt+1536>>0]+Mr[Ur+1792>>0]>>16)-128;rt=Gt(Ft,Ee,rt,u,v),kt=Gt(cr,ot,kt,d,O),Yt=Gt(Rr,ot,Yt,d,O),Lt+=32}nn+=8}if(at>=0){var _r=[];_r[1]=at+1,_r[0]=(1<<at+1)-1,$t(_r)}return Xt(65497),new Uint8Array(je)},g=g||50,function(){for(var be=String.fromCharCode,nt=0;nt<256;nt++)Vr[nt]=be(nt)}(),u=ve(Zt,_t),d=ve(ut,rr),v=ve(Br,dt),O=ve(Pt,Ve),function(){for(var be=1,nt=2,rt=1;rt<=15;rt++){for(var kt=be;kt<nt;kt++)gt[32767+kt]=rt,Xe[32767+kt]=[],Xe[32767+kt][1]=rt,Xe[32767+kt][0]=kt;for(var Yt=-(nt-1);Yt<=-be;Yt++)gt[32767+Yt]=rt,Xe[32767+Yt]=[],Xe[32767+Yt][1]=rt,Xe[32767+Yt][0]=nt-1+Yt;be<<=1,nt<<=1}}(),function(){for(var be=0;be<256;be++)Mr[be]=19595*be,Mr[be+256>>0]=38470*be,Mr[be+512>>0]=7471*be+32768,Mr[be+768>>0]=-11059*be,Mr[be+1024>>0]=-21709*be,Mr[be+1280>>0]=32768*be+8421375,Mr[be+1536>>0]=-27439*be,Mr[be+1792>>0]=-5329*be}(),Sr(g)}function kn(g,u){if(this.pos=0,this.buffer=g,this.datav=new DataView(g.buffer),this.is_with_alpha=!!u,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 xt(g){function u(Zt){if(!Zt)throw Error("assert :P")}function d(Zt,_t,Br){for(var dt=0;4>dt;dt++)if(Zt[_t+dt]!=Br.charCodeAt(dt))return!0;return!1}function v(Zt,_t,Br,dt,ut){for(var rr=0;rr<ut;rr++)Zt[_t+rr]=Br[dt+rr]}function O(Zt,_t,Br,dt){for(var ut=0;ut<dt;ut++)Zt[_t+ut]=Br}function b(Zt){return new Int32Array(Zt)}function z(Zt,_t){for(var Br=[],dt=0;dt<Zt;dt++)Br.push(new _t);return Br}function V(Zt,_t){var Br=[];return function dt(ut,rr,Pt){for(var Ve=Pt[rr],ve=0;ve<Ve&&(ut.push(Pt.length>rr+1?[]:new _t),!(Pt.length<rr+1));ve++)dt(ut[ve],rr+1,Pt)}(Br,0,Zt),Br}var ee=function(){var Zt=this;function _t(n,m){for(var B=1<<m-1>>>0;n&B;)B>>>=1;return B?(n&B-1)+B:n}function Br(n,m,B,ie,Te){u(!(ie%B));do n[m+(ie-=B)]=Te;while(0<ie)}function dt(n,m,B,ie,Te){if(u(2328>=Te),512>=Te)var Ze=b(512);else if((Ze=b(Te))==null)return 0;return function(Ke,it,mt,Mt,ur,Ar){var $r,xr,un=it,Zr=1<<mt,dr=b(16),pr=b(16);for(u(ur!=0),u(Mt!=null),u(Ke!=null),u(0<mt),xr=0;xr<ur;++xr){if(15<Mt[xr])return 0;++dr[Mt[xr]]}if(dr[0]==ur)return 0;for(pr[1]=0,$r=1;15>$r;++$r){if(dr[$r]>1<<$r)return 0;pr[$r+1]=pr[$r]+dr[$r]}for(xr=0;xr<ur;++xr)$r=Mt[xr],0<Mt[xr]&&(Ar[pr[$r]++]=xr);if(pr[15]==1)return(Mt=new ut).g=0,Mt.value=Ar[0],Br(Ke,un,1,Zr,Mt),Zr;var an,mn=-1,sn=Zr-1,Vn=0,Tn=1,fa=1,zn=1<<mt;for(xr=0,$r=1,ur=2;$r<=mt;++$r,ur<<=1){if(Tn+=fa<<=1,0>(fa-=dr[$r]))return 0;for(;0<dr[$r];--dr[$r])(Mt=new ut).g=$r,Mt.value=Ar[xr++],Br(Ke,un+Vn,ur,zn,Mt),Vn=_t(Vn,$r)}for($r=mt+1,ur=2;15>=$r;++$r,ur<<=1){if(Tn+=fa<<=1,0>(fa-=dr[$r]))return 0;for(;0<dr[$r];--dr[$r]){if(Mt=new ut,(Vn&sn)!=mn){for(un+=zn,an=1<<(mn=$r)-mt;15>mn&&!(0>=(an-=dr[mn]));)++mn,an<<=1;Zr+=zn=1<<(an=mn-mt),Ke[it+(mn=Vn&sn)].g=an+mt,Ke[it+mn].value=un-it-mn}Mt.g=$r-mt,Mt.value=Ar[xr++],Br(Ke,un+(Vn>>mt),ur,zn,Mt),Vn=_t(Vn,$r)}}return Tn!=2*pr[15]-1?0:Zr}(n,m,B,ie,Te,Ze)}function ut(){this.value=this.g=0}function rr(){this.value=this.g=0}function Pt(){this.G=z(5,ut),this.H=b(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=z(C,rr)}function Ve(n,m,B,ie){u(n!=null),u(m!=null),u(2147483648>ie),n.Ca=254,n.I=0,n.b=-8,n.Ka=0,n.oa=m,n.pa=B,n.Jd=m,n.Yc=B+ie,n.Zc=4<=ie?B+ie-4+1:B,Lt(n)}function ve(n,m){for(var B=0;0<m--;)B|=Qt(n,128)<<m;return B}function $t(n,m){var B=ve(n,m);return Bt(n)?-B:B}function Ct(n,m,B,ie){var Te,Ze=0;for(u(n!=null),u(m!=null),u(4294967288>ie),n.Sb=ie,n.Ra=0,n.u=0,n.h=0,4<ie&&(ie=4),Te=0;Te<ie;++Te)Ze+=m[B+Te]<<8*Te;n.Ra=Ze,n.bb=ie,n.oa=m,n.pa=B}function Xt(n){for(;8<=n.u&&n.bb<n.Sb;)n.Ra>>>=8,n.Ra+=n.oa[n.pa+n.bb]<<Ge-8>>>0,++n.bb,n.u-=8;rt(n)&&(n.h=1,n.u=0)}function Gt(n,m){if(u(0<=m),!n.h&&m<=Ie){var B=nt(n)&K[m];return n.u+=m,Xt(n),B}return n.h=1,n.u=0}function Sr(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function be(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function nt(n){return n.Ra>>>(n.u&Ge-1)>>>0}function rt(n){return u(n.bb<=n.Sb),n.h||n.bb==n.Sb&&n.u>Ge}function kt(n,m){n.u=m,n.h=rt(n)}function Yt(n){n.u>=_e&&(u(n.u>=_e),Xt(n))}function Lt(n){u(n!=null&&n.oa!=null),n.pa<n.Zc?(n.I=(n.oa[n.pa++]|n.I<<8)>>>0,n.b+=8):(u(n!=null&&n.oa!=null),n.pa<n.Yc?(n.b+=8,n.I=n.oa[n.pa++]|n.I<<8):n.Ka?n.b=0:(n.I<<=8,n.b+=8,n.Ka=1))}function Bt(n){return ve(n,1)}function Qt(n,m){var B=n.Ca;0>n.b&&Lt(n);var ie=n.b,Te=B*m>>>8,Ze=(n.I>>>ie>Te)+0;for(Ze?(B-=Te,n.I-=Te+1<<ie>>>0):B=Te+1,ie=B,Te=0;256<=ie;)Te+=8,ie>>=8;return ie=7^Te+Kt[ie],n.b-=ie,n.Ca=(B<<ie)-1,Ze}function Ur(n,m,B){n[m+0]=B>>24&255,n[m+1]=B>>16&255,n[m+2]=B>>8&255,n[m+3]=B>>0&255}function Wt(n,m){return n[m+0]<<0|n[m+1]<<8}function Fr(n,m){return Wt(n,m)|n[m+2]<<16}function Xr(n,m){return Wt(n,m)|Wt(n,m+2)<<16}function gn(n,m){var B=1<<m;return u(n!=null),u(0<m),n.X=b(B),n.X==null?0:(n.Mb=32-m,n.Xa=m,1)}function Dt(n,m){u(n!=null),u(m!=null),u(n.Xa==m.Xa),v(m.X,0,n.X,0,1<<m.Xa)}function Et(){this.X=[],this.Xa=this.Mb=0}function wn(n,m,B,ie){u(B!=null),u(ie!=null);var Te=B[0],Ze=ie[0];return Te==0&&(Te=(n*Ze+m/2)/m),Ze==0&&(Ze=(m*Te+n/2)/n),0>=Te||0>=Ze?0:(B[0]=Te,ie[0]=Ze,1)}function Gr(n,m){return n+(1<<m)-1>>>m}function qr(n,m){return((4278255360&n)+(4278255360&m)>>>0&4278255360)+((16711935&n)+(16711935&m)>>>0&16711935)>>>0}function nn(n,m){Zt[m]=function(B,ie,Te,Ze,Ke,it,mt){var Mt;for(Mt=0;Mt<Ke;++Mt){var ur=Zt[n](it[mt+Mt-1],Te,Ze+Mt);it[mt+Mt]=qr(B[ie+Mt],ur)}}}function _r(){this.ud=this.hd=this.jd=0}function on(n,m){return((4278124286&(n^m))>>>1)+(n&m)>>>0}function Mn(n){return 0<=n&&256>n?n:0>n?0:255<n?255:void 0}function Ln(n,m){return Mn(n+(n-m+.5>>1))}function Hn(n,m,B){return Math.abs(m-B)-Math.abs(n-B)}function ta(n,m,B,ie,Te,Ze,Ke){for(ie=Ze[Ke-1],B=0;B<Te;++B)Ze[Ke+B]=ie=qr(n[m+B],ie)}function oa(n,m,B,ie,Te){var Ze;for(Ze=0;Ze<B;++Ze){var Ke=n[m+Ze],it=Ke>>8&255,mt=16711935&(mt=(mt=16711935&Ke)+((it<<16)+it));ie[Te+Ze]=(4278255360&Ke)+mt>>>0}}function ma(n,m){m.jd=n>>0&255,m.hd=n>>8&255,m.ud=n>>16&255}function Kn(n,m,B,ie,Te,Ze){var Ke;for(Ke=0;Ke<ie;++Ke){var it=m[B+Ke],mt=it>>>8,Mt=it,ur=255&(ur=(ur=it>>>16)+((n.jd<<24>>24)*(mt<<24>>24)>>>5));Mt=255&(Mt=(Mt=Mt+((n.hd<<24>>24)*(mt<<24>>24)>>>5))+((n.ud<<24>>24)*(ur<<24>>24)>>>5)),Te[Ze+Ke]=(4278255360&it)+(ur<<16)+Mt}}function On(n,m,B,ie,Te){Zt[m]=function(Ze,Ke,it,mt,Mt,ur,Ar,$r,xr){for(mt=Ar;mt<$r;++mt)for(Ar=0;Ar<xr;++Ar)Mt[ur++]=Te(it[ie(Ze[Ke++])])},Zt[n]=function(Ze,Ke,it,mt,Mt,ur,Ar){var $r=8>>Ze.b,xr=Ze.Ea,un=Ze.K[0],Zr=Ze.w;if(8>$r)for(Ze=(1<<Ze.b)-1,Zr=(1<<$r)-1;Ke<it;++Ke){var dr,pr=0;for(dr=0;dr<xr;++dr)dr&Ze||(pr=ie(mt[Mt++])),ur[Ar++]=Te(un[pr&Zr]),pr>>=$r}else Zt["VP8LMapColor"+B](mt,Mt,un,Zr,ur,Ar,Ke,it,xr)}}function Yr(n,m,B,ie,Te){for(B=m+B;m<B;){var Ze=n[m++];ie[Te++]=Ze>>16&255,ie[Te++]=Ze>>8&255,ie[Te++]=Ze>>0&255}}function Ba(n,m,B,ie,Te){for(B=m+B;m<B;){var Ze=n[m++];ie[Te++]=Ze>>16&255,ie[Te++]=Ze>>8&255,ie[Te++]=Ze>>0&255,ie[Te++]=Ze>>24&255}}function ba(n,m,B,ie,Te){for(B=m+B;m<B;){var Ze=(Ke=n[m++])>>16&240|Ke>>12&15,Ke=Ke>>0&240|Ke>>28&15;ie[Te++]=Ze,ie[Te++]=Ke}}function La(n,m,B,ie,Te){for(B=m+B;m<B;){var Ze=(Ke=n[m++])>>16&248|Ke>>13&7,Ke=Ke>>5&224|Ke>>3&31;ie[Te++]=Ze,ie[Te++]=Ke}}function ia(n,m,B,ie,Te){for(B=m+B;m<B;){var Ze=n[m++];ie[Te++]=Ze>>0&255,ie[Te++]=Ze>>8&255,ie[Te++]=Ze>>16&255}}function Ca(n,m,B,ie,Te,Ze){if(Ze==0)for(B=m+B;m<B;)Ur(ie,((Ze=n[m++])[0]>>24|Ze[1]>>8&65280|Ze[2]<<8&16711680|Ze[3]<<24)>>>0),Te+=32;else v(ie,Te,n,m,B)}function uo(n,m){Zt[m][0]=Zt[n+"0"],Zt[m][1]=Zt[n+"1"],Zt[m][2]=Zt[n+"2"],Zt[m][3]=Zt[n+"3"],Zt[m][4]=Zt[n+"4"],Zt[m][5]=Zt[n+"5"],Zt[m][6]=Zt[n+"6"],Zt[m][7]=Zt[n+"7"],Zt[m][8]=Zt[n+"8"],Zt[m][9]=Zt[n+"9"],Zt[m][10]=Zt[n+"10"],Zt[m][11]=Zt[n+"11"],Zt[m][12]=Zt[n+"12"],Zt[m][13]=Zt[n+"13"],Zt[m][14]=Zt[n+"0"],Zt[m][15]=Zt[n+"0"]}function sa(n){return n==i0||n==s0||n==Vs||n==l0}function no(){this.eb=[],this.size=this.A=this.fb=0}function Ma(){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 Wa(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new no,this.f.kb=new Ma,this.sd=null}function Jn(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ra(){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 fn(n){return alert("todo:WebPSamplerProcessPlane"),n.T}function Cn(n,m){var B=n.T,ie=m.ba.f.RGBA,Te=ie.eb,Ze=ie.fb+n.ka*ie.A,Ke=Ni[m.ba.S],it=n.y,mt=n.O,Mt=n.f,ur=n.N,Ar=n.ea,$r=n.W,xr=m.cc,un=m.dc,Zr=m.Mc,dr=m.Nc,pr=n.ka,an=n.ka+n.T,mn=n.U,sn=mn+1>>1;for(pr==0?Ke(it,mt,null,null,Mt,ur,Ar,$r,Mt,ur,Ar,$r,Te,Ze,null,null,mn):(Ke(m.ec,m.fc,it,mt,xr,un,Zr,dr,Mt,ur,Ar,$r,Te,Ze-ie.A,Te,Ze,mn),++B);pr+2<an;pr+=2)xr=Mt,un=ur,Zr=Ar,dr=$r,ur+=n.Rc,$r+=n.Rc,Ze+=2*ie.A,Ke(it,(mt+=2*n.fa)-n.fa,it,mt,xr,un,Zr,dr,Mt,ur,Ar,$r,Te,Ze-ie.A,Te,Ze,mn);return mt+=n.fa,n.j+an<n.o?(v(m.ec,m.fc,it,mt,mn),v(m.cc,m.dc,Mt,ur,sn),v(m.Mc,m.Nc,Ar,$r,sn),B--):1&an||Ke(it,mt,null,null,Mt,ur,Ar,$r,Mt,ur,Ar,$r,Te,Ze+ie.A,null,null,mn),B}function Oa(n,m,B){var ie=n.F,Te=[n.J];if(ie!=null){var Ze=n.U,Ke=m.ba.S,it=Ke==Zs||Ke==Vs;m=m.ba.f.RGBA;var mt=[0],Mt=n.ka;mt[0]=n.T,n.Kb&&(Mt==0?--mt[0]:(--Mt,Te[0]-=n.width),n.j+n.ka+n.T==n.o&&(mt[0]=n.o-n.j-Mt));var ur=m.eb;Mt=m.fb+Mt*m.A,n=Va(ie,Te[0],n.width,Ze,mt,ur,Mt+(it?0:3),m.A),u(B==mt),n&&sa(Ke)&&ri(ur,Mt,it,Ze,mt,m.A)}return 0}function aa(n){var m=n.ma,B=m.ba.S,ie=11>B,Te=B==Ws||B==Us||B==Zs||B==o0||B==12||sa(B);if(m.memory=null,m.Ib=null,m.Jb=null,m.Nd=null,!e(m.Oa,n,Te?11:12))return 0;if(Te&&sa(B)&&a(),n.da)alert("todo:use_scaling");else{if(ie){if(m.Ib=fn,n.Kb){if(B=n.U+1>>1,m.memory=b(n.U+2*B),m.memory==null)return 0;m.ec=m.memory,m.fc=0,m.cc=m.ec,m.dc=m.fc+n.U,m.Mc=m.cc,m.Nc=m.dc+B,m.Ib=Cn,a()}}else alert("todo:EmitYUV");Te&&(m.Jb=Oa,ie&&k())}if(ie&&!T0){for(n=0;256>n;++n)vl[n]=89858*(n-128)+Ks>>Gs,xl[n]=-22014*(n-128)+Ks,yl[n]=-45773*(n-128),bl[n]=113618*(n-128)+Ks>>Gs;for(n=Ds;n<d0;++n)m=76283*(n-16)+Ks>>Gs,wl[n-Ds]=cn(m,255),Sl[n-Ds]=cn(m+8>>4,15);T0=1}return 1}function za(n){var m=n.ma,B=n.U,ie=n.T;return u(!(1&n.ka)),0>=B||0>=ie?0:(B=m.Ib(n,m),m.Jb!=null&&m.Jb(n,m,B),m.Dc+=B,1)}function Ta(n){n.ma.memory=null}function Wn(n,m,B,ie){return Gt(n,8)!=47?0:(m[0]=Gt(n,14)+1,B[0]=Gt(n,14)+1,ie[0]=Gt(n,1),Gt(n,3)!=0?0:!n.h)}function so(n,m){if(4>n)return n+1;var B=n-2>>1;return(2+(1&n)<<B)+Gt(m,B)+1}function Rn(n,m){return 120<m?m-120:1<=(B=((B=nl[m-1])>>4)*n+(8-(15&B)))?B:1;var B}function la(n,m,B){var ie=nt(B),Te=n[m+=255&ie].g-8;return 0<Te&&(kt(B,B.u+8),ie=nt(B),m+=n[m].value,m+=ie&(1<<Te)-1),kt(B,B.u+n[m].g),n[m].value}function ca(n,m,B){return B.g+=n.g,B.value+=n.value<<m>>>0,u(8>=B.g),n.g}function xa(n,m,B){var ie=n.xc;return u((m=ie==0?0:n.vc[n.md*(B>>ie)+(m>>ie)])<n.Wb),n.Ya[m]}function Fa(n,m,B,ie){var Te=n.ab,Ze=n.c*m,Ke=n.C;m=Ke+m;var it=B,mt=ie;for(ie=n.Ta,B=n.Ua;0<Te--;){var Mt=n.gc[Te],ur=Ke,Ar=m,$r=it,xr=mt,un=(mt=ie,it=B,Mt.Ea);switch(u(ur<Ar),u(Ar<=Mt.nc),Mt.hc){case 2:kr($r,xr,(Ar-ur)*un,mt,it);break;case 0:var Zr=ur,dr=Ar,pr=mt,an=it,mn=(zn=Mt).Ea;Zr==0&&(hr($r,xr,null,null,1,pr,an),ta($r,xr+1,0,0,mn-1,pr,an+1),xr+=mn,an+=mn,++Zr);for(var sn=1<<zn.b,Vn=sn-1,Tn=Gr(mn,zn.b),fa=zn.K,zn=zn.w+(Zr>>zn.b)*Tn;Zr<dr;){var Ya=fa,to=zn,Ga=1;for(br($r,xr,pr,an-mn,1,pr,an);Ga<mn;){var Ra=(Ga&~Vn)+sn;Ra>mn&&(Ra=mn),(0,jn[Ya[to++]>>8&15])($r,xr+ +Ga,pr,an+Ga-mn,Ra-Ga,pr,an+Ga),Ga=Ra}xr+=mn,an+=mn,++Zr&Vn||(zn+=Tn)}Ar!=Mt.nc&&v(mt,it-un,mt,it+(Ar-ur-1)*un,un);break;case 1:for(un=$r,dr=xr,mn=($r=Mt.Ea)-(an=$r&~(pr=(xr=1<<Mt.b)-1)),Zr=Gr($r,Mt.b),sn=Mt.K,Mt=Mt.w+(ur>>Mt.b)*Zr;ur<Ar;){for(Vn=sn,Tn=Mt,fa=new _r,zn=dr+an,Ya=dr+$r;dr<zn;)ma(Vn[Tn++],fa),Qn(fa,un,dr,xr,mt,it),dr+=xr,it+=xr;dr<Ya&&(ma(Vn[Tn++],fa),Qn(fa,un,dr,mn,mt,it),dr+=mn,it+=mn),++ur&pr||(Mt+=Zr)}break;case 3:if($r==mt&&xr==it&&0<Mt.b){for(dr=mt,$r=un=it+(Ar-ur)*un-(an=(Ar-ur)*Gr(Mt.Ea,Mt.b)),xr=mt,pr=it,Zr=[],an=(mn=an)-1;0<=an;--an)Zr[an]=xr[pr+an];for(an=mn-1;0<=an;--an)dr[$r+an]=Zr[an];Dr(Mt,ur,Ar,mt,un,mt,it)}else Dr(Mt,ur,Ar,$r,xr,mt,it)}it=ie,mt=B}mt!=B&&v(ie,B,it,mt,Ze)}function ao(n,m){var B=n.V,ie=n.Ba+n.c*n.C,Te=m-n.C;if(u(m<=n.l.o),u(16>=Te),0<Te){var Ze=n.l,Ke=n.Ta,it=n.Ua,mt=Ze.width;if(Fa(n,Te,B,ie),Te=it=[it],u((B=n.C)<(ie=m)),u(Ze.v<Ze.va),ie>Ze.o&&(ie=Ze.o),B<Ze.j){var Mt=Ze.j-B;B=Ze.j,Te[0]+=Mt*mt}if(B>=ie?B=0:(Te[0]+=4*Ze.v,Ze.ka=B-Ze.j,Ze.U=Ze.va-Ze.v,Ze.T=ie-B,B=1),B){if(it=it[0],11>(B=n.ca).S){var ur=B.f.RGBA,Ar=(ie=B.S,Te=Ze.U,Ze=Ze.T,Mt=ur.eb,ur.A),$r=Ze;for(ur=ur.fb+n.Ma*ur.A;0<$r--;){var xr=Ke,un=it,Zr=Te,dr=Mt,pr=ur;switch(ie){case ls:qn(xr,un,Zr,dr,pr);break;case Ws:ha(xr,un,Zr,dr,pr);break;case i0:ha(xr,un,Zr,dr,pr),ri(dr,pr,0,Zr,1,0);break;case C0:Ea(xr,un,Zr,dr,pr);break;case Us:Ca(xr,un,Zr,dr,pr,1);break;case s0:Ca(xr,un,Zr,dr,pr,1),ri(dr,pr,0,Zr,1,0);break;case Zs:Ca(xr,un,Zr,dr,pr,0);break;case Vs:Ca(xr,un,Zr,dr,pr,0),ri(dr,pr,1,Zr,1,0);break;case o0:pa(xr,un,Zr,dr,pr);break;case l0:pa(xr,un,Zr,dr,pr),Za(dr,pr,Zr,1,0);break;case O0:$a(xr,un,Zr,dr,pr);break;default:u(0)}it+=mt,ur+=Ar}n.Ma+=Ze}else alert("todo:EmitRescaledRowsYUVA");u(n.Ma<=B.height)}}n.C=m,u(n.C<=n.i)}function Qa(n){var m;if(0<n.ua)return 0;for(m=0;m<n.Wb;++m){var B=n.Ya[m].G,ie=n.Ya[m].H;if(0<B[1][ie[1]+0].g||0<B[2][ie[2]+0].g||0<B[3][ie[3]+0].g)return 0}return 1}function go(n,m,B,ie,Te,Ze){if(n.Z!=0){var Ke=n.qd,it=n.rd;for(u(ws[n.Z]!=null);m<B;++m)ws[n.Z](Ke,it,ie,Te,ie,Te,Ze),Ke=ie,it=Te,Te+=Ze;n.qd=Ke,n.rd=it}}function ho(n,m){var B=n.l.ma,ie=B.Z==0||B.Z==1?n.l.j:n.C;if(ie=n.C<ie?ie:n.C,u(m<=n.l.o),m>ie){var Te=n.l.width,Ze=B.ca,Ke=B.tb+Te*ie,it=n.V,mt=n.Ba+n.c*ie,Mt=n.gc;u(n.ab==1),u(Mt[0].hc==3),An(Mt[0],ie,m,it,mt,Ze,Ke),go(B,ie,m,Ze,Ke,Te)}n.C=n.Ma=m}function ga(n,m,B,ie,Te,Ze,Ke){var it=n.$/ie,mt=n.$%ie,Mt=n.m,ur=n.s,Ar=B+n.$,$r=Ar;Te=B+ie*Te;var xr=B+ie*Ze,un=280+ur.ua,Zr=n.Pb?it:16777216,dr=0<ur.ua?ur.Wa:null,pr=ur.wc,an=Ar<xr?xa(ur,mt,it):null;u(n.C<Ze),u(xr<=Te);var mn=!1;e:for(;;){for(;mn||Ar<xr;){var sn=0;if(it>=Zr){var Vn=Ar-B;u((Zr=n).Pb),Zr.wd=Zr.m,Zr.xd=Vn,0<Zr.s.ua&&Dt(Zr.s.Wa,Zr.s.vb),Zr=it+ol}if(mt&pr||(an=xa(ur,mt,it)),u(an!=null),an.Qb&&(m[Ar]=an.qb,mn=!0),!mn)if(Yt(Mt),an.jc){sn=Mt,Vn=m;var Tn=Ar,fa=an.pd[nt(sn)&C-1];u(an.jc),256>fa.g?(kt(sn,sn.u+fa.g),Vn[Tn]=fa.value,sn=0):(kt(sn,sn.u+fa.g-256),u(256<=fa.value),sn=fa.value),sn==0&&(mn=!0)}else sn=la(an.G[0],an.H[0],Mt);if(Mt.h)break;if(mn||256>sn){if(!mn)if(an.nd)m[Ar]=(an.qb|sn<<8)>>>0;else{if(Yt(Mt),mn=la(an.G[1],an.H[1],Mt),Yt(Mt),Vn=la(an.G[2],an.H[2],Mt),Tn=la(an.G[3],an.H[3],Mt),Mt.h)break;m[Ar]=(Tn<<24|mn<<16|sn<<8|Vn)>>>0}if(mn=!1,++Ar,++mt>=ie&&(mt=0,++it,Ke!=null&&it<=Ze&&!(it%16)&&Ke(n,it),dr!=null))for(;$r<Ar;)sn=m[$r++],dr.X[(506832829*sn&4294967295)>>>dr.Mb]=sn}else if(280>sn){if(sn=so(sn-256,Mt),Vn=la(an.G[4],an.H[4],Mt),Yt(Mt),Vn=Rn(ie,Vn=so(Vn,Mt)),Mt.h)break;if(Ar-B<Vn||Te-Ar<sn)break e;for(Tn=0;Tn<sn;++Tn)m[Ar+Tn]=m[Ar+Tn-Vn];for(Ar+=sn,mt+=sn;mt>=ie;)mt-=ie,++it,Ke!=null&&it<=Ze&&!(it%16)&&Ke(n,it);if(u(Ar<=Te),mt&pr&&(an=xa(ur,mt,it)),dr!=null)for(;$r<Ar;)sn=m[$r++],dr.X[(506832829*sn&4294967295)>>>dr.Mb]=sn}else{if(!(sn<un))break e;for(mn=sn-280,u(dr!=null);$r<Ar;)sn=m[$r++],dr.X[(506832829*sn&4294967295)>>>dr.Mb]=sn;sn=Ar,u(!(mn>>>(Vn=dr).Xa)),m[sn]=Vn.X[mn],mn=!0}mn||u(Mt.h==rt(Mt))}if(n.Pb&&Mt.h&&Ar<Te)u(n.m.h),n.a=5,n.m=n.wd,n.$=n.xd,0<n.s.ua&&Dt(n.s.vb,n.s.Wa);else{if(Mt.h)break e;Ke!=null&&Ke(n,it>Ze?Ze:it),n.a=0,n.$=Ar-B}return 1}return n.a=3,0}function Ia(n){u(n!=null),n.vc=null,n.yc=null,n.Ya=null;var m=n.Wa;m!=null&&(m.X=null),n.vb=null,u(n!=null)}function Sa(){var n=new As;return n==null?null:(n.a=0,n.xb=A0,uo("Predictor","VP8LPredictors"),uo("Predictor","VP8LPredictors_C"),uo("PredictorAdd","VP8LPredictorsAdd"),uo("PredictorAdd","VP8LPredictorsAdd_C"),kr=oa,Qn=Kn,qn=Yr,ha=Ba,pa=ba,$a=La,Ea=ia,Zt.VP8LMapColor32b=hn,Zt.VP8LMapColor8b=Fn,n)}function Ua(n,m,B,ie,Te){var Ze=1,Ke=[n],it=[m],mt=ie.m,Mt=ie.s,ur=null,Ar=0;e:for(;;){if(B)for(;Ze&&Gt(mt,1);){var $r=Ke,xr=it,un=ie,Zr=1,dr=un.m,pr=un.gc[un.ab],an=Gt(dr,2);if(un.Oc&1<<an)Ze=0;else{switch(un.Oc|=1<<an,pr.hc=an,pr.Ea=$r[0],pr.nc=xr[0],pr.K=[null],++un.ab,u(4>=un.ab),an){case 0:case 1:pr.b=Gt(dr,3)+2,Zr=Ua(Gr(pr.Ea,pr.b),Gr(pr.nc,pr.b),0,un,pr.K),pr.K=pr.K[0];break;case 3:var mn,sn=Gt(dr,8)+1,Vn=16<sn?0:4<sn?1:2<sn?2:3;if($r[0]=Gr(pr.Ea,Vn),pr.b=Vn,mn=Zr=Ua(sn,1,0,un,pr.K)){var Tn,fa=sn,zn=pr,Ya=1<<(8>>zn.b),to=b(Ya);if(to==null)mn=0;else{var Ga=zn.K[0],Ra=zn.w;for(to[0]=zn.K[0][0],Tn=1;Tn<1*fa;++Tn)to[Tn]=qr(Ga[Ra+Tn],to[Tn-1]);for(;Tn<4*Ya;++Tn)to[Tn]=0;zn.K[0]=null,zn.K[0]=to,mn=1}}Zr=mn;break;case 2:break;default:u(0)}Ze=Zr}}if(Ke=Ke[0],it=it[0],Ze&&Gt(mt,1)&&!(Ze=1<=(Ar=Gt(mt,4))&&11>=Ar)){ie.a=3;break e}var co;if(co=Ze)t:{var io,Pa,Po,ui=ie,No=Ke,di=it,ro=Ar,xi=B,wi=ui.m,Lo=ui.s,Ho=[null],ni=1,Mi=0,es=al[ro];r:for(;;){if(xi&&Gt(wi,1)){var zo=Gt(wi,3)+2,us=Gr(No,zo),Ps=Gr(di,zo),Ms=us*Ps;if(!Ua(us,Ps,0,ui,Ho))break r;for(Ho=Ho[0],Lo.xc=zo,io=0;io<Ms;++io){var Ss=Ho[io]>>8&65535;Ho[io]=Ss,Ss>=ni&&(ni=Ss+1)}}if(wi.h)break r;for(Pa=0;5>Pa;++Pa){var Co=E0[Pa];!Pa&&0<ro&&(Co+=1<<ro),Mi<Co&&(Mi=Co)}var h0=z(ni*es,ut),z0=ni,D0=z(z0,Pt);if(D0==null)var Xs=null;else u(65536>=z0),Xs=D0;var Rs=b(Mi);if(Xs==null||Rs==null||h0==null){ui.a=1;break r}var Ys=h0;for(io=Po=0;io<ni;++io){var Ki=Xs[io],Ts=Ki.G,Bs=Ki.H,R0=0,qs=1,F0=0;for(Pa=0;5>Pa;++Pa){Co=E0[Pa],Ts[Pa]=Ys,Bs[Pa]=Po,!Pa&&0<ro&&(Co+=1<<ro);a:{var Js,f0=Co,Qs=ui,Fs=Rs,El=Ys,Il=Po,m0=0,Cs=Qs.m,Al=Gt(Cs,1);if(O(Fs,0,0,f0),Al){var $l=Gt(Cs,1)+1,jl=Gt(Cs,1),k0=Gt(Cs,jl==0?1:8);Fs[k0]=1,$l==2&&(Fs[k0=Gt(Cs,8)]=1);var e0=1}else{var H0=b(19),W0=Gt(Cs,4)+4;if(19<W0){Qs.a=3;var t0=0;break a}for(Js=0;Js<W0;++Js)H0[rl[Js]]=Gt(Cs,3);var p0=void 0,ks=void 0,U0=Qs,Pl=H0,r0=f0,Z0=Fs,g0=0,Os=U0.m,V0=8,G0=z(128,ut);n:for(;dt(G0,0,7,Pl,19);){if(Gt(Os,1)){var Nl=2+2*Gt(Os,3);if((p0=2+Gt(Os,Nl))>r0)break n}else p0=r0;for(ks=0;ks<r0&&p0--;){Yt(Os);var K0=G0[0+(127&nt(Os))];kt(Os,Os.u+K0.g);var Ls=K0.value;if(16>Ls)Z0[ks++]=Ls,Ls!=0&&(V0=Ls);else{var Ml=Ls==16,_0=Ls-16,Tl=el[_0],X0=Gt(Os,Q0[_0])+Tl;if(ks+X0>r0)break n;for(var Bl=Ml?V0:0;0<X0--;)Z0[ks++]=Bl}}g0=1;break n}g0||(U0.a=3),e0=g0}(e0=e0&&!Cs.h)&&(m0=dt(El,Il,8,Fs,f0)),e0&&m0!=0?t0=m0:(Qs.a=3,t0=0)}if(t0==0)break r;if(qs&&tl[Pa]==1&&(qs=Ys[Po].g==0),R0+=Ys[Po].g,Po+=t0,3>=Pa){var Hs,v0=Rs[0];for(Hs=1;Hs<Co;++Hs)Rs[Hs]>v0&&(v0=Rs[Hs]);F0+=v0}}if(Ki.nd=qs,Ki.Qb=0,qs&&(Ki.qb=(Ts[3][Bs[3]+0].value<<24|Ts[1][Bs[1]+0].value<<16|Ts[2][Bs[2]+0].value)>>>0,R0==0&&256>Ts[0][Bs[0]+0].value&&(Ki.Qb=1,Ki.qb+=Ts[0][Bs[0]+0].value<<8)),Ki.jc=!Ki.Qb&&6>F0,Ki.jc){var n0,ds=Ki;for(n0=0;n0<C;++n0){var Es=n0,Is=ds.pd[Es],a0=ds.G[0][ds.H[0]+Es];256<=a0.value?(Is.g=a0.g+256,Is.value=a0.value):(Is.g=0,Is.value=0,Es>>=ca(a0,8,Is),Es>>=ca(ds.G[1][ds.H[1]+Es],16,Is),Es>>=ca(ds.G[2][ds.H[2]+Es],0,Is),ca(ds.G[3][ds.H[3]+Es],24,Is))}}}Lo.vc=Ho,Lo.Wb=ni,Lo.Ya=Xs,Lo.yc=h0,co=1;break t}co=0}if(!(Ze=co)){ie.a=3;break e}if(0<Ar){if(Mt.ua=1<<Ar,!gn(Mt.Wa,Ar)){ie.a=1,Ze=0;break e}}else Mt.ua=0;var b0=ie,Y0=Ke,Ll=it,y0=b0.s,x0=y0.xc;if(b0.c=Y0,b0.i=Ll,y0.md=Gr(Y0,x0),y0.wc=x0==0?-1:(1<<x0)-1,B){ie.xb=hl;break e}if((ur=b(Ke*it))==null){ie.a=1,Ze=0;break e}Ze=(Ze=ga(ie,ur,0,Ke,it,it,null))&&!mt.h;break e}return Ze?(Te!=null?Te[0]=ur:(u(ur==null),u(B)),ie.$=0,B||Ia(Mt)):Ia(Mt),Ze}function _a(n,m){var B=n.c*n.i,ie=B+m+16*m;return u(n.c<=m),n.V=b(ie),n.V==null?(n.Ta=null,n.Ua=0,n.a=1,0):(n.Ta=n.V,n.Ua=n.Ba+B+m,1)}function ya(n,m){var B=n.C,ie=m-B,Te=n.V,Ze=n.Ba+n.c*B;for(u(m<=n.l.o);0<ie;){var Ke=16<ie?16:ie,it=n.l.ma,mt=n.l.width,Mt=mt*Ke,ur=it.ca,Ar=it.tb+mt*B,$r=n.Ta,xr=n.Ua;Fa(n,Ke,Te,Ze),fo($r,xr,ur,Ar,Mt),go(it,B,B+Ke,ur,Ar,mt),ie-=Ke,Te+=Ke*n.c,B+=Ke}u(B==m),n.C=n.Ma=m}function ka(){this.ub=this.yd=this.td=this.Rb=0}function Na(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Xa(){this.Fb=this.Bb=this.Cb=0,this.Zb=b(4),this.Lb=b(4)}function lo(){this.Yb=function(){var n=[];return function m(B,ie,Te){for(var Ze=Te[ie],Ke=0;Ke<Ze&&(B.push(Te.length>ie+1?[]:0),!(Te.length<ie+1));Ke++)m(B[Ke],ie+1,Te)}(n,0,[3,11]),n}()}function vo(){this.jb=b(3),this.Wc=V([4,8],lo),this.Xc=V([4,17],lo)}function Ko(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new b(4),this.od=new b(4)}function Wo(){this.ld=this.La=this.dd=this.tc=0}function Aa(){this.Na=this.la=0}function Si(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function oo(){this.ad=b(384),this.Za=0,this.Ob=b(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Mo(){this.uc=this.M=this.Nb=0,this.wa=Array(new Wo),this.Y=0,this.ya=Array(new oo),this.aa=0,this.l=new xo}function mo(){this.y=b(16),this.f=b(8),this.ea=b(8)}function Ti(){this.cb=this.a=0,this.sc="",this.m=new Sr,this.Od=new ka,this.Kc=new Na,this.ed=new Ko,this.Qa=new Xa,this.Ic=this.$c=this.Aa=0,this.D=new Mo,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=z(8,Sr),this.ia=0,this.pb=z(4,Si),this.Pa=new vo,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new mo),this.Hd=0,this.rb=Array(new Aa),this.sb=0,this.wa=Array(new Wo),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 oo),this.L=this.aa=0,this.gd=V([4,2],Wo),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 xo(){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 _o(){var n=new Ti;return n!=null&&(n.a=0,n.sc="OK",n.cb=0,n.Xb=0,zs||(zs=Li)),n}function qa(n,m,B){return n.a==0&&(n.a=m,n.sc=B,n.cb=0),0}function Oo(n,m,B){return 3<=B&&n[m+0]==157&&n[m+1]==1&&n[m+2]==42}function Bi(n,m){if(n==null)return 0;if(n.a=0,n.sc="OK",m==null)return qa(n,2,"null VP8Io passed to VP8GetHeaders()");var B=m.data,ie=m.w,Te=m.ha;if(4>Te)return qa(n,7,"Truncated header.");var Ze=B[ie+0]|B[ie+1]<<8|B[ie+2]<<16,Ke=n.Od;if(Ke.Rb=!(1&Ze),Ke.td=Ze>>1&7,Ke.yd=Ze>>4&1,Ke.ub=Ze>>5,3<Ke.td)return qa(n,3,"Incorrect keyframe parameters.");if(!Ke.yd)return qa(n,4,"Frame not displayable.");ie+=3,Te-=3;var it=n.Kc;if(Ke.Rb){if(7>Te)return qa(n,7,"cannot parse picture header");if(!Oo(B,ie,Te))return qa(n,3,"Bad code word");it.c=16383&(B[ie+4]<<8|B[ie+3]),it.Td=B[ie+4]>>6,it.i=16383&(B[ie+6]<<8|B[ie+5]),it.Ud=B[ie+6]>>6,ie+=7,Te-=7,n.za=it.c+15>>4,n.Ub=it.i+15>>4,m.width=it.c,m.height=it.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,O((Ze=n.Pa).jb,0,255,Ze.jb.length),u((Ze=n.Qa)!=null),Ze.Cb=0,Ze.Bb=0,Ze.Fb=1,O(Ze.Zb,0,0,Ze.Zb.length),O(Ze.Lb,0,0,Ze.Lb)}if(Ke.ub>Te)return qa(n,7,"bad partition length");Ve(Ze=n.m,B,ie,Ke.ub),ie+=Ke.ub,Te-=Ke.ub,Ke.Rb&&(it.Ld=Bt(Ze),it.Kd=Bt(Ze)),it=n.Qa;var mt,Mt=n.Pa;if(u(Ze!=null),u(it!=null),it.Cb=Bt(Ze),it.Cb){if(it.Bb=Bt(Ze),Bt(Ze)){for(it.Fb=Bt(Ze),mt=0;4>mt;++mt)it.Zb[mt]=Bt(Ze)?$t(Ze,7):0;for(mt=0;4>mt;++mt)it.Lb[mt]=Bt(Ze)?$t(Ze,6):0}if(it.Bb)for(mt=0;3>mt;++mt)Mt.jb[mt]=Bt(Ze)?ve(Ze,8):255}else it.Bb=0;if(Ze.Ka)return qa(n,3,"cannot parse segment header");if((it=n.ed).zd=Bt(Ze),it.Tb=ve(Ze,6),it.wb=ve(Ze,3),it.Pc=Bt(Ze),it.Pc&&Bt(Ze)){for(Mt=0;4>Mt;++Mt)Bt(Ze)&&(it.vd[Mt]=$t(Ze,6));for(Mt=0;4>Mt;++Mt)Bt(Ze)&&(it.od[Mt]=$t(Ze,6))}if(n.L=it.Tb==0?0:it.zd?1:2,Ze.Ka)return qa(n,3,"cannot parse filter header");var ur=Te;if(Te=mt=ie,ie=mt+ur,it=ur,n.Xb=(1<<ve(n.m,2))-1,ur<3*(Mt=n.Xb))B=7;else{for(mt+=3*Mt,it-=3*Mt,ur=0;ur<Mt;++ur){var Ar=B[Te+0]|B[Te+1]<<8|B[Te+2]<<16;Ar>it&&(Ar=it),Ve(n.Jc[+ur],B,mt,Ar),mt+=Ar,it-=Ar,Te+=3}Ve(n.Jc[+Mt],B,mt,it),B=mt<ie?0:5}if(B!=0)return qa(n,B,"cannot parse partitions");for(B=ve(mt=n.m,7),Te=Bt(mt)?$t(mt,4):0,ie=Bt(mt)?$t(mt,4):0,it=Bt(mt)?$t(mt,4):0,Mt=Bt(mt)?$t(mt,4):0,mt=Bt(mt)?$t(mt,4):0,ur=n.Qa,Ar=0;4>Ar;++Ar){if(ur.Cb){var $r=ur.Zb[Ar];ur.Fb||($r+=B)}else{if(0<Ar){n.pb[Ar]=n.pb[0];continue}$r=B}var xr=n.pb[Ar];xr.Sc[0]=c0[cn($r+Te,127)],xr.Sc[1]=u0[cn($r+0,127)],xr.Eb[0]=2*c0[cn($r+ie,127)],xr.Eb[1]=101581*u0[cn($r+it,127)]>>16,8>xr.Eb[1]&&(xr.Eb[1]=8),xr.Qc[0]=c0[cn($r+Mt,117)],xr.Qc[1]=u0[cn($r+mt,127)],xr.lc=$r+mt}if(!Ke.Rb)return qa(n,4,"Not a key frame.");for(Bt(Ze),Ke=n.Pa,B=0;4>B;++B){for(Te=0;8>Te;++Te)for(ie=0;3>ie;++ie)for(it=0;11>it;++it)Mt=Qt(Ze,ul[B][Te][ie][it])?ve(Ze,8):ll[B][Te][ie][it],Ke.Wc[B][Te].Yb[ie][it]=Mt;for(Te=0;17>Te;++Te)Ke.Xc[B][Te]=Ke.Wc[B][dl[Te]]}return n.kc=Bt(Ze),n.kc&&(n.Bd=ve(Ze,8)),n.cb=1}function Li(n,m,B,ie,Te,Ze,Ke){var it=m[Te].Yb[B];for(B=0;16>Te;++Te){if(!Qt(n,it[B+0]))return Te;for(;!Qt(n,it[B+1]);)if(it=m[++Te].Yb[0],B=0,Te==16)return 16;var mt=m[Te+1].Yb;if(Qt(n,it[B+2])){var Mt=n,ur=0;if(Qt(Mt,($r=it)[(Ar=B)+3]))if(Qt(Mt,$r[Ar+6])){for(it=0,Ar=2*(ur=Qt(Mt,$r[Ar+8]))+($r=Qt(Mt,$r[Ar+9+ur])),ur=0,$r=il[Ar];$r[it];++it)ur+=ur+Qt(Mt,$r[it]);ur+=3+(8<<Ar)}else Qt(Mt,$r[Ar+7])?(ur=7+2*Qt(Mt,165),ur+=Qt(Mt,145)):ur=5+Qt(Mt,159);else ur=Qt(Mt,$r[Ar+4])?3+Qt(Mt,$r[Ar+5]):2;it=mt[2]}else ur=1,it=mt[1];mt=Ke+sl[Te],0>(Mt=n).b&&Lt(Mt);var Ar,$r=Mt.b,xr=(Ar=Mt.Ca>>1)-(Mt.I>>$r)>>31;--Mt.b,Mt.Ca+=xr,Mt.Ca|=1,Mt.I-=(Ar+1&xr)<<$r,Ze[mt]=((ur^xr)-xr)*ie[(0<Te)+0]}return 16}function Xo(n){var m=n.rb[n.sb-1];m.la=0,m.Na=0,O(n.zc,0,0,n.zc.length),n.ja=0}function Ci(n,m){if(n==null)return 0;if(m==null)return qa(n,2,"NULL VP8Io parameter in VP8Decode().");if(!n.cb&&!Bi(n,m))return 0;if(u(n.cb),m.ac==null||m.ac(m)){m.ob&&(n.L=0);var B=_s[n.L];if(n.L==2?(n.yb=0,n.zb=0):(n.yb=m.v-B>>4,n.zb=m.j-B>>4,0>n.yb&&(n.yb=0),0>n.zb&&(n.zb=0)),n.Va=m.o+15+B>>4,n.Hb=m.va+15+B>>4,n.Hb>n.za&&(n.Hb=n.za),n.Va>n.Ub&&(n.Va=n.Ub),0<n.L){var ie=n.ed;for(B=0;4>B;++B){var Te;if(n.Qa.Cb){var Ze=n.Qa.Lb[B];n.Qa.Fb||(Ze+=ie.Tb)}else Ze=ie.Tb;for(Te=0;1>=Te;++Te){var Ke=n.gd[B][Te],it=Ze;if(ie.Pc&&(it+=ie.vd[0],Te&&(it+=ie.od[0])),0<(it=0>it?0:63<it?63:it)){var mt=it;0<ie.wb&&(mt=4<ie.wb?mt>>2:mt>>1)>9-ie.wb&&(mt=9-ie.wb),1>mt&&(mt=1),Ke.dd=mt,Ke.tc=2*it+mt,Ke.ld=40<=it?2:15<=it?1:0}else Ke.tc=0;Ke.La=Te}}}B=0}else qa(n,6,"Frame setup failed"),B=n.a;if(B=B==0){if(B){n.$c=0,0<n.Aa||(n.Ic=Ol);e:{B=n.Ic,ie=4*(mt=n.za);var Mt=32*mt,ur=mt+1,Ar=0<n.L?mt*(0<n.Aa?2:1):0,$r=(n.Aa==2?2:1)*mt;if((Ke=ie+832+(Te=3*(16*B+_s[n.L])/2*Mt)+(Ze=n.Fa!=null&&0<n.Fa.length?n.Kc.c*n.Kc.i:0))!=Ke)B=0;else{if(Ke>n.Vb){if(n.Vb=0,n.Ec=b(Ke),n.Fc=0,n.Ec==null){B=qa(n,1,"no memory during frame initialization.");break e}n.Vb=Ke}Ke=n.Ec,it=n.Fc,n.Ac=Ke,n.Bc=it,it+=ie,n.Gd=z(Mt,mo),n.Hd=0,n.rb=z(ur+1,Aa),n.sb=1,n.wa=Ar?z(Ar,Wo):null,n.Y=0,n.D.Nb=0,n.D.wa=n.wa,n.D.Y=n.Y,0<n.Aa&&(n.D.Y+=mt),u(!0),n.oc=Ke,n.pc=it,it+=832,n.ya=z($r,oo),n.aa=0,n.D.ya=n.ya,n.D.aa=n.aa,n.Aa==2&&(n.D.aa+=mt),n.R=16*mt,n.B=8*mt,mt=(Mt=_s[n.L])*n.R,Mt=Mt/2*n.B,n.sa=Ke,n.ta=it+mt,n.qa=n.sa,n.ra=n.ta+16*B*n.R+Mt,n.Ha=n.qa,n.Ia=n.ra+8*B*n.B+Mt,n.$c=0,it+=Te,n.mb=Ze?Ke:null,n.nb=Ze?it:null,u(it+Ze<=n.Fc+n.Vb),Xo(n),O(n.Ac,n.Bc,0,ie),B=1}}if(B){if(m.ka=0,m.y=n.sa,m.O=n.ta,m.f=n.qa,m.N=n.ra,m.ea=n.Ha,m.Vd=n.Ia,m.fa=n.R,m.Rc=n.B,m.F=null,m.J=0,!ys){for(B=-255;255>=B;++B)yo[255+B]=0>B?-B:B;for(B=-1020;1020>=B;++B)Vi[1020+B]=-128>B?-128:127<B?127:B;for(B=-112;112>=B;++B)$s[112+B]=-16>B?-16:15<B?15:B;for(B=-255;510>=B;++B)bs[255+B]=0>B?0:255<B?255:B;ys=1}Ka=eo,ja=Ye,bo=wo,Da=Io,po=Ao,Ha=Ja,$o=vt,Vo=gi,ii=vs,si=Ui,li=Zo,Pi=vi,Go=qi,ti=is,jo=Yi,ci=Uo,ss=Qo,Bo=gs,Gi[0]=Jo,Gi[1]=Do,Gi[2]=ms,Gi[3]=rs,Gi[4]=ns,Gi[5]=fi,Gi[6]=Oi,Gi[7]=Ri,Gi[8]=mi,Gi[9]=as,xs[0]=ts,xs[1]=Ro,xs[2]=To,xs[3]=qo,xs[4]=So,xs[5]=fs,xs[6]=Di,cs[0]=pi,cs[1]=hs,cs[2]=Fi,cs[3]=_i,cs[4]=ai,cs[5]=ki,cs[6]=Hi,B=1}else B=0}B&&(B=function(xr,un){for(xr.M=0;xr.M<xr.Va;++xr.M){var Zr,dr=xr.Jc[xr.M&xr.Xb],pr=xr.m,an=xr;for(Zr=0;Zr<an.za;++Zr){var mn=pr,sn=an,Vn=sn.Ac,Tn=sn.Bc+4*Zr,fa=sn.zc,zn=sn.ya[sn.aa+Zr];if(sn.Qa.Bb?zn.$b=Qt(mn,sn.Pa.jb[0])?2+Qt(mn,sn.Pa.jb[2]):Qt(mn,sn.Pa.jb[1]):zn.$b=0,sn.kc&&(zn.Ad=Qt(mn,sn.Bd)),zn.Za=!Qt(mn,145)+0,zn.Za){var Ya=zn.Ob,to=0;for(sn=0;4>sn;++sn){var Ga,Ra=fa[0+sn];for(Ga=0;4>Ga;++Ga){Ra=cl[Vn[Tn+Ga]][Ra];for(var co=I0[Qt(mn,Ra[0])];0<co;)co=I0[2*co+Qt(mn,Ra[co])];Ra=-co,Vn[Tn+Ga]=Ra}v(Ya,to,Vn,Tn,4),to+=4,fa[0+sn]=Ra}}else Ra=Qt(mn,156)?Qt(mn,128)?1:3:Qt(mn,163)?2:0,zn.Ob[0]=Ra,O(Vn,Tn,Ra,4),O(fa,0,Ra,4);zn.Dd=Qt(mn,142)?Qt(mn,114)?Qt(mn,183)?1:3:2:0}if(an.m.Ka)return qa(xr,7,"Premature end-of-partition0 encountered.");for(;xr.ja<xr.za;++xr.ja){if(an=dr,mn=(pr=xr).rb[pr.sb-1],Vn=pr.rb[pr.sb+pr.ja],Zr=pr.ya[pr.aa+pr.ja],Tn=pr.kc?Zr.Ad:0)mn.la=Vn.la=0,Zr.Za||(mn.Na=Vn.Na=0),Zr.Hc=0,Zr.Gc=0,Zr.ia=0;else{var io,Pa;if(mn=Vn,Vn=an,Tn=pr.Pa.Xc,fa=pr.ya[pr.aa+pr.ja],zn=pr.pb[fa.$b],sn=fa.ad,Ya=0,to=pr.rb[pr.sb-1],Ra=Ga=0,O(sn,Ya,0,384),fa.Za)var Po=0,ui=Tn[3];else{co=b(16);var No=mn.Na+to.Na;if(No=zs(Vn,Tn[1],No,zn.Eb,0,co,0),mn.Na=to.Na=(0<No)+0,1<No)Ka(co,0,sn,Ya);else{var di=co[0]+3>>3;for(co=0;256>co;co+=16)sn[Ya+co]=di}Po=1,ui=Tn[0]}var ro=15&mn.la,xi=15&to.la;for(co=0;4>co;++co){var wi=1&xi;for(di=Pa=0;4>di;++di)ro=ro>>1|(wi=(No=zs(Vn,ui,No=wi+(1&ro),zn.Sc,Po,sn,Ya))>Po)<<7,Pa=Pa<<2|(3<No?3:1<No?2:sn[Ya+0]!=0),Ya+=16;ro>>=4,xi=xi>>1|wi<<7,Ga=(Ga<<8|Pa)>>>0}for(ui=ro,Po=xi>>4,io=0;4>io;io+=2){for(Pa=0,ro=mn.la>>4+io,xi=to.la>>4+io,co=0;2>co;++co){for(wi=1&xi,di=0;2>di;++di)No=wi+(1&ro),ro=ro>>1|(wi=0<(No=zs(Vn,Tn[2],No,zn.Qc,0,sn,Ya)))<<3,Pa=Pa<<2|(3<No?3:1<No?2:sn[Ya+0]!=0),Ya+=16;ro>>=2,xi=xi>>1|wi<<5}Ra|=Pa<<4*io,ui|=ro<<4<<io,Po|=(240&xi)<<io}mn.la=ui,to.la=Po,fa.Hc=Ga,fa.Gc=Ra,fa.ia=43690&Ra?0:zn.ia,Tn=!(Ga|Ra)}if(0<pr.L&&(pr.wa[pr.Y+pr.ja]=pr.gd[Zr.$b][Zr.Za],pr.wa[pr.Y+pr.ja].La|=!Tn),an.Ka)return qa(xr,7,"Premature end-of-file encountered.")}if(Xo(xr),pr=un,an=1,Zr=(dr=xr).D,mn=0<dr.L&&dr.M>=dr.zb&&dr.M<=dr.Va,dr.Aa==0)e:{if(Zr.M=dr.M,Zr.uc=mn,va(dr,Zr),an=1,Zr=(Pa=dr.D).Nb,mn=(Ra=_s[dr.L])*dr.R,Vn=Ra/2*dr.B,co=16*Zr*dr.R,di=8*Zr*dr.B,Tn=dr.sa,fa=dr.ta-mn+co,zn=dr.qa,sn=dr.ra-Vn+di,Ya=dr.Ha,to=dr.Ia-Vn+di,xi=(ro=Pa.M)==0,Ga=ro>=dr.Va-1,dr.Aa==2&&va(dr,Pa),Pa.uc)for(wi=(No=dr).D.M,u(No.D.uc),Pa=No.yb;Pa<No.Hb;++Pa){Po=Pa,ui=wi;var Lo=(Ho=(Co=No).D).Nb;io=Co.R;var Ho=Ho.wa[Ho.Y+Po],ni=Co.sa,Mi=Co.ta+16*Lo*io+16*Po,es=Ho.dd,zo=Ho.tc;if(zo!=0)if(u(3<=zo),Co.L==1)0<Po&&ci(ni,Mi,io,zo+4),Ho.La&&Bo(ni,Mi,io,zo),0<ui&&jo(ni,Mi,io,zo+4),Ho.La&&ss(ni,Mi,io,zo);else{var us=Co.B,Ps=Co.qa,Ms=Co.ra+8*Lo*us+8*Po,Ss=Co.Ha,Co=Co.Ia+8*Lo*us+8*Po;Lo=Ho.ld,0<Po&&(Vo(ni,Mi,io,zo+4,es,Lo),si(Ps,Ms,Ss,Co,us,zo+4,es,Lo)),Ho.La&&(Pi(ni,Mi,io,zo,es,Lo),ti(Ps,Ms,Ss,Co,us,zo,es,Lo)),0<ui&&($o(ni,Mi,io,zo+4,es,Lo),ii(Ps,Ms,Ss,Co,us,zo+4,es,Lo)),Ho.La&&(li(ni,Mi,io,zo,es,Lo),Go(Ps,Ms,Ss,Co,us,zo,es,Lo))}}if(dr.ia&&alert("todo:DitherRow"),pr.put!=null){if(Pa=16*ro,ro=16*(ro+1),xi?(pr.y=dr.sa,pr.O=dr.ta+co,pr.f=dr.qa,pr.N=dr.ra+di,pr.ea=dr.Ha,pr.W=dr.Ia+di):(Pa-=Ra,pr.y=Tn,pr.O=fa,pr.f=zn,pr.N=sn,pr.ea=Ya,pr.W=to),Ga||(ro-=Ra),ro>pr.o&&(ro=pr.o),pr.F=null,pr.J=null,dr.Fa!=null&&0<dr.Fa.length&&Pa<ro&&(pr.J=ji(dr,pr,Pa,ro-Pa),pr.F=dr.mb,pr.F==null&&pr.F.length==0)){an=qa(dr,3,"Could not decode alpha data.");break e}Pa<pr.j&&(Ra=pr.j-Pa,Pa=pr.j,u(!(1&Ra)),pr.O+=dr.R*Ra,pr.N+=dr.B*(Ra>>1),pr.W+=dr.B*(Ra>>1),pr.F!=null&&(pr.J+=pr.width*Ra)),Pa<ro&&(pr.O+=pr.v,pr.N+=pr.v>>1,pr.W+=pr.v>>1,pr.F!=null&&(pr.J+=pr.v),pr.ka=Pa-pr.j,pr.U=pr.va-pr.v,pr.T=ro-Pa,an=pr.put(pr))}Zr+1!=dr.Ic||Ga||(v(dr.sa,dr.ta-mn,Tn,fa+16*dr.R,mn),v(dr.qa,dr.ra-Vn,zn,sn+8*dr.B,Vn),v(dr.Ha,dr.Ia-Vn,Ya,to+8*dr.B,Vn))}if(!an)return qa(xr,6,"Output aborted.")}return 1}(n,m)),m.bc!=null&&m.bc(m),B&=1}return B?(n.cb=0,B):0}function Eo(n,m,B,ie,Te){Te=n[m+B+32*ie]+(Te>>3),n[m+B+32*ie]=-256&Te?0>Te?0:255:Te}function Yo(n,m,B,ie,Te,Ze){Eo(n,m,0,B,ie+Te),Eo(n,m,1,B,ie+Ze),Eo(n,m,2,B,ie-Ze),Eo(n,m,3,B,ie-Te)}function na(n){return(20091*n>>16)+n}function wa(n,m,B,ie){var Te,Ze=0,Ke=b(16);for(Te=0;4>Te;++Te){var it=n[m+0]+n[m+8],mt=n[m+0]-n[m+8],Mt=(35468*n[m+4]>>16)-na(n[m+12]),ur=na(n[m+4])+(35468*n[m+12]>>16);Ke[Ze+0]=it+ur,Ke[Ze+1]=mt+Mt,Ke[Ze+2]=mt-Mt,Ke[Ze+3]=it-ur,Ze+=4,m++}for(Te=Ze=0;4>Te;++Te)it=(n=Ke[Ze+0]+4)+Ke[Ze+8],mt=n-Ke[Ze+8],Mt=(35468*Ke[Ze+4]>>16)-na(Ke[Ze+12]),Eo(B,ie,0,0,it+(ur=na(Ke[Ze+4])+(35468*Ke[Ze+12]>>16))),Eo(B,ie,1,0,mt+Mt),Eo(B,ie,2,0,mt-Mt),Eo(B,ie,3,0,it-ur),Ze++,ie+=32}function Ja(n,m,B,ie){var Te=n[m+0]+4,Ze=35468*n[m+4]>>16,Ke=na(n[m+4]),it=35468*n[m+1]>>16;Yo(B,ie,0,Te+Ke,n=na(n[m+1]),it),Yo(B,ie,1,Te+Ze,n,it),Yo(B,ie,2,Te-Ze,n,it),Yo(B,ie,3,Te-Ke,n,it)}function Ye(n,m,B,ie,Te){wa(n,m,B,ie),Te&&wa(n,m+16,B,ie+4)}function wo(n,m,B,ie){ja(n,m+0,B,ie,1),ja(n,m+32,B,ie+128,1)}function Io(n,m,B,ie){var Te;for(n=n[m+0]+4,Te=0;4>Te;++Te)for(m=0;4>m;++m)Eo(B,ie,m,Te,n)}function Ao(n,m,B,ie){n[m+0]&&Da(n,m+0,B,ie),n[m+16]&&Da(n,m+16,B,ie+4),n[m+32]&&Da(n,m+32,B,ie+128),n[m+48]&&Da(n,m+48,B,ie+128+4)}function eo(n,m,B,ie){var Te,Ze=b(16);for(Te=0;4>Te;++Te){var Ke=n[m+0+Te]+n[m+12+Te],it=n[m+4+Te]+n[m+8+Te],mt=n[m+4+Te]-n[m+8+Te],Mt=n[m+0+Te]-n[m+12+Te];Ze[0+Te]=Ke+it,Ze[8+Te]=Ke-it,Ze[4+Te]=Mt+mt,Ze[12+Te]=Mt-mt}for(Te=0;4>Te;++Te)Ke=(n=Ze[0+4*Te]+3)+Ze[3+4*Te],it=Ze[1+4*Te]+Ze[2+4*Te],mt=Ze[1+4*Te]-Ze[2+4*Te],Mt=n-Ze[3+4*Te],B[ie+0]=Ke+it>>3,B[ie+16]=Mt+mt>>3,B[ie+32]=Ke-it>>3,B[ie+48]=Mt-mt>>3,ie+=64}function hi(n,m,B){var ie,Te=m-32,Ze=Fo,Ke=255-n[Te-1];for(ie=0;ie<B;++ie){var it,mt=Ze,Mt=Ke+n[m-1];for(it=0;it<B;++it)n[m+it]=mt[Mt+n[Te+it]];m+=32}}function Do(n,m){hi(n,m,4)}function hs(n,m){hi(n,m,8)}function Ro(n,m){hi(n,m,16)}function To(n,m){var B;for(B=0;16>B;++B)v(n,m+32*B,n,m-32,16)}function qo(n,m){var B;for(B=16;0<B;--B)O(n,m,n[m-1],16),m+=32}function zi(n,m,B){var ie;for(ie=0;16>ie;++ie)O(m,B+32*ie,n,16)}function ts(n,m){var B,ie=16;for(B=0;16>B;++B)ie+=n[m-1+32*B]+n[m+B-32];zi(ie>>5,n,m)}function So(n,m){var B,ie=8;for(B=0;16>B;++B)ie+=n[m-1+32*B];zi(ie>>4,n,m)}function fs(n,m){var B,ie=8;for(B=0;16>B;++B)ie+=n[m+B-32];zi(ie>>4,n,m)}function Di(n,m){zi(128,n,m)}function ua(n,m,B){return n+2*m+B+2>>2}function ms(n,m){var B,ie=m-32;for(ie=new Uint8Array([ua(n[ie-1],n[ie+0],n[ie+1]),ua(n[ie+0],n[ie+1],n[ie+2]),ua(n[ie+1],n[ie+2],n[ie+3]),ua(n[ie+2],n[ie+3],n[ie+4])]),B=0;4>B;++B)v(n,m+32*B,ie,0,ie.length)}function rs(n,m){var B=n[m-1],ie=n[m-1+32],Te=n[m-1+64],Ze=n[m-1+96];Ur(n,m+0,16843009*ua(n[m-1-32],B,ie)),Ur(n,m+32,16843009*ua(B,ie,Te)),Ur(n,m+64,16843009*ua(ie,Te,Ze)),Ur(n,m+96,16843009*ua(Te,Ze,Ze))}function Jo(n,m){var B,ie=4;for(B=0;4>B;++B)ie+=n[m+B-32]+n[m-1+32*B];for(ie>>=3,B=0;4>B;++B)O(n,m+32*B,ie,4)}function ns(n,m){var B=n[m-1+0],ie=n[m-1+32],Te=n[m-1+64],Ze=n[m-1-32],Ke=n[m+0-32],it=n[m+1-32],mt=n[m+2-32],Mt=n[m+3-32];n[m+0+96]=ua(ie,Te,n[m-1+96]),n[m+1+96]=n[m+0+64]=ua(B,ie,Te),n[m+2+96]=n[m+1+64]=n[m+0+32]=ua(Ze,B,ie),n[m+3+96]=n[m+2+64]=n[m+1+32]=n[m+0+0]=ua(Ke,Ze,B),n[m+3+64]=n[m+2+32]=n[m+1+0]=ua(it,Ke,Ze),n[m+3+32]=n[m+2+0]=ua(mt,it,Ke),n[m+3+0]=ua(Mt,mt,it)}function Oi(n,m){var B=n[m+1-32],ie=n[m+2-32],Te=n[m+3-32],Ze=n[m+4-32],Ke=n[m+5-32],it=n[m+6-32],mt=n[m+7-32];n[m+0+0]=ua(n[m+0-32],B,ie),n[m+1+0]=n[m+0+32]=ua(B,ie,Te),n[m+2+0]=n[m+1+32]=n[m+0+64]=ua(ie,Te,Ze),n[m+3+0]=n[m+2+32]=n[m+1+64]=n[m+0+96]=ua(Te,Ze,Ke),n[m+3+32]=n[m+2+64]=n[m+1+96]=ua(Ze,Ke,it),n[m+3+64]=n[m+2+96]=ua(Ke,it,mt),n[m+3+96]=ua(it,mt,mt)}function fi(n,m){var B=n[m-1+0],ie=n[m-1+32],Te=n[m-1+64],Ze=n[m-1-32],Ke=n[m+0-32],it=n[m+1-32],mt=n[m+2-32],Mt=n[m+3-32];n[m+0+0]=n[m+1+64]=Ze+Ke+1>>1,n[m+1+0]=n[m+2+64]=Ke+it+1>>1,n[m+2+0]=n[m+3+64]=it+mt+1>>1,n[m+3+0]=mt+Mt+1>>1,n[m+0+96]=ua(Te,ie,B),n[m+0+64]=ua(ie,B,Ze),n[m+0+32]=n[m+1+96]=ua(B,Ze,Ke),n[m+1+32]=n[m+2+96]=ua(Ze,Ke,it),n[m+2+32]=n[m+3+96]=ua(Ke,it,mt),n[m+3+32]=ua(it,mt,Mt)}function Ri(n,m){var B=n[m+0-32],ie=n[m+1-32],Te=n[m+2-32],Ze=n[m+3-32],Ke=n[m+4-32],it=n[m+5-32],mt=n[m+6-32],Mt=n[m+7-32];n[m+0+0]=B+ie+1>>1,n[m+1+0]=n[m+0+64]=ie+Te+1>>1,n[m+2+0]=n[m+1+64]=Te+Ze+1>>1,n[m+3+0]=n[m+2+64]=Ze+Ke+1>>1,n[m+0+32]=ua(B,ie,Te),n[m+1+32]=n[m+0+96]=ua(ie,Te,Ze),n[m+2+32]=n[m+1+96]=ua(Te,Ze,Ke),n[m+3+32]=n[m+2+96]=ua(Ze,Ke,it),n[m+3+64]=ua(Ke,it,mt),n[m+3+96]=ua(it,mt,Mt)}function as(n,m){var B=n[m-1+0],ie=n[m-1+32],Te=n[m-1+64],Ze=n[m-1+96];n[m+0+0]=B+ie+1>>1,n[m+2+0]=n[m+0+32]=ie+Te+1>>1,n[m+2+32]=n[m+0+64]=Te+Ze+1>>1,n[m+1+0]=ua(B,ie,Te),n[m+3+0]=n[m+1+32]=ua(ie,Te,Ze),n[m+3+32]=n[m+1+64]=ua(Te,Ze,Ze),n[m+3+64]=n[m+2+64]=n[m+0+96]=n[m+1+96]=n[m+2+96]=n[m+3+96]=Ze}function mi(n,m){var B=n[m-1+0],ie=n[m-1+32],Te=n[m-1+64],Ze=n[m-1+96],Ke=n[m-1-32],it=n[m+0-32],mt=n[m+1-32],Mt=n[m+2-32];n[m+0+0]=n[m+2+32]=B+Ke+1>>1,n[m+0+32]=n[m+2+64]=ie+B+1>>1,n[m+0+64]=n[m+2+96]=Te+ie+1>>1,n[m+0+96]=Ze+Te+1>>1,n[m+3+0]=ua(it,mt,Mt),n[m+2+0]=ua(Ke,it,mt),n[m+1+0]=n[m+3+32]=ua(B,Ke,it),n[m+1+32]=n[m+3+64]=ua(ie,B,Ke),n[m+1+64]=n[m+3+96]=ua(Te,ie,B),n[m+1+96]=ua(Ze,Te,ie)}function Fi(n,m){var B;for(B=0;8>B;++B)v(n,m+32*B,n,m-32,8)}function _i(n,m){var B;for(B=0;8>B;++B)O(n,m,n[m-1],8),m+=32}function Ei(n,m,B){var ie;for(ie=0;8>ie;++ie)O(m,B+32*ie,n,8)}function pi(n,m){var B,ie=8;for(B=0;8>B;++B)ie+=n[m+B-32]+n[m-1+32*B];Ei(ie>>4,n,m)}function ki(n,m){var B,ie=4;for(B=0;8>B;++B)ie+=n[m+B-32];Ei(ie>>3,n,m)}function ai(n,m){var B,ie=4;for(B=0;8>B;++B)ie+=n[m-1+32*B];Ei(ie>>3,n,m)}function Hi(n,m){Ei(128,n,m)}function Xi(n,m,B){var ie=n[m-B],Te=n[m+0],Ze=3*(Te-ie)+Ns[1020+n[m-2*B]-n[m+B]],Ke=js[112+(Ze+4>>3)];n[m-B]=Fo[255+ie+js[112+(Ze+3>>3)]],n[m+0]=Fo[255+Te-Ke]}function os(n,m,B,ie){var Te=n[m+0],Ze=n[m+B];return ko[255+n[m-2*B]-n[m-B]]>ie||ko[255+Ze-Te]>ie}function ps(n,m,B,ie){return 4*ko[255+n[m-B]-n[m+0]]+ko[255+n[m-2*B]-n[m+B]]<=ie}function Wi(n,m,B,ie,Te){var Ze=n[m-3*B],Ke=n[m-2*B],it=n[m-B],mt=n[m+0],Mt=n[m+B],ur=n[m+2*B],Ar=n[m+3*B];return 4*ko[255+it-mt]+ko[255+Ke-Mt]>ie?0:ko[255+n[m-4*B]-Ze]<=Te&&ko[255+Ze-Ke]<=Te&&ko[255+Ke-it]<=Te&&ko[255+Ar-ur]<=Te&&ko[255+ur-Mt]<=Te&&ko[255+Mt-mt]<=Te}function Yi(n,m,B,ie){var Te=2*ie+1;for(ie=0;16>ie;++ie)ps(n,m+ie,B,Te)&&Xi(n,m+ie,B)}function Uo(n,m,B,ie){var Te=2*ie+1;for(ie=0;16>ie;++ie)ps(n,m+ie*B,1,Te)&&Xi(n,m+ie*B,1)}function Qo(n,m,B,ie){var Te;for(Te=3;0<Te;--Te)Yi(n,m+=4*B,B,ie)}function gs(n,m,B,ie){var Te;for(Te=3;0<Te;--Te)Uo(n,m+=4,B,ie)}function oi(n,m,B,ie,Te,Ze,Ke,it){for(Ze=2*Ze+1;0<Te--;){if(Wi(n,m,B,Ze,Ke))if(os(n,m,B,it))Xi(n,m,B);else{var mt=n,Mt=m,ur=B,Ar=mt[Mt-2*ur],$r=mt[Mt-ur],xr=mt[Mt+0],un=mt[Mt+ur],Zr=mt[Mt+2*ur],dr=27*(an=Ns[1020+3*(xr-$r)+Ns[1020+Ar-un]])+63>>7,pr=18*an+63>>7,an=9*an+63>>7;mt[Mt-3*ur]=Fo[255+mt[Mt-3*ur]+an],mt[Mt-2*ur]=Fo[255+Ar+pr],mt[Mt-ur]=Fo[255+$r+dr],mt[Mt+0]=Fo[255+xr-dr],mt[Mt+ur]=Fo[255+un-pr],mt[Mt+2*ur]=Fo[255+Zr-an]}m+=ie}}function ei(n,m,B,ie,Te,Ze,Ke,it){for(Ze=2*Ze+1;0<Te--;){if(Wi(n,m,B,Ze,Ke))if(os(n,m,B,it))Xi(n,m,B);else{var mt=n,Mt=m,ur=B,Ar=mt[Mt-ur],$r=mt[Mt+0],xr=mt[Mt+ur],un=js[112+((Zr=3*($r-Ar))+4>>3)],Zr=js[112+(Zr+3>>3)],dr=un+1>>1;mt[Mt-2*ur]=Fo[255+mt[Mt-2*ur]+dr],mt[Mt-ur]=Fo[255+Ar+Zr],mt[Mt+0]=Fo[255+$r-un],mt[Mt+ur]=Fo[255+xr-dr]}m+=ie}}function vt(n,m,B,ie,Te,Ze){oi(n,m,B,1,16,ie,Te,Ze)}function gi(n,m,B,ie,Te,Ze){oi(n,m,1,B,16,ie,Te,Ze)}function Zo(n,m,B,ie,Te,Ze){var Ke;for(Ke=3;0<Ke;--Ke)ei(n,m+=4*B,B,1,16,ie,Te,Ze)}function vi(n,m,B,ie,Te,Ze){var Ke;for(Ke=3;0<Ke;--Ke)ei(n,m+=4,1,B,16,ie,Te,Ze)}function vs(n,m,B,ie,Te,Ze,Ke,it){oi(n,m,Te,1,8,Ze,Ke,it),oi(B,ie,Te,1,8,Ze,Ke,it)}function Ui(n,m,B,ie,Te,Ze,Ke,it){oi(n,m,1,Te,8,Ze,Ke,it),oi(B,ie,1,Te,8,Ze,Ke,it)}function qi(n,m,B,ie,Te,Ze,Ke,it){ei(n,m+4*Te,Te,1,8,Ze,Ke,it),ei(B,ie+4*Te,Te,1,8,Ze,Ke,it)}function is(n,m,B,ie,Te,Ze,Ke,it){ei(n,m+4,1,Te,8,Ze,Ke,it),ei(B,ie+4,1,Te,8,Ze,Ke,it)}function Ii(){this.ba=new Wa,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new ra,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Ji(){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 Qi(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Ai(){this.ua=0,this.Wa=new Et,this.vb=new Et,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new Pt,this.yc=new ut}function As(){this.xb=this.a=0,this.l=new xo,this.ca=new Wa,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new be,this.Pb=0,this.wd=new be,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Ai,this.ab=0,this.gc=z(4,Qi),this.Oc=0}function $i(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new xo,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function bi(n,m,B,ie,Te,Ze,Ke){for(n=n==null?0:n[m+0],m=0;m<Ke;++m)Te[Ze+m]=n+B[ie+m]&255,n=Te[Ze+m]}function Zi(n,m,B,ie,Te,Ze,Ke){var it;if(n==null)bi(null,null,B,ie,Te,Ze,Ke);else for(it=0;it<Ke;++it)Te[Ze+it]=n[m+it]+B[ie+it]&255}function yi(n,m,B,ie,Te,Ze,Ke){if(n==null)bi(null,null,B,ie,Te,Ze,Ke);else{var it,mt=n[m+0],Mt=mt,ur=mt;for(it=0;it<Ke;++it)Mt=ur+(mt=n[m+it])-Mt,ur=B[ie+it]+(-256&Mt?0>Mt?0:255:Mt)&255,Mt=mt,Te[Ze+it]=ur}}function ji(n,m,B,ie){var Te=m.width,Ze=m.o;if(u(n!=null&&m!=null),0>B||0>=ie||B+ie>Ze)return null;if(!n.Cc){if(n.ga==null){var Ke;if(n.ga=new $i,(Ke=n.ga==null)||(Ke=m.width*m.o,u(n.Gb.length==0),n.Gb=b(Ke),n.Uc=0,n.Gb==null?Ke=0:(n.mb=n.Gb,n.nb=n.Uc,n.rc=null,Ke=1),Ke=!Ke),!Ke){Ke=n.ga;var it=n.Fa,mt=n.P,Mt=n.qc,ur=n.mb,Ar=n.nb,$r=mt+1,xr=Mt-1,un=Ke.l;if(u(it!=null&&ur!=null&&m!=null),ws[0]=null,ws[1]=bi,ws[2]=Zi,ws[3]=yi,Ke.ca=ur,Ke.tb=Ar,Ke.c=m.width,Ke.i=m.height,u(0<Ke.c&&0<Ke.i),1>=Mt)m=0;else if(Ke.$a=it[mt+0]>>0&3,Ke.Z=it[mt+0]>>2&3,Ke.Lc=it[mt+0]>>4&3,mt=it[mt+0]>>6&3,0>Ke.$a||1<Ke.$a||4<=Ke.Z||1<Ke.Lc||mt)m=0;else if(un.put=za,un.ac=aa,un.bc=Ta,un.ma=Ke,un.width=m.width,un.height=m.height,un.Da=m.Da,un.v=m.v,un.va=m.va,un.j=m.j,un.o=m.o,Ke.$a)e:{u(Ke.$a==1),m=Sa();t:for(;;){if(m==null){m=0;break e}if(u(Ke!=null),Ke.mc=m,m.c=Ke.c,m.i=Ke.i,m.l=Ke.l,m.l.ma=Ke,m.l.width=Ke.c,m.l.height=Ke.i,m.a=0,Ct(m.m,it,$r,xr),!Ua(Ke.c,Ke.i,1,m,null)||(m.ab==1&&m.gc[0].hc==3&&Qa(m.s)?(Ke.ic=1,it=m.c*m.i,m.Ta=null,m.Ua=0,m.V=b(it),m.Ba=0,m.V==null?(m.a=1,m=0):m=1):(Ke.ic=0,m=_a(m,Ke.c)),!m))break t;m=1;break e}Ke.mc=null,m=0}else m=xr>=Ke.c*Ke.i;Ke=!m}if(Ke)return null;n.ga.Lc!=1?n.Ga=0:ie=Ze-B}u(n.ga!=null),u(B+ie<=Ze);e:{if(m=(it=n.ga).c,Ze=it.l.o,it.$a==0){if($r=n.rc,xr=n.Vc,un=n.Fa,mt=n.P+1+B*m,Mt=n.mb,ur=n.nb+B*m,u(mt<=n.P+n.qc),it.Z!=0)for(u(ws[it.Z]!=null),Ke=0;Ke<ie;++Ke)ws[it.Z]($r,xr,un,mt,Mt,ur,m),$r=Mt,xr=ur,ur+=m,mt+=m;else for(Ke=0;Ke<ie;++Ke)v(Mt,ur,un,mt,m),$r=Mt,xr=ur,ur+=m,mt+=m;n.rc=$r,n.Vc=xr}else{if(u(it.mc!=null),m=B+ie,u((Ke=it.mc)!=null),u(m<=Ke.i),Ke.C>=m)m=1;else if(it.ic||k(),it.ic){it=Ke.V,$r=Ke.Ba,xr=Ke.c;var Zr=Ke.i,dr=(un=1,mt=Ke.$/xr,Mt=Ke.$%xr,ur=Ke.m,Ar=Ke.s,Ke.$),pr=xr*Zr,an=xr*m,mn=Ar.wc,sn=dr<an?xa(Ar,Mt,mt):null;u(dr<=pr),u(m<=Zr),u(Qa(Ar));t:for(;;){for(;!ur.h&&dr<an;){if(Mt&mn||(sn=xa(Ar,Mt,mt)),u(sn!=null),Yt(ur),256>(Zr=la(sn.G[0],sn.H[0],ur)))it[$r+dr]=Zr,++dr,++Mt>=xr&&(Mt=0,++mt<=m&&!(mt%16)&&ho(Ke,mt));else{if(!(280>Zr)){un=0;break t}Zr=so(Zr-256,ur);var Vn,Tn=la(sn.G[4],sn.H[4],ur);if(Yt(ur),!(dr>=(Tn=Rn(xr,Tn=so(Tn,ur)))&&pr-dr>=Zr)){un=0;break t}for(Vn=0;Vn<Zr;++Vn)it[$r+dr+Vn]=it[$r+dr+Vn-Tn];for(dr+=Zr,Mt+=Zr;Mt>=xr;)Mt-=xr,++mt<=m&&!(mt%16)&&ho(Ke,mt);dr<an&&Mt&mn&&(sn=xa(Ar,Mt,mt))}u(ur.h==rt(ur))}ho(Ke,mt>m?m:mt);break t}!un||ur.h&&dr<pr?(un=0,Ke.a=ur.h?5:3):Ke.$=dr,m=un}else m=ga(Ke,Ke.V,Ke.Ba,Ke.c,Ke.i,m,ya);if(!m){ie=0;break e}}B+ie>=Ze&&(n.Cc=1),ie=1}if(!ie)return null;if(n.Cc&&((ie=n.ga)!=null&&(ie.mc=null),n.ga=null,0<n.Ga))return alert("todo:WebPDequantizeLevels"),null}return n.nb+B*Te}function x(n,m,B,ie,Te,Ze){for(;0<Te--;){var Ke,it=n,mt=m+(B?1:0),Mt=n,ur=m+(B?0:3);for(Ke=0;Ke<ie;++Ke){var Ar=Mt[ur+4*Ke];Ar!=255&&(Ar*=32897,it[mt+4*Ke+0]=it[mt+4*Ke+0]*Ar>>23,it[mt+4*Ke+1]=it[mt+4*Ke+1]*Ar>>23,it[mt+4*Ke+2]=it[mt+4*Ke+2]*Ar>>23)}m+=Ze}}function Me(n,m,B,ie,Te){for(;0<ie--;){var Ze;for(Ze=0;Ze<B;++Ze){var Ke=n[m+2*Ze+0],it=15&(Mt=n[m+2*Ze+1]),mt=4369*it,Mt=(240&Mt|Mt>>4)*mt>>16;n[m+2*Ze+0]=(240&Ke|Ke>>4)*mt>>16&240|(15&Ke|Ke<<4)*mt>>16>>4&15,n[m+2*Ze+1]=240&Mt|it}m+=Te}}function Rt(n,m,B,ie,Te,Ze,Ke,it){var mt,Mt,ur=255;for(Mt=0;Mt<Te;++Mt){for(mt=0;mt<ie;++mt){var Ar=n[m+mt];Ze[Ke+4*mt]=Ar,ur&=Ar}m+=B,Ke+=it}return ur!=255}function sr(n,m,B,ie,Te){var Ze;for(Ze=0;Ze<Te;++Ze)B[ie+Ze]=n[m+Ze]>>8}function k(){ri=x,Za=Me,Va=Rt,fo=sr}function t(n,m,B){Zt[n]=function(ie,Te,Ze,Ke,it,mt,Mt,ur,Ar,$r,xr,un,Zr,dr,pr,an,mn){var sn,Vn=mn-1>>1,Tn=it[mt+0]|Mt[ur+0]<<16,fa=Ar[$r+0]|xr[un+0]<<16;u(ie!=null);var zn=3*Tn+fa+131074>>2;for(m(ie[Te+0],255&zn,zn>>16,Zr,dr),Ze!=null&&(zn=3*fa+Tn+131074>>2,m(Ze[Ke+0],255&zn,zn>>16,pr,an)),sn=1;sn<=Vn;++sn){var Ya=it[mt+sn]|Mt[ur+sn]<<16,to=Ar[$r+sn]|xr[un+sn]<<16,Ga=Tn+Ya+fa+to+524296,Ra=Ga+2*(Ya+fa)>>3;zn=Ra+Tn>>1,Tn=(Ga=Ga+2*(Tn+to)>>3)+Ya>>1,m(ie[Te+2*sn-1],255&zn,zn>>16,Zr,dr+(2*sn-1)*B),m(ie[Te+2*sn-0],255&Tn,Tn>>16,Zr,dr+(2*sn-0)*B),Ze!=null&&(zn=Ga+fa>>1,Tn=Ra+to>>1,m(Ze[Ke+2*sn-1],255&zn,zn>>16,pr,an+(2*sn-1)*B),m(Ze[Ke+2*sn+0],255&Tn,Tn>>16,pr,an+(2*sn+0)*B)),Tn=Ya,fa=to}1&mn||(zn=3*Tn+fa+131074>>2,m(ie[Te+mn-1],255&zn,zn>>16,Zr,dr+(mn-1)*B),Ze!=null&&(zn=3*fa+Tn+131074>>2,m(Ze[Ke+mn-1],255&zn,zn>>16,pr,an+(mn-1)*B)))}}function a(){Ni[ls]=fl,Ni[Ws]=$0,Ni[C0]=ml,Ni[Us]=j0,Ni[Zs]=P0,Ni[o0]=N0,Ni[O0]=pl,Ni[i0]=$0,Ni[s0]=j0,Ni[Vs]=P0,Ni[l0]=N0}function i(n){return n&~gl?0>n?0:255:n>>M0}function p(n,m){return i((19077*n>>8)+(26149*m>>8)-14234)}function D(n,m,B){return i((19077*n>>8)-(6419*m>>8)-(13320*B>>8)+8708)}function oe(n,m){return i((19077*n>>8)+(33050*m>>8)-17685)}function De(n,m,B,ie,Te){ie[Te+0]=p(n,B),ie[Te+1]=D(n,m,B),ie[Te+2]=oe(n,m)}function Qe(n,m,B,ie,Te){ie[Te+0]=oe(n,m),ie[Te+1]=D(n,m,B),ie[Te+2]=p(n,B)}function It(n,m,B,ie,Te){var Ze=D(n,m,B);m=Ze<<3&224|oe(n,m)>>3,ie[Te+0]=248&p(n,B)|Ze>>5,ie[Te+1]=m}function nr(n,m,B,ie,Te){var Ze=240&oe(n,m)|15;ie[Te+0]=240&p(n,B)|D(n,m,B)>>4,ie[Te+1]=Ze}function mr(n,m,B,ie,Te){ie[Te+0]=255,De(n,m,B,ie,Te+1)}function jr(n,m,B,ie,Te){Qe(n,m,B,ie,Te),ie[Te+3]=255}function Jr(n,m,B,ie,Te){De(n,m,B,ie,Te),ie[Te+3]=255}function cn(n,m){return 0>n?0:n>m?m:n}function Sn(n,m,B){Zt[n]=function(ie,Te,Ze,Ke,it,mt,Mt,ur,Ar){for(var $r=ur+(-2&Ar)*B;ur!=$r;)m(ie[Te+0],Ze[Ke+0],it[mt+0],Mt,ur),m(ie[Te+1],Ze[Ke+0],it[mt+0],Mt,ur+B),Te+=2,++Ke,++mt,ur+=2*B;1&Ar&&m(ie[Te+0],Ze[Ke+0],it[mt+0],Mt,ur)}}function Zn(n,m,B){return B==0?n==0?m==0?6:5:m==0?4:0:B}function da(n,m,B,ie,Te){switch(n>>>30){case 3:ja(m,B,ie,Te,0);break;case 2:Ha(m,B,ie,Te);break;case 1:Da(m,B,ie,Te)}}function va(n,m){var B,ie,Te=m.M,Ze=m.Nb,Ke=n.oc,it=n.pc+40,mt=n.oc,Mt=n.pc+584,ur=n.oc,Ar=n.pc+600;for(B=0;16>B;++B)Ke[it+32*B-1]=129;for(B=0;8>B;++B)mt[Mt+32*B-1]=129,ur[Ar+32*B-1]=129;for(0<Te?Ke[it-1-32]=mt[Mt-1-32]=ur[Ar-1-32]=129:(O(Ke,it-32-1,127,21),O(mt,Mt-32-1,127,9),O(ur,Ar-32-1,127,9)),ie=0;ie<n.za;++ie){var $r=m.ya[m.aa+ie];if(0<ie){for(B=-1;16>B;++B)v(Ke,it+32*B-4,Ke,it+32*B+12,4);for(B=-1;8>B;++B)v(mt,Mt+32*B-4,mt,Mt+32*B+4,4),v(ur,Ar+32*B-4,ur,Ar+32*B+4,4)}var xr=n.Gd,un=n.Hd+ie,Zr=$r.ad,dr=$r.Hc;if(0<Te&&(v(Ke,it-32,xr[un].y,0,16),v(mt,Mt-32,xr[un].f,0,8),v(ur,Ar-32,xr[un].ea,0,8)),$r.Za){var pr=Ke,an=it-32+16;for(0<Te&&(ie>=n.za-1?O(pr,an,xr[un].y[15],4):v(pr,an,xr[un+1].y,0,4)),B=0;4>B;B++)pr[an+128+B]=pr[an+256+B]=pr[an+384+B]=pr[an+0+B];for(B=0;16>B;++B,dr<<=2)pr=Ke,an=it+B0[B],Gi[$r.Ob[B]](pr,an),da(dr,Zr,16*+B,pr,an)}else if(pr=Zn(ie,Te,$r.Ob[0]),xs[pr](Ke,it),dr!=0)for(B=0;16>B;++B,dr<<=2)da(dr,Zr,16*+B,Ke,it+B0[B]);for(B=$r.Gc,pr=Zn(ie,Te,$r.Dd),cs[pr](mt,Mt),cs[pr](ur,Ar),dr=Zr,pr=mt,an=Mt,255&($r=B>>0)&&(170&$r?bo(dr,256,pr,an):po(dr,256,pr,an)),$r=ur,dr=Ar,255&(B>>=8)&&(170&B?bo(Zr,320,$r,dr):po(Zr,320,$r,dr)),Te<n.Ub-1&&(v(xr[un].y,0,Ke,it+480,16),v(xr[un].f,0,mt,Mt+224,8),v(xr[un].ea,0,ur,Ar+224,8)),B=8*Ze*n.B,xr=n.sa,un=n.ta+16*ie+16*Ze*n.R,Zr=n.qa,$r=n.ra+8*ie+B,dr=n.Ha,pr=n.Ia+8*ie+B,B=0;16>B;++B)v(xr,un+B*n.R,Ke,it+32*B,16);for(B=0;8>B;++B)v(Zr,$r+B*n.B,mt,Mt+32*B,8),v(dr,pr+B*n.B,ur,Ar+32*B,8)}}function c(n,m,B,ie,Te,Ze,Ke,it,mt){var Mt=[0],ur=[0],Ar=0,$r=mt!=null?mt.kd:0,xr=mt!=null?mt:new Ji;if(n==null||12>B)return 7;xr.data=n,xr.w=m,xr.ha=B,m=[m],B=[B],xr.gb=[xr.gb];e:{var un=m,Zr=B,dr=xr.gb;if(u(n!=null),u(Zr!=null),u(dr!=null),dr[0]=0,12<=Zr[0]&&!d(n,un[0],"RIFF")){if(d(n,un[0]+8,"WEBP")){dr=3;break e}var pr=Xr(n,un[0]+4);if(12>pr||4294967286<pr){dr=3;break e}if($r&&pr>Zr[0]-8){dr=7;break e}dr[0]=pr,un[0]+=12,Zr[0]-=12}dr=0}if(dr!=0)return dr;for(pr=0<xr.gb[0],B=B[0];;){e:{var an=n;Zr=m,dr=B;var mn=Mt,sn=ur,Vn=un=[0];if((zn=Ar=[Ar])[0]=0,8>dr[0])dr=7;else{if(!d(an,Zr[0],"VP8X")){if(Xr(an,Zr[0]+4)!=10){dr=3;break e}if(18>dr[0]){dr=7;break e}var Tn=Xr(an,Zr[0]+8),fa=1+Fr(an,Zr[0]+12);if(2147483648<=fa*(an=1+Fr(an,Zr[0]+15))){dr=3;break e}Vn!=null&&(Vn[0]=Tn),mn!=null&&(mn[0]=fa),sn!=null&&(sn[0]=an),Zr[0]+=18,dr[0]-=18,zn[0]=1}dr=0}}if(Ar=Ar[0],un=un[0],dr!=0)return dr;if(Zr=!!(2&un),!pr&&Ar)return 3;if(Ze!=null&&(Ze[0]=!!(16&un)),Ke!=null&&(Ke[0]=Zr),it!=null&&(it[0]=0),Ke=Mt[0],un=ur[0],Ar&&Zr&&mt==null){dr=0;break}if(4>B){dr=7;break}if(pr&&Ar||!pr&&!Ar&&!d(n,m[0],"ALPH")){B=[B],xr.na=[xr.na],xr.P=[xr.P],xr.Sa=[xr.Sa];e:{Tn=n,dr=m,pr=B;var zn=xr.gb;mn=xr.na,sn=xr.P,Vn=xr.Sa,fa=22,u(Tn!=null),u(pr!=null),an=dr[0];var Ya=pr[0];for(u(mn!=null),u(Vn!=null),mn[0]=null,sn[0]=null,Vn[0]=0;;){if(dr[0]=an,pr[0]=Ya,8>Ya){dr=7;break e}var to=Xr(Tn,an+4);if(4294967286<to){dr=3;break e}var Ga=8+to+1&-2;if(fa+=Ga,0<zn&&fa>zn){dr=3;break e}if(!d(Tn,an,"VP8 ")||!d(Tn,an,"VP8L")){dr=0;break e}if(Ya[0]<Ga){dr=7;break e}d(Tn,an,"ALPH")||(mn[0]=Tn,sn[0]=an+8,Vn[0]=to),an+=Ga,Ya-=Ga}}if(B=B[0],xr.na=xr.na[0],xr.P=xr.P[0],xr.Sa=xr.Sa[0],dr!=0)break}B=[B],xr.Ja=[xr.Ja],xr.xa=[xr.xa];e:if(zn=n,dr=m,pr=B,mn=xr.gb[0],sn=xr.Ja,Vn=xr.xa,Tn=dr[0],an=!d(zn,Tn,"VP8 "),fa=!d(zn,Tn,"VP8L"),u(zn!=null),u(pr!=null),u(sn!=null),u(Vn!=null),8>pr[0])dr=7;else{if(an||fa){if(zn=Xr(zn,Tn+4),12<=mn&&zn>mn-12){dr=3;break e}if($r&&zn>pr[0]-8){dr=7;break e}sn[0]=zn,dr[0]+=8,pr[0]-=8,Vn[0]=fa}else Vn[0]=5<=pr[0]&&zn[Tn+0]==47&&!(zn[Tn+4]>>5),sn[0]=pr[0];dr=0}if(B=B[0],xr.Ja=xr.Ja[0],xr.xa=xr.xa[0],m=m[0],dr!=0)break;if(4294967286<xr.Ja)return 3;if(it==null||Zr||(it[0]=xr.xa?2:1),Ke=[Ke],un=[un],xr.xa){if(5>B){dr=7;break}it=Ke,$r=un,Zr=Ze,n==null||5>B?n=0:5<=B&&n[m+0]==47&&!(n[m+4]>>5)?(pr=[0],zn=[0],mn=[0],Ct(sn=new be,n,m,B),Wn(sn,pr,zn,mn)?(it!=null&&(it[0]=pr[0]),$r!=null&&($r[0]=zn[0]),Zr!=null&&(Zr[0]=mn[0]),n=1):n=0):n=0}else{if(10>B){dr=7;break}it=un,n==null||10>B||!Oo(n,m+3,B-3)?n=0:($r=n[m+0]|n[m+1]<<8|n[m+2]<<16,Zr=16383&(n[m+7]<<8|n[m+6]),n=16383&(n[m+9]<<8|n[m+8]),1&$r||3<($r>>1&7)||!($r>>4&1)||$r>>5>=xr.Ja||!Zr||!n?n=0:(Ke&&(Ke[0]=Zr),it&&(it[0]=n),n=1))}if(!n||(Ke=Ke[0],un=un[0],Ar&&(Mt[0]!=Ke||ur[0]!=un)))return 3;mt!=null&&(mt[0]=xr,mt.offset=m-mt.w,u(4294967286>m-mt.w),u(mt.offset==mt.ha-B));break}return dr==0||dr==7&&Ar&&mt==null?(Ze!=null&&(Ze[0]|=xr.na!=null&&0<xr.na.length),ie!=null&&(ie[0]=Ke),Te!=null&&(Te[0]=un),0):dr}function e(n,m,B){var ie=m.width,Te=m.height,Ze=0,Ke=0,it=ie,mt=Te;if(m.Da=n!=null&&0<n.Da,m.Da&&(it=n.cd,mt=n.bd,Ze=n.v,Ke=n.j,11>B||(Ze&=-2,Ke&=-2),0>Ze||0>Ke||0>=it||0>=mt||Ze+it>ie||Ke+mt>Te))return 0;if(m.v=Ze,m.j=Ke,m.va=Ze+it,m.o=Ke+mt,m.U=it,m.T=mt,m.da=n!=null&&0<n.da,m.da){if(!wn(it,mt,B=[n.ib],Ze=[n.hb]))return 0;m.ib=B[0],m.hb=Ze[0]}return m.ob=n!=null&&n.ob,m.Kb=n==null||!n.Sd,m.da&&(m.ob=m.ib<3*ie/4&&m.hb<3*Te/4,m.Kb=0),1}function r(n){if(n==null)return 2;if(11>n.S){var m=n.f.RGBA;m.fb+=(n.height-1)*m.A,m.A=-m.A}else m=n.f.kb,n=n.height,m.O+=(n-1)*m.fa,m.fa=-m.fa,m.N+=(n-1>>1)*m.Ab,m.Ab=-m.Ab,m.W+=(n-1>>1)*m.Db,m.Db=-m.Db,m.F!=null&&(m.J+=(n-1)*m.lb,m.lb=-m.lb);return 0}function h(n,m,B,ie){if(ie==null||0>=n||0>=m)return 2;if(B!=null){if(B.Da){var Te=B.cd,Ze=B.bd,Ke=-2&B.v,it=-2&B.j;if(0>Ke||0>it||0>=Te||0>=Ze||Ke+Te>n||it+Ze>m)return 2;n=Te,m=Ze}if(B.da){if(!wn(n,m,Te=[B.ib],Ze=[B.hb]))return 2;n=Te[0],m=Ze[0]}}ie.width=n,ie.height=m;e:{var mt=ie.width,Mt=ie.height;if(n=ie.S,0>=mt||0>=Mt||!(n>=ls&&13>n))n=2;else{if(0>=ie.Rd&&ie.sd==null){Ke=Ze=Te=m=0;var ur=(it=mt*L0[n])*Mt;if(11>n||(Ze=(Mt+1)/2*(m=(mt+1)/2),n==12&&(Ke=(Te=mt)*Mt)),(Mt=b(ur+2*Ze+Ke))==null){n=1;break e}ie.sd=Mt,11>n?((mt=ie.f.RGBA).eb=Mt,mt.fb=0,mt.A=it,mt.size=ur):((mt=ie.f.kb).y=Mt,mt.O=0,mt.fa=it,mt.Fd=ur,mt.f=Mt,mt.N=0+ur,mt.Ab=m,mt.Cd=Ze,mt.ea=Mt,mt.W=0+ur+Ze,mt.Db=m,mt.Ed=Ze,n==12&&(mt.F=Mt,mt.J=0+ur+2*Ze),mt.Tc=Ke,mt.lb=Te)}if(m=1,Te=ie.S,Ze=ie.width,Ke=ie.height,Te>=ls&&13>Te)if(11>Te)n=ie.f.RGBA,m&=(it=Math.abs(n.A))*(Ke-1)+Ze<=n.size,m&=it>=Ze*L0[Te],m&=n.eb!=null;else{n=ie.f.kb,it=(Ze+1)/2,ur=(Ke+1)/2,mt=Math.abs(n.fa),Mt=Math.abs(n.Ab);var Ar=Math.abs(n.Db),$r=Math.abs(n.lb),xr=$r*(Ke-1)+Ze;m&=mt*(Ke-1)+Ze<=n.Fd,m&=Mt*(ur-1)+it<=n.Cd,m=(m&=Ar*(ur-1)+it<=n.Ed)&mt>=Ze&Mt>=it&Ar>=it,m&=n.y!=null,m&=n.f!=null,m&=n.ea!=null,Te==12&&(m&=$r>=Ze,m&=xr<=n.Tc,m&=n.F!=null)}else m=0;n=m?0:2}}return n!=0||B!=null&&B.fd&&(n=r(ie)),n}var C=64,K=[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],Ie=24,Ge=32,_e=8,Kt=[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];nn("Predictor0","PredictorAdd0"),Zt.Predictor0=function(){return 4278190080},Zt.Predictor1=function(n){return n},Zt.Predictor2=function(n,m,B){return m[B+0]},Zt.Predictor3=function(n,m,B){return m[B+1]},Zt.Predictor4=function(n,m,B){return m[B-1]},Zt.Predictor5=function(n,m,B){return on(on(n,m[B+1]),m[B+0])},Zt.Predictor6=function(n,m,B){return on(n,m[B-1])},Zt.Predictor7=function(n,m,B){return on(n,m[B+0])},Zt.Predictor8=function(n,m,B){return on(m[B-1],m[B+0])},Zt.Predictor9=function(n,m,B){return on(m[B+0],m[B+1])},Zt.Predictor10=function(n,m,B){return on(on(n,m[B-1]),on(m[B+0],m[B+1]))},Zt.Predictor11=function(n,m,B){var ie=m[B+0];return 0>=Hn(ie>>24&255,n>>24&255,(m=m[B-1])>>24&255)+Hn(ie>>16&255,n>>16&255,m>>16&255)+Hn(ie>>8&255,n>>8&255,m>>8&255)+Hn(255&ie,255&n,255&m)?ie:n},Zt.Predictor12=function(n,m,B){var ie=m[B+0];return(Mn((n>>24&255)+(ie>>24&255)-((m=m[B-1])>>24&255))<<24|Mn((n>>16&255)+(ie>>16&255)-(m>>16&255))<<16|Mn((n>>8&255)+(ie>>8&255)-(m>>8&255))<<8|Mn((255&n)+(255&ie)-(255&m)))>>>0},Zt.Predictor13=function(n,m,B){var ie=m[B-1];return(Ln((n=on(n,m[B+0]))>>24&255,ie>>24&255)<<24|Ln(n>>16&255,ie>>16&255)<<16|Ln(n>>8&255,ie>>8&255)<<8|Ln(n>>0&255,ie>>0&255))>>>0};var hr=Zt.PredictorAdd0;Zt.PredictorAdd1=ta,nn("Predictor2","PredictorAdd2"),nn("Predictor3","PredictorAdd3"),nn("Predictor4","PredictorAdd4"),nn("Predictor5","PredictorAdd5"),nn("Predictor6","PredictorAdd6"),nn("Predictor7","PredictorAdd7"),nn("Predictor8","PredictorAdd8"),nn("Predictor9","PredictorAdd9"),nn("Predictor10","PredictorAdd10"),nn("Predictor11","PredictorAdd11"),nn("Predictor12","PredictorAdd12"),nn("Predictor13","PredictorAdd13");var br=Zt.PredictorAdd2;On("ColorIndexInverseTransform","MapARGB","32b",function(n){return n>>8&255},function(n){return n}),On("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(n){return n},function(n){return n>>8&255});var kr,Dr=Zt.ColorIndexInverseTransform,hn=Zt.MapARGB,An=Zt.VP8LColorIndexInverseTransformAlpha,Fn=Zt.MapAlpha,jn=Zt.VP8LPredictorsAdd=[];jn.length=16,(Zt.VP8LPredictors=[]).length=16,(Zt.VP8LPredictorsAdd_C=[]).length=16,(Zt.VP8LPredictors_C=[]).length=16;var Qn,qn,ha,pa,$a,Ea,Ka,ja,Ha,bo,Da,po,$o,Vo,ii,si,li,Pi,Go,ti,jo,ci,ss,Bo,ri,Za,Va,fo,yo=b(511),Vi=b(2041),$s=b(225),bs=b(767),ys=0,Ns=Vi,js=$s,Fo=bs,ko=yo,ls=0,Ws=1,C0=2,Us=3,Zs=4,o0=5,O0=6,i0=7,s0=8,Vs=9,l0=10,Q0=[2,3,7],el=[3,3,11],E0=[280,256,256,256,40],tl=[0,1,1,1,0],rl=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],nl=[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],al=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ol=8,c0=[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],u0=[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,il=[[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]],sl=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],I0=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],ll=[[[[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]]]],cl=[[[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]]],ul=[[[[255,255,255,255,255,255,255,255,255,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]]]],dl=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],xs=[],Gi=[],cs=[],hl=1,A0=2,ws=[],Ni=[];t("UpsampleRgbLinePair",De,3),t("UpsampleBgrLinePair",Qe,3),t("UpsampleRgbaLinePair",Jr,4),t("UpsampleBgraLinePair",jr,4),t("UpsampleArgbLinePair",mr,4),t("UpsampleRgba4444LinePair",nr,2),t("UpsampleRgb565LinePair",It,2);var fl=Zt.UpsampleRgbLinePair,ml=Zt.UpsampleBgrLinePair,$0=Zt.UpsampleRgbaLinePair,j0=Zt.UpsampleBgraLinePair,P0=Zt.UpsampleArgbLinePair,N0=Zt.UpsampleRgba4444LinePair,pl=Zt.UpsampleRgb565LinePair,Gs=16,Ks=1<<Gs-1,Ds=-227,d0=482,M0=6,gl=(256<<M0)-1,T0=0,vl=b(256),bl=b(256),yl=b(256),xl=b(256),wl=b(d0-Ds),Sl=b(d0-Ds);Sn("YuvToRgbRow",De,3),Sn("YuvToBgrRow",Qe,3),Sn("YuvToRgbaRow",Jr,4),Sn("YuvToBgraRow",jr,4),Sn("YuvToArgbRow",mr,4),Sn("YuvToRgba4444Row",nr,2),Sn("YuvToRgb565Row",It,2);var B0=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],_s=[0,2,8],Cl=[8,7,6,4,4,2,2,2,1,1,1,1],Ol=1;this.WebPDecodeRGBA=function(n,m,B,ie,Te){var Ze=Ws,Ke=new Ii,it=new Wa;Ke.ba=it,it.S=Ze,it.width=[it.width],it.height=[it.height];var mt=it.width,Mt=it.height,ur=new Jn;if(ur==null||n==null)var Ar=2;else u(ur!=null),Ar=c(n,m,B,ur.width,ur.height,ur.Pd,ur.Qd,ur.format,null);if(Ar!=0?mt=0:(mt!=null&&(mt[0]=ur.width[0]),Mt!=null&&(Mt[0]=ur.height[0]),mt=1),mt){it.width=it.width[0],it.height=it.height[0],ie!=null&&(ie[0]=it.width),Te!=null&&(Te[0]=it.height);e:{if(ie=new xo,(Te=new Ji).data=n,Te.w=m,Te.ha=B,Te.kd=1,m=[0],u(Te!=null),((n=c(Te.data,Te.w,Te.ha,null,null,null,m,null,Te))==0||n==7)&&m[0]&&(n=4),(m=n)==0){if(u(Ke!=null),ie.data=Te.data,ie.w=Te.w+Te.offset,ie.ha=Te.ha-Te.offset,ie.put=za,ie.ac=aa,ie.bc=Ta,ie.ma=Ke,Te.xa){if((n=Sa())==null){Ke=1;break e}if(function($r,xr){var un=[0],Zr=[0],dr=[0];t:for(;;){if($r==null)return 0;if(xr==null)return $r.a=2,0;if($r.l=xr,$r.a=0,Ct($r.m,xr.data,xr.w,xr.ha),!Wn($r.m,un,Zr,dr)){$r.a=3;break t}if($r.xb=A0,xr.width=un[0],xr.height=Zr[0],!Ua(un[0],Zr[0],1,$r,null))break t;return 1}return u($r.a!=0),0}(n,ie)){if(ie=(m=h(ie.width,ie.height,Ke.Oa,Ke.ba))==0){t:{ie=n;r:for(;;){if(ie==null){ie=0;break t}if(u(ie.s.yc!=null),u(ie.s.Ya!=null),u(0<ie.s.Wb),u((B=ie.l)!=null),u((Te=B.ma)!=null),ie.xb!=0){if(ie.ca=Te.ba,ie.tb=Te.tb,u(ie.ca!=null),!e(Te.Oa,B,Us)){ie.a=2;break r}if(!_a(ie,B.width)||B.da)break r;if((B.da||sa(ie.ca.S))&&k(),11>ie.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),ie.ca.f.kb.F!=null&&k()),ie.Pb&&0<ie.s.ua&&ie.s.vb.X==null&&!gn(ie.s.vb,ie.s.Wa.Xa)){ie.a=1;break r}ie.xb=0}if(!ga(ie,ie.V,ie.Ba,ie.c,ie.i,B.o,ao))break r;Te.Dc=ie.Ma,ie=1;break t}u(ie.a!=0),ie=0}ie=!ie}ie&&(m=n.a)}else m=n.a}else{if((n=new _o)==null){Ke=1;break e}if(n.Fa=Te.na,n.P=Te.P,n.qc=Te.Sa,Bi(n,ie)){if((m=h(ie.width,ie.height,Ke.Oa,Ke.ba))==0){if(n.Aa=0,B=Ke.Oa,u((Te=n)!=null),B!=null){if(0<(mt=0>(mt=B.Md)?0:100<mt?255:255*mt/100)){for(Mt=ur=0;4>Mt;++Mt)12>(Ar=Te.pb[Mt]).lc&&(Ar.ia=mt*Cl[0>Ar.lc?0:Ar.lc]>>3),ur|=Ar.ia;ur&&(alert("todo:VP8InitRandom"),Te.ia=1)}Te.Ga=B.Id,100<Te.Ga?Te.Ga=100:0>Te.Ga&&(Te.Ga=0)}Ci(n,ie)||(m=n.a)}}else m=n.a}m==0&&Ke.Oa!=null&&Ke.Oa.fd&&(m=r(Ke.ba))}Ke=m}Ze=Ke!=0?null:11>Ze?it.f.RGBA.eb:it.f.kb.y}else Ze=null;return Ze};var L0=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Ee(Zt,_t){for(var Br="",dt=0;dt<4;dt++)Br+=String.fromCharCode(Zt[_t++]);return Br}function ot(Zt,_t){return(Zt[_t+0]<<0|Zt[_t+1]<<8|Zt[_t+2]<<16)>>>0}function Xe(Zt,_t){return(Zt[_t+0]<<0|Zt[_t+1]<<8|Zt[_t+2]<<16|Zt[_t+3]<<24)>>>0}new ee;var gt=[0],me=[0],Ht=[],je=new ee,Pe=g,at=function(Zt,_t){var Br={},dt=0,ut=!1,rr=0,Pt=0;if(Br.frames=[],!function(nt,rt,kt,Yt){for(var Lt=0;Lt<Yt;Lt++)if(nt[rt+Lt]!=kt.charCodeAt(Lt))return!0;return!1}(Zt,_t,"RIFF",4)){for(Xe(Zt,_t+=4),_t+=8;_t<Zt.length;){var Ve=Ee(Zt,_t),ve=Xe(Zt,_t+=4);_t+=4;var $t=ve+(1&ve);switch(Ve){case"VP8 ":case"VP8L":Br.frames[dt]===void 0&&(Br.frames[dt]={}),(Gt=Br.frames[dt]).src_off=ut?Pt:_t-8,Gt.src_size=rr+ve+8,dt++,ut&&(ut=!1,rr=0,Pt=0);break;case"VP8X":(Gt=Br.header={}).feature_flags=Zt[_t];var Ct=_t+4;Gt.canvas_width=1+ot(Zt,Ct),Ct+=3,Gt.canvas_height=1+ot(Zt,Ct),Ct+=3;break;case"ALPH":ut=!0,rr=$t+8,Pt=_t-8;break;case"ANIM":(Gt=Br.header).bgcolor=Xe(Zt,_t),Ct=_t+4,Gt.loop_count=(Sr=Zt)[(be=Ct)+0]<<0|Sr[be+1]<<8,Ct+=2;break;case"ANMF":var Xt,Gt;(Gt=Br.frames[dt]={}).offset_x=2*ot(Zt,_t),_t+=3,Gt.offset_y=2*ot(Zt,_t),_t+=3,Gt.width=1+ot(Zt,_t),_t+=3,Gt.height=1+ot(Zt,_t),_t+=3,Gt.duration=ot(Zt,_t),_t+=3,Xt=Zt[_t++],Gt.dispose=1&Xt,Gt.blend=Xt>>1&1}Ve!="ANMF"&&(_t+=$t)}var Sr,be;return Br}}(Pe,0);at.response=Pe,at.rgbaoutput=!0,at.dataurl=!1;var Ft=at.header?at.header:null,cr=at.frames?at.frames:null;if(Ft){Ft.loop_counter=Ft.loop_count,gt=[Ft.canvas_height],me=[Ft.canvas_width];for(var Rr=0;Rr<cr.length&&cr[Rr].blend!=0;Rr++);}var Vr=cr[0],Mr=je.WebPDecodeRGBA(Pe,Vr.src_off,Vr.src_size,me,gt);Vr.rgba=Mr,Vr.imgwidth=me[0],Vr.imgheight=gt[0];for(var wr=0;wr<me[0]*gt[0]*4;wr++)Ht[wr]=Mr[wr];return this.width=me,this.height=gt,this.data=Ht,this}(function(g){var u=function(){return typeof qe.iZ=="function"},d=function(gt,me,Ht,je){var Pe=4,at=z;switch(je){case g.image_compression.FAST:Pe=1,at=b;break;case g.image_compression.MEDIUM:Pe=6,at=V;break;case g.image_compression.SLOW:Pe=9,at=ee}gt=v(gt,me,Ht,at);var Ft=(0,qe.iZ)(gt,{level:Pe});return g.__addimage__.arrayBufferToBinaryString(Ft)},v=function(gt,me,Ht,je){for(var Pe,at,Ft,cr=gt.length/me,Rr=new Uint8Array(gt.length+cr),Vr=ot(),Mr=0;Mr<cr;Mr+=1){if(Ft=Mr*me,Pe=gt.subarray(Ft,Ft+me),je)Rr.set(je(Pe,Ht,at),Ft+Mr);else{for(var wr,Zt=Vr.length,_t=[];wr<Zt;wr+=1)_t[wr]=Vr[wr](Pe,Ht,at);var Br=Xe(_t.concat());Rr.set(_t[Br],Ft+Mr)}at=Pe}return Rr},O=function(gt){var me=Array.apply([],gt);return me.unshift(0),me},b=function(gt,me){var Ht,je=[],Pe=gt.length;je[0]=1;for(var at=0;at<Pe;at+=1)Ht=gt[at-me]||0,je[at+1]=gt[at]-Ht+256&255;return je},z=function(gt,me,Ht){var je,Pe=[],at=gt.length;Pe[0]=2;for(var Ft=0;Ft<at;Ft+=1)je=Ht&&Ht[Ft]||0,Pe[Ft+1]=gt[Ft]-je+256&255;return Pe},V=function(gt,me,Ht){var je,Pe,at=[],Ft=gt.length;at[0]=3;for(var cr=0;cr<Ft;cr+=1)je=gt[cr-me]||0,Pe=Ht&&Ht[cr]||0,at[cr+1]=gt[cr]+256-(je+Pe>>>1)&255;return at},ee=function(gt,me,Ht){var je,Pe,at,Ft,cr=[],Rr=gt.length;cr[0]=4;for(var Vr=0;Vr<Rr;Vr+=1)je=gt[Vr-me]||0,Pe=Ht&&Ht[Vr]||0,at=Ht&&Ht[Vr-me]||0,Ft=Ee(je,Pe,at),cr[Vr+1]=gt[Vr]-Ft+256&255;return cr},Ee=function(gt,me,Ht){if(gt===me&&me===Ht)return gt;var je=Math.abs(me-Ht),Pe=Math.abs(gt-Ht),at=Math.abs(gt+me-Ht-Ht);return je<=Pe&&je<=at?gt:Pe<=at?me:Ht},ot=function(){return[O,b,z,V,ee]},Xe=function(gt){var me=gt.map(function(Ht){return Ht.reduce(function(je,Pe){return je+Math.abs(Pe)},0)});return me.indexOf(Math.min.apply(null,me))};g.processPNG=function(gt,me,Ht,je){var Pe,at,Ft,cr,Rr,Vr,Mr,wr,Zt,_t,Br,dt,ut,rr,Pt,Ve=this.decode.FLATE_DECODE,ve="";if(this.__addimage__.isArrayBuffer(gt)&&(gt=new Uint8Array(gt)),this.__addimage__.isArrayBufferView(gt)){if(gt=(Ft=new tt(gt)).imgData,at=Ft.bits,Pe=Ft.colorSpace,Rr=Ft.colors,[4,6].indexOf(Ft.colorType)!==-1){if(Ft.bits===8){Zt=(wr=Ft.pixelBitlength==32?new Uint32Array(Ft.decodePixels().buffer):Ft.pixelBitlength==16?new Uint16Array(Ft.decodePixels().buffer):new Uint8Array(Ft.decodePixels().buffer)).length,Br=new Uint8Array(Zt*Ft.colors),_t=new Uint8Array(Zt);var $t,Ct=Ft.pixelBitlength-Ft.bits;for(rr=0,Pt=0;rr<Zt;rr++){for(ut=wr[rr],$t=0;$t<Ct;)Br[Pt++]=ut>>>$t&255,$t+=Ft.bits;_t[rr]=ut>>>$t&255}}if(Ft.bits===16){Zt=(wr=new Uint32Array(Ft.decodePixels().buffer)).length,Br=new Uint8Array(Zt*(32/Ft.pixelBitlength)*Ft.colors),_t=new Uint8Array(Zt*(32/Ft.pixelBitlength)),dt=Ft.colors>1,rr=0,Pt=0;for(var Xt=0;rr<Zt;)ut=wr[rr++],Br[Pt++]=ut>>>0&255,dt&&(Br[Pt++]=ut>>>16&255,ut=wr[rr++],Br[Pt++]=ut>>>0&255),_t[Xt++]=ut>>>16&255;at=8}je!==g.image_compression.NONE&&u()?(gt=d(Br,Ft.width*Ft.colors,Ft.colors,je),Mr=d(_t,Ft.width,1,je)):(gt=Br,Mr=_t,Ve=void 0)}if(Ft.colorType===3&&(Pe=this.color_spaces.INDEXED,Vr=Ft.palette,Ft.transparency.indexed)){var Gt=Ft.transparency.indexed,Sr=0;for(rr=0,Zt=Gt.length;rr<Zt;++rr)Sr+=Gt[rr];if((Sr/=255)===Zt-1&&Gt.indexOf(0)!==-1)cr=[Gt.indexOf(0)];else if(Sr!==Zt){for(wr=Ft.decodePixels(),_t=new Uint8Array(wr.length),rr=0,Zt=wr.length;rr<Zt;rr++)_t[rr]=Gt[wr[rr]];Mr=d(_t,Ft.width,1)}}var be=function(nt){var rt;switch(nt){case g.image_compression.FAST:rt=11;break;case g.image_compression.MEDIUM:rt=13;break;case g.image_compression.SLOW:rt=14;break;default:rt=12}return rt}(je);return Ve===this.decode.FLATE_DECODE&&(ve="/Predictor "+be+" "),ve+="/Colors "+Rr+" /BitsPerComponent "+at+" /Columns "+Ft.width,(this.__addimage__.isArrayBuffer(gt)||this.__addimage__.isArrayBufferView(gt))&&(gt=this.__addimage__.arrayBufferToBinaryString(gt)),(Mr&&this.__addimage__.isArrayBuffer(Mr)||this.__addimage__.isArrayBufferView(Mr))&&(Mr=this.__addimage__.arrayBufferToBinaryString(Mr)),{alias:Ht,data:gt,index:me,filter:Ve,decodeParameters:ve,transparency:cr,palette:Vr,sMask:Mr,predictor:be,width:Ft.width,height:Ft.height,bitsPerComponent:at,colorSpace:Pe}}}})(H.API),function(g){g.processGIF89A=function(u,d,v,O){var b=new Or(u),z=b.width,V=b.height,ee=[];b.decodeAndBlitFrameRGBA(0,ee);var Ee={data:ee,width:z,height:V},ot=new xn(100).encode(Ee,100);return g.processJPEG.call(this,ot,d,v,O)},g.processGIF87A=g.processGIF89A}(H.API),kn.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 g=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(g);for(var u=0;u<g;u++){var d=this.datav.getUint8(this.pos++,!0),v=this.datav.getUint8(this.pos++,!0),O=this.datav.getUint8(this.pos++,!0),b=this.datav.getUint8(this.pos++,!0);this.palette[u]={red:O,green:v,blue:d,quad:b}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},kn.prototype.parseBGR=function(){this.pos=this.offset;try{var g="bit"+this.bitPP,u=this.width*this.height*4;this.data=new Uint8Array(u),this[g]()}catch(d){te.log("bit decode error:"+d)}},kn.prototype.bit1=function(){var g,u=Math.ceil(this.width/8),d=u%4;for(g=this.height-1;g>=0;g--){for(var v=this.bottom_up?g:this.height-1-g,O=0;O<u;O++)for(var b=this.datav.getUint8(this.pos++,!0),z=v*this.width*4+8*O*4,V=0;V<8&&8*O+V<this.width;V++){var ee=this.palette[b>>7-V&1];this.data[z+4*V]=ee.blue,this.data[z+4*V+1]=ee.green,this.data[z+4*V+2]=ee.red,this.data[z+4*V+3]=255}d!==0&&(this.pos+=4-d)}},kn.prototype.bit4=function(){for(var g=Math.ceil(this.width/2),u=g%4,d=this.height-1;d>=0;d--){for(var v=this.bottom_up?d:this.height-1-d,O=0;O<g;O++){var b=this.datav.getUint8(this.pos++,!0),z=v*this.width*4+2*O*4,V=b>>4,ee=15&b,Ee=this.palette[V];if(this.data[z]=Ee.blue,this.data[z+1]=Ee.green,this.data[z+2]=Ee.red,this.data[z+3]=255,2*O+1>=this.width)break;Ee=this.palette[ee],this.data[z+4]=Ee.blue,this.data[z+4+1]=Ee.green,this.data[z+4+2]=Ee.red,this.data[z+4+3]=255}u!==0&&(this.pos+=4-u)}},kn.prototype.bit8=function(){for(var g=this.width%4,u=this.height-1;u>=0;u--){for(var d=this.bottom_up?u:this.height-1-u,v=0;v<this.width;v++){var O=this.datav.getUint8(this.pos++,!0),b=d*this.width*4+4*v;if(O<this.palette.length){var z=this.palette[O];this.data[b]=z.red,this.data[b+1]=z.green,this.data[b+2]=z.blue,this.data[b+3]=255}else this.data[b]=255,this.data[b+1]=255,this.data[b+2]=255,this.data[b+3]=255}g!==0&&(this.pos+=4-g)}},kn.prototype.bit15=function(){for(var g=this.width%3,u=parseInt("11111",2),d=this.height-1;d>=0;d--){for(var v=this.bottom_up?d:this.height-1-d,O=0;O<this.width;O++){var b=this.datav.getUint16(this.pos,!0);this.pos+=2;var z=(b&u)/u*255|0,V=(b>>5&u)/u*255|0,ee=(b>>10&u)/u*255|0,Ee=b>>15?255:0,ot=v*this.width*4+4*O;this.data[ot]=ee,this.data[ot+1]=V,this.data[ot+2]=z,this.data[ot+3]=Ee}this.pos+=g}},kn.prototype.bit16=function(){for(var g=this.width%3,u=parseInt("11111",2),d=parseInt("111111",2),v=this.height-1;v>=0;v--){for(var O=this.bottom_up?v:this.height-1-v,b=0;b<this.width;b++){var z=this.datav.getUint16(this.pos,!0);this.pos+=2;var V=(z&u)/u*255|0,ee=(z>>5&d)/d*255|0,Ee=(z>>11)/u*255|0,ot=O*this.width*4+4*b;this.data[ot]=Ee,this.data[ot+1]=ee,this.data[ot+2]=V,this.data[ot+3]=255}this.pos+=g}},kn.prototype.bit24=function(){for(var g=this.height-1;g>=0;g--){for(var u=this.bottom_up?g:this.height-1-g,d=0;d<this.width;d++){var v=this.datav.getUint8(this.pos++,!0),O=this.datav.getUint8(this.pos++,!0),b=this.datav.getUint8(this.pos++,!0),z=u*this.width*4+4*d;this.data[z]=b,this.data[z+1]=O,this.data[z+2]=v,this.data[z+3]=255}this.pos+=this.width%4}},kn.prototype.bit32=function(){for(var g=this.height-1;g>=0;g--)for(var u=this.bottom_up?g:this.height-1-g,d=0;d<this.width;d++){var v=this.datav.getUint8(this.pos++,!0),O=this.datav.getUint8(this.pos++,!0),b=this.datav.getUint8(this.pos++,!0),z=this.datav.getUint8(this.pos++,!0),V=u*this.width*4+4*d;this.data[V]=b,this.data[V+1]=O,this.data[V+2]=v,this.data[V+3]=z}},kn.prototype.getData=function(){return this.data},function(g){g.processBMP=function(u,d,v,O){var b=new kn(u,!1),z=b.width,V=b.height,ee={data:b.getData(),width:z,height:V},Ee=new xn(100).encode(ee,100);return g.processJPEG.call(this,Ee,d,v,O)}}(H.API),xt.prototype.getData=function(){return this.data},function(g){g.processWEBP=function(u,d,v,O){var b=new xt(u),z=b.width,V=b.height,ee={data:b.getData(),width:z,height:V},Ee=new xn(100).encode(ee,100);return g.processJPEG.call(this,Ee,d,v,O)}}(H.API),H.API.processRGBA=function(g,u,d){for(var v=g.data,O=v.length,b=new Uint8Array(O/4*3),z=new Uint8Array(O/4),V=0,ee=0,Ee=0;Ee<O;Ee+=4){var ot=v[Ee],Xe=v[Ee+1],gt=v[Ee+2],me=v[Ee+3];b[V++]=ot,b[V++]=Xe,b[V++]=gt,z[ee++]=me}var Ht=this.__addimage__.arrayBufferToBinaryString(b);return{alpha:this.__addimage__.arrayBufferToBinaryString(z),data:Ht,index:u,alias:d,colorSpace:"DeviceRGB",bitsPerComponent:8,width:g.width,height:g.height}},H.API.setLanguage=function(g){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"}[g]!==void 0&&(this.internal.languageSettings.languageCode=g,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},Qr=H.API,vn=Qr.getCharWidthsArray=function(g,u){var d,v,O=(u=u||{}).font||this.internal.getFont(),b=u.fontSize||this.internal.getFontSize(),z=u.charSpace||this.internal.getCharSpace(),V=u.widths?u.widths:O.metadata.Unicode.widths,ee=V.fof?V.fof:1,Ee=u.kerning?u.kerning:O.metadata.Unicode.kerning,ot=Ee.fof?Ee.fof:1,Xe=u.doKerning!==!1,gt=0,me=g.length,Ht=0,je=V[0]||ee,Pe=[];for(d=0;d<me;d++)v=g.charCodeAt(d),typeof O.metadata.widthOfString=="function"?Pe.push((O.metadata.widthOfGlyph(O.metadata.characterToGlyph(v))+z*(1e3/b)||0)/1e3):(gt=Xe&&(0,s.Z)(Ee[v])==="object"&&!isNaN(parseInt(Ee[v][Ht],10))?Ee[v][Ht]/ot:0,Pe.push((V[v]||je)/ee+gt)),Ht=v;return Pe},_n=Qr.getStringUnitWidth=function(g,u){var d=(u=u||{}).fontSize||this.internal.getFontSize(),v=u.font||this.internal.getFont(),O=u.charSpace||this.internal.getCharSpace();return Qr.processArabic&&(g=Qr.processArabic(g)),typeof v.metadata.widthOfString=="function"?v.metadata.widthOfString(g,d,O)/d:vn.apply(this,arguments).reduce(function(b,z){return b+z},0)},pe=function(g,u,d,v){for(var O=[],b=0,z=g.length,V=0;b!==z&&V+u[b]<d;)V+=u[b],b++;O.push(g.slice(0,b));var ee=b;for(V=0;b!==z;)V+u[b]>v&&(O.push(g.slice(ee,b)),V=0,ee=b),V+=u[b],b++;return ee!==b&&O.push(g.slice(ee,b)),O},fr=function(g,u,d){d||(d={});var v,O,b,z,V,ee,Ee,ot=[],Xe=[ot],gt=d.textIndent||0,me=0,Ht=0,je=g.split(" "),Pe=vn.apply(this,[" ",d])[0];if(ee=d.lineIndent===-1?je[0].length+2:d.lineIndent||0){var at=Array(ee).join(" "),Ft=[];je.map(function(Rr){(Rr=Rr.split(/\s*\n/)).length>1?Ft=Ft.concat(Rr.map(function(Vr,Mr){return(Mr&&Vr.length?`
`:"")+Vr})):Ft.push(Rr[0])}),je=Ft,ee=_n.apply(this,[at,d])}for(b=0,z=je.length;b<z;b++){var cr=0;if(v=je[b],ee&&v[0]==`
`&&(v=v.substr(1),cr=1),gt+me+(Ht=(O=vn.apply(this,[v,d])).reduce(function(Rr,Vr){return Rr+Vr},0))>u||cr){if(Ht>u){for(V=pe.apply(this,[v,O,u-(gt+me),u]),ot.push(V.shift()),ot=[V.pop()];V.length;)Xe.push([V.shift()]);Ht=O.slice(v.length-(ot[0]?ot[0].length:0)).reduce(function(Rr,Vr){return Rr+Vr},0)}else ot=[v];Xe.push(ot),gt=Ht+ee,me=Pe}else ot.push(v),gt+=me+Ht,me=Pe}return Ee=ee?function(Rr,Vr){return(Vr?at:"")+Rr.join(" ")}:function(Rr){return Rr.join(" ")},Xe.map(Ee)},Qr.splitTextToSize=function(g,u,d){var v,O=(d=d||{}).fontSize||this.internal.getFontSize(),b=function(ot){if(ot.widths&&ot.kerning)return{widths:ot.widths,kerning:ot.kerning};var Xe=this.internal.getFont(ot.fontName,ot.fontStyle);return Xe.metadata.Unicode?{widths:Xe.metadata.Unicode.widths||{0:1},kerning:Xe.metadata.Unicode.kerning||{}}:{font:Xe.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,d);v=Array.isArray(g)?g:String(g).split(/\r?\n/);var z=1*this.internal.scaleFactor*u/O;b.textIndent=d.textIndent?1*d.textIndent*this.internal.scaleFactor/O:0,b.lineIndent=d.lineIndent;var V,ee,Ee=[];for(V=0,ee=v.length;V<ee;V++)Ee=Ee.concat(fr.apply(this,[v[V],z,b]));return Ee},function(g){g.__fontmetrics__=g.__fontmetrics__||{};for(var u="klmnopqrstuvwxyz",d={},v={},O=0;O<u.length;O++)d[u[O]]="0123456789abcdef"[O],v["0123456789abcdef"[O]]=u[O];var b=function(Xe){return"0x"+parseInt(Xe,10).toString(16)},z=g.__fontmetrics__.compress=function(Xe){var gt,me,Ht,je,Pe=["{"];for(var at in Xe){if(gt=Xe[at],isNaN(parseInt(at,10))?me="'"+at+"'":(at=parseInt(at,10),me=(me=b(at).slice(2)).slice(0,-1)+v[me.slice(-1)]),typeof gt=="number")gt<0?(Ht=b(gt).slice(3),je="-"):(Ht=b(gt).slice(2),je=""),Ht=je+Ht.slice(0,-1)+v[Ht.slice(-1)];else{if((0,s.Z)(gt)!=="object")throw new Error("Don't know what to do with value type "+(0,s.Z)(gt)+".");Ht=z(gt)}Pe.push(me+Ht)}return Pe.push("}"),Pe.join("")},V=g.__fontmetrics__.uncompress=function(Xe){if(typeof Xe!="string")throw new Error("Invalid argument passed to uncompress.");for(var gt,me,Ht,je,Pe={},at=1,Ft=Pe,cr=[],Rr="",Vr="",Mr=Xe.length-1,wr=1;wr<Mr;wr+=1)(je=Xe[wr])=="'"?gt?(Ht=gt.join(""),gt=void 0):gt=[]:gt?gt.push(je):je=="{"?(cr.push([Ft,Ht]),Ft={},Ht=void 0):je=="}"?((me=cr.pop())[0][me[1]]=Ft,Ht=void 0,Ft=me[0]):je=="-"?at=-1:Ht===void 0?d.hasOwnProperty(je)?(Rr+=d[je],Ht=parseInt(Rr,16)*at,at=1,Rr=""):Rr+=je:d.hasOwnProperty(je)?(Vr+=d[je],Ft[Ht]=parseInt(Vr,16)*at,at=1,Ht=void 0,Vr=""):Vr+=je;return Pe},ee={codePages:["WinAnsiEncoding"],WinAnsiEncoding:V("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},Ee={Unicode:{Courier:ee,"Courier-Bold":ee,"Courier-BoldOblique":ee,"Courier-Oblique":ee,Helvetica:ee,"Helvetica-Bold":ee,"Helvetica-BoldOblique":ee,"Helvetica-Oblique":ee,"Times-Roman":ee,"Times-Bold":ee,"Times-BoldItalic":ee,"Times-Italic":ee}},ot={Unicode:{"Courier-Oblique":V("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":V("{'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":V("{'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:V("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":V("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":V("{'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:V("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:V("{'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":V("{'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:V("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":V("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":V("{'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":V("{'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":V("{'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}}}")}};g.events.push(["addFont",function(Xe){var gt=Xe.font,me=ot.Unicode[gt.postScriptName];me&&(gt.metadata.Unicode={},gt.metadata.Unicode.widths=me.widths,gt.metadata.Unicode.kerning=me.kerning);var Ht=Ee.Unicode[gt.postScriptName];Ht&&(gt.metadata.Unicode.encoding=Ht,gt.encoding=Ht.codePages[0])}])}(H.API),function(g){var u=function(d){for(var v=d.length,O=new Uint8Array(v),b=0;b<v;b++)O[b]=d.charCodeAt(b);return O};g.API.events.push(["addFont",function(d){var v=void 0,O=d.font,b=d.instance;if(!O.isStandardFont){if(b===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+O.postScriptName+"').");if(typeof(v=b.existsFileInVFS(O.postScriptName)===!1?b.loadFile(O.postScriptName):b.getFileFromVFS(O.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+O.postScriptName+"').");(function(z,V){V=/^\x00\x01\x00\x00/.test(V)?u(V):u(U(V)),z.metadata=g.API.TTFFont.open(V),z.metadata.Unicode=z.metadata.Unicode||{encoding:{},kerning:{},widths:[]},z.metadata.glyIdsUsed=[0]})(O,v)}}])}(H),function(g){function u(){return(I.canvg?Promise.resolve(I.canvg):o.e(3754).then(o.bind(o,63754))).catch(function(d){return Promise.reject(new Error("Could not load canvg: "+d))}).then(function(d){return d.default?d.default:d})}H.API.addSvgAsImage=function(d,v,O,b,z,V,ee,Ee){if(isNaN(v)||isNaN(O))throw te.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(b)||isNaN(z))throw te.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var ot=document.createElement("canvas");ot.width=b,ot.height=z;var Xe=ot.getContext("2d");Xe.fillStyle="#fff",Xe.fillRect(0,0,ot.width,ot.height);var gt={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},me=this;return u().then(function(Ht){return Ht.fromString(Xe,d,gt)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(Ht){return Ht.render(gt)}).then(function(){me.addImage(ot.toDataURL("image/jpeg",1),v,O,b,z,ee,Ee)})}}(),H.API.putTotalPages=function(g){var u,d=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(u=new RegExp(g,"g"),d=this.internal.getNumberOfPages()):(u=new RegExp(this.pdfEscape16(g,this.internal.getFont()),"g"),d=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var v=1;v<=this.internal.getNumberOfPages();v++)for(var O=0;O<this.internal.pages[v].length;O++)this.internal.pages[v][O]=this.internal.pages[v][O].replace(u,d);return this},H.API.viewerPreferences=function(g,u){var d;g=g||{},u=u||!1;var v,O,b,z={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}},V=Object.keys(z),ee=[],Ee=0,ot=0,Xe=0;function gt(Ht,je){var Pe,at=!1;for(Pe=0;Pe<Ht.length;Pe+=1)Ht[Pe]===je&&(at=!0);return at}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(z)),this.internal.viewerpreferences.isSubscribed=!1),d=this.internal.viewerpreferences.configuration,g==="reset"||u===!0){var me=V.length;for(Xe=0;Xe<me;Xe+=1)d[V[Xe]].value=d[V[Xe]].defaultValue,d[V[Xe]].explicitSet=!1}if((0,s.Z)(g)==="object"){for(O in g)if(b=g[O],gt(V,O)&&b!==void 0){if(d[O].type==="boolean"&&typeof b=="boolean")d[O].value=b;else if(d[O].type==="name"&&gt(d[O].valueSet,b))d[O].value=b;else if(d[O].type==="integer"&&Number.isInteger(b))d[O].value=b;else if(d[O].type==="array"){for(Ee=0;Ee<b.length;Ee+=1)if(v=!0,b[Ee].length===1&&typeof b[Ee][0]=="number")ee.push(String(b[Ee]-1));else if(b[Ee].length>1){for(ot=0;ot<b[Ee].length;ot+=1)typeof b[Ee][ot]!="number"&&(v=!1);v===!0&&ee.push([b[Ee][0]-1,b[Ee][1]-1].join(" "))}d[O].value="["+ee.join(" ")+"]"}else d[O].value=d[O].defaultValue;d[O].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var Ht,je=[];for(Ht in d)d[Ht].explicitSet===!0&&(d[Ht].type==="name"?je.push("/"+Ht+" /"+d[Ht].value):je.push("/"+Ht+" "+d[Ht].value));je.length!==0&&this.internal.write(`/ViewerPreferences
<<
`+je.join(`
`)+`
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=d,this},function(g){var u=function(){var v='<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>',O=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),b=unescape(encodeURIComponent(v)),z=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),V=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),ee=unescape(encodeURIComponent("</x:xmpmeta>")),Ee=b.length+z.length+V.length+O.length+ee.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Ee+" >>"),this.internal.write("stream"),this.internal.write(O+b+z+V+ee),this.internal.write("endstream"),this.internal.write("endobj")},d=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};g.addMetadata=function(v,O){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:v,namespaceuri:O||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",d),this.internal.events.subscribe("postPutResources",u)),this}}(H.API),function(g){var u=g.API,d=u.pdfEscape16=function(b,z){for(var V,ee=z.metadata.Unicode.widths,Ee=["","0","00","000","0000"],ot=[""],Xe=0,gt=b.length;Xe<gt;++Xe){if(V=z.metadata.characterToGlyph(b.charCodeAt(Xe)),z.metadata.glyIdsUsed.push(V),z.metadata.toUnicode[V]=b.charCodeAt(Xe),ee.indexOf(V)==-1&&(ee.push(V),ee.push([parseInt(z.metadata.widthOfGlyph(V),10)])),V=="0")return ot.join("");V=V.toString(16),ot.push(Ee[4-V.length],V)}return ot.join("")},v=function(b){var z,V,ee,Ee,ot,Xe,gt;for(ot=`/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`,ee=[],Xe=0,gt=(V=Object.keys(b).sort(function(me,Ht){return me-Ht})).length;Xe<gt;Xe++)z=V[Xe],ee.length>=100&&(ot+=`
`+ee.length+` beginbfchar
`+ee.join(`
`)+`
endbfchar`,ee=[]),b[z]!==void 0&&b[z]!==null&&typeof b[z].toString=="function"&&(Ee=("0000"+b[z].toString(16)).slice(-4),z=("0000"+(+z).toString(16)).slice(-4),ee.push("<"+z+"><"+Ee+">"));return ee.length&&(ot+=`
`+ee.length+` beginbfchar
`+ee.join(`
`)+`
endbfchar
`),ot+=`endcmap
CMapName currentdict /CMap defineresource pop
end
end`};u.events.push(["putFont",function(b){(function(z){var V=z.font,ee=z.out,Ee=z.newObject,ot=z.putStream;if(V.metadata instanceof g.API.TTFFont&&V.encoding==="Identity-H"){for(var Xe=V.metadata.Unicode.widths,gt=V.metadata.subset.encode(V.metadata.glyIdsUsed,1),me="",Ht=0;Ht<gt.length;Ht++)me+=String.fromCharCode(gt[Ht]);var je=Ee();ot({data:me,addLength1:!0,objectId:je}),ee("endobj");var Pe=Ee();ot({data:v(V.metadata.toUnicode),addLength1:!0,objectId:Pe}),ee("endobj");var at=Ee();ee("<<"),ee("/Type /FontDescriptor"),ee("/FontName /"+xe(V.fontName)),ee("/FontFile2 "+je+" 0 R"),ee("/FontBBox "+g.API.PDFObject.convert(V.metadata.bbox)),ee("/Flags "+V.metadata.flags),ee("/StemV "+V.metadata.stemV),ee("/ItalicAngle "+V.metadata.italicAngle),ee("/Ascent "+V.metadata.ascender),ee("/Descent "+V.metadata.decender),ee("/CapHeight "+V.metadata.capHeight),ee(">>"),ee("endobj");var Ft=Ee();ee("<<"),ee("/Type /Font"),ee("/BaseFont /"+xe(V.fontName)),ee("/FontDescriptor "+at+" 0 R"),ee("/W "+g.API.PDFObject.convert(Xe)),ee("/CIDToGIDMap /Identity"),ee("/DW 1000"),ee("/Subtype /CIDFontType2"),ee("/CIDSystemInfo"),ee("<<"),ee("/Supplement 0"),ee("/Registry (Adobe)"),ee("/Ordering ("+V.encoding+")"),ee(">>"),ee(">>"),ee("endobj"),V.objectNumber=Ee(),ee("<<"),ee("/Type /Font"),ee("/Subtype /Type0"),ee("/ToUnicode "+Pe+" 0 R"),ee("/BaseFont /"+xe(V.fontName)),ee("/Encoding /"+V.encoding),ee("/DescendantFonts ["+Ft+" 0 R]"),ee(">>"),ee("endobj"),V.isAlreadyPutted=!0}})(b)}]),u.events.push(["putFont",function(b){(function(z){var V=z.font,ee=z.out,Ee=z.newObject,ot=z.putStream;if(V.metadata instanceof g.API.TTFFont&&V.encoding==="WinAnsiEncoding"){for(var Xe=V.metadata.rawData,gt="",me=0;me<Xe.length;me++)gt+=String.fromCharCode(Xe[me]);var Ht=Ee();ot({data:gt,addLength1:!0,objectId:Ht}),ee("endobj");var je=Ee();ot({data:v(V.metadata.toUnicode),addLength1:!0,objectId:je}),ee("endobj");var Pe=Ee();ee("<<"),ee("/Descent "+V.metadata.decender),ee("/CapHeight "+V.metadata.capHeight),ee("/StemV "+V.metadata.stemV),ee("/Type /FontDescriptor"),ee("/FontFile2 "+Ht+" 0 R"),ee("/Flags 96"),ee("/FontBBox "+g.API.PDFObject.convert(V.metadata.bbox)),ee("/FontName /"+xe(V.fontName)),ee("/ItalicAngle "+V.metadata.italicAngle),ee("/Ascent "+V.metadata.ascender),ee(">>"),ee("endobj"),V.objectNumber=Ee();for(var at=0;at<V.metadata.hmtx.widths.length;at++)V.metadata.hmtx.widths[at]=parseInt(V.metadata.hmtx.widths[at]*(1e3/V.metadata.head.unitsPerEm));ee("<</Subtype/TrueType/Type/Font/ToUnicode "+je+" 0 R/BaseFont/"+xe(V.fontName)+"/FontDescriptor "+Pe+" 0 R/Encoding/"+V.encoding+" /FirstChar 29 /LastChar 255 /Widths "+g.API.PDFObject.convert(V.metadata.hmtx.widths)+">>"),ee("endobj"),V.isAlreadyPutted=!0}})(b)}]);var O=function(b){var z,V=b.text||"",ee=b.x,Ee=b.y,ot=b.options||{},Xe=b.mutex||{},gt=Xe.pdfEscape,me=Xe.activeFontKey,Ht=Xe.fonts,je=me,Pe="",at=0,Ft="",cr=Ht[je].encoding;if(Ht[je].encoding!=="Identity-H")return{text:V,x:ee,y:Ee,options:ot,mutex:Xe};for(Ft=V,je=me,Array.isArray(V)&&(Ft=V[0]),at=0;at<Ft.length;at+=1)Ht[je].metadata.hasOwnProperty("cmap")&&(z=Ht[je].metadata.cmap.unicode.codeMap[Ft[at].charCodeAt(0)]),z||Ft[at].charCodeAt(0)<256&&Ht[je].metadata.hasOwnProperty("Unicode")?Pe+=Ft[at]:Pe+="";var Rr="";return parseInt(je.slice(1))<14||cr==="WinAnsiEncoding"?Rr=gt(Pe,je).split("").map(function(Vr){return Vr.charCodeAt(0).toString(16)}).join(""):cr==="Identity-H"&&(Rr=d(Pe,Ht[je])),Xe.isHex=!0,{text:Rr,x:ee,y:Ee,options:ot,mutex:Xe}};u.events.push(["postProcessText",function(b){var z=b.text||"",V=[],ee={text:z,x:b.x,y:b.y,options:b.options,mutex:b.mutex};if(Array.isArray(z)){var Ee=0;for(Ee=0;Ee<z.length;Ee+=1)Array.isArray(z[Ee])&&z[Ee].length===3?V.push([O(Object.assign({},ee,{text:z[Ee][0]})).text,z[Ee][1],z[Ee][2]]):V.push(O(Object.assign({},ee,{text:z[Ee]})).text);b.text=V}else b.text=O(Object.assign({},ee,{text:z})).text}])}(H),function(g){var u=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};g.existsFileInVFS=function(d){return u.call(this),this.internal.vFS[d]!==void 0},g.addFileToVFS=function(d,v){return u.call(this),this.internal.vFS[d]=v,this},g.getFileFromVFS=function(d){return u.call(this),this.internal.vFS[d]!==void 0?this.internal.vFS[d]:null}}(H.API),function(g){g.__bidiEngine__=g.prototype.__bidiEngine__=function(v){var O,b,z,V,ee,Ee,ot,Xe=u,gt=[[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]],me=[[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]],Ht={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},je={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Pe=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],at=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)$/),Ft=!1,cr=0;this.__bidiEngine__={};var Rr=function(dt){var ut=dt.charCodeAt(),rr=ut>>8,Pt=je[rr];return Pt!==void 0?Xe[256*Pt+(255&ut)]:rr===252||rr===253?"AL":at.test(rr)?"L":rr===8?"R":"N"},Vr=function(dt){for(var ut,rr=0;rr<dt.length;rr++){if((ut=Rr(dt.charAt(rr)))==="L")return!1;if(ut==="R")return!0}return!1},Mr=function(dt,ut,rr,Pt){var Ve,ve,$t,Ct,Xt=ut[Pt];switch(Xt){case"L":case"R":Ft=!1;break;case"N":case"AN":break;case"EN":Ft&&(Xt="AN");break;case"AL":Ft=!0,Xt="R";break;case"WS":Xt="N";break;case"CS":Pt<1||Pt+1>=ut.length||(Ve=rr[Pt-1])!=="EN"&&Ve!=="AN"||(ve=ut[Pt+1])!=="EN"&&ve!=="AN"?Xt="N":Ft&&(ve="AN"),Xt=ve===Ve?ve:"N";break;case"ES":Xt=(Ve=Pt>0?rr[Pt-1]:"B")==="EN"&&Pt+1<ut.length&&ut[Pt+1]==="EN"?"EN":"N";break;case"ET":if(Pt>0&&rr[Pt-1]==="EN"){Xt="EN";break}if(Ft){Xt="N";break}for($t=Pt+1,Ct=ut.length;$t<Ct&&ut[$t]==="ET";)$t++;Xt=$t<Ct&&ut[$t]==="EN"?"EN":"N";break;case"NSM":if(z&&!V){for(Ct=ut.length,$t=Pt+1;$t<Ct&&ut[$t]==="NSM";)$t++;if($t<Ct){var Gt=dt[Pt],Sr=Gt>=1425&&Gt<=2303||Gt===64286;if(Ve=ut[$t],Sr&&(Ve==="R"||Ve==="AL")){Xt="R";break}}}Xt=Pt<1||(Ve=ut[Pt-1])==="B"?"N":rr[Pt-1];break;case"B":Ft=!1,O=!0,Xt=cr;break;case"S":b=!0,Xt="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Ft=!1;break;case"BN":Xt="N"}return Xt},wr=function(dt,ut,rr){var Pt=dt.split("");return rr&&Zt(Pt,rr,{hiLevel:cr}),Pt.reverse(),ut&&ut.reverse(),Pt.join("")},Zt=function(dt,ut,rr){var Pt,Ve,ve,$t,Ct,Xt=-1,Gt=dt.length,Sr=0,be=[],nt=cr?me:gt,rt=[];for(Ft=!1,O=!1,b=!1,Ve=0;Ve<Gt;Ve++)rt[Ve]=Rr(dt[Ve]);for(ve=0;ve<Gt;ve++){if(Ct=Sr,be[ve]=Mr(dt,rt,be,ve),Pt=240&(Sr=nt[Ct][Ht[be[ve]]]),Sr&=15,ut[ve]=$t=nt[Sr][5],Pt>0)if(Pt===16){for(Ve=Xt;Ve<ve;Ve++)ut[Ve]=1;Xt=-1}else Xt=-1;if(nt[Sr][6])Xt===-1&&(Xt=ve);else if(Xt>-1){for(Ve=Xt;Ve<ve;Ve++)ut[Ve]=$t;Xt=-1}rt[ve]==="B"&&(ut[ve]=0),rr.hiLevel|=$t}b&&function(kt,Yt,Lt){for(var Bt=0;Bt<Lt;Bt++)if(kt[Bt]==="S"){Yt[Bt]=cr;for(var Qt=Bt-1;Qt>=0&&kt[Qt]==="WS";Qt--)Yt[Qt]=cr}}(rt,ut,Gt)},_t=function(dt,ut,rr,Pt,Ve){if(!(Ve.hiLevel<dt)){if(dt===1&&cr===1&&!O)return ut.reverse(),void(rr&&rr.reverse());for(var ve,$t,Ct,Xt,Gt=ut.length,Sr=0;Sr<Gt;){if(Pt[Sr]>=dt){for(Ct=Sr+1;Ct<Gt&&Pt[Ct]>=dt;)Ct++;for(Xt=Sr,$t=Ct-1;Xt<$t;Xt++,$t--)ve=ut[Xt],ut[Xt]=ut[$t],ut[$t]=ve,rr&&(ve=rr[Xt],rr[Xt]=rr[$t],rr[$t]=ve);Sr=Ct}Sr++}}},Br=function(dt,ut,rr){var Pt=dt.split(""),Ve={hiLevel:cr};return rr||(rr=[]),Zt(Pt,rr,Ve),function(ve,$t,Ct){if(Ct.hiLevel!==0&&ot)for(var Xt,Gt=0;Gt<ve.length;Gt++)$t[Gt]===1&&(Xt=Pe.indexOf(ve[Gt]))>=0&&(ve[Gt]=Pe[Xt+1])}(Pt,rr,Ve),_t(2,Pt,ut,rr,Ve),_t(1,Pt,ut,rr,Ve),Pt.join("")};return this.__bidiEngine__.doBidiReorder=function(dt,ut,rr){if(function(Ve,ve){if(ve)for(var $t=0;$t<Ve.length;$t++)ve[$t]=$t;V===void 0&&(V=Vr(Ve)),Ee===void 0&&(Ee=Vr(Ve))}(dt,ut),z||!ee||Ee)if(z&&ee&&V^Ee)cr=V?1:0,dt=wr(dt,ut,rr);else if(!z&&ee&&Ee)cr=V?1:0,dt=Br(dt,ut,rr),dt=wr(dt,ut);else if(!z||V||ee||Ee){if(z&&!ee&&V^Ee)dt=wr(dt,ut),V?(cr=0,dt=Br(dt,ut,rr)):(cr=1,dt=Br(dt,ut,rr),dt=wr(dt,ut));else if(z&&V&&!ee&&Ee)cr=1,dt=Br(dt,ut,rr),dt=wr(dt,ut);else if(!z&&!ee&&V^Ee){var Pt=ot;V?(cr=1,dt=Br(dt,ut,rr),cr=0,ot=!1,dt=Br(dt,ut,rr),ot=Pt):(cr=0,dt=Br(dt,ut,rr),dt=wr(dt,ut),cr=1,ot=!1,dt=Br(dt,ut,rr),ot=Pt,dt=wr(dt,ut))}}else cr=0,dt=Br(dt,ut,rr);else cr=V?1:0,dt=Br(dt,ut,rr);return dt},this.__bidiEngine__.setOptions=function(dt){dt&&(z=dt.isInputVisual,ee=dt.isOutputVisual,V=dt.isInputRtl,Ee=dt.isOutputRtl,ot=dt.isSymmetricSwapping)},this.__bidiEngine__.setOptions(v),this.__bidiEngine__};var u=["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"],d=new g.__bidiEngine__({isInputVisual:!0});g.API.events.push(["postProcessText",function(v){var O=v.text;v.x,v.y;var b=v.options||{};v.mutex,b.lang;var z=[];if(b.isInputVisual=typeof b.isInputVisual!="boolean"||b.isInputVisual,d.setOptions(b),Object.prototype.toString.call(O)==="[object Array]"){var V=0;for(z=[],V=0;V<O.length;V+=1)Object.prototype.toString.call(O[V])==="[object Array]"?z.push([d.doBidiReorder(O[V][0]),O[V][1],O[V][2]]):z.push([d.doBidiReorder(O[V])]);v.text=z}else v.text=d.doBidiReorder(O);d.setOptions({isInputVisual:!0})}])}(H),H.API.TTFFont=function(){function g(u){var d;if(this.rawData=u,d=this.contents=new or(u),this.contents.pos=4,d.readString(4)==="ttcf")throw new Error("TTCF not supported.");d.pos=0,this.parse(),this.subset=new Un(this),this.registerTTF()}return g.open=function(u){return new g(u)},g.prototype.parse=function(){return this.directory=new ir(this.contents),this.head=new Hr(this),this.name=new Pn(this),this.cmap=new ln(this),this.toUnicode={},this.hhea=new pn(this),this.maxp=new Xn(this),this.hmtx=new dn(this),this.post=new Dn(this),this.os2=new En(this),this.loca=new Yn(this),this.glyf=new Gn(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]},g.prototype.registerTTF=function(){var u,d,v,O,b;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var z,V,ee,Ee;for(Ee=[],z=0,V=(ee=this.bbox).length;z<V;z++)u=ee[z],Ee.push(Math.round(u*this.scaleFactor));return Ee}.call(this),this.stemV=0,this.post.exists?(v=255&(O=this.post.italic_angle),32768&(d=O>>16)&&(d=-(1+(65535^d))),this.italicAngle=+(d+"."+v)):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=(b=this.familyClass)===1||b===2||b===3||b===4||b===5||b===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")},g.prototype.characterToGlyph=function(u){var d;return((d=this.cmap.unicode)!=null?d.codeMap[u]:void 0)||0},g.prototype.widthOfGlyph=function(u){var d;return d=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(u).advance*d},g.prototype.widthOfString=function(u,d,v){var O,b,z,V;for(z=0,b=0,V=(u=""+u).length;0<=V?b<V:b>V;b=0<=V?++b:--b)O=u.charCodeAt(b),z+=this.widthOfGlyph(this.characterToGlyph(O))+v*(1e3/d)||0;return z*(d/1e3)},g.prototype.lineHeight=function(u,d){var v;return d==null&&(d=!1),v=d?this.lineGap:0,(this.ascender+v-this.decender)/1e3*u},g}();var tr,or=function(){function g(u){this.data=u!=null?u:[],this.pos=0,this.length=this.data.length}return g.prototype.readByte=function(){return this.data[this.pos++]},g.prototype.writeByte=function(u){return this.data[this.pos++]=u},g.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},g.prototype.writeUInt32=function(u){return this.writeByte(u>>>24&255),this.writeByte(u>>16&255),this.writeByte(u>>8&255),this.writeByte(255&u)},g.prototype.readInt32=function(){var u;return(u=this.readUInt32())>=2147483648?u-4294967296:u},g.prototype.writeInt32=function(u){return u<0&&(u+=4294967296),this.writeUInt32(u)},g.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},g.prototype.writeUInt16=function(u){return this.writeByte(u>>8&255),this.writeByte(255&u)},g.prototype.readInt16=function(){var u;return(u=this.readUInt16())>=32768?u-65536:u},g.prototype.writeInt16=function(u){return u<0&&(u+=65536),this.writeUInt16(u)},g.prototype.readString=function(u){var d,v;for(v=[],d=0;0<=u?d<u:d>u;d=0<=u?++d:--d)v[d]=String.fromCharCode(this.readByte());return v.join("")},g.prototype.writeString=function(u){var d,v,O;for(O=[],d=0,v=u.length;0<=v?d<v:d>v;d=0<=v?++d:--d)O.push(this.writeByte(u.charCodeAt(d)));return O},g.prototype.readShort=function(){return this.readInt16()},g.prototype.writeShort=function(u){return this.writeInt16(u)},g.prototype.readLongLong=function(){var u,d,v,O,b,z,V,ee;return u=this.readByte(),d=this.readByte(),v=this.readByte(),O=this.readByte(),b=this.readByte(),z=this.readByte(),V=this.readByte(),ee=this.readByte(),128&u?-1*(72057594037927940*(255^u)+281474976710656*(255^d)+1099511627776*(255^v)+4294967296*(255^O)+16777216*(255^b)+65536*(255^z)+256*(255^V)+(255^ee)+1):72057594037927940*u+281474976710656*d+1099511627776*v+4294967296*O+16777216*b+65536*z+256*V+ee},g.prototype.writeLongLong=function(u){var d,v;return d=Math.floor(u/4294967296),v=4294967295&u,this.writeByte(d>>24&255),this.writeByte(d>>16&255),this.writeByte(d>>8&255),this.writeByte(255&d),this.writeByte(v>>24&255),this.writeByte(v>>16&255),this.writeByte(v>>8&255),this.writeByte(255&v)},g.prototype.readInt=function(){return this.readInt32()},g.prototype.writeInt=function(u){return this.writeInt32(u)},g.prototype.read=function(u){var d,v;for(d=[],v=0;0<=u?v<u:v>u;v=0<=u?++v:--v)d.push(this.readByte());return d},g.prototype.write=function(u){var d,v,O,b;for(b=[],v=0,O=u.length;v<O;v++)d=u[v],b.push(this.writeByte(d));return b},g}(),ir=function(){var g;function u(d){var v,O,b;for(this.scalarType=d.readInt(),this.tableCount=d.readShort(),this.searchRange=d.readShort(),this.entrySelector=d.readShort(),this.rangeShift=d.readShort(),this.tables={},O=0,b=this.tableCount;0<=b?O<b:O>b;O=0<=b?++O:--O)v={tag:d.readString(4),checksum:d.readInt(),offset:d.readInt(),length:d.readInt()},this.tables[v.tag]=v}return u.prototype.encode=function(d){var v,O,b,z,V,ee,Ee,ot,Xe,gt,me,Ht,je;for(je in me=Object.keys(d).length,ee=Math.log(2),Xe=16*Math.floor(Math.log(me)/ee),z=Math.floor(Xe/ee),ot=16*me-Xe,(O=new or).writeInt(this.scalarType),O.writeShort(me),O.writeShort(Xe),O.writeShort(z),O.writeShort(ot),b=16*me,Ee=O.pos+b,V=null,Ht=[],d)for(gt=d[je],O.writeString(je),O.writeInt(g(gt)),O.writeInt(Ee),O.writeInt(gt.length),Ht=Ht.concat(gt),je==="head"&&(V=Ee),Ee+=gt.length;Ee%4;)Ht.push(0),Ee++;return O.write(Ht),v=2981146554-g(O.data),O.pos=V+8,O.writeUInt32(v),O.data},g=function(d){var v,O,b,z;for(d=In.call(d);d.length%4;)d.push(0);for(b=new or(d),O=0,v=0,z=d.length;v<z;v=v+=4)O+=b.readUInt32();return 4294967295&O},u}(),Pr={}.hasOwnProperty,tn=function(g,u){for(var d in u)Pr.call(u,d)&&(g[d]=u[d]);function v(){this.constructor=g}return v.prototype=u.prototype,g.prototype=new v,g.__super__=u.prototype,g};tr=function(){function g(u){var d;this.file=u,d=this.file.directory.tables[this.tag],this.exists=!!d,d&&(this.offset=d.offset,this.length=d.length,this.parse(this.file.contents))}return g.prototype.parse=function(){},g.prototype.encode=function(){},g.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},g}();var Hr=function(g){function u(){return u.__super__.constructor.apply(this,arguments)}return tn(u,tr),u.prototype.tag="head",u.prototype.parse=function(d){return d.pos=this.offset,this.version=d.readInt(),this.revision=d.readInt(),this.checkSumAdjustment=d.readInt(),this.magicNumber=d.readInt(),this.flags=d.readShort(),this.unitsPerEm=d.readShort(),this.created=d.readLongLong(),this.modified=d.readLongLong(),this.xMin=d.readShort(),this.yMin=d.readShort(),this.xMax=d.readShort(),this.yMax=d.readShort(),this.macStyle=d.readShort(),this.lowestRecPPEM=d.readShort(),this.fontDirectionHint=d.readShort(),this.indexToLocFormat=d.readShort(),this.glyphDataFormat=d.readShort()},u.prototype.encode=function(d){var v;return(v=new or).writeInt(this.version),v.writeInt(this.revision),v.writeInt(this.checkSumAdjustment),v.writeInt(this.magicNumber),v.writeShort(this.flags),v.writeShort(this.unitsPerEm),v.writeLongLong(this.created),v.writeLongLong(this.modified),v.writeShort(this.xMin),v.writeShort(this.yMin),v.writeShort(this.xMax),v.writeShort(this.yMax),v.writeShort(this.macStyle),v.writeShort(this.lowestRecPPEM),v.writeShort(this.fontDirectionHint),v.writeShort(d),v.writeShort(this.glyphDataFormat),v.data},u}(),Lr=function(){function g(u,d){var v,O,b,z,V,ee,Ee,ot,Xe,gt,me,Ht,je,Pe,at,Ft,cr;switch(this.platformID=u.readUInt16(),this.encodingID=u.readShort(),this.offset=d+u.readInt(),Xe=u.pos,u.pos=this.offset,this.format=u.readUInt16(),this.length=u.readUInt16(),this.language=u.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(ee=0;ee<256;++ee)this.codeMap[ee]=u.readByte();break;case 4:for(me=u.readUInt16(),gt=me/2,u.pos+=6,b=function(){var Rr,Vr;for(Vr=[],ee=Rr=0;0<=gt?Rr<gt:Rr>gt;ee=0<=gt?++Rr:--Rr)Vr.push(u.readUInt16());return Vr}(),u.pos+=2,je=function(){var Rr,Vr;for(Vr=[],ee=Rr=0;0<=gt?Rr<gt:Rr>gt;ee=0<=gt?++Rr:--Rr)Vr.push(u.readUInt16());return Vr}(),Ee=function(){var Rr,Vr;for(Vr=[],ee=Rr=0;0<=gt?Rr<gt:Rr>gt;ee=0<=gt?++Rr:--Rr)Vr.push(u.readUInt16());return Vr}(),ot=function(){var Rr,Vr;for(Vr=[],ee=Rr=0;0<=gt?Rr<gt:Rr>gt;ee=0<=gt?++Rr:--Rr)Vr.push(u.readUInt16());return Vr}(),O=(this.length-u.pos+this.offset)/2,V=function(){var Rr,Vr;for(Vr=[],ee=Rr=0;0<=O?Rr<O:Rr>O;ee=0<=O?++Rr:--Rr)Vr.push(u.readUInt16());return Vr}(),ee=at=0,cr=b.length;at<cr;ee=++at)for(Pe=b[ee],v=Ft=Ht=je[ee];Ht<=Pe?Ft<=Pe:Ft>=Pe;v=Ht<=Pe?++Ft:--Ft)ot[ee]===0?z=v+Ee[ee]:(z=V[ot[ee]/2+(v-Ht)-(gt-ee)]||0)!==0&&(z+=Ee[ee]),this.codeMap[v]=65535&z}u.pos=Xe}return g.encode=function(u,d){var v,O,b,z,V,ee,Ee,ot,Xe,gt,me,Ht,je,Pe,at,Ft,cr,Rr,Vr,Mr,wr,Zt,_t,Br,dt,ut,rr,Pt,Ve,ve,$t,Ct,Xt,Gt,Sr,be,nt,rt,kt,Yt,Lt,Bt,Qt,Ur,Wt,Fr;switch(Pt=new or,z=Object.keys(u).sort(function(Xr,gn){return Xr-gn}),d){case"macroman":for(je=0,Pe=function(){var Xr=[];for(Ht=0;Ht<256;++Ht)Xr.push(0);return Xr}(),Ft={0:0},b={},Ve=0,Xt=z.length;Ve<Xt;Ve++)Ft[Qt=u[O=z[Ve]]]==null&&(Ft[Qt]=++je),b[O]={old:u[O],new:Ft[u[O]]},Pe[O]=Ft[u[O]];return Pt.writeUInt16(1),Pt.writeUInt16(0),Pt.writeUInt32(12),Pt.writeUInt16(0),Pt.writeUInt16(262),Pt.writeUInt16(0),Pt.write(Pe),{charMap:b,subtable:Pt.data,maxGlyphID:je+1};case"unicode":for(ut=[],Xe=[],cr=0,Ft={},v={},at=Ee=null,ve=0,Gt=z.length;ve<Gt;ve++)Ft[Vr=u[O=z[ve]]]==null&&(Ft[Vr]=++cr),v[O]={old:Vr,new:Ft[Vr]},V=Ft[Vr]-O,at!=null&&V===Ee||(at&&Xe.push(at),ut.push(O),Ee=V),at=O;for(at&&Xe.push(at),Xe.push(65535),ut.push(65535),Br=2*(_t=ut.length),Zt=2*Math.pow(Math.log(_t)/Math.LN2,2),gt=Math.log(Zt/2)/Math.LN2,wr=2*_t-Zt,ee=[],Mr=[],me=[],Ht=$t=0,Sr=ut.length;$t<Sr;Ht=++$t){if(dt=ut[Ht],ot=Xe[Ht],dt===65535){ee.push(0),Mr.push(0);break}if(dt-(rr=v[dt].new)>=32768)for(ee.push(0),Mr.push(2*(me.length+_t-Ht)),O=Ct=dt;dt<=ot?Ct<=ot:Ct>=ot;O=dt<=ot?++Ct:--Ct)me.push(v[O].new);else ee.push(rr-dt),Mr.push(0)}for(Pt.writeUInt16(3),Pt.writeUInt16(1),Pt.writeUInt32(12),Pt.writeUInt16(4),Pt.writeUInt16(16+8*_t+2*me.length),Pt.writeUInt16(0),Pt.writeUInt16(Br),Pt.writeUInt16(Zt),Pt.writeUInt16(gt),Pt.writeUInt16(wr),Lt=0,be=Xe.length;Lt<be;Lt++)O=Xe[Lt],Pt.writeUInt16(O);for(Pt.writeUInt16(0),Bt=0,nt=ut.length;Bt<nt;Bt++)O=ut[Bt],Pt.writeUInt16(O);for(Ur=0,rt=ee.length;Ur<rt;Ur++)V=ee[Ur],Pt.writeUInt16(V);for(Wt=0,kt=Mr.length;Wt<kt;Wt++)Rr=Mr[Wt],Pt.writeUInt16(Rr);for(Fr=0,Yt=me.length;Fr<Yt;Fr++)je=me[Fr],Pt.writeUInt16(je);return{charMap:v,subtable:Pt.data,maxGlyphID:cr+1}}},g}(),ln=function(g){function u(){return u.__super__.constructor.apply(this,arguments)}return tn(u,tr),u.prototype.tag="cmap",u.prototype.parse=function(d){var v,O,b;for(d.pos=this.offset,this.version=d.readUInt16(),b=d.readUInt16(),this.tables=[],this.unicode=null,O=0;0<=b?O<b:O>b;O=0<=b?++O:--O)v=new Lr(d,this.offset),this.tables.push(v),v.isUnicode&&this.unicode==null&&(this.unicode=v);return!0},u.encode=function(d,v){var O,b;return v==null&&(v="macroman"),O=Lr.encode(d,v),(b=new or).writeUInt16(0),b.writeUInt16(1),O.table=b.data.concat(O.subtable),O},u}(),pn=function(g){function u(){return u.__super__.constructor.apply(this,arguments)}return tn(u,tr),u.prototype.tag="hhea",u.prototype.parse=function(d){return d.pos=this.offset,this.version=d.readInt(),this.ascender=d.readShort(),this.decender=d.readShort(),this.lineGap=d.readShort(),this.advanceWidthMax=d.readShort(),this.minLeftSideBearing=d.readShort(),this.minRightSideBearing=d.readShort(),this.xMaxExtent=d.readShort(),this.caretSlopeRise=d.readShort(),this.caretSlopeRun=d.readShort(),this.caretOffset=d.readShort(),d.pos+=8,this.metricDataFormat=d.readShort(),this.numberOfMetrics=d.readUInt16()},u}(),En=function(g){function u(){return u.__super__.constructor.apply(this,arguments)}return tn(u,tr),u.prototype.tag="OS/2",u.prototype.parse=function(d){if(d.pos=this.offset,this.version=d.readUInt16(),this.averageCharWidth=d.readShort(),this.weightClass=d.readUInt16(),this.widthClass=d.readUInt16(),this.type=d.readShort(),this.ySubscriptXSize=d.readShort(),this.ySubscriptYSize=d.readShort(),this.ySubscriptXOffset=d.readShort(),this.ySubscriptYOffset=d.readShort(),this.ySuperscriptXSize=d.readShort(),this.ySuperscriptYSize=d.readShort(),this.ySuperscriptXOffset=d.readShort(),this.ySuperscriptYOffset=d.readShort(),this.yStrikeoutSize=d.readShort(),this.yStrikeoutPosition=d.readShort(),this.familyClass=d.readShort(),this.panose=function(){var v,O;for(O=[],v=0;v<10;++v)O.push(d.readByte());return O}(),this.charRange=function(){var v,O;for(O=[],v=0;v<4;++v)O.push(d.readInt());return O}(),this.vendorID=d.readString(4),this.selection=d.readShort(),this.firstCharIndex=d.readShort(),this.lastCharIndex=d.readShort(),this.version>0&&(this.ascent=d.readShort(),this.descent=d.readShort(),this.lineGap=d.readShort(),this.winAscent=d.readShort(),this.winDescent=d.readShort(),this.codePageRange=function(){var v,O;for(O=[],v=0;v<2;v=++v)O.push(d.readInt());return O}(),this.version>1))return this.xHeight=d.readShort(),this.capHeight=d.readShort(),this.defaultChar=d.readShort(),this.breakChar=d.readShort(),this.maxContext=d.readShort()},u}(),Dn=function(g){function u(){return u.__super__.constructor.apply(this,arguments)}return tn(u,tr),u.prototype.tag="post",u.prototype.parse=function(d){var v,O,b;switch(d.pos=this.offset,this.format=d.readInt(),this.italicAngle=d.readInt(),this.underlinePosition=d.readShort(),this.underlineThickness=d.readShort(),this.isFixedPitch=d.readInt(),this.minMemType42=d.readInt(),this.maxMemType42=d.readInt(),this.minMemType1=d.readInt(),this.maxMemType1=d.readInt(),this.format){case 65536:break;case 131072:var z;for(O=d.readUInt16(),this.glyphNameIndex=[],z=0;0<=O?z<O:z>O;z=0<=O?++z:--z)this.glyphNameIndex.push(d.readUInt16());for(this.names=[],b=[];d.pos<this.offset+this.length;)v=d.readByte(),b.push(this.names.push(d.readString(v)));return b;case 151552:return O=d.readUInt16(),this.offsets=d.read(O);case 196608:break;case 262144:return this.map=function(){var V,ee,Ee;for(Ee=[],z=V=0,ee=this.file.maxp.numGlyphs;0<=ee?V<ee:V>ee;z=0<=ee?++V:--V)Ee.push(d.readUInt32());return Ee}.call(this)}},u}(),$n=function(g,u){this.raw=g,this.length=g.length,this.platformID=u.platformID,this.encodingID=u.encodingID,this.languageID=u.languageID},Pn=function(g){function u(){return u.__super__.constructor.apply(this,arguments)}return tn(u,tr),u.prototype.tag="name",u.prototype.parse=function(d){var v,O,b,z,V,ee,Ee,ot,Xe,gt,me;for(d.pos=this.offset,d.readShort(),v=d.readShort(),ee=d.readShort(),O=[],z=0;0<=v?z<v:z>v;z=0<=v?++z:--z)O.push({platformID:d.readShort(),encodingID:d.readShort(),languageID:d.readShort(),nameID:d.readShort(),length:d.readShort(),offset:this.offset+ee+d.readShort()});for(Ee={},z=Xe=0,gt=O.length;Xe<gt;z=++Xe)b=O[z],d.pos=b.offset,ot=d.readString(b.length),V=new $n(ot,b),Ee[me=b.nameID]==null&&(Ee[me]=[]),Ee[b.nameID].push(V);this.strings=Ee,this.copyright=Ee[0],this.fontFamily=Ee[1],this.fontSubfamily=Ee[2],this.uniqueSubfamily=Ee[3],this.fontName=Ee[4],this.version=Ee[5];try{this.postscriptName=Ee[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(Ht){this.postscriptName=Ee[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=Ee[7],this.manufacturer=Ee[8],this.designer=Ee[9],this.description=Ee[10],this.vendorUrl=Ee[11],this.designerUrl=Ee[12],this.license=Ee[13],this.licenseUrl=Ee[14],this.preferredFamily=Ee[15],this.preferredSubfamily=Ee[17],this.compatibleFull=Ee[18],this.sampleText=Ee[19]},u}(),Xn=function(g){function u(){return u.__super__.constructor.apply(this,arguments)}return tn(u,tr),u.prototype.tag="maxp",u.prototype.parse=function(d){return d.pos=this.offset,this.version=d.readInt(),this.numGlyphs=d.readUInt16(),this.maxPoints=d.readUInt16(),this.maxContours=d.readUInt16(),this.maxCompositePoints=d.readUInt16(),this.maxComponentContours=d.readUInt16(),this.maxZones=d.readUInt16(),this.maxTwilightPoints=d.readUInt16(),this.maxStorage=d.readUInt16(),this.maxFunctionDefs=d.readUInt16(),this.maxInstructionDefs=d.readUInt16(),this.maxStackElements=d.readUInt16(),this.maxSizeOfInstructions=d.readUInt16(),this.maxComponentElements=d.readUInt16(),this.maxComponentDepth=d.readUInt16()},u}(),dn=function(g){function u(){return u.__super__.constructor.apply(this,arguments)}return tn(u,tr),u.prototype.tag="hmtx",u.prototype.parse=function(d){var v,O,b,z,V,ee,Ee;for(d.pos=this.offset,this.metrics=[],v=0,ee=this.file.hhea.numberOfMetrics;0<=ee?v<ee:v>ee;v=0<=ee?++v:--v)this.metrics.push({advance:d.readUInt16(),lsb:d.readInt16()});for(b=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var ot,Xe;for(Xe=[],v=ot=0;0<=b?ot<b:ot>b;v=0<=b?++ot:--ot)Xe.push(d.readInt16());return Xe}(),this.widths=function(){var ot,Xe,gt,me;for(me=[],ot=0,Xe=(gt=this.metrics).length;ot<Xe;ot++)z=gt[ot],me.push(z.advance);return me}.call(this),O=this.widths[this.widths.length-1],Ee=[],v=V=0;0<=b?V<b:V>b;v=0<=b?++V:--V)Ee.push(this.widths.push(O));return Ee},u.prototype.forGlyph=function(d){return d in this.metrics?this.metrics[d]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[d-this.metrics.length]}},u}(),In=[].slice,Gn=function(g){function u(){return u.__super__.constructor.apply(this,arguments)}return tn(u,tr),u.prototype.tag="glyf",u.prototype.parse=function(){return this.cache={}},u.prototype.glyphFor=function(d){var v,O,b,z,V,ee,Ee,ot,Xe,gt;return d in this.cache?this.cache[d]:(z=this.file.loca,v=this.file.contents,O=z.indexOf(d),(b=z.lengthOf(d))===0?this.cache[d]=null:(v.pos=this.offset+O,V=(ee=new or(v.read(b))).readShort(),ot=ee.readShort(),gt=ee.readShort(),Ee=ee.readShort(),Xe=ee.readShort(),this.cache[d]=V===-1?new Nn(ee,ot,gt,Ee,Xe):new ea(ee,V,ot,gt,Ee,Xe),this.cache[d]))},u.prototype.encode=function(d,v,O){var b,z,V,ee,Ee;for(V=[],z=[],ee=0,Ee=v.length;ee<Ee;ee++)b=d[v[ee]],z.push(V.length),b&&(V=V.concat(b.encode(O)));return z.push(V.length),{table:V,offsets:z}},u}(),ea=function(){function g(u,d,v,O,b,z){this.raw=u,this.numberOfContours=d,this.xMin=v,this.yMin=O,this.xMax=b,this.yMax=z,this.compound=!1}return g.prototype.encode=function(){return this.raw.data},g}(),Nn=function(){function g(u,d,v,O,b){var z,V;for(this.raw=u,this.xMin=d,this.yMin=v,this.xMax=O,this.yMax=b,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],z=this.raw;V=z.readShort(),this.glyphOffsets.push(z.pos),this.glyphIDs.push(z.readUInt16()),32&V;)z.pos+=1&V?4:2,128&V?z.pos+=8:64&V?z.pos+=4:8&V&&(z.pos+=2)}return g.prototype.encode=function(){var u,d,v;for(d=new or(In.call(this.raw.data)),u=0,v=this.glyphIDs.length;u<v;++u)d.pos=this.glyphOffsets[u];return d.data},g}(),Yn=function(g){function u(){return u.__super__.constructor.apply(this,arguments)}return tn(u,tr),u.prototype.tag="loca",u.prototype.parse=function(d){var v,O;return d.pos=this.offset,v=this.file.head.indexToLocFormat,this.offsets=v===0?function(){var b,z;for(z=[],O=0,b=this.length;O<b;O+=2)z.push(2*d.readUInt16());return z}.call(this):function(){var b,z;for(z=[],O=0,b=this.length;O<b;O+=4)z.push(d.readUInt32());return z}.call(this)},u.prototype.indexOf=function(d){return this.offsets[d]},u.prototype.lengthOf=function(d){return this.offsets[d+1]-this.offsets[d]},u.prototype.encode=function(d,v){for(var O=new Uint32Array(this.offsets.length),b=0,z=0,V=0;V<O.length;++V)if(O[V]=b,z<v.length&&v[z]==V){++z,O[V]=b;var ee=this.offsets[V],Ee=this.offsets[V+1]-ee;Ee>0&&(b+=Ee)}for(var ot=new Array(4*O.length),Xe=0;Xe<O.length;++Xe)ot[4*Xe+3]=255&O[Xe],ot[4*Xe+2]=(65280&O[Xe])>>8,ot[4*Xe+1]=(16711680&O[Xe])>>16,ot[4*Xe]=(4278190080&O[Xe])>>24;return ot},u}(),Un=function(){function g(u){this.font=u,this.subset={},this.unicodes={},this.next=33}return g.prototype.generateCmap=function(){var u,d,v,O,b;for(d in O=this.font.cmap.tables[0].codeMap,u={},b=this.subset)v=b[d],u[d]=O[v];return u},g.prototype.glyphsFor=function(u){var d,v,O,b,z,V,ee;for(O={},z=0,V=u.length;z<V;z++)O[b=u[z]]=this.font.glyf.glyphFor(b);for(b in d=[],O)(v=O[b])!=null&&v.compound&&d.push.apply(d,v.glyphIDs);if(d.length>0)for(b in ee=this.glyphsFor(d))v=ee[b],O[b]=v;return O},g.prototype.encode=function(u,d){var v,O,b,z,V,ee,Ee,ot,Xe,gt,me,Ht,je,Pe,at;for(O in v=ln.encode(this.generateCmap(),"unicode"),z=this.glyphsFor(u),me={0:0},at=v.charMap)me[(ee=at[O]).old]=ee.new;for(Ht in gt=v.maxGlyphID,z)Ht in me||(me[Ht]=gt++);return ot=function(Ft){var cr,Rr;for(cr in Rr={},Ft)Rr[Ft[cr]]=cr;return Rr}(me),Xe=Object.keys(ot).sort(function(Ft,cr){return Ft-cr}),je=function(){var Ft,cr,Rr;for(Rr=[],Ft=0,cr=Xe.length;Ft<cr;Ft++)V=Xe[Ft],Rr.push(ot[V]);return Rr}(),b=this.font.glyf.encode(z,je,me),Ee=this.font.loca.encode(b.offsets,je),Pe={cmap:this.font.cmap.raw(),glyf:b.table,loca:Ee,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(d)},this.font.os2.exists&&(Pe["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Pe)},g}();H.API.PDFObject=function(){var g;function u(){}return g=function(d,v){return(Array(v+1).join("0")+d).slice(-v)},u.convert=function(d){var v,O,b,z;if(Array.isArray(d))return"["+function(){var V,ee,Ee;for(Ee=[],V=0,ee=d.length;V<ee;V++)v=d[V],Ee.push(u.convert(v));return Ee}().join(" ")+"]";if(typeof d=="string")return"/"+d;if(d!=null&&d.isString)return"("+d+")";if(d instanceof Date)return"(D:"+g(d.getUTCFullYear(),4)+g(d.getUTCMonth(),2)+g(d.getUTCDate(),2)+g(d.getUTCHours(),2)+g(d.getUTCMinutes(),2)+g(d.getUTCSeconds(),2)+"Z)";if({}.toString.call(d)==="[object Object]"){for(O in b=["<<"],d)z=d[O],b.push("/"+O+" "+u.convert(z));return b.push(">>"),b.join(`
`)}return""+d},u}()},86129:function(en,Jt,o){var s=o(19208).lW,qe=o(97671);(function(I){en.exports=I()})(function(){return function I(He,te,q){function Q(l,L){if(!te[l]){if(!He[l]){var W=void 0;if(!L&&W)return require(l,!0);if(y)return y(l,!0);var G=new Error("Cannot find module '"+l+"'");throw G.code="MODULE_NOT_FOUND",G}var R=te[l]={exports:{}};He[l][0].call(R.exports,function(Z){var A=He[l][1][Z];return Q(A||Z)},R,R.exports,I,He,te,q)}return te[l].exports}for(var y=void 0,U=0;U<q.length;U++)Q(q[U]);return Q}({1:[function(I,He,te){"use strict";var q=I("./utils"),Q=I("./support"),y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";te.encode=function(U){for(var l,L,W,G,R,Z,A,$=[],w=0,j=U.length,de=j,X=q.getTypeOf(U)!=="string";w<U.length;)de=j-w,W=X?(l=U[w++],L=w<j?U[w++]:0,w<j?U[w++]:0):(l=U.charCodeAt(w++),L=w<j?U.charCodeAt(w++):0,w<j?U.charCodeAt(w++):0),G=l>>2,R=(3&l)<<4|L>>4,Z=1<de?(15&L)<<2|W>>6:64,A=2<de?63&W:64,$.push(y.charAt(G)+y.charAt(R)+y.charAt(Z)+y.charAt(A));return $.join("")},te.decode=function(U){var l,L,W,G,R,Z,A=0,$=0,w="data:";if(U.substr(0,w.length)===w)throw new Error("Invalid base64 input, it looks like a data url.");var j,de=3*(U=U.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(U.charAt(U.length-1)===y.charAt(64)&&de--,U.charAt(U.length-2)===y.charAt(64)&&de--,de%1!=0)throw new Error("Invalid base64 input, bad content length.");for(j=Q.uint8array?new Uint8Array(0|de):new Array(0|de);A<U.length;)l=y.indexOf(U.charAt(A++))<<2|(G=y.indexOf(U.charAt(A++)))>>4,L=(15&G)<<4|(R=y.indexOf(U.charAt(A++)))>>2,W=(3&R)<<6|(Z=y.indexOf(U.charAt(A++))),j[$++]=l,R!==64&&(j[$++]=L),Z!==64&&(j[$++]=W);return j}},{"./support":30,"./utils":32}],2:[function(I,He,te){"use strict";var q=I("./external"),Q=I("./stream/DataWorker"),y=I("./stream/Crc32Probe"),U=I("./stream/DataLengthProbe");function l(L,W,G,R,Z){this.compressedSize=L,this.uncompressedSize=W,this.crc32=G,this.compression=R,this.compressedContent=Z}l.prototype={getContentWorker:function(){var L=new Q(q.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new U("data_length")),W=this;return L.on("end",function(){if(this.streamInfo.data_length!==W.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),L},getCompressedWorker:function(){return new Q(q.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},l.createWorkerFrom=function(L,W,G){return L.pipe(new y).pipe(new U("uncompressedSize")).pipe(W.compressWorker(G)).pipe(new U("compressedSize")).withStreamInfo("compression",W)},He.exports=l},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(I,He,te){"use strict";var q=I("./stream/GenericWorker");te.STORE={magic:"\0\0",compressWorker:function(){return new q("STORE compression")},uncompressWorker:function(){return new q("STORE decompression")}},te.DEFLATE=I("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(I,He,te){"use strict";var q=I("./utils"),Q=function(){for(var y,U=[],l=0;l<256;l++){y=l;for(var L=0;L<8;L++)y=1&y?3988292384^y>>>1:y>>>1;U[l]=y}return U}();He.exports=function(y,U){return y!==void 0&&y.length?q.getTypeOf(y)!=="string"?function(l,L,W,G){var R=Q,Z=G+W;l^=-1;for(var A=G;A<Z;A++)l=l>>>8^R[255&(l^L[A])];return-1^l}(0|U,y,y.length,0):function(l,L,W,G){var R=Q,Z=G+W;l^=-1;for(var A=G;A<Z;A++)l=l>>>8^R[255&(l^L.charCodeAt(A))];return-1^l}(0|U,y,y.length,0):0}},{"./utils":32}],5:[function(I,He,te){"use strict";te.base64=!1,te.binary=!1,te.dir=!1,te.createFolders=!0,te.date=null,te.compression=null,te.compressionOptions=null,te.comment=null,te.unixPermissions=null,te.dosPermissions=null},{}],6:[function(I,He,te){"use strict";var q=null;q=typeof Promise!="undefined"?Promise:I("lie"),He.exports={Promise:q}},{lie:37}],7:[function(I,He,te){"use strict";var q=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",Q=I("pako"),y=I("./utils"),U=I("./stream/GenericWorker"),l=q?"uint8array":"array";function L(W,G){U.call(this,"FlateWorker/"+W),this._pako=null,this._pakoAction=W,this._pakoOptions=G,this.meta={}}te.magic="\b\0",y.inherits(L,U),L.prototype.processChunk=function(W){this.meta=W.meta,this._pako===null&&this._createPako(),this._pako.push(y.transformTo(l,W.data),!1)},L.prototype.flush=function(){U.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},L.prototype.cleanUp=function(){U.prototype.cleanUp.call(this),this._pako=null},L.prototype._createPako=function(){this._pako=new Q[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var W=this;this._pako.onData=function(G){W.push({data:G,meta:W.meta})}},te.compressWorker=function(W){return new L("Deflate",W)},te.uncompressWorker=function(){return new L("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(I,He,te){"use strict";function q(R,Z){var A,$="";for(A=0;A<Z;A++)$+=String.fromCharCode(255&R),R>>>=8;return $}function Q(R,Z,A,$,w,j){var de,X,J=R.file,Ne=R.compression,Le=j!==l.utf8encode,et=y.transformTo("string",j(J.name)),Ue=y.transformTo("string",l.utf8encode(J.name)),Ce=J.comment,Oe=y.transformTo("string",j(Ce)),Y=y.transformTo("string",l.utf8encode(Ce)),xe=Ue.length!==J.name.length,M=Y.length!==Ce.length,E="",st="",ce="",le=J.dir,H=J.date,_={crc32:0,compressedSize:0,uncompressedSize:0};Z&&!A||(_.crc32=R.crc32,_.compressedSize=R.compressedSize,_.uncompressedSize=R.uncompressedSize);var re=0;Z&&(re|=8),Le||!xe&&!M||(re|=2048);var T=0,ne=0;le&&(T|=16),w==="UNIX"?(ne=798,T|=function(ye,lt){var ft=ye;return ye||(ft=lt?16893:33204),(65535&ft)<<16}(J.unixPermissions,le)):(ne=20,T|=function(ye){return 63&(ye||0)}(J.dosPermissions)),de=H.getUTCHours(),de<<=6,de|=H.getUTCMinutes(),de<<=5,de|=H.getUTCSeconds()/2,X=H.getUTCFullYear()-1980,X<<=4,X|=H.getUTCMonth()+1,X<<=5,X|=H.getUTCDate(),xe&&(st=q(1,1)+q(L(et),4)+Ue,E+="up"+q(st.length,2)+st),M&&(ce=q(1,1)+q(L(Oe),4)+Y,E+="uc"+q(ce.length,2)+ce);var Fe="";return Fe+=`
\0`,Fe+=q(re,2),Fe+=Ne.magic,Fe+=q(de,2),Fe+=q(X,2),Fe+=q(_.crc32,4),Fe+=q(_.compressedSize,4),Fe+=q(_.uncompressedSize,4),Fe+=q(et.length,2),Fe+=q(E.length,2),{fileRecord:W.LOCAL_FILE_HEADER+Fe+et+E,dirRecord:W.CENTRAL_FILE_HEADER+q(ne,2)+Fe+q(Oe.length,2)+"\0\0\0\0"+q(T,4)+q($,4)+et+E+Oe}}var y=I("../utils"),U=I("../stream/GenericWorker"),l=I("../utf8"),L=I("../crc32"),W=I("../signature");function G(R,Z,A,$){U.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=Z,this.zipPlatform=A,this.encodeFileName=$,this.streamFiles=R,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}y.inherits(G,U),G.prototype.push=function(R){var Z=R.meta.percent||0,A=this.entriesCount,$=this._sources.length;this.accumulate?this.contentBuffer.push(R):(this.bytesWritten+=R.data.length,U.prototype.push.call(this,{data:R.data,meta:{currentFile:this.currentFile,percent:A?(Z+100*(A-$-1))/A:100}}))},G.prototype.openedSource=function(R){this.currentSourceOffset=this.bytesWritten,this.currentFile=R.file.name;var Z=this.streamFiles&&!R.file.dir;if(Z){var A=Q(R,Z,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:A.fileRecord,meta:{percent:0}})}else this.accumulate=!0},G.prototype.closedSource=function(R){this.accumulate=!1;var Z=this.streamFiles&&!R.file.dir,A=Q(R,Z,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(A.dirRecord),Z)this.push({data:function($){return W.DATA_DESCRIPTOR+q($.crc32,4)+q($.compressedSize,4)+q($.uncompressedSize,4)}(R),meta:{percent:100}});else for(this.push({data:A.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},G.prototype.flush=function(){for(var R=this.bytesWritten,Z=0;Z<this.dirRecords.length;Z++)this.push({data:this.dirRecords[Z],meta:{percent:100}});var A=this.bytesWritten-R,$=function(w,j,de,X,J){var Ne=y.transformTo("string",J(X));return W.CENTRAL_DIRECTORY_END+"\0\0\0\0"+q(w,2)+q(w,2)+q(j,4)+q(de,4)+q(Ne.length,2)+Ne}(this.dirRecords.length,A,R,this.zipComment,this.encodeFileName);this.push({data:$,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 Z=this;return R.on("data",function(A){Z.processChunk(A)}),R.on("end",function(){Z.closedSource(Z.previous.streamInfo),Z._sources.length?Z.prepareNextSource():Z.end()}),R.on("error",function(A){Z.error(A)}),this},G.prototype.resume=function(){return!!U.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 Z=this._sources;if(!U.prototype.error.call(this,R))return!1;for(var A=0;A<Z.length;A++)try{Z[A].error(R)}catch($){}return!0},G.prototype.lock=function(){U.prototype.lock.call(this);for(var R=this._sources,Z=0;Z<R.length;Z++)R[Z].lock()},He.exports=G},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(I,He,te){"use strict";var q=I("../compressions"),Q=I("./ZipFileWorker");te.generateWorker=function(y,U,l){var L=new Q(U.streamFiles,l,U.platform,U.encodeFileName),W=0;try{y.forEach(function(G,R){W++;var Z=function(j,de){var X=j||de,J=q[X];if(!J)throw new Error(X+" is not a valid compression method !");return J}(R.options.compression,U.compression),A=R.options.compressionOptions||U.compressionOptions||{},$=R.dir,w=R.date;R._compressWorker(Z,A).withStreamInfo("file",{name:G,dir:$,date:w,comment:R.comment||"",unixPermissions:R.unixPermissions,dosPermissions:R.dosPermissions}).pipe(L)}),L.entriesCount=W}catch(G){L.error(G)}return L}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(I,He,te){"use strict";function q(){if(!(this instanceof q))return new q;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 Q=new q;for(var y in this)typeof this[y]!="function"&&(Q[y]=this[y]);return Q}}(q.prototype=I("./object")).loadAsync=I("./load"),q.support=I("./support"),q.defaults=I("./defaults"),q.version="3.10.1",q.loadAsync=function(Q,y){return new q().loadAsync(Q,y)},q.external=I("./external"),He.exports=q},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(I,He,te){"use strict";var q=I("./utils"),Q=I("./external"),y=I("./utf8"),U=I("./zipEntries"),l=I("./stream/Crc32Probe"),L=I("./nodejsUtils");function W(G){return new Q.Promise(function(R,Z){var A=G.decompressed.getContentWorker().pipe(new l);A.on("error",function($){Z($)}).on("end",function(){A.streamInfo.crc32!==G.decompressed.crc32?Z(new Error("Corrupted zip : CRC32 mismatch")):R()}).resume()})}He.exports=function(G,R){var Z=this;return R=q.extend(R||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:y.utf8decode}),L.isNode&&L.isStream(G)?Q.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):q.prepareContent("the loaded zip file",G,!0,R.optimizedBinaryString,R.base64).then(function(A){var $=new U(R);return $.load(A),$}).then(function(A){var $=[Q.Promise.resolve(A)],w=A.files;if(R.checkCRC32)for(var j=0;j<w.length;j++)$.push(W(w[j]));return Q.Promise.all($)}).then(function(A){for(var $=A.shift(),w=$.files,j=0;j<w.length;j++){var de=w[j],X=de.fileNameStr,J=q.resolve(de.fileNameStr);Z.file(J,de.decompressed,{binary:!0,optimizedBinaryString:!0,date:de.date,dir:de.dir,comment:de.fileCommentStr.length?de.fileCommentStr:null,unixPermissions:de.unixPermissions,dosPermissions:de.dosPermissions,createFolders:R.createFolders}),de.dir||(Z.file(J).unsafeOriginalName=X)}return $.zipComment.length&&(Z.comment=$.zipComment),Z})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(I,He,te){"use strict";var q=I("../utils"),Q=I("../stream/GenericWorker");function y(U,l){Q.call(this,"Nodejs stream input adapter for "+U),this._upstreamEnded=!1,this._bindStream(l)}q.inherits(y,Q),y.prototype._bindStream=function(U){var l=this;(this._stream=U).pause(),U.on("data",function(L){l.push({data:L,meta:{percent:0}})}).on("error",function(L){l.isPaused?this.generatedError=L:l.error(L)}).on("end",function(){l.isPaused?l._upstreamEnded=!0:l.end()})},y.prototype.pause=function(){return!!Q.prototype.pause.call(this)&&(this._stream.pause(),!0)},y.prototype.resume=function(){return!!Q.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},He.exports=y},{"../stream/GenericWorker":28,"../utils":32}],13:[function(I,He,te){"use strict";var q=I("readable-stream").Readable;function Q(y,U,l){q.call(this,U),this._helper=y;var L=this;y.on("data",function(W,G){L.push(W)||L._helper.pause(),l&&l(G)}).on("error",function(W){L.emit("error",W)}).on("end",function(){L.push(null)})}I("../utils").inherits(Q,q),Q.prototype._read=function(){this._helper.resume()},He.exports=Q},{"../utils":32,"readable-stream":16}],14:[function(I,He,te){"use strict";He.exports={isNode:typeof s!="undefined",newBufferFrom:function(q,Q){if(s.from&&s.from!==Uint8Array.from)return s.from(q,Q);if(typeof q=="number")throw new Error('The "data" argument must not be a number');return new s(q,Q)},allocBuffer:function(q){if(s.alloc)return s.alloc(q);var Q=new s(q);return Q.fill(0),Q},isBuffer:function(q){return s.isBuffer(q)},isStream:function(q){return q&&typeof q.on=="function"&&typeof q.pause=="function"&&typeof q.resume=="function"}}},{}],15:[function(I,He,te){"use strict";function q(J,Ne,Le){var et,Ue=y.getTypeOf(Ne),Ce=y.extend(Le||{},L);Ce.date=Ce.date||new Date,Ce.compression!==null&&(Ce.compression=Ce.compression.toUpperCase()),typeof Ce.unixPermissions=="string"&&(Ce.unixPermissions=parseInt(Ce.unixPermissions,8)),Ce.unixPermissions&&16384&Ce.unixPermissions&&(Ce.dir=!0),Ce.dosPermissions&&16&Ce.dosPermissions&&(Ce.dir=!0),Ce.dir&&(J=w(J)),Ce.createFolders&&(et=$(J))&&j.call(this,et,!0);var Oe=Ue==="string"&&Ce.binary===!1&&Ce.base64===!1;Le&&Le.binary!==void 0||(Ce.binary=!Oe),(Ne instanceof W&&Ne.uncompressedSize===0||Ce.dir||!Ne||Ne.length===0)&&(Ce.base64=!1,Ce.binary=!0,Ne="",Ce.compression="STORE",Ue="string");var Y=null;Y=Ne instanceof W||Ne instanceof U?Ne:Z.isNode&&Z.isStream(Ne)?new A(J,Ne):y.prepareContent(J,Ne,Ce.binary,Ce.optimizedBinaryString,Ce.base64);var xe=new G(J,Y,Ce);this.files[J]=xe}var Q=I("./utf8"),y=I("./utils"),U=I("./stream/GenericWorker"),l=I("./stream/StreamHelper"),L=I("./defaults"),W=I("./compressedObject"),G=I("./zipObject"),R=I("./generate"),Z=I("./nodejsUtils"),A=I("./nodejs/NodejsStreamInputAdapter"),$=function(J){J.slice(-1)==="/"&&(J=J.substring(0,J.length-1));var Ne=J.lastIndexOf("/");return 0<Ne?J.substring(0,Ne):""},w=function(J){return J.slice(-1)!=="/"&&(J+="/"),J},j=function(J,Ne){return Ne=Ne!==void 0?Ne:L.createFolders,J=w(J),this.files[J]||q.call(this,J,null,{dir:!0,createFolders:Ne}),this.files[J]};function de(J){return Object.prototype.toString.call(J)==="[object RegExp]"}var X={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(J){var Ne,Le,et;for(Ne in this.files)et=this.files[Ne],(Le=Ne.slice(this.root.length,Ne.length))&&Ne.slice(0,this.root.length)===this.root&&J(Le,et)},filter:function(J){var Ne=[];return this.forEach(function(Le,et){J(Le,et)&&Ne.push(et)}),Ne},file:function(J,Ne,Le){if(arguments.length!==1)return J=this.root+J,q.call(this,J,Ne,Le),this;if(de(J)){var et=J;return this.filter(function(Ce,Oe){return!Oe.dir&&et.test(Ce)})}var Ue=this.files[this.root+J];return Ue&&!Ue.dir?Ue:null},folder:function(J){if(!J)return this;if(de(J))return this.filter(function(Ue,Ce){return Ce.dir&&J.test(Ue)});var Ne=this.root+J,Le=j.call(this,Ne),et=this.clone();return et.root=Le.name,et},remove:function(J){J=this.root+J;var Ne=this.files[J];if(Ne||(J.slice(-1)!=="/"&&(J+="/"),Ne=this.files[J]),Ne&&!Ne.dir)delete this.files[J];else for(var Le=this.filter(function(Ue,Ce){return Ce.name.slice(0,J.length)===J}),et=0;et<Le.length;et++)delete this.files[Le[et].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(J){var Ne,Le={};try{if((Le=y.extend(J||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:Q.utf8encode})).type=Le.type.toLowerCase(),Le.compression=Le.compression.toUpperCase(),Le.type==="binarystring"&&(Le.type="string"),!Le.type)throw new Error("No output type specified.");y.checkSupport(Le.type),Le.platform!=="darwin"&&Le.platform!=="freebsd"&&Le.platform!=="linux"&&Le.platform!=="sunos"||(Le.platform="UNIX"),Le.platform==="win32"&&(Le.platform="DOS");var et=Le.comment||this.comment||"";Ne=R.generateWorker(this,Le,et)}catch(Ue){(Ne=new U("error")).error(Ue)}return new l(Ne,Le.type||"string",Le.mimeType)},generateAsync:function(J,Ne){return this.generateInternalStream(J).accumulate(Ne)},generateNodeStream:function(J,Ne){return(J=J||{}).type||(J.type="nodebuffer"),this.generateInternalStream(J).toNodejsStream(Ne)}};He.exports=X},{"./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(I,He,te){"use strict";He.exports=I("stream")},{stream:void 0}],17:[function(I,He,te){"use strict";var q=I("./DataReader");function Q(y){q.call(this,y);for(var U=0;U<this.data.length;U++)y[U]=255&y[U]}I("../utils").inherits(Q,q),Q.prototype.byteAt=function(y){return this.data[this.zero+y]},Q.prototype.lastIndexOfSignature=function(y){for(var U=y.charCodeAt(0),l=y.charCodeAt(1),L=y.charCodeAt(2),W=y.charCodeAt(3),G=this.length-4;0<=G;--G)if(this.data[G]===U&&this.data[G+1]===l&&this.data[G+2]===L&&this.data[G+3]===W)return G-this.zero;return-1},Q.prototype.readAndCheckSignature=function(y){var U=y.charCodeAt(0),l=y.charCodeAt(1),L=y.charCodeAt(2),W=y.charCodeAt(3),G=this.readData(4);return U===G[0]&&l===G[1]&&L===G[2]&&W===G[3]},Q.prototype.readData=function(y){if(this.checkOffset(y),y===0)return[];var U=this.data.slice(this.zero+this.index,this.zero+this.index+y);return this.index+=y,U},He.exports=Q},{"../utils":32,"./DataReader":18}],18:[function(I,He,te){"use strict";var q=I("../utils");function Q(y){this.data=y,this.length=y.length,this.index=0,this.zero=0}Q.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 U,l=0;for(this.checkOffset(y),U=this.index+y-1;U>=this.index;U--)l=(l<<8)+this.byteAt(U);return this.index+=y,l},readString:function(y){return q.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))}},He.exports=Q},{"../utils":32}],19:[function(I,He,te){"use strict";var q=I("./Uint8ArrayReader");function Q(y){q.call(this,y)}I("../utils").inherits(Q,q),Q.prototype.readData=function(y){this.checkOffset(y);var U=this.data.slice(this.zero+this.index,this.zero+this.index+y);return this.index+=y,U},He.exports=Q},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(I,He,te){"use strict";var q=I("./DataReader");function Q(y){q.call(this,y)}I("../utils").inherits(Q,q),Q.prototype.byteAt=function(y){return this.data.charCodeAt(this.zero+y)},Q.prototype.lastIndexOfSignature=function(y){return this.data.lastIndexOf(y)-this.zero},Q.prototype.readAndCheckSignature=function(y){return y===this.readData(4)},Q.prototype.readData=function(y){this.checkOffset(y);var U=this.data.slice(this.zero+this.index,this.zero+this.index+y);return this.index+=y,U},He.exports=Q},{"../utils":32,"./DataReader":18}],21:[function(I,He,te){"use strict";var q=I("./ArrayReader");function Q(y){q.call(this,y)}I("../utils").inherits(Q,q),Q.prototype.readData=function(y){if(this.checkOffset(y),y===0)return new Uint8Array(0);var U=this.data.subarray(this.zero+this.index,this.zero+this.index+y);return this.index+=y,U},He.exports=Q},{"../utils":32,"./ArrayReader":17}],22:[function(I,He,te){"use strict";var q=I("../utils"),Q=I("../support"),y=I("./ArrayReader"),U=I("./StringReader"),l=I("./NodeBufferReader"),L=I("./Uint8ArrayReader");He.exports=function(W){var G=q.getTypeOf(W);return q.checkSupport(G),G!=="string"||Q.uint8array?G==="nodebuffer"?new l(W):Q.uint8array?new L(q.transformTo("uint8array",W)):new y(q.transformTo("array",W)):new U(W)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(I,He,te){"use strict";te.LOCAL_FILE_HEADER="PK",te.CENTRAL_FILE_HEADER="PK",te.CENTRAL_DIRECTORY_END="PK",te.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",te.ZIP64_CENTRAL_DIRECTORY_END="PK",te.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(I,He,te){"use strict";var q=I("./GenericWorker"),Q=I("../utils");function y(U){q.call(this,"ConvertWorker to "+U),this.destType=U}Q.inherits(y,q),y.prototype.processChunk=function(U){this.push({data:Q.transformTo(this.destType,U.data),meta:U.meta})},He.exports=y},{"../utils":32,"./GenericWorker":28}],25:[function(I,He,te){"use strict";var q=I("./GenericWorker"),Q=I("../crc32");function y(){q.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}I("../utils").inherits(y,q),y.prototype.processChunk=function(U){this.streamInfo.crc32=Q(U.data,this.streamInfo.crc32||0),this.push(U)},He.exports=y},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(I,He,te){"use strict";var q=I("../utils"),Q=I("./GenericWorker");function y(U){Q.call(this,"DataLengthProbe for "+U),this.propName=U,this.withStreamInfo(U,0)}q.inherits(y,Q),y.prototype.processChunk=function(U){if(U){var l=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=l+U.data.length}Q.prototype.processChunk.call(this,U)},He.exports=y},{"../utils":32,"./GenericWorker":28}],27:[function(I,He,te){"use strict";var q=I("../utils"),Q=I("./GenericWorker");function y(U){Q.call(this,"DataWorker");var l=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,U.then(function(L){l.dataIsReady=!0,l.data=L,l.max=L&&L.length||0,l.type=q.getTypeOf(L),l.isPaused||l._tickAndRepeat()},function(L){l.error(L)})}q.inherits(y,Q),y.prototype.cleanUp=function(){Q.prototype.cleanUp.call(this),this.data=null},y.prototype.resume=function(){return!!Q.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,q.delay(this._tickAndRepeat,[],this)),!0)},y.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(q.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},y.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var U=null,l=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":U=this.data.substring(this.index,l);break;case"uint8array":U=this.data.subarray(this.index,l);break;case"array":case"nodebuffer":U=this.data.slice(this.index,l)}return this.index=l,this.push({data:U,meta:{percent:this.max?this.index/this.max*100:0}})},He.exports=y},{"../utils":32,"./GenericWorker":28}],28:[function(I,He,te){"use strict";function q(Q){this.name=Q||"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}q.prototype={push:function(Q){this.emit("data",Q)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(Q){this.emit("error",Q)}return!0},error:function(Q){return!this.isFinished&&(this.isPaused?this.generatedError=Q:(this.isFinished=!0,this.emit("error",Q),this.previous&&this.previous.error(Q),this.cleanUp()),!0)},on:function(Q,y){return this._listeners[Q].push(y),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(Q,y){if(this._listeners[Q])for(var U=0;U<this._listeners[Q].length;U++)this._listeners[Q][U].call(this,y)},pipe:function(Q){return Q.registerPrevious(this)},registerPrevious:function(Q){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=Q.streamInfo,this.mergeStreamInfo(),this.previous=Q;var y=this;return Q.on("data",function(U){y.processChunk(U)}),Q.on("end",function(){y.end()}),Q.on("error",function(U){y.error(U)}),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 Q=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),Q=!0),this.previous&&this.previous.resume(),!Q},flush:function(){},processChunk:function(Q){this.push(Q)},withStreamInfo:function(Q,y){return this.extraStreamInfo[Q]=y,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var Q in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,Q)&&(this.streamInfo[Q]=this.extraStreamInfo[Q])},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 Q="Worker "+this.name;return this.previous?this.previous+" -> "+Q:Q}},He.exports=q},{}],29:[function(I,He,te){"use strict";var q=I("../utils"),Q=I("./ConvertWorker"),y=I("./GenericWorker"),U=I("../base64"),l=I("../support"),L=I("../external"),W=null;if(l.nodestream)try{W=I("../nodejs/NodejsStreamOutputAdapter")}catch(Z){}function G(Z,A){return new L.Promise(function($,w){var j=[],de=Z._internalType,X=Z._outputType,J=Z._mimeType;Z.on("data",function(Ne,Le){j.push(Ne),A&&A(Le)}).on("error",function(Ne){j=[],w(Ne)}).on("end",function(){try{var Ne=function(Le,et,Ue){switch(Le){case"blob":return q.newBlob(q.transformTo("arraybuffer",et),Ue);case"base64":return U.encode(et);default:return q.transformTo(Le,et)}}(X,function(Le,et){var Ue,Ce=0,Oe=null,Y=0;for(Ue=0;Ue<et.length;Ue++)Y+=et[Ue].length;switch(Le){case"string":return et.join("");case"array":return Array.prototype.concat.apply([],et);case"uint8array":for(Oe=new Uint8Array(Y),Ue=0;Ue<et.length;Ue++)Oe.set(et[Ue],Ce),Ce+=et[Ue].length;return Oe;case"nodebuffer":return s.concat(et);default:throw new Error("concat : unsupported type '"+Le+"'")}}(de,j),J);$(Ne)}catch(Le){w(Le)}j=[]}).resume()})}function R(Z,A,$){var w=A;switch(A){case"blob":case"arraybuffer":w="uint8array";break;case"base64":w="string"}try{this._internalType=w,this._outputType=A,this._mimeType=$,q.checkSupport(w),this._worker=Z.pipe(new Q(w)),Z.lock()}catch(j){this._worker=new y("error"),this._worker.error(j)}}R.prototype={accumulate:function(Z){return G(this,Z)},on:function(Z,A){var $=this;return Z==="data"?this._worker.on(Z,function(w){A.call($,w.data,w.meta)}):this._worker.on(Z,function(){q.delay(A,arguments,$)}),this},resume:function(){return q.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(Z){if(q.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new W(this,{objectMode:this._outputType!=="nodebuffer"},Z)}},He.exports=R},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(I,He,te){"use strict";if(te.base64=!0,te.array=!0,te.string=!0,te.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",te.nodebuffer=typeof s!="undefined",te.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")te.blob=!1;else{var q=new ArrayBuffer(0);try{te.blob=new Blob([q],{type:"application/zip"}).size===0}catch(y){try{var Q=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);Q.append(q),te.blob=Q.getBlob("application/zip").size===0}catch(U){te.blob=!1}}}try{te.nodestream=!!I("readable-stream").Readable}catch(y){te.nodestream=!1}},{"readable-stream":16}],31:[function(I,He,te){"use strict";for(var q=I("./utils"),Q=I("./support"),y=I("./nodejsUtils"),U=I("./stream/GenericWorker"),l=new Array(256),L=0;L<256;L++)l[L]=252<=L?6:248<=L?5:240<=L?4:224<=L?3:192<=L?2:1;l[254]=l[254]=1;function W(){U.call(this,"utf-8 decode"),this.leftOver=null}function G(){U.call(this,"utf-8 encode")}te.utf8encode=function(R){return Q.nodebuffer?y.newBufferFrom(R,"utf-8"):function(Z){var A,$,w,j,de,X=Z.length,J=0;for(j=0;j<X;j++)(64512&($=Z.charCodeAt(j)))==55296&&j+1<X&&(64512&(w=Z.charCodeAt(j+1)))==56320&&($=65536+($-55296<<10)+(w-56320),j++),J+=$<128?1:$<2048?2:$<65536?3:4;for(A=Q.uint8array?new Uint8Array(J):new Array(J),j=de=0;de<J;j++)(64512&($=Z.charCodeAt(j)))==55296&&j+1<X&&(64512&(w=Z.charCodeAt(j+1)))==56320&&($=65536+($-55296<<10)+(w-56320),j++),$<128?A[de++]=$:($<2048?A[de++]=192|$>>>6:($<65536?A[de++]=224|$>>>12:(A[de++]=240|$>>>18,A[de++]=128|$>>>12&63),A[de++]=128|$>>>6&63),A[de++]=128|63&$);return A}(R)},te.utf8decode=function(R){return Q.nodebuffer?q.transformTo("nodebuffer",R).toString("utf-8"):function(Z){var A,$,w,j,de=Z.length,X=new Array(2*de);for(A=$=0;A<de;)if((w=Z[A++])<128)X[$++]=w;else if(4<(j=l[w]))X[$++]=65533,A+=j-1;else{for(w&=j===2?31:j===3?15:7;1<j&&A<de;)w=w<<6|63&Z[A++],j--;1<j?X[$++]=65533:w<65536?X[$++]=w:(w-=65536,X[$++]=55296|w>>10&1023,X[$++]=56320|1023&w)}return X.length!==$&&(X.subarray?X=X.subarray(0,$):X.length=$),q.applyFromCharCode(X)}(R=q.transformTo(Q.uint8array?"uint8array":"array",R))},q.inherits(W,U),W.prototype.processChunk=function(R){var Z=q.transformTo(Q.uint8array?"uint8array":"array",R.data);if(this.leftOver&&this.leftOver.length){if(Q.uint8array){var A=Z;(Z=new Uint8Array(A.length+this.leftOver.length)).set(this.leftOver,0),Z.set(A,this.leftOver.length)}else Z=this.leftOver.concat(Z);this.leftOver=null}var $=function(j,de){var X;for((de=de||j.length)>j.length&&(de=j.length),X=de-1;0<=X&&(192&j[X])==128;)X--;return X<0||X===0?de:X+l[j[X]]>de?X:de}(Z),w=Z;$!==Z.length&&(Q.uint8array?(w=Z.subarray(0,$),this.leftOver=Z.subarray($,Z.length)):(w=Z.slice(0,$),this.leftOver=Z.slice($,Z.length))),this.push({data:te.utf8decode(w),meta:R.meta})},W.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:te.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},te.Utf8DecodeWorker=W,q.inherits(G,U),G.prototype.processChunk=function(R){this.push({data:te.utf8encode(R.data),meta:R.meta})},te.Utf8EncodeWorker=G},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(I,He,te){"use strict";var q=I("./support"),Q=I("./base64"),y=I("./nodejsUtils"),U=I("./external");function l(A){return A}function L(A,$){for(var w=0;w<A.length;++w)$[w]=255&A.charCodeAt(w);return $}I("setimmediate"),te.newBlob=function(A,$){te.checkSupport("blob");try{return new Blob([A],{type:$})}catch(j){try{var w=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return w.append(A),w.getBlob($)}catch(de){throw new Error("Bug : can't construct the Blob.")}}};var W={stringifyByChunk:function(A,$,w){var j=[],de=0,X=A.length;if(X<=w)return String.fromCharCode.apply(null,A);for(;de<X;)$==="array"||$==="nodebuffer"?j.push(String.fromCharCode.apply(null,A.slice(de,Math.min(de+w,X)))):j.push(String.fromCharCode.apply(null,A.subarray(de,Math.min(de+w,X)))),de+=w;return j.join("")},stringifyByChar:function(A){for(var $="",w=0;w<A.length;w++)$+=String.fromCharCode(A[w]);return $},applyCanBeUsed:{uint8array:function(){try{return q.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(A){return!1}}(),nodebuffer:function(){try{return q.nodebuffer&&String.fromCharCode.apply(null,y.allocBuffer(1)).length===1}catch(A){return!1}}()}};function G(A){var $=65536,w=te.getTypeOf(A),j=!0;if(w==="uint8array"?j=W.applyCanBeUsed.uint8array:w==="nodebuffer"&&(j=W.applyCanBeUsed.nodebuffer),j)for(;1<$;)try{return W.stringifyByChunk(A,w,$)}catch(de){$=Math.floor($/2)}return W.stringifyByChar(A)}function R(A,$){for(var w=0;w<A.length;w++)$[w]=A[w];return $}te.applyFromCharCode=G;var Z={};Z.string={string:l,array:function(A){return L(A,new Array(A.length))},arraybuffer:function(A){return Z.string.uint8array(A).buffer},uint8array:function(A){return L(A,new Uint8Array(A.length))},nodebuffer:function(A){return L(A,y.allocBuffer(A.length))}},Z.array={string:G,array:l,arraybuffer:function(A){return new Uint8Array(A).buffer},uint8array:function(A){return new Uint8Array(A)},nodebuffer:function(A){return y.newBufferFrom(A)}},Z.arraybuffer={string:function(A){return G(new Uint8Array(A))},array:function(A){return R(new Uint8Array(A),new Array(A.byteLength))},arraybuffer:l,uint8array:function(A){return new Uint8Array(A)},nodebuffer:function(A){return y.newBufferFrom(new Uint8Array(A))}},Z.uint8array={string:G,array:function(A){return R(A,new Array(A.length))},arraybuffer:function(A){return A.buffer},uint8array:l,nodebuffer:function(A){return y.newBufferFrom(A)}},Z.nodebuffer={string:G,array:function(A){return R(A,new Array(A.length))},arraybuffer:function(A){return Z.nodebuffer.uint8array(A).buffer},uint8array:function(A){return R(A,new Uint8Array(A.length))},nodebuffer:l},te.transformTo=function(A,$){if($=$||"",!A)return $;te.checkSupport(A);var w=te.getTypeOf($);return Z[w][A]($)},te.resolve=function(A){for(var $=A.split("/"),w=[],j=0;j<$.length;j++){var de=$[j];de==="."||de===""&&j!==0&&j!==$.length-1||(de===".."?w.pop():w.push(de))}return w.join("/")},te.getTypeOf=function(A){return typeof A=="string"?"string":Object.prototype.toString.call(A)==="[object Array]"?"array":q.nodebuffer&&y.isBuffer(A)?"nodebuffer":q.uint8array&&A instanceof Uint8Array?"uint8array":q.arraybuffer&&A instanceof ArrayBuffer?"arraybuffer":void 0},te.checkSupport=function(A){if(!q[A.toLowerCase()])throw new Error(A+" is not supported by this platform")},te.MAX_VALUE_16BITS=65535,te.MAX_VALUE_32BITS=-1,te.pretty=function(A){var $,w,j="";for(w=0;w<(A||"").length;w++)j+="\\x"+(($=A.charCodeAt(w))<16?"0":"")+$.toString(16).toUpperCase();return j},te.delay=function(A,$,w){setImmediate(function(){A.apply(w||null,$||[])})},te.inherits=function(A,$){function w(){}w.prototype=$.prototype,A.prototype=new w},te.extend=function(){var A,$,w={};for(A=0;A<arguments.length;A++)for($ in arguments[A])Object.prototype.hasOwnProperty.call(arguments[A],$)&&w[$]===void 0&&(w[$]=arguments[A][$]);return w},te.prepareContent=function(A,$,w,j,de){return U.Promise.resolve($).then(function(X){return q.blob&&(X instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(X))!==-1)&&typeof FileReader!="undefined"?new U.Promise(function(J,Ne){var Le=new FileReader;Le.onload=function(et){J(et.target.result)},Le.onerror=function(et){Ne(et.target.error)},Le.readAsArrayBuffer(X)}):X}).then(function(X){var J=te.getTypeOf(X);return J?(J==="arraybuffer"?X=te.transformTo("uint8array",X):J==="string"&&(de?X=Q.decode(X):w&&j!==!0&&(X=function(Ne){return L(Ne,q.uint8array?new Uint8Array(Ne.length):new Array(Ne.length))}(X))),X):U.Promise.reject(new Error("Can't read the data of '"+A+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(I,He,te){"use strict";var q=I("./reader/readerFor"),Q=I("./utils"),y=I("./signature"),U=I("./zipEntry"),l=I("./support");function L(W){this.files=[],this.loadOptions=W}L.prototype={checkSignature:function(W){if(!this.reader.readAndCheckSignature(W)){this.reader.index-=4;var G=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+Q.pretty(G)+", expected "+Q.pretty(W)+")")}},isSignature:function(W,G){var R=this.reader.index;this.reader.setIndex(W);var Z=this.reader.readString(4)===G;return this.reader.setIndex(R),Z},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 W=this.reader.readData(this.zipCommentLength),G=l.uint8array?"uint8array":"array",R=Q.transformTo(G,W);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 W,G,R,Z=this.zip64EndOfCentralSize-44;0<Z;)W=this.reader.readInt(2),G=this.reader.readInt(4),R=this.reader.readData(G),this.zip64ExtensibleData[W]={id:W,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 W,G;for(W=0;W<this.files.length;W++)G=this.files[W],this.reader.setIndex(G.localHeaderOffset),this.checkSignature(y.LOCAL_FILE_HEADER),G.readLocalPart(this.reader),G.handleUTF8(),G.processAttributes()},readCentralDir:function(){var W;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(y.CENTRAL_FILE_HEADER);)(W=new U({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(W);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 W=this.reader.lastIndexOfSignature(y.CENTRAL_DIRECTORY_END);if(W<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(W);var G=W;if(this.checkSignature(y.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===Q.MAX_VALUE_16BITS||this.diskWithCentralDirStart===Q.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===Q.MAX_VALUE_16BITS||this.centralDirRecords===Q.MAX_VALUE_16BITS||this.centralDirSize===Q.MAX_VALUE_32BITS||this.centralDirOffset===Q.MAX_VALUE_32BITS){if(this.zip64=!0,(W=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(W),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 Z=G-R;if(0<Z)this.isSignature(G,y.CENTRAL_FILE_HEADER)||(this.reader.zero=Z);else if(Z<0)throw new Error("Corrupted zip: missing "+Math.abs(Z)+" bytes.")},prepareReader:function(W){this.reader=q(W)},load:function(W){this.prepareReader(W),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},He.exports=L},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(I,He,te){"use strict";var q=I("./reader/readerFor"),Q=I("./utils"),y=I("./compressedObject"),U=I("./crc32"),l=I("./utf8"),L=I("./compressions"),W=I("./support");function G(R,Z){this.options=R,this.loadOptions=Z}G.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(R){var Z,A;if(R.skip(22),this.fileNameLength=R.readInt(2),A=R.readInt(2),this.fileName=R.readData(this.fileNameLength),R.skip(A),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((Z=function($){for(var w in L)if(Object.prototype.hasOwnProperty.call(L,w)&&L[w].magic===$)return L[w];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+Q.pretty(this.compressionMethod)+" unknown (inner file : "+Q.transformTo("string",this.fileName)+")");this.decompressed=new y(this.compressedSize,this.uncompressedSize,this.crc32,Z,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 Z=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(Z),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=q(this.extraFields[1].value);this.uncompressedSize===Q.MAX_VALUE_32BITS&&(this.uncompressedSize=R.readInt(8)),this.compressedSize===Q.MAX_VALUE_32BITS&&(this.compressedSize=R.readInt(8)),this.localHeaderOffset===Q.MAX_VALUE_32BITS&&(this.localHeaderOffset=R.readInt(8)),this.diskNumberStart===Q.MAX_VALUE_32BITS&&(this.diskNumberStart=R.readInt(4))}},readExtraFields:function(R){var Z,A,$,w=R.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});R.index+4<w;)Z=R.readInt(2),A=R.readInt(2),$=R.readData(A),this.extraFields[Z]={id:Z,length:A,value:$};R.setIndex(w)},handleUTF8:function(){var R=W.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=l.utf8decode(this.fileName),this.fileCommentStr=l.utf8decode(this.fileComment);else{var Z=this.findExtraFieldUnicodePath();if(Z!==null)this.fileNameStr=Z;else{var A=Q.transformTo(R,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(A)}var $=this.findExtraFieldUnicodeComment();if($!==null)this.fileCommentStr=$;else{var w=Q.transformTo(R,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(w)}}},findExtraFieldUnicodePath:function(){var R=this.extraFields[28789];if(R){var Z=q(R.value);return Z.readInt(1)!==1||U(this.fileName)!==Z.readInt(4)?null:l.utf8decode(Z.readData(R.length-5))}return null},findExtraFieldUnicodeComment:function(){var R=this.extraFields[25461];if(R){var Z=q(R.value);return Z.readInt(1)!==1||U(this.fileComment)!==Z.readInt(4)?null:l.utf8decode(Z.readData(R.length-5))}return null}},He.exports=G},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(I,He,te){"use strict";function q(Z,A,$){this.name=Z,this.dir=$.dir,this.date=$.date,this.comment=$.comment,this.unixPermissions=$.unixPermissions,this.dosPermissions=$.dosPermissions,this._data=A,this._dataBinary=$.binary,this.options={compression:$.compression,compressionOptions:$.compressionOptions}}var Q=I("./stream/StreamHelper"),y=I("./stream/DataWorker"),U=I("./utf8"),l=I("./compressedObject"),L=I("./stream/GenericWorker");q.prototype={internalStream:function(Z){var A=null,$="string";try{if(!Z)throw new Error("No output type specified.");var w=($=Z.toLowerCase())==="string"||$==="text";$!=="binarystring"&&$!=="text"||($="string"),A=this._decompressWorker();var j=!this._dataBinary;j&&!w&&(A=A.pipe(new U.Utf8EncodeWorker)),!j&&w&&(A=A.pipe(new U.Utf8DecodeWorker))}catch(de){(A=new L("error")).error(de)}return new Q(A,$,"")},async:function(Z,A){return this.internalStream(Z).accumulate(A)},nodeStream:function(Z,A){return this.internalStream(Z||"nodebuffer").toNodejsStream(A)},_compressWorker:function(Z,A){if(this._data instanceof l&&this._data.compression.magic===Z.magic)return this._data.getCompressedWorker();var $=this._decompressWorker();return this._dataBinary||($=$.pipe(new U.Utf8EncodeWorker)),l.createWorkerFrom($,Z,A)},_decompressWorker:function(){return this._data instanceof l?this._data.getContentWorker():this._data instanceof L?this._data:new y(this._data)}};for(var W=["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<W.length;R++)q.prototype[W[R]]=G;He.exports=q},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(I,He,te){(function(q){"use strict";var Q,y,U=q.MutationObserver||q.WebKitMutationObserver;if(U){var l=0,L=new U(Z),W=q.document.createTextNode("");L.observe(W,{characterData:!0}),Q=function(){W.data=l=++l%2}}else if(q.setImmediate||q.MessageChannel===void 0)Q="document"in q&&"onreadystatechange"in q.document.createElement("script")?function(){var A=q.document.createElement("script");A.onreadystatechange=function(){Z(),A.onreadystatechange=null,A.parentNode.removeChild(A),A=null},q.document.documentElement.appendChild(A)}:function(){setTimeout(Z,0)};else{var G=new q.MessageChannel;G.port1.onmessage=Z,Q=function(){G.port2.postMessage(0)}}var R=[];function Z(){var A,$;y=!0;for(var w=R.length;w;){for($=R,R=[],A=-1;++A<w;)$[A]();w=R.length}y=!1}He.exports=function(A){R.push(A)!==1||y||Q()}}).call(this,typeof o.g!="undefined"?o.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(I,He,te){"use strict";var q=I("immediate");function Q(){}var y={},U=["REJECTED"],l=["FULFILLED"],L=["PENDING"];function W(w){if(typeof w!="function")throw new TypeError("resolver must be a function");this.state=L,this.queue=[],this.outcome=void 0,w!==Q&&A(this,w)}function G(w,j,de){this.promise=w,typeof j=="function"&&(this.onFulfilled=j,this.callFulfilled=this.otherCallFulfilled),typeof de=="function"&&(this.onRejected=de,this.callRejected=this.otherCallRejected)}function R(w,j,de){q(function(){var X;try{X=j(de)}catch(J){return y.reject(w,J)}X===w?y.reject(w,new TypeError("Cannot resolve promise with itself")):y.resolve(w,X)})}function Z(w){var j=w&&w.then;if(w&&(typeof w=="object"||typeof w=="function")&&typeof j=="function")return function(){j.apply(w,arguments)}}function A(w,j){var de=!1;function X(Le){de||(de=!0,y.reject(w,Le))}function J(Le){de||(de=!0,y.resolve(w,Le))}var Ne=$(function(){j(J,X)});Ne.status==="error"&&X(Ne.value)}function $(w,j){var de={};try{de.value=w(j),de.status="success"}catch(X){de.status="error",de.value=X}return de}(He.exports=W).prototype.finally=function(w){if(typeof w!="function")return this;var j=this.constructor;return this.then(function(de){return j.resolve(w()).then(function(){return de})},function(de){return j.resolve(w()).then(function(){throw de})})},W.prototype.catch=function(w){return this.then(null,w)},W.prototype.then=function(w,j){if(typeof w!="function"&&this.state===l||typeof j!="function"&&this.state===U)return this;var de=new this.constructor(Q);return this.state!==L?R(de,this.state===l?w:j,this.outcome):this.queue.push(new G(de,w,j)),de},G.prototype.callFulfilled=function(w){y.resolve(this.promise,w)},G.prototype.otherCallFulfilled=function(w){R(this.promise,this.onFulfilled,w)},G.prototype.callRejected=function(w){y.reject(this.promise,w)},G.prototype.otherCallRejected=function(w){R(this.promise,this.onRejected,w)},y.resolve=function(w,j){var de=$(Z,j);if(de.status==="error")return y.reject(w,de.value);var X=de.value;if(X)A(w,X);else{w.state=l,w.outcome=j;for(var J=-1,Ne=w.queue.length;++J<Ne;)w.queue[J].callFulfilled(j)}return w},y.reject=function(w,j){w.state=U,w.outcome=j;for(var de=-1,X=w.queue.length;++de<X;)w.queue[de].callRejected(j);return w},W.resolve=function(w){return w instanceof this?w:y.resolve(new this(Q),w)},W.reject=function(w){var j=new this(Q);return y.reject(j,w)},W.all=function(w){var j=this;if(Object.prototype.toString.call(w)!=="[object Array]")return this.reject(new TypeError("must be an array"));var de=w.length,X=!1;if(!de)return this.resolve([]);for(var J=new Array(de),Ne=0,Le=-1,et=new this(Q);++Le<de;)Ue(w[Le],Le);return et;function Ue(Ce,Oe){j.resolve(Ce).then(function(Y){J[Oe]=Y,++Ne!==de||X||(X=!0,y.resolve(et,J))},function(Y){X||(X=!0,y.reject(et,Y))})}},W.race=function(w){var j=this;if(Object.prototype.toString.call(w)!=="[object Array]")return this.reject(new TypeError("must be an array"));var de=w.length,X=!1;if(!de)return this.resolve([]);for(var J=-1,Ne=new this(Q);++J<de;)Le=w[J],j.resolve(Le).then(function(et){X||(X=!0,y.resolve(Ne,et))},function(et){X||(X=!0,y.reject(Ne,et))});var Le;return Ne}},{immediate:36}],38:[function(I,He,te){"use strict";var q={};(0,I("./lib/utils/common").assign)(q,I("./lib/deflate"),I("./lib/inflate"),I("./lib/zlib/constants")),He.exports=q},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(I,He,te){"use strict";var q=I("./zlib/deflate"),Q=I("./utils/common"),y=I("./utils/strings"),U=I("./zlib/messages"),l=I("./zlib/zstream"),L=Object.prototype.toString,W=0,G=-1,R=0,Z=8;function A(w){if(!(this instanceof A))return new A(w);this.options=Q.assign({level:G,method:Z,chunkSize:16384,windowBits:15,memLevel:8,strategy:R,to:""},w||{});var j=this.options;j.raw&&0<j.windowBits?j.windowBits=-j.windowBits:j.gzip&&0<j.windowBits&&j.windowBits<16&&(j.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var de=q.deflateInit2(this.strm,j.level,j.method,j.windowBits,j.memLevel,j.strategy);if(de!==W)throw new Error(U[de]);if(j.header&&q.deflateSetHeader(this.strm,j.header),j.dictionary){var X;if(X=typeof j.dictionary=="string"?y.string2buf(j.dictionary):L.call(j.dictionary)==="[object ArrayBuffer]"?new Uint8Array(j.dictionary):j.dictionary,(de=q.deflateSetDictionary(this.strm,X))!==W)throw new Error(U[de]);this._dict_set=!0}}function $(w,j){var de=new A(j);if(de.push(w,!0),de.err)throw de.msg||U[de.err];return de.result}A.prototype.push=function(w,j){var de,X,J=this.strm,Ne=this.options.chunkSize;if(this.ended)return!1;X=j===~~j?j:j===!0?4:0,typeof w=="string"?J.input=y.string2buf(w):L.call(w)==="[object ArrayBuffer]"?J.input=new Uint8Array(w):J.input=w,J.next_in=0,J.avail_in=J.input.length;do{if(J.avail_out===0&&(J.output=new Q.Buf8(Ne),J.next_out=0,J.avail_out=Ne),(de=q.deflate(J,X))!==1&&de!==W)return this.onEnd(de),!(this.ended=!0);J.avail_out!==0&&(J.avail_in!==0||X!==4&&X!==2)||(this.options.to==="string"?this.onData(y.buf2binstring(Q.shrinkBuf(J.output,J.next_out))):this.onData(Q.shrinkBuf(J.output,J.next_out)))}while((0<J.avail_in||J.avail_out===0)&&de!==1);return X===4?(de=q.deflateEnd(this.strm),this.onEnd(de),this.ended=!0,de===W):X!==2||(this.onEnd(W),!(J.avail_out=0))},A.prototype.onData=function(w){this.chunks.push(w)},A.prototype.onEnd=function(w){w===W&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Q.flattenChunks(this.chunks)),this.chunks=[],this.err=w,this.msg=this.strm.msg},te.Deflate=A,te.deflate=$,te.deflateRaw=function(w,j){return(j=j||{}).raw=!0,$(w,j)},te.gzip=function(w,j){return(j=j||{}).gzip=!0,$(w,j)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(I,He,te){"use strict";var q=I("./zlib/inflate"),Q=I("./utils/common"),y=I("./utils/strings"),U=I("./zlib/constants"),l=I("./zlib/messages"),L=I("./zlib/zstream"),W=I("./zlib/gzheader"),G=Object.prototype.toString;function R(A){if(!(this instanceof R))return new R(A);this.options=Q.assign({chunkSize:16384,windowBits:0,to:""},A||{});var $=this.options;$.raw&&0<=$.windowBits&&$.windowBits<16&&($.windowBits=-$.windowBits,$.windowBits===0&&($.windowBits=-15)),!(0<=$.windowBits&&$.windowBits<16)||A&&A.windowBits||($.windowBits+=32),15<$.windowBits&&$.windowBits<48&&!(15&$.windowBits)&&($.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new L,this.strm.avail_out=0;var w=q.inflateInit2(this.strm,$.windowBits);if(w!==U.Z_OK)throw new Error(l[w]);this.header=new W,q.inflateGetHeader(this.strm,this.header)}function Z(A,$){var w=new R($);if(w.push(A,!0),w.err)throw w.msg||l[w.err];return w.result}R.prototype.push=function(A,$){var w,j,de,X,J,Ne,Le=this.strm,et=this.options.chunkSize,Ue=this.options.dictionary,Ce=!1;if(this.ended)return!1;j=$===~~$?$:$===!0?U.Z_FINISH:U.Z_NO_FLUSH,typeof A=="string"?Le.input=y.binstring2buf(A):G.call(A)==="[object ArrayBuffer]"?Le.input=new Uint8Array(A):Le.input=A,Le.next_in=0,Le.avail_in=Le.input.length;do{if(Le.avail_out===0&&(Le.output=new Q.Buf8(et),Le.next_out=0,Le.avail_out=et),(w=q.inflate(Le,U.Z_NO_FLUSH))===U.Z_NEED_DICT&&Ue&&(Ne=typeof Ue=="string"?y.string2buf(Ue):G.call(Ue)==="[object ArrayBuffer]"?new Uint8Array(Ue):Ue,w=q.inflateSetDictionary(this.strm,Ne)),w===U.Z_BUF_ERROR&&Ce===!0&&(w=U.Z_OK,Ce=!1),w!==U.Z_STREAM_END&&w!==U.Z_OK)return this.onEnd(w),!(this.ended=!0);Le.next_out&&(Le.avail_out!==0&&w!==U.Z_STREAM_END&&(Le.avail_in!==0||j!==U.Z_FINISH&&j!==U.Z_SYNC_FLUSH)||(this.options.to==="string"?(de=y.utf8border(Le.output,Le.next_out),X=Le.next_out-de,J=y.buf2string(Le.output,de),Le.next_out=X,Le.avail_out=et-X,X&&Q.arraySet(Le.output,Le.output,de,X,0),this.onData(J)):this.onData(Q.shrinkBuf(Le.output,Le.next_out)))),Le.avail_in===0&&Le.avail_out===0&&(Ce=!0)}while((0<Le.avail_in||Le.avail_out===0)&&w!==U.Z_STREAM_END);return w===U.Z_STREAM_END&&(j=U.Z_FINISH),j===U.Z_FINISH?(w=q.inflateEnd(this.strm),this.onEnd(w),this.ended=!0,w===U.Z_OK):j!==U.Z_SYNC_FLUSH||(this.onEnd(U.Z_OK),!(Le.avail_out=0))},R.prototype.onData=function(A){this.chunks.push(A)},R.prototype.onEnd=function(A){A===U.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Q.flattenChunks(this.chunks)),this.chunks=[],this.err=A,this.msg=this.strm.msg},te.Inflate=R,te.inflate=Z,te.inflateRaw=function(A,$){return($=$||{}).raw=!0,Z(A,$)},te.ungzip=Z},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(I,He,te){"use strict";var q=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";te.assign=function(U){for(var l=Array.prototype.slice.call(arguments,1);l.length;){var L=l.shift();if(L){if(typeof L!="object")throw new TypeError(L+"must be non-object");for(var W in L)L.hasOwnProperty(W)&&(U[W]=L[W])}}return U},te.shrinkBuf=function(U,l){return U.length===l?U:U.subarray?U.subarray(0,l):(U.length=l,U)};var Q={arraySet:function(U,l,L,W,G){if(l.subarray&&U.subarray)U.set(l.subarray(L,L+W),G);else for(var R=0;R<W;R++)U[G+R]=l[L+R]},flattenChunks:function(U){var l,L,W,G,R,Z;for(l=W=0,L=U.length;l<L;l++)W+=U[l].length;for(Z=new Uint8Array(W),l=G=0,L=U.length;l<L;l++)R=U[l],Z.set(R,G),G+=R.length;return Z}},y={arraySet:function(U,l,L,W,G){for(var R=0;R<W;R++)U[G+R]=l[L+R]},flattenChunks:function(U){return[].concat.apply([],U)}};te.setTyped=function(U){U?(te.Buf8=Uint8Array,te.Buf16=Uint16Array,te.Buf32=Int32Array,te.assign(te,Q)):(te.Buf8=Array,te.Buf16=Array,te.Buf32=Array,te.assign(te,y))},te.setTyped(q)},{}],42:[function(I,He,te){"use strict";var q=I("./common"),Q=!0,y=!0;try{String.fromCharCode.apply(null,[0])}catch(W){Q=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(W){y=!1}for(var U=new q.Buf8(256),l=0;l<256;l++)U[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function L(W,G){if(G<65537&&(W.subarray&&y||!W.subarray&&Q))return String.fromCharCode.apply(null,q.shrinkBuf(W,G));for(var R="",Z=0;Z<G;Z++)R+=String.fromCharCode(W[Z]);return R}U[254]=U[254]=1,te.string2buf=function(W){var G,R,Z,A,$,w=W.length,j=0;for(A=0;A<w;A++)(64512&(R=W.charCodeAt(A)))==55296&&A+1<w&&(64512&(Z=W.charCodeAt(A+1)))==56320&&(R=65536+(R-55296<<10)+(Z-56320),A++),j+=R<128?1:R<2048?2:R<65536?3:4;for(G=new q.Buf8(j),A=$=0;$<j;A++)(64512&(R=W.charCodeAt(A)))==55296&&A+1<w&&(64512&(Z=W.charCodeAt(A+1)))==56320&&(R=65536+(R-55296<<10)+(Z-56320),A++),R<128?G[$++]=R:(R<2048?G[$++]=192|R>>>6:(R<65536?G[$++]=224|R>>>12:(G[$++]=240|R>>>18,G[$++]=128|R>>>12&63),G[$++]=128|R>>>6&63),G[$++]=128|63&R);return G},te.buf2binstring=function(W){return L(W,W.length)},te.binstring2buf=function(W){for(var G=new q.Buf8(W.length),R=0,Z=G.length;R<Z;R++)G[R]=W.charCodeAt(R);return G},te.buf2string=function(W,G){var R,Z,A,$,w=G||W.length,j=new Array(2*w);for(R=Z=0;R<w;)if((A=W[R++])<128)j[Z++]=A;else if(4<($=U[A]))j[Z++]=65533,R+=$-1;else{for(A&=$===2?31:$===3?15:7;1<$&&R<w;)A=A<<6|63&W[R++],$--;1<$?j[Z++]=65533:A<65536?j[Z++]=A:(A-=65536,j[Z++]=55296|A>>10&1023,j[Z++]=56320|1023&A)}return L(j,Z)},te.utf8border=function(W,G){var R;for((G=G||W.length)>W.length&&(G=W.length),R=G-1;0<=R&&(192&W[R])==128;)R--;return R<0||R===0?G:R+U[W[R]]>G?R:G}},{"./common":41}],43:[function(I,He,te){"use strict";He.exports=function(q,Q,y,U){for(var l=65535&q|0,L=q>>>16&65535|0,W=0;y!==0;){for(y-=W=2e3<y?2e3:y;L=L+(l=l+Q[U++]|0)|0,--W;);l%=65521,L%=65521}return l|L<<16|0}},{}],44:[function(I,He,te){"use strict";He.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(I,He,te){"use strict";var q=function(){for(var Q,y=[],U=0;U<256;U++){Q=U;for(var l=0;l<8;l++)Q=1&Q?3988292384^Q>>>1:Q>>>1;y[U]=Q}return y}();He.exports=function(Q,y,U,l){var L=q,W=l+U;Q^=-1;for(var G=l;G<W;G++)Q=Q>>>8^L[255&(Q^y[G])];return-1^Q}},{}],46:[function(I,He,te){"use strict";var q,Q=I("../utils/common"),y=I("./trees"),U=I("./adler32"),l=I("./crc32"),L=I("./messages"),W=0,G=4,R=0,Z=-2,A=-1,$=4,w=2,j=8,de=9,X=286,J=30,Ne=19,Le=2*X+1,et=15,Ue=3,Ce=258,Oe=Ce+Ue+1,Y=42,xe=113,M=1,E=2,st=3,ce=4;function le(P,ct){return P.msg=L[ct],ct}function H(P){return(P<<1)-(4<P?9:0)}function _(P){for(var ct=P.length;0<=--ct;)P[ct]=0}function re(P){var ct=P.state,Se=ct.pending;Se>P.avail_out&&(Se=P.avail_out),Se!==0&&(Q.arraySet(P.output,ct.pending_buf,ct.pending_out,Se,P.next_out),P.next_out+=Se,ct.pending_out+=Se,P.total_out+=Se,P.avail_out-=Se,ct.pending-=Se,ct.pending===0&&(ct.pending_out=0))}function T(P,ct){y._tr_flush_block(P,0<=P.block_start?P.block_start:-1,P.strstart-P.block_start,ct),P.block_start=P.strstart,re(P.strm)}function ne(P,ct){P.pending_buf[P.pending++]=ct}function Fe(P,ct){P.pending_buf[P.pending++]=ct>>>8&255,P.pending_buf[P.pending++]=255&ct}function ye(P,ct){var Se,fe,ue=P.max_chain_length,ge=P.strstart,$e=P.prev_length,we=P.nice_match,Re=P.strstart>P.w_size-Oe?P.strstart-(P.w_size-Oe):0,Je=P.window,wt=P.w_mask,At=P.prev,ar=P.strstart+Ce,qt=Je[ge+$e-1],Nt=Je[ge+$e];P.prev_length>=P.good_match&&(ue>>=2),we>P.lookahead&&(we=P.lookahead);do if(Je[(Se=ct)+$e]===Nt&&Je[Se+$e-1]===qt&&Je[Se]===Je[ge]&&Je[++Se]===Je[ge+1]){ge+=2,Se++;do;while(Je[++ge]===Je[++Se]&&Je[++ge]===Je[++Se]&&Je[++ge]===Je[++Se]&&Je[++ge]===Je[++Se]&&Je[++ge]===Je[++Se]&&Je[++ge]===Je[++Se]&&Je[++ge]===Je[++Se]&&Je[++ge]===Je[++Se]&&ge<ar);if(fe=Ce-(ar-ge),ge=ar-Ce,$e<fe){if(P.match_start=ct,we<=($e=fe))break;qt=Je[ge+$e-1],Nt=Je[ge+$e]}}while((ct=At[ct&wt])>Re&&--ue!=0);return $e<=P.lookahead?$e:P.lookahead}function lt(P){var ct,Se,fe,ue,ge,$e,we,Re,Je,wt,At=P.w_size;do{if(ue=P.window_size-P.lookahead-P.strstart,P.strstart>=At+(At-Oe)){for(Q.arraySet(P.window,P.window,At,At,0),P.match_start-=At,P.strstart-=At,P.block_start-=At,ct=Se=P.hash_size;fe=P.head[--ct],P.head[ct]=At<=fe?fe-At:0,--Se;);for(ct=Se=At;fe=P.prev[--ct],P.prev[ct]=At<=fe?fe-At:0,--Se;);ue+=At}if(P.strm.avail_in===0)break;if($e=P.strm,we=P.window,Re=P.strstart+P.lookahead,Je=ue,wt=void 0,wt=$e.avail_in,Je<wt&&(wt=Je),Se=wt===0?0:($e.avail_in-=wt,Q.arraySet(we,$e.input,$e.next_in,wt,Re),$e.state.wrap===1?$e.adler=U($e.adler,we,wt,Re):$e.state.wrap===2&&($e.adler=l($e.adler,we,wt,Re)),$e.next_in+=wt,$e.total_in+=wt,wt),P.lookahead+=Se,P.lookahead+P.insert>=Ue)for(ge=P.strstart-P.insert,P.ins_h=P.window[ge],P.ins_h=(P.ins_h<<P.hash_shift^P.window[ge+1])&P.hash_mask;P.insert&&(P.ins_h=(P.ins_h<<P.hash_shift^P.window[ge+Ue-1])&P.hash_mask,P.prev[ge&P.w_mask]=P.head[P.ins_h],P.head[P.ins_h]=ge,ge++,P.insert--,!(P.lookahead+P.insert<Ue)););}while(P.lookahead<Oe&&P.strm.avail_in!==0)}function ft(P,ct){for(var Se,fe;;){if(P.lookahead<Oe){if(lt(P),P.lookahead<Oe&&ct===W)return M;if(P.lookahead===0)break}if(Se=0,P.lookahead>=Ue&&(P.ins_h=(P.ins_h<<P.hash_shift^P.window[P.strstart+Ue-1])&P.hash_mask,Se=P.prev[P.strstart&P.w_mask]=P.head[P.ins_h],P.head[P.ins_h]=P.strstart),Se!==0&&P.strstart-Se<=P.w_size-Oe&&(P.match_length=ye(P,Se)),P.match_length>=Ue)if(fe=y._tr_tally(P,P.strstart-P.match_start,P.match_length-Ue),P.lookahead-=P.match_length,P.match_length<=P.max_lazy_match&&P.lookahead>=Ue){for(P.match_length--;P.strstart++,P.ins_h=(P.ins_h<<P.hash_shift^P.window[P.strstart+Ue-1])&P.hash_mask,Se=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 fe=y._tr_tally(P,0,P.window[P.strstart]),P.lookahead--,P.strstart++;if(fe&&(T(P,!1),P.strm.avail_out===0))return M}return P.insert=P.strstart<Ue-1?P.strstart:Ue-1,ct===G?(T(P,!0),P.strm.avail_out===0?st:ce):P.last_lit&&(T(P,!1),P.strm.avail_out===0)?M:E}function pt(P,ct){for(var Se,fe,ue;;){if(P.lookahead<Oe){if(lt(P),P.lookahead<Oe&&ct===W)return M;if(P.lookahead===0)break}if(Se=0,P.lookahead>=Ue&&(P.ins_h=(P.ins_h<<P.hash_shift^P.window[P.strstart+Ue-1])&P.hash_mask,Se=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=Ue-1,Se!==0&&P.prev_length<P.max_lazy_match&&P.strstart-Se<=P.w_size-Oe&&(P.match_length=ye(P,Se),P.match_length<=5&&(P.strategy===1||P.match_length===Ue&&4096<P.strstart-P.match_start)&&(P.match_length=Ue-1)),P.prev_length>=Ue&&P.match_length<=P.prev_length){for(ue=P.strstart+P.lookahead-Ue,fe=y._tr_tally(P,P.strstart-1-P.prev_match,P.prev_length-Ue),P.lookahead-=P.prev_length-1,P.prev_length-=2;++P.strstart<=ue&&(P.ins_h=(P.ins_h<<P.hash_shift^P.window[P.strstart+Ue-1])&P.hash_mask,Se=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=Ue-1,P.strstart++,fe&&(T(P,!1),P.strm.avail_out===0))return M}else if(P.match_available){if((fe=y._tr_tally(P,0,P.window[P.strstart-1]))&&T(P,!1),P.strstart++,P.lookahead--,P.strm.avail_out===0)return M}else P.match_available=1,P.strstart++,P.lookahead--}return P.match_available&&(fe=y._tr_tally(P,0,P.window[P.strstart-1]),P.match_available=0),P.insert=P.strstart<Ue-1?P.strstart:Ue-1,ct===G?(T(P,!0),P.strm.avail_out===0?st:ce):P.last_lit&&(T(P,!1),P.strm.avail_out===0)?M:E}function he(P,ct,Se,fe,ue){this.good_length=P,this.max_lazy=ct,this.nice_length=Se,this.max_chain=fe,this.func=ue}function We(){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=j,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 Q.Buf16(2*Le),this.dyn_dtree=new Q.Buf16(2*(2*J+1)),this.bl_tree=new Q.Buf16(2*(2*Ne+1)),_(this.dyn_ltree),_(this.dyn_dtree),_(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Q.Buf16(et+1),this.heap=new Q.Buf16(2*X+1),_(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Q.Buf16(2*X+1),_(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 jt(P){var ct;return P&&P.state?(P.total_in=P.total_out=0,P.data_type=w,(ct=P.state).pending=0,ct.pending_out=0,ct.wrap<0&&(ct.wrap=-ct.wrap),ct.status=ct.wrap?Y:xe,P.adler=ct.wrap===2?0:1,ct.last_flush=W,y._tr_init(ct),R):le(P,Z)}function ze(P){var ct=jt(P);return ct===R&&function(Se){Se.window_size=2*Se.w_size,_(Se.head),Se.max_lazy_match=q[Se.level].max_lazy,Se.good_match=q[Se.level].good_length,Se.nice_match=q[Se.level].nice_length,Se.max_chain_length=q[Se.level].max_chain,Se.strstart=0,Se.block_start=0,Se.lookahead=0,Se.insert=0,Se.match_length=Se.prev_length=Ue-1,Se.match_available=0,Se.ins_h=0}(P.state),ct}function Be(P,ct,Se,fe,ue,ge){if(!P)return Z;var $e=1;if(ct===A&&(ct=6),fe<0?($e=0,fe=-fe):15<fe&&($e=2,fe-=16),ue<1||de<ue||Se!==j||fe<8||15<fe||ct<0||9<ct||ge<0||$<ge)return le(P,Z);fe===8&&(fe=9);var we=new We;return(P.state=we).strm=P,we.wrap=$e,we.gzhead=null,we.w_bits=fe,we.w_size=1<<we.w_bits,we.w_mask=we.w_size-1,we.hash_bits=ue+7,we.hash_size=1<<we.hash_bits,we.hash_mask=we.hash_size-1,we.hash_shift=~~((we.hash_bits+Ue-1)/Ue),we.window=new Q.Buf8(2*we.w_size),we.head=new Q.Buf16(we.hash_size),we.prev=new Q.Buf16(we.w_size),we.lit_bufsize=1<<ue+6,we.pending_buf_size=4*we.lit_bufsize,we.pending_buf=new Q.Buf8(we.pending_buf_size),we.d_buf=1*we.lit_bufsize,we.l_buf=3*we.lit_bufsize,we.level=ct,we.strategy=ge,we.method=Se,ze(P)}q=[new he(0,0,0,0,function(P,ct){var Se=65535;for(Se>P.pending_buf_size-5&&(Se=P.pending_buf_size-5);;){if(P.lookahead<=1){if(lt(P),P.lookahead===0&&ct===W)return M;if(P.lookahead===0)break}P.strstart+=P.lookahead,P.lookahead=0;var fe=P.block_start+Se;if((P.strstart===0||P.strstart>=fe)&&(P.lookahead=P.strstart-fe,P.strstart=fe,T(P,!1),P.strm.avail_out===0)||P.strstart-P.block_start>=P.w_size-Oe&&(T(P,!1),P.strm.avail_out===0))return M}return P.insert=0,ct===G?(T(P,!0),P.strm.avail_out===0?st:ce):(P.strstart>P.block_start&&(T(P,!1),P.strm.avail_out),M)}),new he(4,4,8,4,ft),new he(4,5,16,8,ft),new he(4,6,32,32,ft),new he(4,4,16,16,pt),new he(8,16,32,32,pt),new he(8,16,128,128,pt),new he(8,32,128,256,pt),new he(32,128,258,1024,pt),new he(32,258,258,4096,pt)],te.deflateInit=function(P,ct){return Be(P,ct,j,15,8,0)},te.deflateInit2=Be,te.deflateReset=ze,te.deflateResetKeep=jt,te.deflateSetHeader=function(P,ct){return P&&P.state?P.state.wrap!==2?Z:(P.state.gzhead=ct,R):Z},te.deflate=function(P,ct){var Se,fe,ue,ge;if(!P||!P.state||5<ct||ct<0)return P?le(P,Z):Z;if(fe=P.state,!P.output||!P.input&&P.avail_in!==0||fe.status===666&&ct!==G)return le(P,P.avail_out===0?-5:Z);if(fe.strm=P,Se=fe.last_flush,fe.last_flush=ct,fe.status===Y)if(fe.wrap===2)P.adler=0,ne(fe,31),ne(fe,139),ne(fe,8),fe.gzhead?(ne(fe,(fe.gzhead.text?1:0)+(fe.gzhead.hcrc?2:0)+(fe.gzhead.extra?4:0)+(fe.gzhead.name?8:0)+(fe.gzhead.comment?16:0)),ne(fe,255&fe.gzhead.time),ne(fe,fe.gzhead.time>>8&255),ne(fe,fe.gzhead.time>>16&255),ne(fe,fe.gzhead.time>>24&255),ne(fe,fe.level===9?2:2<=fe.strategy||fe.level<2?4:0),ne(fe,255&fe.gzhead.os),fe.gzhead.extra&&fe.gzhead.extra.length&&(ne(fe,255&fe.gzhead.extra.length),ne(fe,fe.gzhead.extra.length>>8&255)),fe.gzhead.hcrc&&(P.adler=l(P.adler,fe.pending_buf,fe.pending,0)),fe.gzindex=0,fe.status=69):(ne(fe,0),ne(fe,0),ne(fe,0),ne(fe,0),ne(fe,0),ne(fe,fe.level===9?2:2<=fe.strategy||fe.level<2?4:0),ne(fe,3),fe.status=xe);else{var $e=j+(fe.w_bits-8<<4)<<8;$e|=(2<=fe.strategy||fe.level<2?0:fe.level<6?1:fe.level===6?2:3)<<6,fe.strstart!==0&&($e|=32),$e+=31-$e%31,fe.status=xe,Fe(fe,$e),fe.strstart!==0&&(Fe(fe,P.adler>>>16),Fe(fe,65535&P.adler)),P.adler=1}if(fe.status===69)if(fe.gzhead.extra){for(ue=fe.pending;fe.gzindex<(65535&fe.gzhead.extra.length)&&(fe.pending!==fe.pending_buf_size||(fe.gzhead.hcrc&&fe.pending>ue&&(P.adler=l(P.adler,fe.pending_buf,fe.pending-ue,ue)),re(P),ue=fe.pending,fe.pending!==fe.pending_buf_size));)ne(fe,255&fe.gzhead.extra[fe.gzindex]),fe.gzindex++;fe.gzhead.hcrc&&fe.pending>ue&&(P.adler=l(P.adler,fe.pending_buf,fe.pending-ue,ue)),fe.gzindex===fe.gzhead.extra.length&&(fe.gzindex=0,fe.status=73)}else fe.status=73;if(fe.status===73)if(fe.gzhead.name){ue=fe.pending;do{if(fe.pending===fe.pending_buf_size&&(fe.gzhead.hcrc&&fe.pending>ue&&(P.adler=l(P.adler,fe.pending_buf,fe.pending-ue,ue)),re(P),ue=fe.pending,fe.pending===fe.pending_buf_size)){ge=1;break}ge=fe.gzindex<fe.gzhead.name.length?255&fe.gzhead.name.charCodeAt(fe.gzindex++):0,ne(fe,ge)}while(ge!==0);fe.gzhead.hcrc&&fe.pending>ue&&(P.adler=l(P.adler,fe.pending_buf,fe.pending-ue,ue)),ge===0&&(fe.gzindex=0,fe.status=91)}else fe.status=91;if(fe.status===91)if(fe.gzhead.comment){ue=fe.pending;do{if(fe.pending===fe.pending_buf_size&&(fe.gzhead.hcrc&&fe.pending>ue&&(P.adler=l(P.adler,fe.pending_buf,fe.pending-ue,ue)),re(P),ue=fe.pending,fe.pending===fe.pending_buf_size)){ge=1;break}ge=fe.gzindex<fe.gzhead.comment.length?255&fe.gzhead.comment.charCodeAt(fe.gzindex++):0,ne(fe,ge)}while(ge!==0);fe.gzhead.hcrc&&fe.pending>ue&&(P.adler=l(P.adler,fe.pending_buf,fe.pending-ue,ue)),ge===0&&(fe.status=103)}else fe.status=103;if(fe.status===103&&(fe.gzhead.hcrc?(fe.pending+2>fe.pending_buf_size&&re(P),fe.pending+2<=fe.pending_buf_size&&(ne(fe,255&P.adler),ne(fe,P.adler>>8&255),P.adler=0,fe.status=xe)):fe.status=xe),fe.pending!==0){if(re(P),P.avail_out===0)return fe.last_flush=-1,R}else if(P.avail_in===0&&H(ct)<=H(Se)&&ct!==G)return le(P,-5);if(fe.status===666&&P.avail_in!==0)return le(P,-5);if(P.avail_in!==0||fe.lookahead!==0||ct!==W&&fe.status!==666){var we=fe.strategy===2?function(Re,Je){for(var wt;;){if(Re.lookahead===0&&(lt(Re),Re.lookahead===0)){if(Je===W)return M;break}if(Re.match_length=0,wt=y._tr_tally(Re,0,Re.window[Re.strstart]),Re.lookahead--,Re.strstart++,wt&&(T(Re,!1),Re.strm.avail_out===0))return M}return Re.insert=0,Je===G?(T(Re,!0),Re.strm.avail_out===0?st:ce):Re.last_lit&&(T(Re,!1),Re.strm.avail_out===0)?M:E}(fe,ct):fe.strategy===3?function(Re,Je){for(var wt,At,ar,qt,Nt=Re.window;;){if(Re.lookahead<=Ce){if(lt(Re),Re.lookahead<=Ce&&Je===W)return M;if(Re.lookahead===0)break}if(Re.match_length=0,Re.lookahead>=Ue&&0<Re.strstart&&(At=Nt[ar=Re.strstart-1])===Nt[++ar]&&At===Nt[++ar]&&At===Nt[++ar]){qt=Re.strstart+Ce;do;while(At===Nt[++ar]&&At===Nt[++ar]&&At===Nt[++ar]&&At===Nt[++ar]&&At===Nt[++ar]&&At===Nt[++ar]&&At===Nt[++ar]&&At===Nt[++ar]&&ar<qt);Re.match_length=Ce-(qt-ar),Re.match_length>Re.lookahead&&(Re.match_length=Re.lookahead)}if(Re.match_length>=Ue?(wt=y._tr_tally(Re,1,Re.match_length-Ue),Re.lookahead-=Re.match_length,Re.strstart+=Re.match_length,Re.match_length=0):(wt=y._tr_tally(Re,0,Re.window[Re.strstart]),Re.lookahead--,Re.strstart++),wt&&(T(Re,!1),Re.strm.avail_out===0))return M}return Re.insert=0,Je===G?(T(Re,!0),Re.strm.avail_out===0?st:ce):Re.last_lit&&(T(Re,!1),Re.strm.avail_out===0)?M:E}(fe,ct):q[fe.level].func(fe,ct);if(we!==st&&we!==ce||(fe.status=666),we===M||we===st)return P.avail_out===0&&(fe.last_flush=-1),R;if(we===E&&(ct===1?y._tr_align(fe):ct!==5&&(y._tr_stored_block(fe,0,0,!1),ct===3&&(_(fe.head),fe.lookahead===0&&(fe.strstart=0,fe.block_start=0,fe.insert=0))),re(P),P.avail_out===0))return fe.last_flush=-1,R}return ct!==G?R:fe.wrap<=0?1:(fe.wrap===2?(ne(fe,255&P.adler),ne(fe,P.adler>>8&255),ne(fe,P.adler>>16&255),ne(fe,P.adler>>24&255),ne(fe,255&P.total_in),ne(fe,P.total_in>>8&255),ne(fe,P.total_in>>16&255),ne(fe,P.total_in>>24&255)):(Fe(fe,P.adler>>>16),Fe(fe,65535&P.adler)),re(P),0<fe.wrap&&(fe.wrap=-fe.wrap),fe.pending!==0?R:1)},te.deflateEnd=function(P){var ct;return P&&P.state?(ct=P.state.status)!==Y&&ct!==69&&ct!==73&&ct!==91&&ct!==103&&ct!==xe&&ct!==666?le(P,Z):(P.state=null,ct===xe?le(P,-3):R):Z},te.deflateSetDictionary=function(P,ct){var Se,fe,ue,ge,$e,we,Re,Je,wt=ct.length;if(!P||!P.state||(ge=(Se=P.state).wrap)===2||ge===1&&Se.status!==Y||Se.lookahead)return Z;for(ge===1&&(P.adler=U(P.adler,ct,wt,0)),Se.wrap=0,wt>=Se.w_size&&(ge===0&&(_(Se.head),Se.strstart=0,Se.block_start=0,Se.insert=0),Je=new Q.Buf8(Se.w_size),Q.arraySet(Je,ct,wt-Se.w_size,Se.w_size,0),ct=Je,wt=Se.w_size),$e=P.avail_in,we=P.next_in,Re=P.input,P.avail_in=wt,P.next_in=0,P.input=ct,lt(Se);Se.lookahead>=Ue;){for(fe=Se.strstart,ue=Se.lookahead-(Ue-1);Se.ins_h=(Se.ins_h<<Se.hash_shift^Se.window[fe+Ue-1])&Se.hash_mask,Se.prev[fe&Se.w_mask]=Se.head[Se.ins_h],Se.head[Se.ins_h]=fe,fe++,--ue;);Se.strstart=fe,Se.lookahead=Ue-1,lt(Se)}return Se.strstart+=Se.lookahead,Se.block_start=Se.strstart,Se.insert=Se.lookahead,Se.lookahead=0,Se.match_length=Se.prev_length=Ue-1,Se.match_available=0,P.next_in=we,P.input=Re,P.avail_in=$e,Se.wrap=ge,R},te.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(I,He,te){"use strict";He.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(I,He,te){"use strict";He.exports=function(q,Q){var y,U,l,L,W,G,R,Z,A,$,w,j,de,X,J,Ne,Le,et,Ue,Ce,Oe,Y,xe,M,E;y=q.state,U=q.next_in,M=q.input,l=U+(q.avail_in-5),L=q.next_out,E=q.output,W=L-(Q-q.avail_out),G=L+(q.avail_out-257),R=y.dmax,Z=y.wsize,A=y.whave,$=y.wnext,w=y.window,j=y.hold,de=y.bits,X=y.lencode,J=y.distcode,Ne=(1<<y.lenbits)-1,Le=(1<<y.distbits)-1;e:do{de<15&&(j+=M[U++]<<de,de+=8,j+=M[U++]<<de,de+=8),et=X[j&Ne];t:for(;;){if(j>>>=Ue=et>>>24,de-=Ue,(Ue=et>>>16&255)===0)E[L++]=65535&et;else{if(!(16&Ue)){if(!(64&Ue)){et=X[(65535&et)+(j&(1<<Ue)-1)];continue t}if(32&Ue){y.mode=12;break e}q.msg="invalid literal/length code",y.mode=30;break e}Ce=65535&et,(Ue&=15)&&(de<Ue&&(j+=M[U++]<<de,de+=8),Ce+=j&(1<<Ue)-1,j>>>=Ue,de-=Ue),de<15&&(j+=M[U++]<<de,de+=8,j+=M[U++]<<de,de+=8),et=J[j&Le];r:for(;;){if(j>>>=Ue=et>>>24,de-=Ue,!(16&(Ue=et>>>16&255))){if(!(64&Ue)){et=J[(65535&et)+(j&(1<<Ue)-1)];continue r}q.msg="invalid distance code",y.mode=30;break e}if(Oe=65535&et,de<(Ue&=15)&&(j+=M[U++]<<de,(de+=8)<Ue&&(j+=M[U++]<<de,de+=8)),R<(Oe+=j&(1<<Ue)-1)){q.msg="invalid distance too far back",y.mode=30;break e}if(j>>>=Ue,de-=Ue,(Ue=L-W)<Oe){if(A<(Ue=Oe-Ue)&&y.sane){q.msg="invalid distance too far back",y.mode=30;break e}if(xe=w,(Y=0)===$){if(Y+=Z-Ue,Ue<Ce){for(Ce-=Ue;E[L++]=w[Y++],--Ue;);Y=L-Oe,xe=E}}else if($<Ue){if(Y+=Z+$-Ue,(Ue-=$)<Ce){for(Ce-=Ue;E[L++]=w[Y++],--Ue;);if(Y=0,$<Ce){for(Ce-=Ue=$;E[L++]=w[Y++],--Ue;);Y=L-Oe,xe=E}}}else if(Y+=$-Ue,Ue<Ce){for(Ce-=Ue;E[L++]=w[Y++],--Ue;);Y=L-Oe,xe=E}for(;2<Ce;)E[L++]=xe[Y++],E[L++]=xe[Y++],E[L++]=xe[Y++],Ce-=3;Ce&&(E[L++]=xe[Y++],1<Ce&&(E[L++]=xe[Y++]))}else{for(Y=L-Oe;E[L++]=E[Y++],E[L++]=E[Y++],E[L++]=E[Y++],2<(Ce-=3););Ce&&(E[L++]=E[Y++],1<Ce&&(E[L++]=E[Y++]))}break}}break}}while(U<l&&L<G);U-=Ce=de>>3,j&=(1<<(de-=Ce<<3))-1,q.next_in=U,q.next_out=L,q.avail_in=U<l?l-U+5:5-(U-l),q.avail_out=L<G?G-L+257:257-(L-G),y.hold=j,y.bits=de}},{}],49:[function(I,He,te){"use strict";var q=I("../utils/common"),Q=I("./adler32"),y=I("./crc32"),U=I("./inffast"),l=I("./inftrees"),L=1,W=2,G=0,R=-2,Z=1,A=852,$=592;function w(Y){return(Y>>>24&255)+(Y>>>8&65280)+((65280&Y)<<8)+((255&Y)<<24)}function j(){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 q.Buf16(320),this.work=new q.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function de(Y){var xe;return Y&&Y.state?(xe=Y.state,Y.total_in=Y.total_out=xe.total=0,Y.msg="",xe.wrap&&(Y.adler=1&xe.wrap),xe.mode=Z,xe.last=0,xe.havedict=0,xe.dmax=32768,xe.head=null,xe.hold=0,xe.bits=0,xe.lencode=xe.lendyn=new q.Buf32(A),xe.distcode=xe.distdyn=new q.Buf32($),xe.sane=1,xe.back=-1,G):R}function X(Y){var xe;return Y&&Y.state?((xe=Y.state).wsize=0,xe.whave=0,xe.wnext=0,de(Y)):R}function J(Y,xe){var M,E;return Y&&Y.state?(E=Y.state,xe<0?(M=0,xe=-xe):(M=1+(xe>>4),xe<48&&(xe&=15)),xe&&(xe<8||15<xe)?R:(E.window!==null&&E.wbits!==xe&&(E.window=null),E.wrap=M,E.wbits=xe,X(Y))):R}function Ne(Y,xe){var M,E;return Y?(E=new j,(Y.state=E).window=null,(M=J(Y,xe))!==G&&(Y.state=null),M):R}var Le,et,Ue=!0;function Ce(Y){if(Ue){var xe;for(Le=new q.Buf32(512),et=new q.Buf32(32),xe=0;xe<144;)Y.lens[xe++]=8;for(;xe<256;)Y.lens[xe++]=9;for(;xe<280;)Y.lens[xe++]=7;for(;xe<288;)Y.lens[xe++]=8;for(l(L,Y.lens,0,288,Le,0,Y.work,{bits:9}),xe=0;xe<32;)Y.lens[xe++]=5;l(W,Y.lens,0,32,et,0,Y.work,{bits:5}),Ue=!1}Y.lencode=Le,Y.lenbits=9,Y.distcode=et,Y.distbits=5}function Oe(Y,xe,M,E){var st,ce=Y.state;return ce.window===null&&(ce.wsize=1<<ce.wbits,ce.wnext=0,ce.whave=0,ce.window=new q.Buf8(ce.wsize)),E>=ce.wsize?(q.arraySet(ce.window,xe,M-ce.wsize,ce.wsize,0),ce.wnext=0,ce.whave=ce.wsize):(E<(st=ce.wsize-ce.wnext)&&(st=E),q.arraySet(ce.window,xe,M-E,st,ce.wnext),(E-=st)?(q.arraySet(ce.window,xe,M-E,E,0),ce.wnext=E,ce.whave=ce.wsize):(ce.wnext+=st,ce.wnext===ce.wsize&&(ce.wnext=0),ce.whave<ce.wsize&&(ce.whave+=st))),0}te.inflateReset=X,te.inflateReset2=J,te.inflateResetKeep=de,te.inflateInit=function(Y){return Ne(Y,15)},te.inflateInit2=Ne,te.inflate=function(Y,xe){var M,E,st,ce,le,H,_,re,T,ne,Fe,ye,lt,ft,pt,he,We,jt,ze,Be,P,ct,Se,fe,ue=0,ge=new q.Buf8(4),$e=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Y||!Y.state||!Y.output||!Y.input&&Y.avail_in!==0)return R;(M=Y.state).mode===12&&(M.mode=13),le=Y.next_out,st=Y.output,_=Y.avail_out,ce=Y.next_in,E=Y.input,H=Y.avail_in,re=M.hold,T=M.bits,ne=H,Fe=_,ct=G;e:for(;;)switch(M.mode){case Z:if(M.wrap===0){M.mode=13;break}for(;T<16;){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}if(2&M.wrap&&re===35615){ge[M.check=0]=255&re,ge[1]=re>>>8&255,M.check=y(M.check,ge,2,0),T=re=0,M.mode=2;break}if(M.flags=0,M.head&&(M.head.done=!1),!(1&M.wrap)||(((255&re)<<8)+(re>>8))%31){Y.msg="incorrect header check",M.mode=30;break}if((15&re)!=8){Y.msg="unknown compression method",M.mode=30;break}if(T-=4,P=8+(15&(re>>>=4)),M.wbits===0)M.wbits=P;else if(P>M.wbits){Y.msg="invalid window size",M.mode=30;break}M.dmax=1<<P,Y.adler=M.check=1,M.mode=512&re?10:12,T=re=0;break;case 2:for(;T<16;){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}if(M.flags=re,(255&M.flags)!=8){Y.msg="unknown compression method",M.mode=30;break}if(57344&M.flags){Y.msg="unknown header flags set",M.mode=30;break}M.head&&(M.head.text=re>>8&1),512&M.flags&&(ge[0]=255&re,ge[1]=re>>>8&255,M.check=y(M.check,ge,2,0)),T=re=0,M.mode=3;case 3:for(;T<32;){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}M.head&&(M.head.time=re),512&M.flags&&(ge[0]=255&re,ge[1]=re>>>8&255,ge[2]=re>>>16&255,ge[3]=re>>>24&255,M.check=y(M.check,ge,4,0)),T=re=0,M.mode=4;case 4:for(;T<16;){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}M.head&&(M.head.xflags=255&re,M.head.os=re>>8),512&M.flags&&(ge[0]=255&re,ge[1]=re>>>8&255,M.check=y(M.check,ge,2,0)),T=re=0,M.mode=5;case 5:if(1024&M.flags){for(;T<16;){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}M.length=re,M.head&&(M.head.extra_len=re),512&M.flags&&(ge[0]=255&re,ge[1]=re>>>8&255,M.check=y(M.check,ge,2,0)),T=re=0}else M.head&&(M.head.extra=null);M.mode=6;case 6:if(1024&M.flags&&(H<(ye=M.length)&&(ye=H),ye&&(M.head&&(P=M.head.extra_len-M.length,M.head.extra||(M.head.extra=new Array(M.head.extra_len)),q.arraySet(M.head.extra,E,ce,ye,P)),512&M.flags&&(M.check=y(M.check,E,ye,ce)),H-=ye,ce+=ye,M.length-=ye),M.length))break e;M.length=0,M.mode=7;case 7:if(2048&M.flags){if(H===0)break e;for(ye=0;P=E[ce+ye++],M.head&&P&&M.length<65536&&(M.head.name+=String.fromCharCode(P)),P&&ye<H;);if(512&M.flags&&(M.check=y(M.check,E,ye,ce)),H-=ye,ce+=ye,P)break e}else M.head&&(M.head.name=null);M.length=0,M.mode=8;case 8:if(4096&M.flags){if(H===0)break e;for(ye=0;P=E[ce+ye++],M.head&&P&&M.length<65536&&(M.head.comment+=String.fromCharCode(P)),P&&ye<H;);if(512&M.flags&&(M.check=y(M.check,E,ye,ce)),H-=ye,ce+=ye,P)break e}else M.head&&(M.head.comment=null);M.mode=9;case 9:if(512&M.flags){for(;T<16;){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}if(re!==(65535&M.check)){Y.msg="header crc mismatch",M.mode=30;break}T=re=0}M.head&&(M.head.hcrc=M.flags>>9&1,M.head.done=!0),Y.adler=M.check=0,M.mode=12;break;case 10:for(;T<32;){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}Y.adler=M.check=w(re),T=re=0,M.mode=11;case 11:if(M.havedict===0)return Y.next_out=le,Y.avail_out=_,Y.next_in=ce,Y.avail_in=H,M.hold=re,M.bits=T,2;Y.adler=M.check=1,M.mode=12;case 12:if(xe===5||xe===6)break e;case 13:if(M.last){re>>>=7&T,T-=7&T,M.mode=27;break}for(;T<3;){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}switch(M.last=1&re,T-=1,3&(re>>>=1)){case 0:M.mode=14;break;case 1:if(Ce(M),M.mode=20,xe!==6)break;re>>>=2,T-=2;break e;case 2:M.mode=17;break;case 3:Y.msg="invalid block type",M.mode=30}re>>>=2,T-=2;break;case 14:for(re>>>=7&T,T-=7&T;T<32;){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}if((65535&re)!=(re>>>16^65535)){Y.msg="invalid stored block lengths",M.mode=30;break}if(M.length=65535&re,T=re=0,M.mode=15,xe===6)break e;case 15:M.mode=16;case 16:if(ye=M.length){if(H<ye&&(ye=H),_<ye&&(ye=_),ye===0)break e;q.arraySet(st,E,ce,ye,le),H-=ye,ce+=ye,_-=ye,le+=ye,M.length-=ye;break}M.mode=12;break;case 17:for(;T<14;){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}if(M.nlen=257+(31&re),re>>>=5,T-=5,M.ndist=1+(31&re),re>>>=5,T-=5,M.ncode=4+(15&re),re>>>=4,T-=4,286<M.nlen||30<M.ndist){Y.msg="too many length or distance symbols",M.mode=30;break}M.have=0,M.mode=18;case 18:for(;M.have<M.ncode;){for(;T<3;){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}M.lens[$e[M.have++]]=7&re,re>>>=3,T-=3}for(;M.have<19;)M.lens[$e[M.have++]]=0;if(M.lencode=M.lendyn,M.lenbits=7,Se={bits:M.lenbits},ct=l(0,M.lens,0,19,M.lencode,0,M.work,Se),M.lenbits=Se.bits,ct){Y.msg="invalid code lengths set",M.mode=30;break}M.have=0,M.mode=19;case 19:for(;M.have<M.nlen+M.ndist;){for(;he=(ue=M.lencode[re&(1<<M.lenbits)-1])>>>16&255,We=65535&ue,!((pt=ue>>>24)<=T);){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}if(We<16)re>>>=pt,T-=pt,M.lens[M.have++]=We;else{if(We===16){for(fe=pt+2;T<fe;){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}if(re>>>=pt,T-=pt,M.have===0){Y.msg="invalid bit length repeat",M.mode=30;break}P=M.lens[M.have-1],ye=3+(3&re),re>>>=2,T-=2}else if(We===17){for(fe=pt+3;T<fe;){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}T-=pt,P=0,ye=3+(7&(re>>>=pt)),re>>>=3,T-=3}else{for(fe=pt+7;T<fe;){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}T-=pt,P=0,ye=11+(127&(re>>>=pt)),re>>>=7,T-=7}if(M.have+ye>M.nlen+M.ndist){Y.msg="invalid bit length repeat",M.mode=30;break}for(;ye--;)M.lens[M.have++]=P}}if(M.mode===30)break;if(M.lens[256]===0){Y.msg="invalid code -- missing end-of-block",M.mode=30;break}if(M.lenbits=9,Se={bits:M.lenbits},ct=l(L,M.lens,0,M.nlen,M.lencode,0,M.work,Se),M.lenbits=Se.bits,ct){Y.msg="invalid literal/lengths set",M.mode=30;break}if(M.distbits=6,M.distcode=M.distdyn,Se={bits:M.distbits},ct=l(W,M.lens,M.nlen,M.ndist,M.distcode,0,M.work,Se),M.distbits=Se.bits,ct){Y.msg="invalid distances set",M.mode=30;break}if(M.mode=20,xe===6)break e;case 20:M.mode=21;case 21:if(6<=H&&258<=_){Y.next_out=le,Y.avail_out=_,Y.next_in=ce,Y.avail_in=H,M.hold=re,M.bits=T,U(Y,Fe),le=Y.next_out,st=Y.output,_=Y.avail_out,ce=Y.next_in,E=Y.input,H=Y.avail_in,re=M.hold,T=M.bits,M.mode===12&&(M.back=-1);break}for(M.back=0;he=(ue=M.lencode[re&(1<<M.lenbits)-1])>>>16&255,We=65535&ue,!((pt=ue>>>24)<=T);){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}if(he&&!(240&he)){for(jt=pt,ze=he,Be=We;he=(ue=M.lencode[Be+((re&(1<<jt+ze)-1)>>jt)])>>>16&255,We=65535&ue,!(jt+(pt=ue>>>24)<=T);){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}re>>>=jt,T-=jt,M.back+=jt}if(re>>>=pt,T-=pt,M.back+=pt,M.length=We,he===0){M.mode=26;break}if(32&he){M.back=-1,M.mode=12;break}if(64&he){Y.msg="invalid literal/length code",M.mode=30;break}M.extra=15&he,M.mode=22;case 22:if(M.extra){for(fe=M.extra;T<fe;){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}M.length+=re&(1<<M.extra)-1,re>>>=M.extra,T-=M.extra,M.back+=M.extra}M.was=M.length,M.mode=23;case 23:for(;he=(ue=M.distcode[re&(1<<M.distbits)-1])>>>16&255,We=65535&ue,!((pt=ue>>>24)<=T);){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}if(!(240&he)){for(jt=pt,ze=he,Be=We;he=(ue=M.distcode[Be+((re&(1<<jt+ze)-1)>>jt)])>>>16&255,We=65535&ue,!(jt+(pt=ue>>>24)<=T);){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}re>>>=jt,T-=jt,M.back+=jt}if(re>>>=pt,T-=pt,M.back+=pt,64&he){Y.msg="invalid distance code",M.mode=30;break}M.offset=We,M.extra=15&he,M.mode=24;case 24:if(M.extra){for(fe=M.extra;T<fe;){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}M.offset+=re&(1<<M.extra)-1,re>>>=M.extra,T-=M.extra,M.back+=M.extra}if(M.offset>M.dmax){Y.msg="invalid distance too far back",M.mode=30;break}M.mode=25;case 25:if(_===0)break e;if(ye=Fe-_,M.offset>ye){if((ye=M.offset-ye)>M.whave&&M.sane){Y.msg="invalid distance too far back",M.mode=30;break}lt=ye>M.wnext?(ye-=M.wnext,M.wsize-ye):M.wnext-ye,ye>M.length&&(ye=M.length),ft=M.window}else ft=st,lt=le-M.offset,ye=M.length;for(_<ye&&(ye=_),_-=ye,M.length-=ye;st[le++]=ft[lt++],--ye;);M.length===0&&(M.mode=21);break;case 26:if(_===0)break e;st[le++]=M.length,_--,M.mode=21;break;case 27:if(M.wrap){for(;T<32;){if(H===0)break e;H--,re|=E[ce++]<<T,T+=8}if(Fe-=_,Y.total_out+=Fe,M.total+=Fe,Fe&&(Y.adler=M.check=M.flags?y(M.check,st,Fe,le-Fe):Q(M.check,st,Fe,le-Fe)),Fe=_,(M.flags?re:w(re))!==M.check){Y.msg="incorrect data check",M.mode=30;break}T=re=0}M.mode=28;case 28:if(M.wrap&&M.flags){for(;T<32;){if(H===0)break e;H--,re+=E[ce++]<<T,T+=8}if(re!==(4294967295&M.total)){Y.msg="incorrect length check",M.mode=30;break}T=re=0}M.mode=29;case 29:ct=1;break e;case 30:ct=-3;break e;case 31:return-4;case 32:default:return R}return Y.next_out=le,Y.avail_out=_,Y.next_in=ce,Y.avail_in=H,M.hold=re,M.bits=T,(M.wsize||Fe!==Y.avail_out&&M.mode<30&&(M.mode<27||xe!==4))&&Oe(Y,Y.output,Y.next_out,Fe-Y.avail_out)?(M.mode=31,-4):(ne-=Y.avail_in,Fe-=Y.avail_out,Y.total_in+=ne,Y.total_out+=Fe,M.total+=Fe,M.wrap&&Fe&&(Y.adler=M.check=M.flags?y(M.check,st,Fe,Y.next_out-Fe):Q(M.check,st,Fe,Y.next_out-Fe)),Y.data_type=M.bits+(M.last?64:0)+(M.mode===12?128:0)+(M.mode===20||M.mode===15?256:0),(ne==0&&Fe===0||xe===4)&&ct===G&&(ct=-5),ct)},te.inflateEnd=function(Y){if(!Y||!Y.state)return R;var xe=Y.state;return xe.window&&(xe.window=null),Y.state=null,G},te.inflateGetHeader=function(Y,xe){var M;return Y&&Y.state&&2&(M=Y.state).wrap?((M.head=xe).done=!1,G):R},te.inflateSetDictionary=function(Y,xe){var M,E=xe.length;return Y&&Y.state?(M=Y.state).wrap!==0&&M.mode!==11?R:M.mode===11&&Q(1,xe,E,0)!==M.check?-3:Oe(Y,xe,E,E)?(M.mode=31,-4):(M.havedict=1,G):R},te.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(I,He,te){"use strict";var q=I("../utils/common"),Q=[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],U=[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],l=[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];He.exports=function(L,W,G,R,Z,A,$,w){var j,de,X,J,Ne,Le,et,Ue,Ce,Oe=w.bits,Y=0,xe=0,M=0,E=0,st=0,ce=0,le=0,H=0,_=0,re=0,T=null,ne=0,Fe=new q.Buf16(16),ye=new q.Buf16(16),lt=null,ft=0;for(Y=0;Y<=15;Y++)Fe[Y]=0;for(xe=0;xe<R;xe++)Fe[W[G+xe]]++;for(st=Oe,E=15;1<=E&&Fe[E]===0;E--);if(E<st&&(st=E),E===0)return Z[A++]=20971520,Z[A++]=20971520,w.bits=1,0;for(M=1;M<E&&Fe[M]===0;M++);for(st<M&&(st=M),Y=H=1;Y<=15;Y++)if(H<<=1,(H-=Fe[Y])<0)return-1;if(0<H&&(L===0||E!==1))return-1;for(ye[1]=0,Y=1;Y<15;Y++)ye[Y+1]=ye[Y]+Fe[Y];for(xe=0;xe<R;xe++)W[G+xe]!==0&&($[ye[W[G+xe]]++]=xe);if(Le=L===0?(T=lt=$,19):L===1?(T=Q,ne-=257,lt=y,ft-=257,256):(T=U,lt=l,-1),Y=M,Ne=A,le=xe=re=0,X=-1,J=(_=1<<(ce=st))-1,L===1&&852<_||L===2&&592<_)return 1;for(;;){for(et=Y-le,Ce=$[xe]<Le?(Ue=0,$[xe]):$[xe]>Le?(Ue=lt[ft+$[xe]],T[ne+$[xe]]):(Ue=96,0),j=1<<Y-le,M=de=1<<ce;Z[Ne+(re>>le)+(de-=j)]=et<<24|Ue<<16|Ce|0,de!==0;);for(j=1<<Y-1;re&j;)j>>=1;if(j!==0?(re&=j-1,re+=j):re=0,xe++,--Fe[Y]==0){if(Y===E)break;Y=W[G+$[xe]]}if(st<Y&&(re&J)!==X){for(le===0&&(le=st),Ne+=M,H=1<<(ce=Y-le);ce+le<E&&!((H-=Fe[ce+le])<=0);)ce++,H<<=1;if(_+=1<<ce,L===1&&852<_||L===2&&592<_)return 1;Z[X=re&J]=st<<24|ce<<16|Ne-A|0}}return re!==0&&(Z[Ne+re]=Y-le<<24|64<<16|0),w.bits=st,0}},{"../utils/common":41}],51:[function(I,He,te){"use strict";He.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(I,He,te){"use strict";var q=I("../utils/common"),Q=0,y=1;function U(ue){for(var ge=ue.length;0<=--ge;)ue[ge]=0}var l=0,L=29,W=256,G=W+1+L,R=30,Z=19,A=2*G+1,$=15,w=16,j=7,de=256,X=16,J=17,Ne=18,Le=[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],et=[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],Ue=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Ce=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Oe=new Array(2*(G+2));U(Oe);var Y=new Array(2*R);U(Y);var xe=new Array(512);U(xe);var M=new Array(256);U(M);var E=new Array(L);U(E);var st,ce,le,H=new Array(R);function _(ue,ge,$e,we,Re){this.static_tree=ue,this.extra_bits=ge,this.extra_base=$e,this.elems=we,this.max_length=Re,this.has_stree=ue&&ue.length}function re(ue,ge){this.dyn_tree=ue,this.max_code=0,this.stat_desc=ge}function T(ue){return ue<256?xe[ue]:xe[256+(ue>>>7)]}function ne(ue,ge){ue.pending_buf[ue.pending++]=255&ge,ue.pending_buf[ue.pending++]=ge>>>8&255}function Fe(ue,ge,$e){ue.bi_valid>w-$e?(ue.bi_buf|=ge<<ue.bi_valid&65535,ne(ue,ue.bi_buf),ue.bi_buf=ge>>w-ue.bi_valid,ue.bi_valid+=$e-w):(ue.bi_buf|=ge<<ue.bi_valid&65535,ue.bi_valid+=$e)}function ye(ue,ge,$e){Fe(ue,$e[2*ge],$e[2*ge+1])}function lt(ue,ge){for(var $e=0;$e|=1&ue,ue>>>=1,$e<<=1,0<--ge;);return $e>>>1}function ft(ue,ge,$e){var we,Re,Je=new Array($+1),wt=0;for(we=1;we<=$;we++)Je[we]=wt=wt+$e[we-1]<<1;for(Re=0;Re<=ge;Re++){var At=ue[2*Re+1];At!==0&&(ue[2*Re]=lt(Je[At]++,At))}}function pt(ue){var ge;for(ge=0;ge<G;ge++)ue.dyn_ltree[2*ge]=0;for(ge=0;ge<R;ge++)ue.dyn_dtree[2*ge]=0;for(ge=0;ge<Z;ge++)ue.bl_tree[2*ge]=0;ue.dyn_ltree[2*de]=1,ue.opt_len=ue.static_len=0,ue.last_lit=ue.matches=0}function he(ue){8<ue.bi_valid?ne(ue,ue.bi_buf):0<ue.bi_valid&&(ue.pending_buf[ue.pending++]=ue.bi_buf),ue.bi_buf=0,ue.bi_valid=0}function We(ue,ge,$e,we){var Re=2*ge,Je=2*$e;return ue[Re]<ue[Je]||ue[Re]===ue[Je]&&we[ge]<=we[$e]}function jt(ue,ge,$e){for(var we=ue.heap[$e],Re=$e<<1;Re<=ue.heap_len&&(Re<ue.heap_len&&We(ge,ue.heap[Re+1],ue.heap[Re],ue.depth)&&Re++,!We(ge,we,ue.heap[Re],ue.depth));)ue.heap[$e]=ue.heap[Re],$e=Re,Re<<=1;ue.heap[$e]=we}function ze(ue,ge,$e){var we,Re,Je,wt,At=0;if(ue.last_lit!==0)for(;we=ue.pending_buf[ue.d_buf+2*At]<<8|ue.pending_buf[ue.d_buf+2*At+1],Re=ue.pending_buf[ue.l_buf+At],At++,we===0?ye(ue,Re,ge):(ye(ue,(Je=M[Re])+W+1,ge),(wt=Le[Je])!==0&&Fe(ue,Re-=E[Je],wt),ye(ue,Je=T(--we),$e),(wt=et[Je])!==0&&Fe(ue,we-=H[Je],wt)),At<ue.last_lit;);ye(ue,de,ge)}function Be(ue,ge){var $e,we,Re,Je=ge.dyn_tree,wt=ge.stat_desc.static_tree,At=ge.stat_desc.has_stree,ar=ge.stat_desc.elems,qt=-1;for(ue.heap_len=0,ue.heap_max=A,$e=0;$e<ar;$e++)Je[2*$e]!==0?(ue.heap[++ue.heap_len]=qt=$e,ue.depth[$e]=0):Je[2*$e+1]=0;for(;ue.heap_len<2;)Je[2*(Re=ue.heap[++ue.heap_len]=qt<2?++qt:0)]=1,ue.depth[Re]=0,ue.opt_len--,At&&(ue.static_len-=wt[2*Re+1]);for(ge.max_code=qt,$e=ue.heap_len>>1;1<=$e;$e--)jt(ue,Je,$e);for(Re=ar;$e=ue.heap[1],ue.heap[1]=ue.heap[ue.heap_len--],jt(ue,Je,1),we=ue.heap[1],ue.heap[--ue.heap_max]=$e,ue.heap[--ue.heap_max]=we,Je[2*Re]=Je[2*$e]+Je[2*we],ue.depth[Re]=(ue.depth[$e]>=ue.depth[we]?ue.depth[$e]:ue.depth[we])+1,Je[2*$e+1]=Je[2*we+1]=Re,ue.heap[1]=Re++,jt(ue,Je,1),2<=ue.heap_len;);ue.heap[--ue.heap_max]=ue.heap[1],function(Nt,ht){var Ot,Tt,Ut,St,gr,lr,Cr=ht.dyn_tree,rn=ht.max_code,Er=ht.stat_desc.static_tree,S=ht.stat_desc.has_stree,N=ht.stat_desc.extra_bits,er=ht.stat_desc.extra_base,se=ht.stat_desc.max_length,ke=0;for(St=0;St<=$;St++)Nt.bl_count[St]=0;for(Cr[2*Nt.heap[Nt.heap_max]+1]=0,Ot=Nt.heap_max+1;Ot<A;Ot++)se<(St=Cr[2*Cr[2*(Tt=Nt.heap[Ot])+1]+1]+1)&&(St=se,ke++),Cr[2*Tt+1]=St,rn<Tt||(Nt.bl_count[St]++,gr=0,er<=Tt&&(gr=N[Tt-er]),lr=Cr[2*Tt],Nt.opt_len+=lr*(St+gr),S&&(Nt.static_len+=lr*(Er[2*Tt+1]+gr)));if(ke!==0){do{for(St=se-1;Nt.bl_count[St]===0;)St--;Nt.bl_count[St]--,Nt.bl_count[St+1]+=2,Nt.bl_count[se]--,ke-=2}while(0<ke);for(St=se;St!==0;St--)for(Tt=Nt.bl_count[St];Tt!==0;)rn<(Ut=Nt.heap[--Ot])||(Cr[2*Ut+1]!==St&&(Nt.opt_len+=(St-Cr[2*Ut+1])*Cr[2*Ut],Cr[2*Ut+1]=St),Tt--)}}(ue,ge),ft(Je,qt,ue.bl_count)}function P(ue,ge,$e){var we,Re,Je=-1,wt=ge[1],At=0,ar=7,qt=4;for(wt===0&&(ar=138,qt=3),ge[2*($e+1)+1]=65535,we=0;we<=$e;we++)Re=wt,wt=ge[2*(we+1)+1],++At<ar&&Re===wt||(At<qt?ue.bl_tree[2*Re]+=At:Re!==0?(Re!==Je&&ue.bl_tree[2*Re]++,ue.bl_tree[2*X]++):At<=10?ue.bl_tree[2*J]++:ue.bl_tree[2*Ne]++,Je=Re,qt=(At=0)===wt?(ar=138,3):Re===wt?(ar=6,3):(ar=7,4))}function ct(ue,ge,$e){var we,Re,Je=-1,wt=ge[1],At=0,ar=7,qt=4;for(wt===0&&(ar=138,qt=3),we=0;we<=$e;we++)if(Re=wt,wt=ge[2*(we+1)+1],!(++At<ar&&Re===wt)){if(At<qt)for(;ye(ue,Re,ue.bl_tree),--At!=0;);else Re!==0?(Re!==Je&&(ye(ue,Re,ue.bl_tree),At--),ye(ue,X,ue.bl_tree),Fe(ue,At-3,2)):At<=10?(ye(ue,J,ue.bl_tree),Fe(ue,At-3,3)):(ye(ue,Ne,ue.bl_tree),Fe(ue,At-11,7));Je=Re,qt=(At=0)===wt?(ar=138,3):Re===wt?(ar=6,3):(ar=7,4)}}U(H);var Se=!1;function fe(ue,ge,$e,we){Fe(ue,(l<<1)+(we?1:0),3),function(Re,Je,wt,At){he(Re),At&&(ne(Re,wt),ne(Re,~wt)),q.arraySet(Re.pending_buf,Re.window,Je,wt,Re.pending),Re.pending+=wt}(ue,ge,$e,!0)}te._tr_init=function(ue){Se||(function(){var ge,$e,we,Re,Je,wt=new Array($+1);for(Re=we=0;Re<L-1;Re++)for(E[Re]=we,ge=0;ge<1<<Le[Re];ge++)M[we++]=Re;for(M[we-1]=Re,Re=Je=0;Re<16;Re++)for(H[Re]=Je,ge=0;ge<1<<et[Re];ge++)xe[Je++]=Re;for(Je>>=7;Re<R;Re++)for(H[Re]=Je<<7,ge=0;ge<1<<et[Re]-7;ge++)xe[256+Je++]=Re;for($e=0;$e<=$;$e++)wt[$e]=0;for(ge=0;ge<=143;)Oe[2*ge+1]=8,ge++,wt[8]++;for(;ge<=255;)Oe[2*ge+1]=9,ge++,wt[9]++;for(;ge<=279;)Oe[2*ge+1]=7,ge++,wt[7]++;for(;ge<=287;)Oe[2*ge+1]=8,ge++,wt[8]++;for(ft(Oe,G+1,wt),ge=0;ge<R;ge++)Y[2*ge+1]=5,Y[2*ge]=lt(ge,5);st=new _(Oe,Le,W+1,G,$),ce=new _(Y,et,0,R,$),le=new _(new Array(0),Ue,0,Z,j)}(),Se=!0),ue.l_desc=new re(ue.dyn_ltree,st),ue.d_desc=new re(ue.dyn_dtree,ce),ue.bl_desc=new re(ue.bl_tree,le),ue.bi_buf=0,ue.bi_valid=0,pt(ue)},te._tr_stored_block=fe,te._tr_flush_block=function(ue,ge,$e,we){var Re,Je,wt=0;0<ue.level?(ue.strm.data_type===2&&(ue.strm.data_type=function(At){var ar,qt=4093624447;for(ar=0;ar<=31;ar++,qt>>>=1)if(1&qt&&At.dyn_ltree[2*ar]!==0)return Q;if(At.dyn_ltree[18]!==0||At.dyn_ltree[20]!==0||At.dyn_ltree[26]!==0)return y;for(ar=32;ar<W;ar++)if(At.dyn_ltree[2*ar]!==0)return y;return Q}(ue)),Be(ue,ue.l_desc),Be(ue,ue.d_desc),wt=function(At){var ar;for(P(At,At.dyn_ltree,At.l_desc.max_code),P(At,At.dyn_dtree,At.d_desc.max_code),Be(At,At.bl_desc),ar=Z-1;3<=ar&&At.bl_tree[2*Ce[ar]+1]===0;ar--);return At.opt_len+=3*(ar+1)+5+5+4,ar}(ue),Re=ue.opt_len+3+7>>>3,(Je=ue.static_len+3+7>>>3)<=Re&&(Re=Je)):Re=Je=$e+5,$e+4<=Re&&ge!==-1?fe(ue,ge,$e,we):ue.strategy===4||Je===Re?(Fe(ue,2+(we?1:0),3),ze(ue,Oe,Y)):(Fe(ue,4+(we?1:0),3),function(At,ar,qt,Nt){var ht;for(Fe(At,ar-257,5),Fe(At,qt-1,5),Fe(At,Nt-4,4),ht=0;ht<Nt;ht++)Fe(At,At.bl_tree[2*Ce[ht]+1],3);ct(At,At.dyn_ltree,ar-1),ct(At,At.dyn_dtree,qt-1)}(ue,ue.l_desc.max_code+1,ue.d_desc.max_code+1,wt+1),ze(ue,ue.dyn_ltree,ue.dyn_dtree)),pt(ue),we&&he(ue)},te._tr_tally=function(ue,ge,$e){return ue.pending_buf[ue.d_buf+2*ue.last_lit]=ge>>>8&255,ue.pending_buf[ue.d_buf+2*ue.last_lit+1]=255&ge,ue.pending_buf[ue.l_buf+ue.last_lit]=255&$e,ue.last_lit++,ge===0?ue.dyn_ltree[2*$e]++:(ue.matches++,ge--,ue.dyn_ltree[2*(M[$e]+W+1)]++,ue.dyn_dtree[2*T(ge)]++),ue.last_lit===ue.lit_bufsize-1},te._tr_align=function(ue){Fe(ue,2,3),ye(ue,de,Oe),function(ge){ge.bi_valid===16?(ne(ge,ge.bi_buf),ge.bi_buf=0,ge.bi_valid=0):8<=ge.bi_valid&&(ge.pending_buf[ge.pending++]=255&ge.bi_buf,ge.bi_buf>>=8,ge.bi_valid-=8)}(ue)}},{"../utils/common":41}],53:[function(I,He,te){"use strict";He.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(I,He,te){(function(q){(function(Q,y){"use strict";if(!Q.setImmediate){var U,l,L,W,G=1,R={},Z=!1,A=Q.document,$=Object.getPrototypeOf&&Object.getPrototypeOf(Q);$=$&&$.setTimeout?$:Q,U={}.toString.call(Q.process)==="[object process]"?function(X){qe.nextTick(function(){j(X)})}:function(){if(Q.postMessage&&!Q.importScripts){var X=!0,J=Q.onmessage;return Q.onmessage=function(){X=!1},Q.postMessage("","*"),Q.onmessage=J,X}}()?(W="setImmediate$"+Math.random()+"$",Q.addEventListener?Q.addEventListener("message",de,!1):Q.attachEvent("onmessage",de),function(X){Q.postMessage(W+X,"*")}):Q.MessageChannel?((L=new MessageChannel).port1.onmessage=function(X){j(X.data)},function(X){L.port2.postMessage(X)}):A&&"onreadystatechange"in A.createElement("script")?(l=A.documentElement,function(X){var J=A.createElement("script");J.onreadystatechange=function(){j(X),J.onreadystatechange=null,l.removeChild(J),J=null},l.appendChild(J)}):function(X){setTimeout(j,0,X)},$.setImmediate=function(X){typeof X!="function"&&(X=new Function(""+X));for(var J=new Array(arguments.length-1),Ne=0;Ne<J.length;Ne++)J[Ne]=arguments[Ne+1];var Le={callback:X,args:J};return R[G]=Le,U(G),G++},$.clearImmediate=w}function w(X){delete R[X]}function j(X){if(Z)setTimeout(j,0,X);else{var J=R[X];if(J){Z=!0;try{(function(Ne){var Le=Ne.callback,et=Ne.args;switch(et.length){case 0:Le();break;case 1:Le(et[0]);break;case 2:Le(et[0],et[1]);break;case 3:Le(et[0],et[1],et[2]);break;default:Le.apply(y,et)}})(J)}finally{w(X),Z=!1}}}}function de(X){X.source===Q&&typeof X.data=="string"&&X.data.indexOf(W)===0&&j(+X.data.slice(W.length))}})(typeof self=="undefined"?q===void 0?this:q:self)}).call(this,typeof o.g!="undefined"?o.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})},15342:function(en){(function(o,s){en.exports=s()})(typeof self!="undefined"?self:this,function(){return function(Jt){var o={};function s(qe){if(o[qe])return o[qe].exports;var I=o[qe]={i:qe,l:!1,exports:{}};return Jt[qe].call(I.exports,I,I.exports,s),I.l=!0,I.exports}return s.m=Jt,s.c=o,s.d=function(qe,I,He){s.o(qe,I)||Object.defineProperty(qe,I,{enumerable:!0,get:He})},s.r=function(qe){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(qe,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(qe,"__esModule",{value:!0})},s.t=function(qe,I){if(I&1&&(qe=s(qe)),I&8||I&4&&typeof qe=="object"&&qe&&qe.__esModule)return qe;var He=Object.create(null);if(s.r(He),Object.defineProperty(He,"default",{enumerable:!0,value:qe}),I&2&&typeof qe!="string")for(var te in qe)s.d(He,te,function(q){return qe[q]}.bind(null,te));return He},s.n=function(qe){var I=qe&&qe.__esModule?function(){return qe.default}:function(){return qe};return s.d(I,"a",I),I},s.o=function(qe,I){return Object.prototype.hasOwnProperty.call(qe,I)},s.p="",s(s.s=1)}([function(Jt,o,s){},function(Jt,o,s){"use strict";s.r(o);var qe=s(0),I=function(){function k(t,a,i){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=a,this.end=i}return k.range=function(a,i){return i?!a||!a.loc||!i.loc||a.loc.lexer!==i.loc.lexer?null:new k(a.loc.lexer,a.loc.start,i.loc.end):a&&a.loc},k}(),He=function(){function k(a,i){this.text=void 0,this.loc=void 0,this.text=a,this.loc=i}var t=k.prototype;return t.range=function(i,p){return new k(p,I.range(this,i))},k}(),te=function k(t,a){this.position=void 0;var i="KaTeX parse error: "+t,p,D=a&&a.loc;if(D&&D.start<=D.end){var oe=D.lexer.input;p=D.start;var De=D.end;p===oe.length?i+=" at end of input: ":i+=" at position "+(p+1)+": ";var Qe=oe.slice(p,De).replace(/[^]/g,"$&\u0332"),It;p>15?It="\u2026"+oe.slice(p-15,p):It=oe.slice(0,p);var nr;De+15<oe.length?nr=oe.slice(De,De+15)+"\u2026":nr=oe.slice(De),i+=It+Qe+nr}var mr=new Error(i);return mr.name="ParseError",mr.__proto__=k.prototype,mr.position=p,mr};te.prototype.__proto__=Error.prototype;var q=te,Q=function(t,a){return t.indexOf(a)!==-1},y=function(t,a){return t===void 0?a:t},U=/([A-Z])/g,l=function(t){return t.replace(U,"-$1").toLowerCase()},L={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},W=/[&><"']/g;function G(k){return String(k).replace(W,function(t){return L[t]})}var R=function k(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?k(t.body[0]):t:t.type==="font"?k(t.body):t},Z=function(t){var a=R(t);return a.type==="mathord"||a.type==="textord"||a.type==="atom"},A=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},$=function(t){var a=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(t);return a!=null?a[1]:"_relative"},w={contains:Q,deflt:y,escape:G,hyphenate:l,getBaseElem:R,isCharacterBox:Z,protocolFromUrl:$},j=function(){function k(a){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,a=a||{},this.displayMode=w.deflt(a.displayMode,!1),this.output=w.deflt(a.output,"htmlAndMathml"),this.leqno=w.deflt(a.leqno,!1),this.fleqn=w.deflt(a.fleqn,!1),this.throwOnError=w.deflt(a.throwOnError,!0),this.errorColor=w.deflt(a.errorColor,"#cc0000"),this.macros=a.macros||{},this.minRuleThickness=Math.max(0,w.deflt(a.minRuleThickness,0)),this.colorIsTextColor=w.deflt(a.colorIsTextColor,!1),this.strict=w.deflt(a.strict,"warn"),this.trust=w.deflt(a.trust,!1),this.maxSize=Math.max(0,w.deflt(a.maxSize,1/0)),this.maxExpand=Math.max(0,w.deflt(a.maxExpand,1e3))}var t=k.prototype;return t.reportNonstrict=function(i,p,D){var oe=this.strict;if(typeof oe=="function"&&(oe=oe(i,p,D)),!(!oe||oe==="ignore")){if(oe===!0||oe==="error")throw new q("LaTeX-incompatible input and strict mode is set to 'error': "+(p+" ["+i+"]"),D);oe==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(p+" ["+i+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+oe+"': "+p+" ["+i+"]"))}},t.useStrictBehavior=function(i,p,D){var oe=this.strict;if(typeof oe=="function")try{oe=oe(i,p,D)}catch(De){oe="error"}return!oe||oe==="ignore"?!1:oe===!0||oe==="error"?!0:oe==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(p+" ["+i+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+oe+"': "+p+" ["+i+"]")),!1)},t.isTrusted=function(i){i.url&&!i.protocol&&(i.protocol=w.protocolFromUrl(i.url));var p=typeof this.trust=="function"?this.trust(i):this.trust;return!!p},k}(),de=function(){function k(a,i,p){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=a,this.size=i,this.cramped=p}var t=k.prototype;return t.sup=function(){return Y[xe[this.id]]},t.sub=function(){return Y[M[this.id]]},t.fracNum=function(){return Y[E[this.id]]},t.fracDen=function(){return Y[st[this.id]]},t.cramp=function(){return Y[ce[this.id]]},t.text=function(){return Y[le[this.id]]},t.isTight=function(){return this.size>=2},k}(),X=0,J=1,Ne=2,Le=3,et=4,Ue=5,Ce=6,Oe=7,Y=[new de(X,0,!1),new de(J,0,!0),new de(Ne,1,!1),new de(Le,1,!0),new de(et,2,!1),new de(Ue,2,!0),new de(Ce,3,!1),new de(Oe,3,!0)],xe=[et,Ue,et,Ue,Ce,Oe,Ce,Oe],M=[Ue,Ue,Ue,Ue,Oe,Oe,Oe,Oe],E=[Ne,Le,et,Ue,Ce,Oe,Ce,Oe],st=[Le,Le,Ue,Ue,Oe,Oe,Oe,Oe],ce=[J,J,Le,Le,Ue,Ue,Oe,Oe],le=[X,J,Ne,Le,Ne,Le,Ne,Le],H={DISPLAY:Y[X],TEXT:Y[Ne],SCRIPT:Y[et],SCRIPTSCRIPT:Y[Ce]},_=[{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 re(k){for(var t=0;t<_.length;t++)for(var a=_[t],i=0;i<a.blocks.length;i++){var p=a.blocks[i];if(k>=p[0]&&k<=p[1])return a.name}return null}var T=[];_.forEach(function(k){return k.blocks.forEach(function(t){return T.push.apply(T,t)})});function ne(k){for(var t=0;t<T.length;t+=2)if(k>=T[t]&&k<=T[t+1])return!0;return!1}var Fe=80,ye=function(t,a){return"M95,"+(622+t+a)+`
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`+t/2.075+" -"+t+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+t)+`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+t)+" "+a+"h400000v"+(40+t)+"h-400000z"},lt=function(t,a){return"M263,"+(601+t+a)+`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`+t/2.084+" -"+t+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+t)+`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+t)+" "+a+"h400000v"+(40+t)+"h-400000z"},ft=function(t,a){return"M983 "+(10+t+a)+`
l`+t/3.13+" -"+t+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
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+t)+" "+a+"h400000v"+(40+t)+"h-400000z"},pt=function(t,a){return"M424,"+(2398+t+a)+`
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`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+t)+`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+t)+" "+a+`
h400000v`+(40+t)+"h-400000z"},he=function(t,a){return"M473,"+(2713+t+a)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`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+t)+" "+a+"h400000v"+(40+t)+"H1017.7z"},We=function(t,a,i){var p=i-54-a-t;return"M702 "+(t+a)+"H400000"+(40+t)+`
H742v`+p+`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 `+a+"H400000v"+(40+t)+"H742z"},jt=function(t,a,i){a=1e3*a;var p="";switch(t){case"sqrtMain":p=ye(a,Fe);break;case"sqrtSize1":p=lt(a,Fe);break;case"sqrtSize2":p=ft(a,Fe);break;case"sqrtSize3":p=pt(a,Fe);break;case"sqrtSize4":p=he(a,Fe);break;case"sqrtTall":p=We(a,Fe,i)}return p},ze={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(){function k(a){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=a,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var t=k.prototype;return t.hasClass=function(i){return w.contains(this.classes,i)},t.toNode=function(){for(var i=document.createDocumentFragment(),p=0;p<this.children.length;p++)i.appendChild(this.children[p].toNode());return i},t.toMarkup=function(){for(var i="",p=0;p<this.children.length;p++)i+=this.children[p].toMarkup();return i},t.toText=function(){var i=function(D){return D.toText()};return this.children.map(i).join("")},k}(),P=function(t){return t.filter(function(a){return a}).join(" ")},ct=function(t,a,i){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=i||{},a){a.style.isTight()&&this.classes.push("mtight");var p=a.getColor();p&&(this.style.color=p)}},Se=function(t){var a=document.createElement(t);a.className=P(this.classes);for(var i in this.style)this.style.hasOwnProperty(i)&&(a.style[i]=this.style[i]);for(var p in this.attributes)this.attributes.hasOwnProperty(p)&&a.setAttribute(p,this.attributes[p]);for(var D=0;D<this.children.length;D++)a.appendChild(this.children[D].toNode());return a},fe=function(t){var a="<"+t;this.classes.length&&(a+=' class="'+w.escape(P(this.classes))+'"');var i="";for(var p in this.style)this.style.hasOwnProperty(p)&&(i+=w.hyphenate(p)+":"+this.style[p]+";");i&&(a+=' style="'+w.escape(i)+'"');for(var D in this.attributes)this.attributes.hasOwnProperty(D)&&(a+=" "+D+'="'+w.escape(this.attributes[D])+'"');a+=">";for(var oe=0;oe<this.children.length;oe++)a+=this.children[oe].toMarkup();return a+="</"+t+">",a},ue=function(){function k(a,i,p,D){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,ct.call(this,a,p,D),this.children=i||[]}var t=k.prototype;return t.setAttribute=function(i,p){this.attributes[i]=p},t.hasClass=function(i){return w.contains(this.classes,i)},t.toNode=function(){return Se.call(this,"span")},t.toMarkup=function(){return fe.call(this,"span")},k}(),ge=function(){function k(a,i,p,D){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,ct.call(this,i,D),this.children=p||[],this.setAttribute("href",a)}var t=k.prototype;return t.setAttribute=function(i,p){this.attributes[i]=p},t.hasClass=function(i){return w.contains(this.classes,i)},t.toNode=function(){return Se.call(this,"a")},t.toMarkup=function(){return fe.call(this,"a")},k}(),$e=function(){function k(a,i,p){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=i,this.src=a,this.classes=["mord"],this.style=p}var t=k.prototype;return t.hasClass=function(i){return w.contains(this.classes,i)},t.toNode=function(){var i=document.createElement("img");i.src=this.src,i.alt=this.alt,i.className="mord";for(var p in this.style)this.style.hasOwnProperty(p)&&(i.style[p]=this.style[p]);return i},t.toMarkup=function(){var i="<img src='"+this.src+" 'alt='"+this.alt+"' ",p="";for(var D in this.style)this.style.hasOwnProperty(D)&&(p+=w.hyphenate(D)+":"+this.style[D]+";");return p&&(i+=' style="'+w.escape(p)+'"'),i+="'/>",i},k}(),we={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Re=function(){function k(a,i,p,D,oe,De,Qe,It){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=a,this.height=i||0,this.depth=p||0,this.italic=D||0,this.skew=oe||0,this.width=De||0,this.classes=Qe||[],this.style=It||{},this.maxFontSize=0;var nr=re(this.text.charCodeAt(0));nr&&this.classes.push(nr+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=we[this.text])}var t=k.prototype;return t.hasClass=function(i){return w.contains(this.classes,i)},t.toNode=function(){var i=document.createTextNode(this.text),p=null;this.italic>0&&(p=document.createElement("span"),p.style.marginRight=this.italic+"em"),this.classes.length>0&&(p=p||document.createElement("span"),p.className=P(this.classes));for(var D in this.style)this.style.hasOwnProperty(D)&&(p=p||document.createElement("span"),p.style[D]=this.style[D]);return p?(p.appendChild(i),p):i},t.toMarkup=function(){var i=!1,p="<span";this.classes.length&&(i=!0,p+=' class="',p+=w.escape(P(this.classes)),p+='"');var D="";this.italic>0&&(D+="margin-right:"+this.italic+"em;");for(var oe in this.style)this.style.hasOwnProperty(oe)&&(D+=w.hyphenate(oe)+":"+this.style[oe]+";");D&&(i=!0,p+=' style="'+w.escape(D)+'"');var De=w.escape(this.text);return i?(p+=">",p+=De,p+="</span>",p):De},k}(),Je=function(){function k(a,i){this.children=void 0,this.attributes=void 0,this.children=a||[],this.attributes=i||{}}var t=k.prototype;return t.toNode=function(){var i="http://www.w3.org/2000/svg",p=document.createElementNS(i,"svg");for(var D in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,D)&&p.setAttribute(D,this.attributes[D]);for(var oe=0;oe<this.children.length;oe++)p.appendChild(this.children[oe].toNode());return p},t.toMarkup=function(){var i="<svg";for(var p in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,p)&&(i+=" "+p+"='"+this.attributes[p]+"'");i+=">";for(var D=0;D<this.children.length;D++)i+=this.children[D].toMarkup();return i+="</svg>",i},k}(),wt=function(){function k(a,i){this.pathName=void 0,this.alternate=void 0,this.pathName=a,this.alternate=i}var t=k.prototype;return t.toNode=function(){var i="http://www.w3.org/2000/svg",p=document.createElementNS(i,"path");return this.alternate?p.setAttribute("d",this.alternate):p.setAttribute("d",ze[this.pathName]),p},t.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+ze[this.pathName]+"'/>"},k}(),At=function(){function k(a){this.attributes=void 0,this.attributes=a||{}}var t=k.prototype;return t.toNode=function(){var i="http://www.w3.org/2000/svg",p=document.createElementNS(i,"line");for(var D in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,D)&&p.setAttribute(D,this.attributes[D]);return p},t.toMarkup=function(){var i="<line";for(var p in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,p)&&(i+=" "+p+"='"+this.attributes[p]+"'");return i+="/>",i},k}();function ar(k){if(k instanceof Re)return k;throw new Error("Expected symbolNode but got "+String(k)+".")}function qt(k){if(k instanceof ue)return k;throw new Error("Expected span<HtmlDomNode> but got "+String(k)+".")}var Nt={"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]}},ht={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]},Ot={\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 Tt(k,t){Nt[k]=t}function Ut(k,t,a){if(!Nt[t])throw new Error("Font metrics not found for font: "+t+".");var i=k.charCodeAt(0),p=Nt[t][i];if(!p&&k[0]in Ot&&(i=Ot[k[0]].charCodeAt(0),p=Nt[t][i]),!p&&a==="text"&&ne(i)&&(p=Nt[t][77]),p)return{depth:p[0],height:p[1],italic:p[2],skew:p[3],width:p[4]}}var St={};function gr(k){var t;if(k>=5?t=0:k>=3?t=1:t=2,!St[t]){var a=St[t]={cssEmPerMu:ht.quad[t]/18};for(var i in ht)ht.hasOwnProperty(i)&&(a[i]=ht[i][t])}return St[t]}var lr={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},rn={math:{},text:{}},Er=rn;function S(k,t,a,i,p,D){rn[k][p]={font:t,group:a,replace:i},D&&i&&(rn[k][i]=rn[k][p])}var N="math",er="text",se="main",ke="ams",zr="accent-token",Ir="bin",yn="close",Bn="inner",zt="mathord",yr="op-token",vr="open",Tr="punct",f="rel",F="spacing",Ae="textord";S(N,se,f,"\u2261","\\equiv",!0),S(N,se,f,"\u227A","\\prec",!0),S(N,se,f,"\u227B","\\succ",!0),S(N,se,f,"\u223C","\\sim",!0),S(N,se,f,"\u22A5","\\perp"),S(N,se,f,"\u2AAF","\\preceq",!0),S(N,se,f,"\u2AB0","\\succeq",!0),S(N,se,f,"\u2243","\\simeq",!0),S(N,se,f,"\u2223","\\mid",!0),S(N,se,f,"\u226A","\\ll",!0),S(N,se,f,"\u226B","\\gg",!0),S(N,se,f,"\u224D","\\asymp",!0),S(N,se,f,"\u2225","\\parallel"),S(N,se,f,"\u22C8","\\bowtie",!0),S(N,se,f,"\u2323","\\smile",!0),S(N,se,f,"\u2291","\\sqsubseteq",!0),S(N,se,f,"\u2292","\\sqsupseteq",!0),S(N,se,f,"\u2250","\\doteq",!0),S(N,se,f,"\u2322","\\frown",!0),S(N,se,f,"\u220B","\\ni",!0),S(N,se,f,"\u221D","\\propto",!0),S(N,se,f,"\u22A2","\\vdash",!0),S(N,se,f,"\u22A3","\\dashv",!0),S(N,se,f,"\u220B","\\owns"),S(N,se,Tr,".","\\ldotp"),S(N,se,Tr,"\u22C5","\\cdotp"),S(N,se,Ae,"#","\\#"),S(er,se,Ae,"#","\\#"),S(N,se,Ae,"&","\\&"),S(er,se,Ae,"&","\\&"),S(N,se,Ae,"\u2135","\\aleph",!0),S(N,se,Ae,"\u2200","\\forall",!0),S(N,se,Ae,"\u210F","\\hbar",!0),S(N,se,Ae,"\u2203","\\exists",!0),S(N,se,Ae,"\u2207","\\nabla",!0),S(N,se,Ae,"\u266D","\\flat",!0),S(N,se,Ae,"\u2113","\\ell",!0),S(N,se,Ae,"\u266E","\\natural",!0),S(N,se,Ae,"\u2663","\\clubsuit",!0),S(N,se,Ae,"\u2118","\\wp",!0),S(N,se,Ae,"\u266F","\\sharp",!0),S(N,se,Ae,"\u2662","\\diamondsuit",!0),S(N,se,Ae,"\u211C","\\Re",!0),S(N,se,Ae,"\u2661","\\heartsuit",!0),S(N,se,Ae,"\u2111","\\Im",!0),S(N,se,Ae,"\u2660","\\spadesuit",!0),S(er,se,Ae,"\xA7","\\S",!0),S(er,se,Ae,"\xB6","\\P",!0),S(N,se,Ae,"\u2020","\\dag"),S(er,se,Ae,"\u2020","\\dag"),S(er,se,Ae,"\u2020","\\textdagger"),S(N,se,Ae,"\u2021","\\ddag"),S(er,se,Ae,"\u2021","\\ddag"),S(er,se,Ae,"\u2021","\\textdaggerdbl"),S(N,se,yn,"\u23B1","\\rmoustache",!0),S(N,se,vr,"\u23B0","\\lmoustache",!0),S(N,se,yn,"\u27EF","\\rgroup",!0),S(N,se,vr,"\u27EE","\\lgroup",!0),S(N,se,Ir,"\u2213","\\mp",!0),S(N,se,Ir,"\u2296","\\ominus",!0),S(N,se,Ir,"\u228E","\\uplus",!0),S(N,se,Ir,"\u2293","\\sqcap",!0),S(N,se,Ir,"\u2217","\\ast"),S(N,se,Ir,"\u2294","\\sqcup",!0),S(N,se,Ir,"\u25EF","\\bigcirc"),S(N,se,Ir,"\u2219","\\bullet"),S(N,se,Ir,"\u2021","\\ddagger"),S(N,se,Ir,"\u2240","\\wr",!0),S(N,se,Ir,"\u2A3F","\\amalg"),S(N,se,Ir,"&","\\And"),S(N,se,f,"\u27F5","\\longleftarrow",!0),S(N,se,f,"\u21D0","\\Leftarrow",!0),S(N,se,f,"\u27F8","\\Longleftarrow",!0),S(N,se,f,"\u27F6","\\longrightarrow",!0),S(N,se,f,"\u21D2","\\Rightarrow",!0),S(N,se,f,"\u27F9","\\Longrightarrow",!0),S(N,se,f,"\u2194","\\leftrightarrow",!0),S(N,se,f,"\u27F7","\\longleftrightarrow",!0),S(N,se,f,"\u21D4","\\Leftrightarrow",!0),S(N,se,f,"\u27FA","\\Longleftrightarrow",!0),S(N,se,f,"\u21A6","\\mapsto",!0),S(N,se,f,"\u27FC","\\longmapsto",!0),S(N,se,f,"\u2197","\\nearrow",!0),S(N,se,f,"\u21A9","\\hookleftarrow",!0),S(N,se,f,"\u21AA","\\hookrightarrow",!0),S(N,se,f,"\u2198","\\searrow",!0),S(N,se,f,"\u21BC","\\leftharpoonup",!0),S(N,se,f,"\u21C0","\\rightharpoonup",!0),S(N,se,f,"\u2199","\\swarrow",!0),S(N,se,f,"\u21BD","\\leftharpoondown",!0),S(N,se,f,"\u21C1","\\rightharpoondown",!0),S(N,se,f,"\u2196","\\nwarrow",!0),S(N,se,f,"\u21CC","\\rightleftharpoons",!0),S(N,ke,f,"\u226E","\\nless",!0),S(N,ke,f,"\uE010","\\@nleqslant"),S(N,ke,f,"\uE011","\\@nleqq"),S(N,ke,f,"\u2A87","\\lneq",!0),S(N,ke,f,"\u2268","\\lneqq",!0),S(N,ke,f,"\uE00C","\\@lvertneqq"),S(N,ke,f,"\u22E6","\\lnsim",!0),S(N,ke,f,"\u2A89","\\lnapprox",!0),S(N,ke,f,"\u2280","\\nprec",!0),S(N,ke,f,"\u22E0","\\npreceq",!0),S(N,ke,f,"\u22E8","\\precnsim",!0),S(N,ke,f,"\u2AB9","\\precnapprox",!0),S(N,ke,f,"\u2241","\\nsim",!0),S(N,ke,f,"\uE006","\\@nshortmid"),S(N,ke,f,"\u2224","\\nmid",!0),S(N,ke,f,"\u22AC","\\nvdash",!0),S(N,ke,f,"\u22AD","\\nvDash",!0),S(N,ke,f,"\u22EA","\\ntriangleleft"),S(N,ke,f,"\u22EC","\\ntrianglelefteq",!0),S(N,ke,f,"\u228A","\\subsetneq",!0),S(N,ke,f,"\uE01A","\\@varsubsetneq"),S(N,ke,f,"\u2ACB","\\subsetneqq",!0),S(N,ke,f,"\uE017","\\@varsubsetneqq"),S(N,ke,f,"\u226F","\\ngtr",!0),S(N,ke,f,"\uE00F","\\@ngeqslant"),S(N,ke,f,"\uE00E","\\@ngeqq"),S(N,ke,f,"\u2A88","\\gneq",!0),S(N,ke,f,"\u2269","\\gneqq",!0),S(N,ke,f,"\uE00D","\\@gvertneqq"),S(N,ke,f,"\u22E7","\\gnsim",!0),S(N,ke,f,"\u2A8A","\\gnapprox",!0),S(N,ke,f,"\u2281","\\nsucc",!0),S(N,ke,f,"\u22E1","\\nsucceq",!0),S(N,ke,f,"\u22E9","\\succnsim",!0),S(N,ke,f,"\u2ABA","\\succnapprox",!0),S(N,ke,f,"\u2246","\\ncong",!0),S(N,ke,f,"\uE007","\\@nshortparallel"),S(N,ke,f,"\u2226","\\nparallel",!0),S(N,ke,f,"\u22AF","\\nVDash",!0),S(N,ke,f,"\u22EB","\\ntriangleright"),S(N,ke,f,"\u22ED","\\ntrianglerighteq",!0),S(N,ke,f,"\uE018","\\@nsupseteqq"),S(N,ke,f,"\u228B","\\supsetneq",!0),S(N,ke,f,"\uE01B","\\@varsupsetneq"),S(N,ke,f,"\u2ACC","\\supsetneqq",!0),S(N,ke,f,"\uE019","\\@varsupsetneqq"),S(N,ke,f,"\u22AE","\\nVdash",!0),S(N,ke,f,"\u2AB5","\\precneqq",!0),S(N,ke,f,"\u2AB6","\\succneqq",!0),S(N,ke,f,"\uE016","\\@nsubseteqq"),S(N,ke,Ir,"\u22B4","\\unlhd"),S(N,ke,Ir,"\u22B5","\\unrhd"),S(N,ke,f,"\u219A","\\nleftarrow",!0),S(N,ke,f,"\u219B","\\nrightarrow",!0),S(N,ke,f,"\u21CD","\\nLeftarrow",!0),S(N,ke,f,"\u21CF","\\nRightarrow",!0),S(N,ke,f,"\u21AE","\\nleftrightarrow",!0),S(N,ke,f,"\u21CE","\\nLeftrightarrow",!0),S(N,ke,f,"\u25B3","\\vartriangle"),S(N,ke,Ae,"\u210F","\\hslash"),S(N,ke,Ae,"\u25BD","\\triangledown"),S(N,ke,Ae,"\u25CA","\\lozenge"),S(N,ke,Ae,"\u24C8","\\circledS"),S(N,ke,Ae,"\xAE","\\circledR"),S(er,ke,Ae,"\xAE","\\circledR"),S(N,ke,Ae,"\u2221","\\measuredangle",!0),S(N,ke,Ae,"\u2204","\\nexists"),S(N,ke,Ae,"\u2127","\\mho"),S(N,ke,Ae,"\u2132","\\Finv",!0),S(N,ke,Ae,"\u2141","\\Game",!0),S(N,ke,Ae,"\u2035","\\backprime"),S(N,ke,Ae,"\u25B2","\\blacktriangle"),S(N,ke,Ae,"\u25BC","\\blacktriangledown"),S(N,ke,Ae,"\u25A0","\\blacksquare"),S(N,ke,Ae,"\u29EB","\\blacklozenge"),S(N,ke,Ae,"\u2605","\\bigstar"),S(N,ke,Ae,"\u2222","\\sphericalangle",!0),S(N,ke,Ae,"\u2201","\\complement",!0),S(N,ke,Ae,"\xF0","\\eth",!0),S(N,ke,Ae,"\u2571","\\diagup"),S(N,ke,Ae,"\u2572","\\diagdown"),S(N,ke,Ae,"\u25A1","\\square"),S(N,ke,Ae,"\u25A1","\\Box"),S(N,ke,Ae,"\u25CA","\\Diamond"),S(N,ke,Ae,"\xA5","\\yen",!0),S(er,ke,Ae,"\xA5","\\yen",!0),S(N,ke,Ae,"\u2713","\\checkmark",!0),S(er,ke,Ae,"\u2713","\\checkmark"),S(N,ke,Ae,"\u2136","\\beth",!0),S(N,ke,Ae,"\u2138","\\daleth",!0),S(N,ke,Ae,"\u2137","\\gimel",!0),S(N,ke,Ae,"\u03DD","\\digamma",!0),S(N,ke,Ae,"\u03F0","\\varkappa"),S(N,ke,vr,"\u250C","\\ulcorner",!0),S(N,ke,yn,"\u2510","\\urcorner",!0),S(N,ke,vr,"\u2514","\\llcorner",!0),S(N,ke,yn,"\u2518","\\lrcorner",!0),S(N,ke,f,"\u2266","\\leqq",!0),S(N,ke,f,"\u2A7D","\\leqslant",!0),S(N,ke,f,"\u2A95","\\eqslantless",!0),S(N,ke,f,"\u2272","\\lesssim",!0),S(N,ke,f,"\u2A85","\\lessapprox",!0),S(N,ke,f,"\u224A","\\approxeq",!0),S(N,ke,Ir,"\u22D6","\\lessdot"),S(N,ke,f,"\u22D8","\\lll",!0),S(N,ke,f,"\u2276","\\lessgtr",!0),S(N,ke,f,"\u22DA","\\lesseqgtr",!0),S(N,ke,f,"\u2A8B","\\lesseqqgtr",!0),S(N,ke,f,"\u2251","\\doteqdot"),S(N,ke,f,"\u2253","\\risingdotseq",!0),S(N,ke,f,"\u2252","\\fallingdotseq",!0),S(N,ke,f,"\u223D","\\backsim",!0),S(N,ke,f,"\u22CD","\\backsimeq",!0),S(N,ke,f,"\u2AC5","\\subseteqq",!0),S(N,ke,f,"\u22D0","\\Subset",!0),S(N,ke,f,"\u228F","\\sqsubset",!0),S(N,ke,f,"\u227C","\\preccurlyeq",!0),S(N,ke,f,"\u22DE","\\curlyeqprec",!0),S(N,ke,f,"\u227E","\\precsim",!0),S(N,ke,f,"\u2AB7","\\precapprox",!0),S(N,ke,f,"\u22B2","\\vartriangleleft"),S(N,ke,f,"\u22B4","\\trianglelefteq"),S(N,ke,f,"\u22A8","\\vDash",!0),S(N,ke,f,"\u22AA","\\Vvdash",!0),S(N,ke,f,"\u2323","\\smallsmile"),S(N,ke,f,"\u2322","\\smallfrown"),S(N,ke,f,"\u224F","\\bumpeq",!0),S(N,ke,f,"\u224E","\\Bumpeq",!0),S(N,ke,f,"\u2267","\\geqq",!0),S(N,ke,f,"\u2A7E","\\geqslant",!0),S(N,ke,f,"\u2A96","\\eqslantgtr",!0),S(N,ke,f,"\u2273","\\gtrsim",!0),S(N,ke,f,"\u2A86","\\gtrapprox",!0),S(N,ke,Ir,"\u22D7","\\gtrdot"),S(N,ke,f,"\u22D9","\\ggg",!0),S(N,ke,f,"\u2277","\\gtrless",!0),S(N,ke,f,"\u22DB","\\gtreqless",!0),S(N,ke,f,"\u2A8C","\\gtreqqless",!0),S(N,ke,f,"\u2256","\\eqcirc",!0),S(N,ke,f,"\u2257","\\circeq",!0),S(N,ke,f,"\u225C","\\triangleq",!0),S(N,ke,f,"\u223C","\\thicksim"),S(N,ke,f,"\u2248","\\thickapprox"),S(N,ke,f,"\u2AC6","\\supseteqq",!0),S(N,ke,f,"\u22D1","\\Supset",!0),S(N,ke,f,"\u2290","\\sqsupset",!0),S(N,ke,f,"\u227D","\\succcurlyeq",!0),S(N,ke,f,"\u22DF","\\curlyeqsucc",!0),S(N,ke,f,"\u227F","\\succsim",!0),S(N,ke,f,"\u2AB8","\\succapprox",!0),S(N,ke,f,"\u22B3","\\vartriangleright"),S(N,ke,f,"\u22B5","\\trianglerighteq"),S(N,ke,f,"\u22A9","\\Vdash",!0),S(N,ke,f,"\u2223","\\shortmid"),S(N,ke,f,"\u2225","\\shortparallel"),S(N,ke,f,"\u226C","\\between",!0),S(N,ke,f,"\u22D4","\\pitchfork",!0),S(N,ke,f,"\u221D","\\varpropto"),S(N,ke,f,"\u25C0","\\blacktriangleleft"),S(N,ke,f,"\u2234","\\therefore",!0),S(N,ke,f,"\u220D","\\backepsilon"),S(N,ke,f,"\u25B6","\\blacktriangleright"),S(N,ke,f,"\u2235","\\because",!0),S(N,ke,f,"\u22D8","\\llless"),S(N,ke,f,"\u22D9","\\gggtr"),S(N,ke,Ir,"\u22B2","\\lhd"),S(N,ke,Ir,"\u22B3","\\rhd"),S(N,ke,f,"\u2242","\\eqsim",!0),S(N,se,f,"\u22C8","\\Join"),S(N,ke,f,"\u2251","\\Doteq",!0),S(N,ke,Ir,"\u2214","\\dotplus",!0),S(N,ke,Ir,"\u2216","\\smallsetminus"),S(N,ke,Ir,"\u22D2","\\Cap",!0),S(N,ke,Ir,"\u22D3","\\Cup",!0),S(N,ke,Ir,"\u2A5E","\\doublebarwedge",!0),S(N,ke,Ir,"\u229F","\\boxminus",!0),S(N,ke,Ir,"\u229E","\\boxplus",!0),S(N,ke,Ir,"\u22C7","\\divideontimes",!0),S(N,ke,Ir,"\u22C9","\\ltimes",!0),S(N,ke,Ir,"\u22CA","\\rtimes",!0),S(N,ke,Ir,"\u22CB","\\leftthreetimes",!0),S(N,ke,Ir,"\u22CC","\\rightthreetimes",!0),S(N,ke,Ir,"\u22CF","\\curlywedge",!0),S(N,ke,Ir,"\u22CE","\\curlyvee",!0),S(N,ke,Ir,"\u229D","\\circleddash",!0),S(N,ke,Ir,"\u229B","\\circledast",!0),S(N,ke,Ir,"\u22C5","\\centerdot"),S(N,ke,Ir,"\u22BA","\\intercal",!0),S(N,ke,Ir,"\u22D2","\\doublecap"),S(N,ke,Ir,"\u22D3","\\doublecup"),S(N,ke,Ir,"\u22A0","\\boxtimes",!0),S(N,ke,f,"\u21E2","\\dashrightarrow",!0),S(N,ke,f,"\u21E0","\\dashleftarrow",!0),S(N,ke,f,"\u21C7","\\leftleftarrows",!0),S(N,ke,f,"\u21C6","\\leftrightarrows",!0),S(N,ke,f,"\u21DA","\\Lleftarrow",!0),S(N,ke,f,"\u219E","\\twoheadleftarrow",!0),S(N,ke,f,"\u21A2","\\leftarrowtail",!0),S(N,ke,f,"\u21AB","\\looparrowleft",!0),S(N,ke,f,"\u21CB","\\leftrightharpoons",!0),S(N,ke,f,"\u21B6","\\curvearrowleft",!0),S(N,ke,f,"\u21BA","\\circlearrowleft",!0),S(N,ke,f,"\u21B0","\\Lsh",!0),S(N,ke,f,"\u21C8","\\upuparrows",!0),S(N,ke,f,"\u21BF","\\upharpoonleft",!0),S(N,ke,f,"\u21C3","\\downharpoonleft",!0),S(N,ke,f,"\u22B8","\\multimap",!0),S(N,ke,f,"\u21AD","\\leftrightsquigarrow",!0),S(N,ke,f,"\u21C9","\\rightrightarrows",!0),S(N,ke,f,"\u21C4","\\rightleftarrows",!0),S(N,ke,f,"\u21A0","\\twoheadrightarrow",!0),S(N,ke,f,"\u21A3","\\rightarrowtail",!0),S(N,ke,f,"\u21AC","\\looparrowright",!0),S(N,ke,f,"\u21B7","\\curvearrowright",!0),S(N,ke,f,"\u21BB","\\circlearrowright",!0),S(N,ke,f,"\u21B1","\\Rsh",!0),S(N,ke,f,"\u21CA","\\downdownarrows",!0),S(N,ke,f,"\u21BE","\\upharpoonright",!0),S(N,ke,f,"\u21C2","\\downharpoonright",!0),S(N,ke,f,"\u21DD","\\rightsquigarrow",!0),S(N,ke,f,"\u21DD","\\leadsto"),S(N,ke,f,"\u21DB","\\Rrightarrow",!0),S(N,ke,f,"\u21BE","\\restriction"),S(N,se,Ae,"\u2018","`"),S(N,se,Ae,"$","\\$"),S(er,se,Ae,"$","\\$"),S(er,se,Ae,"$","\\textdollar"),S(N,se,Ae,"%","\\%"),S(er,se,Ae,"%","\\%"),S(N,se,Ae,"_","\\_"),S(er,se,Ae,"_","\\_"),S(er,se,Ae,"_","\\textunderscore"),S(N,se,Ae,"\u2220","\\angle",!0),S(N,se,Ae,"\u221E","\\infty",!0),S(N,se,Ae,"\u2032","\\prime"),S(N,se,Ae,"\u25B3","\\triangle"),S(N,se,Ae,"\u0393","\\Gamma",!0),S(N,se,Ae,"\u0394","\\Delta",!0),S(N,se,Ae,"\u0398","\\Theta",!0),S(N,se,Ae,"\u039B","\\Lambda",!0),S(N,se,Ae,"\u039E","\\Xi",!0),S(N,se,Ae,"\u03A0","\\Pi",!0),S(N,se,Ae,"\u03A3","\\Sigma",!0),S(N,se,Ae,"\u03A5","\\Upsilon",!0),S(N,se,Ae,"\u03A6","\\Phi",!0),S(N,se,Ae,"\u03A8","\\Psi",!0),S(N,se,Ae,"\u03A9","\\Omega",!0),S(N,se,Ae,"A","\u0391"),S(N,se,Ae,"B","\u0392"),S(N,se,Ae,"E","\u0395"),S(N,se,Ae,"Z","\u0396"),S(N,se,Ae,"H","\u0397"),S(N,se,Ae,"I","\u0399"),S(N,se,Ae,"K","\u039A"),S(N,se,Ae,"M","\u039C"),S(N,se,Ae,"N","\u039D"),S(N,se,Ae,"O","\u039F"),S(N,se,Ae,"P","\u03A1"),S(N,se,Ae,"T","\u03A4"),S(N,se,Ae,"X","\u03A7"),S(N,se,Ae,"\xAC","\\neg",!0),S(N,se,Ae,"\xAC","\\lnot"),S(N,se,Ae,"\u22A4","\\top"),S(N,se,Ae,"\u22A5","\\bot"),S(N,se,Ae,"\u2205","\\emptyset"),S(N,ke,Ae,"\u2205","\\varnothing"),S(N,se,zt,"\u03B1","\\alpha",!0),S(N,se,zt,"\u03B2","\\beta",!0),S(N,se,zt,"\u03B3","\\gamma",!0),S(N,se,zt,"\u03B4","\\delta",!0),S(N,se,zt,"\u03F5","\\epsilon",!0),S(N,se,zt,"\u03B6","\\zeta",!0),S(N,se,zt,"\u03B7","\\eta",!0),S(N,se,zt,"\u03B8","\\theta",!0),S(N,se,zt,"\u03B9","\\iota",!0),S(N,se,zt,"\u03BA","\\kappa",!0),S(N,se,zt,"\u03BB","\\lambda",!0),S(N,se,zt,"\u03BC","\\mu",!0),S(N,se,zt,"\u03BD","\\nu",!0),S(N,se,zt,"\u03BE","\\xi",!0),S(N,se,zt,"\u03BF","\\omicron",!0),S(N,se,zt,"\u03C0","\\pi",!0),S(N,se,zt,"\u03C1","\\rho",!0),S(N,se,zt,"\u03C3","\\sigma",!0),S(N,se,zt,"\u03C4","\\tau",!0),S(N,se,zt,"\u03C5","\\upsilon",!0),S(N,se,zt,"\u03D5","\\phi",!0),S(N,se,zt,"\u03C7","\\chi",!0),S(N,se,zt,"\u03C8","\\psi",!0),S(N,se,zt,"\u03C9","\\omega",!0),S(N,se,zt,"\u03B5","\\varepsilon",!0),S(N,se,zt,"\u03D1","\\vartheta",!0),S(N,se,zt,"\u03D6","\\varpi",!0),S(N,se,zt,"\u03F1","\\varrho",!0),S(N,se,zt,"\u03C2","\\varsigma",!0),S(N,se,zt,"\u03C6","\\varphi",!0),S(N,se,Ir,"\u2217","*"),S(N,se,Ir,"+","+"),S(N,se,Ir,"\u2212","-"),S(N,se,Ir,"\u22C5","\\cdot",!0),S(N,se,Ir,"\u2218","\\circ"),S(N,se,Ir,"\xF7","\\div",!0),S(N,se,Ir,"\xB1","\\pm",!0),S(N,se,Ir,"\xD7","\\times",!0),S(N,se,Ir,"\u2229","\\cap",!0),S(N,se,Ir,"\u222A","\\cup",!0),S(N,se,Ir,"\u2216","\\setminus"),S(N,se,Ir,"\u2227","\\land"),S(N,se,Ir,"\u2228","\\lor"),S(N,se,Ir,"\u2227","\\wedge",!0),S(N,se,Ir,"\u2228","\\vee",!0),S(N,se,Ae,"\u221A","\\surd"),S(N,se,vr,"(","("),S(N,se,vr,"[","["),S(N,se,vr,"\u27E8","\\langle",!0),S(N,se,vr,"\u2223","\\lvert"),S(N,se,vr,"\u2225","\\lVert"),S(N,se,yn,")",")"),S(N,se,yn,"]","]"),S(N,se,yn,"?","?"),S(N,se,yn,"!","!"),S(N,se,yn,"\u27E9","\\rangle",!0),S(N,se,yn,"\u2223","\\rvert"),S(N,se,yn,"\u2225","\\rVert"),S(N,se,f,"=","="),S(N,se,f,"<","<"),S(N,se,f,">",">"),S(N,se,f,":",":"),S(N,se,f,"\u2248","\\approx",!0),S(N,se,f,"\u2245","\\cong",!0),S(N,se,f,"\u2265","\\ge"),S(N,se,f,"\u2265","\\geq",!0),S(N,se,f,"\u2190","\\gets"),S(N,se,f,">","\\gt"),S(N,se,f,"\u2208","\\in",!0),S(N,se,f,"\uE020","\\@not"),S(N,se,f,"\u2282","\\subset",!0),S(N,se,f,"\u2283","\\supset",!0),S(N,se,f,"\u2286","\\subseteq",!0),S(N,se,f,"\u2287","\\supseteq",!0),S(N,ke,f,"\u2288","\\nsubseteq",!0),S(N,ke,f,"\u2289","\\nsupseteq",!0),S(N,se,f,"\u22A8","\\models"),S(N,se,f,"\u2190","\\leftarrow",!0),S(N,se,f,"\u2264","\\le"),S(N,se,f,"\u2264","\\leq",!0),S(N,se,f,"<","\\lt"),S(N,se,f,"\u2192","\\rightarrow",!0),S(N,se,f,"\u2192","\\to"),S(N,ke,f,"\u2271","\\ngeq",!0),S(N,ke,f,"\u2270","\\nleq",!0),S(N,se,F,"\xA0","\\ "),S(N,se,F,"\xA0","~"),S(N,se,F,"\xA0","\\space"),S(N,se,F,"\xA0","\\nobreakspace"),S(er,se,F,"\xA0","\\ "),S(er,se,F,"\xA0","~"),S(er,se,F,"\xA0","\\space"),S(er,se,F,"\xA0","\\nobreakspace"),S(N,se,F,null,"\\nobreak"),S(N,se,F,null,"\\allowbreak"),S(N,se,Tr,",",","),S(N,se,Tr,";",";"),S(N,ke,Ir,"\u22BC","\\barwedge",!0),S(N,ke,Ir,"\u22BB","\\veebar",!0),S(N,se,Ir,"\u2299","\\odot",!0),S(N,se,Ir,"\u2295","\\oplus",!0),S(N,se,Ir,"\u2297","\\otimes",!0),S(N,se,Ae,"\u2202","\\partial",!0),S(N,se,Ir,"\u2298","\\oslash",!0),S(N,ke,Ir,"\u229A","\\circledcirc",!0),S(N,ke,Ir,"\u22A1","\\boxdot",!0),S(N,se,Ir,"\u25B3","\\bigtriangleup"),S(N,se,Ir,"\u25BD","\\bigtriangledown"),S(N,se,Ir,"\u2020","\\dagger"),S(N,se,Ir,"\u22C4","\\diamond"),S(N,se,Ir,"\u22C6","\\star"),S(N,se,Ir,"\u25C3","\\triangleleft"),S(N,se,Ir,"\u25B9","\\triangleright"),S(N,se,vr,"{","\\{"),S(er,se,Ae,"{","\\{"),S(er,se,Ae,"{","\\textbraceleft"),S(N,se,yn,"}","\\}"),S(er,se,Ae,"}","\\}"),S(er,se,Ae,"}","\\textbraceright"),S(N,se,vr,"{","\\lbrace"),S(N,se,yn,"}","\\rbrace"),S(N,se,vr,"[","\\lbrack"),S(er,se,Ae,"[","\\lbrack"),S(N,se,yn,"]","\\rbrack"),S(er,se,Ae,"]","\\rbrack"),S(N,se,vr,"(","\\lparen"),S(N,se,yn,")","\\rparen"),S(er,se,Ae,"<","\\textless"),S(er,se,Ae,">","\\textgreater"),S(N,se,vr,"\u230A","\\lfloor",!0),S(N,se,yn,"\u230B","\\rfloor",!0),S(N,se,vr,"\u2308","\\lceil",!0),S(N,se,yn,"\u2309","\\rceil",!0),S(N,se,Ae,"\\","\\backslash"),S(N,se,Ae,"\u2223","|"),S(N,se,Ae,"\u2223","\\vert"),S(er,se,Ae,"|","\\textbar"),S(N,se,Ae,"\u2225","\\|"),S(N,se,Ae,"\u2225","\\Vert"),S(er,se,Ae,"\u2225","\\textbardbl"),S(er,se,Ae,"~","\\textasciitilde"),S(er,se,Ae,"\\","\\textbackslash"),S(er,se,Ae,"^","\\textasciicircum"),S(N,se,f,"\u2191","\\uparrow",!0),S(N,se,f,"\u21D1","\\Uparrow",!0),S(N,se,f,"\u2193","\\downarrow",!0),S(N,se,f,"\u21D3","\\Downarrow",!0),S(N,se,f,"\u2195","\\updownarrow",!0),S(N,se,f,"\u21D5","\\Updownarrow",!0),S(N,se,yr,"\u2210","\\coprod"),S(N,se,yr,"\u22C1","\\bigvee"),S(N,se,yr,"\u22C0","\\bigwedge"),S(N,se,yr,"\u2A04","\\biguplus"),S(N,se,yr,"\u22C2","\\bigcap"),S(N,se,yr,"\u22C3","\\bigcup"),S(N,se,yr,"\u222B","\\int"),S(N,se,yr,"\u222B","\\intop"),S(N,se,yr,"\u222C","\\iint"),S(N,se,yr,"\u222D","\\iiint"),S(N,se,yr,"\u220F","\\prod"),S(N,se,yr,"\u2211","\\sum"),S(N,se,yr,"\u2A02","\\bigotimes"),S(N,se,yr,"\u2A01","\\bigoplus"),S(N,se,yr,"\u2A00","\\bigodot"),S(N,se,yr,"\u222E","\\oint"),S(N,se,yr,"\u222F","\\oiint"),S(N,se,yr,"\u2230","\\oiiint"),S(N,se,yr,"\u2A06","\\bigsqcup"),S(N,se,yr,"\u222B","\\smallint"),S(er,se,Bn,"\u2026","\\textellipsis"),S(N,se,Bn,"\u2026","\\mathellipsis"),S(er,se,Bn,"\u2026","\\ldots",!0),S(N,se,Bn,"\u2026","\\ldots",!0),S(N,se,Bn,"\u22EF","\\@cdots",!0),S(N,se,Bn,"\u22F1","\\ddots",!0),S(N,se,Ae,"\u22EE","\\varvdots"),S(N,se,zr,"\u02CA","\\acute"),S(N,se,zr,"\u02CB","\\grave"),S(N,se,zr,"\xA8","\\ddot"),S(N,se,zr,"~","\\tilde"),S(N,se,zr,"\u02C9","\\bar"),S(N,se,zr,"\u02D8","\\breve"),S(N,se,zr,"\u02C7","\\check"),S(N,se,zr,"^","\\hat"),S(N,se,zr,"\u20D7","\\vec"),S(N,se,zr,"\u02D9","\\dot"),S(N,se,zr,"\u02DA","\\mathring"),S(N,se,zt,"\u0131","\\imath",!0),S(N,se,zt,"\u0237","\\jmath",!0),S(er,se,Ae,"\u0131","\\i",!0),S(er,se,Ae,"\u0237","\\j",!0),S(er,se,Ae,"\xDF","\\ss",!0),S(er,se,Ae,"\xE6","\\ae",!0),S(er,se,Ae,"\xE6","\\ae",!0),S(er,se,Ae,"\u0153","\\oe",!0),S(er,se,Ae,"\xF8","\\o",!0),S(er,se,Ae,"\xC6","\\AE",!0),S(er,se,Ae,"\u0152","\\OE",!0),S(er,se,Ae,"\xD8","\\O",!0),S(er,se,zr,"\u02CA","\\'"),S(er,se,zr,"\u02CB","\\`"),S(er,se,zr,"\u02C6","\\^"),S(er,se,zr,"\u02DC","\\~"),S(er,se,zr,"\u02C9","\\="),S(er,se,zr,"\u02D8","\\u"),S(er,se,zr,"\u02D9","\\."),S(er,se,zr,"\u02DA","\\r"),S(er,se,zr,"\u02C7","\\v"),S(er,se,zr,"\xA8",'\\"'),S(er,se,zr,"\u02DD","\\H"),S(er,se,zr,"\u25EF","\\textcircled");var ae={"--":!0,"---":!0,"``":!0,"''":!0};S(er,se,Ae,"\u2013","--"),S(er,se,Ae,"\u2013","\\textendash"),S(er,se,Ae,"\u2014","---"),S(er,se,Ae,"\u2014","\\textemdash"),S(er,se,Ae,"\u2018","`"),S(er,se,Ae,"\u2018","\\textquoteleft"),S(er,se,Ae,"\u2019","'"),S(er,se,Ae,"\u2019","\\textquoteright"),S(er,se,Ae,"\u201C","``"),S(er,se,Ae,"\u201C","\\textquotedblleft"),S(er,se,Ae,"\u201D","''"),S(er,se,Ae,"\u201D","\\textquotedblright"),S(N,se,Ae,"\xB0","\\degree",!0),S(er,se,Ae,"\xB0","\\degree"),S(er,se,Ae,"\xB0","\\textdegree",!0),S(N,se,zt,"\xA3","\\pounds"),S(N,se,zt,"\xA3","\\mathsterling",!0),S(er,se,zt,"\xA3","\\pounds"),S(er,se,zt,"\xA3","\\textsterling",!0),S(N,ke,Ae,"\u2720","\\maltese"),S(er,ke,Ae,"\u2720","\\maltese"),S(er,se,F,"\xA0","\\ "),S(er,se,F,"\xA0"," "),S(er,se,F,"\xA0","~");for(var bt='0123456789/@."',bn=0;bn<bt.length;bn++){var yt=bt.charAt(bn);S(N,se,Ae,yt,yt)}for(var Vt='0123456789!@*()-=+[]<>|";:?/.,',Wr=0;Wr<Vt.length;Wr++){var Nr=Vt.charAt(Wr);S(er,se,Ae,Nr,Nr)}for(var Qr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",vn=0;vn<Qr.length;vn++){var _n=Qr.charAt(vn);S(N,se,zt,_n,_n),S(er,se,Ae,_n,_n)}S(N,ke,Ae,"C","\u2102"),S(er,ke,Ae,"C","\u2102"),S(N,ke,Ae,"H","\u210D"),S(er,ke,Ae,"H","\u210D"),S(N,ke,Ae,"N","\u2115"),S(er,ke,Ae,"N","\u2115"),S(N,ke,Ae,"P","\u2119"),S(er,ke,Ae,"P","\u2119"),S(N,ke,Ae,"Q","\u211A"),S(er,ke,Ae,"Q","\u211A"),S(N,ke,Ae,"R","\u211D"),S(er,ke,Ae,"R","\u211D"),S(N,ke,Ae,"Z","\u2124"),S(er,ke,Ae,"Z","\u2124"),S(N,se,zt,"h","\u210E"),S(er,se,zt,"h","\u210E");for(var pe="",fr=0;fr<Qr.length;fr++){var tt=Qr.charAt(fr);pe=String.fromCharCode(55349,56320+fr),S(N,se,zt,tt,pe),S(er,se,Ae,tt,pe),pe=String.fromCharCode(55349,56372+fr),S(N,se,zt,tt,pe),S(er,se,Ae,tt,pe),pe=String.fromCharCode(55349,56424+fr),S(N,se,zt,tt,pe),S(er,se,Ae,tt,pe),pe=String.fromCharCode(55349,56580+fr),S(N,se,zt,tt,pe),S(er,se,Ae,tt,pe),pe=String.fromCharCode(55349,56736+fr),S(N,se,zt,tt,pe),S(er,se,Ae,tt,pe),pe=String.fromCharCode(55349,56788+fr),S(N,se,zt,tt,pe),S(er,se,Ae,tt,pe),pe=String.fromCharCode(55349,56840+fr),S(N,se,zt,tt,pe),S(er,se,Ae,tt,pe),pe=String.fromCharCode(55349,56944+fr),S(N,se,zt,tt,pe),S(er,se,Ae,tt,pe),fr<26&&(pe=String.fromCharCode(55349,56632+fr),S(N,se,zt,tt,pe),S(er,se,Ae,tt,pe),pe=String.fromCharCode(55349,56476+fr),S(N,se,zt,tt,pe),S(er,se,Ae,tt,pe))}pe="\u{1D55C}",S(N,se,zt,"k",pe),S(er,se,Ae,"k",pe);for(var Or=0;Or<10;Or++){var Kr=Or.toString();pe=String.fromCharCode(55349,57294+Or),S(N,se,zt,Kr,pe),S(er,se,Ae,Kr,pe),pe=String.fromCharCode(55349,57314+Or),S(N,se,zt,Kr,pe),S(er,se,Ae,Kr,pe),pe=String.fromCharCode(55349,57324+Or),S(N,se,zt,Kr,pe),S(er,se,Ae,Kr,pe),pe=String.fromCharCode(55349,57334+Or),S(N,se,zt,Kr,pe),S(er,se,Ae,Kr,pe)}for(var xn="\xC7\xD0\xDE\xE7\xFE",kn=0;kn<xn.length;kn++){var xt=xn.charAt(kn);S(N,se,zt,xt,xt),S(er,se,Ae,xt,xt)}S(er,se,Ae,"\xF0","\xF0"),S(er,se,Ae,"\u2013","\u2013"),S(er,se,Ae,"\u2014","\u2014"),S(er,se,Ae,"\u2018","\u2018"),S(er,se,Ae,"\u2019","\u2019"),S(er,se,Ae,"\u201C","\u201C"),S(er,se,Ae,"\u201D","\u201D");var tr=[["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"]],or=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],ir=function(t,a){var i=t.charCodeAt(0),p=t.charCodeAt(1),D=(i-55296)*1024+(p-56320)+65536,oe=a==="math"?0:1;if(119808<=D&&D<120484){var De=Math.floor((D-119808)/26);return[tr[De][2],tr[De][oe]]}else if(120782<=D&&D<=120831){var Qe=Math.floor((D-120782)/10);return[or[Qe][2],or[Qe][oe]]}else{if(D===120485||D===120486)return[tr[0][2],tr[0][oe]];if(120486<D&&D<120782)return["",""];throw new q("Unsupported character: "+t)}},Pr=[[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]],tn=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Hr=function(t,a){return a.size<2?t:Pr[t-1][a.size-1]},Lr=function(){function k(a){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=a.style,this.color=a.color,this.size=a.size||k.BASESIZE,this.textSize=a.textSize||this.size,this.phantom=!!a.phantom,this.font=a.font||"",this.fontFamily=a.fontFamily||"",this.fontWeight=a.fontWeight||"",this.fontShape=a.fontShape||"",this.sizeMultiplier=tn[this.size-1],this.maxSize=a.maxSize,this.minRuleThickness=a.minRuleThickness,this._fontMetrics=void 0}var t=k.prototype;return t.extend=function(i){var p={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 i)i.hasOwnProperty(D)&&(p[D]=i[D]);return new k(p)},t.havingStyle=function(i){return this.style===i?this:this.extend({style:i,size:Hr(this.textSize,i)})},t.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},t.havingSize=function(i){return this.size===i&&this.textSize===i?this:this.extend({style:this.style.text(),size:i,textSize:i,sizeMultiplier:tn[i-1]})},t.havingBaseStyle=function(i){i=i||this.style.text();var p=Hr(k.BASESIZE,i);return this.size===p&&this.textSize===k.BASESIZE&&this.style===i?this:this.extend({style:i,size:p})},t.havingBaseSizing=function(){var i;switch(this.style.id){case 4:case 5:i=3;break;case 6:case 7:i=1;break;default:i=6}return this.extend({style:this.style.text(),size:i})},t.withColor=function(i){return this.extend({color:i})},t.withPhantom=function(){return this.extend({phantom:!0})},t.withFont=function(i){return this.extend({font:i})},t.withTextFontFamily=function(i){return this.extend({fontFamily:i,font:""})},t.withTextFontWeight=function(i){return this.extend({fontWeight:i,font:""})},t.withTextFontShape=function(i){return this.extend({fontShape:i,font:""})},t.sizingClasses=function(i){return i.size!==this.size?["sizing","reset-size"+i.size,"size"+this.size]:[]},t.baseSizingClasses=function(){return this.size!==k.BASESIZE?["sizing","reset-size"+this.size,"size"+k.BASESIZE]:[]},t.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=gr(this.size)),this._fontMetrics},t.getColor=function(){return this.phantom?"transparent":this.color},k}();Lr.BASESIZE=6;var ln=Lr,pn={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},En={ex:!0,em:!0,mu:!0},Dn=function(t){return typeof t!="string"&&(t=t.unit),t in pn||t in En||t==="ex"},$n=function(t,a){var i;if(t.unit in pn)i=pn[t.unit]/a.fontMetrics().ptPerEm/a.sizeMultiplier;else if(t.unit==="mu")i=a.fontMetrics().cssEmPerMu;else{var p;if(a.style.isTight()?p=a.havingStyle(a.style.text()):p=a,t.unit==="ex")i=p.fontMetrics().xHeight;else if(t.unit==="em")i=p.fontMetrics().quad;else throw new q("Invalid unit: '"+t.unit+"'");p!==a&&(i*=p.sizeMultiplier/a.sizeMultiplier)}return Math.min(t.number*i,a.maxSize)},Pn=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],Xn=function(t,a,i){return Er[i][t]&&Er[i][t].replace&&(t=Er[i][t].replace),{value:t,metrics:Ut(t,a,i)}},dn=function(t,a,i,p,D){var oe=Xn(t,a,i),De=oe.metrics;t=oe.value;var Qe;if(De){var It=De.italic;(i==="text"||p&&p.font==="mathit")&&(It=0),Qe=new Re(t,De.height,De.depth,It,De.skew,De.width,D)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+t+"' in style '"+a+"' and mode '"+i+"'")),Qe=new Re(t,0,0,0,0,0,D);if(p){Qe.maxFontSize=p.sizeMultiplier,p.style.isTight()&&Qe.classes.push("mtight");var nr=p.getColor();nr&&(Qe.style.color=nr)}return Qe},In=function(t,a,i,p){return p===void 0&&(p=[]),i.font==="boldsymbol"&&Xn(t,"Main-Bold",a).metrics?dn(t,"Main-Bold",a,i,p.concat(["mathbf"])):t==="\\"||Er[a][t].font==="main"?dn(t,"Main-Regular",a,i,p):dn(t,"AMS-Regular",a,i,p.concat(["amsrm"]))},Gn=function(t,a,i,p){return/[0-9]/.test(t.charAt(0))||w.contains(Pn,t)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},ea=function(t,a,i,p){return w.contains(Pn,t)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(t.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Nn=function(t,a,i,p){return Xn(t,"Math-BoldItalic",a).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Yn=function(t,a,i){var p=t.mode,D=t.text,oe=["mord"],De=p==="math"||p==="text"&&a.font,Qe=De?a.font:a.fontFamily;if(D.charCodeAt(0)===55349){var It=ir(D,p),nr=It[0],mr=It[1];return dn(D,nr,p,a,oe.concat(mr))}else if(Qe){var jr,Jr;if(Qe==="boldsymbol"||Qe==="mathnormal"){var cn=Qe==="boldsymbol"?Nn(D,p,a,oe):ea(D,p,a,oe);jr=cn.fontName,Jr=[cn.fontClass]}else w.contains(Pn,D)?(jr="Main-Italic",Jr=["mathit"]):De?(jr=gt[Qe].fontName,Jr=[Qe]):(jr=Xe(Qe,a.fontWeight,a.fontShape),Jr=[Qe,a.fontWeight,a.fontShape]);if(Xn(D,jr,p).metrics)return dn(D,jr,p,a,oe.concat(Jr));if(ae.hasOwnProperty(D)&&jr.substr(0,10)==="Typewriter"){for(var Sn=[],Zn=0;Zn<D.length;Zn++)Sn.push(dn(D[Zn],jr,p,a,oe.concat(Jr)));return z(Sn)}}if(i==="mathord"){var da=Gn(D,p,a,oe);return dn(D,da.fontName,p,a,oe.concat([da.fontClass]))}else if(i==="textord"){var va=Er[p][D]&&Er[p][D].font;if(va==="ams"){var c=Xe("amsrm",a.fontWeight,a.fontShape);return dn(D,c,p,a,oe.concat("amsrm",a.fontWeight,a.fontShape))}else if(va==="main"||!va){var e=Xe("textrm",a.fontWeight,a.fontShape);return dn(D,e,p,a,oe.concat(a.fontWeight,a.fontShape))}else{var r=Xe(va,a.fontWeight,a.fontShape);return dn(D,r,p,a,oe.concat(r,a.fontWeight,a.fontShape))}}else throw new Error("unexpected type: "+i+" in makeOrd")},Un=function(t,a){if(P(t.classes)!==P(a.classes)||t.skew!==a.skew||t.maxFontSize!==a.maxFontSize)return!1;for(var i in t.style)if(t.style.hasOwnProperty(i)&&t.style[i]!==a.style[i])return!1;for(var p in a.style)if(a.style.hasOwnProperty(p)&&t.style[p]!==a.style[p])return!1;return!0},g=function(t){for(var a=0;a<t.length-1;a++){var i=t[a],p=t[a+1];i instanceof Re&&p instanceof Re&&Un(i,p)&&(i.text+=p.text,i.height=Math.max(i.height,p.height),i.depth=Math.max(i.depth,p.depth),i.italic=p.italic,t.splice(a+1,1),a--)}return t},u=function(t){for(var a=0,i=0,p=0,D=0;D<t.children.length;D++){var oe=t.children[D];oe.height>a&&(a=oe.height),oe.depth>i&&(i=oe.depth),oe.maxFontSize>p&&(p=oe.maxFontSize)}t.height=a,t.depth=i,t.maxFontSize=p},d=function(t,a,i,p){var D=new ue(t,a,i,p);return u(D),D},v=function(t,a,i,p){return new ue(t,a,i,p)},O=function(t,a,i){var p=d([t],[],a);return p.height=Math.max(i||a.fontMetrics().defaultRuleThickness,a.minRuleThickness),p.style.borderBottomWidth=p.height+"em",p.maxFontSize=1,p},b=function(t,a,i,p){var D=new ge(t,a,i,p);return u(D),D},z=function(t){var a=new Be(t);return u(a),a},V=function(t,a){return t instanceof Be?d([],[t],a):t},ee=function(t){if(t.positionType==="individualShift"){for(var a=t.children,i=[a[0]],p=-a[0].shift-a[0].elem.depth,D=p,oe=1;oe<a.length;oe++){var De=-a[oe].shift-D-a[oe].elem.depth,Qe=De-(a[oe-1].elem.height+a[oe-1].elem.depth);D=D+De,i.push({type:"kern",size:Qe}),i.push(a[oe])}return{children:i,depth:p}}var It;if(t.positionType==="top"){for(var nr=t.positionData,mr=0;mr<t.children.length;mr++){var jr=t.children[mr];nr-=jr.type==="kern"?jr.size:jr.elem.height+jr.elem.depth}It=nr}else if(t.positionType==="bottom")It=-t.positionData;else{var Jr=t.children[0];if(Jr.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")It=-Jr.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")It=-Jr.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:It}},Ee=function(t,a){for(var i=ee(t),p=i.children,D=i.depth,oe=0,De=0;De<p.length;De++){var Qe=p[De];if(Qe.type==="elem"){var It=Qe.elem;oe=Math.max(oe,It.maxFontSize,It.height)}}oe+=2;var nr=d(["pstrut"],[]);nr.style.height=oe+"em";for(var mr=[],jr=D,Jr=D,cn=D,Sn=0;Sn<p.length;Sn++){var Zn=p[Sn];if(Zn.type==="kern")cn+=Zn.size;else{var da=Zn.elem,va=Zn.wrapperClasses||[],c=Zn.wrapperStyle||{},e=d(va,[nr,da],void 0,c);e.style.top=-oe-cn-da.depth+"em",Zn.marginLeft&&(e.style.marginLeft=Zn.marginLeft),Zn.marginRight&&(e.style.marginRight=Zn.marginRight),mr.push(e),cn+=da.height+da.depth}jr=Math.min(jr,cn),Jr=Math.max(Jr,cn)}var r=d(["vlist"],mr);r.style.height=Jr+"em";var h;if(jr<0){var C=d([],[]),K=d(["vlist"],[C]);K.style.height=-jr+"em";var Ie=d(["vlist-s"],[new Re("\u200B")]);h=[d(["vlist-r"],[r,Ie]),d(["vlist-r"],[K])]}else h=[d(["vlist-r"],[r])];var Ge=d(["vlist-t"],h);return h.length===2&&Ge.classes.push("vlist-t2"),Ge.height=Jr,Ge.depth=-jr,Ge},ot=function(t,a){var i=d(["mspace"],[],a),p=$n(t,a);return i.style.marginRight=p+"em",i},Xe=function(t,a,i){var p="";switch(t){case"amsrm":p="AMS";break;case"textrm":p="Main";break;case"textsf":p="SansSerif";break;case"texttt":p="Typewriter";break;default:p=t}var D;return a==="textbf"&&i==="textit"?D="BoldItalic":a==="textbf"?D="Bold":a==="textit"?D="Italic":D="Regular",p+"-"+D},gt={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"}},me={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Ht=function(t,a){var i=me[t],p=i[0],D=i[1],oe=i[2],De=new wt(p),Qe=new Je([De],{width:D+"em",height:oe+"em",style:"width:"+D+"em",viewBox:"0 0 "+1e3*D+" "+1e3*oe,preserveAspectRatio:"xMinYMin"}),It=v(["overlay"],[Qe],a);return It.height=oe,It.style.height=oe+"em",It.style.width=D+"em",It},je={fontMap:gt,makeSymbol:dn,mathsym:In,makeSpan:d,makeSvgSpan:v,makeLineSpan:O,makeAnchor:b,makeFragment:z,wrapFragment:V,makeVList:Ee,makeOrd:Yn,makeGlue:ot,staticSvg:Ht,svgData:me,tryCombineChars:g};function Pe(k,t){var a=at(k,t);if(!a)throw new Error("Expected node of type "+t+", but got "+(k?"node of type "+k.type:String(k)));return a}function at(k,t){return k&&k.type===t?k:null}function Ft(k,t){var a=cr(k,t);if(!a)throw new Error('Expected node of type "atom" and family "'+t+'", but got '+(k?k.type==="atom"?"atom of family "+k.family:"node of type "+k.type:String(k)));return a}function cr(k,t){return k&&k.type==="atom"&&k.family===t?k:null}function Rr(k){var t=Vr(k);if(!t)throw new Error("Expected node of symbol group type, but got "+(k?"node of type "+k.type:String(k)));return t}function Vr(k){return k&&(k.type==="atom"||Cr.hasOwnProperty(k.type))?k:null}var Mr={number:3,unit:"mu"},wr={number:4,unit:"mu"},Zt={number:5,unit:"mu"},_t={mord:{mop:Mr,mbin:wr,mrel:Zt,minner:Mr},mop:{mord:Mr,mop:Mr,mrel:Zt,minner:Mr},mbin:{mord:wr,mop:wr,mopen:wr,minner:wr},mrel:{mord:Zt,mop:Zt,mopen:Zt,minner:Zt},mopen:{},mclose:{mop:Mr,mbin:wr,mrel:Zt,minner:Mr},mpunct:{mord:Mr,mop:Mr,mrel:Zt,mopen:Mr,mclose:Mr,mpunct:Mr,minner:Mr},minner:{mord:Mr,mop:Mr,mbin:wr,mrel:Zt,mopen:Mr,mpunct:Mr,minner:Mr}},Br={mord:{mop:Mr},mop:{mord:Mr,mop:Mr},mbin:{},mrel:{},mopen:{},mclose:{mop:Mr},mpunct:{},minner:{mop:Mr}},dt={},ut={},rr={};function Pt(k){for(var t=k.type,a=k.names,i=k.props,p=k.handler,D=k.htmlBuilder,oe=k.mathmlBuilder,De={type:t,numArgs:i.numArgs,argTypes:i.argTypes,greediness:i.greediness===void 0?1:i.greediness,allowedInText:!!i.allowedInText,allowedInMath:i.allowedInMath===void 0?!0:i.allowedInMath,numOptionalArgs:i.numOptionalArgs||0,infix:!!i.infix,handler:p},Qe=0;Qe<a.length;++Qe)dt[a[Qe]]=De;t&&(D&&(ut[t]=D),oe&&(rr[t]=oe))}function Ve(k){var t=k.type,a=k.htmlBuilder,i=k.mathmlBuilder;Pt({type:t,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:a,mathmlBuilder:i})}var ve=function(t){var a=at(t,"ordgroup");return a?a.body:[t]},$t=je.makeSpan,Ct=["leftmost","mbin","mopen","mrel","mop","mpunct"],Xt=["rightmost","mrel","mclose","mpunct"],Gt={display:H.DISPLAY,text:H.TEXT,script:H.SCRIPT,scriptscript:H.SCRIPTSCRIPT},Sr={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},be=function(t,a,i,p){p===void 0&&(p=[null,null]);for(var D=[],oe=0;oe<t.length;oe++){var De=Bt(t[oe],a);if(De instanceof Be){var Qe=De.children;D.push.apply(D,Qe)}else D.push(De)}if(!i)return D;var It=a;if(t.length===1){var nr=at(t[0],"sizing")||at(t[0],"styling");nr&&(nr.type==="sizing"?It=a.havingSize(nr.size):nr.type==="styling"&&(It=a.havingStyle(Gt[nr.style])))}var mr=$t([p[0]||"leftmost"],[],a),jr=$t([p[1]||"rightmost"],[],a);return nt(D,function(Jr,cn){var Sn=cn.classes[0],Zn=Jr.classes[0];Sn==="mbin"&&w.contains(Xt,Zn)?cn.classes[0]="mord":Zn==="mbin"&&w.contains(Ct,Sn)&&(Jr.classes[0]="mord")},{node:mr},jr),nt(D,function(Jr,cn){var Sn=Yt(cn),Zn=Yt(Jr),da=Sn&&Zn?Jr.hasClass("mtight")?Br[Sn][Zn]:_t[Sn][Zn]:null;if(da)return je.makeGlue(da,It)},{node:mr},jr),D},nt=function k(t,a,i,p){p&&t.push(p);for(var D=0;D<t.length;D++){var oe=t[D],De=rt(oe);if(De){k(De.children,a,i);continue}if(oe.classes[0]!=="mspace"){var Qe=a(oe,i.node);Qe&&(i.insertAfter?i.insertAfter(Qe):(t.unshift(Qe),D++)),i.node=oe,i.insertAfter=function(It){return function(nr){t.splice(It+1,0,nr),D++}}(D)}}p&&t.pop()},rt=function(t){return t instanceof Be||t instanceof ge?t:null},kt=function k(t,a){var i=rt(t);if(i){var p=i.children;if(p.length){if(a==="right")return k(p[p.length-1],"right");if(a==="left")return k(p[0],"left")}}return t},Yt=function(t,a){return t?(a&&(t=kt(t,a)),Sr[t.classes[0]]||null):null},Lt=function(t,a){var i=["nulldelimiter"].concat(t.baseSizingClasses());return $t(a.concat(i))},Bt=function(t,a,i){if(!t)return $t();if(ut[t.type]){var p=ut[t.type](t,a);if(i&&a.size!==i.size){p=$t(a.sizingClasses(i),[p],a);var D=a.sizeMultiplier/i.sizeMultiplier;p.height*=D,p.depth*=D}return p}else throw new q("Got group of unknown type: '"+t.type+"'")};function Qt(k,t){var a=$t(["base"],k,t),i=$t(["strut"]);return i.style.height=a.height+a.depth+"em",i.style.verticalAlign=-a.depth+"em",a.children.unshift(i),a}function Ur(k,t){var a=null;k.length===1&&k[0].type==="tag"&&(a=k[0].tag,k=k[0].body);for(var i=be(k,t,!0),p=[],D=[],oe=0;oe<i.length;oe++)if(D.push(i[oe]),i[oe].hasClass("mbin")||i[oe].hasClass("mrel")||i[oe].hasClass("allowbreak")){for(var De=!1;oe<i.length-1&&i[oe+1].hasClass("mspace")&&!i[oe+1].hasClass("newline");)oe++,D.push(i[oe]),i[oe].hasClass("nobreak")&&(De=!0);De||(p.push(Qt(D,t)),D=[])}else i[oe].hasClass("newline")&&(D.pop(),D.length>0&&(p.push(Qt(D,t)),D=[]),p.push(i[oe]));D.length>0&&p.push(Qt(D,t));var Qe;a&&(Qe=Qt(be(a,t,!0)),Qe.classes=["tag"],p.push(Qe));var It=$t(["katex-html"],p);if(It.setAttribute("aria-hidden","true"),Qe){var nr=Qe.children[0];nr.style.height=It.height+It.depth+"em",nr.style.verticalAlign=-It.depth+"em"}return It}function Wt(k){return new Be(k)}var Fr=function(){function k(a,i){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=a,this.attributes={},this.children=i||[]}var t=k.prototype;return t.setAttribute=function(i,p){this.attributes[i]=p},t.getAttribute=function(i){return this.attributes[i]},t.toNode=function(){var i=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var p in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,p)&&i.setAttribute(p,this.attributes[p]);for(var D=0;D<this.children.length;D++)i.appendChild(this.children[D].toNode());return i},t.toMarkup=function(){var i="<"+this.type;for(var p in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,p)&&(i+=" "+p+'="',i+=w.escape(this.attributes[p]),i+='"');i+=">";for(var D=0;D<this.children.length;D++)i+=this.children[D].toMarkup();return i+="</"+this.type+">",i},t.toText=function(){return this.children.map(function(i){return i.toText()}).join("")},k}(),Xr=function(){function k(a){this.text=void 0,this.text=a}var t=k.prototype;return t.toNode=function(){return document.createTextNode(this.text)},t.toMarkup=function(){return w.escape(this.toText())},t.toText=function(){return this.text},k}(),gn=function(){function k(a){this.width=void 0,this.character=void 0,this.width=a,a>=.05555&&a<=.05556?this.character="\u200A":a>=.1666&&a<=.1667?this.character="\u2009":a>=.2222&&a<=.2223?this.character="\u2005":a>=.2777&&a<=.2778?this.character="\u2005\u200A":a>=-.05556&&a<=-.05555?this.character="\u200A\u2063":a>=-.1667&&a<=-.1666?this.character="\u2009\u2063":a>=-.2223&&a<=-.2222?this.character="\u205F\u2063":a>=-.2778&&a<=-.2777?this.character="\u2005\u2063":this.character=null}var t=k.prototype;return t.toNode=function(){if(this.character)return document.createTextNode(this.character);var i=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return i.setAttribute("width",this.width+"em"),i},t.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},t.toText=function(){return this.character?this.character:" "},k}(),Dt={MathNode:Fr,TextNode:Xr,SpaceNode:gn,newDocumentFragment:Wt},Et=function(t,a,i){return Er[a][t]&&Er[a][t].replace&&t.charCodeAt(0)!==55349&&!(ae.hasOwnProperty(t)&&i&&(i.fontFamily&&i.fontFamily.substr(4,2)==="tt"||i.font&&i.font.substr(4,2)==="tt"))&&(t=Er[a][t].replace),new Dt.TextNode(t)},wn=function(t){return t.length===1?t[0]:new Dt.MathNode("mrow",t)},Gr=function(t,a){if(a.fontFamily==="texttt")return"monospace";if(a.fontFamily==="textsf")return a.fontShape==="textit"&&a.fontWeight==="textbf"?"sans-serif-bold-italic":a.fontShape==="textit"?"sans-serif-italic":a.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(a.fontShape==="textit"&&a.fontWeight==="textbf")return"bold-italic";if(a.fontShape==="textit")return"italic";if(a.fontWeight==="textbf")return"bold";var i=a.font;if(!i||i==="mathnormal")return null;var p=t.mode;if(i==="mathit")return"italic";if(i==="boldsymbol")return"bold-italic";if(i==="mathbf")return"bold";if(i==="mathbb")return"double-struck";if(i==="mathfrak")return"fraktur";if(i==="mathscr"||i==="mathcal")return"script";if(i==="mathsf")return"sans-serif";if(i==="mathtt")return"monospace";var D=t.text;if(w.contains(["\\imath","\\jmath"],D))return null;Er[p][D]&&Er[p][D].replace&&(D=Er[p][D].replace);var oe=je.fontMap[i].fontName;return Ut(D,oe,p)?je.fontMap[i].variant:null},qr=function(t,a,i){if(t.length===1){var p=_r(t[0],a);return i&&p instanceof Fr&&p.type==="mo"&&(p.setAttribute("lspace","0em"),p.setAttribute("rspace","0em")),[p]}for(var D=[],oe,De=0;De<t.length;De++){var Qe=_r(t[De],a);if(Qe instanceof Fr&&oe instanceof Fr){if(Qe.type==="mtext"&&oe.type==="mtext"&&Qe.getAttribute("mathvariant")===oe.getAttribute("mathvariant")){var It;(It=oe.children).push.apply(It,Qe.children);continue}else if(Qe.type==="mn"&&oe.type==="mn"){var nr;(nr=oe.children).push.apply(nr,Qe.children);continue}else if(Qe.type==="mi"&&Qe.children.length===1&&oe.type==="mn"){var mr=Qe.children[0];if(mr instanceof Xr&&mr.text==="."){var jr;(jr=oe.children).push.apply(jr,Qe.children);continue}}else if(oe.type==="mi"&&oe.children.length===1){var Jr=oe.children[0];if(Jr instanceof Xr&&Jr.text==="\u0338"&&(Qe.type==="mo"||Qe.type==="mi"||Qe.type==="mn")){var cn=Qe.children[0];cn instanceof Xr&&cn.text.length>0&&(cn.text=cn.text.slice(0,1)+"\u0338"+cn.text.slice(1),D.pop())}}}D.push(Qe),oe=Qe}return D},nn=function(t,a,i){return wn(qr(t,a,i))},_r=function(t,a){if(!t)return new Dt.MathNode("mrow");if(rr[t.type]){var i=rr[t.type](t,a);return i}else throw new q("Got group of unknown type: '"+t.type+"'")};function on(k,t,a,i){var p=qr(k,a),D;p.length===1&&p[0]instanceof Fr&&w.contains(["mrow","mtable"],p[0].type)?D=p[0]:D=new Dt.MathNode("mrow",p);var oe=new Dt.MathNode("annotation",[new Dt.TextNode(t)]);oe.setAttribute("encoding","application/x-tex");var De=new Dt.MathNode("semantics",[D,oe]),Qe=new Dt.MathNode("math",[De]);Qe.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var It=i?"katex":"katex-mathml";return je.makeSpan([It],[Qe])}var Mn=function(t){return new ln({style:t.displayMode?H.DISPLAY:H.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},Ln=function(t,a){if(a.displayMode){var i=["katex-display"];a.leqno&&i.push("leqno"),a.fleqn&&i.push("fleqn"),t=je.makeSpan(i,[t])}return t},Hn=function(t,a,i){var p=Mn(i),D;if(i.output==="mathml")return on(t,a,p,!0);if(i.output==="html"){var oe=Ur(t,p);D=je.makeSpan(["katex"],[oe])}else{var De=on(t,a,p,!1),Qe=Ur(t,p);D=je.makeSpan(["katex"],[De,Qe])}return Ln(D,i)},ta=function(t,a,i){var p=Mn(i),D=Ur(t,p),oe=je.makeSpan(["katex"],[D]);return Ln(oe,i)},oa=Hn,ma={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"},Kn=function(t){var a=new Dt.MathNode("mo",[new Dt.TextNode(ma[t.substr(1)])]);return a.setAttribute("stretchy","true"),a},On={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]},Yr=function(t){return t.type==="ordgroup"?t.body.length:1},Ba=function(t,a){function i(){var Qe=4e5,It=t.label.substr(1);if(w.contains(["widehat","widecheck","widetilde","utilde"],It)){var nr=t,mr=Yr(nr.base),jr,Jr,cn;if(mr>5)It==="widehat"||It==="widecheck"?(jr=420,Qe=2364,cn=.42,Jr=It+"4"):(jr=312,Qe=2340,cn=.34,Jr="tilde4");else{var Sn=[1,1,2,2,3,3][mr];It==="widehat"||It==="widecheck"?(Qe=[0,1062,2364,2364,2364][Sn],jr=[0,239,300,360,420][Sn],cn=[0,.24,.3,.3,.36,.42][Sn],Jr=It+Sn):(Qe=[0,600,1033,2339,2340][Sn],jr=[0,260,286,306,312][Sn],cn=[0,.26,.286,.3,.306,.34][Sn],Jr="tilde"+Sn)}var Zn=new wt(Jr),da=new Je([Zn],{width:"100%",height:cn+"em",viewBox:"0 0 "+Qe+" "+jr,preserveAspectRatio:"none"});return{span:je.makeSvgSpan([],[da],a),minWidth:0,height:cn}}else{var va=[],c=On[It],e=c[0],r=c[1],h=c[2],C=h/1e3,K=e.length,Ie,Ge;if(K===1){var _e=c[3];Ie=["hide-tail"],Ge=[_e]}else if(K===2)Ie=["halfarrow-left","halfarrow-right"],Ge=["xMinYMin","xMaxYMin"];else if(K===3)Ie=["brace-left","brace-center","brace-right"],Ge=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+K+" children.");for(var Kt=0;Kt<K;Kt++){var hr=new wt(e[Kt]),br=new Je([hr],{width:"400em",height:C+"em",viewBox:"0 0 "+Qe+" "+h,preserveAspectRatio:Ge[Kt]+" slice"}),kr=je.makeSvgSpan([Ie[Kt]],[br],a);if(K===1)return{span:kr,minWidth:r,height:C};kr.style.height=C+"em",va.push(kr)}return{span:je.makeSpan(["stretchy"],va,a),minWidth:r,height:C}}}var p=i(),D=p.span,oe=p.minWidth,De=p.height;return D.height=De,D.style.height=De+"em",oe>0&&(D.style.minWidth=oe+"em"),D},ba=function(t,a,i,p){var D,oe=t.height+t.depth+2*i;if(/fbox|color/.test(a)){if(D=je.makeSpan(["stretchy",a],[],p),a==="fbox"){var De=p.color&&p.getColor();De&&(D.style.borderColor=De)}}else{var Qe=[];/^[bx]cancel$/.test(a)&&Qe.push(new At({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(a)&&Qe.push(new At({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var It=new Je(Qe,{width:"100%",height:oe+"em"});D=je.makeSvgSpan([],[It],p)}return D.height=oe,D.style.height=oe+"em",D},La={encloseSpan:ba,mathMLnode:Kn,svgSpan:Ba},ia=function(t,a){var i,p,D=at(t,"supsub"),oe;D?(p=Pe(D.base,"accent"),i=p.base,D.base=i,oe=qt(Bt(D,a)),D.base=p):(p=Pe(t,"accent"),i=p.base);var De=Bt(i,a.havingCrampedStyle()),Qe=p.isShifty&&w.isCharacterBox(i),It=0;if(Qe){var nr=w.getBaseElem(i),mr=Bt(nr,a.havingCrampedStyle());It=ar(mr).skew}var jr=Math.min(De.height,a.fontMetrics().xHeight),Jr;if(p.isStretchy)Jr=La.svgSpan(p,a),Jr=je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:De},{type:"elem",elem:Jr,wrapperClasses:["svg-align"],wrapperStyle:It>0?{width:"calc(100% - "+2*It+"em)",marginLeft:2*It+"em"}:void 0}]},a);else{var cn,Sn;p.label==="\\vec"?(cn=je.staticSvg("vec",a),Sn=je.svgData.vec[1]):(cn=je.makeOrd({mode:p.mode,text:p.label},a,"textord"),cn=ar(cn),cn.italic=0,Sn=cn.width),Jr=je.makeSpan(["accent-body"],[cn]);var Zn=p.label==="\\textcircled";Zn&&(Jr.classes.push("accent-full"),jr=De.height);var da=It;Zn||(da-=Sn/2),Jr.style.left=da+"em",p.label==="\\textcircled"&&(Jr.style.top=".2em"),Jr=je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:De},{type:"kern",size:-jr},{type:"elem",elem:Jr}]},a)}var va=je.makeSpan(["mord","accent"],[Jr],a);return oe?(oe.children[0]=va,oe.height=Math.max(va.height,oe.height),oe.classes[0]="mord",oe):va},Ca=function(t,a){var i=t.isStretchy?La.mathMLnode(t.label):new Dt.MathNode("mo",[Et(t.label,t.mode)]),p=new Dt.MathNode("mover",[_r(t.base,a),i]);return p.setAttribute("accent","true"),p},uo=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(k){return"\\"+k}).join("|"));Pt({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(t,a){var i=a[0],p=!uo.test(t.funcName),D=!p||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:p,isShifty:D,base:i}},htmlBuilder:ia,mathmlBuilder:Ca}),Pt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(t,a){var i=a[0];return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:!1,isShifty:!0,base:i}},htmlBuilder:ia,mathmlBuilder:Ca}),Pt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(t,a){var i=t.parser,p=t.funcName,D=a[0];return{type:"accentUnder",mode:i.mode,label:p,base:D}},htmlBuilder:function(t,a){var i=Bt(t.base,a),p=La.svgSpan(t,a),D=t.label==="\\utilde"?.12:0,oe=je.makeVList({positionType:"bottom",positionData:p.height+D,children:[{type:"elem",elem:p,wrapperClasses:["svg-align"]},{type:"kern",size:D},{type:"elem",elem:i}]},a);return je.makeSpan(["mord","accentunder"],[oe],a)},mathmlBuilder:function(t,a){var i=La.mathMLnode(t.label),p=new Dt.MathNode("munder",[_r(t.base,a),i]);return p.setAttribute("accentunder","true"),p}});var sa=function(t){var a=new Dt.MathNode("mpadded",t?[t]:[]);return a.setAttribute("width","+0.6em"),a.setAttribute("lspace","0.3em"),a};Pt({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(t,a,i){var p=t.parser,D=t.funcName;return{type:"xArrow",mode:p.mode,label:D,body:a[0],below:i[0]}},htmlBuilder:function(t,a){var i=a.style,p=a.havingStyle(i.sup()),D=je.wrapFragment(Bt(t.body,p,a),a);D.classes.push("x-arrow-pad");var oe;t.below&&(p=a.havingStyle(i.sub()),oe=je.wrapFragment(Bt(t.below,p,a),a),oe.classes.push("x-arrow-pad"));var De=La.svgSpan(t,a),Qe=-a.fontMetrics().axisHeight+.5*De.height,It=-a.fontMetrics().axisHeight-.5*De.height-.111;(D.depth>.25||t.label==="\\xleftequilibrium")&&(It-=D.depth);var nr;if(oe){var mr=-a.fontMetrics().axisHeight+oe.height+.5*De.height+.111;nr=je.makeVList({positionType:"individualShift",children:[{type:"elem",elem:D,shift:It},{type:"elem",elem:De,shift:Qe},{type:"elem",elem:oe,shift:mr}]},a)}else nr=je.makeVList({positionType:"individualShift",children:[{type:"elem",elem:D,shift:It},{type:"elem",elem:De,shift:Qe}]},a);return nr.children[0].children[0].children[1].classes.push("svg-align"),je.makeSpan(["mrel","x-arrow"],[nr],a)},mathmlBuilder:function(t,a){var i=La.mathMLnode(t.label),p;if(t.body){var D=sa(_r(t.body,a));if(t.below){var oe=sa(_r(t.below,a));p=new Dt.MathNode("munderover",[i,oe,D])}else p=new Dt.MathNode("mover",[i,D])}else if(t.below){var De=sa(_r(t.below,a));p=new Dt.MathNode("munder",[i,De])}else p=sa(),p=new Dt.MathNode("mover",[i,p]);return p}}),Pt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(t,a){for(var i=t.parser,p=Pe(a[0],"ordgroup"),D=p.body,oe="",De=0;De<D.length;De++){var Qe=Pe(D[De],"textord");oe+=Qe.text}var It=parseInt(oe);if(isNaN(It))throw new q("\\@char has non-numeric argument "+oe);return{type:"textord",mode:i.mode,text:String.fromCharCode(It)}}});var no=function(t,a){var i=be(t.body,a.withColor(t.color),!1);return je.makeFragment(i)},Ma=function(t,a){var i=qr(t.body,a.withColor(t.color)),p=new Dt.MathNode("mstyle",i);return p.setAttribute("mathcolor",t.color),p};Pt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(t,a){var i=t.parser,p=Pe(a[0],"color-token").color,D=a[1];return{type:"color",mode:i.mode,color:p,body:ve(D)}},htmlBuilder:no,mathmlBuilder:Ma}),Pt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(t,a){var i=t.parser,p=t.breakOnTokenText,D=Pe(a[0],"color-token").color;i.gullet.macros.set("\\current@color",D);var oe=i.parseExpression(!0,p);return{type:"color",mode:i.mode,color:D,body:oe}},htmlBuilder:no,mathmlBuilder:Ma}),Pt({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(t,a,i){var p=t.parser,D=t.funcName,oe=i[0],De=D==="\\cr",Qe=!1;return De||(p.settings.displayMode&&p.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Qe=!1:Qe=!0),{type:"cr",mode:p.mode,newLine:Qe,newRow:De,size:oe&&Pe(oe,"size").value}},htmlBuilder:function(t,a){if(t.newRow)throw new q("\\cr valid only within a tabular/array environment");var i=je.makeSpan(["mspace"],[],a);return t.newLine&&(i.classes.push("newline"),t.size&&(i.style.marginTop=$n(t.size,a)+"em")),i},mathmlBuilder:function(t,a){var i=new Dt.MathNode("mspace");return t.newLine&&(i.setAttribute("linebreak","newline"),t.size&&i.setAttribute("height",$n(t.size,a)+"em")),i}});var Wa=function(t,a,i){var p=Er.math[t]&&Er.math[t].replace,D=Ut(p||t,a,i);if(!D)throw new Error("Unsupported symbol "+t+" and font size "+a+".");return D},Jn=function(t,a,i,p){var D=i.havingBaseStyle(a),oe=je.makeSpan(p.concat(D.sizingClasses(i)),[t],i),De=D.sizeMultiplier/i.sizeMultiplier;return oe.height*=De,oe.depth*=De,oe.maxFontSize=D.sizeMultiplier,oe},ra=function(t,a,i){var p=a.havingBaseStyle(i),D=(1-a.sizeMultiplier/p.sizeMultiplier)*a.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=D+"em",t.height-=D,t.depth+=D},fn=function(t,a,i,p,D,oe){var De=je.makeSymbol(t,"Main-Regular",D,p),Qe=Jn(De,a,p,oe);return i&&ra(Qe,p,a),Qe},Cn=function(t,a,i,p){return je.makeSymbol(t,"Size"+a+"-Regular",i,p)},Oa=function(t,a,i,p,D,oe){var De=Cn(t,a,D,p),Qe=Jn(je.makeSpan(["delimsizing","size"+a],[De],p),H.TEXT,p,oe);return i&&ra(Qe,p,H.TEXT),Qe},aa=function(t,a,i){var p;a==="Size1-Regular"?p="delim-size1":p="delim-size4";var D=je.makeSpan(["delimsizinginner",p],[je.makeSpan([],[je.makeSymbol(t,a,i)])]);return{type:"elem",elem:D}},za={type:"kern",size:-.005},Ta=function(t,a,i,p,D,oe){var De,Qe,It,nr;De=It=nr=t,Qe=null;var mr="Size1-Regular";t==="\\uparrow"?It=nr="\u23D0":t==="\\Uparrow"?It=nr="\u2016":t==="\\downarrow"?De=It="\u23D0":t==="\\Downarrow"?De=It="\u2016":t==="\\updownarrow"?(De="\\uparrow",It="\u23D0",nr="\\downarrow"):t==="\\Updownarrow"?(De="\\Uparrow",It="\u2016",nr="\\Downarrow"):t==="["||t==="\\lbrack"?(De="\u23A1",It="\u23A2",nr="\u23A3",mr="Size4-Regular"):t==="]"||t==="\\rbrack"?(De="\u23A4",It="\u23A5",nr="\u23A6",mr="Size4-Regular"):t==="\\lfloor"||t==="\u230A"?(It=De="\u23A2",nr="\u23A3",mr="Size4-Regular"):t==="\\lceil"||t==="\u2308"?(De="\u23A1",It=nr="\u23A2",mr="Size4-Regular"):t==="\\rfloor"||t==="\u230B"?(It=De="\u23A5",nr="\u23A6",mr="Size4-Regular"):t==="\\rceil"||t==="\u2309"?(De="\u23A4",It=nr="\u23A5",mr="Size4-Regular"):t==="("||t==="\\lparen"?(De="\u239B",It="\u239C",nr="\u239D",mr="Size4-Regular"):t===")"||t==="\\rparen"?(De="\u239E",It="\u239F",nr="\u23A0",mr="Size4-Regular"):t==="\\{"||t==="\\lbrace"?(De="\u23A7",Qe="\u23A8",nr="\u23A9",It="\u23AA",mr="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(De="\u23AB",Qe="\u23AC",nr="\u23AD",It="\u23AA",mr="Size4-Regular"):t==="\\lgroup"||t==="\u27EE"?(De="\u23A7",nr="\u23A9",It="\u23AA",mr="Size4-Regular"):t==="\\rgroup"||t==="\u27EF"?(De="\u23AB",nr="\u23AD",It="\u23AA",mr="Size4-Regular"):t==="\\lmoustache"||t==="\u23B0"?(De="\u23A7",nr="\u23AD",It="\u23AA",mr="Size4-Regular"):(t==="\\rmoustache"||t==="\u23B1")&&(De="\u23AB",nr="\u23A9",It="\u23AA",mr="Size4-Regular");var jr=Wa(De,mr,D),Jr=jr.height+jr.depth,cn=Wa(It,mr,D),Sn=cn.height+cn.depth,Zn=Wa(nr,mr,D),da=Zn.height+Zn.depth,va=0,c=1;if(Qe!==null){var e=Wa(Qe,mr,D);va=e.height+e.depth,c=2}var r=Jr+da+va,h=Math.max(0,Math.ceil((a-r)/(c*Sn))),C=r+h*c*Sn,K=p.fontMetrics().axisHeight;i&&(K*=p.sizeMultiplier);var Ie=C/2-K,Ge=(h+1)*.005-Sn,_e=[];if(_e.push(aa(nr,mr,D)),Qe===null)for(var Kt=0;Kt<h;Kt++)_e.push(za),_e.push(aa(It,mr,D));else{for(var hr=0;hr<h;hr++)_e.push(za),_e.push(aa(It,mr,D));_e.push({type:"kern",size:Ge}),_e.push(aa(It,mr,D)),_e.push(za),_e.push(aa(Qe,mr,D));for(var br=0;br<h;br++)_e.push(za),_e.push(aa(It,mr,D))}_e.push({type:"kern",size:Ge}),_e.push(aa(It,mr,D)),_e.push(za),_e.push(aa(De,mr,D));var kr=p.havingBaseStyle(H.TEXT),Dr=je.makeVList({positionType:"bottom",positionData:Ie,children:_e},kr);return Jn(je.makeSpan(["delimsizing","mult"],[Dr],kr),H.TEXT,p,oe)},Wn=80,so=.08,Rn=function(t,a,i,p,D){var oe=jt(t,p,i),De=new wt(t,oe),Qe=new Je([De],{width:"400em",height:a+"em",viewBox:"0 0 400000 "+i,preserveAspectRatio:"xMinYMin slice"});return je.makeSvgSpan(["hide-tail"],[Qe],D)},la=function(t,a){var i=a.havingBaseSizing(),p=Sa("\\surd",t*i.sizeMultiplier,ga,i),D=i.sizeMultiplier,oe=Math.max(0,a.minRuleThickness-a.fontMetrics().sqrtRuleThickness),De,Qe=0,It=0,nr=0,mr;return p.type==="small"?(nr=1e3+1e3*oe+Wn,t<1?D=1:t<1.4&&(D=.7),Qe=(1+oe+so)/D,It=(1+oe)/D,De=Rn("sqrtMain",Qe,nr,oe,a),De.style.minWidth="0.853em",mr=.833/D):p.type==="large"?(nr=(1e3+Wn)*ao[p.size],It=(ao[p.size]+oe)/D,Qe=(ao[p.size]+oe+so)/D,De=Rn("sqrtSize"+p.size,Qe,nr,oe,a),De.style.minWidth="1.02em",mr=1/D):(Qe=t+oe+so,It=t+oe,nr=Math.floor(1e3*t+oe)+Wn,De=Rn("sqrtTall",Qe,nr,oe,a),De.style.minWidth="0.742em",mr=1.056),De.height=It,De.style.height=Qe+"em",{span:De,advanceWidth:mr,ruleWidth:(a.fontMetrics().sqrtRuleThickness+oe)*D}},ca=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],xa=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Fa=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],ao=[0,1.2,1.8,2.4,3],Qa=function(t,a,i,p,D){if(t==="<"||t==="\\lt"||t==="\u27E8"?t="\\langle":(t===">"||t==="\\gt"||t==="\u27E9")&&(t="\\rangle"),w.contains(ca,t)||w.contains(Fa,t))return Oa(t,a,!1,i,p,D);if(w.contains(xa,t))return Ta(t,ao[a],!1,i,p,D);throw new q("Illegal delimiter: '"+t+"'")},go=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],ho=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"stack"}],ga=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Ia=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},Sa=function(t,a,i,p){for(var D=Math.min(2,3-p.style.size),oe=D;oe<i.length&&i[oe].type!=="stack";oe++){var De=Wa(t,Ia(i[oe]),"math"),Qe=De.height+De.depth;if(i[oe].type==="small"){var It=p.havingBaseStyle(i[oe].style);Qe*=It.sizeMultiplier}if(Qe>a)return i[oe]}return i[i.length-1]},Ua=function(t,a,i,p,D,oe){t==="<"||t==="\\lt"||t==="\u27E8"?t="\\langle":(t===">"||t==="\\gt"||t==="\u27E9")&&(t="\\rangle");var De;w.contains(Fa,t)?De=go:w.contains(ca,t)?De=ga:De=ho;var Qe=Sa(t,a,De,p);return Qe.type==="small"?fn(t,Qe.style,i,p,D,oe):Qe.type==="large"?Oa(t,Qe.size,i,p,D,oe):Ta(t,a,i,p,D,oe)},_a=function(t,a,i,p,D,oe){var De=p.fontMetrics().axisHeight*p.sizeMultiplier,Qe=901,It=5/p.fontMetrics().ptPerEm,nr=Math.max(a-De,i+De),mr=Math.max(nr/500*Qe,2*nr-It);return Ua(t,mr,!0,p,D,oe)},ya={sqrtImage:la,sizedDelim:Qa,customSizedDelim:Ua,leftRightDelim:_a},ka={"\\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}},Na=["(","\\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 Xa(k,t){var a=Vr(k);if(a&&w.contains(Na,a.text))return a;throw new q("Invalid delimiter: '"+(a?a.text:JSON.stringify(k))+"' after '"+t.funcName+"'",k)}Pt({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(t,a){var i=Xa(a[0],t);return{type:"delimsizing",mode:t.parser.mode,size:ka[t.funcName].size,mclass:ka[t.funcName].mclass,delim:i.text}},htmlBuilder:function(t,a){return t.delim==="."?je.makeSpan([t.mclass]):ya.sizedDelim(t.delim,t.size,a,t.mode,[t.mclass])},mathmlBuilder:function(t){var a=[];t.delim!=="."&&a.push(Et(t.delim,t.mode));var i=new Dt.MathNode("mo",a);return t.mclass==="mopen"||t.mclass==="mclose"?i.setAttribute("fence","true"):i.setAttribute("fence","false"),i}});function lo(k){if(!k.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Pt({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(t,a){var i=t.parser.gullet.macros.get("\\current@color");if(i&&typeof i!="string")throw new q("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:Xa(a[0],t).text,color:i}}}),Pt({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(t,a){var i=Xa(a[0],t),p=t.parser;++p.leftrightDepth;var D=p.parseExpression(!1);--p.leftrightDepth,p.expect("\\right",!1);var oe=Pe(p.parseFunction(),"leftright-right");return{type:"leftright",mode:p.mode,body:D,left:i.text,right:oe.delim,rightColor:oe.color}},htmlBuilder:function(t,a){lo(t);for(var i=be(t.body,a,!0,["mopen","mclose"]),p=0,D=0,oe=!1,De=0;De<i.length;De++)i[De].isMiddle?oe=!0:(p=Math.max(i[De].height,p),D=Math.max(i[De].depth,D));p*=a.sizeMultiplier,D*=a.sizeMultiplier;var Qe;if(t.left==="."?Qe=Lt(a,["mopen"]):Qe=ya.leftRightDelim(t.left,p,D,a,t.mode,["mopen"]),i.unshift(Qe),oe)for(var It=1;It<i.length;It++){var nr=i[It],mr=nr.isMiddle;mr&&(i[It]=ya.leftRightDelim(mr.delim,p,D,mr.options,t.mode,[]))}var jr;if(t.right===".")jr=Lt(a,["mclose"]);else{var Jr=t.rightColor?a.withColor(t.rightColor):a;jr=ya.leftRightDelim(t.right,p,D,Jr,t.mode,["mclose"])}return i.push(jr),je.makeSpan(["minner"],i,a)},mathmlBuilder:function(t,a){lo(t);var i=qr(t.body,a);if(t.left!=="."){var p=new Dt.MathNode("mo",[Et(t.left,t.mode)]);p.setAttribute("fence","true"),i.unshift(p)}if(t.right!=="."){var D=new Dt.MathNode("mo",[Et(t.right,t.mode)]);D.setAttribute("fence","true"),t.rightColor&&D.setAttribute("mathcolor",t.rightColor),i.push(D)}return wn(i)}}),Pt({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(t,a){var i=Xa(a[0],t);if(!t.parser.leftrightDepth)throw new q("\\middle without preceding \\left",i);return{type:"middle",mode:t.parser.mode,delim:i.text}},htmlBuilder:function(t,a){var i;if(t.delim===".")i=Lt(a,[]);else{i=ya.sizedDelim(t.delim,1,a,t.mode,[]);var p={delim:t.delim,options:a};i.isMiddle=p}return i},mathmlBuilder:function(t,a){var i=t.delim==="\\vert"||t.delim==="|"?Et("|","text"):Et(t.delim,t.mode),p=new Dt.MathNode("mo",[i]);return p.setAttribute("fence","true"),p.setAttribute("lspace","0.05em"),p.setAttribute("rspace","0.05em"),p}});var vo=function(t,a){var i=je.wrapFragment(Bt(t.body,a),a),p=t.label.substr(1),D=a.sizeMultiplier,oe,De=0,Qe=w.isCharacterBox(t.body);if(p==="sout")oe=je.makeSpan(["stretchy","sout"]),oe.height=a.fontMetrics().defaultRuleThickness/D,De=-.5*a.fontMetrics().xHeight;else{/cancel/.test(p)?Qe||i.classes.push("cancel-pad"):i.classes.push("boxpad");var It=0,nr=0;/box/.test(p)?(nr=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness),It=a.fontMetrics().fboxsep+(p==="colorbox"?0:nr)):It=Qe?.2:0,oe=La.encloseSpan(i,p,It,a),/fbox|boxed|fcolorbox/.test(p)&&(oe.style.borderStyle="solid",oe.style.borderWidth=nr+"em"),De=i.depth+It,t.backgroundColor&&(oe.style.backgroundColor=t.backgroundColor,t.borderColor&&(oe.style.borderColor=t.borderColor))}var mr;return t.backgroundColor?mr=je.makeVList({positionType:"individualShift",children:[{type:"elem",elem:oe,shift:De},{type:"elem",elem:i,shift:0}]},a):mr=je.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:oe,shift:De,wrapperClasses:/cancel/.test(p)?["svg-align"]:[]}]},a),/cancel/.test(p)&&(mr.height=i.height,mr.depth=i.depth),/cancel/.test(p)&&!Qe?je.makeSpan(["mord","cancel-lap"],[mr],a):je.makeSpan(["mord"],[mr],a)},Ko=function(t,a){var i=0,p=new Dt.MathNode(t.label.indexOf("colorbox")>-1?"mpadded":"menclose",[_r(t.body,a)]);switch(t.label){case"\\cancel":p.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":p.setAttribute("notation","downdiagonalstrike");break;case"\\sout":p.setAttribute("notation","horizontalstrike");break;case"\\fbox":p.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(i=a.fontMetrics().fboxsep*a.fontMetrics().ptPerEm,p.setAttribute("width","+"+2*i+"pt"),p.setAttribute("height","+"+2*i+"pt"),p.setAttribute("lspace",i+"pt"),p.setAttribute("voffset",i+"pt"),t.label==="\\fcolorbox"){var D=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness);p.setAttribute("style","border: "+D+"em solid "+String(t.borderColor))}break;case"\\xcancel":p.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&p.setAttribute("mathbackground",t.backgroundColor),p};Pt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(t,a,i){var p=t.parser,D=t.funcName,oe=Pe(a[0],"color-token").color,De=a[1];return{type:"enclose",mode:p.mode,label:D,backgroundColor:oe,body:De}},htmlBuilder:vo,mathmlBuilder:Ko}),Pt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(t,a,i){var p=t.parser,D=t.funcName,oe=Pe(a[0],"color-token").color,De=Pe(a[1],"color-token").color,Qe=a[2];return{type:"enclose",mode:p.mode,label:D,backgroundColor:De,borderColor:oe,body:Qe}},htmlBuilder:vo,mathmlBuilder:Ko}),Pt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(t,a){var i=t.parser;return{type:"enclose",mode:i.mode,label:"\\fbox",body:a[0]}}}),Pt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(t,a,i){var p=t.parser,D=t.funcName,oe=a[0];return{type:"enclose",mode:p.mode,label:D,body:oe}},htmlBuilder:vo,mathmlBuilder:Ko});var Wo={};function Aa(k){for(var t=k.type,a=k.names,i=k.props,p=k.handler,D=k.htmlBuilder,oe=k.mathmlBuilder,De={type:t,numArgs:i.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:p},Qe=0;Qe<a.length;++Qe)Wo[a[Qe]]=De;D&&(ut[t]=D),oe&&(rr[t]=oe)}function Si(k){var t=[];k.consumeSpaces();for(var a=k.fetch().text;a==="\\hline"||a==="\\hdashline";)k.consume(),t.push(a==="\\hdashline"),k.consumeSpaces(),a=k.fetch().text;return t}function oo(k,t,a){var i=t.hskipBeforeAndAfter,p=t.addJot,D=t.cols,oe=t.arraystretch,De=t.colSeparationType;if(k.gullet.beginGroup(),k.gullet.macros.set("\\\\","\\cr"),!oe){var Qe=k.gullet.expandMacroAsText("\\arraystretch");if(Qe==null)oe=1;else if(oe=parseFloat(Qe),!oe||oe<0)throw new q("Invalid \\arraystretch: "+Qe)}k.gullet.beginGroup();var It=[],nr=[It],mr=[],jr=[];for(jr.push(Si(k));;){var Jr=k.parseExpression(!1,"\\cr");k.gullet.endGroup(),k.gullet.beginGroup(),Jr={type:"ordgroup",mode:k.mode,body:Jr},a&&(Jr={type:"styling",mode:k.mode,style:a,body:[Jr]}),It.push(Jr);var cn=k.fetch().text;if(cn==="&")k.consume();else if(cn==="\\end"){It.length===1&&Jr.type==="styling"&&Jr.body[0].body.length===0&&nr.pop(),jr.length<nr.length+1&&jr.push([]);break}else if(cn==="\\cr"){var Sn=Pe(k.parseFunction(),"cr");mr.push(Sn.size),jr.push(Si(k)),It=[],nr.push(It)}else throw new q("Expected & or \\\\ or \\cr or \\end",k.nextToken)}return k.gullet.endGroup(),k.gullet.endGroup(),{type:"array",mode:k.mode,addJot:p,arraystretch:oe,body:nr,cols:D,rowGaps:mr,hskipBeforeAndAfter:i,hLinesBeforeRow:jr,colSeparationType:De}}function Mo(k){return k.substr(0,1)==="d"?"display":"text"}var mo=function(t,a){var i,p,D=t.body.length,oe=t.hLinesBeforeRow,De=0,Qe=new Array(D),It=[],nr=Math.max(a.fontMetrics().arrayRuleWidth,a.minRuleThickness),mr=1/a.fontMetrics().ptPerEm,jr=5*mr;if(t.colSeparationType&&t.colSeparationType==="small"){var Jr=a.havingStyle(H.SCRIPT).sizeMultiplier;jr=.2778*(Jr/a.sizeMultiplier)}var cn=12*mr,Sn=3*mr,Zn=t.arraystretch*cn,da=.7*Zn,va=.3*Zn,c=0;function e(Da){for(var po=0;po<Da.length;++po)po>0&&(c+=.25),It.push({pos:c,isDashed:Da[po]})}for(e(oe[0]),i=0;i<t.body.length;++i){var r=t.body[i],h=da,C=va;De<r.length&&(De=r.length);var K=new Array(r.length);for(p=0;p<r.length;++p){var Ie=Bt(r[p],a);C<Ie.depth&&(C=Ie.depth),h<Ie.height&&(h=Ie.height),K[p]=Ie}var Ge=t.rowGaps[i],_e=0;Ge&&(_e=$n(Ge,a),_e>0&&(_e+=va,C<_e&&(C=_e),_e=0)),t.addJot&&(C+=Sn),K.height=h,K.depth=C,c+=h,K.pos=c,c+=C+_e,Qe[i]=K,e(oe[i+1])}var Kt=c/2+a.fontMetrics().axisHeight,hr=t.cols||[],br=[],kr,Dr;for(p=0,Dr=0;p<De||Dr<hr.length;++p,++Dr){for(var hn=hr[Dr]||{},An=!0;hn.type==="separator";){if(An||(kr=je.makeSpan(["arraycolsep"],[]),kr.style.width=a.fontMetrics().doubleRuleSep+"em",br.push(kr)),hn.separator==="|"||hn.separator===":"){var Fn=hn.separator==="|"?"solid":"dashed",jn=je.makeSpan(["vertical-separator"],[],a);jn.style.height=c+"em",jn.style.borderRightWidth=nr+"em",jn.style.borderRightStyle=Fn,jn.style.margin="0 -"+nr/2+"em",jn.style.verticalAlign=-(c-Kt)+"em",br.push(jn)}else throw new q("Invalid separator type: "+hn.separator);Dr++,hn=hr[Dr]||{},An=!1}if(!(p>=De)){var Qn=void 0;(p>0||t.hskipBeforeAndAfter)&&(Qn=w.deflt(hn.pregap,jr),Qn!==0&&(kr=je.makeSpan(["arraycolsep"],[]),kr.style.width=Qn+"em",br.push(kr)));var qn=[];for(i=0;i<D;++i){var ha=Qe[i],pa=ha[p];if(pa){var $a=ha.pos-Kt;pa.depth=ha.depth,pa.height=ha.height,qn.push({type:"elem",elem:pa,shift:$a})}}qn=je.makeVList({positionType:"individualShift",children:qn},a),qn=je.makeSpan(["col-align-"+(hn.align||"c")],[qn]),br.push(qn),(p<De-1||t.hskipBeforeAndAfter)&&(Qn=w.deflt(hn.postgap,jr),Qn!==0&&(kr=je.makeSpan(["arraycolsep"],[]),kr.style.width=Qn+"em",br.push(kr)))}}if(Qe=je.makeSpan(["mtable"],br),It.length>0){for(var Ea=je.makeLineSpan("hline",a,nr),Ka=je.makeLineSpan("hdashline",a,nr),ja=[{type:"elem",elem:Qe,shift:0}];It.length>0;){var Ha=It.pop(),bo=Ha.pos-Kt;Ha.isDashed?ja.push({type:"elem",elem:Ka,shift:bo}):ja.push({type:"elem",elem:Ea,shift:bo})}Qe=je.makeVList({positionType:"individualShift",children:ja},a)}return je.makeSpan(["mord"],[Qe],a)},Ti={c:"center ",l:"left ",r:"right "},xo=function(t,a){var i=new Dt.MathNode("mtable",t.body.map(function(c){return new Dt.MathNode("mtr",c.map(function(e){return new Dt.MathNode("mtd",[_r(e,a)])}))})),p=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);i.setAttribute("rowspacing",p+"em");var D="",oe="";if(t.cols){var De=t.cols,Qe="",It=!1,nr=0,mr=De.length;De[0].type==="separator"&&(D+="top ",nr=1),De[De.length-1].type==="separator"&&(D+="bottom ",mr-=1);for(var jr=nr;jr<mr;jr++)De[jr].type==="align"?(oe+=Ti[De[jr].align],It&&(Qe+="none "),It=!0):De[jr].type==="separator"&&It&&(Qe+=De[jr].separator==="|"?"solid ":"dashed ",It=!1);i.setAttribute("columnalign",oe.trim()),/[sd]/.test(Qe)&&i.setAttribute("columnlines",Qe.trim())}if(t.colSeparationType==="align"){for(var Jr=t.cols||[],cn="",Sn=1;Sn<Jr.length;Sn++)cn+=Sn%2?"0em ":"1em ";i.setAttribute("columnspacing",cn.trim())}else t.colSeparationType==="alignat"?i.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?i.setAttribute("columnspacing","0.2778em"):i.setAttribute("columnspacing","1em");var Zn="",da=t.hLinesBeforeRow;D+=da[0].length>0?"left ":"",D+=da[da.length-1].length>0?"right ":"";for(var va=1;va<da.length-1;va++)Zn+=da[va].length===0?"none ":da[va][0]?"dashed ":"solid ";return/[sd]/.test(Zn)&&i.setAttribute("rowlines",Zn.trim()),D!==""&&(i=new Dt.MathNode("menclose",[i]),i.setAttribute("notation",D.trim())),t.arraystretch&&t.arraystretch<1&&(i=new Dt.MathNode("mstyle",[i]),i.setAttribute("scriptlevel","1")),i},_o=function(t,a){var i=[],p=oo(t.parser,{cols:i,addJot:!0},"display"),D,oe=0,De={type:"ordgroup",mode:t.mode,body:[]},Qe=at(a[0],"ordgroup");if(Qe){for(var It="",nr=0;nr<Qe.body.length;nr++){var mr=Pe(Qe.body[nr],"textord");It+=mr.text}D=Number(It),oe=D*2}var jr=!oe;p.body.forEach(function(Zn){for(var da=1;da<Zn.length;da+=2){var va=Pe(Zn[da],"styling"),c=Pe(va.body[0],"ordgroup");c.body.unshift(De)}if(jr)oe<Zn.length&&(oe=Zn.length);else{var e=Zn.length/2;if(D<e)throw new q("Too many math in a row: "+("expected "+D+", but got "+e),Zn[0])}});for(var Jr=0;Jr<oe;++Jr){var cn="r",Sn=0;Jr%2===1?cn="l":Jr>0&&jr&&(Sn=1),i[Jr]={type:"align",align:cn,pregap:Sn,postgap:0}}return p.colSeparationType=jr?"align":"alignat",p};Aa({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(t,a){var i=Vr(a[0]),p=i?[a[0]]:Pe(a[0],"ordgroup").body,D=p.map(function(De){var Qe=Rr(De),It=Qe.text;if("lcr".indexOf(It)!==-1)return{type:"align",align:It};if(It==="|")return{type:"separator",separator:"|"};if(It===":")return{type:"separator",separator:":"};throw new q("Unknown column alignment: "+It,De)}),oe={cols:D,hskipBeforeAndAfter:!0};return oo(t.parser,oe,Mo(t.envName))},htmlBuilder:mo,mathmlBuilder:xo}),Aa({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(t){var a={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName],i={hskipBeforeAndAfter:!1},p=oo(t.parser,i,Mo(t.envName));return a?{type:"leftright",mode:t.mode,body:[p],left:a[0],right:a[1],rightColor:void 0}:p},htmlBuilder:mo,mathmlBuilder:xo}),Aa({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(t){var a={arraystretch:.5},i=oo(t.parser,a,"script");return i.colSeparationType="small",i},htmlBuilder:mo,mathmlBuilder:xo}),Aa({type:"array",names:["subarray"],props:{numArgs:1},handler:function(t,a){var i=Vr(a[0]),p=i?[a[0]]:Pe(a[0],"ordgroup").body,D=p.map(function(De){var Qe=Rr(De),It=Qe.text;if("lc".indexOf(It)!==-1)return{type:"align",align:It};throw new q("Unknown column alignment: "+It,De)});if(D.length>1)throw new q("{subarray} can contain only one column");var oe={cols:D,hskipBeforeAndAfter:!1,arraystretch:.5};if(oe=oo(t.parser,oe,"script"),oe.body[0].length>1)throw new q("{subarray} can contain only one column");return oe},htmlBuilder:mo,mathmlBuilder:xo}),Aa({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(t){var a={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},i=oo(t.parser,a,Mo(t.envName));return{type:"leftright",mode:t.mode,body:[i],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:mo,mathmlBuilder:xo}),Aa({type:"array",names:["aligned"],props:{numArgs:0},handler:_o,htmlBuilder:mo,mathmlBuilder:xo}),Aa({type:"array",names:["gathered"],props:{numArgs:0},handler:function(t){var a={cols:[{type:"align",align:"c"}],addJot:!0};return oo(t.parser,a,"display")},htmlBuilder:mo,mathmlBuilder:xo}),Aa({type:"array",names:["alignedat"],props:{numArgs:1},handler:_o,htmlBuilder:mo,mathmlBuilder:xo}),Pt({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(t,a){throw new q(t.funcName+" valid only within array environment")}});var qa=Wo,Oo=qa;Pt({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(t,a){var i=t.parser,p=t.funcName,D=a[0];if(D.type!=="ordgroup")throw new q("Invalid environment name",D);for(var oe="",De=0;De<D.body.length;++De)oe+=Pe(D.body[De],"textord").text;if(p==="\\begin"){if(!Oo.hasOwnProperty(oe))throw new q("No such environment: "+oe,D);var Qe=Oo[oe],It=i.parseArguments("\\begin{"+oe+"}",Qe),nr=It.args,mr=It.optArgs,jr={mode:i.mode,envName:oe,parser:i},Jr=Qe.handler(jr,nr,mr);i.expect("\\end",!1);var cn=i.nextToken,Sn=Pe(i.parseFunction(),"environment");if(Sn.name!==oe)throw new q("Mismatch: \\begin{"+oe+"} matched by \\end{"+Sn.name+"}",cn);return Jr}return{type:"environment",mode:i.mode,name:oe,nameGroup:D}}});var Bi=je.makeSpan;function Li(k,t){var a=be(k.body,t,!0);return Bi([k.mclass],a,t)}function Xo(k,t){var a,i=qr(k.body,t);return k.mclass==="minner"?Dt.newDocumentFragment(i):(k.mclass==="mord"?k.isCharacterBox?(a=i[0],a.type="mi"):a=new Dt.MathNode("mi",i):(k.isCharacterBox?(a=i[0],a.type="mo"):a=new Dt.MathNode("mo",i),k.mclass==="mbin"?(a.attributes.lspace="0.22em",a.attributes.rspace="0.22em"):k.mclass==="mpunct"?(a.attributes.lspace="0em",a.attributes.rspace="0.17em"):(k.mclass==="mopen"||k.mclass==="mclose")&&(a.attributes.lspace="0em",a.attributes.rspace="0em")),a)}Pt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(t,a){var i=t.parser,p=t.funcName,D=a[0];return{type:"mclass",mode:i.mode,mclass:"m"+p.substr(5),body:ve(D),isCharacterBox:w.isCharacterBox(D)}},htmlBuilder:Li,mathmlBuilder:Xo});var Ci=function(t){var a=t.type==="ordgroup"&&t.body.length?t.body[0]:t;return a.type==="atom"&&(a.family==="bin"||a.family==="rel")?"m"+a.family:"mord"};Pt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(t,a){var i=t.parser;return{type:"mclass",mode:i.mode,mclass:Ci(a[0]),body:[a[1]],isCharacterBox:w.isCharacterBox(a[1])}}}),Pt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(t,a){var i=t.parser,p=t.funcName,D=a[1],oe=a[0],De;p!=="\\stackrel"?De=Ci(D):De="mrel";var Qe={type:"op",mode:D.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:p!=="\\stackrel",body:ve(D)},It={type:"supsub",mode:oe.mode,base:Qe,sup:p==="\\underset"?null:oe,sub:p==="\\underset"?oe:null};return{type:"mclass",mode:i.mode,mclass:De,body:[It],isCharacterBox:w.isCharacterBox(It)}},htmlBuilder:Li,mathmlBuilder:Xo});var Eo=function(t,a){var i=t.font,p=a.withFont(i);return Bt(t.body,p)},Yo=function(t,a){var i=t.font,p=a.withFont(i);return _r(t.body,p)},na={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Pt({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(t,a){var i=t.parser,p=t.funcName,D=a[0],oe=p;return oe in na&&(oe=na[oe]),{type:"font",mode:i.mode,font:oe.slice(1),body:D}},htmlBuilder:Eo,mathmlBuilder:Yo}),Pt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(t,a){var i=t.parser,p=a[0],D=w.isCharacterBox(p);return{type:"mclass",mode:i.mode,mclass:Ci(p),body:[{type:"font",mode:i.mode,font:"boldsymbol",body:p}],isCharacterBox:D}}}),Pt({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(t,a){var i=t.parser,p=t.funcName,D=t.breakOnTokenText,oe=i.mode,De=i.parseExpression(!0,D),Qe="math"+p.slice(1);return{type:"font",mode:oe,font:Qe,body:{type:"ordgroup",mode:i.mode,body:De}}},htmlBuilder:Eo,mathmlBuilder:Yo});var wa=function(t,a){var i=a;return t==="display"?i=i.id>=H.SCRIPT.id?i.text():H.DISPLAY:t==="text"&&i.size===H.DISPLAY.size?i=H.TEXT:t==="script"?i=H.SCRIPT:t==="scriptscript"&&(i=H.SCRIPTSCRIPT),i},Ja=function(t,a){var i=wa(t.size,a.style),p=i.fracNum(),D=i.fracDen(),oe;oe=a.havingStyle(p);var De=Bt(t.numer,oe,a);if(t.continued){var Qe=8.5/a.fontMetrics().ptPerEm,It=3.5/a.fontMetrics().ptPerEm;De.height=De.height<Qe?Qe:De.height,De.depth=De.depth<It?It:De.depth}oe=a.havingStyle(D);var nr=Bt(t.denom,oe,a),mr,jr,Jr;t.hasBarLine?(t.barSize?(jr=$n(t.barSize,a),mr=je.makeLineSpan("frac-line",a,jr)):mr=je.makeLineSpan("frac-line",a),jr=mr.height,Jr=mr.height):(mr=null,jr=0,Jr=a.fontMetrics().defaultRuleThickness);var cn,Sn,Zn;i.size===H.DISPLAY.size||t.size==="display"?(cn=a.fontMetrics().num1,jr>0?Sn=3*Jr:Sn=7*Jr,Zn=a.fontMetrics().denom1):(jr>0?(cn=a.fontMetrics().num2,Sn=Jr):(cn=a.fontMetrics().num3,Sn=3*Jr),Zn=a.fontMetrics().denom2);var da;if(mr){var c=a.fontMetrics().axisHeight;cn-De.depth-(c+.5*jr)<Sn&&(cn+=Sn-(cn-De.depth-(c+.5*jr))),c-.5*jr-(nr.height-Zn)<Sn&&(Zn+=Sn-(c-.5*jr-(nr.height-Zn)));var e=-(c-.5*jr);da=je.makeVList({positionType:"individualShift",children:[{type:"elem",elem:nr,shift:Zn},{type:"elem",elem:mr,shift:e},{type:"elem",elem:De,shift:-cn}]},a)}else{var va=cn-De.depth-(nr.height-Zn);va<Sn&&(cn+=.5*(Sn-va),Zn+=.5*(Sn-va)),da=je.makeVList({positionType:"individualShift",children:[{type:"elem",elem:nr,shift:Zn},{type:"elem",elem:De,shift:-cn}]},a)}oe=a.havingStyle(i),da.height*=oe.sizeMultiplier/a.sizeMultiplier,da.depth*=oe.sizeMultiplier/a.sizeMultiplier;var r;i.size===H.DISPLAY.size?r=a.fontMetrics().delim1:r=a.fontMetrics().delim2;var h,C;return t.leftDelim==null?h=Lt(a,["mopen"]):h=ya.customSizedDelim(t.leftDelim,r,!0,a.havingStyle(i),t.mode,["mopen"]),t.continued?C=je.makeSpan([]):t.rightDelim==null?C=Lt(a,["mclose"]):C=ya.customSizedDelim(t.rightDelim,r,!0,a.havingStyle(i),t.mode,["mclose"]),je.makeSpan(["mord"].concat(oe.sizingClasses(a)),[h,je.makeSpan(["mfrac"],[da]),C],a)},Ye=function(t,a){var i=new Dt.MathNode("mfrac",[_r(t.numer,a),_r(t.denom,a)]);if(!t.hasBarLine)i.setAttribute("linethickness","0px");else if(t.barSize){var p=$n(t.barSize,a);i.setAttribute("linethickness",p+"em")}var D=wa(t.size,a.style);if(D.size!==a.style.size){i=new Dt.MathNode("mstyle",[i]);var oe=D.size===H.DISPLAY.size?"true":"false";i.setAttribute("displaystyle",oe),i.setAttribute("scriptlevel","0")}if(t.leftDelim!=null||t.rightDelim!=null){var De=[];if(t.leftDelim!=null){var Qe=new Dt.MathNode("mo",[new Dt.TextNode(t.leftDelim.replace("\\",""))]);Qe.setAttribute("fence","true"),De.push(Qe)}if(De.push(i),t.rightDelim!=null){var It=new Dt.MathNode("mo",[new Dt.TextNode(t.rightDelim.replace("\\",""))]);It.setAttribute("fence","true"),De.push(It)}return wn(De)}return i};Pt({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(t,a){var i=t.parser,p=t.funcName,D=a[0],oe=a[1],De,Qe=null,It=null,nr="auto";switch(p){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":De=!0;break;case"\\\\atopfrac":De=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":De=!1,Qe="(",It=")";break;case"\\\\bracefrac":De=!1,Qe="\\{",It="\\}";break;case"\\\\brackfrac":De=!1,Qe="[",It="]";break;default:throw new Error("Unrecognized genfrac command")}switch(p){case"\\cfrac":case"\\dfrac":case"\\dbinom":nr="display";break;case"\\tfrac":case"\\tbinom":nr="text";break}return{type:"genfrac",mode:i.mode,continued:p==="\\cfrac",numer:D,denom:oe,hasBarLine:De,leftDelim:Qe,rightDelim:It,size:nr,barSize:null}},htmlBuilder:Ja,mathmlBuilder:Ye}),Pt({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(t){var a=t.parser,i=t.funcName,p=t.token,D;switch(i){case"\\over":D="\\frac";break;case"\\choose":D="\\binom";break;case"\\atop":D="\\\\atopfrac";break;case"\\brace":D="\\\\bracefrac";break;case"\\brack":D="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:a.mode,replaceWith:D,token:p}}});var wo=["display","text","script","scriptscript"],Io=function(t){var a=null;return t.length>0&&(a=t,a=a==="."?null:a),a};Pt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(t,a){var i=t.parser,p=a[4],D=a[5],oe=at(a[0],"atom");oe&&(oe=Ft(a[0],"open"));var De=oe?Io(oe.text):null,Qe=at(a[1],"atom");Qe&&(Qe=Ft(a[1],"close"));var It=Qe?Io(Qe.text):null,nr=Pe(a[2],"size"),mr,jr=null;nr.isBlank?mr=!0:(jr=nr.value,mr=jr.number>0);var Jr="auto",cn=at(a[3],"ordgroup");if(cn){if(cn.body.length>0){var Sn=Pe(cn.body[0],"textord");Jr=wo[Number(Sn.text)]}}else cn=Pe(a[3],"textord"),Jr=wo[Number(cn.text)];return{type:"genfrac",mode:i.mode,numer:p,denom:D,continued:!1,hasBarLine:mr,barSize:jr,leftDelim:De,rightDelim:It,size:Jr}},htmlBuilder:Ja,mathmlBuilder:Ye}),Pt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(t,a){var i=t.parser,p=t.funcName,D=t.token;return{type:"infix",mode:i.mode,replaceWith:"\\\\abovefrac",size:Pe(a[0],"size").value,token:D}}}),Pt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(t,a){var i=t.parser,p=t.funcName,D=a[0],oe=A(Pe(a[1],"infix").size),De=a[2],Qe=oe.number>0;return{type:"genfrac",mode:i.mode,numer:D,denom:De,continued:!1,hasBarLine:Qe,barSize:oe,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ja,mathmlBuilder:Ye});var Ao=function(t,a){var i=a.style,p,D,oe=at(t,"supsub");oe?(p=oe.sup?Bt(oe.sup,a.havingStyle(i.sup()),a):Bt(oe.sub,a.havingStyle(i.sub()),a),D=Pe(oe.base,"horizBrace")):D=Pe(t,"horizBrace");var De=Bt(D.base,a.havingBaseStyle(H.DISPLAY)),Qe=La.svgSpan(D,a),It;if(D.isOver?(It=je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:De},{type:"kern",size:.1},{type:"elem",elem:Qe}]},a),It.children[0].children[0].children[1].classes.push("svg-align")):(It=je.makeVList({positionType:"bottom",positionData:De.depth+.1+Qe.height,children:[{type:"elem",elem:Qe},{type:"kern",size:.1},{type:"elem",elem:De}]},a),It.children[0].children[0].children[0].classes.push("svg-align")),p){var nr=je.makeSpan(["mord",D.isOver?"mover":"munder"],[It],a);D.isOver?It=je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:nr},{type:"kern",size:.2},{type:"elem",elem:p}]},a):It=je.makeVList({positionType:"bottom",positionData:nr.depth+.2+p.height+p.depth,children:[{type:"elem",elem:p},{type:"kern",size:.2},{type:"elem",elem:nr}]},a)}return je.makeSpan(["mord",D.isOver?"mover":"munder"],[It],a)},eo=function(t,a){var i=La.mathMLnode(t.label);return new Dt.MathNode(t.isOver?"mover":"munder",[_r(t.base,a),i])};Pt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(t,a){var i=t.parser,p=t.funcName;return{type:"horizBrace",mode:i.mode,label:p,isOver:/^\\over/.test(p),base:a[0]}},htmlBuilder:Ao,mathmlBuilder:eo}),Pt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(t,a){var i=t.parser,p=a[1],D=Pe(a[0],"url").url;return i.settings.isTrusted({command:"\\href",url:D})?{type:"href",mode:i.mode,href:D,body:ve(p)}:i.formatUnsupportedCmd("\\href")},htmlBuilder:function(t,a){var i=be(t.body,a,!1);return je.makeAnchor(t.href,[],i,a)},mathmlBuilder:function(t,a){var i=nn(t.body,a);return i instanceof Fr||(i=new Fr("mrow",[i])),i.setAttribute("href",t.href),i}}),Pt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(t,a){var i=t.parser,p=Pe(a[0],"url").url;if(!i.settings.isTrusted({command:"\\url",url:p}))return i.formatUnsupportedCmd("\\url");for(var D=[],oe=0;oe<p.length;oe++){var De=p[oe];De==="~"&&(De="\\textasciitilde"),D.push({type:"textord",mode:"text",text:De})}var Qe={type:"text",mode:i.mode,font:"\\texttt",body:D};return{type:"href",mode:i.mode,href:p,body:ve(Qe)}}}),Pt({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(t,a){var i=t.parser;return{type:"htmlmathml",mode:i.mode,html:ve(a[0]),mathml:ve(a[1])}},htmlBuilder:function(t,a){var i=be(t.html,a,!1);return je.makeFragment(i)},mathmlBuilder:function(t,a){return nn(t.mathml,a)}});var hi=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!a)throw new q("Invalid size: '"+t+"' in \\includegraphics");var i={number:+(a[1]+a[2]),unit:a[3]};if(!Dn(i))throw new q("Invalid unit: '"+i.unit+"' in \\includegraphics.");return i};Pt({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(t,a,i){var p=t.parser,D={number:0,unit:"em"},oe={number:.9,unit:"em"},De={number:0,unit:"em"},Qe="";if(i[0])for(var It=Pe(i[0],"raw").string,nr=It.split(","),mr=0;mr<nr.length;mr++){var jr=nr[mr].split("=");if(jr.length===2){var Jr=jr[1].trim();switch(jr[0].trim()){case"alt":Qe=Jr;break;case"width":D=hi(Jr);break;case"height":oe=hi(Jr);break;case"totalheight":De=hi(Jr);break;default:throw new q("Invalid key: '"+jr[0]+"' in \\includegraphics.")}}}var cn=Pe(a[0],"url").url;return Qe===""&&(Qe=cn,Qe=Qe.replace(/^.*[\\/]/,""),Qe=Qe.substring(0,Qe.lastIndexOf("."))),p.settings.isTrusted({command:"\\includegraphics",url:cn})?{type:"includegraphics",mode:p.mode,alt:Qe,width:D,height:oe,totalheight:De,src:cn}:p.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(t,a){var i=$n(t.height,a),p=0;t.totalheight.number>0&&(p=$n(t.totalheight,a)-i,p=Number(p.toFixed(2)));var D=0;t.width.number>0&&(D=$n(t.width,a));var oe={height:i+p+"em"};D>0&&(oe.width=D+"em"),p>0&&(oe.verticalAlign=-p+"em");var De=new $e(t.src,t.alt,oe);return De.height=i,De.depth=p,De},mathmlBuilder:function(t,a){var i=new Dt.MathNode("mglyph",[]);i.setAttribute("alt",t.alt);var p=$n(t.height,a),D=0;if(t.totalheight.number>0&&(D=$n(t.totalheight,a)-p,D=D.toFixed(2),i.setAttribute("valign","-"+D+"em")),i.setAttribute("height",p+D+"em"),t.width.number>0){var oe=$n(t.width,a);i.setAttribute("width",oe+"em")}return i.setAttribute("src",t.src),i}}),Pt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(t,a){var i=t.parser,p=t.funcName,D=Pe(a[0],"size");if(i.settings.strict){var oe=p[1]==="m",De=D.value.unit==="mu";oe?(De||i.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+p+" supports only mu units, "+("not "+D.value.unit+" units")),i.mode!=="math"&&i.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+p+" works only in math mode")):De&&i.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+p+" doesn't support mu units")}return{type:"kern",mode:i.mode,dimension:D.value}},htmlBuilder:function(t,a){return je.makeGlue(t.dimension,a)},mathmlBuilder:function(t,a){var i=$n(t.dimension,a);return new Dt.SpaceNode(i)}}),Pt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(t,a){var i=t.parser,p=t.funcName,D=a[0];return{type:"lap",mode:i.mode,alignment:p.slice(5),body:D}},htmlBuilder:function(t,a){var i;t.alignment==="clap"?(i=je.makeSpan([],[Bt(t.body,a)]),i=je.makeSpan(["inner"],[i],a)):i=je.makeSpan(["inner"],[Bt(t.body,a)]);var p=je.makeSpan(["fix"],[]),D=je.makeSpan([t.alignment],[i,p],a),oe=je.makeSpan(["strut"]);return oe.style.height=D.height+D.depth+"em",oe.style.verticalAlign=-D.depth+"em",D.children.unshift(oe),D=je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:D}]},a),je.makeSpan(["mord"],[D],a)},mathmlBuilder:function(t,a){var i=new Dt.MathNode("mpadded",[_r(t.body,a)]);if(t.alignment!=="rlap"){var p=t.alignment==="llap"?"-1":"-0.5";i.setAttribute("lspace",p+"width")}return i.setAttribute("width","0px"),i}}),Pt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(t,a){var i=t.funcName,p=t.parser,D=p.mode;p.switchMode("math");var oe=i==="\\("?"\\)":"$",De=p.parseExpression(!1,oe);return p.expect(oe),p.switchMode(D),{type:"styling",mode:p.mode,style:"text",body:De}}}),Pt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(t,a){throw new q("Mismatched "+t.funcName)}});var Do=function(t,a){switch(a.style.size){case H.DISPLAY.size:return t.display;case H.TEXT.size:return t.text;case H.SCRIPT.size:return t.script;case H.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};Pt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(t,a){var i=t.parser;return{type:"mathchoice",mode:i.mode,display:ve(a[0]),text:ve(a[1]),script:ve(a[2]),scriptscript:ve(a[3])}},htmlBuilder:function(t,a){var i=Do(t,a),p=be(i,a,!1);return je.makeFragment(p)},mathmlBuilder:function(t,a){var i=Do(t,a);return nn(i,a)}});var hs=function(t,a,i,p,D,oe,De){t=je.makeSpan([],[t]);var Qe,It;if(a){var nr=Bt(a,p.havingStyle(D.sup()),p);It={elem:nr,kern:Math.max(p.fontMetrics().bigOpSpacing1,p.fontMetrics().bigOpSpacing3-nr.depth)}}if(i){var mr=Bt(i,p.havingStyle(D.sub()),p);Qe={elem:mr,kern:Math.max(p.fontMetrics().bigOpSpacing2,p.fontMetrics().bigOpSpacing4-mr.height)}}var jr;if(It&&Qe){var Jr=p.fontMetrics().bigOpSpacing5+Qe.elem.height+Qe.elem.depth+Qe.kern+t.depth+De;jr=je.makeVList({positionType:"bottom",positionData:Jr,children:[{type:"kern",size:p.fontMetrics().bigOpSpacing5},{type:"elem",elem:Qe.elem,marginLeft:-oe+"em"},{type:"kern",size:Qe.kern},{type:"elem",elem:t},{type:"kern",size:It.kern},{type:"elem",elem:It.elem,marginLeft:oe+"em"},{type:"kern",size:p.fontMetrics().bigOpSpacing5}]},p)}else if(Qe){var cn=t.height-De;jr=je.makeVList({positionType:"top",positionData:cn,children:[{type:"kern",size:p.fontMetrics().bigOpSpacing5},{type:"elem",elem:Qe.elem,marginLeft:-oe+"em"},{type:"kern",size:Qe.kern},{type:"elem",elem:t}]},p)}else if(It){var Sn=t.depth+De;jr=je.makeVList({positionType:"bottom",positionData:Sn,children:[{type:"elem",elem:t},{type:"kern",size:It.kern},{type:"elem",elem:It.elem,marginLeft:oe+"em"},{type:"kern",size:p.fontMetrics().bigOpSpacing5}]},p)}else return t;return je.makeSpan(["mop","op-limits"],[jr],p)},Ro=["\\smallint"],To=function(t,a){var i,p,D=!1,oe,De=at(t,"supsub");De?(i=De.sup,p=De.sub,oe=Pe(De.base,"op"),D=!0):oe=Pe(t,"op");var Qe=a.style,It=!1;Qe.size===H.DISPLAY.size&&oe.symbol&&!w.contains(Ro,oe.name)&&(It=!0);var nr;if(oe.symbol){var mr=It?"Size2-Regular":"Size1-Regular",jr="";if((oe.name==="\\oiint"||oe.name==="\\oiiint")&&(jr=oe.name.substr(1),oe.name=jr==="oiint"?"\\iint":"\\iiint"),nr=je.makeSymbol(oe.name,mr,"math",a,["mop","op-symbol",It?"large-op":"small-op"]),jr.length>0){var Jr=nr.italic,cn=je.staticSvg(jr+"Size"+(It?"2":"1"),a);nr=je.makeVList({positionType:"individualShift",children:[{type:"elem",elem:nr,shift:0},{type:"elem",elem:cn,shift:It?.08:0}]},a),oe.name="\\"+jr,nr.classes.unshift("mop"),nr.italic=Jr}}else if(oe.body){var Sn=be(oe.body,a,!0);Sn.length===1&&Sn[0]instanceof Re?(nr=Sn[0],nr.classes[0]="mop"):nr=je.makeSpan(["mop"],je.tryCombineChars(Sn),a)}else{for(var Zn=[],da=1;da<oe.name.length;da++)Zn.push(je.mathsym(oe.name[da],oe.mode,a));nr=je.makeSpan(["mop"],Zn,a)}var va=0,c=0;return(nr instanceof Re||oe.name==="\\oiint"||oe.name==="\\oiiint")&&!oe.suppressBaseShift&&(va=(nr.height-nr.depth)/2-a.fontMetrics().axisHeight,c=nr.italic),D?hs(nr,i,p,a,Qe,c,va):(va&&(nr.style.position="relative",nr.style.top=va+"em"),nr)},qo=function(t,a){var i;if(t.symbol)i=new Fr("mo",[Et(t.name,t.mode)]),w.contains(Ro,t.name)&&i.setAttribute("largeop","false");else if(t.body)i=new Fr("mo",qr(t.body,a));else{i=new Fr("mi",[new Xr(t.name.slice(1))]);var p=new Fr("mo",[Et("\u2061","text")]);t.parentIsSupSub?i=new Fr("mo",[i,p]):i=Wt([i,p])}return i},zi={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Pt({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(t,a){var i=t.parser,p=t.funcName,D=p;return D.length===1&&(D=zi[D]),{type:"op",mode:i.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:D}},htmlBuilder:To,mathmlBuilder:qo}),Pt({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(t,a){var i=t.parser,p=a[0];return{type:"op",mode:i.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ve(p)}},htmlBuilder:To,mathmlBuilder:qo});var ts={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Pt({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(t){var a=t.parser,i=t.funcName;return{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:i}},htmlBuilder:To,mathmlBuilder:qo}),Pt({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(t){var a=t.parser,i=t.funcName;return{type:"op",mode:a.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:i}},htmlBuilder:To,mathmlBuilder:qo}),Pt({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(t){var a=t.parser,i=t.funcName,p=i;return p.length===1&&(p=ts[p]),{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:p}},htmlBuilder:To,mathmlBuilder:qo});var So=function(t,a){var i,p,D=!1,oe,De=at(t,"supsub");De?(i=De.sup,p=De.sub,oe=Pe(De.base,"operatorname"),D=!0):oe=Pe(t,"operatorname");var Qe;if(oe.body.length>0){for(var It=oe.body.map(function(Jr){var cn=Jr.text;return typeof cn=="string"?{type:"textord",mode:Jr.mode,text:cn}:Jr}),nr=be(It,a.withFont("mathrm"),!0),mr=0;mr<nr.length;mr++){var jr=nr[mr];jr instanceof Re&&(jr.text=jr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Qe=je.makeSpan(["mop"],nr,a)}else Qe=je.makeSpan(["mop"],[],a);return D?hs(Qe,i,p,a,a.style,0,0):Qe},fs=function(t,a){for(var i=qr(t.body,a.withFont("mathrm")),p=!0,D=0;D<i.length;D++){var oe=i[D];if(!(oe instanceof Dt.SpaceNode))if(oe instanceof Dt.MathNode)switch(oe.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var De=oe.children[0];oe.children.length===1&&De instanceof Dt.TextNode?De.text=De.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):p=!1;break}default:p=!1}else p=!1}if(p){var Qe=i.map(function(mr){return mr.toText()}).join("");i=[new Dt.TextNode(Qe)]}var It=new Dt.MathNode("mi",i);It.setAttribute("mathvariant","normal");var nr=new Dt.MathNode("mo",[Et("\u2061","text")]);return t.parentIsSupSub?new Dt.MathNode("mo",[It,nr]):Dt.newDocumentFragment([It,nr])};Pt({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(t,a){var i=t.parser,p=t.funcName,D=a[0];return{type:"operatorname",mode:i.mode,body:ve(D),alwaysHandleSupSub:p==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:So,mathmlBuilder:fs}),Ve({type:"ordgroup",htmlBuilder:function(t,a){return t.semisimple?je.makeFragment(be(t.body,a,!1)):je.makeSpan(["mord"],be(t.body,a,!0),a)},mathmlBuilder:function(t,a){return nn(t.body,a,!0)}}),Pt({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(t,a){var i=t.parser,p=a[0];return{type:"overline",mode:i.mode,body:p}},htmlBuilder:function(t,a){var i=Bt(t.body,a.havingCrampedStyle()),p=je.makeLineSpan("overline-line",a),D=a.fontMetrics().defaultRuleThickness,oe=je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:3*D},{type:"elem",elem:p},{type:"kern",size:D}]},a);return je.makeSpan(["mord","overline"],[oe],a)},mathmlBuilder:function(t,a){var i=new Dt.MathNode("mo",[new Dt.TextNode("\u203E")]);i.setAttribute("stretchy","true");var p=new Dt.MathNode("mover",[_r(t.body,a),i]);return p.setAttribute("accent","true"),p}}),Pt({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(t,a){var i=t.parser,p=a[0];return{type:"phantom",mode:i.mode,body:ve(p)}},htmlBuilder:function(t,a){var i=be(t.body,a.withPhantom(),!1);return je.makeFragment(i)},mathmlBuilder:function(t,a){var i=qr(t.body,a);return new Dt.MathNode("mphantom",i)}}),Pt({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(t,a){var i=t.parser,p=a[0];return{type:"hphantom",mode:i.mode,body:p}},htmlBuilder:function(t,a){var i=je.makeSpan([],[Bt(t.body,a.withPhantom())]);if(i.height=0,i.depth=0,i.children)for(var p=0;p<i.children.length;p++)i.children[p].height=0,i.children[p].depth=0;return i=je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i}]},a),je.makeSpan(["mord"],[i],a)},mathmlBuilder:function(t,a){var i=qr(ve(t.body),a),p=new Dt.MathNode("mphantom",i),D=new Dt.MathNode("mpadded",[p]);return D.setAttribute("height","0px"),D.setAttribute("depth","0px"),D}}),Pt({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(t,a){var i=t.parser,p=a[0];return{type:"vphantom",mode:i.mode,body:p}},htmlBuilder:function(t,a){var i=je.makeSpan(["inner"],[Bt(t.body,a.withPhantom())]),p=je.makeSpan(["fix"],[]);return je.makeSpan(["mord","rlap"],[i,p],a)},mathmlBuilder:function(t,a){var i=qr(ve(t.body),a),p=new Dt.MathNode("mphantom",i),D=new Dt.MathNode("mpadded",[p]);return D.setAttribute("width","0px"),D}}),Pt({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(t,a){var i=t.parser,p=Pe(a[0],"size").value,D=a[1];return{type:"raisebox",mode:i.mode,dy:p,body:D}},htmlBuilder:function(t,a){var i=Bt(t.body,a),p=$n(t.dy,a);return je.makeVList({positionType:"shift",positionData:-p,children:[{type:"elem",elem:i}]},a)},mathmlBuilder:function(t,a){var i=new Dt.MathNode("mpadded",[_r(t.body,a)]),p=t.dy.number+t.dy.unit;return i.setAttribute("voffset",p),i}}),Pt({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(t,a,i){var p=t.parser,D=i[0],oe=Pe(a[0],"size"),De=Pe(a[1],"size");return{type:"rule",mode:p.mode,shift:D&&Pe(D,"size").value,width:oe.value,height:De.value}},htmlBuilder:function(t,a){var i=je.makeSpan(["mord","rule"],[],a),p=$n(t.width,a),D=$n(t.height,a),oe=t.shift?$n(t.shift,a):0;return i.style.borderRightWidth=p+"em",i.style.borderTopWidth=D+"em",i.style.bottom=oe+"em",i.width=p,i.height=D+oe,i.depth=-oe,i.maxFontSize=D*1.125*a.sizeMultiplier,i},mathmlBuilder:function(t,a){var i=$n(t.width,a),p=$n(t.height,a),D=t.shift?$n(t.shift,a):0,oe=a.color&&a.getColor()||"black",De=new Dt.MathNode("mspace");De.setAttribute("mathbackground",oe),De.setAttribute("width",i+"em"),De.setAttribute("height",p+"em");var Qe=new Dt.MathNode("mpadded",[De]);return D>=0?Qe.setAttribute("height","+"+D+"em"):(Qe.setAttribute("height",D+"em"),Qe.setAttribute("depth","+"+-D+"em")),Qe.setAttribute("voffset",D+"em"),Qe}});function Di(k,t,a){for(var i=be(k,t,!1),p=t.sizeMultiplier/a.sizeMultiplier,D=0;D<i.length;D++){var oe=i[D].classes.indexOf("sizing");oe<0?Array.prototype.push.apply(i[D].classes,t.sizingClasses(a)):i[D].classes[oe+1]==="reset-size"+t.size&&(i[D].classes[oe+1]="reset-size"+a.size),i[D].height*=p,i[D].depth*=p}return je.makeFragment(i)}var ua=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],ms=function(t,a){var i=a.havingSize(t.size);return Di(t.body,i,a)};Pt({type:"sizing",names:ua,props:{numArgs:0,allowedInText:!0},handler:function(t,a){var i=t.breakOnTokenText,p=t.funcName,D=t.parser,oe=D.parseExpression(!1,i);return{type:"sizing",mode:D.mode,size:ua.indexOf(p)+1,body:oe}},htmlBuilder:ms,mathmlBuilder:function(t,a){var i=a.havingSize(t.size),p=qr(t.body,i),D=new Dt.MathNode("mstyle",p);return D.setAttribute("mathsize",i.sizeMultiplier+"em"),D}}),Pt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(t,a,i){var p=t.parser,D=!1,oe=!1,De=i[0]&&Pe(i[0],"ordgroup");if(De)for(var Qe="",It=0;It<De.body.length;++It){var nr=De.body[It];if(Qe=nr.text,Qe==="t")D=!0;else if(Qe==="b")oe=!0;else{D=!1,oe=!1;break}}else D=!0,oe=!0;var mr=a[0];return{type:"smash",mode:p.mode,body:mr,smashHeight:D,smashDepth:oe}},htmlBuilder:function(t,a){var i=je.makeSpan([],[Bt(t.body,a)]);if(!t.smashHeight&&!t.smashDepth)return i;if(t.smashHeight&&(i.height=0,i.children))for(var p=0;p<i.children.length;p++)i.children[p].height=0;if(t.smashDepth&&(i.depth=0,i.children))for(var D=0;D<i.children.length;D++)i.children[D].depth=0;var oe=je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i}]},a);return je.makeSpan(["mord"],[oe],a)},mathmlBuilder:function(t,a){var i=new Dt.MathNode("mpadded",[_r(t.body,a)]);return t.smashHeight&&i.setAttribute("height","0px"),t.smashDepth&&i.setAttribute("depth","0px"),i}}),Pt({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(t,a,i){var p=t.parser,D=i[0],oe=a[0];return{type:"sqrt",mode:p.mode,body:oe,index:D}},htmlBuilder:function(t,a){var i=Bt(t.body,a.havingCrampedStyle());i.height===0&&(i.height=a.fontMetrics().xHeight),i=je.wrapFragment(i,a);var p=a.fontMetrics(),D=p.defaultRuleThickness,oe=D;a.style.id<H.TEXT.id&&(oe=a.fontMetrics().xHeight);var De=D+oe/4,Qe=i.height+i.depth+De+D,It=ya.sqrtImage(Qe,a),nr=It.span,mr=It.ruleWidth,jr=It.advanceWidth,Jr=nr.height-mr;Jr>i.height+i.depth+De&&(De=(De+Jr-i.height-i.depth)/2);var cn=nr.height-i.height-De-mr;i.style.paddingLeft=jr+"em";var Sn=je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i,wrapperClasses:["svg-align"]},{type:"kern",size:-(i.height+cn)},{type:"elem",elem:nr},{type:"kern",size:mr}]},a);if(t.index){var Zn=a.havingStyle(H.SCRIPTSCRIPT),da=Bt(t.index,Zn,a),va=.6*(Sn.height-Sn.depth),c=je.makeVList({positionType:"shift",positionData:-va,children:[{type:"elem",elem:da}]},a),e=je.makeSpan(["root"],[c]);return je.makeSpan(["mord","sqrt"],[e,Sn],a)}else return je.makeSpan(["mord","sqrt"],[Sn],a)},mathmlBuilder:function(t,a){var i=t.body,p=t.index;return p?new Dt.MathNode("mroot",[_r(i,a),_r(p,a)]):new Dt.MathNode("msqrt",[_r(i,a)])}});var rs={display:H.DISPLAY,text:H.TEXT,script:H.SCRIPT,scriptscript:H.SCRIPTSCRIPT};Pt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(t,a){var i=t.breakOnTokenText,p=t.funcName,D=t.parser,oe=D.parseExpression(!0,i),De=p.slice(1,p.length-5);return{type:"styling",mode:D.mode,style:De,body:oe}},htmlBuilder:function(t,a){var i=rs[t.style],p=a.havingStyle(i).withFont("");return Di(t.body,p,a)},mathmlBuilder:function(t,a){var i=rs[t.style],p=a.havingStyle(i),D=qr(t.body,p),oe=new Dt.MathNode("mstyle",D),De={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Qe=De[t.style];return oe.setAttribute("scriptlevel",Qe[0]),oe.setAttribute("displaystyle",Qe[1]),oe}});var Jo=function(t,a){var i=t.base;if(i)if(i.type==="op"){var p=i.limits&&(a.style.size===H.DISPLAY.size||i.alwaysHandleSupSub);return p?To:null}else if(i.type==="operatorname"){var D=i.alwaysHandleSupSub&&(a.style.size===H.DISPLAY.size||i.limits);return D?So:null}else{if(i.type==="accent")return w.isCharacterBox(i.base)?ia:null;if(i.type==="horizBrace"){var oe=!t.sub;return oe===i.isOver?Ao:null}else return null}else return null};Ve({type:"supsub",htmlBuilder:function(t,a){var i=Jo(t,a);if(i)return i(t,a);var p=t.base,D=t.sup,oe=t.sub,De=Bt(p,a),Qe,It,nr=a.fontMetrics(),mr=0,jr=0,Jr=p&&w.isCharacterBox(p);if(D){var cn=a.havingStyle(a.style.sup());Qe=Bt(D,cn,a),Jr||(mr=De.height-cn.fontMetrics().supDrop*cn.sizeMultiplier/a.sizeMultiplier)}if(oe){var Sn=a.havingStyle(a.style.sub());It=Bt(oe,Sn,a),Jr||(jr=De.depth+Sn.fontMetrics().subDrop*Sn.sizeMultiplier/a.sizeMultiplier)}var Zn;a.style===H.DISPLAY?Zn=nr.sup1:a.style.cramped?Zn=nr.sup3:Zn=nr.sup2;var da=a.sizeMultiplier,va=.5/nr.ptPerEm/da+"em",c=null;if(It){var e=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(De instanceof Re||e)&&(c=-De.italic+"em")}var r;if(Qe&&It){mr=Math.max(mr,Zn,Qe.depth+.25*nr.xHeight),jr=Math.max(jr,nr.sub2);var h=nr.defaultRuleThickness,C=4*h;if(mr-Qe.depth-(It.height-jr)<C){jr=C-(mr-Qe.depth)+It.height;var K=.8*nr.xHeight-(mr-Qe.depth);K>0&&(mr+=K,jr-=K)}var Ie=[{type:"elem",elem:It,shift:jr,marginRight:va,marginLeft:c},{type:"elem",elem:Qe,shift:-mr,marginRight:va}];r=je.makeVList({positionType:"individualShift",children:Ie},a)}else if(It){jr=Math.max(jr,nr.sub1,It.height-.8*nr.xHeight);var Ge=[{type:"elem",elem:It,marginLeft:c,marginRight:va}];r=je.makeVList({positionType:"shift",positionData:jr,children:Ge},a)}else if(Qe)mr=Math.max(mr,Zn,Qe.depth+.25*nr.xHeight),r=je.makeVList({positionType:"shift",positionData:-mr,children:[{type:"elem",elem:Qe,marginRight:va}]},a);else throw new Error("supsub must have either sup or sub.");var _e=Yt(De,"right")||"mord";return je.makeSpan([_e],[De,je.makeSpan(["msupsub"],[r])],a)},mathmlBuilder:function(t,a){var i=!1,p,D,oe=at(t.base,"horizBrace");oe&&(D=!!t.sup,D===oe.isOver&&(i=!0,p=oe.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);var De=[_r(t.base,a)];t.sub&&De.push(_r(t.sub,a)),t.sup&&De.push(_r(t.sup,a));var Qe;if(i)Qe=p?"mover":"munder";else if(t.sub)if(t.sup){var mr=t.base;mr&&mr.type==="op"&&mr.limits&&a.style===H.DISPLAY||mr&&mr.type==="operatorname"&&mr.alwaysHandleSupSub&&(a.style===H.DISPLAY||mr.limits)?Qe="munderover":Qe="msubsup"}else{var nr=t.base;nr&&nr.type==="op"&&nr.limits&&(a.style===H.DISPLAY||nr.alwaysHandleSupSub)||nr&&nr.type==="operatorname"&&nr.alwaysHandleSupSub&&(nr.limits||a.style===H.DISPLAY)?Qe="munder":Qe="msub"}else{var It=t.base;It&&It.type==="op"&&It.limits&&(a.style===H.DISPLAY||It.alwaysHandleSupSub)||It&&It.type==="operatorname"&&It.alwaysHandleSupSub&&(It.limits||a.style===H.DISPLAY)?Qe="mover":Qe="msup"}var jr=new Dt.MathNode(Qe,De);return jr}}),Ve({type:"atom",htmlBuilder:function(t,a){return je.mathsym(t.text,t.mode,a,["m"+t.family])},mathmlBuilder:function(t,a){var i=new Dt.MathNode("mo",[Et(t.text,t.mode)]);if(t.family==="bin"){var p=Gr(t,a);p==="bold-italic"&&i.setAttribute("mathvariant",p)}else t.family==="punct"?i.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&i.setAttribute("stretchy","false");return i}});var ns={mi:"italic",mn:"normal",mtext:"normal"};Ve({type:"mathord",htmlBuilder:function(t,a){return je.makeOrd(t,a,"mathord")},mathmlBuilder:function(t,a){var i=new Dt.MathNode("mi",[Et(t.text,t.mode,a)]),p=Gr(t,a)||"italic";return p!==ns[i.type]&&i.setAttribute("mathvariant",p),i}}),Ve({type:"textord",htmlBuilder:function(t,a){return je.makeOrd(t,a,"textord")},mathmlBuilder:function(t,a){var i=Et(t.text,t.mode,a),p=Gr(t,a)||"normal",D;return t.mode==="text"?D=new Dt.MathNode("mtext",[i]):/[0-9]/.test(t.text)?D=new Dt.MathNode("mn",[i]):t.text==="\\prime"?D=new Dt.MathNode("mo",[i]):D=new Dt.MathNode("mi",[i]),p!==ns[D.type]&&D.setAttribute("mathvariant",p),D}});var Oi={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},fi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Ve({type:"spacing",htmlBuilder:function(t,a){if(fi.hasOwnProperty(t.text)){var i=fi[t.text].className||"";if(t.mode==="text"){var p=je.makeOrd(t,a,"textord");return p.classes.push(i),p}else return je.makeSpan(["mspace",i],[je.mathsym(t.text,t.mode,a)],a)}else{if(Oi.hasOwnProperty(t.text))return je.makeSpan(["mspace",Oi[t.text]],[],a);throw new q('Unknown type of space "'+t.text+'"')}},mathmlBuilder:function(t,a){var i;if(fi.hasOwnProperty(t.text))i=new Dt.MathNode("mtext",[new Dt.TextNode("\xA0")]);else{if(Oi.hasOwnProperty(t.text))return new Dt.MathNode("mspace");throw new q('Unknown type of space "'+t.text+'"')}return i}});var Ri=function(){var t=new Dt.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};Ve({type:"tag",mathmlBuilder:function(t,a){var i=new Dt.MathNode("mtable",[new Dt.MathNode("mtr",[Ri(),new Dt.MathNode("mtd",[nn(t.body,a)]),Ri(),new Dt.MathNode("mtd",[nn(t.tag,a)])])]);return i.setAttribute("width","100%"),i}});var as={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},mi={"\\textbf":"textbf","\\textmd":"textmd"},Fi={"\\textit":"textit","\\textup":"textup"},_i=function(t,a){var i=t.font;return i?as[i]?a.withTextFontFamily(as[i]):mi[i]?a.withTextFontWeight(mi[i]):a.withTextFontShape(Fi[i]):a};Pt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(t,a){var i=t.parser,p=t.funcName,D=a[0];return{type:"text",mode:i.mode,body:ve(D),font:p}},htmlBuilder:function(t,a){var i=_i(t,a),p=be(t.body,i,!0);return je.makeSpan(["mord","text"],je.tryCombineChars(p),i)},mathmlBuilder:function(t,a){var i=_i(t,a);return nn(t.body,i)}}),Pt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(t,a){var i=t.parser;return{type:"underline",mode:i.mode,body:a[0]}},htmlBuilder:function(t,a){var i=Bt(t.body,a),p=je.makeLineSpan("underline-line",a),D=a.fontMetrics().defaultRuleThickness,oe=je.makeVList({positionType:"top",positionData:i.height,children:[{type:"kern",size:D},{type:"elem",elem:p},{type:"kern",size:3*D},{type:"elem",elem:i}]},a);return je.makeSpan(["mord","underline"],[oe],a)},mathmlBuilder:function(t,a){var i=new Dt.MathNode("mo",[new Dt.TextNode("\u203E")]);i.setAttribute("stretchy","true");var p=new Dt.MathNode("munder",[_r(t.body,a),i]);return p.setAttribute("accentunder","true"),p}}),Pt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(t,a,i){throw new q("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(t,a){for(var i=Ei(t),p=[],D=a.havingStyle(a.style.text()),oe=0;oe<i.length;oe++){var De=i[oe];De==="~"&&(De="\\textasciitilde"),p.push(je.makeSymbol(De,"Typewriter-Regular",t.mode,D,["mord","texttt"]))}return je.makeSpan(["mord","text"].concat(D.sizingClasses(a)),je.tryCombineChars(p),D)},mathmlBuilder:function(t,a){var i=new Dt.TextNode(Ei(t)),p=new Dt.MathNode("mtext",[i]);return p.setAttribute("mathvariant","monospace"),p}});var Ei=function(t){return t.body.replace(/ /g,t.star?"\u2423":"\xA0")},pi=dt,ki=pi,ai=`[ \r
]`,Hi="\\\\[a-zA-Z@]+",Xi="\\\\[^\uD800-\uDFFF]",os=""+Hi+ai+"*",ps=new RegExp("^("+Hi+")"+ai+"*$"),Wi="[\u0300-\u036F]",Yi=new RegExp(Wi+"+$"),Uo="("+ai+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Wi+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Wi+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+os)+("|"+Xi+")"),Qo=function(){function k(a,i){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=a,this.settings=i,this.tokenRegex=new RegExp(Uo,"g"),this.catcodes={"%":14}}var t=k.prototype;return t.setCatcode=function(i,p){this.catcodes[i]=p},t.lex=function(){var i=this.input,p=this.tokenRegex.lastIndex;if(p===i.length)return new He("EOF",new I(this,p,p));var D=this.tokenRegex.exec(i);if(D===null||D.index!==p)throw new q("Unexpected character: '"+i[p]+"'",new He(i[p],new I(this,p,p+1)));var oe=D[2]||" ";if(this.catcodes[oe]===14){var De=i.indexOf(`
`,this.tokenRegex.lastIndex);return De===-1?(this.tokenRegex.lastIndex=i.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=De+1,this.lex()}var Qe=oe.match(ps);return Qe&&(oe=Qe[1]),new He(oe,new I(this,p,this.tokenRegex.lastIndex))},k}(),gs=function(){function k(a,i){a===void 0&&(a={}),i===void 0&&(i={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=i,this.builtins=a,this.undefStack=[]}var t=k.prototype;return t.beginGroup=function(){this.undefStack.push({})},t.endGroup=function(){if(this.undefStack.length===0)throw new q("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var i=this.undefStack.pop();for(var p in i)i.hasOwnProperty(p)&&(i[p]===void 0?delete this.current[p]:this.current[p]=i[p])},t.has=function(i){return this.current.hasOwnProperty(i)||this.builtins.hasOwnProperty(i)},t.get=function(i){return this.current.hasOwnProperty(i)?this.current[i]:this.builtins[i]},t.set=function(i,p,D){if(D===void 0&&(D=!1),D){for(var oe=0;oe<this.undefStack.length;oe++)delete this.undefStack[oe][i];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][i]=p)}else{var De=this.undefStack[this.undefStack.length-1];De&&!De.hasOwnProperty(i)&&(De[i]=this.current[i])}this.current[i]=p},k}(),oi={},ei=oi;function vt(k,t){oi[k]=t}vt("\\@firstoftwo",function(k){var t=k.consumeArgs(2);return{tokens:t[0],numArgs:0}}),vt("\\@secondoftwo",function(k){var t=k.consumeArgs(2);return{tokens:t[1],numArgs:0}}),vt("\\@ifnextchar",function(k){var t=k.consumeArgs(3),a=k.future();return t[0].length===1&&t[0][0].text===a.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),vt("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),vt("\\TextOrMath",function(k){var t=k.consumeArgs(2);return k.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var gi={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};vt("\\char",function(k){var t=k.popToken(),a,i="";if(t.text==="'")a=8,t=k.popToken();else if(t.text==='"')a=16,t=k.popToken();else if(t.text==="`")if(t=k.popToken(),t.text[0]==="\\")i=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new q("\\char` missing argument");i=t.text.charCodeAt(0)}else a=10;if(a){if(i=gi[t.text],i==null||i>=a)throw new q("Invalid base-"+a+" digit "+t.text);for(var p;(p=gi[k.future().text])!=null&&p<a;)i*=a,i+=p,k.popToken()}return"\\@char{"+i+"}"});var Zo=function(t,a){var i=t.consumeArgs(1)[0];if(i.length!==1)throw new q("\\gdef's first argument must be a macro name");var p=i[0].text,D=0;for(i=t.consumeArgs(1)[0];i.length===1&&i[0].text==="#";){if(i=t.consumeArgs(1)[0],i.length!==1)throw new q('Invalid argument number length "'+i.length+'"');if(!/^[1-9]$/.test(i[0].text))throw new q('Invalid argument number "'+i[0].text+'"');if(D++,parseInt(i[0].text)!==D)throw new q('Argument number "'+i[0].text+'" out of order');i=t.consumeArgs(1)[0]}return t.macros.set(p,{tokens:i,numArgs:D},a),""};vt("\\gdef",function(k){return Zo(k,!0)}),vt("\\def",function(k){return Zo(k,!1)}),vt("\\global",function(k){var t=k.consumeArgs(1)[0];if(t.length!==1)throw new q("Invalid command after \\global");var a=t[0].text;if(a==="\\def")return Zo(k,!0);throw new q("Invalid command '"+a+"' after \\global")});var vi=function(t,a,i){var p=t.consumeArgs(1)[0];if(p.length!==1)throw new q("\\newcommand's first argument must be a macro name");var D=p[0].text,oe=t.isDefined(D);if(oe&&!a)throw new q("\\newcommand{"+D+"} attempting to redefine "+(D+"; use \\renewcommand"));if(!oe&&!i)throw new q("\\renewcommand{"+D+"} when command "+D+" does not yet exist; use \\newcommand");var De=0;if(p=t.consumeArgs(1)[0],p.length===1&&p[0].text==="["){for(var Qe="",It=t.expandNextToken();It.text!=="]"&&It.text!=="EOF";)Qe+=It.text,It=t.expandNextToken();if(!Qe.match(/^\s*[0-9]+\s*$/))throw new q("Invalid number of arguments: "+Qe);De=parseInt(Qe),p=t.consumeArgs(1)[0]}return t.macros.set(D,{tokens:p,numArgs:De}),""};vt("\\newcommand",function(k){return vi(k,!1,!0)}),vt("\\renewcommand",function(k){return vi(k,!0,!1)}),vt("\\providecommand",function(k){return vi(k,!0,!0)}),vt("\\bgroup","{"),vt("\\egroup","}"),vt("\\lq","`"),vt("\\rq","'"),vt("\\aa","\\r a"),vt("\\AA","\\r A"),vt("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),vt("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),vt("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),vt("\u212C","\\mathscr{B}"),vt("\u2130","\\mathscr{E}"),vt("\u2131","\\mathscr{F}"),vt("\u210B","\\mathscr{H}"),vt("\u2110","\\mathscr{I}"),vt("\u2112","\\mathscr{L}"),vt("\u2133","\\mathscr{M}"),vt("\u211B","\\mathscr{R}"),vt("\u212D","\\mathfrak{C}"),vt("\u210C","\\mathfrak{H}"),vt("\u2128","\\mathfrak{Z}"),vt("\\Bbbk","\\Bbb{k}"),vt("\xB7","\\cdotp"),vt("\\llap","\\mathllap{\\textrm{#1}}"),vt("\\rlap","\\mathrlap{\\textrm{#1}}"),vt("\\clap","\\mathclap{\\textrm{#1}}"),vt("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),vt("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),vt("\\ne","\\neq"),vt("\u2260","\\neq"),vt("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),vt("\u2209","\\notin"),vt("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),vt("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),vt("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),vt("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),vt("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),vt("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),vt("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),vt("\u27C2","\\perp"),vt("\u203C","\\mathclose{!\\mkern-0.8mu!}"),vt("\u220C","\\notni"),vt("\u231C","\\ulcorner"),vt("\u231D","\\urcorner"),vt("\u231E","\\llcorner"),vt("\u231F","\\lrcorner"),vt("\xA9","\\copyright"),vt("\xAE","\\textregistered"),vt("\uFE0F","\\textregistered"),vt("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),vt("\u22EE","\\vdots"),vt("\\varGamma","\\mathit{\\Gamma}"),vt("\\varDelta","\\mathit{\\Delta}"),vt("\\varTheta","\\mathit{\\Theta}"),vt("\\varLambda","\\mathit{\\Lambda}"),vt("\\varXi","\\mathit{\\Xi}"),vt("\\varPi","\\mathit{\\Pi}"),vt("\\varSigma","\\mathit{\\Sigma}"),vt("\\varUpsilon","\\mathit{\\Upsilon}"),vt("\\varPhi","\\mathit{\\Phi}"),vt("\\varPsi","\\mathit{\\Psi}"),vt("\\varOmega","\\mathit{\\Omega}"),vt("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),vt("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),vt("\\boxed","\\fbox{$\\displaystyle{#1}$}"),vt("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),vt("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),vt("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var vs={",":"\\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"};vt("\\dots",function(k){var t="\\dotso",a=k.expandAfterFuture().text;return a in vs?t=vs[a]:(a.substr(0,4)==="\\not"||a in Er.math&&w.contains(["bin","rel"],Er.math[a].group))&&(t="\\dotsb"),t});var Ui={")":!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};vt("\\dotso",function(k){var t=k.future().text;return t in Ui?"\\ldots\\,":"\\ldots"}),vt("\\dotsc",function(k){var t=k.future().text;return t in Ui&&t!==","?"\\ldots\\,":"\\ldots"}),vt("\\cdots",function(k){var t=k.future().text;return t in Ui?"\\@cdots\\,":"\\@cdots"}),vt("\\dotsb","\\cdots"),vt("\\dotsm","\\cdots"),vt("\\dotsi","\\!\\cdots"),vt("\\dotsx","\\ldots\\,"),vt("\\DOTSI","\\relax"),vt("\\DOTSB","\\relax"),vt("\\DOTSX","\\relax"),vt("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),vt("\\,","\\tmspace+{3mu}{.1667em}"),vt("\\thinspace","\\,"),vt("\\>","\\mskip{4mu}"),vt("\\:","\\tmspace+{4mu}{.2222em}"),vt("\\medspace","\\:"),vt("\\;","\\tmspace+{5mu}{.2777em}"),vt("\\thickspace","\\;"),vt("\\!","\\tmspace-{3mu}{.1667em}"),vt("\\negthinspace","\\!"),vt("\\negmedspace","\\tmspace-{4mu}{.2222em}"),vt("\\negthickspace","\\tmspace-{5mu}{.277em}"),vt("\\enspace","\\kern.5em "),vt("\\enskip","\\hskip.5em\\relax"),vt("\\quad","\\hskip1em\\relax"),vt("\\qquad","\\hskip2em\\relax"),vt("\\tag","\\@ifstar\\tag@literal\\tag@paren"),vt("\\tag@paren","\\tag@literal{({#1})}"),vt("\\tag@literal",function(k){if(k.macros.get("\\df@tag"))throw new q("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),vt("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),vt("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),vt("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),vt("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),vt("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),vt("\\\\","\\newline"),vt("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var qi=Nt["Main-Regular"][84][1]-.7*Nt["Main-Regular"][65][1]+"em";vt("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+qi+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),vt("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+qi+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),vt("\\hspace","\\@ifstar\\@hspacer\\@hspace"),vt("\\@hspace","\\hskip #1\\relax"),vt("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),vt("\\ordinarycolon",":"),vt("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),vt("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),vt("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),vt("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),vt("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),vt("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),vt("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),vt("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),vt("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),vt("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),vt("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),vt("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),vt("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),vt("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),vt("\u2237","\\dblcolon"),vt("\u2239","\\eqcolon"),vt("\u2254","\\coloneqq"),vt("\u2255","\\eqqcolon"),vt("\u2A74","\\Coloneqq"),vt("\\ratio","\\vcentcolon"),vt("\\coloncolon","\\dblcolon"),vt("\\colonequals","\\coloneqq"),vt("\\coloncolonequals","\\Coloneqq"),vt("\\equalscolon","\\eqqcolon"),vt("\\equalscoloncolon","\\Eqqcolon"),vt("\\colonminus","\\coloneq"),vt("\\coloncolonminus","\\Coloneq"),vt("\\minuscolon","\\eqcolon"),vt("\\minuscoloncolon","\\Eqcolon"),vt("\\coloncolonapprox","\\Colonapprox"),vt("\\coloncolonsim","\\Colonsim"),vt("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),vt("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),vt("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),vt("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),vt("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),vt("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),vt("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),vt("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),vt("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),vt("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),vt("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),vt("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),vt("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),vt("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),vt("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),vt("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),vt("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),vt("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),vt("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),vt("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),vt("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),vt("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),vt("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),vt("\u27E6","\\llbracket"),vt("\u27E7","\\rrbracket"),vt("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),vt("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),vt("\u2983","\\lBrace"),vt("\u2984","\\rBrace"),vt("\\darr","\\downarrow"),vt("\\dArr","\\Downarrow"),vt("\\Darr","\\Downarrow"),vt("\\lang","\\langle"),vt("\\rang","\\rangle"),vt("\\uarr","\\uparrow"),vt("\\uArr","\\Uparrow"),vt("\\Uarr","\\Uparrow"),vt("\\N","\\mathbb{N}"),vt("\\R","\\mathbb{R}"),vt("\\Z","\\mathbb{Z}"),vt("\\alef","\\aleph"),vt("\\alefsym","\\aleph"),vt("\\Alpha","\\mathrm{A}"),vt("\\Beta","\\mathrm{B}"),vt("\\bull","\\bullet"),vt("\\Chi","\\mathrm{X}"),vt("\\clubs","\\clubsuit"),vt("\\cnums","\\mathbb{C}"),vt("\\Complex","\\mathbb{C}"),vt("\\Dagger","\\ddagger"),vt("\\diamonds","\\diamondsuit"),vt("\\empty","\\emptyset"),vt("\\Epsilon","\\mathrm{E}"),vt("\\Eta","\\mathrm{H}"),vt("\\exist","\\exists"),vt("\\harr","\\leftrightarrow"),vt("\\hArr","\\Leftrightarrow"),vt("\\Harr","\\Leftrightarrow"),vt("\\hearts","\\heartsuit"),vt("\\image","\\Im"),vt("\\infin","\\infty"),vt("\\Iota","\\mathrm{I}"),vt("\\isin","\\in"),vt("\\Kappa","\\mathrm{K}"),vt("\\larr","\\leftarrow"),vt("\\lArr","\\Leftarrow"),vt("\\Larr","\\Leftarrow"),vt("\\lrarr","\\leftrightarrow"),vt("\\lrArr","\\Leftrightarrow"),vt("\\Lrarr","\\Leftrightarrow"),vt("\\Mu","\\mathrm{M}"),vt("\\natnums","\\mathbb{N}"),vt("\\Nu","\\mathrm{N}"),vt("\\Omicron","\\mathrm{O}"),vt("\\plusmn","\\pm"),vt("\\rarr","\\rightarrow"),vt("\\rArr","\\Rightarrow"),vt("\\Rarr","\\Rightarrow"),vt("\\real","\\Re"),vt("\\reals","\\mathbb{R}"),vt("\\Reals","\\mathbb{R}"),vt("\\Rho","\\mathrm{P}"),vt("\\sdot","\\cdot"),vt("\\sect","\\S"),vt("\\spades","\\spadesuit"),vt("\\sub","\\subset"),vt("\\sube","\\subseteq"),vt("\\supe","\\supseteq"),vt("\\Tau","\\mathrm{T}"),vt("\\thetasym","\\vartheta"),vt("\\weierp","\\wp"),vt("\\Zeta","\\mathrm{Z}"),vt("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),vt("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),vt("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),vt("\\blue","\\textcolor{##6495ed}{#1}"),vt("\\orange","\\textcolor{##ffa500}{#1}"),vt("\\pink","\\textcolor{##ff00af}{#1}"),vt("\\red","\\textcolor{##df0030}{#1}"),vt("\\green","\\textcolor{##28ae7b}{#1}"),vt("\\gray","\\textcolor{gray}{#1}"),vt("\\purple","\\textcolor{##9d38bd}{#1}"),vt("\\blueA","\\textcolor{##ccfaff}{#1}"),vt("\\blueB","\\textcolor{##80f6ff}{#1}"),vt("\\blueC","\\textcolor{##63d9ea}{#1}"),vt("\\blueD","\\textcolor{##11accd}{#1}"),vt("\\blueE","\\textcolor{##0c7f99}{#1}"),vt("\\tealA","\\textcolor{##94fff5}{#1}"),vt("\\tealB","\\textcolor{##26edd5}{#1}"),vt("\\tealC","\\textcolor{##01d1c1}{#1}"),vt("\\tealD","\\textcolor{##01a995}{#1}"),vt("\\tealE","\\textcolor{##208170}{#1}"),vt("\\greenA","\\textcolor{##b6ffb0}{#1}"),vt("\\greenB","\\textcolor{##8af281}{#1}"),vt("\\greenC","\\textcolor{##74cf70}{#1}"),vt("\\greenD","\\textcolor{##1fab54}{#1}"),vt("\\greenE","\\textcolor{##0d923f}{#1}"),vt("\\goldA","\\textcolor{##ffd0a9}{#1}"),vt("\\goldB","\\textcolor{##ffbb71}{#1}"),vt("\\goldC","\\textcolor{##ff9c39}{#1}"),vt("\\goldD","\\textcolor{##e07d10}{#1}"),vt("\\goldE","\\textcolor{##a75a05}{#1}"),vt("\\redA","\\textcolor{##fca9a9}{#1}"),vt("\\redB","\\textcolor{##ff8482}{#1}"),vt("\\redC","\\textcolor{##f9685d}{#1}"),vt("\\redD","\\textcolor{##e84d39}{#1}"),vt("\\redE","\\textcolor{##bc2612}{#1}"),vt("\\maroonA","\\textcolor{##ffbde0}{#1}"),vt("\\maroonB","\\textcolor{##ff92c6}{#1}"),vt("\\maroonC","\\textcolor{##ed5fa6}{#1}"),vt("\\maroonD","\\textcolor{##ca337c}{#1}"),vt("\\maroonE","\\textcolor{##9e034e}{#1}"),vt("\\purpleA","\\textcolor{##ddd7ff}{#1}"),vt("\\purpleB","\\textcolor{##c6b9fc}{#1}"),vt("\\purpleC","\\textcolor{##aa87ff}{#1}"),vt("\\purpleD","\\textcolor{##7854ab}{#1}"),vt("\\purpleE","\\textcolor{##543b78}{#1}"),vt("\\mintA","\\textcolor{##f5f9e8}{#1}"),vt("\\mintB","\\textcolor{##edf2df}{#1}"),vt("\\mintC","\\textcolor{##e0e5cc}{#1}"),vt("\\grayA","\\textcolor{##f6f7f7}{#1}"),vt("\\grayB","\\textcolor{##f0f1f2}{#1}"),vt("\\grayC","\\textcolor{##e3e5e6}{#1}"),vt("\\grayD","\\textcolor{##d6d8da}{#1}"),vt("\\grayE","\\textcolor{##babec2}{#1}"),vt("\\grayF","\\textcolor{##888d93}{#1}"),vt("\\grayG","\\textcolor{##626569}{#1}"),vt("\\grayH","\\textcolor{##3b3e40}{#1}"),vt("\\grayI","\\textcolor{##21242c}{#1}"),vt("\\kaBlue","\\textcolor{##314453}{#1}"),vt("\\kaGreen","\\textcolor{##71B307}{#1}");var is={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Ii=function(){function k(a,i,p){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=i,this.expansionCount=0,this.feed(a),this.macros=new gs(ei,i.macros),this.mode=p,this.stack=[]}var t=k.prototype;return t.feed=function(i){this.lexer=new Qo(i,this.settings)},t.switchMode=function(i){this.mode=i},t.beginGroup=function(){this.macros.beginGroup()},t.endGroup=function(){this.macros.endGroup()},t.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},t.popToken=function(){return this.future(),this.stack.pop()},t.pushToken=function(i){this.stack.push(i)},t.pushTokens=function(i){var p;(p=this.stack).push.apply(p,i)},t.consumeSpaces=function(){for(;;){var i=this.future();if(i.text===" ")this.stack.pop();else break}},t.consumeArgs=function(i){for(var p=[],D=0;D<i;++D){this.consumeSpaces();var oe=this.popToken();if(oe.text==="{"){for(var De=[],Qe=1;Qe!==0;){var It=this.popToken();if(De.push(It),It.text==="{")++Qe;else if(It.text==="}")--Qe;else if(It.text==="EOF")throw new q("End of input in macro argument",oe)}De.pop(),De.reverse(),p[D]=De}else{if(oe.text==="EOF")throw new q("End of input expecting macro argument");p[D]=[oe]}}return p},t.expandOnce=function(){var i=this.popToken(),p=i.text,D=this._getExpansion(p);if(D==null)return this.pushToken(i),i;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new q("Too many expansions: infinite loop or need to increase maxExpand setting");var oe=D.tokens;if(D.numArgs){var De=this.consumeArgs(D.numArgs);oe=oe.slice();for(var Qe=oe.length-1;Qe>=0;--Qe){var It=oe[Qe];if(It.text==="#"){if(Qe===0)throw new q("Incomplete placeholder at end of macro body",It);if(It=oe[--Qe],It.text==="#")oe.splice(Qe+1,1);else if(/^[1-9]$/.test(It.text)){var nr;(nr=oe).splice.apply(nr,[Qe,2].concat(De[+It.text-1]))}else throw new q("Not a valid argument number",It)}}}return this.pushTokens(oe),oe},t.expandAfterFuture=function(){return this.expandOnce(),this.future()},t.expandNextToken=function(){for(;;){var i=this.expandOnce();if(i instanceof He)if(i.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},t.expandMacro=function(i){if(this.macros.get(i)){var p=[],D=this.stack.length;for(this.pushToken(new He(i));this.stack.length>D;){var oe=this.expandOnce();oe instanceof He&&p.push(this.stack.pop())}return p}},t.expandMacroAsText=function(i){var p=this.expandMacro(i);return p&&p.map(function(D){return D.text}).join("")},t._getExpansion=function(i){var p=this.macros.get(i);if(p==null)return p;var D=typeof p=="function"?p(this):p;if(typeof D=="string"){var oe=0;if(D.indexOf("#")!==-1)for(var De=D.replace(/##/g,"");De.indexOf("#"+(oe+1))!==-1;)++oe;for(var Qe=new Qo(D,this.settings),It=[],nr=Qe.lex();nr.text!=="EOF";)It.push(nr),nr=Qe.lex();It.reverse();var mr={tokens:It,numArgs:oe};return mr}return D},t.isDefined=function(i){return this.macros.has(i)||ki.hasOwnProperty(i)||Er.math.hasOwnProperty(i)||Er.text.hasOwnProperty(i)||is.hasOwnProperty(i)},k}(),Ji={"\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"}},Qi={\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"},Ai=function(){function k(a,i){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 Ii(a,i,this.mode),this.settings=i,this.leftrightDepth=0}var t=k.prototype;return t.expect=function(i,p){if(p===void 0&&(p=!0),this.fetch().text!==i)throw new q("Expected '"+i+"', got '"+this.fetch().text+"'",this.fetch());p&&this.consume()},t.consume=function(){this.nextToken=null},t.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},t.switchMode=function(i){this.mode=i,this.gullet.switchMode(i)},t.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var i=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),i},t.parseExpression=function(i,p){for(var D=[];;){this.mode==="math"&&this.consumeSpaces();var oe=this.fetch();if(k.endOfExpression.indexOf(oe.text)!==-1||p&&oe.text===p||i&&ki[oe.text]&&ki[oe.text].infix)break;var De=this.parseAtom(p);if(!De)break;D.push(De)}return this.mode==="text"&&this.formLigatures(D),this.handleInfixNodes(D)},t.handleInfixNodes=function(i){for(var p=-1,D,oe=0;oe<i.length;oe++){var De=at(i[oe],"infix");if(De){if(p!==-1)throw new q("only one infix operator per group",De.token);p=oe,D=De.replaceWith}}if(p!==-1&&D){var Qe,It,nr=i.slice(0,p),mr=i.slice(p+1);nr.length===1&&nr[0].type==="ordgroup"?Qe=nr[0]:Qe={type:"ordgroup",mode:this.mode,body:nr},mr.length===1&&mr[0].type==="ordgroup"?It=mr[0]:It={type:"ordgroup",mode:this.mode,body:mr};var jr;return D==="\\\\abovefrac"?jr=this.callFunction(D,[Qe,i[p],It],[]):jr=this.callFunction(D,[Qe,It],[]),[jr]}else return i},t.handleSupSubscript=function(i){var p=this.fetch(),D=p.text;this.consume();var oe=this.parseGroup(i,!1,k.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!oe)throw new q("Expected group after '"+D+"'",p);return oe},t.formatUnsupportedCmd=function(i){for(var p=[],D=0;D<i.length;D++)p.push({type:"textord",mode:"text",text:i[D]});var oe={type:"text",mode:this.mode,body:p},De={type:"color",mode:this.mode,color:this.settings.errorColor,body:[oe]};return De},t.parseAtom=function(i){var p=this.parseGroup("atom",!1,null,i);if(this.mode==="text")return p;for(var D,oe;;){this.consumeSpaces();var De=this.fetch();if(De.text==="\\limits"||De.text==="\\nolimits"){var Qe=at(p,"op");if(Qe){var It=De.text==="\\limits";Qe.limits=It,Qe.alwaysHandleSupSub=!0}else if(Qe=at(p,"operatorname"),Qe&&Qe.alwaysHandleSupSub){var nr=De.text==="\\limits";Qe.limits=nr}else throw new q("Limit controls must follow a math operator",De);this.consume()}else if(De.text==="^"){if(D)throw new q("Double superscript",De);D=this.handleSupSubscript("superscript")}else if(De.text==="_"){if(oe)throw new q("Double subscript",De);oe=this.handleSupSubscript("subscript")}else if(De.text==="'"){if(D)throw new q("Double superscript",De);var mr={type:"textord",mode:this.mode,text:"\\prime"},jr=[mr];for(this.consume();this.fetch().text==="'";)jr.push(mr),this.consume();this.fetch().text==="^"&&jr.push(this.handleSupSubscript("superscript")),D={type:"ordgroup",mode:this.mode,body:jr}}else break}return D||oe?{type:"supsub",mode:this.mode,base:p,sup:D,sub:oe}:p},t.parseFunction=function(i,p,D){var oe=this.fetch(),De=oe.text,Qe=ki[De];if(!Qe)return null;if(this.consume(),D!=null&&Qe.greediness<=D)throw new q("Got function '"+De+"' with no arguments"+(p?" as "+p:""),oe);if(this.mode==="text"&&!Qe.allowedInText)throw new q("Can't use function '"+De+"' in text mode",oe);if(this.mode==="math"&&Qe.allowedInMath===!1)throw new q("Can't use function '"+De+"' in math mode",oe);var It=this.parseArguments(De,Qe),nr=It.args,mr=It.optArgs;return this.callFunction(De,nr,mr,oe,i)},t.callFunction=function(i,p,D,oe,De){var Qe={funcName:i,parser:this,token:oe,breakOnTokenText:De},It=ki[i];if(It&&It.handler)return It.handler(Qe,p,D);throw new q("No function handler for "+i)},t.parseArguments=function(i,p){var D=p.numArgs+p.numOptionalArgs;if(D===0)return{args:[],optArgs:[]};for(var oe=p.greediness,De=[],Qe=[],It=0;It<D;It++){var nr=p.argTypes&&p.argTypes[It],mr=It<p.numOptionalArgs,jr=It>0&&!mr||It===0&&!mr&&this.mode==="math",Jr=this.parseGroupOfType("argument to '"+i+"'",nr,mr,oe,jr);if(!Jr){if(mr){Qe.push(null);continue}throw new q("Expected group after '"+i+"'",this.fetch())}(mr?Qe:De).push(Jr)}return{args:De,optArgs:Qe}},t.parseGroupOfType=function(i,p,D,oe,De){switch(p){case"color":return De&&this.consumeSpaces(),this.parseColorGroup(D);case"size":return De&&this.consumeSpaces(),this.parseSizeGroup(D);case"url":return this.parseUrlGroup(D,De);case"math":case"text":return this.parseGroup(i,D,oe,void 0,p,De);case"hbox":{var Qe=this.parseGroup(i,D,oe,void 0,"text",De);if(!Qe)return Qe;var It={type:"styling",mode:Qe.mode,body:[Qe],style:"text"};return It}case"raw":{if(De&&this.consumeSpaces(),D&&this.fetch().text==="{")return null;var nr=this.parseStringGroup("raw",D,!0);if(nr)return{type:"raw",mode:"text",string:nr.text};throw new q("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(i,D,oe,void 0,void 0,De);default:throw new q("Unknown group type as "+i,this.fetch())}},t.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},t.parseStringGroup=function(i,p,D){var oe=p?"[":"{",De=p?"]":"}",Qe=this.fetch();if(Qe.text!==oe){if(p)return null;if(D&&Qe.text!=="EOF"&&/[^{}[\]]/.test(Qe.text))return this.consume(),Qe}var It=this.mode;this.mode="text",this.expect(oe);for(var nr="",mr=this.fetch(),jr=0,Jr=mr,cn;(cn=this.fetch()).text!==De||D&&jr>0;){switch(cn.text){case"EOF":throw new q("Unexpected end of input in "+i,mr.range(Jr,nr));case oe:jr++;break;case De:jr--;break}Jr=cn,nr+=Jr.text,this.consume()}return this.expect(De),this.mode=It,mr.range(Jr,nr)},t.parseRegexGroup=function(i,p){var D=this.mode;this.mode="text";for(var oe=this.fetch(),De=oe,Qe="",It;(It=this.fetch()).text!=="EOF"&&i.test(Qe+It.text);)De=It,Qe+=De.text,this.consume();if(Qe==="")throw new q("Invalid "+p+": '"+oe.text+"'",oe);return this.mode=D,oe.range(De,Qe)},t.parseColorGroup=function(i){var p=this.parseStringGroup("color",i);if(!p)return null;var D=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(p.text);if(!D)throw new q("Invalid color: '"+p.text+"'",p);var oe=D[0];return/^[0-9a-f]{6}$/i.test(oe)&&(oe="#"+oe),{type:"color-token",mode:this.mode,color:oe}},t.parseSizeGroup=function(i){var p,D=!1;if(!i&&this.fetch().text!=="{"?p=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):p=this.parseStringGroup("size",i),!p)return null;!i&&p.text.length===0&&(p.text="0pt",D=!0);var oe=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(p.text);if(!oe)throw new q("Invalid size: '"+p.text+"'",p);var De={number:+(oe[1]+oe[2]),unit:oe[3]};if(!Dn(De))throw new q("Invalid unit: '"+De.unit+"'",p);return{type:"size",mode:this.mode,value:De,isBlank:D}},t.parseUrlGroup=function(i,p){this.gullet.lexer.setCatcode("%",13);var D=this.parseStringGroup("url",i,!0);if(this.gullet.lexer.setCatcode("%",14),!D)return null;var oe=D.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:oe}},t.parseGroup=function(i,p,D,oe,De,Qe){var It=this.mode;De&&this.switchMode(De),Qe&&this.consumeSpaces();var nr=this.fetch(),mr=nr.text,jr;if(p?mr==="[":mr==="{"||mr==="\\begingroup"){this.consume();var Jr=k.endOfGroup[mr];this.gullet.beginGroup();var cn=this.parseExpression(!1,Jr),Sn=this.fetch();this.expect(Jr),this.gullet.endGroup(),jr={type:"ordgroup",mode:this.mode,loc:I.range(nr,Sn),body:cn,semisimple:mr==="\\begingroup"||void 0}}else if(p)jr=null;else if(jr=this.parseFunction(oe,i,D)||this.parseSymbol(),jr==null&&mr[0]==="\\"&&!is.hasOwnProperty(mr)){if(this.settings.throwOnError)throw new q("Undefined control sequence: "+mr,nr);jr=this.formatUnsupportedCmd(mr),this.consume()}return De&&this.switchMode(It),jr},t.formLigatures=function(i){for(var p=i.length-1,D=0;D<p;++D){var oe=i[D],De=oe.text;De==="-"&&i[D+1].text==="-"&&(D+1<p&&i[D+2].text==="-"?(i.splice(D,3,{type:"textord",mode:"text",loc:I.range(oe,i[D+2]),text:"---"}),p-=2):(i.splice(D,2,{type:"textord",mode:"text",loc:I.range(oe,i[D+1]),text:"--"}),p-=1)),(De==="'"||De==="`")&&i[D+1].text===De&&(i.splice(D,2,{type:"textord",mode:"text",loc:I.range(oe,i[D+1]),text:De+De}),p-=1)}},t.parseSymbol=function(){var i=this.fetch(),p=i.text;if(/^\\verb[^a-zA-Z]/.test(p)){this.consume();var D=p.slice(5),oe=D.charAt(0)==="*";if(oe&&(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:oe}}Qi.hasOwnProperty(p[0])&&!Er[this.mode][p[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+p[0]+'" used in math mode',i),p=Qi[p[0]]+p.substr(1));var De=Yi.exec(p);De&&(p=p.substring(0,De.index),p==="i"?p="\u0131":p==="j"&&(p="\u0237"));var Qe;if(Er[this.mode][p]){this.settings.strict&&this.mode==="math"&&xn.indexOf(p)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+p[0]+'" used in math mode',i);var It=Er[this.mode][p].group,nr=I.range(i),mr;if(lr.hasOwnProperty(It)){var jr=It;mr={type:"atom",mode:this.mode,family:jr,loc:nr,text:p}}else mr={type:It,mode:this.mode,loc:nr,text:p};Qe=mr}else if(p.charCodeAt(0)>=128)this.settings.strict&&(ne(p.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+p[0]+'" used in math mode',i):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+p[0]+'"'+(" ("+p.charCodeAt(0)+")"),i)),Qe={type:"textord",mode:"text",loc:I.range(i),text:p};else return null;if(this.consume(),De)for(var Jr=0;Jr<De[0].length;Jr++){var cn=De[0][Jr];if(!Ji[cn])throw new q("Unknown accent ' "+cn+"'",i);var Sn=Ji[cn][this.mode];if(!Sn)throw new q("Accent "+cn+" unsupported in "+this.mode+" mode",i);Qe={type:"accent",mode:this.mode,loc:I.range(i),label:Sn,isStretchy:!1,isShifty:!0,base:Qe}}return Qe},k}();Ai.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Ai.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Ai.SUPSUB_GREEDINESS=1;var As=function(t,a){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var i=new Ai(t,a);delete i.gullet.macros.current["\\df@tag"];var p=i.parse();if(i.gullet.macros.get("\\df@tag")){if(!a.displayMode)throw new q("\\tag works only in display equations");i.gullet.feed("\\df@tag"),p=[{type:"tag",mode:"text",body:p,tag:i.parse()}]}return p},$i=As,bi=function(t,a,i){a.textContent="";var p=x(t,i).toNode();a.appendChild(p)};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."),bi=function(){throw new q("KaTeX doesn't work in quirks mode.")});var Zi=function(t,a){var i=x(t,a).toMarkup();return i},yi=function(t,a){var i=new j(a);return $i(t,i)},ji=function(t,a,i){if(i.throwOnError||!(t instanceof q))throw t;var p=je.makeSpan(["katex-error"],[new Re(a)]);return p.setAttribute("title",t.toString()),p.setAttribute("style","color:"+i.errorColor),p},x=function(t,a){var i=new j(a);try{var p=$i(t,i);return Hn(p,t,i)}catch(D){return ji(D,t,i)}},Me=function(t,a){var i=new j(a);try{var p=$i(t,i);return ta(p,t,i)}catch(D){return ji(D,t,i)}},Rt={version:"0.11.1",render:bi,renderToString:Zi,ParseError:q,__parse:yi,__renderToDomTree:x,__renderToHTMLTree:Me,__setFontMetrics:Tt,__defineSymbol:S,__defineMacro:vt,__domTree:{Span:ue,Anchor:ge,SymbolNode:Re,SvgNode:Je,PathNode:wt,LineNode:At}},sr=o.default=Rt}]).default})},95827:function(en,Jt,o){"use strict";o.d(Jt,{Z:function(){return va}});var s=o(40797),qe=o(91378);class I{constructor(e,r,h){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=r,this.end=h}static range(e,r){return r?!e||!e.loc||!r.loc||e.loc.lexer!==r.loc.lexer?null:new I(e.loc.lexer,e.loc.start,r.loc.end):e&&e.loc}}class He{constructor(e,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=r}range(e,r){return new He(r,I.range(this,e))}}class te{constructor(e,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var h="KaTeX parse error: "+e,C,K,Ie=r&&r.loc;if(Ie&&Ie.start<=Ie.end){var Ge=Ie.lexer.input;C=Ie.start,K=Ie.end,C===Ge.length?h+=" at end of input: ":h+=" at position "+(C+1)+": ";var _e=Ge.slice(C,K).replace(/[^]/g,"$&\u0332"),Kt;C>15?Kt="\u2026"+Ge.slice(C-15,C):Kt=Ge.slice(0,C);var hr;K+15<Ge.length?hr=Ge.slice(K,K+15)+"\u2026":hr=Ge.slice(K),h+=Kt+_e+hr}var br=new Error(h);return br.name="ParseError",br.__proto__=te.prototype,br.position=C,C!=null&&K!=null&&(br.length=K-C),br.rawMessage=e,br}}te.prototype.__proto__=Error.prototype;var q=function(e,r){return e.indexOf(r)!==-1},Q=function(e,r){return e===void 0?r:e},y=/([A-Z])/g,U=function(e){return e.replace(y,"-$1").toLowerCase()},l={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},L=/[&><"']/g;function W(c){return String(c).replace(L,e=>l[e])}var G=function c(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?c(e.body[0]):e:e.type==="font"?c(e.body):e},R=function(e){var r=G(e);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},Z=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},A=function(e){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},$={contains:q,deflt:Q,escape:W,hyphenate:U,getBaseElem:G,isCharacterBox:R,protocolFromUrl:A},w={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:c=>"#"+c},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:(c,e)=>(e.push(c),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:c=>Math.max(0,c),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:c=>Math.max(0,c),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:c=>Math.max(0,c),cli:"-e, --max-expand <n>",cliProcessor:c=>c==="Infinity"?1/0:parseInt(c)},globalGroup:{type:"boolean",cli:!1}};function j(c){if(c.default)return c.default;var e=c.type,r=Array.isArray(e)?e[0]:e;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class de{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 r in w)if(w.hasOwnProperty(r)){var h=w[r];this[r]=e[r]!==void 0?h.processor?h.processor(e[r]):e[r]:j(h)}}reportNonstrict(e,r,h){var C=this.strict;if(typeof C=="function"&&(C=C(e,r,h)),!(!C||C==="ignore")){if(C===!0||C==="error")throw new te("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+e+"]"),h);C==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+C+"': "+r+" ["+e+"]"))}}useStrictBehavior(e,r,h){var C=this.strict;if(typeof C=="function")try{C=C(e,r,h)}catch(K){C="error"}return!C||C==="ignore"?!1:C===!0||C==="error"?!0:C==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+C+"': "+r+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var r=$.protocolFromUrl(e.url);if(r==null)return!1;e.protocol=r}var h=typeof this.trust=="function"?this.trust(e):this.trust;return!!h}}class X{constructor(e,r,h){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=r,this.cramped=h}sup(){return xe[M[this.id]]}sub(){return xe[E[this.id]]}fracNum(){return xe[st[this.id]]}fracDen(){return xe[ce[this.id]]}cramp(){return xe[le[this.id]]}text(){return xe[H[this.id]]}isTight(){return this.size>=2}}var J=0,Ne=1,Le=2,et=3,Ue=4,Ce=5,Oe=6,Y=7,xe=[new X(J,0,!1),new X(Ne,0,!0),new X(Le,1,!1),new X(et,1,!0),new X(Ue,2,!1),new X(Ce,2,!0),new X(Oe,3,!1),new X(Y,3,!0)],M=[Ue,Ce,Ue,Ce,Oe,Y,Oe,Y],E=[Ce,Ce,Ce,Ce,Y,Y,Y,Y],st=[Le,et,Ue,Ce,Oe,Y,Oe,Y],ce=[et,et,Ce,Ce,Y,Y,Y,Y],le=[Ne,Ne,et,et,Ce,Ce,Y,Y],H=[J,Ne,Le,et,Le,et,Le,et],_={DISPLAY:xe[J],TEXT:xe[Le],SCRIPT:xe[Ue],SCRIPTSCRIPT:xe[Oe]},re=[{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 T(c){for(var e=0;e<re.length;e++)for(var r=re[e],h=0;h<r.blocks.length;h++){var C=r.blocks[h];if(c>=C[0]&&c<=C[1])return r.name}return null}var ne=[];re.forEach(c=>c.blocks.forEach(e=>ne.push(...e)));function Fe(c){for(var e=0;e<ne.length;e+=2)if(c>=ne[e]&&c<=ne[e+1])return!0;return!1}var ye=80,lt=function(e,r){return"M95,"+(622+e+r)+`
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)+" "+r+"h400000v"+(40+e)+"h-400000z"},ft=function(e,r){return"M263,"+(601+e+r)+`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)+" "+r+"h400000v"+(40+e)+"h-400000z"},pt=function(e,r){return"M983 "+(10+e+r)+`
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)+" "+r+"h400000v"+(40+e)+"h-400000z"},he=function(e,r){return"M424,"+(2398+e+r)+`
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)+" "+r+`
h400000v`+(40+e)+"h-400000z"},We=function(e,r){return"M473,"+(2713+e+r)+`
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)+" "+r+"h400000v"+(40+e)+"H1017.7z"},jt=function(e){var r=e/2;return"M400000 "+e+" H0 L"+r+" 0 l65 45 L145 "+(e-80)+" H400000z"},ze=function(e,r,h){var C=h-54-r-e;return"M702 "+(e+r)+"H400000"+(40+e)+`
H742v`+C+`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 `+r+"H400000v"+(40+e)+"H742z"},Be=function(e,r,h){r=1e3*r;var C="";switch(e){case"sqrtMain":C=lt(r,ye);break;case"sqrtSize1":C=ft(r,ye);break;case"sqrtSize2":C=pt(r,ye);break;case"sqrtSize3":C=he(r,ye);break;case"sqrtSize4":C=We(r,ye);break;case"sqrtTall":C=ze(r,ye,h)}return C},P=function(e,r){switch(e){case"\u239C":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"\u2223":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"\u2225":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"\u239F":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"\u23A2":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"\u23A5":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"\u23AA":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"\u23D0":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"\u2016":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},ct={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`},Se=function(e,r){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84
H403z M403 1759 V0 H319 V1759 v`+r+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z
M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+" v585 h43z";case"doublevert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z
M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+r+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+r+` v1715 h263 v84 H319z
MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z
MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z
M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z
M347 1759 V0 h-84 V1759 v`+r+" 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,`+(r+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,-`+(r+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,`+(r+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,-`+(r+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 fe{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 $.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}toMarkup(){for(var e="",r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e}toText(){var e=r=>r.toText();return this.children.map(e).join("")}}var ue={"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]}},ge={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]},$e={\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 we(c,e){ue[c]=e}function Re(c,e,r){if(!ue[e])throw new Error("Font metrics not found for font: "+e+".");var h=c.charCodeAt(0),C=ue[e][h];if(!C&&c[0]in $e&&(h=$e[c[0]].charCodeAt(0),C=ue[e][h]),!C&&r==="text"&&Fe(h)&&(C=ue[e][77]),C)return{depth:C[0],height:C[1],italic:C[2],skew:C[3],width:C[4]}}var Je={};function wt(c){var e;if(c>=5?e=0:c>=3?e=1:e=2,!Je[e]){var r=Je[e]={cssEmPerMu:ge.quad[e]/18};for(var h in ge)ge.hasOwnProperty(h)&&(r[h]=ge[h][e])}return Je[e]}var At=[[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]],ar=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],qt=function(e,r){return r.size<2?e:At[e-1][r.size-1]};class Nt{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||Nt.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=ar[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var r={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 h in e)e.hasOwnProperty(h)&&(r[h]=e[h]);return new Nt(r)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:qt(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:ar[e-1]})}havingBaseStyle(e){e=e||this.style.text();var r=qt(Nt.BASESIZE,e);return this.size===r&&this.textSize===Nt.BASESIZE&&this.style===e?this:this.extend({style:e,size:r})}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!==Nt.BASESIZE?["sizing","reset-size"+this.size,"size"+Nt.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=wt(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Nt.BASESIZE=6;var ht={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},Ot={ex:!0,em:!0,mu:!0},Tt=function(e){return typeof e!="string"&&(e=e.unit),e in ht||e in Ot||e==="ex"},Ut=function(e,r){var h;if(e.unit in ht)h=ht[e.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(e.unit==="mu")h=r.fontMetrics().cssEmPerMu;else{var C;if(r.style.isTight()?C=r.havingStyle(r.style.text()):C=r,e.unit==="ex")h=C.fontMetrics().xHeight;else if(e.unit==="em")h=C.fontMetrics().quad;else throw new te("Invalid unit: '"+e.unit+"'");C!==r&&(h*=C.sizeMultiplier/r.sizeMultiplier)}return Math.min(e.number*h,r.maxSize)},St=function(e){return+e.toFixed(4)+"em"},gr=function(e){return e.filter(r=>r).join(" ")},lr=function(e,r,h){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=h||{},r){r.style.isTight()&&this.classes.push("mtight");var C=r.getColor();C&&(this.style.color=C)}},Cr=function(e){var r=document.createElement(e);r.className=gr(this.classes);for(var h in this.style)this.style.hasOwnProperty(h)&&(r.style[h]=this.style[h]);for(var C in this.attributes)this.attributes.hasOwnProperty(C)&&r.setAttribute(C,this.attributes[C]);for(var K=0;K<this.children.length;K++)r.appendChild(this.children[K].toNode());return r},rn=/[\s"'>/=\x00-\x1f]/,Er=function(e){var r="<"+e;this.classes.length&&(r+=' class="'+$.escape(gr(this.classes))+'"');var h="";for(var C in this.style)this.style.hasOwnProperty(C)&&(h+=$.hyphenate(C)+":"+this.style[C]+";");h&&(r+=' style="'+$.escape(h)+'"');for(var K in this.attributes)if(this.attributes.hasOwnProperty(K)){if(rn.test(K))throw new te("Invalid attribute name '"+K+"'");r+=" "+K+'="'+$.escape(this.attributes[K])+'"'}r+=">";for(var Ie=0;Ie<this.children.length;Ie++)r+=this.children[Ie].toMarkup();return r+="</"+e+">",r};class S{constructor(e,r,h,C){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,lr.call(this,e,h,C),this.children=r||[]}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return $.contains(this.classes,e)}toNode(){return Cr.call(this,"span")}toMarkup(){return Er.call(this,"span")}}class N{constructor(e,r,h,C){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,lr.call(this,r,C),this.children=h||[],this.setAttribute("href",e)}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return $.contains(this.classes,e)}toNode(){return Cr.call(this,"a")}toMarkup(){return Er.call(this,"a")}}class er{constructor(e,r,h){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=r,this.src=e,this.classes=["mord"],this.style=h}hasClass(e){return $.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(e.style[r]=this.style[r]);return e}toMarkup(){var e='<img src="'+$.escape(this.src)+'"'+(' alt="'+$.escape(this.alt)+'"'),r="";for(var h in this.style)this.style.hasOwnProperty(h)&&(r+=$.hyphenate(h)+":"+this.style[h]+";");return r&&(e+=' style="'+$.escape(r)+'"'),e+="'/>",e}}var se={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"};class ke{constructor(e,r,h,C,K,Ie,Ge,_e){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=r||0,this.depth=h||0,this.italic=C||0,this.skew=K||0,this.width=Ie||0,this.classes=Ge||[],this.style=_e||{},this.maxFontSize=0;var Kt=T(this.text.charCodeAt(0));Kt&&this.classes.push(Kt+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=se[this.text])}hasClass(e){return $.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=St(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=gr(this.classes));for(var h in this.style)this.style.hasOwnProperty(h)&&(r=r||document.createElement("span"),r.style[h]=this.style[h]);return r?(r.appendChild(e),r):e}toMarkup(){var e=!1,r="<span";this.classes.length&&(e=!0,r+=' class="',r+=$.escape(gr(this.classes)),r+='"');var h="";this.italic>0&&(h+="margin-right:"+this.italic+"em;");for(var C in this.style)this.style.hasOwnProperty(C)&&(h+=$.hyphenate(C)+":"+this.style[C]+";");h&&(e=!0,r+=' style="'+$.escape(h)+'"');var K=$.escape(this.text);return e?(r+=">",r+=K,r+="</span>",r):K}}class zr{constructor(e,r){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=r||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"svg");for(var h in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,h)&&r.setAttribute(h,this.attributes[h]);for(var C=0;C<this.children.length;C++)r.appendChild(this.children[C].toNode());return r}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="'+$.escape(this.attributes[r])+'"');e+=">";for(var h=0;h<this.children.length;h++)e+=this.children[h].toMarkup();return e+="</svg>",e}}class Ir{constructor(e,r){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=r}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",ct[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+$.escape(this.alternate)+'"/>':'<path d="'+$.escape(ct[this.pathName])+'"/>'}}class yn{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"line");for(var h in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,h)&&r.setAttribute(h,this.attributes[h]);return r}toMarkup(){var e="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="'+$.escape(this.attributes[r])+'"');return e+="/>",e}}function Bn(c){if(c instanceof ke)return c;throw new Error("Expected symbolNode but got "+String(c)+".")}function zt(c){if(c instanceof S)return c;throw new Error("Expected span<HtmlDomNode> but got "+String(c)+".")}var yr={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},Tr={math:{},text:{}};function f(c,e,r,h,C,K){Tr[c][C]={font:e,group:r,replace:h},K&&h&&(Tr[c][h]=Tr[c][C])}var F="math",Ae="text",ae="main",bt="ams",bn="accent-token",yt="bin",Vt="close",Wr="inner",Nr="mathord",Qr="op-token",vn="open",_n="punct",pe="rel",fr="spacing",tt="textord";f(F,ae,pe,"\u2261","\\equiv",!0),f(F,ae,pe,"\u227A","\\prec",!0),f(F,ae,pe,"\u227B","\\succ",!0),f(F,ae,pe,"\u223C","\\sim",!0),f(F,ae,pe,"\u22A5","\\perp"),f(F,ae,pe,"\u2AAF","\\preceq",!0),f(F,ae,pe,"\u2AB0","\\succeq",!0),f(F,ae,pe,"\u2243","\\simeq",!0),f(F,ae,pe,"\u2223","\\mid",!0),f(F,ae,pe,"\u226A","\\ll",!0),f(F,ae,pe,"\u226B","\\gg",!0),f(F,ae,pe,"\u224D","\\asymp",!0),f(F,ae,pe,"\u2225","\\parallel"),f(F,ae,pe,"\u22C8","\\bowtie",!0),f(F,ae,pe,"\u2323","\\smile",!0),f(F,ae,pe,"\u2291","\\sqsubseteq",!0),f(F,ae,pe,"\u2292","\\sqsupseteq",!0),f(F,ae,pe,"\u2250","\\doteq",!0),f(F,ae,pe,"\u2322","\\frown",!0),f(F,ae,pe,"\u220B","\\ni",!0),f(F,ae,pe,"\u221D","\\propto",!0),f(F,ae,pe,"\u22A2","\\vdash",!0),f(F,ae,pe,"\u22A3","\\dashv",!0),f(F,ae,pe,"\u220B","\\owns"),f(F,ae,_n,".","\\ldotp"),f(F,ae,_n,"\u22C5","\\cdotp"),f(F,ae,tt,"#","\\#"),f(Ae,ae,tt,"#","\\#"),f(F,ae,tt,"&","\\&"),f(Ae,ae,tt,"&","\\&"),f(F,ae,tt,"\u2135","\\aleph",!0),f(F,ae,tt,"\u2200","\\forall",!0),f(F,ae,tt,"\u210F","\\hbar",!0),f(F,ae,tt,"\u2203","\\exists",!0),f(F,ae,tt,"\u2207","\\nabla",!0),f(F,ae,tt,"\u266D","\\flat",!0),f(F,ae,tt,"\u2113","\\ell",!0),f(F,ae,tt,"\u266E","\\natural",!0),f(F,ae,tt,"\u2663","\\clubsuit",!0),f(F,ae,tt,"\u2118","\\wp",!0),f(F,ae,tt,"\u266F","\\sharp",!0),f(F,ae,tt,"\u2662","\\diamondsuit",!0),f(F,ae,tt,"\u211C","\\Re",!0),f(F,ae,tt,"\u2661","\\heartsuit",!0),f(F,ae,tt,"\u2111","\\Im",!0),f(F,ae,tt,"\u2660","\\spadesuit",!0),f(F,ae,tt,"\xA7","\\S",!0),f(Ae,ae,tt,"\xA7","\\S"),f(F,ae,tt,"\xB6","\\P",!0),f(Ae,ae,tt,"\xB6","\\P"),f(F,ae,tt,"\u2020","\\dag"),f(Ae,ae,tt,"\u2020","\\dag"),f(Ae,ae,tt,"\u2020","\\textdagger"),f(F,ae,tt,"\u2021","\\ddag"),f(Ae,ae,tt,"\u2021","\\ddag"),f(Ae,ae,tt,"\u2021","\\textdaggerdbl"),f(F,ae,Vt,"\u23B1","\\rmoustache",!0),f(F,ae,vn,"\u23B0","\\lmoustache",!0),f(F,ae,Vt,"\u27EF","\\rgroup",!0),f(F,ae,vn,"\u27EE","\\lgroup",!0),f(F,ae,yt,"\u2213","\\mp",!0),f(F,ae,yt,"\u2296","\\ominus",!0),f(F,ae,yt,"\u228E","\\uplus",!0),f(F,ae,yt,"\u2293","\\sqcap",!0),f(F,ae,yt,"\u2217","\\ast"),f(F,ae,yt,"\u2294","\\sqcup",!0),f(F,ae,yt,"\u25EF","\\bigcirc",!0),f(F,ae,yt,"\u2219","\\bullet",!0),f(F,ae,yt,"\u2021","\\ddagger"),f(F,ae,yt,"\u2240","\\wr",!0),f(F,ae,yt,"\u2A3F","\\amalg"),f(F,ae,yt,"&","\\And"),f(F,ae,pe,"\u27F5","\\longleftarrow",!0),f(F,ae,pe,"\u21D0","\\Leftarrow",!0),f(F,ae,pe,"\u27F8","\\Longleftarrow",!0),f(F,ae,pe,"\u27F6","\\longrightarrow",!0),f(F,ae,pe,"\u21D2","\\Rightarrow",!0),f(F,ae,pe,"\u27F9","\\Longrightarrow",!0),f(F,ae,pe,"\u2194","\\leftrightarrow",!0),f(F,ae,pe,"\u27F7","\\longleftrightarrow",!0),f(F,ae,pe,"\u21D4","\\Leftrightarrow",!0),f(F,ae,pe,"\u27FA","\\Longleftrightarrow",!0),f(F,ae,pe,"\u21A6","\\mapsto",!0),f(F,ae,pe,"\u27FC","\\longmapsto",!0),f(F,ae,pe,"\u2197","\\nearrow",!0),f(F,ae,pe,"\u21A9","\\hookleftarrow",!0),f(F,ae,pe,"\u21AA","\\hookrightarrow",!0),f(F,ae,pe,"\u2198","\\searrow",!0),f(F,ae,pe,"\u21BC","\\leftharpoonup",!0),f(F,ae,pe,"\u21C0","\\rightharpoonup",!0),f(F,ae,pe,"\u2199","\\swarrow",!0),f(F,ae,pe,"\u21BD","\\leftharpoondown",!0),f(F,ae,pe,"\u21C1","\\rightharpoondown",!0),f(F,ae,pe,"\u2196","\\nwarrow",!0),f(F,ae,pe,"\u21CC","\\rightleftharpoons",!0),f(F,bt,pe,"\u226E","\\nless",!0),f(F,bt,pe,"\uE010","\\@nleqslant"),f(F,bt,pe,"\uE011","\\@nleqq"),f(F,bt,pe,"\u2A87","\\lneq",!0),f(F,bt,pe,"\u2268","\\lneqq",!0),f(F,bt,pe,"\uE00C","\\@lvertneqq"),f(F,bt,pe,"\u22E6","\\lnsim",!0),f(F,bt,pe,"\u2A89","\\lnapprox",!0),f(F,bt,pe,"\u2280","\\nprec",!0),f(F,bt,pe,"\u22E0","\\npreceq",!0),f(F,bt,pe,"\u22E8","\\precnsim",!0),f(F,bt,pe,"\u2AB9","\\precnapprox",!0),f(F,bt,pe,"\u2241","\\nsim",!0),f(F,bt,pe,"\uE006","\\@nshortmid"),f(F,bt,pe,"\u2224","\\nmid",!0),f(F,bt,pe,"\u22AC","\\nvdash",!0),f(F,bt,pe,"\u22AD","\\nvDash",!0),f(F,bt,pe,"\u22EA","\\ntriangleleft"),f(F,bt,pe,"\u22EC","\\ntrianglelefteq",!0),f(F,bt,pe,"\u228A","\\subsetneq",!0),f(F,bt,pe,"\uE01A","\\@varsubsetneq"),f(F,bt,pe,"\u2ACB","\\subsetneqq",!0),f(F,bt,pe,"\uE017","\\@varsubsetneqq"),f(F,bt,pe,"\u226F","\\ngtr",!0),f(F,bt,pe,"\uE00F","\\@ngeqslant"),f(F,bt,pe,"\uE00E","\\@ngeqq"),f(F,bt,pe,"\u2A88","\\gneq",!0),f(F,bt,pe,"\u2269","\\gneqq",!0),f(F,bt,pe,"\uE00D","\\@gvertneqq"),f(F,bt,pe,"\u22E7","\\gnsim",!0),f(F,bt,pe,"\u2A8A","\\gnapprox",!0),f(F,bt,pe,"\u2281","\\nsucc",!0),f(F,bt,pe,"\u22E1","\\nsucceq",!0),f(F,bt,pe,"\u22E9","\\succnsim",!0),f(F,bt,pe,"\u2ABA","\\succnapprox",!0),f(F,bt,pe,"\u2246","\\ncong",!0),f(F,bt,pe,"\uE007","\\@nshortparallel"),f(F,bt,pe,"\u2226","\\nparallel",!0),f(F,bt,pe,"\u22AF","\\nVDash",!0),f(F,bt,pe,"\u22EB","\\ntriangleright"),f(F,bt,pe,"\u22ED","\\ntrianglerighteq",!0),f(F,bt,pe,"\uE018","\\@nsupseteqq"),f(F,bt,pe,"\u228B","\\supsetneq",!0),f(F,bt,pe,"\uE01B","\\@varsupsetneq"),f(F,bt,pe,"\u2ACC","\\supsetneqq",!0),f(F,bt,pe,"\uE019","\\@varsupsetneqq"),f(F,bt,pe,"\u22AE","\\nVdash",!0),f(F,bt,pe,"\u2AB5","\\precneqq",!0),f(F,bt,pe,"\u2AB6","\\succneqq",!0),f(F,bt,pe,"\uE016","\\@nsubseteqq"),f(F,bt,yt,"\u22B4","\\unlhd"),f(F,bt,yt,"\u22B5","\\unrhd"),f(F,bt,pe,"\u219A","\\nleftarrow",!0),f(F,bt,pe,"\u219B","\\nrightarrow",!0),f(F,bt,pe,"\u21CD","\\nLeftarrow",!0),f(F,bt,pe,"\u21CF","\\nRightarrow",!0),f(F,bt,pe,"\u21AE","\\nleftrightarrow",!0),f(F,bt,pe,"\u21CE","\\nLeftrightarrow",!0),f(F,bt,pe,"\u25B3","\\vartriangle"),f(F,bt,tt,"\u210F","\\hslash"),f(F,bt,tt,"\u25BD","\\triangledown"),f(F,bt,tt,"\u25CA","\\lozenge"),f(F,bt,tt,"\u24C8","\\circledS"),f(F,bt,tt,"\xAE","\\circledR"),f(Ae,bt,tt,"\xAE","\\circledR"),f(F,bt,tt,"\u2221","\\measuredangle",!0),f(F,bt,tt,"\u2204","\\nexists"),f(F,bt,tt,"\u2127","\\mho"),f(F,bt,tt,"\u2132","\\Finv",!0),f(F,bt,tt,"\u2141","\\Game",!0),f(F,bt,tt,"\u2035","\\backprime"),f(F,bt,tt,"\u25B2","\\blacktriangle"),f(F,bt,tt,"\u25BC","\\blacktriangledown"),f(F,bt,tt,"\u25A0","\\blacksquare"),f(F,bt,tt,"\u29EB","\\blacklozenge"),f(F,bt,tt,"\u2605","\\bigstar"),f(F,bt,tt,"\u2222","\\sphericalangle",!0),f(F,bt,tt,"\u2201","\\complement",!0),f(F,bt,tt,"\xF0","\\eth",!0),f(Ae,ae,tt,"\xF0","\xF0"),f(F,bt,tt,"\u2571","\\diagup"),f(F,bt,tt,"\u2572","\\diagdown"),f(F,bt,tt,"\u25A1","\\square"),f(F,bt,tt,"\u25A1","\\Box"),f(F,bt,tt,"\u25CA","\\Diamond"),f(F,bt,tt,"\xA5","\\yen",!0),f(Ae,bt,tt,"\xA5","\\yen",!0),f(F,bt,tt,"\u2713","\\checkmark",!0),f(Ae,bt,tt,"\u2713","\\checkmark"),f(F,bt,tt,"\u2136","\\beth",!0),f(F,bt,tt,"\u2138","\\daleth",!0),f(F,bt,tt,"\u2137","\\gimel",!0),f(F,bt,tt,"\u03DD","\\digamma",!0),f(F,bt,tt,"\u03F0","\\varkappa"),f(F,bt,vn,"\u250C","\\@ulcorner",!0),f(F,bt,Vt,"\u2510","\\@urcorner",!0),f(F,bt,vn,"\u2514","\\@llcorner",!0),f(F,bt,Vt,"\u2518","\\@lrcorner",!0),f(F,bt,pe,"\u2266","\\leqq",!0),f(F,bt,pe,"\u2A7D","\\leqslant",!0),f(F,bt,pe,"\u2A95","\\eqslantless",!0),f(F,bt,pe,"\u2272","\\lesssim",!0),f(F,bt,pe,"\u2A85","\\lessapprox",!0),f(F,bt,pe,"\u224A","\\approxeq",!0),f(F,bt,yt,"\u22D6","\\lessdot"),f(F,bt,pe,"\u22D8","\\lll",!0),f(F,bt,pe,"\u2276","\\lessgtr",!0),f(F,bt,pe,"\u22DA","\\lesseqgtr",!0),f(F,bt,pe,"\u2A8B","\\lesseqqgtr",!0),f(F,bt,pe,"\u2251","\\doteqdot"),f(F,bt,pe,"\u2253","\\risingdotseq",!0),f(F,bt,pe,"\u2252","\\fallingdotseq",!0),f(F,bt,pe,"\u223D","\\backsim",!0),f(F,bt,pe,"\u22CD","\\backsimeq",!0),f(F,bt,pe,"\u2AC5","\\subseteqq",!0),f(F,bt,pe,"\u22D0","\\Subset",!0),f(F,bt,pe,"\u228F","\\sqsubset",!0),f(F,bt,pe,"\u227C","\\preccurlyeq",!0),f(F,bt,pe,"\u22DE","\\curlyeqprec",!0),f(F,bt,pe,"\u227E","\\precsim",!0),f(F,bt,pe,"\u2AB7","\\precapprox",!0),f(F,bt,pe,"\u22B2","\\vartriangleleft"),f(F,bt,pe,"\u22B4","\\trianglelefteq"),f(F,bt,pe,"\u22A8","\\vDash",!0),f(F,bt,pe,"\u22AA","\\Vvdash",!0),f(F,bt,pe,"\u2323","\\smallsmile"),f(F,bt,pe,"\u2322","\\smallfrown"),f(F,bt,pe,"\u224F","\\bumpeq",!0),f(F,bt,pe,"\u224E","\\Bumpeq",!0),f(F,bt,pe,"\u2267","\\geqq",!0),f(F,bt,pe,"\u2A7E","\\geqslant",!0),f(F,bt,pe,"\u2A96","\\eqslantgtr",!0),f(F,bt,pe,"\u2273","\\gtrsim",!0),f(F,bt,pe,"\u2A86","\\gtrapprox",!0),f(F,bt,yt,"\u22D7","\\gtrdot"),f(F,bt,pe,"\u22D9","\\ggg",!0),f(F,bt,pe,"\u2277","\\gtrless",!0),f(F,bt,pe,"\u22DB","\\gtreqless",!0),f(F,bt,pe,"\u2A8C","\\gtreqqless",!0),f(F,bt,pe,"\u2256","\\eqcirc",!0),f(F,bt,pe,"\u2257","\\circeq",!0),f(F,bt,pe,"\u225C","\\triangleq",!0),f(F,bt,pe,"\u223C","\\thicksim"),f(F,bt,pe,"\u2248","\\thickapprox"),f(F,bt,pe,"\u2AC6","\\supseteqq",!0),f(F,bt,pe,"\u22D1","\\Supset",!0),f(F,bt,pe,"\u2290","\\sqsupset",!0),f(F,bt,pe,"\u227D","\\succcurlyeq",!0),f(F,bt,pe,"\u22DF","\\curlyeqsucc",!0),f(F,bt,pe,"\u227F","\\succsim",!0),f(F,bt,pe,"\u2AB8","\\succapprox",!0),f(F,bt,pe,"\u22B3","\\vartriangleright"),f(F,bt,pe,"\u22B5","\\trianglerighteq"),f(F,bt,pe,"\u22A9","\\Vdash",!0),f(F,bt,pe,"\u2223","\\shortmid"),f(F,bt,pe,"\u2225","\\shortparallel"),f(F,bt,pe,"\u226C","\\between",!0),f(F,bt,pe,"\u22D4","\\pitchfork",!0),f(F,bt,pe,"\u221D","\\varpropto"),f(F,bt,pe,"\u25C0","\\blacktriangleleft"),f(F,bt,pe,"\u2234","\\therefore",!0),f(F,bt,pe,"\u220D","\\backepsilon"),f(F,bt,pe,"\u25B6","\\blacktriangleright"),f(F,bt,pe,"\u2235","\\because",!0),f(F,bt,pe,"\u22D8","\\llless"),f(F,bt,pe,"\u22D9","\\gggtr"),f(F,bt,yt,"\u22B2","\\lhd"),f(F,bt,yt,"\u22B3","\\rhd"),f(F,bt,pe,"\u2242","\\eqsim",!0),f(F,ae,pe,"\u22C8","\\Join"),f(F,bt,pe,"\u2251","\\Doteq",!0),f(F,bt,yt,"\u2214","\\dotplus",!0),f(F,bt,yt,"\u2216","\\smallsetminus"),f(F,bt,yt,"\u22D2","\\Cap",!0),f(F,bt,yt,"\u22D3","\\Cup",!0),f(F,bt,yt,"\u2A5E","\\doublebarwedge",!0),f(F,bt,yt,"\u229F","\\boxminus",!0),f(F,bt,yt,"\u229E","\\boxplus",!0),f(F,bt,yt,"\u22C7","\\divideontimes",!0),f(F,bt,yt,"\u22C9","\\ltimes",!0),f(F,bt,yt,"\u22CA","\\rtimes",!0),f(F,bt,yt,"\u22CB","\\leftthreetimes",!0),f(F,bt,yt,"\u22CC","\\rightthreetimes",!0),f(F,bt,yt,"\u22CF","\\curlywedge",!0),f(F,bt,yt,"\u22CE","\\curlyvee",!0),f(F,bt,yt,"\u229D","\\circleddash",!0),f(F,bt,yt,"\u229B","\\circledast",!0),f(F,bt,yt,"\u22C5","\\centerdot"),f(F,bt,yt,"\u22BA","\\intercal",!0),f(F,bt,yt,"\u22D2","\\doublecap"),f(F,bt,yt,"\u22D3","\\doublecup"),f(F,bt,yt,"\u22A0","\\boxtimes",!0),f(F,bt,pe,"\u21E2","\\dashrightarrow",!0),f(F,bt,pe,"\u21E0","\\dashleftarrow",!0),f(F,bt,pe,"\u21C7","\\leftleftarrows",!0),f(F,bt,pe,"\u21C6","\\leftrightarrows",!0),f(F,bt,pe,"\u21DA","\\Lleftarrow",!0),f(F,bt,pe,"\u219E","\\twoheadleftarrow",!0),f(F,bt,pe,"\u21A2","\\leftarrowtail",!0),f(F,bt,pe,"\u21AB","\\looparrowleft",!0),f(F,bt,pe,"\u21CB","\\leftrightharpoons",!0),f(F,bt,pe,"\u21B6","\\curvearrowleft",!0),f(F,bt,pe,"\u21BA","\\circlearrowleft",!0),f(F,bt,pe,"\u21B0","\\Lsh",!0),f(F,bt,pe,"\u21C8","\\upuparrows",!0),f(F,bt,pe,"\u21BF","\\upharpoonleft",!0),f(F,bt,pe,"\u21C3","\\downharpoonleft",!0),f(F,ae,pe,"\u22B6","\\origof",!0),f(F,ae,pe,"\u22B7","\\imageof",!0),f(F,bt,pe,"\u22B8","\\multimap",!0),f(F,bt,pe,"\u21AD","\\leftrightsquigarrow",!0),f(F,bt,pe,"\u21C9","\\rightrightarrows",!0),f(F,bt,pe,"\u21C4","\\rightleftarrows",!0),f(F,bt,pe,"\u21A0","\\twoheadrightarrow",!0),f(F,bt,pe,"\u21A3","\\rightarrowtail",!0),f(F,bt,pe,"\u21AC","\\looparrowright",!0),f(F,bt,pe,"\u21B7","\\curvearrowright",!0),f(F,bt,pe,"\u21BB","\\circlearrowright",!0),f(F,bt,pe,"\u21B1","\\Rsh",!0),f(F,bt,pe,"\u21CA","\\downdownarrows",!0),f(F,bt,pe,"\u21BE","\\upharpoonright",!0),f(F,bt,pe,"\u21C2","\\downharpoonright",!0),f(F,bt,pe,"\u21DD","\\rightsquigarrow",!0),f(F,bt,pe,"\u21DD","\\leadsto"),f(F,bt,pe,"\u21DB","\\Rrightarrow",!0),f(F,bt,pe,"\u21BE","\\restriction"),f(F,ae,tt,"\u2018","`"),f(F,ae,tt,"$","\\$"),f(Ae,ae,tt,"$","\\$"),f(Ae,ae,tt,"$","\\textdollar"),f(F,ae,tt,"%","\\%"),f(Ae,ae,tt,"%","\\%"),f(F,ae,tt,"_","\\_"),f(Ae,ae,tt,"_","\\_"),f(Ae,ae,tt,"_","\\textunderscore"),f(F,ae,tt,"\u2220","\\angle",!0),f(F,ae,tt,"\u221E","\\infty",!0),f(F,ae,tt,"\u2032","\\prime"),f(F,ae,tt,"\u25B3","\\triangle"),f(F,ae,tt,"\u0393","\\Gamma",!0),f(F,ae,tt,"\u0394","\\Delta",!0),f(F,ae,tt,"\u0398","\\Theta",!0),f(F,ae,tt,"\u039B","\\Lambda",!0),f(F,ae,tt,"\u039E","\\Xi",!0),f(F,ae,tt,"\u03A0","\\Pi",!0),f(F,ae,tt,"\u03A3","\\Sigma",!0),f(F,ae,tt,"\u03A5","\\Upsilon",!0),f(F,ae,tt,"\u03A6","\\Phi",!0),f(F,ae,tt,"\u03A8","\\Psi",!0),f(F,ae,tt,"\u03A9","\\Omega",!0),f(F,ae,tt,"A","\u0391"),f(F,ae,tt,"B","\u0392"),f(F,ae,tt,"E","\u0395"),f(F,ae,tt,"Z","\u0396"),f(F,ae,tt,"H","\u0397"),f(F,ae,tt,"I","\u0399"),f(F,ae,tt,"K","\u039A"),f(F,ae,tt,"M","\u039C"),f(F,ae,tt,"N","\u039D"),f(F,ae,tt,"O","\u039F"),f(F,ae,tt,"P","\u03A1"),f(F,ae,tt,"T","\u03A4"),f(F,ae,tt,"X","\u03A7"),f(F,ae,tt,"\xAC","\\neg",!0),f(F,ae,tt,"\xAC","\\lnot"),f(F,ae,tt,"\u22A4","\\top"),f(F,ae,tt,"\u22A5","\\bot"),f(F,ae,tt,"\u2205","\\emptyset"),f(F,bt,tt,"\u2205","\\varnothing"),f(F,ae,Nr,"\u03B1","\\alpha",!0),f(F,ae,Nr,"\u03B2","\\beta",!0),f(F,ae,Nr,"\u03B3","\\gamma",!0),f(F,ae,Nr,"\u03B4","\\delta",!0),f(F,ae,Nr,"\u03F5","\\epsilon",!0),f(F,ae,Nr,"\u03B6","\\zeta",!0),f(F,ae,Nr,"\u03B7","\\eta",!0),f(F,ae,Nr,"\u03B8","\\theta",!0),f(F,ae,Nr,"\u03B9","\\iota",!0),f(F,ae,Nr,"\u03BA","\\kappa",!0),f(F,ae,Nr,"\u03BB","\\lambda",!0),f(F,ae,Nr,"\u03BC","\\mu",!0),f(F,ae,Nr,"\u03BD","\\nu",!0),f(F,ae,Nr,"\u03BE","\\xi",!0),f(F,ae,Nr,"\u03BF","\\omicron",!0),f(F,ae,Nr,"\u03C0","\\pi",!0),f(F,ae,Nr,"\u03C1","\\rho",!0),f(F,ae,Nr,"\u03C3","\\sigma",!0),f(F,ae,Nr,"\u03C4","\\tau",!0),f(F,ae,Nr,"\u03C5","\\upsilon",!0),f(F,ae,Nr,"\u03D5","\\phi",!0),f(F,ae,Nr,"\u03C7","\\chi",!0),f(F,ae,Nr,"\u03C8","\\psi",!0),f(F,ae,Nr,"\u03C9","\\omega",!0),f(F,ae,Nr,"\u03B5","\\varepsilon",!0),f(F,ae,Nr,"\u03D1","\\vartheta",!0),f(F,ae,Nr,"\u03D6","\\varpi",!0),f(F,ae,Nr,"\u03F1","\\varrho",!0),f(F,ae,Nr,"\u03C2","\\varsigma",!0),f(F,ae,Nr,"\u03C6","\\varphi",!0),f(F,ae,yt,"\u2217","*",!0),f(F,ae,yt,"+","+"),f(F,ae,yt,"\u2212","-",!0),f(F,ae,yt,"\u22C5","\\cdot",!0),f(F,ae,yt,"\u2218","\\circ",!0),f(F,ae,yt,"\xF7","\\div",!0),f(F,ae,yt,"\xB1","\\pm",!0),f(F,ae,yt,"\xD7","\\times",!0),f(F,ae,yt,"\u2229","\\cap",!0),f(F,ae,yt,"\u222A","\\cup",!0),f(F,ae,yt,"\u2216","\\setminus",!0),f(F,ae,yt,"\u2227","\\land"),f(F,ae,yt,"\u2228","\\lor"),f(F,ae,yt,"\u2227","\\wedge",!0),f(F,ae,yt,"\u2228","\\vee",!0),f(F,ae,tt,"\u221A","\\surd"),f(F,ae,vn,"\u27E8","\\langle",!0),f(F,ae,vn,"\u2223","\\lvert"),f(F,ae,vn,"\u2225","\\lVert"),f(F,ae,Vt,"?","?"),f(F,ae,Vt,"!","!"),f(F,ae,Vt,"\u27E9","\\rangle",!0),f(F,ae,Vt,"\u2223","\\rvert"),f(F,ae,Vt,"\u2225","\\rVert"),f(F,ae,pe,"=","="),f(F,ae,pe,":",":"),f(F,ae,pe,"\u2248","\\approx",!0),f(F,ae,pe,"\u2245","\\cong",!0),f(F,ae,pe,"\u2265","\\ge"),f(F,ae,pe,"\u2265","\\geq",!0),f(F,ae,pe,"\u2190","\\gets"),f(F,ae,pe,">","\\gt",!0),f(F,ae,pe,"\u2208","\\in",!0),f(F,ae,pe,"\uE020","\\@not"),f(F,ae,pe,"\u2282","\\subset",!0),f(F,ae,pe,"\u2283","\\supset",!0),f(F,ae,pe,"\u2286","\\subseteq",!0),f(F,ae,pe,"\u2287","\\supseteq",!0),f(F,bt,pe,"\u2288","\\nsubseteq",!0),f(F,bt,pe,"\u2289","\\nsupseteq",!0),f(F,ae,pe,"\u22A8","\\models"),f(F,ae,pe,"\u2190","\\leftarrow",!0),f(F,ae,pe,"\u2264","\\le"),f(F,ae,pe,"\u2264","\\leq",!0),f(F,ae,pe,"<","\\lt",!0),f(F,ae,pe,"\u2192","\\rightarrow",!0),f(F,ae,pe,"\u2192","\\to"),f(F,bt,pe,"\u2271","\\ngeq",!0),f(F,bt,pe,"\u2270","\\nleq",!0),f(F,ae,fr,"\xA0","\\ "),f(F,ae,fr,"\xA0","\\space"),f(F,ae,fr,"\xA0","\\nobreakspace"),f(Ae,ae,fr,"\xA0","\\ "),f(Ae,ae,fr,"\xA0"," "),f(Ae,ae,fr,"\xA0","\\space"),f(Ae,ae,fr,"\xA0","\\nobreakspace"),f(F,ae,fr,null,"\\nobreak"),f(F,ae,fr,null,"\\allowbreak"),f(F,ae,_n,",",","),f(F,ae,_n,";",";"),f(F,bt,yt,"\u22BC","\\barwedge",!0),f(F,bt,yt,"\u22BB","\\veebar",!0),f(F,ae,yt,"\u2299","\\odot",!0),f(F,ae,yt,"\u2295","\\oplus",!0),f(F,ae,yt,"\u2297","\\otimes",!0),f(F,ae,tt,"\u2202","\\partial",!0),f(F,ae,yt,"\u2298","\\oslash",!0),f(F,bt,yt,"\u229A","\\circledcirc",!0),f(F,bt,yt,"\u22A1","\\boxdot",!0),f(F,ae,yt,"\u25B3","\\bigtriangleup"),f(F,ae,yt,"\u25BD","\\bigtriangledown"),f(F,ae,yt,"\u2020","\\dagger"),f(F,ae,yt,"\u22C4","\\diamond"),f(F,ae,yt,"\u22C6","\\star"),f(F,ae,yt,"\u25C3","\\triangleleft"),f(F,ae,yt,"\u25B9","\\triangleright"),f(F,ae,vn,"{","\\{"),f(Ae,ae,tt,"{","\\{"),f(Ae,ae,tt,"{","\\textbraceleft"),f(F,ae,Vt,"}","\\}"),f(Ae,ae,tt,"}","\\}"),f(Ae,ae,tt,"}","\\textbraceright"),f(F,ae,vn,"{","\\lbrace"),f(F,ae,Vt,"}","\\rbrace"),f(F,ae,vn,"[","\\lbrack",!0),f(Ae,ae,tt,"[","\\lbrack",!0),f(F,ae,Vt,"]","\\rbrack",!0),f(Ae,ae,tt,"]","\\rbrack",!0),f(F,ae,vn,"(","\\lparen",!0),f(F,ae,Vt,")","\\rparen",!0),f(Ae,ae,tt,"<","\\textless",!0),f(Ae,ae,tt,">","\\textgreater",!0),f(F,ae,vn,"\u230A","\\lfloor",!0),f(F,ae,Vt,"\u230B","\\rfloor",!0),f(F,ae,vn,"\u2308","\\lceil",!0),f(F,ae,Vt,"\u2309","\\rceil",!0),f(F,ae,tt,"\\","\\backslash"),f(F,ae,tt,"\u2223","|"),f(F,ae,tt,"\u2223","\\vert"),f(Ae,ae,tt,"|","\\textbar",!0),f(F,ae,tt,"\u2225","\\|"),f(F,ae,tt,"\u2225","\\Vert"),f(Ae,ae,tt,"\u2225","\\textbardbl"),f(Ae,ae,tt,"~","\\textasciitilde"),f(Ae,ae,tt,"\\","\\textbackslash"),f(Ae,ae,tt,"^","\\textasciicircum"),f(F,ae,pe,"\u2191","\\uparrow",!0),f(F,ae,pe,"\u21D1","\\Uparrow",!0),f(F,ae,pe,"\u2193","\\downarrow",!0),f(F,ae,pe,"\u21D3","\\Downarrow",!0),f(F,ae,pe,"\u2195","\\updownarrow",!0),f(F,ae,pe,"\u21D5","\\Updownarrow",!0),f(F,ae,Qr,"\u2210","\\coprod"),f(F,ae,Qr,"\u22C1","\\bigvee"),f(F,ae,Qr,"\u22C0","\\bigwedge"),f(F,ae,Qr,"\u2A04","\\biguplus"),f(F,ae,Qr,"\u22C2","\\bigcap"),f(F,ae,Qr,"\u22C3","\\bigcup"),f(F,ae,Qr,"\u222B","\\int"),f(F,ae,Qr,"\u222B","\\intop"),f(F,ae,Qr,"\u222C","\\iint"),f(F,ae,Qr,"\u222D","\\iiint"),f(F,ae,Qr,"\u220F","\\prod"),f(F,ae,Qr,"\u2211","\\sum"),f(F,ae,Qr,"\u2A02","\\bigotimes"),f(F,ae,Qr,"\u2A01","\\bigoplus"),f(F,ae,Qr,"\u2A00","\\bigodot"),f(F,ae,Qr,"\u222E","\\oint"),f(F,ae,Qr,"\u222F","\\oiint"),f(F,ae,Qr,"\u2230","\\oiiint"),f(F,ae,Qr,"\u2A06","\\bigsqcup"),f(F,ae,Qr,"\u222B","\\smallint"),f(Ae,ae,Wr,"\u2026","\\textellipsis"),f(F,ae,Wr,"\u2026","\\mathellipsis"),f(Ae,ae,Wr,"\u2026","\\ldots",!0),f(F,ae,Wr,"\u2026","\\ldots",!0),f(F,ae,Wr,"\u22EF","\\@cdots",!0),f(F,ae,Wr,"\u22F1","\\ddots",!0),f(F,ae,tt,"\u22EE","\\varvdots"),f(Ae,ae,tt,"\u22EE","\\varvdots"),f(F,ae,bn,"\u02CA","\\acute"),f(F,ae,bn,"\u02CB","\\grave"),f(F,ae,bn,"\xA8","\\ddot"),f(F,ae,bn,"~","\\tilde"),f(F,ae,bn,"\u02C9","\\bar"),f(F,ae,bn,"\u02D8","\\breve"),f(F,ae,bn,"\u02C7","\\check"),f(F,ae,bn,"^","\\hat"),f(F,ae,bn,"\u20D7","\\vec"),f(F,ae,bn,"\u02D9","\\dot"),f(F,ae,bn,"\u02DA","\\mathring"),f(F,ae,Nr,"\uE131","\\@imath"),f(F,ae,Nr,"\uE237","\\@jmath"),f(F,ae,tt,"\u0131","\u0131"),f(F,ae,tt,"\u0237","\u0237"),f(Ae,ae,tt,"\u0131","\\i",!0),f(Ae,ae,tt,"\u0237","\\j",!0),f(Ae,ae,tt,"\xDF","\\ss",!0),f(Ae,ae,tt,"\xE6","\\ae",!0),f(Ae,ae,tt,"\u0153","\\oe",!0),f(Ae,ae,tt,"\xF8","\\o",!0),f(Ae,ae,tt,"\xC6","\\AE",!0),f(Ae,ae,tt,"\u0152","\\OE",!0),f(Ae,ae,tt,"\xD8","\\O",!0),f(Ae,ae,bn,"\u02CA","\\'"),f(Ae,ae,bn,"\u02CB","\\`"),f(Ae,ae,bn,"\u02C6","\\^"),f(Ae,ae,bn,"\u02DC","\\~"),f(Ae,ae,bn,"\u02C9","\\="),f(Ae,ae,bn,"\u02D8","\\u"),f(Ae,ae,bn,"\u02D9","\\."),f(Ae,ae,bn,"\xB8","\\c"),f(Ae,ae,bn,"\u02DA","\\r"),f(Ae,ae,bn,"\u02C7","\\v"),f(Ae,ae,bn,"\xA8",'\\"'),f(Ae,ae,bn,"\u02DD","\\H"),f(Ae,ae,bn,"\u25EF","\\textcircled");var Or={"--":!0,"---":!0,"``":!0,"''":!0};f(Ae,ae,tt,"\u2013","--",!0),f(Ae,ae,tt,"\u2013","\\textendash"),f(Ae,ae,tt,"\u2014","---",!0),f(Ae,ae,tt,"\u2014","\\textemdash"),f(Ae,ae,tt,"\u2018","`",!0),f(Ae,ae,tt,"\u2018","\\textquoteleft"),f(Ae,ae,tt,"\u2019","'",!0),f(Ae,ae,tt,"\u2019","\\textquoteright"),f(Ae,ae,tt,"\u201C","``",!0),f(Ae,ae,tt,"\u201C","\\textquotedblleft"),f(Ae,ae,tt,"\u201D","''",!0),f(Ae,ae,tt,"\u201D","\\textquotedblright"),f(F,ae,tt,"\xB0","\\degree",!0),f(Ae,ae,tt,"\xB0","\\degree"),f(Ae,ae,tt,"\xB0","\\textdegree",!0),f(F,ae,tt,"\xA3","\\pounds"),f(F,ae,tt,"\xA3","\\mathsterling",!0),f(Ae,ae,tt,"\xA3","\\pounds"),f(Ae,ae,tt,"\xA3","\\textsterling",!0),f(F,bt,tt,"\u2720","\\maltese"),f(Ae,bt,tt,"\u2720","\\maltese");for(var Kr='0123456789/@."',xn=0;xn<Kr.length;xn++){var kn=Kr.charAt(xn);f(F,ae,tt,kn,kn)}for(var xt='0123456789!@*()-=+";:?/.,',tr=0;tr<xt.length;tr++){var or=xt.charAt(tr);f(Ae,ae,tt,or,or)}for(var ir="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Pr=0;Pr<ir.length;Pr++){var tn=ir.charAt(Pr);f(F,ae,Nr,tn,tn),f(Ae,ae,tt,tn,tn)}f(F,bt,tt,"C","\u2102"),f(Ae,bt,tt,"C","\u2102"),f(F,bt,tt,"H","\u210D"),f(Ae,bt,tt,"H","\u210D"),f(F,bt,tt,"N","\u2115"),f(Ae,bt,tt,"N","\u2115"),f(F,bt,tt,"P","\u2119"),f(Ae,bt,tt,"P","\u2119"),f(F,bt,tt,"Q","\u211A"),f(Ae,bt,tt,"Q","\u211A"),f(F,bt,tt,"R","\u211D"),f(Ae,bt,tt,"R","\u211D"),f(F,bt,tt,"Z","\u2124"),f(Ae,bt,tt,"Z","\u2124"),f(F,ae,Nr,"h","\u210E"),f(Ae,ae,Nr,"h","\u210E");for(var Hr="",Lr=0;Lr<ir.length;Lr++){var ln=ir.charAt(Lr);Hr=String.fromCharCode(55349,56320+Lr),f(F,ae,Nr,ln,Hr),f(Ae,ae,tt,ln,Hr),Hr=String.fromCharCode(55349,56372+Lr),f(F,ae,Nr,ln,Hr),f(Ae,ae,tt,ln,Hr),Hr=String.fromCharCode(55349,56424+Lr),f(F,ae,Nr,ln,Hr),f(Ae,ae,tt,ln,Hr),Hr=String.fromCharCode(55349,56580+Lr),f(F,ae,Nr,ln,Hr),f(Ae,ae,tt,ln,Hr),Hr=String.fromCharCode(55349,56684+Lr),f(F,ae,Nr,ln,Hr),f(Ae,ae,tt,ln,Hr),Hr=String.fromCharCode(55349,56736+Lr),f(F,ae,Nr,ln,Hr),f(Ae,ae,tt,ln,Hr),Hr=String.fromCharCode(55349,56788+Lr),f(F,ae,Nr,ln,Hr),f(Ae,ae,tt,ln,Hr),Hr=String.fromCharCode(55349,56840+Lr),f(F,ae,Nr,ln,Hr),f(Ae,ae,tt,ln,Hr),Hr=String.fromCharCode(55349,56944+Lr),f(F,ae,Nr,ln,Hr),f(Ae,ae,tt,ln,Hr),Lr<26&&(Hr=String.fromCharCode(55349,56632+Lr),f(F,ae,Nr,ln,Hr),f(Ae,ae,tt,ln,Hr),Hr=String.fromCharCode(55349,56476+Lr),f(F,ae,Nr,ln,Hr),f(Ae,ae,tt,ln,Hr))}Hr="\u{1D55C}",f(F,ae,Nr,"k",Hr),f(Ae,ae,tt,"k",Hr);for(var pn=0;pn<10;pn++){var En=pn.toString();Hr=String.fromCharCode(55349,57294+pn),f(F,ae,Nr,En,Hr),f(Ae,ae,tt,En,Hr),Hr=String.fromCharCode(55349,57314+pn),f(F,ae,Nr,En,Hr),f(Ae,ae,tt,En,Hr),Hr=String.fromCharCode(55349,57324+pn),f(F,ae,Nr,En,Hr),f(Ae,ae,tt,En,Hr),Hr=String.fromCharCode(55349,57334+pn),f(F,ae,Nr,En,Hr),f(Ae,ae,tt,En,Hr)}for(var Dn="\xD0\xDE\xFE",$n=0;$n<Dn.length;$n++){var Pn=Dn.charAt($n);f(F,ae,Nr,Pn,Pn),f(Ae,ae,tt,Pn,Pn)}var Xn=[["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"]],dn=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],In=function(e,r){var h=e.charCodeAt(0),C=e.charCodeAt(1),K=(h-55296)*1024+(C-56320)+65536,Ie=r==="math"?0:1;if(119808<=K&&K<120484){var Ge=Math.floor((K-119808)/26);return[Xn[Ge][2],Xn[Ge][Ie]]}else if(120782<=K&&K<=120831){var _e=Math.floor((K-120782)/10);return[dn[_e][2],dn[_e][Ie]]}else{if(K===120485||K===120486)return[Xn[0][2],Xn[0][Ie]];if(120486<K&&K<120782)return["",""];throw new te("Unsupported character: "+e)}},Gn=function(e,r,h){return Tr[h][e]&&Tr[h][e].replace&&(e=Tr[h][e].replace),{value:e,metrics:Re(e,r,h)}},ea=function(e,r,h,C,K){var Ie=Gn(e,r,h),Ge=Ie.metrics;e=Ie.value;var _e;if(Ge){var Kt=Ge.italic;(h==="text"||C&&C.font==="mathit")&&(Kt=0),_e=new ke(e,Ge.height,Ge.depth,Kt,Ge.skew,Ge.width,K)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+e+"' in style '"+r+"' and mode '"+h+"'")),_e=new ke(e,0,0,0,0,0,K);if(C){_e.maxFontSize=C.sizeMultiplier,C.style.isTight()&&_e.classes.push("mtight");var hr=C.getColor();hr&&(_e.style.color=hr)}return _e},Nn=function(e,r,h,C){return C===void 0&&(C=[]),h.font==="boldsymbol"&&Gn(e,"Main-Bold",r).metrics?ea(e,"Main-Bold",r,h,C.concat(["mathbf"])):e==="\\"||Tr[r][e].font==="main"?ea(e,"Main-Regular",r,h,C):ea(e,"AMS-Regular",r,h,C.concat(["amsrm"]))},Yn=function(e,r,h,C,K){return K!=="textord"&&Gn(e,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Un=function(e,r,h){var C=e.mode,K=e.text,Ie=["mord"],Ge=C==="math"||C==="text"&&r.font,_e=Ge?r.font:r.fontFamily,Kt="",hr="";if(K.charCodeAt(0)===55349&&([Kt,hr]=In(K,C)),Kt.length>0)return ea(K,Kt,C,r,Ie.concat(hr));if(_e){var br,kr;if(_e==="boldsymbol"){var Dr=Yn(K,C,r,Ie,h);br=Dr.fontName,kr=[Dr.fontClass]}else Ge?(br=me[_e].fontName,kr=[_e]):(br=gt(_e,r.fontWeight,r.fontShape),kr=[_e,r.fontWeight,r.fontShape]);if(Gn(K,br,C).metrics)return ea(K,br,C,r,Ie.concat(kr));if(Or.hasOwnProperty(K)&&br.slice(0,10)==="Typewriter"){for(var hn=[],An=0;An<K.length;An++)hn.push(ea(K[An],br,C,r,Ie.concat(kr)));return V(hn)}}if(h==="mathord")return ea(K,"Math-Italic",C,r,Ie.concat(["mathnormal"]));if(h==="textord"){var Fn=Tr[C][K]&&Tr[C][K].font;if(Fn==="ams"){var jn=gt("amsrm",r.fontWeight,r.fontShape);return ea(K,jn,C,r,Ie.concat("amsrm",r.fontWeight,r.fontShape))}else if(Fn==="main"||!Fn){var Qn=gt("textrm",r.fontWeight,r.fontShape);return ea(K,Qn,C,r,Ie.concat(r.fontWeight,r.fontShape))}else{var qn=gt(Fn,r.fontWeight,r.fontShape);return ea(K,qn,C,r,Ie.concat(qn,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+h+" in makeOrd")},g=(c,e)=>{if(gr(c.classes)!==gr(e.classes)||c.skew!==e.skew||c.maxFontSize!==e.maxFontSize)return!1;if(c.classes.length===1){var r=c.classes[0];if(r==="mbin"||r==="mord")return!1}for(var h in c.style)if(c.style.hasOwnProperty(h)&&c.style[h]!==e.style[h])return!1;for(var C in e.style)if(e.style.hasOwnProperty(C)&&c.style[C]!==e.style[C])return!1;return!0},u=c=>{for(var e=0;e<c.length-1;e++){var r=c[e],h=c[e+1];r instanceof ke&&h instanceof ke&&g(r,h)&&(r.text+=h.text,r.height=Math.max(r.height,h.height),r.depth=Math.max(r.depth,h.depth),r.italic=h.italic,c.splice(e+1,1),e--)}return c},d=function(e){for(var r=0,h=0,C=0,K=0;K<e.children.length;K++){var Ie=e.children[K];Ie.height>r&&(r=Ie.height),Ie.depth>h&&(h=Ie.depth),Ie.maxFontSize>C&&(C=Ie.maxFontSize)}e.height=r,e.depth=h,e.maxFontSize=C},v=function(e,r,h,C){var K=new S(e,r,h,C);return d(K),K},O=(c,e,r,h)=>new S(c,e,r,h),b=function(e,r,h){var C=v([e],[],r);return C.height=Math.max(h||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),C.style.borderBottomWidth=St(C.height),C.maxFontSize=1,C},z=function(e,r,h,C){var K=new N(e,r,h,C);return d(K),K},V=function(e){var r=new fe(e);return d(r),r},ee=function(e,r){return e instanceof fe?v([],[e],r):e},Ee=function(e){if(e.positionType==="individualShift"){for(var r=e.children,h=[r[0]],C=-r[0].shift-r[0].elem.depth,K=C,Ie=1;Ie<r.length;Ie++){var Ge=-r[Ie].shift-K-r[Ie].elem.depth,_e=Ge-(r[Ie-1].elem.height+r[Ie-1].elem.depth);K=K+Ge,h.push({type:"kern",size:_e}),h.push(r[Ie])}return{children:h,depth:C}}var Kt;if(e.positionType==="top"){for(var hr=e.positionData,br=0;br<e.children.length;br++){var kr=e.children[br];hr-=kr.type==="kern"?kr.size:kr.elem.height+kr.elem.depth}Kt=hr}else if(e.positionType==="bottom")Kt=-e.positionData;else{var Dr=e.children[0];if(Dr.type!=="elem")throw new Error('First child must have type "elem".');if(e.positionType==="shift")Kt=-Dr.elem.depth-e.positionData;else if(e.positionType==="firstBaseline")Kt=-Dr.elem.depth;else throw new Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:Kt}},ot=function(e,r){for(var{children:h,depth:C}=Ee(e),K=0,Ie=0;Ie<h.length;Ie++){var Ge=h[Ie];if(Ge.type==="elem"){var _e=Ge.elem;K=Math.max(K,_e.maxFontSize,_e.height)}}K+=2;var Kt=v(["pstrut"],[]);Kt.style.height=St(K);for(var hr=[],br=C,kr=C,Dr=C,hn=0;hn<h.length;hn++){var An=h[hn];if(An.type==="kern")Dr+=An.size;else{var Fn=An.elem,jn=An.wrapperClasses||[],Qn=An.wrapperStyle||{},qn=v(jn,[Kt,Fn],void 0,Qn);qn.style.top=St(-K-Dr-Fn.depth),An.marginLeft&&(qn.style.marginLeft=An.marginLeft),An.marginRight&&(qn.style.marginRight=An.marginRight),hr.push(qn),Dr+=Fn.height+Fn.depth}br=Math.min(br,Dr),kr=Math.max(kr,Dr)}var ha=v(["vlist"],hr);ha.style.height=St(kr);var pa;if(br<0){var $a=v([],[]),Ea=v(["vlist"],[$a]);Ea.style.height=St(-br);var Ka=v(["vlist-s"],[new ke("\u200B")]);pa=[v(["vlist-r"],[ha,Ka]),v(["vlist-r"],[Ea])]}else pa=[v(["vlist-r"],[ha])];var ja=v(["vlist-t"],pa);return pa.length===2&&ja.classes.push("vlist-t2"),ja.height=kr,ja.depth=-br,ja},Xe=(c,e)=>{var r=v(["mspace"],[],e),h=Ut(c,e);return r.style.marginRight=St(h),r},gt=function(e,r,h){var C="";switch(e){case"amsrm":C="AMS";break;case"textrm":C="Main";break;case"textsf":C="SansSerif";break;case"texttt":C="Typewriter";break;default:C=e}var K;return r==="textbf"&&h==="textit"?K="BoldItalic":r==="textbf"?K="Bold":r==="textit"?K="Italic":K="Regular",C+"-"+K},me={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"}},Ht={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},je=function(e,r){var[h,C,K]=Ht[e],Ie=new Ir(h),Ge=new zr([Ie],{width:St(C),height:St(K),style:"width:"+St(C),viewBox:"0 0 "+1e3*C+" "+1e3*K,preserveAspectRatio:"xMinYMin"}),_e=O(["overlay"],[Ge],r);return _e.height=K,_e.style.height=St(K),_e.style.width=St(C),_e},Pe={fontMap:me,makeSymbol:ea,mathsym:Nn,makeSpan:v,makeSvgSpan:O,makeLineSpan:b,makeAnchor:z,makeFragment:V,wrapFragment:ee,makeVList:ot,makeOrd:Un,makeGlue:Xe,staticSvg:je,svgData:Ht,tryCombineChars:u},at={number:3,unit:"mu"},Ft={number:4,unit:"mu"},cr={number:5,unit:"mu"},Rr={mord:{mop:at,mbin:Ft,mrel:cr,minner:at},mop:{mord:at,mop:at,mrel:cr,minner:at},mbin:{mord:Ft,mop:Ft,mopen:Ft,minner:Ft},mrel:{mord:cr,mop:cr,mopen:cr,minner:cr},mopen:{},mclose:{mop:at,mbin:Ft,mrel:cr,minner:at},mpunct:{mord:at,mop:at,mrel:cr,mopen:at,mclose:at,mpunct:at,minner:at},minner:{mord:at,mop:at,mbin:Ft,mrel:cr,mopen:at,mpunct:at,minner:at}},Vr={mord:{mop:at},mop:{mord:at,mop:at},mbin:{},mrel:{},mopen:{},mclose:{mop:at},mpunct:{},minner:{mop:at}},Mr={},wr={},Zt={};function _t(c){for(var{type:e,names:r,props:h,handler:C,htmlBuilder:K,mathmlBuilder:Ie}=c,Ge={type:e,numArgs:h.numArgs,argTypes:h.argTypes,allowedInArgument:!!h.allowedInArgument,allowedInText:!!h.allowedInText,allowedInMath:h.allowedInMath===void 0?!0:h.allowedInMath,numOptionalArgs:h.numOptionalArgs||0,infix:!!h.infix,primitive:!!h.primitive,handler:C},_e=0;_e<r.length;++_e)Mr[r[_e]]=Ge;e&&(K&&(wr[e]=K),Ie&&(Zt[e]=Ie))}function Br(c){var{type:e,htmlBuilder:r,mathmlBuilder:h}=c;_t({type:e,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:h})}var dt=function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},ut=function(e){return e.type==="ordgroup"?e.body:[e]},rr=Pe.makeSpan,Pt=["leftmost","mbin","mopen","mrel","mop","mpunct"],Ve=["rightmost","mrel","mclose","mpunct"],ve={display:_.DISPLAY,text:_.TEXT,script:_.SCRIPT,scriptscript:_.SCRIPTSCRIPT},$t={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Ct=function(e,r,h,C){C===void 0&&(C=[null,null]);for(var K=[],Ie=0;Ie<e.length;Ie++){var Ge=rt(e[Ie],r);if(Ge instanceof fe){var _e=Ge.children;K.push(..._e)}else K.push(Ge)}if(Pe.tryCombineChars(K),!h)return K;var Kt=r;if(e.length===1){var hr=e[0];hr.type==="sizing"?Kt=r.havingSize(hr.size):hr.type==="styling"&&(Kt=r.havingStyle(ve[hr.style]))}var br=rr([C[0]||"leftmost"],[],r),kr=rr([C[1]||"rightmost"],[],r),Dr=h==="root";return Xt(K,(hn,An)=>{var Fn=An.classes[0],jn=hn.classes[0];Fn==="mbin"&&$.contains(Ve,jn)?An.classes[0]="mord":jn==="mbin"&&$.contains(Pt,Fn)&&(hn.classes[0]="mord")},{node:br},kr,Dr),Xt(K,(hn,An)=>{var Fn=be(An),jn=be(hn),Qn=Fn&&jn?hn.hasClass("mtight")?Vr[Fn][jn]:Rr[Fn][jn]:null;if(Qn)return Pe.makeGlue(Qn,Kt)},{node:br},kr,Dr),K},Xt=function c(e,r,h,C,K){C&&e.push(C);for(var Ie=0;Ie<e.length;Ie++){var Ge=e[Ie],_e=Gt(Ge);if(_e){c(_e.children,r,h,null,K);continue}var Kt=!Ge.hasClass("mspace");if(Kt){var hr=r(Ge,h.node);hr&&(h.insertAfter?h.insertAfter(hr):(e.unshift(hr),Ie++))}Kt?h.node=Ge:K&&Ge.hasClass("newline")&&(h.node=rr(["leftmost"])),h.insertAfter=(br=>kr=>{e.splice(br+1,0,kr),Ie++})(Ie)}C&&e.pop()},Gt=function(e){return e instanceof fe||e instanceof N||e instanceof S&&e.hasClass("enclosing")?e:null},Sr=function c(e,r){var h=Gt(e);if(h){var C=h.children;if(C.length){if(r==="right")return c(C[C.length-1],"right");if(r==="left")return c(C[0],"left")}}return e},be=function(e,r){return e?(r&&(e=Sr(e,r)),$t[e.classes[0]]||null):null},nt=function(e,r){var h=["nulldelimiter"].concat(e.baseSizingClasses());return rr(r.concat(h))},rt=function(e,r,h){if(!e)return rr();if(wr[e.type]){var C=wr[e.type](e,r);if(h&&r.size!==h.size){C=rr(r.sizingClasses(h),[C],r);var K=r.sizeMultiplier/h.sizeMultiplier;C.height*=K,C.depth*=K}return C}else throw new te("Got group of unknown type: '"+e.type+"'")};function kt(c,e){var r=rr(["base"],c,e),h=rr(["strut"]);return h.style.height=St(r.height+r.depth),r.depth&&(h.style.verticalAlign=St(-r.depth)),r.children.unshift(h),r}function Yt(c,e){var r=null;c.length===1&&c[0].type==="tag"&&(r=c[0].tag,c=c[0].body);var h=Ct(c,e,"root"),C;h.length===2&&h[1].hasClass("tag")&&(C=h.pop());for(var K=[],Ie=[],Ge=0;Ge<h.length;Ge++)if(Ie.push(h[Ge]),h[Ge].hasClass("mbin")||h[Ge].hasClass("mrel")||h[Ge].hasClass("allowbreak")){for(var _e=!1;Ge<h.length-1&&h[Ge+1].hasClass("mspace")&&!h[Ge+1].hasClass("newline");)Ge++,Ie.push(h[Ge]),h[Ge].hasClass("nobreak")&&(_e=!0);_e||(K.push(kt(Ie,e)),Ie=[])}else h[Ge].hasClass("newline")&&(Ie.pop(),Ie.length>0&&(K.push(kt(Ie,e)),Ie=[]),K.push(h[Ge]));Ie.length>0&&K.push(kt(Ie,e));var Kt;r?(Kt=kt(Ct(r,e,!0)),Kt.classes=["tag"],K.push(Kt)):C&&K.push(C);var hr=rr(["katex-html"],K);if(hr.setAttribute("aria-hidden","true"),Kt){var br=Kt.children[0];br.style.height=St(hr.height+hr.depth),hr.depth&&(br.style.verticalAlign=St(-hr.depth))}return hr}function Lt(c){return new fe(c)}class Bt{constructor(e,r,h){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=r||[],this.classes=h||[]}setAttribute(e,r){this.attributes[e]=r}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&e.setAttribute(r,this.attributes[r]);this.classes.length>0&&(e.className=gr(this.classes));for(var h=0;h<this.children.length;h++)if(this.children[h]instanceof Qt&&this.children[h+1]instanceof Qt){for(var C=this.children[h].toText()+this.children[++h].toText();this.children[h+1]instanceof Qt;)C+=this.children[++h].toText();e.appendChild(new Qt(C).toNode())}else e.appendChild(this.children[h].toNode());return e}toMarkup(){var e="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="',e+=$.escape(this.attributes[r]),e+='"');this.classes.length>0&&(e+=' class ="'+$.escape(gr(this.classes))+'"'),e+=">";for(var h=0;h<this.children.length;h++)e+=this.children[h].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}}class Qt{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return $.escape(this.toText())}toText(){return this.text}}class Ur{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",St(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+St(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Wt={MathNode:Bt,TextNode:Qt,SpaceNode:Ur,newDocumentFragment:Lt},Fr=function(e,r,h){return Tr[r][e]&&Tr[r][e].replace&&e.charCodeAt(0)!==55349&&!(Or.hasOwnProperty(e)&&h&&(h.fontFamily&&h.fontFamily.slice(4,6)==="tt"||h.font&&h.font.slice(4,6)==="tt"))&&(e=Tr[r][e].replace),new Wt.TextNode(e)},Xr=function(e){return e.length===1?e[0]:new Wt.MathNode("mrow",e)},gn=function(e,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var h=r.font;if(!h||h==="mathnormal")return null;var C=e.mode;if(h==="mathit")return"italic";if(h==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(h==="mathbf")return"bold";if(h==="mathbb")return"double-struck";if(h==="mathsfit")return"sans-serif-italic";if(h==="mathfrak")return"fraktur";if(h==="mathscr"||h==="mathcal")return"script";if(h==="mathsf")return"sans-serif";if(h==="mathtt")return"monospace";var K=e.text;if($.contains(["\\imath","\\jmath"],K))return null;Tr[C][K]&&Tr[C][K].replace&&(K=Tr[C][K].replace);var Ie=Pe.fontMap[h].fontName;return Re(K,Ie,C)?Pe.fontMap[h].variant:null};function Dt(c){if(!c)return!1;if(c.type==="mi"&&c.children.length===1){var e=c.children[0];return e instanceof Qt&&e.text==="."}else if(c.type==="mo"&&c.children.length===1&&c.getAttribute("separator")==="true"&&c.getAttribute("lspace")==="0em"&&c.getAttribute("rspace")==="0em"){var r=c.children[0];return r instanceof Qt&&r.text===","}else return!1}var Et=function(e,r,h){if(e.length===1){var C=Gr(e[0],r);return h&&C instanceof Bt&&C.type==="mo"&&(C.setAttribute("lspace","0em"),C.setAttribute("rspace","0em")),[C]}for(var K=[],Ie,Ge=0;Ge<e.length;Ge++){var _e=Gr(e[Ge],r);if(_e instanceof Bt&&Ie instanceof Bt){if(_e.type==="mtext"&&Ie.type==="mtext"&&_e.getAttribute("mathvariant")===Ie.getAttribute("mathvariant")){Ie.children.push(..._e.children);continue}else if(_e.type==="mn"&&Ie.type==="mn"){Ie.children.push(..._e.children);continue}else if(Dt(_e)&&Ie.type==="mn"){Ie.children.push(..._e.children);continue}else if(_e.type==="mn"&&Dt(Ie))_e.children=[...Ie.children,..._e.children],K.pop();else if((_e.type==="msup"||_e.type==="msub")&&_e.children.length>=1&&(Ie.type==="mn"||Dt(Ie))){var Kt=_e.children[0];Kt instanceof Bt&&Kt.type==="mn"&&(Kt.children=[...Ie.children,...Kt.children],K.pop())}else if(Ie.type==="mi"&&Ie.children.length===1){var hr=Ie.children[0];if(hr instanceof Qt&&hr.text==="\u0338"&&(_e.type==="mo"||_e.type==="mi"||_e.type==="mn")){var br=_e.children[0];br instanceof Qt&&br.text.length>0&&(br.text=br.text.slice(0,1)+"\u0338"+br.text.slice(1),K.pop())}}}K.push(_e),Ie=_e}return K},wn=function(e,r,h){return Xr(Et(e,r,h))},Gr=function(e,r){if(!e)return new Wt.MathNode("mrow");if(Zt[e.type]){var h=Zt[e.type](e,r);return h}else throw new te("Got group of unknown type: '"+e.type+"'")};function qr(c,e,r,h,C){var K=Et(c,r),Ie;K.length===1&&K[0]instanceof Bt&&$.contains(["mrow","mtable"],K[0].type)?Ie=K[0]:Ie=new Wt.MathNode("mrow",K);var Ge=new Wt.MathNode("annotation",[new Wt.TextNode(e)]);Ge.setAttribute("encoding","application/x-tex");var _e=new Wt.MathNode("semantics",[Ie,Ge]),Kt=new Wt.MathNode("math",[_e]);Kt.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),h&&Kt.setAttribute("display","block");var hr=C?"katex":"katex-mathml";return Pe.makeSpan([hr],[Kt])}var nn=function(e){return new Nt({style:e.displayMode?_.DISPLAY:_.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},_r=function(e,r){if(r.displayMode){var h=["katex-display"];r.leqno&&h.push("leqno"),r.fleqn&&h.push("fleqn"),e=Pe.makeSpan(h,[e])}return e},on=function(e,r,h){var C=nn(h),K;if(h.output==="mathml")return qr(e,r,C,h.displayMode,!0);if(h.output==="html"){var Ie=Yt(e,C);K=Pe.makeSpan(["katex"],[Ie])}else{var Ge=qr(e,r,C,h.displayMode,!1),_e=Yt(e,C);K=Pe.makeSpan(["katex"],[Ge,_e])}return _r(K,h)},Mn=function(e,r,h){var C=nn(h),K=Yt(e,C),Ie=Pe.makeSpan(["katex"],[K]);return _r(Ie,h)},Ln={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":"="},Hn=function(e){var r=new Wt.MathNode("mo",[new Wt.TextNode(Ln[e.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},ta={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]},oa=function(e){return e.type==="ordgroup"?e.body.length:1},ma=function(e,r){function h(){var Ge=4e5,_e=e.label.slice(1);if($.contains(["widehat","widecheck","widetilde","utilde"],_e)){var Kt=e,hr=oa(Kt.base),br,kr,Dr;if(hr>5)_e==="widehat"||_e==="widecheck"?(br=420,Ge=2364,Dr=.42,kr=_e+"4"):(br=312,Ge=2340,Dr=.34,kr="tilde4");else{var hn=[1,1,2,2,3,3][hr];_e==="widehat"||_e==="widecheck"?(Ge=[0,1062,2364,2364,2364][hn],br=[0,239,300,360,420][hn],Dr=[0,.24,.3,.3,.36,.42][hn],kr=_e+hn):(Ge=[0,600,1033,2339,2340][hn],br=[0,260,286,306,312][hn],Dr=[0,.26,.286,.3,.306,.34][hn],kr="tilde"+hn)}var An=new Ir(kr),Fn=new zr([An],{width:"100%",height:St(Dr),viewBox:"0 0 "+Ge+" "+br,preserveAspectRatio:"none"});return{span:Pe.makeSvgSpan([],[Fn],r),minWidth:0,height:Dr}}else{var jn=[],Qn=ta[_e],[qn,ha,pa]=Qn,$a=pa/1e3,Ea=qn.length,Ka,ja;if(Ea===1){var Ha=Qn[3];Ka=["hide-tail"],ja=[Ha]}else if(Ea===2)Ka=["halfarrow-left","halfarrow-right"],ja=["xMinYMin","xMaxYMin"];else if(Ea===3)Ka=["brace-left","brace-center","brace-right"],ja=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+Ea+" children.");for(var bo=0;bo<Ea;bo++){var Da=new Ir(qn[bo]),po=new zr([Da],{width:"400em",height:St($a),viewBox:"0 0 "+Ge+" "+pa,preserveAspectRatio:ja[bo]+" slice"}),$o=Pe.makeSvgSpan([Ka[bo]],[po],r);if(Ea===1)return{span:$o,minWidth:ha,height:$a};$o.style.height=St($a),jn.push($o)}return{span:Pe.makeSpan(["stretchy"],jn,r),minWidth:ha,height:$a}}}var{span:C,minWidth:K,height:Ie}=h();return C.height=Ie,C.style.height=St(Ie),K>0&&(C.style.minWidth=St(K)),C},Kn=function(e,r,h,C,K){var Ie,Ge=e.height+e.depth+h+C;if(/fbox|color|angl/.test(r)){if(Ie=Pe.makeSpan(["stretchy",r],[],K),r==="fbox"){var _e=K.color&&K.getColor();_e&&(Ie.style.borderColor=_e)}}else{var Kt=[];/^[bx]cancel$/.test(r)&&Kt.push(new yn({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&Kt.push(new yn({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var hr=new zr(Kt,{width:"100%",height:St(Ge)});Ie=Pe.makeSvgSpan([],[hr],K)}return Ie.height=Ge,Ie.style.height=St(Ge),Ie},On={encloseSpan:Kn,mathMLnode:Hn,svgSpan:ma};function Yr(c,e){if(!c||c.type!==e)throw new Error("Expected node of type "+e+", but got "+(c?"node of type "+c.type:String(c)));return c}function Ba(c){var e=ba(c);if(!e)throw new Error("Expected node of symbol group type, but got "+(c?"node of type "+c.type:String(c)));return e}function ba(c){return c&&(c.type==="atom"||vr.hasOwnProperty(c.type))?c:null}var La=(c,e)=>{var r,h,C;c&&c.type==="supsub"?(h=Yr(c.base,"accent"),r=h.base,c.base=r,C=zt(rt(c,e)),c.base=h):(h=Yr(c,"accent"),r=h.base);var K=rt(r,e.havingCrampedStyle()),Ie=h.isShifty&&$.isCharacterBox(r),Ge=0;if(Ie){var _e=$.getBaseElem(r),Kt=rt(_e,e.havingCrampedStyle());Ge=Bn(Kt).skew}var hr=h.label==="\\c",br=hr?K.height+K.depth:Math.min(K.height,e.fontMetrics().xHeight),kr;if(h.isStretchy)kr=On.svgSpan(h,e),kr=Pe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:K},{type:"elem",elem:kr,wrapperClasses:["svg-align"],wrapperStyle:Ge>0?{width:"calc(100% - "+St(2*Ge)+")",marginLeft:St(2*Ge)}:void 0}]},e);else{var Dr,hn;h.label==="\\vec"?(Dr=Pe.staticSvg("vec",e),hn=Pe.svgData.vec[1]):(Dr=Pe.makeOrd({mode:h.mode,text:h.label},e,"textord"),Dr=Bn(Dr),Dr.italic=0,hn=Dr.width,hr&&(br+=Dr.depth)),kr=Pe.makeSpan(["accent-body"],[Dr]);var An=h.label==="\\textcircled";An&&(kr.classes.push("accent-full"),br=K.height);var Fn=Ge;An||(Fn-=hn/2),kr.style.left=St(Fn),h.label==="\\textcircled"&&(kr.style.top=".2em"),kr=Pe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:K},{type:"kern",size:-br},{type:"elem",elem:kr}]},e)}var jn=Pe.makeSpan(["mord","accent"],[kr],e);return C?(C.children[0]=jn,C.height=Math.max(jn.height,C.height),C.classes[0]="mord",C):jn},ia=(c,e)=>{var r=c.isStretchy?On.mathMLnode(c.label):new Wt.MathNode("mo",[Fr(c.label,c.mode)]),h=new Wt.MathNode("mover",[Gr(c.base,e),r]);return h.setAttribute("accent","true"),h},Ca=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(c=>"\\"+c).join("|"));_t({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:(c,e)=>{var r=dt(e[0]),h=!Ca.test(c.funcName),C=!h||c.funcName==="\\widehat"||c.funcName==="\\widetilde"||c.funcName==="\\widecheck";return{type:"accent",mode:c.parser.mode,label:c.funcName,isStretchy:h,isShifty:C,base:r}},htmlBuilder:La,mathmlBuilder:ia}),_t({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(c,e)=>{var r=e[0],h=c.parser.mode;return h==="math"&&(c.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+c.funcName+" works only in text mode"),h="text"),{type:"accent",mode:h,label:c.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:La,mathmlBuilder:ia}),_t({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(c,e)=>{var{parser:r,funcName:h}=c,C=e[0];return{type:"accentUnder",mode:r.mode,label:h,base:C}},htmlBuilder:(c,e)=>{var r=rt(c.base,e),h=On.svgSpan(c,e),C=c.label==="\\utilde"?.12:0,K=Pe.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:h,wrapperClasses:["svg-align"]},{type:"kern",size:C},{type:"elem",elem:r}]},e);return Pe.makeSpan(["mord","accentunder"],[K],e)},mathmlBuilder:(c,e)=>{var r=On.mathMLnode(c.label),h=new Wt.MathNode("munder",[Gr(c.base,e),r]);return h.setAttribute("accentunder","true"),h}});var uo=c=>{var e=new Wt.MathNode("mpadded",c?[c]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};_t({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(c,e,r){var{parser:h,funcName:C}=c;return{type:"xArrow",mode:h.mode,label:C,body:e[0],below:r[0]}},htmlBuilder(c,e){var r=e.style,h=e.havingStyle(r.sup()),C=Pe.wrapFragment(rt(c.body,h,e),e),K=c.label.slice(0,2)==="\\x"?"x":"cd";C.classes.push(K+"-arrow-pad");var Ie;c.below&&(h=e.havingStyle(r.sub()),Ie=Pe.wrapFragment(rt(c.below,h,e),e),Ie.classes.push(K+"-arrow-pad"));var Ge=On.svgSpan(c,e),_e=-e.fontMetrics().axisHeight+.5*Ge.height,Kt=-e.fontMetrics().axisHeight-.5*Ge.height-.111;(C.depth>.25||c.label==="\\xleftequilibrium")&&(Kt-=C.depth);var hr;if(Ie){var br=-e.fontMetrics().axisHeight+Ie.height+.5*Ge.height+.111;hr=Pe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:C,shift:Kt},{type:"elem",elem:Ge,shift:_e},{type:"elem",elem:Ie,shift:br}]},e)}else hr=Pe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:C,shift:Kt},{type:"elem",elem:Ge,shift:_e}]},e);return hr.children[0].children[0].children[1].classes.push("svg-align"),Pe.makeSpan(["mrel","x-arrow"],[hr],e)},mathmlBuilder(c,e){var r=On.mathMLnode(c.label);r.setAttribute("minsize",c.label.charAt(0)==="x"?"1.75em":"3.0em");var h;if(c.body){var C=uo(Gr(c.body,e));if(c.below){var K=uo(Gr(c.below,e));h=new Wt.MathNode("munderover",[r,K,C])}else h=new Wt.MathNode("mover",[r,C])}else if(c.below){var Ie=uo(Gr(c.below,e));h=new Wt.MathNode("munder",[r,Ie])}else h=uo(),h=new Wt.MathNode("mover",[r,h]);return h}});var sa=Pe.makeSpan;function no(c,e){var r=Ct(c.body,e,!0);return sa([c.mclass],r,e)}function Ma(c,e){var r,h=Et(c.body,e);return c.mclass==="minner"?r=new Wt.MathNode("mpadded",h):c.mclass==="mord"?c.isCharacterBox?(r=h[0],r.type="mi"):r=new Wt.MathNode("mi",h):(c.isCharacterBox?(r=h[0],r.type="mo"):r=new Wt.MathNode("mo",h),c.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):c.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):c.mclass==="mopen"||c.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):c.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}_t({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(c,e){var{parser:r,funcName:h}=c,C=e[0];return{type:"mclass",mode:r.mode,mclass:"m"+h.slice(5),body:ut(C),isCharacterBox:$.isCharacterBox(C)}},htmlBuilder:no,mathmlBuilder:Ma});var Wa=c=>{var e=c.type==="ordgroup"&&c.body.length?c.body[0]:c;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};_t({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(c,e){var{parser:r}=c;return{type:"mclass",mode:r.mode,mclass:Wa(e[0]),body:ut(e[1]),isCharacterBox:$.isCharacterBox(e[1])}}}),_t({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(c,e){var{parser:r,funcName:h}=c,C=e[1],K=e[0],Ie;h!=="\\stackrel"?Ie=Wa(C):Ie="mrel";var Ge={type:"op",mode:C.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:h!=="\\stackrel",body:ut(C)},_e={type:"supsub",mode:K.mode,base:Ge,sup:h==="\\underset"?null:K,sub:h==="\\underset"?K:null};return{type:"mclass",mode:r.mode,mclass:Ie,body:[_e],isCharacterBox:$.isCharacterBox(_e)}},htmlBuilder:no,mathmlBuilder:Ma}),_t({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(c,e){var{parser:r}=c;return{type:"pmb",mode:r.mode,mclass:Wa(e[0]),body:ut(e[0])}},htmlBuilder(c,e){var r=Ct(c.body,e,!0),h=Pe.makeSpan([c.mclass],r,e);return h.style.textShadow="0.02em 0.01em 0.04px",h},mathmlBuilder(c,e){var r=Et(c.body,e),h=new Wt.MathNode("mstyle",r);return h.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),h}});var Jn={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},ra=()=>({type:"styling",body:[],mode:"math",style:"display"}),fn=c=>c.type==="textord"&&c.text==="@",Cn=(c,e)=>(c.type==="mathord"||c.type==="atom")&&c.text===e;function Oa(c,e,r){var h=Jn[c];switch(h){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(h,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var C=r.callFunction("\\\\cdleft",[e[0]],[]),K={type:"atom",text:h,mode:"math",family:"rel"},Ie=r.callFunction("\\Big",[K],[]),Ge=r.callFunction("\\\\cdright",[e[1]],[]),_e={type:"ordgroup",mode:"math",body:[C,Ie,Ge]};return r.callFunction("\\\\cdparent",[_e],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var Kt={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[Kt],[])}default:return{type:"textord",text:" ",mode:"math"}}}function aa(c){var e=[];for(c.gullet.beginGroup(),c.gullet.macros.set("\\cr","\\\\\\relax"),c.gullet.beginGroup();;){e.push(c.parseExpression(!1,"\\\\")),c.gullet.endGroup(),c.gullet.beginGroup();var r=c.fetch().text;if(r==="&"||r==="\\\\")c.consume();else if(r==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new te("Expected \\\\ or \\cr or \\end",c.nextToken)}for(var h=[],C=[h],K=0;K<e.length;K++){for(var Ie=e[K],Ge=ra(),_e=0;_e<Ie.length;_e++)if(!fn(Ie[_e]))Ge.body.push(Ie[_e]);else{h.push(Ge),_e+=1;var Kt=Ba(Ie[_e]).text,hr=new Array(2);if(hr[0]={type:"ordgroup",mode:"math",body:[]},hr[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(Kt)>-1))if("<>AV".indexOf(Kt)>-1)for(var br=0;br<2;br++){for(var kr=!0,Dr=_e+1;Dr<Ie.length;Dr++){if(Cn(Ie[Dr],Kt)){kr=!1,_e=Dr;break}if(fn(Ie[Dr]))throw new te("Missing a "+Kt+" character to complete a CD arrow.",Ie[Dr]);hr[br].body.push(Ie[Dr])}if(kr)throw new te("Missing a "+Kt+" character to complete a CD arrow.",Ie[_e])}else throw new te('Expected one of "<>AV=|." after @',Ie[_e]);var hn=Oa(Kt,hr,c),An={type:"styling",body:[hn],mode:"math",style:"display"};h.push(An),Ge=ra()}K%2===0?h.push(Ge):h.shift(),h=[],C.push(h)}c.gullet.endGroup(),c.gullet.endGroup();var Fn=new Array(C[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:C,arraystretch:1,addJot:!0,rowGaps:[null],cols:Fn,colSeparationType:"CD",hLinesBeforeRow:new Array(C.length+1).fill([])}}_t({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(c,e){var{parser:r,funcName:h}=c;return{type:"cdlabel",mode:r.mode,side:h.slice(4),label:e[0]}},htmlBuilder(c,e){var r=e.havingStyle(e.style.sup()),h=Pe.wrapFragment(rt(c.label,r,e),e);return h.classes.push("cd-label-"+c.side),h.style.bottom=St(.8-h.depth),h.height=0,h.depth=0,h},mathmlBuilder(c,e){var r=new Wt.MathNode("mrow",[Gr(c.label,e)]);return r=new Wt.MathNode("mpadded",[r]),r.setAttribute("width","0"),c.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new Wt.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),_t({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(c,e){var{parser:r}=c;return{type:"cdlabelparent",mode:r.mode,fragment:e[0]}},htmlBuilder(c,e){var r=Pe.wrapFragment(rt(c.fragment,e),e);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(c,e){return new Wt.MathNode("mrow",[Gr(c.fragment,e)])}}),_t({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(c,e){for(var{parser:r}=c,h=Yr(e[0],"ordgroup"),C=h.body,K="",Ie=0;Ie<C.length;Ie++){var Ge=Yr(C[Ie],"textord");K+=Ge.text}var _e=parseInt(K),Kt;if(isNaN(_e))throw new te("\\@char has non-numeric argument "+K);if(_e<0||_e>=1114111)throw new te("\\@char with invalid code point "+K);return _e<=65535?Kt=String.fromCharCode(_e):(_e-=65536,Kt=String.fromCharCode((_e>>10)+55296,(_e&1023)+56320)),{type:"textord",mode:r.mode,text:Kt}}});var za=(c,e)=>{var r=Ct(c.body,e.withColor(c.color),!1);return Pe.makeFragment(r)},Ta=(c,e)=>{var r=Et(c.body,e.withColor(c.color)),h=new Wt.MathNode("mstyle",r);return h.setAttribute("mathcolor",c.color),h};_t({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(c,e){var{parser:r}=c,h=Yr(e[0],"color-token").color,C=e[1];return{type:"color",mode:r.mode,color:h,body:ut(C)}},htmlBuilder:za,mathmlBuilder:Ta}),_t({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(c,e){var{parser:r,breakOnTokenText:h}=c,C=Yr(e[0],"color-token").color;r.gullet.macros.set("\\current@color",C);var K=r.parseExpression(!0,h);return{type:"color",mode:r.mode,color:C,body:K}},htmlBuilder:za,mathmlBuilder:Ta}),_t({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(c,e,r){var{parser:h}=c,C=h.gullet.future().text==="["?h.parseSizeGroup(!0):null,K=!h.settings.displayMode||!h.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:h.mode,newLine:K,size:C&&Yr(C,"size").value}},htmlBuilder(c,e){var r=Pe.makeSpan(["mspace"],[],e);return c.newLine&&(r.classes.push("newline"),c.size&&(r.style.marginTop=St(Ut(c.size,e)))),r},mathmlBuilder(c,e){var r=new Wt.MathNode("mspace");return c.newLine&&(r.setAttribute("linebreak","newline"),c.size&&r.setAttribute("height",St(Ut(c.size,e)))),r}});var Wn={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},so=c=>{var e=c.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new te("Expected a control sequence",c);return e},Rn=c=>{var e=c.gullet.popToken();return e.text==="="&&(e=c.gullet.popToken(),e.text===" "&&(e=c.gullet.popToken())),e},la=(c,e,r,h)=>{var C=c.gullet.macros.get(r.text);C==null&&(r.noexpand=!0,C={tokens:[r],numArgs:0,unexpandable:!c.gullet.isExpandable(r.text)}),c.gullet.macros.set(e,C,h)};_t({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(c){var{parser:e,funcName:r}=c;e.consumeSpaces();var h=e.fetch();if(Wn[h.text])return(r==="\\global"||r==="\\\\globallong")&&(h.text=Wn[h.text]),Yr(e.parseFunction(),"internal");throw new te("Invalid token after macro prefix",h)}}),_t({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(c){var{parser:e,funcName:r}=c,h=e.gullet.popToken(),C=h.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(C))throw new te("Expected a control sequence",h);for(var K=0,Ie,Ge=[[]];e.gullet.future().text!=="{";)if(h=e.gullet.popToken(),h.text==="#"){if(e.gullet.future().text==="{"){Ie=e.gullet.future(),Ge[K].push("{");break}if(h=e.gullet.popToken(),!/^[1-9]$/.test(h.text))throw new te('Invalid argument number "'+h.text+'"');if(parseInt(h.text)!==K+1)throw new te('Argument number "'+h.text+'" out of order');K++,Ge.push([])}else{if(h.text==="EOF")throw new te("Expected a macro definition");Ge[K].push(h.text)}var{tokens:_e}=e.gullet.consumeArg();return Ie&&_e.unshift(Ie),(r==="\\edef"||r==="\\xdef")&&(_e=e.gullet.expandTokens(_e),_e.reverse()),e.gullet.macros.set(C,{tokens:_e,numArgs:K,delimiters:Ge},r===Wn[r]),{type:"internal",mode:e.mode}}}),_t({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(c){var{parser:e,funcName:r}=c,h=so(e.gullet.popToken());e.gullet.consumeSpaces();var C=Rn(e);return la(e,h,C,r==="\\\\globallet"),{type:"internal",mode:e.mode}}}),_t({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(c){var{parser:e,funcName:r}=c,h=so(e.gullet.popToken()),C=e.gullet.popToken(),K=e.gullet.popToken();return la(e,h,K,r==="\\\\globalfuture"),e.gullet.pushToken(K),e.gullet.pushToken(C),{type:"internal",mode:e.mode}}});var ca=function(e,r,h){var C=Tr.math[e]&&Tr.math[e].replace,K=Re(C||e,r,h);if(!K)throw new Error("Unsupported symbol "+e+" and font size "+r+".");return K},xa=function(e,r,h,C){var K=h.havingBaseStyle(r),Ie=Pe.makeSpan(C.concat(K.sizingClasses(h)),[e],h),Ge=K.sizeMultiplier/h.sizeMultiplier;return Ie.height*=Ge,Ie.depth*=Ge,Ie.maxFontSize=K.sizeMultiplier,Ie},Fa=function(e,r,h){var C=r.havingBaseStyle(h),K=(1-r.sizeMultiplier/C.sizeMultiplier)*r.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=St(K),e.height-=K,e.depth+=K},ao=function(e,r,h,C,K,Ie){var Ge=Pe.makeSymbol(e,"Main-Regular",K,C),_e=xa(Ge,r,C,Ie);return h&&Fa(_e,C,r),_e},Qa=function(e,r,h,C){return Pe.makeSymbol(e,"Size"+r+"-Regular",h,C)},go=function(e,r,h,C,K,Ie){var Ge=Qa(e,r,K,C),_e=xa(Pe.makeSpan(["delimsizing","size"+r],[Ge],C),_.TEXT,C,Ie);return h&&Fa(_e,C,_.TEXT),_e},ho=function(e,r,h){var C;r==="Size1-Regular"?C="delim-size1":C="delim-size4";var K=Pe.makeSpan(["delimsizinginner",C],[Pe.makeSpan([],[Pe.makeSymbol(e,r,h)])]);return{type:"elem",elem:K}},ga=function(e,r,h){var C=ue["Size4-Regular"][e.charCodeAt(0)]?ue["Size4-Regular"][e.charCodeAt(0)][4]:ue["Size1-Regular"][e.charCodeAt(0)][4],K=new Ir("inner",P(e,Math.round(1e3*r))),Ie=new zr([K],{width:St(C),height:St(r),style:"width:"+St(C),viewBox:"0 0 "+1e3*C+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),Ge=Pe.makeSvgSpan([],[Ie],h);return Ge.height=r,Ge.style.height=St(r),Ge.style.width=St(C),{type:"elem",elem:Ge}},Ia=.008,Sa={type:"kern",size:-1*Ia},Ua=["|","\\lvert","\\rvert","\\vert"],_a=["\\|","\\lVert","\\rVert","\\Vert"],ya=function(e,r,h,C,K,Ie){var Ge,_e,Kt,hr,br="",kr=0;Ge=Kt=hr=e,_e=null;var Dr="Size1-Regular";e==="\\uparrow"?Kt=hr="\u23D0":e==="\\Uparrow"?Kt=hr="\u2016":e==="\\downarrow"?Ge=Kt="\u23D0":e==="\\Downarrow"?Ge=Kt="\u2016":e==="\\updownarrow"?(Ge="\\uparrow",Kt="\u23D0",hr="\\downarrow"):e==="\\Updownarrow"?(Ge="\\Uparrow",Kt="\u2016",hr="\\Downarrow"):$.contains(Ua,e)?(Kt="\u2223",br="vert",kr=333):$.contains(_a,e)?(Kt="\u2225",br="doublevert",kr=556):e==="["||e==="\\lbrack"?(Ge="\u23A1",Kt="\u23A2",hr="\u23A3",Dr="Size4-Regular",br="lbrack",kr=667):e==="]"||e==="\\rbrack"?(Ge="\u23A4",Kt="\u23A5",hr="\u23A6",Dr="Size4-Regular",br="rbrack",kr=667):e==="\\lfloor"||e==="\u230A"?(Kt=Ge="\u23A2",hr="\u23A3",Dr="Size4-Regular",br="lfloor",kr=667):e==="\\lceil"||e==="\u2308"?(Ge="\u23A1",Kt=hr="\u23A2",Dr="Size4-Regular",br="lceil",kr=667):e==="\\rfloor"||e==="\u230B"?(Kt=Ge="\u23A5",hr="\u23A6",Dr="Size4-Regular",br="rfloor",kr=667):e==="\\rceil"||e==="\u2309"?(Ge="\u23A4",Kt=hr="\u23A5",Dr="Size4-Regular",br="rceil",kr=667):e==="("||e==="\\lparen"?(Ge="\u239B",Kt="\u239C",hr="\u239D",Dr="Size4-Regular",br="lparen",kr=875):e===")"||e==="\\rparen"?(Ge="\u239E",Kt="\u239F",hr="\u23A0",Dr="Size4-Regular",br="rparen",kr=875):e==="\\{"||e==="\\lbrace"?(Ge="\u23A7",_e="\u23A8",hr="\u23A9",Kt="\u23AA",Dr="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(Ge="\u23AB",_e="\u23AC",hr="\u23AD",Kt="\u23AA",Dr="Size4-Regular"):e==="\\lgroup"||e==="\u27EE"?(Ge="\u23A7",hr="\u23A9",Kt="\u23AA",Dr="Size4-Regular"):e==="\\rgroup"||e==="\u27EF"?(Ge="\u23AB",hr="\u23AD",Kt="\u23AA",Dr="Size4-Regular"):e==="\\lmoustache"||e==="\u23B0"?(Ge="\u23A7",hr="\u23AD",Kt="\u23AA",Dr="Size4-Regular"):(e==="\\rmoustache"||e==="\u23B1")&&(Ge="\u23AB",hr="\u23A9",Kt="\u23AA",Dr="Size4-Regular");var hn=ca(Ge,Dr,K),An=hn.height+hn.depth,Fn=ca(Kt,Dr,K),jn=Fn.height+Fn.depth,Qn=ca(hr,Dr,K),qn=Qn.height+Qn.depth,ha=0,pa=1;if(_e!==null){var $a=ca(_e,Dr,K);ha=$a.height+$a.depth,pa=2}var Ea=An+qn+ha,Ka=Math.max(0,Math.ceil((r-Ea)/(pa*jn))),ja=Ea+Ka*pa*jn,Ha=C.fontMetrics().axisHeight;h&&(Ha*=C.sizeMultiplier);var bo=ja/2-Ha,Da=[];if(br.length>0){var po=ja-An-qn,$o=Math.round(ja*1e3),Vo=Se(br,Math.round(po*1e3)),ii=new Ir(br,Vo),si=(kr/1e3).toFixed(3)+"em",li=($o/1e3).toFixed(3)+"em",Pi=new zr([ii],{width:si,height:li,viewBox:"0 0 "+kr+" "+$o}),Go=Pe.makeSvgSpan([],[Pi],C);Go.height=$o/1e3,Go.style.width=si,Go.style.height=li,Da.push({type:"elem",elem:Go})}else{if(Da.push(ho(hr,Dr,K)),Da.push(Sa),_e===null){var ti=ja-An-qn+2*Ia;Da.push(ga(Kt,ti,C))}else{var jo=(ja-An-qn-ha)/2+2*Ia;Da.push(ga(Kt,jo,C)),Da.push(Sa),Da.push(ho(_e,Dr,K)),Da.push(Sa),Da.push(ga(Kt,jo,C))}Da.push(Sa),Da.push(ho(Ge,Dr,K))}var ci=C.havingBaseStyle(_.TEXT),ss=Pe.makeVList({positionType:"bottom",positionData:bo,children:Da},ci);return xa(Pe.makeSpan(["delimsizing","mult"],[ss],ci),_.TEXT,C,Ie)},ka=80,Na=.08,Xa=function(e,r,h,C,K){var Ie=Be(e,C,h),Ge=new Ir(e,Ie),_e=new zr([Ge],{width:"400em",height:St(r),viewBox:"0 0 400000 "+h,preserveAspectRatio:"xMinYMin slice"});return Pe.makeSvgSpan(["hide-tail"],[_e],K)},lo=function(e,r){var h=r.havingBaseSizing(),C=xo("\\surd",e*h.sizeMultiplier,mo,h),K=h.sizeMultiplier,Ie=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),Ge,_e=0,Kt=0,hr=0,br;return C.type==="small"?(hr=1e3+1e3*Ie+ka,e<1?K=1:e<1.4&&(K=.7),_e=(1+Ie+Na)/K,Kt=(1+Ie)/K,Ge=Xa("sqrtMain",_e,hr,Ie,r),Ge.style.minWidth="0.853em",br=.833/K):C.type==="large"?(hr=(1e3+ka)*Aa[C.size],Kt=(Aa[C.size]+Ie)/K,_e=(Aa[C.size]+Ie+Na)/K,Ge=Xa("sqrtSize"+C.size,_e,hr,Ie,r),Ge.style.minWidth="1.02em",br=1/K):(_e=e+Ie+Na,Kt=e+Ie,hr=Math.floor(1e3*e+Ie)+ka,Ge=Xa("sqrtTall",_e,hr,Ie,r),Ge.style.minWidth="0.742em",br=1.056),Ge.height=Kt,Ge.style.height=St(_e),{span:Ge,advanceWidth:br,ruleWidth:(r.fontMetrics().sqrtRuleThickness+Ie)*K}},vo=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Ko=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Wo=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Aa=[0,1.2,1.8,2.4,3],Si=function(e,r,h,C,K){if(e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle"),$.contains(vo,e)||$.contains(Wo,e))return go(e,r,!1,h,C,K);if($.contains(Ko,e))return ya(e,Aa[r],!1,h,C,K);throw new te("Illegal delimiter: '"+e+"'")},oo=[{type:"small",style:_.SCRIPTSCRIPT},{type:"small",style:_.SCRIPT},{type:"small",style:_.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Mo=[{type:"small",style:_.SCRIPTSCRIPT},{type:"small",style:_.SCRIPT},{type:"small",style:_.TEXT},{type:"stack"}],mo=[{type:"small",style:_.SCRIPTSCRIPT},{type:"small",style:_.SCRIPT},{type:"small",style:_.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Ti=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.")},xo=function(e,r,h,C){for(var K=Math.min(2,3-C.style.size),Ie=K;Ie<h.length&&h[Ie].type!=="stack";Ie++){var Ge=ca(e,Ti(h[Ie]),"math"),_e=Ge.height+Ge.depth;if(h[Ie].type==="small"){var Kt=C.havingBaseStyle(h[Ie].style);_e*=Kt.sizeMultiplier}if(_e>r)return h[Ie]}return h[h.length-1]},_o=function(e,r,h,C,K,Ie){e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle");var Ge;$.contains(Wo,e)?Ge=oo:$.contains(vo,e)?Ge=mo:Ge=Mo;var _e=xo(e,r,Ge,C);return _e.type==="small"?ao(e,_e.style,h,C,K,Ie):_e.type==="large"?go(e,_e.size,h,C,K,Ie):ya(e,r,h,C,K,Ie)},qa=function(e,r,h,C,K,Ie){var Ge=C.fontMetrics().axisHeight*C.sizeMultiplier,_e=901,Kt=5/C.fontMetrics().ptPerEm,hr=Math.max(r-Ge,h+Ge),br=Math.max(hr/500*_e,2*hr-Kt);return _o(e,br,!0,C,K,Ie)},Oo={sqrtImage:lo,sizedDelim:Si,sizeToMaxHeight:Aa,customSizedDelim:_o,leftRightDelim:qa},Bi={"\\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}},Li=["(","\\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 Xo(c,e){var r=ba(c);if(r&&$.contains(Li,r.text))return r;throw r?new te("Invalid delimiter '"+r.text+"' after '"+e.funcName+"'",c):new te("Invalid delimiter type '"+c.type+"'",c)}_t({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:(c,e)=>{var r=Xo(e[0],c);return{type:"delimsizing",mode:c.parser.mode,size:Bi[c.funcName].size,mclass:Bi[c.funcName].mclass,delim:r.text}},htmlBuilder:(c,e)=>c.delim==="."?Pe.makeSpan([c.mclass]):Oo.sizedDelim(c.delim,c.size,e,c.mode,[c.mclass]),mathmlBuilder:c=>{var e=[];c.delim!=="."&&e.push(Fr(c.delim,c.mode));var r=new Wt.MathNode("mo",e);c.mclass==="mopen"||c.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var h=St(Oo.sizeToMaxHeight[c.size]);return r.setAttribute("minsize",h),r.setAttribute("maxsize",h),r}});function Ci(c){if(!c.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}_t({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(c,e)=>{var r=c.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new te("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:c.parser.mode,delim:Xo(e[0],c).text,color:r}}}),_t({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(c,e)=>{var r=Xo(e[0],c),h=c.parser;++h.leftrightDepth;var C=h.parseExpression(!1);--h.leftrightDepth,h.expect("\\right",!1);var K=Yr(h.parseFunction(),"leftright-right");return{type:"leftright",mode:h.mode,body:C,left:r.text,right:K.delim,rightColor:K.color}},htmlBuilder:(c,e)=>{Ci(c);for(var r=Ct(c.body,e,!0,["mopen","mclose"]),h=0,C=0,K=!1,Ie=0;Ie<r.length;Ie++)r[Ie].isMiddle?K=!0:(h=Math.max(r[Ie].height,h),C=Math.max(r[Ie].depth,C));h*=e.sizeMultiplier,C*=e.sizeMultiplier;var Ge;if(c.left==="."?Ge=nt(e,["mopen"]):Ge=Oo.leftRightDelim(c.left,h,C,e,c.mode,["mopen"]),r.unshift(Ge),K)for(var _e=1;_e<r.length;_e++){var Kt=r[_e],hr=Kt.isMiddle;hr&&(r[_e]=Oo.leftRightDelim(hr.delim,h,C,hr.options,c.mode,[]))}var br;if(c.right===".")br=nt(e,["mclose"]);else{var kr=c.rightColor?e.withColor(c.rightColor):e;br=Oo.leftRightDelim(c.right,h,C,kr,c.mode,["mclose"])}return r.push(br),Pe.makeSpan(["minner"],r,e)},mathmlBuilder:(c,e)=>{Ci(c);var r=Et(c.body,e);if(c.left!=="."){var h=new Wt.MathNode("mo",[Fr(c.left,c.mode)]);h.setAttribute("fence","true"),r.unshift(h)}if(c.right!=="."){var C=new Wt.MathNode("mo",[Fr(c.right,c.mode)]);C.setAttribute("fence","true"),c.rightColor&&C.setAttribute("mathcolor",c.rightColor),r.push(C)}return Xr(r)}}),_t({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(c,e)=>{var r=Xo(e[0],c);if(!c.parser.leftrightDepth)throw new te("\\middle without preceding \\left",r);return{type:"middle",mode:c.parser.mode,delim:r.text}},htmlBuilder:(c,e)=>{var r;if(c.delim===".")r=nt(e,[]);else{r=Oo.sizedDelim(c.delim,1,e,c.mode,[]);var h={delim:c.delim,options:e};r.isMiddle=h}return r},mathmlBuilder:(c,e)=>{var r=c.delim==="\\vert"||c.delim==="|"?Fr("|","text"):Fr(c.delim,c.mode),h=new Wt.MathNode("mo",[r]);return h.setAttribute("fence","true"),h.setAttribute("lspace","0.05em"),h.setAttribute("rspace","0.05em"),h}});var Eo=(c,e)=>{var r=Pe.wrapFragment(rt(c.body,e),e),h=c.label.slice(1),C=e.sizeMultiplier,K,Ie=0,Ge=$.isCharacterBox(c.body);if(h==="sout")K=Pe.makeSpan(["stretchy","sout"]),K.height=e.fontMetrics().defaultRuleThickness/C,Ie=-.5*e.fontMetrics().xHeight;else if(h==="phase"){var _e=Ut({number:.6,unit:"pt"},e),Kt=Ut({number:.35,unit:"ex"},e),hr=e.havingBaseSizing();C=C/hr.sizeMultiplier;var br=r.height+r.depth+_e+Kt;r.style.paddingLeft=St(br/2+_e);var kr=Math.floor(1e3*br*C),Dr=jt(kr),hn=new zr([new Ir("phase",Dr)],{width:"400em",height:St(kr/1e3),viewBox:"0 0 400000 "+kr,preserveAspectRatio:"xMinYMin slice"});K=Pe.makeSvgSpan(["hide-tail"],[hn],e),K.style.height=St(br),Ie=r.depth+_e+Kt}else{/cancel/.test(h)?Ge||r.classes.push("cancel-pad"):h==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var An=0,Fn=0,jn=0;/box/.test(h)?(jn=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),An=e.fontMetrics().fboxsep+(h==="colorbox"?0:jn),Fn=An):h==="angl"?(jn=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),An=4*jn,Fn=Math.max(0,.25-r.depth)):(An=Ge?.2:0,Fn=An),K=On.encloseSpan(r,h,An,Fn,e),/fbox|boxed|fcolorbox/.test(h)?(K.style.borderStyle="solid",K.style.borderWidth=St(jn)):h==="angl"&&jn!==.049&&(K.style.borderTopWidth=St(jn),K.style.borderRightWidth=St(jn)),Ie=r.depth+Fn,c.backgroundColor&&(K.style.backgroundColor=c.backgroundColor,c.borderColor&&(K.style.borderColor=c.borderColor))}var Qn;if(c.backgroundColor)Qn=Pe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:K,shift:Ie},{type:"elem",elem:r,shift:0}]},e);else{var qn=/cancel|phase/.test(h)?["svg-align"]:[];Qn=Pe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:K,shift:Ie,wrapperClasses:qn}]},e)}return/cancel/.test(h)&&(Qn.height=r.height,Qn.depth=r.depth),/cancel/.test(h)&&!Ge?Pe.makeSpan(["mord","cancel-lap"],[Qn],e):Pe.makeSpan(["mord"],[Qn],e)},Yo=(c,e)=>{var r=0,h=new Wt.MathNode(c.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Gr(c.body,e)]);switch(c.label){case"\\cancel":h.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":h.setAttribute("notation","downdiagonalstrike");break;case"\\phase":h.setAttribute("notation","phasorangle");break;case"\\sout":h.setAttribute("notation","horizontalstrike");break;case"\\fbox":h.setAttribute("notation","box");break;case"\\angl":h.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,h.setAttribute("width","+"+2*r+"pt"),h.setAttribute("height","+"+2*r+"pt"),h.setAttribute("lspace",r+"pt"),h.setAttribute("voffset",r+"pt"),c.label==="\\fcolorbox"){var C=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);h.setAttribute("style","border: "+C+"em solid "+String(c.borderColor))}break;case"\\xcancel":h.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return c.backgroundColor&&h.setAttribute("mathbackground",c.backgroundColor),h};_t({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(c,e,r){var{parser:h,funcName:C}=c,K=Yr(e[0],"color-token").color,Ie=e[1];return{type:"enclose",mode:h.mode,label:C,backgroundColor:K,body:Ie}},htmlBuilder:Eo,mathmlBuilder:Yo}),_t({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(c,e,r){var{parser:h,funcName:C}=c,K=Yr(e[0],"color-token").color,Ie=Yr(e[1],"color-token").color,Ge=e[2];return{type:"enclose",mode:h.mode,label:C,backgroundColor:Ie,borderColor:K,body:Ge}},htmlBuilder:Eo,mathmlBuilder:Yo}),_t({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(c,e){var{parser:r}=c;return{type:"enclose",mode:r.mode,label:"\\fbox",body:e[0]}}}),_t({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(c,e){var{parser:r,funcName:h}=c,C=e[0];return{type:"enclose",mode:r.mode,label:h,body:C}},htmlBuilder:Eo,mathmlBuilder:Yo}),_t({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(c,e){var{parser:r}=c;return{type:"enclose",mode:r.mode,label:"\\angl",body:e[0]}}});var na={};function wa(c){for(var{type:e,names:r,props:h,handler:C,htmlBuilder:K,mathmlBuilder:Ie}=c,Ge={type:e,numArgs:h.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:C},_e=0;_e<r.length;++_e)na[r[_e]]=Ge;K&&(wr[e]=K),Ie&&(Zt[e]=Ie)}var Ja={};function Ye(c,e){Ja[c]=e}function wo(c){var e=[];c.consumeSpaces();var r=c.fetch().text;for(r==="\\relax"&&(c.consume(),c.consumeSpaces(),r=c.fetch().text);r==="\\hline"||r==="\\hdashline";)c.consume(),e.push(r==="\\hdashline"),c.consumeSpaces(),r=c.fetch().text;return e}var Io=c=>{var e=c.parser.settings;if(!e.displayMode)throw new te("{"+c.envName+"} can be used only in display mode.")};function Ao(c){if(c.indexOf("ed")===-1)return c.indexOf("*")===-1}function eo(c,e,r){var{hskipBeforeAndAfter:h,addJot:C,cols:K,arraystretch:Ie,colSeparationType:Ge,autoTag:_e,singleRow:Kt,emptySingleRow:hr,maxNumCols:br,leqno:kr}=e;if(c.gullet.beginGroup(),Kt||c.gullet.macros.set("\\cr","\\\\\\relax"),!Ie){var Dr=c.gullet.expandMacroAsText("\\arraystretch");if(Dr==null)Ie=1;else if(Ie=parseFloat(Dr),!Ie||Ie<0)throw new te("Invalid \\arraystretch: "+Dr)}c.gullet.beginGroup();var hn=[],An=[hn],Fn=[],jn=[],Qn=_e!=null?[]:void 0;function qn(){_e&&c.gullet.macros.set("\\@eqnsw","1",!0)}function ha(){Qn&&(c.gullet.macros.get("\\df@tag")?(Qn.push(c.subparse([new He("\\df@tag")])),c.gullet.macros.set("\\df@tag",void 0,!0)):Qn.push(!!_e&&c.gullet.macros.get("\\@eqnsw")==="1"))}for(qn(),jn.push(wo(c));;){var pa=c.parseExpression(!1,Kt?"\\end":"\\\\");c.gullet.endGroup(),c.gullet.beginGroup(),pa={type:"ordgroup",mode:c.mode,body:pa},r&&(pa={type:"styling",mode:c.mode,style:r,body:[pa]}),hn.push(pa);var $a=c.fetch().text;if($a==="&"){if(br&&hn.length===br){if(Kt||Ge)throw new te("Too many tab characters: &",c.nextToken);c.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}c.consume()}else if($a==="\\end"){ha(),hn.length===1&&pa.type==="styling"&&pa.body[0].body.length===0&&(An.length>1||!hr)&&An.pop(),jn.length<An.length+1&&jn.push([]);break}else if($a==="\\\\"){c.consume();var Ea=void 0;c.gullet.future().text!==" "&&(Ea=c.parseSizeGroup(!0)),Fn.push(Ea?Ea.value:null),ha(),jn.push(wo(c)),hn=[],An.push(hn),qn()}else throw new te("Expected & or \\\\ or \\cr or \\end",c.nextToken)}return c.gullet.endGroup(),c.gullet.endGroup(),{type:"array",mode:c.mode,addJot:C,arraystretch:Ie,body:An,cols:K,rowGaps:Fn,hskipBeforeAndAfter:h,hLinesBeforeRow:jn,colSeparationType:Ge,tags:Qn,leqno:kr}}function hi(c){return c.slice(0,1)==="d"?"display":"text"}var Do=function(e,r){var h,C,K=e.body.length,Ie=e.hLinesBeforeRow,Ge=0,_e=new Array(K),Kt=[],hr=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),br=1/r.fontMetrics().ptPerEm,kr=5*br;if(e.colSeparationType&&e.colSeparationType==="small"){var Dr=r.havingStyle(_.SCRIPT).sizeMultiplier;kr=.2778*(Dr/r.sizeMultiplier)}var hn=e.colSeparationType==="CD"?Ut({number:3,unit:"ex"},r):12*br,An=3*br,Fn=e.arraystretch*hn,jn=.7*Fn,Qn=.3*Fn,qn=0;function ha(ko){for(var ls=0;ls<ko.length;++ls)ls>0&&(qn+=.25),Kt.push({pos:qn,isDashed:ko[ls]})}for(ha(Ie[0]),h=0;h<e.body.length;++h){var pa=e.body[h],$a=jn,Ea=Qn;Ge<pa.length&&(Ge=pa.length);var Ka=new Array(pa.length);for(C=0;C<pa.length;++C){var ja=rt(pa[C],r);Ea<ja.depth&&(Ea=ja.depth),$a<ja.height&&($a=ja.height),Ka[C]=ja}var Ha=e.rowGaps[h],bo=0;Ha&&(bo=Ut(Ha,r),bo>0&&(bo+=Qn,Ea<bo&&(Ea=bo),bo=0)),e.addJot&&(Ea+=An),Ka.height=$a,Ka.depth=Ea,qn+=$a,Ka.pos=qn,qn+=Ea+bo,_e[h]=Ka,ha(Ie[h+1])}var Da=qn/2+r.fontMetrics().axisHeight,po=e.cols||[],$o=[],Vo,ii,si=[];if(e.tags&&e.tags.some(ko=>ko))for(h=0;h<K;++h){var li=_e[h],Pi=li.pos-Da,Go=e.tags[h],ti=void 0;Go===!0?ti=Pe.makeSpan(["eqn-num"],[],r):Go===!1?ti=Pe.makeSpan([],[],r):ti=Pe.makeSpan([],Ct(Go,r,!0),r),ti.depth=li.depth,ti.height=li.height,si.push({type:"elem",elem:ti,shift:Pi})}for(C=0,ii=0;C<Ge||ii<po.length;++C,++ii){for(var jo=po[ii]||{},ci=!0;jo.type==="separator";){if(ci||(Vo=Pe.makeSpan(["arraycolsep"],[]),Vo.style.width=St(r.fontMetrics().doubleRuleSep),$o.push(Vo)),jo.separator==="|"||jo.separator===":"){var ss=jo.separator==="|"?"solid":"dashed",Bo=Pe.makeSpan(["vertical-separator"],[],r);Bo.style.height=St(qn),Bo.style.borderRightWidth=St(hr),Bo.style.borderRightStyle=ss,Bo.style.margin="0 "+St(-hr/2);var ri=qn-Da;ri&&(Bo.style.verticalAlign=St(-ri)),$o.push(Bo)}else throw new te("Invalid separator type: "+jo.separator);ii++,jo=po[ii]||{},ci=!1}if(!(C>=Ge)){var Za=void 0;(C>0||e.hskipBeforeAndAfter)&&(Za=$.deflt(jo.pregap,kr),Za!==0&&(Vo=Pe.makeSpan(["arraycolsep"],[]),Vo.style.width=St(Za),$o.push(Vo)));var Va=[];for(h=0;h<K;++h){var fo=_e[h],yo=fo[C];if(yo){var Vi=fo.pos-Da;yo.depth=fo.depth,yo.height=fo.height,Va.push({type:"elem",elem:yo,shift:Vi})}}Va=Pe.makeVList({positionType:"individualShift",children:Va},r),Va=Pe.makeSpan(["col-align-"+(jo.align||"c")],[Va]),$o.push(Va),(C<Ge-1||e.hskipBeforeAndAfter)&&(Za=$.deflt(jo.postgap,kr),Za!==0&&(Vo=Pe.makeSpan(["arraycolsep"],[]),Vo.style.width=St(Za),$o.push(Vo)))}}if(_e=Pe.makeSpan(["mtable"],$o),Kt.length>0){for(var $s=Pe.makeLineSpan("hline",r,hr),bs=Pe.makeLineSpan("hdashline",r,hr),ys=[{type:"elem",elem:_e,shift:0}];Kt.length>0;){var Ns=Kt.pop(),js=Ns.pos-Da;Ns.isDashed?ys.push({type:"elem",elem:bs,shift:js}):ys.push({type:"elem",elem:$s,shift:js})}_e=Pe.makeVList({positionType:"individualShift",children:ys},r)}if(si.length===0)return Pe.makeSpan(["mord"],[_e],r);var Fo=Pe.makeVList({positionType:"individualShift",children:si},r);return Fo=Pe.makeSpan(["tag"],[Fo],r),Pe.makeFragment([_e,Fo])},hs={c:"center ",l:"left ",r:"right "},Ro=function(e,r){for(var h=[],C=new Wt.MathNode("mtd",[],["mtr-glue"]),K=new Wt.MathNode("mtd",[],["mml-eqn-num"]),Ie=0;Ie<e.body.length;Ie++){for(var Ge=e.body[Ie],_e=[],Kt=0;Kt<Ge.length;Kt++)_e.push(new Wt.MathNode("mtd",[Gr(Ge[Kt],r)]));e.tags&&e.tags[Ie]&&(_e.unshift(C),_e.push(C),e.leqno?_e.unshift(K):_e.push(K)),h.push(new Wt.MathNode("mtr",_e))}var hr=new Wt.MathNode("mtable",h),br=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);hr.setAttribute("rowspacing",St(br));var kr="",Dr="";if(e.cols&&e.cols.length>0){var hn=e.cols,An="",Fn=!1,jn=0,Qn=hn.length;hn[0].type==="separator"&&(kr+="top ",jn=1),hn[hn.length-1].type==="separator"&&(kr+="bottom ",Qn-=1);for(var qn=jn;qn<Qn;qn++)hn[qn].type==="align"?(Dr+=hs[hn[qn].align],Fn&&(An+="none "),Fn=!0):hn[qn].type==="separator"&&Fn&&(An+=hn[qn].separator==="|"?"solid ":"dashed ",Fn=!1);hr.setAttribute("columnalign",Dr.trim()),/[sd]/.test(An)&&hr.setAttribute("columnlines",An.trim())}if(e.colSeparationType==="align"){for(var ha=e.cols||[],pa="",$a=1;$a<ha.length;$a++)pa+=$a%2?"0em ":"1em ";hr.setAttribute("columnspacing",pa.trim())}else e.colSeparationType==="alignat"||e.colSeparationType==="gather"?hr.setAttribute("columnspacing","0em"):e.colSeparationType==="small"?hr.setAttribute("columnspacing","0.2778em"):e.colSeparationType==="CD"?hr.setAttribute("columnspacing","0.5em"):hr.setAttribute("columnspacing","1em");var Ea="",Ka=e.hLinesBeforeRow;kr+=Ka[0].length>0?"left ":"",kr+=Ka[Ka.length-1].length>0?"right ":"";for(var ja=1;ja<Ka.length-1;ja++)Ea+=Ka[ja].length===0?"none ":Ka[ja][0]?"dashed ":"solid ";return/[sd]/.test(Ea)&&hr.setAttribute("rowlines",Ea.trim()),kr!==""&&(hr=new Wt.MathNode("menclose",[hr]),hr.setAttribute("notation",kr.trim())),e.arraystretch&&e.arraystretch<1&&(hr=new Wt.MathNode("mstyle",[hr]),hr.setAttribute("scriptlevel","1")),hr},To=function(e,r){e.envName.indexOf("ed")===-1&&Io(e);var h=[],C=e.envName.indexOf("at")>-1?"alignat":"align",K=e.envName==="split",Ie=eo(e.parser,{cols:h,addJot:!0,autoTag:K?void 0:Ao(e.envName),emptySingleRow:!0,colSeparationType:C,maxNumCols:K?2:void 0,leqno:e.parser.settings.leqno},"display"),Ge,_e=0,Kt={type:"ordgroup",mode:e.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var hr="",br=0;br<r[0].body.length;br++){var kr=Yr(r[0].body[br],"textord");hr+=kr.text}Ge=Number(hr),_e=Ge*2}var Dr=!_e;Ie.body.forEach(function(jn){for(var Qn=1;Qn<jn.length;Qn+=2){var qn=Yr(jn[Qn],"styling"),ha=Yr(qn.body[0],"ordgroup");ha.body.unshift(Kt)}if(Dr)_e<jn.length&&(_e=jn.length);else{var pa=jn.length/2;if(Ge<pa)throw new te("Too many math in a row: "+("expected "+Ge+", but got "+pa),jn[0])}});for(var hn=0;hn<_e;++hn){var An="r",Fn=0;hn%2===1?An="l":hn>0&&Dr&&(Fn=1),h[hn]={type:"align",align:An,pregap:Fn,postgap:0}}return Ie.colSeparationType=Dr?"align":"alignat",Ie};wa({type:"array",names:["array","darray"],props:{numArgs:1},handler(c,e){var r=ba(e[0]),h=r?[e[0]]:Yr(e[0],"ordgroup").body,C=h.map(function(Ie){var Ge=Ba(Ie),_e=Ge.text;if("lcr".indexOf(_e)!==-1)return{type:"align",align:_e};if(_e==="|")return{type:"separator",separator:"|"};if(_e===":")return{type:"separator",separator:":"};throw new te("Unknown column alignment: "+_e,Ie)}),K={cols:C,hskipBeforeAndAfter:!0,maxNumCols:C.length};return eo(c.parser,K,hi(c.envName))},htmlBuilder:Do,mathmlBuilder:Ro}),wa({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(c){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[c.envName.replace("*","")],r="c",h={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(c.envName.charAt(c.envName.length-1)==="*"){var C=c.parser;if(C.consumeSpaces(),C.fetch().text==="["){if(C.consume(),C.consumeSpaces(),r=C.fetch().text,"lcr".indexOf(r)===-1)throw new te("Expected l or c or r",C.nextToken);C.consume(),C.consumeSpaces(),C.expect("]"),C.consume(),h.cols=[{type:"align",align:r}]}}var K=eo(c.parser,h,hi(c.envName)),Ie=Math.max(0,...K.body.map(Ge=>Ge.length));return K.cols=new Array(Ie).fill({type:"align",align:r}),e?{type:"leftright",mode:c.mode,body:[K],left:e[0],right:e[1],rightColor:void 0}:K},htmlBuilder:Do,mathmlBuilder:Ro}),wa({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(c){var e={arraystretch:.5},r=eo(c.parser,e,"script");return r.colSeparationType="small",r},htmlBuilder:Do,mathmlBuilder:Ro}),wa({type:"array",names:["subarray"],props:{numArgs:1},handler(c,e){var r=ba(e[0]),h=r?[e[0]]:Yr(e[0],"ordgroup").body,C=h.map(function(Ie){var Ge=Ba(Ie),_e=Ge.text;if("lc".indexOf(_e)!==-1)return{type:"align",align:_e};throw new te("Unknown column alignment: "+_e,Ie)});if(C.length>1)throw new te("{subarray} can contain only one column");var K={cols:C,hskipBeforeAndAfter:!1,arraystretch:.5};if(K=eo(c.parser,K,"script"),K.body.length>0&&K.body[0].length>1)throw new te("{subarray} can contain only one column");return K},htmlBuilder:Do,mathmlBuilder:Ro}),wa({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(c){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=eo(c.parser,e,hi(c.envName));return{type:"leftright",mode:c.mode,body:[r],left:c.envName.indexOf("r")>-1?".":"\\{",right:c.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Do,mathmlBuilder:Ro}),wa({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:To,htmlBuilder:Do,mathmlBuilder:Ro}),wa({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(c){$.contains(["gather","gather*"],c.envName)&&Io(c);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Ao(c.envName),emptySingleRow:!0,leqno:c.parser.settings.leqno};return eo(c.parser,e,"display")},htmlBuilder:Do,mathmlBuilder:Ro}),wa({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:To,htmlBuilder:Do,mathmlBuilder:Ro}),wa({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(c){Io(c);var e={autoTag:Ao(c.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:c.parser.settings.leqno};return eo(c.parser,e,"display")},htmlBuilder:Do,mathmlBuilder:Ro}),wa({type:"array",names:["CD"],props:{numArgs:0},handler(c){return Io(c),aa(c.parser)},htmlBuilder:Do,mathmlBuilder:Ro}),Ye("\\nonumber","\\gdef\\@eqnsw{0}"),Ye("\\notag","\\nonumber"),_t({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(c,e){throw new te(c.funcName+" valid only within array environment")}});var qo=na;_t({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(c,e){var{parser:r,funcName:h}=c,C=e[0];if(C.type!=="ordgroup")throw new te("Invalid environment name",C);for(var K="",Ie=0;Ie<C.body.length;++Ie)K+=Yr(C.body[Ie],"textord").text;if(h==="\\begin"){if(!qo.hasOwnProperty(K))throw new te("No such environment: "+K,C);var Ge=qo[K],{args:_e,optArgs:Kt}=r.parseArguments("\\begin{"+K+"}",Ge),hr={mode:r.mode,envName:K,parser:r},br=Ge.handler(hr,_e,Kt);r.expect("\\end",!1);var kr=r.nextToken,Dr=Yr(r.parseFunction(),"environment");if(Dr.name!==K)throw new te("Mismatch: \\begin{"+K+"} matched by \\end{"+Dr.name+"}",kr);return br}return{type:"environment",mode:r.mode,name:K,nameGroup:C}}});var zi=(c,e)=>{var r=c.font,h=e.withFont(r);return rt(c.body,h)},ts=(c,e)=>{var r=c.font,h=e.withFont(r);return Gr(c.body,h)},So={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};_t({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(c,e)=>{var{parser:r,funcName:h}=c,C=dt(e[0]),K=h;return K in So&&(K=So[K]),{type:"font",mode:r.mode,font:K.slice(1),body:C}},htmlBuilder:zi,mathmlBuilder:ts}),_t({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(c,e)=>{var{parser:r}=c,h=e[0],C=$.isCharacterBox(h);return{type:"mclass",mode:r.mode,mclass:Wa(h),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:h}],isCharacterBox:C}}}),_t({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(c,e)=>{var{parser:r,funcName:h,breakOnTokenText:C}=c,{mode:K}=r,Ie=r.parseExpression(!0,C),Ge="math"+h.slice(1);return{type:"font",mode:K,font:Ge,body:{type:"ordgroup",mode:r.mode,body:Ie}}},htmlBuilder:zi,mathmlBuilder:ts});var fs=(c,e)=>{var r=e;return c==="display"?r=r.id>=_.SCRIPT.id?r.text():_.DISPLAY:c==="text"&&r.size===_.DISPLAY.size?r=_.TEXT:c==="script"?r=_.SCRIPT:c==="scriptscript"&&(r=_.SCRIPTSCRIPT),r},Di=(c,e)=>{var r=fs(c.size,e.style),h=r.fracNum(),C=r.fracDen(),K;K=e.havingStyle(h);var Ie=rt(c.numer,K,e);if(c.continued){var Ge=8.5/e.fontMetrics().ptPerEm,_e=3.5/e.fontMetrics().ptPerEm;Ie.height=Ie.height<Ge?Ge:Ie.height,Ie.depth=Ie.depth<_e?_e:Ie.depth}K=e.havingStyle(C);var Kt=rt(c.denom,K,e),hr,br,kr;c.hasBarLine?(c.barSize?(br=Ut(c.barSize,e),hr=Pe.makeLineSpan("frac-line",e,br)):hr=Pe.makeLineSpan("frac-line",e),br=hr.height,kr=hr.height):(hr=null,br=0,kr=e.fontMetrics().defaultRuleThickness);var Dr,hn,An;r.size===_.DISPLAY.size||c.size==="display"?(Dr=e.fontMetrics().num1,br>0?hn=3*kr:hn=7*kr,An=e.fontMetrics().denom1):(br>0?(Dr=e.fontMetrics().num2,hn=kr):(Dr=e.fontMetrics().num3,hn=3*kr),An=e.fontMetrics().denom2);var Fn;if(hr){var Qn=e.fontMetrics().axisHeight;Dr-Ie.depth-(Qn+.5*br)<hn&&(Dr+=hn-(Dr-Ie.depth-(Qn+.5*br))),Qn-.5*br-(Kt.height-An)<hn&&(An+=hn-(Qn-.5*br-(Kt.height-An)));var qn=-(Qn-.5*br);Fn=Pe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Kt,shift:An},{type:"elem",elem:hr,shift:qn},{type:"elem",elem:Ie,shift:-Dr}]},e)}else{var jn=Dr-Ie.depth-(Kt.height-An);jn<hn&&(Dr+=.5*(hn-jn),An+=.5*(hn-jn)),Fn=Pe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Kt,shift:An},{type:"elem",elem:Ie,shift:-Dr}]},e)}K=e.havingStyle(r),Fn.height*=K.sizeMultiplier/e.sizeMultiplier,Fn.depth*=K.sizeMultiplier/e.sizeMultiplier;var ha;r.size===_.DISPLAY.size?ha=e.fontMetrics().delim1:r.size===_.SCRIPTSCRIPT.size?ha=e.havingStyle(_.SCRIPT).fontMetrics().delim2:ha=e.fontMetrics().delim2;var pa,$a;return c.leftDelim==null?pa=nt(e,["mopen"]):pa=Oo.customSizedDelim(c.leftDelim,ha,!0,e.havingStyle(r),c.mode,["mopen"]),c.continued?$a=Pe.makeSpan([]):c.rightDelim==null?$a=nt(e,["mclose"]):$a=Oo.customSizedDelim(c.rightDelim,ha,!0,e.havingStyle(r),c.mode,["mclose"]),Pe.makeSpan(["mord"].concat(K.sizingClasses(e)),[pa,Pe.makeSpan(["mfrac"],[Fn]),$a],e)},ua=(c,e)=>{var r=new Wt.MathNode("mfrac",[Gr(c.numer,e),Gr(c.denom,e)]);if(!c.hasBarLine)r.setAttribute("linethickness","0px");else if(c.barSize){var h=Ut(c.barSize,e);r.setAttribute("linethickness",St(h))}var C=fs(c.size,e.style);if(C.size!==e.style.size){r=new Wt.MathNode("mstyle",[r]);var K=C.size===_.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",K),r.setAttribute("scriptlevel","0")}if(c.leftDelim!=null||c.rightDelim!=null){var Ie=[];if(c.leftDelim!=null){var Ge=new Wt.MathNode("mo",[new Wt.TextNode(c.leftDelim.replace("\\",""))]);Ge.setAttribute("fence","true"),Ie.push(Ge)}if(Ie.push(r),c.rightDelim!=null){var _e=new Wt.MathNode("mo",[new Wt.TextNode(c.rightDelim.replace("\\",""))]);_e.setAttribute("fence","true"),Ie.push(_e)}return Xr(Ie)}return r};_t({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(c,e)=>{var{parser:r,funcName:h}=c,C=e[0],K=e[1],Ie,Ge=null,_e=null,Kt="auto";switch(h){case"\\dfrac":case"\\frac":case"\\tfrac":Ie=!0;break;case"\\\\atopfrac":Ie=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Ie=!1,Ge="(",_e=")";break;case"\\\\bracefrac":Ie=!1,Ge="\\{",_e="\\}";break;case"\\\\brackfrac":Ie=!1,Ge="[",_e="]";break;default:throw new Error("Unrecognized genfrac command")}switch(h){case"\\dfrac":case"\\dbinom":Kt="display";break;case"\\tfrac":case"\\tbinom":Kt="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:C,denom:K,hasBarLine:Ie,leftDelim:Ge,rightDelim:_e,size:Kt,barSize:null}},htmlBuilder:Di,mathmlBuilder:ua}),_t({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(c,e)=>{var{parser:r,funcName:h}=c,C=e[0],K=e[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:C,denom:K,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),_t({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(c){var{parser:e,funcName:r,token:h}=c,C;switch(r){case"\\over":C="\\frac";break;case"\\choose":C="\\binom";break;case"\\atop":C="\\\\atopfrac";break;case"\\brace":C="\\\\bracefrac";break;case"\\brack":C="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:C,token:h}}});var ms=["display","text","script","scriptscript"],rs=function(e){var r=null;return e.length>0&&(r=e,r=r==="."?null:r),r};_t({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(c,e){var{parser:r}=c,h=e[4],C=e[5],K=dt(e[0]),Ie=K.type==="atom"&&K.family==="open"?rs(K.text):null,Ge=dt(e[1]),_e=Ge.type==="atom"&&Ge.family==="close"?rs(Ge.text):null,Kt=Yr(e[2],"size"),hr,br=null;Kt.isBlank?hr=!0:(br=Kt.value,hr=br.number>0);var kr="auto",Dr=e[3];if(Dr.type==="ordgroup"){if(Dr.body.length>0){var hn=Yr(Dr.body[0],"textord");kr=ms[Number(hn.text)]}}else Dr=Yr(Dr,"textord"),kr=ms[Number(Dr.text)];return{type:"genfrac",mode:r.mode,numer:h,denom:C,continued:!1,hasBarLine:hr,barSize:br,leftDelim:Ie,rightDelim:_e,size:kr}},htmlBuilder:Di,mathmlBuilder:ua}),_t({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(c,e){var{parser:r,funcName:h,token:C}=c;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Yr(e[0],"size").value,token:C}}}),_t({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(c,e)=>{var{parser:r,funcName:h}=c,C=e[0],K=Z(Yr(e[1],"infix").size),Ie=e[2],Ge=K.number>0;return{type:"genfrac",mode:r.mode,numer:C,denom:Ie,continued:!1,hasBarLine:Ge,barSize:K,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Di,mathmlBuilder:ua});var Jo=(c,e)=>{var r=e.style,h,C;c.type==="supsub"?(h=c.sup?rt(c.sup,e.havingStyle(r.sup()),e):rt(c.sub,e.havingStyle(r.sub()),e),C=Yr(c.base,"horizBrace")):C=Yr(c,"horizBrace");var K=rt(C.base,e.havingBaseStyle(_.DISPLAY)),Ie=On.svgSpan(C,e),Ge;if(C.isOver?(Ge=Pe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:K},{type:"kern",size:.1},{type:"elem",elem:Ie}]},e),Ge.children[0].children[0].children[1].classes.push("svg-align")):(Ge=Pe.makeVList({positionType:"bottom",positionData:K.depth+.1+Ie.height,children:[{type:"elem",elem:Ie},{type:"kern",size:.1},{type:"elem",elem:K}]},e),Ge.children[0].children[0].children[0].classes.push("svg-align")),h){var _e=Pe.makeSpan(["mord",C.isOver?"mover":"munder"],[Ge],e);C.isOver?Ge=Pe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:_e},{type:"kern",size:.2},{type:"elem",elem:h}]},e):Ge=Pe.makeVList({positionType:"bottom",positionData:_e.depth+.2+h.height+h.depth,children:[{type:"elem",elem:h},{type:"kern",size:.2},{type:"elem",elem:_e}]},e)}return Pe.makeSpan(["mord",C.isOver?"mover":"munder"],[Ge],e)},ns=(c,e)=>{var r=On.mathMLnode(c.label);return new Wt.MathNode(c.isOver?"mover":"munder",[Gr(c.base,e),r])};_t({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(c,e){var{parser:r,funcName:h}=c;return{type:"horizBrace",mode:r.mode,label:h,isOver:/^\\over/.test(h),base:e[0]}},htmlBuilder:Jo,mathmlBuilder:ns}),_t({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(c,e)=>{var{parser:r}=c,h=e[1],C=Yr(e[0],"url").url;return r.settings.isTrusted({command:"\\href",url:C})?{type:"href",mode:r.mode,href:C,body:ut(h)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(c,e)=>{var r=Ct(c.body,e,!1);return Pe.makeAnchor(c.href,[],r,e)},mathmlBuilder:(c,e)=>{var r=wn(c.body,e);return r instanceof Bt||(r=new Bt("mrow",[r])),r.setAttribute("href",c.href),r}}),_t({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(c,e)=>{var{parser:r}=c,h=Yr(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:h}))return r.formatUnsupportedCmd("\\url");for(var C=[],K=0;K<h.length;K++){var Ie=h[K];Ie==="~"&&(Ie="\\textasciitilde"),C.push({type:"textord",mode:"text",text:Ie})}var Ge={type:"text",mode:r.mode,font:"\\texttt",body:C};return{type:"href",mode:r.mode,href:h,body:ut(Ge)}}}),_t({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(c,e){var{parser:r}=c;return{type:"hbox",mode:r.mode,body:ut(e[0])}},htmlBuilder(c,e){var r=Ct(c.body,e,!1);return Pe.makeFragment(r)},mathmlBuilder(c,e){return new Wt.MathNode("mrow",Et(c.body,e))}}),_t({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(c,e)=>{var{parser:r,funcName:h,token:C}=c,K=Yr(e[0],"raw").string,Ie=e[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var Ge,_e={};switch(h){case"\\htmlClass":_e.class=K,Ge={command:"\\htmlClass",class:K};break;case"\\htmlId":_e.id=K,Ge={command:"\\htmlId",id:K};break;case"\\htmlStyle":_e.style=K,Ge={command:"\\htmlStyle",style:K};break;case"\\htmlData":{for(var Kt=K.split(","),hr=0;hr<Kt.length;hr++){var br=Kt[hr].split("=");if(br.length!==2)throw new te("Error parsing key-value for \\htmlData");_e["data-"+br[0].trim()]=br[1].trim()}Ge={command:"\\htmlData",attributes:_e};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(Ge)?{type:"html",mode:r.mode,attributes:_e,body:ut(Ie)}:r.formatUnsupportedCmd(h)},htmlBuilder:(c,e)=>{var r=Ct(c.body,e,!1),h=["enclosing"];c.attributes.class&&h.push(...c.attributes.class.trim().split(/\s+/));var C=Pe.makeSpan(h,r,e);for(var K in c.attributes)K!=="class"&&c.attributes.hasOwnProperty(K)&&C.setAttribute(K,c.attributes[K]);return C},mathmlBuilder:(c,e)=>wn(c.body,e)}),_t({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(c,e)=>{var{parser:r}=c;return{type:"htmlmathml",mode:r.mode,html:ut(e[0]),mathml:ut(e[1])}},htmlBuilder:(c,e)=>{var r=Ct(c.html,e,!1);return Pe.makeFragment(r)},mathmlBuilder:(c,e)=>wn(c.mathml,e)});var Oi=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!r)throw new te("Invalid size: '"+e+"' in \\includegraphics");var h={number:+(r[1]+r[2]),unit:r[3]};if(!Tt(h))throw new te("Invalid unit: '"+h.unit+"' in \\includegraphics.");return h};_t({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(c,e,r)=>{var{parser:h}=c,C={number:0,unit:"em"},K={number:.9,unit:"em"},Ie={number:0,unit:"em"},Ge="";if(r[0])for(var _e=Yr(r[0],"raw").string,Kt=_e.split(","),hr=0;hr<Kt.length;hr++){var br=Kt[hr].split("=");if(br.length===2){var kr=br[1].trim();switch(br[0].trim()){case"alt":Ge=kr;break;case"width":C=Oi(kr);break;case"height":K=Oi(kr);break;case"totalheight":Ie=Oi(kr);break;default:throw new te("Invalid key: '"+br[0]+"' in \\includegraphics.")}}}var Dr=Yr(e[0],"url").url;return Ge===""&&(Ge=Dr,Ge=Ge.replace(/^.*[\\/]/,""),Ge=Ge.substring(0,Ge.lastIndexOf("."))),h.settings.isTrusted({command:"\\includegraphics",url:Dr})?{type:"includegraphics",mode:h.mode,alt:Ge,width:C,height:K,totalheight:Ie,src:Dr}:h.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(c,e)=>{var r=Ut(c.height,e),h=0;c.totalheight.number>0&&(h=Ut(c.totalheight,e)-r);var C=0;c.width.number>0&&(C=Ut(c.width,e));var K={height:St(r+h)};C>0&&(K.width=St(C)),h>0&&(K.verticalAlign=St(-h));var Ie=new er(c.src,c.alt,K);return Ie.height=r,Ie.depth=h,Ie},mathmlBuilder:(c,e)=>{var r=new Wt.MathNode("mglyph",[]);r.setAttribute("alt",c.alt);var h=Ut(c.height,e),C=0;if(c.totalheight.number>0&&(C=Ut(c.totalheight,e)-h,r.setAttribute("valign",St(-C))),r.setAttribute("height",St(h+C)),c.width.number>0){var K=Ut(c.width,e);r.setAttribute("width",St(K))}return r.setAttribute("src",c.src),r}}),_t({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(c,e){var{parser:r,funcName:h}=c,C=Yr(e[0],"size");if(r.settings.strict){var K=h[1]==="m",Ie=C.value.unit==="mu";K?(Ie||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" supports only mu units, "+("not "+C.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" works only in math mode")):Ie&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:C.value}},htmlBuilder(c,e){return Pe.makeGlue(c.dimension,e)},mathmlBuilder(c,e){var r=Ut(c.dimension,e);return new Wt.SpaceNode(r)}}),_t({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(c,e)=>{var{parser:r,funcName:h}=c,C=e[0];return{type:"lap",mode:r.mode,alignment:h.slice(5),body:C}},htmlBuilder:(c,e)=>{var r;c.alignment==="clap"?(r=Pe.makeSpan([],[rt(c.body,e)]),r=Pe.makeSpan(["inner"],[r],e)):r=Pe.makeSpan(["inner"],[rt(c.body,e)]);var h=Pe.makeSpan(["fix"],[]),C=Pe.makeSpan([c.alignment],[r,h],e),K=Pe.makeSpan(["strut"]);return K.style.height=St(C.height+C.depth),C.depth&&(K.style.verticalAlign=St(-C.depth)),C.children.unshift(K),C=Pe.makeSpan(["thinbox"],[C],e),Pe.makeSpan(["mord","vbox"],[C],e)},mathmlBuilder:(c,e)=>{var r=new Wt.MathNode("mpadded",[Gr(c.body,e)]);if(c.alignment!=="rlap"){var h=c.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",h+"width")}return r.setAttribute("width","0px"),r}}),_t({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(c,e){var{funcName:r,parser:h}=c,C=h.mode;h.switchMode("math");var K=r==="\\("?"\\)":"$",Ie=h.parseExpression(!1,K);return h.expect(K),h.switchMode(C),{type:"styling",mode:h.mode,style:"text",body:Ie}}}),_t({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(c,e){throw new te("Mismatched "+c.funcName)}});var fi=(c,e)=>{switch(e.style.size){case _.DISPLAY.size:return c.display;case _.TEXT.size:return c.text;case _.SCRIPT.size:return c.script;case _.SCRIPTSCRIPT.size:return c.scriptscript;default:return c.text}};_t({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(c,e)=>{var{parser:r}=c;return{type:"mathchoice",mode:r.mode,display:ut(e[0]),text:ut(e[1]),script:ut(e[2]),scriptscript:ut(e[3])}},htmlBuilder:(c,e)=>{var r=fi(c,e),h=Ct(r,e,!1);return Pe.makeFragment(h)},mathmlBuilder:(c,e)=>{var r=fi(c,e);return wn(r,e)}});var Ri=(c,e,r,h,C,K,Ie)=>{c=Pe.makeSpan([],[c]);var Ge=r&&$.isCharacterBox(r),_e,Kt;if(e){var hr=rt(e,h.havingStyle(C.sup()),h);Kt={elem:hr,kern:Math.max(h.fontMetrics().bigOpSpacing1,h.fontMetrics().bigOpSpacing3-hr.depth)}}if(r){var br=rt(r,h.havingStyle(C.sub()),h);_e={elem:br,kern:Math.max(h.fontMetrics().bigOpSpacing2,h.fontMetrics().bigOpSpacing4-br.height)}}var kr;if(Kt&&_e){var Dr=h.fontMetrics().bigOpSpacing5+_e.elem.height+_e.elem.depth+_e.kern+c.depth+Ie;kr=Pe.makeVList({positionType:"bottom",positionData:Dr,children:[{type:"kern",size:h.fontMetrics().bigOpSpacing5},{type:"elem",elem:_e.elem,marginLeft:St(-K)},{type:"kern",size:_e.kern},{type:"elem",elem:c},{type:"kern",size:Kt.kern},{type:"elem",elem:Kt.elem,marginLeft:St(K)},{type:"kern",size:h.fontMetrics().bigOpSpacing5}]},h)}else if(_e){var hn=c.height-Ie;kr=Pe.makeVList({positionType:"top",positionData:hn,children:[{type:"kern",size:h.fontMetrics().bigOpSpacing5},{type:"elem",elem:_e.elem,marginLeft:St(-K)},{type:"kern",size:_e.kern},{type:"elem",elem:c}]},h)}else if(Kt){var An=c.depth+Ie;kr=Pe.makeVList({positionType:"bottom",positionData:An,children:[{type:"elem",elem:c},{type:"kern",size:Kt.kern},{type:"elem",elem:Kt.elem,marginLeft:St(K)},{type:"kern",size:h.fontMetrics().bigOpSpacing5}]},h)}else return c;var Fn=[kr];if(_e&&K!==0&&!Ge){var jn=Pe.makeSpan(["mspace"],[],h);jn.style.marginRight=St(K),Fn.unshift(jn)}return Pe.makeSpan(["mop","op-limits"],Fn,h)},as=["\\smallint"],mi=(c,e)=>{var r,h,C=!1,K;c.type==="supsub"?(r=c.sup,h=c.sub,K=Yr(c.base,"op"),C=!0):K=Yr(c,"op");var Ie=e.style,Ge=!1;Ie.size===_.DISPLAY.size&&K.symbol&&!$.contains(as,K.name)&&(Ge=!0);var _e;if(K.symbol){var Kt=Ge?"Size2-Regular":"Size1-Regular",hr="";if((K.name==="\\oiint"||K.name==="\\oiiint")&&(hr=K.name.slice(1),K.name=hr==="oiint"?"\\iint":"\\iiint"),_e=Pe.makeSymbol(K.name,Kt,"math",e,["mop","op-symbol",Ge?"large-op":"small-op"]),hr.length>0){var br=_e.italic,kr=Pe.staticSvg(hr+"Size"+(Ge?"2":"1"),e);_e=Pe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:_e,shift:0},{type:"elem",elem:kr,shift:Ge?.08:0}]},e),K.name="\\"+hr,_e.classes.unshift("mop"),_e.italic=br}}else if(K.body){var Dr=Ct(K.body,e,!0);Dr.length===1&&Dr[0]instanceof ke?(_e=Dr[0],_e.classes[0]="mop"):_e=Pe.makeSpan(["mop"],Dr,e)}else{for(var hn=[],An=1;An<K.name.length;An++)hn.push(Pe.mathsym(K.name[An],K.mode,e));_e=Pe.makeSpan(["mop"],hn,e)}var Fn=0,jn=0;return(_e instanceof ke||K.name==="\\oiint"||K.name==="\\oiiint")&&!K.suppressBaseShift&&(Fn=(_e.height-_e.depth)/2-e.fontMetrics().axisHeight,jn=_e.italic),C?Ri(_e,r,h,e,Ie,jn,Fn):(Fn&&(_e.style.position="relative",_e.style.top=St(Fn)),_e)},Fi=(c,e)=>{var r;if(c.symbol)r=new Bt("mo",[Fr(c.name,c.mode)]),$.contains(as,c.name)&&r.setAttribute("largeop","false");else if(c.body)r=new Bt("mo",Et(c.body,e));else{r=new Bt("mi",[new Qt(c.name.slice(1))]);var h=new Bt("mo",[Fr("\u2061","text")]);c.parentIsSupSub?r=new Bt("mrow",[r,h]):r=Lt([r,h])}return r},_i={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};_t({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:(c,e)=>{var{parser:r,funcName:h}=c,C=h;return C.length===1&&(C=_i[C]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:C}},htmlBuilder:mi,mathmlBuilder:Fi}),_t({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(c,e)=>{var{parser:r}=c,h=e[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ut(h)}},htmlBuilder:mi,mathmlBuilder:Fi});var Ei={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};_t({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(c){var{parser:e,funcName:r}=c;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:mi,mathmlBuilder:Fi}),_t({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(c){var{parser:e,funcName:r}=c;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:mi,mathmlBuilder:Fi}),_t({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(c){var{parser:e,funcName:r}=c,h=r;return h.length===1&&(h=Ei[h]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:h}},htmlBuilder:mi,mathmlBuilder:Fi});var pi=(c,e)=>{var r,h,C=!1,K;c.type==="supsub"?(r=c.sup,h=c.sub,K=Yr(c.base,"operatorname"),C=!0):K=Yr(c,"operatorname");var Ie;if(K.body.length>0){for(var Ge=K.body.map(br=>{var kr=br.text;return typeof kr=="string"?{type:"textord",mode:br.mode,text:kr}:br}),_e=Ct(Ge,e.withFont("mathrm"),!0),Kt=0;Kt<_e.length;Kt++){var hr=_e[Kt];hr instanceof ke&&(hr.text=hr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Ie=Pe.makeSpan(["mop"],_e,e)}else Ie=Pe.makeSpan(["mop"],[],e);return C?Ri(Ie,r,h,e,e.style,0,0):Ie},ki=(c,e)=>{for(var r=Et(c.body,e.withFont("mathrm")),h=!0,C=0;C<r.length;C++){var K=r[C];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 Ie=K.children[0];K.children.length===1&&Ie instanceof Wt.TextNode?Ie.text=Ie.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):h=!1;break}default:h=!1}else h=!1}if(h){var Ge=r.map(hr=>hr.toText()).join("");r=[new Wt.TextNode(Ge)]}var _e=new Wt.MathNode("mi",r);_e.setAttribute("mathvariant","normal");var Kt=new Wt.MathNode("mo",[Fr("\u2061","text")]);return c.parentIsSupSub?new Wt.MathNode("mrow",[_e,Kt]):Wt.newDocumentFragment([_e,Kt])};_t({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(c,e)=>{var{parser:r,funcName:h}=c,C=e[0];return{type:"operatorname",mode:r.mode,body:ut(C),alwaysHandleSupSub:h==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:pi,mathmlBuilder:ki}),Ye("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Br({type:"ordgroup",htmlBuilder(c,e){return c.semisimple?Pe.makeFragment(Ct(c.body,e,!1)):Pe.makeSpan(["mord"],Ct(c.body,e,!0),e)},mathmlBuilder(c,e){return wn(c.body,e,!0)}}),_t({type:"overline",names:["\\overline"],props:{numArgs:1},handler(c,e){var{parser:r}=c,h=e[0];return{type:"overline",mode:r.mode,body:h}},htmlBuilder(c,e){var r=rt(c.body,e.havingCrampedStyle()),h=Pe.makeLineSpan("overline-line",e),C=e.fontMetrics().defaultRuleThickness,K=Pe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*C},{type:"elem",elem:h},{type:"kern",size:C}]},e);return Pe.makeSpan(["mord","overline"],[K],e)},mathmlBuilder(c,e){var r=new Wt.MathNode("mo",[new Wt.TextNode("\u203E")]);r.setAttribute("stretchy","true");var h=new Wt.MathNode("mover",[Gr(c.body,e),r]);return h.setAttribute("accent","true"),h}}),_t({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(c,e)=>{var{parser:r}=c,h=e[0];return{type:"phantom",mode:r.mode,body:ut(h)}},htmlBuilder:(c,e)=>{var r=Ct(c.body,e.withPhantom(),!1);return Pe.makeFragment(r)},mathmlBuilder:(c,e)=>{var r=Et(c.body,e);return new Wt.MathNode("mphantom",r)}}),_t({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(c,e)=>{var{parser:r}=c,h=e[0];return{type:"hphantom",mode:r.mode,body:h}},htmlBuilder:(c,e)=>{var r=Pe.makeSpan([],[rt(c.body,e.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var h=0;h<r.children.length;h++)r.children[h].height=0,r.children[h].depth=0;return r=Pe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},e),Pe.makeSpan(["mord"],[r],e)},mathmlBuilder:(c,e)=>{var r=Et(ut(c.body),e),h=new Wt.MathNode("mphantom",r),C=new Wt.MathNode("mpadded",[h]);return C.setAttribute("height","0px"),C.setAttribute("depth","0px"),C}}),_t({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(c,e)=>{var{parser:r}=c,h=e[0];return{type:"vphantom",mode:r.mode,body:h}},htmlBuilder:(c,e)=>{var r=Pe.makeSpan(["inner"],[rt(c.body,e.withPhantom())]),h=Pe.makeSpan(["fix"],[]);return Pe.makeSpan(["mord","rlap"],[r,h],e)},mathmlBuilder:(c,e)=>{var r=Et(ut(c.body),e),h=new Wt.MathNode("mphantom",r),C=new Wt.MathNode("mpadded",[h]);return C.setAttribute("width","0px"),C}}),_t({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(c,e){var{parser:r}=c,h=Yr(e[0],"size").value,C=e[1];return{type:"raisebox",mode:r.mode,dy:h,body:C}},htmlBuilder(c,e){var r=rt(c.body,e),h=Ut(c.dy,e);return Pe.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(c,e){var r=new Wt.MathNode("mpadded",[Gr(c.body,e)]),h=c.dy.number+c.dy.unit;return r.setAttribute("voffset",h),r}}),_t({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(c){var{parser:e}=c;return{type:"internal",mode:e.mode}}}),_t({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(c,e,r){var{parser:h}=c,C=r[0],K=Yr(e[0],"size"),Ie=Yr(e[1],"size");return{type:"rule",mode:h.mode,shift:C&&Yr(C,"size").value,width:K.value,height:Ie.value}},htmlBuilder(c,e){var r=Pe.makeSpan(["mord","rule"],[],e),h=Ut(c.width,e),C=Ut(c.height,e),K=c.shift?Ut(c.shift,e):0;return r.style.borderRightWidth=St(h),r.style.borderTopWidth=St(C),r.style.bottom=St(K),r.width=h,r.height=C+K,r.depth=-K,r.maxFontSize=C*1.125*e.sizeMultiplier,r},mathmlBuilder(c,e){var r=Ut(c.width,e),h=Ut(c.height,e),C=c.shift?Ut(c.shift,e):0,K=e.color&&e.getColor()||"black",Ie=new Wt.MathNode("mspace");Ie.setAttribute("mathbackground",K),Ie.setAttribute("width",St(r)),Ie.setAttribute("height",St(h));var Ge=new Wt.MathNode("mpadded",[Ie]);return C>=0?Ge.setAttribute("height",St(C)):(Ge.setAttribute("height",St(C)),Ge.setAttribute("depth",St(-C))),Ge.setAttribute("voffset",St(C)),Ge}});function ai(c,e,r){for(var h=Ct(c,e,!1),C=e.sizeMultiplier/r.sizeMultiplier,K=0;K<h.length;K++){var Ie=h[K].classes.indexOf("sizing");Ie<0?Array.prototype.push.apply(h[K].classes,e.sizingClasses(r)):h[K].classes[Ie+1]==="reset-size"+e.size&&(h[K].classes[Ie+1]="reset-size"+r.size),h[K].height*=C,h[K].depth*=C}return Pe.makeFragment(h)}var Hi=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Xi=(c,e)=>{var r=e.havingSize(c.size);return ai(c.body,r,e)};_t({type:"sizing",names:Hi,props:{numArgs:0,allowedInText:!0},handler:(c,e)=>{var{breakOnTokenText:r,funcName:h,parser:C}=c,K=C.parseExpression(!1,r);return{type:"sizing",mode:C.mode,size:Hi.indexOf(h)+1,body:K}},htmlBuilder:Xi,mathmlBuilder:(c,e)=>{var r=e.havingSize(c.size),h=Et(c.body,r),C=new Wt.MathNode("mstyle",h);return C.setAttribute("mathsize",St(r.sizeMultiplier)),C}}),_t({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(c,e,r)=>{var{parser:h}=c,C=!1,K=!1,Ie=r[0]&&Yr(r[0],"ordgroup");if(Ie)for(var Ge="",_e=0;_e<Ie.body.length;++_e){var Kt=Ie.body[_e];if(Ge=Kt.text,Ge==="t")C=!0;else if(Ge==="b")K=!0;else{C=!1,K=!1;break}}else C=!0,K=!0;var hr=e[0];return{type:"smash",mode:h.mode,body:hr,smashHeight:C,smashDepth:K}},htmlBuilder:(c,e)=>{var r=Pe.makeSpan([],[rt(c.body,e)]);if(!c.smashHeight&&!c.smashDepth)return r;if(c.smashHeight&&(r.height=0,r.children))for(var h=0;h<r.children.length;h++)r.children[h].height=0;if(c.smashDepth&&(r.depth=0,r.children))for(var C=0;C<r.children.length;C++)r.children[C].depth=0;var K=Pe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},e);return Pe.makeSpan(["mord"],[K],e)},mathmlBuilder:(c,e)=>{var r=new Wt.MathNode("mpadded",[Gr(c.body,e)]);return c.smashHeight&&r.setAttribute("height","0px"),c.smashDepth&&r.setAttribute("depth","0px"),r}}),_t({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(c,e,r){var{parser:h}=c,C=r[0],K=e[0];return{type:"sqrt",mode:h.mode,body:K,index:C}},htmlBuilder(c,e){var r=rt(c.body,e.havingCrampedStyle());r.height===0&&(r.height=e.fontMetrics().xHeight),r=Pe.wrapFragment(r,e);var h=e.fontMetrics(),C=h.defaultRuleThickness,K=C;e.style.id<_.TEXT.id&&(K=e.fontMetrics().xHeight);var Ie=C+K/4,Ge=r.height+r.depth+Ie+C,{span:_e,ruleWidth:Kt,advanceWidth:hr}=Oo.sqrtImage(Ge,e),br=_e.height-Kt;br>r.height+r.depth+Ie&&(Ie=(Ie+br-r.height-r.depth)/2);var kr=_e.height-r.height-Ie-Kt;r.style.paddingLeft=St(hr);var Dr=Pe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+kr)},{type:"elem",elem:_e},{type:"kern",size:Kt}]},e);if(c.index){var hn=e.havingStyle(_.SCRIPTSCRIPT),An=rt(c.index,hn,e),Fn=.6*(Dr.height-Dr.depth),jn=Pe.makeVList({positionType:"shift",positionData:-Fn,children:[{type:"elem",elem:An}]},e),Qn=Pe.makeSpan(["root"],[jn]);return Pe.makeSpan(["mord","sqrt"],[Qn,Dr],e)}else return Pe.makeSpan(["mord","sqrt"],[Dr],e)},mathmlBuilder(c,e){var{body:r,index:h}=c;return h?new Wt.MathNode("mroot",[Gr(r,e),Gr(h,e)]):new Wt.MathNode("msqrt",[Gr(r,e)])}});var os={display:_.DISPLAY,text:_.TEXT,script:_.SCRIPT,scriptscript:_.SCRIPTSCRIPT};_t({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(c,e){var{breakOnTokenText:r,funcName:h,parser:C}=c,K=C.parseExpression(!0,r),Ie=h.slice(1,h.length-5);return{type:"styling",mode:C.mode,style:Ie,body:K}},htmlBuilder(c,e){var r=os[c.style],h=e.havingStyle(r).withFont("");return ai(c.body,h,e)},mathmlBuilder(c,e){var r=os[c.style],h=e.havingStyle(r),C=Et(c.body,h),K=new Wt.MathNode("mstyle",C),Ie={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Ge=Ie[c.style];return K.setAttribute("scriptlevel",Ge[0]),K.setAttribute("displaystyle",Ge[1]),K}});var ps=function(e,r){var h=e.base;if(h)if(h.type==="op"){var C=h.limits&&(r.style.size===_.DISPLAY.size||h.alwaysHandleSupSub);return C?mi:null}else if(h.type==="operatorname"){var K=h.alwaysHandleSupSub&&(r.style.size===_.DISPLAY.size||h.limits);return K?pi:null}else{if(h.type==="accent")return $.isCharacterBox(h.base)?La:null;if(h.type==="horizBrace"){var Ie=!e.sub;return Ie===h.isOver?Jo:null}else return null}else return null};Br({type:"supsub",htmlBuilder(c,e){var r=ps(c,e);if(r)return r(c,e);var{base:h,sup:C,sub:K}=c,Ie=rt(h,e),Ge,_e,Kt=e.fontMetrics(),hr=0,br=0,kr=h&&$.isCharacterBox(h);if(C){var Dr=e.havingStyle(e.style.sup());Ge=rt(C,Dr,e),kr||(hr=Ie.height-Dr.fontMetrics().supDrop*Dr.sizeMultiplier/e.sizeMultiplier)}if(K){var hn=e.havingStyle(e.style.sub());_e=rt(K,hn,e),kr||(br=Ie.depth+hn.fontMetrics().subDrop*hn.sizeMultiplier/e.sizeMultiplier)}var An;e.style===_.DISPLAY?An=Kt.sup1:e.style.cramped?An=Kt.sup3:An=Kt.sup2;var Fn=e.sizeMultiplier,jn=St(.5/Kt.ptPerEm/Fn),Qn=null;if(_e){var qn=c.base&&c.base.type==="op"&&c.base.name&&(c.base.name==="\\oiint"||c.base.name==="\\oiiint");(Ie instanceof ke||qn)&&(Qn=St(-Ie.italic))}var ha;if(Ge&&_e){hr=Math.max(hr,An,Ge.depth+.25*Kt.xHeight),br=Math.max(br,Kt.sub2);var pa=Kt.defaultRuleThickness,$a=4*pa;if(hr-Ge.depth-(_e.height-br)<$a){br=$a-(hr-Ge.depth)+_e.height;var Ea=.8*Kt.xHeight-(hr-Ge.depth);Ea>0&&(hr+=Ea,br-=Ea)}var Ka=[{type:"elem",elem:_e,shift:br,marginRight:jn,marginLeft:Qn},{type:"elem",elem:Ge,shift:-hr,marginRight:jn}];ha=Pe.makeVList({positionType:"individualShift",children:Ka},e)}else if(_e){br=Math.max(br,Kt.sub1,_e.height-.8*Kt.xHeight);var ja=[{type:"elem",elem:_e,marginLeft:Qn,marginRight:jn}];ha=Pe.makeVList({positionType:"shift",positionData:br,children:ja},e)}else if(Ge)hr=Math.max(hr,An,Ge.depth+.25*Kt.xHeight),ha=Pe.makeVList({positionType:"shift",positionData:-hr,children:[{type:"elem",elem:Ge,marginRight:jn}]},e);else throw new Error("supsub must have either sup or sub.");var Ha=be(Ie,"right")||"mord";return Pe.makeSpan([Ha],[Ie,Pe.makeSpan(["msupsub"],[ha])],e)},mathmlBuilder(c,e){var r=!1,h,C;c.base&&c.base.type==="horizBrace"&&(C=!!c.sup,C===c.base.isOver&&(r=!0,h=c.base.isOver)),c.base&&(c.base.type==="op"||c.base.type==="operatorname")&&(c.base.parentIsSupSub=!0);var K=[Gr(c.base,e)];c.sub&&K.push(Gr(c.sub,e)),c.sup&&K.push(Gr(c.sup,e));var Ie;if(r)Ie=h?"mover":"munder";else if(c.sub)if(c.sup){var Kt=c.base;Kt&&Kt.type==="op"&&Kt.limits&&e.style===_.DISPLAY||Kt&&Kt.type==="operatorname"&&Kt.alwaysHandleSupSub&&(e.style===_.DISPLAY||Kt.limits)?Ie="munderover":Ie="msubsup"}else{var _e=c.base;_e&&_e.type==="op"&&_e.limits&&(e.style===_.DISPLAY||_e.alwaysHandleSupSub)||_e&&_e.type==="operatorname"&&_e.alwaysHandleSupSub&&(_e.limits||e.style===_.DISPLAY)?Ie="munder":Ie="msub"}else{var Ge=c.base;Ge&&Ge.type==="op"&&Ge.limits&&(e.style===_.DISPLAY||Ge.alwaysHandleSupSub)||Ge&&Ge.type==="operatorname"&&Ge.alwaysHandleSupSub&&(Ge.limits||e.style===_.DISPLAY)?Ie="mover":Ie="msup"}return new Wt.MathNode(Ie,K)}}),Br({type:"atom",htmlBuilder(c,e){return Pe.mathsym(c.text,c.mode,e,["m"+c.family])},mathmlBuilder(c,e){var r=new Wt.MathNode("mo",[Fr(c.text,c.mode)]);if(c.family==="bin"){var h=gn(c,e);h==="bold-italic"&&r.setAttribute("mathvariant",h)}else c.family==="punct"?r.setAttribute("separator","true"):(c.family==="open"||c.family==="close")&&r.setAttribute("stretchy","false");return r}});var Wi={mi:"italic",mn:"normal",mtext:"normal"};Br({type:"mathord",htmlBuilder(c,e){return Pe.makeOrd(c,e,"mathord")},mathmlBuilder(c,e){var r=new Wt.MathNode("mi",[Fr(c.text,c.mode,e)]),h=gn(c,e)||"italic";return h!==Wi[r.type]&&r.setAttribute("mathvariant",h),r}}),Br({type:"textord",htmlBuilder(c,e){return Pe.makeOrd(c,e,"textord")},mathmlBuilder(c,e){var r=Fr(c.text,c.mode,e),h=gn(c,e)||"normal",C;return c.mode==="text"?C=new Wt.MathNode("mtext",[r]):/[0-9]/.test(c.text)?C=new Wt.MathNode("mn",[r]):c.text==="\\prime"?C=new Wt.MathNode("mo",[r]):C=new Wt.MathNode("mi",[r]),h!==Wi[C.type]&&C.setAttribute("mathvariant",h),C}});var Yi={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Uo={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Br({type:"spacing",htmlBuilder(c,e){if(Uo.hasOwnProperty(c.text)){var r=Uo[c.text].className||"";if(c.mode==="text"){var h=Pe.makeOrd(c,e,"textord");return h.classes.push(r),h}else return Pe.makeSpan(["mspace",r],[Pe.mathsym(c.text,c.mode,e)],e)}else{if(Yi.hasOwnProperty(c.text))return Pe.makeSpan(["mspace",Yi[c.text]],[],e);throw new te('Unknown type of space "'+c.text+'"')}},mathmlBuilder(c,e){var r;if(Uo.hasOwnProperty(c.text))r=new Wt.MathNode("mtext",[new Wt.TextNode("\xA0")]);else{if(Yi.hasOwnProperty(c.text))return new Wt.MathNode("mspace");throw new te('Unknown type of space "'+c.text+'"')}return r}});var Qo=()=>{var c=new Wt.MathNode("mtd",[]);return c.setAttribute("width","50%"),c};Br({type:"tag",mathmlBuilder(c,e){var r=new Wt.MathNode("mtable",[new Wt.MathNode("mtr",[Qo(),new Wt.MathNode("mtd",[wn(c.body,e)]),Qo(),new Wt.MathNode("mtd",[wn(c.tag,e)])])]);return r.setAttribute("width","100%"),r}});var gs={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},oi={"\\textbf":"textbf","\\textmd":"textmd"},ei={"\\textit":"textit","\\textup":"textup"},vt=(c,e)=>{var r=c.font;if(r){if(gs[r])return e.withTextFontFamily(gs[r]);if(oi[r])return e.withTextFontWeight(oi[r]);if(r==="\\emph")return e.fontShape==="textit"?e.withTextFontShape("textup"):e.withTextFontShape("textit")}else return e;return e.withTextFontShape(ei[r])};_t({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(c,e){var{parser:r,funcName:h}=c,C=e[0];return{type:"text",mode:r.mode,body:ut(C),font:h}},htmlBuilder(c,e){var r=vt(c,e),h=Ct(c.body,r,!0);return Pe.makeSpan(["mord","text"],h,r)},mathmlBuilder(c,e){var r=vt(c,e);return wn(c.body,r)}}),_t({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(c,e){var{parser:r}=c;return{type:"underline",mode:r.mode,body:e[0]}},htmlBuilder(c,e){var r=rt(c.body,e),h=Pe.makeLineSpan("underline-line",e),C=e.fontMetrics().defaultRuleThickness,K=Pe.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:C},{type:"elem",elem:h},{type:"kern",size:3*C},{type:"elem",elem:r}]},e);return Pe.makeSpan(["mord","underline"],[K],e)},mathmlBuilder(c,e){var r=new Wt.MathNode("mo",[new Wt.TextNode("\u203E")]);r.setAttribute("stretchy","true");var h=new Wt.MathNode("munder",[Gr(c.body,e),r]);return h.setAttribute("accentunder","true"),h}}),_t({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(c,e){var{parser:r}=c;return{type:"vcenter",mode:r.mode,body:e[0]}},htmlBuilder(c,e){var r=rt(c.body,e),h=e.fontMetrics().axisHeight,C=.5*(r.height-h-(r.depth+h));return Pe.makeVList({positionType:"shift",positionData:C,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(c,e){return new Wt.MathNode("mpadded",[Gr(c.body,e)],["vcenter"])}}),_t({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(c,e,r){throw new te("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(c,e){for(var r=gi(c),h=[],C=e.havingStyle(e.style.text()),K=0;K<r.length;K++){var Ie=r[K];Ie==="~"&&(Ie="\\textasciitilde"),h.push(Pe.makeSymbol(Ie,"Typewriter-Regular",c.mode,C,["mord","texttt"]))}return Pe.makeSpan(["mord","text"].concat(C.sizingClasses(e)),Pe.tryCombineChars(h),C)},mathmlBuilder(c,e){var r=new Wt.TextNode(gi(c)),h=new Wt.MathNode("mtext",[r]);return h.setAttribute("mathvariant","monospace"),h}});var gi=c=>c.body.replace(/ /g,c.star?"\u2423":"\xA0"),Zo=Mr,vi=`[ \r
]`,vs="\\\\[a-zA-Z@]+",Ui="\\\\[^\uD800-\uDFFF]",qi="("+vs+")"+vi+"*",is=`\\\\(
|[ \r ]+
?)[ \r ]*`,Ii="[\u0300-\u036F]",Ji=new RegExp(Ii+"+$"),Qi="("+vi+"+)|"+(is+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ii+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ii+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+qi)+("|"+Ui+")");class Ai{constructor(e,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=r,this.tokenRegex=new RegExp(Qi,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,r){this.catcodes[e]=r}lex(){var e=this.input,r=this.tokenRegex.lastIndex;if(r===e.length)return new He("EOF",new I(this,r,r));var h=this.tokenRegex.exec(e);if(h===null||h.index!==r)throw new te("Unexpected character: '"+e[r]+"'",new He(e[r],new I(this,r,r+1)));var C=h[6]||h[3]||(h[2]?"\\ ":" ");if(this.catcodes[C]===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 He(C,new I(this,r,this.tokenRegex.lastIndex))}}class As{constructor(e,r){e===void 0&&(e={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new te("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var r in e)e.hasOwnProperty(r)&&(e[r]==null?delete this.current[r]:this.current[r]=e[r])}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,r,h){if(h===void 0&&(h=!1),h){for(var C=0;C<this.undefStack.length;C++)delete this.undefStack[C][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=r)}else{var K=this.undefStack[this.undefStack.length-1];K&&!K.hasOwnProperty(e)&&(K[e]=this.current[e])}r==null?delete this.current[e]:this.current[e]=r}}var $i=Ja;Ye("\\noexpand",function(c){var e=c.popToken();return c.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}}),Ye("\\expandafter",function(c){var e=c.popToken();return c.expandOnce(!0),{tokens:[e],numArgs:0}}),Ye("\\@firstoftwo",function(c){var e=c.consumeArgs(2);return{tokens:e[0],numArgs:0}}),Ye("\\@secondoftwo",function(c){var e=c.consumeArgs(2);return{tokens:e[1],numArgs:0}}),Ye("\\@ifnextchar",function(c){var e=c.consumeArgs(3);c.consumeSpaces();var r=c.future();return e[0].length===1&&e[0][0].text===r.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}}),Ye("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Ye("\\TextOrMath",function(c){var e=c.consumeArgs(2);return c.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var bi={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};Ye("\\char",function(c){var e=c.popToken(),r,h="";if(e.text==="'")r=8,e=c.popToken();else if(e.text==='"')r=16,e=c.popToken();else if(e.text==="`")if(e=c.popToken(),e.text[0]==="\\")h=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new te("\\char` missing argument");h=e.text.charCodeAt(0)}else r=10;if(r){if(h=bi[e.text],h==null||h>=r)throw new te("Invalid base-"+r+" digit "+e.text);for(var C;(C=bi[c.future().text])!=null&&C<r;)h*=r,h+=C,c.popToken()}return"\\@char{"+h+"}"});var Zi=(c,e,r,h)=>{var C=c.consumeArg().tokens;if(C.length!==1)throw new te("\\newcommand's first argument must be a macro name");var K=C[0].text,Ie=c.isDefined(K);if(Ie&&!e)throw new te("\\newcommand{"+K+"} attempting to redefine "+(K+"; use \\renewcommand"));if(!Ie&&!r)throw new te("\\renewcommand{"+K+"} when command "+K+" does not yet exist; use \\newcommand");var Ge=0;if(C=c.consumeArg().tokens,C.length===1&&C[0].text==="["){for(var _e="",Kt=c.expandNextToken();Kt.text!=="]"&&Kt.text!=="EOF";)_e+=Kt.text,Kt=c.expandNextToken();if(!_e.match(/^\s*[0-9]+\s*$/))throw new te("Invalid number of arguments: "+_e);Ge=parseInt(_e),C=c.consumeArg().tokens}return Ie&&h||c.macros.set(K,{tokens:C,numArgs:Ge}),""};Ye("\\newcommand",c=>Zi(c,!1,!0,!1)),Ye("\\renewcommand",c=>Zi(c,!0,!1,!1)),Ye("\\providecommand",c=>Zi(c,!0,!0,!0)),Ye("\\message",c=>{var e=c.consumeArgs(1)[0];return console.log(e.reverse().map(r=>r.text).join("")),""}),Ye("\\errmessage",c=>{var e=c.consumeArgs(1)[0];return console.error(e.reverse().map(r=>r.text).join("")),""}),Ye("\\show",c=>{var e=c.popToken(),r=e.text;return console.log(e,c.macros.get(r),Zo[r],Tr.math[r],Tr.text[r]),""}),Ye("\\bgroup","{"),Ye("\\egroup","}"),Ye("~","\\nobreakspace"),Ye("\\lq","`"),Ye("\\rq","'"),Ye("\\aa","\\r a"),Ye("\\AA","\\r A"),Ye("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),Ye("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Ye("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),Ye("\u212C","\\mathscr{B}"),Ye("\u2130","\\mathscr{E}"),Ye("\u2131","\\mathscr{F}"),Ye("\u210B","\\mathscr{H}"),Ye("\u2110","\\mathscr{I}"),Ye("\u2112","\\mathscr{L}"),Ye("\u2133","\\mathscr{M}"),Ye("\u211B","\\mathscr{R}"),Ye("\u212D","\\mathfrak{C}"),Ye("\u210C","\\mathfrak{H}"),Ye("\u2128","\\mathfrak{Z}"),Ye("\\Bbbk","\\Bbb{k}"),Ye("\xB7","\\cdotp"),Ye("\\llap","\\mathllap{\\textrm{#1}}"),Ye("\\rlap","\\mathrlap{\\textrm{#1}}"),Ye("\\clap","\\mathclap{\\textrm{#1}}"),Ye("\\mathstrut","\\vphantom{(}"),Ye("\\underbar","\\underline{\\text{#1}}"),Ye("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Ye("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Ye("\\ne","\\neq"),Ye("\u2260","\\neq"),Ye("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Ye("\u2209","\\notin"),Ye("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Ye("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Ye("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),Ye("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),Ye("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),Ye("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),Ye("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),Ye("\u27C2","\\perp"),Ye("\u203C","\\mathclose{!\\mkern-0.8mu!}"),Ye("\u220C","\\notni"),Ye("\u231C","\\ulcorner"),Ye("\u231D","\\urcorner"),Ye("\u231E","\\llcorner"),Ye("\u231F","\\lrcorner"),Ye("\xA9","\\copyright"),Ye("\xAE","\\textregistered"),Ye("\uFE0F","\\textregistered"),Ye("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Ye("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Ye("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Ye("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Ye("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),Ye("\u22EE","\\vdots"),Ye("\\varGamma","\\mathit{\\Gamma}"),Ye("\\varDelta","\\mathit{\\Delta}"),Ye("\\varTheta","\\mathit{\\Theta}"),Ye("\\varLambda","\\mathit{\\Lambda}"),Ye("\\varXi","\\mathit{\\Xi}"),Ye("\\varPi","\\mathit{\\Pi}"),Ye("\\varSigma","\\mathit{\\Sigma}"),Ye("\\varUpsilon","\\mathit{\\Upsilon}"),Ye("\\varPhi","\\mathit{\\Phi}"),Ye("\\varPsi","\\mathit{\\Psi}"),Ye("\\varOmega","\\mathit{\\Omega}"),Ye("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Ye("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Ye("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Ye("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Ye("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Ye("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),Ye("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),Ye("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var yi={",":"\\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"};Ye("\\dots",function(c){var e="\\dotso",r=c.expandAfterFuture().text;return r in yi?e=yi[r]:(r.slice(0,4)==="\\not"||r in Tr.math&&$.contains(["bin","rel"],Tr.math[r].group))&&(e="\\dotsb"),e});var ji={")":!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};Ye("\\dotso",function(c){var e=c.future().text;return e in ji?"\\ldots\\,":"\\ldots"}),Ye("\\dotsc",function(c){var e=c.future().text;return e in ji&&e!==","?"\\ldots\\,":"\\ldots"}),Ye("\\cdots",function(c){var e=c.future().text;return e in ji?"\\@cdots\\,":"\\@cdots"}),Ye("\\dotsb","\\cdots"),Ye("\\dotsm","\\cdots"),Ye("\\dotsi","\\!\\cdots"),Ye("\\dotsx","\\ldots\\,"),Ye("\\DOTSI","\\relax"),Ye("\\DOTSB","\\relax"),Ye("\\DOTSX","\\relax"),Ye("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Ye("\\,","\\tmspace+{3mu}{.1667em}"),Ye("\\thinspace","\\,"),Ye("\\>","\\mskip{4mu}"),Ye("\\:","\\tmspace+{4mu}{.2222em}"),Ye("\\medspace","\\:"),Ye("\\;","\\tmspace+{5mu}{.2777em}"),Ye("\\thickspace","\\;"),Ye("\\!","\\tmspace-{3mu}{.1667em}"),Ye("\\negthinspace","\\!"),Ye("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Ye("\\negthickspace","\\tmspace-{5mu}{.277em}"),Ye("\\enspace","\\kern.5em "),Ye("\\enskip","\\hskip.5em\\relax"),Ye("\\quad","\\hskip1em\\relax"),Ye("\\qquad","\\hskip2em\\relax"),Ye("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Ye("\\tag@paren","\\tag@literal{({#1})}"),Ye("\\tag@literal",c=>{if(c.macros.get("\\df@tag"))throw new te("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Ye("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Ye("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Ye("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Ye("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Ye("\\newline","\\\\\\relax"),Ye("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var x=St(ue["Main-Regular"][84][1]-.7*ue["Main-Regular"][65][1]);Ye("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+x+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),Ye("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+x+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),Ye("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Ye("\\@hspace","\\hskip #1\\relax"),Ye("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Ye("\\ordinarycolon",":"),Ye("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Ye("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Ye("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Ye("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Ye("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Ye("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Ye("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Ye("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Ye("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Ye("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Ye("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Ye("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Ye("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Ye("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Ye("\u2237","\\dblcolon"),Ye("\u2239","\\eqcolon"),Ye("\u2254","\\coloneqq"),Ye("\u2255","\\eqqcolon"),Ye("\u2A74","\\Coloneqq"),Ye("\\ratio","\\vcentcolon"),Ye("\\coloncolon","\\dblcolon"),Ye("\\colonequals","\\coloneqq"),Ye("\\coloncolonequals","\\Coloneqq"),Ye("\\equalscolon","\\eqqcolon"),Ye("\\equalscoloncolon","\\Eqqcolon"),Ye("\\colonminus","\\coloneq"),Ye("\\coloncolonminus","\\Coloneq"),Ye("\\minuscolon","\\eqcolon"),Ye("\\minuscoloncolon","\\Eqcolon"),Ye("\\coloncolonapprox","\\Colonapprox"),Ye("\\coloncolonsim","\\Colonsim"),Ye("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Ye("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Ye("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Ye("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Ye("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),Ye("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Ye("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Ye("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Ye("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Ye("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Ye("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Ye("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Ye("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Ye("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Ye("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Ye("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Ye("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Ye("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Ye("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Ye("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Ye("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Ye("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Ye("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Ye("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),Ye("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),Ye("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),Ye("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),Ye("\\imath","\\html@mathml{\\@imath}{\u0131}"),Ye("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),Ye("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),Ye("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),Ye("\u27E6","\\llbracket"),Ye("\u27E7","\\rrbracket"),Ye("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Ye("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Ye("\u2983","\\lBrace"),Ye("\u2984","\\rBrace"),Ye("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}"),Ye("\u29B5","\\minuso"),Ye("\\darr","\\downarrow"),Ye("\\dArr","\\Downarrow"),Ye("\\Darr","\\Downarrow"),Ye("\\lang","\\langle"),Ye("\\rang","\\rangle"),Ye("\\uarr","\\uparrow"),Ye("\\uArr","\\Uparrow"),Ye("\\Uarr","\\Uparrow"),Ye("\\N","\\mathbb{N}"),Ye("\\R","\\mathbb{R}"),Ye("\\Z","\\mathbb{Z}"),Ye("\\alef","\\aleph"),Ye("\\alefsym","\\aleph"),Ye("\\Alpha","\\mathrm{A}"),Ye("\\Beta","\\mathrm{B}"),Ye("\\bull","\\bullet"),Ye("\\Chi","\\mathrm{X}"),Ye("\\clubs","\\clubsuit"),Ye("\\cnums","\\mathbb{C}"),Ye("\\Complex","\\mathbb{C}"),Ye("\\Dagger","\\ddagger"),Ye("\\diamonds","\\diamondsuit"),Ye("\\empty","\\emptyset"),Ye("\\Epsilon","\\mathrm{E}"),Ye("\\Eta","\\mathrm{H}"),Ye("\\exist","\\exists"),Ye("\\harr","\\leftrightarrow"),Ye("\\hArr","\\Leftrightarrow"),Ye("\\Harr","\\Leftrightarrow"),Ye("\\hearts","\\heartsuit"),Ye("\\image","\\Im"),Ye("\\infin","\\infty"),Ye("\\Iota","\\mathrm{I}"),Ye("\\isin","\\in"),Ye("\\Kappa","\\mathrm{K}"),Ye("\\larr","\\leftarrow"),Ye("\\lArr","\\Leftarrow"),Ye("\\Larr","\\Leftarrow"),Ye("\\lrarr","\\leftrightarrow"),Ye("\\lrArr","\\Leftrightarrow"),Ye("\\Lrarr","\\Leftrightarrow"),Ye("\\Mu","\\mathrm{M}"),Ye("\\natnums","\\mathbb{N}"),Ye("\\Nu","\\mathrm{N}"),Ye("\\Omicron","\\mathrm{O}"),Ye("\\plusmn","\\pm"),Ye("\\rarr","\\rightarrow"),Ye("\\rArr","\\Rightarrow"),Ye("\\Rarr","\\Rightarrow"),Ye("\\real","\\Re"),Ye("\\reals","\\mathbb{R}"),Ye("\\Reals","\\mathbb{R}"),Ye("\\Rho","\\mathrm{P}"),Ye("\\sdot","\\cdot"),Ye("\\sect","\\S"),Ye("\\spades","\\spadesuit"),Ye("\\sub","\\subset"),Ye("\\sube","\\subseteq"),Ye("\\supe","\\supseteq"),Ye("\\Tau","\\mathrm{T}"),Ye("\\thetasym","\\vartheta"),Ye("\\weierp","\\wp"),Ye("\\Zeta","\\mathrm{Z}"),Ye("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Ye("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Ye("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Ye("\\bra","\\mathinner{\\langle{#1}|}"),Ye("\\ket","\\mathinner{|{#1}\\rangle}"),Ye("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Ye("\\Bra","\\left\\langle#1\\right|"),Ye("\\Ket","\\left|#1\\right\\rangle");var Me=c=>e=>{var r=e.consumeArg().tokens,h=e.consumeArg().tokens,C=e.consumeArg().tokens,K=e.consumeArg().tokens,Ie=e.macros.get("|"),Ge=e.macros.get("\\|");e.macros.beginGroup();var _e=br=>kr=>{c&&(kr.macros.set("|",Ie),C.length&&kr.macros.set("\\|",Ge));var Dr=br;if(!br&&C.length){var hn=kr.future();hn.text==="|"&&(kr.popToken(),Dr=!0)}return{tokens:Dr?C:h,numArgs:0}};e.macros.set("|",_e(!1)),C.length&&e.macros.set("\\|",_e(!0));var Kt=e.consumeArg().tokens,hr=e.expandTokens([...K,...Kt,...r]);return e.macros.endGroup(),{tokens:hr.reverse(),numArgs:0}};Ye("\\bra@ket",Me(!1)),Ye("\\bra@set",Me(!0)),Ye("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Ye("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Ye("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Ye("\\angln","{\\angl n}"),Ye("\\blue","\\textcolor{##6495ed}{#1}"),Ye("\\orange","\\textcolor{##ffa500}{#1}"),Ye("\\pink","\\textcolor{##ff00af}{#1}"),Ye("\\red","\\textcolor{##df0030}{#1}"),Ye("\\green","\\textcolor{##28ae7b}{#1}"),Ye("\\gray","\\textcolor{gray}{#1}"),Ye("\\purple","\\textcolor{##9d38bd}{#1}"),Ye("\\blueA","\\textcolor{##ccfaff}{#1}"),Ye("\\blueB","\\textcolor{##80f6ff}{#1}"),Ye("\\blueC","\\textcolor{##63d9ea}{#1}"),Ye("\\blueD","\\textcolor{##11accd}{#1}"),Ye("\\blueE","\\textcolor{##0c7f99}{#1}"),Ye("\\tealA","\\textcolor{##94fff5}{#1}"),Ye("\\tealB","\\textcolor{##26edd5}{#1}"),Ye("\\tealC","\\textcolor{##01d1c1}{#1}"),Ye("\\tealD","\\textcolor{##01a995}{#1}"),Ye("\\tealE","\\textcolor{##208170}{#1}"),Ye("\\greenA","\\textcolor{##b6ffb0}{#1}"),Ye("\\greenB","\\textcolor{##8af281}{#1}"),Ye("\\greenC","\\textcolor{##74cf70}{#1}"),Ye("\\greenD","\\textcolor{##1fab54}{#1}"),Ye("\\greenE","\\textcolor{##0d923f}{#1}"),Ye("\\goldA","\\textcolor{##ffd0a9}{#1}"),Ye("\\goldB","\\textcolor{##ffbb71}{#1}"),Ye("\\goldC","\\textcolor{##ff9c39}{#1}"),Ye("\\goldD","\\textcolor{##e07d10}{#1}"),Ye("\\goldE","\\textcolor{##a75a05}{#1}"),Ye("\\redA","\\textcolor{##fca9a9}{#1}"),Ye("\\redB","\\textcolor{##ff8482}{#1}"),Ye("\\redC","\\textcolor{##f9685d}{#1}"),Ye("\\redD","\\textcolor{##e84d39}{#1}"),Ye("\\redE","\\textcolor{##bc2612}{#1}"),Ye("\\maroonA","\\textcolor{##ffbde0}{#1}"),Ye("\\maroonB","\\textcolor{##ff92c6}{#1}"),Ye("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Ye("\\maroonD","\\textcolor{##ca337c}{#1}"),Ye("\\maroonE","\\textcolor{##9e034e}{#1}"),Ye("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Ye("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Ye("\\purpleC","\\textcolor{##aa87ff}{#1}"),Ye("\\purpleD","\\textcolor{##7854ab}{#1}"),Ye("\\purpleE","\\textcolor{##543b78}{#1}"),Ye("\\mintA","\\textcolor{##f5f9e8}{#1}"),Ye("\\mintB","\\textcolor{##edf2df}{#1}"),Ye("\\mintC","\\textcolor{##e0e5cc}{#1}"),Ye("\\grayA","\\textcolor{##f6f7f7}{#1}"),Ye("\\grayB","\\textcolor{##f0f1f2}{#1}"),Ye("\\grayC","\\textcolor{##e3e5e6}{#1}"),Ye("\\grayD","\\textcolor{##d6d8da}{#1}"),Ye("\\grayE","\\textcolor{##babec2}{#1}"),Ye("\\grayF","\\textcolor{##888d93}{#1}"),Ye("\\grayG","\\textcolor{##626569}{#1}"),Ye("\\grayH","\\textcolor{##3b3e40}{#1}"),Ye("\\grayI","\\textcolor{##21242c}{#1}"),Ye("\\kaBlue","\\textcolor{##314453}{#1}"),Ye("\\kaGreen","\\textcolor{##71B307}{#1}");var Rt={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class sr{constructor(e,r,h){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=r,this.expansionCount=0,this.feed(e),this.macros=new As($i,r.macros),this.mode=h,this.stack=[]}feed(e){this.lexer=new Ai(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 r,h,C;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:C,end:h}=this.consumeArg(["]"])}else({tokens:C,start:r,end:h}=this.consumeArg());return this.pushToken(new He("EOF",h.loc)),this.pushTokens(C),r.range(h,"")}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var r=[],h=e&&e.length>0;h||this.consumeSpaces();var C=this.future(),K,Ie=0,Ge=0;do{if(K=this.popToken(),r.push(K),K.text==="{")++Ie;else if(K.text==="}"){if(--Ie,Ie===-1)throw new te("Extra }",K)}else if(K.text==="EOF")throw new te("Unexpected end of input in a macro argument, expected '"+(e&&h?e[Ge]:"}")+"'",K);if(e&&h)if((Ie===0||Ie===1&&e[Ge]==="{")&&K.text===e[Ge]){if(++Ge,Ge===e.length){r.splice(-Ge,Ge);break}}else Ge=0}while(Ie!==0||h);return C.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:C,end:K}}consumeArgs(e,r){if(r){if(r.length!==e+1)throw new te("The length of delimiters doesn't match the number of args!");for(var h=r[0],C=0;C<h.length;C++){var K=this.popToken();if(h[C]!==K.text)throw new te("Use of the macro doesn't match its definition",K)}}for(var Ie=[],Ge=0;Ge<e;Ge++)Ie.push(this.consumeArg(r&&r[Ge+1]).tokens);return Ie}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new te("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var r=this.popToken(),h=r.text,C=r.noexpand?null:this._getExpansion(h);if(C==null||e&&C.unexpandable){if(e&&C==null&&h[0]==="\\"&&!this.isDefined(h))throw new te("Undefined control sequence: "+h);return this.pushToken(r),!1}this.countExpansion(1);var K=C.tokens,Ie=this.consumeArgs(C.numArgs,C.delimiters);if(C.numArgs){K=K.slice();for(var Ge=K.length-1;Ge>=0;--Ge){var _e=K[Ge];if(_e.text==="#"){if(Ge===0)throw new te("Incomplete placeholder at end of macro body",_e);if(_e=K[--Ge],_e.text==="#")K.splice(Ge+1,1);else if(/^[1-9]$/.test(_e.text))K.splice(Ge,2,...Ie[+_e.text-1]);else throw new te("Not a valid argument number",_e)}}}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 He(e)]):void 0}expandTokens(e){var r=[],h=this.stack.length;for(this.pushTokens(e);this.stack.length>h;)if(this.expandOnce(!0)===!1){var C=this.stack.pop();C.treatAsRelax&&(C.noexpand=!1,C.treatAsRelax=!1),r.push(C)}return this.countExpansion(r.length),r}expandMacroAsText(e){var r=this.expandMacro(e);return r&&r.map(h=>h.text).join("")}_getExpansion(e){var r=this.macros.get(e);if(r==null)return r;if(e.length===1){var h=this.lexer.catcodes[e];if(h!=null&&h!==13)return}var C=typeof r=="function"?r(this):r;if(typeof C=="string"){var K=0;if(C.indexOf("#")!==-1)for(var Ie=C.replace(/##/g,"");Ie.indexOf("#"+(K+1))!==-1;)++K;for(var Ge=new Ai(C,this.settings),_e=[],Kt=Ge.lex();Kt.text!=="EOF";)_e.push(Kt),Kt=Ge.lex();_e.reverse();var hr={tokens:_e,numArgs:K};return hr}return C}isDefined(e){return this.macros.has(e)||Zo.hasOwnProperty(e)||Tr.math.hasOwnProperty(e)||Tr.text.hasOwnProperty(e)||Rt.hasOwnProperty(e)}isExpandable(e){var r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Zo.hasOwnProperty(e)&&!Zo[e].primitive}}var k=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,t=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"}),a={"\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"}},i={\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 p{constructor(e,r){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 sr(e,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(e,r){if(r===void 0&&(r=!0),this.fetch().text!==e)throw new te("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());r&&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 r=this.nextToken;this.consume(),this.gullet.pushToken(new He("}")),this.gullet.pushTokens(e);var h=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,h}parseExpression(e,r){for(var h=[];;){this.mode==="math"&&this.consumeSpaces();var C=this.fetch();if(p.endOfExpression.indexOf(C.text)!==-1||r&&C.text===r||e&&Zo[C.text]&&Zo[C.text].infix)break;var K=this.parseAtom(r);if(K){if(K.type==="internal")continue}else break;h.push(K)}return this.mode==="text"&&this.formLigatures(h),this.handleInfixNodes(h)}handleInfixNodes(e){for(var r=-1,h,C=0;C<e.length;C++)if(e[C].type==="infix"){if(r!==-1)throw new te("only one infix operator per group",e[C].token);r=C,h=e[C].replaceWith}if(r!==-1&&h){var K,Ie,Ge=e.slice(0,r),_e=e.slice(r+1);Ge.length===1&&Ge[0].type==="ordgroup"?K=Ge[0]:K={type:"ordgroup",mode:this.mode,body:Ge},_e.length===1&&_e[0].type==="ordgroup"?Ie=_e[0]:Ie={type:"ordgroup",mode:this.mode,body:_e};var Kt;return h==="\\\\abovefrac"?Kt=this.callFunction(h,[K,e[r],Ie],[]):Kt=this.callFunction(h,[K,Ie],[]),[Kt]}else return e}handleSupSubscript(e){var r=this.fetch(),h=r.text;this.consume(),this.consumeSpaces();var C;do{var K;C=this.parseGroup(e)}while(((K=C)==null?void 0:K.type)==="internal");if(!C)throw new te("Expected group after '"+h+"'",r);return C}formatUnsupportedCmd(e){for(var r=[],h=0;h<e.length;h++)r.push({type:"textord",mode:"text",text:e[h]});var C={type:"text",mode:this.mode,body:r},K={type:"color",mode:this.mode,color:this.settings.errorColor,body:[C]};return K}parseAtom(e){var r=this.parseGroup("atom",e);if((r==null?void 0:r.type)==="internal"||this.mode==="text")return r;for(var h,C;;){this.consumeSpaces();var K=this.fetch();if(K.text==="\\limits"||K.text==="\\nolimits"){if(r&&r.type==="op"){var Ie=K.text==="\\limits";r.limits=Ie,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=K.text==="\\limits");else throw new te("Limit controls must follow a math operator",K);this.consume()}else if(K.text==="^"){if(h)throw new te("Double superscript",K);h=this.handleSupSubscript("superscript")}else if(K.text==="_"){if(C)throw new te("Double subscript",K);C=this.handleSupSubscript("subscript")}else if(K.text==="'"){if(h)throw new te("Double superscript",K);var Ge={type:"textord",mode:this.mode,text:"\\prime"},_e=[Ge];for(this.consume();this.fetch().text==="'";)_e.push(Ge),this.consume();this.fetch().text==="^"&&_e.push(this.handleSupSubscript("superscript")),h={type:"ordgroup",mode:this.mode,body:_e}}else if(t[K.text]){var Kt=k.test(K.text),hr=[];for(hr.push(new He(t[K.text])),this.consume();;){var br=this.fetch().text;if(!t[br]||k.test(br)!==Kt)break;hr.unshift(new He(t[br])),this.consume()}var kr=this.subparse(hr);Kt?C={type:"ordgroup",mode:"math",body:kr}:h={type:"ordgroup",mode:"math",body:kr}}else break}return h||C?{type:"supsub",mode:this.mode,base:r,sup:h,sub:C}:r}parseFunction(e,r){var h=this.fetch(),C=h.text,K=Zo[C];if(!K)return null;if(this.consume(),r&&r!=="atom"&&!K.allowedInArgument)throw new te("Got function '"+C+"' with no arguments"+(r?" as "+r:""),h);if(this.mode==="text"&&!K.allowedInText)throw new te("Can't use function '"+C+"' in text mode",h);if(this.mode==="math"&&K.allowedInMath===!1)throw new te("Can't use function '"+C+"' in math mode",h);var{args:Ie,optArgs:Ge}=this.parseArguments(C,K);return this.callFunction(C,Ie,Ge,h,e)}callFunction(e,r,h,C,K){var Ie={funcName:e,parser:this,token:C,breakOnTokenText:K},Ge=Zo[e];if(Ge&&Ge.handler)return Ge.handler(Ie,r,h);throw new te("No function handler for "+e)}parseArguments(e,r){var h=r.numArgs+r.numOptionalArgs;if(h===0)return{args:[],optArgs:[]};for(var C=[],K=[],Ie=0;Ie<h;Ie++){var Ge=r.argTypes&&r.argTypes[Ie],_e=Ie<r.numOptionalArgs;(r.primitive&&Ge==null||r.type==="sqrt"&&Ie===1&&K[0]==null)&&(Ge="primitive");var Kt=this.parseGroupOfType("argument to '"+e+"'",Ge,_e);if(_e)K.push(Kt);else if(Kt!=null)C.push(Kt);else throw new te("Null argument, please report this as a bug")}return{args:C,optArgs:K}}parseGroupOfType(e,r,h){switch(r){case"color":return this.parseColorGroup(h);case"size":return this.parseSizeGroup(h);case"url":return this.parseUrlGroup(h);case"math":case"text":return this.parseArgumentGroup(h,r);case"hbox":{var C=this.parseArgumentGroup(h,"text");return C!=null?{type:"styling",mode:C.mode,body:[C],style:"text"}:null}case"raw":{var K=this.parseStringGroup("raw",h);return K!=null?{type:"raw",mode:"text",string:K.text}:null}case"primitive":{if(h)throw new te("A primitive argument cannot be optional");var Ie=this.parseGroup(e);if(Ie==null)throw new te("Expected group as "+e,this.fetch());return Ie}case"original":case null:case void 0:return this.parseArgumentGroup(h);default:throw new te("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(e,r){var h=this.gullet.scanArgument(r);if(h==null)return null;for(var C="",K;(K=this.fetch()).text!=="EOF";)C+=K.text,this.consume();return this.consume(),h.text=C,h}parseRegexGroup(e,r){for(var h=this.fetch(),C=h,K="",Ie;(Ie=this.fetch()).text!=="EOF"&&e.test(K+Ie.text);)C=Ie,K+=C.text,this.consume();if(K==="")throw new te("Invalid "+r+": '"+h.text+"'",h);return h.range(C,K)}parseColorGroup(e){var r=this.parseStringGroup("color",e);if(r==null)return null;var h=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!h)throw new te("Invalid color: '"+r.text+"'",r);var C=h[0];return/^[0-9a-f]{6}$/i.test(C)&&(C="#"+C),{type:"color-token",mode:this.mode,color:C}}parseSizeGroup(e){var r,h=!1;if(this.gullet.consumeSpaces(),!e&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",e),!r)return null;!e&&r.text.length===0&&(r.text="0pt",h=!0);var C=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!C)throw new te("Invalid size: '"+r.text+"'",r);var K={number:+(C[1]+C[2]),unit:C[3]};if(!Tt(K))throw new te("Invalid unit: '"+K.unit+"'",r);return{type:"size",mode:this.mode,value:K,isBlank:h}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var h=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:h}}parseArgumentGroup(e,r){var h=this.gullet.scanArgument(e);if(h==null)return null;var C=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var K=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var Ie={type:"ordgroup",mode:this.mode,loc:h.loc,body:K};return r&&this.switchMode(C),Ie}parseGroup(e,r){var h=this.fetch(),C=h.text,K;if(C==="{"||C==="\\begingroup"){this.consume();var Ie=C==="{"?"}":"\\endgroup";this.gullet.beginGroup();var Ge=this.parseExpression(!1,Ie),_e=this.fetch();this.expect(Ie),this.gullet.endGroup(),K={type:"ordgroup",mode:this.mode,loc:I.range(h,_e),body:Ge,semisimple:C==="\\begingroup"||void 0}}else if(K=this.parseFunction(r,e)||this.parseSymbol(),K==null&&C[0]==="\\"&&!Rt.hasOwnProperty(C)){if(this.settings.throwOnError)throw new te("Undefined control sequence: "+C,h);K=this.formatUnsupportedCmd(C),this.consume()}return K}formLigatures(e){for(var r=e.length-1,h=0;h<r;++h){var C=e[h],K=C.text;K==="-"&&e[h+1].text==="-"&&(h+1<r&&e[h+2].text==="-"?(e.splice(h,3,{type:"textord",mode:"text",loc:I.range(C,e[h+2]),text:"---"}),r-=2):(e.splice(h,2,{type:"textord",mode:"text",loc:I.range(C,e[h+1]),text:"--"}),r-=1)),(K==="'"||K==="`")&&e[h+1].text===K&&(e.splice(h,2,{type:"textord",mode:"text",loc:I.range(C,e[h+1]),text:K+K}),r-=1)}}parseSymbol(){var e=this.fetch(),r=e.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var h=r.slice(5),C=h.charAt(0)==="*";if(C&&(h=h.slice(1)),h.length<2||h.charAt(0)!==h.slice(-1))throw new te(`\\verb assertion failed --
please report what input caused this bug`);return h=h.slice(1,-1),{type:"verb",mode:"text",body:h,star:C}}i.hasOwnProperty(r[0])&&!Tr[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',e),r=i[r[0]]+r.slice(1));var K=Ji.exec(r);K&&(r=r.substring(0,K.index),r==="i"?r="\u0131":r==="j"&&(r="\u0237"));var Ie;if(Tr[this.mode][r]){this.settings.strict&&this.mode==="math"&&Dn.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',e);var Ge=Tr[this.mode][r].group,_e=I.range(e),Kt;if(yr.hasOwnProperty(Ge)){var hr=Ge;Kt={type:"atom",mode:this.mode,family:hr,loc:_e,text:r}}else Kt={type:Ge,mode:this.mode,loc:_e,text:r};Ie=Kt}else if(r.charCodeAt(0)>=128)this.settings.strict&&(Fe(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),e)),Ie={type:"textord",mode:"text",loc:I.range(e),text:r};else return null;if(this.consume(),K)for(var br=0;br<K[0].length;br++){var kr=K[0][br];if(!a[kr])throw new te("Unknown accent ' "+kr+"'",e);var Dr=a[kr][this.mode]||a[kr].text;if(!Dr)throw new te("Accent "+kr+" unsupported in "+this.mode+" mode",e);Ie={type:"accent",mode:this.mode,loc:I.range(e),label:Dr,isStretchy:!1,isShifty:!0,base:Ie}}return Ie}}p.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var D=function(e,r){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var h=new p(e,r);delete h.gullet.macros.current["\\df@tag"];var C=h.parse();if(delete h.gullet.macros.current["\\current@color"],delete h.gullet.macros.current["\\color"],h.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new te("\\tag works only in display equations");C=[{type:"tag",mode:"text",body:C,tag:h.subparse([new He("\\df@tag")])}]}return C},oe=function(e,r,h){r.textContent="";var C=nr(e,h).toNode();r.appendChild(C)};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."),oe=function(){throw new te("KaTeX doesn't work in quirks mode.")});var De=function(e,r){var h=nr(e,r).toMarkup();return h},Qe=function(e,r){var h=new de(r);return D(e,h)},It=function(e,r,h){if(h.throwOnError||!(e instanceof te))throw e;var C=Pe.makeSpan(["katex-error"],[new ke(r)]);return C.setAttribute("title",e.toString()),C.setAttribute("style","color:"+h.errorColor),C},nr=function(e,r){var h=new de(r);try{var C=D(e,h);return on(C,e,h)}catch(K){return It(K,e,h)}},mr=function(e,r){var h=new de(r);try{var C=D(e,h);return Mn(C,e,h)}catch(K){return It(K,e,h)}},jr="0.16.22",Jr={Span:S,Anchor:N,SymbolNode:ke,SvgNode:zr,PathNode:Ir,LineNode:yn},cn={version:jr,render:oe,renderToString:De,ParseError:te,SETTINGS_SCHEMA:w,__parse:Qe,__renderToDomTree:nr,__renderToHTMLTree:mr,__setFontMetrics:we,__defineSymbol:f,__defineFunction:_t,__defineMacro:Ye,__domTree:Jr},Sn=o(2348);const Zn={},da=[];function va(c){const e=c||Zn;return function(r,h){(0,Sn.S4)(r,"element",function(C,K){const Ie=Array.isArray(C.properties.className)?C.properties.className:da,Ge=Ie.includes("language-math"),_e=Ie.includes("math-display"),Kt=Ie.includes("math-inline");let hr=_e;if(!Ge&&!_e&&!Kt)return;let br=K[K.length-1],kr=C;if(C.tagName==="code"&&Ge&&br&&br.type==="element"&&br.tagName==="pre"&&(kr=br,br=K[K.length-2],hr=!0),!br)return;const Dr=(0,qe.l)(kr,{whitespace:"pre"});let hn;try{hn=cn.renderToString(Dr,S0(w0({},e),{displayMode:hr,throwOnError:!0}))}catch(Fn){const jn=Fn,Qn=jn.name.toLowerCase();h.message("Could not render math with KaTeX",{ancestors:[...K,C],cause:jn,place:C.position,ruleId:Qn,source:"rehype-katex"});try{hn=cn.renderToString(Dr,S0(w0({},e),{displayMode:hr,strict:"ignore",throwOnError:!1}))}catch(qn){hn=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(e.errorColor||"#cc0000"),title:String(Fn)},children:[{type:"text",value:Dr}]}]}}typeof hn=="string"&&(hn=(0,s.N)(hn,{fragment:!0}).children);const An=br.children.indexOf(kr);return br.children.splice(An,1,...hn),Sn.AM})}}}}]);
}());