|
|
!(function(){var Gl=Object.defineProperty,Kl=Object.defineProperties;var Xl=Object.getOwnPropertyDescriptors;var sl=Object.getOwnPropertySymbols;var _l=Object.prototype.hasOwnProperty,Yl=Object.prototype.propertyIsEnumerable;var ll=(Yr,Xt,n)=>Xt in Yr?Gl(Yr,Xt,{enumerable:!0,configurable:!0,writable:!0,value:n}):Yr[Xt]=n,j0=(Yr,Xt)=>{for(var n in Xt||(Xt={}))_l.call(Xt,n)&&ll(Yr,n,Xt[n]);if(sl)for(var n of sl(Xt))Yl.call(Xt,n)&&ll(Yr,n,Xt[n]);return Yr},N0=(Yr,Xt)=>Kl(Yr,Xl(Xt));(self.webpackChunk=self.webpackChunk||[]).push([[8891],{70557:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},27812:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},89489:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},59477:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},40001:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},81953:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},26227:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},49198:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},84105:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},41464:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},18785:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},87169:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},73331:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},15277:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},52671:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},8657:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},56082:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},61481:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},33853:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},12893:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},15075:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},32134:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},62772:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},43531:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},61485:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},38819:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},47472:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},87395:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},32050:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(54476),qe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},Re=L,q=n(7657),ee=function(u,B){return qe.createElement(q.Z,(0,o.Z)({},u,{ref:B,icon:Re}))},_=qe.forwardRef(ee),y=_},73958:function(){"use strict"},29509:function(Yr,Xt,n){"use strict";n.d(Xt,{o2:function(){return q},yT:function(){return ee}});var o=n(94480),qe=n(34998);const L=qe.i.map(_=>`${_}-inverse`),Re=["success","processing","error","default","warning"];function q(_){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,o.Z)(L),(0,o.Z)(qe.i)).includes(_):qe.i.includes(_)}function ee(_){return Re.includes(_)}},9981:function(Yr,Xt){"use strict";const n=function(){const o=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let qe=1;qe<arguments.length;qe++){const L=qe<0||arguments.length<=qe?void 0:arguments[qe];L&&Object.keys(L).forEach(Re=>{const q=L[Re];q!==void 0&&(o[Re]=q)})}return o};Xt.Z=n},86013:function(Yr,Xt,n){"use strict";var o=n(59301),qe=n(19248);const L=Re=>{let q;return typeof Re=="object"&&(Re!=null&&Re.clearIcon)?q=Re:Re&&(q={clearIcon:o.createElement(qe.Z,null)}),q};Xt.Z=L},54500:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return o}});const o=qe=>qe?typeof qe=="function"?qe():qe:null},97224:function(Yr,Xt,n){"use strict";n.d(Xt,{F:function(){return o}});function o(L){return L!=null&&L===L.window}const qe=L=>{var Re,q;if(typeof window=="undefined")return 0;let ee=0;return o(L)?ee=L.pageYOffset:L instanceof Document?ee=L.documentElement.scrollTop:(L instanceof HTMLElement||L)&&(ee=L.scrollTop),L&&!o(L)&&typeof ee!="number"&&(ee=(q=((Re=L.ownerDocument)!==null&&Re!==void 0?Re:L).documentElement)===null||q===void 0?void 0:q.scrollTop),ee};Xt.Z=qe},52838:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return ee}});var o=n(37645);function qe(_,y,G,u){if(u===!1)return{adjustX:!1,adjustY:!1};const B=u&&typeof u=="object"?u:{},F={};switch(_){case"top":case"bottom":F.shiftX=y.arrowOffsetHorizontal*2+G,F.shiftY=!0,F.adjustY=!0;break;case"left":case"right":F.shiftY=y.arrowOffsetVertical*2+G,F.shiftX=!0,F.adjustX=!0;break}const K=Object.assign(Object.assign({},F),B);return K.shiftX||(K.adjustX=!0),K.shiftY||(K.adjustY=!0),K}const L={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},Re={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},q=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function ee(_){const{arrowWidth:y,autoAdjustOverflow:G,arrowPointAtCenter:u,offset:B,borderRadius:F,visibleFirst:K}=_,R=y/2,X={};return Object.keys(L).forEach(M=>{const $=u&&Re[M]||L[M],S=Object.assign(Object.assign({},$),{offset:[0,0],dynamicInset:!0});switch(X[M]=S,q.has(M)&&(S.autoArrow=!1),M){case"top":case"topLeft":case"topRight":S.offset[1]=-R-B;break;case"bottom":case"bottomLeft":case"bottomRight":S.offset[1]=R+B;break;case"left":case"leftTop":case"leftBottom":S.offset[0]=-R-B;break;case"right":case"rightTop":case"rightBottom":S.offset[0]=R+B;break}const E=(0,o.wZ)({contentRadius:F,limitVerticalRadius:!0});if(u)switch(M){case"topLeft":case"bottomLeft":S.offset[0]=-E.arrowOffsetHorizontal-R;break;case"topRight":case"bottomRight":S.offset[0]=E.arrowOffsetHorizontal+R;break;case"leftTop":case"rightTop":S.offset[1]=-E.arrowOffsetHorizontal*2+R;break;case"leftBottom":case"rightBottom":S.offset[1]=E.arrowOffsetHorizontal*2-R;break}S.overflow=qe(M,E,y,G),K&&(S.htmlRegion="visibleFirst")}),X}},83010:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return Re}});var o=n(16089);function qe(q,ee,_,y){const G=_-ee;return q/=y/2,q<1?G/2*q*q*q+ee:G/2*((q-=2)*q*q+2)+ee}var L=n(97224);function Re(q){let ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:_=()=>window,callback:y,duration:G=450}=ee,u=_(),B=(0,L.Z)(u),F=Date.now(),K=()=>{const X=Date.now()-F,M=qe(X>G?G:X,B,q,G);(0,L.F)(u)?u.scrollTo(window.pageXOffset,M):u instanceof Document||u.constructor.name==="HTMLDocument"?u.documentElement.scrollTop=M:u.scrollTop=M,X<G?(0,o.Z)(K):typeof y=="function"&&y()};(0,o.Z)(K)}},82855:function(Yr,Xt,n){"use strict";n.d(Xt,{F:function(){return q},Z:function(){return Re}});var o=n(92310),qe=n.n(o);const L=null;function Re(ee,_,y){return qe()({[`${ee}-status-success`]:_==="success",[`${ee}-status-warning`]:_==="warning",[`${ee}-status-error`]:_==="error",[`${ee}-status-validating`]:_==="validating",[`${ee}-has-feedback`]:y})}const q=(ee,_)=>_||ee},41780:function(Yr,Xt,n){"use strict";var o=n(94480),qe=n(16089);function L(Re){let q;const ee=y=>()=>{q=null,Re.apply(void 0,(0,o.Z)(y))},_=function(){if(q==null){for(var y=arguments.length,G=new Array(y),u=0;u<y;u++)G[u]=arguments[u];q=(0,qe.Z)(ee(G))}};return _.cancel=()=>{qe.Z.cancel(q),q=null},_}Xt.Z=L},48608:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return ie}});var o=n(59301),qe=n(92310),L=n.n(qe),Re=n(29301),q=n(41780),ee=n(48755),_=n(16931);const y=J=>{const{componentCls:te}=J;return{[te]:{position:"fixed",zIndex:J.zIndexPopup}}},G=J=>({zIndexPopup:J.zIndexBase+10});var u=(0,_.I$)("Affix",y,G);function B(J){return J!==window?J.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function F(J,te,$e){if($e!==void 0&&Math.round(te.top)>Math.round(J.top)-$e)return $e+te.top}function K(J,te,$e){if($e!==void 0&&Math.round(te.bottom)<Math.round(J.bottom)+$e){const Ne=window.innerHeight-te.bottom;return $e+Ne}}var R=function(J,te){var $e={};for(var Ne in J)Object.prototype.hasOwnProperty.call(J,Ne)&&te.indexOf(Ne)<0&&($e[Ne]=J[Ne]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Ne=Object.getOwnPropertySymbols(J);Qe<Ne.length;Qe++)te.indexOf(Ne[Qe])<0&&Object.prototype.propertyIsEnumerable.call(J,Ne[Qe])&&($e[Ne[Qe]]=J[Ne[Qe]]);return $e};const X=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function M(){return typeof window!="undefined"?window:null}const $=0,S=1;var ie=o.forwardRef((J,te)=>{var $e;const{style:Ne,offsetTop:Qe,offsetBottom:Ze,prefixCls:we,className:xe,rootClassName:Q,children:ye,target:N,onChange:I,onTestUpdatePosition:nt}=J,ce=R(J,["style","offsetTop","offsetBottom","prefixCls","className","rootClassName","children","target","onChange","onTestUpdatePosition"]),{getPrefixCls:le,getTargetContainer:w}=o.useContext(ee.E_),k=le("affix",we),[z,C]=o.useState(!1),[Y,He]=o.useState(),[pe,Ue]=o.useState(),ot=o.useRef($),ct=o.useRef(null),ue=o.useRef(null),Le=o.useRef(null),Ct=o.useRef(null),ke=o.useRef(null),De=($e=N!=null?N:w)!==null&&$e!==void 0?$e:M,j=Ze===void 0&&Qe===void 0?0:Qe,_e=()=>{if(ot.current!==S||!Ct.current||!Le.current||!De)return;const Yt=De();if(Yt){const Gt={status:$},Pt=B(Le.current);if(Pt.top===0&&Pt.left===0&&Pt.width===0&&Pt.height===0)return;const it=B(Yt),xt=F(Pt,it,j),Nt=K(Pt,it,Ze);xt!==void 0?(Gt.affixStyle={position:"fixed",top:xt,width:Pt.width,height:Pt.height},Gt.placeholderStyle={width:Pt.width,height:Pt.height}):Nt!==void 0&&(Gt.affixStyle={position:"fixed",bottom:Nt,width:Pt.width,height:Pt.height},Gt.placeholderStyle={width:Pt.width,height:Pt.height}),Gt.lastAffix=!!Gt.affixStyle,z!==Gt.lastAffix&&(I==null||I(Gt.lastAffix)),ot.current=Gt.status,He(Gt.affixStyle),Ue(Gt.placeholderStyle),C(Gt.lastAffix)}},be=()=>{ot.current=S,_e()},fe=(0,q.Z)(()=>{be()}),he=(0,q.Z)(()=>{if(De&&Y){const Yt=De();if(Yt&&Le.current){const Gt=B(Yt),Pt=B(Le.current),it=F(Pt,Gt,j),xt=K(Pt,Gt,Ze);if(it!==void 0&&Y.top===it||xt!==void 0&&Y.bottom===xt)return}}be()}),me=()=>{const Yt=De==null?void 0:De();Yt&&(X.forEach(Gt=>{var Pt;ue.current&&((Pt=ct.current)===null||Pt===void 0||Pt.removeEventListener(Gt,ue.current)),Yt==null||Yt.addEventListener(Gt,he)}),ct.current=Yt,ue.current=he)},Ie=()=>{ke.current&&(clearTimeout(ke.current),ke.current=null);const Yt=De==null?void 0:De();X.forEach(Gt=>{var Pt;Yt==null||Yt.removeEventListener(Gt,he),ue.current&&((Pt=ct.current)===null||Pt===void 0||Pt.removeEventListener(Gt,ue.current))}),fe.cancel(),he.cancel()};o.useImperativeHandle(te,()=>({updatePosition:fe})),o.useEffect(()=>(ke.current=setTimeout(me),()=>Ie()),[]),o.useEffect(()=>{me()},[N,Y,z]),o.useEffect(()=>{fe()},[N,Qe,Ze]);const[Se,Me,Je]=u(k),pt=L()(Q,Me,k,Je),$t=L()({[pt]:Y});return Se(o.createElement(Re.Z,{onResize:fe},o.createElement("div",Object.assign({style:Ne,className:xe,ref:Le},ce),Y&&o.createElement("div",{style:pe,"aria-hidden":"true"}),o.createElement("div",{className:$t,ref:Ct,style:Y},o.createElement(Re.Z,{onResize:fe},ye)))))})},1560:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return S}});var o=n(2738),qe=n(45915),L=n(82326),Re=n(59301),q=n(92310),ee=n.n(q),_=n(11592),y=n(75030),G=n(48755);const{Option:u}=L.default;function B(E){return(E==null?void 0:E.type)&&(E.type.isSelectOption||E.type.isSelectOptGroup)}const F=(E,ie)=>{var J;const{prefixCls:te,className:$e,popupClassName:Ne,dropdownClassName:Qe,children:Ze,dataSource:we}=E,xe=(0,_.Z)(Ze);let Q;xe.length===1&&Re.isValidElement(xe[0])&&!B(xe[0])&&([Q]=xe);const ye=Q?()=>Q:void 0;let N;xe.length&&B(xe[0])?N=Ze:N=we?we.map(le=>{if(Re.isValidElement(le))return le;switch(typeof le){case"string":return Re.createElement(u,{key:le,value:le},le);case"object":{const{value:w}=le;return Re.createElement(u,{key:w,value:w},le.text)}default:return}}):[];const{getPrefixCls:I}=Re.useContext(G.E_),nt=I("select",te),[ce]=(0,y.Cn)("SelectLike",(J=E.dropdownStyle)===null||J===void 0?void 0:J.zIndex);return Re.createElement(L.default,Object.assign({ref:ie,suffixIcon:null},(0,o.Z)(E,["dataSource","dropdownClassName"]),{prefixCls:nt,popupClassName:Ne||Qe,dropdownStyle:Object.assign(Object.assign({},E.dropdownStyle),{zIndex:ce}),className:ee()(`${nt}-auto-complete`,$e),mode:L.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:ye}),N)};var R=Re.forwardRef(F);const{Option:X}=L.default,M=(0,qe.Z)(R,"dropdownAlign",E=>(0,o.Z)(E,["visible"])),$=R;$.Option=X,$._InternalPanelDoNotUseOrYouWillBeFired=M;var S=$},91882:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return ce}});var o=n(59301),qe=n(92310),L=n.n(qe),Re=n(11592),q=n(26112),ee=n(22703),_=n(48755),y=n(84105),G=n(19563);const u=le=>{let{children:w}=le;const{getPrefixCls:k}=o.useContext(_.E_),z=k("breadcrumb");return o.createElement("li",{className:`${z}-separator`,"aria-hidden":"true"},w===""?w:w||"/")};u.__ANT_BREADCRUMB_SEPARATOR=!0;var B=u,F=function(le,w){var k={};for(var z in le)Object.prototype.hasOwnProperty.call(le,z)&&w.indexOf(z)<0&&(k[z]=le[z]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,z=Object.getOwnPropertySymbols(le);C<z.length;C++)w.indexOf(z[C])<0&&Object.prototype.propertyIsEnumerable.call(le,z[C])&&(k[z[C]]=le[z[C]]);return k};function K(le,w){if(le.title===void 0||le.title===null)return null;const k=Object.keys(w).join("|");return typeof le.title=="object"?le.title:String(le.title).replace(new RegExp(`:(${k})`,"g"),(z,C)=>w[C]||z)}function R(le,w,k,z){if(k==null)return null;const{className:C,onClick:Y}=w,He=F(w,["className","onClick"]),pe=Object.assign(Object.assign({},(0,q.Z)(He,{data:!0,aria:!0})),{onClick:Y});return z!==void 0?o.createElement("a",Object.assign({},pe,{className:L()(`${le}-link`,C),href:z}),k):o.createElement("span",Object.assign({},pe,{className:L()(`${le}-link`,C)}),k)}function X(le,w){return(z,C,Y,He,pe)=>{if(w)return w(z,C,Y,He);const Ue=K(z,C);return R(le,z,Ue,pe)}}var M=function(le,w){var k={};for(var z in le)Object.prototype.hasOwnProperty.call(le,z)&&w.indexOf(z)<0&&(k[z]=le[z]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,z=Object.getOwnPropertySymbols(le);C<z.length;C++)w.indexOf(z[C])<0&&Object.prototype.propertyIsEnumerable.call(le,z[C])&&(k[z[C]]=le[z[C]]);return k};const $=le=>{const{prefixCls:w,separator:k="/",children:z,menu:C,overlay:Y,dropdownProps:He,href:pe}=le,ot=(ct=>{if(C||Y){const ue=Object.assign({},He);if(C){const Le=C||{},{items:Ct}=Le,ke=M(Le,["items"]);ue.menu=Object.assign(Object.assign({},ke),{items:Ct==null?void 0:Ct.map((De,j)=>{var{key:_e,title:be,label:fe,path:he}=De,me=M(De,["key","title","label","path"]);let Ie=fe!=null?fe:be;return he&&(Ie=o.createElement("a",{href:`${pe}${he}`},Ie)),Object.assign(Object.assign({},me),{key:_e!=null?_e:j,label:Ie})})})}else Y&&(ue.overlay=Y);return o.createElement(G.Z,Object.assign({placement:"bottom"},ue),o.createElement("span",{className:`${w}-overlay-link`},ct,o.createElement(y.Z,null)))}return ct})(z);return ot!=null?o.createElement(o.Fragment,null,o.createElement("li",null,ot),k&&o.createElement(B,null,k)):null},S=le=>{const{prefixCls:w,children:k,href:z}=le,C=M(le,["prefixCls","children","href"]),{getPrefixCls:Y}=o.useContext(_.E_),He=Y("breadcrumb",w);return o.createElement($,Object.assign({},C,{prefixCls:He}),R(He,C,k,z))};S.__ANT_BREADCRUMB_ITEM=!0;var E=S,ie=n(36237),J=n(63356),te=n(16931),$e=n(51636);const Ne=le=>{const{componentCls:w,iconCls:k,calc:z}=le;return{[w]:Object.assign(Object.assign({},(0,J.Wf)(le)),{color:le.itemColor,fontSize:le.fontSize,[k]:{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,ie.unit)(le.paddingXXS)}`,borderRadius:le.borderRadiusSM,height:le.fontHeight,display:"inline-block",marginInline:z(le.marginXXS).mul(-1).equal(),"&:hover":{color:le.linkHoverColor,backgroundColor:le.colorBgTextHover}},(0,J.Qy)(le)),"li:last-child":{color:le.lastItemColor},[`${w}-separator`]:{marginInline:le.separatorMargin,color:le.separatorColor},[`${w}-link`]:{[`
|
|
|
> ${k} + span,
|
|
|
> ${k} + a
|
|
|
`]:{marginInlineStart:le.marginXXS}},[`${w}-overlay-link`]:{borderRadius:le.borderRadiusSM,height:le.fontHeight,display:"inline-block",padding:`0 ${(0,ie.unit)(le.paddingXXS)}`,marginInline:z(le.marginXXS).mul(-1).equal(),[`> ${k}`]:{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"}})}},Qe=le=>({itemColor:le.colorTextDescription,lastItemColor:le.colorText,iconFontSize:le.fontSize,linkColor:le.colorTextDescription,linkHoverColor:le.colorText,separatorColor:le.colorTextDescription,separatorMargin:le.marginXS});var Ze=(0,te.I$)("Breadcrumb",le=>{const w=(0,$e.mergeToken)(le,{});return Ne(w)},Qe),we=function(le,w){var k={};for(var z in le)Object.prototype.hasOwnProperty.call(le,z)&&w.indexOf(z)<0&&(k[z]=le[z]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,z=Object.getOwnPropertySymbols(le);C<z.length;C++)w.indexOf(z[C])<0&&Object.prototype.propertyIsEnumerable.call(le,z[C])&&(k[z[C]]=le[z[C]]);return k};function xe(le){const{breadcrumbName:w,children:k}=le,z=we(le,["breadcrumbName","children"]),C=Object.assign({title:w},z);return k&&(C.menu={items:k.map(Y=>{var{breadcrumbName:He}=Y,pe=we(Y,["breadcrumbName"]);return Object.assign(Object.assign({},pe),{title:He})})}),C}function Q(le,w){return(0,o.useMemo)(()=>le||(w?w.map(xe):null),[le,w])}var ye=function(le,w){var k={};for(var z in le)Object.prototype.hasOwnProperty.call(le,z)&&w.indexOf(z)<0&&(k[z]=le[z]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,z=Object.getOwnPropertySymbols(le);C<z.length;C++)w.indexOf(z[C])<0&&Object.prototype.propertyIsEnumerable.call(le,z[C])&&(k[z[C]]=le[z[C]]);return k};const N=(le,w)=>{if(w===void 0)return w;let k=(w||"").replace(/^\//,"");return Object.keys(le).forEach(z=>{k=k.replace(`:${z}`,le[z])}),k},I=le=>{const{prefixCls:w,separator:k="/",style:z,className:C,rootClassName:Y,routes:He,items:pe,children:Ue,itemRender:ot,params:ct={}}=le,ue=ye(le,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Le,direction:Ct,breadcrumb:ke}=o.useContext(_.E_);let De;const j=Le("breadcrumb",w),[_e,be,fe]=Ze(j),he=Q(pe,He),me=X(j,ot);if(he&&he.length>0){const Me=[],Je=pe||He;De=he.map((pt,$t)=>{const{path:Yt,key:Gt,type:Pt,menu:it,overlay:xt,onClick:Nt,className:Ht,separator:Et,dropdownProps:er}=pt,lr=N(ct,Yt);lr!==void 0&&Me.push(lr);const Cr=Gt!=null?Gt:$t;if(Pt==="separator")return o.createElement(B,{key:Cr},Et);const qr={},Ar=$t===he.length-1;it?qr.menu=it:xt&&(qr.overlay=xt);let{href:x}=pt;return Me.length&&lr!==void 0&&(x=`#/${Me.join("/")}`),o.createElement($,Object.assign({key:Cr},qr,(0,q.Z)(pt,{data:!0,aria:!0}),{className:Ht,dropdownProps:er,href:x,separator:Ar?"":k,onClick:Nt,prefixCls:j}),me(pt,ct,Je,Me,x))})}else if(Ue){const Me=(0,Re.Z)(Ue).length;De=(0,Re.Z)(Ue).map((Je,pt)=>{if(!Je)return Je;const $t=pt===Me-1;return(0,ee.Tm)(Je,{separator:$t?"":k,key:pt})})}const Ie=L()(j,ke==null?void 0:ke.className,{[`${j}-rtl`]:Ct==="rtl"},C,Y,be,fe),Se=Object.assign(Object.assign({},ke==null?void 0:ke.style),z);return _e(o.createElement("nav",Object.assign({className:Ie,style:Se},ue),o.createElement("ol",null,De)))};I.Item=E,I.Separator=B;var nt=I,ce=nt},15037:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return le}});var o=n(59301),qe=n(92310),L=n.n(qe),Re=n(2738),q=n(48755),ee=n(31756),_=n(458),y=n(20554),G=function(w,k){var z={};for(var C in w)Object.prototype.hasOwnProperty.call(w,C)&&k.indexOf(C)<0&&(z[C]=w[C]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,C=Object.getOwnPropertySymbols(w);Y<C.length;Y++)k.indexOf(C[Y])<0&&Object.prototype.propertyIsEnumerable.call(w,C[Y])&&(z[C[Y]]=w[C[Y]]);return z},B=w=>{var{prefixCls:k,className:z,hoverable:C=!0}=w,Y=G(w,["prefixCls","className","hoverable"]);const{getPrefixCls:He}=o.useContext(q.E_),pe=He("card",k),Ue=L()(`${pe}-grid`,z,{[`${pe}-grid-hoverable`]:C});return o.createElement("div",Object.assign({},Y,{className:Ue}))},F=n(36237),K=n(63356),R=n(16931),X=n(51636);const M=w=>{const{antCls:k,componentCls:z,headerHeight:C,headerPadding:Y,tabsMarginBottom:He}=w;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:C,marginBottom:-1,padding:`0 ${(0,F.unit)(Y)}`,color:w.colorTextHeading,fontWeight:w.fontWeightStrong,fontSize:w.headerFontSize,background:w.headerBg,borderBottom:`${(0,F.unit)(w.lineWidth)} ${w.lineType} ${w.colorBorderSecondary}`,borderRadius:`${(0,F.unit)(w.borderRadiusLG)} ${(0,F.unit)(w.borderRadiusLG)} 0 0`},(0,K.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},K.vS),{[`
|
|
|
> ${z}-typography,
|
|
|
> ${z}-typography-edit-content
|
|
|
`]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${k}-tabs-top`]:{clear:"both",marginBottom:He,color:w.colorText,fontWeight:"normal",fontSize:w.fontSize,"&-bar":{borderBottom:`${(0,F.unit)(w.lineWidth)} ${w.lineType} ${w.colorBorderSecondary}`}}})},$=w=>{const{cardPaddingBase:k,colorBorderSecondary:z,cardShadow:C,lineWidth:Y}=w;return{width:"33.33%",padding:k,border:0,borderRadius:0,boxShadow:`
|
|
|
${(0,F.unit)(Y)} 0 0 0 ${z},
|
|
|
0 ${(0,F.unit)(Y)} 0 0 ${z},
|
|
|
${(0,F.unit)(Y)} ${(0,F.unit)(Y)} 0 0 ${z},
|
|
|
${(0,F.unit)(Y)} 0 0 0 ${z} inset,
|
|
|
0 ${(0,F.unit)(Y)} 0 0 ${z} inset;
|
|
|
`,transition:`all ${w.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:C}}},S=w=>{const{componentCls:k,iconCls:z,actionsLiMargin:C,cardActionsIconSize:Y,colorBorderSecondary:He,actionsBg:pe}=w;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:pe,borderTop:`${(0,F.unit)(w.lineWidth)} ${w.lineType} ${He}`,display:"flex",borderRadius:`0 0 ${(0,F.unit)(w.borderRadiusLG)} ${(0,F.unit)(w.borderRadiusLG)}`},(0,K.dF)()),{"& > li":{margin:C,color:w.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:w.calc(w.cardActionsIconSize).mul(2).equal(),fontSize:w.fontSize,lineHeight:w.lineHeight,cursor:"pointer","&:hover":{color:w.colorPrimary,transition:`color ${w.motionDurationMid}`},[`a:not(${k}-btn), > ${z}`]:{display:"inline-block",width:"100%",color:w.colorTextDescription,lineHeight:(0,F.unit)(w.fontHeight),transition:`color ${w.motionDurationMid}`,"&:hover":{color:w.colorPrimary}},[`> ${z}`]:{fontSize:Y,lineHeight:(0,F.unit)(w.calc(Y).mul(w.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,F.unit)(w.lineWidth)} ${w.lineType} ${He}`}}})},E=w=>Object.assign(Object.assign({margin:`${(0,F.unit)(w.calc(w.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,K.dF)()),{"&-avatar":{paddingInlineEnd:w.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:w.marginXS}},"&-title":Object.assign({color:w.colorTextHeading,fontWeight:w.fontWeightStrong,fontSize:w.fontSizeLG},K.vS),"&-description":{color:w.colorTextDescription}}),ie=w=>{const{componentCls:k,colorFillAlter:z,headerPadding:C,bodyPadding:Y}=w;return{[`${k}-head`]:{padding:`0 ${(0,F.unit)(C)}`,background:z,"&-title":{fontSize:w.fontSize}},[`${k}-body`]:{padding:`${(0,F.unit)(w.padding)} ${(0,F.unit)(Y)}`}}},J=w=>{const{componentCls:k}=w;return{overflow:"hidden",[`${k}-body`]:{userSelect:"none"}}},te=w=>{const{componentCls:k,cardShadow:z,cardHeadPadding:C,colorBorderSecondary:Y,boxShadowTertiary:He,bodyPadding:pe,extraColor:Ue}=w;return{[k]:Object.assign(Object.assign({},(0,K.Wf)(w)),{position:"relative",background:w.colorBgContainer,borderRadius:w.borderRadiusLG,[`&:not(${k}-bordered)`]:{boxShadow:He},[`${k}-head`]:M(w),[`${k}-extra`]:{marginInlineStart:"auto",color:Ue,fontWeight:"normal",fontSize:w.fontSize},[`${k}-body`]:Object.assign({padding:pe,borderRadius:`0 0 ${(0,F.unit)(w.borderRadiusLG)} ${(0,F.unit)(w.borderRadiusLG)}`},(0,K.dF)()),[`${k}-grid`]:$(w),[`${k}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,F.unit)(w.borderRadiusLG)} ${(0,F.unit)(w.borderRadiusLG)} 0 0`}},[`${k}-actions`]:S(w),[`${k}-meta`]:E(w)}),[`${k}-bordered`]:{border:`${(0,F.unit)(w.lineWidth)} ${w.lineType} ${Y}`,[`${k}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${k}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${w.motionDurationMid}, border-color ${w.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:z}},[`${k}-contain-grid`]:{borderRadius:`${(0,F.unit)(w.borderRadiusLG)} ${(0,F.unit)(w.borderRadiusLG)} 0 0 `,[`${k}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${k}-loading) ${k}-body`]:{marginBlockStart:w.calc(w.lineWidth).mul(-1).equal(),marginInlineStart:w.calc(w.lineWidth).mul(-1).equal(),padding:0}},[`${k}-contain-tabs`]:{[`> div${k}-head`]:{minHeight:0,[`${k}-head-title, ${k}-extra`]:{paddingTop:C}}},[`${k}-type-inner`]:ie(w),[`${k}-loading`]:J(w),[`${k}-rtl`]:{direction:"rtl"}}},$e=w=>{const{componentCls:k,bodyPaddingSM:z,headerPaddingSM:C,headerHeightSM:Y,headerFontSizeSM:He}=w;return{[`${k}-small`]:{[`> ${k}-head`]:{minHeight:Y,padding:`0 ${(0,F.unit)(C)}`,fontSize:He,[`> ${k}-head-wrapper`]:{[`> ${k}-extra`]:{fontSize:w.fontSize}}},[`> ${k}-body`]:{padding:z}},[`${k}-small${k}-contain-tabs`]:{[`> ${k}-head`]:{[`${k}-head-title, ${k}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},Ne=w=>{var k,z;return{headerBg:"transparent",headerFontSize:w.fontSizeLG,headerFontSizeSM:w.fontSize,headerHeight:w.fontSizeLG*w.lineHeightLG+w.padding*2,headerHeightSM:w.fontSize*w.lineHeight+w.paddingXS*2,actionsBg:w.colorBgContainer,actionsLiMargin:`${w.paddingSM}px 0`,tabsMarginBottom:-w.padding-w.lineWidth,extraColor:w.colorText,bodyPaddingSM:12,headerPaddingSM:12,bodyPadding:(k=w.bodyPadding)!==null&&k!==void 0?k:w.paddingLG,headerPadding:(z=w.headerPadding)!==null&&z!==void 0?z:w.paddingLG}};var Qe=(0,R.I$)("Card",w=>{const k=(0,X.mergeToken)(w,{cardShadow:w.boxShadowCard,cardHeadPadding:w.padding,cardPaddingBase:w.paddingLG,cardActionsIconSize:w.fontSize});return[te(k),$e(k)]},Ne),Ze=n(24971),we=function(w,k){var z={};for(var C in w)Object.prototype.hasOwnProperty.call(w,C)&&k.indexOf(C)<0&&(z[C]=w[C]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,C=Object.getOwnPropertySymbols(w);Y<C.length;Y++)k.indexOf(C[Y])<0&&Object.prototype.propertyIsEnumerable.call(w,C[Y])&&(z[C[Y]]=w[C[Y]]);return z};const xe=w=>{const{actionClasses:k,actions:z=[],actionStyle:C}=w;return o.createElement("ul",{className:k,style:C},z.map((Y,He)=>{const pe=`action-${He}`;return o.createElement("li",{style:{width:`${100/z.length}%`},key:pe},o.createElement("span",null,Y))}))};var ye=o.forwardRef((w,k)=>{const{prefixCls:z,className:C,rootClassName:Y,style:He,extra:pe,headStyle:Ue={},bodyStyle:ot={},title:ct,loading:ue,bordered:Le,variant:Ct,size:ke,type:De,cover:j,actions:_e,tabList:be,children:fe,activeTabKey:he,defaultActiveTabKey:me,tabBarExtraContent:Ie,hoverable:Se,tabProps:Me={},classNames:Je,styles:pt}=w,$t=we(w,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","variant","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:Yt,direction:Gt,card:Pt}=o.useContext(q.E_),[it]=(0,Ze.Z)("card",Ct,Le),xt=ne=>{var lt;(lt=w.onTabChange)===null||lt===void 0||lt.call(w,ne)},Nt=ne=>{var lt;return L()((lt=Pt==null?void 0:Pt.classNames)===null||lt===void 0?void 0:lt[ne],Je==null?void 0:Je[ne])},Ht=ne=>{var lt;return Object.assign(Object.assign({},(lt=Pt==null?void 0:Pt.styles)===null||lt===void 0?void 0:lt[ne]),pt==null?void 0:pt[ne])},Et=o.useMemo(()=>{let ne=!1;return o.Children.forEach(fe,lt=>{(lt==null?void 0:lt.type)===B&&(ne=!0)}),ne},[fe]),er=Yt("card",z),[lr,Cr,qr]=Qe(er),Ar=o.createElement(_.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},fe),x=he!==void 0,W=Object.assign(Object.assign({},Me),{[x?"activeKey":"defaultActiveKey"]:x?he:me,tabBarExtraContent:Ie});let St;const oe=(0,ee.Z)(ke),Be=!oe||oe==="default"?"large":oe,zr=be?o.createElement(y.default,Object.assign({size:Be},W,{className:`${er}-head-tabs`,onChange:xt,items:be.map(ne=>{var{tab:lt}=ne,pn=we(ne,["tab"]);return Object.assign({label:lt},pn)})})):null;if(ct||pe||zr){const ne=L()(`${er}-head`,Nt("header")),lt=L()(`${er}-head-title`,Nt("title")),pn=L()(`${er}-extra`,Nt("extra")),mt=Object.assign(Object.assign({},Ue),Ht("header"));St=o.createElement("div",{className:ne,style:mt},o.createElement("div",{className:`${er}-head-wrapper`},ct&&o.createElement("div",{className:lt,style:Ht("title")},ct),pe&&o.createElement("div",{className:pn,style:Ht("extra")},pe)),zr)}const $r=L()(`${er}-cover`,Nt("cover")),yn=j?o.createElement("div",{className:$r,style:Ht("cover")},j):null,Tn=L()(`${er}-body`,Nt("body")),Ft=Object.assign(Object.assign({},ot),Ht("body")),Sr=o.createElement("div",{className:Tn,style:Ft},ue?Ar:fe),br=L()(`${er}-actions`,Nt("actions")),Br=_e!=null&&_e.length?o.createElement(xe,{actionClasses:br,actionStyle:Ht("actions"),actions:_e}):null,h=(0,Re.Z)($t,["onTabChange"]),D=L()(er,Pt==null?void 0:Pt.className,{[`${er}-loading`]:ue,[`${er}-bordered`]:it!=="borderless",[`${er}-hoverable`]:Se,[`${er}-contain-grid`]:Et,[`${er}-contain-tabs`]:be==null?void 0:be.length,[`${er}-${oe}`]:oe,[`${er}-type-${De}`]:!!De,[`${er}-rtl`]:Gt==="rtl"},C,Y,Cr,qr),Ee=Object.assign(Object.assign({},Pt==null?void 0:Pt.style),He);return lr(o.createElement("div",Object.assign({ref:k},h,{className:D,style:Ee}),St,yn,Sr,Br))}),N=function(w,k){var z={};for(var C in w)Object.prototype.hasOwnProperty.call(w,C)&&k.indexOf(C)<0&&(z[C]=w[C]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,C=Object.getOwnPropertySymbols(w);Y<C.length;Y++)k.indexOf(C[Y])<0&&Object.prototype.propertyIsEnumerable.call(w,C[Y])&&(z[C[Y]]=w[C[Y]]);return z},nt=w=>{const{prefixCls:k,className:z,avatar:C,title:Y,description:He}=w,pe=N(w,["prefixCls","className","avatar","title","description"]),{getPrefixCls:Ue}=o.useContext(q.E_),ot=Ue("card",k),ct=L()(`${ot}-meta`,z),ue=C?o.createElement("div",{className:`${ot}-meta-avatar`},C):null,Le=Y?o.createElement("div",{className:`${ot}-meta-title`},Y):null,Ct=He?o.createElement("div",{className:`${ot}-meta-description`},He):null,ke=Le||Ct?o.createElement("div",{className:`${ot}-meta-detail`},Le,Ct):null;return o.createElement("div",Object.assign({},pe,{className:ct}),ue,ke)};const ce=ye;ce.Grid=B,ce.Meta=nt;var le=ce},17149:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return _e}});var o=n(94480),qe=n(59301),L=n(92310),Re=n.n(L),q=n(63727),ee=n(2738),_=n(75030),y=n(86641),G=n(45915),u=n(82855),B=n(48755),F=n(38406),K=n(2171),R=n(83397),X=n(31756),M=n(56553),$=n(24971),S=n(1722),E=n(90376),ie=n(68525),J=n(90005),te=n(70045);function $e(be,fe){const{getPrefixCls:he,direction:me,renderEmpty:Ie}=qe.useContext(B.E_),Se=fe||me,Me=he("select",be),Je=he("cascader",be);return[Me,Je,Se,Ie]}var Ne=$e;function Qe(be,fe){return qe.useMemo(()=>fe?qe.createElement("span",{className:`${be}-checkbox-inner`}):!1,[fe])}var Ze=n(33853),we=n(58617),xe=n(38819),ye=(be,fe,he)=>{let me=he;he||(me=fe?qe.createElement(Ze.Z,null):qe.createElement(xe.Z,null));const Ie=qe.createElement("span",{className:`${be}-menu-item-loading-icon`},qe.createElement(we.Z,{spin:!0}));return qe.useMemo(()=>[me,Ie],[me])},N=n(56119),I=n(16931),nt=n(36237),ce=n(36170),le=n(63356),k=be=>{const{prefixCls:fe,componentCls:he}=be,me=`${he}-menu-item`,Ie=`
|
|
|
&${me}-expand ${me}-expand-icon,
|
|
|
${me}-loading-icon
|
|
|
`;return[(0,ce.C2)(`${fe}-checkbox`,be),{[he]:{"&-checkbox":{top:0,marginInlineEnd:be.paddingXS,pointerEvents:"unset"},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${he}-menu-empty`]:{[`${he}-menu`]:{width:"100%",height:"auto",[me]:{color:be.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:be.controlItemWidth,height:be.dropdownHeight,margin:0,padding:be.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,nt.unit)(be.lineWidth)} ${be.lineType} ${be.colorSplit}`},"&-item":Object.assign(Object.assign({},le.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:be.optionPadding,lineHeight:be.lineHeight,cursor:"pointer",transition:`all ${be.motionDurationMid}`,borderRadius:be.borderRadiusSM,"&:hover":{background:be.controlItemBgHover},"&-disabled":{color:be.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Ie]:{color:be.colorTextDisabled}},[`&-active:not(${me}-disabled)`]:{"&, &:hover":{color:be.optionSelectedColor,fontWeight:be.optionSelectedFontWeight,backgroundColor:be.optionSelectedBg}},"&-content":{flex:"auto"},[Ie]:{marginInlineStart:be.paddingXXS,color:be.colorTextDescription,fontSize:be.fontSizeIcon},"&-keyword":{color:be.colorHighlight}})}}}]};const z=be=>{const{componentCls:fe,antCls:he}=be;return[{[fe]:{width:be.controlWidth}},{[`${fe}-dropdown`]:[{[`&${he}-select-dropdown`]:{padding:0}},k(be)]},{[`${fe}-dropdown-rtl`]:{direction:"rtl"}},(0,N.c)(be)]},C=be=>{const fe=Math.round((be.controlHeight-be.fontSize*be.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:be.controlItemBgActive,optionSelectedFontWeight:be.fontWeightStrong,optionPadding:`${fe}px ${be.paddingSM}px`,menuPadding:be.paddingXXS,optionSelectedColor:be.colorText}};var Y=(0,I.I$)("Cascader",be=>[z(be)],C);const He=be=>{const{componentCls:fe}=be;return{[`${fe}-panel`]:[k(be),{display:"inline-flex",border:`${(0,nt.unit)(be.lineWidth)} ${be.lineType} ${be.colorSplit}`,borderRadius:be.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${fe}-menus`]:{alignItems:"stretch"},[`${fe}-menu`]:{height:"auto"},"&-empty":{padding:be.paddingXXS}}]}};var pe=(0,I.A1)(["Cascader","Panel"],be=>He(be),C);function Ue(be){const{prefixCls:fe,className:he,multiple:me,rootClassName:Ie,notFoundContent:Se,direction:Me,expandIcon:Je,disabled:pt}=be,$t=qe.useContext(K.Z),Yt=pt!=null?pt:$t,[Gt,Pt,it,xt]=Ne(fe,Me),Nt=(0,R.Z)(Pt),[Ht,Et,er]=Y(Pt,Nt);pe(Pt);const lr=it==="rtl",[Cr,qr]=ye(Gt,lr,Je),Ar=Se||(xt==null?void 0:xt("Cascader"))||qe.createElement(F.Z,{componentName:"Cascader"}),x=Qe(Pt,me);return Ht(qe.createElement(q.s,Object.assign({},be,{checkable:x,prefixCls:Pt,className:Re()(he,Et,Ie,er,Nt),notFoundContent:Ar,direction:it,expandIcon:Cr,loadingIcon:qr,disabled:Yt})))}var ot=Ue,ct=function(be,fe){var he={};for(var me in be)Object.prototype.hasOwnProperty.call(be,me)&&fe.indexOf(me)<0&&(he[me]=be[me]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,me=Object.getOwnPropertySymbols(be);Ie<me.length;Ie++)fe.indexOf(me[Ie])<0&&Object.prototype.propertyIsEnumerable.call(be,me[Ie])&&(he[me[Ie]]=be[me[Ie]]);return he};const{SHOW_CHILD:ue,SHOW_PARENT:Le}=q.default;function Ct(be,fe,he){const me=be.toLowerCase().split(fe).reduce((Me,Je,pt)=>pt===0?[Je]:[].concat((0,o.Z)(Me),[fe,Je]),[]),Ie=[];let Se=0;return me.forEach((Me,Je)=>{const pt=Se+Me.length;let $t=be.slice(Se,pt);Se=pt,Je%2===1&&($t=qe.createElement("span",{className:`${he}-menu-item-keyword`,key:`separator-${Je}`},$t)),Ie.push($t)}),Ie}const ke=(be,fe,he,me)=>{const Ie=[],Se=be.toLowerCase();return fe.forEach((Me,Je)=>{Je!==0&&Ie.push(" / ");let pt=Me[me.label];const $t=typeof pt;($t==="string"||$t==="number")&&(pt=Ct(String(pt),Se,he)),Ie.push(pt)}),Ie},De=qe.forwardRef((be,fe)=>{var he;const{prefixCls:me,size:Ie,disabled:Se,className:Me,rootClassName:Je,multiple:pt,bordered:$t=!0,transitionName:Yt,choiceTransitionName:Gt="",popupClassName:Pt,dropdownClassName:it,expandIcon:xt,placement:Nt,showSearch:Ht,allowClear:Et=!0,notFoundContent:er,direction:lr,getPopupContainer:Cr,status:qr,showArrow:Ar,builtinPlacements:x,style:W,variant:St}=be,oe=ct(be,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),Be=(0,ee.Z)(oe,["suffixIcon"]),{getPrefixCls:zr,getPopupContainer:$r,className:yn,style:Tn}=(0,B.dj)("cascader"),{popupOverflow:Ft}=qe.useContext(B.E_),{status:Sr,hasFeedback:br,isFormItemInput:Br,feedbackIcon:h}=qe.useContext(M.aM),D=(0,u.F)(Sr,qr),[Ee,ne,lt,pn]=Ne(me,lr),mt=lt==="rtl",Ut=zr(),Ur=(0,R.Z)(Ee),[Pr,Jr,gn]=(0,E.Z)(Ee,Ur),Jn=(0,R.Z)(ne),[ge]=Y(ne,Jn),{compactSize:mr,compactItemClassnames:et}=(0,te.ri)(Ee,lr),[Ir,Vr]=(0,$.Z)("cascader",St,$t),Sn=er||(pn==null?void 0:pn("Cascader"))||qe.createElement(F.Z,{componentName:"Cascader"}),ea=Re()(Pt||it,`${ne}-dropdown`,{[`${ne}-dropdown-rtl`]:lt==="rtl"},Je,Ur,Jn,Jr,gn),vt=qe.useMemo(()=>{if(!Ht)return Ht;let tn={render:ke};return typeof Ht=="object"&&(tn=Object.assign(Object.assign({},tn),Ht)),tn},[Ht]),nr=(0,X.Z)(tn=>{var An;return(An=Ie!=null?Ie:mr)!==null&&An!==void 0?An:tn}),sr=qe.useContext(K.Z),or=Se!=null?Se:sr,[jr,on]=ye(Ee,mt,xt),Wr=Qe(ne,pt),Dr=(0,J.Z)(be.suffixIcon,Ar),{suffixIcon:nn,removeIcon:sn,clearIcon:$n}=(0,ie.Z)(Object.assign(Object.assign({},be),{hasFeedback:br,feedbackIcon:h,showSuffixIcon:Dr,multiple:pt,prefixCls:Ee,componentName:"Cascader"})),Pn=qe.useMemo(()=>Nt!==void 0?Nt:mt?"bottomRight":"bottomLeft",[Nt,mt]),On=Et===!0?{clearIcon:$n}:Et,[Bn]=(0,_.Cn)("SelectLike",(he=Be.dropdownStyle)===null||he===void 0?void 0:he.zIndex),ta=qe.createElement(q.default,Object.assign({prefixCls:Ee,className:Re()(!me&&ne,{[`${Ee}-lg`]:nr==="large",[`${Ee}-sm`]:nr==="small",[`${Ee}-rtl`]:mt,[`${Ee}-${Ir}`]:Vr,[`${Ee}-in-form-item`]:Br},(0,u.Z)(Ee,D,br),et,yn,Me,Je,Ur,Jn,Jr,gn),disabled:or,style:Object.assign(Object.assign({},Tn),W)},Be,{builtinPlacements:(0,S.Z)(x,Ft),direction:lt,placement:Pn,notFoundContent:Sn,allowClear:On,showSearch:vt,expandIcon:jr,suffixIcon:nn,removeIcon:sn,loadingIcon:on,checkable:Wr,dropdownClassName:ea,dropdownPrefixCls:me||ne,dropdownStyle:Object.assign(Object.assign({},Be.dropdownStyle),{zIndex:Bn}),choiceTransitionName:(0,y.m)(Ut,"",Gt),transitionName:(0,y.m)(Ut,"slide-up",Yt),getPopupContainer:Cr||$r,ref:fe}));return ge(Pr(ta))}),j=(0,G.Z)(De,"dropdownAlign",be=>(0,ee.Z)(be,["visible"]));De.SHOW_PARENT=Le,De.SHOW_CHILD=ue,De.Panel=ot,De._InternalPanelDoNotUseOrYouWillBeFired=j;var _e=De},62673:function(Yr,Xt,n){"use strict";n.d(Xt,{default:function(){return Ze}});var o=n(59301),qe=n(92310),L=n.n(qe),Re=n(16632),q=n(8654),ee=n(12919),_=n(63872),y=n(48755),G=n(2171),u=n(83397),B=n(56553),K=o.createContext(null),R=n(36170),X=n(74632),M=function(we,xe){var Q={};for(var ye in we)Object.prototype.hasOwnProperty.call(we,ye)&&xe.indexOf(ye)<0&&(Q[ye]=we[ye]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,ye=Object.getOwnPropertySymbols(we);N<ye.length;N++)xe.indexOf(ye[N])<0&&Object.prototype.propertyIsEnumerable.call(we,ye[N])&&(Q[ye[N]]=we[ye[N]]);return Q};const $=(we,xe)=>{var Q;const{prefixCls:ye,className:N,rootClassName:I,children:nt,indeterminate:ce=!1,style:le,onMouseEnter:w,onMouseLeave:k,skipGroup:z=!1,disabled:C}=we,Y=M(we,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:He,direction:pe,checkbox:Ue}=o.useContext(y.E_),ot=o.useContext(K),{isFormItemInput:ct}=o.useContext(B.aM),ue=o.useContext(G.Z),Le=(Q=(ot==null?void 0:ot.disabled)||C)!==null&&Q!==void 0?Q:ue,Ct=o.useRef(Y.value),ke=o.useRef(null),De=(0,q.sQ)(xe,ke);o.useEffect(()=>{ot==null||ot.registerValue(Y.value)},[]),o.useEffect(()=>{if(!z)return Y.value!==Ct.current&&(ot==null||ot.cancelValue(Ct.current),ot==null||ot.registerValue(Y.value),Ct.current=Y.value),()=>ot==null?void 0:ot.cancelValue(Y.value)},[Y.value]),o.useEffect(()=>{var pt;!((pt=ke.current)===null||pt===void 0)&&pt.input&&(ke.current.input.indeterminate=ce)},[ce]);const j=He("checkbox",ye),_e=(0,u.Z)(j),[be,fe,he]=(0,R.ZP)(j,_e),me=Object.assign({},Y);ot&&!z&&(me.onChange=function(){Y.onChange&&Y.onChange.apply(Y,arguments),ot.toggleOption&&ot.toggleOption({label:nt,value:Y.value})},me.name=ot.name,me.checked=ot.value.includes(Y.value));const Ie=L()(`${j}-wrapper`,{[`${j}-rtl`]:pe==="rtl",[`${j}-wrapper-checked`]:me.checked,[`${j}-wrapper-disabled`]:Le,[`${j}-wrapper-in-form-item`]:ct},Ue==null?void 0:Ue.className,N,I,he,_e,fe),Se=L()({[`${j}-indeterminate`]:ce},_.A,fe),[Me,Je]=(0,X.Z)(me.onClick);return be(o.createElement(ee.Z,{component:"Checkbox",disabled:Le},o.createElement("label",{className:Ie,style:Object.assign(Object.assign({},Ue==null?void 0:Ue.style),le),onMouseEnter:w,onMouseLeave:k,onClick:Me},o.createElement(Re.Z,Object.assign({},me,{onClick:Je,prefixCls:j,className:Se,disabled:Le,ref:De})),nt!==void 0&&o.createElement("span",{className:`${j}-label`},nt))))};var E=o.forwardRef($),ie=n(94480),J=n(2738),te=function(we,xe){var Q={};for(var ye in we)Object.prototype.hasOwnProperty.call(we,ye)&&xe.indexOf(ye)<0&&(Q[ye]=we[ye]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,ye=Object.getOwnPropertySymbols(we);N<ye.length;N++)xe.indexOf(ye[N])<0&&Object.prototype.propertyIsEnumerable.call(we,ye[N])&&(Q[ye[N]]=we[ye[N]]);return Q},Ne=o.forwardRef((we,xe)=>{const{defaultValue:Q,children:ye,options:N=[],prefixCls:I,className:nt,rootClassName:ce,style:le,onChange:w}=we,k=te(we,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:z,direction:C}=o.useContext(y.E_),[Y,He]=o.useState(k.value||Q||[]),[pe,Ue]=o.useState([]);o.useEffect(()=>{"value"in k&&He(k.value||[])},[k.value]);const ot=o.useMemo(()=>N.map(Se=>typeof Se=="string"||typeof Se=="number"?{label:Se,value:Se}:Se),[N]),ct=Se=>{Ue(Me=>Me.filter(Je=>Je!==Se))},ue=Se=>{Ue(Me=>[].concat((0,ie.Z)(Me),[Se]))},Le=Se=>{const Me=Y.indexOf(Se.value),Je=(0,ie.Z)(Y);Me===-1?Je.push(Se.value):Je.splice(Me,1),"value"in k||He(Je),w==null||w(Je.filter(pt=>pe.includes(pt)).sort((pt,$t)=>{const Yt=ot.findIndex(Pt=>Pt.value===pt),Gt=ot.findIndex(Pt=>Pt.value===$t);return Yt-Gt}))},Ct=z("checkbox",I),ke=`${Ct}-group`,De=(0,u.Z)(Ct),[j,_e,be]=(0,R.ZP)(Ct,De),fe=(0,J.Z)(k,["value","disabled"]),he=N.length?ot.map(Se=>o.createElement(E,{prefixCls:Ct,key:Se.value.toString(),disabled:"disabled"in Se?Se.disabled:k.disabled,value:Se.value,checked:Y.includes(Se.value),onChange:Se.onChange,className:`${ke}-item`,style:Se.style,title:Se.title,id:Se.id,required:Se.required},Se.label)):ye,me={toggleOption:Le,value:Y,disabled:k.disabled,name:k.name,registerValue:ue,cancelValue:ct},Ie=L()(ke,{[`${ke}-rtl`]:C==="rtl"},nt,ce,be,De,_e);return j(o.createElement("div",Object.assign({className:Ie,style:le},fe,{ref:xe}),o.createElement(K.Provider,{value:me},he)))});const Qe=E;Qe.Group=Ne,Qe.__ANT_CHECKBOX=!0;var Ze=Qe},36170:function(Yr,Xt,n){"use strict";n.d(Xt,{C2:function(){return ee}});var o=n(36237),qe=n(63356),L=n(51636),Re=n(16931);const q=_=>{const{checkboxCls:y}=_,G=`${y}-wrapper`;return[{[`${y}-group`]:Object.assign(Object.assign({},(0,qe.Wf)(_)),{display:"inline-flex",flexWrap:"wrap",columnGap:_.marginXS,[`> ${_.antCls}-row`]:{flex:1}}),[G]:Object.assign(Object.assign({},(0,qe.Wf)(_)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${G}`]:{marginInlineStart:0},[`&${G}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[y]:Object.assign(Object.assign({},(0,qe.Wf)(_)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:_.borderRadiusSM,alignSelf:"center",[`${y}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${y}-inner`]:Object.assign({},(0,qe.oN)(_))},[`${y}-inner`]:{boxSizing:"border-box",display:"block",width:_.checkboxSize,height:_.checkboxSize,direction:"ltr",backgroundColor:_.colorBgContainer,border:`${(0,o.unit)(_.lineWidth)} ${_.lineType} ${_.colorBorder}`,borderRadius:_.borderRadiusSM,borderCollapse:"separate",transition:`all ${_.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:_.calc(_.checkboxSize).div(14).mul(5).equal(),height:_.calc(_.checkboxSize).div(14).mul(8).equal(),border:`${(0,o.unit)(_.lineWidthBold)} solid ${_.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${_.motionDurationFast} ${_.motionEaseInBack}, opacity ${_.motionDurationFast}`}},"& + span":{paddingInlineStart:_.paddingXS,paddingInlineEnd:_.paddingXS}})},{[`
|
|
|
${G}:not(${G}-disabled),
|
|
|
${y}:not(${y}-disabled)
|
|
|
`]:{[`&:hover ${y}-inner`]:{borderColor:_.colorPrimary}},[`${G}:not(${G}-disabled)`]:{[`&:hover ${y}-checked:not(${y}-disabled) ${y}-inner`]:{backgroundColor:_.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${y}-checked:not(${y}-disabled):after`]:{borderColor:_.colorPrimaryHover}}},{[`${y}-checked`]:{[`${y}-inner`]:{backgroundColor:_.colorPrimary,borderColor:_.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${_.motionDurationMid} ${_.motionEaseOutBack} ${_.motionDurationFast}`}}},[`
|
|
|
${G}-checked:not(${G}-disabled),
|
|
|
${y}-checked:not(${y}-disabled)
|
|
|
`]:{[`&:hover ${y}-inner`]:{backgroundColor:_.colorPrimaryHover,borderColor:"transparent"}}},{[y]:{"&-indeterminate":{[`${y}-inner`]:{backgroundColor:`${_.colorBgContainer} !important`,borderColor:`${_.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:_.calc(_.fontSizeLG).div(2).equal(),height:_.calc(_.fontSizeLG).div(2).equal(),backgroundColor:_.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${y}-inner`]:{backgroundColor:`${_.colorBgContainer} !important`,borderColor:`${_.colorPrimary} !important`}}}},{[`${G}-disabled`]:{cursor:"not-allowed"},[`${y}-disabled`]:{[`&, ${y}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${y}-inner`]:{background:_.colorBgContainerDisabled,borderColor:_.colorBorder,"&:after":{borderColor:_.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:_.colorTextDisabled},[`&${y}-indeterminate ${y}-inner::after`]:{background:_.colorTextDisabled}}}]};function ee(_,y){const G=(0,L.mergeToken)(y,{checkboxCls:`.${_}`,checkboxSize:y.controlInteractiveSize});return[q(G)]}Xt.ZP=(0,Re.I$)("Checkbox",(_,y)=>{let{prefixCls:G}=y;return[ee(G,_)]})},74632:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return L}});var o=n(59301),qe=n(16089);function L(Re){const q=o.useRef(null),ee=()=>{qe.Z.cancel(q.current),q.current=null};return[()=>{ee(),q.current=(0,qe.Z)(()=>{q.current=null})},G=>{q.current&&(G.stopPropagation(),ee()),Re==null||Re(G)}]}},8848:function(Yr,Xt,n){"use strict";n.d(Xt,{default:function(){return we}});var o=n(59301),qe=n(38819),L=n(92310),Re=n.n(L),q=n(98535),ee=n(11592),_=n(2738),y=n(86641),G=n(22703),u=n(48755),B=n(31756),K=o.forwardRef((xe,Q)=>{const{getPrefixCls:ye}=o.useContext(u.E_),{prefixCls:N,className:I,showArrow:nt=!0}=xe,ce=ye("collapse",N),le=Re()({[`${ce}-no-arrow`]:!nt},I);return o.createElement(q.default.Panel,Object.assign({ref:Q},xe,{prefixCls:ce,className:le}))}),R=n(36237),X=n(63356),M=n(34961),$=n(16931),S=n(51636);const E=xe=>{const{componentCls:Q,contentBg:ye,padding:N,headerBg:I,headerPadding:nt,collapseHeaderPaddingSM:ce,collapseHeaderPaddingLG:le,collapsePanelBorderRadius:w,lineWidth:k,lineType:z,colorBorder:C,colorText:Y,colorTextHeading:He,colorTextDisabled:pe,fontSizeLG:Ue,lineHeight:ot,lineHeightLG:ct,marginSM:ue,paddingSM:Le,paddingLG:Ct,paddingXS:ke,motionDurationSlow:De,fontSizeIcon:j,contentPadding:_e,fontHeight:be,fontHeightLG:fe}=xe,he=`${(0,R.unit)(k)} ${z} ${C}`;return{[Q]:Object.assign(Object.assign({},(0,X.Wf)(xe)),{backgroundColor:I,border:he,borderRadius:w,"&-rtl":{direction:"rtl"},[`& > ${Q}-item`]:{borderBottom:he,"&:first-child":{[`
|
|
|
&,
|
|
|
& > ${Q}-header`]:{borderRadius:`${(0,R.unit)(w)} ${(0,R.unit)(w)} 0 0`}},"&:last-child":{[`
|
|
|
&,
|
|
|
& > ${Q}-header`]:{borderRadius:`0 0 ${(0,R.unit)(w)} ${(0,R.unit)(w)}`}},[`> ${Q}-header`]:Object.assign(Object.assign({position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:nt,color:He,lineHeight:ot,cursor:"pointer",transition:`all ${De}, visibility 0s`},(0,X.Qy)(xe)),{[`> ${Q}-header-text`]:{flex:"auto"},[`${Q}-expand-icon`]:{height:be,display:"flex",alignItems:"center",paddingInlineEnd:ue},[`${Q}-arrow`]:Object.assign(Object.assign({},(0,X.Ro)()),{fontSize:j,transition:`transform ${De}`,svg:{transition:`transform ${De}`}}),[`${Q}-header-text`]:{marginInlineEnd:"auto"}}),[`${Q}-collapsible-header`]:{cursor:"default",[`${Q}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Q}-collapsible-icon`]:{cursor:"unset",[`${Q}-expand-icon`]:{cursor:"pointer"}}},[`${Q}-content`]:{color:Y,backgroundColor:ye,borderTop:he,[`& > ${Q}-content-box`]:{padding:_e},"&-hidden":{display:"none"}},"&-small":{[`> ${Q}-item`]:{[`> ${Q}-header`]:{padding:ce,paddingInlineStart:ke,[`> ${Q}-expand-icon`]:{marginInlineStart:xe.calc(Le).sub(ke).equal()}},[`> ${Q}-content > ${Q}-content-box`]:{padding:Le}}},"&-large":{[`> ${Q}-item`]:{fontSize:Ue,lineHeight:ct,[`> ${Q}-header`]:{padding:le,paddingInlineStart:N,[`> ${Q}-expand-icon`]:{height:fe,marginInlineStart:xe.calc(Ct).sub(N).equal()}},[`> ${Q}-content > ${Q}-content-box`]:{padding:Ct}}},[`${Q}-item:last-child`]:{borderBottom:0,[`> ${Q}-content`]:{borderRadius:`0 0 ${(0,R.unit)(w)} ${(0,R.unit)(w)}`}},[`& ${Q}-item-disabled > ${Q}-header`]:{"\n &,\n & > .arrow\n ":{color:pe,cursor:"not-allowed"}},[`&${Q}-icon-position-end`]:{[`& > ${Q}-item`]:{[`> ${Q}-header`]:{[`${Q}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:ue}}}}})}},ie=xe=>{const{componentCls:Q}=xe,ye=`> ${Q}-item > ${Q}-header ${Q}-arrow`;return{[`${Q}-rtl`]:{[ye]:{transform:"rotate(180deg)"}}}},J=xe=>{const{componentCls:Q,headerBg:ye,paddingXXS:N,colorBorder:I}=xe;return{[`${Q}-borderless`]:{backgroundColor:ye,border:0,[`> ${Q}-item`]:{borderBottom:`1px solid ${I}`},[`
|
|
|
> ${Q}-item:last-child,
|
|
|
> ${Q}-item:last-child ${Q}-header
|
|
|
`]:{borderRadius:0},[`> ${Q}-item:last-child`]:{borderBottom:0},[`> ${Q}-item > ${Q}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Q}-item > ${Q}-content > ${Q}-content-box`]:{paddingTop:N}}}},te=xe=>{const{componentCls:Q,paddingSM:ye}=xe;return{[`${Q}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Q}-item`]:{borderBottom:0,[`> ${Q}-content`]:{backgroundColor:"transparent",border:0,[`> ${Q}-content-box`]:{paddingBlock:ye}}}}}},$e=xe=>({headerPadding:`${xe.paddingSM}px ${xe.padding}px`,headerBg:xe.colorFillAlter,contentPadding:`${xe.padding}px 16px`,contentBg:xe.colorBgContainer});var Ne=(0,$.I$)("Collapse",xe=>{const Q=(0,S.mergeToken)(xe,{collapseHeaderPaddingSM:`${(0,R.unit)(xe.paddingXS)} ${(0,R.unit)(xe.paddingSM)}`,collapseHeaderPaddingLG:`${(0,R.unit)(xe.padding)} ${(0,R.unit)(xe.paddingLG)}`,collapsePanelBorderRadius:xe.borderRadiusLG});return[E(Q),J(Q),te(Q),ie(Q),(0,M.Z)(Q)]},$e),Ze=Object.assign(o.forwardRef((xe,Q)=>{const{getPrefixCls:ye,direction:N,expandIcon:I,className:nt,style:ce}=(0,u.dj)("collapse"),{prefixCls:le,className:w,rootClassName:k,style:z,bordered:C=!0,ghost:Y,size:He,expandIconPosition:pe="start",children:Ue,expandIcon:ot}=xe,ct=(0,B.Z)(Ie=>{var Se;return(Se=He!=null?He:Ie)!==null&&Se!==void 0?Se:"middle"}),ue=ye("collapse",le),Le=ye(),[Ct,ke,De]=Ne(ue),j=o.useMemo(()=>pe==="left"?"start":pe==="right"?"end":pe,[pe]),_e=ot!=null?ot:I,be=o.useCallback(function(){let Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Se=typeof _e=="function"?_e(Ie):o.createElement(qe.Z,{rotate:Ie.isActive?N==="rtl"?-90:90:void 0,"aria-label":Ie.isActive?"expanded":"collapsed"});return(0,G.Tm)(Se,()=>{var Me;return{className:Re()((Me=Se==null?void 0:Se.props)===null||Me===void 0?void 0:Me.className,`${ue}-arrow`)}})},[_e,ue]),fe=Re()(`${ue}-icon-position-${j}`,{[`${ue}-borderless`]:!C,[`${ue}-rtl`]:N==="rtl",[`${ue}-ghost`]:!!Y,[`${ue}-${ct}`]:ct!=="middle"},nt,w,k,ke,De),he=Object.assign(Object.assign({},(0,y.Z)(Le)),{motionAppear:!1,leavedClassName:`${ue}-content-hidden`}),me=o.useMemo(()=>Ue?(0,ee.Z)(Ue).map((Ie,Se)=>{var Me,Je;const pt=Ie.props;if(pt!=null&&pt.disabled){const $t=(Me=Ie.key)!==null&&Me!==void 0?Me:String(Se),Yt=Object.assign(Object.assign({},(0,_.Z)(Ie.props,["disabled"])),{key:$t,collapsible:(Je=pt.collapsible)!==null&&Je!==void 0?Je:"disabled"});return(0,G.Tm)(Ie,Yt)}return Ie}):null,[Ue]);return Ct(o.createElement(q.default,Object.assign({ref:Q,openMotion:he},(0,_.Z)(xe,["rootClassName"]),{expandIcon:be,prefixCls:ue,className:fe,style:Object.assign(Object.assign({},ce),z)}),me))}),{Panel:K}),we=Ze},38406:function(Yr,Xt,n){"use strict";var o=n(59301),qe=n(48755),L=n(584);const Re=q=>{const{componentName:ee}=q,{getPrefixCls:_}=(0,o.useContext)(qe.E_),y=_("empty");switch(ee){case"Table":case"List":return o.createElement(L.Z,{image:L.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(L.Z,{image:L.Z.PRESENTED_IMAGE_SIMPLE,className:`${y}-small`});case"Table.filter":return null;default:return o.createElement(L.Z,null)}};Xt.Z=Re},16326:function(Yr,Xt,n){"use strict";n.d(Xt,{default:function(){return pn}});var o=n(48365),qe=n(45915),L=n(59301),Re=n(54476),q={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},ee=q,_=n(7657),y=function(Ut,Ur){return L.createElement(_.Z,(0,Re.Z)({},Ut,{ref:Ur,icon:ee}))},G=L.forwardRef(y),u=G,B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},F=B,K=function(Ut,Ur){return L.createElement(_.Z,(0,Re.Z)({},Ut,{ref:Ur,icon:F}))},R=L.forwardRef(K),X=R,M={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"},$=M,S=function(Ut,Ur){return L.createElement(_.Z,(0,Re.Z)({},Ut,{ref:Ur,icon:$}))},E=L.forwardRef(S),ie=E,J=n(92310),te=n.n(J),$e=n(8571),Ne=n(62487),Qe=n(75030),Ze=n(82855),we=n(48755),xe=n(2171),Q=n(83397),ye=n(31756),N=n(56553),I=n(24971),nt=n(9017),ce=n(70045),le=n(57428),w=n(36237),k=n(53075),z=n(64910),C=n(63356),Y=n(56119),He=n(46e3),pe=n(93873),Ue=n(36305),ot=n(16931),ct=n(51636),ue=n(26743);const Le=(mt,Ut)=>{const{componentCls:Ur,controlHeight:Pr}=mt,Jr=Ut?`${Ur}-${Ut}`:"",gn=(0,ue.gp)(mt);return[{[`${Ur}-multiple${Jr}`]:{paddingBlock:gn.containerPadding,paddingInlineStart:gn.basePadding,minHeight:Pr,[`${Ur}-selection-item`]:{height:gn.itemHeight,lineHeight:(0,w.unit)(gn.itemLineHeight)}}}]};var ke=mt=>{const{componentCls:Ut,calc:Ur,lineWidth:Pr}=mt,Jr=(0,ct.mergeToken)(mt,{fontHeight:mt.fontSize,selectHeight:mt.controlHeightSM,multipleSelectItemHeight:mt.multipleItemHeightSM,borderRadius:mt.borderRadiusSM,borderRadiusSM:mt.borderRadiusXS,controlHeight:mt.controlHeightSM}),gn=(0,ct.mergeToken)(mt,{fontHeight:Ur(mt.multipleItemHeightLG).sub(Ur(Pr).mul(2).equal()).equal(),fontSize:mt.fontSizeLG,selectHeight:mt.controlHeightLG,multipleSelectItemHeight:mt.multipleItemHeightLG,borderRadius:mt.borderRadiusLG,borderRadiusSM:mt.borderRadius,controlHeight:mt.controlHeightLG});return[Le(Jr,"small"),Le(mt),Le(gn,"large"),{[`${Ut}${Ut}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${Ut}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${Ut}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:mt.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${mt.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:mt.colorTextPlaceholder,pointerEvents:"none"}}},(0,ue._z)(mt)),{[`${Ut}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},De=n(17835);const j=mt=>{const{pickerCellCls:Ut,pickerCellInnerCls:Ur,cellHeight:Pr,borderRadiusSM:Jr,motionDurationMid:gn,cellHoverBg:Jn,lineWidth:ge,lineType:mr,colorPrimary:et,cellActiveWithRangeBg:Ir,colorTextLightSolid:Vr,colorTextDisabled:Sn,cellBgDisabled:ea,colorFillSecondary:vt}=mt;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Pr,transform:"translateY(-50%)",content:'""',pointerEvents:"none"},[Ur]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Pr,height:Pr,lineHeight:(0,w.unit)(Pr),borderRadius:Jr,transition:`background ${gn}`},[`&:hover:not(${Ut}-in-view):not(${Ut}-disabled),
|
|
|
&:hover:not(${Ut}-selected):not(${Ut}-range-start):not(${Ut}-range-end):not(${Ut}-disabled)`]:{[Ur]:{background:Jn}},[`&-in-view${Ut}-today ${Ur}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,w.unit)(ge)} ${mr} ${et}`,borderRadius:Jr,content:'""'}},[`&-in-view${Ut}-in-range,
|
|
|
&-in-view${Ut}-range-start,
|
|
|
&-in-view${Ut}-range-end`]:{position:"relative",[`&:not(${Ut}-disabled):before`]:{background:Ir}},[`&-in-view${Ut}-selected,
|
|
|
&-in-view${Ut}-range-start,
|
|
|
&-in-view${Ut}-range-end`]:{[`&:not(${Ut}-disabled) ${Ur}`]:{color:Vr,background:et},[`&${Ut}-disabled ${Ur}`]:{background:vt}},[`&-in-view${Ut}-range-start:not(${Ut}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${Ut}-range-end:not(${Ut}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${Ut}-range-start:not(${Ut}-range-end) ${Ur}`]:{borderStartStartRadius:Jr,borderEndStartRadius:Jr,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${Ut}-range-end:not(${Ut}-range-start) ${Ur}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Jr,borderEndEndRadius:Jr},"&-disabled":{color:Sn,cursor:"not-allowed",[Ur]:{background:"transparent"},"&::before":{background:ea}},[`&-disabled${Ut}-today ${Ur}::before`]:{borderColor:Sn}}},_e=mt=>{const{componentCls:Ut,pickerCellCls:Ur,pickerCellInnerCls:Pr,pickerYearMonthCellWidth:Jr,pickerControlIconSize:gn,cellWidth:Jn,paddingSM:ge,paddingXS:mr,paddingXXS:et,colorBgContainer:Ir,lineWidth:Vr,lineType:Sn,borderRadiusLG:ea,colorPrimary:vt,colorTextHeading:nr,colorSplit:sr,pickerControlIconBorderWidth:or,colorIcon:jr,textHeight:on,motionDurationMid:Wr,colorIconHover:Dr,fontWeightStrong:nn,cellHeight:sn,pickerCellPaddingVertical:$n,colorTextDisabled:Pn,colorText:On,fontSize:Bn,motionDurationSlow:ta,withoutTimeCellHeight:tn,pickerQuarterPanelContentHeight:An,borderRadiusSM:Yn,colorTextLightSolid:ua,cellHoverBg:zn,timeColumnHeight:ra,timeColumnWidth:Gn,timeCellHeight:Wn,controlItemBgActive:qn,marginXXS:Dn,pickerDatePanelPaddingHorizontal:xn,pickerControlIconMargin:Kn}=mt,wa=mt.calc(Jn).mul(7).add(mt.calc(xn).mul(2)).equal();return{[Ut]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Ir,borderRadius:ea,outline:"none","&-focused":{borderColor:vt},"&-rtl":{[`${Ut}-prev-icon,
|
|
|
${Ut}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${Ut}-next-icon,
|
|
|
${Ut}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${Ut}-time-panel`]:{[`${Ut}-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:wa},"&-header":{display:"flex",padding:`0 ${(0,w.unit)(mr)}`,color:nr,borderBottom:`${(0,w.unit)(Vr)} ${Sn} ${sr}`,"> *":{flex:"none"},button:{padding:0,color:jr,lineHeight:(0,w.unit)(on),background:"transparent",border:0,cursor:"pointer",transition:`color ${Wr}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center","&:empty":{display:"none"}},"> button":{minWidth:"1.6em",fontSize:Bn,"&:hover":{color:Dr},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:nn,lineHeight:(0,w.unit)(on),"> button":{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:mr},"&:hover":{color:vt}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:gn,height:gn,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:gn,height:gn,border:"0 solid currentcolor",borderBlockStartWidth:or,borderInlineStartWidth:or,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Kn,insetInlineStart:Kn,display:"inline-block",width:gn,height:gn,border:"0 solid currentcolor",borderBlockStartWidth:or,borderInlineStartWidth:or,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:sn,fontWeight:"normal"},th:{height:mt.calc(sn).add(mt.calc($n).mul(2)).equal(),color:On,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,w.unit)($n)} 0`,color:Pn,cursor:"pointer","&-in-view":{color:On}},j(mt)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Ut}-content`]:{height:mt.calc(tn).mul(4).equal()},[Pr]:{padding:`0 ${(0,w.unit)(mr)}`}},"&-quarter-panel":{[`${Ut}-content`]:{height:An}},"&-decade-panel":{[Pr]:{padding:`0 ${(0,w.unit)(mt.calc(mr).div(2).equal())}`},[`${Ut}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Ut}-body`]:{padding:`0 ${(0,w.unit)(mr)}`},[Pr]:{width:Jr}},"&-date-panel":{[`${Ut}-body`]:{padding:`${(0,w.unit)(mr)} ${(0,w.unit)(xn)}`},[`${Ut}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${Ut}-cell`]:{[`&:hover ${Pr},
|
|
|
&-selected ${Pr},
|
|
|
${Pr}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Wr}`},"&:first-child:before":{borderStartStartRadius:Yn,borderEndStartRadius:Yn},"&:last-child:before":{borderStartEndRadius:Yn,borderEndEndRadius:Yn}},"&:hover td:before":{background:zn},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${Ur}`]:{"&:before":{background:vt},[`&${Ut}-cell-week`]:{color:new De.FastColor(ua).setA(.5).toHexString()},[Pr]:{color:ua}}},"&-range-hover td:before":{background:qn}}},"&-week-panel, &-date-panel-show-week":{[`${Ut}-body`]:{padding:`${(0,w.unit)(mr)} ${(0,w.unit)(ge)}`},[`${Ut}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${Ut}-time-panel`]:{borderInlineStart:`${(0,w.unit)(Vr)} ${Sn} ${sr}`},[`${Ut}-date-panel,
|
|
|
${Ut}-time-panel`]:{transition:`opacity ${ta}`},"&-active":{[`${Ut}-date-panel,
|
|
|
${Ut}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${Ut}-content`]:{display:"flex",flex:"auto",height:ra},"&-column":{flex:"1 0 auto",width:Gn,margin:`${(0,w.unit)(et)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Wr}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:mt.colorTextTertiary,borderRadius:mt.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${mt.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${(0,w.unit)(Wn)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,w.unit)(Vr)} ${Sn} ${sr}`},"&-active":{background:new De.FastColor(qn).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Ut}-time-panel-cell`]:{marginInline:Dn,[`${Ut}-time-panel-cell-inner`]:{display:"block",width:mt.calc(Gn).sub(mt.calc(Dn).mul(2)).equal(),height:Wn,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:mt.calc(Gn).sub(Wn).div(2).equal(),color:On,lineHeight:(0,w.unit)(Wn),borderRadius:Yn,cursor:"pointer",transition:`background ${Wr}`,"&:hover":{background:zn}},"&-selected":{[`${Ut}-time-panel-cell-inner`]:{background:qn}},"&-disabled":{[`${Ut}-time-panel-cell-inner`]:{color:Pn,background:"transparent",cursor:"not-allowed"}}}}}}}}};var fe=mt=>{const{componentCls:Ut,textHeight:Ur,lineWidth:Pr,paddingSM:Jr,antCls:gn,colorPrimary:Jn,cellActiveWithRangeBg:ge,colorPrimaryBorder:mr,lineType:et,colorSplit:Ir}=mt;return{[`${Ut}-dropdown`]:{[`${Ut}-footer`]:{borderTop:`${(0,w.unit)(Pr)} ${et} ${Ir}`,"&-extra":{padding:`0 ${(0,w.unit)(Jr)}`,lineHeight:(0,w.unit)(mt.calc(Ur).sub(mt.calc(Pr).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,w.unit)(Pr)} ${et} ${Ir}`}}},[`${Ut}-panels + ${Ut}-footer ${Ut}-ranges`]:{justifyContent:"space-between"},[`${Ut}-ranges`]:{marginBlock:0,paddingInline:(0,w.unit)(Jr),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,w.unit)(mt.calc(Ur).sub(mt.calc(Pr).mul(2)).equal()),display:"inline-block"},[`${Ut}-now-btn-disabled`]:{pointerEvents:"none",color:mt.colorTextDisabled},[`${Ut}-preset > ${gn}-tag-blue`]:{color:Jn,background:ge,borderColor:mr,cursor:"pointer"},[`${Ut}-ok`]:{paddingBlock:mt.calc(Pr).mul(2).equal(),marginInlineStart:"auto"}}}}};const he=mt=>{const{componentCls:Ut,controlHeightLG:Ur,paddingXXS:Pr,padding:Jr}=mt;return{pickerCellCls:`${Ut}-cell`,pickerCellInnerCls:`${Ut}-cell-inner`,pickerYearMonthCellWidth:mt.calc(Ur).mul(1.5).equal(),pickerQuarterPanelContentHeight:mt.calc(Ur).mul(1.4).equal(),pickerCellPaddingVertical:mt.calc(Pr).add(mt.calc(Pr).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:mt.calc(Jr).add(mt.calc(Pr).div(2)).equal()}},me=mt=>{const{colorBgContainerDisabled:Ut,controlHeight:Ur,controlHeightSM:Pr,controlHeightLG:Jr,paddingXXS:gn,lineWidth:Jn}=mt,ge=gn*2,mr=Jn*2,et=Math.min(Ur-ge,Ur-mr),Ir=Math.min(Pr-ge,Pr-mr),Vr=Math.min(Jr-ge,Jr-mr);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(gn/2),cellHoverBg:mt.controlItemBgHover,cellActiveWithRangeBg:mt.controlItemBgActive,cellHoverWithRangeBg:new De.FastColor(mt.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new De.FastColor(mt.colorPrimary).lighten(20).toHexString(),cellBgDisabled:Ut,timeColumnWidth:Jr*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:Pr*1.5,cellHeight:Pr,textHeight:Jr,withoutTimeCellHeight:Jr*1.65,multipleItemBg:mt.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:et,multipleItemHeightSM:Ir,multipleItemHeightLG:Vr,multipleSelectorBgDisabled:Ut,multipleItemColorDisabled:mt.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},Ie=mt=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,z.T)(mt)),me(mt)),(0,Ue.w)(mt)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:mt.zIndexPopupBase+50});var Se=n(39082),Je=mt=>{const{componentCls:Ut}=mt;return{[Ut]:[Object.assign(Object.assign(Object.assign(Object.assign({},(0,Se.qG)(mt)),(0,Se.vc)(mt)),(0,Se.H8)(mt)),(0,Se.Mu)(mt)),{"&-outlined":{[`&${Ut}-multiple ${Ut}-selection-item`]:{background:mt.multipleItemBg,border:`${(0,w.unit)(mt.lineWidth)} ${mt.lineType} ${mt.multipleItemBorderColor}`}},"&-filled":{[`&${Ut}-multiple ${Ut}-selection-item`]:{background:mt.colorBgContainer,border:`${(0,w.unit)(mt.lineWidth)} ${mt.lineType} ${mt.colorSplit}`}},"&-borderless":{[`&${Ut}-multiple ${Ut}-selection-item`]:{background:mt.multipleItemBg,border:`${(0,w.unit)(mt.lineWidth)} ${mt.lineType} ${mt.multipleItemBorderColor}`}},"&-underlined":{[`&${Ut}-multiple ${Ut}-selection-item`]:{background:mt.multipleItemBg,border:`${(0,w.unit)(mt.lineWidth)} ${mt.lineType} ${mt.multipleItemBorderColor}`}}}]}};const pt=(mt,Ut,Ur,Pr)=>{const Jr=mt.calc(Ur).add(2).equal(),gn=mt.max(mt.calc(Ut).sub(Jr).div(2).equal(),0),Jn=mt.max(mt.calc(Ut).sub(Jr).sub(gn).equal(),0);return{padding:`${(0,w.unit)(gn)} ${(0,w.unit)(Pr)} ${(0,w.unit)(Jn)}`}},$t=mt=>{const{componentCls:Ut,colorError:Ur,colorWarning:Pr}=mt;return{[`${Ut}:not(${Ut}-disabled):not([disabled])`]:{[`&${Ut}-status-error`]:{[`${Ut}-active-bar`]:{background:Ur}},[`&${Ut}-status-warning`]:{[`${Ut}-active-bar`]:{background:Pr}}}}},Yt=mt=>{const{componentCls:Ut,antCls:Ur,controlHeight:Pr,paddingInline:Jr,lineWidth:gn,lineType:Jn,colorBorder:ge,borderRadius:mr,motionDurationMid:et,colorTextDisabled:Ir,colorTextPlaceholder:Vr,controlHeightLG:Sn,fontSizeLG:ea,controlHeightSM:vt,paddingInlineSM:nr,paddingXS:sr,marginXS:or,colorTextDescription:jr,lineWidthBold:on,colorPrimary:Wr,motionDurationSlow:Dr,zIndexPopup:nn,paddingXXS:sn,sizePopupArrow:$n,colorBgElevated:Pn,borderRadiusLG:On,boxShadowSecondary:Bn,borderRadiusSM:ta,colorSplit:tn,cellHoverBg:An,presetsWidth:Yn,presetsMaxWidth:ua,boxShadowPopoverArrow:zn,fontHeight:ra,fontHeightLG:Gn,lineHeightLG:Wn}=mt;return[{[Ut]:Object.assign(Object.assign(Object.assign({},(0,C.Wf)(mt)),pt(mt,Pr,ra,Jr)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:mr,transition:`border ${et}, box-shadow ${et}, background ${et}`,[`${Ut}-prefix`]:{flex:"0 0 auto",marginInlineEnd:mt.inputAffixPadding},[`${Ut}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:mt.fontSize,lineHeight:mt.lineHeight,transition:`all ${et}`},(0,k.nz)(Vr)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:Ir,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:Vr}}},"&-large":Object.assign(Object.assign({},pt(mt,Sn,Gn,Jr)),{[`${Ut}-input > input`]:{fontSize:ea,lineHeight:Wn}}),"&-small":Object.assign({},pt(mt,vt,ra,nr)),[`${Ut}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:mt.calc(sr).div(2).equal(),color:Ir,lineHeight:1,pointerEvents:"none",transition:`opacity ${et}, color ${et}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:or}}},[`${Ut}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Ir,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${et}, color ${et}`,"> *":{verticalAlign:"top"},"&:hover":{color:jr}},"&:hover":{[`${Ut}-clear`]:{opacity:1},[`${Ut}-suffix:not(:last-child)`]:{opacity:0}},[`${Ut}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:ea,color:Ir,fontSize:ea,verticalAlign:"top",cursor:"default",[`${Ut}-focused &`]:{color:jr},[`${Ut}-range-separator &`]:{[`${Ut}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Ut}-active-bar`]:{bottom:mt.calc(gn).mul(-1).equal(),height:on,background:Wr,opacity:0,transition:`all ${Dr} ease-out`,pointerEvents:"none"},[`&${Ut}-focused`]:{[`${Ut}-active-bar`]:{opacity:1}},[`${Ut}-range-separator`]:{alignItems:"center",padding:`0 ${(0,w.unit)(sr)}`,lineHeight:1}},"&-range, &-multiple":{[`${Ut}-clear`]:{insetInlineEnd:Jr},[`&${Ut}-small`]:{[`${Ut}-clear`]:{insetInlineEnd:nr}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,C.Wf)(mt)),_e(mt)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:nn,[`&${Ut}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${Ut}-dropdown-placement-bottomLeft,
|
|
|
&${Ut}-dropdown-placement-bottomRight`]:{[`${Ut}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Ut}-dropdown-placement-topLeft,
|
|
|
&${Ut}-dropdown-placement-topRight`]:{[`${Ut}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${Ur}-slide-up-appear, &${Ur}-slide-up-enter`]:{[`${Ut}-range-arrow${Ut}-range-arrow`]:{transition:"none"}},[`&${Ur}-slide-up-enter${Ur}-slide-up-enter-active${Ut}-dropdown-placement-topLeft,
|
|
|
&${Ur}-slide-up-enter${Ur}-slide-up-enter-active${Ut}-dropdown-placement-topRight,
|
|
|
&${Ur}-slide-up-appear${Ur}-slide-up-appear-active${Ut}-dropdown-placement-topLeft,
|
|
|
&${Ur}-slide-up-appear${Ur}-slide-up-appear-active${Ut}-dropdown-placement-topRight`]:{animationName:He.Qt},[`&${Ur}-slide-up-enter${Ur}-slide-up-enter-active${Ut}-dropdown-placement-bottomLeft,
|
|
|
&${Ur}-slide-up-enter${Ur}-slide-up-enter-active${Ut}-dropdown-placement-bottomRight,
|
|
|
&${Ur}-slide-up-appear${Ur}-slide-up-appear-active${Ut}-dropdown-placement-bottomLeft,
|
|
|
&${Ur}-slide-up-appear${Ur}-slide-up-appear-active${Ut}-dropdown-placement-bottomRight`]:{animationName:He.fJ},[`&${Ur}-slide-up-leave ${Ut}-panel-container`]:{pointerEvents:"none"},[`&${Ur}-slide-up-leave${Ur}-slide-up-leave-active${Ut}-dropdown-placement-topLeft,
|
|
|
&${Ur}-slide-up-leave${Ur}-slide-up-leave-active${Ut}-dropdown-placement-topRight`]:{animationName:He.ly},[`&${Ur}-slide-up-leave${Ur}-slide-up-leave-active${Ut}-dropdown-placement-bottomLeft,
|
|
|
&${Ur}-slide-up-leave${Ur}-slide-up-leave-active${Ut}-dropdown-placement-bottomRight`]:{animationName:He.Uw},[`${Ut}-panel > ${Ut}-time-panel`]:{paddingTop:sn},[`${Ut}-range-wrapper`]:{display:"flex",position:"relative"},[`${Ut}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:mt.calc(Jr).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${Dr} ease-out`},(0,Ue.W)(mt,Pn,zn)),{"&:before":{insetInlineStart:mt.calc(Jr).mul(1.5).equal()}}),[`${Ut}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Pn,borderRadius:On,boxShadow:Bn,transition:`margin ${Dr}`,display:"inline-block",pointerEvents:"auto",[`${Ut}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Ut}-presets`]:{display:"flex",flexDirection:"column",minWidth:Yn,maxWidth:ua,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:sr,borderInlineEnd:`${(0,w.unit)(gn)} ${Jn} ${tn}`,li:Object.assign(Object.assign({},C.vS),{borderRadius:ta,paddingInline:sr,paddingBlock:mt.calc(vt).sub(ra).div(2).equal(),cursor:"pointer",transition:`all ${Dr}`,"+ li":{marginTop:or},"&:hover":{background:An}})}},[`${Ut}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${Ut}-panel`]:{borderWidth:0}}},[`${Ut}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Ut}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:ge}}}}),"&-dropdown-range":{padding:`${(0,w.unit)(mt.calc($n).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Ut}-separator`]:{transform:"scale(-1, 1)"},[`${Ut}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,He.oN)(mt,"slide-up"),(0,He.oN)(mt,"slide-down"),(0,pe.Fm)(mt,"move-up"),(0,pe.Fm)(mt,"move-down")]};var Gt=(0,ot.I$)("DatePicker",mt=>{const Ut=(0,ct.mergeToken)((0,z.e)(mt),he(mt),{inputPaddingHorizontalBase:mt.calc(mt.paddingSM).sub(1).equal(),multipleSelectItemHeight:mt.multipleItemHeight,selectHeight:mt.controlHeight});return[fe(Ut),Yt(Ut),Je(Ut),$t(Ut),ke(Ut),(0,Y.c)(mt,{focusElCls:`${mt.componentCls}-focused`})]},Ie),Pt=n(68525);function it(mt,Ut,Ur){return Ur!==void 0?Ur:Ut==="year"&&mt.lang.yearPlaceholder?mt.lang.yearPlaceholder:Ut==="quarter"&&mt.lang.quarterPlaceholder?mt.lang.quarterPlaceholder:Ut==="month"&&mt.lang.monthPlaceholder?mt.lang.monthPlaceholder:Ut==="week"&&mt.lang.weekPlaceholder?mt.lang.weekPlaceholder:Ut==="time"&&mt.timePickerLocale.placeholder?mt.timePickerLocale.placeholder:mt.lang.placeholder}function xt(mt,Ut,Ur){return Ur!==void 0?Ur:Ut==="year"&&mt.lang.yearPlaceholder?mt.lang.rangeYearPlaceholder:Ut==="quarter"&&mt.lang.quarterPlaceholder?mt.lang.rangeQuarterPlaceholder:Ut==="month"&&mt.lang.monthPlaceholder?mt.lang.rangeMonthPlaceholder:Ut==="week"&&mt.lang.weekPlaceholder?mt.lang.rangeWeekPlaceholder:Ut==="time"&&mt.timePickerLocale.placeholder?mt.timePickerLocale.rangePlaceholder:mt.lang.rangePlaceholder}function Nt(mt,Ut){const{allowClear:Ur=!0}=mt,{clearIcon:Pr,removeIcon:Jr}=(0,Pt.Z)(Object.assign(Object.assign({},mt),{prefixCls:Ut,componentName:"DatePicker"}));return[L.useMemo(()=>Ur===!1?!1:Object.assign({clearIcon:Pr},Ur===!0?{}:Ur),[Ur,Pr]),Jr]}const[Ht,Et]=["week","WeekPicker"],[er,lr]=["month","MonthPicker"],[Cr,qr]=["year","YearPicker"],[Ar,x]=["quarter","QuarterPicker"],[W,St]=["time","TimePicker"];var oe=n(99571),zr=mt=>L.createElement(oe.ZP,Object.assign({size:"small",type:"primary"},mt));function $r(mt){return(0,L.useMemo)(()=>Object.assign({button:zr},mt),[mt])}var yn=function(mt,Ut){var Ur={};for(var Pr in mt)Object.prototype.hasOwnProperty.call(mt,Pr)&&Ut.indexOf(Pr)<0&&(Ur[Pr]=mt[Pr]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jr=0,Pr=Object.getOwnPropertySymbols(mt);Jr<Pr.length;Jr++)Ut.indexOf(Pr[Jr])<0&&Object.prototype.propertyIsEnumerable.call(mt,Pr[Jr])&&(Ur[Pr[Jr]]=mt[Pr[Jr]]);return Ur},Ft=mt=>(0,L.forwardRef)((Ur,Pr)=>{var Jr;const{prefixCls:gn,getPopupContainer:Jn,components:ge,className:mr,style:et,placement:Ir,size:Vr,disabled:Sn,bordered:ea=!0,placeholder:vt,popupClassName:nr,dropdownClassName:sr,status:or,rootClassName:jr,variant:on,picker:Wr}=Ur,Dr=yn(Ur,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),nn=L.useRef(null),{getPrefixCls:sn,direction:$n,getPopupContainer:Pn,rangePicker:On}=(0,L.useContext)(we.E_),Bn=sn("picker",gn),{compactSize:ta,compactItemClassnames:tn}=(0,ce.ri)(Bn,$n),An=sn(),[Yn,ua]=(0,I.Z)("rangePicker",on,ea),zn=(0,Q.Z)(Bn),[ra,Gn,Wn]=Gt(Bn,zn),[qn]=Nt(Ur,Bn),Dn=$r(ge),xn=(0,ye.Z)(A=>{var v;return(v=Vr!=null?Vr:ta)!==null&&v!==void 0?v:A}),Kn=L.useContext(xe.Z),wa=Sn!=null?Sn:Kn,za=(0,L.useContext)(N.aM),{hasFeedback:to,status:ro,feedbackIcon:so}=za,f=L.createElement(L.Fragment,null,Wr===W?L.createElement(X,null):L.createElement(u,null),to&&so);(0,L.useImperativeHandle)(Pr,()=>nn.current);const[s]=(0,nt.Z)("Calendar",le.Z),p=Object.assign(Object.assign({},s),Ur.locale),[b]=(0,Qe.Cn)("DatePicker",(Jr=Ur.popupStyle)===null||Jr===void 0?void 0:Jr.zIndex);return ra(L.createElement(Ne.Z,{space:!0},L.createElement($e.Sq,Object.assign({separator:L.createElement("span",{"aria-label":"to",className:`${Bn}-separator`},L.createElement(ie,null)),disabled:wa,ref:nn,placement:Ir,placeholder:xt(p,Wr,vt),suffixIcon:f,prevIcon:L.createElement("span",{className:`${Bn}-prev-icon`}),nextIcon:L.createElement("span",{className:`${Bn}-next-icon`}),superPrevIcon:L.createElement("span",{className:`${Bn}-super-prev-icon`}),superNextIcon:L.createElement("span",{className:`${Bn}-super-next-icon`}),transitionName:`${An}-slide-up`,picker:Wr},Dr,{className:te()({[`${Bn}-${xn}`]:xn,[`${Bn}-${Yn}`]:ua},(0,Ze.Z)(Bn,(0,Ze.F)(ro,or),to),Gn,tn,mr,On==null?void 0:On.className,Wn,zn,jr),style:Object.assign(Object.assign({},On==null?void 0:On.style),et),locale:p.lang,prefixCls:Bn,getPopupContainer:Jn||Pn,generateConfig:mt,components:Dn,direction:$n,classNames:{popup:te()(Gn,nr||sr,Wn,zn,jr)},styles:{popup:Object.assign(Object.assign({},Ur.popupStyle),{zIndex:b})},allowClear:qn}))))}),Sr=function(mt,Ut){var Ur={};for(var Pr in mt)Object.prototype.hasOwnProperty.call(mt,Pr)&&Ut.indexOf(Pr)<0&&(Ur[Pr]=mt[Pr]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jr=0,Pr=Object.getOwnPropertySymbols(mt);Jr<Pr.length;Jr++)Ut.indexOf(Pr[Jr])<0&&Object.prototype.propertyIsEnumerable.call(mt,Pr[Jr])&&(Ur[Pr[Jr]]=mt[Pr[Jr]]);return Ur},Br=mt=>{const Ut=(mr,et)=>{const Ir=et===St?"timePicker":"datePicker";return(0,L.forwardRef)((Sn,ea)=>{var vt;const{prefixCls:nr,getPopupContainer:sr,components:or,style:jr,className:on,rootClassName:Wr,size:Dr,bordered:nn,placement:sn,placeholder:$n,popupClassName:Pn,dropdownClassName:On,disabled:Bn,status:ta,variant:tn,onCalendarChange:An}=Sn,Yn=Sr(Sn,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:ua,direction:zn,getPopupContainer:ra,[Ir]:Gn}=(0,L.useContext)(we.E_),Wn=ua("picker",nr),{compactSize:qn,compactItemClassnames:Dn}=(0,ce.ri)(Wn,zn),xn=L.useRef(null),[Kn,wa]=(0,I.Z)("datePicker",tn,nn),za=(0,Q.Z)(Wn),[to,ro,so]=Gt(Wn,za);(0,L.useImperativeHandle)(ea,()=>xn.current);const f={showToday:!0},s=mr||Sn.picker,p=ua(),{onSelect:b,multiple:A}=Yn,v=b&&mr==="time"&&!A,T=(at,Ce,Vt)=>{An==null||An(at,Ce,Vt),v&&b(at)},[Z,re]=Nt(Sn,Wn),Ae=$r(or),st=(0,ye.Z)(at=>{var Ce;return(Ce=Dr!=null?Dr:qn)!==null&&Ce!==void 0?Ce:at}),jt=L.useContext(xe.Z),At=Bn!=null?Bn:jt,ve=(0,L.useContext)(N.aM),{hasFeedback:kt,status:Ge,feedbackIcon:Zt}=ve,gt=L.createElement(L.Fragment,null,s==="time"?L.createElement(X,null):L.createElement(u,null),kt&&Zt),[ar]=(0,nt.Z)("DatePicker",le.Z),yr=Object.assign(Object.assign({},ar),Sn.locale),[Qt]=(0,Qe.Cn)("DatePicker",(vt=Sn.popupStyle)===null||vt===void 0?void 0:vt.zIndex);return to(L.createElement(Ne.Z,{space:!0},L.createElement($e.ZP,Object.assign({ref:xn,placeholder:it(yr,s,$n),suffixIcon:gt,placement:sn,prevIcon:L.createElement("span",{className:`${Wn}-prev-icon`}),nextIcon:L.createElement("span",{className:`${Wn}-next-icon`}),superPrevIcon:L.createElement("span",{className:`${Wn}-super-prev-icon`}),superNextIcon:L.createElement("span",{className:`${Wn}-super-next-icon`}),transitionName:`${p}-slide-up`,picker:mr,onCalendarChange:T},f,Yn,{locale:yr.lang,className:te()({[`${Wn}-${st}`]:st,[`${Wn}-${Kn}`]:wa},(0,Ze.Z)(Wn,(0,Ze.F)(Ge,ta),kt),ro,Dn,Gn==null?void 0:Gn.className,on,so,za,Wr),style:Object.assign(Object.assign({},Gn==null?void 0:Gn.style),jr),prefixCls:Wn,getPopupContainer:sr||ra,generateConfig:mt,components:Ae,direction:zn,disabled:At,classNames:{popup:te()(ro,so,za,Wr,Pn||On)},styles:{popup:Object.assign(Object.assign({},Sn.popupStyle),{zIndex:Qt})},allowClear:Z,removeIcon:re}))))})},Ur=Ut(),Pr=Ut(Ht,Et),Jr=Ut(er,lr),gn=Ut(Cr,qr),Jn=Ut(Ar,x),ge=Ut(W,St);return{DatePicker:Ur,WeekPicker:Pr,MonthPicker:Jr,YearPicker:gn,TimePicker:ge,QuarterPicker:Jn}},D=mt=>{const{DatePicker:Ut,WeekPicker:Ur,MonthPicker:Pr,YearPicker:Jr,TimePicker:gn,QuarterPicker:Jn}=Br(mt),ge=Ft(mt),mr=Ut;return mr.WeekPicker=Ur,mr.MonthPicker=Pr,mr.YearPicker=Jr,mr.RangePicker=ge,mr.TimePicker=gn,mr.QuarterPicker=Jn,mr};const Ee=D(o.Z),ne=(0,qe.Z)(Ee,"popupAlign",void 0,"picker");Ee._InternalPanelDoNotUseOrYouWillBeFired=ne;const lt=(0,qe.Z)(Ee.RangePicker,"popupAlign",void 0,"picker");Ee._InternalRangePanelDoNotUseOrYouWillBeFired=lt,Ee.generatePicker=D;var pn=Ee},37285:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return R}});var o=n(59301),qe=n(92310),L=n.n(qe),Re=n(48755),q=n(36237),ee=n(63356),_=n(16931),y=n(51636);const G=X=>{const{componentCls:M,sizePaddingEdgeHorizontal:$,colorSplit:S,lineWidth:E,textPaddingInline:ie,orientationMargin:J,verticalMarginInline:te}=X;return{[M]:Object.assign(Object.assign({},(0,ee.Wf)(X)),{borderBlockStart:`${(0,q.unit)(E)} solid ${S}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:te,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,q.unit)(E)} solid ${S}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,q.unit)(X.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${M}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,q.unit)(X.dividerHorizontalWithTextGutterMargin)} 0`,color:X.colorTextHeading,fontWeight:500,fontSize:X.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${S}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,q.unit)(E)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${M}-with-text-start`]:{"&::before":{width:`calc(${J} * 100%)`},"&::after":{width:`calc(100% - ${J} * 100%)`}},[`&-horizontal${M}-with-text-end`]:{"&::before":{width:`calc(100% - ${J} * 100%)`},"&::after":{width:`calc(${J} * 100%)`}},[`${M}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:ie},"&-dashed":{background:"none",borderColor:S,borderStyle:"dashed",borderWidth:`${(0,q.unit)(E)} 0 0`},[`&-horizontal${M}-with-text${M}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${M}-dashed`]:{borderInlineStartWidth:E,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:S,borderStyle:"dotted",borderWidth:`${(0,q.unit)(E)} 0 0`},[`&-horizontal${M}-with-text${M}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${M}-dotted`]:{borderInlineStartWidth:E,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${M}-with-text`]:{color:X.colorText,fontWeight:"normal",fontSize:X.fontSize},[`&-horizontal${M}-with-text-start${M}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${M}-inner-text`]:{paddingInlineStart:$}},[`&-horizontal${M}-with-text-end${M}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${M}-inner-text`]:{paddingInlineEnd:$}}})}},u=X=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:X.marginXS});var B=(0,_.I$)("Divider",X=>{const M=(0,y.mergeToken)(X,{dividerHorizontalWithTextGutterMargin:X.margin,dividerHorizontalGutterMargin:X.marginLG,sizePaddingEdgeHorizontal:0});return[G(M)]},u,{unitless:{orientationMargin:!0}}),F=function(X,M){var $={};for(var S in X)Object.prototype.hasOwnProperty.call(X,S)&&M.indexOf(S)<0&&($[S]=X[S]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,S=Object.getOwnPropertySymbols(X);E<S.length;E++)M.indexOf(S[E])<0&&Object.prototype.propertyIsEnumerable.call(X,S[E])&&($[S[E]]=X[S[E]]);return $},R=X=>{const{getPrefixCls:M,direction:$,className:S,style:E}=(0,Re.dj)("divider"),{prefixCls:ie,type:J="horizontal",orientation:te="center",orientationMargin:$e,className:Ne,rootClassName:Qe,children:Ze,dashed:we,variant:xe="solid",plain:Q,style:ye}=X,N=F(X,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),I=M("divider",ie),[nt,ce,le]=B(I),w=!!Ze,k=o.useMemo(()=>te==="left"?$==="rtl"?"end":"start":te==="right"?$==="rtl"?"start":"end":te,[$,te]),z=k==="start"&&$e!=null,C=k==="end"&&$e!=null,Y=L()(I,S,ce,le,`${I}-${J}`,{[`${I}-with-text`]:w,[`${I}-with-text-${k}`]:w,[`${I}-dashed`]:!!we,[`${I}-${xe}`]:xe!=="solid",[`${I}-plain`]:!!Q,[`${I}-rtl`]:$==="rtl",[`${I}-no-default-orientation-margin-start`]:z,[`${I}-no-default-orientation-margin-end`]:C},Ne,Qe),He=o.useMemo(()=>typeof $e=="number"?$e:/^\d+$/.test($e)?Number($e):$e,[$e]),pe={marginInlineStart:z?He:void 0,marginInlineEnd:C?He:void 0};return nt(o.createElement("div",Object.assign({className:Y,style:Object.assign(Object.assign({},E),ye)},N,{role:"separator"}),Ze&&J!=="vertical"&&o.createElement("span",{className:`${I}-inner-text`,style:pe},Ze)))}},30641:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return nt}});var o=n(59301),qe=n(92310),L=n.n(qe),Re=n(66042),q=n(62487),ee=n(75030),_=n(86641),y=n(55743),G=n(48755),u=n(91190),B=n(78776),F=n(458),R=ce=>{var le,w;const{prefixCls:k,title:z,footer:C,extra:Y,loading:He,onClose:pe,headerStyle:Ue,bodyStyle:ot,footerStyle:ct,children:ue,classNames:Le,styles:Ct}=ce,ke=(0,G.dj)("drawer"),De=o.useCallback(he=>o.createElement("button",{type:"button",onClick:pe,"aria-label":"Close",className:`${k}-close`},he),[pe]),[j,_e]=(0,B.Z)((0,B.w)(ce),(0,B.w)(ke),{closable:!0,closeIconRender:De}),be=o.useMemo(()=>{var he,me;return!z&&!j?null:o.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(he=ke.styles)===null||he===void 0?void 0:he.header),Ue),Ct==null?void 0:Ct.header),className:L()(`${k}-header`,{[`${k}-header-close-only`]:j&&!z&&!Y},(me=ke.classNames)===null||me===void 0?void 0:me.header,Le==null?void 0:Le.header)},o.createElement("div",{className:`${k}-header-title`},_e,z&&o.createElement("div",{className:`${k}-title`},z)),Y&&o.createElement("div",{className:`${k}-extra`},Y))},[j,_e,Y,Ue,k,z]),fe=o.useMemo(()=>{var he,me;if(!C)return null;const Ie=`${k}-footer`;return o.createElement("div",{className:L()(Ie,(he=ke.classNames)===null||he===void 0?void 0:he.footer,Le==null?void 0:Le.footer),style:Object.assign(Object.assign(Object.assign({},(me=ke.styles)===null||me===void 0?void 0:me.footer),ct),Ct==null?void 0:Ct.footer)},C)},[C,ct,k]);return o.createElement(o.Fragment,null,be,o.createElement("div",{className:L()(`${k}-body`,Le==null?void 0:Le.body,(le=ke.classNames)===null||le===void 0?void 0:le.body),style:Object.assign(Object.assign(Object.assign({},(w=ke.styles)===null||w===void 0?void 0:w.body),ot),Ct==null?void 0:Ct.body)},He?o.createElement(F.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${k}-body-skeleton`}):ue),fe)},X=n(36237),M=n(63356),$=n(16931),S=n(51636);const E=ce=>{const le="100%";return{left:`translateX(-${le})`,right:`translateX(${le})`,top:`translateY(-${le})`,bottom:`translateY(${le})`}[ce]},ie=(ce,le)=>({"&-enter, &-appear":Object.assign(Object.assign({},ce),{"&-active":le}),"&-leave":Object.assign(Object.assign({},le),{"&-active":ce})}),J=(ce,le)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${le}`}}},ie({opacity:ce},{opacity:1})),te=(ce,le)=>[J(.7,le),ie({transform:E(ce)},{transform:"none"})];var Ne=ce=>{const{componentCls:le,motionDurationSlow:w}=ce;return{[le]:{[`${le}-mask-motion`]:J(0,w),[`${le}-panel-motion`]:["left","right","top","bottom"].reduce((k,z)=>Object.assign(Object.assign({},k),{[`&-${z}`]:te(z,w)}),{})}}};const Qe=ce=>{const{borderRadiusSM:le,componentCls:w,zIndexPopup:k,colorBgMask:z,colorBgElevated:C,motionDurationSlow:Y,motionDurationMid:He,paddingXS:pe,padding:Ue,paddingLG:ot,fontSizeLG:ct,lineHeightLG:ue,lineWidth:Le,lineType:Ct,colorSplit:ke,marginXS:De,colorIcon:j,colorIconHover:_e,colorBgTextHover:be,colorBgTextActive:fe,colorText:he,fontWeightStrong:me,footerPaddingBlock:Ie,footerPaddingInline:Se,calc:Me}=ce,Je=`${w}-content-wrapper`;return{[w]:{position:"fixed",inset:0,zIndex:k,pointerEvents:"none",color:he,"&-pure":{position:"relative",background:C,display:"flex",flexDirection:"column",[`&${w}-left`]:{boxShadow:ce.boxShadowDrawerLeft},[`&${w}-right`]:{boxShadow:ce.boxShadowDrawerRight},[`&${w}-top`]:{boxShadow:ce.boxShadowDrawerUp},[`&${w}-bottom`]:{boxShadow:ce.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${w}-mask`]:{position:"absolute",inset:0,zIndex:k,background:z,pointerEvents:"auto"},[Je]:{position:"absolute",zIndex:k,maxWidth:"100vw",transition:`all ${Y}`,"&-hidden":{display:"none"}},[`&-left > ${Je}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow: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},[`${w}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:C,pointerEvents:"auto"},[`${w}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,X.unit)(Ue)} ${(0,X.unit)(ot)}`,fontSize:ct,lineHeight:ue,borderBottom:`${(0,X.unit)(Le)} ${Ct} ${ke}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${w}-extra`]:{flex:"none"},[`${w}-close`]:Object.assign({display:"inline-flex",width:Me(ct).add(pe).equal(),height:Me(ct).add(pe).equal(),borderRadius:le,justifyContent:"center",alignItems:"center",marginInlineEnd:De,color:j,fontWeight:me,fontSize:ct,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${He}`,textRendering:"auto","&:hover":{color:_e,backgroundColor:be,textDecoration:"none"},"&:active":{backgroundColor:fe}},(0,M.Qy)(ce)),[`${w}-title`]:{flex:1,margin:0,fontWeight:ce.fontWeightStrong,fontSize:ct,lineHeight:ue},[`${w}-body`]:{flex:1,minWidth:0,minHeight:0,padding:ot,overflow:"auto",[`${w}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${w}-footer`]:{flexShrink:0,padding:`${(0,X.unit)(Ie)} ${(0,X.unit)(Se)}`,borderTop:`${(0,X.unit)(Le)} ${Ct} ${ke}`},"&-rtl":{direction:"rtl"}}}},Ze=ce=>({zIndexPopup:ce.zIndexPopupBase,footerPaddingBlock:ce.paddingXS,footerPaddingInline:ce.padding});var we=(0,$.I$)("Drawer",ce=>{const le=(0,S.mergeToken)(ce,{});return[Qe(le),Ne(le)]},Ze),xe=function(ce,le){var w={};for(var k in ce)Object.prototype.hasOwnProperty.call(ce,k)&&le.indexOf(k)<0&&(w[k]=ce[k]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,k=Object.getOwnPropertySymbols(ce);z<k.length;z++)le.indexOf(k[z])<0&&Object.prototype.propertyIsEnumerable.call(ce,k[z])&&(w[k[z]]=ce[k[z]]);return w};const Q=null,ye={distance:180},N=ce=>{var le;const{rootClassName:w,width:k,height:z,size:C="default",mask:Y=!0,push:He=ye,open:pe,afterOpenChange:Ue,onClose:ot,prefixCls:ct,getContainer:ue,style:Le,className:Ct,visible:ke,afterVisibleChange:De,maskStyle:j,drawerStyle:_e,contentWrapperStyle:be}=ce,fe=xe(ce,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:he,getPrefixCls:me,direction:Ie,className:Se,style:Me,classNames:Je,styles:pt}=(0,G.dj)("drawer"),$t=me("drawer",ct),[Yt,Gt,Pt]=we($t),it=ue===void 0&&he?()=>he(document.body):ue,xt=L()({"no-mask":!Y,[`${$t}-rtl`]:Ie==="rtl"},w,Gt,Pt),Nt=o.useMemo(()=>k!=null?k:C==="large"?736:378,[k,C]),Ht=o.useMemo(()=>z!=null?z:C==="large"?736:378,[z,C]),Et={motionName:(0,_.m)($t,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},er=W=>({motionName:(0,_.m)($t,`panel-motion-${W}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),lr=(0,u.H)(),[Cr,qr]=(0,ee.Cn)("Drawer",fe.zIndex),{classNames:Ar={},styles:x={}}=fe;return Yt(o.createElement(q.Z,{form:!0,space:!0},o.createElement(y.Z.Provider,{value:qr},o.createElement(Re.Z,Object.assign({prefixCls:$t,onClose:ot,maskMotion:Et,motion:er},fe,{classNames:{mask:L()(Ar.mask,Je.mask),content:L()(Ar.content,Je.content),wrapper:L()(Ar.wrapper,Je.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},x.mask),j),pt.mask),content:Object.assign(Object.assign(Object.assign({},x.content),_e),pt.content),wrapper:Object.assign(Object.assign(Object.assign({},x.wrapper),be),pt.wrapper)},open:pe!=null?pe:ke,mask:Y,push:He,width:Nt,height:Ht,style:Object.assign(Object.assign({},Me),Le),className:L()(Se,Ct),rootClassName:xt,getContainer:it,afterOpenChange:Ue!=null?Ue:De,panelRef:lr,zIndex:Cr}),o.createElement(R,Object.assign({prefixCls:$t},fe,{onClose:ot}))))))},I=ce=>{const{prefixCls:le,style:w,className:k,placement:z="right"}=ce,C=xe(ce,["prefixCls","style","className","placement"]),{getPrefixCls:Y}=o.useContext(G.E_),He=Y("drawer",le),[pe,Ue,ot]=we(He),ct=L()(He,`${He}-pure`,`${He}-${z}`,Ue,ot,k);return pe(o.createElement("div",{className:ct,style:w},o.createElement(R,Object.assign({prefixCls:He},C))))};N._InternalPanelDoNotUseOrYouWillBeFired=I;var nt=N},19563:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return He}});var o=n(59301),qe=n(33853),L=n(38819),Re=n(92310),q=n.n(Re),ee=n(96478),_=n(6089),y=n(18929),G=n(2738),u=n(75030),F=pe=>typeof pe!="object"&&typeof pe!="function"||pe===null,K=n(52838),R=n(45915),X=n(22703),M=n(32383),$=n(55743),S=n(48755),E=n(83397),ie=n(93041),J=n(78857),te=n(57700),$e=n(36237),Ne=n(63356),Qe=n(46e3),Ze=n(93873),we=n(34925),xe=n(37645),Q=n(36305),ye=n(16931),N=n(51636),nt=pe=>{const{componentCls:Ue,menuCls:ot,colorError:ct,colorTextLightSolid:ue}=pe,Le=`${ot}-item`;return{[`${Ue}, ${Ue}-menu-submenu`]:{[`${ot} ${Le}`]:{[`&${Le}-danger:not(${Le}-disabled)`]:{color:ct,"&:hover":{color:ue,backgroundColor:ct}}}}}};const ce=pe=>{const{componentCls:Ue,menuCls:ot,zIndexPopup:ct,dropdownArrowDistance:ue,sizePopupArrow:Le,antCls:Ct,iconCls:ke,motionDurationMid:De,paddingBlock:j,fontSize:_e,dropdownEdgeChildPadding:be,colorTextDisabled:fe,fontSizeIcon:he,controlPaddingHorizontal:me,colorBgElevated:Ie}=pe;return[{[Ue]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ct,display:"block","&::before":{position:"absolute",insetBlock:pe.calc(Le).div(2).sub(ue).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${Ct}-btn`]:{[`& > ${ke}-down, & > ${Ct}-btn-icon > ${ke}-down`]:{fontSize:he}},[`${Ue}-wrap`]:{position:"relative",[`${Ct}-btn > ${ke}-down`]:{fontSize:he},[`${ke}-down::before`]:{transition:`transform ${De}`}},[`${Ue}-wrap-open`]:{[`${ke}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${Ct}-slide-down-enter${Ct}-slide-down-enter-active${Ue}-placement-bottomLeft,
|
|
|
&${Ct}-slide-down-appear${Ct}-slide-down-appear-active${Ue}-placement-bottomLeft,
|
|
|
&${Ct}-slide-down-enter${Ct}-slide-down-enter-active${Ue}-placement-bottom,
|
|
|
&${Ct}-slide-down-appear${Ct}-slide-down-appear-active${Ue}-placement-bottom,
|
|
|
&${Ct}-slide-down-enter${Ct}-slide-down-enter-active${Ue}-placement-bottomRight,
|
|
|
&${Ct}-slide-down-appear${Ct}-slide-down-appear-active${Ue}-placement-bottomRight`]:{animationName:Qe.fJ},[`&${Ct}-slide-up-enter${Ct}-slide-up-enter-active${Ue}-placement-topLeft,
|
|
|
&${Ct}-slide-up-appear${Ct}-slide-up-appear-active${Ue}-placement-topLeft,
|
|
|
&${Ct}-slide-up-enter${Ct}-slide-up-enter-active${Ue}-placement-top,
|
|
|
&${Ct}-slide-up-appear${Ct}-slide-up-appear-active${Ue}-placement-top,
|
|
|
&${Ct}-slide-up-enter${Ct}-slide-up-enter-active${Ue}-placement-topRight,
|
|
|
&${Ct}-slide-up-appear${Ct}-slide-up-appear-active${Ue}-placement-topRight`]:{animationName:Qe.Qt},[`&${Ct}-slide-down-leave${Ct}-slide-down-leave-active${Ue}-placement-bottomLeft,
|
|
|
&${Ct}-slide-down-leave${Ct}-slide-down-leave-active${Ue}-placement-bottom,
|
|
|
&${Ct}-slide-down-leave${Ct}-slide-down-leave-active${Ue}-placement-bottomRight`]:{animationName:Qe.Uw},[`&${Ct}-slide-up-leave${Ct}-slide-up-leave-active${Ue}-placement-topLeft,
|
|
|
&${Ct}-slide-up-leave${Ct}-slide-up-leave-active${Ue}-placement-top,
|
|
|
&${Ct}-slide-up-leave${Ct}-slide-up-leave-active${Ue}-placement-topRight`]:{animationName:Qe.ly}}},(0,xe.ZP)(pe,Ie,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Ue} ${ot}`]:{position:"relative",margin:0},[`${ot}-submenu-popup`]:{position:"absolute",zIndex:ct,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ue}, ${Ue}-menu-submenu`]:Object.assign(Object.assign({},(0,Ne.Wf)(pe)),{[ot]:Object.assign(Object.assign({padding:be,listStyleType:"none",backgroundColor:Ie,backgroundClip:"padding-box",borderRadius:pe.borderRadiusLG,outline:"none",boxShadow:pe.boxShadowSecondary},(0,Ne.Qy)(pe)),{"&:empty":{padding:0,boxShadow:"none"},[`${ot}-item-group-title`]:{padding:`${(0,$e.unit)(j)} ${(0,$e.unit)(me)}`,color:pe.colorTextDescription,transition:`all ${De}`},[`${ot}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ot}-item-icon`]:{minWidth:_e,marginInlineEnd:pe.marginXS,fontSize:pe.fontSizeSM},[`${ot}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${De}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${ot}-item-extra`]:{paddingInlineStart:pe.padding,marginInlineStart:"auto",fontSize:pe.fontSizeSM,color:pe.colorTextDescription}},[`${ot}-item, ${ot}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,$e.unit)(j)} ${(0,$e.unit)(me)}`,color:pe.colorText,fontWeight:"normal",fontSize:_e,lineHeight:pe.lineHeight,cursor:"pointer",transition:`all ${De}`,borderRadius:pe.borderRadiusSM,"&:hover, &-active":{backgroundColor:pe.controlItemBgHover}},(0,Ne.Qy)(pe)),{"&-selected":{color:pe.colorPrimary,backgroundColor:pe.controlItemBgActive,"&:hover, &-active":{backgroundColor:pe.controlItemBgActiveHover}},"&-disabled":{color:fe,cursor:"not-allowed","&:hover":{color:fe,backgroundColor:Ie,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,$e.unit)(pe.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:pe.colorSplit},[`${Ue}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:pe.paddingXS,[`${Ue}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:pe.colorTextDescription,fontSize:he,fontStyle:"normal"}}}),[`${ot}-item-group-list`]:{margin:`0 ${(0,$e.unit)(pe.marginXS)}`,padding:0,listStyle:"none"},[`${ot}-submenu-title`]:{paddingInlineEnd:pe.calc(me).add(pe.fontSizeSM).equal()},[`${ot}-submenu-vertical`]:{position:"relative"},[`${ot}-submenu${ot}-submenu-disabled ${Ue}-menu-submenu-title`]:{[`&, ${Ue}-menu-submenu-arrow-icon`]:{color:fe,backgroundColor:Ie,cursor:"not-allowed"}},[`${ot}-submenu-selected ${Ue}-menu-submenu-title`]:{color:pe.colorPrimary}})})},[(0,Qe.oN)(pe,"slide-up"),(0,Qe.oN)(pe,"slide-down"),(0,Ze.Fm)(pe,"move-up"),(0,Ze.Fm)(pe,"move-down"),(0,we._y)(pe,"zoom-big")]]},le=pe=>Object.assign(Object.assign({zIndexPopup:pe.zIndexPopupBase+50,paddingBlock:(pe.controlHeight-pe.fontSize*pe.lineHeight)/2},(0,xe.wZ)({contentRadius:pe.borderRadiusLG,limitVerticalRadius:!0})),(0,Q.w)(pe));var w=(0,ye.I$)("Dropdown",pe=>{const{marginXXS:Ue,sizePopupArrow:ot,paddingXXS:ct,componentCls:ue}=pe,Le=(0,N.mergeToken)(pe,{menuCls:`${ue}-menu`,dropdownArrowDistance:pe.calc(ot).div(2).add(Ue).equal(),dropdownEdgeChildPadding:ct});return[ce(Le),nt(Le)]},le,{resetStyle:!1});const k=null,z=pe=>{var Ue;const{menu:ot,arrow:ct,prefixCls:ue,children:Le,trigger:Ct,disabled:ke,dropdownRender:De,getPopupContainer:j,overlayClassName:_e,rootClassName:be,overlayStyle:fe,open:he,onOpenChange:me,visible:Ie,onVisibleChange:Se,mouseEnterDelay:Me=.15,mouseLeaveDelay:Je=.1,autoAdjustOverflow:pt=!0,placement:$t="",overlay:Yt,transitionName:Gt}=pe,{getPopupContainer:Pt,getPrefixCls:it,direction:xt,dropdown:Nt}=o.useContext(S.E_),Ht=(0,M.ln)("Dropdown"),Et=o.useMemo(()=>{const ne=it();return Gt!==void 0?Gt:$t.includes("top")?`${ne}-slide-down`:`${ne}-slide-up`},[it,$t,Gt]),er=o.useMemo(()=>$t?$t.includes("Center")?$t.slice(0,$t.indexOf("Center")):$t:xt==="rtl"?"bottomRight":"bottomLeft",[$t,xt]),lr=it("dropdown",ue),Cr=(0,E.Z)(lr),[qr,Ar,x]=w(lr,Cr),[,W]=(0,te.ZP)(),St=o.Children.only(F(Le)?o.createElement("span",null,Le):Le),oe=(0,X.Tm)(St,{className:q()(`${lr}-trigger`,{[`${lr}-rtl`]:xt==="rtl"},St.props.className),disabled:(Ue=St.props.disabled)!==null&&Ue!==void 0?Ue:ke}),Be=ke?[]:Ct,zr=!!(Be!=null&&Be.includes("contextMenu")),[$r,yn]=(0,y.Z)(!1,{value:he!=null?he:Ie}),Tn=(0,_.Z)(ne=>{me==null||me(ne,{source:"trigger"}),Se==null||Se(ne),yn(ne)}),Ft=q()(_e,be,Ar,x,Cr,Nt==null?void 0:Nt.className,{[`${lr}-rtl`]:xt==="rtl"}),Sr=(0,K.Z)({arrowPointAtCenter:typeof ct=="object"&&ct.pointAtCenter,autoAdjustOverflow:pt,offset:W.marginXXS,arrowWidth:ct?W.sizePopupArrow:0,borderRadius:W.borderRadius}),br=o.useCallback(()=>{ot!=null&&ot.selectable&&(ot!=null&&ot.multiple)||(me==null||me(!1,{source:"menu"}),yn(!1))},[ot==null?void 0:ot.selectable,ot==null?void 0:ot.multiple]),Br=()=>{let ne;return ot!=null&&ot.items?ne=o.createElement(ie.default,Object.assign({},ot)):typeof Yt=="function"?ne=Yt():ne=Yt,De&&(ne=De(ne)),ne=o.Children.only(typeof ne=="string"?o.createElement("span",null,ne):ne),o.createElement(J.J,{prefixCls:`${lr}-menu`,rootClassName:q()(x,Cr),expandIcon:o.createElement("span",{className:`${lr}-menu-submenu-arrow`},xt==="rtl"?o.createElement(qe.Z,{className:`${lr}-menu-submenu-arrow-icon`}):o.createElement(L.Z,{className:`${lr}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:br,validator:lt=>{let{mode:pn}=lt}},ne)},[h,D]=(0,u.Cn)("Dropdown",fe==null?void 0:fe.zIndex);let Ee=o.createElement(ee.Z,Object.assign({alignPoint:zr},(0,G.Z)(pe,["rootClassName"]),{mouseEnterDelay:Me,mouseLeaveDelay:Je,visible:$r,builtinPlacements:Sr,arrow:!!ct,overlayClassName:Ft,prefixCls:lr,getPopupContainer:j||Pt,transitionName:Et,trigger:Be,overlay:Br,placement:er,onVisibleChange:Tn,overlayStyle:Object.assign(Object.assign(Object.assign({},Nt==null?void 0:Nt.style),fe),{zIndex:h})}),oe);return h&&(Ee=o.createElement($.Z.Provider,{value:D},Ee)),qr(Ee)},C=(0,R.Z)(z,"align",void 0,"dropdown",pe=>pe),Y=pe=>o.createElement(C,Object.assign({},pe),o.createElement("span",null));z._InternalPanelDoNotUseOrYouWillBeFired=Y;var He=z},75727:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return R}});var o=n(19563),qe=n(59301),L=n(18785),Re=n(92310),q=n.n(Re),ee=n(99571),_=n(48755),y=n(77736),G=n(70045),u=function(X,M){var $={};for(var S in X)Object.prototype.hasOwnProperty.call(X,S)&&M.indexOf(S)<0&&($[S]=X[S]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,S=Object.getOwnPropertySymbols(X);E<S.length;E++)M.indexOf(S[E])<0&&Object.prototype.propertyIsEnumerable.call(X,S[E])&&($[S[E]]=X[S[E]]);return $};const B=X=>{const{getPopupContainer:M,getPrefixCls:$,direction:S}=qe.useContext(_.E_),{prefixCls:E,type:ie="default",danger:J,disabled:te,loading:$e,onClick:Ne,htmlType:Qe,children:Ze,className:we,menu:xe,arrow:Q,autoFocus:ye,overlay:N,trigger:I,align:nt,open:ce,onOpenChange:le,placement:w,getPopupContainer:k,href:z,icon:C=qe.createElement(L.Z,null),title:Y,buttonsRender:He=Me=>Me,mouseEnterDelay:pe,mouseLeaveDelay:Ue,overlayClassName:ot,overlayStyle:ct,destroyPopupOnHide:ue,dropdownRender:Le}=X,Ct=u(X,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),ke=$("dropdown",E),De=`${ke}-button`,j={menu:xe,arrow:Q,autoFocus:ye,align:nt,disabled:te,trigger:te?[]:I,onOpenChange:le,getPopupContainer:k||M,mouseEnterDelay:pe,mouseLeaveDelay:Ue,overlayClassName:ot,overlayStyle:ct,destroyPopupOnHide:ue,dropdownRender:Le},{compactSize:_e,compactItemClassnames:be}=(0,G.ri)(ke,S),fe=q()(De,be,we);"overlay"in X&&(j.overlay=N),"open"in X&&(j.open=ce),"placement"in X?j.placement=w:j.placement=S==="rtl"?"bottomLeft":"bottomRight";const he=qe.createElement(ee.ZP,{type:ie,danger:J,disabled:te,loading:$e,onClick:Ne,htmlType:Qe,href:z,title:Y},Ze),me=qe.createElement(ee.ZP,{type:ie,danger:J,icon:C}),[Ie,Se]=He([he,me]);return qe.createElement(y.Z.Compact,Object.assign({className:fe,size:_e,block:!0},Ct),Ie,qe.createElement(o.Z,Object.assign({},j),Se))};B.__ANT_BUTTON=!0;var F=B;const K=o.Z;K.Button=F;var R=K},584:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return ie}});var o=n(59301),qe=n(92310),L=n.n(qe),Re=n(9017),q=n(17835),ee=n(57700),y=()=>{const[,J]=(0,ee.ZP)(),[te]=(0,Re.Z)("Empty"),Ne=new q.FastColor(J.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return o.createElement("svg",{style:Ne,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,(te==null?void 0:te.description)||"Empty"),o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(24 31.67)"},o.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),o.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"}),o.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)"}),o.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"}),o.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"})),o.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"}),o.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},o.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),o.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},u=()=>{const[,J]=(0,ee.ZP)(),[te]=(0,Re.Z)("Empty"),{colorFill:$e,colorFillTertiary:Ne,colorFillQuaternary:Qe,colorBgContainer:Ze}=J,{borderColor:we,shadowColor:xe,contentColor:Q}=(0,o.useMemo)(()=>({borderColor:new q.FastColor($e).onBackground(Ze).toHexString(),shadowColor:new q.FastColor(Ne).onBackground(Ze).toHexString(),contentColor:new q.FastColor(Qe).onBackground(Ze).toHexString()}),[$e,Ne,Qe,Ze]);return o.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,(te==null?void 0:te.description)||"Empty"),o.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},o.createElement("ellipse",{fill:xe,cx:"32",cy:"33",rx:"32",ry:"7"}),o.createElement("g",{fillRule:"nonzero",stroke:we},o.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"}),o.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:Q}))))},B=n(16931),F=n(51636);const K=J=>{const{componentCls:te,margin:$e,marginXS:Ne,marginXL:Qe,fontSize:Ze,lineHeight:we}=J;return{[te]:{marginInline:Ne,fontSize:Ze,lineHeight:we,textAlign:"center",[`${te}-image`]:{height:J.emptyImgHeight,marginBottom:Ne,opacity:J.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${te}-description`]:{color:J.colorTextDescription},[`${te}-footer`]:{marginTop:$e},"&-normal":{marginBlock:Qe,color:J.colorTextDescription,[`${te}-description`]:{color:J.colorTextDescription},[`${te}-image`]:{height:J.emptyImgHeightMD}},"&-small":{marginBlock:Ne,color:J.colorTextDescription,[`${te}-image`]:{height:J.emptyImgHeightSM}}}}};var R=(0,B.I$)("Empty",J=>{const{componentCls:te,controlHeightLG:$e,calc:Ne}=J,Qe=(0,F.mergeToken)(J,{emptyImgCls:`${te}-img`,emptyImgHeight:Ne($e).mul(2.5).equal(),emptyImgHeightMD:$e,emptyImgHeightSM:Ne($e).mul(.875).equal()});return[K(Qe)]}),X=n(48755),M=function(J,te){var $e={};for(var Ne in J)Object.prototype.hasOwnProperty.call(J,Ne)&&te.indexOf(Ne)<0&&($e[Ne]=J[Ne]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Ne=Object.getOwnPropertySymbols(J);Qe<Ne.length;Qe++)te.indexOf(Ne[Qe])<0&&Object.prototype.propertyIsEnumerable.call(J,Ne[Qe])&&($e[Ne[Qe]]=J[Ne[Qe]]);return $e};const $=o.createElement(y,null),S=o.createElement(u,null),E=J=>{const{className:te,rootClassName:$e,prefixCls:Ne,image:Qe=$,description:Ze,children:we,imageStyle:xe,style:Q,classNames:ye,styles:N}=J,I=M(J,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:nt,direction:ce,className:le,style:w,classNames:k,styles:z}=(0,X.dj)("empty"),C=nt("empty",Ne),[Y,He,pe]=R(C),[Ue]=(0,Re.Z)("Empty"),ot=typeof Ze!="undefined"?Ze:Ue==null?void 0:Ue.description,ct=typeof ot=="string"?ot:"empty";let ue=null;return typeof Qe=="string"?ue=o.createElement("img",{alt:ct,src:Qe}):ue=Qe,Y(o.createElement("div",Object.assign({className:L()(He,pe,C,le,{[`${C}-normal`]:Qe===S,[`${C}-rtl`]:ce==="rtl"},te,$e,k.root,ye==null?void 0:ye.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},z.root),w),N==null?void 0:N.root),Q)},I),o.createElement("div",{className:L()(`${C}-image`,k.image,ye==null?void 0:ye.image),style:Object.assign(Object.assign(Object.assign({},xe),z.image),N==null?void 0:N.image)},ue),ot&&o.createElement("div",{className:L()(`${C}-description`,k.description,ye==null?void 0:ye.description),style:Object.assign(Object.assign({},z.description),N==null?void 0:N.description)},ot),we&&o.createElement("div",{className:L()(`${C}-footer`,k.footer,ye==null?void 0:ye.footer),style:Object.assign(Object.assign({},z.footer),N==null?void 0:N.footer)},we)))};E.PRESENTED_IMAGE_DEFAULT=$,E.PRESENTED_IMAGE_SIMPLE=S;var ie=E},24971:function(Yr,Xt,n){"use strict";var o=n(59301),qe=n(56553),L=n(48755);const Re=function(q,ee){let _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var y,G;const{variant:u,[q]:B}=o.useContext(L.E_),F=o.useContext(qe.pg),K=B==null?void 0:B.variant;let R;typeof ee!="undefined"?R=ee:_===!1?R="borderless":R=(G=(y=F!=null?F:K)!==null&&y!==void 0?y:u)!==null&&G!==void 0?G:"outlined";const X=L.tr.includes(R);return[R,X]};Xt.Z=Re},28284:function(Yr,Xt,n){"use strict";n.d(Xt,{default:function(){return ea}});var o=n(56553),qe=n(94480),L=n(59301),Re=n(92310),q=n.n(Re),ee=n(77900),_=n(86641),y=n(83397);function G(vt){const[nr,sr]=L.useState(vt);return L.useEffect(()=>{const or=setTimeout(()=>{sr(vt)},vt.length?0:10);return()=>{clearTimeout(or)}},[vt]),nr}var u=n(36237),B=n(63356),F=n(34925),K=n(34961),R=n(51636),X=n(16931),$=vt=>{const{componentCls:nr}=vt,sr=`${nr}-show-help`,or=`${nr}-show-help-item`;return{[sr]:{transition:`opacity ${vt.motionDurationFast} ${vt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[or]:{overflow:"hidden",transition:`height ${vt.motionDurationFast} ${vt.motionEaseInOut},
|
|
|
opacity ${vt.motionDurationFast} ${vt.motionEaseInOut},
|
|
|
transform ${vt.motionDurationFast} ${vt.motionEaseInOut} !important`,[`&${or}-appear, &${or}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${or}-leave-active`]:{transform:"translateY(-5px)"}}}}};const S=vt=>({legend:{display:"block",width:"100%",marginBottom:vt.marginLG,padding:0,color:vt.colorTextDescription,fontSize:vt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,u.unit)(vt.lineWidth)} ${vt.lineType} ${vt.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,u.unit)(vt.controlOutlineWidth)} ${vt.controlOutline}`},output:{display:"block",paddingTop:15,color:vt.colorText,fontSize:vt.fontSize,lineHeight:vt.lineHeight}}),E=(vt,nr)=>{const{formItemCls:sr}=vt;return{[sr]:{[`${sr}-label > label`]:{height:nr},[`${sr}-control-input`]:{minHeight:nr}}}},ie=vt=>{const{componentCls:nr}=vt;return{[vt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,B.Wf)(vt)),S(vt)),{[`${nr}-text`]:{display:"inline-block",paddingInlineEnd:vt.paddingSM},"&-small":Object.assign({},E(vt,vt.controlHeightSM)),"&-large":Object.assign({},E(vt,vt.controlHeightLG))})}},J=vt=>{const{formItemCls:nr,iconCls:sr,rootPrefixCls:or,antCls:jr,labelRequiredMarkColor:on,labelColor:Wr,labelFontSize:Dr,labelHeight:nn,labelColonMarginInlineStart:sn,labelColonMarginInlineEnd:$n,itemMarginBottom:Pn}=vt;return{[nr]:Object.assign(Object.assign({},(0,B.Wf)(vt)),{marginBottom:Pn,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden${jr}-row`]:{display:"none"},"&-has-warning":{[`${nr}-split`]:{color:vt.colorError}},"&-has-error":{[`${nr}-split`]:{color:vt.colorWarning}},[`${nr}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:vt.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:nn,color:Wr,fontSize:Dr,[`> ${sr}`]:{fontSize:vt.fontSize,verticalAlign:"top"},[`&${nr}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:vt.marginXXS,color:on,fontSize:vt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${nr}-required-mark-hidden, &${nr}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${nr}-optional`]:{display:"inline-block",marginInlineStart:vt.marginXXS,color:vt.colorTextDescription,[`&${nr}-required-mark-hidden`]:{display:"none"}},[`${nr}-tooltip`]:{color:vt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:vt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:sn,marginInlineEnd:$n},[`&${nr}-no-colon::after`]:{content:'"\\a0"'}}},[`${nr}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${or}-col-'"]):not([class*="' ${or}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:vt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[nr]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:vt.colorTextDescription,fontSize:vt.fontSize,lineHeight:vt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:vt.controlHeightSM,transition:`color ${vt.motionDurationMid} ${vt.motionEaseOut}`},"&-explain":{"&-error":{color:vt.colorError},"&-warning":{color:vt.colorWarning}}},[`&-with-help ${nr}-explain`]:{height:"auto",opacity:1},[`${nr}-feedback-icon`]:{fontSize:vt.fontSize,textAlign:"center",visibility:"visible",animationName:F.kr,animationDuration:vt.motionDurationMid,animationTimingFunction:vt.motionEaseOutBack,pointerEvents:"none","&-success":{color:vt.colorSuccess},"&-error":{color:vt.colorError},"&-warning":{color:vt.colorWarning},"&-validating":{color:vt.colorPrimary}}})}},te=(vt,nr)=>{const{formItemCls:sr}=vt;return{[`${nr}-horizontal`]:{[`${sr}-label`]:{flexGrow:0},[`${sr}-control`]:{flex:"1 1 0",minWidth:0},[`${sr}-label[class$='-24'], ${sr}-label[class*='-24 ']`]:{[`& + ${sr}-control`]:{minWidth:"unset"}}}}},$e=vt=>{const{componentCls:nr,formItemCls:sr,inlineItemMarginBottom:or}=vt;return{[`${nr}-inline`]:{display:"flex",flexWrap:"wrap",[sr]:{flex:"none",marginInlineEnd:vt.margin,marginBottom:or,"&-row":{flexWrap:"nowrap"},[`> ${sr}-label,
|
|
|
> ${sr}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${sr}-label`]:{flex:"none"},[`${nr}-text`]:{display:"inline-block"},[`${sr}-has-feedback`]:{display:"inline-block"}}}}},Ne=vt=>({padding:vt.verticalLabelPadding,margin:vt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),Qe=vt=>{const{componentCls:nr,formItemCls:sr,rootPrefixCls:or}=vt;return{[`${sr} ${sr}-label`]:Ne(vt),[`${nr}:not(${nr}-inline)`]:{[sr]:{flexWrap:"wrap",[`${sr}-label, ${sr}-control`]:{[`&:not([class*=" ${or}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Ze=vt=>{const{componentCls:nr,formItemCls:sr,antCls:or}=vt;return{[`${nr}-vertical`]:{[`${sr}:not(${sr}-horizontal)`]:{[`${sr}-row`]:{flexDirection:"column"},[`${sr}-label > label`]:{height:"auto"},[`${sr}-control`]:{width:"100%"},[`${sr}-label,
|
|
|
${or}-col-24${sr}-label,
|
|
|
${or}-col-xl-24${sr}-label`]:Ne(vt)}},[`@media (max-width: ${(0,u.unit)(vt.screenXSMax)})`]:[Qe(vt),{[nr]:{[`${sr}:not(${sr}-horizontal)`]:{[`${or}-col-xs-24${sr}-label`]:Ne(vt)}}}],[`@media (max-width: ${(0,u.unit)(vt.screenSMMax)})`]:{[nr]:{[`${sr}:not(${sr}-horizontal)`]:{[`${or}-col-sm-24${sr}-label`]:Ne(vt)}}},[`@media (max-width: ${(0,u.unit)(vt.screenMDMax)})`]:{[nr]:{[`${sr}:not(${sr}-horizontal)`]:{[`${or}-col-md-24${sr}-label`]:Ne(vt)}}},[`@media (max-width: ${(0,u.unit)(vt.screenLGMax)})`]:{[nr]:{[`${sr}:not(${sr}-horizontal)`]:{[`${or}-col-lg-24${sr}-label`]:Ne(vt)}}}}},we=vt=>{const{formItemCls:nr,antCls:sr}=vt;return{[`${nr}-vertical`]:{[`${nr}-row`]:{flexDirection:"column"},[`${nr}-label > label`]:{height:"auto"},[`${nr}-control`]:{width:"100%"}},[`${nr}-vertical ${nr}-label,
|
|
|
${sr}-col-24${nr}-label,
|
|
|
${sr}-col-xl-24${nr}-label`]:Ne(vt),[`@media (max-width: ${(0,u.unit)(vt.screenXSMax)})`]:[Qe(vt),{[nr]:{[`${sr}-col-xs-24${nr}-label`]:Ne(vt)}}],[`@media (max-width: ${(0,u.unit)(vt.screenSMMax)})`]:{[nr]:{[`${sr}-col-sm-24${nr}-label`]:Ne(vt)}},[`@media (max-width: ${(0,u.unit)(vt.screenMDMax)})`]:{[nr]:{[`${sr}-col-md-24${nr}-label`]:Ne(vt)}},[`@media (max-width: ${(0,u.unit)(vt.screenLGMax)})`]:{[nr]:{[`${sr}-col-lg-24${nr}-label`]:Ne(vt)}}}},xe=vt=>({labelRequiredMarkColor:vt.colorError,labelColor:vt.colorTextHeading,labelFontSize:vt.fontSize,labelHeight:vt.controlHeight,labelColonMarginInlineStart:vt.marginXXS/2,labelColonMarginInlineEnd:vt.marginXS,itemMarginBottom:vt.marginLG,verticalLabelPadding:`0 0 ${vt.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Q=(vt,nr)=>(0,R.mergeToken)(vt,{formItemCls:`${vt.componentCls}-item`,rootPrefixCls:nr});var ye=(0,X.I$)("Form",(vt,nr)=>{let{rootPrefixCls:sr}=nr;const or=Q(vt,sr);return[ie(or),J(or),$(or),te(or,or.componentCls),te(or,or.formItemCls),$e(or),Ze(or),we(or),(0,K.Z)(or),F.kr]},xe,{order:-1e3});const N=[];function I(vt,nr,sr){let or=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof vt=="string"?vt:`${nr}-${or}`,error:vt,errorStatus:sr}}var ce=vt=>{let{help:nr,helpStatus:sr,errors:or=N,warnings:jr=N,className:on,fieldId:Wr,onVisibleChanged:Dr}=vt;const{prefixCls:nn}=L.useContext(o.Rk),sn=`${nn}-item-explain`,$n=(0,y.Z)(nn),[Pn,On,Bn]=ye(nn,$n),ta=L.useMemo(()=>(0,_.Z)(nn),[nn]),tn=G(or),An=G(jr),Yn=L.useMemo(()=>nr!=null?[I(nr,"help",sr)]:[].concat((0,qe.Z)(tn.map((ra,Gn)=>I(ra,"error","error",Gn))),(0,qe.Z)(An.map((ra,Gn)=>I(ra,"warning","warning",Gn)))),[nr,sr,tn,An]),ua=L.useMemo(()=>{const ra={};return Yn.forEach(Gn=>{let{key:Wn}=Gn;ra[Wn]=(ra[Wn]||0)+1}),Yn.map((Gn,Wn)=>Object.assign(Object.assign({},Gn),{key:ra[Gn.key]>1?`${Gn.key}-fallback-${Wn}`:Gn.key}))},[Yn]),zn={};return Wr&&(zn.id=`${Wr}_help`),Pn(L.createElement(ee.default,{motionDeadline:ta.motionDeadline,motionName:`${nn}-show-help`,visible:!!ua.length,onVisibleChanged:Dr},ra=>{const{className:Gn,style:Wn}=ra;return L.createElement("div",Object.assign({},zn,{className:q()(sn,Gn,Bn,$n,on,On),style:Wn}),L.createElement(ee.CSSMotionList,Object.assign({keys:ua},(0,_.Z)(nn),{motionName:`${nn}-show-help-item`,component:!1}),qn=>{const{key:Dn,error:xn,errorStatus:Kn,className:wa,style:za}=qn;return L.createElement("div",{key:Dn,className:q()(wa,{[`${sn}-${Kn}`]:Kn}),style:za},xn)}))}))},le=n(30810),w=n(48755),k=n(2171),z=n(31756),C=n(23069),Y=n(76846),He=n(16722);const pe=["parentNode"],Ue="form_item";function ot(vt){return vt===void 0||vt===!1?[]:Array.isArray(vt)?vt:[vt]}function ct(vt,nr){if(!vt.length)return;const sr=vt.join("_");return nr?`${nr}_${sr}`:pe.includes(sr)?`${Ue}_${sr}`:sr}function ue(vt,nr,sr,or,jr,on){let Wr=or;return on!==void 0?Wr=on:sr.validating?Wr="validating":vt.length?Wr="error":nr.length?Wr="warning":(sr.touched||jr&&sr.validated)&&(Wr="success"),Wr}var Le=function(vt,nr){var sr={};for(var or in vt)Object.prototype.hasOwnProperty.call(vt,or)&&nr.indexOf(or)<0&&(sr[or]=vt[or]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jr=0,or=Object.getOwnPropertySymbols(vt);jr<or.length;jr++)nr.indexOf(or[jr])<0&&Object.prototype.propertyIsEnumerable.call(vt,or[jr])&&(sr[or[jr]]=vt[or[jr]]);return sr};function Ct(vt){return ot(vt).join("_")}function ke(vt,nr){const sr=nr.getFieldInstance(vt),or=(0,Y.bn)(sr);if(or)return or;const jr=ct(ot(vt),nr.__INTERNAL__.name);if(jr)return document.getElementById(jr)}function De(vt){const[nr]=(0,le.useForm)(),sr=L.useRef({}),or=L.useMemo(()=>vt!=null?vt:Object.assign(Object.assign({},nr),{__INTERNAL__:{itemRef:jr=>on=>{const Wr=Ct(jr);on?sr.current[Wr]=on:delete sr.current[Wr]}},scrollToField:function(jr){let on=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:Wr}=on,Dr=Le(on,["focus"]),nn=ke(jr,or);nn&&((0,He.Z)(nn,Object.assign({scrollMode:"if-needed",block:"nearest"},Dr)),Wr&&or.focusField(jr))},focusField:jr=>{var on,Wr;const Dr=or.getFieldInstance(jr);typeof(Dr==null?void 0:Dr.focus)=="function"?Dr.focus():(Wr=(on=ke(jr,or))===null||on===void 0?void 0:on.focus)===null||Wr===void 0||Wr.call(on)},getFieldInstance:jr=>{const on=Ct(jr);return sr.current[on]}}),[vt,nr]);return[or]}var j=n(98350),_e=function(vt,nr){var sr={};for(var or in vt)Object.prototype.hasOwnProperty.call(vt,or)&&nr.indexOf(or)<0&&(sr[or]=vt[or]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jr=0,or=Object.getOwnPropertySymbols(vt);jr<or.length;jr++)nr.indexOf(or[jr])<0&&Object.prototype.propertyIsEnumerable.call(vt,or[jr])&&(sr[or[jr]]=vt[or[jr]]);return sr};const be=(vt,nr)=>{const sr=L.useContext(k.Z),{getPrefixCls:or,direction:jr,requiredMark:on,colon:Wr,scrollToFirstError:Dr,className:nn,style:sn}=(0,w.dj)("form"),{prefixCls:$n,className:Pn,rootClassName:On,size:Bn,disabled:ta=sr,form:tn,colon:An,labelAlign:Yn,labelWrap:ua,labelCol:zn,wrapperCol:ra,hideRequiredMark:Gn,layout:Wn="horizontal",scrollToFirstError:qn,requiredMark:Dn,onFinishFailed:xn,name:Kn,style:wa,feedbackIcons:za,variant:to}=vt,ro=_e(vt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),so=(0,z.Z)(Bn),f=L.useContext(j.Z),s=L.useMemo(()=>Dn!==void 0?Dn:Gn?!1:on!==void 0?on:!0,[Gn,Dn,on]),p=An!=null?An:Wr,b=or("form",$n),A=(0,y.Z)(b),[v,T,Z]=ye(b,A),re=q()(b,`${b}-${Wn}`,{[`${b}-hide-required-mark`]:s===!1,[`${b}-rtl`]:jr==="rtl",[`${b}-${so}`]:so},Z,A,T,nn,Pn,On),[Ae]=De(tn),{__INTERNAL__:st}=Ae;st.name=Kn;const jt=L.useMemo(()=>({name:Kn,labelAlign:Yn,labelCol:zn,labelWrap:ua,wrapperCol:ra,vertical:Wn==="vertical",colon:p,requiredMark:s,itemRef:st.itemRef,form:Ae,feedbackIcons:za}),[Kn,Yn,zn,ra,Wn,p,s,Ae,za]),At=L.useRef(null);L.useImperativeHandle(nr,()=>{var Ge;return Object.assign(Object.assign({},Ae),{nativeElement:(Ge=At.current)===null||Ge===void 0?void 0:Ge.nativeElement})});const ve=(Ge,Zt)=>{if(Ge){let gt={block:"nearest"};typeof Ge=="object"&&(gt=Object.assign(Object.assign({},gt),Ge)),Ae.scrollToField(Zt,gt)}},kt=Ge=>{if(xn==null||xn(Ge),Ge.errorFields.length){const Zt=Ge.errorFields[0].name;if(qn!==void 0){ve(qn,Zt);return}Dr!==void 0&&ve(Dr,Zt)}};return v(L.createElement(o.pg.Provider,{value:to},L.createElement(k.n,{disabled:ta},L.createElement(C.Z.Provider,{value:so},L.createElement(o.RV,{validateMessages:f},L.createElement(o.q3.Provider,{value:jt},L.createElement(le.default,Object.assign({id:Kn},ro,{name:Kn,onFinishFailed:kt,form:Ae,ref:At,style:Object.assign(Object.assign({},sn),wa),className:re}))))))))};var he=L.forwardRef(be),me=n(41799),Ie=n(8654),Se=n(22703),Me=n(32383),Je=n(11592);function pt(vt){if(typeof vt=="function")return vt;const nr=(0,Je.Z)(vt);return nr.length<=1?nr[0]:nr}const $t=()=>{const{status:vt,errors:nr=[],warnings:sr=[]}=L.useContext(o.aM);return{status:vt,errors:nr,warnings:sr}};$t.Context=o.aM;var Yt=$t,Gt=n(16089);function Pt(vt){const[nr,sr]=L.useState(vt),or=L.useRef(null),jr=L.useRef([]),on=L.useRef(!1);L.useEffect(()=>(on.current=!1,()=>{on.current=!0,Gt.Z.cancel(or.current),or.current=null}),[]);function Wr(Dr){on.current||(or.current===null&&(jr.current=[],or.current=(0,Gt.Z)(()=>{or.current=null,sr(nn=>{let sn=nn;return jr.current.forEach($n=>{sn=$n(sn)}),sn})})),jr.current.push(Dr))}return[nr,Wr]}function it(){const{itemRef:vt}=L.useContext(o.q3),nr=L.useRef({});function sr(or,jr){const on=jr&&typeof jr=="object"&&(0,Ie.C4)(jr),Wr=or.join("_");return(nr.current.name!==Wr||nr.current.originRef!==on)&&(nr.current.name=Wr,nr.current.originRef=on,nr.current.ref=(0,Ie.sQ)(vt(or),on)),nr.current.ref}return sr}var xt=n(29194),Nt=n(34280),Ht=n(2738),Et=n(65970),er=n(70425),lr=n(5472);const Cr=vt=>{const{formItemCls:nr}=vt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${nr}-control`]:{display:"flex"}}}};var qr=(0,X.bk)(["Form","item-item"],(vt,nr)=>{let{rootPrefixCls:sr}=nr;const or=Q(vt,sr);return[Cr(or)]}),Ar=function(vt,nr){var sr={};for(var or in vt)Object.prototype.hasOwnProperty.call(vt,or)&&nr.indexOf(or)<0&&(sr[or]=vt[or]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jr=0,or=Object.getOwnPropertySymbols(vt);jr<or.length;jr++)nr.indexOf(or[jr])<0&&Object.prototype.propertyIsEnumerable.call(vt,or[jr])&&(sr[or[jr]]=vt[or[jr]]);return sr};const x=24;var St=vt=>{const{prefixCls:nr,status:sr,labelCol:or,wrapperCol:jr,children:on,errors:Wr,warnings:Dr,_internalItemRender:nn,extra:sn,help:$n,fieldId:Pn,marginBottom:On,onErrorVisibleChanged:Bn,label:ta}=vt,tn=`${nr}-item`,An=L.useContext(o.q3),Yn=L.useMemo(()=>{let ro=Object.assign({},jr||An.wrapperCol||{});return ta===null&&!or&&!jr&&An.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(f=>{const s=f?[f]:[],p=(0,er.U2)(An.labelCol,s),b=typeof p=="object"?p:{},A=(0,er.U2)(ro,s),v=typeof A=="object"?A:{};"span"in b&&!("offset"in v)&&b.span<x&&(ro=(0,er.t8)(ro,[].concat(s,["offset"]),b.span))}),ro},[jr,An]),ua=q()(`${tn}-control`,Yn.className),zn=L.useMemo(()=>{const{labelCol:ro,wrapperCol:so}=An;return Ar(An,["labelCol","wrapperCol"])},[An]),ra=L.useRef(null),[Gn,Wn]=L.useState(0);(0,Nt.Z)(()=>{sn&&ra.current?Wn(ra.current.clientHeight):Wn(0)},[sn]);const qn=L.createElement("div",{className:`${tn}-control-input`},L.createElement("div",{className:`${tn}-control-input-content`},on)),Dn=L.useMemo(()=>({prefixCls:nr,status:sr}),[nr,sr]),xn=On!==null||Wr.length||Dr.length?L.createElement(o.Rk.Provider,{value:Dn},L.createElement(ce,{fieldId:Pn,errors:Wr,warnings:Dr,help:$n,helpStatus:sr,className:`${tn}-explain-connected`,onVisibleChanged:Bn})):null,Kn={};Pn&&(Kn.id=`${Pn}_extra`);const wa=sn?L.createElement("div",Object.assign({},Kn,{className:`${tn}-extra`,ref:ra}),sn):null,za=xn||wa?L.createElement("div",{className:`${tn}-additional`,style:On?{minHeight:On+Gn}:{}},xn,wa):null,to=nn&&nn.mark==="pro_table_render"&&nn.render?nn.render(vt,{input:qn,errorList:xn,extra:wa}):L.createElement(L.Fragment,null,qn,za);return L.createElement(o.q3.Provider,{value:zn},L.createElement(lr.Z,Object.assign({},Yn,{className:ua}),to),L.createElement(qr,{prefixCls:nr}))},oe=n(61485),Be=n(9017),zr=n(85981),$r=n(25399),yn=function(vt,nr){var sr={};for(var or in vt)Object.prototype.hasOwnProperty.call(vt,or)&&nr.indexOf(or)<0&&(sr[or]=vt[or]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jr=0,or=Object.getOwnPropertySymbols(vt);jr<or.length;jr++)nr.indexOf(or[jr])<0&&Object.prototype.propertyIsEnumerable.call(vt,or[jr])&&(sr[or[jr]]=vt[or[jr]]);return sr};function Tn(vt){return vt?typeof vt=="object"&&!L.isValidElement(vt)?vt:{title:vt}:null}var Sr=vt=>{let{prefixCls:nr,label:sr,htmlFor:or,labelCol:jr,labelAlign:on,colon:Wr,required:Dr,requiredMark:nn,tooltip:sn,vertical:$n}=vt;var Pn;const[On]=(0,Be.Z)("Form"),{labelAlign:Bn,labelCol:ta,labelWrap:tn,colon:An}=L.useContext(o.q3);if(!sr)return null;const Yn=jr||ta||{},ua=on||Bn,zn=`${nr}-item-label`,ra=q()(zn,ua==="left"&&`${zn}-left`,Yn.className,{[`${zn}-wrap`]:!!tn});let Gn=sr;const Wn=Wr===!0||An!==!1&&Wr!==!1;Wn&&!$n&&typeof sr=="string"&&sr.trim()&&(Gn=sr.replace(/[:|:]\s*$/,""));const Dn=Tn(sn);if(Dn){const{icon:ro=L.createElement(oe.Z,null)}=Dn,so=yn(Dn,["icon"]),f=L.createElement($r.Z,Object.assign({},so),L.cloneElement(ro,{className:`${nr}-item-tooltip`,title:"",onClick:s=>{s.preventDefault()},tabIndex:null}));Gn=L.createElement(L.Fragment,null,Gn,f)}const xn=nn==="optional",Kn=typeof nn=="function",wa=nn===!1;Kn?Gn=nn(Gn,{required:!!Dr}):xn&&!Dr&&(Gn=L.createElement(L.Fragment,null,Gn,L.createElement("span",{className:`${nr}-item-optional`,title:""},(On==null?void 0:On.optional)||((Pn=zr.Z.Form)===null||Pn===void 0?void 0:Pn.optional))));let za;wa?za="hidden":(xn||Kn)&&(za="optional");const to=q()({[`${nr}-item-required`]:Dr,[`${nr}-item-required-mark-${za}`]:za,[`${nr}-item-no-colon`]:!Wn});return L.createElement(lr.Z,Object.assign({},Yn,{className:ra}),L.createElement("label",{htmlFor:or,className:to,title:typeof sr=="string"?sr:""},Gn))},br=n(29679),Br=n(19248),h=n(96512),D=n(58617);const Ee={success:br.Z,warning:h.Z,error:Br.Z,validating:D.Z};function ne(vt){let{children:nr,errors:sr,warnings:or,hasFeedback:jr,validateStatus:on,prefixCls:Wr,meta:Dr,noStyle:nn}=vt;const sn=`${Wr}-item`,{feedbackIcons:$n}=L.useContext(o.q3),Pn=ue(sr,or,Dr,null,!!jr,on),{isFormItemInput:On,status:Bn,hasFeedback:ta,feedbackIcon:tn}=L.useContext(o.aM),An=L.useMemo(()=>{var Yn;let ua;if(jr){const ra=jr!==!0&&jr.icons||$n,Gn=Pn&&((Yn=ra==null?void 0:ra({status:Pn,errors:sr,warnings:or}))===null||Yn===void 0?void 0:Yn[Pn]),Wn=Pn&&Ee[Pn];ua=Gn!==!1&&Wn?L.createElement("span",{className:q()(`${sn}-feedback-icon`,`${sn}-feedback-icon-${Pn}`)},Gn||L.createElement(Wn,null)):null}const zn={status:Pn||"",errors:sr,warnings:or,hasFeedback:!!jr,feedbackIcon:ua,isFormItemInput:!0};return nn&&(zn.status=(Pn!=null?Pn:Bn)||"",zn.isFormItemInput=On,zn.hasFeedback=!!(jr!=null?jr:ta),zn.feedbackIcon=jr!==void 0?zn.feedbackIcon:tn),zn},[Pn,jr,nn,On,Bn]);return L.createElement(o.aM.Provider,{value:An},nr)}var lt=function(vt,nr){var sr={};for(var or in vt)Object.prototype.hasOwnProperty.call(vt,or)&&nr.indexOf(or)<0&&(sr[or]=vt[or]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jr=0,or=Object.getOwnPropertySymbols(vt);jr<or.length;jr++)nr.indexOf(or[jr])<0&&Object.prototype.propertyIsEnumerable.call(vt,or[jr])&&(sr[or[jr]]=vt[or[jr]]);return sr};function pn(vt){const{prefixCls:nr,className:sr,rootClassName:or,style:jr,help:on,errors:Wr,warnings:Dr,validateStatus:nn,meta:sn,hasFeedback:$n,hidden:Pn,children:On,fieldId:Bn,required:ta,isRequired:tn,onSubItemMetaChange:An,layout:Yn}=vt,ua=lt(vt,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),zn=`${nr}-item`,{requiredMark:ra,vertical:Gn}=L.useContext(o.q3),Wn=Gn||Yn==="vertical",qn=L.useRef(null),Dn=G(Wr),xn=G(Dr),Kn=on!=null,wa=!!(Kn||Wr.length||Dr.length),za=!!qn.current&&(0,xt.Z)(qn.current),[to,ro]=L.useState(null);(0,Nt.Z)(()=>{if(wa&&qn.current){const b=getComputedStyle(qn.current);ro(parseInt(b.marginBottom,10))}},[wa,za]);const so=b=>{b||ro(null)},s=function(){let b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const A=b?Dn:sn.errors,v=b?xn:sn.warnings;return ue(A,v,sn,"",!!$n,nn)}(),p=q()(zn,sr,or,{[`${zn}-with-help`]:Kn||Dn.length||xn.length,[`${zn}-has-feedback`]:s&&$n,[`${zn}-has-success`]:s==="success",[`${zn}-has-warning`]:s==="warning",[`${zn}-has-error`]:s==="error",[`${zn}-is-validating`]:s==="validating",[`${zn}-hidden`]:Pn,[`${zn}-${Yn}`]:Yn});return L.createElement("div",{className:p,style:jr,ref:qn},L.createElement(Et.Z,Object.assign({className:`${zn}-row`},(0,Ht.Z)(ua,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),L.createElement(Sr,Object.assign({htmlFor:Bn},vt,{requiredMark:ra,required:ta!=null?ta:tn,prefixCls:nr,vertical:Wn})),L.createElement(St,Object.assign({},vt,sn,{errors:Dn,warnings:xn,prefixCls:nr,status:s,help:on,marginBottom:to,onErrorVisibleChanged:so}),L.createElement(o.qI.Provider,{value:An},L.createElement(ne,{prefixCls:nr,meta:sn,errors:sn.errors,warnings:sn.warnings,hasFeedback:$n,validateStatus:s},On)))),!!to&&L.createElement("div",{className:`${zn}-margin-offset`,style:{marginBottom:-to}}))}const mt="__SPLIT__",Ut=null;function Ur(vt,nr){const sr=Object.keys(vt),or=Object.keys(nr);return sr.length===or.length&&sr.every(jr=>{const on=vt[jr],Wr=nr[jr];return on===Wr||typeof on=="function"||typeof Wr=="function"})}const Pr=L.memo(vt=>{let{children:nr}=vt;return nr},(vt,nr)=>Ur(vt.control,nr.control)&&vt.update===nr.update&&vt.childProps.length===nr.childProps.length&&vt.childProps.every((sr,or)=>sr===nr.childProps[or]));function Jr(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function gn(vt){const{name:nr,noStyle:sr,className:or,dependencies:jr,prefixCls:on,shouldUpdate:Wr,rules:Dr,children:nn,required:sn,label:$n,messageVariables:Pn,trigger:On="onChange",validateTrigger:Bn,hidden:ta,help:tn,layout:An}=vt,{getPrefixCls:Yn}=L.useContext(w.E_),{name:ua}=L.useContext(o.q3),zn=pt(nn),ra=typeof zn=="function",Gn=L.useContext(o.qI),{validateTrigger:Wn}=L.useContext(le.FieldContext),qn=Bn!==void 0?Bn:Wn,Dn=nr!=null,xn=Yn("form",on),Kn=(0,y.Z)(xn),[wa,za,to]=ye(xn,Kn),ro=(0,Me.ln)("Form.Item"),so=L.useContext(le.ListContext),f=L.useRef(null),[s,p]=Pt({}),[b,A]=(0,me.Z)(()=>Jr()),v=At=>{const ve=so==null?void 0:so.getKey(At.name);if(A(At.destroy?Jr():At,!0),sr&&tn!==!1&&Gn){let kt=At.name;if(At.destroy)kt=f.current||kt;else if(ve!==void 0){const[Ge,Zt]=ve;kt=[Ge].concat((0,qe.Z)(Zt)),f.current=kt}Gn(At,kt)}},T=(At,ve)=>{p(kt=>{const Ge=Object.assign({},kt),gt=[].concat((0,qe.Z)(At.name.slice(0,-1)),(0,qe.Z)(ve)).join(mt);return At.destroy?delete Ge[gt]:Ge[gt]=At,Ge})},[Z,re]=L.useMemo(()=>{const At=(0,qe.Z)(b.errors),ve=(0,qe.Z)(b.warnings);return Object.values(s).forEach(kt=>{At.push.apply(At,(0,qe.Z)(kt.errors||[])),ve.push.apply(ve,(0,qe.Z)(kt.warnings||[]))}),[At,ve]},[s,b.errors,b.warnings]),Ae=it();function st(At,ve,kt){return sr&&!ta?L.createElement(ne,{prefixCls:xn,hasFeedback:vt.hasFeedback,validateStatus:vt.validateStatus,meta:b,errors:Z,warnings:re,noStyle:!0},At):L.createElement(pn,Object.assign({key:"row"},vt,{className:q()(or,to,Kn,za),prefixCls:xn,fieldId:ve,isRequired:kt,errors:Z,warnings:re,meta:b,onSubItemMetaChange:T,layout:An}),At)}if(!Dn&&!ra&&!jr)return wa(st(zn));let jt={};return typeof $n=="string"?jt.label=$n:nr&&(jt.label=String(nr)),Pn&&(jt=Object.assign(Object.assign({},jt),Pn)),wa(L.createElement(le.Field,Object.assign({},vt,{messageVariables:jt,trigger:On,validateTrigger:qn,onMetaChange:v}),(At,ve,kt)=>{const Ge=ot(nr).length&&ve?ve.name:[],Zt=ct(Ge,ua),gt=sn!==void 0?sn:!!(Dr!=null&&Dr.some(Qt=>{if(Qt&&typeof Qt=="object"&&Qt.required&&!Qt.warningOnly)return!0;if(typeof Qt=="function"){const at=Qt(kt);return(at==null?void 0:at.required)&&!(at!=null&&at.warningOnly)}return!1})),ar=Object.assign({},At);let yr=null;if(Array.isArray(zn)&&Dn)yr=zn;else if(!(ra&&(!(Wr||jr)||Dn))){if(!(jr&&!ra&&!Dn))if(L.isValidElement(zn)){const Qt=Object.assign(Object.assign({},zn.props),ar);if(Qt.id||(Qt.id=Zt),tn||Z.length>0||re.length>0||vt.extra){const Vt=[];(tn||Z.length>0)&&Vt.push(`${Zt}_help`),vt.extra&&Vt.push(`${Zt}_extra`),Qt["aria-describedby"]=Vt.join(" ")}Z.length>0&&(Qt["aria-invalid"]="true"),gt&&(Qt["aria-required"]="true"),(0,Ie.Yr)(zn)&&(Qt.ref=Ae(Ge,zn)),new Set([].concat((0,qe.Z)(ot(On)),(0,qe.Z)(ot(qn)))).forEach(Vt=>{Qt[Vt]=function(){for(var Mt,Ot,qt,We,ze,wt=arguments.length,ut=new Array(wt),cr=0;cr<wt;cr++)ut[cr]=arguments[cr];(qt=ar[Vt])===null||qt===void 0||(Mt=qt).call.apply(Mt,[ar].concat(ut)),(ze=(We=zn.props)[Vt])===null||ze===void 0||(Ot=ze).call.apply(Ot,[We].concat(ut))}});const Ce=[Qt["aria-required"],Qt["aria-invalid"],Qt["aria-describedby"]];yr=L.createElement(Pr,{control:ar,update:zn,childProps:Ce},(0,Se.Tm)(zn,Qt))}else ra&&(Wr||jr)&&!Dn?yr=zn(kt):yr=zn}return st(yr,Zt,gt)}))}const Jn=gn;Jn.useStatus=Yt;var ge=Jn,mr=function(vt,nr){var sr={};for(var or in vt)Object.prototype.hasOwnProperty.call(vt,or)&&nr.indexOf(or)<0&&(sr[or]=vt[or]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jr=0,or=Object.getOwnPropertySymbols(vt);jr<or.length;jr++)nr.indexOf(or[jr])<0&&Object.prototype.propertyIsEnumerable.call(vt,or[jr])&&(sr[or[jr]]=vt[or[jr]]);return sr},Ir=vt=>{var{prefixCls:nr,children:sr}=vt,or=mr(vt,["prefixCls","children"]);const{getPrefixCls:jr}=L.useContext(w.E_),on=jr("form",nr),Wr=L.useMemo(()=>({prefixCls:on,status:"error"}),[on]);return L.createElement(le.List,Object.assign({},or),(Dr,nn,sn)=>L.createElement(o.Rk.Provider,{value:Wr},sr(Dr.map($n=>Object.assign(Object.assign({},$n),{fieldKey:$n.key})),nn,{errors:sn.errors,warnings:sn.warnings})))};function Vr(){const{form:vt}=L.useContext(o.q3);return vt}const Sn=he;Sn.Item=ge,Sn.List=Ir,Sn.ErrorList=ce,Sn.useForm=De,Sn.useFormInstance=Vr,Sn.useWatch=le.useWatch,Sn.Provider=o.RV,Sn.create=()=>{};var ea=Sn},90083:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return Gt}});var o=n(59301),qe=n(15277),L=n(92310),Re=n.n(L),q=n(91574),ee=n(75030),_=n(86641),y=n(48755),G=n(83397),u=n(9017),B=n(99267),F=n(33853),K=n(38819),R=n(54476),X={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},M=X,$=n(7657),S=function(it,xt){return o.createElement($.Z,(0,R.Z)({},it,{ref:xt,icon:M}))},E=o.forwardRef(S),ie=E,J={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},te=J,$e=function(it,xt){return o.createElement($.Z,(0,R.Z)({},it,{ref:xt,icon:te}))},Ne=o.forwardRef($e),Qe=Ne,Ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},we=Ze,xe=function(it,xt){return o.createElement($.Z,(0,R.Z)({},it,{ref:xt,icon:we}))},Q=o.forwardRef(xe),ye=Q,N={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},I=N,nt=function(it,xt){return o.createElement($.Z,(0,R.Z)({},it,{ref:xt,icon:I}))},ce=o.forwardRef(nt),le=ce,w={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},k=w,z=function(it,xt){return o.createElement($.Z,(0,R.Z)({},it,{ref:xt,icon:k}))},C=o.forwardRef(z),Y=C,He=n(36237),pe=n(17835),Ue=n(64427),ot=n(63356),ct=n(34925),ue=n(99495),Le=n(16931),Ct=n(51636);const ke=Pt=>({position:Pt||"absolute",inset:0}),De=Pt=>{const{iconCls:it,motionDurationSlow:xt,paddingXXS:Nt,marginXXS:Ht,prefixCls:Et,colorTextLightSolid:er}=Pt;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:er,background:new pe.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${xt}`,[`.${Et}-mask-info`]:Object.assign(Object.assign({},ot.vS),{padding:`0 ${(0,He.unit)(Nt)}`,[it]:{marginInlineEnd:Ht,svg:{verticalAlign:"baseline"}}})}},j=Pt=>{const{previewCls:it,modalMaskBg:xt,paddingSM:Nt,marginXL:Ht,margin:Et,paddingLG:er,previewOperationColorDisabled:lr,previewOperationHoverColor:Cr,motionDurationSlow:qr,iconCls:Ar,colorTextLightSolid:x}=Pt,W=new pe.FastColor(xt).setA(.1),St=W.clone().setA(.2);return{[`${it}-footer`]:{position:"fixed",bottom:Ht,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:Pt.previewOperationColor,transform:"translateX(-50%)"},[`${it}-progress`]:{marginBottom:Et},[`${it}-close`]:{position:"fixed",top:Ht,right:{_skip_check_:!0,value:Ht},display:"flex",color:x,backgroundColor:W.toRgbString(),borderRadius:"50%",padding:Nt,outline:0,border:0,cursor:"pointer",transition:`all ${qr}`,"&:hover":{backgroundColor:St.toRgbString()},[`& > ${Ar}`]:{fontSize:Pt.previewOperationSize}},[`${it}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,He.unit)(er)}`,backgroundColor:W.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Nt,padding:Nt,cursor:"pointer",transition:`all ${qr}`,userSelect:"none",[`&:not(${it}-operations-operation-disabled):hover > ${Ar}`]:{color:Cr},"&-disabled":{color:lr,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Ar}`]:{fontSize:Pt.previewOperationSize}}}}},_e=Pt=>{const{modalMaskBg:it,iconCls:xt,previewOperationColorDisabled:Nt,previewCls:Ht,zIndexPopup:Et,motionDurationSlow:er}=Pt,lr=new pe.FastColor(it).setA(.1),Cr=lr.clone().setA(.2);return{[`${Ht}-switch-left, ${Ht}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Pt.calc(Et).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:Pt.imagePreviewSwitchSize,height:Pt.imagePreviewSwitchSize,marginTop:Pt.calc(Pt.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:Pt.previewOperationColor,background:lr.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${er}`,userSelect:"none","&:hover":{background:Cr.toRgbString()},"&-disabled":{"&, &:hover":{color:Nt,background:"transparent",cursor:"not-allowed",[`> ${xt}`]:{cursor:"not-allowed"}}},[`> ${xt}`]:{fontSize:Pt.previewOperationSize}},[`${Ht}-switch-left`]:{insetInlineStart:Pt.marginSM},[`${Ht}-switch-right`]:{insetInlineEnd:Pt.marginSM}}},be=Pt=>{const{motionEaseOut:it,previewCls:xt,motionDurationSlow:Nt,componentCls:Ht}=Pt;return[{[`${Ht}-preview-root`]:{[xt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${xt}-body`]:Object.assign(Object.assign({},ke()),{overflow:"hidden"}),[`${xt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Nt} ${it} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ke()),{transition:`transform ${Nt} ${it} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${xt}-moving`]:{[`${xt}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Ht}-preview-root`]:{[`${xt}-wrap`]:{zIndex:Pt.zIndexPopup}}},{[`${Ht}-preview-operations-wrapper`]:{position:"fixed",zIndex:Pt.calc(Pt.zIndexPopup).add(1).equal()},"&":[j(Pt),_e(Pt)]}]},fe=Pt=>{const{componentCls:it}=Pt;return{[it]:{position:"relative",display:"inline-block",[`${it}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${it}-img-placeholder`]:{backgroundColor:Pt.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${it}-mask`]:Object.assign({},De(Pt)),[`${it}-mask:hover`]:{opacity:1},[`${it}-placeholder`]:Object.assign({},ke())}}},he=Pt=>{const{previewCls:it}=Pt;return{[`${it}-root`]:(0,ct._y)(Pt,"zoom"),"&":(0,ue.J$)(Pt,!0)}},me=Pt=>({zIndexPopup:Pt.zIndexPopupBase+80,previewOperationColor:new pe.FastColor(Pt.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new pe.FastColor(Pt.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new pe.FastColor(Pt.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:Pt.fontSizeIcon*1.5});var Ie=(0,Le.I$)("Image",Pt=>{const it=`${Pt.componentCls}-preview`,xt=(0,Ct.mergeToken)(Pt,{previewCls:it,modalMaskBg:new pe.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:Pt.controlHeightLG});return[fe(xt),be(xt),(0,Ue.QA)((0,Ct.mergeToken)(xt,{componentCls:it})),he(xt)]},me),Se=function(Pt,it){var xt={};for(var Nt in Pt)Object.prototype.hasOwnProperty.call(Pt,Nt)&&it.indexOf(Nt)<0&&(xt[Nt]=Pt[Nt]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ht=0,Nt=Object.getOwnPropertySymbols(Pt);Ht<Nt.length;Ht++)it.indexOf(Nt[Ht])<0&&Object.prototype.propertyIsEnumerable.call(Pt,Nt[Ht])&&(xt[Nt[Ht]]=Pt[Nt[Ht]]);return xt};const Me={rotateLeft:o.createElement(ie,null),rotateRight:o.createElement(Qe,null),zoomIn:o.createElement(le,null),zoomOut:o.createElement(Y,null),close:o.createElement(B.Z,null),left:o.createElement(F.Z,null),right:o.createElement(K.Z,null),flipX:o.createElement(ye,null),flipY:o.createElement(ye,{rotate:90})};var pt=Pt=>{var{previewPrefixCls:it,preview:xt}=Pt,Nt=Se(Pt,["previewPrefixCls","preview"]);const{getPrefixCls:Ht}=o.useContext(y.E_),Et=Ht("image",it),er=`${Et}-preview`,lr=Ht(),Cr=(0,G.Z)(Et),[qr,Ar,x]=Ie(Et,Cr),[W]=(0,ee.Cn)("ImagePreview",typeof xt=="object"?xt.zIndex:void 0),St=o.useMemo(()=>{var oe;if(xt===!1)return xt;const Be=typeof xt=="object"?xt:{},zr=Re()(Ar,x,Cr,(oe=Be.rootClassName)!==null&&oe!==void 0?oe:"");return Object.assign(Object.assign({},Be),{transitionName:(0,_.m)(lr,"zoom",Be.transitionName),maskTransitionName:(0,_.m)(lr,"fade",Be.maskTransitionName),rootClassName:zr,zIndex:W})},[xt]);return qr(o.createElement(q.Z.PreviewGroup,Object.assign({preview:St,previewPrefixCls:er,icons:Me},Nt)))},$t=function(Pt,it){var xt={};for(var Nt in Pt)Object.prototype.hasOwnProperty.call(Pt,Nt)&&it.indexOf(Nt)<0&&(xt[Nt]=Pt[Nt]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ht=0,Nt=Object.getOwnPropertySymbols(Pt);Ht<Nt.length;Ht++)it.indexOf(Nt[Ht])<0&&Object.prototype.propertyIsEnumerable.call(Pt,Nt[Ht])&&(xt[Nt[Ht]]=Pt[Nt[Ht]]);return xt};const Yt=Pt=>{const{prefixCls:it,preview:xt,className:Nt,rootClassName:Ht,style:Et}=Pt,er=$t(Pt,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:lr,getPopupContainer:Cr,className:qr,style:Ar,preview:x}=(0,y.dj)("image"),[W]=(0,u.Z)("Image"),St=lr("image",it),oe=lr(),Be=(0,G.Z)(St),[zr,$r,yn]=Ie(St,Be),Tn=Re()(Ht,$r,yn,Be),Ft=Re()(Nt,$r,qr),[Sr]=(0,ee.Cn)("ImagePreview",typeof xt=="object"?xt.zIndex:void 0),br=o.useMemo(()=>{if(xt===!1)return xt;const h=typeof xt=="object"?xt:{},{getContainer:D,closeIcon:Ee,rootClassName:ne}=h,lt=$t(h,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:o.createElement("div",{className:`${St}-mask-info`},o.createElement(qe.Z,null),W==null?void 0:W.preview),icons:Me},lt),{rootClassName:Re()(Tn,ne),getContainer:D!=null?D:Cr,transitionName:(0,_.m)(oe,"zoom",h.transitionName),maskTransitionName:(0,_.m)(oe,"fade",h.maskTransitionName),zIndex:Sr,closeIcon:Ee!=null?Ee:x==null?void 0:x.closeIcon})},[xt,W,x==null?void 0:x.closeIcon]),Br=Object.assign(Object.assign({},Ar),Et);return zr(o.createElement(q.Z,Object.assign({prefixCls:St,preview:br,rootClassName:Tn,className:Ft,style:Br},er)))};Yt.PreviewGroup=pt;var Gt=Yt},71051:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return le}});var o=n(59301),qe=n(84105),L=n(87395),Re=n(92310),q=n.n(Re),ee=n(20922),_=n(62487),y=n(82855),G=n(48755),u=n(60840),B=n(2171),F=n(83397),K=n(31756),R=n(56553),X=n(24971),M=n(70045),$=n(36237),S=n(53075),E=n(64910),ie=n(39082),J=n(63356),te=n(56119),$e=n(16931),Ne=n(51636),Qe=n(17835);const Ze=w=>{var k;const z=(k=w.handleVisible)!==null&&k!==void 0?k:"auto",C=w.controlHeightSM-w.lineWidth*2;return Object.assign(Object.assign({},(0,E.T)(w)),{controlWidth:90,handleWidth:C,handleFontSize:w.fontSize/2,handleVisible:z,handleActiveBg:w.colorFillAlter,handleBg:w.colorBgContainer,filledHandleBg:new Qe.FastColor(w.colorFillSecondary).onBackground(w.colorBgContainer).toHexString(),handleHoverColor:w.colorPrimary,handleBorderColor:w.colorBorder,handleOpacity:z===!0?1:0,handleVisibleWidth:z===!0?C:0})},we=(w,k)=>{let{componentCls:z,borderRadiusSM:C,borderRadiusLG:Y}=w;const He=k==="lg"?Y:C;return{[`&-${k}`]:{[`${z}-handler-wrap`]:{borderStartEndRadius:He,borderEndEndRadius:He},[`${z}-handler-up`]:{borderStartEndRadius:He},[`${z}-handler-down`]:{borderEndEndRadius:He}}}},xe=w=>{const{componentCls:k,lineWidth:z,lineType:C,borderRadius:Y,inputFontSizeSM:He,inputFontSizeLG:pe,controlHeightLG:Ue,controlHeightSM:ot,colorError:ct,paddingInlineSM:ue,paddingBlockSM:Le,paddingBlockLG:Ct,paddingInlineLG:ke,colorTextDescription:De,motionDurationMid:j,handleHoverColor:_e,handleOpacity:be,paddingInline:fe,paddingBlock:he,handleBg:me,handleActiveBg:Ie,colorTextDisabled:Se,borderRadiusSM:Me,borderRadiusLG:Je,controlWidth:pt,handleBorderColor:$t,filledHandleBg:Yt,lineHeightLG:Gt,calc:Pt}=w;return[{[k]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,J.Wf)(w)),(0,S.ik)(w)),{display:"inline-block",width:pt,margin:0,padding:0,borderRadius:Y}),(0,ie.qG)(w,{[`${k}-handler-wrap`]:{background:me,[`${k}-handler-down`]:{borderBlockStart:`${(0,$.unit)(z)} ${C} ${$t}`}}})),(0,ie.H8)(w,{[`${k}-handler-wrap`]:{background:Yt,[`${k}-handler-down`]:{borderBlockStart:`${(0,$.unit)(z)} ${C} ${$t}`}},"&:focus-within":{[`${k}-handler-wrap`]:{background:me}}})),(0,ie.vc)(w,{[`${k}-handler-wrap`]:{background:me,[`${k}-handler-down`]:{borderBlockStart:`${(0,$.unit)(z)} ${C} ${$t}`}}})),(0,ie.Mu)(w)),{"&-rtl":{direction:"rtl",[`${k}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:pe,lineHeight:Gt,borderRadius:Je,[`input${k}-input`]:{height:Pt(Ue).sub(Pt(z).mul(2)).equal(),padding:`${(0,$.unit)(Ct)} ${(0,$.unit)(ke)}`}},"&-sm":{padding:0,fontSize:He,borderRadius:Me,[`input${k}-input`]:{height:Pt(ot).sub(Pt(z).mul(2)).equal(),padding:`${(0,$.unit)(Le)} ${(0,$.unit)(ue)}`}},"&-out-of-range":{[`${k}-input-wrap`]:{input:{color:ct}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,J.Wf)(w)),(0,S.s7)(w)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${k}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${k}-group-addon`]:{borderRadius:Je,fontSize:w.fontSizeLG}},"&-sm":{[`${k}-group-addon`]:{borderRadius:Me}}},(0,ie.ir)(w)),(0,ie.S5)(w)),{[`&:not(${k}-compact-first-item):not(${k}-compact-last-item)${k}-compact-item`]:{[`${k}, ${k}-group-addon`]:{borderRadius:0}},[`&:not(${k}-compact-last-item)${k}-compact-first-item`]:{[`${k}, ${k}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${k}-compact-first-item)${k}-compact-last-item`]:{[`${k}, ${k}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${k}-input`]:{cursor:"not-allowed"},[k]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,J.Wf)(w)),{width:"100%",padding:`${(0,$.unit)(he)} ${(0,$.unit)(fe)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Y,outline:0,transition:`all ${j} linear`,appearance:"textfield",fontSize:"inherit"}),(0,S.nz)(w.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${k}-handler-wrap, &-focused ${k}-handler-wrap`]:{width:w.handleWidth,opacity:1}})},{[k]:Object.assign(Object.assign(Object.assign({[`${k}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:w.handleVisibleWidth,opacity:be,height:"100%",borderStartStartRadius:0,borderStartEndRadius:Y,borderEndEndRadius:Y,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${j}`,overflow:"hidden",[`${k}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
|
|
|
${k}-handler-up-inner,
|
|
|
${k}-handler-down-inner
|
|
|
`]:{marginInlineEnd:0,fontSize:w.handleFontSize}}},[`${k}-handler`]:{height:"50%",overflow:"hidden",color:De,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,$.unit)(z)} ${C} ${$t}`,transition:`all ${j} linear`,"&:active":{background:Ie},"&:hover":{height:"60%",[`
|
|
|
${k}-handler-up-inner,
|
|
|
${k}-handler-down-inner
|
|
|
`]:{color:_e}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,J.Ro)()),{color:De,transition:`all ${j} linear`,userSelect:"none"})},[`${k}-handler-up`]:{borderStartEndRadius:Y},[`${k}-handler-down`]:{borderEndEndRadius:Y}},we(w,"lg")),we(w,"sm")),{"&-disabled, &-readonly":{[`${k}-handler-wrap`]:{display:"none"},[`${k}-input`]:{color:"inherit"}},[`
|
|
|
${k}-handler-up-disabled,
|
|
|
${k}-handler-down-disabled
|
|
|
`]:{cursor:"not-allowed"},[`
|
|
|
${k}-handler-up-disabled:hover &-handler-up-inner,
|
|
|
${k}-handler-down-disabled:hover &-handler-down-inner
|
|
|
`]:{color:Se}})}]},Q=w=>{const{componentCls:k,paddingBlock:z,paddingInline:C,inputAffixPadding:Y,controlWidth:He,borderRadiusLG:pe,borderRadiusSM:Ue,paddingInlineLG:ot,paddingInlineSM:ct,paddingBlockLG:ue,paddingBlockSM:Le,motionDurationMid:Ct}=w;return{[`${k}-affix-wrapper`]:Object.assign(Object.assign({[`input${k}-input`]:{padding:`${(0,$.unit)(z)} 0`}},(0,S.ik)(w)),{position:"relative",display:"inline-flex",alignItems:"center",width:He,padding:0,paddingInlineStart:C,"&-lg":{borderRadius:pe,paddingInlineStart:ot,[`input${k}-input`]:{padding:`${(0,$.unit)(ue)} 0`}},"&-sm":{borderRadius:Ue,paddingInlineStart:ct,[`input${k}-input`]:{padding:`${(0,$.unit)(Le)} 0`}},[`&:not(${k}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${k}-disabled`]:{background:"transparent"},[`> div${k}`]:{width:"100%",border:"none",outline:"none",[`&${k}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${k}-handler-wrap`]:{zIndex:2},[k]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Y},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:C,marginInlineStart:Y,transition:`margin ${Ct}`}},[`&:hover ${k}-handler-wrap, &-focused ${k}-handler-wrap`]:{width:w.handleWidth,opacity:1},[`&:not(${k}-affix-wrapper-without-controls):hover ${k}-suffix`]:{marginInlineEnd:w.calc(w.handleWidth).add(C).equal()}})}};var ye=(0,$e.I$)("InputNumber",w=>{const k=(0,Ne.mergeToken)(w,(0,E.e)(w));return[xe(k),Q(k),(0,te.c)(k)]},Ze,{unitless:{handleOpacity:!0}}),N=function(w,k){var z={};for(var C in w)Object.prototype.hasOwnProperty.call(w,C)&&k.indexOf(C)<0&&(z[C]=w[C]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,C=Object.getOwnPropertySymbols(w);Y<C.length;Y++)k.indexOf(C[Y])<0&&Object.prototype.propertyIsEnumerable.call(w,C[Y])&&(z[C[Y]]=w[C[Y]]);return z};const I=o.forwardRef((w,k)=>{const{getPrefixCls:z,direction:C}=o.useContext(G.E_),Y=o.useRef(null);o.useImperativeHandle(k,()=>Y.current);const{className:He,rootClassName:pe,size:Ue,disabled:ot,prefixCls:ct,addonBefore:ue,addonAfter:Le,prefix:Ct,suffix:ke,bordered:De,readOnly:j,status:_e,controls:be,variant:fe}=w,he=N(w,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),me=z("input-number",ct),Ie=(0,F.Z)(me),[Se,Me,Je]=ye(me,Ie),{compactSize:pt,compactItemClassnames:$t}=(0,M.ri)(me,C);let Yt=o.createElement(L.Z,{className:`${me}-handler-up-inner`}),Gt=o.createElement(qe.Z,{className:`${me}-handler-down-inner`});const Pt=typeof be=="boolean"?be:void 0;typeof be=="object"&&(Yt=typeof be.upIcon=="undefined"?Yt:o.createElement("span",{className:`${me}-handler-up-inner`},be.upIcon),Gt=typeof be.downIcon=="undefined"?Gt:o.createElement("span",{className:`${me}-handler-down-inner`},be.downIcon));const{hasFeedback:it,status:xt,isFormItemInput:Nt,feedbackIcon:Ht}=o.useContext(R.aM),Et=(0,y.F)(xt,_e),er=(0,K.Z)(Be=>{var zr;return(zr=Ue!=null?Ue:pt)!==null&&zr!==void 0?zr:Be}),lr=o.useContext(B.Z),Cr=ot!=null?ot:lr,[qr,Ar]=(0,X.Z)("inputNumber",fe,De),x=it&&o.createElement(o.Fragment,null,Ht),W=q()({[`${me}-lg`]:er==="large",[`${me}-sm`]:er==="small",[`${me}-rtl`]:C==="rtl",[`${me}-in-form-item`]:Nt},Me),St=`${me}-group`,oe=o.createElement(ee.Z,Object.assign({ref:Y,disabled:Cr,className:q()(Je,Ie,He,pe,$t),upHandler:Yt,downHandler:Gt,prefixCls:me,readOnly:j,controls:Pt,prefix:Ct,suffix:x||ke,addonBefore:ue&&o.createElement(_.Z,{form:!0,space:!0},ue),addonAfter:Le&&o.createElement(_.Z,{form:!0,space:!0},Le),classNames:{input:W,variant:q()({[`${me}-${qr}`]:Ar},(0,y.Z)(me,Et,it)),affixWrapper:q()({[`${me}-affix-wrapper-sm`]:er==="small",[`${me}-affix-wrapper-lg`]:er==="large",[`${me}-affix-wrapper-rtl`]:C==="rtl",[`${me}-affix-wrapper-without-controls`]:be===!1||Cr},Me),wrapper:q()({[`${St}-rtl`]:C==="rtl"},Me),groupWrapper:q()({[`${me}-group-wrapper-sm`]:er==="small",[`${me}-group-wrapper-lg`]:er==="large",[`${me}-group-wrapper-rtl`]:C==="rtl",[`${me}-group-wrapper-${qr}`]:Ar},(0,y.Z)(`${me}-group-wrapper`,Et,it),Me)}},he));return Se(oe)}),nt=I,ce=w=>o.createElement(u.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},o.createElement(I,Object.assign({},w)));nt._InternalPanelDoNotUseOrYouWillBeFired=ce;var le=nt},49397:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return J}});var o=n(59301),qe=n(92310),L=n.n(qe),Re=n(36901),q=n(8654),ee=n(62487),_=n(86013),y=n(82855),G=n(48755),u=n(2171),B=n(83397),F=n(31756),K=n(56553),R=n(24971),X=n(70045),M=n(23826),$=n(53075);function S(te){return!!(te.prefix||te.suffix||te.allowClear||te.showCount)}var E=function(te,$e){var Ne={};for(var Qe in te)Object.prototype.hasOwnProperty.call(te,Qe)&&$e.indexOf(Qe)<0&&(Ne[Qe]=te[Qe]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Qe=Object.getOwnPropertySymbols(te);Ze<Qe.length;Ze++)$e.indexOf(Qe[Ze])<0&&Object.prototype.propertyIsEnumerable.call(te,Qe[Ze])&&(Ne[Qe[Ze]]=te[Qe[Ze]]);return Ne},J=(0,o.forwardRef)((te,$e)=>{const{prefixCls:Ne,bordered:Qe=!0,status:Ze,size:we,disabled:xe,onBlur:Q,onFocus:ye,suffix:N,allowClear:I,addonAfter:nt,addonBefore:ce,className:le,style:w,styles:k,rootClassName:z,onChange:C,classNames:Y,variant:He}=te,pe=E(te,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Ue,direction:ot,allowClear:ct,autoComplete:ue,className:Le,style:Ct,classNames:ke,styles:De}=(0,G.dj)("input"),j=Ue("input",Ne),_e=(0,o.useRef)(null),be=(0,B.Z)(j),[fe,he,me]=(0,$.TI)(j,z),[Ie]=(0,$.ZP)(j,be),{compactSize:Se,compactItemClassnames:Me}=(0,X.ri)(j,ot),Je=(0,F.Z)(W=>{var St;return(St=we!=null?we:Se)!==null&&St!==void 0?St:W}),pt=o.useContext(u.Z),$t=xe!=null?xe:pt,{status:Yt,hasFeedback:Gt,feedbackIcon:Pt}=(0,o.useContext)(K.aM),it=(0,y.F)(Yt,Ze),xt=S(te)||!!Gt,Nt=(0,o.useRef)(xt),Ht=(0,M.Z)(_e,!0),Et=W=>{Ht(),Q==null||Q(W)},er=W=>{Ht(),ye==null||ye(W)},lr=W=>{Ht(),C==null||C(W)},Cr=(Gt||N)&&o.createElement(o.Fragment,null,N,Gt&&Pt),qr=(0,_.Z)(I!=null?I:ct),[Ar,x]=(0,R.Z)("input",He,Qe);return fe(Ie(o.createElement(Re.default,Object.assign({ref:(0,q.sQ)($e,_e),prefixCls:j,autoComplete:ue},pe,{disabled:$t,onBlur:Et,onFocus:er,style:Object.assign(Object.assign({},Ct),w),styles:Object.assign(Object.assign({},De),k),suffix:Cr,allowClear:qr,className:L()(le,z,me,be,Me,Le),onChange:lr,addonBefore:ce&&o.createElement(ee.Z,{form:!0,space:!0},ce),addonAfter:nt&&o.createElement(ee.Z,{form:!0,space:!0},nt),classNames:Object.assign(Object.assign(Object.assign({},Y),ke),{input:L()({[`${j}-sm`]:Je==="small",[`${j}-lg`]:Je==="large",[`${j}-rtl`]:ot==="rtl"},Y==null?void 0:Y.input,ke.input,he),variant:L()({[`${j}-${Ar}`]:x},(0,y.Z)(j,it)),affixWrapper:L()({[`${j}-affix-wrapper-sm`]:Je==="small",[`${j}-affix-wrapper-lg`]:Je==="large",[`${j}-affix-wrapper-rtl`]:ot==="rtl"},he),wrapper:L()({[`${j}-group-rtl`]:ot==="rtl"},he),groupWrapper:L()({[`${j}-group-wrapper-sm`]:Je==="small",[`${j}-group-wrapper-lg`]:Je==="large",[`${j}-group-wrapper-rtl`]:ot==="rtl",[`${j}-group-wrapper-${Ar}`]:x},(0,y.Z)(`${j}-group-wrapper`,it,Gt),he)})}))))})},79809:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return $e}});var o=n(59301),qe=n(92310),L=n.n(qe),Re=n(22711),q=n(86013),ee=n(82855),_=n(48755),y=n(2171),G=n(83397),u=n(31756),B=n(56553),F=n(24971),K=n(70045),R=n(30292),X=n(53075),M=n(16931),$=n(51636),S=n(64910);const E=Ne=>{const{componentCls:Qe,paddingLG:Ze}=Ne,we=`${Qe}-textarea`;return{[`textarea${Qe}`]:{maxWidth:"100%",height:"auto",minHeight:Ne.controlHeight,lineHeight:Ne.lineHeight,verticalAlign:"bottom",transition:`all ${Ne.motionDurationSlow}`,resize:"vertical",[`&${Qe}-mouse-active`]:{transition:`all ${Ne.motionDurationSlow}, height 0s, width 0s`}},[`${Qe}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[we]:{position:"relative","&-show-count":{[`> ${Qe}`]:{height:"100%"},[`${Qe}-data-count`]:{position:"absolute",bottom:Ne.calc(Ne.fontSize).mul(Ne.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:Ne.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
|
|
|
&-allow-clear > ${Qe},
|
|
|
&-affix-wrapper${we}-has-feedback ${Qe}
|
|
|
`]:{paddingInlineEnd:Ze},[`&-affix-wrapper${Qe}-affix-wrapper`]:{padding:0,[`> textarea${Qe}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:Ne.calc(Ne.controlHeight).sub(Ne.calc(Ne.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${Qe}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${Qe}-clear-icon`]:{position:"absolute",insetInlineEnd:Ne.paddingInline,insetBlockStart:Ne.paddingXS},[`${we}-suffix`]:{position:"absolute",top:0,insetInlineEnd:Ne.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${Qe}-affix-wrapper-sm`]:{[`${Qe}-suffix`]:{[`${Qe}-clear-icon`]:{insetInlineEnd:Ne.paddingInlineSM}}}}}};var ie=(0,M.I$)(["Input","TextArea"],Ne=>{const Qe=(0,$.mergeToken)(Ne,(0,S.e)(Ne));return[E(Qe)]},S.T,{resetFont:!1}),J=function(Ne,Qe){var Ze={};for(var we in Ne)Object.prototype.hasOwnProperty.call(Ne,we)&&Qe.indexOf(we)<0&&(Ze[we]=Ne[we]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,we=Object.getOwnPropertySymbols(Ne);xe<we.length;xe++)Qe.indexOf(we[xe])<0&&Object.prototype.propertyIsEnumerable.call(Ne,we[xe])&&(Ze[we[xe]]=Ne[we[xe]]);return Ze},$e=(0,o.forwardRef)((Ne,Qe)=>{var Ze;const{prefixCls:we,bordered:xe=!0,size:Q,disabled:ye,status:N,allowClear:I,classNames:nt,rootClassName:ce,className:le,style:w,styles:k,variant:z,showCount:C,onMouseDown:Y,onResize:He}=Ne,pe=J(Ne,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Ue,direction:ot,allowClear:ct,autoComplete:ue,className:Le,style:Ct,classNames:ke,styles:De}=(0,_.dj)("textArea"),j=o.useContext(y.Z),_e=ye!=null?ye:j,{status:be,hasFeedback:fe,feedbackIcon:he}=o.useContext(B.aM),me=(0,ee.F)(be,N),Ie=o.useRef(null);o.useImperativeHandle(Qe,()=>{var x;return{resizableTextArea:(x=Ie.current)===null||x===void 0?void 0:x.resizableTextArea,focus:W=>{var St,oe;(0,R.nH)((oe=(St=Ie.current)===null||St===void 0?void 0:St.resizableTextArea)===null||oe===void 0?void 0:oe.textArea,W)},blur:()=>{var W;return(W=Ie.current)===null||W===void 0?void 0:W.blur()}}});const Se=Ue("input",we),Me=(0,G.Z)(Se),[Je,pt,$t]=(0,X.TI)(Se,ce),[Yt]=ie(Se,Me),{compactSize:Gt,compactItemClassnames:Pt}=(0,K.ri)(Se,ot),it=(0,u.Z)(x=>{var W;return(W=Q!=null?Q:Gt)!==null&&W!==void 0?W:x}),[xt,Nt]=(0,F.Z)("textArea",z,xe),Ht=(0,q.Z)(I!=null?I:ct),[Et,er]=o.useState(!1),[lr,Cr]=o.useState(!1),qr=x=>{er(!0),Y==null||Y(x);const W=()=>{er(!1),document.removeEventListener("mouseup",W)};document.addEventListener("mouseup",W)},Ar=x=>{var W,St;if(He==null||He(x),Et&&typeof getComputedStyle=="function"){const oe=(St=(W=Ie.current)===null||W===void 0?void 0:W.nativeElement)===null||St===void 0?void 0:St.querySelector("textarea");oe&&getComputedStyle(oe).resize==="both"&&Cr(!0)}};return Je(Yt(o.createElement(Re.default,Object.assign({autoComplete:ue},pe,{style:Object.assign(Object.assign({},Ct),w),styles:Object.assign(Object.assign({},De),k),disabled:_e,allowClear:Ht,className:L()($t,Me,le,ce,Pt,Le,lr&&`${Se}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},nt),ke),{textarea:L()({[`${Se}-sm`]:it==="small",[`${Se}-lg`]:it==="large"},pt,nt==null?void 0:nt.textarea,ke.textarea,Et&&`${Se}-mouse-active`),variant:L()({[`${Se}-${xt}`]:Nt},(0,ee.Z)(Se,me)),affixWrapper:L()(`${Se}-textarea-affix-wrapper`,{[`${Se}-affix-wrapper-rtl`]:ot==="rtl",[`${Se}-affix-wrapper-sm`]:it==="small",[`${Se}-affix-wrapper-lg`]:it==="large",[`${Se}-textarea-show-count`]:C||((Ze=Ne.count)===null||Ze===void 0?void 0:Ze.show)},pt)}),prefixCls:Se,suffix:fe&&o.createElement("span",{className:`${Se}-textarea-suffix`},he),showCount:C,ref:Ie,onResize:Ar,onMouseDown:qr}))))})},23826:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return qe}});var o=n(59301);function qe(L,Re){const q=(0,o.useRef)([]),ee=()=>{q.current.push(setTimeout(()=>{var _,y,G,u;!((_=L.current)===null||_===void 0)&&_.input&&((y=L.current)===null||y===void 0?void 0:y.input.getAttribute("type"))==="password"&&(!((G=L.current)===null||G===void 0)&&G.input.hasAttribute("value"))&&((u=L.current)===null||u===void 0||u.input.removeAttribute("value"))}))};return(0,o.useEffect)(()=>(Re&&ee(),()=>q.current.forEach(_=>{_&&clearTimeout(_)})),[]),ee}},37568:function(Yr,Xt,n){"use strict";n.d(Xt,{default:function(){return ke}});var o=n(59301),qe=n(92310),L=n.n(qe),Re=n(48755),q=n(56553),ee=n(53075),y=De=>{const{getPrefixCls:j,direction:_e}=(0,o.useContext)(Re.E_),{prefixCls:be,className:fe}=De,he=j("input-group",be),me=j("input"),[Ie,Se,Me]=(0,ee.ZP)(me),Je=L()(he,Me,{[`${he}-lg`]:De.size==="large",[`${he}-sm`]:De.size==="small",[`${he}-compact`]:De.compact,[`${he}-rtl`]:_e==="rtl"},Se,fe),pt=(0,o.useContext)(q.aM),$t=(0,o.useMemo)(()=>Object.assign(Object.assign({},pt),{isFormItemInput:!1}),[pt]);return Ie(o.createElement("span",{className:Je,style:De.style,onMouseEnter:De.onMouseEnter,onMouseLeave:De.onMouseLeave,onFocus:De.onFocus,onBlur:De.onBlur},o.createElement(q.aM.Provider,{value:$t},De.children)))},G=n(49397),u=n(94480),B=n(6089),F=n(26112),K=n(82855),R=n(31756),X=n(16931),M=n(51636),$=n(64910);const S=De=>{const{componentCls:j,paddingXS:_e}=De;return{[j]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:_e,"&-rtl":{direction:"rtl"},[`${j}-input`]:{textAlign:"center",paddingInline:De.paddingXXS},[`&${j}-sm ${j}-input`]:{paddingInline:De.calc(De.paddingXXS).div(2).equal()},[`&${j}-lg ${j}-input`]:{paddingInline:De.paddingXS}}}};var E=(0,X.I$)(["Input","OTP"],De=>{const j=(0,M.mergeToken)(De,(0,$.e)(De));return[S(j)]},$.T),ie=n(16089),J=function(De,j){var _e={};for(var be in De)Object.prototype.hasOwnProperty.call(De,be)&&j.indexOf(be)<0&&(_e[be]=De[be]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,be=Object.getOwnPropertySymbols(De);fe<be.length;fe++)j.indexOf(be[fe])<0&&Object.prototype.propertyIsEnumerable.call(De,be[fe])&&(_e[be[fe]]=De[be[fe]]);return _e},$e=o.forwardRef((De,j)=>{const{value:_e,onChange:be,onActiveChange:fe,index:he,mask:me}=De,Ie=J(De,["value","onChange","onActiveChange","index","mask"]),Se=_e&&typeof me=="string"?me:_e,Me=Gt=>{be(he,Gt.target.value)},Je=o.useRef(null);o.useImperativeHandle(j,()=>Je.current);const pt=()=>{(0,ie.Z)(()=>{var Gt;const Pt=(Gt=Je.current)===null||Gt===void 0?void 0:Gt.input;document.activeElement===Pt&&Pt&&Pt.select()})},$t=Gt=>{const{key:Pt,ctrlKey:it,metaKey:xt}=Gt;Pt==="ArrowLeft"?fe(he-1):Pt==="ArrowRight"?fe(he+1):Pt==="z"&&(it||xt)&&Gt.preventDefault(),pt()},Yt=Gt=>{Gt.key==="Backspace"&&!_e&&fe(he-1),pt()};return o.createElement(G.Z,Object.assign({type:me===!0?"password":"text"},Ie,{ref:Je,value:Se,onInput:Me,onFocus:pt,onKeyDown:$t,onKeyUp:Yt,onMouseDown:pt,onMouseUp:pt}))}),Ne=function(De,j){var _e={};for(var be in De)Object.prototype.hasOwnProperty.call(De,be)&&j.indexOf(be)<0&&(_e[be]=De[be]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,be=Object.getOwnPropertySymbols(De);fe<be.length;fe++)j.indexOf(be[fe])<0&&Object.prototype.propertyIsEnumerable.call(De,be[fe])&&(_e[be[fe]]=De[be[fe]]);return _e};function Qe(De){return(De||"").split("")}const Ze=De=>{const{index:j,prefixCls:_e,separator:be}=De,fe=typeof be=="function"?be(j):be;return fe?o.createElement("span",{className:`${_e}-separator`},fe):null};var xe=o.forwardRef((De,j)=>{const{prefixCls:_e,length:be=6,size:fe,defaultValue:he,value:me,onChange:Ie,formatter:Se,separator:Me,variant:Je,disabled:pt,status:$t,autoFocus:Yt,mask:Gt,type:Pt,onInput:it,inputMode:xt}=De,Nt=Ne(De,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:Ht,direction:Et}=o.useContext(Re.E_),er=Ht("otp",_e),lr=(0,F.Z)(Nt,{aria:!0,data:!0,attr:!0}),[Cr,qr,Ar]=E(er),x=(0,R.Z)(D=>fe!=null?fe:D),W=o.useContext(q.aM),St=(0,K.F)(W.status,$t),oe=o.useMemo(()=>Object.assign(Object.assign({},W),{status:St,hasFeedback:!1,feedbackIcon:null}),[W,St]),Be=o.useRef(null),zr=o.useRef({});o.useImperativeHandle(j,()=>({focus:()=>{var D;(D=zr.current[0])===null||D===void 0||D.focus()},blur:()=>{var D;for(let Ee=0;Ee<be;Ee+=1)(D=zr.current[Ee])===null||D===void 0||D.blur()},nativeElement:Be.current}));const $r=D=>Se?Se(D):D,[yn,Tn]=o.useState(()=>Qe($r(he||"")));o.useEffect(()=>{me!==void 0&&Tn(Qe(me))},[me]);const Ft=(0,B.Z)(D=>{Tn(D),it&&it(D),Ie&&D.length===be&&D.every(Ee=>Ee)&&D.some((Ee,ne)=>yn[ne]!==Ee)&&Ie(D.join(""))}),Sr=(0,B.Z)((D,Ee)=>{let ne=(0,u.Z)(yn);for(let pn=0;pn<D;pn+=1)ne[pn]||(ne[pn]="");Ee.length<=1?ne[D]=Ee:ne=ne.slice(0,D).concat(Qe(Ee)),ne=ne.slice(0,be);for(let pn=ne.length-1;pn>=0&&!ne[pn];pn-=1)ne.pop();const lt=$r(ne.map(pn=>pn||" ").join(""));return ne=Qe(lt).map((pn,mt)=>pn===" "&&!ne[mt]?ne[mt]:pn),ne}),br=(D,Ee)=>{var ne;const lt=Sr(D,Ee),pn=Math.min(D+Ee.length,be-1);pn!==D&<[D]!==void 0&&((ne=zr.current[pn])===null||ne===void 0||ne.focus()),Ft(lt)},Br=D=>{var Ee;(Ee=zr.current[D])===null||Ee===void 0||Ee.focus()},h={variant:Je,disabled:pt,status:St,mask:Gt,type:Pt,inputMode:xt};return Cr(o.createElement("div",Object.assign({},lr,{ref:Be,className:L()(er,{[`${er}-sm`]:x==="small",[`${er}-lg`]:x==="large",[`${er}-rtl`]:Et==="rtl"},Ar,qr)}),o.createElement(q.aM.Provider,{value:oe},Array.from({length:be}).map((D,Ee)=>{const ne=`otp-${Ee}`,lt=yn[Ee]||"";return o.createElement(o.Fragment,{key:ne},o.createElement($e,Object.assign({ref:pn=>{zr.current[Ee]=pn},index:Ee,size:x,htmlSize:1,className:`${er}-input`,onChange:br,value:lt,onActiveChange:Br,autoFocus:Ee===0&&Yt},h)),Ee<be-1&&o.createElement(Ze,{separator:Me,index:Ee,prefixCls:er}))}))))}),Q=n(73331),ye=n(15277),N=n(2738),I=n(8654),nt=n(2171),ce=n(23826),le=function(De,j){var _e={};for(var be in De)Object.prototype.hasOwnProperty.call(De,be)&&j.indexOf(be)<0&&(_e[be]=De[be]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,be=Object.getOwnPropertySymbols(De);fe<be.length;fe++)j.indexOf(be[fe])<0&&Object.prototype.propertyIsEnumerable.call(De,be[fe])&&(_e[be[fe]]=De[be[fe]]);return _e};const w=De=>De?o.createElement(ye.Z,null):o.createElement(Q.Z,null),k={click:"onClick",hover:"onMouseOver"};var C=o.forwardRef((De,j)=>{const{disabled:_e,action:be="click",visibilityToggle:fe=!0,iconRender:he=w}=De,me=o.useContext(nt.Z),Ie=_e!=null?_e:me,Se=typeof fe=="object"&&fe.visible!==void 0,[Me,Je]=(0,o.useState)(()=>Se?fe.visible:!1),pt=(0,o.useRef)(null);o.useEffect(()=>{Se&&Je(fe.visible)},[Se,fe]);const $t=(0,ce.Z)(pt),Yt=()=>{var x;if(Ie)return;Me&&$t();const W=!Me;Je(W),typeof fe=="object"&&((x=fe.onVisibleChange)===null||x===void 0||x.call(fe,W))},Gt=x=>{const W=k[be]||"",St=he(Me),oe={[W]:Yt,className:`${x}-icon`,key:"passwordIcon",onMouseDown:Be=>{Be.preventDefault()},onMouseUp:Be=>{Be.preventDefault()}};return o.cloneElement(o.isValidElement(St)?St:o.createElement("span",null,St),oe)},{className:Pt,prefixCls:it,inputPrefixCls:xt,size:Nt}=De,Ht=le(De,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Et}=o.useContext(Re.E_),er=Et("input",xt),lr=Et("input-password",it),Cr=fe&&Gt(lr),qr=L()(lr,Pt,{[`${lr}-${Nt}`]:!!Nt}),Ar=Object.assign(Object.assign({},(0,N.Z)(Ht,["suffix","iconRender","visibilityToggle"])),{type:Me?"text":"password",className:qr,prefixCls:er,suffix:Cr});return Nt&&(Ar.size=Nt),o.createElement(G.Z,Object.assign({ref:(0,I.sQ)(j,pt)},Ar))}),Y=n(47472),He=n(22703),pe=n(99571),Ue=n(70045),ot=function(De,j){var _e={};for(var be in De)Object.prototype.hasOwnProperty.call(De,be)&&j.indexOf(be)<0&&(_e[be]=De[be]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,be=Object.getOwnPropertySymbols(De);fe<be.length;fe++)j.indexOf(be[fe])<0&&Object.prototype.propertyIsEnumerable.call(De,be[fe])&&(_e[be[fe]]=De[be[fe]]);return _e},ue=o.forwardRef((De,j)=>{const{prefixCls:_e,inputPrefixCls:be,className:fe,size:he,suffix:me,enterButton:Ie=!1,addonAfter:Se,loading:Me,disabled:Je,onSearch:pt,onChange:$t,onCompositionStart:Yt,onCompositionEnd:Gt}=De,Pt=ot(De,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:it,direction:xt}=o.useContext(Re.E_),Nt=o.useRef(!1),Ht=it("input-search",_e),Et=it("input",be),{compactSize:er}=(0,Ue.ri)(Ht,xt),lr=(0,R.Z)(br=>{var Br;return(Br=he!=null?he:er)!==null&&Br!==void 0?Br:br}),Cr=o.useRef(null),qr=br=>{br!=null&&br.target&&br.type==="click"&&pt&&pt(br.target.value,br,{source:"clear"}),$t==null||$t(br)},Ar=br=>{var Br;document.activeElement===((Br=Cr.current)===null||Br===void 0?void 0:Br.input)&&br.preventDefault()},x=br=>{var Br,h;pt&&pt((h=(Br=Cr.current)===null||Br===void 0?void 0:Br.input)===null||h===void 0?void 0:h.value,br,{source:"input"})},W=br=>{Nt.current||Me||x(br)},St=typeof Ie=="boolean"?o.createElement(Y.Z,null):null,oe=`${Ht}-button`;let Be;const zr=Ie||{},$r=zr.type&&zr.type.__ANT_BUTTON===!0;$r||zr.type==="button"?Be=(0,He.Tm)(zr,Object.assign({onMouseDown:Ar,onClick:br=>{var Br,h;(h=(Br=zr==null?void 0:zr.props)===null||Br===void 0?void 0:Br.onClick)===null||h===void 0||h.call(Br,br),x(br)},key:"enterButton"},$r?{className:oe,size:lr}:{})):Be=o.createElement(pe.ZP,{className:oe,type:Ie?"primary":void 0,size:lr,disabled:Je,key:"enterButton",onMouseDown:Ar,onClick:x,loading:Me,icon:St},Ie),Se&&(Be=[Be,(0,He.Tm)(Se,{key:"addonAfter"})]);const yn=L()(Ht,{[`${Ht}-rtl`]:xt==="rtl",[`${Ht}-${lr}`]:!!lr,[`${Ht}-with-button`]:!!Ie},fe),Tn=Object.assign(Object.assign({},Pt),{className:yn,prefixCls:Et,type:"search"}),Ft=br=>{Nt.current=!0,Yt==null||Yt(br)},Sr=br=>{Nt.current=!1,Gt==null||Gt(br)};return o.createElement(G.Z,Object.assign({ref:(0,I.sQ)(Cr,j),onPressEnter:W},Tn,{size:lr,onCompositionStart:Ft,onCompositionEnd:Sr,addonAfter:Be,suffix:me,onChange:qr,disabled:Je}))}),Le=n(79809);const Ct=G.Z;Ct.Group=y,Ct.Search=ue,Ct.TextArea=Le.Z,Ct.Password=C,Ct.OTP=xe;var ke=Ct},53075:function(Yr,Xt,n){"use strict";n.d(Xt,{TI:function(){return ie},ik:function(){return F},nz:function(){return y},s7:function(){return K},x0:function(){return B}});var o=n(36237),qe=n(63356),L=n(56119),Re=n(16931),q=n(51636),ee=n(64910),_=n(39082);const y=J=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:J,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),G=J=>({borderColor:J.activeBorderColor,boxShadow:J.activeShadow,outline:0,backgroundColor:J.activeBg}),u=J=>{const{paddingBlockLG:te,lineHeightLG:$e,borderRadiusLG:Ne,paddingInlineLG:Qe}=J;return{padding:`${(0,o.unit)(te)} ${(0,o.unit)(Qe)}`,fontSize:J.inputFontSizeLG,lineHeight:$e,borderRadius:Ne}},B=J=>({padding:`${(0,o.unit)(J.paddingBlockSM)} ${(0,o.unit)(J.paddingInlineSM)}`,fontSize:J.inputFontSizeSM,borderRadius:J.borderRadiusSM}),F=J=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,o.unit)(J.paddingBlock)} ${(0,o.unit)(J.paddingInline)}`,color:J.colorText,fontSize:J.inputFontSize,lineHeight:J.lineHeight,borderRadius:J.borderRadius,transition:`all ${J.motionDurationMid}`},y(J.colorTextPlaceholder)),{"&-lg":Object.assign({},u(J)),"&-sm":Object.assign({},B(J)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),K=J=>{const{componentCls:te,antCls:$e}=J;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:J.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${te}, &-lg > ${te}-group-addon`]:Object.assign({},u(J)),[`&-sm ${te}, &-sm > ${te}-group-addon`]:Object.assign({},B(J)),[`&-lg ${$e}-select-single ${$e}-select-selector`]:{height:J.controlHeightLG},[`&-sm ${$e}-select-single ${$e}-select-selector`]:{height:J.controlHeightSM},[`> ${te}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${te}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,o.unit)(J.paddingInline)}`,color:J.colorText,fontWeight:"normal",fontSize:J.inputFontSize,textAlign:"center",borderRadius:J.borderRadius,transition:`all ${J.motionDurationSlow}`,lineHeight:1,[`${$e}-select`]:{margin:`${(0,o.unit)(J.calc(J.paddingBlock).add(1).mul(-1).equal())} ${(0,o.unit)(J.calc(J.paddingInline).mul(-1).equal())}`,[`&${$e}-select-single:not(${$e}-select-customize-input):not(${$e}-pagination-size-changer)`]:{[`${$e}-select-selector`]:{backgroundColor:"inherit",border:`${(0,o.unit)(J.lineWidth)} ${J.lineType} transparent`,boxShadow:"none"}}},[`${$e}-cascader-picker`]:{margin:`-9px ${(0,o.unit)(J.calc(J.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${$e}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[te]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${te}-search-with-button &`]:{zIndex:0}}},[`> ${te}:first-child, ${te}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${$e}-select ${$e}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${te}-affix-wrapper`]:{[`&:not(:first-child) ${te}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${te}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${te}:last-child, ${te}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${$e}-select ${$e}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${te}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${te}-search &`]:{borderStartStartRadius:J.borderRadius,borderEndStartRadius:J.borderRadius}},[`&:not(:first-child), ${te}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${te}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,qe.dF)()),{[`${te}-group-addon, ${te}-group-wrap, > ${te}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:J.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
|
|
|
& > ${te}-affix-wrapper,
|
|
|
& > ${te}-number-affix-wrapper,
|
|
|
& > ${$e}-picker-range
|
|
|
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:J.calc(J.lineWidth).mul(-1).equal(),borderInlineEndWidth:J.lineWidth},[te]:{float:"none"},[`& > ${$e}-select > ${$e}-select-selector,
|
|
|
& > ${$e}-select-auto-complete ${te},
|
|
|
& > ${$e}-cascader-picker ${te},
|
|
|
& > ${te}-group-wrapper ${te}`]:{borderInlineEndWidth:J.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${$e}-select-focused`]:{zIndex:1},[`& > ${$e}-select > ${$e}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
|
|
& > ${$e}-select:first-child > ${$e}-select-selector,
|
|
|
& > ${$e}-select-auto-complete:first-child ${te},
|
|
|
& > ${$e}-cascader-picker:first-child ${te}`]:{borderStartStartRadius:J.borderRadius,borderEndStartRadius:J.borderRadius},[`& > *:last-child,
|
|
|
& > ${$e}-select:last-child > ${$e}-select-selector,
|
|
|
& > ${$e}-cascader-picker:last-child ${te},
|
|
|
& > ${$e}-cascader-picker-focused:last-child ${te}`]:{borderInlineEndWidth:J.lineWidth,borderStartEndRadius:J.borderRadius,borderEndEndRadius:J.borderRadius},[`& > ${$e}-select-auto-complete ${te}`]:{verticalAlign:"top"},[`${te}-group-wrapper + ${te}-group-wrapper`]:{marginInlineStart:J.calc(J.lineWidth).mul(-1).equal(),[`${te}-affix-wrapper`]:{borderRadius:0}},[`${te}-group-wrapper:not(:last-child)`]:{[`&${te}-search > ${te}-group`]:{[`& > ${te}-group-addon > ${te}-search-button`]:{borderRadius:0},[`& > ${te}`]:{borderStartStartRadius:J.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:J.borderRadius}}}})}},R=J=>{const{componentCls:te,controlHeightSM:$e,lineWidth:Ne,calc:Qe}=J,we=Qe($e).sub(Qe(Ne).mul(2)).sub(16).div(2).equal();return{[te]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,qe.Wf)(J)),F(J)),(0,_.qG)(J)),(0,_.H8)(J)),(0,_.Mu)(J)),(0,_.vc)(J)),{'&[type="color"]':{height:J.controlHeight,[`&${te}-lg`]:{height:J.controlHeightLG},[`&${te}-sm`]:{height:$e,paddingTop:we,paddingBottom:we}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}},X=J=>{const{componentCls:te}=J;return{[`${te}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:J.colorTextQuaternary,fontSize:J.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${J.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:J.colorTextTertiary},"&:active":{color:J.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,o.unit)(J.inputAffixPadding)}`}}}},M=J=>{const{componentCls:te,inputAffixPadding:$e,colorTextDescription:Ne,motionDurationSlow:Qe,colorIcon:Ze,colorIconHover:we,iconCls:xe}=J,Q=`${te}-affix-wrapper`,ye=`${te}-affix-wrapper-disabled`;return{[Q]:Object.assign(Object.assign(Object.assign(Object.assign({},F(J)),{display:"inline-flex",[`&:not(${te}-disabled):hover`]:{zIndex:1,[`${te}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${te}`]:{padding:0},[`> input${te}, > textarea${te}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[te]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:J.paddingXS}},"&-show-count-suffix":{color:Ne},"&-show-count-has-suffix":{marginInlineEnd:J.paddingXXS},"&-prefix":{marginInlineEnd:$e},"&-suffix":{marginInlineStart:$e}}}),X(J)),{[`${xe}${te}-password-icon`]:{color:Ze,cursor:"pointer",transition:`all ${Qe}`,"&:hover":{color:we}}}),[`${te}-underlined`]:{borderRadius:0},[ye]:{[`${xe}${te}-password-icon`]:{color:Ze,cursor:"not-allowed","&:hover":{color:Ze}}}}},$=J=>{const{componentCls:te,borderRadiusLG:$e,borderRadiusSM:Ne}=J;return{[`${te}-group`]:Object.assign(Object.assign(Object.assign({},(0,qe.Wf)(J)),K(J)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${te}-group-addon`]:{borderRadius:$e,fontSize:J.inputFontSizeLG}},"&-sm":{[`${te}-group-addon`]:{borderRadius:Ne}}},(0,_.ir)(J)),(0,_.S5)(J)),{[`&:not(${te}-compact-first-item):not(${te}-compact-last-item)${te}-compact-item`]:{[`${te}, ${te}-group-addon`]:{borderRadius:0}},[`&:not(${te}-compact-last-item)${te}-compact-first-item`]:{[`${te}, ${te}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${te}-compact-first-item)${te}-compact-last-item`]:{[`${te}, ${te}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${te}-compact-last-item)${te}-compact-item`]:{[`${te}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${te}-compact-first-item)${te}-compact-item`]:{[`${te}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}},S=J=>{const{componentCls:te,antCls:$e}=J,Ne=`${te}-search`;return{[Ne]:{[te]:{"&:hover, &:focus":{[`+ ${te}-group-addon ${Ne}-button:not(${$e}-btn-primary)`]:{borderInlineStartColor:J.colorPrimaryHover}}},[`${te}-affix-wrapper`]:{height:J.controlHeight,borderRadius:0},[`${te}-lg`]:{lineHeight:J.calc(J.lineHeightLG).sub(2e-4).equal()},[`> ${te}-group`]:{[`> ${te}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${Ne}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${Ne}-button:not(${$e}-btn-primary)`]:{color:J.colorTextDescription,"&:hover":{color:J.colorPrimaryHover},"&:active":{color:J.colorPrimaryActive},[`&${$e}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${Ne}-button`]:{height:J.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${te}-affix-wrapper, ${Ne}-button`]:{height:J.controlHeightLG}},"&-small":{[`${te}-affix-wrapper, ${Ne}-button`]:{height:J.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${te}-compact-item`]:{[`&:not(${te}-compact-last-item)`]:{[`${te}-group-addon`]:{[`${te}-search-button`]:{marginInlineEnd:J.calc(J.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${te}-compact-first-item)`]:{[`${te},${te}-affix-wrapper`]:{borderRadius:0}},[`> ${te}-group-addon ${te}-search-button,
|
|
|
> ${te},
|
|
|
${te}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${te}-affix-wrapper-focused`]:{zIndex:2}}}}},E=J=>{const{componentCls:te}=J;return{[`${te}-out-of-range`]:{[`&, & input, & textarea, ${te}-show-count-suffix, ${te}-data-count`]:{color:J.colorError}}}},ie=(0,Re.I$)(["Input","Shared"],J=>{const te=(0,q.mergeToken)(J,(0,ee.e)(J));return[R(te),M(te)]},ee.T,{resetFont:!1});Xt.ZP=(0,Re.I$)(["Input","Component"],J=>{const te=(0,q.mergeToken)(J,(0,ee.e)(J));return[$(te),S(te),E(te),(0,L.c)(te)]},ee.T,{resetFont:!1})},64910:function(Yr,Xt,n){"use strict";n.d(Xt,{T:function(){return L},e:function(){return qe}});var o=n(51636);function qe(Re){return(0,o.mergeToken)(Re,{inputAffixPadding:Re.paddingXXS})}const L=Re=>{const{controlHeight:q,fontSize:ee,lineHeight:_,lineWidth:y,controlHeightSM:G,controlHeightLG:u,fontSizeLG:B,lineHeightLG:F,paddingSM:K,controlPaddingHorizontalSM:R,controlPaddingHorizontal:X,colorFillAlter:M,colorPrimaryHover:$,colorPrimary:S,controlOutlineWidth:E,controlOutline:ie,colorErrorOutline:J,colorWarningOutline:te,colorBgContainer:$e,inputFontSize:Ne,inputFontSizeLG:Qe,inputFontSizeSM:Ze}=Re,we=Ne||ee,xe=Ze||we,Q=Qe||B,ye=Math.round((q-we*_)/2*10)/10-y,N=Math.round((G-xe*_)/2*10)/10-y,I=Math.ceil((u-Q*F)/2*10)/10-y;return{paddingBlock:Math.max(ye,0),paddingBlockSM:Math.max(N,0),paddingBlockLG:Math.max(I,0),paddingInline:K-y,paddingInlineSM:R-y,paddingInlineLG:X-y,addonBg:M,activeBorderColor:S,hoverBorderColor:$,activeShadow:`0 0 0 ${E}px ${ie}`,errorActiveShadow:`0 0 0 ${E}px ${J}`,warningActiveShadow:`0 0 0 ${E}px ${te}`,hoverBg:$e,activeBg:$e,inputFontSize:we,inputFontSizeLG:Q,inputFontSizeSM:xe}}},39082:function(Yr,Xt,n){"use strict";n.d(Xt,{$U:function(){return q},H8:function(){return K},Mu:function(){return u},S5:function(){return X},Xy:function(){return Re},ir:function(){return G},qG:function(){return _},vc:function(){return S}});var o=n(36237),qe=n(51636);const L=E=>({borderColor:E.hoverBorderColor,backgroundColor:E.hoverBg}),Re=E=>({color:E.colorTextDisabled,backgroundColor:E.colorBgContainerDisabled,borderColor:E.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},L((0,qe.mergeToken)(E,{hoverBorderColor:E.colorBorder,hoverBg:E.colorBgContainerDisabled})))}),q=(E,ie)=>({background:E.colorBgContainer,borderWidth:E.lineWidth,borderStyle:E.lineType,borderColor:ie.borderColor,"&:hover":{borderColor:ie.hoverBorderColor,backgroundColor:E.hoverBg},"&:focus, &:focus-within":{borderColor:ie.activeBorderColor,boxShadow:ie.activeShadow,outline:0,backgroundColor:E.activeBg}}),ee=(E,ie)=>({[`&${E.componentCls}-status-${ie.status}:not(${E.componentCls}-disabled)`]:Object.assign(Object.assign({},q(E,ie)),{[`${E.componentCls}-prefix, ${E.componentCls}-suffix`]:{color:ie.affixColor}}),[`&${E.componentCls}-status-${ie.status}${E.componentCls}-disabled`]:{borderColor:ie.borderColor}}),_=(E,ie)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},q(E,{borderColor:E.colorBorder,hoverBorderColor:E.hoverBorderColor,activeBorderColor:E.activeBorderColor,activeShadow:E.activeShadow})),{[`&${E.componentCls}-disabled, &[disabled]`]:Object.assign({},Re(E))}),ee(E,{status:"error",borderColor:E.colorError,hoverBorderColor:E.colorErrorBorderHover,activeBorderColor:E.colorError,activeShadow:E.errorActiveShadow,affixColor:E.colorError})),ee(E,{status:"warning",borderColor:E.colorWarning,hoverBorderColor:E.colorWarningBorderHover,activeBorderColor:E.colorWarning,activeShadow:E.warningActiveShadow,affixColor:E.colorWarning})),ie)}),y=(E,ie)=>({[`&${E.componentCls}-group-wrapper-status-${ie.status}`]:{[`${E.componentCls}-group-addon`]:{borderColor:ie.addonBorderColor,color:ie.addonColor}}}),G=E=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${E.componentCls}-group`]:{"&-addon":{background:E.addonBg,border:`${(0,o.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},y(E,{status:"error",addonBorderColor:E.colorError,addonColor:E.colorErrorText})),y(E,{status:"warning",addonBorderColor:E.colorWarning,addonColor:E.colorWarningText})),{[`&${E.componentCls}-group-wrapper-disabled`]:{[`${E.componentCls}-group-addon`]:Object.assign({},Re(E))}})}),u=(E,ie)=>{const{componentCls:J}=E;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${J}-disabled, &[disabled]`]:{color:E.colorTextDisabled,cursor:"not-allowed"},[`&${J}-status-error`]:{"&, & input, & textarea":{color:E.colorError}},[`&${J}-status-warning`]:{"&, & input, & textarea":{color:E.colorWarning}}},ie)}},B=(E,ie)=>{var J;return{background:ie.bg,borderWidth:E.lineWidth,borderStyle:E.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:(J=ie==null?void 0:ie.inputColor)!==null&&J!==void 0?J:"unset"},"&:hover":{background:ie.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:ie.activeBorderColor,backgroundColor:E.activeBg}}},F=(E,ie)=>({[`&${E.componentCls}-status-${ie.status}:not(${E.componentCls}-disabled)`]:Object.assign(Object.assign({},B(E,ie)),{[`${E.componentCls}-prefix, ${E.componentCls}-suffix`]:{color:ie.affixColor}})}),K=(E,ie)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},B(E,{bg:E.colorFillTertiary,hoverBg:E.colorFillSecondary,activeBorderColor:E.activeBorderColor})),{[`&${E.componentCls}-disabled, &[disabled]`]:Object.assign({},Re(E))}),F(E,{status:"error",bg:E.colorErrorBg,hoverBg:E.colorErrorBgHover,activeBorderColor:E.colorError,inputColor:E.colorErrorText,affixColor:E.colorError})),F(E,{status:"warning",bg:E.colorWarningBg,hoverBg:E.colorWarningBgHover,activeBorderColor:E.colorWarning,inputColor:E.colorWarningText,affixColor:E.colorWarning})),ie)}),R=(E,ie)=>({[`&${E.componentCls}-group-wrapper-status-${ie.status}`]:{[`${E.componentCls}-group-addon`]:{background:ie.addonBg,color:ie.addonColor}}}),X=E=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${E.componentCls}-group`]:{"&-addon":{background:E.colorFillTertiary},[`${E.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,o.unit)(E.lineWidth)} ${E.lineType} ${E.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,o.unit)(E.lineWidth)} ${E.lineType} ${E.colorSplit}`}}}},R(E,{status:"error",addonBg:E.colorErrorBg,addonColor:E.colorErrorText})),R(E,{status:"warning",addonBg:E.colorWarningBg,addonColor:E.colorWarningText})),{[`&${E.componentCls}-group-wrapper-disabled`]:{[`${E.componentCls}-group`]:{"&-addon":{background:E.colorFillTertiary,color:E.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,o.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`,borderTop:`${(0,o.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`,borderBottom:`${(0,o.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,o.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`,borderTop:`${(0,o.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`,borderBottom:`${(0,o.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`}}}})}),M=(E,ie)=>({background:E.colorBgContainer,borderWidth:`${(0,o.unit)(E.lineWidth)} 0`,borderStyle:`${E.lineType} none`,borderColor:`transparent transparent ${ie.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${ie.borderColor} transparent`,backgroundColor:E.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${ie.borderColor} transparent`,outline:0,backgroundColor:E.activeBg}}),$=(E,ie)=>({[`&${E.componentCls}-status-${ie.status}:not(${E.componentCls}-disabled)`]:Object.assign(Object.assign({},M(E,ie)),{[`${E.componentCls}-prefix, ${E.componentCls}-suffix`]:{color:ie.affixColor}}),[`&${E.componentCls}-status-${ie.status}${E.componentCls}-disabled`]:{borderColor:`transparent transparent ${ie.borderColor} transparent`}}),S=(E,ie)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},M(E,{borderColor:E.colorBorder,hoverBorderColor:E.hoverBorderColor,activeBorderColor:E.activeBorderColor,activeShadow:E.activeShadow})),{[`&${E.componentCls}-disabled, &[disabled]`]:{color:E.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${E.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),$(E,{status:"error",borderColor:E.colorError,hoverBorderColor:E.colorErrorBorderHover,activeBorderColor:E.colorError,activeShadow:E.errorActiveShadow,affixColor:E.colorError})),$(E,{status:"warning",borderColor:E.colorWarning,hoverBorderColor:E.colorWarningBorderHover,activeBorderColor:E.colorWarning,activeShadow:E.warningActiveShadow,affixColor:E.colorWarning})),ie)})},24303:function(Yr,Xt,n){"use strict";n.d(Xt,{D:function(){return Ne},Z:function(){return we}});var o=n(59301),qe=n(54476),L={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Re=L,q=n(7657),ee=function(Q,ye){return o.createElement(q.Z,(0,qe.Z)({},Q,{ref:ye,icon:Re}))},_=o.forwardRef(ee),y=_,G=n(33853),u=n(38819),B=n(92310),F=n.n(B),K=n(2738),R=n(48755),X=n(6989),M=n(36237),$=n(48923),S=n(16931);const E=xe=>{const{componentCls:Q,siderBg:ye,motionDurationMid:N,motionDurationSlow:I,antCls:nt,triggerHeight:ce,triggerColor:le,triggerBg:w,headerHeight:k,zeroTriggerWidth:z,zeroTriggerHeight:C,borderRadiusLG:Y,lightSiderBg:He,lightTriggerColor:pe,lightTriggerBg:Ue,bodyBg:ot}=xe;return{[Q]:{position:"relative",minWidth:0,background:ye,transition:`all ${N}, background 0s`,"&-has-trigger":{paddingBottom:ce},"&-right":{order:1},[`${Q}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${nt}-menu${nt}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${Q}-children`]:{overflow:"hidden"},[`${Q}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:ce,color:le,lineHeight:(0,M.unit)(ce),textAlign:"center",background:w,cursor:"pointer",transition:`all ${N}`},[`${Q}-zero-width-trigger`]:{position:"absolute",top:k,insetInlineEnd:xe.calc(z).mul(-1).equal(),zIndex:1,width:z,height:C,color:le,fontSize:xe.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ye,borderRadius:`0 ${(0,M.unit)(Y)} ${(0,M.unit)(Y)} 0`,cursor:"pointer",transition:`background ${I} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${I}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:xe.calc(z).mul(-1).equal(),borderRadius:`${(0,M.unit)(Y)} 0 0 ${(0,M.unit)(Y)}`}},"&-light":{background:He,[`${Q}-trigger`]:{color:pe,background:Ue},[`${Q}-zero-width-trigger`]:{color:pe,background:Ue,border:`1px solid ${ot}`,borderInlineStart:0}}}}};var ie=(0,S.I$)(["Layout","Sider"],xe=>[E(xe)],$.eh,{deprecatedTokens:$.jn}),J=function(xe,Q){var ye={};for(var N in xe)Object.prototype.hasOwnProperty.call(xe,N)&&Q.indexOf(N)<0&&(ye[N]=xe[N]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,N=Object.getOwnPropertySymbols(xe);I<N.length;I++)Q.indexOf(N[I])<0&&Object.prototype.propertyIsEnumerable.call(xe,N[I])&&(ye[N[I]]=xe[N[I]]);return ye};const te={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},$e=xe=>!Number.isNaN(Number.parseFloat(xe))&&isFinite(xe),Ne=o.createContext({}),Qe=(()=>{let xe=0;return function(){let Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return xe+=1,`${Q}${xe}`}})();var we=o.forwardRef((xe,Q)=>{const{prefixCls:ye,className:N,trigger:I,children:nt,defaultCollapsed:ce=!1,theme:le="dark",style:w={},collapsible:k=!1,reverseArrow:z=!1,width:C=200,collapsedWidth:Y=80,zeroWidthTriggerStyle:He,breakpoint:pe,onCollapse:Ue,onBreakpoint:ot}=xe,ct=J(xe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ue}=(0,o.useContext)(X.V),[Le,Ct]=(0,o.useState)("collapsed"in xe?xe.collapsed:ce),[ke,De]=(0,o.useState)(!1);(0,o.useEffect)(()=>{"collapsed"in xe&&Ct(xe.collapsed)},[xe.collapsed]);const j=(lr,Cr)=>{"collapsed"in xe||Ct(lr),Ue==null||Ue(lr,Cr)},{getPrefixCls:_e,direction:be}=(0,o.useContext)(R.E_),fe=_e("layout-sider",ye),[he,me,Ie]=ie(fe),Se=(0,o.useRef)(null);Se.current=lr=>{De(lr.matches),ot==null||ot(lr.matches),Le!==lr.matches&&j(lr.matches,"responsive")},(0,o.useEffect)(()=>{function lr(qr){return Se.current(qr)}let Cr;if(typeof window!="undefined"){const{matchMedia:qr}=window;if(qr&&pe&&pe in te){Cr=qr(`screen and (max-width: ${te[pe]})`);try{Cr.addEventListener("change",lr)}catch(Ar){Cr.addListener(lr)}lr(Cr)}}return()=>{try{Cr==null||Cr.removeEventListener("change",lr)}catch(qr){Cr==null||Cr.removeListener(lr)}}},[pe]),(0,o.useEffect)(()=>{const lr=Qe("ant-sider-");return ue.addSider(lr),()=>ue.removeSider(lr)},[]);const Me=()=>{j(!Le,"clickTrigger")},Je=(0,K.Z)(ct,["collapsed"]),pt=Le?Y:C,$t=$e(pt)?`${pt}px`:String(pt),Yt=parseFloat(String(Y||0))===0?o.createElement("span",{onClick:Me,className:F()(`${fe}-zero-width-trigger`,`${fe}-zero-width-trigger-${z?"right":"left"}`),style:He},I||o.createElement(y,null)):null,Gt=be==="rtl"==!z,xt={expanded:Gt?o.createElement(u.Z,null):o.createElement(G.Z,null),collapsed:Gt?o.createElement(G.Z,null):o.createElement(u.Z,null)}[Le?"collapsed":"expanded"],Nt=I!==null?Yt||o.createElement("div",{className:`${fe}-trigger`,onClick:Me,style:{width:$t}},I||xt):null,Ht=Object.assign(Object.assign({},w),{flex:`0 0 ${$t}`,maxWidth:$t,minWidth:$t,width:$t}),Et=F()(fe,`${fe}-${le}`,{[`${fe}-collapsed`]:!!Le,[`${fe}-has-trigger`]:k&&I!==null&&!Yt,[`${fe}-below`]:!!ke,[`${fe}-zero-width`]:parseFloat($t)===0},N,me,Ie),er=o.useMemo(()=>({siderCollapsed:Le}),[Le]);return he(o.createElement(Ne.Provider,{value:er},o.createElement("aside",Object.assign({className:Et},Je,{style:Ht,ref:Q}),o.createElement("div",{className:`${fe}-children`},nt),k||ke&&Yt?Nt:null)))})},6989:function(Yr,Xt,n){"use strict";n.d(Xt,{V:function(){return qe}});var o=n(59301);const qe=o.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},24404:function(Yr,Xt,n){"use strict";n.d(Xt,{default:function(){return te}});var o=n(94480),qe=n(59301),L=n(92310),Re=n.n(L),q=n(2738),ee=n(48755),_=n(6989),y=n(11592),G=n(24303);function u($e,Ne,Qe){return typeof Qe=="boolean"?Qe:$e.length?!0:(0,y.Z)(Ne).some(we=>we.type===G.Z)}var B=n(48923),F=function($e,Ne){var Qe={};for(var Ze in $e)Object.prototype.hasOwnProperty.call($e,Ze)&&Ne.indexOf(Ze)<0&&(Qe[Ze]=$e[Ze]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Ze=Object.getOwnPropertySymbols($e);we<Ze.length;we++)Ne.indexOf(Ze[we])<0&&Object.prototype.propertyIsEnumerable.call($e,Ze[we])&&(Qe[Ze[we]]=$e[Ze[we]]);return Qe};function K($e){let{suffixCls:Ne,tagName:Qe,displayName:Ze}=$e;return we=>qe.forwardRef((Q,ye)=>qe.createElement(we,Object.assign({ref:ye,suffixCls:Ne,tagName:Qe},Q)))}const R=qe.forwardRef(($e,Ne)=>{const{prefixCls:Qe,suffixCls:Ze,className:we,tagName:xe}=$e,Q=F($e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ye}=qe.useContext(ee.E_),N=ye("layout",Qe),[I,nt,ce]=(0,B.ZP)(N),le=Ze?`${N}-${Ze}`:N;return I(qe.createElement(xe,Object.assign({className:Re()(Qe||le,we,nt,ce),ref:Ne},Q)))}),X=qe.forwardRef(($e,Ne)=>{const{direction:Qe}=qe.useContext(ee.E_),[Ze,we]=qe.useState([]),{prefixCls:xe,className:Q,rootClassName:ye,children:N,hasSider:I,tagName:nt,style:ce}=$e,le=F($e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),w=(0,q.Z)(le,["suffixCls"]),{getPrefixCls:k,className:z,style:C}=(0,ee.dj)("layout"),Y=k("layout",xe),He=u(Ze,N,I),[pe,Ue,ot]=(0,B.ZP)(Y),ct=Re()(Y,{[`${Y}-has-sider`]:He,[`${Y}-rtl`]:Qe==="rtl"},z,Q,ye,Ue,ot),ue=qe.useMemo(()=>({siderHook:{addSider:Le=>{we(Ct=>[].concat((0,o.Z)(Ct),[Le]))},removeSider:Le=>{we(Ct=>Ct.filter(ke=>ke!==Le))}}}),[]);return pe(qe.createElement(_.V.Provider,{value:ue},qe.createElement(nt,Object.assign({ref:Ne,className:ct,style:Object.assign(Object.assign({},C),ce)},w),N)))}),M=K({tagName:"div",displayName:"Layout"})(X),$=K({suffixCls:"header",tagName:"header",displayName:"Header"})(R),S=K({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(R),E=K({suffixCls:"content",tagName:"main",displayName:"Content"})(R);var ie=M;const J=ie;J.Header=$,J.Footer=S,J.Content=E,J.Sider=G.Z,J._InternalSiderContext=G.D;var te=J},48923:function(Yr,Xt,n){"use strict";n.d(Xt,{eh:function(){return Re},jn:function(){return q}});var o=n(36237),qe=n(16931);const L=ee=>{const{antCls:_,componentCls:y,colorText:G,footerBg:u,headerHeight:B,headerPadding:F,headerColor:K,footerPadding:R,fontSize:X,bodyBg:M,headerBg:$}=ee;return{[y]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:M,"&, *":{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:B,padding:F,color:K,lineHeight:(0,o.unit)(B),background:$,[`${_}-menu`]:{lineHeight:"inherit"}},[`${y}-footer`]:{padding:R,color:G,fontSize:X,background:u},[`${y}-content`]:{flex:"auto",color:G,minHeight:0}}},Re=ee=>{const{colorBgLayout:_,controlHeight:y,controlHeightLG:G,colorText:u,controlHeightSM:B,marginXXS:F,colorTextLightSolid:K,colorBgContainer:R}=ee,X=G*1.25;return{colorBgHeader:"#001529",colorBgBody:_,colorBgTrigger:"#002140",bodyBg:_,headerBg:"#001529",headerHeight:y*2,headerPadding:`0 ${X}px`,headerColor:u,footerPadding:`${B}px ${X}px`,footerBg:_,siderBg:"#001529",triggerHeight:G+F*2,triggerBg:"#002140",triggerColor:K,zeroTriggerWidth:G,zeroTriggerHeight:G,lightSiderBg:R,lightTriggerBg:R,lightTriggerColor:u}},q=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];Xt.ZP=(0,qe.I$)("Layout",ee=>[L(ee)],Re,{deprecatedTokens:q})},78857:function(Yr,Xt,n){"use strict";n.d(Xt,{J:function(){return ee}});var o=n(59301),qe=n(8654),L=n(62487),Re=function(_,y){var G={};for(var u in _)Object.prototype.hasOwnProperty.call(_,u)&&y.indexOf(u)<0&&(G[u]=_[u]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,u=Object.getOwnPropertySymbols(_);B<u.length;B++)y.indexOf(u[B])<0&&Object.prototype.propertyIsEnumerable.call(_,u[B])&&(G[u[B]]=_[u[B]]);return G};const q=o.createContext(null),ee=o.forwardRef((_,y)=>{const{children:G}=_,u=Re(_,["children"]),B=o.useContext(q),F=o.useMemo(()=>Object.assign(Object.assign({},B),u),[B,u.prefixCls,u.mode,u.selectable,u.rootClassName]),K=(0,qe.t4)(G),R=(0,qe.x1)(y,K?(0,qe.C4)(G):null);return o.createElement(q.Provider,{value:F},o.createElement(L.Z,{space:!0},K?o.cloneElement(G,{ref:R}):G))});Xt.Z=q},93041:function(Yr,Xt,n){"use strict";n.d(Xt,{default:function(){return he}});var o=n(59301),qe=n(28321),L=n(24303),Re=n(18785),q=n(92310),ee=n.n(q),_=n(6089),y=n(2738),G=n(86641),u=n(22703),B=n(48755),F=n(83397),R=(0,o.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),X=function(me,Ie){var Se={};for(var Me in me)Object.prototype.hasOwnProperty.call(me,Me)&&Ie.indexOf(Me)<0&&(Se[Me]=me[Me]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,Me=Object.getOwnPropertySymbols(me);Je<Me.length;Je++)Ie.indexOf(Me[Je])<0&&Object.prototype.propertyIsEnumerable.call(me,Me[Je])&&(Se[Me[Je]]=me[Me[Je]]);return Se},$=me=>{const{prefixCls:Ie,className:Se,dashed:Me}=me,Je=X(me,["prefixCls","className","dashed"]),{getPrefixCls:pt}=o.useContext(B.E_),$t=pt("menu",Ie),Yt=ee()({[`${$t}-item-divider-dashed`]:!!Me},Se);return o.createElement(qe.iz,Object.assign({className:Yt},Je))},S=n(11592),E=n(25399),J=me=>{var Ie;const{className:Se,children:Me,icon:Je,title:pt,danger:$t,extra:Yt}=me,{prefixCls:Gt,firstLevel:Pt,direction:it,disableMenuItemTitleTooltip:xt,inlineCollapsed:Nt}=o.useContext(R),Ht=Ar=>{const x=Me==null?void 0:Me[0],W=o.createElement("span",{className:ee()(`${Gt}-title-content`,{[`${Gt}-title-content-with-extra`]:!!Yt||Yt===0})},Me);return(!Je||o.isValidElement(Me)&&Me.type==="span")&&Me&&Ar&&Pt&&typeof x=="string"?o.createElement("div",{className:`${Gt}-inline-collapsed-noicon`},x.charAt(0)):W},{siderCollapsed:Et}=o.useContext(L.D);let er=pt;typeof pt=="undefined"?er=Pt?Me:"":pt===!1&&(er="");const lr={title:er};!Et&&!Nt&&(lr.title=null,lr.open=!1);const Cr=(0,S.Z)(Me).length;let qr=o.createElement(qe.ck,Object.assign({},(0,y.Z)(me,["title","icon","danger"]),{className:ee()({[`${Gt}-item-danger`]:$t,[`${Gt}-item-only-child`]:(Je?Cr+1:Cr)===1},Se),title:typeof pt=="string"?pt:void 0}),(0,u.Tm)(Je,{className:ee()(o.isValidElement(Je)?(Ie=Je.props)===null||Ie===void 0?void 0:Ie.className:"",`${Gt}-item-icon`)}),Ht(Nt));return xt||(qr=o.createElement(E.Z,Object.assign({},lr,{placement:it==="rtl"?"left":"right",classNames:{root:`${Gt}-inline-collapsed-tooltip`}}),qr)),qr},te=n(78857),$e=n(36237),Ne=n(17835),Qe=n(63356),Ze=n(34961),we=n(46e3),xe=n(34925),Q=n(16931),ye=n(51636),I=me=>{const{componentCls:Ie,motionDurationSlow:Se,horizontalLineHeight:Me,colorSplit:Je,lineWidth:pt,lineType:$t,itemPaddingInline:Yt}=me;return{[`${Ie}-horizontal`]:{lineHeight:Me,border:0,borderBottom:`${(0,$e.unit)(pt)} ${$t} ${Je}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ie}-item, ${Ie}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Yt},[`> ${Ie}-item:hover,
|
|
|
> ${Ie}-item-active,
|
|
|
> ${Ie}-submenu ${Ie}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ie}-item, ${Ie}-submenu-title`]:{transition:[`border-color ${Se}`,`background ${Se}`].join(",")},[`${Ie}-submenu-arrow`]:{display:"none"}}}},ce=me=>{let{componentCls:Ie,menuArrowOffset:Se,calc:Me}=me;return{[`${Ie}-rtl`]:{direction:"rtl"},[`${Ie}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ie}-rtl${Ie}-vertical,
|
|
|
${Ie}-submenu-rtl ${Ie}-vertical`]:{[`${Ie}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,$e.unit)(Me(Se).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,$e.unit)(Se)})`}}}}};const le=me=>Object.assign({},(0,Qe.oN)(me));var k=(me,Ie)=>{const{componentCls:Se,itemColor:Me,itemSelectedColor:Je,subMenuItemSelectedColor:pt,groupTitleColor:$t,itemBg:Yt,subMenuItemBg:Gt,itemSelectedBg:Pt,activeBarHeight:it,activeBarWidth:xt,activeBarBorderWidth:Nt,motionDurationSlow:Ht,motionEaseInOut:Et,motionEaseOut:er,itemPaddingInline:lr,motionDurationMid:Cr,itemHoverColor:qr,lineType:Ar,colorSplit:x,itemDisabledColor:W,dangerItemColor:St,dangerItemHoverColor:oe,dangerItemSelectedColor:Be,dangerItemActiveBg:zr,dangerItemSelectedBg:$r,popupBg:yn,itemHoverBg:Tn,itemActiveBg:Ft,menuSubMenuBg:Sr,horizontalItemSelectedColor:br,horizontalItemSelectedBg:Br,horizontalItemBorderRadius:h,horizontalItemHoverBg:D}=me;return{[`${Se}-${Ie}, ${Se}-${Ie} > ${Se}`]:{color:Me,background:Yt,[`&${Se}-root:focus-visible`]:Object.assign({},le(me)),[`${Se}-item`]:{"&-group-title, &-extra":{color:$t}},[`${Se}-submenu-selected > ${Se}-submenu-title`]:{color:pt},[`${Se}-item, ${Se}-submenu-title`]:{color:Me,[`&:not(${Se}-item-disabled):focus-visible`]:Object.assign({},le(me))},[`${Se}-item-disabled, ${Se}-submenu-disabled`]:{color:`${W} !important`},[`${Se}-item:not(${Se}-item-selected):not(${Se}-submenu-selected)`]:{[`&:hover, > ${Se}-submenu-title:hover`]:{color:qr}},[`&:not(${Se}-horizontal)`]:{[`${Se}-item:not(${Se}-item-selected)`]:{"&:hover":{backgroundColor:Tn},"&:active":{backgroundColor:Ft}},[`${Se}-submenu-title`]:{"&:hover":{backgroundColor:Tn},"&:active":{backgroundColor:Ft}}},[`${Se}-item-danger`]:{color:St,[`&${Se}-item:hover`]:{[`&:not(${Se}-item-selected):not(${Se}-submenu-selected)`]:{color:oe}},[`&${Se}-item:active`]:{background:zr}},[`${Se}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Se}-item-selected`]:{color:Je,[`&${Se}-item-danger`]:{color:Be},"a, a:hover":{color:"inherit"}},[`& ${Se}-item-selected`]:{backgroundColor:Pt,[`&${Se}-item-danger`]:{backgroundColor:$r}},[`&${Se}-submenu > ${Se}`]:{backgroundColor:Sr},[`&${Se}-popup > ${Se}`]:{backgroundColor:yn},[`&${Se}-submenu-popup > ${Se}`]:{backgroundColor:yn},[`&${Se}-horizontal`]:Object.assign(Object.assign({},Ie==="dark"?{borderBottom:0}:{}),{[`> ${Se}-item, > ${Se}-submenu`]:{top:Nt,marginTop:me.calc(Nt).mul(-1).equal(),marginBottom:0,borderRadius:h,"&::after":{position:"absolute",insetInline:lr,bottom:0,borderBottom:`${(0,$e.unit)(it)} solid transparent`,transition:`border-color ${Ht} ${Et}`,content:'""'},"&:hover, &-active, &-open":{background:D,"&::after":{borderBottomWidth:it,borderBottomColor:br}},"&-selected":{color:br,backgroundColor:Br,"&:hover":{backgroundColor:Br},"&::after":{borderBottomWidth:it,borderBottomColor:br}}}}),[`&${Se}-root`]:{[`&${Se}-inline, &${Se}-vertical`]:{borderInlineEnd:`${(0,$e.unit)(Nt)} ${Ar} ${x}`}},[`&${Se}-inline`]:{[`${Se}-sub${Se}-inline`]:{background:Gt},[`${Se}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,$e.unit)(xt)} solid ${Je}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Cr} ${er}`,`opacity ${Cr} ${er}`].join(","),content:'""'},[`&${Se}-item-danger`]:{"&::after":{borderInlineEndColor:Be}}},[`${Se}-selected, ${Se}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Cr} ${Et}`,`opacity ${Cr} ${Et}`].join(",")}}}}}};const z=me=>{const{componentCls:Ie,itemHeight:Se,itemMarginInline:Me,padding:Je,menuArrowSize:pt,marginXS:$t,itemMarginBlock:Yt,itemWidth:Gt,itemPaddingInline:Pt}=me,it=me.calc(pt).add(Je).add($t).equal();return{[`${Ie}-item`]:{position:"relative",overflow:"hidden"},[`${Ie}-item, ${Ie}-submenu-title`]:{height:Se,lineHeight:(0,$e.unit)(Se),paddingInline:Pt,overflow:"hidden",textOverflow:"ellipsis",marginInline:Me,marginBlock:Yt,width:Gt},[`> ${Ie}-item,
|
|
|
> ${Ie}-submenu > ${Ie}-submenu-title`]:{height:Se,lineHeight:(0,$e.unit)(Se)},[`${Ie}-item-group-list ${Ie}-submenu-title,
|
|
|
${Ie}-submenu-title`]:{paddingInlineEnd:it}}};var Y=me=>{const{componentCls:Ie,iconCls:Se,itemHeight:Me,colorTextLightSolid:Je,dropdownWidth:pt,controlHeightLG:$t,motionEaseOut:Yt,paddingXL:Gt,itemMarginInline:Pt,fontSizeLG:it,motionDurationFast:xt,motionDurationSlow:Nt,paddingXS:Ht,boxShadowSecondary:Et,collapsedWidth:er,collapsedIconSize:lr}=me,Cr={height:Me,lineHeight:(0,$e.unit)(Me),listStylePosition:"inside",listStyleType:"disc"};return[{[Ie]:{"&-inline, &-vertical":Object.assign({[`&${Ie}-root`]:{boxShadow:"none"}},z(me))},[`${Ie}-submenu-popup`]:{[`${Ie}-vertical`]:Object.assign(Object.assign({},z(me)),{boxShadow:Et})}},{[`${Ie}-submenu-popup ${Ie}-vertical${Ie}-sub`]:{minWidth:pt,maxHeight:`calc(100vh - ${(0,$e.unit)(me.calc($t).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ie}-inline`]:{width:"100%",[`&${Ie}-root`]:{[`${Ie}-item, ${Ie}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Nt}`,`background ${Nt}`,`padding ${xt} ${Yt}`].join(","),[`> ${Ie}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ie}-sub${Ie}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ie}-submenu > ${Ie}-submenu-title`]:Cr,[`& ${Ie}-item-group-title`]:{paddingInlineStart:Gt}},[`${Ie}-item`]:Cr}},{[`${Ie}-inline-collapsed`]:{width:er,[`&${Ie}-root`]:{[`${Ie}-item, ${Ie}-submenu ${Ie}-submenu-title`]:{[`> ${Ie}-inline-collapsed-noicon`]:{fontSize:it,textAlign:"center"}}},[`> ${Ie}-item,
|
|
|
> ${Ie}-item-group > ${Ie}-item-group-list > ${Ie}-item,
|
|
|
> ${Ie}-item-group > ${Ie}-item-group-list > ${Ie}-submenu > ${Ie}-submenu-title,
|
|
|
> ${Ie}-submenu > ${Ie}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,$e.unit)(me.calc(lr).div(2).equal())} - ${(0,$e.unit)(Pt)})`,textOverflow:"clip",[`
|
|
|
${Ie}-submenu-arrow,
|
|
|
${Ie}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${Ie}-item-icon, ${Se}`]:{margin:0,fontSize:lr,lineHeight:(0,$e.unit)(Me),"+ span":{display:"inline-block",opacity:0}}},[`${Ie}-item-icon, ${Se}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ie}-item-icon, ${Se}`]:{display:"none"},"a, a:hover":{color:Je}},[`${Ie}-item-group-title`]:Object.assign(Object.assign({},Qe.vS),{paddingInline:Ht})}}]};const He=me=>{const{componentCls:Ie,motionDurationSlow:Se,motionDurationMid:Me,motionEaseInOut:Je,motionEaseOut:pt,iconCls:$t,iconSize:Yt,iconMarginInlineEnd:Gt}=me;return{[`${Ie}-item, ${Ie}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Se}`,`background ${Se}`,`padding calc(${Se} + 0.1s) ${Je}`].join(","),[`${Ie}-item-icon, ${$t}`]:{minWidth:Yt,fontSize:Yt,transition:[`font-size ${Me} ${pt}`,`margin ${Se} ${Je}`,`color ${Se}`].join(","),"+ span":{marginInlineStart:Gt,opacity:1,transition:[`opacity ${Se} ${Je}`,`margin ${Se}`,`color ${Se}`].join(",")}},[`${Ie}-item-icon`]:Object.assign({},(0,Qe.Ro)()),[`&${Ie}-item-only-child`]:{[`> ${$t}, > ${Ie}-item-icon`]:{marginInlineEnd:0}}},[`${Ie}-item-disabled, ${Ie}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${Ie}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},pe=me=>{const{componentCls:Ie,motionDurationSlow:Se,motionEaseInOut:Me,borderRadius:Je,menuArrowSize:pt,menuArrowOffset:$t}=me;return{[`${Ie}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:me.margin,width:pt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Se} ${Me}, opacity ${Se}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:me.calc(pt).mul(.6).equal(),height:me.calc(pt).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:Je,transition:[`background ${Se} ${Me}`,`transform ${Se} ${Me}`,`top ${Se} ${Me}`,`color ${Se} ${Me}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,$e.unit)(me.calc($t).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,$e.unit)($t)})`}}}}},Ue=me=>{const{antCls:Ie,componentCls:Se,fontSize:Me,motionDurationSlow:Je,motionDurationMid:pt,motionEaseInOut:$t,paddingXS:Yt,padding:Gt,colorSplit:Pt,lineWidth:it,zIndexPopup:xt,borderRadiusLG:Nt,subMenuItemBorderRadius:Ht,menuArrowSize:Et,menuArrowOffset:er,lineType:lr,groupTitleLineHeight:Cr,groupTitleFontSize:qr}=me;return[{"":{[Se]:Object.assign(Object.assign({},(0,Qe.dF)()),{"&-hidden":{display:"none"}})},[`${Se}-submenu-hidden`]:{display:"none"}},{[Se]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(me)),(0,Qe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Me,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Je} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Se}-item`]:{flex:"none"}},[`${Se}-item, ${Se}-submenu, ${Se}-submenu-title`]:{borderRadius:me.itemBorderRadius},[`${Se}-item-group-title`]:{padding:`${(0,$e.unit)(Yt)} ${(0,$e.unit)(Gt)}`,fontSize:qr,lineHeight:Cr,transition:`all ${Je}`},[`&-horizontal ${Se}-submenu`]:{transition:[`border-color ${Je} ${$t}`,`background ${Je} ${$t}`].join(",")},[`${Se}-submenu, ${Se}-submenu-inline`]:{transition:[`border-color ${Je} ${$t}`,`background ${Je} ${$t}`,`padding ${pt} ${$t}`].join(",")},[`${Se}-submenu ${Se}-sub`]:{cursor:"initial",transition:[`background ${Je} ${$t}`,`padding ${Je} ${$t}`].join(",")},[`${Se}-title-content`]:{transition:`color ${Je}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${Ie}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${Se}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:me.padding}},[`${Se}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Se}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Pt,borderStyle:lr,borderWidth:0,borderTopWidth:it,marginBlock:it,padding:0,"&-dashed":{borderStyle:"dashed"}}}),He(me)),{[`${Se}-item-group`]:{[`${Se}-item-group-list`]:{margin:0,padding:0,[`${Se}-item, ${Se}-submenu-title`]:{paddingInline:`${(0,$e.unit)(me.calc(Me).mul(2).equal())} ${(0,$e.unit)(Gt)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:xt,borderRadius:Nt,boxShadow:"none",transformOrigin:"0 0",[`&${Se}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${Se}`]:Object.assign(Object.assign(Object.assign({borderRadius:Nt},He(me)),pe(me)),{[`${Se}-item, ${Se}-submenu > ${Se}-submenu-title`]:{borderRadius:Ht},[`${Se}-submenu-title::after`]:{transition:`transform ${Je} ${$t}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:me.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:me.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:me.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:me.paddingXS}}}),pe(me)),{[`&-inline-collapsed ${Se}-submenu-arrow,
|
|
|
&-inline ${Se}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,$e.unit)(er)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,$e.unit)(me.calc(er).mul(-1).equal())})`}},[`${Se}-submenu-open${Se}-submenu-inline > ${Se}-submenu-title > ${Se}-submenu-arrow`]:{transform:`translateY(${(0,$e.unit)(me.calc(Et).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,$e.unit)(me.calc(er).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,$e.unit)(er)})`}}})},{[`${Ie}-layout-header`]:{[Se]:{lineHeight:"inherit"}}}]},ot=me=>{var Ie,Se,Me;const{colorPrimary:Je,colorError:pt,colorTextDisabled:$t,colorErrorBg:Yt,colorText:Gt,colorTextDescription:Pt,colorBgContainer:it,colorFillAlter:xt,colorFillContent:Nt,lineWidth:Ht,lineWidthBold:Et,controlItemBgActive:er,colorBgTextHover:lr,controlHeightLG:Cr,lineHeight:qr,colorBgElevated:Ar,marginXXS:x,padding:W,fontSize:St,controlHeightSM:oe,fontSizeLG:Be,colorTextLightSolid:zr,colorErrorHover:$r}=me,yn=(Ie=me.activeBarWidth)!==null&&Ie!==void 0?Ie:0,Tn=(Se=me.activeBarBorderWidth)!==null&&Se!==void 0?Se:Ht,Ft=(Me=me.itemMarginInline)!==null&&Me!==void 0?Me:me.marginXXS,Sr=new Ne.FastColor(zr).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:me.zIndexPopupBase+50,radiusItem:me.borderRadiusLG,itemBorderRadius:me.borderRadiusLG,radiusSubMenuItem:me.borderRadiusSM,subMenuItemBorderRadius:me.borderRadiusSM,colorItemText:Gt,itemColor:Gt,colorItemTextHover:Gt,itemHoverColor:Gt,colorItemTextHoverHorizontal:Je,horizontalItemHoverColor:Je,colorGroupTitle:Pt,groupTitleColor:Pt,colorItemTextSelected:Je,itemSelectedColor:Je,subMenuItemSelectedColor:Je,colorItemTextSelectedHorizontal:Je,horizontalItemSelectedColor:Je,colorItemBg:it,itemBg:it,colorItemBgHover:lr,itemHoverBg:lr,colorItemBgActive:Nt,itemActiveBg:er,colorSubItemBg:xt,subMenuItemBg:xt,colorItemBgSelected:er,itemSelectedBg:er,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:yn,colorActiveBarHeight:Et,activeBarHeight:Et,colorActiveBarBorderSize:Ht,activeBarBorderWidth:Tn,colorItemTextDisabled:$t,itemDisabledColor:$t,colorDangerItemText:pt,dangerItemColor:pt,colorDangerItemTextHover:pt,dangerItemHoverColor:pt,colorDangerItemTextSelected:pt,dangerItemSelectedColor:pt,colorDangerItemBgActive:Yt,dangerItemActiveBg:Yt,colorDangerItemBgSelected:Yt,dangerItemSelectedBg:Yt,itemMarginInline:Ft,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Cr,groupTitleLineHeight:qr,collapsedWidth:Cr*2,popupBg:Ar,itemMarginBlock:x,itemPaddingInline:W,horizontalLineHeight:`${Cr*1.15}px`,iconSize:St,iconMarginInlineEnd:oe-St,collapsedIconSize:Be,groupTitleFontSize:St,darkItemDisabledColor:new Ne.FastColor(zr).setA(.25).toRgbString(),darkItemColor:Sr,darkDangerItemColor:pt,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:zr,darkItemSelectedBg:Je,darkDangerItemSelectedBg:pt,darkItemHoverBg:"transparent",darkGroupTitleColor:Sr,darkItemHoverColor:zr,darkDangerItemHoverColor:$r,darkDangerItemSelectedColor:zr,darkDangerItemActiveBg:pt,itemWidth:yn?`calc(100% + ${Tn}px)`:`calc(100% - ${Ft*2}px)`}};var ct=function(me){let Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:me,Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,Q.I$)("Menu",Je=>{const{colorBgElevated:pt,controlHeightLG:$t,fontSize:Yt,darkItemColor:Gt,darkDangerItemColor:Pt,darkItemBg:it,darkSubMenuItemBg:xt,darkItemSelectedColor:Nt,darkItemSelectedBg:Ht,darkDangerItemSelectedBg:Et,darkItemHoverBg:er,darkGroupTitleColor:lr,darkItemHoverColor:Cr,darkItemDisabledColor:qr,darkDangerItemHoverColor:Ar,darkDangerItemSelectedColor:x,darkDangerItemActiveBg:W,popupBg:St,darkPopupBg:oe}=Je,Be=Je.calc(Yt).div(7).mul(5).equal(),zr=(0,ye.mergeToken)(Je,{menuArrowSize:Be,menuHorizontalHeight:Je.calc($t).mul(1.15).equal(),menuArrowOffset:Je.calc(Be).mul(.25).equal(),menuSubMenuBg:pt,calc:Je.calc,popupBg:St}),$r=(0,ye.mergeToken)(zr,{itemColor:Gt,itemHoverColor:Cr,groupTitleColor:lr,itemSelectedColor:Nt,subMenuItemSelectedColor:Nt,itemBg:it,popupBg:oe,subMenuItemBg:xt,itemActiveBg:"transparent",itemSelectedBg:Ht,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:er,itemDisabledColor:qr,dangerItemColor:Pt,dangerItemHoverColor:Ar,dangerItemSelectedColor:x,dangerItemActiveBg:W,dangerItemSelectedBg:Et,menuSubMenuBg:xt,horizontalItemSelectedColor:Nt,horizontalItemSelectedBg:Ht});return[Ue(zr),I(zr),Y(zr),k(zr,"light"),k($r,"dark"),ce(zr),(0,Ze.Z)(zr),(0,we.oN)(zr,"slide-up"),(0,we.oN)(zr,"slide-down"),(0,xe._y)(zr,"zoom-big")]},ot,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:Se,unitless:{groupTitleLineHeight:!0}})(me,Ie)},ue=n(75030),Ct=me=>{var Ie;const{popupClassName:Se,icon:Me,title:Je,theme:pt}=me,$t=o.useContext(R),{prefixCls:Yt,inlineCollapsed:Gt,theme:Pt}=$t,it=(0,qe.Xl)();let xt;if(!Me)xt=Gt&&!it.length&&Je&&typeof Je=="string"?o.createElement("div",{className:`${Yt}-inline-collapsed-noicon`},Je.charAt(0)):o.createElement("span",{className:`${Yt}-title-content`},Je);else{const Et=o.isValidElement(Je)&&Je.type==="span";xt=o.createElement(o.Fragment,null,(0,u.Tm)(Me,{className:ee()(o.isValidElement(Me)?(Ie=Me.props)===null||Ie===void 0?void 0:Ie.className:"",`${Yt}-item-icon`)}),Et?Je:o.createElement("span",{className:`${Yt}-title-content`},Je))}const Nt=o.useMemo(()=>Object.assign(Object.assign({},$t),{firstLevel:!1}),[$t]),[Ht]=(0,ue.Cn)("Menu");return o.createElement(R.Provider,{value:Nt},o.createElement(qe.Wd,Object.assign({},(0,y.Z)(me,["icon"]),{title:xt,popupClassName:ee()(Yt,Se,`${Yt}-${pt||Pt}`),popupStyle:Object.assign({zIndex:Ht},me.popupStyle)})))},ke=function(me,Ie){var Se={};for(var Me in me)Object.prototype.hasOwnProperty.call(me,Me)&&Ie.indexOf(Me)<0&&(Se[Me]=me[Me]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,Me=Object.getOwnPropertySymbols(me);Je<Me.length;Je++)Ie.indexOf(Me[Je])<0&&Object.prototype.propertyIsEnumerable.call(me,Me[Je])&&(Se[Me[Je]]=me[Me[Je]]);return Se};function De(me){return me===null||me===!1}const j={item:J,submenu:Ct,divider:$};var be=(0,o.forwardRef)((me,Ie)=>{var Se;const Me=o.useContext(te.Z),Je=Me||{},{getPrefixCls:pt,getPopupContainer:$t,direction:Yt,menu:Gt}=o.useContext(B.E_),Pt=pt(),{prefixCls:it,className:xt,style:Nt,theme:Ht="light",expandIcon:Et,_internalDisableMenuItemTitleTooltip:er,inlineCollapsed:lr,siderCollapsed:Cr,rootClassName:qr,mode:Ar,selectable:x,onClick:W,overflowedIndicatorPopupClassName:St}=me,oe=ke(me,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Be=(0,y.Z)(oe,["collapsedWidth"]);(Se=Je.validator)===null||Se===void 0||Se.call(Je,{mode:Ar});const zr=(0,_.Z)(function(){var pn;W==null||W.apply(void 0,arguments),(pn=Je.onClick)===null||pn===void 0||pn.call(Je)}),$r=Je.mode||Ar,yn=x!=null?x:Je.selectable,Tn=lr!=null?lr:Cr,Ft={horizontal:{motionName:`${Pt}-slide-up`},inline:(0,G.Z)(Pt),other:{motionName:`${Pt}-zoom-big`}},Sr=pt("menu",it||Je.prefixCls),br=(0,F.Z)(Sr),[Br,h,D]=ct(Sr,br,!Me),Ee=ee()(`${Sr}-${Ht}`,Gt==null?void 0:Gt.className,xt),ne=o.useMemo(()=>{var pn,mt;if(typeof Et=="function"||De(Et))return Et||null;if(typeof Je.expandIcon=="function"||De(Je.expandIcon))return Je.expandIcon||null;if(typeof(Gt==null?void 0:Gt.expandIcon)=="function"||De(Gt==null?void 0:Gt.expandIcon))return(Gt==null?void 0:Gt.expandIcon)||null;const Ut=(pn=Et!=null?Et:Je==null?void 0:Je.expandIcon)!==null&&pn!==void 0?pn:Gt==null?void 0:Gt.expandIcon;return(0,u.Tm)(Ut,{className:ee()(`${Sr}-submenu-expand-icon`,o.isValidElement(Ut)?(mt=Ut.props)===null||mt===void 0?void 0:mt.className:void 0)})},[Et,Je==null?void 0:Je.expandIcon,Gt==null?void 0:Gt.expandIcon,Sr]),lt=o.useMemo(()=>({prefixCls:Sr,inlineCollapsed:Tn||!1,direction:Yt,firstLevel:!0,theme:Ht,mode:$r,disableMenuItemTitleTooltip:er}),[Sr,Tn,Yt,er,Ht]);return Br(o.createElement(te.Z.Provider,{value:null},o.createElement(R.Provider,{value:lt},o.createElement(qe.ZP,Object.assign({getPopupContainer:$t,overflowedIndicator:o.createElement(Re.Z,null),overflowedIndicatorPopupClassName:ee()(Sr,`${Sr}-${Ht}`,St),mode:$r,selectable:yn,onClick:zr},Be,{inlineCollapsed:Tn,style:Object.assign(Object.assign({},Gt==null?void 0:Gt.style),Nt),className:Ee,prefixCls:Sr,direction:Yt,defaultMotions:Ft,expandIcon:ne,ref:Ie,rootClassName:ee()(qr,h,Je.rootClassName,D,br),_internalComponents:j})))))});const fe=(0,o.forwardRef)((me,Ie)=>{const Se=(0,o.useRef)(null),Me=o.useContext(L.D);return(0,o.useImperativeHandle)(Ie,()=>({menu:Se.current,focus:Je=>{var pt;(pt=Se.current)===null||pt===void 0||pt.focus(Je)}})),o.createElement(be,Object.assign({ref:Se},me,Me))});fe.Item=J,fe.SubMenu=Ct,fe.Divider=$,fe.ItemGroup=qe.BW;var he=fe},13747:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return ct}});var o=n(59301),qe=n(54476),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Re=L,q=n(7657),ee=function(Le,Ct){return o.createElement(q.Z,(0,qe.Z)({},Le,{ref:Ct,icon:Re}))},_=o.forwardRef(ee),y=_,G=n(49198),u=n(33853),B=n(38819),F=n(92310),K=n.n(F),R=n(23425),X=n(61852),M=n(48755),$=n(31756),S=n(13783),E=n(9017),ie=n(82326),J=n(57700),te=n(36237),$e=n(53075),Ne=n(64910),Qe=n(39082),Ze=n(63356),we=n(51636),xe=n(16931);const Q=ue=>{const{componentCls:Le}=ue;return{[`${Le}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Le}-item-link`]:{color:ue.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Le}-item-link`]:{color:ue.colorTextDisabled,cursor:"not-allowed"}}},[`&${Le}-disabled`]:{cursor:"not-allowed",[`${Le}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:ue.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:ue.colorBorder,backgroundColor:ue.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:ue.itemActiveBgDisabled},a:{color:ue.itemActiveColorDisabled}}},[`${Le}-item-link`]:{color:ue.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Le}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Le}-simple-pager`]:{color:ue.colorTextDisabled},[`${Le}-jump-prev, ${Le}-jump-next`]:{[`${Le}-item-link-icon`]:{opacity:0},[`${Le}-item-ellipsis`]:{opacity:1}}},[`&${Le}-simple`]:{[`${Le}-prev, ${Le}-next`]:{[`&${Le}-disabled ${Le}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},ye=ue=>{const{componentCls:Le}=ue;return{[`&${Le}-mini ${Le}-total-text, &${Le}-mini ${Le}-simple-pager`]:{height:ue.itemSizeSM,lineHeight:(0,te.unit)(ue.itemSizeSM)},[`&${Le}-mini ${Le}-item`]:{minWidth:ue.itemSizeSM,height:ue.itemSizeSM,margin:0,lineHeight:(0,te.unit)(ue.calc(ue.itemSizeSM).sub(2).equal())},[`&${Le}-mini ${Le}-prev, &${Le}-mini ${Le}-next`]:{minWidth:ue.itemSizeSM,height:ue.itemSizeSM,margin:0,lineHeight:(0,te.unit)(ue.itemSizeSM)},[`&${Le}-mini:not(${Le}-disabled)`]:{[`${Le}-prev, ${Le}-next`]:{[`&:hover ${Le}-item-link`]:{backgroundColor:ue.colorBgTextHover},[`&:active ${Le}-item-link`]:{backgroundColor:ue.colorBgTextActive},[`&${Le}-disabled:hover ${Le}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
|
&${Le}-mini ${Le}-prev ${Le}-item-link,
|
|
|
&${Le}-mini ${Le}-next ${Le}-item-link
|
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:ue.itemSizeSM,lineHeight:(0,te.unit)(ue.itemSizeSM)}},[`&${Le}-mini ${Le}-jump-prev, &${Le}-mini ${Le}-jump-next`]:{height:ue.itemSizeSM,marginInlineEnd:0,lineHeight:(0,te.unit)(ue.itemSizeSM)},[`&${Le}-mini ${Le}-options`]:{marginInlineStart:ue.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:ue.miniOptionsSizeChangerTop},"&-quick-jumper":{height:ue.itemSizeSM,lineHeight:(0,te.unit)(ue.itemSizeSM),input:Object.assign(Object.assign({},(0,$e.x0)(ue)),{width:ue.paginationMiniQuickJumperInputWidth,height:ue.controlHeightSM})}}}},N=ue=>{const{componentCls:Le}=ue;return{[`
|
|
|
&${Le}-simple ${Le}-prev,
|
|
|
&${Le}-simple ${Le}-next
|
|
|
`]:{height:ue.itemSizeSM,lineHeight:(0,te.unit)(ue.itemSizeSM),verticalAlign:"top",[`${Le}-item-link`]:{height:ue.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:ue.colorBgTextHover},"&:active":{backgroundColor:ue.colorBgTextActive},"&::after":{height:ue.itemSizeSM,lineHeight:(0,te.unit)(ue.itemSizeSM)}}},[`&${Le}-simple ${Le}-simple-pager`]:{display:"inline-block",height:ue.itemSizeSM,marginInlineEnd:ue.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,te.unit)(ue.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:ue.itemInputBg,border:`${(0,te.unit)(ue.lineWidth)} ${ue.lineType} ${ue.colorBorder}`,borderRadius:ue.borderRadius,outline:"none",transition:`border-color ${ue.motionDurationMid}`,color:"inherit","&:hover":{borderColor:ue.colorPrimary},"&:focus":{borderColor:ue.colorPrimaryHover,boxShadow:`${(0,te.unit)(ue.inputOutlineOffset)} 0 ${(0,te.unit)(ue.controlOutlineWidth)} ${ue.controlOutline}`},"&[disabled]":{color:ue.colorTextDisabled,backgroundColor:ue.colorBgContainerDisabled,borderColor:ue.colorBorder,cursor:"not-allowed"}}}}},I=ue=>{const{componentCls:Le}=ue;return{[`${Le}-jump-prev, ${Le}-jump-next`]:{outline:0,[`${Le}-item-container`]:{position:"relative",[`${Le}-item-link-icon`]:{color:ue.colorPrimary,fontSize:ue.fontSizeSM,opacity:0,transition:`all ${ue.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Le}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:ue.colorTextDisabled,letterSpacing:ue.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:ue.paginationEllipsisTextIndent,opacity:1,transition:`all ${ue.motionDurationMid}`}},"&:hover":{[`${Le}-item-link-icon`]:{opacity:1},[`${Le}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${Le}-prev,
|
|
|
${Le}-jump-prev,
|
|
|
${Le}-jump-next
|
|
|
`]:{marginInlineEnd:ue.marginXS},[`
|
|
|
${Le}-prev,
|
|
|
${Le}-next,
|
|
|
${Le}-jump-prev,
|
|
|
${Le}-jump-next
|
|
|
`]:{display:"inline-block",minWidth:ue.itemSize,height:ue.itemSize,color:ue.colorText,fontFamily:ue.fontFamily,lineHeight:(0,te.unit)(ue.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:ue.borderRadius,cursor:"pointer",transition:`all ${ue.motionDurationMid}`},[`${Le}-prev, ${Le}-next`]:{outline:0,button:{color:ue.colorText,cursor:"pointer",userSelect:"none"},[`${Le}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:ue.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,te.unit)(ue.lineWidth)} ${ue.lineType} transparent`,borderRadius:ue.borderRadius,outline:"none",transition:`all ${ue.motionDurationMid}`},[`&:hover ${Le}-item-link`]:{backgroundColor:ue.colorBgTextHover},[`&:active ${Le}-item-link`]:{backgroundColor:ue.colorBgTextActive},[`&${Le}-disabled:hover`]:{[`${Le}-item-link`]:{backgroundColor:"transparent"}}},[`${Le}-slash`]:{marginInlineEnd:ue.paginationSlashMarginInlineEnd,marginInlineStart:ue.paginationSlashMarginInlineStart},[`${Le}-options`]:{display:"inline-block",marginInlineStart:ue.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:ue.controlHeight,marginInlineStart:ue.marginXS,lineHeight:(0,te.unit)(ue.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,$e.ik)(ue)),(0,Qe.$U)(ue,{borderColor:ue.colorBorder,hoverBorderColor:ue.colorPrimaryHover,activeBorderColor:ue.colorPrimary,activeShadow:ue.activeShadow})),{"&[disabled]":Object.assign({},(0,Qe.Xy)(ue)),width:ue.calc(ue.controlHeightLG).mul(1.25).equal(),height:ue.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:ue.marginXS,marginInlineEnd:ue.marginXS})}}}},nt=ue=>{const{componentCls:Le}=ue;return{[`${Le}-item`]:{display:"inline-block",minWidth:ue.itemSize,height:ue.itemSize,marginInlineEnd:ue.marginXS,fontFamily:ue.fontFamily,lineHeight:(0,te.unit)(ue.calc(ue.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:ue.itemBg,border:`${(0,te.unit)(ue.lineWidth)} ${ue.lineType} transparent`,borderRadius:ue.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,te.unit)(ue.paginationItemPaddingInline)}`,color:ue.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Le}-item-active)`]:{"&:hover":{transition:`all ${ue.motionDurationMid}`,backgroundColor:ue.colorBgTextHover},"&:active":{backgroundColor:ue.colorBgTextActive}},"&-active":{fontWeight:ue.fontWeightStrong,backgroundColor:ue.itemActiveBg,borderColor:ue.colorPrimary,a:{color:ue.colorPrimary},"&:hover":{borderColor:ue.colorPrimaryHover},"&:hover a":{color:ue.colorPrimaryHover}}}}},ce=ue=>{const{componentCls:Le}=ue;return{[Le]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ze.Wf)(ue)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Le}-total-text`]:{display:"inline-block",height:ue.itemSize,marginInlineEnd:ue.marginXS,lineHeight:(0,te.unit)(ue.calc(ue.itemSize).sub(2).equal()),verticalAlign:"middle"}}),nt(ue)),I(ue)),N(ue)),ye(ue)),Q(ue)),{[`@media only screen and (max-width: ${ue.screenLG}px)`]:{[`${Le}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${ue.screenSM}px)`]:{[`${Le}-options`]:{display:"none"}}}),[`&${ue.componentCls}-rtl`]:{direction:"rtl"}}},le=ue=>{const{componentCls:Le}=ue;return{[`${Le}:not(${Le}-disabled)`]:{[`${Le}-item`]:Object.assign({},(0,Ze.Qy)(ue)),[`${Le}-jump-prev, ${Le}-jump-next`]:{"&:focus-visible":Object.assign({[`${Le}-item-link-icon`]:{opacity:1},[`${Le}-item-ellipsis`]:{opacity:0}},(0,Ze.oN)(ue))},[`${Le}-prev, ${Le}-next`]:{[`&:focus-visible ${Le}-item-link`]:Object.assign({},(0,Ze.oN)(ue))}}}},w=ue=>Object.assign({itemBg:ue.colorBgContainer,itemSize:ue.controlHeight,itemSizeSM:ue.controlHeightSM,itemActiveBg:ue.colorBgContainer,itemLinkBg:ue.colorBgContainer,itemActiveColorDisabled:ue.colorTextDisabled,itemActiveBgDisabled:ue.controlItemBgActiveDisabled,itemInputBg:ue.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Ne.T)(ue)),k=ue=>(0,we.mergeToken)(ue,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:ue.calc(ue.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:ue.calc(ue.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:ue.calc(ue.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:ue.calc(ue.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:ue.marginSM,paginationSlashMarginInlineEnd:ue.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Ne.e)(ue));var z=(0,xe.I$)("Pagination",ue=>{const Le=k(ue);return[ce(Le),le(Le)]},w);const C=ue=>{const{componentCls:Le}=ue;return{[`${Le}${Le}-bordered${Le}-disabled:not(${Le}-mini)`]:{"&, &:hover":{[`${Le}-item-link`]:{borderColor:ue.colorBorder}},"&:focus-visible":{[`${Le}-item-link`]:{borderColor:ue.colorBorder}},[`${Le}-item, ${Le}-item-link`]:{backgroundColor:ue.colorBgContainerDisabled,borderColor:ue.colorBorder,[`&:hover:not(${Le}-item-active)`]:{backgroundColor:ue.colorBgContainerDisabled,borderColor:ue.colorBorder,a:{color:ue.colorTextDisabled}},[`&${Le}-item-active`]:{backgroundColor:ue.itemActiveBgDisabled}},[`${Le}-prev, ${Le}-next`]:{"&:hover button":{backgroundColor:ue.colorBgContainerDisabled,borderColor:ue.colorBorder,color:ue.colorTextDisabled},[`${Le}-item-link`]:{backgroundColor:ue.colorBgContainerDisabled,borderColor:ue.colorBorder}}},[`${Le}${Le}-bordered:not(${Le}-mini)`]:{[`${Le}-prev, ${Le}-next`]:{"&:hover button":{borderColor:ue.colorPrimaryHover,backgroundColor:ue.itemBg},[`${Le}-item-link`]:{backgroundColor:ue.itemLinkBg,borderColor:ue.colorBorder},[`&:hover ${Le}-item-link`]:{borderColor:ue.colorPrimary,backgroundColor:ue.itemBg,color:ue.colorPrimary},[`&${Le}-disabled`]:{[`${Le}-item-link`]:{borderColor:ue.colorBorder,color:ue.colorTextDisabled}}},[`${Le}-item`]:{backgroundColor:ue.itemBg,border:`${(0,te.unit)(ue.lineWidth)} ${ue.lineType} ${ue.colorBorder}`,[`&:hover:not(${Le}-item-active)`]:{borderColor:ue.colorPrimary,backgroundColor:ue.itemBg,a:{color:ue.colorPrimary}},"&-active":{borderColor:ue.colorPrimary}}}}};var Y=(0,xe.bk)(["Pagination","bordered"],ue=>{const Le=k(ue);return[C(Le)]},w);function He(ue){return(0,o.useMemo)(()=>typeof ue=="boolean"?[ue,{}]:ue&&typeof ue=="object"?[!0,ue]:[void 0,void 0],[ue])}var pe=function(ue,Le){var Ct={};for(var ke in ue)Object.prototype.hasOwnProperty.call(ue,ke)&&Le.indexOf(ke)<0&&(Ct[ke]=ue[ke]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,ke=Object.getOwnPropertySymbols(ue);De<ke.length;De++)Le.indexOf(ke[De])<0&&Object.prototype.propertyIsEnumerable.call(ue,ke[De])&&(Ct[ke[De]]=ue[ke[De]]);return Ct},ot=ue=>{const{align:Le,prefixCls:Ct,selectPrefixCls:ke,className:De,rootClassName:j,style:_e,size:be,locale:fe,responsive:he,showSizeChanger:me,selectComponentClass:Ie,pageSizeOptions:Se}=ue,Me=pe(ue,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Je}=(0,S.Z)(he),[,pt]=(0,J.ZP)(),{getPrefixCls:$t,direction:Yt,showSizeChanger:Gt,className:Pt,style:it}=(0,M.dj)("pagination"),xt=$t("pagination",Ct),[Nt,Ht,Et]=z(xt),er=(0,$.Z)(be),lr=er==="small"||!!(Je&&!er&&he),[Cr]=(0,E.Z)("Pagination",X.Z),qr=Object.assign(Object.assign({},Cr),fe),[Ar,x]=He(me),[W,St]=He(Gt),oe=Ar!=null?Ar:W,Be=x!=null?x:St,zr=Ie||ie.default,$r=o.useMemo(()=>Se?Se.map(Br=>Number(Br)):void 0,[Se]),yn=Br=>{var h;const{disabled:D,size:Ee,onSizeChange:ne,"aria-label":lt,className:pn,options:mt}=Br,{className:Ut,onChange:Ur}=Be||{},Pr=(h=mt.find(Jr=>String(Jr.value)===String(Ee)))===null||h===void 0?void 0:h.value;return o.createElement(zr,Object.assign({disabled:D,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:Jr=>Jr.parentNode,"aria-label":lt,options:mt},Be,{value:Pr,onChange:(Jr,gn)=>{ne==null||ne(Jr),Ur==null||Ur(Jr,gn)},size:lr?"small":"middle",className:K()(pn,Ut)}))},Tn=o.useMemo(()=>{const Br=o.createElement("span",{className:`${xt}-item-ellipsis`},"\u2022\u2022\u2022"),h=o.createElement("button",{className:`${xt}-item-link`,type:"button",tabIndex:-1},Yt==="rtl"?o.createElement(B.Z,null):o.createElement(u.Z,null)),D=o.createElement("button",{className:`${xt}-item-link`,type:"button",tabIndex:-1},Yt==="rtl"?o.createElement(u.Z,null):o.createElement(B.Z,null)),Ee=o.createElement("a",{className:`${xt}-item-link`},o.createElement("div",{className:`${xt}-item-container`},Yt==="rtl"?o.createElement(G.Z,{className:`${xt}-item-link-icon`}):o.createElement(y,{className:`${xt}-item-link-icon`}),Br)),ne=o.createElement("a",{className:`${xt}-item-link`},o.createElement("div",{className:`${xt}-item-container`},Yt==="rtl"?o.createElement(y,{className:`${xt}-item-link-icon`}):o.createElement(G.Z,{className:`${xt}-item-link-icon`}),Br));return{prevIcon:h,nextIcon:D,jumpPrevIcon:Ee,jumpNextIcon:ne}},[Yt,xt]),Ft=$t("select",ke),Sr=K()({[`${xt}-${Le}`]:!!Le,[`${xt}-mini`]:lr,[`${xt}-rtl`]:Yt==="rtl",[`${xt}-bordered`]:pt.wireframe},Pt,De,j,Ht,Et),br=Object.assign(Object.assign({},it),_e);return Nt(o.createElement(o.Fragment,null,pt.wireframe&&o.createElement(Y,{prefixCls:xt}),o.createElement(R.Z,Object.assign({},Tn,Me,{style:br,prefixCls:xt,selectPrefixCls:Ft,className:Sr,locale:qr,pageSizeOptions:$r,showSizeChanger:oe,sizeChangerRender:yn}))))},ct=ot},93725:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return we}});var o=n(59301),qe=n(96512),L=n(92310),Re=n.n(L),q=n(18929),ee=n(2738),_=n(48755),y=n(37639),G=n(15565),u=n(54500),B=n(99571),F=n(61670),K=n(9017),R=n(85981),X=n(69106),M=n(16931);const $=xe=>{const{componentCls:Q,iconCls:ye,antCls:N,zIndexPopup:I,colorText:nt,colorWarning:ce,marginXXS:le,marginXS:w,fontSize:k,fontWeightStrong:z,colorTextHeading:C}=xe;return{[Q]:{zIndex:I,[`&${N}-popover`]:{fontSize:k},[`${Q}-message`]:{marginBottom:w,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${Q}-message-icon ${ye}`]:{color:ce,fontSize:k,lineHeight:1,marginInlineEnd:w},[`${Q}-title`]:{fontWeight:z,color:C,"&:only-child":{fontWeight:"normal"}},[`${Q}-description`]:{marginTop:le,color:nt}},[`${Q}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:w}}}}},S=xe=>{const{zIndexPopupBase:Q}=xe;return{zIndexPopup:Q+60}};var E=(0,M.I$)("Popconfirm",xe=>$(xe),S,{resetStyle:!1}),ie=function(xe,Q){var ye={};for(var N in xe)Object.prototype.hasOwnProperty.call(xe,N)&&Q.indexOf(N)<0&&(ye[N]=xe[N]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,N=Object.getOwnPropertySymbols(xe);I<N.length;I++)Q.indexOf(N[I])<0&&Object.prototype.propertyIsEnumerable.call(xe,N[I])&&(ye[N[I]]=xe[N[I]]);return ye};const J=xe=>{const{prefixCls:Q,okButtonProps:ye,cancelButtonProps:N,title:I,description:nt,cancelText:ce,okText:le,okType:w="primary",icon:k=o.createElement(qe.Z,null),showCancel:z=!0,close:C,onConfirm:Y,onCancel:He,onPopupClick:pe}=xe,{getPrefixCls:Ue}=o.useContext(_.E_),[ot]=(0,K.Z)("Popconfirm",R.Z.Popconfirm),ct=(0,u.Z)(I),ue=(0,u.Z)(nt);return o.createElement("div",{className:`${Q}-inner-content`,onClick:pe},o.createElement("div",{className:`${Q}-message`},k&&o.createElement("span",{className:`${Q}-message-icon`},k),o.createElement("div",{className:`${Q}-message-text`},ct&&o.createElement("div",{className:`${Q}-title`},ct),ue&&o.createElement("div",{className:`${Q}-description`},ue))),o.createElement("div",{className:`${Q}-buttons`},z&&o.createElement(B.ZP,Object.assign({onClick:He,size:"small"},N),ce||(ot==null?void 0:ot.cancelText)),o.createElement(G.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,F.nx)(w)),ye),actionFn:Y,close:C,prefixCls:Ue("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},le||(ot==null?void 0:ot.okText))))};var $e=xe=>{const{prefixCls:Q,placement:ye,className:N,style:I}=xe,nt=ie(xe,["prefixCls","placement","className","style"]),{getPrefixCls:ce}=o.useContext(_.E_),le=ce("popconfirm",Q),[w]=E(le);return w(o.createElement(X.ZP,{placement:ye,className:Re()(le,N),style:I,content:o.createElement(J,Object.assign({prefixCls:le},nt))}))},Ne=function(xe,Q){var ye={};for(var N in xe)Object.prototype.hasOwnProperty.call(xe,N)&&Q.indexOf(N)<0&&(ye[N]=xe[N]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,N=Object.getOwnPropertySymbols(xe);I<N.length;I++)Q.indexOf(N[I])<0&&Object.prototype.propertyIsEnumerable.call(xe,N[I])&&(ye[N[I]]=xe[N[I]]);return ye};const Ze=o.forwardRef((xe,Q)=>{var ye,N;const{prefixCls:I,placement:nt="top",trigger:ce="click",okType:le="primary",icon:w=o.createElement(qe.Z,null),children:k,overlayClassName:z,onOpenChange:C,onVisibleChange:Y,overlayStyle:He,styles:pe,classNames:Ue}=xe,ot=Ne(xe,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange","overlayStyle","styles","classNames"]),{getPrefixCls:ct,className:ue,style:Le,classNames:Ct,styles:ke}=(0,_.dj)("popconfirm"),[De,j]=(0,q.Z)(!1,{value:(ye=xe.open)!==null&&ye!==void 0?ye:xe.visible,defaultValue:(N=xe.defaultOpen)!==null&&N!==void 0?N:xe.defaultVisible}),_e=(pt,$t)=>{j(pt,!0),Y==null||Y(pt),C==null||C(pt,$t)},be=pt=>{_e(!1,pt)},fe=pt=>{var $t;return($t=xe.onConfirm)===null||$t===void 0?void 0:$t.call(void 0,pt)},he=pt=>{var $t;_e(!1,pt),($t=xe.onCancel)===null||$t===void 0||$t.call(void 0,pt)},me=(pt,$t)=>{const{disabled:Yt=!1}=xe;Yt||_e(pt,$t)},Ie=ct("popconfirm",I),Se=Re()(Ie,ue,z,Ct.root,Ue==null?void 0:Ue.root),Me=Re()(Ct.body,Ue==null?void 0:Ue.body),[Je]=E(Ie);return Je(o.createElement(y.Z,Object.assign({},(0,ee.Z)(ot,["title"]),{trigger:ce,placement:nt,onOpenChange:me,open:De,ref:Q,classNames:{root:Se,body:Me},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},ke.root),Le),He),pe==null?void 0:pe.root),body:Object.assign(Object.assign({},ke.body),pe==null?void 0:pe.body)},content:o.createElement(J,Object.assign({okType:le,icon:w},xe,{prefixCls:Ie,close:be,onConfirm:fe,onCancel:he})),"data-popover-inject":!0}),k))});Ze._InternalPanelDoNotUseOrYouWillBeFired=$e;var we=Ze},69106:function(Yr,Xt,n){"use strict";n.d(Xt,{aV:function(){return G},t5:function(){return u}});var o=n(59301),qe=n(92310),L=n.n(qe),Re=n(29125),q=n(54500),ee=n(48755),_=n(85074),y=function(F,K){var R={};for(var X in F)Object.prototype.hasOwnProperty.call(F,X)&&K.indexOf(X)<0&&(R[X]=F[X]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,X=Object.getOwnPropertySymbols(F);M<X.length;M++)K.indexOf(X[M])<0&&Object.prototype.propertyIsEnumerable.call(F,X[M])&&(R[X[M]]=F[X[M]]);return R};const G=F=>{let{title:K,content:R,prefixCls:X}=F;return!K&&!R?null:o.createElement(o.Fragment,null,K&&o.createElement("div",{className:`${X}-title`},K),R&&o.createElement("div",{className:`${X}-inner-content`},R))},u=F=>{const{hashId:K,prefixCls:R,className:X,style:M,placement:$="top",title:S,content:E,children:ie}=F,J=(0,q.Z)(S),te=(0,q.Z)(E),$e=L()(K,R,`${R}-pure`,`${R}-placement-${$}`,X);return o.createElement("div",{className:$e,style:M},o.createElement("div",{className:`${R}-arrow`}),o.createElement(Re.G,Object.assign({},F,{className:K,prefixCls:R}),ie||o.createElement(G,{prefixCls:R,title:J,content:te})))},B=F=>{const{prefixCls:K,className:R}=F,X=y(F,["prefixCls","className"]),{getPrefixCls:M}=o.useContext(ee.E_),$=M("popover",K),[S,E,ie]=(0,_.Z)($);return S(o.createElement(u,Object.assign({},X,{prefixCls:$,hashId:E,className:L()(R,ie)})))};Xt.ZP=B},37639:function(Yr,Xt,n){"use strict";var o=n(59301),qe=n(92310),L=n.n(qe),Re=n(18929),q=n(10228),ee=n(54500),_=n(86641),y=n(22703),G=n(25399),u=n(69106),B=n(48755),F=n(85074),K=function(M,$){var S={};for(var E in M)Object.prototype.hasOwnProperty.call(M,E)&&$.indexOf(E)<0&&(S[E]=M[E]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,E=Object.getOwnPropertySymbols(M);ie<E.length;ie++)$.indexOf(E[ie])<0&&Object.prototype.propertyIsEnumerable.call(M,E[ie])&&(S[E[ie]]=M[E[ie]]);return S};const X=o.forwardRef((M,$)=>{var S,E;const{prefixCls:ie,title:J,content:te,overlayClassName:$e,placement:Ne="top",trigger:Qe="hover",children:Ze,mouseEnterDelay:we=.1,mouseLeaveDelay:xe=.1,onOpenChange:Q,overlayStyle:ye={},styles:N,classNames:I}=M,nt=K(M,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:ce,className:le,style:w,classNames:k,styles:z}=(0,B.dj)("popover"),C=ce("popover",ie),[Y,He,pe]=(0,F.Z)(C),Ue=ce(),ot=L()($e,He,pe,le,k.root,I==null?void 0:I.root),ct=L()(k.body,I==null?void 0:I.body),[ue,Le]=(0,Re.Z)(!1,{value:(S=M.open)!==null&&S!==void 0?S:M.visible,defaultValue:(E=M.defaultOpen)!==null&&E!==void 0?E:M.defaultVisible}),Ct=(be,fe)=>{Le(be,!0),Q==null||Q(be,fe)},ke=be=>{be.keyCode===q.Z.ESC&&Ct(!1,be)},De=be=>{Ct(be)},j=(0,ee.Z)(J),_e=(0,ee.Z)(te);return Y(o.createElement(G.Z,Object.assign({placement:Ne,trigger:Qe,mouseEnterDelay:we,mouseLeaveDelay:xe},nt,{prefixCls:C,classNames:{root:ot,body:ct},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},z.root),w),ye),N==null?void 0:N.root),body:Object.assign(Object.assign({},z.body),N==null?void 0:N.body)},ref:$,open:ue,onOpenChange:De,overlay:j||_e?o.createElement(u.aV,{prefixCls:C,title:j,content:_e}):null,transitionName:(0,_.m)(Ue,"zoom-big",nt.transitionName),"data-popover-inject":!0}),(0,y.Tm)(Ze,{onKeyDown:be=>{var fe,he;o.isValidElement(Ze)&&((he=Ze==null?void 0:(fe=Ze.props).onKeyDown)===null||he===void 0||he.call(fe,be)),ke(be)}})))});X._InternalPanelDoNotUseOrYouWillBeFired=u.ZP,Xt.Z=X},85074:function(Yr,Xt,n){"use strict";var o=n(63356),qe=n(34925),L=n(37645),Re=n(36305),q=n(34998),ee=n(16931),_=n(51636);const y=B=>{const{componentCls:F,popoverColor:K,titleMinWidth:R,fontWeightStrong:X,innerPadding:M,boxShadowSecondary:$,colorTextHeading:S,borderRadiusLG:E,zIndexPopup:ie,titleMarginBottom:J,colorBgElevated:te,popoverBg:$e,titleBorderBottom:Ne,innerContentPadding:Qe,titlePadding:Ze}=B;return[{[F]:Object.assign(Object.assign({},(0,o.Wf)(B)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:ie,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":te,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${F}-content`]:{position:"relative"},[`${F}-inner`]:{backgroundColor:$e,backgroundClip:"padding-box",borderRadius:E,boxShadow:$,padding:M},[`${F}-title`]:{minWidth:R,marginBottom:J,color:S,fontWeight:X,borderBottom:Ne,padding:Ze},[`${F}-inner-content`]:{color:K,padding:Qe}})},(0,L.ZP)(B,"var(--antd-arrow-background-color)"),{[`${F}-pure`]:{position:"relative",maxWidth:"none",margin:B.sizePopupArrow,display:"inline-block",[`${F}-content`]:{display:"inline-block"}}}]},G=B=>{const{componentCls:F}=B;return{[F]:q.i.map(K=>{const R=B[`${K}6`];return{[`&${F}-${K}`]:{"--antd-arrow-background-color":R,[`${F}-inner`]:{backgroundColor:R},[`${F}-arrow`]:{background:"transparent"}}}})}},u=B=>{const{lineWidth:F,controlHeight:K,fontHeight:R,padding:X,wireframe:M,zIndexPopupBase:$,borderRadiusLG:S,marginXS:E,lineType:ie,colorSplit:J,paddingSM:te}=B,$e=K-R,Ne=$e/2,Qe=$e/2-F,Ze=X;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:$+30},(0,Re.w)(B)),(0,L.wZ)({contentRadius:S,limitVerticalRadius:!0})),{innerPadding:M?0:12,titleMarginBottom:M?0:E,titlePadding:M?`${Ne}px ${Ze}px ${Qe}px`:0,titleBorderBottom:M?`${F}px ${ie} ${J}`:"none",innerContentPadding:M?`${te}px ${Ze}px`:0})};Xt.Z=(0,ee.I$)("Popover",B=>{const{colorBgElevated:F,colorText:K}=B,R=(0,_.mergeToken)(B,{popoverBg:F,popoverColor:K});return[y(R),G(R),(0,qe._y)(R,"zoom-big")]},u,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},60242:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return Ct}});var o=n(59301),qe=n(17835),L=n(29679),Re=n(40001),q=n(19248),ee=n(99267),_=n(92310),y=n.n(_),G=n(2738),u=n(48755),B=n(25930),F=n(25399),K=n(68361);function R(ke){return!ke||ke<0?0:ke>100?100:ke}function X(ke){let{success:De,successPercent:j}=ke,_e=j;return De&&"progress"in De&&(_e=De.progress),De&&"percent"in De&&(_e=De.percent),_e}const M=ke=>{let{percent:De,success:j,successPercent:_e}=ke;const be=R(X({success:j,successPercent:_e}));return[be,R(R(De)-be)]},$=ke=>{let{success:De={},strokeColor:j}=ke;const{strokeColor:_e}=De;return[_e||K.presetPrimaryColors.green,j||null]},S=(ke,De,j)=>{var _e,be,fe,he;let me=-1,Ie=-1;if(De==="step"){const Se=j.steps,Me=j.strokeWidth;typeof ke=="string"||typeof ke=="undefined"?(me=ke==="small"?2:14,Ie=Me!=null?Me:8):typeof ke=="number"?[me,Ie]=[ke,ke]:[me=14,Ie=8]=Array.isArray(ke)?ke:[ke.width,ke.height],me*=Se}else if(De==="line"){const Se=j==null?void 0:j.strokeWidth;typeof ke=="string"||typeof ke=="undefined"?Ie=Se||(ke==="small"?6:8):typeof ke=="number"?[me,Ie]=[ke,ke]:[me=-1,Ie=8]=Array.isArray(ke)?ke:[ke.width,ke.height]}else(De==="circle"||De==="dashboard")&&(typeof ke=="string"||typeof ke=="undefined"?[me,Ie]=ke==="small"?[60,60]:[120,120]:typeof ke=="number"?[me,Ie]=[ke,ke]:Array.isArray(ke)&&(me=(be=(_e=ke[0])!==null&&_e!==void 0?_e:ke[1])!==null&&be!==void 0?be:120,Ie=(he=(fe=ke[0])!==null&&fe!==void 0?fe:ke[1])!==null&&he!==void 0?he:120));return[me,Ie]},E=3,ie=ke=>E/ke*100;var te=ke=>{const{prefixCls:De,trailColor:j=null,strokeLinecap:_e="round",gapPosition:be,gapDegree:fe,width:he=120,type:me,children:Ie,success:Se,size:Me=he,steps:Je}=ke,[pt,$t]=S(Me,"circle");let{strokeWidth:Yt}=ke;Yt===void 0&&(Yt=Math.max(ie(pt),6));const Gt={width:pt,height:$t,fontSize:pt*.15+6},Pt=o.useMemo(()=>{if(fe||fe===0)return fe;if(me==="dashboard")return 75},[fe,me]),it=M(ke),xt=be||me==="dashboard"&&"bottom"||void 0,Nt=Object.prototype.toString.call(ke.strokeColor)==="[object Object]",Ht=$({success:Se,strokeColor:ke.strokeColor}),Et=y()(`${De}-inner`,{[`${De}-circle-gradient`]:Nt}),er=o.createElement(B.Cd,{steps:Je,percent:Je?it[1]:it,strokeWidth:Yt,trailWidth:Yt,strokeColor:Je?Ht[1]:Ht,strokeLinecap:_e,trailColor:j,prefixCls:De,gapDegree:Pt,gapPosition:xt}),lr=pt<=20,Cr=o.createElement("div",{className:Et,style:Gt},er,!lr&&Ie);return lr?o.createElement(F.Z,{title:Ie},Cr):Cr},$e=n(36237),Ne=n(63356),Qe=n(16931),Ze=n(51636);const we="--progress-line-stroke-color",xe="--progress-percent",Q=ke=>{const De=ke?"100%":"-100%";return new $e.Keyframes(`antProgress${ke?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${De}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${De}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},ye=ke=>{const{componentCls:De,iconCls:j}=ke;return{[De]:Object.assign(Object.assign({},(0,Ne.Wf)(ke)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:ke.fontSize},[`${De}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${De}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:ke.remainingColor,borderRadius:ke.lineBorderRadius},[`${De}-inner:not(${De}-circle-gradient)`]:{[`${De}-circle-path`]:{stroke:ke.defaultColor}},[`${De}-success-bg, ${De}-bg`]:{position:"relative",background:ke.defaultColor,borderRadius:ke.lineBorderRadius,transition:`all ${ke.motionDurationSlow} ${ke.motionEaseInOutCirc}`},[`${De}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${De}-text`]:{width:"max-content",marginInlineStart:0,marginTop:ke.marginXXS}},[`${De}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${we})`]},height:"100%",width:`calc(1 / var(${xe}) * 100%)`,display:"block"},[`&${De}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${De}-text-inner`]:{color:ke.colorWhite,[`&${De}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${De}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:ke.colorSuccess},[`${De}-text`]:{display:"inline-block",marginInlineStart:ke.marginXS,color:ke.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[j]:{fontSize:ke.fontSize},[`&${De}-text-outer`]:{width:"max-content"},[`&${De}-text-outer${De}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:ke.marginXS}},[`${De}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,$e.unit)(ke.paddingXXS)}`,[`&${De}-text-start`]:{justifyContent:"start"},[`&${De}-text-end`]:{justifyContent:"end"}},[`&${De}-status-active`]:{[`${De}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ke.colorBgContainer,borderRadius:ke.lineBorderRadius,opacity:0,animationName:Q(),animationDuration:ke.progressActiveMotionDuration,animationTimingFunction:ke.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${De}-rtl${De}-status-active`]:{[`${De}-bg::before`]:{animationName:Q(!0)}},[`&${De}-status-exception`]:{[`${De}-bg`]:{backgroundColor:ke.colorError},[`${De}-text`]:{color:ke.colorError}},[`&${De}-status-exception ${De}-inner:not(${De}-circle-gradient)`]:{[`${De}-circle-path`]:{stroke:ke.colorError}},[`&${De}-status-success`]:{[`${De}-bg`]:{backgroundColor:ke.colorSuccess},[`${De}-text`]:{color:ke.colorSuccess}},[`&${De}-status-success ${De}-inner:not(${De}-circle-gradient)`]:{[`${De}-circle-path`]:{stroke:ke.colorSuccess}}})}},N=ke=>{const{componentCls:De,iconCls:j}=ke;return{[De]:{[`${De}-circle-trail`]:{stroke:ke.remainingColor},[`&${De}-circle ${De}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${De}-circle ${De}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:ke.circleTextColor,fontSize:ke.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[j]:{fontSize:ke.circleIconFontSize}},[`${De}-circle&-status-exception`]:{[`${De}-text`]:{color:ke.colorError}},[`${De}-circle&-status-success`]:{[`${De}-text`]:{color:ke.colorSuccess}}},[`${De}-inline-circle`]:{lineHeight:1,[`${De}-inner`]:{verticalAlign:"bottom"}}}},I=ke=>{const{componentCls:De}=ke;return{[De]:{[`${De}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:ke.progressStepMinWidth,marginInlineEnd:ke.progressStepMarginInlineEnd,backgroundColor:ke.remainingColor,transition:`all ${ke.motionDurationSlow}`,"&-active":{backgroundColor:ke.defaultColor}}}}}},nt=ke=>{const{componentCls:De,iconCls:j}=ke;return{[De]:{[`${De}-small&-line, ${De}-small&-line ${De}-text ${j}`]:{fontSize:ke.fontSizeSM}}}},ce=ke=>({circleTextColor:ke.colorText,defaultColor:ke.colorInfo,remainingColor:ke.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${ke.fontSize/ke.fontSizeSM}em`});var le=(0,Qe.I$)("Progress",ke=>{const De=ke.calc(ke.marginXXS).div(2).equal(),j=(0,Ze.mergeToken)(ke,{progressStepMarginInlineEnd:De,progressStepMinWidth:De,progressActiveMotionDuration:"2.4s"});return[ye(j),N(j),I(j),nt(j)]},ce),w=function(ke,De){var j={};for(var _e in ke)Object.prototype.hasOwnProperty.call(ke,_e)&&De.indexOf(_e)<0&&(j[_e]=ke[_e]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,_e=Object.getOwnPropertySymbols(ke);be<_e.length;be++)De.indexOf(_e[be])<0&&Object.prototype.propertyIsEnumerable.call(ke,_e[be])&&(j[_e[be]]=ke[_e[be]]);return j};const k=ke=>{let De=[];return Object.keys(ke).forEach(j=>{const _e=parseFloat(j.replace(/%/g,""));Number.isNaN(_e)||De.push({key:_e,value:ke[j]})}),De=De.sort((j,_e)=>j.key-_e.key),De.map(j=>{let{key:_e,value:be}=j;return`${be} ${_e}%`}).join(", ")},z=(ke,De)=>{const{from:j=K.presetPrimaryColors.blue,to:_e=K.presetPrimaryColors.blue,direction:be=De==="rtl"?"to left":"to right"}=ke,fe=w(ke,["from","to","direction"]);if(Object.keys(fe).length!==0){const me=k(fe),Ie=`linear-gradient(${be}, ${me})`;return{background:Ie,[we]:Ie}}const he=`linear-gradient(${be}, ${j}, ${_e})`;return{background:he,[we]:he}};var Y=ke=>{const{prefixCls:De,direction:j,percent:_e,size:be,strokeWidth:fe,strokeColor:he,strokeLinecap:me="round",children:Ie,trailColor:Se=null,percentPosition:Me,success:Je}=ke,{align:pt,type:$t}=Me,Yt=he&&typeof he!="string"?z(he,j):{[we]:he,background:he},Gt=me==="square"||me==="butt"?0:void 0,Pt=be!=null?be:[-1,fe||(be==="small"?6:8)],[it,xt]=S(Pt,"line",{strokeWidth:fe}),Nt={backgroundColor:Se||void 0,borderRadius:Gt},Ht=Object.assign(Object.assign({width:`${R(_e)}%`,height:xt,borderRadius:Gt},Yt),{[xe]:R(_e)/100}),Et=X(ke),er={width:`${R(Et)}%`,height:xt,borderRadius:Gt,backgroundColor:Je==null?void 0:Je.strokeColor},lr={width:it<0?"100%":it},Cr=o.createElement("div",{className:`${De}-inner`,style:Nt},o.createElement("div",{className:y()(`${De}-bg`,`${De}-bg-${$t}`),style:Ht},$t==="inner"&&Ie),Et!==void 0&&o.createElement("div",{className:`${De}-success-bg`,style:er})),qr=$t==="outer"&&pt==="start",Ar=$t==="outer"&&pt==="end";return $t==="outer"&&pt==="center"?o.createElement("div",{className:`${De}-layout-bottom`},Cr,Ie):o.createElement("div",{className:`${De}-outer`,style:lr},qr&&Ie,Cr,Ar&&Ie)},pe=ke=>{const{size:De,steps:j,rounding:_e=Math.round,percent:be=0,strokeWidth:fe=8,strokeColor:he,trailColor:me=null,prefixCls:Ie,children:Se}=ke,Me=_e(j*(be/100)),Je=De==="small"?2:14,pt=De!=null?De:[Je,fe],[$t,Yt]=S(pt,"step",{steps:j,strokeWidth:fe}),Gt=$t/j,Pt=Array.from({length:j});for(let it=0;it<j;it++){const xt=Array.isArray(he)?he[it]:he;Pt[it]=o.createElement("div",{key:it,className:y()(`${Ie}-steps-item`,{[`${Ie}-steps-item-active`]:it<=Me-1}),style:{backgroundColor:it<=Me-1?xt:me,width:Gt,height:Yt}})}return o.createElement("div",{className:`${Ie}-steps-outer`},Pt,Se)},Ue=function(ke,De){var j={};for(var _e in ke)Object.prototype.hasOwnProperty.call(ke,_e)&&De.indexOf(_e)<0&&(j[_e]=ke[_e]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,_e=Object.getOwnPropertySymbols(ke);be<_e.length;be++)De.indexOf(_e[be])<0&&Object.prototype.propertyIsEnumerable.call(ke,_e[be])&&(j[_e[be]]=ke[_e[be]]);return j};const ot=null,ct=["normal","exception","active","success"];var Le=o.forwardRef((ke,De)=>{const{prefixCls:j,className:_e,rootClassName:be,steps:fe,strokeColor:he,percent:me=0,size:Ie="default",showInfo:Se=!0,type:Me="line",status:Je,format:pt,style:$t,percentPosition:Yt={}}=ke,Gt=Ue(ke,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Pt="end",type:it="outer"}=Yt,xt=Array.isArray(he)?he[0]:he,Nt=typeof he=="string"||Array.isArray(he)?he:void 0,Ht=o.useMemo(()=>{if(xt){const Tn=typeof xt=="string"?xt:Object.values(xt)[0];return new qe.FastColor(Tn).isLight()}return!1},[he]),Et=o.useMemo(()=>{var Tn,Ft;const Sr=X(ke);return parseInt(Sr!==void 0?(Tn=Sr!=null?Sr:0)===null||Tn===void 0?void 0:Tn.toString():(Ft=me!=null?me:0)===null||Ft===void 0?void 0:Ft.toString(),10)},[me,ke.success,ke.successPercent]),er=o.useMemo(()=>!ct.includes(Je)&&Et>=100?"success":Je||"normal",[Je,Et]),{getPrefixCls:lr,direction:Cr,progress:qr}=o.useContext(u.E_),Ar=lr("progress",j),[x,W,St]=le(Ar),oe=Me==="line",Be=oe&&!fe,zr=o.useMemo(()=>{if(!Se)return null;const Tn=X(ke);let Ft;const Sr=pt||(Br=>`${Br}%`),br=oe&&Ht&&it==="inner";return it==="inner"||pt||er!=="exception"&&er!=="success"?Ft=Sr(R(me),R(Tn)):er==="exception"?Ft=oe?o.createElement(q.Z,null):o.createElement(ee.Z,null):er==="success"&&(Ft=oe?o.createElement(L.Z,null):o.createElement(Re.Z,null)),o.createElement("span",{className:y()(`${Ar}-text`,{[`${Ar}-text-bright`]:br,[`${Ar}-text-${Pt}`]:Be,[`${Ar}-text-${it}`]:Be}),title:typeof Ft=="string"?Ft:void 0},Ft)},[Se,me,Et,er,Me,Ar,pt]);let $r;Me==="line"?$r=fe?o.createElement(pe,Object.assign({},ke,{strokeColor:Nt,prefixCls:Ar,steps:typeof fe=="object"?fe.count:fe}),zr):o.createElement(Y,Object.assign({},ke,{strokeColor:xt,prefixCls:Ar,direction:Cr,percentPosition:{align:Pt,type:it}}),zr):(Me==="circle"||Me==="dashboard")&&($r=o.createElement(te,Object.assign({},ke,{strokeColor:xt,prefixCls:Ar,progressStatus:er}),zr));const yn=y()(Ar,`${Ar}-status-${er}`,{[`${Ar}-${Me==="dashboard"&&"circle"||Me}`]:Me!=="line",[`${Ar}-inline-circle`]:Me==="circle"&&S(Ie,"circle")[0]<=20,[`${Ar}-line`]:Be,[`${Ar}-line-align-${Pt}`]:Be,[`${Ar}-line-position-${it}`]:Be,[`${Ar}-steps`]:fe,[`${Ar}-show-info`]:Se,[`${Ar}-${Ie}`]:typeof Ie=="string",[`${Ar}-rtl`]:Cr==="rtl"},qr==null?void 0:qr.className,_e,be,W,St);return x(o.createElement("div",Object.assign({ref:De,style:Object.assign(Object.assign({},qr==null?void 0:qr.style),$t),className:yn,role:"progressbar","aria-valuenow":Et,"aria-valuemin":0,"aria-valuemax":100},(0,G.Z)(Gt,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),$r))}),Ct=Le},47889:function(Yr,Xt,n){"use strict";n.d(Xt,{ZP:function(){return He}});var o=n(59301),qe=n(92310),L=n.n(qe),Re=n(18929),q=n(26112),ee=n(48755),_=n(83397),y=n(31756);const G=o.createContext(null),u=G.Provider;var B=G;const F=o.createContext(null),K=F.Provider;var R=n(16632),X=n(8654),M=n(12919),$=n(63872),S=n(74632),E=n(2171),ie=n(56553),J=n(36237),te=n(63356),$e=n(16931),Ne=n(51636);const Qe=pe=>{const{componentCls:Ue,antCls:ot}=pe,ct=`${Ue}-group`;return{[ct]:Object.assign(Object.assign({},(0,te.Wf)(pe)),{display:"inline-block",fontSize:0,[`&${ct}-rtl`]:{direction:"rtl"},[`&${ct}-block`]:{display:"flex"},[`${ot}-badge ${ot}-badge-count`]:{zIndex:1},[`> ${ot}-badge:not(:first-child) > ${ot}-button-wrapper`]:{borderInlineStart:"none"}})}},Ze=pe=>{const{componentCls:Ue,wrapperMarginInlineEnd:ot,colorPrimary:ct,radioSize:ue,motionDurationSlow:Le,motionDurationMid:Ct,motionEaseInOutCirc:ke,colorBgContainer:De,colorBorder:j,lineWidth:_e,colorBgContainerDisabled:be,colorTextDisabled:fe,paddingXS:he,dotColorDisabled:me,lineType:Ie,radioColor:Se,radioBgColor:Me,calc:Je}=pe,pt=`${Ue}-inner`,Yt=Je(ue).sub(Je(4).mul(2)),Gt=Je(1).mul(ue).equal({unit:!0});return{[`${Ue}-wrapper`]:Object.assign(Object.assign({},(0,te.Wf)(pe)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:ot,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${Ue}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:pe.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${Ue}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,J.unit)(_e)} ${Ie} ${ct}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[Ue]:Object.assign(Object.assign({},(0,te.Wf)(pe)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${Ue}-wrapper:hover &,
|
|
|
&:hover ${pt}`]:{borderColor:ct},[`${Ue}-input:focus-visible + ${pt}`]:Object.assign({},(0,te.oN)(pe)),[`${Ue}:hover::after, ${Ue}-wrapper:hover &::after`]:{visibility:"visible"},[`${Ue}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:Gt,height:Gt,marginBlockStart:Je(1).mul(ue).div(-2).equal({unit:!0}),marginInlineStart:Je(1).mul(ue).div(-2).equal({unit:!0}),backgroundColor:Se,borderBlockStart:0,borderInlineStart:0,borderRadius:Gt,transform:"scale(0)",opacity:0,transition:`all ${Le} ${ke}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:Gt,height:Gt,backgroundColor:De,borderColor:j,borderStyle:"solid",borderWidth:_e,borderRadius:"50%",transition:`all ${Ct}`},[`${Ue}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${Ue}-checked`]:{[pt]:{borderColor:ct,backgroundColor:Me,"&::after":{transform:`scale(${pe.calc(pe.dotSize).div(ue).equal()})`,opacity:1,transition:`all ${Le} ${ke}`}}},[`${Ue}-disabled`]:{cursor:"not-allowed",[pt]:{backgroundColor:be,borderColor:j,cursor:"not-allowed","&::after":{backgroundColor:me}},[`${Ue}-input`]:{cursor:"not-allowed"},[`${Ue}-disabled + span`]:{color:fe,cursor:"not-allowed"},[`&${Ue}-checked`]:{[pt]:{"&::after":{transform:`scale(${Je(Yt).div(ue).equal()})`}}}},[`span${Ue} + *`]:{paddingInlineStart:he,paddingInlineEnd:he}})}},we=pe=>{const{buttonColor:Ue,controlHeight:ot,componentCls:ct,lineWidth:ue,lineType:Le,colorBorder:Ct,motionDurationSlow:ke,motionDurationMid:De,buttonPaddingInline:j,fontSize:_e,buttonBg:be,fontSizeLG:fe,controlHeightLG:he,controlHeightSM:me,paddingXS:Ie,borderRadius:Se,borderRadiusSM:Me,borderRadiusLG:Je,buttonCheckedBg:pt,buttonSolidCheckedColor:$t,colorTextDisabled:Yt,colorBgContainerDisabled:Gt,buttonCheckedBgDisabled:Pt,buttonCheckedColorDisabled:it,colorPrimary:xt,colorPrimaryHover:Nt,colorPrimaryActive:Ht,buttonSolidCheckedBg:Et,buttonSolidCheckedHoverBg:er,buttonSolidCheckedActiveBg:lr,calc:Cr}=pe;return{[`${ct}-button-wrapper`]:{position:"relative",display:"inline-block",height:ot,margin:0,paddingInline:j,paddingBlock:0,color:Ue,fontSize:_e,lineHeight:(0,J.unit)(Cr(ot).sub(Cr(ue).mul(2)).equal()),background:be,border:`${(0,J.unit)(ue)} ${Le} ${Ct}`,borderBlockStartWidth:Cr(ue).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:ue,cursor:"pointer",transition:[`color ${De}`,`background ${De}`,`box-shadow ${De}`].join(","),a:{color:Ue},[`> ${ct}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:Cr(ue).mul(-1).equal(),insetInlineStart:Cr(ue).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:ue,paddingInline:0,backgroundColor:Ct,transition:`background-color ${ke}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,J.unit)(ue)} ${Le} ${Ct}`,borderStartStartRadius:Se,borderEndStartRadius:Se},"&:last-child":{borderStartEndRadius:Se,borderEndEndRadius:Se},"&:first-child:last-child":{borderRadius:Se},[`${ct}-group-large &`]:{height:he,fontSize:fe,lineHeight:(0,J.unit)(Cr(he).sub(Cr(ue).mul(2)).equal()),"&:first-child":{borderStartStartRadius:Je,borderEndStartRadius:Je},"&:last-child":{borderStartEndRadius:Je,borderEndEndRadius:Je}},[`${ct}-group-small &`]:{height:me,paddingInline:Cr(Ie).sub(ue).equal(),paddingBlock:0,lineHeight:(0,J.unit)(Cr(me).sub(Cr(ue).mul(2)).equal()),"&:first-child":{borderStartStartRadius:Me,borderEndStartRadius:Me},"&:last-child":{borderStartEndRadius:Me,borderEndEndRadius:Me}},"&:hover":{position:"relative",color:xt},"&:has(:focus-visible)":Object.assign({},(0,te.oN)(pe)),[`${ct}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${ct}-button-wrapper-disabled)`]:{zIndex:1,color:xt,background:pt,borderColor:xt,"&::before":{backgroundColor:xt},"&:first-child":{borderColor:xt},"&:hover":{color:Nt,borderColor:Nt,"&::before":{backgroundColor:Nt}},"&:active":{color:Ht,borderColor:Ht,"&::before":{backgroundColor:Ht}}},[`${ct}-group-solid &-checked:not(${ct}-button-wrapper-disabled)`]:{color:$t,background:Et,borderColor:Et,"&:hover":{color:$t,background:er,borderColor:er},"&:active":{color:$t,background:lr,borderColor:lr}},"&-disabled":{color:Yt,backgroundColor:Gt,borderColor:Ct,cursor:"not-allowed","&:first-child, &:hover":{color:Yt,backgroundColor:Gt,borderColor:Ct}},[`&-disabled${ct}-button-wrapper-checked`]:{color:it,backgroundColor:Pt,borderColor:Ct,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},xe=pe=>{const{wireframe:Ue,padding:ot,marginXS:ct,lineWidth:ue,fontSizeLG:Le,colorText:Ct,colorBgContainer:ke,colorTextDisabled:De,controlItemBgActiveDisabled:j,colorTextLightSolid:_e,colorPrimary:be,colorPrimaryHover:fe,colorPrimaryActive:he,colorWhite:me}=pe,Ie=4,Se=Le,Me=Ue?Se-Ie*2:Se-(Ie+ue)*2;return{radioSize:Se,dotSize:Me,dotColorDisabled:De,buttonSolidCheckedColor:_e,buttonSolidCheckedBg:be,buttonSolidCheckedHoverBg:fe,buttonSolidCheckedActiveBg:he,buttonBg:ke,buttonCheckedBg:ke,buttonColor:Ct,buttonCheckedBgDisabled:j,buttonCheckedColorDisabled:De,buttonPaddingInline:ot-ue,wrapperMarginInlineEnd:ct,radioColor:Ue?be:me,radioBgColor:Ue?ke:be}};var Q=(0,$e.I$)("Radio",pe=>{const{controlOutline:Ue,controlOutlineWidth:ot}=pe,ct=`0 0 0 ${(0,J.unit)(ot)} ${Ue}`,ue=ct,Le=(0,Ne.mergeToken)(pe,{radioFocusShadow:ct,radioButtonFocusShadow:ue});return[Qe(Le),Ze(Le),we(Le)]},xe,{unitless:{radioSize:!0,dotSize:!0}}),ye=function(pe,Ue){var ot={};for(var ct in pe)Object.prototype.hasOwnProperty.call(pe,ct)&&Ue.indexOf(ct)<0&&(ot[ct]=pe[ct]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,ct=Object.getOwnPropertySymbols(pe);ue<ct.length;ue++)Ue.indexOf(ct[ue])<0&&Object.prototype.propertyIsEnumerable.call(pe,ct[ue])&&(ot[ct[ue]]=pe[ct[ue]]);return ot};const N=(pe,Ue)=>{var ot,ct;const ue=o.useContext(B),Le=o.useContext(F),{getPrefixCls:Ct,direction:ke,radio:De}=o.useContext(ee.E_),j=o.useRef(null),_e=(0,X.sQ)(Ue,j),{isFormItemInput:be}=o.useContext(ie.aM),fe=qr=>{var Ar,x;(Ar=pe.onChange)===null||Ar===void 0||Ar.call(pe,qr),(x=ue==null?void 0:ue.onChange)===null||x===void 0||x.call(ue,qr)},{prefixCls:he,className:me,rootClassName:Ie,children:Se,style:Me,title:Je}=pe,pt=ye(pe,["prefixCls","className","rootClassName","children","style","title"]),$t=Ct("radio",he),Yt=((ue==null?void 0:ue.optionType)||Le)==="button",Gt=Yt?`${$t}-button`:$t,Pt=(0,_.Z)($t),[it,xt,Nt]=Q($t,Pt),Ht=Object.assign({},pt),Et=o.useContext(E.Z);ue&&(Ht.name=ue.name,Ht.onChange=fe,Ht.checked=pe.value===ue.value,Ht.disabled=(ot=Ht.disabled)!==null&&ot!==void 0?ot:ue.disabled),Ht.disabled=(ct=Ht.disabled)!==null&&ct!==void 0?ct:Et;const er=L()(`${Gt}-wrapper`,{[`${Gt}-wrapper-checked`]:Ht.checked,[`${Gt}-wrapper-disabled`]:Ht.disabled,[`${Gt}-wrapper-rtl`]:ke==="rtl",[`${Gt}-wrapper-in-form-item`]:be,[`${Gt}-wrapper-block`]:!!(ue!=null&&ue.block)},De==null?void 0:De.className,me,Ie,xt,Nt,Pt),[lr,Cr]=(0,S.Z)(Ht.onClick);return it(o.createElement(M.Z,{component:"Radio",disabled:Ht.disabled},o.createElement("label",{className:er,style:Object.assign(Object.assign({},De==null?void 0:De.style),Me),onMouseEnter:pe.onMouseEnter,onMouseLeave:pe.onMouseLeave,title:Je,onClick:lr},o.createElement(R.Z,Object.assign({},Ht,{className:L()(Ht.className,{[$.A]:!Yt}),type:"radio",prefixCls:Gt,ref:_e,onClick:Cr})),Se!==void 0?o.createElement("span",{className:`${Gt}-label`},Se):null)))};var nt=o.forwardRef(N),ce=n(80402);const le=o.forwardRef((pe,Ue)=>{const{getPrefixCls:ot,direction:ct}=o.useContext(ee.E_),ue=(0,ce.Z)(),{prefixCls:Le,className:Ct,rootClassName:ke,options:De,buttonStyle:j="outline",disabled:_e,children:be,size:fe,style:he,id:me,optionType:Ie,name:Se=ue,defaultValue:Me,value:Je,block:pt=!1,onChange:$t,onMouseEnter:Yt,onMouseLeave:Gt,onFocus:Pt,onBlur:it}=pe,[xt,Nt]=(0,Re.Z)(Me,{value:Je}),Ht=o.useCallback(Be=>{const zr=xt,$r=Be.target.value;"value"in pe||Nt($r),$r!==zr&&($t==null||$t(Be))},[xt,Nt,$t]),Et=ot("radio",Le),er=`${Et}-group`,lr=(0,_.Z)(Et),[Cr,qr,Ar]=Q(Et,lr);let x=be;De&&De.length>0&&(x=De.map(Be=>typeof Be=="string"||typeof Be=="number"?o.createElement(nt,{key:Be.toString(),prefixCls:Et,disabled:_e,value:Be,checked:xt===Be},Be):o.createElement(nt,{key:`radio-group-value-options-${Be.value}`,prefixCls:Et,disabled:Be.disabled||_e,value:Be.value,checked:xt===Be.value,title:Be.title,style:Be.style,id:Be.id,required:Be.required},Be.label)));const W=(0,y.Z)(fe),St=L()(er,`${er}-${j}`,{[`${er}-${W}`]:W,[`${er}-rtl`]:ct==="rtl",[`${er}-block`]:pt},Ct,ke,qr,Ar,lr),oe=o.useMemo(()=>({onChange:Ht,value:xt,disabled:_e,name:Se,optionType:Ie,block:pt}),[Ht,xt,_e,Se,Ie,pt]);return Cr(o.createElement("div",Object.assign({},(0,q.Z)(pe,{aria:!0,data:!0}),{className:St,style:he,onMouseEnter:Yt,onMouseLeave:Gt,onFocus:Pt,onBlur:it,id:me,ref:Ue}),o.createElement(u,{value:oe},x)))});var w=o.memo(le),k=function(pe,Ue){var ot={};for(var ct in pe)Object.prototype.hasOwnProperty.call(pe,ct)&&Ue.indexOf(ct)<0&&(ot[ct]=pe[ct]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,ct=Object.getOwnPropertySymbols(pe);ue<ct.length;ue++)Ue.indexOf(ct[ue])<0&&Object.prototype.propertyIsEnumerable.call(pe,ct[ue])&&(ot[ct[ue]]=pe[ct[ue]]);return ot};const z=(pe,Ue)=>{const{getPrefixCls:ot}=o.useContext(ee.E_),{prefixCls:ct}=pe,ue=k(pe,["prefixCls"]),Le=ot("radio",ct);return o.createElement(K,{value:"button"},o.createElement(nt,Object.assign({prefixCls:Le},ue,{type:"radio",ref:Ue})))};var C=o.forwardRef(z);const Y=nt;Y.Button=C,Y.Group=w,Y.__ANT_RADIO=!0;var He=Y},58018:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return Ze}});var o=n(59301),qe=n(54476),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Re=L,q=n(7657),ee=function(xe,Q){return o.createElement(q.Z,(0,qe.Z)({},xe,{ref:Q,icon:Re}))},_=o.forwardRef(ee),y=_,G=n(92310),u=n.n(G),B=n(738),F=n(48755),K=n(25399),R=n(36237),X=n(63356),M=n(16931),$=n(51636);const S=we=>{const{componentCls:xe}=we;return{[`${xe}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:we.marginXS},"> div":{transition:`all ${we.motionDurationMid}, outline 0s`,"&:hover":{transform:we.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,R.unit)(we.lineWidth)} dashed ${we.starColor}`,transform:we.starHoverScale}},"&-first, &-second":{color:we.starBg,transition:`all ${we.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${xe}-star-first, &-half ${xe}-star-second`]:{opacity:1},[`&-half ${xe}-star-first, &-full ${xe}-star-second`]:{color:"inherit"}}}},E=we=>({[`&-rtl${we.componentCls}`]:{direction:"rtl"}}),ie=we=>{const{componentCls:xe}=we;return{[xe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,X.Wf)(we)),{display:"inline-block",margin:0,padding:0,color:we.starColor,fontSize:we.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${xe} ${xe}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),S(we)),E(we))}},J=we=>({starColor:we.yellow6,starSize:we.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:we.colorFillContent});var te=(0,M.I$)("Rate",we=>{const xe=(0,$.mergeToken)(we,{});return[ie(xe)]},J),$e=n(2171),Ne=function(we,xe){var Q={};for(var ye in we)Object.prototype.hasOwnProperty.call(we,ye)&&xe.indexOf(ye)<0&&(Q[ye]=we[ye]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,ye=Object.getOwnPropertySymbols(we);N<ye.length;N++)xe.indexOf(ye[N])<0&&Object.prototype.propertyIsEnumerable.call(we,ye[N])&&(Q[ye[N]]=we[ye[N]]);return Q},Ze=o.forwardRef((we,xe)=>{const{prefixCls:Q,className:ye,rootClassName:N,style:I,tooltips:nt,character:ce=o.createElement(y,null),disabled:le}=we,w=Ne(we,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),k=(Ct,ke)=>{let{index:De}=ke;return nt?o.createElement(K.Z,{title:nt[De]},Ct):Ct},{getPrefixCls:z,direction:C,rate:Y}=o.useContext(F.E_),He=z("rate",Q),[pe,Ue,ot]=te(He),ct=Object.assign(Object.assign({},Y==null?void 0:Y.style),I),ue=o.useContext($e.Z),Le=le!=null?le:ue;return pe(o.createElement(B.Z,Object.assign({ref:xe,character:ce,characterRender:k,disabled:Le},w,{className:u()(ye,N,Ue,ot,Y==null?void 0:Y.className),style:ct,prefixCls:He,direction:C})))})},82326:function(Yr,Xt,n){"use strict";var o=n(59301),qe=n(92310),L=n.n(qe),Re=n(37463),q=n(2738),ee=n(75030),_=n(86641),y=n(45915),G=n(82855),u=n(48755),B=n(38406),F=n(2171),K=n(83397),R=n(31756),X=n(56553),M=n(24971),$=n(70045),S=n(57700),E=n(1722),ie=n(90376),J=n(68525),te=n(90005),$e=function(xe,Q){var ye={};for(var N in xe)Object.prototype.hasOwnProperty.call(xe,N)&&Q.indexOf(N)<0&&(ye[N]=xe[N]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,N=Object.getOwnPropertySymbols(xe);I<N.length;I++)Q.indexOf(N[I])<0&&Object.prototype.propertyIsEnumerable.call(xe,N[I])&&(ye[N[I]]=xe[N[I]]);return ye};const Ne="SECRET_COMBOBOX_MODE_DO_NOT_USE",Qe=(xe,Q)=>{var ye;const{prefixCls:N,bordered:I,className:nt,rootClassName:ce,getPopupContainer:le,popupClassName:w,dropdownClassName:k,listHeight:z=256,placement:C,listItemHeight:Y,size:He,disabled:pe,notFoundContent:Ue,status:ot,builtinPlacements:ct,dropdownMatchSelectWidth:ue,popupMatchSelectWidth:Le,direction:Ct,style:ke,allowClear:De,variant:j,dropdownStyle:_e,transitionName:be,tagRender:fe,maxCount:he,prefix:me}=xe,Ie=$e(xe,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:Se,getPrefixCls:Me,renderEmpty:Je,direction:pt,virtual:$t,popupMatchSelectWidth:Yt,popupOverflow:Gt}=o.useContext(u.E_),Pt=(0,u.dj)("select"),[,it]=(0,S.ZP)(),xt=Y!=null?Y:it==null?void 0:it.controlHeight,Nt=Me("select",N),Ht=Me(),Et=Ct!=null?Ct:pt,{compactSize:er,compactItemClassnames:lr}=(0,$.ri)(Nt,Et),[Cr,qr]=(0,M.Z)("select",j,I),Ar=(0,K.Z)(Nt),[x,W,St]=(0,ie.Z)(Nt,Ar),oe=o.useMemo(()=>{const{mode:ge}=xe;if(ge!=="combobox")return ge===Ne?"combobox":ge},[xe.mode]),Be=oe==="multiple"||oe==="tags",zr=(0,te.Z)(xe.suffixIcon,xe.showArrow),$r=(ye=Le!=null?Le:ue)!==null&&ye!==void 0?ye:Yt,{status:yn,hasFeedback:Tn,isFormItemInput:Ft,feedbackIcon:Sr}=o.useContext(X.aM),br=(0,G.F)(yn,ot);let Br;Ue!==void 0?Br=Ue:oe==="combobox"?Br=null:Br=(Je==null?void 0:Je("Select"))||o.createElement(B.Z,{componentName:"Select"});const{suffixIcon:h,itemIcon:D,removeIcon:Ee,clearIcon:ne}=(0,J.Z)(Object.assign(Object.assign({},Ie),{multiple:Be,hasFeedback:Tn,feedbackIcon:Sr,showSuffixIcon:zr,prefixCls:Nt,componentName:"Select"})),lt=De===!0?{clearIcon:ne}:De,pn=(0,q.Z)(Ie,["suffixIcon","itemIcon"]),mt=L()(w||k,{[`${Nt}-dropdown-${Et}`]:Et==="rtl"},ce,St,Ar,W),Ut=(0,R.Z)(ge=>{var mr;return(mr=He!=null?He:er)!==null&&mr!==void 0?mr:ge}),Ur=o.useContext(F.Z),Pr=pe!=null?pe:Ur,Jr=L()({[`${Nt}-lg`]:Ut==="large",[`${Nt}-sm`]:Ut==="small",[`${Nt}-rtl`]:Et==="rtl",[`${Nt}-${Cr}`]:qr,[`${Nt}-in-form-item`]:Ft},(0,G.Z)(Nt,br,Tn),lr,Pt.className,nt,ce,St,Ar,W),gn=o.useMemo(()=>C!==void 0?C:Et==="rtl"?"bottomRight":"bottomLeft",[C,Et]),[Jn]=(0,ee.Cn)("SelectLike",_e==null?void 0:_e.zIndex);return x(o.createElement(Re.ZP,Object.assign({ref:Q,virtual:$t,showSearch:Pt.showSearch},pn,{style:Object.assign(Object.assign({},Pt.style),ke),dropdownMatchSelectWidth:$r,transitionName:(0,_.m)(Ht,"slide-up",be),builtinPlacements:(0,E.Z)(ct,Gt),listHeight:z,listItemHeight:xt,mode:oe,prefixCls:Nt,placement:gn,direction:Et,prefix:me,suffixIcon:h,menuItemSelectedIcon:D,removeIcon:Ee,allowClear:lt,notFoundContent:Br,className:Jr,getPopupContainer:le||Se,dropdownClassName:mt,disabled:Pr,dropdownStyle:Object.assign(Object.assign({},_e),{zIndex:Jn}),maxCount:Be?he:void 0,tagRender:Be?fe:void 0})))},Ze=o.forwardRef(Qe),we=(0,y.Z)(Ze,"dropdownAlign");Ze.SECRET_COMBOBOX_MODE_DO_NOT_USE=Ne,Ze.Option=Re.Wx,Ze.OptGroup=Re.Xo,Ze._InternalPanelDoNotUseOrYouWillBeFired=we,Xt.default=Ze},1722:function(Yr,Xt){"use strict";const n=qe=>{const Re={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:qe==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},Re),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Re),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Re),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Re),{points:["br","tr"],offset:[0,-4]})}};function o(qe,L){return qe||n(L)}Xt.Z=o},90376:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return N}});var o=n(63356),qe=n(56119),L=n(16931),Re=n(51636),q=n(46e3),ee=n(93873);const _=I=>{const{optionHeight:nt,optionFontSize:ce,optionLineHeight:le,optionPadding:w}=I;return{position:"relative",display:"block",minHeight:nt,padding:w,color:I.colorText,fontWeight:"normal",fontSize:ce,lineHeight:le,boxSizing:"border-box"}};var G=I=>{const{antCls:nt,componentCls:ce}=I,le=`${ce}-item`,w=`&${nt}-slide-up-enter${nt}-slide-up-enter-active`,k=`&${nt}-slide-up-appear${nt}-slide-up-appear-active`,z=`&${nt}-slide-up-leave${nt}-slide-up-leave-active`,C=`${ce}-dropdown-placement-`,Y=`${le}-option-selected`;return[{[`${ce}-dropdown`]:Object.assign(Object.assign({},(0,o.Wf)(I)),{position:"absolute",top:-9999,zIndex:I.zIndexPopup,boxSizing:"border-box",padding:I.paddingXXS,overflow:"hidden",fontSize:I.fontSize,fontVariant:"initial",backgroundColor:I.colorBgElevated,borderRadius:I.borderRadiusLG,outline:"none",boxShadow:I.boxShadowSecondary,[`
|
|
|
${w}${C}bottomLeft,
|
|
|
${k}${C}bottomLeft
|
|
|
`]:{animationName:q.fJ},[`
|
|
|
${w}${C}topLeft,
|
|
|
${k}${C}topLeft,
|
|
|
${w}${C}topRight,
|
|
|
${k}${C}topRight
|
|
|
`]:{animationName:q.Qt},[`${z}${C}bottomLeft`]:{animationName:q.Uw},[`
|
|
|
${z}${C}topLeft,
|
|
|
${z}${C}topRight
|
|
|
`]:{animationName:q.ly},"&-hidden":{display:"none"},[le]:Object.assign(Object.assign({},_(I)),{cursor:"pointer",transition:`background ${I.motionDurationSlow} ease`,borderRadius:I.borderRadiusSM,"&-group":{color:I.colorTextDescription,fontSize:I.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},o.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${le}-option-disabled)`]:{backgroundColor:I.optionActiveBg},[`&-selected:not(${le}-option-disabled)`]:{color:I.optionSelectedColor,fontWeight:I.optionSelectedFontWeight,backgroundColor:I.optionSelectedBg,[`${le}-option-state`]:{color:I.colorPrimary}},"&-disabled":{[`&${le}-option-selected`]:{backgroundColor:I.colorBgContainerDisabled},color:I.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:I.calc(I.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},_(I)),{color:I.colorTextDisabled})}),[`${Y}:has(+ ${Y})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Y}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,q.oN)(I,"slide-up"),(0,q.oN)(I,"slide-down"),(0,ee.Fm)(I,"move-up"),(0,ee.Fm)(I,"move-down")]},u=n(26743),B=n(36237);function F(I,nt){const{componentCls:ce,inputPaddingHorizontalBase:le,borderRadius:w}=I,k=I.calc(I.controlHeight).sub(I.calc(I.lineWidth).mul(2)).equal(),z=nt?`${ce}-${nt}`:"";return{[`${ce}-single${z}`]:{fontSize:I.fontSize,height:I.controlHeight,[`${ce}-selector`]:Object.assign(Object.assign({},(0,o.Wf)(I,!0)),{display:"flex",borderRadius:w,flex:"1 1 auto",[`${ce}-selection-wrap:after`]:{lineHeight:(0,B.unit)(k)},[`${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,B.unit)(k),transition:`all ${I.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:I.showArrowPaddingInlineEnd},[`&${ce}-open ${ce}-selection-item`]:{color:I.colorTextPlaceholder},[`&:not(${ce}-customize-input)`]:{[`${ce}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,B.unit)(le)}`,[`${ce}-selection-search-input`]:{height:k,fontSize:I.fontSize},"&:after":{lineHeight:(0,B.unit)(k)}}},[`&${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,B.unit)(le)}`,"&:after":{display:"none"}}}}}}}function K(I){const{componentCls:nt}=I,ce=I.calc(I.controlPaddingHorizontalSM).sub(I.lineWidth).equal();return[F(I),F((0,Re.mergeToken)(I,{controlHeight:I.controlHeightSM,borderRadius:I.borderRadiusSM}),"sm"),{[`${nt}-single${nt}-sm`]:{[`&:not(${nt}-customize-input)`]:{[`${nt}-selector`]:{padding:`0 ${(0,B.unit)(ce)}`},[`&${nt}-show-arrow ${nt}-selection-search`]:{insetInlineEnd:I.calc(ce).add(I.calc(I.fontSize).mul(1.5)).equal()},[`
|
|
|
&${nt}-show-arrow ${nt}-selection-item,
|
|
|
&${nt}-show-arrow ${nt}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:I.calc(I.fontSize).mul(1.5).equal()}}}},F((0,Re.mergeToken)(I,{controlHeight:I.singleItemHeightLG,fontSize:I.fontSizeLG,borderRadius:I.borderRadiusLG}),"lg")]}const R=I=>{const{fontSize:nt,lineHeight:ce,lineWidth:le,controlHeight:w,controlHeightSM:k,controlHeightLG:z,paddingXXS:C,controlPaddingHorizontal:Y,zIndexPopupBase:He,colorText:pe,fontWeightStrong:Ue,controlItemBgActive:ot,controlItemBgHover:ct,colorBgContainer:ue,colorFillSecondary:Le,colorBgContainerDisabled:Ct,colorTextDisabled:ke,colorPrimaryHover:De,colorPrimary:j,controlOutline:_e}=I,be=C*2,fe=le*2,he=Math.min(w-be,w-fe),me=Math.min(k-be,k-fe),Ie=Math.min(z-be,z-fe);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(C/2),zIndexPopup:He+50,optionSelectedColor:pe,optionSelectedFontWeight:Ue,optionSelectedBg:ot,optionActiveBg:ct,optionPadding:`${(w-nt*ce)/2}px ${Y}px`,optionFontSize:nt,optionLineHeight:ce,optionHeight:w,selectorBg:ue,clearBg:ue,singleItemHeightLG:z,multipleItemBg:Le,multipleItemBorderColor:"transparent",multipleItemHeight:he,multipleItemHeightSM:me,multipleItemHeightLG:Ie,multipleSelectorBgDisabled:Ct,multipleItemColorDisabled:ke,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(I.fontSize*1.25),hoverBorderColor:De,activeBorderColor:j,activeOutlineColor:_e,selectAffixPadding:C}},X=(I,nt)=>{const{componentCls:ce,antCls:le,controlOutlineWidth:w}=I;return{[`&:not(${ce}-customize-input) ${ce}-selector`]:{border:`${(0,B.unit)(I.lineWidth)} ${I.lineType} ${nt.borderColor}`,background:I.selectorBg},[`&:not(${ce}-disabled):not(${ce}-customize-input):not(${le}-pagination-size-changer)`]:{[`&:hover ${ce}-selector`]:{borderColor:nt.hoverBorderHover},[`${ce}-focused& ${ce}-selector`]:{borderColor:nt.activeBorderColor,boxShadow:`0 0 0 ${(0,B.unit)(w)} ${nt.activeOutlineColor}`,outline:0},[`${ce}-prefix`]:{color:nt.color}}}},M=(I,nt)=>({[`&${I.componentCls}-status-${nt.status}`]:Object.assign({},X(I,nt))}),$=I=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},X(I,{borderColor:I.colorBorder,hoverBorderHover:I.hoverBorderColor,activeBorderColor:I.activeBorderColor,activeOutlineColor:I.activeOutlineColor,color:I.colorText})),M(I,{status:"error",borderColor:I.colorError,hoverBorderHover:I.colorErrorHover,activeBorderColor:I.colorError,activeOutlineColor:I.colorErrorOutline,color:I.colorError})),M(I,{status:"warning",borderColor:I.colorWarning,hoverBorderHover:I.colorWarningHover,activeBorderColor:I.colorWarning,activeOutlineColor:I.colorWarningOutline,color:I.colorWarning})),{[`&${I.componentCls}-disabled`]:{[`&:not(${I.componentCls}-customize-input) ${I.componentCls}-selector`]:{background:I.colorBgContainerDisabled,color:I.colorTextDisabled}},[`&${I.componentCls}-multiple ${I.componentCls}-selection-item`]:{background:I.multipleItemBg,border:`${(0,B.unit)(I.lineWidth)} ${I.lineType} ${I.multipleItemBorderColor}`}})}),S=(I,nt)=>{const{componentCls:ce,antCls:le}=I;return{[`&:not(${ce}-customize-input) ${ce}-selector`]:{background:nt.bg,border:`${(0,B.unit)(I.lineWidth)} ${I.lineType} transparent`,color:nt.color},[`&:not(${ce}-disabled):not(${ce}-customize-input):not(${le}-pagination-size-changer)`]:{[`&:hover ${ce}-selector`]:{background:nt.hoverBg},[`${ce}-focused& ${ce}-selector`]:{background:I.selectorBg,borderColor:nt.activeBorderColor,outline:0}}}},E=(I,nt)=>({[`&${I.componentCls}-status-${nt.status}`]:Object.assign({},S(I,nt))}),ie=I=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},S(I,{bg:I.colorFillTertiary,hoverBg:I.colorFillSecondary,activeBorderColor:I.activeBorderColor,color:I.colorText})),E(I,{status:"error",bg:I.colorErrorBg,hoverBg:I.colorErrorBgHover,activeBorderColor:I.colorError,color:I.colorError})),E(I,{status:"warning",bg:I.colorWarningBg,hoverBg:I.colorWarningBgHover,activeBorderColor:I.colorWarning,color:I.colorWarning})),{[`&${I.componentCls}-disabled`]:{[`&:not(${I.componentCls}-customize-input) ${I.componentCls}-selector`]:{borderColor:I.colorBorder,background:I.colorBgContainerDisabled,color:I.colorTextDisabled}},[`&${I.componentCls}-multiple ${I.componentCls}-selection-item`]:{background:I.colorBgContainer,border:`${(0,B.unit)(I.lineWidth)} ${I.lineType} ${I.colorSplit}`}})}),J=I=>({"&-borderless":{[`${I.componentCls}-selector`]:{background:"transparent",border:`${(0,B.unit)(I.lineWidth)} ${I.lineType} transparent`},[`&${I.componentCls}-disabled`]:{[`&:not(${I.componentCls}-customize-input) ${I.componentCls}-selector`]:{color:I.colorTextDisabled}},[`&${I.componentCls}-multiple ${I.componentCls}-selection-item`]:{background:I.multipleItemBg,border:`${(0,B.unit)(I.lineWidth)} ${I.lineType} ${I.multipleItemBorderColor}`},[`&${I.componentCls}-status-error`]:{[`${I.componentCls}-prefix, ${I.componentCls}-selection-item`]:{color:I.colorError}},[`&${I.componentCls}-status-warning`]:{[`${I.componentCls}-prefix, ${I.componentCls}-selection-item`]:{color:I.colorWarning}}}}),te=(I,nt)=>{const{componentCls:ce,antCls:le}=I;return{[`&:not(${ce}-customize-input) ${ce}-selector`]:{borderWidth:`0 0 ${(0,B.unit)(I.lineWidth)} 0`,borderStyle:`none none ${I.lineType} none`,borderColor:nt.borderColor,background:I.selectorBg,borderRadius:0},[`&:not(${ce}-disabled):not(${ce}-customize-input):not(${le}-pagination-size-changer)`]:{[`&:hover ${ce}-selector`]:{borderColor:nt.hoverBorderHover},[`${ce}-focused& ${ce}-selector`]:{borderColor:nt.activeBorderColor,outline:0},[`${ce}-prefix`]:{color:nt.color}}}},$e=(I,nt)=>({[`&${I.componentCls}-status-${nt.status}`]:Object.assign({},te(I,nt))}),Ne=I=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},te(I,{borderColor:I.colorBorder,hoverBorderHover:I.hoverBorderColor,activeBorderColor:I.activeBorderColor,activeOutlineColor:I.activeOutlineColor,color:I.colorText})),$e(I,{status:"error",borderColor:I.colorError,hoverBorderHover:I.colorErrorHover,activeBorderColor:I.colorError,activeOutlineColor:I.colorErrorOutline,color:I.colorError})),$e(I,{status:"warning",borderColor:I.colorWarning,hoverBorderHover:I.colorWarningHover,activeBorderColor:I.colorWarning,activeOutlineColor:I.colorWarningOutline,color:I.colorWarning})),{[`&${I.componentCls}-disabled`]:{[`&:not(${I.componentCls}-customize-input) ${I.componentCls}-selector`]:{color:I.colorTextDisabled}},[`&${I.componentCls}-multiple ${I.componentCls}-selection-item`]:{background:I.multipleItemBg,border:`${(0,B.unit)(I.lineWidth)} ${I.lineType} ${I.multipleItemBorderColor}`}})});var Ze=I=>({[I.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},$(I)),ie(I)),J(I)),Ne(I))});const we=I=>{const{componentCls:nt}=I;return{position:"relative",transition:`all ${I.motionDurationMid} ${I.motionEaseInOut}`,input:{cursor:"pointer"},[`${nt}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${nt}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},xe=I=>{const{componentCls:nt}=I;return{[`${nt}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},Q=I=>{const{antCls:nt,componentCls:ce,inputPaddingHorizontalBase:le,iconCls:w}=I;return{[ce]:Object.assign(Object.assign({},(0,o.Wf)(I)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${ce}-customize-input) ${ce}-selector`]:Object.assign(Object.assign({},we(I)),xe(I)),[`${ce}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},o.vS),{[`> ${nt}-typography`]:{display:"inline"}}),[`${ce}-selection-placeholder`]:Object.assign(Object.assign({},o.vS),{flex:1,color:I.colorTextPlaceholder,pointerEvents:"none"}),[`${ce}-arrow`]:Object.assign(Object.assign({},(0,o.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:le,height:I.fontSizeIcon,marginTop:I.calc(I.fontSizeIcon).mul(-1).div(2).equal(),color:I.colorTextQuaternary,fontSize:I.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${I.motionDurationSlow} ease`,[w]:{verticalAlign:"top",transition:`transform ${I.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${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:I.selectAffixPadding},[`${ce}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:le,zIndex:1,display:"inline-block",width:I.fontSizeIcon,height:I.fontSizeIcon,marginTop:I.calc(I.fontSizeIcon).mul(-1).div(2).equal(),color:I.colorTextQuaternary,fontSize:I.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${I.motionDurationMid} ease, opacity ${I.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:I.colorTextTertiary}},[`&:hover ${ce}-clear`]:{opacity:1,background:I.colorBgBase,borderRadius:"50%"}}),[`${ce}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${ce}-has-feedback`]:{[`${ce}-clear`]:{insetInlineEnd:I.calc(le).add(I.fontSize).add(I.paddingXS).equal()}}}}}},ye=I=>{const{componentCls:nt}=I;return[{[nt]:{[`&${nt}-in-form-item`]:{width:"100%"}}},Q(I),K(I),(0,u.ZP)(I),G(I),{[`${nt}-rtl`]:{direction:"rtl"}},(0,qe.c)(I,{borderElCls:`${nt}-selector`,focusElCls:`${nt}-focused`})]};var N=(0,L.I$)("Select",(I,nt)=>{let{rootPrefixCls:ce}=nt;const le=(0,Re.mergeToken)(I,{rootPrefixCls:ce,inputPaddingHorizontalBase:I.calc(I.paddingSM).sub(1).equal(),multipleSelectItemHeight:I.multipleItemHeight,selectHeight:I.controlHeight});return[ye(le),Ze(le)]},R,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Yr,Xt,n){"use strict";n.d(Xt,{_z:function(){return ee},gp:function(){return Re}});var o=n(36237),qe=n(63356),L=n(51636);const Re=u=>{const{multipleSelectItemHeight:B,paddingXXS:F,lineWidth:K,INTERNAL_FIXED_ITEM_MARGIN:R}=u,X=u.max(u.calc(F).sub(K).equal(),0),M=u.max(u.calc(X).sub(R).equal(),0);return{basePadding:X,containerPadding:M,itemHeight:(0,o.unit)(B),itemLineHeight:(0,o.unit)(u.calc(B).sub(u.calc(u.lineWidth).mul(2)).equal())}},q=u=>{const{multipleSelectItemHeight:B,selectHeight:F,lineWidth:K}=u;return u.calc(F).sub(B).div(2).sub(K).equal()},ee=u=>{const{componentCls:B,iconCls:F,borderRadiusSM:K,motionDurationSlow:R,paddingXS:X,multipleItemColorDisabled:M,multipleItemBorderColorDisabled:$,colorIcon:S,colorIconHover:E,INTERNAL_FIXED_ITEM_MARGIN:ie}=u;return{[`${B}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${B}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:ie,borderRadius:K,cursor:"default",transition:`font-size ${R}, line-height ${R}, height ${R}`,marginInlineEnd:u.calc(ie).mul(2).equal(),paddingInlineStart:X,paddingInlineEnd:u.calc(X).div(2).equal(),[`${B}-disabled&`]:{color:M,borderColor:$,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:u.calc(X).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,qe.Ro)()),{display:"inline-flex",alignItems:"center",color:S,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${F}`]:{verticalAlign:"-0.2em"},"&:hover":{color:E}})}}}},_=(u,B)=>{const{componentCls:F,INTERNAL_FIXED_ITEM_MARGIN:K}=u,R=`${F}-selection-overflow`,X=u.multipleSelectItemHeight,M=q(u),$=B?`${F}-${B}`:"",S=Re(u);return{[`${F}-multiple${$}`]:Object.assign(Object.assign({},ee(u)),{[`${F}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:S.basePadding,paddingBlock:S.containerPadding,borderRadius:u.borderRadius,[`${F}-disabled&`]:{background:u.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,o.unit)(K)} 0`,lineHeight:(0,o.unit)(X),visibility:"hidden",content:'"\\a0"'}},[`${F}-selection-item`]:{height:S.itemHeight,lineHeight:(0,o.unit)(S.itemLineHeight)},[`${F}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,o.unit)(X),marginBlock:K}},[`${F}-prefix`]:{marginInlineStart:u.calc(u.inputPaddingHorizontalBase).sub(S.basePadding).equal()},[`${R}-item + ${R}-item,
|
|
|
${F}-prefix + ${F}-selection-wrap
|
|
|
`]:{[`${F}-selection-search`]:{marginInlineStart:0},[`${F}-selection-placeholder`]:{insetInlineStart:0}},[`${R}-item-suffix`]:{minHeight:S.itemHeight,marginBlock:K},[`${F}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:u.calc(u.inputPaddingHorizontalBase).sub(M).equal(),"\n &-input,\n &-mirror\n ":{height:X,fontFamily:u.fontFamily,lineHeight:(0,o.unit)(X),transition:`all ${u.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${F}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:u.calc(u.inputPaddingHorizontalBase).sub(S.basePadding).equal(),insetInlineEnd:u.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${u.motionDurationSlow}`}})}};function y(u,B){const{componentCls:F}=u,K=B?`${F}-${B}`:"",R={[`${F}-multiple${K}`]:{fontSize:u.fontSize,[`${F}-selector`]:{[`${F}-show-search&`]:{cursor:"text"}},[`
|
|
|
&${F}-show-arrow ${F}-selector,
|
|
|
&${F}-allow-clear ${F}-selector
|
|
|
`]:{paddingInlineEnd:u.calc(u.fontSizeIcon).add(u.controlPaddingHorizontal).equal()}}};return[_(u,B),R]}const G=u=>{const{componentCls:B}=u,F=(0,L.mergeToken)(u,{selectHeight:u.controlHeightSM,multipleSelectItemHeight:u.multipleItemHeightSM,borderRadius:u.borderRadiusSM,borderRadiusSM:u.borderRadiusXS}),K=(0,L.mergeToken)(u,{fontSize:u.fontSizeLG,selectHeight:u.controlHeightLG,multipleSelectItemHeight:u.multipleItemHeightLG,borderRadius:u.borderRadiusLG,borderRadiusSM:u.borderRadius});return[y(u),y(F,"sm"),{[`${B}-multiple${B}-sm`]:{[`${B}-selection-placeholder`]:{insetInline:u.calc(u.controlPaddingHorizontalSM).sub(u.lineWidth).equal()},[`${B}-selection-search`]:{marginInlineStart:2}}},y(K,"lg")]};Xt.ZP=G},68525:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return y}});var o=n(59301),qe=n(40001),L=n(19248),Re=n(99267),q=n(84105),ee=n(58617),_=n(47472);function y(G){let{suffixIcon:u,clearIcon:B,menuItemSelectedIcon:F,removeIcon:K,loading:R,multiple:X,hasFeedback:M,prefixCls:$,showSuffixIcon:S,feedbackIcon:E,showArrow:ie,componentName:J}=G;const te=B!=null?B:o.createElement(L.Z,null),$e=we=>u===null&&!M&&!ie?null:o.createElement(o.Fragment,null,S!==!1&&we,M&&E);let Ne=null;if(u!==void 0)Ne=$e(u);else if(R)Ne=$e(o.createElement(ee.Z,{spin:!0}));else{const we=`${$}-suffix`;Ne=xe=>{let{open:Q,showSearch:ye}=xe;return $e(Q&&ye?o.createElement(_.Z,{className:we}):o.createElement(q.Z,{className:we}))}}let Qe=null;F!==void 0?Qe=F:X?Qe=o.createElement(qe.Z,null):Qe=null;let Ze=null;return K!==void 0?Ze=K:Ze=o.createElement(Re.Z,null),{clearIcon:te,suffixIcon:Ne,itemIcon:Qe,removeIcon:Ze}}},90005:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return o}});function o(qe,L){return L!==void 0?L:qe!==null}},77736:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return $}});var o=n(59301),qe=n(92310),L=n.n(qe),Re=n(11592);function q(S){return["small","middle","large"].includes(S)}function ee(S){return S?typeof S=="number"&&!Number.isNaN(S):!1}var _=n(48755),y=n(70045);const G=o.createContext({latestIndex:0}),u=G.Provider;var F=S=>{let{className:E,index:ie,children:J,split:te,style:$e}=S;const{latestIndex:Ne}=o.useContext(G);return J==null?null:o.createElement(o.Fragment,null,o.createElement("div",{className:E,style:$e},J),ie<Ne&&te&&o.createElement("span",{className:`${E}-split`},te))},K=n(31547),R=function(S,E){var ie={};for(var J in S)Object.prototype.hasOwnProperty.call(S,J)&&E.indexOf(J)<0&&(ie[J]=S[J]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,J=Object.getOwnPropertySymbols(S);te<J.length;te++)E.indexOf(J[te])<0&&Object.prototype.propertyIsEnumerable.call(S,J[te])&&(ie[J[te]]=S[J[te]]);return ie};const M=o.forwardRef((S,E)=>{var ie;const{getPrefixCls:J,direction:te,size:$e,className:Ne,style:Qe,classNames:Ze,styles:we}=(0,_.dj)("space"),{size:xe=$e!=null?$e:"small",align:Q,className:ye,rootClassName:N,children:I,direction:nt="horizontal",prefixCls:ce,split:le,style:w,wrap:k=!1,classNames:z,styles:C}=S,Y=R(S,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[He,pe]=Array.isArray(xe)?xe:[xe,xe],Ue=q(pe),ot=q(He),ct=ee(pe),ue=ee(He),Le=(0,Re.Z)(I,{keepEmpty:!0}),Ct=Q===void 0&&nt==="horizontal"?"center":Q,ke=J("space",ce),[De,j,_e]=(0,K.Z)(ke),be=L()(ke,Ne,j,`${ke}-${nt}`,{[`${ke}-rtl`]:te==="rtl",[`${ke}-align-${Ct}`]:Ct,[`${ke}-gap-row-${pe}`]:Ue,[`${ke}-gap-col-${He}`]:ot},ye,N,_e),fe=L()(`${ke}-item`,(ie=z==null?void 0:z.item)!==null&&ie!==void 0?ie:Ze.item);let he=0;const me=Le.map((Me,Je)=>{var pt;Me!=null&&(he=Je);const $t=(Me==null?void 0:Me.key)||`${fe}-${Je}`;return o.createElement(F,{className:fe,key:$t,index:Je,split:le,style:(pt=C==null?void 0:C.item)!==null&&pt!==void 0?pt:we.item},Me)}),Ie=o.useMemo(()=>({latestIndex:he}),[he]);if(Le.length===0)return null;const Se={};return k&&(Se.flexWrap="wrap"),!ot&&ue&&(Se.columnGap=He),!Ue&&ct&&(Se.rowGap=pe),De(o.createElement("div",Object.assign({ref:E,className:be,style:Object.assign(Object.assign(Object.assign({},Se),Qe),w)},Y),o.createElement(u,{value:Ie},me)))});M.Compact=y.ZP;var $=M},11938:function(Yr,Xt,n){"use strict";n.d(Xt,{default:function(){return xe}});var o=n(59301),qe=n(40192),L=n(22703),Re=n(92310),q=n.n(Re),ee=n(26112),_=n(48755),y=n(458),u=Q=>{const{value:ye,formatter:N,precision:I,decimalSeparator:nt,groupSeparator:ce="",prefixCls:le}=Q;let w;if(typeof N=="function")w=N(ye);else{const k=String(ye),z=k.match(/^(-?)(\d*)(\.(\d+))?$/);if(!z||k==="-")w=k;else{const C=z[1];let Y=z[2]||"0",He=z[4]||"";Y=Y.replace(/\B(?=(\d{3})+(?!\d))/g,ce),typeof I=="number"&&(He=He.padEnd(I,"0").slice(0,I>0?I:0)),He&&(He=`${nt}${He}`),w=[o.createElement("span",{key:"int",className:`${le}-content-value-int`},C,Y),He&&o.createElement("span",{key:"decimal",className:`${le}-content-value-decimal`},He)]}}return o.createElement("span",{className:`${le}-content-value`},w)},B=n(63356),F=n(16931),K=n(51636);const R=Q=>{const{componentCls:ye,marginXXS:N,padding:I,colorTextDescription:nt,titleFontSize:ce,colorTextHeading:le,contentFontSize:w,fontFamily:k}=Q;return{[ye]:Object.assign(Object.assign({},(0,B.Wf)(Q)),{[`${ye}-title`]:{marginBottom:N,color:nt,fontSize:ce},[`${ye}-skeleton`]:{paddingTop:I},[`${ye}-content`]:{color:le,fontSize:w,fontFamily:k,[`${ye}-content-value`]:{display:"inline-block",direction:"ltr"},[`${ye}-content-prefix, ${ye}-content-suffix`]:{display:"inline-block"},[`${ye}-content-prefix`]:{marginInlineEnd:N},[`${ye}-content-suffix`]:{marginInlineStart:N}}})}},X=Q=>{const{fontSizeHeading3:ye,fontSize:N}=Q;return{titleFontSize:N,contentFontSize:ye}};var M=(0,F.I$)("Statistic",Q=>{const ye=(0,K.mergeToken)(Q,{});return[R(ye)]},X),$=function(Q,ye){var N={};for(var I in Q)Object.prototype.hasOwnProperty.call(Q,I)&&ye.indexOf(I)<0&&(N[I]=Q[I]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,I=Object.getOwnPropertySymbols(Q);nt<I.length;nt++)ye.indexOf(I[nt])<0&&Object.prototype.propertyIsEnumerable.call(Q,I[nt])&&(N[I[nt]]=Q[I[nt]]);return N},E=Q=>{const{prefixCls:ye,className:N,rootClassName:I,style:nt,valueStyle:ce,value:le=0,title:w,valueRender:k,prefix:z,suffix:C,loading:Y=!1,formatter:He,precision:pe,decimalSeparator:Ue=".",groupSeparator:ot=",",onMouseEnter:ct,onMouseLeave:ue}=Q,Le=$(Q,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:Ct,direction:ke,className:De,style:j}=(0,_.dj)("statistic"),_e=Ct("statistic",ye),[be,fe,he]=M(_e),me=o.createElement(u,{decimalSeparator:Ue,groupSeparator:ot,prefixCls:_e,formatter:He,precision:pe,value:le}),Ie=q()(_e,{[`${_e}-rtl`]:ke==="rtl"},De,N,I,fe,he),Se=(0,ee.Z)(Le,{aria:!0,data:!0});return be(o.createElement("div",Object.assign({},Se,{className:Ie,style:Object.assign(Object.assign({},j),nt),onMouseEnter:ct,onMouseLeave:ue}),w&&o.createElement("div",{className:`${_e}-title`},w),o.createElement(y.Z,{paragraph:!1,loading:Y,className:`${_e}-skeleton`},o.createElement("div",{style:ce,className:`${_e}-content`},z&&o.createElement("span",{className:`${_e}-content-prefix`},z),k?k(me):me,C&&o.createElement("span",{className:`${_e}-content-suffix`},C)))))};const ie=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function J(Q,ye){let N=Q;const I=/\[[^\]]*]/g,nt=(ye.match(I)||[]).map(k=>k.slice(1,-1)),ce=ye.replace(I,"[]"),le=ie.reduce((k,z)=>{let[C,Y]=z;if(k.includes(C)){const He=Math.floor(N/Y);return N-=He*Y,k.replace(new RegExp(`${C}+`,"g"),pe=>{const Ue=pe.length;return He.toString().padStart(Ue,"0")})}return k},ce);let w=0;return le.replace(I,()=>{const k=nt[w];return w+=1,k})}function te(Q,ye){const{format:N=""}=ye,I=new Date(Q).getTime(),nt=Date.now(),ce=Math.max(I-nt,0);return J(ce,N)}var $e=function(Q,ye){var N={};for(var I in Q)Object.prototype.hasOwnProperty.call(Q,I)&&ye.indexOf(I)<0&&(N[I]=Q[I]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,I=Object.getOwnPropertySymbols(Q);nt<I.length;nt++)ye.indexOf(I[nt])<0&&Object.prototype.propertyIsEnumerable.call(Q,I[nt])&&(N[I[nt]]=Q[I[nt]]);return N};const Ne=1e3/30;function Qe(Q){return new Date(Q).getTime()}const Ze=Q=>{const{value:ye,format:N="HH:mm:ss",onChange:I,onFinish:nt}=Q,ce=$e(Q,["value","format","onChange","onFinish"]),le=(0,qe.Z)(),w=o.useRef(null),k=()=>{nt==null||nt(),w.current&&(clearInterval(w.current),w.current=null)},z=()=>{const He=Qe(ye);He>=Date.now()&&(w.current=setInterval(()=>{le(),I==null||I(He-Date.now()),He<Date.now()&&k()},Ne))};o.useEffect(()=>(z(),()=>{w.current&&(clearInterval(w.current),w.current=null)}),[ye]);const C=(He,pe)=>te(He,Object.assign(Object.assign({},pe),{format:N})),Y=He=>(0,L.Tm)(He,{title:void 0});return o.createElement(E,Object.assign({},ce,{value:ye,valueRender:Y,formatter:C}))};var we=o.memo(Ze);E.Countdown=we;var xe=E},34961:function(Yr,Xt){"use strict";const n=o=>({[o.componentCls]:{[`${o.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${o.motionDurationMid} ${o.motionEaseInOut},
|
|
|
opacity ${o.motionDurationMid} ${o.motionEaseInOut} !important`}},[`${o.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${o.motionDurationMid} ${o.motionEaseInOut},
|
|
|
opacity ${o.motionDurationMid} ${o.motionEaseInOut} !important`}}});Xt.Z=n},93873:function(Yr,Xt,n){"use strict";n.d(Xt,{Fm:function(){return F}});var o=n(36237),qe=n(48746);const L=new o.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Re=new o.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),q=new o.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ee=new o.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),_=new o.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 o.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),G=new o.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),u=new o.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),B={"move-up":{inKeyframes:G,outKeyframes:u},"move-down":{inKeyframes:L,outKeyframes:Re},"move-left":{inKeyframes:q,outKeyframes:ee},"move-right":{inKeyframes:_,outKeyframes:y}},F=(K,R)=>{const{antCls:X}=K,M=`${X}-${R}`,{inKeyframes:$,outKeyframes:S}=B[R];return[(0,qe.R)(M,$,S,K.motionDurationMid),{[`
|
|
|
${M}-enter,
|
|
|
${M}-appear
|
|
|
`]:{opacity:0,animationTimingFunction:K.motionEaseOutCirc},[`${M}-leave`]:{animationTimingFunction:K.motionEaseInOutCirc}}]}},46e3:function(Yr,Xt,n){"use strict";n.d(Xt,{Qt:function(){return q},Uw:function(){return Re},fJ:function(){return L},ly:function(){return ee},oN:function(){return F}});var o=n(36237),qe=n(48746);const L=new o.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Re=new o.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),q=new o.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),ee=new o.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),_=new o.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),y=new o.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),G=new o.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),u=new o.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),B={"slide-up":{inKeyframes:L,outKeyframes:Re},"slide-down":{inKeyframes:q,outKeyframes:ee},"slide-left":{inKeyframes:_,outKeyframes:y},"slide-right":{inKeyframes:G,outKeyframes:u}},F=(K,R)=>{const{antCls:X}=K,M=`${X}-${R}`,{inKeyframes:$,outKeyframes:S}=B[R];return[(0,qe.R)(M,$,S,K.motionDurationMid),{[`
|
|
|
${M}-enter,
|
|
|
${M}-appear
|
|
|
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:K.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${M}-leave`]:{animationTimingFunction:K.motionEaseInQuint}}]}},37645:function(Yr,Xt,n){"use strict";n.d(Xt,{ZP:function(){return ee},qN:function(){return L},wZ:function(){return Re}});var o=n(36237),qe=n(36305);const L=8;function Re(_){const{contentRadius:y,limitVerticalRadius:G}=_,u=y>12?y+2:12;return{arrowOffsetHorizontal:u,arrowOffsetVertical:G?L:u}}function q(_,y){return _?y:{}}function ee(_,y,G){const{componentCls:u,boxShadowPopoverArrow:B,arrowOffsetVertical:F,arrowOffsetHorizontal:K}=_,{arrowDistance:R=0,arrowPlacement:X={left:!0,right:!0,top:!0,bottom:!0}}=G||{};return{[u]:Object.assign(Object.assign(Object.assign(Object.assign({[`${u}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,qe.W)(_,y,B)),{"&:before":{background:y}})]},q(!!X.top,{[[`&-placement-top > ${u}-arrow`,`&-placement-topLeft > ${u}-arrow`,`&-placement-topRight > ${u}-arrow`].join(",")]:{bottom:R,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${u}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":K,[`> ${u}-arrow`]:{left:{_skip_check_:!0,value:K}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,o.unit)(K)})`,[`> ${u}-arrow`]:{right:{_skip_check_:!0,value:K}}}})),q(!!X.bottom,{[[`&-placement-bottom > ${u}-arrow`,`&-placement-bottomLeft > ${u}-arrow`,`&-placement-bottomRight > ${u}-arrow`].join(",")]:{top:R,transform:"translateY(-100%)"},[`&-placement-bottom > ${u}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":K,[`> ${u}-arrow`]:{left:{_skip_check_:!0,value:K}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,o.unit)(K)})`,[`> ${u}-arrow`]:{right:{_skip_check_:!0,value:K}}}})),q(!!X.left,{[[`&-placement-left > ${u}-arrow`,`&-placement-leftTop > ${u}-arrow`,`&-placement-leftBottom > ${u}-arrow`].join(",")]:{right:{_skip_check_:!0,value:R},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${u}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${u}-arrow`]:{top:F},[`&-placement-leftBottom > ${u}-arrow`]:{bottom:F}})),q(!!X.right,{[[`&-placement-right > ${u}-arrow`,`&-placement-rightTop > ${u}-arrow`,`&-placement-rightBottom > ${u}-arrow`].join(",")]:{left:{_skip_check_:!0,value:R},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${u}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${u}-arrow`]:{top:F},[`&-placement-rightBottom > ${u}-arrow`]:{bottom:F}}))}}},36305:function(Yr,Xt,n){"use strict";n.d(Xt,{W:function(){return L},w:function(){return qe}});var o=n(36237);function qe(Re){const{sizePopupArrow:q,borderRadiusXS:ee,borderRadiusOuter:_}=Re,y=q/2,G=0,u=y,B=_*1/Math.sqrt(2),F=y-_*(1-1/Math.sqrt(2)),K=y-ee*(1/Math.sqrt(2)),R=_*(Math.sqrt(2)-1)+ee*(1/Math.sqrt(2)),X=2*y-K,M=R,$=2*y-B,S=F,E=2*y-G,ie=u,J=y*Math.sqrt(2)+_*(Math.sqrt(2)-2),te=_*(Math.sqrt(2)-1),$e=`polygon(${te}px 100%, 50% ${te}px, ${2*y-te}px 100%, ${te}px 100%)`,Ne=`path('M ${G} ${u} A ${_} ${_} 0 0 0 ${B} ${F} L ${K} ${R} A ${ee} ${ee} 0 0 1 ${X} ${M} L ${$} ${S} A ${_} ${_} 0 0 0 ${E} ${ie} Z')`;return{arrowShadowWidth:J,arrowPath:Ne,arrowPolygon:$e}}const L=(Re,q,ee)=>{const{sizePopupArrow:_,arrowPolygon:y,arrowPath:G,arrowShadowWidth:u,borderRadiusXS:B,calc:F}=Re;return{pointerEvents:"none",width:_,height:_,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:_,height:F(_).div(2).equal(),background:q,clipPath:{_multi_value_:!0,value:[y,G]},content:'""'},"&::after":{content:'""',position:"absolute",width:u,height:u,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,o.unit)(B)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:ee,zIndex:0,background:"transparent"}}}},71411:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return Ze}});var o=n(59301),qe=n(58617),L=n(92310),Re=n.n(L),q=n(63158),ee=n(18929),_=n(12919),y=n(48755),G=n(2171),u=n(31756),B=n(36237),F=n(17835),K=n(63356),R=n(16931),X=n(51636);const M=we=>{const{componentCls:xe,trackHeightSM:Q,trackPadding:ye,trackMinWidthSM:N,innerMinMarginSM:I,innerMaxMarginSM:nt,handleSizeSM:ce,calc:le}=we,w=`${xe}-inner`,k=(0,B.unit)(le(ce).add(le(ye).mul(2)).equal()),z=(0,B.unit)(le(nt).mul(2).equal());return{[xe]:{[`&${xe}-small`]:{minWidth:N,height:Q,lineHeight:(0,B.unit)(Q),[`${xe}-inner`]:{paddingInlineStart:nt,paddingInlineEnd:I,[`${w}-checked, ${w}-unchecked`]:{minHeight:Q},[`${w}-checked`]:{marginInlineStart:`calc(-100% + ${k} - ${z})`,marginInlineEnd:`calc(100% - ${k} + ${z})`},[`${w}-unchecked`]:{marginTop:le(Q).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${xe}-handle`]:{width:ce,height:ce},[`${xe}-loading-icon`]:{top:le(le(ce).sub(we.switchLoadingIconSize)).div(2).equal(),fontSize:we.switchLoadingIconSize},[`&${xe}-checked`]:{[`${xe}-inner`]:{paddingInlineStart:I,paddingInlineEnd:nt,[`${w}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${w}-unchecked`]:{marginInlineStart:`calc(100% - ${k} + ${z})`,marginInlineEnd:`calc(-100% + ${k} - ${z})`}},[`${xe}-handle`]:{insetInlineStart:`calc(100% - ${(0,B.unit)(le(ce).add(ye).equal())})`}},[`&:not(${xe}-disabled):active`]:{[`&:not(${xe}-checked) ${w}`]:{[`${w}-unchecked`]:{marginInlineStart:le(we.marginXXS).div(2).equal(),marginInlineEnd:le(we.marginXXS).mul(-1).div(2).equal()}},[`&${xe}-checked ${w}`]:{[`${w}-checked`]:{marginInlineStart:le(we.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:le(we.marginXXS).div(2).equal()}}}}}}},$=we=>{const{componentCls:xe,handleSize:Q,calc:ye}=we;return{[xe]:{[`${xe}-loading-icon${we.iconCls}`]:{position:"relative",top:ye(ye(Q).sub(we.fontSize)).div(2).equal(),color:we.switchLoadingIconColor,verticalAlign:"top"},[`&${xe}-checked ${xe}-loading-icon`]:{color:we.switchColor}}}},S=we=>{const{componentCls:xe,trackPadding:Q,handleBg:ye,handleShadow:N,handleSize:I,calc:nt}=we,ce=`${xe}-handle`;return{[xe]:{[ce]:{position:"absolute",top:Q,insetInlineStart:Q,width:I,height:I,transition:`all ${we.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:ye,borderRadius:nt(I).div(2).equal(),boxShadow:N,transition:`all ${we.switchDuration} ease-in-out`,content:'""'}},[`&${xe}-checked ${ce}`]:{insetInlineStart:`calc(100% - ${(0,B.unit)(nt(I).add(Q).equal())})`},[`&:not(${xe}-disabled):active`]:{[`${ce}::before`]:{insetInlineEnd:we.switchHandleActiveInset,insetInlineStart:0},[`&${xe}-checked ${ce}::before`]:{insetInlineEnd:0,insetInlineStart:we.switchHandleActiveInset}}}}},E=we=>{const{componentCls:xe,trackHeight:Q,trackPadding:ye,innerMinMargin:N,innerMaxMargin:I,handleSize:nt,calc:ce}=we,le=`${xe}-inner`,w=(0,B.unit)(ce(nt).add(ce(ye).mul(2)).equal()),k=(0,B.unit)(ce(I).mul(2).equal());return{[xe]:{[le]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:I,paddingInlineEnd:N,transition:`padding-inline-start ${we.switchDuration} ease-in-out, padding-inline-end ${we.switchDuration} ease-in-out`,[`${le}-checked, ${le}-unchecked`]:{display:"block",color:we.colorTextLightSolid,fontSize:we.fontSizeSM,transition:`margin-inline-start ${we.switchDuration} ease-in-out, margin-inline-end ${we.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:Q},[`${le}-checked`]:{marginInlineStart:`calc(-100% + ${w} - ${k})`,marginInlineEnd:`calc(100% - ${w} + ${k})`},[`${le}-unchecked`]:{marginTop:ce(Q).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${xe}-checked ${le}`]:{paddingInlineStart:N,paddingInlineEnd:I,[`${le}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${le}-unchecked`]:{marginInlineStart:`calc(100% - ${w} + ${k})`,marginInlineEnd:`calc(-100% + ${w} - ${k})`}},[`&:not(${xe}-disabled):active`]:{[`&:not(${xe}-checked) ${le}`]:{[`${le}-unchecked`]:{marginInlineStart:ce(ye).mul(2).equal(),marginInlineEnd:ce(ye).mul(-1).mul(2).equal()}},[`&${xe}-checked ${le}`]:{[`${le}-checked`]:{marginInlineStart:ce(ye).mul(-1).mul(2).equal(),marginInlineEnd:ce(ye).mul(2).equal()}}}}}},ie=we=>{const{componentCls:xe,trackHeight:Q,trackMinWidth:ye}=we;return{[xe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,K.Wf)(we)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:ye,height:Q,lineHeight:(0,B.unit)(Q),verticalAlign:"middle",background:we.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${we.motionDurationMid}`,userSelect:"none",[`&:hover:not(${xe}-disabled)`]:{background:we.colorTextTertiary}}),(0,K.Qy)(we)),{[`&${xe}-checked`]:{background:we.switchColor,[`&:hover:not(${xe}-disabled)`]:{background:we.colorPrimaryHover}},[`&${xe}-loading, &${xe}-disabled`]:{cursor:"not-allowed",opacity:we.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${xe}-rtl`]:{direction:"rtl"}})}},J=we=>{const{fontSize:xe,lineHeight:Q,controlHeight:ye,colorWhite:N}=we,I=xe*Q,nt=ye/2,ce=2,le=I-ce*2,w=nt-ce*2;return{trackHeight:I,trackHeightSM:nt,trackMinWidth:le*2+ce*4,trackMinWidthSM:w*2+ce*2,trackPadding:ce,handleBg:N,handleSize:le,handleSizeSM:w,handleShadow:`0 2px 4px 0 ${new F.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:le/2,innerMaxMargin:le+ce+ce*2,innerMinMarginSM:w/2,innerMaxMarginSM:w+ce+ce*2}};var te=(0,R.I$)("Switch",we=>{const xe=(0,X.mergeToken)(we,{switchDuration:we.motionDurationMid,switchColor:we.colorPrimary,switchDisabledOpacity:we.opacityLoading,switchLoadingIconSize:we.calc(we.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${we.opacityLoading})`,switchHandleActiveInset:"-30%"});return[ie(xe),E(xe),S(xe),$(xe),M(xe)]},J),$e=function(we,xe){var Q={};for(var ye in we)Object.prototype.hasOwnProperty.call(we,ye)&&xe.indexOf(ye)<0&&(Q[ye]=we[ye]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,ye=Object.getOwnPropertySymbols(we);N<ye.length;N++)xe.indexOf(ye[N])<0&&Object.prototype.propertyIsEnumerable.call(we,ye[N])&&(Q[ye[N]]=we[ye[N]]);return Q};const Qe=o.forwardRef((we,xe)=>{const{prefixCls:Q,size:ye,disabled:N,loading:I,className:nt,rootClassName:ce,style:le,checked:w,value:k,defaultChecked:z,defaultValue:C,onChange:Y}=we,He=$e(we,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[pe,Ue]=(0,ee.Z)(!1,{value:w!=null?w:k,defaultValue:z!=null?z:C}),{getPrefixCls:ot,direction:ct,switch:ue}=o.useContext(y.E_),Le=o.useContext(G.Z),Ct=(N!=null?N:Le)||I,ke=ot("switch",Q),De=o.createElement("div",{className:`${ke}-handle`},I&&o.createElement(qe.Z,{className:`${ke}-loading-icon`})),[j,_e,be]=te(ke),fe=(0,u.Z)(ye),he=Re()(ue==null?void 0:ue.className,{[`${ke}-small`]:fe==="small",[`${ke}-loading`]:I,[`${ke}-rtl`]:ct==="rtl"},nt,ce,_e,be),me=Object.assign(Object.assign({},ue==null?void 0:ue.style),le),Ie=function(){Ue(arguments.length<=0?void 0:arguments[0]),Y==null||Y.apply(void 0,arguments)};return j(o.createElement(_.Z,{component:"Switch"},o.createElement(q.Z,Object.assign({},He,{checked:pe,onChange:Ie,prefixCls:ke,className:he,style:me,disabled:Ct,ref:xe,loadingIcon:De}))))});Qe.__ANT_SWITCH=!0;var Ze=Qe},54172:function(Yr,Xt,n){"use strict";n.d(Xt,{default:function(){return Qt}});var o=n(59301),qe=n(4030),Re=at=>null,ee=at=>null,_=n(94480),y=n(84105),G=n(92310),u=n.n(G),B=n(82661),F=n(34643),K=n(34061),R=n(18929);function X(at){const[Ce,Vt]=(0,o.useState)(null);return[(0,o.useCallback)((qt,We,ze)=>{const wt=Ce!=null?Ce:qt,ut=Math.min(wt||0,qt),cr=Math.max(wt||0,qt),gr=We.slice(ut,cr+1).map(ir=>at(ir)),_t=gr.some(ir=>!ze.has(ir)),Tt=[];return gr.forEach(ir=>{_t?(ze.has(ir)||Tt.push(ir),ze.add(ir)):(ze.delete(ir),Tt.push(ir))}),Vt(_t?cr:null),Tt},[Ce]),qt=>{Vt(qt)}]}var M=n(32383),$=n(62673),S=n(75727),E=n(47889);const ie={},J="SELECT_ALL",te="SELECT_INVERT",$e="SELECT_NONE",Ne=[],Qe=(at,Ce)=>{let Vt=[];return(Ce||[]).forEach(Mt=>{Vt.push(Mt),Mt&&typeof Mt=="object"&&at in Mt&&(Vt=[].concat((0,_.Z)(Vt),(0,_.Z)(Qe(at,Mt[at]))))}),Vt};var we=(at,Ce)=>{const{preserveSelectedRowKeys:Vt,selectedRowKeys:Mt,defaultSelectedRowKeys:Ot,getCheckboxProps:qt,onChange:We,onSelect:ze,onSelectAll:wt,onSelectInvert:ut,onSelectNone:cr,onSelectMultiple:gr,columnWidth:_t,type:Tt,selections:ir,fixed:Zr,renderCell:Wt,hideSelectAll:Pe,checkStrictly:bt=!0}=Ce||{},{prefixCls:Bt,data:ht,pageData:Jt,getRecordByKey:dr,getRowKey:fr,expandType:Er,childrenColumnName:Lr,locale:Rr,getPopupContainer:cn}=at,wn=(0,M.ln)("Table"),[Mr,Lt]=X(Ln=>Ln),[ba,da]=(0,R.Z)(Mt||Ot||Ne,{value:Mt}),Hn=o.useRef(new Map),an=(0,o.useCallback)(Ln=>{if(Vt){const _n=new Map;Ln.forEach(Qr=>{let mn=dr(Qr);!mn&&Hn.current.has(Qr)&&(mn=Hn.current.get(Qr)),_n.set(Qr,mn)}),Hn.current=_n}},[dr,Vt]);o.useEffect(()=>{an(ba)},[ba]);const dn=(0,o.useMemo)(()=>Qe(Lr,Jt),[Lr,Jt]),{keyEntities:Gr}=(0,o.useMemo)(()=>{if(bt)return{keyEntities:null};let Ln=ht;if(Vt){const _n=new Set(dn.map((mn,ca)=>fr(mn,ca))),Qr=Array.from(Hn.current).reduce((mn,ca)=>{let[En,ha]=ca;return _n.has(En)?mn:mn.concat(ha)},[]);Ln=[].concat((0,_.Z)(Ln),(0,_.Z)(Qr))}return(0,K.I8)(Ln,{externalGetKey:fr,childrenPropName:Lr})},[ht,fr,bt,Lr,Vt,dn]),sa=(0,o.useMemo)(()=>{const Ln=new Map;return dn.forEach((_n,Qr)=>{const mn=fr(_n,Qr),ca=(qt?qt(_n):null)||{};Ln.set(mn,ca)}),Ln},[dn,fr,qt]),Vn=(0,o.useCallback)(Ln=>{const _n=fr(Ln);let Qr;return sa.has(_n)?Qr=sa.get(fr(Ln)):Qr=qt?qt(Ln):void 0,!!(Qr!=null&&Qr.disabled)},[sa,fr]),[xa,Xn]=(0,o.useMemo)(()=>{if(bt)return[ba||[],[]];const{checkedKeys:Ln,halfCheckedKeys:_n}=(0,F.S)(ba,!0,Gr,Vn);return[Ln||[],_n]},[ba,bt,Gr,Vn]),la=(0,o.useMemo)(()=>{const Ln=Tt==="radio"?xa.slice(0,1):xa;return new Set(Ln)},[xa,Tt]),La=(0,o.useMemo)(()=>Tt==="radio"?new Set:new Set(Xn),[Xn,Tt]);o.useEffect(()=>{Ce||da(Ne)},[!!Ce]);const na=(0,o.useCallback)((Ln,_n)=>{let Qr,mn;an(Ln),Vt?(Qr=Ln,mn=Ln.map(ca=>Hn.current.get(ca))):(Qr=[],mn=[],Ln.forEach(ca=>{const En=dr(ca);En!==void 0&&(Qr.push(ca),mn.push(En))})),da(Qr),We==null||We(Qr,mn,{type:_n})},[da,dr,We,Vt]),kn=(0,o.useCallback)((Ln,_n,Qr,mn)=>{if(ze){const ca=Qr.map(En=>dr(En));ze(dr(Ln),_n,ca,mn)}na(Qr,"single")},[ze,dr,na]),aa=(0,o.useMemo)(()=>!ir||Pe?null:(ir===!0?[J,te,$e]:ir).map(_n=>_n===J?{key:"all",text:Rr.selectionAll,onSelect(){na(ht.map((Qr,mn)=>fr(Qr,mn)).filter(Qr=>{const mn=sa.get(Qr);return!(mn!=null&&mn.disabled)||la.has(Qr)}),"all")}}:_n===te?{key:"invert",text:Rr.selectInvert,onSelect(){const Qr=new Set(la);Jt.forEach((ca,En)=>{const ha=fr(ca,En),Zn=sa.get(ha);Zn!=null&&Zn.disabled||(Qr.has(ha)?Qr.delete(ha):Qr.add(ha))});const mn=Array.from(Qr);ut&&(wn.deprecated(!1,"onSelectInvert","onChange"),ut(mn)),na(mn,"invert")}}:_n===$e?{key:"none",text:Rr.selectNone,onSelect(){cr==null||cr(),na(Array.from(la).filter(Qr=>{const mn=sa.get(Qr);return mn==null?void 0:mn.disabled}),"none")}}:_n).map(_n=>Object.assign(Object.assign({},_n),{onSelect:function(){for(var Qr,mn,ca=arguments.length,En=new Array(ca),ha=0;ha<ca;ha++)En[ha]=arguments[ha];(mn=_n.onSelect)===null||mn===void 0||(Qr=mn).call.apply(Qr,[_n].concat(En)),Lt(null)}})),[ir,la,Jt,fr,ut,na]);return[(0,o.useCallback)(Ln=>{var _n;if(!Ce)return Ln.filter(ja=>ja!==ie);let Qr=(0,_.Z)(Ln);const mn=new Set(la),ca=dn.map(fr).filter(ja=>!sa.get(ja).disabled),En=ca.every(ja=>mn.has(ja)),ha=ca.some(ja=>mn.has(ja)),Zn=()=>{const ja=[];En?ca.forEach(Na=>{mn.delete(Na),ja.push(Na)}):ca.forEach(Na=>{mn.has(Na)||(mn.add(Na),ja.push(Na))});const Ta=Array.from(mn);wt==null||wt(!En,Ta.map(Na=>dr(Na)),ja.map(Na=>dr(Na))),na(Ta,"all"),Lt(null)};let Ha,Ja;if(Tt!=="radio"){let ja;if(aa){const va={getPopupContainer:cn,items:aa.map((Xa,Da)=>{const{key:_a,text:no,onSelect:lo}=Xa;return{key:_a!=null?_a:Da,onClick:()=>{lo==null||lo(ca)},label:no}})};ja=o.createElement("div",{className:`${Bt}-selection-extra`},o.createElement(S.Z,{menu:va,getPopupContainer:cn},o.createElement("span",null,o.createElement(y.Z,null))))}const Ta=dn.map((va,Xa)=>{const Da=fr(va,Xa),_a=sa.get(Da)||{};return Object.assign({checked:mn.has(Da)},_a)}).filter(va=>{let{disabled:Xa}=va;return Xa}),Na=!!Ta.length&&Ta.length===dn.length,Ba=Na&&Ta.every(va=>{let{checked:Xa}=va;return Xa}),Wa=Na&&Ta.some(va=>{let{checked:Xa}=va;return Xa});Ja=o.createElement($.default,{checked:Na?Ba:!!dn.length&&En,indeterminate:Na?!Ba&&Wa:!En&&ha,onChange:Zn,disabled:dn.length===0||Na,"aria-label":ja?"Custom selection":"Select all",skipGroup:!0}),Ha=!Pe&&o.createElement("div",{className:`${Bt}-selection`},Ja,ja)}let Cn;Tt==="radio"?Cn=(ja,Ta,Na)=>{const Ba=fr(Ta,Na),Wa=mn.has(Ba),va=sa.get(Ba);return{node:o.createElement(E.ZP,Object.assign({},va,{checked:Wa,onClick:Xa=>{var Da;Xa.stopPropagation(),(Da=va==null?void 0:va.onClick)===null||Da===void 0||Da.call(va,Xa)},onChange:Xa=>{var Da;mn.has(Ba)||kn(Ba,!0,[Ba],Xa.nativeEvent),(Da=va==null?void 0:va.onChange)===null||Da===void 0||Da.call(va,Xa)}})),checked:Wa}}:Cn=(ja,Ta,Na)=>{var Ba;const Wa=fr(Ta,Na),va=mn.has(Wa),Xa=La.has(Wa),Da=sa.get(Wa);let _a;return Er==="nest"?_a=Xa:_a=(Ba=Da==null?void 0:Da.indeterminate)!==null&&Ba!==void 0?Ba:Xa,{node:o.createElement($.default,Object.assign({},Da,{indeterminate:_a,checked:va,skipGroup:!0,onClick:no=>{var lo;no.stopPropagation(),(lo=Da==null?void 0:Da.onClick)===null||lo===void 0||lo.call(Da,no)},onChange:no=>{var lo;const{nativeEvent:$o}=no,{shiftKey:Po}=$o,Ma=ca.findIndex(ho=>ho===Wa),Wo=xa.some(ho=>ca.includes(ho));if(Po&&bt&&Wo){const ho=Mr(Ma,ca,mn),jo=Array.from(mn);gr==null||gr(!va,jo.map(vo=>dr(vo)),ho.map(vo=>dr(vo))),na(jo,"multiple")}else{const ho=xa;if(bt){const jo=va?(0,B._5)(ho,Wa):(0,B.L0)(ho,Wa);kn(Wa,!va,jo,$o)}else{const jo=(0,F.S)([].concat((0,_.Z)(ho),[Wa]),!0,Gr,Vn),{checkedKeys:vo,halfCheckedKeys:vi}=jo;let ko=vo;if(va){const Qo=new Set(vo);Qo.delete(Wa),ko=(0,F.S)(Array.from(Qo),{checked:!1,halfCheckedKeys:vi},Gr,Vn).checkedKeys}kn(Wa,!va,ko,$o)}}Lt(va?null:Ma),(lo=Da==null?void 0:Da.onChange)===null||lo===void 0||lo.call(Da,no)}})),checked:va}};const jn=(ja,Ta,Na)=>{const{node:Ba,checked:Wa}=Cn(ja,Ta,Na);return Wt?Wt(Wa,Ta,Na,Ba):Ba};if(!Qr.includes(ie))if(Qr.findIndex(ja=>{var Ta;return((Ta=ja[qe.vP])===null||Ta===void 0?void 0:Ta.columnType)==="EXPAND_COLUMN"})===0){const[ja,...Ta]=Qr;Qr=[ja,ie].concat((0,_.Z)(Ta))}else Qr=[ie].concat((0,_.Z)(Qr));const fa=Qr.indexOf(ie);Qr=Qr.filter((ja,Ta)=>ja!==ie||Ta===fa);const qa=Qr[fa-1],Ka=Qr[fa+1];let co=Zr;co===void 0&&((Ka==null?void 0:Ka.fixed)!==void 0?co=Ka.fixed:(qa==null?void 0:qa.fixed)!==void 0&&(co=qa.fixed)),co&&qa&&((_n=qa[qe.vP])===null||_n===void 0?void 0:_n.columnType)==="EXPAND_COLUMN"&&qa.fixed===void 0&&(qa.fixed=co);const uo=u()(`${Bt}-selection-col`,{[`${Bt}-selection-col-with-dropdown`]:ir&&Tt==="checkbox"}),ma=()=>Ce!=null&&Ce.columnTitle?typeof Ce.columnTitle=="function"?Ce.columnTitle(Ja):Ce.columnTitle:Ha,Eo={fixed:co,width:_t,className:`${Bt}-selection-column`,title:ma(),render:jn,onCell:Ce.onCell,[qe.vP]:{className:uo}};return Qr.map(ja=>ja===ie?Eo:ja)},[fr,dn,Ce,xa,la,La,_t,aa,Er,sa,gr,kn,Vn]),la]},xe=n(97347),Q=n(2738);function ye(at,Ce){return at._antProxy=at._antProxy||{},Object.keys(Ce).forEach(Vt=>{if(!(Vt in at._antProxy)){const Mt=at[Vt];at._antProxy[Vt]=Mt,at[Vt]=Ce[Vt]}}),at}function N(at,Ce){return(0,o.useImperativeHandle)(at,()=>{const Vt=Ce(),{nativeElement:Mt}=Vt;return typeof Proxy!="undefined"?new Proxy(Mt,{get(Ot,qt){return Vt[qt]?Vt[qt]:Reflect.get(Ot,qt)}}):ye(Mt,Vt)})}var I=n(83010),nt=n(48755),ce=n(38406),le=n(83397),w=n(31756),k=n(13783),z=n(85981),C=n(13747),Y=n(29787),He=n(57700);function pe(at){return Ce=>{const{prefixCls:Vt,onExpand:Mt,record:Ot,expanded:qt,expandable:We}=Ce,ze=`${Vt}-row-expand-icon`;return o.createElement("button",{type:"button",onClick:wt=>{Mt(Ot,wt),wt.stopPropagation()},className:u()(ze,{[`${ze}-spaced`]:!We,[`${ze}-expanded`]:We&&qt,[`${ze}-collapsed`]:We&&!qt}),"aria-label":qt?at.collapse:at.expand,"aria-expanded":qt})}}var Ue=pe;function ot(at){return(Vt,Mt)=>{const Ot=Vt.querySelector(`.${at}-container`);let qt=Mt;if(Ot){const We=getComputedStyle(Ot),ze=parseInt(We.borderLeftWidth,10),wt=parseInt(We.borderRightWidth,10);qt=Mt-ze-wt}return qt}}const ct=(at,Ce)=>"key"in at&&at.key!==void 0&&at.key!==null?at.key:at.dataIndex?Array.isArray(at.dataIndex)?at.dataIndex.join("."):at.dataIndex:Ce;function ue(at,Ce){return Ce?`${Ce}-${at}`:`${at}`}const Le=(at,Ce)=>typeof at=="function"?at(Ce):at,Ct=(at,Ce)=>{const Vt=Le(at,Ce);return Object.prototype.toString.call(Vt)==="[object Object]"?"":Vt};var ke=n(54476),De={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},j=De,_e=n(7657),be=function(Ce,Vt){return o.createElement(_e.Z,(0,ke.Z)({},Ce,{ref:Vt,icon:j}))},fe=o.forwardRef(be),he=fe,me=n(13697),Ie=n(9981),Se=n(40192);function Me(at){const Ce=o.useRef(at),Vt=(0,Se.Z)();return[()=>Ce.current,Mt=>{Ce.current=Mt,Vt()}]}var Je=n(99571),pt=n(584),$t=n(93041),Yt=n(78857),Gt=n(18287),Pt=n(47472),it=n(49397),Nt=at=>{const{value:Ce,filterSearch:Vt,tablePrefixCls:Mt,locale:Ot,onChange:qt}=at;return Vt?o.createElement("div",{className:`${Mt}-filter-dropdown-search`},o.createElement(it.Z,{prefix:o.createElement(Pt.Z,null),placeholder:Ot.filterSearchPlaceholder,onChange:qt,value:Ce,htmlSize:1,className:`${Mt}-filter-dropdown-search-input`})):null},Ht=n(10228);const Et=at=>{const{keyCode:Ce}=at;Ce===Ht.Z.ENTER&&at.stopPropagation()};var lr=o.forwardRef((at,Ce)=>o.createElement("div",{className:at.className,onClick:Vt=>Vt.stopPropagation(),onKeyDown:Et,ref:Ce},at.children));function Cr(at){let Ce=[];return(at||[]).forEach(Vt=>{let{value:Mt,children:Ot}=Vt;Ce.push(Mt),Ot&&(Ce=[].concat((0,_.Z)(Ce),(0,_.Z)(Cr(Ot))))}),Ce}function qr(at){return at.some(Ce=>{let{children:Vt}=Ce;return Vt})}function Ar(at,Ce){return typeof Ce=="string"||typeof Ce=="number"?Ce==null?void 0:Ce.toString().toLowerCase().includes(at.trim().toLowerCase()):!1}function x(at){let{filters:Ce,prefixCls:Vt,filteredKeys:Mt,filterMultiple:Ot,searchValue:qt,filterSearch:We}=at;return Ce.map((ze,wt)=>{const ut=String(ze.value);if(ze.children)return{key:ut||wt,label:ze.text,popupClassName:`${Vt}-dropdown-submenu`,children:x({filters:ze.children,prefixCls:Vt,filteredKeys:Mt,filterMultiple:Ot,searchValue:qt,filterSearch:We})};const cr=Ot?$.default:E.ZP,gr={key:ze.value!==void 0?ut:wt,label:o.createElement(o.Fragment,null,o.createElement(cr,{checked:Mt.includes(ut)}),o.createElement("span",null,ze.text))};return qt.trim()?typeof We=="function"?We(qt,ze)?gr:null:Ar(qt,ze.text)?gr:null:gr})}function W(at){return at||[]}var oe=at=>{var Ce,Vt,Mt,Ot;const{tablePrefixCls:qt,prefixCls:We,column:ze,dropdownPrefixCls:wt,columnKey:ut,filterOnClose:cr,filterMultiple:gr,filterMode:_t="menu",filterSearch:Tt=!1,filterState:ir,triggerFilter:Zr,locale:Wt,children:Pe,getPopupContainer:bt,rootClassName:Bt}=at,{filterResetToDefaultFilteredValue:ht,defaultFilteredValue:Jt,filterDropdownProps:dr={},filterDropdownOpen:fr,filterDropdownVisible:Er,onFilterDropdownVisibleChange:Lr,onFilterDropdownOpenChange:Rr}=ze,[cn,wn]=o.useState(!1),Mr=!!(ir&&(!((Ce=ir.filteredKeys)===null||Ce===void 0)&&Ce.length||ir.forceFiltered)),Lt=Cn=>{var jn;wn(Cn),(jn=dr.onOpenChange)===null||jn===void 0||jn.call(dr,Cn),Rr==null||Rr(Cn),Lr==null||Lr(Cn)},ba=(Ot=(Mt=(Vt=dr.open)!==null&&Vt!==void 0?Vt:fr)!==null&&Mt!==void 0?Mt:Er)!==null&&Ot!==void 0?Ot:cn,da=ir==null?void 0:ir.filteredKeys,[Hn,an]=Me(W(da)),dn=Cn=>{let{selectedKeys:jn}=Cn;an(jn)},Gr=(Cn,jn)=>{let{node:fa,checked:qa}=jn;dn(gr?{selectedKeys:Cn}:{selectedKeys:qa&&fa.key?[fa.key]:[]})};o.useEffect(()=>{cn&&dn({selectedKeys:W(da)})},[da]);const[sa,Vn]=o.useState([]),xa=Cn=>{Vn(Cn)},[Xn,la]=o.useState(""),La=Cn=>{const{value:jn}=Cn.target;la(jn)};o.useEffect(()=>{cn||la("")},[cn]);const na=Cn=>{const jn=Cn!=null&&Cn.length?Cn:null;if(jn===null&&(!ir||!ir.filteredKeys)||(0,me.Z)(jn,ir==null?void 0:ir.filteredKeys,!0))return null;Zr({column:ze,key:ut,filteredKeys:jn})},kn=()=>{Lt(!1),na(Hn())},aa=function(){let{confirm:Cn,closeDropdown:jn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Cn&&na([]),jn&&Lt(!1),la(""),an(ht?(Jt||[]).map(fa=>String(fa)):[])},Fn=function(){let{closeDropdown:Cn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Cn&&Lt(!1),na(Hn())},Ln=(Cn,jn)=>{jn.source==="trigger"&&(Cn&&da!==void 0&&an(W(da)),Lt(Cn),!Cn&&!ze.filterDropdown&&cr&&kn())},_n=u()({[`${wt}-menu-without-submenu`]:!qr(ze.filters||[])}),Qr=Cn=>{if(Cn.target.checked){const jn=Cr(ze==null?void 0:ze.filters).map(fa=>String(fa));an(jn)}else an([])},mn=Cn=>{let{filters:jn}=Cn;return(jn||[]).map((fa,qa)=>{const Ka=String(fa.value),co={title:fa.text,key:fa.value!==void 0?Ka:String(qa)};return fa.children&&(co.children=mn({filters:fa.children})),co})},ca=Cn=>{var jn;return Object.assign(Object.assign({},Cn),{text:Cn.title,value:Cn.key,children:((jn=Cn.children)===null||jn===void 0?void 0:jn.map(fa=>ca(fa)))||[]})};let En;const{direction:ha,renderEmpty:Zn}=o.useContext(nt.E_);if(typeof ze.filterDropdown=="function")En=ze.filterDropdown({prefixCls:`${wt}-custom`,setSelectedKeys:Cn=>dn({selectedKeys:Cn}),selectedKeys:Hn(),confirm:Fn,clearFilters:aa,filters:ze.filters,visible:ba,close:()=>{Lt(!1)}});else if(ze.filterDropdown)En=ze.filterDropdown;else{const Cn=Hn()||[],jn=()=>{var qa,Ka;const co=(qa=Zn==null?void 0:Zn("Table.filter"))!==null&&qa!==void 0?qa:o.createElement(pt.Z,{image:pt.Z.PRESENTED_IMAGE_SIMPLE,description:Wt.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((ze.filters||[]).length===0)return co;if(_t==="tree")return o.createElement(o.Fragment,null,o.createElement(Nt,{filterSearch:Tt,value:Xn,onChange:La,tablePrefixCls:qt,locale:Wt}),o.createElement("div",{className:`${qt}-filter-dropdown-tree`},gr?o.createElement($.default,{checked:Cn.length===Cr(ze.filters).length,indeterminate:Cn.length>0&&Cn.length<Cr(ze.filters).length,className:`${qt}-filter-dropdown-checkall`,onChange:Qr},(Ka=Wt==null?void 0:Wt.filterCheckall)!==null&&Ka!==void 0?Ka:Wt==null?void 0:Wt.filterCheckAll):null,o.createElement(Gt.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:gr,checkStrictly:!gr,className:`${wt}-menu`,onCheck:Gr,checkedKeys:Cn,selectedKeys:Cn,showIcon:!1,treeData:mn({filters:ze.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Xn.trim()?Eo=>typeof Tt=="function"?Tt(Xn,ca(Eo)):Ar(Xn,Eo.title):void 0})));const uo=x({filters:ze.filters||[],filterSearch:Tt,prefixCls:We,filteredKeys:Hn(),filterMultiple:gr,searchValue:Xn}),ma=uo.every(Eo=>Eo===null);return o.createElement(o.Fragment,null,o.createElement(Nt,{filterSearch:Tt,value:Xn,onChange:La,tablePrefixCls:qt,locale:Wt}),ma?co:o.createElement($t.default,{selectable:!0,multiple:gr,prefixCls:`${wt}-menu`,className:_n,onSelect:dn,onDeselect:dn,selectedKeys:Cn,getPopupContainer:bt,openKeys:sa,onOpenChange:xa,items:uo}))},fa=()=>ht?(0,me.Z)((Jt||[]).map(qa=>String(qa)),Cn,!0):Cn.length===0;En=o.createElement(o.Fragment,null,jn(),o.createElement("div",{className:`${We}-dropdown-btns`},o.createElement(Je.ZP,{type:"link",size:"small",disabled:fa(),onClick:()=>aa()},Wt.filterReset),o.createElement(Je.ZP,{type:"primary",size:"small",onClick:kn},Wt.filterConfirm)))}ze.filterDropdown&&(En=o.createElement(Yt.J,{selectable:void 0},En)),En=o.createElement(lr,{className:`${We}-dropdown`},En);const Ha=()=>{let Cn;return typeof ze.filterIcon=="function"?Cn=ze.filterIcon(Mr):ze.filterIcon?Cn=ze.filterIcon:Cn=o.createElement(he,null),o.createElement("span",{role:"button",tabIndex:-1,className:u()(`${We}-trigger`,{active:Mr}),onClick:jn=>{jn.stopPropagation()}},Cn)},Ja=(0,Ie.Z)({trigger:["click"],placement:ha==="rtl"?"bottomLeft":"bottomRight",children:Ha(),getPopupContainer:bt},Object.assign(Object.assign({},dr),{rootClassName:u()(Bt,dr.rootClassName),open:ba,onOpenChange:Ln,dropdownRender:()=>typeof(dr==null?void 0:dr.dropdownRender)=="function"?dr.dropdownRender(En):En}));return o.createElement("div",{className:`${We}-column`},o.createElement("span",{className:`${qt}-column-title`},Pe),o.createElement(S.Z,Object.assign({},Ja)))};const Be=(at,Ce,Vt)=>{let Mt=[];return(at||[]).forEach((Ot,qt)=>{var We;const ze=ue(qt,Vt);if(Ot.filters||"filterDropdown"in Ot||"onFilter"in Ot)if("filteredValue"in Ot){let wt=Ot.filteredValue;"filterDropdown"in Ot||(wt=(We=wt==null?void 0:wt.map(String))!==null&&We!==void 0?We:wt),Mt.push({column:Ot,key:ct(Ot,ze),filteredKeys:wt,forceFiltered:Ot.filtered})}else Mt.push({column:Ot,key:ct(Ot,ze),filteredKeys:Ce&&Ot.defaultFilteredValue?Ot.defaultFilteredValue:void 0,forceFiltered:Ot.filtered});"children"in Ot&&(Mt=[].concat((0,_.Z)(Mt),(0,_.Z)(Be(Ot.children,Ce,ze))))}),Mt};function zr(at,Ce,Vt,Mt,Ot,qt,We,ze,wt){return Vt.map((ut,cr)=>{const gr=ue(cr,ze),{filterOnClose:_t=!0,filterMultiple:Tt=!0,filterMode:ir,filterSearch:Zr}=ut;let Wt=ut;if(Wt.filters||Wt.filterDropdown){const Pe=ct(Wt,gr),bt=Mt.find(Bt=>{let{key:ht}=Bt;return Pe===ht});Wt=Object.assign(Object.assign({},Wt),{title:Bt=>o.createElement(oe,{tablePrefixCls:at,prefixCls:`${at}-filter`,dropdownPrefixCls:Ce,column:Wt,columnKey:Pe,filterState:bt,filterOnClose:_t,filterMultiple:Tt,filterMode:ir,filterSearch:Zr,triggerFilter:qt,locale:Ot,getPopupContainer:We,rootClassName:wt},Le(ut.title,Bt))})}return"children"in Wt&&(Wt=Object.assign(Object.assign({},Wt),{children:zr(at,Ce,Wt.children,Mt,Ot,qt,We,gr,wt)})),Wt})}const $r=at=>{const Ce={};return at.forEach(Vt=>{let{key:Mt,filteredKeys:Ot,column:qt}=Vt;const We=Mt,{filters:ze,filterDropdown:wt}=qt;if(wt)Ce[We]=Ot||null;else if(Array.isArray(Ot)){const ut=Cr(ze);Ce[We]=ut.filter(cr=>Ot.includes(String(cr)))}else Ce[We]=null}),Ce},yn=(at,Ce,Vt)=>Ce.reduce((Ot,qt)=>{const{column:{onFilter:We,filters:ze},filteredKeys:wt}=qt;return We&&wt&&wt.length?Ot.map(ut=>Object.assign({},ut)).filter(ut=>wt.some(cr=>{const gr=Cr(ze),_t=gr.findIndex(ir=>String(ir)===String(cr)),Tt=_t!==-1?gr[_t]:cr;return ut[Vt]&&(ut[Vt]=yn(ut[Vt],Ce,Vt)),We(Tt,ut)})):Ot},at),Tn=at=>at.flatMap(Ce=>"children"in Ce?[Ce].concat((0,_.Z)(Tn(Ce.children||[]))):[Ce]);var Sr=at=>{const{prefixCls:Ce,dropdownPrefixCls:Vt,mergedColumns:Mt,onFilterChange:Ot,getPopupContainer:qt,locale:We,rootClassName:ze}=at,wt=(0,M.ln)("Table"),ut=o.useMemo(()=>Tn(Mt||[]),[Mt]),[cr,gr]=o.useState(()=>Be(ut,!0)),_t=o.useMemo(()=>{const Wt=Be(ut,!1);if(Wt.length===0)return Wt;let Pe=!0,bt=!0;if(Wt.forEach(Bt=>{let{filteredKeys:ht}=Bt;ht!==void 0?Pe=!1:bt=!1}),Pe){const Bt=(ut||[]).map((ht,Jt)=>ct(ht,ue(Jt)));return cr.filter(ht=>{let{key:Jt}=ht;return Bt.includes(Jt)}).map(ht=>{const Jt=ut[Bt.findIndex(dr=>dr===ht.key)];return Object.assign(Object.assign({},ht),{column:Object.assign(Object.assign({},ht.column),Jt),forceFiltered:Jt.filtered})})}return Wt},[ut,cr]),Tt=o.useMemo(()=>$r(_t),[_t]),ir=Wt=>{const Pe=_t.filter(bt=>{let{key:Bt}=bt;return Bt!==Wt.key});Pe.push(Wt),gr(Pe),Ot($r(Pe),Pe)};return[Wt=>zr(Ce,Vt,Wt,_t,We,ir,qt,void 0,ze),_t,Tt]},Br=(at,Ce,Vt)=>{const Mt=o.useRef({});function Ot(qt){var We;if(!Mt.current||Mt.current.data!==at||Mt.current.childrenColumnName!==Ce||Mt.current.getRowKey!==Vt){let wt=function(ut){ut.forEach((cr,gr)=>{const _t=Vt(cr,gr);ze.set(_t,cr),cr&&typeof cr=="object"&&Ce in cr&&wt(cr[Ce]||[])})};const ze=new Map;wt(at),Mt.current={data:at,childrenColumnName:Ce,kvMap:ze,getRowKey:Vt}}return(We=Mt.current.kvMap)===null||We===void 0?void 0:We.get(qt)}return[Ot]},h=function(at,Ce){var Vt={};for(var Mt in at)Object.prototype.hasOwnProperty.call(at,Mt)&&Ce.indexOf(Mt)<0&&(Vt[Mt]=at[Mt]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Mt=Object.getOwnPropertySymbols(at);Ot<Mt.length;Ot++)Ce.indexOf(Mt[Ot])<0&&Object.prototype.propertyIsEnumerable.call(at,Mt[Ot])&&(Vt[Mt[Ot]]=at[Mt[Ot]]);return Vt};const D=10;function Ee(at,Ce){const Vt={current:at.current,pageSize:at.pageSize};return Object.keys(Ce&&typeof Ce=="object"?Ce:{}).forEach(Ot=>{const qt=at[Ot];typeof qt!="function"&&(Vt[Ot]=qt)}),Vt}function ne(at,Ce,Vt){const Mt=Vt&&typeof Vt=="object"?Vt:{},{total:Ot=0}=Mt,qt=h(Mt,["total"]),[We,ze]=(0,o.useState)(()=>({current:"defaultCurrent"in qt?qt.defaultCurrent:1,pageSize:"defaultPageSize"in qt?qt.defaultPageSize:D})),wt=(0,Ie.Z)(We,qt,{total:Ot>0?Ot:at}),ut=Math.ceil((Ot||at)/wt.pageSize);wt.current>ut&&(wt.current=ut||1);const cr=(_t,Tt)=>{ze({current:_t!=null?_t:1,pageSize:Tt||wt.pageSize})},gr=(_t,Tt)=>{var ir;Vt&&((ir=Vt.onChange)===null||ir===void 0||ir.call(Vt,_t,Tt)),cr(_t,Tt),Ce(_t,Tt||(wt==null?void 0:wt.pageSize))};return Vt===!1?[{},()=>{}]:[Object.assign(Object.assign({},wt),{onChange:gr}),cr]}var lt=ne,pn=n(89489),mt=n(59477),Ut=n(25399);const Ur="ascend",Pr="descend",Jr=at=>typeof at.sorter=="object"&&typeof at.sorter.multiple=="number"?at.sorter.multiple:!1,gn=at=>typeof at=="function"?at:at&&typeof at=="object"&&at.compare?at.compare:!1,Jn=(at,Ce)=>Ce?at[at.indexOf(Ce)+1]:at[0],ge=(at,Ce,Vt)=>{let Mt=[];const Ot=(qt,We)=>{Mt.push({column:qt,key:ct(qt,We),multiplePriority:Jr(qt),sortOrder:qt.sortOrder})};return(at||[]).forEach((qt,We)=>{const ze=ue(We,Vt);qt.children?("sortOrder"in qt&&Ot(qt,ze),Mt=[].concat((0,_.Z)(Mt),(0,_.Z)(ge(qt.children,Ce,ze)))):qt.sorter&&("sortOrder"in qt?Ot(qt,ze):Ce&&qt.defaultSortOrder&&Mt.push({column:qt,key:ct(qt,ze),multiplePriority:Jr(qt),sortOrder:qt.defaultSortOrder}))}),Mt},mr=(at,Ce,Vt,Mt,Ot,qt,We,ze)=>(Ce||[]).map((ut,cr)=>{const gr=ue(cr,ze);let _t=ut;if(_t.sorter){const Tt=_t.sortDirections||Ot,ir=_t.showSorterTooltip===void 0?We:_t.showSorterTooltip,Zr=ct(_t,gr),Wt=Vt.find(Lr=>{let{key:Rr}=Lr;return Rr===Zr}),Pe=Wt?Wt.sortOrder:null,bt=Jn(Tt,Pe);let Bt;if(ut.sortIcon)Bt=ut.sortIcon({sortOrder:Pe});else{const Lr=Tt.includes(Ur)&&o.createElement(mt.Z,{className:u()(`${at}-column-sorter-up`,{active:Pe===Ur})}),Rr=Tt.includes(Pr)&&o.createElement(pn.Z,{className:u()(`${at}-column-sorter-down`,{active:Pe===Pr})});Bt=o.createElement("span",{className:u()(`${at}-column-sorter`,{[`${at}-column-sorter-full`]:!!(Lr&&Rr)})},o.createElement("span",{className:`${at}-column-sorter-inner`,"aria-hidden":"true"},Lr,Rr))}const{cancelSort:ht,triggerAsc:Jt,triggerDesc:dr}=qt||{};let fr=ht;bt===Pr?fr=dr:bt===Ur&&(fr=Jt);const Er=typeof ir=="object"?Object.assign({title:fr},ir):{title:fr};_t=Object.assign(Object.assign({},_t),{className:u()(_t.className,{[`${at}-column-sort`]:Pe}),title:Lr=>{const Rr=`${at}-column-sorters`,cn=o.createElement("span",{className:`${at}-column-title`},Le(ut.title,Lr)),wn=o.createElement("div",{className:Rr},cn,Bt);return ir?typeof ir!="boolean"&&(ir==null?void 0:ir.target)==="sorter-icon"?o.createElement("div",{className:`${Rr} ${at}-column-sorters-tooltip-target-sorter`},cn,o.createElement(Ut.Z,Object.assign({},Er),Bt)):o.createElement(Ut.Z,Object.assign({},Er),wn):wn},onHeaderCell:Lr=>{var Rr;const cn=((Rr=ut.onHeaderCell)===null||Rr===void 0?void 0:Rr.call(ut,Lr))||{},wn=cn.onClick,Mr=cn.onKeyDown;cn.onClick=da=>{Mt({column:ut,key:Zr,sortOrder:bt,multiplePriority:Jr(ut)}),wn==null||wn(da)},cn.onKeyDown=da=>{da.keyCode===Ht.Z.ENTER&&(Mt({column:ut,key:Zr,sortOrder:bt,multiplePriority:Jr(ut)}),Mr==null||Mr(da))};const Lt=Ct(ut.title,{}),ba=Lt==null?void 0:Lt.toString();return Pe&&(cn["aria-sort"]=Pe==="ascend"?"ascending":"descending"),cn["aria-label"]=ba||"",cn.className=u()(cn.className,`${at}-column-has-sorters`),cn.tabIndex=0,ut.ellipsis&&(cn.title=(Lt!=null?Lt:"").toString()),cn}})}return"children"in _t&&(_t=Object.assign(Object.assign({},_t),{children:mr(at,_t.children,Vt,Mt,Ot,qt,We,gr)})),_t}),et=at=>{const{column:Ce,sortOrder:Vt}=at;return{column:Ce,order:Vt,field:Ce.dataIndex,columnKey:Ce.key}},Ir=at=>{const Ce=at.filter(Vt=>{let{sortOrder:Mt}=Vt;return Mt}).map(et);if(Ce.length===0&&at.length){const Vt=at.length-1;return Object.assign(Object.assign({},et(at[Vt])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return Ce.length<=1?Ce[0]||{}:Ce},Vr=(at,Ce,Vt)=>{const Mt=Ce.slice().sort((We,ze)=>ze.multiplePriority-We.multiplePriority),Ot=at.slice(),qt=Mt.filter(We=>{let{column:{sorter:ze},sortOrder:wt}=We;return gn(ze)&&wt});return qt.length?Ot.sort((We,ze)=>{for(let wt=0;wt<qt.length;wt+=1){const ut=qt[wt],{column:{sorter:cr},sortOrder:gr}=ut,_t=gn(cr);if(_t&&gr){const Tt=_t(We,ze,gr);if(Tt!==0)return gr===Ur?Tt:-Tt}}return 0}).map(We=>{const ze=We[Vt];return ze?Object.assign(Object.assign({},We),{[Vt]:Vr(ze,Ce,Vt)}):We}):Ot};var ea=at=>{const{prefixCls:Ce,mergedColumns:Vt,sortDirections:Mt,tableLocale:Ot,showSorterTooltip:qt,onSorterChange:We}=at,[ze,wt]=o.useState(ge(Vt,!0)),ut=(Zr,Wt)=>{const Pe=[];return Zr.forEach((bt,Bt)=>{const ht=ue(Bt,Wt);if(Pe.push(ct(bt,ht)),Array.isArray(bt.children)){const Jt=ut(bt.children,ht);Pe.push.apply(Pe,(0,_.Z)(Jt))}}),Pe},cr=o.useMemo(()=>{let Zr=!0;const Wt=ge(Vt,!1);if(!Wt.length){const ht=ut(Vt);return ze.filter(Jt=>{let{key:dr}=Jt;return ht.includes(dr)})}const Pe=[];function bt(ht){Zr?Pe.push(ht):Pe.push(Object.assign(Object.assign({},ht),{sortOrder:null}))}let Bt=null;return Wt.forEach(ht=>{Bt===null?(bt(ht),ht.sortOrder&&(ht.multiplePriority===!1?Zr=!1:Bt=!0)):(Bt&&ht.multiplePriority!==!1||(Zr=!1),bt(ht))}),Pe},[Vt,ze]),gr=o.useMemo(()=>{var Zr,Wt;const Pe=cr.map(bt=>{let{column:Bt,sortOrder:ht}=bt;return{column:Bt,order:ht}});return{sortColumns:Pe,sortColumn:(Zr=Pe[0])===null||Zr===void 0?void 0:Zr.column,sortOrder:(Wt=Pe[0])===null||Wt===void 0?void 0:Wt.order}},[cr]),_t=Zr=>{let Wt;Zr.multiplePriority===!1||!cr.length||cr[0].multiplePriority===!1?Wt=[Zr]:Wt=[].concat((0,_.Z)(cr.filter(Pe=>{let{key:bt}=Pe;return bt!==Zr.key})),[Zr]),wt(Wt),We(Ir(Wt),Wt)};return[Zr=>mr(Ce,Zr,cr,_t,Mt,Ot,qt),cr,gr,()=>Ir(cr)]};const vt=(at,Ce)=>at.map(Mt=>{const Ot=Object.assign({},Mt);return Ot.title=Le(Mt.title,Ce),"children"in Ot&&(Ot.children=vt(Ot.children,Ce)),Ot});var sr=at=>[o.useCallback(Vt=>vt(Vt,at),[at])],jr=(0,qe.Q$)((at,Ce)=>{const{_renderTimes:Vt}=at,{_renderTimes:Mt}=Ce;return Vt!==Mt}),Wr=(0,qe.TN)((at,Ce)=>{const{_renderTimes:Vt}=at,{_renderTimes:Mt}=Ce;return Vt!==Mt}),Dr=n(36237),nn=n(17835),sn=n(63356),$n=n(16931),Pn=n(51636),Bn=at=>{const{componentCls:Ce,lineWidth:Vt,lineType:Mt,tableBorderColor:Ot,tableHeaderBg:qt,tablePaddingVertical:We,tablePaddingHorizontal:ze,calc:wt}=at,ut=`${(0,Dr.unit)(Vt)} ${Mt} ${Ot}`,cr=(gr,_t,Tt)=>({[`&${Ce}-${gr}`]:{[`> ${Ce}-container`]:{[`> ${Ce}-content, > ${Ce}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Ce}-expanded-row-fixed`]:{margin:`${(0,Dr.unit)(wt(_t).mul(-1).equal())}
|
|
|
${(0,Dr.unit)(wt(wt(Tt).add(Vt)).mul(-1).equal())}`}}}}}});return{[`${Ce}-wrapper`]:{[`${Ce}${Ce}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Ce}-title`]:{border:ut,borderBottom:0},[`> ${Ce}-container`]:{borderInlineStart:ut,borderTop:ut,[`
|
|
|
> ${Ce}-content,
|
|
|
> ${Ce}-header,
|
|
|
> ${Ce}-body,
|
|
|
> ${Ce}-summary
|
|
|
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:ut},"> thead":{"> tr:not(:last-child) > th":{borderBottom:ut},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Ce}-cell-fix-right-first::after`]:{borderInlineEnd:ut}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Ce}-expanded-row-fixed`]:{margin:`${(0,Dr.unit)(wt(We).mul(-1).equal())} ${(0,Dr.unit)(wt(wt(ze).add(Vt)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:Vt,bottom:0,borderInlineEnd:ut,content:'""'}}}}}},[`&${Ce}-scroll-horizontal`]:{[`> ${Ce}-container > ${Ce}-body`]:{"> table > tbody":{[`
|
|
|
> tr${Ce}-expanded-row,
|
|
|
> tr${Ce}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},cr("middle",at.tablePaddingVerticalMiddle,at.tablePaddingHorizontalMiddle)),cr("small",at.tablePaddingVerticalSmall,at.tablePaddingHorizontalSmall)),{[`> ${Ce}-footer`]:{border:ut,borderTop:0}}),[`${Ce}-cell`]:{[`${Ce}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,Dr.unit)(Vt)} 0 ${(0,Dr.unit)(Vt)} ${qt}`}},[`${Ce}-bordered ${Ce}-cell-scrollbar`]:{borderInlineEnd:ut}}}},tn=at=>{const{componentCls:Ce}=at;return{[`${Ce}-wrapper`]:{[`${Ce}-cell-ellipsis`]:Object.assign(Object.assign({},sn.vS),{wordBreak:"keep-all",[`
|
|
|
&${Ce}-cell-fix-left-last,
|
|
|
&${Ce}-cell-fix-right-first
|
|
|
`]:{overflow:"visible",[`${Ce}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Ce}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Yn=at=>{const{componentCls:Ce}=at;return{[`${Ce}-wrapper`]:{[`${Ce}-tbody > tr${Ce}-placeholder`]:{textAlign:"center",color:at.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:at.colorBgContainer}}}}},zn=at=>{const{componentCls:Ce,antCls:Vt,motionDurationSlow:Mt,lineWidth:Ot,paddingXS:qt,lineType:We,tableBorderColor:ze,tableExpandIconBg:wt,tableExpandColumnWidth:ut,borderRadius:cr,tablePaddingVertical:gr,tablePaddingHorizontal:_t,tableExpandedRowBg:Tt,paddingXXS:ir,expandIconMarginTop:Zr,expandIconSize:Wt,expandIconHalfInner:Pe,expandIconScale:bt,calc:Bt}=at,ht=`${(0,Dr.unit)(Ot)} ${We} ${ze}`,Jt=Bt(ir).sub(Ot).equal();return{[`${Ce}-wrapper`]:{[`${Ce}-expand-icon-col`]:{width:ut},[`${Ce}-row-expand-icon-cell`]:{textAlign:"center",[`${Ce}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Ce}-row-indent`]:{height:1,float:"left"},[`${Ce}-row-expand-icon`]:Object.assign(Object.assign({},(0,sn.Nd)(at)),{position:"relative",float:"left",width:Wt,height:Wt,color:"inherit",lineHeight:(0,Dr.unit)(Wt),background:wt,border:ht,borderRadius:cr,transform:`scale(${bt})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Mt} ease-out`,content:'""'},"&::before":{top:Pe,insetInlineEnd:Jt,insetInlineStart:Jt,height:Ot},"&::after":{top:Jt,bottom:Jt,insetInlineStart:Pe,width:Ot,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${Ce}-row-indent + ${Ce}-row-expand-icon`]:{marginTop:Zr,marginInlineEnd:qt},[`tr${Ce}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Tt}},[`${Vt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${Ce}-expanded-row-fixed`]:{position:"relative",margin:`${(0,Dr.unit)(Bt(gr).mul(-1).equal())} ${(0,Dr.unit)(Bt(_t).mul(-1).equal())}`,padding:`${(0,Dr.unit)(gr)} ${(0,Dr.unit)(_t)}`}}}},Gn=at=>{const{componentCls:Ce,antCls:Vt,iconCls:Mt,tableFilterDropdownWidth:Ot,tableFilterDropdownSearchWidth:qt,paddingXXS:We,paddingXS:ze,colorText:wt,lineWidth:ut,lineType:cr,tableBorderColor:gr,headerIconColor:_t,fontSizeSM:Tt,tablePaddingHorizontal:ir,borderRadius:Zr,motionDurationSlow:Wt,colorTextDescription:Pe,colorPrimary:bt,tableHeaderFilterActiveBg:Bt,colorTextDisabled:ht,tableFilterDropdownBg:Jt,tableFilterDropdownHeight:dr,controlItemBgHover:fr,controlItemBgActive:Er,boxShadowSecondary:Lr,filterDropdownMenuBg:Rr,calc:cn}=at,wn=`${Vt}-dropdown`,Mr=`${Ce}-filter-dropdown`,Lt=`${Vt}-tree`,ba=`${(0,Dr.unit)(ut)} ${cr} ${gr}`;return[{[`${Ce}-wrapper`]:{[`${Ce}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Ce}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:cn(We).mul(-1).equal(),marginInline:`${(0,Dr.unit)(We)} ${(0,Dr.unit)(cn(ir).div(2).mul(-1).equal())}`,padding:`0 ${(0,Dr.unit)(We)}`,color:_t,fontSize:Tt,borderRadius:Zr,cursor:"pointer",transition:`all ${Wt}`,"&:hover":{color:Pe,background:Bt},"&.active":{color:bt}}}},{[`${Vt}-dropdown`]:{[Mr]:Object.assign(Object.assign({},(0,sn.Wf)(at)),{minWidth:Ot,backgroundColor:Jt,borderRadius:Zr,boxShadow:Lr,overflow:"hidden",[`${wn}-menu`]:{maxHeight:dr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Rr,"&:empty::after":{display:"block",padding:`${(0,Dr.unit)(ze)} 0`,color:ht,fontSize:Tt,textAlign:"center",content:'"Not Found"'}},[`${Mr}-tree`]:{paddingBlock:`${(0,Dr.unit)(ze)} 0`,paddingInline:ze,[Lt]:{padding:0},[`${Lt}-treenode ${Lt}-node-content-wrapper:hover`]:{backgroundColor:fr},[`${Lt}-treenode-checkbox-checked ${Lt}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Er}}},[`${Mr}-search`]:{padding:ze,borderBottom:ba,"&-input":{input:{minWidth:qt},[Mt]:{color:ht}}},[`${Mr}-checkall`]:{width:"100%",marginBottom:We,marginInlineStart:We},[`${Mr}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,Dr.unit)(cn(ze).sub(ut).equal())} ${(0,Dr.unit)(ze)}`,overflow:"hidden",borderTop:ba}})}},{[`${Vt}-dropdown ${Mr}, ${Mr}-submenu`]:{[`${Vt}-checkbox-wrapper + span`]:{paddingInlineStart:ze,color:wt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},qn=at=>{const{componentCls:Ce,lineWidth:Vt,colorSplit:Mt,motionDurationSlow:Ot,zIndexTableFixed:qt,tableBg:We,zIndexTableSticky:ze,calc:wt}=at,ut=Mt;return{[`${Ce}-wrapper`]:{[`
|
|
|
${Ce}-cell-fix-left,
|
|
|
${Ce}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:qt,background:We},[`
|
|
|
${Ce}-cell-fix-left-first::after,
|
|
|
${Ce}-cell-fix-left-last::after
|
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:wt(Vt).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${Ot}`,content:'""',pointerEvents:"none"},[`${Ce}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
|
${Ce}-cell-fix-right-first::after,
|
|
|
${Ce}-cell-fix-right-last::after
|
|
|
`]:{position:"absolute",top:0,bottom:wt(Vt).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Ot}`,content:'""',pointerEvents:"none"},[`${Ce}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:wt(ze).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${Ot}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Ce}-ping-left`]:{[`&:not(${Ce}-has-fix-left) ${Ce}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${ut}`},[`
|
|
|
${Ce}-cell-fix-left-first::after,
|
|
|
${Ce}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${ut}`},[`${Ce}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Ce}-ping-right`]:{[`&:not(${Ce}-has-fix-right) ${Ce}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${ut}`},[`
|
|
|
${Ce}-cell-fix-right-first::after,
|
|
|
${Ce}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${ut}`}},[`${Ce}-fixed-column-gapped`]:{[`
|
|
|
${Ce}-cell-fix-left-first::after,
|
|
|
${Ce}-cell-fix-left-last::after,
|
|
|
${Ce}-cell-fix-right-first::after,
|
|
|
${Ce}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:"none"}}}}},xn=at=>{const{componentCls:Ce,antCls:Vt,margin:Mt}=at;return{[`${Ce}-wrapper`]:{[`${Ce}-pagination${Vt}-pagination`]:{margin:`${(0,Dr.unit)(Mt)} 0`},[`${Ce}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:at.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},wa=at=>{const{componentCls:Ce,tableRadius:Vt}=at;return{[`${Ce}-wrapper`]:{[Ce]:{[`${Ce}-title, ${Ce}-header`]:{borderRadius:`${(0,Dr.unit)(Vt)} ${(0,Dr.unit)(Vt)} 0 0`},[`${Ce}-title + ${Ce}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Ce}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:Vt,borderStartEndRadius:Vt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Vt},"> *:last-child":{borderStartEndRadius:Vt}}},"&-footer":{borderRadius:`0 0 ${(0,Dr.unit)(Vt)} ${(0,Dr.unit)(Vt)}`}}}}},to=at=>{const{componentCls:Ce}=at;return{[`${Ce}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Ce}-pagination-left`]:{justifyContent:"flex-end"},[`${Ce}-pagination-right`]:{justifyContent:"flex-start"},[`${Ce}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Ce}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Ce}-row-indent`]:{float:"right"}}}}},so=at=>{const{componentCls:Ce,antCls:Vt,iconCls:Mt,fontSizeIcon:Ot,padding:qt,paddingXS:We,headerIconColor:ze,headerIconHoverColor:wt,tableSelectionColumnWidth:ut,tableSelectedRowBg:cr,tableSelectedRowHoverBg:gr,tableRowHoverBg:_t,tablePaddingHorizontal:Tt,calc:ir}=at;return{[`${Ce}-wrapper`]:{[`${Ce}-selection-col`]:{width:ut,[`&${Ce}-selection-col-with-dropdown`]:{width:ir(ut).add(Ot).add(ir(qt).div(4)).equal()}},[`${Ce}-bordered ${Ce}-selection-col`]:{width:ir(ut).add(ir(We).mul(2)).equal(),[`&${Ce}-selection-col-with-dropdown`]:{width:ir(ut).add(Ot).add(ir(qt).div(4)).add(ir(We).mul(2)).equal()}},[`
|
|
|
table tr th${Ce}-selection-column,
|
|
|
table tr td${Ce}-selection-column,
|
|
|
${Ce}-selection-column
|
|
|
`]:{paddingInlineEnd:at.paddingXS,paddingInlineStart:at.paddingXS,textAlign:"center",[`${Vt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Ce}-selection-column${Ce}-cell-fix-left`]:{zIndex:ir(at.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${Ce}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Ce}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Ce}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${at.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,Dr.unit)(ir(Tt).div(4).equal()),[Mt]:{color:ze,fontSize:Ot,verticalAlign:"baseline","&:hover":{color:wt}}},[`${Ce}-tbody`]:{[`${Ce}-row`]:{[`&${Ce}-row-selected`]:{[`> ${Ce}-cell`]:{background:cr,"&-row-hover":{background:gr}}},[`> ${Ce}-cell-row-hover`]:{background:_t}}}}}},s=at=>{const{componentCls:Ce,tableExpandColumnWidth:Vt,calc:Mt}=at,Ot=(qt,We,ze,wt)=>({[`${Ce}${Ce}-${qt}`]:{fontSize:wt,[`
|
|
|
${Ce}-title,
|
|
|
${Ce}-footer,
|
|
|
${Ce}-cell,
|
|
|
${Ce}-thead > tr > th,
|
|
|
${Ce}-tbody > tr > th,
|
|
|
${Ce}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{padding:`${(0,Dr.unit)(We)} ${(0,Dr.unit)(ze)}`},[`${Ce}-filter-trigger`]:{marginInlineEnd:(0,Dr.unit)(Mt(ze).div(2).mul(-1).equal())},[`${Ce}-expanded-row-fixed`]:{margin:`${(0,Dr.unit)(Mt(We).mul(-1).equal())} ${(0,Dr.unit)(Mt(ze).mul(-1).equal())}`},[`${Ce}-tbody`]:{[`${Ce}-wrapper:only-child ${Ce}`]:{marginBlock:(0,Dr.unit)(Mt(We).mul(-1).equal()),marginInline:`${(0,Dr.unit)(Mt(Vt).sub(ze).equal())} ${(0,Dr.unit)(Mt(ze).mul(-1).equal())}`}},[`${Ce}-selection-extra`]:{paddingInlineStart:(0,Dr.unit)(Mt(ze).div(4).equal())}}});return{[`${Ce}-wrapper`]:Object.assign(Object.assign({},Ot("middle",at.tablePaddingVerticalMiddle,at.tablePaddingHorizontalMiddle,at.tableFontSizeMiddle)),Ot("small",at.tablePaddingVerticalSmall,at.tablePaddingHorizontalSmall,at.tableFontSizeSmall))}},b=at=>{const{componentCls:Ce,marginXXS:Vt,fontSizeIcon:Mt,headerIconColor:Ot,headerIconHoverColor:qt}=at;return{[`${Ce}-wrapper`]:{[`${Ce}-thead th${Ce}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${at.motionDurationSlow}, left 0s`,"&:hover":{background:at.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:at.colorPrimary},[`
|
|
|
&${Ce}-cell-fix-left:hover,
|
|
|
&${Ce}-cell-fix-right:hover
|
|
|
`]:{background:at.tableFixedHeaderSortActiveBg}},[`${Ce}-thead th${Ce}-column-sort`]:{background:at.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Ce}-column-sort`]:{background:at.tableBodySortBg},[`${Ce}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${Ce}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Ce}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${Ce}-column-sorter`]:{marginInlineStart:Vt,color:Ot,fontSize:0,transition:`color ${at.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Mt,"&.active":{color:at.colorPrimary}},[`${Ce}-column-sorter-up + ${Ce}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Ce}-column-sorters:hover ${Ce}-column-sorter`]:{color:qt}}}},v=at=>{const{componentCls:Ce,opacityLoading:Vt,tableScrollThumbBg:Mt,tableScrollThumbBgHover:Ot,tableScrollThumbSize:qt,tableScrollBg:We,zIndexTableSticky:ze,stickyScrollBarBorderRadius:wt,lineWidth:ut,lineType:cr,tableBorderColor:gr}=at,_t=`${(0,Dr.unit)(ut)} ${cr} ${gr}`;return{[`${Ce}-wrapper`]:{[`${Ce}-sticky`]:{"&-holder":{position:"sticky",zIndex:ze,background:at.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,Dr.unit)(qt)} !important`,zIndex:ze,display:"flex",alignItems:"center",background:We,borderTop:_t,opacity:Vt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:qt,backgroundColor:Mt,borderRadius:wt,transition:`all ${at.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Ot}}}}}}},Z=at=>{const{componentCls:Ce,lineWidth:Vt,tableBorderColor:Mt,calc:Ot}=at,qt=`${(0,Dr.unit)(Vt)} ${at.lineType} ${Mt}`;return{[`${Ce}-wrapper`]:{[`${Ce}-summary`]:{position:"relative",zIndex:at.zIndexTableFixed,background:at.tableBg,"> tr":{"> th, > td":{borderBottom:qt}}},[`div${Ce}-summary`]:{boxShadow:`0 ${(0,Dr.unit)(Ot(Vt).mul(-1).equal())} 0 ${Mt}`}}}},Ae=at=>{const{componentCls:Ce,motionDurationMid:Vt,lineWidth:Mt,lineType:Ot,tableBorderColor:qt,calc:We}=at,ze=`${(0,Dr.unit)(Mt)} ${Ot} ${qt}`,wt=`${Ce}-expanded-row-cell`;return{[`${Ce}-wrapper`]:{[`${Ce}-tbody-virtual`]:{[`${Ce}-tbody-virtual-holder-inner`]:{[`
|
|
|
& > ${Ce}-row,
|
|
|
& > div:not(${Ce}-row) > ${Ce}-row
|
|
|
`]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${Ce}-cell`]:{borderBottom:ze,transition:`background ${Vt}`},[`${Ce}-expanded-row`]:{[`${wt}${wt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,Dr.unit)(Mt)})`,borderInlineEnd:"none"}}},[`${Ce}-bordered`]:{[`${Ce}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:ze,position:"absolute"},[`${Ce}-cell`]:{borderInlineEnd:ze,[`&${Ce}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:We(Mt).mul(-1).equal(),borderInlineStart:ze}}},[`&${Ce}-virtual`]:{[`${Ce}-placeholder ${Ce}-cell`]:{borderInlineEnd:ze,borderBottom:ze}}}}}};const st=at=>{const{componentCls:Ce,fontWeightStrong:Vt,tablePaddingVertical:Mt,tablePaddingHorizontal:Ot,tableExpandColumnWidth:qt,lineWidth:We,lineType:ze,tableBorderColor:wt,tableFontSize:ut,tableBg:cr,tableRadius:gr,tableHeaderTextColor:_t,motionDurationMid:Tt,tableHeaderBg:ir,tableHeaderCellSplitColor:Zr,tableFooterTextColor:Wt,tableFooterBg:Pe,calc:bt}=at,Bt=`${(0,Dr.unit)(We)} ${ze} ${wt}`;return{[`${Ce}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,sn.dF)()),{[Ce]:Object.assign(Object.assign({},(0,sn.Wf)(at)),{fontSize:ut,background:cr,borderRadius:`${(0,Dr.unit)(gr)} ${(0,Dr.unit)(gr)} 0 0`,scrollbarColor:`${at.tableScrollThumbBg} ${at.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,Dr.unit)(gr)} ${(0,Dr.unit)(gr)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
|
${Ce}-cell,
|
|
|
${Ce}-thead > tr > th,
|
|
|
${Ce}-tbody > tr > th,
|
|
|
${Ce}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{position:"relative",padding:`${(0,Dr.unit)(Mt)} ${(0,Dr.unit)(Ot)}`,overflowWrap:"break-word"},[`${Ce}-title`]:{padding:`${(0,Dr.unit)(Mt)} ${(0,Dr.unit)(Ot)}`},[`${Ce}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:_t,fontWeight:Vt,textAlign:"start",background:ir,borderBottom:Bt,transition:`background ${Tt} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Ce}-selection-column):not(${Ce}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Zr,transform:"translateY(-50%)",transition:`background-color ${Tt}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Ce}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Tt}, border-color ${Tt}`,borderBottom:Bt,[`
|
|
|
> ${Ce}-wrapper:only-child,
|
|
|
> ${Ce}-expanded-row-fixed > ${Ce}-wrapper:only-child
|
|
|
`]:{[Ce]:{marginBlock:(0,Dr.unit)(bt(Mt).mul(-1).equal()),marginInline:`${(0,Dr.unit)(bt(qt).sub(Ot).equal())}
|
|
|
${(0,Dr.unit)(bt(Ot).mul(-1).equal())}`,[`${Ce}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:_t,fontWeight:Vt,textAlign:"start",background:ir,borderBottom:Bt,transition:`background ${Tt} ease`}}},[`${Ce}-footer`]:{padding:`${(0,Dr.unit)(Mt)} ${(0,Dr.unit)(Ot)}`,color:Wt,background:Pe}})}},jt=at=>{const{colorFillAlter:Ce,colorBgContainer:Vt,colorTextHeading:Mt,colorFillSecondary:Ot,colorFillContent:qt,controlItemBgActive:We,controlItemBgActiveHover:ze,padding:wt,paddingSM:ut,paddingXS:cr,colorBorderSecondary:gr,borderRadiusLG:_t,controlHeight:Tt,colorTextPlaceholder:ir,fontSize:Zr,fontSizeSM:Wt,lineHeight:Pe,lineWidth:bt,colorIcon:Bt,colorIconHover:ht,opacityLoading:Jt,controlInteractiveSize:dr}=at,fr=new nn.FastColor(Ot).onBackground(Vt).toHexString(),Er=new nn.FastColor(qt).onBackground(Vt).toHexString(),Lr=new nn.FastColor(Ce).onBackground(Vt).toHexString(),Rr=new nn.FastColor(Bt),cn=new nn.FastColor(ht),wn=dr/2-bt,Mr=wn*2+bt*3;return{headerBg:Lr,headerColor:Mt,headerSortActiveBg:fr,headerSortHoverBg:Er,bodySortBg:Lr,rowHoverBg:Lr,rowSelectedBg:We,rowSelectedHoverBg:ze,rowExpandedBg:Ce,cellPaddingBlock:wt,cellPaddingInline:wt,cellPaddingBlockMD:ut,cellPaddingInlineMD:cr,cellPaddingBlockSM:cr,cellPaddingInlineSM:cr,borderColor:gr,headerBorderRadius:_t,footerBg:Lr,footerColor:Mt,cellFontSize:Zr,cellFontSizeMD:Zr,cellFontSizeSM:Zr,headerSplitColor:gr,fixedHeaderSortActiveBg:fr,headerFilterHoverBg:qt,filterDropdownMenuBg:Vt,filterDropdownBg:Vt,expandIconBg:Vt,selectionColumnWidth:Tt,stickyScrollBarBg:ir,stickyScrollBarBorderRadius:100,expandIconMarginTop:(Zr*Pe-bt*3)/2-Math.ceil((Wt*1.4-bt*3)/2),headerIconColor:Rr.clone().setA(Rr.a*Jt).toRgbString(),headerIconHoverColor:cn.clone().setA(cn.a*Jt).toRgbString(),expandIconHalfInner:wn,expandIconSize:Mr,expandIconScale:dr/Mr}},At=2;var ve=(0,$n.I$)("Table",at=>{const{colorTextHeading:Ce,colorSplit:Vt,colorBgContainer:Mt,controlInteractiveSize:Ot,headerBg:qt,headerColor:We,headerSortActiveBg:ze,headerSortHoverBg:wt,bodySortBg:ut,rowHoverBg:cr,rowSelectedBg:gr,rowSelectedHoverBg:_t,rowExpandedBg:Tt,cellPaddingBlock:ir,cellPaddingInline:Zr,cellPaddingBlockMD:Wt,cellPaddingInlineMD:Pe,cellPaddingBlockSM:bt,cellPaddingInlineSM:Bt,borderColor:ht,footerBg:Jt,footerColor:dr,headerBorderRadius:fr,cellFontSize:Er,cellFontSizeMD:Lr,cellFontSizeSM:Rr,headerSplitColor:cn,fixedHeaderSortActiveBg:wn,headerFilterHoverBg:Mr,filterDropdownBg:Lt,expandIconBg:ba,selectionColumnWidth:da,stickyScrollBarBg:Hn,calc:an}=at,dn=(0,Pn.mergeToken)(at,{tableFontSize:Er,tableBg:Mt,tableRadius:fr,tablePaddingVertical:ir,tablePaddingHorizontal:Zr,tablePaddingVerticalMiddle:Wt,tablePaddingHorizontalMiddle:Pe,tablePaddingVerticalSmall:bt,tablePaddingHorizontalSmall:Bt,tableBorderColor:ht,tableHeaderTextColor:We,tableHeaderBg:qt,tableFooterTextColor:dr,tableFooterBg:Jt,tableHeaderCellSplitColor:cn,tableHeaderSortBg:ze,tableHeaderSortHoverBg:wt,tableBodySortBg:ut,tableFixedHeaderSortActiveBg:wn,tableHeaderFilterActiveBg:Mr,tableFilterDropdownBg:Lt,tableRowHoverBg:cr,tableSelectedRowBg:gr,tableSelectedRowHoverBg:_t,zIndexTableFixed:At,zIndexTableSticky:an(At).add(1).equal({unit:!1}),tableFontSizeMiddle:Lr,tableFontSizeSmall:Rr,tableSelectionColumnWidth:da,tableExpandIconBg:ba,tableExpandColumnWidth:an(Ot).add(an(at.padding).mul(2)).equal(),tableExpandedRowBg:Tt,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Hn,tableScrollThumbBgHover:Ce,tableScrollBg:Vt});return[st(dn),xn(dn),Z(dn),b(dn),Gn(dn),Bn(dn),wa(dn),zn(dn),Z(dn),Yn(dn),so(dn),qn(dn),v(dn),tn(dn),s(dn),to(dn),Ae(dn)]},jt,{unitless:{expandIconScale:!0}});const kt=[],Ge=(at,Ce)=>{var Vt,Mt;const{prefixCls:Ot,className:qt,rootClassName:We,style:ze,size:wt,bordered:ut,dropdownPrefixCls:cr,dataSource:gr,pagination:_t,rowSelection:Tt,rowKey:ir="key",rowClassName:Zr,columns:Wt,children:Pe,childrenColumnName:bt,onChange:Bt,getPopupContainer:ht,loading:Jt,expandIcon:dr,expandable:fr,expandedRowRender:Er,expandIconColumnIndex:Lr,indentSize:Rr,scroll:cn,sortDirections:wn,locale:Mr,showSorterTooltip:Lt={target:"full-header"},virtual:ba}=at,da=(0,M.ln)("Table"),Hn=o.useMemo(()=>Wt||(0,xe.L)(Pe),[Wt,Pe]),an=o.useMemo(()=>Hn.some($a=>$a.responsive),[Hn]),dn=(0,k.Z)(an),Gr=o.useMemo(()=>{const $a=new Set(Object.keys(dn).filter(Aa=>dn[Aa]));return Hn.filter(Aa=>!Aa.responsive||Aa.responsive.some(fo=>$a.has(fo)))},[Hn,dn]),sa=(0,Q.Z)(at,["className","style","columns"]),{locale:Vn=z.Z,direction:xa,table:Xn,renderEmpty:la,getPrefixCls:La,getPopupContainer:na}=o.useContext(nt.E_),kn=(0,w.Z)(wt),aa=Object.assign(Object.assign({},Vn.Table),Mr),Fn=gr||kt,Ln=La("table",Ot),_n=La("dropdown",cr),[,Qr]=(0,He.ZP)(),mn=(0,le.Z)(Ln),[ca,En,ha]=ve(Ln,mn),Zn=Object.assign(Object.assign({childrenColumnName:bt,expandIconColumnIndex:Lr},fr),{expandIcon:(Vt=fr==null?void 0:fr.expandIcon)!==null&&Vt!==void 0?Vt:(Mt=Xn==null?void 0:Xn.expandable)===null||Mt===void 0?void 0:Mt.expandIcon}),{childrenColumnName:Ha="children"}=Zn,Ja=o.useMemo(()=>Fn.some($a=>$a==null?void 0:$a[Ha])?"nest":Er||fr!=null&&fr.expandedRowRender?"row":null,[Fn]),Cn={body:o.useRef(null)},jn=ot(Ln),fa=o.useRef(null),qa=o.useRef(null);N(Ce,()=>Object.assign(Object.assign({},qa.current),{nativeElement:fa.current}));const Ka=o.useMemo(()=>typeof ir=="function"?ir:$a=>$a==null?void 0:$a[ir],[ir]),[co]=Br(Fn,Ha,Ka),uo={},ma=function($a,Aa){let fo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ve,No,Mo,yo;const ao=Object.assign(Object.assign({},uo),$a);fo&&((Ve=uo.resetPagination)===null||Ve===void 0||Ve.call(uo),!((No=ao.pagination)===null||No===void 0)&&No.current&&(ao.pagination.current=1),_t&&((Mo=_t.onChange)===null||Mo===void 0||Mo.call(_t,1,(yo=ao.pagination)===null||yo===void 0?void 0:yo.pageSize))),cn&&cn.scrollToFirstRowOnChange!==!1&&Cn.body.current&&(0,I.Z)(0,{getContainer:()=>Cn.body.current}),Bt==null||Bt(ao.pagination,ao.filters,ao.sorter,{currentDataSource:yn(Vr(Fn,ao.sorterStates,Ha),ao.filterStates,Ha),action:Aa})},Eo=($a,Aa)=>{ma({sorter:$a,sorterStates:Aa},"sort",!1)},[ja,Ta,Na,Ba]=ea({prefixCls:Ln,mergedColumns:Gr,onSorterChange:Eo,sortDirections:wn||["ascend","descend"],tableLocale:aa,showSorterTooltip:Lt}),Wa=o.useMemo(()=>Vr(Fn,Ta,Ha),[Fn,Ta]);uo.sorter=Ba(),uo.sorterStates=Ta;const va=($a,Aa)=>{ma({filters:$a,filterStates:Aa},"filter",!0)},[Xa,Da,_a]=Sr({prefixCls:Ln,locale:aa,dropdownPrefixCls:_n,mergedColumns:Gr,onFilterChange:va,getPopupContainer:ht||na,rootClassName:u()(We,mn)}),no=yn(Wa,Da,Ha);uo.filters=_a,uo.filterStates=Da;const lo=o.useMemo(()=>{const $a={};return Object.keys(_a).forEach(Aa=>{_a[Aa]!==null&&($a[Aa]=_a[Aa])}),Object.assign(Object.assign({},Na),{filters:$a})},[Na,_a]),[$o]=sr(lo),Po=($a,Aa)=>{ma({pagination:Object.assign(Object.assign({},uo.pagination),{current:$a,pageSize:Aa})},"paginate")},[Ma,Wo]=lt(no.length,Po,_t);uo.pagination=_t===!1?{}:Ee(Ma,_t),uo.resetPagination=Wo;const ho=o.useMemo(()=>{if(_t===!1||!Ma.pageSize)return no;const{current:$a=1,total:Aa,pageSize:fo=D}=Ma;return no.length<Aa?no.length>fo?no.slice(($a-1)*fo,$a*fo):no:no.slice(($a-1)*fo,$a*fo)},[!!_t,no,Ma==null?void 0:Ma.current,Ma==null?void 0:Ma.pageSize,Ma==null?void 0:Ma.total]),[jo,vo]=we({prefixCls:Ln,data:no,pageData:ho,getRowKey:Ka,getRecordByKey:co,expandType:Ja,childrenColumnName:Ha,locale:aa,getPopupContainer:ht||na},Tt),vi=($a,Aa,fo)=>{let Ve;return typeof Zr=="function"?Ve=u()(Zr($a,Aa,fo)):Ve=u()(Zr),u()({[`${Ln}-row-selected`]:vo.has(Ka($a,Aa))},Ve)};Zn.__PARENT_RENDER_ICON__=Zn.expandIcon,Zn.expandIcon=Zn.expandIcon||dr||Ue(aa),Ja==="nest"&&Zn.expandIconColumnIndex===void 0?Zn.expandIconColumnIndex=Tt?1:0:Zn.expandIconColumnIndex>0&&Tt&&(Zn.expandIconColumnIndex-=1),typeof Zn.indentSize!="number"&&(Zn.indentSize=typeof Rr=="number"?Rr:15);const ko=o.useCallback($a=>$o(jo(Xa(ja($a)))),[ja,Xa,jo]);let Qo,Ei;if(_t!==!1&&(Ma!=null&&Ma.total)){let $a;Ma.size?$a=Ma.size:$a=kn==="small"||kn==="middle"?"small":void 0;const Aa=No=>o.createElement(C.Z,Object.assign({},Ma,{className:u()(`${Ln}-pagination ${Ln}-pagination-${No}`,Ma.className),size:$a})),fo=xa==="rtl"?"left":"right",{position:Ve}=Ma;if(Ve!==null&&Array.isArray(Ve)){const No=Ve.find(ao=>ao.includes("top")),Mo=Ve.find(ao=>ao.includes("bottom")),yo=Ve.every(ao=>`${ao}`=="none");!No&&!Mo&&!yo&&(Ei=Aa(fo)),No&&(Qo=Aa(No.toLowerCase().replace("top",""))),Mo&&(Ei=Aa(Mo.toLowerCase().replace("bottom","")))}else Ei=Aa(fo)}let Lo;typeof Jt=="boolean"?Lo={spinning:Jt}:typeof Jt=="object"&&(Lo=Object.assign({spinning:!0},Jt));const Uo=u()(ha,mn,`${Ln}-wrapper`,Xn==null?void 0:Xn.className,{[`${Ln}-wrapper-rtl`]:xa==="rtl"},qt,We,En),ki=Object.assign(Object.assign({},Xn==null?void 0:Xn.style),ze),bi=typeof(Mr==null?void 0:Mr.emptyText)!="undefined"?Mr.emptyText:(la==null?void 0:la("Table"))||o.createElement(ce.Z,{componentName:"Table"}),yi=ba?Wr:jr,xi={},Ii=o.useMemo(()=>{const{fontSize:$a,lineHeight:Aa,lineWidth:fo,padding:Ve,paddingXS:No,paddingSM:Mo}=Qr,yo=Math.floor($a*Aa);switch(kn){case"middle":return Mo*2+yo+fo;case"small":return No*2+yo+fo;default:return Ve*2+yo+fo}},[Qr,kn]);return ba&&(xi.listItemHeight=Ii),ca(o.createElement("div",{ref:fa,className:Uo,style:ki},o.createElement(Y.Z,Object.assign({spinning:!1},Lo),Qo,o.createElement(yi,Object.assign({},xi,sa,{ref:qa,columns:Gr,direction:xa,expandable:Zn,prefixCls:Ln,className:u()({[`${Ln}-middle`]:kn==="middle",[`${Ln}-small`]:kn==="small",[`${Ln}-bordered`]:ut,[`${Ln}-empty`]:Fn.length===0},ha,mn,En),data:ho,rowKey:Ka,rowClassName:vi,emptyText:bi,internalHooks:qe.RQ,internalRefs:Cn,transformColumns:ko,getContainerWidth:jn})),Ei)))};var Zt=o.forwardRef(Ge);const gt=(at,Ce)=>{const Vt=o.useRef(0);return Vt.current+=1,o.createElement(Zt,Object.assign({},at,{ref:Ce,_renderTimes:Vt.current}))},ar=o.forwardRef(gt);ar.SELECTION_COLUMN=ie,ar.EXPAND_COLUMN=qe.w2,ar.SELECTION_ALL=J,ar.SELECTION_INVERT=te,ar.SELECTION_NONE=$e,ar.Column=Re,ar.ColumnGroup=ee,ar.Summary=qe.ER;var yr=ar,Qt=yr},20554:function(Yr,Xt,n){"use strict";n.d(Xt,{default:function(){return z}});var o=n(59301),qe=n(99267),L=n(18785),Re=n(62772),q=n(92310),ee=n.n(q),_=n(29443),y=n(48755),G=n(83397),u=n(31756),B=n(86641);const F={motionAppear:!1,motionEnter:!0,motionLeave:!0};function K(C){let Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},He;return Y===!1?He={inkBar:!1,tabPane:!1}:Y===!0?He={inkBar:!0,tabPane:!0}:He=Object.assign({inkBar:!0},typeof Y=="object"?Y:{}),He.tabPane&&(He.tabPaneMotion=Object.assign(Object.assign({},F),{motionName:(0,B.m)(C,"switch")})),He}var R=n(11592),X=function(C,Y){var He={};for(var pe in C)Object.prototype.hasOwnProperty.call(C,pe)&&Y.indexOf(pe)<0&&(He[pe]=C[pe]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,pe=Object.getOwnPropertySymbols(C);Ue<pe.length;Ue++)Y.indexOf(pe[Ue])<0&&Object.prototype.propertyIsEnumerable.call(C,pe[Ue])&&(He[pe[Ue]]=C[pe[Ue]]);return He};function M(C){return C.filter(Y=>Y)}function $(C,Y){if(C)return C;const He=(0,R.Z)(Y).map(pe=>{if(o.isValidElement(pe)){const{key:Ue,props:ot}=pe,ct=ot||{},{tab:ue}=ct,Le=X(ct,["tab"]);return Object.assign(Object.assign({key:String(Ue)},Le),{label:ue})}return null});return M(He)}var S=n(36237),E=n(63356),ie=n(16931),J=n(51636),te=n(46e3),Ne=C=>{const{componentCls:Y,motionDurationSlow:He}=C;return[{[Y]:{[`${Y}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${He}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${He}`}}}}},[(0,te.oN)(C,"slide-up"),(0,te.oN)(C,"slide-down")]]};const Qe=C=>{const{componentCls:Y,tabsCardPadding:He,cardBg:pe,cardGutter:Ue,colorBorderSecondary:ot,itemSelectedColor:ct}=C;return{[`${Y}-card`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{[`${Y}-tab`]:{margin:0,padding:He,background:pe,border:`${(0,S.unit)(C.lineWidth)} ${C.lineType} ${ot}`,transition:`all ${C.motionDurationSlow} ${C.motionEaseInOut}`},[`${Y}-tab-active`]:{color:ct,background:C.colorBgContainer},[`${Y}-tab-focus`]:Object.assign({},(0,E.oN)(C,-3)),[`${Y}-ink-bar`]:{visibility:"hidden"},[`& ${Y}-tab${Y}-tab-focus ${Y}-tab-btn`]:{outline:"none"}},[`&${Y}-top, &${Y}-bottom`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{[`${Y}-tab + ${Y}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,S.unit)(Ue)}}}},[`&${Y}-top`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{[`${Y}-tab`]:{borderRadius:`${(0,S.unit)(C.borderRadiusLG)} ${(0,S.unit)(C.borderRadiusLG)} 0 0`},[`${Y}-tab-active`]:{borderBottomColor:C.colorBgContainer}}},[`&${Y}-bottom`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{[`${Y}-tab`]:{borderRadius:`0 0 ${(0,S.unit)(C.borderRadiusLG)} ${(0,S.unit)(C.borderRadiusLG)}`},[`${Y}-tab-active`]:{borderTopColor:C.colorBgContainer}}},[`&${Y}-left, &${Y}-right`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{[`${Y}-tab + ${Y}-tab`]:{marginTop:(0,S.unit)(Ue)}}},[`&${Y}-left`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{[`${Y}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,S.unit)(C.borderRadiusLG)} 0 0 ${(0,S.unit)(C.borderRadiusLG)}`}},[`${Y}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:C.colorBgContainer}}}},[`&${Y}-right`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{[`${Y}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,S.unit)(C.borderRadiusLG)} ${(0,S.unit)(C.borderRadiusLG)} 0`}},[`${Y}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:C.colorBgContainer}}}}}}},Ze=C=>{const{componentCls:Y,itemHoverColor:He,dropdownEdgeChildVerticalPadding:pe}=C;return{[`${Y}-dropdown`]:Object.assign(Object.assign({},(0,E.Wf)(C)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:C.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${Y}-dropdown-menu`]:{maxHeight:C.tabsDropdownHeight,margin:0,padding:`${(0,S.unit)(pe)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:C.colorBgContainer,backgroundClip:"padding-box",borderRadius:C.borderRadiusLG,outline:"none",boxShadow:C.boxShadowSecondary,"&-item":Object.assign(Object.assign({},E.vS),{display:"flex",alignItems:"center",minWidth:C.tabsDropdownWidth,margin:0,padding:`${(0,S.unit)(C.paddingXXS)} ${(0,S.unit)(C.paddingSM)}`,color:C.colorText,fontWeight:"normal",fontSize:C.fontSize,lineHeight:C.lineHeight,cursor:"pointer",transition:`all ${C.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:C.marginSM},color:C.colorTextDescription,fontSize:C.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:He}},"&:hover":{background:C.controlItemBgHover},"&-disabled":{"&, &:hover":{color:C.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},we=C=>{const{componentCls:Y,margin:He,colorBorderSecondary:pe,horizontalMargin:Ue,verticalItemPadding:ot,verticalItemMargin:ct,calc:ue}=C;return{[`${Y}-top, ${Y}-bottom`]:{flexDirection:"column",[`> ${Y}-nav, > div > ${Y}-nav`]:{margin:Ue,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,S.unit)(C.lineWidth)} ${C.lineType} ${pe}`,content:"''"},[`${Y}-ink-bar`]:{height:C.lineWidthBold,"&-animated":{transition:`width ${C.motionDurationSlow}, left ${C.motionDurationSlow},
|
|
|
right ${C.motionDurationSlow}`}},[`${Y}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:C.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:C.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:C.boxShadowTabsOverflowRight},[`&${Y}-nav-wrap-ping-left::before`]:{opacity:1},[`&${Y}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${Y}-top`]:{[`> ${Y}-nav,
|
|
|
> div > ${Y}-nav`]:{"&::before":{bottom:0},[`${Y}-ink-bar`]:{bottom:0}}},[`${Y}-bottom`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{order:1,marginTop:He,marginBottom:0,"&::before":{top:0},[`${Y}-ink-bar`]:{top:0}},[`> ${Y}-content-holder, > div > ${Y}-content-holder`]:{order:0}},[`${Y}-left, ${Y}-right`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{flexDirection:"column",minWidth:ue(C.controlHeight).mul(1.25).equal(),[`${Y}-tab`]:{padding:ot,textAlign:"center"},[`${Y}-tab + ${Y}-tab`]:{margin:ct},[`${Y}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:C.controlHeight},"&::before":{top:0,boxShadow:C.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:C.boxShadowTabsOverflowBottom},[`&${Y}-nav-wrap-ping-top::before`]:{opacity:1},[`&${Y}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${Y}-ink-bar`]:{width:C.lineWidthBold,"&-animated":{transition:`height ${C.motionDurationSlow}, top ${C.motionDurationSlow}`}},[`${Y}-nav-list, ${Y}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${Y}-left`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{[`${Y}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${Y}-content-holder, > div > ${Y}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,S.unit)(ue(C.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,S.unit)(C.lineWidth)} ${C.lineType} ${C.colorBorder}`},[`> ${Y}-content > ${Y}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:C.paddingLG}}}},[`${Y}-right`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{order:1,[`${Y}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${Y}-content-holder, > div > ${Y}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:ue(C.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,S.unit)(C.lineWidth)} ${C.lineType} ${C.colorBorder}`},[`> ${Y}-content > ${Y}-tabpane`]:{paddingRight:{_skip_check_:!0,value:C.paddingLG}}}}}},xe=C=>{const{componentCls:Y,cardPaddingSM:He,cardPaddingLG:pe,horizontalItemPaddingSM:Ue,horizontalItemPaddingLG:ot}=C;return{[Y]:{"&-small":{[`> ${Y}-nav`]:{[`${Y}-tab`]:{padding:Ue,fontSize:C.titleFontSizeSM}}},"&-large":{[`> ${Y}-nav`]:{[`${Y}-tab`]:{padding:ot,fontSize:C.titleFontSizeLG}}}},[`${Y}-card`]:{[`&${Y}-small`]:{[`> ${Y}-nav`]:{[`${Y}-tab`]:{padding:He}},[`&${Y}-bottom`]:{[`> ${Y}-nav ${Y}-tab`]:{borderRadius:`0 0 ${(0,S.unit)(C.borderRadius)} ${(0,S.unit)(C.borderRadius)}`}},[`&${Y}-top`]:{[`> ${Y}-nav ${Y}-tab`]:{borderRadius:`${(0,S.unit)(C.borderRadius)} ${(0,S.unit)(C.borderRadius)} 0 0`}},[`&${Y}-right`]:{[`> ${Y}-nav ${Y}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,S.unit)(C.borderRadius)} ${(0,S.unit)(C.borderRadius)} 0`}}},[`&${Y}-left`]:{[`> ${Y}-nav ${Y}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,S.unit)(C.borderRadius)} 0 0 ${(0,S.unit)(C.borderRadius)}`}}}},[`&${Y}-large`]:{[`> ${Y}-nav`]:{[`${Y}-tab`]:{padding:pe}}}}}},Q=C=>{const{componentCls:Y,itemActiveColor:He,itemHoverColor:pe,iconCls:Ue,tabsHorizontalItemMargin:ot,horizontalItemPadding:ct,itemSelectedColor:ue,itemColor:Le}=C,Ct=`${Y}-tab`;return{[Ct]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:ct,fontSize:C.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:Le,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:He}},"&-btn":{outline:"none",transition:`all ${C.motionDurationSlow}`,[`${Ct}-icon:not(:last-child)`]:{marginInlineEnd:C.marginSM}},"&-remove":Object.assign({flex:"none",marginRight:{_skip_check_:!0,value:C.calc(C.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:C.marginXS},color:C.colorTextDescription,fontSize:C.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${C.motionDurationSlow}`,"&:hover":{color:C.colorTextHeading}},(0,E.Qy)(C)),"&:hover":{color:pe},[`&${Ct}-active ${Ct}-btn`]:{color:ue,textShadow:C.tabsActiveTextShadow},[`&${Ct}-focus ${Ct}-btn`]:Object.assign({},(0,E.oN)(C)),[`&${Ct}-disabled`]:{color:C.colorTextDisabled,cursor:"not-allowed"},[`&${Ct}-disabled ${Ct}-btn, &${Ct}-disabled ${Y}-remove`]:{"&:focus, &:active":{color:C.colorTextDisabled}},[`& ${Ct}-remove ${Ue}`]:{margin:0},[`${Ue}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:C.marginSM}}},[`${Ct} + ${Ct}`]:{margin:{_skip_check_:!0,value:ot}}}},ye=C=>{const{componentCls:Y,tabsHorizontalItemMarginRTL:He,iconCls:pe,cardGutter:Ue,calc:ot}=C;return{[`${Y}-rtl`]:{direction:"rtl",[`${Y}-nav`]:{[`${Y}-tab`]:{margin:{_skip_check_:!0,value:He},[`${Y}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[pe]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,S.unit)(C.marginSM)}},[`${Y}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,S.unit)(C.marginXS)},marginLeft:{_skip_check_:!0,value:(0,S.unit)(ot(C.marginXXS).mul(-1).equal())},[pe]:{margin:0}}}},[`&${Y}-left`]:{[`> ${Y}-nav`]:{order:1},[`> ${Y}-content-holder`]:{order:0}},[`&${Y}-right`]:{[`> ${Y}-nav`]:{order:0},[`> ${Y}-content-holder`]:{order:1}},[`&${Y}-card${Y}-top, &${Y}-card${Y}-bottom`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{[`${Y}-tab + ${Y}-tab`]:{marginRight:{_skip_check_:!0,value:Ue},marginLeft:{_skip_check_:!0,value:0}}}}},[`${Y}-dropdown-rtl`]:{direction:"rtl"},[`${Y}-menu-item`]:{[`${Y}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},N=C=>{const{componentCls:Y,tabsCardPadding:He,cardHeight:pe,cardGutter:Ue,itemHoverColor:ot,itemActiveColor:ct,colorBorderSecondary:ue}=C;return{[Y]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,E.Wf)(C)),{display:"flex",[`> ${Y}-nav, > div > ${Y}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${Y}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${C.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${Y}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${C.motionDurationSlow}`},[`${Y}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${Y}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${Y}-nav-more`]:{position:"relative",padding:He,background:"transparent",border:0,color:C.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:C.calc(C.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${Y}-nav-add`]:Object.assign({minWidth:pe,marginLeft:{_skip_check_:!0,value:Ue},padding:(0,S.unit)(C.paddingXS),background:"transparent",border:`${(0,S.unit)(C.lineWidth)} ${C.lineType} ${ue}`,borderRadius:`${(0,S.unit)(C.borderRadiusLG)} ${(0,S.unit)(C.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:C.colorText,transition:`all ${C.motionDurationSlow} ${C.motionEaseInOut}`,"&:hover":{color:ot},"&:active, &:focus:not(:focus-visible)":{color:ct}},(0,E.Qy)(C,-3))},[`${Y}-extra-content`]:{flex:"none"},[`${Y}-ink-bar`]:{position:"absolute",background:C.inkBarColor,pointerEvents:"none"}}),Q(C)),{[`${Y}-content`]:{position:"relative",width:"100%"},[`${Y}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${Y}-tabpane`]:Object.assign(Object.assign({},(0,E.Qy)(C)),{"&-hidden":{display:"none"}})}),[`${Y}-centered`]:{[`> ${Y}-nav, > div > ${Y}-nav`]:{[`${Y}-nav-wrap`]:{[`&:not([class*='${Y}-nav-wrap-ping']) > ${Y}-nav-list`]:{margin:"auto"}}}}}},I=C=>{const Y=C.controlHeightLG;return{zIndexPopup:C.zIndexPopupBase+50,cardBg:C.colorFillAlter,cardHeight:Y,cardPadding:`${(Y-Math.round(C.fontSize*C.lineHeight))/2-C.lineWidth}px ${C.padding}px`,cardPaddingSM:`${C.paddingXXS*1.5}px ${C.padding}px`,cardPaddingLG:`${C.paddingXS}px ${C.padding}px ${C.paddingXXS*1.5}px`,titleFontSize:C.fontSize,titleFontSizeLG:C.fontSizeLG,titleFontSizeSM:C.fontSize,inkBarColor:C.colorPrimary,horizontalMargin:`0 0 ${C.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${C.paddingSM}px 0`,horizontalItemPaddingSM:`${C.paddingXS}px 0`,horizontalItemPaddingLG:`${C.padding}px 0`,verticalItemPadding:`${C.paddingXS}px ${C.paddingLG}px`,verticalItemMargin:`${C.margin}px 0 0 0`,itemColor:C.colorText,itemSelectedColor:C.colorPrimary,itemHoverColor:C.colorPrimaryHover,itemActiveColor:C.colorPrimaryActive,cardGutter:C.marginXXS/2}};var nt=(0,ie.I$)("Tabs",C=>{const Y=(0,J.mergeToken)(C,{tabsCardPadding:C.cardPadding,dropdownEdgeChildVerticalPadding:C.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,S.unit)(C.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,S.unit)(C.horizontalItemGutter)}`});return[xe(Y),ye(Y),we(Y),Ze(Y),Qe(Y),N(Y),Ne(Y)]},I),le=()=>null,w=function(C,Y){var He={};for(var pe in C)Object.prototype.hasOwnProperty.call(C,pe)&&Y.indexOf(pe)<0&&(He[pe]=C[pe]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,pe=Object.getOwnPropertySymbols(C);Ue<pe.length;Ue++)Y.indexOf(pe[Ue])<0&&Object.prototype.propertyIsEnumerable.call(C,pe[Ue])&&(He[pe[Ue]]=C[pe[Ue]]);return He};const k=C=>{var Y,He,pe,Ue,ot,ct,ue,Le,Ct,ke,De;const{type:j,className:_e,rootClassName:be,size:fe,onEdit:he,hideAdd:me,centered:Ie,addIcon:Se,removeIcon:Me,moreIcon:Je,more:pt,popupClassName:$t,children:Yt,items:Gt,animated:Pt,style:it,indicatorSize:xt,indicator:Nt}=C,Ht=w(C,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:Et}=Ht,{direction:er,tabs:lr,getPrefixCls:Cr,getPopupContainer:qr}=o.useContext(y.E_),Ar=Cr("tabs",Et),x=(0,G.Z)(Ar),[W,St,oe]=nt(Ar,x);let Be;j==="editable-card"&&(Be={onEdit:(br,Br)=>{let{key:h,event:D}=Br;he==null||he(br==="add"?D:h,br)},removeIcon:(Y=Me!=null?Me:lr==null?void 0:lr.removeIcon)!==null&&Y!==void 0?Y:o.createElement(qe.Z,null),addIcon:(Se!=null?Se:lr==null?void 0:lr.addIcon)||o.createElement(Re.Z,null),showAdd:me!==!0});const zr=Cr(),$r=(0,u.Z)(fe),yn=$(Gt,Yt),Tn=K(Ar,Pt),Ft=Object.assign(Object.assign({},lr==null?void 0:lr.style),it),Sr={align:(He=Nt==null?void 0:Nt.align)!==null&&He!==void 0?He:(pe=lr==null?void 0:lr.indicator)===null||pe===void 0?void 0:pe.align,size:(ue=(ot=(Ue=Nt==null?void 0:Nt.size)!==null&&Ue!==void 0?Ue:xt)!==null&&ot!==void 0?ot:(ct=lr==null?void 0:lr.indicator)===null||ct===void 0?void 0:ct.size)!==null&&ue!==void 0?ue:lr==null?void 0:lr.indicatorSize};return W(o.createElement(_.Z,Object.assign({direction:er,getPopupContainer:qr},Ht,{items:yn,className:ee()({[`${Ar}-${$r}`]:$r,[`${Ar}-card`]:["card","editable-card"].includes(j),[`${Ar}-editable-card`]:j==="editable-card",[`${Ar}-centered`]:Ie},lr==null?void 0:lr.className,_e,be,St,oe,x),popupClassName:ee()($t,St,oe,x),style:Ft,editable:Be,more:Object.assign({icon:(De=(ke=(Ct=(Le=lr==null?void 0:lr.more)===null||Le===void 0?void 0:Le.icon)!==null&&Ct!==void 0?Ct:lr==null?void 0:lr.moreIcon)!==null&&ke!==void 0?ke:Je)!==null&&De!==void 0?De:o.createElement(L.Z,null),transitionName:`${zr}-slide-up`},pt),prefixCls:Ar,animated:Tn,indicator:Sr})))};k.TabPane=le;var z=k},96599:function(Yr,Xt,n){"use strict";n.d(Xt,{default:function(){return N}});var o=n(59301),qe=n(92310),L=n.n(qe),Re=n(2738),q=n(29509),ee=n(78776),_=n(22703),y=n(12919),G=n(48755),u=n(36237),B=n(17835),F=n(63356),K=n(51636),R=n(16931);const X=I=>{const{paddingXXS:nt,lineWidth:ce,tagPaddingHorizontal:le,componentCls:w,calc:k}=I,z=k(le).sub(ce).equal(),C=k(nt).sub(ce).equal();return{[w]:Object.assign(Object.assign({},(0,F.Wf)(I)),{display:"inline-block",height:"auto",marginInlineEnd:I.marginXS,paddingInline:z,fontSize:I.tagFontSize,lineHeight:I.tagLineHeight,whiteSpace:"nowrap",background:I.defaultBg,border:`${(0,u.unit)(I.lineWidth)} ${I.lineType} ${I.colorBorder}`,borderRadius:I.borderRadiusSM,opacity:1,transition:`all ${I.motionDurationMid}`,textAlign:"start",position:"relative",[`&${w}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:I.defaultColor},[`${w}-close-icon`]:{marginInlineStart:C,fontSize:I.tagIconSize,color:I.colorTextDescription,cursor:"pointer",transition:`all ${I.motionDurationMid}`,"&:hover":{color:I.colorTextHeading}},[`&${w}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${I.iconCls}-close, ${I.iconCls}-close:hover`]:{color:I.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${w}-checkable-checked):hover`]:{color:I.colorPrimary,backgroundColor:I.colorFillSecondary},"&:active, &-checked":{color:I.colorTextLightSolid},"&-checked":{backgroundColor:I.colorPrimary,"&:hover":{backgroundColor:I.colorPrimaryHover}},"&:active":{backgroundColor:I.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${I.iconCls} + span, > span + ${I.iconCls}`]:{marginInlineStart:z}}),[`${w}-borderless`]:{borderColor:"transparent",background:I.tagBorderlessBg}}},M=I=>{const{lineWidth:nt,fontSizeIcon:ce,calc:le}=I,w=I.fontSizeSM;return(0,K.mergeToken)(I,{tagFontSize:w,tagLineHeight:(0,u.unit)(le(I.lineHeightSM).mul(w).equal()),tagIconSize:le(ce).sub(le(nt).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:I.defaultBg})},$=I=>({defaultBg:new B.FastColor(I.colorFillQuaternary).onBackground(I.colorBgContainer).toHexString(),defaultColor:I.colorText});var S=(0,R.I$)("Tag",I=>{const nt=M(I);return X(nt)},$),E=function(I,nt){var ce={};for(var le in I)Object.prototype.hasOwnProperty.call(I,le)&&nt.indexOf(le)<0&&(ce[le]=I[le]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,le=Object.getOwnPropertySymbols(I);w<le.length;w++)nt.indexOf(le[w])<0&&Object.prototype.propertyIsEnumerable.call(I,le[w])&&(ce[le[w]]=I[le[w]]);return ce},J=o.forwardRef((I,nt)=>{const{prefixCls:ce,style:le,className:w,checked:k,onChange:z,onClick:C}=I,Y=E(I,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:He,tag:pe}=o.useContext(G.E_),Ue=ke=>{z==null||z(!k),C==null||C(ke)},ot=He("tag",ce),[ct,ue,Le]=S(ot),Ct=L()(ot,`${ot}-checkable`,{[`${ot}-checkable-checked`]:k},pe==null?void 0:pe.className,w,ue,Le);return ct(o.createElement("span",Object.assign({},Y,{ref:nt,style:Object.assign(Object.assign({},le),pe==null?void 0:pe.style),className:Ct,onClick:Ue})))}),te=n(93427);const $e=I=>(0,te.Z)(I,(nt,ce)=>{let{textColor:le,lightBorderColor:w,lightColor:k,darkColor:z}=ce;return{[`${I.componentCls}${I.componentCls}-${nt}`]:{color:le,background:k,borderColor:w,"&-inverse":{color:I.colorTextLightSolid,background:z,borderColor:z},[`&${I.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Ne=(0,R.bk)(["Tag","preset"],I=>{const nt=M(I);return $e(nt)},$);function Qe(I){return typeof I!="string"?I:I.charAt(0).toUpperCase()+I.slice(1)}const Ze=(I,nt,ce)=>{const le=Qe(ce);return{[`${I.componentCls}${I.componentCls}-${nt}`]:{color:I[`color${ce}`],background:I[`color${le}Bg`],borderColor:I[`color${le}Border`],[`&${I.componentCls}-borderless`]:{borderColor:"transparent"}}}};var we=(0,R.bk)(["Tag","status"],I=>{const nt=M(I);return[Ze(nt,"success","Success"),Ze(nt,"processing","Info"),Ze(nt,"error","Error"),Ze(nt,"warning","Warning")]},$),xe=function(I,nt){var ce={};for(var le in I)Object.prototype.hasOwnProperty.call(I,le)&&nt.indexOf(le)<0&&(ce[le]=I[le]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,le=Object.getOwnPropertySymbols(I);w<le.length;w++)nt.indexOf(le[w])<0&&Object.prototype.propertyIsEnumerable.call(I,le[w])&&(ce[le[w]]=I[le[w]]);return ce};const ye=o.forwardRef((I,nt)=>{const{prefixCls:ce,className:le,rootClassName:w,style:k,children:z,icon:C,color:Y,onClose:He,bordered:pe=!0,visible:Ue}=I,ot=xe(I,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:ct,direction:ue,tag:Le}=o.useContext(G.E_),[Ct,ke]=o.useState(!0),De=(0,Re.Z)(ot,["closeIcon","closable"]);o.useEffect(()=>{Ue!==void 0&&ke(Ue)},[Ue]);const j=(0,q.o2)(Y),_e=(0,q.yT)(Y),be=j||_e,fe=Object.assign(Object.assign({backgroundColor:Y&&!be?Y:void 0},Le==null?void 0:Le.style),k),he=ct("tag",ce),[me,Ie,Se]=S(he),Me=L()(he,Le==null?void 0:Le.className,{[`${he}-${Y}`]:be,[`${he}-has-color`]:Y&&!be,[`${he}-hidden`]:!Ct,[`${he}-rtl`]:ue==="rtl",[`${he}-borderless`]:!pe},le,w,Ie,Se),Je=it=>{it.stopPropagation(),He==null||He(it),!it.defaultPrevented&&ke(!1)},[,pt]=(0,ee.Z)((0,ee.w)(I),(0,ee.w)(Le),{closable:!1,closeIconRender:it=>{const xt=o.createElement("span",{className:`${he}-close-icon`,onClick:Je},it);return(0,_.wm)(it,xt,Nt=>({onClick:Ht=>{var Et;(Et=Nt==null?void 0:Nt.onClick)===null||Et===void 0||Et.call(Nt,Ht),Je(Ht)},className:L()(Nt==null?void 0:Nt.className,`${he}-close-icon`)}))}}),$t=typeof ot.onClick=="function"||z&&z.type==="a",Yt=C||null,Gt=Yt?o.createElement(o.Fragment,null,Yt,z&&o.createElement("span",null,z)):z,Pt=o.createElement("span",Object.assign({},De,{ref:nt,className:Me,style:fe}),Gt,pt,j&&o.createElement(Ne,{key:"preset",prefixCls:he}),_e&&o.createElement(we,{key:"status",prefixCls:he}));return me($t?o.createElement(y.Z,{component:"Tag"},Pt):Pt)});ye.CheckableTag=J;var N=ye},93427:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return qe}});var o=n(34998);function qe(L,Re){return o.i.reduce((q,ee)=>{const _=L[`${ee}1`],y=L[`${ee}3`],G=L[`${ee}6`],u=L[`${ee}7`];return Object.assign(Object.assign({},q),Re(ee,{lightColor:_,lightBorderColor:y,darkColor:G,textColor:u}))},{})}},25399:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return nt}});var o=n(59301),qe=n(92310),L=n.n(qe),Re=n(29125),q=n(18929),ee=n(62487),_=n(75030),y=n(86641),G=n(52838),u=n(22703),B=n(32383),F=n(55743),K=n(57700),R=n(48755),X=n(36237),M=n(63356),$=n(34925),S=n(37645),E=n(36305),ie=n(93427),J=n(51636),te=n(16931);const $e=ce=>{const{calc:le,componentCls:w,tooltipMaxWidth:k,tooltipColor:z,tooltipBg:C,tooltipBorderRadius:Y,zIndexPopup:He,controlHeight:pe,boxShadowSecondary:Ue,paddingSM:ot,paddingXS:ct,arrowOffsetHorizontal:ue,sizePopupArrow:Le}=ce,Ct=le(Y).add(Le).add(ue).equal(),ke=le(Y).mul(2).add(Le).equal();return[{[w]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,M.Wf)(ce)),{position:"absolute",zIndex:He,display:"block",width:"max-content",maxWidth:k,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":C,[`${w}-inner`]:{minWidth:ke,minHeight:pe,padding:`${(0,X.unit)(ce.calc(ot).div(2).equal())} ${(0,X.unit)(ct)}`,color:z,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:C,borderRadius:Y,boxShadow:Ue,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:Ct},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${w}-inner`]:{borderRadius:ce.min(Y,S.qN)}},[`${w}-content`]:{position:"relative"}}),(0,ie.Z)(ce,(De,j)=>{let{darkColor:_e}=j;return{[`&${w}-${De}`]:{[`${w}-inner`]:{backgroundColor:_e},[`${w}-arrow`]:{"--antd-arrow-background-color":_e}}}})),{"&-rtl":{direction:"rtl"}})},(0,S.ZP)(ce,"var(--antd-arrow-background-color)"),{[`${w}-pure`]:{position:"relative",maxWidth:"none",margin:ce.sizePopupArrow}}]},Ne=ce=>Object.assign(Object.assign({zIndexPopup:ce.zIndexPopupBase+70},(0,S.wZ)({contentRadius:ce.borderRadius,limitVerticalRadius:!0})),(0,E.w)((0,J.mergeToken)(ce,{borderRadiusOuter:Math.min(ce.borderRadiusOuter,4)})));var Qe=function(ce){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,te.I$)("Tooltip",k=>{const{borderRadius:z,colorTextLightSolid:C,colorBgSpotlight:Y}=k,He=(0,J.mergeToken)(k,{tooltipMaxWidth:250,tooltipColor:C,tooltipBorderRadius:z,tooltipBg:Y});return[$e(He),(0,$._y)(k,"zoom-big-fast")]},Ne,{resetStyle:!1,injectStyle:le})(ce)},Ze=n(29509);function we(ce,le){const w=(0,Ze.o2)(le),k=L()({[`${ce}-${le}`]:le&&w}),z={},C={};return le&&!w&&(z.background=le,C["--antd-arrow-background-color"]=le),{className:k,overlayStyle:z,arrowStyle:C}}var Q=ce=>{const{prefixCls:le,className:w,placement:k="top",title:z,color:C,overlayInnerStyle:Y}=ce,{getPrefixCls:He}=o.useContext(R.E_),pe=He("tooltip",le),[Ue,ot,ct]=Qe(pe),ue=we(pe,C),Le=ue.arrowStyle,Ct=Object.assign(Object.assign({},Y),ue.overlayStyle),ke=L()(ot,ct,pe,`${pe}-pure`,`${pe}-placement-${k}`,w,ue.className);return Ue(o.createElement("div",{className:ke,style:Le},o.createElement("div",{className:`${pe}-arrow`}),o.createElement(Re.G,Object.assign({},ce,{className:ot,prefixCls:pe,overlayInnerStyle:Ct}),z)))},ye=function(ce,le){var w={};for(var k in ce)Object.prototype.hasOwnProperty.call(ce,k)&&le.indexOf(k)<0&&(w[k]=ce[k]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,k=Object.getOwnPropertySymbols(ce);z<k.length;z++)le.indexOf(k[z])<0&&Object.prototype.propertyIsEnumerable.call(ce,k[z])&&(w[k[z]]=ce[k[z]]);return w};const I=o.forwardRef((ce,le)=>{var w,k;const{prefixCls:z,openClassName:C,getTooltipContainer:Y,color:He,overlayInnerStyle:pe,children:Ue,afterOpenChange:ot,afterVisibleChange:ct,destroyTooltipOnHide:ue,arrow:Le=!0,title:Ct,overlay:ke,builtinPlacements:De,arrowPointAtCenter:j=!1,autoAdjustOverflow:_e=!0,motion:be,getPopupContainer:fe,placement:he="top",mouseEnterDelay:me=.1,mouseLeaveDelay:Ie=.1,overlayStyle:Se,rootClassName:Me,overlayClassName:Je,styles:pt,classNames:$t}=ce,Yt=ye(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"]),Gt=!!Le,[,Pt]=(0,K.ZP)(),{getPopupContainer:it,getPrefixCls:xt,direction:Nt,className:Ht,style:Et,classNames:er,styles:lr}=(0,R.dj)("tooltip"),Cr=(0,B.ln)("Tooltip"),qr=o.useRef(null),Ar=()=>{var gn;(gn=qr.current)===null||gn===void 0||gn.forceAlign()};o.useImperativeHandle(le,()=>{var gn,Jn;return{forceAlign:Ar,forcePopupAlign:()=>{Cr.deprecated(!1,"forcePopupAlign","forceAlign"),Ar()},nativeElement:(gn=qr.current)===null||gn===void 0?void 0:gn.nativeElement,popupElement:(Jn=qr.current)===null||Jn===void 0?void 0:Jn.popupElement}});const[x,W]=(0,q.Z)(!1,{value:(w=ce.open)!==null&&w!==void 0?w:ce.visible,defaultValue:(k=ce.defaultOpen)!==null&&k!==void 0?k:ce.defaultVisible}),St=!Ct&&!ke&&Ct!==0,oe=gn=>{var Jn,ge;W(St?!1:gn),St||((Jn=ce.onOpenChange)===null||Jn===void 0||Jn.call(ce,gn),(ge=ce.onVisibleChange)===null||ge===void 0||ge.call(ce,gn))},Be=o.useMemo(()=>{var gn,Jn;let ge=j;return typeof Le=="object"&&(ge=(Jn=(gn=Le.pointAtCenter)!==null&&gn!==void 0?gn:Le.arrowPointAtCenter)!==null&&Jn!==void 0?Jn:j),De||(0,G.Z)({arrowPointAtCenter:ge,autoAdjustOverflow:_e,arrowWidth:Gt?Pt.sizePopupArrow:0,borderRadius:Pt.borderRadius,offset:Pt.marginXXS,visibleFirst:!0})},[j,Le,De,Pt]),zr=o.useMemo(()=>Ct===0?Ct:ke||Ct||"",[ke,Ct]),$r=o.createElement(ee.Z,{space:!0},typeof zr=="function"?zr():zr),yn=xt("tooltip",z),Tn=xt(),Ft=ce["data-popover-inject"];let Sr=x;!("open"in ce)&&!("visible"in ce)&&St&&(Sr=!1);const br=o.isValidElement(Ue)&&!(0,u.M2)(Ue)?Ue:o.createElement("span",null,Ue),Br=br.props,h=!Br.className||typeof Br.className=="string"?L()(Br.className,C||`${yn}-open`):Br.className,[D,Ee,ne]=Qe(yn,!Ft),lt=we(yn,He),pn=lt.arrowStyle,mt=L()(Je,{[`${yn}-rtl`]:Nt==="rtl"},lt.className,Me,Ee,ne,Ht,er.root,$t==null?void 0:$t.root),Ut=L()(er.body,$t==null?void 0:$t.body),[Ur,Pr]=(0,_.Cn)("Tooltip",Yt.zIndex),Jr=o.createElement(Re.Z,Object.assign({},Yt,{zIndex:Ur,showArrow:Gt,placement:he,mouseEnterDelay:me,mouseLeaveDelay:Ie,prefixCls:yn,classNames:{root:mt,body:Ut},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},pn),lr.root),Et),Se),pt==null?void 0:pt.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},lr.body),pe),pt==null?void 0:pt.body),lt.overlayStyle)},getTooltipContainer:fe||Y||it,ref:qr,builtinPlacements:Be,overlay:$r,visible:Sr,onVisibleChange:oe,afterVisibleChange:ot!=null?ot:ct,arrowContent:o.createElement("span",{className:`${yn}-arrow-content`}),motion:{motionName:(0,y.m)(Tn,"zoom-big-fast",ce.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!ue}),Sr?(0,u.Tm)(br,{className:h}):br);return D(o.createElement(F.Z.Provider,{value:Pr},Jr))});I._InternalPanelDoNotUseOrYouWillBeFired=Q;var nt=I},86743:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return k}});var o=n(59301),qe=n(38470),L=n(92310),Re=n.n(L),q=n(75030),ee=n(52838),_=n(55743),y=n(48755),G=n(57700),u=n(94480),B=n(99267),F=n(99571),K=n(9017),R=n(85981);function X(z){return z!=null}var $=z=>{var C,Y;const{stepProps:He,current:pe,type:Ue,indicatorsRender:ot}=z,{prefixCls:ct,total:ue=1,title:Le,onClose:Ct,onPrev:ke,onNext:De,onFinish:j,cover:_e,description:be,nextButtonProps:fe,prevButtonProps:he,type:me,closable:Ie}=He,Se=me!=null?me:Ue,Me=o.createElement("button",{type:"button",onClick:Ct,className:`${ct}-close`},(Ie==null?void 0:Ie.closeIcon)||o.createElement(B.Z,{className:`${ct}-close-icon`})),Je=pe===ue-1,pt=()=>{var Et;ke==null||ke(),(Et=he==null?void 0:he.onClick)===null||Et===void 0||Et.call(he)},$t=()=>{var Et;Je?j==null||j():De==null||De(),(Et=fe==null?void 0:fe.onClick)===null||Et===void 0||Et.call(fe)},Yt=X(Le)?o.createElement("div",{className:`${ct}-header`},o.createElement("div",{className:`${ct}-title`},Le)):null,Gt=X(be)?o.createElement("div",{className:`${ct}-description`},be):null,Pt=X(_e)?o.createElement("div",{className:`${ct}-cover`},_e):null;let it;ot?it=ot(pe,ue):it=(0,u.Z)(Array.from({length:ue}).keys()).map((Et,er)=>o.createElement("span",{key:Et,className:Re()(er===pe&&`${ct}-indicator-active`,`${ct}-indicator`)}));const xt=Se==="primary"?"default":"primary",Nt={type:"default",ghost:Se==="primary"},[Ht]=(0,K.Z)("Tour",R.Z.Tour);return o.createElement("div",{className:`${ct}-content`},o.createElement("div",{className:`${ct}-inner`},Ie&&Me,Pt,Yt,Gt,o.createElement("div",{className:`${ct}-footer`},ue>1&&o.createElement("div",{className:`${ct}-indicators`},it),o.createElement("div",{className:`${ct}-buttons`},pe!==0?o.createElement(F.ZP,Object.assign({},Nt,he,{onClick:pt,size:"small",className:Re()(`${ct}-prev-btn`,he==null?void 0:he.className)}),(C=he==null?void 0:he.children)!==null&&C!==void 0?C:Ht==null?void 0:Ht.Previous):null,o.createElement(F.ZP,Object.assign({type:xt},fe,{onClick:$t,size:"small",className:Re()(`${ct}-next-btn`,fe==null?void 0:fe.className)}),(Y=fe==null?void 0:fe.children)!==null&&Y!==void 0?Y:Je?Ht==null?void 0:Ht.Finish:Ht==null?void 0:Ht.Next)))))},S=n(78776),E=n(45915),ie=n(22703),J=n(69106),te=n(36237),$e=n(17835),Ne=n(63356),Qe=n(37645),Ze=n(36305),we=n(16931),xe=n(51636);const Q=z=>{const{componentCls:C,padding:Y,paddingXS:He,borderRadius:pe,borderRadiusXS:Ue,colorPrimary:ot,colorFill:ct,indicatorHeight:ue,indicatorWidth:Le,boxShadowTertiary:Ct,zIndexPopup:ke,colorBgElevated:De,fontWeightStrong:j,marginXS:_e,colorTextLightSolid:be,tourBorderRadius:fe,colorWhite:he,primaryNextBtnHoverBg:me,closeBtnSize:Ie,motionDurationSlow:Se,antCls:Me,primaryPrevBtnBg:Je}=z;return[{[C]:Object.assign(Object.assign({},(0,Ne.Wf)(z)),{position:"absolute",zIndex:ke,maxWidth:"fit-content",visibility:"visible",width:520,"--antd-arrow-background-color":De,"&-pure":{maxWidth:"100%",position:"relative"},[`&${C}-hidden`]:{display:"none"},[`${C}-content`]:{position:"relative"},[`${C}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:fe,boxShadow:Ct,position:"relative",backgroundColor:De,border:"none",backgroundClip:"padding-box",[`${C}-close`]:Object.assign({position:"absolute",top:Y,insetInlineEnd:Y,color:z.colorIcon,background:"none",border:"none",width:Ie,height:Ie,borderRadius:z.borderRadiusSM,transition:`background-color ${z.motionDurationMid}, color ${z.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer","&:hover":{color:z.colorIconHover,backgroundColor:z.colorBgTextHover},"&:active":{backgroundColor:z.colorBgTextActive}},(0,Ne.Qy)(z)),[`${C}-cover`]:{textAlign:"center",padding:`${(0,te.unit)(z.calc(Y).add(Ie).add(He).equal())} ${(0,te.unit)(Y)} 0`,img:{width:"100%"}},[`${C}-header`]:{padding:`${(0,te.unit)(Y)} ${(0,te.unit)(Y)} ${(0,te.unit)(He)}`,width:`calc(100% - ${(0,te.unit)(Ie)})`,wordBreak:"break-word",[`${C}-title`]:{fontWeight:j}},[`${C}-description`]:{padding:`0 ${(0,te.unit)(Y)}`,wordWrap:"break-word"},[`${C}-footer`]:{padding:`${(0,te.unit)(He)} ${(0,te.unit)(Y)} ${(0,te.unit)(Y)}`,textAlign:"end",borderRadius:`0 0 ${(0,te.unit)(Ue)} ${(0,te.unit)(Ue)}`,display:"flex",[`${C}-indicators`]:{display:"inline-block",[`${C}-indicator`]:{width:Le,height:ue,display:"inline-block",borderRadius:"50%",background:ct,"&:not(:last-child)":{marginInlineEnd:ue},"&-active":{background:ot}}},[`${C}-buttons`]:{marginInlineStart:"auto",[`${Me}-btn`]:{marginInlineStart:_e}}}},[`${C}-primary, &${C}-primary`]:{"--antd-arrow-background-color":ot,[`${C}-inner`]:{color:be,textAlign:"start",textDecoration:"none",backgroundColor:ot,borderRadius:pe,boxShadow:Ct,[`${C}-close`]:{color:be},[`${C}-indicators`]:{[`${C}-indicator`]:{background:Je,"&-active":{background:be}}},[`${C}-prev-btn`]:{color:be,borderColor:Je,backgroundColor:ot,"&:hover":{backgroundColor:Je,borderColor:"transparent"}},[`${C}-next-btn`]:{color:ot,borderColor:"transparent",background:he,"&:hover":{background:me}}}}}),[`${C}-mask`]:{[`${C}-placeholder-animated`]:{transition:`all ${Se}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${C}-inner`]:{borderRadius:z.min(fe,Qe.qN)}}},(0,Qe.ZP)(z,"var(--antd-arrow-background-color)")]},ye=z=>Object.assign(Object.assign({zIndexPopup:z.zIndexPopupBase+70,closeBtnSize:z.fontSize*z.lineHeight,primaryPrevBtnBg:new $e.FastColor(z.colorTextLightSolid).setA(.15).toRgbString(),primaryNextBtnHoverBg:new $e.FastColor(z.colorBgTextHover).onBackground(z.colorWhite).toRgbString()},(0,Qe.wZ)({contentRadius:z.borderRadiusLG,limitVerticalRadius:!0})),(0,Ze.w)(z));var N=(0,we.I$)("Tour",z=>{const{borderRadiusLG:C}=z,Y=(0,xe.mergeToken)(z,{indicatorWidth:6,indicatorHeight:6,tourBorderRadius:C});return[Q(Y)]},ye),I=function(z,C){var Y={};for(var He in z)Object.prototype.hasOwnProperty.call(z,He)&&C.indexOf(He)<0&&(Y[He]=z[He]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,He=Object.getOwnPropertySymbols(z);pe<He.length;pe++)C.indexOf(He[pe])<0&&Object.prototype.propertyIsEnumerable.call(z,He[pe])&&(Y[He[pe]]=z[He[pe]]);return Y};const nt=z=>{const{prefixCls:C,current:Y=0,total:He=6,className:pe,style:Ue,type:ot,closable:ct,closeIcon:ue}=z,Le=I(z,["prefixCls","current","total","className","style","type","closable","closeIcon"]),{getPrefixCls:Ct}=o.useContext(y.E_),ke=Ct("tour",C),[De,j,_e]=N(ke),[be,fe]=(0,S.Z)({closable:ct,closeIcon:ue},null,{closable:!0,closeIconRender:he=>o.isValidElement(he)?(0,ie.Tm)(he,{className:Re()(he.props.className,`${ke}-close-icon`)}):he});return De(o.createElement(J.t5,{prefixCls:ke,hashId:j,className:Re()(pe,`${ke}-pure`,ot&&`${ke}-${ot}`,_e),style:Ue},o.createElement($,{stepProps:Object.assign(Object.assign({},Le),{prefixCls:ke,total:He,closable:be?{closeIcon:fe}:void 0}),current:Y,type:ot})))};var ce=(0,E.i)(nt),le=function(z,C){var Y={};for(var He in z)Object.prototype.hasOwnProperty.call(z,He)&&C.indexOf(He)<0&&(Y[He]=z[He]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,He=Object.getOwnPropertySymbols(z);pe<He.length;pe++)C.indexOf(He[pe])<0&&Object.prototype.propertyIsEnumerable.call(z,He[pe])&&(Y[He[pe]]=z[He[pe]]);return Y};const w=z=>{const{prefixCls:C,type:Y,rootClassName:He,indicatorsRender:pe,steps:Ue,closeIcon:ot}=z,ct=le(z,["prefixCls","type","rootClassName","indicatorsRender","steps","closeIcon"]),{getPrefixCls:ue,direction:Le,tour:Ct}=(0,o.useContext)(y.E_),ke=ue("tour",C),[De,j,_e]=N(ke),[,be]=(0,G.ZP)(),fe=o.useMemo(()=>Ue==null?void 0:Ue.map(Je=>{var pt;return Object.assign(Object.assign({},Je),{className:Re()(Je.className,{[`${ke}-primary`]:((pt=Je.type)!==null&&pt!==void 0?pt:Y)==="primary"})})}),[Ue,Y]),he=Je=>{var pt;return(0,ee.Z)({arrowPointAtCenter:(pt=Je==null?void 0:Je.arrowPointAtCenter)!==null&&pt!==void 0?pt:!0,autoAdjustOverflow:!0,offset:be.marginXXS,arrowWidth:be.sizePopupArrow,borderRadius:be.borderRadius})},me=Re()({[`${ke}-rtl`]:Le==="rtl"},j,_e,He),Ie=(Je,pt)=>o.createElement($,{type:Y,stepProps:Je,current:pt,indicatorsRender:pe}),[Se,Me]=(0,q.Cn)("Tour",ct.zIndex);return De(o.createElement(_.Z.Provider,{value:Me},o.createElement(qe.Z,Object.assign({},ct,{closeIcon:ot!=null?ot:Ct==null?void 0:Ct.closeIcon,zIndex:Se,rootClassName:me,prefixCls:ke,animated:!0,renderPanel:Ie,builtinPlacements:he,steps:fe}))))};w._InternalPanelDoNotUseOrYouWillBeFired=ce;var k=w},69219:function(Yr,Xt,n){"use strict";n.d(Xt,{default:function(){return k}});var o=n(59301),qe=n(92310),L=n.n(qe),Re=n(9940),q=n(2738),ee=n(75030),_=n(86641),y=n(45915),G=n(82855),u=n(48755),B=n(38406),F=n(2171),K=n(83397),R=n(31756),X=n(56553),M=n(24971),$=n(1722),S=n(90376),E=n(68525),ie=n(90005),J=n(70045),te=n(57700),$e=n(85278),Ne=n(36237),Qe=n(36170),Ze=n(51636),we=n(16931),xe=n(12425);const Q=z=>{const{componentCls:C,treePrefixCls:Y,colorBgElevated:He}=z,pe=`.${Y}`;return[{[`${C}-dropdown`]:[{padding:`${(0,Ne.unit)(z.paddingXS)} ${(0,Ne.unit)(z.calc(z.paddingXS).div(2).equal())}`},(0,xe.Yk)(Y,(0,Ze.mergeToken)(z,{colorBgContainer:He}),!1),{[pe]:{borderRadius:0,[`${pe}-list-holder-inner`]:{alignItems:"stretch",[`${pe}-treenode`]:{[`${pe}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Qe.C2)(`${Y}-checkbox`,z),{"&-rtl":{direction:"rtl",[`${pe}-switcher${pe}-switcher_close`]:{[`${pe}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]},ye=null;function N(z,C,Y){return(0,we.I$)("TreeSelect",He=>{const pe=(0,Ze.mergeToken)(He,{treePrefixCls:C});return[Q(pe)]},xe.TM)(z,Y)}var I=function(z,C){var Y={};for(var He in z)Object.prototype.hasOwnProperty.call(z,He)&&C.indexOf(He)<0&&(Y[He]=z[He]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,He=Object.getOwnPropertySymbols(z);pe<He.length;pe++)C.indexOf(He[pe])<0&&Object.prototype.propertyIsEnumerable.call(z,He[pe])&&(Y[He[pe]]=z[He[pe]]);return Y};const nt=(z,C)=>{var Y;const{prefixCls:He,size:pe,disabled:Ue,bordered:ot=!0,className:ct,rootClassName:ue,treeCheckable:Le,multiple:Ct,listHeight:ke=256,listItemHeight:De,placement:j,notFoundContent:_e,switcherIcon:be,treeLine:fe,getPopupContainer:he,popupClassName:me,dropdownClassName:Ie,treeIcon:Se=!1,transitionName:Me,choiceTransitionName:Je="",status:pt,treeExpandAction:$t,builtinPlacements:Yt,dropdownMatchSelectWidth:Gt,popupMatchSelectWidth:Pt,allowClear:it,variant:xt,dropdownStyle:Nt,tagRender:Ht,maxCount:Et,showCheckedStrategy:er,treeCheckStrictly:lr}=z,Cr=I(z,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender","maxCount","showCheckedStrategy","treeCheckStrictly"]),{getPopupContainer:qr,getPrefixCls:Ar,renderEmpty:x,direction:W,virtual:St,popupMatchSelectWidth:oe,popupOverflow:Be}=o.useContext(u.E_),[,zr]=(0,te.ZP)(),$r=De!=null?De:(zr==null?void 0:zr.controlHeightSM)+(zr==null?void 0:zr.paddingXXS),yn=Ar(),Tn=Ar("select",He),Ft=Ar("select-tree",He),Sr=Ar("tree-select",He),{compactSize:br,compactItemClassnames:Br}=(0,J.ri)(Tn,W),h=(0,K.Z)(Tn),D=(0,K.Z)(Sr),[Ee,ne,lt]=(0,S.Z)(Tn,h),[pn]=N(Sr,Ft,D),[mt,Ut]=(0,M.Z)("treeSelect",xt,ot),Ur=L()(me||Ie,`${Sr}-dropdown`,{[`${Sr}-dropdown-rtl`]:W==="rtl"},ue,lt,h,D,ne),Pr=!!(Le||Ct),Jr=o.useMemo(()=>{if(!(Et&&(er==="SHOW_ALL"&&!lr||er==="SHOW_PARENT")))return Et},[Et,er,lr]),gn=(0,ie.Z)(z.suffixIcon,z.showArrow),Jn=(Y=Pt!=null?Pt:Gt)!==null&&Y!==void 0?Y:oe,{status:ge,hasFeedback:mr,isFormItemInput:et,feedbackIcon:Ir}=o.useContext(X.aM),Vr=(0,G.F)(ge,pt),{suffixIcon:Sn,removeIcon:ea,clearIcon:vt}=(0,E.Z)(Object.assign(Object.assign({},Cr),{multiple:Pr,showSuffixIcon:gn,hasFeedback:mr,feedbackIcon:Ir,prefixCls:Tn,componentName:"TreeSelect"})),nr=it===!0?{clearIcon:vt}:it;let sr;_e!==void 0?sr=_e:sr=(x==null?void 0:x("Select"))||o.createElement(B.Z,{componentName:"Select"});const or=(0,q.Z)(Cr,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),jr=o.useMemo(()=>j!==void 0?j:W==="rtl"?"bottomRight":"bottomLeft",[j,W]),on=(0,R.Z)(On=>{var Bn;return(Bn=pe!=null?pe:br)!==null&&Bn!==void 0?Bn:On}),Wr=o.useContext(F.Z),Dr=Ue!=null?Ue:Wr,nn=L()(!He&&Sr,{[`${Tn}-lg`]:on==="large",[`${Tn}-sm`]:on==="small",[`${Tn}-rtl`]:W==="rtl",[`${Tn}-${mt}`]:Ut,[`${Tn}-in-form-item`]:et},(0,G.Z)(Tn,Vr,mr),Br,ct,ue,lt,h,D,ne),sn=On=>o.createElement($e.Z,{prefixCls:Ft,switcherIcon:be,treeNodeProps:On,showLine:fe}),[$n]=(0,ee.Cn)("SelectLike",Nt==null?void 0:Nt.zIndex),Pn=o.createElement(Re.ZP,Object.assign({virtual:St,disabled:Dr},or,{dropdownMatchSelectWidth:Jn,builtinPlacements:(0,$.Z)(Yt,Be),ref:C,prefixCls:Tn,className:nn,listHeight:ke,listItemHeight:$r,treeCheckable:Le&&o.createElement("span",{className:`${Tn}-tree-checkbox-inner`}),treeLine:!!fe,suffixIcon:Sn,multiple:Pr,placement:jr,removeIcon:ea,allowClear:nr,switcherIcon:sn,showTreeIcon:Se,notFoundContent:sr,getPopupContainer:he||qr,treeMotion:null,dropdownClassName:Ur,dropdownStyle:Object.assign(Object.assign({},Nt),{zIndex:$n}),choiceTransitionName:(0,_.m)(yn,"",Je),transitionName:(0,_.m)(yn,"slide-up",Me),treeExpandAction:$t,tagRender:Pr?Ht:void 0,maxCount:Jr,showCheckedStrategy:er,treeCheckStrictly:lr}));return Ee(pn(Pn))},le=o.forwardRef(nt),w=(0,y.Z)(le,"dropdownAlign",z=>(0,q.Z)(z,["visible"]));le.TreeNode=Re.OF,le.SHOW_ALL=Re.Qw,le.SHOW_PARENT=Re.hT,le.SHOW_CHILD=Re.FJ,le._InternalPanelDoNotUseOrYouWillBeFired=w;var k=le},18287:function(Yr,Xt,n){"use strict";n.d(Xt,{default:function(){return He}});var o=n(3741),qe=n(94480),L=n(59301),Re=n(52671),q=n(8657),ee=n(54476),_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},y=_,G=n(7657),u=function(Ue,ot){return L.createElement(G.Z,(0,ee.Z)({},Ue,{ref:ot,icon:y}))},B=L.forwardRef(u),F=B,K=n(92310),R=n.n(K),X=n(82661),M=n(34061),$=n(48755),S=n(56082),E=n(86641),ie=n(57700),J=n(12425);const te=4;function $e(pe){const{dropPosition:Ue,dropLevelOffset:ot,prefixCls:ct,indent:ue,direction:Le="ltr"}=pe,Ct=Le==="ltr"?"left":"right",ke=Le==="ltr"?"right":"left",De={[Ct]:-ot*ue+te,[ke]:0};switch(Ue){case-1:De.top=-3;break;case 1:De.bottom=-3;break;default:De.bottom=-3,De[Ct]=ue+te;break}return L.createElement("div",{style:De,className:`${ct}-drop-indicator`})}var Ne=$e,Qe=n(85278),we=L.forwardRef((pe,Ue)=>{var ot;const{getPrefixCls:ct,direction:ue,virtual:Le,tree:Ct}=L.useContext($.E_),{prefixCls:ke,className:De,showIcon:j=!1,showLine:_e,switcherIcon:be,switcherLoadingIcon:fe,blockNode:he=!1,children:me,checkable:Ie=!1,selectable:Se=!0,draggable:Me,motion:Je,style:pt}=pe,$t=ct("tree",ke),Yt=ct(),Gt=Je!=null?Je:Object.assign(Object.assign({},(0,E.Z)(Yt)),{motionAppear:!1}),Pt=Object.assign(Object.assign({},pe),{checkable:Ie,selectable:Se,showIcon:j,motion:Gt,blockNode:he,showLine:!!_e,dropIndicatorRender:Ne}),[it,xt,Nt]=(0,J.ZP)($t),[,Ht]=(0,ie.ZP)(),Et=Ht.paddingXS/2+(((ot=Ht.Tree)===null||ot===void 0?void 0:ot.titleHeight)||Ht.controlHeightSM),er=L.useMemo(()=>{if(!Me)return!1;let Cr={};switch(typeof Me){case"function":Cr.nodeDraggable=Me;break;case"object":Cr=Object.assign({},Me);break;default:break}return Cr.icon!==!1&&(Cr.icon=Cr.icon||L.createElement(S.Z,null)),Cr},[Me]),lr=Cr=>L.createElement(Qe.Z,{prefixCls:$t,switcherIcon:be,switcherLoadingIcon:fe,treeNodeProps:Cr,showLine:_e});return it(L.createElement(o.ZP,Object.assign({itemHeight:Et,ref:Ue,virtual:Le},Pt,{style:Object.assign(Object.assign({},Ct==null?void 0:Ct.style),pt),prefixCls:$t,className:R()({[`${$t}-icon-hide`]:!j,[`${$t}-block-node`]:he,[`${$t}-unselectable`]:!Se,[`${$t}-rtl`]:ue==="rtl"},Ct==null?void 0:Ct.className,De,xt,Nt),direction:ue,checkable:Ie&&L.createElement("span",{className:`${$t}-checkbox-inner`}),selectable:Se,switcherIcon:lr,draggable:er}),me))});const xe=0,Q=1,ye=2;function N(pe,Ue,ot){const{key:ct,children:ue}=ot;function Le(Ct){const ke=Ct[ct],De=Ct[ue];Ue(ke,Ct)!==!1&&N(De||[],Ue,ot)}pe.forEach(Le)}function I(pe){let{treeData:Ue,expandedKeys:ot,startKey:ct,endKey:ue,fieldNames:Le}=pe;const Ct=[];let ke=xe;if(ct&&ct===ue)return[ct];if(!ct||!ue)return[];function De(j){return j===ct||j===ue}return N(Ue,j=>{if(ke===ye)return!1;if(De(j)){if(Ct.push(j),ke===xe)ke=Q;else if(ke===Q)return ke=ye,!1}else ke===Q&&Ct.push(j);return ot.includes(j)},(0,M.w$)(Le)),Ct}function nt(pe,Ue,ot){const ct=(0,qe.Z)(Ue),ue=[];return N(pe,(Le,Ct)=>{const ke=ct.indexOf(Le);return ke!==-1&&(ue.push(Ct),ct.splice(ke,1)),!!ct.length},(0,M.w$)(ot)),ue}var ce=function(pe,Ue){var ot={};for(var ct in pe)Object.prototype.hasOwnProperty.call(pe,ct)&&Ue.indexOf(ct)<0&&(ot[ct]=pe[ct]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,ct=Object.getOwnPropertySymbols(pe);ue<ct.length;ue++)Ue.indexOf(ct[ue])<0&&Object.prototype.propertyIsEnumerable.call(pe,ct[ue])&&(ot[ct[ue]]=pe[ct[ue]]);return ot};function le(pe){const{isLeaf:Ue,expanded:ot}=pe;return Ue?L.createElement(Re.Z,null):ot?L.createElement(q.Z,null):L.createElement(F,null)}function w(pe){let{treeData:Ue,children:ot}=pe;return Ue||(0,M.zn)(ot)}const k=(pe,Ue)=>{var{defaultExpandAll:ot,defaultExpandParent:ct,defaultExpandedKeys:ue}=pe,Le=ce(pe,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ct=L.useRef(null),ke=L.useRef(null),De=()=>{const{keyEntities:it}=(0,M.I8)(w(Le));let xt;return ot?xt=Object.keys(it):ct?xt=(0,X.r7)(Le.expandedKeys||ue||[],it):xt=Le.expandedKeys||ue||[],xt},[j,_e]=L.useState(Le.selectedKeys||Le.defaultSelectedKeys||[]),[be,fe]=L.useState(()=>De());L.useEffect(()=>{"selectedKeys"in Le&&_e(Le.selectedKeys)},[Le.selectedKeys]),L.useEffect(()=>{"expandedKeys"in Le&&fe(Le.expandedKeys)},[Le.expandedKeys]);const he=(it,xt)=>{var Nt;return"expandedKeys"in Le||fe(it),(Nt=Le.onExpand)===null||Nt===void 0?void 0:Nt.call(Le,it,xt)},me=(it,xt)=>{var Nt;const{multiple:Ht,fieldNames:Et}=Le,{node:er,nativeEvent:lr}=xt,{key:Cr=""}=er,qr=w(Le),Ar=Object.assign(Object.assign({},xt),{selected:!0}),x=(lr==null?void 0:lr.ctrlKey)||(lr==null?void 0:lr.metaKey),W=lr==null?void 0:lr.shiftKey;let St;Ht&&x?(St=it,Ct.current=Cr,ke.current=St,Ar.selectedNodes=nt(qr,St,Et)):Ht&&W?(St=Array.from(new Set([].concat((0,qe.Z)(ke.current||[]),(0,qe.Z)(I({treeData:qr,expandedKeys:be,startKey:Cr,endKey:Ct.current,fieldNames:Et}))))),Ar.selectedNodes=nt(qr,St,Et)):(St=[Cr],Ct.current=Cr,ke.current=St,Ar.selectedNodes=nt(qr,St,Et)),(Nt=Le.onSelect)===null||Nt===void 0||Nt.call(Le,St,Ar),"selectedKeys"in Le||_e(St)},{getPrefixCls:Ie,direction:Se}=L.useContext($.E_),{prefixCls:Me,className:Je,showIcon:pt=!0,expandAction:$t="click"}=Le,Yt=ce(Le,["prefixCls","className","showIcon","expandAction"]),Gt=Ie("tree",Me),Pt=R()(`${Gt}-directory`,{[`${Gt}-directory-rtl`]:Se==="rtl"},Je);return L.createElement(we,Object.assign({icon:le,ref:Ue,blockNode:!0},Yt,{showIcon:pt,expandAction:$t,prefixCls:Gt,className:Pt,expandedKeys:be,selectedKeys:j,onSelect:me,onExpand:he}))};var C=L.forwardRef(k);const Y=we;Y.DirectoryTree=C,Y.TreeNode=o.OF;var He=Y},12425:function(Yr,Xt,n){"use strict";n.d(Xt,{ZP:function(){return X},Yk:function(){return F},TM:function(){return K}});var o=n(36237),qe=n(36170),L=n(63356),Re=n(34961),q=n(51636),ee=n(16931);const _=M=>{let{treeCls:$,treeNodeCls:S,directoryNodeSelectedBg:E,directoryNodeSelectedColor:ie,motionDurationMid:J,borderRadius:te,controlItemBgHover:$e}=M;return{[`${$}${$}-directory ${S}`]:{[`${$}-node-content-wrapper`]:{position:"static",[`> *:not(${$}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${J}`,content:'""',borderRadius:te},"&:hover:before":{background:$e}},[`${$}-switcher, ${$}-checkbox, ${$}-draggable-icon`]:{zIndex:1},"&-selected":{[`${$}-switcher, ${$}-draggable-icon`]:{color:ie},[`${$}-node-content-wrapper`]:{color:ie,background:"transparent","&:before, &:hover:before":{background:E}}}}}},y=new o.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),G=(M,$)=>({[`.${M}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${$.motionDurationSlow}`}}}),u=(M,$)=>({[`.${M}-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,o.unit)($.lineWidthBold)} solid ${$.colorPrimary}`,borderRadius:"50%",content:'""'}}}),B=(M,$)=>{const{treeCls:S,treeNodeCls:E,treeNodePadding:ie,titleHeight:J,indentSize:te,nodeSelectedBg:$e,nodeHoverBg:Ne,colorTextQuaternary:Qe,controlItemBgActiveDisabled:Ze}=$;return{[S]:Object.assign(Object.assign({},(0,L.Wf)($)),{background:$.colorBgContainer,borderRadius:$.borderRadius,transition:`background-color ${$.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${S}-rtl ${S}-switcher_close ${S}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${S}-active-focused)`]:Object.assign({},(0,L.oN)($)),[`${S}-list-holder-inner`]:{alignItems:"flex-start"},[`&${S}-block-node`]:{[`${S}-list-holder-inner`]:{alignItems:"stretch",[`${S}-node-content-wrapper`]:{flex:"auto"},[`${E}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${$.colorPrimary}`,opacity:0,animationName:y,animationDuration:$.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:$.borderRadius}}},[E]:{display:"flex",alignItems:"flex-start",marginBottom:ie,lineHeight:(0,o.unit)(J),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:ie},[`&-disabled ${S}-node-content-wrapper`]:{color:$.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${S}-checkbox-disabled + ${S}-node-selected,&${E}-disabled${E}-selected ${S}-node-content-wrapper`]:{backgroundColor:Ze},[`${S}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${E}-disabled)`]:{[`${S}-node-content-wrapper`]:{"&:hover":{color:$.nodeHoverColor}}},[`&-active ${S}-node-content-wrapper`]:{background:$.controlItemBgHover},[`&:not(${E}-disabled).filter-node ${S}-title`]:{color:$.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${S}-draggable-icon`]:{flexShrink:0,width:J,textAlign:"center",visibility:"visible",color:Qe},[`&${E}-disabled ${S}-draggable-icon`]:{visibility:"hidden"}}},[`${S}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:te}},[`${S}-draggable-icon`]:{visibility:"hidden"},[`${S}-switcher, ${S}-checkbox`]:{marginInlineEnd:$.calc($.calc(J).sub($.controlInteractiveSize)).div(2).equal()},[`${S}-switcher`]:Object.assign(Object.assign({},G(M,$)),{position:"relative",flex:"none",alignSelf:"stretch",width:J,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${$.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:J,height:J,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:$.borderRadius,transition:`all ${$.motionDurationSlow}`},[`&:not(${S}-switcher-noop):hover:before`]:{backgroundColor:$.colorBgTextHover},[`&_close ${S}-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(J).div(2).equal(),bottom:$.calc(ie).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${$.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:$.calc($.calc(J).div(2).equal()).mul(.8).equal(),height:$.calc(J).div(2).equal(),borderBottom:`1px solid ${$.colorBorder}`,content:'""'}}}),[`${S}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:J,paddingBlock:0,paddingInline:$.paddingXS,background:"transparent",borderRadius:$.borderRadius,cursor:"pointer",transition:`all ${$.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},u(M,$)),{"&:hover":{backgroundColor:Ne},[`&${S}-node-selected`]:{color:$.nodeSelectedColor,backgroundColor:$e},[`${S}-iconEle`]:{display:"inline-block",width:J,height:J,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${S}-unselectable ${S}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${E}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${$.colorPrimary}`},"&-show-line":{[`${S}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:$.calc(J).div(2).equal(),bottom:$.calc(ie).mul(-1).equal(),borderInlineEnd:`1px solid ${$.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${S}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${E}-leaf-last ${S}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,o.unit)($.calc(J).div(2).equal())} !important`}})}},F=function(M,$){let S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const E=`.${M}`,ie=`${E}-treenode`,J=$.calc($.paddingXS).div(2).equal(),te=(0,q.mergeToken)($,{treeCls:E,treeNodeCls:ie,treeNodePadding:J});return[B(M,te),S&&_(te)].filter(Boolean)},K=M=>{const{controlHeightSM:$,controlItemBgHover:S,controlItemBgActive:E}=M,ie=$;return{titleHeight:ie,indentSize:ie,nodeHoverBg:S,nodeHoverColor:M.colorText,nodeSelectedBg:E,nodeSelectedColor:M.colorText}},R=M=>{const{colorTextLightSolid:$,colorPrimary:S}=M;return Object.assign(Object.assign({},K(M)),{directoryNodeSelectedColor:$,directoryNodeSelectedBg:S})};var X=(0,ee.I$)("Tree",(M,$)=>{let{prefixCls:S}=$;return[{[M.componentCls]:(0,qe.C2)(`${S}-checkbox`,M)},F(S,M),(0,Re.Z)(M)]},R)},85278:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return $}});var o=n(59301),qe=n(54476),L={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Re=L,q=n(7657),ee=function(E,ie){return o.createElement(q.Z,(0,qe.Z)({},E,{ref:ie,icon:Re}))},_=o.forwardRef(ee),y=_,G=n(52671),u=n(58617),B=n(15075),F=n(43531),K=n(92310),R=n.n(K),X=n(22703),$=S=>{const{prefixCls:E,switcherIcon:ie,treeNodeProps:J,showLine:te,switcherLoadingIcon:$e}=S,{isLeaf:Ne,expanded:Qe,loading:Ze}=J;if(Ze)return o.isValidElement($e)?$e:o.createElement(u.Z,{className:`${E}-switcher-loading-icon`});let we;if(te&&typeof te=="object"&&(we=te.showLeafIcon),Ne){if(!te)return null;if(typeof we!="boolean"&&we){const ye=typeof we=="function"?we(J):we,N=`${E}-switcher-line-custom-icon`;return o.isValidElement(ye)?(0,X.Tm)(ye,{className:R()(ye.props.className||"",N)}):ye}return we?o.createElement(G.Z,{className:`${E}-switcher-line-icon`}):o.createElement("span",{className:`${E}-switcher-leaf-line`})}const xe=`${E}-switcher-icon`,Q=typeof ie=="function"?ie(J):ie;return o.isValidElement(Q)?(0,X.Tm)(Q,{className:R()(Q.props.className||"",xe)}):Q!==void 0?Q:te?Qe?o.createElement(B.Z,{className:`${E}-switcher-line-icon`}):o.createElement(F.Z,{className:`${E}-switcher-line-icon`}):o.createElement(y,{className:xe})}},530:function(Yr,Xt,n){"use strict";n.d(Xt,{default:function(){return Jn}});var o=n(59301),qe=n(54476),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},Re=L,q=n(7657),ee=function(mr,et){return o.createElement(q.Z,(0,qe.Z)({},mr,{ref:et,icon:Re}))},_=o.forwardRef(ee),y=_,G=n(92310),u=n.n(G),B=n(29301),F=n(11592),K=n(34280),R=n(18929),X=n(2738),M=n(8654),$=n(24514),S=n(48755),E=n(9017),ie=n(25399),J={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},te=J,$e=function(mr,et){return o.createElement(q.Z,(0,qe.Z)({},mr,{ref:et,icon:te}))},Ne=o.forwardRef($e),Qe=Ne,Ze=n(10228),we=n(22703),xe=n(79809),Q=n(63356),ye=n(16931),N=n(68361),I=n(36237);const nt=(ge,mr,et,Ir)=>{const{titleMarginBottom:Vr,fontWeightStrong:Sn}=Ir;return{marginBottom:Vr,color:et,fontWeight:Sn,fontSize:ge,lineHeight:mr}},ce=ge=>{const mr=[1,2,3,4,5],et={};return mr.forEach(Ir=>{et[`
|
|
|
h${Ir}&,
|
|
|
div&-h${Ir},
|
|
|
div&-h${Ir} > textarea,
|
|
|
h${Ir}
|
|
|
`]=nt(ge[`fontSizeHeading${Ir}`],ge[`lineHeightHeading${Ir}`],ge.colorTextHeading,ge)}),et},le=ge=>{const{componentCls:mr}=ge;return{"a&, a":Object.assign(Object.assign({},(0,Q.Nd)(ge)),{userSelect:"text",[`&[disabled], &${mr}-disabled`]:{color:ge.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:ge.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},w=ge=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:ge.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:ge.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:N.gold[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:ge.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),k=ge=>{const{componentCls:mr,paddingSM:et}=ge,Ir=et;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:ge.calc(ge.paddingSM).mul(-1).equal(),marginTop:ge.calc(Ir).mul(-1).equal(),marginBottom:`calc(1em - ${(0,I.unit)(Ir)})`},[`${mr}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:ge.calc(ge.marginXS).add(2).equal(),insetBlockEnd:ge.marginXS,color:ge.colorTextDescription,fontWeight:"normal",fontSize:ge.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},z=ge=>({[`${ge.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:ge.colorSuccess}},[`${ge.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),C=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),Y=ge=>{const{componentCls:mr,titleMarginTop:et}=ge;return{[mr]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:ge.colorText,wordBreak:"break-word",lineHeight:ge.lineHeight,[`&${mr}-secondary`]:{color:ge.colorTextDescription},[`&${mr}-success`]:{color:ge.colorSuccessText},[`&${mr}-warning`]:{color:ge.colorWarningText},[`&${mr}-danger`]:{color:ge.colorErrorText,"a&:active, a&:focus":{color:ge.colorErrorTextActive},"a&:hover":{color:ge.colorErrorTextHover}},[`&${mr}-disabled`]:{color:ge.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},ce(ge)),{[`
|
|
|
& + h1${mr},
|
|
|
& + h2${mr},
|
|
|
& + h3${mr},
|
|
|
& + h4${mr},
|
|
|
& + h5${mr}
|
|
|
`]:{marginTop:et},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:et}}}),w(ge)),le(ge)),{[`
|
|
|
${mr}-expand,
|
|
|
${mr}-collapse,
|
|
|
${mr}-edit,
|
|
|
${mr}-copy
|
|
|
`]:Object.assign(Object.assign({},(0,Q.Nd)(ge)),{marginInlineStart:ge.marginXXS})}),k(ge)),z(ge)),C()),{"&-rtl":{direction:"rtl"}})}},He=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"});var pe=(0,ye.I$)("Typography",ge=>[Y(ge)],He),ot=ge=>{const{prefixCls:mr,"aria-label":et,className:Ir,style:Vr,direction:Sn,maxLength:ea,autoSize:vt=!0,value:nr,onSave:sr,onCancel:or,onEnd:jr,component:on,enterIcon:Wr=o.createElement(Qe,null)}=ge,Dr=o.useRef(null),nn=o.useRef(!1),sn=o.useRef(null),[$n,Pn]=o.useState(nr);o.useEffect(()=>{Pn(nr)},[nr]),o.useEffect(()=>{var qn;if(!((qn=Dr.current)===null||qn===void 0)&&qn.resizableTextArea){const{textArea:Dn}=Dr.current.resizableTextArea;Dn.focus();const{length:xn}=Dn.value;Dn.setSelectionRange(xn,xn)}},[]);const On=qn=>{let{target:Dn}=qn;Pn(Dn.value.replace(/[\n\r]/g,""))},Bn=()=>{nn.current=!0},ta=()=>{nn.current=!1},tn=qn=>{let{keyCode:Dn}=qn;nn.current||(sn.current=Dn)},An=()=>{sr($n.trim())},Yn=qn=>{let{keyCode:Dn,ctrlKey:xn,altKey:Kn,metaKey:wa,shiftKey:za}=qn;sn.current!==Dn||nn.current||xn||Kn||wa||za||(Dn===Ze.Z.ENTER?(An(),jr==null||jr()):Dn===Ze.Z.ESC&&or())},ua=()=>{An()},[zn,ra,Gn]=pe(mr),Wn=u()(mr,`${mr}-edit-content`,{[`${mr}-rtl`]:Sn==="rtl",[`${mr}-${on}`]:!!on},Ir,ra,Gn);return zn(o.createElement("div",{className:Wn,style:Vr},o.createElement(xe.Z,{ref:Dr,maxLength:ea,value:$n,onChange:On,onKeyDown:tn,onKeyUp:Yn,onCompositionStart:Bn,onCompositionEnd:ta,onBlur:ua,"aria-label":et,rows:1,autoSize:vt}),Wr!==null?(0,we.Tm)(Wr,{className:`${mr}-edit-content-confirm`}):null))},ct=n(25769),ue=n.n(ct),Le=n(6089),ke=function(ge){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&ge==null?[]:Array.isArray(ge)?ge:[ge]},De=function(ge,mr,et,Ir){function Vr(Sn){return Sn instanceof et?Sn:new et(function(ea){ea(Sn)})}return new(et||(et=Promise))(function(Sn,ea){function vt(or){try{sr(Ir.next(or))}catch(jr){ea(jr)}}function nr(or){try{sr(Ir.throw(or))}catch(jr){ea(jr)}}function sr(or){or.done?Sn(or.value):Vr(or.value).then(vt,nr)}sr((Ir=Ir.apply(ge,mr||[])).next())})},_e=ge=>{let{copyConfig:mr,children:et}=ge;const[Ir,Vr]=o.useState(!1),[Sn,ea]=o.useState(!1),vt=o.useRef(null),nr=()=>{vt.current&&clearTimeout(vt.current)},sr={};mr.format&&(sr.format=mr.format),o.useEffect(()=>nr,[]);const or=(0,Le.Z)(jr=>De(void 0,void 0,void 0,function*(){var on;jr==null||jr.preventDefault(),jr==null||jr.stopPropagation(),ea(!0);try{const Wr=typeof mr.text=="function"?yield mr.text():mr.text;ue()(Wr||ke(et,!0).join("")||"",sr),ea(!1),Vr(!0),nr(),vt.current=setTimeout(()=>{Vr(!1)},3e3),(on=mr.onCopy)===null||on===void 0||on.call(mr,jr)}catch(Wr){throw ea(!1),Wr}}));return{copied:Ir,copyLoading:Sn,onClick:or}};function be(ge,mr){return o.useMemo(()=>{const et=!!ge;return[et,Object.assign(Object.assign({},mr),et&&typeof ge=="object"?ge:null)]},[ge])}var he=ge=>{const mr=(0,o.useRef)(void 0);return(0,o.useEffect)(()=>{mr.current=ge}),mr.current},Ie=(ge,mr,et)=>(0,o.useMemo)(()=>ge===!0?{title:mr!=null?mr:et}:(0,o.isValidElement)(ge)?{title:ge}:typeof ge=="object"?Object.assign({title:mr!=null?mr:et},ge):{title:ge},[ge,mr,et]),Se=function(ge,mr){var et={};for(var Ir in ge)Object.prototype.hasOwnProperty.call(ge,Ir)&&mr.indexOf(Ir)<0&&(et[Ir]=ge[Ir]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vr=0,Ir=Object.getOwnPropertySymbols(ge);Vr<Ir.length;Vr++)mr.indexOf(Ir[Vr])<0&&Object.prototype.propertyIsEnumerable.call(ge,Ir[Vr])&&(et[Ir[Vr]]=ge[Ir[Vr]]);return et},Je=o.forwardRef((ge,mr)=>{const{prefixCls:et,component:Ir="article",className:Vr,rootClassName:Sn,setContentRef:ea,children:vt,direction:nr,style:sr}=ge,or=Se(ge,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:jr,direction:on,className:Wr,style:Dr}=(0,S.dj)("typography"),nn=nr!=null?nr:on,sn=ea?(0,M.sQ)(mr,ea):mr,$n=jr("typography",et),[Pn,On,Bn]=pe($n),ta=u()($n,Wr,{[`${$n}-rtl`]:nn==="rtl"},Vr,Sn,On,Bn),tn=Object.assign(Object.assign({},Dr),sr);return Pn(o.createElement(Ir,Object.assign({className:ta,style:tn,ref:sn},or),vt))}),pt=n(40001),$t=n(81953),Yt=n(58617);function Gt(ge){return ge===!1?[!1,!1]:Array.isArray(ge)?ge:[ge]}function Pt(ge,mr,et){return ge===!0||ge===void 0?mr:ge||et&&mr}function it(ge){const mr=document.createElement("em");ge.appendChild(mr);const et=ge.getBoundingClientRect(),Ir=mr.getBoundingClientRect();return ge.removeChild(mr),et.left>Ir.left||Ir.right>et.right||et.top>Ir.top||Ir.bottom>et.bottom}const xt=ge=>["string","number"].includes(typeof ge);var Ht=ge=>{let{prefixCls:mr,copied:et,locale:Ir,iconOnly:Vr,tooltips:Sn,icon:ea,tabIndex:vt,onCopy:nr,loading:sr}=ge;const or=Gt(Sn),jr=Gt(ea),{copied:on,copy:Wr}=Ir!=null?Ir:{},Dr=et?on:Wr,nn=Pt(or[et?1:0],Dr),sn=typeof nn=="string"?nn:Dr;return o.createElement(ie.Z,{title:nn},o.createElement("button",{type:"button",className:u()(`${mr}-copy`,{[`${mr}-copy-success`]:et,[`${mr}-copy-icon-only`]:Vr}),onClick:nr,"aria-label":sn,tabIndex:vt},et?Pt(jr[1],o.createElement(pt.Z,null),!0):Pt(jr[0],sr?o.createElement(Yt.Z,null):o.createElement($t.Z,null),!0)))},Et=n(94480);const er=o.forwardRef((ge,mr)=>{let{style:et,children:Ir}=ge;const Vr=o.useRef(null);return o.useImperativeHandle(mr,()=>({isExceed:()=>{const Sn=Vr.current;return Sn.scrollHeight>Sn.clientHeight},getHeight:()=>Vr.current.clientHeight})),o.createElement("span",{"aria-hidden":!0,ref:Vr,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},et)},Ir)}),lr=ge=>ge.reduce((mr,et)=>mr+(xt(et)?String(et).length:1),0);function Cr(ge,mr){let et=0;const Ir=[];for(let Vr=0;Vr<ge.length;Vr+=1){if(et===mr)return Ir;const Sn=ge[Vr],vt=xt(Sn)?String(Sn).length:1,nr=et+vt;if(nr>mr){const sr=mr-et;return Ir.push(String(Sn).slice(0,sr)),Ir}Ir.push(Sn),et=nr}return ge}const qr=0,Ar=1,x=2,W=3,St=4,oe={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function Be(ge){const{enableMeasure:mr,width:et,text:Ir,children:Vr,rows:Sn,expanded:ea,miscDeps:vt,onEllipsis:nr}=ge,sr=o.useMemo(()=>(0,F.Z)(Ir),[Ir]),or=o.useMemo(()=>lr(sr),[Ir]),jr=o.useMemo(()=>Vr(sr,!1),[Ir]),[on,Wr]=o.useState(null),Dr=o.useRef(null),nn=o.useRef(null),sn=o.useRef(null),$n=o.useRef(null),Pn=o.useRef(null),[On,Bn]=o.useState(!1),[ta,tn]=o.useState(qr),[An,Yn]=o.useState(0),[ua,zn]=o.useState(null);(0,K.Z)(()=>{tn(mr&&et&&or?Ar:qr)},[et,Ir,Sn,mr,sr]),(0,K.Z)(()=>{var qn,Dn,xn,Kn;if(ta===Ar){tn(x);const wa=nn.current&&getComputedStyle(nn.current).whiteSpace;zn(wa)}else if(ta===x){const wa=!!(!((qn=sn.current)===null||qn===void 0)&&qn.isExceed());tn(wa?W:St),Wr(wa?[0,or]:null),Bn(wa);const za=((Dn=sn.current)===null||Dn===void 0?void 0:Dn.getHeight())||0,to=Sn===1?0:((xn=$n.current)===null||xn===void 0?void 0:xn.getHeight())||0,ro=((Kn=Pn.current)===null||Kn===void 0?void 0:Kn.getHeight())||0,so=Math.max(za,to+ro);Yn(so+1),nr(wa)}},[ta]);const ra=on?Math.ceil((on[0]+on[1])/2):0;(0,K.Z)(()=>{var qn;const[Dn,xn]=on||[0,0];if(Dn!==xn){const wa=(((qn=Dr.current)===null||qn===void 0?void 0:qn.getHeight())||0)>An;let za=ra;xn-Dn===1&&(za=wa?Dn:xn),Wr(wa?[Dn,za]:[za,xn])}},[on,ra]);const Gn=o.useMemo(()=>{if(!mr)return Vr(sr,!1);if(ta!==W||!on||on[0]!==on[1]){const qn=Vr(sr,!1);return[St,qr].includes(ta)?qn:o.createElement("span",{style:Object.assign(Object.assign({},oe),{WebkitLineClamp:Sn})},qn)}return Vr(ea?sr:Cr(sr,on[0]),On)},[ea,ta,on,sr].concat((0,Et.Z)(vt))),Wn={width:et,margin:0,padding:0,whiteSpace:ua==="nowrap"?"normal":"inherit"};return o.createElement(o.Fragment,null,Gn,ta===x&&o.createElement(o.Fragment,null,o.createElement(er,{style:Object.assign(Object.assign(Object.assign({},Wn),oe),{WebkitLineClamp:Sn}),ref:sn},jr),o.createElement(er,{style:Object.assign(Object.assign(Object.assign({},Wn),oe),{WebkitLineClamp:Sn-1}),ref:$n},jr),o.createElement(er,{style:Object.assign(Object.assign(Object.assign({},Wn),oe),{WebkitLineClamp:1}),ref:Pn},Vr([],!0))),ta===W&&on&&on[0]!==on[1]&&o.createElement(er,{style:Object.assign(Object.assign({},Wn),{top:400}),ref:Dr},Vr(Cr(sr,ra),!0)),ta===Ar&&o.createElement("span",{style:{whiteSpace:"inherit"},ref:nn}))}var $r=ge=>{let{enableEllipsis:mr,isEllipsis:et,children:Ir,tooltipProps:Vr}=ge;return!(Vr!=null&&Vr.title)||!mr?Ir:o.createElement(ie.Z,Object.assign({open:et?void 0:!1},Vr),Ir)},yn=function(ge,mr){var et={};for(var Ir in ge)Object.prototype.hasOwnProperty.call(ge,Ir)&&mr.indexOf(Ir)<0&&(et[Ir]=ge[Ir]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vr=0,Ir=Object.getOwnPropertySymbols(ge);Vr<Ir.length;Vr++)mr.indexOf(Ir[Vr])<0&&Object.prototype.propertyIsEnumerable.call(ge,Ir[Vr])&&(et[Ir[Vr]]=ge[Ir[Vr]]);return et};function Tn(ge,mr){let{mark:et,code:Ir,underline:Vr,delete:Sn,strong:ea,keyboard:vt,italic:nr}=ge,sr=mr;function or(jr,on){on&&(sr=o.createElement(jr,{},sr))}return or("strong",ea),or("u",Vr),or("del",Sn),or("code",Ir),or("mark",et),or("kbd",vt),or("i",nr),sr}const Ft="...";var br=o.forwardRef((ge,mr)=>{var et;const{prefixCls:Ir,className:Vr,style:Sn,type:ea,disabled:vt,children:nr,ellipsis:sr,editable:or,copyable:jr,component:on,title:Wr}=ge,Dr=yn(ge,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:nn,direction:sn}=o.useContext(S.E_),[$n]=(0,E.Z)("Text"),Pn=o.useRef(null),On=o.useRef(null),Bn=nn("typography",Ir),ta=(0,X.Z)(Dr,["mark","code","delete","underline","strong","keyboard","italic"]),[tn,An]=be(or),[Yn,ua]=(0,R.Z)(!1,{value:An.editing}),{triggerType:zn=["icon"]}=An,ra=_t=>{var Tt;_t&&((Tt=An.onStart)===null||Tt===void 0||Tt.call(An)),ua(_t)},Gn=he(Yn);(0,K.Z)(()=>{var _t;!Yn&&Gn&&((_t=On.current)===null||_t===void 0||_t.focus())},[Yn]);const Wn=_t=>{_t==null||_t.preventDefault(),ra(!0)},qn=_t=>{var Tt;(Tt=An.onChange)===null||Tt===void 0||Tt.call(An,_t),ra(!1)},Dn=()=>{var _t;(_t=An.onCancel)===null||_t===void 0||_t.call(An),ra(!1)},[xn,Kn]=be(jr),{copied:wa,copyLoading:za,onClick:to}=_e({copyConfig:Kn,children:nr}),[ro,so]=o.useState(!1),[f,s]=o.useState(!1),[p,b]=o.useState(!1),[A,v]=o.useState(!1),[T,Z]=o.useState(!0),[re,Ae]=be(sr,{expandable:!1,symbol:_t=>_t?$n==null?void 0:$n.collapse:$n==null?void 0:$n.expand}),[st,jt]=(0,R.Z)(Ae.defaultExpanded||!1,{value:Ae.expanded}),At=re&&(!st||Ae.expandable==="collapsible"),{rows:ve=1}=Ae,kt=o.useMemo(()=>At&&(Ae.suffix!==void 0||Ae.onEllipsis||Ae.expandable||tn||xn),[At,Ae,tn,xn]);(0,K.Z)(()=>{re&&!kt&&(so((0,$.G)("webkitLineClamp")),s((0,$.G)("textOverflow")))},[kt,re]);const[Ge,Zt]=o.useState(At),gt=o.useMemo(()=>kt?!1:ve===1?f:ro,[kt,f,ro]);(0,K.Z)(()=>{Zt(gt&&At)},[gt,At]);const ar=At&&(Ge?A:p),yr=At&&ve===1&&Ge,Qt=At&&ve>1&&Ge,at=(_t,Tt)=>{var ir;jt(Tt.expanded),(ir=Ae.onExpand)===null||ir===void 0||ir.call(Ae,_t,Tt)},[Ce,Vt]=o.useState(0),Mt=_t=>{let{offsetWidth:Tt}=_t;Vt(Tt)},Ot=_t=>{var Tt;b(_t),p!==_t&&((Tt=Ae.onEllipsis)===null||Tt===void 0||Tt.call(Ae,_t))};o.useEffect(()=>{const _t=Pn.current;if(re&&Ge&&_t){const Tt=it(_t);A!==Tt&&v(Tt)}},[re,Ge,nr,Qt,T,Ce]),o.useEffect(()=>{const _t=Pn.current;if(typeof IntersectionObserver=="undefined"||!_t||!Ge||!At)return;const Tt=new IntersectionObserver(()=>{Z(!!_t.offsetParent)});return Tt.observe(_t),()=>{Tt.disconnect()}},[Ge,At]);const qt=Ie(Ae.tooltip,An.text,nr),We=o.useMemo(()=>{if(!(!re||Ge))return[An.text,nr,Wr,qt.title].find(xt)},[re,Ge,Wr,qt.title,ar]);if(Yn)return o.createElement(ot,{value:(et=An.text)!==null&&et!==void 0?et:typeof nr=="string"?nr:"",onSave:qn,onCancel:Dn,onEnd:An.onEnd,prefixCls:Bn,className:Vr,style:Sn,direction:sn,component:on,maxLength:An.maxLength,autoSize:An.autoSize,enterIcon:An.enterIcon});const ze=()=>{const{expandable:_t,symbol:Tt}=Ae;return _t?o.createElement("button",{type:"button",key:"expand",className:`${Bn}-${st?"collapse":"expand"}`,onClick:ir=>at(ir,{expanded:!st}),"aria-label":st?$n.collapse:$n==null?void 0:$n.expand},typeof Tt=="function"?Tt(st):Tt):null},wt=()=>{if(!tn)return;const{icon:_t,tooltip:Tt,tabIndex:ir}=An,Zr=(0,F.Z)(Tt)[0]||($n==null?void 0:$n.edit),Wt=typeof Zr=="string"?Zr:"";return zn.includes("icon")?o.createElement(ie.Z,{key:"edit",title:Tt===!1?"":Zr},o.createElement("button",{type:"button",ref:On,className:`${Bn}-edit`,onClick:Wn,"aria-label":Wt,tabIndex:ir},_t||o.createElement(y,{role:"button"}))):null},ut=()=>xn?o.createElement(Ht,Object.assign({key:"copy"},Kn,{prefixCls:Bn,copied:wa,locale:$n,onCopy:to,loading:za,iconOnly:nr==null})):null,cr=_t=>[_t&&ze(),wt(),ut()],gr=_t=>[_t&&!st&&o.createElement("span",{"aria-hidden":!0,key:"ellipsis"},Ft),Ae.suffix,cr(_t)];return o.createElement(B.Z,{onResize:Mt,disabled:!At},_t=>o.createElement($r,{tooltipProps:qt,enableEllipsis:At,isEllipsis:ar},o.createElement(Je,Object.assign({className:u()({[`${Bn}-${ea}`]:ea,[`${Bn}-disabled`]:vt,[`${Bn}-ellipsis`]:re,[`${Bn}-ellipsis-single-line`]:yr,[`${Bn}-ellipsis-multiple-line`]:Qt},Vr),prefixCls:Ir,style:Object.assign(Object.assign({},Sn),{WebkitLineClamp:Qt?ve:void 0}),component:on,ref:(0,M.sQ)(_t,Pn,mr),direction:sn,onClick:zn.includes("text")?Wn:void 0,"aria-label":We==null?void 0:We.toString(),title:Wr},ta),o.createElement(Be,{enableMeasure:At&&!Ge,text:nr,rows:ve,width:Ce,onEllipsis:Ot,expanded:st,miscDeps:[wa,st,za,tn,xn,$n]},(Tt,ir)=>Tn(ge,o.createElement(o.Fragment,null,Tt.length>0&&ir&&!st&&We?o.createElement("span",{key:"show-content","aria-hidden":!0},Tt):Tt,gr(ir)))))))}),Br=function(ge,mr){var et={};for(var Ir in ge)Object.prototype.hasOwnProperty.call(ge,Ir)&&mr.indexOf(Ir)<0&&(et[Ir]=ge[Ir]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vr=0,Ir=Object.getOwnPropertySymbols(ge);Vr<Ir.length;Vr++)mr.indexOf(Ir[Vr])<0&&Object.prototype.propertyIsEnumerable.call(ge,Ir[Vr])&&(et[Ir[Vr]]=ge[Ir[Vr]]);return et},D=o.forwardRef((ge,mr)=>{var{ellipsis:et,rel:Ir}=ge,Vr=Br(ge,["ellipsis","rel"]);const Sn=Object.assign(Object.assign({},Vr),{rel:Ir===void 0&&Vr.target==="_blank"?"noopener noreferrer":Ir});return delete Sn.navigate,o.createElement(br,Object.assign({},Sn,{ref:mr,ellipsis:!!et,component:"a"}))}),ne=o.forwardRef((ge,mr)=>o.createElement(br,Object.assign({ref:mr},ge,{component:"div"}))),lt=function(ge,mr){var et={};for(var Ir in ge)Object.prototype.hasOwnProperty.call(ge,Ir)&&mr.indexOf(Ir)<0&&(et[Ir]=ge[Ir]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vr=0,Ir=Object.getOwnPropertySymbols(ge);Vr<Ir.length;Vr++)mr.indexOf(Ir[Vr])<0&&Object.prototype.propertyIsEnumerable.call(ge,Ir[Vr])&&(et[Ir[Vr]]=ge[Ir[Vr]]);return et};const pn=(ge,mr)=>{var{ellipsis:et}=ge,Ir=lt(ge,["ellipsis"]);const Vr=o.useMemo(()=>et&&typeof et=="object"?(0,X.Z)(et,["expandable","rows"]):et,[et]);return o.createElement(br,Object.assign({ref:mr},Ir,{ellipsis:Vr,component:"span"}))};var mt=o.forwardRef(pn),Ut=function(ge,mr){var et={};for(var Ir in ge)Object.prototype.hasOwnProperty.call(ge,Ir)&&mr.indexOf(Ir)<0&&(et[Ir]=ge[Ir]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vr=0,Ir=Object.getOwnPropertySymbols(ge);Vr<Ir.length;Vr++)mr.indexOf(Ir[Vr])<0&&Object.prototype.propertyIsEnumerable.call(ge,Ir[Vr])&&(et[Ir[Vr]]=ge[Ir[Vr]]);return et};const Ur=[1,2,3,4,5];var Jr=o.forwardRef((ge,mr)=>{const{level:et=1}=ge,Ir=Ut(ge,["level"]),Vr=Ur.includes(et)?`h${et}`:"h1";return o.createElement(br,Object.assign({ref:mr},Ir,{component:Vr}))});const gn=Je;gn.Text=mt,gn.Link=D,gn.Title=Jr,gn.Paragraph=ne;var Jn=gn},14566:function(Yr,Xt,n){"use strict";n.d(Xt,{default:function(){return Tn}});var o=n(59301),qe=n(94480),L=n(4676),Re=n(92310),q=n.n(Re),ee=n(90472),_=n(18929),y=n(48755),G=n(2171),u=n(9017),B=n(85981),F=n(63356),K=n(34961),R=n(16931),X=n(51636),M=n(36237),S=Ft=>{const{componentCls:Sr,iconCls:br}=Ft;return{[`${Sr}-wrapper`]:{[`${Sr}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Ft.colorFillAlter,border:`${(0,M.unit)(Ft.lineWidth)} dashed ${Ft.colorBorder}`,borderRadius:Ft.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ft.motionDurationSlow}`,[Sr]:{padding:Ft.padding},[`${Sr}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:Ft.borderRadiusLG,"&:focus-visible":{outline:`${(0,M.unit)(Ft.lineWidthFocus)} solid ${Ft.colorPrimaryBorder}`}},[`${Sr}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`
|
|
|
&:not(${Sr}-disabled):hover,
|
|
|
&-hover:not(${Sr}-disabled)
|
|
|
`]:{borderColor:Ft.colorPrimaryHover},[`p${Sr}-drag-icon`]:{marginBottom:Ft.margin,[br]:{color:Ft.colorPrimary,fontSize:Ft.uploadThumbnailSize}},[`p${Sr}-text`]:{margin:`0 0 ${(0,M.unit)(Ft.marginXXS)}`,color:Ft.colorTextHeading,fontSize:Ft.fontSizeLG},[`p${Sr}-hint`]:{color:Ft.colorTextDescription,fontSize:Ft.fontSize},[`&${Sr}-disabled`]:{[`p${Sr}-drag-icon ${br},
|
|
|
p${Sr}-text,
|
|
|
p${Sr}-hint
|
|
|
`]:{color:Ft.colorTextDisabled}}}}}},ie=Ft=>{const{componentCls:Sr,iconCls:br,fontSize:Br,lineHeight:h,calc:D}=Ft,Ee=`${Sr}-list-item`,ne=`${Ee}-actions`,lt=`${Ee}-action`;return{[`${Sr}-wrapper`]:{[`${Sr}-list`]:Object.assign(Object.assign({},(0,F.dF)()),{lineHeight:Ft.lineHeight,[Ee]:{position:"relative",height:D(Ft.lineHeight).mul(Br).equal(),marginTop:Ft.marginXS,fontSize:Br,display:"flex",alignItems:"center",transition:`background-color ${Ft.motionDurationSlow}`,borderRadius:Ft.borderRadiusSM,"&:hover":{backgroundColor:Ft.controlItemBgHover},[`${Ee}-name`]:Object.assign(Object.assign({},F.vS),{padding:`0 ${(0,M.unit)(Ft.paddingXS)}`,lineHeight:h,flex:"auto",transition:`all ${Ft.motionDurationSlow}`}),[ne]:{whiteSpace:"nowrap",[lt]:{opacity:0},[br]:{color:Ft.actionsColor,transition:`all ${Ft.motionDurationSlow}`},[`
|
|
|
${lt}:focus-visible,
|
|
|
&.picture ${lt}
|
|
|
`]:{opacity:1}},[`${Sr}-icon ${br}`]:{color:Ft.colorTextDescription,fontSize:Br},[`${Ee}-progress`]:{position:"absolute",bottom:Ft.calc(Ft.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:D(Br).add(Ft.paddingXS).equal(),fontSize:Br,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Ee}:hover ${lt}`]:{opacity:1},[`${Ee}-error`]:{color:Ft.colorError,[`${Ee}-name, ${Sr}-icon ${br}`]:{color:Ft.colorError},[ne]:{[`${br}, ${br}:hover`]:{color:Ft.colorError},[lt]:{opacity:1}}},[`${Sr}-list-item-container`]:{transition:`opacity ${Ft.motionDurationSlow}, height ${Ft.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},J=n(99495),$e=Ft=>{const{componentCls:Sr}=Ft,br=new M.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:Ft.calc(Ft.marginXS).div(-2).equal()}}),Br=new M.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:Ft.calc(Ft.marginXS).div(-2).equal()}}),h=`${Sr}-animate-inline`;return[{[`${Sr}-wrapper`]:{[`${h}-appear, ${h}-enter, ${h}-leave`]:{animationDuration:Ft.motionDurationSlow,animationTimingFunction:Ft.motionEaseInOutCirc,animationFillMode:"forwards"},[`${h}-appear, ${h}-enter`]:{animationName:br},[`${h}-leave`]:{animationName:Br}}},{[`${Sr}-wrapper`]:(0,J.J$)(Ft)},br,Br]},Ne=n(68361);const Qe=Ft=>{const{componentCls:Sr,iconCls:br,uploadThumbnailSize:Br,uploadProgressOffset:h,calc:D}=Ft,Ee=`${Sr}-list`,ne=`${Ee}-item`;return{[`${Sr}-wrapper`]:{[`
|
|
|
${Ee}${Ee}-picture,
|
|
|
${Ee}${Ee}-picture-card,
|
|
|
${Ee}${Ee}-picture-circle
|
|
|
`]:{[ne]:{position:"relative",height:D(Br).add(D(Ft.lineWidth).mul(2)).add(D(Ft.paddingXS).mul(2)).equal(),padding:Ft.paddingXS,border:`${(0,M.unit)(Ft.lineWidth)} ${Ft.lineType} ${Ft.colorBorder}`,borderRadius:Ft.borderRadiusLG,"&:hover":{background:"transparent"},[`${ne}-thumbnail`]:Object.assign(Object.assign({},F.vS),{width:Br,height:Br,lineHeight:(0,M.unit)(D(Br).add(Ft.paddingSM).equal()),textAlign:"center",flex:"none",[br]:{fontSize:Ft.fontSizeHeading2,color:Ft.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${ne}-progress`]:{bottom:h,width:`calc(100% - ${(0,M.unit)(D(Ft.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:D(Br).add(Ft.paddingXS).equal()}},[`${ne}-error`]:{borderColor:Ft.colorError,[`${ne}-thumbnail ${br}`]:{[`svg path[fill='${Ne.blue[0]}']`]:{fill:Ft.colorErrorBg},[`svg path[fill='${Ne.blue.primary}']`]:{fill:Ft.colorError}}},[`${ne}-uploading`]:{borderStyle:"dashed",[`${ne}-name`]:{marginBottom:h}}},[`${Ee}${Ee}-picture-circle ${ne}`]:{[`&, &::before, ${ne}-thumbnail`]:{borderRadius:"50%"}}}}},Ze=Ft=>{const{componentCls:Sr,iconCls:br,fontSizeLG:Br,colorTextLightSolid:h,calc:D}=Ft,Ee=`${Sr}-list`,ne=`${Ee}-item`,lt=Ft.uploadPicCardSize;return{[`
|
|
|
${Sr}-wrapper${Sr}-picture-card-wrapper,
|
|
|
${Sr}-wrapper${Sr}-picture-circle-wrapper
|
|
|
`]:Object.assign(Object.assign({},(0,F.dF)()),{display:"block",[`${Sr}${Sr}-select`]:{width:lt,height:lt,textAlign:"center",verticalAlign:"top",backgroundColor:Ft.colorFillAlter,border:`${(0,M.unit)(Ft.lineWidth)} dashed ${Ft.colorBorder}`,borderRadius:Ft.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ft.motionDurationSlow}`,[`> ${Sr}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Sr}-disabled):hover`]:{borderColor:Ft.colorPrimary}},[`${Ee}${Ee}-picture-card, ${Ee}${Ee}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:Ft.marginXS,marginInlineEnd:Ft.marginXS}},"@supports (gap: 1px)":{gap:Ft.marginXS},[`${Ee}-item-container`]:{display:"inline-block",width:lt,height:lt,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[ne]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,M.unit)(D(Ft.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,M.unit)(D(Ft.paddingXS).mul(2).equal())})`,backgroundColor:Ft.colorBgMask,opacity:0,transition:`all ${Ft.motionDurationSlow}`,content:'" "'}},[`${ne}:hover`]:{[`&::before, ${ne}-actions`]:{opacity:1}},[`${ne}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Ft.motionDurationSlow}`,[`
|
|
|
${br}-eye,
|
|
|
${br}-download,
|
|
|
${br}-delete
|
|
|
`]:{zIndex:10,width:Br,margin:`0 ${(0,M.unit)(Ft.marginXXS)}`,fontSize:Br,cursor:"pointer",transition:`all ${Ft.motionDurationSlow}`,color:h,"&:hover":{color:h},svg:{verticalAlign:"baseline"}}},[`${ne}-thumbnail, ${ne}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${ne}-name`]:{display:"none",textAlign:"center"},[`${ne}-file + ${ne}-name`]:{position:"absolute",bottom:Ft.margin,display:"block",width:`calc(100% - ${(0,M.unit)(D(Ft.paddingXS).mul(2).equal())})`},[`${ne}-uploading`]:{[`&${ne}`]:{backgroundColor:Ft.colorFillAlter},[`&::before, ${br}-eye, ${br}-download, ${br}-delete`]:{display:"none"}},[`${ne}-progress`]:{bottom:Ft.marginXL,width:`calc(100% - ${(0,M.unit)(D(Ft.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${Sr}-wrapper${Sr}-picture-circle-wrapper`]:{[`${Sr}${Sr}-select`]:{borderRadius:"50%"}}}};var xe=Ft=>{const{componentCls:Sr}=Ft;return{[`${Sr}-rtl`]:{direction:"rtl"}}};const Q=Ft=>{const{componentCls:Sr,colorTextDisabled:br}=Ft;return{[`${Sr}-wrapper`]:Object.assign(Object.assign({},(0,F.Wf)(Ft)),{[Sr]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Sr}-select`]:{display:"inline-block"},[`${Sr}-hidden`]:{display:"none"},[`${Sr}-disabled`]:{color:br,cursor:"not-allowed"}})}},ye=Ft=>({actionsColor:Ft.colorTextDescription});var N=(0,R.I$)("Upload",Ft=>{const{fontSizeHeading3:Sr,fontHeight:br,lineWidth:Br,controlHeightLG:h,calc:D}=Ft,Ee=(0,X.mergeToken)(Ft,{uploadThumbnailSize:D(Sr).mul(2).equal(),uploadProgressOffset:D(D(br).div(2)).add(Br).equal(),uploadPicCardSize:D(h).mul(2.55).equal()});return[Q(Ee),S(Ee),Qe(Ee),Ze(Ee),ie(Ee),$e(Ee),xe(Ee),(0,K.Z)(Ee)]},ye),I=n(54476),nt={icon:function(Sr,br){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:br}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:Sr}}]}},name:"file",theme:"twotone"},ce=nt,le=n(7657),w=function(Sr,br){return o.createElement(le.Z,(0,I.Z)({},Sr,{ref:br,icon:ce}))},k=o.forwardRef(w),z=k,C=n(58617),Y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},He=Y,pe=function(Sr,br){return o.createElement(le.Z,(0,I.Z)({},Sr,{ref:br,icon:He}))},Ue=o.forwardRef(pe),ot=Ue,ct={icon:function(Sr,br){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:Sr}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:br}},{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:br}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:br}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:Sr}}]}},name:"picture",theme:"twotone"},ue=ct,Le=function(Sr,br){return o.createElement(le.Z,(0,I.Z)({},Sr,{ref:br,icon:ue}))},Ct=o.forwardRef(Le),ke=Ct,De=n(77900),j=n(2738),_e=n(40192),be=n(86641),fe=n(22703),he=n(99571);function me(Ft){return Object.assign(Object.assign({},Ft),{lastModified:Ft.lastModified,lastModifiedDate:Ft.lastModifiedDate,name:Ft.name,size:Ft.size,type:Ft.type,uid:Ft.uid,percent:0,originFileObj:Ft})}function Ie(Ft,Sr){const br=(0,qe.Z)(Sr),Br=br.findIndex(h=>{let{uid:D}=h;return D===Ft.uid});return Br===-1?br.push(Ft):br[Br]=Ft,br}function Se(Ft,Sr){const br=Ft.uid!==void 0?"uid":"name";return Sr.filter(Br=>Br[br]===Ft[br])[0]}function Me(Ft,Sr){const br=Ft.uid!==void 0?"uid":"name",Br=Sr.filter(h=>h[br]!==Ft[br]);return Br.length===Sr.length?null:Br}const Je=function(){const Sr=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Br=Sr[Sr.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Br)||[""])[0]},pt=Ft=>Ft.indexOf("image/")===0,$t=Ft=>{if(Ft.type&&!Ft.thumbUrl)return pt(Ft.type);const Sr=Ft.thumbUrl||Ft.url||"",br=Je(Sr);return/^data:image\//.test(Sr)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(br)?!0:!(/^data:/.test(Sr)||br)},Yt=200;function Gt(Ft){return new Promise(Sr=>{if(!Ft.type||!pt(Ft.type)){Sr("");return}const br=document.createElement("canvas");br.width=Yt,br.height=Yt,br.style.cssText=`position: fixed; left: 0; top: 0; width: ${Yt}px; height: ${Yt}px; z-index: 9999; display: none;`,document.body.appendChild(br);const Br=br.getContext("2d"),h=new Image;if(h.onload=()=>{const{width:D,height:Ee}=h;let ne=Yt,lt=Yt,pn=0,mt=0;D>Ee?(lt=Ee*(Yt/D),mt=-(lt-ne)/2):(ne=D*(Yt/Ee),pn=-(ne-lt)/2),Br.drawImage(h,pn,mt,ne,lt);const Ut=br.toDataURL();document.body.removeChild(br),window.URL.revokeObjectURL(h.src),Sr(Ut)},h.crossOrigin="anonymous",Ft.type.startsWith("image/svg+xml")){const D=new FileReader;D.onload=()=>{D.result&&typeof D.result=="string"&&(h.src=D.result)},D.readAsDataURL(Ft)}else if(Ft.type.startsWith("image/gif")){const D=new FileReader;D.onload=()=>{D.result&&Sr(D.result)},D.readAsDataURL(Ft)}else h.src=window.URL.createObjectURL(Ft)})}var Pt=n(26227),it=n(41464),xt=n(15277),Nt=n(60242),Ht=n(25399),er=o.forwardRef((Ft,Sr)=>{let{prefixCls:br,className:Br,style:h,locale:D,listType:Ee,file:ne,items:lt,progress:pn,iconRender:mt,actionIconRender:Ut,itemRender:Ur,isImgUrl:Pr,showPreviewIcon:Jr,showRemoveIcon:gn,showDownloadIcon:Jn,previewIcon:ge,removeIcon:mr,downloadIcon:et,extra:Ir,onPreview:Vr,onDownload:Sn,onClose:ea}=Ft;var vt,nr;const{status:sr}=ne,[or,jr]=o.useState(sr);o.useEffect(()=>{sr!=="removed"&&jr(sr)},[sr]);const[on,Wr]=o.useState(!1);o.useEffect(()=>{const xn=setTimeout(()=>{Wr(!0)},300);return()=>{clearTimeout(xn)}},[]);const Dr=mt(ne);let nn=o.createElement("div",{className:`${br}-icon`},Dr);if(Ee==="picture"||Ee==="picture-card"||Ee==="picture-circle")if(or==="uploading"||!ne.thumbUrl&&!ne.url){const xn=q()(`${br}-list-item-thumbnail`,{[`${br}-list-item-file`]:or!=="uploading"});nn=o.createElement("div",{className:xn},Dr)}else{const xn=Pr!=null&&Pr(ne)?o.createElement("img",{src:ne.thumbUrl||ne.url,alt:ne.name,className:`${br}-list-item-image`,crossOrigin:ne.crossOrigin}):Dr,Kn=q()(`${br}-list-item-thumbnail`,{[`${br}-list-item-file`]:Pr&&!Pr(ne)});nn=o.createElement("a",{className:Kn,onClick:wa=>Vr(ne,wa),href:ne.url||ne.thumbUrl,target:"_blank",rel:"noopener noreferrer"},xn)}const sn=q()(`${br}-list-item`,`${br}-list-item-${or}`),$n=typeof ne.linkProps=="string"?JSON.parse(ne.linkProps):ne.linkProps,Pn=(typeof gn=="function"?gn(ne):gn)?Ut((typeof mr=="function"?mr(ne):mr)||o.createElement(Pt.Z,null),()=>ea(ne),br,D.removeFile,!0):null,On=(typeof Jn=="function"?Jn(ne):Jn)&&or==="done"?Ut((typeof et=="function"?et(ne):et)||o.createElement(it.Z,null),()=>Sn(ne),br,D.downloadFile):null,Bn=Ee!=="picture-card"&&Ee!=="picture-circle"&&o.createElement("span",{key:"download-delete",className:q()(`${br}-list-item-actions`,{picture:Ee==="picture"})},On,Pn),ta=typeof Ir=="function"?Ir(ne):Ir,tn=ta&&o.createElement("span",{className:`${br}-list-item-extra`},ta),An=q()(`${br}-list-item-name`),Yn=ne.url?o.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:An,title:ne.name},$n,{href:ne.url,onClick:xn=>Vr(ne,xn)}),ne.name,tn):o.createElement("span",{key:"view",className:An,onClick:xn=>Vr(ne,xn),title:ne.name},ne.name,tn),ua=(typeof Jr=="function"?Jr(ne):Jr)&&(ne.url||ne.thumbUrl)?o.createElement("a",{href:ne.url||ne.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:xn=>Vr(ne,xn),title:D.previewFile},typeof ge=="function"?ge(ne):ge||o.createElement(xt.Z,null)):null,zn=(Ee==="picture-card"||Ee==="picture-circle")&&or!=="uploading"&&o.createElement("span",{className:`${br}-list-item-actions`},ua,or==="done"&&On,Pn),{getPrefixCls:ra}=o.useContext(y.E_),Gn=ra(),Wn=o.createElement("div",{className:sn},nn,Yn,Bn,zn,on&&o.createElement(De.default,{motionName:`${Gn}-fade`,visible:or==="uploading",motionDeadline:2e3},xn=>{let{className:Kn}=xn;const wa="percent"in ne?o.createElement(Nt.Z,Object.assign({},pn,{type:"line",percent:ne.percent,"aria-label":ne["aria-label"],"aria-labelledby":ne["aria-labelledby"]})):null;return o.createElement("div",{className:q()(`${br}-list-item-progress`,Kn)},wa)})),qn=ne.response&&typeof ne.response=="string"?ne.response:((vt=ne.error)===null||vt===void 0?void 0:vt.statusText)||((nr=ne.error)===null||nr===void 0?void 0:nr.message)||D.uploadError,Dn=or==="error"?o.createElement(Ht.Z,{title:qn,getPopupContainer:xn=>xn.parentNode},Wn):Wn;return o.createElement("div",{className:q()(`${br}-list-item-container`,Br),style:h,ref:Sr},Ur?Ur(Dn,ne,lt,{download:Sn.bind(null,ne),preview:Vr.bind(null,ne),remove:ea.bind(null,ne)}):Dn)});const lr=(Ft,Sr)=>{const{listType:br="text",previewFile:Br=Gt,onPreview:h,onDownload:D,onRemove:Ee,locale:ne,iconRender:lt,isImageUrl:pn=$t,prefixCls:mt,items:Ut=[],showPreviewIcon:Ur=!0,showRemoveIcon:Pr=!0,showDownloadIcon:Jr=!1,removeIcon:gn,previewIcon:Jn,downloadIcon:ge,extra:mr,progress:et={size:[-1,2],showInfo:!1},appendAction:Ir,appendActionVisible:Vr=!0,itemRender:Sn,disabled:ea}=Ft,vt=(0,_e.Z)(),[nr,sr]=o.useState(!1),or=["picture-card","picture-circle"].includes(br);o.useEffect(()=>{br.startsWith("picture")&&(Ut||[]).forEach(tn=>{!(tn.originFileObj instanceof File||tn.originFileObj instanceof Blob)||tn.thumbUrl!==void 0||(tn.thumbUrl="",Br==null||Br(tn.originFileObj).then(An=>{tn.thumbUrl=An||"",vt()}))})},[br,Ut,Br]),o.useEffect(()=>{sr(!0)},[]);const jr=(tn,An)=>{if(h)return An==null||An.preventDefault(),h(tn)},on=tn=>{typeof D=="function"?D(tn):tn.url&&window.open(tn.url)},Wr=tn=>{Ee==null||Ee(tn)},Dr=tn=>{if(lt)return lt(tn,br);const An=tn.status==="uploading";if(br.startsWith("picture")){const Yn=br==="picture"?o.createElement(C.Z,null):ne.uploading,ua=pn!=null&&pn(tn)?o.createElement(ke,null):o.createElement(z,null);return An?Yn:ua}return An?o.createElement(C.Z,null):o.createElement(ot,null)},nn=(tn,An,Yn,ua,zn)=>{const ra={type:"text",size:"small",title:ua,onClick:Gn=>{var Wn,qn;An(),o.isValidElement(tn)&&((qn=(Wn=tn.props).onClick)===null||qn===void 0||qn.call(Wn,Gn))},className:`${Yn}-list-item-action`};return zn&&(ra.disabled=ea),o.isValidElement(tn)?o.createElement(he.ZP,Object.assign({},ra,{icon:(0,fe.Tm)(tn,Object.assign(Object.assign({},tn.props),{onClick:()=>{}}))})):o.createElement(he.ZP,Object.assign({},ra),o.createElement("span",null,tn))};o.useImperativeHandle(Sr,()=>({handlePreview:jr,handleDownload:on}));const{getPrefixCls:sn}=o.useContext(y.E_),$n=sn("upload",mt),Pn=sn(),On=q()(`${$n}-list`,`${$n}-list-${br}`),Bn=o.useMemo(()=>(0,j.Z)((0,be.Z)(Pn),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[Pn]),ta=Object.assign(Object.assign({},or?{}:Bn),{motionDeadline:2e3,motionName:`${$n}-${or?"animate-inline":"animate"}`,keys:(0,qe.Z)(Ut.map(tn=>({key:tn.uid,file:tn}))),motionAppear:nr});return o.createElement("div",{className:On},o.createElement(De.CSSMotionList,Object.assign({},ta,{component:!1}),tn=>{let{key:An,file:Yn,className:ua,style:zn}=tn;return o.createElement(er,{key:An,locale:ne,prefixCls:$n,className:ua,style:zn,file:Yn,items:Ut,progress:et,listType:br,isImgUrl:pn,showPreviewIcon:Ur,showRemoveIcon:Pr,showDownloadIcon:Jr,removeIcon:gn,previewIcon:Jn,downloadIcon:ge,extra:mr,iconRender:Dr,actionIconRender:nn,itemRender:Sn,onPreview:jr,onDownload:on,onClose:Wr})}),Ir&&o.createElement(De.default,Object.assign({},ta,{visible:Vr,forceRender:!0}),tn=>{let{className:An,style:Yn}=tn;return(0,fe.Tm)(Ir,ua=>({className:q()(ua.className,An),style:Object.assign(Object.assign(Object.assign({},Yn),{pointerEvents:An?"none":void 0}),ua.style)}))}))};var qr=o.forwardRef(lr),Ar=function(Ft,Sr,br,Br){function h(D){return D instanceof br?D:new br(function(Ee){Ee(D)})}return new(br||(br=Promise))(function(D,Ee){function ne(mt){try{pn(Br.next(mt))}catch(Ut){Ee(Ut)}}function lt(mt){try{pn(Br.throw(mt))}catch(Ut){Ee(Ut)}}function pn(mt){mt.done?D(mt.value):h(mt.value).then(ne,lt)}pn((Br=Br.apply(Ft,Sr||[])).next())})};const x=`__LIST_IGNORE_${Date.now()}__`,W=(Ft,Sr)=>{const{fileList:br,defaultFileList:Br,onRemove:h,showUploadList:D=!0,listType:Ee="text",onPreview:ne,onDownload:lt,onChange:pn,onDrop:mt,previewFile:Ut,disabled:Ur,locale:Pr,iconRender:Jr,isImageUrl:gn,progress:Jn,prefixCls:ge,className:mr,type:et="select",children:Ir,style:Vr,itemRender:Sn,maxCount:ea,data:vt={},multiple:nr=!1,hasControlInside:sr=!0,action:or="",accept:jr="",supportServerRender:on=!0,rootClassName:Wr}=Ft,Dr=o.useContext(G.Z),nn=Ur!=null?Ur:Dr,[sn,$n]=(0,_.Z)(Br||[],{value:br,postState:kt=>kt!=null?kt:[]}),[Pn,On]=o.useState("drop"),Bn=o.useRef(null),ta=o.useRef(null);o.useMemo(()=>{const kt=Date.now();(br||[]).forEach((Ge,Zt)=>{!Ge.uid&&!Object.isFrozen(Ge)&&(Ge.uid=`__AUTO__${kt}_${Zt}__`)})},[br]);const tn=(kt,Ge,Zt)=>{let gt=(0,qe.Z)(Ge),ar=!1;ea===1?gt=gt.slice(-1):ea&&(ar=gt.length>ea,gt=gt.slice(0,ea)),(0,L.flushSync)(()=>{$n(gt)});const yr={file:kt,fileList:gt};Zt&&(yr.event=Zt),(!ar||kt.status==="removed"||gt.some(Qt=>Qt.uid===kt.uid))&&(0,L.flushSync)(()=>{pn==null||pn(yr)})},An=(kt,Ge)=>Ar(void 0,void 0,void 0,function*(){const{beforeUpload:Zt,transformFile:gt}=Ft;let ar=kt;if(Zt){const yr=yield Zt(kt,Ge);if(yr===!1)return!1;if(delete kt[x],yr===x)return Object.defineProperty(kt,x,{value:!0,configurable:!0}),!1;typeof yr=="object"&&yr&&(ar=yr)}return gt&&(ar=yield gt(ar)),ar}),Yn=kt=>{const Ge=kt.filter(ar=>!ar.file[x]);if(!Ge.length)return;const Zt=Ge.map(ar=>me(ar.file));let gt=(0,qe.Z)(sn);Zt.forEach(ar=>{gt=Ie(ar,gt)}),Zt.forEach((ar,yr)=>{let Qt=ar;if(Ge[yr].parsedFile)ar.status="uploading";else{const{originFileObj:at}=ar;let Ce;try{Ce=new File([at],at.name,{type:at.type})}catch(Vt){Ce=new Blob([at],{type:at.type}),Ce.name=at.name,Ce.lastModifiedDate=new Date,Ce.lastModified=new Date().getTime()}Ce.uid=ar.uid,Qt=Ce}tn(Qt,gt)})},ua=(kt,Ge,Zt)=>{try{typeof kt=="string"&&(kt=JSON.parse(kt))}catch(yr){}if(!Se(Ge,sn))return;const gt=me(Ge);gt.status="done",gt.percent=100,gt.response=kt,gt.xhr=Zt;const ar=Ie(gt,sn);tn(gt,ar)},zn=(kt,Ge)=>{if(!Se(Ge,sn))return;const Zt=me(Ge);Zt.status="uploading",Zt.percent=kt.percent;const gt=Ie(Zt,sn);tn(Zt,gt,kt)},ra=(kt,Ge,Zt)=>{if(!Se(Zt,sn))return;const gt=me(Zt);gt.error=kt,gt.response=Ge,gt.status="error";const ar=Ie(gt,sn);tn(gt,ar)},Gn=kt=>{let Ge;Promise.resolve(typeof h=="function"?h(kt):h).then(Zt=>{var gt;if(Zt===!1)return;const ar=Me(kt,sn);ar&&(Ge=Object.assign(Object.assign({},kt),{status:"removed"}),sn==null||sn.forEach(yr=>{const Qt=Ge.uid!==void 0?"uid":"name";yr[Qt]===Ge[Qt]&&!Object.isFrozen(yr)&&(yr.status="removed")}),(gt=Bn.current)===null||gt===void 0||gt.abort(Ge),tn(Ge,ar))})},Wn=kt=>{On(kt.type),kt.type==="drop"&&(mt==null||mt(kt))};o.useImperativeHandle(Sr,()=>({onBatchStart:Yn,onSuccess:ua,onProgress:zn,onError:ra,fileList:sn,upload:Bn.current,nativeElement:ta.current}));const{getPrefixCls:qn,direction:Dn,upload:xn}=o.useContext(y.E_),Kn=qn("upload",ge),wa=Object.assign(Object.assign({onBatchStart:Yn,onError:ra,onProgress:zn,onSuccess:ua},Ft),{data:vt,multiple:nr,action:or,accept:jr,supportServerRender:on,prefixCls:Kn,disabled:nn,beforeUpload:An,onChange:void 0,hasControlInside:sr});delete wa.className,delete wa.style,(!Ir||nn)&&delete wa.id;const za=`${Kn}-wrapper`,[to,ro,so]=N(Kn,za),[f]=(0,u.Z)("Upload",B.Z.Upload),{showRemoveIcon:s,showPreviewIcon:p,showDownloadIcon:b,removeIcon:A,previewIcon:v,downloadIcon:T,extra:Z}=typeof D=="boolean"?{}:D,re=typeof s=="undefined"?!nn:s,Ae=(kt,Ge)=>D?o.createElement(qr,{prefixCls:Kn,listType:Ee,items:sn,previewFile:Ut,onPreview:ne,onDownload:lt,onRemove:Gn,showRemoveIcon:re,showPreviewIcon:p,showDownloadIcon:b,removeIcon:A,previewIcon:v,downloadIcon:T,iconRender:Jr,extra:Z,locale:Object.assign(Object.assign({},f),Pr),isImageUrl:gn,progress:Jn,appendAction:kt,appendActionVisible:Ge,itemRender:Sn,disabled:nn}):kt,st=q()(za,mr,Wr,ro,so,xn==null?void 0:xn.className,{[`${Kn}-rtl`]:Dn==="rtl",[`${Kn}-picture-card-wrapper`]:Ee==="picture-card",[`${Kn}-picture-circle-wrapper`]:Ee==="picture-circle"}),jt=Object.assign(Object.assign({},xn==null?void 0:xn.style),Vr);if(et==="drag"){const kt=q()(ro,Kn,`${Kn}-drag`,{[`${Kn}-drag-uploading`]:sn.some(Ge=>Ge.status==="uploading"),[`${Kn}-drag-hover`]:Pn==="dragover",[`${Kn}-disabled`]:nn,[`${Kn}-rtl`]:Dn==="rtl"});return to(o.createElement("span",{className:st,ref:ta},o.createElement("div",{className:kt,style:jt,onDrop:Wn,onDragOver:Wn,onDragLeave:Wn},o.createElement(ee.Z,Object.assign({},wa,{ref:Bn,className:`${Kn}-btn`}),o.createElement("div",{className:`${Kn}-drag-container`},Ir))),Ae()))}const At=q()(Kn,`${Kn}-select`,{[`${Kn}-disabled`]:nn,[`${Kn}-hidden`]:!Ir}),ve=o.createElement("div",{className:At},o.createElement(ee.Z,Object.assign({},wa,{ref:Bn})));return to(Ee==="picture-card"||Ee==="picture-circle"?o.createElement("span",{className:st,ref:ta},Ae(ve,!!Ir)):o.createElement("span",{className:st,ref:ta},ve,Ae()))};var oe=o.forwardRef(W),Be=function(Ft,Sr){var br={};for(var Br in Ft)Object.prototype.hasOwnProperty.call(Ft,Br)&&Sr.indexOf(Br)<0&&(br[Br]=Ft[Br]);if(Ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,Br=Object.getOwnPropertySymbols(Ft);h<Br.length;h++)Sr.indexOf(Br[h])<0&&Object.prototype.propertyIsEnumerable.call(Ft,Br[h])&&(br[Br[h]]=Ft[Br[h]]);return br},$r=o.forwardRef((Ft,Sr)=>{var{style:br,height:Br,hasControlInside:h=!1}=Ft,D=Be(Ft,["style","height","hasControlInside"]);return o.createElement(oe,Object.assign({ref:Sr,hasControlInside:h},D,{type:"drag",style:Object.assign(Object.assign({},br),{height:Br})}))});const yn=oe;yn.Dragger=$r,yn.LIST_IGNORE=x;var Tn=yn},44164:function(Yr,Xt,n){var o=n(97671);(function(L,Re){Yr.exports=Re(n(28685),n(64270))})(self,function(qe,L){return function(){var Re={"./src/plugin/hyperlinks.js":function(y,G,u){"use strict";u.r(G);var B=u("./node_modules/core-js/modules/web.dom-collections.for-each.js"),F=u.n(B),K=u("./node_modules/core-js/modules/es.string.link.js"),R=u.n(K),X=u("./src/worker.js"),M=u("./src/utils.js"),$=[],S={toContainer:X.default.prototype.toContainer,toPdf:X.default.prototype.toPdf};X.default.prototype.toContainer=function(){return S.toContainer.call(this).then(function(){if(this.opt.enableLinks){var J=this.prop.container,te=J.querySelectorAll("a"),$e=(0,M.unitConvert)(J.getBoundingClientRect(),this.prop.pageSize.k);$=[],Array.prototype.forEach.call(te,function(Ne){for(var Qe=Ne.getClientRects(),Ze=0;Ze<Qe.length;Ze++){var we=(0,M.unitConvert)(Qe[Ze],this.prop.pageSize.k);we.left-=$e.left,we.top-=$e.top;var xe=Math.floor(we.top/this.prop.pageSize.inner.height)+1,Q=this.opt.margin[0]+we.top%this.prop.pageSize.inner.height,ye=this.opt.margin[1]+we.left;$.push({page:xe,top:Q,left:ye,clientRect:we,link:Ne})}},this)}})},X.default.prototype.toPdf=function(){return S.toPdf.call(this).then(function(){if(this.opt.enableLinks){$.forEach(function(te){this.prop.pdf.setPage(te.page),this.prop.pdf.link(te.left,te.top,te.clientRect.width,te.clientRect.height,{url:te.link.href})},this);var J=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(J)}})}},"./src/plugin/jspdf-plugin.js":function(y,G,u){"use strict";u.r(G);var B=u("./node_modules/core-js/modules/es.symbol.js"),F=u.n(B),K=u("./node_modules/core-js/modules/es.symbol.description.js"),R=u.n(K),X=u("./node_modules/core-js/modules/es.object.to-string.js"),M=u.n(X),$=u("./node_modules/core-js/modules/es.symbol.iterator.js"),S=u.n($),E=u("./node_modules/core-js/modules/es.array.iterator.js"),ie=u.n(E),J=u("./node_modules/core-js/modules/es.string.iterator.js"),te=u.n(J),$e=u("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Ne=u.n($e),Qe=u("jspdf"),Ze=u.n(Qe);function we(xe){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?we=function(ye){return typeof ye}:we=function(ye){return ye&&typeof Symbol=="function"&&ye.constructor===Symbol&&ye!==Symbol.prototype?"symbol":typeof ye},we(xe)}Qe.jsPDF.getPageSize=function(xe,Q,ye){if(we(xe)==="object"){var N=xe;xe=N.orientation,Q=N.unit||Q,ye=N.format||ye}Q=Q||"mm",ye=ye||"a4",xe=(""+(xe||"P")).toLowerCase();var I=(""+ye).toLowerCase(),nt={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(Q){case"pt":var 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: "+Q}if(nt.hasOwnProperty(I))var le=nt[I][1]/ce,w=nt[I][0]/ce;else try{var le=ye[1],w=ye[0]}catch(C){throw new Error("Invalid format: "+ye)}if(xe==="p"||xe==="portrait"){if(xe="p",w>le){var k=w;w=le,le=k}}else if(xe==="l"||xe==="landscape"){if(xe="l",le>w){var k=w;w=le,le=k}}else throw"Invalid orientation: "+xe;var z={width:w,height:le,unit:Q,k:ce};return z},G.default=Qe.jsPDF},"./src/plugin/pagebreaks.js":function(y,G,u){"use strict";u.r(G);var B=u("./node_modules/core-js/modules/es.array.concat.js"),F=u.n(B),K=u("./node_modules/core-js/modules/es.array.slice.js"),R=u.n(K),X=u("./node_modules/core-js/modules/es.array.join.js"),M=u.n(X),$=u("./node_modules/core-js/modules/web.dom-collections.for-each.js"),S=u.n($),E=u("./node_modules/core-js/modules/es.object.keys.js"),ie=u.n(E),J=u("./src/worker.js"),te=u("./src/utils.js"),$e={toContainer:J.default.prototype.toContainer};J.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},J.default.prototype.toContainer=function(){return $e.toContainer.call(this).then(function(){var Ze=this.prop.container,we=this.prop.pageSize.inner.px.height,xe=[].concat(this.opt.pagebreak.mode),Q={avoidAll:xe.indexOf("avoid-all")!==-1,css:xe.indexOf("css")!==-1,legacy:xe.indexOf("legacy")!==-1},ye={},N=this;["before","after","avoid"].forEach(function(ce){var le=Q.avoidAll&&ce==="avoid";ye[ce]=le?[]:[].concat(N.opt.pagebreak[ce]||[]),ye[ce].length>0&&(ye[ce]=Array.prototype.slice.call(Ze.querySelectorAll(ye[ce].join(", "))))});var I=Ze.querySelectorAll(".html2pdf__page-break");I=Array.prototype.slice.call(I);var nt=Ze.querySelectorAll("*");Array.prototype.forEach.call(nt,function(le){var w={before:!1,after:Q.legacy&&I.indexOf(le)!==-1,avoid:Q.avoidAll};if(Q.css){var k=window.getComputedStyle(le),z=["always","page","left","right"],C=["avoid","avoid-page"];w={before:w.before||z.indexOf(k.breakBefore||k.pageBreakBefore)!==-1,after:w.after||z.indexOf(k.breakAfter||k.pageBreakAfter)!==-1,avoid:w.avoid||C.indexOf(k.breakInside||k.pageBreakInside)!==-1}}Object.keys(w).forEach(function(ct){w[ct]=w[ct]||ye[ct].indexOf(le)!==-1});var Y=le.getBoundingClientRect();if(w.avoid&&!w.before){var He=Math.floor(Y.top/we),pe=Math.floor(Y.bottom/we),Ue=Math.abs(Y.bottom-Y.top)/we;pe!==He&&Ue<=1&&(w.before=!0)}if(w.before){var ot=(0,te.createElement)("div",{style:{display:"block",height:we-Y.top%we+"px"}});le.parentNode.insertBefore(ot,le)}if(w.after){var ot=(0,te.createElement)("div",{style:{display:"block",height:we-Y.bottom%we+"px"}});le.parentNode.insertBefore(ot,le.nextSibling)}})})}},"./src/utils.js":function(y,G,u){"use strict";u.r(G),u.d(G,{objType:function(){return xe},createElement:function(){return Q},cloneNode:function(){return ye},unitConvert:function(){return N},toPx:function(){return I}});var B=u("./node_modules/core-js/modules/es.number.constructor.js"),F=u.n(B),K=u("./node_modules/core-js/modules/es.symbol.js"),R=u.n(K),X=u("./node_modules/core-js/modules/es.symbol.description.js"),M=u.n(X),$=u("./node_modules/core-js/modules/es.object.to-string.js"),S=u.n($),E=u("./node_modules/core-js/modules/es.symbol.iterator.js"),ie=u.n(E),J=u("./node_modules/core-js/modules/es.array.iterator.js"),te=u.n(J),$e=u("./node_modules/core-js/modules/es.string.iterator.js"),Ne=u.n($e),Qe=u("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Ze=u.n(Qe);function we(nt){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?we=function(le){return typeof le}:we=function(le){return le&&typeof Symbol=="function"&&le.constructor===Symbol&&le!==Symbol.prototype?"symbol":typeof le},we(nt)}var xe=function(ce){var le=we(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"},Q=function(ce,le){var w=document.createElement(ce);if(le.className&&(w.className=le.className),le.innerHTML){w.innerHTML=le.innerHTML;for(var k=w.getElementsByTagName("script"),z=k.length;z-- >0;null)k[z].parentNode.removeChild(k[z])}for(var C in le.style)w.style[C]=le.style[C];return w},ye=function nt(ce,le){for(var w=ce.nodeType===3?document.createTextNode(ce.nodeValue):ce.cloneNode(!1),k=ce.firstChild;k;k=k.nextSibling)(le===!0||k.nodeType!==1||k.nodeName!=="SCRIPT")&&w.appendChild(nt(k,le));return ce.nodeType===1&&(ce.nodeName==="CANVAS"?(w.width=ce.width,w.height=ce.height,w.getContext("2d").drawImage(ce,0,0)):(ce.nodeName==="TEXTAREA"||ce.nodeName==="SELECT")&&(w.value=ce.value),w.addEventListener("load",function(){w.scrollTop=ce.scrollTop,w.scrollLeft=ce.scrollLeft},!0)),w},N=function(ce,le){if(xe(ce)==="number")return ce*72/96/le;var w={};for(var k in ce)w[k]=ce[k]*72/96/le;return w},I=function(ce,le){return Math.floor(ce*le/72*96)}},"./src/worker.js":function(y,G,u){"use strict";u.r(G);var B=u("./node_modules/core-js/modules/es.object.assign.js"),F=u.n(B),K=u("./node_modules/core-js/modules/es.array.map.js"),R=u.n(K),X=u("./node_modules/core-js/modules/es.object.keys.js"),M=u.n(X),$=u("./node_modules/core-js/modules/es.array.concat.js"),S=u.n($),E=u("./node_modules/core-js/modules/es.object.to-string.js"),ie=u.n(E),J=u("./node_modules/core-js/modules/es.regexp.to-string.js"),te=u.n(J),$e=u("./node_modules/core-js/modules/es.function.name.js"),Ne=u.n($e),Qe=u("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Ze=u.n(Qe),we=u("jspdf"),xe=u.n(we),Q=u("html2canvas"),ye=u.n(Q),N=u("./src/utils.js"),I=u("./node_modules/es6-promise/dist/es6-promise.js"),nt=u.n(I),ce=nt().Promise,le=function w(k){var z=Object.assign(w.convert(ce.resolve()),JSON.parse(JSON.stringify(w.template))),C=w.convert(ce.resolve(),z);return C=C.setProgress(1,w,1,[w]),C=C.set(k),C};le.prototype=Object.create(ce.prototype),le.prototype.constructor=le,le.convert=function(k,z){return k.__proto__=z||le.prototype,k},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(k,z){function C(Y){switch((0,N.objType)(Y)){case"string":return"string";case"element":return Y.nodeName.toLowerCase&&Y.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(z=z||C(k),z){case"string":return this.set({src:(0,N.createElement)("div",{innerHTML:k})});case"element":return this.set({src:k});case"canvas":return this.set({canvas:k});case"img":return this.set({img:k});default:return this.error("Unknown source type.")}})},le.prototype.to=function(k){switch(k){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},le.prototype.toContainer=function(){var k=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(k).then(function(){var C={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},Y={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};C.opacity=0;var He=(0,N.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,N.createElement)("div",{className:"html2pdf__overlay",style:C}),this.prop.container=(0,N.createElement)("div",{className:"html2pdf__container",style:Y}),this.prop.container.appendChild(He),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},le.prototype.toCanvas=function(){var k=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(k).then(function(){var C=Object.assign({},this.opt.html2canvas);return delete C.onrendered,Q(this.prop.container,C)}).then(function(C){var Y=this.opt.html2canvas.onrendered||function(){};Y(C),this.prop.canvas=C,document.body.removeChild(this.prop.overlay)})},le.prototype.toImg=function(){var k=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(k).then(function(){var C=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=C})},le.prototype.toPdf=function(){var k=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(k).then(function(){var C=this.prop.canvas,Y=this.opt,He=C.height,pe=Math.floor(C.width*this.prop.pageSize.inner.ratio),Ue=Math.ceil(He/pe),ot=this.prop.pageSize.inner.height,ct=document.createElement("canvas"),ue=ct.getContext("2d");ct.width=C.width,ct.height=pe,this.prop.pdf=this.prop.pdf||new we.jsPDF(Y.jsPDF);for(var Le=0;Le<Ue;Le++){Le===Ue-1&&He%pe!==0&&(ct.height=He%pe,ot=ct.height*this.prop.pageSize.inner.width/ct.width);var Ct=ct.width,ke=ct.height;ue.fillStyle="white",ue.fillRect(0,0,Ct,ke),ue.drawImage(C,0,Le*pe,Ct,ke,0,0,Ct,ke),Le&&this.prop.pdf.addPage();var De=ct.toDataURL("image/"+Y.image.type,Y.image.quality);this.prop.pdf.addImage(De,Y.image.type,Y.margin[1],Y.margin[0],this.prop.pageSize.inner.width,ot)}})},le.prototype.output=function(k,z,C){return C=C||"pdf",C.toLowerCase()==="img"||C.toLowerCase()==="image"?this.outputImg(k,z):this.outputPdf(k,z)},le.prototype.outputPdf=function(k,z){var C=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(C).then(function(){return this.prop.pdf.output(k,z)})},le.prototype.outputImg=function(k,z){var C=[function(){return this.prop.img||this.toImg()}];return this.thenList(C).then(function(){switch(k){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+k+'" is not supported.'}})},le.prototype.save=function(k){var z=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(z).set(k?{filename:k}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},le.prototype.set=function(k){if((0,N.objType)(k)!=="object")return this;var z=Object.keys(k||{}).map(function(C){switch(C){case"margin":return this.setMargin.bind(this,k.margin);case"jsPDF":return function(){return this.opt.jsPDF=k.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,k.pageSize);default:return C in le.template.prop?function(){this.prop[C]=k[C]}:function(){this.opt[C]=k[C]}}},this);return this.then(function(){return this.thenList(z)})},le.prototype.get=function(k,z){return this.then(function(){var Y=k in le.template.prop?this.prop[k]:this.opt[k];return z?z(Y):Y})},le.prototype.setMargin=function(k){return this.then(function(){switch((0,N.objType)(k)){case"number":k=[k,k,k,k];case"array":if(k.length===2&&(k=[k[0],k[1],k[0],k[1]]),k.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=k}).then(this.setPageSize)},le.prototype.setPageSize=function(k){return this.then(function(){k=k||we.jsPDF.getPageSize(this.opt.jsPDF),k.hasOwnProperty("inner")||(k.inner={width:k.width-this.opt.margin[1]-this.opt.margin[3],height:k.height-this.opt.margin[0]-this.opt.margin[2]},k.inner.px={width:(0,N.toPx)(k.inner.width,k.k),height:(0,N.toPx)(k.inner.height,k.k)},k.inner.ratio=k.inner.height/k.inner.width),this.prop.pageSize=k})},le.prototype.setProgress=function(k,z,C,Y){return k!=null&&(this.progress.val=k),z!=null&&(this.progress.state=z),C!=null&&(this.progress.n=C),Y!=null&&(this.progress.stack=Y),this.progress.ratio=this.progress.val/this.progress.state,this},le.prototype.updateProgress=function(k,z,C,Y){return this.setProgress(k?this.progress.val+k:null,z||null,C?this.progress.n+C:null,Y?this.progress.stack.concat(Y):null)},le.prototype.then=function(k,z){var C=this;return this.thenCore(k,z,function(He,pe){return C.updateProgress(null,null,1,[He]),ce.prototype.then.call(this,function(ot){return C.updateProgress(null,He),ot}).then(He,pe).then(function(ot){return C.updateProgress(1),ot})})},le.prototype.thenCore=function(k,z,C){C=C||ce.prototype.then;var Y=this;k&&(k=k.bind(Y)),z&&(z=z.bind(Y));var He=ce.toString().indexOf("[native code]")!==-1&&ce.name==="Promise",pe=He?Y:le.convert(Object.assign({},Y),ce.prototype),Ue=C.call(pe,k,z);return le.convert(Ue,Y.__proto__)},le.prototype.thenExternal=function(k,z){return ce.prototype.then.call(this,k,z)},le.prototype.thenList=function(k){var z=this;return k.forEach(function(Y){z=z.thenCore(Y)}),z},le.prototype.catch=function(w){w&&(w=w.bind(this));var k=ce.prototype.catch.call(this,w);return le.convert(k,this)},le.prototype.catchExternal=function(k){return ce.prototype.catch.call(this,k)},le.prototype.error=function(k){return this.then(function(){throw new Error(k)})},le.prototype.using=le.prototype.set,le.prototype.saveAs=le.prototype.save,le.prototype.export=le.prototype.output,le.prototype.run=le.prototype.then,G.default=le},"./node_modules/core-js/internals/a-function.js":function(y){y.exports=function(G){if(typeof G!="function")throw TypeError(String(G)+" is not a function");return G}},"./node_modules/core-js/internals/a-possible-prototype.js":function(y,G,u){var B=u("./node_modules/core-js/internals/is-object.js");y.exports=function(F){if(!B(F)&&F!==null)throw TypeError("Can't set "+String(F)+" as a prototype");return F}},"./node_modules/core-js/internals/add-to-unscopables.js":function(y,G,u){var B=u("./node_modules/core-js/internals/well-known-symbol.js"),F=u("./node_modules/core-js/internals/object-create.js"),K=u("./node_modules/core-js/internals/object-define-property.js"),R=B("unscopables"),X=Array.prototype;X[R]==null&&K.f(X,R,{configurable:!0,value:F(null)}),y.exports=function(M){X[R][M]=!0}},"./node_modules/core-js/internals/an-object.js":function(y,G,u){var B=u("./node_modules/core-js/internals/is-object.js");y.exports=function(F){if(!B(F))throw TypeError(String(F)+" is not an object");return F}},"./node_modules/core-js/internals/array-for-each.js":function(y,G,u){"use strict";var B=u("./node_modules/core-js/internals/array-iteration.js").forEach,F=u("./node_modules/core-js/internals/array-method-is-strict.js"),K=F("forEach");y.exports=K?[].forEach:function(X){return B(this,X,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(y,G,u){var B=u("./node_modules/core-js/internals/to-indexed-object.js"),F=u("./node_modules/core-js/internals/to-length.js"),K=u("./node_modules/core-js/internals/to-absolute-index.js"),R=function(X){return function(M,$,S){var E=B(M),ie=F(E.length),J=K(S,ie),te;if(X&&$!=$){for(;ie>J;)if(te=E[J++],te!=te)return!0}else for(;ie>J;J++)if((X||J in E)&&E[J]===$)return X||J||0;return!X&&-1}};y.exports={includes:R(!0),indexOf:R(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(y,G,u){var B=u("./node_modules/core-js/internals/function-bind-context.js"),F=u("./node_modules/core-js/internals/indexed-object.js"),K=u("./node_modules/core-js/internals/to-object.js"),R=u("./node_modules/core-js/internals/to-length.js"),X=u("./node_modules/core-js/internals/array-species-create.js"),M=[].push,$=function(S){var E=S==1,ie=S==2,J=S==3,te=S==4,$e=S==6,Ne=S==7,Qe=S==5||$e;return function(Ze,we,xe,Q){for(var ye=K(Ze),N=F(ye),I=B(we,xe,3),nt=R(N.length),ce=0,le=Q||X,w=E?le(Ze,nt):ie||Ne?le(Ze,0):void 0,k,z;nt>ce;ce++)if((Qe||ce in N)&&(k=N[ce],z=I(k,ce,ye),S))if(E)w[ce]=z;else if(z)switch(S){case 3:return!0;case 5:return k;case 6:return ce;case 2:M.call(w,k)}else switch(S){case 4:return!1;case 7:M.call(w,k)}return $e?-1:J||te?te:w}};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,G,u){var B=u("./node_modules/core-js/internals/fails.js"),F=u("./node_modules/core-js/internals/well-known-symbol.js"),K=u("./node_modules/core-js/internals/engine-v8-version.js"),R=F("species");y.exports=function(X){return K>=51||!B(function(){var M=[],$=M.constructor={};return $[R]=function(){return{foo:1}},M[X](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(y,G,u){"use strict";var B=u("./node_modules/core-js/internals/fails.js");y.exports=function(F,K){var R=[][F];return!!R&&B(function(){R.call(null,K||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(y,G,u){var B=u("./node_modules/core-js/internals/is-object.js"),F=u("./node_modules/core-js/internals/is-array.js"),K=u("./node_modules/core-js/internals/well-known-symbol.js"),R=K("species");y.exports=function(X){var M;return F(X)&&(M=X.constructor,typeof M=="function"&&(M===Array||F(M.prototype))?M=void 0:B(M)&&(M=M[R],M===null&&(M=void 0))),M===void 0?Array:M}},"./node_modules/core-js/internals/array-species-create.js":function(y,G,u){var B=u("./node_modules/core-js/internals/array-species-constructor.js");y.exports=function(F,K){return new(B(F))(K===0?0:K)}},"./node_modules/core-js/internals/classof-raw.js":function(y){var G={}.toString;y.exports=function(u){return G.call(u).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(y,G,u){var B=u("./node_modules/core-js/internals/to-string-tag-support.js"),F=u("./node_modules/core-js/internals/classof-raw.js"),K=u("./node_modules/core-js/internals/well-known-symbol.js"),R=K("toStringTag"),X=F(function(){return arguments}())=="Arguments",M=function($,S){try{return $[S]}catch(E){}};y.exports=B?F:function($){var S,E,ie;return $===void 0?"Undefined":$===null?"Null":typeof(E=M(S=Object($),R))=="string"?E:X?F(S):(ie=F(S))=="Object"&&typeof S.callee=="function"?"Arguments":ie}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(y,G,u){var B=u("./node_modules/core-js/internals/has.js"),F=u("./node_modules/core-js/internals/own-keys.js"),K=u("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),R=u("./node_modules/core-js/internals/object-define-property.js");y.exports=function(X,M){for(var $=F(M),S=R.f,E=K.f,ie=0;ie<$.length;ie++){var J=$[ie];B(X,J)||S(X,J,E(M,J))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(y,G,u){var B=u("./node_modules/core-js/internals/fails.js");y.exports=!B(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})},"./node_modules/core-js/internals/create-html.js":function(y,G,u){var B=u("./node_modules/core-js/internals/require-object-coercible.js"),F=u("./node_modules/core-js/internals/to-string.js"),K=/"/g;y.exports=function(R,X,M,$){var S=F(B(R)),E="<"+X;return M!==""&&(E+=" "+M+'="'+F($).replace(K,""")+'"'),E+">"+S+"</"+X+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(y,G,u){"use strict";var B=u("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,F=u("./node_modules/core-js/internals/object-create.js"),K=u("./node_modules/core-js/internals/create-property-descriptor.js"),R=u("./node_modules/core-js/internals/set-to-string-tag.js"),X=u("./node_modules/core-js/internals/iterators.js"),M=function(){return this};y.exports=function($,S,E){var ie=S+" Iterator";return $.prototype=F(B,{next:K(1,E)}),R($,ie,!1,!0),X[ie]=M,$}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(y,G,u){var B=u("./node_modules/core-js/internals/descriptors.js"),F=u("./node_modules/core-js/internals/object-define-property.js"),K=u("./node_modules/core-js/internals/create-property-descriptor.js");y.exports=B?function(R,X,M){return F.f(R,X,K(1,M))}:function(R,X,M){return R[X]=M,R}},"./node_modules/core-js/internals/create-property-descriptor.js":function(y){y.exports=function(G,u){return{enumerable:!(G&1),configurable:!(G&2),writable:!(G&4),value:u}}},"./node_modules/core-js/internals/create-property.js":function(y,G,u){"use strict";var B=u("./node_modules/core-js/internals/to-property-key.js"),F=u("./node_modules/core-js/internals/object-define-property.js"),K=u("./node_modules/core-js/internals/create-property-descriptor.js");y.exports=function(R,X,M){var $=B(X);$ in R?F.f(R,$,K(0,M)):R[$]=M}},"./node_modules/core-js/internals/define-iterator.js":function(y,G,u){"use strict";var B=u("./node_modules/core-js/internals/export.js"),F=u("./node_modules/core-js/internals/create-iterator-constructor.js"),K=u("./node_modules/core-js/internals/object-get-prototype-of.js"),R=u("./node_modules/core-js/internals/object-set-prototype-of.js"),X=u("./node_modules/core-js/internals/set-to-string-tag.js"),M=u("./node_modules/core-js/internals/create-non-enumerable-property.js"),$=u("./node_modules/core-js/internals/redefine.js"),S=u("./node_modules/core-js/internals/well-known-symbol.js"),E=u("./node_modules/core-js/internals/is-pure.js"),ie=u("./node_modules/core-js/internals/iterators.js"),J=u("./node_modules/core-js/internals/iterators-core.js"),te=J.IteratorPrototype,$e=J.BUGGY_SAFARI_ITERATORS,Ne=S("iterator"),Qe="keys",Ze="values",we="entries",xe=function(){return this};y.exports=function(Q,ye,N,I,nt,ce,le){F(N,ye,I);var w=function(ue){if(ue===nt&&He)return He;if(!$e&&ue in C)return C[ue];switch(ue){case Qe:return function(){return new N(this,ue)};case Ze:return function(){return new N(this,ue)};case we:return function(){return new N(this,ue)}}return function(){return new N(this)}},k=ye+" Iterator",z=!1,C=Q.prototype,Y=C[Ne]||C["@@iterator"]||nt&&C[nt],He=!$e&&Y||w(nt),pe=ye=="Array"&&C.entries||Y,Ue,ot,ct;if(pe&&(Ue=K(pe.call(new Q)),te!==Object.prototype&&Ue.next&&(!E&&K(Ue)!==te&&(R?R(Ue,te):typeof Ue[Ne]!="function"&&M(Ue,Ne,xe)),X(Ue,k,!0,!0),E&&(ie[k]=xe))),nt==Ze&&Y&&Y.name!==Ze&&(z=!0,He=function(){return Y.call(this)}),(!E||le)&&C[Ne]!==He&&M(C,Ne,He),ie[ye]=He,nt)if(ot={values:w(Ze),keys:ce?He:w(Qe),entries:w(we)},le)for(ct in ot)($e||z||!(ct in C))&&$(C,ct,ot[ct]);else B({target:ye,proto:!0,forced:$e||z},ot);return ot}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(y,G,u){var B=u("./node_modules/core-js/internals/path.js"),F=u("./node_modules/core-js/internals/has.js"),K=u("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),R=u("./node_modules/core-js/internals/object-define-property.js").f;y.exports=function(X){var M=B.Symbol||(B.Symbol={});F(M,X)||R(M,X,{value:K.f(X)})}},"./node_modules/core-js/internals/descriptors.js":function(y,G,u){var B=u("./node_modules/core-js/internals/fails.js");y.exports=!B(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(y,G,u){var B=u("./node_modules/core-js/internals/global.js"),F=u("./node_modules/core-js/internals/is-object.js"),K=B.document,R=F(K)&&F(K.createElement);y.exports=function(X){return R?K.createElement(X):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(y){y.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(y,G,u){var B=u("./node_modules/core-js/internals/get-built-in.js");y.exports=B("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(y,G,u){var B=u("./node_modules/core-js/internals/global.js"),F=u("./node_modules/core-js/internals/engine-user-agent.js"),K=B.process,R=B.Deno,X=K&&K.versions||R&&R.version,M=X&&X.v8,$,S;M?($=M.split("."),S=$[0]<4?1:$[0]+$[1]):F&&($=F.match(/Edge\/(\d+)/),(!$||$[1]>=74)&&($=F.match(/Chrome\/(\d+)/),$&&(S=$[1]))),y.exports=S&&+S},"./node_modules/core-js/internals/enum-bug-keys.js":function(y){y.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(y,G,u){var B=u("./node_modules/core-js/internals/global.js"),F=u("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,K=u("./node_modules/core-js/internals/create-non-enumerable-property.js"),R=u("./node_modules/core-js/internals/redefine.js"),X=u("./node_modules/core-js/internals/set-global.js"),M=u("./node_modules/core-js/internals/copy-constructor-properties.js"),$=u("./node_modules/core-js/internals/is-forced.js");y.exports=function(S,E){var ie=S.target,J=S.global,te=S.stat,$e,Ne,Qe,Ze,we,xe;if(J?Ne=B:te?Ne=B[ie]||X(ie,{}):Ne=(B[ie]||{}).prototype,Ne)for(Qe in E){if(we=E[Qe],S.noTargetGet?(xe=F(Ne,Qe),Ze=xe&&xe.value):Ze=Ne[Qe],$e=$(J?Qe:ie+(te?".":"#")+Qe,S.forced),!$e&&Ze!==void 0){if(typeof we==typeof Ze)continue;M(we,Ze)}(S.sham||Ze&&Ze.sham)&&K(we,"sham",!0),R(Ne,Qe,we,S)}}},"./node_modules/core-js/internals/fails.js":function(y){y.exports=function(G){try{return!!G()}catch(u){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(y,G,u){var B=u("./node_modules/core-js/internals/a-function.js");y.exports=function(F,K,R){if(B(F),K===void 0)return F;switch(R){case 0:return function(){return F.call(K)};case 1:return function(X){return F.call(K,X)};case 2:return function(X,M){return F.call(K,X,M)};case 3:return function(X,M,$){return F.call(K,X,M,$)}}return function(){return F.apply(K,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(y,G,u){var B=u("./node_modules/core-js/internals/global.js"),F=function(K){return typeof K=="function"?K:void 0};y.exports=function(K,R){return arguments.length<2?F(B[K]):B[K]&&B[K][R]}},"./node_modules/core-js/internals/global.js":function(y){var G=function(u){return u&&u.Math==Math&&u};y.exports=G(typeof globalThis=="object"&&globalThis)||G(typeof window=="object"&&window)||G(typeof self=="object"&&self)||G(typeof n.g=="object"&&n.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(y,G,u){var B=u("./node_modules/core-js/internals/to-object.js"),F={}.hasOwnProperty;y.exports=Object.hasOwn||function(R,X){return F.call(B(R),X)}},"./node_modules/core-js/internals/hidden-keys.js":function(y){y.exports={}},"./node_modules/core-js/internals/html.js":function(y,G,u){var B=u("./node_modules/core-js/internals/get-built-in.js");y.exports=B("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(y,G,u){var B=u("./node_modules/core-js/internals/descriptors.js"),F=u("./node_modules/core-js/internals/fails.js"),K=u("./node_modules/core-js/internals/document-create-element.js");y.exports=!B&&!F(function(){return Object.defineProperty(K("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(y,G,u){var B=u("./node_modules/core-js/internals/fails.js"),F=u("./node_modules/core-js/internals/classof-raw.js"),K="".split;y.exports=B(function(){return!Object("z").propertyIsEnumerable(0)})?function(R){return F(R)=="String"?K.call(R,""):Object(R)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(y,G,u){var B=u("./node_modules/core-js/internals/is-object.js"),F=u("./node_modules/core-js/internals/object-set-prototype-of.js");y.exports=function(K,R,X){var M,$;return F&&typeof(M=R.constructor)=="function"&&M!==X&&B($=M.prototype)&&$!==X.prototype&&F(K,$),K}},"./node_modules/core-js/internals/inspect-source.js":function(y,G,u){var B=u("./node_modules/core-js/internals/shared-store.js"),F=Function.toString;typeof B.inspectSource!="function"&&(B.inspectSource=function(K){return F.call(K)}),y.exports=B.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(y,G,u){var B=u("./node_modules/core-js/internals/native-weak-map.js"),F=u("./node_modules/core-js/internals/global.js"),K=u("./node_modules/core-js/internals/is-object.js"),R=u("./node_modules/core-js/internals/create-non-enumerable-property.js"),X=u("./node_modules/core-js/internals/has.js"),M=u("./node_modules/core-js/internals/shared-store.js"),$=u("./node_modules/core-js/internals/shared-key.js"),S=u("./node_modules/core-js/internals/hidden-keys.js"),E="Object already initialized",ie=F.WeakMap,J,te,$e,Ne=function(N){return $e(N)?te(N):J(N,{})},Qe=function(N){return function(I){var nt;if(!K(I)||(nt=te(I)).type!==N)throw TypeError("Incompatible receiver, "+N+" required");return nt}};if(B||M.state){var Ze=M.state||(M.state=new ie),we=Ze.get,xe=Ze.has,Q=Ze.set;J=function(N,I){if(xe.call(Ze,N))throw new TypeError(E);return I.facade=N,Q.call(Ze,N,I),I},te=function(N){return we.call(Ze,N)||{}},$e=function(N){return xe.call(Ze,N)}}else{var ye=$("state");S[ye]=!0,J=function(N,I){if(X(N,ye))throw new TypeError(E);return I.facade=N,R(N,ye,I),I},te=function(N){return X(N,ye)?N[ye]:{}},$e=function(N){return X(N,ye)}}y.exports={set:J,get:te,has:$e,enforce:Ne,getterFor:Qe}},"./node_modules/core-js/internals/is-array.js":function(y,G,u){var B=u("./node_modules/core-js/internals/classof-raw.js");y.exports=Array.isArray||function(K){return B(K)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(y,G,u){var B=u("./node_modules/core-js/internals/fails.js"),F=/#|\.prototype\./,K=function(S,E){var ie=X[R(S)];return ie==$?!0:ie==M?!1:typeof E=="function"?B(E):!!E},R=K.normalize=function(S){return String(S).replace(F,".").toLowerCase()},X=K.data={},M=K.NATIVE="N",$=K.POLYFILL="P";y.exports=K},"./node_modules/core-js/internals/is-object.js":function(y){y.exports=function(G){return typeof G=="object"?G!==null:typeof G=="function"}},"./node_modules/core-js/internals/is-pure.js":function(y){y.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(y,G,u){var B=u("./node_modules/core-js/internals/get-built-in.js"),F=u("./node_modules/core-js/internals/use-symbol-as-uid.js");y.exports=F?function(K){return typeof K=="symbol"}:function(K){var R=B("Symbol");return typeof R=="function"&&Object(K)instanceof R}},"./node_modules/core-js/internals/iterators-core.js":function(y,G,u){"use strict";var B=u("./node_modules/core-js/internals/fails.js"),F=u("./node_modules/core-js/internals/object-get-prototype-of.js"),K=u("./node_modules/core-js/internals/create-non-enumerable-property.js"),R=u("./node_modules/core-js/internals/has.js"),X=u("./node_modules/core-js/internals/well-known-symbol.js"),M=u("./node_modules/core-js/internals/is-pure.js"),$=X("iterator"),S=!1,E=function(){return this},ie,J,te;[].keys&&(te=[].keys(),"next"in te?(J=F(F(te)),J!==Object.prototype&&(ie=J)):S=!0);var $e=ie==null||B(function(){var Ne={};return ie[$].call(Ne)!==Ne});$e&&(ie={}),(!M||$e)&&!R(ie,$)&&K(ie,$,E),y.exports={IteratorPrototype:ie,BUGGY_SAFARI_ITERATORS:S}},"./node_modules/core-js/internals/iterators.js":function(y){y.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(y,G,u){var B=u("./node_modules/core-js/internals/engine-v8-version.js"),F=u("./node_modules/core-js/internals/fails.js");y.exports=!!Object.getOwnPropertySymbols&&!F(function(){var K=Symbol();return!String(K)||!(Object(K)instanceof Symbol)||!Symbol.sham&&B&&B<41})},"./node_modules/core-js/internals/native-weak-map.js":function(y,G,u){var B=u("./node_modules/core-js/internals/global.js"),F=u("./node_modules/core-js/internals/inspect-source.js"),K=B.WeakMap;y.exports=typeof K=="function"&&/native code/.test(F(K))},"./node_modules/core-js/internals/object-assign.js":function(y,G,u){"use strict";var B=u("./node_modules/core-js/internals/descriptors.js"),F=u("./node_modules/core-js/internals/fails.js"),K=u("./node_modules/core-js/internals/object-keys.js"),R=u("./node_modules/core-js/internals/object-get-own-property-symbols.js"),X=u("./node_modules/core-js/internals/object-property-is-enumerable.js"),M=u("./node_modules/core-js/internals/to-object.js"),$=u("./node_modules/core-js/internals/indexed-object.js"),S=Object.assign,E=Object.defineProperty;y.exports=!S||F(function(){if(B&&S({b:1},S(E({},"a",{enumerable:!0,get:function(){E(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var ie={},J={},te=Symbol(),$e="abcdefghijklmnopqrst";return ie[te]=7,$e.split("").forEach(function(Ne){J[Ne]=Ne}),S({},ie)[te]!=7||K(S({},J)).join("")!=$e})?function(J,te){for(var $e=M(J),Ne=arguments.length,Qe=1,Ze=R.f,we=X.f;Ne>Qe;)for(var xe=$(arguments[Qe++]),Q=Ze?K(xe).concat(Ze(xe)):K(xe),ye=Q.length,N=0,I;ye>N;)I=Q[N++],(!B||we.call(xe,I))&&($e[I]=xe[I]);return $e}:S},"./node_modules/core-js/internals/object-create.js":function(y,G,u){var B=u("./node_modules/core-js/internals/an-object.js"),F=u("./node_modules/core-js/internals/object-define-properties.js"),K=u("./node_modules/core-js/internals/enum-bug-keys.js"),R=u("./node_modules/core-js/internals/hidden-keys.js"),X=u("./node_modules/core-js/internals/html.js"),M=u("./node_modules/core-js/internals/document-create-element.js"),$=u("./node_modules/core-js/internals/shared-key.js"),S=">",E="<",ie="prototype",J="script",te=$("IE_PROTO"),$e=function(){},Ne=function(Q){return E+J+S+Q+E+"/"+J+S},Qe=function(Q){Q.write(Ne("")),Q.close();var ye=Q.parentWindow.Object;return Q=null,ye},Ze=function(){var Q=M("iframe"),ye="java"+J+":",N;if(Q.style)return Q.style.display="none",X.appendChild(Q),Q.src=String(ye),N=Q.contentWindow.document,N.open(),N.write(Ne("document.F=Object")),N.close(),N.F},we,xe=function(){try{we=new ActiveXObject("htmlfile")}catch(ye){}xe=document.domain&&we?Qe(we):Ze()||Qe(we);for(var Q=K.length;Q--;)delete xe[ie][K[Q]];return xe()};R[te]=!0,y.exports=Object.create||function(ye,N){var I;return ye!==null?($e[ie]=B(ye),I=new $e,$e[ie]=null,I[te]=ye):I=xe(),N===void 0?I:F(I,N)}},"./node_modules/core-js/internals/object-define-properties.js":function(y,G,u){var B=u("./node_modules/core-js/internals/descriptors.js"),F=u("./node_modules/core-js/internals/object-define-property.js"),K=u("./node_modules/core-js/internals/an-object.js"),R=u("./node_modules/core-js/internals/object-keys.js");y.exports=B?Object.defineProperties:function(M,$){K(M);for(var S=R($),E=S.length,ie=0,J;E>ie;)F.f(M,J=S[ie++],$[J]);return M}},"./node_modules/core-js/internals/object-define-property.js":function(y,G,u){var B=u("./node_modules/core-js/internals/descriptors.js"),F=u("./node_modules/core-js/internals/ie8-dom-define.js"),K=u("./node_modules/core-js/internals/an-object.js"),R=u("./node_modules/core-js/internals/to-property-key.js"),X=Object.defineProperty;G.f=B?X:function($,S,E){if(K($),S=R(S),K(E),F)try{return X($,S,E)}catch(ie){}if("get"in E||"set"in E)throw TypeError("Accessors not supported");return"value"in E&&($[S]=E.value),$}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(y,G,u){var B=u("./node_modules/core-js/internals/descriptors.js"),F=u("./node_modules/core-js/internals/object-property-is-enumerable.js"),K=u("./node_modules/core-js/internals/create-property-descriptor.js"),R=u("./node_modules/core-js/internals/to-indexed-object.js"),X=u("./node_modules/core-js/internals/to-property-key.js"),M=u("./node_modules/core-js/internals/has.js"),$=u("./node_modules/core-js/internals/ie8-dom-define.js"),S=Object.getOwnPropertyDescriptor;G.f=B?S:function(ie,J){if(ie=R(ie),J=X(J),$)try{return S(ie,J)}catch(te){}if(M(ie,J))return K(!F.f.call(ie,J),ie[J])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(y,G,u){var B=u("./node_modules/core-js/internals/to-indexed-object.js"),F=u("./node_modules/core-js/internals/object-get-own-property-names.js").f,K={}.toString,R=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],X=function(M){try{return F(M)}catch($){return R.slice()}};y.exports.f=function($){return R&&K.call($)=="[object Window]"?X($):F(B($))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(y,G,u){var B=u("./node_modules/core-js/internals/object-keys-internal.js"),F=u("./node_modules/core-js/internals/enum-bug-keys.js"),K=F.concat("length","prototype");G.f=Object.getOwnPropertyNames||function(X){return B(X,K)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(y,G){G.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(y,G,u){var B=u("./node_modules/core-js/internals/has.js"),F=u("./node_modules/core-js/internals/to-object.js"),K=u("./node_modules/core-js/internals/shared-key.js"),R=u("./node_modules/core-js/internals/correct-prototype-getter.js"),X=K("IE_PROTO"),M=Object.prototype;y.exports=R?Object.getPrototypeOf:function($){return $=F($),B($,X)?$[X]:typeof $.constructor=="function"&&$ instanceof $.constructor?$.constructor.prototype:$ instanceof Object?M:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(y,G,u){var B=u("./node_modules/core-js/internals/has.js"),F=u("./node_modules/core-js/internals/to-indexed-object.js"),K=u("./node_modules/core-js/internals/array-includes.js").indexOf,R=u("./node_modules/core-js/internals/hidden-keys.js");y.exports=function(X,M){var $=F(X),S=0,E=[],ie;for(ie in $)!B(R,ie)&&B($,ie)&&E.push(ie);for(;M.length>S;)B($,ie=M[S++])&&(~K(E,ie)||E.push(ie));return E}},"./node_modules/core-js/internals/object-keys.js":function(y,G,u){var B=u("./node_modules/core-js/internals/object-keys-internal.js"),F=u("./node_modules/core-js/internals/enum-bug-keys.js");y.exports=Object.keys||function(R){return B(R,F)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(y,G){"use strict";var u={}.propertyIsEnumerable,B=Object.getOwnPropertyDescriptor,F=B&&!u.call({1:2},1);G.f=F?function(R){var X=B(this,R);return!!X&&X.enumerable}:u},"./node_modules/core-js/internals/object-set-prototype-of.js":function(y,G,u){var B=u("./node_modules/core-js/internals/an-object.js"),F=u("./node_modules/core-js/internals/a-possible-prototype.js");y.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var K=!1,R={},X;try{X=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,X.call(R,[]),K=R instanceof Array}catch(M){}return function($,S){return B($),F(S),K?X.call($,S):$.__proto__=S,$}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(y,G,u){"use strict";var B=u("./node_modules/core-js/internals/to-string-tag-support.js"),F=u("./node_modules/core-js/internals/classof.js");y.exports=B?{}.toString:function(){return"[object "+F(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(y,G,u){var B=u("./node_modules/core-js/internals/is-object.js");y.exports=function(F,K){var R,X;if(K==="string"&&typeof(R=F.toString)=="function"&&!B(X=R.call(F))||typeof(R=F.valueOf)=="function"&&!B(X=R.call(F))||K!=="string"&&typeof(R=F.toString)=="function"&&!B(X=R.call(F)))return X;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(y,G,u){var B=u("./node_modules/core-js/internals/get-built-in.js"),F=u("./node_modules/core-js/internals/object-get-own-property-names.js"),K=u("./node_modules/core-js/internals/object-get-own-property-symbols.js"),R=u("./node_modules/core-js/internals/an-object.js");y.exports=B("Reflect","ownKeys")||function(M){var $=F.f(R(M)),S=K.f;return S?$.concat(S(M)):$}},"./node_modules/core-js/internals/path.js":function(y,G,u){var B=u("./node_modules/core-js/internals/global.js");y.exports=B},"./node_modules/core-js/internals/redefine.js":function(y,G,u){var B=u("./node_modules/core-js/internals/global.js"),F=u("./node_modules/core-js/internals/create-non-enumerable-property.js"),K=u("./node_modules/core-js/internals/has.js"),R=u("./node_modules/core-js/internals/set-global.js"),X=u("./node_modules/core-js/internals/inspect-source.js"),M=u("./node_modules/core-js/internals/internal-state.js"),$=M.get,S=M.enforce,E=String(String).split("String");(y.exports=function(ie,J,te,$e){var Ne=$e?!!$e.unsafe:!1,Qe=$e?!!$e.enumerable:!1,Ze=$e?!!$e.noTargetGet:!1,we;if(typeof te=="function"&&(typeof J=="string"&&!K(te,"name")&&F(te,"name",J),we=S(te),we.source||(we.source=E.join(typeof J=="string"?J:""))),ie===B){Qe?ie[J]=te:R(J,te);return}else Ne?!Ze&&ie[J]&&(Qe=!0):delete ie[J];Qe?ie[J]=te:F(ie,J,te)})(Function.prototype,"toString",function(){return typeof this=="function"&&$(this).source||X(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(y,G,u){"use strict";var B=u("./node_modules/core-js/internals/an-object.js");y.exports=function(){var F=B(this),K="";return F.global&&(K+="g"),F.ignoreCase&&(K+="i"),F.multiline&&(K+="m"),F.dotAll&&(K+="s"),F.unicode&&(K+="u"),F.sticky&&(K+="y"),K}},"./node_modules/core-js/internals/require-object-coercible.js":function(y){y.exports=function(G){if(G==null)throw TypeError("Can't call method on "+G);return G}},"./node_modules/core-js/internals/set-global.js":function(y,G,u){var B=u("./node_modules/core-js/internals/global.js");y.exports=function(F,K){try{Object.defineProperty(B,F,{value:K,configurable:!0,writable:!0})}catch(R){B[F]=K}return K}},"./node_modules/core-js/internals/set-to-string-tag.js":function(y,G,u){var B=u("./node_modules/core-js/internals/object-define-property.js").f,F=u("./node_modules/core-js/internals/has.js"),K=u("./node_modules/core-js/internals/well-known-symbol.js"),R=K("toStringTag");y.exports=function(X,M,$){X&&!F(X=$?X:X.prototype,R)&&B(X,R,{configurable:!0,value:M})}},"./node_modules/core-js/internals/shared-key.js":function(y,G,u){var B=u("./node_modules/core-js/internals/shared.js"),F=u("./node_modules/core-js/internals/uid.js"),K=B("keys");y.exports=function(R){return K[R]||(K[R]=F(R))}},"./node_modules/core-js/internals/shared-store.js":function(y,G,u){var B=u("./node_modules/core-js/internals/global.js"),F=u("./node_modules/core-js/internals/set-global.js"),K="__core-js_shared__",R=B[K]||F(K,{});y.exports=R},"./node_modules/core-js/internals/shared.js":function(y,G,u){var B=u("./node_modules/core-js/internals/is-pure.js"),F=u("./node_modules/core-js/internals/shared-store.js");(y.exports=function(K,R){return F[K]||(F[K]=R!==void 0?R:{})})("versions",[]).push({version:"3.16.0",mode:B?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(y,G,u){var B=u("./node_modules/core-js/internals/fails.js");y.exports=function(F){return B(function(){var K=""[F]('"');return K!==K.toLowerCase()||K.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(y,G,u){var B=u("./node_modules/core-js/internals/to-integer.js"),F=u("./node_modules/core-js/internals/to-string.js"),K=u("./node_modules/core-js/internals/require-object-coercible.js"),R=function(X){return function(M,$){var S=F(K(M)),E=B($),ie=S.length,J,te;return E<0||E>=ie?X?"":void 0:(J=S.charCodeAt(E),J<55296||J>56319||E+1===ie||(te=S.charCodeAt(E+1))<56320||te>57343?X?S.charAt(E):J:X?S.slice(E,E+2):(J-55296<<10)+(te-56320)+65536)}};y.exports={codeAt:R(!1),charAt:R(!0)}},"./node_modules/core-js/internals/string-trim.js":function(y,G,u){var B=u("./node_modules/core-js/internals/require-object-coercible.js"),F=u("./node_modules/core-js/internals/to-string.js"),K=u("./node_modules/core-js/internals/whitespaces.js"),R="["+K+"]",X=RegExp("^"+R+R+"*"),M=RegExp(R+R+"*$"),$=function(S){return function(E){var ie=F(B(E));return S&1&&(ie=ie.replace(X,"")),S&2&&(ie=ie.replace(M,"")),ie}};y.exports={start:$(1),end:$(2),trim:$(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(y,G,u){var B=u("./node_modules/core-js/internals/to-integer.js"),F=Math.max,K=Math.min;y.exports=function(R,X){var M=B(R);return M<0?F(M+X,0):K(M,X)}},"./node_modules/core-js/internals/to-indexed-object.js":function(y,G,u){var B=u("./node_modules/core-js/internals/indexed-object.js"),F=u("./node_modules/core-js/internals/require-object-coercible.js");y.exports=function(K){return B(F(K))}},"./node_modules/core-js/internals/to-integer.js":function(y){var G=Math.ceil,u=Math.floor;y.exports=function(B){return isNaN(B=+B)?0:(B>0?u:G)(B)}},"./node_modules/core-js/internals/to-length.js":function(y,G,u){var B=u("./node_modules/core-js/internals/to-integer.js"),F=Math.min;y.exports=function(K){return K>0?F(B(K),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(y,G,u){var B=u("./node_modules/core-js/internals/require-object-coercible.js");y.exports=function(F){return Object(B(F))}},"./node_modules/core-js/internals/to-primitive.js":function(y,G,u){var B=u("./node_modules/core-js/internals/is-object.js"),F=u("./node_modules/core-js/internals/is-symbol.js"),K=u("./node_modules/core-js/internals/ordinary-to-primitive.js"),R=u("./node_modules/core-js/internals/well-known-symbol.js"),X=R("toPrimitive");y.exports=function(M,$){if(!B(M)||F(M))return M;var S=M[X],E;if(S!==void 0){if($===void 0&&($="default"),E=S.call(M,$),!B(E)||F(E))return E;throw TypeError("Can't convert object to primitive value")}return $===void 0&&($="number"),K(M,$)}},"./node_modules/core-js/internals/to-property-key.js":function(y,G,u){var B=u("./node_modules/core-js/internals/to-primitive.js"),F=u("./node_modules/core-js/internals/is-symbol.js");y.exports=function(K){var R=B(K,"string");return F(R)?R:String(R)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(y,G,u){var B=u("./node_modules/core-js/internals/well-known-symbol.js"),F=B("toStringTag"),K={};K[F]="z",y.exports=String(K)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(y,G,u){var B=u("./node_modules/core-js/internals/is-symbol.js");y.exports=function(F){if(B(F))throw TypeError("Cannot convert a Symbol value to a string");return String(F)}},"./node_modules/core-js/internals/uid.js":function(y){var G=0,u=Math.random();y.exports=function(B){return"Symbol("+String(B===void 0?"":B)+")_"+(++G+u).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(y,G,u){var B=u("./node_modules/core-js/internals/native-symbol.js");y.exports=B&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(y,G,u){var B=u("./node_modules/core-js/internals/well-known-symbol.js");G.f=B},"./node_modules/core-js/internals/well-known-symbol.js":function(y,G,u){var B=u("./node_modules/core-js/internals/global.js"),F=u("./node_modules/core-js/internals/shared.js"),K=u("./node_modules/core-js/internals/has.js"),R=u("./node_modules/core-js/internals/uid.js"),X=u("./node_modules/core-js/internals/native-symbol.js"),M=u("./node_modules/core-js/internals/use-symbol-as-uid.js"),$=F("wks"),S=B.Symbol,E=M?S:S&&S.withoutSetter||R;y.exports=function(ie){return(!K($,ie)||!(X||typeof $[ie]=="string"))&&(X&&K(S,ie)?$[ie]=S[ie]:$[ie]=E("Symbol."+ie)),$[ie]}},"./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,G,u){"use strict";var B=u("./node_modules/core-js/internals/export.js"),F=u("./node_modules/core-js/internals/fails.js"),K=u("./node_modules/core-js/internals/is-array.js"),R=u("./node_modules/core-js/internals/is-object.js"),X=u("./node_modules/core-js/internals/to-object.js"),M=u("./node_modules/core-js/internals/to-length.js"),$=u("./node_modules/core-js/internals/create-property.js"),S=u("./node_modules/core-js/internals/array-species-create.js"),E=u("./node_modules/core-js/internals/array-method-has-species-support.js"),ie=u("./node_modules/core-js/internals/well-known-symbol.js"),J=u("./node_modules/core-js/internals/engine-v8-version.js"),te=ie("isConcatSpreadable"),$e=9007199254740991,Ne="Maximum allowed index exceeded",Qe=J>=51||!F(function(){var Q=[];return Q[te]=!1,Q.concat()[0]!==Q}),Ze=E("concat"),we=function(Q){if(!R(Q))return!1;var ye=Q[te];return ye!==void 0?!!ye:K(Q)},xe=!Qe||!Ze;B({target:"Array",proto:!0,forced:xe},{concat:function(ye){var N=X(this),I=S(N,0),nt=0,ce,le,w,k,z;for(ce=-1,w=arguments.length;ce<w;ce++)if(z=ce===-1?N:arguments[ce],we(z)){if(k=M(z.length),nt+k>$e)throw TypeError(Ne);for(le=0;le<k;le++,nt++)le in z&&$(I,nt,z[le])}else{if(nt>=$e)throw TypeError(Ne);$(I,nt++,z)}return I.length=nt,I}})},"./node_modules/core-js/modules/es.array.iterator.js":function(y,G,u){"use strict";var B=u("./node_modules/core-js/internals/to-indexed-object.js"),F=u("./node_modules/core-js/internals/add-to-unscopables.js"),K=u("./node_modules/core-js/internals/iterators.js"),R=u("./node_modules/core-js/internals/internal-state.js"),X=u("./node_modules/core-js/internals/define-iterator.js"),M="Array Iterator",$=R.set,S=R.getterFor(M);y.exports=X(Array,"Array",function(E,ie){$(this,{type:M,target:B(E),index:0,kind:ie})},function(){var E=S(this),ie=E.target,J=E.kind,te=E.index++;return!ie||te>=ie.length?(E.target=void 0,{value:void 0,done:!0}):J=="keys"?{value:te,done:!1}:J=="values"?{value:ie[te],done:!1}:{value:[te,ie[te]],done:!1}},"values"),K.Arguments=K.Array,F("keys"),F("values"),F("entries")},"./node_modules/core-js/modules/es.array.join.js":function(y,G,u){"use strict";var B=u("./node_modules/core-js/internals/export.js"),F=u("./node_modules/core-js/internals/indexed-object.js"),K=u("./node_modules/core-js/internals/to-indexed-object.js"),R=u("./node_modules/core-js/internals/array-method-is-strict.js"),X=[].join,M=F!=Object,$=R("join",",");B({target:"Array",proto:!0,forced:M||!$},{join:function(E){return X.call(K(this),E===void 0?",":E)}})},"./node_modules/core-js/modules/es.array.map.js":function(y,G,u){"use strict";var B=u("./node_modules/core-js/internals/export.js"),F=u("./node_modules/core-js/internals/array-iteration.js").map,K=u("./node_modules/core-js/internals/array-method-has-species-support.js"),R=K("map");B({target:"Array",proto:!0,forced:!R},{map:function(M){return F(this,M,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(y,G,u){"use strict";var B=u("./node_modules/core-js/internals/export.js"),F=u("./node_modules/core-js/internals/is-object.js"),K=u("./node_modules/core-js/internals/is-array.js"),R=u("./node_modules/core-js/internals/to-absolute-index.js"),X=u("./node_modules/core-js/internals/to-length.js"),M=u("./node_modules/core-js/internals/to-indexed-object.js"),$=u("./node_modules/core-js/internals/create-property.js"),S=u("./node_modules/core-js/internals/well-known-symbol.js"),E=u("./node_modules/core-js/internals/array-method-has-species-support.js"),ie=E("slice"),J=S("species"),te=[].slice,$e=Math.max;B({target:"Array",proto:!0,forced:!ie},{slice:function(Qe,Ze){var we=M(this),xe=X(we.length),Q=R(Qe,xe),ye=R(Ze===void 0?xe:Ze,xe),N,I,nt;if(K(we)&&(N=we.constructor,typeof N=="function"&&(N===Array||K(N.prototype))?N=void 0:F(N)&&(N=N[J],N===null&&(N=void 0)),N===Array||N===void 0))return te.call(we,Q,ye);for(I=new(N===void 0?Array:N)($e(ye-Q,0)),nt=0;Q<ye;Q++,nt++)Q in we&&$(I,nt,we[Q]);return I.length=nt,I}})},"./node_modules/core-js/modules/es.function.name.js":function(y,G,u){var B=u("./node_modules/core-js/internals/descriptors.js"),F=u("./node_modules/core-js/internals/object-define-property.js").f,K=Function.prototype,R=K.toString,X=/^\s*function ([^ (]*)/,M="name";B&&!(M in K)&&F(K,M,{configurable:!0,get:function(){try{return R.call(this).match(X)[1]}catch($){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(y,G,u){"use strict";var B=u("./node_modules/core-js/internals/descriptors.js"),F=u("./node_modules/core-js/internals/global.js"),K=u("./node_modules/core-js/internals/is-forced.js"),R=u("./node_modules/core-js/internals/redefine.js"),X=u("./node_modules/core-js/internals/has.js"),M=u("./node_modules/core-js/internals/classof-raw.js"),$=u("./node_modules/core-js/internals/inherit-if-required.js"),S=u("./node_modules/core-js/internals/is-symbol.js"),E=u("./node_modules/core-js/internals/to-primitive.js"),ie=u("./node_modules/core-js/internals/fails.js"),J=u("./node_modules/core-js/internals/object-create.js"),te=u("./node_modules/core-js/internals/object-get-own-property-names.js").f,$e=u("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Ne=u("./node_modules/core-js/internals/object-define-property.js").f,Qe=u("./node_modules/core-js/internals/string-trim.js").trim,Ze="Number",we=F[Ze],xe=we.prototype,Q=M(J(xe))==Ze,ye=function(le){if(S(le))throw TypeError("Cannot convert a Symbol value to a number");var w=E(le,"number"),k,z,C,Y,He,pe,Ue,ot;if(typeof w=="string"&&w.length>2){if(w=Qe(w),k=w.charCodeAt(0),k===43||k===45){if(z=w.charCodeAt(2),z===88||z===120)return NaN}else if(k===48){switch(w.charCodeAt(1)){case 66:case 98:C=2,Y=49;break;case 79:case 111:C=8,Y=55;break;default:return+w}for(He=w.slice(2),pe=He.length,Ue=0;Ue<pe;Ue++)if(ot=He.charCodeAt(Ue),ot<48||ot>Y)return NaN;return parseInt(He,C)}}return+w};if(K(Ze,!we(" 0o1")||!we("0b1")||we("+0x1"))){for(var N=function(w){var k=arguments.length<1?0:w,z=this;return z instanceof N&&(Q?ie(function(){xe.valueOf.call(z)}):M(z)!=Ze)?$(new we(ye(k)),z,N):ye(k)},I=B?te(we):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),nt=0,ce;I.length>nt;nt++)X(we,ce=I[nt])&&!X(N,ce)&&Ne(N,ce,$e(we,ce));N.prototype=xe,xe.constructor=N,R(F,Ze,N)}},"./node_modules/core-js/modules/es.object.assign.js":function(y,G,u){var B=u("./node_modules/core-js/internals/export.js"),F=u("./node_modules/core-js/internals/object-assign.js");B({target:"Object",stat:!0,forced:Object.assign!==F},{assign:F})},"./node_modules/core-js/modules/es.object.keys.js":function(y,G,u){var B=u("./node_modules/core-js/internals/export.js"),F=u("./node_modules/core-js/internals/to-object.js"),K=u("./node_modules/core-js/internals/object-keys.js"),R=u("./node_modules/core-js/internals/fails.js"),X=R(function(){K(1)});B({target:"Object",stat:!0,forced:X},{keys:function($){return K(F($))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(y,G,u){var B=u("./node_modules/core-js/internals/to-string-tag-support.js"),F=u("./node_modules/core-js/internals/redefine.js"),K=u("./node_modules/core-js/internals/object-to-string.js");B||F(Object.prototype,"toString",K,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(y,G,u){"use strict";var B=u("./node_modules/core-js/internals/redefine.js"),F=u("./node_modules/core-js/internals/an-object.js"),K=u("./node_modules/core-js/internals/to-string.js"),R=u("./node_modules/core-js/internals/fails.js"),X=u("./node_modules/core-js/internals/regexp-flags.js"),M="toString",$=RegExp.prototype,S=$[M],E=R(function(){return S.call({source:"a",flags:"b"})!="/a/b"}),ie=S.name!=M;(E||ie)&&B(RegExp.prototype,M,function(){var te=F(this),$e=K(te.source),Ne=te.flags,Qe=K(Ne===void 0&&te instanceof RegExp&&!("flags"in $)?X.call(te):Ne);return"/"+$e+"/"+Qe},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(y,G,u){"use strict";var B=u("./node_modules/core-js/internals/string-multibyte.js").charAt,F=u("./node_modules/core-js/internals/to-string.js"),K=u("./node_modules/core-js/internals/internal-state.js"),R=u("./node_modules/core-js/internals/define-iterator.js"),X="String Iterator",M=K.set,$=K.getterFor(X);R(String,"String",function(S){M(this,{type:X,string:F(S),index:0})},function(){var E=$(this),ie=E.string,J=E.index,te;return J>=ie.length?{value:void 0,done:!0}:(te=B(ie,J),E.index+=te.length,{value:te,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(y,G,u){"use strict";var B=u("./node_modules/core-js/internals/export.js"),F=u("./node_modules/core-js/internals/create-html.js"),K=u("./node_modules/core-js/internals/string-html-forced.js");B({target:"String",proto:!0,forced:K("link")},{link:function(X){return F(this,"a","href",X)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(y,G,u){"use strict";var B=u("./node_modules/core-js/internals/export.js"),F=u("./node_modules/core-js/internals/descriptors.js"),K=u("./node_modules/core-js/internals/global.js"),R=u("./node_modules/core-js/internals/has.js"),X=u("./node_modules/core-js/internals/is-object.js"),M=u("./node_modules/core-js/internals/object-define-property.js").f,$=u("./node_modules/core-js/internals/copy-constructor-properties.js"),S=K.Symbol;if(F&&typeof S=="function"&&(!("description"in S.prototype)||S().description!==void 0)){var E={},ie=function(){var Ze=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),we=this instanceof ie?new S(Ze):Ze===void 0?S():S(Ze);return Ze===""&&(E[we]=!0),we};$(ie,S);var J=ie.prototype=S.prototype;J.constructor=ie;var te=J.toString,$e=String(S("test"))=="Symbol(test)",Ne=/^Symbol\((.*)\)[^)]+$/;M(J,"description",{configurable:!0,get:function(){var Ze=X(this)?this.valueOf():this,we=te.call(Ze);if(R(E,Ze))return"";var xe=$e?we.slice(7,-1):we.replace(Ne,"$1");return xe===""?void 0:xe}}),B({global:!0,forced:!0},{Symbol:ie})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(y,G,u){var B=u("./node_modules/core-js/internals/define-well-known-symbol.js");B("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(y,G,u){"use strict";var B=u("./node_modules/core-js/internals/export.js"),F=u("./node_modules/core-js/internals/global.js"),K=u("./node_modules/core-js/internals/get-built-in.js"),R=u("./node_modules/core-js/internals/is-pure.js"),X=u("./node_modules/core-js/internals/descriptors.js"),M=u("./node_modules/core-js/internals/native-symbol.js"),$=u("./node_modules/core-js/internals/fails.js"),S=u("./node_modules/core-js/internals/has.js"),E=u("./node_modules/core-js/internals/is-array.js"),ie=u("./node_modules/core-js/internals/is-object.js"),J=u("./node_modules/core-js/internals/is-symbol.js"),te=u("./node_modules/core-js/internals/an-object.js"),$e=u("./node_modules/core-js/internals/to-object.js"),Ne=u("./node_modules/core-js/internals/to-indexed-object.js"),Qe=u("./node_modules/core-js/internals/to-property-key.js"),Ze=u("./node_modules/core-js/internals/to-string.js"),we=u("./node_modules/core-js/internals/create-property-descriptor.js"),xe=u("./node_modules/core-js/internals/object-create.js"),Q=u("./node_modules/core-js/internals/object-keys.js"),ye=u("./node_modules/core-js/internals/object-get-own-property-names.js"),N=u("./node_modules/core-js/internals/object-get-own-property-names-external.js"),I=u("./node_modules/core-js/internals/object-get-own-property-symbols.js"),nt=u("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ce=u("./node_modules/core-js/internals/object-define-property.js"),le=u("./node_modules/core-js/internals/object-property-is-enumerable.js"),w=u("./node_modules/core-js/internals/create-non-enumerable-property.js"),k=u("./node_modules/core-js/internals/redefine.js"),z=u("./node_modules/core-js/internals/shared.js"),C=u("./node_modules/core-js/internals/shared-key.js"),Y=u("./node_modules/core-js/internals/hidden-keys.js"),He=u("./node_modules/core-js/internals/uid.js"),pe=u("./node_modules/core-js/internals/well-known-symbol.js"),Ue=u("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),ot=u("./node_modules/core-js/internals/define-well-known-symbol.js"),ct=u("./node_modules/core-js/internals/set-to-string-tag.js"),ue=u("./node_modules/core-js/internals/internal-state.js"),Le=u("./node_modules/core-js/internals/array-iteration.js").forEach,Ct=C("hidden"),ke="Symbol",De="prototype",j=pe("toPrimitive"),_e=ue.set,be=ue.getterFor(ke),fe=Object[De],he=F.Symbol,me=K("JSON","stringify"),Ie=nt.f,Se=ce.f,Me=N.f,Je=le.f,pt=z("symbols"),$t=z("op-symbols"),Yt=z("string-to-symbol-registry"),Gt=z("symbol-to-string-registry"),Pt=z("wks"),it=F.QObject,xt=!it||!it[De]||!it[De].findChild,Nt=X&&$(function(){return xe(Se({},"a",{get:function(){return Se(this,"a",{value:7}).a}})).a!=7})?function(St,oe,Be){var zr=Ie(fe,oe);zr&&delete fe[oe],Se(St,oe,Be),zr&&St!==fe&&Se(fe,oe,zr)}:Se,Ht=function(St,oe){var Be=pt[St]=xe(he[De]);return _e(Be,{type:ke,tag:St,description:oe}),X||(Be.description=oe),Be},Et=function(oe,Be,zr){oe===fe&&Et($t,Be,zr),te(oe);var $r=Qe(Be);return te(zr),S(pt,$r)?(zr.enumerable?(S(oe,Ct)&&oe[Ct][$r]&&(oe[Ct][$r]=!1),zr=xe(zr,{enumerable:we(0,!1)})):(S(oe,Ct)||Se(oe,Ct,we(1,{})),oe[Ct][$r]=!0),Nt(oe,$r,zr)):Se(oe,$r,zr)},er=function(oe,Be){te(oe);var zr=Ne(Be),$r=Q(zr).concat(x(zr));return Le($r,function(yn){(!X||Cr.call(zr,yn))&&Et(oe,yn,zr[yn])}),oe},lr=function(oe,Be){return Be===void 0?xe(oe):er(xe(oe),Be)},Cr=function(oe){var Be=Qe(oe),zr=Je.call(this,Be);return this===fe&&S(pt,Be)&&!S($t,Be)?!1:zr||!S(this,Be)||!S(pt,Be)||S(this,Ct)&&this[Ct][Be]?zr:!0},qr=function(oe,Be){var zr=Ne(oe),$r=Qe(Be);if(!(zr===fe&&S(pt,$r)&&!S($t,$r))){var yn=Ie(zr,$r);return yn&&S(pt,$r)&&!(S(zr,Ct)&&zr[Ct][$r])&&(yn.enumerable=!0),yn}},Ar=function(oe){var Be=Me(Ne(oe)),zr=[];return Le(Be,function($r){!S(pt,$r)&&!S(Y,$r)&&zr.push($r)}),zr},x=function(oe){var Be=oe===fe,zr=Me(Be?$t:Ne(oe)),$r=[];return Le(zr,function(yn){S(pt,yn)&&(!Be||S(fe,yn))&&$r.push(pt[yn])}),$r};if(M||(he=function(){if(this instanceof he)throw TypeError("Symbol is not a constructor");var oe=!arguments.length||arguments[0]===void 0?void 0:Ze(arguments[0]),Be=He(oe),zr=function($r){this===fe&&zr.call($t,$r),S(this,Ct)&&S(this[Ct],Be)&&(this[Ct][Be]=!1),Nt(this,Be,we(1,$r))};return X&&xt&&Nt(fe,Be,{configurable:!0,set:zr}),Ht(Be,oe)},k(he[De],"toString",function(){return be(this).tag}),k(he,"withoutSetter",function(St){return Ht(He(St),St)}),le.f=Cr,ce.f=Et,nt.f=qr,ye.f=N.f=Ar,I.f=x,Ue.f=function(St){return Ht(pe(St),St)},X&&(Se(he[De],"description",{configurable:!0,get:function(){return be(this).description}}),R||k(fe,"propertyIsEnumerable",Cr,{unsafe:!0}))),B({global:!0,wrap:!0,forced:!M,sham:!M},{Symbol:he}),Le(Q(Pt),function(St){ot(St)}),B({target:ke,stat:!0,forced:!M},{for:function(St){var oe=Ze(St);if(S(Yt,oe))return Yt[oe];var Be=he(oe);return Yt[oe]=Be,Gt[Be]=oe,Be},keyFor:function(oe){if(!J(oe))throw TypeError(oe+" is not a symbol");if(S(Gt,oe))return Gt[oe]},useSetter:function(){xt=!0},useSimple:function(){xt=!1}}),B({target:"Object",stat:!0,forced:!M,sham:!X},{create:lr,defineProperty:Et,defineProperties:er,getOwnPropertyDescriptor:qr}),B({target:"Object",stat:!0,forced:!M},{getOwnPropertyNames:Ar,getOwnPropertySymbols:x}),B({target:"Object",stat:!0,forced:$(function(){I.f(1)})},{getOwnPropertySymbols:function(oe){return I.f($e(oe))}}),me){var W=!M||$(function(){var St=he();return me([St])!="[null]"||me({a:St})!="{}"||me(Object(St))!="{}"});B({target:"JSON",stat:!0,forced:W},{stringify:function(oe,Be,zr){for(var $r=[oe],yn=1,Tn;arguments.length>yn;)$r.push(arguments[yn++]);if(Tn=Be,!(!ie(Be)&&oe===void 0||J(oe)))return E(Be)||(Be=function(Ft,Sr){if(typeof Tn=="function"&&(Sr=Tn.call(this,Ft,Sr)),!J(Sr))return Sr}),$r[1]=Be,me.apply(null,$r)}})}he[De][j]||w(he[De],j,he[De].valueOf),ct(he,ke),Y[Ct]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(y,G,u){var B=u("./node_modules/core-js/internals/global.js"),F=u("./node_modules/core-js/internals/dom-iterables.js"),K=u("./node_modules/core-js/internals/array-for-each.js"),R=u("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var X in F){var M=B[X],$=M&&M.prototype;if($&&$.forEach!==K)try{R($,"forEach",K)}catch(S){$.forEach=K}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(y,G,u){var B=u("./node_modules/core-js/internals/global.js"),F=u("./node_modules/core-js/internals/dom-iterables.js"),K=u("./node_modules/core-js/modules/es.array.iterator.js"),R=u("./node_modules/core-js/internals/create-non-enumerable-property.js"),X=u("./node_modules/core-js/internals/well-known-symbol.js"),M=X("iterator"),$=X("toStringTag"),S=K.values;for(var E in F){var ie=B[E],J=ie&&ie.prototype;if(J){if(J[M]!==S)try{R(J,M,S)}catch($e){J[M]=S}if(J[$]||R(J,$,E),F[E]){for(var te in K)if(J[te]!==K[te])try{R(J,te,K[te])}catch($e){J[te]=K[te]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(y){(function(G,u){y.exports=u()})(this,function(){"use strict";function G(it){var xt=typeof it;return it!==null&&(xt==="object"||xt==="function")}function u(it){return typeof it=="function"}var B=void 0;Array.isArray?B=Array.isArray:B=function(it){return Object.prototype.toString.call(it)==="[object Array]"};var F=B,K=0,R=void 0,X=void 0,M=function(xt,Nt){Q[K]=xt,Q[K+1]=Nt,K+=2,K===2&&(X?X(ye):I())};function $(it){X=it}function S(it){M=it}var E=typeof window!="undefined"?window:void 0,ie=E||{},J=ie.MutationObserver||ie.WebKitMutationObserver,te=typeof self=="undefined"&&typeof o!="undefined"&&{}.toString.call(o)==="[object process]",$e=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Ne(){return function(){return o.nextTick(ye)}}function Qe(){return typeof R!="undefined"?function(){R(ye)}:xe()}function Ze(){var it=0,xt=new J(ye),Nt=document.createTextNode("");return xt.observe(Nt,{characterData:!0}),function(){Nt.data=it=++it%2}}function we(){var it=new MessageChannel;return it.port1.onmessage=ye,function(){return it.port2.postMessage(0)}}function xe(){var it=setTimeout;return function(){return it(ye,1)}}var Q=new Array(1e3);function ye(){for(var it=0;it<K;it+=2){var xt=Q[it],Nt=Q[it+1];xt(Nt),Q[it]=void 0,Q[it+1]=void 0}K=0}function N(){try{var it=Function("return this")().require("vertx");return R=it.runOnLoop||it.runOnContext,Qe()}catch(xt){return xe()}}var I=void 0;te?I=Ne():J?I=Ze():$e?I=we():E===void 0?I=N():I=xe();function nt(it,xt){var Nt=this,Ht=new this.constructor(w);Ht[le]===void 0&&me(Ht);var Et=Nt._state;if(Et){var er=arguments[Et-1];M(function(){return _e(Et,Ht,er,Nt._result)})}else De(Nt,Ht,it,xt);return Ht}function ce(it){var xt=this;if(it&&typeof it=="object"&&it.constructor===xt)return it;var Nt=new xt(w);return ue(Nt,it),Nt}var le=Math.random().toString(36).substring(2);function w(){}var k=void 0,z=1,C=2;function Y(){return new TypeError("You cannot resolve a promise with itself")}function He(){return new TypeError("A promises callback cannot return that same promise.")}function pe(it,xt,Nt,Ht){try{it.call(xt,Nt,Ht)}catch(Et){return Et}}function Ue(it,xt,Nt){M(function(Ht){var Et=!1,er=pe(Nt,xt,function(lr){Et||(Et=!0,xt!==lr?ue(Ht,lr):Ct(Ht,lr))},function(lr){Et||(Et=!0,ke(Ht,lr))},"Settle: "+(Ht._label||" unknown promise"));!Et&&er&&(Et=!0,ke(Ht,er))},it)}function ot(it,xt){xt._state===z?Ct(it,xt._result):xt._state===C?ke(it,xt._result):De(xt,void 0,function(Nt){return ue(it,Nt)},function(Nt){return ke(it,Nt)})}function ct(it,xt,Nt){xt.constructor===it.constructor&&Nt===nt&&xt.constructor.resolve===ce?ot(it,xt):Nt===void 0?Ct(it,xt):u(Nt)?Ue(it,xt,Nt):Ct(it,xt)}function ue(it,xt){if(it===xt)ke(it,Y());else if(G(xt)){var Nt=void 0;try{Nt=xt.then}catch(Ht){ke(it,Ht);return}ct(it,xt,Nt)}else Ct(it,xt)}function Le(it){it._onerror&&it._onerror(it._result),j(it)}function Ct(it,xt){it._state===k&&(it._result=xt,it._state=z,it._subscribers.length!==0&&M(j,it))}function ke(it,xt){it._state===k&&(it._state=C,it._result=xt,M(Le,it))}function De(it,xt,Nt,Ht){var Et=it._subscribers,er=Et.length;it._onerror=null,Et[er]=xt,Et[er+z]=Nt,Et[er+C]=Ht,er===0&&it._state&&M(j,it)}function j(it){var xt=it._subscribers,Nt=it._state;if(xt.length!==0){for(var Ht=void 0,Et=void 0,er=it._result,lr=0;lr<xt.length;lr+=3)Ht=xt[lr],Et=xt[lr+Nt],Ht?_e(Nt,Ht,Et,er):Et(er);it._subscribers.length=0}}function _e(it,xt,Nt,Ht){var Et=u(Nt),er=void 0,lr=void 0,Cr=!0;if(Et){try{er=Nt(Ht)}catch(qr){Cr=!1,lr=qr}if(xt===er){ke(xt,He());return}}else er=Ht;xt._state!==k||(Et&&Cr?ue(xt,er):Cr===!1?ke(xt,lr):it===z?Ct(xt,er):it===C&&ke(xt,er))}function be(it,xt){try{xt(function(Ht){ue(it,Ht)},function(Ht){ke(it,Ht)})}catch(Nt){ke(it,Nt)}}var fe=0;function he(){return fe++}function me(it){it[le]=fe++,it._state=void 0,it._result=void 0,it._subscribers=[]}function Ie(){return new Error("Array Methods must be provided an Array")}var Se=function(){function it(xt,Nt){this._instanceConstructor=xt,this.promise=new xt(w),this.promise[le]||me(this.promise),F(Nt)?(this.length=Nt.length,this._remaining=Nt.length,this._result=new Array(this.length),this.length===0?Ct(this.promise,this._result):(this.length=this.length||0,this._enumerate(Nt),this._remaining===0&&Ct(this.promise,this._result))):ke(this.promise,Ie())}return it.prototype._enumerate=function(Nt){for(var Ht=0;this._state===k&&Ht<Nt.length;Ht++)this._eachEntry(Nt[Ht],Ht)},it.prototype._eachEntry=function(Nt,Ht){var Et=this._instanceConstructor,er=Et.resolve;if(er===ce){var lr=void 0,Cr=void 0,qr=!1;try{lr=Nt.then}catch(x){qr=!0,Cr=x}if(lr===nt&&Nt._state!==k)this._settledAt(Nt._state,Ht,Nt._result);else if(typeof lr!="function")this._remaining--,this._result[Ht]=Nt;else if(Et===Gt){var Ar=new Et(w);qr?ke(Ar,Cr):ct(Ar,Nt,lr),this._willSettleAt(Ar,Ht)}else this._willSettleAt(new Et(function(x){return x(Nt)}),Ht)}else this._willSettleAt(er(Nt),Ht)},it.prototype._settledAt=function(Nt,Ht,Et){var er=this.promise;er._state===k&&(this._remaining--,Nt===C?ke(er,Et):this._result[Ht]=Et),this._remaining===0&&Ct(er,this._result)},it.prototype._willSettleAt=function(Nt,Ht){var Et=this;De(Nt,void 0,function(er){return Et._settledAt(z,Ht,er)},function(er){return Et._settledAt(C,Ht,er)})},it}();function Me(it){return new Se(this,it).promise}function Je(it){var xt=this;return F(it)?new xt(function(Nt,Ht){for(var Et=it.length,er=0;er<Et;er++)xt.resolve(it[er]).then(Nt,Ht)}):new xt(function(Nt,Ht){return Ht(new TypeError("You must pass an array to race."))})}function pt(it){var xt=this,Nt=new xt(w);return ke(Nt,it),Nt}function $t(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Yt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Gt=function(){function it(xt){this[le]=he(),this._result=this._state=void 0,this._subscribers=[],w!==xt&&(typeof xt!="function"&&$t(),this instanceof it?be(this,xt):Yt())}return it.prototype.catch=function(Nt){return this.then(null,Nt)},it.prototype.finally=function(Nt){var Ht=this,Et=Ht.constructor;return u(Nt)?Ht.then(function(er){return Et.resolve(Nt()).then(function(){return er})},function(er){return Et.resolve(Nt()).then(function(){throw er})}):Ht.then(Nt,Nt)},it}();Gt.prototype.then=nt,Gt.all=Me,Gt.race=Je,Gt.resolve=ce,Gt.reject=pt,Gt._setScheduler=$,Gt._setAsap=S,Gt._asap=M;function Pt(){var it=void 0;if(typeof n.g!="undefined")it=n.g;else if(typeof self!="undefined")it=self;else try{it=Function("return this")()}catch(Ht){throw new Error("polyfill failed because global object is unavailable in this environment")}var xt=it.Promise;if(xt){var Nt=null;try{Nt=Object.prototype.toString.call(xt.resolve())}catch(Ht){}if(Nt==="[object Promise]"&&!xt.cast)return}it.Promise=Gt}return Gt.polyfill=Pt,Gt.Promise=Gt,Gt})},html2canvas:function(y){"use strict";y.exports=L},jspdf:function(y){"use strict";y.exports=qe}},q={};function ee(y){var G=q[y];if(G!==void 0)return G.exports;var u=q[y]={exports:{}};return Re[y].call(u.exports,u,u.exports,ee),u.exports}(function(){ee.n=function(y){var G=y&&y.__esModule?function(){return y.default}:function(){return y};return ee.d(G,{a:G}),G}})(),function(){ee.d=function(y,G){for(var u in G)ee.o(G,u)&&!ee.o(y,u)&&Object.defineProperty(y,u,{enumerable:!0,get:G[u]})}}(),function(){ee.o=function(y,G){return Object.prototype.hasOwnProperty.call(y,G)}}(),function(){ee.r=function(y){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})}}();var _={};return function(){"use strict";ee.r(_);var y=ee("./src/worker.js"),G=ee("./src/plugin/jspdf-plugin.js"),u=ee("./src/plugin/pagebreaks.js"),B=ee("./src/plugin/hyperlinks.js"),F=function K(R,X){var M=new K.Worker(X);return R?M.from(R).save():M};F.Worker=y.default,_.default=F}(),_=_.default,_}()})},28685:function(Yr,Xt,n){"use strict";n.r(Xt),n.d(Xt,{AcroForm:function(){return Be},AcroFormAppearance:function(){return St},AcroFormButton:function(){return er},AcroFormCheckBox:function(){return Ar},AcroFormChoiceField:function(){return xt},AcroFormComboBox:function(){return Ht},AcroFormEditBox:function(){return Et},AcroFormListBox:function(){return Nt},AcroFormPasswordField:function(){return W},AcroFormPushButton:function(){return lr},AcroFormRadioButton:function(){return Cr},AcroFormTextField:function(){return x},GState:function(){return ce},ShadingPattern:function(){return w},TilingPattern:function(){return k},default:function(){return z},jsPDF:function(){return z}});var o=n(76190),qe=n(6330),L=n(42978),Re=n(6341);var q=function(){return typeof window!="undefined"?window:typeof n.g!="undefined"?n.g:typeof self!="undefined"?self:this}();function ee(){q.console&&typeof q.console.log=="function"&&q.console.log.apply(q.console,arguments)}var _={log:ee,warn:function(f){q.console&&(typeof q.console.warn=="function"?q.console.warn.apply(q.console,arguments):ee.call(null,arguments))},error:function(f){q.console&&(typeof q.console.error=="function"?q.console.error.apply(q.console,arguments):ee(f))}};function y(f,s,p){var b=new XMLHttpRequest;b.open("GET",f),b.responseType="blob",b.onload=function(){B(b.response,s,p)},b.onerror=function(){_.error("could not download file")},b.send()}function G(f){var s=new XMLHttpRequest;s.open("HEAD",f,!1);try{s.send()}catch(p){}return s.status>=200&&s.status<=299}function u(f){try{f.dispatchEvent(new MouseEvent("click"))}catch(p){var s=document.createEvent("MouseEvents");s.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),f.dispatchEvent(s)}}var B=q.saveAs||((typeof window=="undefined"?"undefined":(0,o.Z)(window))!=="object"||window!==q?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(f,s,p){var b=q.URL||q.webkitURL,A=document.createElement("a");s=s||f.name||"download",A.download=s,A.rel="noopener",typeof f=="string"?(A.href=f,A.origin!==location.origin?G(A.href)?y(f,s,p):u(A,A.target="_blank"):u(A)):(A.href=b.createObjectURL(f),setTimeout(function(){b.revokeObjectURL(A.href)},4e4),setTimeout(function(){u(A)},0))}:"msSaveOrOpenBlob"in navigator?function(f,s,p){if(s=s||f.name||"download",typeof f=="string")if(G(f))y(f,s,p);else{var b=document.createElement("a");b.href=f,b.target="_blank",setTimeout(function(){u(b)})}else navigator.msSaveOrOpenBlob(function(A,v){return v===void 0?v={autoBom:!1}:(0,o.Z)(v)!=="object"&&(_.warn("Deprecated: Expected third argument to be a object"),v={autoBom:!v}),v.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(A.type)?new Blob(["\uFEFF",A],{type:A.type}):A}(f,p),s)}:function(f,s,p,b){if((b=b||open("","_blank"))&&(b.document.title=b.document.body.innerText="downloading..."),typeof f=="string")return y(f,s,p);var A=f.type==="application/octet-stream",v=/constructor/i.test(q.HTMLElement)||q.safari,T=/CriOS\/[\d]+/.test(navigator.userAgent);if((T||A&&v)&&(typeof FileReader=="undefined"?"undefined":(0,o.Z)(FileReader))==="object"){var Z=new FileReader;Z.onloadend=function(){var st=Z.result;st=T?st:st.replace(/^data:[^;]*;/,"data:attachment/file;"),b?b.location.href=st:location=st,b=null},Z.readAsDataURL(f)}else{var re=q.URL||q.webkitURL,Ae=re.createObjectURL(f);b?b.location=Ae:location.href=Ae,b=null,setTimeout(function(){re.revokeObjectURL(Ae)},4e4)}});function F(f){var s;f=f||"",this.ok=!1,f.charAt(0)=="#"&&(f=f.substr(1,6)),f={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[f=(f=f.replace(/ /g,"")).toLowerCase()]||f;for(var p=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(Z){return[parseInt(Z[1]),parseInt(Z[2]),parseInt(Z[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(Z){return[parseInt(Z[1],16),parseInt(Z[2],16),parseInt(Z[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(Z){return[parseInt(Z[1]+Z[1],16),parseInt(Z[2]+Z[2],16),parseInt(Z[3]+Z[3],16)]}}],b=0;b<p.length;b++){var A=p[b].re,v=p[b].process,T=A.exec(f);T&&(s=v(T),this.r=s[0],this.g=s[1],this.b=s[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var Z=this.r.toString(16),re=this.g.toString(16),Ae=this.b.toString(16);return Z.length==1&&(Z="0"+Z),re.length==1&&(re="0"+re),Ae.length==1&&(Ae="0"+Ae),"#"+Z+re+Ae}}var K=q.atob.bind(q),R=q.btoa.bind(q);function X(f,s){var p=f[0],b=f[1],A=f[2],v=f[3];p=$(p,b,A,v,s[0],7,-680876936),v=$(v,p,b,A,s[1],12,-389564586),A=$(A,v,p,b,s[2],17,606105819),b=$(b,A,v,p,s[3],22,-1044525330),p=$(p,b,A,v,s[4],7,-176418897),v=$(v,p,b,A,s[5],12,1200080426),A=$(A,v,p,b,s[6],17,-1473231341),b=$(b,A,v,p,s[7],22,-45705983),p=$(p,b,A,v,s[8],7,1770035416),v=$(v,p,b,A,s[9],12,-1958414417),A=$(A,v,p,b,s[10],17,-42063),b=$(b,A,v,p,s[11],22,-1990404162),p=$(p,b,A,v,s[12],7,1804603682),v=$(v,p,b,A,s[13],12,-40341101),A=$(A,v,p,b,s[14],17,-1502002290),p=S(p,b=$(b,A,v,p,s[15],22,1236535329),A,v,s[1],5,-165796510),v=S(v,p,b,A,s[6],9,-1069501632),A=S(A,v,p,b,s[11],14,643717713),b=S(b,A,v,p,s[0],20,-373897302),p=S(p,b,A,v,s[5],5,-701558691),v=S(v,p,b,A,s[10],9,38016083),A=S(A,v,p,b,s[15],14,-660478335),b=S(b,A,v,p,s[4],20,-405537848),p=S(p,b,A,v,s[9],5,568446438),v=S(v,p,b,A,s[14],9,-1019803690),A=S(A,v,p,b,s[3],14,-187363961),b=S(b,A,v,p,s[8],20,1163531501),p=S(p,b,A,v,s[13],5,-1444681467),v=S(v,p,b,A,s[2],9,-51403784),A=S(A,v,p,b,s[7],14,1735328473),p=E(p,b=S(b,A,v,p,s[12],20,-1926607734),A,v,s[5],4,-378558),v=E(v,p,b,A,s[8],11,-2022574463),A=E(A,v,p,b,s[11],16,1839030562),b=E(b,A,v,p,s[14],23,-35309556),p=E(p,b,A,v,s[1],4,-1530992060),v=E(v,p,b,A,s[4],11,1272893353),A=E(A,v,p,b,s[7],16,-155497632),b=E(b,A,v,p,s[10],23,-1094730640),p=E(p,b,A,v,s[13],4,681279174),v=E(v,p,b,A,s[0],11,-358537222),A=E(A,v,p,b,s[3],16,-722521979),b=E(b,A,v,p,s[6],23,76029189),p=E(p,b,A,v,s[9],4,-640364487),v=E(v,p,b,A,s[12],11,-421815835),A=E(A,v,p,b,s[15],16,530742520),p=ie(p,b=E(b,A,v,p,s[2],23,-995338651),A,v,s[0],6,-198630844),v=ie(v,p,b,A,s[7],10,1126891415),A=ie(A,v,p,b,s[14],15,-1416354905),b=ie(b,A,v,p,s[5],21,-57434055),p=ie(p,b,A,v,s[12],6,1700485571),v=ie(v,p,b,A,s[3],10,-1894986606),A=ie(A,v,p,b,s[10],15,-1051523),b=ie(b,A,v,p,s[1],21,-2054922799),p=ie(p,b,A,v,s[8],6,1873313359),v=ie(v,p,b,A,s[15],10,-30611744),A=ie(A,v,p,b,s[6],15,-1560198380),b=ie(b,A,v,p,s[13],21,1309151649),p=ie(p,b,A,v,s[4],6,-145523070),v=ie(v,p,b,A,s[11],10,-1120210379),A=ie(A,v,p,b,s[2],15,718787259),b=ie(b,A,v,p,s[9],21,-343485551),f[0]=xe(p,f[0]),f[1]=xe(b,f[1]),f[2]=xe(A,f[2]),f[3]=xe(v,f[3])}function M(f,s,p,b,A,v){return s=xe(xe(s,f),xe(b,v)),xe(s<<A|s>>>32-A,p)}function $(f,s,p,b,A,v,T){return M(s&p|~s&b,f,s,A,v,T)}function S(f,s,p,b,A,v,T){return M(s&b|p&~b,f,s,A,v,T)}function E(f,s,p,b,A,v,T){return M(s^p^b,f,s,A,v,T)}function ie(f,s,p,b,A,v,T){return M(p^(s|~b),f,s,A,v,T)}function J(f){var s,p=f.length,b=[1732584193,-271733879,-1732584194,271733878];for(s=64;s<=f.length;s+=64)X(b,te(f.substring(s-64,s)));f=f.substring(s-64);var A=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(s=0;s<f.length;s++)A[s>>2]|=f.charCodeAt(s)<<(s%4<<3);if(A[s>>2]|=128<<(s%4<<3),s>55)for(X(b,A),s=0;s<16;s++)A[s]=0;return A[14]=8*p,X(b,A),b}function te(f){var s,p=[];for(s=0;s<64;s+=4)p[s>>2]=f.charCodeAt(s)+(f.charCodeAt(s+1)<<8)+(f.charCodeAt(s+2)<<16)+(f.charCodeAt(s+3)<<24);return p}var $e="0123456789abcdef".split("");function Ne(f){for(var s="",p=0;p<4;p++)s+=$e[f>>8*p+4&15]+$e[f>>8*p&15];return s}function Qe(f){return String.fromCharCode(255&f,(65280&f)>>8,(16711680&f)>>16,(4278190080&f)>>24)}function Ze(f){return J(f).map(Qe).join("")}var we=function(f){for(var s=0;s<f.length;s++)f[s]=Ne(f[s]);return f.join("")}(J("hello"))!="5d41402abc4b2a76b9719d911017c592";function xe(f,s){if(we){var p=(65535&f)+(65535&s);return(f>>16)+(s>>16)+(p>>16)<<16|65535&p}return f+s&4294967295}function Q(f,s){var p,b,A,v;if(f!==p){for(var T=(A=f,v=1+(256/f.length|0),new Array(v+1).join(A)),Z=[],re=0;re<256;re++)Z[re]=re;var Ae=0;for(re=0;re<256;re++){var st=Z[re];Ae=(Ae+st+T.charCodeAt(re))%256,Z[re]=Z[Ae],Z[Ae]=st}p=f,b=Z}else Z=b;var jt=s.length,At=0,ve=0,kt="";for(re=0;re<jt;re++)ve=(ve+(st=Z[At=(At+1)%256]))%256,Z[At]=Z[ve],Z[ve]=st,T=Z[(Z[At]+Z[ve])%256],kt+=String.fromCharCode(s.charCodeAt(re)^T);return kt}var ye={print:4,modify:8,copy:16,"annot-forms":32};function N(f,s,p,b){this.v=1,this.r=2;var A=192;f.forEach(function(Z){if(ye.perm!==void 0)throw new Error("Invalid permission: "+Z);A+=ye[Z]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var v=(s+this.padding).substr(0,32),T=(p+this.padding).substr(0,32);this.O=this.processOwnerPassword(v,T),this.P=-(1+(255^A)),this.encryptionKey=Ze(v+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(b)).substr(0,5),this.U=Q(this.encryptionKey,this.padding)}function I(f){if(/[^\u0000-\u00ff]/.test(f))throw new Error("Invalid PDF Name Object: "+f+", Only accept ASCII characters.");for(var s="",p=f.length,b=0;b<p;b++){var A=f.charCodeAt(b);s+=A<33||A===35||A===37||A===40||A===41||A===47||A===60||A===62||A===91||A===93||A===123||A===125||A>126?"#"+("0"+A.toString(16)).slice(-2):f[b]}return s}function nt(f){if((0,o.Z)(f)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var s={};this.subscribe=function(p,b,A){if(A=A||!1,typeof p!="string"||typeof b!="function"||typeof A!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");s.hasOwnProperty(p)||(s[p]={});var v=Math.random().toString(35);return s[p][v]=[b,!!A],v},this.unsubscribe=function(p){for(var b in s)if(s[b][p])return delete s[b][p],Object.keys(s[b]).length===0&&delete s[b],!0;return!1},this.publish=function(p){if(s.hasOwnProperty(p)){var b=Array.prototype.slice.call(arguments,1),A=[];for(var v in s[p]){var T=s[p][v];try{T[0].apply(f,b)}catch(Z){q.console&&_.error("jsPDF PubSub Error",Z.message,Z)}T[1]&&A.push(v)}A.length&&A.forEach(this.unsubscribe)}},this.getTopics=function(){return s}}function ce(f){if(!(this instanceof ce))return new ce(f);var s="opacity,stroke-opacity".split(",");for(var p in f)f.hasOwnProperty(p)&&s.indexOf(p)>=0&&(this[p]=f[p]);this.id="",this.objectNumber=-1}function le(f,s){this.gState=f,this.matrix=s,this.id="",this.objectNumber=-1}function w(f,s,p,b,A){if(!(this instanceof w))return new w(f,s,p,b,A);this.type=f==="axial"?2:3,this.coords=s,this.colors=p,le.call(this,b,A)}function k(f,s,p,b,A){if(!(this instanceof k))return new k(f,s,p,b,A);this.boundingBox=f,this.xStep=s,this.yStep=p,this.stream="",this.cloneIndex=0,le.call(this,b,A)}function z(f){var s,p=typeof arguments[0]=="string"?arguments[0]:"p",b=arguments[1],A=arguments[2],v=arguments[3],T=[],Z=1,re=16,Ae="S",st=null;(0,o.Z)(f=f||{})==="object"&&(p=f.orientation,b=f.unit||b,A=f.format||A,v=f.compress||f.compressPdf||v,(st=f.encryption||null)!==null&&(st.userPassword=st.userPassword||"",st.ownerPassword=st.ownerPassword||"",st.userPermissions=st.userPermissions||[]),Z=typeof f.userUnit=="number"?Math.abs(f.userUnit):1,f.precision!==void 0&&(s=f.precision),f.floatPrecision!==void 0&&(re=f.floatPrecision),Ae=f.defaultPathOperation||"S"),T=f.filters||(v===!0?["FlateEncode"]:T),b=b||"mm",p=(""+(p||"P")).toLowerCase();var jt=f.putOnlyUsedFonts||!1,At={},ve={internal:{},__private__:{}};ve.__private__.PubSub=nt;var kt="1.3",Ge=ve.__private__.getPdfVersion=function(){return kt};ve.__private__.setPdfVersion=function(P){kt=P};var Zt={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};ve.__private__.getPageFormats=function(){return Zt};var gt=ve.__private__.getPageFormat=function(P){return Zt[P]};A=A||"a4";var ar="compat",yr="advanced",Qt=ar;function at(){this.saveGraphicsState(),Lt(new ma(aa,0,0,-aa,0,Qi()*aa).toString()+" cm"),this.setFontSize(this.getFontSize()/aa),Ae="n",Qt=yr}function Ce(){this.restoreGraphicsState(),Ae="S",Qt=ar}var Vt=ve.__private__.combineFontStyleAndFontWeight=function(P,je){if(P=="bold"&&je=="normal"||P=="bold"&&je==400||P=="normal"&&je=="italic"||P=="bold"&&je=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return je&&(P=je==400||je==="normal"?P==="italic"?"italic":"normal":je!=700&&je!=="bold"||P!=="normal"?(je==700?"bold":je)+""+P:"bold"),P};ve.advancedAPI=function(P){var je=Qt===ar;return je&&at.call(this),typeof P!="function"||(P(this),je&&Ce.call(this)),this},ve.compatAPI=function(P){var je=Qt===yr;return je&&Ce.call(this),typeof P!="function"||(P(this),je&&at.call(this)),this},ve.isAdvancedAPI=function(){return Qt===yr};var Mt,Ot=function(P){if(Qt!==yr)throw new Error(P+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},qt=ve.roundToPrecision=ve.__private__.roundToPrecision=function(P,je){var zt=s||je;if(isNaN(P)||isNaN(zt))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return P.toFixed(zt).replace(/0+$/,"")};Mt=ve.hpf=ve.__private__.hpf=typeof re=="number"?function(P){if(isNaN(P))throw new Error("Invalid argument passed to jsPDF.hpf");return qt(P,re)}:re==="smart"?function(P){if(isNaN(P))throw new Error("Invalid argument passed to jsPDF.hpf");return qt(P,P>-1&&P<1?16:5)}:function(P){if(isNaN(P))throw new Error("Invalid argument passed to jsPDF.hpf");return qt(P,16)};var We=ve.f2=ve.__private__.f2=function(P){if(isNaN(P))throw new Error("Invalid argument passed to jsPDF.f2");return qt(P,2)},ze=ve.__private__.f3=function(P){if(isNaN(P))throw new Error("Invalid argument passed to jsPDF.f3");return qt(P,3)},wt=ve.scale=ve.__private__.scale=function(P){if(isNaN(P))throw new Error("Invalid argument passed to jsPDF.scale");return Qt===ar?P*aa:Qt===yr?P:void 0},ut=function(P){return wt(function(je){return Qt===ar?Qi()-je:Qt===yr?je:void 0}(P))};ve.__private__.setPrecision=ve.setPrecision=function(P){typeof parseInt(P,10)=="number"&&(s=parseInt(P,10))};var cr,gr="00000000000000000000000000000000",_t=ve.__private__.getFileId=function(){return gr},Tt=ve.__private__.setFileId=function(P){return gr=P!==void 0&&/^[a-fA-F0-9]{32}$/.test(P)?P.toUpperCase():gr.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),st!==null&&(xo=new N(st.userPermissions,st.userPassword,st.ownerPassword,gr)),gr};ve.setFileId=function(P){return Tt(P),this},ve.getFileId=function(){return _t()};var ir=ve.__private__.convertDateToPDFDate=function(P){var je=P.getTimezoneOffset(),zt=je<0?"+":"-",tr=Math.floor(Math.abs(je/60)),wr=Math.abs(je%60),Kr=[zt,Bt(tr),"'",Bt(wr),"'"].join("");return["D:",P.getFullYear(),Bt(P.getMonth()+1),Bt(P.getDate()),Bt(P.getHours()),Bt(P.getMinutes()),Bt(P.getSeconds()),Kr].join("")},Zr=ve.__private__.convertPDFDateToDate=function(P){var je=parseInt(P.substr(2,4),10),zt=parseInt(P.substr(6,2),10)-1,tr=parseInt(P.substr(8,2),10),wr=parseInt(P.substr(10,2),10),Kr=parseInt(P.substr(12,2),10),ln=parseInt(P.substr(14,2),10);return new Date(je,zt,tr,wr,Kr,ln,0)},Wt=ve.__private__.setCreationDate=function(P){var je;if(P===void 0&&(P=new Date),P instanceof Date)je=ir(P);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(P))throw new Error("Invalid argument passed to jsPDF.setCreationDate");je=P}return cr=je},Pe=ve.__private__.getCreationDate=function(P){var je=cr;return P==="jsDate"&&(je=Zr(cr)),je};ve.setCreationDate=function(P){return Wt(P),this},ve.getCreationDate=function(P){return Pe(P)};var bt,Bt=ve.__private__.padd2=function(P){return("0"+parseInt(P)).slice(-2)},ht=ve.__private__.padd2Hex=function(P){return("00"+(P=P.toString())).substr(P.length)},Jt=0,dr=[],fr=[],Er=0,Lr=[],Rr=[],cn=!1,wn=fr;ve.__private__.setCustomOutputDestination=function(P){cn=!0,wn=P};var Mr=function(P){cn||(wn=P)};ve.__private__.resetCustomOutputDestination=function(){cn=!1,wn=fr};var Lt=ve.__private__.out=function(P){return P=P.toString(),Er+=P.length+1,wn.push(P),wn},ba=ve.__private__.write=function(P){return Lt(arguments.length===1?P.toString():Array.prototype.join.call(arguments," "))},da=ve.__private__.getArrayBuffer=function(P){for(var je=P.length,zt=new ArrayBuffer(je),tr=new Uint8Array(zt);je--;)tr[je]=P.charCodeAt(je);return zt},Hn=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];ve.__private__.getStandardFonts=function(){return Hn};var an=f.fontSize||16;ve.__private__.setFontSize=ve.setFontSize=function(P){return an=Qt===yr?P/aa:P,this};var dn,Gr=ve.__private__.getFontSize=ve.getFontSize=function(){return Qt===ar?an:an*aa},sa=f.R2L||!1;ve.__private__.setR2L=ve.setR2L=function(P){return sa=P,this},ve.__private__.getR2L=ve.getR2L=function(){return sa};var Vn,xa=ve.__private__.setZoomMode=function(P){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(P))dn=P;else if(isNaN(P)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(P)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+P+'" is not recognized.');dn=P}else dn=parseInt(P,10)};ve.__private__.getZoomMode=function(){return dn};var Xn,la=ve.__private__.setPageMode=function(P){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(P)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+P+'" is not recognized.');Vn=P};ve.__private__.getPageMode=function(){return Vn};var La=ve.__private__.setLayoutMode=function(P){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(P)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+P+'" is not recognized.');Xn=P};ve.__private__.getLayoutMode=function(){return Xn},ve.__private__.setDisplayMode=ve.setDisplayMode=function(P,je,zt){return xa(P),La(je),la(zt),this};var na={title:"",subject:"",author:"",keywords:"",creator:""};ve.__private__.getDocumentProperty=function(P){if(Object.keys(na).indexOf(P)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return na[P]},ve.__private__.getDocumentProperties=function(){return na},ve.__private__.setDocumentProperties=ve.setProperties=ve.setDocumentProperties=function(P){for(var je in na)na.hasOwnProperty(je)&&P[je]&&(na[je]=P[je]);return this},ve.__private__.setDocumentProperty=function(P,je){if(Object.keys(na).indexOf(P)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return na[P]=je};var kn,aa,Fn,Ln,_n,Qr={},mn={},ca=[],En={},ha={},Zn={},Ha={},Ja=null,Cn=0,jn=[],fa=new nt(ve),qa=f.hotfixes||[],Ka={},co={},uo=[],ma=function P(je,zt,tr,wr,Kr,ln){if(!(this instanceof P))return new P(je,zt,tr,wr,Kr,ln);isNaN(je)&&(je=1),isNaN(zt)&&(zt=0),isNaN(tr)&&(tr=0),isNaN(wr)&&(wr=1),isNaN(Kr)&&(Kr=0),isNaN(ln)&&(ln=0),this._matrix=[je,zt,tr,wr,Kr,ln]};Object.defineProperty(ma.prototype,"sx",{get:function(){return this._matrix[0]},set:function(P){this._matrix[0]=P}}),Object.defineProperty(ma.prototype,"shy",{get:function(){return this._matrix[1]},set:function(P){this._matrix[1]=P}}),Object.defineProperty(ma.prototype,"shx",{get:function(){return this._matrix[2]},set:function(P){this._matrix[2]=P}}),Object.defineProperty(ma.prototype,"sy",{get:function(){return this._matrix[3]},set:function(P){this._matrix[3]=P}}),Object.defineProperty(ma.prototype,"tx",{get:function(){return this._matrix[4]},set:function(P){this._matrix[4]=P}}),Object.defineProperty(ma.prototype,"ty",{get:function(){return this._matrix[5]},set:function(P){this._matrix[5]=P}}),Object.defineProperty(ma.prototype,"a",{get:function(){return this._matrix[0]},set:function(P){this._matrix[0]=P}}),Object.defineProperty(ma.prototype,"b",{get:function(){return this._matrix[1]},set:function(P){this._matrix[1]=P}}),Object.defineProperty(ma.prototype,"c",{get:function(){return this._matrix[2]},set:function(P){this._matrix[2]=P}}),Object.defineProperty(ma.prototype,"d",{get:function(){return this._matrix[3]},set:function(P){this._matrix[3]=P}}),Object.defineProperty(ma.prototype,"e",{get:function(){return this._matrix[4]},set:function(P){this._matrix[4]=P}}),Object.defineProperty(ma.prototype,"f",{get:function(){return this._matrix[5]},set:function(P){this._matrix[5]=P}}),Object.defineProperty(ma.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(ma.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(ma.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(ma.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),ma.prototype.join=function(P){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Mt).join(P)},ma.prototype.multiply=function(P){var je=P.sx*this.sx+P.shy*this.shx,zt=P.sx*this.shy+P.shy*this.sy,tr=P.shx*this.sx+P.sy*this.shx,wr=P.shx*this.shy+P.sy*this.sy,Kr=P.tx*this.sx+P.ty*this.shx+this.tx,ln=P.tx*this.shy+P.ty*this.sy+this.ty;return new ma(je,zt,tr,wr,Kr,ln)},ma.prototype.decompose=function(){var P=this.sx,je=this.shy,zt=this.shx,tr=this.sy,wr=this.tx,Kr=this.ty,ln=Math.sqrt(P*P+je*je),Qn=(P/=ln)*zt+(je/=ln)*tr;zt-=P*Qn,tr-=je*Qn;var ae=Math.sqrt(zt*zt+tr*tr);return Qn/=ae,P*(tr/=ae)<je*(zt/=ae)&&(P=-P,je=-je,Qn=-Qn,ln=-ln),{scale:new ma(ln,0,0,ae,0,0),translate:new ma(1,0,0,1,wr,Kr),rotate:new ma(P,je,-je,P,0,0),skew:new ma(1,0,Qn,1,0,0)}},ma.prototype.toString=function(P){return this.join(" ")},ma.prototype.inversed=function(){var P=this.sx,je=this.shy,zt=this.shx,tr=this.sy,wr=this.tx,Kr=this.ty,ln=1/(P*tr-je*zt),Qn=tr*ln,ae=-je*ln,r=-zt*ln,a=P*ln;return new ma(Qn,ae,r,a,-Qn*wr-r*Kr,-ae*wr-a*Kr)},ma.prototype.applyToPoint=function(P){var je=P.x*this.sx+P.y*this.shx+this.tx,zt=P.x*this.shy+P.y*this.sy+this.ty;return new ji(je,zt)},ma.prototype.applyToRectangle=function(P){var je=this.applyToPoint(P),zt=this.applyToPoint(new ji(P.x+P.w,P.y+P.h));return new Yo(je.x,je.y,zt.x-je.x,zt.y-je.y)},ma.prototype.clone=function(){var P=this.sx,je=this.shy,zt=this.shx,tr=this.sy,wr=this.tx,Kr=this.ty;return new ma(P,je,zt,tr,wr,Kr)},ve.Matrix=ma;var Eo=ve.matrixMult=function(P,je){return je.multiply(P)},ja=new ma(1,0,0,1,0,0);ve.unitMatrix=ve.identityMatrix=ja;var Ta=function(P,je){if(!ha[P]){var zt=(je instanceof w?"Sh":"P")+(Object.keys(En).length+1).toString(10);je.id=zt,ha[P]=zt,En[zt]=je,fa.publish("addPattern",je)}};ve.ShadingPattern=w,ve.TilingPattern=k,ve.addShadingPattern=function(P,je){return Ot("addShadingPattern()"),Ta(P,je),this},ve.beginTilingPattern=function(P){Ot("beginTilingPattern()"),ss(P.boundingBox[0],P.boundingBox[1],P.boundingBox[2]-P.boundingBox[0],P.boundingBox[3]-P.boundingBox[1],P.matrix)},ve.endTilingPattern=function(P,je){Ot("endTilingPattern()"),je.stream=Rr[bt].join(`
|
|
|
`),Ta(P,je),fa.publish("endTilingPattern",je),uo.pop().restore()};var Na,Ba=ve.__private__.newObject=function(){var P=Wa();return va(P,!0),P},Wa=ve.__private__.newObjectDeferred=function(){return Jt++,dr[Jt]=function(){return Er},Jt},va=function(P,je){return je=typeof je=="boolean"&&je,dr[P]=Er,je&&Lt(P+" 0 obj"),P},Xa=ve.__private__.newAdditionalObject=function(){var P={objId:Wa(),content:""};return Lr.push(P),P},Da=Wa(),_a=Wa(),no=ve.__private__.decodeColorString=function(P){var je=P.split(" ");if(je.length!==2||je[1]!=="g"&&je[1]!=="G")je.length!==5||je[4]!=="k"&&je[4]!=="K"||(je=[(1-je[0])*(1-je[3]),(1-je[1])*(1-je[3]),(1-je[2])*(1-je[3]),"r"]);else{var zt=parseFloat(je[0]);je=[zt,zt,zt,"r"]}for(var tr="#",wr=0;wr<3;wr++)tr+=("0"+Math.floor(255*parseFloat(je[wr])).toString(16)).slice(-2);return tr},lo=ve.__private__.encodeColorString=function(P){var je;typeof P=="string"&&(P={ch1:P});var zt=P.ch1,tr=P.ch2,wr=P.ch3,Kr=P.ch4,ln=P.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof zt=="string"&&zt.charAt(0)!=="#"){var Qn=new F(zt);if(Qn.ok)zt=Qn.toHex();else if(!/^\d*\.?\d*$/.test(zt))throw new Error('Invalid color "'+zt+'" passed to jsPDF.encodeColorString.')}if(typeof zt=="string"&&/^#[0-9A-Fa-f]{3}$/.test(zt)&&(zt="#"+zt[1]+zt[1]+zt[2]+zt[2]+zt[3]+zt[3]),typeof zt=="string"&&/^#[0-9A-Fa-f]{6}$/.test(zt)){var ae=parseInt(zt.substr(1),16);zt=ae>>16&255,tr=ae>>8&255,wr=255&ae}if(tr===void 0||Kr===void 0&&zt===tr&&tr===wr)je=typeof zt=="string"?zt+" "+ln[0]:P.precision===2?We(zt/255)+" "+ln[0]:ze(zt/255)+" "+ln[0];else if(Kr===void 0||(0,o.Z)(Kr)==="object"){if(Kr&&!isNaN(Kr.a)&&Kr.a===0)return["1.","1.","1.",ln[1]].join(" ");je=typeof zt=="string"?[zt,tr,wr,ln[1]].join(" "):P.precision===2?[We(zt/255),We(tr/255),We(wr/255),ln[1]].join(" "):[ze(zt/255),ze(tr/255),ze(wr/255),ln[1]].join(" ")}else je=typeof zt=="string"?[zt,tr,wr,Kr,ln[2]].join(" "):P.precision===2?[We(zt),We(tr),We(wr),We(Kr),ln[2]].join(" "):[ze(zt),ze(tr),ze(wr),ze(Kr),ln[2]].join(" ");return je},$o=ve.__private__.getFilters=function(){return T},Po=ve.__private__.putStream=function(P){var je=(P=P||{}).data||"",zt=P.filters||$o(),tr=P.alreadyAppliedFilters||[],wr=P.addLength1||!1,Kr=je.length,ln=P.objectId,Qn=function(Fe){return Fe};if(st!==null&&ln===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");st!==null&&(Qn=xo.encryptor(ln,0));var ae={};zt===!0&&(zt=["FlateEncode"]);var r=P.additionalKeyValues||[],a=(ae=z.API.processDataByFilters!==void 0?z.API.processDataByFilters(je,zt):{data:je,reverseChain:[]}).reverseChain+(Array.isArray(tr)?tr.join(" "):tr.toString());if(ae.data.length!==0&&(r.push({key:"Length",value:ae.data.length}),wr===!0&&r.push({key:"Length1",value:Kr})),a.length!=0)if(a.split("/").length-1==1)r.push({key:"Filter",value:a});else{r.push({key:"Filter",value:"["+a+"]"});for(var l=0;l<r.length;l+=1)if(r[l].key==="DecodeParms"){for(var g=[],H=0;H<ae.reverseChain.split("/").length-1;H+=1)g.push("null");g.push(r[l].value),r[l].value="["+g.join(" ")+"]"}}Lt("<<");for(var se=0;se<r.length;se++)Lt("/"+r[se].key+" "+r[se].value);Lt(">>"),ae.data.length!==0&&(Lt("stream"),Lt(Qn(ae.data)),Lt("endstream"))},Ma=ve.__private__.putPage=function(P){var je=P.number,zt=P.data,tr=P.objId,wr=P.contentsObjId;va(tr,!0),Lt("<</Type /Page"),Lt("/Parent "+P.rootDictionaryObjId+" 0 R"),Lt("/Resources "+P.resourceDictionaryObjId+" 0 R"),Lt("/MediaBox ["+parseFloat(Mt(P.mediaBox.bottomLeftX))+" "+parseFloat(Mt(P.mediaBox.bottomLeftY))+" "+Mt(P.mediaBox.topRightX)+" "+Mt(P.mediaBox.topRightY)+"]"),P.cropBox!==null&&Lt("/CropBox ["+Mt(P.cropBox.bottomLeftX)+" "+Mt(P.cropBox.bottomLeftY)+" "+Mt(P.cropBox.topRightX)+" "+Mt(P.cropBox.topRightY)+"]"),P.bleedBox!==null&&Lt("/BleedBox ["+Mt(P.bleedBox.bottomLeftX)+" "+Mt(P.bleedBox.bottomLeftY)+" "+Mt(P.bleedBox.topRightX)+" "+Mt(P.bleedBox.topRightY)+"]"),P.trimBox!==null&&Lt("/TrimBox ["+Mt(P.trimBox.bottomLeftX)+" "+Mt(P.trimBox.bottomLeftY)+" "+Mt(P.trimBox.topRightX)+" "+Mt(P.trimBox.topRightY)+"]"),P.artBox!==null&&Lt("/ArtBox ["+Mt(P.artBox.bottomLeftX)+" "+Mt(P.artBox.bottomLeftY)+" "+Mt(P.artBox.topRightX)+" "+Mt(P.artBox.topRightY)+"]"),typeof P.userUnit=="number"&&P.userUnit!==1&&Lt("/UserUnit "+P.userUnit),fa.publish("putPage",{objId:tr,pageContext:jn[je],pageNumber:je,page:zt}),Lt("/Contents "+wr+" 0 R"),Lt(">>"),Lt("endobj");var Kr=zt.join(`
|
|
|
`);return Qt===yr&&(Kr+=`
|
|
|
Q`),va(wr,!0),Po({data:Kr,filters:$o(),objectId:wr}),Lt("endobj"),tr},Wo=ve.__private__.putPages=function(){var P,je,zt=[];for(P=1;P<=Cn;P++)jn[P].objId=Wa(),jn[P].contentsObjId=Wa();for(P=1;P<=Cn;P++)zt.push(Ma({number:P,data:Rr[P],objId:jn[P].objId,contentsObjId:jn[P].contentsObjId,mediaBox:jn[P].mediaBox,cropBox:jn[P].cropBox,bleedBox:jn[P].bleedBox,trimBox:jn[P].trimBox,artBox:jn[P].artBox,userUnit:jn[P].userUnit,rootDictionaryObjId:Da,resourceDictionaryObjId:_a}));va(Da,!0),Lt("<</Type /Pages");var tr="/Kids [";for(je=0;je<Cn;je++)tr+=zt[je]+" 0 R ";Lt(tr+"]"),Lt("/Count "+Cn),Lt(">>"),Lt("endobj"),fa.publish("postPutPages")},ho=function(P){fa.publish("putFont",{font:P,out:Lt,newObject:Ba,putStream:Po}),P.isAlreadyPutted!==!0&&(P.objectNumber=Ba(),Lt("<<"),Lt("/Type /Font"),Lt("/BaseFont /"+I(P.postScriptName)),Lt("/Subtype /Type1"),typeof P.encoding=="string"&&Lt("/Encoding /"+P.encoding),Lt("/FirstChar 32"),Lt("/LastChar 255"),Lt(">>"),Lt("endobj"))},jo=function(P){P.objectNumber=Ba();var je=[];je.push({key:"Type",value:"/XObject"}),je.push({key:"Subtype",value:"/Form"}),je.push({key:"BBox",value:"["+[Mt(P.x),Mt(P.y),Mt(P.x+P.width),Mt(P.y+P.height)].join(" ")+"]"}),je.push({key:"Matrix",value:"["+P.matrix.toString()+"]"});var zt=P.pages[1].join(`
|
|
|
`);Po({data:zt,additionalKeyValues:je,objectId:P.objectNumber}),Lt("endobj")},vo=function(P,je){je||(je=21);var zt=Ba(),tr=function(ln,Qn){var ae,r=[],a=1/(Qn-1);for(ae=0;ae<1;ae+=a)r.push(ae);if(r.push(1),ln[0].offset!=0){var l={offset:0,color:ln[0].color};ln.unshift(l)}if(ln[ln.length-1].offset!=1){var g={offset:1,color:ln[ln.length-1].color};ln.push(g)}for(var H="",se=0,Fe=0;Fe<r.length;Fe++){for(ae=r[Fe];ae>ln[se+1].offset;)se++;var tt=ln[se].offset,It=(ae-tt)/(ln[se+1].offset-tt),rr=ln[se].color,pr=ln[se+1].color;H+=ht(Math.round((1-It)*rr[0]+It*pr[0]).toString(16))+ht(Math.round((1-It)*rr[1]+It*pr[1]).toString(16))+ht(Math.round((1-It)*rr[2]+It*pr[2]).toString(16))}return H.trim()}(P.colors,je),wr=[];wr.push({key:"FunctionType",value:"0"}),wr.push({key:"Domain",value:"[0.0 1.0]"}),wr.push({key:"Size",value:"["+je+"]"}),wr.push({key:"BitsPerSample",value:"8"}),wr.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),wr.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Po({data:tr,additionalKeyValues:wr,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:zt}),Lt("endobj"),P.objectNumber=Ba(),Lt("<< /ShadingType "+P.type),Lt("/ColorSpace /DeviceRGB");var Kr="/Coords ["+Mt(parseFloat(P.coords[0]))+" "+Mt(parseFloat(P.coords[1]))+" ";P.type===2?Kr+=Mt(parseFloat(P.coords[2]))+" "+Mt(parseFloat(P.coords[3])):Kr+=Mt(parseFloat(P.coords[2]))+" "+Mt(parseFloat(P.coords[3]))+" "+Mt(parseFloat(P.coords[4]))+" "+Mt(parseFloat(P.coords[5])),Lt(Kr+="]"),P.matrix&&Lt("/Matrix ["+P.matrix.toString()+"]"),Lt("/Function "+zt+" 0 R"),Lt("/Extend [true true]"),Lt(">>"),Lt("endobj")},vi=function(P,je){var zt=Wa(),tr=Ba();je.push({resourcesOid:zt,objectOid:tr}),P.objectNumber=tr;var wr=[];wr.push({key:"Type",value:"/Pattern"}),wr.push({key:"PatternType",value:"1"}),wr.push({key:"PaintType",value:"1"}),wr.push({key:"TilingType",value:"1"}),wr.push({key:"BBox",value:"["+P.boundingBox.map(Mt).join(" ")+"]"}),wr.push({key:"XStep",value:Mt(P.xStep)}),wr.push({key:"YStep",value:Mt(P.yStep)}),wr.push({key:"Resources",value:zt+" 0 R"}),P.matrix&&wr.push({key:"Matrix",value:"["+P.matrix.toString()+"]"}),Po({data:P.stream,additionalKeyValues:wr,objectId:P.objectNumber}),Lt("endobj")},ko=function(P){for(var je in P.objectNumber=Ba(),Lt("<<"),P)switch(je){case"opacity":Lt("/ca "+We(P[je]));break;case"stroke-opacity":Lt("/CA "+We(P[je]))}Lt(">>"),Lt("endobj")},Qo=function(P){va(P.resourcesOid,!0),Lt("<<"),Lt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var je in Lt("/Font <<"),Qr)Qr.hasOwnProperty(je)&&(jt===!1||jt===!0&&At.hasOwnProperty(je))&&Lt("/"+je+" "+Qr[je].objectNumber+" 0 R");Lt(">>")}(),function(){if(Object.keys(En).length>0){for(var je in Lt("/Shading <<"),En)En.hasOwnProperty(je)&&En[je]instanceof w&&En[je].objectNumber>=0&&Lt("/"+je+" "+En[je].objectNumber+" 0 R");fa.publish("putShadingPatternDict"),Lt(">>")}}(),function(je){if(Object.keys(En).length>0){for(var zt in Lt("/Pattern <<"),En)En.hasOwnProperty(zt)&&En[zt]instanceof ve.TilingPattern&&En[zt].objectNumber>=0&&En[zt].objectNumber<je&&Lt("/"+zt+" "+En[zt].objectNumber+" 0 R");fa.publish("putTilingPatternDict"),Lt(">>")}}(P.objectOid),function(){if(Object.keys(Zn).length>0){var je;for(je in Lt("/ExtGState <<"),Zn)Zn.hasOwnProperty(je)&&Zn[je].objectNumber>=0&&Lt("/"+je+" "+Zn[je].objectNumber+" 0 R");fa.publish("putGStateDict"),Lt(">>")}}(),function(){for(var je in Lt("/XObject <<"),Ka)Ka.hasOwnProperty(je)&&Ka[je].objectNumber>=0&&Lt("/"+je+" "+Ka[je].objectNumber+" 0 R");fa.publish("putXobjectDict"),Lt(">>")}(),Lt(">>"),Lt("endobj")},Ei=function(P){mn[P.fontName]=mn[P.fontName]||{},mn[P.fontName][P.fontStyle]=P.id},Lo=function(P,je,zt,tr,wr){var Kr={id:"F"+(Object.keys(Qr).length+1).toString(10),postScriptName:P,fontName:je,fontStyle:zt,encoding:tr,isStandardFont:wr||!1,metadata:{}};return fa.publish("addFont",{font:Kr,instance:this}),Qr[Kr.id]=Kr,Ei(Kr),Kr.id},Uo=ve.__private__.pdfEscape=ve.pdfEscape=function(P,je){return function(zt,tr){var wr,Kr,ln,Qn,ae,r,a,l,g;if(ln=(tr=tr||{}).sourceEncoding||"Unicode",ae=tr.outputEncoding,(tr.autoencode||ae)&&Qr[kn].metadata&&Qr[kn].metadata[ln]&&Qr[kn].metadata[ln].encoding&&(Qn=Qr[kn].metadata[ln].encoding,!ae&&Qr[kn].encoding&&(ae=Qr[kn].encoding),!ae&&Qn.codePages&&(ae=Qn.codePages[0]),typeof ae=="string"&&(ae=Qn[ae]),ae)){for(a=!1,r=[],wr=0,Kr=zt.length;wr<Kr;wr++)(l=ae[zt.charCodeAt(wr)])?r.push(String.fromCharCode(l)):r.push(zt[wr]),r[wr].charCodeAt(0)>>8&&(a=!0);zt=r.join("")}for(wr=zt.length;a===void 0&&wr!==0;)zt.charCodeAt(wr-1)>>8&&(a=!0),wr--;if(!a)return zt;for(r=tr.noBOM?[]:[254,255],wr=0,Kr=zt.length;wr<Kr;wr++){if((g=(l=zt.charCodeAt(wr))>>8)>>8)throw new Error("Character at position "+wr+" of string '"+zt+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");r.push(g),r.push(l-(g<<8))}return String.fromCharCode.apply(void 0,r)}(P,je).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ki=ve.__private__.beginPage=function(P){Rr[++Cn]=[],jn[Cn]={objId:0,contentsObjId:0,userUnit:Number(Z),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(P[0]),topRightY:Number(P[1])}},xi(Cn),Mr(Rr[bt])},bi=function(P,je){var zt,tr,wr;switch(p=je||p,typeof P=="string"&&(zt=gt(P.toLowerCase()),Array.isArray(zt)&&(tr=zt[0],wr=zt[1])),Array.isArray(P)&&(tr=P[0]*aa,wr=P[1]*aa),isNaN(tr)&&(tr=A[0],wr=A[1]),(tr>14400||wr>14400)&&(_.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),tr=Math.min(14400,tr),wr=Math.min(14400,wr)),A=[tr,wr],p.substr(0,1)){case"l":wr>tr&&(A=[wr,tr]);break;case"p":tr>wr&&(A=[wr,tr])}ki(A),Cs(ui),Lt(is),qi!==0&&Lt(qi+" J"),hs!==0&&Lt(hs+" j"),fa.publish("addPage",{pageNumber:Cn})},yi=function(P){P>0&&P<=Cn&&(Rr.splice(P,1),jn.splice(P,1),Cn--,bt>Cn&&(bt=Cn),this.setPage(bt))},xi=function(P){P>0&&P<=Cn&&(bt=P)},Ii=ve.__private__.getNumberOfPages=ve.getNumberOfPages=function(){return Rr.length-1},$a=function(P,je,zt){var tr,wr=void 0;return zt=zt||{},P=P!==void 0?P:Qr[kn].fontName,je=je!==void 0?je:Qr[kn].fontStyle,tr=P.toLowerCase(),mn[tr]!==void 0&&mn[tr][je]!==void 0?wr=mn[tr][je]:mn[P]!==void 0&&mn[P][je]!==void 0?wr=mn[P][je]:zt.disableWarning===!1&&_.warn("Unable to look up font label for font '"+P+"', '"+je+"'. Refer to getFontList() for available fonts."),wr||zt.noFallback||(wr=mn.times[je])==null&&(wr=mn.times.normal),wr},Aa=ve.__private__.putInfo=function(){var P=Ba(),je=function(tr){return tr};for(var zt in st!==null&&(je=xo.encryptor(P,0)),Lt("<<"),Lt("/Producer ("+Uo(je("jsPDF "+z.version))+")"),na)na.hasOwnProperty(zt)&&na[zt]&&Lt("/"+zt.substr(0,1).toUpperCase()+zt.substr(1)+" ("+Uo(je(na[zt]))+")");Lt("/CreationDate ("+Uo(je(cr))+")"),Lt(">>"),Lt("endobj")},fo=ve.__private__.putCatalog=function(P){var je=(P=P||{}).rootDictionaryObjId||Da;switch(Ba(),Lt("<<"),Lt("/Type /Catalog"),Lt("/Pages "+je+" 0 R"),dn||(dn="fullwidth"),dn){case"fullwidth":Lt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Lt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Lt("/OpenAction [3 0 R /Fit]");break;case"original":Lt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var zt=""+dn;zt.substr(zt.length-1)==="%"&&(dn=parseInt(dn)/100),typeof dn=="number"&&Lt("/OpenAction [3 0 R /XYZ null null "+We(dn)+"]")}switch(Xn||(Xn="continuous"),Xn){case"continuous":Lt("/PageLayout /OneColumn");break;case"single":Lt("/PageLayout /SinglePage");break;case"two":case"twoleft":Lt("/PageLayout /TwoColumnLeft");break;case"tworight":Lt("/PageLayout /TwoColumnRight")}Vn&&Lt("/PageMode /"+Vn),fa.publish("putCatalog"),Lt(">>"),Lt("endobj")},Ve=ve.__private__.putTrailer=function(){Lt("trailer"),Lt("<<"),Lt("/Size "+(Jt+1)),Lt("/Root "+Jt+" 0 R"),Lt("/Info "+(Jt-1)+" 0 R"),st!==null&&Lt("/Encrypt "+xo.oid+" 0 R"),Lt("/ID [ <"+gr+"> <"+gr+"> ]"),Lt(">>")},No=ve.__private__.putHeader=function(){Lt("%PDF-"+kt),Lt("%\xBA\xDF\xAC\xE0")},Mo=ve.__private__.putXRef=function(){var P="0000000000";Lt("xref"),Lt("0 "+(Jt+1)),Lt("0000000000 65535 f ");for(var je=1;je<=Jt;je++)typeof dr[je]=="function"?Lt((P+dr[je]()).slice(-10)+" 00000 n "):dr[je]!==void 0?Lt((P+dr[je]).slice(-10)+" 00000 n "):Lt("0000000000 00000 n ")},yo=ve.__private__.buildDocument=function(){var P;Jt=0,Er=0,fr=[],dr=[],Lr=[],Da=Wa(),_a=Wa(),Mr(fr),fa.publish("buildDocument"),No(),Wo(),function(){fa.publish("putAdditionalObjects");for(var zt=0;zt<Lr.length;zt++){var tr=Lr[zt];va(tr.objId,!0),Lt(tr.content),Lt("endobj")}fa.publish("postPutAdditionalObjects")}(),P=[],function(){for(var zt in Qr)Qr.hasOwnProperty(zt)&&(jt===!1||jt===!0&&At.hasOwnProperty(zt))&&ho(Qr[zt])}(),function(){var zt;for(zt in Zn)Zn.hasOwnProperty(zt)&&ko(Zn[zt])}(),function(){for(var zt in Ka)Ka.hasOwnProperty(zt)&&jo(Ka[zt])}(),function(zt){var tr;for(tr in En)En.hasOwnProperty(tr)&&(En[tr]instanceof w?vo(En[tr]):En[tr]instanceof k&&vi(En[tr],zt))}(P),fa.publish("putResources"),P.forEach(Qo),Qo({resourcesOid:_a,objectOid:Number.MAX_SAFE_INTEGER}),fa.publish("postPutResources"),st!==null&&(xo.oid=Ba(),Lt("<<"),Lt("/Filter /Standard"),Lt("/V "+xo.v),Lt("/R "+xo.r),Lt("/U <"+xo.toHexString(xo.U)+">"),Lt("/O <"+xo.toHexString(xo.O)+">"),Lt("/P "+xo.P),Lt(">>"),Lt("endobj")),Aa(),fo();var je=Er;return Mo(),Ve(),Lt("startxref"),Lt(""+je),Lt("%%EOF"),Mr(Rr[bt]),fr.join(`
|
|
|
`)},ao=ve.__private__.getBlob=function(P){return new Blob([da(P)],{type:"application/pdf"})},Zo=ve.output=ve.__private__.output=(Na=function(P,je){switch(typeof(je=je||{})=="string"?je={filename:je}:je.filename=je.filename||"generated.pdf",P){case void 0:return yo();case"save":ve.save(je.filename);break;case"arraybuffer":return da(yo());case"blob":return ao(yo());case"bloburi":case"bloburl":if(q.URL!==void 0&&typeof q.URL.createObjectURL=="function")return q.URL&&q.URL.createObjectURL(ao(yo()))||void 0;_.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var zt="",tr=yo();try{zt=R(tr)}catch(H){zt=R(unescape(encodeURIComponent(tr)))}return"data:application/pdf;filename="+je.filename+";base64,"+zt;case"pdfobjectnewwindow":if(Object.prototype.toString.call(q)==="[object Window]"){var wr="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Kr=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';je.pdfObjectUrl&&(wr=je.pdfObjectUrl,Kr="");var ln='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+wr+'"'+Kr+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(je)+");<\/script></body></html>",Qn=q.open();return Qn!==null&&Qn.document.write(ln),Qn}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(q)==="[object Window]"){var ae='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(je.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+je.filename+'" width="500px" height="400px" /></body></html>',r=q.open();if(r!==null){r.document.write(ae);var a=this;r.document.documentElement.querySelector("#pdfViewer").onload=function(){r.document.title=je.filename,r.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(a.output("bloburl"))}}return r}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(q)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var l='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",je)+'"></iframe></body></html>',g=q.open();if(g!==null&&(g.document.write(l),g.document.title=je.filename),g||typeof safari=="undefined")return g;break;case"datauri":case"dataurl":return q.document.location.href=this.output("datauristring",je);default:return null}},Na.foo=function(){try{return Na.apply(this,arguments)}catch(zt){var P=zt.stack||"";~P.indexOf(" at ")&&(P=P.split(" at ")[1]);var je="Error in function "+P.split(`
|
|
|
`)[0].split("<")[0]+": "+zt.message;if(!q.console)throw new Error(je);q.console.error(je,zt),q.alert&&alert(je)}},Na.foo.bar=Na,Na.foo),zo=function(P){return Array.isArray(qa)===!0&&qa.indexOf(P)>-1};switch(b){case"pt":aa=1;break;case"mm":aa=72/25.4;break;case"cm":aa=72/2.54;break;case"in":aa=72;break;case"px":aa=zo("px_scaling")==1?.75:96/72;break;case"pc":case"em":aa=12;break;case"ex":aa=6;break;default:if(typeof b!="number")throw new Error("Invalid unit: "+b);aa=b}var xo=null;Wt(),Tt();var Vo=ve.__private__.getPageInfo=ve.getPageInfo=function(P){if(isNaN(P)||P%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:jn[P].objId,pageNumber:P,pageContext:jn[P]}},$i=ve.__private__.getPageInfoByObjId=function(P){if(isNaN(P)||P%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var je in jn)if(jn[je].objId===P)break;return Vo(je)},Hi=ve.__private__.getCurrentPageInfo=ve.getCurrentPageInfo=function(){return{objId:jn[bt].objId,pageNumber:bt,pageContext:jn[bt]}};ve.addPage=function(){return bi.apply(this,arguments),this},ve.setPage=function(){return xi.apply(this,arguments),Mr.call(this,Rr[bt]),this},ve.insertPage=function(P){return this.addPage(),this.movePage(bt,P),this},ve.movePage=function(P,je){var zt,tr;if(P>je){zt=Rr[P],tr=jn[P];for(var wr=P;wr>je;wr--)Rr[wr]=Rr[wr-1],jn[wr]=jn[wr-1];Rr[je]=zt,jn[je]=tr,this.setPage(je)}else if(P<je){zt=Rr[P],tr=jn[P];for(var Kr=P;Kr<je;Kr++)Rr[Kr]=Rr[Kr+1],jn[Kr]=jn[Kr+1];Rr[je]=zt,jn[je]=tr,this.setPage(je)}return this},ve.deletePage=function(){return yi.apply(this,arguments),this},ve.__private__.text=ve.text=function(P,je,zt,tr,wr){var Kr,ln,Qn,ae,r,a,l,g,H,se=(tr=tr||{}).scope||this;if(typeof P=="number"&&typeof je=="number"&&(typeof zt=="string"||Array.isArray(zt))){var Fe=zt;zt=je,je=P,P=Fe}if(arguments[3]instanceof ma==0?(Qn=arguments[4],ae=arguments[5],(0,o.Z)(l=arguments[3])==="object"&&l!==null||(typeof Qn=="string"&&(ae=Qn,Qn=null),typeof l=="string"&&(ae=l,l=null),typeof l=="number"&&(Qn=l,l=null),tr={flags:l,angle:Qn,align:ae})):(Ot("The transform parameter of text() with a Matrix value"),H=wr),isNaN(je)||isNaN(zt)||P==null)throw new Error("Invalid arguments passed to jsPDF.text");if(P.length===0)return se;var tt,It="",rr=typeof tr.lineHeightFactor=="number"?tr.lineHeightFactor:Ai,pr=se.internal.scaleFactor;function kr(Fa){return Fa=Fa.split(" ").join(Array(tr.TabLen||9).join(" ")),Uo(Fa,l)}function rn(Fa){for(var oo,Co=Fa.concat(),So=[],Ki=Co.length;Ki--;)typeof(oo=Co.shift())=="string"?So.push(oo):Array.isArray(Fa)&&(oo.length===1||oo[1]===void 0&&oo[2]===void 0)?So.push(oo[0]):So.push([oo[0],oo[1],oo[2]]);return So}function hn(Fa,oo){var Co;if(typeof Fa=="string")Co=oo(Fa)[0];else if(Array.isArray(Fa)){for(var So,Ki,Xi=Fa.concat(),Ti=[],gs=Xi.length;gs--;)typeof(So=Xi.shift())=="string"?Ti.push(oo(So)[0]):Array.isArray(So)&&typeof So[0]=="string"&&(Ki=oo(So[0],So[1],So[2]),Ti.push([Ki[0],Ki[1],Ki[2]]));Co=Ti}return Co}var In=!1,Un=!0;if(typeof P=="string")In=!0;else if(Array.isArray(P)){var Ca=P.concat();ln=[];for(var Ia,c=Ca.length;c--;)(typeof(Ia=Ca.shift())!="string"||Array.isArray(Ia)&&typeof Ia[0]!="string")&&(Un=!1);In=Un}if(In===!1)throw new Error('Type of text must be string or Array. "'+P+'" is not recognized.');typeof P=="string"&&(P=P.match(/[\r?\n]/)?P.split(/\r\n|\r|\n/g):[P]);var e=an/se.internal.scaleFactor,t=e*(rr-1);switch(tr.baseline){case"bottom":zt-=t;break;case"top":zt+=e-t;break;case"hanging":zt+=e-2*t;break;case"middle":zt+=e/2-t}if((a=tr.maxWidth||0)>0&&(typeof P=="string"?P=se.splitTextToSize(P,a):Object.prototype.toString.call(P)==="[object Array]"&&(P=P.reduce(function(Fa,oo){return Fa.concat(se.splitTextToSize(oo,a))},[]))),Kr={text:P,x:je,y:zt,options:tr,mutex:{pdfEscape:Uo,activeFontKey:kn,fonts:Qr,activeFontSize:an}},fa.publish("preProcessText",Kr),P=Kr.text,Qn=(tr=Kr.options).angle,H instanceof ma==0&&Qn&&typeof Qn=="number"){Qn*=Math.PI/180,tr.rotationDirection===0&&(Qn=-Qn),Qt===yr&&(Qn=-Qn);var d=Math.cos(Qn),O=Math.sin(Qn);H=new ma(d,O,-O,d,0,0)}else Qn&&Qn instanceof ma&&(H=Qn);Qt!==yr||H||(H=ja),(r=tr.charSpace||Vi)!==void 0&&(It+=Mt(wt(r))+` Tc
|
|
|
`,this.setCharSpace(this.getCharSpace()||0)),(g=tr.horizontalScale)!==void 0&&(It+=Mt(100*g)+` Tz
|
|
|
`),tr.lang;var V=-1,Oe=tr.renderingMode!==void 0?tr.renderingMode:tr.stroke,Ke=se.internal.getCurrentPageInfo().pageContext;switch(Oe){case 0:case!1:case"fill":V=0;break;case 1:case!0:case"stroke":V=1;break;case 2:case"fillThenStroke":V=2;break;case 3:case"invisible":V=3;break;case 4:case"fillAndAddForClipping":V=4;break;case 5:case"strokeAndAddPathForClipping":V=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":V=6;break;case 7:case"addToPathForClipping":V=7}var Ye=Ke.usedRenderingMode!==void 0?Ke.usedRenderingMode:-1;V!==-1?It+=V+` Tr
|
|
|
`:Ye!==-1&&(It+=`0 Tr
|
|
|
`),V!==-1&&(Ke.usedRenderingMode=V),ae=tr.align||"left";var Kt,ur=an*rr,xr=se.internal.pageSize.getWidth(),Fr=Qr[kn];r=tr.charSpace||Vi,a=tr.maxWidth||0,l=Object.assign({autoencode:!0,noBOM:!0},tr.flags);var Hr=[],un=function(Fa){return se.getStringUnitWidth(Fa,{font:Fr,charSpace:r,fontSize:an,doKerning:!1})*an/pr};if(Object.prototype.toString.call(P)==="[object Array]"){var bn;ln=rn(P),ae!=="left"&&(Kt=ln.map(un));var Nn,Mn=0;if(ae==="right"){je-=Kt[0],P=[],c=ln.length;for(var oa=0;oa<c;oa++)oa===0?(Nn=ai(je),bn=di(zt)):(Nn=wt(Mn-Kt[oa]),bn=-ur),P.push([ln[oa],Nn,bn]),Mn=Kt[oa]}else if(ae==="center"){je-=Kt[0]/2,P=[],c=ln.length;for(var ya=0;ya<c;ya++)ya===0?(Nn=ai(je),bn=di(zt)):(Nn=wt((Mn-Kt[ya])/2),bn=-ur),P.push([ln[ya],Nn,bn]),Mn=Kt[ya]}else if(ae==="left"){P=[],c=ln.length;for(var Ua=0;Ua<c;Ua++)P.push(ln[Ua])}else if(ae==="justify"&&Fr.encoding==="Identity-H"){P=[],c=ln.length,a=a!==0?a:xr;for(var Pa=0,Oa=0;Oa<c;Oa++)if(bn=Oa===0?di(zt):-ur,Nn=Oa===0?ai(je):Pa,Oa<c-1){var Ga=wt((a-Kt[Oa])/(ln[Oa].split(" ").length-1)),Ya=ln[Oa].split(" ");P.push([Ya[0]+" ",Nn,bn]),Pa=0;for(var Ra=1;Ra<Ya.length;Ra++){var Jo=(un(Ya[Ra-1]+" "+Ya[Ra])-un(Ya[Ra]))*pr+Ga;Ra==Ya.length-1?P.push([Ya[Ra],Jo,0]):P.push([Ya[Ra]+" ",Jo,0]),Pa-=Jo}}else P.push([ln[Oa],Nn,bn]);P.push(["",Pa,0])}else{if(ae!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(P=[],c=ln.length,a=a!==0?a:xr,Oa=0;Oa<c;Oa++){bn=Oa===0?di(zt):-ur,Nn=Oa===0?ai(je):0;var Io=ln[Oa].split(" ").length-1,go=Io>0?(a-Kt[Oa])/Io:0;Oa<c-1?Hr.push(Mt(wt(go))):Hr.push(0),P.push([ln[Oa],Nn,bn])}}}(typeof tr.R2L=="boolean"?tr.R2L:sa)===!0&&(P=hn(P,function(Fa,oo,Co){return[Fa.split("").reverse().join(""),oo,Co]})),Kr={text:P,x:je,y:zt,options:tr,mutex:{pdfEscape:Uo,activeFontKey:kn,fonts:Qr,activeFontSize:an}},fa.publish("postProcessText",Kr),P=Kr.text,tt=Kr.mutex.isHex||!1;var qo=Qr[kn].encoding;qo!=="WinAnsiEncoding"&&qo!=="StandardEncoding"||(P=hn(P,function(Fa,oo,Co){return[kr(Fa),oo,Co]})),ln=rn(P),P=[];for(var Ao,Ho,ei,wi=Array.isArray(ln[0])?1:0,fi="",es=function(Fa,oo,Co){var So="";return Co instanceof ma?(Co=typeof tr.angle=="number"?Eo(Co,new ma(1,0,0,1,Fa,oo)):Eo(new ma(1,0,0,1,Fa,oo),Co),Qt===yr&&(Co=Eo(new ma(1,0,0,-1,0,0),Co)),So=Co.join(" ")+` Tm
|
|
|
`):So=Mt(Fa)+" "+Mt(oo)+` Td
|
|
|
`,So},Do=0;Do<ln.length;Do++){switch(fi="",wi){case 1:ei=(tt?"<":"(")+ln[Do][0]+(tt?">":")"),Ao=parseFloat(ln[Do][1]),Ho=parseFloat(ln[Do][2]);break;case 0:ei=(tt?"<":"(")+ln[Do]+(tt?">":")"),Ao=ai(je),Ho=di(zt)}Hr!==void 0&&Hr[Do]!==void 0&&(fi=Hr[Do]+` Tw
|
|
|
`),Do===0?P.push(fi+es(Ao,Ho,H)+ei):wi===0?P.push(fi+ei):wi===1&&P.push(fi+es(Ao,Ho,H)+ei)}P=wi===0?P.join(` Tj
|
|
|
T* `):P.join(` Tj
|
|
|
`),P+=` Tj
|
|
|
`;var Go=`BT
|
|
|
/`;return Go+=kn+" "+an+` Tf
|
|
|
`,Go+=Mt(an*rr)+` TL
|
|
|
`,Go+=Pi+`
|
|
|
`,Go+=It,Go+=P,Lt(Go+="ET"),At[kn]=!0,se};var xs=ve.__private__.clip=ve.clip=function(P){return Lt(P==="evenodd"?"W*":"W"),this};ve.clipEvenOdd=function(){return xs("evenodd")},ve.__private__.discardPath=ve.discardPath=function(){return Lt("n"),this};var ii=ve.__private__.isValidStyle=function(P){var je=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(P)!==-1&&(je=!0),je};ve.__private__.setDefaultPathOperation=ve.setDefaultPathOperation=function(P){return ii(P)&&(Ae=P),this};var as=ve.__private__.getStyle=ve.getStyle=function(P){var je=Ae;switch(P){case"D":case"S":je="S";break;case"F":je="f";break;case"FD":case"DF":je="B";break;case"f":case"f*":case"B":case"B*":je=P}return je},cs=ve.close=function(){return Lt("h"),this};ve.stroke=function(){return Lt("S"),this},ve.fill=function(P){return si("f",P),this},ve.fillEvenOdd=function(P){return si("f*",P),this},ve.fillStroke=function(P){return si("B",P),this},ve.fillStrokeEvenOdd=function(P){return si("B*",P),this};var si=function(P,je){(0,o.Z)(je)==="object"?us(je,P):Lt(P)},Wi=function(P){P===null||Qt===yr&&P===void 0||(P=as(P),Lt(P))};function Ss(P,je,zt,tr,wr){var Kr=new k(je||this.boundingBox,zt||this.xStep,tr||this.yStep,this.gState,wr||this.matrix);Kr.stream=this.stream;var ln=P+"$$"+this.cloneIndex+++"$$";return Ta(ln,Kr),Kr}var us=function(P,je){var zt=ha[P.key],tr=En[zt];if(tr instanceof w)Lt("q"),Lt(ws(je)),tr.gState&&ve.setGState(tr.gState),Lt(P.matrix.toString()+" cm"),Lt("/"+zt+" sh"),Lt("Q");else if(tr instanceof k){var wr=new ma(1,0,0,-1,0,Qi());P.matrix&&(wr=wr.multiply(P.matrix||ja),zt=Ss.call(tr,P.key,P.boundingBox,P.xStep,P.yStep,wr).id),Lt("q"),Lt("/Pattern cs"),Lt("/"+zt+" scn"),tr.gState&&ve.setGState(tr.gState),Lt(je),Lt("Q")}},ws=function(P){switch(P){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},os=ve.moveTo=function(P,je){return Lt(Mt(wt(P))+" "+Mt(ut(je))+" m"),this},li=ve.lineTo=function(P,je){return Lt(Mt(wt(P))+" "+Mt(ut(je))+" l"),this},ci=ve.curveTo=function(P,je,zt,tr,wr,Kr){return Lt([Mt(wt(P)),Mt(ut(je)),Mt(wt(zt)),Mt(ut(tr)),Mt(wt(wr)),Mt(ut(Kr)),"c"].join(" ")),this};ve.__private__.line=ve.line=function(P,je,zt,tr,wr){if(isNaN(P)||isNaN(je)||isNaN(zt)||isNaN(tr)||!ii(wr))throw new Error("Invalid arguments passed to jsPDF.line");return Qt===ar?this.lines([[zt-P,tr-je]],P,je,[1,1],wr||"S"):this.lines([[zt-P,tr-je]],P,je,[1,1]).stroke()},ve.__private__.lines=ve.lines=function(P,je,zt,tr,wr,Kr){var ln,Qn,ae,r,a,l,g,H,se,Fe,tt,It;if(typeof P=="number"&&(It=zt,zt=je,je=P,P=It),tr=tr||[1,1],Kr=Kr||!1,isNaN(je)||isNaN(zt)||!Array.isArray(P)||!Array.isArray(tr)||!ii(wr)||typeof Kr!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(os(je,zt),ln=tr[0],Qn=tr[1],r=P.length,Fe=je,tt=zt,ae=0;ae<r;ae++)(a=P[ae]).length===2?(Fe=a[0]*ln+Fe,tt=a[1]*Qn+tt,li(Fe,tt)):(l=a[0]*ln+Fe,g=a[1]*Qn+tt,H=a[2]*ln+Fe,se=a[3]*Qn+tt,Fe=a[4]*ln+Fe,tt=a[5]*Qn+tt,ci(l,g,H,se,Fe,tt));return Kr&&cs(),Wi(wr),this},ve.path=function(P){for(var je=0;je<P.length;je++){var zt=P[je],tr=zt.c;switch(zt.op){case"m":os(tr[0],tr[1]);break;case"l":li(tr[0],tr[1]);break;case"c":ci.apply(this,tr);break;case"h":cs()}}return this},ve.__private__.rect=ve.rect=function(P,je,zt,tr,wr){if(isNaN(P)||isNaN(je)||isNaN(zt)||isNaN(tr)||!ii(wr))throw new Error("Invalid arguments passed to jsPDF.rect");return Qt===ar&&(tr=-tr),Lt([Mt(wt(P)),Mt(ut(je)),Mt(wt(zt)),Mt(wt(tr)),"re"].join(" ")),Wi(wr),this},ve.__private__.triangle=ve.triangle=function(P,je,zt,tr,wr,Kr,ln){if(isNaN(P)||isNaN(je)||isNaN(zt)||isNaN(tr)||isNaN(wr)||isNaN(Kr)||!ii(ln))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[zt-P,tr-je],[wr-zt,Kr-tr],[P-wr,je-Kr]],P,je,[1,1],ln,!0),this},ve.__private__.roundedRect=ve.roundedRect=function(P,je,zt,tr,wr,Kr,ln){if(isNaN(P)||isNaN(je)||isNaN(zt)||isNaN(tr)||isNaN(wr)||isNaN(Kr)||!ii(ln))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Qn=4/3*(Math.SQRT2-1);return wr=Math.min(wr,.5*zt),Kr=Math.min(Kr,.5*tr),this.lines([[zt-2*wr,0],[wr*Qn,0,wr,Kr-Kr*Qn,wr,Kr],[0,tr-2*Kr],[0,Kr*Qn,-wr*Qn,Kr,-wr,Kr],[2*wr-zt,0],[-wr*Qn,0,-wr,-Kr*Qn,-wr,-Kr],[0,2*Kr-tr],[0,-Kr*Qn,wr*Qn,-Kr,wr,-Kr]],P+wr,je,[1,1],ln,!0),this},ve.__private__.ellipse=ve.ellipse=function(P,je,zt,tr,wr){if(isNaN(P)||isNaN(je)||isNaN(zt)||isNaN(tr)||!ii(wr))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Kr=4/3*(Math.SQRT2-1)*zt,ln=4/3*(Math.SQRT2-1)*tr;return os(P+zt,je),ci(P+zt,je-ln,P+Kr,je-tr,P,je-tr),ci(P-Kr,je-tr,P-zt,je-ln,P-zt,je),ci(P-zt,je+ln,P-Kr,je+tr,P,je+tr),ci(P+Kr,je+tr,P+zt,je+ln,P+zt,je),Wi(wr),this},ve.__private__.circle=ve.circle=function(P,je,zt,tr){if(isNaN(P)||isNaN(je)||isNaN(zt)||!ii(tr))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(P,je,zt,zt,tr)},ve.setFont=function(P,je,zt){return zt&&(je=Vt(je,zt)),kn=$a(P,je,{disableWarning:!1}),this};var ds=ve.__private__.getFont=ve.getFont=function(){return Qr[$a.apply(ve,arguments)]};ve.__private__.getFontList=ve.getFontList=function(){var P,je,zt={};for(P in mn)if(mn.hasOwnProperty(P))for(je in zt[P]=[],mn[P])mn[P].hasOwnProperty(je)&&zt[P].push(je);return zt},ve.addFont=function(P,je,zt,tr,wr){var Kr=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&Kr.indexOf(arguments[3])!==-1?wr=arguments[3]:arguments[3]&&Kr.indexOf(arguments[3])==-1&&(zt=Vt(zt,tr)),Lo.call(this,P,je,zt,wr=wr||"Identity-H")};var Ai,ui=f.lineWidth||.200025,Ea=ve.__private__.getLineWidth=ve.getLineWidth=function(){return ui},Cs=ve.__private__.setLineWidth=ve.setLineWidth=function(P){return ui=P,Lt(Mt(wt(P))+" w"),this};ve.__private__.setLineDash=z.API.setLineDash=z.API.setLineDashPattern=function(P,je){if(P=P||[],je=je||0,isNaN(je)||!Array.isArray(P))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return P=P.map(function(zt){return Mt(wt(zt))}).join(" "),je=Mt(wt(je)),Lt("["+P+"] "+je+" d"),this};var Os=ve.__private__.getLineHeight=ve.getLineHeight=function(){return an*Ai};ve.__private__.getLineHeight=ve.getLineHeight=function(){return an*Ai};var Es=ve.__private__.setLineHeightFactor=ve.setLineHeightFactor=function(P){return typeof(P=P||1.15)=="number"&&(Ai=P),this},Ji=ve.__private__.getLineHeightFactor=ve.getLineHeightFactor=function(){return Ai};Es(f.lineHeight);var ai=ve.__private__.getHorizontalCoordinate=function(P){return wt(P)},di=ve.__private__.getVerticalCoordinate=function(P){return Qt===yr?P:jn[bt].mediaBox.topRightY-jn[bt].mediaBox.bottomLeftY-wt(P)},Ls=ve.__private__.getHorizontalCoordinateString=ve.getHorizontalCoordinateString=function(P){return Mt(ai(P))},Is=ve.__private__.getVerticalCoordinateString=ve.getVerticalCoordinateString=function(P){return Mt(di(P))},is=f.strokeColor||"0 G";ve.__private__.getStrokeColor=ve.getDrawColor=function(){return no(is)},ve.__private__.setStrokeColor=ve.setDrawColor=function(P,je,zt,tr){return is=lo({ch1:P,ch2:je,ch3:zt,ch4:tr,pdfColorType:"draw",precision:2}),Lt(is),this};var Ui=f.fillColor||"0 g";ve.__private__.getFillColor=ve.getFillColor=function(){return no(Ui)},ve.__private__.setFillColor=ve.setFillColor=function(P,je,zt,tr){return Ui=lo({ch1:P,ch2:je,ch3:zt,ch4:tr,pdfColorType:"fill",precision:2}),Lt(Ui),this};var Pi=f.textColor||"0 g",Zi=ve.__private__.getTextColor=ve.getTextColor=function(){return no(Pi)};ve.__private__.setTextColor=ve.setTextColor=function(P,je,zt,tr){return Pi=lo({ch1:P,ch2:je,ch3:zt,ch4:tr,pdfColorType:"text",precision:3}),this};var Vi=f.charSpace,$s=ve.__private__.getCharSpace=ve.getCharSpace=function(){return parseFloat(Vi||0)};ve.__private__.setCharSpace=ve.setCharSpace=function(P){if(isNaN(P))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Vi=P,this};var qi=0;ve.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},ve.__private__.setLineCap=ve.setLineCap=function(P){var je=ve.CapJoinStyles[P];if(je===void 0)throw new Error("Line cap style of '"+P+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return qi=je,Lt(je+" J"),this};var hs=0;ve.__private__.setLineJoin=ve.setLineJoin=function(P){var je=ve.CapJoinStyles[P];if(je===void 0)throw new Error("Line join style of '"+P+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return hs=je,Lt(je+" j"),this},ve.__private__.setLineMiterLimit=ve.__private__.setMiterLimit=ve.setLineMiterLimit=ve.setMiterLimit=function(P){if(P=P||0,isNaN(P))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return Lt(Mt(wt(P))+" M"),this},ve.GState=ce,ve.setGState=function(P){(P=typeof P=="string"?Zn[Ha[P]]:ft(null,P)).equals(Ja)||(Lt("/"+P.id+" gs"),Ja=P)};var ft=function(P,je){if(!P||!Ha[P]){var zt=!1;for(var tr in Zn)if(Zn.hasOwnProperty(tr)&&Zn[tr].equals(je)){zt=!0;break}if(zt)je=Zn[tr];else{var wr="GS"+(Object.keys(Zn).length+1).toString(10);Zn[wr]=je,je.id=wr}return P&&(Ha[P]=je.id),fa.publish("addGState",je),je}};ve.addGState=function(P,je){return ft(P,je),this},ve.saveGraphicsState=function(){return Lt("q"),ca.push({key:kn,size:an,color:Pi}),this},ve.restoreGraphicsState=function(){Lt("Q");var P=ca.pop();return kn=P.key,an=P.size,Pi=P.color,Ja=null,this},ve.setCurrentTransformationMatrix=function(P){return Lt(P.toString()+" cm"),this},ve.comment=function(P){return Lt("#"+P),this};var ji=function(P,je){var zt=P||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return zt},set:function(Kr){isNaN(Kr)||(zt=parseFloat(Kr))}});var tr=je||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return tr},set:function(Kr){isNaN(Kr)||(tr=parseFloat(Kr))}});var wr="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return wr},set:function(Kr){wr=Kr.toString()}}),this},Yo=function(P,je,zt,tr){ji.call(this,P,je),this.type="rect";var wr=zt||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return wr},set:function(ln){isNaN(ln)||(wr=parseFloat(ln))}});var Kr=tr||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return Kr},set:function(ln){isNaN(ln)||(Kr=parseFloat(ln))}}),this},Ni=function(){this.page=Cn,this.currentPage=bt,this.pages=Rr.slice(0),this.pagesContext=jn.slice(0),this.x=Fn,this.y=Ln,this.matrix=_n,this.width=fs(bt),this.height=hi(bt),this.outputDestination=wn,this.id="",this.objectNumber=-1};Ni.prototype.restore=function(){Cn=this.page,bt=this.currentPage,jn=this.pagesContext,Rr=this.pages,Fn=this.x,Ln=this.y,_n=this.matrix,ms(bt,this.width),Si(bt,this.height),wn=this.outputDestination};var ss=function(P,je,zt,tr,wr){uo.push(new Ni),Cn=bt=0,Rr=[],Fn=P,Ln=je,_n=wr,ki([zt,tr])};for(var Mi in ve.beginFormObject=function(P,je,zt,tr,wr){return ss(P,je,zt,tr,wr),this},ve.endFormObject=function(P){return function(je){if(co[je])uo.pop().restore();else{var zt=new Ni,tr="Xo"+(Object.keys(Ka).length+1).toString(10);zt.id=tr,co[je]=tr,Ka[tr]=zt,fa.publish("addFormObject",zt),uo.pop().restore()}}(P),this},ve.doFormObject=function(P,je){var zt=Ka[co[P]];return Lt("q"),Lt(je.toString()+" cm"),Lt("/"+zt.id+" Do"),Lt("Q"),this},ve.getFormObject=function(P){var je=Ka[co[P]];return{x:je.x,y:je.y,width:je.width,height:je.height,matrix:je.matrix}},ve.save=function(P,je){return P=P||"generated.pdf",(je=je||{}).returnPromise=je.returnPromise||!1,je.returnPromise===!1?(B(ao(yo()),P),typeof B.unload=="function"&&q.setTimeout&&setTimeout(B.unload,911),this):new Promise(function(zt,tr){try{var wr=B(ao(yo()),P);typeof B.unload=="function"&&q.setTimeout&&setTimeout(B.unload,911),zt(wr)}catch(Kr){tr(Kr.message)}})},z.API)z.API.hasOwnProperty(Mi)&&(Mi==="events"&&z.API.events.length?function(P,je){var zt,tr,wr;for(wr=je.length-1;wr!==-1;wr--)zt=je[wr][0],tr=je[wr][1],P.subscribe.apply(P,[zt].concat(typeof tr=="function"?[tr]:tr))}(fa,z.API.events):ve[Mi]=z.API[Mi]);function fs(P){return jn[P].mediaBox.topRightX-jn[P].mediaBox.bottomLeftX}function ms(P,je){jn[P].mediaBox.topRightX=je+jn[P].mediaBox.bottomLeftX}function hi(P){return jn[P].mediaBox.topRightY-jn[P].mediaBox.bottomLeftY}function Si(P,je){jn[P].mediaBox.topRightY=je+jn[P].mediaBox.bottomLeftY}var ps=ve.getPageWidth=function(P){return fs(P=P||bt)/aa},Gi=ve.setPageWidth=function(P,je){ms(P,je*aa)},Qi=ve.getPageHeight=function(P){return hi(P=P||bt)/aa},ls=ve.setPageHeight=function(P,je){Si(P,je*aa)};return ve.internal={pdfEscape:Uo,getStyle:as,getFont:ds,getFontSize:Gr,getCharSpace:$s,getTextColor:Zi,getLineHeight:Os,getLineHeightFactor:Ji,getLineWidth:Ea,write:ba,getHorizontalCoordinate:ai,getVerticalCoordinate:di,getCoordinateString:Ls,getVerticalCoordinateString:Is,collections:{},newObject:Ba,newAdditionalObject:Xa,newObjectDeferred:Wa,newObjectDeferredBegin:va,getFilters:$o,putStream:Po,events:fa,scaleFactor:aa,pageSize:{getWidth:function(){return ps(bt)},setWidth:function(P){Gi(bt,P)},getHeight:function(){return Qi(bt)},setHeight:function(P){ls(bt,P)}},encryptionOptions:st,encryption:xo,getEncryptor:function(P){return st!==null?xo.encryptor(P,0):function(je){return je}},output:Zo,getNumberOfPages:Ii,pages:Rr,out:Lt,f2:We,f3:ze,getPageInfo:Vo,getPageInfoByObjId:$i,getCurrentPageInfo:Hi,getPDFVersion:Ge,Point:ji,Rectangle:Yo,Matrix:ma,hasHotfix:zo},Object.defineProperty(ve.internal.pageSize,"width",{get:function(){return ps(bt)},set:function(P){Gi(bt,P)},enumerable:!0,configurable:!0}),Object.defineProperty(ve.internal.pageSize,"height",{get:function(){return Qi(bt)},set:function(P){ls(bt,P)},enumerable:!0,configurable:!0}),function(P){for(var je=0,zt=Hn.length;je<zt;je++){var tr=Lo.call(this,P[je][0],P[je][1],P[je][2],Hn[je][3],!0);jt===!1&&(At[tr]=!0);var wr=P[je][0].split("-");Ei({id:tr,fontName:wr[0],fontStyle:wr[1]||""})}fa.publish("addFonts",{fonts:Qr,dictionary:mn})}.call(ve,Hn),kn="F1",bi(A,p),fa.publish("initialized"),ve}N.prototype.lsbFirstWord=function(f){return String.fromCharCode(255&f,f>>8&255,f>>16&255,f>>24&255)},N.prototype.toHexString=function(f){return f.split("").map(function(s){return("0"+(255&s.charCodeAt(0)).toString(16)).slice(-2)}).join("")},N.prototype.hexToBytes=function(f){for(var s=[],p=0;p<f.length;p+=2)s.push(String.fromCharCode(parseInt(f.substr(p,2),16)));return s.join("")},N.prototype.processOwnerPassword=function(f,s){return Q(Ze(s).substr(0,5),f)},N.prototype.encryptor=function(f,s){var p=Ze(this.encryptionKey+String.fromCharCode(255&f,f>>8&255,f>>16&255,255&s,s>>8&255)).substr(0,10);return function(b){return Q(p,b)}},ce.prototype.equals=function(f){var s,p="id,objectNumber,equals";if(!f||(0,o.Z)(f)!==(0,o.Z)(this))return!1;var b=0;for(s in this)if(!(p.indexOf(s)>=0)){if(this.hasOwnProperty(s)&&!f.hasOwnProperty(s)||this[s]!==f[s])return!1;b++}for(s in f)f.hasOwnProperty(s)&&p.indexOf(s)<0&&b--;return b===0},z.API={events:[]},z.version="3.0.3";var C=z.API,Y=1,He=function(f){return f.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},pe=function(f){return f.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Ue=function(f){return f.toFixed(2)},ot=function(f){return f.toFixed(5)};C.__acroform__={};var ct=function(f,s){f.prototype=Object.create(s.prototype),f.prototype.constructor=f},ue=function(f){return f*Y},Le=function(f){var s=new Gt,p=St.internal.getHeight(f)||0,b=St.internal.getWidth(f)||0;return s.BBox=[0,0,Number(Ue(b)),Number(Ue(p))],s},Ct=C.__acroform__.setBit=function(f,s){if(f=f||0,s=s||0,isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return f|1<<s},ke=C.__acroform__.clearBit=function(f,s){if(f=f||0,s=s||0,isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return f&~(1<<s)},De=C.__acroform__.getBit=function(f,s){if(isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return f&1<<s?1:0},j=C.__acroform__.getBitForPdf=function(f,s){if(isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return De(f,s-1)},_e=C.__acroform__.setBitForPdf=function(f,s){if(isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Ct(f,s-1)},be=C.__acroform__.clearBitForPdf=function(f,s){if(isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return ke(f,s-1)},fe=C.__acroform__.calculateCoordinates=function(f,s){var p=s.internal.getHorizontalCoordinate,b=s.internal.getVerticalCoordinate,A=f[0],v=f[1],T=f[2],Z=f[3],re={};return re.lowerLeft_X=p(A)||0,re.lowerLeft_Y=b(v+Z)||0,re.upperRight_X=p(A+T)||0,re.upperRight_Y=b(v)||0,[Number(Ue(re.lowerLeft_X)),Number(Ue(re.lowerLeft_Y)),Number(Ue(re.upperRight_X)),Number(Ue(re.upperRight_Y))]},he=function(f){if(f.appearanceStreamContent)return f.appearanceStreamContent;if(f.V||f.DV){var s=[],p=f._V||f.DV,b=me(f,p),A=f.scope.internal.getFont(f.fontName,f.fontStyle).id;s.push("/Tx BMC"),s.push("q"),s.push("BT"),s.push(f.scope.__private__.encodeColorString(f.color)),s.push("/"+A+" "+Ue(b.fontSize)+" Tf"),s.push("1 0 0 1 0 0 Tm"),s.push(b.text),s.push("ET"),s.push("Q"),s.push("EMC");var v=Le(f);return v.scope=f.scope,v.stream=s.join(`
|
|
|
`),v}},me=function(f,s){var p=f.fontSize===0?f.maxFontSize:f.fontSize,b={text:"",fontSize:""},A=(s=(s=s.substr(0,1)=="("?s.substr(1):s).substr(s.length-1)==")"?s.substr(0,s.length-1):s).split(" ");A=f.multiline?A.map(function(We){return We.split(`
|
|
|
`)}):A.map(function(We){return[We]});var v=p,T=St.internal.getHeight(f)||0;T=T<0?-T:T;var Z=St.internal.getWidth(f)||0;Z=Z<0?-Z:Z;var re=function(We,ze,wt){if(We+1<A.length){var ut=ze+" "+A[We+1][0];return Ie(ut,f,wt).width<=Z-4}return!1};v++;e:for(;v>0;){s="",v--;var Ae,st,jt=Ie("3",f,v).height,At=f.multiline?T-v:(T-jt)/2,ve=At+=2,kt=0,Ge=0,Zt=0;if(v<=0){s=`(...) Tj
|
|
|
`,s+="% Width of Text: "+Ie(s,f,v=12).width+", FieldWidth:"+Z+`
|
|
|
`;break}for(var gt="",ar=0,yr=0;yr<A.length;yr++)if(A.hasOwnProperty(yr)){var Qt=!1;if(A[yr].length!==1&&Zt!==A[yr].length-1){if((jt+2)*(ar+2)+2>T)continue e;gt+=A[yr][Zt],Qt=!0,Ge=yr,yr--}else{gt=(gt+=A[yr][Zt]+" ").substr(gt.length-1)==" "?gt.substr(0,gt.length-1):gt;var at=parseInt(yr),Ce=re(at,gt,v),Vt=yr>=A.length-1;if(Ce&&!Vt){gt+=" ",Zt=0;continue}if(Ce||Vt){if(Vt)Ge=at;else if(f.multiline&&(jt+2)*(ar+2)+2>T)continue e}else{if(!f.multiline||(jt+2)*(ar+2)+2>T)continue e;Ge=at}}for(var Mt="",Ot=kt;Ot<=Ge;Ot++){var qt=A[Ot];if(f.multiline){if(Ot===Ge){Mt+=qt[Zt]+" ",Zt=(Zt+1)%qt.length;continue}if(Ot===kt){Mt+=qt[qt.length-1]+" ";continue}}Mt+=qt[0]+" "}switch(Mt=Mt.substr(Mt.length-1)==" "?Mt.substr(0,Mt.length-1):Mt,st=Ie(Mt,f,v).width,f.textAlign){case"right":Ae=Z-st-2;break;case"center":Ae=(Z-st)/2;break;default:Ae=2}s+=Ue(Ae)+" "+Ue(ve)+` Td
|
|
|
`,s+="("+He(Mt)+`) Tj
|
|
|
`,s+=-Ue(Ae)+` 0 Td
|
|
|
`,ve=-(v+2),st=0,kt=Qt?Ge:Ge+1,ar++,gt=""}break}return b.text=s,b.fontSize=v,b},Ie=function(f,s,p){var b=s.scope.internal.getFont(s.fontName,s.fontStyle),A=s.scope.getStringUnitWidth(f,{font:b,fontSize:parseFloat(p),charSpace:0})*parseFloat(p);return{height:s.scope.getStringUnitWidth("3",{font:b,fontSize:parseFloat(p),charSpace:0})*parseFloat(p)*1.5,width:A}},Se={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Me=function(f,s){var p={type:"reference",object:f};s.internal.getPageInfo(f.page).pageContext.annotations.find(function(b){return b.type===p.type&&b.object===p.object})===void 0&&s.internal.getPageInfo(f.page).pageContext.annotations.push(p)},Je=function(f,s){if(s.scope=f,f.internal!==void 0&&(f.internal.acroformPlugin===void 0||f.internal.acroformPlugin.isInitialized===!1)){if(it.FieldNum=0,f.internal.acroformPlugin=JSON.parse(JSON.stringify(Se)),f.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Y=f.internal.scaleFactor,f.internal.acroformPlugin.acroFormDictionaryRoot=new Pt,f.internal.acroformPlugin.acroFormDictionaryRoot.scope=f,f.internal.acroformPlugin.acroFormDictionaryRoot._eventID=f.internal.events.subscribe("postPutResources",function(){(function(p){p.internal.events.unsubscribe(p.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete p.internal.acroformPlugin.acroFormDictionaryRoot._eventID,p.internal.acroformPlugin.printedOut=!0})(f)}),f.internal.events.subscribe("buildDocument",function(){(function(p){p.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var b=p.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var A in b)if(b.hasOwnProperty(A)){var v=b[A];v.objId=void 0,v.hasAnnotation&&Me(v,p)}})(f)}),f.internal.events.subscribe("putCatalog",function(){(function(p){if(p.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");p.internal.write("/AcroForm "+p.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(f)}),f.internal.events.subscribe("postPutPages",function(p){(function(b,A){var v=!b;for(var T in b||(A.internal.newObjectDeferredBegin(A.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),A.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),b=b||A.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(b.hasOwnProperty(T)){var Z=b[T],re=[],Ae=Z.Rect;if(Z.Rect&&(Z.Rect=fe(Z.Rect,A)),A.internal.newObjectDeferredBegin(Z.objId,!0),Z.DA=St.createDefaultAppearanceStream(Z),(0,o.Z)(Z)==="object"&&typeof Z.getKeyValueListForStream=="function"&&(re=Z.getKeyValueListForStream()),Z.Rect=Ae,Z.hasAppearanceStream&&!Z.appearanceStreamContent){var st=he(Z);re.push({key:"AP",value:"<</N "+st+">>"}),A.internal.acroformPlugin.xForms.push(st)}if(Z.appearanceStreamContent){var jt="";for(var At in Z.appearanceStreamContent)if(Z.appearanceStreamContent.hasOwnProperty(At)){var ve=Z.appearanceStreamContent[At];if(jt+="/"+At+" ",jt+="<<",Object.keys(ve).length>=1||Array.isArray(ve)){for(var T in ve)if(ve.hasOwnProperty(T)){var kt=ve[T];typeof kt=="function"&&(kt=kt.call(A,Z)),jt+="/"+T+" "+kt+" ",A.internal.acroformPlugin.xForms.indexOf(kt)>=0||A.internal.acroformPlugin.xForms.push(kt)}}else typeof(kt=ve)=="function"&&(kt=kt.call(A,Z)),jt+="/"+T+" "+kt,A.internal.acroformPlugin.xForms.indexOf(kt)>=0||A.internal.acroformPlugin.xForms.push(kt);jt+=">>"}re.push({key:"AP",value:`<<
|
|
|
`+jt+">>"})}A.internal.putStream({additionalKeyValues:re,objectId:Z.objId}),A.internal.out("endobj")}v&&function(Ge,Zt){for(var gt in Ge)if(Ge.hasOwnProperty(gt)){var ar=gt,yr=Ge[gt];Zt.internal.newObjectDeferredBegin(yr.objId,!0),(0,o.Z)(yr)==="object"&&typeof yr.putStream=="function"&&yr.putStream(),delete Ge[ar]}}(A.internal.acroformPlugin.xForms,A)})(p,f)}),f.internal.acroformPlugin.isInitialized=!0}},pt=C.__acroform__.arrayToPdfArray=function(f,s,p){var b=function(T){return T};if(Array.isArray(f)){for(var A="[",v=0;v<f.length;v++)switch(v!==0&&(A+=" "),(0,o.Z)(f[v])){case"boolean":case"number":case"object":A+=f[v].toString();break;case"string":f[v].substr(0,1)!=="/"?(s!==void 0&&p&&(b=p.internal.getEncryptor(s)),A+="("+He(b(f[v].toString()))+")"):A+=f[v].toString()}return A+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},$t=function(f,s,p){var b=function(A){return A};return s!==void 0&&p&&(b=p.internal.getEncryptor(s)),(f=f||"").toString(),"("+He(b(f))+")"},Yt=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(f){this._objId=f}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};Yt.prototype.toString=function(){return this.objId+" 0 R"},Yt.prototype.putStream=function(){var f=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:f,objectId:this.objId}),this.scope.internal.out("endobj")},Yt.prototype.getKeyValueListForStream=function(){var f=[],s=Object.getOwnPropertyNames(this).filter(function(v){return v!="content"&&v!="appearanceStreamContent"&&v!="scope"&&v!="objId"&&v.substring(0,1)!="_"});for(var p in s)if(Object.getOwnPropertyDescriptor(this,s[p]).configurable===!1){var b=s[p],A=this[b];A&&(Array.isArray(A)?f.push({key:b,value:pt(A,this.objId,this.scope)}):A instanceof Yt?(A.scope=this.scope,f.push({key:b,value:A.objId+" 0 R"})):typeof A!="function"&&f.push({key:b,value:A}))}return f};var Gt=function(){Yt.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var f,s=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return s},set:function(p){s=p}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(p){f=p.trim()},get:function(){return f||null}})};ct(Gt,Yt);var Pt=function(){Yt.call(this);var f,s=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return s.length>0?s:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return s}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(f){var p=function(b){return b};return this.scope&&(p=this.scope.internal.getEncryptor(this.objId)),"("+He(p(f))+")"}},set:function(p){f=p}})};ct(Pt,Yt);var it=function f(){Yt.call(this);var s=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return s},set:function(gt){if(isNaN(gt))throw new Error('Invalid value "'+gt+'" for attribute F supplied.');s=gt}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!j(s,3)},set:function(gt){gt?this.F=_e(s,3):this.F=be(s,3)}});var p=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return p},set:function(gt){if(isNaN(gt))throw new Error('Invalid value "'+gt+'" for attribute Ff supplied.');p=gt}});var b=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(b.length!==0)return b},set:function(gt){b=gt!==void 0?gt:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!b||isNaN(b[0])?0:b[0]},set:function(gt){b[0]=gt}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!b||isNaN(b[1])?0:b[1]},set:function(gt){b[1]=gt}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!b||isNaN(b[2])?0:b[2]},set:function(gt){b[2]=gt}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!b||isNaN(b[3])?0:b[3]},set:function(gt){b[3]=gt}});var A="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return A},set:function(gt){switch(gt){case"/Btn":case"/Tx":case"/Ch":case"/Sig":A=gt;break;default:throw new Error('Invalid value "'+gt+'" for attribute FT supplied.')}}});var v=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!v||v.length<1){if(this instanceof qr)return;v="FieldObject"+f.FieldNum++}var gt=function(ar){return ar};return this.scope&&(gt=this.scope.internal.getEncryptor(this.objId)),"("+He(gt(v))+")"},set:function(gt){v=gt.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return v},set:function(gt){v=gt}});var T="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return T},set:function(gt){T=gt}});var Z="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return Z},set:function(gt){Z=gt}});var re=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return re},set:function(gt){re=gt}});var Ae=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return Ae===void 0?50/Y:Ae},set:function(gt){Ae=gt}});var st="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return st},set:function(gt){st=gt}});var jt="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!jt||this instanceof qr||this instanceof x))return $t(jt,this.objId,this.scope)},set:function(gt){gt=gt.toString(),jt=gt}});var At=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(At)return this instanceof er==0?$t(At,this.objId,this.scope):At},set:function(gt){gt=gt.toString(),At=this instanceof er==0?gt.substr(0,1)==="("?pe(gt.substr(1,gt.length-2)):pe(gt):gt}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof er==1?pe(At.substr(1,At.length-1)):At},set:function(gt){gt=gt.toString(),At=this instanceof er==1?"/"+gt:gt}});var ve=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(ve)return ve},set:function(gt){this.V=gt}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(ve)return this instanceof er==0?$t(ve,this.objId,this.scope):ve},set:function(gt){gt=gt.toString(),ve=this instanceof er==0?gt.substr(0,1)==="("?pe(gt.substr(1,gt.length-2)):pe(gt):gt}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof er==1?pe(ve.substr(1,ve.length-1)):ve},set:function(gt){gt=gt.toString(),ve=this instanceof er==1?"/"+gt:gt}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var kt,Ge=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return Ge},set:function(gt){gt=!!gt,Ge=gt}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(kt)return kt},set:function(gt){kt=gt}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,1)},set:function(gt){gt?this.Ff=_e(this.Ff,1):this.Ff=be(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,2)},set:function(gt){gt?this.Ff=_e(this.Ff,2):this.Ff=be(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,3)},set:function(gt){gt?this.Ff=_e(this.Ff,3):this.Ff=be(this.Ff,3)}});var Zt=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Zt!==null)return Zt},set:function(gt){if([0,1,2].indexOf(gt)===-1)throw new Error('Invalid value "'+gt+'" for attribute Q supplied.');Zt=gt}}),Object.defineProperty(this,"textAlign",{get:function(){var gt;switch(Zt){case 0:default:gt="left";break;case 1:gt="center";break;case 2:gt="right"}return gt},configurable:!0,enumerable:!0,set:function(gt){switch(gt){case"right":case 2:Zt=2;break;case"center":case 1:Zt=1;break;default:Zt=0}}})};ct(it,Yt);var xt=function(){it.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var f=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return f},set:function(p){f=p}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return f},set:function(p){f=p}});var s=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return pt(s,this.objId,this.scope)},set:function(p){var b,A;A=[],typeof(b=p)=="string"&&(A=function(v,T,Z){Z||(Z=1);for(var re,Ae=[];re=T.exec(v);)Ae.push(re[Z]);return Ae}(b,/\((.*?)\)/g)),s=A}}),this.getOptions=function(){return s},this.setOptions=function(p){s=p,this.sort&&s.sort()},this.addOption=function(p){p=(p=p||"").toString(),s.push(p),this.sort&&s.sort()},this.removeOption=function(p,b){for(b=b||!1,p=(p=p||"").toString();s.indexOf(p)!==-1&&(s.splice(s.indexOf(p),1),b!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,18)},set:function(p){p?this.Ff=_e(this.Ff,18):this.Ff=be(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,19)},set:function(p){this.combo===!0&&(p?this.Ff=_e(this.Ff,19):this.Ff=be(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,20)},set:function(p){p?(this.Ff=_e(this.Ff,20),s.sort()):this.Ff=be(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,22)},set:function(p){p?this.Ff=_e(this.Ff,22):this.Ff=be(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,23)},set:function(p){p?this.Ff=_e(this.Ff,23):this.Ff=be(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,27)},set:function(p){p?this.Ff=_e(this.Ff,27):this.Ff=be(this.Ff,27)}}),this.hasAppearanceStream=!1};ct(xt,it);var Nt=function(){xt.call(this),this.fontName="helvetica",this.combo=!1};ct(Nt,xt);var Ht=function(){Nt.call(this),this.combo=!0};ct(Ht,Nt);var Et=function(){Ht.call(this),this.edit=!0};ct(Et,Ht);var er=function(){it.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,15)},set:function(p){p?this.Ff=_e(this.Ff,15):this.Ff=be(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,16)},set:function(p){p?this.Ff=_e(this.Ff,16):this.Ff=be(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,17)},set:function(p){p?this.Ff=_e(this.Ff,17):this.Ff=be(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,26)},set:function(p){p?this.Ff=_e(this.Ff,26):this.Ff=be(this.Ff,26)}});var f,s={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var p=function(v){return v};if(this.scope&&(p=this.scope.internal.getEncryptor(this.objId)),Object.keys(s).length!==0){var b,A=[];for(b in A.push("<<"),s)A.push("/"+b+" ("+He(p(s[b]))+")");return A.push(">>"),A.join(`
|
|
|
`)}},set:function(p){(0,o.Z)(p)==="object"&&(s=p)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return s.CA||""},set:function(p){typeof p=="string"&&(s.CA=p)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return f},set:function(p){f=p}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return f.substr(1,f.length-1)},set:function(p){f="/"+p}})};ct(er,it);var lr=function(){er.call(this),this.pushButton=!0};ct(lr,er);var Cr=function(){er.call(this),this.radio=!0,this.pushButton=!1;var f=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return f},set:function(s){f=s!==void 0?s:[]}})};ct(Cr,er);var qr=function(){var f,s;it.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return f},set:function(A){f=A}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return s},set:function(A){s=A}});var p,b={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var A=function(Z){return Z};this.scope&&(A=this.scope.internal.getEncryptor(this.objId));var v,T=[];for(v in T.push("<<"),b)T.push("/"+v+" ("+He(A(b[v]))+")");return T.push(">>"),T.join(`
|
|
|
`)},set:function(A){(0,o.Z)(A)==="object"&&(b=A)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return b.CA||""},set:function(A){typeof A=="string"&&(b.CA=A)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return p},set:function(A){p=A}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return p.substr(1,p.length-1)},set:function(A){p="/"+A}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=St.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};ct(qr,it),Cr.prototype.setAppearance=function(f){if(!("createAppearanceStream"in f)||!("getCA"in f))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var s in this.Kids)if(this.Kids.hasOwnProperty(s)){var p=this.Kids[s];p.appearanceStreamContent=f.createAppearanceStream(p.optionName),p.caption=f.getCA()}},Cr.prototype.createOption=function(f){var s=new qr;return s.Parent=this,s.optionName=f,this.Kids.push(s),oe.call(this.scope,s),s};var Ar=function(){er.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=St.CheckBox.createAppearanceStream()};ct(Ar,er);var x=function(){it.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,13)},set:function(s){s?this.Ff=_e(this.Ff,13):this.Ff=be(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,21)},set:function(s){s?this.Ff=_e(this.Ff,21):this.Ff=be(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,23)},set:function(s){s?this.Ff=_e(this.Ff,23):this.Ff=be(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,24)},set:function(s){s?this.Ff=_e(this.Ff,24):this.Ff=be(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,25)},set:function(s){s?this.Ff=_e(this.Ff,25):this.Ff=be(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,26)},set:function(s){s?this.Ff=_e(this.Ff,26):this.Ff=be(this.Ff,26)}});var f=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return f},set:function(s){f=s}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return f},set:function(s){Number.isInteger(s)&&(f=s)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};ct(x,it);var W=function(){x.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,14)},set:function(f){f?this.Ff=_e(this.Ff,14):this.Ff=be(this.Ff,14)}}),this.password=!0};ct(W,x);var St={CheckBox:{createAppearanceStream:function(){return{N:{On:St.CheckBox.YesNormal},D:{On:St.CheckBox.YesPushDown,Off:St.CheckBox.OffPushDown}}},YesPushDown:function(f){var s=Le(f);s.scope=f.scope;var p=[],b=f.scope.internal.getFont(f.fontName,f.fontStyle).id,A=f.scope.__private__.encodeColorString(f.color),v=me(f,f.caption);return p.push("0.749023 g"),p.push("0 0 "+Ue(St.internal.getWidth(f))+" "+Ue(St.internal.getHeight(f))+" re"),p.push("f"),p.push("BMC"),p.push("q"),p.push("0 0 1 rg"),p.push("/"+b+" "+Ue(v.fontSize)+" Tf "+A),p.push("BT"),p.push(v.text),p.push("ET"),p.push("Q"),p.push("EMC"),s.stream=p.join(`
|
|
|
`),s},YesNormal:function(f){var s=Le(f);s.scope=f.scope;var p=f.scope.internal.getFont(f.fontName,f.fontStyle).id,b=f.scope.__private__.encodeColorString(f.color),A=[],v=St.internal.getHeight(f),T=St.internal.getWidth(f),Z=me(f,f.caption);return A.push("1 g"),A.push("0 0 "+Ue(T)+" "+Ue(v)+" re"),A.push("f"),A.push("q"),A.push("0 0 1 rg"),A.push("0 0 "+Ue(T-1)+" "+Ue(v-1)+" re"),A.push("W"),A.push("n"),A.push("0 g"),A.push("BT"),A.push("/"+p+" "+Ue(Z.fontSize)+" Tf "+b),A.push(Z.text),A.push("ET"),A.push("Q"),s.stream=A.join(`
|
|
|
`),s},OffPushDown:function(f){var s=Le(f);s.scope=f.scope;var p=[];return p.push("0.749023 g"),p.push("0 0 "+Ue(St.internal.getWidth(f))+" "+Ue(St.internal.getHeight(f))+" re"),p.push("f"),s.stream=p.join(`
|
|
|
`),s}},RadioButton:{Circle:{createAppearanceStream:function(f){var s={D:{Off:St.RadioButton.Circle.OffPushDown},N:{}};return s.N[f]=St.RadioButton.Circle.YesNormal,s.D[f]=St.RadioButton.Circle.YesPushDown,s},getCA:function(){return"l"},YesNormal:function(f){var s=Le(f);s.scope=f.scope;var p=[],b=St.internal.getWidth(f)<=St.internal.getHeight(f)?St.internal.getWidth(f)/4:St.internal.getHeight(f)/4;b=Number((.9*b).toFixed(5));var A=St.internal.Bezier_C,v=Number((b*A).toFixed(5));return p.push("q"),p.push("1 0 0 1 "+ot(St.internal.getWidth(f)/2)+" "+ot(St.internal.getHeight(f)/2)+" cm"),p.push(b+" 0 m"),p.push(b+" "+v+" "+v+" "+b+" 0 "+b+" c"),p.push("-"+v+" "+b+" -"+b+" "+v+" -"+b+" 0 c"),p.push("-"+b+" -"+v+" -"+v+" -"+b+" 0 -"+b+" c"),p.push(v+" -"+b+" "+b+" -"+v+" "+b+" 0 c"),p.push("f"),p.push("Q"),s.stream=p.join(`
|
|
|
`),s},YesPushDown:function(f){var s=Le(f);s.scope=f.scope;var p=[],b=St.internal.getWidth(f)<=St.internal.getHeight(f)?St.internal.getWidth(f)/4:St.internal.getHeight(f)/4;b=Number((.9*b).toFixed(5));var A=Number((2*b).toFixed(5)),v=Number((A*St.internal.Bezier_C).toFixed(5)),T=Number((b*St.internal.Bezier_C).toFixed(5));return p.push("0.749023 g"),p.push("q"),p.push("1 0 0 1 "+ot(St.internal.getWidth(f)/2)+" "+ot(St.internal.getHeight(f)/2)+" cm"),p.push(A+" 0 m"),p.push(A+" "+v+" "+v+" "+A+" 0 "+A+" c"),p.push("-"+v+" "+A+" -"+A+" "+v+" -"+A+" 0 c"),p.push("-"+A+" -"+v+" -"+v+" -"+A+" 0 -"+A+" c"),p.push(v+" -"+A+" "+A+" -"+v+" "+A+" 0 c"),p.push("f"),p.push("Q"),p.push("0 g"),p.push("q"),p.push("1 0 0 1 "+ot(St.internal.getWidth(f)/2)+" "+ot(St.internal.getHeight(f)/2)+" cm"),p.push(b+" 0 m"),p.push(b+" "+T+" "+T+" "+b+" 0 "+b+" c"),p.push("-"+T+" "+b+" -"+b+" "+T+" -"+b+" 0 c"),p.push("-"+b+" -"+T+" -"+T+" -"+b+" 0 -"+b+" c"),p.push(T+" -"+b+" "+b+" -"+T+" "+b+" 0 c"),p.push("f"),p.push("Q"),s.stream=p.join(`
|
|
|
`),s},OffPushDown:function(f){var s=Le(f);s.scope=f.scope;var p=[],b=St.internal.getWidth(f)<=St.internal.getHeight(f)?St.internal.getWidth(f)/4:St.internal.getHeight(f)/4;b=Number((.9*b).toFixed(5));var A=Number((2*b).toFixed(5)),v=Number((A*St.internal.Bezier_C).toFixed(5));return p.push("0.749023 g"),p.push("q"),p.push("1 0 0 1 "+ot(St.internal.getWidth(f)/2)+" "+ot(St.internal.getHeight(f)/2)+" cm"),p.push(A+" 0 m"),p.push(A+" "+v+" "+v+" "+A+" 0 "+A+" c"),p.push("-"+v+" "+A+" -"+A+" "+v+" -"+A+" 0 c"),p.push("-"+A+" -"+v+" -"+v+" -"+A+" 0 -"+A+" c"),p.push(v+" -"+A+" "+A+" -"+v+" "+A+" 0 c"),p.push("f"),p.push("Q"),s.stream=p.join(`
|
|
|
`),s}},Cross:{createAppearanceStream:function(f){var s={D:{Off:St.RadioButton.Cross.OffPushDown},N:{}};return s.N[f]=St.RadioButton.Cross.YesNormal,s.D[f]=St.RadioButton.Cross.YesPushDown,s},getCA:function(){return"8"},YesNormal:function(f){var s=Le(f);s.scope=f.scope;var p=[],b=St.internal.calculateCross(f);return p.push("q"),p.push("1 1 "+Ue(St.internal.getWidth(f)-2)+" "+Ue(St.internal.getHeight(f)-2)+" re"),p.push("W"),p.push("n"),p.push(Ue(b.x1.x)+" "+Ue(b.x1.y)+" m"),p.push(Ue(b.x2.x)+" "+Ue(b.x2.y)+" l"),p.push(Ue(b.x4.x)+" "+Ue(b.x4.y)+" m"),p.push(Ue(b.x3.x)+" "+Ue(b.x3.y)+" l"),p.push("s"),p.push("Q"),s.stream=p.join(`
|
|
|
`),s},YesPushDown:function(f){var s=Le(f);s.scope=f.scope;var p=St.internal.calculateCross(f),b=[];return b.push("0.749023 g"),b.push("0 0 "+Ue(St.internal.getWidth(f))+" "+Ue(St.internal.getHeight(f))+" re"),b.push("f"),b.push("q"),b.push("1 1 "+Ue(St.internal.getWidth(f)-2)+" "+Ue(St.internal.getHeight(f)-2)+" re"),b.push("W"),b.push("n"),b.push(Ue(p.x1.x)+" "+Ue(p.x1.y)+" m"),b.push(Ue(p.x2.x)+" "+Ue(p.x2.y)+" l"),b.push(Ue(p.x4.x)+" "+Ue(p.x4.y)+" m"),b.push(Ue(p.x3.x)+" "+Ue(p.x3.y)+" l"),b.push("s"),b.push("Q"),s.stream=b.join(`
|
|
|
`),s},OffPushDown:function(f){var s=Le(f);s.scope=f.scope;var p=[];return p.push("0.749023 g"),p.push("0 0 "+Ue(St.internal.getWidth(f))+" "+Ue(St.internal.getHeight(f))+" re"),p.push("f"),s.stream=p.join(`
|
|
|
`),s}}},createDefaultAppearanceStream:function(f){var s=f.scope.internal.getFont(f.fontName,f.fontStyle).id,p=f.scope.__private__.encodeColorString(f.color);return"/"+s+" "+f.fontSize+" Tf "+p}};St.internal={Bezier_C:.551915024494,calculateCross:function(f){var s=St.internal.getWidth(f),p=St.internal.getHeight(f),b=Math.min(s,p);return{x1:{x:(s-b)/2,y:(p-b)/2+b},x2:{x:(s-b)/2+b,y:(p-b)/2},x3:{x:(s-b)/2,y:(p-b)/2},x4:{x:(s-b)/2+b,y:(p-b)/2+b}}}},St.internal.getWidth=function(f){var s=0;return(0,o.Z)(f)==="object"&&(s=ue(f.Rect[2])),s},St.internal.getHeight=function(f){var s=0;return(0,o.Z)(f)==="object"&&(s=ue(f.Rect[3])),s};var oe=C.addField=function(f){if(Je(this,f),!(f instanceof it))throw new Error("Invalid argument passed to jsPDF.addField.");var s;return(s=f).scope.internal.acroformPlugin.printedOut&&(s.scope.internal.acroformPlugin.printedOut=!1,s.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),s.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(s),f.page=f.scope.internal.getCurrentPageInfo().pageNumber,this};C.AcroFormChoiceField=xt,C.AcroFormListBox=Nt,C.AcroFormComboBox=Ht,C.AcroFormEditBox=Et,C.AcroFormButton=er,C.AcroFormPushButton=lr,C.AcroFormRadioButton=Cr,C.AcroFormCheckBox=Ar,C.AcroFormTextField=x,C.AcroFormPasswordField=W,C.AcroFormAppearance=St,C.AcroForm={ChoiceField:xt,ListBox:Nt,ComboBox:Ht,EditBox:Et,Button:er,PushButton:lr,RadioButton:Cr,CheckBox:Ar,TextField:x,PasswordField:W,Appearance:St},z.AcroForm={ChoiceField:xt,ListBox:Nt,ComboBox:Ht,EditBox:Et,Button:er,PushButton:lr,RadioButton:Cr,CheckBox:Ar,TextField:x,PasswordField:W,Appearance:St};var Be=z.AcroForm;function zr(f){return f.reduce(function(s,p,b){return s[p]=b,s},{})}(function(f){var s="addImage_";f.__addimage__={};var p="UNKNOWN",b={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},A=f.__addimage__.getImageFileTypeByImageData=function(We,ze){var wt,ut,cr,gr,_t,Tt=p;if((ze=ze||p)==="RGBA"||We.data!==void 0&&We.data instanceof Uint8ClampedArray&&"height"in We&&"width"in We)return"RGBA";if(Ce(We))for(_t in b)for(cr=b[_t],wt=0;wt<cr.length;wt+=1){for(gr=!0,ut=0;ut<cr[wt].length;ut+=1)if(cr[wt][ut]!==void 0&&cr[wt][ut]!==We[ut]){gr=!1;break}if(gr===!0){Tt=_t;break}}else for(_t in b)for(cr=b[_t],wt=0;wt<cr.length;wt+=1){for(gr=!0,ut=0;ut<cr[wt].length;ut+=1)if(cr[wt][ut]!==void 0&&cr[wt][ut]!==We.charCodeAt(ut)){gr=!1;break}if(gr===!0){Tt=_t;break}}return Tt===p&&ze!==p&&(Tt=ze),Tt},v=function We(ze){for(var wt=this.internal.write,ut=this.internal.putStream,cr=(0,this.internal.getFilters)();cr.indexOf("FlateEncode")!==-1;)cr.splice(cr.indexOf("FlateEncode"),1);ze.objectId=this.internal.newObject();var gr=[];if(gr.push({key:"Type",value:"/XObject"}),gr.push({key:"Subtype",value:"/Image"}),gr.push({key:"Width",value:ze.width}),gr.push({key:"Height",value:ze.height}),ze.colorSpace===gt.INDEXED?gr.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(ze.palette.length/3-1)+" "+("sMask"in ze&&ze.sMask!==void 0?ze.objectId+2:ze.objectId+1)+" 0 R]"}):(gr.push({key:"ColorSpace",value:"/"+ze.colorSpace}),ze.colorSpace===gt.DEVICE_CMYK&&gr.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),gr.push({key:"BitsPerComponent",value:ze.bitsPerComponent}),"decodeParameters"in ze&&ze.decodeParameters!==void 0&&gr.push({key:"DecodeParms",value:"<<"+ze.decodeParameters+">>"}),"transparency"in ze&&Array.isArray(ze.transparency)&&ze.transparency.length>0){for(var _t="",Tt=0,ir=ze.transparency.length;Tt<ir;Tt++)_t+=ze.transparency[Tt]+" "+ze.transparency[Tt]+" ";gr.push({key:"Mask",value:"["+_t+"]"})}ze.sMask!==void 0&&gr.push({key:"SMask",value:ze.objectId+1+" 0 R"});var Zr=ze.filter!==void 0?["/"+ze.filter]:void 0;if(ut({data:ze.data,additionalKeyValues:gr,alreadyAppliedFilters:Zr,objectId:ze.objectId}),wt("endobj"),"sMask"in ze&&ze.sMask!==void 0){var Wt,Pe=(Wt=ze.sMaskBitsPerComponent)!==null&&Wt!==void 0?Wt:ze.bitsPerComponent,bt={width:ze.width,height:ze.height,colorSpace:"DeviceGray",bitsPerComponent:Pe,data:ze.sMask};"filter"in ze&&(bt.decodeParameters="/Predictor ".concat(ze.predictor," /Colors 1 /BitsPerComponent ").concat(Pe," /Columns ").concat(ze.width),bt.filter=ze.filter),We.call(this,bt)}if(ze.colorSpace===gt.INDEXED){var Bt=this.internal.newObject();ut({data:Mt(new Uint8Array(ze.palette)),objectId:Bt}),wt("endobj")}},T=function(){var We=this.internal.collections[s+"images"];for(var ze in We)v.call(this,We[ze])},Z=function(){var We,ze=this.internal.collections[s+"images"],wt=this.internal.write;for(var ut in ze)wt("/I"+(We=ze[ut]).index,We.objectId,"0","R")},re=function(){this.internal.collections[s+"images"]||(this.internal.collections[s+"images"]={},this.internal.events.subscribe("putResources",T),this.internal.events.subscribe("putXobjectDict",Z))},Ae=function(){var We=this.internal.collections[s+"images"];return re.call(this),We},st=function(){return Object.keys(this.internal.collections[s+"images"]).length},jt=function(We){return typeof f["process"+We.toUpperCase()]=="function"},At=function(We){return(0,o.Z)(We)==="object"&&We.nodeType===1},ve=function(We,ze){if(We.nodeName==="IMG"&&We.hasAttribute("src")){var wt=""+We.getAttribute("src");if(wt.indexOf("data:image/")===0)return K(unescape(wt).split("base64,").pop());var ut=f.loadFile(wt,!0);if(ut!==void 0)return ut}if(We.nodeName==="CANVAS"){if(We.width===0||We.height===0)throw new Error("Given canvas must have data. Canvas width: "+We.width+", height: "+We.height);var cr;switch(ze){case"PNG":cr="image/png";break;case"WEBP":cr="image/webp";break;default:cr="image/jpeg"}return K(We.toDataURL(cr,1).split("base64,").pop())}},kt=function(We){var ze=this.internal.collections[s+"images"];if(ze){for(var wt in ze)if(We===ze[wt].alias)return ze[wt]}},Ge=function(We,ze,wt){return We||ze||(We=-96,ze=-96),We<0&&(We=-1*wt.width*72/We/this.internal.scaleFactor),ze<0&&(ze=-1*wt.height*72/ze/this.internal.scaleFactor),We===0&&(We=ze*wt.width/wt.height),ze===0&&(ze=We*wt.height/wt.width),[We,ze]},Zt=function(We,ze,wt,ut,cr,gr){var _t=Ge.call(this,wt,ut,cr),Tt=this.internal.getCoordinateString,ir=this.internal.getVerticalCoordinateString,Zr=Ae.call(this);if(wt=_t[0],ut=_t[1],Zr[cr.index]=cr,gr){gr*=Math.PI/180;var Wt=Math.cos(gr),Pe=Math.sin(gr),bt=function(ht){return ht.toFixed(4)},Bt=[bt(Wt),bt(Pe),bt(-1*Pe),bt(Wt),0,0,"cm"]}this.internal.write("q"),gr?(this.internal.write([1,"0","0",1,Tt(We),ir(ze+ut),"cm"].join(" ")),this.internal.write(Bt.join(" ")),this.internal.write([Tt(wt),"0","0",Tt(ut),"0","0","cm"].join(" "))):this.internal.write([Tt(wt),"0","0",Tt(ut),Tt(We),ir(ze+ut),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+cr.index+" Do"),this.internal.write("Q")},gt=f.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};f.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var ar=f.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},yr=f.__addimage__.sHashCode=function(We){var ze,wt,ut=0;if(typeof We=="string")for(wt=We.length,ze=0;ze<wt;ze++)ut=(ut<<5)-ut+We.charCodeAt(ze),ut|=0;else if(Ce(We))for(wt=We.byteLength/2,ze=0;ze<wt;ze++)ut=(ut<<5)-ut+We[ze],ut|=0;return ut},Qt=f.__addimage__.validateStringAsBase64=function(We){(We=We||"").toString().trim();var ze=!0;return We.length===0&&(ze=!1),We.length%4!=0&&(ze=!1),/^[A-Za-z0-9+/]+$/.test(We.substr(0,We.length-2))===!1&&(ze=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(We.substr(-2))===!1&&(ze=!1),ze},at=f.__addimage__.extractImageFromDataUrl=function(We){if(We==null||!(We=We.trim()).startsWith("data:"))return null;var ze=We.indexOf(",");return ze<0?null:We.substring(0,ze).trim().endsWith("base64")?We.substring(ze+1):null};f.__addimage__.isArrayBuffer=function(We){return We instanceof ArrayBuffer};var Ce=f.__addimage__.isArrayBufferView=function(We){return We instanceof Int8Array||We instanceof Uint8Array||We instanceof Uint8ClampedArray||We instanceof Int16Array||We instanceof Uint16Array||We instanceof Int32Array||We instanceof Uint32Array||We instanceof Float32Array||We instanceof Float64Array},Vt=f.__addimage__.binaryStringToUint8Array=function(We){for(var ze=We.length,wt=new Uint8Array(ze),ut=0;ut<ze;ut++)wt[ut]=We.charCodeAt(ut);return wt},Mt=f.__addimage__.arrayBufferToBinaryString=function(We){for(var ze="",wt=Ce(We)?We:new Uint8Array(We),ut=0;ut<wt.length;ut+=8192)ze+=String.fromCharCode.apply(null,wt.subarray(ut,ut+8192));return ze};f.addImage=function(){var We,ze,wt,ut,cr,gr,_t,Tt,ir;if(typeof arguments[1]=="number"?(ze=p,wt=arguments[1],ut=arguments[2],cr=arguments[3],gr=arguments[4],_t=arguments[5],Tt=arguments[6],ir=arguments[7]):(ze=arguments[1],wt=arguments[2],ut=arguments[3],cr=arguments[4],gr=arguments[5],_t=arguments[6],Tt=arguments[7],ir=arguments[8]),(0,o.Z)(We=arguments[0])==="object"&&!At(We)&&"imageData"in We){var Zr=We;We=Zr.imageData,ze=Zr.format||ze||p,wt=Zr.x||wt||0,ut=Zr.y||ut||0,cr=Zr.w||Zr.width||cr,gr=Zr.h||Zr.height||gr,_t=Zr.alias||_t,Tt=Zr.compression||Tt,ir=Zr.rotation||Zr.angle||ir}var Wt=this.internal.getFilters();if(Tt===void 0&&Wt.indexOf("FlateEncode")!==-1&&(Tt="SLOW"),isNaN(wt)||isNaN(ut))throw new Error("Invalid coordinates passed to jsPDF.addImage");re.call(this);var Pe=Ot.call(this,We,ze,_t,Tt);return Zt.call(this,wt,ut,cr,gr,Pe,ir),this};var Ot=function(We,ze,wt,ut){var cr,gr,_t;if(typeof We=="string"&&A(We)===p){We=unescape(We);var Tt=qt(We,!1);(Tt!==""||(Tt=f.loadFile(We,!0))!==void 0)&&(We=Tt)}if(At(We)&&(We=ve(We,ze)),ze=A(We,ze),!jt(ze))throw new Error("addImage does not support files of type '"+ze+"', please ensure that a plugin for '"+ze+"' support is added.");if(((_t=wt)==null||_t.length===0)&&(wt=function(ir){return typeof ir=="string"||Ce(ir)?yr(ir):Ce(ir.data)?yr(ir.data):null}(We)),(cr=kt.call(this,wt))||(We instanceof Uint8Array||ze==="RGBA"||(gr=We,We=Vt(We)),cr=this["process"+ze.toUpperCase()](We,st.call(this),wt,function(ir){return ir&&typeof ir=="string"&&(ir=ir.toUpperCase()),ir in f.image_compression?ir:ar.NONE}(ut),gr)),!cr)throw new Error("An unknown error occurred whilst processing the image.");return cr},qt=f.__addimage__.convertBase64ToBinaryString=function(We,ze){ze=typeof ze!="boolean"||ze;var wt,ut="";if(typeof We=="string"){var cr;wt=(cr=at(We))!==null&&cr!==void 0?cr:We;try{ut=K(wt)}catch(gr){if(ze)throw Qt(wt)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+gr.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return ut};f.getImageProperties=function(We){var ze,wt,ut="";if(At(We)&&(We=ve(We)),typeof We=="string"&&A(We)===p&&((ut=qt(We,!1))===""&&(ut=f.loadFile(We)||""),We=ut),wt=A(We),!jt(wt))throw new Error("addImage does not support files of type '"+wt+"', please ensure that a plugin for '"+wt+"' support is added.");if(We instanceof Uint8Array||(We=Vt(We)),!(ze=this["process"+wt.toUpperCase()](We)))throw new Error("An unknown error occurred whilst processing the image");return ze.fileType=wt,ze}})(z.API),function(f){var s=function(p){if(p!==void 0&&p!="")return!0};z.API.events.push(["addPage",function(p){this.internal.getPageInfo(p.pageNumber).pageContext.annotations=[]}]),f.events.push(["putPage",function(p){for(var b,A,v,T=this.internal.getCoordinateString,Z=this.internal.getVerticalCoordinateString,re=this.internal.getPageInfoByObjId(p.objId),Ae=p.pageContext.annotations,st=!1,jt=0;jt<Ae.length&&!st;jt++)switch((b=Ae[jt]).type){case"link":(s(b.options.url)||s(b.options.pageNumber))&&(st=!0);break;case"reference":case"text":case"freetext":st=!0}if(st!=0){this.internal.write("/Annots [");for(var At=0;At<Ae.length;At++){b=Ae[At];var ve=this.internal.pdfEscape,kt=this.internal.getEncryptor(p.objId);switch(b.type){case"reference":this.internal.write(" "+b.object.objId+" 0 R ");break;case"text":var Ge=this.internal.newAdditionalObject(),Zt=this.internal.newAdditionalObject(),gt=this.internal.getEncryptor(Ge.objId),ar=b.title||"Note";v="<</Type /Annot /Subtype /Text "+(A="/Rect ["+T(b.bounds.x)+" "+Z(b.bounds.y+b.bounds.h)+" "+T(b.bounds.x+b.bounds.w)+" "+Z(b.bounds.y)+"] ")+"/Contents ("+ve(gt(b.contents))+")",v+=" /Popup "+Zt.objId+" 0 R",v+=" /P "+re.objId+" 0 R",v+=" /T ("+ve(gt(ar))+") >>",Ge.content=v;var yr=Ge.objId+" 0 R";v="<</Type /Annot /Subtype /Popup "+(A="/Rect ["+T(b.bounds.x+30)+" "+Z(b.bounds.y+b.bounds.h)+" "+T(b.bounds.x+b.bounds.w+30)+" "+Z(b.bounds.y)+"] ")+" /Parent "+yr,b.open&&(v+=" /Open true"),v+=" >>",Zt.content=v,this.internal.write(Ge.objId,"0 R",Zt.objId,"0 R");break;case"freetext":A="/Rect ["+T(b.bounds.x)+" "+Z(b.bounds.y)+" "+T(b.bounds.x+b.bounds.w)+" "+Z(b.bounds.y+b.bounds.h)+"] ";var Qt=b.color||"#000000";v="<</Type /Annot /Subtype /FreeText "+A+"/Contents ("+ve(kt(b.contents))+")",v+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+Qt+")",v+=" /Border [0 0 0]",v+=" >>",this.internal.write(v);break;case"link":if(b.options.name){var at=this.annotations._nameMap[b.options.name];b.options.pageNumber=at.page,b.options.top=at.y}else b.options.top||(b.options.top=0);if(A="/Rect ["+b.finalBounds.x+" "+b.finalBounds.y+" "+b.finalBounds.w+" "+b.finalBounds.h+"] ",v="",b.options.url)v="<</Type /Annot /Subtype /Link "+A+"/Border [0 0 0] /A <</S /URI /URI ("+ve(kt(b.options.url))+") >>";else if(b.options.pageNumber)switch(v="<</Type /Annot /Subtype /Link "+A+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(b.options.pageNumber).objId+" 0 R",b.options.magFactor=b.options.magFactor||"XYZ",b.options.magFactor){case"Fit":v+=" /Fit]";break;case"FitH":v+=" /FitH "+b.options.top+"]";break;case"FitV":b.options.left=b.options.left||0,v+=" /FitV "+b.options.left+"]";break;default:var Ce=Z(b.options.top);b.options.left=b.options.left||0,b.options.zoom===void 0&&(b.options.zoom=0),v+=" /XYZ "+b.options.left+" "+Ce+" "+b.options.zoom+"]"}v!=""&&(v+=" >>",this.internal.write(v))}}this.internal.write("]")}}]),f.createAnnotation=function(p){var b=this.internal.getCurrentPageInfo();switch(p.type){case"link":this.link(p.bounds.x,p.bounds.y,p.bounds.w,p.bounds.h,p);break;case"text":case"freetext":b.pageContext.annotations.push(p)}},f.link=function(p,b,A,v,T){var Z=this.internal.getCurrentPageInfo(),re=this.internal.getCoordinateString,Ae=this.internal.getVerticalCoordinateString;Z.pageContext.annotations.push({finalBounds:{x:re(p),y:Ae(b),w:re(p+A),h:Ae(b+v)},options:T,type:"link"})},f.textWithLink=function(p,b,A,v){var T,Z,re=this.getTextWidth(p),Ae=this.internal.getLineHeight()/this.internal.scaleFactor;if(v.maxWidth!==void 0){Z=v.maxWidth;var st=this.splitTextToSize(p,Z).length;T=Math.ceil(Ae*st)}else Z=re,T=Ae;return this.text(p,b,A,v),A+=.2*Ae,v.align==="center"&&(b-=re/2),v.align==="right"&&(b-=re),this.link(b,A-Ae,Z,T,v),re},f.getTextWidth=function(p){var b=this.internal.getFontSize();return this.getStringUnitWidth(p)*b/this.internal.scaleFactor}}(z.API),function(f){var s={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},p={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},b={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},A=[1570,1571,1573,1575];f.__arabicParser__={};var v=f.__arabicParser__.isInArabicSubstitutionA=function(Ge){return s[Ge.charCodeAt(0)]!==void 0},T=f.__arabicParser__.isArabicLetter=function(Ge){return typeof Ge=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(Ge)},Z=f.__arabicParser__.isArabicEndLetter=function(Ge){return T(Ge)&&v(Ge)&&s[Ge.charCodeAt(0)].length<=2},re=f.__arabicParser__.isArabicAlfLetter=function(Ge){return T(Ge)&&A.indexOf(Ge.charCodeAt(0))>=0};f.__arabicParser__.arabicLetterHasIsolatedForm=function(Ge){return T(Ge)&&v(Ge)&&s[Ge.charCodeAt(0)].length>=1};var Ae=f.__arabicParser__.arabicLetterHasFinalForm=function(Ge){return T(Ge)&&v(Ge)&&s[Ge.charCodeAt(0)].length>=2};f.__arabicParser__.arabicLetterHasInitialForm=function(Ge){return T(Ge)&&v(Ge)&&s[Ge.charCodeAt(0)].length>=3};var st=f.__arabicParser__.arabicLetterHasMedialForm=function(Ge){return T(Ge)&&v(Ge)&&s[Ge.charCodeAt(0)].length==4},jt=f.__arabicParser__.resolveLigatures=function(Ge){var Zt=0,gt=p,ar="",yr=0;for(Zt=0;Zt<Ge.length;Zt+=1)gt[Ge.charCodeAt(Zt)]!==void 0?(yr++,typeof(gt=gt[Ge.charCodeAt(Zt)])=="number"&&(ar+=String.fromCharCode(gt),gt=p,yr=0),Zt===Ge.length-1&&(gt=p,ar+=Ge.charAt(Zt-(yr-1)),Zt-=yr-1,yr=0)):(gt=p,ar+=Ge.charAt(Zt-yr),Zt-=yr,yr=0);return ar};f.__arabicParser__.isArabicDiacritic=function(Ge){return Ge!==void 0&&b[Ge.charCodeAt(0)]!==void 0};var At=f.__arabicParser__.getCorrectForm=function(Ge,Zt,gt){return T(Ge)?v(Ge)===!1?-1:!Ae(Ge)||!T(Zt)&&!T(gt)||!T(gt)&&Z(Zt)||Z(Ge)&&!T(Zt)||Z(Ge)&&re(Zt)||Z(Ge)&&Z(Zt)?0:st(Ge)&&T(Zt)&&!Z(Zt)&&T(gt)&&Ae(gt)?3:Z(Ge)||!T(gt)?1:2:-1},ve=function(Ge){var Zt=0,gt=0,ar=0,yr="",Qt="",at="",Ce=(Ge=Ge||"").split("\\s+"),Vt=[];for(Zt=0;Zt<Ce.length;Zt+=1){for(Vt.push(""),gt=0;gt<Ce[Zt].length;gt+=1)yr=Ce[Zt][gt],Qt=Ce[Zt][gt-1],at=Ce[Zt][gt+1],T(yr)?(ar=At(yr,Qt,at),Vt[Zt]+=ar!==-1?String.fromCharCode(s[yr.charCodeAt(0)][ar]):yr):Vt[Zt]+=yr;Vt[Zt]=jt(Vt[Zt])}return Vt.join(" ")},kt=f.__arabicParser__.processArabic=f.processArabic=function(){var Ge,Zt=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,gt=[];if(Array.isArray(Zt)){var ar=0;for(gt=[],ar=0;ar<Zt.length;ar+=1)Array.isArray(Zt[ar])?gt.push([ve(Zt[ar][0]),Zt[ar][1],Zt[ar][2]]):gt.push([ve(Zt[ar])]);Ge=gt}else Ge=ve(Zt);return typeof arguments[0]=="string"?Ge:(arguments[0].text=Ge,arguments[0])};f.events.push(["preProcessText",kt])}(z.API),z.API.autoPrint=function(f){var s;return(f=f||{}).variant=f.variant||"non-conform",f.variant==="javascript"?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){s=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+s+" 0 R")})),this},function(f){var s=function(){var p=void 0;Object.defineProperty(this,"pdf",{get:function(){return p},set:function(Z){p=Z}});var b=150;Object.defineProperty(this,"width",{get:function(){return b},set:function(Z){b=isNaN(Z)||Number.isInteger(Z)===!1||Z<0?150:Z,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=b+1)}});var A=300;Object.defineProperty(this,"height",{get:function(){return A},set:function(Z){A=isNaN(Z)||Number.isInteger(Z)===!1||Z<0?300:Z,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=A+1)}});var v=[];Object.defineProperty(this,"childNodes",{get:function(){return v},set:function(Z){v=Z}});var T={};Object.defineProperty(this,"style",{get:function(){return T},set:function(Z){T=Z}}),Object.defineProperty(this,"parentNode",{})};s.prototype.getContext=function(p,b){var A;if((p=p||"2d")!=="2d")return null;for(A in b)this.pdf.context2d.hasOwnProperty(A)&&(this.pdf.context2d[A]=b[A]);return this.pdf.context2d._canvas=this,this.pdf.context2d},s.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},f.events.push(["initialized",function(){this.canvas=new s,this.canvas.pdf=this}])}(z.API),function(f){var s={left:0,top:0,bottom:0,right:0},p=!1,b=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},s),this.internal.__cell__.margins.width=this.getPageWidth(),A.call(this))},A=function(){this.internal.__cell__.lastCell=new v,this.internal.__cell__.pages=1},v=function(){var re=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return re},set:function(Ge){re=Ge}});var Ae=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Ae},set:function(Ge){Ae=Ge}});var st=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return st},set:function(Ge){st=Ge}});var jt=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return jt},set:function(Ge){jt=Ge}});var At=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return At},set:function(Ge){At=Ge}});var ve=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ve},set:function(Ge){ve=Ge}});var kt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return kt},set:function(Ge){kt=Ge}}),this};v.prototype.clone=function(){return new v(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},v.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},f.setHeaderFunction=function(re){return b.call(this),this.internal.__cell__.headerFunction=typeof re=="function"?re:void 0,this},f.getTextDimensions=function(re,Ae){b.call(this);var st=(Ae=Ae||{}).fontSize||this.getFontSize(),jt=Ae.font||this.getFont(),At=Ae.scaleFactor||this.internal.scaleFactor,ve=0,kt=0,Ge=0,Zt=this;if(!Array.isArray(re)&&typeof re!="string"){if(typeof re!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");re=String(re)}var gt=Ae.maxWidth;gt>0?typeof re=="string"?re=this.splitTextToSize(re,gt):Object.prototype.toString.call(re)==="[object Array]"&&(re=re.reduce(function(yr,Qt){return yr.concat(Zt.splitTextToSize(Qt,gt))},[])):re=Array.isArray(re)?re:[re];for(var ar=0;ar<re.length;ar++)ve<(Ge=this.getStringUnitWidth(re[ar],{font:jt})*st)&&(ve=Ge);return ve!==0&&(kt=re.length),{w:ve/=At,h:Math.max((kt*st*this.getLineHeightFactor()-st*(this.getLineHeightFactor()-1))/At,0)}},f.cellAddPage=function(){b.call(this),this.addPage();var re=this.internal.__cell__.margins||s;return this.internal.__cell__.lastCell=new v(re.left,re.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var T=f.cell=function(){var re;re=arguments[0]instanceof v?arguments[0]:new v(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),b.call(this);var Ae=this.internal.__cell__.lastCell,st=this.internal.__cell__.padding,jt=this.internal.__cell__.margins||s,At=this.internal.__cell__.tableHeaderRow,ve=this.internal.__cell__.printHeaders;return Ae.lineNumber!==void 0&&(Ae.lineNumber===re.lineNumber?(re.x=(Ae.x||0)+(Ae.width||0),re.y=Ae.y||0):Ae.y+Ae.height+re.height+jt.bottom>this.getPageHeight()?(this.cellAddPage(),re.y=jt.top,ve&&At&&(this.printHeaderRow(re.lineNumber,!0),re.y+=At[0].height)):re.y=Ae.y+Ae.height||re.y),re.text[0]!==void 0&&(this.rect(re.x,re.y,re.width,re.height,p===!0?"FD":void 0),re.align==="right"?this.text(re.text,re.x+re.width-st,re.y+st,{align:"right",baseline:"top"}):re.align==="center"?this.text(re.text,re.x+re.width/2,re.y+st,{align:"center",baseline:"top",maxWidth:re.width-st-st}):this.text(re.text,re.x+st,re.y+st,{align:"left",baseline:"top",maxWidth:re.width-st-st})),this.internal.__cell__.lastCell=re,this};f.table=function(re,Ae,st,jt,At){if(b.call(this),!st)throw new Error("No data for PDF table.");var ve,kt,Ge,Zt,gt=[],ar=[],yr=[],Qt={},at={},Ce=[],Vt=[],Mt=(At=At||{}).autoSize||!1,Ot=At.printHeaders!==!1,qt=At.css&&At.css["font-size"]!==void 0?16*At.css["font-size"]:At.fontSize||12,We=At.margins||Object.assign({width:this.getPageWidth()},s),ze=typeof At.padding=="number"?At.padding:3,wt=At.headerBackgroundColor||"#c8c8c8",ut=At.headerTextColor||"#000";if(A.call(this),this.internal.__cell__.printHeaders=Ot,this.internal.__cell__.margins=We,this.internal.__cell__.table_font_size=qt,this.internal.__cell__.padding=ze,this.internal.__cell__.headerBackgroundColor=wt,this.internal.__cell__.headerTextColor=ut,this.setFontSize(qt),jt==null)ar=gt=Object.keys(st[0]),yr=gt.map(function(){return"left"});else if(Array.isArray(jt)&&(0,o.Z)(jt[0])==="object")for(gt=jt.map(function(Zr){return Zr.name}),ar=jt.map(function(Zr){return Zr.prompt||Zr.name||""}),yr=jt.map(function(Zr){return Zr.align||"left"}),ve=0;ve<jt.length;ve+=1)at[jt[ve].name]=.7499990551181103*jt[ve].width;else Array.isArray(jt)&&typeof jt[0]=="string"&&(ar=gt=jt,yr=gt.map(function(){return"left"}));if(Mt||Array.isArray(jt)&&typeof jt[0]=="string")for(ve=0;ve<gt.length;ve+=1){for(Qt[Zt=gt[ve]]=st.map(function(Zr){return Zr[Zt]}),this.setFont(void 0,"bold"),Ce.push(this.getTextDimensions(ar[ve],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),kt=Qt[Zt],this.setFont(void 0,"normal"),Ge=0;Ge<kt.length;Ge+=1)Ce.push(this.getTextDimensions(kt[Ge],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);at[Zt]=Math.max.apply(null,Ce)+ze+ze,Ce=[]}if(Ot){var cr={};for(ve=0;ve<gt.length;ve+=1)cr[gt[ve]]={},cr[gt[ve]].text=ar[ve],cr[gt[ve]].align=yr[ve];var gr=Z.call(this,cr,at);Vt=gt.map(function(Zr){return new v(re,Ae,at[Zr],gr,cr[Zr].text,void 0,cr[Zr].align)}),this.setTableHeaderRow(Vt),this.printHeaderRow(1,!1)}var _t=jt.reduce(function(Zr,Wt){return Zr[Wt.name]=Wt.align,Zr},{});for(ve=0;ve<st.length;ve+=1){"rowStart"in At&&At.rowStart instanceof Function&&At.rowStart({row:ve,data:st[ve]},this);var Tt=Z.call(this,st[ve],at);for(Ge=0;Ge<gt.length;Ge+=1){var ir=st[ve][gt[Ge]];"cellStart"in At&&At.cellStart instanceof Function&&At.cellStart({row:ve,col:Ge,data:ir},this),T.call(this,new v(re,Ae,at[gt[Ge]],Tt,ir,ve+2,_t[gt[Ge]]))}}return this.internal.__cell__.table_x=re,this.internal.__cell__.table_y=Ae,this};var Z=function(re,Ae){var st=this.internal.__cell__.padding,jt=this.internal.__cell__.table_font_size,At=this.internal.scaleFactor;return Object.keys(re).map(function(ve){var kt=re[ve];return this.splitTextToSize(kt.hasOwnProperty("text")?kt.text:kt,Ae[ve]-st-st)},this).map(function(ve){return this.getLineHeightFactor()*ve.length*jt/At+st+st},this).reduce(function(ve,kt){return Math.max(ve,kt)},0)};f.setTableHeaderRow=function(re){b.call(this),this.internal.__cell__.tableHeaderRow=re},f.printHeaderRow=function(re,Ae){if(b.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var st;if(p=!0,typeof this.internal.__cell__.headerFunction=="function"){var jt=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new v(jt[0],jt[1],jt[2],jt[3],void 0,-1)}this.setFont(void 0,"bold");for(var At=[],ve=0;ve<this.internal.__cell__.tableHeaderRow.length;ve+=1){st=this.internal.__cell__.tableHeaderRow[ve].clone(),Ae&&(st.y=this.internal.__cell__.margins.top||0,At.push(st)),st.lineNumber=re;var kt=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),T.call(this,st),this.setTextColor(kt)}At.length>0&&this.setTableHeaderRow(At),this.setFont(void 0,"normal"),p=!1}}(z.API);var $r={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},yn=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Tn=zr(yn),Ft=[100,200,300,400,500,600,700,800,900],Sr=zr(Ft);function br(f){var s=f.family.replace(/"|'/g,"").toLowerCase(),p=function(v){return $r[v=v||"normal"]?v:"normal"}(f.style),b=function(v){return v?typeof v=="number"?v>=100&&v<=900&&v%100==0?v:400:/^\d00$/.test(v)?parseInt(v):v==="bold"?700:400:400}(f.weight),A=function(v){return typeof Tn[v=v||"normal"]=="number"?v:"normal"}(f.stretch);return{family:s,style:p,weight:b,stretch:A,src:f.src||[],ref:f.ref||{name:s,style:[A,p,b].join(" ")}}}function Br(f,s,p,b){var A;for(A=p;A>=0&&A<s.length;A+=b)if(f[s[A]])return f[s[A]];for(A=p;A>=0&&A<s.length;A-=b)if(f[s[A]])return f[s[A]]}var h={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},D={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Ee(f){return[f.stretch,f.style,f.weight,f.family].join(" ")}function ne(f){return f.trimLeft()}function lt(f,s){for(var p=0;p<f.length;){if(f.charAt(p)===s)return[f.substring(0,p),f.substring(p+1)];p+=1}return null}function pn(f){var s=f.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return s===null?null:[s[0],f.substring(s[0].length)]}var mt,Ut,Ur,Pr,Jr,gn,Jn,ge,mr=["times"];function et(f,s,p,b,A){var v=4,T=Sn;switch(A){case z.API.image_compression.FAST:v=1,T=Vr;break;case z.API.image_compression.MEDIUM:v=6,T=ea;break;case z.API.image_compression.SLOW:v=9,T=vt}f=function(re,Ae,st,jt){for(var At,ve=re.length/Ae,kt=new Uint8Array(re.length+ve),Ge=[Ir,Vr,Sn,ea,vt],Zt=0;Zt<ve;Zt+=1){var gt=Zt*Ae,ar=re.subarray(gt,gt+Ae);if(jt)kt.set(jt(ar,st,At),gt+Zt);else{for(var yr=Ge.length,Qt=[],at=0;at<yr;at+=1)Qt[at]=Ge[at](ar,st,At);var Ce=sr(Qt.concat());kt.set(Qt[Ce],gt+Zt)}At=ar}return kt}(f,s,Math.ceil(p*b/8),T);var Z=(0,qe.iZ)(f,{level:v});return z.API.__addimage__.arrayBufferToBinaryString(Z)}function Ir(f){var s=Array.apply([],f);return s.unshift(0),s}function Vr(f,s){var p=f.length,b=[];b[0]=1;for(var A=0;A<p;A+=1){var v=f[A-s]||0;b[A+1]=f[A]-v+256&255}return b}function Sn(f,s,p){var b=f.length,A=[];A[0]=2;for(var v=0;v<b;v+=1){var T=p&&p[v]||0;A[v+1]=f[v]-T+256&255}return A}function ea(f,s,p){var b=f.length,A=[];A[0]=3;for(var v=0;v<b;v+=1){var T=f[v-s]||0,Z=p&&p[v]||0;A[v+1]=f[v]+256-(T+Z>>>1)&255}return A}function vt(f,s,p){var b=f.length,A=[];A[0]=4;for(var v=0;v<b;v+=1){var T=nr(f[v-s]||0,p&&p[v]||0,p&&p[v-s]||0);A[v+1]=f[v]-T+256&255}return A}function nr(f,s,p){if(f===s&&s===p)return f;var b=Math.abs(s-p),A=Math.abs(f-p),v=Math.abs(f+s-p-p);return b<=A&&b<=v?f:A<=v?s:p}function sr(f){var s=f.map(function(p){return p.reduce(function(b,A){return b+Math.abs(A)},0)});return s.indexOf(Math.min.apply(null,s))}function or(f,s,p){var b=s*p,A=Math.floor(b/8),v=16-(b-8*A+p),T=(1<<p)-1;return on(f,A)>>v&T}function jr(f,s,p,b){var A=p*b,v=Math.floor(A/8),T=16-(A-8*v+b),Z=(1<<b)-1,re=(s&Z)<<T;(function(Ae,st,jt){if(st+1<Ae.byteLength)Ae.setUint16(st,jt,!1);else{var At=jt>>8&255;Ae.setUint8(st,At)}})(f,v,on(f,v)&~(Z<<T)&65535|re)}function on(f,s){return s+1<f.byteLength?f.getUint16(s,!1):f.getUint8(s)<<8}function Wr(f){var s=0;if(f[s++]!==71||f[s++]!==73||f[s++]!==70||f[s++]!==56||(f[s++]+1&253)!=56||f[s++]!==97)throw new Error("Invalid GIF 87a/89a header.");var p=f[s++]|f[s++]<<8,b=f[s++]|f[s++]<<8,A=f[s++],v=A>>7,T=1<<1+(7&A);f[s++],f[s++];var Z=null,re=null;v&&(Z=s,re=T,s+=3*T);var Ae=!0,st=[],jt=0,At=null,ve=0,kt=null;for(this.width=p,this.height=b;Ae&&s<f.length;)switch(f[s++]){case 33:switch(f[s++]){case 255:if(f[s]!==11||f[s+1]==78&&f[s+2]==69&&f[s+3]==84&&f[s+4]==83&&f[s+5]==67&&f[s+6]==65&&f[s+7]==80&&f[s+8]==69&&f[s+9]==50&&f[s+10]==46&&f[s+11]==48&&f[s+12]==3&&f[s+13]==1&&f[s+16]==0)s+=14,kt=f[s++]|f[s++]<<8,s++;else for(s+=12;;){if(!((We=f[s++])>=0))throw Error("Invalid block size");if(We===0)break;s+=We}break;case 249:if(f[s++]!==4||f[s+4]!==0)throw new Error("Invalid graphics extension block.");var Ge=f[s++];jt=f[s++]|f[s++]<<8,At=f[s++],1&Ge||(At=null),ve=Ge>>2&7,s++;break;case 254:for(;;){if(!((We=f[s++])>=0))throw Error("Invalid block size");if(We===0)break;s+=We}break;default:throw new Error("Unknown graphic control label: 0x"+f[s-1].toString(16))}break;case 44:var Zt=f[s++]|f[s++]<<8,gt=f[s++]|f[s++]<<8,ar=f[s++]|f[s++]<<8,yr=f[s++]|f[s++]<<8,Qt=f[s++],at=Qt>>6&1,Ce=1<<1+(7&Qt),Vt=Z,Mt=re,Ot=!1;Qt>>7&&(Ot=!0,Vt=s,Mt=Ce,s+=3*Ce);var qt=s;for(s++;;){var We;if(!((We=f[s++])>=0))throw Error("Invalid block size");if(We===0)break;s+=We}st.push({x:Zt,y:gt,width:ar,height:yr,has_local_palette:Ot,palette_offset:Vt,palette_size:Mt,data_offset:qt,data_length:s-qt,transparent_index:At,interlaced:!!at,delay:jt,disposal:ve});break;case 59:Ae=!1;break;default:throw new Error("Unknown gif block: 0x"+f[s-1].toString(16))}this.numFrames=function(){return st.length},this.loopCount=function(){return kt},this.frameInfo=function(ze){if(ze<0||ze>=st.length)throw new Error("Frame index out of range.");return st[ze]},this.decodeAndBlitFrameBGRA=function(ze,wt){var ut=this.frameInfo(ze),cr=ut.width*ut.height,gr=new Uint8Array(cr);Dr(f,ut.data_offset,gr,cr);var _t=ut.palette_offset,Tt=ut.transparent_index;Tt===null&&(Tt=256);var ir=ut.width,Zr=p-ir,Wt=ir,Pe=4*(ut.y*p+ut.x),bt=4*((ut.y+ut.height)*p+ut.x),Bt=Pe,ht=4*Zr;ut.interlaced===!0&&(ht+=4*p*7);for(var Jt=8,dr=0,fr=gr.length;dr<fr;++dr){var Er=gr[dr];if(Wt===0&&(Wt=ir,(Bt+=ht)>=bt&&(ht=4*Zr+4*p*(Jt-1),Bt=Pe+(ir+Zr)*(Jt<<1),Jt>>=1)),Er===Tt)Bt+=4;else{var Lr=f[_t+3*Er],Rr=f[_t+3*Er+1],cn=f[_t+3*Er+2];wt[Bt++]=cn,wt[Bt++]=Rr,wt[Bt++]=Lr,wt[Bt++]=255}--Wt}},this.decodeAndBlitFrameRGBA=function(ze,wt){var ut=this.frameInfo(ze),cr=ut.width*ut.height,gr=new Uint8Array(cr);Dr(f,ut.data_offset,gr,cr);var _t=ut.palette_offset,Tt=ut.transparent_index;Tt===null&&(Tt=256);var ir=ut.width,Zr=p-ir,Wt=ir,Pe=4*(ut.y*p+ut.x),bt=4*((ut.y+ut.height)*p+ut.x),Bt=Pe,ht=4*Zr;ut.interlaced===!0&&(ht+=4*p*7);for(var Jt=8,dr=0,fr=gr.length;dr<fr;++dr){var Er=gr[dr];if(Wt===0&&(Wt=ir,(Bt+=ht)>=bt&&(ht=4*Zr+4*p*(Jt-1),Bt=Pe+(ir+Zr)*(Jt<<1),Jt>>=1)),Er===Tt)Bt+=4;else{var Lr=f[_t+3*Er],Rr=f[_t+3*Er+1],cn=f[_t+3*Er+2];wt[Bt++]=Lr,wt[Bt++]=Rr,wt[Bt++]=cn,wt[Bt++]=255}--Wt}}}function Dr(f,s,p,b){for(var A=f[s++],v=1<<A,T=v+1,Z=T+1,re=A+1,Ae=(1<<re)-1,st=0,jt=0,At=0,ve=f[s++],kt=new Int32Array(4096),Ge=null;;){for(;st<16&&ve!==0;)jt|=f[s++]<<st,st+=8,ve===1?ve=f[s++]:--ve;if(st<re)break;var Zt=jt&Ae;if(jt>>=re,st-=re,Zt!==v){if(Zt===T)break;for(var gt=Zt<Z?Zt:Ge,ar=0,yr=gt;yr>v;)yr=kt[yr]>>8,++ar;var Qt=yr;if(At+ar+(gt!==Zt?1:0)>b)return void _.log("Warning, gif stream longer than expected.");p[At++]=Qt;var at=At+=ar;for(gt!==Zt&&(p[At++]=Qt),yr=gt;ar--;)yr=kt[yr],p[--at]=255&yr,yr>>=8;Ge!==null&&Z<4096&&(kt[Z++]=Ge<<8|Qt,Z>=Ae+1&&re<12&&(++re,Ae=Ae<<1|1)),Ge=Zt}else Z=T+1,Ae=(1<<(re=A+1))-1,Ge=null}return At!==b&&_.log("Warning, gif stream shorter than expected."),p}function nn(f){var s,p,b,A,v,T=Math.floor,Z=new Array(64),re=new Array(64),Ae=new Array(64),st=new Array(64),jt=new Array(65535),At=new Array(65535),ve=new Array(64),kt=new Array(64),Ge=[],Zt=0,gt=7,ar=new Array(64),yr=new Array(64),Qt=new Array(64),at=new Array(256),Ce=new Array(2048),Vt=[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],Mt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Ot=[0,1,2,3,4,5,6,7,8,9,10,11],qt=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],We=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],ze=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],wt=[0,1,2,3,4,5,6,7,8,9,10,11],ut=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],cr=[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 gr(Pe,bt){for(var Bt=0,ht=0,Jt=new Array,dr=1;dr<=16;dr++){for(var fr=1;fr<=Pe[dr];fr++)Jt[bt[ht]]=[],Jt[bt[ht]][0]=Bt,Jt[bt[ht]][1]=dr,ht++,Bt++;Bt*=2}return Jt}function _t(Pe){for(var bt=Pe[0],Bt=Pe[1]-1;Bt>=0;)bt&1<<Bt&&(Zt|=1<<gt),Bt--,--gt<0&&(Zt==255?(Tt(255),Tt(0)):Tt(Zt),gt=7,Zt=0)}function Tt(Pe){Ge.push(Pe)}function ir(Pe){Tt(Pe>>8&255),Tt(255&Pe)}function Zr(Pe,bt,Bt,ht,Jt){for(var dr,fr=Jt[0],Er=Jt[240],Lr=function(an,dn){var Gr,sa,Vn,xa,Xn,la,La,na,kn,aa,Fn=0;for(kn=0;kn<8;++kn){Gr=an[Fn],sa=an[Fn+1],Vn=an[Fn+2],xa=an[Fn+3],Xn=an[Fn+4],la=an[Fn+5],La=an[Fn+6];var Ln=Gr+(na=an[Fn+7]),_n=Gr-na,Qr=sa+La,mn=sa-La,ca=Vn+la,En=Vn-la,ha=xa+Xn,Zn=xa-Xn,Ha=Ln+ha,Ja=Ln-ha,Cn=Qr+ca,jn=Qr-ca;an[Fn]=Ha+Cn,an[Fn+4]=Ha-Cn;var fa=.707106781*(jn+Ja);an[Fn+2]=Ja+fa,an[Fn+6]=Ja-fa;var qa=.382683433*((Ha=Zn+En)-(jn=mn+_n)),Ka=.5411961*Ha+qa,co=1.306562965*jn+qa,uo=.707106781*(Cn=En+mn),ma=_n+uo,Eo=_n-uo;an[Fn+5]=Eo+Ka,an[Fn+3]=Eo-Ka,an[Fn+1]=ma+co,an[Fn+7]=ma-co,Fn+=8}for(Fn=0,kn=0;kn<8;++kn){Gr=an[Fn],sa=an[Fn+8],Vn=an[Fn+16],xa=an[Fn+24],Xn=an[Fn+32],la=an[Fn+40],La=an[Fn+48];var ja=Gr+(na=an[Fn+56]),Ta=Gr-na,Na=sa+La,Ba=sa-La,Wa=Vn+la,va=Vn-la,Xa=xa+Xn,Da=xa-Xn,_a=ja+Xa,no=ja-Xa,lo=Na+Wa,$o=Na-Wa;an[Fn]=_a+lo,an[Fn+32]=_a-lo;var Po=.707106781*($o+no);an[Fn+16]=no+Po,an[Fn+48]=no-Po;var Ma=.382683433*((_a=Da+va)-($o=Ba+Ta)),Wo=.5411961*_a+Ma,ho=1.306562965*$o+Ma,jo=.707106781*(lo=va+Ba),vo=Ta+jo,vi=Ta-jo;an[Fn+40]=vi+Wo,an[Fn+24]=vi-Wo,an[Fn+8]=vo+ho,an[Fn+56]=vo-ho,Fn++}for(kn=0;kn<64;++kn)aa=an[kn]*dn[kn],ve[kn]=aa>0?aa+.5|0:aa-.5|0;return ve}(Pe,bt),Rr=0;Rr<64;++Rr)kt[Vt[Rr]]=Lr[Rr];var cn=kt[0]-Bt;Bt=kt[0],cn==0?_t(ht[0]):(_t(ht[At[dr=32767+cn]]),_t(jt[dr]));for(var wn=63;wn>0&&kt[wn]==0;)wn--;if(wn==0)return _t(fr),Bt;for(var Mr,Lt=1;Lt<=wn;){for(var ba=Lt;kt[Lt]==0&&Lt<=wn;)++Lt;var da=Lt-ba;if(da>=16){Mr=da>>4;for(var Hn=1;Hn<=Mr;++Hn)_t(Er);da&=15}dr=32767+kt[Lt],_t(Jt[(da<<4)+At[dr]]),_t(jt[dr]),Lt++}return wn!=63&&_t(fr),Bt}function Wt(Pe){Pe=Math.min(Math.max(Pe,1),100),v!=Pe&&(function(bt){for(var Bt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],ht=0;ht<64;ht++){var Jt=T((Bt[ht]*bt+50)/100);Jt=Math.min(Math.max(Jt,1),255),Z[Vt[ht]]=Jt}for(var dr=[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],fr=0;fr<64;fr++){var Er=T((dr[fr]*bt+50)/100);Er=Math.min(Math.max(Er,1),255),re[Vt[fr]]=Er}for(var Lr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Rr=0,cn=0;cn<8;cn++)for(var wn=0;wn<8;wn++)Ae[Rr]=1/(Z[Vt[Rr]]*Lr[cn]*Lr[wn]*8),st[Rr]=1/(re[Vt[Rr]]*Lr[cn]*Lr[wn]*8),Rr++}(Pe<50?Math.floor(5e3/Pe):Math.floor(200-2*Pe)),v=Pe)}this.encode=function(Pe,bt){bt&&Wt(bt),Ge=new Array,Zt=0,gt=7,ir(65496),ir(65504),ir(16),Tt(74),Tt(70),Tt(73),Tt(70),Tt(0),Tt(1),Tt(1),Tt(0),ir(1),ir(1),Tt(0),Tt(0),function(){ir(65499),ir(132),Tt(0);for(var sa=0;sa<64;sa++)Tt(Z[sa]);Tt(1);for(var Vn=0;Vn<64;Vn++)Tt(re[Vn])}(),function(sa,Vn){ir(65472),ir(17),Tt(8),ir(Vn),ir(sa),Tt(3),Tt(1),Tt(17),Tt(0),Tt(2),Tt(17),Tt(1),Tt(3),Tt(17),Tt(1)}(Pe.width,Pe.height),function(){ir(65476),ir(418),Tt(0);for(var sa=0;sa<16;sa++)Tt(Mt[sa+1]);for(var Vn=0;Vn<=11;Vn++)Tt(Ot[Vn]);Tt(16);for(var xa=0;xa<16;xa++)Tt(qt[xa+1]);for(var Xn=0;Xn<=161;Xn++)Tt(We[Xn]);Tt(1);for(var la=0;la<16;la++)Tt(ze[la+1]);for(var La=0;La<=11;La++)Tt(wt[La]);Tt(17);for(var na=0;na<16;na++)Tt(ut[na+1]);for(var kn=0;kn<=161;kn++)Tt(cr[kn])}(),ir(65498),ir(12),Tt(3),Tt(1),Tt(0),Tt(2),Tt(17),Tt(3),Tt(17),Tt(0),Tt(63),Tt(0);var Bt=0,ht=0,Jt=0;Zt=0,gt=7,this.encode.displayName="_encode_";for(var dr,fr,Er,Lr,Rr,cn,wn,Mr,Lt,ba=Pe.data,da=Pe.width,Hn=Pe.height,an=4*da,dn=0;dn<Hn;){for(dr=0;dr<an;){for(Rr=an*dn+dr,wn=-1,Mr=0,Lt=0;Lt<64;Lt++)cn=Rr+(Mr=Lt>>3)*an+(wn=4*(7&Lt)),dn+Mr>=Hn&&(cn-=an*(dn+1+Mr-Hn)),dr+wn>=an&&(cn-=dr+wn-an+4),fr=ba[cn++],Er=ba[cn++],Lr=ba[cn++],ar[Lt]=(Ce[fr]+Ce[Er+256|0]+Ce[Lr+512|0]>>16)-128,yr[Lt]=(Ce[fr+768|0]+Ce[Er+1024|0]+Ce[Lr+1280|0]>>16)-128,Qt[Lt]=(Ce[fr+1280|0]+Ce[Er+1536|0]+Ce[Lr+1792|0]>>16)-128;Bt=Zr(ar,Ae,Bt,s,b),ht=Zr(yr,st,ht,p,A),Jt=Zr(Qt,st,Jt,p,A),dr+=32}dn+=8}if(gt>=0){var Gr=[];Gr[1]=gt+1,Gr[0]=(1<<gt+1)-1,_t(Gr)}return ir(65497),new Uint8Array(Ge)},f=f||50,function(){for(var Pe=String.fromCharCode,bt=0;bt<256;bt++)at[bt]=Pe(bt)}(),s=gr(Mt,Ot),p=gr(ze,wt),b=gr(qt,We),A=gr(ut,cr),function(){for(var Pe=1,bt=2,Bt=1;Bt<=15;Bt++){for(var ht=Pe;ht<bt;ht++)At[32767+ht]=Bt,jt[32767+ht]=[],jt[32767+ht][1]=Bt,jt[32767+ht][0]=ht;for(var Jt=-(bt-1);Jt<=-Pe;Jt++)At[32767+Jt]=Bt,jt[32767+Jt]=[],jt[32767+Jt][1]=Bt,jt[32767+Jt][0]=bt-1+Jt;Pe<<=1,bt<<=1}}(),function(){for(var Pe=0;Pe<256;Pe++)Ce[Pe]=19595*Pe,Ce[Pe+256|0]=38470*Pe,Ce[Pe+512|0]=7471*Pe+32768,Ce[Pe+768|0]=-11059*Pe,Ce[Pe+1024|0]=-21709*Pe,Ce[Pe+1280|0]=32768*Pe+8421375,Ce[Pe+1536|0]=-27439*Pe,Ce[Pe+1792|0]=-5329*Pe}(),Wt(f)}function sn(f,s){if(this.pos=0,this.buffer=f,this.datav=new DataView(f.buffer),this.is_with_alpha=!!s,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function $n(f){function s(Ot){if(!Ot)throw Error("assert :P")}function p(Ot,qt,We){for(var ze=0;4>ze;ze++)if(Ot[qt+ze]!=We.charCodeAt(ze))return!0;return!1}function b(Ot,qt,We,ze,wt){for(var ut=0;ut<wt;ut++)Ot[qt+ut]=We[ze+ut]}function A(Ot,qt,We,ze){for(var wt=0;wt<ze;wt++)Ot[qt+wt]=We}function v(Ot){return new Int32Array(Ot)}function T(Ot,qt){for(var We=[],ze=0;ze<Ot;ze++)We.push(new qt);return We}function Z(Ot,qt){var We=[];return function ze(wt,ut,cr){for(var gr=cr[ut],_t=0;_t<gr&&(wt.push(cr.length>ut+1?[]:new qt),!(cr.length<ut+1));_t++)ze(wt[_t],ut+1,cr)}(We,0,Ot),We}var re=function(){var Ot=this;function qt(i,m){for(var U=1<<m-1>>>0;i&U;)U>>>=1;return U?(i&U-1)+U:i}function We(i,m,U,de,Te){s(!(de%U));do i[m+(de-=U)]=Te;while(0<de)}function ze(i,m,U,de,Te){if(s(2328>=Te),512>=Te)var Xe=v(512);else if((Xe=v(Te))==null)return 0;return function(rt,dt,yt,Dt,hr,Tr){var Rt,vr,Or=dt,Xr=1<<yt,Nr=v(16),_r=v(16);for(s(hr!=0),s(Dt!=null),s(rt!=null),s(0<yt),vr=0;vr<hr;++vr){if(15<Dt[vr])return 0;++Nr[Dt[vr]]}if(Nr[0]==hr)return 0;for(_r[1]=0,Rt=1;15>Rt;++Rt){if(Nr[Rt]>1<<Rt)return 0;_r[Rt+1]=_r[Rt]+Nr[Rt]}for(vr=0;vr<hr;++vr)Rt=Dt[vr],0<Dt[vr]&&(Tr[_r[Rt]++]=vr);if(_r[15]==1)return(Dt=new wt).g=0,Dt.value=Tr[0],We(rt,Or,1,Xr,Dt),Xr;var en,vn=-1,fn=Xr-1,Sa=0,ia=1,Za=1,pa=1<<yt;for(vr=0,Rt=1,hr=2;Rt<=yt;++Rt,hr<<=1){if(ia+=Za<<=1,0>(Za-=Nr[Rt]))return 0;for(;0<Nr[Rt];--Nr[Rt])(Dt=new wt).g=Rt,Dt.value=Tr[vr++],We(rt,Or+Sa,hr,pa,Dt),Sa=qt(Sa,Rt)}for(Rt=yt+1,hr=2;15>=Rt;++Rt,hr<<=1){if(ia+=Za<<=1,0>(Za-=Nr[Rt]))return 0;for(;0<Nr[Rt];--Nr[Rt]){if(Dt=new wt,(Sa&fn)!=vn){for(Or+=pa,en=1<<(vn=Rt)-yt;15>vn&&!(0>=(en-=Nr[vn]));)++vn,en<<=1;Xr+=pa=1<<(en=vn-yt),rt[dt+(vn=Sa&fn)].g=en+yt,rt[dt+vn].value=Or-dt-vn}Dt.g=Rt-yt,Dt.value=Tr[vr++],We(rt,Or+(Sa>>yt),hr,pa,Dt),Sa=qt(Sa,Rt)}}return ia!=2*_r[15]-1?0:Xr}(i,m,U,de,Te,Xe)}function wt(){this.value=this.g=0}function ut(){this.value=this.g=0}function cr(){this.G=T(5,wt),this.H=v(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=T(un,ut)}function gr(i,m,U,de){s(i!=null),s(m!=null),s(2147483648>de),i.Ca=254,i.I=0,i.b=-8,i.Ka=0,i.oa=m,i.pa=U,i.Jd=m,i.Yc=U+de,i.Zc=4<=de?U+de-4+1:U,fr(i)}function _t(i,m){for(var U=0;0<m--;)U|=Lr(i,128)<<m;return U}function Tt(i,m){var U=_t(i,m);return Er(i)?-U:U}function ir(i,m,U,de){var Te,Xe=0;for(s(i!=null),s(m!=null),s(4294967288>de),i.Sb=de,i.Ra=0,i.u=0,i.h=0,4<de&&(de=4),Te=0;Te<de;++Te)Xe+=m[U+Te]<<8*Te;i.Ra=Xe,i.bb=de,i.oa=m,i.pa=U}function Zr(i){for(;8<=i.u&&i.bb<i.Sb;)i.Ra>>>=8,i.Ra+=i.oa[i.pa+i.bb]<<Mn-8>>>0,++i.bb,i.u-=8;ht(i)&&(i.h=1,i.u=0)}function Wt(i,m){if(s(0<=m),!i.h&&m<=Nn){var U=Bt(i)&bn[m];return i.u+=m,Zr(i),U}return i.h=1,i.u=0}function Pe(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function bt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Bt(i){return i.Ra>>>(i.u&Mn-1)>>>0}function ht(i){return s(i.bb<=i.Sb),i.h||i.bb==i.Sb&&i.u>Mn}function Jt(i,m){i.u=m,i.h=ht(i)}function dr(i){i.u>=oa&&(s(i.u>=oa),Zr(i))}function fr(i){s(i!=null&&i.oa!=null),i.pa<i.Zc?(i.I=(i.oa[i.pa++]|i.I<<8)>>>0,i.b+=8):(s(i!=null&&i.oa!=null),i.pa<i.Yc?(i.b+=8,i.I=i.oa[i.pa++]|i.I<<8):i.Ka?i.b=0:(i.I<<=8,i.b+=8,i.Ka=1))}function Er(i){return _t(i,1)}function Lr(i,m){var U=i.Ca;0>i.b&&fr(i);var de=i.b,Te=U*m>>>8,Xe=(i.I>>>de>Te)+0;for(Xe?(U-=Te,i.I-=Te+1<<de>>>0):U=Te+1,de=U,Te=0;256<=de;)Te+=8,de>>=8;return de=7^Te+ya[de],i.b-=de,i.Ca=(U<<de)-1,Xe}function Rr(i,m,U){i[m+0]=U>>24&255,i[m+1]=U>>16&255,i[m+2]=U>>8&255,i[m+3]=255&U}function cn(i,m){return i[m+0]|i[m+1]<<8}function wn(i,m){return cn(i,m)|i[m+2]<<16}function Mr(i,m){return cn(i,m)|cn(i,m+2)<<16}function Lt(i,m){var U=1<<m;return s(i!=null),s(0<m),i.X=v(U),i.X==null?0:(i.Mb=32-m,i.Xa=m,1)}function ba(i,m){s(i!=null),s(m!=null),s(i.Xa==m.Xa),b(m.X,0,i.X,0,1<<m.Xa)}function da(){this.X=[],this.Xa=this.Mb=0}function Hn(i,m,U,de){s(U!=null),s(de!=null);var Te=U[0],Xe=de[0];return Te==0&&(Te=(i*Xe+m/2)/m),Xe==0&&(Xe=(m*Te+i/2)/i),0>=Te||0>=Xe?0:(U[0]=Te,de[0]=Xe,1)}function an(i,m){return i+(1<<m)-1>>>m}function dn(i,m){return((4278255360&i)+(4278255360&m)>>>0&4278255360)+((16711935&i)+(16711935&m)>>>0&16711935)>>>0}function Gr(i,m){Ot[m]=function(U,de,Te,Xe,rt,dt,yt){var Dt;for(Dt=0;Dt<rt;++Dt){var hr=Ot[i](dt[yt+Dt-1],Te,Xe+Dt);dt[yt+Dt]=dn(U[de+Dt],hr)}}}function sa(){this.ud=this.hd=this.jd=0}function Vn(i,m){return((4278124286&(i^m))>>>1)+(i&m)>>>0}function xa(i){return 0<=i&&256>i?i:0>i?0:255<i?255:void 0}function Xn(i,m){return xa(i+(i-m+.5>>1))}function la(i,m,U){return Math.abs(m-U)-Math.abs(i-U)}function La(i,m,U,de,Te,Xe,rt){for(de=Xe[rt-1],U=0;U<Te;++U)Xe[rt+U]=de=dn(i[m+U],de)}function na(i,m,U,de,Te){var Xe;for(Xe=0;Xe<U;++Xe){var rt=i[m+Xe],dt=rt>>8&255,yt=16711935&(yt=(yt=16711935&rt)+((dt<<16)+dt));de[Te+Xe]=(4278255360&rt)+yt>>>0}}function kn(i,m){m.jd=255&i,m.hd=i>>8&255,m.ud=i>>16&255}function aa(i,m,U,de,Te,Xe){var rt;for(rt=0;rt<de;++rt){var dt=m[U+rt],yt=dt>>>8,Dt=dt,hr=255&(hr=(hr=dt>>>16)+((i.jd<<24>>24)*(yt<<24>>24)>>>5));Dt=255&(Dt=(Dt+=(i.hd<<24>>24)*(yt<<24>>24)>>>5)+((i.ud<<24>>24)*(hr<<24>>24)>>>5)),Te[Xe+rt]=(4278255360&dt)+(hr<<16)+Dt}}function Fn(i,m,U,de,Te){Ot[m]=function(Xe,rt,dt,yt,Dt,hr,Tr,Rt,vr){for(yt=Tr;yt<Rt;++yt)for(Tr=0;Tr<vr;++Tr)Dt[hr++]=Te(dt[de(Xe[rt++])])},Ot[i]=function(Xe,rt,dt,yt,Dt,hr,Tr){var Rt=8>>Xe.b,vr=Xe.Ea,Or=Xe.K[0],Xr=Xe.w;if(8>Rt)for(Xe=(1<<Xe.b)-1,Xr=(1<<Rt)-1;rt<dt;++rt){var Nr,_r=0;for(Nr=0;Nr<vr;++Nr)Nr&Xe||(_r=de(yt[Dt++])),hr[Tr++]=Te(Or[_r&Xr]),_r>>=Rt}else Ot["VP8LMapColor"+U](yt,Dt,Or,Xr,hr,Tr,rt,dt,vr)}}function Ln(i,m,U,de,Te){for(U=m+U;m<U;){var Xe=i[m++];de[Te++]=Xe>>16&255,de[Te++]=Xe>>8&255,de[Te++]=255&Xe}}function _n(i,m,U,de,Te){for(U=m+U;m<U;){var Xe=i[m++];de[Te++]=Xe>>16&255,de[Te++]=Xe>>8&255,de[Te++]=255&Xe,de[Te++]=Xe>>24&255}}function Qr(i,m,U,de,Te){for(U=m+U;m<U;){var Xe=(rt=i[m++])>>16&240|rt>>12&15,rt=240&rt|rt>>28&15;de[Te++]=Xe,de[Te++]=rt}}function mn(i,m,U,de,Te){for(U=m+U;m<U;){var Xe=(rt=i[m++])>>16&248|rt>>13&7,rt=rt>>5&224|rt>>3&31;de[Te++]=Xe,de[Te++]=rt}}function ca(i,m,U,de,Te){for(U=m+U;m<U;){var Xe=i[m++];de[Te++]=255&Xe,de[Te++]=Xe>>8&255,de[Te++]=Xe>>16&255}}function En(i,m,U,de,Te,Xe){if(Xe==0)for(U=m+U;m<U;)Rr(de,((Xe=i[m++])[0]>>24|Xe[1]>>8&65280|Xe[2]<<8&16711680|Xe[3]<<24)>>>0),Te+=32;else b(de,Te,i,m,U)}function ha(i,m){Ot[m][0]=Ot[i+"0"],Ot[m][1]=Ot[i+"1"],Ot[m][2]=Ot[i+"2"],Ot[m][3]=Ot[i+"3"],Ot[m][4]=Ot[i+"4"],Ot[m][5]=Ot[i+"5"],Ot[m][6]=Ot[i+"6"],Ot[m][7]=Ot[i+"7"],Ot[m][8]=Ot[i+"8"],Ot[m][9]=Ot[i+"9"],Ot[m][10]=Ot[i+"10"],Ot[m][11]=Ot[i+"11"],Ot[m][12]=Ot[i+"12"],Ot[m][13]=Ot[i+"13"],Ot[m][14]=Ot[i+"0"],Ot[m][15]=Ot[i+"0"]}function Zn(i){return i==g0||i==v0||i==n0||i==b0}function Ha(){this.eb=[],this.size=this.A=this.fb=0}function Ja(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Cn(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Ha,this.f.kb=new Ja,this.sd=null}function jn(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function fa(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function qa(i){return alert("todo:WebPSamplerProcessPlane"),i.T}function Ka(i,m){var U=i.T,de=m.ba.f.RGBA,Te=de.eb,Xe=de.fb+i.ka*de.A,rt=Yi[m.ba.S],dt=i.y,yt=i.O,Dt=i.f,hr=i.N,Tr=i.ea,Rt=i.W,vr=m.cc,Or=m.dc,Xr=m.Mc,Nr=m.Nc,_r=i.ka,en=i.ka+i.T,vn=i.U,fn=vn+1>>1;for(_r==0?rt(dt,yt,null,null,Dt,hr,Tr,Rt,Dt,hr,Tr,Rt,Te,Xe,null,null,vn):(rt(m.ec,m.fc,dt,yt,vr,Or,Xr,Nr,Dt,hr,Tr,Rt,Te,Xe-de.A,Te,Xe,vn),++U);_r+2<en;_r+=2)vr=Dt,Or=hr,Xr=Tr,Nr=Rt,hr+=i.Rc,Rt+=i.Rc,Xe+=2*de.A,rt(dt,(yt+=2*i.fa)-i.fa,dt,yt,vr,Or,Xr,Nr,Dt,hr,Tr,Rt,Te,Xe-de.A,Te,Xe,vn);return yt+=i.fa,i.j+en<i.o?(b(m.ec,m.fc,dt,yt,vn),b(m.cc,m.dc,Dt,hr,fn),b(m.Mc,m.Nc,Tr,Rt,fn),U--):1&en||rt(dt,yt,null,null,Dt,hr,Tr,Rt,Dt,hr,Tr,Rt,Te,Xe+de.A,null,null,vn),U}function co(i,m,U){var de=i.F,Te=[i.J];if(de!=null){var Xe=i.U,rt=m.ba.S,dt=rt==r0||rt==n0;m=m.ba.f.RGBA;var yt=[0],Dt=i.ka;yt[0]=i.T,i.Kb&&(Dt==0?--yt[0]:(--Dt,Te[0]-=i.width),i.j+i.ka+i.T==i.o&&(yt[0]=i.o-i.j-Dt));var hr=m.eb;Dt=m.fb+Dt*m.A,i=Ds(de,Te[0],i.width,Xe,yt,hr,Dt+(dt?0:3),m.A),s(U==yt),i&&Zn(rt)&&As(hr,Dt,dt,Xe,yt,m.A)}return 0}function uo(i){var m=i.ma,U=m.ba.S,de=11>U,Te=U==e0||U==t0||U==r0||U==p0||U==12||Zn(U);if(m.memory=null,m.Ib=null,m.Jb=null,m.Nd=null,!xr(m.Oa,i,Te?11:12))return 0;if(Te&&Zn(U)&&kr(),i.da)alert("todo:use_scaling");else{if(de){if(m.Ib=qa,i.Kb){if(U=i.U+1>>1,m.memory=v(i.U+2*U),m.memory==null)return 0;m.ec=m.memory,m.fc=0,m.cc=m.ec,m.dc=m.fc+i.U,m.Mc=m.cc,m.Nc=m.dc+U,m.Ib=Ka,kr()}}else alert("todo:EmitYUV");Te&&(m.Jb=co,de&&rr())}if(de&&!K0){for(i=0;256>i;++i)$l[i]=89858*(i-128)+o0>>a0,jl[i]=-22014*(i-128)+o0,Pl[i]=-45773*(i-128),Al[i]=113618*(i-128)+o0>>a0;for(i=Vs;i<S0;++i)m=76283*(i-16)+o0>>a0,Nl[i-Vs]=V(m,255),Ml[i-Vs]=V(m+8>>4,15);K0=1}return 1}function ma(i){var m=i.ma,U=i.U,de=i.T;return s(!(1&i.ka)),0>=U||0>=de?0:(U=m.Ib(i,m),m.Jb!=null&&m.Jb(i,m,U),m.Dc+=U,1)}function Eo(i){i.ma.memory=null}function ja(i,m,U,de){return Wt(i,8)!=47?0:(m[0]=Wt(i,14)+1,U[0]=Wt(i,14)+1,de[0]=Wt(i,1),Wt(i,3)!=0?0:!i.h)}function Ta(i,m){if(4>i)return i+1;var U=i-2>>1;return(2+(1&i)<<U)+Wt(m,U)+1}function Na(i,m){return 120<m?m-120:1<=(U=((U=fl[m-1])>>4)*i+(8-(15&U)))?U:1;var U}function Ba(i,m,U){var de=Bt(U),Te=i[m+=255&de].g-8;return 0<Te&&(Jt(U,U.u+8),de=Bt(U),m+=i[m].value,m+=de&(1<<Te)-1),Jt(U,U.u+i[m].g),i[m].value}function Wa(i,m,U){return U.g+=i.g,U.value+=i.value<<m>>>0,s(8>=U.g),i.g}function va(i,m,U){var de=i.xc;return s((m=de==0?0:i.vc[i.md*(U>>de)+(m>>de)])<i.Wb),i.Ya[m]}function Xa(i,m,U,de){var Te=i.ab,Xe=i.c*m,rt=i.C;m=rt+m;var dt=U,yt=de;for(de=i.Ta,U=i.Ua;0<Te--;){var Dt=i.gc[Te],hr=rt,Tr=m,Rt=dt,vr=yt,Or=(yt=de,dt=U,Dt.Ea);switch(s(hr<Tr),s(Tr<=Dt.nc),Dt.hc){case 2:Oa(Rt,vr,(Tr-hr)*Or,yt,dt);break;case 0:var Xr=hr,Nr=Tr,_r=yt,en=dt,vn=(pa=Dt).Ea;Xr==0&&(Ua(Rt,vr,null,null,1,_r,en),La(Rt,vr+1,0,0,vn-1,_r,en+1),vr+=vn,en+=vn,++Xr);for(var fn=1<<pa.b,Sa=fn-1,ia=an(vn,pa.b),Za=pa.K,pa=pa.w+(Xr>>pa.b)*ia;Xr<Nr;){var Qa=Za,Ko=pa,Va=1;for(Pa(Rt,vr,_r,en-vn,1,_r,en);Va<vn;){var ga=(Va&~Sa)+fn;ga>vn&&(ga=vn),(0,Io[Qa[Ko++]>>8&15])(Rt,vr+ +Va,_r,en+Va-vn,ga-Va,_r,en+Va),Va=ga}vr+=vn,en+=vn,++Xr&Sa||(pa+=ia)}Tr!=Dt.nc&&b(yt,dt-Or,yt,dt+(Tr-hr-1)*Or,Or);break;case 1:for(Or=Rt,Nr=vr,vn=(Rt=Dt.Ea)-(en=Rt&~(_r=(vr=1<<Dt.b)-1)),Xr=an(Rt,Dt.b),fn=Dt.K,Dt=Dt.w+(hr>>Dt.b)*Xr;hr<Tr;){for(Sa=fn,ia=Dt,Za=new sa,pa=Nr+en,Qa=Nr+Rt;Nr<pa;)kn(Sa[ia++],Za),go(Za,Or,Nr,vr,yt,dt),Nr+=vr,dt+=vr;Nr<Qa&&(kn(Sa[ia++],Za),go(Za,Or,Nr,vn,yt,dt),Nr+=vn,dt+=vn),++hr&_r||(Dt+=Xr)}break;case 3:if(Rt==yt&&vr==dt&&0<Dt.b){for(Nr=yt,Rt=Or=dt+(Tr-hr)*Or-(en=(Tr-hr)*an(Dt.Ea,Dt.b)),vr=yt,_r=dt,Xr=[],en=(vn=en)-1;0<=en;--en)Xr[en]=vr[_r+en];for(en=vn-1;0<=en;--en)Nr[Rt+en]=Xr[en];Ga(Dt,hr,Tr,yt,Or,yt,dt)}else Ga(Dt,hr,Tr,Rt,vr,yt,dt)}dt=de,yt=U}yt!=U&&b(de,U,dt,yt,Xe)}function Da(i,m){var U=i.V,de=i.Ba+i.c*i.C,Te=m-i.C;if(s(m<=i.l.o),s(16>=Te),0<Te){var Xe=i.l,rt=i.Ta,dt=i.Ua,yt=Xe.width;if(Xa(i,Te,U,de),Te=dt=[dt],s((U=i.C)<(de=m)),s(Xe.v<Xe.va),de>Xe.o&&(de=Xe.o),U<Xe.j){var Dt=Xe.j-U;U=Xe.j,Te[0]+=Dt*yt}if(U>=de?U=0:(Te[0]+=4*Xe.v,Xe.ka=U-Xe.j,Xe.U=Xe.va-Xe.v,Xe.T=de-U,U=1),U){if(dt=dt[0],11>(U=i.ca).S){var hr=U.f.RGBA,Tr=(de=U.S,Te=Xe.U,Xe=Xe.T,Dt=hr.eb,hr.A),Rt=Xe;for(hr=hr.fb+i.Ma*hr.A;0<Rt--;){var vr=rt,Or=dt,Xr=Te,Nr=Dt,_r=hr;switch(de){case Qs:qo(vr,Or,Xr,Nr,_r);break;case e0:Ao(vr,Or,Xr,Nr,_r);break;case g0:Ao(vr,Or,Xr,Nr,_r),As(Nr,_r,0,Xr,1,0);break;case D0:wi(vr,Or,Xr,Nr,_r);break;case t0:En(vr,Or,Xr,Nr,_r,1);break;case v0:En(vr,Or,Xr,Nr,_r,1),As(Nr,_r,0,Xr,1,0);break;case r0:En(vr,Or,Xr,Nr,_r,0);break;case n0:En(vr,Or,Xr,Nr,_r,0),As(Nr,_r,1,Xr,1,0);break;case p0:Ho(vr,Or,Xr,Nr,_r);break;case b0:Ho(vr,Or,Xr,Nr,_r),Hs(Nr,_r,Xr,1,0);break;case R0:ei(vr,Or,Xr,Nr,_r);break;default:s(0)}dt+=yt,hr+=Tr}i.Ma+=Xe}else alert("todo:EmitRescaledRowsYUVA");s(i.Ma<=U.height)}}i.C=m,s(i.C<=i.i)}function _a(i){var m;if(0<i.ua)return 0;for(m=0;m<i.Wb;++m){var U=i.Ya[m].G,de=i.Ya[m].H;if(0<U[1][de[1]+0].g||0<U[2][de[2]+0].g||0<U[3][de[3]+0].g)return 0}return 1}function no(i,m,U,de,Te,Xe){if(i.Z!=0){var rt=i.qd,dt=i.rd;for(s(js[i.Z]!=null);m<U;++m)js[i.Z](rt,dt,de,Te,de,Te,Xe),rt=de,dt=Te,Te+=Xe;i.qd=rt,i.rd=dt}}function lo(i,m){var U=i.l.ma,de=U.Z==0||U.Z==1?i.l.j:i.C;if(de=i.C<de?de:i.C,s(m<=i.l.o),m>de){var Te=i.l.width,Xe=U.ca,rt=U.tb+Te*de,dt=i.V,yt=i.Ba+i.c*de,Dt=i.gc;s(i.ab==1),s(Dt[0].hc==3),Ra(Dt[0],de,m,dt,yt,Xe,rt),no(U,de,m,Xe,rt,Te)}i.C=i.Ma=m}function $o(i,m,U,de,Te,Xe,rt){var dt=i.$/de,yt=i.$%de,Dt=i.m,hr=i.s,Tr=U+i.$,Rt=Tr;Te=U+de*Te;var vr=U+de*Xe,Or=280+hr.ua,Xr=i.Pb?dt:16777216,Nr=0<hr.ua?hr.Wa:null,_r=hr.wc,en=Tr<vr?va(hr,yt,dt):null;s(i.C<Xe),s(vr<=Te);var vn=!1;e:for(;;){for(;vn||Tr<vr;){var fn=0;if(dt>=Xr){var Sa=Tr-U;s((Xr=i).Pb),Xr.wd=Xr.m,Xr.xd=Sa,0<Xr.s.ua&&ba(Xr.s.Wa,Xr.s.vb),Xr=dt+pl}if(yt&_r||(en=va(hr,yt,dt)),s(en!=null),en.Qb&&(m[Tr]=en.qb,vn=!0),!vn)if(dr(Dt),en.jc){fn=Dt,Sa=m;var ia=Tr,Za=en.pd[Bt(fn)&un-1];s(en.jc),256>Za.g?(Jt(fn,fn.u+Za.g),Sa[ia]=Za.value,fn=0):(Jt(fn,fn.u+Za.g-256),s(256<=Za.value),fn=Za.value),fn==0&&(vn=!0)}else fn=Ba(en.G[0],en.H[0],Dt);if(Dt.h)break;if(vn||256>fn){if(!vn)if(en.nd)m[Tr]=(en.qb|fn<<8)>>>0;else{if(dr(Dt),vn=Ba(en.G[1],en.H[1],Dt),dr(Dt),Sa=Ba(en.G[2],en.H[2],Dt),ia=Ba(en.G[3],en.H[3],Dt),Dt.h)break;m[Tr]=(ia<<24|vn<<16|fn<<8|Sa)>>>0}if(vn=!1,++Tr,++yt>=de&&(yt=0,++dt,rt!=null&&dt<=Xe&&!(dt%16)&&rt(i,dt),Nr!=null))for(;Rt<Tr;)fn=m[Rt++],Nr.X[(506832829*fn&4294967295)>>>Nr.Mb]=fn}else if(280>fn){if(fn=Ta(fn-256,Dt),Sa=Ba(en.G[4],en.H[4],Dt),dr(Dt),Sa=Na(de,Sa=Ta(Sa,Dt)),Dt.h)break;if(Tr-U<Sa||Te-Tr<fn)break e;for(ia=0;ia<fn;++ia)m[Tr+ia]=m[Tr+ia-Sa];for(Tr+=fn,yt+=fn;yt>=de;)yt-=de,++dt,rt!=null&&dt<=Xe&&!(dt%16)&&rt(i,dt);if(s(Tr<=Te),yt&_r&&(en=va(hr,yt,dt)),Nr!=null)for(;Rt<Tr;)fn=m[Rt++],Nr.X[(506832829*fn&4294967295)>>>Nr.Mb]=fn}else{if(!(fn<Or))break e;for(vn=fn-280,s(Nr!=null);Rt<Tr;)fn=m[Rt++],Nr.X[(506832829*fn&4294967295)>>>Nr.Mb]=fn;fn=Tr,s(!(vn>>>(Sa=Nr).Xa)),m[fn]=Sa.X[vn],vn=!0}vn||s(Dt.h==ht(Dt))}if(i.Pb&&Dt.h&&Tr<Te)s(i.m.h),i.a=5,i.m=i.wd,i.$=i.xd,0<i.s.ua&&ba(i.s.vb,i.s.Wa);else{if(Dt.h)break e;rt!=null&&rt(i,dt>Xe?Xe:dt),i.a=0,i.$=Tr-U}return 1}return i.a=3,0}function Po(i){s(i!=null),i.vc=null,i.yc=null,i.Ya=null;var m=i.Wa;m!=null&&(m.X=null),i.vb=null,s(i!=null)}function Ma(){var i=new ae;return i==null?null:(i.a=0,i.xb=H0,ha("Predictor","VP8LPredictors"),ha("Predictor","VP8LPredictors_C"),ha("PredictorAdd","VP8LPredictorsAdd"),ha("PredictorAdd","VP8LPredictorsAdd_C"),Oa=na,go=aa,qo=Ln,Ao=_n,Ho=Qr,ei=mn,wi=ca,Ot.VP8LMapColor32b=Ya,Ot.VP8LMapColor8b=Jo,i)}function Wo(i,m,U,de,Te){var Xe=1,rt=[i],dt=[m],yt=de.m,Dt=de.s,hr=null,Tr=0;e:for(;;){if(U)for(;Xe&&Wt(yt,1);){var Rt=rt,vr=dt,Or=de,Xr=1,Nr=Or.m,_r=Or.gc[Or.ab],en=Wt(Nr,2);if(Or.Oc&1<<en)Xe=0;else{switch(Or.Oc|=1<<en,_r.hc=en,_r.Ea=Rt[0],_r.nc=vr[0],_r.K=[null],++Or.ab,s(4>=Or.ab),en){case 0:case 1:_r.b=Wt(Nr,3)+2,Xr=Wo(an(_r.Ea,_r.b),an(_r.nc,_r.b),0,Or,_r.K),_r.K=_r.K[0];break;case 3:var vn,fn=Wt(Nr,8)+1,Sa=16<fn?0:4<fn?1:2<fn?2:3;if(Rt[0]=an(_r.Ea,Sa),_r.b=Sa,vn=Xr=Wo(fn,1,0,Or,_r.K)){var ia,Za=fn,pa=_r,Qa=1<<(8>>pa.b),Ko=v(Qa);if(Ko==null)vn=0;else{var Va=pa.K[0],ga=pa.w;for(Ko[0]=pa.K[0][0],ia=1;ia<1*Za;++ia)Ko[ia]=dn(Va[ga+ia],Ko[ia-1]);for(;ia<4*Qa;++ia)Ko[ia]=0;pa.K[0]=null,pa.K[0]=Ko,vn=1}}Xr=vn;break;case 2:break;default:s(0)}Xe=Xr}}if(rt=rt[0],dt=dt[0],Xe&&Wt(yt,1)&&!(Xe=1<=(Tr=Wt(yt,4))&&11>=Tr)){de.a=3;break e}var Rn;if(Rn=Xe)t:{var Ro,ka,eo,Oo=de,ti=rt,mi=dt,To=Tr,oi=U,pi=Oo.m,Xo=Oo.s,io=[null],mo=1,Bo=0,po=ml[To];r:for(;;){if(oi&&Wt(pi,1)){var ri=Wt(pi,3)+2,rs=an(ti,ri),Fo=an(mi,ri),Ci=rs*Fo;if(!Wo(rs,Fo,0,Oo,io))break r;for(io=io[0],Xo.xc=ri,Ro=0;Ro<Ci;++Ro){var bo=io[Ro]>>8&65535;io[Ro]=bo,bo>=mo&&(mo=bo+1)}}if(pi.h)break r;for(ka=0;5>ka;++ka){var _o=F0[ka];!ka&&0<To&&(_o+=1<<To),Bo<_o&&(Bo=_o)}var Li=T(mo*po,wt),gi=mo,zi=T(gi,cr);if(zi==null)var Di=null;else s(65536>=gi),Di=zi;var Oi=v(Bo);if(Di==null||Oi==null||Li==null){Oo.a=1;break r}var Ri=Li;for(Ro=eo=0;Ro<mo;++Ro){var wo=Di[Ro],Fi=wo.G,ns=wo.H,Fs=0,bs=1,ni=0;for(ka=0;5>ka;++ka){_o=F0[ka],Fi[ka]=Ri,ns[ka]=eo,!ka&&0<To&&(_o+=1<<To);a:{var s0,w0=_o,l0=Oo,Gs=Oi,Ll=Ri,zl=eo,C0=0,Ns=l0.m,Dl=Wt(Ns,1);if(A(Gs,0,0,w0),Dl){var Rl=Wt(Ns,1)+1,Fl=Wt(Ns,1),Y0=Wt(Ns,Fl==0?1:8);Gs[Y0]=1,Rl==2&&(Gs[Y0=Wt(Ns,8)]=1);var c0=1}else{var J0=v(19),q0=Wt(Ns,4)+4;if(19<q0){l0.a=3;var u0=0;break a}for(s0=0;s0<q0;++s0)J0[hl[s0]]=Wt(Ns,3);var O0=void 0,Ks=void 0,Q0=l0,kl=J0,d0=w0,el=Gs,E0=0,Ms=Q0.m,tl=8,rl=T(128,wt);n:for(;ze(rl,0,7,kl,19);){if(Wt(Ms,1)){var Hl=2+2*Wt(Ms,3);if((O0=2+Wt(Ms,Hl))>d0)break n}else O0=d0;for(Ks=0;Ks<d0&&O0--;){dr(Ms);var nl=rl[0+(127&Bt(Ms))];Jt(Ms,Ms.u+nl.g);var Ws=nl.value;if(16>Ws)el[Ks++]=Ws,Ws!=0&&(tl=Ws);else{var Wl=Ws==16,al=Ws-16,Ul=ul[al],ol=Wt(Ms,cl[al])+Ul;if(Ks+ol>d0)break n;for(var Zl=Wl?tl:0;0<ol--;)el[Ks++]=Zl}}E0=1;break n}E0||(Q0.a=3),c0=E0}(c0=c0&&!Ns.h)&&(C0=ze(Ll,zl,8,Gs,w0)),c0&&C0!=0?u0=C0:(l0.a=3,u0=0)}if(u0==0)break r;if(bs&&dl[ka]==1&&(bs=Ri[eo].g==0),Fs+=Ri[eo].g,eo+=u0,3>=ka){var Xs,I0=Oi[0];for(Xs=1;Xs<_o;++Xs)Oi[Xs]>I0&&(I0=Oi[Xs]);ni+=I0}}if(wo.nd=bs,wo.Qb=0,bs&&(wo.qb=(Fi[3][ns[3]+0].value<<24|Fi[1][ns[1]+0].value<<16|Fi[2][ns[2]+0].value)>>>0,Fs==0&&256>Fi[0][ns[0]+0].value&&(wo.Qb=1,wo.qb+=Fi[0][ns[0]+0].value<<8)),wo.jc=!wo.Qb&&6>ni,wo.jc){var h0,ys=wo;for(h0=0;h0<un;++h0){var Ts=h0,Bs=ys.pd[Ts],f0=ys.G[0][ys.H[0]+Ts];256<=f0.value?(Bs.g=f0.g+256,Bs.value=f0.value):(Bs.g=0,Bs.value=0,Ts>>=Wa(f0,8,Bs),Ts>>=Wa(ys.G[1][ys.H[1]+Ts],16,Bs),Ts>>=Wa(ys.G[2][ys.H[2]+Ts],0,Bs),Wa(ys.G[3][ys.H[3]+Ts],24,Bs))}}}Xo.vc=io,Xo.Wb=mo,Xo.Ya=Di,Xo.yc=Li,Rn=1;break t}Rn=0}if(!(Xe=Rn)){de.a=3;break e}if(0<Tr){if(Dt.ua=1<<Tr,!Lt(Dt.Wa,Tr)){de.a=1,Xe=0;break e}}else Dt.ua=0;var $0=de,il=rt,Vl=dt,A0=$0.s,P0=A0.xc;if($0.c=il,$0.i=Vl,A0.md=an(il,P0),A0.wc=P0==0?-1:(1<<P0)-1,U){de.xb=wl;break e}if((hr=v(rt*dt))==null){de.a=1,Xe=0;break e}Xe=(Xe=$o(de,hr,0,rt,dt,dt,null))&&!yt.h;break e}return Xe?(Te!=null?Te[0]=hr:(s(hr==null),s(U)),de.$=0,U||Po(Dt)):Po(Dt),Xe}function ho(i,m){var U=i.c*i.i,de=U+m+16*m;return s(i.c<=m),i.V=v(de),i.V==null?(i.Ta=null,i.Ua=0,i.a=1,0):(i.Ta=i.V,i.Ua=i.Ba+U+m,1)}function jo(i,m){var U=i.C,de=m-U,Te=i.V,Xe=i.Ba+i.c*U;for(s(m<=i.l.o);0<de;){var rt=16<de?16:de,dt=i.l.ma,yt=i.l.width,Dt=yt*rt,hr=dt.ca,Tr=dt.tb+yt*U,Rt=i.Ta,vr=i.Ua;Xa(i,rt,Te,Xe),Rs(Rt,vr,hr,Tr,Dt),no(dt,U,U+rt,hr,Tr,yt),de-=rt,Te+=rt*i.c,U+=rt}s(U==m),i.C=i.Ma=m}function vo(){this.ub=this.yd=this.td=this.Rb=0}function vi(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function ko(){this.Fb=this.Bb=this.Cb=0,this.Zb=v(4),this.Lb=v(4)}function Qo(){this.Yb=function(){var i=[];return function m(U,de,Te){for(var Xe=Te[de],rt=0;rt<Xe&&(U.push(Te.length>de+1?[]:0),!(Te.length<de+1));rt++)m(U[rt],de+1,Te)}(i,0,[3,11]),i}()}function Ei(){this.jb=v(3),this.Wc=Z([4,8],Qo),this.Xc=Z([4,17],Qo)}function Lo(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new v(4),this.od=new v(4)}function Uo(){this.ld=this.La=this.dd=this.tc=0}function ki(){this.Na=this.la=0}function bi(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function yi(){this.ad=v(384),this.Za=0,this.Ob=v(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function xi(){this.uc=this.M=this.Nb=0,this.wa=Array(new Uo),this.Y=0,this.ya=Array(new yi),this.aa=0,this.l=new Aa}function Ii(){this.y=v(16),this.f=v(8),this.ea=v(8)}function $a(){this.cb=this.a=0,this.sc="",this.m=new Pe,this.Od=new vo,this.Kc=new vi,this.ed=new Lo,this.Qa=new ko,this.Ic=this.$c=this.Aa=0,this.D=new xi,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=T(8,Pe),this.ia=0,this.pb=T(4,bi),this.Pa=new Ei,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ii),this.Hd=0,this.rb=Array(new ki),this.sb=0,this.wa=Array(new Uo),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 yi),this.L=this.aa=0,this.gd=Z([4,2],Uo),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 Aa(){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 fo(){var i=new $a;return i!=null&&(i.a=0,i.sc="OK",i.cb=0,i.Xb=0,Zs||(Zs=yo)),i}function Ve(i,m,U){return i.a==0&&(i.a=m,i.sc=U,i.cb=0),0}function No(i,m,U){return 3<=U&&i[m+0]==157&&i[m+1]==1&&i[m+2]==42}function Mo(i,m){if(i==null)return 0;if(i.a=0,i.sc="OK",m==null)return Ve(i,2,"null VP8Io passed to VP8GetHeaders()");var U=m.data,de=m.w,Te=m.ha;if(4>Te)return Ve(i,7,"Truncated header.");var Xe=U[de+0]|U[de+1]<<8|U[de+2]<<16,rt=i.Od;if(rt.Rb=!(1&Xe),rt.td=Xe>>1&7,rt.yd=Xe>>4&1,rt.ub=Xe>>5,3<rt.td)return Ve(i,3,"Incorrect keyframe parameters.");if(!rt.yd)return Ve(i,4,"Frame not displayable.");de+=3,Te-=3;var dt=i.Kc;if(rt.Rb){if(7>Te)return Ve(i,7,"cannot parse picture header");if(!No(U,de,Te))return Ve(i,3,"Bad code word");dt.c=16383&(U[de+4]<<8|U[de+3]),dt.Td=U[de+4]>>6,dt.i=16383&(U[de+6]<<8|U[de+5]),dt.Ud=U[de+6]>>6,de+=7,Te-=7,i.za=dt.c+15>>4,i.Ub=dt.i+15>>4,m.width=dt.c,m.height=dt.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,A((Xe=i.Pa).jb,0,255,Xe.jb.length),s((Xe=i.Qa)!=null),Xe.Cb=0,Xe.Bb=0,Xe.Fb=1,A(Xe.Zb,0,0,Xe.Zb.length),A(Xe.Lb,0,0,Xe.Lb)}if(rt.ub>Te)return Ve(i,7,"bad partition length");gr(Xe=i.m,U,de,rt.ub),de+=rt.ub,Te-=rt.ub,rt.Rb&&(dt.Ld=Er(Xe),dt.Kd=Er(Xe)),dt=i.Qa;var yt,Dt=i.Pa;if(s(Xe!=null),s(dt!=null),dt.Cb=Er(Xe),dt.Cb){if(dt.Bb=Er(Xe),Er(Xe)){for(dt.Fb=Er(Xe),yt=0;4>yt;++yt)dt.Zb[yt]=Er(Xe)?Tt(Xe,7):0;for(yt=0;4>yt;++yt)dt.Lb[yt]=Er(Xe)?Tt(Xe,6):0}if(dt.Bb)for(yt=0;3>yt;++yt)Dt.jb[yt]=Er(Xe)?_t(Xe,8):255}else dt.Bb=0;if(Xe.Ka)return Ve(i,3,"cannot parse segment header");if((dt=i.ed).zd=Er(Xe),dt.Tb=_t(Xe,6),dt.wb=_t(Xe,3),dt.Pc=Er(Xe),dt.Pc&&Er(Xe)){for(Dt=0;4>Dt;++Dt)Er(Xe)&&(dt.vd[Dt]=Tt(Xe,6));for(Dt=0;4>Dt;++Dt)Er(Xe)&&(dt.od[Dt]=Tt(Xe,6))}if(i.L=dt.Tb==0?0:dt.zd?1:2,Xe.Ka)return Ve(i,3,"cannot parse filter header");var hr=Te;if(Te=yt=de,de=yt+hr,dt=hr,i.Xb=(1<<_t(i.m,2))-1,hr<3*(Dt=i.Xb))U=7;else{for(yt+=3*Dt,dt-=3*Dt,hr=0;hr<Dt;++hr){var Tr=U[Te+0]|U[Te+1]<<8|U[Te+2]<<16;Tr>dt&&(Tr=dt),gr(i.Jc[+hr],U,yt,Tr),yt+=Tr,dt-=Tr,Te+=3}gr(i.Jc[+Dt],U,yt,dt),U=yt<de?0:5}if(U!=0)return Ve(i,U,"cannot parse partitions");for(U=_t(yt=i.m,7),Te=Er(yt)?Tt(yt,4):0,de=Er(yt)?Tt(yt,4):0,dt=Er(yt)?Tt(yt,4):0,Dt=Er(yt)?Tt(yt,4):0,yt=Er(yt)?Tt(yt,4):0,hr=i.Qa,Tr=0;4>Tr;++Tr){if(hr.Cb){var Rt=hr.Zb[Tr];hr.Fb||(Rt+=U)}else{if(0<Tr){i.pb[Tr]=i.pb[0];continue}Rt=U}var vr=i.pb[Tr];vr.Sc[0]=y0[V(Rt+Te,127)],vr.Sc[1]=x0[V(Rt+0,127)],vr.Eb[0]=2*y0[V(Rt+de,127)],vr.Eb[1]=101581*x0[V(Rt+dt,127)]>>16,8>vr.Eb[1]&&(vr.Eb[1]=8),vr.Qc[0]=y0[V(Rt+Dt,117)],vr.Qc[1]=x0[V(Rt+yt,127)],vr.lc=Rt+yt}if(!rt.Rb)return Ve(i,4,"Not a key frame.");for(Er(Xe),rt=i.Pa,U=0;4>U;++U){for(Te=0;8>Te;++Te)for(de=0;3>de;++de)for(dt=0;11>dt;++dt)Dt=Lr(Xe,xl[U][Te][de][dt])?_t(Xe,8):bl[U][Te][de][dt],rt.Wc[U][Te].Yb[de][dt]=Dt;for(Te=0;17>Te;++Te)rt.Xc[U][Te]=rt.Wc[U][Sl[Te]]}return i.kc=Er(Xe),i.kc&&(i.Bd=_t(Xe,8)),i.cb=1}function yo(i,m,U,de,Te,Xe,rt){var dt=m[Te].Yb[U];for(U=0;16>Te;++Te){if(!Lr(i,dt[U+0]))return Te;for(;!Lr(i,dt[U+1]);)if(dt=m[++Te].Yb[0],U=0,Te==16)return 16;var yt=m[Te+1].Yb;if(Lr(i,dt[U+2])){var Dt=i,hr=0;if(Lr(Dt,(Rt=dt)[(Tr=U)+3]))if(Lr(Dt,Rt[Tr+6])){for(dt=0,Tr=2*(hr=Lr(Dt,Rt[Tr+8]))+(Rt=Lr(Dt,Rt[Tr+9+hr])),hr=0,Rt=gl[Tr];Rt[dt];++dt)hr+=hr+Lr(Dt,Rt[dt]);hr+=3+(8<<Tr)}else Lr(Dt,Rt[Tr+7])?(hr=7+2*Lr(Dt,165),hr+=Lr(Dt,145)):hr=5+Lr(Dt,159);else hr=Lr(Dt,Rt[Tr+4])?3+Lr(Dt,Rt[Tr+5]):2;dt=yt[2]}else hr=1,dt=yt[1];yt=rt+vl[Te],0>(Dt=i).b&&fr(Dt);var Tr,Rt=Dt.b,vr=(Tr=Dt.Ca>>1)-(Dt.I>>Rt)>>31;--Dt.b,Dt.Ca+=vr,Dt.Ca|=1,Dt.I-=(Tr+1&vr)<<Rt,Xe[yt]=((hr^vr)-vr)*de[(0<Te)+0]}return 16}function ao(i){var m=i.rb[i.sb-1];m.la=0,m.Na=0,A(i.zc,0,0,i.zc.length),i.ja=0}function Zo(i,m,U,de,Te){Te=i[m+U+32*de]+(Te>>3),i[m+U+32*de]=-256&Te?0>Te?0:255:Te}function zo(i,m,U,de,Te,Xe){Zo(i,m,0,U,de+Te),Zo(i,m,1,U,de+Xe),Zo(i,m,2,U,de-Xe),Zo(i,m,3,U,de-Te)}function xo(i){return(20091*i>>16)+i}function Vo(i,m,U,de){var Te,Xe=0,rt=v(16);for(Te=0;4>Te;++Te){var dt=i[m+0]+i[m+8],yt=i[m+0]-i[m+8],Dt=(35468*i[m+4]>>16)-xo(i[m+12]),hr=xo(i[m+4])+(35468*i[m+12]>>16);rt[Xe+0]=dt+hr,rt[Xe+1]=yt+Dt,rt[Xe+2]=yt-Dt,rt[Xe+3]=dt-hr,Xe+=4,m++}for(Te=Xe=0;4>Te;++Te)dt=(i=rt[Xe+0]+4)+rt[Xe+8],yt=i-rt[Xe+8],Dt=(35468*rt[Xe+4]>>16)-xo(rt[Xe+12]),Zo(U,de,0,0,dt+(hr=xo(rt[Xe+4])+(35468*rt[Xe+12]>>16))),Zo(U,de,1,0,yt+Dt),Zo(U,de,2,0,yt-Dt),Zo(U,de,3,0,dt-hr),Xe++,de+=32}function $i(i,m,U,de){var Te=i[m+0]+4,Xe=35468*i[m+4]>>16,rt=xo(i[m+4]),dt=35468*i[m+1]>>16;zo(U,de,0,Te+rt,i=xo(i[m+1]),dt),zo(U,de,1,Te+Xe,i,dt),zo(U,de,2,Te-Xe,i,dt),zo(U,de,3,Te-rt,i,dt)}function Hi(i,m,U,de,Te){Vo(i,m,U,de),Te&&Vo(i,m+16,U,de+4)}function xs(i,m,U,de){es(i,m+0,U,de,1),es(i,m+32,U,de+128,1)}function ii(i,m,U,de){var Te;for(i=i[m+0]+4,Te=0;4>Te;++Te)for(m=0;4>m;++m)Zo(U,de,m,Te,i)}function as(i,m,U,de){i[m+0]&&Fa(i,m+0,U,de),i[m+16]&&Fa(i,m+16,U,de+4),i[m+32]&&Fa(i,m+32,U,de+128),i[m+48]&&Fa(i,m+48,U,de+128+4)}function cs(i,m,U,de){var Te,Xe=v(16);for(Te=0;4>Te;++Te){var rt=i[m+0+Te]+i[m+12+Te],dt=i[m+4+Te]+i[m+8+Te],yt=i[m+4+Te]-i[m+8+Te],Dt=i[m+0+Te]-i[m+12+Te];Xe[0+Te]=rt+dt,Xe[8+Te]=rt-dt,Xe[4+Te]=Dt+yt,Xe[12+Te]=Dt-yt}for(Te=0;4>Te;++Te)rt=(i=Xe[0+4*Te]+3)+Xe[3+4*Te],dt=Xe[1+4*Te]+Xe[2+4*Te],yt=Xe[1+4*Te]-Xe[2+4*Te],Dt=i-Xe[3+4*Te],U[de+0]=rt+dt>>3,U[de+16]=Dt+yt>>3,U[de+32]=rt-dt>>3,U[de+48]=Dt-yt>>3,de+=64}function si(i,m,U){var de,Te=m-32,Xe=Bi,rt=255-i[Te-1];for(de=0;de<U;++de){var dt,yt=Xe,Dt=rt+i[m-1];for(dt=0;dt<U;++dt)i[m+dt]=yt[Dt+i[Te+dt]];m+=32}}function Wi(i,m){si(i,m,4)}function Ss(i,m){si(i,m,8)}function us(i,m){si(i,m,16)}function ws(i,m){var U;for(U=0;16>U;++U)b(i,m+32*U,i,m-32,16)}function os(i,m){var U;for(U=16;0<U;--U)A(i,m,i[m-1],16),m+=32}function li(i,m,U){var de;for(de=0;16>de;++de)A(m,U+32*de,i,16)}function ci(i,m){var U,de=16;for(U=0;16>U;++U)de+=i[m-1+32*U]+i[m+U-32];li(de>>5,i,m)}function ds(i,m){var U,de=8;for(U=0;16>U;++U)de+=i[m-1+32*U];li(de>>4,i,m)}function Ai(i,m){var U,de=8;for(U=0;16>U;++U)de+=i[m+U-32];li(de>>4,i,m)}function ui(i,m){li(128,i,m)}function Ea(i,m,U){return i+2*m+U+2>>2}function Cs(i,m){var U,de=m-32;for(de=new Uint8Array([Ea(i[de-1],i[de+0],i[de+1]),Ea(i[de+0],i[de+1],i[de+2]),Ea(i[de+1],i[de+2],i[de+3]),Ea(i[de+2],i[de+3],i[de+4])]),U=0;4>U;++U)b(i,m+32*U,de,0,de.length)}function Os(i,m){var U=i[m-1],de=i[m-1+32],Te=i[m-1+64],Xe=i[m-1+96];Rr(i,m+0,16843009*Ea(i[m-1-32],U,de)),Rr(i,m+32,16843009*Ea(U,de,Te)),Rr(i,m+64,16843009*Ea(de,Te,Xe)),Rr(i,m+96,16843009*Ea(Te,Xe,Xe))}function Es(i,m){var U,de=4;for(U=0;4>U;++U)de+=i[m+U-32]+i[m-1+32*U];for(de>>=3,U=0;4>U;++U)A(i,m+32*U,de,4)}function Ji(i,m){var U=i[m-1+0],de=i[m-1+32],Te=i[m-1+64],Xe=i[m-1-32],rt=i[m+0-32],dt=i[m+1-32],yt=i[m+2-32],Dt=i[m+3-32];i[m+0+96]=Ea(de,Te,i[m-1+96]),i[m+1+96]=i[m+0+64]=Ea(U,de,Te),i[m+2+96]=i[m+1+64]=i[m+0+32]=Ea(Xe,U,de),i[m+3+96]=i[m+2+64]=i[m+1+32]=i[m+0+0]=Ea(rt,Xe,U),i[m+3+64]=i[m+2+32]=i[m+1+0]=Ea(dt,rt,Xe),i[m+3+32]=i[m+2+0]=Ea(yt,dt,rt),i[m+3+0]=Ea(Dt,yt,dt)}function ai(i,m){var U=i[m+1-32],de=i[m+2-32],Te=i[m+3-32],Xe=i[m+4-32],rt=i[m+5-32],dt=i[m+6-32],yt=i[m+7-32];i[m+0+0]=Ea(i[m+0-32],U,de),i[m+1+0]=i[m+0+32]=Ea(U,de,Te),i[m+2+0]=i[m+1+32]=i[m+0+64]=Ea(de,Te,Xe),i[m+3+0]=i[m+2+32]=i[m+1+64]=i[m+0+96]=Ea(Te,Xe,rt),i[m+3+32]=i[m+2+64]=i[m+1+96]=Ea(Xe,rt,dt),i[m+3+64]=i[m+2+96]=Ea(rt,dt,yt),i[m+3+96]=Ea(dt,yt,yt)}function di(i,m){var U=i[m-1+0],de=i[m-1+32],Te=i[m-1+64],Xe=i[m-1-32],rt=i[m+0-32],dt=i[m+1-32],yt=i[m+2-32],Dt=i[m+3-32];i[m+0+0]=i[m+1+64]=Xe+rt+1>>1,i[m+1+0]=i[m+2+64]=rt+dt+1>>1,i[m+2+0]=i[m+3+64]=dt+yt+1>>1,i[m+3+0]=yt+Dt+1>>1,i[m+0+96]=Ea(Te,de,U),i[m+0+64]=Ea(de,U,Xe),i[m+0+32]=i[m+1+96]=Ea(U,Xe,rt),i[m+1+32]=i[m+2+96]=Ea(Xe,rt,dt),i[m+2+32]=i[m+3+96]=Ea(rt,dt,yt),i[m+3+32]=Ea(dt,yt,Dt)}function Ls(i,m){var U=i[m+0-32],de=i[m+1-32],Te=i[m+2-32],Xe=i[m+3-32],rt=i[m+4-32],dt=i[m+5-32],yt=i[m+6-32],Dt=i[m+7-32];i[m+0+0]=U+de+1>>1,i[m+1+0]=i[m+0+64]=de+Te+1>>1,i[m+2+0]=i[m+1+64]=Te+Xe+1>>1,i[m+3+0]=i[m+2+64]=Xe+rt+1>>1,i[m+0+32]=Ea(U,de,Te),i[m+1+32]=i[m+0+96]=Ea(de,Te,Xe),i[m+2+32]=i[m+1+96]=Ea(Te,Xe,rt),i[m+3+32]=i[m+2+96]=Ea(Xe,rt,dt),i[m+3+64]=Ea(rt,dt,yt),i[m+3+96]=Ea(dt,yt,Dt)}function Is(i,m){var U=i[m-1+0],de=i[m-1+32],Te=i[m-1+64],Xe=i[m-1+96];i[m+0+0]=U+de+1>>1,i[m+2+0]=i[m+0+32]=de+Te+1>>1,i[m+2+32]=i[m+0+64]=Te+Xe+1>>1,i[m+1+0]=Ea(U,de,Te),i[m+3+0]=i[m+1+32]=Ea(de,Te,Xe),i[m+3+32]=i[m+1+64]=Ea(Te,Xe,Xe),i[m+3+64]=i[m+2+64]=i[m+0+96]=i[m+1+96]=i[m+2+96]=i[m+3+96]=Xe}function is(i,m){var U=i[m-1+0],de=i[m-1+32],Te=i[m-1+64],Xe=i[m-1+96],rt=i[m-1-32],dt=i[m+0-32],yt=i[m+1-32],Dt=i[m+2-32];i[m+0+0]=i[m+2+32]=U+rt+1>>1,i[m+0+32]=i[m+2+64]=de+U+1>>1,i[m+0+64]=i[m+2+96]=Te+de+1>>1,i[m+0+96]=Xe+Te+1>>1,i[m+3+0]=Ea(dt,yt,Dt),i[m+2+0]=Ea(rt,dt,yt),i[m+1+0]=i[m+3+32]=Ea(U,rt,dt),i[m+1+32]=i[m+3+64]=Ea(de,U,rt),i[m+1+64]=i[m+3+96]=Ea(Te,de,U),i[m+1+96]=Ea(Xe,Te,de)}function Ui(i,m){var U;for(U=0;8>U;++U)b(i,m+32*U,i,m-32,8)}function Pi(i,m){var U;for(U=0;8>U;++U)A(i,m,i[m-1],8),m+=32}function Zi(i,m,U){var de;for(de=0;8>de;++de)A(m,U+32*de,i,8)}function Vi(i,m){var U,de=8;for(U=0;8>U;++U)de+=i[m+U-32]+i[m-1+32*U];Zi(de>>4,i,m)}function $s(i,m){var U,de=4;for(U=0;8>U;++U)de+=i[m+U-32];Zi(de>>3,i,m)}function qi(i,m){var U,de=4;for(U=0;8>U;++U)de+=i[m-1+32*U];Zi(de>>3,i,m)}function hs(i,m){Zi(128,i,m)}function ft(i,m,U){var de=i[m-U],Te=i[m+0],Xe=3*(Te-de)+m0[1020+i[m-2*U]-i[m+U]],rt=qs[112+(Xe+4>>3)];i[m-U]=Bi[255+de+qs[112+(Xe+3>>3)]],i[m+0]=Bi[255+Te-rt]}function ji(i,m,U,de){var Te=i[m+0],Xe=i[m+U];return _i[255+i[m-2*U]-i[m-U]]>de||_i[255+Xe-Te]>de}function Yo(i,m,U,de){return 4*_i[255+i[m-U]-i[m+0]]+_i[255+i[m-2*U]-i[m+U]]<=de}function Ni(i,m,U,de,Te){var Xe=i[m-3*U],rt=i[m-2*U],dt=i[m-U],yt=i[m+0],Dt=i[m+U],hr=i[m+2*U],Tr=i[m+3*U];return 4*_i[255+dt-yt]+_i[255+rt-Dt]>de?0:_i[255+i[m-4*U]-Xe]<=Te&&_i[255+Xe-rt]<=Te&&_i[255+rt-dt]<=Te&&_i[255+Tr-hr]<=Te&&_i[255+hr-Dt]<=Te&&_i[255+Dt-yt]<=Te}function ss(i,m,U,de){var Te=2*de+1;for(de=0;16>de;++de)Yo(i,m+de,U,Te)&&ft(i,m+de,U)}function Mi(i,m,U,de){var Te=2*de+1;for(de=0;16>de;++de)Yo(i,m+de*U,1,Te)&&ft(i,m+de*U,1)}function fs(i,m,U,de){var Te;for(Te=3;0<Te;--Te)ss(i,m+=4*U,U,de)}function ms(i,m,U,de){var Te;for(Te=3;0<Te;--Te)Mi(i,m+=4,U,de)}function hi(i,m,U,de,Te,Xe,rt,dt){for(Xe=2*Xe+1;0<Te--;){if(Ni(i,m,U,Xe,rt))if(ji(i,m,U,dt))ft(i,m,U);else{var yt=i,Dt=m,hr=U,Tr=yt[Dt-2*hr],Rt=yt[Dt-hr],vr=yt[Dt+0],Or=yt[Dt+hr],Xr=yt[Dt+2*hr],Nr=27*(en=m0[1020+3*(vr-Rt)+m0[1020+Tr-Or]])+63>>7,_r=18*en+63>>7,en=9*en+63>>7;yt[Dt-3*hr]=Bi[255+yt[Dt-3*hr]+en],yt[Dt-2*hr]=Bi[255+Tr+_r],yt[Dt-hr]=Bi[255+Rt+Nr],yt[Dt+0]=Bi[255+vr-Nr],yt[Dt+hr]=Bi[255+Or-_r],yt[Dt+2*hr]=Bi[255+Xr-en]}m+=de}}function Si(i,m,U,de,Te,Xe,rt,dt){for(Xe=2*Xe+1;0<Te--;){if(Ni(i,m,U,Xe,rt))if(ji(i,m,U,dt))ft(i,m,U);else{var yt=i,Dt=m,hr=U,Tr=yt[Dt-hr],Rt=yt[Dt+0],vr=yt[Dt+hr],Or=qs[112+(4+(Xr=3*(Rt-Tr))>>3)],Xr=qs[112+(Xr+3>>3)],Nr=Or+1>>1;yt[Dt-2*hr]=Bi[255+yt[Dt-2*hr]+Nr],yt[Dt-hr]=Bi[255+Tr+Xr],yt[Dt+0]=Bi[255+Rt-Or],yt[Dt+hr]=Bi[255+vr-Nr]}m+=de}}function ps(i,m,U,de,Te,Xe){hi(i,m,U,1,16,de,Te,Xe)}function Gi(i,m,U,de,Te,Xe){hi(i,m,1,U,16,de,Te,Xe)}function Qi(i,m,U,de,Te,Xe){var rt;for(rt=3;0<rt;--rt)Si(i,m+=4*U,U,1,16,de,Te,Xe)}function ls(i,m,U,de,Te,Xe){var rt;for(rt=3;0<rt;--rt)Si(i,m+=4,1,U,16,de,Te,Xe)}function P(i,m,U,de,Te,Xe,rt,dt){hi(i,m,Te,1,8,Xe,rt,dt),hi(U,de,Te,1,8,Xe,rt,dt)}function je(i,m,U,de,Te,Xe,rt,dt){hi(i,m,1,Te,8,Xe,rt,dt),hi(U,de,1,Te,8,Xe,rt,dt)}function zt(i,m,U,de,Te,Xe,rt,dt){Si(i,m+4*Te,Te,1,8,Xe,rt,dt),Si(U,de+4*Te,Te,1,8,Xe,rt,dt)}function tr(i,m,U,de,Te,Xe,rt,dt){Si(i,m+4,1,Te,8,Xe,rt,dt),Si(U,de+4,1,Te,8,Xe,rt,dt)}function wr(){this.ba=new Cn,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new fa,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Kr(){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 ln(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Qn(){this.ua=0,this.Wa=new da,this.vb=new da,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new cr,this.yc=new wt}function ae(){this.xb=this.a=0,this.l=new Aa,this.ca=new Cn,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new bt,this.Pb=0,this.wd=new bt,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Qn,this.ab=0,this.gc=T(4,ln),this.Oc=0}function r(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Aa,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function a(i,m,U,de,Te,Xe,rt){for(i=i==null?0:i[m+0],m=0;m<rt;++m)Te[Xe+m]=i+U[de+m]&255,i=Te[Xe+m]}function l(i,m,U,de,Te,Xe,rt){var dt;if(i==null)a(null,null,U,de,Te,Xe,rt);else for(dt=0;dt<rt;++dt)Te[Xe+dt]=i[m+dt]+U[de+dt]&255}function g(i,m,U,de,Te,Xe,rt){if(i==null)a(null,null,U,de,Te,Xe,rt);else{var dt,yt=i[m+0],Dt=yt,hr=yt;for(dt=0;dt<rt;++dt)Dt=hr+(yt=i[m+dt])-Dt,hr=U[de+dt]+(-256&Dt?0>Dt?0:255:Dt)&255,Dt=yt,Te[Xe+dt]=hr}}function H(i,m,U,de){var Te=m.width,Xe=m.o;if(s(i!=null&&m!=null),0>U||0>=de||U+de>Xe)return null;if(!i.Cc){if(i.ga==null){var rt;if(i.ga=new r,(rt=i.ga==null)||(rt=m.width*m.o,s(i.Gb.length==0),i.Gb=v(rt),i.Uc=0,i.Gb==null?rt=0:(i.mb=i.Gb,i.nb=i.Uc,i.rc=null,rt=1),rt=!rt),!rt){rt=i.ga;var dt=i.Fa,yt=i.P,Dt=i.qc,hr=i.mb,Tr=i.nb,Rt=yt+1,vr=Dt-1,Or=rt.l;if(s(dt!=null&&hr!=null&&m!=null),js[0]=null,js[1]=a,js[2]=l,js[3]=g,rt.ca=hr,rt.tb=Tr,rt.c=m.width,rt.i=m.height,s(0<rt.c&&0<rt.i),1>=Dt)m=0;else if(rt.$a=3&dt[yt+0],rt.Z=dt[yt+0]>>2&3,rt.Lc=dt[yt+0]>>4&3,yt=dt[yt+0]>>6&3,0>rt.$a||1<rt.$a||4<=rt.Z||1<rt.Lc||yt)m=0;else if(Or.put=ma,Or.ac=uo,Or.bc=Eo,Or.ma=rt,Or.width=m.width,Or.height=m.height,Or.Da=m.Da,Or.v=m.v,Or.va=m.va,Or.j=m.j,Or.o=m.o,rt.$a)e:{s(rt.$a==1),m=Ma();t:for(;;){if(m==null){m=0;break e}if(s(rt!=null),rt.mc=m,m.c=rt.c,m.i=rt.i,m.l=rt.l,m.l.ma=rt,m.l.width=rt.c,m.l.height=rt.i,m.a=0,ir(m.m,dt,Rt,vr),!Wo(rt.c,rt.i,1,m,null)||(m.ab==1&&m.gc[0].hc==3&&_a(m.s)?(rt.ic=1,dt=m.c*m.i,m.Ta=null,m.Ua=0,m.V=v(dt),m.Ba=0,m.V==null?(m.a=1,m=0):m=1):(rt.ic=0,m=ho(m,rt.c)),!m))break t;m=1;break e}rt.mc=null,m=0}else m=vr>=rt.c*rt.i;rt=!m}if(rt)return null;i.ga.Lc!=1?i.Ga=0:de=Xe-U}s(i.ga!=null),s(U+de<=Xe);e:{if(m=(dt=i.ga).c,Xe=dt.l.o,dt.$a==0){if(Rt=i.rc,vr=i.Vc,Or=i.Fa,yt=i.P+1+U*m,Dt=i.mb,hr=i.nb+U*m,s(yt<=i.P+i.qc),dt.Z!=0)for(s(js[dt.Z]!=null),rt=0;rt<de;++rt)js[dt.Z](Rt,vr,Or,yt,Dt,hr,m),Rt=Dt,vr=hr,hr+=m,yt+=m;else for(rt=0;rt<de;++rt)b(Dt,hr,Or,yt,m),Rt=Dt,vr=hr,hr+=m,yt+=m;i.rc=Rt,i.Vc=vr}else{if(s(dt.mc!=null),m=U+de,s((rt=dt.mc)!=null),s(m<=rt.i),rt.C>=m)m=1;else if(dt.ic||rr(),dt.ic){dt=rt.V,Rt=rt.Ba,vr=rt.c;var Xr=rt.i,Nr=(Or=1,yt=rt.$/vr,Dt=rt.$%vr,hr=rt.m,Tr=rt.s,rt.$),_r=vr*Xr,en=vr*m,vn=Tr.wc,fn=Nr<en?va(Tr,Dt,yt):null;s(Nr<=_r),s(m<=Xr),s(_a(Tr));t:for(;;){for(;!hr.h&&Nr<en;){if(Dt&vn||(fn=va(Tr,Dt,yt)),s(fn!=null),dr(hr),256>(Xr=Ba(fn.G[0],fn.H[0],hr)))dt[Rt+Nr]=Xr,++Nr,++Dt>=vr&&(Dt=0,++yt<=m&&!(yt%16)&&lo(rt,yt));else{if(!(280>Xr)){Or=0;break t}Xr=Ta(Xr-256,hr);var Sa,ia=Ba(fn.G[4],fn.H[4],hr);if(dr(hr),!(Nr>=(ia=Na(vr,ia=Ta(ia,hr)))&&_r-Nr>=Xr)){Or=0;break t}for(Sa=0;Sa<Xr;++Sa)dt[Rt+Nr+Sa]=dt[Rt+Nr+Sa-ia];for(Nr+=Xr,Dt+=Xr;Dt>=vr;)Dt-=vr,++yt<=m&&!(yt%16)&&lo(rt,yt);Nr<en&&Dt&vn&&(fn=va(Tr,Dt,yt))}s(hr.h==ht(hr))}lo(rt,yt>m?m:yt);break t}!Or||hr.h&&Nr<_r?(Or=0,rt.a=hr.h?5:3):rt.$=Nr,m=Or}else m=$o(rt,rt.V,rt.Ba,rt.c,rt.i,m,jo);if(!m){de=0;break e}}U+de>=Xe&&(i.Cc=1),de=1}if(!de)return null;if(i.Cc&&((de=i.ga)!=null&&(de.mc=null),i.ga=null,0<i.Ga))return alert("todo:WebPDequantizeLevels"),null}return i.nb+U*Te}function se(i,m,U,de,Te,Xe){for(;0<Te--;){var rt,dt=i,yt=m+(U?1:0),Dt=i,hr=m+(U?0:3);for(rt=0;rt<de;++rt){var Tr=Dt[hr+4*rt];Tr!=255&&(Tr*=32897,dt[yt+4*rt+0]=dt[yt+4*rt+0]*Tr>>23,dt[yt+4*rt+1]=dt[yt+4*rt+1]*Tr>>23,dt[yt+4*rt+2]=dt[yt+4*rt+2]*Tr>>23)}m+=Xe}}function Fe(i,m,U,de,Te){for(;0<de--;){var Xe;for(Xe=0;Xe<U;++Xe){var rt=i[m+2*Xe+0],dt=15&(Dt=i[m+2*Xe+1]),yt=4369*dt,Dt=(240&Dt|Dt>>4)*yt>>16;i[m+2*Xe+0]=(240&rt|rt>>4)*yt>>16&240|(15&rt|rt<<4)*yt>>16>>4&15,i[m+2*Xe+1]=240&Dt|dt}m+=Te}}function tt(i,m,U,de,Te,Xe,rt,dt){var yt,Dt,hr=255;for(Dt=0;Dt<Te;++Dt){for(yt=0;yt<de;++yt){var Tr=i[m+yt];Xe[rt+4*yt]=Tr,hr&=Tr}m+=U,rt+=dt}return hr!=255}function It(i,m,U,de,Te){var Xe;for(Xe=0;Xe<Te;++Xe)U[de+Xe]=i[m+Xe]>>8}function rr(){As=se,Hs=Fe,Ds=tt,Rs=It}function pr(i,m,U){Ot[i]=function(de,Te,Xe,rt,dt,yt,Dt,hr,Tr,Rt,vr,Or,Xr,Nr,_r,en,vn){var fn,Sa=vn-1>>1,ia=dt[yt+0]|Dt[hr+0]<<16,Za=Tr[Rt+0]|vr[Or+0]<<16;s(de!=null);var pa=3*ia+Za+131074>>2;for(m(de[Te+0],255&pa,pa>>16,Xr,Nr),Xe!=null&&(pa=3*Za+ia+131074>>2,m(Xe[rt+0],255&pa,pa>>16,_r,en)),fn=1;fn<=Sa;++fn){var Qa=dt[yt+fn]|Dt[hr+fn]<<16,Ko=Tr[Rt+fn]|vr[Or+fn]<<16,Va=ia+Qa+Za+Ko+524296,ga=Va+2*(Qa+Za)>>3;pa=ga+ia>>1,ia=(Va=Va+2*(ia+Ko)>>3)+Qa>>1,m(de[Te+2*fn-1],255&pa,pa>>16,Xr,Nr+(2*fn-1)*U),m(de[Te+2*fn-0],255&ia,ia>>16,Xr,Nr+(2*fn-0)*U),Xe!=null&&(pa=Va+Za>>1,ia=ga+Ko>>1,m(Xe[rt+2*fn-1],255&pa,pa>>16,_r,en+(2*fn-1)*U),m(Xe[rt+2*fn+0],255&ia,ia>>16,_r,en+(2*fn+0)*U)),ia=Qa,Za=Ko}1&vn||(pa=3*ia+Za+131074>>2,m(de[Te+vn-1],255&pa,pa>>16,Xr,Nr+(vn-1)*U),Xe!=null&&(pa=3*Za+ia+131074>>2,m(Xe[rt+vn-1],255&pa,pa>>16,_r,en+(vn-1)*U)))}}function kr(){Yi[Qs]=Cl,Yi[e0]=W0,Yi[D0]=Ol,Yi[t0]=U0,Yi[r0]=Z0,Yi[p0]=V0,Yi[R0]=El,Yi[g0]=W0,Yi[v0]=U0,Yi[n0]=Z0,Yi[b0]=V0}function rn(i){return i&~Il?0>i?0:255:i>>G0}function hn(i,m){return rn((19077*i>>8)+(26149*m>>8)-14234)}function In(i,m,U){return rn((19077*i>>8)-(6419*m>>8)-(13320*U>>8)+8708)}function Un(i,m){return rn((19077*i>>8)+(33050*m>>8)-17685)}function Ca(i,m,U,de,Te){de[Te+0]=hn(i,U),de[Te+1]=In(i,m,U),de[Te+2]=Un(i,m)}function Ia(i,m,U,de,Te){de[Te+0]=Un(i,m),de[Te+1]=In(i,m,U),de[Te+2]=hn(i,U)}function c(i,m,U,de,Te){var Xe=In(i,m,U);m=Xe<<3&224|Un(i,m)>>3,de[Te+0]=248&hn(i,U)|Xe>>5,de[Te+1]=m}function e(i,m,U,de,Te){var Xe=240&Un(i,m)|15;de[Te+0]=240&hn(i,U)|In(i,m,U)>>4,de[Te+1]=Xe}function t(i,m,U,de,Te){de[Te+0]=255,Ca(i,m,U,de,Te+1)}function d(i,m,U,de,Te){Ia(i,m,U,de,Te),de[Te+3]=255}function O(i,m,U,de,Te){Ca(i,m,U,de,Te),de[Te+3]=255}function V(i,m){return 0>i?0:i>m?m:i}function Oe(i,m,U){Ot[i]=function(de,Te,Xe,rt,dt,yt,Dt,hr,Tr){for(var Rt=hr+(-2&Tr)*U;hr!=Rt;)m(de[Te+0],Xe[rt+0],dt[yt+0],Dt,hr),m(de[Te+1],Xe[rt+0],dt[yt+0],Dt,hr+U),Te+=2,++rt,++yt,hr+=2*U;1&Tr&&m(de[Te+0],Xe[rt+0],dt[yt+0],Dt,hr)}}function Ke(i,m,U){return U==0?i==0?m==0?6:5:m==0?4:0:U}function Ye(i,m,U,de,Te){switch(i>>>30){case 3:es(m,U,de,Te,0);break;case 2:Do(m,U,de,Te);break;case 1:Fa(m,U,de,Te)}}function Kt(i,m){var U,de,Te=m.M,Xe=m.Nb,rt=i.oc,dt=i.pc+40,yt=i.oc,Dt=i.pc+584,hr=i.oc,Tr=i.pc+600;for(U=0;16>U;++U)rt[dt+32*U-1]=129;for(U=0;8>U;++U)yt[Dt+32*U-1]=129,hr[Tr+32*U-1]=129;for(0<Te?rt[dt-1-32]=yt[Dt-1-32]=hr[Tr-1-32]=129:(A(rt,dt-32-1,127,21),A(yt,Dt-32-1,127,9),A(hr,Tr-32-1,127,9)),de=0;de<i.za;++de){var Rt=m.ya[m.aa+de];if(0<de){for(U=-1;16>U;++U)b(rt,dt+32*U-4,rt,dt+32*U+12,4);for(U=-1;8>U;++U)b(yt,Dt+32*U-4,yt,Dt+32*U+4,4),b(hr,Tr+32*U-4,hr,Tr+32*U+4,4)}var vr=i.Gd,Or=i.Hd+de,Xr=Rt.ad,Nr=Rt.Hc;if(0<Te&&(b(rt,dt-32,vr[Or].y,0,16),b(yt,Dt-32,vr[Or].f,0,8),b(hr,Tr-32,vr[Or].ea,0,8)),Rt.Za){var _r=rt,en=dt-32+16;for(0<Te&&(de>=i.za-1?A(_r,en,vr[Or].y[15],4):b(_r,en,vr[Or+1].y,0,4)),U=0;4>U;U++)_r[en+128+U]=_r[en+256+U]=_r[en+384+U]=_r[en+0+U];for(U=0;16>U;++U,Nr<<=2)_r=rt,en=dt+X0[U],ts[Rt.Ob[U]](_r,en),Ye(Nr,Xr,16*+U,_r,en)}else if(_r=Ke(de,Te,Rt.Ob[0]),Ps[_r](rt,dt),Nr!=0)for(U=0;16>U;++U,Nr<<=2)Ye(Nr,Xr,16*+U,rt,dt+X0[U]);for(U=Rt.Gc,_r=Ke(de,Te,Rt.Dd),vs[_r](yt,Dt),vs[_r](hr,Tr),Nr=Xr,_r=yt,en=Dt,255&(Rt=0|U)&&(170&Rt?Go(Nr,256,_r,en):oo(Nr,256,_r,en)),Rt=hr,Nr=Tr,255&(U>>=8)&&(170&U?Go(Xr,320,Rt,Nr):oo(Xr,320,Rt,Nr)),Te<i.Ub-1&&(b(vr[Or].y,0,rt,dt+480,16),b(vr[Or].f,0,yt,Dt+224,8),b(vr[Or].ea,0,hr,Tr+224,8)),U=8*Xe*i.B,vr=i.sa,Or=i.ta+16*de+16*Xe*i.R,Xr=i.qa,Rt=i.ra+8*de+U,Nr=i.Ha,_r=i.Ia+8*de+U,U=0;16>U;++U)b(vr,Or+U*i.R,rt,dt+32*U,16);for(U=0;8>U;++U)b(Xr,Rt+U*i.B,yt,Dt+32*U,8),b(Nr,_r+U*i.B,hr,Tr+32*U,8)}}function ur(i,m,U,de,Te,Xe,rt,dt,yt){var Dt=[0],hr=[0],Tr=0,Rt=yt!=null?yt.kd:0,vr=yt!=null?yt:new Kr;if(i==null||12>U)return 7;vr.data=i,vr.w=m,vr.ha=U,m=[m],U=[U],vr.gb=[vr.gb];e:{var Or=m,Xr=U,Nr=vr.gb;if(s(i!=null),s(Xr!=null),s(Nr!=null),Nr[0]=0,12<=Xr[0]&&!p(i,Or[0],"RIFF")){if(p(i,Or[0]+8,"WEBP")){Nr=3;break e}var _r=Mr(i,Or[0]+4);if(12>_r||4294967286<_r){Nr=3;break e}if(Rt&&_r>Xr[0]-8){Nr=7;break e}Nr[0]=_r,Or[0]+=12,Xr[0]-=12}Nr=0}if(Nr!=0)return Nr;for(_r=0<vr.gb[0],U=U[0];;){e:{var en=i;Xr=m,Nr=U;var vn=Dt,fn=hr,Sa=Or=[0];if((pa=Tr=[Tr])[0]=0,8>Nr[0])Nr=7;else{if(!p(en,Xr[0],"VP8X")){if(Mr(en,Xr[0]+4)!=10){Nr=3;break e}if(18>Nr[0]){Nr=7;break e}var ia=Mr(en,Xr[0]+8),Za=1+wn(en,Xr[0]+12);if(2147483648<=Za*(en=1+wn(en,Xr[0]+15))){Nr=3;break e}Sa!=null&&(Sa[0]=ia),vn!=null&&(vn[0]=Za),fn!=null&&(fn[0]=en),Xr[0]+=18,Nr[0]-=18,pa[0]=1}Nr=0}}if(Tr=Tr[0],Or=Or[0],Nr!=0)return Nr;if(Xr=!!(2&Or),!_r&&Tr)return 3;if(Xe!=null&&(Xe[0]=!!(16&Or)),rt!=null&&(rt[0]=Xr),dt!=null&&(dt[0]=0),rt=Dt[0],Or=hr[0],Tr&&Xr&&yt==null){Nr=0;break}if(4>U){Nr=7;break}if(_r&&Tr||!_r&&!Tr&&!p(i,m[0],"ALPH")){U=[U],vr.na=[vr.na],vr.P=[vr.P],vr.Sa=[vr.Sa];e:{ia=i,Nr=m,_r=U;var pa=vr.gb;vn=vr.na,fn=vr.P,Sa=vr.Sa,Za=22,s(ia!=null),s(_r!=null),en=Nr[0];var Qa=_r[0];for(s(vn!=null),s(Sa!=null),vn[0]=null,fn[0]=null,Sa[0]=0;;){if(Nr[0]=en,_r[0]=Qa,8>Qa){Nr=7;break e}var Ko=Mr(ia,en+4);if(4294967286<Ko){Nr=3;break e}var Va=8+Ko+1&-2;if(Za+=Va,0<pa&&Za>pa){Nr=3;break e}if(!p(ia,en,"VP8 ")||!p(ia,en,"VP8L")){Nr=0;break e}if(Qa[0]<Va){Nr=7;break e}p(ia,en,"ALPH")||(vn[0]=ia,fn[0]=en+8,Sa[0]=Ko),en+=Va,Qa-=Va}}if(U=U[0],vr.na=vr.na[0],vr.P=vr.P[0],vr.Sa=vr.Sa[0],Nr!=0)break}U=[U],vr.Ja=[vr.Ja],vr.xa=[vr.xa];e:if(pa=i,Nr=m,_r=U,vn=vr.gb[0],fn=vr.Ja,Sa=vr.xa,ia=Nr[0],en=!p(pa,ia,"VP8 "),Za=!p(pa,ia,"VP8L"),s(pa!=null),s(_r!=null),s(fn!=null),s(Sa!=null),8>_r[0])Nr=7;else{if(en||Za){if(pa=Mr(pa,ia+4),12<=vn&&pa>vn-12){Nr=3;break e}if(Rt&&pa>_r[0]-8){Nr=7;break e}fn[0]=pa,Nr[0]+=8,_r[0]-=8,Sa[0]=Za}else Sa[0]=5<=_r[0]&&pa[ia+0]==47&&!(pa[ia+4]>>5),fn[0]=_r[0];Nr=0}if(U=U[0],vr.Ja=vr.Ja[0],vr.xa=vr.xa[0],m=m[0],Nr!=0)break;if(4294967286<vr.Ja)return 3;if(dt==null||Xr||(dt[0]=vr.xa?2:1),rt=[rt],Or=[Or],vr.xa){if(5>U){Nr=7;break}dt=rt,Rt=Or,Xr=Xe,i==null||5>U?i=0:5<=U&&i[m+0]==47&&!(i[m+4]>>5)?(_r=[0],pa=[0],vn=[0],ir(fn=new bt,i,m,U),ja(fn,_r,pa,vn)?(dt!=null&&(dt[0]=_r[0]),Rt!=null&&(Rt[0]=pa[0]),Xr!=null&&(Xr[0]=vn[0]),i=1):i=0):i=0}else{if(10>U){Nr=7;break}dt=Or,i==null||10>U||!No(i,m+3,U-3)?i=0:(Rt=i[m+0]|i[m+1]<<8|i[m+2]<<16,Xr=16383&(i[m+7]<<8|i[m+6]),i=16383&(i[m+9]<<8|i[m+8]),1&Rt||3<(Rt>>1&7)||!(Rt>>4&1)||Rt>>5>=vr.Ja||!Xr||!i?i=0:(rt&&(rt[0]=Xr),dt&&(dt[0]=i),i=1))}if(!i||(rt=rt[0],Or=Or[0],Tr&&(Dt[0]!=rt||hr[0]!=Or)))return 3;yt!=null&&(yt[0]=vr,yt.offset=m-yt.w,s(4294967286>m-yt.w),s(yt.offset==yt.ha-U));break}return Nr==0||Nr==7&&Tr&&yt==null?(Xe!=null&&(Xe[0]|=vr.na!=null&&0<vr.na.length),de!=null&&(de[0]=rt),Te!=null&&(Te[0]=Or),0):Nr}function xr(i,m,U){var de=m.width,Te=m.height,Xe=0,rt=0,dt=de,yt=Te;if(m.Da=i!=null&&0<i.Da,m.Da&&(dt=i.cd,yt=i.bd,Xe=i.v,rt=i.j,11>U||(Xe&=-2,rt&=-2),0>Xe||0>rt||0>=dt||0>=yt||Xe+dt>de||rt+yt>Te))return 0;if(m.v=Xe,m.j=rt,m.va=Xe+dt,m.o=rt+yt,m.U=dt,m.T=yt,m.da=i!=null&&0<i.da,m.da){if(!Hn(dt,yt,U=[i.ib],Xe=[i.hb]))return 0;m.ib=U[0],m.hb=Xe[0]}return m.ob=i!=null&&i.ob,m.Kb=i==null||!i.Sd,m.da&&(m.ob=m.ib<3*de/4&&m.hb<3*Te/4,m.Kb=0),1}function Fr(i){if(i==null)return 2;if(11>i.S){var m=i.f.RGBA;m.fb+=(i.height-1)*m.A,m.A=-m.A}else m=i.f.kb,i=i.height,m.O+=(i-1)*m.fa,m.fa=-m.fa,m.N+=(i-1>>1)*m.Ab,m.Ab=-m.Ab,m.W+=(i-1>>1)*m.Db,m.Db=-m.Db,m.F!=null&&(m.J+=(i-1)*m.lb,m.lb=-m.lb);return 0}function Hr(i,m,U,de){if(de==null||0>=i||0>=m)return 2;if(U!=null){if(U.Da){var Te=U.cd,Xe=U.bd,rt=-2&U.v,dt=-2&U.j;if(0>rt||0>dt||0>=Te||0>=Xe||rt+Te>i||dt+Xe>m)return 2;i=Te,m=Xe}if(U.da){if(!Hn(i,m,Te=[U.ib],Xe=[U.hb]))return 2;i=Te[0],m=Xe[0]}}de.width=i,de.height=m;e:{var yt=de.width,Dt=de.height;if(i=de.S,0>=yt||0>=Dt||!(i>=Qs&&13>i))i=2;else{if(0>=de.Rd&&de.sd==null){rt=Xe=Te=m=0;var hr=(dt=yt*_0[i])*Dt;if(11>i||(Xe=(Dt+1)/2*(m=(yt+1)/2),i==12&&(rt=(Te=yt)*Dt)),(Dt=v(hr+2*Xe+rt))==null){i=1;break e}de.sd=Dt,11>i?((yt=de.f.RGBA).eb=Dt,yt.fb=0,yt.A=dt,yt.size=hr):((yt=de.f.kb).y=Dt,yt.O=0,yt.fa=dt,yt.Fd=hr,yt.f=Dt,yt.N=0+hr,yt.Ab=m,yt.Cd=Xe,yt.ea=Dt,yt.W=0+hr+Xe,yt.Db=m,yt.Ed=Xe,i==12&&(yt.F=Dt,yt.J=0+hr+2*Xe),yt.Tc=rt,yt.lb=Te)}if(m=1,Te=de.S,Xe=de.width,rt=de.height,Te>=Qs&&13>Te)if(11>Te)i=de.f.RGBA,m&=(dt=Math.abs(i.A))*(rt-1)+Xe<=i.size,m&=dt>=Xe*_0[Te],m&=i.eb!=null;else{i=de.f.kb,dt=(Xe+1)/2,hr=(rt+1)/2,yt=Math.abs(i.fa),Dt=Math.abs(i.Ab);var Tr=Math.abs(i.Db),Rt=Math.abs(i.lb),vr=Rt*(rt-1)+Xe;m&=yt*(rt-1)+Xe<=i.Fd,m&=Dt*(hr-1)+dt<=i.Cd,m=(m&=Tr*(hr-1)+dt<=i.Ed)&yt>=Xe&Dt>=dt&Tr>=dt,m&=i.y!=null,m&=i.f!=null,m&=i.ea!=null,Te==12&&(m&=Rt>=Xe,m&=vr<=i.Tc,m&=i.F!=null)}else m=0;i=m?0:2}}return i!=0||U!=null&&U.fd&&(i=Fr(de)),i}var un=64,bn=[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],Nn=24,Mn=32,oa=8,ya=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Gr("Predictor0","PredictorAdd0"),Ot.Predictor0=function(){return 4278190080},Ot.Predictor1=function(i){return i},Ot.Predictor2=function(i,m,U){return m[U+0]},Ot.Predictor3=function(i,m,U){return m[U+1]},Ot.Predictor4=function(i,m,U){return m[U-1]},Ot.Predictor5=function(i,m,U){return Vn(Vn(i,m[U+1]),m[U+0])},Ot.Predictor6=function(i,m,U){return Vn(i,m[U-1])},Ot.Predictor7=function(i,m,U){return Vn(i,m[U+0])},Ot.Predictor8=function(i,m,U){return Vn(m[U-1],m[U+0])},Ot.Predictor9=function(i,m,U){return Vn(m[U+0],m[U+1])},Ot.Predictor10=function(i,m,U){return Vn(Vn(i,m[U-1]),Vn(m[U+0],m[U+1]))},Ot.Predictor11=function(i,m,U){var de=m[U+0];return 0>=la(de>>24&255,i>>24&255,(m=m[U-1])>>24&255)+la(de>>16&255,i>>16&255,m>>16&255)+la(de>>8&255,i>>8&255,m>>8&255)+la(255&de,255&i,255&m)?de:i},Ot.Predictor12=function(i,m,U){var de=m[U+0];return(xa((i>>24&255)+(de>>24&255)-((m=m[U-1])>>24&255))<<24|xa((i>>16&255)+(de>>16&255)-(m>>16&255))<<16|xa((i>>8&255)+(de>>8&255)-(m>>8&255))<<8|xa((255&i)+(255&de)-(255&m)))>>>0},Ot.Predictor13=function(i,m,U){var de=m[U-1];return(Xn((i=Vn(i,m[U+0]))>>24&255,de>>24&255)<<24|Xn(i>>16&255,de>>16&255)<<16|Xn(i>>8&255,de>>8&255)<<8|Xn(255&i,255&de))>>>0};var Ua=Ot.PredictorAdd0;Ot.PredictorAdd1=La,Gr("Predictor2","PredictorAdd2"),Gr("Predictor3","PredictorAdd3"),Gr("Predictor4","PredictorAdd4"),Gr("Predictor5","PredictorAdd5"),Gr("Predictor6","PredictorAdd6"),Gr("Predictor7","PredictorAdd7"),Gr("Predictor8","PredictorAdd8"),Gr("Predictor9","PredictorAdd9"),Gr("Predictor10","PredictorAdd10"),Gr("Predictor11","PredictorAdd11"),Gr("Predictor12","PredictorAdd12"),Gr("Predictor13","PredictorAdd13");var Pa=Ot.PredictorAdd2;Fn("ColorIndexInverseTransform","MapARGB","32b",function(i){return i>>8&255},function(i){return i}),Fn("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(i){return i},function(i){return i>>8&255});var Oa,Ga=Ot.ColorIndexInverseTransform,Ya=Ot.MapARGB,Ra=Ot.VP8LColorIndexInverseTransformAlpha,Jo=Ot.MapAlpha,Io=Ot.VP8LPredictorsAdd=[];Io.length=16,(Ot.VP8LPredictors=[]).length=16,(Ot.VP8LPredictorsAdd_C=[]).length=16,(Ot.VP8LPredictors_C=[]).length=16;var go,qo,Ao,Ho,ei,wi,fi,es,Do,Go,Fa,oo,Co,So,Ki,Xi,Ti,gs,zs,_s,Ys,Js,ks,Us,As,Hs,Ds,Rs,M0=v(511),T0=v(2041),B0=v(225),L0=v(767),z0=0,m0=T0,qs=B0,Bi=L0,_i=M0,Qs=0,e0=1,D0=2,t0=3,r0=4,p0=5,R0=6,g0=7,v0=8,n0=9,b0=10,cl=[2,3,7],ul=[3,3,11],F0=[280,256,256,256,40],dl=[0,1,1,1,0],hl=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],fl=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],ml=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],pl=8,y0=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],x0=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Zs=null,gl=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],vl=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],k0=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],bl=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],yl=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],xl=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],Sl=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Ps=[],ts=[],vs=[],wl=1,H0=2,js=[],Yi=[];pr("UpsampleRgbLinePair",Ca,3),pr("UpsampleBgrLinePair",Ia,3),pr("UpsampleRgbaLinePair",O,4),pr("UpsampleBgraLinePair",d,4),pr("UpsampleArgbLinePair",t,4),pr("UpsampleRgba4444LinePair",e,2),pr("UpsampleRgb565LinePair",c,2);var Cl=Ot.UpsampleRgbLinePair,Ol=Ot.UpsampleBgrLinePair,W0=Ot.UpsampleRgbaLinePair,U0=Ot.UpsampleBgraLinePair,Z0=Ot.UpsampleArgbLinePair,V0=Ot.UpsampleRgba4444LinePair,El=Ot.UpsampleRgb565LinePair,a0=16,o0=1<<a0-1,Vs=-227,S0=482,G0=6,Il=(256<<G0)-1,K0=0,$l=v(256),Al=v(256),Pl=v(256),jl=v(256),Nl=v(S0-Vs),Ml=v(S0-Vs);Oe("YuvToRgbRow",Ca,3),Oe("YuvToBgrRow",Ia,3),Oe("YuvToRgbaRow",O,4),Oe("YuvToBgraRow",d,4),Oe("YuvToArgbRow",t,4),Oe("YuvToRgba4444Row",e,2),Oe("YuvToRgb565Row",c,2);var X0=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],i0=[0,2,8],Tl=[8,7,6,4,4,2,2,2,1,1,1,1],Bl=1;this.WebPDecodeRGBA=function(i,m,U,de,Te){var Xe=e0,rt=new wr,dt=new Cn;rt.ba=dt,dt.S=Xe,dt.width=[dt.width],dt.height=[dt.height];var yt=dt.width,Dt=dt.height,hr=new jn;if(hr==null||i==null)var Tr=2;else s(hr!=null),Tr=ur(i,m,U,hr.width,hr.height,hr.Pd,hr.Qd,hr.format,null);if(Tr!=0?yt=0:(yt!=null&&(yt[0]=hr.width[0]),Dt!=null&&(Dt[0]=hr.height[0]),yt=1),yt){dt.width=dt.width[0],dt.height=dt.height[0],de!=null&&(de[0]=dt.width),Te!=null&&(Te[0]=dt.height);e:{if(de=new Aa,(Te=new Kr).data=i,Te.w=m,Te.ha=U,Te.kd=1,m=[0],s(Te!=null),((i=ur(Te.data,Te.w,Te.ha,null,null,null,m,null,Te))==0||i==7)&&m[0]&&(i=4),(m=i)==0){if(s(rt!=null),de.data=Te.data,de.w=Te.w+Te.offset,de.ha=Te.ha-Te.offset,de.put=ma,de.ac=uo,de.bc=Eo,de.ma=rt,Te.xa){if((i=Ma())==null){rt=1;break e}if(function(Rt,vr){var Or=[0],Xr=[0],Nr=[0];t:for(;;){if(Rt==null)return 0;if(vr==null)return Rt.a=2,0;if(Rt.l=vr,Rt.a=0,ir(Rt.m,vr.data,vr.w,vr.ha),!ja(Rt.m,Or,Xr,Nr)){Rt.a=3;break t}if(Rt.xb=H0,vr.width=Or[0],vr.height=Xr[0],!Wo(Or[0],Xr[0],1,Rt,null))break t;return 1}return s(Rt.a!=0),0}(i,de)){if(de=(m=Hr(de.width,de.height,rt.Oa,rt.ba))==0){t:{de=i;r:for(;;){if(de==null){de=0;break t}if(s(de.s.yc!=null),s(de.s.Ya!=null),s(0<de.s.Wb),s((U=de.l)!=null),s((Te=U.ma)!=null),de.xb!=0){if(de.ca=Te.ba,de.tb=Te.tb,s(de.ca!=null),!xr(Te.Oa,U,t0)){de.a=2;break r}if(!ho(de,U.width)||U.da)break r;if((U.da||Zn(de.ca.S))&&rr(),11>de.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),de.ca.f.kb.F!=null&&rr()),de.Pb&&0<de.s.ua&&de.s.vb.X==null&&!Lt(de.s.vb,de.s.Wa.Xa)){de.a=1;break r}de.xb=0}if(!$o(de,de.V,de.Ba,de.c,de.i,U.o,Da))break r;Te.Dc=de.Ma,de=1;break t}s(de.a!=0),de=0}de=!de}de&&(m=i.a)}else m=i.a}else{if((i=new fo)==null){rt=1;break e}if(i.Fa=Te.na,i.P=Te.P,i.qc=Te.Sa,Mo(i,de)){if((m=Hr(de.width,de.height,rt.Oa,rt.ba))==0){if(i.Aa=0,U=rt.Oa,s((Te=i)!=null),U!=null){if(0<(yt=0>(yt=U.Md)?0:100<yt?255:255*yt/100)){for(Dt=hr=0;4>Dt;++Dt)12>(Tr=Te.pb[Dt]).lc&&(Tr.ia=yt*Tl[0>Tr.lc?0:Tr.lc]>>3),hr|=Tr.ia;hr&&(alert("todo:VP8InitRandom"),Te.ia=1)}Te.Ga=U.Id,100<Te.Ga?Te.Ga=100:0>Te.Ga&&(Te.Ga=0)}(function(Rt,vr){if(Rt==null)return 0;if(vr==null)return Ve(Rt,2,"NULL VP8Io parameter in VP8Decode().");if(!Rt.cb&&!Mo(Rt,vr))return 0;if(s(Rt.cb),vr.ac==null||vr.ac(vr)){vr.ob&&(Rt.L=0);var Or=i0[Rt.L];if(Rt.L==2?(Rt.yb=0,Rt.zb=0):(Rt.yb=vr.v-Or>>4,Rt.zb=vr.j-Or>>4,0>Rt.yb&&(Rt.yb=0),0>Rt.zb&&(Rt.zb=0)),Rt.Va=vr.o+15+Or>>4,Rt.Hb=vr.va+15+Or>>4,Rt.Hb>Rt.za&&(Rt.Hb=Rt.za),Rt.Va>Rt.Ub&&(Rt.Va=Rt.Ub),0<Rt.L){var Xr=Rt.ed;for(Or=0;4>Or;++Or){var Nr;if(Rt.Qa.Cb){var _r=Rt.Qa.Lb[Or];Rt.Qa.Fb||(_r+=Xr.Tb)}else _r=Xr.Tb;for(Nr=0;1>=Nr;++Nr){var en=Rt.gd[Or][Nr],vn=_r;if(Xr.Pc&&(vn+=Xr.vd[0],Nr&&(vn+=Xr.od[0])),0<(vn=0>vn?0:63<vn?63:vn)){var fn=vn;0<Xr.wb&&(fn=4<Xr.wb?fn>>2:fn>>1)>9-Xr.wb&&(fn=9-Xr.wb),1>fn&&(fn=1),en.dd=fn,en.tc=2*vn+fn,en.ld=40<=vn?2:15<=vn?1:0}else en.tc=0;en.La=Nr}}}Or=0}else Ve(Rt,6,"Frame setup failed"),Or=Rt.a;if(Or=Or==0){if(Or){Rt.$c=0,0<Rt.Aa||(Rt.Ic=Bl);t:{Or=Rt.Ic,Xr=4*(fn=Rt.za);var Sa=32*fn,ia=fn+1,Za=0<Rt.L?fn*(0<Rt.Aa?2:1):0,pa=(Rt.Aa==2?2:1)*fn;if((en=Xr+832+(Nr=3*(16*Or+i0[Rt.L])/2*Sa)+(_r=Rt.Fa!=null&&0<Rt.Fa.length?Rt.Kc.c*Rt.Kc.i:0))!=en)Or=0;else{if(en>Rt.Vb){if(Rt.Vb=0,Rt.Ec=v(en),Rt.Fc=0,Rt.Ec==null){Or=Ve(Rt,1,"no memory during frame initialization.");break t}Rt.Vb=en}en=Rt.Ec,vn=Rt.Fc,Rt.Ac=en,Rt.Bc=vn,vn+=Xr,Rt.Gd=T(Sa,Ii),Rt.Hd=0,Rt.rb=T(ia+1,ki),Rt.sb=1,Rt.wa=Za?T(Za,Uo):null,Rt.Y=0,Rt.D.Nb=0,Rt.D.wa=Rt.wa,Rt.D.Y=Rt.Y,0<Rt.Aa&&(Rt.D.Y+=fn),s(!0),Rt.oc=en,Rt.pc=vn,vn+=832,Rt.ya=T(pa,yi),Rt.aa=0,Rt.D.ya=Rt.ya,Rt.D.aa=Rt.aa,Rt.Aa==2&&(Rt.D.aa+=fn),Rt.R=16*fn,Rt.B=8*fn,fn=(Sa=i0[Rt.L])*Rt.R,Sa=Sa/2*Rt.B,Rt.sa=en,Rt.ta=vn+fn,Rt.qa=Rt.sa,Rt.ra=Rt.ta+16*Or*Rt.R+Sa,Rt.Ha=Rt.qa,Rt.Ia=Rt.ra+8*Or*Rt.B+Sa,Rt.$c=0,vn+=Nr,Rt.mb=_r?en:null,Rt.nb=_r?vn:null,s(vn+_r<=Rt.Fc+Rt.Vb),ao(Rt),A(Rt.Ac,Rt.Bc,0,Xr),Or=1}}if(Or){if(vr.ka=0,vr.y=Rt.sa,vr.O=Rt.ta,vr.f=Rt.qa,vr.N=Rt.ra,vr.ea=Rt.Ha,vr.Vd=Rt.Ia,vr.fa=Rt.R,vr.Rc=Rt.B,vr.F=null,vr.J=0,!z0){for(Or=-255;255>=Or;++Or)M0[255+Or]=0>Or?-Or:Or;for(Or=-1020;1020>=Or;++Or)T0[1020+Or]=-128>Or?-128:127<Or?127:Or;for(Or=-112;112>=Or;++Or)B0[112+Or]=-16>Or?-16:15<Or?15:Or;for(Or=-255;510>=Or;++Or)L0[255+Or]=0>Or?0:255<Or?255:Or;z0=1}fi=cs,es=Hi,Go=xs,Fa=ii,oo=as,Do=$i,Co=ps,So=Gi,Ki=P,Xi=je,Ti=Qi,gs=ls,zs=zt,_s=tr,Ys=ss,Js=Mi,ks=fs,Us=ms,ts[0]=Es,ts[1]=Wi,ts[2]=Cs,ts[3]=Os,ts[4]=Ji,ts[5]=di,ts[6]=ai,ts[7]=Ls,ts[8]=is,ts[9]=Is,Ps[0]=ci,Ps[1]=us,Ps[2]=ws,Ps[3]=os,Ps[4]=ds,Ps[5]=Ai,Ps[6]=ui,vs[0]=Vi,vs[1]=Ss,vs[2]=Ui,vs[3]=Pi,vs[4]=qi,vs[5]=$s,vs[6]=hs,Or=1}else Or=0}Or&&(Or=function(Qa,Ko){for(Qa.M=0;Qa.M<Qa.Va;++Qa.M){var Va,ga=Qa.Jc[Qa.M&Qa.Xb],Rn=Qa.m,Ro=Qa;for(Va=0;Va<Ro.za;++Va){var ka=Rn,eo=Ro,Oo=eo.Ac,ti=eo.Bc+4*Va,mi=eo.zc,To=eo.ya[eo.aa+Va];if(eo.Qa.Bb?To.$b=Lr(ka,eo.Pa.jb[0])?2+Lr(ka,eo.Pa.jb[2]):Lr(ka,eo.Pa.jb[1]):To.$b=0,eo.kc&&(To.Ad=Lr(ka,eo.Bd)),To.Za=!Lr(ka,145)+0,To.Za){var oi=To.Ob,pi=0;for(eo=0;4>eo;++eo){var Xo,io=mi[0+eo];for(Xo=0;4>Xo;++Xo){io=yl[Oo[ti+Xo]][io];for(var mo=k0[Lr(ka,io[0])];0<mo;)mo=k0[2*mo+Lr(ka,io[mo])];io=-mo,Oo[ti+Xo]=io}b(oi,pi,Oo,ti,4),pi+=4,mi[0+eo]=io}}else io=Lr(ka,156)?Lr(ka,128)?1:3:Lr(ka,163)?2:0,To.Ob[0]=io,A(Oo,ti,io,4),A(mi,0,io,4);To.Dd=Lr(ka,142)?Lr(ka,114)?Lr(ka,183)?1:3:2:0}if(Ro.m.Ka)return Ve(Qa,7,"Premature end-of-partition0 encountered.");for(;Qa.ja<Qa.za;++Qa.ja){if(Ro=ga,ka=(Rn=Qa).rb[Rn.sb-1],Oo=Rn.rb[Rn.sb+Rn.ja],Va=Rn.ya[Rn.aa+Rn.ja],ti=Rn.kc?Va.Ad:0)ka.la=Oo.la=0,Va.Za||(ka.Na=Oo.Na=0),Va.Hc=0,Va.Gc=0,Va.ia=0;else{var Bo,po;if(ka=Oo,Oo=Ro,ti=Rn.Pa.Xc,mi=Rn.ya[Rn.aa+Rn.ja],To=Rn.pb[mi.$b],eo=mi.ad,oi=0,pi=Rn.rb[Rn.sb-1],io=Xo=0,A(eo,oi,0,384),mi.Za)var ri=0,rs=ti[3];else{mo=v(16);var Fo=ka.Na+pi.Na;if(Fo=Zs(Oo,ti[1],Fo,To.Eb,0,mo,0),ka.Na=pi.Na=(0<Fo)+0,1<Fo)fi(mo,0,eo,oi);else{var Ci=mo[0]+3>>3;for(mo=0;256>mo;mo+=16)eo[oi+mo]=Ci}ri=1,rs=ti[0]}var bo=15&ka.la,_o=15&pi.la;for(mo=0;4>mo;++mo){var Li=1&_o;for(Ci=po=0;4>Ci;++Ci)bo=bo>>1|(Li=(Fo=Zs(Oo,rs,Fo=Li+(1&bo),To.Sc,ri,eo,oi))>ri)<<7,po=po<<2|(3<Fo?3:1<Fo?2:eo[oi+0]!=0),oi+=16;bo>>=4,_o=_o>>1|Li<<7,Xo=(Xo<<8|po)>>>0}for(rs=bo,ri=_o>>4,Bo=0;4>Bo;Bo+=2){for(po=0,bo=ka.la>>4+Bo,_o=pi.la>>4+Bo,mo=0;2>mo;++mo){for(Li=1&_o,Ci=0;2>Ci;++Ci)Fo=Li+(1&bo),bo=bo>>1|(Li=0<(Fo=Zs(Oo,ti[2],Fo,To.Qc,0,eo,oi)))<<3,po=po<<2|(3<Fo?3:1<Fo?2:eo[oi+0]!=0),oi+=16;bo>>=2,_o=_o>>1|Li<<5}io|=po<<4*Bo,rs|=bo<<4<<Bo,ri|=(240&_o)<<Bo}ka.la=rs,pi.la=ri,mi.Hc=Xo,mi.Gc=io,mi.ia=43690&io?0:To.ia,ti=!(Xo|io)}if(0<Rn.L&&(Rn.wa[Rn.Y+Rn.ja]=Rn.gd[Va.$b][Va.Za],Rn.wa[Rn.Y+Rn.ja].La|=!ti),Ro.Ka)return Ve(Qa,7,"Premature end-of-file encountered.")}if(ao(Qa),Rn=Ko,Ro=1,Va=(ga=Qa).D,ka=0<ga.L&&ga.M>=ga.zb&&ga.M<=ga.Va,ga.Aa==0)t:{if(Va.M=ga.M,Va.uc=ka,Kt(ga,Va),Ro=1,Va=(po=ga.D).Nb,ka=(io=i0[ga.L])*ga.R,Oo=io/2*ga.B,mo=16*Va*ga.R,Ci=8*Va*ga.B,ti=ga.sa,mi=ga.ta-ka+mo,To=ga.qa,eo=ga.ra-Oo+Ci,oi=ga.Ha,pi=ga.Ia-Oo+Ci,_o=(bo=po.M)==0,Xo=bo>=ga.Va-1,ga.Aa==2&&Kt(ga,po),po.uc)for(Li=(Fo=ga).D.M,s(Fo.D.uc),po=Fo.yb;po<Fo.Hb;++po){ri=po,rs=Li;var gi=(zi=(ni=Fo).D).Nb;Bo=ni.R;var zi=zi.wa[zi.Y+ri],Di=ni.sa,Oi=ni.ta+16*gi*Bo+16*ri,Ri=zi.dd,wo=zi.tc;if(wo!=0)if(s(3<=wo),ni.L==1)0<ri&&Js(Di,Oi,Bo,wo+4),zi.La&&Us(Di,Oi,Bo,wo),0<rs&&Ys(Di,Oi,Bo,wo+4),zi.La&&ks(Di,Oi,Bo,wo);else{var Fi=ni.B,ns=ni.qa,Fs=ni.ra+8*gi*Fi+8*ri,bs=ni.Ha,ni=ni.Ia+8*gi*Fi+8*ri;gi=zi.ld,0<ri&&(So(Di,Oi,Bo,wo+4,Ri,gi),Xi(ns,Fs,bs,ni,Fi,wo+4,Ri,gi)),zi.La&&(gs(Di,Oi,Bo,wo,Ri,gi),_s(ns,Fs,bs,ni,Fi,wo,Ri,gi)),0<rs&&(Co(Di,Oi,Bo,wo+4,Ri,gi),Ki(ns,Fs,bs,ni,Fi,wo+4,Ri,gi)),zi.La&&(Ti(Di,Oi,Bo,wo,Ri,gi),zs(ns,Fs,bs,ni,Fi,wo,Ri,gi))}}if(ga.ia&&alert("todo:DitherRow"),Rn.put!=null){if(po=16*bo,bo=16*(bo+1),_o?(Rn.y=ga.sa,Rn.O=ga.ta+mo,Rn.f=ga.qa,Rn.N=ga.ra+Ci,Rn.ea=ga.Ha,Rn.W=ga.Ia+Ci):(po-=io,Rn.y=ti,Rn.O=mi,Rn.f=To,Rn.N=eo,Rn.ea=oi,Rn.W=pi),Xo||(bo-=io),bo>Rn.o&&(bo=Rn.o),Rn.F=null,Rn.J=null,ga.Fa!=null&&0<ga.Fa.length&&po<bo&&(Rn.J=H(ga,Rn,po,bo-po),Rn.F=ga.mb,Rn.F==null&&Rn.F.length==0)){Ro=Ve(ga,3,"Could not decode alpha data.");break t}po<Rn.j&&(io=Rn.j-po,po=Rn.j,s(!(1&io)),Rn.O+=ga.R*io,Rn.N+=ga.B*(io>>1),Rn.W+=ga.B*(io>>1),Rn.F!=null&&(Rn.J+=Rn.width*io)),po<bo&&(Rn.O+=Rn.v,Rn.N+=Rn.v>>1,Rn.W+=Rn.v>>1,Rn.F!=null&&(Rn.J+=Rn.v),Rn.ka=po-Rn.j,Rn.U=Rn.va-Rn.v,Rn.T=bo-po,Ro=Rn.put(Rn))}Va+1!=ga.Ic||Xo||(b(ga.sa,ga.ta-ka,ti,mi+16*ga.R,ka),b(ga.qa,ga.ra-Oo,To,eo+8*ga.B,Oo),b(ga.Ha,ga.Ia-Oo,oi,pi+8*ga.B,Oo))}if(!Ro)return Ve(Qa,6,"Output aborted.")}return 1}(Rt,vr)),vr.bc!=null&&vr.bc(vr),Or&=1}return Or?(Rt.cb=0,Or):0})(i,de)||(m=i.a)}}else m=i.a}m==0&&rt.Oa!=null&&rt.Oa.fd&&(m=Fr(rt.ba))}rt=m}Xe=rt!=0?null:11>Xe?dt.f.RGBA.eb:dt.f.kb.y}else Xe=null;return Xe};var _0=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Ae(Ot,qt){for(var We="",ze=0;ze<4;ze++)We+=String.fromCharCode(Ot[qt++]);return We}function st(Ot,qt){return Ot[qt+0]|Ot[qt+1]<<8}function jt(Ot,qt){return(Ot[qt+0]|Ot[qt+1]<<8|Ot[qt+2]<<16)>>>0}function At(Ot,qt){return(Ot[qt+0]|Ot[qt+1]<<8|Ot[qt+2]<<16|Ot[qt+3]<<24)>>>0}new re;var ve=[0],kt=[0],Ge=[],Zt=new re,gt=f,ar=function(Ot,qt){var We={},ze=0,wt=!1,ut=0,cr=0;if(We.frames=[],!function(Pe,bt){for(var Bt=0;Bt<4;Bt++)if(Pe[bt+Bt]!="RIFF".charCodeAt(Bt))return!0;return!1}(Ot,qt)){for(At(Ot,qt+=4),qt+=8;qt<Ot.length;){var gr=Ae(Ot,qt),_t=At(Ot,qt+=4);qt+=4;var Tt=_t+(1&_t);switch(gr){case"VP8 ":case"VP8L":We.frames[ze]===void 0&&(We.frames[ze]={}),(Wt=We.frames[ze]).src_off=wt?cr:qt-8,Wt.src_size=ut+_t+8,ze++,wt&&(wt=!1,ut=0,cr=0);break;case"VP8X":(Wt=We.header={}).feature_flags=Ot[qt];var ir=qt+4;Wt.canvas_width=1+jt(Ot,ir),ir+=3,Wt.canvas_height=1+jt(Ot,ir),ir+=3;break;case"ALPH":wt=!0,ut=Tt+8,cr=qt-8;break;case"ANIM":(Wt=We.header).bgcolor=At(Ot,qt),ir=qt+4,Wt.loop_count=st(Ot,ir),ir+=2;break;case"ANMF":var Zr,Wt;(Wt=We.frames[ze]={}).offset_x=2*jt(Ot,qt),qt+=3,Wt.offset_y=2*jt(Ot,qt),qt+=3,Wt.width=1+jt(Ot,qt),qt+=3,Wt.height=1+jt(Ot,qt),qt+=3,Wt.duration=jt(Ot,qt),qt+=3,Zr=Ot[qt++],Wt.dispose=1&Zr,Wt.blend=Zr>>1&1}gr!="ANMF"&&(qt+=Tt)}return We}}(gt,0);ar.response=gt,ar.rgbaoutput=!0,ar.dataurl=!1;var yr=ar.header?ar.header:null,Qt=ar.frames?ar.frames:null;if(yr){yr.loop_counter=yr.loop_count,ve=[yr.canvas_height],kt=[yr.canvas_width];for(var at=0;at<Qt.length&&Qt[at].blend!=0;at++);}var Ce=Qt[0],Vt=Zt.WebPDecodeRGBA(gt,Ce.src_off,Ce.src_size,kt,ve);Ce.rgba=Vt,Ce.imgwidth=kt[0],Ce.imgheight=ve[0];for(var Mt=0;Mt<kt[0]*ve[0]*4;Mt++)Ge[Mt]=Vt[Mt];return this.width=kt,this.height=ve,this.data=Ge,this}(function(f){var s,p,b,A,v,T,Z,re,Ae,st=function(Pe){return Pe=Pe||{},this.isStrokeTransparent=Pe.isStrokeTransparent||!1,this.strokeOpacity=Pe.strokeOpacity||1,this.strokeStyle=Pe.strokeStyle||"#000000",this.fillStyle=Pe.fillStyle||"#000000",this.isFillTransparent=Pe.isFillTransparent||!1,this.fillOpacity=Pe.fillOpacity||1,this.font=Pe.font||"10px sans-serif",this.textBaseline=Pe.textBaseline||"alphabetic",this.textAlign=Pe.textAlign||"left",this.lineWidth=Pe.lineWidth||1,this.lineJoin=Pe.lineJoin||"miter",this.lineCap=Pe.lineCap||"butt",this.path=Pe.path||[],this.transform=Pe.transform!==void 0?Pe.transform.clone():new re,this.globalCompositeOperation=Pe.globalCompositeOperation||"normal",this.globalAlpha=Pe.globalAlpha||1,this.clip_path=Pe.clip_path||[],this.currentPoint=Pe.currentPoint||new T,this.miterLimit=Pe.miterLimit||10,this.lastPoint=Pe.lastPoint||new T,this.lineDashOffset=Pe.lineDashOffset||0,this.lineDash=Pe.lineDash||[],this.margin=Pe.margin||[0,0,0,0],this.prevPageLastElemOffset=Pe.prevPageLastElemOffset||0,this.ignoreClearRect=typeof Pe.ignoreClearRect!="boolean"||Pe.ignoreClearRect,this};f.events.push(["initialized",function(){this.context2d=new jt(this),s=this.internal.f2,p=this.internal.getCoordinateString,b=this.internal.getVerticalCoordinateString,A=this.internal.getHorizontalCoordinate,v=this.internal.getVerticalCoordinate,T=this.internal.Point,Z=this.internal.Rectangle,re=this.internal.Matrix,Ae=new st}]);var jt=function(Pe){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var bt=Pe;Object.defineProperty(this,"pdf",{get:function(){return bt}});var Bt=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return Bt},set:function(Mr){Bt=!!Mr}});var ht=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return ht},set:function(Mr){ht=!!Mr}});var Jt=0;Object.defineProperty(this,"posX",{get:function(){return Jt},set:function(Mr){isNaN(Mr)||(Jt=Mr)}});var dr=0;Object.defineProperty(this,"posY",{get:function(){return dr},set:function(Mr){isNaN(Mr)||(dr=Mr)}}),Object.defineProperty(this,"margin",{get:function(){return Ae.margin},set:function(Mr){var Lt;typeof Mr=="number"?Lt=[Mr,Mr,Mr,Mr]:((Lt=new Array(4))[0]=Mr[0],Lt[1]=Mr.length>=2?Mr[1]:Lt[0],Lt[2]=Mr.length>=3?Mr[2]:Lt[0],Lt[3]=Mr.length>=4?Mr[3]:Lt[1]),Ae.margin=Lt}});var fr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return fr},set:function(Mr){fr=Mr}});var Er=0;Object.defineProperty(this,"lastBreak",{get:function(){return Er},set:function(Mr){Er=Mr}});var Lr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Lr},set:function(Mr){Lr=Mr}}),Object.defineProperty(this,"ctx",{get:function(){return Ae},set:function(Mr){Mr instanceof st&&(Ae=Mr)}}),Object.defineProperty(this,"path",{get:function(){return Ae.path},set:function(Mr){Ae.path=Mr}});var Rr=[];Object.defineProperty(this,"ctxStack",{get:function(){return Rr},set:function(Mr){Rr=Mr}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Mr){var Lt;Lt=At(Mr),this.ctx.fillStyle=Lt.style,this.ctx.isFillTransparent=Lt.a===0,this.ctx.fillOpacity=Lt.a,this.pdf.setFillColor(Lt.r,Lt.g,Lt.b,{a:Lt.a}),this.pdf.setTextColor(Lt.r,Lt.g,Lt.b,{a:Lt.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Mr){var Lt=At(Mr);this.ctx.strokeStyle=Lt.style,this.ctx.isStrokeTransparent=Lt.a===0,this.ctx.strokeOpacity=Lt.a,Lt.a===0?this.pdf.setDrawColor(255,255,255):(Lt.a,this.pdf.setDrawColor(Lt.r,Lt.g,Lt.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Mr){["butt","round","square"].indexOf(Mr)!==-1&&(this.ctx.lineCap=Mr,this.pdf.setLineCap(Mr))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Mr){isNaN(Mr)||(this.ctx.lineWidth=Mr,this.pdf.setLineWidth(Mr))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Mr){["bevel","round","miter"].indexOf(Mr)!==-1&&(this.ctx.lineJoin=Mr,this.pdf.setLineJoin(Mr))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Mr){isNaN(Mr)||(this.ctx.miterLimit=Mr,this.pdf.setMiterLimit(Mr))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Mr){this.ctx.textBaseline=Mr}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Mr){["right","end","center","left","start"].indexOf(Mr)!==-1&&(this.ctx.textAlign=Mr)}});var cn=null,wn=null;Object.defineProperty(this,"fontFaces",{get:function(){return wn},set:function(Mr){cn=null,wn=Mr}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Mr){var Lt;if(this.ctx.font=Mr,(Lt=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(Mr))!==null){var ba=Lt[1];Lt[2];var da=Lt[3],Hn=Lt[4];Lt[5];var an=Lt[6],dn=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Hn)[2];Hn=Math.floor(dn==="px"?parseFloat(Hn)*this.pdf.internal.scaleFactor:dn==="em"?parseFloat(Hn)*this.pdf.getFontSize():parseFloat(Hn)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Hn);var Gr=function(aa){var Fn,Ln,_n=[],Qr=aa.trim();if(Qr==="")return mr;if(Qr in D)return[D[Qr]];for(;Qr!=="";){switch(Ln=null,Fn=(Qr=ne(Qr)).charAt(0)){case'"':case"'":Ln=lt(Qr.substring(1),Fn);break;default:Ln=pn(Qr)}if(Ln===null||(_n.push(Ln[0]),(Qr=ne(Ln[1]))!==""&&Qr.charAt(0)!==","))return mr;Qr=Qr.replace(/^,/,"")}return _n}(an);if(this.fontFaces){var sa=function(aa,Fn){if(cn===null){var Ln=function(_n){var Qr=[];return Object.keys(_n).forEach(function(mn){_n[mn].forEach(function(ca){var En=null;switch(ca){case"bold":En={family:mn,weight:"bold"};break;case"italic":En={family:mn,style:"italic"};break;case"bolditalic":En={family:mn,weight:"bold",style:"italic"};break;case"":case"normal":En={family:mn}}En!==null&&(En.ref={name:mn,style:ca},Qr.push(En))})}),Qr}(aa.getFontList());cn=function(_n){for(var Qr={},mn=0;mn<_n.length;++mn){var ca=br(_n[mn]),En=ca.family,ha=ca.stretch,Zn=ca.style,Ha=ca.weight;Qr[En]=Qr[En]||{},Qr[En][ha]=Qr[En][ha]||{},Qr[En][ha][Zn]=Qr[En][ha][Zn]||{},Qr[En][ha][Zn][Ha]=ca}return Qr}(Ln.concat(Fn))}return cn}(this.pdf,this.fontFaces),Vn=Gr.map(function(aa){return{family:aa,stretch:"normal",weight:da,style:ba}}),xa=function(aa,Fn,Ln){for(var _n=(Ln=Ln||{}).defaultFontFamily||"times",Qr=Object.assign({},h,Ln.genericFontFamilies||{}),mn=null,ca=null,En=0;En<Fn.length;++En)if(Qr[(mn=br(Fn[En])).family]&&(mn.family=Qr[mn.family]),aa.hasOwnProperty(mn.family)){ca=aa[mn.family];break}if(!(ca=ca||aa[_n]))throw new Error("Could not find a font-family for the rule '"+Ee(mn)+"' and default family '"+_n+"'.");if(ca=function(ha,Zn){if(Zn[ha])return Zn[ha];var Ha=Tn[ha],Ja=Ha<=Tn.normal?-1:1,Cn=Br(Zn,yn,Ha,Ja);if(!Cn)throw new Error("Could not find a matching font-stretch value for "+ha);return Cn}(mn.stretch,ca),ca=function(ha,Zn){if(Zn[ha])return Zn[ha];for(var Ha=$r[ha],Ja=0;Ja<Ha.length;++Ja)if(Zn[Ha[Ja]])return Zn[Ha[Ja]];throw new Error("Could not find a matching font-style for "+ha)}(mn.style,ca),!(ca=function(ha,Zn){if(Zn[ha])return Zn[ha];if(ha===400&&Zn[500])return Zn[500];if(ha===500&&Zn[400])return Zn[400];var Ha=Sr[ha],Ja=Br(Zn,Ft,Ha,ha<400?-1:1);if(!Ja)throw new Error("Could not find a matching font-weight for value "+ha);return Ja}(mn.weight,ca)))throw new Error("Failed to resolve a font for the rule '"+Ee(mn)+"'.");return ca}(sa,Vn);this.pdf.setFont(xa.ref.name,xa.ref.style)}else{var Xn="";(da==="bold"||parseInt(da,10)>=700||ba==="bold")&&(Xn="bold"),ba==="italic"&&(Xn+="italic"),Xn.length===0&&(Xn="normal");for(var la="",La={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"},na=0;na<Gr.length;na++){if(this.pdf.internal.getFont(Gr[na],Xn,{noFallback:!0,disableWarning:!0})!==void 0){la=Gr[na];break}if(Xn==="bolditalic"&&this.pdf.internal.getFont(Gr[na],"bold",{noFallback:!0,disableWarning:!0})!==void 0)la=Gr[na],Xn="bold";else if(this.pdf.internal.getFont(Gr[na],"normal",{noFallback:!0,disableWarning:!0})!==void 0){la=Gr[na],Xn="normal";break}}if(la===""){for(var kn=0;kn<Gr.length;kn++)if(La[Gr[kn]]){la=La[Gr[kn]];break}}la=la===""?"Times":la,this.pdf.setFont(la,Xn)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Mr){this.ctx.globalCompositeOperation=Mr}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Mr){this.ctx.globalAlpha=Mr}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(Mr){this.ctx.lineDashOffset=Mr,Wt.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(Mr){this.ctx.lineDash=Mr,Wt.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Mr){this.ctx.ignoreClearRect=!!Mr}})};jt.prototype.setLineDash=function(Pe){this.lineDash=Pe},jt.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},jt.prototype.fill=function(){Qt.call(this,"fill",!1)},jt.prototype.stroke=function(){Qt.call(this,"stroke",!1)},jt.prototype.beginPath=function(){this.path=[{type:"begin"}]},jt.prototype.moveTo=function(Pe,bt){if(isNaN(Pe)||isNaN(bt))throw _.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var Bt=this.ctx.transform.applyToPoint(new T(Pe,bt));this.path.push({type:"mt",x:Bt.x,y:Bt.y}),this.ctx.lastPoint=new T(Pe,bt)},jt.prototype.closePath=function(){var Pe=new T(0,0),bt=0;for(bt=this.path.length-1;bt!==-1;bt--)if(this.path[bt].type==="begin"&&(0,o.Z)(this.path[bt+1])==="object"&&typeof this.path[bt+1].x=="number"){Pe=new T(this.path[bt+1].x,this.path[bt+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new T(Pe.x,Pe.y)},jt.prototype.lineTo=function(Pe,bt){if(isNaN(Pe)||isNaN(bt))throw _.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var Bt=this.ctx.transform.applyToPoint(new T(Pe,bt));this.path.push({type:"lt",x:Bt.x,y:Bt.y}),this.ctx.lastPoint=new T(Bt.x,Bt.y)},jt.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),Qt.call(this,null,!0)},jt.prototype.quadraticCurveTo=function(Pe,bt,Bt,ht){if(isNaN(Bt)||isNaN(ht)||isNaN(Pe)||isNaN(bt))throw _.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var Jt=this.ctx.transform.applyToPoint(new T(Bt,ht)),dr=this.ctx.transform.applyToPoint(new T(Pe,bt));this.path.push({type:"qct",x1:dr.x,y1:dr.y,x:Jt.x,y:Jt.y}),this.ctx.lastPoint=new T(Jt.x,Jt.y)},jt.prototype.bezierCurveTo=function(Pe,bt,Bt,ht,Jt,dr){if(isNaN(Jt)||isNaN(dr)||isNaN(Pe)||isNaN(bt)||isNaN(Bt)||isNaN(ht))throw _.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var fr=this.ctx.transform.applyToPoint(new T(Jt,dr)),Er=this.ctx.transform.applyToPoint(new T(Pe,bt)),Lr=this.ctx.transform.applyToPoint(new T(Bt,ht));this.path.push({type:"bct",x1:Er.x,y1:Er.y,x2:Lr.x,y2:Lr.y,x:fr.x,y:fr.y}),this.ctx.lastPoint=new T(fr.x,fr.y)},jt.prototype.arc=function(Pe,bt,Bt,ht,Jt,dr){if(isNaN(Pe)||isNaN(bt)||isNaN(Bt)||isNaN(ht)||isNaN(Jt))throw _.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(dr=!!dr,!this.ctx.transform.isIdentity){var fr=this.ctx.transform.applyToPoint(new T(Pe,bt));Pe=fr.x,bt=fr.y;var Er=this.ctx.transform.applyToPoint(new T(0,Bt)),Lr=this.ctx.transform.applyToPoint(new T(0,0));Bt=Math.sqrt(Math.pow(Er.x-Lr.x,2)+Math.pow(Er.y-Lr.y,2))}Math.abs(Jt-ht)>=2*Math.PI&&(ht=0,Jt=2*Math.PI),this.path.push({type:"arc",x:Pe,y:bt,radius:Bt,startAngle:ht,endAngle:Jt,counterclockwise:dr})},jt.prototype.arcTo=function(Pe,bt,Bt,ht,Jt){throw new Error("arcTo not implemented.")},jt.prototype.rect=function(Pe,bt,Bt,ht){if(isNaN(Pe)||isNaN(bt)||isNaN(Bt)||isNaN(ht))throw _.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Pe,bt),this.lineTo(Pe+Bt,bt),this.lineTo(Pe+Bt,bt+ht),this.lineTo(Pe,bt+ht),this.lineTo(Pe,bt),this.lineTo(Pe+Bt,bt),this.lineTo(Pe,bt)},jt.prototype.fillRect=function(Pe,bt,Bt,ht){if(isNaN(Pe)||isNaN(bt)||isNaN(Bt)||isNaN(ht))throw _.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ve.call(this)){var Jt={};this.lineCap!=="butt"&&(Jt.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Jt.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Pe,bt,Bt,ht),this.fill(),Jt.hasOwnProperty("lineCap")&&(this.lineCap=Jt.lineCap),Jt.hasOwnProperty("lineJoin")&&(this.lineJoin=Jt.lineJoin)}},jt.prototype.strokeRect=function(Pe,bt,Bt,ht){if(isNaN(Pe)||isNaN(bt)||isNaN(Bt)||isNaN(ht))throw _.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");kt.call(this)||(this.beginPath(),this.rect(Pe,bt,Bt,ht),this.stroke())},jt.prototype.clearRect=function(Pe,bt,Bt,ht){if(isNaN(Pe)||isNaN(bt)||isNaN(Bt)||isNaN(ht))throw _.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Pe,bt,Bt,ht))},jt.prototype.save=function(Pe){Pe=typeof Pe!="boolean"||Pe;for(var bt=this.pdf.internal.getCurrentPageInfo().pageNumber,Bt=0;Bt<this.pdf.internal.getNumberOfPages();Bt++)this.pdf.setPage(Bt+1),this.pdf.internal.out("q");if(this.pdf.setPage(bt),Pe){this.ctx.fontSize=this.pdf.internal.getFontSize();var ht=new st(this.ctx);this.ctxStack.push(this.ctx),this.ctx=ht}},jt.prototype.restore=function(Pe){Pe=typeof Pe!="boolean"||Pe;for(var bt=this.pdf.internal.getCurrentPageInfo().pageNumber,Bt=0;Bt<this.pdf.internal.getNumberOfPages();Bt++)this.pdf.setPage(Bt+1),this.pdf.internal.out("Q");this.pdf.setPage(bt),Pe&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},jt.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var At=function(Pe){var bt,Bt,ht,Jt;if(Pe.isCanvasGradient===!0&&(Pe=Pe.getColor()),!Pe)return{r:0,g:0,b:0,a:0,style:Pe};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(Pe))bt=0,Bt=0,ht=0,Jt=0;else{var dr=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(Pe);if(dr!==null)bt=parseInt(dr[1]),Bt=parseInt(dr[2]),ht=parseInt(dr[3]),Jt=1;else if((dr=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(Pe))!==null)bt=parseInt(dr[1]),Bt=parseInt(dr[2]),ht=parseInt(dr[3]),Jt=parseFloat(dr[4]);else{if(Jt=1,typeof Pe=="string"&&Pe.charAt(0)!=="#"){var fr=new F(Pe);Pe=fr.ok?fr.toHex():"#000000"}Pe.length===4?(bt=Pe.substring(1,2),bt+=bt,Bt=Pe.substring(2,3),Bt+=Bt,ht=Pe.substring(3,4),ht+=ht):(bt=Pe.substring(1,3),Bt=Pe.substring(3,5),ht=Pe.substring(5,7)),bt=parseInt(bt,16),Bt=parseInt(Bt,16),ht=parseInt(ht,16)}}return{r:bt,g:Bt,b:ht,a:Jt,style:Pe}},ve=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},kt=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};jt.prototype.fillText=function(Pe,bt,Bt,ht){if(isNaN(bt)||isNaN(Bt)||typeof Pe!="string")throw _.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(ht=isNaN(ht)?void 0:ht,!ve.call(this)){var Jt=Tt(this.ctx.transform.rotation),dr=this.ctx.transform.scaleX;ze.call(this,{text:Pe,x:bt,y:Bt,scale:dr,angle:Jt,align:this.textAlign,maxWidth:ht})}},jt.prototype.strokeText=function(Pe,bt,Bt,ht){if(isNaN(bt)||isNaN(Bt)||typeof Pe!="string")throw _.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!kt.call(this)){ht=isNaN(ht)?void 0:ht;var Jt=Tt(this.ctx.transform.rotation),dr=this.ctx.transform.scaleX;ze.call(this,{text:Pe,x:bt,y:Bt,scale:dr,renderingMode:"stroke",angle:Jt,align:this.textAlign,maxWidth:ht})}},jt.prototype.measureText=function(Pe){if(typeof Pe!="string")throw _.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var bt=this.pdf,Bt=this.pdf.internal.scaleFactor,ht=bt.internal.getFontSize(),Jt=bt.getStringUnitWidth(Pe)*ht/bt.internal.scaleFactor;return new function(dr){var fr=(dr=dr||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return fr}}),this}({width:Jt*=Math.round(96*Bt/72*1e4)/1e4})},jt.prototype.scale=function(Pe,bt){if(isNaN(Pe)||isNaN(bt))throw _.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var Bt=new re(Pe,0,0,bt,0,0);this.ctx.transform=this.ctx.transform.multiply(Bt)},jt.prototype.rotate=function(Pe){if(isNaN(Pe))throw _.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var bt=new re(Math.cos(Pe),Math.sin(Pe),-Math.sin(Pe),Math.cos(Pe),0,0);this.ctx.transform=this.ctx.transform.multiply(bt)},jt.prototype.translate=function(Pe,bt){if(isNaN(Pe)||isNaN(bt))throw _.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var Bt=new re(1,0,0,1,Pe,bt);this.ctx.transform=this.ctx.transform.multiply(Bt)},jt.prototype.transform=function(Pe,bt,Bt,ht,Jt,dr){if(isNaN(Pe)||isNaN(bt)||isNaN(Bt)||isNaN(ht)||isNaN(Jt)||isNaN(dr))throw _.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var fr=new re(Pe,bt,Bt,ht,Jt,dr);this.ctx.transform=this.ctx.transform.multiply(fr)},jt.prototype.setTransform=function(Pe,bt,Bt,ht,Jt,dr){Pe=isNaN(Pe)?1:Pe,bt=isNaN(bt)?0:bt,Bt=isNaN(Bt)?0:Bt,ht=isNaN(ht)?1:ht,Jt=isNaN(Jt)?0:Jt,dr=isNaN(dr)?0:dr,this.ctx.transform=new re(Pe,bt,Bt,ht,Jt,dr)};var Ge=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};jt.prototype.drawImage=function(Pe,bt,Bt,ht,Jt,dr,fr,Er,Lr){var Rr=this.pdf.getImageProperties(Pe),cn=1,wn=1,Mr=1,Lt=1;ht!==void 0&&Er!==void 0&&(Mr=Er/ht,Lt=Lr/Jt,cn=Rr.width/ht*Er/ht,wn=Rr.height/Jt*Lr/Jt),dr===void 0&&(dr=bt,fr=Bt,bt=0,Bt=0),ht!==void 0&&Er===void 0&&(Er=ht,Lr=Jt),ht===void 0&&Er===void 0&&(Er=Rr.width,Lr=Rr.height);for(var ba,da=this.ctx.transform.decompose(),Hn=Tt(da.rotate.shx),an=new re,dn=(an=(an=(an=an.multiply(da.translate)).multiply(da.skew)).multiply(da.scale)).applyToRectangle(new Z(dr-bt*Mr,fr-Bt*Lt,ht*cn,Jt*wn)),Gr=Zt.call(this,dn),sa=[],Vn=0;Vn<Gr.length;Vn+=1)sa.indexOf(Gr[Vn])===-1&&sa.push(Gr[Vn]);if(yr(sa),this.autoPaging)for(var xa=sa[0],Xn=sa[sa.length-1],la=xa;la<Xn+1;la++){this.pdf.setPage(la);var La=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],na=la===1?this.posY+this.margin[0]:this.margin[0],kn=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],aa=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Fn=la===1?0:kn+(la-2)*aa;if(this.ctx.clip_path.length!==0){var Ln=this.path;ba=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=ar(ba,this.posX+this.margin[3],-Fn+na+this.ctx.prevPageLastElemOffset),at.call(this,"fill",!0),this.path=Ln}var _n=JSON.parse(JSON.stringify(dn));_n=ar([_n],this.posX+this.margin[3],-Fn+na+this.ctx.prevPageLastElemOffset)[0];var Qr=(la>xa||la<Xn)&&Ge.call(this);Qr&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],La,aa,null).clip().discardPath()),this.pdf.addImage(Pe,"JPEG",_n.x,_n.y,_n.w,_n.h,null,null,Hn),Qr&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(Pe,"JPEG",dn.x,dn.y,dn.w,dn.h,null,null,Hn)};var Zt=function(Pe,bt,Bt){var ht=[];bt=bt||this.pdf.internal.pageSize.width,Bt=Bt||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var Jt=this.posY+this.ctx.prevPageLastElemOffset;switch(Pe.type){default:case"mt":case"lt":ht.push(Math.floor((Pe.y+Jt)/Bt)+1);break;case"arc":ht.push(Math.floor((Pe.y+Jt-Pe.radius)/Bt)+1),ht.push(Math.floor((Pe.y+Jt+Pe.radius)/Bt)+1);break;case"qct":var dr=ir(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Pe.x1,Pe.y1,Pe.x,Pe.y);ht.push(Math.floor((dr.y+Jt)/Bt)+1),ht.push(Math.floor((dr.y+dr.h+Jt)/Bt)+1);break;case"bct":var fr=Zr(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Pe.x1,Pe.y1,Pe.x2,Pe.y2,Pe.x,Pe.y);ht.push(Math.floor((fr.y+Jt)/Bt)+1),ht.push(Math.floor((fr.y+fr.h+Jt)/Bt)+1);break;case"rect":ht.push(Math.floor((Pe.y+Jt)/Bt)+1),ht.push(Math.floor((Pe.y+Pe.h+Jt)/Bt)+1)}for(var Er=0;Er<ht.length;Er+=1)for(;this.pdf.internal.getNumberOfPages()<ht[Er];)gt.call(this);return ht},gt=function(){var Pe=this.fillStyle,bt=this.strokeStyle,Bt=this.font,ht=this.lineCap,Jt=this.lineWidth,dr=this.lineJoin;this.pdf.addPage(),this.fillStyle=Pe,this.strokeStyle=bt,this.font=Bt,this.lineCap=ht,this.lineWidth=Jt,this.lineJoin=dr},ar=function(Pe,bt,Bt){for(var ht=0;ht<Pe.length;ht++)switch(Pe[ht].type){case"bct":Pe[ht].x2+=bt,Pe[ht].y2+=Bt;case"qct":Pe[ht].x1+=bt,Pe[ht].y1+=Bt;default:Pe[ht].x+=bt,Pe[ht].y+=Bt}return Pe},yr=function(Pe){return Pe.sort(function(bt,Bt){return bt-Bt})},Qt=function(Pe,bt){for(var Bt,ht,Jt=this.fillStyle,dr=this.strokeStyle,fr=this.lineCap,Er=this.lineWidth,Lr=Math.abs(Er*this.ctx.transform.scaleX),Rr=this.lineJoin,cn=JSON.parse(JSON.stringify(this.path)),wn=JSON.parse(JSON.stringify(this.path)),Mr=[],Lt=0;Lt<wn.length;Lt++)if(wn[Lt].x!==void 0)for(var ba=Zt.call(this,wn[Lt]),da=0;da<ba.length;da+=1)Mr.indexOf(ba[da])===-1&&Mr.push(ba[da]);for(var Hn=0;Hn<Mr.length;Hn++)for(;this.pdf.internal.getNumberOfPages()<Mr[Hn];)gt.call(this);if(yr(Mr),this.autoPaging)for(var an=Mr[0],dn=Mr[Mr.length-1],Gr=an;Gr<dn+1;Gr++){this.pdf.setPage(Gr),this.fillStyle=Jt,this.strokeStyle=dr,this.lineCap=fr,this.lineWidth=Lr,this.lineJoin=Rr;var sa=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Vn=Gr===1?this.posY+this.margin[0]:this.margin[0],xa=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Xn=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],la=Gr===1?0:xa+(Gr-2)*Xn;if(this.ctx.clip_path.length!==0){var La=this.path;Bt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=ar(Bt,this.posX+this.margin[3],-la+Vn+this.ctx.prevPageLastElemOffset),at.call(this,Pe,!0),this.path=La}if(ht=JSON.parse(JSON.stringify(cn)),this.path=ar(ht,this.posX+this.margin[3],-la+Vn+this.ctx.prevPageLastElemOffset),bt===!1||Gr===0){var na=(Gr>an||Gr<dn)&&Ge.call(this);na&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],sa,Xn,null).clip().discardPath()),at.call(this,Pe,bt),na&&this.pdf.restoreGraphicsState()}this.lineWidth=Er}else this.lineWidth=Lr,at.call(this,Pe,bt),this.lineWidth=Er;this.path=cn},at=function(Pe,bt){if((Pe!=="stroke"||bt||!kt.call(this))&&(Pe==="stroke"||bt||!ve.call(this))){for(var Bt,ht,Jt=[],dr=this.path,fr=0;fr<dr.length;fr++){var Er=dr[fr];switch(Er.type){case"begin":Jt.push({begin:!0});break;case"close":Jt.push({close:!0});break;case"mt":Jt.push({start:Er,deltas:[],abs:[]});break;case"lt":var Lr=Jt.length;if(dr[fr-1]&&!isNaN(dr[fr-1].x)&&(Bt=[Er.x-dr[fr-1].x,Er.y-dr[fr-1].y],Lr>0)){for(;Lr>=0;Lr--)if(Jt[Lr-1].close!==!0&&Jt[Lr-1].begin!==!0){Jt[Lr-1].deltas.push(Bt),Jt[Lr-1].abs.push(Er);break}}break;case"bct":Bt=[Er.x1-dr[fr-1].x,Er.y1-dr[fr-1].y,Er.x2-dr[fr-1].x,Er.y2-dr[fr-1].y,Er.x-dr[fr-1].x,Er.y-dr[fr-1].y],Jt[Jt.length-1].deltas.push(Bt);break;case"qct":var Rr=dr[fr-1].x+2/3*(Er.x1-dr[fr-1].x),cn=dr[fr-1].y+2/3*(Er.y1-dr[fr-1].y),wn=Er.x+2/3*(Er.x1-Er.x),Mr=Er.y+2/3*(Er.y1-Er.y),Lt=Er.x,ba=Er.y;Bt=[Rr-dr[fr-1].x,cn-dr[fr-1].y,wn-dr[fr-1].x,Mr-dr[fr-1].y,Lt-dr[fr-1].x,ba-dr[fr-1].y],Jt[Jt.length-1].deltas.push(Bt);break;case"arc":Jt.push({deltas:[],abs:[],arc:!0}),Array.isArray(Jt[Jt.length-1].abs)&&Jt[Jt.length-1].abs.push(Er)}}ht=bt?null:Pe==="stroke"?"stroke":"fill";for(var da=!1,Hn=0;Hn<Jt.length;Hn++)if(Jt[Hn].arc)for(var an=Jt[Hn].abs,dn=0;dn<an.length;dn++){var Gr=an[dn];Gr.type==="arc"?Mt.call(this,Gr.x,Gr.y,Gr.radius,Gr.startAngle,Gr.endAngle,Gr.counterclockwise,void 0,bt,!da):wt.call(this,Gr.x,Gr.y),da=!0}else if(Jt[Hn].close===!0)this.pdf.internal.out("h"),da=!1;else if(Jt[Hn].begin!==!0){var sa=Jt[Hn].start.x,Vn=Jt[Hn].start.y;ut.call(this,Jt[Hn].deltas,sa,Vn),da=!0}ht&&Ot.call(this,ht),bt&&qt.call(this)}},Ce=function(Pe){var bt=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,Bt=bt*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return Pe-Bt;case"top":return Pe+bt-Bt;case"hanging":return Pe+bt-2*Bt;case"middle":return Pe+bt/2-Bt;default:return Pe}},Vt=function(Pe){return Pe+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};jt.prototype.createLinearGradient=function(){var Pe=function(){};return Pe.colorStops=[],Pe.addColorStop=function(bt,Bt){this.colorStops.push([bt,Bt])},Pe.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},Pe.isCanvasGradient=!0,Pe},jt.prototype.createPattern=function(){return this.createLinearGradient()},jt.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Mt=function(Pe,bt,Bt,ht,Jt,dr,fr,Er,Lr){for(var Rr=gr.call(this,Bt,ht,Jt,dr),cn=0;cn<Rr.length;cn++){var wn=Rr[cn];cn===0&&(Lr?We.call(this,wn.x1+Pe,wn.y1+bt):wt.call(this,wn.x1+Pe,wn.y1+bt)),cr.call(this,Pe,bt,wn.x2,wn.y2,wn.x3,wn.y3,wn.x4,wn.y4)}Er?qt.call(this):Ot.call(this,fr)},Ot=function(Pe){switch(Pe){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},qt=function(){this.pdf.clip(),this.pdf.discardPath()},We=function(Pe,bt){this.pdf.internal.out(p(Pe)+" "+b(bt)+" m")},ze=function(Pe){var bt;switch(Pe.align){case"right":case"end":bt="right";break;case"center":bt="center";break;default:bt="left"}var Bt=this.pdf.getTextDimensions(Pe.text),ht=Ce.call(this,Pe.y),Jt=Vt.call(this,ht)-Bt.h,dr=this.ctx.transform.applyToPoint(new T(Pe.x,ht)),fr=this.ctx.transform.decompose(),Er=new re;Er=(Er=(Er=Er.multiply(fr.translate)).multiply(fr.skew)).multiply(fr.scale);for(var Lr,Rr,cn,wn=this.ctx.transform.applyToRectangle(new Z(Pe.x,ht,Bt.w,Bt.h)),Mr=Er.applyToRectangle(new Z(Pe.x,Jt,Bt.w,Bt.h)),Lt=Zt.call(this,Mr),ba=[],da=0;da<Lt.length;da+=1)ba.indexOf(Lt[da])===-1&&ba.push(Lt[da]);if(yr(ba),this.autoPaging)for(var Hn=ba[0],an=ba[ba.length-1],dn=Hn;dn<an+1;dn++){this.pdf.setPage(dn);var Gr=dn===1?this.posY+this.margin[0]:this.margin[0],sa=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Vn=this.pdf.internal.pageSize.height-this.margin[2],xa=Vn-this.margin[0],Xn=this.pdf.internal.pageSize.width-this.margin[1],la=Xn-this.margin[3],La=dn===1?0:sa+(dn-2)*xa;if(this.ctx.clip_path.length!==0){var na=this.path;Lr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=ar(Lr,this.posX+this.margin[3],-1*La+Gr),at.call(this,"fill",!0),this.path=na}var kn=ar([JSON.parse(JSON.stringify(Mr))],this.posX+this.margin[3],-La+Gr+this.ctx.prevPageLastElemOffset)[0];Pe.scale>=.01&&(Rr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Rr*Pe.scale),cn=this.lineWidth,this.lineWidth=cn*Pe.scale);var aa=this.autoPaging!=="text";if(aa||kn.y+kn.h<=Vn){if(aa||kn.y>=Gr&&kn.x<=Xn){var Fn=aa?Pe.text:this.pdf.splitTextToSize(Pe.text,Pe.maxWidth||Xn-kn.x)[0],Ln=ar([JSON.parse(JSON.stringify(wn))],this.posX+this.margin[3],-La+Gr+this.ctx.prevPageLastElemOffset)[0],_n=aa&&(dn>Hn||dn<an)&&Ge.call(this);_n&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],la,xa,null).clip().discardPath()),this.pdf.text(Fn,Ln.x,Ln.y,{angle:Pe.angle,align:bt,renderingMode:Pe.renderingMode}),_n&&this.pdf.restoreGraphicsState()}}else kn.y<Vn&&(this.ctx.prevPageLastElemOffset+=Vn-kn.y);Pe.scale>=.01&&(this.pdf.setFontSize(Rr),this.lineWidth=cn)}else Pe.scale>=.01&&(Rr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Rr*Pe.scale),cn=this.lineWidth,this.lineWidth=cn*Pe.scale),this.pdf.text(Pe.text,dr.x+this.posX,dr.y+this.posY,{angle:Pe.angle,align:bt,renderingMode:Pe.renderingMode,maxWidth:Pe.maxWidth}),Pe.scale>=.01&&(this.pdf.setFontSize(Rr),this.lineWidth=cn)},wt=function(Pe,bt,Bt,ht){Bt=Bt||0,ht=ht||0,this.pdf.internal.out(p(Pe+Bt)+" "+b(bt+ht)+" l")},ut=function(Pe,bt,Bt){return this.pdf.lines(Pe,bt,Bt,null,null)},cr=function(Pe,bt,Bt,ht,Jt,dr,fr,Er){this.pdf.internal.out([s(A(Bt+Pe)),s(v(ht+bt)),s(A(Jt+Pe)),s(v(dr+bt)),s(A(fr+Pe)),s(v(Er+bt)),"c"].join(" "))},gr=function(Pe,bt,Bt,ht){for(var Jt=2*Math.PI,dr=Math.PI/2;bt>Bt;)bt-=Jt;var fr=Math.abs(Bt-bt);fr<Jt&&ht&&(fr=Jt-fr);for(var Er=[],Lr=ht?-1:1,Rr=bt;fr>1e-5;){var cn=Rr+Lr*Math.min(fr,dr);Er.push(_t.call(this,Pe,Rr,cn)),fr-=Math.abs(cn-Rr),Rr=cn}return Er},_t=function(Pe,bt,Bt){var ht=(Bt-bt)/2,Jt=Pe*Math.cos(ht),dr=Pe*Math.sin(ht),fr=Jt,Er=-dr,Lr=fr*fr+Er*Er,Rr=Lr+fr*Jt+Er*dr,cn=4/3*(Math.sqrt(2*Lr*Rr)-Rr)/(fr*dr-Er*Jt),wn=fr-cn*Er,Mr=Er+cn*fr,Lt=wn,ba=-Mr,da=ht+bt,Hn=Math.cos(da),an=Math.sin(da);return{x1:Pe*Math.cos(bt),y1:Pe*Math.sin(bt),x2:wn*Hn-Mr*an,y2:wn*an+Mr*Hn,x3:Lt*Hn-ba*an,y3:Lt*an+ba*Hn,x4:Pe*Math.cos(Bt),y4:Pe*Math.sin(Bt)}},Tt=function(Pe){return 180*Pe/Math.PI},ir=function(Pe,bt,Bt,ht,Jt,dr){var fr=Pe+.5*(Bt-Pe),Er=bt+.5*(ht-bt),Lr=Jt+.5*(Bt-Jt),Rr=dr+.5*(ht-dr),cn=Math.min(Pe,Jt,fr,Lr),wn=Math.max(Pe,Jt,fr,Lr),Mr=Math.min(bt,dr,Er,Rr),Lt=Math.max(bt,dr,Er,Rr);return new Z(cn,Mr,wn-cn,Lt-Mr)},Zr=function(Pe,bt,Bt,ht,Jt,dr,fr,Er){var Lr,Rr,cn,wn,Mr,Lt,ba,da,Hn,an,dn,Gr,sa,Vn,xa=Bt-Pe,Xn=ht-bt,la=Jt-Bt,La=dr-ht,na=fr-Jt,kn=Er-dr;for(Rr=0;Rr<41;Rr++)Hn=(ba=(cn=Pe+(Lr=Rr/40)*xa)+Lr*((Mr=Bt+Lr*la)-cn))+Lr*(Mr+Lr*(Jt+Lr*na-Mr)-ba),an=(da=(wn=bt+Lr*Xn)+Lr*((Lt=ht+Lr*La)-wn))+Lr*(Lt+Lr*(dr+Lr*kn-Lt)-da),Rr==0?(dn=Hn,Gr=an,sa=Hn,Vn=an):(dn=Math.min(dn,Hn),Gr=Math.min(Gr,an),sa=Math.max(sa,Hn),Vn=Math.max(Vn,an));return new Z(Math.round(dn),Math.round(Gr),Math.round(sa-dn),Math.round(Vn-Gr))},Wt=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Pe,bt,Bt=(Pe=this.ctx.lineDash,bt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Pe,lineDashOffset:bt}));this.prevLineDash!==Bt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Bt)}}})(z.API),function(f){var s=function(T){var Z,re,Ae,st,jt,At,ve,kt,Ge,Zt;for(/[^\x00-\xFF]/.test(T),re=[],Ae=0,st=(T+=Z="\0\0\0\0".slice(T.length%4||4)).length;st>Ae;Ae+=4)(jt=(T.charCodeAt(Ae)<<24)+(T.charCodeAt(Ae+1)<<16)+(T.charCodeAt(Ae+2)<<8)+T.charCodeAt(Ae+3))!==0?(At=(jt=((jt=((jt=((jt=(jt-(Zt=jt%85))/85)-(Ge=jt%85))/85)-(kt=jt%85))/85)-(ve=jt%85))/85)%85,re.push(At+33,ve+33,kt+33,Ge+33,Zt+33)):re.push(122);return function(gt,ar){for(var yr=ar;yr>0;yr--)gt.pop()}(re,Z.length),String.fromCharCode.apply(String,re)+"~>"},p=function(T){var Z,re,Ae,st,jt,At=String,ve="length",kt=255,Ge="charCodeAt",Zt="slice",gt="replace";for(T[Zt](-2),T=T[Zt](0,-2)[gt](/\s/g,"")[gt]("z","!!!!!"),Ae=[],st=0,jt=(T+=Z="uuuuu"[Zt](T[ve]%5||5))[ve];jt>st;st+=5)re=52200625*(T[Ge](st)-33)+614125*(T[Ge](st+1)-33)+7225*(T[Ge](st+2)-33)+85*(T[Ge](st+3)-33)+(T[Ge](st+4)-33),Ae.push(kt&re>>24,kt&re>>16,kt&re>>8,kt&re);return function(ar,yr){for(var Qt=yr;Qt>0;Qt--)ar.pop()}(Ae,Z[ve]),At.fromCharCode.apply(At,Ae)},b=function(T){return T.split("").map(function(Z){return("0"+Z.charCodeAt().toString(16)).slice(-2)}).join("")+">"},A=function(T){var Z=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((T=T.replace(/\s/g,"")).indexOf(">")!==-1&&(T=T.substr(0,T.indexOf(">"))),T.length%2&&(T+="0"),Z.test(T)===!1)return"";for(var re="",Ae=0;Ae<T.length;Ae+=2)re+=String.fromCharCode("0x"+(T[Ae]+T[Ae+1]));return re},v=function(T){for(var Z=new Uint8Array(T.length),re=T.length;re--;)Z[re]=T.charCodeAt(re);return(Z=(0,qe.iZ)(Z)).reduce(function(Ae,st){return Ae+String.fromCharCode(st)},"")};f.processDataByFilters=function(T,Z){var re=0,Ae=T||"",st=[];for(typeof(Z=Z||[])=="string"&&(Z=[Z]),re=0;re<Z.length;re+=1)switch(Z[re]){case"ASCII85Decode":case"/ASCII85Decode":Ae=p(Ae),st.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":Ae=s(Ae),st.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":Ae=A(Ae),st.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":Ae=b(Ae),st.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":Ae=v(Ae),st.push("/FlateDecode");break;default:throw new Error('The filter: "'+Z[re]+'" is not implemented')}return{data:Ae,reverseChain:st.reverse().join(" ")}}}(z.API),function(f){f.loadFile=function(s,p,b){return function(A,v,T){v=v!==!1,T=typeof T=="function"?T:function(){};var Z=void 0;try{Z=function(re,Ae,st){var jt=new XMLHttpRequest,At=0,ve=function(kt){var Ge=kt.length,Zt=[],gt=String.fromCharCode;for(At=0;At<Ge;At+=1)Zt.push(gt(255&kt.charCodeAt(At)));return Zt.join("")};if(jt.open("GET",re,!Ae),jt.overrideMimeType("text/plain; charset=x-user-defined"),Ae===!1&&(jt.onload=function(){jt.status===200?st(ve(this.responseText)):st(void 0)}),jt.send(null),Ae&&jt.status===200)return ve(jt.responseText)}(A,v,T)}catch(re){}return Z}(s,p,b)},f.loadImageFile=f.loadFile}(z.API),function(f){function s(){return(q.html2canvas?Promise.resolve(q.html2canvas):Promise.resolve().then(n.t.bind(n,64270,23))).catch(function(Z){return Promise.reject(new Error("Could not load html2canvas: "+Z))}).then(function(Z){return Z.default?Z.default:Z})}function p(){return(q.DOMPurify?Promise.resolve(q.DOMPurify):n.e(4038).then(n.bind(n,94038))).catch(function(Z){return Promise.reject(new Error("Could not load dompurify: "+Z))}).then(function(Z){return Z.default?Z.default:Z})}var b=function(Z){var re=(0,o.Z)(Z);return re==="undefined"?"undefined":re==="string"||Z instanceof String?"string":re==="number"||Z instanceof Number?"number":re==="function"||Z instanceof Function?"function":Z&&Z.constructor===Array?"array":Z&&Z.nodeType===1?"element":re==="object"?"object":"unknown"},A=function(Z,re){var Ae=document.createElement(Z);for(var st in re.className&&(Ae.className=re.className),re.innerHTML&&re.dompurify&&(Ae.innerHTML=re.dompurify.sanitize(re.innerHTML)),re.style)Ae.style[st]=re.style[st];return Ae},v=function Z(re,Ae){for(var st=re.nodeType===3?document.createTextNode(re.nodeValue):re.cloneNode(!1),jt=re.firstChild;jt;jt=jt.nextSibling)Ae!==!0&&jt.nodeType===1&&jt.nodeName==="SCRIPT"||st.appendChild(Z(jt,Ae));return re.nodeType===1&&(re.nodeName==="CANVAS"?(st.width=re.width,st.height=re.height,st.getContext("2d").drawImage(re,0,0)):re.nodeName!=="TEXTAREA"&&re.nodeName!=="SELECT"||(st.value=re.value),st.addEventListener("load",function(){st.scrollTop=re.scrollTop,st.scrollLeft=re.scrollLeft},!0)),st},T=function Z(re){var Ae=Object.assign(Z.convert(Promise.resolve()),JSON.parse(JSON.stringify(Z.template))),st=Z.convert(Promise.resolve(),Ae);return(st=st.setProgress(1,Z,1,[Z])).set(re)};(T.prototype=Object.create(Promise.prototype)).constructor=T,T.convert=function(Z,re){return Z.__proto__=re||T.prototype,Z},T.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"}},T.prototype.from=function(Z,re){return this.then(function(){switch(re=re||function(Ae){switch(b(Ae)){case"string":return"string";case"element":return Ae.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(Z),re){case"string":return this.then(p).then(function(Ae){return this.set({src:A("div",{innerHTML:Z,dompurify:Ae})})});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.")}})},T.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.")}},T.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},re=v(this.prop.src,this.opt.html2canvas.javascriptEnabled);re.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=A("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=A("div",{className:"html2pdf__container",style:Z}),this.prop.container.appendChild(re),this.prop.container.firstChild.appendChild(A("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"})},T.prototype.toCanvas=function(){var Z=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Z).then(s).then(function(re){var Ae=Object.assign({},this.opt.html2canvas);return delete Ae.onrendered,re(this.prop.container,Ae)}).then(function(re){(this.opt.html2canvas.onrendered||function(){})(re),this.prop.canvas=re,document.body.removeChild(this.prop.overlay)})},T.prototype.toContext2d=function(){var Z=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Z).then(s).then(function(re){var Ae=this.opt.jsPDF,st=this.opt.fontFaces,jt=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,At=Object.assign({async:!0,allowTaint:!0,scale:jt,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 At.onrendered,Ae.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,Ae.context2d.posX=this.opt.x,Ae.context2d.posY=this.opt.y,Ae.context2d.margin=this.opt.margin,Ae.context2d.fontFaces=st,st)for(var ve=0;ve<st.length;++ve){var kt=st[ve],Ge=kt.src.find(function(Zt){return Zt.format==="truetype"});Ge&&Ae.addFont(Ge.url,kt.ref.name,kt.ref.style)}return At.windowHeight=At.windowHeight||0,At.windowHeight=At.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):At.windowHeight,Ae.context2d.save(!0),re(this.prop.container,At)}).then(function(re){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(re),this.prop.canvas=re,document.body.removeChild(this.prop.overlay)})},T.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})},T.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},T.prototype.output=function(Z,re,Ae){return(Ae=Ae||"pdf").toLowerCase()==="img"||Ae.toLowerCase()==="image"?this.outputImg(Z,re):this.outputPdf(Z,re)},T.prototype.outputPdf=function(Z,re){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(Z,re)})},T.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.'}})},T.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)})},T.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},T.prototype.set=function(Z){if(b(Z)!=="object")return this;var re=Object.keys(Z||{}).map(function(Ae){if(Ae in T.template.prop)return function(){this.prop[Ae]=Z[Ae]};switch(Ae){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[Ae]=Z[Ae]}}},this);return this.then(function(){return this.thenList(re)})},T.prototype.get=function(Z,re){return this.then(function(){var Ae=Z in T.template.prop?this.prop[Z]:this.opt[Z];return re?re(Ae):Ae})},T.prototype.setMargin=function(Z){return this.then(function(){switch(b(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)},T.prototype.setPageSize=function(Z){function re(Ae,st){return Math.floor(Ae*st/72*96)}return this.then(function(){(Z=Z||z.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:re(Z.inner.width,Z.k),height:re(Z.inner.height,Z.k)},Z.inner.ratio=Z.inner.height/Z.inner.width),this.prop.pageSize=Z})},T.prototype.setProgress=function(Z,re,Ae,st){return Z!=null&&(this.progress.val=Z),re!=null&&(this.progress.state=re),Ae!=null&&(this.progress.n=Ae),st!=null&&(this.progress.stack=st),this.progress.ratio=this.progress.val/this.progress.state,this},T.prototype.updateProgress=function(Z,re,Ae,st){return this.setProgress(Z?this.progress.val+Z:null,re||null,Ae?this.progress.n+Ae:null,st?this.progress.stack.concat(st):null)},T.prototype.then=function(Z,re){var Ae=this;return this.thenCore(Z,re,function(st,jt){return Ae.updateProgress(null,null,1,[st]),Promise.prototype.then.call(this,function(At){return Ae.updateProgress(null,st),At}).then(st,jt).then(function(At){return Ae.updateProgress(1),At})})},T.prototype.thenCore=function(Z,re,Ae){Ae=Ae||Promise.prototype.then;var st=this;Z&&(Z=Z.bind(st)),re&&(re=re.bind(st));var jt=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?st:T.convert(Object.assign({},st),Promise.prototype),At=Ae.call(jt,Z,re);return T.convert(At,st.__proto__)},T.prototype.thenExternal=function(Z,re){return Promise.prototype.then.call(this,Z,re)},T.prototype.thenList=function(Z){var re=this;return Z.forEach(function(Ae){re=re.thenCore(Ae)}),re},T.prototype.catch=function(Z){Z&&(Z=Z.bind(this));var re=Promise.prototype.catch.call(this,Z);return T.convert(re,this)},T.prototype.catchExternal=function(Z){return Promise.prototype.catch.call(this,Z)},T.prototype.error=function(Z){return this.then(function(){throw new Error(Z)})},T.prototype.using=T.prototype.set,T.prototype.saveAs=T.prototype.save,T.prototype.export=T.prototype.output,T.prototype.run=T.prototype.then,z.getPageSize=function(Z,re,Ae){if((0,o.Z)(Z)==="object"){var st=Z;Z=st.orientation,re=st.unit||re,Ae=st.format||Ae}re=re||"mm",Ae=Ae||"a4",Z=(""+(Z||"P")).toLowerCase();var jt,At=(""+Ae).toLowerCase(),ve={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(re){case"pt":jt=1;break;case"mm":jt=72/25.4;break;case"cm":jt=72/2.54;break;case"in":jt=72;break;case"px":jt=.75;break;case"pc":case"em":jt=12;break;case"ex":jt=6;break;default:throw"Invalid unit: "+re}var kt,Ge=0,Zt=0;if(ve.hasOwnProperty(At))Ge=ve[At][1]/jt,Zt=ve[At][0]/jt;else try{Ge=Ae[1],Zt=Ae[0]}catch(gt){throw new Error("Invalid format: "+Ae)}if(Z==="p"||Z==="portrait")Z="p",Zt>Ge&&(kt=Zt,Zt=Ge,Ge=kt);else{if(Z!=="l"&&Z!=="landscape")throw"Invalid orientation: "+Z;Z="l",Ge>Zt&&(kt=Zt,Zt=Ge,Ge=kt)}return{width:Zt,height:Ge,unit:re,k:jt,orientation:Z}},f.html=function(Z,re){(re=re||{}).callback=re.callback||function(){},re.html2canvas=re.html2canvas||{},re.html2canvas.canvas=re.html2canvas.canvas||this.canvas,re.jsPDF=re.jsPDF||this,re.fontFaces=re.fontFaces?re.fontFaces.map(br):null;var Ae=new T(re);return re.worker?Ae:Ae.from(Z).doCallback()}}(z.API),z.API.addJS=function(f){return Ur=f,this.internal.events.subscribe("postPutResources",function(){mt=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(mt+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Ut=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Ur+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){mt!==void 0&&Ut!==void 0&&this.internal.out("/Names <</JavaScript "+mt+" 0 R>>")}),this},function(f){var s;f.events.push(["postPutResources",function(){var p=this,b=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var A=p.outline.render().split(/\r\n/),v=0;v<A.length;v++){var T=A[v],Z=b.exec(T);if(Z!=null){var re=Z[1];p.internal.newObjectDeferredBegin(re,!1)}p.internal.write(T)}if(this.outline.createNamedDestinations){var Ae=this.internal.pages.length,st=[];for(v=0;v<Ae;v++){var jt=p.internal.newObject();st.push(jt);var At=p.internal.getPageInfo(v+1);p.internal.write("<< /D["+At.objId+" 0 R /XYZ null null null]>> endobj")}var ve=p.internal.newObject();for(p.internal.write("<< /Names [ "),v=0;v<st.length;v++)p.internal.write("(page_"+(v+1)+")"+st[v]+" 0 R");p.internal.write(" ] >>","endobj"),s=p.internal.newObject(),p.internal.write("<< /Dests "+ve+" 0 R"),p.internal.write(">>","endobj")}}]),f.events.push(["putCatalog",function(){var p=this;p.outline.root.children.length>0&&(p.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&p.internal.write("/Names "+s+" 0 R"))}]),f.events.push(["initialized",function(){var p=this;p.outline={createNamedDestinations:!1,root:{children:[]}},p.outline.add=function(b,A,v){var T={title:A,options:v,children:[]};return b==null&&(b=this.root),b.children.push(T),T},p.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=p,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},p.outline.genIds_r=function(b){b.id=p.internal.newObjectDeferred();for(var A=0;A<b.children.length;A++)this.genIds_r(b.children[A])},p.outline.renderRoot=function(b){this.objStart(b),this.line("/Type /Outlines"),b.children.length>0&&(this.line("/First "+this.makeRef(b.children[0])),this.line("/Last "+this.makeRef(b.children[b.children.length-1]))),this.line("/Count "+this.count_r({count:0},b)),this.objEnd()},p.outline.renderItems=function(b){for(var A=this.ctx.pdf.internal.getVerticalCoordinateString,v=0;v<b.children.length;v++){var T=b.children[v];this.objStart(T),this.line("/Title "+this.makeString(T.title)),this.line("/Parent "+this.makeRef(b)),v>0&&this.line("/Prev "+this.makeRef(b.children[v-1])),v<b.children.length-1&&this.line("/Next "+this.makeRef(b.children[v+1])),T.children.length>0&&(this.line("/First "+this.makeRef(T.children[0])),this.line("/Last "+this.makeRef(T.children[T.children.length-1])));var Z=this.count=this.count_r({count:0},T);if(Z>0&&this.line("/Count "+Z),T.options&&T.options.pageNumber){var re=p.internal.getPageInfo(T.options.pageNumber);this.line("/Dest ["+re.objId+" 0 R /XYZ 0 "+A(0)+" 0]")}this.objEnd()}for(var Ae=0;Ae<b.children.length;Ae++)this.renderItems(b.children[Ae])},p.outline.line=function(b){this.ctx.val+=b+`\r
|
|
|
`},p.outline.makeRef=function(b){return b.id+" 0 R"},p.outline.makeString=function(b){return"("+p.internal.pdfEscape(b)+")"},p.outline.objStart=function(b){this.ctx.val+=`\r
|
|
|
`+b.id+` 0 obj\r
|
|
|
<<\r
|
|
|
`},p.outline.objEnd=function(){this.ctx.val+=`>> \r
|
|
|
endobj\r
|
|
|
`},p.outline.count_r=function(b,A){for(var v=0;v<A.children.length;v++)b.count++,this.count_r(b,A.children[v]);return b.count}}])}(z.API),function(f){var s=[192,193,194,195,196,197,198,199];f.processJPEG=function(p,b,A,v,T,Z){var re,Ae=this.decode.DCT_DECODE,st=null;if(typeof p=="string"||this.__addimage__.isArrayBuffer(p)||this.__addimage__.isArrayBufferView(p)){switch(p=T||p,p=this.__addimage__.isArrayBuffer(p)?new Uint8Array(p):p,re=function(jt){for(var At,ve=256*jt.charCodeAt(4)+jt.charCodeAt(5),kt=jt.length,Ge={width:0,height:0,numcomponents:1},Zt=4;Zt<kt;Zt+=2){if(Zt+=ve,s.indexOf(jt.charCodeAt(Zt+1))!==-1){At=256*jt.charCodeAt(Zt+5)+jt.charCodeAt(Zt+6),Ge={width:256*jt.charCodeAt(Zt+7)+jt.charCodeAt(Zt+8),height:At,numcomponents:jt.charCodeAt(Zt+9)};break}ve=256*jt.charCodeAt(Zt+2)+jt.charCodeAt(Zt+3)}return Ge}(p=this.__addimage__.isArrayBufferView(p)?this.__addimage__.arrayBufferToBinaryString(p):p),re.numcomponents){case 1:Z=this.color_spaces.DEVICE_GRAY;break;case 4:Z=this.color_spaces.DEVICE_CMYK;break;case 3:Z=this.color_spaces.DEVICE_RGB}st={data:p,width:re.width,height:re.height,colorSpace:Z,bitsPerComponent:8,filter:Ae,index:b,alias:A}}return st}}(z.API),z.API.processPNG=function(f,s,p,b){if(this.__addimage__.isArrayBuffer(f)&&(f=new Uint8Array(f)),this.__addimage__.isArrayBufferView(f)){var A,v=(0,Re.Jx)(f,{checkCrc:!0}),T=v.width,Z=v.height,re=v.channels,Ae=v.palette,st=v.depth;A=Ae&&re===1?function(Mt){for(var Ot=Mt.width,qt=Mt.height,We=Mt.data,ze=Mt.palette,wt=Mt.depth,ut=!1,cr=[],gr=[],_t=void 0,Tt=!1,ir=0,Zr=0;Zr<ze.length;Zr++){var Wt=(0,L.Z)(ze[Zr],4),Pe=Wt[0],bt=Wt[1],Bt=Wt[2],ht=Wt[3];cr.push(Pe,bt,Bt),ht!=null&&(ht===0?(ir++,gr.length<1&&gr.push(Zr)):ht<255&&(Tt=!0))}if(Tt||ir>1){ut=!0,gr=void 0;var Jt=Ot*qt;_t=new Uint8Array(Jt);for(var dr=new DataView(We.buffer),fr=0;fr<Jt;fr++){var Er=or(dr,fr,wt),Lr=(0,L.Z)(ze[Er],4)[3];_t[fr]=Lr}}else ir===0&&(gr=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:ut?8:void 0,colorBytes:We,alphaBytes:_t,needSMask:ut,palette:cr,mask:gr}}(v):re===2||re===4?function(Mt){for(var Ot=Mt.data,qt=Mt.width,We=Mt.height,ze=Mt.channels,wt=Mt.depth,ut=ze===2?"DeviceGray":"DeviceRGB",cr=ze-1,gr=qt*We,_t=cr,Tt=gr*_t,ir=1*gr,Zr=Math.ceil(Tt*wt/8),Wt=Math.ceil(ir*wt/8),Pe=new Uint8Array(Zr),bt=new Uint8Array(Wt),Bt=new DataView(Ot.buffer),ht=new DataView(Pe.buffer),Jt=new DataView(bt.buffer),dr=!1,fr=0;fr<gr;fr++){for(var Er=fr*ze,Lr=0;Lr<_t;Lr++)jr(ht,or(Bt,Er+Lr,wt),fr*_t+Lr,wt);var Rr=or(Bt,Er+_t,wt);Rr<(1<<wt)-1&&(dr=!0),jr(Jt,Rr,1*fr,wt)}return{colorSpace:ut,colorsPerPixel:cr,sMaskBitsPerComponent:dr?wt:void 0,colorBytes:Pe,alphaBytes:bt,needSMask:dr}}(v):function(Mt){var Ot=Mt.data,qt=Mt.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:qt,colorsPerPixel:qt==="DeviceGray"?1:3,colorBytes:Ot instanceof Uint16Array?function(We){for(var ze=We.length,wt=new Uint8Array(2*ze),ut=new DataView(wt.buffer,wt.byteOffset,wt.byteLength),cr=0;cr<ze;cr++)ut.setUint16(2*cr,We[cr],!1);return wt}(Ot):Ot,needSMask:!1}}(v);var jt,At,ve,kt=A,Ge=kt.colorSpace,Zt=kt.colorsPerPixel,gt=kt.sMaskBitsPerComponent,ar=kt.colorBytes,yr=kt.alphaBytes,Qt=kt.needSMask,at=kt.palette,Ce=kt.mask,Vt=null;return b!==z.API.image_compression.NONE&&typeof qe.iZ=="function"?(Vt=function(Mt){var Ot;switch(Mt){case z.API.image_compression.FAST:Ot=11;break;case z.API.image_compression.MEDIUM:Ot=13;break;case z.API.image_compression.SLOW:Ot=14;break;default:Ot=12}return Ot}(b),jt=this.decode.FLATE_DECODE,At="/Predictor ".concat(Vt," /Colors ").concat(Zt," /BitsPerComponent ").concat(st," /Columns ").concat(T),f=et(ar,Math.ceil(T*Zt*st/8),Zt,st,b),Qt&&(ve=et(yr,Math.ceil(T*gt/8),1,gt,b))):(jt=void 0,At=void 0,f=ar,Qt&&(ve=yr)),(this.__addimage__.isArrayBuffer(f)||this.__addimage__.isArrayBufferView(f))&&(f=this.__addimage__.arrayBufferToBinaryString(f)),(ve&&this.__addimage__.isArrayBuffer(ve)||this.__addimage__.isArrayBufferView(ve))&&(ve=this.__addimage__.arrayBufferToBinaryString(ve)),{alias:p,data:f,index:s,filter:jt,decodeParameters:At,transparency:Ce,palette:at,sMask:ve,predictor:Vt,width:T,height:Z,bitsPerComponent:st,sMaskBitsPerComponent:gt,colorSpace:Ge}}},function(f){f.processGIF89A=function(s,p,b,A){var v=new Wr(s),T=v.width,Z=v.height,re=[];v.decodeAndBlitFrameRGBA(0,re);var Ae={data:re,width:T,height:Z},st=new nn(100).encode(Ae,100);return f.processJPEG.call(this,st,p,b,A)},f.processGIF87A=f.processGIF89A}(z.API),sn.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var f=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(f);for(var s=0;s<f;s++){var p=this.datav.getUint8(this.pos++,!0),b=this.datav.getUint8(this.pos++,!0),A=this.datav.getUint8(this.pos++,!0),v=this.datav.getUint8(this.pos++,!0);this.palette[s]={red:A,green:b,blue:p,quad:v}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},sn.prototype.parseBGR=function(){this.pos=this.offset;try{var f="bit"+this.bitPP,s=this.width*this.height*4;this.data=new Uint8Array(s),this[f]()}catch(p){_.log("bit decode error:"+p)}},sn.prototype.bit1=function(){var f,s=Math.ceil(this.width/8),p=s%4;for(f=this.height-1;f>=0;f--){for(var b=this.bottom_up?f:this.height-1-f,A=0;A<s;A++)for(var v=this.datav.getUint8(this.pos++,!0),T=b*this.width*4+8*A*4,Z=0;Z<8&&8*A+Z<this.width;Z++){var re=this.palette[v>>7-Z&1];this.data[T+4*Z]=re.blue,this.data[T+4*Z+1]=re.green,this.data[T+4*Z+2]=re.red,this.data[T+4*Z+3]=255}p!==0&&(this.pos+=4-p)}},sn.prototype.bit4=function(){for(var f=Math.ceil(this.width/2),s=f%4,p=this.height-1;p>=0;p--){for(var b=this.bottom_up?p:this.height-1-p,A=0;A<f;A++){var v=this.datav.getUint8(this.pos++,!0),T=b*this.width*4+2*A*4,Z=v>>4,re=15&v,Ae=this.palette[Z];if(this.data[T]=Ae.blue,this.data[T+1]=Ae.green,this.data[T+2]=Ae.red,this.data[T+3]=255,2*A+1>=this.width)break;Ae=this.palette[re],this.data[T+4]=Ae.blue,this.data[T+4+1]=Ae.green,this.data[T+4+2]=Ae.red,this.data[T+4+3]=255}s!==0&&(this.pos+=4-s)}},sn.prototype.bit8=function(){for(var f=this.width%4,s=this.height-1;s>=0;s--){for(var p=this.bottom_up?s:this.height-1-s,b=0;b<this.width;b++){var A=this.datav.getUint8(this.pos++,!0),v=p*this.width*4+4*b;if(A<this.palette.length){var T=this.palette[A];this.data[v]=T.red,this.data[v+1]=T.green,this.data[v+2]=T.blue,this.data[v+3]=255}else this.data[v]=255,this.data[v+1]=255,this.data[v+2]=255,this.data[v+3]=255}f!==0&&(this.pos+=4-f)}},sn.prototype.bit15=function(){for(var f=this.width%3,s=parseInt("11111",2),p=this.height-1;p>=0;p--){for(var b=this.bottom_up?p:this.height-1-p,A=0;A<this.width;A++){var v=this.datav.getUint16(this.pos,!0);this.pos+=2;var T=(v&s)/s*255|0,Z=(v>>5&s)/s*255|0,re=(v>>10&s)/s*255|0,Ae=v>>15?255:0,st=b*this.width*4+4*A;this.data[st]=re,this.data[st+1]=Z,this.data[st+2]=T,this.data[st+3]=Ae}this.pos+=f}},sn.prototype.bit16=function(){for(var f=this.width%3,s=parseInt("11111",2),p=parseInt("111111",2),b=this.height-1;b>=0;b--){for(var A=this.bottom_up?b:this.height-1-b,v=0;v<this.width;v++){var T=this.datav.getUint16(this.pos,!0);this.pos+=2;var Z=(T&s)/s*255|0,re=(T>>5&p)/p*255|0,Ae=(T>>11)/s*255|0,st=A*this.width*4+4*v;this.data[st]=Ae,this.data[st+1]=re,this.data[st+2]=Z,this.data[st+3]=255}this.pos+=f}},sn.prototype.bit24=function(){for(var f=this.height-1;f>=0;f--){for(var s=this.bottom_up?f:this.height-1-f,p=0;p<this.width;p++){var b=this.datav.getUint8(this.pos++,!0),A=this.datav.getUint8(this.pos++,!0),v=this.datav.getUint8(this.pos++,!0),T=s*this.width*4+4*p;this.data[T]=v,this.data[T+1]=A,this.data[T+2]=b,this.data[T+3]=255}this.pos+=this.width%4}},sn.prototype.bit32=function(){for(var f=this.height-1;f>=0;f--)for(var s=this.bottom_up?f:this.height-1-f,p=0;p<this.width;p++){var b=this.datav.getUint8(this.pos++,!0),A=this.datav.getUint8(this.pos++,!0),v=this.datav.getUint8(this.pos++,!0),T=this.datav.getUint8(this.pos++,!0),Z=s*this.width*4+4*p;this.data[Z]=v,this.data[Z+1]=A,this.data[Z+2]=b,this.data[Z+3]=T}},sn.prototype.getData=function(){return this.data},function(f){f.processBMP=function(s,p,b,A){var v=new sn(s,!1),T=v.width,Z=v.height,re={data:v.getData(),width:T,height:Z},Ae=new nn(100).encode(re,100);return f.processJPEG.call(this,Ae,p,b,A)}}(z.API),$n.prototype.getData=function(){return this.data},function(f){f.processWEBP=function(s,p,b,A){var v=new $n(s),T=v.width,Z=v.height,re={data:v.getData(),width:T,height:Z},Ae=new nn(100).encode(re,100);return f.processJPEG.call(this,Ae,p,b,A)}}(z.API),z.API.processRGBA=function(f,s,p){for(var b=f.data,A=b.length,v=new Uint8Array(A/4*3),T=new Uint8Array(A/4),Z=0,re=0,Ae=0;Ae<A;Ae+=4){var st=b[Ae],jt=b[Ae+1],At=b[Ae+2],ve=b[Ae+3];v[Z++]=st,v[Z++]=jt,v[Z++]=At,T[re++]=ve}var kt=this.__addimage__.arrayBufferToBinaryString(v);return{alpha:this.__addimage__.arrayBufferToBinaryString(T),data:kt,index:s,alias:p,colorSpace:"DeviceRGB",bitsPerComponent:8,width:f.width,height:f.height}},z.API.setLanguage=function(f){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[f]!==void 0&&(this.internal.languageSettings.languageCode=f,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},Pr=z.API,Jr=Pr.getCharWidthsArray=function(f,s){var p,b,A=(s=s||{}).font||this.internal.getFont(),v=s.fontSize||this.internal.getFontSize(),T=s.charSpace||this.internal.getCharSpace(),Z=s.widths?s.widths:A.metadata.Unicode.widths,re=Z.fof?Z.fof:1,Ae=s.kerning?s.kerning:A.metadata.Unicode.kerning,st=Ae.fof?Ae.fof:1,jt=s.doKerning!==!1,At=0,ve=f.length,kt=0,Ge=Z[0]||re,Zt=[];for(p=0;p<ve;p++)b=f.charCodeAt(p),typeof A.metadata.widthOfString=="function"?Zt.push((A.metadata.widthOfGlyph(A.metadata.characterToGlyph(b))+T*(1e3/v)||0)/1e3):(At=jt&&(0,o.Z)(Ae[b])==="object"&&!isNaN(parseInt(Ae[b][kt],10))?Ae[b][kt]/st:0,Zt.push((Z[b]||Ge)/re+At)),kt=b;return Zt},gn=Pr.getStringUnitWidth=function(f,s){var p=(s=s||{}).fontSize||this.internal.getFontSize(),b=s.font||this.internal.getFont(),A=s.charSpace||this.internal.getCharSpace();return Pr.processArabic&&(f=Pr.processArabic(f)),typeof b.metadata.widthOfString=="function"?b.metadata.widthOfString(f,p,A)/p:Jr.apply(this,arguments).reduce(function(v,T){return v+T},0)},Jn=function(f,s,p,b){for(var A=[],v=0,T=f.length,Z=0;v!==T&&Z+s[v]<p;)Z+=s[v],v++;A.push(f.slice(0,v));var re=v;for(Z=0;v!==T;)Z+s[v]>b&&(A.push(f.slice(re,v)),Z=0,re=v),Z+=s[v],v++;return re!==v&&A.push(f.slice(re,v)),A},ge=function(f,s,p){p||(p={});var b,A,v,T,Z,re,Ae,st=[],jt=[st],At=p.textIndent||0,ve=0,kt=0,Ge=f.split(" "),Zt=Jr.apply(this,[" ",p])[0];if(re=p.lineIndent===-1?Ge[0].length+2:p.lineIndent||0){var gt=Array(re).join(" "),ar=[];Ge.map(function(Qt){(Qt=Qt.split(/\s*\n/)).length>1?ar=ar.concat(Qt.map(function(at,Ce){return(Ce&&at.length?`
|
|
|
`:"")+at})):ar.push(Qt[0])}),Ge=ar,re=gn.apply(this,[gt,p])}for(v=0,T=Ge.length;v<T;v++){var yr=0;if(b=Ge[v],re&&b[0]==`
|
|
|
`&&(b=b.substr(1),yr=1),At+ve+(kt=(A=Jr.apply(this,[b,p])).reduce(function(Qt,at){return Qt+at},0))>s||yr){if(kt>s){for(Z=Jn.apply(this,[b,A,s-(At+ve),s]),st.push(Z.shift()),st=[Z.pop()];Z.length;)jt.push([Z.shift()]);kt=A.slice(b.length-(st[0]?st[0].length:0)).reduce(function(Qt,at){return Qt+at},0)}else st=[b];jt.push(st),At=kt+re,ve=Zt}else st.push(b),At+=ve+kt,ve=Zt}return Ae=re?function(Qt,at){return(at?gt:"")+Qt.join(" ")}:function(Qt){return Qt.join(" ")},jt.map(Ae)},Pr.splitTextToSize=function(f,s,p){var b,A=(p=p||{}).fontSize||this.internal.getFontSize(),v=function(st){if(st.widths&&st.kerning)return{widths:st.widths,kerning:st.kerning};var jt=this.internal.getFont(st.fontName,st.fontStyle),At="Unicode";return jt.metadata[At]?{widths:jt.metadata[At].widths||{0:1},kerning:jt.metadata[At].kerning||{}}:{font:jt.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,p);b=Array.isArray(f)?f:String(f).split(/\r?\n/);var T=1*this.internal.scaleFactor*s/A;v.textIndent=p.textIndent?1*p.textIndent*this.internal.scaleFactor/A:0,v.lineIndent=p.lineIndent;var Z,re,Ae=[];for(Z=0,re=b.length;Z<re;Z++)Ae=Ae.concat(ge.apply(this,[b[Z],T,v]));return Ae},function(f){f.__fontmetrics__=f.__fontmetrics__||{};for(var s="0123456789abcdef",p="klmnopqrstuvwxyz",b={},A={},v=0;v<16;v++)b[p[v]]=s[v],A[s[v]]=p[v];var T=function(At){return"0x"+parseInt(At,10).toString(16)},Z=f.__fontmetrics__.compress=function(At){var ve,kt,Ge,Zt,gt=["{"];for(var ar in At){if(ve=At[ar],isNaN(parseInt(ar,10))?kt="'"+ar+"'":(ar=parseInt(ar,10),kt=(kt=T(ar).slice(2)).slice(0,-1)+A[kt.slice(-1)]),typeof ve=="number")ve<0?(Ge=T(ve).slice(3),Zt="-"):(Ge=T(ve).slice(2),Zt=""),Ge=Zt+Ge.slice(0,-1)+A[Ge.slice(-1)];else{if((0,o.Z)(ve)!=="object")throw new Error("Don't know what to do with value type "+(0,o.Z)(ve)+".");Ge=Z(ve)}gt.push(kt+Ge)}return gt.push("}"),gt.join("")},re=f.__fontmetrics__.uncompress=function(At){if(typeof At!="string")throw new Error("Invalid argument passed to uncompress.");for(var ve,kt,Ge,Zt,gt={},ar=1,yr=gt,Qt=[],at="",Ce="",Vt=At.length-1,Mt=1;Mt<Vt;Mt+=1)(Zt=At[Mt])=="'"?ve?(Ge=ve.join(""),ve=void 0):ve=[]:ve?ve.push(Zt):Zt=="{"?(Qt.push([yr,Ge]),yr={},Ge=void 0):Zt=="}"?((kt=Qt.pop())[0][kt[1]]=yr,Ge=void 0,yr=kt[0]):Zt=="-"?ar=-1:Ge===void 0?b.hasOwnProperty(Zt)?(at+=b[Zt],Ge=parseInt(at,16)*ar,ar=1,at=""):at+=Zt:b.hasOwnProperty(Zt)?(Ce+=b[Zt],yr[Ge]=parseInt(Ce,16)*ar,ar=1,Ge=void 0,Ce=""):Ce+=Zt;return gt},Ae={codePages:["WinAnsiEncoding"],WinAnsiEncoding:re("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},st={Unicode:{Courier:Ae,"Courier-Bold":Ae,"Courier-BoldOblique":Ae,"Courier-Oblique":Ae,Helvetica:Ae,"Helvetica-Bold":Ae,"Helvetica-BoldOblique":Ae,"Helvetica-Oblique":Ae,"Times-Roman":Ae,"Times-Bold":Ae,"Times-BoldItalic":Ae,"Times-Italic":Ae}},jt={Unicode:{"Courier-Oblique":re("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":re("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":re("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:re("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":re("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":re("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:re("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:re("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":re("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:re("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":re("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":re("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":re("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":re("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};f.events.push(["addFont",function(At){var ve=At.font,kt=jt.Unicode[ve.postScriptName];kt&&(ve.metadata.Unicode={},ve.metadata.Unicode.widths=kt.widths,ve.metadata.Unicode.kerning=kt.kerning);var Ge=st.Unicode[ve.postScriptName];Ge&&(ve.metadata.Unicode.encoding=Ge,ve.encoding=Ge.codePages[0])}])}(z.API),function(f){var s=function(p){for(var b=p.length,A=new Uint8Array(b),v=0;v<b;v++)A[v]=p.charCodeAt(v);return A};f.API.events.push(["addFont",function(p){var b=void 0,A=p.font,v=p.instance;if(!A.isStandardFont){if(v===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+A.postScriptName+"').");if(typeof(b=v.existsFileInVFS(A.postScriptName)===!1?v.loadFile(A.postScriptName):v.getFileFromVFS(A.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+A.postScriptName+"').");(function(T,Z){Z=/^\x00\x01\x00\x00/.test(Z)?s(Z):s(K(Z)),T.metadata=f.API.TTFFont.open(Z),T.metadata.Unicode=T.metadata.Unicode||{encoding:{},kerning:{},widths:[]},T.metadata.glyIdsUsed=[0]})(A,b)}}])}(z),z.API.addSvgAsImage=function(f,s,p,b,A,v,T,Z){if(isNaN(s)||isNaN(p))throw _.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(b)||isNaN(A))throw _.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var re=document.createElement("canvas");re.width=b,re.height=A;var Ae=re.getContext("2d");Ae.fillStyle="#fff",Ae.fillRect(0,0,re.width,re.height);var st={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},jt=this;return(q.canvg?Promise.resolve(q.canvg):n.e(3754).then(n.bind(n,63754))).catch(function(At){return Promise.reject(new Error("Could not load canvg: "+At))}).then(function(At){return At.default?At.default:At}).then(function(At){return At.fromString(Ae,f,st)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(At){return At.render(st)}).then(function(){jt.addImage(re.toDataURL("image/jpeg",1),s,p,b,A,T,Z)})},z.API.putTotalPages=function(f){var s,p=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(s=new RegExp(f,"g"),p=this.internal.getNumberOfPages()):(s=new RegExp(this.pdfEscape16(f,this.internal.getFont()),"g"),p=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var b=1;b<=this.internal.getNumberOfPages();b++)for(var A=0;A<this.internal.pages[b].length;A++)this.internal.pages[b][A]=this.internal.pages[b][A].replace(s,p);return this},z.API.viewerPreferences=function(f,s){var p;f=f||{},s=s||!1;var b,A,v,T={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}},Z=Object.keys(T),re=[],Ae=0,st=0,jt=0;function At(kt,Ge){var Zt,gt=!1;for(Zt=0;Zt<kt.length;Zt+=1)kt[Zt]===Ge&&(gt=!0);return gt}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(T)),this.internal.viewerpreferences.isSubscribed=!1),p=this.internal.viewerpreferences.configuration,f==="reset"||s===!0){var ve=Z.length;for(jt=0;jt<ve;jt+=1)p[Z[jt]].value=p[Z[jt]].defaultValue,p[Z[jt]].explicitSet=!1}if((0,o.Z)(f)==="object"){for(A in f)if(v=f[A],At(Z,A)&&v!==void 0){if(p[A].type==="boolean"&&typeof v=="boolean")p[A].value=v;else if(p[A].type==="name"&&At(p[A].valueSet,v))p[A].value=v;else if(p[A].type==="integer"&&Number.isInteger(v))p[A].value=v;else if(p[A].type==="array"){for(Ae=0;Ae<v.length;Ae+=1)if(b=!0,v[Ae].length===1&&typeof v[Ae][0]=="number")re.push(String(v[Ae]-1));else if(v[Ae].length>1){for(st=0;st<v[Ae].length;st+=1)typeof v[Ae][st]!="number"&&(b=!1);b===!0&&re.push([v[Ae][0]-1,v[Ae][1]-1].join(" "))}p[A].value="["+re.join(" ")+"]"}else p[A].value=p[A].defaultValue;p[A].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var kt,Ge=[];for(kt in p)p[kt].explicitSet===!0&&(p[kt].type==="name"?Ge.push("/"+kt+" /"+p[kt].value):Ge.push("/"+kt+" "+p[kt].value));Ge.length!==0&&this.internal.write(`/ViewerPreferences
|
|
|
<<
|
|
|
`+Ge.join(`
|
|
|
`)+`
|
|
|
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=p,this},function(f){var s=function(){var b='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',A=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),v=unescape(encodeURIComponent(b)),T=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),Z=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),re=unescape(encodeURIComponent("</x:xmpmeta>")),Ae=v.length+T.length+Z.length+A.length+re.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Ae+" >>"),this.internal.write("stream"),this.internal.write(A+v+T+Z+re),this.internal.write("endstream"),this.internal.write("endobj")},p=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};f.addMetadata=function(b,A){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:b,namespaceuri:A||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",p),this.internal.events.subscribe("postPutResources",s)),this}}(z.API),function(f){var s=f.API,p=s.pdfEscape16=function(v,T){for(var Z,re=T.metadata.Unicode.widths,Ae=["","0","00","000","0000"],st=[""],jt=0,At=v.length;jt<At;++jt){if(Z=T.metadata.characterToGlyph(v.charCodeAt(jt)),T.metadata.glyIdsUsed.push(Z),T.metadata.toUnicode[Z]=v.charCodeAt(jt),re.indexOf(Z)==-1&&(re.push(Z),re.push([parseInt(T.metadata.widthOfGlyph(Z),10)])),Z=="0")return st.join("");Z=Z.toString(16),st.push(Ae[4-Z.length],Z)}return st.join("")},b=function(v){var T,Z,re,Ae,st,jt,At;for(st=`/CIDInit /ProcSet findresource begin
|
|
|
12 dict begin
|
|
|
begincmap
|
|
|
/CIDSystemInfo <<
|
|
|
/Registry (Adobe)
|
|
|
/Ordering (UCS)
|
|
|
/Supplement 0
|
|
|
>> def
|
|
|
/CMapName /Adobe-Identity-UCS def
|
|
|
/CMapType 2 def
|
|
|
1 begincodespacerange
|
|
|
<0000><ffff>
|
|
|
endcodespacerange`,re=[],jt=0,At=(Z=Object.keys(v).sort(function(ve,kt){return ve-kt})).length;jt<At;jt++)T=Z[jt],re.length>=100&&(st+=`
|
|
|
`+re.length+` beginbfchar
|
|
|
`+re.join(`
|
|
|
`)+`
|
|
|
endbfchar`,re=[]),v[T]!==void 0&&v[T]!==null&&typeof v[T].toString=="function"&&(Ae=("0000"+v[T].toString(16)).slice(-4),T=("0000"+(+T).toString(16)).slice(-4),re.push("<"+T+"><"+Ae+">"));return re.length&&(st+=`
|
|
|
`+re.length+` beginbfchar
|
|
|
`+re.join(`
|
|
|
`)+`
|
|
|
endbfchar
|
|
|
`),st+`endcmap
|
|
|
CMapName currentdict /CMap defineresource pop
|
|
|
end
|
|
|
end`};s.events.push(["putFont",function(v){(function(T){var Z=T.font,re=T.out,Ae=T.newObject,st=T.putStream;if(Z.metadata instanceof f.API.TTFFont&&Z.encoding==="Identity-H"){for(var jt=Z.metadata.Unicode.widths,At=Z.metadata.subset.encode(Z.metadata.glyIdsUsed,1),ve="",kt=0;kt<At.length;kt++)ve+=String.fromCharCode(At[kt]);var Ge=Ae();st({data:ve,addLength1:!0,objectId:Ge}),re("endobj");var Zt=Ae();st({data:b(Z.metadata.toUnicode),addLength1:!0,objectId:Zt}),re("endobj");var gt=Ae();re("<<"),re("/Type /FontDescriptor"),re("/FontName /"+I(Z.fontName)),re("/FontFile2 "+Ge+" 0 R"),re("/FontBBox "+f.API.PDFObject.convert(Z.metadata.bbox)),re("/Flags "+Z.metadata.flags),re("/StemV "+Z.metadata.stemV),re("/ItalicAngle "+Z.metadata.italicAngle),re("/Ascent "+Z.metadata.ascender),re("/Descent "+Z.metadata.decender),re("/CapHeight "+Z.metadata.capHeight),re(">>"),re("endobj");var ar=Ae();re("<<"),re("/Type /Font"),re("/BaseFont /"+I(Z.fontName)),re("/FontDescriptor "+gt+" 0 R"),re("/W "+f.API.PDFObject.convert(jt)),re("/CIDToGIDMap /Identity"),re("/DW 1000"),re("/Subtype /CIDFontType2"),re("/CIDSystemInfo"),re("<<"),re("/Supplement 0"),re("/Registry (Adobe)"),re("/Ordering ("+Z.encoding+")"),re(">>"),re(">>"),re("endobj"),Z.objectNumber=Ae(),re("<<"),re("/Type /Font"),re("/Subtype /Type0"),re("/ToUnicode "+Zt+" 0 R"),re("/BaseFont /"+I(Z.fontName)),re("/Encoding /"+Z.encoding),re("/DescendantFonts ["+ar+" 0 R]"),re(">>"),re("endobj"),Z.isAlreadyPutted=!0}})(v)}]),s.events.push(["putFont",function(v){(function(T){var Z=T.font,re=T.out,Ae=T.newObject,st=T.putStream;if(Z.metadata instanceof f.API.TTFFont&&Z.encoding==="WinAnsiEncoding"){for(var jt=Z.metadata.rawData,At="",ve=0;ve<jt.length;ve++)At+=String.fromCharCode(jt[ve]);var kt=Ae();st({data:At,addLength1:!0,objectId:kt}),re("endobj");var Ge=Ae();st({data:b(Z.metadata.toUnicode),addLength1:!0,objectId:Ge}),re("endobj");var Zt=Ae();re("<<"),re("/Descent "+Z.metadata.decender),re("/CapHeight "+Z.metadata.capHeight),re("/StemV "+Z.metadata.stemV),re("/Type /FontDescriptor"),re("/FontFile2 "+kt+" 0 R"),re("/Flags 96"),re("/FontBBox "+f.API.PDFObject.convert(Z.metadata.bbox)),re("/FontName /"+I(Z.fontName)),re("/ItalicAngle "+Z.metadata.italicAngle),re("/Ascent "+Z.metadata.ascender),re(">>"),re("endobj"),Z.objectNumber=Ae();for(var gt=0;gt<Z.metadata.hmtx.widths.length;gt++)Z.metadata.hmtx.widths[gt]=parseInt(Z.metadata.hmtx.widths[gt]*(1e3/Z.metadata.head.unitsPerEm));re("<</Subtype/TrueType/Type/Font/ToUnicode "+Ge+" 0 R/BaseFont/"+I(Z.fontName)+"/FontDescriptor "+Zt+" 0 R/Encoding/"+Z.encoding+" /FirstChar 29 /LastChar 255 /Widths "+f.API.PDFObject.convert(Z.metadata.hmtx.widths)+">>"),re("endobj"),Z.isAlreadyPutted=!0}})(v)}]);var A=function(v){var T,Z=v.text||"",re=v.x,Ae=v.y,st=v.options||{},jt=v.mutex||{},At=jt.pdfEscape,ve=jt.activeFontKey,kt=jt.fonts,Ge=ve,Zt="",gt=0,ar="",yr=kt[Ge].encoding;if(kt[Ge].encoding!=="Identity-H")return{text:Z,x:re,y:Ae,options:st,mutex:jt};for(ar=Z,Ge=ve,Array.isArray(Z)&&(ar=Z[0]),gt=0;gt<ar.length;gt+=1)kt[Ge].metadata.hasOwnProperty("cmap")&&(T=kt[Ge].metadata.cmap.unicode.codeMap[ar[gt].charCodeAt(0)]),T||ar[gt].charCodeAt(0)<256&&kt[Ge].metadata.hasOwnProperty("Unicode")?Zt+=ar[gt]:Zt+="";var Qt="";return parseInt(Ge.slice(1))<14||yr==="WinAnsiEncoding"?Qt=At(Zt,Ge).split("").map(function(at){return at.charCodeAt(0).toString(16)}).join(""):yr==="Identity-H"&&(Qt=p(Zt,kt[Ge])),jt.isHex=!0,{text:Qt,x:re,y:Ae,options:st,mutex:jt}};s.events.push(["postProcessText",function(v){var T=v.text||"",Z=[],re={text:T,x:v.x,y:v.y,options:v.options,mutex:v.mutex};if(Array.isArray(T)){var Ae=0;for(Ae=0;Ae<T.length;Ae+=1)Array.isArray(T[Ae])&&T[Ae].length===3?Z.push([A(Object.assign({},re,{text:T[Ae][0]})).text,T[Ae][1],T[Ae][2]]):Z.push(A(Object.assign({},re,{text:T[Ae]})).text);v.text=Z}else v.text=A(Object.assign({},re,{text:T})).text}])}(z),function(f){var s=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};f.existsFileInVFS=function(p){return s.call(this),this.internal.vFS[p]!==void 0},f.addFileToVFS=function(p,b){return s.call(this),this.internal.vFS[p]=b,this},f.getFileFromVFS=function(p){return s.call(this),this.internal.vFS[p]!==void 0?this.internal.vFS[p]:null}}(z.API),function(f){f.__bidiEngine__=f.prototype.__bidiEngine__=function(b){var A,v,T,Z,re,Ae,st,jt=s,At=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],ve=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],kt={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},Ge={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Zt=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],gt=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)$/),ar=!1,yr=0;this.__bidiEngine__={};var Qt=function(We){var ze=We.charCodeAt(),wt=ze>>8,ut=Ge[wt];return ut!==void 0?jt[256*ut+(255&ze)]:wt===252||wt===253?"AL":gt.test(wt)?"L":wt===8?"R":"N"},at=function(We){for(var ze,wt=0;wt<We.length;wt++){if((ze=Qt(We.charAt(wt)))==="L")return!1;if(ze==="R")return!0}return!1},Ce=function(We,ze,wt,ut){var cr,gr,_t,Tt,ir=ze[ut];switch(ir){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":ar=!1;break;case"N":case"AN":break;case"EN":ar&&(ir="AN");break;case"AL":ar=!0,ir="R";break;case"WS":case"BN":ir="N";break;case"CS":ut<1||ut+1>=ze.length||(cr=wt[ut-1])!=="EN"&&cr!=="AN"||(gr=ze[ut+1])!=="EN"&&gr!=="AN"?ir="N":ar&&(gr="AN"),ir=gr===cr?gr:"N";break;case"ES":ir=(cr=ut>0?wt[ut-1]:"B")==="EN"&&ut+1<ze.length&&ze[ut+1]==="EN"?"EN":"N";break;case"ET":if(ut>0&&wt[ut-1]==="EN"){ir="EN";break}if(ar){ir="N";break}for(_t=ut+1,Tt=ze.length;_t<Tt&&ze[_t]==="ET";)_t++;ir=_t<Tt&&ze[_t]==="EN"?"EN":"N";break;case"NSM":if(T&&!Z){for(Tt=ze.length,_t=ut+1;_t<Tt&&ze[_t]==="NSM";)_t++;if(_t<Tt){var Zr=We[ut],Wt=Zr>=1425&&Zr<=2303||Zr===64286;if(cr=ze[_t],Wt&&(cr==="R"||cr==="AL")){ir="R";break}}}ir=ut<1||(cr=ze[ut-1])==="B"?"N":wt[ut-1];break;case"B":ar=!1,A=!0,ir=yr;break;case"S":v=!0,ir="N"}return ir},Vt=function(We,ze,wt){var ut=We.split("");return wt&&Mt(ut,wt,{hiLevel:yr}),ut.reverse(),ze&&ze.reverse(),ut.join("")},Mt=function(We,ze,wt){var ut,cr,gr,_t,Tt,ir=-1,Zr=We.length,Wt=0,Pe=[],bt=yr?ve:At,Bt=[];for(ar=!1,A=!1,v=!1,cr=0;cr<Zr;cr++)Bt[cr]=Qt(We[cr]);for(gr=0;gr<Zr;gr++){if(Tt=Wt,Pe[gr]=Ce(We,Bt,Pe,gr),ut=240&(Wt=bt[Tt][kt[Pe[gr]]]),Wt&=15,ze[gr]=_t=bt[Wt][5],ut>0)if(ut===16){for(cr=ir;cr<gr;cr++)ze[cr]=1;ir=-1}else ir=-1;if(bt[Wt][6])ir===-1&&(ir=gr);else if(ir>-1){for(cr=ir;cr<gr;cr++)ze[cr]=_t;ir=-1}Bt[gr]==="B"&&(ze[gr]=0),wt.hiLevel|=_t}v&&function(ht,Jt,dr){for(var fr=0;fr<dr;fr++)if(ht[fr]==="S"){Jt[fr]=yr;for(var Er=fr-1;Er>=0&&ht[Er]==="WS";Er--)Jt[Er]=yr}}(Bt,ze,Zr)},Ot=function(We,ze,wt,ut,cr){if(!(cr.hiLevel<We)){if(We===1&&yr===1&&!A)return ze.reverse(),void(wt&&wt.reverse());for(var gr,_t,Tt,ir,Zr=ze.length,Wt=0;Wt<Zr;){if(ut[Wt]>=We){for(Tt=Wt+1;Tt<Zr&&ut[Tt]>=We;)Tt++;for(ir=Wt,_t=Tt-1;ir<_t;ir++,_t--)gr=ze[ir],ze[ir]=ze[_t],ze[_t]=gr,wt&&(gr=wt[ir],wt[ir]=wt[_t],wt[_t]=gr);Wt=Tt}Wt++}}},qt=function(We,ze,wt){var ut=We.split(""),cr={hiLevel:yr};return wt||(wt=[]),Mt(ut,wt,cr),function(gr,_t,Tt){if(Tt.hiLevel!==0&&st)for(var ir,Zr=0;Zr<gr.length;Zr++)_t[Zr]===1&&(ir=Zt.indexOf(gr[Zr]))>=0&&(gr[Zr]=Zt[ir+1])}(ut,wt,cr),Ot(2,ut,ze,wt,cr),Ot(1,ut,ze,wt,cr),ut.join("")};return this.__bidiEngine__.doBidiReorder=function(We,ze,wt){if(function(cr,gr){if(gr)for(var _t=0;_t<cr.length;_t++)gr[_t]=_t;Z===void 0&&(Z=at(cr)),Ae===void 0&&(Ae=at(cr))}(We,ze),T||!re||Ae)if(T&&re&&Z^Ae)yr=Z?1:0,We=Vt(We,ze,wt);else if(!T&&re&&Ae)yr=Z?1:0,We=qt(We,ze,wt),We=Vt(We,ze);else if(!T||Z||re||Ae){if(T&&!re&&Z^Ae)We=Vt(We,ze),Z?(yr=0,We=qt(We,ze,wt)):(yr=1,We=qt(We,ze,wt),We=Vt(We,ze));else if(T&&Z&&!re&&Ae)yr=1,We=qt(We,ze,wt),We=Vt(We,ze);else if(!T&&!re&&Z^Ae){var ut=st;Z?(yr=1,We=qt(We,ze,wt),yr=0,st=!1,We=qt(We,ze,wt),st=ut):(yr=0,We=qt(We,ze,wt),We=Vt(We,ze),yr=1,st=!1,We=qt(We,ze,wt),st=ut,We=Vt(We,ze))}}else yr=0,We=qt(We,ze,wt);else yr=Z?1:0,We=qt(We,ze,wt);return We},this.__bidiEngine__.setOptions=function(We){We&&(T=We.isInputVisual,re=We.isOutputVisual,Z=We.isInputRtl,Ae=We.isOutputRtl,st=We.isSymmetricSwapping)},this.__bidiEngine__.setOptions(b),this.__bidiEngine__};var s=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],p=new f.__bidiEngine__({isInputVisual:!0});f.API.events.push(["postProcessText",function(b){var A=b.text;b.x,b.y;var v=b.options||{};b.mutex,v.lang;var T=[];if(v.isInputVisual=typeof v.isInputVisual!="boolean"||v.isInputVisual,p.setOptions(v),Object.prototype.toString.call(A)==="[object Array]"){var Z=0;for(T=[],Z=0;Z<A.length;Z+=1)Object.prototype.toString.call(A[Z])==="[object Array]"?T.push([p.doBidiReorder(A[Z][0]),A[Z][1],A[Z][2]]):T.push([p.doBidiReorder(A[Z])]);b.text=T}else b.text=p.doBidiReorder(A);p.setOptions({isInputVisual:!0})}])}(z),z.API.TTFFont=function(){function f(s){var p;if(this.rawData=s,p=this.contents=new On(s),this.contents.pos=4,p.readString(4)==="ttcf")throw new Error("TTCF not supported.");p.pos=0,this.parse(),this.subset=new so(this),this.registerTTF()}return f.open=function(s){return new f(s)},f.prototype.parse=function(){return this.directory=new Bn(this.contents),this.head=new An(this),this.name=new qn(this),this.cmap=new ua(this),this.toUnicode={},this.hhea=new zn(this),this.maxp=new Dn(this),this.hmtx=new xn(this),this.post=new Gn(this),this.os2=new ra(this),this.loca=new ro(this),this.glyf=new wa(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},f.prototype.registerTTF=function(){var s,p,b,A,v;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var T,Z,re,Ae;for(Ae=[],T=0,Z=(re=this.bbox).length;T<Z;T++)s=re[T],Ae.push(Math.round(s*this.scaleFactor));return Ae}.call(this),this.stemV=0,this.post.exists?(b=255&(A=this.post.italic_angle),32768&(p=A>>16)&&(p=-(1+(65535^p))),this.italicAngle=+(p+"."+b)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(v=this.familyClass)===1||v===2||v===3||v===4||v===5||v===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},f.prototype.characterToGlyph=function(s){var p;return((p=this.cmap.unicode)!=null?p.codeMap[s]:void 0)||0},f.prototype.widthOfGlyph=function(s){var p;return p=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(s).advance*p},f.prototype.widthOfString=function(s,p,b){var A,v,T,Z;for(T=0,v=0,Z=(s=""+s).length;0<=Z?v<Z:v>Z;v=0<=Z?++v:--v)A=s.charCodeAt(v),T+=this.widthOfGlyph(this.characterToGlyph(A))+b*(1e3/p)||0;return T*(p/1e3)},f.prototype.lineHeight=function(s,p){var b;return p==null&&(p=!1),b=p?this.lineGap:0,(this.ascender+b-this.decender)/1e3*s},f}();var Pn,On=function(){function f(s){this.data=s!=null?s:[],this.pos=0,this.length=this.data.length}return f.prototype.readByte=function(){return this.data[this.pos++]},f.prototype.writeByte=function(s){return this.data[this.pos++]=s},f.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},f.prototype.writeUInt32=function(s){return this.writeByte(s>>>24&255),this.writeByte(s>>16&255),this.writeByte(s>>8&255),this.writeByte(255&s)},f.prototype.readInt32=function(){var s;return(s=this.readUInt32())>=2147483648?s-4294967296:s},f.prototype.writeInt32=function(s){return s<0&&(s+=4294967296),this.writeUInt32(s)},f.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},f.prototype.writeUInt16=function(s){return this.writeByte(s>>8&255),this.writeByte(255&s)},f.prototype.readInt16=function(){var s;return(s=this.readUInt16())>=32768?s-65536:s},f.prototype.writeInt16=function(s){return s<0&&(s+=65536),this.writeUInt16(s)},f.prototype.readString=function(s){var p,b;for(b=[],p=0;0<=s?p<s:p>s;p=0<=s?++p:--p)b[p]=String.fromCharCode(this.readByte());return b.join("")},f.prototype.writeString=function(s){var p,b,A;for(A=[],p=0,b=s.length;0<=b?p<b:p>b;p=0<=b?++p:--p)A.push(this.writeByte(s.charCodeAt(p)));return A},f.prototype.readShort=function(){return this.readInt16()},f.prototype.writeShort=function(s){return this.writeInt16(s)},f.prototype.readLongLong=function(){var s,p,b,A,v,T,Z,re;return s=this.readByte(),p=this.readByte(),b=this.readByte(),A=this.readByte(),v=this.readByte(),T=this.readByte(),Z=this.readByte(),re=this.readByte(),128&s?-1*(72057594037927940*(255^s)+281474976710656*(255^p)+1099511627776*(255^b)+4294967296*(255^A)+16777216*(255^v)+65536*(255^T)+256*(255^Z)+(255^re)+1):72057594037927940*s+281474976710656*p+1099511627776*b+4294967296*A+16777216*v+65536*T+256*Z+re},f.prototype.writeLongLong=function(s){var p,b;return p=Math.floor(s/4294967296),b=4294967295&s,this.writeByte(p>>24&255),this.writeByte(p>>16&255),this.writeByte(p>>8&255),this.writeByte(255&p),this.writeByte(b>>24&255),this.writeByte(b>>16&255),this.writeByte(b>>8&255),this.writeByte(255&b)},f.prototype.readInt=function(){return this.readInt32()},f.prototype.writeInt=function(s){return this.writeInt32(s)},f.prototype.read=function(s){var p,b;for(p=[],b=0;0<=s?b<s:b>s;b=0<=s?++b:--b)p.push(this.readByte());return p},f.prototype.write=function(s){var p,b,A,v;for(v=[],b=0,A=s.length;b<A;b++)p=s[b],v.push(this.writeByte(p));return v},f}(),Bn=function(){var f;function s(p){var b,A,v;for(this.scalarType=p.readInt(),this.tableCount=p.readShort(),this.searchRange=p.readShort(),this.entrySelector=p.readShort(),this.rangeShift=p.readShort(),this.tables={},A=0,v=this.tableCount;0<=v?A<v:A>v;A=0<=v?++A:--A)b={tag:p.readString(4),checksum:p.readInt(),offset:p.readInt(),length:p.readInt()},this.tables[b.tag]=b}return s.prototype.encode=function(p){var b,A,v,T,Z,re,Ae,st,jt,At,ve,kt,Ge;for(Ge in ve=Object.keys(p).length,re=Math.log(2),jt=16*Math.floor(Math.log(ve)/re),T=Math.floor(jt/re),st=16*ve-jt,(A=new On).writeInt(this.scalarType),A.writeShort(ve),A.writeShort(jt),A.writeShort(T),A.writeShort(st),v=16*ve,Ae=A.pos+v,Z=null,kt=[],p)for(At=p[Ge],A.writeString(Ge),A.writeInt(f(At)),A.writeInt(Ae),A.writeInt(At.length),kt=kt.concat(At),Ge==="head"&&(Z=Ae),Ae+=At.length;Ae%4;)kt.push(0),Ae++;return A.write(kt),b=2981146554-f(A.data),A.pos=Z+8,A.writeUInt32(b),A.data},f=function(p){var b,A,v,T;for(p=Kn.call(p);p.length%4;)p.push(0);for(v=new On(p),A=0,b=0,T=p.length;b<T;b=b+=4)A+=v.readUInt32();return 4294967295&A},s}(),ta={}.hasOwnProperty,tn=function(f,s){for(var p in s)ta.call(s,p)&&(f[p]=s[p]);function b(){this.constructor=f}return b.prototype=s.prototype,f.prototype=new b,f.__super__=s.prototype,f};Pn=function(){function f(s){var p;this.file=s,p=this.file.directory.tables[this.tag],this.exists=!!p,p&&(this.offset=p.offset,this.length=p.length,this.parse(this.file.contents))}return f.prototype.parse=function(){},f.prototype.encode=function(){},f.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},f}();var An=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="head",f.prototype.parse=function(s){return s.pos=this.offset,this.version=s.readInt(),this.revision=s.readInt(),this.checkSumAdjustment=s.readInt(),this.magicNumber=s.readInt(),this.flags=s.readShort(),this.unitsPerEm=s.readShort(),this.created=s.readLongLong(),this.modified=s.readLongLong(),this.xMin=s.readShort(),this.yMin=s.readShort(),this.xMax=s.readShort(),this.yMax=s.readShort(),this.macStyle=s.readShort(),this.lowestRecPPEM=s.readShort(),this.fontDirectionHint=s.readShort(),this.indexToLocFormat=s.readShort(),this.glyphDataFormat=s.readShort()},f.prototype.encode=function(s){var p;return(p=new On).writeInt(this.version),p.writeInt(this.revision),p.writeInt(this.checkSumAdjustment),p.writeInt(this.magicNumber),p.writeShort(this.flags),p.writeShort(this.unitsPerEm),p.writeLongLong(this.created),p.writeLongLong(this.modified),p.writeShort(this.xMin),p.writeShort(this.yMin),p.writeShort(this.xMax),p.writeShort(this.yMax),p.writeShort(this.macStyle),p.writeShort(this.lowestRecPPEM),p.writeShort(this.fontDirectionHint),p.writeShort(s),p.writeShort(this.glyphDataFormat),p.data},f}(),Yn=function(){function f(s,p){var b,A,v,T,Z,re,Ae,st,jt,At,ve,kt,Ge,Zt,gt,ar,yr;switch(this.platformID=s.readUInt16(),this.encodingID=s.readShort(),this.offset=p+s.readInt(),jt=s.pos,s.pos=this.offset,this.format=s.readUInt16(),this.length=s.readUInt16(),this.language=s.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(re=0;re<256;++re)this.codeMap[re]=s.readByte();break;case 4:for(ve=s.readUInt16(),At=ve/2,s.pos+=6,v=function(){var Qt,at;for(at=[],re=Qt=0;0<=At?Qt<At:Qt>At;re=0<=At?++Qt:--Qt)at.push(s.readUInt16());return at}(),s.pos+=2,Ge=function(){var Qt,at;for(at=[],re=Qt=0;0<=At?Qt<At:Qt>At;re=0<=At?++Qt:--Qt)at.push(s.readUInt16());return at}(),Ae=function(){var Qt,at;for(at=[],re=Qt=0;0<=At?Qt<At:Qt>At;re=0<=At?++Qt:--Qt)at.push(s.readUInt16());return at}(),st=function(){var Qt,at;for(at=[],re=Qt=0;0<=At?Qt<At:Qt>At;re=0<=At?++Qt:--Qt)at.push(s.readUInt16());return at}(),A=(this.length-s.pos+this.offset)/2,Z=function(){var Qt,at;for(at=[],re=Qt=0;0<=A?Qt<A:Qt>A;re=0<=A?++Qt:--Qt)at.push(s.readUInt16());return at}(),re=gt=0,yr=v.length;gt<yr;re=++gt)for(Zt=v[re],b=ar=kt=Ge[re];kt<=Zt?ar<=Zt:ar>=Zt;b=kt<=Zt?++ar:--ar)st[re]===0?T=b+Ae[re]:(T=Z[st[re]/2+(b-kt)-(At-re)]||0)!==0&&(T+=Ae[re]),this.codeMap[b]=65535&T}s.pos=jt}return f.encode=function(s,p){var b,A,v,T,Z,re,Ae,st,jt,At,ve,kt,Ge,Zt,gt,ar,yr,Qt,at,Ce,Vt,Mt,Ot,qt,We,ze,wt,ut,cr,gr,_t,Tt,ir,Zr,Wt,Pe,bt,Bt,ht,Jt,dr,fr,Er,Lr,Rr,cn;switch(ut=new On,T=Object.keys(s).sort(function(wn,Mr){return wn-Mr}),p){case"macroman":for(Ge=0,Zt=function(){var wn=[];for(kt=0;kt<256;++kt)wn.push(0);return wn}(),ar={0:0},v={},cr=0,ir=T.length;cr<ir;cr++)ar[Er=s[A=T[cr]]]==null&&(ar[Er]=++Ge),v[A]={old:s[A],new:ar[s[A]]},Zt[A]=ar[s[A]];return ut.writeUInt16(1),ut.writeUInt16(0),ut.writeUInt32(12),ut.writeUInt16(0),ut.writeUInt16(262),ut.writeUInt16(0),ut.write(Zt),{charMap:v,subtable:ut.data,maxGlyphID:Ge+1};case"unicode":for(ze=[],jt=[],yr=0,ar={},b={},gt=Ae=null,gr=0,Zr=T.length;gr<Zr;gr++)ar[at=s[A=T[gr]]]==null&&(ar[at]=++yr),b[A]={old:at,new:ar[at]},Z=ar[at]-A,gt!=null&&Z===Ae||(gt&&jt.push(gt),ze.push(A),Ae=Z),gt=A;for(gt&&jt.push(gt),jt.push(65535),ze.push(65535),qt=2*(Ot=ze.length),Mt=2*Math.pow(Math.log(Ot)/Math.LN2,2),At=Math.log(Mt/2)/Math.LN2,Vt=2*Ot-Mt,re=[],Ce=[],ve=[],kt=_t=0,Wt=ze.length;_t<Wt;kt=++_t){if(We=ze[kt],st=jt[kt],We===65535){re.push(0),Ce.push(0);break}if(We-(wt=b[We].new)>=32768)for(re.push(0),Ce.push(2*(ve.length+Ot-kt)),A=Tt=We;We<=st?Tt<=st:Tt>=st;A=We<=st?++Tt:--Tt)ve.push(b[A].new);else re.push(wt-We),Ce.push(0)}for(ut.writeUInt16(3),ut.writeUInt16(1),ut.writeUInt32(12),ut.writeUInt16(4),ut.writeUInt16(16+8*Ot+2*ve.length),ut.writeUInt16(0),ut.writeUInt16(qt),ut.writeUInt16(Mt),ut.writeUInt16(At),ut.writeUInt16(Vt),dr=0,Pe=jt.length;dr<Pe;dr++)A=jt[dr],ut.writeUInt16(A);for(ut.writeUInt16(0),fr=0,bt=ze.length;fr<bt;fr++)A=ze[fr],ut.writeUInt16(A);for(Lr=0,Bt=re.length;Lr<Bt;Lr++)Z=re[Lr],ut.writeUInt16(Z);for(Rr=0,ht=Ce.length;Rr<ht;Rr++)Qt=Ce[Rr],ut.writeUInt16(Qt);for(cn=0,Jt=ve.length;cn<Jt;cn++)Ge=ve[cn],ut.writeUInt16(Ge);return{charMap:b,subtable:ut.data,maxGlyphID:yr+1}}},f}(),ua=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="cmap",f.prototype.parse=function(s){var p,b,A;for(s.pos=this.offset,this.version=s.readUInt16(),A=s.readUInt16(),this.tables=[],this.unicode=null,b=0;0<=A?b<A:b>A;b=0<=A?++b:--b)p=new Yn(s,this.offset),this.tables.push(p),p.isUnicode&&this.unicode==null&&(this.unicode=p);return!0},f.encode=function(s,p){var b,A;return p==null&&(p="macroman"),b=Yn.encode(s,p),(A=new On).writeUInt16(0),A.writeUInt16(1),b.table=A.data.concat(b.subtable),b},f}(),zn=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="hhea",f.prototype.parse=function(s){return s.pos=this.offset,this.version=s.readInt(),this.ascender=s.readShort(),this.decender=s.readShort(),this.lineGap=s.readShort(),this.advanceWidthMax=s.readShort(),this.minLeftSideBearing=s.readShort(),this.minRightSideBearing=s.readShort(),this.xMaxExtent=s.readShort(),this.caretSlopeRise=s.readShort(),this.caretSlopeRun=s.readShort(),this.caretOffset=s.readShort(),s.pos+=8,this.metricDataFormat=s.readShort(),this.numberOfMetrics=s.readUInt16()},f}(),ra=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="OS/2",f.prototype.parse=function(s){if(s.pos=this.offset,this.version=s.readUInt16(),this.averageCharWidth=s.readShort(),this.weightClass=s.readUInt16(),this.widthClass=s.readUInt16(),this.type=s.readShort(),this.ySubscriptXSize=s.readShort(),this.ySubscriptYSize=s.readShort(),this.ySubscriptXOffset=s.readShort(),this.ySubscriptYOffset=s.readShort(),this.ySuperscriptXSize=s.readShort(),this.ySuperscriptYSize=s.readShort(),this.ySuperscriptXOffset=s.readShort(),this.ySuperscriptYOffset=s.readShort(),this.yStrikeoutSize=s.readShort(),this.yStrikeoutPosition=s.readShort(),this.familyClass=s.readShort(),this.panose=function(){var p,b;for(b=[],p=0;p<10;++p)b.push(s.readByte());return b}(),this.charRange=function(){var p,b;for(b=[],p=0;p<4;++p)b.push(s.readInt());return b}(),this.vendorID=s.readString(4),this.selection=s.readShort(),this.firstCharIndex=s.readShort(),this.lastCharIndex=s.readShort(),this.version>0&&(this.ascent=s.readShort(),this.descent=s.readShort(),this.lineGap=s.readShort(),this.winAscent=s.readShort(),this.winDescent=s.readShort(),this.codePageRange=function(){var p,b;for(b=[],p=0;p<2;p=++p)b.push(s.readInt());return b}(),this.version>1))return this.xHeight=s.readShort(),this.capHeight=s.readShort(),this.defaultChar=s.readShort(),this.breakChar=s.readShort(),this.maxContext=s.readShort()},f}(),Gn=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="post",f.prototype.parse=function(s){var p,b,A;switch(s.pos=this.offset,this.format=s.readInt(),this.italicAngle=s.readInt(),this.underlinePosition=s.readShort(),this.underlineThickness=s.readShort(),this.isFixedPitch=s.readInt(),this.minMemType42=s.readInt(),this.maxMemType42=s.readInt(),this.minMemType1=s.readInt(),this.maxMemType1=s.readInt(),this.format){case 65536:case 196608:break;case 131072:var v;for(b=s.readUInt16(),this.glyphNameIndex=[],v=0;0<=b?v<b:v>b;v=0<=b?++v:--v)this.glyphNameIndex.push(s.readUInt16());for(this.names=[],A=[];s.pos<this.offset+this.length;)p=s.readByte(),A.push(this.names.push(s.readString(p)));return A;case 151552:return b=s.readUInt16(),this.offsets=s.read(b);case 262144:return this.map=function(){var T,Z,re;for(re=[],v=T=0,Z=this.file.maxp.numGlyphs;0<=Z?T<Z:T>Z;v=0<=Z?++T:--T)re.push(s.readUInt32());return re}.call(this)}},f}(),Wn=function(f,s){this.raw=f,this.length=f.length,this.platformID=s.platformID,this.encodingID=s.encodingID,this.languageID=s.languageID},qn=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="name",f.prototype.parse=function(s){var p,b,A,v,T,Z,re,Ae,st,jt,At;for(s.pos=this.offset,s.readShort(),p=s.readShort(),Z=s.readShort(),b=[],v=0;0<=p?v<p:v>p;v=0<=p?++v:--v)b.push({platformID:s.readShort(),encodingID:s.readShort(),languageID:s.readShort(),nameID:s.readShort(),length:s.readShort(),offset:this.offset+Z+s.readShort()});for(re={},v=st=0,jt=b.length;st<jt;v=++st)A=b[v],s.pos=A.offset,Ae=s.readString(A.length),T=new Wn(Ae,A),re[At=A.nameID]==null&&(re[At]=[]),re[A.nameID].push(T);this.strings=re,this.copyright=re[0],this.fontFamily=re[1],this.fontSubfamily=re[2],this.uniqueSubfamily=re[3],this.fontName=re[4],this.version=re[5];try{this.postscriptName=re[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(ve){this.postscriptName=re[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=re[7],this.manufacturer=re[8],this.designer=re[9],this.description=re[10],this.vendorUrl=re[11],this.designerUrl=re[12],this.license=re[13],this.licenseUrl=re[14],this.preferredFamily=re[15],this.preferredSubfamily=re[17],this.compatibleFull=re[18],this.sampleText=re[19]},f}(),Dn=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="maxp",f.prototype.parse=function(s){return s.pos=this.offset,this.version=s.readInt(),this.numGlyphs=s.readUInt16(),this.maxPoints=s.readUInt16(),this.maxContours=s.readUInt16(),this.maxCompositePoints=s.readUInt16(),this.maxComponentContours=s.readUInt16(),this.maxZones=s.readUInt16(),this.maxTwilightPoints=s.readUInt16(),this.maxStorage=s.readUInt16(),this.maxFunctionDefs=s.readUInt16(),this.maxInstructionDefs=s.readUInt16(),this.maxStackElements=s.readUInt16(),this.maxSizeOfInstructions=s.readUInt16(),this.maxComponentElements=s.readUInt16(),this.maxComponentDepth=s.readUInt16()},f}(),xn=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="hmtx",f.prototype.parse=function(s){var p,b,A,v,T,Z,re;for(s.pos=this.offset,this.metrics=[],p=0,Z=this.file.hhea.numberOfMetrics;0<=Z?p<Z:p>Z;p=0<=Z?++p:--p)this.metrics.push({advance:s.readUInt16(),lsb:s.readInt16()});for(A=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Ae,st;for(st=[],p=Ae=0;0<=A?Ae<A:Ae>A;p=0<=A?++Ae:--Ae)st.push(s.readInt16());return st}(),this.widths=function(){var Ae,st,jt,At;for(At=[],Ae=0,st=(jt=this.metrics).length;Ae<st;Ae++)v=jt[Ae],At.push(v.advance);return At}.call(this),b=this.widths[this.widths.length-1],re=[],p=T=0;0<=A?T<A:T>A;p=0<=A?++T:--T)re.push(this.widths.push(b));return re},f.prototype.forGlyph=function(s){return s in this.metrics?this.metrics[s]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[s-this.metrics.length]}},f}(),Kn=[].slice,wa=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="glyf",f.prototype.parse=function(){return this.cache={}},f.prototype.glyphFor=function(s){var p,b,A,v,T,Z,re,Ae,st,jt;return s in this.cache?this.cache[s]:(v=this.file.loca,p=this.file.contents,b=v.indexOf(s),(A=v.lengthOf(s))===0?this.cache[s]=null:(p.pos=this.offset+b,T=(Z=new On(p.read(A))).readShort(),Ae=Z.readShort(),jt=Z.readShort(),re=Z.readShort(),st=Z.readShort(),this.cache[s]=T===-1?new to(Z,Ae,jt,re,st):new za(Z,T,Ae,jt,re,st),this.cache[s]))},f.prototype.encode=function(s,p,b){var A,v,T,Z,re;for(T=[],v=[],Z=0,re=p.length;Z<re;Z++)A=s[p[Z]],v.push(T.length),A&&(T=T.concat(A.encode(b)));return v.push(T.length),{table:T,offsets:v}},f}(),za=function(){function f(s,p,b,A,v,T){this.raw=s,this.numberOfContours=p,this.xMin=b,this.yMin=A,this.xMax=v,this.yMax=T,this.compound=!1}return f.prototype.encode=function(){return this.raw.data},f}(),to=function(){function f(s,p,b,A,v){var T,Z;for(this.raw=s,this.xMin=p,this.yMin=b,this.xMax=A,this.yMax=v,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],T=this.raw;Z=T.readShort(),this.glyphOffsets.push(T.pos),this.glyphIDs.push(T.readUInt16()),32&Z;)T.pos+=1&Z?4:2,128&Z?T.pos+=8:64&Z?T.pos+=4:8&Z&&(T.pos+=2)}return f.prototype.encode=function(){var s,p,b;for(p=new On(Kn.call(this.raw.data)),s=0,b=this.glyphIDs.length;s<b;++s)p.pos=this.glyphOffsets[s];return p.data},f}(),ro=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="loca",f.prototype.parse=function(s){var p,b;return s.pos=this.offset,p=this.file.head.indexToLocFormat,this.offsets=p===0?function(){var A,v;for(v=[],b=0,A=this.length;b<A;b+=2)v.push(2*s.readUInt16());return v}.call(this):function(){var A,v;for(v=[],b=0,A=this.length;b<A;b+=4)v.push(s.readUInt32());return v}.call(this)},f.prototype.indexOf=function(s){return this.offsets[s]},f.prototype.lengthOf=function(s){return this.offsets[s+1]-this.offsets[s]},f.prototype.encode=function(s,p){for(var b=new Uint32Array(this.offsets.length),A=0,v=0,T=0;T<b.length;++T)if(b[T]=A,v<p.length&&p[v]==T){++v,b[T]=A;var Z=this.offsets[T],re=this.offsets[T+1]-Z;re>0&&(A+=re)}for(var Ae=new Array(4*b.length),st=0;st<b.length;++st)Ae[4*st+3]=255&b[st],Ae[4*st+2]=(65280&b[st])>>8,Ae[4*st+1]=(16711680&b[st])>>16,Ae[4*st]=(4278190080&b[st])>>24;return Ae},f}(),so=function(){function f(s){this.font=s,this.subset={},this.unicodes={},this.next=33}return f.prototype.generateCmap=function(){var s,p,b,A,v;for(p in A=this.font.cmap.tables[0].codeMap,s={},v=this.subset)b=v[p],s[p]=A[b];return s},f.prototype.glyphsFor=function(s){var p,b,A,v,T,Z,re;for(A={},T=0,Z=s.length;T<Z;T++)A[v=s[T]]=this.font.glyf.glyphFor(v);for(v in p=[],A)(b=A[v])!=null&&b.compound&&p.push.apply(p,b.glyphIDs);if(p.length>0)for(v in re=this.glyphsFor(p))b=re[v],A[v]=b;return A},f.prototype.encode=function(s,p){var b,A,v,T,Z,re,Ae,st,jt,At,ve,kt,Ge,Zt,gt;for(A in b=ua.encode(this.generateCmap(),"unicode"),T=this.glyphsFor(s),ve={0:0},gt=b.charMap)ve[(re=gt[A]).old]=re.new;for(kt in At=b.maxGlyphID,T)kt in ve||(ve[kt]=At++);return st=function(ar){var yr,Qt;for(yr in Qt={},ar)Qt[ar[yr]]=yr;return Qt}(ve),jt=Object.keys(st).sort(function(ar,yr){return ar-yr}),Ge=function(){var ar,yr,Qt;for(Qt=[],ar=0,yr=jt.length;ar<yr;ar++)Z=jt[ar],Qt.push(st[Z]);return Qt}(),v=this.font.glyf.encode(T,Ge,ve),Ae=this.font.loca.encode(v.offsets,Ge),Zt={cmap:this.font.cmap.raw(),glyf:v.table,loca:Ae,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(p)},this.font.os2.exists&&(Zt["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Zt)},f}();z.API.PDFObject=function(){var f;function s(){}return f=function(p,b){return(Array(b+1).join("0")+p).slice(-b)},s.convert=function(p){var b,A,v,T;if(Array.isArray(p))return"["+function(){var Z,re,Ae;for(Ae=[],Z=0,re=p.length;Z<re;Z++)b=p[Z],Ae.push(s.convert(b));return Ae}().join(" ")+"]";if(typeof p=="string")return"/"+p;if(p!=null&&p.isString)return"("+p+")";if(p instanceof Date)return"(D:"+f(p.getUTCFullYear(),4)+f(p.getUTCMonth(),2)+f(p.getUTCDate(),2)+f(p.getUTCHours(),2)+f(p.getUTCMinutes(),2)+f(p.getUTCSeconds(),2)+"Z)";if({}.toString.call(p)==="[object Object]"){for(A in v=["<<"],p)T=p[A],v.push("/"+A+" "+s.convert(T));return v.push(">>"),v.join(`
|
|
|
`)}return""+p},s}()},86129:function(Yr,Xt,n){var o=n(19208).lW,qe=n(97671);(function(L){Yr.exports=L()})(function(){return function L(Re,q,ee){function _(u,B){if(!q[u]){if(!Re[u]){var F=void 0;if(!B&&F)return require(u,!0);if(y)return y(u,!0);var K=new Error("Cannot find module '"+u+"'");throw K.code="MODULE_NOT_FOUND",K}var R=q[u]={exports:{}};Re[u][0].call(R.exports,function(X){var M=Re[u][1][X];return _(M||X)},R,R.exports,L,Re,q,ee)}return q[u].exports}for(var y=void 0,G=0;G<ee.length;G++)_(ee[G]);return _}({1:[function(L,Re,q){"use strict";var ee=L("./utils"),_=L("./support"),y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";q.encode=function(G){for(var u,B,F,K,R,X,M,$=[],S=0,E=G.length,ie=E,J=ee.getTypeOf(G)!=="string";S<G.length;)ie=E-S,F=J?(u=G[S++],B=S<E?G[S++]:0,S<E?G[S++]:0):(u=G.charCodeAt(S++),B=S<E?G.charCodeAt(S++):0,S<E?G.charCodeAt(S++):0),K=u>>2,R=(3&u)<<4|B>>4,X=1<ie?(15&B)<<2|F>>6:64,M=2<ie?63&F:64,$.push(y.charAt(K)+y.charAt(R)+y.charAt(X)+y.charAt(M));return $.join("")},q.decode=function(G){var u,B,F,K,R,X,M=0,$=0,S="data:";if(G.substr(0,S.length)===S)throw new Error("Invalid base64 input, it looks like a data url.");var E,ie=3*(G=G.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(G.charAt(G.length-1)===y.charAt(64)&&ie--,G.charAt(G.length-2)===y.charAt(64)&&ie--,ie%1!=0)throw new Error("Invalid base64 input, bad content length.");for(E=_.uint8array?new Uint8Array(0|ie):new Array(0|ie);M<G.length;)u=y.indexOf(G.charAt(M++))<<2|(K=y.indexOf(G.charAt(M++)))>>4,B=(15&K)<<4|(R=y.indexOf(G.charAt(M++)))>>2,F=(3&R)<<6|(X=y.indexOf(G.charAt(M++))),E[$++]=u,R!==64&&(E[$++]=B),X!==64&&(E[$++]=F);return E}},{"./support":30,"./utils":32}],2:[function(L,Re,q){"use strict";var ee=L("./external"),_=L("./stream/DataWorker"),y=L("./stream/Crc32Probe"),G=L("./stream/DataLengthProbe");function u(B,F,K,R,X){this.compressedSize=B,this.uncompressedSize=F,this.crc32=K,this.compression=R,this.compressedContent=X}u.prototype={getContentWorker:function(){var B=new _(ee.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new G("data_length")),F=this;return B.on("end",function(){if(this.streamInfo.data_length!==F.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),B},getCompressedWorker:function(){return new _(ee.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},u.createWorkerFrom=function(B,F,K){return B.pipe(new y).pipe(new G("uncompressedSize")).pipe(F.compressWorker(K)).pipe(new G("compressedSize")).withStreamInfo("compression",F)},Re.exports=u},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(L,Re,q){"use strict";var ee=L("./stream/GenericWorker");q.STORE={magic:"\0\0",compressWorker:function(){return new ee("STORE compression")},uncompressWorker:function(){return new ee("STORE decompression")}},q.DEFLATE=L("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(L,Re,q){"use strict";var ee=L("./utils"),_=function(){for(var y,G=[],u=0;u<256;u++){y=u;for(var B=0;B<8;B++)y=1&y?3988292384^y>>>1:y>>>1;G[u]=y}return G}();Re.exports=function(y,G){return y!==void 0&&y.length?ee.getTypeOf(y)!=="string"?function(u,B,F,K){var R=_,X=K+F;u^=-1;for(var M=K;M<X;M++)u=u>>>8^R[255&(u^B[M])];return-1^u}(0|G,y,y.length,0):function(u,B,F,K){var R=_,X=K+F;u^=-1;for(var M=K;M<X;M++)u=u>>>8^R[255&(u^B.charCodeAt(M))];return-1^u}(0|G,y,y.length,0):0}},{"./utils":32}],5:[function(L,Re,q){"use strict";q.base64=!1,q.binary=!1,q.dir=!1,q.createFolders=!0,q.date=null,q.compression=null,q.compressionOptions=null,q.comment=null,q.unixPermissions=null,q.dosPermissions=null},{}],6:[function(L,Re,q){"use strict";var ee=null;ee=typeof Promise!="undefined"?Promise:L("lie"),Re.exports={Promise:ee}},{lie:37}],7:[function(L,Re,q){"use strict";var ee=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",_=L("pako"),y=L("./utils"),G=L("./stream/GenericWorker"),u=ee?"uint8array":"array";function B(F,K){G.call(this,"FlateWorker/"+F),this._pako=null,this._pakoAction=F,this._pakoOptions=K,this.meta={}}q.magic="\b\0",y.inherits(B,G),B.prototype.processChunk=function(F){this.meta=F.meta,this._pako===null&&this._createPako(),this._pako.push(y.transformTo(u,F.data),!1)},B.prototype.flush=function(){G.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},B.prototype.cleanUp=function(){G.prototype.cleanUp.call(this),this._pako=null},B.prototype._createPako=function(){this._pako=new _[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var F=this;this._pako.onData=function(K){F.push({data:K,meta:F.meta})}},q.compressWorker=function(F){return new B("Deflate",F)},q.uncompressWorker=function(){return new B("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(L,Re,q){"use strict";function ee(R,X){var M,$="";for(M=0;M<X;M++)$+=String.fromCharCode(255&R),R>>>=8;return $}function _(R,X,M,$,S,E){var ie,J,te=R.file,$e=R.compression,Ne=E!==u.utf8encode,Qe=y.transformTo("string",E(te.name)),Ze=y.transformTo("string",u.utf8encode(te.name)),we=te.comment,xe=y.transformTo("string",E(we)),Q=y.transformTo("string",u.utf8encode(we)),ye=Ze.length!==te.name.length,N=Q.length!==we.length,I="",nt="",ce="",le=te.dir,w=te.date,k={crc32:0,compressedSize:0,uncompressedSize:0};X&&!M||(k.crc32=R.crc32,k.compressedSize=R.compressedSize,k.uncompressedSize=R.uncompressedSize);var z=0;X&&(z|=8),Ne||!ye&&!N||(z|=2048);var C=0,Y=0;le&&(C|=16),S==="UNIX"?(Y=798,C|=function(pe,Ue){var ot=pe;return pe||(ot=Ue?16893:33204),(65535&ot)<<16}(te.unixPermissions,le)):(Y=20,C|=function(pe){return 63&(pe||0)}(te.dosPermissions)),ie=w.getUTCHours(),ie<<=6,ie|=w.getUTCMinutes(),ie<<=5,ie|=w.getUTCSeconds()/2,J=w.getUTCFullYear()-1980,J<<=4,J|=w.getUTCMonth()+1,J<<=5,J|=w.getUTCDate(),ye&&(nt=ee(1,1)+ee(B(Qe),4)+Ze,I+="up"+ee(nt.length,2)+nt),N&&(ce=ee(1,1)+ee(B(xe),4)+Q,I+="uc"+ee(ce.length,2)+ce);var He="";return He+=`
|
|
|
\0`,He+=ee(z,2),He+=$e.magic,He+=ee(ie,2),He+=ee(J,2),He+=ee(k.crc32,4),He+=ee(k.compressedSize,4),He+=ee(k.uncompressedSize,4),He+=ee(Qe.length,2),He+=ee(I.length,2),{fileRecord:F.LOCAL_FILE_HEADER+He+Qe+I,dirRecord:F.CENTRAL_FILE_HEADER+ee(Y,2)+He+ee(xe.length,2)+"\0\0\0\0"+ee(C,4)+ee($,4)+Qe+I+xe}}var y=L("../utils"),G=L("../stream/GenericWorker"),u=L("../utf8"),B=L("../crc32"),F=L("../signature");function K(R,X,M,$){G.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=X,this.zipPlatform=M,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(K,G),K.prototype.push=function(R){var X=R.meta.percent||0,M=this.entriesCount,$=this._sources.length;this.accumulate?this.contentBuffer.push(R):(this.bytesWritten+=R.data.length,G.prototype.push.call(this,{data:R.data,meta:{currentFile:this.currentFile,percent:M?(X+100*(M-$-1))/M:100}}))},K.prototype.openedSource=function(R){this.currentSourceOffset=this.bytesWritten,this.currentFile=R.file.name;var X=this.streamFiles&&!R.file.dir;if(X){var M=_(R,X,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:M.fileRecord,meta:{percent:0}})}else this.accumulate=!0},K.prototype.closedSource=function(R){this.accumulate=!1;var X=this.streamFiles&&!R.file.dir,M=_(R,X,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(M.dirRecord),X)this.push({data:function($){return F.DATA_DESCRIPTOR+ee($.crc32,4)+ee($.compressedSize,4)+ee($.uncompressedSize,4)}(R),meta:{percent:100}});else for(this.push({data:M.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},K.prototype.flush=function(){for(var R=this.bytesWritten,X=0;X<this.dirRecords.length;X++)this.push({data:this.dirRecords[X],meta:{percent:100}});var M=this.bytesWritten-R,$=function(S,E,ie,J,te){var $e=y.transformTo("string",te(J));return F.CENTRAL_DIRECTORY_END+"\0\0\0\0"+ee(S,2)+ee(S,2)+ee(E,4)+ee(ie,4)+ee($e.length,2)+$e}(this.dirRecords.length,M,R,this.zipComment,this.encodeFileName);this.push({data:$,meta:{percent:100}})},K.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},K.prototype.registerPrevious=function(R){this._sources.push(R);var X=this;return R.on("data",function(M){X.processChunk(M)}),R.on("end",function(){X.closedSource(X.previous.streamInfo),X._sources.length?X.prepareNextSource():X.end()}),R.on("error",function(M){X.error(M)}),this},K.prototype.resume=function(){return!!G.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},K.prototype.error=function(R){var X=this._sources;if(!G.prototype.error.call(this,R))return!1;for(var M=0;M<X.length;M++)try{X[M].error(R)}catch($){}return!0},K.prototype.lock=function(){G.prototype.lock.call(this);for(var R=this._sources,X=0;X<R.length;X++)R[X].lock()},Re.exports=K},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(L,Re,q){"use strict";var ee=L("../compressions"),_=L("./ZipFileWorker");q.generateWorker=function(y,G,u){var B=new _(G.streamFiles,u,G.platform,G.encodeFileName),F=0;try{y.forEach(function(K,R){F++;var X=function(E,ie){var J=E||ie,te=ee[J];if(!te)throw new Error(J+" is not a valid compression method !");return te}(R.options.compression,G.compression),M=R.options.compressionOptions||G.compressionOptions||{},$=R.dir,S=R.date;R._compressWorker(X,M).withStreamInfo("file",{name:K,dir:$,date:S,comment:R.comment||"",unixPermissions:R.unixPermissions,dosPermissions:R.dosPermissions}).pipe(B)}),B.entriesCount=F}catch(K){B.error(K)}return B}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(L,Re,q){"use strict";function ee(){if(!(this instanceof ee))return new ee;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var _=new ee;for(var y in this)typeof this[y]!="function"&&(_[y]=this[y]);return _}}(ee.prototype=L("./object")).loadAsync=L("./load"),ee.support=L("./support"),ee.defaults=L("./defaults"),ee.version="3.10.1",ee.loadAsync=function(_,y){return new ee().loadAsync(_,y)},ee.external=L("./external"),Re.exports=ee},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(L,Re,q){"use strict";var ee=L("./utils"),_=L("./external"),y=L("./utf8"),G=L("./zipEntries"),u=L("./stream/Crc32Probe"),B=L("./nodejsUtils");function F(K){return new _.Promise(function(R,X){var M=K.decompressed.getContentWorker().pipe(new u);M.on("error",function($){X($)}).on("end",function(){M.streamInfo.crc32!==K.decompressed.crc32?X(new Error("Corrupted zip : CRC32 mismatch")):R()}).resume()})}Re.exports=function(K,R){var X=this;return R=ee.extend(R||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:y.utf8decode}),B.isNode&&B.isStream(K)?_.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):ee.prepareContent("the loaded zip file",K,!0,R.optimizedBinaryString,R.base64).then(function(M){var $=new G(R);return $.load(M),$}).then(function(M){var $=[_.Promise.resolve(M)],S=M.files;if(R.checkCRC32)for(var E=0;E<S.length;E++)$.push(F(S[E]));return _.Promise.all($)}).then(function(M){for(var $=M.shift(),S=$.files,E=0;E<S.length;E++){var ie=S[E],J=ie.fileNameStr,te=ee.resolve(ie.fileNameStr);X.file(te,ie.decompressed,{binary:!0,optimizedBinaryString:!0,date:ie.date,dir:ie.dir,comment:ie.fileCommentStr.length?ie.fileCommentStr:null,unixPermissions:ie.unixPermissions,dosPermissions:ie.dosPermissions,createFolders:R.createFolders}),ie.dir||(X.file(te).unsafeOriginalName=J)}return $.zipComment.length&&(X.comment=$.zipComment),X})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(L,Re,q){"use strict";var ee=L("../utils"),_=L("../stream/GenericWorker");function y(G,u){_.call(this,"Nodejs stream input adapter for "+G),this._upstreamEnded=!1,this._bindStream(u)}ee.inherits(y,_),y.prototype._bindStream=function(G){var u=this;(this._stream=G).pause(),G.on("data",function(B){u.push({data:B,meta:{percent:0}})}).on("error",function(B){u.isPaused?this.generatedError=B:u.error(B)}).on("end",function(){u.isPaused?u._upstreamEnded=!0:u.end()})},y.prototype.pause=function(){return!!_.prototype.pause.call(this)&&(this._stream.pause(),!0)},y.prototype.resume=function(){return!!_.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},Re.exports=y},{"../stream/GenericWorker":28,"../utils":32}],13:[function(L,Re,q){"use strict";var ee=L("readable-stream").Readable;function _(y,G,u){ee.call(this,G),this._helper=y;var B=this;y.on("data",function(F,K){B.push(F)||B._helper.pause(),u&&u(K)}).on("error",function(F){B.emit("error",F)}).on("end",function(){B.push(null)})}L("../utils").inherits(_,ee),_.prototype._read=function(){this._helper.resume()},Re.exports=_},{"../utils":32,"readable-stream":16}],14:[function(L,Re,q){"use strict";Re.exports={isNode:typeof o!="undefined",newBufferFrom:function(ee,_){if(o.from&&o.from!==Uint8Array.from)return o.from(ee,_);if(typeof ee=="number")throw new Error('The "data" argument must not be a number');return new o(ee,_)},allocBuffer:function(ee){if(o.alloc)return o.alloc(ee);var _=new o(ee);return _.fill(0),_},isBuffer:function(ee){return o.isBuffer(ee)},isStream:function(ee){return ee&&typeof ee.on=="function"&&typeof ee.pause=="function"&&typeof ee.resume=="function"}}},{}],15:[function(L,Re,q){"use strict";function ee(te,$e,Ne){var Qe,Ze=y.getTypeOf($e),we=y.extend(Ne||{},B);we.date=we.date||new Date,we.compression!==null&&(we.compression=we.compression.toUpperCase()),typeof we.unixPermissions=="string"&&(we.unixPermissions=parseInt(we.unixPermissions,8)),we.unixPermissions&&16384&we.unixPermissions&&(we.dir=!0),we.dosPermissions&&16&we.dosPermissions&&(we.dir=!0),we.dir&&(te=S(te)),we.createFolders&&(Qe=$(te))&&E.call(this,Qe,!0);var xe=Ze==="string"&&we.binary===!1&&we.base64===!1;Ne&&Ne.binary!==void 0||(we.binary=!xe),($e instanceof F&&$e.uncompressedSize===0||we.dir||!$e||$e.length===0)&&(we.base64=!1,we.binary=!0,$e="",we.compression="STORE",Ze="string");var Q=null;Q=$e instanceof F||$e instanceof G?$e:X.isNode&&X.isStream($e)?new M(te,$e):y.prepareContent(te,$e,we.binary,we.optimizedBinaryString,we.base64);var ye=new K(te,Q,we);this.files[te]=ye}var _=L("./utf8"),y=L("./utils"),G=L("./stream/GenericWorker"),u=L("./stream/StreamHelper"),B=L("./defaults"),F=L("./compressedObject"),K=L("./zipObject"),R=L("./generate"),X=L("./nodejsUtils"),M=L("./nodejs/NodejsStreamInputAdapter"),$=function(te){te.slice(-1)==="/"&&(te=te.substring(0,te.length-1));var $e=te.lastIndexOf("/");return 0<$e?te.substring(0,$e):""},S=function(te){return te.slice(-1)!=="/"&&(te+="/"),te},E=function(te,$e){return $e=$e!==void 0?$e:B.createFolders,te=S(te),this.files[te]||ee.call(this,te,null,{dir:!0,createFolders:$e}),this.files[te]};function ie(te){return Object.prototype.toString.call(te)==="[object RegExp]"}var J={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(te){var $e,Ne,Qe;for($e in this.files)Qe=this.files[$e],(Ne=$e.slice(this.root.length,$e.length))&&$e.slice(0,this.root.length)===this.root&&te(Ne,Qe)},filter:function(te){var $e=[];return this.forEach(function(Ne,Qe){te(Ne,Qe)&&$e.push(Qe)}),$e},file:function(te,$e,Ne){if(arguments.length!==1)return te=this.root+te,ee.call(this,te,$e,Ne),this;if(ie(te)){var Qe=te;return this.filter(function(we,xe){return!xe.dir&&Qe.test(we)})}var Ze=this.files[this.root+te];return Ze&&!Ze.dir?Ze:null},folder:function(te){if(!te)return this;if(ie(te))return this.filter(function(Ze,we){return we.dir&&te.test(Ze)});var $e=this.root+te,Ne=E.call(this,$e),Qe=this.clone();return Qe.root=Ne.name,Qe},remove:function(te){te=this.root+te;var $e=this.files[te];if($e||(te.slice(-1)!=="/"&&(te+="/"),$e=this.files[te]),$e&&!$e.dir)delete this.files[te];else for(var Ne=this.filter(function(Ze,we){return we.name.slice(0,te.length)===te}),Qe=0;Qe<Ne.length;Qe++)delete this.files[Ne[Qe].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(te){var $e,Ne={};try{if((Ne=y.extend(te||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:_.utf8encode})).type=Ne.type.toLowerCase(),Ne.compression=Ne.compression.toUpperCase(),Ne.type==="binarystring"&&(Ne.type="string"),!Ne.type)throw new Error("No output type specified.");y.checkSupport(Ne.type),Ne.platform!=="darwin"&&Ne.platform!=="freebsd"&&Ne.platform!=="linux"&&Ne.platform!=="sunos"||(Ne.platform="UNIX"),Ne.platform==="win32"&&(Ne.platform="DOS");var Qe=Ne.comment||this.comment||"";$e=R.generateWorker(this,Ne,Qe)}catch(Ze){($e=new G("error")).error(Ze)}return new u($e,Ne.type||"string",Ne.mimeType)},generateAsync:function(te,$e){return this.generateInternalStream(te).accumulate($e)},generateNodeStream:function(te,$e){return(te=te||{}).type||(te.type="nodebuffer"),this.generateInternalStream(te).toNodejsStream($e)}};Re.exports=J},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(L,Re,q){"use strict";Re.exports=L("stream")},{stream:void 0}],17:[function(L,Re,q){"use strict";var ee=L("./DataReader");function _(y){ee.call(this,y);for(var G=0;G<this.data.length;G++)y[G]=255&y[G]}L("../utils").inherits(_,ee),_.prototype.byteAt=function(y){return this.data[this.zero+y]},_.prototype.lastIndexOfSignature=function(y){for(var G=y.charCodeAt(0),u=y.charCodeAt(1),B=y.charCodeAt(2),F=y.charCodeAt(3),K=this.length-4;0<=K;--K)if(this.data[K]===G&&this.data[K+1]===u&&this.data[K+2]===B&&this.data[K+3]===F)return K-this.zero;return-1},_.prototype.readAndCheckSignature=function(y){var G=y.charCodeAt(0),u=y.charCodeAt(1),B=y.charCodeAt(2),F=y.charCodeAt(3),K=this.readData(4);return G===K[0]&&u===K[1]&&B===K[2]&&F===K[3]},_.prototype.readData=function(y){if(this.checkOffset(y),y===0)return[];var G=this.data.slice(this.zero+this.index,this.zero+this.index+y);return this.index+=y,G},Re.exports=_},{"../utils":32,"./DataReader":18}],18:[function(L,Re,q){"use strict";var ee=L("../utils");function _(y){this.data=y,this.length=y.length,this.index=0,this.zero=0}_.prototype={checkOffset:function(y){this.checkIndex(this.index+y)},checkIndex:function(y){if(this.length<this.zero+y||y<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+y+"). Corrupted zip ?")},setIndex:function(y){this.checkIndex(y),this.index=y},skip:function(y){this.setIndex(this.index+y)},byteAt:function(){},readInt:function(y){var G,u=0;for(this.checkOffset(y),G=this.index+y-1;G>=this.index;G--)u=(u<<8)+this.byteAt(G);return this.index+=y,u},readString:function(y){return ee.transformTo("string",this.readData(y))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var y=this.readInt(4);return new Date(Date.UTC(1980+(y>>25&127),(y>>21&15)-1,y>>16&31,y>>11&31,y>>5&63,(31&y)<<1))}},Re.exports=_},{"../utils":32}],19:[function(L,Re,q){"use strict";var ee=L("./Uint8ArrayReader");function _(y){ee.call(this,y)}L("../utils").inherits(_,ee),_.prototype.readData=function(y){this.checkOffset(y);var G=this.data.slice(this.zero+this.index,this.zero+this.index+y);return this.index+=y,G},Re.exports=_},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(L,Re,q){"use strict";var ee=L("./DataReader");function _(y){ee.call(this,y)}L("../utils").inherits(_,ee),_.prototype.byteAt=function(y){return this.data.charCodeAt(this.zero+y)},_.prototype.lastIndexOfSignature=function(y){return this.data.lastIndexOf(y)-this.zero},_.prototype.readAndCheckSignature=function(y){return y===this.readData(4)},_.prototype.readData=function(y){this.checkOffset(y);var G=this.data.slice(this.zero+this.index,this.zero+this.index+y);return this.index+=y,G},Re.exports=_},{"../utils":32,"./DataReader":18}],21:[function(L,Re,q){"use strict";var ee=L("./ArrayReader");function _(y){ee.call(this,y)}L("../utils").inherits(_,ee),_.prototype.readData=function(y){if(this.checkOffset(y),y===0)return new Uint8Array(0);var G=this.data.subarray(this.zero+this.index,this.zero+this.index+y);return this.index+=y,G},Re.exports=_},{"../utils":32,"./ArrayReader":17}],22:[function(L,Re,q){"use strict";var ee=L("../utils"),_=L("../support"),y=L("./ArrayReader"),G=L("./StringReader"),u=L("./NodeBufferReader"),B=L("./Uint8ArrayReader");Re.exports=function(F){var K=ee.getTypeOf(F);return ee.checkSupport(K),K!=="string"||_.uint8array?K==="nodebuffer"?new u(F):_.uint8array?new B(ee.transformTo("uint8array",F)):new y(ee.transformTo("array",F)):new G(F)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(L,Re,q){"use strict";q.LOCAL_FILE_HEADER="PK",q.CENTRAL_FILE_HEADER="PK",q.CENTRAL_DIRECTORY_END="PK",q.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",q.ZIP64_CENTRAL_DIRECTORY_END="PK",q.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(L,Re,q){"use strict";var ee=L("./GenericWorker"),_=L("../utils");function y(G){ee.call(this,"ConvertWorker to "+G),this.destType=G}_.inherits(y,ee),y.prototype.processChunk=function(G){this.push({data:_.transformTo(this.destType,G.data),meta:G.meta})},Re.exports=y},{"../utils":32,"./GenericWorker":28}],25:[function(L,Re,q){"use strict";var ee=L("./GenericWorker"),_=L("../crc32");function y(){ee.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}L("../utils").inherits(y,ee),y.prototype.processChunk=function(G){this.streamInfo.crc32=_(G.data,this.streamInfo.crc32||0),this.push(G)},Re.exports=y},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(L,Re,q){"use strict";var ee=L("../utils"),_=L("./GenericWorker");function y(G){_.call(this,"DataLengthProbe for "+G),this.propName=G,this.withStreamInfo(G,0)}ee.inherits(y,_),y.prototype.processChunk=function(G){if(G){var u=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=u+G.data.length}_.prototype.processChunk.call(this,G)},Re.exports=y},{"../utils":32,"./GenericWorker":28}],27:[function(L,Re,q){"use strict";var ee=L("../utils"),_=L("./GenericWorker");function y(G){_.call(this,"DataWorker");var u=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,G.then(function(B){u.dataIsReady=!0,u.data=B,u.max=B&&B.length||0,u.type=ee.getTypeOf(B),u.isPaused||u._tickAndRepeat()},function(B){u.error(B)})}ee.inherits(y,_),y.prototype.cleanUp=function(){_.prototype.cleanUp.call(this),this.data=null},y.prototype.resume=function(){return!!_.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,ee.delay(this._tickAndRepeat,[],this)),!0)},y.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(ee.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},y.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var G=null,u=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":G=this.data.substring(this.index,u);break;case"uint8array":G=this.data.subarray(this.index,u);break;case"array":case"nodebuffer":G=this.data.slice(this.index,u)}return this.index=u,this.push({data:G,meta:{percent:this.max?this.index/this.max*100:0}})},Re.exports=y},{"../utils":32,"./GenericWorker":28}],28:[function(L,Re,q){"use strict";function ee(_){this.name=_||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}ee.prototype={push:function(_){this.emit("data",_)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(_){this.emit("error",_)}return!0},error:function(_){return!this.isFinished&&(this.isPaused?this.generatedError=_:(this.isFinished=!0,this.emit("error",_),this.previous&&this.previous.error(_),this.cleanUp()),!0)},on:function(_,y){return this._listeners[_].push(y),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(_,y){if(this._listeners[_])for(var G=0;G<this._listeners[_].length;G++)this._listeners[_][G].call(this,y)},pipe:function(_){return _.registerPrevious(this)},registerPrevious:function(_){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=_.streamInfo,this.mergeStreamInfo(),this.previous=_;var y=this;return _.on("data",function(G){y.processChunk(G)}),_.on("end",function(){y.end()}),_.on("error",function(G){y.error(G)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var _=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),_=!0),this.previous&&this.previous.resume(),!_},flush:function(){},processChunk:function(_){this.push(_)},withStreamInfo:function(_,y){return this.extraStreamInfo[_]=y,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var _ in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,_)&&(this.streamInfo[_]=this.extraStreamInfo[_])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var _="Worker "+this.name;return this.previous?this.previous+" -> "+_:_}},Re.exports=ee},{}],29:[function(L,Re,q){"use strict";var ee=L("../utils"),_=L("./ConvertWorker"),y=L("./GenericWorker"),G=L("../base64"),u=L("../support"),B=L("../external"),F=null;if(u.nodestream)try{F=L("../nodejs/NodejsStreamOutputAdapter")}catch(X){}function K(X,M){return new B.Promise(function($,S){var E=[],ie=X._internalType,J=X._outputType,te=X._mimeType;X.on("data",function($e,Ne){E.push($e),M&&M(Ne)}).on("error",function($e){E=[],S($e)}).on("end",function(){try{var $e=function(Ne,Qe,Ze){switch(Ne){case"blob":return ee.newBlob(ee.transformTo("arraybuffer",Qe),Ze);case"base64":return G.encode(Qe);default:return ee.transformTo(Ne,Qe)}}(J,function(Ne,Qe){var Ze,we=0,xe=null,Q=0;for(Ze=0;Ze<Qe.length;Ze++)Q+=Qe[Ze].length;switch(Ne){case"string":return Qe.join("");case"array":return Array.prototype.concat.apply([],Qe);case"uint8array":for(xe=new Uint8Array(Q),Ze=0;Ze<Qe.length;Ze++)xe.set(Qe[Ze],we),we+=Qe[Ze].length;return xe;case"nodebuffer":return o.concat(Qe);default:throw new Error("concat : unsupported type '"+Ne+"'")}}(ie,E),te);$($e)}catch(Ne){S(Ne)}E=[]}).resume()})}function R(X,M,$){var S=M;switch(M){case"blob":case"arraybuffer":S="uint8array";break;case"base64":S="string"}try{this._internalType=S,this._outputType=M,this._mimeType=$,ee.checkSupport(S),this._worker=X.pipe(new _(S)),X.lock()}catch(E){this._worker=new y("error"),this._worker.error(E)}}R.prototype={accumulate:function(X){return K(this,X)},on:function(X,M){var $=this;return X==="data"?this._worker.on(X,function(S){M.call($,S.data,S.meta)}):this._worker.on(X,function(){ee.delay(M,arguments,$)}),this},resume:function(){return ee.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(X){if(ee.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new F(this,{objectMode:this._outputType!=="nodebuffer"},X)}},Re.exports=R},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(L,Re,q){"use strict";if(q.base64=!0,q.array=!0,q.string=!0,q.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",q.nodebuffer=typeof o!="undefined",q.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")q.blob=!1;else{var ee=new ArrayBuffer(0);try{q.blob=new Blob([ee],{type:"application/zip"}).size===0}catch(y){try{var _=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);_.append(ee),q.blob=_.getBlob("application/zip").size===0}catch(G){q.blob=!1}}}try{q.nodestream=!!L("readable-stream").Readable}catch(y){q.nodestream=!1}},{"readable-stream":16}],31:[function(L,Re,q){"use strict";for(var ee=L("./utils"),_=L("./support"),y=L("./nodejsUtils"),G=L("./stream/GenericWorker"),u=new Array(256),B=0;B<256;B++)u[B]=252<=B?6:248<=B?5:240<=B?4:224<=B?3:192<=B?2:1;u[254]=u[254]=1;function F(){G.call(this,"utf-8 decode"),this.leftOver=null}function K(){G.call(this,"utf-8 encode")}q.utf8encode=function(R){return _.nodebuffer?y.newBufferFrom(R,"utf-8"):function(X){var M,$,S,E,ie,J=X.length,te=0;for(E=0;E<J;E++)(64512&($=X.charCodeAt(E)))==55296&&E+1<J&&(64512&(S=X.charCodeAt(E+1)))==56320&&($=65536+($-55296<<10)+(S-56320),E++),te+=$<128?1:$<2048?2:$<65536?3:4;for(M=_.uint8array?new Uint8Array(te):new Array(te),E=ie=0;ie<te;E++)(64512&($=X.charCodeAt(E)))==55296&&E+1<J&&(64512&(S=X.charCodeAt(E+1)))==56320&&($=65536+($-55296<<10)+(S-56320),E++),$<128?M[ie++]=$:($<2048?M[ie++]=192|$>>>6:($<65536?M[ie++]=224|$>>>12:(M[ie++]=240|$>>>18,M[ie++]=128|$>>>12&63),M[ie++]=128|$>>>6&63),M[ie++]=128|63&$);return M}(R)},q.utf8decode=function(R){return _.nodebuffer?ee.transformTo("nodebuffer",R).toString("utf-8"):function(X){var M,$,S,E,ie=X.length,J=new Array(2*ie);for(M=$=0;M<ie;)if((S=X[M++])<128)J[$++]=S;else if(4<(E=u[S]))J[$++]=65533,M+=E-1;else{for(S&=E===2?31:E===3?15:7;1<E&&M<ie;)S=S<<6|63&X[M++],E--;1<E?J[$++]=65533:S<65536?J[$++]=S:(S-=65536,J[$++]=55296|S>>10&1023,J[$++]=56320|1023&S)}return J.length!==$&&(J.subarray?J=J.subarray(0,$):J.length=$),ee.applyFromCharCode(J)}(R=ee.transformTo(_.uint8array?"uint8array":"array",R))},ee.inherits(F,G),F.prototype.processChunk=function(R){var X=ee.transformTo(_.uint8array?"uint8array":"array",R.data);if(this.leftOver&&this.leftOver.length){if(_.uint8array){var M=X;(X=new Uint8Array(M.length+this.leftOver.length)).set(this.leftOver,0),X.set(M,this.leftOver.length)}else X=this.leftOver.concat(X);this.leftOver=null}var $=function(E,ie){var J;for((ie=ie||E.length)>E.length&&(ie=E.length),J=ie-1;0<=J&&(192&E[J])==128;)J--;return J<0||J===0?ie:J+u[E[J]]>ie?J:ie}(X),S=X;$!==X.length&&(_.uint8array?(S=X.subarray(0,$),this.leftOver=X.subarray($,X.length)):(S=X.slice(0,$),this.leftOver=X.slice($,X.length))),this.push({data:q.utf8decode(S),meta:R.meta})},F.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:q.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},q.Utf8DecodeWorker=F,ee.inherits(K,G),K.prototype.processChunk=function(R){this.push({data:q.utf8encode(R.data),meta:R.meta})},q.Utf8EncodeWorker=K},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(L,Re,q){"use strict";var ee=L("./support"),_=L("./base64"),y=L("./nodejsUtils"),G=L("./external");function u(M){return M}function B(M,$){for(var S=0;S<M.length;++S)$[S]=255&M.charCodeAt(S);return $}L("setimmediate"),q.newBlob=function(M,$){q.checkSupport("blob");try{return new Blob([M],{type:$})}catch(E){try{var S=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return S.append(M),S.getBlob($)}catch(ie){throw new Error("Bug : can't construct the Blob.")}}};var F={stringifyByChunk:function(M,$,S){var E=[],ie=0,J=M.length;if(J<=S)return String.fromCharCode.apply(null,M);for(;ie<J;)$==="array"||$==="nodebuffer"?E.push(String.fromCharCode.apply(null,M.slice(ie,Math.min(ie+S,J)))):E.push(String.fromCharCode.apply(null,M.subarray(ie,Math.min(ie+S,J)))),ie+=S;return E.join("")},stringifyByChar:function(M){for(var $="",S=0;S<M.length;S++)$+=String.fromCharCode(M[S]);return $},applyCanBeUsed:{uint8array:function(){try{return ee.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(M){return!1}}(),nodebuffer:function(){try{return ee.nodebuffer&&String.fromCharCode.apply(null,y.allocBuffer(1)).length===1}catch(M){return!1}}()}};function K(M){var $=65536,S=q.getTypeOf(M),E=!0;if(S==="uint8array"?E=F.applyCanBeUsed.uint8array:S==="nodebuffer"&&(E=F.applyCanBeUsed.nodebuffer),E)for(;1<$;)try{return F.stringifyByChunk(M,S,$)}catch(ie){$=Math.floor($/2)}return F.stringifyByChar(M)}function R(M,$){for(var S=0;S<M.length;S++)$[S]=M[S];return $}q.applyFromCharCode=K;var X={};X.string={string:u,array:function(M){return B(M,new Array(M.length))},arraybuffer:function(M){return X.string.uint8array(M).buffer},uint8array:function(M){return B(M,new Uint8Array(M.length))},nodebuffer:function(M){return B(M,y.allocBuffer(M.length))}},X.array={string:K,array:u,arraybuffer:function(M){return new Uint8Array(M).buffer},uint8array:function(M){return new Uint8Array(M)},nodebuffer:function(M){return y.newBufferFrom(M)}},X.arraybuffer={string:function(M){return K(new Uint8Array(M))},array:function(M){return R(new Uint8Array(M),new Array(M.byteLength))},arraybuffer:u,uint8array:function(M){return new Uint8Array(M)},nodebuffer:function(M){return y.newBufferFrom(new Uint8Array(M))}},X.uint8array={string:K,array:function(M){return R(M,new Array(M.length))},arraybuffer:function(M){return M.buffer},uint8array:u,nodebuffer:function(M){return y.newBufferFrom(M)}},X.nodebuffer={string:K,array:function(M){return R(M,new Array(M.length))},arraybuffer:function(M){return X.nodebuffer.uint8array(M).buffer},uint8array:function(M){return R(M,new Uint8Array(M.length))},nodebuffer:u},q.transformTo=function(M,$){if($=$||"",!M)return $;q.checkSupport(M);var S=q.getTypeOf($);return X[S][M]($)},q.resolve=function(M){for(var $=M.split("/"),S=[],E=0;E<$.length;E++){var ie=$[E];ie==="."||ie===""&&E!==0&&E!==$.length-1||(ie===".."?S.pop():S.push(ie))}return S.join("/")},q.getTypeOf=function(M){return typeof M=="string"?"string":Object.prototype.toString.call(M)==="[object Array]"?"array":ee.nodebuffer&&y.isBuffer(M)?"nodebuffer":ee.uint8array&&M instanceof Uint8Array?"uint8array":ee.arraybuffer&&M instanceof ArrayBuffer?"arraybuffer":void 0},q.checkSupport=function(M){if(!ee[M.toLowerCase()])throw new Error(M+" is not supported by this platform")},q.MAX_VALUE_16BITS=65535,q.MAX_VALUE_32BITS=-1,q.pretty=function(M){var $,S,E="";for(S=0;S<(M||"").length;S++)E+="\\x"+(($=M.charCodeAt(S))<16?"0":"")+$.toString(16).toUpperCase();return E},q.delay=function(M,$,S){setImmediate(function(){M.apply(S||null,$||[])})},q.inherits=function(M,$){function S(){}S.prototype=$.prototype,M.prototype=new S},q.extend=function(){var M,$,S={};for(M=0;M<arguments.length;M++)for($ in arguments[M])Object.prototype.hasOwnProperty.call(arguments[M],$)&&S[$]===void 0&&(S[$]=arguments[M][$]);return S},q.prepareContent=function(M,$,S,E,ie){return G.Promise.resolve($).then(function(J){return ee.blob&&(J instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(J))!==-1)&&typeof FileReader!="undefined"?new G.Promise(function(te,$e){var Ne=new FileReader;Ne.onload=function(Qe){te(Qe.target.result)},Ne.onerror=function(Qe){$e(Qe.target.error)},Ne.readAsArrayBuffer(J)}):J}).then(function(J){var te=q.getTypeOf(J);return te?(te==="arraybuffer"?J=q.transformTo("uint8array",J):te==="string"&&(ie?J=_.decode(J):S&&E!==!0&&(J=function($e){return B($e,ee.uint8array?new Uint8Array($e.length):new Array($e.length))}(J))),J):G.Promise.reject(new Error("Can't read the data of '"+M+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(L,Re,q){"use strict";var ee=L("./reader/readerFor"),_=L("./utils"),y=L("./signature"),G=L("./zipEntry"),u=L("./support");function B(F){this.files=[],this.loadOptions=F}B.prototype={checkSignature:function(F){if(!this.reader.readAndCheckSignature(F)){this.reader.index-=4;var K=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+_.pretty(K)+", expected "+_.pretty(F)+")")}},isSignature:function(F,K){var R=this.reader.index;this.reader.setIndex(F);var X=this.reader.readString(4)===K;return this.reader.setIndex(R),X},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var F=this.reader.readData(this.zipCommentLength),K=u.uint8array?"uint8array":"array",R=_.transformTo(K,F);this.zipComment=this.loadOptions.decodeFileName(R)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var F,K,R,X=this.zip64EndOfCentralSize-44;0<X;)F=this.reader.readInt(2),K=this.reader.readInt(4),R=this.reader.readData(K),this.zip64ExtensibleData[F]={id:F,length:K,value:R}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var F,K;for(F=0;F<this.files.length;F++)K=this.files[F],this.reader.setIndex(K.localHeaderOffset),this.checkSignature(y.LOCAL_FILE_HEADER),K.readLocalPart(this.reader),K.handleUTF8(),K.processAttributes()},readCentralDir:function(){var F;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(y.CENTRAL_FILE_HEADER);)(F=new G({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(F);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var F=this.reader.lastIndexOfSignature(y.CENTRAL_DIRECTORY_END);if(F<0)throw this.isSignature(0,y.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(F);var K=F;if(this.checkSignature(y.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===_.MAX_VALUE_16BITS||this.diskWithCentralDirStart===_.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===_.MAX_VALUE_16BITS||this.centralDirRecords===_.MAX_VALUE_16BITS||this.centralDirSize===_.MAX_VALUE_32BITS||this.centralDirOffset===_.MAX_VALUE_32BITS){if(this.zip64=!0,(F=this.reader.lastIndexOfSignature(y.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(F),this.checkSignature(y.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,y.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(y.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(y.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var R=this.centralDirOffset+this.centralDirSize;this.zip64&&(R+=20,R+=12+this.zip64EndOfCentralSize);var X=K-R;if(0<X)this.isSignature(K,y.CENTRAL_FILE_HEADER)||(this.reader.zero=X);else if(X<0)throw new Error("Corrupted zip: missing "+Math.abs(X)+" bytes.")},prepareReader:function(F){this.reader=ee(F)},load:function(F){this.prepareReader(F),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},Re.exports=B},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(L,Re,q){"use strict";var ee=L("./reader/readerFor"),_=L("./utils"),y=L("./compressedObject"),G=L("./crc32"),u=L("./utf8"),B=L("./compressions"),F=L("./support");function K(R,X){this.options=R,this.loadOptions=X}K.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(R){var X,M;if(R.skip(22),this.fileNameLength=R.readInt(2),M=R.readInt(2),this.fileName=R.readData(this.fileNameLength),R.skip(M),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((X=function($){for(var S in B)if(Object.prototype.hasOwnProperty.call(B,S)&&B[S].magic===$)return B[S];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+_.pretty(this.compressionMethod)+" unknown (inner file : "+_.transformTo("string",this.fileName)+")");this.decompressed=new y(this.compressedSize,this.uncompressedSize,this.crc32,X,R.readData(this.compressedSize))},readCentralPart:function(R){this.versionMadeBy=R.readInt(2),R.skip(2),this.bitFlag=R.readInt(2),this.compressionMethod=R.readString(2),this.date=R.readDate(),this.crc32=R.readInt(4),this.compressedSize=R.readInt(4),this.uncompressedSize=R.readInt(4);var X=R.readInt(2);if(this.extraFieldsLength=R.readInt(2),this.fileCommentLength=R.readInt(2),this.diskNumberStart=R.readInt(2),this.internalFileAttributes=R.readInt(2),this.externalFileAttributes=R.readInt(4),this.localHeaderOffset=R.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");R.skip(X),this.readExtraFields(R),this.parseZIP64ExtraField(R),this.fileComment=R.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var R=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),R==0&&(this.dosPermissions=63&this.externalFileAttributes),R==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var R=ee(this.extraFields[1].value);this.uncompressedSize===_.MAX_VALUE_32BITS&&(this.uncompressedSize=R.readInt(8)),this.compressedSize===_.MAX_VALUE_32BITS&&(this.compressedSize=R.readInt(8)),this.localHeaderOffset===_.MAX_VALUE_32BITS&&(this.localHeaderOffset=R.readInt(8)),this.diskNumberStart===_.MAX_VALUE_32BITS&&(this.diskNumberStart=R.readInt(4))}},readExtraFields:function(R){var X,M,$,S=R.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});R.index+4<S;)X=R.readInt(2),M=R.readInt(2),$=R.readData(M),this.extraFields[X]={id:X,length:M,value:$};R.setIndex(S)},handleUTF8:function(){var R=F.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=u.utf8decode(this.fileName),this.fileCommentStr=u.utf8decode(this.fileComment);else{var X=this.findExtraFieldUnicodePath();if(X!==null)this.fileNameStr=X;else{var M=_.transformTo(R,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(M)}var $=this.findExtraFieldUnicodeComment();if($!==null)this.fileCommentStr=$;else{var S=_.transformTo(R,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(S)}}},findExtraFieldUnicodePath:function(){var R=this.extraFields[28789];if(R){var X=ee(R.value);return X.readInt(1)!==1||G(this.fileName)!==X.readInt(4)?null:u.utf8decode(X.readData(R.length-5))}return null},findExtraFieldUnicodeComment:function(){var R=this.extraFields[25461];if(R){var X=ee(R.value);return X.readInt(1)!==1||G(this.fileComment)!==X.readInt(4)?null:u.utf8decode(X.readData(R.length-5))}return null}},Re.exports=K},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(L,Re,q){"use strict";function ee(X,M,$){this.name=X,this.dir=$.dir,this.date=$.date,this.comment=$.comment,this.unixPermissions=$.unixPermissions,this.dosPermissions=$.dosPermissions,this._data=M,this._dataBinary=$.binary,this.options={compression:$.compression,compressionOptions:$.compressionOptions}}var _=L("./stream/StreamHelper"),y=L("./stream/DataWorker"),G=L("./utf8"),u=L("./compressedObject"),B=L("./stream/GenericWorker");ee.prototype={internalStream:function(X){var M=null,$="string";try{if(!X)throw new Error("No output type specified.");var S=($=X.toLowerCase())==="string"||$==="text";$!=="binarystring"&&$!=="text"||($="string"),M=this._decompressWorker();var E=!this._dataBinary;E&&!S&&(M=M.pipe(new G.Utf8EncodeWorker)),!E&&S&&(M=M.pipe(new G.Utf8DecodeWorker))}catch(ie){(M=new B("error")).error(ie)}return new _(M,$,"")},async:function(X,M){return this.internalStream(X).accumulate(M)},nodeStream:function(X,M){return this.internalStream(X||"nodebuffer").toNodejsStream(M)},_compressWorker:function(X,M){if(this._data instanceof u&&this._data.compression.magic===X.magic)return this._data.getCompressedWorker();var $=this._decompressWorker();return this._dataBinary||($=$.pipe(new G.Utf8EncodeWorker)),u.createWorkerFrom($,X,M)},_decompressWorker:function(){return this._data instanceof u?this._data.getContentWorker():this._data instanceof B?this._data:new y(this._data)}};for(var F=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],K=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},R=0;R<F.length;R++)ee.prototype[F[R]]=K;Re.exports=ee},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(L,Re,q){(function(ee){"use strict";var _,y,G=ee.MutationObserver||ee.WebKitMutationObserver;if(G){var u=0,B=new G(X),F=ee.document.createTextNode("");B.observe(F,{characterData:!0}),_=function(){F.data=u=++u%2}}else if(ee.setImmediate||ee.MessageChannel===void 0)_="document"in ee&&"onreadystatechange"in ee.document.createElement("script")?function(){var M=ee.document.createElement("script");M.onreadystatechange=function(){X(),M.onreadystatechange=null,M.parentNode.removeChild(M),M=null},ee.document.documentElement.appendChild(M)}:function(){setTimeout(X,0)};else{var K=new ee.MessageChannel;K.port1.onmessage=X,_=function(){K.port2.postMessage(0)}}var R=[];function X(){var M,$;y=!0;for(var S=R.length;S;){for($=R,R=[],M=-1;++M<S;)$[M]();S=R.length}y=!1}Re.exports=function(M){R.push(M)!==1||y||_()}}).call(this,typeof n.g!="undefined"?n.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(L,Re,q){"use strict";var ee=L("immediate");function _(){}var y={},G=["REJECTED"],u=["FULFILLED"],B=["PENDING"];function F(S){if(typeof S!="function")throw new TypeError("resolver must be a function");this.state=B,this.queue=[],this.outcome=void 0,S!==_&&M(this,S)}function K(S,E,ie){this.promise=S,typeof E=="function"&&(this.onFulfilled=E,this.callFulfilled=this.otherCallFulfilled),typeof ie=="function"&&(this.onRejected=ie,this.callRejected=this.otherCallRejected)}function R(S,E,ie){ee(function(){var J;try{J=E(ie)}catch(te){return y.reject(S,te)}J===S?y.reject(S,new TypeError("Cannot resolve promise with itself")):y.resolve(S,J)})}function X(S){var E=S&&S.then;if(S&&(typeof S=="object"||typeof S=="function")&&typeof E=="function")return function(){E.apply(S,arguments)}}function M(S,E){var ie=!1;function J(Ne){ie||(ie=!0,y.reject(S,Ne))}function te(Ne){ie||(ie=!0,y.resolve(S,Ne))}var $e=$(function(){E(te,J)});$e.status==="error"&&J($e.value)}function $(S,E){var ie={};try{ie.value=S(E),ie.status="success"}catch(J){ie.status="error",ie.value=J}return ie}(Re.exports=F).prototype.finally=function(S){if(typeof S!="function")return this;var E=this.constructor;return this.then(function(ie){return E.resolve(S()).then(function(){return ie})},function(ie){return E.resolve(S()).then(function(){throw ie})})},F.prototype.catch=function(S){return this.then(null,S)},F.prototype.then=function(S,E){if(typeof S!="function"&&this.state===u||typeof E!="function"&&this.state===G)return this;var ie=new this.constructor(_);return this.state!==B?R(ie,this.state===u?S:E,this.outcome):this.queue.push(new K(ie,S,E)),ie},K.prototype.callFulfilled=function(S){y.resolve(this.promise,S)},K.prototype.otherCallFulfilled=function(S){R(this.promise,this.onFulfilled,S)},K.prototype.callRejected=function(S){y.reject(this.promise,S)},K.prototype.otherCallRejected=function(S){R(this.promise,this.onRejected,S)},y.resolve=function(S,E){var ie=$(X,E);if(ie.status==="error")return y.reject(S,ie.value);var J=ie.value;if(J)M(S,J);else{S.state=u,S.outcome=E;for(var te=-1,$e=S.queue.length;++te<$e;)S.queue[te].callFulfilled(E)}return S},y.reject=function(S,E){S.state=G,S.outcome=E;for(var ie=-1,J=S.queue.length;++ie<J;)S.queue[ie].callRejected(E);return S},F.resolve=function(S){return S instanceof this?S:y.resolve(new this(_),S)},F.reject=function(S){var E=new this(_);return y.reject(E,S)},F.all=function(S){var E=this;if(Object.prototype.toString.call(S)!=="[object Array]")return this.reject(new TypeError("must be an array"));var ie=S.length,J=!1;if(!ie)return this.resolve([]);for(var te=new Array(ie),$e=0,Ne=-1,Qe=new this(_);++Ne<ie;)Ze(S[Ne],Ne);return Qe;function Ze(we,xe){E.resolve(we).then(function(Q){te[xe]=Q,++$e!==ie||J||(J=!0,y.resolve(Qe,te))},function(Q){J||(J=!0,y.reject(Qe,Q))})}},F.race=function(S){var E=this;if(Object.prototype.toString.call(S)!=="[object Array]")return this.reject(new TypeError("must be an array"));var ie=S.length,J=!1;if(!ie)return this.resolve([]);for(var te=-1,$e=new this(_);++te<ie;)Ne=S[te],E.resolve(Ne).then(function(Qe){J||(J=!0,y.resolve($e,Qe))},function(Qe){J||(J=!0,y.reject($e,Qe))});var Ne;return $e}},{immediate:36}],38:[function(L,Re,q){"use strict";var ee={};(0,L("./lib/utils/common").assign)(ee,L("./lib/deflate"),L("./lib/inflate"),L("./lib/zlib/constants")),Re.exports=ee},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(L,Re,q){"use strict";var ee=L("./zlib/deflate"),_=L("./utils/common"),y=L("./utils/strings"),G=L("./zlib/messages"),u=L("./zlib/zstream"),B=Object.prototype.toString,F=0,K=-1,R=0,X=8;function M(S){if(!(this instanceof M))return new M(S);this.options=_.assign({level:K,method:X,chunkSize:16384,windowBits:15,memLevel:8,strategy:R,to:""},S||{});var E=this.options;E.raw&&0<E.windowBits?E.windowBits=-E.windowBits:E.gzip&&0<E.windowBits&&E.windowBits<16&&(E.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var ie=ee.deflateInit2(this.strm,E.level,E.method,E.windowBits,E.memLevel,E.strategy);if(ie!==F)throw new Error(G[ie]);if(E.header&&ee.deflateSetHeader(this.strm,E.header),E.dictionary){var J;if(J=typeof E.dictionary=="string"?y.string2buf(E.dictionary):B.call(E.dictionary)==="[object ArrayBuffer]"?new Uint8Array(E.dictionary):E.dictionary,(ie=ee.deflateSetDictionary(this.strm,J))!==F)throw new Error(G[ie]);this._dict_set=!0}}function $(S,E){var ie=new M(E);if(ie.push(S,!0),ie.err)throw ie.msg||G[ie.err];return ie.result}M.prototype.push=function(S,E){var ie,J,te=this.strm,$e=this.options.chunkSize;if(this.ended)return!1;J=E===~~E?E:E===!0?4:0,typeof S=="string"?te.input=y.string2buf(S):B.call(S)==="[object ArrayBuffer]"?te.input=new Uint8Array(S):te.input=S,te.next_in=0,te.avail_in=te.input.length;do{if(te.avail_out===0&&(te.output=new _.Buf8($e),te.next_out=0,te.avail_out=$e),(ie=ee.deflate(te,J))!==1&&ie!==F)return this.onEnd(ie),!(this.ended=!0);te.avail_out!==0&&(te.avail_in!==0||J!==4&&J!==2)||(this.options.to==="string"?this.onData(y.buf2binstring(_.shrinkBuf(te.output,te.next_out))):this.onData(_.shrinkBuf(te.output,te.next_out)))}while((0<te.avail_in||te.avail_out===0)&&ie!==1);return J===4?(ie=ee.deflateEnd(this.strm),this.onEnd(ie),this.ended=!0,ie===F):J!==2||(this.onEnd(F),!(te.avail_out=0))},M.prototype.onData=function(S){this.chunks.push(S)},M.prototype.onEnd=function(S){S===F&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=_.flattenChunks(this.chunks)),this.chunks=[],this.err=S,this.msg=this.strm.msg},q.Deflate=M,q.deflate=$,q.deflateRaw=function(S,E){return(E=E||{}).raw=!0,$(S,E)},q.gzip=function(S,E){return(E=E||{}).gzip=!0,$(S,E)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(L,Re,q){"use strict";var ee=L("./zlib/inflate"),_=L("./utils/common"),y=L("./utils/strings"),G=L("./zlib/constants"),u=L("./zlib/messages"),B=L("./zlib/zstream"),F=L("./zlib/gzheader"),K=Object.prototype.toString;function R(M){if(!(this instanceof R))return new R(M);this.options=_.assign({chunkSize:16384,windowBits:0,to:""},M||{});var $=this.options;$.raw&&0<=$.windowBits&&$.windowBits<16&&($.windowBits=-$.windowBits,$.windowBits===0&&($.windowBits=-15)),!(0<=$.windowBits&&$.windowBits<16)||M&&M.windowBits||($.windowBits+=32),15<$.windowBits&&$.windowBits<48&&!(15&$.windowBits)&&($.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new B,this.strm.avail_out=0;var S=ee.inflateInit2(this.strm,$.windowBits);if(S!==G.Z_OK)throw new Error(u[S]);this.header=new F,ee.inflateGetHeader(this.strm,this.header)}function X(M,$){var S=new R($);if(S.push(M,!0),S.err)throw S.msg||u[S.err];return S.result}R.prototype.push=function(M,$){var S,E,ie,J,te,$e,Ne=this.strm,Qe=this.options.chunkSize,Ze=this.options.dictionary,we=!1;if(this.ended)return!1;E=$===~~$?$:$===!0?G.Z_FINISH:G.Z_NO_FLUSH,typeof M=="string"?Ne.input=y.binstring2buf(M):K.call(M)==="[object ArrayBuffer]"?Ne.input=new Uint8Array(M):Ne.input=M,Ne.next_in=0,Ne.avail_in=Ne.input.length;do{if(Ne.avail_out===0&&(Ne.output=new _.Buf8(Qe),Ne.next_out=0,Ne.avail_out=Qe),(S=ee.inflate(Ne,G.Z_NO_FLUSH))===G.Z_NEED_DICT&&Ze&&($e=typeof Ze=="string"?y.string2buf(Ze):K.call(Ze)==="[object ArrayBuffer]"?new Uint8Array(Ze):Ze,S=ee.inflateSetDictionary(this.strm,$e)),S===G.Z_BUF_ERROR&&we===!0&&(S=G.Z_OK,we=!1),S!==G.Z_STREAM_END&&S!==G.Z_OK)return this.onEnd(S),!(this.ended=!0);Ne.next_out&&(Ne.avail_out!==0&&S!==G.Z_STREAM_END&&(Ne.avail_in!==0||E!==G.Z_FINISH&&E!==G.Z_SYNC_FLUSH)||(this.options.to==="string"?(ie=y.utf8border(Ne.output,Ne.next_out),J=Ne.next_out-ie,te=y.buf2string(Ne.output,ie),Ne.next_out=J,Ne.avail_out=Qe-J,J&&_.arraySet(Ne.output,Ne.output,ie,J,0),this.onData(te)):this.onData(_.shrinkBuf(Ne.output,Ne.next_out)))),Ne.avail_in===0&&Ne.avail_out===0&&(we=!0)}while((0<Ne.avail_in||Ne.avail_out===0)&&S!==G.Z_STREAM_END);return S===G.Z_STREAM_END&&(E=G.Z_FINISH),E===G.Z_FINISH?(S=ee.inflateEnd(this.strm),this.onEnd(S),this.ended=!0,S===G.Z_OK):E!==G.Z_SYNC_FLUSH||(this.onEnd(G.Z_OK),!(Ne.avail_out=0))},R.prototype.onData=function(M){this.chunks.push(M)},R.prototype.onEnd=function(M){M===G.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=_.flattenChunks(this.chunks)),this.chunks=[],this.err=M,this.msg=this.strm.msg},q.Inflate=R,q.inflate=X,q.inflateRaw=function(M,$){return($=$||{}).raw=!0,X(M,$)},q.ungzip=X},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(L,Re,q){"use strict";var ee=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";q.assign=function(G){for(var u=Array.prototype.slice.call(arguments,1);u.length;){var B=u.shift();if(B){if(typeof B!="object")throw new TypeError(B+"must be non-object");for(var F in B)B.hasOwnProperty(F)&&(G[F]=B[F])}}return G},q.shrinkBuf=function(G,u){return G.length===u?G:G.subarray?G.subarray(0,u):(G.length=u,G)};var _={arraySet:function(G,u,B,F,K){if(u.subarray&&G.subarray)G.set(u.subarray(B,B+F),K);else for(var R=0;R<F;R++)G[K+R]=u[B+R]},flattenChunks:function(G){var u,B,F,K,R,X;for(u=F=0,B=G.length;u<B;u++)F+=G[u].length;for(X=new Uint8Array(F),u=K=0,B=G.length;u<B;u++)R=G[u],X.set(R,K),K+=R.length;return X}},y={arraySet:function(G,u,B,F,K){for(var R=0;R<F;R++)G[K+R]=u[B+R]},flattenChunks:function(G){return[].concat.apply([],G)}};q.setTyped=function(G){G?(q.Buf8=Uint8Array,q.Buf16=Uint16Array,q.Buf32=Int32Array,q.assign(q,_)):(q.Buf8=Array,q.Buf16=Array,q.Buf32=Array,q.assign(q,y))},q.setTyped(ee)},{}],42:[function(L,Re,q){"use strict";var ee=L("./common"),_=!0,y=!0;try{String.fromCharCode.apply(null,[0])}catch(F){_=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(F){y=!1}for(var G=new ee.Buf8(256),u=0;u<256;u++)G[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;function B(F,K){if(K<65537&&(F.subarray&&y||!F.subarray&&_))return String.fromCharCode.apply(null,ee.shrinkBuf(F,K));for(var R="",X=0;X<K;X++)R+=String.fromCharCode(F[X]);return R}G[254]=G[254]=1,q.string2buf=function(F){var K,R,X,M,$,S=F.length,E=0;for(M=0;M<S;M++)(64512&(R=F.charCodeAt(M)))==55296&&M+1<S&&(64512&(X=F.charCodeAt(M+1)))==56320&&(R=65536+(R-55296<<10)+(X-56320),M++),E+=R<128?1:R<2048?2:R<65536?3:4;for(K=new ee.Buf8(E),M=$=0;$<E;M++)(64512&(R=F.charCodeAt(M)))==55296&&M+1<S&&(64512&(X=F.charCodeAt(M+1)))==56320&&(R=65536+(R-55296<<10)+(X-56320),M++),R<128?K[$++]=R:(R<2048?K[$++]=192|R>>>6:(R<65536?K[$++]=224|R>>>12:(K[$++]=240|R>>>18,K[$++]=128|R>>>12&63),K[$++]=128|R>>>6&63),K[$++]=128|63&R);return K},q.buf2binstring=function(F){return B(F,F.length)},q.binstring2buf=function(F){for(var K=new ee.Buf8(F.length),R=0,X=K.length;R<X;R++)K[R]=F.charCodeAt(R);return K},q.buf2string=function(F,K){var R,X,M,$,S=K||F.length,E=new Array(2*S);for(R=X=0;R<S;)if((M=F[R++])<128)E[X++]=M;else if(4<($=G[M]))E[X++]=65533,R+=$-1;else{for(M&=$===2?31:$===3?15:7;1<$&&R<S;)M=M<<6|63&F[R++],$--;1<$?E[X++]=65533:M<65536?E[X++]=M:(M-=65536,E[X++]=55296|M>>10&1023,E[X++]=56320|1023&M)}return B(E,X)},q.utf8border=function(F,K){var R;for((K=K||F.length)>F.length&&(K=F.length),R=K-1;0<=R&&(192&F[R])==128;)R--;return R<0||R===0?K:R+G[F[R]]>K?R:K}},{"./common":41}],43:[function(L,Re,q){"use strict";Re.exports=function(ee,_,y,G){for(var u=65535&ee|0,B=ee>>>16&65535|0,F=0;y!==0;){for(y-=F=2e3<y?2e3:y;B=B+(u=u+_[G++]|0)|0,--F;);u%=65521,B%=65521}return u|B<<16|0}},{}],44:[function(L,Re,q){"use strict";Re.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(L,Re,q){"use strict";var ee=function(){for(var _,y=[],G=0;G<256;G++){_=G;for(var u=0;u<8;u++)_=1&_?3988292384^_>>>1:_>>>1;y[G]=_}return y}();Re.exports=function(_,y,G,u){var B=ee,F=u+G;_^=-1;for(var K=u;K<F;K++)_=_>>>8^B[255&(_^y[K])];return-1^_}},{}],46:[function(L,Re,q){"use strict";var ee,_=L("../utils/common"),y=L("./trees"),G=L("./adler32"),u=L("./crc32"),B=L("./messages"),F=0,K=4,R=0,X=-2,M=-1,$=4,S=2,E=8,ie=9,J=286,te=30,$e=19,Ne=2*J+1,Qe=15,Ze=3,we=258,xe=we+Ze+1,Q=42,ye=113,N=1,I=2,nt=3,ce=4;function le(j,_e){return j.msg=B[_e],_e}function w(j){return(j<<1)-(4<j?9:0)}function k(j){for(var _e=j.length;0<=--_e;)j[_e]=0}function z(j){var _e=j.state,be=_e.pending;be>j.avail_out&&(be=j.avail_out),be!==0&&(_.arraySet(j.output,_e.pending_buf,_e.pending_out,be,j.next_out),j.next_out+=be,_e.pending_out+=be,j.total_out+=be,j.avail_out-=be,_e.pending-=be,_e.pending===0&&(_e.pending_out=0))}function C(j,_e){y._tr_flush_block(j,0<=j.block_start?j.block_start:-1,j.strstart-j.block_start,_e),j.block_start=j.strstart,z(j.strm)}function Y(j,_e){j.pending_buf[j.pending++]=_e}function He(j,_e){j.pending_buf[j.pending++]=_e>>>8&255,j.pending_buf[j.pending++]=255&_e}function pe(j,_e){var be,fe,he=j.max_chain_length,me=j.strstart,Ie=j.prev_length,Se=j.nice_match,Me=j.strstart>j.w_size-xe?j.strstart-(j.w_size-xe):0,Je=j.window,pt=j.w_mask,$t=j.prev,Yt=j.strstart+we,Gt=Je[me+Ie-1],Pt=Je[me+Ie];j.prev_length>=j.good_match&&(he>>=2),Se>j.lookahead&&(Se=j.lookahead);do if(Je[(be=_e)+Ie]===Pt&&Je[be+Ie-1]===Gt&&Je[be]===Je[me]&&Je[++be]===Je[me+1]){me+=2,be++;do;while(Je[++me]===Je[++be]&&Je[++me]===Je[++be]&&Je[++me]===Je[++be]&&Je[++me]===Je[++be]&&Je[++me]===Je[++be]&&Je[++me]===Je[++be]&&Je[++me]===Je[++be]&&Je[++me]===Je[++be]&&me<Yt);if(fe=we-(Yt-me),me=Yt-we,Ie<fe){if(j.match_start=_e,Se<=(Ie=fe))break;Gt=Je[me+Ie-1],Pt=Je[me+Ie]}}while((_e=$t[_e&pt])>Me&&--he!=0);return Ie<=j.lookahead?Ie:j.lookahead}function Ue(j){var _e,be,fe,he,me,Ie,Se,Me,Je,pt,$t=j.w_size;do{if(he=j.window_size-j.lookahead-j.strstart,j.strstart>=$t+($t-xe)){for(_.arraySet(j.window,j.window,$t,$t,0),j.match_start-=$t,j.strstart-=$t,j.block_start-=$t,_e=be=j.hash_size;fe=j.head[--_e],j.head[_e]=$t<=fe?fe-$t:0,--be;);for(_e=be=$t;fe=j.prev[--_e],j.prev[_e]=$t<=fe?fe-$t:0,--be;);he+=$t}if(j.strm.avail_in===0)break;if(Ie=j.strm,Se=j.window,Me=j.strstart+j.lookahead,Je=he,pt=void 0,pt=Ie.avail_in,Je<pt&&(pt=Je),be=pt===0?0:(Ie.avail_in-=pt,_.arraySet(Se,Ie.input,Ie.next_in,pt,Me),Ie.state.wrap===1?Ie.adler=G(Ie.adler,Se,pt,Me):Ie.state.wrap===2&&(Ie.adler=u(Ie.adler,Se,pt,Me)),Ie.next_in+=pt,Ie.total_in+=pt,pt),j.lookahead+=be,j.lookahead+j.insert>=Ze)for(me=j.strstart-j.insert,j.ins_h=j.window[me],j.ins_h=(j.ins_h<<j.hash_shift^j.window[me+1])&j.hash_mask;j.insert&&(j.ins_h=(j.ins_h<<j.hash_shift^j.window[me+Ze-1])&j.hash_mask,j.prev[me&j.w_mask]=j.head[j.ins_h],j.head[j.ins_h]=me,me++,j.insert--,!(j.lookahead+j.insert<Ze)););}while(j.lookahead<xe&&j.strm.avail_in!==0)}function ot(j,_e){for(var be,fe;;){if(j.lookahead<xe){if(Ue(j),j.lookahead<xe&&_e===F)return N;if(j.lookahead===0)break}if(be=0,j.lookahead>=Ze&&(j.ins_h=(j.ins_h<<j.hash_shift^j.window[j.strstart+Ze-1])&j.hash_mask,be=j.prev[j.strstart&j.w_mask]=j.head[j.ins_h],j.head[j.ins_h]=j.strstart),be!==0&&j.strstart-be<=j.w_size-xe&&(j.match_length=pe(j,be)),j.match_length>=Ze)if(fe=y._tr_tally(j,j.strstart-j.match_start,j.match_length-Ze),j.lookahead-=j.match_length,j.match_length<=j.max_lazy_match&&j.lookahead>=Ze){for(j.match_length--;j.strstart++,j.ins_h=(j.ins_h<<j.hash_shift^j.window[j.strstart+Ze-1])&j.hash_mask,be=j.prev[j.strstart&j.w_mask]=j.head[j.ins_h],j.head[j.ins_h]=j.strstart,--j.match_length!=0;);j.strstart++}else j.strstart+=j.match_length,j.match_length=0,j.ins_h=j.window[j.strstart],j.ins_h=(j.ins_h<<j.hash_shift^j.window[j.strstart+1])&j.hash_mask;else fe=y._tr_tally(j,0,j.window[j.strstart]),j.lookahead--,j.strstart++;if(fe&&(C(j,!1),j.strm.avail_out===0))return N}return j.insert=j.strstart<Ze-1?j.strstart:Ze-1,_e===K?(C(j,!0),j.strm.avail_out===0?nt:ce):j.last_lit&&(C(j,!1),j.strm.avail_out===0)?N:I}function ct(j,_e){for(var be,fe,he;;){if(j.lookahead<xe){if(Ue(j),j.lookahead<xe&&_e===F)return N;if(j.lookahead===0)break}if(be=0,j.lookahead>=Ze&&(j.ins_h=(j.ins_h<<j.hash_shift^j.window[j.strstart+Ze-1])&j.hash_mask,be=j.prev[j.strstart&j.w_mask]=j.head[j.ins_h],j.head[j.ins_h]=j.strstart),j.prev_length=j.match_length,j.prev_match=j.match_start,j.match_length=Ze-1,be!==0&&j.prev_length<j.max_lazy_match&&j.strstart-be<=j.w_size-xe&&(j.match_length=pe(j,be),j.match_length<=5&&(j.strategy===1||j.match_length===Ze&&4096<j.strstart-j.match_start)&&(j.match_length=Ze-1)),j.prev_length>=Ze&&j.match_length<=j.prev_length){for(he=j.strstart+j.lookahead-Ze,fe=y._tr_tally(j,j.strstart-1-j.prev_match,j.prev_length-Ze),j.lookahead-=j.prev_length-1,j.prev_length-=2;++j.strstart<=he&&(j.ins_h=(j.ins_h<<j.hash_shift^j.window[j.strstart+Ze-1])&j.hash_mask,be=j.prev[j.strstart&j.w_mask]=j.head[j.ins_h],j.head[j.ins_h]=j.strstart),--j.prev_length!=0;);if(j.match_available=0,j.match_length=Ze-1,j.strstart++,fe&&(C(j,!1),j.strm.avail_out===0))return N}else if(j.match_available){if((fe=y._tr_tally(j,0,j.window[j.strstart-1]))&&C(j,!1),j.strstart++,j.lookahead--,j.strm.avail_out===0)return N}else j.match_available=1,j.strstart++,j.lookahead--}return j.match_available&&(fe=y._tr_tally(j,0,j.window[j.strstart-1]),j.match_available=0),j.insert=j.strstart<Ze-1?j.strstart:Ze-1,_e===K?(C(j,!0),j.strm.avail_out===0?nt:ce):j.last_lit&&(C(j,!1),j.strm.avail_out===0)?N:I}function ue(j,_e,be,fe,he){this.good_length=j,this.max_lazy=_e,this.nice_length=be,this.max_chain=fe,this.func=he}function Le(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=E,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new _.Buf16(2*Ne),this.dyn_dtree=new _.Buf16(2*(2*te+1)),this.bl_tree=new _.Buf16(2*(2*$e+1)),k(this.dyn_ltree),k(this.dyn_dtree),k(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new _.Buf16(Qe+1),this.heap=new _.Buf16(2*J+1),k(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new _.Buf16(2*J+1),k(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Ct(j){var _e;return j&&j.state?(j.total_in=j.total_out=0,j.data_type=S,(_e=j.state).pending=0,_e.pending_out=0,_e.wrap<0&&(_e.wrap=-_e.wrap),_e.status=_e.wrap?Q:ye,j.adler=_e.wrap===2?0:1,_e.last_flush=F,y._tr_init(_e),R):le(j,X)}function ke(j){var _e=Ct(j);return _e===R&&function(be){be.window_size=2*be.w_size,k(be.head),be.max_lazy_match=ee[be.level].max_lazy,be.good_match=ee[be.level].good_length,be.nice_match=ee[be.level].nice_length,be.max_chain_length=ee[be.level].max_chain,be.strstart=0,be.block_start=0,be.lookahead=0,be.insert=0,be.match_length=be.prev_length=Ze-1,be.match_available=0,be.ins_h=0}(j.state),_e}function De(j,_e,be,fe,he,me){if(!j)return X;var Ie=1;if(_e===M&&(_e=6),fe<0?(Ie=0,fe=-fe):15<fe&&(Ie=2,fe-=16),he<1||ie<he||be!==E||fe<8||15<fe||_e<0||9<_e||me<0||$<me)return le(j,X);fe===8&&(fe=9);var Se=new Le;return(j.state=Se).strm=j,Se.wrap=Ie,Se.gzhead=null,Se.w_bits=fe,Se.w_size=1<<Se.w_bits,Se.w_mask=Se.w_size-1,Se.hash_bits=he+7,Se.hash_size=1<<Se.hash_bits,Se.hash_mask=Se.hash_size-1,Se.hash_shift=~~((Se.hash_bits+Ze-1)/Ze),Se.window=new _.Buf8(2*Se.w_size),Se.head=new _.Buf16(Se.hash_size),Se.prev=new _.Buf16(Se.w_size),Se.lit_bufsize=1<<he+6,Se.pending_buf_size=4*Se.lit_bufsize,Se.pending_buf=new _.Buf8(Se.pending_buf_size),Se.d_buf=1*Se.lit_bufsize,Se.l_buf=3*Se.lit_bufsize,Se.level=_e,Se.strategy=me,Se.method=be,ke(j)}ee=[new ue(0,0,0,0,function(j,_e){var be=65535;for(be>j.pending_buf_size-5&&(be=j.pending_buf_size-5);;){if(j.lookahead<=1){if(Ue(j),j.lookahead===0&&_e===F)return N;if(j.lookahead===0)break}j.strstart+=j.lookahead,j.lookahead=0;var fe=j.block_start+be;if((j.strstart===0||j.strstart>=fe)&&(j.lookahead=j.strstart-fe,j.strstart=fe,C(j,!1),j.strm.avail_out===0)||j.strstart-j.block_start>=j.w_size-xe&&(C(j,!1),j.strm.avail_out===0))return N}return j.insert=0,_e===K?(C(j,!0),j.strm.avail_out===0?nt:ce):(j.strstart>j.block_start&&(C(j,!1),j.strm.avail_out),N)}),new ue(4,4,8,4,ot),new ue(4,5,16,8,ot),new ue(4,6,32,32,ot),new ue(4,4,16,16,ct),new ue(8,16,32,32,ct),new ue(8,16,128,128,ct),new ue(8,32,128,256,ct),new ue(32,128,258,1024,ct),new ue(32,258,258,4096,ct)],q.deflateInit=function(j,_e){return De(j,_e,E,15,8,0)},q.deflateInit2=De,q.deflateReset=ke,q.deflateResetKeep=Ct,q.deflateSetHeader=function(j,_e){return j&&j.state?j.state.wrap!==2?X:(j.state.gzhead=_e,R):X},q.deflate=function(j,_e){var be,fe,he,me;if(!j||!j.state||5<_e||_e<0)return j?le(j,X):X;if(fe=j.state,!j.output||!j.input&&j.avail_in!==0||fe.status===666&&_e!==K)return le(j,j.avail_out===0?-5:X);if(fe.strm=j,be=fe.last_flush,fe.last_flush=_e,fe.status===Q)if(fe.wrap===2)j.adler=0,Y(fe,31),Y(fe,139),Y(fe,8),fe.gzhead?(Y(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)),Y(fe,255&fe.gzhead.time),Y(fe,fe.gzhead.time>>8&255),Y(fe,fe.gzhead.time>>16&255),Y(fe,fe.gzhead.time>>24&255),Y(fe,fe.level===9?2:2<=fe.strategy||fe.level<2?4:0),Y(fe,255&fe.gzhead.os),fe.gzhead.extra&&fe.gzhead.extra.length&&(Y(fe,255&fe.gzhead.extra.length),Y(fe,fe.gzhead.extra.length>>8&255)),fe.gzhead.hcrc&&(j.adler=u(j.adler,fe.pending_buf,fe.pending,0)),fe.gzindex=0,fe.status=69):(Y(fe,0),Y(fe,0),Y(fe,0),Y(fe,0),Y(fe,0),Y(fe,fe.level===9?2:2<=fe.strategy||fe.level<2?4:0),Y(fe,3),fe.status=ye);else{var Ie=E+(fe.w_bits-8<<4)<<8;Ie|=(2<=fe.strategy||fe.level<2?0:fe.level<6?1:fe.level===6?2:3)<<6,fe.strstart!==0&&(Ie|=32),Ie+=31-Ie%31,fe.status=ye,He(fe,Ie),fe.strstart!==0&&(He(fe,j.adler>>>16),He(fe,65535&j.adler)),j.adler=1}if(fe.status===69)if(fe.gzhead.extra){for(he=fe.pending;fe.gzindex<(65535&fe.gzhead.extra.length)&&(fe.pending!==fe.pending_buf_size||(fe.gzhead.hcrc&&fe.pending>he&&(j.adler=u(j.adler,fe.pending_buf,fe.pending-he,he)),z(j),he=fe.pending,fe.pending!==fe.pending_buf_size));)Y(fe,255&fe.gzhead.extra[fe.gzindex]),fe.gzindex++;fe.gzhead.hcrc&&fe.pending>he&&(j.adler=u(j.adler,fe.pending_buf,fe.pending-he,he)),fe.gzindex===fe.gzhead.extra.length&&(fe.gzindex=0,fe.status=73)}else fe.status=73;if(fe.status===73)if(fe.gzhead.name){he=fe.pending;do{if(fe.pending===fe.pending_buf_size&&(fe.gzhead.hcrc&&fe.pending>he&&(j.adler=u(j.adler,fe.pending_buf,fe.pending-he,he)),z(j),he=fe.pending,fe.pending===fe.pending_buf_size)){me=1;break}me=fe.gzindex<fe.gzhead.name.length?255&fe.gzhead.name.charCodeAt(fe.gzindex++):0,Y(fe,me)}while(me!==0);fe.gzhead.hcrc&&fe.pending>he&&(j.adler=u(j.adler,fe.pending_buf,fe.pending-he,he)),me===0&&(fe.gzindex=0,fe.status=91)}else fe.status=91;if(fe.status===91)if(fe.gzhead.comment){he=fe.pending;do{if(fe.pending===fe.pending_buf_size&&(fe.gzhead.hcrc&&fe.pending>he&&(j.adler=u(j.adler,fe.pending_buf,fe.pending-he,he)),z(j),he=fe.pending,fe.pending===fe.pending_buf_size)){me=1;break}me=fe.gzindex<fe.gzhead.comment.length?255&fe.gzhead.comment.charCodeAt(fe.gzindex++):0,Y(fe,me)}while(me!==0);fe.gzhead.hcrc&&fe.pending>he&&(j.adler=u(j.adler,fe.pending_buf,fe.pending-he,he)),me===0&&(fe.status=103)}else fe.status=103;if(fe.status===103&&(fe.gzhead.hcrc?(fe.pending+2>fe.pending_buf_size&&z(j),fe.pending+2<=fe.pending_buf_size&&(Y(fe,255&j.adler),Y(fe,j.adler>>8&255),j.adler=0,fe.status=ye)):fe.status=ye),fe.pending!==0){if(z(j),j.avail_out===0)return fe.last_flush=-1,R}else if(j.avail_in===0&&w(_e)<=w(be)&&_e!==K)return le(j,-5);if(fe.status===666&&j.avail_in!==0)return le(j,-5);if(j.avail_in!==0||fe.lookahead!==0||_e!==F&&fe.status!==666){var Se=fe.strategy===2?function(Me,Je){for(var pt;;){if(Me.lookahead===0&&(Ue(Me),Me.lookahead===0)){if(Je===F)return N;break}if(Me.match_length=0,pt=y._tr_tally(Me,0,Me.window[Me.strstart]),Me.lookahead--,Me.strstart++,pt&&(C(Me,!1),Me.strm.avail_out===0))return N}return Me.insert=0,Je===K?(C(Me,!0),Me.strm.avail_out===0?nt:ce):Me.last_lit&&(C(Me,!1),Me.strm.avail_out===0)?N:I}(fe,_e):fe.strategy===3?function(Me,Je){for(var pt,$t,Yt,Gt,Pt=Me.window;;){if(Me.lookahead<=we){if(Ue(Me),Me.lookahead<=we&&Je===F)return N;if(Me.lookahead===0)break}if(Me.match_length=0,Me.lookahead>=Ze&&0<Me.strstart&&($t=Pt[Yt=Me.strstart-1])===Pt[++Yt]&&$t===Pt[++Yt]&&$t===Pt[++Yt]){Gt=Me.strstart+we;do;while($t===Pt[++Yt]&&$t===Pt[++Yt]&&$t===Pt[++Yt]&&$t===Pt[++Yt]&&$t===Pt[++Yt]&&$t===Pt[++Yt]&&$t===Pt[++Yt]&&$t===Pt[++Yt]&&Yt<Gt);Me.match_length=we-(Gt-Yt),Me.match_length>Me.lookahead&&(Me.match_length=Me.lookahead)}if(Me.match_length>=Ze?(pt=y._tr_tally(Me,1,Me.match_length-Ze),Me.lookahead-=Me.match_length,Me.strstart+=Me.match_length,Me.match_length=0):(pt=y._tr_tally(Me,0,Me.window[Me.strstart]),Me.lookahead--,Me.strstart++),pt&&(C(Me,!1),Me.strm.avail_out===0))return N}return Me.insert=0,Je===K?(C(Me,!0),Me.strm.avail_out===0?nt:ce):Me.last_lit&&(C(Me,!1),Me.strm.avail_out===0)?N:I}(fe,_e):ee[fe.level].func(fe,_e);if(Se!==nt&&Se!==ce||(fe.status=666),Se===N||Se===nt)return j.avail_out===0&&(fe.last_flush=-1),R;if(Se===I&&(_e===1?y._tr_align(fe):_e!==5&&(y._tr_stored_block(fe,0,0,!1),_e===3&&(k(fe.head),fe.lookahead===0&&(fe.strstart=0,fe.block_start=0,fe.insert=0))),z(j),j.avail_out===0))return fe.last_flush=-1,R}return _e!==K?R:fe.wrap<=0?1:(fe.wrap===2?(Y(fe,255&j.adler),Y(fe,j.adler>>8&255),Y(fe,j.adler>>16&255),Y(fe,j.adler>>24&255),Y(fe,255&j.total_in),Y(fe,j.total_in>>8&255),Y(fe,j.total_in>>16&255),Y(fe,j.total_in>>24&255)):(He(fe,j.adler>>>16),He(fe,65535&j.adler)),z(j),0<fe.wrap&&(fe.wrap=-fe.wrap),fe.pending!==0?R:1)},q.deflateEnd=function(j){var _e;return j&&j.state?(_e=j.state.status)!==Q&&_e!==69&&_e!==73&&_e!==91&&_e!==103&&_e!==ye&&_e!==666?le(j,X):(j.state=null,_e===ye?le(j,-3):R):X},q.deflateSetDictionary=function(j,_e){var be,fe,he,me,Ie,Se,Me,Je,pt=_e.length;if(!j||!j.state||(me=(be=j.state).wrap)===2||me===1&&be.status!==Q||be.lookahead)return X;for(me===1&&(j.adler=G(j.adler,_e,pt,0)),be.wrap=0,pt>=be.w_size&&(me===0&&(k(be.head),be.strstart=0,be.block_start=0,be.insert=0),Je=new _.Buf8(be.w_size),_.arraySet(Je,_e,pt-be.w_size,be.w_size,0),_e=Je,pt=be.w_size),Ie=j.avail_in,Se=j.next_in,Me=j.input,j.avail_in=pt,j.next_in=0,j.input=_e,Ue(be);be.lookahead>=Ze;){for(fe=be.strstart,he=be.lookahead-(Ze-1);be.ins_h=(be.ins_h<<be.hash_shift^be.window[fe+Ze-1])&be.hash_mask,be.prev[fe&be.w_mask]=be.head[be.ins_h],be.head[be.ins_h]=fe,fe++,--he;);be.strstart=fe,be.lookahead=Ze-1,Ue(be)}return be.strstart+=be.lookahead,be.block_start=be.strstart,be.insert=be.lookahead,be.lookahead=0,be.match_length=be.prev_length=Ze-1,be.match_available=0,j.next_in=Se,j.input=Me,j.avail_in=Ie,be.wrap=me,R},q.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(L,Re,q){"use strict";Re.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(L,Re,q){"use strict";Re.exports=function(ee,_){var y,G,u,B,F,K,R,X,M,$,S,E,ie,J,te,$e,Ne,Qe,Ze,we,xe,Q,ye,N,I;y=ee.state,G=ee.next_in,N=ee.input,u=G+(ee.avail_in-5),B=ee.next_out,I=ee.output,F=B-(_-ee.avail_out),K=B+(ee.avail_out-257),R=y.dmax,X=y.wsize,M=y.whave,$=y.wnext,S=y.window,E=y.hold,ie=y.bits,J=y.lencode,te=y.distcode,$e=(1<<y.lenbits)-1,Ne=(1<<y.distbits)-1;e:do{ie<15&&(E+=N[G++]<<ie,ie+=8,E+=N[G++]<<ie,ie+=8),Qe=J[E&$e];t:for(;;){if(E>>>=Ze=Qe>>>24,ie-=Ze,(Ze=Qe>>>16&255)===0)I[B++]=65535&Qe;else{if(!(16&Ze)){if(!(64&Ze)){Qe=J[(65535&Qe)+(E&(1<<Ze)-1)];continue t}if(32&Ze){y.mode=12;break e}ee.msg="invalid literal/length code",y.mode=30;break e}we=65535&Qe,(Ze&=15)&&(ie<Ze&&(E+=N[G++]<<ie,ie+=8),we+=E&(1<<Ze)-1,E>>>=Ze,ie-=Ze),ie<15&&(E+=N[G++]<<ie,ie+=8,E+=N[G++]<<ie,ie+=8),Qe=te[E&Ne];r:for(;;){if(E>>>=Ze=Qe>>>24,ie-=Ze,!(16&(Ze=Qe>>>16&255))){if(!(64&Ze)){Qe=te[(65535&Qe)+(E&(1<<Ze)-1)];continue r}ee.msg="invalid distance code",y.mode=30;break e}if(xe=65535&Qe,ie<(Ze&=15)&&(E+=N[G++]<<ie,(ie+=8)<Ze&&(E+=N[G++]<<ie,ie+=8)),R<(xe+=E&(1<<Ze)-1)){ee.msg="invalid distance too far back",y.mode=30;break e}if(E>>>=Ze,ie-=Ze,(Ze=B-F)<xe){if(M<(Ze=xe-Ze)&&y.sane){ee.msg="invalid distance too far back",y.mode=30;break e}if(ye=S,(Q=0)===$){if(Q+=X-Ze,Ze<we){for(we-=Ze;I[B++]=S[Q++],--Ze;);Q=B-xe,ye=I}}else if($<Ze){if(Q+=X+$-Ze,(Ze-=$)<we){for(we-=Ze;I[B++]=S[Q++],--Ze;);if(Q=0,$<we){for(we-=Ze=$;I[B++]=S[Q++],--Ze;);Q=B-xe,ye=I}}}else if(Q+=$-Ze,Ze<we){for(we-=Ze;I[B++]=S[Q++],--Ze;);Q=B-xe,ye=I}for(;2<we;)I[B++]=ye[Q++],I[B++]=ye[Q++],I[B++]=ye[Q++],we-=3;we&&(I[B++]=ye[Q++],1<we&&(I[B++]=ye[Q++]))}else{for(Q=B-xe;I[B++]=I[Q++],I[B++]=I[Q++],I[B++]=I[Q++],2<(we-=3););we&&(I[B++]=I[Q++],1<we&&(I[B++]=I[Q++]))}break}}break}}while(G<u&&B<K);G-=we=ie>>3,E&=(1<<(ie-=we<<3))-1,ee.next_in=G,ee.next_out=B,ee.avail_in=G<u?u-G+5:5-(G-u),ee.avail_out=B<K?K-B+257:257-(B-K),y.hold=E,y.bits=ie}},{}],49:[function(L,Re,q){"use strict";var ee=L("../utils/common"),_=L("./adler32"),y=L("./crc32"),G=L("./inffast"),u=L("./inftrees"),B=1,F=2,K=0,R=-2,X=1,M=852,$=592;function S(Q){return(Q>>>24&255)+(Q>>>8&65280)+((65280&Q)<<8)+((255&Q)<<24)}function E(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new ee.Buf16(320),this.work=new ee.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function ie(Q){var ye;return Q&&Q.state?(ye=Q.state,Q.total_in=Q.total_out=ye.total=0,Q.msg="",ye.wrap&&(Q.adler=1&ye.wrap),ye.mode=X,ye.last=0,ye.havedict=0,ye.dmax=32768,ye.head=null,ye.hold=0,ye.bits=0,ye.lencode=ye.lendyn=new ee.Buf32(M),ye.distcode=ye.distdyn=new ee.Buf32($),ye.sane=1,ye.back=-1,K):R}function J(Q){var ye;return Q&&Q.state?((ye=Q.state).wsize=0,ye.whave=0,ye.wnext=0,ie(Q)):R}function te(Q,ye){var N,I;return Q&&Q.state?(I=Q.state,ye<0?(N=0,ye=-ye):(N=1+(ye>>4),ye<48&&(ye&=15)),ye&&(ye<8||15<ye)?R:(I.window!==null&&I.wbits!==ye&&(I.window=null),I.wrap=N,I.wbits=ye,J(Q))):R}function $e(Q,ye){var N,I;return Q?(I=new E,(Q.state=I).window=null,(N=te(Q,ye))!==K&&(Q.state=null),N):R}var Ne,Qe,Ze=!0;function we(Q){if(Ze){var ye;for(Ne=new ee.Buf32(512),Qe=new ee.Buf32(32),ye=0;ye<144;)Q.lens[ye++]=8;for(;ye<256;)Q.lens[ye++]=9;for(;ye<280;)Q.lens[ye++]=7;for(;ye<288;)Q.lens[ye++]=8;for(u(B,Q.lens,0,288,Ne,0,Q.work,{bits:9}),ye=0;ye<32;)Q.lens[ye++]=5;u(F,Q.lens,0,32,Qe,0,Q.work,{bits:5}),Ze=!1}Q.lencode=Ne,Q.lenbits=9,Q.distcode=Qe,Q.distbits=5}function xe(Q,ye,N,I){var nt,ce=Q.state;return ce.window===null&&(ce.wsize=1<<ce.wbits,ce.wnext=0,ce.whave=0,ce.window=new ee.Buf8(ce.wsize)),I>=ce.wsize?(ee.arraySet(ce.window,ye,N-ce.wsize,ce.wsize,0),ce.wnext=0,ce.whave=ce.wsize):(I<(nt=ce.wsize-ce.wnext)&&(nt=I),ee.arraySet(ce.window,ye,N-I,nt,ce.wnext),(I-=nt)?(ee.arraySet(ce.window,ye,N-I,I,0),ce.wnext=I,ce.whave=ce.wsize):(ce.wnext+=nt,ce.wnext===ce.wsize&&(ce.wnext=0),ce.whave<ce.wsize&&(ce.whave+=nt))),0}q.inflateReset=J,q.inflateReset2=te,q.inflateResetKeep=ie,q.inflateInit=function(Q){return $e(Q,15)},q.inflateInit2=$e,q.inflate=function(Q,ye){var N,I,nt,ce,le,w,k,z,C,Y,He,pe,Ue,ot,ct,ue,Le,Ct,ke,De,j,_e,be,fe,he=0,me=new ee.Buf8(4),Ie=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Q||!Q.state||!Q.output||!Q.input&&Q.avail_in!==0)return R;(N=Q.state).mode===12&&(N.mode=13),le=Q.next_out,nt=Q.output,k=Q.avail_out,ce=Q.next_in,I=Q.input,w=Q.avail_in,z=N.hold,C=N.bits,Y=w,He=k,_e=K;e:for(;;)switch(N.mode){case X:if(N.wrap===0){N.mode=13;break}for(;C<16;){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}if(2&N.wrap&&z===35615){me[N.check=0]=255&z,me[1]=z>>>8&255,N.check=y(N.check,me,2,0),C=z=0,N.mode=2;break}if(N.flags=0,N.head&&(N.head.done=!1),!(1&N.wrap)||(((255&z)<<8)+(z>>8))%31){Q.msg="incorrect header check",N.mode=30;break}if((15&z)!=8){Q.msg="unknown compression method",N.mode=30;break}if(C-=4,j=8+(15&(z>>>=4)),N.wbits===0)N.wbits=j;else if(j>N.wbits){Q.msg="invalid window size",N.mode=30;break}N.dmax=1<<j,Q.adler=N.check=1,N.mode=512&z?10:12,C=z=0;break;case 2:for(;C<16;){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}if(N.flags=z,(255&N.flags)!=8){Q.msg="unknown compression method",N.mode=30;break}if(57344&N.flags){Q.msg="unknown header flags set",N.mode=30;break}N.head&&(N.head.text=z>>8&1),512&N.flags&&(me[0]=255&z,me[1]=z>>>8&255,N.check=y(N.check,me,2,0)),C=z=0,N.mode=3;case 3:for(;C<32;){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}N.head&&(N.head.time=z),512&N.flags&&(me[0]=255&z,me[1]=z>>>8&255,me[2]=z>>>16&255,me[3]=z>>>24&255,N.check=y(N.check,me,4,0)),C=z=0,N.mode=4;case 4:for(;C<16;){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}N.head&&(N.head.xflags=255&z,N.head.os=z>>8),512&N.flags&&(me[0]=255&z,me[1]=z>>>8&255,N.check=y(N.check,me,2,0)),C=z=0,N.mode=5;case 5:if(1024&N.flags){for(;C<16;){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}N.length=z,N.head&&(N.head.extra_len=z),512&N.flags&&(me[0]=255&z,me[1]=z>>>8&255,N.check=y(N.check,me,2,0)),C=z=0}else N.head&&(N.head.extra=null);N.mode=6;case 6:if(1024&N.flags&&(w<(pe=N.length)&&(pe=w),pe&&(N.head&&(j=N.head.extra_len-N.length,N.head.extra||(N.head.extra=new Array(N.head.extra_len)),ee.arraySet(N.head.extra,I,ce,pe,j)),512&N.flags&&(N.check=y(N.check,I,pe,ce)),w-=pe,ce+=pe,N.length-=pe),N.length))break e;N.length=0,N.mode=7;case 7:if(2048&N.flags){if(w===0)break e;for(pe=0;j=I[ce+pe++],N.head&&j&&N.length<65536&&(N.head.name+=String.fromCharCode(j)),j&&pe<w;);if(512&N.flags&&(N.check=y(N.check,I,pe,ce)),w-=pe,ce+=pe,j)break e}else N.head&&(N.head.name=null);N.length=0,N.mode=8;case 8:if(4096&N.flags){if(w===0)break e;for(pe=0;j=I[ce+pe++],N.head&&j&&N.length<65536&&(N.head.comment+=String.fromCharCode(j)),j&&pe<w;);if(512&N.flags&&(N.check=y(N.check,I,pe,ce)),w-=pe,ce+=pe,j)break e}else N.head&&(N.head.comment=null);N.mode=9;case 9:if(512&N.flags){for(;C<16;){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}if(z!==(65535&N.check)){Q.msg="header crc mismatch",N.mode=30;break}C=z=0}N.head&&(N.head.hcrc=N.flags>>9&1,N.head.done=!0),Q.adler=N.check=0,N.mode=12;break;case 10:for(;C<32;){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}Q.adler=N.check=S(z),C=z=0,N.mode=11;case 11:if(N.havedict===0)return Q.next_out=le,Q.avail_out=k,Q.next_in=ce,Q.avail_in=w,N.hold=z,N.bits=C,2;Q.adler=N.check=1,N.mode=12;case 12:if(ye===5||ye===6)break e;case 13:if(N.last){z>>>=7&C,C-=7&C,N.mode=27;break}for(;C<3;){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}switch(N.last=1&z,C-=1,3&(z>>>=1)){case 0:N.mode=14;break;case 1:if(we(N),N.mode=20,ye!==6)break;z>>>=2,C-=2;break e;case 2:N.mode=17;break;case 3:Q.msg="invalid block type",N.mode=30}z>>>=2,C-=2;break;case 14:for(z>>>=7&C,C-=7&C;C<32;){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}if((65535&z)!=(z>>>16^65535)){Q.msg="invalid stored block lengths",N.mode=30;break}if(N.length=65535&z,C=z=0,N.mode=15,ye===6)break e;case 15:N.mode=16;case 16:if(pe=N.length){if(w<pe&&(pe=w),k<pe&&(pe=k),pe===0)break e;ee.arraySet(nt,I,ce,pe,le),w-=pe,ce+=pe,k-=pe,le+=pe,N.length-=pe;break}N.mode=12;break;case 17:for(;C<14;){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}if(N.nlen=257+(31&z),z>>>=5,C-=5,N.ndist=1+(31&z),z>>>=5,C-=5,N.ncode=4+(15&z),z>>>=4,C-=4,286<N.nlen||30<N.ndist){Q.msg="too many length or distance symbols",N.mode=30;break}N.have=0,N.mode=18;case 18:for(;N.have<N.ncode;){for(;C<3;){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}N.lens[Ie[N.have++]]=7&z,z>>>=3,C-=3}for(;N.have<19;)N.lens[Ie[N.have++]]=0;if(N.lencode=N.lendyn,N.lenbits=7,be={bits:N.lenbits},_e=u(0,N.lens,0,19,N.lencode,0,N.work,be),N.lenbits=be.bits,_e){Q.msg="invalid code lengths set",N.mode=30;break}N.have=0,N.mode=19;case 19:for(;N.have<N.nlen+N.ndist;){for(;ue=(he=N.lencode[z&(1<<N.lenbits)-1])>>>16&255,Le=65535&he,!((ct=he>>>24)<=C);){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}if(Le<16)z>>>=ct,C-=ct,N.lens[N.have++]=Le;else{if(Le===16){for(fe=ct+2;C<fe;){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}if(z>>>=ct,C-=ct,N.have===0){Q.msg="invalid bit length repeat",N.mode=30;break}j=N.lens[N.have-1],pe=3+(3&z),z>>>=2,C-=2}else if(Le===17){for(fe=ct+3;C<fe;){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}C-=ct,j=0,pe=3+(7&(z>>>=ct)),z>>>=3,C-=3}else{for(fe=ct+7;C<fe;){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}C-=ct,j=0,pe=11+(127&(z>>>=ct)),z>>>=7,C-=7}if(N.have+pe>N.nlen+N.ndist){Q.msg="invalid bit length repeat",N.mode=30;break}for(;pe--;)N.lens[N.have++]=j}}if(N.mode===30)break;if(N.lens[256]===0){Q.msg="invalid code -- missing end-of-block",N.mode=30;break}if(N.lenbits=9,be={bits:N.lenbits},_e=u(B,N.lens,0,N.nlen,N.lencode,0,N.work,be),N.lenbits=be.bits,_e){Q.msg="invalid literal/lengths set",N.mode=30;break}if(N.distbits=6,N.distcode=N.distdyn,be={bits:N.distbits},_e=u(F,N.lens,N.nlen,N.ndist,N.distcode,0,N.work,be),N.distbits=be.bits,_e){Q.msg="invalid distances set",N.mode=30;break}if(N.mode=20,ye===6)break e;case 20:N.mode=21;case 21:if(6<=w&&258<=k){Q.next_out=le,Q.avail_out=k,Q.next_in=ce,Q.avail_in=w,N.hold=z,N.bits=C,G(Q,He),le=Q.next_out,nt=Q.output,k=Q.avail_out,ce=Q.next_in,I=Q.input,w=Q.avail_in,z=N.hold,C=N.bits,N.mode===12&&(N.back=-1);break}for(N.back=0;ue=(he=N.lencode[z&(1<<N.lenbits)-1])>>>16&255,Le=65535&he,!((ct=he>>>24)<=C);){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}if(ue&&!(240&ue)){for(Ct=ct,ke=ue,De=Le;ue=(he=N.lencode[De+((z&(1<<Ct+ke)-1)>>Ct)])>>>16&255,Le=65535&he,!(Ct+(ct=he>>>24)<=C);){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}z>>>=Ct,C-=Ct,N.back+=Ct}if(z>>>=ct,C-=ct,N.back+=ct,N.length=Le,ue===0){N.mode=26;break}if(32&ue){N.back=-1,N.mode=12;break}if(64&ue){Q.msg="invalid literal/length code",N.mode=30;break}N.extra=15&ue,N.mode=22;case 22:if(N.extra){for(fe=N.extra;C<fe;){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}N.length+=z&(1<<N.extra)-1,z>>>=N.extra,C-=N.extra,N.back+=N.extra}N.was=N.length,N.mode=23;case 23:for(;ue=(he=N.distcode[z&(1<<N.distbits)-1])>>>16&255,Le=65535&he,!((ct=he>>>24)<=C);){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}if(!(240&ue)){for(Ct=ct,ke=ue,De=Le;ue=(he=N.distcode[De+((z&(1<<Ct+ke)-1)>>Ct)])>>>16&255,Le=65535&he,!(Ct+(ct=he>>>24)<=C);){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}z>>>=Ct,C-=Ct,N.back+=Ct}if(z>>>=ct,C-=ct,N.back+=ct,64&ue){Q.msg="invalid distance code",N.mode=30;break}N.offset=Le,N.extra=15&ue,N.mode=24;case 24:if(N.extra){for(fe=N.extra;C<fe;){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}N.offset+=z&(1<<N.extra)-1,z>>>=N.extra,C-=N.extra,N.back+=N.extra}if(N.offset>N.dmax){Q.msg="invalid distance too far back",N.mode=30;break}N.mode=25;case 25:if(k===0)break e;if(pe=He-k,N.offset>pe){if((pe=N.offset-pe)>N.whave&&N.sane){Q.msg="invalid distance too far back",N.mode=30;break}Ue=pe>N.wnext?(pe-=N.wnext,N.wsize-pe):N.wnext-pe,pe>N.length&&(pe=N.length),ot=N.window}else ot=nt,Ue=le-N.offset,pe=N.length;for(k<pe&&(pe=k),k-=pe,N.length-=pe;nt[le++]=ot[Ue++],--pe;);N.length===0&&(N.mode=21);break;case 26:if(k===0)break e;nt[le++]=N.length,k--,N.mode=21;break;case 27:if(N.wrap){for(;C<32;){if(w===0)break e;w--,z|=I[ce++]<<C,C+=8}if(He-=k,Q.total_out+=He,N.total+=He,He&&(Q.adler=N.check=N.flags?y(N.check,nt,He,le-He):_(N.check,nt,He,le-He)),He=k,(N.flags?z:S(z))!==N.check){Q.msg="incorrect data check",N.mode=30;break}C=z=0}N.mode=28;case 28:if(N.wrap&&N.flags){for(;C<32;){if(w===0)break e;w--,z+=I[ce++]<<C,C+=8}if(z!==(4294967295&N.total)){Q.msg="incorrect length check",N.mode=30;break}C=z=0}N.mode=29;case 29:_e=1;break e;case 30:_e=-3;break e;case 31:return-4;case 32:default:return R}return Q.next_out=le,Q.avail_out=k,Q.next_in=ce,Q.avail_in=w,N.hold=z,N.bits=C,(N.wsize||He!==Q.avail_out&&N.mode<30&&(N.mode<27||ye!==4))&&xe(Q,Q.output,Q.next_out,He-Q.avail_out)?(N.mode=31,-4):(Y-=Q.avail_in,He-=Q.avail_out,Q.total_in+=Y,Q.total_out+=He,N.total+=He,N.wrap&&He&&(Q.adler=N.check=N.flags?y(N.check,nt,He,Q.next_out-He):_(N.check,nt,He,Q.next_out-He)),Q.data_type=N.bits+(N.last?64:0)+(N.mode===12?128:0)+(N.mode===20||N.mode===15?256:0),(Y==0&&He===0||ye===4)&&_e===K&&(_e=-5),_e)},q.inflateEnd=function(Q){if(!Q||!Q.state)return R;var ye=Q.state;return ye.window&&(ye.window=null),Q.state=null,K},q.inflateGetHeader=function(Q,ye){var N;return Q&&Q.state&&2&(N=Q.state).wrap?((N.head=ye).done=!1,K):R},q.inflateSetDictionary=function(Q,ye){var N,I=ye.length;return Q&&Q.state?(N=Q.state).wrap!==0&&N.mode!==11?R:N.mode===11&&_(1,ye,I,0)!==N.check?-3:xe(Q,ye,I,I)?(N.mode=31,-4):(N.havedict=1,K):R},q.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(L,Re,q){"use strict";var ee=L("../utils/common"),_=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],y=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],G=[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],u=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];Re.exports=function(B,F,K,R,X,M,$,S){var E,ie,J,te,$e,Ne,Qe,Ze,we,xe=S.bits,Q=0,ye=0,N=0,I=0,nt=0,ce=0,le=0,w=0,k=0,z=0,C=null,Y=0,He=new ee.Buf16(16),pe=new ee.Buf16(16),Ue=null,ot=0;for(Q=0;Q<=15;Q++)He[Q]=0;for(ye=0;ye<R;ye++)He[F[K+ye]]++;for(nt=xe,I=15;1<=I&&He[I]===0;I--);if(I<nt&&(nt=I),I===0)return X[M++]=20971520,X[M++]=20971520,S.bits=1,0;for(N=1;N<I&&He[N]===0;N++);for(nt<N&&(nt=N),Q=w=1;Q<=15;Q++)if(w<<=1,(w-=He[Q])<0)return-1;if(0<w&&(B===0||I!==1))return-1;for(pe[1]=0,Q=1;Q<15;Q++)pe[Q+1]=pe[Q]+He[Q];for(ye=0;ye<R;ye++)F[K+ye]!==0&&($[pe[F[K+ye]]++]=ye);if(Ne=B===0?(C=Ue=$,19):B===1?(C=_,Y-=257,Ue=y,ot-=257,256):(C=G,Ue=u,-1),Q=N,$e=M,le=ye=z=0,J=-1,te=(k=1<<(ce=nt))-1,B===1&&852<k||B===2&&592<k)return 1;for(;;){for(Qe=Q-le,we=$[ye]<Ne?(Ze=0,$[ye]):$[ye]>Ne?(Ze=Ue[ot+$[ye]],C[Y+$[ye]]):(Ze=96,0),E=1<<Q-le,N=ie=1<<ce;X[$e+(z>>le)+(ie-=E)]=Qe<<24|Ze<<16|we|0,ie!==0;);for(E=1<<Q-1;z&E;)E>>=1;if(E!==0?(z&=E-1,z+=E):z=0,ye++,--He[Q]==0){if(Q===I)break;Q=F[K+$[ye]]}if(nt<Q&&(z&te)!==J){for(le===0&&(le=nt),$e+=N,w=1<<(ce=Q-le);ce+le<I&&!((w-=He[ce+le])<=0);)ce++,w<<=1;if(k+=1<<ce,B===1&&852<k||B===2&&592<k)return 1;X[J=z&te]=nt<<24|ce<<16|$e-M|0}}return z!==0&&(X[$e+z]=Q-le<<24|64<<16|0),S.bits=nt,0}},{"../utils/common":41}],51:[function(L,Re,q){"use strict";Re.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(L,Re,q){"use strict";var ee=L("../utils/common"),_=0,y=1;function G(he){for(var me=he.length;0<=--me;)he[me]=0}var u=0,B=29,F=256,K=F+1+B,R=30,X=19,M=2*K+1,$=15,S=16,E=7,ie=256,J=16,te=17,$e=18,Ne=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Qe=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Ze=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],we=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],xe=new Array(2*(K+2));G(xe);var Q=new Array(2*R);G(Q);var ye=new Array(512);G(ye);var N=new Array(256);G(N);var I=new Array(B);G(I);var nt,ce,le,w=new Array(R);function k(he,me,Ie,Se,Me){this.static_tree=he,this.extra_bits=me,this.extra_base=Ie,this.elems=Se,this.max_length=Me,this.has_stree=he&&he.length}function z(he,me){this.dyn_tree=he,this.max_code=0,this.stat_desc=me}function C(he){return he<256?ye[he]:ye[256+(he>>>7)]}function Y(he,me){he.pending_buf[he.pending++]=255&me,he.pending_buf[he.pending++]=me>>>8&255}function He(he,me,Ie){he.bi_valid>S-Ie?(he.bi_buf|=me<<he.bi_valid&65535,Y(he,he.bi_buf),he.bi_buf=me>>S-he.bi_valid,he.bi_valid+=Ie-S):(he.bi_buf|=me<<he.bi_valid&65535,he.bi_valid+=Ie)}function pe(he,me,Ie){He(he,Ie[2*me],Ie[2*me+1])}function Ue(he,me){for(var Ie=0;Ie|=1&he,he>>>=1,Ie<<=1,0<--me;);return Ie>>>1}function ot(he,me,Ie){var Se,Me,Je=new Array($+1),pt=0;for(Se=1;Se<=$;Se++)Je[Se]=pt=pt+Ie[Se-1]<<1;for(Me=0;Me<=me;Me++){var $t=he[2*Me+1];$t!==0&&(he[2*Me]=Ue(Je[$t]++,$t))}}function ct(he){var me;for(me=0;me<K;me++)he.dyn_ltree[2*me]=0;for(me=0;me<R;me++)he.dyn_dtree[2*me]=0;for(me=0;me<X;me++)he.bl_tree[2*me]=0;he.dyn_ltree[2*ie]=1,he.opt_len=he.static_len=0,he.last_lit=he.matches=0}function ue(he){8<he.bi_valid?Y(he,he.bi_buf):0<he.bi_valid&&(he.pending_buf[he.pending++]=he.bi_buf),he.bi_buf=0,he.bi_valid=0}function Le(he,me,Ie,Se){var Me=2*me,Je=2*Ie;return he[Me]<he[Je]||he[Me]===he[Je]&&Se[me]<=Se[Ie]}function Ct(he,me,Ie){for(var Se=he.heap[Ie],Me=Ie<<1;Me<=he.heap_len&&(Me<he.heap_len&&Le(me,he.heap[Me+1],he.heap[Me],he.depth)&&Me++,!Le(me,Se,he.heap[Me],he.depth));)he.heap[Ie]=he.heap[Me],Ie=Me,Me<<=1;he.heap[Ie]=Se}function ke(he,me,Ie){var Se,Me,Je,pt,$t=0;if(he.last_lit!==0)for(;Se=he.pending_buf[he.d_buf+2*$t]<<8|he.pending_buf[he.d_buf+2*$t+1],Me=he.pending_buf[he.l_buf+$t],$t++,Se===0?pe(he,Me,me):(pe(he,(Je=N[Me])+F+1,me),(pt=Ne[Je])!==0&&He(he,Me-=I[Je],pt),pe(he,Je=C(--Se),Ie),(pt=Qe[Je])!==0&&He(he,Se-=w[Je],pt)),$t<he.last_lit;);pe(he,ie,me)}function De(he,me){var Ie,Se,Me,Je=me.dyn_tree,pt=me.stat_desc.static_tree,$t=me.stat_desc.has_stree,Yt=me.stat_desc.elems,Gt=-1;for(he.heap_len=0,he.heap_max=M,Ie=0;Ie<Yt;Ie++)Je[2*Ie]!==0?(he.heap[++he.heap_len]=Gt=Ie,he.depth[Ie]=0):Je[2*Ie+1]=0;for(;he.heap_len<2;)Je[2*(Me=he.heap[++he.heap_len]=Gt<2?++Gt:0)]=1,he.depth[Me]=0,he.opt_len--,$t&&(he.static_len-=pt[2*Me+1]);for(me.max_code=Gt,Ie=he.heap_len>>1;1<=Ie;Ie--)Ct(he,Je,Ie);for(Me=Yt;Ie=he.heap[1],he.heap[1]=he.heap[he.heap_len--],Ct(he,Je,1),Se=he.heap[1],he.heap[--he.heap_max]=Ie,he.heap[--he.heap_max]=Se,Je[2*Me]=Je[2*Ie]+Je[2*Se],he.depth[Me]=(he.depth[Ie]>=he.depth[Se]?he.depth[Ie]:he.depth[Se])+1,Je[2*Ie+1]=Je[2*Se+1]=Me,he.heap[1]=Me++,Ct(he,Je,1),2<=he.heap_len;);he.heap[--he.heap_max]=he.heap[1],function(Pt,it){var xt,Nt,Ht,Et,er,lr,Cr=it.dyn_tree,qr=it.max_code,Ar=it.stat_desc.static_tree,x=it.stat_desc.has_stree,W=it.stat_desc.extra_bits,St=it.stat_desc.extra_base,oe=it.stat_desc.max_length,Be=0;for(Et=0;Et<=$;Et++)Pt.bl_count[Et]=0;for(Cr[2*Pt.heap[Pt.heap_max]+1]=0,xt=Pt.heap_max+1;xt<M;xt++)oe<(Et=Cr[2*Cr[2*(Nt=Pt.heap[xt])+1]+1]+1)&&(Et=oe,Be++),Cr[2*Nt+1]=Et,qr<Nt||(Pt.bl_count[Et]++,er=0,St<=Nt&&(er=W[Nt-St]),lr=Cr[2*Nt],Pt.opt_len+=lr*(Et+er),x&&(Pt.static_len+=lr*(Ar[2*Nt+1]+er)));if(Be!==0){do{for(Et=oe-1;Pt.bl_count[Et]===0;)Et--;Pt.bl_count[Et]--,Pt.bl_count[Et+1]+=2,Pt.bl_count[oe]--,Be-=2}while(0<Be);for(Et=oe;Et!==0;Et--)for(Nt=Pt.bl_count[Et];Nt!==0;)qr<(Ht=Pt.heap[--xt])||(Cr[2*Ht+1]!==Et&&(Pt.opt_len+=(Et-Cr[2*Ht+1])*Cr[2*Ht],Cr[2*Ht+1]=Et),Nt--)}}(he,me),ot(Je,Gt,he.bl_count)}function j(he,me,Ie){var Se,Me,Je=-1,pt=me[1],$t=0,Yt=7,Gt=4;for(pt===0&&(Yt=138,Gt=3),me[2*(Ie+1)+1]=65535,Se=0;Se<=Ie;Se++)Me=pt,pt=me[2*(Se+1)+1],++$t<Yt&&Me===pt||($t<Gt?he.bl_tree[2*Me]+=$t:Me!==0?(Me!==Je&&he.bl_tree[2*Me]++,he.bl_tree[2*J]++):$t<=10?he.bl_tree[2*te]++:he.bl_tree[2*$e]++,Je=Me,Gt=($t=0)===pt?(Yt=138,3):Me===pt?(Yt=6,3):(Yt=7,4))}function _e(he,me,Ie){var Se,Me,Je=-1,pt=me[1],$t=0,Yt=7,Gt=4;for(pt===0&&(Yt=138,Gt=3),Se=0;Se<=Ie;Se++)if(Me=pt,pt=me[2*(Se+1)+1],!(++$t<Yt&&Me===pt)){if($t<Gt)for(;pe(he,Me,he.bl_tree),--$t!=0;);else Me!==0?(Me!==Je&&(pe(he,Me,he.bl_tree),$t--),pe(he,J,he.bl_tree),He(he,$t-3,2)):$t<=10?(pe(he,te,he.bl_tree),He(he,$t-3,3)):(pe(he,$e,he.bl_tree),He(he,$t-11,7));Je=Me,Gt=($t=0)===pt?(Yt=138,3):Me===pt?(Yt=6,3):(Yt=7,4)}}G(w);var be=!1;function fe(he,me,Ie,Se){He(he,(u<<1)+(Se?1:0),3),function(Me,Je,pt,$t){ue(Me),$t&&(Y(Me,pt),Y(Me,~pt)),ee.arraySet(Me.pending_buf,Me.window,Je,pt,Me.pending),Me.pending+=pt}(he,me,Ie,!0)}q._tr_init=function(he){be||(function(){var me,Ie,Se,Me,Je,pt=new Array($+1);for(Me=Se=0;Me<B-1;Me++)for(I[Me]=Se,me=0;me<1<<Ne[Me];me++)N[Se++]=Me;for(N[Se-1]=Me,Me=Je=0;Me<16;Me++)for(w[Me]=Je,me=0;me<1<<Qe[Me];me++)ye[Je++]=Me;for(Je>>=7;Me<R;Me++)for(w[Me]=Je<<7,me=0;me<1<<Qe[Me]-7;me++)ye[256+Je++]=Me;for(Ie=0;Ie<=$;Ie++)pt[Ie]=0;for(me=0;me<=143;)xe[2*me+1]=8,me++,pt[8]++;for(;me<=255;)xe[2*me+1]=9,me++,pt[9]++;for(;me<=279;)xe[2*me+1]=7,me++,pt[7]++;for(;me<=287;)xe[2*me+1]=8,me++,pt[8]++;for(ot(xe,K+1,pt),me=0;me<R;me++)Q[2*me+1]=5,Q[2*me]=Ue(me,5);nt=new k(xe,Ne,F+1,K,$),ce=new k(Q,Qe,0,R,$),le=new k(new Array(0),Ze,0,X,E)}(),be=!0),he.l_desc=new z(he.dyn_ltree,nt),he.d_desc=new z(he.dyn_dtree,ce),he.bl_desc=new z(he.bl_tree,le),he.bi_buf=0,he.bi_valid=0,ct(he)},q._tr_stored_block=fe,q._tr_flush_block=function(he,me,Ie,Se){var Me,Je,pt=0;0<he.level?(he.strm.data_type===2&&(he.strm.data_type=function($t){var Yt,Gt=4093624447;for(Yt=0;Yt<=31;Yt++,Gt>>>=1)if(1&Gt&&$t.dyn_ltree[2*Yt]!==0)return _;if($t.dyn_ltree[18]!==0||$t.dyn_ltree[20]!==0||$t.dyn_ltree[26]!==0)return y;for(Yt=32;Yt<F;Yt++)if($t.dyn_ltree[2*Yt]!==0)return y;return _}(he)),De(he,he.l_desc),De(he,he.d_desc),pt=function($t){var Yt;for(j($t,$t.dyn_ltree,$t.l_desc.max_code),j($t,$t.dyn_dtree,$t.d_desc.max_code),De($t,$t.bl_desc),Yt=X-1;3<=Yt&&$t.bl_tree[2*we[Yt]+1]===0;Yt--);return $t.opt_len+=3*(Yt+1)+5+5+4,Yt}(he),Me=he.opt_len+3+7>>>3,(Je=he.static_len+3+7>>>3)<=Me&&(Me=Je)):Me=Je=Ie+5,Ie+4<=Me&&me!==-1?fe(he,me,Ie,Se):he.strategy===4||Je===Me?(He(he,2+(Se?1:0),3),ke(he,xe,Q)):(He(he,4+(Se?1:0),3),function($t,Yt,Gt,Pt){var it;for(He($t,Yt-257,5),He($t,Gt-1,5),He($t,Pt-4,4),it=0;it<Pt;it++)He($t,$t.bl_tree[2*we[it]+1],3);_e($t,$t.dyn_ltree,Yt-1),_e($t,$t.dyn_dtree,Gt-1)}(he,he.l_desc.max_code+1,he.d_desc.max_code+1,pt+1),ke(he,he.dyn_ltree,he.dyn_dtree)),ct(he),Se&&ue(he)},q._tr_tally=function(he,me,Ie){return he.pending_buf[he.d_buf+2*he.last_lit]=me>>>8&255,he.pending_buf[he.d_buf+2*he.last_lit+1]=255&me,he.pending_buf[he.l_buf+he.last_lit]=255&Ie,he.last_lit++,me===0?he.dyn_ltree[2*Ie]++:(he.matches++,me--,he.dyn_ltree[2*(N[Ie]+F+1)]++,he.dyn_dtree[2*C(me)]++),he.last_lit===he.lit_bufsize-1},q._tr_align=function(he){He(he,2,3),pe(he,ie,xe),function(me){me.bi_valid===16?(Y(me,me.bi_buf),me.bi_buf=0,me.bi_valid=0):8<=me.bi_valid&&(me.pending_buf[me.pending++]=255&me.bi_buf,me.bi_buf>>=8,me.bi_valid-=8)}(he)}},{"../utils/common":41}],53:[function(L,Re,q){"use strict";Re.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(L,Re,q){(function(ee){(function(_,y){"use strict";if(!_.setImmediate){var G,u,B,F,K=1,R={},X=!1,M=_.document,$=Object.getPrototypeOf&&Object.getPrototypeOf(_);$=$&&$.setTimeout?$:_,G={}.toString.call(_.process)==="[object process]"?function(J){qe.nextTick(function(){E(J)})}:function(){if(_.postMessage&&!_.importScripts){var J=!0,te=_.onmessage;return _.onmessage=function(){J=!1},_.postMessage("","*"),_.onmessage=te,J}}()?(F="setImmediate$"+Math.random()+"$",_.addEventListener?_.addEventListener("message",ie,!1):_.attachEvent("onmessage",ie),function(J){_.postMessage(F+J,"*")}):_.MessageChannel?((B=new MessageChannel).port1.onmessage=function(J){E(J.data)},function(J){B.port2.postMessage(J)}):M&&"onreadystatechange"in M.createElement("script")?(u=M.documentElement,function(J){var te=M.createElement("script");te.onreadystatechange=function(){E(J),te.onreadystatechange=null,u.removeChild(te),te=null},u.appendChild(te)}):function(J){setTimeout(E,0,J)},$.setImmediate=function(J){typeof J!="function"&&(J=new Function(""+J));for(var te=new Array(arguments.length-1),$e=0;$e<te.length;$e++)te[$e]=arguments[$e+1];var Ne={callback:J,args:te};return R[K]=Ne,G(K),K++},$.clearImmediate=S}function S(J){delete R[J]}function E(J){if(X)setTimeout(E,0,J);else{var te=R[J];if(te){X=!0;try{(function($e){var Ne=$e.callback,Qe=$e.args;switch(Qe.length){case 0:Ne();break;case 1:Ne(Qe[0]);break;case 2:Ne(Qe[0],Qe[1]);break;case 3:Ne(Qe[0],Qe[1],Qe[2]);break;default:Ne.apply(y,Qe)}})(te)}finally{S(J),X=!1}}}}function ie(J){J.source===_&&typeof J.data=="string"&&J.data.indexOf(F)===0&&E(+J.data.slice(F.length))}})(typeof self=="undefined"?ee===void 0?this:ee:self)}).call(this,typeof n.g!="undefined"?n.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})},15342:function(Yr){(function(n,o){Yr.exports=o()})(typeof self!="undefined"?self:this,function(){return function(Xt){var n={};function o(qe){if(n[qe])return n[qe].exports;var L=n[qe]={i:qe,l:!1,exports:{}};return Xt[qe].call(L.exports,L,L.exports,o),L.l=!0,L.exports}return o.m=Xt,o.c=n,o.d=function(qe,L,Re){o.o(qe,L)||Object.defineProperty(qe,L,{enumerable:!0,get:Re})},o.r=function(qe){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(qe,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(qe,"__esModule",{value:!0})},o.t=function(qe,L){if(L&1&&(qe=o(qe)),L&8||L&4&&typeof qe=="object"&&qe&&qe.__esModule)return qe;var Re=Object.create(null);if(o.r(Re),Object.defineProperty(Re,"default",{enumerable:!0,value:qe}),L&2&&typeof qe!="string")for(var q in qe)o.d(Re,q,function(ee){return qe[ee]}.bind(null,q));return Re},o.n=function(qe){var L=qe&&qe.__esModule?function(){return qe.default}:function(){return qe};return o.d(L,"a",L),L},o.o=function(qe,L){return Object.prototype.hasOwnProperty.call(qe,L)},o.p="",o(o.s=1)}([function(Xt,n,o){},function(Xt,n,o){"use strict";o.r(n);var qe=o(0),L=function(){function ae(r,a,l){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=r,this.start=a,this.end=l}return ae.range=function(a,l){return l?!a||!a.loc||!l.loc||a.loc.lexer!==l.loc.lexer?null:new ae(a.loc.lexer,a.loc.start,l.loc.end):a&&a.loc},ae}(),Re=function(){function ae(a,l){this.text=void 0,this.loc=void 0,this.text=a,this.loc=l}var r=ae.prototype;return r.range=function(l,g){return new ae(g,L.range(this,l))},ae}(),q=function ae(r,a){this.position=void 0;var l="KaTeX parse error: "+r,g,H=a&&a.loc;if(H&&H.start<=H.end){var se=H.lexer.input;g=H.start;var Fe=H.end;g===se.length?l+=" at end of input: ":l+=" at position "+(g+1)+": ";var tt=se.slice(g,Fe).replace(/[^]/g,"$&\u0332"),It;g>15?It="\u2026"+se.slice(g-15,g):It=se.slice(0,g);var rr;Fe+15<se.length?rr=se.slice(Fe,Fe+15)+"\u2026":rr=se.slice(Fe),l+=It+tt+rr}var pr=new Error(l);return pr.name="ParseError",pr.__proto__=ae.prototype,pr.position=g,pr};q.prototype.__proto__=Error.prototype;var ee=q,_=function(r,a){return r.indexOf(a)!==-1},y=function(r,a){return r===void 0?a:r},G=/([A-Z])/g,u=function(r){return r.replace(G,"-$1").toLowerCase()},B={"&":"&",">":">","<":"<",'"':""","'":"'"},F=/[&><"']/g;function K(ae){return String(ae).replace(F,function(r){return B[r]})}var R=function ae(r){return r.type==="ordgroup"||r.type==="color"?r.body.length===1?ae(r.body[0]):r:r.type==="font"?ae(r.body):r},X=function(r){var a=R(r);return a.type==="mathord"||a.type==="textord"||a.type==="atom"},M=function(r){if(!r)throw new Error("Expected non-null, but got "+String(r));return r},$=function(r){var a=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(r);return a!=null?a[1]:"_relative"},S={contains:_,deflt:y,escape:K,hyphenate:u,getBaseElem:R,isCharacterBox:X,protocolFromUrl:$},E=function(){function ae(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=S.deflt(a.displayMode,!1),this.output=S.deflt(a.output,"htmlAndMathml"),this.leqno=S.deflt(a.leqno,!1),this.fleqn=S.deflt(a.fleqn,!1),this.throwOnError=S.deflt(a.throwOnError,!0),this.errorColor=S.deflt(a.errorColor,"#cc0000"),this.macros=a.macros||{},this.minRuleThickness=Math.max(0,S.deflt(a.minRuleThickness,0)),this.colorIsTextColor=S.deflt(a.colorIsTextColor,!1),this.strict=S.deflt(a.strict,"warn"),this.trust=S.deflt(a.trust,!1),this.maxSize=Math.max(0,S.deflt(a.maxSize,1/0)),this.maxExpand=Math.max(0,S.deflt(a.maxExpand,1e3))}var r=ae.prototype;return r.reportNonstrict=function(l,g,H){var se=this.strict;if(typeof se=="function"&&(se=se(l,g,H)),!(!se||se==="ignore")){if(se===!0||se==="error")throw new ee("LaTeX-incompatible input and strict mode is set to 'error': "+(g+" ["+l+"]"),H);se==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(g+" ["+l+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+se+"': "+g+" ["+l+"]"))}},r.useStrictBehavior=function(l,g,H){var se=this.strict;if(typeof se=="function")try{se=se(l,g,H)}catch(Fe){se="error"}return!se||se==="ignore"?!1:se===!0||se==="error"?!0:se==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(g+" ["+l+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+se+"': "+g+" ["+l+"]")),!1)},r.isTrusted=function(l){l.url&&!l.protocol&&(l.protocol=S.protocolFromUrl(l.url));var g=typeof this.trust=="function"?this.trust(l):this.trust;return!!g},ae}(),ie=function(){function ae(a,l,g){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=a,this.size=l,this.cramped=g}var r=ae.prototype;return r.sup=function(){return Q[ye[this.id]]},r.sub=function(){return Q[N[this.id]]},r.fracNum=function(){return Q[I[this.id]]},r.fracDen=function(){return Q[nt[this.id]]},r.cramp=function(){return Q[ce[this.id]]},r.text=function(){return Q[le[this.id]]},r.isTight=function(){return this.size>=2},ae}(),J=0,te=1,$e=2,Ne=3,Qe=4,Ze=5,we=6,xe=7,Q=[new ie(J,0,!1),new ie(te,0,!0),new ie($e,1,!1),new ie(Ne,1,!0),new ie(Qe,2,!1),new ie(Ze,2,!0),new ie(we,3,!1),new ie(xe,3,!0)],ye=[Qe,Ze,Qe,Ze,we,xe,we,xe],N=[Ze,Ze,Ze,Ze,xe,xe,xe,xe],I=[$e,Ne,Qe,Ze,we,xe,we,xe],nt=[Ne,Ne,Ze,Ze,xe,xe,xe,xe],ce=[te,te,Ne,Ne,Ze,Ze,xe,xe],le=[J,te,$e,Ne,$e,Ne,$e,Ne],w={DISPLAY:Q[J],TEXT:Q[$e],SCRIPT:Q[Qe],SCRIPTSCRIPT:Q[we]},k=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function z(ae){for(var r=0;r<k.length;r++)for(var a=k[r],l=0;l<a.blocks.length;l++){var g=a.blocks[l];if(ae>=g[0]&&ae<=g[1])return a.name}return null}var C=[];k.forEach(function(ae){return ae.blocks.forEach(function(r){return C.push.apply(C,r)})});function Y(ae){for(var r=0;r<C.length;r+=2)if(ae>=C[r]&&ae<=C[r+1])return!0;return!1}var He=80,pe=function(r,a){return"M95,"+(622+r+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`+r/2.075+" -"+r+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+r)+`H845.2724
|
|
|
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
|
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
|
M`+(834+r)+" "+a+"h400000v"+(40+r)+"h-400000z"},Ue=function(r,a){return"M263,"+(601+r+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`+r/2.084+" -"+r+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+r)+`H1012.3
|
|
|
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
|
|
|
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
|
|
|
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
|
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
|
M`+(1001+r)+" "+a+"h400000v"+(40+r)+"h-400000z"},ot=function(r,a){return"M983 "+(10+r+a)+`
|
|
|
l`+r/3.13+" -"+r+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+r)+`
|
|
|
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
|
|
|
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
|
|
|
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
|
|
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
|
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
|
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
|
M`+(1001+r)+" "+a+"h400000v"+(40+r)+"h-400000z"},ct=function(r,a){return"M424,"+(2398+r+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`+r/4.223+" -"+r+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+r)+`H1014.6
|
|
|
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
|
c-2,6,-10,9,-24,9
|
|
|
c-8,0,-12,-0.7,-12,-2z M`+(1001+r)+" "+a+`
|
|
|
h400000v`+(40+r)+"h-400000z"},ue=function(r,a){return"M473,"+(2713+r+a)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+r/5.298+" -"+r+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+r)+`H1017.7
|
|
|
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
|
|
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
|
|
|
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
|
|
|
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
|
606zM`+(1001+r)+" "+a+"h400000v"+(40+r)+"H1017.7z"},Le=function(r,a,l){var g=l-54-a-r;return"M702 "+(r+a)+"H400000"+(40+r)+`
|
|
|
H742v`+g+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
|
|
|
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
|
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
|
219 661 l218 661zM702 `+a+"H400000v"+(40+r)+"H742z"},Ct=function(r,a,l){a=1e3*a;var g="";switch(r){case"sqrtMain":g=pe(a,He);break;case"sqrtSize1":g=Ue(a,He);break;case"sqrtSize2":g=ot(a,He);break;case"sqrtSize3":g=ct(a,He);break;case"sqrtSize4":g=ue(a,He);break;case"sqrtTall":g=Le(a,He,l)}return g},ke={doubleleftarrow:`M262 157
|
|
|
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
|
|
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
|
|
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
|
|
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
|
|
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
|
|
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
|
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
|
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
|
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
|
|
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
|
|
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
|
|
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
|
|
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
|
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
|
|
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
|
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
|
|
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
|
|
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
|
|
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
|
|
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
|
|
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
|
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
|
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
|
|
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
|
|
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
|
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
|
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
|
|
435 0h399565z`,leftgroupunder:`M400000 262
|
|
|
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
|
|
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
|
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
|
|
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
|
|
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
|
|
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
|
|
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
|
|
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
|
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
|
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
|
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
|
|
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
|
|
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
|
|
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
|
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
|
|
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
|
|
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
|
|
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
|
|
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
|
|
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
|
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
|
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
|
|
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
|
|
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
|
|
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
|
|
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
|
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
|
|
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
|
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
|
|
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
|
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
|
|
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
|
|
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
|
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
|
|
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
|
|
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
|
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
|
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
|
|
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
|
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
|
|
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
|
|
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
|
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
|
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
|
|
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
|
|
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
|
|
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
|
|
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
|
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
|
|
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
|
|
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
|
|
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
|
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
|
|
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
|
|
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
|
|
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
|
|
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
|
|
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
|
|
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
|
|
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
|
|
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
|
|
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
|
|
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
|
|
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
|
|
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
|
|
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
|
|
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
|
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
|
|
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
|
|
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
|
|
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
|
|
|
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
|
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
|
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
|
|
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
|
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
|
|
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
|
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
|
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
|
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
|
|
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
|
|
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
|
|
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
|
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
|
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
|
|
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
|
|
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
|
|
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
|
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
|
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
|
|
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
|
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
|
|
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
|
|
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
|
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
|
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
|
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
|
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
|
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
|
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
|
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
|
|
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
|
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
|
|
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
|
|
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
|
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
|
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
|
|
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
|
|
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
|
|
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
|
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
|
|
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
|
|
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
|
|
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
|
|
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
|
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
|
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
|
|
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
|
|
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
|
|
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
|
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
|
|
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
|
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
|
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
|
|
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
|
|
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
|
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},De=function(){function ae(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 r=ae.prototype;return r.hasClass=function(l){return S.contains(this.classes,l)},r.toNode=function(){for(var l=document.createDocumentFragment(),g=0;g<this.children.length;g++)l.appendChild(this.children[g].toNode());return l},r.toMarkup=function(){for(var l="",g=0;g<this.children.length;g++)l+=this.children[g].toMarkup();return l},r.toText=function(){var l=function(H){return H.toText()};return this.children.map(l).join("")},ae}(),j=function(r){return r.filter(function(a){return a}).join(" ")},_e=function(r,a,l){if(this.classes=r||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=l||{},a){a.style.isTight()&&this.classes.push("mtight");var g=a.getColor();g&&(this.style.color=g)}},be=function(r){var a=document.createElement(r);a.className=j(this.classes);for(var l in this.style)this.style.hasOwnProperty(l)&&(a.style[l]=this.style[l]);for(var g in this.attributes)this.attributes.hasOwnProperty(g)&&a.setAttribute(g,this.attributes[g]);for(var H=0;H<this.children.length;H++)a.appendChild(this.children[H].toNode());return a},fe=function(r){var a="<"+r;this.classes.length&&(a+=' class="'+S.escape(j(this.classes))+'"');var l="";for(var g in this.style)this.style.hasOwnProperty(g)&&(l+=S.hyphenate(g)+":"+this.style[g]+";");l&&(a+=' style="'+S.escape(l)+'"');for(var H in this.attributes)this.attributes.hasOwnProperty(H)&&(a+=" "+H+'="'+S.escape(this.attributes[H])+'"');a+=">";for(var se=0;se<this.children.length;se++)a+=this.children[se].toMarkup();return a+="</"+r+">",a},he=function(){function ae(a,l,g,H){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,_e.call(this,a,g,H),this.children=l||[]}var r=ae.prototype;return r.setAttribute=function(l,g){this.attributes[l]=g},r.hasClass=function(l){return S.contains(this.classes,l)},r.toNode=function(){return be.call(this,"span")},r.toMarkup=function(){return fe.call(this,"span")},ae}(),me=function(){function ae(a,l,g,H){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,_e.call(this,l,H),this.children=g||[],this.setAttribute("href",a)}var r=ae.prototype;return r.setAttribute=function(l,g){this.attributes[l]=g},r.hasClass=function(l){return S.contains(this.classes,l)},r.toNode=function(){return be.call(this,"a")},r.toMarkup=function(){return fe.call(this,"a")},ae}(),Ie=function(){function ae(a,l,g){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=l,this.src=a,this.classes=["mord"],this.style=g}var r=ae.prototype;return r.hasClass=function(l){return S.contains(this.classes,l)},r.toNode=function(){var l=document.createElement("img");l.src=this.src,l.alt=this.alt,l.className="mord";for(var g in this.style)this.style.hasOwnProperty(g)&&(l.style[g]=this.style[g]);return l},r.toMarkup=function(){var l="<img src='"+this.src+" 'alt='"+this.alt+"' ",g="";for(var H in this.style)this.style.hasOwnProperty(H)&&(g+=S.hyphenate(H)+":"+this.style[H]+";");return g&&(l+=' style="'+S.escape(g)+'"'),l+="'/>",l},ae}(),Se={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Me=function(){function ae(a,l,g,H,se,Fe,tt,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=l||0,this.depth=g||0,this.italic=H||0,this.skew=se||0,this.width=Fe||0,this.classes=tt||[],this.style=It||{},this.maxFontSize=0;var rr=z(this.text.charCodeAt(0));rr&&this.classes.push(rr+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Se[this.text])}var r=ae.prototype;return r.hasClass=function(l){return S.contains(this.classes,l)},r.toNode=function(){var l=document.createTextNode(this.text),g=null;this.italic>0&&(g=document.createElement("span"),g.style.marginRight=this.italic+"em"),this.classes.length>0&&(g=g||document.createElement("span"),g.className=j(this.classes));for(var H in this.style)this.style.hasOwnProperty(H)&&(g=g||document.createElement("span"),g.style[H]=this.style[H]);return g?(g.appendChild(l),g):l},r.toMarkup=function(){var l=!1,g="<span";this.classes.length&&(l=!0,g+=' class="',g+=S.escape(j(this.classes)),g+='"');var H="";this.italic>0&&(H+="margin-right:"+this.italic+"em;");for(var se in this.style)this.style.hasOwnProperty(se)&&(H+=S.hyphenate(se)+":"+this.style[se]+";");H&&(l=!0,g+=' style="'+S.escape(H)+'"');var Fe=S.escape(this.text);return l?(g+=">",g+=Fe,g+="</span>",g):Fe},ae}(),Je=function(){function ae(a,l){this.children=void 0,this.attributes=void 0,this.children=a||[],this.attributes=l||{}}var r=ae.prototype;return r.toNode=function(){var l="http://www.w3.org/2000/svg",g=document.createElementNS(l,"svg");for(var H in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,H)&&g.setAttribute(H,this.attributes[H]);for(var se=0;se<this.children.length;se++)g.appendChild(this.children[se].toNode());return g},r.toMarkup=function(){var l="<svg";for(var g in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,g)&&(l+=" "+g+"='"+this.attributes[g]+"'");l+=">";for(var H=0;H<this.children.length;H++)l+=this.children[H].toMarkup();return l+="</svg>",l},ae}(),pt=function(){function ae(a,l){this.pathName=void 0,this.alternate=void 0,this.pathName=a,this.alternate=l}var r=ae.prototype;return r.toNode=function(){var l="http://www.w3.org/2000/svg",g=document.createElementNS(l,"path");return this.alternate?g.setAttribute("d",this.alternate):g.setAttribute("d",ke[this.pathName]),g},r.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+ke[this.pathName]+"'/>"},ae}(),$t=function(){function ae(a){this.attributes=void 0,this.attributes=a||{}}var r=ae.prototype;return r.toNode=function(){var l="http://www.w3.org/2000/svg",g=document.createElementNS(l,"line");for(var H in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,H)&&g.setAttribute(H,this.attributes[H]);return g},r.toMarkup=function(){var l="<line";for(var g in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,g)&&(l+=" "+g+"='"+this.attributes[g]+"'");return l+="/>",l},ae}();function Yt(ae){if(ae instanceof Me)return ae;throw new Error("Expected symbolNode but got "+String(ae)+".")}function Gt(ae){if(ae instanceof he)return ae;throw new Error("Expected span<HtmlDomNode> but got "+String(ae)+".")}var Pt={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.744,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.744,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},it={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},xt={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Nt(ae,r){Pt[ae]=r}function Ht(ae,r,a){if(!Pt[r])throw new Error("Font metrics not found for font: "+r+".");var l=ae.charCodeAt(0),g=Pt[r][l];if(!g&&ae[0]in xt&&(l=xt[ae[0]].charCodeAt(0),g=Pt[r][l]),!g&&a==="text"&&Y(l)&&(g=Pt[r][77]),g)return{depth:g[0],height:g[1],italic:g[2],skew:g[3],width:g[4]}}var Et={};function er(ae){var r;if(ae>=5?r=0:ae>=3?r=1:r=2,!Et[r]){var a=Et[r]={cssEmPerMu:it.quad[r]/18};for(var l in it)it.hasOwnProperty(l)&&(a[l]=it[l][r])}return Et[r]}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},qr={math:{},text:{}},Ar=qr;function x(ae,r,a,l,g,H){qr[ae][g]={font:r,group:a,replace:l},H&&l&&(qr[ae][l]=qr[ae][g])}var W="math",St="text",oe="main",Be="ams",zr="accent-token",$r="bin",yn="close",Tn="inner",Ft="mathord",Sr="op-token",br="open",Br="punct",h="rel",D="spacing",Ee="textord";x(W,oe,h,"\u2261","\\equiv",!0),x(W,oe,h,"\u227A","\\prec",!0),x(W,oe,h,"\u227B","\\succ",!0),x(W,oe,h,"\u223C","\\sim",!0),x(W,oe,h,"\u22A5","\\perp"),x(W,oe,h,"\u2AAF","\\preceq",!0),x(W,oe,h,"\u2AB0","\\succeq",!0),x(W,oe,h,"\u2243","\\simeq",!0),x(W,oe,h,"\u2223","\\mid",!0),x(W,oe,h,"\u226A","\\ll",!0),x(W,oe,h,"\u226B","\\gg",!0),x(W,oe,h,"\u224D","\\asymp",!0),x(W,oe,h,"\u2225","\\parallel"),x(W,oe,h,"\u22C8","\\bowtie",!0),x(W,oe,h,"\u2323","\\smile",!0),x(W,oe,h,"\u2291","\\sqsubseteq",!0),x(W,oe,h,"\u2292","\\sqsupseteq",!0),x(W,oe,h,"\u2250","\\doteq",!0),x(W,oe,h,"\u2322","\\frown",!0),x(W,oe,h,"\u220B","\\ni",!0),x(W,oe,h,"\u221D","\\propto",!0),x(W,oe,h,"\u22A2","\\vdash",!0),x(W,oe,h,"\u22A3","\\dashv",!0),x(W,oe,h,"\u220B","\\owns"),x(W,oe,Br,".","\\ldotp"),x(W,oe,Br,"\u22C5","\\cdotp"),x(W,oe,Ee,"#","\\#"),x(St,oe,Ee,"#","\\#"),x(W,oe,Ee,"&","\\&"),x(St,oe,Ee,"&","\\&"),x(W,oe,Ee,"\u2135","\\aleph",!0),x(W,oe,Ee,"\u2200","\\forall",!0),x(W,oe,Ee,"\u210F","\\hbar",!0),x(W,oe,Ee,"\u2203","\\exists",!0),x(W,oe,Ee,"\u2207","\\nabla",!0),x(W,oe,Ee,"\u266D","\\flat",!0),x(W,oe,Ee,"\u2113","\\ell",!0),x(W,oe,Ee,"\u266E","\\natural",!0),x(W,oe,Ee,"\u2663","\\clubsuit",!0),x(W,oe,Ee,"\u2118","\\wp",!0),x(W,oe,Ee,"\u266F","\\sharp",!0),x(W,oe,Ee,"\u2662","\\diamondsuit",!0),x(W,oe,Ee,"\u211C","\\Re",!0),x(W,oe,Ee,"\u2661","\\heartsuit",!0),x(W,oe,Ee,"\u2111","\\Im",!0),x(W,oe,Ee,"\u2660","\\spadesuit",!0),x(St,oe,Ee,"\xA7","\\S",!0),x(St,oe,Ee,"\xB6","\\P",!0),x(W,oe,Ee,"\u2020","\\dag"),x(St,oe,Ee,"\u2020","\\dag"),x(St,oe,Ee,"\u2020","\\textdagger"),x(W,oe,Ee,"\u2021","\\ddag"),x(St,oe,Ee,"\u2021","\\ddag"),x(St,oe,Ee,"\u2021","\\textdaggerdbl"),x(W,oe,yn,"\u23B1","\\rmoustache",!0),x(W,oe,br,"\u23B0","\\lmoustache",!0),x(W,oe,yn,"\u27EF","\\rgroup",!0),x(W,oe,br,"\u27EE","\\lgroup",!0),x(W,oe,$r,"\u2213","\\mp",!0),x(W,oe,$r,"\u2296","\\ominus",!0),x(W,oe,$r,"\u228E","\\uplus",!0),x(W,oe,$r,"\u2293","\\sqcap",!0),x(W,oe,$r,"\u2217","\\ast"),x(W,oe,$r,"\u2294","\\sqcup",!0),x(W,oe,$r,"\u25EF","\\bigcirc"),x(W,oe,$r,"\u2219","\\bullet"),x(W,oe,$r,"\u2021","\\ddagger"),x(W,oe,$r,"\u2240","\\wr",!0),x(W,oe,$r,"\u2A3F","\\amalg"),x(W,oe,$r,"&","\\And"),x(W,oe,h,"\u27F5","\\longleftarrow",!0),x(W,oe,h,"\u21D0","\\Leftarrow",!0),x(W,oe,h,"\u27F8","\\Longleftarrow",!0),x(W,oe,h,"\u27F6","\\longrightarrow",!0),x(W,oe,h,"\u21D2","\\Rightarrow",!0),x(W,oe,h,"\u27F9","\\Longrightarrow",!0),x(W,oe,h,"\u2194","\\leftrightarrow",!0),x(W,oe,h,"\u27F7","\\longleftrightarrow",!0),x(W,oe,h,"\u21D4","\\Leftrightarrow",!0),x(W,oe,h,"\u27FA","\\Longleftrightarrow",!0),x(W,oe,h,"\u21A6","\\mapsto",!0),x(W,oe,h,"\u27FC","\\longmapsto",!0),x(W,oe,h,"\u2197","\\nearrow",!0),x(W,oe,h,"\u21A9","\\hookleftarrow",!0),x(W,oe,h,"\u21AA","\\hookrightarrow",!0),x(W,oe,h,"\u2198","\\searrow",!0),x(W,oe,h,"\u21BC","\\leftharpoonup",!0),x(W,oe,h,"\u21C0","\\rightharpoonup",!0),x(W,oe,h,"\u2199","\\swarrow",!0),x(W,oe,h,"\u21BD","\\leftharpoondown",!0),x(W,oe,h,"\u21C1","\\rightharpoondown",!0),x(W,oe,h,"\u2196","\\nwarrow",!0),x(W,oe,h,"\u21CC","\\rightleftharpoons",!0),x(W,Be,h,"\u226E","\\nless",!0),x(W,Be,h,"\uE010","\\@nleqslant"),x(W,Be,h,"\uE011","\\@nleqq"),x(W,Be,h,"\u2A87","\\lneq",!0),x(W,Be,h,"\u2268","\\lneqq",!0),x(W,Be,h,"\uE00C","\\@lvertneqq"),x(W,Be,h,"\u22E6","\\lnsim",!0),x(W,Be,h,"\u2A89","\\lnapprox",!0),x(W,Be,h,"\u2280","\\nprec",!0),x(W,Be,h,"\u22E0","\\npreceq",!0),x(W,Be,h,"\u22E8","\\precnsim",!0),x(W,Be,h,"\u2AB9","\\precnapprox",!0),x(W,Be,h,"\u2241","\\nsim",!0),x(W,Be,h,"\uE006","\\@nshortmid"),x(W,Be,h,"\u2224","\\nmid",!0),x(W,Be,h,"\u22AC","\\nvdash",!0),x(W,Be,h,"\u22AD","\\nvDash",!0),x(W,Be,h,"\u22EA","\\ntriangleleft"),x(W,Be,h,"\u22EC","\\ntrianglelefteq",!0),x(W,Be,h,"\u228A","\\subsetneq",!0),x(W,Be,h,"\uE01A","\\@varsubsetneq"),x(W,Be,h,"\u2ACB","\\subsetneqq",!0),x(W,Be,h,"\uE017","\\@varsubsetneqq"),x(W,Be,h,"\u226F","\\ngtr",!0),x(W,Be,h,"\uE00F","\\@ngeqslant"),x(W,Be,h,"\uE00E","\\@ngeqq"),x(W,Be,h,"\u2A88","\\gneq",!0),x(W,Be,h,"\u2269","\\gneqq",!0),x(W,Be,h,"\uE00D","\\@gvertneqq"),x(W,Be,h,"\u22E7","\\gnsim",!0),x(W,Be,h,"\u2A8A","\\gnapprox",!0),x(W,Be,h,"\u2281","\\nsucc",!0),x(W,Be,h,"\u22E1","\\nsucceq",!0),x(W,Be,h,"\u22E9","\\succnsim",!0),x(W,Be,h,"\u2ABA","\\succnapprox",!0),x(W,Be,h,"\u2246","\\ncong",!0),x(W,Be,h,"\uE007","\\@nshortparallel"),x(W,Be,h,"\u2226","\\nparallel",!0),x(W,Be,h,"\u22AF","\\nVDash",!0),x(W,Be,h,"\u22EB","\\ntriangleright"),x(W,Be,h,"\u22ED","\\ntrianglerighteq",!0),x(W,Be,h,"\uE018","\\@nsupseteqq"),x(W,Be,h,"\u228B","\\supsetneq",!0),x(W,Be,h,"\uE01B","\\@varsupsetneq"),x(W,Be,h,"\u2ACC","\\supsetneqq",!0),x(W,Be,h,"\uE019","\\@varsupsetneqq"),x(W,Be,h,"\u22AE","\\nVdash",!0),x(W,Be,h,"\u2AB5","\\precneqq",!0),x(W,Be,h,"\u2AB6","\\succneqq",!0),x(W,Be,h,"\uE016","\\@nsubseteqq"),x(W,Be,$r,"\u22B4","\\unlhd"),x(W,Be,$r,"\u22B5","\\unrhd"),x(W,Be,h,"\u219A","\\nleftarrow",!0),x(W,Be,h,"\u219B","\\nrightarrow",!0),x(W,Be,h,"\u21CD","\\nLeftarrow",!0),x(W,Be,h,"\u21CF","\\nRightarrow",!0),x(W,Be,h,"\u21AE","\\nleftrightarrow",!0),x(W,Be,h,"\u21CE","\\nLeftrightarrow",!0),x(W,Be,h,"\u25B3","\\vartriangle"),x(W,Be,Ee,"\u210F","\\hslash"),x(W,Be,Ee,"\u25BD","\\triangledown"),x(W,Be,Ee,"\u25CA","\\lozenge"),x(W,Be,Ee,"\u24C8","\\circledS"),x(W,Be,Ee,"\xAE","\\circledR"),x(St,Be,Ee,"\xAE","\\circledR"),x(W,Be,Ee,"\u2221","\\measuredangle",!0),x(W,Be,Ee,"\u2204","\\nexists"),x(W,Be,Ee,"\u2127","\\mho"),x(W,Be,Ee,"\u2132","\\Finv",!0),x(W,Be,Ee,"\u2141","\\Game",!0),x(W,Be,Ee,"\u2035","\\backprime"),x(W,Be,Ee,"\u25B2","\\blacktriangle"),x(W,Be,Ee,"\u25BC","\\blacktriangledown"),x(W,Be,Ee,"\u25A0","\\blacksquare"),x(W,Be,Ee,"\u29EB","\\blacklozenge"),x(W,Be,Ee,"\u2605","\\bigstar"),x(W,Be,Ee,"\u2222","\\sphericalangle",!0),x(W,Be,Ee,"\u2201","\\complement",!0),x(W,Be,Ee,"\xF0","\\eth",!0),x(W,Be,Ee,"\u2571","\\diagup"),x(W,Be,Ee,"\u2572","\\diagdown"),x(W,Be,Ee,"\u25A1","\\square"),x(W,Be,Ee,"\u25A1","\\Box"),x(W,Be,Ee,"\u25CA","\\Diamond"),x(W,Be,Ee,"\xA5","\\yen",!0),x(St,Be,Ee,"\xA5","\\yen",!0),x(W,Be,Ee,"\u2713","\\checkmark",!0),x(St,Be,Ee,"\u2713","\\checkmark"),x(W,Be,Ee,"\u2136","\\beth",!0),x(W,Be,Ee,"\u2138","\\daleth",!0),x(W,Be,Ee,"\u2137","\\gimel",!0),x(W,Be,Ee,"\u03DD","\\digamma",!0),x(W,Be,Ee,"\u03F0","\\varkappa"),x(W,Be,br,"\u250C","\\ulcorner",!0),x(W,Be,yn,"\u2510","\\urcorner",!0),x(W,Be,br,"\u2514","\\llcorner",!0),x(W,Be,yn,"\u2518","\\lrcorner",!0),x(W,Be,h,"\u2266","\\leqq",!0),x(W,Be,h,"\u2A7D","\\leqslant",!0),x(W,Be,h,"\u2A95","\\eqslantless",!0),x(W,Be,h,"\u2272","\\lesssim",!0),x(W,Be,h,"\u2A85","\\lessapprox",!0),x(W,Be,h,"\u224A","\\approxeq",!0),x(W,Be,$r,"\u22D6","\\lessdot"),x(W,Be,h,"\u22D8","\\lll",!0),x(W,Be,h,"\u2276","\\lessgtr",!0),x(W,Be,h,"\u22DA","\\lesseqgtr",!0),x(W,Be,h,"\u2A8B","\\lesseqqgtr",!0),x(W,Be,h,"\u2251","\\doteqdot"),x(W,Be,h,"\u2253","\\risingdotseq",!0),x(W,Be,h,"\u2252","\\fallingdotseq",!0),x(W,Be,h,"\u223D","\\backsim",!0),x(W,Be,h,"\u22CD","\\backsimeq",!0),x(W,Be,h,"\u2AC5","\\subseteqq",!0),x(W,Be,h,"\u22D0","\\Subset",!0),x(W,Be,h,"\u228F","\\sqsubset",!0),x(W,Be,h,"\u227C","\\preccurlyeq",!0),x(W,Be,h,"\u22DE","\\curlyeqprec",!0),x(W,Be,h,"\u227E","\\precsim",!0),x(W,Be,h,"\u2AB7","\\precapprox",!0),x(W,Be,h,"\u22B2","\\vartriangleleft"),x(W,Be,h,"\u22B4","\\trianglelefteq"),x(W,Be,h,"\u22A8","\\vDash",!0),x(W,Be,h,"\u22AA","\\Vvdash",!0),x(W,Be,h,"\u2323","\\smallsmile"),x(W,Be,h,"\u2322","\\smallfrown"),x(W,Be,h,"\u224F","\\bumpeq",!0),x(W,Be,h,"\u224E","\\Bumpeq",!0),x(W,Be,h,"\u2267","\\geqq",!0),x(W,Be,h,"\u2A7E","\\geqslant",!0),x(W,Be,h,"\u2A96","\\eqslantgtr",!0),x(W,Be,h,"\u2273","\\gtrsim",!0),x(W,Be,h,"\u2A86","\\gtrapprox",!0),x(W,Be,$r,"\u22D7","\\gtrdot"),x(W,Be,h,"\u22D9","\\ggg",!0),x(W,Be,h,"\u2277","\\gtrless",!0),x(W,Be,h,"\u22DB","\\gtreqless",!0),x(W,Be,h,"\u2A8C","\\gtreqqless",!0),x(W,Be,h,"\u2256","\\eqcirc",!0),x(W,Be,h,"\u2257","\\circeq",!0),x(W,Be,h,"\u225C","\\triangleq",!0),x(W,Be,h,"\u223C","\\thicksim"),x(W,Be,h,"\u2248","\\thickapprox"),x(W,Be,h,"\u2AC6","\\supseteqq",!0),x(W,Be,h,"\u22D1","\\Supset",!0),x(W,Be,h,"\u2290","\\sqsupset",!0),x(W,Be,h,"\u227D","\\succcurlyeq",!0),x(W,Be,h,"\u22DF","\\curlyeqsucc",!0),x(W,Be,h,"\u227F","\\succsim",!0),x(W,Be,h,"\u2AB8","\\succapprox",!0),x(W,Be,h,"\u22B3","\\vartriangleright"),x(W,Be,h,"\u22B5","\\trianglerighteq"),x(W,Be,h,"\u22A9","\\Vdash",!0),x(W,Be,h,"\u2223","\\shortmid"),x(W,Be,h,"\u2225","\\shortparallel"),x(W,Be,h,"\u226C","\\between",!0),x(W,Be,h,"\u22D4","\\pitchfork",!0),x(W,Be,h,"\u221D","\\varpropto"),x(W,Be,h,"\u25C0","\\blacktriangleleft"),x(W,Be,h,"\u2234","\\therefore",!0),x(W,Be,h,"\u220D","\\backepsilon"),x(W,Be,h,"\u25B6","\\blacktriangleright"),x(W,Be,h,"\u2235","\\because",!0),x(W,Be,h,"\u22D8","\\llless"),x(W,Be,h,"\u22D9","\\gggtr"),x(W,Be,$r,"\u22B2","\\lhd"),x(W,Be,$r,"\u22B3","\\rhd"),x(W,Be,h,"\u2242","\\eqsim",!0),x(W,oe,h,"\u22C8","\\Join"),x(W,Be,h,"\u2251","\\Doteq",!0),x(W,Be,$r,"\u2214","\\dotplus",!0),x(W,Be,$r,"\u2216","\\smallsetminus"),x(W,Be,$r,"\u22D2","\\Cap",!0),x(W,Be,$r,"\u22D3","\\Cup",!0),x(W,Be,$r,"\u2A5E","\\doublebarwedge",!0),x(W,Be,$r,"\u229F","\\boxminus",!0),x(W,Be,$r,"\u229E","\\boxplus",!0),x(W,Be,$r,"\u22C7","\\divideontimes",!0),x(W,Be,$r,"\u22C9","\\ltimes",!0),x(W,Be,$r,"\u22CA","\\rtimes",!0),x(W,Be,$r,"\u22CB","\\leftthreetimes",!0),x(W,Be,$r,"\u22CC","\\rightthreetimes",!0),x(W,Be,$r,"\u22CF","\\curlywedge",!0),x(W,Be,$r,"\u22CE","\\curlyvee",!0),x(W,Be,$r,"\u229D","\\circleddash",!0),x(W,Be,$r,"\u229B","\\circledast",!0),x(W,Be,$r,"\u22C5","\\centerdot"),x(W,Be,$r,"\u22BA","\\intercal",!0),x(W,Be,$r,"\u22D2","\\doublecap"),x(W,Be,$r,"\u22D3","\\doublecup"),x(W,Be,$r,"\u22A0","\\boxtimes",!0),x(W,Be,h,"\u21E2","\\dashrightarrow",!0),x(W,Be,h,"\u21E0","\\dashleftarrow",!0),x(W,Be,h,"\u21C7","\\leftleftarrows",!0),x(W,Be,h,"\u21C6","\\leftrightarrows",!0),x(W,Be,h,"\u21DA","\\Lleftarrow",!0),x(W,Be,h,"\u219E","\\twoheadleftarrow",!0),x(W,Be,h,"\u21A2","\\leftarrowtail",!0),x(W,Be,h,"\u21AB","\\looparrowleft",!0),x(W,Be,h,"\u21CB","\\leftrightharpoons",!0),x(W,Be,h,"\u21B6","\\curvearrowleft",!0),x(W,Be,h,"\u21BA","\\circlearrowleft",!0),x(W,Be,h,"\u21B0","\\Lsh",!0),x(W,Be,h,"\u21C8","\\upuparrows",!0),x(W,Be,h,"\u21BF","\\upharpoonleft",!0),x(W,Be,h,"\u21C3","\\downharpoonleft",!0),x(W,Be,h,"\u22B8","\\multimap",!0),x(W,Be,h,"\u21AD","\\leftrightsquigarrow",!0),x(W,Be,h,"\u21C9","\\rightrightarrows",!0),x(W,Be,h,"\u21C4","\\rightleftarrows",!0),x(W,Be,h,"\u21A0","\\twoheadrightarrow",!0),x(W,Be,h,"\u21A3","\\rightarrowtail",!0),x(W,Be,h,"\u21AC","\\looparrowright",!0),x(W,Be,h,"\u21B7","\\curvearrowright",!0),x(W,Be,h,"\u21BB","\\circlearrowright",!0),x(W,Be,h,"\u21B1","\\Rsh",!0),x(W,Be,h,"\u21CA","\\downdownarrows",!0),x(W,Be,h,"\u21BE","\\upharpoonright",!0),x(W,Be,h,"\u21C2","\\downharpoonright",!0),x(W,Be,h,"\u21DD","\\rightsquigarrow",!0),x(W,Be,h,"\u21DD","\\leadsto"),x(W,Be,h,"\u21DB","\\Rrightarrow",!0),x(W,Be,h,"\u21BE","\\restriction"),x(W,oe,Ee,"\u2018","`"),x(W,oe,Ee,"$","\\$"),x(St,oe,Ee,"$","\\$"),x(St,oe,Ee,"$","\\textdollar"),x(W,oe,Ee,"%","\\%"),x(St,oe,Ee,"%","\\%"),x(W,oe,Ee,"_","\\_"),x(St,oe,Ee,"_","\\_"),x(St,oe,Ee,"_","\\textunderscore"),x(W,oe,Ee,"\u2220","\\angle",!0),x(W,oe,Ee,"\u221E","\\infty",!0),x(W,oe,Ee,"\u2032","\\prime"),x(W,oe,Ee,"\u25B3","\\triangle"),x(W,oe,Ee,"\u0393","\\Gamma",!0),x(W,oe,Ee,"\u0394","\\Delta",!0),x(W,oe,Ee,"\u0398","\\Theta",!0),x(W,oe,Ee,"\u039B","\\Lambda",!0),x(W,oe,Ee,"\u039E","\\Xi",!0),x(W,oe,Ee,"\u03A0","\\Pi",!0),x(W,oe,Ee,"\u03A3","\\Sigma",!0),x(W,oe,Ee,"\u03A5","\\Upsilon",!0),x(W,oe,Ee,"\u03A6","\\Phi",!0),x(W,oe,Ee,"\u03A8","\\Psi",!0),x(W,oe,Ee,"\u03A9","\\Omega",!0),x(W,oe,Ee,"A","\u0391"),x(W,oe,Ee,"B","\u0392"),x(W,oe,Ee,"E","\u0395"),x(W,oe,Ee,"Z","\u0396"),x(W,oe,Ee,"H","\u0397"),x(W,oe,Ee,"I","\u0399"),x(W,oe,Ee,"K","\u039A"),x(W,oe,Ee,"M","\u039C"),x(W,oe,Ee,"N","\u039D"),x(W,oe,Ee,"O","\u039F"),x(W,oe,Ee,"P","\u03A1"),x(W,oe,Ee,"T","\u03A4"),x(W,oe,Ee,"X","\u03A7"),x(W,oe,Ee,"\xAC","\\neg",!0),x(W,oe,Ee,"\xAC","\\lnot"),x(W,oe,Ee,"\u22A4","\\top"),x(W,oe,Ee,"\u22A5","\\bot"),x(W,oe,Ee,"\u2205","\\emptyset"),x(W,Be,Ee,"\u2205","\\varnothing"),x(W,oe,Ft,"\u03B1","\\alpha",!0),x(W,oe,Ft,"\u03B2","\\beta",!0),x(W,oe,Ft,"\u03B3","\\gamma",!0),x(W,oe,Ft,"\u03B4","\\delta",!0),x(W,oe,Ft,"\u03F5","\\epsilon",!0),x(W,oe,Ft,"\u03B6","\\zeta",!0),x(W,oe,Ft,"\u03B7","\\eta",!0),x(W,oe,Ft,"\u03B8","\\theta",!0),x(W,oe,Ft,"\u03B9","\\iota",!0),x(W,oe,Ft,"\u03BA","\\kappa",!0),x(W,oe,Ft,"\u03BB","\\lambda",!0),x(W,oe,Ft,"\u03BC","\\mu",!0),x(W,oe,Ft,"\u03BD","\\nu",!0),x(W,oe,Ft,"\u03BE","\\xi",!0),x(W,oe,Ft,"\u03BF","\\omicron",!0),x(W,oe,Ft,"\u03C0","\\pi",!0),x(W,oe,Ft,"\u03C1","\\rho",!0),x(W,oe,Ft,"\u03C3","\\sigma",!0),x(W,oe,Ft,"\u03C4","\\tau",!0),x(W,oe,Ft,"\u03C5","\\upsilon",!0),x(W,oe,Ft,"\u03D5","\\phi",!0),x(W,oe,Ft,"\u03C7","\\chi",!0),x(W,oe,Ft,"\u03C8","\\psi",!0),x(W,oe,Ft,"\u03C9","\\omega",!0),x(W,oe,Ft,"\u03B5","\\varepsilon",!0),x(W,oe,Ft,"\u03D1","\\vartheta",!0),x(W,oe,Ft,"\u03D6","\\varpi",!0),x(W,oe,Ft,"\u03F1","\\varrho",!0),x(W,oe,Ft,"\u03C2","\\varsigma",!0),x(W,oe,Ft,"\u03C6","\\varphi",!0),x(W,oe,$r,"\u2217","*"),x(W,oe,$r,"+","+"),x(W,oe,$r,"\u2212","-"),x(W,oe,$r,"\u22C5","\\cdot",!0),x(W,oe,$r,"\u2218","\\circ"),x(W,oe,$r,"\xF7","\\div",!0),x(W,oe,$r,"\xB1","\\pm",!0),x(W,oe,$r,"\xD7","\\times",!0),x(W,oe,$r,"\u2229","\\cap",!0),x(W,oe,$r,"\u222A","\\cup",!0),x(W,oe,$r,"\u2216","\\setminus"),x(W,oe,$r,"\u2227","\\land"),x(W,oe,$r,"\u2228","\\lor"),x(W,oe,$r,"\u2227","\\wedge",!0),x(W,oe,$r,"\u2228","\\vee",!0),x(W,oe,Ee,"\u221A","\\surd"),x(W,oe,br,"(","("),x(W,oe,br,"[","["),x(W,oe,br,"\u27E8","\\langle",!0),x(W,oe,br,"\u2223","\\lvert"),x(W,oe,br,"\u2225","\\lVert"),x(W,oe,yn,")",")"),x(W,oe,yn,"]","]"),x(W,oe,yn,"?","?"),x(W,oe,yn,"!","!"),x(W,oe,yn,"\u27E9","\\rangle",!0),x(W,oe,yn,"\u2223","\\rvert"),x(W,oe,yn,"\u2225","\\rVert"),x(W,oe,h,"=","="),x(W,oe,h,"<","<"),x(W,oe,h,">",">"),x(W,oe,h,":",":"),x(W,oe,h,"\u2248","\\approx",!0),x(W,oe,h,"\u2245","\\cong",!0),x(W,oe,h,"\u2265","\\ge"),x(W,oe,h,"\u2265","\\geq",!0),x(W,oe,h,"\u2190","\\gets"),x(W,oe,h,">","\\gt"),x(W,oe,h,"\u2208","\\in",!0),x(W,oe,h,"\uE020","\\@not"),x(W,oe,h,"\u2282","\\subset",!0),x(W,oe,h,"\u2283","\\supset",!0),x(W,oe,h,"\u2286","\\subseteq",!0),x(W,oe,h,"\u2287","\\supseteq",!0),x(W,Be,h,"\u2288","\\nsubseteq",!0),x(W,Be,h,"\u2289","\\nsupseteq",!0),x(W,oe,h,"\u22A8","\\models"),x(W,oe,h,"\u2190","\\leftarrow",!0),x(W,oe,h,"\u2264","\\le"),x(W,oe,h,"\u2264","\\leq",!0),x(W,oe,h,"<","\\lt"),x(W,oe,h,"\u2192","\\rightarrow",!0),x(W,oe,h,"\u2192","\\to"),x(W,Be,h,"\u2271","\\ngeq",!0),x(W,Be,h,"\u2270","\\nleq",!0),x(W,oe,D,"\xA0","\\ "),x(W,oe,D,"\xA0","~"),x(W,oe,D,"\xA0","\\space"),x(W,oe,D,"\xA0","\\nobreakspace"),x(St,oe,D,"\xA0","\\ "),x(St,oe,D,"\xA0","~"),x(St,oe,D,"\xA0","\\space"),x(St,oe,D,"\xA0","\\nobreakspace"),x(W,oe,D,null,"\\nobreak"),x(W,oe,D,null,"\\allowbreak"),x(W,oe,Br,",",","),x(W,oe,Br,";",";"),x(W,Be,$r,"\u22BC","\\barwedge",!0),x(W,Be,$r,"\u22BB","\\veebar",!0),x(W,oe,$r,"\u2299","\\odot",!0),x(W,oe,$r,"\u2295","\\oplus",!0),x(W,oe,$r,"\u2297","\\otimes",!0),x(W,oe,Ee,"\u2202","\\partial",!0),x(W,oe,$r,"\u2298","\\oslash",!0),x(W,Be,$r,"\u229A","\\circledcirc",!0),x(W,Be,$r,"\u22A1","\\boxdot",!0),x(W,oe,$r,"\u25B3","\\bigtriangleup"),x(W,oe,$r,"\u25BD","\\bigtriangledown"),x(W,oe,$r,"\u2020","\\dagger"),x(W,oe,$r,"\u22C4","\\diamond"),x(W,oe,$r,"\u22C6","\\star"),x(W,oe,$r,"\u25C3","\\triangleleft"),x(W,oe,$r,"\u25B9","\\triangleright"),x(W,oe,br,"{","\\{"),x(St,oe,Ee,"{","\\{"),x(St,oe,Ee,"{","\\textbraceleft"),x(W,oe,yn,"}","\\}"),x(St,oe,Ee,"}","\\}"),x(St,oe,Ee,"}","\\textbraceright"),x(W,oe,br,"{","\\lbrace"),x(W,oe,yn,"}","\\rbrace"),x(W,oe,br,"[","\\lbrack"),x(St,oe,Ee,"[","\\lbrack"),x(W,oe,yn,"]","\\rbrack"),x(St,oe,Ee,"]","\\rbrack"),x(W,oe,br,"(","\\lparen"),x(W,oe,yn,")","\\rparen"),x(St,oe,Ee,"<","\\textless"),x(St,oe,Ee,">","\\textgreater"),x(W,oe,br,"\u230A","\\lfloor",!0),x(W,oe,yn,"\u230B","\\rfloor",!0),x(W,oe,br,"\u2308","\\lceil",!0),x(W,oe,yn,"\u2309","\\rceil",!0),x(W,oe,Ee,"\\","\\backslash"),x(W,oe,Ee,"\u2223","|"),x(W,oe,Ee,"\u2223","\\vert"),x(St,oe,Ee,"|","\\textbar"),x(W,oe,Ee,"\u2225","\\|"),x(W,oe,Ee,"\u2225","\\Vert"),x(St,oe,Ee,"\u2225","\\textbardbl"),x(St,oe,Ee,"~","\\textasciitilde"),x(St,oe,Ee,"\\","\\textbackslash"),x(St,oe,Ee,"^","\\textasciicircum"),x(W,oe,h,"\u2191","\\uparrow",!0),x(W,oe,h,"\u21D1","\\Uparrow",!0),x(W,oe,h,"\u2193","\\downarrow",!0),x(W,oe,h,"\u21D3","\\Downarrow",!0),x(W,oe,h,"\u2195","\\updownarrow",!0),x(W,oe,h,"\u21D5","\\Updownarrow",!0),x(W,oe,Sr,"\u2210","\\coprod"),x(W,oe,Sr,"\u22C1","\\bigvee"),x(W,oe,Sr,"\u22C0","\\bigwedge"),x(W,oe,Sr,"\u2A04","\\biguplus"),x(W,oe,Sr,"\u22C2","\\bigcap"),x(W,oe,Sr,"\u22C3","\\bigcup"),x(W,oe,Sr,"\u222B","\\int"),x(W,oe,Sr,"\u222B","\\intop"),x(W,oe,Sr,"\u222C","\\iint"),x(W,oe,Sr,"\u222D","\\iiint"),x(W,oe,Sr,"\u220F","\\prod"),x(W,oe,Sr,"\u2211","\\sum"),x(W,oe,Sr,"\u2A02","\\bigotimes"),x(W,oe,Sr,"\u2A01","\\bigoplus"),x(W,oe,Sr,"\u2A00","\\bigodot"),x(W,oe,Sr,"\u222E","\\oint"),x(W,oe,Sr,"\u222F","\\oiint"),x(W,oe,Sr,"\u2230","\\oiiint"),x(W,oe,Sr,"\u2A06","\\bigsqcup"),x(W,oe,Sr,"\u222B","\\smallint"),x(St,oe,Tn,"\u2026","\\textellipsis"),x(W,oe,Tn,"\u2026","\\mathellipsis"),x(St,oe,Tn,"\u2026","\\ldots",!0),x(W,oe,Tn,"\u2026","\\ldots",!0),x(W,oe,Tn,"\u22EF","\\@cdots",!0),x(W,oe,Tn,"\u22F1","\\ddots",!0),x(W,oe,Ee,"\u22EE","\\varvdots"),x(W,oe,zr,"\u02CA","\\acute"),x(W,oe,zr,"\u02CB","\\grave"),x(W,oe,zr,"\xA8","\\ddot"),x(W,oe,zr,"~","\\tilde"),x(W,oe,zr,"\u02C9","\\bar"),x(W,oe,zr,"\u02D8","\\breve"),x(W,oe,zr,"\u02C7","\\check"),x(W,oe,zr,"^","\\hat"),x(W,oe,zr,"\u20D7","\\vec"),x(W,oe,zr,"\u02D9","\\dot"),x(W,oe,zr,"\u02DA","\\mathring"),x(W,oe,Ft,"\u0131","\\imath",!0),x(W,oe,Ft,"\u0237","\\jmath",!0),x(St,oe,Ee,"\u0131","\\i",!0),x(St,oe,Ee,"\u0237","\\j",!0),x(St,oe,Ee,"\xDF","\\ss",!0),x(St,oe,Ee,"\xE6","\\ae",!0),x(St,oe,Ee,"\xE6","\\ae",!0),x(St,oe,Ee,"\u0153","\\oe",!0),x(St,oe,Ee,"\xF8","\\o",!0),x(St,oe,Ee,"\xC6","\\AE",!0),x(St,oe,Ee,"\u0152","\\OE",!0),x(St,oe,Ee,"\xD8","\\O",!0),x(St,oe,zr,"\u02CA","\\'"),x(St,oe,zr,"\u02CB","\\`"),x(St,oe,zr,"\u02C6","\\^"),x(St,oe,zr,"\u02DC","\\~"),x(St,oe,zr,"\u02C9","\\="),x(St,oe,zr,"\u02D8","\\u"),x(St,oe,zr,"\u02D9","\\."),x(St,oe,zr,"\u02DA","\\r"),x(St,oe,zr,"\u02C7","\\v"),x(St,oe,zr,"\xA8",'\\"'),x(St,oe,zr,"\u02DD","\\H"),x(St,oe,zr,"\u25EF","\\textcircled");var ne={"--":!0,"---":!0,"``":!0,"''":!0};x(St,oe,Ee,"\u2013","--"),x(St,oe,Ee,"\u2013","\\textendash"),x(St,oe,Ee,"\u2014","---"),x(St,oe,Ee,"\u2014","\\textemdash"),x(St,oe,Ee,"\u2018","`"),x(St,oe,Ee,"\u2018","\\textquoteleft"),x(St,oe,Ee,"\u2019","'"),x(St,oe,Ee,"\u2019","\\textquoteright"),x(St,oe,Ee,"\u201C","``"),x(St,oe,Ee,"\u201C","\\textquotedblleft"),x(St,oe,Ee,"\u201D","''"),x(St,oe,Ee,"\u201D","\\textquotedblright"),x(W,oe,Ee,"\xB0","\\degree",!0),x(St,oe,Ee,"\xB0","\\degree"),x(St,oe,Ee,"\xB0","\\textdegree",!0),x(W,oe,Ft,"\xA3","\\pounds"),x(W,oe,Ft,"\xA3","\\mathsterling",!0),x(St,oe,Ft,"\xA3","\\pounds"),x(St,oe,Ft,"\xA3","\\textsterling",!0),x(W,Be,Ee,"\u2720","\\maltese"),x(St,Be,Ee,"\u2720","\\maltese"),x(St,oe,D,"\xA0","\\ "),x(St,oe,D,"\xA0"," "),x(St,oe,D,"\xA0","~");for(var lt='0123456789/@."',pn=0;pn<lt.length;pn++){var mt=lt.charAt(pn);x(W,oe,Ee,mt,mt)}for(var Ut='0123456789!@*()-=+[]<>|";:?/.,',Ur=0;Ur<Ut.length;Ur++){var Pr=Ut.charAt(Ur);x(St,oe,Ee,Pr,Pr)}for(var Jr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",gn=0;gn<Jr.length;gn++){var Jn=Jr.charAt(gn);x(W,oe,Ft,Jn,Jn),x(St,oe,Ee,Jn,Jn)}x(W,Be,Ee,"C","\u2102"),x(St,Be,Ee,"C","\u2102"),x(W,Be,Ee,"H","\u210D"),x(St,Be,Ee,"H","\u210D"),x(W,Be,Ee,"N","\u2115"),x(St,Be,Ee,"N","\u2115"),x(W,Be,Ee,"P","\u2119"),x(St,Be,Ee,"P","\u2119"),x(W,Be,Ee,"Q","\u211A"),x(St,Be,Ee,"Q","\u211A"),x(W,Be,Ee,"R","\u211D"),x(St,Be,Ee,"R","\u211D"),x(W,Be,Ee,"Z","\u2124"),x(St,Be,Ee,"Z","\u2124"),x(W,oe,Ft,"h","\u210E"),x(St,oe,Ft,"h","\u210E");for(var ge="",mr=0;mr<Jr.length;mr++){var et=Jr.charAt(mr);ge=String.fromCharCode(55349,56320+mr),x(W,oe,Ft,et,ge),x(St,oe,Ee,et,ge),ge=String.fromCharCode(55349,56372+mr),x(W,oe,Ft,et,ge),x(St,oe,Ee,et,ge),ge=String.fromCharCode(55349,56424+mr),x(W,oe,Ft,et,ge),x(St,oe,Ee,et,ge),ge=String.fromCharCode(55349,56580+mr),x(W,oe,Ft,et,ge),x(St,oe,Ee,et,ge),ge=String.fromCharCode(55349,56736+mr),x(W,oe,Ft,et,ge),x(St,oe,Ee,et,ge),ge=String.fromCharCode(55349,56788+mr),x(W,oe,Ft,et,ge),x(St,oe,Ee,et,ge),ge=String.fromCharCode(55349,56840+mr),x(W,oe,Ft,et,ge),x(St,oe,Ee,et,ge),ge=String.fromCharCode(55349,56944+mr),x(W,oe,Ft,et,ge),x(St,oe,Ee,et,ge),mr<26&&(ge=String.fromCharCode(55349,56632+mr),x(W,oe,Ft,et,ge),x(St,oe,Ee,et,ge),ge=String.fromCharCode(55349,56476+mr),x(W,oe,Ft,et,ge),x(St,oe,Ee,et,ge))}ge="\u{1D55C}",x(W,oe,Ft,"k",ge),x(St,oe,Ee,"k",ge);for(var Ir=0;Ir<10;Ir++){var Vr=Ir.toString();ge=String.fromCharCode(55349,57294+Ir),x(W,oe,Ft,Vr,ge),x(St,oe,Ee,Vr,ge),ge=String.fromCharCode(55349,57314+Ir),x(W,oe,Ft,Vr,ge),x(St,oe,Ee,Vr,ge),ge=String.fromCharCode(55349,57324+Ir),x(W,oe,Ft,Vr,ge),x(St,oe,Ee,Vr,ge),ge=String.fromCharCode(55349,57334+Ir),x(W,oe,Ft,Vr,ge),x(St,oe,Ee,Vr,ge)}for(var Sn="\xC7\xD0\xDE\xE7\xFE",ea=0;ea<Sn.length;ea++){var vt=Sn.charAt(ea);x(W,oe,Ft,vt,vt),x(St,oe,Ee,vt,vt)}x(St,oe,Ee,"\xF0","\xF0"),x(St,oe,Ee,"\u2013","\u2013"),x(St,oe,Ee,"\u2014","\u2014"),x(St,oe,Ee,"\u2018","\u2018"),x(St,oe,Ee,"\u2019","\u2019"),x(St,oe,Ee,"\u201C","\u201C"),x(St,oe,Ee,"\u201D","\u201D");var nr=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],sr=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],or=function(r,a){var l=r.charCodeAt(0),g=r.charCodeAt(1),H=(l-55296)*1024+(g-56320)+65536,se=a==="math"?0:1;if(119808<=H&&H<120484){var Fe=Math.floor((H-119808)/26);return[nr[Fe][2],nr[Fe][se]]}else if(120782<=H&&H<=120831){var tt=Math.floor((H-120782)/10);return[sr[tt][2],sr[tt][se]]}else{if(H===120485||H===120486)return[nr[0][2],nr[0][se]];if(120486<H&&H<120782)return["",""];throw new ee("Unsupported character: "+r)}},jr=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],on=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Wr=function(r,a){return a.size<2?r:jr[r-1][a.size-1]},Dr=function(){function ae(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||ae.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=on[this.size-1],this.maxSize=a.maxSize,this.minRuleThickness=a.minRuleThickness,this._fontMetrics=void 0}var r=ae.prototype;return r.extend=function(l){var g={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var H in l)l.hasOwnProperty(H)&&(g[H]=l[H]);return new ae(g)},r.havingStyle=function(l){return this.style===l?this:this.extend({style:l,size:Wr(this.textSize,l)})},r.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},r.havingSize=function(l){return this.size===l&&this.textSize===l?this:this.extend({style:this.style.text(),size:l,textSize:l,sizeMultiplier:on[l-1]})},r.havingBaseStyle=function(l){l=l||this.style.text();var g=Wr(ae.BASESIZE,l);return this.size===g&&this.textSize===ae.BASESIZE&&this.style===l?this:this.extend({style:l,size:g})},r.havingBaseSizing=function(){var l;switch(this.style.id){case 4:case 5:l=3;break;case 6:case 7:l=1;break;default:l=6}return this.extend({style:this.style.text(),size:l})},r.withColor=function(l){return this.extend({color:l})},r.withPhantom=function(){return this.extend({phantom:!0})},r.withFont=function(l){return this.extend({font:l})},r.withTextFontFamily=function(l){return this.extend({fontFamily:l,font:""})},r.withTextFontWeight=function(l){return this.extend({fontWeight:l,font:""})},r.withTextFontShape=function(l){return this.extend({fontShape:l,font:""})},r.sizingClasses=function(l){return l.size!==this.size?["sizing","reset-size"+l.size,"size"+this.size]:[]},r.baseSizingClasses=function(){return this.size!==ae.BASESIZE?["sizing","reset-size"+this.size,"size"+ae.BASESIZE]:[]},r.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=er(this.size)),this._fontMetrics},r.getColor=function(){return this.phantom?"transparent":this.color},ae}();Dr.BASESIZE=6;var nn=Dr,sn={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},$n={ex:!0,em:!0,mu:!0},Pn=function(r){return typeof r!="string"&&(r=r.unit),r in sn||r in $n||r==="ex"},On=function(r,a){var l;if(r.unit in sn)l=sn[r.unit]/a.fontMetrics().ptPerEm/a.sizeMultiplier;else if(r.unit==="mu")l=a.fontMetrics().cssEmPerMu;else{var g;if(a.style.isTight()?g=a.havingStyle(a.style.text()):g=a,r.unit==="ex")l=g.fontMetrics().xHeight;else if(r.unit==="em")l=g.fontMetrics().quad;else throw new ee("Invalid unit: '"+r.unit+"'");g!==a&&(l*=g.sizeMultiplier/a.sizeMultiplier)}return Math.min(r.number*l,a.maxSize)},Bn=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],ta=function(r,a,l){return Ar[l][r]&&Ar[l][r].replace&&(r=Ar[l][r].replace),{value:r,metrics:Ht(r,a,l)}},tn=function(r,a,l,g,H){var se=ta(r,a,l),Fe=se.metrics;r=se.value;var tt;if(Fe){var It=Fe.italic;(l==="text"||g&&g.font==="mathit")&&(It=0),tt=new Me(r,Fe.height,Fe.depth,It,Fe.skew,Fe.width,H)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+r+"' in style '"+a+"' and mode '"+l+"'")),tt=new Me(r,0,0,0,0,0,H);if(g){tt.maxFontSize=g.sizeMultiplier,g.style.isTight()&&tt.classes.push("mtight");var rr=g.getColor();rr&&(tt.style.color=rr)}return tt},An=function(r,a,l,g){return g===void 0&&(g=[]),l.font==="boldsymbol"&&ta(r,"Main-Bold",a).metrics?tn(r,"Main-Bold",a,l,g.concat(["mathbf"])):r==="\\"||Ar[a][r].font==="main"?tn(r,"Main-Regular",a,l,g):tn(r,"AMS-Regular",a,l,g.concat(["amsrm"]))},Yn=function(r,a,l,g){return/[0-9]/.test(r.charAt(0))||S.contains(Bn,r)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},ua=function(r,a,l,g){return S.contains(Bn,r)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(r.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},zn=function(r,a,l,g){return ta(r,"Math-BoldItalic",a).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},ra=function(r,a,l){var g=r.mode,H=r.text,se=["mord"],Fe=g==="math"||g==="text"&&a.font,tt=Fe?a.font:a.fontFamily;if(H.charCodeAt(0)===55349){var It=or(H,g),rr=It[0],pr=It[1];return tn(H,rr,g,a,se.concat(pr))}else if(tt){var kr,rn;if(tt==="boldsymbol"||tt==="mathnormal"){var hn=tt==="boldsymbol"?zn(H,g,a,se):ua(H,g,a,se);kr=hn.fontName,rn=[hn.fontClass]}else S.contains(Bn,H)?(kr="Main-Italic",rn=["mathit"]):Fe?(kr=p[tt].fontName,rn=[tt]):(kr=s(tt,a.fontWeight,a.fontShape),rn=[tt,a.fontWeight,a.fontShape]);if(ta(H,kr,g).metrics)return tn(H,kr,g,a,se.concat(rn));if(ne.hasOwnProperty(H)&&kr.substr(0,10)==="Typewriter"){for(var In=[],Un=0;Un<H.length;Un++)In.push(tn(H[Un],kr,g,a,se.concat(rn)));return za(In)}}if(l==="mathord"){var Ca=Yn(H,g,a,se);return tn(H,Ca.fontName,g,a,se.concat([Ca.fontClass]))}else if(l==="textord"){var Ia=Ar[g][H]&&Ar[g][H].font;if(Ia==="ams"){var c=s("amsrm",a.fontWeight,a.fontShape);return tn(H,c,g,a,se.concat("amsrm",a.fontWeight,a.fontShape))}else if(Ia==="main"||!Ia){var e=s("textrm",a.fontWeight,a.fontShape);return tn(H,e,g,a,se.concat(a.fontWeight,a.fontShape))}else{var t=s(Ia,a.fontWeight,a.fontShape);return tn(H,t,g,a,se.concat(t,a.fontWeight,a.fontShape))}}else throw new Error("unexpected type: "+l+" in makeOrd")},Gn=function(r,a){if(j(r.classes)!==j(a.classes)||r.skew!==a.skew||r.maxFontSize!==a.maxFontSize)return!1;for(var l in r.style)if(r.style.hasOwnProperty(l)&&r.style[l]!==a.style[l])return!1;for(var g in a.style)if(a.style.hasOwnProperty(g)&&r.style[g]!==a.style[g])return!1;return!0},Wn=function(r){for(var a=0;a<r.length-1;a++){var l=r[a],g=r[a+1];l instanceof Me&&g instanceof Me&&Gn(l,g)&&(l.text+=g.text,l.height=Math.max(l.height,g.height),l.depth=Math.max(l.depth,g.depth),l.italic=g.italic,r.splice(a+1,1),a--)}return r},qn=function(r){for(var a=0,l=0,g=0,H=0;H<r.children.length;H++){var se=r.children[H];se.height>a&&(a=se.height),se.depth>l&&(l=se.depth),se.maxFontSize>g&&(g=se.maxFontSize)}r.height=a,r.depth=l,r.maxFontSize=g},Dn=function(r,a,l,g){var H=new he(r,a,l,g);return qn(H),H},xn=function(r,a,l,g){return new he(r,a,l,g)},Kn=function(r,a,l){var g=Dn([r],[],a);return g.height=Math.max(l||a.fontMetrics().defaultRuleThickness,a.minRuleThickness),g.style.borderBottomWidth=g.height+"em",g.maxFontSize=1,g},wa=function(r,a,l,g){var H=new me(r,a,l,g);return qn(H),H},za=function(r){var a=new De(r);return qn(a),a},to=function(r,a){return r instanceof De?Dn([],[r],a):r},ro=function(r){if(r.positionType==="individualShift"){for(var a=r.children,l=[a[0]],g=-a[0].shift-a[0].elem.depth,H=g,se=1;se<a.length;se++){var Fe=-a[se].shift-H-a[se].elem.depth,tt=Fe-(a[se-1].elem.height+a[se-1].elem.depth);H=H+Fe,l.push({type:"kern",size:tt}),l.push(a[se])}return{children:l,depth:g}}var It;if(r.positionType==="top"){for(var rr=r.positionData,pr=0;pr<r.children.length;pr++){var kr=r.children[pr];rr-=kr.type==="kern"?kr.size:kr.elem.height+kr.elem.depth}It=rr}else if(r.positionType==="bottom")It=-r.positionData;else{var rn=r.children[0];if(rn.type!=="elem")throw new Error('First child must have type "elem".');if(r.positionType==="shift")It=-rn.elem.depth-r.positionData;else if(r.positionType==="firstBaseline")It=-rn.elem.depth;else throw new Error("Invalid positionType "+r.positionType+".")}return{children:r.children,depth:It}},so=function(r,a){for(var l=ro(r),g=l.children,H=l.depth,se=0,Fe=0;Fe<g.length;Fe++){var tt=g[Fe];if(tt.type==="elem"){var It=tt.elem;se=Math.max(se,It.maxFontSize,It.height)}}se+=2;var rr=Dn(["pstrut"],[]);rr.style.height=se+"em";for(var pr=[],kr=H,rn=H,hn=H,In=0;In<g.length;In++){var Un=g[In];if(Un.type==="kern")hn+=Un.size;else{var Ca=Un.elem,Ia=Un.wrapperClasses||[],c=Un.wrapperStyle||{},e=Dn(Ia,[rr,Ca],void 0,c);e.style.top=-se-hn-Ca.depth+"em",Un.marginLeft&&(e.style.marginLeft=Un.marginLeft),Un.marginRight&&(e.style.marginRight=Un.marginRight),pr.push(e),hn+=Ca.height+Ca.depth}kr=Math.min(kr,hn),rn=Math.max(rn,hn)}var t=Dn(["vlist"],pr);t.style.height=rn+"em";var d;if(kr<0){var O=Dn([],[]),V=Dn(["vlist"],[O]);V.style.height=-kr+"em";var Oe=Dn(["vlist-s"],[new Me("\u200B")]);d=[Dn(["vlist-r"],[t,Oe]),Dn(["vlist-r"],[V])]}else d=[Dn(["vlist-r"],[t])];var Ke=Dn(["vlist-t"],d);return d.length===2&&Ke.classes.push("vlist-t2"),Ke.height=rn,Ke.depth=-kr,Ke},f=function(r,a){var l=Dn(["mspace"],[],a),g=On(r,a);return l.style.marginRight=g+"em",l},s=function(r,a,l){var g="";switch(r){case"amsrm":g="AMS";break;case"textrm":g="Main";break;case"textsf":g="SansSerif";break;case"texttt":g="Typewriter";break;default:g=r}var H;return a==="textbf"&&l==="textit"?H="BoldItalic":a==="textbf"?H="Bold":a==="textit"?H="Italic":H="Regular",g+"-"+H},p={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},b={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},A=function(r,a){var l=b[r],g=l[0],H=l[1],se=l[2],Fe=new pt(g),tt=new Je([Fe],{width:H+"em",height:se+"em",style:"width:"+H+"em",viewBox:"0 0 "+1e3*H+" "+1e3*se,preserveAspectRatio:"xMinYMin"}),It=xn(["overlay"],[tt],a);return It.height=se,It.style.height=se+"em",It.style.width=H+"em",It},v={fontMap:p,makeSymbol:tn,mathsym:An,makeSpan:Dn,makeSvgSpan:xn,makeLineSpan:Kn,makeAnchor:wa,makeFragment:za,wrapFragment:to,makeVList:so,makeOrd:ra,makeGlue:f,staticSvg:A,svgData:b,tryCombineChars:Wn};function T(ae,r){var a=Z(ae,r);if(!a)throw new Error("Expected node of type "+r+", but got "+(ae?"node of type "+ae.type:String(ae)));return a}function Z(ae,r){return ae&&ae.type===r?ae:null}function re(ae,r){var a=Ae(ae,r);if(!a)throw new Error('Expected node of type "atom" and family "'+r+'", but got '+(ae?ae.type==="atom"?"atom of family "+ae.family:"node of type "+ae.type:String(ae)));return a}function Ae(ae,r){return ae&&ae.type==="atom"&&ae.family===r?ae:null}function st(ae){var r=jt(ae);if(!r)throw new Error("Expected node of symbol group type, but got "+(ae?"node of type "+ae.type:String(ae)));return r}function jt(ae){return ae&&(ae.type==="atom"||Cr.hasOwnProperty(ae.type))?ae:null}var At={number:3,unit:"mu"},ve={number:4,unit:"mu"},kt={number:5,unit:"mu"},Ge={mord:{mop:At,mbin:ve,mrel:kt,minner:At},mop:{mord:At,mop:At,mrel:kt,minner:At},mbin:{mord:ve,mop:ve,mopen:ve,minner:ve},mrel:{mord:kt,mop:kt,mopen:kt,minner:kt},mopen:{},mclose:{mop:At,mbin:ve,mrel:kt,minner:At},mpunct:{mord:At,mop:At,mrel:kt,mopen:At,mclose:At,mpunct:At,minner:At},minner:{mord:At,mop:At,mbin:ve,mrel:kt,mopen:At,mpunct:At,minner:At}},Zt={mord:{mop:At},mop:{mord:At,mop:At},mbin:{},mrel:{},mopen:{},mclose:{mop:At},mpunct:{},minner:{mop:At}},gt={},ar={},yr={};function Qt(ae){for(var r=ae.type,a=ae.names,l=ae.props,g=ae.handler,H=ae.htmlBuilder,se=ae.mathmlBuilder,Fe={type:r,numArgs:l.numArgs,argTypes:l.argTypes,greediness:l.greediness===void 0?1:l.greediness,allowedInText:!!l.allowedInText,allowedInMath:l.allowedInMath===void 0?!0:l.allowedInMath,numOptionalArgs:l.numOptionalArgs||0,infix:!!l.infix,handler:g},tt=0;tt<a.length;++tt)gt[a[tt]]=Fe;r&&(H&&(ar[r]=H),se&&(yr[r]=se))}function at(ae){var r=ae.type,a=ae.htmlBuilder,l=ae.mathmlBuilder;Qt({type:r,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:a,mathmlBuilder:l})}var Ce=function(r){var a=Z(r,"ordgroup");return a?a.body:[r]},Vt=v.makeSpan,Mt=["leftmost","mbin","mopen","mrel","mop","mpunct"],Ot=["rightmost","mrel","mclose","mpunct"],qt={display:w.DISPLAY,text:w.TEXT,script:w.SCRIPT,scriptscript:w.SCRIPTSCRIPT},We={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},ze=function(r,a,l,g){g===void 0&&(g=[null,null]);for(var H=[],se=0;se<r.length;se++){var Fe=Tt(r[se],a);if(Fe instanceof De){var tt=Fe.children;H.push.apply(H,tt)}else H.push(Fe)}if(!l)return H;var It=a;if(r.length===1){var rr=Z(r[0],"sizing")||Z(r[0],"styling");rr&&(rr.type==="sizing"?It=a.havingSize(rr.size):rr.type==="styling"&&(It=a.havingStyle(qt[rr.style])))}var pr=Vt([g[0]||"leftmost"],[],a),kr=Vt([g[1]||"rightmost"],[],a);return wt(H,function(rn,hn){var In=hn.classes[0],Un=rn.classes[0];In==="mbin"&&S.contains(Ot,Un)?hn.classes[0]="mord":Un==="mbin"&&S.contains(Mt,In)&&(rn.classes[0]="mord")},{node:pr},kr),wt(H,function(rn,hn){var In=gr(hn),Un=gr(rn),Ca=In&&Un?rn.hasClass("mtight")?Zt[In][Un]:Ge[In][Un]:null;if(Ca)return v.makeGlue(Ca,It)},{node:pr},kr),H},wt=function ae(r,a,l,g){g&&r.push(g);for(var H=0;H<r.length;H++){var se=r[H],Fe=ut(se);if(Fe){ae(Fe.children,a,l);continue}if(se.classes[0]!=="mspace"){var tt=a(se,l.node);tt&&(l.insertAfter?l.insertAfter(tt):(r.unshift(tt),H++)),l.node=se,l.insertAfter=function(It){return function(rr){r.splice(It+1,0,rr),H++}}(H)}}g&&r.pop()},ut=function(r){return r instanceof De||r instanceof me?r:null},cr=function ae(r,a){var l=ut(r);if(l){var g=l.children;if(g.length){if(a==="right")return ae(g[g.length-1],"right");if(a==="left")return ae(g[0],"left")}}return r},gr=function(r,a){return r?(a&&(r=cr(r,a)),We[r.classes[0]]||null):null},_t=function(r,a){var l=["nulldelimiter"].concat(r.baseSizingClasses());return Vt(a.concat(l))},Tt=function(r,a,l){if(!r)return Vt();if(ar[r.type]){var g=ar[r.type](r,a);if(l&&a.size!==l.size){g=Vt(a.sizingClasses(l),[g],a);var H=a.sizeMultiplier/l.sizeMultiplier;g.height*=H,g.depth*=H}return g}else throw new ee("Got group of unknown type: '"+r.type+"'")};function ir(ae,r){var a=Vt(["base"],ae,r),l=Vt(["strut"]);return l.style.height=a.height+a.depth+"em",l.style.verticalAlign=-a.depth+"em",a.children.unshift(l),a}function Zr(ae,r){var a=null;ae.length===1&&ae[0].type==="tag"&&(a=ae[0].tag,ae=ae[0].body);for(var l=ze(ae,r,!0),g=[],H=[],se=0;se<l.length;se++)if(H.push(l[se]),l[se].hasClass("mbin")||l[se].hasClass("mrel")||l[se].hasClass("allowbreak")){for(var Fe=!1;se<l.length-1&&l[se+1].hasClass("mspace")&&!l[se+1].hasClass("newline");)se++,H.push(l[se]),l[se].hasClass("nobreak")&&(Fe=!0);Fe||(g.push(ir(H,r)),H=[])}else l[se].hasClass("newline")&&(H.pop(),H.length>0&&(g.push(ir(H,r)),H=[]),g.push(l[se]));H.length>0&&g.push(ir(H,r));var tt;a&&(tt=ir(ze(a,r,!0)),tt.classes=["tag"],g.push(tt));var It=Vt(["katex-html"],g);if(It.setAttribute("aria-hidden","true"),tt){var rr=tt.children[0];rr.style.height=It.height+It.depth+"em",rr.style.verticalAlign=-It.depth+"em"}return It}function Wt(ae){return new De(ae)}var Pe=function(){function ae(a,l){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=a,this.attributes={},this.children=l||[]}var r=ae.prototype;return r.setAttribute=function(l,g){this.attributes[l]=g},r.getAttribute=function(l){return this.attributes[l]},r.toNode=function(){var l=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var g in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,g)&&l.setAttribute(g,this.attributes[g]);for(var H=0;H<this.children.length;H++)l.appendChild(this.children[H].toNode());return l},r.toMarkup=function(){var l="<"+this.type;for(var g in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,g)&&(l+=" "+g+'="',l+=S.escape(this.attributes[g]),l+='"');l+=">";for(var H=0;H<this.children.length;H++)l+=this.children[H].toMarkup();return l+="</"+this.type+">",l},r.toText=function(){return this.children.map(function(l){return l.toText()}).join("")},ae}(),bt=function(){function ae(a){this.text=void 0,this.text=a}var r=ae.prototype;return r.toNode=function(){return document.createTextNode(this.text)},r.toMarkup=function(){return S.escape(this.toText())},r.toText=function(){return this.text},ae}(),Bt=function(){function ae(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 r=ae.prototype;return r.toNode=function(){if(this.character)return document.createTextNode(this.character);var l=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return l.setAttribute("width",this.width+"em"),l},r.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},r.toText=function(){return this.character?this.character:" "},ae}(),ht={MathNode:Pe,TextNode:bt,SpaceNode:Bt,newDocumentFragment:Wt},Jt=function(r,a,l){return Ar[a][r]&&Ar[a][r].replace&&r.charCodeAt(0)!==55349&&!(ne.hasOwnProperty(r)&&l&&(l.fontFamily&&l.fontFamily.substr(4,2)==="tt"||l.font&&l.font.substr(4,2)==="tt"))&&(r=Ar[a][r].replace),new ht.TextNode(r)},dr=function(r){return r.length===1?r[0]:new ht.MathNode("mrow",r)},fr=function(r,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 l=a.font;if(!l||l==="mathnormal")return null;var g=r.mode;if(l==="mathit")return"italic";if(l==="boldsymbol")return"bold-italic";if(l==="mathbf")return"bold";if(l==="mathbb")return"double-struck";if(l==="mathfrak")return"fraktur";if(l==="mathscr"||l==="mathcal")return"script";if(l==="mathsf")return"sans-serif";if(l==="mathtt")return"monospace";var H=r.text;if(S.contains(["\\imath","\\jmath"],H))return null;Ar[g][H]&&Ar[g][H].replace&&(H=Ar[g][H].replace);var se=v.fontMap[l].fontName;return Ht(H,se,g)?v.fontMap[l].variant:null},Er=function(r,a,l){if(r.length===1){var g=Rr(r[0],a);return l&&g instanceof Pe&&g.type==="mo"&&(g.setAttribute("lspace","0em"),g.setAttribute("rspace","0em")),[g]}for(var H=[],se,Fe=0;Fe<r.length;Fe++){var tt=Rr(r[Fe],a);if(tt instanceof Pe&&se instanceof Pe){if(tt.type==="mtext"&&se.type==="mtext"&&tt.getAttribute("mathvariant")===se.getAttribute("mathvariant")){var It;(It=se.children).push.apply(It,tt.children);continue}else if(tt.type==="mn"&&se.type==="mn"){var rr;(rr=se.children).push.apply(rr,tt.children);continue}else if(tt.type==="mi"&&tt.children.length===1&&se.type==="mn"){var pr=tt.children[0];if(pr instanceof bt&&pr.text==="."){var kr;(kr=se.children).push.apply(kr,tt.children);continue}}else if(se.type==="mi"&&se.children.length===1){var rn=se.children[0];if(rn instanceof bt&&rn.text==="\u0338"&&(tt.type==="mo"||tt.type==="mi"||tt.type==="mn")){var hn=tt.children[0];hn instanceof bt&&hn.text.length>0&&(hn.text=hn.text.slice(0,1)+"\u0338"+hn.text.slice(1),H.pop())}}}H.push(tt),se=tt}return H},Lr=function(r,a,l){return dr(Er(r,a,l))},Rr=function(r,a){if(!r)return new ht.MathNode("mrow");if(yr[r.type]){var l=yr[r.type](r,a);return l}else throw new ee("Got group of unknown type: '"+r.type+"'")};function cn(ae,r,a,l){var g=Er(ae,a),H;g.length===1&&g[0]instanceof Pe&&S.contains(["mrow","mtable"],g[0].type)?H=g[0]:H=new ht.MathNode("mrow",g);var se=new ht.MathNode("annotation",[new ht.TextNode(r)]);se.setAttribute("encoding","application/x-tex");var Fe=new ht.MathNode("semantics",[H,se]),tt=new ht.MathNode("math",[Fe]);tt.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var It=l?"katex":"katex-mathml";return v.makeSpan([It],[tt])}var wn=function(r){return new nn({style:r.displayMode?w.DISPLAY:w.TEXT,maxSize:r.maxSize,minRuleThickness:r.minRuleThickness})},Mr=function(r,a){if(a.displayMode){var l=["katex-display"];a.leqno&&l.push("leqno"),a.fleqn&&l.push("fleqn"),r=v.makeSpan(l,[r])}return r},Lt=function(r,a,l){var g=wn(l),H;if(l.output==="mathml")return cn(r,a,g,!0);if(l.output==="html"){var se=Zr(r,g);H=v.makeSpan(["katex"],[se])}else{var Fe=cn(r,a,g,!1),tt=Zr(r,g);H=v.makeSpan(["katex"],[Fe,tt])}return Mr(H,l)},ba=function(r,a,l){var g=wn(l),H=Zr(r,g),se=v.makeSpan(["katex"],[H]);return Mr(se,l)},da=Lt,Hn={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB"},an=function(r){var a=new ht.MathNode("mo",[new ht.TextNode(Hn[r.substr(1)])]);return a.setAttribute("stretchy","true"),a},dn={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Gr=function(r){return r.type==="ordgroup"?r.body.length:1},sa=function(r,a){function l(){var tt=4e5,It=r.label.substr(1);if(S.contains(["widehat","widecheck","widetilde","utilde"],It)){var rr=r,pr=Gr(rr.base),kr,rn,hn;if(pr>5)It==="widehat"||It==="widecheck"?(kr=420,tt=2364,hn=.42,rn=It+"4"):(kr=312,tt=2340,hn=.34,rn="tilde4");else{var In=[1,1,2,2,3,3][pr];It==="widehat"||It==="widecheck"?(tt=[0,1062,2364,2364,2364][In],kr=[0,239,300,360,420][In],hn=[0,.24,.3,.3,.36,.42][In],rn=It+In):(tt=[0,600,1033,2339,2340][In],kr=[0,260,286,306,312][In],hn=[0,.26,.286,.3,.306,.34][In],rn="tilde"+In)}var Un=new pt(rn),Ca=new Je([Un],{width:"100%",height:hn+"em",viewBox:"0 0 "+tt+" "+kr,preserveAspectRatio:"none"});return{span:v.makeSvgSpan([],[Ca],a),minWidth:0,height:hn}}else{var Ia=[],c=dn[It],e=c[0],t=c[1],d=c[2],O=d/1e3,V=e.length,Oe,Ke;if(V===1){var Ye=c[3];Oe=["hide-tail"],Ke=[Ye]}else if(V===2)Oe=["halfarrow-left","halfarrow-right"],Ke=["xMinYMin","xMaxYMin"];else if(V===3)Oe=["brace-left","brace-center","brace-right"],Ke=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+V+" children.");for(var Kt=0;Kt<V;Kt++){var ur=new pt(e[Kt]),xr=new Je([ur],{width:"400em",height:O+"em",viewBox:"0 0 "+tt+" "+d,preserveAspectRatio:Ke[Kt]+" slice"}),Fr=v.makeSvgSpan([Oe[Kt]],[xr],a);if(V===1)return{span:Fr,minWidth:t,height:O};Fr.style.height=O+"em",Ia.push(Fr)}return{span:v.makeSpan(["stretchy"],Ia,a),minWidth:t,height:O}}}var g=l(),H=g.span,se=g.minWidth,Fe=g.height;return H.height=Fe,H.style.height=Fe+"em",se>0&&(H.style.minWidth=se+"em"),H},Vn=function(r,a,l,g){var H,se=r.height+r.depth+2*l;if(/fbox|color/.test(a)){if(H=v.makeSpan(["stretchy",a],[],g),a==="fbox"){var Fe=g.color&&g.getColor();Fe&&(H.style.borderColor=Fe)}}else{var tt=[];/^[bx]cancel$/.test(a)&&tt.push(new $t({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(a)&&tt.push(new $t({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var It=new Je(tt,{width:"100%",height:se+"em"});H=v.makeSvgSpan([],[It],g)}return H.height=se,H.style.height=se+"em",H},xa={encloseSpan:Vn,mathMLnode:an,svgSpan:sa},Xn=function(r,a){var l,g,H=Z(r,"supsub"),se;H?(g=T(H.base,"accent"),l=g.base,H.base=l,se=Gt(Tt(H,a)),H.base=g):(g=T(r,"accent"),l=g.base);var Fe=Tt(l,a.havingCrampedStyle()),tt=g.isShifty&&S.isCharacterBox(l),It=0;if(tt){var rr=S.getBaseElem(l),pr=Tt(rr,a.havingCrampedStyle());It=Yt(pr).skew}var kr=Math.min(Fe.height,a.fontMetrics().xHeight),rn;if(g.isStretchy)rn=xa.svgSpan(g,a),rn=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Fe},{type:"elem",elem:rn,wrapperClasses:["svg-align"],wrapperStyle:It>0?{width:"calc(100% - "+2*It+"em)",marginLeft:2*It+"em"}:void 0}]},a);else{var hn,In;g.label==="\\vec"?(hn=v.staticSvg("vec",a),In=v.svgData.vec[1]):(hn=v.makeOrd({mode:g.mode,text:g.label},a,"textord"),hn=Yt(hn),hn.italic=0,In=hn.width),rn=v.makeSpan(["accent-body"],[hn]);var Un=g.label==="\\textcircled";Un&&(rn.classes.push("accent-full"),kr=Fe.height);var Ca=It;Un||(Ca-=In/2),rn.style.left=Ca+"em",g.label==="\\textcircled"&&(rn.style.top=".2em"),rn=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Fe},{type:"kern",size:-kr},{type:"elem",elem:rn}]},a)}var Ia=v.makeSpan(["mord","accent"],[rn],a);return se?(se.children[0]=Ia,se.height=Math.max(Ia.height,se.height),se.classes[0]="mord",se):Ia},la=function(r,a){var l=r.isStretchy?xa.mathMLnode(r.label):new ht.MathNode("mo",[Jt(r.label,r.mode)]),g=new ht.MathNode("mover",[Rr(r.base,a),l]);return g.setAttribute("accent","true"),g},La=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(ae){return"\\"+ae}).join("|"));Qt({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(r,a){var l=a[0],g=!La.test(r.funcName),H=!g||r.funcName==="\\widehat"||r.funcName==="\\widetilde"||r.funcName==="\\widecheck";return{type:"accent",mode:r.parser.mode,label:r.funcName,isStretchy:g,isShifty:H,base:l}},htmlBuilder:Xn,mathmlBuilder:la}),Qt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(r,a){var l=a[0];return{type:"accent",mode:r.parser.mode,label:r.funcName,isStretchy:!1,isShifty:!0,base:l}},htmlBuilder:Xn,mathmlBuilder:la}),Qt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(r,a){var l=r.parser,g=r.funcName,H=a[0];return{type:"accentUnder",mode:l.mode,label:g,base:H}},htmlBuilder:function(r,a){var l=Tt(r.base,a),g=xa.svgSpan(r,a),H=r.label==="\\utilde"?.12:0,se=v.makeVList({positionType:"bottom",positionData:g.height+H,children:[{type:"elem",elem:g,wrapperClasses:["svg-align"]},{type:"kern",size:H},{type:"elem",elem:l}]},a);return v.makeSpan(["mord","accentunder"],[se],a)},mathmlBuilder:function(r,a){var l=xa.mathMLnode(r.label),g=new ht.MathNode("munder",[Rr(r.base,a),l]);return g.setAttribute("accentunder","true"),g}});var na=function(r){var a=new ht.MathNode("mpadded",r?[r]:[]);return a.setAttribute("width","+0.6em"),a.setAttribute("lspace","0.3em"),a};Qt({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(r,a,l){var g=r.parser,H=r.funcName;return{type:"xArrow",mode:g.mode,label:H,body:a[0],below:l[0]}},htmlBuilder:function(r,a){var l=a.style,g=a.havingStyle(l.sup()),H=v.wrapFragment(Tt(r.body,g,a),a);H.classes.push("x-arrow-pad");var se;r.below&&(g=a.havingStyle(l.sub()),se=v.wrapFragment(Tt(r.below,g,a),a),se.classes.push("x-arrow-pad"));var Fe=xa.svgSpan(r,a),tt=-a.fontMetrics().axisHeight+.5*Fe.height,It=-a.fontMetrics().axisHeight-.5*Fe.height-.111;(H.depth>.25||r.label==="\\xleftequilibrium")&&(It-=H.depth);var rr;if(se){var pr=-a.fontMetrics().axisHeight+se.height+.5*Fe.height+.111;rr=v.makeVList({positionType:"individualShift",children:[{type:"elem",elem:H,shift:It},{type:"elem",elem:Fe,shift:tt},{type:"elem",elem:se,shift:pr}]},a)}else rr=v.makeVList({positionType:"individualShift",children:[{type:"elem",elem:H,shift:It},{type:"elem",elem:Fe,shift:tt}]},a);return rr.children[0].children[0].children[1].classes.push("svg-align"),v.makeSpan(["mrel","x-arrow"],[rr],a)},mathmlBuilder:function(r,a){var l=xa.mathMLnode(r.label),g;if(r.body){var H=na(Rr(r.body,a));if(r.below){var se=na(Rr(r.below,a));g=new ht.MathNode("munderover",[l,se,H])}else g=new ht.MathNode("mover",[l,H])}else if(r.below){var Fe=na(Rr(r.below,a));g=new ht.MathNode("munder",[l,Fe])}else g=na(),g=new ht.MathNode("mover",[l,g]);return g}}),Qt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(r,a){for(var l=r.parser,g=T(a[0],"ordgroup"),H=g.body,se="",Fe=0;Fe<H.length;Fe++){var tt=T(H[Fe],"textord");se+=tt.text}var It=parseInt(se);if(isNaN(It))throw new ee("\\@char has non-numeric argument "+se);return{type:"textord",mode:l.mode,text:String.fromCharCode(It)}}});var kn=function(r,a){var l=ze(r.body,a.withColor(r.color),!1);return v.makeFragment(l)},aa=function(r,a){var l=Er(r.body,a.withColor(r.color)),g=new ht.MathNode("mstyle",l);return g.setAttribute("mathcolor",r.color),g};Qt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(r,a){var l=r.parser,g=T(a[0],"color-token").color,H=a[1];return{type:"color",mode:l.mode,color:g,body:Ce(H)}},htmlBuilder:kn,mathmlBuilder:aa}),Qt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(r,a){var l=r.parser,g=r.breakOnTokenText,H=T(a[0],"color-token").color;l.gullet.macros.set("\\current@color",H);var se=l.parseExpression(!0,g);return{type:"color",mode:l.mode,color:H,body:se}},htmlBuilder:kn,mathmlBuilder:aa}),Qt({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(r,a,l){var g=r.parser,H=r.funcName,se=l[0],Fe=H==="\\cr",tt=!1;return Fe||(g.settings.displayMode&&g.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?tt=!1:tt=!0),{type:"cr",mode:g.mode,newLine:tt,newRow:Fe,size:se&&T(se,"size").value}},htmlBuilder:function(r,a){if(r.newRow)throw new ee("\\cr valid only within a tabular/array environment");var l=v.makeSpan(["mspace"],[],a);return r.newLine&&(l.classes.push("newline"),r.size&&(l.style.marginTop=On(r.size,a)+"em")),l},mathmlBuilder:function(r,a){var l=new ht.MathNode("mspace");return r.newLine&&(l.setAttribute("linebreak","newline"),r.size&&l.setAttribute("height",On(r.size,a)+"em")),l}});var Fn=function(r,a,l){var g=Ar.math[r]&&Ar.math[r].replace,H=Ht(g||r,a,l);if(!H)throw new Error("Unsupported symbol "+r+" and font size "+a+".");return H},Ln=function(r,a,l,g){var H=l.havingBaseStyle(a),se=v.makeSpan(g.concat(H.sizingClasses(l)),[r],l),Fe=H.sizeMultiplier/l.sizeMultiplier;return se.height*=Fe,se.depth*=Fe,se.maxFontSize=H.sizeMultiplier,se},_n=function(r,a,l){var g=a.havingBaseStyle(l),H=(1-a.sizeMultiplier/g.sizeMultiplier)*a.fontMetrics().axisHeight;r.classes.push("delimcenter"),r.style.top=H+"em",r.height-=H,r.depth+=H},Qr=function(r,a,l,g,H,se){var Fe=v.makeSymbol(r,"Main-Regular",H,g),tt=Ln(Fe,a,g,se);return l&&_n(tt,g,a),tt},mn=function(r,a,l,g){return v.makeSymbol(r,"Size"+a+"-Regular",l,g)},ca=function(r,a,l,g,H,se){var Fe=mn(r,a,H,g),tt=Ln(v.makeSpan(["delimsizing","size"+a],[Fe],g),w.TEXT,g,se);return l&&_n(tt,g,w.TEXT),tt},En=function(r,a,l){var g;a==="Size1-Regular"?g="delim-size1":g="delim-size4";var H=v.makeSpan(["delimsizinginner",g],[v.makeSpan([],[v.makeSymbol(r,a,l)])]);return{type:"elem",elem:H}},ha={type:"kern",size:-.005},Zn=function(r,a,l,g,H,se){var Fe,tt,It,rr;Fe=It=rr=r,tt=null;var pr="Size1-Regular";r==="\\uparrow"?It=rr="\u23D0":r==="\\Uparrow"?It=rr="\u2016":r==="\\downarrow"?Fe=It="\u23D0":r==="\\Downarrow"?Fe=It="\u2016":r==="\\updownarrow"?(Fe="\\uparrow",It="\u23D0",rr="\\downarrow"):r==="\\Updownarrow"?(Fe="\\Uparrow",It="\u2016",rr="\\Downarrow"):r==="["||r==="\\lbrack"?(Fe="\u23A1",It="\u23A2",rr="\u23A3",pr="Size4-Regular"):r==="]"||r==="\\rbrack"?(Fe="\u23A4",It="\u23A5",rr="\u23A6",pr="Size4-Regular"):r==="\\lfloor"||r==="\u230A"?(It=Fe="\u23A2",rr="\u23A3",pr="Size4-Regular"):r==="\\lceil"||r==="\u2308"?(Fe="\u23A1",It=rr="\u23A2",pr="Size4-Regular"):r==="\\rfloor"||r==="\u230B"?(It=Fe="\u23A5",rr="\u23A6",pr="Size4-Regular"):r==="\\rceil"||r==="\u2309"?(Fe="\u23A4",It=rr="\u23A5",pr="Size4-Regular"):r==="("||r==="\\lparen"?(Fe="\u239B",It="\u239C",rr="\u239D",pr="Size4-Regular"):r===")"||r==="\\rparen"?(Fe="\u239E",It="\u239F",rr="\u23A0",pr="Size4-Regular"):r==="\\{"||r==="\\lbrace"?(Fe="\u23A7",tt="\u23A8",rr="\u23A9",It="\u23AA",pr="Size4-Regular"):r==="\\}"||r==="\\rbrace"?(Fe="\u23AB",tt="\u23AC",rr="\u23AD",It="\u23AA",pr="Size4-Regular"):r==="\\lgroup"||r==="\u27EE"?(Fe="\u23A7",rr="\u23A9",It="\u23AA",pr="Size4-Regular"):r==="\\rgroup"||r==="\u27EF"?(Fe="\u23AB",rr="\u23AD",It="\u23AA",pr="Size4-Regular"):r==="\\lmoustache"||r==="\u23B0"?(Fe="\u23A7",rr="\u23AD",It="\u23AA",pr="Size4-Regular"):(r==="\\rmoustache"||r==="\u23B1")&&(Fe="\u23AB",rr="\u23A9",It="\u23AA",pr="Size4-Regular");var kr=Fn(Fe,pr,H),rn=kr.height+kr.depth,hn=Fn(It,pr,H),In=hn.height+hn.depth,Un=Fn(rr,pr,H),Ca=Un.height+Un.depth,Ia=0,c=1;if(tt!==null){var e=Fn(tt,pr,H);Ia=e.height+e.depth,c=2}var t=rn+Ca+Ia,d=Math.max(0,Math.ceil((a-t)/(c*In))),O=t+d*c*In,V=g.fontMetrics().axisHeight;l&&(V*=g.sizeMultiplier);var Oe=O/2-V,Ke=(d+1)*.005-In,Ye=[];if(Ye.push(En(rr,pr,H)),tt===null)for(var Kt=0;Kt<d;Kt++)Ye.push(ha),Ye.push(En(It,pr,H));else{for(var ur=0;ur<d;ur++)Ye.push(ha),Ye.push(En(It,pr,H));Ye.push({type:"kern",size:Ke}),Ye.push(En(It,pr,H)),Ye.push(ha),Ye.push(En(tt,pr,H));for(var xr=0;xr<d;xr++)Ye.push(ha),Ye.push(En(It,pr,H))}Ye.push({type:"kern",size:Ke}),Ye.push(En(It,pr,H)),Ye.push(ha),Ye.push(En(Fe,pr,H));var Fr=g.havingBaseStyle(w.TEXT),Hr=v.makeVList({positionType:"bottom",positionData:Oe,children:Ye},Fr);return Ln(v.makeSpan(["delimsizing","mult"],[Hr],Fr),w.TEXT,g,se)},Ha=80,Ja=.08,Cn=function(r,a,l,g,H){var se=Ct(r,g,l),Fe=new pt(r,se),tt=new Je([Fe],{width:"400em",height:a+"em",viewBox:"0 0 400000 "+l,preserveAspectRatio:"xMinYMin slice"});return v.makeSvgSpan(["hide-tail"],[tt],H)},jn=function(r,a){var l=a.havingBaseSizing(),g=Na("\\surd",r*l.sizeMultiplier,ja,l),H=l.sizeMultiplier,se=Math.max(0,a.minRuleThickness-a.fontMetrics().sqrtRuleThickness),Fe,tt=0,It=0,rr=0,pr;return g.type==="small"?(rr=1e3+1e3*se+Ha,r<1?H=1:r<1.4&&(H=.7),tt=(1+se+Ja)/H,It=(1+se)/H,Fe=Cn("sqrtMain",tt,rr,se,a),Fe.style.minWidth="0.853em",pr=.833/H):g.type==="large"?(rr=(1e3+Ha)*co[g.size],It=(co[g.size]+se)/H,tt=(co[g.size]+se+Ja)/H,Fe=Cn("sqrtSize"+g.size,tt,rr,se,a),Fe.style.minWidth="1.02em",pr=1/H):(tt=r+se+Ja,It=r+se,rr=Math.floor(1e3*r+se)+Ha,Fe=Cn("sqrtTall",tt,rr,se,a),Fe.style.minWidth="0.742em",pr=1.056),Fe.height=It,Fe.style.height=tt+"em",{span:Fe,advanceWidth:pr,ruleWidth:(a.fontMetrics().sqrtRuleThickness+se)*H}},fa=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],qa=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Ka=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],co=[0,1.2,1.8,2.4,3],uo=function(r,a,l,g,H){if(r==="<"||r==="\\lt"||r==="\u27E8"?r="\\langle":(r===">"||r==="\\gt"||r==="\u27E9")&&(r="\\rangle"),S.contains(fa,r)||S.contains(Ka,r))return ca(r,a,!1,l,g,H);if(S.contains(qa,r))return Zn(r,co[a],!1,l,g,H);throw new ee("Illegal delimiter: '"+r+"'")},ma=[{type:"small",style:w.SCRIPTSCRIPT},{type:"small",style:w.SCRIPT},{type:"small",style:w.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Eo=[{type:"small",style:w.SCRIPTSCRIPT},{type:"small",style:w.SCRIPT},{type:"small",style:w.TEXT},{type:"stack"}],ja=[{type:"small",style:w.SCRIPTSCRIPT},{type:"small",style:w.SCRIPT},{type:"small",style:w.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Ta=function(r){if(r.type==="small")return"Main-Regular";if(r.type==="large")return"Size"+r.size+"-Regular";if(r.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+r.type+"' here.")},Na=function(r,a,l,g){for(var H=Math.min(2,3-g.style.size),se=H;se<l.length&&l[se].type!=="stack";se++){var Fe=Fn(r,Ta(l[se]),"math"),tt=Fe.height+Fe.depth;if(l[se].type==="small"){var It=g.havingBaseStyle(l[se].style);tt*=It.sizeMultiplier}if(tt>a)return l[se]}return l[l.length-1]},Ba=function(r,a,l,g,H,se){r==="<"||r==="\\lt"||r==="\u27E8"?r="\\langle":(r===">"||r==="\\gt"||r==="\u27E9")&&(r="\\rangle");var Fe;S.contains(Ka,r)?Fe=ma:S.contains(fa,r)?Fe=ja:Fe=Eo;var tt=Na(r,a,Fe,g);return tt.type==="small"?Qr(r,tt.style,l,g,H,se):tt.type==="large"?ca(r,tt.size,l,g,H,se):Zn(r,a,l,g,H,se)},Wa=function(r,a,l,g,H,se){var Fe=g.fontMetrics().axisHeight*g.sizeMultiplier,tt=901,It=5/g.fontMetrics().ptPerEm,rr=Math.max(a-Fe,l+Fe),pr=Math.max(rr/500*tt,2*rr-It);return Ba(r,pr,!0,g,H,se)},va={sqrtImage:jn,sizedDelim:uo,customSizedDelim:Ba,leftRightDelim:Wa},Xa={"\\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}},Da=["(","\\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 _a(ae,r){var a=jt(ae);if(a&&S.contains(Da,a.text))return a;throw new ee("Invalid delimiter: '"+(a?a.text:JSON.stringify(ae))+"' after '"+r.funcName+"'",ae)}Qt({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(r,a){var l=_a(a[0],r);return{type:"delimsizing",mode:r.parser.mode,size:Xa[r.funcName].size,mclass:Xa[r.funcName].mclass,delim:l.text}},htmlBuilder:function(r,a){return r.delim==="."?v.makeSpan([r.mclass]):va.sizedDelim(r.delim,r.size,a,r.mode,[r.mclass])},mathmlBuilder:function(r){var a=[];r.delim!=="."&&a.push(Jt(r.delim,r.mode));var l=new ht.MathNode("mo",a);return r.mclass==="mopen"||r.mclass==="mclose"?l.setAttribute("fence","true"):l.setAttribute("fence","false"),l}});function no(ae){if(!ae.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Qt({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(r,a){var l=r.parser.gullet.macros.get("\\current@color");if(l&&typeof l!="string")throw new ee("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:r.parser.mode,delim:_a(a[0],r).text,color:l}}}),Qt({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(r,a){var l=_a(a[0],r),g=r.parser;++g.leftrightDepth;var H=g.parseExpression(!1);--g.leftrightDepth,g.expect("\\right",!1);var se=T(g.parseFunction(),"leftright-right");return{type:"leftright",mode:g.mode,body:H,left:l.text,right:se.delim,rightColor:se.color}},htmlBuilder:function(r,a){no(r);for(var l=ze(r.body,a,!0,["mopen","mclose"]),g=0,H=0,se=!1,Fe=0;Fe<l.length;Fe++)l[Fe].isMiddle?se=!0:(g=Math.max(l[Fe].height,g),H=Math.max(l[Fe].depth,H));g*=a.sizeMultiplier,H*=a.sizeMultiplier;var tt;if(r.left==="."?tt=_t(a,["mopen"]):tt=va.leftRightDelim(r.left,g,H,a,r.mode,["mopen"]),l.unshift(tt),se)for(var It=1;It<l.length;It++){var rr=l[It],pr=rr.isMiddle;pr&&(l[It]=va.leftRightDelim(pr.delim,g,H,pr.options,r.mode,[]))}var kr;if(r.right===".")kr=_t(a,["mclose"]);else{var rn=r.rightColor?a.withColor(r.rightColor):a;kr=va.leftRightDelim(r.right,g,H,rn,r.mode,["mclose"])}return l.push(kr),v.makeSpan(["minner"],l,a)},mathmlBuilder:function(r,a){no(r);var l=Er(r.body,a);if(r.left!=="."){var g=new ht.MathNode("mo",[Jt(r.left,r.mode)]);g.setAttribute("fence","true"),l.unshift(g)}if(r.right!=="."){var H=new ht.MathNode("mo",[Jt(r.right,r.mode)]);H.setAttribute("fence","true"),r.rightColor&&H.setAttribute("mathcolor",r.rightColor),l.push(H)}return dr(l)}}),Qt({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(r,a){var l=_a(a[0],r);if(!r.parser.leftrightDepth)throw new ee("\\middle without preceding \\left",l);return{type:"middle",mode:r.parser.mode,delim:l.text}},htmlBuilder:function(r,a){var l;if(r.delim===".")l=_t(a,[]);else{l=va.sizedDelim(r.delim,1,a,r.mode,[]);var g={delim:r.delim,options:a};l.isMiddle=g}return l},mathmlBuilder:function(r,a){var l=r.delim==="\\vert"||r.delim==="|"?Jt("|","text"):Jt(r.delim,r.mode),g=new ht.MathNode("mo",[l]);return g.setAttribute("fence","true"),g.setAttribute("lspace","0.05em"),g.setAttribute("rspace","0.05em"),g}});var lo=function(r,a){var l=v.wrapFragment(Tt(r.body,a),a),g=r.label.substr(1),H=a.sizeMultiplier,se,Fe=0,tt=S.isCharacterBox(r.body);if(g==="sout")se=v.makeSpan(["stretchy","sout"]),se.height=a.fontMetrics().defaultRuleThickness/H,Fe=-.5*a.fontMetrics().xHeight;else{/cancel/.test(g)?tt||l.classes.push("cancel-pad"):l.classes.push("boxpad");var It=0,rr=0;/box/.test(g)?(rr=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness),It=a.fontMetrics().fboxsep+(g==="colorbox"?0:rr)):It=tt?.2:0,se=xa.encloseSpan(l,g,It,a),/fbox|boxed|fcolorbox/.test(g)&&(se.style.borderStyle="solid",se.style.borderWidth=rr+"em"),Fe=l.depth+It,r.backgroundColor&&(se.style.backgroundColor=r.backgroundColor,r.borderColor&&(se.style.borderColor=r.borderColor))}var pr;return r.backgroundColor?pr=v.makeVList({positionType:"individualShift",children:[{type:"elem",elem:se,shift:Fe},{type:"elem",elem:l,shift:0}]},a):pr=v.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:se,shift:Fe,wrapperClasses:/cancel/.test(g)?["svg-align"]:[]}]},a),/cancel/.test(g)&&(pr.height=l.height,pr.depth=l.depth),/cancel/.test(g)&&!tt?v.makeSpan(["mord","cancel-lap"],[pr],a):v.makeSpan(["mord"],[pr],a)},$o=function(r,a){var l=0,g=new ht.MathNode(r.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Rr(r.body,a)]);switch(r.label){case"\\cancel":g.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":g.setAttribute("notation","downdiagonalstrike");break;case"\\sout":g.setAttribute("notation","horizontalstrike");break;case"\\fbox":g.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(l=a.fontMetrics().fboxsep*a.fontMetrics().ptPerEm,g.setAttribute("width","+"+2*l+"pt"),g.setAttribute("height","+"+2*l+"pt"),g.setAttribute("lspace",l+"pt"),g.setAttribute("voffset",l+"pt"),r.label==="\\fcolorbox"){var H=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness);g.setAttribute("style","border: "+H+"em solid "+String(r.borderColor))}break;case"\\xcancel":g.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return r.backgroundColor&&g.setAttribute("mathbackground",r.backgroundColor),g};Qt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(r,a,l){var g=r.parser,H=r.funcName,se=T(a[0],"color-token").color,Fe=a[1];return{type:"enclose",mode:g.mode,label:H,backgroundColor:se,body:Fe}},htmlBuilder:lo,mathmlBuilder:$o}),Qt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(r,a,l){var g=r.parser,H=r.funcName,se=T(a[0],"color-token").color,Fe=T(a[1],"color-token").color,tt=a[2];return{type:"enclose",mode:g.mode,label:H,backgroundColor:Fe,borderColor:se,body:tt}},htmlBuilder:lo,mathmlBuilder:$o}),Qt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(r,a){var l=r.parser;return{type:"enclose",mode:l.mode,label:"\\fbox",body:a[0]}}}),Qt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(r,a,l){var g=r.parser,H=r.funcName,se=a[0];return{type:"enclose",mode:g.mode,label:H,body:se}},htmlBuilder:lo,mathmlBuilder:$o});var Po={};function Ma(ae){for(var r=ae.type,a=ae.names,l=ae.props,g=ae.handler,H=ae.htmlBuilder,se=ae.mathmlBuilder,Fe={type:r,numArgs:l.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:g},tt=0;tt<a.length;++tt)Po[a[tt]]=Fe;H&&(ar[r]=H),se&&(yr[r]=se)}function Wo(ae){var r=[];ae.consumeSpaces();for(var a=ae.fetch().text;a==="\\hline"||a==="\\hdashline";)ae.consume(),r.push(a==="\\hdashline"),ae.consumeSpaces(),a=ae.fetch().text;return r}function ho(ae,r,a){var l=r.hskipBeforeAndAfter,g=r.addJot,H=r.cols,se=r.arraystretch,Fe=r.colSeparationType;if(ae.gullet.beginGroup(),ae.gullet.macros.set("\\\\","\\cr"),!se){var tt=ae.gullet.expandMacroAsText("\\arraystretch");if(tt==null)se=1;else if(se=parseFloat(tt),!se||se<0)throw new ee("Invalid \\arraystretch: "+tt)}ae.gullet.beginGroup();var It=[],rr=[It],pr=[],kr=[];for(kr.push(Wo(ae));;){var rn=ae.parseExpression(!1,"\\cr");ae.gullet.endGroup(),ae.gullet.beginGroup(),rn={type:"ordgroup",mode:ae.mode,body:rn},a&&(rn={type:"styling",mode:ae.mode,style:a,body:[rn]}),It.push(rn);var hn=ae.fetch().text;if(hn==="&")ae.consume();else if(hn==="\\end"){It.length===1&&rn.type==="styling"&&rn.body[0].body.length===0&&rr.pop(),kr.length<rr.length+1&&kr.push([]);break}else if(hn==="\\cr"){var In=T(ae.parseFunction(),"cr");pr.push(In.size),kr.push(Wo(ae)),It=[],rr.push(It)}else throw new ee("Expected & or \\\\ or \\cr or \\end",ae.nextToken)}return ae.gullet.endGroup(),ae.gullet.endGroup(),{type:"array",mode:ae.mode,addJot:g,arraystretch:se,body:rr,cols:H,rowGaps:pr,hskipBeforeAndAfter:l,hLinesBeforeRow:kr,colSeparationType:Fe}}function jo(ae){return ae.substr(0,1)==="d"?"display":"text"}var vo=function(r,a){var l,g,H=r.body.length,se=r.hLinesBeforeRow,Fe=0,tt=new Array(H),It=[],rr=Math.max(a.fontMetrics().arrayRuleWidth,a.minRuleThickness),pr=1/a.fontMetrics().ptPerEm,kr=5*pr;if(r.colSeparationType&&r.colSeparationType==="small"){var rn=a.havingStyle(w.SCRIPT).sizeMultiplier;kr=.2778*(rn/a.sizeMultiplier)}var hn=12*pr,In=3*pr,Un=r.arraystretch*hn,Ca=.7*Un,Ia=.3*Un,c=0;function e(go){for(var qo=0;qo<go.length;++qo)qo>0&&(c+=.25),It.push({pos:c,isDashed:go[qo]})}for(e(se[0]),l=0;l<r.body.length;++l){var t=r.body[l],d=Ca,O=Ia;Fe<t.length&&(Fe=t.length);var V=new Array(t.length);for(g=0;g<t.length;++g){var Oe=Tt(t[g],a);O<Oe.depth&&(O=Oe.depth),d<Oe.height&&(d=Oe.height),V[g]=Oe}var Ke=r.rowGaps[l],Ye=0;Ke&&(Ye=On(Ke,a),Ye>0&&(Ye+=Ia,O<Ye&&(O=Ye),Ye=0)),r.addJot&&(O+=In),V.height=d,V.depth=O,c+=d,V.pos=c,c+=O+Ye,tt[l]=V,e(se[l+1])}var Kt=c/2+a.fontMetrics().axisHeight,ur=r.cols||[],xr=[],Fr,Hr;for(g=0,Hr=0;g<Fe||Hr<ur.length;++g,++Hr){for(var un=ur[Hr]||{},bn=!0;un.type==="separator";){if(bn||(Fr=v.makeSpan(["arraycolsep"],[]),Fr.style.width=a.fontMetrics().doubleRuleSep+"em",xr.push(Fr)),un.separator==="|"||un.separator===":"){var Nn=un.separator==="|"?"solid":"dashed",Mn=v.makeSpan(["vertical-separator"],[],a);Mn.style.height=c+"em",Mn.style.borderRightWidth=rr+"em",Mn.style.borderRightStyle=Nn,Mn.style.margin="0 -"+rr/2+"em",Mn.style.verticalAlign=-(c-Kt)+"em",xr.push(Mn)}else throw new ee("Invalid separator type: "+un.separator);Hr++,un=ur[Hr]||{},bn=!1}if(!(g>=Fe)){var oa=void 0;(g>0||r.hskipBeforeAndAfter)&&(oa=S.deflt(un.pregap,kr),oa!==0&&(Fr=v.makeSpan(["arraycolsep"],[]),Fr.style.width=oa+"em",xr.push(Fr)));var ya=[];for(l=0;l<H;++l){var Ua=tt[l],Pa=Ua[g];if(Pa){var Oa=Ua.pos-Kt;Pa.depth=Ua.depth,Pa.height=Ua.height,ya.push({type:"elem",elem:Pa,shift:Oa})}}ya=v.makeVList({positionType:"individualShift",children:ya},a),ya=v.makeSpan(["col-align-"+(un.align||"c")],[ya]),xr.push(ya),(g<Fe-1||r.hskipBeforeAndAfter)&&(oa=S.deflt(un.postgap,kr),oa!==0&&(Fr=v.makeSpan(["arraycolsep"],[]),Fr.style.width=oa+"em",xr.push(Fr)))}}if(tt=v.makeSpan(["mtable"],xr),It.length>0){for(var Ga=v.makeLineSpan("hline",a,rr),Ya=v.makeLineSpan("hdashline",a,rr),Ra=[{type:"elem",elem:tt,shift:0}];It.length>0;){var Jo=It.pop(),Io=Jo.pos-Kt;Jo.isDashed?Ra.push({type:"elem",elem:Ya,shift:Io}):Ra.push({type:"elem",elem:Ga,shift:Io})}tt=v.makeVList({positionType:"individualShift",children:Ra},a)}return v.makeSpan(["mord"],[tt],a)},vi={c:"center ",l:"left ",r:"right "},ko=function(r,a){var l=new ht.MathNode("mtable",r.body.map(function(c){return new ht.MathNode("mtr",c.map(function(e){return new ht.MathNode("mtd",[Rr(e,a)])}))})),g=r.arraystretch===.5?.1:.16+r.arraystretch-1+(r.addJot?.09:0);l.setAttribute("rowspacing",g+"em");var H="",se="";if(r.cols){var Fe=r.cols,tt="",It=!1,rr=0,pr=Fe.length;Fe[0].type==="separator"&&(H+="top ",rr=1),Fe[Fe.length-1].type==="separator"&&(H+="bottom ",pr-=1);for(var kr=rr;kr<pr;kr++)Fe[kr].type==="align"?(se+=vi[Fe[kr].align],It&&(tt+="none "),It=!0):Fe[kr].type==="separator"&&It&&(tt+=Fe[kr].separator==="|"?"solid ":"dashed ",It=!1);l.setAttribute("columnalign",se.trim()),/[sd]/.test(tt)&&l.setAttribute("columnlines",tt.trim())}if(r.colSeparationType==="align"){for(var rn=r.cols||[],hn="",In=1;In<rn.length;In++)hn+=In%2?"0em ":"1em ";l.setAttribute("columnspacing",hn.trim())}else r.colSeparationType==="alignat"?l.setAttribute("columnspacing","0em"):r.colSeparationType==="small"?l.setAttribute("columnspacing","0.2778em"):l.setAttribute("columnspacing","1em");var Un="",Ca=r.hLinesBeforeRow;H+=Ca[0].length>0?"left ":"",H+=Ca[Ca.length-1].length>0?"right ":"";for(var Ia=1;Ia<Ca.length-1;Ia++)Un+=Ca[Ia].length===0?"none ":Ca[Ia][0]?"dashed ":"solid ";return/[sd]/.test(Un)&&l.setAttribute("rowlines",Un.trim()),H!==""&&(l=new ht.MathNode("menclose",[l]),l.setAttribute("notation",H.trim())),r.arraystretch&&r.arraystretch<1&&(l=new ht.MathNode("mstyle",[l]),l.setAttribute("scriptlevel","1")),l},Qo=function(r,a){var l=[],g=ho(r.parser,{cols:l,addJot:!0},"display"),H,se=0,Fe={type:"ordgroup",mode:r.mode,body:[]},tt=Z(a[0],"ordgroup");if(tt){for(var It="",rr=0;rr<tt.body.length;rr++){var pr=T(tt.body[rr],"textord");It+=pr.text}H=Number(It),se=H*2}var kr=!se;g.body.forEach(function(Un){for(var Ca=1;Ca<Un.length;Ca+=2){var Ia=T(Un[Ca],"styling"),c=T(Ia.body[0],"ordgroup");c.body.unshift(Fe)}if(kr)se<Un.length&&(se=Un.length);else{var e=Un.length/2;if(H<e)throw new ee("Too many math in a row: "+("expected "+H+", but got "+e),Un[0])}});for(var rn=0;rn<se;++rn){var hn="r",In=0;rn%2===1?hn="l":rn>0&&kr&&(In=1),l[rn]={type:"align",align:hn,pregap:In,postgap:0}}return g.colSeparationType=kr?"align":"alignat",g};Ma({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(r,a){var l=jt(a[0]),g=l?[a[0]]:T(a[0],"ordgroup").body,H=g.map(function(Fe){var tt=st(Fe),It=tt.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 ee("Unknown column alignment: "+It,Fe)}),se={cols:H,hskipBeforeAndAfter:!0};return ho(r.parser,se,jo(r.envName))},htmlBuilder:vo,mathmlBuilder:ko}),Ma({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(r){var a={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[r.envName],l={hskipBeforeAndAfter:!1},g=ho(r.parser,l,jo(r.envName));return a?{type:"leftright",mode:r.mode,body:[g],left:a[0],right:a[1],rightColor:void 0}:g},htmlBuilder:vo,mathmlBuilder:ko}),Ma({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(r){var a={arraystretch:.5},l=ho(r.parser,a,"script");return l.colSeparationType="small",l},htmlBuilder:vo,mathmlBuilder:ko}),Ma({type:"array",names:["subarray"],props:{numArgs:1},handler:function(r,a){var l=jt(a[0]),g=l?[a[0]]:T(a[0],"ordgroup").body,H=g.map(function(Fe){var tt=st(Fe),It=tt.text;if("lc".indexOf(It)!==-1)return{type:"align",align:It};throw new ee("Unknown column alignment: "+It,Fe)});if(H.length>1)throw new ee("{subarray} can contain only one column");var se={cols:H,hskipBeforeAndAfter:!1,arraystretch:.5};if(se=ho(r.parser,se,"script"),se.body[0].length>1)throw new ee("{subarray} can contain only one column");return se},htmlBuilder:vo,mathmlBuilder:ko}),Ma({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(r){var a={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},l=ho(r.parser,a,jo(r.envName));return{type:"leftright",mode:r.mode,body:[l],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:vo,mathmlBuilder:ko}),Ma({type:"array",names:["aligned"],props:{numArgs:0},handler:Qo,htmlBuilder:vo,mathmlBuilder:ko}),Ma({type:"array",names:["gathered"],props:{numArgs:0},handler:function(r){var a={cols:[{type:"align",align:"c"}],addJot:!0};return ho(r.parser,a,"display")},htmlBuilder:vo,mathmlBuilder:ko}),Ma({type:"array",names:["alignedat"],props:{numArgs:1},handler:Qo,htmlBuilder:vo,mathmlBuilder:ko}),Qt({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(r,a){throw new ee(r.funcName+" valid only within array environment")}});var Ei=Po,Lo=Ei;Qt({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(r,a){var l=r.parser,g=r.funcName,H=a[0];if(H.type!=="ordgroup")throw new ee("Invalid environment name",H);for(var se="",Fe=0;Fe<H.body.length;++Fe)se+=T(H.body[Fe],"textord").text;if(g==="\\begin"){if(!Lo.hasOwnProperty(se))throw new ee("No such environment: "+se,H);var tt=Lo[se],It=l.parseArguments("\\begin{"+se+"}",tt),rr=It.args,pr=It.optArgs,kr={mode:l.mode,envName:se,parser:l},rn=tt.handler(kr,rr,pr);l.expect("\\end",!1);var hn=l.nextToken,In=T(l.parseFunction(),"environment");if(In.name!==se)throw new ee("Mismatch: \\begin{"+se+"} matched by \\end{"+In.name+"}",hn);return rn}return{type:"environment",mode:l.mode,name:se,nameGroup:H}}});var Uo=v.makeSpan;function ki(ae,r){var a=ze(ae.body,r,!0);return Uo([ae.mclass],a,r)}function bi(ae,r){var a,l=Er(ae.body,r);return ae.mclass==="minner"?ht.newDocumentFragment(l):(ae.mclass==="mord"?ae.isCharacterBox?(a=l[0],a.type="mi"):a=new ht.MathNode("mi",l):(ae.isCharacterBox?(a=l[0],a.type="mo"):a=new ht.MathNode("mo",l),ae.mclass==="mbin"?(a.attributes.lspace="0.22em",a.attributes.rspace="0.22em"):ae.mclass==="mpunct"?(a.attributes.lspace="0em",a.attributes.rspace="0.17em"):(ae.mclass==="mopen"||ae.mclass==="mclose")&&(a.attributes.lspace="0em",a.attributes.rspace="0em")),a)}Qt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(r,a){var l=r.parser,g=r.funcName,H=a[0];return{type:"mclass",mode:l.mode,mclass:"m"+g.substr(5),body:Ce(H),isCharacterBox:S.isCharacterBox(H)}},htmlBuilder:ki,mathmlBuilder:bi});var yi=function(r){var a=r.type==="ordgroup"&&r.body.length?r.body[0]:r;return a.type==="atom"&&(a.family==="bin"||a.family==="rel")?"m"+a.family:"mord"};Qt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(r,a){var l=r.parser;return{type:"mclass",mode:l.mode,mclass:yi(a[0]),body:[a[1]],isCharacterBox:S.isCharacterBox(a[1])}}}),Qt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(r,a){var l=r.parser,g=r.funcName,H=a[1],se=a[0],Fe;g!=="\\stackrel"?Fe=yi(H):Fe="mrel";var tt={type:"op",mode:H.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:g!=="\\stackrel",body:Ce(H)},It={type:"supsub",mode:se.mode,base:tt,sup:g==="\\underset"?null:se,sub:g==="\\underset"?se:null};return{type:"mclass",mode:l.mode,mclass:Fe,body:[It],isCharacterBox:S.isCharacterBox(It)}},htmlBuilder:ki,mathmlBuilder:bi});var xi=function(r,a){var l=r.font,g=a.withFont(l);return Tt(r.body,g)},Ii=function(r,a){var l=r.font,g=a.withFont(l);return Rr(r.body,g)},$a={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Qt({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(r,a){var l=r.parser,g=r.funcName,H=a[0],se=g;return se in $a&&(se=$a[se]),{type:"font",mode:l.mode,font:se.slice(1),body:H}},htmlBuilder:xi,mathmlBuilder:Ii}),Qt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(r,a){var l=r.parser,g=a[0],H=S.isCharacterBox(g);return{type:"mclass",mode:l.mode,mclass:yi(g),body:[{type:"font",mode:l.mode,font:"boldsymbol",body:g}],isCharacterBox:H}}}),Qt({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(r,a){var l=r.parser,g=r.funcName,H=r.breakOnTokenText,se=l.mode,Fe=l.parseExpression(!0,H),tt="math"+g.slice(1);return{type:"font",mode:se,font:tt,body:{type:"ordgroup",mode:l.mode,body:Fe}}},htmlBuilder:xi,mathmlBuilder:Ii});var Aa=function(r,a){var l=a;return r==="display"?l=l.id>=w.SCRIPT.id?l.text():w.DISPLAY:r==="text"&&l.size===w.DISPLAY.size?l=w.TEXT:r==="script"?l=w.SCRIPT:r==="scriptscript"&&(l=w.SCRIPTSCRIPT),l},fo=function(r,a){var l=Aa(r.size,a.style),g=l.fracNum(),H=l.fracDen(),se;se=a.havingStyle(g);var Fe=Tt(r.numer,se,a);if(r.continued){var tt=8.5/a.fontMetrics().ptPerEm,It=3.5/a.fontMetrics().ptPerEm;Fe.height=Fe.height<tt?tt:Fe.height,Fe.depth=Fe.depth<It?It:Fe.depth}se=a.havingStyle(H);var rr=Tt(r.denom,se,a),pr,kr,rn;r.hasBarLine?(r.barSize?(kr=On(r.barSize,a),pr=v.makeLineSpan("frac-line",a,kr)):pr=v.makeLineSpan("frac-line",a),kr=pr.height,rn=pr.height):(pr=null,kr=0,rn=a.fontMetrics().defaultRuleThickness);var hn,In,Un;l.size===w.DISPLAY.size||r.size==="display"?(hn=a.fontMetrics().num1,kr>0?In=3*rn:In=7*rn,Un=a.fontMetrics().denom1):(kr>0?(hn=a.fontMetrics().num2,In=rn):(hn=a.fontMetrics().num3,In=3*rn),Un=a.fontMetrics().denom2);var Ca;if(pr){var c=a.fontMetrics().axisHeight;hn-Fe.depth-(c+.5*kr)<In&&(hn+=In-(hn-Fe.depth-(c+.5*kr))),c-.5*kr-(rr.height-Un)<In&&(Un+=In-(c-.5*kr-(rr.height-Un)));var e=-(c-.5*kr);Ca=v.makeVList({positionType:"individualShift",children:[{type:"elem",elem:rr,shift:Un},{type:"elem",elem:pr,shift:e},{type:"elem",elem:Fe,shift:-hn}]},a)}else{var Ia=hn-Fe.depth-(rr.height-Un);Ia<In&&(hn+=.5*(In-Ia),Un+=.5*(In-Ia)),Ca=v.makeVList({positionType:"individualShift",children:[{type:"elem",elem:rr,shift:Un},{type:"elem",elem:Fe,shift:-hn}]},a)}se=a.havingStyle(l),Ca.height*=se.sizeMultiplier/a.sizeMultiplier,Ca.depth*=se.sizeMultiplier/a.sizeMultiplier;var t;l.size===w.DISPLAY.size?t=a.fontMetrics().delim1:t=a.fontMetrics().delim2;var d,O;return r.leftDelim==null?d=_t(a,["mopen"]):d=va.customSizedDelim(r.leftDelim,t,!0,a.havingStyle(l),r.mode,["mopen"]),r.continued?O=v.makeSpan([]):r.rightDelim==null?O=_t(a,["mclose"]):O=va.customSizedDelim(r.rightDelim,t,!0,a.havingStyle(l),r.mode,["mclose"]),v.makeSpan(["mord"].concat(se.sizingClasses(a)),[d,v.makeSpan(["mfrac"],[Ca]),O],a)},Ve=function(r,a){var l=new ht.MathNode("mfrac",[Rr(r.numer,a),Rr(r.denom,a)]);if(!r.hasBarLine)l.setAttribute("linethickness","0px");else if(r.barSize){var g=On(r.barSize,a);l.setAttribute("linethickness",g+"em")}var H=Aa(r.size,a.style);if(H.size!==a.style.size){l=new ht.MathNode("mstyle",[l]);var se=H.size===w.DISPLAY.size?"true":"false";l.setAttribute("displaystyle",se),l.setAttribute("scriptlevel","0")}if(r.leftDelim!=null||r.rightDelim!=null){var Fe=[];if(r.leftDelim!=null){var tt=new ht.MathNode("mo",[new ht.TextNode(r.leftDelim.replace("\\",""))]);tt.setAttribute("fence","true"),Fe.push(tt)}if(Fe.push(l),r.rightDelim!=null){var It=new ht.MathNode("mo",[new ht.TextNode(r.rightDelim.replace("\\",""))]);It.setAttribute("fence","true"),Fe.push(It)}return dr(Fe)}return l};Qt({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(r,a){var l=r.parser,g=r.funcName,H=a[0],se=a[1],Fe,tt=null,It=null,rr="auto";switch(g){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":Fe=!0;break;case"\\\\atopfrac":Fe=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Fe=!1,tt="(",It=")";break;case"\\\\bracefrac":Fe=!1,tt="\\{",It="\\}";break;case"\\\\brackfrac":Fe=!1,tt="[",It="]";break;default:throw new Error("Unrecognized genfrac command")}switch(g){case"\\cfrac":case"\\dfrac":case"\\dbinom":rr="display";break;case"\\tfrac":case"\\tbinom":rr="text";break}return{type:"genfrac",mode:l.mode,continued:g==="\\cfrac",numer:H,denom:se,hasBarLine:Fe,leftDelim:tt,rightDelim:It,size:rr,barSize:null}},htmlBuilder:fo,mathmlBuilder:Ve}),Qt({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(r){var a=r.parser,l=r.funcName,g=r.token,H;switch(l){case"\\over":H="\\frac";break;case"\\choose":H="\\binom";break;case"\\atop":H="\\\\atopfrac";break;case"\\brace":H="\\\\bracefrac";break;case"\\brack":H="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:a.mode,replaceWith:H,token:g}}});var No=["display","text","script","scriptscript"],Mo=function(r){var a=null;return r.length>0&&(a=r,a=a==="."?null:a),a};Qt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(r,a){var l=r.parser,g=a[4],H=a[5],se=Z(a[0],"atom");se&&(se=re(a[0],"open"));var Fe=se?Mo(se.text):null,tt=Z(a[1],"atom");tt&&(tt=re(a[1],"close"));var It=tt?Mo(tt.text):null,rr=T(a[2],"size"),pr,kr=null;rr.isBlank?pr=!0:(kr=rr.value,pr=kr.number>0);var rn="auto",hn=Z(a[3],"ordgroup");if(hn){if(hn.body.length>0){var In=T(hn.body[0],"textord");rn=No[Number(In.text)]}}else hn=T(a[3],"textord"),rn=No[Number(hn.text)];return{type:"genfrac",mode:l.mode,numer:g,denom:H,continued:!1,hasBarLine:pr,barSize:kr,leftDelim:Fe,rightDelim:It,size:rn}},htmlBuilder:fo,mathmlBuilder:Ve}),Qt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(r,a){var l=r.parser,g=r.funcName,H=r.token;return{type:"infix",mode:l.mode,replaceWith:"\\\\abovefrac",size:T(a[0],"size").value,token:H}}}),Qt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(r,a){var l=r.parser,g=r.funcName,H=a[0],se=M(T(a[1],"infix").size),Fe=a[2],tt=se.number>0;return{type:"genfrac",mode:l.mode,numer:H,denom:Fe,continued:!1,hasBarLine:tt,barSize:se,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:fo,mathmlBuilder:Ve});var yo=function(r,a){var l=a.style,g,H,se=Z(r,"supsub");se?(g=se.sup?Tt(se.sup,a.havingStyle(l.sup()),a):Tt(se.sub,a.havingStyle(l.sub()),a),H=T(se.base,"horizBrace")):H=T(r,"horizBrace");var Fe=Tt(H.base,a.havingBaseStyle(w.DISPLAY)),tt=xa.svgSpan(H,a),It;if(H.isOver?(It=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Fe},{type:"kern",size:.1},{type:"elem",elem:tt}]},a),It.children[0].children[0].children[1].classes.push("svg-align")):(It=v.makeVList({positionType:"bottom",positionData:Fe.depth+.1+tt.height,children:[{type:"elem",elem:tt},{type:"kern",size:.1},{type:"elem",elem:Fe}]},a),It.children[0].children[0].children[0].classes.push("svg-align")),g){var rr=v.makeSpan(["mord",H.isOver?"mover":"munder"],[It],a);H.isOver?It=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:rr},{type:"kern",size:.2},{type:"elem",elem:g}]},a):It=v.makeVList({positionType:"bottom",positionData:rr.depth+.2+g.height+g.depth,children:[{type:"elem",elem:g},{type:"kern",size:.2},{type:"elem",elem:rr}]},a)}return v.makeSpan(["mord",H.isOver?"mover":"munder"],[It],a)},ao=function(r,a){var l=xa.mathMLnode(r.label);return new ht.MathNode(r.isOver?"mover":"munder",[Rr(r.base,a),l])};Qt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(r,a){var l=r.parser,g=r.funcName;return{type:"horizBrace",mode:l.mode,label:g,isOver:/^\\over/.test(g),base:a[0]}},htmlBuilder:yo,mathmlBuilder:ao}),Qt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(r,a){var l=r.parser,g=a[1],H=T(a[0],"url").url;return l.settings.isTrusted({command:"\\href",url:H})?{type:"href",mode:l.mode,href:H,body:Ce(g)}:l.formatUnsupportedCmd("\\href")},htmlBuilder:function(r,a){var l=ze(r.body,a,!1);return v.makeAnchor(r.href,[],l,a)},mathmlBuilder:function(r,a){var l=Lr(r.body,a);return l instanceof Pe||(l=new Pe("mrow",[l])),l.setAttribute("href",r.href),l}}),Qt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(r,a){var l=r.parser,g=T(a[0],"url").url;if(!l.settings.isTrusted({command:"\\url",url:g}))return l.formatUnsupportedCmd("\\url");for(var H=[],se=0;se<g.length;se++){var Fe=g[se];Fe==="~"&&(Fe="\\textasciitilde"),H.push({type:"textord",mode:"text",text:Fe})}var tt={type:"text",mode:l.mode,font:"\\texttt",body:H};return{type:"href",mode:l.mode,href:g,body:Ce(tt)}}}),Qt({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(r,a){var l=r.parser;return{type:"htmlmathml",mode:l.mode,html:Ce(a[0]),mathml:Ce(a[1])}},htmlBuilder:function(r,a){var l=ze(r.html,a,!1);return v.makeFragment(l)},mathmlBuilder:function(r,a){return Lr(r.mathml,a)}});var Zo=function(r){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(r))return{number:+r,unit:"bp"};var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r);if(!a)throw new ee("Invalid size: '"+r+"' in \\includegraphics");var l={number:+(a[1]+a[2]),unit:a[3]};if(!Pn(l))throw new ee("Invalid unit: '"+l.unit+"' in \\includegraphics.");return l};Qt({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(r,a,l){var g=r.parser,H={number:0,unit:"em"},se={number:.9,unit:"em"},Fe={number:0,unit:"em"},tt="";if(l[0])for(var It=T(l[0],"raw").string,rr=It.split(","),pr=0;pr<rr.length;pr++){var kr=rr[pr].split("=");if(kr.length===2){var rn=kr[1].trim();switch(kr[0].trim()){case"alt":tt=rn;break;case"width":H=Zo(rn);break;case"height":se=Zo(rn);break;case"totalheight":Fe=Zo(rn);break;default:throw new ee("Invalid key: '"+kr[0]+"' in \\includegraphics.")}}}var hn=T(a[0],"url").url;return tt===""&&(tt=hn,tt=tt.replace(/^.*[\\/]/,""),tt=tt.substring(0,tt.lastIndexOf("."))),g.settings.isTrusted({command:"\\includegraphics",url:hn})?{type:"includegraphics",mode:g.mode,alt:tt,width:H,height:se,totalheight:Fe,src:hn}:g.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(r,a){var l=On(r.height,a),g=0;r.totalheight.number>0&&(g=On(r.totalheight,a)-l,g=Number(g.toFixed(2)));var H=0;r.width.number>0&&(H=On(r.width,a));var se={height:l+g+"em"};H>0&&(se.width=H+"em"),g>0&&(se.verticalAlign=-g+"em");var Fe=new Ie(r.src,r.alt,se);return Fe.height=l,Fe.depth=g,Fe},mathmlBuilder:function(r,a){var l=new ht.MathNode("mglyph",[]);l.setAttribute("alt",r.alt);var g=On(r.height,a),H=0;if(r.totalheight.number>0&&(H=On(r.totalheight,a)-g,H=H.toFixed(2),l.setAttribute("valign","-"+H+"em")),l.setAttribute("height",g+H+"em"),r.width.number>0){var se=On(r.width,a);l.setAttribute("width",se+"em")}return l.setAttribute("src",r.src),l}}),Qt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(r,a){var l=r.parser,g=r.funcName,H=T(a[0],"size");if(l.settings.strict){var se=g[1]==="m",Fe=H.value.unit==="mu";se?(Fe||l.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" supports only mu units, "+("not "+H.value.unit+" units")),l.mode!=="math"&&l.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" works only in math mode")):Fe&&l.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" doesn't support mu units")}return{type:"kern",mode:l.mode,dimension:H.value}},htmlBuilder:function(r,a){return v.makeGlue(r.dimension,a)},mathmlBuilder:function(r,a){var l=On(r.dimension,a);return new ht.SpaceNode(l)}}),Qt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(r,a){var l=r.parser,g=r.funcName,H=a[0];return{type:"lap",mode:l.mode,alignment:g.slice(5),body:H}},htmlBuilder:function(r,a){var l;r.alignment==="clap"?(l=v.makeSpan([],[Tt(r.body,a)]),l=v.makeSpan(["inner"],[l],a)):l=v.makeSpan(["inner"],[Tt(r.body,a)]);var g=v.makeSpan(["fix"],[]),H=v.makeSpan([r.alignment],[l,g],a),se=v.makeSpan(["strut"]);return se.style.height=H.height+H.depth+"em",se.style.verticalAlign=-H.depth+"em",H.children.unshift(se),H=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:H}]},a),v.makeSpan(["mord"],[H],a)},mathmlBuilder:function(r,a){var l=new ht.MathNode("mpadded",[Rr(r.body,a)]);if(r.alignment!=="rlap"){var g=r.alignment==="llap"?"-1":"-0.5";l.setAttribute("lspace",g+"width")}return l.setAttribute("width","0px"),l}}),Qt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(r,a){var l=r.funcName,g=r.parser,H=g.mode;g.switchMode("math");var se=l==="\\("?"\\)":"$",Fe=g.parseExpression(!1,se);return g.expect(se),g.switchMode(H),{type:"styling",mode:g.mode,style:"text",body:Fe}}}),Qt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(r,a){throw new ee("Mismatched "+r.funcName)}});var zo=function(r,a){switch(a.style.size){case w.DISPLAY.size:return r.display;case w.TEXT.size:return r.text;case w.SCRIPT.size:return r.script;case w.SCRIPTSCRIPT.size:return r.scriptscript;default:return r.text}};Qt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(r,a){var l=r.parser;return{type:"mathchoice",mode:l.mode,display:Ce(a[0]),text:Ce(a[1]),script:Ce(a[2]),scriptscript:Ce(a[3])}},htmlBuilder:function(r,a){var l=zo(r,a),g=ze(l,a,!1);return v.makeFragment(g)},mathmlBuilder:function(r,a){var l=zo(r,a);return Lr(l,a)}});var xo=function(r,a,l,g,H,se,Fe){r=v.makeSpan([],[r]);var tt,It;if(a){var rr=Tt(a,g.havingStyle(H.sup()),g);It={elem:rr,kern:Math.max(g.fontMetrics().bigOpSpacing1,g.fontMetrics().bigOpSpacing3-rr.depth)}}if(l){var pr=Tt(l,g.havingStyle(H.sub()),g);tt={elem:pr,kern:Math.max(g.fontMetrics().bigOpSpacing2,g.fontMetrics().bigOpSpacing4-pr.height)}}var kr;if(It&&tt){var rn=g.fontMetrics().bigOpSpacing5+tt.elem.height+tt.elem.depth+tt.kern+r.depth+Fe;kr=v.makeVList({positionType:"bottom",positionData:rn,children:[{type:"kern",size:g.fontMetrics().bigOpSpacing5},{type:"elem",elem:tt.elem,marginLeft:-se+"em"},{type:"kern",size:tt.kern},{type:"elem",elem:r},{type:"kern",size:It.kern},{type:"elem",elem:It.elem,marginLeft:se+"em"},{type:"kern",size:g.fontMetrics().bigOpSpacing5}]},g)}else if(tt){var hn=r.height-Fe;kr=v.makeVList({positionType:"top",positionData:hn,children:[{type:"kern",size:g.fontMetrics().bigOpSpacing5},{type:"elem",elem:tt.elem,marginLeft:-se+"em"},{type:"kern",size:tt.kern},{type:"elem",elem:r}]},g)}else if(It){var In=r.depth+Fe;kr=v.makeVList({positionType:"bottom",positionData:In,children:[{type:"elem",elem:r},{type:"kern",size:It.kern},{type:"elem",elem:It.elem,marginLeft:se+"em"},{type:"kern",size:g.fontMetrics().bigOpSpacing5}]},g)}else return r;return v.makeSpan(["mop","op-limits"],[kr],g)},Vo=["\\smallint"],$i=function(r,a){var l,g,H=!1,se,Fe=Z(r,"supsub");Fe?(l=Fe.sup,g=Fe.sub,se=T(Fe.base,"op"),H=!0):se=T(r,"op");var tt=a.style,It=!1;tt.size===w.DISPLAY.size&&se.symbol&&!S.contains(Vo,se.name)&&(It=!0);var rr;if(se.symbol){var pr=It?"Size2-Regular":"Size1-Regular",kr="";if((se.name==="\\oiint"||se.name==="\\oiiint")&&(kr=se.name.substr(1),se.name=kr==="oiint"?"\\iint":"\\iiint"),rr=v.makeSymbol(se.name,pr,"math",a,["mop","op-symbol",It?"large-op":"small-op"]),kr.length>0){var rn=rr.italic,hn=v.staticSvg(kr+"Size"+(It?"2":"1"),a);rr=v.makeVList({positionType:"individualShift",children:[{type:"elem",elem:rr,shift:0},{type:"elem",elem:hn,shift:It?.08:0}]},a),se.name="\\"+kr,rr.classes.unshift("mop"),rr.italic=rn}}else if(se.body){var In=ze(se.body,a,!0);In.length===1&&In[0]instanceof Me?(rr=In[0],rr.classes[0]="mop"):rr=v.makeSpan(["mop"],v.tryCombineChars(In),a)}else{for(var Un=[],Ca=1;Ca<se.name.length;Ca++)Un.push(v.mathsym(se.name[Ca],se.mode,a));rr=v.makeSpan(["mop"],Un,a)}var Ia=0,c=0;return(rr instanceof Me||se.name==="\\oiint"||se.name==="\\oiiint")&&!se.suppressBaseShift&&(Ia=(rr.height-rr.depth)/2-a.fontMetrics().axisHeight,c=rr.italic),H?xo(rr,l,g,a,tt,c,Ia):(Ia&&(rr.style.position="relative",rr.style.top=Ia+"em"),rr)},Hi=function(r,a){var l;if(r.symbol)l=new Pe("mo",[Jt(r.name,r.mode)]),S.contains(Vo,r.name)&&l.setAttribute("largeop","false");else if(r.body)l=new Pe("mo",Er(r.body,a));else{l=new Pe("mi",[new bt(r.name.slice(1))]);var g=new Pe("mo",[Jt("\u2061","text")]);r.parentIsSupSub?l=new Pe("mo",[l,g]):l=Wt([l,g])}return l},xs={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Qt({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:function(r,a){var l=r.parser,g=r.funcName,H=g;return H.length===1&&(H=xs[H]),{type:"op",mode:l.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:H}},htmlBuilder:$i,mathmlBuilder:Hi}),Qt({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(r,a){var l=r.parser,g=a[0];return{type:"op",mode:l.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ce(g)}},htmlBuilder:$i,mathmlBuilder:Hi});var ii={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Qt({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(r){var a=r.parser,l=r.funcName;return{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:l}},htmlBuilder:$i,mathmlBuilder:Hi}),Qt({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(r){var a=r.parser,l=r.funcName;return{type:"op",mode:a.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:l}},htmlBuilder:$i,mathmlBuilder:Hi}),Qt({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(r){var a=r.parser,l=r.funcName,g=l;return g.length===1&&(g=ii[g]),{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:g}},htmlBuilder:$i,mathmlBuilder:Hi});var as=function(r,a){var l,g,H=!1,se,Fe=Z(r,"supsub");Fe?(l=Fe.sup,g=Fe.sub,se=T(Fe.base,"operatorname"),H=!0):se=T(r,"operatorname");var tt;if(se.body.length>0){for(var It=se.body.map(function(rn){var hn=rn.text;return typeof hn=="string"?{type:"textord",mode:rn.mode,text:hn}:rn}),rr=ze(It,a.withFont("mathrm"),!0),pr=0;pr<rr.length;pr++){var kr=rr[pr];kr instanceof Me&&(kr.text=kr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}tt=v.makeSpan(["mop"],rr,a)}else tt=v.makeSpan(["mop"],[],a);return H?xo(tt,l,g,a,a.style,0,0):tt},cs=function(r,a){for(var l=Er(r.body,a.withFont("mathrm")),g=!0,H=0;H<l.length;H++){var se=l[H];if(!(se instanceof ht.SpaceNode))if(se instanceof ht.MathNode)switch(se.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var Fe=se.children[0];se.children.length===1&&Fe instanceof ht.TextNode?Fe.text=Fe.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):g=!1;break}default:g=!1}else g=!1}if(g){var tt=l.map(function(pr){return pr.toText()}).join("");l=[new ht.TextNode(tt)]}var It=new ht.MathNode("mi",l);It.setAttribute("mathvariant","normal");var rr=new ht.MathNode("mo",[Jt("\u2061","text")]);return r.parentIsSupSub?new ht.MathNode("mo",[It,rr]):ht.newDocumentFragment([It,rr])};Qt({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(r,a){var l=r.parser,g=r.funcName,H=a[0];return{type:"operatorname",mode:l.mode,body:Ce(H),alwaysHandleSupSub:g==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:as,mathmlBuilder:cs}),at({type:"ordgroup",htmlBuilder:function(r,a){return r.semisimple?v.makeFragment(ze(r.body,a,!1)):v.makeSpan(["mord"],ze(r.body,a,!0),a)},mathmlBuilder:function(r,a){return Lr(r.body,a,!0)}}),Qt({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(r,a){var l=r.parser,g=a[0];return{type:"overline",mode:l.mode,body:g}},htmlBuilder:function(r,a){var l=Tt(r.body,a.havingCrampedStyle()),g=v.makeLineSpan("overline-line",a),H=a.fontMetrics().defaultRuleThickness,se=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:3*H},{type:"elem",elem:g},{type:"kern",size:H}]},a);return v.makeSpan(["mord","overline"],[se],a)},mathmlBuilder:function(r,a){var l=new ht.MathNode("mo",[new ht.TextNode("\u203E")]);l.setAttribute("stretchy","true");var g=new ht.MathNode("mover",[Rr(r.body,a),l]);return g.setAttribute("accent","true"),g}}),Qt({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(r,a){var l=r.parser,g=a[0];return{type:"phantom",mode:l.mode,body:Ce(g)}},htmlBuilder:function(r,a){var l=ze(r.body,a.withPhantom(),!1);return v.makeFragment(l)},mathmlBuilder:function(r,a){var l=Er(r.body,a);return new ht.MathNode("mphantom",l)}}),Qt({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(r,a){var l=r.parser,g=a[0];return{type:"hphantom",mode:l.mode,body:g}},htmlBuilder:function(r,a){var l=v.makeSpan([],[Tt(r.body,a.withPhantom())]);if(l.height=0,l.depth=0,l.children)for(var g=0;g<l.children.length;g++)l.children[g].height=0,l.children[g].depth=0;return l=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l}]},a),v.makeSpan(["mord"],[l],a)},mathmlBuilder:function(r,a){var l=Er(Ce(r.body),a),g=new ht.MathNode("mphantom",l),H=new ht.MathNode("mpadded",[g]);return H.setAttribute("height","0px"),H.setAttribute("depth","0px"),H}}),Qt({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(r,a){var l=r.parser,g=a[0];return{type:"vphantom",mode:l.mode,body:g}},htmlBuilder:function(r,a){var l=v.makeSpan(["inner"],[Tt(r.body,a.withPhantom())]),g=v.makeSpan(["fix"],[]);return v.makeSpan(["mord","rlap"],[l,g],a)},mathmlBuilder:function(r,a){var l=Er(Ce(r.body),a),g=new ht.MathNode("mphantom",l),H=new ht.MathNode("mpadded",[g]);return H.setAttribute("width","0px"),H}}),Qt({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(r,a){var l=r.parser,g=T(a[0],"size").value,H=a[1];return{type:"raisebox",mode:l.mode,dy:g,body:H}},htmlBuilder:function(r,a){var l=Tt(r.body,a),g=On(r.dy,a);return v.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:l}]},a)},mathmlBuilder:function(r,a){var l=new ht.MathNode("mpadded",[Rr(r.body,a)]),g=r.dy.number+r.dy.unit;return l.setAttribute("voffset",g),l}}),Qt({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(r,a,l){var g=r.parser,H=l[0],se=T(a[0],"size"),Fe=T(a[1],"size");return{type:"rule",mode:g.mode,shift:H&&T(H,"size").value,width:se.value,height:Fe.value}},htmlBuilder:function(r,a){var l=v.makeSpan(["mord","rule"],[],a),g=On(r.width,a),H=On(r.height,a),se=r.shift?On(r.shift,a):0;return l.style.borderRightWidth=g+"em",l.style.borderTopWidth=H+"em",l.style.bottom=se+"em",l.width=g,l.height=H+se,l.depth=-se,l.maxFontSize=H*1.125*a.sizeMultiplier,l},mathmlBuilder:function(r,a){var l=On(r.width,a),g=On(r.height,a),H=r.shift?On(r.shift,a):0,se=a.color&&a.getColor()||"black",Fe=new ht.MathNode("mspace");Fe.setAttribute("mathbackground",se),Fe.setAttribute("width",l+"em"),Fe.setAttribute("height",g+"em");var tt=new ht.MathNode("mpadded",[Fe]);return H>=0?tt.setAttribute("height","+"+H+"em"):(tt.setAttribute("height",H+"em"),tt.setAttribute("depth","+"+-H+"em")),tt.setAttribute("voffset",H+"em"),tt}});function si(ae,r,a){for(var l=ze(ae,r,!1),g=r.sizeMultiplier/a.sizeMultiplier,H=0;H<l.length;H++){var se=l[H].classes.indexOf("sizing");se<0?Array.prototype.push.apply(l[H].classes,r.sizingClasses(a)):l[H].classes[se+1]==="reset-size"+r.size&&(l[H].classes[se+1]="reset-size"+a.size),l[H].height*=g,l[H].depth*=g}return v.makeFragment(l)}var Wi=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Ss=function(r,a){var l=a.havingSize(r.size);return si(r.body,l,a)};Qt({type:"sizing",names:Wi,props:{numArgs:0,allowedInText:!0},handler:function(r,a){var l=r.breakOnTokenText,g=r.funcName,H=r.parser,se=H.parseExpression(!1,l);return{type:"sizing",mode:H.mode,size:Wi.indexOf(g)+1,body:se}},htmlBuilder:Ss,mathmlBuilder:function(r,a){var l=a.havingSize(r.size),g=Er(r.body,l),H=new ht.MathNode("mstyle",g);return H.setAttribute("mathsize",l.sizeMultiplier+"em"),H}}),Qt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(r,a,l){var g=r.parser,H=!1,se=!1,Fe=l[0]&&T(l[0],"ordgroup");if(Fe)for(var tt="",It=0;It<Fe.body.length;++It){var rr=Fe.body[It];if(tt=rr.text,tt==="t")H=!0;else if(tt==="b")se=!0;else{H=!1,se=!1;break}}else H=!0,se=!0;var pr=a[0];return{type:"smash",mode:g.mode,body:pr,smashHeight:H,smashDepth:se}},htmlBuilder:function(r,a){var l=v.makeSpan([],[Tt(r.body,a)]);if(!r.smashHeight&&!r.smashDepth)return l;if(r.smashHeight&&(l.height=0,l.children))for(var g=0;g<l.children.length;g++)l.children[g].height=0;if(r.smashDepth&&(l.depth=0,l.children))for(var H=0;H<l.children.length;H++)l.children[H].depth=0;var se=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l}]},a);return v.makeSpan(["mord"],[se],a)},mathmlBuilder:function(r,a){var l=new ht.MathNode("mpadded",[Rr(r.body,a)]);return r.smashHeight&&l.setAttribute("height","0px"),r.smashDepth&&l.setAttribute("depth","0px"),l}}),Qt({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(r,a,l){var g=r.parser,H=l[0],se=a[0];return{type:"sqrt",mode:g.mode,body:se,index:H}},htmlBuilder:function(r,a){var l=Tt(r.body,a.havingCrampedStyle());l.height===0&&(l.height=a.fontMetrics().xHeight),l=v.wrapFragment(l,a);var g=a.fontMetrics(),H=g.defaultRuleThickness,se=H;a.style.id<w.TEXT.id&&(se=a.fontMetrics().xHeight);var Fe=H+se/4,tt=l.height+l.depth+Fe+H,It=va.sqrtImage(tt,a),rr=It.span,pr=It.ruleWidth,kr=It.advanceWidth,rn=rr.height-pr;rn>l.height+l.depth+Fe&&(Fe=(Fe+rn-l.height-l.depth)/2);var hn=rr.height-l.height-Fe-pr;l.style.paddingLeft=kr+"em";var In=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l,wrapperClasses:["svg-align"]},{type:"kern",size:-(l.height+hn)},{type:"elem",elem:rr},{type:"kern",size:pr}]},a);if(r.index){var Un=a.havingStyle(w.SCRIPTSCRIPT),Ca=Tt(r.index,Un,a),Ia=.6*(In.height-In.depth),c=v.makeVList({positionType:"shift",positionData:-Ia,children:[{type:"elem",elem:Ca}]},a),e=v.makeSpan(["root"],[c]);return v.makeSpan(["mord","sqrt"],[e,In],a)}else return v.makeSpan(["mord","sqrt"],[In],a)},mathmlBuilder:function(r,a){var l=r.body,g=r.index;return g?new ht.MathNode("mroot",[Rr(l,a),Rr(g,a)]):new ht.MathNode("msqrt",[Rr(l,a)])}});var us={display:w.DISPLAY,text:w.TEXT,script:w.SCRIPT,scriptscript:w.SCRIPTSCRIPT};Qt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(r,a){var l=r.breakOnTokenText,g=r.funcName,H=r.parser,se=H.parseExpression(!0,l),Fe=g.slice(1,g.length-5);return{type:"styling",mode:H.mode,style:Fe,body:se}},htmlBuilder:function(r,a){var l=us[r.style],g=a.havingStyle(l).withFont("");return si(r.body,g,a)},mathmlBuilder:function(r,a){var l=us[r.style],g=a.havingStyle(l),H=Er(r.body,g),se=new ht.MathNode("mstyle",H),Fe={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},tt=Fe[r.style];return se.setAttribute("scriptlevel",tt[0]),se.setAttribute("displaystyle",tt[1]),se}});var ws=function(r,a){var l=r.base;if(l)if(l.type==="op"){var g=l.limits&&(a.style.size===w.DISPLAY.size||l.alwaysHandleSupSub);return g?$i:null}else if(l.type==="operatorname"){var H=l.alwaysHandleSupSub&&(a.style.size===w.DISPLAY.size||l.limits);return H?as:null}else{if(l.type==="accent")return S.isCharacterBox(l.base)?Xn:null;if(l.type==="horizBrace"){var se=!r.sub;return se===l.isOver?yo:null}else return null}else return null};at({type:"supsub",htmlBuilder:function(r,a){var l=ws(r,a);if(l)return l(r,a);var g=r.base,H=r.sup,se=r.sub,Fe=Tt(g,a),tt,It,rr=a.fontMetrics(),pr=0,kr=0,rn=g&&S.isCharacterBox(g);if(H){var hn=a.havingStyle(a.style.sup());tt=Tt(H,hn,a),rn||(pr=Fe.height-hn.fontMetrics().supDrop*hn.sizeMultiplier/a.sizeMultiplier)}if(se){var In=a.havingStyle(a.style.sub());It=Tt(se,In,a),rn||(kr=Fe.depth+In.fontMetrics().subDrop*In.sizeMultiplier/a.sizeMultiplier)}var Un;a.style===w.DISPLAY?Un=rr.sup1:a.style.cramped?Un=rr.sup3:Un=rr.sup2;var Ca=a.sizeMultiplier,Ia=.5/rr.ptPerEm/Ca+"em",c=null;if(It){var e=r.base&&r.base.type==="op"&&r.base.name&&(r.base.name==="\\oiint"||r.base.name==="\\oiiint");(Fe instanceof Me||e)&&(c=-Fe.italic+"em")}var t;if(tt&&It){pr=Math.max(pr,Un,tt.depth+.25*rr.xHeight),kr=Math.max(kr,rr.sub2);var d=rr.defaultRuleThickness,O=4*d;if(pr-tt.depth-(It.height-kr)<O){kr=O-(pr-tt.depth)+It.height;var V=.8*rr.xHeight-(pr-tt.depth);V>0&&(pr+=V,kr-=V)}var Oe=[{type:"elem",elem:It,shift:kr,marginRight:Ia,marginLeft:c},{type:"elem",elem:tt,shift:-pr,marginRight:Ia}];t=v.makeVList({positionType:"individualShift",children:Oe},a)}else if(It){kr=Math.max(kr,rr.sub1,It.height-.8*rr.xHeight);var Ke=[{type:"elem",elem:It,marginLeft:c,marginRight:Ia}];t=v.makeVList({positionType:"shift",positionData:kr,children:Ke},a)}else if(tt)pr=Math.max(pr,Un,tt.depth+.25*rr.xHeight),t=v.makeVList({positionType:"shift",positionData:-pr,children:[{type:"elem",elem:tt,marginRight:Ia}]},a);else throw new Error("supsub must have either sup or sub.");var Ye=gr(Fe,"right")||"mord";return v.makeSpan([Ye],[Fe,v.makeSpan(["msupsub"],[t])],a)},mathmlBuilder:function(r,a){var l=!1,g,H,se=Z(r.base,"horizBrace");se&&(H=!!r.sup,H===se.isOver&&(l=!0,g=se.isOver)),r.base&&(r.base.type==="op"||r.base.type==="operatorname")&&(r.base.parentIsSupSub=!0);var Fe=[Rr(r.base,a)];r.sub&&Fe.push(Rr(r.sub,a)),r.sup&&Fe.push(Rr(r.sup,a));var tt;if(l)tt=g?"mover":"munder";else if(r.sub)if(r.sup){var pr=r.base;pr&&pr.type==="op"&&pr.limits&&a.style===w.DISPLAY||pr&&pr.type==="operatorname"&&pr.alwaysHandleSupSub&&(a.style===w.DISPLAY||pr.limits)?tt="munderover":tt="msubsup"}else{var rr=r.base;rr&&rr.type==="op"&&rr.limits&&(a.style===w.DISPLAY||rr.alwaysHandleSupSub)||rr&&rr.type==="operatorname"&&rr.alwaysHandleSupSub&&(rr.limits||a.style===w.DISPLAY)?tt="munder":tt="msub"}else{var It=r.base;It&&It.type==="op"&&It.limits&&(a.style===w.DISPLAY||It.alwaysHandleSupSub)||It&&It.type==="operatorname"&&It.alwaysHandleSupSub&&(It.limits||a.style===w.DISPLAY)?tt="mover":tt="msup"}var kr=new ht.MathNode(tt,Fe);return kr}}),at({type:"atom",htmlBuilder:function(r,a){return v.mathsym(r.text,r.mode,a,["m"+r.family])},mathmlBuilder:function(r,a){var l=new ht.MathNode("mo",[Jt(r.text,r.mode)]);if(r.family==="bin"){var g=fr(r,a);g==="bold-italic"&&l.setAttribute("mathvariant",g)}else r.family==="punct"?l.setAttribute("separator","true"):(r.family==="open"||r.family==="close")&&l.setAttribute("stretchy","false");return l}});var os={mi:"italic",mn:"normal",mtext:"normal"};at({type:"mathord",htmlBuilder:function(r,a){return v.makeOrd(r,a,"mathord")},mathmlBuilder:function(r,a){var l=new ht.MathNode("mi",[Jt(r.text,r.mode,a)]),g=fr(r,a)||"italic";return g!==os[l.type]&&l.setAttribute("mathvariant",g),l}}),at({type:"textord",htmlBuilder:function(r,a){return v.makeOrd(r,a,"textord")},mathmlBuilder:function(r,a){var l=Jt(r.text,r.mode,a),g=fr(r,a)||"normal",H;return r.mode==="text"?H=new ht.MathNode("mtext",[l]):/[0-9]/.test(r.text)?H=new ht.MathNode("mn",[l]):r.text==="\\prime"?H=new ht.MathNode("mo",[l]):H=new ht.MathNode("mi",[l]),g!==os[H.type]&&H.setAttribute("mathvariant",g),H}});var li={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},ci={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};at({type:"spacing",htmlBuilder:function(r,a){if(ci.hasOwnProperty(r.text)){var l=ci[r.text].className||"";if(r.mode==="text"){var g=v.makeOrd(r,a,"textord");return g.classes.push(l),g}else return v.makeSpan(["mspace",l],[v.mathsym(r.text,r.mode,a)],a)}else{if(li.hasOwnProperty(r.text))return v.makeSpan(["mspace",li[r.text]],[],a);throw new ee('Unknown type of space "'+r.text+'"')}},mathmlBuilder:function(r,a){var l;if(ci.hasOwnProperty(r.text))l=new ht.MathNode("mtext",[new ht.TextNode("\xA0")]);else{if(li.hasOwnProperty(r.text))return new ht.MathNode("mspace");throw new ee('Unknown type of space "'+r.text+'"')}return l}});var ds=function(){var r=new ht.MathNode("mtd",[]);return r.setAttribute("width","50%"),r};at({type:"tag",mathmlBuilder:function(r,a){var l=new ht.MathNode("mtable",[new ht.MathNode("mtr",[ds(),new ht.MathNode("mtd",[Lr(r.body,a)]),ds(),new ht.MathNode("mtd",[Lr(r.tag,a)])])]);return l.setAttribute("width","100%"),l}});var Ai={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},ui={"\\textbf":"textbf","\\textmd":"textmd"},Ea={"\\textit":"textit","\\textup":"textup"},Cs=function(r,a){var l=r.font;return l?Ai[l]?a.withTextFontFamily(Ai[l]):ui[l]?a.withTextFontWeight(ui[l]):a.withTextFontShape(Ea[l]):a};Qt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(r,a){var l=r.parser,g=r.funcName,H=a[0];return{type:"text",mode:l.mode,body:Ce(H),font:g}},htmlBuilder:function(r,a){var l=Cs(r,a),g=ze(r.body,l,!0);return v.makeSpan(["mord","text"],v.tryCombineChars(g),l)},mathmlBuilder:function(r,a){var l=Cs(r,a);return Lr(r.body,l)}}),Qt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(r,a){var l=r.parser;return{type:"underline",mode:l.mode,body:a[0]}},htmlBuilder:function(r,a){var l=Tt(r.body,a),g=v.makeLineSpan("underline-line",a),H=a.fontMetrics().defaultRuleThickness,se=v.makeVList({positionType:"top",positionData:l.height,children:[{type:"kern",size:H},{type:"elem",elem:g},{type:"kern",size:3*H},{type:"elem",elem:l}]},a);return v.makeSpan(["mord","underline"],[se],a)},mathmlBuilder:function(r,a){var l=new ht.MathNode("mo",[new ht.TextNode("\u203E")]);l.setAttribute("stretchy","true");var g=new ht.MathNode("munder",[Rr(r.body,a),l]);return g.setAttribute("accentunder","true"),g}}),Qt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(r,a,l){throw new ee("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(r,a){for(var l=Os(r),g=[],H=a.havingStyle(a.style.text()),se=0;se<l.length;se++){var Fe=l[se];Fe==="~"&&(Fe="\\textasciitilde"),g.push(v.makeSymbol(Fe,"Typewriter-Regular",r.mode,H,["mord","texttt"]))}return v.makeSpan(["mord","text"].concat(H.sizingClasses(a)),v.tryCombineChars(g),H)},mathmlBuilder:function(r,a){var l=new ht.TextNode(Os(r)),g=new ht.MathNode("mtext",[l]);return g.setAttribute("mathvariant","monospace"),g}});var Os=function(r){return r.body.replace(/ /g,r.star?"\u2423":"\xA0")},Es=gt,Ji=Es,ai=`[ \r
|
|
|
]`,di="\\\\[a-zA-Z@]+",Ls="\\\\[^\uD800-\uDFFF]",Is=""+di+ai+"*",is=new RegExp("^("+di+")"+ai+"*$"),Ui="[\u0300-\u036F]",Pi=new RegExp(Ui+"+$"),Zi="("+ai+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ui+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ui+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+Is)+("|"+Ls+")"),Vi=function(){function ae(a,l){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=a,this.settings=l,this.tokenRegex=new RegExp(Zi,"g"),this.catcodes={"%":14}}var r=ae.prototype;return r.setCatcode=function(l,g){this.catcodes[l]=g},r.lex=function(){var l=this.input,g=this.tokenRegex.lastIndex;if(g===l.length)return new Re("EOF",new L(this,g,g));var H=this.tokenRegex.exec(l);if(H===null||H.index!==g)throw new ee("Unexpected character: '"+l[g]+"'",new Re(l[g],new L(this,g,g+1)));var se=H[2]||" ";if(this.catcodes[se]===14){var Fe=l.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return Fe===-1?(this.tokenRegex.lastIndex=l.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=Fe+1,this.lex()}var tt=se.match(is);return tt&&(se=tt[1]),new Re(se,new L(this,g,this.tokenRegex.lastIndex))},ae}(),$s=function(){function ae(a,l){a===void 0&&(a={}),l===void 0&&(l={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=l,this.builtins=a,this.undefStack=[]}var r=ae.prototype;return r.beginGroup=function(){this.undefStack.push({})},r.endGroup=function(){if(this.undefStack.length===0)throw new ee("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var l=this.undefStack.pop();for(var g in l)l.hasOwnProperty(g)&&(l[g]===void 0?delete this.current[g]:this.current[g]=l[g])},r.has=function(l){return this.current.hasOwnProperty(l)||this.builtins.hasOwnProperty(l)},r.get=function(l){return this.current.hasOwnProperty(l)?this.current[l]:this.builtins[l]},r.set=function(l,g,H){if(H===void 0&&(H=!1),H){for(var se=0;se<this.undefStack.length;se++)delete this.undefStack[se][l];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][l]=g)}else{var Fe=this.undefStack[this.undefStack.length-1];Fe&&!Fe.hasOwnProperty(l)&&(Fe[l]=this.current[l])}this.current[l]=g},ae}(),qi={},hs=qi;function ft(ae,r){qi[ae]=r}ft("\\@firstoftwo",function(ae){var r=ae.consumeArgs(2);return{tokens:r[0],numArgs:0}}),ft("\\@secondoftwo",function(ae){var r=ae.consumeArgs(2);return{tokens:r[1],numArgs:0}}),ft("\\@ifnextchar",function(ae){var r=ae.consumeArgs(3),a=ae.future();return r[0].length===1&&r[0][0].text===a.text?{tokens:r[1],numArgs:0}:{tokens:r[2],numArgs:0}}),ft("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),ft("\\TextOrMath",function(ae){var r=ae.consumeArgs(2);return ae.mode==="text"?{tokens:r[0],numArgs:0}:{tokens:r[1],numArgs:0}});var ji={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};ft("\\char",function(ae){var r=ae.popToken(),a,l="";if(r.text==="'")a=8,r=ae.popToken();else if(r.text==='"')a=16,r=ae.popToken();else if(r.text==="`")if(r=ae.popToken(),r.text[0]==="\\")l=r.text.charCodeAt(1);else{if(r.text==="EOF")throw new ee("\\char` missing argument");l=r.text.charCodeAt(0)}else a=10;if(a){if(l=ji[r.text],l==null||l>=a)throw new ee("Invalid base-"+a+" digit "+r.text);for(var g;(g=ji[ae.future().text])!=null&&g<a;)l*=a,l+=g,ae.popToken()}return"\\@char{"+l+"}"});var Yo=function(r,a){var l=r.consumeArgs(1)[0];if(l.length!==1)throw new ee("\\gdef's first argument must be a macro name");var g=l[0].text,H=0;for(l=r.consumeArgs(1)[0];l.length===1&&l[0].text==="#";){if(l=r.consumeArgs(1)[0],l.length!==1)throw new ee('Invalid argument number length "'+l.length+'"');if(!/^[1-9]$/.test(l[0].text))throw new ee('Invalid argument number "'+l[0].text+'"');if(H++,parseInt(l[0].text)!==H)throw new ee('Argument number "'+l[0].text+'" out of order');l=r.consumeArgs(1)[0]}return r.macros.set(g,{tokens:l,numArgs:H},a),""};ft("\\gdef",function(ae){return Yo(ae,!0)}),ft("\\def",function(ae){return Yo(ae,!1)}),ft("\\global",function(ae){var r=ae.consumeArgs(1)[0];if(r.length!==1)throw new ee("Invalid command after \\global");var a=r[0].text;if(a==="\\def")return Yo(ae,!0);throw new ee("Invalid command '"+a+"' after \\global")});var Ni=function(r,a,l){var g=r.consumeArgs(1)[0];if(g.length!==1)throw new ee("\\newcommand's first argument must be a macro name");var H=g[0].text,se=r.isDefined(H);if(se&&!a)throw new ee("\\newcommand{"+H+"} attempting to redefine "+(H+"; use \\renewcommand"));if(!se&&!l)throw new ee("\\renewcommand{"+H+"} when command "+H+" does not yet exist; use \\newcommand");var Fe=0;if(g=r.consumeArgs(1)[0],g.length===1&&g[0].text==="["){for(var tt="",It=r.expandNextToken();It.text!=="]"&&It.text!=="EOF";)tt+=It.text,It=r.expandNextToken();if(!tt.match(/^\s*[0-9]+\s*$/))throw new ee("Invalid number of arguments: "+tt);Fe=parseInt(tt),g=r.consumeArgs(1)[0]}return r.macros.set(H,{tokens:g,numArgs:Fe}),""};ft("\\newcommand",function(ae){return Ni(ae,!1,!0)}),ft("\\renewcommand",function(ae){return Ni(ae,!0,!1)}),ft("\\providecommand",function(ae){return Ni(ae,!0,!0)}),ft("\\bgroup","{"),ft("\\egroup","}"),ft("\\lq","`"),ft("\\rq","'"),ft("\\aa","\\r a"),ft("\\AA","\\r A"),ft("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),ft("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),ft("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),ft("\u212C","\\mathscr{B}"),ft("\u2130","\\mathscr{E}"),ft("\u2131","\\mathscr{F}"),ft("\u210B","\\mathscr{H}"),ft("\u2110","\\mathscr{I}"),ft("\u2112","\\mathscr{L}"),ft("\u2133","\\mathscr{M}"),ft("\u211B","\\mathscr{R}"),ft("\u212D","\\mathfrak{C}"),ft("\u210C","\\mathfrak{H}"),ft("\u2128","\\mathfrak{Z}"),ft("\\Bbbk","\\Bbb{k}"),ft("\xB7","\\cdotp"),ft("\\llap","\\mathllap{\\textrm{#1}}"),ft("\\rlap","\\mathrlap{\\textrm{#1}}"),ft("\\clap","\\mathclap{\\textrm{#1}}"),ft("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),ft("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),ft("\\ne","\\neq"),ft("\u2260","\\neq"),ft("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),ft("\u2209","\\notin"),ft("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),ft("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),ft("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),ft("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),ft("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),ft("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),ft("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),ft("\u27C2","\\perp"),ft("\u203C","\\mathclose{!\\mkern-0.8mu!}"),ft("\u220C","\\notni"),ft("\u231C","\\ulcorner"),ft("\u231D","\\urcorner"),ft("\u231E","\\llcorner"),ft("\u231F","\\lrcorner"),ft("\xA9","\\copyright"),ft("\xAE","\\textregistered"),ft("\uFE0F","\\textregistered"),ft("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),ft("\u22EE","\\vdots"),ft("\\varGamma","\\mathit{\\Gamma}"),ft("\\varDelta","\\mathit{\\Delta}"),ft("\\varTheta","\\mathit{\\Theta}"),ft("\\varLambda","\\mathit{\\Lambda}"),ft("\\varXi","\\mathit{\\Xi}"),ft("\\varPi","\\mathit{\\Pi}"),ft("\\varSigma","\\mathit{\\Sigma}"),ft("\\varUpsilon","\\mathit{\\Upsilon}"),ft("\\varPhi","\\mathit{\\Phi}"),ft("\\varPsi","\\mathit{\\Psi}"),ft("\\varOmega","\\mathit{\\Omega}"),ft("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),ft("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),ft("\\boxed","\\fbox{$\\displaystyle{#1}$}"),ft("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),ft("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),ft("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var ss={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};ft("\\dots",function(ae){var r="\\dotso",a=ae.expandAfterFuture().text;return a in ss?r=ss[a]:(a.substr(0,4)==="\\not"||a in Ar.math&&S.contains(["bin","rel"],Ar.math[a].group))&&(r="\\dotsb"),r});var Mi={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};ft("\\dotso",function(ae){var r=ae.future().text;return r in Mi?"\\ldots\\,":"\\ldots"}),ft("\\dotsc",function(ae){var r=ae.future().text;return r in Mi&&r!==","?"\\ldots\\,":"\\ldots"}),ft("\\cdots",function(ae){var r=ae.future().text;return r in Mi?"\\@cdots\\,":"\\@cdots"}),ft("\\dotsb","\\cdots"),ft("\\dotsm","\\cdots"),ft("\\dotsi","\\!\\cdots"),ft("\\dotsx","\\ldots\\,"),ft("\\DOTSI","\\relax"),ft("\\DOTSB","\\relax"),ft("\\DOTSX","\\relax"),ft("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),ft("\\,","\\tmspace+{3mu}{.1667em}"),ft("\\thinspace","\\,"),ft("\\>","\\mskip{4mu}"),ft("\\:","\\tmspace+{4mu}{.2222em}"),ft("\\medspace","\\:"),ft("\\;","\\tmspace+{5mu}{.2777em}"),ft("\\thickspace","\\;"),ft("\\!","\\tmspace-{3mu}{.1667em}"),ft("\\negthinspace","\\!"),ft("\\negmedspace","\\tmspace-{4mu}{.2222em}"),ft("\\negthickspace","\\tmspace-{5mu}{.277em}"),ft("\\enspace","\\kern.5em "),ft("\\enskip","\\hskip.5em\\relax"),ft("\\quad","\\hskip1em\\relax"),ft("\\qquad","\\hskip2em\\relax"),ft("\\tag","\\@ifstar\\tag@literal\\tag@paren"),ft("\\tag@paren","\\tag@literal{({#1})}"),ft("\\tag@literal",function(ae){if(ae.macros.get("\\df@tag"))throw new ee("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),ft("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),ft("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),ft("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),ft("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),ft("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),ft("\\\\","\\newline"),ft("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var fs=Pt["Main-Regular"][84][1]-.7*Pt["Main-Regular"][65][1]+"em";ft("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+fs+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),ft("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+fs+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),ft("\\hspace","\\@ifstar\\@hspacer\\@hspace"),ft("\\@hspace","\\hskip #1\\relax"),ft("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),ft("\\ordinarycolon",":"),ft("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),ft("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),ft("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),ft("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),ft("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),ft("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),ft("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),ft("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),ft("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),ft("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),ft("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),ft("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),ft("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),ft("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),ft("\u2237","\\dblcolon"),ft("\u2239","\\eqcolon"),ft("\u2254","\\coloneqq"),ft("\u2255","\\eqqcolon"),ft("\u2A74","\\Coloneqq"),ft("\\ratio","\\vcentcolon"),ft("\\coloncolon","\\dblcolon"),ft("\\colonequals","\\coloneqq"),ft("\\coloncolonequals","\\Coloneqq"),ft("\\equalscolon","\\eqqcolon"),ft("\\equalscoloncolon","\\Eqqcolon"),ft("\\colonminus","\\coloneq"),ft("\\coloncolonminus","\\Coloneq"),ft("\\minuscolon","\\eqcolon"),ft("\\minuscoloncolon","\\Eqcolon"),ft("\\coloncolonapprox","\\Colonapprox"),ft("\\coloncolonsim","\\Colonsim"),ft("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ft("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ft("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ft("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ft("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),ft("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),ft("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),ft("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),ft("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),ft("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),ft("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),ft("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),ft("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),ft("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),ft("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),ft("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),ft("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),ft("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),ft("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),ft("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),ft("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),ft("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),ft("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),ft("\u27E6","\\llbracket"),ft("\u27E7","\\rrbracket"),ft("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),ft("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),ft("\u2983","\\lBrace"),ft("\u2984","\\rBrace"),ft("\\darr","\\downarrow"),ft("\\dArr","\\Downarrow"),ft("\\Darr","\\Downarrow"),ft("\\lang","\\langle"),ft("\\rang","\\rangle"),ft("\\uarr","\\uparrow"),ft("\\uArr","\\Uparrow"),ft("\\Uarr","\\Uparrow"),ft("\\N","\\mathbb{N}"),ft("\\R","\\mathbb{R}"),ft("\\Z","\\mathbb{Z}"),ft("\\alef","\\aleph"),ft("\\alefsym","\\aleph"),ft("\\Alpha","\\mathrm{A}"),ft("\\Beta","\\mathrm{B}"),ft("\\bull","\\bullet"),ft("\\Chi","\\mathrm{X}"),ft("\\clubs","\\clubsuit"),ft("\\cnums","\\mathbb{C}"),ft("\\Complex","\\mathbb{C}"),ft("\\Dagger","\\ddagger"),ft("\\diamonds","\\diamondsuit"),ft("\\empty","\\emptyset"),ft("\\Epsilon","\\mathrm{E}"),ft("\\Eta","\\mathrm{H}"),ft("\\exist","\\exists"),ft("\\harr","\\leftrightarrow"),ft("\\hArr","\\Leftrightarrow"),ft("\\Harr","\\Leftrightarrow"),ft("\\hearts","\\heartsuit"),ft("\\image","\\Im"),ft("\\infin","\\infty"),ft("\\Iota","\\mathrm{I}"),ft("\\isin","\\in"),ft("\\Kappa","\\mathrm{K}"),ft("\\larr","\\leftarrow"),ft("\\lArr","\\Leftarrow"),ft("\\Larr","\\Leftarrow"),ft("\\lrarr","\\leftrightarrow"),ft("\\lrArr","\\Leftrightarrow"),ft("\\Lrarr","\\Leftrightarrow"),ft("\\Mu","\\mathrm{M}"),ft("\\natnums","\\mathbb{N}"),ft("\\Nu","\\mathrm{N}"),ft("\\Omicron","\\mathrm{O}"),ft("\\plusmn","\\pm"),ft("\\rarr","\\rightarrow"),ft("\\rArr","\\Rightarrow"),ft("\\Rarr","\\Rightarrow"),ft("\\real","\\Re"),ft("\\reals","\\mathbb{R}"),ft("\\Reals","\\mathbb{R}"),ft("\\Rho","\\mathrm{P}"),ft("\\sdot","\\cdot"),ft("\\sect","\\S"),ft("\\spades","\\spadesuit"),ft("\\sub","\\subset"),ft("\\sube","\\subseteq"),ft("\\supe","\\supseteq"),ft("\\Tau","\\mathrm{T}"),ft("\\thetasym","\\vartheta"),ft("\\weierp","\\wp"),ft("\\Zeta","\\mathrm{Z}"),ft("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),ft("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),ft("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),ft("\\blue","\\textcolor{##6495ed}{#1}"),ft("\\orange","\\textcolor{##ffa500}{#1}"),ft("\\pink","\\textcolor{##ff00af}{#1}"),ft("\\red","\\textcolor{##df0030}{#1}"),ft("\\green","\\textcolor{##28ae7b}{#1}"),ft("\\gray","\\textcolor{gray}{#1}"),ft("\\purple","\\textcolor{##9d38bd}{#1}"),ft("\\blueA","\\textcolor{##ccfaff}{#1}"),ft("\\blueB","\\textcolor{##80f6ff}{#1}"),ft("\\blueC","\\textcolor{##63d9ea}{#1}"),ft("\\blueD","\\textcolor{##11accd}{#1}"),ft("\\blueE","\\textcolor{##0c7f99}{#1}"),ft("\\tealA","\\textcolor{##94fff5}{#1}"),ft("\\tealB","\\textcolor{##26edd5}{#1}"),ft("\\tealC","\\textcolor{##01d1c1}{#1}"),ft("\\tealD","\\textcolor{##01a995}{#1}"),ft("\\tealE","\\textcolor{##208170}{#1}"),ft("\\greenA","\\textcolor{##b6ffb0}{#1}"),ft("\\greenB","\\textcolor{##8af281}{#1}"),ft("\\greenC","\\textcolor{##74cf70}{#1}"),ft("\\greenD","\\textcolor{##1fab54}{#1}"),ft("\\greenE","\\textcolor{##0d923f}{#1}"),ft("\\goldA","\\textcolor{##ffd0a9}{#1}"),ft("\\goldB","\\textcolor{##ffbb71}{#1}"),ft("\\goldC","\\textcolor{##ff9c39}{#1}"),ft("\\goldD","\\textcolor{##e07d10}{#1}"),ft("\\goldE","\\textcolor{##a75a05}{#1}"),ft("\\redA","\\textcolor{##fca9a9}{#1}"),ft("\\redB","\\textcolor{##ff8482}{#1}"),ft("\\redC","\\textcolor{##f9685d}{#1}"),ft("\\redD","\\textcolor{##e84d39}{#1}"),ft("\\redE","\\textcolor{##bc2612}{#1}"),ft("\\maroonA","\\textcolor{##ffbde0}{#1}"),ft("\\maroonB","\\textcolor{##ff92c6}{#1}"),ft("\\maroonC","\\textcolor{##ed5fa6}{#1}"),ft("\\maroonD","\\textcolor{##ca337c}{#1}"),ft("\\maroonE","\\textcolor{##9e034e}{#1}"),ft("\\purpleA","\\textcolor{##ddd7ff}{#1}"),ft("\\purpleB","\\textcolor{##c6b9fc}{#1}"),ft("\\purpleC","\\textcolor{##aa87ff}{#1}"),ft("\\purpleD","\\textcolor{##7854ab}{#1}"),ft("\\purpleE","\\textcolor{##543b78}{#1}"),ft("\\mintA","\\textcolor{##f5f9e8}{#1}"),ft("\\mintB","\\textcolor{##edf2df}{#1}"),ft("\\mintC","\\textcolor{##e0e5cc}{#1}"),ft("\\grayA","\\textcolor{##f6f7f7}{#1}"),ft("\\grayB","\\textcolor{##f0f1f2}{#1}"),ft("\\grayC","\\textcolor{##e3e5e6}{#1}"),ft("\\grayD","\\textcolor{##d6d8da}{#1}"),ft("\\grayE","\\textcolor{##babec2}{#1}"),ft("\\grayF","\\textcolor{##888d93}{#1}"),ft("\\grayG","\\textcolor{##626569}{#1}"),ft("\\grayH","\\textcolor{##3b3e40}{#1}"),ft("\\grayI","\\textcolor{##21242c}{#1}"),ft("\\kaBlue","\\textcolor{##314453}{#1}"),ft("\\kaGreen","\\textcolor{##71B307}{#1}");var ms={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},hi=function(){function ae(a,l,g){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=l,this.expansionCount=0,this.feed(a),this.macros=new $s(hs,l.macros),this.mode=g,this.stack=[]}var r=ae.prototype;return r.feed=function(l){this.lexer=new Vi(l,this.settings)},r.switchMode=function(l){this.mode=l},r.beginGroup=function(){this.macros.beginGroup()},r.endGroup=function(){this.macros.endGroup()},r.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},r.popToken=function(){return this.future(),this.stack.pop()},r.pushToken=function(l){this.stack.push(l)},r.pushTokens=function(l){var g;(g=this.stack).push.apply(g,l)},r.consumeSpaces=function(){for(;;){var l=this.future();if(l.text===" ")this.stack.pop();else break}},r.consumeArgs=function(l){for(var g=[],H=0;H<l;++H){this.consumeSpaces();var se=this.popToken();if(se.text==="{"){for(var Fe=[],tt=1;tt!==0;){var It=this.popToken();if(Fe.push(It),It.text==="{")++tt;else if(It.text==="}")--tt;else if(It.text==="EOF")throw new ee("End of input in macro argument",se)}Fe.pop(),Fe.reverse(),g[H]=Fe}else{if(se.text==="EOF")throw new ee("End of input expecting macro argument");g[H]=[se]}}return g},r.expandOnce=function(){var l=this.popToken(),g=l.text,H=this._getExpansion(g);if(H==null)return this.pushToken(l),l;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new ee("Too many expansions: infinite loop or need to increase maxExpand setting");var se=H.tokens;if(H.numArgs){var Fe=this.consumeArgs(H.numArgs);se=se.slice();for(var tt=se.length-1;tt>=0;--tt){var It=se[tt];if(It.text==="#"){if(tt===0)throw new ee("Incomplete placeholder at end of macro body",It);if(It=se[--tt],It.text==="#")se.splice(tt+1,1);else if(/^[1-9]$/.test(It.text)){var rr;(rr=se).splice.apply(rr,[tt,2].concat(Fe[+It.text-1]))}else throw new ee("Not a valid argument number",It)}}}return this.pushTokens(se),se},r.expandAfterFuture=function(){return this.expandOnce(),this.future()},r.expandNextToken=function(){for(;;){var l=this.expandOnce();if(l instanceof Re)if(l.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},r.expandMacro=function(l){if(this.macros.get(l)){var g=[],H=this.stack.length;for(this.pushToken(new Re(l));this.stack.length>H;){var se=this.expandOnce();se instanceof Re&&g.push(this.stack.pop())}return g}},r.expandMacroAsText=function(l){var g=this.expandMacro(l);return g&&g.map(function(H){return H.text}).join("")},r._getExpansion=function(l){var g=this.macros.get(l);if(g==null)return g;var H=typeof g=="function"?g(this):g;if(typeof H=="string"){var se=0;if(H.indexOf("#")!==-1)for(var Fe=H.replace(/##/g,"");Fe.indexOf("#"+(se+1))!==-1;)++se;for(var tt=new Vi(H,this.settings),It=[],rr=tt.lex();rr.text!=="EOF";)It.push(rr),rr=tt.lex();It.reverse();var pr={tokens:It,numArgs:se};return pr}return H},r.isDefined=function(l){return this.macros.has(l)||Ji.hasOwnProperty(l)||Ar.math.hasOwnProperty(l)||Ar.text.hasOwnProperty(l)||ms.hasOwnProperty(l)},ae}(),Si={"\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"}},ps={\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"},Gi=function(){function ae(a,l){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new hi(a,l,this.mode),this.settings=l,this.leftrightDepth=0}var r=ae.prototype;return r.expect=function(l,g){if(g===void 0&&(g=!0),this.fetch().text!==l)throw new ee("Expected '"+l+"', got '"+this.fetch().text+"'",this.fetch());g&&this.consume()},r.consume=function(){this.nextToken=null},r.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},r.switchMode=function(l){this.mode=l,this.gullet.switchMode(l)},r.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var l=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),l},r.parseExpression=function(l,g){for(var H=[];;){this.mode==="math"&&this.consumeSpaces();var se=this.fetch();if(ae.endOfExpression.indexOf(se.text)!==-1||g&&se.text===g||l&&Ji[se.text]&&Ji[se.text].infix)break;var Fe=this.parseAtom(g);if(!Fe)break;H.push(Fe)}return this.mode==="text"&&this.formLigatures(H),this.handleInfixNodes(H)},r.handleInfixNodes=function(l){for(var g=-1,H,se=0;se<l.length;se++){var Fe=Z(l[se],"infix");if(Fe){if(g!==-1)throw new ee("only one infix operator per group",Fe.token);g=se,H=Fe.replaceWith}}if(g!==-1&&H){var tt,It,rr=l.slice(0,g),pr=l.slice(g+1);rr.length===1&&rr[0].type==="ordgroup"?tt=rr[0]:tt={type:"ordgroup",mode:this.mode,body:rr},pr.length===1&&pr[0].type==="ordgroup"?It=pr[0]:It={type:"ordgroup",mode:this.mode,body:pr};var kr;return H==="\\\\abovefrac"?kr=this.callFunction(H,[tt,l[g],It],[]):kr=this.callFunction(H,[tt,It],[]),[kr]}else return l},r.handleSupSubscript=function(l){var g=this.fetch(),H=g.text;this.consume();var se=this.parseGroup(l,!1,ae.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!se)throw new ee("Expected group after '"+H+"'",g);return se},r.formatUnsupportedCmd=function(l){for(var g=[],H=0;H<l.length;H++)g.push({type:"textord",mode:"text",text:l[H]});var se={type:"text",mode:this.mode,body:g},Fe={type:"color",mode:this.mode,color:this.settings.errorColor,body:[se]};return Fe},r.parseAtom=function(l){var g=this.parseGroup("atom",!1,null,l);if(this.mode==="text")return g;for(var H,se;;){this.consumeSpaces();var Fe=this.fetch();if(Fe.text==="\\limits"||Fe.text==="\\nolimits"){var tt=Z(g,"op");if(tt){var It=Fe.text==="\\limits";tt.limits=It,tt.alwaysHandleSupSub=!0}else if(tt=Z(g,"operatorname"),tt&&tt.alwaysHandleSupSub){var rr=Fe.text==="\\limits";tt.limits=rr}else throw new ee("Limit controls must follow a math operator",Fe);this.consume()}else if(Fe.text==="^"){if(H)throw new ee("Double superscript",Fe);H=this.handleSupSubscript("superscript")}else if(Fe.text==="_"){if(se)throw new ee("Double subscript",Fe);se=this.handleSupSubscript("subscript")}else if(Fe.text==="'"){if(H)throw new ee("Double superscript",Fe);var pr={type:"textord",mode:this.mode,text:"\\prime"},kr=[pr];for(this.consume();this.fetch().text==="'";)kr.push(pr),this.consume();this.fetch().text==="^"&&kr.push(this.handleSupSubscript("superscript")),H={type:"ordgroup",mode:this.mode,body:kr}}else break}return H||se?{type:"supsub",mode:this.mode,base:g,sup:H,sub:se}:g},r.parseFunction=function(l,g,H){var se=this.fetch(),Fe=se.text,tt=Ji[Fe];if(!tt)return null;if(this.consume(),H!=null&&tt.greediness<=H)throw new ee("Got function '"+Fe+"' with no arguments"+(g?" as "+g:""),se);if(this.mode==="text"&&!tt.allowedInText)throw new ee("Can't use function '"+Fe+"' in text mode",se);if(this.mode==="math"&&tt.allowedInMath===!1)throw new ee("Can't use function '"+Fe+"' in math mode",se);var It=this.parseArguments(Fe,tt),rr=It.args,pr=It.optArgs;return this.callFunction(Fe,rr,pr,se,l)},r.callFunction=function(l,g,H,se,Fe){var tt={funcName:l,parser:this,token:se,breakOnTokenText:Fe},It=Ji[l];if(It&&It.handler)return It.handler(tt,g,H);throw new ee("No function handler for "+l)},r.parseArguments=function(l,g){var H=g.numArgs+g.numOptionalArgs;if(H===0)return{args:[],optArgs:[]};for(var se=g.greediness,Fe=[],tt=[],It=0;It<H;It++){var rr=g.argTypes&&g.argTypes[It],pr=It<g.numOptionalArgs,kr=It>0&&!pr||It===0&&!pr&&this.mode==="math",rn=this.parseGroupOfType("argument to '"+l+"'",rr,pr,se,kr);if(!rn){if(pr){tt.push(null);continue}throw new ee("Expected group after '"+l+"'",this.fetch())}(pr?tt:Fe).push(rn)}return{args:Fe,optArgs:tt}},r.parseGroupOfType=function(l,g,H,se,Fe){switch(g){case"color":return Fe&&this.consumeSpaces(),this.parseColorGroup(H);case"size":return Fe&&this.consumeSpaces(),this.parseSizeGroup(H);case"url":return this.parseUrlGroup(H,Fe);case"math":case"text":return this.parseGroup(l,H,se,void 0,g,Fe);case"hbox":{var tt=this.parseGroup(l,H,se,void 0,"text",Fe);if(!tt)return tt;var It={type:"styling",mode:tt.mode,body:[tt],style:"text"};return It}case"raw":{if(Fe&&this.consumeSpaces(),H&&this.fetch().text==="{")return null;var rr=this.parseStringGroup("raw",H,!0);if(rr)return{type:"raw",mode:"text",string:rr.text};throw new ee("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(l,H,se,void 0,void 0,Fe);default:throw new ee("Unknown group type as "+l,this.fetch())}},r.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},r.parseStringGroup=function(l,g,H){var se=g?"[":"{",Fe=g?"]":"}",tt=this.fetch();if(tt.text!==se){if(g)return null;if(H&&tt.text!=="EOF"&&/[^{}[\]]/.test(tt.text))return this.consume(),tt}var It=this.mode;this.mode="text",this.expect(se);for(var rr="",pr=this.fetch(),kr=0,rn=pr,hn;(hn=this.fetch()).text!==Fe||H&&kr>0;){switch(hn.text){case"EOF":throw new ee("Unexpected end of input in "+l,pr.range(rn,rr));case se:kr++;break;case Fe:kr--;break}rn=hn,rr+=rn.text,this.consume()}return this.expect(Fe),this.mode=It,pr.range(rn,rr)},r.parseRegexGroup=function(l,g){var H=this.mode;this.mode="text";for(var se=this.fetch(),Fe=se,tt="",It;(It=this.fetch()).text!=="EOF"&&l.test(tt+It.text);)Fe=It,tt+=Fe.text,this.consume();if(tt==="")throw new ee("Invalid "+g+": '"+se.text+"'",se);return this.mode=H,se.range(Fe,tt)},r.parseColorGroup=function(l){var g=this.parseStringGroup("color",l);if(!g)return null;var H=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(g.text);if(!H)throw new ee("Invalid color: '"+g.text+"'",g);var se=H[0];return/^[0-9a-f]{6}$/i.test(se)&&(se="#"+se),{type:"color-token",mode:this.mode,color:se}},r.parseSizeGroup=function(l){var g,H=!1;if(!l&&this.fetch().text!=="{"?g=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):g=this.parseStringGroup("size",l),!g)return null;!l&&g.text.length===0&&(g.text="0pt",H=!0);var se=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(g.text);if(!se)throw new ee("Invalid size: '"+g.text+"'",g);var Fe={number:+(se[1]+se[2]),unit:se[3]};if(!Pn(Fe))throw new ee("Invalid unit: '"+Fe.unit+"'",g);return{type:"size",mode:this.mode,value:Fe,isBlank:H}},r.parseUrlGroup=function(l,g){this.gullet.lexer.setCatcode("%",13);var H=this.parseStringGroup("url",l,!0);if(this.gullet.lexer.setCatcode("%",14),!H)return null;var se=H.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:se}},r.parseGroup=function(l,g,H,se,Fe,tt){var It=this.mode;Fe&&this.switchMode(Fe),tt&&this.consumeSpaces();var rr=this.fetch(),pr=rr.text,kr;if(g?pr==="[":pr==="{"||pr==="\\begingroup"){this.consume();var rn=ae.endOfGroup[pr];this.gullet.beginGroup();var hn=this.parseExpression(!1,rn),In=this.fetch();this.expect(rn),this.gullet.endGroup(),kr={type:"ordgroup",mode:this.mode,loc:L.range(rr,In),body:hn,semisimple:pr==="\\begingroup"||void 0}}else if(g)kr=null;else if(kr=this.parseFunction(se,l,H)||this.parseSymbol(),kr==null&&pr[0]==="\\"&&!ms.hasOwnProperty(pr)){if(this.settings.throwOnError)throw new ee("Undefined control sequence: "+pr,rr);kr=this.formatUnsupportedCmd(pr),this.consume()}return Fe&&this.switchMode(It),kr},r.formLigatures=function(l){for(var g=l.length-1,H=0;H<g;++H){var se=l[H],Fe=se.text;Fe==="-"&&l[H+1].text==="-"&&(H+1<g&&l[H+2].text==="-"?(l.splice(H,3,{type:"textord",mode:"text",loc:L.range(se,l[H+2]),text:"---"}),g-=2):(l.splice(H,2,{type:"textord",mode:"text",loc:L.range(se,l[H+1]),text:"--"}),g-=1)),(Fe==="'"||Fe==="`")&&l[H+1].text===Fe&&(l.splice(H,2,{type:"textord",mode:"text",loc:L.range(se,l[H+1]),text:Fe+Fe}),g-=1)}},r.parseSymbol=function(){var l=this.fetch(),g=l.text;if(/^\\verb[^a-zA-Z]/.test(g)){this.consume();var H=g.slice(5),se=H.charAt(0)==="*";if(se&&(H=H.slice(1)),H.length<2||H.charAt(0)!==H.slice(-1))throw new ee(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return H=H.slice(1,-1),{type:"verb",mode:"text",body:H,star:se}}ps.hasOwnProperty(g[0])&&!Ar[this.mode][g[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+g[0]+'" used in math mode',l),g=ps[g[0]]+g.substr(1));var Fe=Pi.exec(g);Fe&&(g=g.substring(0,Fe.index),g==="i"?g="\u0131":g==="j"&&(g="\u0237"));var tt;if(Ar[this.mode][g]){this.settings.strict&&this.mode==="math"&&Sn.indexOf(g)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+g[0]+'" used in math mode',l);var It=Ar[this.mode][g].group,rr=L.range(l),pr;if(lr.hasOwnProperty(It)){var kr=It;pr={type:"atom",mode:this.mode,family:kr,loc:rr,text:g}}else pr={type:It,mode:this.mode,loc:rr,text:g};tt=pr}else if(g.charCodeAt(0)>=128)this.settings.strict&&(Y(g.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+g[0]+'" used in math mode',l):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+g[0]+'"'+(" ("+g.charCodeAt(0)+")"),l)),tt={type:"textord",mode:"text",loc:L.range(l),text:g};else return null;if(this.consume(),Fe)for(var rn=0;rn<Fe[0].length;rn++){var hn=Fe[0][rn];if(!Si[hn])throw new ee("Unknown accent ' "+hn+"'",l);var In=Si[hn][this.mode];if(!In)throw new ee("Accent "+hn+" unsupported in "+this.mode+" mode",l);tt={type:"accent",mode:this.mode,loc:L.range(l),label:In,isStretchy:!1,isShifty:!0,base:tt}}return tt},ae}();Gi.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Gi.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Gi.SUPSUB_GREEDINESS=1;var Qi=function(r,a){if(!(typeof r=="string"||r instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var l=new Gi(r,a);delete l.gullet.macros.current["\\df@tag"];var g=l.parse();if(l.gullet.macros.get("\\df@tag")){if(!a.displayMode)throw new ee("\\tag works only in display equations");l.gullet.feed("\\df@tag"),g=[{type:"tag",mode:"text",body:g,tag:l.parse()}]}return g},ls=Qi,P=function(r,a,l){a.textContent="";var g=wr(r,l).toNode();a.appendChild(g)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),P=function(){throw new ee("KaTeX doesn't work in quirks mode.")});var je=function(r,a){var l=wr(r,a).toMarkup();return l},zt=function(r,a){var l=new E(a);return ls(r,l)},tr=function(r,a,l){if(l.throwOnError||!(r instanceof ee))throw r;var g=v.makeSpan(["katex-error"],[new Me(a)]);return g.setAttribute("title",r.toString()),g.setAttribute("style","color:"+l.errorColor),g},wr=function(r,a){var l=new E(a);try{var g=ls(r,l);return Lt(g,r,l)}catch(H){return tr(H,r,l)}},Kr=function(r,a){var l=new E(a);try{var g=ls(r,l);return ba(g,r,l)}catch(H){return tr(H,r,l)}},ln={version:"0.11.1",render:P,renderToString:je,ParseError:ee,__parse:zt,__renderToDomTree:wr,__renderToHTMLTree:Kr,__setFontMetrics:Nt,__defineSymbol:x,__defineMacro:ft,__domTree:{Span:he,Anchor:me,SymbolNode:Me,SvgNode:Je,PathNode:pt,LineNode:$t}},Qn=n.default=ln}]).default})},95827:function(Yr,Xt,n){"use strict";n.d(Xt,{Z:function(){return Ia}});var o=n(40797),qe=n(91378);class L{constructor(e,t,d){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=d}static range(e,t){return t?!e||!e.loc||!t.loc||e.loc.lexer!==t.loc.lexer?null:new L(e.loc.lexer,e.loc.start,t.loc.end):e&&e.loc}}class Re{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new Re(t,L.range(this,e))}}class q{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var d="KaTeX parse error: "+e,O,V,Oe=t&&t.loc;if(Oe&&Oe.start<=Oe.end){var Ke=Oe.lexer.input;O=Oe.start,V=Oe.end,O===Ke.length?d+=" at end of input: ":d+=" at position "+(O+1)+": ";var Ye=Ke.slice(O,V).replace(/[^]/g,"$&\u0332"),Kt;O>15?Kt="\u2026"+Ke.slice(O-15,O):Kt=Ke.slice(0,O);var ur;V+15<Ke.length?ur=Ke.slice(V,V+15)+"\u2026":ur=Ke.slice(V),d+=Kt+Ye+ur}var xr=new Error(d);return xr.name="ParseError",xr.__proto__=q.prototype,xr.position=O,O!=null&&V!=null&&(xr.length=V-O),xr.rawMessage=e,xr}}q.prototype.__proto__=Error.prototype;var ee=function(e,t){return e.indexOf(t)!==-1},_=function(e,t){return e===void 0?t:e},y=/([A-Z])/g,G=function(e){return e.replace(y,"-$1").toLowerCase()},u={"&":"&",">":">","<":"<",'"':""","'":"'"},B=/[&><"']/g;function F(c){return String(c).replace(B,e=>u[e])}var K=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 t=K(e);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},X=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},M=function(e){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},$={contains:ee,deflt:_,escape:F,hyphenate:G,getBaseElem:K,isCharacterBox:R,protocolFromUrl:M},S={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor: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 E(c){if(c.default)return c.default;var e=c.type,t=Array.isArray(e)?e[0]:e;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class ie{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var t in S)if(S.hasOwnProperty(t)){var d=S[t];this[t]=e[t]!==void 0?d.processor?d.processor(e[t]):e[t]:E(d)}}reportNonstrict(e,t,d){var O=this.strict;if(typeof O=="function"&&(O=O(e,t,d)),!(!O||O==="ignore")){if(O===!0||O==="error")throw new q("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+e+"]"),d);O==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+O+"': "+t+" ["+e+"]"))}}useStrictBehavior(e,t,d){var O=this.strict;if(typeof O=="function")try{O=O(e,t,d)}catch(V){O="error"}return!O||O==="ignore"?!1:O===!0||O==="error"?!0:O==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+O+"': "+t+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var t=$.protocolFromUrl(e.url);if(t==null)return!1;e.protocol=t}var d=typeof this.trust=="function"?this.trust(e):this.trust;return!!d}}class J{constructor(e,t,d){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=d}sup(){return ye[N[this.id]]}sub(){return ye[I[this.id]]}fracNum(){return ye[nt[this.id]]}fracDen(){return ye[ce[this.id]]}cramp(){return ye[le[this.id]]}text(){return ye[w[this.id]]}isTight(){return this.size>=2}}var te=0,$e=1,Ne=2,Qe=3,Ze=4,we=5,xe=6,Q=7,ye=[new J(te,0,!1),new J($e,0,!0),new J(Ne,1,!1),new J(Qe,1,!0),new J(Ze,2,!1),new J(we,2,!0),new J(xe,3,!1),new J(Q,3,!0)],N=[Ze,we,Ze,we,xe,Q,xe,Q],I=[we,we,we,we,Q,Q,Q,Q],nt=[Ne,Qe,Ze,we,xe,Q,xe,Q],ce=[Qe,Qe,we,we,Q,Q,Q,Q],le=[$e,$e,Qe,Qe,we,we,Q,Q],w=[te,$e,Ne,Qe,Ne,Qe,Ne,Qe],k={DISPLAY:ye[te],TEXT:ye[Ne],SCRIPT:ye[Ze],SCRIPTSCRIPT:ye[xe]},z=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function C(c){for(var e=0;e<z.length;e++)for(var t=z[e],d=0;d<t.blocks.length;d++){var O=t.blocks[d];if(c>=O[0]&&c<=O[1])return t.name}return null}var Y=[];z.forEach(c=>c.blocks.forEach(e=>Y.push(...e)));function He(c){for(var e=0;e<Y.length;e+=2)if(c>=Y[e]&&c<=Y[e+1])return!0;return!1}var pe=80,Ue=function(e,t){return"M95,"+(622+e+t)+`
|
|
|
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
|
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
|
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
|
|
|
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
|
|
|
c69,-144,104.5,-217.7,106.5,-221
|
|
|
l`+e/2.075+" -"+e+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+e)+`H845.2724
|
|
|
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
|
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
|
M`+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},ot=function(e,t){return"M263,"+(601+e+t)+`c0.7,0,18,39.7,52,119
|
|
|
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
|
c340,-704.7,510.7,-1060.3,512,-1067
|
|
|
l`+e/2.084+" -"+e+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+e)+`H1012.3
|
|
|
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
|
|
|
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
|
|
|
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
|
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
|
M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},ct=function(e,t){return"M983 "+(10+e+t)+`
|
|
|
l`+e/3.13+" -"+e+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+`
|
|
|
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
|
|
|
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
|
|
|
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
|
|
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
|
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
|
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
|
M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},ue=function(e,t){return"M424,"+(2398+e+t)+`
|
|
|
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
|
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
|
|
|
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
|
|
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
|
|
|
l`+e/4.223+" -"+e+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+e)+`H1014.6
|
|
|
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
|
c-2,6,-10,9,-24,9
|
|
|
c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+" "+t+`
|
|
|
h400000v`+(40+e)+"h-400000z"},Le=function(e,t){return"M473,"+(2713+e+t)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+" -"+e+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7
|
|
|
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
|
|
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
|
|
|
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
|
|
|
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
|
606zM`+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"},Ct=function(e){var t=e/2;return"M400000 "+e+" H0 L"+t+" 0 l65 45 L145 "+(e-80)+" H400000z"},ke=function(e,t,d){var O=d-54-t-e;return"M702 "+(e+t)+"H400000"+(40+e)+`
|
|
|
H742v`+O+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
|
|
|
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
|
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
|
219 661 l218 661zM702 `+t+"H400000v"+(40+e)+"H742z"},De=function(e,t,d){t=1e3*t;var O="";switch(e){case"sqrtMain":O=Ue(t,pe);break;case"sqrtSize1":O=ot(t,pe);break;case"sqrtSize2":O=ct(t,pe);break;case"sqrtSize3":O=ue(t,pe);break;case"sqrtSize4":O=Le(t,pe);break;case"sqrtTall":O=ke(t,pe,d)}return O},j=function(e,t){switch(e){case"\u239C":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"\u2223":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"\u2225":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z"+("M367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z");case"\u239F":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"\u23A2":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"\u23A5":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"\u23AA":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"\u23D0":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"\u2016":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257z"+("M478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z");default:return""}},_e={doubleleftarrow:`M262 157
|
|
|
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
|
|
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
|
|
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
|
|
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
|
|
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
|
|
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
|
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
|
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
|
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
|
|
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
|
|
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
|
|
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
|
|
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
|
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
|
|
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
|
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
|
|
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
|
|
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
|
|
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
|
|
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
|
|
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
|
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
|
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
|
|
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
|
|
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
|
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
|
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
|
|
435 0h399565z`,leftgroupunder:`M400000 262
|
|
|
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
|
|
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
|
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
|
|
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
|
|
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
|
|
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
|
|
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
|
|
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
|
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
|
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
|
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
|
|
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
|
|
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
|
|
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
|
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
|
|
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
|
|
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
|
|
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
|
|
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
|
|
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
|
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
|
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
|
|
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
|
|
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
|
|
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
|
|
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
|
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
|
|
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
|
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
|
|
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
|
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
|
|
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
|
|
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
|
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
|
|
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
|
|
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
|
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
|
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
|
|
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
|
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
|
|
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
|
|
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
|
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
|
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
|
|
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
|
|
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
|
|
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
|
|
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
|
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
|
|
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
|
|
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
|
|
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
|
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
|
|
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
|
|
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
|
|
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
|
|
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
|
|
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
|
|
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
|
|
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
|
|
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
|
|
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
|
|
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
|
|
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
|
|
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
|
|
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
|
|
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
|
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
|
|
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
|
|
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
|
|
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
|
|
|
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
|
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
|
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
|
|
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
|
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
|
|
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
|
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
|
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
|
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
|
|
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
|
|
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
|
|
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
|
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
|
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
|
|
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
|
|
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
|
|
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
|
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
|
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
|
|
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
|
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
|
|
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
|
|
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
|
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
|
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
|
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
|
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
|
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
|
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
|
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
|
|
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
|
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
|
|
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
|
|
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
|
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
|
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
|
|
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
|
|
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
|
|
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
|
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
|
|
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
|
|
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
|
|
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
|
|
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
|
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
|
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
|
|
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
|
|
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
|
|
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
|
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
|
|
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
|
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
|
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
|
|
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
|
|
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
|
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},be=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v1759 h347 v-84
|
|
|
H403z M403 1759 V0 H319 V1759 v`+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v1759 H0 v84 H347z
|
|
|
M347 1759 V0 H263 V1759 v`+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+` v585 c2.667,10,9.667,15,21,15
|
|
|
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
|
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+` v585 c2.667,10,9.667,15,21,15
|
|
|
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
|
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+` v585 h43z
|
|
|
M367 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15
|
|
|
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
|
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+` v1715 h263 v84 H319z
|
|
|
MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+` v1799 H0 v-84 H319z
|
|
|
MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v602 h84z
|
|
|
M403 1759 V0 H319 V1759 v`+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v602 h84z
|
|
|
M347 1759 V0 h-84 V1759 v`+t+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
|
|
|
c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
|
|
|
-36,557 l0,`+(t+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
|
|
|
949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
|
|
|
c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
|
|
|
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
|
|
|
l0,-`+(t+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
|
|
|
-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
|
|
|
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
|
|
|
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(t+9)+`
|
|
|
c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
|
|
|
c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
|
|
|
c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
|
|
|
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
|
|
|
l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class 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(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){var e=t=>t.toText();return this.children.map(e).join("")}}var he={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},me={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Ie={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Se(c,e){he[c]=e}function Me(c,e,t){if(!he[e])throw new Error("Font metrics not found for font: "+e+".");var d=c.charCodeAt(0),O=he[e][d];if(!O&&c[0]in Ie&&(d=Ie[c[0]].charCodeAt(0),O=he[e][d]),!O&&t==="text"&&He(d)&&(O=he[e][77]),O)return{depth:O[0],height:O[1],italic:O[2],skew:O[3],width:O[4]}}var Je={};function pt(c){var e;if(c>=5?e=0:c>=3?e=1:e=2,!Je[e]){var t=Je[e]={cssEmPerMu:me.quad[e]/18};for(var d in me)me.hasOwnProperty(d)&&(t[d]=me[d][e])}return Je[e]}var $t=[[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]],Yt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Gt=function(e,t){return t.size<2?e:$t[e-1][t.size-1]};class Pt{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||Pt.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=Yt[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var d in e)e.hasOwnProperty(d)&&(t[d]=e[d]);return new Pt(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:Gt(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:Yt[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=Gt(Pt.BASESIZE,e);return this.size===t&&this.textSize===Pt.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Pt.BASESIZE?["sizing","reset-size"+this.size,"size"+Pt.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=pt(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Pt.BASESIZE=6;var it={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},xt={ex:!0,em:!0,mu:!0},Nt=function(e){return typeof e!="string"&&(e=e.unit),e in it||e in xt||e==="ex"},Ht=function(e,t){var d;if(e.unit in it)d=it[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(e.unit==="mu")d=t.fontMetrics().cssEmPerMu;else{var O;if(t.style.isTight()?O=t.havingStyle(t.style.text()):O=t,e.unit==="ex")d=O.fontMetrics().xHeight;else if(e.unit==="em")d=O.fontMetrics().quad;else throw new q("Invalid unit: '"+e.unit+"'");O!==t&&(d*=O.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*d,t.maxSize)},Et=function(e){return+e.toFixed(4)+"em"},er=function(e){return e.filter(t=>t).join(" ")},lr=function(e,t,d){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=d||{},t){t.style.isTight()&&this.classes.push("mtight");var O=t.getColor();O&&(this.style.color=O)}},Cr=function(e){var t=document.createElement(e);t.className=er(this.classes);for(var d in this.style)this.style.hasOwnProperty(d)&&(t.style[d]=this.style[d]);for(var O in this.attributes)this.attributes.hasOwnProperty(O)&&t.setAttribute(O,this.attributes[O]);for(var V=0;V<this.children.length;V++)t.appendChild(this.children[V].toNode());return t},qr=/[\s"'>/=\x00-\x1f]/,Ar=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+$.escape(er(this.classes))+'"');var d="";for(var O in this.style)this.style.hasOwnProperty(O)&&(d+=$.hyphenate(O)+":"+this.style[O]+";");d&&(t+=' style="'+$.escape(d)+'"');for(var V in this.attributes)if(this.attributes.hasOwnProperty(V)){if(qr.test(V))throw new q("Invalid attribute name '"+V+"'");t+=" "+V+'="'+$.escape(this.attributes[V])+'"'}t+=">";for(var Oe=0;Oe<this.children.length;Oe++)t+=this.children[Oe].toMarkup();return t+="</"+e+">",t};class x{constructor(e,t,d,O){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,lr.call(this,e,d,O),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return $.contains(this.classes,e)}toNode(){return Cr.call(this,"span")}toMarkup(){return Ar.call(this,"span")}}class W{constructor(e,t,d,O){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,lr.call(this,t,O),this.children=d||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return $.contains(this.classes,e)}toNode(){return Cr.call(this,"a")}toMarkup(){return Ar.call(this,"a")}}class St{constructor(e,t,d){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=d}hasClass(e){return $.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var t in this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e='<img src="'+$.escape(this.src)+'"'+(' alt="'+$.escape(this.alt)+'"'),t="";for(var d in this.style)this.style.hasOwnProperty(d)&&(t+=$.hyphenate(d)+":"+this.style[d]+";");return t&&(e+=' style="'+$.escape(t)+'"'),e+="'/>",e}}var oe={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"};class Be{constructor(e,t,d,O,V,Oe,Ke,Ye){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=d||0,this.italic=O||0,this.skew=V||0,this.width=Oe||0,this.classes=Ke||[],this.style=Ye||{},this.maxFontSize=0;var Kt=C(this.text.charCodeAt(0));Kt&&this.classes.push(Kt+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=oe[this.text])}hasClass(e){return $.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),t=null;this.italic>0&&(t=document.createElement("span"),t.style.marginRight=Et(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=er(this.classes));for(var d in this.style)this.style.hasOwnProperty(d)&&(t=t||document.createElement("span"),t.style[d]=this.style[d]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=$.escape(er(this.classes)),t+='"');var d="";this.italic>0&&(d+="margin-right:"+this.italic+"em;");for(var O in this.style)this.style.hasOwnProperty(O)&&(d+=$.hyphenate(O)+":"+this.style[O]+";");d&&(e=!0,t+=' style="'+$.escape(d)+'"');var V=$.escape(this.text);return e?(t+=">",t+=V,t+="</span>",t):V}}class zr{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");for(var d in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,d)&&t.setAttribute(d,this.attributes[d]);for(var O=0;O<this.children.length;O++)t.appendChild(this.children[O].toNode());return t}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+$.escape(this.attributes[t])+'"');e+=">";for(var d=0;d<this.children.length;d++)e+=this.children[d].toMarkup();return e+="</svg>",e}}class $r{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"path");return this.alternate?t.setAttribute("d",this.alternate):t.setAttribute("d",_e[this.pathName]),t}toMarkup(){return this.alternate?'<path d="'+$.escape(this.alternate)+'"/>':'<path d="'+$.escape(_e[this.pathName])+'"/>'}}class yn{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"line");for(var d in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,d)&&t.setAttribute(d,this.attributes[d]);return t}toMarkup(){var e="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+$.escape(this.attributes[t])+'"');return e+="/>",e}}function Tn(c){if(c instanceof Be)return c;throw new Error("Expected symbolNode but got "+String(c)+".")}function Ft(c){if(c instanceof x)return c;throw new Error("Expected span<HtmlDomNode> but got "+String(c)+".")}var Sr={bin:1,close:1,inner:1,open:1,punct:1,rel:1},br={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Br={math:{},text:{}};function h(c,e,t,d,O,V){Br[c][O]={font:e,group:t,replace:d},V&&d&&(Br[c][d]=Br[c][O])}var D="math",Ee="text",ne="main",lt="ams",pn="accent-token",mt="bin",Ut="close",Ur="inner",Pr="mathord",Jr="op-token",gn="open",Jn="punct",ge="rel",mr="spacing",et="textord";h(D,ne,ge,"\u2261","\\equiv",!0),h(D,ne,ge,"\u227A","\\prec",!0),h(D,ne,ge,"\u227B","\\succ",!0),h(D,ne,ge,"\u223C","\\sim",!0),h(D,ne,ge,"\u22A5","\\perp"),h(D,ne,ge,"\u2AAF","\\preceq",!0),h(D,ne,ge,"\u2AB0","\\succeq",!0),h(D,ne,ge,"\u2243","\\simeq",!0),h(D,ne,ge,"\u2223","\\mid",!0),h(D,ne,ge,"\u226A","\\ll",!0),h(D,ne,ge,"\u226B","\\gg",!0),h(D,ne,ge,"\u224D","\\asymp",!0),h(D,ne,ge,"\u2225","\\parallel"),h(D,ne,ge,"\u22C8","\\bowtie",!0),h(D,ne,ge,"\u2323","\\smile",!0),h(D,ne,ge,"\u2291","\\sqsubseteq",!0),h(D,ne,ge,"\u2292","\\sqsupseteq",!0),h(D,ne,ge,"\u2250","\\doteq",!0),h(D,ne,ge,"\u2322","\\frown",!0),h(D,ne,ge,"\u220B","\\ni",!0),h(D,ne,ge,"\u221D","\\propto",!0),h(D,ne,ge,"\u22A2","\\vdash",!0),h(D,ne,ge,"\u22A3","\\dashv",!0),h(D,ne,ge,"\u220B","\\owns"),h(D,ne,Jn,".","\\ldotp"),h(D,ne,Jn,"\u22C5","\\cdotp"),h(D,ne,et,"#","\\#"),h(Ee,ne,et,"#","\\#"),h(D,ne,et,"&","\\&"),h(Ee,ne,et,"&","\\&"),h(D,ne,et,"\u2135","\\aleph",!0),h(D,ne,et,"\u2200","\\forall",!0),h(D,ne,et,"\u210F","\\hbar",!0),h(D,ne,et,"\u2203","\\exists",!0),h(D,ne,et,"\u2207","\\nabla",!0),h(D,ne,et,"\u266D","\\flat",!0),h(D,ne,et,"\u2113","\\ell",!0),h(D,ne,et,"\u266E","\\natural",!0),h(D,ne,et,"\u2663","\\clubsuit",!0),h(D,ne,et,"\u2118","\\wp",!0),h(D,ne,et,"\u266F","\\sharp",!0),h(D,ne,et,"\u2662","\\diamondsuit",!0),h(D,ne,et,"\u211C","\\Re",!0),h(D,ne,et,"\u2661","\\heartsuit",!0),h(D,ne,et,"\u2111","\\Im",!0),h(D,ne,et,"\u2660","\\spadesuit",!0),h(D,ne,et,"\xA7","\\S",!0),h(Ee,ne,et,"\xA7","\\S"),h(D,ne,et,"\xB6","\\P",!0),h(Ee,ne,et,"\xB6","\\P"),h(D,ne,et,"\u2020","\\dag"),h(Ee,ne,et,"\u2020","\\dag"),h(Ee,ne,et,"\u2020","\\textdagger"),h(D,ne,et,"\u2021","\\ddag"),h(Ee,ne,et,"\u2021","\\ddag"),h(Ee,ne,et,"\u2021","\\textdaggerdbl"),h(D,ne,Ut,"\u23B1","\\rmoustache",!0),h(D,ne,gn,"\u23B0","\\lmoustache",!0),h(D,ne,Ut,"\u27EF","\\rgroup",!0),h(D,ne,gn,"\u27EE","\\lgroup",!0),h(D,ne,mt,"\u2213","\\mp",!0),h(D,ne,mt,"\u2296","\\ominus",!0),h(D,ne,mt,"\u228E","\\uplus",!0),h(D,ne,mt,"\u2293","\\sqcap",!0),h(D,ne,mt,"\u2217","\\ast"),h(D,ne,mt,"\u2294","\\sqcup",!0),h(D,ne,mt,"\u25EF","\\bigcirc",!0),h(D,ne,mt,"\u2219","\\bullet",!0),h(D,ne,mt,"\u2021","\\ddagger"),h(D,ne,mt,"\u2240","\\wr",!0),h(D,ne,mt,"\u2A3F","\\amalg"),h(D,ne,mt,"&","\\And"),h(D,ne,ge,"\u27F5","\\longleftarrow",!0),h(D,ne,ge,"\u21D0","\\Leftarrow",!0),h(D,ne,ge,"\u27F8","\\Longleftarrow",!0),h(D,ne,ge,"\u27F6","\\longrightarrow",!0),h(D,ne,ge,"\u21D2","\\Rightarrow",!0),h(D,ne,ge,"\u27F9","\\Longrightarrow",!0),h(D,ne,ge,"\u2194","\\leftrightarrow",!0),h(D,ne,ge,"\u27F7","\\longleftrightarrow",!0),h(D,ne,ge,"\u21D4","\\Leftrightarrow",!0),h(D,ne,ge,"\u27FA","\\Longleftrightarrow",!0),h(D,ne,ge,"\u21A6","\\mapsto",!0),h(D,ne,ge,"\u27FC","\\longmapsto",!0),h(D,ne,ge,"\u2197","\\nearrow",!0),h(D,ne,ge,"\u21A9","\\hookleftarrow",!0),h(D,ne,ge,"\u21AA","\\hookrightarrow",!0),h(D,ne,ge,"\u2198","\\searrow",!0),h(D,ne,ge,"\u21BC","\\leftharpoonup",!0),h(D,ne,ge,"\u21C0","\\rightharpoonup",!0),h(D,ne,ge,"\u2199","\\swarrow",!0),h(D,ne,ge,"\u21BD","\\leftharpoondown",!0),h(D,ne,ge,"\u21C1","\\rightharpoondown",!0),h(D,ne,ge,"\u2196","\\nwarrow",!0),h(D,ne,ge,"\u21CC","\\rightleftharpoons",!0),h(D,lt,ge,"\u226E","\\nless",!0),h(D,lt,ge,"\uE010","\\@nleqslant"),h(D,lt,ge,"\uE011","\\@nleqq"),h(D,lt,ge,"\u2A87","\\lneq",!0),h(D,lt,ge,"\u2268","\\lneqq",!0),h(D,lt,ge,"\uE00C","\\@lvertneqq"),h(D,lt,ge,"\u22E6","\\lnsim",!0),h(D,lt,ge,"\u2A89","\\lnapprox",!0),h(D,lt,ge,"\u2280","\\nprec",!0),h(D,lt,ge,"\u22E0","\\npreceq",!0),h(D,lt,ge,"\u22E8","\\precnsim",!0),h(D,lt,ge,"\u2AB9","\\precnapprox",!0),h(D,lt,ge,"\u2241","\\nsim",!0),h(D,lt,ge,"\uE006","\\@nshortmid"),h(D,lt,ge,"\u2224","\\nmid",!0),h(D,lt,ge,"\u22AC","\\nvdash",!0),h(D,lt,ge,"\u22AD","\\nvDash",!0),h(D,lt,ge,"\u22EA","\\ntriangleleft"),h(D,lt,ge,"\u22EC","\\ntrianglelefteq",!0),h(D,lt,ge,"\u228A","\\subsetneq",!0),h(D,lt,ge,"\uE01A","\\@varsubsetneq"),h(D,lt,ge,"\u2ACB","\\subsetneqq",!0),h(D,lt,ge,"\uE017","\\@varsubsetneqq"),h(D,lt,ge,"\u226F","\\ngtr",!0),h(D,lt,ge,"\uE00F","\\@ngeqslant"),h(D,lt,ge,"\uE00E","\\@ngeqq"),h(D,lt,ge,"\u2A88","\\gneq",!0),h(D,lt,ge,"\u2269","\\gneqq",!0),h(D,lt,ge,"\uE00D","\\@gvertneqq"),h(D,lt,ge,"\u22E7","\\gnsim",!0),h(D,lt,ge,"\u2A8A","\\gnapprox",!0),h(D,lt,ge,"\u2281","\\nsucc",!0),h(D,lt,ge,"\u22E1","\\nsucceq",!0),h(D,lt,ge,"\u22E9","\\succnsim",!0),h(D,lt,ge,"\u2ABA","\\succnapprox",!0),h(D,lt,ge,"\u2246","\\ncong",!0),h(D,lt,ge,"\uE007","\\@nshortparallel"),h(D,lt,ge,"\u2226","\\nparallel",!0),h(D,lt,ge,"\u22AF","\\nVDash",!0),h(D,lt,ge,"\u22EB","\\ntriangleright"),h(D,lt,ge,"\u22ED","\\ntrianglerighteq",!0),h(D,lt,ge,"\uE018","\\@nsupseteqq"),h(D,lt,ge,"\u228B","\\supsetneq",!0),h(D,lt,ge,"\uE01B","\\@varsupsetneq"),h(D,lt,ge,"\u2ACC","\\supsetneqq",!0),h(D,lt,ge,"\uE019","\\@varsupsetneqq"),h(D,lt,ge,"\u22AE","\\nVdash",!0),h(D,lt,ge,"\u2AB5","\\precneqq",!0),h(D,lt,ge,"\u2AB6","\\succneqq",!0),h(D,lt,ge,"\uE016","\\@nsubseteqq"),h(D,lt,mt,"\u22B4","\\unlhd"),h(D,lt,mt,"\u22B5","\\unrhd"),h(D,lt,ge,"\u219A","\\nleftarrow",!0),h(D,lt,ge,"\u219B","\\nrightarrow",!0),h(D,lt,ge,"\u21CD","\\nLeftarrow",!0),h(D,lt,ge,"\u21CF","\\nRightarrow",!0),h(D,lt,ge,"\u21AE","\\nleftrightarrow",!0),h(D,lt,ge,"\u21CE","\\nLeftrightarrow",!0),h(D,lt,ge,"\u25B3","\\vartriangle"),h(D,lt,et,"\u210F","\\hslash"),h(D,lt,et,"\u25BD","\\triangledown"),h(D,lt,et,"\u25CA","\\lozenge"),h(D,lt,et,"\u24C8","\\circledS"),h(D,lt,et,"\xAE","\\circledR"),h(Ee,lt,et,"\xAE","\\circledR"),h(D,lt,et,"\u2221","\\measuredangle",!0),h(D,lt,et,"\u2204","\\nexists"),h(D,lt,et,"\u2127","\\mho"),h(D,lt,et,"\u2132","\\Finv",!0),h(D,lt,et,"\u2141","\\Game",!0),h(D,lt,et,"\u2035","\\backprime"),h(D,lt,et,"\u25B2","\\blacktriangle"),h(D,lt,et,"\u25BC","\\blacktriangledown"),h(D,lt,et,"\u25A0","\\blacksquare"),h(D,lt,et,"\u29EB","\\blacklozenge"),h(D,lt,et,"\u2605","\\bigstar"),h(D,lt,et,"\u2222","\\sphericalangle",!0),h(D,lt,et,"\u2201","\\complement",!0),h(D,lt,et,"\xF0","\\eth",!0),h(Ee,ne,et,"\xF0","\xF0"),h(D,lt,et,"\u2571","\\diagup"),h(D,lt,et,"\u2572","\\diagdown"),h(D,lt,et,"\u25A1","\\square"),h(D,lt,et,"\u25A1","\\Box"),h(D,lt,et,"\u25CA","\\Diamond"),h(D,lt,et,"\xA5","\\yen",!0),h(Ee,lt,et,"\xA5","\\yen",!0),h(D,lt,et,"\u2713","\\checkmark",!0),h(Ee,lt,et,"\u2713","\\checkmark"),h(D,lt,et,"\u2136","\\beth",!0),h(D,lt,et,"\u2138","\\daleth",!0),h(D,lt,et,"\u2137","\\gimel",!0),h(D,lt,et,"\u03DD","\\digamma",!0),h(D,lt,et,"\u03F0","\\varkappa"),h(D,lt,gn,"\u250C","\\@ulcorner",!0),h(D,lt,Ut,"\u2510","\\@urcorner",!0),h(D,lt,gn,"\u2514","\\@llcorner",!0),h(D,lt,Ut,"\u2518","\\@lrcorner",!0),h(D,lt,ge,"\u2266","\\leqq",!0),h(D,lt,ge,"\u2A7D","\\leqslant",!0),h(D,lt,ge,"\u2A95","\\eqslantless",!0),h(D,lt,ge,"\u2272","\\lesssim",!0),h(D,lt,ge,"\u2A85","\\lessapprox",!0),h(D,lt,ge,"\u224A","\\approxeq",!0),h(D,lt,mt,"\u22D6","\\lessdot"),h(D,lt,ge,"\u22D8","\\lll",!0),h(D,lt,ge,"\u2276","\\lessgtr",!0),h(D,lt,ge,"\u22DA","\\lesseqgtr",!0),h(D,lt,ge,"\u2A8B","\\lesseqqgtr",!0),h(D,lt,ge,"\u2251","\\doteqdot"),h(D,lt,ge,"\u2253","\\risingdotseq",!0),h(D,lt,ge,"\u2252","\\fallingdotseq",!0),h(D,lt,ge,"\u223D","\\backsim",!0),h(D,lt,ge,"\u22CD","\\backsimeq",!0),h(D,lt,ge,"\u2AC5","\\subseteqq",!0),h(D,lt,ge,"\u22D0","\\Subset",!0),h(D,lt,ge,"\u228F","\\sqsubset",!0),h(D,lt,ge,"\u227C","\\preccurlyeq",!0),h(D,lt,ge,"\u22DE","\\curlyeqprec",!0),h(D,lt,ge,"\u227E","\\precsim",!0),h(D,lt,ge,"\u2AB7","\\precapprox",!0),h(D,lt,ge,"\u22B2","\\vartriangleleft"),h(D,lt,ge,"\u22B4","\\trianglelefteq"),h(D,lt,ge,"\u22A8","\\vDash",!0),h(D,lt,ge,"\u22AA","\\Vvdash",!0),h(D,lt,ge,"\u2323","\\smallsmile"),h(D,lt,ge,"\u2322","\\smallfrown"),h(D,lt,ge,"\u224F","\\bumpeq",!0),h(D,lt,ge,"\u224E","\\Bumpeq",!0),h(D,lt,ge,"\u2267","\\geqq",!0),h(D,lt,ge,"\u2A7E","\\geqslant",!0),h(D,lt,ge,"\u2A96","\\eqslantgtr",!0),h(D,lt,ge,"\u2273","\\gtrsim",!0),h(D,lt,ge,"\u2A86","\\gtrapprox",!0),h(D,lt,mt,"\u22D7","\\gtrdot"),h(D,lt,ge,"\u22D9","\\ggg",!0),h(D,lt,ge,"\u2277","\\gtrless",!0),h(D,lt,ge,"\u22DB","\\gtreqless",!0),h(D,lt,ge,"\u2A8C","\\gtreqqless",!0),h(D,lt,ge,"\u2256","\\eqcirc",!0),h(D,lt,ge,"\u2257","\\circeq",!0),h(D,lt,ge,"\u225C","\\triangleq",!0),h(D,lt,ge,"\u223C","\\thicksim"),h(D,lt,ge,"\u2248","\\thickapprox"),h(D,lt,ge,"\u2AC6","\\supseteqq",!0),h(D,lt,ge,"\u22D1","\\Supset",!0),h(D,lt,ge,"\u2290","\\sqsupset",!0),h(D,lt,ge,"\u227D","\\succcurlyeq",!0),h(D,lt,ge,"\u22DF","\\curlyeqsucc",!0),h(D,lt,ge,"\u227F","\\succsim",!0),h(D,lt,ge,"\u2AB8","\\succapprox",!0),h(D,lt,ge,"\u22B3","\\vartriangleright"),h(D,lt,ge,"\u22B5","\\trianglerighteq"),h(D,lt,ge,"\u22A9","\\Vdash",!0),h(D,lt,ge,"\u2223","\\shortmid"),h(D,lt,ge,"\u2225","\\shortparallel"),h(D,lt,ge,"\u226C","\\between",!0),h(D,lt,ge,"\u22D4","\\pitchfork",!0),h(D,lt,ge,"\u221D","\\varpropto"),h(D,lt,ge,"\u25C0","\\blacktriangleleft"),h(D,lt,ge,"\u2234","\\therefore",!0),h(D,lt,ge,"\u220D","\\backepsilon"),h(D,lt,ge,"\u25B6","\\blacktriangleright"),h(D,lt,ge,"\u2235","\\because",!0),h(D,lt,ge,"\u22D8","\\llless"),h(D,lt,ge,"\u22D9","\\gggtr"),h(D,lt,mt,"\u22B2","\\lhd"),h(D,lt,mt,"\u22B3","\\rhd"),h(D,lt,ge,"\u2242","\\eqsim",!0),h(D,ne,ge,"\u22C8","\\Join"),h(D,lt,ge,"\u2251","\\Doteq",!0),h(D,lt,mt,"\u2214","\\dotplus",!0),h(D,lt,mt,"\u2216","\\smallsetminus"),h(D,lt,mt,"\u22D2","\\Cap",!0),h(D,lt,mt,"\u22D3","\\Cup",!0),h(D,lt,mt,"\u2A5E","\\doublebarwedge",!0),h(D,lt,mt,"\u229F","\\boxminus",!0),h(D,lt,mt,"\u229E","\\boxplus",!0),h(D,lt,mt,"\u22C7","\\divideontimes",!0),h(D,lt,mt,"\u22C9","\\ltimes",!0),h(D,lt,mt,"\u22CA","\\rtimes",!0),h(D,lt,mt,"\u22CB","\\leftthreetimes",!0),h(D,lt,mt,"\u22CC","\\rightthreetimes",!0),h(D,lt,mt,"\u22CF","\\curlywedge",!0),h(D,lt,mt,"\u22CE","\\curlyvee",!0),h(D,lt,mt,"\u229D","\\circleddash",!0),h(D,lt,mt,"\u229B","\\circledast",!0),h(D,lt,mt,"\u22C5","\\centerdot"),h(D,lt,mt,"\u22BA","\\intercal",!0),h(D,lt,mt,"\u22D2","\\doublecap"),h(D,lt,mt,"\u22D3","\\doublecup"),h(D,lt,mt,"\u22A0","\\boxtimes",!0),h(D,lt,ge,"\u21E2","\\dashrightarrow",!0),h(D,lt,ge,"\u21E0","\\dashleftarrow",!0),h(D,lt,ge,"\u21C7","\\leftleftarrows",!0),h(D,lt,ge,"\u21C6","\\leftrightarrows",!0),h(D,lt,ge,"\u21DA","\\Lleftarrow",!0),h(D,lt,ge,"\u219E","\\twoheadleftarrow",!0),h(D,lt,ge,"\u21A2","\\leftarrowtail",!0),h(D,lt,ge,"\u21AB","\\looparrowleft",!0),h(D,lt,ge,"\u21CB","\\leftrightharpoons",!0),h(D,lt,ge,"\u21B6","\\curvearrowleft",!0),h(D,lt,ge,"\u21BA","\\circlearrowleft",!0),h(D,lt,ge,"\u21B0","\\Lsh",!0),h(D,lt,ge,"\u21C8","\\upuparrows",!0),h(D,lt,ge,"\u21BF","\\upharpoonleft",!0),h(D,lt,ge,"\u21C3","\\downharpoonleft",!0),h(D,ne,ge,"\u22B6","\\origof",!0),h(D,ne,ge,"\u22B7","\\imageof",!0),h(D,lt,ge,"\u22B8","\\multimap",!0),h(D,lt,ge,"\u21AD","\\leftrightsquigarrow",!0),h(D,lt,ge,"\u21C9","\\rightrightarrows",!0),h(D,lt,ge,"\u21C4","\\rightleftarrows",!0),h(D,lt,ge,"\u21A0","\\twoheadrightarrow",!0),h(D,lt,ge,"\u21A3","\\rightarrowtail",!0),h(D,lt,ge,"\u21AC","\\looparrowright",!0),h(D,lt,ge,"\u21B7","\\curvearrowright",!0),h(D,lt,ge,"\u21BB","\\circlearrowright",!0),h(D,lt,ge,"\u21B1","\\Rsh",!0),h(D,lt,ge,"\u21CA","\\downdownarrows",!0),h(D,lt,ge,"\u21BE","\\upharpoonright",!0),h(D,lt,ge,"\u21C2","\\downharpoonright",!0),h(D,lt,ge,"\u21DD","\\rightsquigarrow",!0),h(D,lt,ge,"\u21DD","\\leadsto"),h(D,lt,ge,"\u21DB","\\Rrightarrow",!0),h(D,lt,ge,"\u21BE","\\restriction"),h(D,ne,et,"\u2018","`"),h(D,ne,et,"$","\\$"),h(Ee,ne,et,"$","\\$"),h(Ee,ne,et,"$","\\textdollar"),h(D,ne,et,"%","\\%"),h(Ee,ne,et,"%","\\%"),h(D,ne,et,"_","\\_"),h(Ee,ne,et,"_","\\_"),h(Ee,ne,et,"_","\\textunderscore"),h(D,ne,et,"\u2220","\\angle",!0),h(D,ne,et,"\u221E","\\infty",!0),h(D,ne,et,"\u2032","\\prime"),h(D,ne,et,"\u25B3","\\triangle"),h(D,ne,et,"\u0393","\\Gamma",!0),h(D,ne,et,"\u0394","\\Delta",!0),h(D,ne,et,"\u0398","\\Theta",!0),h(D,ne,et,"\u039B","\\Lambda",!0),h(D,ne,et,"\u039E","\\Xi",!0),h(D,ne,et,"\u03A0","\\Pi",!0),h(D,ne,et,"\u03A3","\\Sigma",!0),h(D,ne,et,"\u03A5","\\Upsilon",!0),h(D,ne,et,"\u03A6","\\Phi",!0),h(D,ne,et,"\u03A8","\\Psi",!0),h(D,ne,et,"\u03A9","\\Omega",!0),h(D,ne,et,"A","\u0391"),h(D,ne,et,"B","\u0392"),h(D,ne,et,"E","\u0395"),h(D,ne,et,"Z","\u0396"),h(D,ne,et,"H","\u0397"),h(D,ne,et,"I","\u0399"),h(D,ne,et,"K","\u039A"),h(D,ne,et,"M","\u039C"),h(D,ne,et,"N","\u039D"),h(D,ne,et,"O","\u039F"),h(D,ne,et,"P","\u03A1"),h(D,ne,et,"T","\u03A4"),h(D,ne,et,"X","\u03A7"),h(D,ne,et,"\xAC","\\neg",!0),h(D,ne,et,"\xAC","\\lnot"),h(D,ne,et,"\u22A4","\\top"),h(D,ne,et,"\u22A5","\\bot"),h(D,ne,et,"\u2205","\\emptyset"),h(D,lt,et,"\u2205","\\varnothing"),h(D,ne,Pr,"\u03B1","\\alpha",!0),h(D,ne,Pr,"\u03B2","\\beta",!0),h(D,ne,Pr,"\u03B3","\\gamma",!0),h(D,ne,Pr,"\u03B4","\\delta",!0),h(D,ne,Pr,"\u03F5","\\epsilon",!0),h(D,ne,Pr,"\u03B6","\\zeta",!0),h(D,ne,Pr,"\u03B7","\\eta",!0),h(D,ne,Pr,"\u03B8","\\theta",!0),h(D,ne,Pr,"\u03B9","\\iota",!0),h(D,ne,Pr,"\u03BA","\\kappa",!0),h(D,ne,Pr,"\u03BB","\\lambda",!0),h(D,ne,Pr,"\u03BC","\\mu",!0),h(D,ne,Pr,"\u03BD","\\nu",!0),h(D,ne,Pr,"\u03BE","\\xi",!0),h(D,ne,Pr,"\u03BF","\\omicron",!0),h(D,ne,Pr,"\u03C0","\\pi",!0),h(D,ne,Pr,"\u03C1","\\rho",!0),h(D,ne,Pr,"\u03C3","\\sigma",!0),h(D,ne,Pr,"\u03C4","\\tau",!0),h(D,ne,Pr,"\u03C5","\\upsilon",!0),h(D,ne,Pr,"\u03D5","\\phi",!0),h(D,ne,Pr,"\u03C7","\\chi",!0),h(D,ne,Pr,"\u03C8","\\psi",!0),h(D,ne,Pr,"\u03C9","\\omega",!0),h(D,ne,Pr,"\u03B5","\\varepsilon",!0),h(D,ne,Pr,"\u03D1","\\vartheta",!0),h(D,ne,Pr,"\u03D6","\\varpi",!0),h(D,ne,Pr,"\u03F1","\\varrho",!0),h(D,ne,Pr,"\u03C2","\\varsigma",!0),h(D,ne,Pr,"\u03C6","\\varphi",!0),h(D,ne,mt,"\u2217","*",!0),h(D,ne,mt,"+","+"),h(D,ne,mt,"\u2212","-",!0),h(D,ne,mt,"\u22C5","\\cdot",!0),h(D,ne,mt,"\u2218","\\circ",!0),h(D,ne,mt,"\xF7","\\div",!0),h(D,ne,mt,"\xB1","\\pm",!0),h(D,ne,mt,"\xD7","\\times",!0),h(D,ne,mt,"\u2229","\\cap",!0),h(D,ne,mt,"\u222A","\\cup",!0),h(D,ne,mt,"\u2216","\\setminus",!0),h(D,ne,mt,"\u2227","\\land"),h(D,ne,mt,"\u2228","\\lor"),h(D,ne,mt,"\u2227","\\wedge",!0),h(D,ne,mt,"\u2228","\\vee",!0),h(D,ne,et,"\u221A","\\surd"),h(D,ne,gn,"\u27E8","\\langle",!0),h(D,ne,gn,"\u2223","\\lvert"),h(D,ne,gn,"\u2225","\\lVert"),h(D,ne,Ut,"?","?"),h(D,ne,Ut,"!","!"),h(D,ne,Ut,"\u27E9","\\rangle",!0),h(D,ne,Ut,"\u2223","\\rvert"),h(D,ne,Ut,"\u2225","\\rVert"),h(D,ne,ge,"=","="),h(D,ne,ge,":",":"),h(D,ne,ge,"\u2248","\\approx",!0),h(D,ne,ge,"\u2245","\\cong",!0),h(D,ne,ge,"\u2265","\\ge"),h(D,ne,ge,"\u2265","\\geq",!0),h(D,ne,ge,"\u2190","\\gets"),h(D,ne,ge,">","\\gt",!0),h(D,ne,ge,"\u2208","\\in",!0),h(D,ne,ge,"\uE020","\\@not"),h(D,ne,ge,"\u2282","\\subset",!0),h(D,ne,ge,"\u2283","\\supset",!0),h(D,ne,ge,"\u2286","\\subseteq",!0),h(D,ne,ge,"\u2287","\\supseteq",!0),h(D,lt,ge,"\u2288","\\nsubseteq",!0),h(D,lt,ge,"\u2289","\\nsupseteq",!0),h(D,ne,ge,"\u22A8","\\models"),h(D,ne,ge,"\u2190","\\leftarrow",!0),h(D,ne,ge,"\u2264","\\le"),h(D,ne,ge,"\u2264","\\leq",!0),h(D,ne,ge,"<","\\lt",!0),h(D,ne,ge,"\u2192","\\rightarrow",!0),h(D,ne,ge,"\u2192","\\to"),h(D,lt,ge,"\u2271","\\ngeq",!0),h(D,lt,ge,"\u2270","\\nleq",!0),h(D,ne,mr,"\xA0","\\ "),h(D,ne,mr,"\xA0","\\space"),h(D,ne,mr,"\xA0","\\nobreakspace"),h(Ee,ne,mr,"\xA0","\\ "),h(Ee,ne,mr,"\xA0"," "),h(Ee,ne,mr,"\xA0","\\space"),h(Ee,ne,mr,"\xA0","\\nobreakspace"),h(D,ne,mr,null,"\\nobreak"),h(D,ne,mr,null,"\\allowbreak"),h(D,ne,Jn,",",","),h(D,ne,Jn,";",";"),h(D,lt,mt,"\u22BC","\\barwedge",!0),h(D,lt,mt,"\u22BB","\\veebar",!0),h(D,ne,mt,"\u2299","\\odot",!0),h(D,ne,mt,"\u2295","\\oplus",!0),h(D,ne,mt,"\u2297","\\otimes",!0),h(D,ne,et,"\u2202","\\partial",!0),h(D,ne,mt,"\u2298","\\oslash",!0),h(D,lt,mt,"\u229A","\\circledcirc",!0),h(D,lt,mt,"\u22A1","\\boxdot",!0),h(D,ne,mt,"\u25B3","\\bigtriangleup"),h(D,ne,mt,"\u25BD","\\bigtriangledown"),h(D,ne,mt,"\u2020","\\dagger"),h(D,ne,mt,"\u22C4","\\diamond"),h(D,ne,mt,"\u22C6","\\star"),h(D,ne,mt,"\u25C3","\\triangleleft"),h(D,ne,mt,"\u25B9","\\triangleright"),h(D,ne,gn,"{","\\{"),h(Ee,ne,et,"{","\\{"),h(Ee,ne,et,"{","\\textbraceleft"),h(D,ne,Ut,"}","\\}"),h(Ee,ne,et,"}","\\}"),h(Ee,ne,et,"}","\\textbraceright"),h(D,ne,gn,"{","\\lbrace"),h(D,ne,Ut,"}","\\rbrace"),h(D,ne,gn,"[","\\lbrack",!0),h(Ee,ne,et,"[","\\lbrack",!0),h(D,ne,Ut,"]","\\rbrack",!0),h(Ee,ne,et,"]","\\rbrack",!0),h(D,ne,gn,"(","\\lparen",!0),h(D,ne,Ut,")","\\rparen",!0),h(Ee,ne,et,"<","\\textless",!0),h(Ee,ne,et,">","\\textgreater",!0),h(D,ne,gn,"\u230A","\\lfloor",!0),h(D,ne,Ut,"\u230B","\\rfloor",!0),h(D,ne,gn,"\u2308","\\lceil",!0),h(D,ne,Ut,"\u2309","\\rceil",!0),h(D,ne,et,"\\","\\backslash"),h(D,ne,et,"\u2223","|"),h(D,ne,et,"\u2223","\\vert"),h(Ee,ne,et,"|","\\textbar",!0),h(D,ne,et,"\u2225","\\|"),h(D,ne,et,"\u2225","\\Vert"),h(Ee,ne,et,"\u2225","\\textbardbl"),h(Ee,ne,et,"~","\\textasciitilde"),h(Ee,ne,et,"\\","\\textbackslash"),h(Ee,ne,et,"^","\\textasciicircum"),h(D,ne,ge,"\u2191","\\uparrow",!0),h(D,ne,ge,"\u21D1","\\Uparrow",!0),h(D,ne,ge,"\u2193","\\downarrow",!0),h(D,ne,ge,"\u21D3","\\Downarrow",!0),h(D,ne,ge,"\u2195","\\updownarrow",!0),h(D,ne,ge,"\u21D5","\\Updownarrow",!0),h(D,ne,Jr,"\u2210","\\coprod"),h(D,ne,Jr,"\u22C1","\\bigvee"),h(D,ne,Jr,"\u22C0","\\bigwedge"),h(D,ne,Jr,"\u2A04","\\biguplus"),h(D,ne,Jr,"\u22C2","\\bigcap"),h(D,ne,Jr,"\u22C3","\\bigcup"),h(D,ne,Jr,"\u222B","\\int"),h(D,ne,Jr,"\u222B","\\intop"),h(D,ne,Jr,"\u222C","\\iint"),h(D,ne,Jr,"\u222D","\\iiint"),h(D,ne,Jr,"\u220F","\\prod"),h(D,ne,Jr,"\u2211","\\sum"),h(D,ne,Jr,"\u2A02","\\bigotimes"),h(D,ne,Jr,"\u2A01","\\bigoplus"),h(D,ne,Jr,"\u2A00","\\bigodot"),h(D,ne,Jr,"\u222E","\\oint"),h(D,ne,Jr,"\u222F","\\oiint"),h(D,ne,Jr,"\u2230","\\oiiint"),h(D,ne,Jr,"\u2A06","\\bigsqcup"),h(D,ne,Jr,"\u222B","\\smallint"),h(Ee,ne,Ur,"\u2026","\\textellipsis"),h(D,ne,Ur,"\u2026","\\mathellipsis"),h(Ee,ne,Ur,"\u2026","\\ldots",!0),h(D,ne,Ur,"\u2026","\\ldots",!0),h(D,ne,Ur,"\u22EF","\\@cdots",!0),h(D,ne,Ur,"\u22F1","\\ddots",!0),h(D,ne,et,"\u22EE","\\varvdots"),h(Ee,ne,et,"\u22EE","\\varvdots"),h(D,ne,pn,"\u02CA","\\acute"),h(D,ne,pn,"\u02CB","\\grave"),h(D,ne,pn,"\xA8","\\ddot"),h(D,ne,pn,"~","\\tilde"),h(D,ne,pn,"\u02C9","\\bar"),h(D,ne,pn,"\u02D8","\\breve"),h(D,ne,pn,"\u02C7","\\check"),h(D,ne,pn,"^","\\hat"),h(D,ne,pn,"\u20D7","\\vec"),h(D,ne,pn,"\u02D9","\\dot"),h(D,ne,pn,"\u02DA","\\mathring"),h(D,ne,Pr,"\uE131","\\@imath"),h(D,ne,Pr,"\uE237","\\@jmath"),h(D,ne,et,"\u0131","\u0131"),h(D,ne,et,"\u0237","\u0237"),h(Ee,ne,et,"\u0131","\\i",!0),h(Ee,ne,et,"\u0237","\\j",!0),h(Ee,ne,et,"\xDF","\\ss",!0),h(Ee,ne,et,"\xE6","\\ae",!0),h(Ee,ne,et,"\u0153","\\oe",!0),h(Ee,ne,et,"\xF8","\\o",!0),h(Ee,ne,et,"\xC6","\\AE",!0),h(Ee,ne,et,"\u0152","\\OE",!0),h(Ee,ne,et,"\xD8","\\O",!0),h(Ee,ne,pn,"\u02CA","\\'"),h(Ee,ne,pn,"\u02CB","\\`"),h(Ee,ne,pn,"\u02C6","\\^"),h(Ee,ne,pn,"\u02DC","\\~"),h(Ee,ne,pn,"\u02C9","\\="),h(Ee,ne,pn,"\u02D8","\\u"),h(Ee,ne,pn,"\u02D9","\\."),h(Ee,ne,pn,"\xB8","\\c"),h(Ee,ne,pn,"\u02DA","\\r"),h(Ee,ne,pn,"\u02C7","\\v"),h(Ee,ne,pn,"\xA8",'\\"'),h(Ee,ne,pn,"\u02DD","\\H"),h(Ee,ne,pn,"\u25EF","\\textcircled");var Ir={"--":!0,"---":!0,"``":!0,"''":!0};h(Ee,ne,et,"\u2013","--",!0),h(Ee,ne,et,"\u2013","\\textendash"),h(Ee,ne,et,"\u2014","---",!0),h(Ee,ne,et,"\u2014","\\textemdash"),h(Ee,ne,et,"\u2018","`",!0),h(Ee,ne,et,"\u2018","\\textquoteleft"),h(Ee,ne,et,"\u2019","'",!0),h(Ee,ne,et,"\u2019","\\textquoteright"),h(Ee,ne,et,"\u201C","``",!0),h(Ee,ne,et,"\u201C","\\textquotedblleft"),h(Ee,ne,et,"\u201D","''",!0),h(Ee,ne,et,"\u201D","\\textquotedblright"),h(D,ne,et,"\xB0","\\degree",!0),h(Ee,ne,et,"\xB0","\\degree"),h(Ee,ne,et,"\xB0","\\textdegree",!0),h(D,ne,et,"\xA3","\\pounds"),h(D,ne,et,"\xA3","\\mathsterling",!0),h(Ee,ne,et,"\xA3","\\pounds"),h(Ee,ne,et,"\xA3","\\textsterling",!0),h(D,lt,et,"\u2720","\\maltese"),h(Ee,lt,et,"\u2720","\\maltese");for(var Vr='0123456789/@."',Sn=0;Sn<Vr.length;Sn++){var ea=Vr.charAt(Sn);h(D,ne,et,ea,ea)}for(var vt='0123456789!@*()-=+";:?/.,',nr=0;nr<vt.length;nr++){var sr=vt.charAt(nr);h(Ee,ne,et,sr,sr)}for(var or="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",jr=0;jr<or.length;jr++){var on=or.charAt(jr);h(D,ne,Pr,on,on),h(Ee,ne,et,on,on)}h(D,lt,et,"C","\u2102"),h(Ee,lt,et,"C","\u2102"),h(D,lt,et,"H","\u210D"),h(Ee,lt,et,"H","\u210D"),h(D,lt,et,"N","\u2115"),h(Ee,lt,et,"N","\u2115"),h(D,lt,et,"P","\u2119"),h(Ee,lt,et,"P","\u2119"),h(D,lt,et,"Q","\u211A"),h(Ee,lt,et,"Q","\u211A"),h(D,lt,et,"R","\u211D"),h(Ee,lt,et,"R","\u211D"),h(D,lt,et,"Z","\u2124"),h(Ee,lt,et,"Z","\u2124"),h(D,ne,Pr,"h","\u210E"),h(Ee,ne,Pr,"h","\u210E");for(var Wr="",Dr=0;Dr<or.length;Dr++){var nn=or.charAt(Dr);Wr=String.fromCharCode(55349,56320+Dr),h(D,ne,Pr,nn,Wr),h(Ee,ne,et,nn,Wr),Wr=String.fromCharCode(55349,56372+Dr),h(D,ne,Pr,nn,Wr),h(Ee,ne,et,nn,Wr),Wr=String.fromCharCode(55349,56424+Dr),h(D,ne,Pr,nn,Wr),h(Ee,ne,et,nn,Wr),Wr=String.fromCharCode(55349,56580+Dr),h(D,ne,Pr,nn,Wr),h(Ee,ne,et,nn,Wr),Wr=String.fromCharCode(55349,56684+Dr),h(D,ne,Pr,nn,Wr),h(Ee,ne,et,nn,Wr),Wr=String.fromCharCode(55349,56736+Dr),h(D,ne,Pr,nn,Wr),h(Ee,ne,et,nn,Wr),Wr=String.fromCharCode(55349,56788+Dr),h(D,ne,Pr,nn,Wr),h(Ee,ne,et,nn,Wr),Wr=String.fromCharCode(55349,56840+Dr),h(D,ne,Pr,nn,Wr),h(Ee,ne,et,nn,Wr),Wr=String.fromCharCode(55349,56944+Dr),h(D,ne,Pr,nn,Wr),h(Ee,ne,et,nn,Wr),Dr<26&&(Wr=String.fromCharCode(55349,56632+Dr),h(D,ne,Pr,nn,Wr),h(Ee,ne,et,nn,Wr),Wr=String.fromCharCode(55349,56476+Dr),h(D,ne,Pr,nn,Wr),h(Ee,ne,et,nn,Wr))}Wr="\u{1D55C}",h(D,ne,Pr,"k",Wr),h(Ee,ne,et,"k",Wr);for(var sn=0;sn<10;sn++){var $n=sn.toString();Wr=String.fromCharCode(55349,57294+sn),h(D,ne,Pr,$n,Wr),h(Ee,ne,et,$n,Wr),Wr=String.fromCharCode(55349,57314+sn),h(D,ne,Pr,$n,Wr),h(Ee,ne,et,$n,Wr),Wr=String.fromCharCode(55349,57324+sn),h(D,ne,Pr,$n,Wr),h(Ee,ne,et,$n,Wr),Wr=String.fromCharCode(55349,57334+sn),h(D,ne,Pr,$n,Wr),h(Ee,ne,et,$n,Wr)}for(var Pn="\xD0\xDE\xFE",On=0;On<Pn.length;On++){var Bn=Pn.charAt(On);h(D,ne,Pr,Bn,Bn),h(Ee,ne,et,Bn,Bn)}var ta=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],tn=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],An=function(e,t){var d=e.charCodeAt(0),O=e.charCodeAt(1),V=(d-55296)*1024+(O-56320)+65536,Oe=t==="math"?0:1;if(119808<=V&&V<120484){var Ke=Math.floor((V-119808)/26);return[ta[Ke][2],ta[Ke][Oe]]}else if(120782<=V&&V<=120831){var Ye=Math.floor((V-120782)/10);return[tn[Ye][2],tn[Ye][Oe]]}else{if(V===120485||V===120486)return[ta[0][2],ta[0][Oe]];if(120486<V&&V<120782)return["",""];throw new q("Unsupported character: "+e)}},Yn=function(e,t,d){return Br[d][e]&&Br[d][e].replace&&(e=Br[d][e].replace),{value:e,metrics:Me(e,t,d)}},ua=function(e,t,d,O,V){var Oe=Yn(e,t,d),Ke=Oe.metrics;e=Oe.value;var Ye;if(Ke){var Kt=Ke.italic;(d==="text"||O&&O.font==="mathit")&&(Kt=0),Ye=new Be(e,Ke.height,Ke.depth,Kt,Ke.skew,Ke.width,V)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+e+"' in style '"+t+"' and mode '"+d+"'")),Ye=new Be(e,0,0,0,0,0,V);if(O){Ye.maxFontSize=O.sizeMultiplier,O.style.isTight()&&Ye.classes.push("mtight");var ur=O.getColor();ur&&(Ye.style.color=ur)}return Ye},zn=function(e,t,d,O){return O===void 0&&(O=[]),d.font==="boldsymbol"&&Yn(e,"Main-Bold",t).metrics?ua(e,"Main-Bold",t,d,O.concat(["mathbf"])):e==="\\"||Br[t][e].font==="main"?ua(e,"Main-Regular",t,d,O):ua(e,"AMS-Regular",t,d,O.concat(["amsrm"]))},ra=function(e,t,d,O,V){return V!=="textord"&&Yn(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Gn=function(e,t,d){var O=e.mode,V=e.text,Oe=["mord"],Ke=O==="math"||O==="text"&&t.font,Ye=Ke?t.font:t.fontFamily,Kt="",ur="";if(V.charCodeAt(0)===55349&&([Kt,ur]=An(V,O)),Kt.length>0)return ua(V,Kt,O,t,Oe.concat(ur));if(Ye){var xr,Fr;if(Ye==="boldsymbol"){var Hr=ra(V,O,t,Oe,d);xr=Hr.fontName,Fr=[Hr.fontClass]}else Ke?(xr=b[Ye].fontName,Fr=[Ye]):(xr=p(Ye,t.fontWeight,t.fontShape),Fr=[Ye,t.fontWeight,t.fontShape]);if(Yn(V,xr,O).metrics)return ua(V,xr,O,t,Oe.concat(Fr));if(Ir.hasOwnProperty(V)&&xr.slice(0,10)==="Typewriter"){for(var un=[],bn=0;bn<V.length;bn++)un.push(ua(V[bn],xr,O,t,Oe.concat(Fr)));return to(un)}}if(d==="mathord")return ua(V,"Math-Italic",O,t,Oe.concat(["mathnormal"]));if(d==="textord"){var Nn=Br[O][V]&&Br[O][V].font;if(Nn==="ams"){var Mn=p("amsrm",t.fontWeight,t.fontShape);return ua(V,Mn,O,t,Oe.concat("amsrm",t.fontWeight,t.fontShape))}else if(Nn==="main"||!Nn){var oa=p("textrm",t.fontWeight,t.fontShape);return ua(V,oa,O,t,Oe.concat(t.fontWeight,t.fontShape))}else{var ya=p(Nn,t.fontWeight,t.fontShape);return ua(V,ya,O,t,Oe.concat(ya,t.fontWeight,t.fontShape))}}else throw new Error("unexpected type: "+d+" in makeOrd")},Wn=(c,e)=>{if(er(c.classes)!==er(e.classes)||c.skew!==e.skew||c.maxFontSize!==e.maxFontSize)return!1;if(c.classes.length===1){var t=c.classes[0];if(t==="mbin"||t==="mord")return!1}for(var d in c.style)if(c.style.hasOwnProperty(d)&&c.style[d]!==e.style[d])return!1;for(var O in e.style)if(e.style.hasOwnProperty(O)&&c.style[O]!==e.style[O])return!1;return!0},qn=c=>{for(var e=0;e<c.length-1;e++){var t=c[e],d=c[e+1];t instanceof Be&&d instanceof Be&&Wn(t,d)&&(t.text+=d.text,t.height=Math.max(t.height,d.height),t.depth=Math.max(t.depth,d.depth),t.italic=d.italic,c.splice(e+1,1),e--)}return c},Dn=function(e){for(var t=0,d=0,O=0,V=0;V<e.children.length;V++){var Oe=e.children[V];Oe.height>t&&(t=Oe.height),Oe.depth>d&&(d=Oe.depth),Oe.maxFontSize>O&&(O=Oe.maxFontSize)}e.height=t,e.depth=d,e.maxFontSize=O},xn=function(e,t,d,O){var V=new x(e,t,d,O);return Dn(V),V},Kn=(c,e,t,d)=>new x(c,e,t,d),wa=function(e,t,d){var O=xn([e],[],t);return O.height=Math.max(d||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),O.style.borderBottomWidth=Et(O.height),O.maxFontSize=1,O},za=function(e,t,d,O){var V=new W(e,t,d,O);return Dn(V),V},to=function(e){var t=new fe(e);return Dn(t),t},ro=function(e,t){return e instanceof fe?xn([],[e],t):e},so=function(e){if(e.positionType==="individualShift"){for(var t=e.children,d=[t[0]],O=-t[0].shift-t[0].elem.depth,V=O,Oe=1;Oe<t.length;Oe++){var Ke=-t[Oe].shift-V-t[Oe].elem.depth,Ye=Ke-(t[Oe-1].elem.height+t[Oe-1].elem.depth);V=V+Ke,d.push({type:"kern",size:Ye}),d.push(t[Oe])}return{children:d,depth:O}}var Kt;if(e.positionType==="top"){for(var ur=e.positionData,xr=0;xr<e.children.length;xr++){var Fr=e.children[xr];ur-=Fr.type==="kern"?Fr.size:Fr.elem.height+Fr.elem.depth}Kt=ur}else if(e.positionType==="bottom")Kt=-e.positionData;else{var Hr=e.children[0];if(Hr.type!=="elem")throw new Error('First child must have type "elem".');if(e.positionType==="shift")Kt=-Hr.elem.depth-e.positionData;else if(e.positionType==="firstBaseline")Kt=-Hr.elem.depth;else throw new Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:Kt}},f=function(e,t){for(var{children:d,depth:O}=so(e),V=0,Oe=0;Oe<d.length;Oe++){var Ke=d[Oe];if(Ke.type==="elem"){var Ye=Ke.elem;V=Math.max(V,Ye.maxFontSize,Ye.height)}}V+=2;var Kt=xn(["pstrut"],[]);Kt.style.height=Et(V);for(var ur=[],xr=O,Fr=O,Hr=O,un=0;un<d.length;un++){var bn=d[un];if(bn.type==="kern")Hr+=bn.size;else{var Nn=bn.elem,Mn=bn.wrapperClasses||[],oa=bn.wrapperStyle||{},ya=xn(Mn,[Kt,Nn],void 0,oa);ya.style.top=Et(-V-Hr-Nn.depth),bn.marginLeft&&(ya.style.marginLeft=bn.marginLeft),bn.marginRight&&(ya.style.marginRight=bn.marginRight),ur.push(ya),Hr+=Nn.height+Nn.depth}xr=Math.min(xr,Hr),Fr=Math.max(Fr,Hr)}var Ua=xn(["vlist"],ur);Ua.style.height=Et(Fr);var Pa;if(xr<0){var Oa=xn([],[]),Ga=xn(["vlist"],[Oa]);Ga.style.height=Et(-xr);var Ya=xn(["vlist-s"],[new Be("\u200B")]);Pa=[xn(["vlist-r"],[Ua,Ya]),xn(["vlist-r"],[Ga])]}else Pa=[xn(["vlist-r"],[Ua])];var Ra=xn(["vlist-t"],Pa);return Pa.length===2&&Ra.classes.push("vlist-t2"),Ra.height=Fr,Ra.depth=-xr,Ra},s=(c,e)=>{var t=xn(["mspace"],[],e),d=Ht(c,e);return t.style.marginRight=Et(d),t},p=function(e,t,d){var O="";switch(e){case"amsrm":O="AMS";break;case"textrm":O="Main";break;case"textsf":O="SansSerif";break;case"texttt":O="Typewriter";break;default:O=e}var V;return t==="textbf"&&d==="textit"?V="BoldItalic":t==="textbf"?V="Bold":t==="textit"?V="Italic":V="Regular",O+"-"+V},b={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},A={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},v=function(e,t){var[d,O,V]=A[e],Oe=new $r(d),Ke=new zr([Oe],{width:Et(O),height:Et(V),style:"width:"+Et(O),viewBox:"0 0 "+1e3*O+" "+1e3*V,preserveAspectRatio:"xMinYMin"}),Ye=Kn(["overlay"],[Ke],t);return Ye.height=V,Ye.style.height=Et(V),Ye.style.width=Et(O),Ye},T={fontMap:b,makeSymbol:ua,mathsym:zn,makeSpan:xn,makeSvgSpan:Kn,makeLineSpan:wa,makeAnchor:za,makeFragment:to,wrapFragment:ro,makeVList:f,makeOrd:Gn,makeGlue:s,staticSvg:v,svgData:A,tryCombineChars:qn},Z={number:3,unit:"mu"},re={number:4,unit:"mu"},Ae={number:5,unit:"mu"},st={mord:{mop:Z,mbin:re,mrel:Ae,minner:Z},mop:{mord:Z,mop:Z,mrel:Ae,minner:Z},mbin:{mord:re,mop:re,mopen:re,minner:re},mrel:{mord:Ae,mop:Ae,mopen:Ae,minner:Ae},mopen:{},mclose:{mop:Z,mbin:re,mrel:Ae,minner:Z},mpunct:{mord:Z,mop:Z,mrel:Ae,mopen:Z,mclose:Z,mpunct:Z,minner:Z},minner:{mord:Z,mop:Z,mbin:re,mrel:Ae,mopen:Z,mpunct:Z,minner:Z}},jt={mord:{mop:Z},mop:{mord:Z,mop:Z},mbin:{},mrel:{},mopen:{},mclose:{mop:Z},mpunct:{},minner:{mop:Z}},At={},ve={},kt={};function Ge(c){for(var{type:e,names:t,props:d,handler:O,htmlBuilder:V,mathmlBuilder:Oe}=c,Ke={type:e,numArgs:d.numArgs,argTypes:d.argTypes,allowedInArgument:!!d.allowedInArgument,allowedInText:!!d.allowedInText,allowedInMath:d.allowedInMath===void 0?!0:d.allowedInMath,numOptionalArgs:d.numOptionalArgs||0,infix:!!d.infix,primitive:!!d.primitive,handler:O},Ye=0;Ye<t.length;++Ye)At[t[Ye]]=Ke;e&&(V&&(ve[e]=V),Oe&&(kt[e]=Oe))}function Zt(c){var{type:e,htmlBuilder:t,mathmlBuilder:d}=c;Ge({type:e,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:t,mathmlBuilder:d})}var gt=function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},ar=function(e){return e.type==="ordgroup"?e.body:[e]},yr=T.makeSpan,Qt=["leftmost","mbin","mopen","mrel","mop","mpunct"],at=["rightmost","mrel","mclose","mpunct"],Ce={display:k.DISPLAY,text:k.TEXT,script:k.SCRIPT,scriptscript:k.SCRIPTSCRIPT},Vt={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Mt=function(e,t,d,O){O===void 0&&(O=[null,null]);for(var V=[],Oe=0;Oe<e.length;Oe++){var Ke=ut(e[Oe],t);if(Ke instanceof fe){var Ye=Ke.children;V.push(...Ye)}else V.push(Ke)}if(T.tryCombineChars(V),!d)return V;var Kt=t;if(e.length===1){var ur=e[0];ur.type==="sizing"?Kt=t.havingSize(ur.size):ur.type==="styling"&&(Kt=t.havingStyle(Ce[ur.style]))}var xr=yr([O[0]||"leftmost"],[],t),Fr=yr([O[1]||"rightmost"],[],t),Hr=d==="root";return Ot(V,(un,bn)=>{var Nn=bn.classes[0],Mn=un.classes[0];Nn==="mbin"&&$.contains(at,Mn)?bn.classes[0]="mord":Mn==="mbin"&&$.contains(Qt,Nn)&&(un.classes[0]="mord")},{node:xr},Fr,Hr),Ot(V,(un,bn)=>{var Nn=ze(bn),Mn=ze(un),oa=Nn&&Mn?un.hasClass("mtight")?jt[Nn][Mn]:st[Nn][Mn]:null;if(oa)return T.makeGlue(oa,Kt)},{node:xr},Fr,Hr),V},Ot=function c(e,t,d,O,V){O&&e.push(O);for(var Oe=0;Oe<e.length;Oe++){var Ke=e[Oe],Ye=qt(Ke);if(Ye){c(Ye.children,t,d,null,V);continue}var Kt=!Ke.hasClass("mspace");if(Kt){var ur=t(Ke,d.node);ur&&(d.insertAfter?d.insertAfter(ur):(e.unshift(ur),Oe++))}Kt?d.node=Ke:V&&Ke.hasClass("newline")&&(d.node=yr(["leftmost"])),d.insertAfter=(xr=>Fr=>{e.splice(xr+1,0,Fr),Oe++})(Oe)}O&&e.pop()},qt=function(e){return e instanceof fe||e instanceof W||e instanceof x&&e.hasClass("enclosing")?e:null},We=function c(e,t){var d=qt(e);if(d){var O=d.children;if(O.length){if(t==="right")return c(O[O.length-1],"right");if(t==="left")return c(O[0],"left")}}return e},ze=function(e,t){return e?(t&&(e=We(e,t)),Vt[e.classes[0]]||null):null},wt=function(e,t){var d=["nulldelimiter"].concat(e.baseSizingClasses());return yr(t.concat(d))},ut=function(e,t,d){if(!e)return yr();if(ve[e.type]){var O=ve[e.type](e,t);if(d&&t.size!==d.size){O=yr(t.sizingClasses(d),[O],t);var V=t.sizeMultiplier/d.sizeMultiplier;O.height*=V,O.depth*=V}return O}else throw new q("Got group of unknown type: '"+e.type+"'")};function cr(c,e){var t=yr(["base"],c,e),d=yr(["strut"]);return d.style.height=Et(t.height+t.depth),t.depth&&(d.style.verticalAlign=Et(-t.depth)),t.children.unshift(d),t}function gr(c,e){var t=null;c.length===1&&c[0].type==="tag"&&(t=c[0].tag,c=c[0].body);var d=Mt(c,e,"root"),O;d.length===2&&d[1].hasClass("tag")&&(O=d.pop());for(var V=[],Oe=[],Ke=0;Ke<d.length;Ke++)if(Oe.push(d[Ke]),d[Ke].hasClass("mbin")||d[Ke].hasClass("mrel")||d[Ke].hasClass("allowbreak")){for(var Ye=!1;Ke<d.length-1&&d[Ke+1].hasClass("mspace")&&!d[Ke+1].hasClass("newline");)Ke++,Oe.push(d[Ke]),d[Ke].hasClass("nobreak")&&(Ye=!0);Ye||(V.push(cr(Oe,e)),Oe=[])}else d[Ke].hasClass("newline")&&(Oe.pop(),Oe.length>0&&(V.push(cr(Oe,e)),Oe=[]),V.push(d[Ke]));Oe.length>0&&V.push(cr(Oe,e));var Kt;t?(Kt=cr(Mt(t,e,!0)),Kt.classes=["tag"],V.push(Kt)):O&&V.push(O);var ur=yr(["katex-html"],V);if(ur.setAttribute("aria-hidden","true"),Kt){var xr=Kt.children[0];xr.style.height=Et(ur.height+ur.depth),ur.depth&&(xr.style.verticalAlign=Et(-ur.depth))}return ur}function _t(c){return new fe(c)}class Tt{constructor(e,t,d){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=d||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=er(this.classes));for(var d=0;d<this.children.length;d++)if(this.children[d]instanceof ir&&this.children[d+1]instanceof ir){for(var O=this.children[d].toText()+this.children[++d].toText();this.children[d+1]instanceof ir;)O+=this.children[++d].toText();e.appendChild(new ir(O).toNode())}else e.appendChild(this.children[d].toNode());return e}toMarkup(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=$.escape(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+$.escape(er(this.classes))+'"'),e+=">";for(var d=0;d<this.children.length;d++)e+=this.children[d].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}}class ir{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return $.escape(this.toText())}toText(){return this.text}}class Zr{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character="\u200A":e>=.1666&&e<=.1667?this.character="\u2009":e>=.2222&&e<=.2223?this.character="\u2005":e>=.2777&&e<=.2778?this.character="\u2005\u200A":e>=-.05556&&e<=-.05555?this.character="\u200A\u2063":e>=-.1667&&e<=-.1666?this.character="\u2009\u2063":e>=-.2223&&e<=-.2222?this.character="\u205F\u2063":e>=-.2778&&e<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",Et(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Et(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Wt={MathNode:Tt,TextNode:ir,SpaceNode:Zr,newDocumentFragment:_t},Pe=function(e,t,d){return Br[t][e]&&Br[t][e].replace&&e.charCodeAt(0)!==55349&&!(Ir.hasOwnProperty(e)&&d&&(d.fontFamily&&d.fontFamily.slice(4,6)==="tt"||d.font&&d.font.slice(4,6)==="tt"))&&(e=Br[t][e].replace),new Wt.TextNode(e)},bt=function(e){return e.length===1?e[0]:new Wt.MathNode("mrow",e)},Bt=function(e,t){if(t.fontFamily==="texttt")return"monospace";if(t.fontFamily==="textsf")return t.fontShape==="textit"&&t.fontWeight==="textbf"?"sans-serif-bold-italic":t.fontShape==="textit"?"sans-serif-italic":t.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(t.fontShape==="textit"&&t.fontWeight==="textbf")return"bold-italic";if(t.fontShape==="textit")return"italic";if(t.fontWeight==="textbf")return"bold";var d=t.font;if(!d||d==="mathnormal")return null;var O=e.mode;if(d==="mathit")return"italic";if(d==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(d==="mathbf")return"bold";if(d==="mathbb")return"double-struck";if(d==="mathsfit")return"sans-serif-italic";if(d==="mathfrak")return"fraktur";if(d==="mathscr"||d==="mathcal")return"script";if(d==="mathsf")return"sans-serif";if(d==="mathtt")return"monospace";var V=e.text;if($.contains(["\\imath","\\jmath"],V))return null;Br[O][V]&&Br[O][V].replace&&(V=Br[O][V].replace);var Oe=T.fontMap[d].fontName;return Me(V,Oe,O)?T.fontMap[d].variant:null};function ht(c){if(!c)return!1;if(c.type==="mi"&&c.children.length===1){var e=c.children[0];return e instanceof ir&&e.text==="."}else if(c.type==="mo"&&c.children.length===1&&c.getAttribute("separator")==="true"&&c.getAttribute("lspace")==="0em"&&c.getAttribute("rspace")==="0em"){var t=c.children[0];return t instanceof ir&&t.text===","}else return!1}var Jt=function(e,t,d){if(e.length===1){var O=fr(e[0],t);return d&&O instanceof Tt&&O.type==="mo"&&(O.setAttribute("lspace","0em"),O.setAttribute("rspace","0em")),[O]}for(var V=[],Oe,Ke=0;Ke<e.length;Ke++){var Ye=fr(e[Ke],t);if(Ye instanceof Tt&&Oe instanceof Tt){if(Ye.type==="mtext"&&Oe.type==="mtext"&&Ye.getAttribute("mathvariant")===Oe.getAttribute("mathvariant")){Oe.children.push(...Ye.children);continue}else if(Ye.type==="mn"&&Oe.type==="mn"){Oe.children.push(...Ye.children);continue}else if(ht(Ye)&&Oe.type==="mn"){Oe.children.push(...Ye.children);continue}else if(Ye.type==="mn"&&ht(Oe))Ye.children=[...Oe.children,...Ye.children],V.pop();else if((Ye.type==="msup"||Ye.type==="msub")&&Ye.children.length>=1&&(Oe.type==="mn"||ht(Oe))){var Kt=Ye.children[0];Kt instanceof Tt&&Kt.type==="mn"&&(Kt.children=[...Oe.children,...Kt.children],V.pop())}else if(Oe.type==="mi"&&Oe.children.length===1){var ur=Oe.children[0];if(ur instanceof ir&&ur.text==="\u0338"&&(Ye.type==="mo"||Ye.type==="mi"||Ye.type==="mn")){var xr=Ye.children[0];xr instanceof ir&&xr.text.length>0&&(xr.text=xr.text.slice(0,1)+"\u0338"+xr.text.slice(1),V.pop())}}}V.push(Ye),Oe=Ye}return V},dr=function(e,t,d){return bt(Jt(e,t,d))},fr=function(e,t){if(!e)return new Wt.MathNode("mrow");if(kt[e.type]){var d=kt[e.type](e,t);return d}else throw new q("Got group of unknown type: '"+e.type+"'")};function Er(c,e,t,d,O){var V=Jt(c,t),Oe;V.length===1&&V[0]instanceof Tt&&$.contains(["mrow","mtable"],V[0].type)?Oe=V[0]:Oe=new Wt.MathNode("mrow",V);var Ke=new Wt.MathNode("annotation",[new Wt.TextNode(e)]);Ke.setAttribute("encoding","application/x-tex");var Ye=new Wt.MathNode("semantics",[Oe,Ke]),Kt=new Wt.MathNode("math",[Ye]);Kt.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),d&&Kt.setAttribute("display","block");var ur=O?"katex":"katex-mathml";return T.makeSpan([ur],[Kt])}var Lr=function(e){return new Pt({style:e.displayMode?k.DISPLAY:k.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Rr=function(e,t){if(t.displayMode){var d=["katex-display"];t.leqno&&d.push("leqno"),t.fleqn&&d.push("fleqn"),e=T.makeSpan(d,[e])}return e},cn=function(e,t,d){var O=Lr(d),V;if(d.output==="mathml")return Er(e,t,O,d.displayMode,!0);if(d.output==="html"){var Oe=gr(e,O);V=T.makeSpan(["katex"],[Oe])}else{var Ke=Er(e,t,O,d.displayMode,!1),Ye=gr(e,O);V=T.makeSpan(["katex"],[Ke,Ye])}return Rr(V,d)},wn=function(e,t,d){var O=Lr(d),V=gr(e,O),Oe=T.makeSpan(["katex"],[V]);return Rr(Oe,d)},Mr={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},Lt=function(e){var t=new Wt.MathNode("mo",[new Wt.TextNode(Mr[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},ba={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]},da=function(e){return e.type==="ordgroup"?e.body.length:1},Hn=function(e,t){function d(){var Ke=4e5,Ye=e.label.slice(1);if($.contains(["widehat","widecheck","widetilde","utilde"],Ye)){var Kt=e,ur=da(Kt.base),xr,Fr,Hr;if(ur>5)Ye==="widehat"||Ye==="widecheck"?(xr=420,Ke=2364,Hr=.42,Fr=Ye+"4"):(xr=312,Ke=2340,Hr=.34,Fr="tilde4");else{var un=[1,1,2,2,3,3][ur];Ye==="widehat"||Ye==="widecheck"?(Ke=[0,1062,2364,2364,2364][un],xr=[0,239,300,360,420][un],Hr=[0,.24,.3,.3,.36,.42][un],Fr=Ye+un):(Ke=[0,600,1033,2339,2340][un],xr=[0,260,286,306,312][un],Hr=[0,.26,.286,.3,.306,.34][un],Fr="tilde"+un)}var bn=new $r(Fr),Nn=new zr([bn],{width:"100%",height:Et(Hr),viewBox:"0 0 "+Ke+" "+xr,preserveAspectRatio:"none"});return{span:T.makeSvgSpan([],[Nn],t),minWidth:0,height:Hr}}else{var Mn=[],oa=ba[Ye],[ya,Ua,Pa]=oa,Oa=Pa/1e3,Ga=ya.length,Ya,Ra;if(Ga===1){var Jo=oa[3];Ya=["hide-tail"],Ra=[Jo]}else if(Ga===2)Ya=["halfarrow-left","halfarrow-right"],Ra=["xMinYMin","xMaxYMin"];else if(Ga===3)Ya=["brace-left","brace-center","brace-right"],Ra=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+Ga+" children.");for(var Io=0;Io<Ga;Io++){var go=new $r(ya[Io]),qo=new zr([go],{width:"400em",height:Et(Oa),viewBox:"0 0 "+Ke+" "+Pa,preserveAspectRatio:Ra[Io]+" slice"}),Ao=T.makeSvgSpan([Ya[Io]],[qo],t);if(Ga===1)return{span:Ao,minWidth:Ua,height:Oa};Ao.style.height=Et(Oa),Mn.push(Ao)}return{span:T.makeSpan(["stretchy"],Mn,t),minWidth:Ua,height:Oa}}}var{span:O,minWidth:V,height:Oe}=d();return O.height=Oe,O.style.height=Et(Oe),V>0&&(O.style.minWidth=Et(V)),O},an=function(e,t,d,O,V){var Oe,Ke=e.height+e.depth+d+O;if(/fbox|color|angl/.test(t)){if(Oe=T.makeSpan(["stretchy",t],[],V),t==="fbox"){var Ye=V.color&&V.getColor();Ye&&(Oe.style.borderColor=Ye)}}else{var Kt=[];/^[bx]cancel$/.test(t)&&Kt.push(new yn({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&Kt.push(new yn({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var ur=new zr(Kt,{width:"100%",height:Et(Ke)});Oe=T.makeSvgSpan([],[ur],V)}return Oe.height=Ke,Oe.style.height=Et(Ke),Oe},dn={encloseSpan:an,mathMLnode:Lt,svgSpan:Hn};function Gr(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 sa(c){var e=Vn(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 Vn(c){return c&&(c.type==="atom"||br.hasOwnProperty(c.type))?c:null}var xa=(c,e)=>{var t,d,O;c&&c.type==="supsub"?(d=Gr(c.base,"accent"),t=d.base,c.base=t,O=Ft(ut(c,e)),c.base=d):(d=Gr(c,"accent"),t=d.base);var V=ut(t,e.havingCrampedStyle()),Oe=d.isShifty&&$.isCharacterBox(t),Ke=0;if(Oe){var Ye=$.getBaseElem(t),Kt=ut(Ye,e.havingCrampedStyle());Ke=Tn(Kt).skew}var ur=d.label==="\\c",xr=ur?V.height+V.depth:Math.min(V.height,e.fontMetrics().xHeight),Fr;if(d.isStretchy)Fr=dn.svgSpan(d,e),Fr=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:V},{type:"elem",elem:Fr,wrapperClasses:["svg-align"],wrapperStyle:Ke>0?{width:"calc(100% - "+Et(2*Ke)+")",marginLeft:Et(2*Ke)}:void 0}]},e);else{var Hr,un;d.label==="\\vec"?(Hr=T.staticSvg("vec",e),un=T.svgData.vec[1]):(Hr=T.makeOrd({mode:d.mode,text:d.label},e,"textord"),Hr=Tn(Hr),Hr.italic=0,un=Hr.width,ur&&(xr+=Hr.depth)),Fr=T.makeSpan(["accent-body"],[Hr]);var bn=d.label==="\\textcircled";bn&&(Fr.classes.push("accent-full"),xr=V.height);var Nn=Ke;bn||(Nn-=un/2),Fr.style.left=Et(Nn),d.label==="\\textcircled"&&(Fr.style.top=".2em"),Fr=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:V},{type:"kern",size:-xr},{type:"elem",elem:Fr}]},e)}var Mn=T.makeSpan(["mord","accent"],[Fr],e);return O?(O.children[0]=Mn,O.height=Math.max(Mn.height,O.height),O.classes[0]="mord",O):Mn},Xn=(c,e)=>{var t=c.isStretchy?dn.mathMLnode(c.label):new Wt.MathNode("mo",[Pe(c.label,c.mode)]),d=new Wt.MathNode("mover",[fr(c.base,e),t]);return d.setAttribute("accent","true"),d},la=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(c=>"\\"+c).join("|"));Ge({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(c,e)=>{var t=gt(e[0]),d=!la.test(c.funcName),O=!d||c.funcName==="\\widehat"||c.funcName==="\\widetilde"||c.funcName==="\\widecheck";return{type:"accent",mode:c.parser.mode,label:c.funcName,isStretchy:d,isShifty:O,base:t}},htmlBuilder:xa,mathmlBuilder:Xn}),Ge({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(c,e)=>{var t=e[0],d=c.parser.mode;return d==="math"&&(c.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+c.funcName+" works only in text mode"),d="text"),{type:"accent",mode:d,label:c.funcName,isStretchy:!1,isShifty:!0,base:t}},htmlBuilder:xa,mathmlBuilder:Xn}),Ge({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(c,e)=>{var{parser:t,funcName:d}=c,O=e[0];return{type:"accentUnder",mode:t.mode,label:d,base:O}},htmlBuilder:(c,e)=>{var t=ut(c.base,e),d=dn.svgSpan(c,e),O=c.label==="\\utilde"?.12:0,V=T.makeVList({positionType:"top",positionData:t.height,children:[{type:"elem",elem:d,wrapperClasses:["svg-align"]},{type:"kern",size:O},{type:"elem",elem:t}]},e);return T.makeSpan(["mord","accentunder"],[V],e)},mathmlBuilder:(c,e)=>{var t=dn.mathMLnode(c.label),d=new Wt.MathNode("munder",[fr(c.base,e),t]);return d.setAttribute("accentunder","true"),d}});var La=c=>{var e=new Wt.MathNode("mpadded",c?[c]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};Ge({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(c,e,t){var{parser:d,funcName:O}=c;return{type:"xArrow",mode:d.mode,label:O,body:e[0],below:t[0]}},htmlBuilder(c,e){var t=e.style,d=e.havingStyle(t.sup()),O=T.wrapFragment(ut(c.body,d,e),e),V=c.label.slice(0,2)==="\\x"?"x":"cd";O.classes.push(V+"-arrow-pad");var Oe;c.below&&(d=e.havingStyle(t.sub()),Oe=T.wrapFragment(ut(c.below,d,e),e),Oe.classes.push(V+"-arrow-pad"));var Ke=dn.svgSpan(c,e),Ye=-e.fontMetrics().axisHeight+.5*Ke.height,Kt=-e.fontMetrics().axisHeight-.5*Ke.height-.111;(O.depth>.25||c.label==="\\xleftequilibrium")&&(Kt-=O.depth);var ur;if(Oe){var xr=-e.fontMetrics().axisHeight+Oe.height+.5*Ke.height+.111;ur=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:O,shift:Kt},{type:"elem",elem:Ke,shift:Ye},{type:"elem",elem:Oe,shift:xr}]},e)}else ur=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:O,shift:Kt},{type:"elem",elem:Ke,shift:Ye}]},e);return ur.children[0].children[0].children[1].classes.push("svg-align"),T.makeSpan(["mrel","x-arrow"],[ur],e)},mathmlBuilder(c,e){var t=dn.mathMLnode(c.label);t.setAttribute("minsize",c.label.charAt(0)==="x"?"1.75em":"3.0em");var d;if(c.body){var O=La(fr(c.body,e));if(c.below){var V=La(fr(c.below,e));d=new Wt.MathNode("munderover",[t,V,O])}else d=new Wt.MathNode("mover",[t,O])}else if(c.below){var Oe=La(fr(c.below,e));d=new Wt.MathNode("munder",[t,Oe])}else d=La(),d=new Wt.MathNode("mover",[t,d]);return d}});var na=T.makeSpan;function kn(c,e){var t=Mt(c.body,e,!0);return na([c.mclass],t,e)}function aa(c,e){var t,d=Jt(c.body,e);return c.mclass==="minner"?t=new Wt.MathNode("mpadded",d):c.mclass==="mord"?c.isCharacterBox?(t=d[0],t.type="mi"):t=new Wt.MathNode("mi",d):(c.isCharacterBox?(t=d[0],t.type="mo"):t=new Wt.MathNode("mo",d),c.mclass==="mbin"?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):c.mclass==="mpunct"?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):c.mclass==="mopen"||c.mclass==="mclose"?(t.attributes.lspace="0em",t.attributes.rspace="0em"):c.mclass==="minner"&&(t.attributes.lspace="0.0556em",t.attributes.width="+0.1111em")),t}Ge({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(c,e){var{parser:t,funcName:d}=c,O=e[0];return{type:"mclass",mode:t.mode,mclass:"m"+d.slice(5),body:ar(O),isCharacterBox:$.isCharacterBox(O)}},htmlBuilder:kn,mathmlBuilder:aa});var Fn=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"};Ge({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(c,e){var{parser:t}=c;return{type:"mclass",mode:t.mode,mclass:Fn(e[0]),body:ar(e[1]),isCharacterBox:$.isCharacterBox(e[1])}}}),Ge({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(c,e){var{parser:t,funcName:d}=c,O=e[1],V=e[0],Oe;d!=="\\stackrel"?Oe=Fn(O):Oe="mrel";var Ke={type:"op",mode:O.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:d!=="\\stackrel",body:ar(O)},Ye={type:"supsub",mode:V.mode,base:Ke,sup:d==="\\underset"?null:V,sub:d==="\\underset"?V:null};return{type:"mclass",mode:t.mode,mclass:Oe,body:[Ye],isCharacterBox:$.isCharacterBox(Ye)}},htmlBuilder:kn,mathmlBuilder:aa}),Ge({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(c,e){var{parser:t}=c;return{type:"pmb",mode:t.mode,mclass:Fn(e[0]),body:ar(e[0])}},htmlBuilder(c,e){var t=Mt(c.body,e,!0),d=T.makeSpan([c.mclass],t,e);return d.style.textShadow="0.02em 0.01em 0.04px",d},mathmlBuilder(c,e){var t=Jt(c.body,e),d=new Wt.MathNode("mstyle",t);return d.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),d}});var Ln={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},_n=()=>({type:"styling",body:[],mode:"math",style:"display"}),Qr=c=>c.type==="textord"&&c.text==="@",mn=(c,e)=>(c.type==="mathord"||c.type==="atom")&&c.text===e;function ca(c,e,t){var d=Ln[c];switch(d){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return t.callFunction(d,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var O=t.callFunction("\\\\cdleft",[e[0]],[]),V={type:"atom",text:d,mode:"math",family:"rel"},Oe=t.callFunction("\\Big",[V],[]),Ke=t.callFunction("\\\\cdright",[e[1]],[]),Ye={type:"ordgroup",mode:"math",body:[O,Oe,Ke]};return t.callFunction("\\\\cdparent",[Ye],[])}case"\\\\cdlongequal":return t.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var Kt={type:"textord",text:"\\Vert",mode:"math"};return t.callFunction("\\Big",[Kt],[])}default:return{type:"textord",text:" ",mode:"math"}}}function En(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 t=c.fetch().text;if(t==="&"||t==="\\\\")c.consume();else if(t==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new q("Expected \\\\ or \\cr or \\end",c.nextToken)}for(var d=[],O=[d],V=0;V<e.length;V++){for(var Oe=e[V],Ke=_n(),Ye=0;Ye<Oe.length;Ye++)if(!Qr(Oe[Ye]))Ke.body.push(Oe[Ye]);else{d.push(Ke),Ye+=1;var Kt=sa(Oe[Ye]).text,ur=new Array(2);if(ur[0]={type:"ordgroup",mode:"math",body:[]},ur[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(Kt)>-1))if("<>AV".indexOf(Kt)>-1)for(var xr=0;xr<2;xr++){for(var Fr=!0,Hr=Ye+1;Hr<Oe.length;Hr++){if(mn(Oe[Hr],Kt)){Fr=!1,Ye=Hr;break}if(Qr(Oe[Hr]))throw new q("Missing a "+Kt+" character to complete a CD arrow.",Oe[Hr]);ur[xr].body.push(Oe[Hr])}if(Fr)throw new q("Missing a "+Kt+" character to complete a CD arrow.",Oe[Ye])}else throw new q('Expected one of "<>AV=|." after @',Oe[Ye]);var un=ca(Kt,ur,c),bn={type:"styling",body:[un],mode:"math",style:"display"};d.push(bn),Ke=_n()}V%2===0?d.push(Ke):d.shift(),d=[],O.push(d)}c.gullet.endGroup(),c.gullet.endGroup();var Nn=new Array(O[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:O,arraystretch:1,addJot:!0,rowGaps:[null],cols:Nn,colSeparationType:"CD",hLinesBeforeRow:new Array(O.length+1).fill([])}}Ge({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(c,e){var{parser:t,funcName:d}=c;return{type:"cdlabel",mode:t.mode,side:d.slice(4),label:e[0]}},htmlBuilder(c,e){var t=e.havingStyle(e.style.sup()),d=T.wrapFragment(ut(c.label,t,e),e);return d.classes.push("cd-label-"+c.side),d.style.bottom=Et(.8-d.depth),d.height=0,d.depth=0,d},mathmlBuilder(c,e){var t=new Wt.MathNode("mrow",[fr(c.label,e)]);return t=new Wt.MathNode("mpadded",[t]),t.setAttribute("width","0"),c.side==="left"&&t.setAttribute("lspace","-1width"),t.setAttribute("voffset","0.7em"),t=new Wt.MathNode("mstyle",[t]),t.setAttribute("displaystyle","false"),t.setAttribute("scriptlevel","1"),t}}),Ge({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(c,e){var{parser:t}=c;return{type:"cdlabelparent",mode:t.mode,fragment:e[0]}},htmlBuilder(c,e){var t=T.wrapFragment(ut(c.fragment,e),e);return t.classes.push("cd-vert-arrow"),t},mathmlBuilder(c,e){return new Wt.MathNode("mrow",[fr(c.fragment,e)])}}),Ge({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(c,e){for(var{parser:t}=c,d=Gr(e[0],"ordgroup"),O=d.body,V="",Oe=0;Oe<O.length;Oe++){var Ke=Gr(O[Oe],"textord");V+=Ke.text}var Ye=parseInt(V),Kt;if(isNaN(Ye))throw new q("\\@char has non-numeric argument "+V);if(Ye<0||Ye>=1114111)throw new q("\\@char with invalid code point "+V);return Ye<=65535?Kt=String.fromCharCode(Ye):(Ye-=65536,Kt=String.fromCharCode((Ye>>10)+55296,(Ye&1023)+56320)),{type:"textord",mode:t.mode,text:Kt}}});var ha=(c,e)=>{var t=Mt(c.body,e.withColor(c.color),!1);return T.makeFragment(t)},Zn=(c,e)=>{var t=Jt(c.body,e.withColor(c.color)),d=new Wt.MathNode("mstyle",t);return d.setAttribute("mathcolor",c.color),d};Ge({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(c,e){var{parser:t}=c,d=Gr(e[0],"color-token").color,O=e[1];return{type:"color",mode:t.mode,color:d,body:ar(O)}},htmlBuilder:ha,mathmlBuilder:Zn}),Ge({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(c,e){var{parser:t,breakOnTokenText:d}=c,O=Gr(e[0],"color-token").color;t.gullet.macros.set("\\current@color",O);var V=t.parseExpression(!0,d);return{type:"color",mode:t.mode,color:O,body:V}},htmlBuilder:ha,mathmlBuilder:Zn}),Ge({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(c,e,t){var{parser:d}=c,O=d.gullet.future().text==="["?d.parseSizeGroup(!0):null,V=!d.settings.displayMode||!d.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:d.mode,newLine:V,size:O&&Gr(O,"size").value}},htmlBuilder(c,e){var t=T.makeSpan(["mspace"],[],e);return c.newLine&&(t.classes.push("newline"),c.size&&(t.style.marginTop=Et(Ht(c.size,e)))),t},mathmlBuilder(c,e){var t=new Wt.MathNode("mspace");return c.newLine&&(t.setAttribute("linebreak","newline"),c.size&&t.setAttribute("height",Et(Ht(c.size,e)))),t}});var Ha={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Ja=c=>{var e=c.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new q("Expected a control sequence",c);return e},Cn=c=>{var e=c.gullet.popToken();return e.text==="="&&(e=c.gullet.popToken(),e.text===" "&&(e=c.gullet.popToken())),e},jn=(c,e,t,d)=>{var O=c.gullet.macros.get(t.text);O==null&&(t.noexpand=!0,O={tokens:[t],numArgs:0,unexpandable:!c.gullet.isExpandable(t.text)}),c.gullet.macros.set(e,O,d)};Ge({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(c){var{parser:e,funcName:t}=c;e.consumeSpaces();var d=e.fetch();if(Ha[d.text])return(t==="\\global"||t==="\\\\globallong")&&(d.text=Ha[d.text]),Gr(e.parseFunction(),"internal");throw new q("Invalid token after macro prefix",d)}}),Ge({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(c){var{parser:e,funcName:t}=c,d=e.gullet.popToken(),O=d.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(O))throw new q("Expected a control sequence",d);for(var V=0,Oe,Ke=[[]];e.gullet.future().text!=="{";)if(d=e.gullet.popToken(),d.text==="#"){if(e.gullet.future().text==="{"){Oe=e.gullet.future(),Ke[V].push("{");break}if(d=e.gullet.popToken(),!/^[1-9]$/.test(d.text))throw new q('Invalid argument number "'+d.text+'"');if(parseInt(d.text)!==V+1)throw new q('Argument number "'+d.text+'" out of order');V++,Ke.push([])}else{if(d.text==="EOF")throw new q("Expected a macro definition");Ke[V].push(d.text)}var{tokens:Ye}=e.gullet.consumeArg();return Oe&&Ye.unshift(Oe),(t==="\\edef"||t==="\\xdef")&&(Ye=e.gullet.expandTokens(Ye),Ye.reverse()),e.gullet.macros.set(O,{tokens:Ye,numArgs:V,delimiters:Ke},t===Ha[t]),{type:"internal",mode:e.mode}}}),Ge({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(c){var{parser:e,funcName:t}=c,d=Ja(e.gullet.popToken());e.gullet.consumeSpaces();var O=Cn(e);return jn(e,d,O,t==="\\\\globallet"),{type:"internal",mode:e.mode}}}),Ge({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(c){var{parser:e,funcName:t}=c,d=Ja(e.gullet.popToken()),O=e.gullet.popToken(),V=e.gullet.popToken();return jn(e,d,V,t==="\\\\globalfuture"),e.gullet.pushToken(V),e.gullet.pushToken(O),{type:"internal",mode:e.mode}}});var fa=function(e,t,d){var O=Br.math[e]&&Br.math[e].replace,V=Me(O||e,t,d);if(!V)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return V},qa=function(e,t,d,O){var V=d.havingBaseStyle(t),Oe=T.makeSpan(O.concat(V.sizingClasses(d)),[e],d),Ke=V.sizeMultiplier/d.sizeMultiplier;return Oe.height*=Ke,Oe.depth*=Ke,Oe.maxFontSize=V.sizeMultiplier,Oe},Ka=function(e,t,d){var O=t.havingBaseStyle(d),V=(1-t.sizeMultiplier/O.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=Et(V),e.height-=V,e.depth+=V},co=function(e,t,d,O,V,Oe){var Ke=T.makeSymbol(e,"Main-Regular",V,O),Ye=qa(Ke,t,O,Oe);return d&&Ka(Ye,O,t),Ye},uo=function(e,t,d,O){return T.makeSymbol(e,"Size"+t+"-Regular",d,O)},ma=function(e,t,d,O,V,Oe){var Ke=uo(e,t,V,O),Ye=qa(T.makeSpan(["delimsizing","size"+t],[Ke],O),k.TEXT,O,Oe);return d&&Ka(Ye,O,k.TEXT),Ye},Eo=function(e,t,d){var O;t==="Size1-Regular"?O="delim-size1":O="delim-size4";var V=T.makeSpan(["delimsizinginner",O],[T.makeSpan([],[T.makeSymbol(e,t,d)])]);return{type:"elem",elem:V}},ja=function(e,t,d){var O=he["Size4-Regular"][e.charCodeAt(0)]?he["Size4-Regular"][e.charCodeAt(0)][4]:he["Size1-Regular"][e.charCodeAt(0)][4],V=new $r("inner",j(e,Math.round(1e3*t))),Oe=new zr([V],{width:Et(O),height:Et(t),style:"width:"+Et(O),viewBox:"0 0 "+1e3*O+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),Ke=T.makeSvgSpan([],[Oe],d);return Ke.height=t,Ke.style.height=Et(t),Ke.style.width=Et(O),{type:"elem",elem:Ke}},Ta=.008,Na={type:"kern",size:-1*Ta},Ba=["|","\\lvert","\\rvert","\\vert"],Wa=["\\|","\\lVert","\\rVert","\\Vert"],va=function(e,t,d,O,V,Oe){var Ke,Ye,Kt,ur,xr="",Fr=0;Ke=Kt=ur=e,Ye=null;var Hr="Size1-Regular";e==="\\uparrow"?Kt=ur="\u23D0":e==="\\Uparrow"?Kt=ur="\u2016":e==="\\downarrow"?Ke=Kt="\u23D0":e==="\\Downarrow"?Ke=Kt="\u2016":e==="\\updownarrow"?(Ke="\\uparrow",Kt="\u23D0",ur="\\downarrow"):e==="\\Updownarrow"?(Ke="\\Uparrow",Kt="\u2016",ur="\\Downarrow"):$.contains(Ba,e)?(Kt="\u2223",xr="vert",Fr=333):$.contains(Wa,e)?(Kt="\u2225",xr="doublevert",Fr=556):e==="["||e==="\\lbrack"?(Ke="\u23A1",Kt="\u23A2",ur="\u23A3",Hr="Size4-Regular",xr="lbrack",Fr=667):e==="]"||e==="\\rbrack"?(Ke="\u23A4",Kt="\u23A5",ur="\u23A6",Hr="Size4-Regular",xr="rbrack",Fr=667):e==="\\lfloor"||e==="\u230A"?(Kt=Ke="\u23A2",ur="\u23A3",Hr="Size4-Regular",xr="lfloor",Fr=667):e==="\\lceil"||e==="\u2308"?(Ke="\u23A1",Kt=ur="\u23A2",Hr="Size4-Regular",xr="lceil",Fr=667):e==="\\rfloor"||e==="\u230B"?(Kt=Ke="\u23A5",ur="\u23A6",Hr="Size4-Regular",xr="rfloor",Fr=667):e==="\\rceil"||e==="\u2309"?(Ke="\u23A4",Kt=ur="\u23A5",Hr="Size4-Regular",xr="rceil",Fr=667):e==="("||e==="\\lparen"?(Ke="\u239B",Kt="\u239C",ur="\u239D",Hr="Size4-Regular",xr="lparen",Fr=875):e===")"||e==="\\rparen"?(Ke="\u239E",Kt="\u239F",ur="\u23A0",Hr="Size4-Regular",xr="rparen",Fr=875):e==="\\{"||e==="\\lbrace"?(Ke="\u23A7",Ye="\u23A8",ur="\u23A9",Kt="\u23AA",Hr="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(Ke="\u23AB",Ye="\u23AC",ur="\u23AD",Kt="\u23AA",Hr="Size4-Regular"):e==="\\lgroup"||e==="\u27EE"?(Ke="\u23A7",ur="\u23A9",Kt="\u23AA",Hr="Size4-Regular"):e==="\\rgroup"||e==="\u27EF"?(Ke="\u23AB",ur="\u23AD",Kt="\u23AA",Hr="Size4-Regular"):e==="\\lmoustache"||e==="\u23B0"?(Ke="\u23A7",ur="\u23AD",Kt="\u23AA",Hr="Size4-Regular"):(e==="\\rmoustache"||e==="\u23B1")&&(Ke="\u23AB",ur="\u23A9",Kt="\u23AA",Hr="Size4-Regular");var un=fa(Ke,Hr,V),bn=un.height+un.depth,Nn=fa(Kt,Hr,V),Mn=Nn.height+Nn.depth,oa=fa(ur,Hr,V),ya=oa.height+oa.depth,Ua=0,Pa=1;if(Ye!==null){var Oa=fa(Ye,Hr,V);Ua=Oa.height+Oa.depth,Pa=2}var Ga=bn+ya+Ua,Ya=Math.max(0,Math.ceil((t-Ga)/(Pa*Mn))),Ra=Ga+Ya*Pa*Mn,Jo=O.fontMetrics().axisHeight;d&&(Jo*=O.sizeMultiplier);var Io=Ra/2-Jo,go=[];if(xr.length>0){var qo=Ra-bn-ya,Ao=Math.round(Ra*1e3),Ho=be(xr,Math.round(qo*1e3)),ei=new $r(xr,Ho),wi=(Fr/1e3).toFixed(3)+"em",fi=(Ao/1e3).toFixed(3)+"em",es=new zr([ei],{width:wi,height:fi,viewBox:"0 0 "+Fr+" "+Ao}),Do=T.makeSvgSpan([],[es],O);Do.height=Ao/1e3,Do.style.width=wi,Do.style.height=fi,go.push({type:"elem",elem:Do})}else{if(go.push(Eo(ur,Hr,V)),go.push(Na),Ye===null){var Go=Ra-bn-ya+2*Ta;go.push(ja(Kt,Go,O))}else{var Fa=(Ra-bn-ya-Ua)/2+2*Ta;go.push(ja(Kt,Fa,O)),go.push(Na),go.push(Eo(Ye,Hr,V)),go.push(Na),go.push(ja(Kt,Fa,O))}go.push(Na),go.push(Eo(Ke,Hr,V))}var oo=O.havingBaseStyle(k.TEXT),Co=T.makeVList({positionType:"bottom",positionData:Io,children:go},oo);return qa(T.makeSpan(["delimsizing","mult"],[Co],oo),k.TEXT,O,Oe)},Xa=80,Da=.08,_a=function(e,t,d,O,V){var Oe=De(e,O,d),Ke=new $r(e,Oe),Ye=new zr([Ke],{width:"400em",height:Et(t),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});return T.makeSvgSpan(["hide-tail"],[Ye],V)},no=function(e,t){var d=t.havingBaseSizing(),O=ko("\\surd",e*d.sizeMultiplier,vo,d),V=d.sizeMultiplier,Oe=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),Ke,Ye=0,Kt=0,ur=0,xr;return O.type==="small"?(ur=1e3+1e3*Oe+Xa,e<1?V=1:e<1.4&&(V=.7),Ye=(1+Oe+Da)/V,Kt=(1+Oe)/V,Ke=_a("sqrtMain",Ye,ur,Oe,t),Ke.style.minWidth="0.853em",xr=.833/V):O.type==="large"?(ur=(1e3+Xa)*Ma[O.size],Kt=(Ma[O.size]+Oe)/V,Ye=(Ma[O.size]+Oe+Da)/V,Ke=_a("sqrtSize"+O.size,Ye,ur,Oe,t),Ke.style.minWidth="1.02em",xr=1/V):(Ye=e+Oe+Da,Kt=e+Oe,ur=Math.floor(1e3*e+Oe)+Xa,Ke=_a("sqrtTall",Ye,ur,Oe,t),Ke.style.minWidth="0.742em",xr=1.056),Ke.height=Kt,Ke.style.height=Et(Ye),{span:Ke,advanceWidth:xr,ruleWidth:(t.fontMetrics().sqrtRuleThickness+Oe)*V}},lo=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],$o=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Po=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Ma=[0,1.2,1.8,2.4,3],Wo=function(e,t,d,O,V){if(e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle"),$.contains(lo,e)||$.contains(Po,e))return ma(e,t,!1,d,O,V);if($.contains($o,e))return va(e,Ma[t],!1,d,O,V);throw new q("Illegal delimiter: '"+e+"'")},ho=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],jo=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"stack"}],vo=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],vi=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.")},ko=function(e,t,d,O){for(var V=Math.min(2,3-O.style.size),Oe=V;Oe<d.length&&d[Oe].type!=="stack";Oe++){var Ke=fa(e,vi(d[Oe]),"math"),Ye=Ke.height+Ke.depth;if(d[Oe].type==="small"){var Kt=O.havingBaseStyle(d[Oe].style);Ye*=Kt.sizeMultiplier}if(Ye>t)return d[Oe]}return d[d.length-1]},Qo=function(e,t,d,O,V,Oe){e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle");var Ke;$.contains(Po,e)?Ke=ho:$.contains(lo,e)?Ke=vo:Ke=jo;var Ye=ko(e,t,Ke,O);return Ye.type==="small"?co(e,Ye.style,d,O,V,Oe):Ye.type==="large"?ma(e,Ye.size,d,O,V,Oe):va(e,t,d,O,V,Oe)},Ei=function(e,t,d,O,V,Oe){var Ke=O.fontMetrics().axisHeight*O.sizeMultiplier,Ye=901,Kt=5/O.fontMetrics().ptPerEm,ur=Math.max(t-Ke,d+Ke),xr=Math.max(ur/500*Ye,2*ur-Kt);return Qo(e,xr,!0,O,V,Oe)},Lo={sqrtImage:no,sizedDelim:Wo,sizeToMaxHeight:Ma,customSizedDelim:Qo,leftRightDelim:Ei},Uo={"\\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}},ki=["(","\\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 bi(c,e){var t=Vn(c);if(t&&$.contains(ki,t.text))return t;throw t?new q("Invalid delimiter '"+t.text+"' after '"+e.funcName+"'",c):new q("Invalid delimiter type '"+c.type+"'",c)}Ge({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(c,e)=>{var t=bi(e[0],c);return{type:"delimsizing",mode:c.parser.mode,size:Uo[c.funcName].size,mclass:Uo[c.funcName].mclass,delim:t.text}},htmlBuilder:(c,e)=>c.delim==="."?T.makeSpan([c.mclass]):Lo.sizedDelim(c.delim,c.size,e,c.mode,[c.mclass]),mathmlBuilder:c=>{var e=[];c.delim!=="."&&e.push(Pe(c.delim,c.mode));var t=new Wt.MathNode("mo",e);c.mclass==="mopen"||c.mclass==="mclose"?t.setAttribute("fence","true"):t.setAttribute("fence","false"),t.setAttribute("stretchy","true");var d=Et(Lo.sizeToMaxHeight[c.size]);return t.setAttribute("minsize",d),t.setAttribute("maxsize",d),t}});function yi(c){if(!c.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ge({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(c,e)=>{var t=c.parser.gullet.macros.get("\\current@color");if(t&&typeof t!="string")throw new q("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:c.parser.mode,delim:bi(e[0],c).text,color:t}}}),Ge({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(c,e)=>{var t=bi(e[0],c),d=c.parser;++d.leftrightDepth;var O=d.parseExpression(!1);--d.leftrightDepth,d.expect("\\right",!1);var V=Gr(d.parseFunction(),"leftright-right");return{type:"leftright",mode:d.mode,body:O,left:t.text,right:V.delim,rightColor:V.color}},htmlBuilder:(c,e)=>{yi(c);for(var t=Mt(c.body,e,!0,["mopen","mclose"]),d=0,O=0,V=!1,Oe=0;Oe<t.length;Oe++)t[Oe].isMiddle?V=!0:(d=Math.max(t[Oe].height,d),O=Math.max(t[Oe].depth,O));d*=e.sizeMultiplier,O*=e.sizeMultiplier;var Ke;if(c.left==="."?Ke=wt(e,["mopen"]):Ke=Lo.leftRightDelim(c.left,d,O,e,c.mode,["mopen"]),t.unshift(Ke),V)for(var Ye=1;Ye<t.length;Ye++){var Kt=t[Ye],ur=Kt.isMiddle;ur&&(t[Ye]=Lo.leftRightDelim(ur.delim,d,O,ur.options,c.mode,[]))}var xr;if(c.right===".")xr=wt(e,["mclose"]);else{var Fr=c.rightColor?e.withColor(c.rightColor):e;xr=Lo.leftRightDelim(c.right,d,O,Fr,c.mode,["mclose"])}return t.push(xr),T.makeSpan(["minner"],t,e)},mathmlBuilder:(c,e)=>{yi(c);var t=Jt(c.body,e);if(c.left!=="."){var d=new Wt.MathNode("mo",[Pe(c.left,c.mode)]);d.setAttribute("fence","true"),t.unshift(d)}if(c.right!=="."){var O=new Wt.MathNode("mo",[Pe(c.right,c.mode)]);O.setAttribute("fence","true"),c.rightColor&&O.setAttribute("mathcolor",c.rightColor),t.push(O)}return bt(t)}}),Ge({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(c,e)=>{var t=bi(e[0],c);if(!c.parser.leftrightDepth)throw new q("\\middle without preceding \\left",t);return{type:"middle",mode:c.parser.mode,delim:t.text}},htmlBuilder:(c,e)=>{var t;if(c.delim===".")t=wt(e,[]);else{t=Lo.sizedDelim(c.delim,1,e,c.mode,[]);var d={delim:c.delim,options:e};t.isMiddle=d}return t},mathmlBuilder:(c,e)=>{var t=c.delim==="\\vert"||c.delim==="|"?Pe("|","text"):Pe(c.delim,c.mode),d=new Wt.MathNode("mo",[t]);return d.setAttribute("fence","true"),d.setAttribute("lspace","0.05em"),d.setAttribute("rspace","0.05em"),d}});var xi=(c,e)=>{var t=T.wrapFragment(ut(c.body,e),e),d=c.label.slice(1),O=e.sizeMultiplier,V,Oe=0,Ke=$.isCharacterBox(c.body);if(d==="sout")V=T.makeSpan(["stretchy","sout"]),V.height=e.fontMetrics().defaultRuleThickness/O,Oe=-.5*e.fontMetrics().xHeight;else if(d==="phase"){var Ye=Ht({number:.6,unit:"pt"},e),Kt=Ht({number:.35,unit:"ex"},e),ur=e.havingBaseSizing();O=O/ur.sizeMultiplier;var xr=t.height+t.depth+Ye+Kt;t.style.paddingLeft=Et(xr/2+Ye);var Fr=Math.floor(1e3*xr*O),Hr=Ct(Fr),un=new zr([new $r("phase",Hr)],{width:"400em",height:Et(Fr/1e3),viewBox:"0 0 400000 "+Fr,preserveAspectRatio:"xMinYMin slice"});V=T.makeSvgSpan(["hide-tail"],[un],e),V.style.height=Et(xr),Oe=t.depth+Ye+Kt}else{/cancel/.test(d)?Ke||t.classes.push("cancel-pad"):d==="angl"?t.classes.push("anglpad"):t.classes.push("boxpad");var bn=0,Nn=0,Mn=0;/box/.test(d)?(Mn=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),bn=e.fontMetrics().fboxsep+(d==="colorbox"?0:Mn),Nn=bn):d==="angl"?(Mn=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),bn=4*Mn,Nn=Math.max(0,.25-t.depth)):(bn=Ke?.2:0,Nn=bn),V=dn.encloseSpan(t,d,bn,Nn,e),/fbox|boxed|fcolorbox/.test(d)?(V.style.borderStyle="solid",V.style.borderWidth=Et(Mn)):d==="angl"&&Mn!==.049&&(V.style.borderTopWidth=Et(Mn),V.style.borderRightWidth=Et(Mn)),Oe=t.depth+Nn,c.backgroundColor&&(V.style.backgroundColor=c.backgroundColor,c.borderColor&&(V.style.borderColor=c.borderColor))}var oa;if(c.backgroundColor)oa=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:V,shift:Oe},{type:"elem",elem:t,shift:0}]},e);else{var ya=/cancel|phase/.test(d)?["svg-align"]:[];oa=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:t,shift:0},{type:"elem",elem:V,shift:Oe,wrapperClasses:ya}]},e)}return/cancel/.test(d)&&(oa.height=t.height,oa.depth=t.depth),/cancel/.test(d)&&!Ke?T.makeSpan(["mord","cancel-lap"],[oa],e):T.makeSpan(["mord"],[oa],e)},Ii=(c,e)=>{var t=0,d=new Wt.MathNode(c.label.indexOf("colorbox")>-1?"mpadded":"menclose",[fr(c.body,e)]);switch(c.label){case"\\cancel":d.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":d.setAttribute("notation","downdiagonalstrike");break;case"\\phase":d.setAttribute("notation","phasorangle");break;case"\\sout":d.setAttribute("notation","horizontalstrike");break;case"\\fbox":d.setAttribute("notation","box");break;case"\\angl":d.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(t=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,d.setAttribute("width","+"+2*t+"pt"),d.setAttribute("height","+"+2*t+"pt"),d.setAttribute("lspace",t+"pt"),d.setAttribute("voffset",t+"pt"),c.label==="\\fcolorbox"){var O=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);d.setAttribute("style","border: "+O+"em solid "+String(c.borderColor))}break;case"\\xcancel":d.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return c.backgroundColor&&d.setAttribute("mathbackground",c.backgroundColor),d};Ge({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(c,e,t){var{parser:d,funcName:O}=c,V=Gr(e[0],"color-token").color,Oe=e[1];return{type:"enclose",mode:d.mode,label:O,backgroundColor:V,body:Oe}},htmlBuilder:xi,mathmlBuilder:Ii}),Ge({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(c,e,t){var{parser:d,funcName:O}=c,V=Gr(e[0],"color-token").color,Oe=Gr(e[1],"color-token").color,Ke=e[2];return{type:"enclose",mode:d.mode,label:O,backgroundColor:Oe,borderColor:V,body:Ke}},htmlBuilder:xi,mathmlBuilder:Ii}),Ge({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(c,e){var{parser:t}=c;return{type:"enclose",mode:t.mode,label:"\\fbox",body:e[0]}}}),Ge({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(c,e){var{parser:t,funcName:d}=c,O=e[0];return{type:"enclose",mode:t.mode,label:d,body:O}},htmlBuilder:xi,mathmlBuilder:Ii}),Ge({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(c,e){var{parser:t}=c;return{type:"enclose",mode:t.mode,label:"\\angl",body:e[0]}}});var $a={};function Aa(c){for(var{type:e,names:t,props:d,handler:O,htmlBuilder:V,mathmlBuilder:Oe}=c,Ke={type:e,numArgs:d.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:O},Ye=0;Ye<t.length;++Ye)$a[t[Ye]]=Ke;V&&(ve[e]=V),Oe&&(kt[e]=Oe)}var fo={};function Ve(c,e){fo[c]=e}function No(c){var e=[];c.consumeSpaces();var t=c.fetch().text;for(t==="\\relax"&&(c.consume(),c.consumeSpaces(),t=c.fetch().text);t==="\\hline"||t==="\\hdashline";)c.consume(),e.push(t==="\\hdashline"),c.consumeSpaces(),t=c.fetch().text;return e}var Mo=c=>{var e=c.parser.settings;if(!e.displayMode)throw new q("{"+c.envName+"} can be used only in display mode.")};function yo(c){if(c.indexOf("ed")===-1)return c.indexOf("*")===-1}function ao(c,e,t){var{hskipBeforeAndAfter:d,addJot:O,cols:V,arraystretch:Oe,colSeparationType:Ke,autoTag:Ye,singleRow:Kt,emptySingleRow:ur,maxNumCols:xr,leqno:Fr}=e;if(c.gullet.beginGroup(),Kt||c.gullet.macros.set("\\cr","\\\\\\relax"),!Oe){var Hr=c.gullet.expandMacroAsText("\\arraystretch");if(Hr==null)Oe=1;else if(Oe=parseFloat(Hr),!Oe||Oe<0)throw new q("Invalid \\arraystretch: "+Hr)}c.gullet.beginGroup();var un=[],bn=[un],Nn=[],Mn=[],oa=Ye!=null?[]:void 0;function ya(){Ye&&c.gullet.macros.set("\\@eqnsw","1",!0)}function Ua(){oa&&(c.gullet.macros.get("\\df@tag")?(oa.push(c.subparse([new Re("\\df@tag")])),c.gullet.macros.set("\\df@tag",void 0,!0)):oa.push(!!Ye&&c.gullet.macros.get("\\@eqnsw")==="1"))}for(ya(),Mn.push(No(c));;){var Pa=c.parseExpression(!1,Kt?"\\end":"\\\\");c.gullet.endGroup(),c.gullet.beginGroup(),Pa={type:"ordgroup",mode:c.mode,body:Pa},t&&(Pa={type:"styling",mode:c.mode,style:t,body:[Pa]}),un.push(Pa);var Oa=c.fetch().text;if(Oa==="&"){if(xr&&un.length===xr){if(Kt||Ke)throw new q("Too many tab characters: &",c.nextToken);c.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}c.consume()}else if(Oa==="\\end"){Ua(),un.length===1&&Pa.type==="styling"&&Pa.body[0].body.length===0&&(bn.length>1||!ur)&&bn.pop(),Mn.length<bn.length+1&&Mn.push([]);break}else if(Oa==="\\\\"){c.consume();var Ga=void 0;c.gullet.future().text!==" "&&(Ga=c.parseSizeGroup(!0)),Nn.push(Ga?Ga.value:null),Ua(),Mn.push(No(c)),un=[],bn.push(un),ya()}else throw new q("Expected & or \\\\ or \\cr or \\end",c.nextToken)}return c.gullet.endGroup(),c.gullet.endGroup(),{type:"array",mode:c.mode,addJot:O,arraystretch:Oe,body:bn,cols:V,rowGaps:Nn,hskipBeforeAndAfter:d,hLinesBeforeRow:Mn,colSeparationType:Ke,tags:oa,leqno:Fr}}function Zo(c){return c.slice(0,1)==="d"?"display":"text"}var zo=function(e,t){var d,O,V=e.body.length,Oe=e.hLinesBeforeRow,Ke=0,Ye=new Array(V),Kt=[],ur=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),xr=1/t.fontMetrics().ptPerEm,Fr=5*xr;if(e.colSeparationType&&e.colSeparationType==="small"){var Hr=t.havingStyle(k.SCRIPT).sizeMultiplier;Fr=.2778*(Hr/t.sizeMultiplier)}var un=e.colSeparationType==="CD"?Ht({number:3,unit:"ex"},t):12*xr,bn=3*xr,Nn=e.arraystretch*un,Mn=.7*Nn,oa=.3*Nn,ya=0;function Ua(Ds){for(var Rs=0;Rs<Ds.length;++Rs)Rs>0&&(ya+=.25),Kt.push({pos:ya,isDashed:Ds[Rs]})}for(Ua(Oe[0]),d=0;d<e.body.length;++d){var Pa=e.body[d],Oa=Mn,Ga=oa;Ke<Pa.length&&(Ke=Pa.length);var Ya=new Array(Pa.length);for(O=0;O<Pa.length;++O){var Ra=ut(Pa[O],t);Ga<Ra.depth&&(Ga=Ra.depth),Oa<Ra.height&&(Oa=Ra.height),Ya[O]=Ra}var Jo=e.rowGaps[d],Io=0;Jo&&(Io=Ht(Jo,t),Io>0&&(Io+=oa,Ga<Io&&(Ga=Io),Io=0)),e.addJot&&(Ga+=bn),Ya.height=Oa,Ya.depth=Ga,ya+=Oa,Ya.pos=ya,ya+=Ga+Io,Ye[d]=Ya,Ua(Oe[d+1])}var go=ya/2+t.fontMetrics().axisHeight,qo=e.cols||[],Ao=[],Ho,ei,wi=[];if(e.tags&&e.tags.some(Ds=>Ds))for(d=0;d<V;++d){var fi=Ye[d],es=fi.pos-go,Do=e.tags[d],Go=void 0;Do===!0?Go=T.makeSpan(["eqn-num"],[],t):Do===!1?Go=T.makeSpan([],[],t):Go=T.makeSpan([],Mt(Do,t,!0),t),Go.depth=fi.depth,Go.height=fi.height,wi.push({type:"elem",elem:Go,shift:es})}for(O=0,ei=0;O<Ke||ei<qo.length;++O,++ei){for(var Fa=qo[ei]||{},oo=!0;Fa.type==="separator";){if(oo||(Ho=T.makeSpan(["arraycolsep"],[]),Ho.style.width=Et(t.fontMetrics().doubleRuleSep),Ao.push(Ho)),Fa.separator==="|"||Fa.separator===":"){var Co=Fa.separator==="|"?"solid":"dashed",So=T.makeSpan(["vertical-separator"],[],t);So.style.height=Et(ya),So.style.borderRightWidth=Et(ur),So.style.borderRightStyle=Co,So.style.margin="0 "+Et(-ur/2);var Ki=ya-go;Ki&&(So.style.verticalAlign=Et(-Ki)),Ao.push(So)}else throw new q("Invalid separator type: "+Fa.separator);ei++,Fa=qo[ei]||{},oo=!1}if(!(O>=Ke)){var Xi=void 0;(O>0||e.hskipBeforeAndAfter)&&(Xi=$.deflt(Fa.pregap,Fr),Xi!==0&&(Ho=T.makeSpan(["arraycolsep"],[]),Ho.style.width=Et(Xi),Ao.push(Ho)));var Ti=[];for(d=0;d<V;++d){var gs=Ye[d],zs=gs[O];if(zs){var _s=gs.pos-go;zs.depth=gs.depth,zs.height=gs.height,Ti.push({type:"elem",elem:zs,shift:_s})}}Ti=T.makeVList({positionType:"individualShift",children:Ti},t),Ti=T.makeSpan(["col-align-"+(Fa.align||"c")],[Ti]),Ao.push(Ti),(O<Ke-1||e.hskipBeforeAndAfter)&&(Xi=$.deflt(Fa.postgap,Fr),Xi!==0&&(Ho=T.makeSpan(["arraycolsep"],[]),Ho.style.width=Et(Xi),Ao.push(Ho)))}}if(Ye=T.makeSpan(["mtable"],Ao),Kt.length>0){for(var Ys=T.makeLineSpan("hline",t,ur),Js=T.makeLineSpan("hdashline",t,ur),ks=[{type:"elem",elem:Ye,shift:0}];Kt.length>0;){var Us=Kt.pop(),As=Us.pos-go;Us.isDashed?ks.push({type:"elem",elem:Js,shift:As}):ks.push({type:"elem",elem:Ys,shift:As})}Ye=T.makeVList({positionType:"individualShift",children:ks},t)}if(wi.length===0)return T.makeSpan(["mord"],[Ye],t);var Hs=T.makeVList({positionType:"individualShift",children:wi},t);return Hs=T.makeSpan(["tag"],[Hs],t),T.makeFragment([Ye,Hs])},xo={c:"center ",l:"left ",r:"right "},Vo=function(e,t){for(var d=[],O=new Wt.MathNode("mtd",[],["mtr-glue"]),V=new Wt.MathNode("mtd",[],["mml-eqn-num"]),Oe=0;Oe<e.body.length;Oe++){for(var Ke=e.body[Oe],Ye=[],Kt=0;Kt<Ke.length;Kt++)Ye.push(new Wt.MathNode("mtd",[fr(Ke[Kt],t)]));e.tags&&e.tags[Oe]&&(Ye.unshift(O),Ye.push(O),e.leqno?Ye.unshift(V):Ye.push(V)),d.push(new Wt.MathNode("mtr",Ye))}var ur=new Wt.MathNode("mtable",d),xr=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);ur.setAttribute("rowspacing",Et(xr));var Fr="",Hr="";if(e.cols&&e.cols.length>0){var un=e.cols,bn="",Nn=!1,Mn=0,oa=un.length;un[0].type==="separator"&&(Fr+="top ",Mn=1),un[un.length-1].type==="separator"&&(Fr+="bottom ",oa-=1);for(var ya=Mn;ya<oa;ya++)un[ya].type==="align"?(Hr+=xo[un[ya].align],Nn&&(bn+="none "),Nn=!0):un[ya].type==="separator"&&Nn&&(bn+=un[ya].separator==="|"?"solid ":"dashed ",Nn=!1);ur.setAttribute("columnalign",Hr.trim()),/[sd]/.test(bn)&&ur.setAttribute("columnlines",bn.trim())}if(e.colSeparationType==="align"){for(var Ua=e.cols||[],Pa="",Oa=1;Oa<Ua.length;Oa++)Pa+=Oa%2?"0em ":"1em ";ur.setAttribute("columnspacing",Pa.trim())}else e.colSeparationType==="alignat"||e.colSeparationType==="gather"?ur.setAttribute("columnspacing","0em"):e.colSeparationType==="small"?ur.setAttribute("columnspacing","0.2778em"):e.colSeparationType==="CD"?ur.setAttribute("columnspacing","0.5em"):ur.setAttribute("columnspacing","1em");var Ga="",Ya=e.hLinesBeforeRow;Fr+=Ya[0].length>0?"left ":"",Fr+=Ya[Ya.length-1].length>0?"right ":"";for(var Ra=1;Ra<Ya.length-1;Ra++)Ga+=Ya[Ra].length===0?"none ":Ya[Ra][0]?"dashed ":"solid ";return/[sd]/.test(Ga)&&ur.setAttribute("rowlines",Ga.trim()),Fr!==""&&(ur=new Wt.MathNode("menclose",[ur]),ur.setAttribute("notation",Fr.trim())),e.arraystretch&&e.arraystretch<1&&(ur=new Wt.MathNode("mstyle",[ur]),ur.setAttribute("scriptlevel","1")),ur},$i=function(e,t){e.envName.indexOf("ed")===-1&&Mo(e);var d=[],O=e.envName.indexOf("at")>-1?"alignat":"align",V=e.envName==="split",Oe=ao(e.parser,{cols:d,addJot:!0,autoTag:V?void 0:yo(e.envName),emptySingleRow:!0,colSeparationType:O,maxNumCols:V?2:void 0,leqno:e.parser.settings.leqno},"display"),Ke,Ye=0,Kt={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){for(var ur="",xr=0;xr<t[0].body.length;xr++){var Fr=Gr(t[0].body[xr],"textord");ur+=Fr.text}Ke=Number(ur),Ye=Ke*2}var Hr=!Ye;Oe.body.forEach(function(Mn){for(var oa=1;oa<Mn.length;oa+=2){var ya=Gr(Mn[oa],"styling"),Ua=Gr(ya.body[0],"ordgroup");Ua.body.unshift(Kt)}if(Hr)Ye<Mn.length&&(Ye=Mn.length);else{var Pa=Mn.length/2;if(Ke<Pa)throw new q("Too many math in a row: "+("expected "+Ke+", but got "+Pa),Mn[0])}});for(var un=0;un<Ye;++un){var bn="r",Nn=0;un%2===1?bn="l":un>0&&Hr&&(Nn=1),d[un]={type:"align",align:bn,pregap:Nn,postgap:0}}return Oe.colSeparationType=Hr?"align":"alignat",Oe};Aa({type:"array",names:["array","darray"],props:{numArgs:1},handler(c,e){var t=Vn(e[0]),d=t?[e[0]]:Gr(e[0],"ordgroup").body,O=d.map(function(Oe){var Ke=sa(Oe),Ye=Ke.text;if("lcr".indexOf(Ye)!==-1)return{type:"align",align:Ye};if(Ye==="|")return{type:"separator",separator:"|"};if(Ye===":")return{type:"separator",separator:":"};throw new q("Unknown column alignment: "+Ye,Oe)}),V={cols:O,hskipBeforeAndAfter:!0,maxNumCols:O.length};return ao(c.parser,V,Zo(c.envName))},htmlBuilder:zo,mathmlBuilder:Vo}),Aa({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("*","")],t="c",d={hskipBeforeAndAfter:!1,cols:[{type:"align",align:t}]};if(c.envName.charAt(c.envName.length-1)==="*"){var O=c.parser;if(O.consumeSpaces(),O.fetch().text==="["){if(O.consume(),O.consumeSpaces(),t=O.fetch().text,"lcr".indexOf(t)===-1)throw new q("Expected l or c or r",O.nextToken);O.consume(),O.consumeSpaces(),O.expect("]"),O.consume(),d.cols=[{type:"align",align:t}]}}var V=ao(c.parser,d,Zo(c.envName)),Oe=Math.max(0,...V.body.map(Ke=>Ke.length));return V.cols=new Array(Oe).fill({type:"align",align:t}),e?{type:"leftright",mode:c.mode,body:[V],left:e[0],right:e[1],rightColor:void 0}:V},htmlBuilder:zo,mathmlBuilder:Vo}),Aa({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(c){var e={arraystretch:.5},t=ao(c.parser,e,"script");return t.colSeparationType="small",t},htmlBuilder:zo,mathmlBuilder:Vo}),Aa({type:"array",names:["subarray"],props:{numArgs:1},handler(c,e){var t=Vn(e[0]),d=t?[e[0]]:Gr(e[0],"ordgroup").body,O=d.map(function(Oe){var Ke=sa(Oe),Ye=Ke.text;if("lc".indexOf(Ye)!==-1)return{type:"align",align:Ye};throw new q("Unknown column alignment: "+Ye,Oe)});if(O.length>1)throw new q("{subarray} can contain only one column");var V={cols:O,hskipBeforeAndAfter:!1,arraystretch:.5};if(V=ao(c.parser,V,"script"),V.body.length>0&&V.body[0].length>1)throw new q("{subarray} can contain only one column");return V},htmlBuilder:zo,mathmlBuilder:Vo}),Aa({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}]},t=ao(c.parser,e,Zo(c.envName));return{type:"leftright",mode:c.mode,body:[t],left:c.envName.indexOf("r")>-1?".":"\\{",right:c.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:zo,mathmlBuilder:Vo}),Aa({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:$i,htmlBuilder:zo,mathmlBuilder:Vo}),Aa({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(c){$.contains(["gather","gather*"],c.envName)&&Mo(c);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:yo(c.envName),emptySingleRow:!0,leqno:c.parser.settings.leqno};return ao(c.parser,e,"display")},htmlBuilder:zo,mathmlBuilder:Vo}),Aa({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:$i,htmlBuilder:zo,mathmlBuilder:Vo}),Aa({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(c){Mo(c);var e={autoTag:yo(c.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:c.parser.settings.leqno};return ao(c.parser,e,"display")},htmlBuilder:zo,mathmlBuilder:Vo}),Aa({type:"array",names:["CD"],props:{numArgs:0},handler(c){return Mo(c),En(c.parser)},htmlBuilder:zo,mathmlBuilder:Vo}),Ve("\\nonumber","\\gdef\\@eqnsw{0}"),Ve("\\notag","\\nonumber"),Ge({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(c,e){throw new q(c.funcName+" valid only within array environment")}});var Hi=$a;Ge({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(c,e){var{parser:t,funcName:d}=c,O=e[0];if(O.type!=="ordgroup")throw new q("Invalid environment name",O);for(var V="",Oe=0;Oe<O.body.length;++Oe)V+=Gr(O.body[Oe],"textord").text;if(d==="\\begin"){if(!Hi.hasOwnProperty(V))throw new q("No such environment: "+V,O);var Ke=Hi[V],{args:Ye,optArgs:Kt}=t.parseArguments("\\begin{"+V+"}",Ke),ur={mode:t.mode,envName:V,parser:t},xr=Ke.handler(ur,Ye,Kt);t.expect("\\end",!1);var Fr=t.nextToken,Hr=Gr(t.parseFunction(),"environment");if(Hr.name!==V)throw new q("Mismatch: \\begin{"+V+"} matched by \\end{"+Hr.name+"}",Fr);return xr}return{type:"environment",mode:t.mode,name:V,nameGroup:O}}});var xs=(c,e)=>{var t=c.font,d=e.withFont(t);return ut(c.body,d)},ii=(c,e)=>{var t=c.font,d=e.withFont(t);return fr(c.body,d)},as={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ge({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(c,e)=>{var{parser:t,funcName:d}=c,O=gt(e[0]),V=d;return V in as&&(V=as[V]),{type:"font",mode:t.mode,font:V.slice(1),body:O}},htmlBuilder:xs,mathmlBuilder:ii}),Ge({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(c,e)=>{var{parser:t}=c,d=e[0],O=$.isCharacterBox(d);return{type:"mclass",mode:t.mode,mclass:Fn(d),body:[{type:"font",mode:t.mode,font:"boldsymbol",body:d}],isCharacterBox:O}}}),Ge({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(c,e)=>{var{parser:t,funcName:d,breakOnTokenText:O}=c,{mode:V}=t,Oe=t.parseExpression(!0,O),Ke="math"+d.slice(1);return{type:"font",mode:V,font:Ke,body:{type:"ordgroup",mode:t.mode,body:Oe}}},htmlBuilder:xs,mathmlBuilder:ii});var cs=(c,e)=>{var t=e;return c==="display"?t=t.id>=k.SCRIPT.id?t.text():k.DISPLAY:c==="text"&&t.size===k.DISPLAY.size?t=k.TEXT:c==="script"?t=k.SCRIPT:c==="scriptscript"&&(t=k.SCRIPTSCRIPT),t},si=(c,e)=>{var t=cs(c.size,e.style),d=t.fracNum(),O=t.fracDen(),V;V=e.havingStyle(d);var Oe=ut(c.numer,V,e);if(c.continued){var Ke=8.5/e.fontMetrics().ptPerEm,Ye=3.5/e.fontMetrics().ptPerEm;Oe.height=Oe.height<Ke?Ke:Oe.height,Oe.depth=Oe.depth<Ye?Ye:Oe.depth}V=e.havingStyle(O);var Kt=ut(c.denom,V,e),ur,xr,Fr;c.hasBarLine?(c.barSize?(xr=Ht(c.barSize,e),ur=T.makeLineSpan("frac-line",e,xr)):ur=T.makeLineSpan("frac-line",e),xr=ur.height,Fr=ur.height):(ur=null,xr=0,Fr=e.fontMetrics().defaultRuleThickness);var Hr,un,bn;t.size===k.DISPLAY.size||c.size==="display"?(Hr=e.fontMetrics().num1,xr>0?un=3*Fr:un=7*Fr,bn=e.fontMetrics().denom1):(xr>0?(Hr=e.fontMetrics().num2,un=Fr):(Hr=e.fontMetrics().num3,un=3*Fr),bn=e.fontMetrics().denom2);var Nn;if(ur){var oa=e.fontMetrics().axisHeight;Hr-Oe.depth-(oa+.5*xr)<un&&(Hr+=un-(Hr-Oe.depth-(oa+.5*xr))),oa-.5*xr-(Kt.height-bn)<un&&(bn+=un-(oa-.5*xr-(Kt.height-bn)));var ya=-(oa-.5*xr);Nn=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Kt,shift:bn},{type:"elem",elem:ur,shift:ya},{type:"elem",elem:Oe,shift:-Hr}]},e)}else{var Mn=Hr-Oe.depth-(Kt.height-bn);Mn<un&&(Hr+=.5*(un-Mn),bn+=.5*(un-Mn)),Nn=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Kt,shift:bn},{type:"elem",elem:Oe,shift:-Hr}]},e)}V=e.havingStyle(t),Nn.height*=V.sizeMultiplier/e.sizeMultiplier,Nn.depth*=V.sizeMultiplier/e.sizeMultiplier;var Ua;t.size===k.DISPLAY.size?Ua=e.fontMetrics().delim1:t.size===k.SCRIPTSCRIPT.size?Ua=e.havingStyle(k.SCRIPT).fontMetrics().delim2:Ua=e.fontMetrics().delim2;var Pa,Oa;return c.leftDelim==null?Pa=wt(e,["mopen"]):Pa=Lo.customSizedDelim(c.leftDelim,Ua,!0,e.havingStyle(t),c.mode,["mopen"]),c.continued?Oa=T.makeSpan([]):c.rightDelim==null?Oa=wt(e,["mclose"]):Oa=Lo.customSizedDelim(c.rightDelim,Ua,!0,e.havingStyle(t),c.mode,["mclose"]),T.makeSpan(["mord"].concat(V.sizingClasses(e)),[Pa,T.makeSpan(["mfrac"],[Nn]),Oa],e)},Wi=(c,e)=>{var t=new Wt.MathNode("mfrac",[fr(c.numer,e),fr(c.denom,e)]);if(!c.hasBarLine)t.setAttribute("linethickness","0px");else if(c.barSize){var d=Ht(c.barSize,e);t.setAttribute("linethickness",Et(d))}var O=cs(c.size,e.style);if(O.size!==e.style.size){t=new Wt.MathNode("mstyle",[t]);var V=O.size===k.DISPLAY.size?"true":"false";t.setAttribute("displaystyle",V),t.setAttribute("scriptlevel","0")}if(c.leftDelim!=null||c.rightDelim!=null){var Oe=[];if(c.leftDelim!=null){var Ke=new Wt.MathNode("mo",[new Wt.TextNode(c.leftDelim.replace("\\",""))]);Ke.setAttribute("fence","true"),Oe.push(Ke)}if(Oe.push(t),c.rightDelim!=null){var Ye=new Wt.MathNode("mo",[new Wt.TextNode(c.rightDelim.replace("\\",""))]);Ye.setAttribute("fence","true"),Oe.push(Ye)}return bt(Oe)}return t};Ge({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(c,e)=>{var{parser:t,funcName:d}=c,O=e[0],V=e[1],Oe,Ke=null,Ye=null,Kt="auto";switch(d){case"\\dfrac":case"\\frac":case"\\tfrac":Oe=!0;break;case"\\\\atopfrac":Oe=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Oe=!1,Ke="(",Ye=")";break;case"\\\\bracefrac":Oe=!1,Ke="\\{",Ye="\\}";break;case"\\\\brackfrac":Oe=!1,Ke="[",Ye="]";break;default:throw new Error("Unrecognized genfrac command")}switch(d){case"\\dfrac":case"\\dbinom":Kt="display";break;case"\\tfrac":case"\\tbinom":Kt="text";break}return{type:"genfrac",mode:t.mode,continued:!1,numer:O,denom:V,hasBarLine:Oe,leftDelim:Ke,rightDelim:Ye,size:Kt,barSize:null}},htmlBuilder:si,mathmlBuilder:Wi}),Ge({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(c,e)=>{var{parser:t,funcName:d}=c,O=e[0],V=e[1];return{type:"genfrac",mode:t.mode,continued:!0,numer:O,denom:V,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),Ge({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(c){var{parser:e,funcName:t,token:d}=c,O;switch(t){case"\\over":O="\\frac";break;case"\\choose":O="\\binom";break;case"\\atop":O="\\\\atopfrac";break;case"\\brace":O="\\\\bracefrac";break;case"\\brack":O="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:O,token:d}}});var Ss=["display","text","script","scriptscript"],us=function(e){var t=null;return e.length>0&&(t=e,t=t==="."?null:t),t};Ge({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(c,e){var{parser:t}=c,d=e[4],O=e[5],V=gt(e[0]),Oe=V.type==="atom"&&V.family==="open"?us(V.text):null,Ke=gt(e[1]),Ye=Ke.type==="atom"&&Ke.family==="close"?us(Ke.text):null,Kt=Gr(e[2],"size"),ur,xr=null;Kt.isBlank?ur=!0:(xr=Kt.value,ur=xr.number>0);var Fr="auto",Hr=e[3];if(Hr.type==="ordgroup"){if(Hr.body.length>0){var un=Gr(Hr.body[0],"textord");Fr=Ss[Number(un.text)]}}else Hr=Gr(Hr,"textord"),Fr=Ss[Number(Hr.text)];return{type:"genfrac",mode:t.mode,numer:d,denom:O,continued:!1,hasBarLine:ur,barSize:xr,leftDelim:Oe,rightDelim:Ye,size:Fr}},htmlBuilder:si,mathmlBuilder:Wi}),Ge({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(c,e){var{parser:t,funcName:d,token:O}=c;return{type:"infix",mode:t.mode,replaceWith:"\\\\abovefrac",size:Gr(e[0],"size").value,token:O}}}),Ge({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(c,e)=>{var{parser:t,funcName:d}=c,O=e[0],V=X(Gr(e[1],"infix").size),Oe=e[2],Ke=V.number>0;return{type:"genfrac",mode:t.mode,numer:O,denom:Oe,continued:!1,hasBarLine:Ke,barSize:V,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:si,mathmlBuilder:Wi});var ws=(c,e)=>{var t=e.style,d,O;c.type==="supsub"?(d=c.sup?ut(c.sup,e.havingStyle(t.sup()),e):ut(c.sub,e.havingStyle(t.sub()),e),O=Gr(c.base,"horizBrace")):O=Gr(c,"horizBrace");var V=ut(O.base,e.havingBaseStyle(k.DISPLAY)),Oe=dn.svgSpan(O,e),Ke;if(O.isOver?(Ke=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:V},{type:"kern",size:.1},{type:"elem",elem:Oe}]},e),Ke.children[0].children[0].children[1].classes.push("svg-align")):(Ke=T.makeVList({positionType:"bottom",positionData:V.depth+.1+Oe.height,children:[{type:"elem",elem:Oe},{type:"kern",size:.1},{type:"elem",elem:V}]},e),Ke.children[0].children[0].children[0].classes.push("svg-align")),d){var Ye=T.makeSpan(["mord",O.isOver?"mover":"munder"],[Ke],e);O.isOver?Ke=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ye},{type:"kern",size:.2},{type:"elem",elem:d}]},e):Ke=T.makeVList({positionType:"bottom",positionData:Ye.depth+.2+d.height+d.depth,children:[{type:"elem",elem:d},{type:"kern",size:.2},{type:"elem",elem:Ye}]},e)}return T.makeSpan(["mord",O.isOver?"mover":"munder"],[Ke],e)},os=(c,e)=>{var t=dn.mathMLnode(c.label);return new Wt.MathNode(c.isOver?"mover":"munder",[fr(c.base,e),t])};Ge({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(c,e){var{parser:t,funcName:d}=c;return{type:"horizBrace",mode:t.mode,label:d,isOver:/^\\over/.test(d),base:e[0]}},htmlBuilder:ws,mathmlBuilder:os}),Ge({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(c,e)=>{var{parser:t}=c,d=e[1],O=Gr(e[0],"url").url;return t.settings.isTrusted({command:"\\href",url:O})?{type:"href",mode:t.mode,href:O,body:ar(d)}:t.formatUnsupportedCmd("\\href")},htmlBuilder:(c,e)=>{var t=Mt(c.body,e,!1);return T.makeAnchor(c.href,[],t,e)},mathmlBuilder:(c,e)=>{var t=dr(c.body,e);return t instanceof Tt||(t=new Tt("mrow",[t])),t.setAttribute("href",c.href),t}}),Ge({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(c,e)=>{var{parser:t}=c,d=Gr(e[0],"url").url;if(!t.settings.isTrusted({command:"\\url",url:d}))return t.formatUnsupportedCmd("\\url");for(var O=[],V=0;V<d.length;V++){var Oe=d[V];Oe==="~"&&(Oe="\\textasciitilde"),O.push({type:"textord",mode:"text",text:Oe})}var Ke={type:"text",mode:t.mode,font:"\\texttt",body:O};return{type:"href",mode:t.mode,href:d,body:ar(Ke)}}}),Ge({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(c,e){var{parser:t}=c;return{type:"hbox",mode:t.mode,body:ar(e[0])}},htmlBuilder(c,e){var t=Mt(c.body,e,!1);return T.makeFragment(t)},mathmlBuilder(c,e){return new Wt.MathNode("mrow",Jt(c.body,e))}}),Ge({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(c,e)=>{var{parser:t,funcName:d,token:O}=c,V=Gr(e[0],"raw").string,Oe=e[1];t.settings.strict&&t.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var Ke,Ye={};switch(d){case"\\htmlClass":Ye.class=V,Ke={command:"\\htmlClass",class:V};break;case"\\htmlId":Ye.id=V,Ke={command:"\\htmlId",id:V};break;case"\\htmlStyle":Ye.style=V,Ke={command:"\\htmlStyle",style:V};break;case"\\htmlData":{for(var Kt=V.split(","),ur=0;ur<Kt.length;ur++){var xr=Kt[ur].split("=");if(xr.length!==2)throw new q("Error parsing key-value for \\htmlData");Ye["data-"+xr[0].trim()]=xr[1].trim()}Ke={command:"\\htmlData",attributes:Ye};break}default:throw new Error("Unrecognized html command")}return t.settings.isTrusted(Ke)?{type:"html",mode:t.mode,attributes:Ye,body:ar(Oe)}:t.formatUnsupportedCmd(d)},htmlBuilder:(c,e)=>{var t=Mt(c.body,e,!1),d=["enclosing"];c.attributes.class&&d.push(...c.attributes.class.trim().split(/\s+/));var O=T.makeSpan(d,t,e);for(var V in c.attributes)V!=="class"&&c.attributes.hasOwnProperty(V)&&O.setAttribute(V,c.attributes[V]);return O},mathmlBuilder:(c,e)=>dr(c.body,e)}),Ge({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(c,e)=>{var{parser:t}=c;return{type:"htmlmathml",mode:t.mode,html:ar(e[0]),mathml:ar(e[1])}},htmlBuilder:(c,e)=>{var t=Mt(c.html,e,!1);return T.makeFragment(t)},mathmlBuilder:(c,e)=>dr(c.mathml,e)});var li=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new q("Invalid size: '"+e+"' in \\includegraphics");var d={number:+(t[1]+t[2]),unit:t[3]};if(!Nt(d))throw new q("Invalid unit: '"+d.unit+"' in \\includegraphics.");return d};Ge({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(c,e,t)=>{var{parser:d}=c,O={number:0,unit:"em"},V={number:.9,unit:"em"},Oe={number:0,unit:"em"},Ke="";if(t[0])for(var Ye=Gr(t[0],"raw").string,Kt=Ye.split(","),ur=0;ur<Kt.length;ur++){var xr=Kt[ur].split("=");if(xr.length===2){var Fr=xr[1].trim();switch(xr[0].trim()){case"alt":Ke=Fr;break;case"width":O=li(Fr);break;case"height":V=li(Fr);break;case"totalheight":Oe=li(Fr);break;default:throw new q("Invalid key: '"+xr[0]+"' in \\includegraphics.")}}}var Hr=Gr(e[0],"url").url;return Ke===""&&(Ke=Hr,Ke=Ke.replace(/^.*[\\/]/,""),Ke=Ke.substring(0,Ke.lastIndexOf("."))),d.settings.isTrusted({command:"\\includegraphics",url:Hr})?{type:"includegraphics",mode:d.mode,alt:Ke,width:O,height:V,totalheight:Oe,src:Hr}:d.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(c,e)=>{var t=Ht(c.height,e),d=0;c.totalheight.number>0&&(d=Ht(c.totalheight,e)-t);var O=0;c.width.number>0&&(O=Ht(c.width,e));var V={height:Et(t+d)};O>0&&(V.width=Et(O)),d>0&&(V.verticalAlign=Et(-d));var Oe=new St(c.src,c.alt,V);return Oe.height=t,Oe.depth=d,Oe},mathmlBuilder:(c,e)=>{var t=new Wt.MathNode("mglyph",[]);t.setAttribute("alt",c.alt);var d=Ht(c.height,e),O=0;if(c.totalheight.number>0&&(O=Ht(c.totalheight,e)-d,t.setAttribute("valign",Et(-O))),t.setAttribute("height",Et(d+O)),c.width.number>0){var V=Ht(c.width,e);t.setAttribute("width",Et(V))}return t.setAttribute("src",c.src),t}}),Ge({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(c,e){var{parser:t,funcName:d}=c,O=Gr(e[0],"size");if(t.settings.strict){var V=d[1]==="m",Oe=O.value.unit==="mu";V?(Oe||t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+d+" supports only mu units, "+("not "+O.value.unit+" units")),t.mode!=="math"&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+d+" works only in math mode")):Oe&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+d+" doesn't support mu units")}return{type:"kern",mode:t.mode,dimension:O.value}},htmlBuilder(c,e){return T.makeGlue(c.dimension,e)},mathmlBuilder(c,e){var t=Ht(c.dimension,e);return new Wt.SpaceNode(t)}}),Ge({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(c,e)=>{var{parser:t,funcName:d}=c,O=e[0];return{type:"lap",mode:t.mode,alignment:d.slice(5),body:O}},htmlBuilder:(c,e)=>{var t;c.alignment==="clap"?(t=T.makeSpan([],[ut(c.body,e)]),t=T.makeSpan(["inner"],[t],e)):t=T.makeSpan(["inner"],[ut(c.body,e)]);var d=T.makeSpan(["fix"],[]),O=T.makeSpan([c.alignment],[t,d],e),V=T.makeSpan(["strut"]);return V.style.height=Et(O.height+O.depth),O.depth&&(V.style.verticalAlign=Et(-O.depth)),O.children.unshift(V),O=T.makeSpan(["thinbox"],[O],e),T.makeSpan(["mord","vbox"],[O],e)},mathmlBuilder:(c,e)=>{var t=new Wt.MathNode("mpadded",[fr(c.body,e)]);if(c.alignment!=="rlap"){var d=c.alignment==="llap"?"-1":"-0.5";t.setAttribute("lspace",d+"width")}return t.setAttribute("width","0px"),t}}),Ge({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(c,e){var{funcName:t,parser:d}=c,O=d.mode;d.switchMode("math");var V=t==="\\("?"\\)":"$",Oe=d.parseExpression(!1,V);return d.expect(V),d.switchMode(O),{type:"styling",mode:d.mode,style:"text",body:Oe}}}),Ge({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(c,e){throw new q("Mismatched "+c.funcName)}});var ci=(c,e)=>{switch(e.style.size){case k.DISPLAY.size:return c.display;case k.TEXT.size:return c.text;case k.SCRIPT.size:return c.script;case k.SCRIPTSCRIPT.size:return c.scriptscript;default:return c.text}};Ge({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(c,e)=>{var{parser:t}=c;return{type:"mathchoice",mode:t.mode,display:ar(e[0]),text:ar(e[1]),script:ar(e[2]),scriptscript:ar(e[3])}},htmlBuilder:(c,e)=>{var t=ci(c,e),d=Mt(t,e,!1);return T.makeFragment(d)},mathmlBuilder:(c,e)=>{var t=ci(c,e);return dr(t,e)}});var ds=(c,e,t,d,O,V,Oe)=>{c=T.makeSpan([],[c]);var Ke=t&&$.isCharacterBox(t),Ye,Kt;if(e){var ur=ut(e,d.havingStyle(O.sup()),d);Kt={elem:ur,kern:Math.max(d.fontMetrics().bigOpSpacing1,d.fontMetrics().bigOpSpacing3-ur.depth)}}if(t){var xr=ut(t,d.havingStyle(O.sub()),d);Ye={elem:xr,kern:Math.max(d.fontMetrics().bigOpSpacing2,d.fontMetrics().bigOpSpacing4-xr.height)}}var Fr;if(Kt&&Ye){var Hr=d.fontMetrics().bigOpSpacing5+Ye.elem.height+Ye.elem.depth+Ye.kern+c.depth+Oe;Fr=T.makeVList({positionType:"bottom",positionData:Hr,children:[{type:"kern",size:d.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ye.elem,marginLeft:Et(-V)},{type:"kern",size:Ye.kern},{type:"elem",elem:c},{type:"kern",size:Kt.kern},{type:"elem",elem:Kt.elem,marginLeft:Et(V)},{type:"kern",size:d.fontMetrics().bigOpSpacing5}]},d)}else if(Ye){var un=c.height-Oe;Fr=T.makeVList({positionType:"top",positionData:un,children:[{type:"kern",size:d.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ye.elem,marginLeft:Et(-V)},{type:"kern",size:Ye.kern},{type:"elem",elem:c}]},d)}else if(Kt){var bn=c.depth+Oe;Fr=T.makeVList({positionType:"bottom",positionData:bn,children:[{type:"elem",elem:c},{type:"kern",size:Kt.kern},{type:"elem",elem:Kt.elem,marginLeft:Et(V)},{type:"kern",size:d.fontMetrics().bigOpSpacing5}]},d)}else return c;var Nn=[Fr];if(Ye&&V!==0&&!Ke){var Mn=T.makeSpan(["mspace"],[],d);Mn.style.marginRight=Et(V),Nn.unshift(Mn)}return T.makeSpan(["mop","op-limits"],Nn,d)},Ai=["\\smallint"],ui=(c,e)=>{var t,d,O=!1,V;c.type==="supsub"?(t=c.sup,d=c.sub,V=Gr(c.base,"op"),O=!0):V=Gr(c,"op");var Oe=e.style,Ke=!1;Oe.size===k.DISPLAY.size&&V.symbol&&!$.contains(Ai,V.name)&&(Ke=!0);var Ye;if(V.symbol){var Kt=Ke?"Size2-Regular":"Size1-Regular",ur="";if((V.name==="\\oiint"||V.name==="\\oiiint")&&(ur=V.name.slice(1),V.name=ur==="oiint"?"\\iint":"\\iiint"),Ye=T.makeSymbol(V.name,Kt,"math",e,["mop","op-symbol",Ke?"large-op":"small-op"]),ur.length>0){var xr=Ye.italic,Fr=T.staticSvg(ur+"Size"+(Ke?"2":"1"),e);Ye=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ye,shift:0},{type:"elem",elem:Fr,shift:Ke?.08:0}]},e),V.name="\\"+ur,Ye.classes.unshift("mop"),Ye.italic=xr}}else if(V.body){var Hr=Mt(V.body,e,!0);Hr.length===1&&Hr[0]instanceof Be?(Ye=Hr[0],Ye.classes[0]="mop"):Ye=T.makeSpan(["mop"],Hr,e)}else{for(var un=[],bn=1;bn<V.name.length;bn++)un.push(T.mathsym(V.name[bn],V.mode,e));Ye=T.makeSpan(["mop"],un,e)}var Nn=0,Mn=0;return(Ye instanceof Be||V.name==="\\oiint"||V.name==="\\oiiint")&&!V.suppressBaseShift&&(Nn=(Ye.height-Ye.depth)/2-e.fontMetrics().axisHeight,Mn=Ye.italic),O?ds(Ye,t,d,e,Oe,Mn,Nn):(Nn&&(Ye.style.position="relative",Ye.style.top=Et(Nn)),Ye)},Ea=(c,e)=>{var t;if(c.symbol)t=new Tt("mo",[Pe(c.name,c.mode)]),$.contains(Ai,c.name)&&t.setAttribute("largeop","false");else if(c.body)t=new Tt("mo",Jt(c.body,e));else{t=new Tt("mi",[new ir(c.name.slice(1))]);var d=new Tt("mo",[Pe("\u2061","text")]);c.parentIsSupSub?t=new Tt("mrow",[t,d]):t=_t([t,d])}return t},Cs={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Ge({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(c,e)=>{var{parser:t,funcName:d}=c,O=d;return O.length===1&&(O=Cs[O]),{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:O}},htmlBuilder:ui,mathmlBuilder:Ea}),Ge({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(c,e)=>{var{parser:t}=c,d=e[0];return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ar(d)}},htmlBuilder:ui,mathmlBuilder:Ea});var Os={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Ge({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(c){var{parser:e,funcName:t}=c;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:ui,mathmlBuilder:Ea}),Ge({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(c){var{parser:e,funcName:t}=c;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:ui,mathmlBuilder:Ea}),Ge({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(c){var{parser:e,funcName:t}=c,d=t;return d.length===1&&(d=Os[d]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:d}},htmlBuilder:ui,mathmlBuilder:Ea});var Es=(c,e)=>{var t,d,O=!1,V;c.type==="supsub"?(t=c.sup,d=c.sub,V=Gr(c.base,"operatorname"),O=!0):V=Gr(c,"operatorname");var Oe;if(V.body.length>0){for(var Ke=V.body.map(xr=>{var Fr=xr.text;return typeof Fr=="string"?{type:"textord",mode:xr.mode,text:Fr}:xr}),Ye=Mt(Ke,e.withFont("mathrm"),!0),Kt=0;Kt<Ye.length;Kt++){var ur=Ye[Kt];ur instanceof Be&&(ur.text=ur.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Oe=T.makeSpan(["mop"],Ye,e)}else Oe=T.makeSpan(["mop"],[],e);return O?ds(Oe,t,d,e,e.style,0,0):Oe},Ji=(c,e)=>{for(var t=Jt(c.body,e.withFont("mathrm")),d=!0,O=0;O<t.length;O++){var V=t[O];if(!(V instanceof Wt.SpaceNode))if(V instanceof Wt.MathNode)switch(V.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var Oe=V.children[0];V.children.length===1&&Oe instanceof Wt.TextNode?Oe.text=Oe.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):d=!1;break}default:d=!1}else d=!1}if(d){var Ke=t.map(ur=>ur.toText()).join("");t=[new Wt.TextNode(Ke)]}var Ye=new Wt.MathNode("mi",t);Ye.setAttribute("mathvariant","normal");var Kt=new Wt.MathNode("mo",[Pe("\u2061","text")]);return c.parentIsSupSub?new Wt.MathNode("mrow",[Ye,Kt]):Wt.newDocumentFragment([Ye,Kt])};Ge({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(c,e)=>{var{parser:t,funcName:d}=c,O=e[0];return{type:"operatorname",mode:t.mode,body:ar(O),alwaysHandleSupSub:d==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Es,mathmlBuilder:Ji}),Ve("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Zt({type:"ordgroup",htmlBuilder(c,e){return c.semisimple?T.makeFragment(Mt(c.body,e,!1)):T.makeSpan(["mord"],Mt(c.body,e,!0),e)},mathmlBuilder(c,e){return dr(c.body,e,!0)}}),Ge({type:"overline",names:["\\overline"],props:{numArgs:1},handler(c,e){var{parser:t}=c,d=e[0];return{type:"overline",mode:t.mode,body:d}},htmlBuilder(c,e){var t=ut(c.body,e.havingCrampedStyle()),d=T.makeLineSpan("overline-line",e),O=e.fontMetrics().defaultRuleThickness,V=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t},{type:"kern",size:3*O},{type:"elem",elem:d},{type:"kern",size:O}]},e);return T.makeSpan(["mord","overline"],[V],e)},mathmlBuilder(c,e){var t=new Wt.MathNode("mo",[new Wt.TextNode("\u203E")]);t.setAttribute("stretchy","true");var d=new Wt.MathNode("mover",[fr(c.body,e),t]);return d.setAttribute("accent","true"),d}}),Ge({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(c,e)=>{var{parser:t}=c,d=e[0];return{type:"phantom",mode:t.mode,body:ar(d)}},htmlBuilder:(c,e)=>{var t=Mt(c.body,e.withPhantom(),!1);return T.makeFragment(t)},mathmlBuilder:(c,e)=>{var t=Jt(c.body,e);return new Wt.MathNode("mphantom",t)}}),Ge({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(c,e)=>{var{parser:t}=c,d=e[0];return{type:"hphantom",mode:t.mode,body:d}},htmlBuilder:(c,e)=>{var t=T.makeSpan([],[ut(c.body,e.withPhantom())]);if(t.height=0,t.depth=0,t.children)for(var d=0;d<t.children.length;d++)t.children[d].height=0,t.children[d].depth=0;return t=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t}]},e),T.makeSpan(["mord"],[t],e)},mathmlBuilder:(c,e)=>{var t=Jt(ar(c.body),e),d=new Wt.MathNode("mphantom",t),O=new Wt.MathNode("mpadded",[d]);return O.setAttribute("height","0px"),O.setAttribute("depth","0px"),O}}),Ge({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(c,e)=>{var{parser:t}=c,d=e[0];return{type:"vphantom",mode:t.mode,body:d}},htmlBuilder:(c,e)=>{var t=T.makeSpan(["inner"],[ut(c.body,e.withPhantom())]),d=T.makeSpan(["fix"],[]);return T.makeSpan(["mord","rlap"],[t,d],e)},mathmlBuilder:(c,e)=>{var t=Jt(ar(c.body),e),d=new Wt.MathNode("mphantom",t),O=new Wt.MathNode("mpadded",[d]);return O.setAttribute("width","0px"),O}}),Ge({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(c,e){var{parser:t}=c,d=Gr(e[0],"size").value,O=e[1];return{type:"raisebox",mode:t.mode,dy:d,body:O}},htmlBuilder(c,e){var t=ut(c.body,e),d=Ht(c.dy,e);return T.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:t}]},e)},mathmlBuilder(c,e){var t=new Wt.MathNode("mpadded",[fr(c.body,e)]),d=c.dy.number+c.dy.unit;return t.setAttribute("voffset",d),t}}),Ge({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(c){var{parser:e}=c;return{type:"internal",mode:e.mode}}}),Ge({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(c,e,t){var{parser:d}=c,O=t[0],V=Gr(e[0],"size"),Oe=Gr(e[1],"size");return{type:"rule",mode:d.mode,shift:O&&Gr(O,"size").value,width:V.value,height:Oe.value}},htmlBuilder(c,e){var t=T.makeSpan(["mord","rule"],[],e),d=Ht(c.width,e),O=Ht(c.height,e),V=c.shift?Ht(c.shift,e):0;return t.style.borderRightWidth=Et(d),t.style.borderTopWidth=Et(O),t.style.bottom=Et(V),t.width=d,t.height=O+V,t.depth=-V,t.maxFontSize=O*1.125*e.sizeMultiplier,t},mathmlBuilder(c,e){var t=Ht(c.width,e),d=Ht(c.height,e),O=c.shift?Ht(c.shift,e):0,V=e.color&&e.getColor()||"black",Oe=new Wt.MathNode("mspace");Oe.setAttribute("mathbackground",V),Oe.setAttribute("width",Et(t)),Oe.setAttribute("height",Et(d));var Ke=new Wt.MathNode("mpadded",[Oe]);return O>=0?Ke.setAttribute("height",Et(O)):(Ke.setAttribute("height",Et(O)),Ke.setAttribute("depth",Et(-O))),Ke.setAttribute("voffset",Et(O)),Ke}});function ai(c,e,t){for(var d=Mt(c,e,!1),O=e.sizeMultiplier/t.sizeMultiplier,V=0;V<d.length;V++){var Oe=d[V].classes.indexOf("sizing");Oe<0?Array.prototype.push.apply(d[V].classes,e.sizingClasses(t)):d[V].classes[Oe+1]==="reset-size"+e.size&&(d[V].classes[Oe+1]="reset-size"+t.size),d[V].height*=O,d[V].depth*=O}return T.makeFragment(d)}var di=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Ls=(c,e)=>{var t=e.havingSize(c.size);return ai(c.body,t,e)};Ge({type:"sizing",names:di,props:{numArgs:0,allowedInText:!0},handler:(c,e)=>{var{breakOnTokenText:t,funcName:d,parser:O}=c,V=O.parseExpression(!1,t);return{type:"sizing",mode:O.mode,size:di.indexOf(d)+1,body:V}},htmlBuilder:Ls,mathmlBuilder:(c,e)=>{var t=e.havingSize(c.size),d=Jt(c.body,t),O=new Wt.MathNode("mstyle",d);return O.setAttribute("mathsize",Et(t.sizeMultiplier)),O}}),Ge({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(c,e,t)=>{var{parser:d}=c,O=!1,V=!1,Oe=t[0]&&Gr(t[0],"ordgroup");if(Oe)for(var Ke="",Ye=0;Ye<Oe.body.length;++Ye){var Kt=Oe.body[Ye];if(Ke=Kt.text,Ke==="t")O=!0;else if(Ke==="b")V=!0;else{O=!1,V=!1;break}}else O=!0,V=!0;var ur=e[0];return{type:"smash",mode:d.mode,body:ur,smashHeight:O,smashDepth:V}},htmlBuilder:(c,e)=>{var t=T.makeSpan([],[ut(c.body,e)]);if(!c.smashHeight&&!c.smashDepth)return t;if(c.smashHeight&&(t.height=0,t.children))for(var d=0;d<t.children.length;d++)t.children[d].height=0;if(c.smashDepth&&(t.depth=0,t.children))for(var O=0;O<t.children.length;O++)t.children[O].depth=0;var V=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t}]},e);return T.makeSpan(["mord"],[V],e)},mathmlBuilder:(c,e)=>{var t=new Wt.MathNode("mpadded",[fr(c.body,e)]);return c.smashHeight&&t.setAttribute("height","0px"),c.smashDepth&&t.setAttribute("depth","0px"),t}}),Ge({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(c,e,t){var{parser:d}=c,O=t[0],V=e[0];return{type:"sqrt",mode:d.mode,body:V,index:O}},htmlBuilder(c,e){var t=ut(c.body,e.havingCrampedStyle());t.height===0&&(t.height=e.fontMetrics().xHeight),t=T.wrapFragment(t,e);var d=e.fontMetrics(),O=d.defaultRuleThickness,V=O;e.style.id<k.TEXT.id&&(V=e.fontMetrics().xHeight);var Oe=O+V/4,Ke=t.height+t.depth+Oe+O,{span:Ye,ruleWidth:Kt,advanceWidth:ur}=Lo.sqrtImage(Ke,e),xr=Ye.height-Kt;xr>t.height+t.depth+Oe&&(Oe=(Oe+xr-t.height-t.depth)/2);var Fr=Ye.height-t.height-Oe-Kt;t.style.paddingLeft=Et(ur);var Hr=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t,wrapperClasses:["svg-align"]},{type:"kern",size:-(t.height+Fr)},{type:"elem",elem:Ye},{type:"kern",size:Kt}]},e);if(c.index){var un=e.havingStyle(k.SCRIPTSCRIPT),bn=ut(c.index,un,e),Nn=.6*(Hr.height-Hr.depth),Mn=T.makeVList({positionType:"shift",positionData:-Nn,children:[{type:"elem",elem:bn}]},e),oa=T.makeSpan(["root"],[Mn]);return T.makeSpan(["mord","sqrt"],[oa,Hr],e)}else return T.makeSpan(["mord","sqrt"],[Hr],e)},mathmlBuilder(c,e){var{body:t,index:d}=c;return d?new Wt.MathNode("mroot",[fr(t,e),fr(d,e)]):new Wt.MathNode("msqrt",[fr(t,e)])}});var Is={display:k.DISPLAY,text:k.TEXT,script:k.SCRIPT,scriptscript:k.SCRIPTSCRIPT};Ge({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(c,e){var{breakOnTokenText:t,funcName:d,parser:O}=c,V=O.parseExpression(!0,t),Oe=d.slice(1,d.length-5);return{type:"styling",mode:O.mode,style:Oe,body:V}},htmlBuilder(c,e){var t=Is[c.style],d=e.havingStyle(t).withFont("");return ai(c.body,d,e)},mathmlBuilder(c,e){var t=Is[c.style],d=e.havingStyle(t),O=Jt(c.body,d),V=new Wt.MathNode("mstyle",O),Oe={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Ke=Oe[c.style];return V.setAttribute("scriptlevel",Ke[0]),V.setAttribute("displaystyle",Ke[1]),V}});var is=function(e,t){var d=e.base;if(d)if(d.type==="op"){var O=d.limits&&(t.style.size===k.DISPLAY.size||d.alwaysHandleSupSub);return O?ui:null}else if(d.type==="operatorname"){var V=d.alwaysHandleSupSub&&(t.style.size===k.DISPLAY.size||d.limits);return V?Es:null}else{if(d.type==="accent")return $.isCharacterBox(d.base)?xa:null;if(d.type==="horizBrace"){var Oe=!e.sub;return Oe===d.isOver?ws:null}else return null}else return null};Zt({type:"supsub",htmlBuilder(c,e){var t=is(c,e);if(t)return t(c,e);var{base:d,sup:O,sub:V}=c,Oe=ut(d,e),Ke,Ye,Kt=e.fontMetrics(),ur=0,xr=0,Fr=d&&$.isCharacterBox(d);if(O){var Hr=e.havingStyle(e.style.sup());Ke=ut(O,Hr,e),Fr||(ur=Oe.height-Hr.fontMetrics().supDrop*Hr.sizeMultiplier/e.sizeMultiplier)}if(V){var un=e.havingStyle(e.style.sub());Ye=ut(V,un,e),Fr||(xr=Oe.depth+un.fontMetrics().subDrop*un.sizeMultiplier/e.sizeMultiplier)}var bn;e.style===k.DISPLAY?bn=Kt.sup1:e.style.cramped?bn=Kt.sup3:bn=Kt.sup2;var Nn=e.sizeMultiplier,Mn=Et(.5/Kt.ptPerEm/Nn),oa=null;if(Ye){var ya=c.base&&c.base.type==="op"&&c.base.name&&(c.base.name==="\\oiint"||c.base.name==="\\oiiint");(Oe instanceof Be||ya)&&(oa=Et(-Oe.italic))}var Ua;if(Ke&&Ye){ur=Math.max(ur,bn,Ke.depth+.25*Kt.xHeight),xr=Math.max(xr,Kt.sub2);var Pa=Kt.defaultRuleThickness,Oa=4*Pa;if(ur-Ke.depth-(Ye.height-xr)<Oa){xr=Oa-(ur-Ke.depth)+Ye.height;var Ga=.8*Kt.xHeight-(ur-Ke.depth);Ga>0&&(ur+=Ga,xr-=Ga)}var Ya=[{type:"elem",elem:Ye,shift:xr,marginRight:Mn,marginLeft:oa},{type:"elem",elem:Ke,shift:-ur,marginRight:Mn}];Ua=T.makeVList({positionType:"individualShift",children:Ya},e)}else if(Ye){xr=Math.max(xr,Kt.sub1,Ye.height-.8*Kt.xHeight);var Ra=[{type:"elem",elem:Ye,marginLeft:oa,marginRight:Mn}];Ua=T.makeVList({positionType:"shift",positionData:xr,children:Ra},e)}else if(Ke)ur=Math.max(ur,bn,Ke.depth+.25*Kt.xHeight),Ua=T.makeVList({positionType:"shift",positionData:-ur,children:[{type:"elem",elem:Ke,marginRight:Mn}]},e);else throw new Error("supsub must have either sup or sub.");var Jo=ze(Oe,"right")||"mord";return T.makeSpan([Jo],[Oe,T.makeSpan(["msupsub"],[Ua])],e)},mathmlBuilder(c,e){var t=!1,d,O;c.base&&c.base.type==="horizBrace"&&(O=!!c.sup,O===c.base.isOver&&(t=!0,d=c.base.isOver)),c.base&&(c.base.type==="op"||c.base.type==="operatorname")&&(c.base.parentIsSupSub=!0);var V=[fr(c.base,e)];c.sub&&V.push(fr(c.sub,e)),c.sup&&V.push(fr(c.sup,e));var Oe;if(t)Oe=d?"mover":"munder";else if(c.sub)if(c.sup){var Kt=c.base;Kt&&Kt.type==="op"&&Kt.limits&&e.style===k.DISPLAY||Kt&&Kt.type==="operatorname"&&Kt.alwaysHandleSupSub&&(e.style===k.DISPLAY||Kt.limits)?Oe="munderover":Oe="msubsup"}else{var Ye=c.base;Ye&&Ye.type==="op"&&Ye.limits&&(e.style===k.DISPLAY||Ye.alwaysHandleSupSub)||Ye&&Ye.type==="operatorname"&&Ye.alwaysHandleSupSub&&(Ye.limits||e.style===k.DISPLAY)?Oe="munder":Oe="msub"}else{var Ke=c.base;Ke&&Ke.type==="op"&&Ke.limits&&(e.style===k.DISPLAY||Ke.alwaysHandleSupSub)||Ke&&Ke.type==="operatorname"&&Ke.alwaysHandleSupSub&&(Ke.limits||e.style===k.DISPLAY)?Oe="mover":Oe="msup"}return new Wt.MathNode(Oe,V)}}),Zt({type:"atom",htmlBuilder(c,e){return T.mathsym(c.text,c.mode,e,["m"+c.family])},mathmlBuilder(c,e){var t=new Wt.MathNode("mo",[Pe(c.text,c.mode)]);if(c.family==="bin"){var d=Bt(c,e);d==="bold-italic"&&t.setAttribute("mathvariant",d)}else c.family==="punct"?t.setAttribute("separator","true"):(c.family==="open"||c.family==="close")&&t.setAttribute("stretchy","false");return t}});var Ui={mi:"italic",mn:"normal",mtext:"normal"};Zt({type:"mathord",htmlBuilder(c,e){return T.makeOrd(c,e,"mathord")},mathmlBuilder(c,e){var t=new Wt.MathNode("mi",[Pe(c.text,c.mode,e)]),d=Bt(c,e)||"italic";return d!==Ui[t.type]&&t.setAttribute("mathvariant",d),t}}),Zt({type:"textord",htmlBuilder(c,e){return T.makeOrd(c,e,"textord")},mathmlBuilder(c,e){var t=Pe(c.text,c.mode,e),d=Bt(c,e)||"normal",O;return c.mode==="text"?O=new Wt.MathNode("mtext",[t]):/[0-9]/.test(c.text)?O=new Wt.MathNode("mn",[t]):c.text==="\\prime"?O=new Wt.MathNode("mo",[t]):O=new Wt.MathNode("mi",[t]),d!==Ui[O.type]&&O.setAttribute("mathvariant",d),O}});var Pi={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Zi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Zt({type:"spacing",htmlBuilder(c,e){if(Zi.hasOwnProperty(c.text)){var t=Zi[c.text].className||"";if(c.mode==="text"){var d=T.makeOrd(c,e,"textord");return d.classes.push(t),d}else return T.makeSpan(["mspace",t],[T.mathsym(c.text,c.mode,e)],e)}else{if(Pi.hasOwnProperty(c.text))return T.makeSpan(["mspace",Pi[c.text]],[],e);throw new q('Unknown type of space "'+c.text+'"')}},mathmlBuilder(c,e){var t;if(Zi.hasOwnProperty(c.text))t=new Wt.MathNode("mtext",[new Wt.TextNode("\xA0")]);else{if(Pi.hasOwnProperty(c.text))return new Wt.MathNode("mspace");throw new q('Unknown type of space "'+c.text+'"')}return t}});var Vi=()=>{var c=new Wt.MathNode("mtd",[]);return c.setAttribute("width","50%"),c};Zt({type:"tag",mathmlBuilder(c,e){var t=new Wt.MathNode("mtable",[new Wt.MathNode("mtr",[Vi(),new Wt.MathNode("mtd",[dr(c.body,e)]),Vi(),new Wt.MathNode("mtd",[dr(c.tag,e)])])]);return t.setAttribute("width","100%"),t}});var $s={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},qi={"\\textbf":"textbf","\\textmd":"textmd"},hs={"\\textit":"textit","\\textup":"textup"},ft=(c,e)=>{var t=c.font;if(t){if($s[t])return e.withTextFontFamily($s[t]);if(qi[t])return e.withTextFontWeight(qi[t]);if(t==="\\emph")return e.fontShape==="textit"?e.withTextFontShape("textup"):e.withTextFontShape("textit")}else return e;return e.withTextFontShape(hs[t])};Ge({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(c,e){var{parser:t,funcName:d}=c,O=e[0];return{type:"text",mode:t.mode,body:ar(O),font:d}},htmlBuilder(c,e){var t=ft(c,e),d=Mt(c.body,t,!0);return T.makeSpan(["mord","text"],d,t)},mathmlBuilder(c,e){var t=ft(c,e);return dr(c.body,t)}}),Ge({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(c,e){var{parser:t}=c;return{type:"underline",mode:t.mode,body:e[0]}},htmlBuilder(c,e){var t=ut(c.body,e),d=T.makeLineSpan("underline-line",e),O=e.fontMetrics().defaultRuleThickness,V=T.makeVList({positionType:"top",positionData:t.height,children:[{type:"kern",size:O},{type:"elem",elem:d},{type:"kern",size:3*O},{type:"elem",elem:t}]},e);return T.makeSpan(["mord","underline"],[V],e)},mathmlBuilder(c,e){var t=new Wt.MathNode("mo",[new Wt.TextNode("\u203E")]);t.setAttribute("stretchy","true");var d=new Wt.MathNode("munder",[fr(c.body,e),t]);return d.setAttribute("accentunder","true"),d}}),Ge({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(c,e){var{parser:t}=c;return{type:"vcenter",mode:t.mode,body:e[0]}},htmlBuilder(c,e){var t=ut(c.body,e),d=e.fontMetrics().axisHeight,O=.5*(t.height-d-(t.depth+d));return T.makeVList({positionType:"shift",positionData:O,children:[{type:"elem",elem:t}]},e)},mathmlBuilder(c,e){return new Wt.MathNode("mpadded",[fr(c.body,e)],["vcenter"])}}),Ge({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(c,e,t){throw new q("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(c,e){for(var t=ji(c),d=[],O=e.havingStyle(e.style.text()),V=0;V<t.length;V++){var Oe=t[V];Oe==="~"&&(Oe="\\textasciitilde"),d.push(T.makeSymbol(Oe,"Typewriter-Regular",c.mode,O,["mord","texttt"]))}return T.makeSpan(["mord","text"].concat(O.sizingClasses(e)),T.tryCombineChars(d),O)},mathmlBuilder(c,e){var t=new Wt.TextNode(ji(c)),d=new Wt.MathNode("mtext",[t]);return d.setAttribute("mathvariant","monospace"),d}});var ji=c=>c.body.replace(/ /g,c.star?"\u2423":"\xA0"),Yo=At,Ni=`[ \r
|
|
|
]`,ss="\\\\[a-zA-Z@]+",Mi="\\\\[^\uD800-\uDFFF]",fs="("+ss+")"+Ni+"*",ms=`\\\\(
|
|
|
|[ \r ]+
|
|
|
?)[ \r ]*`,hi="[\u0300-\u036F]",Si=new RegExp(hi+"+$"),ps="("+Ni+"+)|"+(ms+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(hi+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(hi+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+fs)+("|"+Mi+")");class Gi{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(ps,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new Re("EOF",new L(this,t,t));var d=this.tokenRegex.exec(e);if(d===null||d.index!==t)throw new q("Unexpected character: '"+e[t]+"'",new Re(e[t],new L(this,t,t+1)));var O=d[6]||d[3]||(d[2]?"\\ ":" ");if(this.catcodes[O]===14){var V=e.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return V===-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=V+1,this.lex()}return new Re(O,new L(this,t,this.tokenRegex.lastIndex))}}class Qi{constructor(e,t){e===void 0&&(e={}),t===void 0&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new q("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(e[t]==null?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,d){if(d===void 0&&(d=!1),d){for(var O=0;O<this.undefStack.length;O++)delete this.undefStack[O][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var V=this.undefStack[this.undefStack.length-1];V&&!V.hasOwnProperty(e)&&(V[e]=this.current[e])}t==null?delete this.current[e]:this.current[e]=t}}var ls=fo;Ve("\\noexpand",function(c){var e=c.popToken();return c.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}}),Ve("\\expandafter",function(c){var e=c.popToken();return c.expandOnce(!0),{tokens:[e],numArgs:0}}),Ve("\\@firstoftwo",function(c){var e=c.consumeArgs(2);return{tokens:e[0],numArgs:0}}),Ve("\\@secondoftwo",function(c){var e=c.consumeArgs(2);return{tokens:e[1],numArgs:0}}),Ve("\\@ifnextchar",function(c){var e=c.consumeArgs(3);c.consumeSpaces();var t=c.future();return e[0].length===1&&e[0][0].text===t.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}}),Ve("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Ve("\\TextOrMath",function(c){var e=c.consumeArgs(2);return c.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var P={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Ve("\\char",function(c){var e=c.popToken(),t,d="";if(e.text==="'")t=8,e=c.popToken();else if(e.text==='"')t=16,e=c.popToken();else if(e.text==="`")if(e=c.popToken(),e.text[0]==="\\")d=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new q("\\char` missing argument");d=e.text.charCodeAt(0)}else t=10;if(t){if(d=P[e.text],d==null||d>=t)throw new q("Invalid base-"+t+" digit "+e.text);for(var O;(O=P[c.future().text])!=null&&O<t;)d*=t,d+=O,c.popToken()}return"\\@char{"+d+"}"});var je=(c,e,t,d)=>{var O=c.consumeArg().tokens;if(O.length!==1)throw new q("\\newcommand's first argument must be a macro name");var V=O[0].text,Oe=c.isDefined(V);if(Oe&&!e)throw new q("\\newcommand{"+V+"} attempting to redefine "+(V+"; use \\renewcommand"));if(!Oe&&!t)throw new q("\\renewcommand{"+V+"} when command "+V+" does not yet exist; use \\newcommand");var Ke=0;if(O=c.consumeArg().tokens,O.length===1&&O[0].text==="["){for(var Ye="",Kt=c.expandNextToken();Kt.text!=="]"&&Kt.text!=="EOF";)Ye+=Kt.text,Kt=c.expandNextToken();if(!Ye.match(/^\s*[0-9]+\s*$/))throw new q("Invalid number of arguments: "+Ye);Ke=parseInt(Ye),O=c.consumeArg().tokens}return Oe&&d||c.macros.set(V,{tokens:O,numArgs:Ke}),""};Ve("\\newcommand",c=>je(c,!1,!0,!1)),Ve("\\renewcommand",c=>je(c,!0,!1,!1)),Ve("\\providecommand",c=>je(c,!0,!0,!0)),Ve("\\message",c=>{var e=c.consumeArgs(1)[0];return console.log(e.reverse().map(t=>t.text).join("")),""}),Ve("\\errmessage",c=>{var e=c.consumeArgs(1)[0];return console.error(e.reverse().map(t=>t.text).join("")),""}),Ve("\\show",c=>{var e=c.popToken(),t=e.text;return console.log(e,c.macros.get(t),Yo[t],Br.math[t],Br.text[t]),""}),Ve("\\bgroup","{"),Ve("\\egroup","}"),Ve("~","\\nobreakspace"),Ve("\\lq","`"),Ve("\\rq","'"),Ve("\\aa","\\r a"),Ve("\\AA","\\r A"),Ve("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),Ve("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Ve("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),Ve("\u212C","\\mathscr{B}"),Ve("\u2130","\\mathscr{E}"),Ve("\u2131","\\mathscr{F}"),Ve("\u210B","\\mathscr{H}"),Ve("\u2110","\\mathscr{I}"),Ve("\u2112","\\mathscr{L}"),Ve("\u2133","\\mathscr{M}"),Ve("\u211B","\\mathscr{R}"),Ve("\u212D","\\mathfrak{C}"),Ve("\u210C","\\mathfrak{H}"),Ve("\u2128","\\mathfrak{Z}"),Ve("\\Bbbk","\\Bbb{k}"),Ve("\xB7","\\cdotp"),Ve("\\llap","\\mathllap{\\textrm{#1}}"),Ve("\\rlap","\\mathrlap{\\textrm{#1}}"),Ve("\\clap","\\mathclap{\\textrm{#1}}"),Ve("\\mathstrut","\\vphantom{(}"),Ve("\\underbar","\\underline{\\text{#1}}"),Ve("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Ve("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Ve("\\ne","\\neq"),Ve("\u2260","\\neq"),Ve("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Ve("\u2209","\\notin"),Ve("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Ve("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Ve("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),Ve("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),Ve("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),Ve("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),Ve("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),Ve("\u27C2","\\perp"),Ve("\u203C","\\mathclose{!\\mkern-0.8mu!}"),Ve("\u220C","\\notni"),Ve("\u231C","\\ulcorner"),Ve("\u231D","\\urcorner"),Ve("\u231E","\\llcorner"),Ve("\u231F","\\lrcorner"),Ve("\xA9","\\copyright"),Ve("\xAE","\\textregistered"),Ve("\uFE0F","\\textregistered"),Ve("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Ve("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Ve("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Ve("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Ve("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),Ve("\u22EE","\\vdots"),Ve("\\varGamma","\\mathit{\\Gamma}"),Ve("\\varDelta","\\mathit{\\Delta}"),Ve("\\varTheta","\\mathit{\\Theta}"),Ve("\\varLambda","\\mathit{\\Lambda}"),Ve("\\varXi","\\mathit{\\Xi}"),Ve("\\varPi","\\mathit{\\Pi}"),Ve("\\varSigma","\\mathit{\\Sigma}"),Ve("\\varUpsilon","\\mathit{\\Upsilon}"),Ve("\\varPhi","\\mathit{\\Phi}"),Ve("\\varPsi","\\mathit{\\Psi}"),Ve("\\varOmega","\\mathit{\\Omega}"),Ve("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Ve("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Ve("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Ve("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Ve("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Ve("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),Ve("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),Ve("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var zt={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Ve("\\dots",function(c){var e="\\dotso",t=c.expandAfterFuture().text;return t in zt?e=zt[t]:(t.slice(0,4)==="\\not"||t in Br.math&&$.contains(["bin","rel"],Br.math[t].group))&&(e="\\dotsb"),e});var tr={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Ve("\\dotso",function(c){var e=c.future().text;return e in tr?"\\ldots\\,":"\\ldots"}),Ve("\\dotsc",function(c){var e=c.future().text;return e in tr&&e!==","?"\\ldots\\,":"\\ldots"}),Ve("\\cdots",function(c){var e=c.future().text;return e in tr?"\\@cdots\\,":"\\@cdots"}),Ve("\\dotsb","\\cdots"),Ve("\\dotsm","\\cdots"),Ve("\\dotsi","\\!\\cdots"),Ve("\\dotsx","\\ldots\\,"),Ve("\\DOTSI","\\relax"),Ve("\\DOTSB","\\relax"),Ve("\\DOTSX","\\relax"),Ve("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Ve("\\,","\\tmspace+{3mu}{.1667em}"),Ve("\\thinspace","\\,"),Ve("\\>","\\mskip{4mu}"),Ve("\\:","\\tmspace+{4mu}{.2222em}"),Ve("\\medspace","\\:"),Ve("\\;","\\tmspace+{5mu}{.2777em}"),Ve("\\thickspace","\\;"),Ve("\\!","\\tmspace-{3mu}{.1667em}"),Ve("\\negthinspace","\\!"),Ve("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Ve("\\negthickspace","\\tmspace-{5mu}{.277em}"),Ve("\\enspace","\\kern.5em "),Ve("\\enskip","\\hskip.5em\\relax"),Ve("\\quad","\\hskip1em\\relax"),Ve("\\qquad","\\hskip2em\\relax"),Ve("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Ve("\\tag@paren","\\tag@literal{({#1})}"),Ve("\\tag@literal",c=>{if(c.macros.get("\\df@tag"))throw new q("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Ve("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Ve("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Ve("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Ve("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Ve("\\newline","\\\\\\relax"),Ve("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var wr=Et(he["Main-Regular"][84][1]-.7*he["Main-Regular"][65][1]);Ve("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+wr+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),Ve("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+wr+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),Ve("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Ve("\\@hspace","\\hskip #1\\relax"),Ve("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Ve("\\ordinarycolon",":"),Ve("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Ve("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Ve("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Ve("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Ve("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Ve("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Ve("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Ve("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Ve("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Ve("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Ve("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Ve("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Ve("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Ve("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Ve("\u2237","\\dblcolon"),Ve("\u2239","\\eqcolon"),Ve("\u2254","\\coloneqq"),Ve("\u2255","\\eqqcolon"),Ve("\u2A74","\\Coloneqq"),Ve("\\ratio","\\vcentcolon"),Ve("\\coloncolon","\\dblcolon"),Ve("\\colonequals","\\coloneqq"),Ve("\\coloncolonequals","\\Coloneqq"),Ve("\\equalscolon","\\eqqcolon"),Ve("\\equalscoloncolon","\\Eqqcolon"),Ve("\\colonminus","\\coloneq"),Ve("\\coloncolonminus","\\Coloneq"),Ve("\\minuscolon","\\eqcolon"),Ve("\\minuscoloncolon","\\Eqcolon"),Ve("\\coloncolonapprox","\\Colonapprox"),Ve("\\coloncolonsim","\\Colonsim"),Ve("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Ve("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Ve("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Ve("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Ve("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),Ve("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Ve("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Ve("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Ve("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Ve("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Ve("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Ve("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Ve("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Ve("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Ve("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Ve("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Ve("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Ve("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Ve("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Ve("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Ve("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Ve("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Ve("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Ve("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),Ve("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),Ve("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),Ve("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),Ve("\\imath","\\html@mathml{\\@imath}{\u0131}"),Ve("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),Ve("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),Ve("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),Ve("\u27E6","\\llbracket"),Ve("\u27E7","\\rrbracket"),Ve("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Ve("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Ve("\u2983","\\lBrace"),Ve("\u2984","\\rBrace"),Ve("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}"),Ve("\u29B5","\\minuso"),Ve("\\darr","\\downarrow"),Ve("\\dArr","\\Downarrow"),Ve("\\Darr","\\Downarrow"),Ve("\\lang","\\langle"),Ve("\\rang","\\rangle"),Ve("\\uarr","\\uparrow"),Ve("\\uArr","\\Uparrow"),Ve("\\Uarr","\\Uparrow"),Ve("\\N","\\mathbb{N}"),Ve("\\R","\\mathbb{R}"),Ve("\\Z","\\mathbb{Z}"),Ve("\\alef","\\aleph"),Ve("\\alefsym","\\aleph"),Ve("\\Alpha","\\mathrm{A}"),Ve("\\Beta","\\mathrm{B}"),Ve("\\bull","\\bullet"),Ve("\\Chi","\\mathrm{X}"),Ve("\\clubs","\\clubsuit"),Ve("\\cnums","\\mathbb{C}"),Ve("\\Complex","\\mathbb{C}"),Ve("\\Dagger","\\ddagger"),Ve("\\diamonds","\\diamondsuit"),Ve("\\empty","\\emptyset"),Ve("\\Epsilon","\\mathrm{E}"),Ve("\\Eta","\\mathrm{H}"),Ve("\\exist","\\exists"),Ve("\\harr","\\leftrightarrow"),Ve("\\hArr","\\Leftrightarrow"),Ve("\\Harr","\\Leftrightarrow"),Ve("\\hearts","\\heartsuit"),Ve("\\image","\\Im"),Ve("\\infin","\\infty"),Ve("\\Iota","\\mathrm{I}"),Ve("\\isin","\\in"),Ve("\\Kappa","\\mathrm{K}"),Ve("\\larr","\\leftarrow"),Ve("\\lArr","\\Leftarrow"),Ve("\\Larr","\\Leftarrow"),Ve("\\lrarr","\\leftrightarrow"),Ve("\\lrArr","\\Leftrightarrow"),Ve("\\Lrarr","\\Leftrightarrow"),Ve("\\Mu","\\mathrm{M}"),Ve("\\natnums","\\mathbb{N}"),Ve("\\Nu","\\mathrm{N}"),Ve("\\Omicron","\\mathrm{O}"),Ve("\\plusmn","\\pm"),Ve("\\rarr","\\rightarrow"),Ve("\\rArr","\\Rightarrow"),Ve("\\Rarr","\\Rightarrow"),Ve("\\real","\\Re"),Ve("\\reals","\\mathbb{R}"),Ve("\\Reals","\\mathbb{R}"),Ve("\\Rho","\\mathrm{P}"),Ve("\\sdot","\\cdot"),Ve("\\sect","\\S"),Ve("\\spades","\\spadesuit"),Ve("\\sub","\\subset"),Ve("\\sube","\\subseteq"),Ve("\\supe","\\supseteq"),Ve("\\Tau","\\mathrm{T}"),Ve("\\thetasym","\\vartheta"),Ve("\\weierp","\\wp"),Ve("\\Zeta","\\mathrm{Z}"),Ve("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Ve("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Ve("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Ve("\\bra","\\mathinner{\\langle{#1}|}"),Ve("\\ket","\\mathinner{|{#1}\\rangle}"),Ve("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Ve("\\Bra","\\left\\langle#1\\right|"),Ve("\\Ket","\\left|#1\\right\\rangle");var Kr=c=>e=>{var t=e.consumeArg().tokens,d=e.consumeArg().tokens,O=e.consumeArg().tokens,V=e.consumeArg().tokens,Oe=e.macros.get("|"),Ke=e.macros.get("\\|");e.macros.beginGroup();var Ye=xr=>Fr=>{c&&(Fr.macros.set("|",Oe),O.length&&Fr.macros.set("\\|",Ke));var Hr=xr;if(!xr&&O.length){var un=Fr.future();un.text==="|"&&(Fr.popToken(),Hr=!0)}return{tokens:Hr?O:d,numArgs:0}};e.macros.set("|",Ye(!1)),O.length&&e.macros.set("\\|",Ye(!0));var Kt=e.consumeArg().tokens,ur=e.expandTokens([...V,...Kt,...t]);return e.macros.endGroup(),{tokens:ur.reverse(),numArgs:0}};Ve("\\bra@ket",Kr(!1)),Ve("\\bra@set",Kr(!0)),Ve("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Ve("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Ve("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Ve("\\angln","{\\angl n}"),Ve("\\blue","\\textcolor{##6495ed}{#1}"),Ve("\\orange","\\textcolor{##ffa500}{#1}"),Ve("\\pink","\\textcolor{##ff00af}{#1}"),Ve("\\red","\\textcolor{##df0030}{#1}"),Ve("\\green","\\textcolor{##28ae7b}{#1}"),Ve("\\gray","\\textcolor{gray}{#1}"),Ve("\\purple","\\textcolor{##9d38bd}{#1}"),Ve("\\blueA","\\textcolor{##ccfaff}{#1}"),Ve("\\blueB","\\textcolor{##80f6ff}{#1}"),Ve("\\blueC","\\textcolor{##63d9ea}{#1}"),Ve("\\blueD","\\textcolor{##11accd}{#1}"),Ve("\\blueE","\\textcolor{##0c7f99}{#1}"),Ve("\\tealA","\\textcolor{##94fff5}{#1}"),Ve("\\tealB","\\textcolor{##26edd5}{#1}"),Ve("\\tealC","\\textcolor{##01d1c1}{#1}"),Ve("\\tealD","\\textcolor{##01a995}{#1}"),Ve("\\tealE","\\textcolor{##208170}{#1}"),Ve("\\greenA","\\textcolor{##b6ffb0}{#1}"),Ve("\\greenB","\\textcolor{##8af281}{#1}"),Ve("\\greenC","\\textcolor{##74cf70}{#1}"),Ve("\\greenD","\\textcolor{##1fab54}{#1}"),Ve("\\greenE","\\textcolor{##0d923f}{#1}"),Ve("\\goldA","\\textcolor{##ffd0a9}{#1}"),Ve("\\goldB","\\textcolor{##ffbb71}{#1}"),Ve("\\goldC","\\textcolor{##ff9c39}{#1}"),Ve("\\goldD","\\textcolor{##e07d10}{#1}"),Ve("\\goldE","\\textcolor{##a75a05}{#1}"),Ve("\\redA","\\textcolor{##fca9a9}{#1}"),Ve("\\redB","\\textcolor{##ff8482}{#1}"),Ve("\\redC","\\textcolor{##f9685d}{#1}"),Ve("\\redD","\\textcolor{##e84d39}{#1}"),Ve("\\redE","\\textcolor{##bc2612}{#1}"),Ve("\\maroonA","\\textcolor{##ffbde0}{#1}"),Ve("\\maroonB","\\textcolor{##ff92c6}{#1}"),Ve("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Ve("\\maroonD","\\textcolor{##ca337c}{#1}"),Ve("\\maroonE","\\textcolor{##9e034e}{#1}"),Ve("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Ve("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Ve("\\purpleC","\\textcolor{##aa87ff}{#1}"),Ve("\\purpleD","\\textcolor{##7854ab}{#1}"),Ve("\\purpleE","\\textcolor{##543b78}{#1}"),Ve("\\mintA","\\textcolor{##f5f9e8}{#1}"),Ve("\\mintB","\\textcolor{##edf2df}{#1}"),Ve("\\mintC","\\textcolor{##e0e5cc}{#1}"),Ve("\\grayA","\\textcolor{##f6f7f7}{#1}"),Ve("\\grayB","\\textcolor{##f0f1f2}{#1}"),Ve("\\grayC","\\textcolor{##e3e5e6}{#1}"),Ve("\\grayD","\\textcolor{##d6d8da}{#1}"),Ve("\\grayE","\\textcolor{##babec2}{#1}"),Ve("\\grayF","\\textcolor{##888d93}{#1}"),Ve("\\grayG","\\textcolor{##626569}{#1}"),Ve("\\grayH","\\textcolor{##3b3e40}{#1}"),Ve("\\grayI","\\textcolor{##21242c}{#1}"),Ve("\\kaBlue","\\textcolor{##314453}{#1}"),Ve("\\kaGreen","\\textcolor{##71B307}{#1}");var ln={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Qn{constructor(e,t,d){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new Qi(ls,t.macros),this.mode=d,this.stack=[]}feed(e){this.lexer=new Gi(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,d,O;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;t=this.popToken(),{tokens:O,end:d}=this.consumeArg(["]"])}else({tokens:O,start:t,end:d}=this.consumeArg());return this.pushToken(new Re("EOF",d.loc)),this.pushTokens(O),t.range(d,"")}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var t=[],d=e&&e.length>0;d||this.consumeSpaces();var O=this.future(),V,Oe=0,Ke=0;do{if(V=this.popToken(),t.push(V),V.text==="{")++Oe;else if(V.text==="}"){if(--Oe,Oe===-1)throw new q("Extra }",V)}else if(V.text==="EOF")throw new q("Unexpected end of input in a macro argument, expected '"+(e&&d?e[Ke]:"}")+"'",V);if(e&&d)if((Oe===0||Oe===1&&e[Ke]==="{")&&V.text===e[Ke]){if(++Ke,Ke===e.length){t.splice(-Ke,Ke);break}}else Ke=0}while(Oe!==0||d);return O.text==="{"&&t[t.length-1].text==="}"&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:O,end:V}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new q("The length of delimiters doesn't match the number of args!");for(var d=t[0],O=0;O<d.length;O++){var V=this.popToken();if(d[O]!==V.text)throw new q("Use of the macro doesn't match its definition",V)}}for(var Oe=[],Ke=0;Ke<e;Ke++)Oe.push(this.consumeArg(t&&t[Ke+1]).tokens);return Oe}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new q("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),d=t.text,O=t.noexpand?null:this._getExpansion(d);if(O==null||e&&O.unexpandable){if(e&&O==null&&d[0]==="\\"&&!this.isDefined(d))throw new q("Undefined control sequence: "+d);return this.pushToken(t),!1}this.countExpansion(1);var V=O.tokens,Oe=this.consumeArgs(O.numArgs,O.delimiters);if(O.numArgs){V=V.slice();for(var Ke=V.length-1;Ke>=0;--Ke){var Ye=V[Ke];if(Ye.text==="#"){if(Ke===0)throw new q("Incomplete placeholder at end of macro body",Ye);if(Ye=V[--Ke],Ye.text==="#")V.splice(Ke+1,1);else if(/^[1-9]$/.test(Ye.text))V.splice(Ke,2,...Oe[+Ye.text-1]);else throw new q("Not a valid argument number",Ye)}}}return this.pushTokens(V),V.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Re(e)]):void 0}expandTokens(e){var t=[],d=this.stack.length;for(this.pushTokens(e);this.stack.length>d;)if(this.expandOnce(!0)===!1){var O=this.stack.pop();O.treatAsRelax&&(O.noexpand=!1,O.treatAsRelax=!1),t.push(O)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t&&t.map(d=>d.text).join("")}_getExpansion(e){var t=this.macros.get(e);if(t==null)return t;if(e.length===1){var d=this.lexer.catcodes[e];if(d!=null&&d!==13)return}var O=typeof t=="function"?t(this):t;if(typeof O=="string"){var V=0;if(O.indexOf("#")!==-1)for(var Oe=O.replace(/##/g,"");Oe.indexOf("#"+(V+1))!==-1;)++V;for(var Ke=new Gi(O,this.settings),Ye=[],Kt=Ke.lex();Kt.text!=="EOF";)Ye.push(Kt),Kt=Ke.lex();Ye.reverse();var ur={tokens:Ye,numArgs:V};return ur}return O}isDefined(e){return this.macros.has(e)||Yo.hasOwnProperty(e)||Br.math.hasOwnProperty(e)||Br.text.hasOwnProperty(e)||ln.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return t!=null?typeof t=="string"||typeof t=="function"||!t.unexpandable:Yo.hasOwnProperty(e)&&!Yo[e].primitive}}var ae=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,r=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),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"}},l={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"};class g{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Qn(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(t===void 0&&(t=!0),this.fetch().text!==e)throw new q("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new Re("}")),this.gullet.pushTokens(e);var d=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,d}parseExpression(e,t){for(var d=[];;){this.mode==="math"&&this.consumeSpaces();var O=this.fetch();if(g.endOfExpression.indexOf(O.text)!==-1||t&&O.text===t||e&&Yo[O.text]&&Yo[O.text].infix)break;var V=this.parseAtom(t);if(V){if(V.type==="internal")continue}else break;d.push(V)}return this.mode==="text"&&this.formLigatures(d),this.handleInfixNodes(d)}handleInfixNodes(e){for(var t=-1,d,O=0;O<e.length;O++)if(e[O].type==="infix"){if(t!==-1)throw new q("only one infix operator per group",e[O].token);t=O,d=e[O].replaceWith}if(t!==-1&&d){var V,Oe,Ke=e.slice(0,t),Ye=e.slice(t+1);Ke.length===1&&Ke[0].type==="ordgroup"?V=Ke[0]:V={type:"ordgroup",mode:this.mode,body:Ke},Ye.length===1&&Ye[0].type==="ordgroup"?Oe=Ye[0]:Oe={type:"ordgroup",mode:this.mode,body:Ye};var Kt;return d==="\\\\abovefrac"?Kt=this.callFunction(d,[V,e[t],Oe],[]):Kt=this.callFunction(d,[V,Oe],[]),[Kt]}else return e}handleSupSubscript(e){var t=this.fetch(),d=t.text;this.consume(),this.consumeSpaces();var O;do{var V;O=this.parseGroup(e)}while(((V=O)==null?void 0:V.type)==="internal");if(!O)throw new q("Expected group after '"+d+"'",t);return O}formatUnsupportedCmd(e){for(var t=[],d=0;d<e.length;d++)t.push({type:"textord",mode:"text",text:e[d]});var O={type:"text",mode:this.mode,body:t},V={type:"color",mode:this.mode,color:this.settings.errorColor,body:[O]};return V}parseAtom(e){var t=this.parseGroup("atom",e);if((t==null?void 0:t.type)==="internal"||this.mode==="text")return t;for(var d,O;;){this.consumeSpaces();var V=this.fetch();if(V.text==="\\limits"||V.text==="\\nolimits"){if(t&&t.type==="op"){var Oe=V.text==="\\limits";t.limits=Oe,t.alwaysHandleSupSub=!0}else if(t&&t.type==="operatorname")t.alwaysHandleSupSub&&(t.limits=V.text==="\\limits");else throw new q("Limit controls must follow a math operator",V);this.consume()}else if(V.text==="^"){if(d)throw new q("Double superscript",V);d=this.handleSupSubscript("superscript")}else if(V.text==="_"){if(O)throw new q("Double subscript",V);O=this.handleSupSubscript("subscript")}else if(V.text==="'"){if(d)throw new q("Double superscript",V);var Ke={type:"textord",mode:this.mode,text:"\\prime"},Ye=[Ke];for(this.consume();this.fetch().text==="'";)Ye.push(Ke),this.consume();this.fetch().text==="^"&&Ye.push(this.handleSupSubscript("superscript")),d={type:"ordgroup",mode:this.mode,body:Ye}}else if(r[V.text]){var Kt=ae.test(V.text),ur=[];for(ur.push(new Re(r[V.text])),this.consume();;){var xr=this.fetch().text;if(!r[xr]||ae.test(xr)!==Kt)break;ur.unshift(new Re(r[xr])),this.consume()}var Fr=this.subparse(ur);Kt?O={type:"ordgroup",mode:"math",body:Fr}:d={type:"ordgroup",mode:"math",body:Fr}}else break}return d||O?{type:"supsub",mode:this.mode,base:t,sup:d,sub:O}:t}parseFunction(e,t){var d=this.fetch(),O=d.text,V=Yo[O];if(!V)return null;if(this.consume(),t&&t!=="atom"&&!V.allowedInArgument)throw new q("Got function '"+O+"' with no arguments"+(t?" as "+t:""),d);if(this.mode==="text"&&!V.allowedInText)throw new q("Can't use function '"+O+"' in text mode",d);if(this.mode==="math"&&V.allowedInMath===!1)throw new q("Can't use function '"+O+"' in math mode",d);var{args:Oe,optArgs:Ke}=this.parseArguments(O,V);return this.callFunction(O,Oe,Ke,d,e)}callFunction(e,t,d,O,V){var Oe={funcName:e,parser:this,token:O,breakOnTokenText:V},Ke=Yo[e];if(Ke&&Ke.handler)return Ke.handler(Oe,t,d);throw new q("No function handler for "+e)}parseArguments(e,t){var d=t.numArgs+t.numOptionalArgs;if(d===0)return{args:[],optArgs:[]};for(var O=[],V=[],Oe=0;Oe<d;Oe++){var Ke=t.argTypes&&t.argTypes[Oe],Ye=Oe<t.numOptionalArgs;(t.primitive&&Ke==null||t.type==="sqrt"&&Oe===1&&V[0]==null)&&(Ke="primitive");var Kt=this.parseGroupOfType("argument to '"+e+"'",Ke,Ye);if(Ye)V.push(Kt);else if(Kt!=null)O.push(Kt);else throw new q("Null argument, please report this as a bug")}return{args:O,optArgs:V}}parseGroupOfType(e,t,d){switch(t){case"color":return this.parseColorGroup(d);case"size":return this.parseSizeGroup(d);case"url":return this.parseUrlGroup(d);case"math":case"text":return this.parseArgumentGroup(d,t);case"hbox":{var O=this.parseArgumentGroup(d,"text");return O!=null?{type:"styling",mode:O.mode,body:[O],style:"text"}:null}case"raw":{var V=this.parseStringGroup("raw",d);return V!=null?{type:"raw",mode:"text",string:V.text}:null}case"primitive":{if(d)throw new q("A primitive argument cannot be optional");var Oe=this.parseGroup(e);if(Oe==null)throw new q("Expected group as "+e,this.fetch());return Oe}case"original":case null:case void 0:return this.parseArgumentGroup(d);default:throw new q("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(e,t){var d=this.gullet.scanArgument(t);if(d==null)return null;for(var O="",V;(V=this.fetch()).text!=="EOF";)O+=V.text,this.consume();return this.consume(),d.text=O,d}parseRegexGroup(e,t){for(var d=this.fetch(),O=d,V="",Oe;(Oe=this.fetch()).text!=="EOF"&&e.test(V+Oe.text);)O=Oe,V+=O.text,this.consume();if(V==="")throw new q("Invalid "+t+": '"+d.text+"'",d);return d.range(O,V)}parseColorGroup(e){var t=this.parseStringGroup("color",e);if(t==null)return null;var d=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!d)throw new q("Invalid color: '"+t.text+"'",t);var O=d[0];return/^[0-9a-f]{6}$/i.test(O)&&(O="#"+O),{type:"color-token",mode:this.mode,color:O}}parseSizeGroup(e){var t,d=!1;if(this.gullet.consumeSpaces(),!e&&this.gullet.future().text!=="{"?t=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):t=this.parseStringGroup("size",e),!t)return null;!e&&t.text.length===0&&(t.text="0pt",d=!0);var O=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!O)throw new q("Invalid size: '"+t.text+"'",t);var V={number:+(O[1]+O[2]),unit:O[3]};if(!Nt(V))throw new q("Invalid unit: '"+V.unit+"'",t);return{type:"size",mode:this.mode,value:V,isBlank:d}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var t=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),t==null)return null;var d=t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:d}}parseArgumentGroup(e,t){var d=this.gullet.scanArgument(e);if(d==null)return null;var O=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();var V=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var Oe={type:"ordgroup",mode:this.mode,loc:d.loc,body:V};return t&&this.switchMode(O),Oe}parseGroup(e,t){var d=this.fetch(),O=d.text,V;if(O==="{"||O==="\\begingroup"){this.consume();var Oe=O==="{"?"}":"\\endgroup";this.gullet.beginGroup();var Ke=this.parseExpression(!1,Oe),Ye=this.fetch();this.expect(Oe),this.gullet.endGroup(),V={type:"ordgroup",mode:this.mode,loc:L.range(d,Ye),body:Ke,semisimple:O==="\\begingroup"||void 0}}else if(V=this.parseFunction(t,e)||this.parseSymbol(),V==null&&O[0]==="\\"&&!ln.hasOwnProperty(O)){if(this.settings.throwOnError)throw new q("Undefined control sequence: "+O,d);V=this.formatUnsupportedCmd(O),this.consume()}return V}formLigatures(e){for(var t=e.length-1,d=0;d<t;++d){var O=e[d],V=O.text;V==="-"&&e[d+1].text==="-"&&(d+1<t&&e[d+2].text==="-"?(e.splice(d,3,{type:"textord",mode:"text",loc:L.range(O,e[d+2]),text:"---"}),t-=2):(e.splice(d,2,{type:"textord",mode:"text",loc:L.range(O,e[d+1]),text:"--"}),t-=1)),(V==="'"||V==="`")&&e[d+1].text===V&&(e.splice(d,2,{type:"textord",mode:"text",loc:L.range(O,e[d+1]),text:V+V}),t-=1)}}parseSymbol(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var d=t.slice(5),O=d.charAt(0)==="*";if(O&&(d=d.slice(1)),d.length<2||d.charAt(0)!==d.slice(-1))throw new q(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return d=d.slice(1,-1),{type:"verb",mode:"text",body:d,star:O}}l.hasOwnProperty(t[0])&&!Br[this.mode][t[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=l[t[0]]+t.slice(1));var V=Si.exec(t);V&&(t=t.substring(0,V.index),t==="i"?t="\u0131":t==="j"&&(t="\u0237"));var Oe;if(Br[this.mode][t]){this.settings.strict&&this.mode==="math"&&Pn.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var Ke=Br[this.mode][t].group,Ye=L.range(e),Kt;if(Sr.hasOwnProperty(Ke)){var ur=Ke;Kt={type:"atom",mode:this.mode,family:ur,loc:Ye,text:t}}else Kt={type:Ke,mode:this.mode,loc:Ye,text:t};Oe=Kt}else if(t.charCodeAt(0)>=128)this.settings.strict&&(He(t.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'"'+(" ("+t.charCodeAt(0)+")"),e)),Oe={type:"textord",mode:"text",loc:L.range(e),text:t};else return null;if(this.consume(),V)for(var xr=0;xr<V[0].length;xr++){var Fr=V[0][xr];if(!a[Fr])throw new q("Unknown accent ' "+Fr+"'",e);var Hr=a[Fr][this.mode]||a[Fr].text;if(!Hr)throw new q("Accent "+Fr+" unsupported in "+this.mode+" mode",e);Oe={type:"accent",mode:this.mode,loc:L.range(e),label:Hr,isStretchy:!1,isShifty:!0,base:Oe}}return Oe}}g.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var H=function(e,t){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var d=new g(e,t);delete d.gullet.macros.current["\\df@tag"];var O=d.parse();if(delete d.gullet.macros.current["\\current@color"],delete d.gullet.macros.current["\\color"],d.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new q("\\tag works only in display equations");O=[{type:"tag",mode:"text",body:O,tag:d.subparse([new Re("\\df@tag")])}]}return O},se=function(e,t,d){t.textContent="";var O=rr(e,d).toNode();t.appendChild(O)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),se=function(){throw new q("KaTeX doesn't work in quirks mode.")});var Fe=function(e,t){var d=rr(e,t).toMarkup();return d},tt=function(e,t){var d=new ie(t);return H(e,d)},It=function(e,t,d){if(d.throwOnError||!(e instanceof q))throw e;var O=T.makeSpan(["katex-error"],[new Be(t)]);return O.setAttribute("title",e.toString()),O.setAttribute("style","color:"+d.errorColor),O},rr=function(e,t){var d=new ie(t);try{var O=H(e,d);return cn(O,e,d)}catch(V){return It(V,e,d)}},pr=function(e,t){var d=new ie(t);try{var O=H(e,d);return wn(O,e,d)}catch(V){return It(V,e,d)}},kr="0.16.22",rn={Span:x,Anchor:W,SymbolNode:Be,SvgNode:zr,PathNode:$r,LineNode:yn},hn={version:kr,render:se,renderToString:Fe,ParseError:q,SETTINGS_SCHEMA:S,__parse:tt,__renderToDomTree:rr,__renderToHTMLTree:pr,__setFontMetrics:Se,__defineSymbol:h,__defineFunction:Ge,__defineMacro:Ve,__domTree:rn},In=n(2348);const Un={},Ca=[];function Ia(c){const e=c||Un;return function(t,d){(0,In.S4)(t,"element",function(O,V){const Oe=Array.isArray(O.properties.className)?O.properties.className:Ca,Ke=Oe.includes("language-math"),Ye=Oe.includes("math-display"),Kt=Oe.includes("math-inline");let ur=Ye;if(!Ke&&!Ye&&!Kt)return;let xr=V[V.length-1],Fr=O;if(O.tagName==="code"&&Ke&&xr&&xr.type==="element"&&xr.tagName==="pre"&&(Fr=xr,xr=V[V.length-2],ur=!0),!xr)return;const Hr=(0,qe.l)(Fr,{whitespace:"pre"});let un;try{un=hn.renderToString(Hr,N0(j0({},e),{displayMode:ur,throwOnError:!0}))}catch(Nn){const Mn=Nn,oa=Mn.name.toLowerCase();d.message("Could not render math with KaTeX",{ancestors:[...V,O],cause:Mn,place:O.position,ruleId:oa,source:"rehype-katex"});try{un=hn.renderToString(Hr,N0(j0({},e),{displayMode:ur,strict:"ignore",throwOnError:!1}))}catch(ya){un=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(e.errorColor||"#cc0000"),title:String(Nn)},children:[{type:"text",value:Hr}]}]}}typeof un=="string"&&(un=(0,o.N)(un,{fragment:!0}).children);const bn=xr.children.indexOf(Fr);return xr.children.splice(bn,1,...un),In.AM})}}}}]);
|
|
|
}()); |