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

1414 lines
1.7 MiB

This file contains ambiguous Unicode characters!

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

!(function(){var xl=Math.pow;(self.webpackChunk=self.webpackChunk||[]).push([[8143],{63093:function(en,et,f){"use strict";f.d(et,{Z:function(){return Se}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},35323:function(en,et,f){"use strict";f.d(et,{Z:function(){return Se}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},19155:function(en,et,f){"use strict";f.d(et,{Z:function(){return Se}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},10402:function(en,et,f){"use strict";f.d(et,{Z:function(){return Se}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},93343:function(en,et,f){"use strict";f.d(et,{Z:function(){return Se}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},18290:function(en,et,f){"use strict";f.d(et,{Z:function(){return Se}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},19362:function(en,et,f){"use strict";f.d(et,{Z:function(){return Se}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},61441:function(en,et,f){"use strict";f.d(et,{Z:function(){return Se}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},30631:function(en,et,f){"use strict";f.d(et,{Z:function(){return Se}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},43971:function(en,et,f){"use strict";f.d(et,{Z:function(){return Se}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},58358:function(en,et,f){"use strict";f.d(et,{Z:function(){return Se}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},44757:function(en,et,f){"use strict";f.d(et,{Z:function(){return Se}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},16537:function(en,et,f){"use strict";f.d(et,{Z:function(){return Se}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},77042:function(en,et,f){"use strict";f.d(et,{Z:function(){return Se}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},5527:function(en,et,f){"use strict";f.d(et,{Z:function(){return Se}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},86902:function(en,et,f){"use strict";f.d(et,{Z:function(){return Se}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},53878:function(en,et,f){"use strict";f.d(et,{Z:function(){return Se}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},21970:function(en,et,f){"use strict";f.d(et,{Z:function(){return Se}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},35593:function(en,et,f){"use strict";f.d(et,{Z:function(){return ot}});var y=f(57259),L=f(29043),ee=f(19149),Ee=f(43403),$=f(92310),q=f.n($),C=f(29301),Se=f(85899),a=f(70653),I=f(8107),z=f(49879),S=f(28800),u=f(93144),x=f(59301),m=f(5891),P=f(43469),ue=f(20475);function B(se){var be=se.prefixCls,H=se.align,O=se.arrow,xe=se.arrowPos,k=O||{},E=k.className,T=k.content,X=xe.x,G=X===void 0?0:X,K=xe.y,we=K===void 0?0:K,Ke=x.useRef();if(!H||!H.points)return null;var ke={position:"absolute"};if(H.autoArrow!==!1){var Te=H.points[0],Ye=H.points[1],tt=Te[0],We=Te[1],yt=Ye[0],St=Ye[1];tt===yt||!["t","b"].includes(tt)?ke.top=we:tt==="t"?ke.top=0:ke.bottom=0,We===St||!["l","r"].includes(We)?ke.left=G:We==="l"?ke.left=0:ke.right=0}return x.createElement("div",{ref:Ke,className:q()("".concat(be,"-arrow"),E),style:ke},T)}function W(se){var be=se.prefixCls,H=se.open,O=se.zIndex,xe=se.mask,k=se.motion;return xe?x.createElement(P.default,(0,m.Z)({},k,{motionAppear:!0,visible:H,removeOnLeave:!0}),function(E){var T=E.className;return x.createElement("div",{style:{zIndex:O},className:q()("".concat(be,"-mask"),T)})}):null}var ne=x.memo(function(se){var be=se.children;return be},function(se,be){return be.cache}),Y=ne,b=x.forwardRef(function(se,be){var H=se.popup,O=se.className,xe=se.prefixCls,k=se.style,E=se.target,T=se.onVisibleChanged,X=se.open,G=se.keepDom,K=se.fresh,we=se.onClick,Ke=se.mask,ke=se.arrow,Te=se.arrowPos,Ye=se.align,tt=se.motion,We=se.maskMotion,yt=se.forceRender,St=se.getPopupContainer,pt=se.autoDestroy,Lt=se.portal,_t=se.zIndex,w=se.onMouseEnter,D=se.onMouseLeave,bt=se.onPointerEnter,ce=se.ready,Me=se.offsetX,pn=se.offsetY,He=se.offsetR,rt=se.offsetB,Je=se.onAlign,Ae=se.onPrepare,De=se.stretch,ze=se.targetWidth,Xe=se.targetHeight,ge=typeof H=="function"?H():H,an=X||G,$e=(St==null?void 0:St.length)>0,bn=x.useState(!St||!$e),Tn=(0,L.Z)(bn,2),Wt=Tn[0],Yt=Tn[1];if((0,S.Z)(function(){!Wt&&$e&&E&&Yt(!0)},[Wt,$e,E]),!Wt)return null;var Rt="auto",Ot={left:"-1000vw",top:"-1000vh",right:Rt,bottom:Rt};if(ce||!X){var Ge,xt=Ye.points,At=Ye.dynamicInset||((Ge=Ye._experimental)===null||Ge===void 0?void 0:Ge.dynamicInset),Ue=At&&xt[0][1]==="r",Ce=At&&xt[0][0]==="b";Ue?(Ot.right=He,Ot.left=Rt):(Ot.left=Me,Ot.right=Rt),Ce?(Ot.bottom=rt,Ot.top=Rt):(Ot.top=pn,Ot.bottom=Rt)}var mt={};return De&&(De.includes("height")&&Xe?mt.height=Xe:De.includes("minHeight")&&Xe&&(mt.minHeight=Xe),De.includes("width")&&ze?mt.width=ze:De.includes("minWidth")&&ze&&(mt.minWidth=ze)),X||(mt.pointerEvents="none"),x.createElement(Lt,{open:yt||an,getContainer:St&&function(){return St(E)},autoDestroy:pt},x.createElement(W,{prefixCls:xe,open:X,zIndex:_t,mask:Ke,motion:We}),x.createElement(C.Z,{onResize:Je,disabled:!X},function(lt){return x.createElement(P.default,(0,m.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:yt,leavedClassName:"".concat(xe,"-hidden")},tt,{onAppearPrepare:Ae,onEnterPrepare:Ae,visible:X,onVisibleChanged:function(Ht){var tn;tt==null||(tn=tt.onVisibleChanged)===null||tn===void 0||tn.call(tt,Ht),T(Ht)}}),function(Pt,Ht){var tn=Pt.className,Ut=Pt.style,sn=q()(xe,tn,O);return x.createElement("div",{ref:(0,ue.sQ)(lt,be,Ht),className:sn,style:(0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)({"--arrow-x":"".concat(Te.x||0,"px"),"--arrow-y":"".concat(Te.y||0,"px")},Ot),mt),Ut),{},{boxSizing:"border-box",zIndex:_t},k),onMouseEnter:w,onMouseLeave:D,onPointerEnter:bt,onClick:we},ke&&x.createElement(B,{prefixCls:xe,arrow:ke,arrowPos:Te,align:Ye}),x.createElement(Y,{cache:!X&&!K},ge))})}))}),R=b,Z=x.forwardRef(function(se,be){var H=se.children,O=se.getTriggerDOMNode,xe=(0,ue.Yr)(H),k=x.useCallback(function(T){(0,ue.mH)(be,O?O(T):T)},[O]),E=(0,ue.x1)(k,H.ref);return xe?x.cloneElement(H,{ref:E}):H}),j=Z,he=x.createContext(null),me=he;function fe(se){return se?Array.isArray(se)?se:[se]:[]}function ae(se,be,H,O){return x.useMemo(function(){var xe=fe(H!=null?H:be),k=fe(O!=null?O:be),E=new Set(xe),T=new Set(k);return se&&(E.has("hover")&&(E.delete("hover"),E.add("click")),T.has("hover")&&(T.delete("hover"),T.add("click"))),[E,T]},[se,be,H,O])}var te=f(48886);function U(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],H=arguments.length>2?arguments[2]:void 0;return H?se[0]===be[0]:se[0]===be[0]&&se[1]===be[1]}function pe(se,be,H,O){for(var xe=H.points,k=Object.keys(se),E=0;E<k.length;E+=1){var T,X=k[E];if(U((T=se[X])===null||T===void 0?void 0:T.points,xe,O))return"".concat(be,"-placement-").concat(X)}return""}function Q(se,be,H,O){return be||(H?{motionName:"".concat(se,"-").concat(H)}:O?{motionName:O}:null)}function de(se){return se.ownerDocument.defaultView}function ie(se){for(var be=[],H=se==null?void 0:se.parentElement,O=["hidden","scroll","clip","auto"];H;){var xe=de(H).getComputedStyle(H),k=xe.overflowX,E=xe.overflowY,T=xe.overflow;[k,E,T].some(function(X){return O.includes(X)})&&be.push(H),H=H.parentElement}return be}function v(se){var be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(se)?be:se}function _(se){return v(parseFloat(se),0)}function V(se,be){var H=(0,y.Z)({},se);return(be||[]).forEach(function(O){if(!(O instanceof HTMLBodyElement||O instanceof HTMLHtmlElement)){var xe=de(O).getComputedStyle(O),k=xe.overflow,E=xe.overflowClipMargin,T=xe.borderTopWidth,X=xe.borderBottomWidth,G=xe.borderLeftWidth,K=xe.borderRightWidth,we=O.getBoundingClientRect(),Ke=O.offsetHeight,ke=O.clientHeight,Te=O.offsetWidth,Ye=O.clientWidth,tt=_(T),We=_(X),yt=_(G),St=_(K),pt=v(Math.round(we.width/Te*1e3)/1e3),Lt=v(Math.round(we.height/Ke*1e3)/1e3),_t=(Te-Ye-yt-St)*pt,w=(Ke-ke-tt-We)*Lt,D=tt*Lt,bt=We*Lt,ce=yt*pt,Me=St*pt,pn=0,He=0;if(k==="clip"){var rt=_(E);pn=rt*pt,He=rt*Lt}var Je=we.x+ce-pn,Ae=we.y+D-He,De=Je+we.width+2*pn-ce-Me-_t,ze=Ae+we.height+2*He-D-bt-w;H.left=Math.max(H.left,Je),H.top=Math.max(H.top,Ae),H.right=Math.min(H.right,De),H.bottom=Math.min(H.bottom,ze)}}),H}function J(se){var be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,H="".concat(be),O=H.match(/^(.*)\%$/);return O?se*(parseFloat(O[1])/100):parseFloat(H)}function Le(se,be){var H=be||[],O=(0,L.Z)(H,2),xe=O[0],k=O[1];return[J(se.width,xe),J(se.height,k)]}function Oe(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[se[0],se[1]]}function Ie(se,be){var H=be[0],O=be[1],xe,k;return H==="t"?k=se.y:H==="b"?k=se.y+se.height:k=se.y+se.height/2,O==="l"?xe=se.x:O==="r"?xe=se.x+se.width:xe=se.x+se.width/2,{x:xe,y:k}}function Ze(se,be){var H={t:"b",b:"t",l:"r",r:"l"};return se.map(function(O,xe){return xe===be?H[O]||"c":O}).join("")}function ut(se,be,H,O,xe,k,E){var T=x.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:xe[O]||{}}),X=(0,L.Z)(T,2),G=X[0],K=X[1],we=x.useRef(0),Ke=x.useMemo(function(){return be?ie(be):[]},[be]),ke=x.useRef({}),Te=function(){ke.current={}};se||Te();var Ye=(0,I.Z)(function(){if(be&&H&&se){let cr=function(Br,$r){var Ni=arguments.length>2&&arguments[2]!==void 0?arguments[2]:sn,yi=ge.x+Br,Fi=ge.y+$r,Pi=yi+Ge,va=Fi+Ot,_a=Math.max(yi,Ni.left),Wa=Math.max(Fi,Ni.top),da=Math.min(Pi,Ni.right),fa=Math.min(va,Ni.bottom);return Math.max(0,(da-_a)*(fa-Wa))},Zn=function(){Kn=ge.y+wn,lr=Kn+Ot,Rr=ge.x+Dn,Tr=Rr+Ge};var yt,St,pt=be,Lt=pt.ownerDocument,_t=de(pt),w=_t.getComputedStyle(pt),D=w.width,bt=w.height,ce=w.position,Me=pt.style.left,pn=pt.style.top,He=pt.style.right,rt=pt.style.bottom,Je=pt.style.overflow,Ae=(0,y.Z)((0,y.Z)({},xe[O]),k),De=Lt.createElement("div");(yt=pt.parentElement)===null||yt===void 0||yt.appendChild(De),De.style.left="".concat(pt.offsetLeft,"px"),De.style.top="".concat(pt.offsetTop,"px"),De.style.position=ce,De.style.height="".concat(pt.offsetHeight,"px"),De.style.width="".concat(pt.offsetWidth,"px"),pt.style.left="0",pt.style.top="0",pt.style.right="auto",pt.style.bottom="auto",pt.style.overflow="hidden";var ze;if(Array.isArray(H))ze={x:H[0],y:H[1],width:0,height:0};else{var Xe=H.getBoundingClientRect();ze={x:Xe.x,y:Xe.y,width:Xe.width,height:Xe.height}}var ge=pt.getBoundingClientRect(),an=Lt.documentElement,$e=an.clientWidth,bn=an.clientHeight,Tn=an.scrollWidth,Wt=an.scrollHeight,Yt=an.scrollTop,Rt=an.scrollLeft,Ot=ge.height,Ge=ge.width,xt=ze.height,At=ze.width,Ue={left:0,top:0,right:$e,bottom:bn},Ce={left:-Rt,top:-Yt,right:Tn-Rt,bottom:Wt-Yt},mt=Ae.htmlRegion,lt="visible",Pt="visibleFirst";mt!=="scroll"&&mt!==Pt&&(mt=lt);var Ht=mt===Pt,tn=V(Ce,Ke),Ut=V(Ue,Ke),sn=mt===lt?Ut:tn,dn=Ht?Ut:sn;pt.style.left="auto",pt.style.top="auto",pt.style.right="0",pt.style.bottom="0";var Mt=pt.getBoundingClientRect();pt.style.left=Me,pt.style.top=pn,pt.style.right=He,pt.style.bottom=rt,pt.style.overflow=Je,(St=pt.parentElement)===null||St===void 0||St.removeChild(De);var It=v(Math.round(Ge/parseFloat(D)*1e3)/1e3),un=v(Math.round(Ot/parseFloat(bt)*1e3)/1e3);if(It===0||un===0||(0,Se.Sh)(H)&&!(0,te.Z)(H))return;var ln=Ae.offset,hn=Ae.targetOffset,_n=Le(ge,ln),ir=(0,L.Z)(_n,2),Bn=ir[0],rn=ir[1],dt=Le(ze,hn),gt=(0,L.Z)(dt,2),kt=gt[0],Vt=gt[1];ze.x-=kt,ze.y-=Vt;var Ft=Ae.points||[],Qt=(0,L.Z)(Ft,2),Gt=Qt[0],vn=Qt[1],En=Oe(vn),Fn=Oe(Gt),tr=Ie(ze,En),Xn=Ie(ge,Fn),ar=(0,y.Z)({},Ae),Dn=tr.x-Xn.x+Bn,wn=tr.y-Xn.y+rn,gr=cr(Dn,wn),Gn=cr(Dn,wn,Ut),Cr=Ie(ze,["t","l"]),er=Ie(ge,["t","l"]),mr=Ie(ze,["b","r"]),Sr=Ie(ge,["b","r"]),nr=Ae.overflow||{},kr=nr.adjustX,Jr=nr.adjustY,Qn=nr.shiftX,Cn=nr.shiftY,at=function($r){return typeof $r=="boolean"?$r:$r>=0},Kn,lr,Rr,Tr;Zn();var Pr=at(Jr),Ur=Fn[0]===En[0];if(Pr&&Fn[0]==="t"&&(lr>dn.bottom||ke.current.bt)){var vr=wn;Ur?vr-=Ot-xt:vr=Cr.y-Sr.y-rn;var Hn=cr(Dn,vr),Mn=cr(Dn,vr,Ut);Hn>gr||Hn===gr&&(!Ht||Mn>=Gn)?(ke.current.bt=!0,wn=vr,rn=-rn,ar.points=[Ze(Fn,0),Ze(En,0)]):ke.current.bt=!1}if(Pr&&Fn[0]==="b"&&(Kn<dn.top||ke.current.tb)){var jn=wn;Ur?jn+=Ot-xt:jn=mr.y-er.y-rn;var Er=cr(Dn,jn),Nr=cr(Dn,jn,Ut);Er>gr||Er===gr&&(!Ht||Nr>=Gn)?(ke.current.tb=!0,wn=jn,rn=-rn,ar.points=[Ze(Fn,0),Ze(En,0)]):ke.current.tb=!1}var hi=at(kr),Ei=Fn[1]===En[1];if(hi&&Fn[1]==="l"&&(Tr>dn.right||ke.current.rl)){var Vn=Dn;Ei?Vn-=Ge-At:Vn=Cr.x-Sr.x-Bn;var Zr=cr(Vn,wn),jr=cr(Vn,wn,Ut);Zr>gr||Zr===gr&&(!Ht||jr>=Gn)?(ke.current.rl=!0,Dn=Vn,Bn=-Bn,ar.points=[Ze(Fn,1),Ze(En,1)]):ke.current.rl=!1}if(hi&&Fn[1]==="r"&&(Rr<dn.left||ke.current.lr)){var ni=Dn;Ei?ni+=Ge-At:ni=mr.x-er.x-Bn;var ji=cr(ni,wn),Ii=cr(ni,wn,Ut);ji>gr||ji===gr&&(!Ht||Ii>=Gn)?(ke.current.lr=!0,Dn=ni,Bn=-Bn,ar.points=[Ze(Fn,1),Ze(En,1)]):ke.current.lr=!1}Zn();var Xr=Qn===!0?0:Qn;typeof Xr=="number"&&(Rr<Ut.left&&(Dn-=Rr-Ut.left-Bn,ze.x+At<Ut.left+Xr&&(Dn+=ze.x-Ut.left+At-Xr)),Tr>Ut.right&&(Dn-=Tr-Ut.right-Bn,ze.x>Ut.right-Xr&&(Dn+=ze.x-Ut.right+Xr)));var gi=Cn===!0?0:Cn;typeof gi=="number"&&(Kn<Ut.top&&(wn-=Kn-Ut.top-rn,ze.y+xt<Ut.top+gi&&(wn+=ze.y-Ut.top+xt-gi)),lr>Ut.bottom&&(wn-=lr-Ut.bottom-rn,ze.y>Ut.bottom-gi&&(wn+=ze.y-Ut.bottom+gi)));var oi=ge.x+Dn,Ti=oi+Ge,Di=ge.y+wn,Vi=Di+Ot,Ci=ze.x,Zi=Ci+At,Kr=ze.y,aa=Kr+xt,ga=Math.max(oi,Ci),ua=Math.min(Ti,Zi),vi=(ga+ua)/2,ca=vi-oi,Ea=Math.max(Di,Kr),Ln=Math.min(Vi,aa),Li=(Ea+Ln)/2,na=Li-Di;E==null||E(be,ar);var ur=Mt.right-ge.x-(Dn+ge.width),xr=Mt.bottom-ge.y-(wn+ge.height);K({ready:!0,offsetX:Dn/It,offsetY:wn/un,offsetR:ur/It,offsetB:xr/un,arrowX:ca/It,arrowY:na/un,scaleX:It,scaleY:un,align:ar})}}),tt=function(){we.current+=1;var St=we.current;Promise.resolve().then(function(){we.current===St&&Ye()})},We=function(){K(function(St){return(0,y.Z)((0,y.Z)({},St),{},{ready:!1})})};return(0,S.Z)(We,[O]),(0,S.Z)(function(){se||We()},[se]),[G.ready,G.offsetX,G.offsetY,G.offsetR,G.offsetB,G.arrowX,G.arrowY,G.scaleX,G.scaleY,G.align,tt]}var ct=f(26390);function it(se,be,H,O,xe){(0,S.Z)(function(){if(se&&be&&H){let we=function(){O(),xe()};var k=be,E=H,T=ie(k),X=ie(E),G=de(E),K=new Set([G].concat((0,ct.Z)(T),(0,ct.Z)(X)));return K.forEach(function(Ke){Ke.addEventListener("scroll",we,{passive:!0})}),G.addEventListener("resize",we,{passive:!0}),O(),function(){K.forEach(function(Ke){Ke.removeEventListener("scroll",we),G.removeEventListener("resize",we)})}}},[se,be,H])}var Nt=f(51395),qt=f(23073);function nn(se,be,H,O,xe,k,E,T){var X=x.useRef(se),G=x.useRef(!1);X.current!==se&&(G.current=!0,X.current=se),x.useEffect(function(){var K=(0,qt.Z)(function(){G.current=!1});return function(){qt.Z.cancel(K)}},[se]),x.useEffect(function(){if(be&&O&&(!xe||k)){var K=function(){var ce=!1,Me=function(rt){var Je=rt.target;ce=E(Je)},pn=function(rt){var Je=rt.target;!G.current&&X.current&&!ce&&!E(Je)&&T(!1)};return[Me,pn]},we=K(),Ke=(0,L.Z)(we,2),ke=Ke[0],Te=Ke[1],Ye=K(),tt=(0,L.Z)(Ye,2),We=tt[0],yt=tt[1],St=de(O);St.addEventListener("mousedown",ke,!0),St.addEventListener("click",Te,!0),St.addEventListener("contextmenu",Te,!0);var pt=(0,a.A)(H);if(pt&&(pt.addEventListener("mousedown",We,!0),pt.addEventListener("click",yt,!0),pt.addEventListener("contextmenu",yt,!0)),0)var Lt,_t,w,D;return function(){St.removeEventListener("mousedown",ke,!0),St.removeEventListener("click",Te,!0),St.removeEventListener("contextmenu",Te,!0),pt&&(pt.removeEventListener("mousedown",We,!0),pt.removeEventListener("click",yt,!0),pt.removeEventListener("contextmenu",yt,!0))}}},[be,H,O,xe,k])}var Dt=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function $t(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ee.Z,be=x.forwardRef(function(H,O){var xe=H.prefixCls,k=xe===void 0?"rc-trigger-popup":xe,E=H.children,T=H.action,X=T===void 0?"hover":T,G=H.showAction,K=H.hideAction,we=H.popupVisible,Ke=H.defaultPopupVisible,ke=H.onPopupVisibleChange,Te=H.afterPopupVisibleChange,Ye=H.mouseEnterDelay,tt=H.mouseLeaveDelay,We=tt===void 0?.1:tt,yt=H.focusDelay,St=H.blurDelay,pt=H.mask,Lt=H.maskClosable,_t=Lt===void 0?!0:Lt,w=H.getPopupContainer,D=H.forceRender,bt=H.autoDestroy,ce=H.destroyPopupOnHide,Me=H.popup,pn=H.popupClassName,He=H.popupStyle,rt=H.popupPlacement,Je=H.builtinPlacements,Ae=Je===void 0?{}:Je,De=H.popupAlign,ze=H.zIndex,Xe=H.stretch,ge=H.getPopupClassNameFromAlign,an=H.fresh,$e=H.alignPoint,bn=H.onPopupClick,Tn=H.onPopupAlign,Wt=H.arrow,Yt=H.popupMotion,Rt=H.maskMotion,Ot=H.popupTransitionName,Ge=H.popupAnimation,xt=H.maskTransitionName,At=H.maskAnimation,Ue=H.className,Ce=H.getTriggerDOMNode,mt=(0,ee.Z)(H,Dt),lt=bt||ce||!1,Pt=x.useState(!1),Ht=(0,L.Z)(Pt,2),tn=Ht[0],Ut=Ht[1];(0,S.Z)(function(){Ut((0,u.Z)())},[]);var sn=x.useRef({}),dn=x.useContext(me),Mt=x.useMemo(function(){return{registerSubPopup:function(sr,Yr){sn.current[sr]=Yr,dn==null||dn.registerSubPopup(sr,Yr)}}},[dn]),It=(0,z.Z)(),un=x.useState(null),ln=(0,L.Z)(un,2),hn=ln[0],_n=ln[1],ir=(0,I.Z)(function(dr){(0,Se.Sh)(dr)&&hn!==dr&&_n(dr),dn==null||dn.registerSubPopup(It,dr)}),Bn=x.useState(null),rn=(0,L.Z)(Bn,2),dt=rn[0],gt=rn[1],kt=x.useRef(null),Vt=(0,I.Z)(function(dr){(0,Se.Sh)(dr)&&dt!==dr&&(gt(dr),kt.current=dr)}),Ft=x.Children.only(E),Qt=(Ft==null?void 0:Ft.props)||{},Gt={},vn=(0,I.Z)(function(dr){var sr,Yr,Mi=dt;return(Mi==null?void 0:Mi.contains(dr))||((sr=(0,a.A)(Mi))===null||sr===void 0?void 0:sr.host)===dr||dr===Mi||(hn==null?void 0:hn.contains(dr))||((Yr=(0,a.A)(hn))===null||Yr===void 0?void 0:Yr.host)===dr||dr===hn||Object.values(sn.current).some(function(li){return(li==null?void 0:li.contains(dr))||dr===li})}),En=Q(k,Yt,Ge,Ot),Fn=Q(k,Rt,At,xt),tr=x.useState(Ke||!1),Xn=(0,L.Z)(tr,2),ar=Xn[0],Dn=Xn[1],wn=we!=null?we:ar,gr=(0,I.Z)(function(dr){we===void 0&&Dn(dr)});(0,S.Z)(function(){Dn(we||!1)},[we]);var Gn=x.useRef(wn);Gn.current=wn;var Cr=x.useRef([]);Cr.current=[];var er=(0,I.Z)(function(dr){var sr;gr(dr),((sr=Cr.current[Cr.current.length-1])!==null&&sr!==void 0?sr:wn)!==dr&&(Cr.current.push(dr),ke==null||ke(dr))}),mr=x.useRef(),Sr=function(){clearTimeout(mr.current)},nr=function(sr){var Yr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Sr(),Yr===0?er(sr):mr.current=setTimeout(function(){er(sr)},Yr*1e3)};x.useEffect(function(){return Sr},[]);var kr=x.useState(!1),Jr=(0,L.Z)(kr,2),Qn=Jr[0],Cn=Jr[1];(0,S.Z)(function(dr){(!dr||wn)&&Cn(!0)},[wn]);var at=x.useState(null),Kn=(0,L.Z)(at,2),lr=Kn[0],Rr=Kn[1],Tr=x.useState([0,0]),Pr=(0,L.Z)(Tr,2),Ur=Pr[0],vr=Pr[1],Hn=function(sr){vr([sr.clientX,sr.clientY])},Mn=ut(wn,hn,$e?Ur:dt,rt,Ae,De,Tn),jn=(0,L.Z)(Mn,11),Er=jn[0],Nr=jn[1],hi=jn[2],Ei=jn[3],Vn=jn[4],Zr=jn[5],jr=jn[6],ni=jn[7],ji=jn[8],Ii=jn[9],Xr=jn[10],gi=ae(tn,X,G,K),oi=(0,L.Z)(gi,2),Ti=oi[0],Di=oi[1],Vi=Ti.has("click"),Ci=Di.has("click")||Di.has("contextMenu"),Zi=(0,I.Z)(function(){Qn||Xr()}),Kr=function(){Gn.current&&$e&&Ci&&nr(!1)};it(wn,dt,hn,Zi,Kr),(0,S.Z)(function(){Zi()},[Ur,rt]),(0,S.Z)(function(){wn&&!(Ae!=null&&Ae[rt])&&Zi()},[JSON.stringify(De)]);var aa=x.useMemo(function(){var dr=pe(Ae,k,Ii,$e);return q()(dr,ge==null?void 0:ge(Ii))},[Ii,ge,Ae,k,$e]);x.useImperativeHandle(O,function(){return{nativeElement:kt.current,forceAlign:Zi}});var ga=x.useState(0),ua=(0,L.Z)(ga,2),vi=ua[0],ca=ua[1],Ea=x.useState(0),Ln=(0,L.Z)(Ea,2),Li=Ln[0],na=Ln[1],ur=function(){if(Xe&&dt){var sr=dt.getBoundingClientRect();ca(sr.width),na(sr.height)}},xr=function(){ur(),Zi()},cr=function(sr){Cn(!1),Xr(),Te==null||Te(sr)},Zn=function(){return new Promise(function(sr){ur(),Rr(function(){return sr})})};(0,S.Z)(function(){lr&&(Xr(),lr(),Rr(null))},[lr]);function Br(dr,sr,Yr,Mi){Gt[dr]=function(li){var sa;Mi==null||Mi(li),nr(sr,Yr);for(var Va=arguments.length,Ha=new Array(Va>1?Va-1:0),ya=1;ya<Va;ya++)Ha[ya-1]=arguments[ya];(sa=Qt[dr])===null||sa===void 0||sa.call.apply(sa,[Qt,li].concat(Ha))}}(Vi||Ci)&&(Gt.onClick=function(dr){var sr;Gn.current&&Ci?nr(!1):!Gn.current&&Vi&&(Hn(dr),nr(!0));for(var Yr=arguments.length,Mi=new Array(Yr>1?Yr-1:0),li=1;li<Yr;li++)Mi[li-1]=arguments[li];(sr=Qt.onClick)===null||sr===void 0||sr.call.apply(sr,[Qt,dr].concat(Mi))}),nn(wn,Ci,dt,hn,pt,_t,vn,nr);var $r=Ti.has("hover"),Ni=Di.has("hover"),yi,Fi;$r&&(Br("onMouseEnter",!0,Ye,function(dr){Hn(dr)}),Br("onPointerEnter",!0,Ye,function(dr){Hn(dr)}),yi=function(sr){(wn||Qn)&&hn!==null&&hn!==void 0&&hn.contains(sr.target)&&nr(!0,Ye)},$e&&(Gt.onMouseMove=function(dr){var sr;(sr=Qt.onMouseMove)===null||sr===void 0||sr.call(Qt,dr)})),Ni&&(Br("onMouseLeave",!1,We),Br("onPointerLeave",!1,We),Fi=function(){nr(!1,We)}),Ti.has("focus")&&Br("onFocus",!0,yt),Di.has("focus")&&Br("onBlur",!1,St),Ti.has("contextMenu")&&(Gt.onContextMenu=function(dr){var sr;Gn.current&&Di.has("contextMenu")?nr(!1):(Hn(dr),nr(!0)),dr.preventDefault();for(var Yr=arguments.length,Mi=new Array(Yr>1?Yr-1:0),li=1;li<Yr;li++)Mi[li-1]=arguments[li];(sr=Qt.onContextMenu)===null||sr===void 0||sr.call.apply(sr,[Qt,dr].concat(Mi))}),Ue&&(Gt.className=q()(Qt.className,Ue));var Pi=(0,y.Z)((0,y.Z)({},Qt),Gt),va={},_a=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];_a.forEach(function(dr){mt[dr]&&(va[dr]=function(){for(var sr,Yr=arguments.length,Mi=new Array(Yr),li=0;li<Yr;li++)Mi[li]=arguments[li];(sr=Pi[dr])===null||sr===void 0||sr.call.apply(sr,[Pi].concat(Mi)),mt[dr].apply(mt,Mi)})});var Wa=x.cloneElement(Ft,(0,y.Z)((0,y.Z)({},Pi),va)),da={x:Zr,y:jr},fa=Wt?(0,y.Z)({},Wt!==!0?Wt:{}):null;return x.createElement(x.Fragment,null,x.createElement(C.Z,{disabled:!wn,ref:Vt,onResize:xr},x.createElement(j,{getTriggerDOMNode:Ce},Wa)),x.createElement(me.Provider,{value:Mt},x.createElement(R,{portal:se,ref:ir,prefixCls:k,popup:Me,className:q()(pn,aa),style:He,target:dt,onMouseEnter:yi,onMouseLeave:Fi,onPointerEnter:yi,zIndex:ze,open:wn,keepDom:Qn,fresh:an,onClick:bn,mask:pt,motion:En,maskMotion:Fn,onVisibleChanged:cr,onPrepare:Zn,forceRender:D,autoDestroy:lt,getPopupContainer:w,align:Ii,arrow:fa,arrowPos:da,ready:Er,offsetX:Nr,offsetY:hi,offsetR:Ei,offsetB:Vn,onAlign:Zi,stretch:Xe,targetWidth:vi/ni,targetHeight:Li/ji})))});return be}var ot=$t(Ee.Z)},1751:function(){"use strict"},38333:function(en,et,f){"use strict";f.d(et,{Z:function(){return u}});var y=f(59301),L=f(8591),ee=f(92832),Ee={codeBox:"codeBox___WpkVl"},$=f(92310),q=f.n($),C=Object.defineProperty,Se=(x,m,P)=>m in x?C(x,m,{enumerable:!0,configurable:!0,writable:!0,value:P}):x[m]=P,a=(x,m,P)=>Se(x,typeof m!="symbol"?m+"":m,P),I=(x,m,P)=>new Promise((ue,B)=>{var W=b=>{try{Y(P.next(b))}catch(R){B(R)}},ne=b=>{try{Y(P.throw(b))}catch(R){B(R)}},Y=b=>b.done?ue(b.value):Promise.resolve(b.value).then(W,ne);Y((P=P.apply(x,m)).next())});class z extends y.Component{constructor(m){super(m),a(this,"canvas"),a(this,"randomNum",(P,ue)=>Math.floor(Math.random()*(ue-P)+P)),a(this,"drawPic",()=>{this.randomCode()}),a(this,"reloadPic",()=>{this.drawPic()}),a(this,"changeCode",P=>{console.log(P.target.value,222),this.setState({value:P.target.value,showError:!1})}),a(this,"onVerify",()=>{let P;return this.state.value.toLowerCase()!==""&&this.state.value.toLowerCase()!==this.state.code.toLowerCase()?(P=!0,L.ZP.error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u9A8C\u8BC1\u7801"),this.reloadPic()):this.state.value.toLowerCase()===""?(P=!0,L.ZP.error("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801")):this.state.value.toLowerCase()===this.state.code.toLowerCase()&&(P=!1),this.setState({showError:P}),P}),this.canvas=y.createRef(),this.state={value:"",code:"",codeLength:4,fontSizeMin:20,fontSizeMax:22,backgroundColorMin:240,backgroundColorMax:250,colorMin:10,colorMax:20,lineColorMin:40,lineColorMax:180,contentWidth:96,contentHeight:38,showError:!1}}componentDidMount(){this.drawPic()}randomColor(m,P){const ue=this.randomNum(m,P),B=this.randomNum(m,P),W=this.randomNum(m,P);return`rgb(${ue}, ${B}, ${W})`}drawText(m,P,ue){m.fillStyle=this.randomColor(this.state.colorMin,this.state.colorMax);const B=this.randomNum(this.state.fontSizeMin,this.state.fontSizeMax);m.font=B+"px SimHei";const W=10,ne=(this.state.contentWidth-40)/(this.state.code.length-1);let Y=W;ue>0&&(Y=W+ue*ne);let b=this.randomNum(this.state.fontSizeMax,this.state.contentHeight-5);B>40&&(b=40);const R=this.randomNum(-10,10);m.translate(Y,b),m.rotate(R*Math.PI/180),m.fillText(P,0,0),m.rotate(-R*Math.PI/180),m.translate(-Y,-b)}drawLine(m){for(let P=0;P<1;P++)m.strokeStyle=this.randomColor(this.state.lineColorMin,this.state.lineColorMax),m.beginPath(),m.moveTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),m.lineTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),m.stroke()}drawDot(m){for(let P=0;P<100;P++)m.fillStyle=this.randomColor(0,255),m.beginPath(),m.arc(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight),1,0,2*Math.PI),m.fill()}randomCode(){let m="";const P="QWERTYUPLKJHGFDSAZXCVBNMqwertyupkjhgfdsazxcvbnm1234567890";for(let ue=0;ue<this.state.codeLength;ue++){const B=Math.floor(Math.random()*57);m+=P[B]}this.setState({code:m},()=>{const B=this.canvas.current.getContext("2d");B.textBaseline="bottom",B.fillStyle=this.randomColor(this.state.backgroundColorMin,this.state.backgroundColorMax),B.fillRect(0,0,this.state.contentWidth,this.state.contentHeight);for(let W=0;W<this.state.code.length;W++)this.drawText(B,this.state.code[W],W);this.drawLine(B),this.drawDot(B)})}render(){const{className:m,width:P=300}=this.props;return y.createElement("div",{className:q()(Ee.codeBox,m),style:{width:P}},y.createElement("aside",null,y.createElement(ee.default,{value:this.state.value,onChange:this.changeCode,placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u4E2D\u7684\u9A8C\u8BC1\u7801"})),y.createElement("div",null,y.createElement("canvas",{onClick:this.reloadPic,ref:this.canvas,width:"100",height:"30"}),y.createElement("div",{className:"current",onClick:this.reloadPic},"\u770B\u4E0D\u6E05\uFF1F\u6362\u4E00\u5F20")))}}const S=(x,m)=>{let P;Modal.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:React.createElement("div",null,React.createElement("p",null,m),React.createElement(z,{ref:ue=>P=ue})),onOk:()=>I(void 0,null,function*(){if(P.onVerify())return Promise.reject();x()})})};var u=z},97267:function(en,et,f){"use strict";var y=f(59301),L=f(93314),ee=f(3113),Ee=Object.defineProperty,$=Object.defineProperties,q=Object.getOwnPropertyDescriptors,C=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,I=(x,m,P)=>m in x?Ee(x,m,{enumerable:!0,configurable:!0,writable:!0,value:P}):x[m]=P,z=(x,m)=>{for(var P in m||(m={}))Se.call(m,P)&&I(x,P,m[P]);if(C)for(var P of C(m))a.call(m,P)&&I(x,P,m[P]);return x},S=(x,m)=>$(x,q(m));const u=({img:x,buttonProps:m={},styles:P={},customText:ue,ButtonText:B,ButtonClick:W,Buttonclass:ne,ButtonTwo:Y,imgStyles:b,loading:R=!1})=>y.createElement("section",{className:"tc animated fadeIn",style:z(z({},{color:"#999",margin:"100px auto",visibility:R?"hidden":"visible"}),P)},y.createElement("img",{src:x||L,style:S(z({},b),{pointerEvents:"none",userSelect:"none"})}),y.createElement("p",{className:"mt20 font14"},ue||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),B&&y.createElement(ee.ZP,z({className:ne,onClick:W},m),B),Y&&Y);et.Z=u},79646:function(en,et,f){"use strict";f.d(et,{Z:function(){return ne}});var y=f(59301),L={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},ee=f(3113),Ee=f(63093),$=f(48551),q=f(6848),C=f(58130),Se=f(79124),a=f(97267),I=f(10148),z=f(63486),S=f(59301),u=Object.defineProperty,x=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,ue=(Y,b,R)=>b in Y?u(Y,b,{enumerable:!0,configurable:!0,writable:!0,value:R}):Y[b]=R,B=(Y,b)=>{for(var R in b||(b={}))m.call(b,R)&&ue(Y,R,b[R]);if(x)for(var R of x(b))P.call(b,R)&&ue(Y,R,b[R]);return Y},W=(Y,b,R)=>new Promise((Z,j)=>{var he=ae=>{try{fe(R.next(ae))}catch(te){j(te)}},me=ae=>{try{fe(R.throw(ae))}catch(te){j(te)}},fe=ae=>ae.done?Z(ae.value):Promise.resolve(ae.value).then(he,me);fe((R=R.apply(Y,b)).next())}),ne=({editOffice:Y="view",data:b,theme:R,type:Z,filename:j,monacoEditor:he,className:me,style:fe,close:ae,onClose:te,hasMask:U,disabledDownload:pe,onImgDimensions:Q,showNodata:de,recordInfo:ie})=>{const[v,_]=(0,y.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[V,J]=(0,y.useState)(""),[Le,Oe]=(0,y.useState)(),Ie=window.ENV==="build"?"/react/build":"",Ze=location.host.startsWith("localhost")?I.Z.PROXY_SERVER:I.Z.API_SERVER,ct=10*(1024*1024),it=(0,y.useRef)();b!=null&&b.startsWith("/api")&&Z!=="txt"&&(b=I.Z.API_SERVER+b);const Nt=$t=>$t.substring($t.lastIndexOf("/")+1).split(".").pop();j&&he&&(he.filename=j),(0,y.useEffect)(()=>{var $t,ot;const se=(ot=($t=document.cookie)==null?void 0:$t.replace(/\s/g,""))==null?void 0:ot.split(";");se==null||se.map(be=>{let H=be.split("=");H[0]==="_educoder_session"&&J(H[1])})},[]),(0,y.useEffect)(()=>{Z==="office"&&(b.indexOf("bigfilescdn.")>-1||b.indexOf("bigfiles1")>-1?Oe({url:b,fileType:Nt(b),model:b.indexOf("model=edit")?"edit":"view"}):qt())},[Z,b]);const qt=()=>W(void 0,null,function*(){console.log("data:",b);let $t=b;b.startsWith("http")||($t=location.origin+$t);let ot=new URL($t).pathname.split("/").pop();const se=yield(0,Se.gJ)({attachment_id:ot});se.url=Ze+se.url,Oe(se)}),nn=()=>{if(b.startsWith("http")||b.startsWith("blob:")){Dt();return}(0,C.Sv)(j||"educoder",b,j)},Dt=()=>{ie&&(0,z.fc)({id:ie==null?void 0:ie.id,watch_type:1,course_id:ie==null?void 0:ie.course_id}),(0,C.Nd)(j||"educoder",decodeURIComponent(b))};return S.createElement("div",{style:B({},fe||{}),className:`${U&&L.bgBlack} ${Z?L.wrp:"hide"}`},ae&&S.createElement("div",{className:L.close,ref:it},!!Q&&S.createElement(q.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>it.current},S.createElement("span",{onClick:()=>{te(),Q()}},S.createElement("i",{className:"icon-yulanpizhu"}))),!pe&&S.createElement(q.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>it.current},S.createElement("span",{onClick:Dt},S.createElement("i",{className:"icon-quxiaozhiding"}))),S.createElement(q.Z,{title:"\u5173\u95ED",getPopupContainer:()=>it.current},S.createElement("span",{className:"",onClick:te},S.createElement("i",{className:"icon-guanbi1"})))),S.createElement("div",{className:`${L[me]} ${me} ${L.monaco} ${Z==="txt"?"show":"hide"}`},Z==="txt"&&S.createElement(S.Fragment,null,S.createElement($.ZP,B({},he)))),Z==="audio"&&S.createElement("audio",{src:`${(b==null?void 0:b.indexOf("http://"))>-1||(b==null?void 0:b.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${b}`,autoPlay:!0}),Z==="video"&&S.createElement(S.Fragment,null,(b==null?void 0:b.indexOf("http"))>-1?S.createElement("video",{controls:!0,src:`${b}`,autoPlay:!0}):S.createElement("video",{controls:!0,src:`data:video/mp4;base64,${b}`,autoPlay:!0})),Z==="office"&&Le&&S.createElement("iframe",{src:`${Ie}/office.html?key=${Le.key}&url=${btoa(Le.url)}&callbackUrl=${Ze+(Le.callbackUrl||"")}&fileType=${Le.fileType}&title=${Le.title||""}&model=${Y}&officeServer=${I.Z.ONLYOFFICE}&disabledDownload=${!!pe}`}),Z==="html"&&S.createElement("iframe",{src:b+"&disposition=inline"}),Z==="pdf"&&S.createElement("iframe",{src:`${Ie}/js/pdfview/index.html?filename=${j||"educoder.pdf"}&url=${encodeURIComponent(b)}&disabledDownload=${!!pe}`}),Z==="image"&&S.createElement("img",{src:`${(b==null?void 0:b.indexOf("http://"))>-1||(b==null?void 0:b.indexOf("https://"))>-1?"":"data:image/png;base64,"}${b}`}),(Z==="other"||Z==="download")&&S.createElement(S.Fragment,null,de?S.createElement(a.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:S.createElement(ee.ZP,{icon:S.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:nn,disabled:pe},"\u4E0B\u8F7D")}):S.createElement(ee.ZP,{type:"primary",size:"middle",onClick:nn,disabled:pe},S.createElement(Ee.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},25711:function(en,et,f){"use strict";f.d(et,{z:function(){return Z},Z:function(){return j}});var y=f(59301),L=f(1751),ee=f(31087),Ee=f(64018),$=f(37312),q=f(10148),C=f(58130),Se=f(15342),a=f(1012),I=f(79646),z=f(59301),u=({html:he})=>{const me=(0,y.useRef)(null),fe=(0,y.useRef)(null),ae=`.markdown-body p {
margin: 0 0 16px 0 !important;
line-height: 28px;
white-space: pre-wrap;
}
ol,
ul,
li {
list-style-type: none
}
ol,
ul,
dl {
margin-bottom: 0px;
}
.markdown-body {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
color: #333;
overflow: hidden;
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
word-break: break-word;
font-size: 16px;
line-height: 1.6;
white-space: normal;
word-wrap: break-word;
position: relative;
}
.markdown-body ul>li {
list-style-type: disc;
}
.markdown-body ol>li {
list-style-type: decimal;
}
.markdown-body a {
background: transparent;
}
.markdown-body a:active,
.markdown-body a:hover {
outline: 0;
}
.markdown-body strong {
font-weight: bold;
}
.markdown-body h1 {
font-size: 2em;
margin: 0.67em 0;
}
.markdown-body img {
border: 0;
}
.markdown-body hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
.markdown-body pre {
overflow: auto;
}
.markdown-body code,
.markdown-body kbd,
.markdown-body pre {
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
font-size: 1em;
}
.markdown-body input {
color: inherit;
font: inherit;
margin: 0;
}
.markdown-body html input[disabled] {
cursor: default;
}
.markdown-body input {
line-height: normal;
}
.markdown-body input[type="checkbox"] {
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
}
.markdown-body table {
border-collapse: collapse;
border-spacing: 0;
}
.markdown-body td,
.markdown-body th {
padding: 0;
}
.markdown-body * {
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.markdown-body input {
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
}
.markdown-body a {
color: #4183c4;
text-decoration: none;
}
.markdown-body a:hover,
.markdown-body a:active {
text-decoration: underline;
}
.markdown-body hr {
height: 0;
margin: 15px 0;
overflow: hidden;
background: transparent;
border: 0;
border-bottom: 1px solid #ddd;
}
.markdown-body hr:before {
display: table;
content: "";
}
.markdown-body hr:after {
display: table;
clear: both;
content: "";
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
margin-top: 15px;
margin-bottom: 15px;
line-height: 1.1;
}
.markdown-body h1 {
font-size: 30px;
}
.markdown-body h2 {
font-size: 21px;
}
.markdown-body h3 {
font-size: 16px;
}
.markdown-body h4 {
font-size: 14px;
}
.markdown-body h5 {
font-size: 12px;
}
.markdown-body h6 {
font-size: 11px;
}
.markdown-body blockquote {
margin: 0;
}
.markdown-body ul,
.markdown-body ol {
padding: 0;
margin-top: 0;
margin-bottom: 0;
}
ul.linenums,
ol.linenums {
padding: 16px 0 0 36px !important;
}
.markdown-body ul,
.markdown-body ol {
padding-left: 2em;
}
.markdown-body ol ol,
.markdown-body ul ol {
list-style-type: lower-roman;
}
.markdown-body ul ul ol,
.markdown-body ul ol ol,
.markdown-body ol ul ol,
.markdown-body ol ol ol {
list-style-type: lower-alpha;
}
.markdown-body dd {
margin-left: 0;
}
.markdown-body code {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 12px;
}
.markdown-body pre {
margin-top: 0;
margin-bottom: 0;
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
.markdown-body .octicon {
font: normal normal 16px octicons-anchor;
line-height: 1;
display: inline-block;
text-decoration: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.markdown-body .octicon-link:before {
content: '\f05c';
}
.markdown-body>*:first-child {
margin-top: 0 !important;
}
.markdown-body>*:last-child {
margin-bottom: 0 !important;
}
.markdown-body .anchor {
position: absolute;
top: 0;
left: 0;
display: block;
padding-right: 6px;
padding-left: 30px;
margin-left: -30px;
}
.markdown-body .anchor:focus {
outline: none;
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
position: relative;
margin-top: 1em;
margin-bottom: 16px;
font-weight: bold;
line-height: 1.4;
}
.markdown-body h1 .octicon-link,
.markdown-body h2 .octicon-link,
.markdown-body h3 .octicon-link,
.markdown-body h4 .octicon-link,
.markdown-body h5 .octicon-link,
.markdown-body h6 .octicon-link {
display: none;
color: #000;
vertical-align: middle;
}
.markdown-body h1:hover .anchor,
.markdown-body h2:hover .anchor,
.markdown-body h3:hover .anchor,
.markdown-body h4:hover .anchor,
.markdown-body h5:hover .anchor,
.markdown-body h6:hover .anchor {
padding-left: 8px;
margin-left: -30px;
text-decoration: none;
}
.markdown-body h1:hover .anchor .octicon-link,
.markdown-body h2:hover .anchor .octicon-link,
.markdown-body h3:hover .anchor .octicon-link,
.markdown-body h4:hover .anchor .octicon-link,
.markdown-body h5:hover .anchor .octicon-link,
.markdown-body h6:hover .anchor .octicon-link {
display: inline-block;
}
.markdown-body h1 {
padding-bottom: 0.3em;
font-size: 2.25em;
line-height: 1.2;
border-bottom: 1px solid #eee;
}
.markdown-body h1 .anchor {
line-height: 1;
}
.markdown-body h2 {
padding-bottom: 0.3em;
font-size: 1.75em;
line-height: 1.225;
border-bottom: 1px solid #eee;
}
.markdown-body h2 .anchor {
line-height: 1;
}
.markdown-body h3 {
font-size: 1.5em;
line-height: 1.43;
}
.markdown-body h3 .anchor {
line-height: 1.2;
}
.markdown-body h4 {
font-size: 1.25em;
}
.markdown-body h4 .anchor {
line-height: 1.2;
}
.markdown-body h5 {
font-size: 1em;
}
.markdown-body h5 .anchor {
line-height: 1.1;
}
.markdown-body h6 {
font-size: 1em;
color: #777;
}
.markdown-body h6 .anchor {
line-height: 1.1;
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
margin-top: 0;
margin-bottom: 16px;
}
.markdown-body ul ul,
.markdown-body ul ol,
.markdown-body ol ol,
.markdown-body ol ul {
margin-top: 0;
margin-bottom: 0;
}
.markdown-body li>p {
margin-top: 16px;
}
.markdown-body dl {
padding: 0;
}
.markdown-body dl dt {
padding: 0;
margin-top: 16px;
font-size: 1em;
font-style: italic;
font-weight: bold;
}
.markdown-body dl dd {
padding: 0 16px;
margin-bottom: 16px;
}
.markdown-body blockquote {
padding: 0 15px;
color: #777;
border-left: 4px solid #ddd;
}
.markdown-body blockquote> :first-child {
margin-top: 0;
}
.markdown-body blockquote> :last-child {
margin-bottom: 0;
}
.markdown-body table {
display: block;
width: 100%;
overflow: auto;
word-break: normal;
word-break: keep-all;
}
.markdown-body table th {
font-weight: bold;
text-align: revert;
}
.markdown-body table th,
.markdown-body table td {
padding: 6px 13px;
border: 1px solid #ddd;
}
.markdown-body table tr {
background-color: #fff;
border-top: 1px solid #ccc;
}
.markdown-body table tr:nth-child(2n) {
background-color: #f8f8f8;
}
.markdown-body img {
max-width: 100%;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.markdown-body code {
padding: 0;
padding-top: 0.2em;
padding-bottom: 0.2em;
margin: 0;
font-size: 85%;
background-color: rgba(0, 0, 0, 0.04);
border-radius: 3px;
}
.markdown-body code:has(.katex) {
background-color: transparent;
}
.markdown-body code:before,
.markdown-body code:after {
letter-spacing: -0.2em;
content: "\\00a0";
}
.markdown-body pre>code {
padding: 0;
margin: 0;
font-size: 100%;
word-break: normal;
white-space: pre;
background: transparent;
border: 0;
}
.markdown-body .highlight {
margin-bottom: 16px;
}
.markdown-body .highlight pre,
.markdown-body pre {
padding: 16px;
overflow: auto;
font-size: 85%;
line-height: 1.45;
background-color: #f7f7f7;
border-radius: 3px;
}
.markdown-body .highlight pre {
margin-bottom: 0;
word-break: normal;
}
.markdown-body pre {
word-wrap: normal;
}
.markdown-body pre code {
display: inline;
max-width: initial;
padding: 0;
margin: 0;
overflow: initial;
line-height: inherit;
word-wrap: normal;
background-color: transparent;
border: 0;
}
.markdown-body pre code:before,
.markdown-body pre code:after {
content: normal;
}
.markdown-body kbd {
display: inline-block;
padding: 3px 5px;
font-size: 11px;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}
.markdown-body .pl-c {
color: #969896;
}
.markdown-body .pl-c1,
.markdown-body .pl-mdh,
.markdown-body .pl-mm,
.markdown-body .pl-mp,
.markdown-body .pl-mr,
.markdown-body .pl-s1 .pl-v,
.markdown-body .pl-s3,
.markdown-body .pl-sc,
.markdown-body .pl-sv {
color: #0086b3;
}
.markdown-body .pl-e,
.markdown-body .pl-en {
color: #795da3;
}
.markdown-body .pl-s1 .pl-s2,
.markdown-body .pl-smi,
.markdown-body .pl-smp,
.markdown-body .pl-stj,
.markdown-body .pl-vo,
.markdown-body .pl-vpf {
color: #333;
}
.markdown-body .pl-ent {
color: #63a35c;
}
.markdown-body .pl-k,
.markdown-body .pl-s,
.markdown-body .pl-st {
color: #a71d5d;
}
.markdown-body .pl-pds,
.markdown-body .pl-s1,
.markdown-body .pl-s1 .pl-pse .pl-s2,
.markdown-body .pl-sr,
.markdown-body .pl-sr .pl-cce,
.markdown-body .pl-sr .pl-sra,
.markdown-body .pl-sr .pl-sre,
.markdown-body .pl-src {
color: #df5000;
}
.markdown-body .pl-mo,
.markdown-body .pl-v {
color: #1d3e81;
}
.markdown-body .pl-id {
color: #b52a1d;
}
.markdown-body .pl-ii {
background-color: #b52a1d;
color: #f8f8f8;
}
.markdown-body .pl-sr .pl-cce {
color: #63a35c;
font-weight: bold;
}
.markdown-body .pl-ml {
color: #693a17;
}
.markdown-body .pl-mh,
.markdown-body .pl-mh .pl-en,
.markdown-body .pl-ms {
color: #1d3e81;
font-weight: bold;
}
.markdown-body .pl-mq {
color: #008080;
}
.markdown-body .pl-mi {
color: #333;
font-style: italic;
}
.markdown-body .pl-mb {
color: #333;
font-weight: bold;
}
.markdown-body .pl-md,
.markdown-body .pl-mdhf {
background-color: #ffecec;
color: #bd2c00;
}
.markdown-body .pl-mdht,
.markdown-body .pl-mi1 {
background-color: #eaffea;
color: #55a532;
}
.markdown-body .pl-mdr {
color: #795da3;
font-weight: bold;
}
.markdown-body kbd {
display: inline-block;
padding: 3px 5px;
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}
.markdown-body .task-list-item {
list-style-type: none;
}
.markdown-body .task-list-item+.task-list-item {
margin-top: 3px;
}
.markdown-body .task-list-item input {
float: left;
margin: 0.3em 0 0.25em -1.6em;
vertical-align: middle;
}
.markdown-body :checked+.radio-label {
z-index: 1;
position: relative;
border-color: #4183c4;
}
/*! Pretty printing styles. Used with prettify.js. */
/* SPAN elements with the classes below are added by prettyprint. */
.pln {
color: #000
}
/* plain text */
@media screen {
.str {
color: #080
}
/* string content */
.kwd {
color: #008
}
/* a keyword */
.com {
color: #800
}
/* a comment */
.typ {
color: #606
}
/* a type name */
.lit {
color: #066
}
/* a literal value */
/* punctuation, lisp open bracket, lisp close bracket */
.pun,
.opn,
.clo {
color: #660
}
.tag {
color: #008
}
/* a markup tag name */
.atn {
color: #606
}
/* a markup attribute name */
.atv {
color: #080
}
/* a markup attribute value */
.dec,
.var {
color: #606
}
/* a declaration; a variable name */
.fun {
color: red
}
/* a function name */
}
/* Use higher contrast and text-weight for printable form. */
@media print,
projection {
.str {
color: #060
}
.kwd {
color: #006;
font-weight: bold
}
.com {
color: #600;
font-style: italic
}
.typ {
color: #404;
font-weight: bold
}
.lit {
color: #044
}
.pun,
.opn,
.clo {
color: #440
}
.tag {
color: #006;
font-weight: bold
}
.atn {
color: #404
}
.atv {
color: #060
}
}
/* Put a border around prettyprinted code snippets. */
pre.prettyprint {
padding: 2px;
/* border: 1px solid #888 */
}
/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
margin-top: 0;
margin-bottom: 0
}
/* IE indents via margin-left */
li.L0,
li.L1,
li.L2,
li.L3,
li.L5,
li.L6,
li.L7,
li.L8 {
list-style-type: none
}
/* Alternate shading for lines */
li.L1,
li.L3,
li.L5,
li.L7,
li.L9 {
background: #eee
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
margin-top: 0;
margin-bottom: 16px;
}`;return(0,y.useEffect)(()=>{const te=me.current.attachShadow({mode:"open"});fe.current=document.createElement("div"),fe.current.className="markdown-body",fe.current.innerHTML=he,te.appendChild(fe.current);const U=document.createElement("style");return U.textContent=ae,te.appendChild(U),()=>{te.innerHTML=""}},[]),(0,y.useEffect)(()=>{fe.current&&(fe.current.innerHTML=he)},[he]),z.createElement("div",{ref:me})},x=Object.defineProperty,m=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,B=(he,me,fe)=>me in he?x(he,me,{enumerable:!0,configurable:!0,writable:!0,value:fe}):he[me]=fe,W=(he,me)=>{for(var fe in me||(me={}))P.call(me,fe)&&B(he,fe,me[fe]);if(m)for(var fe of m(me))ue.call(me,fe)&&B(he,fe,me[fe]);return he};const ne="@\u2581\u2581@",Y="@\u2581@",b=/<pre[^>]*>/g;function R(he){let me=document.createElement("div");return me.innerHTML=he,me.childNodes.length===0?"":me.childNodes[0].nodeValue}const Z=(he,me)=>{he=he||"";const fe=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,ae=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,te=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,U=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return me?he.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(fe,(pe,Q,de,ie,v,_,V)=>{const J=Q||ie||_,Le=de||v||V||"?";return q.Z.API_SERVER+"/api/attachments/"+J+Le+"&t="+(0,C.Jn)(J,Date.now())+(pe.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(he=he.replace(U,(pe,Q,de,ie,v,_,V)=>{const J=Q||ie||_,Le=de||v||V||"?";return q.Z.API_SERVER+"/attachments/download/"+J+Le+"&t="+(0,C.Jn)(J,Date.now())+(pe.indexOf(")")>-1?")":"&")}).replace(fe,(pe,Q,de,ie,v,_,V)=>{const J=Q||ie||_,Le=de||v||V||"?";return q.Z.API_SERVER+"/api/attachments/"+J+Le+"&t="+(0,C.Jn)(J,Date.now())+(pe.indexOf(")")>-1?")":"&")}).replace(ae,(pe,Q,de,ie,v)=>{const _=Q||ie,V=de||v||"";return'"'+q.Z.API_SERVER+"/api/attachments/"+_+V+_+V+"&t="+(0,C.Jn)(_,Date.now())}).replace(te,(pe,Q,de,ie,v)=>{const _=Q||ie,V=de||v||"";return"("+q.Z.API_SERVER+"/files/uploads/"+_+V+_+V+"&t="+(0,C.Jn)(_,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`),he)};var j=({value:he="",className:me,showTextOnly:fe,showLines:ae,style:te={},stylesPrev:U={},highlightKeywords:pe,showProgramFill:Q,isProgramFill:de,disabledFill:ie=!1,programFillValue:v,onFillChange:_=Le=>{},onFillBlur:V=()=>{},onFillFocus:J=()=>{}})=>{let Le=String(he);const[Oe,Ie]=(0,y.useState)(""),[Ze,ut]=(0,y.useState)("office"),[ct,it]=(0,y.useState)([]),Nt=(0,y.useRef)("a"+(0,a.Z)()),qt={},nn=(X,G,K)=>{const we=document.createElement(X===Y?"input":"textarea");we.style.width="100%",we.style.height=X===Y?"40px":"151px",we.rows=5,we.spellcheck=!1,we.name="edu-program-fill",we.placeholder="\u8BF7\u8F93\u5165",we.dataset.id=G;const Ke=Object.keys(qt).length;return qt[Ke]=we,`<span class="edu-program-fill-wrap ${X===Y?"":"show"}" style="width:${X===Y?"400px":"100%"}" title=${K||""}><span>${we.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Dt(X){return X=X.replace(/!\[.*?\]\(.*?\)/g,""),X=X.replace(/\[.*?\]\(.*?\)/g,""),X=X.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),X=X.replace(/<embed.*?>/g,""),X=X.replace(/<img.*?>/g,""),X=X.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),X=X.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),X=X.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),X=X.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),X}const $t=X=>X.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(G,K){let we=K.replace(/(\n|\r)/g,"").split("}"),Ke=[];return we.map(ke=>{ke!=""&&Ke.push(`.${Nt.current} ${ke}`)}),`<style>${Ke.join("}")}</style>`}),ot=(0,y.useMemo)(()=>{try{const we=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Ke=/\"\/api\/attachments\/|\"\/attachments\/download\//g,ke=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Te=/\(\/attachments\/download\//g;Le=Le.replace(Te,"("+q.Z.API_SERVER+"/attachments/download/").replace(we,"("+q.Z.API_SERVER+"/api/attachments/").replace(Ke,'"'+q.Z.API_SERVER+"/api/attachments/").replace(ke,'"'+q.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`)}catch(we){}if(Q){let we=-1;return Le=Le.replaceAll("<","&lt;").replaceAll(">","&gt;").replace(/(@▁▁@|@▁@)/g,function(Ke,ke,Te){var Ye;return++we,nn(Ke,we,(Ye=v==null?void 0:v[we])==null?void 0:Ye.value.replaceAll("<","&lt;").replaceAll(">","&gt;"))}),`<pre style="background:#fff;padding:4px">${$t(Le||"")}</pre>`}let X=$t(Le);X=(0,ee.ZP)(X);const G=(0,ee.ez)();Le.match(/\[TOC\]/)&&(X=X.replace("<p>[TOC]</p>",(0,ee.Qv)()),(0,ee.Iy)()),X=X.replace(/(__special_katext_id_\d+__)/g,(we,Ke)=>{const{type:ke,expression:Te}=G[Ke];return(0,Se.renderToString)(R(Te)||"",{displayMode:ke==="block",throwOnError:!1,output:"html"})}),X=X.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,ee.AL)();const K=document.createElement("div");if(K.innerHTML=X,fe)return K.innerText;if(pe){const we=pe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return O(K,we),K.innerHTML}return setTimeout(()=>E(),500),K.innerHTML},[Le,pe]);(0,y.useEffect)(()=>{xe.current&&xe.current.querySelectorAll(["input","textarea"]).forEach(G=>{G.oninput=se,G.onblur=be,G.onfocus=H})},[ct]),(0,y.useEffect)(()=>{var X,G,K,we,Ke;if(v!=null&&v.length)try{const ke=xe.current.querySelectorAll(".edu-program-fill-score"),Te=xe.current.querySelectorAll('[name="edu-program-fill"]');for(const[Ye,tt]of Te.entries())tt.value=((X=v==null?void 0:v[Ye])==null?void 0:X.value)||"",((G=v==null?void 0:v[Ye])==null?void 0:G.type)==="warning"?tt.className="program-fill-warning":((K=v==null?void 0:v[Ye])==null?void 0:K.type)==="success"?tt.className="program-fill-success":tt.className="";for(const[Ye,tt]of ke.entries())tt.innerHTML=(we=v==null?void 0:v[Ye])!=null&&we.score?`${(Ke=v==null?void 0:v[Ye])==null?void 0:Ke.score}\u5206`:"";it(v)}catch(ke){console.log(ke,"error")}},[v]);const se=X=>{ct[X.target.dataset.id]=ct[X.target.dataset.id]||{},ct[X.target.dataset.id].value=X.target.value,it([...ct]),_(ct,X.target.dataset.id)},be=X=>{ct[X.target.dataset.id]=ct[X.target.dataset.id]||{},ct[X.target.dataset.id].value=X.target.value,it([...ct]),V(ct,X.target.dataset.id)},H=X=>{ct[X.target.dataset.id]=ct[X.target.dataset.id]||{},ct[X.target.dataset.id].value=X.target.value,it([...ct]),J(ct,X.target.dataset.id)};function O(X,G){return X.childNodes.forEach(K=>{var we;if(K.childNodes.length>0)O(K,G);else if(K.nodeName!=="IMG")if(K.innerHTML)K.innerHTML=(we=K.innerHTML)==null?void 0:we.replace(new RegExp(G,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Ke=document.createElement("span");Ke.innerHTML=K.textContent.replace(new RegExp(G,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),K.replaceWith(Ke)}})}const xe=(0,y.useRef)();ee.jb.WebkitLineClamp=ae,ae&&(te=W(W({},te),ee.jb));function k(X){let G=X.target;if(G.tagName.toUpperCase()==="A"){let K=G.getAttribute("href");if(K.indexOf("office")>-1)X.preventDefault(),Ie(K),ut("office");else if(K.indexOf("application/pdf")>-1)X.preventDefault(),Ie(K),ut("pdf");else if(K.indexOf("text/html")>-1)X.preventDefault(),Ie(K),ut("html");else if(K.startsWith("#")){X.preventDefault();let we=document.getElementById(K.replace("#",""));we&&we.scrollIntoView(!0)}}}const E=()=>{var X;const G=(X=xe.current)==null?void 0:X.querySelectorAll("video");G==null||G.forEach(K=>{if(K.oncontextmenu=()=>!1,K.src.indexOf(".m3u8")>-1&&!K.canPlayType("application/vnd.apple.mpegurl")){if($.ZP.isSupported()){var we=new $.ZP;we.loadSource(K.src),we.attachMedia(K)}}})};(0,y.useEffect)(()=>{if(xe.current&&ot&&ot.match(b)&&window.PR.prettyPrint(),xe.current)return xe.current.addEventListener("click",k),()=>{var X;(X=xe.current)==null||X.removeEventListener("click",k),(0,ee.AL)(),(0,ee.Iy)()}},[ot,xe.current,k]),(0,y.useEffect)(()=>{var X;const G=K=>{K.preventDefault(),K.clipboardData.setData("text",window.getSelection().toString())};return(X=xe.current)==null||X.addEventListener("copy",G),()=>{var K;(K=xe.current)==null||K.removeEventListener("copy",G)}},[xe.current]);const T=X=>/<style[\s\S]*?>/i.test(X||"");return y.createElement(y.Fragment,null,fe&&y.createElement("div",{ref:xe},ot),!fe&&!T(ot)&&y.createElement("div",{ref:xe,style:W({},te),className:`${me||""} ${ie?"disabled-fill":""} markdown-body ${Nt.current}`,dangerouslySetInnerHTML:{__html:ot}}),!fe&&T(ot)&&y.createElement(u,{html:ot}),y.createElement(I.Z,{close:!0,data:Oe,type:Oe!=null&&Oe.length?Ze:"",style:W({},U),onClose:()=>Ie("")}))}},48551:function(en,et,f){"use strict";f.d(et,{SV:function(){return xe},ZP:function(){return O}});var y=f(59301),L=f(76374);const ee={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},Ee={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},$={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
`)},{label:"if",content:["if () {"," $0","}"].join(`
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
`)},{label:"include <vector>",content:["#include <vector>"].join(`
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
`)},{label:"include <map>",content:["#include <map>"].join(`
`)},{label:"include <string>",content:["#include <string>"].join(`
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
`)}]},q={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
`)}]},C={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
`)}]};var Se=f(86061),a=f.n(Se),I=Object.defineProperty,z=Object.defineProperties,S=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,P=(k,E,T)=>E in k?I(k,E,{enumerable:!0,configurable:!0,writable:!0,value:T}):k[E]=T,ue=(k,E)=>{for(var T in E||(E={}))x.call(E,T)&&P(k,T,E[T]);if(u)for(var T of u(E))m.call(E,T)&&P(k,T,E[T]);return k},B=(k,E)=>z(k,S(E)),W=(k,E,T)=>new Promise((X,G)=>{var K=ke=>{try{Ke(T.next(ke))}catch(Te){G(Te)}},we=ke=>{try{Ke(T.throw(ke))}catch(Te){G(Te)}},Ke=ke=>ke.done?X(ke.value):Promise.resolve(ke.value).then(K,we);Ke((T=T.apply(k,E)).next())});const ne={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},Y=(k,E)=>E.map(T=>({label:T,kind:k.languages.CompletionItemKind.Keyword,insertText:T})),b=k=>Object.keys(ne.tables).map(E=>({label:E,kind:k.languages.CompletionItemKind.Variable,insertText:E})),R=(k,E)=>{const T=ne.tables[k];return T?T.map(X=>({label:X,kind:E.languages.CompletionItemKind.Field,insertText:X})):[]};function Z(k,E,T,X,G){let K=E.getWordUntilPosition(T),we={startLineNumber:T.lineNumber,endLineNumber:T.lineNumber,startColumn:K.startColumn,endColumn:K.endColumn},Ke=X.map(ke=>({label:ke,kind:k.languages.CompletionItemKind.Keyword,insertText:ke,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:we}));return G.map(ke=>{Ke.push(B(ue({},ke),{range:we}))}),Ke}var j=k=>{ne.languages.map(G=>(k.languages.registerDocumentFormattingEditProvider(G,{provideDocumentFormattingEdits(K,we,Ke){return W(this,null,function*(){const ke=a()(K.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:K.getFullModelRange(),text:ke}]})}}),G));const E=$.quickKey.map(G=>({label:G.label,kind:k.languages.CompletionItemKind.Method,insertText:G.content,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet})),T=q.quickKey.map(G=>({label:G.label,kind:k.languages.CompletionItemKind.Method,insertText:G.content,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet})),X=Ee.quickKey.map(G=>({label:G.label,kind:k.languages.CompletionItemKind.Method,insertText:G.content,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet}));k.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(G,K){var we=G.getWordUntilPosition(K),Ke={startLineNumber:K.lineNumber,endLineNumber:K.lineNumber,startColumn:we.startColumn,endColumn:we.endColumn},ke=G.getLineContent(K.lineNumber).substring(we.startColumn-2,we.endColumn);return{suggestions:[...$.keywords.map(Te=>({label:Te,kind:k.languages.CompletionItemKind.Function,documentation:Te,insertText:Te,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke})),...$.quickKey.map(Te=>({label:Te.label,kind:k.languages.CompletionItemKind.Function,documentation:Te.content,insertText:ke.startsWith("#")?Te.content.replace(/#/,""):Te.content,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}))]}}}),k.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(G,K){var we=G.getWordUntilPosition(K),Ke={startLineNumber:K.lineNumber,endLineNumber:K.lineNumber,startColumn:we.startColumn,endColumn:we.endColumn};return{suggestions:[...ee.keywords.map(ke=>({label:ke,kind:k.languages.CompletionItemKind.Function,documentation:ke,insertText:ke,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}))]}}}),k.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(G,K){var we=G.getWordUntilPosition(K),Ke={startLineNumber:K.lineNumber,endLineNumber:K.lineNumber,startColumn:we.startColumn,endColumn:we.endColumn},ke=G.getLineContent(K.lineNumber).substring(we.startColumn-2,we.endColumn);return{suggestions:[...Ee.keywords.map(Te=>({label:Te,kind:k.languages.CompletionItemKind.Function,documentation:Te,insertText:Te,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke})),...Ee.quickKey.map(Te=>({label:Te.label,kind:k.languages.CompletionItemKind.Function,documentation:Te.content,insertText:ke.startsWith("#")?Te.content.replace(/#/,""):Te.content,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}))]}}}),k.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(G,K){var we=G.getWordUntilPosition(K),Ke={startLineNumber:K.lineNumber,endLineNumber:K.lineNumber,startColumn:we.startColumn,endColumn:we.endColumn},ke=G.getLineContent(K.lineNumber).substring(we.startColumn-2,we.endColumn);return{suggestions:[...C.keywords.map(Te=>({label:Te,kind:k.languages.CompletionItemKind.Function,documentation:Te,insertText:Te,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke})),...C.quickKey.map(Te=>({label:Te.label,kind:k.languages.CompletionItemKind.Function,documentation:Te.content,insertText:ke.startsWith("#")?Te.content.replace(/#/,""):Te.content,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}))]}}}),k.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(G,K){var we=G.getWordUntilPosition(K),Ke={startLineNumber:K.lineNumber,endLineNumber:K.lineNumber,startColumn:we.startColumn,endColumn:we.endColumn},ke=G.getLineContent(K.lineNumber).substring(we.startColumn-2,we.endColumn);return{suggestions:[...q.keywords.map(Te=>({label:Te,kind:k.languages.CompletionItemKind.Function,documentation:Te,insertText:Te,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke})),...q.quickKey.map(Te=>({label:Te.label,kind:k.languages.CompletionItemKind.Function,documentation:Te.content,insertText:ke.startsWith("#")?Te.content.replace(/#/,""):Te.content,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}))]}}})};const he="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var me=Object.defineProperty,fe=(k,E,T)=>E in k?me(k,E,{enumerable:!0,configurable:!0,writable:!0,value:T}):k[E]=T,ae=(k,E,T)=>fe(k,typeof E!="symbol"?E+"":E,T);const te=class Al{constructor(E,T,X){this.placeholder=E,this.editor=T,this.monaco=X,T.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Al.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};ae(te,"ID","editor.widget.placeholderHint");var pe=te,Q=f(96236),de=f(8591),ie=f(6848),v=f(89392),_=f(86766),V=f(56102),J=Object.defineProperty,Le=Object.defineProperties,Oe=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,ct=(k,E,T)=>E in k?J(k,E,{enumerable:!0,configurable:!0,writable:!0,value:T}):k[E]=T,it=(k,E)=>{for(var T in E||(E={}))Ze.call(E,T)&&ct(k,T,E[T]);if(Ie)for(var T of Ie(E))ut.call(E,T)&&ct(k,T,E[T]);return k},Nt=(k,E)=>Le(k,Oe(E)),qt=(k,E)=>{var T={};for(var X in k)Ze.call(k,X)&&E.indexOf(X)<0&&(T[X]=k[X]);if(k!=null&&Ie)for(var X of Ie(k))E.indexOf(X)<0&&ut.call(k,X)&&(T[X]=k[X]);return T},nn=(k,E,T)=>new Promise((X,G)=>{var K=ke=>{try{Ke(T.next(ke))}catch(Te){G(Te)}},we=ke=>{try{Ke(T.throw(ke))}catch(Te){G(Te)}},Ke=ke=>ke.done?X(ke.value):Promise.resolve(ke.value).then(K,we);Ke((T=T.apply(k,E)).next())});function Dt(k){return/^\d+$/.test(k)?`${k}px`:k}function $t(){}let ot=!1;const se={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function be(k=[]){let E=k;if(Array.isArray(k)){for(let T=0;T<k.length;T++){let X=se[k[T]];if(X)return X}return E[0]}return se[E]||E}let H=null;var O=k=>{var E=k,{width:T="100%",height:X="100%",value:G,language:K="javascript",style:we={},options:Ke={},overrideServices:ke={},theme:Te="vs-dark",onEditBlur:Ye,isCopy:tt=!1,onSave:We,autoHeight:yt=!1,forbidCopy:St=!1,onChange:pt=$t,editorDidMount:Lt=$t,onFocus:_t=$t,onBreakPoint:w=$t,breakPointValue:D=[],filename:bt="educoder.txt",errorLine:ce,errorContent:Me="",highlightLine:pn,openBreakPoint:He=!1,placeholder:rt=""}=E,Je=qt(E,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const Ae=(0,y.useRef)(),De=(0,y.useRef)({}),ze=(0,y.useRef)(),Xe=(0,y.useRef)(),ge=(0,y.useRef)([]),an=(0,y.useRef)(!1),$e=(0,y.useRef)(),bn=(0,y.useRef)(),Tn=(0,y.useRef)(!1),[Wt,Yt]=(0,y.useState)(!1);function Rt(){let Mt;return Ae.current&&(Mt=new L.Z(It=>{for(let un of It)(un.target.offsetHeight>0||un.target.offsetWidth>0)&&De.current.instance.layout()}),Mt.observe(Ae.current)),Mt}function Ot(){de.ZP.warning({content:decodeURIComponent(he),key:"monaco-editor-tip"})}const Ge=()=>{let Mt=De.current.instance;if(G!=null&&Mt&&Wt){const It=Mt.getModel();It&&G!==It.getValue()&&(ot=!0,It.setValue(G),Mt.layout(),ot=!1)}};(0,y.useEffect)(()=>{const Mt=_.Z.subscribe("formatDocument",It=>{var un;let ln=De.current.instance;(un=ln==null?void 0:ln.getAction)==null||un.call(ln,"editor.action.formatDocument").run()});return window.updateMonacoValue=It=>{pt(It)},Mt},[]),(0,y.useEffect)(()=>{var Mt;let It=De.current.instance;Xe.current&&clearTimeout(Xe.current),Xe.current=setTimeout(()=>{Ge()},500),G&&(G!=null&&G.length)&&((Mt=It==null?void 0:It.updateOptions)==null||Mt.call(It,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(G.split(/\r\n|\r|\n/g).length))+3,5)}))},[G,Wt,De.current]),(0,y.useEffect)(()=>{if(ce&&De.current&&De.current.instance){let It=De.current.instance;It.changeViewZones(function(un){var ln=document.createElement("div");ln.style.padding="10px 20px",ln.style.width="calc(100% - 20px)",ln.className="my-error-line-wrp",ln.innerHTML=Me,un.addZone({afterLineNumber:ce||11,heightInLines:3,domNode:ln})});var Mt={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};It.addOverlayWidget(Mt),It.revealPositionInCenter({lineNumber:20,column:1})}},[ce,De.current,Wt]);const xt=(Mt="",It)=>{if(!Mt||Mt.trim()==="")return!0;const ln=De.current.instance.getModel().getLineTokens(It);let hn=!1;for(let _n=0;_n<2;_n++)ln.getStandardTokenType(_n)===1&&(hn=!0);return hn};(0,y.useEffect)(()=>{var Mt;const It=(Mt=De.current)==null?void 0:Mt.instance;if(It&&Wt&&St){const un=It.onDidBlurEditorWidget(()=>{Tn.current=!1}),ln=It.onDidFocusEditorText(()=>{Tn.current=!0});return()=>{un.dispose(),ln.dispose()}}},[De.current,Wt,St]),(0,y.useEffect)(()=>{var Mt;if((Mt=De.current)!=null&&Mt.instance&&Wt&&He){let It=De.current.instance,un=It.getModel();if(!un)return;(()=>{var Qt;let Gt=[],vn=[];const En=un.getAllDecorations();for(let tr of En)tr.options.className==="highlighted-line"&&(Gt.push((Qt=tr==null?void 0:tr.range)==null?void 0:Qt.startLineNumber),vn.push(tr==null?void 0:tr.id));if(pn===Gt[0])return;un.deltaDecorations(vn,[]);const Fn=un.getLineCount();pn&&pn<=Fn&&(It.deltaDecorations([],[{range:new H.Range(pn,1,pn,un.getLineMaxColumn(pn)),options:{isWholeLine:!0,className:"highlighted-line"}}]),It.revealLineInCenter(pn))})();const hn=(Qt=!1)=>{var Gt;let vn=[],En=[];const Fn=un.getAllDecorations();for(let tr of Fn)tr.options.linesDecorationsClassName==="breakpoints-select"&&(vn.push((Gt=tr==null?void 0:tr.range)==null?void 0:Gt.startLineNumber),En.push(tr==null?void 0:tr.id));if(Qt)return{lines:vn,ids:En};w(vn)},_n=Qt=>nn(void 0,null,function*(){let Gt={range:new H.Range(Qt,1,Qt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield un.deltaDecorations([],[Gt]),hn()}),ir=Qt=>nn(void 0,null,function*(){let Gt=[];const vn=It.getLineDecorations(Qt);for(let En of vn)En.options.linesDecorationsClassName==="breakpoints-select"&&Gt.push(En.id);yield un.deltaDecorations(Gt,[]),hn()}),Bn=Qt=>{let Gt=It.getLineDecorations(Qt);for(let vn of Gt)if(vn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,v.isEqual)(D,hn(!0).lines)){un.deltaDecorations(hn(!0).ids,[]);const Qt=D.map(Gt=>({range:new H.Range(Gt,1,Gt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));un.deltaDecorations([],Qt)}const rn=It.onDidChangeModelContent(Qt=>{let Gt=It.getPosition();if(Gt){let vn=Gt.lineNumber;clearTimeout(bn.current),bn.current=setTimeout(()=>{xt(un.getLineContent(vn),vn)?ir(vn):Bn(vn)?(ir(vn),_n(vn)):hn()},100)}}),dt=It.onMouseDown(Qt=>{var Gt,vn,En;if(Qt.target.detail&&((En=(vn=(Gt=Qt.target)==null?void 0:Gt.element)==null?void 0:vn.className)!=null&&En.includes("line-numbers"))){let Fn=Qt.target.position.lineNumber;if(xt(un.getLineContent(Fn),Fn))return;Bn(Fn)?ir(Fn):_n(Fn)}}),gt=Qt=>{let Gt={range:new H.Range(Qt,1,Qt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};ge.current=It.deltaDecorations(ge.current,[Gt])},kt=()=>{ge.current=It.deltaDecorations(ge.current,[])},Vt=It.onMouseMove(Qt=>{var Gt,vn,En;if(kt(),Qt.target.detail&&((En=(vn=(Gt=Qt.target)==null?void 0:Gt.element)==null?void 0:vn.className)!=null&&En.includes("line-numbers"))){let Fn=Qt.target.position.lineNumber;if(xt(un.getLineContent(Fn),Fn))return;gt(Fn)}}),Ft=It.onMouseLeave(()=>{kt()});return()=>{rn.dispose(),dt.dispose(),Vt.dispose(),Ft.dispose()}}},[De.current,Wt,D,pn,He,K]),(0,y.useEffect)(()=>{var Mt;(Mt=De.current)!=null&&Mt.instance&&He&&De.current.instance.setPosition({lineNumber:0,column:0})},[pn]);function At(){let Mt=De.current.instance;if(Mt){const It=Mt.getSelection(),un=De.current.pastePos||{},ln=new H.Range(un.startLineNumber||It.endLineNumber,un.startColumn||It.endColumn,un.endLineNumber||It.endLineNumber,un.endColumn||It.endColumn);setTimeout(()=>{Mt.executeEdits("",[{range:ln,text:""}])},300)}}function Ue(Mt){(window.navigator.platform.match("Mac")?Mt.metaKey:Mt.ctrlKey)&&Mt.keyCode==83&&(Mt.preventDefault(),We())}const Ce=()=>{if(yt&&De.current.instance){const Mt=De.current.instance.getContentHeight();sn(Mt<X?X:Mt)}else sn(X)};function mt(Mt){var It=document.createEvent("MouseEvents");It.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Mt.dispatchEvent(It)}const lt=Mt=>{if(!Tn.current)return;const{keyCode:It,ctrlKey:un,metaKey:ln,target:hn,type:_n}=Mt;return(_n==="paste"||(It===67||It===86)&&(ln||un))&&hn.nodeName==="TEXTAREA"&&(Ot(),Mt.preventDefault()),!1};function Pt(Mt,It){var un=window.URL||window.webkitURL||window,ln=new Blob([It]),hn=document.createElementNS("http://www.w3.org/1999/xhtml","a");hn.href=un.createObjectURL(ln),hn.download=Mt,mt(hn)}(0,y.useEffect)(()=>{Ce()},[Ce]),(0,y.useEffect)(()=>{Ae.current&&!Wt&&Promise.all([f.e(8909),f.e(1810)]).then(f.bind(f,71448)).then(Mt=>{try{H=Mt,De.current.instance=H.editor.create(Ae.current,{value:G,language:be(K),theme:Te,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},ke);const It=De.current.instance;let hn=[...Q.BH._menuItems].find(rn=>rn[0]._debugName=="EditorContext")[1],_n=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],ir=(rn,dt)=>{var gt,kt;let Vt=rn._first;do dt.includes((kt=(gt=Vt.element)==null?void 0:gt.command)==null?void 0:kt.id)&&rn._remove(Vt);while(Vt=Vt.next)};if(Lt(It,H),setTimeout(()=>{Ce(),De.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Pt(bt||"educoder.txt",It.getValue())}})},500),De.current.subscription=It.onDidChangeModelContent(rn=>{an.current?clearTimeout($e.current):(Ce(),pt(It.getValue(),rn)),$e.current=setTimeout(()=>{an.current=!1},500)}),window.Monaco||j(H,be(K)),St&&(ir(hn,_n),Ae.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",lt),window.removeEventListener("paste",lt),window.addEventListener("keydown",lt),window.addEventListener("paste",lt)),window.Monaco=H,Ye&&It.onDidBlurEditorWidget(()=>{Ye(It.getValue())}),_t&&It.onDidFocusEditorText(()=>{_t(It.getValue())}),St)try{It.onDidPaste(rn=>{const dt=It.getSelection(),gt=De.current.pastePos||{},kt=new H.Range(gt.startLineNumber||dt.endLineNumber,gt.startColumn||dt.endColumn,gt.endLineNumber||dt.endLineNumber,gt.endColumn||dt.endColumn);It.executeEdits("",[{range:rn.range,text:""}])})}catch(rn){}let Bn=Rt();return rt&&typeof rt=="string"&&new pe(rt,It,H),Yt(!0),()=>{const rn=De.current.instance;rn.dispose();const dt=rn.getModel();dt&&dt.dispose(),De.current.subscription&&De.current.subscription.dispose(),Bn.unobserve(Ae.current)}}catch(It){}})},[]),(0,y.useEffect)(()=>{if(De.current.instance&&Wt)return document.addEventListener("keydown",Ue,!1),()=>{document.removeEventListener("keydown",Ue)}},[We,Wt]),(0,y.useEffect)(()=>{let Mt=De.current.instance;if(Mt&&Wt){let It=be(K);H.editor.setModelLanguage(Mt.getModel(),It)}},[K,Wt]),(0,y.useEffect)(()=>{De.current.instance&&Wt&&H.editor.setTheme(Te)},[Te,Wt]),(0,y.useEffect)(()=>{let Mt=De.current.instance;ze.current=Ke,Mt&&Wt&&(Mt.updateOptions(it({},Ke)),setTimeout(()=>{Mt.getModel().updateOptions(it({},Ke))},200))},[JSON.stringify(Ke),Wt]),(0,y.useEffect)(()=>{let Mt=De.current.instance;Mt&&Wt&&Mt.layout()},[T,X,Wt]);const[Ht,tn]=(0,y.useState)(Dt(T)),[Ut,sn]=(0,y.useState)(Dt(X)),dn=Nt(it({},we),{width:Ht,height:Ut,position:"relative"});return y.createElement("div",{className:"my-monaco-editor",ref:Ae,style:dn},tt&&y.createElement(V.CopyToClipboard,{text:G,onCopy:()=>de.ZP.success("\u590D\u5236\u6210\u529F")},y.createElement(ie.Z,{title:"\u590D\u5236\u4EE3\u7801"},y.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},y.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function xe({width:k="100%",height:E="100%",original:T,modified:X,language:G,options:K={}}){const we=(0,y.useRef)(),[Ke,ke]=(0,y.useState)(null);function Te(yt){let St;return we.current&&(St=new L.Z(pt=>{for(let Lt of pt)(Lt.target.offsetHeight>0||Lt.target.offsetWidth>0)&&yt.layout()}),St.observe(we.current)),St}(0,y.useEffect)(()=>(we.current&&Promise.all([f.e(8909),f.e(9404)]).then(f.bind(f,2550)).then(yt=>{H=yt;const St=H.editor.createDiffEditor(we.current,Nt(it({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},K),{wordWrap:!0}));ke(St);let pt=Te(St);return()=>{St.dispose();const Lt=St.getModel();Lt&&Lt.dispose(),pt.unobserve(we.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,y.useEffect)(()=>{Ke&&Ke.setModel({original:H.editor.createModel(T,G),modified:H.editor.createModel(X,G)})},[T,X,G,Ke]);const Ye=Dt(k),tt=Dt(E),We={width:Ye,height:tt};return y.createElement("div",{className:"my-diff-editor",ref:we,style:We})}},94606:function(en,et,f){"use strict";f.d(et,{jL:function(){return $},w9:function(){return Ze},QD:function(){return pt},cQ:function(){return V},op:function(){return Te},O5:function(){return Tn},_b:function(){return ce},t7:function(){return B},Gi:function(){return nn},YG:function(){return Nt},qp:function(){return z},vr:function(){return w},qE:function(){return We},Je:function(){return Y},wb:function(){return Q},cq:function(){return H},tp:function(){return x}});var y=f(59301),L={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBj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Aw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",$=({dataSource:Wt=[],img:Yt,imgWidth:Rt=346,title:Ot,sunTitle:Ge,bannerExtraContent:xt})=>y.createElement("div",{className:L.banner},y.createElement("div",{className:L.content},y.createElement("aside",null,y.createElement("p",null,y.createElement("b",null,Ot),y.createElement("span",null,Ge)),Wt.length>0&&y.createElement("div",{className:L.btns},Wt.map((At,Ue)=>y.createElement("div",{key:Ue,onClick:At.click},At.name,At.sign?y.createElement("img",{src:ee,width:39}):null))),xt),Yt&&y.createElement("img",{style:{marginTop:33,marginRight:38},src:Yt,width:Rt}))),q={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},C=f(92310),Se=f.n(C),a=f(89392),z=({dataSource:Wt=[],value:Yt,onChange:Rt,onTitleChange:Ot,className:Ge,title:xt,titleWidth:At=41,style:Ue={},fontColor:Ce="#6A7283",showCount:mt})=>{const[lt,Pt]=(0,y.useState)(0),[Ht,tn]=(0,y.useState)(!1),Ut=(0,y.useRef)(null),sn=(0,y.useRef)(null);return(0,y.useEffect)(()=>{var dn;Wt.length!==0&&(((dn=Ut==null?void 0:Ut.current)==null?void 0:dn.clientHeight)>97?Pt(1):Pt(0)),Wt.length===0&&Pt(0),tn(!1)},[Wt]),y.createElement("div",{className:Se()(q.row,Ge),style:Ue},y.createElement("div",{onClick:(0,a.throttle)(()=>Ot==null?void 0:Ot(),2e3),style:{width:At,marginTop:Ht?12:4},className:`${q.title} ${Ot?"current":""}`},xt),y.createElement("div",{className:Ht?`${q.tagsWrap} ${q.tagsBorderWrap}`:q.tagsWrap},y.createElement("div",{className:q.bar,ref:sn,style:lt>0?{height:lt===1?97:"auto",overflow:lt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},y.createElement("div",{className:q.tag,ref:Ut},Wt==null?void 0:Wt.map(dn=>y.createElement("span",{onClick:()=>Rt(dn.id),key:dn.id,style:{color:Ce},className:Yt===dn.id?q.active:""},y.createElement("span",{title:dn.name,className:q.name},dn.name),!!mt&&y.createElement("span",{className:q.num},dn.count))))),!!lt&&y.createElement(y.Fragment,null,lt===1?y.createElement("div",{onClick:()=>{var dn;Pt(2),((dn=Ut==null?void 0:Ut.current)==null?void 0:dn.clientHeight)>245?tn(!0):tn(!1)},className:q.action},"\u5C55\u5F00",y.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):y.createElement("div",{onClick:()=>{sn.current.scrollTop=0,Pt(1),tn(!1)},className:q.action},"\u6536\u8D77",y.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},S={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},x=({dataSource:Wt=[],value:Yt,onChange:Rt,className:Ot,style:Ge={}})=>y.createElement("div",{style:Ge,className:Se()(S.tabs,Ot)},Wt.map(xt=>y.createElement("span",{onClick:()=>Rt(xt.id),className:Yt===xt.id?S.active:"",key:xt.id},xt.name))),m={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},P=f(92832),B=({dataSource:Wt=[],value:Yt="",onChange:Rt,onInputChange:Ot=()=>{},className:Ge,style:xt={},placeholder:At,allowClear:Ue=!1})=>{var Ce;const[mt,lt]=(0,y.useState)(""),[Pt,Ht]=(0,y.useState)("");(0,y.useEffect)(()=>{var sn;let dn=Yt;(sn=JSON.stringify(Yt))!=null&&sn.includes("{")&&(lt(Yt.id),dn=Yt.value||"");try{Ht(decodeURIComponent(dn||""))}catch(Mt){Ht(decodeURIComponent(dn||""))}},[Yt]);const tn=()=>{Rt(encodeURIComponent(Pt),mt||null)},Ut=sn=>{sn!==mt&&(lt(sn),Rt(encodeURIComponent(Pt),sn))};return y.createElement("div",{className:Se()(m.input,Ge),style:xt},!!Wt.length&&y.createElement("div",{className:m.dropdown},y.createElement("div",{className:m.text},(Ce=Wt.find(sn=>sn.id===mt))==null?void 0:Ce.name,y.createElement("i",{className:"iconfont icon-zhankai4"}),y.createElement("b",{className:m.b1}),y.createElement("b",{className:m.b2})),y.createElement("div",{className:m.menu},Wt.map((sn,dn)=>y.createElement("div",{key:dn,onClick:()=>Ut(sn.id)},sn.name)))),y.createElement(P.default,{onPressEnter:tn,value:Pt,onChange:sn=>{Ht(sn.target.value),Ot(encodeURIComponent(sn.target.value),mt||null)},bordered:!1,placeholder:At}),y.createElement("i",{onClick:tn,className:"iconfont icon-sousuo9 font14 pl10 current"}))},W={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Y=({value:Wt,onChange:Yt,className:Rt,total:Ot,pageSize:Ge,style:xt={}})=>{const At=Wt<2,Ue=Wt>=Math.ceil(Ot/Ge);return Ot<=Ge?y.createElement(y.Fragment,null):y.createElement("div",{className:Se()(W.quickPager,Rt),style:xt},y.createElement("div",{onClick:()=>{At||Yt(Wt-1,"prev")},className:At?W.disabled:""},"\u4E0A\u4E00\u9875"),y.createElement("div",{onClick:()=>{Ue||Yt(Wt+1,"next")},className:Ue?W.disabled:""},"\u4E0B\u4E00\u9875"))},b={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},R=f(71418),Z=f(6848),j=f(39978),he=f(10148),me=f(58130),fe=f(96908),ae=f(57177),te=f(81378),U=f(97267),Q=({className:Wt,dataSource:Yt=[],col:Rt=4,right:Ot,bottom:Ge=23,precision:xt=0,wrapWidth:At=1200,trackEventItems:Ue,loading:Ce})=>{const mt=Math.floor((At-(Rt-1)*Ot)/Rt);return y.createElement(R.Z,{spinning:Ce},y.createElement("div",{className:Se()(b.list,Wt)},!!Yt.length&&Yt.map((lt,Pt)=>{const{name:Ht,id:tn,identifier:Ut,power:sn,cover_image_id:dn,pic:Mt}=lt;return y.createElement("div",{className:b.wrap,key:tn,style:{width:mt,marginRight:(1+Pt)%Rt===0?0:Ot+xt,marginBottom:Ge}},y.createElement("a",{target:"_blank",href:`/shixuns/${Ut}/challenges`,className:b.li,onClick:It=>{It.preventDefault(),Ue&&(0,me.L9)([Ue]),sn&&(0,me.xg)(`/shixuns/${Ut}/challenges`)}},y.createElement("div",{className:b.img},y.createElement("img",{className:b.cover,src:`${Mt}`}),lt.is_jupyter&&y.createElement("img",{className:b.sign,src:fe}),lt.is_jupyter_lab&&y.createElement("img",{className:b.sign,src:ae}),lt.is_unity_3d&&y.createElement("img",{className:b.sign,src:te})),y.createElement("div",{className:b.name},y.createElement(Z.Z,{title:Ht||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},y.createElement("span",{className:b.e},Ht||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),y.createElement("div",{className:b.tags},y.createElement(Z.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),y.createElement("span",null,lt.challenges_count))),!!lt.myshixuns_count&&y.createElement(Z.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),y.createElement("span",null,lt.myshixuns_count))),y.createElement(Z.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},y.createElement("span",null,y.createElement("span",null,lt.level))),y.createElement("div",{className:b.rate},y.createElement(j.Z,{allowHalf:!0,disabled:!0,defaultValue:lt.score_info}),y.createElement("span",null,"\xA0",lt.score_info?`${lt.score_info}\u5206`:"5\u5206")))),!sn&&y.createElement("div",{className:b.lockWrap},y.createElement("img",{src:`${he.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Yt.length&&y.createElement(U.Z,null)))},de={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},ie=f(2119),v=f(59301),V=({className:Wt,dataSource:Yt=[],col:Rt=4,right:Ot,bottom:Ge=23,precision:xt=0,wrapWidth:At=1200,trackEventItems:Ue,loading:Ce,onRemove:mt=()=>{},isCurrent:lt=!0,showAlias:Pt=!1})=>{const Ht=Math.floor((At-(Rt-1)*Ot)/Rt),tn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return v.createElement(R.Z,{spinning:Ce},v.createElement("div",{className:Se()(de.list,Wt)},!!(Yt!=null&&Yt.length)&&(Yt==null?void 0:Yt.map((Ut,sn)=>{var dn;const{name:Mt,id:It,identifier:un,featured:ln,school_name:hn,image_url:_n,excellent:ir,is_plan:Bn}=Ut;return v.createElement("div",{key:It,className:de.wrap,style:{width:Ht,marginRight:(1+sn)%Rt===0?0:Ot+xt,marginBottom:Ge}},v.createElement("a",{className:de.li,onClick:rn=>{rn.preventDefault(),rn.stopPropagation(),Ue&&(0,me.L9)([Ue]),(0,me.xg)(`/paths/${un}`)}},v.createElement("div",{className:de.img},v.createElement("img",{className:de.cover,src:`${_n}`}),lt&&(0,ie.bg)()&&(Ut==null?void 0:Ut.studying)&&v.createElement("div",{className:`${de.movebq} user-path-items`,onClick:rn=>{rn.stopPropagation(),mt(Ut)}},v.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),v.createElement("span",{className:"c-red"},"\u79FB\u9664")),(dn=Ut==null?void 0:Ut.subject_tags)==null?void 0:dn.map((rn,dt)=>{var gt,kt;if(dt===0){const Ft=(gt=tn.find(Qt=>Qt.name==rn))==null?void 0:gt.swimg;return v.createElement("img",{className:de.sign,src:Ft,style:{left:"-4px"}})}const Vt=(kt=tn.find(Ft=>Ft.name==rn))==null?void 0:kt.ptimg;return v.createElement("img",{className:de.sign,src:Vt,style:{left:`${48+52*(dt-1)+2*dt}px`}})}),v.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Ut==null?void 0:Ut.excellent)&&v.createElement("div",{className:de.bq},"\u5F00\u653E\u8BFE\u7A0B"))),v.createElement("div",{className:de.name},v.createElement(Z.Z,{title:Pt&&(Ut!=null&&Ut.excellent_alias_name)?v.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Mt}`,v.createElement("br",null),v.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Ut==null?void 0:Ut.excellent_alias_name}`)):Mt},v.createElement("span",{className:de.e},Pt&&(Ut==null?void 0:Ut.excellent_alias_name)||Mt))),v.createElement(Z.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${hn}`},v.createElement("div",{className:de.unit},v.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),hn)),v.createElement("div",{className:de.tags},v.createElement("div",null,v.createElement(Z.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},v.createElement("span",null,v.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),v.createElement("span",null,Ut.stages_count))),v.createElement(Z.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},v.createElement("span",null,v.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),v.createElement("span",null,Ut.members_count)))))))})),!Yt.length&&v.createElement(U.Z,null)))},J={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Le="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9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a9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Oe=f(59301),Ze=({className:Wt,dataSource:Yt=[],col:Rt=4,right:Ot,bottom:Ge=23,precision:xt=0,wrapWidth:At=1200,trackEventItems:Ue,loading:Ce})=>{const mt=Math.floor((At-(Rt-1)*Ot)/Rt);return Oe.createElement(R.Z,{spinning:Ce},Oe.createElement("div",{className:Se()(J.list,Wt)},!!Yt.length&&Yt.map((lt,Pt)=>{const{subject_identifier:Ht,id:tn,identifier:Ut,power:sn}=lt,dn=lt.is_public!=0&&lt.is_public;return Oe.createElement("div",{className:J.wrap,key:tn,style:{width:mt,marginRight:(1+Pt)%Rt===0?0:Ot+xt,marginBottom:Ge}},Oe.createElement("a",{className:J.li,onClick:Mt=>{Mt.preventDefault(),Ue&&(0,me.L9)([Ue]),(0,me.xg)(lt.first_category_url)}},Oe.createElement("div",{className:J.top},Oe.createElement(Z.Z,{title:lt.name},Oe.createElement("div",{className:J.name},lt.name)),Oe.createElement("img",{className:J.img,src:he.Z.IMG_SERVER+"/images/"+lt.avatar_url}),Oe.createElement("div",{className:J.text,title:lt.creator},lt.creator),Ht&&Oe.createElement("div",{className:J.btns},Oe.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Oe.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),dn&&Oe.createElement("div",{className:J.sign},"\u516C\u5F00")),Oe.createElement("div",{className:J.bottom},lt.visits>0&&Oe.createElement(Z.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Oe.createElement("span",null,Oe.createElement("i",{className:"iconfont icon-liulanyan"}),Oe.createElement("span",null,lt.visits))),lt.course_members_count>0&&Oe.createElement(Z.Z,{title:"\u6210\u5458",placement:"bottom"},Oe.createElement("span",null,Oe.createElement("i",{className:"iconfont icon-chengyuan"}),lt.course_members_count)),lt.tasks_count>0&&Oe.createElement(Z.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Oe.createElement("span",null,Oe.createElement("i",{className:"iconfont icon-zuoye"}),lt.tasks_count)),lt.is_end?Oe.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Oe.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!lt.is_accessible&&Oe.createElement("div",{className:J.lockWrap},Oe.createElement("img",{src:`${he.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Oe.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Yt.length&&Oe.createElement(U.Z,null)))},ut={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},ct=f(42203),Nt=({dataSource:Wt=[],value:Yt,onChange:Rt,className:Ot,style:Ge={},tabBarExtraContent:xt})=>y.createElement("div",{className:Se()(ut.tabs,Ot),style:Ge},y.createElement("div",{className:ut.tabsWrap},Wt.map((At,Ue)=>y.createElement("aside",{className:ut.tab,onClick:()=>{Rt(At.id),At.link&&ct.history.push(At.link)},key:Ue},y.createElement("div",{className:Yt===At.id?ut.active:""},At.name),(At==null?void 0:At.resetCount)==null&&(At==null?void 0:At.total)!==void 0&&y.createElement("span",null,"\uFF08",At==null?void 0:At.total,"\uFF09"),(At==null?void 0:At.resetCount)!==void 0&&(At==null?void 0:At.total)!==void 0&&y.createElement(Z.Z,{title:(At==null?void 0:At.tip)!=null?At==null?void 0:At.tip:""},y.createElement("span",{style:{color:"#9096A3"}},"\uFF08",y.createElement("span",{style:{color:"#000"}},At==null?void 0:At.resetCount),"/",y.createElement("span",null,At==null?void 0:At.total),"\uFF09"))))),y.createElement("div",{className:ut.tabBar},xt)),nn=({className:Wt,style:Yt={},children:Rt})=>y.createElement("div",{className:Se()(Wt),style:Yt},Rt),Dt={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},$t=f(38854),ot=f(20834);const se=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var H=({sortValue:Wt,dropValue:Yt,className:Rt,onSort:Ot,onDrop:Ge,dataSource:xt=se})=>{var At;return y.createElement("div",{className:Se()(Dt.orderWrap,Rt)},y.createElement($t.Z,{dropdownRender:()=>y.createElement(ot.default,null,xt.map((Ue,Ce)=>y.createElement(ot.default.Item,{key:Ce,onClick:()=>Ge(Ue.id)},Ue.name)))},y.createElement("span",{className:Dt.orderTextWrap},(At=xt.find(Ue=>Yt===Ue.id))==null?void 0:At.name)),y.createElement("span",{className:Dt.orderIconWrap},y.createElement("span",{className:Dt.orderAsc},y.createElement("i",{className:Wt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Dt.cursorPointer} ${Dt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Dt.cursorPointer}`,onClick:()=>Ot(Wt==="asc"?"desc":"asc")})),y.createElement("span",{className:Dt.orderDesc},y.createElement("i",{className:Wt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Dt.cursorPointer} ${Dt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Dt.cursorPointer}`,onClick:()=>Ot(Wt==="asc"?"desc":"asc")}))))},O={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},xe=f(3113),k=Object.defineProperty,E=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,X=Object.prototype.propertyIsEnumerable,G=(Wt,Yt,Rt)=>Yt in Wt?k(Wt,Yt,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):Wt[Yt]=Rt,K=(Wt,Yt)=>{for(var Rt in Yt||(Yt={}))T.call(Yt,Rt)&&G(Wt,Rt,Yt[Rt]);if(E)for(var Rt of E(Yt))X.call(Yt,Rt)&&G(Wt,Rt,Yt[Rt]);return Wt},we=(Wt,Yt)=>{var Rt={};for(var Ot in Wt)T.call(Wt,Ot)&&Yt.indexOf(Ot)<0&&(Rt[Ot]=Wt[Ot]);if(Wt!=null&&E)for(var Ot of E(Wt))Yt.indexOf(Ot)<0&&X.call(Wt,Ot)&&(Rt[Ot]=Wt[Ot]);return Rt},Ke=(Wt,Yt,Rt)=>new Promise((Ot,Ge)=>{var xt=Ce=>{try{Ue(Rt.next(Ce))}catch(mt){Ge(mt)}},At=Ce=>{try{Ue(Rt.throw(Ce))}catch(mt){Ge(mt)}},Ue=Ce=>Ce.done?Ot(Ce.value):Promise.resolve(Ce.value).then(xt,At);Ue((Rt=Rt.apply(Wt,Yt)).next())}),Te=Wt=>{var Yt=Wt,{className:Rt,style:Ot,children:Ge,loading:xt=!1,openLoading:At,onClick:Ue=()=>{},size:Ce="middle",shape:mt="round"}=Yt,lt=we(Yt,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Pt,Ht]=(0,y.useState)(!1);return y.createElement(xe.ZP,K({onClick:(0,a.throttle)(tn=>Ke(void 0,null,function*(){At&&Ht(!0);try{yield Ue(tn)}catch(Ut){console.log("error",Ut)}At&&Ht(!1)}),2e3,{leading:!0,trailing:!1}),className:Se()(O.btn,O[`${Ce}-${mt}`],Rt),style:Ot,size:Ce,shape:mt,loading:Pt||xt},lt),Ge)},Ye={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},We=({className:Wt,style:Yt,children:Rt=null,onClick:Ot,title:Ge})=>y.createElement("div",{className:Se()(Ye.head,Wt),style:Yt},y.createElement("span",{className:"primary-hover",onClick:Ot},y.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),y.createElement("b",{title:Ge},Ge),y.createElement("div",{className:Ye.node},Rt)),yt={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},pt=({confirmShow:Wt=!0,confirmTitle:Yt,confirmClick:Rt,cancelShow:Ot=!0,cancelTitle:Ge,cancelClick:xt,className:At,style:Ue,confirmLoading:Ce=!1})=>y.createElement("div",{className:Se()(yt.btns,At),style:Ue},Wt&&y.createElement(xe.ZP,{loading:Ce,onClick:Rt,type:"primary",className:yt.confirm},Yt),Ot&&y.createElement(xe.ZP,{onClick:xt,className:yt.cancel},Ge)),Lt={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},w=({className:Wt,style:Yt={},LeftContent:Rt,children:Ot,RightContent:Ge})=>y.createElement("div",{className:Se()(Lt.fixedBottom,Wt),style:Yt},y.createElement("div",{className:Lt.wrap},y.createElement("div",{className:Lt.left},Rt),y.createElement("div",{className:Lt.center},Ot),y.createElement("div",{className:Lt.right},Ge))),D={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},ce=({className:Wt,style:Yt={},dataSource:Rt=[]})=>y.createElement("div",{className:Se()(D.crumbs,Wt),style:Yt},Rt.map((Ot,Ge)=>Ge<Rt.length-1?y.createElement(y.Fragment,{key:Ge},Ot.path||Ot.onClick?y.createElement("span",{className:D.hover,onClick:Ot!=null&&Ot.onClick?Ot.onClick:()=>ct.history.push(Ot.path)},Ot.name):y.createElement("span",null,Ot.name),y.createElement("span",null,"\xA0",">","\xA0")):y.createElement("span",{key:Ge,style:{color:"#5F6368"}},Ot.name))),Me=f(31797),pn=Object.defineProperty,He=Object.defineProperties,rt=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,ze=(Wt,Yt,Rt)=>Yt in Wt?pn(Wt,Yt,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):Wt[Yt]=Rt,Xe=(Wt,Yt)=>{for(var Rt in Yt||(Yt={}))Ae.call(Yt,Rt)&&ze(Wt,Rt,Yt[Rt]);if(Je)for(var Rt of Je(Yt))De.call(Yt,Rt)&&ze(Wt,Rt,Yt[Rt]);return Wt},ge=(Wt,Yt)=>He(Wt,rt(Yt)),an=(Wt,Yt)=>{var Rt={};for(var Ot in Wt)Ae.call(Wt,Ot)&&Yt.indexOf(Ot)<0&&(Rt[Ot]=Wt[Ot]);if(Wt!=null&&Je)for(var Ot of Je(Wt))Yt.indexOf(Ot)<0&&De.call(Wt,Ot)&&(Rt[Ot]=Wt[Ot]);return Rt};const{Countdown:$e}=Me.default;var Tn=Wt=>{var Yt=Wt,{onChange:Rt}=Yt,Ot=an(Yt,["onChange"]);const[Ge,xt]=(0,y.useState)(null);(0,y.useEffect)(()=>{typeof Ge=="number"&&Ge>=0&&Rt(Ge)},[Ge]);const At=Ue=>{const Ce=Math.floor(Ue/1e3);xt(Ce)};return y.createElement($e,ge(Xe({},Ot),{onChange:At}))}},82676:function(en,et,f){"use strict";f.r(et),f.d(et,{default:function(){return xe}});var y=f(59301),L=f(42203),ee=f(44e3),Ee=f(95237),$={flex_box_center:"flex_box_center___awq3O",flex_space_between:"flex_space_between___LgAD2",flex_box_vertical_center:"flex_box_vertical_center___tDqAS",flex_box_center_end:"flex_box_center_end___T9t43",flex_box_column:"flex_box_column___UTrmK",menuWrap:"menuWrap___jwziv",nav:"nav___FPm96",li:"li___Fh4Pt",icon:"icon___XwtGk",name:"name___KN1Th",down:"down___CRj5d",active:"active___JfaaR"},q=f(6848),C=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,I=(k,E)=>{var T={};for(var X in k)Se.call(k,X)&&E.indexOf(X)<0&&(T[X]=k[X]);if(k!=null&&C)for(var X of C(k))E.indexOf(X)<0&&a.call(k,X)&&(T[X]=k[X]);return T};const z=k=>{var E=k,{user:T,globalSetting:X,dispatch:G,graduations:K}=E,we=I(E,["user","globalSetting","dispatch","graduations"]);const Ke=(0,L.useLocation)(),[ke,Te]=(0,y.useState)(),[Ye,tt]=(0,y.useState)(["_settings"]),We=(0,L.useParams)(),{id:yt}=We,{menus:St=[]}=K;(0,y.useEffect)(()=>{var w;if(St.length){const D=((w=Ke.pathname.split("/"))==null?void 0:w[3])||"index";Te(D=="students"?"teachers":D)}},[Ke.pathname,St]);const pt=[{icon_type:"index",name:"\u6BD5\u4E1A\u6982\u89C8",icon:"iconfont icon-bishegailan"},{icon_type:"topics",name:"\u8BFE\u9898\u7BA1\u7406",icon:"iconfont icon-ketiguanli"},{icon_type:"student_selection",name:"\u5B66\u751F\u9009\u9898",icon:"icon-xueshengxuanti1"},{icon_type:"tasks",name:"\u4EFB\u52A1\u4E66",icon:"icon-renwushu"},{icon_type:"opening_report",name:"\u5F00\u9898\u62A5\u544A",icon:"iconfont icon-kaitibaogao"},{icon_type:"midterm_report",name:"\u4E2D\u671F\u68C0\u67E5",icon:"iconfont icon-kechengjiaoan"},{icon_type:"thesis",name:"\u6BD5\u4E1A\u8BBA\u6587",icon:"iconfont icon-biyelunwen"},{icon_type:"final_defense",name:"\u6BD5\u4E1A\u7B54\u8FA9",icon:"iconfont icon-biyedabian"},{icon_type:"final_thesis",name:"\u8BBA\u6587\u5B9A\u7A3F",icon:"iconfont icon-lunwendinggao"},{icon_type:"archives",name:"\u5F52\u6863",icon:"iconfont icon-guidang1"},{icon_type:"grading_summary",name:"\u6BD5\u4E1A\u6210\u7EE9",icon:"iconfont icon-bishechengji"},{icon_type:"_settings",name:"\u6BD5\u4E1A\u8BBE\u7F6E",icon:"iconfont icon-biyeshezhi",subclass:["settings","teachers","students"]}],Lt=w=>{var D;return(D=pt.find(ce=>ce.icon_type===w))==null?void 0:D.icon},_t=w=>{const{clazz:D,name:bt,children:ce=[],disable:Me}=w,pn=Lt(D);return y.createElement(y.Fragment,{key:D},Me?y.createElement(q.Z,{title:"\u8BE5\u9636\u6BB5\u672A\u542F\u7528"},y.createElement("div",{className:$.li,onClick:()=>{ce.length&&(Ye.includes(D)?tt(Ye.filter(He=>He!==D)):tt([...Ye,D]))}},y.createElement("div",{className:$.icon},pn&&y.createElement("i",{className:pn})),y.createElement("span",{className:$.name},bt),!!ce.length&&y.createElement("span",{className:$.down},Ye.includes(D)?y.createElement("i",{className:"iconfont icon-xialajiantou1"}):y.createElement("i",{className:"iconfont icon-xialajiantoubeifen"})))):y.createElement("div",{onClick:()=>{ce.length?Ye.includes(D)?tt(Ye.filter(He=>He!==D)):tt([...Ye,D]):(Te(D),G({type:"graduations/getGraduationsDetails",payload:{id:We==null?void 0:We.id}}),L.history.push(`/graduations/${yt}/${D}`))},className:ke===D?`${$.li} ${$.active}`:$.li},y.createElement("div",{className:$.icon},pn&&y.createElement("i",{className:pn})),y.createElement("span",{className:$.name},bt),!!ce.length&&y.createElement("span",{className:$.down},Ye.includes(D)?y.createElement("i",{className:"iconfont icon-xialajiantou1"}):y.createElement("i",{className:"iconfont icon-xialajiantoubeifen"}))),Ye.includes(D)&&ce.map(He=>_t(He)))};return y.createElement("div",{className:$.menuWrap},y.createElement("div",{className:$.nav},St.map(w=>_t(w))))};var S=(0,L.connect)(({user:k,graduations:E,globalSetting:T})=>({user:k,globalSetting:T,graduations:E}))(z),u={flex_box_center:"flex_box_center___Zlh8i",flex_space_between:"flex_space_between___lFY3s",flex_box_vertical_center:"flex_box_vertical_center___dQs2p",flex_box_center_end:"flex_box_center_end___mh3GO",flex_box_column:"flex_box_column___fbLGv",bg:"bg___WhklA",center:"center___yiVRe",name:"name___LmNUZ",line:"line___mHXFG",member:"member___ya2z7",btn:"btn___WFeIH",bg2:"bg2___6yejb",modal:"modal___BTChh",red:"red___WFR6s",row:"row___lGy2T",label:"label___Ixyoi",content:"content___oTCar",input:"input___Q19k0",code:"code___ywBNo",copy:"copy___eV4lI"},x=f.p+"static/bg.224d6d3a.jpg",m="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4QBMRXhpZgAATU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAeAKADAAQAAAABAAAA+AAAAAD/7QA4UGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAAA4QklNBCUAAAAAABDUHYzZjwCyBOmACZjs+EJ+/8AAEQgA+B4AAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2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ApKWkoAKSlpKlgFJRRWbExKKPej2qSWFFFLQQwooooJFopKKACiiigApKWkoAKPaiigApKWk9qACkPpQTSUAKKKSloAWgUlFA7i0UlFKwXDNJRRTEH40UUdKBXEooooAKSlptAxaKSloAKKKKAEooooAKQ9KXOKjJoJkwopKWgxCijpRQAtFFFAC0UlL7UAFFFLQAUUUVnKPUAooorMAooooAKKKKACiiigQUUUUCCiiigkKKKKCQooooAKKKKBBS0lFS43KjIWkoorNwZXOhaKSlpOLGpIKKKKRQtFFFABS0lLQAUUUUALR7UUUCFFFJS0CaCiiigSXYUGiij2qWyxaKSl9qzYBRRS1IBRRRQAUUUUALS02lzSZk4C0UUdKzkQLRRRUALmikpaACj2oooAUUUUUALRRRQAUUZpfagAooooAKWiigAooooEFFFFBLCiiighiUUe9HtQSJSUuaSgApKWkoAWikpaAClFJRSAUUUUe1QwFooo9qhgFFFLSAKKKKAFpRSClHFACil9qSloAWlpKUUAxaWkpaBIKKKKBhRRRQAUUUUAFKKSlFACilpKWgBwoFJmloIkh1FJkdaXIoM7C0UmRRkUCFooyKMigApQcdKSigB+80u80yigB+40bjTaWgLjt1OyKjp1BSk0PyDRTaX2pco/aMXilpKUVPIHtGKKWkpRS9mPnFFKKSlqXETkKKWkpRUhcWiiigEwooopMtMKKKKhoq4UUUVNmAvvSikpRxSsFxaX2pKdSEKKKKX2oEFOpKWgVxaWkpaCGxRSikozQIcKWm5oDUCH0tM3UbqAH+9LTN9G7FAD6Wmb6N9AElHtTN/oKUNQA8UCmhqXdQK44UU0GlzSYcyHUtNzSg1mxcyFoooqQ50FFFFCDnQUUUU0HOgoooqkHOgpRSUophzoWlFJS1PKw50OHWlFNpaFBkOQ6lpKWjkBSFpRSClo5GHOLS+1IOKUUcg+cUUoptLSaFzsdn0opKX2qROTYUtJS0EhS0lLQAUtJSjigBaKOlFACij2oooAXvQKSloAUUtJml4FAC0UmaM0ALRSZooAWiiigdgooooKSFooooGxaKSloJYUtJS0EhRRRQAtHtSUtABSikpa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q9P8APrTh96gBaKRf6UvegBaKTvS0AFFFFABRRRQAUUUUAFFFKOtAB70opB0NL3/D+lAC0vtTB0NPHUf57UCewtLTV6f59acPvUGb3sLTqYv9KeOtBLFpaaOhpe/4f0osIcKPakXofwpR1H+e1QtgFo60i9P8+tKvX/PtS6gNIpopx6j6U0dauLugFFLTR0NO/wA/pTAcKUUxeh/CnL1/z7UE31sOpaav9KXvU9bEt6jhSim07v8Ah/SpaFuQ5o9qYOhp46j/AD2rQmW4opRTV6f59aVev+fagQ4UtNX+lOoAKKKKAEJwM0zcac/3aj7/AIf0oNIIM0maSigpvUWgUlKOtAC0tNHQ07/P6UEsUdaUU1eh/ClHUf57UGY6lpF/pS96AHUtNpR1oAdS0wdDTx1H+e1AC5pm/wBKX+H8v51CvX/PtQXCNx+c0U1f6U8daBOT2ClpB0NL3/D+lBItL7UwdDTx1H+e1ADqKavT/PrTh96gBaWmr/SnUAFMLelOPQ1F3/D+lACliabk0lFBL2CiiigyYUUUUCCiiigApaSigcVdi5pM0UVUVc0krBRRRWqijNthRRRS7iCnK2KbRUN2egE9FIv9KXvWoATgZpNwpp+7+Apvf8P6UFxjceGPrRmmL1pf8/pQabDtwpNxpg6Gl7/h/SgxbY7caPamDoaeOo/z2oEKKKRen+fWgdR/ntQA4e1FInSlH3qAFpfamr/Sl70ALS0lKOtAC0ZxSDoaD1oAQPml3Col6f59acPvUAf/2Q==",P=f(78241),ue=f(43418),B=f(8591),W=f(92832),ne=f(38333),Y=f(2119),b=f(70635),R=f(56102),Z=f(86389),j=f(90653),he=f(19726),me=Object.defineProperty,fe=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,Q=(k,E,T)=>E in k?me(k,E,{enumerable:!0,configurable:!0,writable:!0,value:T}):k[E]=T,de=(k,E)=>{for(var T in E||(E={}))U.call(E,T)&&Q(k,T,E[T]);if(te)for(var T of te(E))pe.call(E,T)&&Q(k,T,E[T]);return k},ie=(k,E)=>fe(k,ae(E)),v=(k,E,T)=>new Promise((X,G)=>{var K=ke=>{try{Ke(T.next(ke))}catch(Te){G(Te)}},we=ke=>{try{Ke(T.throw(ke))}catch(Te){G(Te)}},Ke=ke=>ke.done?X(ke.value):Promise.resolve(ke.value).then(K,we);Ke((T=T.apply(k,E)).next())});const _=({graduations:k,user:E,dispatch:T})=>{const X=(0,L.useParams)(),[G]=(0,L.useSearchParams)(),[K,we]=(0,y.useState)(!1),[Ke,ke]=(0,y.useState)(!1),[Te,Ye]=(0,y.useState)(!1),[tt,We]=(0,y.useState)(!1),[yt]=P.default.useForm(),St=(0,y.useRef)(null),{details:pt}=k,{user_identity:Lt,code_effect_range:_t,teachers_count:w,students_count:D}=pt,bt=()=>{T({type:"graduations/getGraduationsDetails",payload:{id:X==null?void 0:X.id}})},ce=()=>v(void 0,null,function*(){(yield(0,b.ZP)("/api/graduations/detail.json",{method:"get",params:{code:G.get("code")}})).status===0&&ke(!0)});(0,y.useEffect)(()=>{if(G.get("code")){ce();return}bt()},[]);const Me=()=>{ue.default.confirm({centered:!0,okText:"\u786E\u5B9A",icon:null,width:443,cancelText:"\u53D6\u6D88",title:"\u5220\u9664\u6BD5\u4E1A\u8BBE\u8BA1",content:y.createElement("div",null,y.createElement("p",null,"\u8BE5\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500\u3002\u5220\u9664\u540E\uFF0C\u6BD5\u4E1A\u8BBE\u8BA1\u5185\u7684\u6240\u6709\u6570\u636E\u5C06\u88AB\u540C\u65F6\u5220\u9664"),y.createElement("div",{className:"mb5"},"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801\u540E\u786E\u8BA4\u5220\u9664"),y.createElement(ne.Z,{ref:He=>St.current=He})),onOk:()=>v(void 0,null,function*(){if(St.current.onVerify())return Promise.reject();(yield(0,b.ZP)(`/api/graduations/${X==null?void 0:X.id}.json`,{method:"delete"})).status===0&&(B.ZP.success("\u5220\u9664\u6210\u529F"),L.history.push("/graduations"))})})},pn=`${window.location.origin}/graduations/${X.id}?code=${pt==null?void 0:pt.invite_code}`;return y.createElement("div",{className:`${u.bg} ${(0,Y.tu)()?"":u.bg2}`,style:{background:`url('${(0,Y.tu)()?x:m}') no-repeat center center`}},y.createElement("div",{className:u.center},y.createElement(q.Z,{title:pt==null?void 0:pt.name},y.createElement("div",{className:u.name},pt==null?void 0:pt.name)),y.createElement(Z.Z,{className:"ml20",status:pt.status}),y.createElement("div",{style:{marginLeft:"auto"}},"\u9080\u8BF7\u7801",_t===3?y.createElement("b",{className:"ml10"},"\u5DF2\u505C\u7528"):y.createElement("b",{className:"ml10",style:{color:"#FED218"}},pt==null?void 0:pt.invite_code)),[0,1,2].includes(_t)&&y.createElement(y.Fragment,null,y.createElement("div",{className:u.line}),y.createElement("div",{className:"current",onClick:()=>we(!0)},y.createElement("i",{style:{color:"#d8d8d8"},className:"iconfont icon-fenxiangketang font14 mr5"}),"\xA0\u5206\u4EAB\u6BD5\u8BBE")),(0,Y.tu)()&&y.createElement(y.Fragment,null,y.createElement("div",{className:u.line}),y.createElement("div",{className:"current",onClick:Me},y.createElement("i",{style:{color:"#d8d8d8"},className:"iconfont icon-shanchu8 font14 mr5"}),"\u5220\u9664\u6BD5\u8BBE"))),(0,Y.tu)()&&y.createElement("div",{className:u.member},y.createElement(L.Link,{className:u.btn,to:`/graduations/${X==null?void 0:X.id}/teachers`},y.createElement("i",{className:"iconfont icon-chengyuanguanli1 mr5"}),"\u6210\u5458\u7BA1\u7406"),y.createElement("span",{className:u.line}),y.createElement(L.Link,{className:u.btn,to:`/graduations/${X==null?void 0:X.id}/students`},"\u5B66\u751F",y.createElement("span",{className:"ml10"},D)),y.createElement("span",{className:u.line}),y.createElement(L.Link,{className:u.btn,to:`/graduations/${X==null?void 0:X.id}/teachers`},"\u6559\u5E08",y.createElement("span",{className:"ml10"},w)),y.createElement("span",{onClick:()=>{We("\u6DFB\u52A0\u8001\u5E08")},style:{marginLeft:"auto"},className:u.btn},y.createElement("i",{className:"iconfont icon-tianjialaoshi font14 mr5"}),"\u6DFB\u52A0\u8001\u5E08"),y.createElement("span",{className:u.line}),y.createElement("span",{onClick:()=>{We("\u6DFB\u52A0\u5B66\u751F")},className:u.btn},y.createElement("i",{className:"iconfont icon-tianjiaxuesheng font14 mr5"}),"\u6DFB\u52A0\u5B66\u751F")),y.createElement(ue.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:K,title:"\u5206\u4EAB\u6BD5\u8BBE",width:666,onCancel:()=>{we(!1)},footer:null},y.createElement("div",{className:u.modal},_t===1&&y.createElement("div",{className:u.red},"\u9080\u8BF7\u7801\u5DF2\u5BF9\u7BA1\u7406\u5458\u7981\u7528\uFF0C\u7528\u6237\u5C06\u65E0\u6CD5\u901A\u8FC7\u9080\u8BF7\u7801\u4EE5\u7BA1\u7406\u5458\u8EAB\u4EFD\u52A0\u5165\u6BD5\u8BBE"),_t===2&&y.createElement("div",{className:u.red},"\u9080\u8BF7\u7801\u548C\u9080\u8BF7\u94FE\u63A5\u5DF2\u5BF9\u5B66\u751F\u7981\u7528\uFF0C\u7528\u6237\u5C06\u65E0\u6CD5\u901A\u8FC7\u9080\u8BF7\u7801\u4EE5\u5B66\u751F\u8EAB\u4EFD\u52A0\u5165\u6BD5\u8BBE"),y.createElement("div",{className:u.row},y.createElement("div",{className:u.label},"\u5206\u4EAB\u65B9\u5F0F\u4E00"),y.createElement("div",{className:u.content},y.createElement("div",{className:"c-black"},"\u5206\u4EAB\u9080\u8BF7\u7801"),y.createElement("div",{className:u.input},y.createElement("aside",{className:u.code},pt==null?void 0:pt.invite_code),y.createElement(R.CopyToClipboard,{text:pt==null?void 0:pt.invite_code,onCopy:()=>B.ZP.success("\u590D\u5236\u6210\u529F")},y.createElement("div",{className:u.copy},y.createElement("i",{className:"iconfont icon-fuzhi8 font14 mr5"}),"\u590D\u5236\u9080\u8BF7\u7801"))),y.createElement("div",{className:"font12",style:{color:"#9096A3"}},"\u901A\u8FC7\u9080\u8BF7\u7801\u52A0\u5165\u6BD5\u4E1A\u8BBE\u8BA1\u65F6\uFF0C\u53EF\u4EE5\u9009\u62E9\u52A0\u5165\u6BD5\u8BBE\u7684\u8EAB\u4EFD\uFF08\u9009\u62E9\u7BA1\u7406\u5458\uFF08\u6559\u5E08\uFF09\uFF0C\u9700\u8981\u7BA1\u7406\u5458\u5BA1\u6838\uFF09"))),y.createElement("div",{className:`${u.row} mt30 mb15`},y.createElement("div",{className:u.label},"\u5206\u4EAB\u65B9\u5F0F\u4E8C"),y.createElement("div",{className:u.content},y.createElement("div",null,"\u5206\u4EAB\u94FE\u63A5"),y.createElement("div",{className:u.input},y.createElement("aside",{className:u.code,style:{width:440}},pn),y.createElement(R.CopyToClipboard,{text:pn,onCopy:()=>B.ZP.success("\u590D\u5236\u6210\u529F")},y.createElement("div",{className:u.copy},y.createElement("i",{className:"iconfont icon-fuzhi8 font14 mr5"}),"\u590D\u5236\u94FE\u63A5"))),y.createElement("div",{className:"font12",style:{color:"#9096A3"}},"\u901A\u8FC7\u5206\u4EAB\u94FE\u63A5\u8BBF\u95EE\u6BD5\u8BBE\u65F6\uFF0C\u5DF2\u767B\u5F55\u7528\u6237\u53EF\u4EE5\u76F4\u63A5\u4EE5\u5B66\u751F\u8EAB\u4EFD\u52A0\u5165\u6BD5\u8BBE\uFF0C\u672A\u6CE8\u518C/\u767B\u5F55\u7528\u6237\u5728\u6CE8\u518C/\u767B\u5F55\u540E\u53EF\u4EE5\u76F4\u63A5\u52A0\u5165\u6BD5\u8BBE\u3002"))),y.createElement("div",{style:{height:"15px"}}))),y.createElement(ue.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:Ke,title:"\u52A0\u5165\u6BD5\u8BBE",width:527,confirmLoading:Te,onCancel:()=>{L.history.replace("/graduations")},onOk:()=>yt.submit()},y.createElement(P.default,{colon:!1,form:yt,className:u.formWrap,onFinish:He=>v(void 0,null,function*(){Ye(!0);const rt=yield(0,b.ZP)("/api/graduations/join.json",{method:"post",body:ie(de({},He),{user_type:2,code:G.get("code")})});rt.status===0&&(rt!=null&&rt.identifier?(B.ZP.success("\u52A0\u5165\u6210\u529F"),L.history.replace(`/graduations/${X.id}/index`),ke(!1),bt()):(B.ZP.success(rt==null?void 0:rt.message),L.history.replace("/graduations"))),Ye(!1)})},y.createElement(P.default.Item,{style:{marginBottom:0},name:"major",label:"\u4E13\u4E1A",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"},{max:60,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{whitespace:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"}]},y.createElement(W.default,{showCount:!0,maxLength:60})))),y.createElement(j.Z,{open:tt,onCancel:()=>We(!1),title:tt,OnOk:He=>v(void 0,null,function*(){if((yield(tt=="\u6DFB\u52A0\u8001\u5E08"?he.HF:he.NX)({id:X.id,user_ids:He})).status==0){if(B.ZP.success("\u6DFB\u52A0\u6210\u529F"),We(!1),T({type:"graduations/getGraduationsDetails",payload:{id:X==null?void 0:X.id}}),tt=="\u6DFB\u52A0\u8001\u5E08"&&location.pathname.includes("teachers")){T({type:"graduations/setUpdateIndex"});return}if(tt=="\u6DFB\u52A0\u5B66\u751F"&&location.pathname.includes("students")){T({type:"graduations/setUpdateIndex"});return}const Je=`/graduations/${X==null?void 0:X.id}/${tt=="\u6DFB\u52A0\u8001\u5E08"?"teachers":"students"}`;L.history.push(Je)}})}))};var V=(0,L.connect)(({graduations:k,user:E})=>({graduations:k,user:E}))(_),J={flex_box_center:"flex_box_center___hxWWU",flex_space_between:"flex_space_between___Vtfm0",flex_box_vertical_center:"flex_box_vertical_center___raPpL",flex_box_center_end:"flex_box_center_end___vhgOG",flex_box_column:"flex_box_column___awXbX",icon:"icon___qjZkt",content:"content___w0ayt",dot:"dot___vZgx3"},Le=f(25711),Oe=Object.defineProperty,Ie=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,ct=(k,E,T)=>E in k?Oe(k,E,{enumerable:!0,configurable:!0,writable:!0,value:T}):k[E]=T,it=(k,E)=>{for(var T in E||(E={}))Ze.call(E,T)&&ct(k,T,E[T]);if(Ie)for(var T of Ie(E))ut.call(E,T)&&ct(k,T,E[T]);return k};const Nt=k=>React.createElement("svg",it({className:"icon_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},k),React.createElement("path",{d:"M338.074 165.888A337.1 337.1 0 1 1 205.26 812.902V193.024a336.026 336.026 0 0 1 132.813-27.136zm-214.528 77.005v520.192A336.384 336.384 0 0 1 .973 502.989c0-104.704 47.718-198.247 122.573-260.096z",fill:"#FF9D18"}),React.createElement("path",{d:"M246.118.768a41.35 41.35 0 0 1 14.746 2.714l533.3 206.54h187.494c22.528 0 40.857 18.33 40.857 40.858v483.686c0 22.58-18.278 40.858-40.857 40.858H794.112L260.864 982.016a40.858 40.858 0 0 1-55.603-38.093V41.626c0-22.58 18.278-40.91 40.857-40.91zm560.538 324.147h-57.242a12.288 12.288 0 0 0-12.288 12.288V639.59c0 6.759 5.53 12.288 12.288 12.288h57.242a12.288 12.288 0 0 0 12.237-12.288V337.203a12.288 12.288 0 0 0-12.288-12.288z",fill:"#739EFF"}));var qt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTMzOC4wNzQgMTY1Ljg4OEEzMzcuMSAzMzcuMSAwIDEgMSAyMDUuMjYgODEyLjkwMlYxOTMuMDI0YTMzNi4wMjYgMzM2LjAyNiAwIDAgMSAxMzIuODEzLTI3LjEzNnptLTIxNC41MjggNzcuMDA1djUyMC4xOTJBMzM2LjM4NCAzMzYuMzg0IDAgMCAxIC45NzMgNTAyLjk4OWMwLTEwNC43MDQgNDcuNzE4LTE5OC4yNDcgMTIyLjU3My0yNjAuMDk2eiIgZmlsbD0iI0ZGOUQxOCIvPjxwYXRoIGQ9Ik0yNDYuMTE4Ljc2OGE0MS4zNSA0MS4zNSAwIDAgMSAxNC43NDYgMi43MTRsNTMzLjMgMjA2LjU0aDE4Ny40OTRjMjIuNTI4IDAgNDAuODU3IDE4LjMzIDQwLjg1NyA0MC44NTh2NDgzLjY4NmMwIDIyLjU4LTE4LjI3OCA0MC44NTgtNDAuODU3IDQwLjg1OEg3OTQuMTEyTDI2MC44NjQgOTgyLjAxNmE0MC44NTggNDAuODU4IDAgMCAxLTU1LjYwMy0zOC4wOTNWNDEuNjI2YzAtMjIuNTggMTguMjc4LTQwLjkxIDQwLjg1Ny00MC45MXptNTYwLjUzOCAzMjQuMTQ3aC01Ny4yNDJhMTIuMjg4IDEyLjI4OCAwIDAgMC0xMi4yODggMTIuMjg4VjYzOS41OWMwIDYuNzU5IDUuNTMgMTIuMjg4IDEyLjI4OCAxMi4yODhoNTcuMjQyYTEyLjI4OCAxMi4yODggMCAwIDAgMTIuMjM3LTEyLjI4OFYzMzcuMjAzYTEyLjI4OCAxMi4yODggMCAwIDAtMTIuMjg4LTEyLjI4OHoiIGZpbGw9IiM3MzlFRkYiLz48L3N2Zz4=",nn=f(97267),Dt=f(58130),$t=f(10148),ot=(k,E,T)=>new Promise((X,G)=>{var K=ke=>{try{Ke(T.next(ke))}catch(Te){G(Te)}},we=ke=>{try{Ke(T.throw(ke))}catch(Te){G(Te)}},Ke=ke=>ke.done?X(ke.value):Promise.resolve(ke.value).then(K,we);Ke((T=T.apply(k,E)).next())});const se=({graduations:k,dispatch:E})=>{var T,X;const G=(0,L.useParams)(),K=(0,L.useLocation)(),[we,Ke]=(0,y.useState)(!1),{menus:ke}=k,Te=ke.find(St=>St.stage_url===K.pathname)||{},tt=["opening_report","midterm_report","thesis","final_defense","final_thesis","archives"].includes(Te==null?void 0:Te.clazz),We=()=>ot(void 0,null,function*(){if(Ke(!0),Te!=null&&Te.notice_view)return;(yield(0,b.ZP)(`/api/graduations/${G==null?void 0:G.id}/graduation_stages/${Te==null?void 0:Te.id}/notice_view.json`,{method:"post"})).status===0&&E({type:"graduations/getGraduationsDetails",payload:{id:G==null?void 0:G.id}})}),yt=!((T=Te==null?void 0:Te.attachments)!=null&&T.length)&&!(Te!=null&&Te.description);return y.createElement(y.Fragment,null,tt&&y.createElement(q.Z,{title:"\u9636\u6BB5\u516C\u544A/\u63CF\u8FF0",placement:"bottom"},y.createElement("div",{className:J.icon,onClick:We},y.createElement("div",{className:J.content},y.createElement("img",{height:20,src:qt}),!(Te!=null&&Te.notice_view)&&y.createElement("div",{className:J.dot})))),y.createElement(ue.default,{centered:!0,destroyOnClose:!0,onCancel:()=>Ke(!1),onOk:()=>Ke(!1),open:we,title:"\u9636\u6BB5\u516C\u544A/\u63CF\u8FF0",width:990,cancelButtonProps:{style:{display:"none"}},okText:"\u6211\u77E5\u9053\u4E86"},yt?y.createElement(nn.Z,null):y.createElement("div",{style:{maxHeight:500}},y.createElement(Le.Z,{className:"mb25",value:(Te==null?void 0:Te.description)||""}),(X=Te==null?void 0:Te.attachments)==null?void 0:X.map(St=>y.createElement(Ee.Z,{key:St.id,className:"mt4",align:"middle"},y.createElement("div",{style:{color:"#3061D0"},className:"current c-light-primary",onClick:()=>{var pt;(0,Dt.Nd)("",`${$t.Z.API_SERVER}${(pt=St==null?void 0:St.url)==null?void 0:pt.replace("disposition=inline","")}`)}},y.createElement("i",{className:"iconfont icon-wenjian7 font14 mr5"}),(0,Dt.tP)(St.title,62)))))))};var be=(0,L.connect)(({graduations:k})=>({graduations:k}))(se);const{Content:H}=ee.default;var xe=({})=>y.createElement("div",{className:"bg-white"},y.createElement(V,null),y.createElement(Ee.Z,{className:"edu-container",wrap:!1},y.createElement(S,null),y.createElement(H,{style:{flex:1,width:0,position:"relative"}},y.createElement(be,null),y.createElement(L.Outlet,null))))},90653:function(en,et,f){"use strict";var y=f(59301),L=f(42203),ee=f(78241),Ee=f(6848),$=f(8591),q=f(43418),C=f(57809),Se=f(92832),a=f(88522),I=f(2595),z=f(61186),S=f.n(z),u=f(97267),x=f(19726),m=f(94606),P=Object.defineProperty,ue=Object.defineProperties,B=Object.getOwnPropertyDescriptors,W=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,b=(me,fe,ae)=>fe in me?P(me,fe,{enumerable:!0,configurable:!0,writable:!0,value:ae}):me[fe]=ae,R=(me,fe)=>{for(var ae in fe||(fe={}))ne.call(fe,ae)&&b(me,ae,fe[ae]);if(W)for(var ae of W(fe))Y.call(fe,ae)&&b(me,ae,fe[ae]);return me},Z=(me,fe)=>ue(me,B(fe)),j=(me,fe,ae)=>new Promise((te,U)=>{var pe=ie=>{try{de(ae.next(ie))}catch(v){U(v)}},Q=ie=>{try{de(ae.throw(ie))}catch(v){U(v)}},de=ie=>ie.done?te(ie.value):Promise.resolve(ie.value).then(pe,Q);de((ae=ae.apply(me,fe)).next())});const he=({graduations:{StageSetting:me},onCancel:fe,OnOk:ae,open:te=!1,title:U,dispatch:pe})=>{const Q=(0,L.useParams)(),[de,ie]=(0,y.useState)([]),[v]=ee.default.useForm(),[_,V]=(0,y.useState)({school:"",search:"",search_type:"name"}),[J,Le]=(0,y.useState)(!0),[Oe,Ie]=(0,y.useState)(!1),[Ze,ut]=(0,y.useState)(!1),[ct,it]=(0,y.useState)([]),[Nt,qt]=(0,y.useState)(0),[nn,Dt]=(0,y.useState)(0),[$t,ot]=(0,y.useState)(1),[se,be]=(0,y.useState)([]),[H,O]=(0,y.useState)(!1),xe=(0,y.useRef)(null);(0,y.useEffect)(()=>{switch(U){case"\u6DFB\u52A0\u5B66\u751F":Dt(0);break;case"\u6DFB\u52A0\u8001\u5E08":Dt(1);break;default:Dt(null)}},[te]),(0,y.useEffect)(()=>{j(void 0,null,function*(){var G;const K=yield(0,x.xF)({keyword:"",per_page:9999,display_aliases:!0});ie((G=K==null?void 0:K.schools)==null?void 0:G.map(we=>({label:we.name,value:we.id})))})},[]);const k=[{title:"\u59D3\u540D",width:100,ellipsis:!0,dataIndex:"name",render:G=>y.createElement(Ee.Z,{placement:"topLeft",title:G},y.createElement("span",{style:{color:"#000"}},G||"--"))},{title:"\u5B66\u6821/\u5355\u4F4D",dataIndex:"school",ellipsis:!0,render:G=>y.createElement(Ee.Z,{placement:"topLeft",title:G},y.createElement("span",{style:{color:"#000"}},G||"--"))},{title:"\u9662\u7CFB/\u90E8\u95E8",dataIndex:"department",width:130,ellipsis:!0,render:G=>y.createElement(Ee.Z,{placement:"topLeft",title:G},y.createElement("span",{style:{color:"#000"}},G||"--"))},{title:"\u5B66\u53F7/\u5DE5\u53F7",width:100,dataIndex:"student_number",ellipsis:!0,render:(G,K)=>y.createElement(Ee.Z,{placement:"topLeft",title:K.staff_id||K.student_id},y.createElement("span",{className:"c-grey-666"},K.staff_id||K.student_id||"--"))},{title:"\u624B\u673A",width:110,dataIndex:"phone",ellipsis:!0,render:G=>y.createElement(Ee.Z,{placement:"topLeft",title:G},y.createElement("span",{className:"c-grey-666"},G||"--"))},{title:"\u90AE\u7BB1",dataIndex:"mail",width:120,ellipsis:!0,render:G=>y.createElement(Ee.Z,{placement:"topLeft",title:G},y.createElement("span",{className:"c-grey-666"},G||"--"))},{title:"\u5B9E\u540D\u8BA4\u8BC1",dataIndex:"authentication",width:80,render:G=>G?y.createElement("span",{style:{color:"#000"}},"\u662F"):"\u5426"},{title:"\u6700\u540E\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_on",width:140,ellipsis:!0,render:G=>y.createElement(Ee.Z,{placement:"topLeft",title:G},y.createElement("span",{className:"c-grey-666"},S()(G).format("YYYY-MM-DD HH:mm")))},{title:"\u72B6\u6001",dataIndex:"checked",width:80,render:G=>G?y.createElement("span",{className:"c-green"},"\u5DF2\u6DFB\u52A0"):y.createElement("span",{className:"c-grey-333"},"\u672A\u6DFB\u52A0")}],E=G=>j(void 0,null,function*(){var K,we;if(xe.current&&((we=(K=xe.current)==null?void 0:K.querySelector(".ant-table-body"))==null||we.scrollTo(0,0)),O(!0),be([]),!(G.search||G.school)){$.ZP.warning("\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9");return}Ie(!0),V(G),ot(1);let Ke;const ke=Z(R({id:Q.id},G),{display_aliases:!0});nn==0&&(Ke=yield(0,x.l5)(ke)),nn==1&&(Ke=yield(0,x.bS)(ke)),Ke.status==0&&(it(Ke.data),qt(Ke.count)),Ie(!1)}),T=(G=!1)=>j(void 0,null,function*(){var K,we,Ke,ke;const Te=(K=xe.current)==null?void 0:K.querySelector(".ant-table-body").scrollHeight,Ye=(we=xe.current)==null?void 0:we.querySelector(".ant-table-body").scrollTop,tt=(Ke=xe.current)==null?void 0:Ke.querySelector(".ant-table-body").clientHeight;if(Te==Ye+tt&&J&&!Oe){Ie(!0),ot($t+1);let We;const yt=R({page:$t+1,id:Q.id},_);nn==0&&(We=yield(0,x.l5)(yt)),nn==1&&(We=yield(0,x.bS)(yt)),We.status==0&&(((ke=We==null?void 0:We.data)==null?void 0:ke.length)+ct.length==We.count&&Le(!1),it([...ct,...We.data]),qt(We.count)),Ie(!1)}}),X={selectedRowKeys:se,onChange:(G,K)=>{be(G)},getCheckboxProps:G=>({disabled:G.checked,name:G.checked})};return y.createElement(q.default,{destroyOnClose:!0,width:1200,style:{height:"613px"},open:te,confirmLoading:Ze,title:U,bodyStyle:{padding:"0px 25px"},onOk:()=>j(void 0,null,function*(){se.length>0?(ut(!0),yield ae(se),ut(!1),v.resetFields(),it([]),O(!1),be([])):$.ZP.warning("\u8BF7\u9009\u62E9\u6DFB\u52A0\u4EBA\u5458")}),onCancel:()=>{fe(),v.resetFields(),O(!1),it([]),be([])}},y.createElement(ee.default,{layout:"inline",className:"mt10",colon:!1,form:v,initialValues:{school:"",search:"",search_type:"name"},onValuesChange:(G,K)=>V(K),size:"large",onFinish:E},y.createElement(ee.default.Item,{name:"search_type",label:"\u641C\u7D22\u7C7B\u578B"},y.createElement(C.default,{style:{width:160}},y.createElement(C.default.Option,{value:"name"},"\u59D3\u540D"),y.createElement(C.default.Option,{value:"phone"},"\u624B\u673A\u53F7"),y.createElement(C.default.Option,{value:"mail"},"\u90AE\u7BB1"))),y.createElement(ee.default.Item,{name:"search",label:"\u641C\u7D22\u5185\u5BB9"},y.createElement(Se.default,{allowClear:!0,style:{width:320},placeholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",defaultValue:""})),y.createElement(ee.default.Item,{name:"school",label:"\u5355\u4F4D"},y.createElement(a.Z,{options:de,style:{width:380},placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0",onSelect:(G,K)=>{console.log(G,K),v.setFieldsValue({school:K.label})},filterOption:(G,K)=>K.label.toUpperCase().indexOf(G.toUpperCase())!==-1})),y.createElement(ee.default.Item,{noStyle:!0},y.createElement(m.op,{onClick:()=>v.submit(),size:"large",shape:"default"},"\u641C\u7D22"))),y.createElement("div",{onScrollCapture:()=>T()},H?y.createElement(I.default,{className:"mt20",loading:Oe,showHeader:ct.length>0,scroll:Nt>10?{y:450}:{},rowKey:"user_id",rowSelection:X,locale:{emptyText:y.createElement(u.Z,{customText:"\u672A\u627E\u5230\u7B26\u5408\u6761\u4EF6\u7684\u6570\u636E\uFF0C\u8BF7\u91CD\u65B0\u8C03\u6574\u60A8\u7684\u7B5B\u9009\u6761\u4EF6\u3002"})},pagination:!1,dataSource:ct,ref:xe,columns:k}):y.createElement(u.Z,{customText:"\u8BF7\u641C\u7D22\u8981\u6DFB\u52A0\u7684\u4EBA\u5458"})))};et.Z=(0,L.connect)(({graduations:me})=>({graduations:me}))(he)},86389:function(en,et,f){"use strict";f.d(et,{Z:function(){return q}});var y=f(59301),L={flex_box_center:"flex_box_center___Sswcw",flex_space_between:"flex_space_between___nBexI",flex_box_vertical_center:"flex_box_vertical_center___sPXvb",flex_box_center_end:"flex_box_center_end___c6nca",flex_box_column:"flex_box_column___Bq_gi",tag:"tag___NEywM"},ee=f(92310),Ee=f.n(ee),q=({className:C,status:Se})=>y.createElement(y.Fragment,null,Se===0&&y.createElement("div",{className:Ee()(L.tag,C)},"\u672A\u5F00\u59CB"),Se===1&&y.createElement("div",{className:Ee()(L.tag,C),style:{background:"#19CB70"}},"\u8FDB\u884C\u4E2D"),Se===2&&y.createElement("div",{className:Ee()(L.tag,C),style:{background:"#EE5D5D"}},"\u5DF2\u7ED3\u675F"))},31087:function(en,et,f){"use strict";f.d(et,{AL:function(){return Y},Iy:function(){return z},Qv:function(){return x},ez:function(){return ne},jb:function(){return S}});var y=f(32834),L=f.n(y),ee=f(11690),Ee=f.n(ee);let $=1;function q(he,me){const fe=he.match(/^(\s+)(?:```)/);if(fe===null)return me;const ae=fe[1];return me.split(`
`).map(te=>{const U=te.match(/^\s+/);if(U===null)return te;const[pe]=U;return pe.length>=ae.length?te.slice(ae.length):te}).join(`
`)}let C=[],Se=["<ul>"];const a=new(L()).Renderer,I=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function z(){C.length=0,Se=["<ul>"]}const S={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function u(he,me,fe,ae){if(me>=he.length||he[me].level<=fe)return me;var te=he[me];ae.push("<li><a href='#"+$+te.anchor+"'>"+te.text+"</a>"),me++;var U=[];return me=u(he,me,te.level,U),U.length>0&&(ae.push("<ul>"),U.forEach(function(pe){ae.push(pe)}),ae.push("</ul>")),ae.push("</li>"),me=u(he,me,fe,ae),me}function x(){return u(C,0,0,Se),Se.push("</ul>"),Se.join("")}const m={heading(he){const me=I.exec(he);if($+=1,me)return{type:"heading",raw:me[0],depth:me[1].length,text:me[2]}},fences(he){const me=this.rules.block.fences.exec(he);if(me){const fe=me[0];let ae=q(fe,me[3]||"");const te=me[2]?me[2].trim():me[2];if(["latex","katex","math"].indexOf(te)>=0){const U=B(),pe=ae;ae=U,W[U]={type:"block",expression:pe}}return{type:"code",raw:fe,lang:te,text:ae}}}},P=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let ue=0;const B=()=>`__special_katext_id_${ue++}__`;let W={};function ne(){return W}function Y(){ue=0,W={}}function b(he){return he=he.replace(P,(me,fe)=>{const ae=B();return W[ae]={type:"inline",expression:fe},ae}),he}const R=a.listitem;a.listitem=function(he){return R(b(he))};const Z=a.paragraph;a.paragraph=function(he){return Z(b(he))};const j=a.tablecell;a.tablecell=function(he,me){return j(b(he),me)},a.code=function(he,me,fe){const ae=(me||"").match(/\S*/)[0];return ae?["latex","katex","math"].indexOf(ae)>=0?`<p class='editormd-tex'>${he}</p>`:`<pre class="prettyprint linenums"><code class="language-${me}">${fe?he:(0,ee.escape)(he,!0)}</code></pre>
`:'<pre class="prettyprint linenums"><code>'+(fe?he:(0,ee.escape)(he,!0))+"</code></pre>"},a.heading=function(he,me,fe){let ae=this.options.headerPrefix+fe.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return C.push({anchor:ae,level:me,text:he}),"<h"+me+' id="'+$+ae+'">'+he+"</h"+me+">"},L().setOptions({silent:!0,gfm:!0,pedantic:!1}),L().use({tokenizer:m,renderer:a}),et.ZP=L()},36785:function(en,et,f){"use strict";f.d(et,{o2:function(){return $},yT:function(){return q}});var y=f(26390),L=f(33166);const ee=L.i.map(C=>`${C}-inverse`),Ee=["success","processing","error","default","warning"];function $(C){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,y.Z)(ee),(0,y.Z)(L.i)).includes(C):L.i.includes(C)}function q(C){return Ee.includes(C)}},50371:function(en,et){"use strict";function f(){const y=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let L=1;L<arguments.length;L++){const ee=L<0||arguments.length<=L?void 0:arguments[L];ee&&Object.keys(ee).forEach(Ee=>{const $=ee[Ee];$!==void 0&&(y[Ee]=$)})}return y}et.Z=f},13845:function(en,et,f){"use strict";f.d(et,{F:function(){return y},Z:function(){return L}});function y(ee){return ee!=null&&ee===ee.window}function L(ee,Ee){var $,q;if(typeof window=="undefined")return 0;const C=Ee?"scrollTop":"scrollLeft";let Se=0;return y(ee)?Se=ee[Ee?"pageYOffset":"pageXOffset"]:ee instanceof Document?Se=ee.documentElement[C]:(ee instanceof HTMLElement||ee)&&(Se=ee[C]),ee&&!y(ee)&&typeof Se!="number"&&(Se=(q=(($=ee.ownerDocument)!==null&&$!==void 0?$:ee).documentElement)===null||q===void 0?void 0:q[C]),Se}},56762:function(en,et,f){"use strict";f.d(et,{Z:function(){return L}});var y=f(59301);function L(){const[,ee]=y.useReducer(Ee=>Ee+1,0);return ee}},79676:function(en,et,f){"use strict";f.d(et,{Z:function(){return q}});var y=f(19447);function L(C,Se,a,I){if(I===!1)return{adjustX:!1,adjustY:!1};const z=I&&typeof I=="object"?I:{},S={};switch(C){case"top":case"bottom":S.shiftX=Se.dropdownArrowOffset*2+a;break;case"left":case"right":S.shiftY=Se.dropdownArrowOffsetVertical*2+a;break}const u=Object.assign(Object.assign({},S),z);return u.shiftX||(u.adjustX=!0),u.shiftY||(u.adjustY=!0),u}const ee={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"]}},Ee={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"]}},$=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function q(C){const{arrowWidth:Se,autoAdjustOverflow:a,arrowPointAtCenter:I,offset:z,borderRadius:S,visibleFirst:u}=C,x=Se/2,m={};return Object.keys(ee).forEach(P=>{const ue=I&&Ee[P]||ee[P],B=Object.assign(Object.assign({},ue),{offset:[0,0]});switch(m[P]=B,$.has(P)&&(B.autoArrow=!1),P){case"top":case"topLeft":case"topRight":B.offset[1]=-x-z;break;case"bottom":case"bottomLeft":case"bottomRight":B.offset[1]=x+z;break;case"left":case"leftTop":case"leftBottom":B.offset[0]=-x-z;break;case"right":case"rightTop":case"rightBottom":B.offset[0]=x+z;break}const W=(0,y.fS)({contentRadius:S,limitVerticalRadius:!0});if(I)switch(P){case"topLeft":case"bottomLeft":B.offset[0]=-W.dropdownArrowOffset-x;break;case"topRight":case"bottomRight":B.offset[0]=W.dropdownArrowOffset+x;break;case"leftTop":case"rightTop":B.offset[1]=-W.dropdownArrowOffset-x;break;case"leftBottom":case"rightBottom":B.offset[1]=W.dropdownArrowOffset+x;break}B.overflow=L(P,W,Se,a),u&&(B.htmlRegion="visibleFirst")}),m}},68031:function(en,et,f){"use strict";f.d(et,{Z:function(){return Ee}});var y=f(23073);function L($,q,C,Se){const a=C-q;return $/=Se/2,$<1?a/2*$*$*$+q:a/2*(($-=2)*$*$+2)+q}var ee=f(13845);function Ee($){let q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:C=()=>window,callback:Se,duration:a=450}=q,I=C(),z=(0,ee.Z)(I,!0),S=Date.now(),u=()=>{const m=Date.now()-S,P=L(m>a?a:m,z,$,a);(0,ee.F)(I)?I.scrollTo(window.pageXOffset,P):I instanceof Document||I.constructor.name==="HTMLDocument"?I.documentElement.scrollTop=P:I.scrollTop=P,m<a?(0,y.Z)(u):typeof Se=="function"&&Se()};(0,y.Z)(u)}},19080:function(en,et,f){"use strict";f.d(et,{F:function(){return $},Z:function(){return Ee}});var y=f(92310),L=f.n(y);const ee=null;function Ee(q,C,Se){return L()({[`${q}-status-success`]:C==="success",[`${q}-status-warning`]:C==="warning",[`${q}-status-error`]:C==="error",[`${q}-status-validating`]:C==="validating",[`${q}-has-feedback`]:Se})}const $=(q,C)=>C||q},88522:function(en,et,f){"use strict";var y=f(92310),L=f.n(y),ee=f(38298),Ee=f(64002),$=f(59301),q=f(53487),C=f(92343),Se=f(36355),a=f(57809);const{Option:I}=a.default;function z(m){return m&&m.type&&(m.type.isSelectOption||m.type.isSelectOptGroup)}const S=(m,P)=>{const{prefixCls:ue,className:B,popupClassName:W,dropdownClassName:ne,children:Y,dataSource:b}=m,R=(0,ee.Z)(Y);let Z;R.length===1&&(0,C.l$)(R[0])&&!z(R[0])&&([Z]=R);const j=Z?()=>Z:void 0;let he;R.length&&z(R[0])?he=Y:he=b?b.map(ae=>{if((0,C.l$)(ae))return ae;switch(typeof ae){case"string":return $.createElement(I,{key:ae,value:ae},ae);case"object":{const{value:te}=ae;return $.createElement(I,{key:te,value:te},ae.text)}default:return}}):[];const{getPrefixCls:me}=$.useContext(Se.E_),fe=me("select",ue);return $.createElement(a.default,Object.assign({ref:P,suffixIcon:null},(0,Ee.Z)(m,["dataSource","dropdownClassName"]),{prefixCls:fe,popupClassName:W||ne,className:L()(`${fe}-auto-complete`,B),mode:a.default.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:j}),he)},u=$.forwardRef(S),x=(0,q.Z)(u);u.Option=I,u._InternalPanelDoNotUseOrYouWillBeFired=x,et.Z=u},24905:function(en,et,f){"use strict";f.d(et,{default:function(){return Z}});var y=f(92310),L=f.n(y),ee=f(5630),Ee=f(59301),$=f(36355),q=f(1684),C=f(32441),a=Ee.createContext(null),I=f(98447),z=f(14088),S=f(4572),u=function(j,he){var me={};for(var fe in j)Object.prototype.hasOwnProperty.call(j,fe)&&he.indexOf(fe)<0&&(me[fe]=j[fe]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,fe=Object.getOwnPropertySymbols(j);ae<fe.length;ae++)he.indexOf(fe[ae])<0&&Object.prototype.propertyIsEnumerable.call(j,fe[ae])&&(me[fe[ae]]=j[fe[ae]]);return me};const x=(j,he)=>{var me;const{prefixCls:fe,className:ae,rootClassName:te,children:U,indeterminate:pe=!1,style:Q,onMouseEnter:de,onMouseLeave:ie,skipGroup:v=!1,disabled:_}=j,V=u(j,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:J,direction:Le,checkbox:Oe}=Ee.useContext($.E_),Ie=Ee.useContext(a),{isFormItemInput:Ze}=Ee.useContext(C.aM),ut=Ee.useContext(q.Z),ct=(me=(Ie==null?void 0:Ie.disabled)||_)!==null&&me!==void 0?me:ut,it=Ee.useRef(V.value);Ee.useEffect(()=>{Ie==null||Ie.registerValue(V.value)},[]),Ee.useEffect(()=>{if(!v)return V.value!==it.current&&(Ie==null||Ie.cancelValue(it.current),Ie==null||Ie.registerValue(V.value),it.current=V.value),()=>Ie==null?void 0:Ie.cancelValue(V.value)},[V.value]);const Nt=J("checkbox",fe),[qt,nn]=(0,I.ZP)(Nt),Dt=Object.assign({},V);Ie&&!v&&(Dt.onChange=function(){V.onChange&&V.onChange.apply(V,arguments),Ie.toggleOption&&Ie.toggleOption({label:U,value:V.value})},Dt.name=Ie.name,Dt.checked=Ie.value.includes(V.value));const $t=L()(`${Nt}-wrapper`,{[`${Nt}-rtl`]:Le==="rtl",[`${Nt}-wrapper-checked`]:Dt.checked,[`${Nt}-wrapper-disabled`]:ct,[`${Nt}-wrapper-in-form-item`]:Ze},Oe==null?void 0:Oe.className,ae,te,nn),ot=L()({[`${Nt}-indeterminate`]:pe},S.A,nn),se=pe?"mixed":void 0;return qt(Ee.createElement(z.Z,{component:"Checkbox",disabled:ct},Ee.createElement("label",{className:$t,style:Object.assign(Object.assign({},Oe==null?void 0:Oe.style),Q),onMouseEnter:de,onMouseLeave:ie},Ee.createElement(ee.Z,Object.assign({"aria-checked":se},Dt,{prefixCls:Nt,className:ot,disabled:ct,ref:he})),U!==void 0&&Ee.createElement("span",null,U))))};var P=Ee.forwardRef(x),ue=f(26390),B=f(64002),W=function(j,he){var me={};for(var fe in j)Object.prototype.hasOwnProperty.call(j,fe)&&he.indexOf(fe)<0&&(me[fe]=j[fe]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,fe=Object.getOwnPropertySymbols(j);ae<fe.length;ae++)he.indexOf(fe[ae])<0&&Object.prototype.propertyIsEnumerable.call(j,fe[ae])&&(me[fe[ae]]=j[fe[ae]]);return me};const ne=(j,he)=>{const{defaultValue:me,children:fe,options:ae=[],prefixCls:te,className:U,rootClassName:pe,style:Q,onChange:de}=j,ie=W(j,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:v,direction:_}=Ee.useContext($.E_),[V,J]=Ee.useState(ie.value||me||[]),[Le,Oe]=Ee.useState([]);Ee.useEffect(()=>{"value"in ie&&J(ie.value||[])},[ie.value]);const Ie=Ee.useMemo(()=>ae.map(be=>typeof be=="string"||typeof be=="number"?{label:be,value:be}:be),[ae]),Ze=be=>{Oe(H=>H.filter(O=>O!==be))},ut=be=>{Oe(H=>[].concat((0,ue.Z)(H),[be]))},ct=be=>{const H=V.indexOf(be.value),O=(0,ue.Z)(V);H===-1?O.push(be.value):O.splice(H,1),"value"in ie||J(O),de==null||de(O.filter(xe=>Le.includes(xe)).sort((xe,k)=>{const E=Ie.findIndex(X=>X.value===xe),T=Ie.findIndex(X=>X.value===k);return E-T}))},it=v("checkbox",te),Nt=`${it}-group`,[qt,nn]=(0,I.ZP)(it),Dt=(0,B.Z)(ie,["value","disabled"]),$t=ae.length?Ie.map(be=>Ee.createElement(P,{prefixCls:it,key:be.value.toString(),disabled:"disabled"in be?be.disabled:ie.disabled,value:be.value,checked:V.includes(be.value),onChange:be.onChange,className:`${Nt}-item`,style:be.style,title:be.title},be.label)):fe,ot={toggleOption:ct,value:V,disabled:ie.disabled,name:ie.name,registerValue:ut,cancelValue:Ze},se=L()(Nt,{[`${Nt}-rtl`]:_==="rtl"},U,pe,nn);return qt(Ee.createElement("div",Object.assign({className:se,style:Q},Dt,{ref:he}),Ee.createElement(a.Provider,{value:ot},$t)))},Y=Ee.forwardRef(ne);var b=Ee.memo(Y);const R=P;R.Group=b,R.__ANT_CHECKBOX=!0;var Z=R},98447:function(en,et,f){"use strict";f.d(et,{C2:function(){return $}});var y=f(17313),L=f(37613),ee=f(83116);const Ee=q=>{const{checkboxCls:C}=q,Se=`${C}-wrapper`;return[{[`${C}-group`]:Object.assign(Object.assign({},(0,y.Wf)(q)),{display:"inline-flex",flexWrap:"wrap",columnGap:q.marginXS,[`> ${q.antCls}-row`]:{flex:1}}),[Se]:Object.assign(Object.assign({},(0,y.Wf)(q)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Se}`]:{marginInlineStart:0},[`&${Se}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[C]:Object.assign(Object.assign({},(0,y.Wf)(q)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:q.borderRadiusSM,alignSelf:"center",[`${C}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${C}-inner`]:Object.assign({},(0,y.oN)(q))},[`${C}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:q.checkboxSize,height:q.checkboxSize,direction:"ltr",backgroundColor:q.colorBgContainer,border:`${q.lineWidth}px ${q.lineType} ${q.colorBorder}`,borderRadius:q.borderRadiusSM,borderCollapse:"separate",transition:`all ${q.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:q.checkboxSize/14*5,height:q.checkboxSize/14*8,border:`${q.lineWidthBold}px solid ${q.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${q.motionDurationFast} ${q.motionEaseInBack}, opacity ${q.motionDurationFast}`}},"& + span":{paddingInlineStart:q.paddingXS,paddingInlineEnd:q.paddingXS}})},{[`
${Se}:not(${Se}-disabled),
${C}:not(${C}-disabled)
`]:{[`&:hover ${C}-inner`]:{borderColor:q.colorPrimary}},[`${Se}:not(${Se}-disabled)`]:{[`&:hover ${C}-checked:not(${C}-disabled) ${C}-inner`]:{backgroundColor:q.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${C}-checked:not(${C}-disabled):after`]:{borderColor:q.colorPrimaryHover}}},{[`${C}-checked`]:{[`${C}-inner`]:{backgroundColor:q.colorPrimary,borderColor:q.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${q.motionDurationMid} ${q.motionEaseOutBack} ${q.motionDurationFast}`}}},[`
${Se}-checked:not(${Se}-disabled),
${C}-checked:not(${C}-disabled)
`]:{[`&:hover ${C}-inner`]:{backgroundColor:q.colorPrimaryHover,borderColor:"transparent"}}},{[C]:{"&-indeterminate":{[`${C}-inner`]:{backgroundColor:q.colorBgContainer,borderColor:q.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:q.fontSizeLG/2,height:q.fontSizeLG/2,backgroundColor:q.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Se}-disabled`]:{cursor:"not-allowed"},[`${C}-disabled`]:{[`&, ${C}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${C}-inner`]:{background:q.colorBgContainerDisabled,borderColor:q.colorBorder,"&:after":{borderColor:q.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:q.colorTextDisabled},[`&${C}-indeterminate ${C}-inner::after`]:{background:q.colorTextDisabled}}}]};function $(q,C){const Se=(0,L.TS)(C,{checkboxCls:`.${q}`,checkboxSize:C.controlInteractiveSize});return[Ee(Se)]}et.ZP=(0,ee.Z)("Checkbox",(q,C)=>{let{prefixCls:Se}=C;return[$(Se,q)]})},93891:function(en,et,f){"use strict";var y=f(59301),L=f(36355),ee=f(64165);const Ee=$=>{const{componentName:q}=$,{getPrefixCls:C}=(0,y.useContext)(L.E_),Se=C("empty");switch(q){case"Table":case"List":return y.createElement(ee.Z,{image:ee.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return y.createElement(ee.Z,{image:ee.Z.PRESENTED_IMAGE_SIMPLE,className:`${Se}-small`});default:return y.createElement(ee.Z,null)}};et.Z=Ee},91857:function(en,et,f){"use strict";var y=f(59301),L=f(53878),ee=f(92310),Ee=f.n(ee),$=f(31561),q=f(80764),C=f(35788),Se=f(64002),a=f(79676),I=f(53487),z=f(92343),S=f(36355),u=f(20834),x=f(40875),m=f(88088),P=f(47211);const ue=null,B=b=>{const{menu:R,arrow:Z,prefixCls:j,children:he,trigger:me,disabled:fe,dropdownRender:ae,getPopupContainer:te,overlayClassName:U,rootClassName:pe,open:Q,onOpenChange:de,visible:ie,onVisibleChange:v,mouseEnterDelay:_=.15,mouseLeaveDelay:V=.1,autoAdjustOverflow:J=!0,placement:Le="",overlay:Oe,transitionName:Ie}=b,{getPopupContainer:Ze,getPrefixCls:ut,direction:ct}=y.useContext(S.E_),it=y.useMemo(()=>{const K=ut();return Ie!==void 0?Ie:Le.includes("top")?`${K}-slide-down`:`${K}-slide-up`},[ut,Le,Ie]),Nt=y.useMemo(()=>Le?Le.includes("Center")?Le.slice(0,Le.indexOf("Center")):Le:ct==="rtl"?"bottomRight":"bottomLeft",[Le,ct]),qt=ut("dropdown",j),[nn,Dt]=(0,P.Z)(qt),[,$t]=(0,m.Z)(),ot=y.Children.only(he),se=(0,z.Tm)(ot,{className:Ee()(`${qt}-trigger`,{[`${qt}-rtl`]:ct==="rtl"},ot.props.className),disabled:fe}),be=fe?[]:me;let H;be&&be.includes("contextMenu")&&(H=!0);const[O,xe]=(0,C.Z)(!1,{value:Q!=null?Q:ie}),k=(0,q.useEvent)(K=>{de==null||de(K),v==null||v(K),xe(K)}),E=Ee()(U,pe,Dt,{[`${qt}-rtl`]:ct==="rtl"}),T=(0,a.Z)({arrowPointAtCenter:typeof Z=="object"&&Z.pointAtCenter,autoAdjustOverflow:J,offset:$t.marginXXS,arrowWidth:Z?$t.sizePopupArrow:0,borderRadius:$t.borderRadius}),X=y.useCallback(()=>{xe(!1)},[]),G=()=>{let K;return R!=null&&R.items?K=y.createElement(u.default,Object.assign({},R)):typeof Oe=="function"?K=Oe():K=Oe,ae&&(K=ae(K)),K=y.Children.only(typeof K=="string"?y.createElement("span",null,K):K),y.createElement(x.J,{prefixCls:`${qt}-menu`,expandIcon:y.createElement("span",{className:`${qt}-menu-submenu-arrow`},y.createElement(L.Z,{className:`${qt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:X,validator:we=>{let{mode:Ke}=we}},K)};return nn(y.createElement($.Z,Object.assign({alignPoint:H},(0,Se.Z)(b,["rootClassName"]),{mouseEnterDelay:_,mouseLeaveDelay:V,visible:O,builtinPlacements:T,arrow:!!Z,overlayClassName:E,prefixCls:qt,getPopupContainer:te||Ze,transitionName:it,trigger:be,overlay:G,placement:Nt,onVisibleChange:k}),se))};function W(b){return Object.assign(Object.assign({},b),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ne=(0,I.Z)(B,"dropdown",b=>b,W),Y=b=>y.createElement(ne,Object.assign({},b),y.createElement("span",null));B._InternalPanelDoNotUseOrYouWillBeFired=Y,et.Z=B},38854:function(en,et,f){"use strict";f.d(et,{Z:function(){return m}});var y=f(91857),L=f(92310),ee=f.n(L),Ee=f(59301),$=f(19362),q=f(3113),C=f(36355),Se=f(81327),a=f(33234),I=f(47211),z=function(P,ue){var B={};for(var W in P)Object.prototype.hasOwnProperty.call(P,W)&&ue.indexOf(W)<0&&(B[W]=P[W]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,W=Object.getOwnPropertySymbols(P);ne<W.length;ne++)ue.indexOf(W[ne])<0&&Object.prototype.propertyIsEnumerable.call(P,W[ne])&&(B[W[ne]]=P[W[ne]]);return B};const S=P=>{const{getPopupContainer:ue,getPrefixCls:B,direction:W}=Ee.useContext(C.E_),{prefixCls:ne,type:Y="default",danger:b,disabled:R,loading:Z,onClick:j,htmlType:he,children:me,className:fe,menu:ae,arrow:te,autoFocus:U,overlay:pe,trigger:Q,align:de,open:ie,onOpenChange:v,placement:_,getPopupContainer:V,href:J,icon:Le=Ee.createElement($.Z,null),title:Oe,buttonsRender:Ie=G=>G,mouseEnterDelay:Ze,mouseLeaveDelay:ut,overlayClassName:ct,overlayStyle:it,destroyPopupOnHide:Nt,dropdownRender:qt}=P,nn=z(P,["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"]),Dt=B("dropdown",ne),$t=`${Dt}-button`,[ot,se]=(0,I.Z)(Dt),be={menu:ae,arrow:te,autoFocus:U,align:de,disabled:R,trigger:R?[]:Q,onOpenChange:v,getPopupContainer:V||ue,mouseEnterDelay:Ze,mouseLeaveDelay:ut,overlayClassName:ct,overlayStyle:it,destroyPopupOnHide:Nt,dropdownRender:qt},{compactSize:H,compactItemClassnames:O}=(0,a.ri)(Dt,W),xe=ee()($t,O,fe,se);"overlay"in P&&(be.overlay=pe),"open"in P&&(be.open=ie),"placement"in P?be.placement=_:be.placement=W==="rtl"?"bottomLeft":"bottomRight";const k=Ee.createElement(q.ZP,{type:Y,danger:b,disabled:R,loading:Z,onClick:j,htmlType:he,href:J,title:Oe},me),E=Ee.createElement(q.ZP,{type:Y,danger:b,icon:Le}),[T,X]=Ie([k,E]);return ot(Ee.createElement(Se.Z.Compact,Object.assign({className:xe,size:H,block:!0},nn),T,Ee.createElement(y.Z,Object.assign({},be),X)))};S.__ANT_BUTTON=!0;var u=S;const x=y.Z;x.Button=u;var m=x},47211:function(en,et,f){"use strict";f.d(et,{Z:function(){return z}});var y=f(17313),L=f(13826),ee=f(92899),Ee=f(29878),$=f(19447),q=f(83116),C=f(37613),a=S=>{const{componentCls:u,menuCls:x,colorError:m,colorTextLightSolid:P}=S,ue=`${x}-item`;return{[`${u}, ${u}-menu-submenu`]:{[`${x} ${ue}`]:{[`&${ue}-danger:not(${ue}-disabled)`]:{color:m,"&:hover":{color:P,backgroundColor:m}}}}}};const I=S=>{const{componentCls:u,menuCls:x,zIndexPopup:m,dropdownArrowDistance:P,sizePopupArrow:ue,antCls:B,iconCls:W,motionDurationMid:ne,dropdownPaddingVertical:Y,fontSize:b,dropdownEdgeChildPadding:R,colorTextDisabled:Z,fontSizeIcon:j,controlPaddingHorizontal:he,colorBgElevated:me}=S;return[{[u]:Object.assign(Object.assign({},(0,y.Wf)(S)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:m,display:"block","&::before":{position:"absolute",insetBlock:-P+ue/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${B}-btn`]:{[`& > ${W}-down, & > ${B}-btn-icon > ${W}-down`]:{fontSize:j}},[`${u}-wrap`]:{position:"relative",[`${B}-btn > ${W}-down`]:{fontSize:j},[`${W}-down::before`]:{transition:`transform ${ne}`}},[`${u}-wrap-open`]:{[`${W}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${B}-slide-down-enter${B}-slide-down-enter-active${u}-placement-bottomLeft,
&${B}-slide-down-appear${B}-slide-down-appear-active${u}-placement-bottomLeft,
&${B}-slide-down-enter${B}-slide-down-enter-active${u}-placement-bottom,
&${B}-slide-down-appear${B}-slide-down-appear-active${u}-placement-bottom,
&${B}-slide-down-enter${B}-slide-down-enter-active${u}-placement-bottomRight,
&${B}-slide-down-appear${B}-slide-down-appear-active${u}-placement-bottomRight`]:{animationName:L.fJ},[`&${B}-slide-up-enter${B}-slide-up-enter-active${u}-placement-topLeft,
&${B}-slide-up-appear${B}-slide-up-appear-active${u}-placement-topLeft,
&${B}-slide-up-enter${B}-slide-up-enter-active${u}-placement-top,
&${B}-slide-up-appear${B}-slide-up-appear-active${u}-placement-top,
&${B}-slide-up-enter${B}-slide-up-enter-active${u}-placement-topRight,
&${B}-slide-up-appear${B}-slide-up-appear-active${u}-placement-topRight`]:{animationName:L.Qt},[`&${B}-slide-down-leave${B}-slide-down-leave-active${u}-placement-bottomLeft,
&${B}-slide-down-leave${B}-slide-down-leave-active${u}-placement-bottom,
&${B}-slide-down-leave${B}-slide-down-leave-active${u}-placement-bottomRight`]:{animationName:L.Uw},[`&${B}-slide-up-leave${B}-slide-up-leave-active${u}-placement-topLeft,
&${B}-slide-up-leave${B}-slide-up-leave-active${u}-placement-top,
&${B}-slide-up-leave${B}-slide-up-leave-active${u}-placement-topRight`]:{animationName:L.ly}})},(0,$.ZP)(S,{colorBg:me,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${u} ${x}`]:{position:"relative",margin:0},[`${x}-submenu-popup`]:{position:"absolute",zIndex:m,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${u}, ${u}-menu-submenu`]:{[x]:Object.assign(Object.assign({padding:R,listStyleType:"none",backgroundColor:me,backgroundClip:"padding-box",borderRadius:S.borderRadiusLG,outline:"none",boxShadow:S.boxShadowSecondary},(0,y.Qy)(S)),{[`${x}-item-group-title`]:{padding:`${Y}px ${he}px`,color:S.colorTextDescription,transition:`all ${ne}`},[`${x}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${x}-item-icon`]:{minWidth:b,marginInlineEnd:S.marginXS,fontSize:S.fontSizeSM},[`${x}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ne}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${x}-item, ${x}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${Y}px ${he}px`,color:S.colorText,fontWeight:"normal",fontSize:b,lineHeight:S.lineHeight,cursor:"pointer",transition:`all ${ne}`,borderRadius:S.borderRadiusSM,"&:hover, &-active":{backgroundColor:S.controlItemBgHover}},(0,y.Qy)(S)),{"&-selected":{color:S.colorPrimary,backgroundColor:S.controlItemBgActive,"&:hover, &-active":{backgroundColor:S.controlItemBgActiveHover}},"&-disabled":{color:Z,cursor:"not-allowed","&:hover":{color:Z,backgroundColor:me,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${S.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:S.colorSplit},[`${u}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:S.paddingXS,[`${u}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:S.colorTextDescription,fontSize:j,fontStyle:"normal"}}}),[`${x}-item-group-list`]:{margin:`0 ${S.marginXS}px`,padding:0,listStyle:"none"},[`${x}-submenu-title`]:{paddingInlineEnd:he+S.fontSizeSM},[`${x}-submenu-vertical`]:{position:"relative"},[`${x}-submenu${x}-submenu-disabled ${u}-menu-submenu-title`]:{[`&, ${u}-menu-submenu-arrow-icon`]:{color:Z,backgroundColor:me,cursor:"not-allowed"}},[`${x}-submenu-selected ${u}-menu-submenu-title`]:{color:S.colorPrimary}})}},[(0,L.oN)(S,"slide-up"),(0,L.oN)(S,"slide-down"),(0,ee.Fm)(S,"move-up"),(0,ee.Fm)(S,"move-down"),(0,Ee._y)(S,"zoom-big")]]};var z=(0,q.Z)("Dropdown",(S,u)=>{let{rootPrefixCls:x}=u;const{marginXXS:m,sizePopupArrow:P,controlHeight:ue,fontSize:B,lineHeight:W,paddingXXS:ne,componentCls:Y,borderRadiusLG:b}=S,R=(ue-B*W)/2,{dropdownArrowOffset:Z}=(0,$.fS)({contentRadius:b}),j=(0,C.TS)(S,{menuCls:`${Y}-menu`,rootPrefixCls:x,dropdownArrowDistance:P/2+m,dropdownArrowOffset:Z,dropdownPaddingVertical:R,dropdownEdgeChildPadding:ne});return[I(j),a(j)]},S=>({zIndexPopup:S.zIndexPopupBase+50}))},64165:function(en,et,f){"use strict";f.d(et,{Z:function(){return ne}});var y=f(92310),L=f.n(y),ee=f(59301),Ee=f(36355),$=f(9763),q=f(64993),C=f(88088),a=()=>{const[,Y]=(0,C.Z)(),R=new q.C(Y.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return ee.createElement("svg",{style:R,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},ee.createElement("g",{fill:"none",fillRule:"evenodd"},ee.createElement("g",{transform:"translate(24 31.67)"},ee.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),ee.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"}),ee.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)"}),ee.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"}),ee.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"})),ee.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"}),ee.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},ee.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),ee.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},z=()=>{const[,Y]=(0,C.Z)(),{colorFill:b,colorFillTertiary:R,colorFillQuaternary:Z,colorBgContainer:j}=Y,{borderColor:he,shadowColor:me,contentColor:fe}=(0,ee.useMemo)(()=>({borderColor:new q.C(b).onBackground(j).toHexShortString(),shadowColor:new q.C(R).onBackground(j).toHexShortString(),contentColor:new q.C(Z).onBackground(j).toHexShortString()}),[b,R,Z,j]);return ee.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},ee.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},ee.createElement("ellipse",{fill:me,cx:"32",cy:"33",rx:"32",ry:"7"}),ee.createElement("g",{fillRule:"nonzero",stroke:he},ee.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"}),ee.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:fe}))))},S=f(83116),u=f(37613);const x=Y=>{const{componentCls:b,margin:R,marginXS:Z,marginXL:j,fontSize:he,lineHeight:me}=Y;return{[b]:{marginInline:Z,fontSize:he,lineHeight:me,textAlign:"center",[`${b}-image`]:{height:Y.emptyImgHeight,marginBottom:Z,opacity:Y.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${b}-description`]:{color:Y.colorText},[`${b}-footer`]:{marginTop:R},"&-normal":{marginBlock:j,color:Y.colorTextDisabled,[`${b}-description`]:{color:Y.colorTextDisabled},[`${b}-image`]:{height:Y.emptyImgHeightMD}},"&-small":{marginBlock:Z,color:Y.colorTextDisabled,[`${b}-image`]:{height:Y.emptyImgHeightSM}}}}};var m=(0,S.Z)("Empty",Y=>{const{componentCls:b,controlHeightLG:R}=Y,Z=(0,u.TS)(Y,{emptyImgCls:`${b}-img`,emptyImgHeight:R*2.5,emptyImgHeightMD:R,emptyImgHeightSM:R*.875});return[x(Z)]}),P=function(Y,b){var R={};for(var Z in Y)Object.prototype.hasOwnProperty.call(Y,Z)&&b.indexOf(Z)<0&&(R[Z]=Y[Z]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,Z=Object.getOwnPropertySymbols(Y);j<Z.length;j++)b.indexOf(Z[j])<0&&Object.prototype.propertyIsEnumerable.call(Y,Z[j])&&(R[Z[j]]=Y[Z[j]]);return R};const ue=ee.createElement(a,null),B=ee.createElement(z,null),W=Y=>{var{className:b,rootClassName:R,prefixCls:Z,image:j=ue,description:he,children:me,imageStyle:fe,style:ae}=Y,te=P(Y,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:U,direction:pe,empty:Q}=ee.useContext(Ee.E_),de=U("empty",Z),[ie,v]=m(de),[_]=(0,$.Z)("Empty"),V=typeof he!="undefined"?he:_==null?void 0:_.description,J=typeof V=="string"?V:"empty";let Le=null;return typeof j=="string"?Le=ee.createElement("img",{alt:J,src:j}):Le=j,ie(ee.createElement("div",Object.assign({className:L()(v,de,Q==null?void 0:Q.className,{[`${de}-normal`]:j===B,[`${de}-rtl`]:pe==="rtl"},b,R),style:Object.assign(Object.assign({},Q==null?void 0:Q.style),ae)},te),ee.createElement("div",{className:`${de}-image`,style:fe},Le),V&&ee.createElement("div",{className:`${de}-description`},V),me&&ee.createElement("div",{className:`${de}-footer`},me)))};W.PRESENTED_IMAGE_DEFAULT=ue,W.PRESENTED_IMAGE_SIMPLE=B;var ne=W},78241:function(en,et,f){"use strict";f.d(et,{default:function(){return Ot}});var y=f(26390),L=f(92310),ee=f.n(L),Ee=f(43469),$=f(59301),q=f(62892),C=f(32441);function Se(Ge){const[xt,At]=$.useState(Ge);return $.useEffect(()=>{const Ue=setTimeout(()=>{At(Ge)},Ge.length?0:10);return()=>{clearTimeout(Ue)}},[Ge]),xt}var a=f(17313),I=f(29878),z=f(8378),S=f(37613),u=f(83116),m=Ge=>{const{componentCls:xt}=Ge,At=`${xt}-show-help`,Ue=`${xt}-show-help-item`;return{[At]:{transition:`opacity ${Ge.motionDurationSlow} ${Ge.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Ue]:{overflow:"hidden",transition:`height ${Ge.motionDurationSlow} ${Ge.motionEaseInOut},
opacity ${Ge.motionDurationSlow} ${Ge.motionEaseInOut},
transform ${Ge.motionDurationSlow} ${Ge.motionEaseInOut} !important`,[`&${Ue}-appear, &${Ue}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Ue}-leave-active`]:{transform:"translateY(-5px)"}}}}};const P=Ge=>({legend:{display:"block",width:"100%",marginBottom:Ge.marginLG,padding:0,color:Ge.colorTextDescription,fontSize:Ge.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${Ge.lineWidth}px ${Ge.lineType} ${Ge.colorBorder}`},label:{fontSize:Ge.fontSize},'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 ${Ge.controlOutlineWidth}px ${Ge.controlOutline}`},output:{display:"block",paddingTop:15,color:Ge.colorText,fontSize:Ge.fontSize,lineHeight:Ge.lineHeight}}),ue=(Ge,xt)=>{const{formItemCls:At}=Ge;return{[At]:{[`${At}-label > label`]:{height:xt},[`${At}-control-input`]:{minHeight:xt}}}},B=Ge=>{const{componentCls:xt}=Ge;return{[Ge.componentCls]:Object.assign(Object.assign(Object.assign({},(0,a.Wf)(Ge)),P(Ge)),{[`${xt}-text`]:{display:"inline-block",paddingInlineEnd:Ge.paddingSM},"&-small":Object.assign({},ue(Ge,Ge.controlHeightSM)),"&-large":Object.assign({},ue(Ge,Ge.controlHeightLG))})}},W=Ge=>{const{formItemCls:xt,iconCls:At,componentCls:Ue,rootPrefixCls:Ce,labelRequiredMarkColor:mt,labelColor:lt,labelFontSize:Pt,labelHeight:Ht,labelColonMarginInlineStart:tn,labelColonMarginInlineEnd:Ut,itemMarginBottom:sn}=Ge;return{[xt]:Object.assign(Object.assign({},(0,a.Wf)(Ge)),{marginBottom:sn,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
&-hidden.${Ce}-row`]:{display:"none"},"&-has-warning":{[`${xt}-split`]:{color:Ge.colorError}},"&-has-error":{[`${xt}-split`]:{color:Ge.colorWarning}},[`${xt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${Ge.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Ht,color:lt,fontSize:Pt,[`> ${At}`]:{fontSize:Ge.fontSize,verticalAlign:"top"},[`&${xt}-required:not(${xt}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:Ge.marginXXS,color:mt,fontSize:Ge.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${Ue}-hide-required-mark &`]:{display:"none"}},[`${xt}-optional`]:{display:"inline-block",marginInlineStart:Ge.marginXXS,color:Ge.colorTextDescription,[`${Ue}-hide-required-mark &`]:{display:"none"}},[`${xt}-tooltip`]:{color:Ge.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Ge.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:tn,marginInlineEnd:Ut},[`&${xt}-no-colon::after`]:{content:'"\\a0"'}}},[`${xt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Ce}-col-'"]):not([class*="' ${Ce}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Ge.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[xt]:{"&-explain, &-extra":{clear:"both",color:Ge.colorTextDescription,fontSize:Ge.fontSize,lineHeight:Ge.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Ge.controlHeightSM,transition:`color ${Ge.motionDurationMid} ${Ge.motionEaseOut}`},"&-explain":{"&-error":{color:Ge.colorError},"&-warning":{color:Ge.colorWarning}}},[`&-with-help ${xt}-explain`]:{height:"auto",opacity:1},[`${xt}-feedback-icon`]:{fontSize:Ge.fontSize,textAlign:"center",visibility:"visible",animationName:I.kr,animationDuration:Ge.motionDurationMid,animationTimingFunction:Ge.motionEaseOutBack,pointerEvents:"none","&-success":{color:Ge.colorSuccess},"&-error":{color:Ge.colorError},"&-warning":{color:Ge.colorWarning},"&-validating":{color:Ge.colorPrimary}}})}},ne=Ge=>{const{componentCls:xt,formItemCls:At}=Ge;return{[`${xt}-horizontal`]:{[`${At}-label`]:{flexGrow:0},[`${At}-control`]:{flex:"1 1 0",minWidth:0},[`${At}-label[class$='-24'], ${At}-label[class*='-24 ']`]:{[`& + ${At}-control`]:{minWidth:"unset"}}}}},Y=Ge=>{const{componentCls:xt,formItemCls:At}=Ge;return{[`${xt}-inline`]:{display:"flex",flexWrap:"wrap",[At]:{flex:"none",marginInlineEnd:Ge.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${At}-label,
> ${At}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${At}-label`]:{flex:"none"},[`${xt}-text`]:{display:"inline-block"},[`${At}-has-feedback`]:{display:"inline-block"}}}}},b=Ge=>({padding:Ge.verticalLabelPadding,margin:Ge.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),R=Ge=>{const{componentCls:xt,formItemCls:At,rootPrefixCls:Ue}=Ge;return{[`${At} ${At}-label`]:b(Ge),[xt]:{[At]:{flexWrap:"wrap",[`${At}-label, ${At}-control`]:{[`&:not([class*=" ${Ue}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Z=Ge=>{const{componentCls:xt,formItemCls:At,rootPrefixCls:Ue}=Ge;return{[`${xt}-vertical`]:{[At]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${xt}-item-control`]:{width:"100%"}}},[`${xt}-vertical ${At}-label,
.${Ue}-col-24${At}-label,
.${Ue}-col-xl-24${At}-label`]:b(Ge),[`@media (max-width: ${Ge.screenXSMax}px)`]:[R(Ge),{[xt]:{[`.${Ue}-col-xs-24${At}-label`]:b(Ge)}}],[`@media (max-width: ${Ge.screenSMMax}px)`]:{[xt]:{[`.${Ue}-col-sm-24${At}-label`]:b(Ge)}},[`@media (max-width: ${Ge.screenMDMax}px)`]:{[xt]:{[`.${Ue}-col-md-24${At}-label`]:b(Ge)}},[`@media (max-width: ${Ge.screenLGMax}px)`]:{[xt]:{[`.${Ue}-col-lg-24${At}-label`]:b(Ge)}}}},j=(Ge,xt)=>(0,S.TS)(Ge,{formItemCls:`${Ge.componentCls}-item`,rootPrefixCls:xt});var he=(0,u.Z)("Form",(Ge,xt)=>{let{rootPrefixCls:At}=xt;const Ue=j(Ge,At);return[B(Ue),W(Ue),m(Ue),ne(Ue),Y(Ue),Z(Ue),(0,z.Z)(Ue),I.kr]},Ge=>({labelRequiredMarkColor:Ge.colorError,labelColor:Ge.colorTextHeading,labelFontSize:Ge.fontSize,labelHeight:Ge.controlHeight,labelColonMarginInlineStart:Ge.marginXXS/2,labelColonMarginInlineEnd:Ge.marginXS,itemMarginBottom:Ge.marginLG,verticalLabelPadding:`0 0 ${Ge.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const me=[];function fe(Ge,xt,At){let Ue=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Ge=="string"?Ge:`${xt}-${Ue}`,error:Ge,errorStatus:At}}var te=Ge=>{let{help:xt,helpStatus:At,errors:Ue=me,warnings:Ce=me,className:mt,fieldId:lt,onVisibleChanged:Pt}=Ge;const{prefixCls:Ht}=$.useContext(C.Rk),tn=`${Ht}-item-explain`,[,Ut]=he(Ht),sn=(0,$.useMemo)(()=>(0,q.Z)(Ht),[Ht]),dn=Se(Ue),Mt=Se(Ce),It=$.useMemo(()=>xt!=null?[fe(xt,"help",At)]:[].concat((0,y.Z)(dn.map((ln,hn)=>fe(ln,"error","error",hn))),(0,y.Z)(Mt.map((ln,hn)=>fe(ln,"warning","warning",hn)))),[xt,At,dn,Mt]),un={};return lt&&(un.id=`${lt}_help`),$.createElement(Ee.default,{motionDeadline:sn.motionDeadline,motionName:`${Ht}-show-help`,visible:!!It.length,onVisibleChanged:Pt},ln=>{const{className:hn,style:_n}=ln;return $.createElement("div",Object.assign({},un,{className:ee()(tn,hn,mt,Ut),style:_n,role:"alert"}),$.createElement(Ee.CSSMotionList,Object.assign({keys:It},(0,q.Z)(Ht),{motionName:`${Ht}-show-help-item`,component:!1}),ir=>{const{key:Bn,error:rn,errorStatus:dt,className:gt,style:kt}=ir;return $.createElement("div",{key:Bn,className:ee()(gt,{[`${tn}-${dt}`]:dt}),style:kt},rn)}))})},U=f(95013),pe=f(36355),Q=f(1684),de=f(52946),ie=f(19716),v=f(16722);const _=["parentNode"],V="form_item";function J(Ge){return Ge===void 0||Ge===!1?[]:Array.isArray(Ge)?Ge:[Ge]}function Le(Ge,xt){if(!Ge.length)return;const At=Ge.join("_");return xt?`${xt}_${At}`:_.includes(At)?`${V}_${At}`:At}function Oe(Ge,xt,At,Ue,Ce,mt){let lt=Ue;return mt!==void 0?lt=mt:At.validating?lt="validating":Ge.length?lt="error":xt.length?lt="warning":(At.touched||Ce&&At.validated)&&(lt="success"),lt}function Ie(Ge){return J(Ge).join("_")}function Ze(Ge){const[xt]=(0,U.useForm)(),At=$.useRef({}),Ue=$.useMemo(()=>Ge!=null?Ge:Object.assign(Object.assign({},xt),{__INTERNAL__:{itemRef:Ce=>mt=>{const lt=Ie(Ce);mt?At.current[lt]=mt:delete At.current[lt]}},scrollToField:function(Ce){let mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const lt=J(Ce),Pt=Le(lt,Ue.__INTERNAL__.name),Ht=Pt?document.getElementById(Pt):null;Ht&&(0,v.Z)(Ht,Object.assign({scrollMode:"if-needed",block:"nearest"},mt))},getFieldInstance:Ce=>{const mt=Ie(Ce);return At.current[mt]}}),[Ge,xt]);return[Ue]}var ut=f(28726),ct=function(Ge,xt){var At={};for(var Ue in Ge)Object.prototype.hasOwnProperty.call(Ge,Ue)&&xt.indexOf(Ue)<0&&(At[Ue]=Ge[Ue]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ue=Object.getOwnPropertySymbols(Ge);Ce<Ue.length;Ce++)xt.indexOf(Ue[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ge,Ue[Ce])&&(At[Ue[Ce]]=Ge[Ue[Ce]]);return At};const it=(Ge,xt)=>{const At=$.useContext(Q.Z),{getPrefixCls:Ue,direction:Ce,form:mt}=$.useContext(pe.E_),{prefixCls:lt,className:Pt,rootClassName:Ht,size:tn,disabled:Ut=At,form:sn,colon:dn,labelAlign:Mt,labelWrap:It,labelCol:un,wrapperCol:ln,hideRequiredMark:hn,layout:_n="horizontal",scrollToFirstError:ir,requiredMark:Bn,onFinishFailed:rn,name:dt,style:gt,feedbackIcons:kt}=Ge,Vt=ct(Ge,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),Ft=(0,ie.Z)(tn),Qt=$.useContext(ut.Z),Gt=(0,$.useMemo)(()=>Bn!==void 0?Bn:mt&&mt.requiredMark!==void 0?mt.requiredMark:!hn,[hn,Bn,mt]),vn=dn!=null?dn:mt==null?void 0:mt.colon,En=Ue("form",lt),[Fn,tr]=he(En),Xn=ee()(En,`${En}-${_n}`,{[`${En}-hide-required-mark`]:Gt===!1,[`${En}-rtl`]:Ce==="rtl",[`${En}-${Ft}`]:Ft},tr,mt==null?void 0:mt.className,Pt,Ht),[ar]=Ze(sn),{__INTERNAL__:Dn}=ar;Dn.name=dt;const wn=(0,$.useMemo)(()=>({name:dt,labelAlign:Mt,labelCol:un,labelWrap:It,wrapperCol:ln,vertical:_n==="vertical",colon:vn,requiredMark:Gt,itemRef:Dn.itemRef,form:ar,feedbackIcons:kt}),[dt,Mt,un,ln,_n,vn,Gt,ar,kt]);$.useImperativeHandle(xt,()=>ar);const gr=(Cr,er)=>{if(Cr){let mr={block:"nearest"};typeof Cr=="object"&&(mr=Cr),ar.scrollToField(er,mr)}},Gn=Cr=>{if(rn==null||rn(Cr),Cr.errorFields.length){const er=Cr.errorFields[0].name;if(ir!==void 0){gr(ir,er);return}mt&&mt.scrollToFirstError!==void 0&&gr(mt.scrollToFirstError,er)}};return Fn($.createElement(Q.n,{disabled:Ut},$.createElement(de.q,{size:Ft},$.createElement(C.RV,Object.assign({},{validateMessages:Qt}),$.createElement(C.q3.Provider,{value:wn},$.createElement(U.default,Object.assign({id:dt},Vt,{name:dt,onFinishFailed:Gn,form:ar,style:Object.assign(Object.assign({},mt==null?void 0:mt.style),gt),className:Xn})))))))};var qt=$.forwardRef(it),nn=f(12383),Dt=f(20475),$t=f(92343),ot=f(38298);function se(Ge){if(typeof Ge=="function")return Ge;const xt=(0,ot.Z)(Ge);return xt.length<=1?xt[0]:xt}const be=()=>{const{status:Ge,errors:xt=[],warnings:At=[]}=(0,$.useContext)(C.aM);return{status:Ge,errors:xt,warnings:At}};be.Context=C.aM;var H=be,O=f(23073);function xe(Ge){const[xt,At]=$.useState(Ge),Ue=(0,$.useRef)(null),Ce=(0,$.useRef)([]),mt=(0,$.useRef)(!1);$.useEffect(()=>(mt.current=!1,()=>{mt.current=!0,O.Z.cancel(Ue.current),Ue.current=null}),[]);function lt(Pt){mt.current||(Ue.current===null&&(Ce.current=[],Ue.current=(0,O.Z)(()=>{Ue.current=null,At(Ht=>{let tn=Ht;return Ce.current.forEach(Ut=>{tn=Ut(tn)}),tn})})),Ce.current.push(Pt))}return[xt,lt]}function k(){const{itemRef:Ge}=$.useContext(C.q3),xt=$.useRef({});function At(Ue,Ce){const mt=Ce&&typeof Ce=="object"&&Ce.ref,lt=Ue.join("_");return(xt.current.name!==lt||xt.current.originRef!==mt)&&(xt.current.name=lt,xt.current.originRef=mt,xt.current.ref=(0,Dt.sQ)(Ge(Ue),mt)),xt.current.ref}return At}var E=f(48886),T=f(28800),X=f(64002),G=f(27382),K=f(37028);const we=Ge=>{const{formItemCls:xt}=Ge;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${xt}-control`]:{display:"flex"}}}};var Ke=(0,u.b)(["Form","item-item"],(Ge,xt)=>{let{rootPrefixCls:At}=xt;const Ue=j(Ge,At);return[we(Ue)]}),Te=Ge=>{const{prefixCls:xt,status:At,wrapperCol:Ue,children:Ce,errors:mt,warnings:lt,_internalItemRender:Pt,extra:Ht,help:tn,fieldId:Ut,marginBottom:sn,onErrorVisibleChanged:dn}=Ge,Mt=`${xt}-item`,It=$.useContext(C.q3),un=Ue||It.wrapperCol||{},ln=ee()(`${Mt}-control`,un.className),hn=$.useMemo(()=>Object.assign({},It),[It]);delete hn.labelCol,delete hn.wrapperCol;const _n=$.createElement("div",{className:`${Mt}-control-input`},$.createElement("div",{className:`${Mt}-control-input-content`},Ce)),ir=$.useMemo(()=>({prefixCls:xt,status:At}),[xt,At]),Bn=sn!==null||mt.length||lt.length?$.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},$.createElement(C.Rk.Provider,{value:ir},$.createElement(te,{fieldId:Ut,errors:mt,warnings:lt,help:tn,helpStatus:At,className:`${Mt}-explain-connected`,onVisibleChanged:dn})),!!sn&&$.createElement("div",{style:{width:0,height:sn}})):null,rn={};Ut&&(rn.id=`${Ut}_extra`);const dt=Ht?$.createElement("div",Object.assign({},rn,{className:`${Mt}-extra`}),Ht):null,gt=Pt&&Pt.mark==="pro_table_render"&&Pt.render?Pt.render(Ge,{input:_n,errorList:Bn,extra:dt}):$.createElement($.Fragment,null,_n,Bn,dt);return $.createElement(C.q3.Provider,{value:hn},$.createElement(K.Z,Object.assign({},un,{className:ln}),gt),$.createElement(Ke,{prefixCls:xt}))},Ye=f(86902),tt=f(31724),We=f(9763),yt=f(6848),St=function(Ge,xt){var At={};for(var Ue in Ge)Object.prototype.hasOwnProperty.call(Ge,Ue)&&xt.indexOf(Ue)<0&&(At[Ue]=Ge[Ue]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ue=Object.getOwnPropertySymbols(Ge);Ce<Ue.length;Ce++)xt.indexOf(Ue[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ge,Ue[Ce])&&(At[Ue[Ce]]=Ge[Ue[Ce]]);return At};function pt(Ge){return Ge?typeof Ge=="object"&&!$.isValidElement(Ge)?Ge:{title:Ge}:null}var _t=Ge=>{let{prefixCls:xt,label:At,htmlFor:Ue,labelCol:Ce,labelAlign:mt,colon:lt,required:Pt,requiredMark:Ht,tooltip:tn}=Ge;var Ut;const[sn]=(0,We.Z)("Form"),{vertical:dn,labelAlign:Mt,labelCol:It,labelWrap:un,colon:ln}=$.useContext(C.q3);if(!At)return null;const hn=Ce||It||{},_n=mt||Mt,ir=`${xt}-item-label`,Bn=ee()(ir,_n==="left"&&`${ir}-left`,hn.className,{[`${ir}-wrap`]:!!un});let rn=At;const dt=lt===!0||ln!==!1&&lt!==!1;dt&&!dn&&typeof At=="string"&&At.trim()!==""&&(rn=At.replace(/[:|]\s*$/,""));const kt=pt(tn);if(kt){const{icon:Gt=$.createElement(Ye.Z,null)}=kt,vn=St(kt,["icon"]),En=$.createElement(yt.Z,Object.assign({},vn),$.cloneElement(Gt,{className:`${xt}-item-tooltip`,title:""}));rn=$.createElement($.Fragment,null,rn,En)}const Vt=Ht==="optional",Ft=typeof Ht=="function";Ft?rn=Ht(rn,{required:!!Pt}):Vt&&!Pt&&(rn=$.createElement($.Fragment,null,rn,$.createElement("span",{className:`${xt}-item-optional`,title:""},(sn==null?void 0:sn.optional)||((Ut=tt.Z.Form)===null||Ut===void 0?void 0:Ut.optional))));const Qt=ee()({[`${xt}-item-required`]:Pt,[`${xt}-item-required-mark-optional`]:Vt||Ft,[`${xt}-item-no-colon`]:!dt});return $.createElement(K.Z,Object.assign({},hn,{className:Bn}),$.createElement("label",{htmlFor:Ue,className:Qt,title:typeof At=="string"?At:""},rn))},w=f(79999),D=f(33130),bt=f(85404),ce=f(50023);const Me={success:w.Z,warning:bt.Z,error:D.Z,validating:ce.Z};function pn(Ge){let{children:xt,errors:At,warnings:Ue,hasFeedback:Ce,validateStatus:mt,prefixCls:lt,meta:Pt,noStyle:Ht}=Ge;const tn=`${lt}-item`,{feedbackIcons:Ut}=$.useContext(C.q3),sn=Oe(At,Ue,Pt,null,!!Ce,mt),{isFormItemInput:dn,status:Mt}=$.useContext(C.aM),It=$.useMemo(()=>{var un;let ln;if(Ce){const ir=Ce!==!0&&Ce.icons||Ut,Bn=sn&&((un=ir==null?void 0:ir({status:sn,errors:At,warnings:Ue}))===null||un===void 0?void 0:un[sn]),rn=sn&&Me[sn];ln=Bn!==!1&&rn?$.createElement("span",{className:ee()(`${tn}-feedback-icon`,`${tn}-feedback-icon-${sn}`)},Bn||$.createElement(rn,null)):null}let hn=!0,_n=sn||"";return Ht&&(hn=dn,_n=(sn!=null?sn:Mt)||""),{status:_n,errors:At,warnings:Ue,hasFeedback:!!Ce,feedbackIcon:ln,isFormItemInput:hn}},[sn,Ce,Ht,dn,Mt]);return $.createElement(C.aM.Provider,{value:It},xt)}var He=function(Ge,xt){var At={};for(var Ue in Ge)Object.prototype.hasOwnProperty.call(Ge,Ue)&&xt.indexOf(Ue)<0&&(At[Ue]=Ge[Ue]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ue=Object.getOwnPropertySymbols(Ge);Ce<Ue.length;Ce++)xt.indexOf(Ue[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ge,Ue[Ce])&&(At[Ue[Ce]]=Ge[Ue[Ce]]);return At};function rt(Ge){const{prefixCls:xt,className:At,rootClassName:Ue,style:Ce,help:mt,errors:lt,warnings:Pt,validateStatus:Ht,meta:tn,hasFeedback:Ut,hidden:sn,children:dn,fieldId:Mt,required:It,isRequired:un,onSubItemMetaChange:ln}=Ge,hn=He(Ge,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),_n=`${xt}-item`,{requiredMark:ir}=$.useContext(C.q3),Bn=$.useRef(null),rn=Se(lt),dt=Se(Pt),gt=mt!=null,kt=!!(gt||lt.length||Pt.length),Vt=!!Bn.current&&(0,E.Z)(Bn.current),[Ft,Qt]=$.useState(null);(0,T.Z)(()=>{if(kt&&Bn.current){const tr=getComputedStyle(Bn.current);Qt(parseInt(tr.marginBottom,10))}},[kt,Vt]);const Gt=tr=>{tr||Qt(null)},En=function(){let tr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Xn=tr?rn:tn.errors,ar=tr?dt:tn.warnings;return Oe(Xn,ar,tn,"",!!Ut,Ht)}(),Fn=ee()(_n,At,Ue,{[`${_n}-with-help`]:gt||rn.length||dt.length,[`${_n}-has-feedback`]:En&&Ut,[`${_n}-has-success`]:En==="success",[`${_n}-has-warning`]:En==="warning",[`${_n}-has-error`]:En==="error",[`${_n}-is-validating`]:En==="validating",[`${_n}-hidden`]:sn});return $.createElement("div",{className:Fn,style:Ce,ref:Bn},$.createElement(G.Z,Object.assign({className:`${_n}-row`},(0,X.Z)(hn,["_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"])),$.createElement(_t,Object.assign({htmlFor:Mt},Ge,{requiredMark:ir,required:It!=null?It:un,prefixCls:xt})),$.createElement(Te,Object.assign({},Ge,tn,{errors:rn,warnings:dt,prefixCls:xt,status:En,help:mt,marginBottom:Ft,onErrorVisibleChanged:Gt}),$.createElement(C.qI.Provider,{value:ln},$.createElement(pn,{prefixCls:xt,meta:tn,errors:tn.errors,warnings:tn.warnings,hasFeedback:Ut,validateStatus:En},dn)))),!!Ft&&$.createElement("div",{className:`${_n}-margin-offset`,style:{marginBottom:-Ft}}))}const Je="__SPLIT__",Ae=null,De=$.memo(Ge=>{let{children:xt}=Ge;return xt},(Ge,xt)=>Ge.value===xt.value&&Ge.update===xt.update&&Ge.childProps.length===xt.childProps.length&&Ge.childProps.every((At,Ue)=>At===xt.childProps[Ue]));function ze(Ge){return Ge!=null}function Xe(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function ge(Ge){const{name:xt,noStyle:At,className:Ue,dependencies:Ce,prefixCls:mt,shouldUpdate:lt,rules:Pt,children:Ht,required:tn,label:Ut,messageVariables:sn,trigger:dn="onChange",validateTrigger:Mt,hidden:It,help:un}=Ge,{getPrefixCls:ln}=$.useContext(pe.E_),{name:hn}=$.useContext(C.q3),_n=se(Ht),ir=typeof _n=="function",Bn=$.useContext(C.qI),{validateTrigger:rn}=$.useContext(U.FieldContext),dt=Mt!==void 0?Mt:rn,gt=ze(xt),kt=ln("form",mt),[Vt,Ft]=he(kt),Qt=$.useContext(U.ListContext),Gt=$.useRef(),[vn,En]=xe({}),[Fn,tr]=(0,nn.Z)(()=>Xe()),Xn=er=>{const mr=Qt==null?void 0:Qt.getKey(er.name);if(tr(er.destroy?Xe():er,!0),At&&un!==!1&&Bn){let Sr=er.name;if(er.destroy)Sr=Gt.current||Sr;else if(mr!==void 0){const[nr,kr]=mr;Sr=[nr].concat((0,y.Z)(kr)),Gt.current=Sr}Bn(er,Sr)}},ar=(er,mr)=>{En(Sr=>{const nr=Object.assign({},Sr),Jr=[].concat((0,y.Z)(er.name.slice(0,-1)),(0,y.Z)(mr)).join(Je);return er.destroy?delete nr[Jr]:nr[Jr]=er,nr})},[Dn,wn]=$.useMemo(()=>{const er=(0,y.Z)(Fn.errors),mr=(0,y.Z)(Fn.warnings);return Object.values(vn).forEach(Sr=>{er.push.apply(er,(0,y.Z)(Sr.errors||[])),mr.push.apply(mr,(0,y.Z)(Sr.warnings||[]))}),[er,mr]},[vn,Fn.errors,Fn.warnings]),gr=k();function Gn(er,mr,Sr){return At&&!It?$.createElement(pn,{prefixCls:kt,hasFeedback:Ge.hasFeedback,validateStatus:Ge.validateStatus,meta:Fn,errors:Dn,warnings:wn,noStyle:!0},er):$.createElement(rt,Object.assign({key:"row"},Ge,{className:ee()(Ue,Ft),prefixCls:kt,fieldId:mr,isRequired:Sr,errors:Dn,warnings:wn,meta:Fn,onSubItemMetaChange:ar}),er)}if(!gt&&!ir&&!Ce)return Vt(Gn(_n));let Cr={};return typeof Ut=="string"?Cr.label=Ut:xt&&(Cr.label=String(xt)),sn&&(Cr=Object.assign(Object.assign({},Cr),sn)),Vt($.createElement(U.Field,Object.assign({},Ge,{messageVariables:Cr,trigger:dn,validateTrigger:dt,onMetaChange:Xn}),(er,mr,Sr)=>{const nr=J(xt).length&&mr?mr.name:[],kr=Le(nr,hn),Jr=tn!==void 0?tn:!!(Pt&&Pt.some(at=>{if(at&&typeof at=="object"&&at.required&&!at.warningOnly)return!0;if(typeof at=="function"){const Kn=at(Sr);return Kn&&Kn.required&&!Kn.warningOnly}return!1})),Qn=Object.assign({},er);let Cn=null;if(Array.isArray(_n)&&gt)Cn=_n;else if(!(ir&&(!(lt||Ce)||gt))){if(!(Ce&&!ir&&!gt))if((0,$t.l$)(_n)){const at=Object.assign(Object.assign({},_n.props),Qn);if(at.id||(at.id=kr),un||Dn.length>0||wn.length>0||Ge.extra){const Rr=[];(un||Dn.length>0)&&Rr.push(`${kr}_help`),Ge.extra&&Rr.push(`${kr}_extra`),at["aria-describedby"]=Rr.join(" ")}Dn.length>0&&(at["aria-invalid"]="true"),Jr&&(at["aria-required"]="true"),(0,Dt.Yr)(_n)&&(at.ref=gr(nr,_n)),new Set([].concat((0,y.Z)(J(dn)),(0,y.Z)(J(dt)))).forEach(Rr=>{at[Rr]=function(){for(var Tr,Pr,Ur,vr,Hn,Mn=arguments.length,jn=new Array(Mn),Er=0;Er<Mn;Er++)jn[Er]=arguments[Er];(Ur=Qn[Rr])===null||Ur===void 0||(Tr=Ur).call.apply(Tr,[Qn].concat(jn)),(Hn=(vr=_n.props)[Rr])===null||Hn===void 0||(Pr=Hn).call.apply(Pr,[vr].concat(jn))}});const lr=[at["aria-required"],at["aria-invalid"],at["aria-describedby"]];Cn=$.createElement(De,{value:Qn[Ge.valuePropName||"value"],update:_n,childProps:lr},(0,$t.Tm)(_n,at))}else ir&&(lt||Ce)&&!gt?Cn=_n(Sr):Cn=_n}return Gn(Cn,kr,Jr)}))}const an=ge;an.useStatus=H;var $e=an,bn=function(Ge,xt){var At={};for(var Ue in Ge)Object.prototype.hasOwnProperty.call(Ge,Ue)&&xt.indexOf(Ue)<0&&(At[Ue]=Ge[Ue]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ue=Object.getOwnPropertySymbols(Ge);Ce<Ue.length;Ce++)xt.indexOf(Ue[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ge,Ue[Ce])&&(At[Ue[Ce]]=Ge[Ue[Ce]]);return At},Wt=Ge=>{var{prefixCls:xt,children:At}=Ge,Ue=bn(Ge,["prefixCls","children"]);const{getPrefixCls:Ce}=$.useContext(pe.E_),mt=Ce("form",xt),lt=$.useMemo(()=>({prefixCls:mt,status:"error"}),[mt]);return $.createElement(U.List,Object.assign({},Ue),(Pt,Ht,tn)=>$.createElement(C.Rk.Provider,{value:lt},At(Pt.map(Ut=>Object.assign(Object.assign({},Ut),{fieldKey:Ut.key})),Ht,{errors:tn.errors,warnings:tn.warnings})))};function Yt(){const{form:Ge}=(0,$.useContext)(C.q3);return Ge}const Rt=qt;Rt.Item=$e,Rt.List=Wt,Rt.ErrorList=te,Rt.useForm=Ze,Rt.useFormInstance=Yt,Rt.useWatch=U.useWatch,Rt.Provider=C.RV,Rt.create=()=>{};var Ot=Rt},8628:function(en,et,f){"use strict";var y=f(59301),L=f(28800),ee=f(56762),Ee=f(69507);function $(){let q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const C=(0,y.useRef)({}),Se=(0,ee.Z)(),a=(0,Ee.ZP)();return(0,L.Z)(()=>{const I=a.subscribe(z=>{C.current=z,q&&Se()});return()=>a.unsubscribe(I)},[]),C.current}et.Z=$},9432:function(en,et,f){"use strict";f.d(et,{Z:function(){return W},n:function(){return ue}});var y=f(33130),L=f(92310),ee=f.n(L),Ee=f(93681),$=f(20475),q=f(59301),C=f(19080),Se=f(36355),a=f(1684),I=f(19716),z=f(32441),S=f(33234),u=f(59412),x=f(9937);function m(ne){return!!(ne.prefix||ne.suffix||ne.allowClear)}var P=function(ne,Y){var b={};for(var R in ne)Object.prototype.hasOwnProperty.call(ne,R)&&Y.indexOf(R)<0&&(b[R]=ne[R]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,R=Object.getOwnPropertySymbols(ne);Z<R.length;Z++)Y.indexOf(R[Z])<0&&Object.prototype.propertyIsEnumerable.call(ne,R[Z])&&(b[R[Z]]=ne[R[Z]]);return b};function ue(ne,Y){if(!ne)return;ne.focus(Y);const{cursor:b}=Y||{};if(b){const R=ne.value.length;switch(b){case"start":ne.setSelectionRange(0,0);break;case"end":ne.setSelectionRange(R,R);break;default:ne.setSelectionRange(0,R);break}}}var W=(0,q.forwardRef)((ne,Y)=>{var b;const{prefixCls:R,bordered:Z=!0,status:j,size:he,disabled:me,onBlur:fe,onFocus:ae,suffix:te,allowClear:U,addonAfter:pe,addonBefore:Q,className:de,style:ie,styles:v,rootClassName:_,onChange:V,classNames:J}=ne,Le=P(ne,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:Oe,direction:Ie,input:Ze}=q.useContext(Se.E_),ut=Oe("input",R),ct=(0,q.useRef)(null),[it,Nt]=(0,x.ZP)(ut),{compactSize:qt,compactItemClassnames:nn}=(0,S.ri)(ut,Ie),Dt=(0,I.Z)(Ke=>{var ke;return(ke=he!=null?he:qt)!==null&&ke!==void 0?ke:Ke}),$t=q.useContext(a.Z),ot=me!=null?me:$t,{status:se,hasFeedback:be,feedbackIcon:H}=(0,q.useContext)(z.aM),O=(0,C.F)(se,j),xe=m(ne)||!!be,k=(0,q.useRef)(xe);(0,q.useEffect)(()=>{var Ke;xe&&k.current,k.current=xe},[xe]);const E=(0,u.Z)(ct,!0),T=Ke=>{E(),fe==null||fe(Ke)},X=Ke=>{E(),ae==null||ae(Ke)},G=Ke=>{E(),V==null||V(Ke)},K=(be||te)&&q.createElement(q.Fragment,null,te,be&&H);let we;return typeof U=="object"&&(U!=null&&U.clearIcon)?we=U:U&&(we={clearIcon:q.createElement(y.Z,null)}),it(q.createElement(Ee.default,Object.assign({ref:(0,$.sQ)(Y,ct),prefixCls:ut,autoComplete:Ze==null?void 0:Ze.autoComplete},Le,{disabled:ot,onBlur:T,onFocus:X,style:Object.assign(Object.assign({},Ze==null?void 0:Ze.style),ie),styles:Object.assign(Object.assign({},Ze==null?void 0:Ze.styles),v),suffix:K,allowClear:we,className:ee()(de,_,nn,Ze==null?void 0:Ze.className),onChange:G,addonAfter:pe&&q.createElement(S.BR,null,q.createElement(z.Ux,{override:!0,status:!0},pe)),addonBefore:Q&&q.createElement(S.BR,null,q.createElement(z.Ux,{override:!0,status:!0},Q)),classNames:Object.assign(Object.assign(Object.assign({},J),Ze==null?void 0:Ze.classNames),{input:ee()({[`${ut}-sm`]:Dt==="small",[`${ut}-lg`]:Dt==="large",[`${ut}-rtl`]:Ie==="rtl",[`${ut}-borderless`]:!Z},!xe&&(0,C.Z)(ut,O),J==null?void 0:J.input,(b=Ze==null?void 0:Ze.classNames)===null||b===void 0?void 0:b.input,Nt)}),classes:{affixWrapper:ee()({[`${ut}-affix-wrapper-sm`]:Dt==="small",[`${ut}-affix-wrapper-lg`]:Dt==="large",[`${ut}-affix-wrapper-rtl`]:Ie==="rtl",[`${ut}-affix-wrapper-borderless`]:!Z},(0,C.Z)(`${ut}-affix-wrapper`,O,be),Nt),wrapper:ee()({[`${ut}-group-rtl`]:Ie==="rtl"},Nt),group:ee()({[`${ut}-group-wrapper-sm`]:Dt==="small",[`${ut}-group-wrapper-lg`]:Dt==="large",[`${ut}-group-wrapper-rtl`]:Ie==="rtl",[`${ut}-group-wrapper-disabled`]:ot},(0,C.Z)(`${ut}-group-wrapper`,O,be),Nt)}})))})},1643:function(en,et,f){"use strict";var y=f(33130),L=f(92310),ee=f.n(L),Ee=f(9296),$=f(59301),q=f(19080),C=f(36355),Se=f(1684),a=f(19716),I=f(32441),z=f(9432),S=f(9937),u=function(m,P){var ue={};for(var B in m)Object.prototype.hasOwnProperty.call(m,B)&&P.indexOf(B)<0&&(ue[B]=m[B]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,B=Object.getOwnPropertySymbols(m);W<B.length;W++)P.indexOf(B[W])<0&&Object.prototype.propertyIsEnumerable.call(m,B[W])&&(ue[B[W]]=m[B[W]]);return ue};const x=(0,$.forwardRef)((m,P)=>{const{prefixCls:ue,bordered:B=!0,size:W,disabled:ne,status:Y,allowClear:b,showCount:R,classNames:Z,rootClassName:j,className:he}=m,me=u(m,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:fe,direction:ae}=$.useContext(C.E_),te=(0,a.Z)(W),U=$.useContext(Se.Z),pe=ne!=null?ne:U,{status:Q,hasFeedback:de,feedbackIcon:ie}=$.useContext(I.aM),v=(0,q.F)(Q,Y),_=$.useRef(null);$.useImperativeHandle(P,()=>{var Ie;return{resizableTextArea:(Ie=_.current)===null||Ie===void 0?void 0:Ie.resizableTextArea,focus:Ze=>{var ut,ct;(0,z.n)((ct=(ut=_.current)===null||ut===void 0?void 0:ut.resizableTextArea)===null||ct===void 0?void 0:ct.textArea,Ze)},blur:()=>{var Ze;return(Ze=_.current)===null||Ze===void 0?void 0:Ze.blur()}}});const V=fe("input",ue);let J;typeof b=="object"&&(b!=null&&b.clearIcon)?J=b:b&&(J={clearIcon:$.createElement(y.Z,null)});const[Le,Oe]=(0,S.ZP)(V);return Le($.createElement(Ee.default,Object.assign({},me,{disabled:pe,allowClear:J,className:ee()(he,j),classes:{affixWrapper:ee()(`${V}-textarea-affix-wrapper`,{[`${V}-affix-wrapper-rtl`]:ae==="rtl",[`${V}-affix-wrapper-borderless`]:!B,[`${V}-affix-wrapper-sm`]:te==="small",[`${V}-affix-wrapper-lg`]:te==="large",[`${V}-textarea-show-count`]:R},(0,q.Z)(`${V}-affix-wrapper`,v),Oe)},classNames:Object.assign(Object.assign({},Z),{textarea:ee()({[`${V}-borderless`]:!B,[`${V}-sm`]:te==="small",[`${V}-lg`]:te==="large"},(0,q.Z)(V,v),Oe,Z==null?void 0:Z.textarea)}),prefixCls:V,suffix:de&&$.createElement("span",{className:`${V}-textarea-suffix`},ie),showCount:R,ref:_})))});et.Z=x},59412:function(en,et,f){"use strict";f.d(et,{Z:function(){return L}});var y=f(59301);function L(ee,Ee){const $=(0,y.useRef)([]),q=()=>{$.current.push(setTimeout(()=>{var C,Se,a,I;!((C=ee.current)===null||C===void 0)&&C.input&&((Se=ee.current)===null||Se===void 0?void 0:Se.input.getAttribute("type"))==="password"&&(!((a=ee.current)===null||a===void 0)&&a.input.hasAttribute("value"))&&((I=ee.current)===null||I===void 0||I.input.removeAttribute("value"))}))};return(0,y.useEffect)(()=>(Ee&&q(),()=>$.current.forEach(C=>{C&&clearTimeout(C)})),[]),q}},92832:function(en,et,f){"use strict";f.d(et,{default:function(){return te}});var y=f(92310),L=f.n(y),ee=f(59301),Ee=f(36355),$=f(32441),q=f(9937),Se=U=>{const{getPrefixCls:pe,direction:Q}=(0,ee.useContext)(Ee.E_),{prefixCls:de,className:ie}=U,v=pe("input-group",de),_=pe("input"),[V,J]=(0,q.ZP)(_),Le=L()(v,{[`${v}-lg`]:U.size==="large",[`${v}-sm`]:U.size==="small",[`${v}-compact`]:U.compact,[`${v}-rtl`]:Q==="rtl"},J,ie),Oe=(0,ee.useContext)($.aM),Ie=(0,ee.useMemo)(()=>Object.assign(Object.assign({},Oe),{isFormItemInput:!1}),[Oe]);return V(ee.createElement("span",{className:Le,style:U.style,onMouseEnter:U.onMouseEnter,onMouseLeave:U.onMouseLeave,onFocus:U.onFocus,onBlur:U.onBlur},ee.createElement($.aM.Provider,{value:Ie},U.children)))},a=f(9432),I=f(61441),z=f(30631),S=f(64002),u=f(20475),x=f(59412),m=function(U,pe){var Q={};for(var de in U)Object.prototype.hasOwnProperty.call(U,de)&&pe.indexOf(de)<0&&(Q[de]=U[de]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,de=Object.getOwnPropertySymbols(U);ie<de.length;ie++)pe.indexOf(de[ie])<0&&Object.prototype.propertyIsEnumerable.call(U,de[ie])&&(Q[de[ie]]=U[de[ie]]);return Q};const P=U=>U?ee.createElement(z.Z,null):ee.createElement(I.Z,null),ue={click:"onClick",hover:"onMouseOver"};var W=ee.forwardRef((U,pe)=>{const{visibilityToggle:Q=!0}=U,de=typeof Q=="object"&&Q.visible!==void 0,[ie,v]=(0,ee.useState)(()=>de?Q.visible:!1),_=(0,ee.useRef)(null);ee.useEffect(()=>{de&&v(Q.visible)},[de,Q]);const V=(0,x.Z)(_),J=()=>{const{disabled:ot}=U;ot||(ie&&V(),v(se=>{var be;const H=!se;return typeof Q=="object"&&((be=Q.onVisibleChange)===null||be===void 0||be.call(Q,H)),H}))},Le=ot=>{const{action:se="click",iconRender:be=P}=U,H=ue[se]||"",O=be(ie),xe={[H]:J,className:`${ot}-icon`,key:"passwordIcon",onMouseDown:k=>{k.preventDefault()},onMouseUp:k=>{k.preventDefault()}};return ee.cloneElement(ee.isValidElement(O)?O:ee.createElement("span",null,O),xe)},{className:Oe,prefixCls:Ie,inputPrefixCls:Ze,size:ut}=U,ct=m(U,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:it}=ee.useContext(Ee.E_),Nt=it("input",Ze),qt=it("input-password",Ie),nn=Q&&Le(qt),Dt=L()(qt,Oe,{[`${qt}-${ut}`]:!!ut}),$t=Object.assign(Object.assign({},(0,S.Z)(ct,["suffix","iconRender","visibilityToggle"])),{type:ie?"text":"password",className:Dt,prefixCls:Nt,suffix:nn});return ut&&($t.size=ut),ee.createElement(a.Z,Object.assign({ref:(0,u.sQ)(pe,_)},$t))}),ne=f(21970),Y=f(92343),b=f(3113),R=f(19716),Z=f(33234),j=function(U,pe){var Q={};for(var de in U)Object.prototype.hasOwnProperty.call(U,de)&&pe.indexOf(de)<0&&(Q[de]=U[de]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,de=Object.getOwnPropertySymbols(U);ie<de.length;ie++)pe.indexOf(de[ie])<0&&Object.prototype.propertyIsEnumerable.call(U,de[ie])&&(Q[de[ie]]=U[de[ie]]);return Q},me=ee.forwardRef((U,pe)=>{const{prefixCls:Q,inputPrefixCls:de,className:ie,size:v,suffix:_,enterButton:V=!1,addonAfter:J,loading:Le,disabled:Oe,onSearch:Ie,onChange:Ze,onCompositionStart:ut,onCompositionEnd:ct}=U,it=j(U,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Nt,direction:qt}=ee.useContext(Ee.E_),nn=ee.useRef(!1),Dt=Nt("input-search",Q),$t=Nt("input",de),{compactSize:ot}=(0,Z.ri)(Dt,qt),se=(0,R.Z)(Te=>{var Ye;return(Ye=v!=null?v:ot)!==null&&Ye!==void 0?Ye:Te}),be=ee.useRef(null),H=Te=>{Te&&Te.target&&Te.type==="click"&&Ie&&Ie(Te.target.value,Te,{source:"clear"}),Ze&&Ze(Te)},O=Te=>{var Ye;document.activeElement===((Ye=be.current)===null||Ye===void 0?void 0:Ye.input)&&Te.preventDefault()},xe=Te=>{var Ye,tt;Ie&&Ie((tt=(Ye=be.current)===null||Ye===void 0?void 0:Ye.input)===null||tt===void 0?void 0:tt.value,Te,{source:"input"})},k=Te=>{nn.current||Le||xe(Te)},E=typeof V=="boolean"?ee.createElement(ne.Z,null):null,T=`${Dt}-button`;let X;const G=V||{},K=G.type&&G.type.__ANT_BUTTON===!0;K||G.type==="button"?X=(0,Y.Tm)(G,Object.assign({onMouseDown:O,onClick:Te=>{var Ye,tt;(tt=(Ye=G==null?void 0:G.props)===null||Ye===void 0?void 0:Ye.onClick)===null||tt===void 0||tt.call(Ye,Te),xe(Te)},key:"enterButton"},K?{className:T,size:se}:{})):X=ee.createElement(b.ZP,{className:T,type:V?"primary":void 0,size:se,disabled:Oe,key:"enterButton",onMouseDown:O,onClick:xe,loading:Le,icon:E},V),J&&(X=[X,(0,Y.Tm)(J,{key:"addonAfter"})]);const we=L()(Dt,{[`${Dt}-rtl`]:qt==="rtl",[`${Dt}-${se}`]:!!se,[`${Dt}-with-button`]:!!V},ie),Ke=Te=>{nn.current=!0,ut==null||ut(Te)},ke=Te=>{nn.current=!1,ct==null||ct(Te)};return ee.createElement(a.Z,Object.assign({ref:(0,u.sQ)(be,pe),onPressEnter:k},it,{size:se,onCompositionStart:Ke,onCompositionEnd:ke,prefixCls:$t,addonAfter:X,suffix:_,onChange:H,className:we,disabled:Oe}))}),fe=f(1643);const ae=a.Z;ae.Group=Se,ae.Search=me,ae.TextArea=fe.Z,ae.Password=W;var te=ae},9937:function(en,et,f){"use strict";f.d(et,{M1:function(){return C},TM:function(){return Y},Xy:function(){return Se},bi:function(){return z},e5:function(){return ne},ik:function(){return S},nz:function(){return $},pU:function(){return q},s7:function(){return u},x0:function(){return I}});var y=f(17313),L=f(74207),ee=f(37613),Ee=f(83116);const $=b=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:b,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),q=b=>({borderColor:b.hoverBorderColor}),C=b=>({borderColor:b.activeBorderColor,boxShadow:b.activeShadow,outline:0}),Se=b=>({color:b.colorTextDisabled,backgroundColor:b.colorBgContainerDisabled,borderColor:b.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},q((0,ee.TS)(b,{hoverBorderColor:b.colorBorder})))}),a=b=>{const{paddingBlockLG:R,fontSizeLG:Z,lineHeightLG:j,borderRadiusLG:he,paddingInlineLG:me}=b;return{padding:`${R}px ${me}px`,fontSize:Z,lineHeight:j,borderRadius:he}},I=b=>({padding:`${b.paddingBlockSM}px ${b.paddingInlineSM}px`,borderRadius:b.borderRadiusSM}),z=(b,R)=>{const{componentCls:Z,colorError:j,colorWarning:he,errorActiveShadow:me,warningActiveShadow:fe,colorErrorBorderHover:ae,colorWarningBorderHover:te}=b;return{[`&-status-error:not(${R}-disabled):not(${R}-borderless)${R}`]:{borderColor:j,"&:hover":{borderColor:ae},"&:focus, &-focused":Object.assign({},C((0,ee.TS)(b,{activeBorderColor:j,activeShadow:me}))),[`${Z}-prefix, ${Z}-suffix`]:{color:j}},[`&-status-warning:not(${R}-disabled):not(${R}-borderless)${R}`]:{borderColor:he,"&:hover":{borderColor:te},"&:focus, &-focused":Object.assign({},C((0,ee.TS)(b,{activeBorderColor:he,activeShadow:fe}))),[`${Z}-prefix, ${Z}-suffix`]:{color:he}}}},S=b=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${b.paddingBlock}px ${b.paddingInline}px`,color:b.colorText,fontSize:b.fontSize,lineHeight:b.lineHeight,backgroundColor:b.colorBgContainer,backgroundImage:"none",borderWidth:b.lineWidth,borderStyle:b.lineType,borderColor:b.colorBorder,borderRadius:b.borderRadius,transition:`all ${b.motionDurationMid}`},$(b.colorTextPlaceholder)),{"&:hover":Object.assign({},q(b)),"&:focus, &-focused":Object.assign({},C(b)),"&-disabled, &[disabled]":Object.assign({},Se(b)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:b.controlHeight,lineHeight:b.lineHeight,verticalAlign:"bottom",transition:`all ${b.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},a(b)),"&-sm":Object.assign({},I(b)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),u=b=>{const{componentCls:R,antCls:Z}=b;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:b.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${R}, &-lg > ${R}-group-addon`]:Object.assign({},a(b)),[`&-sm ${R}, &-sm > ${R}-group-addon`]:Object.assign({},I(b)),[`&-lg ${Z}-select-single ${Z}-select-selector`]:{height:b.controlHeightLG},[`&-sm ${Z}-select-single ${Z}-select-selector`]:{height:b.controlHeightSM},[`> ${R}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${R}-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 ${b.paddingInline}px`,color:b.colorText,fontWeight:"normal",fontSize:b.fontSize,textAlign:"center",backgroundColor:b.colorFillAlter,border:`${b.lineWidth}px ${b.lineType} ${b.colorBorder}`,borderRadius:b.borderRadius,transition:`all ${b.motionDurationSlow}`,lineHeight:1,[`${Z}-select`]:{margin:`-${b.paddingBlock+1}px -${b.paddingInline}px`,[`&${Z}-select-single:not(${Z}-select-customize-input)`]:{[`${Z}-select-selector`]:{backgroundColor:"inherit",border:`${b.lineWidth}px ${b.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${Z}-select-selector`]:{color:b.colorPrimary}}},[`${Z}-cascader-picker`]:{margin:`-9px -${b.paddingInline}px`,backgroundColor:"transparent",[`${Z}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${R}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${R}-search-with-button &`]:{zIndex:0}}},[`> ${R}:first-child, ${R}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${Z}-select ${Z}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${R}-affix-wrapper`]:{[`&:not(:first-child) ${R}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${R}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${R}:last-child, ${R}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${Z}-select ${Z}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${R}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${R}-search &`]:{borderStartStartRadius:b.borderRadius,borderEndStartRadius:b.borderRadius}},[`&:not(:first-child), ${R}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${R}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,y.dF)()),{[`${R}-group-addon, ${R}-group-wrap, > ${R}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:b.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`
& > ${R}-affix-wrapper,
& > ${R}-number-affix-wrapper,
& > ${Z}-picker-range
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-b.lineWidth,borderInlineEndWidth:b.lineWidth},[`${R}`]:{float:"none"},[`& > ${Z}-select > ${Z}-select-selector,
& > ${Z}-select-auto-complete ${R},
& > ${Z}-cascader-picker ${R},
& > ${R}-group-wrapper ${R}`]:{borderInlineEndWidth:b.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${Z}-select-focused`]:{zIndex:1},[`& > ${Z}-select > ${Z}-select-arrow`]:{zIndex:1},[`& > *:first-child,
& > ${Z}-select:first-child > ${Z}-select-selector,
& > ${Z}-select-auto-complete:first-child ${R},
& > ${Z}-cascader-picker:first-child ${R}`]:{borderStartStartRadius:b.borderRadius,borderEndStartRadius:b.borderRadius},[`& > *:last-child,
& > ${Z}-select:last-child > ${Z}-select-selector,
& > ${Z}-cascader-picker:last-child ${R},
& > ${Z}-cascader-picker-focused:last-child ${R}`]:{borderInlineEndWidth:b.lineWidth,borderStartEndRadius:b.borderRadius,borderEndEndRadius:b.borderRadius},[`& > ${Z}-select-auto-complete ${R}`]:{verticalAlign:"top"},[`${R}-group-wrapper + ${R}-group-wrapper`]:{marginInlineStart:-b.lineWidth,[`${R}-affix-wrapper`]:{borderRadius:0}},[`${R}-group-wrapper:not(:last-child)`]:{[`&${R}-search > ${R}-group`]:{[`& > ${R}-group-addon > ${R}-search-button`]:{borderRadius:0},[`& > ${R}`]:{borderStartStartRadius:b.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:b.borderRadius}}}})}},x=b=>{const{componentCls:R,controlHeightSM:Z,lineWidth:j}=b,me=(Z-j*2-16)/2;return{[R]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(b)),S(b)),z(b,R)),{'&[type="color"]':{height:b.controlHeight,[`&${R}-lg`]:{height:b.controlHeightLG},[`&${R}-sm`]:{height:Z,paddingTop:me,paddingBottom:me}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},m=b=>{const{componentCls:R}=b;return{[`${R}-clear-icon`]:{margin:0,color:b.colorTextQuaternary,fontSize:b.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${b.motionDurationSlow}`,"&:hover":{color:b.colorTextTertiary},"&:active":{color:b.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${b.inputAffixPadding}px`}}}},P=b=>{const{componentCls:R,inputAffixPadding:Z,colorTextDescription:j,motionDurationSlow:he,colorIcon:me,colorIconHover:fe,iconCls:ae}=b;return{[`${R}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},S(b)),{display:"inline-flex",[`&:not(${R}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},q(b)),{zIndex:1,[`${R}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${R}[disabled]`]:{background:"transparent"}},[`> input${R}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${R}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:b.paddingXS}},"&-show-count-suffix":{color:j},"&-show-count-has-suffix":{marginInlineEnd:b.paddingXXS},"&-prefix":{marginInlineEnd:Z},"&-suffix":{marginInlineStart:Z}}}),m(b)),{[`${ae}${R}-password-icon`]:{color:me,cursor:"pointer",transition:`all ${he}`,"&:hover":{color:fe}}}),z(b,`${R}-affix-wrapper`))}},ue=b=>{const{componentCls:R,colorError:Z,colorWarning:j,borderRadiusLG:he,borderRadiusSM:me}=b;return{[`${R}-group`]:Object.assign(Object.assign(Object.assign({},(0,y.Wf)(b)),u(b)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${R}-group-addon`]:{borderRadius:he,fontSize:b.fontSizeLG}},"&-sm":{[`${R}-group-addon`]:{borderRadius:me}},"&-status-error":{[`${R}-group-addon`]:{color:Z,borderColor:Z}},"&-status-warning":{[`${R}-group-addon`]:{color:j,borderColor:j}},"&-disabled":{[`${R}-group-addon`]:Object.assign({},Se(b))},[`&:not(${R}-compact-first-item):not(${R}-compact-last-item)${R}-compact-item`]:{[`${R}, ${R}-group-addon`]:{borderRadius:0}},[`&:not(${R}-compact-last-item)${R}-compact-first-item`]:{[`${R}, ${R}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${R}-compact-first-item)${R}-compact-last-item`]:{[`${R}, ${R}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},B=b=>{const{componentCls:R,antCls:Z}=b,j=`${R}-search`;return{[j]:{[`${R}`]:{"&:hover, &:focus":{borderColor:b.colorPrimaryHover,[`+ ${R}-group-addon ${j}-button:not(${Z}-btn-primary)`]:{borderInlineStartColor:b.colorPrimaryHover}}},[`${R}-affix-wrapper`]:{borderRadius:0},[`${R}-lg`]:{lineHeight:b.lineHeightLG-2e-4},[`> ${R}-group`]:{[`> ${R}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${j}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:b.borderRadius,borderEndEndRadius:b.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${j}-button:not(${Z}-btn-primary)`]:{color:b.colorTextDescription,"&:hover":{color:b.colorPrimaryHover},"&:active":{color:b.colorPrimaryActive},[`&${Z}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${j}-button`]:{height:b.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${j}-button`]:{height:b.controlHeightLG},[`&-small ${j}-button`]:{height:b.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${R}-compact-item`]:{[`&:not(${R}-compact-last-item)`]:{[`${R}-group-addon`]:{[`${R}-search-button`]:{marginInlineEnd:-b.lineWidth,borderRadius:0}}},[`&:not(${R}-compact-first-item)`]:{[`${R},${R}-affix-wrapper`]:{borderRadius:0}},[`> ${R}-group-addon ${R}-search-button,
> ${R},
${R}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${R}-affix-wrapper-focused`]:{zIndex:2}}}}},W=b=>{const{componentCls:R,paddingLG:Z}=b,j=`${R}-textarea`;return{[j]:{position:"relative","&-show-count":{[`> ${R}`]:{height:"100%"},[`${R}-data-count`]:{position:"absolute",bottom:-b.fontSize*b.lineHeight,insetInlineEnd:0,color:b.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${R}`]:{paddingInlineEnd:Z}},[`&-affix-wrapper${j}-has-feedback`]:{[`${R}`]:{paddingInlineEnd:Z}},[`&-affix-wrapper${R}-affix-wrapper`]:{padding:0,[`> textarea${R}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${R}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${R}-clear-icon`]:{position:"absolute",insetInlineEnd:b.paddingXS,insetBlockStart:b.paddingXS},[`${j}-suffix`]:{position:"absolute",top:0,insetInlineEnd:b.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function ne(b){return(0,ee.TS)(b,{inputAffixPadding:b.paddingXXS})}const Y=b=>{const{controlHeight:R,fontSize:Z,lineHeight:j,lineWidth:he,controlHeightSM:me,controlHeightLG:fe,fontSizeLG:ae,lineHeightLG:te,paddingSM:U,controlPaddingHorizontalSM:pe,controlPaddingHorizontal:Q,colorFillAlter:de,colorPrimaryHover:ie,controlOutlineWidth:v,controlOutline:_,colorErrorOutline:V,colorWarningOutline:J}=b;return{paddingBlock:Math.max(Math.round((R-Z*j)/2*10)/10-he,3),paddingBlockSM:Math.max(Math.round((me-Z*j)/2*10)/10-he,0),paddingBlockLG:Math.ceil((fe-ae*te)/2*10)/10-he,paddingInline:U-he,paddingInlineSM:pe-he,paddingInlineLG:Q-he,addonBg:de,activeBorderColor:ie,hoverBorderColor:ie,activeShadow:`0 0 0 ${v}px ${_}`,errorActiveShadow:`0 0 0 ${v}px ${V}`,warningActiveShadow:`0 0 0 ${v}px ${J}`}};et.ZP=(0,Ee.Z)("Input",b=>{const R=(0,ee.TS)(b,ne(b));return[x(R),W(R),P(R),ue(R),B(R),(0,L.c)(R)]},Y)},99580:function(en,et,f){"use strict";f.d(et,{D:function(){return ne},Z:function(){return R}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(j,he){return L.createElement($.Z,(0,y.Z)({},j,{ref:he,icon:Ee}))},C=L.forwardRef(q),Se=C,a=f(16537),I=f(53878),z=f(92310),S=f.n(z),u=f(64002),m=Z=>!isNaN(parseFloat(Z))&&isFinite(Z),P=f(36355),ue=f(84966),B=function(Z,j){var he={};for(var me in Z)Object.prototype.hasOwnProperty.call(Z,me)&&j.indexOf(me)<0&&(he[me]=Z[me]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,me=Object.getOwnPropertySymbols(Z);fe<me.length;fe++)j.indexOf(me[fe])<0&&Object.prototype.propertyIsEnumerable.call(Z,me[fe])&&(he[me[fe]]=Z[me[fe]]);return he};const W={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ne=L.createContext({}),Y=(()=>{let Z=0;return function(){let j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Z+=1,`${j}${Z}`}})();var R=L.forwardRef((Z,j)=>{const{prefixCls:he,className:me,trigger:fe,children:ae,defaultCollapsed:te=!1,theme:U="dark",style:pe={},collapsible:Q=!1,reverseArrow:de=!1,width:ie=200,collapsedWidth:v=80,zeroWidthTriggerStyle:_,breakpoint:V,onCollapse:J,onBreakpoint:Le}=Z,Oe=B(Z,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ie}=(0,L.useContext)(ue.Gs),[Ze,ut]=(0,L.useState)("collapsed"in Z?Z.collapsed:te),[ct,it]=(0,L.useState)(!1);(0,L.useEffect)(()=>{"collapsed"in Z&&ut(Z.collapsed)},[Z.collapsed]);const Nt=(se,be)=>{"collapsed"in Z||ut(se),J==null||J(se,be)},qt=(0,L.useRef)();qt.current=se=>{it(se.matches),Le==null||Le(se.matches),Ze!==se.matches&&Nt(se.matches,"responsive")},(0,L.useEffect)(()=>{function se(H){return qt.current(H)}let be;if(typeof window!="undefined"){const{matchMedia:H}=window;if(H&&V&&V in W){be=H(`(max-width: ${W[V]})`);try{be.addEventListener("change",se)}catch(O){be.addListener(se)}se(be)}}return()=>{try{be==null||be.removeEventListener("change",se)}catch(H){be==null||be.removeListener(se)}}},[V]),(0,L.useEffect)(()=>{const se=Y("ant-sider-");return Ie.addSider(se),()=>Ie.removeSider(se)},[]);const nn=()=>{Nt(!Ze,"clickTrigger")},{getPrefixCls:Dt}=(0,L.useContext)(P.E_),$t=()=>{const se=Dt("layout-sider",he),be=(0,u.Z)(Oe,["collapsed"]),H=Ze?v:ie,O=m(H)?`${H}px`:String(H),xe=parseFloat(String(v||0))===0?L.createElement("span",{onClick:nn,className:S()(`${se}-zero-width-trigger`,`${se}-zero-width-trigger-${de?"right":"left"}`),style:_},fe||L.createElement(Se,null)):null,T={expanded:de?L.createElement(I.Z,null):L.createElement(a.Z,null),collapsed:de?L.createElement(a.Z,null):L.createElement(I.Z,null)}[Ze?"collapsed":"expanded"],X=fe!==null?xe||L.createElement("div",{className:`${se}-trigger`,onClick:nn,style:{width:O}},fe||T):null,G=Object.assign(Object.assign({},pe),{flex:`0 0 ${O}`,maxWidth:O,minWidth:O,width:O}),K=S()(se,`${se}-${U}`,{[`${se}-collapsed`]:!!Ze,[`${se}-has-trigger`]:Q&&fe!==null&&!xe,[`${se}-below`]:!!ct,[`${se}-zero-width`]:parseFloat(O)===0},me);return L.createElement("aside",Object.assign({className:K},be,{style:G,ref:j}),L.createElement("div",{className:`${se}-children`},ae),Q||ct&&xe?X:null)},ot=L.useMemo(()=>({siderCollapsed:Ze}),[Ze]);return L.createElement(ne.Provider,{value:ot},$t())})},44e3:function(en,et,f){"use strict";var y=f(84966),L=f(99580);const ee=y.ZP;ee.Header=y.h4,ee.Footer=y.$_,ee.Content=y.VY,ee.Sider=L.Z,et.default=ee},84966:function(en,et,f){"use strict";f.d(et,{VY:function(){return ne},$_:function(){return W},h4:function(){return B},Gs:function(){return u},ZP:function(){return Y}});var y=f(26390),L=f(92310),ee=f.n(L),Ee=f(64002),$=f(59301),q=f(36355),C=f(83116),a=b=>{const{componentCls:R,bodyBg:Z,lightSiderBg:j,lightTriggerBg:he,lightTriggerColor:me}=b;return{[`${R}-sider-light`]:{background:j,[`${R}-sider-trigger`]:{color:me,background:he},[`${R}-sider-zero-width-trigger`]:{color:me,background:he,border:`1px solid ${Z}`,borderInlineStart:0}}}};const I=b=>{const{antCls:R,componentCls:Z,colorText:j,triggerColor:he,footerBg:me,triggerBg:fe,headerHeight:ae,headerPadding:te,headerColor:U,footerPadding:pe,triggerHeight:Q,zeroTriggerHeight:de,zeroTriggerWidth:ie,motionDurationMid:v,motionDurationSlow:_,fontSize:V,borderRadius:J,bodyBg:Le,headerBg:Oe,siderBg:Ie}=b;return{[Z]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Le,"&, *":{boxSizing:"border-box"},[`&${Z}-has-sider`]:{flexDirection:"row",[`> ${Z}, > ${Z}-content`]:{width:0}},[`${Z}-header, &${Z}-footer`]:{flex:"0 0 auto"},[`${Z}-sider`]:{position:"relative",minWidth:0,background:Ie,transition:`all ${v}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${R}-menu${R}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Q},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Q,color:he,lineHeight:`${Q}px`,textAlign:"center",background:fe,cursor:"pointer",transition:`all ${v}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ae,insetInlineEnd:-ie,zIndex:1,width:ie,height:de,color:he,fontSize:b.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ie,borderStartStartRadius:0,borderStartEndRadius:J,borderEndEndRadius:J,borderEndStartRadius:0,cursor:"pointer",transition:`background ${_} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${_}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-ie,borderStartStartRadius:J,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:J}}}}},a(b)),{"&-rtl":{direction:"rtl"}}),[`${Z}-header`]:{height:ae,padding:te,color:U,lineHeight:`${ae}px`,background:Oe,[`${R}-menu`]:{lineHeight:"inherit"}},[`${Z}-footer`]:{padding:pe,color:j,fontSize:V,background:me},[`${Z}-content`]:{flex:"auto",minHeight:0}}};var z=(0,C.Z)("Layout",b=>[I(b)],b=>{const{colorBgLayout:R,controlHeight:Z,controlHeightLG:j,colorText:he,controlHeightSM:me,marginXXS:fe,colorTextLightSolid:ae,colorBgContainer:te}=b,U=j*1.25;return{colorBgHeader:"#001529",colorBgBody:R,colorBgTrigger:"#002140",bodyBg:R,headerBg:"#001529",headerHeight:Z*2,headerPadding:`0 ${U}px`,headerColor:he,footerPadding:`${me}px ${U}px`,footerBg:R,siderBg:"#001529",triggerHeight:j+fe*2,triggerBg:"#002140",triggerColor:ae,zeroTriggerWidth:j,zeroTriggerHeight:j,lightSiderBg:te,lightTriggerBg:te,lightTriggerColor:he}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),S=function(b,R){var Z={};for(var j in b)Object.prototype.hasOwnProperty.call(b,j)&&R.indexOf(j)<0&&(Z[j]=b[j]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,j=Object.getOwnPropertySymbols(b);he<j.length;he++)R.indexOf(j[he])<0&&Object.prototype.propertyIsEnumerable.call(b,j[he])&&(Z[j[he]]=b[j[he]]);return Z};const u=$.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function x(b){let{suffixCls:R,tagName:Z,displayName:j}=b;return he=>$.forwardRef((fe,ae)=>$.createElement(he,Object.assign({ref:ae,suffixCls:R,tagName:Z},fe)))}const m=$.forwardRef((b,R)=>{const{prefixCls:Z,suffixCls:j,className:he,tagName:me}=b,fe=S(b,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ae}=$.useContext(q.E_),te=ae("layout",Z),[U,pe]=z(te),Q=j?`${te}-${j}`:te;return U($.createElement(me,Object.assign({className:ee()(Z||Q,he,pe),ref:R},fe)))}),P=$.forwardRef((b,R)=>{const{direction:Z}=$.useContext(q.E_),[j,he]=$.useState([]),{prefixCls:me,className:fe,rootClassName:ae,children:te,hasSider:U,tagName:pe,style:Q}=b,de=S(b,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),ie=(0,Ee.Z)(de,["suffixCls"]),{getPrefixCls:v,layout:_}=$.useContext(q.E_),V=v("layout",me),[J,Le]=z(V),Oe=ee()(V,{[`${V}-has-sider`]:typeof U=="boolean"?U:j.length>0,[`${V}-rtl`]:Z==="rtl"},_==null?void 0:_.className,fe,ae,Le),Ie=$.useMemo(()=>({siderHook:{addSider:Ze=>{he(ut=>[].concat((0,y.Z)(ut),[Ze]))},removeSider:Ze=>{he(ut=>ut.filter(ct=>ct!==Ze))}}}),[]);return J($.createElement(u.Provider,{value:Ie},$.createElement(pe,Object.assign({ref:R,className:Oe,style:Object.assign(Object.assign({},_==null?void 0:_.style),Q)},ie),te)))}),ue=x({tagName:"div",displayName:"Layout"})(P),B=x({suffixCls:"header",tagName:"header",displayName:"Header"})(m),W=x({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(m),ne=x({suffixCls:"content",tagName:"main",displayName:"Content"})(m);var Y=ue},40875:function(en,et,f){"use strict";f.d(et,{J:function(){return q}});var y=f(59301),L=f(33234),ee=f(80764),Ee=function(C,Se){var a={};for(var I in C)Object.prototype.hasOwnProperty.call(C,I)&&Se.indexOf(I)<0&&(a[I]=C[I]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,I=Object.getOwnPropertySymbols(C);z<I.length;z++)Se.indexOf(I[z])<0&&Object.prototype.propertyIsEnumerable.call(C,I[z])&&(a[I[z]]=C[I[z]]);return a};const $=y.createContext(null),q=y.forwardRef((C,Se)=>{const{children:a}=C,I=Ee(C,["children"]),z=y.useContext($),S=y.useMemo(()=>Object.assign(Object.assign({},z),I),[z,I.prefixCls,I.mode,I.selectable]);return y.createElement($.Provider,{value:S},y.createElement(L.BR,null,(0,ee.supportNodeRef)(a)?y.cloneElement(a,{ref:Se}):a))});et.Z=$},20834:function(en,et,f){"use strict";f.d(et,{default:function(){return ot}});var y=f(22798),L=f(59301),ee=f(99580),Ee=f(92310),$=f.n(Ee),q=f(36355),C=function(se,be){var H={};for(var O in se)Object.prototype.hasOwnProperty.call(se,O)&&be.indexOf(O)<0&&(H[O]=se[O]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,O=Object.getOwnPropertySymbols(se);xe<O.length;xe++)be.indexOf(O[xe])<0&&Object.prototype.propertyIsEnumerable.call(se,O[xe])&&(H[O[xe]]=se[O[xe]]);return H},a=se=>{const{prefixCls:be,className:H,dashed:O}=se,xe=C(se,["prefixCls","className","dashed"]),{getPrefixCls:k}=L.useContext(q.E_),E=k("menu",be),T=$()({[`${E}-item-divider-dashed`]:!!O},H);return L.createElement(y.iz,Object.assign({className:T},xe))},I=f(38298),z=f(64002),S=f(6848),u=f(92343),m=(0,L.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),ue=se=>{var be;const{className:H,children:O,icon:xe,title:k,danger:E}=se,{prefixCls:T,firstLevel:X,direction:G,disableMenuItemTitleTooltip:K,inlineCollapsed:we}=L.useContext(m),Ke=yt=>{const St=L.createElement("span",{className:`${T}-title-content`},O);return(!xe||(0,u.l$)(O)&&O.type==="span")&&O&&yt&&X&&typeof O=="string"?L.createElement("div",{className:`${T}-inline-collapsed-noicon`},O.charAt(0)):St},{siderCollapsed:ke}=L.useContext(ee.D);let Te=k;typeof k=="undefined"?Te=X?O:"":k===!1&&(Te="");const Ye={title:Te};!ke&&!we&&(Ye.title=null,Ye.open=!1);const tt=(0,I.Z)(O).length;let We=L.createElement(y.ck,Object.assign({},(0,z.Z)(se,["title","icon","danger"]),{className:$()({[`${T}-item-danger`]:E,[`${T}-item-only-child`]:(xe?tt+1:tt)===1},H),title:typeof k=="string"?k:void 0}),(0,u.Tm)(xe,{className:$()((0,u.l$)(xe)?(be=xe.props)===null||be===void 0?void 0:be.className:"",`${T}-item-icon`)}),Ke(we));return K||(We=L.createElement(S.Z,Object.assign({},Ye,{placement:G==="rtl"?"left":"right",overlayClassName:`${T}-inline-collapsed-tooltip`}),We)),We},W=se=>{var be;const{popupClassName:H,icon:O,title:xe,theme:k}=se,E=L.useContext(m),{prefixCls:T,inlineCollapsed:X,theme:G}=E,K=(0,y.Xl)();let we;if(!O)we=X&&!K.length&&xe&&typeof xe=="string"?L.createElement("div",{className:`${T}-inline-collapsed-noicon`},xe.charAt(0)):L.createElement("span",{className:`${T}-title-content`},xe);else{const ke=(0,u.l$)(xe)&&xe.type==="span";we=L.createElement(L.Fragment,null,(0,u.Tm)(O,{className:$()((0,u.l$)(O)?(be=O.props)===null||be===void 0?void 0:be.className:"",`${T}-item-icon`)}),ke?xe:L.createElement("span",{className:`${T}-title-content`},xe))}const Ke=L.useMemo(()=>Object.assign(Object.assign({},E),{firstLevel:!1}),[E]);return L.createElement(m.Provider,{value:Ke},L.createElement(y.Wd,Object.assign({},(0,z.Z)(se,["icon"]),{title:we,popupClassName:$()(T,H,`${T}-${k||G}`)})))},ne=f(19362),Y=f(80764),b=f(62892),R=f(40875),Z=function(se,be){var H={};for(var O in se)Object.prototype.hasOwnProperty.call(se,O)&&be.indexOf(O)<0&&(H[O]=se[O]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,O=Object.getOwnPropertySymbols(se);xe<O.length;xe++)be.indexOf(O[xe])<0&&Object.prototype.propertyIsEnumerable.call(se,O[xe])&&(H[O[xe]]=se[O[xe]]);return H};function j(se){return(se||[]).map((be,H)=>{if(be&&typeof be=="object"){const O=be,{label:xe,children:k,key:E,type:T}=O,X=Z(O,["label","children","key","type"]),G=E!=null?E:`tmp-${H}`;return k||T==="group"?T==="group"?L.createElement(y.BW,Object.assign({key:G},X,{title:xe}),j(k)):L.createElement(W,Object.assign({key:G},X,{title:xe}),j(k)):T==="divider"?L.createElement(a,Object.assign({key:G},X)):L.createElement(ue,Object.assign({key:G},X),xe)}return null}).filter(be=>be)}function he(se){return L.useMemo(()=>se&&j(se),[se])}var me=f(64993),fe=f(17313),ae=f(8378),te=f(13826),U=f(29878),pe=f(83116),Q=f(37613),ie=se=>{const{componentCls:be,motionDurationSlow:H,horizontalLineHeight:O,colorSplit:xe,lineWidth:k,lineType:E,itemPaddingInline:T}=se;return{[`${be}-horizontal`]:{lineHeight:O,border:0,borderBottom:`${k}px ${E} ${xe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${be}-item, ${be}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:T},[`> ${be}-item:hover,
> ${be}-item-active,
> ${be}-submenu ${be}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${be}-item, ${be}-submenu-title`]:{transition:[`border-color ${H}`,`background ${H}`].join(",")},[`${be}-submenu-arrow`]:{display:"none"}}}},_=se=>{let{componentCls:be,menuArrowOffset:H}=se;return{[`${be}-rtl`]:{direction:"rtl"},[`${be}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${be}-rtl${be}-vertical,
${be}-submenu-rtl ${be}-vertical`]:{[`${be}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${H})`},"&::after":{transform:`rotate(45deg) translateY(${H})`}}}}};const V=se=>Object.assign({},(0,fe.oN)(se));var Le=(se,be)=>{const{componentCls:H,itemColor:O,itemSelectedColor:xe,groupTitleColor:k,itemBg:E,subMenuItemBg:T,itemSelectedBg:X,activeBarHeight:G,activeBarWidth:K,activeBarBorderWidth:we,motionDurationSlow:Ke,motionEaseInOut:ke,motionEaseOut:Te,itemPaddingInline:Ye,motionDurationMid:tt,itemHoverColor:We,lineType:yt,colorSplit:St,itemDisabledColor:pt,dangerItemColor:Lt,dangerItemHoverColor:_t,dangerItemSelectedColor:w,dangerItemActiveBg:D,dangerItemSelectedBg:bt,itemHoverBg:ce,itemActiveBg:Me,menuSubMenuBg:pn,horizontalItemSelectedColor:He,horizontalItemSelectedBg:rt,horizontalItemBorderRadius:Je,horizontalItemHoverBg:Ae,popupBg:De}=se;return{[`${H}-${be}, ${H}-${be} > ${H}`]:{color:O,background:E,[`&${H}-root:focus-visible`]:Object.assign({},V(se)),[`${H}-item-group-title`]:{color:k},[`${H}-submenu-selected`]:{[`> ${H}-submenu-title`]:{color:xe}},[`${H}-item-disabled, ${H}-submenu-disabled`]:{color:`${pt} !important`},[`${H}-item:not(${H}-item-selected):not(${H}-submenu-selected)`]:{[`&:hover, > ${H}-submenu-title:hover`]:{color:We}},[`&:not(${H}-horizontal)`]:{[`${H}-item:not(${H}-item-selected)`]:{"&:hover":{backgroundColor:ce},"&:active":{backgroundColor:Me}},[`${H}-submenu-title`]:{"&:hover":{backgroundColor:ce},"&:active":{backgroundColor:Me}}},[`${H}-item-danger`]:{color:Lt,[`&${H}-item:hover`]:{[`&:not(${H}-item-selected):not(${H}-submenu-selected)`]:{color:_t}},[`&${H}-item:active`]:{background:D}},[`${H}-item a`]:{"&, &:hover":{color:"inherit"}},[`${H}-item-selected`]:{color:xe,[`&${H}-item-danger`]:{color:w},"a, a:hover":{color:"inherit"}},[`& ${H}-item-selected`]:{backgroundColor:X,[`&${H}-item-danger`]:{backgroundColor:bt}},[`${H}-item, ${H}-submenu-title`]:{[`&:not(${H}-item-disabled):focus-visible`]:Object.assign({},V(se))},[`&${H}-submenu > ${H}`]:{backgroundColor:pn},[`&${H}-popup > ${H}`]:{backgroundColor:De},[`&${H}-horizontal`]:Object.assign(Object.assign({},be==="dark"?{borderBottom:0}:{}),{[`> ${H}-item, > ${H}-submenu`]:{top:we,marginTop:-we,marginBottom:0,borderRadius:Je,"&::after":{position:"absolute",insetInline:Ye,bottom:0,borderBottom:`${G}px solid transparent`,transition:`border-color ${Ke} ${ke}`,content:'""'},"&:hover, &-active, &-open":{background:Ae,"&::after":{borderBottomWidth:G,borderBottomColor:He}},"&-selected":{color:He,backgroundColor:rt,"&:hover":{backgroundColor:rt},"&::after":{borderBottomWidth:G,borderBottomColor:He}}}}),[`&${H}-root`]:{[`&${H}-inline, &${H}-vertical`]:{borderInlineEnd:`${we}px ${yt} ${St}`}},[`&${H}-inline`]:{[`${H}-sub${H}-inline`]:{background:T},[`${H}-item, ${H}-submenu-title`]:we&&K?{width:`calc(100% + ${we}px)`}:{},[`${H}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${K}px solid ${xe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${tt} ${Te}`,`opacity ${tt} ${Te}`].join(","),content:'""'},[`&${H}-item-danger`]:{"&::after":{borderInlineEndColor:w}}},[`${H}-selected, ${H}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${tt} ${ke}`,`opacity ${tt} ${ke}`].join(",")}}}}}};const Oe=se=>{const{componentCls:be,itemHeight:H,itemMarginInline:O,padding:xe,menuArrowSize:k,marginXS:E,itemMarginBlock:T}=se,X=xe+k+E;return{[`${be}-item`]:{position:"relative",overflow:"hidden"},[`${be}-item, ${be}-submenu-title`]:{height:H,lineHeight:`${H}px`,paddingInline:xe,overflow:"hidden",textOverflow:"ellipsis",marginInline:O,marginBlock:T,width:`calc(100% - ${O*2}px)`},[`> ${be}-item,
> ${be}-submenu > ${be}-submenu-title`]:{height:H,lineHeight:`${H}px`},[`${be}-item-group-list ${be}-submenu-title,
${be}-submenu-title`]:{paddingInlineEnd:X}}};var Ze=se=>{const{componentCls:be,iconCls:H,itemHeight:O,colorTextLightSolid:xe,dropdownWidth:k,controlHeightLG:E,motionDurationMid:T,motionEaseOut:X,paddingXL:G,itemMarginInline:K,fontSizeLG:we,motionDurationSlow:Ke,paddingXS:ke,boxShadowSecondary:Te,collapsedWidth:Ye,collapsedIconSize:tt}=se,We={height:O,lineHeight:`${O}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[be]:{"&-inline, &-vertical":Object.assign({[`&${be}-root`]:{boxShadow:"none"}},Oe(se))},[`${be}-submenu-popup`]:{[`${be}-vertical`]:Object.assign(Object.assign({},Oe(se)),{boxShadow:Te})}},{[`${be}-submenu-popup ${be}-vertical${be}-sub`]:{minWidth:k,maxHeight:`calc(100vh - ${E*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${be}-inline`]:{width:"100%",[`&${be}-root`]:{[`${be}-item, ${be}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Ke}`,`background ${Ke}`,`padding ${T} ${X}`].join(","),[`> ${be}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${be}-sub${be}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${be}-submenu > ${be}-submenu-title`]:We,[`& ${be}-item-group-title`]:{paddingInlineStart:G}},[`${be}-item`]:We}},{[`${be}-inline-collapsed`]:{width:Ye,[`&${be}-root`]:{[`${be}-item, ${be}-submenu ${be}-submenu-title`]:{[`> ${be}-inline-collapsed-noicon`]:{fontSize:we,textAlign:"center"}}},[`> ${be}-item,
> ${be}-item-group > ${be}-item-group-list > ${be}-item,
> ${be}-item-group > ${be}-item-group-list > ${be}-submenu > ${be}-submenu-title,
> ${be}-submenu > ${be}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${we/2}px - ${K}px)`,textOverflow:"clip",[`
${be}-submenu-arrow,
${be}-submenu-expand-icon
`]:{opacity:0},[`${be}-item-icon, ${H}`]:{margin:0,fontSize:tt,lineHeight:`${O}px`,"+ span":{display:"inline-block",opacity:0}}},[`${be}-item-icon, ${H}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${be}-item-icon, ${H}`]:{display:"none"},"a, a:hover":{color:xe}},[`${be}-item-group-title`]:Object.assign(Object.assign({},fe.vS),{paddingInline:ke})}}]};const ut=se=>{const{componentCls:be,motionDurationSlow:H,motionDurationMid:O,motionEaseInOut:xe,motionEaseOut:k,iconCls:E,iconSize:T,iconMarginInlineEnd:X}=se;return{[`${be}-item, ${be}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${H}`,`background ${H}`,`padding ${H} ${xe}`].join(","),[`${be}-item-icon, ${E}`]:{minWidth:T,fontSize:T,transition:[`font-size ${O} ${k}`,`margin ${H} ${xe}`,`color ${H}`].join(","),"+ span":{marginInlineStart:X,opacity:1,transition:[`opacity ${H} ${xe}`,`margin ${H}`,`color ${H}`].join(",")}},[`${be}-item-icon`]:Object.assign({},(0,fe.Ro)()),[`&${be}-item-only-child`]:{[`> ${E}, > ${be}-item-icon`]:{marginInlineEnd:0}}},[`${be}-item-disabled, ${be}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${be}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},ct=se=>{const{componentCls:be,motionDurationSlow:H,motionEaseInOut:O,borderRadius:xe,menuArrowSize:k,menuArrowOffset:E}=se;return{[`${be}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:se.margin,width:k,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${H} ${O}, opacity ${H}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:k*.6,height:k*.15,backgroundColor:"currentcolor",borderRadius:xe,transition:[`background ${H} ${O}`,`transform ${H} ${O}`,`top ${H} ${O}`,`color ${H} ${O}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${E})`},"&::after":{transform:`rotate(-45deg) translateY(${E})`}}}}},it=se=>{const{antCls:be,componentCls:H,fontSize:O,motionDurationSlow:xe,motionDurationMid:k,motionEaseInOut:E,paddingXS:T,padding:X,colorSplit:G,lineWidth:K,zIndexPopup:we,borderRadiusLG:Ke,subMenuItemBorderRadius:ke,menuArrowSize:Te,menuArrowOffset:Ye,lineType:tt,menuPanelMaskInset:We,groupTitleLineHeight:yt,groupTitleFontSize:St}=se;return[{"":{[`${H}`]:Object.assign(Object.assign({},(0,fe.dF)()),{"&-hidden":{display:"none"}})},[`${H}-submenu-hidden`]:{display:"none"}},{[H]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,fe.Wf)(se)),(0,fe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:O,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${xe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${H}-item`]:{flex:"none"}},[`${H}-item, ${H}-submenu, ${H}-submenu-title`]:{borderRadius:se.itemBorderRadius},[`${H}-item-group-title`]:{padding:`${T}px ${X}px`,fontSize:St,lineHeight:yt,transition:`all ${xe}`},[`&-horizontal ${H}-submenu`]:{transition:[`border-color ${xe} ${E}`,`background ${xe} ${E}`].join(",")},[`${H}-submenu, ${H}-submenu-inline`]:{transition:[`border-color ${xe} ${E}`,`background ${xe} ${E}`,`padding ${k} ${E}`].join(",")},[`${H}-submenu ${H}-sub`]:{cursor:"initial",transition:[`background ${xe} ${E}`,`padding ${xe} ${E}`].join(",")},[`${H}-title-content`]:{transition:`color ${xe}`},[`${H}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${H}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:G,borderStyle:tt,borderWidth:0,borderTopWidth:K,marginBlock:K,padding:0,"&-dashed":{borderStyle:"dashed"}}}),ut(se)),{[`${H}-item-group`]:{[`${H}-item-group-list`]:{margin:0,padding:0,[`${H}-item, ${H}-submenu-title`]:{paddingInline:`${O*2}px ${X}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:we,borderRadius:Ke,boxShadow:"none",transformOrigin:"0 0",[`&${H}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${We}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:We},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:se.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:se.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:se.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:se.paddingXS},[`> ${H}`]:Object.assign(Object.assign(Object.assign({borderRadius:Ke},ut(se)),ct(se)),{[`${H}-item, ${H}-submenu > ${H}-submenu-title`]:{borderRadius:ke},[`${H}-submenu-title::after`]:{transition:`transform ${xe} ${E}`}})}}),ct(se)),{[`&-inline-collapsed ${H}-submenu-arrow,
&-inline ${H}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Ye})`},"&::after":{transform:`rotate(45deg) translateX(-${Ye})`}},[`${H}-submenu-open${H}-submenu-inline > ${H}-submenu-title > ${H}-submenu-arrow`]:{transform:`translateY(-${Te*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Ye})`},"&::before":{transform:`rotate(45deg) translateX(${Ye})`}}})},{[`${be}-layout-header`]:{[H]:{lineHeight:"inherit"}}}]};var Nt=(se,be)=>(0,pe.Z)("Menu",O=>{if(be===!1)return[];const{colorBgElevated:xe,colorPrimary:k,colorTextLightSolid:E,controlHeightLG:T,fontSize:X,darkItemColor:G,darkDangerItemColor:K,darkItemBg:we,darkSubMenuItemBg:Ke,darkItemSelectedColor:ke,darkItemSelectedBg:Te,darkDangerItemSelectedBg:Ye,darkItemHoverBg:tt,darkGroupTitleColor:We,darkItemHoverColor:yt,darkItemDisabledColor:St,darkDangerItemHoverColor:pt,darkDangerItemSelectedColor:Lt,darkDangerItemActiveBg:_t}=O,w=X/7*5,D=(0,Q.TS)(O,{menuArrowSize:w,menuHorizontalHeight:T*1.15,menuArrowOffset:`${w*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:xe}),bt=(0,Q.TS)(D,{itemColor:G,itemHoverColor:yt,groupTitleColor:We,itemSelectedColor:ke,itemBg:we,popupBg:we,subMenuItemBg:Ke,itemActiveBg:"transparent",itemSelectedBg:Te,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:tt,itemDisabledColor:St,dangerItemColor:K,dangerItemHoverColor:pt,dangerItemSelectedColor:Lt,dangerItemActiveBg:_t,dangerItemSelectedBg:Ye,menuSubMenuBg:Ke,horizontalItemSelectedColor:E,horizontalItemSelectedBg:k});return[it(D),ie(D),Ze(D),Le(D,"light"),Le(bt,"dark"),_(D),(0,ae.Z)(D),(0,te.oN)(D,"slide-up"),(0,te.oN)(D,"slide-down"),(0,U._y)(D,"zoom-big")]},O=>{const{colorPrimary:xe,colorError:k,colorTextDisabled:E,colorErrorBg:T,colorText:X,colorTextDescription:G,colorBgContainer:K,colorFillAlter:we,colorFillContent:Ke,lineWidth:ke,lineWidthBold:Te,controlItemBgActive:Ye,colorBgTextHover:tt,controlHeightLG:We,lineHeight:yt,colorBgElevated:St,marginXXS:pt,padding:Lt,fontSize:_t,controlHeightSM:w,fontSizeLG:D,colorTextLightSolid:bt,colorErrorHover:ce}=O,Me=new me.C(bt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:O.zIndexPopupBase+50,radiusItem:O.borderRadiusLG,itemBorderRadius:O.borderRadiusLG,radiusSubMenuItem:O.borderRadiusSM,subMenuItemBorderRadius:O.borderRadiusSM,colorItemText:X,itemColor:X,colorItemTextHover:X,itemHoverColor:X,colorItemTextHoverHorizontal:xe,horizontalItemHoverColor:xe,colorGroupTitle:G,groupTitleColor:G,colorItemTextSelected:xe,itemSelectedColor:xe,colorItemTextSelectedHorizontal:xe,horizontalItemSelectedColor:xe,colorItemBg:K,itemBg:K,colorItemBgHover:tt,itemHoverBg:tt,colorItemBgActive:Ke,itemActiveBg:Ye,colorSubItemBg:we,subMenuItemBg:we,colorItemBgSelected:Ye,itemSelectedBg:Ye,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Te,activeBarHeight:Te,colorActiveBarBorderSize:ke,activeBarBorderWidth:ke,colorItemTextDisabled:E,itemDisabledColor:E,colorDangerItemText:k,dangerItemColor:k,colorDangerItemTextHover:k,dangerItemHoverColor:k,colorDangerItemTextSelected:k,dangerItemSelectedColor:k,colorDangerItemBgActive:T,dangerItemActiveBg:T,colorDangerItemBgSelected:T,dangerItemSelectedBg:T,itemMarginInline:O.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:We,groupTitleLineHeight:yt,collapsedWidth:We*2,popupBg:St,itemMarginBlock:pt,itemPaddingInline:Lt,horizontalLineHeight:`${We*1.15}px`,iconSize:_t,iconMarginInlineEnd:w-_t,collapsedIconSize:D,groupTitleFontSize:_t,darkItemDisabledColor:new me.C(bt).setAlpha(.25).toRgbString(),darkItemColor:Me,darkDangerItemColor:k,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:bt,darkItemSelectedBg:xe,darkDangerItemSelectedBg:k,darkItemHoverBg:"transparent",darkGroupTitleColor:Me,darkItemHoverColor:bt,darkDangerItemHoverColor:ce,darkDangerItemSelectedColor:bt,darkDangerItemActiveBg:k}},{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"]]})(se),qt=function(se,be){var H={};for(var O in se)Object.prototype.hasOwnProperty.call(se,O)&&be.indexOf(O)<0&&(H[O]=se[O]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,O=Object.getOwnPropertySymbols(se);xe<O.length;xe++)be.indexOf(O[xe])<0&&Object.prototype.propertyIsEnumerable.call(se,O[xe])&&(H[O[xe]]=se[O[xe]]);return H},Dt=(0,L.forwardRef)((se,be)=>{var H,O;const xe=L.useContext(R.Z),k=xe||{},{getPrefixCls:E,getPopupContainer:T,direction:X,menu:G}=L.useContext(q.E_),K=E(),{prefixCls:we,className:Ke,style:ke,theme:Te="light",expandIcon:Ye,_internalDisableMenuItemTitleTooltip:tt,inlineCollapsed:We,siderCollapsed:yt,items:St,children:pt,rootClassName:Lt,mode:_t,selectable:w,onClick:D,overflowedIndicatorPopupClassName:bt}=se,ce=qt(se,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Me=(0,z.Z)(ce,["collapsedWidth"]),pn=he(St)||pt;(H=k.validator)===null||H===void 0||H.call(k,{mode:_t});const He=(0,Y.useEvent)(function(){var Tn;D==null||D.apply(void 0,arguments),(Tn=k.onClick)===null||Tn===void 0||Tn.call(k)}),rt=k.mode||_t,Je=w!=null?w:k.selectable,Ae=L.useMemo(()=>yt!==void 0?yt:We,[We,yt]),De={horizontal:{motionName:`${K}-slide-up`},inline:(0,b.Z)(K),other:{motionName:`${K}-zoom-big`}},ze=E("menu",we||k.prefixCls),[Xe,ge]=Nt(ze,!xe),an=$()(`${ze}-${Te}`,G==null?void 0:G.className,Ke);let $e;if(typeof Ye=="function")$e=Ye;else if(Ye===null||Ye===!1)$e=null;else if(k.expandIcon===null||k.expandIcon===!1)$e=null;else{const Tn=Ye!=null?Ye:k.expandIcon;$e=(0,u.Tm)(Tn,{className:$()(`${ze}-submenu-expand-icon`,(0,u.l$)(Tn)?(O=Tn.props)===null||O===void 0?void 0:O.className:"")})}const bn=L.useMemo(()=>({prefixCls:ze,inlineCollapsed:Ae||!1,direction:X,firstLevel:!0,theme:Te,mode:rt,disableMenuItemTitleTooltip:tt}),[ze,Ae,X,tt,Te]);return Xe(L.createElement(R.Z.Provider,{value:null},L.createElement(m.Provider,{value:bn},L.createElement(y.ZP,Object.assign({getPopupContainer:T,overflowedIndicator:L.createElement(ne.Z,null),overflowedIndicatorPopupClassName:$()(ze,`${ze}-${Te}`,bt),mode:rt,selectable:Je,onClick:He},Me,{inlineCollapsed:Ae,style:Object.assign(Object.assign({},G==null?void 0:G.style),ke),className:an,prefixCls:ze,direction:X,defaultMotions:De,expandIcon:$e,ref:be,rootClassName:$()(Lt,ge)}),pn))))});const $t=(0,L.forwardRef)((se,be)=>{const H=(0,L.useRef)(null),O=L.useContext(ee.D);return(0,L.useImperativeHandle)(be,()=>({menu:H.current,focus:xe=>{var k;(k=H.current)===null||k===void 0||k.focus(xe)}})),L.createElement(Dt,Object.assign({ref:H},se,O))});$t.Item=ue,$t.SubMenu=W,$t.Divider=a,$t.ItemGroup=y.BW;var ot=$t},25700:function(en,et,f){"use strict";f.d(et,{Z:function(){return k}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(T,X){return L.createElement($.Z,(0,y.Z)({},T,{ref:X,icon:Ee}))},C=L.forwardRef(q),Se=C,a=f(93343),I=f(16537),z=f(53878),S=f(92310),u=f.n(S),x=f(80962),m=f(57259),P=f(79545),ue=f(68550),B=f(17928),W=f(7711),ne=f(36994),Y={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},b=Y,R=f(91735),Z=function(E){(0,B.Z)(X,E);var T=(0,W.Z)(X);function X(){var G;(0,P.Z)(this,X);for(var K=arguments.length,we=new Array(K),Ke=0;Ke<K;Ke++)we[Ke]=arguments[Ke];return G=T.call.apply(T,[this].concat(we)),G.state={goInputText:""},G.getValidValue=function(){var ke=G.state.goInputText;return!ke||Number.isNaN(ke)?void 0:Number(ke)},G.buildOptionText=function(ke){return"".concat(ke," ").concat(G.props.locale.items_per_page)},G.changeSize=function(ke){G.props.changeSize(Number(ke))},G.handleChange=function(ke){G.setState({goInputText:ke.target.value})},G.handleBlur=function(ke){var Te=G.props,Ye=Te.goButton,tt=Te.quickGo,We=Te.rootPrefixCls,yt=G.state.goInputText;Ye||yt===""||(G.setState({goInputText:""}),!(ke.relatedTarget&&(ke.relatedTarget.className.indexOf("".concat(We,"-item-link"))>=0||ke.relatedTarget.className.indexOf("".concat(We,"-item"))>=0))&&tt(G.getValidValue()))},G.go=function(ke){var Te=G.state.goInputText;Te!==""&&(ke.keyCode===b.ENTER||ke.type==="click")&&(G.setState({goInputText:""}),G.props.quickGo(G.getValidValue()))},G}return(0,ue.Z)(X,[{key:"getPageSizeOptions",value:function(){var K=this.props,we=K.pageSize,Ke=K.pageSizeOptions;return Ke.some(function(ke){return ke.toString()===we.toString()})?Ke:Ke.concat([we.toString()]).sort(function(ke,Te){var Ye=Number.isNaN(Number(ke))?0:Number(ke),tt=Number.isNaN(Number(Te))?0:Number(Te);return Ye-tt})}},{key:"render",value:function(){var K=this,we=this.props,Ke=we.pageSize,ke=we.locale,Te=we.rootPrefixCls,Ye=we.changeSize,tt=we.quickGo,We=we.goButton,yt=we.selectComponentClass,St=we.buildOptionText,pt=we.selectPrefixCls,Lt=we.disabled,_t=this.state.goInputText,w="".concat(Te,"-options"),D=yt,bt=null,ce=null,Me=null;if(!Ye&&!tt)return null;var pn=this.getPageSizeOptions();if(Ye&&D){var He=pn.map(function(rt,Je){return L.createElement(D.Option,{key:Je,value:rt.toString()},(St||K.buildOptionText)(rt))});bt=L.createElement(D,{disabled:Lt,prefixCls:pt,showSearch:!1,className:"".concat(w,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Ke||pn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Je){return Je.parentNode},"aria-label":ke.page_size,defaultOpen:!1},He)}return tt&&(We&&(Me=typeof We=="boolean"?L.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Lt,className:"".concat(w,"-quick-jumper-button")},ke.jump_to_confirm):L.createElement("span",{onClick:this.go,onKeyUp:this.go},We)),ce=L.createElement("div",{className:"".concat(w,"-quick-jumper")},ke.jump_to,L.createElement("input",{disabled:Lt,type:"text",value:_t,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":ke.page}),ke.page,Me)),L.createElement("li",{className:"".concat(w)},bt,ce)}}]),X}(L.Component);Z.defaultProps={pageSizeOptions:["10","20","50","100"]};var j=Z,he=function(T){var X,G=T.rootPrefixCls,K=T.page,we=T.active,Ke=T.className,ke=T.showTitle,Te=T.onClick,Ye=T.onKeyPress,tt=T.itemRender,We="".concat(G,"-item"),yt=u()(We,"".concat(We,"-").concat(K),(X={},(0,x.Z)(X,"".concat(We,"-active"),we),(0,x.Z)(X,"".concat(We,"-disabled"),!K),(0,x.Z)(X,T.className,Ke),X)),St=function(){Te(K)},pt=function(w){Ye(w,Te,K)},Lt=tt(K,"page",L.createElement("a",{rel:"nofollow"},K));return Lt?L.createElement("li",{title:ke?K.toString():null,className:yt,onClick:St,onKeyPress:pt,tabIndex:0},Lt):null},me=he;function fe(){}function ae(E){var T=Number(E);return typeof T=="number"&&!Number.isNaN(T)&&isFinite(T)&&Math.floor(T)===T}var te=function(T,X,G){return G};function U(E,T,X){var G=typeof E=="undefined"?T.pageSize:E;return Math.floor((X.total-1)/G)+1}var pe=function(E){(0,B.Z)(X,E);var T=(0,W.Z)(X);function X(G){var K;(0,P.Z)(this,X),K=T.call(this,G),K.paginationNode=L.createRef(),K.getJumpPrevPage=function(){return Math.max(1,K.state.current-(K.props.showLessItems?3:5))},K.getJumpNextPage=function(){return Math.min(U(void 0,K.state,K.props),K.state.current+(K.props.showLessItems?3:5))},K.getItemIcon=function(Ye,tt){var We=K.props.prefixCls,yt=Ye||L.createElement("button",{type:"button","aria-label":tt,className:"".concat(We,"-item-link")});return typeof Ye=="function"&&(yt=L.createElement(Ye,(0,m.Z)({},K.props))),yt},K.isValid=function(Ye){var tt=K.props.total;return ae(Ye)&&Ye!==K.state.current&&ae(tt)&&tt>0},K.shouldDisplayQuickJumper=function(){var Ye=K.props,tt=Ye.showQuickJumper,We=Ye.total,yt=K.state.pageSize;return We<=yt?!1:tt},K.handleKeyDown=function(Ye){(Ye.keyCode===b.ARROW_UP||Ye.keyCode===b.ARROW_DOWN)&&Ye.preventDefault()},K.handleKeyUp=function(Ye){var tt=K.getValidValue(Ye),We=K.state.currentInputValue;tt!==We&&K.setState({currentInputValue:tt}),Ye.keyCode===b.ENTER?K.handleChange(tt):Ye.keyCode===b.ARROW_UP?K.handleChange(tt-1):Ye.keyCode===b.ARROW_DOWN&&K.handleChange(tt+1)},K.handleBlur=function(Ye){var tt=K.getValidValue(Ye);K.handleChange(tt)},K.changePageSize=function(Ye){var tt=K.state.current,We=U(Ye,K.state,K.props);tt=tt>We?We:tt,We===0&&(tt=K.state.current),typeof Ye=="number"&&("pageSize"in K.props||K.setState({pageSize:Ye}),"current"in K.props||K.setState({current:tt,currentInputValue:tt})),K.props.onShowSizeChange(tt,Ye),"onChange"in K.props&&K.props.onChange&&K.props.onChange(tt,Ye)},K.handleChange=function(Ye){var tt=K.props,We=tt.disabled,yt=tt.onChange,St=K.state,pt=St.pageSize,Lt=St.current,_t=St.currentInputValue;if(K.isValid(Ye)&&!We){var w=U(void 0,K.state,K.props),D=Ye;return Ye>w?D=w:Ye<1&&(D=1),"current"in K.props||K.setState({current:D}),D!==_t&&K.setState({currentInputValue:D}),yt(D,pt),D}return Lt},K.prev=function(){K.hasPrev()&&K.handleChange(K.state.current-1)},K.next=function(){K.hasNext()&&K.handleChange(K.state.current+1)},K.jumpPrev=function(){K.handleChange(K.getJumpPrevPage())},K.jumpNext=function(){K.handleChange(K.getJumpNextPage())},K.hasPrev=function(){return K.state.current>1},K.hasNext=function(){return K.state.current<U(void 0,K.state,K.props)},K.runIfEnter=function(Ye,tt){if(Ye.key==="Enter"||Ye.charCode===13){for(var We=arguments.length,yt=new Array(We>2?We-2:0),St=2;St<We;St++)yt[St-2]=arguments[St];tt.apply(void 0,yt)}},K.runIfEnterPrev=function(Ye){K.runIfEnter(Ye,K.prev)},K.runIfEnterNext=function(Ye){K.runIfEnter(Ye,K.next)},K.runIfEnterJumpPrev=function(Ye){K.runIfEnter(Ye,K.jumpPrev)},K.runIfEnterJumpNext=function(Ye){K.runIfEnter(Ye,K.jumpNext)},K.handleGoTO=function(Ye){(Ye.keyCode===b.ENTER||Ye.type==="click")&&K.handleChange(K.state.currentInputValue)},K.renderPrev=function(Ye){var tt=K.props,We=tt.prevIcon,yt=tt.itemRender,St=yt(Ye,"prev",K.getItemIcon(We,"prev page")),pt=!K.hasPrev();return(0,L.isValidElement)(St)?(0,L.cloneElement)(St,{disabled:pt}):St},K.renderNext=function(Ye){var tt=K.props,We=tt.nextIcon,yt=tt.itemRender,St=yt(Ye,"next",K.getItemIcon(We,"next page")),pt=!K.hasNext();return(0,L.isValidElement)(St)?(0,L.cloneElement)(St,{disabled:pt}):St};var we=G.onChange!==fe,Ke="current"in G;Ke&&!we&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var ke=G.defaultCurrent;"current"in G&&(ke=G.current);var Te=G.defaultPageSize;return"pageSize"in G&&(Te=G.pageSize),ke=Math.min(ke,U(Te,void 0,G)),K.state={current:ke,currentInputValue:ke,pageSize:Te},K}return(0,ue.Z)(X,[{key:"componentDidUpdate",value:function(K,we){var Ke=this.props.prefixCls;if(we.current!==this.state.current&&this.paginationNode.current){var ke=this.paginationNode.current.querySelector(".".concat(Ke,"-item-").concat(we.current));if(ke&&document.activeElement===ke){var Te;ke==null||(Te=ke.blur)===null||Te===void 0||Te.call(ke)}}}},{key:"getValidValue",value:function(K){var we=K.target.value,Ke=U(void 0,this.state,this.props),ke=this.state.currentInputValue,Te;return we===""?Te=we:Number.isNaN(Number(we))?Te=ke:we>=Ke?Te=Ke:Te=Number(we),Te}},{key:"getShowSizeChanger",value:function(){var K=this.props,we=K.showSizeChanger,Ke=K.total,ke=K.totalBoundaryShowSizeChanger;return typeof we!="undefined"?we:Ke>ke}},{key:"render",value:function(){var K=this.props,we=K.prefixCls,Ke=K.className,ke=K.style,Te=K.disabled,Ye=K.hideOnSinglePage,tt=K.total,We=K.locale,yt=K.showQuickJumper,St=K.showLessItems,pt=K.showTitle,Lt=K.showTotal,_t=K.simple,w=K.itemRender,D=K.showPrevNextJumpers,bt=K.jumpPrevIcon,ce=K.jumpNextIcon,Me=K.selectComponentClass,pn=K.selectPrefixCls,He=K.pageSizeOptions,rt=this.state,Je=rt.current,Ae=rt.pageSize,De=rt.currentInputValue;if(Ye===!0&&tt<=Ae)return null;var ze=U(void 0,this.state,this.props),Xe=[],ge=null,an=null,$e=null,bn=null,Tn=null,Wt=yt&&yt.goButton,Yt=St?1:2,Rt=Je-1>0?Je-1:0,Ot=Je+1<ze?Je+1:ze,Ge=(0,ne.Z)(this.props,{aria:!0,data:!0}),xt=Lt&&L.createElement("li",{className:"".concat(we,"-total-text")},Lt(tt,[tt===0?0:(Je-1)*Ae+1,Je*Ae>tt?tt:Je*Ae]));if(_t){Wt&&(typeof Wt=="boolean"?Tn=L.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},We.jump_to_confirm):Tn=L.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Wt),Tn=L.createElement("li",{title:pt?"".concat(We.jump_to).concat(Je,"/").concat(ze):null,className:"".concat(we,"-simple-pager")},Tn));var At=this.renderPrev(Rt);return L.createElement("ul",(0,y.Z)({className:u()(we,"".concat(we,"-simple"),(0,x.Z)({},"".concat(we,"-disabled"),Te),Ke),style:ke,ref:this.paginationNode},Ge),xt,At?L.createElement("li",{title:pt?We.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:u()("".concat(we,"-prev"),(0,x.Z)({},"".concat(we,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},At):null,L.createElement("li",{title:pt?"".concat(Je,"/").concat(ze):null,className:"".concat(we,"-simple-pager")},L.createElement("input",{type:"text",value:De,disabled:Te,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),L.createElement("span",{className:"".concat(we,"-slash")},"/"),ze),L.createElement("li",{title:pt?We.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:u()("".concat(we,"-next"),(0,x.Z)({},"".concat(we,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Ot)),Tn)}if(ze<=3+Yt*2){var Ue={locale:We,rootPrefixCls:we,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:pt,itemRender:w};ze||Xe.push(L.createElement(me,(0,y.Z)({},Ue,{key:"noPager",page:1,className:"".concat(we,"-item-disabled")})));for(var Ce=1;Ce<=ze;Ce+=1){var mt=Je===Ce;Xe.push(L.createElement(me,(0,y.Z)({},Ue,{key:Ce,page:Ce,active:mt})))}}else{var lt=St?We.prev_3:We.prev_5,Pt=St?We.next_3:We.next_5,Ht=w(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(bt,"prev page")),tn=w(this.getJumpNextPage(),"jump-next",this.getItemIcon(ce,"next page"));D&&(ge=Ht?L.createElement("li",{title:pt?lt:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:u()("".concat(we,"-jump-prev"),(0,x.Z)({},"".concat(we,"-jump-prev-custom-icon"),!!bt))},Ht):null,an=tn?L.createElement("li",{title:pt?Pt:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:u()("".concat(we,"-jump-next"),(0,x.Z)({},"".concat(we,"-jump-next-custom-icon"),!!ce))},tn):null),bn=L.createElement(me,{locale:We,last:!0,rootPrefixCls:we,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ze,page:ze,active:!1,showTitle:pt,itemRender:w}),$e=L.createElement(me,{locale:We,rootPrefixCls:we,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:pt,itemRender:w});var Ut=Math.max(1,Je-Yt),sn=Math.min(Je+Yt,ze);Je-1<=Yt&&(sn=1+Yt*2),ze-Je<=Yt&&(Ut=ze-Yt*2);for(var dn=Ut;dn<=sn;dn+=1){var Mt=Je===dn;Xe.push(L.createElement(me,{locale:We,rootPrefixCls:we,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:dn,page:dn,active:Mt,showTitle:pt,itemRender:w}))}Je-1>=Yt*2&&Je!==3&&(Xe[0]=(0,L.cloneElement)(Xe[0],{className:"".concat(we,"-item-after-jump-prev")}),Xe.unshift(ge)),ze-Je>=Yt*2&&Je!==ze-2&&(Xe[Xe.length-1]=(0,L.cloneElement)(Xe[Xe.length-1],{className:"".concat(we,"-item-before-jump-next")}),Xe.push(an)),Ut!==1&&Xe.unshift($e),sn!==ze&&Xe.push(bn)}var It=!this.hasPrev()||!ze,un=!this.hasNext()||!ze,ln=this.renderPrev(Rt),hn=this.renderNext(Ot);return L.createElement("ul",(0,y.Z)({className:u()(we,Ke,(0,x.Z)({},"".concat(we,"-disabled"),Te)),style:ke,ref:this.paginationNode},Ge),xt,ln?L.createElement("li",{title:pt?We.prev_page:null,onClick:this.prev,tabIndex:It?null:0,onKeyPress:this.runIfEnterPrev,className:u()("".concat(we,"-prev"),(0,x.Z)({},"".concat(we,"-disabled"),It)),"aria-disabled":It},ln):null,Xe,hn?L.createElement("li",{title:pt?We.next_page:null,onClick:this.next,tabIndex:un?null:0,onKeyPress:this.runIfEnterNext,className:u()("".concat(we,"-next"),(0,x.Z)({},"".concat(we,"-disabled"),un)),"aria-disabled":un},hn):null,L.createElement(j,{disabled:Te,locale:We,rootPrefixCls:we,selectComponentClass:Me,selectPrefixCls:pn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Je,pageSize:Ae,pageSizeOptions:He,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Wt}))}}],[{key:"getDerivedStateFromProps",value:function(K,we){var Ke={};if("current"in K&&(Ke.current=K.current,K.current!==we.current&&(Ke.currentInputValue=Ke.current)),"pageSize"in K&&K.pageSize!==we.pageSize){var ke=we.current,Te=U(K.pageSize,we,K);ke=ke>Te?Te:ke,"current"in K||(Ke.current=ke,Ke.currentInputValue=ke),Ke.pageSize=K.pageSize}return Ke}}]),X}(L.Component);pe.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:fe,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:fe,locale:R.Z,style:{},itemRender:te,totalBoundaryShowSizeChanger:50};var Q=pe,de=f(22075),ie=f(36355),v=f(19716),_=f(8628),V=f(9763),J=f(57809);const Le=E=>L.createElement(J.default,Object.assign({},E,{showSearch:!0,size:"small"})),Oe=E=>L.createElement(J.default,Object.assign({},E,{showSearch:!0,size:"middle"}));Le.Option=J.default.Option,Oe.Option=J.default.Option;var Ie=f(9937),Ze=f(17313),ut=f(83116),ct=f(37613);const it=E=>{const{componentCls:T}=E;return{[`${T}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${T}-item-link`]:{color:E.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${T}-item-link`]:{color:E.colorTextDisabled,cursor:"not-allowed"}}},[`&${T}-disabled`]:{cursor:"not-allowed",[`${T}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:E.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:E.colorBorder,backgroundColor:E.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:E.itemActiveBgDisabled},a:{color:E.itemActiveColorDisabled}}},[`${T}-item-link`]:{color:E.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${T}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${T}-simple-pager`]:{color:E.colorTextDisabled},[`${T}-jump-prev, ${T}-jump-next`]:{[`${T}-item-link-icon`]:{opacity:0},[`${T}-item-ellipsis`]:{opacity:1}}},[`&${T}-simple`]:{[`${T}-prev, ${T}-next`]:{[`&${T}-disabled ${T}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Nt=E=>{const{componentCls:T}=E;return{[`&${T}-mini ${T}-total-text, &${T}-mini ${T}-simple-pager`]:{height:E.itemSizeSM,lineHeight:`${E.itemSizeSM}px`},[`&${T}-mini ${T}-item`]:{minWidth:E.itemSizeSM,height:E.itemSizeSM,margin:0,lineHeight:`${E.itemSizeSM-2}px`},[`&${T}-mini:not(${T}-disabled) ${T}-item:not(${T}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:E.colorBgTextHover},"&:active":{backgroundColor:E.colorBgTextActive}},[`&${T}-mini ${T}-prev, &${T}-mini ${T}-next`]:{minWidth:E.itemSizeSM,height:E.itemSizeSM,margin:0,lineHeight:`${E.itemSizeSM}px`},[`&${T}-mini:not(${T}-disabled)`]:{[`${T}-prev, ${T}-next`]:{[`&:hover ${T}-item-link`]:{backgroundColor:E.colorBgTextHover},[`&:active ${T}-item-link`]:{backgroundColor:E.colorBgTextActive},[`&${T}-disabled:hover ${T}-item-link`]:{backgroundColor:"transparent"}}},[`
&${T}-mini ${T}-prev ${T}-item-link,
&${T}-mini ${T}-next ${T}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:E.itemSizeSM,lineHeight:`${E.itemSizeSM}px`}},[`&${T}-mini ${T}-jump-prev, &${T}-mini ${T}-jump-next`]:{height:E.itemSizeSM,marginInlineEnd:0,lineHeight:`${E.itemSizeSM}px`},[`&${T}-mini ${T}-options`]:{marginInlineStart:E.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:E.miniOptionsSizeChangerTop},"&-quick-jumper":{height:E.itemSizeSM,lineHeight:`${E.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Ie.x0)(E)),{width:E.paginationMiniQuickJumperInputWidth,height:E.controlHeightSM})}}}},qt=E=>{const{componentCls:T}=E;return{[`
&${T}-simple ${T}-prev,
&${T}-simple ${T}-next
`]:{height:E.itemSizeSM,lineHeight:`${E.itemSizeSM}px`,verticalAlign:"top",[`${T}-item-link`]:{height:E.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:E.colorBgTextHover},"&:active":{backgroundColor:E.colorBgTextActive},"&::after":{height:E.itemSizeSM,lineHeight:`${E.itemSizeSM}px`}}},[`&${T}-simple ${T}-simple-pager`]:{display:"inline-block",height:E.itemSizeSM,marginInlineEnd:E.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:E.marginXS,padding:`0 ${E.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:E.itemInputBg,border:`${E.lineWidth}px ${E.lineType} ${E.colorBorder}`,borderRadius:E.borderRadius,outline:"none",transition:`border-color ${E.motionDurationMid}`,color:"inherit","&:hover":{borderColor:E.colorPrimary},"&:focus":{borderColor:E.colorPrimaryHover,boxShadow:`${E.inputOutlineOffset}px 0 ${E.controlOutlineWidth}px ${E.controlOutline}`},"&[disabled]":{color:E.colorTextDisabled,backgroundColor:E.colorBgContainerDisabled,borderColor:E.colorBorder,cursor:"not-allowed"}}}}},nn=E=>{const{componentCls:T}=E;return{[`${T}-jump-prev, ${T}-jump-next`]:{outline:0,[`${T}-item-container`]:{position:"relative",[`${T}-item-link-icon`]:{color:E.colorPrimary,fontSize:E.fontSizeSM,opacity:0,transition:`all ${E.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${T}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:E.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:E.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:E.paginationEllipsisTextIndent,opacity:1,transition:`all ${E.motionDurationMid}`}},"&:hover":{[`${T}-item-link-icon`]:{opacity:1},[`${T}-item-ellipsis`]:{opacity:0}}},[`
${T}-prev,
${T}-jump-prev,
${T}-jump-next
`]:{marginInlineEnd:E.marginXS},[`
${T}-prev,
${T}-next,
${T}-jump-prev,
${T}-jump-next
`]:{display:"inline-block",minWidth:E.itemSize,height:E.itemSize,color:E.colorText,fontFamily:E.fontFamily,lineHeight:`${E.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:E.borderRadius,cursor:"pointer",transition:`all ${E.motionDurationMid}`},[`${T}-prev, ${T}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:E.colorText,cursor:"pointer",userSelect:"none"},[`${T}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:E.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${E.lineWidth}px ${E.lineType} transparent`,borderRadius:E.borderRadius,outline:"none",transition:`all ${E.motionDurationMid}`},[`&:hover ${T}-item-link`]:{backgroundColor:E.colorBgTextHover},[`&:active ${T}-item-link`]:{backgroundColor:E.colorBgTextActive},[`&${T}-disabled:hover`]:{[`${T}-item-link`]:{backgroundColor:"transparent"}}},[`${T}-slash`]:{marginInlineEnd:E.paginationSlashMarginInlineEnd,marginInlineStart:E.paginationSlashMarginInlineStart},[`${T}-options`]:{display:"inline-block",marginInlineStart:E.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:E.controlHeight,marginInlineStart:E.marginXS,lineHeight:`${E.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Ie.ik)(E)),{width:E.controlHeightLG*1.25,height:E.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:E.marginXS,marginInlineEnd:E.marginXS})}}}},Dt=E=>{const{componentCls:T}=E;return{[`${T}-item`]:{display:"inline-block",minWidth:E.itemSize,height:E.itemSize,marginInlineEnd:E.marginXS,fontFamily:E.fontFamily,lineHeight:`${E.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${E.lineWidth}px ${E.lineType} transparent`,borderRadius:E.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${E.paginationItemPaddingInline}px`,color:E.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${T}-item-active)`]:{"&:hover":{transition:`all ${E.motionDurationMid}`,backgroundColor:E.colorBgTextHover},"&:active":{backgroundColor:E.colorBgTextActive}},"&-active":{fontWeight:E.fontWeightStrong,backgroundColor:E.itemActiveBg,borderColor:E.colorPrimary,a:{color:E.colorPrimary},"&:hover":{borderColor:E.colorPrimaryHover},"&:hover a":{color:E.colorPrimaryHover}}}}},$t=E=>{const{componentCls:T}=E;return{[T]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ze.Wf)(E)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${T}-total-text`]:{display:"inline-block",height:E.itemSize,marginInlineEnd:E.marginXS,lineHeight:`${E.itemSize-2}px`,verticalAlign:"middle"}}),Dt(E)),nn(E)),qt(E)),Nt(E)),it(E)),{[`@media only screen and (max-width: ${E.screenLG}px)`]:{[`${T}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${E.screenSM}px)`]:{[`${T}-options`]:{display:"none"}}}),[`&${E.componentCls}-rtl`]:{direction:"rtl"}}},ot=E=>{const{componentCls:T}=E;return{[`${T}${T}-disabled:not(${T}-mini)`]:{"&, &:hover":{[`${T}-item-link`]:{borderColor:E.colorBorder}},"&:focus-visible":{[`${T}-item-link`]:{borderColor:E.colorBorder}},[`${T}-item, ${T}-item-link`]:{backgroundColor:E.colorBgContainerDisabled,borderColor:E.colorBorder,[`&:hover:not(${T}-item-active)`]:{backgroundColor:E.colorBgContainerDisabled,borderColor:E.colorBorder,a:{color:E.colorTextDisabled}},[`&${T}-item-active`]:{backgroundColor:E.itemActiveBgDisabled}},[`${T}-prev, ${T}-next`]:{"&:hover button":{backgroundColor:E.colorBgContainerDisabled,borderColor:E.colorBorder,color:E.colorTextDisabled},[`${T}-item-link`]:{backgroundColor:E.colorBgContainerDisabled,borderColor:E.colorBorder}}},[`${T}:not(${T}-mini)`]:{[`${T}-prev, ${T}-next`]:{"&:hover button":{borderColor:E.colorPrimaryHover,backgroundColor:E.itemBg},[`${T}-item-link`]:{backgroundColor:E.itemLinkBg,borderColor:E.colorBorder},[`&:hover ${T}-item-link`]:{borderColor:E.colorPrimary,backgroundColor:E.itemBg,color:E.colorPrimary},[`&${T}-disabled`]:{[`${T}-item-link`]:{borderColor:E.colorBorder,color:E.colorTextDisabled}}},[`${T}-item`]:{backgroundColor:E.itemBg,border:`${E.lineWidth}px ${E.lineType} ${E.colorBorder}`,[`&:hover:not(${T}-item-active)`]:{borderColor:E.colorPrimary,backgroundColor:E.itemBg,a:{color:E.colorPrimary}},"&-active":{borderColor:E.colorPrimary}}}}},se=E=>{const{componentCls:T}=E;return{[`${T}:not(${T}-disabled)`]:{[`${T}-item`]:Object.assign({},(0,Ze.Qy)(E)),[`${T}-jump-prev, ${T}-jump-next`]:{"&:focus-visible":Object.assign({[`${T}-item-link-icon`]:{opacity:1},[`${T}-item-ellipsis`]:{opacity:0}},(0,Ze.oN)(E))},[`${T}-prev, ${T}-next`]:{[`&:focus-visible ${T}-item-link`]:Object.assign({},(0,Ze.oN)(E))}}}};var be=(0,ut.Z)("Pagination",E=>{const T=(0,ct.TS)(E,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:E.marginXXS/2,paginationMiniQuickJumperInputWidth:E.controlHeightLG*1.1,paginationItemPaddingInline:E.marginXXS*1.5,paginationEllipsisLetterSpacing:E.marginXXS/2,paginationSlashMarginInlineStart:E.marginXXS,paginationSlashMarginInlineEnd:E.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Ie.e5)(E),(0,Ie.TM)(E));return[$t(T),se(T),E.wireframe&&ot(T)]},E=>({itemBg:E.colorBgContainer,itemSize:E.controlHeight,itemSizeSM:E.controlHeightSM,itemActiveBg:E.colorBgContainer,itemLinkBg:E.colorBgContainer,itemActiveColorDisabled:E.colorTextDisabled,itemActiveBgDisabled:E.controlItemBgActiveDisabled,itemInputBg:E.colorBgContainer,miniOptionsSizeChangerTop:0})),H=function(E,T){var X={};for(var G in E)Object.prototype.hasOwnProperty.call(E,G)&&T.indexOf(G)<0&&(X[G]=E[G]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var K=0,G=Object.getOwnPropertySymbols(E);K<G.length;K++)T.indexOf(G[K])<0&&Object.prototype.propertyIsEnumerable.call(E,G[K])&&(X[G[K]]=E[G[K]]);return X},xe=E=>{const{prefixCls:T,selectPrefixCls:X,className:G,rootClassName:K,style:we,size:Ke,locale:ke,selectComponentClass:Te,responsive:Ye,showSizeChanger:tt}=E,We=H(E,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:yt}=(0,_.Z)(Ye),{getPrefixCls:St,direction:pt,pagination:Lt={}}=L.useContext(ie.E_),_t=St("pagination",T),[w,D]=be(_t),bt=tt!=null?tt:Lt.showSizeChanger,ce=L.useMemo(()=>{const ze=L.createElement("span",{className:`${_t}-item-ellipsis`},"\u2022\u2022\u2022"),Xe=L.createElement("button",{className:`${_t}-item-link`,type:"button",tabIndex:-1},pt==="rtl"?L.createElement(z.Z,null):L.createElement(I.Z,null)),ge=L.createElement("button",{className:`${_t}-item-link`,type:"button",tabIndex:-1},pt==="rtl"?L.createElement(I.Z,null):L.createElement(z.Z,null)),an=L.createElement("a",{className:`${_t}-item-link`},L.createElement("div",{className:`${_t}-item-container`},pt==="rtl"?L.createElement(a.Z,{className:`${_t}-item-link-icon`}):L.createElement(Se,{className:`${_t}-item-link-icon`}),ze)),$e=L.createElement("a",{className:`${_t}-item-link`},L.createElement("div",{className:`${_t}-item-container`},pt==="rtl"?L.createElement(Se,{className:`${_t}-item-link-icon`}):L.createElement(a.Z,{className:`${_t}-item-link-icon`}),ze));return{prevIcon:Xe,nextIcon:ge,jumpPrevIcon:an,jumpNextIcon:$e}},[pt,_t]),[Me]=(0,V.Z)("Pagination",de.Z),pn=Object.assign(Object.assign({},Me),ke),He=(0,v.Z)(Ke),rt=He==="small"||!!(yt&&!He&&Ye),Je=St("select",X),Ae=u()({[`${_t}-mini`]:rt,[`${_t}-rtl`]:pt==="rtl"},Lt==null?void 0:Lt.className,G,K,D),De=Object.assign(Object.assign({},Lt==null?void 0:Lt.style),we);return w(L.createElement(Q,Object.assign({},ce,We,{style:De,prefixCls:_t,selectPrefixCls:Je,className:Ae,selectComponentClass:Te||(rt?Le:Oe),locale:pn,showSizeChanger:bt})))},k=xe},5112:function(en,et,f){"use strict";f.d(et,{ZP:function(){return _}});var y=f(92310),L=f.n(y),ee=f(35788),Ee=f(36994),$=f(59301),q=f(36355),C=f(19716);const Se=$.createContext(null),a=Se.Provider;var I=Se;const z=$.createContext(null),S=z.Provider;var u=f(5630),x=f(20475),m=f(1684),P=f(32441),ue=f(17313),B=f(83116),W=f(37613);const ne=V=>{const{componentCls:J,antCls:Le}=V,Oe=`${J}-group`;return{[Oe]:Object.assign(Object.assign({},(0,ue.Wf)(V)),{display:"inline-block",fontSize:0,[`&${Oe}-rtl`]:{direction:"rtl"},[`${Le}-badge ${Le}-badge-count`]:{zIndex:1},[`> ${Le}-badge:not(:first-child) > ${Le}-button-wrapper`]:{borderInlineStart:"none"}})}},Y=V=>{const{componentCls:J,wrapperMarginInlineEnd:Le,colorPrimary:Oe,radioSize:Ie,motionDurationSlow:Ze,motionDurationMid:ut,motionEaseInOutCirc:ct,colorBgContainer:it,colorBorder:Nt,lineWidth:qt,dotSize:nn,colorBgContainerDisabled:Dt,colorTextDisabled:$t,paddingXS:ot,dotColorDisabled:se,lineType:be,radioDotDisabledSize:H,wireframe:O,colorWhite:xe}=V,k=`${J}-inner`;return{[`${J}-wrapper`]:Object.assign(Object.assign({},(0,ue.Wf)(V)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:Le,cursor:"pointer",[`&${J}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:V.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${J}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${qt}px ${be} ${Oe}`,borderRadius:"50%",visibility:"hidden",content:'""'},[J]:Object.assign(Object.assign({},(0,ue.Wf)(V)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${J}-wrapper:hover &,
&:hover ${k}`]:{borderColor:Oe},[`${J}-input:focus-visible + ${k}`]:Object.assign({},(0,ue.oN)(V)),[`${J}:hover::after, ${J}-wrapper:hover &::after`]:{visibility:"visible"},[`${J}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:Ie,height:Ie,marginBlockStart:Ie/-2,marginInlineStart:Ie/-2,backgroundColor:O?Oe:xe,borderBlockStart:0,borderInlineStart:0,borderRadius:Ie,transform:"scale(0)",opacity:0,transition:`all ${Ze} ${ct}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:Ie,height:Ie,backgroundColor:it,borderColor:Nt,borderStyle:"solid",borderWidth:qt,borderRadius:"50%",transition:`all ${ut}`},[`${J}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${J}-checked`]:{[k]:{borderColor:Oe,backgroundColor:O?it:Oe,"&::after":{transform:`scale(${nn/Ie})`,opacity:1,transition:`all ${Ze} ${ct}`}}},[`${J}-disabled`]:{cursor:"not-allowed",[k]:{backgroundColor:Dt,borderColor:Nt,cursor:"not-allowed","&::after":{backgroundColor:se}},[`${J}-input`]:{cursor:"not-allowed"},[`${J}-disabled + span`]:{color:$t,cursor:"not-allowed"},[`&${J}-checked`]:{[k]:{"&::after":{transform:`scale(${H/Ie})`}}}},[`span${J} + *`]:{paddingInlineStart:ot,paddingInlineEnd:ot}})}},b=V=>{const{buttonColor:J,controlHeight:Le,componentCls:Oe,lineWidth:Ie,lineType:Ze,colorBorder:ut,motionDurationSlow:ct,motionDurationMid:it,buttonPaddingInline:Nt,fontSize:qt,buttonBg:nn,fontSizeLG:Dt,controlHeightLG:$t,controlHeightSM:ot,paddingXS:se,borderRadius:be,borderRadiusSM:H,borderRadiusLG:O,buttonCheckedBg:xe,buttonSolidCheckedColor:k,colorTextDisabled:E,colorBgContainerDisabled:T,buttonCheckedBgDisabled:X,buttonCheckedColorDisabled:G,colorPrimary:K,colorPrimaryHover:we,colorPrimaryActive:Ke,buttonSolidCheckedBg:ke,buttonSolidCheckedHoverBg:Te,buttonSolidCheckedActiveBg:Ye}=V;return{[`${Oe}-button-wrapper`]:{position:"relative",display:"inline-block",height:Le,margin:0,paddingInline:Nt,paddingBlock:0,color:J,fontSize:qt,lineHeight:`${Le-Ie*2}px`,background:nn,border:`${Ie}px ${Ze} ${ut}`,borderBlockStartWidth:Ie+.02,borderInlineStartWidth:0,borderInlineEndWidth:Ie,cursor:"pointer",transition:[`color ${it}`,`background ${it}`,`box-shadow ${it}`].join(","),a:{color:J},[`> ${Oe}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-Ie,insetInlineStart:-Ie,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:Ie,paddingInline:0,backgroundColor:ut,transition:`background-color ${ct}`,content:'""'}},"&:first-child":{borderInlineStart:`${Ie}px ${Ze} ${ut}`,borderStartStartRadius:be,borderEndStartRadius:be},"&:last-child":{borderStartEndRadius:be,borderEndEndRadius:be},"&:first-child:last-child":{borderRadius:be},[`${Oe}-group-large &`]:{height:$t,fontSize:Dt,lineHeight:`${$t-Ie*2}px`,"&:first-child":{borderStartStartRadius:O,borderEndStartRadius:O},"&:last-child":{borderStartEndRadius:O,borderEndEndRadius:O}},[`${Oe}-group-small &`]:{height:ot,paddingInline:se-Ie,paddingBlock:0,lineHeight:`${ot-Ie*2}px`,"&:first-child":{borderStartStartRadius:H,borderEndStartRadius:H},"&:last-child":{borderStartEndRadius:H,borderEndEndRadius:H}},"&:hover":{position:"relative",color:K},"&:has(:focus-visible)":Object.assign({},(0,ue.oN)(V)),[`${Oe}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${Oe}-button-wrapper-disabled)`]:{zIndex:1,color:K,background:xe,borderColor:K,"&::before":{backgroundColor:K},"&:first-child":{borderColor:K},"&:hover":{color:we,borderColor:we,"&::before":{backgroundColor:we}},"&:active":{color:Ke,borderColor:Ke,"&::before":{backgroundColor:Ke}}},[`${Oe}-group-solid &-checked:not(${Oe}-button-wrapper-disabled)`]:{color:k,background:ke,borderColor:ke,"&:hover":{color:k,background:Te,borderColor:Te},"&:active":{color:k,background:Ye,borderColor:Ye}},"&-disabled":{color:E,backgroundColor:T,borderColor:ut,cursor:"not-allowed","&:first-child, &:hover":{color:E,backgroundColor:T,borderColor:ut}},[`&-disabled${Oe}-button-wrapper-checked`]:{color:G,backgroundColor:X,borderColor:ut,boxShadow:"none"}}}},R=V=>V-4*2;var Z=(0,B.Z)("Radio",V=>{const{controlOutline:J,controlOutlineWidth:Le,radioSize:Oe}=V,Ie=`0 0 0 ${Le}px ${J}`,Ze=Ie,ut=R(Oe),ct=(0,W.TS)(V,{radioDotDisabledSize:ut,radioFocusShadow:Ie,radioButtonFocusShadow:Ze});return[ne(ct),Y(ct),b(ct)]},V=>{const{wireframe:J,padding:Le,marginXS:Oe,lineWidth:Ie,fontSizeLG:Ze,colorText:ut,colorBgContainer:ct,colorTextDisabled:it,controlItemBgActiveDisabled:Nt,colorTextLightSolid:qt,colorPrimary:nn,colorPrimaryHover:Dt,colorPrimaryActive:$t}=V,ot=4,se=Ze,be=J?R(se):se-(ot+Ie)*2;return{radioSize:se,dotSize:be,dotColorDisabled:it,buttonSolidCheckedColor:qt,buttonSolidCheckedBg:nn,buttonSolidCheckedHoverBg:Dt,buttonSolidCheckedActiveBg:$t,buttonBg:ct,buttonCheckedBg:ct,buttonColor:ut,buttonCheckedBgDisabled:Nt,buttonCheckedColorDisabled:it,buttonPaddingInline:Le-Ie,wrapperMarginInlineEnd:Oe}}),j=f(14088),he=f(4572),me=function(V,J){var Le={};for(var Oe in V)Object.prototype.hasOwnProperty.call(V,Oe)&&J.indexOf(Oe)<0&&(Le[Oe]=V[Oe]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Oe=Object.getOwnPropertySymbols(V);Ie<Oe.length;Ie++)J.indexOf(Oe[Ie])<0&&Object.prototype.propertyIsEnumerable.call(V,Oe[Ie])&&(Le[Oe[Ie]]=V[Oe[Ie]]);return Le};const fe=(V,J)=>{var Le,Oe;const Ie=$.useContext(I),Ze=$.useContext(z),{getPrefixCls:ut,direction:ct,radio:it}=$.useContext(q.E_),Nt=$.useRef(null),qt=(0,x.sQ)(J,Nt),{isFormItemInput:nn}=$.useContext(P.aM),Dt=Ke=>{var ke,Te;(ke=V.onChange)===null||ke===void 0||ke.call(V,Ke),(Te=Ie==null?void 0:Ie.onChange)===null||Te===void 0||Te.call(Ie,Ke)},{prefixCls:$t,className:ot,rootClassName:se,children:be,style:H}=V,O=me(V,["prefixCls","className","rootClassName","children","style"]),xe=ut("radio",$t),k=((Ie==null?void 0:Ie.optionType)||Ze)==="button",E=k?`${xe}-button`:xe,[T,X]=Z(xe),G=Object.assign({},O),K=$.useContext(m.Z);Ie&&(G.name=Ie.name,G.onChange=Dt,G.checked=V.value===Ie.value,G.disabled=(Le=G.disabled)!==null&&Le!==void 0?Le:Ie.disabled),G.disabled=(Oe=G.disabled)!==null&&Oe!==void 0?Oe:K;const we=L()(`${E}-wrapper`,{[`${E}-wrapper-checked`]:G.checked,[`${E}-wrapper-disabled`]:G.disabled,[`${E}-wrapper-rtl`]:ct==="rtl",[`${E}-wrapper-in-form-item`]:nn},it==null?void 0:it.className,ot,se,X);return T($.createElement(j.Z,{component:"Radio",disabled:G.disabled},$.createElement("label",{className:we,style:Object.assign(Object.assign({},it==null?void 0:it.style),H),onMouseEnter:V.onMouseEnter,onMouseLeave:V.onMouseLeave},$.createElement(u.Z,Object.assign({},G,{className:L()(G.className,!k&&he.A),type:"radio",prefixCls:E,ref:qt})),be!==void 0?$.createElement("span",null,be):null)))};var te=$.forwardRef(fe);const U=$.forwardRef((V,J)=>{const{getPrefixCls:Le,direction:Oe}=$.useContext(q.E_),[Ie,Ze]=(0,ee.Z)(V.defaultValue,{value:V.value}),ut=ke=>{const Te=Ie,Ye=ke.target.value;"value"in V||Ze(Ye);const{onChange:tt}=V;tt&&Ye!==Te&&tt(ke)},{prefixCls:ct,className:it,rootClassName:Nt,options:qt,buttonStyle:nn="outline",disabled:Dt,children:$t,size:ot,style:se,id:be,onMouseEnter:H,onMouseLeave:O,onFocus:xe,onBlur:k}=V,E=Le("radio",ct),T=`${E}-group`,[X,G]=Z(E);let K=$t;qt&&qt.length>0&&(K=qt.map(ke=>typeof ke=="string"||typeof ke=="number"?$.createElement(te,{key:ke.toString(),prefixCls:E,disabled:Dt,value:ke,checked:Ie===ke},ke):$.createElement(te,{key:`radio-group-value-options-${ke.value}`,prefixCls:E,disabled:ke.disabled||Dt,value:ke.value,checked:Ie===ke.value,title:ke.title,style:ke.style},ke.label)));const we=(0,C.Z)(ot),Ke=L()(T,`${T}-${nn}`,{[`${T}-${we}`]:we,[`${T}-rtl`]:Oe==="rtl"},it,Nt,G);return X($.createElement("div",Object.assign({},(0,Ee.Z)(V,{aria:!0,data:!0}),{className:Ke,style:se,onMouseEnter:H,onMouseLeave:O,onFocus:xe,onBlur:k,id:be,ref:J}),$.createElement(a,{value:{onChange:ut,value:Ie,disabled:V.disabled,name:V.name,optionType:V.optionType}},K)))});var pe=$.memo(U),Q=function(V,J){var Le={};for(var Oe in V)Object.prototype.hasOwnProperty.call(V,Oe)&&J.indexOf(Oe)<0&&(Le[Oe]=V[Oe]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Oe=Object.getOwnPropertySymbols(V);Ie<Oe.length;Ie++)J.indexOf(Oe[Ie])<0&&Object.prototype.propertyIsEnumerable.call(V,Oe[Ie])&&(Le[Oe[Ie]]=V[Oe[Ie]]);return Le};const de=(V,J)=>{const{getPrefixCls:Le}=$.useContext(q.E_),{prefixCls:Oe}=V,Ie=Q(V,["prefixCls"]),Ze=Le("radio",Oe);return $.createElement(S,{value:"button"},$.createElement(te,Object.assign({prefixCls:Ze},Ie,{type:"radio",ref:J})))};var ie=$.forwardRef(de);const v=te;v.Button=ie,v.Group=pe,v.__ANT_RADIO=!0;var _=v},39978:function(en,et,f){"use strict";f.d(et,{Z:function(){return V}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(Le,Oe){return L.createElement($.Z,(0,y.Z)({},Le,{ref:Oe,icon:Ee}))},C=L.forwardRef(q),Se=C,a=f(92310),I=f.n(a),z=f(80962),S=f(29043),u=f(19149),x=f(35788),m=f(85108),P=f(36994);function ue(J,Le){var Oe=J.disabled,Ie=J.prefixCls,Ze=J.character,ut=J.characterRender,ct=J.index,it=J.count,Nt=J.value,qt=J.allowHalf,nn=J.focused,Dt=J.onHover,$t=J.onClick,ot=function(T){Dt(T,ct)},se=function(T){$t(T,ct)},be=function(T){T.keyCode===m.Z.ENTER&&$t(T,ct)},H=ct+1,O=new Set([Ie]);Nt===0&&ct===0&&nn?O.add("".concat(Ie,"-focused")):qt&&Nt+.5>=H&&Nt<H?(O.add("".concat(Ie,"-half")),O.add("".concat(Ie,"-active")),nn&&O.add("".concat(Ie,"-focused"))):(H<=Nt?O.add("".concat(Ie,"-full")):O.add("".concat(Ie,"-zero")),H===Nt&&nn&&O.add("".concat(Ie,"-focused")));var xe=typeof Ze=="function"?Ze(J):Ze,k=L.createElement("li",{className:I()(Array.from(O)),ref:Le},L.createElement("div",{onClick:Oe?null:se,onKeyDown:Oe?null:be,onMouseMove:Oe?null:ot,role:"radio","aria-checked":Nt>ct?"true":"false","aria-posinset":ct+1,"aria-setsize":it,tabIndex:Oe?-1:0},L.createElement("div",{className:"".concat(Ie,"-first")},xe),L.createElement("div",{className:"".concat(Ie,"-second")},xe)));return ut&&(k=ut(k,J)),k}var B=L.forwardRef(ue);function W(){var J=L.useRef({});function Le(Ie){return J.current[Ie]}function Oe(Ie){return function(Ze){J.current[Ie]=Ze}}return[Le,Oe]}function ne(J){var Le=J.pageXOffset,Oe="scrollLeft";if(typeof Le!="number"){var Ie=J.document;Le=Ie.documentElement[Oe],typeof Le!="number"&&(Le=Ie.body[Oe])}return Le}function Y(J){var Le,Oe,Ie=J.ownerDocument,Ze=Ie.body,ut=Ie&&Ie.documentElement,ct=J.getBoundingClientRect();return Le=ct.left,Oe=ct.top,Le-=ut.clientLeft||Ze.clientLeft||0,Oe-=ut.clientTop||Ze.clientTop||0,{left:Le,top:Oe}}function b(J){var Le=Y(J),Oe=J.ownerDocument,Ie=Oe.defaultView||Oe.parentWindow;return Le.left+=ne(Ie),Le.left}var R=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Z(J,Le){var Oe,Ie=J.prefixCls,Ze=Ie===void 0?"rc-rate":Ie,ut=J.className,ct=J.defaultValue,it=J.value,Nt=J.count,qt=Nt===void 0?5:Nt,nn=J.allowHalf,Dt=nn===void 0?!1:nn,$t=J.allowClear,ot=$t===void 0?!0:$t,se=J.character,be=se===void 0?"\u2605":se,H=J.characterRender,O=J.disabled,xe=J.direction,k=xe===void 0?"ltr":xe,E=J.tabIndex,T=E===void 0?0:E,X=J.autoFocus,G=J.onHoverChange,K=J.onChange,we=J.onFocus,Ke=J.onBlur,ke=J.onKeyDown,Te=J.onMouseLeave,Ye=(0,u.Z)(J,R),tt=W(),We=(0,S.Z)(tt,2),yt=We[0],St=We[1],pt=L.useRef(null),Lt=function(){if(!O){var Ce;(Ce=pt.current)===null||Ce===void 0||Ce.focus()}};L.useImperativeHandle(Le,function(){return{focus:Lt,blur:function(){if(!O){var Ce;(Ce=pt.current)===null||Ce===void 0||Ce.blur()}}}});var _t=(0,x.Z)(ct||0,{value:it}),w=(0,S.Z)(_t,2),D=w[0],bt=w[1],ce=(0,x.Z)(null),Me=(0,S.Z)(ce,2),pn=Me[0],He=Me[1],rt=function(Ce,mt){var lt=k==="rtl",Pt=Ce+1;if(Dt){var Ht=yt(Ce),tn=b(Ht),Ut=Ht.clientWidth;(lt&&mt-tn>Ut/2||!lt&&mt-tn<Ut/2)&&(Pt-=.5)}return Pt},Je=function(Ce){bt(Ce),K==null||K(Ce)},Ae=L.useState(!1),De=(0,S.Z)(Ae,2),ze=De[0],Xe=De[1],ge=function(){Xe(!0),we==null||we()},an=function(){Xe(!1),Ke==null||Ke()},$e=L.useState(null),bn=(0,S.Z)($e,2),Tn=bn[0],Wt=bn[1],Yt=function(Ce,mt){var lt=rt(mt,Ce.pageX);lt!==pn&&(Wt(lt),He(null)),G==null||G(lt)},Rt=function(Ce){O||(Wt(null),He(null),G==null||G(void 0)),Ce&&(Te==null||Te(Ce))},Ot=function(Ce,mt){var lt=rt(mt,Ce.pageX),Pt=!1;ot&&(Pt=lt===D),Rt(),Je(Pt?0:lt),He(Pt?lt:null)},Ge=function(Ce){var mt=Ce.keyCode,lt=k==="rtl",Pt=D;mt===m.Z.RIGHT&&Pt<qt&&!lt?(Dt?Pt+=.5:Pt+=1,Je(Pt),Ce.preventDefault()):mt===m.Z.LEFT&&Pt>0&&!lt||mt===m.Z.RIGHT&&Pt>0&&lt?(Dt?Pt-=.5:Pt-=1,Je(Pt),Ce.preventDefault()):mt===m.Z.LEFT&&Pt<qt&&lt&&(Dt?Pt+=.5:Pt+=1,Je(Pt),Ce.preventDefault()),ke==null||ke(Ce)};L.useEffect(function(){X&&!O&&Lt()},[]);var xt=new Array(qt).fill(0).map(function(Ue,Ce){return L.createElement(B,{ref:St(Ce),index:Ce,count:qt,disabled:O,prefixCls:"".concat(Ze,"-star"),allowHalf:Dt,value:Tn===null?D:Tn,onClick:Ot,onHover:Yt,key:Ue||Ce,character:be,characterRender:H,focused:ze})}),At=I()(Ze,ut,(Oe={},(0,z.Z)(Oe,"".concat(Ze,"-disabled"),O),(0,z.Z)(Oe,"".concat(Ze,"-rtl"),k==="rtl"),Oe));return L.createElement("ul",(0,y.Z)({className:At,onMouseLeave:Rt,tabIndex:O?-1:T,onFocus:O?null:ge,onBlur:O?null:an,onKeyDown:O?null:Ge,ref:pt,role:"radiogroup"},(0,P.Z)(Ye,{aria:!0,data:!0,attr:!0})),xt)}var j=L.forwardRef(Z),he=j,me=f(36355),fe=f(6848),ae=f(17313),te=f(83116),U=f(37613);const pe=J=>{const{componentCls:Le}=J;return{[`${Le}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:J.marginXS},"> div":{transition:`all ${J.motionDurationMid}, outline 0s`,"&:hover":{transform:J.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${J.lineWidth}px dashed ${J.starColor}`,transform:J.starHoverScale}},"&-first, &-second":{color:J.starBg,transition:`all ${J.motionDurationMid}`,userSelect:"none",[J.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Le}-star-first, &-half ${Le}-star-second`]:{opacity:1},[`&-half ${Le}-star-first, &-full ${Le}-star-second`]:{color:"inherit"}}}},Q=J=>({[`&-rtl${J.componentCls}`]:{direction:"rtl"}}),de=J=>{const{componentCls:Le}=J;return{[Le]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ae.Wf)(J)),{display:"inline-block",margin:0,padding:0,color:J.starColor,fontSize:J.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Le} ${Le}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),pe(J)),{[`+ ${Le}-text`]:{display:"inline-block",marginInlineStart:J.marginXS,fontSize:J.fontSize}}),Q(J))}};var ie=(0,te.Z)("Rate",J=>{const Le=(0,U.TS)(J,{});return[de(Le)]},J=>({starColor:J.yellow6,starSize:J.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:J.colorFillContent})),v=function(J,Le){var Oe={};for(var Ie in J)Object.prototype.hasOwnProperty.call(J,Ie)&&Le.indexOf(Ie)<0&&(Oe[Ie]=J[Ie]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Ie=Object.getOwnPropertySymbols(J);Ze<Ie.length;Ze++)Le.indexOf(Ie[Ze])<0&&Object.prototype.propertyIsEnumerable.call(J,Ie[Ze])&&(Oe[Ie[Ze]]=J[Ie[Ze]]);return Oe},V=L.forwardRef((J,Le)=>{const{prefixCls:Oe,className:Ie,rootClassName:Ze,style:ut,tooltips:ct,character:it=L.createElement(Se,null)}=J,Nt=v(J,["prefixCls","className","rootClassName","style","tooltips","character"]),qt=(O,xe)=>{let{index:k}=xe;return ct?L.createElement(fe.Z,{title:ct[k]},O):O},{getPrefixCls:nn,direction:Dt,rate:$t}=L.useContext(me.E_),ot=nn("rate",Oe),[se,be]=ie(ot),H=Object.assign(Object.assign({},$t==null?void 0:$t.style),ut);return se(L.createElement(he,Object.assign({ref:Le,character:it,characterRender:qt},Nt,{className:I()(Ie,Ze,be,$t==null?void 0:$t.className),style:H,prefixCls:ot,direction:Dt})))})},57809:function(en,et,f){"use strict";var y=f(92310),L=f.n(y),ee=f(77861),Ee=f(64002),$=f(59301),q=f(53487),C=f(62892),Se=f(19080),a=f(36355),I=f(1684),z=f(93891),S=f(19716),u=f(32441),x=f(33234),m=f(14154),P=f(58582),ue=f(84443),B=f(66339),W=function(Z,j){var he={};for(var me in Z)Object.prototype.hasOwnProperty.call(Z,me)&&j.indexOf(me)<0&&(he[me]=Z[me]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,me=Object.getOwnPropertySymbols(Z);fe<me.length;fe++)j.indexOf(me[fe])<0&&Object.prototype.propertyIsEnumerable.call(Z,me[fe])&&(he[me[fe]]=Z[me[fe]]);return he};const ne="SECRET_COMBOBOX_MODE_DO_NOT_USE",Y=(Z,j)=>{var he,{prefixCls:me,bordered:fe=!0,className:ae,rootClassName:te,getPopupContainer:U,popupClassName:pe,dropdownClassName:Q,listHeight:de=256,placement:ie,listItemHeight:v=24,size:_,disabled:V,notFoundContent:J,status:Le,builtinPlacements:Oe,dropdownMatchSelectWidth:Ie,popupMatchSelectWidth:Ze,direction:ut,style:ct,allowClear:it}=Z,Nt=W(Z,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:qt,getPrefixCls:nn,renderEmpty:Dt,direction:$t,virtual:ot,popupMatchSelectWidth:se,popupOverflow:be,select:H}=$.useContext(a.E_),O=nn("select",me),xe=nn(),k=ut!=null?ut:$t,{compactSize:E,compactItemClassnames:T}=(0,x.ri)(O,k),[X,G]=(0,m.Z)(O),K=$.useMemo(()=>{const{mode:De}=Nt;if(De!=="combobox")return De===ne?"combobox":De},[Nt.mode]),we=K==="multiple"||K==="tags",Ke=(0,ue.Z)(Nt.suffixIcon,Nt.showArrow),ke=(he=Ze!=null?Ze:Ie)!==null&&he!==void 0?he:se,{status:Te,hasFeedback:Ye,isFormItemInput:tt,feedbackIcon:We}=$.useContext(u.aM),yt=(0,Se.F)(Te,Le);let St;J!==void 0?St=J:K==="combobox"?St=null:St=(Dt==null?void 0:Dt("Select"))||$.createElement(z.Z,{componentName:"Select"});const{suffixIcon:pt,itemIcon:Lt,removeIcon:_t,clearIcon:w}=(0,B.Z)(Object.assign(Object.assign({},Nt),{multiple:we,hasFeedback:Ye,feedbackIcon:We,showSuffixIcon:Ke,prefixCls:O,showArrow:Nt.showArrow,componentName:"Select"})),D=it===!0?{clearIcon:w}:it,bt=(0,Ee.Z)(Nt,["suffixIcon","itemIcon"]),ce=L()(pe||Q,{[`${O}-dropdown-${k}`]:k==="rtl"},te,G),Me=(0,S.Z)(De=>{var ze;return(ze=_!=null?_:E)!==null&&ze!==void 0?ze:De}),pn=$.useContext(I.Z),He=V!=null?V:pn,rt=L()({[`${O}-lg`]:Me==="large",[`${O}-sm`]:Me==="small",[`${O}-rtl`]:k==="rtl",[`${O}-borderless`]:!fe,[`${O}-in-form-item`]:tt},(0,Se.Z)(O,yt,Ye),T,H==null?void 0:H.className,ae,te,G),Je=$.useMemo(()=>ie!==void 0?ie:k==="rtl"?"bottomRight":"bottomLeft",[ie,k]),Ae=(0,P.Z)(Oe,be);return X($.createElement(ee.ZP,Object.assign({ref:j,virtual:ot,showSearch:H==null?void 0:H.showSearch},bt,{style:Object.assign(Object.assign({},H==null?void 0:H.style),ct),dropdownMatchSelectWidth:ke,builtinPlacements:Ae,transitionName:(0,C.m)(xe,"slide-up",Nt.transitionName),listHeight:de,listItemHeight:v,mode:K,prefixCls:O,placement:Je,direction:k,suffixIcon:pt,menuItemSelectedIcon:Lt,removeIcon:_t,allowClear:D,notFoundContent:St,className:rt,getPopupContainer:U||qt,dropdownClassName:ce,disabled:He})))},b=$.forwardRef(Y),R=(0,q.Z)(b);b.SECRET_COMBOBOX_MODE_DO_NOT_USE=ne,b.Option=ee.Wx,b.OptGroup=ee.Xo,b._InternalPanelDoNotUseOrYouWillBeFired=R,et.default=b},14154:function(en,et,f){"use strict";f.d(et,{Z:function(){return b}});var y=f(17313),L=f(74207),ee=f(37613),Ee=f(83116),$=f(13826),q=f(92899);const C=R=>{const{optionHeight:Z,optionFontSize:j,optionLineHeight:he,optionPadding:me}=R;return{position:"relative",display:"block",minHeight:Z,padding:me,color:R.colorText,fontWeight:"normal",fontSize:j,lineHeight:he,boxSizing:"border-box"}};var a=R=>{const{antCls:Z,componentCls:j}=R,he=`${j}-item`,me=`&${Z}-slide-up-enter${Z}-slide-up-enter-active`,fe=`&${Z}-slide-up-appear${Z}-slide-up-appear-active`,ae=`&${Z}-slide-up-leave${Z}-slide-up-leave-active`,te=`${j}-dropdown-placement-`;return[{[`${j}-dropdown`]:Object.assign(Object.assign({},(0,y.Wf)(R)),{position:"absolute",top:-9999,zIndex:R.zIndexPopup,boxSizing:"border-box",padding:R.paddingXXS,overflow:"hidden",fontSize:R.fontSize,fontVariant:"initial",backgroundColor:R.colorBgElevated,borderRadius:R.borderRadiusLG,outline:"none",boxShadow:R.boxShadowSecondary,[`
${me}${te}bottomLeft,
${fe}${te}bottomLeft
`]:{animationName:$.fJ},[`
${me}${te}topLeft,
${fe}${te}topLeft,
${me}${te}topRight,
${fe}${te}topRight
`]:{animationName:$.Qt},[`${ae}${te}bottomLeft`]:{animationName:$.Uw},[`
${ae}${te}topLeft,
${ae}${te}topRight
`]:{animationName:$.ly},"&-hidden":{display:"none"},[`${he}`]:Object.assign(Object.assign({},C(R)),{cursor:"pointer",transition:`background ${R.motionDurationSlow} ease`,borderRadius:R.borderRadiusSM,"&-group":{color:R.colorTextDescription,fontSize:R.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},y.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${he}-option-disabled)`]:{backgroundColor:R.optionActiveBg},[`&-selected:not(${he}-option-disabled)`]:{color:R.optionSelectedColor,fontWeight:R.optionSelectedFontWeight,backgroundColor:R.optionSelectedBg,[`${he}-option-state`]:{color:R.colorPrimary}},"&-disabled":{[`&${he}-option-selected`]:{backgroundColor:R.colorBgContainerDisabled},color:R.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:R.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,$.oN)(R,"slide-up"),(0,$.oN)(R,"slide-down"),(0,q.Fm)(R,"move-up"),(0,q.Fm)(R,"move-down")]};const I=2,z=R=>{let{controlHeightSM:Z,controlHeight:j,lineWidth:he}=R;const me=(j-Z)/2-he,fe=Math.ceil(me/2);return[me,fe]};function S(R,Z){const{componentCls:j,iconCls:he}=R,me=`${j}-selection-overflow`,fe=R.multipleSelectItemHeight,[ae]=z(R),te=Z?`${j}-${Z}`:"";return{[`${j}-multiple${te}`]:{fontSize:R.fontSize,[me]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${j}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${ae-I}px ${I*2}px`,borderRadius:R.borderRadius,[`${j}-show-search&`]:{cursor:"text"},[`${j}-disabled&`]:{background:R.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${I}px 0`,lineHeight:`${fe}px`,visibility:"hidden",content:'"\\a0"'}},[`
&${j}-show-arrow ${j}-selector,
&${j}-allow-clear ${j}-selector
`]:{paddingInlineEnd:R.fontSizeIcon+R.controlPaddingHorizontal},[`${j}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:fe,marginTop:I,marginBottom:I,lineHeight:`${fe-R.lineWidth*2}px`,background:R.multipleItemBg,border:`${R.lineWidth}px ${R.lineType} ${R.multipleItemBorderColor}`,borderRadius:R.borderRadiusSM,cursor:"default",transition:`font-size ${R.motionDurationSlow}, line-height ${R.motionDurationSlow}, height ${R.motionDurationSlow}`,userSelect:"none",marginInlineEnd:I*2,paddingInlineStart:R.paddingXS,paddingInlineEnd:R.paddingXS/2,[`${j}-disabled&`]:{color:R.multipleItemColorDisabled,borderColor:R.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:R.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,y.Ro)()),{display:"inline-flex",alignItems:"center",color:R.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${he}`]:{verticalAlign:"-0.2em"},"&:hover":{color:R.colorIconHover}})},[`${me}-item + ${me}-item`]:{[`${j}-selection-search`]:{marginInlineStart:0}},[`${j}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:R.inputPaddingHorizontalBase-ae,"\n &-input,\n &-mirror\n ":{height:fe,fontFamily:R.fontFamily,lineHeight:`${fe}px`,transition:`all ${R.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${j}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:R.inputPaddingHorizontalBase,insetInlineEnd:R.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${R.motionDurationSlow}`}}}}var x=R=>{const{componentCls:Z}=R,j=(0,ee.TS)(R,{controlHeight:R.controlHeightSM,multipleSelectItemHeight:R.controlHeightXS,borderRadius:R.borderRadiusSM,borderRadiusSM:R.borderRadiusXS}),he=(0,ee.TS)(R,{fontSize:R.fontSizeLG,controlHeight:R.controlHeightLG,multipleSelectItemHeight:R.multipleItemHeightLG,borderRadius:R.borderRadiusLG,borderRadiusSM:R.borderRadius}),[,me]=z(R);return[S(R),S(j,"sm"),{[`${Z}-multiple${Z}-sm`]:{[`${Z}-selection-placeholder`]:{insetInline:R.controlPaddingHorizontalSM-R.lineWidth},[`${Z}-selection-search`]:{marginInlineStart:me}}},S(he,"lg")]};function m(R,Z){const{componentCls:j,inputPaddingHorizontalBase:he,borderRadius:me}=R,fe=R.controlHeight-R.lineWidth*2,ae=Math.ceil(R.fontSize*1.25),te=Z?`${j}-${Z}`:"";return{[`${j}-single${te}`]:{fontSize:R.fontSize,[`${j}-selector`]:Object.assign(Object.assign({},(0,y.Wf)(R)),{display:"flex",borderRadius:me,[`${j}-selection-search`]:{position:"absolute",top:0,insetInlineStart:he,insetInlineEnd:he,bottom:0,"&-input":{width:"100%"}},[`
${j}-selection-item,
${j}-selection-placeholder
`]:{padding:0,lineHeight:`${fe}px`,transition:`all ${R.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${fe}px`}},[`${j}-selection-item`]:{position:"relative",userSelect:"none"},[`${j}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${j}-selection-item:after`,`${j}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
&${j}-show-arrow ${j}-selection-item,
&${j}-show-arrow ${j}-selection-placeholder
`]:{paddingInlineEnd:ae},[`&${j}-open ${j}-selection-item`]:{color:R.colorTextPlaceholder},[`&:not(${j}-customize-input)`]:{[`${j}-selector`]:{width:"100%",height:R.controlHeight,padding:`0 ${he}px`,[`${j}-selection-search-input`]:{height:fe},"&:after":{lineHeight:`${fe}px`}}},[`&${j}-customize-input`]:{[`${j}-selector`]:{"&:after":{display:"none"},[`${j}-selection-search`]:{position:"static",width:"100%"},[`${j}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${he}px`,"&:after":{display:"none"}}}}}}}function P(R){const{componentCls:Z}=R,j=R.controlPaddingHorizontalSM-R.lineWidth;return[m(R),m((0,ee.TS)(R,{controlHeight:R.controlHeightSM,borderRadius:R.borderRadiusSM}),"sm"),{[`${Z}-single${Z}-sm`]:{[`&:not(${Z}-customize-input)`]:{[`${Z}-selection-search`]:{insetInlineStart:j,insetInlineEnd:j},[`${Z}-selector`]:{padding:`0 ${j}px`},[`&${Z}-show-arrow ${Z}-selection-search`]:{insetInlineEnd:j+R.fontSize*1.5},[`
&${Z}-show-arrow ${Z}-selection-item,
&${Z}-show-arrow ${Z}-selection-placeholder
`]:{paddingInlineEnd:R.fontSize*1.5}}}},m((0,ee.TS)(R,{controlHeight:R.singleItemHeightLG,fontSize:R.fontSizeLG,borderRadius:R.borderRadiusLG}),"lg")]}const ue=R=>{const{componentCls:Z,selectorBg:j}=R;return{position:"relative",backgroundColor:j,border:`${R.lineWidth}px ${R.lineType} ${R.colorBorder}`,transition:`all ${R.motionDurationMid} ${R.motionEaseInOut}`,input:{cursor:"pointer"},[`${Z}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${Z}-disabled&`]:{color:R.colorTextDisabled,background:R.colorBgContainerDisabled,cursor:"not-allowed",[`${Z}-multiple&`]:{background:R.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},B=function(R,Z){let j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:he,borderHoverColor:me,outlineColor:fe,antCls:ae}=Z,te=j?{[`${he}-selector`]:{borderColor:me}}:{};return{[R]:{[`&:not(${he}-disabled):not(${he}-customize-input):not(${ae}-pagination-size-changer)`]:Object.assign(Object.assign({},te),{[`${he}-focused& ${he}-selector`]:{borderColor:me,boxShadow:`0 0 0 ${Z.controlOutlineWidth}px ${fe}`,outline:0},[`&:hover ${he}-selector`]:{borderColor:me}})}}},W=R=>{const{componentCls:Z}=R;return{[`${Z}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},ne=R=>{const{componentCls:Z,inputPaddingHorizontalBase:j,iconCls:he}=R;return{[Z]:Object.assign(Object.assign({},(0,y.Wf)(R)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${Z}-customize-input) ${Z}-selector`]:Object.assign(Object.assign({},ue(R)),W(R)),[`${Z}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},y.vS),[`${Z}-selection-placeholder`]:Object.assign(Object.assign({},y.vS),{flex:1,color:R.colorTextPlaceholder,pointerEvents:"none"}),[`${Z}-arrow`]:Object.assign(Object.assign({},(0,y.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:j,height:R.fontSizeIcon,marginTop:-R.fontSizeIcon/2,color:R.colorTextQuaternary,fontSize:R.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[he]:{verticalAlign:"top",transition:`transform ${R.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${Z}-suffix)`]:{pointerEvents:"auto"}},[`${Z}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${Z}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:j,zIndex:1,display:"inline-block",width:R.fontSizeIcon,height:R.fontSizeIcon,marginTop:-R.fontSizeIcon/2,color:R.colorTextQuaternary,fontSize:R.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:R.clearBg,cursor:"pointer",opacity:0,transition:`color ${R.motionDurationMid} ease, opacity ${R.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:R.colorTextTertiary}},"&:hover":{[`${Z}-clear`]:{opacity:1}}}),[`${Z}-has-feedback`]:{[`${Z}-clear`]:{insetInlineEnd:j+R.fontSize+R.paddingXS}}}},Y=R=>{const{componentCls:Z}=R;return[{[Z]:{[`&-borderless ${Z}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${Z}-in-form-item`]:{width:"100%"}}},ne(R),P(R),x(R),a(R),{[`${Z}-rtl`]:{direction:"rtl"}},B(Z,(0,ee.TS)(R,{borderHoverColor:R.colorPrimaryHover,outlineColor:R.controlOutline})),B(`${Z}-status-error`,(0,ee.TS)(R,{borderHoverColor:R.colorErrorHover,outlineColor:R.colorErrorOutline}),!0),B(`${Z}-status-warning`,(0,ee.TS)(R,{borderHoverColor:R.colorWarningHover,outlineColor:R.colorWarningOutline}),!0),(0,L.c)(R,{borderElCls:`${Z}-selector`,focusElCls:`${Z}-focused`})]};var b=(0,Ee.Z)("Select",(R,Z)=>{let{rootPrefixCls:j}=Z;const he=(0,ee.TS)(R,{rootPrefixCls:j,inputPaddingHorizontalBase:R.paddingSM-1,multipleSelectItemHeight:R.multipleItemHeight});return[Y(he)]},R=>{const{fontSize:Z,lineHeight:j,controlHeight:he,controlPaddingHorizontal:me,zIndexPopupBase:fe,colorText:ae,fontWeightStrong:te,controlItemBgActive:U,controlItemBgHover:pe,colorBgContainer:Q,colorFillSecondary:de,controlHeightLG:ie,controlHeightSM:v,colorBgContainerDisabled:_,colorTextDisabled:V}=R;return{zIndexPopup:fe+50,optionSelectedColor:ae,optionSelectedFontWeight:te,optionSelectedBg:U,optionActiveBg:pe,optionPadding:`${(he-Z*j)/2}px ${me}px`,optionFontSize:Z,optionLineHeight:j,optionHeight:he,selectorBg:Q,clearBg:Q,singleItemHeightLG:ie,multipleItemBg:de,multipleItemBorderColor:"transparent",multipleItemHeight:v,multipleItemHeightLG:he,multipleSelectorBgDisabled:_,multipleItemColorDisabled:V,multipleItemBorderColorDisabled:"transparent"}})},58582:function(en,et,f){"use strict";f.d(et,{Z:function(){return L}});const y=ee=>{const $={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:ee==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},$),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},$),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},$),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},$),{points:["br","tr"],offset:[0,-4]})}};function L(ee,Ee){return ee||y(Ee)}},84443:function(en,et,f){"use strict";f.d(et,{Z:function(){return y}});function y(L,ee){return ee!==void 0?ee:L!==null}},66339:function(en,et,f){"use strict";f.d(et,{Z:function(){return Se}});var y=f(10402),L=f(33130),ee=f(72119),Ee=f(18290),$=f(50023),q=f(21970),C=f(59301);function Se(a){let{suffixIcon:I,clearIcon:z,menuItemSelectedIcon:S,removeIcon:u,loading:x,multiple:m,hasFeedback:P,prefixCls:ue,showSuffixIcon:B,feedbackIcon:W,showArrow:ne,componentName:Y}=a;const b=z!=null?z:C.createElement(L.Z,null),R=me=>I===null&&!P&&!ne?null:C.createElement(C.Fragment,null,B!==!1&&me,P&&W);let Z=null;if(I!==void 0)Z=R(I);else if(x)Z=R(C.createElement($.Z,{spin:!0}));else{const me=`${ue}-suffix`;Z=fe=>{let{open:ae,showSearch:te}=fe;return R(ae&&te?C.createElement(q.Z,{className:me}):C.createElement(Ee.Z,{className:me}))}}let j=null;S!==void 0?j=S:m?j=C.createElement(y.Z,null):j=null;let he=null;return u!==void 0?he=u:he=C.createElement(ee.Z,null),{clearIcon:b,suffixIcon:Z,itemIcon:j,removeIcon:he}}},78485:function(en,et,f){"use strict";f.d(et,{Z:function(){return be}});var y=f(92310),L=f.n(y),ee=f(59301),Ee=f(36355),$=f(64002),C=H=>{const{prefixCls:O,className:xe,style:k,size:E,shape:T}=H,X=L()({[`${O}-lg`]:E==="large",[`${O}-sm`]:E==="small"}),G=L()({[`${O}-circle`]:T==="circle",[`${O}-square`]:T==="square",[`${O}-round`]:T==="round"}),K=ee.useMemo(()=>typeof E=="number"?{width:E,height:E,lineHeight:`${E}px`}:{},[E]);return ee.createElement("span",{className:L()(O,X,G,xe),style:Object.assign(Object.assign({},K),k)})},Se=f(9792),a=f(83116),I=f(37613);const z=new Se.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),S=H=>({height:H,lineHeight:`${H}px`}),u=H=>Object.assign({width:H},S(H)),x=H=>({background:H.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:z,animationDuration:H.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),m=H=>Object.assign({width:H*5,minWidth:H*5},S(H)),P=H=>{const{skeletonAvatarCls:O,gradientFromColor:xe,controlHeight:k,controlHeightLG:E,controlHeightSM:T}=H;return{[`${O}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:xe},u(k)),[`${O}${O}-circle`]:{borderRadius:"50%"},[`${O}${O}-lg`]:Object.assign({},u(E)),[`${O}${O}-sm`]:Object.assign({},u(T))}},ue=H=>{const{controlHeight:O,borderRadiusSM:xe,skeletonInputCls:k,controlHeightLG:E,controlHeightSM:T,gradientFromColor:X}=H;return{[`${k}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:X,borderRadius:xe},m(O)),[`${k}-lg`]:Object.assign({},m(E)),[`${k}-sm`]:Object.assign({},m(T))}},B=H=>Object.assign({width:H},S(H)),W=H=>{const{skeletonImageCls:O,imageSizeBase:xe,gradientFromColor:k,borderRadiusSM:E}=H;return{[`${O}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:k,borderRadius:E},B(xe*2)),{[`${O}-path`]:{fill:"#bfbfbf"},[`${O}-svg`]:Object.assign(Object.assign({},B(xe)),{maxWidth:xe*4,maxHeight:xe*4}),[`${O}-svg${O}-svg-circle`]:{borderRadius:"50%"}}),[`${O}${O}-circle`]:{borderRadius:"50%"}}},ne=(H,O,xe)=>{const{skeletonButtonCls:k}=H;return{[`${xe}${k}-circle`]:{width:O,minWidth:O,borderRadius:"50%"},[`${xe}${k}-round`]:{borderRadius:O}}},Y=H=>Object.assign({width:H*2,minWidth:H*2},S(H)),b=H=>{const{borderRadiusSM:O,skeletonButtonCls:xe,controlHeight:k,controlHeightLG:E,controlHeightSM:T,gradientFromColor:X}=H;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:X,borderRadius:O,width:k*2,minWidth:k*2},Y(k))},ne(H,k,xe)),{[`${xe}-lg`]:Object.assign({},Y(E))}),ne(H,E,`${xe}-lg`)),{[`${xe}-sm`]:Object.assign({},Y(T))}),ne(H,T,`${xe}-sm`))},R=H=>{const{componentCls:O,skeletonAvatarCls:xe,skeletonTitleCls:k,skeletonParagraphCls:E,skeletonButtonCls:T,skeletonInputCls:X,skeletonImageCls:G,controlHeight:K,controlHeightLG:we,controlHeightSM:Ke,gradientFromColor:ke,padding:Te,marginSM:Ye,borderRadius:tt,titleHeight:We,blockRadius:yt,paragraphLiHeight:St,controlHeightXS:pt,paragraphMarginTop:Lt}=H;return{[`${O}`]:{display:"table",width:"100%",[`${O}-header`]:{display:"table-cell",paddingInlineEnd:Te,verticalAlign:"top",[`${xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ke},u(K)),[`${xe}-circle`]:{borderRadius:"50%"},[`${xe}-lg`]:Object.assign({},u(we)),[`${xe}-sm`]:Object.assign({},u(Ke))},[`${O}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${k}`]:{width:"100%",height:We,background:ke,borderRadius:yt,[`+ ${E}`]:{marginBlockStart:Ke}},[`${E}`]:{padding:0,"> li":{width:"100%",height:St,listStyle:"none",background:ke,borderRadius:yt,"+ li":{marginBlockStart:pt}}},[`${E}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${O}-content`]:{[`${k}, ${E} > li`]:{borderRadius:tt}}},[`${O}-with-avatar ${O}-content`]:{[`${k}`]:{marginBlockStart:Ye,[`+ ${E}`]:{marginBlockStart:Lt}}},[`${O}${O}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},b(H)),P(H)),ue(H)),W(H)),[`${O}${O}-block`]:{width:"100%",[`${T}`]:{width:"100%"},[`${X}`]:{width:"100%"}},[`${O}${O}-active`]:{[`
${k},
${E} > li,
${xe},
${T},
${X},
${G}
`]:Object.assign({},x(H))}}};var Z=(0,a.Z)("Skeleton",H=>{const{componentCls:O}=H,xe=(0,I.TS)(H,{skeletonAvatarCls:`${O}-avatar`,skeletonTitleCls:`${O}-title`,skeletonParagraphCls:`${O}-paragraph`,skeletonButtonCls:`${O}-button`,skeletonInputCls:`${O}-input`,skeletonImageCls:`${O}-image`,imageSizeBase:H.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${H.gradientFromColor} 25%, ${H.gradientToColor} 37%, ${H.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[R(xe)]},H=>{const{colorFillContent:O,colorFill:xe}=H,k=O,E=xe;return{color:k,colorGradientEnd:E,gradientFromColor:k,gradientToColor:E,titleHeight:H.controlHeight/2,blockRadius:H.borderRadiusSM,paragraphMarginTop:H.marginLG+H.marginXXS,paragraphLiHeight:H.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),he=H=>{const{prefixCls:O,className:xe,rootClassName:k,active:E,shape:T="circle",size:X="default"}=H,{getPrefixCls:G}=ee.useContext(Ee.E_),K=G("skeleton",O),[we,Ke]=Z(K),ke=(0,$.Z)(H,["prefixCls","className"]),Te=L()(K,`${K}-element`,{[`${K}-active`]:E},xe,k,Ke);return we(ee.createElement("div",{className:Te},ee.createElement(C,Object.assign({prefixCls:`${K}-avatar`,shape:T,size:X},ke))))},fe=H=>{const{prefixCls:O,className:xe,rootClassName:k,active:E,block:T=!1,size:X="default"}=H,{getPrefixCls:G}=ee.useContext(Ee.E_),K=G("skeleton",O),[we,Ke]=Z(K),ke=(0,$.Z)(H,["prefixCls"]),Te=L()(K,`${K}-element`,{[`${K}-active`]:E,[`${K}-block`]:T},xe,k,Ke);return we(ee.createElement("div",{className:Te},ee.createElement(C,Object.assign({prefixCls:`${K}-button`,size:X},ke))))};const ae="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var U=H=>{const{prefixCls:O,className:xe,rootClassName:k,style:E,active:T}=H,{getPrefixCls:X}=ee.useContext(Ee.E_),G=X("skeleton",O),[K,we]=Z(G),Ke=L()(G,`${G}-element`,{[`${G}-active`]:T},xe,k,we);return K(ee.createElement("div",{className:Ke},ee.createElement("div",{className:L()(`${G}-image`,xe),style:E},ee.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${G}-image-svg`},ee.createElement("path",{d:ae,className:`${G}-image-path`})))))},Q=H=>{const{prefixCls:O,className:xe,rootClassName:k,active:E,block:T,size:X="default"}=H,{getPrefixCls:G}=ee.useContext(Ee.E_),K=G("skeleton",O),[we,Ke]=Z(K),ke=(0,$.Z)(H,["prefixCls"]),Te=L()(K,`${K}-element`,{[`${K}-active`]:E,[`${K}-block`]:T},xe,k,Ke);return we(ee.createElement("div",{className:Te},ee.createElement(C,Object.assign({prefixCls:`${K}-input`,size:X},ke))))},de=f(5891),ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},v=ie,_=f(88853),V=function(O,xe){return ee.createElement(_.Z,(0,de.Z)({},O,{ref:xe,icon:v}))},J=ee.forwardRef(V),Le=J,Ie=H=>{const{prefixCls:O,className:xe,rootClassName:k,style:E,active:T,children:X}=H,{getPrefixCls:G}=ee.useContext(Ee.E_),K=G("skeleton",O),[we,Ke]=Z(K),ke=L()(K,`${K}-element`,{[`${K}-active`]:T},Ke,xe,k),Te=X!=null?X:ee.createElement(Le,null);return we(ee.createElement("div",{className:ke},ee.createElement("div",{className:L()(`${K}-image`,xe),style:E},Te)))},Ze=f(26390),ct=H=>{const O=G=>{const{width:K,rows:we=2}=H;if(Array.isArray(K))return K[G];if(we-1===G)return K},{prefixCls:xe,className:k,style:E,rows:T}=H,X=(0,Ze.Z)(Array(T)).map((G,K)=>ee.createElement("li",{key:K,style:{width:O(K)}}));return ee.createElement("ul",{className:L()(xe,k),style:E},X)},Nt=H=>{let{prefixCls:O,className:xe,width:k,style:E}=H;return ee.createElement("h3",{className:L()(O,xe),style:Object.assign({width:k},E)})};function qt(H){return H&&typeof H=="object"?H:{}}function nn(H,O){return H&&!O?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Dt(H,O){return!H&&O?{width:"38%"}:H&&O?{width:"50%"}:{}}function $t(H,O){const xe={};return(!H||!O)&&(xe.width="61%"),!H&&O?xe.rows=3:xe.rows=2,xe}const ot=H=>{const{prefixCls:O,loading:xe,className:k,rootClassName:E,style:T,children:X,avatar:G=!1,title:K=!0,paragraph:we=!0,active:Ke,round:ke}=H,{getPrefixCls:Te,direction:Ye,skeleton:tt}=ee.useContext(Ee.E_),We=Te("skeleton",O),[yt,St]=Z(We);if(xe||!("loading"in H)){const pt=!!G,Lt=!!K,_t=!!we;let w;if(pt){const ce=Object.assign(Object.assign({prefixCls:`${We}-avatar`},nn(Lt,_t)),qt(G));w=ee.createElement("div",{className:`${We}-header`},ee.createElement(C,Object.assign({},ce)))}let D;if(Lt||_t){let ce;if(Lt){const pn=Object.assign(Object.assign({prefixCls:`${We}-title`},Dt(pt,_t)),qt(K));ce=ee.createElement(Nt,Object.assign({},pn))}let Me;if(_t){const pn=Object.assign(Object.assign({prefixCls:`${We}-paragraph`},$t(pt,Lt)),qt(we));Me=ee.createElement(ct,Object.assign({},pn))}D=ee.createElement("div",{className:`${We}-content`},ce,Me)}const bt=L()(We,{[`${We}-with-avatar`]:pt,[`${We}-active`]:Ke,[`${We}-rtl`]:Ye==="rtl",[`${We}-round`]:ke},tt==null?void 0:tt.className,k,E,St);return yt(ee.createElement("div",{className:bt,style:Object.assign(Object.assign({},tt==null?void 0:tt.style),T)},w,D))}return typeof X!="undefined"?X:null};ot.Button=fe,ot.Avatar=he,ot.Input=Q,ot.Image=U,ot.Node=Ie;var se=ot,be=se},81327:function(en,et,f){"use strict";f.d(et,{Z:function(){return ue}});var y=f(59301),L=f(92310),ee=f.n(L),Ee=f(38298),$=f(36355),q=f(33234);const C=y.createContext({latestIndex:0}),Se=C.Provider;var I=B=>{let{className:W,index:ne,children:Y,split:b,style:R}=B;const{latestIndex:Z}=y.useContext(C);return Y==null?null:y.createElement(y.Fragment,null,y.createElement("div",{className:W,style:R},Y),ne<Z&&b&&y.createElement("span",{className:`${W}-split`},b))},z=f(2856);function S(B){return["small","middle","large"].includes(B)}function u(B){return B?typeof B=="number"&&!Number.isNaN(B):!1}var x=function(B,W){var ne={};for(var Y in B)Object.prototype.hasOwnProperty.call(B,Y)&&W.indexOf(Y)<0&&(ne[Y]=B[Y]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,Y=Object.getOwnPropertySymbols(B);b<Y.length;b++)W.indexOf(Y[b])<0&&Object.prototype.propertyIsEnumerable.call(B,Y[b])&&(ne[Y[b]]=B[Y[b]]);return ne};const P=y.forwardRef((B,W)=>{var ne,Y;const{getPrefixCls:b,space:R,direction:Z}=y.useContext($.E_),{size:j=(R==null?void 0:R.size)||"small",align:he,className:me,rootClassName:fe,children:ae,direction:te="horizontal",prefixCls:U,split:pe,style:Q,wrap:de=!1,classNames:ie,styles:v}=B,_=x(B,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[V,J]=Array.isArray(j)?j:[j,j],Le=S(J),Oe=S(V),Ie=u(J),Ze=u(V),ut=(0,Ee.Z)(ae,{keepEmpty:!0}),ct=he===void 0&&te==="horizontal"?"center":he,it=b("space",U),[Nt,qt]=(0,z.Z)(it),nn=ee()(it,R==null?void 0:R.className,qt,`${it}-${te}`,{[`${it}-rtl`]:Z==="rtl",[`${it}-align-${ct}`]:ct,[`${it}-gap-row-${J}`]:Le,[`${it}-gap-col-${V}`]:Oe},me,fe),Dt=ee()(`${it}-item`,(ne=ie==null?void 0:ie.item)!==null&&ne!==void 0?ne:(Y=R==null?void 0:R.classNames)===null||Y===void 0?void 0:Y.item);let $t=0;const ot=ut.map((H,O)=>{var xe,k;H!=null&&($t=O);const E=H&&H.key||`${Dt}-${O}`;return y.createElement(I,{className:Dt,key:E,index:O,split:pe,style:(xe=v==null?void 0:v.item)!==null&&xe!==void 0?xe:(k=R==null?void 0:R.styles)===null||k===void 0?void 0:k.item},H)}),se=y.useMemo(()=>({latestIndex:$t}),[$t]);if(ut.length===0)return null;const be={};return de&&(be.flexWrap="wrap"),!Oe&&Ze&&(be.columnGap=V),!Le&&Ie&&(be.rowGap=J),Nt(y.createElement("div",Object.assign({ref:W,className:nn,style:Object.assign(Object.assign(Object.assign({},be),R==null?void 0:R.style),Q)},_),y.createElement(Se,{value:se},ot)))});P.Compact=q.ZP;var ue=P},31797:function(en,et,f){"use strict";f.d(et,{default:function(){return Z}});var y=f(59301),L=f(56762),ee=f(92343),Ee=f(92310),$=f.n(Ee),q=f(36355),C=f(78485),a=j=>{const{value:he,formatter:me,precision:fe,decimalSeparator:ae,groupSeparator:te="",prefixCls:U}=j;let pe;if(typeof me=="function")pe=me(he);else{const Q=String(he),de=Q.match(/^(-?)(\d*)(\.(\d+))?$/);if(!de||Q==="-")pe=Q;else{const ie=de[1];let v=de[2]||"0",_=de[4]||"";v=v.replace(/\B(?=(\d{3})+(?!\d))/g,te),typeof fe=="number"&&(_=_.padEnd(fe,"0").slice(0,fe>0?fe:0)),_&&(_=`${ae}${_}`),pe=[y.createElement("span",{key:"int",className:`${U}-content-value-int`},ie,v),_&&y.createElement("span",{key:"decimal",className:`${U}-content-value-decimal`},_)]}}return y.createElement("span",{className:`${U}-content-value`},pe)},I=f(17313),z=f(83116),S=f(37613);const u=j=>{const{componentCls:he,marginXXS:me,padding:fe,colorTextDescription:ae,titleFontSize:te,colorTextHeading:U,contentFontSize:pe,fontFamily:Q}=j;return{[`${he}`]:Object.assign(Object.assign({},(0,I.Wf)(j)),{[`${he}-title`]:{marginBottom:me,color:ae,fontSize:te},[`${he}-skeleton`]:{paddingTop:fe},[`${he}-content`]:{color:U,fontSize:pe,fontFamily:Q,[`${he}-content-value`]:{display:"inline-block",direction:"ltr"},[`${he}-content-prefix, ${he}-content-suffix`]:{display:"inline-block"},[`${he}-content-prefix`]:{marginInlineEnd:me},[`${he}-content-suffix`]:{marginInlineStart:me}}})}};var x=(0,z.Z)("Statistic",j=>{const he=(0,S.TS)(j,{});return[u(he)]},j=>{const{fontSizeHeading3:he,fontSize:me}=j;return{titleFontSize:me,contentFontSize:he}}),P=j=>{const{prefixCls:he,className:me,rootClassName:fe,style:ae,valueStyle:te,value:U=0,title:pe,valueRender:Q,prefix:de,suffix:ie,loading:v=!1,onMouseEnter:_,onMouseLeave:V,decimalSeparator:J=".",groupSeparator:Le=","}=j,{getPrefixCls:Oe,direction:Ie,statistic:Ze}=y.useContext(q.E_),ut=Oe("statistic",he),[ct,it]=x(ut),Nt=y.createElement(a,Object.assign({decimalSeparator:J,groupSeparator:Le,prefixCls:ut},j,{value:U})),qt=$()(ut,{[`${ut}-rtl`]:Ie==="rtl"},Ze==null?void 0:Ze.className,me,fe,it);return ct(y.createElement("div",{className:qt,style:Object.assign(Object.assign({},Ze==null?void 0:Ze.style),ae),onMouseEnter:_,onMouseLeave:V},pe&&y.createElement("div",{className:`${ut}-title`},pe),y.createElement(C.Z,{paragraph:!1,loading:v,className:`${ut}-skeleton`},y.createElement("div",{style:te,className:`${ut}-content`},de&&y.createElement("span",{className:`${ut}-content-prefix`},de),Q?Q(Nt):Nt,ie&&y.createElement("span",{className:`${ut}-content-suffix`},ie)))))};const ue=[["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 B(j,he){let me=j;const fe=/\[[^\]]*]/g,ae=(he.match(fe)||[]).map(Q=>Q.slice(1,-1)),te=he.replace(fe,"[]"),U=ue.reduce((Q,de)=>{let[ie,v]=de;if(Q.includes(ie)){const _=Math.floor(me/v);return me-=_*v,Q.replace(new RegExp(`${ie}+`,"g"),V=>{const J=V.length;return _.toString().padStart(J,"0")})}return Q},te);let pe=0;return U.replace(fe,()=>{const Q=ae[pe];return pe+=1,Q})}function W(j,he){const{format:me=""}=he,fe=new Date(j).getTime(),ae=Date.now(),te=Math.max(fe-ae,0);return B(te,me)}const ne=1e3/30;function Y(j){return new Date(j).getTime()}const b=j=>{const{value:he,format:me="HH:mm:ss",onChange:fe,onFinish:ae}=j,te=(0,L.Z)(),U=y.useRef(null),pe=()=>{ae==null||ae(),U.current&&(clearInterval(U.current),U.current=null)},Q=()=>{const v=Y(he);v>=Date.now()&&(U.current=setInterval(()=>{te(),fe==null||fe(v-Date.now()),v<Date.now()&&pe()},ne))};y.useEffect(()=>(Q(),()=>{U.current&&(clearInterval(U.current),U.current=null)}),[he]);const de=(v,_)=>W(v,Object.assign(Object.assign({},_),{format:me})),ie=v=>(0,ee.Tm)(v,{title:void 0});return y.createElement(P,Object.assign({},j,{valueRender:ie,formatter:de}))};var R=y.memo(b);P.Countdown=R;var Z=P},8378:function(en,et){"use strict";const f=y=>({[y.componentCls]:{[`${y.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${y.motionDurationMid} ${y.motionEaseInOut},
opacity ${y.motionDurationMid} ${y.motionEaseInOut} !important`}},[`${y.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${y.motionDurationMid} ${y.motionEaseInOut},
opacity ${y.motionDurationMid} ${y.motionEaseInOut} !important`}}});et.Z=f},92899:function(en,et,f){"use strict";f.d(et,{Fm:function(){return S}});var y=f(9792),L=f(95406);const ee=new y.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Ee=new y.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),$=new y.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),q=new y.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),C=new y.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Se=new y.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),a=new y.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),I=new y.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),z={"move-up":{inKeyframes:a,outKeyframes:I},"move-down":{inKeyframes:ee,outKeyframes:Ee},"move-left":{inKeyframes:$,outKeyframes:q},"move-right":{inKeyframes:C,outKeyframes:Se}},S=(u,x)=>{const{antCls:m}=u,P=`${m}-${x}`,{inKeyframes:ue,outKeyframes:B}=z[x];return[(0,L.R)(P,ue,B,u.motionDurationMid),{[`
${P}-enter,
${P}-appear
`]:{opacity:0,animationTimingFunction:u.motionEaseOutCirc},[`${P}-leave`]:{animationTimingFunction:u.motionEaseInOutCirc}}]}},13826:function(en,et,f){"use strict";f.d(et,{Qt:function(){return $},Uw:function(){return Ee},fJ:function(){return ee},ly:function(){return q},oN:function(){return S}});var y=f(9792),L=f(95406);const ee=new y.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Ee=new y.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),$=new y.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),q=new y.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),C=new y.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Se=new y.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),a=new y.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),I=new y.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),z={"slide-up":{inKeyframes:ee,outKeyframes:Ee},"slide-down":{inKeyframes:$,outKeyframes:q},"slide-left":{inKeyframes:C,outKeyframes:Se},"slide-right":{inKeyframes:a,outKeyframes:I}},S=(u,x)=>{const{antCls:m}=u,P=`${m}-${x}`,{inKeyframes:ue,outKeyframes:B}=z[x];return[(0,L.R)(P,ue,B,u.motionDurationMid),{[`
${P}-enter,
${P}-appear
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:u.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${P}-leave`]:{animationTimingFunction:u.motionEaseInQuint}}]}},15969:function(en,et,f){"use strict";f.d(et,{N:function(){return y}});const y=L=>({color:L.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${L.motionDurationSlow}`,"&:focus, &:hover":{color:L.colorLinkHover},"&:active":{color:L.colorLinkActive}})},19447:function(en,et,f){"use strict";f.d(et,{ZP:function(){return $},fS:function(){return ee},qN:function(){return L}});var y=f(47585);const L=8;function ee(q){const C=L,{contentRadius:Se,limitVerticalRadius:a}=q,I=Se>12?Se+2:12;return{dropdownArrowOffset:I,dropdownArrowOffsetVertical:a?C:I}}function Ee(q,C){return q?C:{}}function $(q,C){const{componentCls:Se,sizePopupArrow:a,borderRadiusXS:I,borderRadiusOuter:z,boxShadowPopoverArrow:S}=q,{colorBg:u,contentRadius:x=q.borderRadiusLG,limitVerticalRadius:m,arrowDistance:P=0,arrowPlacement:ue={left:!0,right:!0,top:!0,bottom:!0}}=C,{dropdownArrowOffsetVertical:B,dropdownArrowOffset:W}=ee({contentRadius:x,limitVerticalRadius:m});return{[Se]:Object.assign(Object.assign(Object.assign(Object.assign({[`${Se}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,y.r)(a,I,z,u,S)),{"&:before":{background:u}})]},Ee(!!ue.top,{[[`&-placement-top ${Se}-arrow`,`&-placement-topLeft ${Se}-arrow`,`&-placement-topRight ${Se}-arrow`].join(",")]:{bottom:P,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${Se}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${Se}-arrow`]:{left:{_skip_check_:!0,value:W}},[`&-placement-topRight ${Se}-arrow`]:{right:{_skip_check_:!0,value:W}}})),Ee(!!ue.bottom,{[[`&-placement-bottom ${Se}-arrow`,`&-placement-bottomLeft ${Se}-arrow`,`&-placement-bottomRight ${Se}-arrow`].join(",")]:{top:P,transform:"translateY(-100%)"},[`&-placement-bottom ${Se}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${Se}-arrow`]:{left:{_skip_check_:!0,value:W}},[`&-placement-bottomRight ${Se}-arrow`]:{right:{_skip_check_:!0,value:W}}})),Ee(!!ue.left,{[[`&-placement-left ${Se}-arrow`,`&-placement-leftTop ${Se}-arrow`,`&-placement-leftBottom ${Se}-arrow`].join(",")]:{right:{_skip_check_:!0,value:P},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${Se}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${Se}-arrow`]:{top:B},[`&-placement-leftBottom ${Se}-arrow`]:{bottom:B}})),Ee(!!ue.right,{[[`&-placement-right ${Se}-arrow`,`&-placement-rightTop ${Se}-arrow`,`&-placement-rightBottom ${Se}-arrow`].join(",")]:{left:{_skip_check_:!0,value:P},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${Se}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${Se}-arrow`]:{top:B},[`&-placement-rightBottom ${Se}-arrow`]:{bottom:B}}))}}},47585:function(en,et,f){"use strict";f.d(et,{r:function(){return y}});const y=(L,ee,Ee,$,q)=>{const C=L/2,Se=0,a=C,I=Ee*1/Math.sqrt(2),z=C-Ee*(1-1/Math.sqrt(2)),S=C-ee*(1/Math.sqrt(2)),u=Ee*(Math.sqrt(2)-1)+ee*(1/Math.sqrt(2)),x=2*C-S,m=u,P=2*C-I,ue=z,B=2*C-Se,W=a,ne=C*Math.sqrt(2)+Ee*(Math.sqrt(2)-2),Y=Ee*(Math.sqrt(2)-1);return{pointerEvents:"none",width:L,height:L,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:L,height:L/2,background:$,clipPath:{_multi_value_:!0,value:[`polygon(${Y}px 100%, 50% ${Y}px, ${2*C-Y}px 100%, ${Y}px 100%)`,`path('M ${Se} ${a} A ${Ee} ${Ee} 0 0 0 ${I} ${z} L ${S} ${u} A ${ee} ${ee} 0 0 1 ${x} ${m} L ${P} ${ue} A ${Ee} ${Ee} 0 0 0 ${B} ${W} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:ne,height:ne,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${ee}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:q,zIndex:0,background:"transparent"}}}},2595:function(en,et,f){"use strict";f.d(et,{default:function(){return Zs}});var y={},L="rc-table-internal-hook",ee=f(29043),Ee=f(8107),$=f(28800),q=f(51346),C=f(59301),Se=f(4676);function a(oe){var ye=C.createContext(void 0),je=function(nt){var st=nt.value,wt=nt.children,Ct=C.useRef(st);Ct.current=st;var Et=C.useState(function(){return{getValue:function(){return Ct.current},listeners:new Set}}),Bt=(0,ee.Z)(Et,1),_e=Bt[0];return(0,$.Z)(function(){(0,Se.unstable_batchedUpdates)(function(){_e.listeners.forEach(function(Kt){Kt(st)})})},[st]),C.createElement(ye.Provider,{value:_e},wt)};return{Context:ye,Provider:je,defaultValue:oe}}function I(oe,ye){var je=(0,Ee.Z)(typeof ye=="function"?ye:function(Kt){if(ye===void 0)return Kt;if(!Array.isArray(ye))return Kt[ye];var mn={};return ye.forEach(function(fn){mn[fn]=Kt[fn]}),mn}),Qe=C.useContext(oe==null?void 0:oe.Context),nt=Qe||{},st=nt.listeners,wt=nt.getValue,Ct=C.useRef();Ct.current=je(Qe?wt():oe==null?void 0:oe.defaultValue);var Et=C.useState({}),Bt=(0,ee.Z)(Et,2),_e=Bt[1];return(0,$.Z)(function(){if(!Qe)return;function Kt(mn){var fn=je(mn);(0,q.Z)(Ct.current,fn,!0)||_e({})}return st.add(Kt),function(){st.delete(Kt)}},[Qe]),Ct.current}var z=f(5891),S=f(20475);function u(){var oe=C.createContext(null);function ye(){return C.useContext(oe)}function je(nt,st){var wt=(0,S.Yr)(nt),Ct=function(Bt,_e){var Kt=wt?{ref:_e}:{},mn=C.useRef(0),fn=C.useRef(Bt),cn=ye();return cn!==null?C.createElement(nt,(0,z.Z)({},Bt,Kt)):((!st||st(fn.current,Bt))&&(mn.current+=1),fn.current=Bt,C.createElement(oe.Provider,{value:mn.current},C.createElement(nt,(0,z.Z)({},Bt,Kt))))};return wt?C.forwardRef(Ct):Ct}function Qe(nt,st){var wt=(0,S.Yr)(nt),Ct=function(Bt,_e){var Kt=wt?{ref:_e}:{};return ye(),C.createElement(nt,(0,z.Z)({},Bt,Kt))};return wt?C.memo(C.forwardRef(Ct),st):C.memo(Ct,st)}return{makeImmutable:je,responseImmutable:Qe,useImmutableMark:ye}}var x=u(),m=x.makeImmutable,P=x.responseImmutable,ue=x.useImmutableMark,B=u(),W=B.makeImmutable,ne=B.responseImmutable,Y=B.useImmutableMark,b=a(),R=b;function Z(oe,ye){var je=C.useRef(0);je.current+=1;var Qe=C.useRef(oe),nt=[];Object.keys(oe||{}).map(function(wt){var Ct;(oe==null?void 0:oe[wt])!==((Ct=Qe.current)===null||Ct===void 0?void 0:Ct[wt])&&nt.push(wt)}),Qe.current=oe;var st=C.useRef([]);return nt.length&&(st.current=nt),C.useDebugValue(je.current),C.useDebugValue(st.current.join(", ")),ye&&console.log("".concat(ye,":"),je.current,st.current),je.current}var j=null,he=C.memo(function(){var oe=Z();return C.createElement("h1",null,"Render Times: ",oe)});he.displayName="RenderBlock";var me=f(80665),fe=f(57259),ae=f(80962),te=f(92310),U=f.n(te),pe=f(79722),Q=f(69004),de=f(51395),ie=C.createContext({renderWithProps:!1}),v=ie,_="RC_TABLE_KEY";function V(oe){return oe==null?[]:Array.isArray(oe)?oe:[oe]}function J(oe){var ye=[],je={};return oe.forEach(function(Qe){for(var nt=Qe||{},st=nt.key,wt=nt.dataIndex,Ct=st||V(wt).join("-")||_;je[Ct];)Ct="".concat(Ct,"_next");je[Ct]=!0,ye.push(Ct)}),ye}function Le(oe){return oe!=null}function Oe(oe){return oe&&(0,me.Z)(oe)==="object"&&!Array.isArray(oe)&&!C.isValidElement(oe)}function Ie(oe,ye,je,Qe,nt,st){var wt=C.useContext(v),Ct=Y(),Et=(0,pe.Z)(function(){if(Le(Qe))return[Qe];var Bt=ye==null||ye===""?[]:Array.isArray(ye)?ye:[ye],_e=(0,Q.Z)(oe,Bt),Kt=_e,mn=void 0;if(nt){var fn=nt(_e,oe,je);Oe(fn)?(Kt=fn.children,mn=fn.props,wt.renderWithProps=!0):Kt=fn}return[Kt,mn]},[Ct,oe,Qe,ye,nt,je],function(Bt,_e){if(st){var Kt=(0,ee.Z)(Bt,2),mn=Kt[1],fn=(0,ee.Z)(_e,2),cn=fn[1];return st(cn,mn)}return wt.renderWithProps?!0:!(0,q.Z)(Bt,_e,!0)});return Et}function Ze(oe,ye,je,Qe){var nt=oe+ye-1;return oe<=Qe&&nt>=je}function ut(oe,ye){return I(R,function(je){var Qe=Ze(oe,ye||1,je.hoverStartRow,je.hoverEndRow);return[Qe,je.onHover]})}var ct=function(ye){var je=ye.ellipsis,Qe=ye.rowType,nt=ye.children,st,wt=je===!0?{showTitle:!0}:je;return wt&&(wt.showTitle||Qe==="header")&&(typeof nt=="string"||typeof nt=="number"?st=nt.toString():C.isValidElement(nt)&&typeof nt.props.children=="string"&&(st=nt.props.children)),st};function it(oe){var ye,je,Qe,nt,st,wt,Ct,Et,Bt=oe.component,_e=oe.children,Kt=oe.ellipsis,mn=oe.scope,fn=oe.prefixCls,cn=oe.className,ft=oe.align,On=oe.record,zn=oe.render,Pn=oe.dataIndex,Wn=oe.renderIndex,yr=oe.shouldCellUpdate,br=oe.index,hr=oe.rowType,Or=oe.colSpan,Mr=oe.rowSpan,$n=oe.fixLeft,pr=oe.fixRight,Jn=oe.firstFixLeft,Nn=oe.lastFixLeft,fr=oe.firstFixRight,Ir=oe.lastFixRight,Vr=oe.appendNode,re=oe.additionalProps,l=re===void 0?{}:re,d=oe.isSticky,h="".concat(fn,"-cell"),g=I(R,["supportSticky","allColumnsFixedLeft"]),N=g.supportSticky,le=g.allColumnsFixedLeft,Ne=Ie(On,Pn,Wn,_e,zn,yr),Be=(0,ee.Z)(Ne,2),qe=Be[0],vt=Be[1],Tt={},Jt=typeof $n=="number"&&N,Sn=typeof pr=="number"&&N;Jt&&(Tt.position="sticky",Tt.left=$n),Sn&&(Tt.position="sticky",Tt.right=pr);var Xt=(ye=(je=(Qe=vt==null?void 0:vt.colSpan)!==null&&Qe!==void 0?Qe:l.colSpan)!==null&&je!==void 0?je:Or)!==null&&ye!==void 0?ye:1,on=(nt=(st=(wt=vt==null?void 0:vt.rowSpan)!==null&&wt!==void 0?wt:l.rowSpan)!==null&&st!==void 0?st:Mr)!==null&&nt!==void 0?nt:1,gn=ut(br,on),An=(0,ee.Z)(gn,2),rr=An[0],In=An[1],or=function(bi){var qi;On&&In(br,br+on-1),l==null||(qi=l.onMouseEnter)===null||qi===void 0||qi.call(l,bi)},_r=function(bi){var qi;On&&In(-1,-1),l==null||(qi=l.onMouseLeave)===null||qi===void 0||qi.call(l,bi)};if(Xt===0||on===0)return null;var wr=(Ct=l.title)!==null&&Ct!==void 0?Ct:ct({rowType:hr,ellipsis:Kt,children:qe}),ri=U()(h,cn,(Et={},(0,ae.Z)(Et,"".concat(h,"-fix-left"),Jt&&N),(0,ae.Z)(Et,"".concat(h,"-fix-left-first"),Jn&&N),(0,ae.Z)(Et,"".concat(h,"-fix-left-last"),Nn&&N),(0,ae.Z)(Et,"".concat(h,"-fix-left-all"),Nn&&le&&N),(0,ae.Z)(Et,"".concat(h,"-fix-right"),Sn&&N),(0,ae.Z)(Et,"".concat(h,"-fix-right-first"),fr&&N),(0,ae.Z)(Et,"".concat(h,"-fix-right-last"),Ir&&N),(0,ae.Z)(Et,"".concat(h,"-ellipsis"),Kt),(0,ae.Z)(Et,"".concat(h,"-with-append"),Vr),(0,ae.Z)(Et,"".concat(h,"-fix-sticky"),(Jt||Sn)&&d&&N),(0,ae.Z)(Et,"".concat(h,"-row-hover"),!vt&&rr),Et),l.className,vt==null?void 0:vt.className),ii={};ft&&(ii.textAlign=ft);var Wi=(0,fe.Z)((0,fe.Z)((0,fe.Z)((0,fe.Z)({},Tt),l.style),ii),vt==null?void 0:vt.style),ui=qe;return(0,me.Z)(ui)==="object"&&!Array.isArray(ui)&&!C.isValidElement(ui)&&(ui=null),Kt&&(Nn||fr)&&(ui=C.createElement("span",{className:"".concat(h,"-content")},ui)),C.createElement(Bt,(0,z.Z)({},vt,l,{className:ri,style:Wi,title:wr,scope:mn,onMouseEnter:or,onMouseLeave:_r,colSpan:Xt!==1?Xt:null,rowSpan:on!==1?on:null}),Vr,ui)}var Nt=C.memo(it);function qt(oe,ye,je,Qe,nt,st){var wt=je[oe]||{},Ct=je[ye]||{},Et,Bt;wt.fixed==="left"?Et=Qe.left[nt==="rtl"?ye:oe]:Ct.fixed==="right"&&(Bt=Qe.right[nt==="rtl"?oe:ye]);var _e=!1,Kt=!1,mn=!1,fn=!1,cn=je[ye+1],ft=je[oe-1],On=!(st!=null&&st.children);if(nt==="rtl"){if(Et!==void 0){var zn=ft&&ft.fixed==="left";fn=!zn&&On}else if(Bt!==void 0){var Pn=cn&&cn.fixed==="right";mn=!Pn&&On}}else if(Et!==void 0){var Wn=cn&&cn.fixed==="left";_e=!Wn&&On}else if(Bt!==void 0){var yr=ft&&ft.fixed==="right";Kt=!yr&&On}return{fixLeft:Et,fixRight:Bt,lastFixLeft:_e,firstFixRight:Kt,lastFixRight:mn,firstFixLeft:fn,isSticky:Qe.isSticky}}var nn=C.createContext({}),Dt=nn;function $t(oe){var ye=oe.className,je=oe.index,Qe=oe.children,nt=oe.colSpan,st=nt===void 0?1:nt,wt=oe.rowSpan,Ct=oe.align,Et=I(R,["prefixCls","direction"]),Bt=Et.prefixCls,_e=Et.direction,Kt=C.useContext(Dt),mn=Kt.scrollColumnIndex,fn=Kt.stickyOffsets,cn=Kt.flattenColumns,ft=Kt.columns,On=je+st-1,zn=On+1===mn?st+1:st,Pn=qt(je,je+zn-1,cn,fn,_e,ft==null?void 0:ft[je]);return C.createElement(Nt,(0,z.Z)({className:ye,index:je,component:"td",prefixCls:Bt,record:null,dataIndex:null,align:Ct,colSpan:zn,rowSpan:wt,render:function(){return Qe}},Pn))}var ot=f(19149),se=["children"];function be(oe){var ye=oe.children,je=(0,ot.Z)(oe,se);return C.createElement("tr",je,ye)}function H(oe){var ye=oe.children;return ye}H.Row=be,H.Cell=$t;var O=H;function xe(oe){var ye=oe.children,je=oe.stickyOffsets,Qe=oe.flattenColumns,nt=oe.columns,st=I(R,"prefixCls"),wt=Qe.length-1,Ct=Qe[wt],Et=C.useMemo(function(){return{stickyOffsets:je,flattenColumns:Qe,scrollColumnIndex:Ct!=null&&Ct.scrollbar?wt:null,columns:nt}},[Ct,Qe,wt,je,nt]);return C.createElement(Dt.Provider,{value:Et},C.createElement("tfoot",{className:"".concat(st,"-summary")},ye))}var k=ne(xe),E=O,T=f(80764),X=f(29301),G=f(48886),K=f(24387),we=f(59055),Ke=f(36994);function ke(oe,ye,je,Qe,nt,st,wt){oe.push({record:ye,indent:je,index:wt});var Ct=st(ye),Et=nt==null?void 0:nt.has(Ct);if(ye&&Array.isArray(ye[Qe])&&Et)for(var Bt=0;Bt<ye[Qe].length;Bt+=1)ke(oe,ye[Qe][Bt],je+1,Qe,nt,st,Bt)}function Te(oe,ye,je,Qe){var nt=C.useMemo(function(){if(je!=null&&je.size){for(var st=[],wt=0;wt<(oe==null?void 0:oe.length);wt+=1){var Ct=oe[wt];ke(st,Ct,0,ye,je,Qe,wt)}return st}return oe==null?void 0:oe.map(function(Et,Bt){return{record:Et,indent:0,index:Bt}})},[oe,ye,je,Qe]);return nt}function Ye(oe){var ye=oe.prefixCls,je=oe.children,Qe=oe.component,nt=oe.cellComponent,st=oe.className,wt=oe.expanded,Ct=oe.colSpan,Et=oe.isEmpty,Bt=I(R,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),_e=Bt.scrollbarSize,Kt=Bt.fixHeader,mn=Bt.fixColumn,fn=Bt.componentWidth,cn=Bt.horizonScroll,ft=je;return(Et?cn&&fn:mn)&&(ft=C.createElement("div",{style:{width:fn-(Kt?_e:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ye,"-expanded-row-fixed")},ft)),C.createElement(Qe,{className:st,style:{display:wt?null:"none"}},C.createElement(Nt,{component:nt,prefixCls:ye,colSpan:Ct},ft))}var tt=Ye;function We(oe,ye,je,Qe){var nt=I(R,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),st=nt.flattenColumns,wt=nt.expandableType,Ct=nt.expandedKeys,Et=nt.childrenColumnName,Bt=nt.onTriggerExpand,_e=nt.rowExpandable,Kt=nt.onRow,mn=nt.expandRowByClick,fn=nt.rowClassName,cn=wt==="nest",ft=wt==="row"&&(!_e||_e(oe)),On=ft||cn,zn=Ct&&Ct.has(ye),Pn=Et&&oe&&oe[Et],Wn=(0,T.useEvent)(Bt),yr=Kt==null?void 0:Kt(oe,je),br=yr==null?void 0:yr.onClick,hr=function(pr){mn&&On&&Bt(oe,pr);for(var Jn=arguments.length,Nn=new Array(Jn>1?Jn-1:0),fr=1;fr<Jn;fr++)Nn[fr-1]=arguments[fr];br==null||br.apply(void 0,[pr].concat(Nn))},Or;typeof fn=="string"?Or=fn:typeof fn=="function"&&(Or=fn(oe,je,Qe));var Mr=J(st);return(0,fe.Z)((0,fe.Z)({},nt),{},{columnsKey:Mr,nestExpandable:cn,expanded:zn,hasNestChildren:Pn,record:oe,onTriggerExpand:Wn,rowSupportExpand:ft,expandable:On,rowProps:(0,fe.Z)((0,fe.Z)({},yr),{},{className:U()(Or,yr==null?void 0:yr.className),onClick:hr})})}function yt(oe,ye,je,Qe,nt){var st=oe.record,wt=oe.prefixCls,Ct=oe.columnsKey,Et=oe.fixedInfoList,Bt=oe.expandIconColumnIndex,_e=oe.nestExpandable,Kt=oe.indentSize,mn=oe.expandIcon,fn=oe.expanded,cn=oe.hasNestChildren,ft=oe.onTriggerExpand,On=Ct[je],zn=Et[je],Pn;je===(Bt||0)&&_e&&(Pn=C.createElement(C.Fragment,null,C.createElement("span",{style:{paddingLeft:"".concat(Kt*Qe,"px")},className:"".concat(wt,"-row-indent indent-level-").concat(Qe)}),mn({prefixCls:wt,expanded:fn,expandable:cn,record:st,onExpand:ft})));var Wn;return ye.onCell&&(Wn=ye.onCell(st,nt)),{key:On,fixedInfo:zn,appendCellNode:Pn,additionalCellProps:Wn||{}}}function St(oe){var ye=oe.className,je=oe.style,Qe=oe.record,nt=oe.index,st=oe.renderIndex,wt=oe.rowKey,Ct=oe.indent,Et=Ct===void 0?0:Ct,Bt=oe.rowComponent,_e=oe.cellComponent,Kt=oe.scopeCellComponent,mn=We(Qe,wt,nt,Et),fn=mn.prefixCls,cn=mn.flattenColumns,ft=mn.expandedRowClassName,On=mn.expandedRowRender,zn=mn.rowProps,Pn=mn.expanded,Wn=mn.rowSupportExpand,yr=C.useState(!1),br=(0,ee.Z)(yr,2),hr=br[0],Or=br[1];C.useEffect(function(){Pn&&Or(!0)},[Pn]);var Mr=C.createElement(Bt,(0,z.Z)({},zn,{"data-row-key":wt,className:U()(ye,"".concat(fn,"-row"),"".concat(fn,"-row-level-").concat(Et),zn==null?void 0:zn.className),style:(0,fe.Z)((0,fe.Z)({},je),zn==null?void 0:zn.style)}),cn.map(function(Nn,fr){var Ir=Nn.render,Vr=Nn.dataIndex,re=Nn.className,l=yt(mn,Nn,fr,Et,nt),d=l.key,h=l.fixedInfo,g=l.appendCellNode,N=l.additionalCellProps;return C.createElement(Nt,(0,z.Z)({className:re,ellipsis:Nn.ellipsis,align:Nn.align,scope:Nn.rowScope,component:Nn.rowScope?Kt:_e,prefixCls:fn,key:d,record:Qe,index:nt,renderIndex:st,dataIndex:Vr,render:Ir,shouldCellUpdate:Nn.shouldCellUpdate},h,{appendNode:g,additionalProps:N}))})),$n;if(Wn&&(hr||Pn)){var pr=On(Qe,nt,Et+1,Pn),Jn=ft&&ft(Qe,nt,Et);$n=C.createElement(tt,{expanded:Pn,className:U()("".concat(fn,"-expanded-row"),"".concat(fn,"-expanded-row-level-").concat(Et+1),Jn),prefixCls:fn,component:Bt,cellComponent:_e,colSpan:cn.length,isEmpty:!1},pr)}return C.createElement(C.Fragment,null,Mr,$n)}St.displayName="BodyRow";var pt=ne(St);function Lt(oe){var ye=oe.columnKey,je=oe.onColumnResize,Qe=C.useRef();return C.useEffect(function(){Qe.current&&je(ye,Qe.current.offsetWidth)},[]),C.createElement(X.Z,{data:ye},C.createElement("td",{ref:Qe,style:{padding:0,border:0,height:0}},C.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function _t(oe){var ye=oe.prefixCls,je=oe.columnsKey,Qe=oe.onColumnResize;return C.createElement("tr",{"aria-hidden":"true",className:"".concat(ye,"-measure-row"),style:{height:0,fontSize:0}},C.createElement(X.Z.Collection,{onBatchResize:function(st){st.forEach(function(wt){var Ct=wt.data,Et=wt.size;Qe(Ct,Et.offsetWidth)})}},je.map(function(nt){return C.createElement(Lt,{key:nt,columnKey:nt,onColumnResize:Qe})})))}function w(oe){var ye=oe.data,je=oe.measureColumnWidth,Qe=I(R,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),nt=Qe.prefixCls,st=Qe.getComponent,wt=Qe.onColumnResize,Ct=Qe.flattenColumns,Et=Qe.getRowKey,Bt=Qe.expandedKeys,_e=Qe.childrenColumnName,Kt=Qe.emptyNode,mn=Te(ye,_e,Bt,Et),fn=C.useRef({renderWithProps:!1}),cn=st(["body","wrapper"],"tbody"),ft=st(["body","row"],"tr"),On=st(["body","cell"],"td"),zn=st(["body","cell"],"th"),Pn;ye.length?Pn=mn.map(function(yr,br){var hr=yr.record,Or=yr.indent,Mr=yr.index,$n=Et(hr,br);return C.createElement(pt,{key:$n,rowKey:$n,record:hr,index:br,renderIndex:Mr,rowComponent:ft,cellComponent:On,scopeCellComponent:zn,getRowKey:Et,indent:Or})}):Pn=C.createElement(tt,{expanded:!0,className:"".concat(nt,"-placeholder"),prefixCls:nt,component:ft,cellComponent:On,colSpan:Ct.length,isEmpty:!0},Kt);var Wn=J(Ct);return C.createElement(v.Provider,{value:fn.current},C.createElement(cn,{className:"".concat(nt,"-tbody")},je&&C.createElement(_t,{prefixCls:nt,columnsKey:Wn,onColumnResize:wt}),Pn))}w.displayName="Body";var D=ne(w),bt=["expandable"],ce="RC_TABLE_INTERNAL_COL_DEFINE";function Me(oe){var ye=oe.expandable,je=(0,ot.Z)(oe,bt),Qe;return"expandable"in oe?Qe=(0,fe.Z)((0,fe.Z)({},je),ye):Qe=je,Qe.showExpandColumn===!1&&(Qe.expandIconColumnIndex=-1),Qe}var pn=["columnType"];function He(oe){for(var ye=oe.colWidths,je=oe.columns,Qe=oe.columCount,nt=[],st=Qe||je.length,wt=!1,Ct=st-1;Ct>=0;Ct-=1){var Et=ye[Ct],Bt=je&&je[Ct],_e=Bt&&Bt[ce];if(Et||_e||wt){var Kt=_e||{},mn=Kt.columnType,fn=(0,ot.Z)(Kt,pn);nt.unshift(C.createElement("col",(0,z.Z)({key:Ct,style:{width:Et}},fn))),wt=!0}}return C.createElement("colgroup",null,nt)}var rt=He,Je=f(26390),Ae=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function De(oe,ye){return(0,C.useMemo)(function(){for(var je=[],Qe=0;Qe<ye;Qe+=1){var nt=oe[Qe];if(nt!==void 0)je[Qe]=nt;else return null}return je},[oe.join("_"),ye])}var ze=C.forwardRef(function(oe,ye){var je=oe.className,Qe=oe.noData,nt=oe.columns,st=oe.flattenColumns,wt=oe.colWidths,Ct=oe.columCount,Et=oe.stickyOffsets,Bt=oe.direction,_e=oe.fixHeader,Kt=oe.stickyTopOffset,mn=oe.stickyBottomOffset,fn=oe.stickyClassName,cn=oe.onScroll,ft=oe.maxContentScroll,On=oe.children,zn=(0,ot.Z)(oe,Ae),Pn=I(R,["prefixCls","scrollbarSize","isSticky"]),Wn=Pn.prefixCls,yr=Pn.scrollbarSize,br=Pn.isSticky,hr=br&&!_e?0:yr,Or=C.useRef(null),Mr=C.useCallback(function(re){(0,S.mH)(ye,re),(0,S.mH)(Or,re)},[]);C.useEffect(function(){var re;function l(d){var h=d,g=h.currentTarget,N=h.deltaX;N&&(cn({currentTarget:g,scrollLeft:g.scrollLeft+N}),d.preventDefault())}return(re=Or.current)===null||re===void 0||re.addEventListener("wheel",l),function(){var d;(d=Or.current)===null||d===void 0||d.removeEventListener("wheel",l)}},[]);var $n=C.useMemo(function(){return st.every(function(re){return re.width})},[st]),pr=st[st.length-1],Jn={fixed:pr?pr.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Wn,"-cell-scrollbar")}}},Nn=(0,C.useMemo)(function(){return hr?[].concat((0,Je.Z)(nt),[Jn]):nt},[hr,nt]),fr=(0,C.useMemo)(function(){return hr?[].concat((0,Je.Z)(st),[Jn]):st},[hr,st]),Ir=(0,C.useMemo)(function(){var re=Et.right,l=Et.left;return(0,fe.Z)((0,fe.Z)({},Et),{},{left:Bt==="rtl"?[].concat((0,Je.Z)(l.map(function(d){return d+hr})),[0]):l,right:Bt==="rtl"?re:[].concat((0,Je.Z)(re.map(function(d){return d+hr})),[0]),isSticky:br})},[hr,Et,br]),Vr=De(wt,Ct);return C.createElement("div",{style:(0,fe.Z)({overflow:"hidden"},br?{top:Kt,bottom:mn}:{}),ref:Mr,className:U()(je,(0,ae.Z)({},fn,!!fn))},C.createElement("table",{style:{tableLayout:"fixed",visibility:Qe||Vr?null:"hidden"}},(!Qe||!ft||$n)&&C.createElement(rt,{colWidths:Vr?[].concat((0,Je.Z)(Vr),[hr]):[],columCount:Ct+1,columns:fr}),On((0,fe.Z)((0,fe.Z)({},zn),{},{stickyOffsets:Ir,columns:Nn,flattenColumns:fr}))))});ze.displayName="FixedHolder";var Xe=C.memo(ze);function ge(oe){var ye=oe.cells,je=oe.stickyOffsets,Qe=oe.flattenColumns,nt=oe.rowComponent,st=oe.cellComponent,wt=oe.tdCellComponent,Ct=oe.onHeaderRow,Et=oe.index,Bt=I(R,["prefixCls","direction"]),_e=Bt.prefixCls,Kt=Bt.direction,mn;Ct&&(mn=Ct(ye.map(function(cn){return cn.column}),Et));var fn=J(ye.map(function(cn){return cn.column}));return C.createElement(nt,mn,ye.map(function(cn,ft){var On=cn.column,zn=qt(cn.colStart,cn.colEnd,Qe,je,Kt,On),Pn;return On&&On.onHeaderCell&&(Pn=cn.column.onHeaderCell(On)),C.createElement(Nt,(0,z.Z)({},cn,{scope:On.title?cn.colSpan>1?"colgroup":"col":null,ellipsis:On.ellipsis,align:On.align,component:On.title?st:wt,prefixCls:_e,key:fn[ft]},zn,{additionalProps:Pn,rowType:"header"}))}))}ge.displayName="HeaderRow";var an=ge;function $e(oe){var ye=[];function je(wt,Ct){var Et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ye[Et]=ye[Et]||[];var Bt=Ct,_e=wt.filter(Boolean).map(function(Kt){var mn={key:Kt.key,className:Kt.className||"",children:Kt.title,column:Kt,colStart:Bt},fn=1,cn=Kt.children;return cn&&cn.length>0&&(fn=je(cn,Bt,Et+1).reduce(function(ft,On){return ft+On},0),mn.hasSubColumns=!0),"colSpan"in Kt&&(fn=Kt.colSpan),"rowSpan"in Kt&&(mn.rowSpan=Kt.rowSpan),mn.colSpan=fn,mn.colEnd=mn.colStart+fn-1,ye[Et].push(mn),Bt+=fn,fn});return _e}je(oe,0);for(var Qe=ye.length,nt=function(Ct){ye[Ct].forEach(function(Et){!("rowSpan"in Et)&&!Et.hasSubColumns&&(Et.rowSpan=Qe-Ct)})},st=0;st<Qe;st+=1)nt(st);return ye}function bn(oe){var ye=oe.stickyOffsets,je=oe.columns,Qe=oe.flattenColumns,nt=oe.onHeaderRow,st=I(R,["prefixCls","getComponent"]),wt=st.prefixCls,Ct=st.getComponent,Et=C.useMemo(function(){return $e(je)},[je]),Bt=Ct(["header","wrapper"],"thead"),_e=Ct(["header","row"],"tr"),Kt=Ct(["header","cell"],"th"),mn=Ct(["header","cell"],"td");return C.createElement(Bt,{className:"".concat(wt,"-thead")},Et.map(function(fn,cn){var ft=C.createElement(an,{key:cn,flattenColumns:Qe,cells:fn,stickyOffsets:ye,rowComponent:_e,cellComponent:Kt,tdCellComponent:mn,onHeaderRow:nt,index:cn});return ft}))}var Tn=ne(bn),Wt=f(38298);function Yt(oe){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof ye=="number"?ye:ye.endsWith("%")?oe*parseFloat(ye)/100:null}function Rt(oe,ye){return C.useMemo(function(){if(ye&&ye>0){var je=0,Qe=0;oe.forEach(function(Bt){var _e=Yt(ye,Bt.width);_e?je+=_e:Qe+=1});var nt=ye-je,st=Qe,wt=nt/Qe,Ct=0,Et=oe.map(function(Bt){var _e=(0,fe.Z)({},Bt),Kt=Yt(ye,_e.width);if(Kt)_e.width=Kt;else{var mn=Math.floor(wt);_e.width=st===1?nt:mn,nt-=mn,st-=1}return Ct+=_e.width,_e});return[Et,Ct]}return[oe,ye]},[oe,ye])}var Ot=["children"],Ge=["fixed"];function xt(oe){return(0,Wt.Z)(oe).filter(function(ye){return C.isValidElement(ye)}).map(function(ye){var je=ye.key,Qe=ye.props,nt=Qe.children,st=(0,ot.Z)(Qe,Ot),wt=(0,fe.Z)({key:je},st);return nt&&(wt.children=xt(nt)),wt})}function At(oe){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return oe.filter(function(je){return je&&(0,me.Z)(je)==="object"}).reduce(function(je,Qe,nt){var st=Qe.fixed,wt=st===!0?"left":st,Ct="".concat(ye,"-").concat(nt),Et=Qe.children;return Et&&Et.length>0?[].concat((0,Je.Z)(je),(0,Je.Z)(At(Et,Ct).map(function(Bt){return(0,fe.Z)({fixed:wt},Bt)}))):[].concat((0,Je.Z)(je),[(0,fe.Z)((0,fe.Z)({key:Ct},Qe),{},{fixed:wt})])},[])}function Ue(oe){for(var ye=!0,je=0;je<oe.length;je+=1){var Qe=oe[je];if(ye&&Qe.fixed!=="left")ye=!1;else if(!ye&&Qe.fixed==="left"){warning(!1,"Index ".concat(je-1," of `columns` missing `fixed='left'` prop."));break}}for(var nt=!0,st=oe.length-1;st>=0;st-=1){var wt=oe[st];if(nt&&wt.fixed!=="right")nt=!1;else if(!nt&&wt.fixed==="right"){warning(!1,"Index ".concat(st+1," of `columns` missing `fixed='right'` prop."));break}}}function Ce(oe){return oe.map(function(ye){var je=ye.fixed,Qe=(0,ot.Z)(ye,Ge),nt=je;return je==="left"?nt="right":je==="right"&&(nt="left"),(0,fe.Z)({fixed:nt},Qe)})}function mt(oe,ye){var je=oe.prefixCls,Qe=oe.columns,nt=oe.children,st=oe.expandable,wt=oe.expandedKeys,Ct=oe.columnTitle,Et=oe.getRowKey,Bt=oe.onTriggerExpand,_e=oe.expandIcon,Kt=oe.rowExpandable,mn=oe.expandIconColumnIndex,fn=oe.direction,cn=oe.expandRowByClick,ft=oe.columnWidth,On=oe.fixed,zn=oe.scrollWidth,Pn=C.useMemo(function(){return Qe||xt(nt)},[Qe,nt]),Wn=C.useMemo(function(){if(st){var pr,Jn=Pn.slice();if(!Jn.includes(y)){var Nn=mn||0;Nn>=0&&Jn.splice(Nn,0,y)}var fr=Jn.indexOf(y);Jn=Jn.filter(function(l,d){return l!==y||d===fr});var Ir=Pn[fr],Vr;(On==="left"||On)&&!mn?Vr="left":(On==="right"||On)&&mn===Pn.length?Vr="right":Vr=Ir?Ir.fixed:null;var re=(pr={},(0,ae.Z)(pr,ce,{className:"".concat(je,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,ae.Z)(pr,"title",Ct),(0,ae.Z)(pr,"fixed",Vr),(0,ae.Z)(pr,"className","".concat(je,"-row-expand-icon-cell")),(0,ae.Z)(pr,"width",ft),(0,ae.Z)(pr,"render",function(d,h,g){var N=Et(h,g),le=wt.has(N),Ne=Kt?Kt(h):!0,Be=_e({prefixCls:je,expanded:le,expandable:Ne,record:h,onExpand:Bt});return cn?C.createElement("span",{onClick:function(vt){return vt.stopPropagation()}},Be):Be}),pr);return Jn.map(function(l){return l===y?re:l})}return Pn.filter(function(l){return l!==y})},[st,Pn,Et,wt,_e,fn]),yr=C.useMemo(function(){var pr=Wn;return ye&&(pr=ye(pr)),pr.length||(pr=[{render:function(){return null}}]),pr},[ye,Wn,fn]),br=C.useMemo(function(){return fn==="rtl"?Ce(At(yr)):At(yr)},[yr,fn,zn]),hr=Rt(br,zn),Or=(0,ee.Z)(hr,2),Mr=Or[0],$n=Or[1];return[yr,Mr,$n]}var lt=mt;function Pt(oe){var ye,je=oe.prefixCls,Qe=oe.record,nt=oe.onExpand,st=oe.expanded,wt=oe.expandable,Ct="".concat(je,"-row-expand-icon");if(!wt)return C.createElement("span",{className:U()(Ct,"".concat(je,"-row-spaced"))});var Et=function(_e){nt(Qe,_e),_e.stopPropagation()};return C.createElement("span",{className:U()(Ct,(ye={},(0,ae.Z)(ye,"".concat(je,"-row-expanded"),st),(0,ae.Z)(ye,"".concat(je,"-row-collapsed"),!st),ye)),onClick:Et})}function Ht(oe,ye,je){var Qe=[];function nt(st){(st||[]).forEach(function(wt,Ct){Qe.push(ye(wt,Ct)),nt(wt[je])})}return nt(oe),Qe}function tn(oe,ye,je){var Qe=Me(oe),nt=Qe.expandIcon,st=Qe.expandedRowKeys,wt=Qe.defaultExpandedRowKeys,Ct=Qe.defaultExpandAllRows,Et=Qe.expandedRowRender,Bt=Qe.onExpand,_e=Qe.onExpandedRowsChange,Kt=Qe.childrenColumnName,mn=nt||Pt,fn=Kt||"children",cn=C.useMemo(function(){return Et?"row":oe.expandable&&oe.internalHooks===L&&oe.expandable.__PARENT_RENDER_ICON__||ye.some(function(br){return br&&(0,me.Z)(br)==="object"&&br[fn]})?"nest":!1},[!!Et,ye]),ft=C.useState(function(){return wt||(Ct?Ht(ye,je,fn):[])}),On=(0,ee.Z)(ft,2),zn=On[0],Pn=On[1],Wn=C.useMemo(function(){return new Set(st||zn||[])},[st,zn]),yr=C.useCallback(function(br){var hr=je(br,ye.indexOf(br)),Or,Mr=Wn.has(hr);Mr?(Wn.delete(hr),Or=(0,Je.Z)(Wn)):Or=[].concat((0,Je.Z)(Wn),[hr]),Pn(Or),Bt&&Bt(!Mr,br),_e&&_e(Or)},[je,Wn,ye,Bt,_e]);return[Qe,cn,Wn,mn,fn,yr]}function Ut(oe,ye,je,Qe){var nt=oe.map(function(st,wt){return qt(wt,wt,oe,ye,je,Qe==null?void 0:Qe[wt])});return(0,pe.Z)(function(){return nt},[nt],function(st,wt){return!(0,q.Z)(st,wt)})}function sn(oe){var ye=(0,C.useRef)(oe),je=(0,C.useState)({}),Qe=(0,ee.Z)(je,2),nt=Qe[1],st=(0,C.useRef)(null),wt=(0,C.useRef)([]);function Ct(Et){wt.current.push(Et);var Bt=Promise.resolve();st.current=Bt,Bt.then(function(){if(st.current===Bt){var _e=wt.current,Kt=ye.current;wt.current=[],_e.forEach(function(mn){ye.current=mn(ye.current)}),st.current=null,Kt!==ye.current&&nt({})}})}return(0,C.useEffect)(function(){return function(){st.current=null}},[]),[ye.current,Ct]}function dn(oe){var ye=(0,C.useRef)(oe||null),je=(0,C.useRef)();function Qe(){window.clearTimeout(je.current)}function nt(wt){ye.current=wt,Qe(),je.current=window.setTimeout(function(){ye.current=null,je.current=void 0},100)}function st(){return ye.current}return(0,C.useEffect)(function(){return Qe},[]),[nt,st]}function Mt(){var oe=C.useState(-1),ye=(0,ee.Z)(oe,2),je=ye[0],Qe=ye[1],nt=C.useState(-1),st=(0,ee.Z)(nt,2),wt=st[0],Ct=st[1],Et=C.useCallback(function(Bt,_e){Qe(Bt),Ct(_e)},[]);return[je,wt,Et]}var It=f(87746),un=(0,It.Z)()?window:null;function ln(oe,ye){var je=(0,me.Z)(oe)==="object"?oe:{},Qe=je.offsetHeader,nt=Qe===void 0?0:Qe,st=je.offsetSummary,wt=st===void 0?0:st,Ct=je.offsetScroll,Et=Ct===void 0?0:Ct,Bt=je.getContainer,_e=Bt===void 0?function(){return un}:Bt,Kt=_e()||un;return C.useMemo(function(){var mn=!!oe;return{isSticky:mn,stickyClassName:mn?"".concat(ye,"-sticky-holder"):"",offsetHeader:nt,offsetSummary:wt,offsetScroll:Et,container:Kt}},[Et,nt,wt,ye,Kt])}function hn(oe,ye,je){var Qe=(0,C.useMemo)(function(){for(var nt=[],st=[],wt=0,Ct=0,Et=0;Et<ye;Et+=1)if(je==="rtl"){st[Et]=Ct,Ct+=oe[Et]||0;var Bt=ye-Et-1;nt[Bt]=wt,wt+=oe[Bt]||0}else{nt[Et]=wt,wt+=oe[Et]||0;var _e=ye-Et-1;st[_e]=Ct,Ct+=oe[_e]||0}return{left:nt,right:st}},[oe,ye,je]);return Qe}var _n=hn;function ir(oe){var ye=oe.className,je=oe.children;return C.createElement("div",{className:ye},je)}var Bn=ir,rn=f(8178),dt=f(21783),gt=function(ye,je){var Qe,nt,st=ye.scrollBodyRef,wt=ye.onScroll,Ct=ye.offsetScroll,Et=ye.container,Bt=I(R,"prefixCls"),_e=((Qe=st.current)===null||Qe===void 0?void 0:Qe.scrollWidth)||0,Kt=((nt=st.current)===null||nt===void 0?void 0:nt.clientWidth)||0,mn=_e&&Kt*(Kt/_e),fn=C.useRef(),cn=sn({scrollLeft:0,isHiddenScrollBar:!1}),ft=(0,ee.Z)(cn,2),On=ft[0],zn=ft[1],Pn=C.useRef({delta:0,x:0}),Wn=C.useState(!1),yr=(0,ee.Z)(Wn,2),br=yr[0],hr=yr[1],Or=function(){hr(!1)},Mr=function(fr){fr.persist(),Pn.current.delta=fr.pageX-On.scrollLeft,Pn.current.x=0,hr(!0),fr.preventDefault()},$n=function(fr){var Ir,Vr=fr||((Ir=window)===null||Ir===void 0?void 0:Ir.event),re=Vr.buttons;if(!br||re===0){br&&hr(!1);return}var l=Pn.current.x+fr.pageX-Pn.current.x-Pn.current.delta;l<=0&&(l=0),l+mn>=Kt&&(l=Kt-mn),wt({scrollLeft:l/Kt*(_e+2)}),Pn.current.x=fr.pageX},pr=function(){if(st.current){var fr=(0,dt.os)(st.current).top,Ir=fr+st.current.offsetHeight,Vr=Et===window?document.documentElement.scrollTop+window.innerHeight:(0,dt.os)(Et).top+Et.clientHeight;Ir-(0,we.Z)()<=Vr||fr>=Vr-Ct?zn(function(re){return(0,fe.Z)((0,fe.Z)({},re),{},{isHiddenScrollBar:!0})}):zn(function(re){return(0,fe.Z)((0,fe.Z)({},re),{},{isHiddenScrollBar:!1})})}},Jn=function(fr){zn(function(Ir){return(0,fe.Z)((0,fe.Z)({},Ir),{},{scrollLeft:fr/_e*Kt||0})})};return C.useImperativeHandle(je,function(){return{setScrollLeft:Jn}}),C.useEffect(function(){var Nn=(0,rn.Z)(document.body,"mouseup",Or,!1),fr=(0,rn.Z)(document.body,"mousemove",$n,!1);return pr(),function(){Nn.remove(),fr.remove()}},[mn,br]),C.useEffect(function(){var Nn=(0,rn.Z)(Et,"scroll",pr,!1),fr=(0,rn.Z)(window,"resize",pr,!1);return function(){Nn.remove(),fr.remove()}},[Et]),C.useEffect(function(){On.isHiddenScrollBar||zn(function(Nn){var fr=st.current;return fr?(0,fe.Z)((0,fe.Z)({},Nn),{},{scrollLeft:fr.scrollLeft/fr.scrollWidth*fr.clientWidth}):Nn})},[On.isHiddenScrollBar]),_e<=Kt||!mn||On.isHiddenScrollBar?null:C.createElement("div",{style:{height:(0,we.Z)(),width:Kt,bottom:Ct},className:"".concat(Bt,"-sticky-scroll")},C.createElement("div",{onMouseDown:Mr,ref:fn,className:U()("".concat(Bt,"-sticky-scroll-bar"),(0,ae.Z)({},"".concat(Bt,"-sticky-scroll-bar-active"),br)),style:{width:"".concat(mn,"px"),transform:"translate3d(".concat(On.scrollLeft,"px, 0, 0)")}}))},kt=C.forwardRef(gt);function Vt(oe){return null}var Ft=Vt;function Qt(oe){return null}var Gt=Qt,vn="rc-table",En=[],Fn={};function tr(){return"No Data"}function Xn(oe){var ye,je=(0,fe.Z)({rowKey:"key",prefixCls:vn,emptyText:tr},oe),Qe=je.prefixCls,nt=je.className,st=je.rowClassName,wt=je.style,Ct=je.data,Et=je.rowKey,Bt=je.scroll,_e=je.tableLayout,Kt=je.direction,mn=je.title,fn=je.footer,cn=je.summary,ft=je.caption,On=je.id,zn=je.showHeader,Pn=je.components,Wn=je.emptyText,yr=je.onRow,br=je.onHeaderRow,hr=je.internalHooks,Or=je.transformColumns,Mr=je.internalRefs,$n=je.tailor,pr=je.sticky,Jn=Ct||En,Nn=!!Jn.length,fr=hr===L,Ir=C.useCallback(function(fi,zi){return(0,Q.Z)(Pn,fi)||zi},[Pn]),Vr=C.useMemo(function(){return typeof Et=="function"?Et:function(fi){var zi=fi&&fi[Et];return zi}},[Et]),re=Ir(["body"]),l=Mt(),d=(0,ee.Z)(l,3),h=d[0],g=d[1],N=d[2],le=tn(je,Jn,Vr),Ne=(0,ee.Z)(le,6),Be=Ne[0],qe=Ne[1],vt=Ne[2],Tt=Ne[3],Jt=Ne[4],Sn=Ne[5],Xt=Bt==null?void 0:Bt.x,on=C.useState(0),gn=(0,ee.Z)(on,2),An=gn[0],rr=gn[1],In=lt((0,fe.Z)((0,fe.Z)((0,fe.Z)({},je),Be),{},{expandable:!!Be.expandedRowRender,columnTitle:Be.columnTitle,expandedKeys:vt,getRowKey:Vr,onTriggerExpand:Sn,expandIcon:Tt,expandIconColumnIndex:Be.expandIconColumnIndex,direction:Kt,scrollWidth:fr&&$n&&typeof Xt=="number"?Xt:null}),fr?Or:null),or=(0,ee.Z)(In,3),_r=or[0],wr=or[1],ri=or[2],ii=ri!=null?ri:Xt,Wi=C.useMemo(function(){return{columns:_r,flattenColumns:wr}},[_r,wr]),ui=C.useRef(),ai=C.useRef(),bi=C.useRef(),qi=C.useRef(),Sa=C.useRef(),Hr=C.useState(!1),qr=(0,ee.Z)(Hr,2),Qr=qr[0],Ri=qr[1],ea=C.useState(!1),Wr=(0,ee.Z)(ea,2),ra=Wr[0],ta=Wr[1],xa=sn(new Map),Ma=(0,ee.Z)(xa,2),Aa=Ma[0],Ss=Ma[1],Xa=J(wr),Na=Xa.map(function(fi){return Aa.get(fi)}),ha=C.useMemo(function(){return Na},[Na.join("_")]),pa=_n(ha,wr.length,Kt),$i=Bt&&Le(Bt.y),Ai=Bt&&Le(ii)||!!Be.fixed,rs=Ai&&wr.some(function(fi){var zi=fi.fixed;return zi}),Fs=C.useRef(),es=ln(pr,Qe),$a=es.isSticky,io=es.offsetHeader,ao=es.offsetSummary,di=es.offsetScroll,Oi=es.stickyClassName,ma=es.container,Ui=C.useMemo(function(){return cn==null?void 0:cn(Jn)},[cn,Jn]),Da=($i||$a)&&C.isValidElement(Ui)&&Ui.type===O&&Ui.props.fixed,Pa,Ka,gs;$i&&(Ka={overflowY:"scroll",maxHeight:Bt.y}),Ai&&(Pa={overflowX:"auto"},$i||(Ka={overflowY:"hidden"}),gs={width:ii===!0?"auto":ii,minWidth:"100%"});var so=C.useCallback(function(fi,zi){(0,G.Z)(ui.current)&&Ss(function(Ya){if(Ya.get(fi)!==zi){var Es=new Map(Ya);return Es.set(fi,zi),Es}return Ya})},[]),qo=dn(null),oo=(0,ee.Z)(qo,2),wo=oo[0],Bo=oo[1];function lo(fi,zi){zi&&(typeof zi=="function"?zi(fi):zi.scrollLeft!==fi&&(zi.scrollLeft=fi,zi.scrollLeft!==fi&&setTimeout(function(){zi.scrollLeft=fi},0)))}var xs=(0,Ee.Z)(function(fi){var zi=fi.currentTarget,Ya=fi.scrollLeft,Es=Kt==="rtl",_s=typeof Ya=="number"?Ya:zi.scrollLeft,Fo=zi||Fn;if(!Bo()||Bo()===Fo){var Io;wo(Fo),lo(_s,ai.current),lo(_s,bi.current),lo(_s,Sa.current),lo(_s,(Io=Fs.current)===null||Io===void 0?void 0:Io.setScrollLeft)}var ko=zi||ai.current;if(ko){var Oo=ko.scrollWidth,Lo=ko.clientWidth;if(Oo===Lo){Ri(!1),ta(!1);return}Es?(Ri(-_s<Oo-Lo),ta(-_s>0)):(Ri(_s>0),ta(_s<Oo-Lo))}}),Co=function(){Ai&&bi.current?xs({currentTarget:bi.current}):(Ri(!1),ta(!1))},Mo=function(zi){var Ya=zi.width;Ya!==An&&(Co(),rr(ui.current?ui.current.offsetWidth:Ya))},Ko=C.useRef(!1);C.useEffect(function(){Ko.current&&Co()},[Ai,Ct,_r.length]),C.useEffect(function(){Ko.current=!0},[]);var zo=C.useState(0),Ho=(0,ee.Z)(zo,2),Bs=Ho[0],Ro=Ho[1],jo=C.useState(!0),Wo=(0,ee.Z)(jo,2),uo=Wo[0],Vo=Wo[1];C.useEffect(function(){(!$n||!fr)&&(bi.current instanceof Element?Ro((0,we.o)(bi.current).width):Ro((0,we.o)(qi.current).width)),Vo((0,K.G)("position","sticky"))},[]),C.useEffect(function(){fr&&Mr&&(Mr.body.current=bi.current)});var To=C.useCallback(function(fi){return C.createElement(C.Fragment,null,C.createElement(Tn,fi),Da==="top"&&C.createElement(k,fi,Ui))},[Da,Ui]),Xo=C.useCallback(function(fi){return C.createElement(k,fi,Ui)},[Ui]),Go=Ir(["table"],"table"),co=C.useMemo(function(){return _e||(rs?ii==="max-content"?"auto":"fixed":$i||$a||wr.some(function(fi){var zi=fi.ellipsis;return zi})?"fixed":"auto")},[$i,rs,wr,_e,$a]),fo,ho={colWidths:ha,columCount:wr.length,stickyOffsets:pa,onHeaderRow:br,fixHeader:$i,scroll:Bt},Zo=C.useMemo(function(){return Nn?null:typeof Wn=="function"?Wn():Wn},[Nn,Wn]),Do=C.createElement(D,{data:Jn,measureColumnWidth:$i||Ai||$a}),po=C.createElement(rt,{colWidths:wr.map(function(fi){var zi=fi.width;return zi}),columns:wr}),$o=ft!=null?C.createElement("caption",{className:"".concat(Qe,"-caption")},ft):void 0,mo=(0,Ke.Z)(je,{data:!0}),Is=(0,Ke.Z)(je,{aria:!0});if($i||$a){var ja;typeof re=="function"?(ja=re(Jn,{scrollbarSize:Bs,ref:bi,onScroll:xs}),ho.colWidths=wr.map(function(fi,zi){var Ya=fi.width,Es=zi===wr.length-1?Ya-Bs:Ya;return typeof Es=="number"&&!Number.isNaN(Es)?Es:0})):ja=C.createElement("div",{style:(0,fe.Z)((0,fe.Z)({},Pa),Ka),onScroll:xs,ref:bi,className:U()("".concat(Qe,"-body"))},C.createElement(Go,(0,z.Z)({style:(0,fe.Z)((0,fe.Z)({},gs),{},{tableLayout:co})},Is),$o,po,Do,!Da&&Ui&&C.createElement(k,{stickyOffsets:pa,flattenColumns:wr,columns:_r},Ui)));var Fa=(0,fe.Z)((0,fe.Z)((0,fe.Z)({noData:!Jn.length,maxContentScroll:Ai&&ii==="max-content"},ho),Wi),{},{direction:Kt,stickyClassName:Oi,onScroll:xs});fo=C.createElement(C.Fragment,null,zn!==!1&&C.createElement(Xe,(0,z.Z)({},Fa,{stickyTopOffset:io,className:"".concat(Qe,"-header"),ref:ai}),To),ja,Da&&Da!=="top"&&C.createElement(Xe,(0,z.Z)({},Fa,{stickyBottomOffset:ao,className:"".concat(Qe,"-summary"),ref:Sa}),Xo),$a&&C.createElement(kt,{ref:Fs,offsetScroll:di,scrollBodyRef:bi,onScroll:xs,container:ma}))}else fo=C.createElement("div",{style:(0,fe.Z)((0,fe.Z)({},Pa),Ka),className:U()("".concat(Qe,"-content")),onScroll:xs,ref:bi},C.createElement(Go,(0,z.Z)({style:(0,fe.Z)((0,fe.Z)({},gs),{},{tableLayout:co})},Is),$o,po,zn!==!1&&C.createElement(Tn,(0,z.Z)({},ho,Wi)),Do,Ui&&C.createElement(k,{stickyOffsets:pa,flattenColumns:wr,columns:_r},Ui)));var $s=C.createElement("div",(0,z.Z)({className:U()(Qe,nt,(ye={},(0,ae.Z)(ye,"".concat(Qe,"-rtl"),Kt==="rtl"),(0,ae.Z)(ye,"".concat(Qe,"-ping-left"),Qr),(0,ae.Z)(ye,"".concat(Qe,"-ping-right"),ra),(0,ae.Z)(ye,"".concat(Qe,"-layout-fixed"),_e==="fixed"),(0,ae.Z)(ye,"".concat(Qe,"-fixed-header"),$i),(0,ae.Z)(ye,"".concat(Qe,"-fixed-column"),rs),(0,ae.Z)(ye,"".concat(Qe,"-scroll-horizontal"),Ai),(0,ae.Z)(ye,"".concat(Qe,"-has-fix-left"),wr[0]&&wr[0].fixed),(0,ae.Z)(ye,"".concat(Qe,"-has-fix-right"),wr[wr.length-1]&&wr[wr.length-1].fixed==="right"),ye)),style:wt,id:On,ref:ui},mo),mn&&C.createElement(Bn,{className:"".concat(Qe,"-title")},mn(Jn)),C.createElement("div",{ref:qi,className:"".concat(Qe,"-container")},fo),fn&&C.createElement(Bn,{className:"".concat(Qe,"-footer")},fn(Jn)));Ai&&($s=C.createElement(X.Z,{onResize:Mo},$s));var As=Ut(wr,pa,Kt,_r),el=C.useMemo(function(){return{scrollX:ii,prefixCls:Qe,getComponent:Ir,scrollbarSize:Bs,direction:Kt,fixedInfoList:As,isSticky:$a,supportSticky:uo,componentWidth:An,fixHeader:$i,fixColumn:rs,horizonScroll:Ai,tableLayout:co,rowClassName:st,expandedRowClassName:Be.expandedRowClassName,expandIcon:Tt,expandableType:qe,expandRowByClick:Be.expandRowByClick,expandedRowRender:Be.expandedRowRender,onTriggerExpand:Sn,expandIconColumnIndex:Be.expandIconColumnIndex,indentSize:Be.indentSize,allColumnsFixedLeft:wr.every(function(fi){return fi.fixed==="left"}),emptyNode:Zo,columns:_r,flattenColumns:wr,onColumnResize:so,hoverStartRow:h,hoverEndRow:g,onHover:N,rowExpandable:Be.rowExpandable,onRow:yr,getRowKey:Vr,expandedKeys:vt,childrenColumnName:Jt}},[ii,Qe,Ir,Bs,Kt,As,$a,uo,An,$i,rs,Ai,co,st,Be.expandedRowClassName,Tt,qe,Be.expandRowByClick,Be.expandedRowRender,Sn,Be.expandIconColumnIndex,Be.indentSize,Zo,_r,wr,so,h,g,N,Be.rowExpandable,yr,Vr,vt,Jt]);return C.createElement(R.Provider,{value:el},$s)}function ar(oe){return W(Xn,oe)}var Dn=ar();Dn.EXPAND_COLUMN=y,Dn.INTERNAL_HOOKS=L,Dn.Column=Ft,Dn.ColumnGroup=Gt,Dn.Summary=E;var wn=Dn,gr=f(21881),Gn=a(null),Cr=a(null);function er(oe,ye,je){var Qe=ye||1;return je[oe+Qe]-(je[oe]||0)}function mr(oe){var ye=oe.rowInfo,je=oe.column,Qe=oe.colIndex,nt=oe.indent,st=oe.index,wt=oe.renderIndex,Ct=oe.record,Et=oe.style,Bt=oe.className,_e=oe.inverse,Kt=oe.getHeight,mn=je.render,fn=je.dataIndex,cn=je.className,ft=je.width,On=I(Cr,["columnsOffset"]),zn=On.columnsOffset,Pn=yt(ye,je,Qe,nt,st),Wn=Pn.key,yr=Pn.fixedInfo,br=Pn.appendCellNode,hr=Pn.additionalCellProps,Or=hr.style,Mr=hr.colSpan,$n=Mr===void 0?1:Mr,pr=hr.rowSpan,Jn=pr===void 0?1:pr,Nn=Qe-1,fr=er(Nn,$n,zn),Ir=$n>1?ft-fr:0,Vr=(0,fe.Z)((0,fe.Z)((0,fe.Z)({},Or),Et),{},{flex:"0 0 ".concat(fr,"px"),width:"".concat(fr,"px"),marginRight:Ir,pointerEvents:"auto"}),re=C.useMemo(function(){return _e?Jn<=1:$n===0||Jn===0||Jn>1},[Jn,$n,_e]);re?Vr.visibility="hidden":_e&&(Vr.height=Kt==null?void 0:Kt(Jn));var l=re?function(){return null}:mn,d={};return(Jn===0||$n===0)&&(d.rowSpan=1,d.colSpan=1),C.createElement(Nt,(0,z.Z)({className:U()(cn,Bt),ellipsis:je.ellipsis,align:je.align,scope:je.rowScope,component:"div",prefixCls:ye.prefixCls,key:Wn,record:Ct,index:st,renderIndex:wt,dataIndex:fn,render:l,shouldCellUpdate:je.shouldCellUpdate},yr,{appendNode:br,additionalProps:(0,fe.Z)((0,fe.Z)({},hr),{},{style:Vr},d)}))}var Sr=mr,nr=["data","index","className","rowKey","style","extra","getHeight"],kr=C.forwardRef(function(oe,ye){var je=oe.data,Qe=oe.index,nt=oe.className,st=oe.rowKey,wt=oe.style,Ct=oe.extra,Et=oe.getHeight,Bt=(0,ot.Z)(oe,nr),_e=je.record,Kt=je.indent,mn=je.index,fn=I(R,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),cn=fn.scrollX,ft=fn.flattenColumns,On=fn.prefixCls,zn=fn.fixColumn,Pn=fn.componentWidth,Wn=We(_e,st,Qe,Kt),yr=Wn.rowSupportExpand,br=Wn.expanded,hr=Wn.rowProps,Or=Wn.expandedRowRender,Mr=Wn.expandedRowClassName,$n;if(yr&&br){var pr=Or(_e,Qe,Kt+1,br),Jn=Mr==null?void 0:Mr(_e,Qe,Kt),Nn={};zn&&(Nn={style:(0,ae.Z)({},"--virtual-width","".concat(Pn,"px"))});var fr="".concat(On,"-expanded-row-cell");$n=C.createElement("div",{className:U()("".concat(On,"-expanded-row"),"".concat(On,"-expanded-row-level-").concat(Kt+1),Jn)},C.createElement(Nt,{component:"div",prefixCls:On,className:U()(fr,(0,ae.Z)({},"".concat(fr,"-fixed"),zn)),additionalProps:Nn},pr))}var Ir=(0,fe.Z)((0,fe.Z)({},wt),{},{width:cn});Ct&&(Ir.position="absolute",Ir.pointerEvents="none");var Vr=C.createElement("div",(0,z.Z)({},hr,Bt,{ref:yr?null:ye,className:U()(nt,"".concat(On,"-row"),hr==null?void 0:hr.className,(0,ae.Z)({},"".concat(On,"-row-extra"),Ct)),style:(0,fe.Z)((0,fe.Z)({},Ir),hr==null?void 0:hr.style)}),ft.map(function(re,l){return C.createElement(Sr,{key:l,rowInfo:Wn,column:re,colIndex:l,indent:Kt,index:Qe,renderIndex:mn,record:_e,inverse:Ct,getHeight:Et})}));return yr?C.createElement("div",{ref:ye},Vr,$n):Vr}),Jr=ne(kr),Qn=Jr,Cn=C.forwardRef(function(oe,ye){var je=oe.data,Qe=oe.onScroll,nt=I(R,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),st=nt.flattenColumns,wt=nt.onColumnResize,Ct=nt.getRowKey,Et=nt.expandedKeys,Bt=nt.prefixCls,_e=nt.childrenColumnName,Kt=nt.emptyNode,mn=nt.scrollX,fn=I(Gn),cn=fn.scrollY,ft=fn.listItemHeight,On=C.useRef(),zn=Te(je,_e,Et,Ct),Pn=C.useMemo(function(){var $n=0;return st.map(function(pr){var Jn=pr.width,Nn=pr.key;return $n+=Jn,[Nn,Jn,$n]})},[st]),Wn=C.useMemo(function(){return Pn.map(function($n){return $n[2]})},[Pn]);C.useEffect(function(){Pn.forEach(function($n){var pr=(0,ee.Z)($n,2),Jn=pr[0],Nn=pr[1];wt(Jn,Nn)})},[Pn]),C.useImperativeHandle(ye,function(){var $n={};return Object.defineProperty($n,"scrollLeft",{get:function(){var Jn;return((Jn=On.current)===null||Jn===void 0?void 0:Jn.getScrollInfo().x)||0},set:function(Jn){var Nn;(Nn=On.current)===null||Nn===void 0||Nn.scrollTo({left:Jn})}}),$n});var yr=function(pr,Jn){var Nn,fr=(Nn=zn[Jn])===null||Nn===void 0?void 0:Nn.record,Ir=pr.onCell;if(Ir){var Vr,re=Ir(fr,Jn);return(Vr=re==null?void 0:re.rowSpan)!==null&&Vr!==void 0?Vr:1}return 1},br=function(pr){var Jn=pr.start,Nn=pr.end,fr=pr.getSize,Ir=pr.offsetY;if(Nn<0)return null;for(var Vr=st.filter(function(Xt){return yr(Xt,Jn)===0}),re=Jn,l=function(on){if(Vr=Vr.filter(function(gn){return yr(gn,on)===0}),!Vr.length)return re=on,"break"},d=Jn;d>=0;d-=1){var h=l(d);if(h==="break")break}for(var g=st.filter(function(Xt){return yr(Xt,Nn)!==1}),N=Nn,le=function(on){if(g=g.filter(function(gn){return yr(gn,on)!==1}),!g.length)return N=Math.max(on-1,Nn),"break"},Ne=Nn;Ne<zn.length;Ne+=1){var Be=le(Ne);if(Be==="break")break}for(var qe=[],vt=function(on){var gn=zn[on];if(!gn)return"continue";st.some(function(An){return yr(An,on)>1})&&qe.push(on)},Tt=re;Tt<=N;Tt+=1)var Jt=vt(Tt);var Sn=qe.map(function(Xt){var on=zn[Xt],gn=Ct(on.record,Xt),An=function(or){var _r=Xt+or-1,wr=Ct(zn[_r].record,_r),ri=fr(gn,wr);return ri.bottom-ri.top},rr=fr(gn);return C.createElement(Qn,{key:Xt,data:on,rowKey:gn,index:Xt,style:{top:-Ir+rr.top},extra:!0,getHeight:An})});return Sn},hr=C.useMemo(function(){return{columnsOffset:Wn}},[Wn]),Or="".concat(Bt,"-tbody"),Mr;return zn.length?Mr=C.createElement(gr.Z,{fullHeight:!1,ref:On,className:U()(Or,"".concat(Or,"-virtual")),height:cn,itemHeight:ft||24,data:zn,itemKey:function(pr){return Ct(pr.record)},scrollWidth:mn,onVirtualScroll:function(pr){var Jn=pr.x;Qe({scrollLeft:Jn})},extraRender:br},function($n,pr,Jn){var Nn=Ct($n.record,pr);return C.createElement(Qn,(0,z.Z)({data:$n,rowKey:Nn,index:pr},Jn))}):Mr=C.createElement("div",{className:U()("".concat(Bt,"-placeholder"))},C.createElement(Nt,{component:"div",prefixCls:Bt},Kt)),C.createElement(Cr.Provider,{value:hr},Mr)}),at=ne(Cn),Kn=at,lr=function(ye,je){var Qe=je.ref,nt=je.onScroll;return C.createElement(Kn,{ref:Qe,data:ye,onScroll:nt})},Rr=100;function Tr(oe){var ye=oe.columns,je=oe.scroll,Qe=oe.prefixCls,nt=Qe===void 0?vn:Qe,st=oe.className,wt=oe.listItemHeight,Ct=je||{},Et=Ct.x,Bt=Ct.y;typeof Et!="number"&&(Et=((ye||[]).length+1)*Rr),typeof Bt!="number"&&(Bt=500);var _e=C.useMemo(function(){return{scrollY:Bt,listItemHeight:wt}},[Bt,wt]);return C.createElement(Gn.Provider,{value:_e},C.createElement(wn,(0,z.Z)({},oe,{className:U()(st,"".concat(nt,"-virtual")),scroll:(0,fe.Z)((0,fe.Z)({},je),{},{x:Et}),components:{body:lr},columns:ye,internalHooks:L,tailor:!0})))}function Pr(oe){return W(Tr,oe)}var Ur=Pr(),vr=null;function Hn(oe){return null}var Mn=Hn;function jn(oe){return null}var Er=jn,Nr=f(64002),hi=f(68031),Ei=f(36355),Vn=f(93891),Zr=f(19716),jr=f(8628),ni=f(31724),ji=f(25700),Ii=f(71418),Xr=f(88088);function gi(oe){return function(je){let{prefixCls:Qe,onExpand:nt,record:st,expanded:wt,expandable:Ct}=je;const Et=`${Qe}-row-expand-icon`;return C.createElement("button",{type:"button",onClick:Bt=>{nt(st,Bt),Bt.stopPropagation()},className:U()(Et,{[`${Et}-spaced`]:!Ct,[`${Et}-expanded`]:Ct&&wt,[`${Et}-collapsed`]:Ct&&!wt}),"aria-label":wt?oe.collapse:oe.expand,"aria-expanded":wt})}}var oi=gi;function Ti(oe,ye){return"key"in oe&&oe.key!==void 0&&oe.key!==null?oe.key:oe.dataIndex?Array.isArray(oe.dataIndex)?oe.dataIndex.join("."):oe.dataIndex:ye}function Di(oe,ye){return ye?`${ye}-${oe}`:`${oe}`}function Vi(oe,ye){return typeof oe=="function"?oe(ye):oe}function Ci(oe,ye){const je=Vi(oe,ye);return Object.prototype.toString.call(je)==="[object Object]"?"":je}var Zi={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"},Kr=Zi,aa=f(88853),ga=function(ye,je){return C.createElement(aa.Z,(0,z.Z)({},ye,{ref:je,icon:Kr}))},ua=C.forwardRef(ga),vi=ua,ca=f(56762);function Ea(oe){const ye=C.useRef(oe),je=(0,ca.Z)();return[()=>ye.current,Qe=>{ye.current=Qe,je()}]}var Ln=f(3113),Li=f(24905),na=f(38854),ur=f(64165),xr=f(20834),cr=f(40875),Zn=f(5112),Br=f(86914),$r=f(21970),Ni=f(92832);function yi(oe){let{value:ye,onChange:je,filterSearch:Qe,tablePrefixCls:nt,locale:st}=oe;return Qe?C.createElement("div",{className:`${nt}-filter-dropdown-search`},C.createElement(Ni.default,{prefix:C.createElement($r.Z,null),placeholder:st.filterSearchPlaceholder,onChange:je,value:ye,htmlSize:1,className:`${nt}-filter-dropdown-search-input`})):null}var Fi=yi,Pi=f(85108);const va=oe=>{const{keyCode:ye}=oe;ye===Pi.Z.ENTER&&oe.stopPropagation()};var Wa=C.forwardRef((oe,ye)=>C.createElement("div",{className:oe.className,onClick:je=>je.stopPropagation(),onKeyDown:va,ref:ye},oe.children));function da(oe){let ye=[];return(oe||[]).forEach(je=>{let{value:Qe,children:nt}=je;ye.push(Qe),nt&&(ye=[].concat((0,Je.Z)(ye),(0,Je.Z)(da(nt))))}),ye}function fa(oe){return oe.some(ye=>{let{children:je}=ye;return je})}function dr(oe,ye){return typeof ye=="string"||typeof ye=="number"?ye==null?void 0:ye.toString().toLowerCase().includes(oe.trim().toLowerCase()):!1}function sr(oe){let{filters:ye,prefixCls:je,filteredKeys:Qe,filterMultiple:nt,searchValue:st,filterSearch:wt}=oe;return ye.map((Ct,Et)=>{const Bt=String(Ct.value);if(Ct.children)return{key:Bt||Et,label:Ct.text,popupClassName:`${je}-dropdown-submenu`,children:sr({filters:Ct.children,prefixCls:je,filteredKeys:Qe,filterMultiple:nt,searchValue:st,filterSearch:wt})};const _e=nt?Li.default:Zn.ZP,Kt={key:Ct.value!==void 0?Bt:Et,label:C.createElement(C.Fragment,null,C.createElement(_e,{checked:Qe.includes(Bt)}),C.createElement("span",null,Ct.text))};return st.trim()?typeof wt=="function"?wt(st,Ct)?Kt:null:dr(st,Ct.text)?Kt:null:Kt})}function Yr(oe){var ye,je;const{tablePrefixCls:Qe,prefixCls:nt,column:st,dropdownPrefixCls:wt,columnKey:Ct,filterMultiple:Et,filterMode:Bt="menu",filterSearch:_e=!1,filterState:Kt,triggerFilter:mn,locale:fn,children:cn,getPopupContainer:ft}=oe,{filterDropdownOpen:On,onFilterDropdownOpenChange:zn,filterResetToDefaultFilteredValue:Pn,defaultFilteredValue:Wn,filterDropdownVisible:yr,onFilterDropdownVisibleChange:br}=st,[hr,Or]=C.useState(!1),Mr=!!(Kt&&(!((ye=Kt.filteredKeys)===null||ye===void 0)&&ye.length||Kt.forceFiltered)),$n=In=>{Or(In),zn==null||zn(In),br==null||br(In)},pr=(je=On!=null?On:yr)!==null&&je!==void 0?je:hr,Jn=Kt==null?void 0:Kt.filteredKeys,[Nn,fr]=Ea(Jn||[]),Ir=In=>{let{selectedKeys:or}=In;fr(or)},Vr=(In,or)=>{let{node:_r,checked:wr}=or;Ir(Et?{selectedKeys:In}:{selectedKeys:wr&&_r.key?[_r.key]:[]})};C.useEffect(()=>{hr&&Ir({selectedKeys:Jn||[]})},[Jn]);const[re,l]=C.useState([]),d=In=>{l(In)},[h,g]=C.useState(""),N=In=>{const{value:or}=In.target;g(or)};C.useEffect(()=>{hr||g("")},[hr]);const le=In=>{const or=In&&In.length?In:null;if(or===null&&(!Kt||!Kt.filteredKeys)||(0,q.Z)(or,Kt==null?void 0:Kt.filteredKeys,!0))return null;mn({column:st,key:Ct,filteredKeys:or})},Ne=()=>{$n(!1),le(Nn())},Be=function(){let{confirm:In,closeDropdown:or}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};In&&le([]),or&&$n(!1),g(""),fr(Pn?(Wn||[]).map(_r=>String(_r)):[])},qe=function(){let{closeDropdown:In}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};In&&$n(!1),le(Nn())},vt=In=>{In&&Jn!==void 0&&fr(Jn||[]),$n(In),!In&&!st.filterDropdown&&Ne()},Tt=U()({[`${wt}-menu-without-submenu`]:!fa(st.filters||[])}),Jt=In=>{if(In.target.checked){const or=da(st==null?void 0:st.filters).map(_r=>String(_r));fr(or)}else fr([])},Sn=In=>{let{filters:or}=In;return(or||[]).map((_r,wr)=>{const ri=String(_r.value),ii={title:_r.text,key:_r.value!==void 0?ri:wr};return _r.children&&(ii.children=Sn({filters:_r.children})),ii})},Xt=In=>{var or;return Object.assign(Object.assign({},In),{text:In.title,value:In.key,children:((or=In.children)===null||or===void 0?void 0:or.map(_r=>Xt(_r)))||[]})};let on;if(typeof st.filterDropdown=="function")on=st.filterDropdown({prefixCls:`${wt}-custom`,setSelectedKeys:In=>Ir({selectedKeys:In}),selectedKeys:Nn(),confirm:qe,clearFilters:Be,filters:st.filters,visible:pr,close:()=>{$n(!1)}});else if(st.filterDropdown)on=st.filterDropdown;else{const In=Nn()||[],or=()=>(st.filters||[]).length===0?C.createElement(ur.Z,{image:ur.Z.PRESENTED_IMAGE_SIMPLE,description:fn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Bt==="tree"?C.createElement(C.Fragment,null,C.createElement(Fi,{filterSearch:_e,value:h,onChange:N,tablePrefixCls:Qe,locale:fn}),C.createElement("div",{className:`${Qe}-filter-dropdown-tree`},Et?C.createElement(Li.default,{checked:In.length===da(st.filters).length,indeterminate:In.length>0&&In.length<da(st.filters).length,className:`${Qe}-filter-dropdown-checkall`,onChange:Jt},fn.filterCheckall):null,C.createElement(Br.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Et,checkStrictly:!Et,className:`${wt}-menu`,onCheck:Vr,checkedKeys:In,selectedKeys:In,showIcon:!1,treeData:Sn({filters:st.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:h.trim()?wr=>typeof _e=="function"?_e(h,Xt(wr)):dr(h,wr.title):void 0}))):C.createElement(C.Fragment,null,C.createElement(Fi,{filterSearch:_e,value:h,onChange:N,tablePrefixCls:Qe,locale:fn}),C.createElement(xr.default,{selectable:!0,multiple:Et,prefixCls:`${wt}-menu`,className:Tt,onSelect:Ir,onDeselect:Ir,selectedKeys:In,getPopupContainer:ft,openKeys:re,onOpenChange:d,items:sr({filters:st.filters||[],filterSearch:_e,prefixCls:nt,filteredKeys:Nn(),filterMultiple:Et,searchValue:h})})),_r=()=>Pn?(0,q.Z)((Wn||[]).map(wr=>String(wr)),In,!0):In.length===0;on=C.createElement(C.Fragment,null,or(),C.createElement("div",{className:`${nt}-dropdown-btns`},C.createElement(Ln.ZP,{type:"link",size:"small",disabled:_r(),onClick:()=>Be()},fn.filterReset),C.createElement(Ln.ZP,{type:"primary",size:"small",onClick:Ne},fn.filterConfirm)))}st.filterDropdown&&(on=C.createElement(cr.J,{selectable:void 0},on));const gn=()=>C.createElement(Wa,{className:`${nt}-dropdown`},on);let An;typeof st.filterIcon=="function"?An=st.filterIcon(Mr):st.filterIcon?An=st.filterIcon:An=C.createElement(vi,null);const{direction:rr}=C.useContext(Ei.E_);return C.createElement("div",{className:`${nt}-column`},C.createElement("span",{className:`${Qe}-column-title`},cn),C.createElement(na.Z,{dropdownRender:gn,trigger:["click"],open:pr,onOpenChange:vt,getPopupContainer:ft,placement:rr==="rtl"?"bottomLeft":"bottomRight"},C.createElement("span",{role:"button",tabIndex:-1,className:U()(`${nt}-trigger`,{active:Mr}),onClick:In=>{In.stopPropagation()}},An)))}var Mi=Yr;function li(oe,ye,je){let Qe=[];return(oe||[]).forEach((nt,st)=>{var wt;const Ct=Di(st,je);if(nt.filters||"filterDropdown"in nt||"onFilter"in nt)if("filteredValue"in nt){let Et=nt.filteredValue;"filterDropdown"in nt||(Et=(wt=Et==null?void 0:Et.map(String))!==null&&wt!==void 0?wt:Et),Qe.push({column:nt,key:Ti(nt,Ct),filteredKeys:Et,forceFiltered:nt.filtered})}else Qe.push({column:nt,key:Ti(nt,Ct),filteredKeys:ye&&nt.defaultFilteredValue?nt.defaultFilteredValue:void 0,forceFiltered:nt.filtered});"children"in nt&&(Qe=[].concat((0,Je.Z)(Qe),(0,Je.Z)(li(nt.children,ye,Ct))))}),Qe}function sa(oe,ye,je,Qe,nt,st,wt,Ct){return je.map((Et,Bt)=>{const _e=Di(Bt,Ct),{filterMultiple:Kt=!0,filterMode:mn,filterSearch:fn}=Et;let cn=Et;if(cn.filters||cn.filterDropdown){const ft=Ti(cn,_e),On=Qe.find(zn=>{let{key:Pn}=zn;return ft===Pn});cn=Object.assign(Object.assign({},cn),{title:zn=>C.createElement(Mi,{tablePrefixCls:oe,prefixCls:`${oe}-filter`,dropdownPrefixCls:ye,column:cn,columnKey:ft,filterState:On,filterMultiple:Kt,filterMode:mn,filterSearch:fn,triggerFilter:st,locale:nt,getPopupContainer:wt},Vi(Et.title,zn))})}return"children"in cn&&(cn=Object.assign(Object.assign({},cn),{children:sa(oe,ye,cn.children,Qe,nt,st,wt,_e)})),cn})}function Va(oe){const ye={};return oe.forEach(je=>{let{key:Qe,filteredKeys:nt,column:st}=je;const{filters:wt,filterDropdown:Ct}=st;if(Ct)ye[Qe]=nt||null;else if(Array.isArray(nt)){const Et=da(wt);ye[Qe]=Et.filter(Bt=>nt.includes(String(Bt)))}else ye[Qe]=null}),ye}function Ha(oe,ye){return ye.reduce((je,Qe)=>{const{column:{onFilter:nt,filters:st},filteredKeys:wt}=Qe;return nt&&wt&&wt.length?je.filter(Ct=>wt.some(Et=>{const Bt=da(st),_e=Bt.findIndex(mn=>String(mn)===String(Et)),Kt=_e!==-1?Bt[_e]:Et;return nt(Kt,Ct)})):je},oe)}const ya=oe=>oe.flatMap(ye=>"children"in ye?[ye].concat((0,Je.Z)(ya(ye.children||[]))):[ye]);function as(oe){let{prefixCls:ye,dropdownPrefixCls:je,mergedColumns:Qe,onFilterChange:nt,getPopupContainer:st,locale:wt}=oe;const Ct=C.useMemo(()=>ya(Qe||[]),[Qe]),[Et,Bt]=C.useState(()=>li(Ct,!0)),_e=C.useMemo(()=>{const cn=li(Ct,!1);if(cn.length===0)return cn;let ft=!0,On=!0;if(cn.forEach(zn=>{let{filteredKeys:Pn}=zn;Pn!==void 0?ft=!1:On=!1}),ft){const zn=(Ct||[]).map((Pn,Wn)=>Ti(Pn,Di(Wn)));return Et.filter(Pn=>{let{key:Wn}=Pn;return zn.includes(Wn)}).map(Pn=>{const Wn=Ct[zn.findIndex(yr=>yr===Pn.key)];return Object.assign(Object.assign({},Pn),{column:Object.assign(Object.assign({},Pn.column),Wn),forceFiltered:Wn.filtered})})}return cn},[Ct,Et]),Kt=C.useMemo(()=>Va(_e),[_e]),mn=cn=>{const ft=_e.filter(On=>{let{key:zn}=On;return zn!==cn.key});ft.push(cn),Bt(ft),nt(Va(ft),ft)};return[cn=>sa(ye,je,cn,_e,wt,mn,st),_e,Kt]}var ss=as;function os(oe,ye,je){const Qe=C.useRef({});function nt(st){if(!Qe.current||Qe.current.data!==oe||Qe.current.childrenColumnName!==ye||Qe.current.getRowKey!==je){let Ct=function(Et){Et.forEach((Bt,_e)=>{const Kt=je(Bt,_e);wt.set(Kt,Bt),Bt&&typeof Bt=="object"&&ye in Bt&&Ct(Bt[ye]||[])})};const wt=new Map;Ct(oe),Qe.current={data:oe,childrenColumnName:ye,kvMap:wt,getRowKey:je}}return Qe.current.kvMap.get(st)}return[nt]}var ts=f(50371),ls=function(oe,ye){var je={};for(var Qe in oe)Object.prototype.hasOwnProperty.call(oe,Qe)&&ye.indexOf(Qe)<0&&(je[Qe]=oe[Qe]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Qe=Object.getOwnPropertySymbols(oe);nt<Qe.length;nt++)ye.indexOf(Qe[nt])<0&&Object.prototype.propertyIsEnumerable.call(oe,Qe[nt])&&(je[Qe[nt]]=oe[Qe[nt]]);return je};const Ta=10;function Qi(oe,ye){const je={current:oe.current,pageSize:oe.pageSize};return Object.keys(ye&&typeof ye=="object"?ye:{}).forEach(nt=>{const st=oe[nt];typeof st!="function"&&(je[nt]=st)}),je}function us(oe,ye,je){const Qe=je&&typeof je=="object"?je:{},{total:nt=0}=Qe,st=ls(Qe,["total"]),[wt,Ct]=(0,C.useState)(()=>({current:"defaultCurrent"in st?st.defaultCurrent:1,pageSize:"defaultPageSize"in st?st.defaultPageSize:Ta})),Et=(0,ts.Z)(wt,st,{total:nt>0?nt:oe}),Bt=Math.ceil((nt||oe)/Et.pageSize);Et.current>Bt&&(Et.current=Bt||1);const _e=(mn,fn)=>{Ct({current:mn!=null?mn:1,pageSize:fn||Et.pageSize})},Kt=(mn,fn)=>{var cn;je&&((cn=je.onChange)===null||cn===void 0||cn.call(je,mn,fn)),_e(mn,fn),ye(mn,fn||(Et==null?void 0:Et.pageSize))};return je===!1?[{},()=>{}]:[Object.assign(Object.assign({},Et),{onChange:Kt}),_e]}var ns=us,ba=f(18290),wa=f(35654),ei=f(90782),zr=f(71430),ia=f(35788);const Ki={},ki="SELECT_ALL",oa="SELECT_INVERT",pi="SELECT_NONE",Ia=[],la=(oe,ye)=>{let je=[];return(ye||[]).forEach(Qe=>{je.push(Qe),Qe&&typeof Qe=="object"&&oe in Qe&&(je=[].concat((0,Je.Z)(je),(0,Je.Z)(la(oe,Qe[oe]))))}),je};var Ba=(oe,ye)=>{const{preserveSelectedRowKeys:je,selectedRowKeys:Qe,defaultSelectedRowKeys:nt,getCheckboxProps:st,onChange:wt,onSelect:Ct,onSelectAll:Et,onSelectInvert:Bt,onSelectNone:_e,onSelectMultiple:Kt,columnWidth:mn,type:fn,selections:cn,fixed:ft,renderCell:On,hideSelectAll:zn,checkStrictly:Pn=!0}=ye||{},{prefixCls:Wn,data:yr,pageData:br,getRecordByKey:hr,getRowKey:Or,expandType:Mr,childrenColumnName:$n,locale:pr,getPopupContainer:Jn}=oe,[Nn,fr]=(0,ia.Z)(Qe||nt||Ia,{value:Qe}),Ir=C.useRef(new Map),Vr=(0,C.useCallback)(Xt=>{if(je){const on=new Map;Xt.forEach(gn=>{let An=hr(gn);!An&&Ir.current.has(gn)&&(An=Ir.current.get(gn)),on.set(gn,An)}),Ir.current=on}},[hr,je]);C.useEffect(()=>{Vr(Nn)},[Nn]);const{keyEntities:re}=(0,C.useMemo)(()=>{if(Pn)return{keyEntities:null};let Xt=yr;if(je){const on=new Set(yr.map((An,rr)=>Or(An,rr))),gn=Array.from(Ir.current).reduce((An,rr)=>{let[In,or]=rr;return on.has(In)?An:An.concat(or)},[]);Xt=[].concat((0,Je.Z)(Xt),(0,Je.Z)(gn))}return(0,zr.I8)(Xt,{externalGetKey:Or,childrenPropName:$n})},[yr,Or,Pn,$n,je]),l=(0,C.useMemo)(()=>la($n,br),[$n,br]),d=(0,C.useMemo)(()=>{const Xt=new Map;return l.forEach((on,gn)=>{const An=Or(on,gn),rr=(st?st(on):null)||{};Xt.set(An,rr)}),Xt},[l,Or,st]),h=(0,C.useCallback)(Xt=>{var on;return!!(!((on=d.get(Or(Xt)))===null||on===void 0)&&on.disabled)},[d,Or]),[g,N]=(0,C.useMemo)(()=>{if(Pn)return[Nn||[],[]];const{checkedKeys:Xt,halfCheckedKeys:on}=(0,ei.S)(Nn,!0,re,h);return[Xt||[],on]},[Nn,Pn,re,h]),le=(0,C.useMemo)(()=>{const Xt=fn==="radio"?g.slice(0,1):g;return new Set(Xt)},[g,fn]),Ne=(0,C.useMemo)(()=>fn==="radio"?new Set:new Set(N),[N,fn]),[Be,qe]=(0,C.useState)(null);C.useEffect(()=>{ye||fr(Ia)},[!!ye]);const vt=(0,C.useCallback)((Xt,on)=>{let gn,An;Vr(Xt),je?(gn=Xt,An=Xt.map(rr=>Ir.current.get(rr))):(gn=[],An=[],Xt.forEach(rr=>{const In=hr(rr);In!==void 0&&(gn.push(rr),An.push(In))})),fr(gn),wt==null||wt(gn,An,{type:on})},[fr,hr,wt,je]),Tt=(0,C.useCallback)((Xt,on,gn,An)=>{if(Ct){const rr=gn.map(In=>hr(In));Ct(hr(Xt),on,rr,An)}vt(gn,"single")},[Ct,hr,vt]),Jt=(0,C.useMemo)(()=>!cn||zn?null:(cn===!0?[ki,oa,pi]:cn).map(on=>on===ki?{key:"all",text:pr.selectionAll,onSelect(){vt(yr.map((gn,An)=>Or(gn,An)).filter(gn=>{const An=d.get(gn);return!(An!=null&&An.disabled)||le.has(gn)}),"all")}}:on===oa?{key:"invert",text:pr.selectInvert,onSelect(){const gn=new Set(le);br.forEach((rr,In)=>{const or=Or(rr,In),_r=d.get(or);_r!=null&&_r.disabled||(gn.has(or)?gn.delete(or):gn.add(or))});const An=Array.from(gn);Bt&&Bt(An),vt(An,"invert")}}:on===pi?{key:"none",text:pr.selectNone,onSelect(){_e==null||_e(),vt(Array.from(le).filter(gn=>{const An=d.get(gn);return An==null?void 0:An.disabled}),"none")}}:on).map(on=>Object.assign(Object.assign({},on),{onSelect:function(){for(var gn,An,rr=arguments.length,In=new Array(rr),or=0;or<rr;or++)In[or]=arguments[or];(An=on.onSelect)===null||An===void 0||(gn=An).call.apply(gn,[on].concat(In)),qe(null)}})),[cn,le,br,Or,Bt,vt]);return[(0,C.useCallback)(Xt=>{var on;if(!ye)return Xt.filter(Hr=>Hr!==Ki);let gn=(0,Je.Z)(Xt);const An=new Set(le),rr=l.map(Or).filter(Hr=>!d.get(Hr).disabled),In=rr.every(Hr=>An.has(Hr)),or=rr.some(Hr=>An.has(Hr)),_r=()=>{const Hr=[];In?rr.forEach(Qr=>{An.delete(Qr),Hr.push(Qr)}):rr.forEach(Qr=>{An.has(Qr)||(An.add(Qr),Hr.push(Qr))});const qr=Array.from(An);Et==null||Et(!In,qr.map(Qr=>hr(Qr)),Hr.map(Qr=>hr(Qr))),vt(qr,"all"),qe(null)};let wr;if(fn!=="radio"){let Hr;if(Jt){const Wr={getPopupContainer:Jn,items:Jt.map((ra,ta)=>{const{key:xa,text:Ma,onSelect:Aa}=ra;return{key:xa!=null?xa:ta,onClick:()=>{Aa==null||Aa(rr)},label:Ma}})};Hr=C.createElement("div",{className:`${Wn}-selection-extra`},C.createElement(na.Z,{menu:Wr,getPopupContainer:Jn},C.createElement("span",null,C.createElement(ba.Z,null))))}const qr=l.map((Wr,ra)=>{const ta=Or(Wr,ra),xa=d.get(ta)||{};return Object.assign({checked:An.has(ta)},xa)}).filter(Wr=>{let{disabled:ra}=Wr;return ra}),Qr=!!qr.length&&qr.length===l.length,Ri=Qr&&qr.every(Wr=>{let{checked:ra}=Wr;return ra}),ea=Qr&&qr.some(Wr=>{let{checked:ra}=Wr;return ra});wr=!zn&&C.createElement("div",{className:`${Wn}-selection`},C.createElement(Li.default,{checked:Qr?Ri:!!l.length&&In,indeterminate:Qr?!Ri&&ea:!In&&or,onChange:_r,disabled:l.length===0||Qr,"aria-label":Hr?"Custom selection":"Select all",skipGroup:!0}),Hr)}let ri;fn==="radio"?ri=(Hr,qr,Qr)=>{const Ri=Or(qr,Qr),ea=An.has(Ri);return{node:C.createElement(Zn.ZP,Object.assign({},d.get(Ri),{checked:ea,onClick:Wr=>Wr.stopPropagation(),onChange:Wr=>{An.has(Ri)||Tt(Ri,!0,[Ri],Wr.nativeEvent)}})),checked:ea}}:ri=(Hr,qr,Qr)=>{var Ri;const ea=Or(qr,Qr),Wr=An.has(ea),ra=Ne.has(ea),ta=d.get(ea);let xa;return Mr==="nest"?xa=ra:xa=(Ri=ta==null?void 0:ta.indeterminate)!==null&&Ri!==void 0?Ri:ra,{node:C.createElement(Li.default,Object.assign({},ta,{indeterminate:xa,checked:Wr,skipGroup:!0,onClick:Ma=>Ma.stopPropagation(),onChange:Ma=>{let{nativeEvent:Aa}=Ma;const{shiftKey:Ss}=Aa;let Xa=-1,Na=-1;if(Ss&&Pn){const ha=new Set([Be,ea]);rr.some((pa,$i)=>{if(ha.has(pa))if(Xa===-1)Xa=$i;else return Na=$i,!0;return!1})}if(Na!==-1&&Xa!==Na&&Pn){const ha=rr.slice(Xa,Na+1),pa=[];Wr?ha.forEach(Ai=>{An.has(Ai)&&(pa.push(Ai),An.delete(Ai))}):ha.forEach(Ai=>{An.has(Ai)||(pa.push(Ai),An.add(Ai))});const $i=Array.from(An);Kt==null||Kt(!Wr,$i.map(Ai=>hr(Ai)),pa.map(Ai=>hr(Ai))),vt($i,"multiple")}else{const ha=g;if(Pn){const pa=Wr?(0,wa._5)(ha,ea):(0,wa.L0)(ha,ea);Tt(ea,!Wr,pa,Aa)}else{const pa=(0,ei.S)([].concat((0,Je.Z)(ha),[ea]),!0,re,h),{checkedKeys:$i,halfCheckedKeys:Ai}=pa;let rs=$i;if(Wr){const Fs=new Set($i);Fs.delete(ea),rs=(0,ei.S)(Array.from(Fs),{checked:!1,halfCheckedKeys:Ai},re,h).checkedKeys}Tt(ea,!Wr,rs,Aa)}}qe(Wr?null:ea)}})),checked:Wr}};const ii=(Hr,qr,Qr)=>{const{node:Ri,checked:ea}=ri(Hr,qr,Qr);return On?On(ea,qr,Qr,Ri):Ri};if(!gn.includes(Ki))if(gn.findIndex(Hr=>{var qr;return((qr=Hr[ce])===null||qr===void 0?void 0:qr.columnType)==="EXPAND_COLUMN"})===0){const[Hr,...qr]=gn;gn=[Hr,Ki].concat((0,Je.Z)(qr))}else gn=[Ki].concat((0,Je.Z)(gn));const Wi=gn.indexOf(Ki);gn=gn.filter((Hr,qr)=>Hr!==Ki||qr===Wi);const ui=gn[Wi-1],ai=gn[Wi+1];let bi=ft;bi===void 0&&((ai==null?void 0:ai.fixed)!==void 0?bi=ai.fixed:(ui==null?void 0:ui.fixed)!==void 0&&(bi=ui.fixed)),bi&&ui&&((on=ui[ce])===null||on===void 0?void 0:on.columnType)==="EXPAND_COLUMN"&&ui.fixed===void 0&&(ui.fixed=bi);const qi=U()(`${Wn}-selection-col`,{[`${Wn}-selection-col-with-dropdown`]:cn&&fn==="checkbox"}),Sa={fixed:bi,width:mn,className:`${Wn}-selection-column`,title:ye.columnTitle||wr,render:ii,onCell:ye.onCell,[ce]:{className:qi}};return gn.map(Hr=>Hr===Ki?Sa:Hr)},[Or,l,ye,g,le,Ne,mn,Jt,Mr,Be,d,Kt,Tt,h]),le]},_i=f(35323),vs=f(19155),Ca=f(6848);const Za="ascend",Cs="descend";function Qa(oe){return typeof oe.sorter=="object"&&typeof oe.sorter.multiple=="number"?oe.sorter.multiple:!1}function cs(oe){return typeof oe=="function"?oe:oe&&typeof oe=="object"&&oe.compare?oe.compare:!1}function ys(oe,ye){return ye?oe[oe.indexOf(ye)+1]:oe[0]}function ds(oe,ye,je){let Qe=[];function nt(st,wt){Qe.push({column:st,key:Ti(st,wt),multiplePriority:Qa(st),sortOrder:st.sortOrder})}return(oe||[]).forEach((st,wt)=>{const Ct=Di(wt,je);st.children?("sortOrder"in st&&nt(st,Ct),Qe=[].concat((0,Je.Z)(Qe),(0,Je.Z)(ds(st.children,ye,Ct)))):st.sorter&&("sortOrder"in st?nt(st,Ct):ye&&st.defaultSortOrder&&Qe.push({column:st,key:Ti(st,Ct),multiplePriority:Qa(st),sortOrder:st.defaultSortOrder}))}),Qe}function Rs(oe,ye,je,Qe,nt,st,wt,Ct){return(ye||[]).map((Et,Bt)=>{const _e=Di(Bt,Ct);let Kt=Et;if(Kt.sorter){const mn=Kt.sortDirections||nt,fn=Kt.showSorterTooltip===void 0?wt:Kt.showSorterTooltip,cn=Ti(Kt,_e),ft=je.find(Mr=>{let{key:$n}=Mr;return $n===cn}),On=ft?ft.sortOrder:null,zn=ys(mn,On);let Pn;if(Et.sortIcon)Pn=Et.sortIcon({sortOrder:On});else{const Mr=mn.includes(Za)&&C.createElement(vs.Z,{className:U()(`${oe}-column-sorter-up`,{active:On===Za})}),$n=mn.includes(Cs)&&C.createElement(_i.Z,{className:U()(`${oe}-column-sorter-down`,{active:On===Cs})});Pn=C.createElement("span",{className:U()(`${oe}-column-sorter`,{[`${oe}-column-sorter-full`]:!!(Mr&&$n)})},C.createElement("span",{className:`${oe}-column-sorter-inner`,"aria-hidden":"true"},Mr,$n))}const{cancelSort:Wn,triggerAsc:yr,triggerDesc:br}=st||{};let hr=Wn;zn===Cs?hr=br:zn===Za&&(hr=yr);const Or=typeof fn=="object"?fn:{title:hr};Kt=Object.assign(Object.assign({},Kt),{className:U()(Kt.className,{[`${oe}-column-sort`]:On}),title:Mr=>{const $n=C.createElement("div",{className:`${oe}-column-sorters`},C.createElement("span",{className:`${oe}-column-title`},Vi(Et.title,Mr)),Pn);return fn?C.createElement(Ca.Z,Object.assign({},Or),$n):$n},onHeaderCell:Mr=>{const $n=Et.onHeaderCell&&Et.onHeaderCell(Mr)||{},pr=$n.onClick,Jn=$n.onKeyDown;$n.onClick=Ir=>{Qe({column:Et,key:cn,sortOrder:zn,multiplePriority:Qa(Et)}),pr==null||pr(Ir)},$n.onKeyDown=Ir=>{Ir.keyCode===Pi.Z.ENTER&&(Qe({column:Et,key:cn,sortOrder:zn,multiplePriority:Qa(Et)}),Jn==null||Jn(Ir))};const Nn=Ci(Et.title,{}),fr=Nn==null?void 0:Nn.toString();return On?$n["aria-sort"]=On==="ascend"?"ascending":"descending":$n["aria-label"]=fr||"",$n.className=U()($n.className,`${oe}-column-has-sorters`),$n.tabIndex=0,Et.ellipsis&&($n.title=(Nn!=null?Nn:"").toString()),$n}})}return"children"in Kt&&(Kt=Object.assign(Object.assign({},Kt),{children:Rs(oe,Kt.children,je,Qe,nt,st,wt,_e)})),Kt})}function Oa(oe){const{column:ye,sortOrder:je}=oe;return{column:ye,order:je,field:ye.dataIndex,columnKey:ye.key}}function bs(oe){const ye=oe.filter(je=>{let{sortOrder:Qe}=je;return Qe}).map(Oa);return ye.length===0&&oe.length?Object.assign(Object.assign({},Oa(oe[oe.length-1])),{column:void 0}):ye.length<=1?ye[0]||{}:ye}function wi(oe,ye,je){const Qe=ye.slice().sort((wt,Ct)=>Ct.multiplePriority-wt.multiplePriority),nt=oe.slice(),st=Qe.filter(wt=>{let{column:{sorter:Ct},sortOrder:Et}=wt;return cs(Ct)&&Et});return st.length?nt.sort((wt,Ct)=>{for(let Et=0;Et<st.length;Et+=1){const Bt=st[Et],{column:{sorter:_e},sortOrder:Kt}=Bt,mn=cs(_e);if(mn&&Kt){const fn=mn(wt,Ct,Kt);if(fn!==0)return Kt===Za?fn:-fn}}return 0}).map(wt=>{const Ct=wt[je];return Ct?Object.assign(Object.assign({},wt),{[je]:wi(Ct,ye,je)}):wt}):nt}function xi(oe){let{prefixCls:ye,mergedColumns:je,onSorterChange:Qe,sortDirections:nt,tableLocale:st,showSorterTooltip:wt}=oe;const[Ct,Et]=C.useState(ds(je,!0)),Bt=C.useMemo(()=>{let cn=!0;const ft=ds(je,!1);if(!ft.length)return Ct;const On=[];function zn(Wn){cn?On.push(Wn):On.push(Object.assign(Object.assign({},Wn),{sortOrder:null}))}let Pn=null;return ft.forEach(Wn=>{Pn===null?(zn(Wn),Wn.sortOrder&&(Wn.multiplePriority===!1?cn=!1:Pn=!0)):(Pn&&Wn.multiplePriority!==!1||(cn=!1),zn(Wn))}),On},[je,Ct]),_e=C.useMemo(()=>{const cn=Bt.map(ft=>{let{column:On,sortOrder:zn}=ft;return{column:On,order:zn}});return{sortColumns:cn,sortColumn:cn[0]&&cn[0].column,sortOrder:cn[0]&&cn[0].order}},[Bt]);function Kt(cn){let ft;cn.multiplePriority===!1||!Bt.length||Bt[0].multiplePriority===!1?ft=[cn]:ft=[].concat((0,Je.Z)(Bt.filter(On=>{let{key:zn}=On;return zn!==cn.key})),[cn]),Et(ft),Qe(bs(ft),ft)}return[cn=>Rs(ye,cn,Bt,Kt,nt,st,wt),Bt,_e,()=>bs(Bt)]}function mi(oe,ye){return oe.map(je=>{const Qe=Object.assign({},je);return Qe.title=Vi(je.title,ye),"children"in Qe&&(Qe.children=mi(Qe.children,ye)),Qe})}function Ji(oe){return[C.useCallback(je=>mi(je,oe),[oe])]}var Xi=ar((oe,ye)=>{const{_renderTimes:je}=oe,{_renderTimes:Qe}=ye;return je!==Qe}),fs=Pr((oe,ye)=>{const{_renderTimes:je}=oe,{_renderTimes:Qe}=ye;return je!==Qe}),Ja=f(64993),hs=f(17313),ks=f(83116),ps=f(37613),Rn=oe=>{const{componentCls:ye}=oe,je=`${oe.lineWidth}px ${oe.lineType} ${oe.tableBorderColor}`,Qe=(nt,st,wt)=>({[`&${ye}-${nt}`]:{[`> ${ye}-container`]:{[`> ${ye}-content, > ${ye}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ye}-expanded-row-fixed`]:{margin:`-${st}px -${wt+oe.lineWidth}px`}}}}}});return{[`${ye}-wrapper`]:{[`${ye}${ye}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ye}-title`]:{border:je,borderBottom:0},[`> ${ye}-container`]:{borderInlineStart:je,borderTop:je,[`
> ${ye}-content,
> ${ye}-header,
> ${ye}-body,
> ${ye}-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:je},"> thead":{"> tr:not(:last-child) > th":{borderBottom:je},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ye}-cell-fix-right-first::after`]:{borderInlineEnd:je}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ye}-expanded-row-fixed`]:{margin:`-${oe.tablePaddingVertical}px -${oe.tablePaddingHorizontal+oe.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:oe.lineWidth,bottom:0,borderInlineEnd:je,content:'""'}}}}}},[`&${ye}-scroll-horizontal`]:{[`> ${ye}-container > ${ye}-body`]:{"> table > tbody":{[`
> tr${ye}-expanded-row,
> tr${ye}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},Qe("middle",oe.tablePaddingVerticalMiddle,oe.tablePaddingHorizontalMiddle)),Qe("small",oe.tablePaddingVerticalSmall,oe.tablePaddingHorizontalSmall)),{[`> ${ye}-footer`]:{border:je,borderTop:0}}),[`${ye}-cell`]:{[`${ye}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${oe.lineWidth}px 0 ${oe.lineWidth}px ${oe.tableHeaderBg}`}},[`${ye}-bordered ${ye}-cell-scrollbar`]:{borderInlineEnd:je}}}},Ms=oe=>{const{componentCls:ye}=oe;return{[`${ye}-wrapper`]:{[`${ye}-cell-ellipsis`]:Object.assign(Object.assign({},hs.vS),{wordBreak:"keep-all",[`
&${ye}-cell-fix-left-last,
&${ye}-cell-fix-right-first
`]:{overflow:"visible",[`${ye}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ye}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Qs=oe=>{const{componentCls:ye}=oe;return{[`${ye}-wrapper`]:{[`${ye}-tbody > tr${ye}-placeholder`]:{textAlign:"center",color:oe.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:oe.colorBgContainer}}}}},Ks=f(15969),Ga=oe=>{const{componentCls:ye,antCls:je,controlInteractiveSize:Qe,motionDurationSlow:nt,lineWidth:st,paddingXS:wt,lineType:Ct,tableBorderColor:Et,tableExpandIconBg:Bt,tableExpandColumnWidth:_e,borderRadius:Kt,fontSize:mn,fontSizeSM:fn,lineHeight:cn,tablePaddingVertical:ft,tablePaddingHorizontal:On,tableExpandedRowBg:zn,paddingXXS:Pn}=oe,Wn=Qe/2-st,yr=Wn*2+st*3,br=`${st}px ${Ct} ${Et}`,hr=Pn-st;return{[`${ye}-wrapper`]:{[`${ye}-expand-icon-col`]:{width:_e},[`${ye}-row-expand-icon-cell`]:{textAlign:"center",[`${ye}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ye}-row-indent`]:{height:1,float:"left"},[`${ye}-row-expand-icon`]:Object.assign(Object.assign({},(0,Ks.N)(oe)),{position:"relative",float:"left",boxSizing:"border-box",width:yr,height:yr,padding:0,color:"inherit",lineHeight:`${yr}px`,background:Bt,border:br,borderRadius:Kt,transform:`scale(${Qe/yr})`,transition:`all ${nt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${nt} ease-out`,content:'""'},"&::before":{top:Wn,insetInlineEnd:hr,insetInlineStart:hr,height:st},"&::after":{top:hr,bottom:hr,insetInlineStart:Wn,width:st,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"}}),[`${ye}-row-indent + ${ye}-row-expand-icon`]:{marginTop:(mn*cn-st*3)/2-Math.ceil((fn*1.4-st*3)/2),marginInlineEnd:wt},[`tr${ye}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:zn}},[`${je}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ye}-expanded-row-fixed`]:{position:"relative",margin:`-${ft}px -${On}px`,padding:`${ft}px ${On}px`}}}},qs=oe=>{const{componentCls:ye,antCls:je,iconCls:Qe,tableFilterDropdownWidth:nt,tableFilterDropdownSearchWidth:st,paddingXXS:wt,paddingXS:Ct,colorText:Et,lineWidth:Bt,lineType:_e,tableBorderColor:Kt,tableHeaderIconColor:mn,fontSizeSM:fn,tablePaddingHorizontal:cn,borderRadius:ft,motionDurationSlow:On,colorTextDescription:zn,colorPrimary:Pn,tableHeaderFilterActiveBg:Wn,colorTextDisabled:yr,tableFilterDropdownBg:br,tableFilterDropdownHeight:hr,controlItemBgHover:Or,controlItemBgActive:Mr,boxShadowSecondary:$n,filterDropdownMenuBg:pr}=oe,Jn=`${je}-dropdown`,Nn=`${ye}-filter-dropdown`,fr=`${je}-tree`,Ir=`${Bt}px ${_e} ${Kt}`;return[{[`${ye}-wrapper`]:{[`${ye}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ye}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-wt,marginInline:`${wt}px ${-cn/2}px`,padding:`0 ${wt}px`,color:mn,fontSize:fn,borderRadius:ft,cursor:"pointer",transition:`all ${On}`,"&:hover":{color:zn,background:Wn},"&.active":{color:Pn}}}},{[`${je}-dropdown`]:{[Nn]:Object.assign(Object.assign({},(0,hs.Wf)(oe)),{minWidth:nt,backgroundColor:br,borderRadius:ft,boxShadow:$n,overflow:"hidden",[`${Jn}-menu`]:{maxHeight:hr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:pr,"&:empty::after":{display:"block",padding:`${Ct}px 0`,color:yr,fontSize:fn,textAlign:"center",content:'"Not Found"'}},[`${Nn}-tree`]:{paddingBlock:`${Ct}px 0`,paddingInline:Ct,[fr]:{padding:0},[`${fr}-treenode ${fr}-node-content-wrapper:hover`]:{backgroundColor:Or},[`${fr}-treenode-checkbox-checked ${fr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Mr}}},[`${Nn}-search`]:{padding:Ct,borderBottom:Ir,"&-input":{input:{minWidth:st},[Qe]:{color:yr}}},[`${Nn}-checkall`]:{width:"100%",marginBottom:wt,marginInlineStart:wt},[`${Nn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Ct-Bt}px ${Ct}px`,overflow:"hidden",borderTop:Ir}})}},{[`${je}-dropdown ${Nn}, ${Nn}-submenu`]:{[`${je}-checkbox-wrapper + span`]:{paddingInlineStart:Ct,color:Et},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Os=oe=>{const{componentCls:ye,lineWidth:je,colorSplit:Qe,motionDurationSlow:nt,zIndexTableFixed:st,tableBg:wt,zIndexTableSticky:Ct}=oe,Et=Qe;return{[`${ye}-wrapper`]:{[`
${ye}-cell-fix-left,
${ye}-cell-fix-right
`]:{position:"sticky !important",zIndex:st,background:wt},[`
${ye}-cell-fix-left-first::after,
${ye}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-je,width:30,transform:"translateX(100%)",transition:`box-shadow ${nt}`,content:'""',pointerEvents:"none"},[`${ye}-cell-fix-left-all::after`]:{display:"none"},[`
${ye}-cell-fix-right-first::after,
${ye}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-je,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${nt}`,content:'""',pointerEvents:"none"},[`${ye}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Ct+1,width:30,transition:`box-shadow ${nt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ye}-ping-left`]:{[`&:not(${ye}-has-fix-left) ${ye}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Et}`}},[`
${ye}-cell-fix-left-first::after,
${ye}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${Et}`},[`${ye}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ye}-ping-right`]:{[`&:not(${ye}-has-fix-right) ${ye}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Et}`}},[`
${ye}-cell-fix-right-first::after,
${ye}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${Et}`}}}}},Ls=oe=>{const{componentCls:ye,antCls:je}=oe;return{[`${ye}-wrapper`]:{[`${ye}-pagination${je}-pagination`]:{margin:`${oe.margin}px 0`},[`${ye}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:oe.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},qa=oe=>{const{componentCls:ye,tableRadius:je}=oe;return{[`${ye}-wrapper`]:{[ye]:{[`${ye}-title, ${ye}-header`]:{borderRadius:`${je}px ${je}px 0 0`},[`${ye}-title + ${ye}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ye}-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:je,borderStartEndRadius:je,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:je},"> *:last-child":{borderStartEndRadius:je}}},"&-footer":{borderRadius:`0 0 ${je}px ${je}px`}}}}},yo=oe=>{const{componentCls:ye}=oe;return{[`${ye}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ye}-pagination-left`]:{justifyContent:"flex-end"},[`${ye}-pagination-right`]:{justifyContent:"flex-start"},[`${ye}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ye}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ye}-row-indent`]:{float:"right"}}}}},Hs=oe=>{const{componentCls:ye,antCls:je,iconCls:Qe,fontSizeIcon:nt,padding:st,paddingXS:wt,tableHeaderIconColor:Ct,tableHeaderIconColorHover:Et,tableSelectionColumnWidth:Bt}=oe;return{[`${ye}-wrapper`]:{[`${ye}-selection-col`]:{width:Bt,[`&${ye}-selection-col-with-dropdown`]:{width:Bt+nt+st/4}},[`${ye}-bordered ${ye}-selection-col`]:{width:Bt+wt*2,[`&${ye}-selection-col-with-dropdown`]:{width:Bt+nt+st/4+wt*2}},[`
table tr th${ye}-selection-column,
table tr td${ye}-selection-column
`]:{paddingInlineEnd:oe.paddingXS,paddingInlineStart:oe.paddingXS,textAlign:"center",[`${je}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ye}-selection-column${ye}-cell-fix-left`]:{zIndex:oe.zIndexTableFixed+1},[`table tr th${ye}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ye}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ye}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${oe.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${oe.tablePaddingHorizontal/4}px`,[Qe]:{color:Ct,fontSize:nt,verticalAlign:"baseline","&:hover":{color:Et}}}}}},js=oe=>{const{componentCls:ye}=oe,je=(Qe,nt,st,wt)=>({[`${ye}${ye}-${Qe}`]:{fontSize:wt,[`
${ye}-title,
${ye}-footer,
${ye}-cell,
${ye}-thead > tr > th,
${ye}-tbody > tr > th,
${ye}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${nt}px ${st}px`},[`${ye}-filter-trigger`]:{marginInlineEnd:`-${st/2}px`},[`${ye}-expanded-row-fixed`]:{margin:`-${nt}px -${st}px`},[`${ye}-tbody`]:{[`${ye}-wrapper:only-child ${ye}`]:{marginBlock:`-${nt}px`,marginInline:`${oe.tableExpandColumnWidth-st}px -${st}px`}},[`${ye}-selection-column`]:{paddingInlineStart:`${st/4}px`}}});return{[`${ye}-wrapper`]:Object.assign(Object.assign({},je("middle",oe.tablePaddingVerticalMiddle,oe.tablePaddingHorizontalMiddle,oe.tableFontSizeMiddle)),je("small",oe.tablePaddingVerticalSmall,oe.tablePaddingHorizontalSmall,oe.tableFontSizeSmall))}},So=oe=>{const{componentCls:ye,marginXXS:je,fontSizeIcon:Qe,tableHeaderIconColor:nt,tableHeaderIconColorHover:st}=oe;return{[`${ye}-wrapper`]:{[`${ye}-thead th${ye}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${oe.motionDurationSlow}`,"&:hover":{background:oe.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:oe.colorPrimary},[`
&${ye}-cell-fix-left:hover,
&${ye}-cell-fix-right:hover
`]:{background:oe.tableFixedHeaderSortActiveBg}},[`${ye}-thead th${ye}-column-sort`]:{background:oe.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ye}-column-sort`]:{background:oe.tableBodySortBg},[`${ye}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${ye}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ye}-column-sorter`]:{marginInlineStart:je,color:nt,fontSize:0,transition:`color ${oe.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Qe,"&.active":{color:oe.colorPrimary}},[`${ye}-column-sorter-up + ${ye}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ye}-column-sorters:hover ${ye}-column-sorter`]:{color:st}}}},Ao=oe=>{const{componentCls:ye,opacityLoading:je,tableScrollThumbBg:Qe,tableScrollThumbBgHover:nt,tableScrollThumbSize:st,tableScrollBg:wt,zIndexTableSticky:Ct,stickyScrollBarBorderRadius:Et}=oe,Bt=`${oe.lineWidth}px ${oe.lineType} ${oe.tableBorderColor}`;return{[`${ye}-wrapper`]:{[`${ye}-sticky`]:{"&-holder":{position:"sticky",zIndex:Ct,background:oe.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${st}px !important`,zIndex:Ct,display:"flex",alignItems:"center",background:wt,borderTop:Bt,opacity:je,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:st,backgroundColor:Qe,borderRadius:Et,transition:`all ${oe.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:nt}}}}}}},Ds=oe=>{const{componentCls:ye,lineWidth:je,tableBorderColor:Qe}=oe,nt=`${je}px ${oe.lineType} ${Qe}`;return{[`${ye}-wrapper`]:{[`${ye}-summary`]:{position:"relative",zIndex:oe.zIndexTableFixed,background:oe.tableBg,"> tr":{"> th, > td":{borderBottom:nt}}},[`div${ye}-summary`]:{boxShadow:`0 -${je}px 0 ${Qe}`}}}},Us=oe=>{const{componentCls:ye}=oe,je=`${oe.lineWidth}px ${oe.lineType} ${oe.tableBorderColor}`,Qe=`${ye}-expanded-row-cell`;return{[`${ye}-wrapper`]:{[`${ye}-tbody-virtual`]:{[`${ye}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${ye}-cell`]:{borderBottom:je},[`${ye}-expanded-row`]:{[`${Qe}${Qe}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${oe.lineWidth}px)`,borderInlineEnd:"none"}}},[`${ye}-bordered`]:{[`${ye}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:je,position:"absolute"},[`${ye}-cell`]:{borderInlineEnd:je,[`&${ye}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-oe.lineWidth,borderInlineStart:je}}}}}}};const Vs=oe=>{const{componentCls:ye,fontWeightStrong:je,tablePaddingVertical:Qe,tablePaddingHorizontal:nt,lineWidth:st,lineType:wt,tableBorderColor:Ct,tableFontSize:Et,tableBg:Bt,tableRadius:_e,tableHeaderTextColor:Kt,motionDurationMid:mn,tableHeaderBg:fn,tableHeaderCellSplitColor:cn,tableRowHoverBg:ft,tableSelectedRowBg:On,tableSelectedRowHoverBg:zn,tableFooterTextColor:Pn,tableFooterBg:Wn,paddingContentVerticalLG:yr}=oe,br=`${st}px ${wt} ${Ct}`;return{[`${ye}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,hs.dF)()),{[ye]:Object.assign(Object.assign({},(0,hs.Wf)(oe)),{fontSize:Et,background:Bt,borderRadius:`${_e}px ${_e}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${_e}px ${_e}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${ye}-cell,
${ye}-thead > tr > th,
${ye}-tbody > tr > th,
${ye}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${yr}px ${nt}px`,overflowWrap:"break-word"},[`${ye}-title`]:{padding:`${Qe}px ${nt}px`},[`${ye}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Kt,fontWeight:je,textAlign:"start",background:fn,borderBottom:br,transition:`background ${mn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ye}-selection-column):not(${ye}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:cn,transform:"translateY(-50%)",transition:`background-color ${mn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ye}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${mn}, border-color ${mn}`,borderBottom:br,[`
> ${ye}-wrapper:only-child,
> ${ye}-expanded-row-fixed > ${ye}-wrapper:only-child
`]:{[ye]:{marginBlock:`-${Qe}px`,marginInline:`${oe.tableExpandColumnWidth-nt}px -${nt}px`,[`${ye}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Kt,fontWeight:je,textAlign:"start",background:fn,borderBottom:br,transition:`background ${mn} ease`},[`
&${ye}-row:hover > th,
&${ye}-row:hover > td,
> th${ye}-cell-row-hover,
> td${ye}-cell-row-hover
`]:{background:ft},[`&${ye}-row-selected`]:{"> th, > td":{background:On},"&:hover > th, &:hover > td":{background:zn}}}},[`${ye}-footer`]:{padding:`${Qe}px ${nt}px`,color:Pn,background:Wn}})}};var eo=(0,ks.Z)("Table",oe=>{const{colorTextHeading:ye,colorSplit:je,colorIcon:Qe,colorIconHover:nt,opacityLoading:st,colorBgContainer:wt,controlInteractiveSize:Ct,headerBg:Et,headerColor:Bt,headerSortActiveBg:_e,headerSortHoverBg:Kt,bodySortBg:mn,rowHoverBg:fn,rowSelectedBg:cn,rowSelectedHoverBg:ft,rowExpandedBg:On,cellPaddingBlock:zn,cellPaddingInline:Pn,cellPaddingBlockMD:Wn,cellPaddingInlineMD:yr,cellPaddingBlockSM:br,cellPaddingInlineSM:hr,borderColor:Or,footerBg:Mr,footerColor:$n,headerBorderRadius:pr,cellFontSize:Jn,cellFontSizeMD:Nn,cellFontSizeSM:fr,headerSplitColor:Ir,fixedHeaderSortActiveBg:Vr,headerFilterHoverBg:re,filterDropdownBg:l,expandIconBg:d,selectionColumnWidth:h,stickyScrollBarBg:g}=oe,N=new Ja.C(Qe),le=new Ja.C(nt),Ne=2,Be=(0,ps.TS)(oe,{tableFontSize:Jn,tableBg:wt,tableRadius:pr,tablePaddingVertical:zn,tablePaddingHorizontal:Pn,tablePaddingVerticalMiddle:Wn,tablePaddingHorizontalMiddle:yr,tablePaddingVerticalSmall:br,tablePaddingHorizontalSmall:hr,tableBorderColor:Or,tableHeaderTextColor:Bt,tableHeaderBg:Et,tableFooterTextColor:$n,tableFooterBg:Mr,tableHeaderCellSplitColor:Ir,tableHeaderSortBg:_e,tableHeaderSortHoverBg:Kt,tableHeaderIconColor:N.clone().setAlpha(N.getAlpha()*st).toRgbString(),tableHeaderIconColorHover:le.clone().setAlpha(le.getAlpha()*st).toRgbString(),tableBodySortBg:mn,tableFixedHeaderSortActiveBg:Vr,tableHeaderFilterActiveBg:re,tableFilterDropdownBg:l,tableRowHoverBg:fn,tableSelectedRowBg:cn,tableSelectedRowHoverBg:ft,zIndexTableFixed:Ne,zIndexTableSticky:Ne+1,tableFontSizeMiddle:Nn,tableFontSizeSmall:fr,tableSelectionColumnWidth:h,tableExpandIconBg:d,tableExpandColumnWidth:Ct+2*oe.padding,tableExpandedRowBg:On,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:g,tableScrollThumbBgHover:ye,tableScrollBg:je});return[Vs(Be),Ls(Be),Ds(Be),So(Be),qs(Be),Rn(Be),qa(Be),Ga(Be),Ds(Be),Qs(Be),Hs(Be),Os(Be),Ao(Be),Ms(Be),js(Be),yo(Be),Us(Be)]},oe=>{const{colorFillAlter:ye,colorBgContainer:je,colorTextHeading:Qe,colorFillSecondary:nt,colorFillContent:st,controlItemBgActive:wt,controlItemBgActiveHover:Ct,padding:Et,paddingSM:Bt,paddingXS:_e,colorBorderSecondary:Kt,borderRadiusLG:mn,fontSize:fn,controlHeight:cn,colorTextPlaceholder:ft}=oe,On=new Ja.C(nt).onBackground(je).toHexShortString(),zn=new Ja.C(st).onBackground(je).toHexShortString(),Pn=new Ja.C(ye).onBackground(je).toHexShortString();return{headerBg:Pn,headerColor:Qe,headerSortActiveBg:On,headerSortHoverBg:zn,bodySortBg:Pn,rowHoverBg:Pn,rowSelectedBg:wt,rowSelectedHoverBg:Ct,rowExpandedBg:ye,cellPaddingBlock:Et,cellPaddingInline:Et,cellPaddingBlockMD:Bt,cellPaddingInlineMD:_e,cellPaddingBlockSM:_e,cellPaddingInlineSM:_e,borderColor:Kt,headerBorderRadius:mn,footerBg:Pn,footerColor:Qe,cellFontSize:fn,cellFontSizeMD:fn,cellFontSizeSM:fn,headerSplitColor:Kt,fixedHeaderSortActiveBg:On,headerFilterHoverBg:st,filterDropdownMenuBg:je,filterDropdownBg:je,expandIconBg:je,selectionColumnWidth:cn,stickyScrollBarBg:ft,stickyScrollBarBorderRadius:100}});const to=[],no=(oe,ye)=>{const{prefixCls:je,className:Qe,rootClassName:nt,style:st,size:wt,bordered:Ct,dropdownPrefixCls:Et,dataSource:Bt,pagination:_e,rowSelection:Kt,rowKey:mn="key",rowClassName:fn,columns:cn,children:ft,childrenColumnName:On,onChange:zn,getPopupContainer:Pn,loading:Wn,expandIcon:yr,expandable:br,expandedRowRender:hr,expandIconColumnIndex:Or,indentSize:Mr,scroll:$n,sortDirections:pr,locale:Jn,showSorterTooltip:Nn=!0,virtual:fr}=oe,Ir=C.useMemo(()=>cn||xt(ft),[cn,ft]),Vr=C.useMemo(()=>Ir.some(di=>di.responsive),[Ir]),re=(0,jr.Z)(Vr),l=C.useMemo(()=>{const di=new Set(Object.keys(re).filter(Oi=>re[Oi]));return Ir.filter(Oi=>!Oi.responsive||Oi.responsive.some(ma=>di.has(ma)))},[Ir,re]),d=(0,Nr.Z)(oe,["className","style","columns"]),{locale:h=ni.Z,direction:g,table:N,renderEmpty:le,getPrefixCls:Ne,getPopupContainer:Be}=C.useContext(Ei.E_),qe=(0,Zr.Z)(wt),vt=Object.assign(Object.assign({},h.Table),Jn),Tt=Bt||to,Jt=Ne("table",je),Sn=Ne("dropdown",Et),Xt=Object.assign({childrenColumnName:On,expandIconColumnIndex:Or},br),{childrenColumnName:on="children"}=Xt,gn=C.useMemo(()=>Tt.some(di=>di==null?void 0:di[on])?"nest":hr||br&&br.expandedRowRender?"row":null,[Tt]),An={body:C.useRef()},rr=C.useMemo(()=>typeof mn=="function"?mn:di=>di==null?void 0:di[mn],[mn]),[In]=os(Tt,on,rr),or={},_r=function(di,Oi){let ma=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ui,Da,Pa;const Ka=Object.assign(Object.assign({},or),di);ma&&((Ui=or.resetPagination)===null||Ui===void 0||Ui.call(or),!((Da=Ka.pagination)===null||Da===void 0)&&Da.current&&(Ka.pagination.current=1),_e&&_e.onChange&&_e.onChange(1,(Pa=Ka.pagination)===null||Pa===void 0?void 0:Pa.pageSize)),$n&&$n.scrollToFirstRowOnChange!==!1&&An.body.current&&(0,hi.Z)(0,{getContainer:()=>An.body.current}),zn==null||zn(Ka.pagination,Ka.filters,Ka.sorter,{currentDataSource:Ha(wi(Tt,Ka.sorterStates,on),Ka.filterStates),action:Oi})},wr=(di,Oi)=>{_r({sorter:di,sorterStates:Oi},"sort",!1)},[ri,ii,Wi,ui]=xi({prefixCls:Jt,mergedColumns:l,onSorterChange:wr,sortDirections:pr||["ascend","descend"],tableLocale:vt,showSorterTooltip:Nn}),ai=C.useMemo(()=>wi(Tt,ii,on),[Tt,ii]);or.sorter=ui(),or.sorterStates=ii;const bi=(di,Oi)=>{_r({filters:di,filterStates:Oi},"filter",!0)},[qi,Sa,Hr]=ss({prefixCls:Jt,locale:vt,dropdownPrefixCls:Sn,mergedColumns:l,onFilterChange:bi,getPopupContainer:Pn||Be}),qr=Ha(ai,Sa);or.filters=Hr,or.filterStates=Sa;const Qr=C.useMemo(()=>{const di={};return Object.keys(Hr).forEach(Oi=>{Hr[Oi]!==null&&(di[Oi]=Hr[Oi])}),Object.assign(Object.assign({},Wi),{filters:di})},[Wi,Hr]),[Ri]=Ji(Qr),ea=(di,Oi)=>{_r({pagination:Object.assign(Object.assign({},or.pagination),{current:di,pageSize:Oi})},"paginate")},[Wr,ra]=ns(qr.length,ea,_e);or.pagination=_e===!1?{}:Qi(Wr,_e),or.resetPagination=ra;const ta=C.useMemo(()=>{if(_e===!1||!Wr.pageSize)return qr;const{current:di=1,total:Oi,pageSize:ma=Ta}=Wr;return qr.length<Oi?qr.length>ma?qr.slice((di-1)*ma,di*ma):qr:qr.slice((di-1)*ma,di*ma)},[!!_e,qr,Wr&&Wr.current,Wr&&Wr.pageSize,Wr&&Wr.total]),[xa,Ma]=Ba({prefixCls:Jt,data:qr,pageData:ta,getRowKey:rr,getRecordByKey:In,expandType:gn,childrenColumnName:on,locale:vt,getPopupContainer:Pn||Be},Kt),Aa=(di,Oi,ma)=>{let Ui;return typeof fn=="function"?Ui=U()(fn(di,Oi,ma)):Ui=U()(fn),U()({[`${Jt}-row-selected`]:Ma.has(rr(di,Oi))},Ui)};Xt.__PARENT_RENDER_ICON__=Xt.expandIcon,Xt.expandIcon=Xt.expandIcon||yr||oi(vt),gn==="nest"&&Xt.expandIconColumnIndex===void 0?Xt.expandIconColumnIndex=Kt?1:0:Xt.expandIconColumnIndex>0&&Kt&&(Xt.expandIconColumnIndex-=1),typeof Xt.indentSize!="number"&&(Xt.indentSize=typeof Mr=="number"?Mr:15);const Ss=C.useCallback(di=>Ri(xa(qi(ri(di)))),[ri,qi,xa]);let Xa,Na;if(_e!==!1&&(Wr!=null&&Wr.total)){let di;Wr.size?di=Wr.size:di=qe==="small"||qe==="middle"?"small":void 0;const Oi=Da=>C.createElement(ji.Z,Object.assign({},Wr,{className:U()(`${Jt}-pagination ${Jt}-pagination-${Da}`,Wr.className),size:di})),ma=g==="rtl"?"left":"right",{position:Ui}=Wr;if(Ui!==null&&Array.isArray(Ui)){const Da=Ui.find(gs=>gs.includes("top")),Pa=Ui.find(gs=>gs.includes("bottom")),Ka=Ui.every(gs=>`${gs}`=="none");!Da&&!Pa&&!Ka&&(Na=Oi(ma)),Da&&(Xa=Oi(Da.toLowerCase().replace("top",""))),Pa&&(Na=Oi(Pa.toLowerCase().replace("bottom","")))}else Na=Oi(ma)}let ha;typeof Wn=="boolean"?ha={spinning:Wn}:typeof Wn=="object"&&(ha=Object.assign({spinning:!0},Wn));const[pa,$i]=eo(Jt),[,Ai]=(0,Xr.Z)(),rs=U()(`${Jt}-wrapper`,N==null?void 0:N.className,{[`${Jt}-wrapper-rtl`]:g==="rtl"},Qe,nt,$i),Fs=Object.assign(Object.assign({},N==null?void 0:N.style),st),es=Jn&&Jn.emptyText||(le==null?void 0:le("Table"))||C.createElement(Vn.Z,{componentName:"Table"}),$a=fr?fs:Xi,io={},ao=C.useMemo(()=>{const{fontSize:di,lineHeight:Oi,padding:ma,paddingXS:Ui,paddingSM:Da}=Ai,Pa=Math.floor(di*Oi);switch(qe){case"large":return ma*2+Pa;case"small":return Ui*2+Pa;default:return Da*2+Pa}},[Ai,qe]);return fr&&(io.listItemHeight=ao),pa(C.createElement("div",{ref:ye,className:rs,style:Fs},C.createElement(Ii.Z,Object.assign({spinning:!1},ha),Xa,C.createElement($a,Object.assign({},io,d,{columns:l,direction:g,expandable:Xt,prefixCls:Jt,className:U()({[`${Jt}-middle`]:qe==="middle",[`${Jt}-small`]:qe==="small",[`${Jt}-bordered`]:Ct,[`${Jt}-empty`]:Tt.length===0}),data:ta,rowKey:rr,rowClassName:Aa,emptyText:es,internalHooks:L,internalRefs:An,transformColumns:Ss})),Na)))};var ro=C.forwardRef(no);const _o=(oe,ye)=>{const je=C.useRef(0);return je.current+=1,C.createElement(ro,Object.assign({},oe,{ref:ye,_renderTimes:je.current}))},La=C.forwardRef(_o);La.SELECTION_COLUMN=Ki,La.EXPAND_COLUMN=y,La.SELECTION_ALL=ki,La.SELECTION_INVERT=oa,La.SELECTION_NONE=pi,La.Column=Mn,La.ColumnGroup=Er,La.Summary=E;var Gs=La,Zs=Gs},33166:function(en,et,f){"use strict";f.d(et,{i:function(){return y}});const y=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},45157:function(en,et,f){"use strict";f.d(et,{Z:function(){return L}});var y=f(33166);function L(ee,Ee){return y.i.reduce(($,q)=>{const C=ee[`${q}1`],Se=ee[`${q}3`],a=ee[`${q}6`],I=ee[`${q}7`];return Object.assign(Object.assign({},$),Ee(q,{lightColor:C,lightBorderColor:Se,darkColor:a,textColor:I}))},{})}},6848:function(en,et,f){"use strict";f.d(et,{Z:function(){return fe}});var y=f(59301),L=f(92310),ee=f.n(L),Ee=f(55477),$=f(35788),q=f(62892),C=f(79676),Se=f(92343),a=f(36355),I=f(33234),z=f(88088),S=f(17313),u=f(29878),x=f(19447),m=f(45157),P=f(37613),ue=f(83116);const B=ae=>{const{componentCls:te,tooltipMaxWidth:U,tooltipColor:pe,tooltipBg:Q,tooltipBorderRadius:de,zIndexPopup:ie,controlHeight:v,boxShadowSecondary:_,paddingSM:V,paddingXS:J,tooltipRadiusOuter:Le}=ae;return[{[te]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,S.Wf)(ae)),{position:"absolute",zIndex:ie,display:"block",width:"max-content",maxWidth:U,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":Q,[`${te}-inner`]:{minWidth:v,minHeight:v,padding:`${V/2}px ${J}px`,color:pe,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:Q,borderRadius:de,boxShadow:_,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${te}-inner`]:{borderRadius:Math.min(de,x.qN)}},[`${te}-content`]:{position:"relative"}}),(0,m.Z)(ae,(Oe,Ie)=>{let{darkColor:Ze}=Ie;return{[`&${te}-${Oe}`]:{[`${te}-inner`]:{backgroundColor:Ze},[`${te}-arrow`]:{"--antd-arrow-background-color":Ze}}}})),{"&-rtl":{direction:"rtl"}})},(0,x.ZP)((0,P.TS)(ae,{borderRadiusOuter:Le}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:de,limitVerticalRadius:!0}),{[`${te}-pure`]:{position:"relative",maxWidth:"none",margin:ae.sizePopupArrow}}]};var W=(ae,te)=>(0,ue.Z)("Tooltip",pe=>{if(te===!1)return[];const{borderRadius:Q,colorTextLightSolid:de,colorBgDefault:ie,borderRadiusOuter:v}=pe,_=(0,P.TS)(pe,{tooltipMaxWidth:250,tooltipColor:de,tooltipBorderRadius:Q,tooltipBg:ie,tooltipRadiusOuter:v>4?4:v});return[B(_),(0,u._y)(pe,"zoom-big-fast")]},pe=>{let{zIndexPopupBase:Q,colorBgSpotlight:de}=pe;return{zIndexPopup:Q+70,colorBgDefault:de}},{resetStyle:!1})(ae),ne=f(36785);function Y(ae,te){const U=(0,ne.o2)(te),pe=ee()({[`${ae}-${te}`]:te&&U}),Q={},de={};return te&&!U&&(Q.background=te,de["--antd-arrow-background-color"]=te),{className:pe,overlayStyle:Q,arrowStyle:de}}var R=ae=>{const{prefixCls:te,className:U,placement:pe="top",title:Q,color:de,overlayInnerStyle:ie}=ae,{getPrefixCls:v}=y.useContext(a.E_),_=v("tooltip",te),[V,J]=W(_,!0),Le=Y(_,de),Oe=Le.arrowStyle,Ie=Object.assign(Object.assign({},ie),Le.overlayStyle),Ze=ee()(J,_,`${_}-pure`,`${_}-placement-${pe}`,U,Le.className);return V(y.createElement("div",{className:Ze,style:Oe},y.createElement("div",{className:`${_}-arrow`}),y.createElement(Ee.G,Object.assign({},ae,{className:J,prefixCls:_,overlayInnerStyle:Ie}),Q)))},Z=function(ae,te){var U={};for(var pe in ae)Object.prototype.hasOwnProperty.call(ae,pe)&&te.indexOf(pe)<0&&(U[pe]=ae[pe]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Q=0,pe=Object.getOwnPropertySymbols(ae);Q<pe.length;Q++)te.indexOf(pe[Q])<0&&Object.prototype.propertyIsEnumerable.call(ae,pe[Q])&&(U[pe[Q]]=ae[pe[Q]]);return U};const j=(ae,te)=>{const U={},pe=Object.assign({},ae);return te.forEach(Q=>{ae&&Q in ae&&(U[Q]=ae[Q],delete pe[Q])}),{picked:U,omitted:pe}};function he(ae,te){const U=ae.type;if((U.__ANT_BUTTON===!0||ae.type==="button")&&ae.props.disabled||U.__ANT_SWITCH===!0&&(ae.props.disabled||ae.props.loading)||U.__ANT_RADIO===!0&&ae.props.disabled){const{picked:pe,omitted:Q}=j(ae.props.style,["position","left","right","top","bottom","float","display","zIndex"]),de=Object.assign(Object.assign({display:"inline-block"},pe),{cursor:"not-allowed",width:ae.props.block?"100%":void 0}),ie=Object.assign(Object.assign({},Q),{pointerEvents:"none"}),v=(0,Se.Tm)(ae,{style:ie,className:null});return y.createElement("span",{style:de,className:ee()(ae.props.className,`${te}-disabled-compatible-wrapper`)},v)}return ae}const me=y.forwardRef((ae,te)=>{var U,pe;const{prefixCls:Q,openClassName:de,getTooltipContainer:ie,overlayClassName:v,color:_,overlayInnerStyle:V,children:J,afterOpenChange:Le,afterVisibleChange:Oe,destroyTooltipOnHide:Ie,arrow:Ze=!0,title:ut,overlay:ct,builtinPlacements:it,arrowPointAtCenter:Nt=!1,autoAdjustOverflow:qt=!0}=ae,nn=!!Ze,[,Dt]=(0,z.Z)(),{getPopupContainer:$t,getPrefixCls:ot,direction:se}=y.useContext(a.E_),be=y.useRef(null),H=()=>{var rt;(rt=be.current)===null||rt===void 0||rt.forceAlign()};y.useImperativeHandle(te,()=>({forceAlign:H,forcePopupAlign:()=>{H()}}));const[O,xe]=(0,$.Z)(!1,{value:(U=ae.open)!==null&&U!==void 0?U:ae.visible,defaultValue:(pe=ae.defaultOpen)!==null&&pe!==void 0?pe:ae.defaultVisible}),k=!ut&&!ct&&ut!==0,E=rt=>{var Je,Ae;xe(k?!1:rt),k||((Je=ae.onOpenChange)===null||Je===void 0||Je.call(ae,rt),(Ae=ae.onVisibleChange)===null||Ae===void 0||Ae.call(ae,rt))},T=y.useMemo(()=>{var rt,Je;let Ae=Nt;return typeof Ze=="object"&&(Ae=(Je=(rt=Ze.pointAtCenter)!==null&&rt!==void 0?rt:Ze.arrowPointAtCenter)!==null&&Je!==void 0?Je:Nt),it||(0,C.Z)({arrowPointAtCenter:Ae,autoAdjustOverflow:qt,arrowWidth:nn?Dt.sizePopupArrow:0,borderRadius:Dt.borderRadius,offset:Dt.marginXXS,visibleFirst:!0})},[Nt,Ze,it,Dt]),X=y.useMemo(()=>ut===0?ut:ct||ut||"",[ct,ut]),G=y.createElement(I.BR,null,typeof X=="function"?X():X),{getPopupContainer:K,placement:we="top",mouseEnterDelay:Ke=.1,mouseLeaveDelay:ke=.1,overlayStyle:Te,rootClassName:Ye}=ae,tt=Z(ae,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),We=ot("tooltip",Q),yt=ot(),St=ae["data-popover-inject"];let pt=O;!("open"in ae)&&!("visible"in ae)&&k&&(pt=!1);const Lt=he((0,Se.l$)(J)&&!(0,Se.M2)(J)?J:y.createElement("span",null,J),We),_t=Lt.props,w=!_t.className||typeof _t.className=="string"?ee()(_t.className,de||`${We}-open`):_t.className,[D,bt]=W(We,!St),ce=Y(We,_),Me=ce.arrowStyle,pn=Object.assign(Object.assign({},V),ce.overlayStyle),He=ee()(v,{[`${We}-rtl`]:se==="rtl"},ce.className,Ye,bt);return D(y.createElement(Ee.Z,Object.assign({},tt,{showArrow:nn,placement:we,mouseEnterDelay:Ke,mouseLeaveDelay:ke,prefixCls:We,overlayClassName:He,overlayStyle:Object.assign(Object.assign({},Me),Te),getTooltipContainer:K||ie||$t,ref:be,builtinPlacements:T,overlay:G,visible:pt,onVisibleChange:E,afterVisibleChange:Le!=null?Le:Oe,overlayInnerStyle:pn,arrowContent:y.createElement("span",{className:`${We}-arrow-content`}),motion:{motionName:(0,q.m)(yt,"zoom-big-fast",ae.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!Ie}),pt?(0,Se.Tm)(Lt,{className:w}):Lt))});me._InternalPanelDoNotUseOrYouWillBeFired=R;var fe=me},86914:function(en,et,f){"use strict";f.d(et,{default:function(){return _}});var y=f(99581),L=f(26390),ee=f(43971),Ee=f(58358),$=f(5891),q=f(59301),C={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"},Se=C,a=f(88853),I=function(J,Le){return q.createElement(a.Z,(0,$.Z)({},J,{ref:Le,icon:Se}))},z=q.forwardRef(I),S=z,u=f(92310),x=f.n(u),m=f(35654),P=f(71430),ue=f(36355),B=f(44757),W=f(62892),ne=f(20648);const Y=4;function b(V){const{dropPosition:J,dropLevelOffset:Le,prefixCls:Oe,indent:Ie,direction:Ze="ltr"}=V,ut=Ze==="ltr"?"left":"right",ct=Ze==="ltr"?"right":"left",it={[ut]:-Le*Ie+Y,[ct]:0};switch(J){case-1:it.top=-3;break;case 1:it.bottom=-3;break;default:it.bottom=-3,it[ut]=Ie+Y;break}return q.createElement("div",{style:it,className:`${Oe}-drop-indicator`})}var R=f(48610),j=q.forwardRef((V,J)=>{const{getPrefixCls:Le,direction:Oe,virtual:Ie,tree:Ze}=q.useContext(ue.E_),{prefixCls:ut,className:ct,showIcon:it=!1,showLine:Nt,switcherIcon:qt,blockNode:nn=!1,children:Dt,checkable:$t=!1,selectable:ot=!0,draggable:se,motion:be,style:H}=V,O=Le("tree",ut),xe=Le(),k=be!=null?be:Object.assign(Object.assign({},(0,W.Z)(xe)),{motionAppear:!1}),E=Object.assign(Object.assign({},V),{checkable:$t,selectable:ot,showIcon:it,motion:k,blockNode:nn,showLine:!!Nt,dropIndicatorRender:b}),[T,X]=(0,ne.ZP)(O),G=q.useMemo(()=>{if(!se)return!1;let we={};switch(typeof se){case"function":we.nodeDraggable=se;break;case"object":we=Object.assign({},se);break;default:break}return we.icon!==!1&&(we.icon=we.icon||q.createElement(B.Z,null)),we},[se]),K=we=>q.createElement(R.Z,{prefixCls:O,switcherIcon:qt,treeNodeProps:we,showLine:Nt});return T(q.createElement(y.Z,Object.assign({itemHeight:20,ref:J,virtual:Ie},E,{style:Object.assign(Object.assign({},Ze==null?void 0:Ze.style),H),prefixCls:O,className:x()({[`${O}-icon-hide`]:!it,[`${O}-block-node`]:nn,[`${O}-unselectable`]:!ot,[`${O}-rtl`]:Oe==="rtl"},Ze==null?void 0:Ze.className,ct,X),direction:Oe,checkable:$t&&q.createElement("span",{className:`${O}-checkbox-inner`}),selectable:ot,switcherIcon:K,draggable:G}),Dt))}),he;(function(V){V[V.None=0]="None",V[V.Start=1]="Start",V[V.End=2]="End"})(he||(he={}));function me(V,J){function Le(Oe){const{key:Ie,children:Ze}=Oe;J(Ie,Oe)!==!1&&me(Ze||[],J)}V.forEach(Le)}function fe(V){let{treeData:J,expandedKeys:Le,startKey:Oe,endKey:Ie}=V;const Ze=[];let ut=he.None;if(Oe&&Oe===Ie)return[Oe];if(!Oe||!Ie)return[];function ct(it){return it===Oe||it===Ie}return me(J,it=>{if(ut===he.End)return!1;if(ct(it)){if(Ze.push(it),ut===he.None)ut=he.Start;else if(ut===he.Start)return ut=he.End,!1}else ut===he.Start&&Ze.push(it);return Le.includes(it)}),Ze}function ae(V,J){const Le=(0,L.Z)(J),Oe=[];return me(V,(Ie,Ze)=>{const ut=Le.indexOf(Ie);return ut!==-1&&(Oe.push(Ze),Le.splice(ut,1)),!!Le.length}),Oe}var te=function(V,J){var Le={};for(var Oe in V)Object.prototype.hasOwnProperty.call(V,Oe)&&J.indexOf(Oe)<0&&(Le[Oe]=V[Oe]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Oe=Object.getOwnPropertySymbols(V);Ie<Oe.length;Ie++)J.indexOf(Oe[Ie])<0&&Object.prototype.propertyIsEnumerable.call(V,Oe[Ie])&&(Le[Oe[Ie]]=V[Oe[Ie]]);return Le};function U(V){const{isLeaf:J,expanded:Le}=V;return J?q.createElement(ee.Z,null):Le?q.createElement(Ee.Z,null):q.createElement(S,null)}function pe(V){let{treeData:J,children:Le}=V;return J||(0,P.zn)(Le)}const Q=(V,J)=>{var{defaultExpandAll:Le,defaultExpandParent:Oe,defaultExpandedKeys:Ie}=V,Ze=te(V,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const ut=q.useRef(),ct=q.useRef(),it=()=>{const{keyEntities:G}=(0,P.I8)(pe(Ze));let K;return Le?K=Object.keys(G):Oe?K=(0,m.r7)(Ze.expandedKeys||Ie||[],G):K=Ze.expandedKeys||Ie,K},[Nt,qt]=q.useState(Ze.selectedKeys||Ze.defaultSelectedKeys||[]),[nn,Dt]=q.useState(()=>it());q.useEffect(()=>{"selectedKeys"in Ze&&qt(Ze.selectedKeys)},[Ze.selectedKeys]),q.useEffect(()=>{"expandedKeys"in Ze&&Dt(Ze.expandedKeys)},[Ze.expandedKeys]);const $t=(G,K)=>{var we;return"expandedKeys"in Ze||Dt(G),(we=Ze.onExpand)===null||we===void 0?void 0:we.call(Ze,G,K)},ot=(G,K)=>{var we;const{multiple:Ke}=Ze,{node:ke,nativeEvent:Te}=K,{key:Ye=""}=ke,tt=pe(Ze),We=Object.assign(Object.assign({},K),{selected:!0}),yt=(Te==null?void 0:Te.ctrlKey)||(Te==null?void 0:Te.metaKey),St=Te==null?void 0:Te.shiftKey;let pt;Ke&&yt?(pt=G,ut.current=Ye,ct.current=pt,We.selectedNodes=ae(tt,pt)):Ke&&St?(pt=Array.from(new Set([].concat((0,L.Z)(ct.current||[]),(0,L.Z)(fe({treeData:tt,expandedKeys:nn,startKey:Ye,endKey:ut.current}))))),We.selectedNodes=ae(tt,pt)):(pt=[Ye],ut.current=Ye,ct.current=pt,We.selectedNodes=ae(tt,pt)),(we=Ze.onSelect)===null||we===void 0||we.call(Ze,pt,We),"selectedKeys"in Ze||qt(pt)},{getPrefixCls:se,direction:be}=q.useContext(ue.E_),{prefixCls:H,className:O,showIcon:xe=!0,expandAction:k="click"}=Ze,E=te(Ze,["prefixCls","className","showIcon","expandAction"]),T=se("tree",H),X=x()(`${T}-directory`,{[`${T}-directory-rtl`]:be==="rtl"},O);return q.createElement(j,Object.assign({icon:U,ref:J,blockNode:!0},E,{showIcon:xe,expandAction:k,prefixCls:T,className:X,expandedKeys:nn,selectedKeys:Nt,onSelect:ot,onExpand:$t}))};var ie=q.forwardRef(Q);const v=j;v.DirectoryTree=ie,v.TreeNode=y.O;var _=v},20648:function(en,et,f){"use strict";f.d(et,{TM:function(){return u},Yk:function(){return S}});var y=f(9792),L=f(98447),ee=f(17313),Ee=f(8378),$=f(37613),q=f(83116);const C=new y.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Se=(x,m)=>({[`.${x}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${m.motionDurationSlow}`}}}),a=(x,m)=>({[`.${x}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:m.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${m.lineWidthBold}px solid ${m.colorPrimary}`,borderRadius:"50%",content:'""'}}}),I=(x,m)=>{const{treeCls:P,treeNodeCls:ue,treeNodePadding:B,titleHeight:W,nodeSelectedBg:ne,nodeHoverBg:Y}=m,b=m.paddingXS;return{[P]:Object.assign(Object.assign({},(0,ee.Wf)(m)),{background:m.colorBgContainer,borderRadius:m.borderRadius,transition:`background-color ${m.motionDurationSlow}`,[`&${P}-rtl`]:{[`${P}-switcher`]:{"&_close":{[`${P}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${P}-active-focused)`]:Object.assign({},(0,ee.oN)(m)),[`${P}-list-holder-inner`]:{alignItems:"flex-start"},[`&${P}-block-node`]:{[`${P}-list-holder-inner`]:{alignItems:"stretch",[`${P}-node-content-wrapper`]:{flex:"auto"},[`${ue}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:B,insetInlineStart:0,border:`1px solid ${m.colorPrimary}`,opacity:0,animationName:C,animationDuration:m.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${ue}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${B}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${P}-node-content-wrapper`]:{color:m.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${P}-node-content-wrapper`]:Object.assign({},(0,ee.oN)(m)),[`&:not(${ue}-disabled).filter-node ${P}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${P}-draggable-icon`]:{flexShrink:0,width:W,lineHeight:`${W}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${m.motionDurationSlow}`,[`${ue}:hover &`]:{opacity:.45}},[`&${ue}-disabled`]:{[`${P}-draggable-icon`]:{visibility:"hidden"}}}},[`${P}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:W}},[`${P}-draggable-icon`]:{visibility:"hidden"},[`${P}-switcher`]:Object.assign(Object.assign({},Se(x,m)),{position:"relative",flex:"none",alignSelf:"stretch",width:W,margin:0,lineHeight:`${W}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${P}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:m.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:W/2,bottom:-B,marginInlineStart:-1,borderInlineEnd:`1px solid ${m.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:W/2*.8,height:W/2,borderBottom:`1px solid ${m.colorBorder}`,content:'""'}}}),[`${P}-checkbox`]:{top:"initial",marginInlineEnd:b},[`${P}-node-content-wrapper, ${P}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:W,margin:0,padding:`0 ${m.paddingXS/2}px`,color:"inherit",lineHeight:`${W}px`,background:"transparent",borderRadius:m.borderRadius,cursor:"pointer",transition:`all ${m.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:Y},[`&${P}-node-selected`]:{backgroundColor:ne},[`${P}-iconEle`]:{display:"inline-block",width:W,height:W,lineHeight:`${W}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${P}-unselectable ${P}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${P}-node-content-wrapper`]:Object.assign({lineHeight:`${W}px`,userSelect:"none"},a(x,m)),[`${ue}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${m.colorPrimary}`}},"&-show-line":{[`${P}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:W/2,bottom:-B,borderInlineEnd:`1px solid ${m.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${P}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${ue}-leaf-last`]:{[`${P}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${W/2}px !important`}}}}})}},z=x=>{const{treeCls:m,treeNodeCls:P,treeNodePadding:ue,directoryNodeSelectedBg:B,directoryNodeSelectedColor:W}=x;return{[`${m}${m}-directory`]:{[P]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:ue,insetInlineStart:0,transition:`background-color ${x.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:x.controlItemBgHover}},"> *":{zIndex:1},[`${m}-switcher`]:{transition:`color ${x.motionDurationMid}`},[`${m}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${m}-node-selected`]:{color:W,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:B},[`${m}-switcher`]:{color:W},[`${m}-node-content-wrapper`]:{color:W,background:"transparent"}}}}}},S=(x,m)=>{const P=`.${x}`,ue=`${P}-treenode`,B=m.paddingXS/2,W=(0,$.TS)(m,{treeCls:P,treeNodeCls:ue,treeNodePadding:B});return[I(x,W),z(W)]},u=x=>{const{controlHeightSM:m}=x;return{titleHeight:m,nodeHoverBg:x.controlItemBgHover,nodeSelectedBg:x.controlItemBgActive}};et.ZP=(0,q.Z)("Tree",(x,m)=>{let{prefixCls:P}=m;return[{[x.componentCls]:(0,L.C2)(`${P}-checkbox`,x)},S(P,x),(0,Ee.Z)(x)]},x=>{const{colorTextLightSolid:m,colorPrimary:P}=x;return Object.assign(Object.assign({},u(x)),{directoryNodeSelectedColor:m,directoryNodeSelectedBg:P})})},48610:function(en,et,f){"use strict";f.d(et,{Z:function(){return ue}});var y=f(5891),L=f(59301),ee={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"},Ee=ee,$=f(88853),q=function(W,ne){return L.createElement($.Z,(0,y.Z)({},W,{ref:ne,icon:Ee}))},C=L.forwardRef(q),Se=C,a=f(43971),I=f(50023),z=f(77042),S=f(5527),u=f(92310),x=f.n(u),m=f(92343),ue=B=>{const{prefixCls:W,switcherIcon:ne,treeNodeProps:Y,showLine:b}=B,{isLeaf:R,expanded:Z,loading:j}=Y;if(j)return L.createElement(I.Z,{className:`${W}-switcher-loading-icon`});let he;if(b&&typeof b=="object"&&(he=b.showLeafIcon),R){if(!b)return null;if(typeof he!="boolean"&&he){const ae=typeof he=="function"?he(Y):he,te=`${W}-switcher-line-custom-icon`;return(0,m.l$)(ae)?(0,m.Tm)(ae,{className:x()(ae.props.className||"",te)}):ae}return he?L.createElement(a.Z,{className:`${W}-switcher-line-icon`}):L.createElement("span",{className:`${W}-switcher-leaf-line`})}const me=`${W}-switcher-icon`,fe=typeof ne=="function"?ne(Y):ne;return(0,m.l$)(fe)?(0,m.Tm)(fe,{className:x()(fe.props.className||"",me)}):fe!==void 0?fe:b?Z?L.createElement(z.Z,{className:`${W}-switcher-line-icon`}):L.createElement(S.Z,{className:`${W}-switcher-line-icon`}):L.createElement(Se,{className:me})}},64018:function(){var en,et,f,y=!1,L,ee;window.PR_SHOULD_USE_CONTINUATION=!0;var Ee,$;(function(){var q=window,C=["break,continue,do,else,for,if,return,while"],Se=[C,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],a=[Se,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],I=[a,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],z=[a,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],S=[a,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],u="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",x=[a,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],m="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",P=[C,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],ue=[C,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],B=[C,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],W=[I,S,z,x,m,P,ue,B],ne=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,Y="str",b="kwd",R="com",Z="typ",j="lit",he="pun",me="pln",fe="tag",ae="dec",te="src",U="atn",pe="atv",Q="nocode",de="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function ie(se){for(var be=0,H=!1,O=!1,xe=0,k=se.length;xe<k;++xe){var E=se[xe];if(E.ignoreCase)O=!0;else if(/[a-z]/i.test(E.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){H=!0,O=!1;break}}var T={b:8,t:9,n:10,v:11,f:12,r:13};function X(ke){var Te=ke.charCodeAt(0);if(Te!==92)return Te;var Ye=ke.charAt(1);return Te=T[Ye],Te||("0"<=Ye&&Ye<="7"?parseInt(ke.substring(1),8):Ye==="u"||Ye==="x"?parseInt(ke.substring(2),16):ke.charCodeAt(1))}function G(ke){if(ke<32)return(ke<16?"\\x0":"\\x")+ke.toString(16);var Te=String.fromCharCode(ke);return Te==="\\"||Te==="-"||Te==="]"||Te==="^"?"\\"+Te:Te}function K(ke){var Te=ke.substring(1,ke.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),Ye=[],tt=Te[0]==="^",We=["["];tt&&We.push("^");for(var yt=tt?1:0,St=Te.length;yt<St;++yt){var pt=Te[yt];if(/\\[bdsw]/i.test(pt))We.push(pt);else{var Lt=X(pt),_t;yt+2<St&&Te[yt+1]==="-"?(_t=X(Te[yt+2]),yt+=2):_t=Lt,Ye.push([Lt,_t]),_t<65||Lt>122||(_t<65||Lt>90||Ye.push([Math.max(65,Lt)|32,Math.min(_t,90)|32]),_t<97||Lt>122||Ye.push([Math.max(97,Lt)&-33,Math.min(_t,122)&-33]))}}Ye.sort(function(ce,Me){return ce[0]-Me[0]||Me[1]-ce[1]});for(var w=[],D=[],yt=0;yt<Ye.length;++yt){var bt=Ye[yt];bt[0]<=D[1]+1?D[1]=Math.max(D[1],bt[1]):w.push(D=bt)}for(var yt=0;yt<w.length;++yt){var bt=w[yt];We.push(G(bt[0])),bt[1]>bt[0]&&(bt[1]+1>bt[0]&&We.push("-"),We.push(G(bt[1])))}return We.push("]"),We.join("")}function we(ke){for(var Te=ke.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),Ye=Te.length,tt=[],We=0,yt=0;We<Ye;++We){var St=Te[We];if(St==="(")++yt;else if(St.charAt(0)==="\\"){var pt=+St.substring(1);pt&&(pt<=yt?tt[pt]=-1:Te[We]=G(pt))}}for(var We=1;We<tt.length;++We)tt[We]===-1&&(tt[We]=++be);for(var We=0,yt=0;We<Ye;++We){var St=Te[We];if(St==="(")++yt,tt[yt]||(Te[We]="(?:");else if(St.charAt(0)==="\\"){var pt=+St.substring(1);pt&&pt<=yt&&(Te[We]="\\"+tt[pt])}}for(var We=0;We<Ye;++We)Te[We]==="^"&&Te[We+1]!=="^"&&(Te[We]="");if(ke.ignoreCase&&H)for(var We=0;We<Ye;++We){var St=Te[We],Lt=St.charAt(0);St.length>=2&&Lt==="["?Te[We]=K(St):Lt!=="\\"&&(Te[We]=St.replace(/[a-zA-Z]/g,function(D){var bt=D.charCodeAt(0);return"["+String.fromCharCode(bt&-33,bt|32)+"]"}))}return Te.join("")}for(var Ke=[],xe=0,k=se.length;xe<k;++xe){var E=se[xe];if(E.global||E.multiline)throw new Error(""+E);Ke.push("(?:"+we(E)+")")}return new RegExp(Ke.join("|"),O?"gi":"g")}function v(se,be){var H=/(?:^|\s)nocode(?:\s|$)/,O=[],xe=0,k=[],E=0;function T(X){var G=X.nodeType;if(G==1){if(H.test(X.className))return;for(var K=X.firstChild;K;K=K.nextSibling)T(K);var we=X.nodeName.toLowerCase();(we==="br"||we==="li")&&(O[E]=`
`,k[E<<1]=xe++,k[E++<<1|1]=X)}else if(G==3||G==4){var Ke=X.nodeValue;Ke.length&&(be?Ke=Ke.replace(/\r\n?/g,`
`):Ke=Ke.replace(/[ \t\r\n]+/g," "),O[E]=Ke,k[E<<1]=xe,xe+=Ke.length,k[E++<<1|1]=X)}}return T(se),{sourceCode:O.join("").replace(/\n$/,""),spans:k}}function _(se,be,H,O,xe){if(H){var k={sourceNode:se,pre:1,langExtension:null,numberLines:null,sourceCode:H,spans:null,basePos:be,decorations:null};O(k),xe.push.apply(xe,k.decorations)}}var V=/\S/;function J(se){for(var be=void 0,H=se.firstChild;H;H=H.nextSibling){var O=H.nodeType;be=O===1?be?se:H:O===3&&V.test(H.nodeValue)?se:be}return be===se?void 0:be}function Le(se,be){var H={},O;(function(){for(var E=se.concat(be),T=[],X={},G=0,K=E.length;G<K;++G){var we=E[G],Ke=we[3];if(Ke)for(var ke=Ke.length;--ke>=0;)H[Ke.charAt(ke)]=we;var Te=we[1],Ye=""+Te;X.hasOwnProperty(Ye)||(T.push(Te),X[Ye]=null)}T.push(/[\0-\uffff]/),O=ie(T)})();var xe=be.length,k=function(E){for(var T=E.sourceCode,X=E.basePos,G=E.sourceNode,K=[X,me],we=0,Ke=T.match(O)||[],ke={},Te=0,Ye=Ke.length;Te<Ye;++Te){var tt=Ke[Te],We=ke[tt],yt=void 0,St;if(typeof We=="string")St=!1;else{var pt=H[tt.charAt(0)];if(pt)yt=tt.match(pt[1]),We=pt[0];else{for(var Lt=0;Lt<xe;++Lt)if(pt=be[Lt],yt=tt.match(pt[1]),yt){We=pt[0];break}yt||(We=me)}St=We.length>=5&&We.substring(0,5)==="lang-",St&&!(yt&&typeof yt[1]=="string")&&(St=!1,We=te),St||(ke[tt]=We)}var _t=we;if(we+=tt.length,!St)K.push(X+_t,We);else{var w=yt[1],D=tt.indexOf(w),bt=D+w.length;yt[2]&&(bt=tt.length-yt[2].length,D=bt-w.length);var ce=We.substring(5);_(G,X+_t,tt.substring(0,D),k,K),_(G,X+_t+D,w,Nt(ce,w),K),_(G,X+_t+bt,tt.substring(bt),k,K)}}E.decorations=K};return k}function Oe(se){var be=[],H=[];se.tripleQuotedStrings?be.push([Y,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):se.multiLineStrings?be.push([Y,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):be.push([Y,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),se.verbatimStrings&&H.push([Y,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var O=se.hashComments;O&&(se.cStyleComments?(O>1?be.push([R,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):be.push([R,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),H.push([Y,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):be.push([R,/^#[^\r\n]*/,null,"#"])),se.cStyleComments&&(H.push([R,/^\/\/[^\r\n]*/,null]),H.push([R,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var xe=se.regexLiterals;if(xe){var k=xe>1?"":`
\r`,E=k?".":"[\\S\\s]",T="/(?=[^/*"+k+"])(?:[^/\\x5B\\x5C"+k+"]|\\x5C"+E+"|\\x5B(?:[^\\x5C\\x5D"+k+"]|\\x5C"+E+")*(?:\\x5D|$))+/";H.push(["lang-regex",RegExp("^"+de+"("+T+")")])}var X=se.types;X&&H.push([Z,X]);var G=(""+se.keywords).replace(/^ | $/g,"");G.length&&H.push([b,new RegExp("^(?:"+G.replace(/[\s,]+/g,"|")+")\\b"),null]),be.push([me,/^\s+/,null,` \r
\xA0`]);var K="^.[^\\s\\w.$@'\"`/\\\\]*";return se.regexLiterals&&(K+="(?!s*/)"),H.push([j,/^@[a-z_$][a-z_$@0-9]*/i,null],[Z,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[me,/^[a-z_$][a-z_$@0-9]*/i,null],[j,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[me,/^\\[\s\S]?/,null],[he,new RegExp(K),null]),Le(be,H)}var Ie=Oe({keywords:W,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function Ze(se,be,H){for(var O=/(?:^|\s)nocode(?:\s|$)/,xe=/\r\n?|\n/,k=se.ownerDocument,E=k.createElement("li");se.firstChild;)E.appendChild(se.firstChild);var T=[E];function X(Te){var Ye=Te.nodeType;if(Ye==1&&!O.test(Te.className))if(Te.nodeName==="br")G(Te),Te.parentNode&&Te.parentNode.removeChild(Te);else for(var tt=Te.firstChild;tt;tt=tt.nextSibling)X(tt);else if((Ye==3||Ye==4)&&H){var We=Te.nodeValue,yt=We.match(xe);if(yt){var St=We.substring(0,yt.index);Te.nodeValue=St;var pt=We.substring(yt.index+yt[0].length);if(pt){var Lt=Te.parentNode;Lt.insertBefore(k.createTextNode(pt),Te.nextSibling)}G(Te),St||Te.parentNode.removeChild(Te)}}}function G(Te){for(;!Te.nextSibling;)if(Te=Te.parentNode,!Te)return;function Ye(yt,St){var pt=St?yt.cloneNode(!1):yt,Lt=yt.parentNode;if(Lt){var _t=Ye(Lt,1),w=yt.nextSibling;_t.appendChild(pt);for(var D=w;D;D=w)w=D.nextSibling,_t.appendChild(D)}return pt}for(var tt=Ye(Te.nextSibling,0),We;(We=tt.parentNode)&&We.nodeType===1;)tt=We;T.push(tt)}for(var K=0;K<T.length;++K)X(T[K]);be===(be|0)&&T[0].setAttribute("value",be);var we=k.createElement("ol");we.className="linenums";for(var Ke=Math.max(0,be-1|0)||0,K=0,ke=T.length;K<ke;++K)E=T[K],E.className="L"+(K+Ke)%10,E.firstChild||E.appendChild(k.createTextNode("\xA0")),we.appendChild(E);se.appendChild(we)}function ut(se){var be=/\bMSIE\s(\d+)/.exec(navigator.userAgent);be=be&&+be[1]<=8;var H=/\n/g,O=se.sourceCode,xe=O.length,k=0,E=se.spans,T=E.length,X=0,G=se.decorations,K=G.length,we=0;G[K]=xe;var Ke,ke;for(ke=Ke=0;ke<K;)G[ke]!==G[ke+2]?(G[Ke++]=G[ke++],G[Ke++]=G[ke++]):ke+=2;for(K=Ke,ke=Ke=0;ke<K;){for(var Te=G[ke],Ye=G[ke+1],tt=ke+2;tt+2<=K&&G[tt+1]===Ye;)tt+=2;G[Ke++]=Te,G[Ke++]=Ye,ke=tt}K=G.length=Ke;var We=se.sourceNode,yt="";We&&(yt=We.style.display,We.style.display="none");try{for(var St=null;X<T;){var pt=E[X],Lt=E[X+2]||xe,_t=G[we+2]||xe,tt=Math.min(Lt,_t),w=E[X+1],D;if(w.nodeType!==1&&(D=O.substring(k,tt))){be&&(D=D.replace(H,"\r")),w.nodeValue=D;var bt=w.ownerDocument,ce=bt.createElement("span");ce.className=G[we+1];var Me=w.parentNode;Me.replaceChild(ce,w),ce.appendChild(w),k<Lt&&(E[X+1]=w=bt.createTextNode(O.substring(tt,Lt)),Me.insertBefore(w,ce.nextSibling))}k=tt,k>=Lt&&(X+=2),k>=_t&&(we+=2)}}finally{We&&(We.style.display=yt)}}var ct={};function it(se,be){for(var H=be.length;--H>=0;){var O=be[H];ct.hasOwnProperty(O)?q.console&&console.warn("cannot override language handler %s",O):ct[O]=se}}function Nt(se,be){return se&&ct.hasOwnProperty(se)||(se=/^\s*</.test(be)?"default-markup":"default-code"),ct[se]}it(Ie,["default-code"]),it(Le([],[[me,/^[^<?]+/],[ae,/^<!\w[^>]*(?:>|$)/],[R,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[he,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),it(Le([[me,/^[\s]+/,null,` \r
`],[pe,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[fe,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[U,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[he,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),it(Le([],[[pe,/^[\s\S]+/]]),["uq.val"]),it(Oe({keywords:I,hashComments:!0,cStyleComments:!0,types:ne}),["c","cc","cpp","cxx","cyc","m"]),it(Oe({keywords:"null,true,false"}),["json"]),it(Oe({keywords:S,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:ne}),["cs"]),it(Oe({keywords:z,cStyleComments:!0}),["java"]),it(Oe({keywords:B,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),it(Oe({keywords:P,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),it(Oe({keywords:m,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),it(Oe({keywords:ue,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),it(Oe({keywords:x,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),it(Oe({keywords:u,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),it(Le([],[[Y,/^[\s\S]+/]]),["regex"]);function qt(se){var be=se.langExtension;try{var H=v(se.sourceNode,se.pre),O=H.sourceCode;se.sourceCode=O,se.spans=H.spans,se.basePos=0,Nt(be,O)(se),ut(se)}catch(xe){q.console&&console.log(xe&&xe.stack||xe)}}function nn(se,be,H){var O=H||!1,xe=be||null,k=document.createElement("div");k.innerHTML="<pre>"+se+"</pre>",k=k.firstChild,O&&Ze(k,O,!0);var E={langExtension:xe,numberLines:O,sourceNode:k,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return qt(E),k.innerHTML}function Dt(se,be){var H=be||document.body,O=H.ownerDocument||document;function xe(pt){return H.getElementsByTagName(pt)}for(var k=[xe("pre"),xe("code"),xe("xmp")],E=[],T=0;T<k.length;++T)for(var X=0,G=k[T].length;X<G;++X)E.push(k[T][X]);k=null;var K=Date;K.now||(K={now:function(){return+new Date}});var we=0,Ke=/\blang(?:uage)?-([\w.]+)(?!\S)/,ke=/\bprettyprint\b/,Te=/\bprettyprinted\b/,Ye=/pre|xmp/i,tt=/^code$/i,We=/^(?:pre|code|xmp)$/i,yt={};function St(){for(var pt=q.PR_SHOULD_USE_CONTINUATION?K.now()+250:1/0;we<E.length&&K.now()<pt;we++){for(var Lt=E[we],_t=yt,w=Lt;w=w.previousSibling;){var D=w.nodeType,bt=(D===7||D===8)&&w.nodeValue;if(bt?!/^\??prettify\b/.test(bt):D!==3||/\S/.test(w.nodeValue))break;if(bt){_t={},bt.replace(/\b(\w+)=([\w:.%+-]+)/g,function($e,bn,Tn){_t[bn]=Tn});break}}var ce=Lt.className;if((_t!==yt||ke.test(ce))&&!Te.test(ce)){for(var Me=!1,pn=Lt.parentNode;pn;pn=pn.parentNode){var He=pn.tagName;if(We.test(He)&&pn.className&&ke.test(pn.className)){Me=!0;break}}if(!Me){Lt.className+=" prettyprinted";var rt=_t.lang;if(!rt){rt=ce.match(Ke);var Je;!rt&&(Je=J(Lt))&&tt.test(Je.tagName)&&(rt=Je.className.match(Ke)),rt&&(rt=rt[1])}var Ae;if(Ye.test(Lt.tagName))Ae=1;else{var De=Lt.currentStyle,ze=O.defaultView,Xe=De?De.whiteSpace:ze&&ze.getComputedStyle?ze.getComputedStyle(Lt,null).getPropertyValue("white-space"):0;Ae=Xe&&Xe.substring(0,3)==="pre"}var ge=_t.linenums;(ge=ge==="true"||+ge)||(ge=ce.match(/\blinenums\b(?::(\d+))?/),ge=ge?ge[1]&&ge[1].length?+ge[1]:!0:!1),ge&&Ze(Lt,ge,Ae);var an={langExtension:rt,sourceNode:Lt,numberLines:ge,pre:Ae,sourceCode:null,basePos:null,spans:null,decorations:null};qt(an)}}}we<E.length?q.setTimeout(St,250):typeof se=="function"&&se()}St()}var $t=q.PR={createSimpleLexer:Le,registerLangHandler:it,sourceDecorator:Oe,PR_ATTRIB_NAME:U,PR_ATTRIB_VALUE:pe,PR_COMMENT:R,PR_DECLARATION:ae,PR_KEYWORD:b,PR_LITERAL:j,PR_NOCODE:Q,PR_PLAIN:me,PR_PUNCTUATION:he,PR_SOURCE:te,PR_STRING:Y,PR_TAG:fe,PR_TYPE:Z,prettyPrintOne:y?q.prettyPrintOne=nn:Ee=nn,prettyPrint:$=y?q.prettyPrint=Dt:$=Dt},ot=q.define;typeof ot=="function"&&ot.amd&&ot("google-code-prettify",[],function(){return $t})})()},25769:function(en,et,f){"use strict";var y=f(98040),L={"text/plain":"Text","text/html":"Url",default:"Text"},ee="Copy to clipboard: #{key}, Enter";function Ee(q){var C=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return q.replace(/#{\s*key\s*}/g,C)}function $(q,C){var Se,a,I,z,S,u,x=!1;C||(C={}),Se=C.debug||!1;try{I=y(),z=document.createRange(),S=document.getSelection(),u=document.createElement("span"),u.textContent=q,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",function(P){if(P.stopPropagation(),C.format)if(P.preventDefault(),typeof P.clipboardData=="undefined"){Se&&console.warn("unable to use e.clipboardData"),Se&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var ue=L[C.format]||L.default;window.clipboardData.setData(ue,q)}else P.clipboardData.clearData(),P.clipboardData.setData(C.format,q);C.onCopy&&(P.preventDefault(),C.onCopy(P.clipboardData))}),document.body.appendChild(u),z.selectNodeContents(u),S.addRange(z);var m=document.execCommand("copy");if(!m)throw new Error("copy command was unsuccessful");x=!0}catch(P){Se&&console.error("unable to copy using execCommand: ",P),Se&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(C.format||"text",q),C.onCopy&&C.onCopy(window.clipboardData),x=!0}catch(ue){Se&&console.error("unable to copy using clipboardData: ",ue),Se&&console.error("falling back to prompt"),a=Ee("message"in C?C.message:ee),window.prompt(a,q)}}finally{S&&(typeof S.removeRange=="function"?S.removeRange(z):S.removeAllRanges()),u&&document.body.removeChild(u),I()}return x}en.exports=$},86061:function(en,et,f){"use strict";var y,L;function ee(Ee,$,q){var C=function(Se,a){return Ee.js_beautify(Se,a)};return C.js=Ee.js_beautify,C.css=$.css_beautify,C.html=q.html_beautify,C.js_beautify=Ee.js_beautify,C.css_beautify=$.css_beautify,C.html_beautify=q.html_beautify,C}y=[f(32328),f(34655),f(32708)],L=function(Ee,$,q){return ee(Ee,$,q)}.apply(et,y),L!==void 0&&(en.exports=L)},34655:function(en,et){var f,y;(function(){var L;(function(){"use strict";var Ee=[,,function(Se){function a(S){this.__parent=S,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}a.prototype.clone_empty=function(){var S=new a(this.__parent);return S.set_indent(this.__indent_count,this.__alignment_count),S},a.prototype.item=function(S){return S<0?this.__items[this.__items.length+S]:this.__items[S]},a.prototype.has_match=function(S){for(var u=this.__items.length-1;u>=0;u--)if(this.__items[u].match(S))return!0;return!1},a.prototype.set_indent=function(S,u){this.is_empty()&&(this.__indent_count=S||0,this.__alignment_count=u||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},a.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},a.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},a.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var S=this.__parent.current_line;return S.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),S.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),S.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,S.__items[0]===" "&&(S.__items.splice(0,1),S.__character_count-=1),!0}return!1},a.prototype.is_empty=function(){return this.__items.length===0},a.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},a.prototype.push=function(S){this.__items.push(S);var u=S.lastIndexOf(`
`);u!==-1?this.__character_count=S.length-u:this.__character_count+=S.length},a.prototype.pop=function(){var S=null;return this.is_empty()||(S=this.__items.pop(),this.__character_count-=S.length),S},a.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},a.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},a.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},a.prototype.toString=function(){var S="";return this.is_empty()?this.__parent.indent_empty_lines&&(S=this.__parent.get_indent_string(this.__indent_count)):(S=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),S+=this.__items.join("")),S};function I(S,u){this.__cache=[""],this.__indent_size=S.indent_size,this.__indent_string=S.indent_char,S.indent_with_tabs||(this.__indent_string=new Array(S.indent_size+1).join(S.indent_char)),u=u||"",S.indent_level>0&&(u=new Array(S.indent_level+1).join(this.__indent_string)),this.__base_string=u,this.__base_string_length=u.length}I.prototype.get_indent_size=function(S,u){var x=this.__base_string_length;return u=u||0,S<0&&(x=0),x+=S*this.__indent_size,x+=u,x},I.prototype.get_indent_string=function(S,u){var x=this.__base_string;return u=u||0,S<0&&(S=0,x=""),u+=S*this.__indent_size,this.__ensure_cache(u),x+=this.__cache[u],x},I.prototype.__ensure_cache=function(S){for(;S>=this.__cache.length;)this.__add_column()},I.prototype.__add_column=function(){var S=this.__cache.length,u=0,x="";this.__indent_size&&S>=this.__indent_size&&(u=Math.floor(S/this.__indent_size),S-=u*this.__indent_size,x=new Array(u+1).join(this.__indent_string)),S&&(x+=new Array(S+1).join(" ")),this.__cache.push(x)};function z(S,u){this.__indent_cache=new I(S,u),this.raw=!1,this._end_with_newline=S.end_with_newline,this.indent_size=S.indent_size,this.wrap_line_length=S.wrap_line_length,this.indent_empty_lines=S.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new a(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}z.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},z.prototype.get_line_number=function(){return this.__lines.length},z.prototype.get_indent_string=function(S,u){return this.__indent_cache.get_indent_string(S,u)},z.prototype.get_indent_size=function(S,u){return this.__indent_cache.get_indent_size(S,u)},z.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},z.prototype.add_new_line=function(S){return this.is_empty()||!S&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},z.prototype.get_code=function(S){this.trim(!0);var u=this.current_line.pop();u&&(u[u.length-1]===`
`&&(u=u.replace(/\n+$/g,"")),this.current_line.push(u)),this._end_with_newline&&this.__add_outputline();var x=this.__lines.join(`
`);return S!==`
`&&(x=x.replace(/[\n]/g,S)),x},z.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},z.prototype.set_indent=function(S,u){return S=S||0,u=u||0,this.next_line.set_indent(S,u),this.__lines.length>1?(this.current_line.set_indent(S,u),!0):(this.current_line.set_indent(),!1)},z.prototype.add_raw_token=function(S){for(var u=0;u<S.newlines;u++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(S.whitespace_before),this.current_line.push(S.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},z.prototype.add_token=function(S){this.__add_space_before_token(),this.current_line.push(S),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},z.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},z.prototype.remove_indent=function(S){for(var u=this.__lines.length;S<u;)this.__lines[S]._remove_indent(),S++;this.current_line._remove_wrap_indent()},z.prototype.trim=function(S){for(S=S===void 0?!1:S,this.current_line.trim();S&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},z.prototype.just_added_newline=function(){return this.current_line.is_empty()},z.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},z.prototype.ensure_empty_line_above=function(S,u){for(var x=this.__lines.length-2;x>=0;){var m=this.__lines[x];if(m.is_empty())break;if(m.item(0).indexOf(S)!==0&&m.item(-1)!==u){this.__lines.splice(x+1,0,new a(this)),this.previous_line=this.__lines[this.__lines.length-2];break}x--}},Se.exports.Output=z},,,,function(Se){function a(S,u){this.raw_options=I(S,u),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}a.prototype._get_array=function(S,u){var x=this.raw_options[S],m=u||[];return typeof x=="object"?x!==null&&typeof x.concat=="function"&&(m=x.concat()):typeof x=="string"&&(m=x.split(/[^a-zA-Z0-9_\/\-]+/)),m},a.prototype._get_boolean=function(S,u){var x=this.raw_options[S],m=x===void 0?!!u:!!x;return m},a.prototype._get_characters=function(S,u){var x=this.raw_options[S],m=u||"";return typeof x=="string"&&(m=x.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),m},a.prototype._get_number=function(S,u){var x=this.raw_options[S];u=parseInt(u,10),isNaN(u)&&(u=0);var m=parseInt(x,10);return isNaN(m)&&(m=u),m},a.prototype._get_selection=function(S,u,x){var m=this._get_selection_list(S,u,x);if(m.length!==1)throw new Error("Invalid Option Value: The option '"+S+`' can only be one of the following values:
`+u+`
You passed in: '`+this.raw_options[S]+"'");return m[0]},a.prototype._get_selection_list=function(S,u,x){if(!u||u.length===0)throw new Error("Selection list cannot be empty.");if(x=x||[u[0]],!this._is_valid_selection(x,u))throw new Error("Invalid Default Value!");var m=this._get_array(S,x);if(!this._is_valid_selection(m,u))throw new Error("Invalid Option Value: The option '"+S+`' can contain only the following values:
`+u+`
You passed in: '`+this.raw_options[S]+"'");return m},a.prototype._is_valid_selection=function(S,u){return S.length&&u.length&&!S.some(function(x){return u.indexOf(x)===-1})};function I(S,u){var x={};S=z(S);var m;for(m in S)m!==u&&(x[m]=S[m]);if(u&&S[u])for(m in S[u])x[m]=S[u][m];return x}function z(S){var u={},x;for(x in S){var m=x.replace(/-/g,"_");u[m]=S[x]}return u}Se.exports.Options=a,Se.exports.normalizeOpts=z,Se.exports.mergeOpts=I},,function(Se){var a=RegExp.prototype.hasOwnProperty("sticky");function I(z){this.__input=z||"",this.__input_length=this.__input.length,this.__position=0}I.prototype.restart=function(){this.__position=0},I.prototype.back=function(){this.__position>0&&(this.__position-=1)},I.prototype.hasNext=function(){return this.__position<this.__input_length},I.prototype.next=function(){var z=null;return this.hasNext()&&(z=this.__input.charAt(this.__position),this.__position+=1),z},I.prototype.peek=function(z){var S=null;return z=z||0,z+=this.__position,z>=0&&z<this.__input_length&&(S=this.__input.charAt(z)),S},I.prototype.__match=function(z,S){z.lastIndex=S;var u=z.exec(this.__input);return u&&!(a&&z.sticky)&&u.index!==S&&(u=null),u},I.prototype.test=function(z,S){return S=S||0,S+=this.__position,S>=0&&S<this.__input_length?!!this.__match(z,S):!1},I.prototype.testChar=function(z,S){var u=this.peek(S);return z.lastIndex=0,u!==null&&z.test(u)},I.prototype.match=function(z){var S=this.__match(z,this.__position);return S?this.__position+=S[0].length:S=null,S},I.prototype.read=function(z,S,u){var x="",m;return z&&(m=this.match(z),m&&(x+=m[0])),S&&(m||!z)&&(x+=this.readUntil(S,u)),x},I.prototype.readUntil=function(z,S){var u="",x=this.__position;z.lastIndex=this.__position;var m=z.exec(this.__input);return m?(x=m.index,S&&(x+=m[0].length)):x=this.__input_length,u=this.__input.substring(this.__position,x),this.__position=x,u},I.prototype.readUntilAfter=function(z){return this.readUntil(z,!0)},I.prototype.get_regexp=function(z,S){var u=null,x="g";return S&&a&&(x="y"),typeof z=="string"&&z!==""?u=new RegExp(z,x):z&&(u=new RegExp(z.source,x)),u},I.prototype.get_literal_regexp=function(z){return RegExp(z.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},I.prototype.peekUntilAfter=function(z){var S=this.__position,u=this.readUntilAfter(z);return this.__position=S,u},I.prototype.lookBack=function(z){var S=this.__position-1;return S>=z.length&&this.__input.substring(S-z.length,S).toLowerCase()===z},Se.exports.InputScanner=I},,,,,function(Se){function a(I,z){I=typeof I=="string"?I:I.source,z=typeof z=="string"?z:z.source,this.__directives_block_pattern=new RegExp(I+/ beautify( \w+[:]\w+)+ /.source+z,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(I+/\sbeautify\signore:end\s/.source+z,"g")}a.prototype.get_directives=function(I){if(!I.match(this.__directives_block_pattern))return null;var z={};this.__directive_pattern.lastIndex=0;for(var S=this.__directive_pattern.exec(I);S;)z[S[1]]=S[2],S=this.__directive_pattern.exec(I);return z},a.prototype.readIgnored=function(I){return I.readUntilAfter(this.__directives_end_ignore_pattern)},Se.exports.Directives=a},,function(Se,a,I){var z=I(16).Beautifier,S=I(17).Options;function u(x,m){var P=new z(x,m);return P.beautify()}Se.exports=u,Se.exports.defaultOptions=function(){return new S}},function(Se,a,I){var z=I(17).Options,S=I(2).Output,u=I(8).InputScanner,x=I(13).Directives,m=new x(/\/\*/,/\*\//),P=/\r\n|[\r\n]/,ue=/\r\n|[\r\n]/g,B=/\s/,W=/(?:\s|\n)+/g,ne=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,Y=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function b(R,Z){this._source_text=R||"",this._options=new z(Z),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}b.prototype.eatString=function(R){var Z="";for(this._ch=this._input.next();this._ch;){if(Z+=this._ch,this._ch==="\\")Z+=this._input.next();else if(R.indexOf(this._ch)!==-1||this._ch===`
`)break;this._ch=this._input.next()}return Z},b.prototype.eatWhitespace=function(R){for(var Z=B.test(this._input.peek()),j=0;B.test(this._input.peek());)this._ch=this._input.next(),R&&this._ch===`
`&&(j===0||j<this._options.max_preserve_newlines)&&(j++,this._output.add_new_line(!0));return Z},b.prototype.foundNestedPseudoClass=function(){for(var R=0,Z=1,j=this._input.peek(Z);j;){if(j==="{")return!0;if(j==="(")R+=1;else if(j===")"){if(R===0)return!1;R-=1}else if(j===";"||j==="}")return!1;Z++,j=this._input.peek(Z)}return!1},b.prototype.print_string=function(R){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(R)},b.prototype.preserveSingleSpace=function(R){R&&(this._output.space_before_token=!0)},b.prototype.indent=function(){this._indentLevel++},b.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},b.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var R=this._source_text,Z=this._options.eol;Z==="auto"&&(Z=`
`,R&&P.test(R||"")&&(Z=R.match(P)[0])),R=R.replace(ue,`
`);var j=R.match(/^[\t ]*/)[0];this._output=new S(this._options,j),this._input=new u(R),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var he=0,me=!1,fe=!1,ae=!1,te=!1,U=!1,pe=this._ch,Q=!1,de,ie,v;de=this._input.read(W),ie=de!=="",v=pe,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),pe=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var _=this._input.read(ne),V=m.get_directives(_);V&&V.ignore==="start"&&(_+=m.readIgnored(this._input)),this.print_string(_),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(Y)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(ie),this.print_string(this._ch);var J=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);J.match(/[ :]$/)&&(J=this.eatString(": ").replace(/\s+$/,""),this.print_string(J),this._output.space_before_token=!0),he===0&&J.indexOf(":")!==-1&&(fe=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(ie),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var Le=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);Le.match(/[ :]$/)&&(Le=this.eatString(": ").replace(/\s+$/,""),this.print_string(Le),this._output.space_before_token=!0),he===0&&Le.indexOf(":")!==-1?(fe=!0,this.indent()):Le in this.NESTED_AT_RULE?(this._nestedLevel+=1,Le in this.CONDITIONAL_GROUP_RULE&&(ae=!0)):he===0&&!fe&&(te=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(ie),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")fe&&(fe=!1,this.outdent()),te=!1,ae?(ae=!1,me=this._indentLevel>=this._nestedLevel):me=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&me&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(v==="("?this._output.space_before_token=!1:v!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),v==="{"&&this._output.trim(!0),fe&&(this.outdent(),fe=!1),this.print_string(this._ch),me=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var Oe=0;Oe<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Oe++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Oe])){Q=!0;break}(me||ae)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!te&&he===0?(this.print_string(":"),fe||(fe=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var Ie=v==='"'||v==="'";this.preserveSingleSpace(Ie||ie),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")Q=!1,he===0?(fe&&(this.outdent(),fe=!1),te=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),he++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),he&&(he--,this.outdent()));else{var Ze=!1;this._input.lookBack("with")&&(Ze=!0),this.preserveSingleSpace(ie||Ze),this.print_string(this._ch),fe&&v==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),U=!0):(this.eatWhitespace(),he++,this.indent())}else if(this._ch===")")he&&(he--,this.outdent()),U&&this._input.peek()===";"&&this._options.selector_separator_newline&&(U=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!fe||U)&&he===0&&!te?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!fe&&he===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&B.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(ie),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),B.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var ut=v==='"'||v==="'";this.preserveSingleSpace(ut||ie),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
`&&Q&&this._output.add_new_line()}var ct=this._output.get_code(Z);return ct},Se.exports.Beautifier=b},function(Se,a,I){var z=I(6).Options;function S(u){z.call(this,u,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var x=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||x;var m=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var P=0;P<m.length;P++)m[P]!=="expand"?this.brace_style="collapse":this.brace_style=m[P]}S.prototype=new z,Se.exports.Options=S}],$={};function q(Se){var a=$[Se];if(a!==void 0)return a.exports;var I=$[Se]={exports:{}};return Ee[Se](I,I.exports,q),I.exports}var C=q(15);L=C})();var ee=L;f=[],y=function(){return{css_beautify:ee}}.apply(et,f),y!==void 0&&(en.exports=y)})()},32708:function(en,et,f){var y,L;(function(){var ee;(function(){"use strict";var C=[,,function(z){function S(m){this.__parent=m,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}S.prototype.clone_empty=function(){var m=new S(this.__parent);return m.set_indent(this.__indent_count,this.__alignment_count),m},S.prototype.item=function(m){return m<0?this.__items[this.__items.length+m]:this.__items[m]},S.prototype.has_match=function(m){for(var P=this.__items.length-1;P>=0;P--)if(this.__items[P].match(m))return!0;return!1},S.prototype.set_indent=function(m,P){this.is_empty()&&(this.__indent_count=m||0,this.__alignment_count=P||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},S.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},S.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},S.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var m=this.__parent.current_line;return m.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),m.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),m.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,m.__items[0]===" "&&(m.__items.splice(0,1),m.__character_count-=1),!0}return!1},S.prototype.is_empty=function(){return this.__items.length===0},S.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},S.prototype.push=function(m){this.__items.push(m);var P=m.lastIndexOf(`
`);P!==-1?this.__character_count=m.length-P:this.__character_count+=m.length},S.prototype.pop=function(){var m=null;return this.is_empty()||(m=this.__items.pop(),this.__character_count-=m.length),m},S.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},S.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},S.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},S.prototype.toString=function(){var m="";return this.is_empty()?this.__parent.indent_empty_lines&&(m=this.__parent.get_indent_string(this.__indent_count)):(m=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),m+=this.__items.join("")),m};function u(m,P){this.__cache=[""],this.__indent_size=m.indent_size,this.__indent_string=m.indent_char,m.indent_with_tabs||(this.__indent_string=new Array(m.indent_size+1).join(m.indent_char)),P=P||"",m.indent_level>0&&(P=new Array(m.indent_level+1).join(this.__indent_string)),this.__base_string=P,this.__base_string_length=P.length}u.prototype.get_indent_size=function(m,P){var ue=this.__base_string_length;return P=P||0,m<0&&(ue=0),ue+=m*this.__indent_size,ue+=P,ue},u.prototype.get_indent_string=function(m,P){var ue=this.__base_string;return P=P||0,m<0&&(m=0,ue=""),P+=m*this.__indent_size,this.__ensure_cache(P),ue+=this.__cache[P],ue},u.prototype.__ensure_cache=function(m){for(;m>=this.__cache.length;)this.__add_column()},u.prototype.__add_column=function(){var m=this.__cache.length,P=0,ue="";this.__indent_size&&m>=this.__indent_size&&(P=Math.floor(m/this.__indent_size),m-=P*this.__indent_size,ue=new Array(P+1).join(this.__indent_string)),m&&(ue+=new Array(m+1).join(" ")),this.__cache.push(ue)};function x(m,P){this.__indent_cache=new u(m,P),this.raw=!1,this._end_with_newline=m.end_with_newline,this.indent_size=m.indent_size,this.wrap_line_length=m.wrap_line_length,this.indent_empty_lines=m.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new S(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}x.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},x.prototype.get_line_number=function(){return this.__lines.length},x.prototype.get_indent_string=function(m,P){return this.__indent_cache.get_indent_string(m,P)},x.prototype.get_indent_size=function(m,P){return this.__indent_cache.get_indent_size(m,P)},x.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},x.prototype.add_new_line=function(m){return this.is_empty()||!m&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},x.prototype.get_code=function(m){this.trim(!0);var P=this.current_line.pop();P&&(P[P.length-1]===`
`&&(P=P.replace(/\n+$/g,"")),this.current_line.push(P)),this._end_with_newline&&this.__add_outputline();var ue=this.__lines.join(`
`);return m!==`
`&&(ue=ue.replace(/[\n]/g,m)),ue},x.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},x.prototype.set_indent=function(m,P){return m=m||0,P=P||0,this.next_line.set_indent(m,P),this.__lines.length>1?(this.current_line.set_indent(m,P),!0):(this.current_line.set_indent(),!1)},x.prototype.add_raw_token=function(m){for(var P=0;P<m.newlines;P++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(m.whitespace_before),this.current_line.push(m.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},x.prototype.add_token=function(m){this.__add_space_before_token(),this.current_line.push(m),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},x.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},x.prototype.remove_indent=function(m){for(var P=this.__lines.length;m<P;)this.__lines[m]._remove_indent(),m++;this.current_line._remove_wrap_indent()},x.prototype.trim=function(m){for(m=m===void 0?!1:m,this.current_line.trim();m&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},x.prototype.just_added_newline=function(){return this.current_line.is_empty()},x.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},x.prototype.ensure_empty_line_above=function(m,P){for(var ue=this.__lines.length-2;ue>=0;){var B=this.__lines[ue];if(B.is_empty())break;if(B.item(0).indexOf(m)!==0&&B.item(-1)!==P){this.__lines.splice(ue+1,0,new S(this)),this.previous_line=this.__lines[this.__lines.length-2];break}ue--}},z.exports.Output=x},function(z){function S(u,x,m,P){this.type=u,this.text=x,this.comments_before=null,this.newlines=m||0,this.whitespace_before=P||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}z.exports.Token=S},,,function(z){function S(m,P){this.raw_options=u(m,P),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}S.prototype._get_array=function(m,P){var ue=this.raw_options[m],B=P||[];return typeof ue=="object"?ue!==null&&typeof ue.concat=="function"&&(B=ue.concat()):typeof ue=="string"&&(B=ue.split(/[^a-zA-Z0-9_\/\-]+/)),B},S.prototype._get_boolean=function(m,P){var ue=this.raw_options[m],B=ue===void 0?!!P:!!ue;return B},S.prototype._get_characters=function(m,P){var ue=this.raw_options[m],B=P||"";return typeof ue=="string"&&(B=ue.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),B},S.prototype._get_number=function(m,P){var ue=this.raw_options[m];P=parseInt(P,10),isNaN(P)&&(P=0);var B=parseInt(ue,10);return isNaN(B)&&(B=P),B},S.prototype._get_selection=function(m,P,ue){var B=this._get_selection_list(m,P,ue);if(B.length!==1)throw new Error("Invalid Option Value: The option '"+m+`' can only be one of the following values:
`+P+`
You passed in: '`+this.raw_options[m]+"'");return B[0]},S.prototype._get_selection_list=function(m,P,ue){if(!P||P.length===0)throw new Error("Selection list cannot be empty.");if(ue=ue||[P[0]],!this._is_valid_selection(ue,P))throw new Error("Invalid Default Value!");var B=this._get_array(m,ue);if(!this._is_valid_selection(B,P))throw new Error("Invalid Option Value: The option '"+m+`' can contain only the following values:
`+P+`
You passed in: '`+this.raw_options[m]+"'");return B},S.prototype._is_valid_selection=function(m,P){return m.length&&P.length&&!m.some(function(ue){return P.indexOf(ue)===-1})};function u(m,P){var ue={};m=x(m);var B;for(B in m)B!==P&&(ue[B]=m[B]);if(P&&m[P])for(B in m[P])ue[B]=m[P][B];return ue}function x(m){var P={},ue;for(ue in m){var B=ue.replace(/-/g,"_");P[B]=m[ue]}return P}z.exports.Options=S,z.exports.normalizeOpts=x,z.exports.mergeOpts=u},,function(z){var S=RegExp.prototype.hasOwnProperty("sticky");function u(x){this.__input=x||"",this.__input_length=this.__input.length,this.__position=0}u.prototype.restart=function(){this.__position=0},u.prototype.back=function(){this.__position>0&&(this.__position-=1)},u.prototype.hasNext=function(){return this.__position<this.__input_length},u.prototype.next=function(){var x=null;return this.hasNext()&&(x=this.__input.charAt(this.__position),this.__position+=1),x},u.prototype.peek=function(x){var m=null;return x=x||0,x+=this.__position,x>=0&&x<this.__input_length&&(m=this.__input.charAt(x)),m},u.prototype.__match=function(x,m){x.lastIndex=m;var P=x.exec(this.__input);return P&&!(S&&x.sticky)&&P.index!==m&&(P=null),P},u.prototype.test=function(x,m){return m=m||0,m+=this.__position,m>=0&&m<this.__input_length?!!this.__match(x,m):!1},u.prototype.testChar=function(x,m){var P=this.peek(m);return x.lastIndex=0,P!==null&&x.test(P)},u.prototype.match=function(x){var m=this.__match(x,this.__position);return m?this.__position+=m[0].length:m=null,m},u.prototype.read=function(x,m,P){var ue="",B;return x&&(B=this.match(x),B&&(ue+=B[0])),m&&(B||!x)&&(ue+=this.readUntil(m,P)),ue},u.prototype.readUntil=function(x,m){var P="",ue=this.__position;x.lastIndex=this.__position;var B=x.exec(this.__input);return B?(ue=B.index,m&&(ue+=B[0].length)):ue=this.__input_length,P=this.__input.substring(this.__position,ue),this.__position=ue,P},u.prototype.readUntilAfter=function(x){return this.readUntil(x,!0)},u.prototype.get_regexp=function(x,m){var P=null,ue="g";return m&&S&&(ue="y"),typeof x=="string"&&x!==""?P=new RegExp(x,ue):x&&(P=new RegExp(x.source,ue)),P},u.prototype.get_literal_regexp=function(x){return RegExp(x.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},u.prototype.peekUntilAfter=function(x){var m=this.__position,P=this.readUntilAfter(x);return this.__position=m,P},u.prototype.lookBack=function(x){var m=this.__position-1;return m>=x.length&&this.__input.substring(m-x.length,m).toLowerCase()===x},z.exports.InputScanner=u},function(z,S,u){var x=u(8).InputScanner,m=u(3).Token,P=u(10).TokenStream,ue=u(11).WhitespacePattern,B={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},W=function(ne,Y){this._input=new x(ne),this._options=Y||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new ue(this._input)};W.prototype.tokenize=function(){this._input.restart(),this.__tokens=new P,this._reset();for(var ne,Y=new m(B.START,""),b=null,R=[],Z=new P;Y.type!==B.EOF;){for(ne=this._get_next_token(Y,b);this._is_comment(ne);)Z.add(ne),ne=this._get_next_token(Y,b);Z.isEmpty()||(ne.comments_before=Z,Z=new P),ne.parent=b,this._is_opening(ne)?(R.push(b),b=ne):b&&this._is_closing(ne,b)&&(ne.opened=b,b.closed=ne,b=R.pop(),ne.parent=b),ne.previous=Y,Y.next=ne,this.__tokens.add(ne),Y=ne}return this.__tokens},W.prototype._is_first_token=function(){return this.__tokens.isEmpty()},W.prototype._reset=function(){},W.prototype._get_next_token=function(ne,Y){this._readWhitespace();var b=this._input.read(/.+/g);return b?this._create_token(B.RAW,b):this._create_token(B.EOF,"")},W.prototype._is_comment=function(ne){return!1},W.prototype._is_opening=function(ne){return!1},W.prototype._is_closing=function(ne,Y){return!1},W.prototype._create_token=function(ne,Y){var b=new m(ne,Y,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return b},W.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},z.exports.Tokenizer=W,z.exports.TOKEN=B},function(z){function S(u){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=u}S.prototype.restart=function(){this.__position=0},S.prototype.isEmpty=function(){return this.__tokens_length===0},S.prototype.hasNext=function(){return this.__position<this.__tokens_length},S.prototype.next=function(){var u=null;return this.hasNext()&&(u=this.__tokens[this.__position],this.__position+=1),u},S.prototype.peek=function(u){var x=null;return u=u||0,u+=this.__position,u>=0&&u<this.__tokens_length&&(x=this.__tokens[u]),x},S.prototype.add=function(u){this.__parent_token&&(u.parent=this.__parent_token),this.__tokens.push(u),this.__tokens_length+=1},z.exports.TokenStream=S},function(z,S,u){var x=u(12).Pattern;function m(P,ue){x.call(this,P,ue),ue?this._line_regexp=this._input.get_regexp(ue._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}m.prototype=new x,m.prototype.__set_whitespace_patterns=function(P,ue){P+="\\t ",ue+="\\n\\r",this._match_pattern=this._input.get_regexp("["+P+ue+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+ue+"]")},m.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var P=this._input.read(this._match_pattern);if(P===" ")this.whitespace_before_token=" ";else if(P){var ue=this.__split(this._newline_regexp,P);this.newline_count=ue.length-1,this.whitespace_before_token=ue[this.newline_count]}return P},m.prototype.matching=function(P,ue){var B=this._create();return B.__set_whitespace_patterns(P,ue),B._update(),B},m.prototype._create=function(){return new m(this._input,this)},m.prototype.__split=function(P,ue){P.lastIndex=0;for(var B=0,W=[],ne=P.exec(ue);ne;)W.push(ue.substring(B,ne.index)),B=ne.index+ne[0].length,ne=P.exec(ue);return B<ue.length?W.push(ue.substring(B,ue.length)):W.push(""),W},z.exports.WhitespacePattern=m},function(z){function S(u,x){this._input=u,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,x&&(this._starting_pattern=this._input.get_regexp(x._starting_pattern,!0),this._match_pattern=this._input.get_regexp(x._match_pattern,!0),this._until_pattern=this._input.get_regexp(x._until_pattern),this._until_after=x._until_after)}S.prototype.read=function(){var u=this._input.read(this._starting_pattern);return(!this._starting_pattern||u)&&(u+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),u},S.prototype.read_match=function(){return this._input.match(this._match_pattern)},S.prototype.until_after=function(u){var x=this._create();return x._until_after=!0,x._until_pattern=this._input.get_regexp(u),x._update(),x},S.prototype.until=function(u){var x=this._create();return x._until_after=!1,x._until_pattern=this._input.get_regexp(u),x._update(),x},S.prototype.starting_with=function(u){var x=this._create();return x._starting_pattern=this._input.get_regexp(u,!0),x._update(),x},S.prototype.matching=function(u){var x=this._create();return x._match_pattern=this._input.get_regexp(u,!0),x._update(),x},S.prototype._create=function(){return new S(this._input,this)},S.prototype._update=function(){},z.exports.Pattern=S},function(z){function S(u,x){u=typeof u=="string"?u:u.source,x=typeof x=="string"?x:x.source,this.__directives_block_pattern=new RegExp(u+/ beautify( \w+[:]\w+)+ /.source+x,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(u+/\sbeautify\signore:end\s/.source+x,"g")}S.prototype.get_directives=function(u){if(!u.match(this.__directives_block_pattern))return null;var x={};this.__directive_pattern.lastIndex=0;for(var m=this.__directive_pattern.exec(u);m;)x[m[1]]=m[2],m=this.__directive_pattern.exec(u);return x},S.prototype.readIgnored=function(u){return u.readUntilAfter(this.__directives_end_ignore_pattern)},z.exports.Directives=S},function(z,S,u){var x=u(12).Pattern,m={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function P(ue,B){x.call(this,ue,B),this.__template_pattern=null,this._disabled=Object.assign({},m),this._excluded=Object.assign({},m),B&&(this.__template_pattern=this._input.get_regexp(B.__template_pattern),this._excluded=Object.assign(this._excluded,B._excluded),this._disabled=Object.assign(this._disabled,B._disabled));var W=new x(ue);this.__patterns={handlebars_comment:W.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:W.starting_with(/{{{/).until_after(/}}}/),handlebars:W.starting_with(/{{/).until_after(/}}/),php:W.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:W.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:W.starting_with(/{%/).until_after(/%}/),django_value:W.starting_with(/{{/).until_after(/}}/),django_comment:W.starting_with(/{#/).until_after(/#}/),smarty:W.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:W.starting_with(/{\*/).until_after(/\*}/),smarty_literal:W.starting_with(/{literal}/).until_after(/{\/literal}/)}}P.prototype=new x,P.prototype._create=function(){return new P(this._input,this)},P.prototype._update=function(){this.__set_templated_pattern()},P.prototype.disable=function(ue){var B=this._create();return B._disabled[ue]=!0,B._update(),B},P.prototype.read_options=function(ue){var B=this._create();for(var W in m)B._disabled[W]=ue.templating.indexOf(W)===-1;return B._update(),B},P.prototype.exclude=function(ue){var B=this._create();return B._excluded[ue]=!0,B._update(),B},P.prototype.read=function(){var ue="";this._match_pattern?ue=this._input.read(this._starting_pattern):ue=this._input.read(this._starting_pattern,this.__template_pattern);for(var B=this._read_template();B;)this._match_pattern?B+=this._input.read(this._match_pattern):B+=this._input.readUntil(this.__template_pattern),ue+=B,B=this._read_template();return this._until_after&&(ue+=this._input.readUntilAfter(this._until_pattern)),ue},P.prototype.__set_templated_pattern=function(){var ue=[];this._disabled.php||ue.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||ue.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||ue.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(ue.push(this.__patterns.django._starting_pattern.source),ue.push(this.__patterns.django_value._starting_pattern.source),ue.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||ue.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&ue.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+ue.join("|")+")")},P.prototype._read_template=function(){var ue="",B=this._input.peek();if(B==="<"){var W=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&W==="?"&&(ue=ue||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&W==="%"&&(ue=ue||this.__patterns.erb.read())}else B==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(ue=ue||this.__patterns.handlebars_comment.read(),ue=ue||this.__patterns.handlebars_unescaped.read(),ue=ue||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(ue=ue||this.__patterns.django_value.read()),this._excluded.django||(ue=ue||this.__patterns.django_comment.read(),ue=ue||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(ue=ue||this.__patterns.smarty_comment.read(),ue=ue||this.__patterns.smarty_literal.read(),ue=ue||this.__patterns.smarty.read()));return ue},z.exports.TemplatablePattern=P},,,,function(z,S,u){var x=u(19).Beautifier,m=u(20).Options;function P(ue,B,W,ne){var Y=new x(ue,B,W,ne);return Y.beautify()}z.exports=P,z.exports.defaultOptions=function(){return new m}},function(z,S,u){var x=u(20).Options,m=u(2).Output,P=u(21).Tokenizer,ue=u(21).TOKEN,B=/\r\n|[\r\n]/,W=/\r\n|[\r\n]/g,ne=function(te,U){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=te.max_preserve_newlines,this.preserve_newlines=te.preserve_newlines,this._output=new m(te,U)};ne.prototype.current_line_has_match=function(te){return this._output.current_line.has_match(te)},ne.prototype.set_space_before_token=function(te,U){this._output.space_before_token=te,this._output.non_breaking_space=U},ne.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},ne.prototype.add_raw_token=function(te){this._output.add_raw_token(te)},ne.prototype.print_preserved_newlines=function(te){var U=0;te.type!==ue.TEXT&&te.previous.type!==ue.TEXT&&(U=te.newlines?1:0),this.preserve_newlines&&(U=te.newlines<this.max_preserve_newlines+1?te.newlines:this.max_preserve_newlines+1);for(var pe=0;pe<U;pe++)this.print_newline(pe>0);return U!==0},ne.prototype.traverse_whitespace=function(te){return te.whitespace_before||te.newlines?(this.print_preserved_newlines(te)||(this._output.space_before_token=!0),!0):!1},ne.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},ne.prototype.print_newline=function(te){this._output.add_new_line(te)},ne.prototype.print_token=function(te){te.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(te.text))},ne.prototype.indent=function(){this.indent_level++},ne.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},ne.prototype.get_full_indent=function(te){return te=this.indent_level+(te||0),te<1?"":this._output.get_indent_string(te)};var Y=function(te){for(var U=null,pe=te.next;pe.type!==ue.EOF&&te.closed!==pe;){if(pe.type===ue.ATTRIBUTE&&pe.text==="type"){pe.next&&pe.next.type===ue.EQUALS&&pe.next.next&&pe.next.next.type===ue.VALUE&&(U=pe.next.next.text);break}pe=pe.next}return U},b=function(te,U){var pe=null,Q=null;return U.closed?(te==="script"?pe="text/javascript":te==="style"&&(pe="text/css"),pe=Y(U)||pe,pe.search("text/css")>-1?Q="css":pe.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?Q="javascript":pe.search(/(text|application|dojo)\/(x-)?(html)/)>-1?Q="html":pe.search(/test\/null/)>-1&&(Q="null"),Q):null};function R(te,U){return U.indexOf(te)!==-1}function Z(te,U,pe){this.parent=te||null,this.tag=U?U.tag_name:"",this.indent_level=pe||0,this.parser_token=U||null}function j(te){this._printer=te,this._current_frame=null}j.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},j.prototype.record_tag=function(te){var U=new Z(this._current_frame,te,this._printer.indent_level);this._current_frame=U},j.prototype._try_pop_frame=function(te){var U=null;return te&&(U=te.parser_token,this._printer.indent_level=te.indent_level,this._current_frame=te.parent),U},j.prototype._get_frame=function(te,U){for(var pe=this._current_frame;pe&&te.indexOf(pe.tag)===-1;){if(U&&U.indexOf(pe.tag)!==-1){pe=null;break}pe=pe.parent}return pe},j.prototype.try_pop=function(te,U){var pe=this._get_frame([te],U);return this._try_pop_frame(pe)},j.prototype.indent_to_tag=function(te){var U=this._get_frame(te);U&&(this._printer.indent_level=U.indent_level)};function he(te,U,pe,Q){this._source_text=te||"",U=U||{},this._js_beautify=pe,this._css_beautify=Q,this._tag_stack=null;var de=new x(U,"html");this._options=de,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}he.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var te=this._source_text,U=this._options.eol;this._options.eol==="auto"&&(U=`
`,te&&B.test(te)&&(U=te.match(B)[0])),te=te.replace(W,`
`);var pe=te.match(/^[\t ]*/)[0],Q={text:"",type:""},de=new me,ie=new ne(this._options,pe),v=new P(te,this._options).tokenize();this._tag_stack=new j(ie);for(var _=null,V=v.next();V.type!==ue.EOF;)V.type===ue.TAG_OPEN||V.type===ue.COMMENT?(_=this._handle_tag_open(ie,V,de,Q,v),de=_):V.type===ue.ATTRIBUTE||V.type===ue.EQUALS||V.type===ue.VALUE||V.type===ue.TEXT&&!de.tag_complete?_=this._handle_inside_tag(ie,V,de,Q):V.type===ue.TAG_CLOSE?_=this._handle_tag_close(ie,V,de):V.type===ue.TEXT?_=this._handle_text(ie,V,de):V.type===ue.CONTROL_FLOW_OPEN?_=this._handle_control_flow_open(ie,V):V.type===ue.CONTROL_FLOW_CLOSE?_=this._handle_control_flow_close(ie,V):ie.add_raw_token(V),Q=_,V=v.next();var J=ie._output.get_code(U);return J},he.prototype._handle_control_flow_open=function(te,U){var pe={text:U.text,type:U.type};return te.set_space_before_token(U.newlines||U.whitespace_before!=="",!0),U.newlines?te.print_preserved_newlines(U):te.set_space_before_token(U.newlines||U.whitespace_before!=="",!0),te.print_token(U),te.indent(),pe},he.prototype._handle_control_flow_close=function(te,U){var pe={text:U.text,type:U.type};return te.deindent(),U.newlines?te.print_preserved_newlines(U):te.set_space_before_token(U.newlines||U.whitespace_before!=="",!0),te.print_token(U),pe},he.prototype._handle_tag_close=function(te,U,pe){var Q={text:U.text,type:U.type};return te.alignment_size=0,pe.tag_complete=!0,te.set_space_before_token(U.newlines||U.whitespace_before!=="",!0),pe.is_unformatted?te.add_raw_token(U):(pe.tag_start_char==="<"&&(te.set_space_before_token(U.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&pe.has_wrapped_attrs&&te.print_newline(!1)),te.print_token(U)),pe.indent_content&&!(pe.is_unformatted||pe.is_content_unformatted)&&(te.indent(),pe.indent_content=!1),!pe.is_inline_element&&!(pe.is_unformatted||pe.is_content_unformatted)&&te.set_wrap_point(),Q},he.prototype._handle_inside_tag=function(te,U,pe,Q){var de=pe.has_wrapped_attrs,ie={text:U.text,type:U.type};return te.set_space_before_token(U.newlines||U.whitespace_before!=="",!0),pe.is_unformatted?te.add_raw_token(U):pe.tag_start_char==="{"&&U.type===ue.TEXT?te.print_preserved_newlines(U)?(U.newlines=0,te.add_raw_token(U)):te.print_token(U):(U.type===ue.ATTRIBUTE?te.set_space_before_token(!0):(U.type===ue.EQUALS||U.type===ue.VALUE&&U.previous.type===ue.EQUALS)&&te.set_space_before_token(!1),U.type===ue.ATTRIBUTE&&pe.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(te.traverse_whitespace(U),de=de||U.newlines!==0),this._is_wrap_attributes_force&&pe.attr_count>=this._options.wrap_attributes_min_attrs&&(Q.type!==ue.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(te.print_newline(!1),de=!0)),te.print_token(U),de=de||te.previous_token_wrapped(),pe.has_wrapped_attrs=de),ie},he.prototype._handle_text=function(te,U,pe){var Q={text:U.text,type:"TK_CONTENT"};return pe.custom_beautifier_name?this._print_custom_beatifier_text(te,U,pe):pe.is_unformatted||pe.is_content_unformatted?te.add_raw_token(U):(te.traverse_whitespace(U),te.print_token(U)),Q},he.prototype._print_custom_beatifier_text=function(te,U,pe){var Q=this;if(U.text!==""){var de=U.text,ie,v=1,_="",V="";pe.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?ie=this._js_beautify:pe.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?ie=this._css_beautify:pe.custom_beautifier_name==="html"&&(ie=function(ut,ct){var it=new he(ut,ct,Q._js_beautify,Q._css_beautify);return it.beautify()}),this._options.indent_scripts==="keep"?v=0:this._options.indent_scripts==="separate"&&(v=-te.indent_level);var J=te.get_full_indent(v);if(de=de.replace(/\n[ \t]*$/,""),pe.custom_beautifier_name!=="html"&&de[0]==="<"&&de.match(/^(<!--|<!\[CDATA\[)/)){var Le=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(de);if(!Le){te.add_raw_token(U);return}_=J+Le[1]+`
`,de=Le[4],Le[5]&&(V=J+Le[5]),de=de.replace(/\n[ \t]*$/,""),(Le[2]||Le[3].indexOf(`
`)!==-1)&&(Le=Le[3].match(/[ \t]+$/),Le&&(U.whitespace_before=Le[0]))}if(de)if(ie){var Oe=function(){this.eol=`
`};Oe.prototype=this._options.raw_options;var Ie=new Oe;de=ie(J+de,Ie)}else{var Ze=U.whitespace_before;Ze&&(de=de.replace(new RegExp(`
(`+Ze+")?","g"),`
`)),de=J+de.replace(/\n/g,`
`+J)}_&&(de?de=_+de+`
`+V:de=_+V),te.print_newline(!1),de&&(U.text=de,U.whitespace_before="",U.newlines=0,te.add_raw_token(U),te.print_newline(!0))}},he.prototype._handle_tag_open=function(te,U,pe,Q,de){var ie=this._get_tag_open_token(U);if((pe.is_unformatted||pe.is_content_unformatted)&&!pe.is_empty_element&&U.type===ue.TAG_OPEN&&!ie.is_start_tag?(te.add_raw_token(U),ie.start_tag_token=this._tag_stack.try_pop(ie.tag_name)):(te.traverse_whitespace(U),this._set_tag_position(te,U,ie,pe,Q),ie.is_inline_element||te.set_wrap_point(),te.print_token(U)),ie.is_start_tag&&this._is_wrap_attributes_force){var v=0,_;do _=de.peek(v),_.type===ue.ATTRIBUTE&&(ie.attr_count+=1),v+=1;while(_.type!==ue.EOF&&_.type!==ue.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(ie.alignment_size=U.text.length+1),!ie.tag_complete&&!ie.is_unformatted&&(te.alignment_size=ie.alignment_size),ie};var me=function(te,U){if(this.parent=te||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!U)this.tag_complete=!0;else{var pe;this.tag_start_char=U.text[0],this.text=U.text,this.tag_start_char==="<"?(pe=U.text.match(/^<([^\s>]*)/),this.tag_check=pe?pe[1]:""):(pe=U.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=pe?pe[1]:"",(U.text.startsWith("{{#>")||U.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&U.next!==null?this.tag_check=U.next.text.split(" ")[0]:this.tag_check=U.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),U.type===ue.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||U.closed&&U.closed.text==="/>";var Q=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(Q=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(Q)))}};he.prototype._get_tag_open_token=function(te){var U=new me(this._tag_stack.get_parser_token(),te);return U.alignment_size=this._options.wrap_attributes_indent_size,U.is_end_tag=U.is_end_tag||R(U.tag_check,this._options.void_elements),U.is_empty_element=U.tag_complete||U.is_start_tag&&U.is_end_tag,U.is_unformatted=!U.tag_complete&&R(U.tag_check,this._options.unformatted),U.is_content_unformatted=!U.is_empty_element&&R(U.tag_check,this._options.content_unformatted),U.is_inline_element=R(U.tag_name,this._options.inline)||this._options.inline_custom_elements&&U.tag_name.includes("-")||U.tag_start_char==="{",U},he.prototype._set_tag_position=function(te,U,pe,Q,de){if(pe.is_empty_element||(pe.is_end_tag?pe.start_tag_token=this._tag_stack.try_pop(pe.tag_name):(this._do_optional_end_element(pe)&&(pe.is_inline_element||te.print_newline(!1)),this._tag_stack.record_tag(pe),(pe.tag_name==="script"||pe.tag_name==="style")&&!(pe.is_unformatted||pe.is_content_unformatted)&&(pe.custom_beautifier_name=b(pe.tag_check,U)))),R(pe.tag_check,this._options.extra_liners)&&(te.print_newline(!1),te._output.just_added_blankline()||te.print_newline(!0)),pe.is_empty_element){if(pe.tag_start_char==="{"&&pe.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),pe.indent_content=!0;var ie=te.current_line_has_match(/{{#if/);ie||te.print_newline(!1)}pe.tag_name==="!--"&&de.type===ue.TAG_CLOSE&&Q.is_end_tag&&pe.text.indexOf(`
`)===-1||(pe.is_inline_element||pe.is_unformatted||te.print_newline(!1),this._calcluate_parent_multiline(te,pe))}else if(pe.is_end_tag){var v=!1;v=pe.start_tag_token&&pe.start_tag_token.multiline_content,v=v||!pe.is_inline_element&&!(Q.is_inline_element||Q.is_unformatted)&&!(de.type===ue.TAG_CLOSE&&pe.start_tag_token===Q)&&de.type!=="TK_CONTENT",(pe.is_content_unformatted||pe.is_unformatted)&&(v=!1),v&&te.print_newline(!1)}else pe.indent_content=!pe.custom_beautifier_name,pe.tag_start_char==="<"&&(pe.tag_name==="html"?pe.indent_content=this._options.indent_inner_html:pe.tag_name==="head"?pe.indent_content=this._options.indent_head_inner_html:pe.tag_name==="body"&&(pe.indent_content=this._options.indent_body_inner_html)),!(pe.is_inline_element||pe.is_unformatted)&&(de.type!=="TK_CONTENT"||pe.is_content_unformatted)&&te.print_newline(!1),this._calcluate_parent_multiline(te,pe)},he.prototype._calcluate_parent_multiline=function(te,U){U.parent&&te._output.just_added_newline()&&!((U.is_inline_element||U.is_unformatted)&&U.parent.is_inline_element)&&(U.parent.multiline_content=!0)};var fe=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],ae=["a","audio","del","ins","map","noscript","video"];he.prototype._do_optional_end_element=function(te){var U=null;if(!(te.is_empty_element||!te.is_start_tag||!te.parent)){if(te.tag_name==="body")U=U||this._tag_stack.try_pop("head");else if(te.tag_name==="li")U=U||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(te.tag_name==="dd"||te.tag_name==="dt")U=U||this._tag_stack.try_pop("dt",["dl"]),U=U||this._tag_stack.try_pop("dd",["dl"]);else if(te.parent.tag_name==="p"&&fe.indexOf(te.tag_name)!==-1){var pe=te.parent.parent;(!pe||ae.indexOf(pe.tag_name)===-1)&&(U=U||this._tag_stack.try_pop("p"))}else te.tag_name==="rp"||te.tag_name==="rt"?(U=U||this._tag_stack.try_pop("rt",["ruby","rtc"]),U=U||this._tag_stack.try_pop("rp",["ruby","rtc"])):te.tag_name==="optgroup"?U=U||this._tag_stack.try_pop("optgroup",["select"]):te.tag_name==="option"?U=U||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):te.tag_name==="colgroup"?U=U||this._tag_stack.try_pop("caption",["table"]):te.tag_name==="thead"?(U=U||this._tag_stack.try_pop("caption",["table"]),U=U||this._tag_stack.try_pop("colgroup",["table"])):te.tag_name==="tbody"||te.tag_name==="tfoot"?(U=U||this._tag_stack.try_pop("caption",["table"]),U=U||this._tag_stack.try_pop("colgroup",["table"]),U=U||this._tag_stack.try_pop("thead",["table"]),U=U||this._tag_stack.try_pop("tbody",["table"])):te.tag_name==="tr"?(U=U||this._tag_stack.try_pop("caption",["table"]),U=U||this._tag_stack.try_pop("colgroup",["table"]),U=U||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(te.tag_name==="th"||te.tag_name==="td")&&(U=U||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),U=U||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return te.parent=this._tag_stack.get_parser_token(),U}},z.exports.Beautifier=he},function(z,S,u){var x=u(6).Options;function m(P){x.call(this,P,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}m.prototype=new x,z.exports.Options=m},function(z,S,u){var x=u(9).Tokenizer,m=u(9).TOKEN,P=u(13).Directives,ue=u(14).TemplatablePattern,B=u(12).Pattern,W={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:m.START,RAW:m.RAW,EOF:m.EOF},ne=new P(/<\!--/,/-->/),Y=function(b,R){x.call(this,b,R),this._current_tag_name="";var Z=new ue(this._input).read_options(this._options),j=new B(this._input);if(this.__patterns={word:Z.until(/[\n\r\t <]/),word_control_flow_close_excluded:Z.until(/[\n\r\t <}]/),single_quote:Z.until_after(/'/),double_quote:Z.until_after(/"/),attribute:Z.until(/[\n\r\t =>]|\/>/),element_name:Z.until(/[\n\r\t >\/]/),angular_control_flow_start:j.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:j.starting_with(/{{!--/).until_after(/--}}/),handlebars:j.starting_with(/{{/).until_after(/}}/),handlebars_open:j.until(/[\n\r\t }]/),handlebars_raw_close:j.until(/}}/),comment:j.starting_with(/<!--/).until_after(/-->/),cdata:j.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:j.starting_with(/<!\[/).until_after(/]>/),processing:j.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var he=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=j.matching(he).until_after(he)}};Y.prototype=new x,Y.prototype._is_comment=function(b){return!1},Y.prototype._is_opening=function(b){return b.type===W.TAG_OPEN||b.type===W.CONTROL_FLOW_OPEN},Y.prototype._is_closing=function(b,R){return b.type===W.TAG_CLOSE&&R&&((b.text===">"||b.text==="/>")&&R.text[0]==="<"||b.text==="}}"&&R.text[0]==="{"&&R.text[1]==="{")||b.type===W.CONTROL_FLOW_CLOSE&&b.text==="}"&&R.text.endsWith("{")},Y.prototype._reset=function(){this._current_tag_name=""},Y.prototype._get_next_token=function(b,R){var Z=null;this._readWhitespace();var j=this._input.peek();return j===null?this._create_token(W.EOF,""):(Z=Z||this._read_open_handlebars(j,R),Z=Z||this._read_attribute(j,b,R),Z=Z||this._read_close(j,R),Z=Z||this._read_control_flows(j,R),Z=Z||this._read_raw_content(j,b,R),Z=Z||this._read_content_word(j,R),Z=Z||this._read_comment_or_cdata(j),Z=Z||this._read_processing(j),Z=Z||this._read_open(j,R),Z=Z||this._create_token(W.UNKNOWN,this._input.next()),Z)},Y.prototype._read_comment_or_cdata=function(b){var R=null,Z=null,j=null;if(b==="<"){var he=this._input.peek(1);he==="!"&&(Z=this.__patterns.comment.read(),Z?(j=ne.get_directives(Z),j&&j.ignore==="start"&&(Z+=ne.readIgnored(this._input))):Z=this.__patterns.cdata.read()),Z&&(R=this._create_token(W.COMMENT,Z),R.directives=j)}return R},Y.prototype._read_processing=function(b){var R=null,Z=null,j=null;if(b==="<"){var he=this._input.peek(1);(he==="!"||he==="?")&&(Z=this.__patterns.conditional_comment.read(),Z=Z||this.__patterns.processing.read()),Z&&(R=this._create_token(W.COMMENT,Z),R.directives=j)}return R},Y.prototype._read_open=function(b,R){var Z=null,j=null;return(!R||R.type===W.CONTROL_FLOW_OPEN)&&b==="<"&&(Z=this._input.next(),this._input.peek()==="/"&&(Z+=this._input.next()),Z+=this.__patterns.element_name.read(),j=this._create_token(W.TAG_OPEN,Z)),j},Y.prototype._read_open_handlebars=function(b,R){var Z=null,j=null;return(!R||R.type===W.CONTROL_FLOW_OPEN)&&this._options.indent_handlebars&&b==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(Z=this.__patterns.handlebars_comment.read(),Z=Z||this.__patterns.handlebars.read(),j=this._create_token(W.COMMENT,Z)):(Z=this.__patterns.handlebars_open.read(),j=this._create_token(W.TAG_OPEN,Z))),j},Y.prototype._read_control_flows=function(b,R){var Z="",j=null;if(!this._options.templating.includes("angular")||!this._options.indent_handlebars)return j;if(b==="@"){if(Z=this.__patterns.angular_control_flow_start.read(),Z==="")return j;for(var he=Z.endsWith("(")?1:0,me=0;!(Z.endsWith("{")&&he===me);){var fe=this._input.next();if(fe===null)break;fe==="("?he++:fe===")"&&me++,Z+=fe}j=this._create_token(W.CONTROL_FLOW_OPEN,Z)}else b==="}"&&R&&R.type===W.CONTROL_FLOW_OPEN&&(Z=this._input.next(),j=this._create_token(W.CONTROL_FLOW_CLOSE,Z));return j},Y.prototype._read_close=function(b,R){var Z=null,j=null;return R&&R.type===W.TAG_OPEN&&(R.text[0]==="<"&&(b===">"||b==="/"&&this._input.peek(1)===">")?(Z=this._input.next(),b==="/"&&(Z+=this._input.next()),j=this._create_token(W.TAG_CLOSE,Z)):R.text[0]==="{"&&b==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),j=this._create_token(W.TAG_CLOSE,"}}"))),j},Y.prototype._read_attribute=function(b,R,Z){var j=null,he="";if(Z&&Z.text[0]==="<")if(b==="=")j=this._create_token(W.EQUALS,this._input.next());else if(b==='"'||b==="'"){var me=this._input.next();b==='"'?me+=this.__patterns.double_quote.read():me+=this.__patterns.single_quote.read(),j=this._create_token(W.VALUE,me)}else he=this.__patterns.attribute.read(),he&&(R.type===W.EQUALS?j=this._create_token(W.VALUE,he):j=this._create_token(W.ATTRIBUTE,he));return j},Y.prototype._is_content_unformatted=function(b){return this._options.void_elements.indexOf(b)===-1&&(this._options.content_unformatted.indexOf(b)!==-1||this._options.unformatted.indexOf(b)!==-1)},Y.prototype._read_raw_content=function(b,R,Z){var j="";if(Z&&Z.text[0]==="{")j=this.__patterns.handlebars_raw_close.read();else if(R.type===W.TAG_CLOSE&&R.opened.text[0]==="<"&&R.text[0]!=="/"){var he=R.opened.text.substr(1).toLowerCase();if(he==="script"||he==="style"){var me=this._read_comment_or_cdata(b);if(me)return me.type=W.TEXT,me;j=this._input.readUntil(new RegExp("</"+he+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(he)&&(j=this._input.readUntil(new RegExp("</"+he+"[\\n\\r\\t ]*?>","ig")))}return j?this._create_token(W.TEXT,j):null},Y.prototype._read_content_word=function(b,R){var Z="";if(this._options.unformatted_content_delimiter&&b===this._options.unformatted_content_delimiter[0]&&(Z=this.__patterns.unformatted_content_delimiter.read()),Z||(Z=R&&R.type===W.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),Z)return this._create_token(W.TEXT,Z)},z.exports.Tokenizer=Y,z.exports.TOKEN=W}],Se={};function a(z){var S=Se[z];if(S!==void 0)return S.exports;var u=Se[z]={exports:{}};return C[z](u,u.exports,a),u.exports}var I=a(18);ee=I})();var Ee=ee;if(1)y=[f,f(32328),f(34655)],L=function(C){var Se=f(32328),a=f(34655);return{html_beautify:function(I,z){return Ee(I,z,Se.js_beautify,a.css_beautify)}}}.apply(et,y),L!==void 0&&(en.exports=L);else var $,q})()},32328:function(en,et){var f,y;(function(){var L;(function(){"use strict";var Ee=[function(Se,a,I){var z=I(1).Beautifier,S=I(5).Options;function u(x,m){var P=new z(x,m);return P.beautify()}Se.exports=u,Se.exports.defaultOptions=function(){return new S}},function(Se,a,I){var z=I(2).Output,S=I(3).Token,u=I(4),x=I(5).Options,m=I(7).Tokenizer,P=I(7).line_starters,ue=I(7).positionable_operators,B=I(7).TOKEN;function W(_,V){return V.indexOf(_)!==-1}function ne(_){return _.replace(/^\s+/g,"")}function Y(_){for(var V={},J=0;J<_.length;J++)V[_[J].replace(/-/g,"_")]=_[J];return V}function b(_,V){return _&&_.type===B.RESERVED&&_.text===V}function R(_,V){return _&&_.type===B.RESERVED&&W(_.text,V)}var Z=["case","return","do","if","throw","else","await","break","continue","async"],j=["before-newline","after-newline","preserve-newline"],he=Y(j),me=[he.before_newline,he.preserve_newline],fe={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function ae(_,V){V.multiline_frame||V.mode===fe.ForInitializer||V.mode===fe.Conditional||_.remove_indent(V.start_line_index)}function te(_){_=_.replace(u.allLineBreaks,`
`);for(var V=[],J=_.indexOf(`
`);J!==-1;)V.push(_.substring(0,J)),_=_.substring(J+1),J=_.indexOf(`
`);return _.length&&V.push(_),V}function U(_){return _===fe.ArrayLiteral}function pe(_){return W(_,[fe.Expression,fe.ForInitializer,fe.Conditional])}function Q(_,V){for(var J=0;J<_.length;J++){var Le=_[J].trim();if(Le.charAt(0)!==V)return!1}return!0}function de(_,V){for(var J=0,Le=_.length,Oe;J<Le;J++)if(Oe=_[J],Oe&&Oe.indexOf(V)!==0)return!1;return!0}function ie(_,V){V=V||{},this._source_text=_||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new x(V)}ie.prototype.create_flags=function(_,V){var J=0;_&&(J=_.indentation_level,!this._output.just_added_newline()&&_.line_indent_level>J&&(J=_.line_indent_level));var Le={mode:V,parent:_,last_token:_?_.last_token:new S(B.START_BLOCK,""),last_word:_?_.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:J,alignment:0,line_indent_level:_?_.line_indent_level:J,start_line_index:this._output.get_line_number(),ternary_depth:0};return Le},ie.prototype._reset=function(_){var V=_.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new z(this._options,V),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(fe.BlockStatement);var J=new m(_,this._options);return this._tokens=J.tokenize(),_},ie.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var _,V=this._reset(this._source_text),J=this._options.eol;this._options.eol==="auto"&&(J=`
`,V&&u.lineBreak.test(V||"")&&(J=V.match(u.lineBreak)[0]));for(var Le=this._tokens.next();Le;)this.handle_token(Le),this._last_last_text=this._flags.last_token.text,this._flags.last_token=Le,Le=this._tokens.next();return _=this._output.get_code(J),_},ie.prototype.handle_token=function(_,V){_.type===B.START_EXPR?this.handle_start_expr(_):_.type===B.END_EXPR?this.handle_end_expr(_):_.type===B.START_BLOCK?this.handle_start_block(_):_.type===B.END_BLOCK?this.handle_end_block(_):_.type===B.WORD?this.handle_word(_):_.type===B.RESERVED?this.handle_word(_):_.type===B.SEMICOLON?this.handle_semicolon(_):_.type===B.STRING?this.handle_string(_):_.type===B.EQUALS?this.handle_equals(_):_.type===B.OPERATOR?this.handle_operator(_):_.type===B.COMMA?this.handle_comma(_):_.type===B.BLOCK_COMMENT?this.handle_block_comment(_,V):_.type===B.COMMENT?this.handle_comment(_,V):_.type===B.DOT?this.handle_dot(_):_.type===B.EOF?this.handle_eof(_):_.type===B.UNKNOWN?this.handle_unknown(_,V):this.handle_unknown(_,V)},ie.prototype.handle_whitespace_and_comments=function(_,V){var J=_.newlines,Le=this._options.keep_array_indentation&&U(this._flags.mode);if(_.comments_before)for(var Oe=_.comments_before.next();Oe;)this.handle_whitespace_and_comments(Oe,V),this.handle_token(Oe,V),Oe=_.comments_before.next();if(Le)for(var Ie=0;Ie<J;Ie+=1)this.print_newline(Ie>0,V);else if(this._options.max_preserve_newlines&&J>this._options.max_preserve_newlines&&(J=this._options.max_preserve_newlines),this._options.preserve_newlines&&J>1){this.print_newline(!1,V);for(var Ze=1;Ze<J;Ze+=1)this.print_newline(!0,V)}};var v=["async","break","continue","return","throw","yield"];ie.prototype.allow_wrap_or_preserved_newline=function(_,V){if(V=V===void 0?!1:V,!this._output.just_added_newline()){var J=this._options.preserve_newlines&&_.newlines||V,Le=W(this._flags.last_token.text,ue)||W(_.text,ue);if(Le){var Oe=W(this._flags.last_token.text,ue)&&W(this._options.operator_position,me)||W(_.text,ue);J=J&&Oe}if(J)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(R(this._flags.last_token,v))return;this._output.set_wrap_point()}}},ie.prototype.print_newline=function(_,V){if(!V&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==B.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var J=this._tokens.peek();this._flags.mode===fe.Statement&&!(this._flags.if_block&&b(J,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(_)&&(this._flags.multiline_frame=!0)},ie.prototype.print_token_line_indentation=function(_){this._output.just_added_newline()&&(this._options.keep_array_indentation&&_.newlines&&(_.text==="["||U(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(_.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},ie.prototype.print_token=function(_){if(this._output.raw){this._output.add_raw_token(_);return}if(this._options.comma_first&&_.previous&&_.previous.type===B.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var V=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(V),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(_),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(_),this._output.non_breaking_space=!0,this._output.add_token(_.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},ie.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},ie.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},ie.prototype.set_mode=function(_){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,_),this._flags=this.create_flags(this._previous_flags,_),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},ie.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===fe.Statement&&ae(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},ie.prototype.start_of_object_property=function(){return this._flags.parent.mode===fe.ObjectLiteral&&this._flags.mode===fe.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||R(this._flags.last_token,["get","set"]))},ie.prototype.start_of_statement=function(_){var V=!1;return V=V||R(this._flags.last_token,["var","let","const"])&&_.type===B.WORD,V=V||b(this._flags.last_token,"do"),V=V||!(this._flags.parent.mode===fe.ObjectLiteral&&this._flags.mode===fe.Statement)&&R(this._flags.last_token,v)&&!_.newlines,V=V||b(this._flags.last_token,"else")&&!(b(_,"if")&&!_.comments_before),V=V||this._flags.last_token.type===B.END_EXPR&&(this._previous_flags.mode===fe.ForInitializer||this._previous_flags.mode===fe.Conditional),V=V||this._flags.last_token.type===B.WORD&&this._flags.mode===fe.BlockStatement&&!this._flags.in_case&&!(_.text==="--"||_.text==="++")&&this._last_last_text!=="function"&&_.type!==B.WORD&&_.type!==B.RESERVED,V=V||this._flags.mode===fe.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||R(this._flags.last_token,["get","set"])),V?(this.set_mode(fe.Statement),this.indent(),this.handle_whitespace_and_comments(_,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(_,R(_,["do","for","if","while"])),!0):!1},ie.prototype.handle_start_expr=function(_){this.start_of_statement(_)||this.handle_whitespace_and_comments(_);var V=fe.Expression;if(_.text==="["){if(this._flags.last_token.type===B.WORD||this._flags.last_token.text===")"){R(this._flags.last_token,P)&&(this._output.space_before_token=!0),this.print_token(_),this.set_mode(V),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}V=fe.ArrayLiteral,U(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),W(this._flags.last_token.type,[B.START_EXPR,B.END_EXPR,B.WORD,B.OPERATOR,B.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===B.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,V=fe.ForInitializer):W(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,V=fe.Conditional):W(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&_.whitespace_before===""?this._output.space_before_token=!1:(W(this._flags.last_token.text,P)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===B.EQUALS||this._flags.last_token.type===B.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(_);else if(this._flags.last_token.type===B.WORD){this._output.space_before_token=!1;var J=this._tokens.peek(-3);if(this._options.space_after_named_function&&J){var Le=this._tokens.peek(-4);R(J,["async","function"])||J.text==="*"&&R(Le,["async","function"])?this._output.space_before_token=!0:this._flags.mode===fe.ObjectLiteral?(J.text==="{"||J.text===","||J.text==="*"&&(Le.text==="{"||Le.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(_);(this._flags.last_token.type===B.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(W(this._last_last_text,["function","yield"])||this._flags.mode===fe.ObjectLiteral&&W(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===B.START_BLOCK?this.print_newline():(this._flags.last_token.type===B.END_EXPR||this._flags.last_token.type===B.START_EXPR||this._flags.last_token.type===B.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===B.COMMA)&&this.allow_wrap_or_preserved_newline(_,_.newlines),this.print_token(_),this.set_mode(V),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},ie.prototype.handle_end_expr=function(_){for(;this._flags.mode===fe.Statement;)this.restore_mode();this.handle_whitespace_and_comments(_),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(_,_.text==="]"&&U(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===B.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(_),this.restore_mode(),ae(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===fe.Conditional&&(this._previous_flags.mode=fe.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},ie.prototype.handle_start_block=function(_){this.handle_whitespace_and_comments(_);var V=this._tokens.peek(),J=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===B.END_EXPR?(this.set_mode(fe.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(fe.BlockStatement):J&&(W(J.text,[":",","])&&W(V.type,[B.STRING,B.WORD,B.RESERVED])||W(V.text,["get","set","..."])&&W(J.type,[B.WORD,B.RESERVED]))?W(this._last_last_text,["class","interface"])&&!W(J.text,[":",","])?this.set_mode(fe.BlockStatement):this.set_mode(fe.ObjectLiteral):this._flags.last_token.type===B.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(fe.BlockStatement):W(this._flags.last_token.type,[B.EQUALS,B.START_EXPR,B.COMMA,B.OPERATOR])||R(this._flags.last_token,["return","throw","import","default"])?this.set_mode(fe.ObjectLiteral):this.set_mode(fe.BlockStatement),this._flags.last_token&&R(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var Le=!V.comments_before&&V.text==="}",Oe=Le&&this._flags.last_word==="function"&&this._flags.last_token.type===B.END_EXPR;if(this._options.brace_preserve_inline){var Ie=0,Ze=null;this._flags.inline_frame=!0;do if(Ie+=1,Ze=this._tokens.peek(Ie-1),Ze.newlines){this._flags.inline_frame=!1;break}while(Ze.type!==B.EOF&&!(Ze.type===B.END_BLOCK&&Ze.opened===_))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&_.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==B.OPERATOR&&(Oe||this._flags.last_token.type===B.EQUALS||R(this._flags.last_token,Z)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(U(this._previous_flags.mode)&&(this._flags.last_token.type===B.START_EXPR||this._flags.last_token.type===B.COMMA)&&((this._flags.last_token.type===B.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===B.COMMA||this._flags.last_token.type===B.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(_),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==B.OPERATOR&&this._flags.last_token.type!==B.START_EXPR&&(W(this._flags.last_token.type,[B.START_BLOCK,B.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(_),this.indent(),!Le&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},ie.prototype.handle_end_block=function(_){for(this.handle_whitespace_and_comments(_);this._flags.mode===fe.Statement;)this.restore_mode();var V=this._flags.last_token.type===B.START_BLOCK;this._flags.inline_frame&&!V?this._output.space_before_token=!0:this._options.brace_style==="expand"?V||this.print_newline():V||(U(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(_)},ie.prototype.handle_word=function(_){if(_.type===B.RESERVED){if(W(_.text,["set","get"])&&this._flags.mode!==fe.ObjectLiteral)_.type=B.WORD;else if(_.text==="import"&&W(this._tokens.peek().text,["(","."]))_.type=B.WORD;else if(W(_.text,["as","from"])&&!this._flags.import_block)_.type=B.WORD;else if(this._flags.mode===fe.ObjectLiteral){var V=this._tokens.peek();V.text===":"&&(_.type=B.WORD)}}if(this.start_of_statement(_)?R(this._flags.last_token,["var","let","const"])&&_.type===B.WORD&&(this._flags.declaration_statement=!0):_.newlines&&!pe(this._flags.mode)&&(this._flags.last_token.type!==B.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==B.EQUALS&&(this._options.preserve_newlines||!R(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(_),this.print_newline()):this.handle_whitespace_and_comments(_),this._flags.do_block&&!this._flags.do_while)if(b(_,"while")){this._output.space_before_token=!0,this.print_token(_),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&b(_,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===fe.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&R(_,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(_),this._flags.in_case=!0;return}if((this._flags.last_token.type===B.COMMA||this._flags.last_token.type===B.START_EXPR||this._flags.last_token.type===B.EQUALS||this._flags.last_token.type===B.OPERATOR)&&!this.start_of_object_property()&&!(W(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===fe.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(_),b(_,"function")){(W(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(W(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===B.OPERATOR))&&!this._output.just_added_blankline()&&!_.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===B.RESERVED||this._flags.last_token.type===B.WORD?R(this._flags.last_token,["get","set","new","export"])||R(this._flags.last_token,v)?this._output.space_before_token=!0:b(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===B.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(pe(this._flags.mode)||U(this._flags.mode))||this.print_newline(),this.print_token(_),this._flags.last_word=_.text;return}var J="NONE";if(this._flags.last_token.type===B.END_BLOCK?this._previous_flags.inline_frame?J="SPACE":R(_,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&_.newlines?J="NEWLINE":(J="SPACE",this._output.space_before_token=!0):J="NEWLINE":this._flags.last_token.type===B.SEMICOLON&&this._flags.mode===fe.BlockStatement?J="NEWLINE":this._flags.last_token.type===B.SEMICOLON&&pe(this._flags.mode)?J="SPACE":this._flags.last_token.type===B.STRING?J="NEWLINE":this._flags.last_token.type===B.RESERVED||this._flags.last_token.type===B.WORD||this._flags.last_token.text==="*"&&(W(this._last_last_text,["function","yield"])||this._flags.mode===fe.ObjectLiteral&&W(this._last_last_text,["{",","]))?J="SPACE":this._flags.last_token.type===B.START_BLOCK?this._flags.inline_frame?J="SPACE":J="NEWLINE":this._flags.last_token.type===B.END_EXPR&&(this._output.space_before_token=!0,J="NEWLINE"),R(_,P)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?J="SPACE":J="NEWLINE"),R(_,["else","catch","finally"]))if((!(this._flags.last_token.type===B.END_BLOCK&&this._previous_flags.mode===fe.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&_.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var Le=this._output.current_line;Le.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else J==="NEWLINE"?R(this._flags.last_token,Z)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&R(_,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==B.END_EXPR?(this._flags.last_token.type!==B.START_EXPR||!R(_,["var","let","const"]))&&this._flags.last_token.text!==":"&&(b(_,"if")&&b(_.previous,"else")?this._output.space_before_token=!0:this.print_newline()):R(_,P)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&U(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():J==="SPACE"&&(this._output.space_before_token=!0);_.previous&&(_.previous.type===B.WORD||_.previous.type===B.RESERVED)&&(this._output.space_before_token=!0),this.print_token(_),this._flags.last_word=_.text,_.type===B.RESERVED&&(_.text==="do"?this._flags.do_block=!0:_.text==="if"?this._flags.if_block=!0:_.text==="import"?this._flags.import_block=!0:this._flags.import_block&&b(_,"from")&&(this._flags.import_block=!1))},ie.prototype.handle_semicolon=function(_){this.start_of_statement(_)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(_);for(var V=this._tokens.peek();this._flags.mode===fe.Statement&&!(this._flags.if_block&&b(V,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(_)},ie.prototype.handle_string=function(_){_.text.startsWith("`")&&_.newlines===0&&_.whitespace_before===""&&(_.previous.text===")"||this._flags.last_token.type===B.WORD)||(this.start_of_statement(_)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(_),this._flags.last_token.type===B.RESERVED||this._flags.last_token.type===B.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===B.COMMA||this._flags.last_token.type===B.START_EXPR||this._flags.last_token.type===B.EQUALS||this._flags.last_token.type===B.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(_):_.text.startsWith("`")&&this._flags.last_token.type===B.END_EXPR&&(_.previous.text==="]"||_.previous.text===")")&&_.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(_)},ie.prototype.handle_equals=function(_){this.start_of_statement(_)||this.handle_whitespace_and_comments(_),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(_),this._output.space_before_token=!0},ie.prototype.handle_comma=function(_){this.handle_whitespace_and_comments(_,!0),this.print_token(_),this._output.space_before_token=!0,this._flags.declaration_statement?(pe(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(_)):this._flags.mode===fe.ObjectLiteral||this._flags.mode===fe.Statement&&this._flags.parent.mode===fe.ObjectLiteral?(this._flags.mode===fe.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(_)},ie.prototype.handle_operator=function(_){var V=_.text==="*"&&(R(this._flags.last_token,["function","yield"])||W(this._flags.last_token.type,[B.START_BLOCK,B.COMMA,B.END_BLOCK,B.SEMICOLON])),J=W(_.text,["-","+"])&&(W(this._flags.last_token.type,[B.START_BLOCK,B.START_EXPR,B.EQUALS,B.OPERATOR])||W(this._flags.last_token.text,P)||this._flags.last_token.text===",");if(!this.start_of_statement(_)){var Le=!V;this.handle_whitespace_and_comments(_,Le)}if(_.text==="*"&&this._flags.last_token.type===B.DOT){this.print_token(_);return}if(_.text==="::"){this.print_token(_);return}if(W(_.text,["-","+"])&&this.start_of_object_property()){this.print_token(_);return}if(this._flags.last_token.type===B.OPERATOR&&W(this._options.operator_position,me)&&this.allow_wrap_or_preserved_newline(_),_.text===":"&&this._flags.in_case){this.print_token(_),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==B.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var Oe=!0,Ie=!0,Ze=!1;if(_.text===":"?this._flags.ternary_depth===0?Oe=!1:(this._flags.ternary_depth-=1,Ze=!0):_.text==="?"&&(this._flags.ternary_depth+=1),!J&&!V&&this._options.preserve_newlines&&W(_.text,ue)){var ut=_.text===":",ct=ut&&Ze,it=ut&&!Ze;switch(this._options.operator_position){case he.before_newline:this._output.space_before_token=!it,this.print_token(_),(!ut||ct)&&this.allow_wrap_or_preserved_newline(_),this._output.space_before_token=!0;return;case he.after_newline:this._output.space_before_token=!0,!ut||ct?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(_):this._output.space_before_token=!1,this.print_token(_),this._output.space_before_token=!0;return;case he.preserve_newline:it||this.allow_wrap_or_preserved_newline(_),Oe=!(this._output.just_added_newline()||it),this._output.space_before_token=Oe,this.print_token(_),this._output.space_before_token=!0;return}}if(V){this.allow_wrap_or_preserved_newline(_),Oe=!1;var Nt=this._tokens.peek();Ie=Nt&&W(Nt.type,[B.WORD,B.RESERVED])}else if(_.text==="...")this.allow_wrap_or_preserved_newline(_),Oe=this._flags.last_token.type===B.START_BLOCK,Ie=!1;else if(W(_.text,["--","++","!","~"])||J){if((this._flags.last_token.type===B.COMMA||this._flags.last_token.type===B.START_EXPR)&&this.allow_wrap_or_preserved_newline(_),Oe=!1,Ie=!1,_.newlines&&(_.text==="--"||_.text==="++"||_.text==="~")){var qt=R(this._flags.last_token,Z)&&_.newlines;qt&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(qt,!0)}this._flags.last_token.text===";"&&pe(this._flags.mode)&&(Oe=!0),this._flags.last_token.type===B.RESERVED?Oe=!0:this._flags.last_token.type===B.END_EXPR?Oe=!(this._flags.last_token.text==="]"&&(_.text==="--"||_.text==="++")):this._flags.last_token.type===B.OPERATOR&&(Oe=W(_.text,["--","-","++","+"])&&W(this._flags.last_token.text,["--","-","++","+"]),W(_.text,["+","-"])&&W(this._flags.last_token.text,["--","++"])&&(Ie=!0)),(this._flags.mode===fe.BlockStatement&&!this._flags.inline_frame||this._flags.mode===fe.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||Oe,this.print_token(_),this._output.space_before_token=Ie},ie.prototype.handle_block_comment=function(_,V){if(this._output.raw){this._output.add_raw_token(_),_.directives&&_.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(_.directives){this.print_newline(!1,V),this.print_token(_),_.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!u.newline.test(_.text)&&!_.newlines){this._output.space_before_token=!0,this.print_token(_),this._output.space_before_token=!0;return}else this.print_block_commment(_,V)},ie.prototype.print_block_commment=function(_,V){var J=te(_.text),Le,Oe=!1,Ie=!1,Ze=_.whitespace_before,ut=Ze.length;if(this.print_newline(!1,V),this.print_token_line_indentation(_),this._output.add_token(J[0]),this.print_newline(!1,V),J.length>1){for(J=J.slice(1),Oe=Q(J,"*"),Ie=de(J,Ze),Oe&&(this._flags.alignment=1),Le=0;Le<J.length;Le++)Oe?(this.print_token_line_indentation(_),this._output.add_token(ne(J[Le]))):Ie&&J[Le]?(this.print_token_line_indentation(_),this._output.add_token(J[Le].substring(ut))):(this._output.current_line.set_indent(-1),this._output.add_token(J[Le])),this.print_newline(!1,V);this._flags.alignment=0}},ie.prototype.handle_comment=function(_,V){_.newlines?this.print_newline(!1,V):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(_),this.print_newline(!1,V)},ie.prototype.handle_dot=function(_){this.start_of_statement(_)||this.handle_whitespace_and_comments(_,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),R(this._flags.last_token,Z)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(_,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(_)},ie.prototype.handle_unknown=function(_,V){this.print_token(_),_.text[_.text.length-1]===`
`&&this.print_newline(!1,V)},ie.prototype.handle_eof=function(_){for(;this._flags.mode===fe.Statement;)this.restore_mode();this.handle_whitespace_and_comments(_)},Se.exports.Beautifier=ie},function(Se){function a(S){this.__parent=S,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}a.prototype.clone_empty=function(){var S=new a(this.__parent);return S.set_indent(this.__indent_count,this.__alignment_count),S},a.prototype.item=function(S){return S<0?this.__items[this.__items.length+S]:this.__items[S]},a.prototype.has_match=function(S){for(var u=this.__items.length-1;u>=0;u--)if(this.__items[u].match(S))return!0;return!1},a.prototype.set_indent=function(S,u){this.is_empty()&&(this.__indent_count=S||0,this.__alignment_count=u||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},a.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},a.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},a.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var S=this.__parent.current_line;return S.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),S.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),S.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,S.__items[0]===" "&&(S.__items.splice(0,1),S.__character_count-=1),!0}return!1},a.prototype.is_empty=function(){return this.__items.length===0},a.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},a.prototype.push=function(S){this.__items.push(S);var u=S.lastIndexOf(`
`);u!==-1?this.__character_count=S.length-u:this.__character_count+=S.length},a.prototype.pop=function(){var S=null;return this.is_empty()||(S=this.__items.pop(),this.__character_count-=S.length),S},a.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},a.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},a.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},a.prototype.toString=function(){var S="";return this.is_empty()?this.__parent.indent_empty_lines&&(S=this.__parent.get_indent_string(this.__indent_count)):(S=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),S+=this.__items.join("")),S};function I(S,u){this.__cache=[""],this.__indent_size=S.indent_size,this.__indent_string=S.indent_char,S.indent_with_tabs||(this.__indent_string=new Array(S.indent_size+1).join(S.indent_char)),u=u||"",S.indent_level>0&&(u=new Array(S.indent_level+1).join(this.__indent_string)),this.__base_string=u,this.__base_string_length=u.length}I.prototype.get_indent_size=function(S,u){var x=this.__base_string_length;return u=u||0,S<0&&(x=0),x+=S*this.__indent_size,x+=u,x},I.prototype.get_indent_string=function(S,u){var x=this.__base_string;return u=u||0,S<0&&(S=0,x=""),u+=S*this.__indent_size,this.__ensure_cache(u),x+=this.__cache[u],x},I.prototype.__ensure_cache=function(S){for(;S>=this.__cache.length;)this.__add_column()},I.prototype.__add_column=function(){var S=this.__cache.length,u=0,x="";this.__indent_size&&S>=this.__indent_size&&(u=Math.floor(S/this.__indent_size),S-=u*this.__indent_size,x=new Array(u+1).join(this.__indent_string)),S&&(x+=new Array(S+1).join(" ")),this.__cache.push(x)};function z(S,u){this.__indent_cache=new I(S,u),this.raw=!1,this._end_with_newline=S.end_with_newline,this.indent_size=S.indent_size,this.wrap_line_length=S.wrap_line_length,this.indent_empty_lines=S.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new a(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}z.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},z.prototype.get_line_number=function(){return this.__lines.length},z.prototype.get_indent_string=function(S,u){return this.__indent_cache.get_indent_string(S,u)},z.prototype.get_indent_size=function(S,u){return this.__indent_cache.get_indent_size(S,u)},z.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},z.prototype.add_new_line=function(S){return this.is_empty()||!S&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},z.prototype.get_code=function(S){this.trim(!0);var u=this.current_line.pop();u&&(u[u.length-1]===`
`&&(u=u.replace(/\n+$/g,"")),this.current_line.push(u)),this._end_with_newline&&this.__add_outputline();var x=this.__lines.join(`
`);return S!==`
`&&(x=x.replace(/[\n]/g,S)),x},z.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},z.prototype.set_indent=function(S,u){return S=S||0,u=u||0,this.next_line.set_indent(S,u),this.__lines.length>1?(this.current_line.set_indent(S,u),!0):(this.current_line.set_indent(),!1)},z.prototype.add_raw_token=function(S){for(var u=0;u<S.newlines;u++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(S.whitespace_before),this.current_line.push(S.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},z.prototype.add_token=function(S){this.__add_space_before_token(),this.current_line.push(S),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},z.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},z.prototype.remove_indent=function(S){for(var u=this.__lines.length;S<u;)this.__lines[S]._remove_indent(),S++;this.current_line._remove_wrap_indent()},z.prototype.trim=function(S){for(S=S===void 0?!1:S,this.current_line.trim();S&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},z.prototype.just_added_newline=function(){return this.current_line.is_empty()},z.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},z.prototype.ensure_empty_line_above=function(S,u){for(var x=this.__lines.length-2;x>=0;){var m=this.__lines[x];if(m.is_empty())break;if(m.item(0).indexOf(S)!==0&&m.item(-1)!==u){this.__lines.splice(x+1,0,new a(this)),this.previous_line=this.__lines[this.__lines.length-2];break}x--}},Se.exports.Output=z},function(Se){function a(I,z,S,u){this.type=I,this.text=z,this.comments_before=null,this.newlines=S||0,this.whitespace_before=u||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}Se.exports.Token=a},function(Se,a){var I="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",z="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",S="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-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\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",u="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",x="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",m="(?:"+x+"|["+I+S+"])",P="(?:"+x+"|["+z+S+u+"])*";a.identifier=new RegExp(m+P,"g"),a.identifierStart=new RegExp(m),a.identifierMatch=new RegExp("(?:"+x+"|["+z+S+u+"])+");var ue=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;a.newline=/[\n\r\u2028\u2029]/,a.lineBreak=new RegExp(`\r
|`+a.newline.source),a.allLineBreaks=new RegExp(a.lineBreak.source,"g")},function(Se,a,I){var z=I(6).Options,S=["before-newline","after-newline","preserve-newline"];function u(x){z.call(this,x,"js");var m=this.raw_options.brace_style||null;m==="expand-strict"?this.raw_options.brace_style="expand":m==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var P=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var ue=0;ue<P.length;ue++)P[ue]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=P[ue];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",S),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}u.prototype=new z,Se.exports.Options=u},function(Se){function a(S,u){this.raw_options=I(S,u),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}a.prototype._get_array=function(S,u){var x=this.raw_options[S],m=u||[];return typeof x=="object"?x!==null&&typeof x.concat=="function"&&(m=x.concat()):typeof x=="string"&&(m=x.split(/[^a-zA-Z0-9_\/\-]+/)),m},a.prototype._get_boolean=function(S,u){var x=this.raw_options[S],m=x===void 0?!!u:!!x;return m},a.prototype._get_characters=function(S,u){var x=this.raw_options[S],m=u||"";return typeof x=="string"&&(m=x.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),m},a.prototype._get_number=function(S,u){var x=this.raw_options[S];u=parseInt(u,10),isNaN(u)&&(u=0);var m=parseInt(x,10);return isNaN(m)&&(m=u),m},a.prototype._get_selection=function(S,u,x){var m=this._get_selection_list(S,u,x);if(m.length!==1)throw new Error("Invalid Option Value: The option '"+S+`' can only be one of the following values:
`+u+`
You passed in: '`+this.raw_options[S]+"'");return m[0]},a.prototype._get_selection_list=function(S,u,x){if(!u||u.length===0)throw new Error("Selection list cannot be empty.");if(x=x||[u[0]],!this._is_valid_selection(x,u))throw new Error("Invalid Default Value!");var m=this._get_array(S,x);if(!this._is_valid_selection(m,u))throw new Error("Invalid Option Value: The option '"+S+`' can contain only the following values:
`+u+`
You passed in: '`+this.raw_options[S]+"'");return m},a.prototype._is_valid_selection=function(S,u){return S.length&&u.length&&!S.some(function(x){return u.indexOf(x)===-1})};function I(S,u){var x={};S=z(S);var m;for(m in S)m!==u&&(x[m]=S[m]);if(u&&S[u])for(m in S[u])x[m]=S[u][m];return x}function z(S){var u={},x;for(x in S){var m=x.replace(/-/g,"_");u[m]=S[x]}return u}Se.exports.Options=a,Se.exports.normalizeOpts=z,Se.exports.mergeOpts=I},function(Se,a,I){var z=I(8).InputScanner,S=I(9).Tokenizer,u=I(9).TOKEN,x=I(13).Directives,m=I(4),P=I(12).Pattern,ue=I(14).TemplatablePattern;function B(Q,de){return de.indexOf(Q)!==-1}var W={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:u.START,RAW:u.RAW,EOF:u.EOF},ne=new x(/\/\*/,/\*\//),Y=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,b=/[0-9]/,R=/[^\d\.]/,Z=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),j=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";j=j.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),j="\\?\\.(?!\\d) "+j,j=j.replace(/ /g,"|");var he=new RegExp(j),me="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),fe=me.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),ae=new RegExp("^(?:"+fe.join("|")+")$"),te,U=function(Q,de){S.call(this,Q,de),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var ie=new P(this._input),v=new ue(this._input).read_options(this._options);this.__patterns={template:v,identifier:v.starting_with(m.identifier).matching(m.identifierMatch),number:ie.matching(Y),punct:ie.matching(he),comment:ie.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:ie.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:ie.matching(/<!--/),html_comment_end:ie.matching(/-->/),include:ie.starting_with(/#include/).until_after(m.lineBreak),shebang:ie.starting_with(/#!/).until_after(m.lineBreak),xml:ie.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:v.until(/['\\\n\r\u2028\u2029]/),double_quote:v.until(/["\\\n\r\u2028\u2029]/),template_text:v.until(/[`\\$]/),template_expression:v.until(/[`}\\]/)}};U.prototype=new S,U.prototype._is_comment=function(Q){return Q.type===W.COMMENT||Q.type===W.BLOCK_COMMENT||Q.type===W.UNKNOWN},U.prototype._is_opening=function(Q){return Q.type===W.START_BLOCK||Q.type===W.START_EXPR},U.prototype._is_closing=function(Q,de){return(Q.type===W.END_BLOCK||Q.type===W.END_EXPR)&&de&&(Q.text==="]"&&de.text==="["||Q.text===")"&&de.text==="("||Q.text==="}"&&de.text==="{")},U.prototype._reset=function(){te=!1},U.prototype._get_next_token=function(Q,de){var ie=null;this._readWhitespace();var v=this._input.peek();return v===null?this._create_token(W.EOF,""):(ie=ie||this._read_non_javascript(v),ie=ie||this._read_string(v),ie=ie||this._read_pair(v,this._input.peek(1)),ie=ie||this._read_word(Q),ie=ie||this._read_singles(v),ie=ie||this._read_comment(v),ie=ie||this._read_regexp(v,Q),ie=ie||this._read_xml(v,Q),ie=ie||this._read_punctuation(),ie=ie||this._create_token(W.UNKNOWN,this._input.next()),ie)},U.prototype._read_word=function(Q){var de;if(de=this.__patterns.identifier.read(),de!=="")return de=de.replace(m.allLineBreaks,`
`),!(Q.type===W.DOT||Q.type===W.RESERVED&&(Q.text==="set"||Q.text==="get"))&&ae.test(de)?(de==="in"||de==="of")&&(Q.type===W.WORD||Q.type===W.STRING)?this._create_token(W.OPERATOR,de):this._create_token(W.RESERVED,de):this._create_token(W.WORD,de);if(de=this.__patterns.number.read(),de!=="")return this._create_token(W.WORD,de)},U.prototype._read_singles=function(Q){var de=null;return Q==="("||Q==="["?de=this._create_token(W.START_EXPR,Q):Q===")"||Q==="]"?de=this._create_token(W.END_EXPR,Q):Q==="{"?de=this._create_token(W.START_BLOCK,Q):Q==="}"?de=this._create_token(W.END_BLOCK,Q):Q===";"?de=this._create_token(W.SEMICOLON,Q):Q==="."&&R.test(this._input.peek(1))?de=this._create_token(W.DOT,Q):Q===","&&(de=this._create_token(W.COMMA,Q)),de&&this._input.next(),de},U.prototype._read_pair=function(Q,de){var ie=null;return Q==="#"&&de==="{"&&(ie=this._create_token(W.START_BLOCK,Q+de)),ie&&(this._input.next(),this._input.next()),ie},U.prototype._read_punctuation=function(){var Q=this.__patterns.punct.read();if(Q!=="")return Q==="="?this._create_token(W.EQUALS,Q):Q==="?."?this._create_token(W.DOT,Q):this._create_token(W.OPERATOR,Q)},U.prototype._read_non_javascript=function(Q){var de="";if(Q==="#"){if(this._is_first_token()&&(de=this.__patterns.shebang.read(),de))return this._create_token(W.UNKNOWN,de.trim()+`
`);if(de=this.__patterns.include.read(),de)return this._create_token(W.UNKNOWN,de.trim()+`
`);Q=this._input.next();var ie="#";if(this._input.hasNext()&&this._input.testChar(b)){do Q=this._input.next(),ie+=Q;while(this._input.hasNext()&&Q!=="#"&&Q!=="=");return Q==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(ie+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(ie+="{}",this._input.next(),this._input.next())),this._create_token(W.WORD,ie)}this._input.back()}else if(Q==="<"&&this._is_first_token()){if(de=this.__patterns.html_comment_start.read(),de){for(;this._input.hasNext()&&!this._input.testChar(m.newline);)de+=this._input.next();return te=!0,this._create_token(W.COMMENT,de)}}else if(te&&Q==="-"&&(de=this.__patterns.html_comment_end.read(),de))return te=!1,this._create_token(W.COMMENT,de);return null},U.prototype._read_comment=function(Q){var de=null;if(Q==="/"){var ie="";if(this._input.peek(1)==="*"){ie=this.__patterns.block_comment.read();var v=ne.get_directives(ie);v&&v.ignore==="start"&&(ie+=ne.readIgnored(this._input)),ie=ie.replace(m.allLineBreaks,`
`),de=this._create_token(W.BLOCK_COMMENT,ie),de.directives=v}else this._input.peek(1)==="/"&&(ie=this.__patterns.comment.read(),de=this._create_token(W.COMMENT,ie))}return de},U.prototype._read_string=function(Q){if(Q==="`"||Q==="'"||Q==='"'){var de=this._input.next();return this.has_char_escapes=!1,Q==="`"?de+=this._read_string_recursive("`",!0,"${"):de+=this._read_string_recursive(Q),this.has_char_escapes&&this._options.unescape_strings&&(de=pe(de)),this._input.peek()===Q&&(de+=this._input.next()),de=de.replace(m.allLineBreaks,`
`),this._create_token(W.STRING,de)}return null},U.prototype._allow_regexp_or_xml=function(Q){return Q.type===W.RESERVED&&B(Q.text,["return","case","throw","else","do","typeof","yield"])||Q.type===W.END_EXPR&&Q.text===")"&&Q.opened.previous.type===W.RESERVED&&B(Q.opened.previous.text,["if","while","for"])||B(Q.type,[W.COMMENT,W.START_EXPR,W.START_BLOCK,W.START,W.END_BLOCK,W.OPERATOR,W.EQUALS,W.EOF,W.SEMICOLON,W.COMMA])},U.prototype._read_regexp=function(Q,de){if(Q==="/"&&this._allow_regexp_or_xml(de)){for(var ie=this._input.next(),v=!1,_=!1;this._input.hasNext()&&(v||_||this._input.peek()!==Q)&&!this._input.testChar(m.newline);)ie+=this._input.peek(),v?v=!1:(v=this._input.peek()==="\\",this._input.peek()==="["?_=!0:this._input.peek()==="]"&&(_=!1)),this._input.next();return this._input.peek()===Q&&(ie+=this._input.next(),ie+=this._input.read(m.identifier)),this._create_token(W.STRING,ie)}return null},U.prototype._read_xml=function(Q,de){if(this._options.e4x&&Q==="<"&&this._allow_regexp_or_xml(de)){var ie="",v=this.__patterns.xml.read_match();if(v){for(var _=v[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),V=_.indexOf("{")===0,J=0;v;){var Le=!!v[1],Oe=v[2],Ie=!!v[v.length-1]||Oe.slice(0,8)==="![CDATA[";if(!Ie&&(Oe===_||V&&Oe.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(Le?--J:++J),ie+=v[0],J<=0)break;v=this.__patterns.xml.read_match()}return v||(ie+=this._input.match(/[\s\S]*/g)[0]),ie=ie.replace(m.allLineBreaks,`
`),this._create_token(W.STRING,ie)}}return null};function pe(Q){for(var de="",ie=0,v=new z(Q),_=null;v.hasNext();)if(_=v.match(/([\s]|[^\\]|\\\\)+/g),_&&(de+=_[0]),v.peek()==="\\"){if(v.next(),v.peek()==="x")_=v.match(/x([0-9A-Fa-f]{2})/g);else if(v.peek()==="u")_=v.match(/u([0-9A-Fa-f]{4})/g),_||(_=v.match(/u\{([0-9A-Fa-f]+)\}/g));else{de+="\\",v.hasNext()&&(de+=v.next());continue}if(!_||(ie=parseInt(_[1],16),ie>126&&ie<=255&&_[0].indexOf("x")===0))return Q;ie>=0&&ie<32||ie>1114111?de+="\\"+_[0]:ie===34||ie===39||ie===92?de+="\\"+String.fromCharCode(ie):de+=String.fromCharCode(ie)}return de}U.prototype._read_string_recursive=function(Q,de,ie){var v,_;Q==="'"?_=this.__patterns.single_quote:Q==='"'?_=this.__patterns.double_quote:Q==="`"?_=this.__patterns.template_text:Q==="}"&&(_=this.__patterns.template_expression);for(var V=_.read(),J="";this._input.hasNext();){if(J=this._input.next(),J===Q||!de&&m.newline.test(J)){this._input.back();break}else J==="\\"&&this._input.hasNext()?(v=this._input.peek(),v==="x"||v==="u"?this.has_char_escapes=!0:v==="\r"&&this._input.peek(1)===`
`&&this._input.next(),J+=this._input.next()):ie&&(ie==="${"&&J==="$"&&this._input.peek()==="{"&&(J+=this._input.next()),ie===J&&(Q==="`"?J+=this._read_string_recursive("}",de,"`"):J+=this._read_string_recursive("`",de,"${"),this._input.hasNext()&&(J+=this._input.next())));J+=_.read(),V+=J}return V},Se.exports.Tokenizer=U,Se.exports.TOKEN=W,Se.exports.positionable_operators=Z.slice(),Se.exports.line_starters=me.slice()},function(Se){var a=RegExp.prototype.hasOwnProperty("sticky");function I(z){this.__input=z||"",this.__input_length=this.__input.length,this.__position=0}I.prototype.restart=function(){this.__position=0},I.prototype.back=function(){this.__position>0&&(this.__position-=1)},I.prototype.hasNext=function(){return this.__position<this.__input_length},I.prototype.next=function(){var z=null;return this.hasNext()&&(z=this.__input.charAt(this.__position),this.__position+=1),z},I.prototype.peek=function(z){var S=null;return z=z||0,z+=this.__position,z>=0&&z<this.__input_length&&(S=this.__input.charAt(z)),S},I.prototype.__match=function(z,S){z.lastIndex=S;var u=z.exec(this.__input);return u&&!(a&&z.sticky)&&u.index!==S&&(u=null),u},I.prototype.test=function(z,S){return S=S||0,S+=this.__position,S>=0&&S<this.__input_length?!!this.__match(z,S):!1},I.prototype.testChar=function(z,S){var u=this.peek(S);return z.lastIndex=0,u!==null&&z.test(u)},I.prototype.match=function(z){var S=this.__match(z,this.__position);return S?this.__position+=S[0].length:S=null,S},I.prototype.read=function(z,S,u){var x="",m;return z&&(m=this.match(z),m&&(x+=m[0])),S&&(m||!z)&&(x+=this.readUntil(S,u)),x},I.prototype.readUntil=function(z,S){var u="",x=this.__position;z.lastIndex=this.__position;var m=z.exec(this.__input);return m?(x=m.index,S&&(x+=m[0].length)):x=this.__input_length,u=this.__input.substring(this.__position,x),this.__position=x,u},I.prototype.readUntilAfter=function(z){return this.readUntil(z,!0)},I.prototype.get_regexp=function(z,S){var u=null,x="g";return S&&a&&(x="y"),typeof z=="string"&&z!==""?u=new RegExp(z,x):z&&(u=new RegExp(z.source,x)),u},I.prototype.get_literal_regexp=function(z){return RegExp(z.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},I.prototype.peekUntilAfter=function(z){var S=this.__position,u=this.readUntilAfter(z);return this.__position=S,u},I.prototype.lookBack=function(z){var S=this.__position-1;return S>=z.length&&this.__input.substring(S-z.length,S).toLowerCase()===z},Se.exports.InputScanner=I},function(Se,a,I){var z=I(8).InputScanner,S=I(3).Token,u=I(10).TokenStream,x=I(11).WhitespacePattern,m={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},P=function(ue,B){this._input=new z(ue),this._options=B||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new x(this._input)};P.prototype.tokenize=function(){this._input.restart(),this.__tokens=new u,this._reset();for(var ue,B=new S(m.START,""),W=null,ne=[],Y=new u;B.type!==m.EOF;){for(ue=this._get_next_token(B,W);this._is_comment(ue);)Y.add(ue),ue=this._get_next_token(B,W);Y.isEmpty()||(ue.comments_before=Y,Y=new u),ue.parent=W,this._is_opening(ue)?(ne.push(W),W=ue):W&&this._is_closing(ue,W)&&(ue.opened=W,W.closed=ue,W=ne.pop(),ue.parent=W),ue.previous=B,B.next=ue,this.__tokens.add(ue),B=ue}return this.__tokens},P.prototype._is_first_token=function(){return this.__tokens.isEmpty()},P.prototype._reset=function(){},P.prototype._get_next_token=function(ue,B){this._readWhitespace();var W=this._input.read(/.+/g);return W?this._create_token(m.RAW,W):this._create_token(m.EOF,"")},P.prototype._is_comment=function(ue){return!1},P.prototype._is_opening=function(ue){return!1},P.prototype._is_closing=function(ue,B){return!1},P.prototype._create_token=function(ue,B){var W=new S(ue,B,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return W},P.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},Se.exports.Tokenizer=P,Se.exports.TOKEN=m},function(Se){function a(I){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=I}a.prototype.restart=function(){this.__position=0},a.prototype.isEmpty=function(){return this.__tokens_length===0},a.prototype.hasNext=function(){return this.__position<this.__tokens_length},a.prototype.next=function(){var I=null;return this.hasNext()&&(I=this.__tokens[this.__position],this.__position+=1),I},a.prototype.peek=function(I){var z=null;return I=I||0,I+=this.__position,I>=0&&I<this.__tokens_length&&(z=this.__tokens[I]),z},a.prototype.add=function(I){this.__parent_token&&(I.parent=this.__parent_token),this.__tokens.push(I),this.__tokens_length+=1},Se.exports.TokenStream=a},function(Se,a,I){var z=I(12).Pattern;function S(u,x){z.call(this,u,x),x?this._line_regexp=this._input.get_regexp(x._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}S.prototype=new z,S.prototype.__set_whitespace_patterns=function(u,x){u+="\\t ",x+="\\n\\r",this._match_pattern=this._input.get_regexp("["+u+x+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+x+"]")},S.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var u=this._input.read(this._match_pattern);if(u===" ")this.whitespace_before_token=" ";else if(u){var x=this.__split(this._newline_regexp,u);this.newline_count=x.length-1,this.whitespace_before_token=x[this.newline_count]}return u},S.prototype.matching=function(u,x){var m=this._create();return m.__set_whitespace_patterns(u,x),m._update(),m},S.prototype._create=function(){return new S(this._input,this)},S.prototype.__split=function(u,x){u.lastIndex=0;for(var m=0,P=[],ue=u.exec(x);ue;)P.push(x.substring(m,ue.index)),m=ue.index+ue[0].length,ue=u.exec(x);return m<x.length?P.push(x.substring(m,x.length)):P.push(""),P},Se.exports.WhitespacePattern=S},function(Se){function a(I,z){this._input=I,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,z&&(this._starting_pattern=this._input.get_regexp(z._starting_pattern,!0),this._match_pattern=this._input.get_regexp(z._match_pattern,!0),this._until_pattern=this._input.get_regexp(z._until_pattern),this._until_after=z._until_after)}a.prototype.read=function(){var I=this._input.read(this._starting_pattern);return(!this._starting_pattern||I)&&(I+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),I},a.prototype.read_match=function(){return this._input.match(this._match_pattern)},a.prototype.until_after=function(I){var z=this._create();return z._until_after=!0,z._until_pattern=this._input.get_regexp(I),z._update(),z},a.prototype.until=function(I){var z=this._create();return z._until_after=!1,z._until_pattern=this._input.get_regexp(I),z._update(),z},a.prototype.starting_with=function(I){var z=this._create();return z._starting_pattern=this._input.get_regexp(I,!0),z._update(),z},a.prototype.matching=function(I){var z=this._create();return z._match_pattern=this._input.get_regexp(I,!0),z._update(),z},a.prototype._create=function(){return new a(this._input,this)},a.prototype._update=function(){},Se.exports.Pattern=a},function(Se){function a(I,z){I=typeof I=="string"?I:I.source,z=typeof z=="string"?z:z.source,this.__directives_block_pattern=new RegExp(I+/ beautify( \w+[:]\w+)+ /.source+z,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(I+/\sbeautify\signore:end\s/.source+z,"g")}a.prototype.get_directives=function(I){if(!I.match(this.__directives_block_pattern))return null;var z={};this.__directive_pattern.lastIndex=0;for(var S=this.__directive_pattern.exec(I);S;)z[S[1]]=S[2],S=this.__directive_pattern.exec(I);return z},a.prototype.readIgnored=function(I){return I.readUntilAfter(this.__directives_end_ignore_pattern)},Se.exports.Directives=a},function(Se,a,I){var z=I(12).Pattern,S={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function u(x,m){z.call(this,x,m),this.__template_pattern=null,this._disabled=Object.assign({},S),this._excluded=Object.assign({},S),m&&(this.__template_pattern=this._input.get_regexp(m.__template_pattern),this._excluded=Object.assign(this._excluded,m._excluded),this._disabled=Object.assign(this._disabled,m._disabled));var P=new z(x);this.__patterns={handlebars_comment:P.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:P.starting_with(/{{{/).until_after(/}}}/),handlebars:P.starting_with(/{{/).until_after(/}}/),php:P.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:P.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:P.starting_with(/{%/).until_after(/%}/),django_value:P.starting_with(/{{/).until_after(/}}/),django_comment:P.starting_with(/{#/).until_after(/#}/),smarty:P.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:P.starting_with(/{\*/).until_after(/\*}/),smarty_literal:P.starting_with(/{literal}/).until_after(/{\/literal}/)}}u.prototype=new z,u.prototype._create=function(){return new u(this._input,this)},u.prototype._update=function(){this.__set_templated_pattern()},u.prototype.disable=function(x){var m=this._create();return m._disabled[x]=!0,m._update(),m},u.prototype.read_options=function(x){var m=this._create();for(var P in S)m._disabled[P]=x.templating.indexOf(P)===-1;return m._update(),m},u.prototype.exclude=function(x){var m=this._create();return m._excluded[x]=!0,m._update(),m},u.prototype.read=function(){var x="";this._match_pattern?x=this._input.read(this._starting_pattern):x=this._input.read(this._starting_pattern,this.__template_pattern);for(var m=this._read_template();m;)this._match_pattern?m+=this._input.read(this._match_pattern):m+=this._input.readUntil(this.__template_pattern),x+=m,m=this._read_template();return this._until_after&&(x+=this._input.readUntilAfter(this._until_pattern)),x},u.prototype.__set_templated_pattern=function(){var x=[];this._disabled.php||x.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||x.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||x.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(x.push(this.__patterns.django._starting_pattern.source),x.push(this.__patterns.django_value._starting_pattern.source),x.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||x.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&x.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+x.join("|")+")")},u.prototype._read_template=function(){var x="",m=this._input.peek();if(m==="<"){var P=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&P==="?"&&(x=x||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&P==="%"&&(x=x||this.__patterns.erb.read())}else m==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(x=x||this.__patterns.handlebars_comment.read(),x=x||this.__patterns.handlebars_unescaped.read(),x=x||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(x=x||this.__patterns.django_value.read()),this._excluded.django||(x=x||this.__patterns.django_comment.read(),x=x||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(x=x||this.__patterns.smarty_comment.read(),x=x||this.__patterns.smarty_literal.read(),x=x||this.__patterns.smarty.read()));return x},Se.exports.TemplatablePattern=u}],$={};function q(Se){var a=$[Se];if(a!==void 0)return a.exports;var I=$[Se]={exports:{}};return Ee[Se](I,I.exports,q),I.exports}var C=q(0);L=C})();var ee=L;f=[],y=function(){return{js_beautify:ee}}.apply(et,f),y!==void 0&&(en.exports=y)})()},15342:function(en){(function(f,y){en.exports=y()})(typeof self!="undefined"?self:this,function(){return function(et){var f={};function y(L){if(f[L])return f[L].exports;var ee=f[L]={i:L,l:!1,exports:{}};return et[L].call(ee.exports,ee,ee.exports,y),ee.l=!0,ee.exports}return y.m=et,y.c=f,y.d=function(L,ee,Ee){y.o(L,ee)||Object.defineProperty(L,ee,{enumerable:!0,get:Ee})},y.r=function(L){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(L,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(L,"__esModule",{value:!0})},y.t=function(L,ee){if(ee&1&&(L=y(L)),ee&8||ee&4&&typeof L=="object"&&L&&L.__esModule)return L;var Ee=Object.create(null);if(y.r(Ee),Object.defineProperty(Ee,"default",{enumerable:!0,value:L}),ee&2&&typeof L!="string")for(var $ in L)y.d(Ee,$,function(q){return L[q]}.bind(null,$));return Ee},y.n=function(L){var ee=L&&L.__esModule?function(){return L.default}:function(){return L};return y.d(ee,"a",ee),ee},y.o=function(L,ee){return Object.prototype.hasOwnProperty.call(L,ee)},y.p="",y(y.s=1)}([function(et,f,y){},function(et,f,y){"use strict";y.r(f);var L=y(0),ee=function(){function re(l,d,h){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=l,this.start=d,this.end=h}return re.range=function(d,h){return h?!d||!d.loc||!h.loc||d.loc.lexer!==h.loc.lexer?null:new re(d.loc.lexer,d.loc.start,h.loc.end):d&&d.loc},re}(),Ee=function(){function re(d,h){this.text=void 0,this.loc=void 0,this.text=d,this.loc=h}var l=re.prototype;return l.range=function(h,g){return new re(g,ee.range(this,h))},re}(),$=function re(l,d){this.position=void 0;var h="KaTeX parse error: "+l,g,N=d&&d.loc;if(N&&N.start<=N.end){var le=N.lexer.input;g=N.start;var Ne=N.end;g===le.length?h+=" at end of input: ":h+=" at position "+(g+1)+": ";var Be=le.slice(g,Ne).replace(/[^]/g,"$&\u0332"),qe;g>15?qe="\u2026"+le.slice(g-15,g):qe=le.slice(0,g);var vt;Ne+15<le.length?vt=le.slice(Ne,Ne+15)+"\u2026":vt=le.slice(Ne),h+=qe+Be+vt}var Tt=new Error(h);return Tt.name="ParseError",Tt.__proto__=re.prototype,Tt.position=g,Tt};$.prototype.__proto__=Error.prototype;var q=$,C=function(l,d){return l.indexOf(d)!==-1},Se=function(l,d){return l===void 0?d:l},a=/([A-Z])/g,I=function(l){return l.replace(a,"-$1").toLowerCase()},z={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},S=/[&><"']/g;function u(re){return String(re).replace(S,function(l){return z[l]})}var x=function re(l){return l.type==="ordgroup"||l.type==="color"?l.body.length===1?re(l.body[0]):l:l.type==="font"?re(l.body):l},m=function(l){var d=x(l);return d.type==="mathord"||d.type==="textord"||d.type==="atom"},P=function(l){if(!l)throw new Error("Expected non-null, but got "+String(l));return l},ue=function(l){var d=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(l);return d!=null?d[1]:"_relative"},B={contains:C,deflt:Se,escape:u,hyphenate:I,getBaseElem:x,isCharacterBox:m,protocolFromUrl:ue},W=function(){function re(d){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,d=d||{},this.displayMode=B.deflt(d.displayMode,!1),this.output=B.deflt(d.output,"htmlAndMathml"),this.leqno=B.deflt(d.leqno,!1),this.fleqn=B.deflt(d.fleqn,!1),this.throwOnError=B.deflt(d.throwOnError,!0),this.errorColor=B.deflt(d.errorColor,"#cc0000"),this.macros=d.macros||{},this.minRuleThickness=Math.max(0,B.deflt(d.minRuleThickness,0)),this.colorIsTextColor=B.deflt(d.colorIsTextColor,!1),this.strict=B.deflt(d.strict,"warn"),this.trust=B.deflt(d.trust,!1),this.maxSize=Math.max(0,B.deflt(d.maxSize,1/0)),this.maxExpand=Math.max(0,B.deflt(d.maxExpand,1e3))}var l=re.prototype;return l.reportNonstrict=function(h,g,N){var le=this.strict;if(typeof le=="function"&&(le=le(h,g,N)),!(!le||le==="ignore")){if(le===!0||le==="error")throw new q("LaTeX-incompatible input and strict mode is set to 'error': "+(g+" ["+h+"]"),N);le==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(g+" ["+h+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+le+"': "+g+" ["+h+"]"))}},l.useStrictBehavior=function(h,g,N){var le=this.strict;if(typeof le=="function")try{le=le(h,g,N)}catch(Ne){le="error"}return!le||le==="ignore"?!1:le===!0||le==="error"?!0:le==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(g+" ["+h+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+le+"': "+g+" ["+h+"]")),!1)},l.isTrusted=function(h){h.url&&!h.protocol&&(h.protocol=B.protocolFromUrl(h.url));var g=typeof this.trust=="function"?this.trust(h):this.trust;return!!g},re}(),ne=function(){function re(d,h,g){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=d,this.size=h,this.cramped=g}var l=re.prototype;return l.sup=function(){return ae[te[this.id]]},l.sub=function(){return ae[U[this.id]]},l.fracNum=function(){return ae[pe[this.id]]},l.fracDen=function(){return ae[Q[this.id]]},l.cramp=function(){return ae[de[this.id]]},l.text=function(){return ae[ie[this.id]]},l.isTight=function(){return this.size>=2},re}(),Y=0,b=1,R=2,Z=3,j=4,he=5,me=6,fe=7,ae=[new ne(Y,0,!1),new ne(b,0,!0),new ne(R,1,!1),new ne(Z,1,!0),new ne(j,2,!1),new ne(he,2,!0),new ne(me,3,!1),new ne(fe,3,!0)],te=[j,he,j,he,me,fe,me,fe],U=[he,he,he,he,fe,fe,fe,fe],pe=[R,Z,j,he,me,fe,me,fe],Q=[Z,Z,he,he,fe,fe,fe,fe],de=[b,b,Z,Z,he,he,fe,fe],ie=[Y,b,R,Z,R,Z,R,Z],v={DISPLAY:ae[Y],TEXT:ae[R],SCRIPT:ae[j],SCRIPTSCRIPT:ae[me]},_=[{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 V(re){for(var l=0;l<_.length;l++)for(var d=_[l],h=0;h<d.blocks.length;h++){var g=d.blocks[h];if(re>=g[0]&&re<=g[1])return d.name}return null}var J=[];_.forEach(function(re){return re.blocks.forEach(function(l){return J.push.apply(J,l)})});function Le(re){for(var l=0;l<J.length;l+=2)if(re>=J[l]&&re<=J[l+1])return!0;return!1}var Oe=80,Ie=function(l,d){return"M95,"+(622+l+d)+`
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`+l/2.075+" -"+l+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+l)+`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+l)+" "+d+"h400000v"+(40+l)+"h-400000z"},Ze=function(l,d){return"M263,"+(601+l+d)+`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`+l/2.084+" -"+l+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+l)+`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+l)+" "+d+"h400000v"+(40+l)+"h-400000z"},ut=function(l,d){return"M983 "+(10+l+d)+`
l`+l/3.13+" -"+l+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+l)+`
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+l)+" "+d+"h400000v"+(40+l)+"h-400000z"},ct=function(l,d){return"M424,"+(2398+l+d)+`
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`+l/4.223+" -"+l+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+l)+`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+l)+" "+d+`
h400000v`+(40+l)+"h-400000z"},it=function(l,d){return"M473,"+(2713+l+d)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+l/5.298+" -"+l+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+l)+`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+l)+" "+d+"h400000v"+(40+l)+"H1017.7z"},Nt=function(l,d,h){var g=h-54-d-l;return"M702 "+(l+d)+"H400000"+(40+l)+`
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 `+d+"H400000v"+(40+l)+"H742z"},qt=function(l,d,h){d=1e3*d;var g="";switch(l){case"sqrtMain":g=Ie(d,Oe);break;case"sqrtSize1":g=Ze(d,Oe);break;case"sqrtSize2":g=ut(d,Oe);break;case"sqrtSize3":g=ct(d,Oe);break;case"sqrtSize4":g=it(d,Oe);break;case"sqrtTall":g=Nt(d,Oe,h)}return g},nn={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`},Dt=function(){function re(d){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=d,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var l=re.prototype;return l.hasClass=function(h){return B.contains(this.classes,h)},l.toNode=function(){for(var h=document.createDocumentFragment(),g=0;g<this.children.length;g++)h.appendChild(this.children[g].toNode());return h},l.toMarkup=function(){for(var h="",g=0;g<this.children.length;g++)h+=this.children[g].toMarkup();return h},l.toText=function(){var h=function(N){return N.toText()};return this.children.map(h).join("")},re}(),$t=function(l){return l.filter(function(d){return d}).join(" ")},ot=function(l,d,h){if(this.classes=l||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=h||{},d){d.style.isTight()&&this.classes.push("mtight");var g=d.getColor();g&&(this.style.color=g)}},se=function(l){var d=document.createElement(l);d.className=$t(this.classes);for(var h in this.style)this.style.hasOwnProperty(h)&&(d.style[h]=this.style[h]);for(var g in this.attributes)this.attributes.hasOwnProperty(g)&&d.setAttribute(g,this.attributes[g]);for(var N=0;N<this.children.length;N++)d.appendChild(this.children[N].toNode());return d},be=function(l){var d="<"+l;this.classes.length&&(d+=' class="'+B.escape($t(this.classes))+'"');var h="";for(var g in this.style)this.style.hasOwnProperty(g)&&(h+=B.hyphenate(g)+":"+this.style[g]+";");h&&(d+=' style="'+B.escape(h)+'"');for(var N in this.attributes)this.attributes.hasOwnProperty(N)&&(d+=" "+N+'="'+B.escape(this.attributes[N])+'"');d+=">";for(var le=0;le<this.children.length;le++)d+=this.children[le].toMarkup();return d+="</"+l+">",d},H=function(){function re(d,h,g,N){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,ot.call(this,d,g,N),this.children=h||[]}var l=re.prototype;return l.setAttribute=function(h,g){this.attributes[h]=g},l.hasClass=function(h){return B.contains(this.classes,h)},l.toNode=function(){return se.call(this,"span")},l.toMarkup=function(){return be.call(this,"span")},re}(),O=function(){function re(d,h,g,N){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,ot.call(this,h,N),this.children=g||[],this.setAttribute("href",d)}var l=re.prototype;return l.setAttribute=function(h,g){this.attributes[h]=g},l.hasClass=function(h){return B.contains(this.classes,h)},l.toNode=function(){return se.call(this,"a")},l.toMarkup=function(){return be.call(this,"a")},re}(),xe=function(){function re(d,h,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=h,this.src=d,this.classes=["mord"],this.style=g}var l=re.prototype;return l.hasClass=function(h){return B.contains(this.classes,h)},l.toNode=function(){var h=document.createElement("img");h.src=this.src,h.alt=this.alt,h.className="mord";for(var g in this.style)this.style.hasOwnProperty(g)&&(h.style[g]=this.style[g]);return h},l.toMarkup=function(){var h="<img src='"+this.src+" 'alt='"+this.alt+"' ",g="";for(var N in this.style)this.style.hasOwnProperty(N)&&(g+=B.hyphenate(N)+":"+this.style[N]+";");return g&&(h+=' style="'+B.escape(g)+'"'),h+="'/>",h},re}(),k={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},E=function(){function re(d,h,g,N,le,Ne,Be,qe){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=d,this.height=h||0,this.depth=g||0,this.italic=N||0,this.skew=le||0,this.width=Ne||0,this.classes=Be||[],this.style=qe||{},this.maxFontSize=0;var vt=V(this.text.charCodeAt(0));vt&&this.classes.push(vt+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=k[this.text])}var l=re.prototype;return l.hasClass=function(h){return B.contains(this.classes,h)},l.toNode=function(){var h=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=$t(this.classes));for(var N in this.style)this.style.hasOwnProperty(N)&&(g=g||document.createElement("span"),g.style[N]=this.style[N]);return g?(g.appendChild(h),g):h},l.toMarkup=function(){var h=!1,g="<span";this.classes.length&&(h=!0,g+=' class="',g+=B.escape($t(this.classes)),g+='"');var N="";this.italic>0&&(N+="margin-right:"+this.italic+"em;");for(var le in this.style)this.style.hasOwnProperty(le)&&(N+=B.hyphenate(le)+":"+this.style[le]+";");N&&(h=!0,g+=' style="'+B.escape(N)+'"');var Ne=B.escape(this.text);return h?(g+=">",g+=Ne,g+="</span>",g):Ne},re}(),T=function(){function re(d,h){this.children=void 0,this.attributes=void 0,this.children=d||[],this.attributes=h||{}}var l=re.prototype;return l.toNode=function(){var h="http://www.w3.org/2000/svg",g=document.createElementNS(h,"svg");for(var N in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,N)&&g.setAttribute(N,this.attributes[N]);for(var le=0;le<this.children.length;le++)g.appendChild(this.children[le].toNode());return g},l.toMarkup=function(){var h="<svg";for(var g in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,g)&&(h+=" "+g+"='"+this.attributes[g]+"'");h+=">";for(var N=0;N<this.children.length;N++)h+=this.children[N].toMarkup();return h+="</svg>",h},re}(),X=function(){function re(d,h){this.pathName=void 0,this.alternate=void 0,this.pathName=d,this.alternate=h}var l=re.prototype;return l.toNode=function(){var h="http://www.w3.org/2000/svg",g=document.createElementNS(h,"path");return this.alternate?g.setAttribute("d",this.alternate):g.setAttribute("d",nn[this.pathName]),g},l.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+nn[this.pathName]+"'/>"},re}(),G=function(){function re(d){this.attributes=void 0,this.attributes=d||{}}var l=re.prototype;return l.toNode=function(){var h="http://www.w3.org/2000/svg",g=document.createElementNS(h,"line");for(var N in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,N)&&g.setAttribute(N,this.attributes[N]);return g},l.toMarkup=function(){var h="<line";for(var g in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,g)&&(h+=" "+g+"='"+this.attributes[g]+"'");return h+="/>",h},re}();function K(re){if(re instanceof E)return re;throw new Error("Expected symbolNode but got "+String(re)+".")}function we(re){if(re instanceof H)return re;throw new Error("Expected span<HtmlDomNode> but got "+String(re)+".")}var Ke={"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]}},ke={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]},Te={\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 Ye(re,l){Ke[re]=l}function tt(re,l,d){if(!Ke[l])throw new Error("Font metrics not found for font: "+l+".");var h=re.charCodeAt(0),g=Ke[l][h];if(!g&&re[0]in Te&&(h=Te[re[0]].charCodeAt(0),g=Ke[l][h]),!g&&d==="text"&&Le(h)&&(g=Ke[l][77]),g)return{depth:g[0],height:g[1],italic:g[2],skew:g[3],width:g[4]}}var We={};function yt(re){var l;if(re>=5?l=0:re>=3?l=1:l=2,!We[l]){var d=We[l]={cssEmPerMu:ke.quad[l]/18};for(var h in ke)ke.hasOwnProperty(h)&&(d[h]=ke[h][l])}return We[l]}var St={bin:1,close:1,inner:1,open:1,punct:1,rel:1},pt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Lt={math:{},text:{}},_t=Lt;function w(re,l,d,h,g,N){Lt[re][g]={font:l,group:d,replace:h},N&&h&&(Lt[re][h]=Lt[re][g])}var D="math",bt="text",ce="main",Me="ams",pn="accent-token",He="bin",rt="close",Je="inner",Ae="mathord",De="op-token",ze="open",Xe="punct",ge="rel",an="spacing",$e="textord";w(D,ce,ge,"\u2261","\\equiv",!0),w(D,ce,ge,"\u227A","\\prec",!0),w(D,ce,ge,"\u227B","\\succ",!0),w(D,ce,ge,"\u223C","\\sim",!0),w(D,ce,ge,"\u22A5","\\perp"),w(D,ce,ge,"\u2AAF","\\preceq",!0),w(D,ce,ge,"\u2AB0","\\succeq",!0),w(D,ce,ge,"\u2243","\\simeq",!0),w(D,ce,ge,"\u2223","\\mid",!0),w(D,ce,ge,"\u226A","\\ll",!0),w(D,ce,ge,"\u226B","\\gg",!0),w(D,ce,ge,"\u224D","\\asymp",!0),w(D,ce,ge,"\u2225","\\parallel"),w(D,ce,ge,"\u22C8","\\bowtie",!0),w(D,ce,ge,"\u2323","\\smile",!0),w(D,ce,ge,"\u2291","\\sqsubseteq",!0),w(D,ce,ge,"\u2292","\\sqsupseteq",!0),w(D,ce,ge,"\u2250","\\doteq",!0),w(D,ce,ge,"\u2322","\\frown",!0),w(D,ce,ge,"\u220B","\\ni",!0),w(D,ce,ge,"\u221D","\\propto",!0),w(D,ce,ge,"\u22A2","\\vdash",!0),w(D,ce,ge,"\u22A3","\\dashv",!0),w(D,ce,ge,"\u220B","\\owns"),w(D,ce,Xe,".","\\ldotp"),w(D,ce,Xe,"\u22C5","\\cdotp"),w(D,ce,$e,"#","\\#"),w(bt,ce,$e,"#","\\#"),w(D,ce,$e,"&","\\&"),w(bt,ce,$e,"&","\\&"),w(D,ce,$e,"\u2135","\\aleph",!0),w(D,ce,$e,"\u2200","\\forall",!0),w(D,ce,$e,"\u210F","\\hbar",!0),w(D,ce,$e,"\u2203","\\exists",!0),w(D,ce,$e,"\u2207","\\nabla",!0),w(D,ce,$e,"\u266D","\\flat",!0),w(D,ce,$e,"\u2113","\\ell",!0),w(D,ce,$e,"\u266E","\\natural",!0),w(D,ce,$e,"\u2663","\\clubsuit",!0),w(D,ce,$e,"\u2118","\\wp",!0),w(D,ce,$e,"\u266F","\\sharp",!0),w(D,ce,$e,"\u2662","\\diamondsuit",!0),w(D,ce,$e,"\u211C","\\Re",!0),w(D,ce,$e,"\u2661","\\heartsuit",!0),w(D,ce,$e,"\u2111","\\Im",!0),w(D,ce,$e,"\u2660","\\spadesuit",!0),w(bt,ce,$e,"\xA7","\\S",!0),w(bt,ce,$e,"\xB6","\\P",!0),w(D,ce,$e,"\u2020","\\dag"),w(bt,ce,$e,"\u2020","\\dag"),w(bt,ce,$e,"\u2020","\\textdagger"),w(D,ce,$e,"\u2021","\\ddag"),w(bt,ce,$e,"\u2021","\\ddag"),w(bt,ce,$e,"\u2021","\\textdaggerdbl"),w(D,ce,rt,"\u23B1","\\rmoustache",!0),w(D,ce,ze,"\u23B0","\\lmoustache",!0),w(D,ce,rt,"\u27EF","\\rgroup",!0),w(D,ce,ze,"\u27EE","\\lgroup",!0),w(D,ce,He,"\u2213","\\mp",!0),w(D,ce,He,"\u2296","\\ominus",!0),w(D,ce,He,"\u228E","\\uplus",!0),w(D,ce,He,"\u2293","\\sqcap",!0),w(D,ce,He,"\u2217","\\ast"),w(D,ce,He,"\u2294","\\sqcup",!0),w(D,ce,He,"\u25EF","\\bigcirc"),w(D,ce,He,"\u2219","\\bullet"),w(D,ce,He,"\u2021","\\ddagger"),w(D,ce,He,"\u2240","\\wr",!0),w(D,ce,He,"\u2A3F","\\amalg"),w(D,ce,He,"&","\\And"),w(D,ce,ge,"\u27F5","\\longleftarrow",!0),w(D,ce,ge,"\u21D0","\\Leftarrow",!0),w(D,ce,ge,"\u27F8","\\Longleftarrow",!0),w(D,ce,ge,"\u27F6","\\longrightarrow",!0),w(D,ce,ge,"\u21D2","\\Rightarrow",!0),w(D,ce,ge,"\u27F9","\\Longrightarrow",!0),w(D,ce,ge,"\u2194","\\leftrightarrow",!0),w(D,ce,ge,"\u27F7","\\longleftrightarrow",!0),w(D,ce,ge,"\u21D4","\\Leftrightarrow",!0),w(D,ce,ge,"\u27FA","\\Longleftrightarrow",!0),w(D,ce,ge,"\u21A6","\\mapsto",!0),w(D,ce,ge,"\u27FC","\\longmapsto",!0),w(D,ce,ge,"\u2197","\\nearrow",!0),w(D,ce,ge,"\u21A9","\\hookleftarrow",!0),w(D,ce,ge,"\u21AA","\\hookrightarrow",!0),w(D,ce,ge,"\u2198","\\searrow",!0),w(D,ce,ge,"\u21BC","\\leftharpoonup",!0),w(D,ce,ge,"\u21C0","\\rightharpoonup",!0),w(D,ce,ge,"\u2199","\\swarrow",!0),w(D,ce,ge,"\u21BD","\\leftharpoondown",!0),w(D,ce,ge,"\u21C1","\\rightharpoondown",!0),w(D,ce,ge,"\u2196","\\nwarrow",!0),w(D,ce,ge,"\u21CC","\\rightleftharpoons",!0),w(D,Me,ge,"\u226E","\\nless",!0),w(D,Me,ge,"\uE010","\\@nleqslant"),w(D,Me,ge,"\uE011","\\@nleqq"),w(D,Me,ge,"\u2A87","\\lneq",!0),w(D,Me,ge,"\u2268","\\lneqq",!0),w(D,Me,ge,"\uE00C","\\@lvertneqq"),w(D,Me,ge,"\u22E6","\\lnsim",!0),w(D,Me,ge,"\u2A89","\\lnapprox",!0),w(D,Me,ge,"\u2280","\\nprec",!0),w(D,Me,ge,"\u22E0","\\npreceq",!0),w(D,Me,ge,"\u22E8","\\precnsim",!0),w(D,Me,ge,"\u2AB9","\\precnapprox",!0),w(D,Me,ge,"\u2241","\\nsim",!0),w(D,Me,ge,"\uE006","\\@nshortmid"),w(D,Me,ge,"\u2224","\\nmid",!0),w(D,Me,ge,"\u22AC","\\nvdash",!0),w(D,Me,ge,"\u22AD","\\nvDash",!0),w(D,Me,ge,"\u22EA","\\ntriangleleft"),w(D,Me,ge,"\u22EC","\\ntrianglelefteq",!0),w(D,Me,ge,"\u228A","\\subsetneq",!0),w(D,Me,ge,"\uE01A","\\@varsubsetneq"),w(D,Me,ge,"\u2ACB","\\subsetneqq",!0),w(D,Me,ge,"\uE017","\\@varsubsetneqq"),w(D,Me,ge,"\u226F","\\ngtr",!0),w(D,Me,ge,"\uE00F","\\@ngeqslant"),w(D,Me,ge,"\uE00E","\\@ngeqq"),w(D,Me,ge,"\u2A88","\\gneq",!0),w(D,Me,ge,"\u2269","\\gneqq",!0),w(D,Me,ge,"\uE00D","\\@gvertneqq"),w(D,Me,ge,"\u22E7","\\gnsim",!0),w(D,Me,ge,"\u2A8A","\\gnapprox",!0),w(D,Me,ge,"\u2281","\\nsucc",!0),w(D,Me,ge,"\u22E1","\\nsucceq",!0),w(D,Me,ge,"\u22E9","\\succnsim",!0),w(D,Me,ge,"\u2ABA","\\succnapprox",!0),w(D,Me,ge,"\u2246","\\ncong",!0),w(D,Me,ge,"\uE007","\\@nshortparallel"),w(D,Me,ge,"\u2226","\\nparallel",!0),w(D,Me,ge,"\u22AF","\\nVDash",!0),w(D,Me,ge,"\u22EB","\\ntriangleright"),w(D,Me,ge,"\u22ED","\\ntrianglerighteq",!0),w(D,Me,ge,"\uE018","\\@nsupseteqq"),w(D,Me,ge,"\u228B","\\supsetneq",!0),w(D,Me,ge,"\uE01B","\\@varsupsetneq"),w(D,Me,ge,"\u2ACC","\\supsetneqq",!0),w(D,Me,ge,"\uE019","\\@varsupsetneqq"),w(D,Me,ge,"\u22AE","\\nVdash",!0),w(D,Me,ge,"\u2AB5","\\precneqq",!0),w(D,Me,ge,"\u2AB6","\\succneqq",!0),w(D,Me,ge,"\uE016","\\@nsubseteqq"),w(D,Me,He,"\u22B4","\\unlhd"),w(D,Me,He,"\u22B5","\\unrhd"),w(D,Me,ge,"\u219A","\\nleftarrow",!0),w(D,Me,ge,"\u219B","\\nrightarrow",!0),w(D,Me,ge,"\u21CD","\\nLeftarrow",!0),w(D,Me,ge,"\u21CF","\\nRightarrow",!0),w(D,Me,ge,"\u21AE","\\nleftrightarrow",!0),w(D,Me,ge,"\u21CE","\\nLeftrightarrow",!0),w(D,Me,ge,"\u25B3","\\vartriangle"),w(D,Me,$e,"\u210F","\\hslash"),w(D,Me,$e,"\u25BD","\\triangledown"),w(D,Me,$e,"\u25CA","\\lozenge"),w(D,Me,$e,"\u24C8","\\circledS"),w(D,Me,$e,"\xAE","\\circledR"),w(bt,Me,$e,"\xAE","\\circledR"),w(D,Me,$e,"\u2221","\\measuredangle",!0),w(D,Me,$e,"\u2204","\\nexists"),w(D,Me,$e,"\u2127","\\mho"),w(D,Me,$e,"\u2132","\\Finv",!0),w(D,Me,$e,"\u2141","\\Game",!0),w(D,Me,$e,"\u2035","\\backprime"),w(D,Me,$e,"\u25B2","\\blacktriangle"),w(D,Me,$e,"\u25BC","\\blacktriangledown"),w(D,Me,$e,"\u25A0","\\blacksquare"),w(D,Me,$e,"\u29EB","\\blacklozenge"),w(D,Me,$e,"\u2605","\\bigstar"),w(D,Me,$e,"\u2222","\\sphericalangle",!0),w(D,Me,$e,"\u2201","\\complement",!0),w(D,Me,$e,"\xF0","\\eth",!0),w(D,Me,$e,"\u2571","\\diagup"),w(D,Me,$e,"\u2572","\\diagdown"),w(D,Me,$e,"\u25A1","\\square"),w(D,Me,$e,"\u25A1","\\Box"),w(D,Me,$e,"\u25CA","\\Diamond"),w(D,Me,$e,"\xA5","\\yen",!0),w(bt,Me,$e,"\xA5","\\yen",!0),w(D,Me,$e,"\u2713","\\checkmark",!0),w(bt,Me,$e,"\u2713","\\checkmark"),w(D,Me,$e,"\u2136","\\beth",!0),w(D,Me,$e,"\u2138","\\daleth",!0),w(D,Me,$e,"\u2137","\\gimel",!0),w(D,Me,$e,"\u03DD","\\digamma",!0),w(D,Me,$e,"\u03F0","\\varkappa"),w(D,Me,ze,"\u250C","\\ulcorner",!0),w(D,Me,rt,"\u2510","\\urcorner",!0),w(D,Me,ze,"\u2514","\\llcorner",!0),w(D,Me,rt,"\u2518","\\lrcorner",!0),w(D,Me,ge,"\u2266","\\leqq",!0),w(D,Me,ge,"\u2A7D","\\leqslant",!0),w(D,Me,ge,"\u2A95","\\eqslantless",!0),w(D,Me,ge,"\u2272","\\lesssim",!0),w(D,Me,ge,"\u2A85","\\lessapprox",!0),w(D,Me,ge,"\u224A","\\approxeq",!0),w(D,Me,He,"\u22D6","\\lessdot"),w(D,Me,ge,"\u22D8","\\lll",!0),w(D,Me,ge,"\u2276","\\lessgtr",!0),w(D,Me,ge,"\u22DA","\\lesseqgtr",!0),w(D,Me,ge,"\u2A8B","\\lesseqqgtr",!0),w(D,Me,ge,"\u2251","\\doteqdot"),w(D,Me,ge,"\u2253","\\risingdotseq",!0),w(D,Me,ge,"\u2252","\\fallingdotseq",!0),w(D,Me,ge,"\u223D","\\backsim",!0),w(D,Me,ge,"\u22CD","\\backsimeq",!0),w(D,Me,ge,"\u2AC5","\\subseteqq",!0),w(D,Me,ge,"\u22D0","\\Subset",!0),w(D,Me,ge,"\u228F","\\sqsubset",!0),w(D,Me,ge,"\u227C","\\preccurlyeq",!0),w(D,Me,ge,"\u22DE","\\curlyeqprec",!0),w(D,Me,ge,"\u227E","\\precsim",!0),w(D,Me,ge,"\u2AB7","\\precapprox",!0),w(D,Me,ge,"\u22B2","\\vartriangleleft"),w(D,Me,ge,"\u22B4","\\trianglelefteq"),w(D,Me,ge,"\u22A8","\\vDash",!0),w(D,Me,ge,"\u22AA","\\Vvdash",!0),w(D,Me,ge,"\u2323","\\smallsmile"),w(D,Me,ge,"\u2322","\\smallfrown"),w(D,Me,ge,"\u224F","\\bumpeq",!0),w(D,Me,ge,"\u224E","\\Bumpeq",!0),w(D,Me,ge,"\u2267","\\geqq",!0),w(D,Me,ge,"\u2A7E","\\geqslant",!0),w(D,Me,ge,"\u2A96","\\eqslantgtr",!0),w(D,Me,ge,"\u2273","\\gtrsim",!0),w(D,Me,ge,"\u2A86","\\gtrapprox",!0),w(D,Me,He,"\u22D7","\\gtrdot"),w(D,Me,ge,"\u22D9","\\ggg",!0),w(D,Me,ge,"\u2277","\\gtrless",!0),w(D,Me,ge,"\u22DB","\\gtreqless",!0),w(D,Me,ge,"\u2A8C","\\gtreqqless",!0),w(D,Me,ge,"\u2256","\\eqcirc",!0),w(D,Me,ge,"\u2257","\\circeq",!0),w(D,Me,ge,"\u225C","\\triangleq",!0),w(D,Me,ge,"\u223C","\\thicksim"),w(D,Me,ge,"\u2248","\\thickapprox"),w(D,Me,ge,"\u2AC6","\\supseteqq",!0),w(D,Me,ge,"\u22D1","\\Supset",!0),w(D,Me,ge,"\u2290","\\sqsupset",!0),w(D,Me,ge,"\u227D","\\succcurlyeq",!0),w(D,Me,ge,"\u22DF","\\curlyeqsucc",!0),w(D,Me,ge,"\u227F","\\succsim",!0),w(D,Me,ge,"\u2AB8","\\succapprox",!0),w(D,Me,ge,"\u22B3","\\vartriangleright"),w(D,Me,ge,"\u22B5","\\trianglerighteq"),w(D,Me,ge,"\u22A9","\\Vdash",!0),w(D,Me,ge,"\u2223","\\shortmid"),w(D,Me,ge,"\u2225","\\shortparallel"),w(D,Me,ge,"\u226C","\\between",!0),w(D,Me,ge,"\u22D4","\\pitchfork",!0),w(D,Me,ge,"\u221D","\\varpropto"),w(D,Me,ge,"\u25C0","\\blacktriangleleft"),w(D,Me,ge,"\u2234","\\therefore",!0),w(D,Me,ge,"\u220D","\\backepsilon"),w(D,Me,ge,"\u25B6","\\blacktriangleright"),w(D,Me,ge,"\u2235","\\because",!0),w(D,Me,ge,"\u22D8","\\llless"),w(D,Me,ge,"\u22D9","\\gggtr"),w(D,Me,He,"\u22B2","\\lhd"),w(D,Me,He,"\u22B3","\\rhd"),w(D,Me,ge,"\u2242","\\eqsim",!0),w(D,ce,ge,"\u22C8","\\Join"),w(D,Me,ge,"\u2251","\\Doteq",!0),w(D,Me,He,"\u2214","\\dotplus",!0),w(D,Me,He,"\u2216","\\smallsetminus"),w(D,Me,He,"\u22D2","\\Cap",!0),w(D,Me,He,"\u22D3","\\Cup",!0),w(D,Me,He,"\u2A5E","\\doublebarwedge",!0),w(D,Me,He,"\u229F","\\boxminus",!0),w(D,Me,He,"\u229E","\\boxplus",!0),w(D,Me,He,"\u22C7","\\divideontimes",!0),w(D,Me,He,"\u22C9","\\ltimes",!0),w(D,Me,He,"\u22CA","\\rtimes",!0),w(D,Me,He,"\u22CB","\\leftthreetimes",!0),w(D,Me,He,"\u22CC","\\rightthreetimes",!0),w(D,Me,He,"\u22CF","\\curlywedge",!0),w(D,Me,He,"\u22CE","\\curlyvee",!0),w(D,Me,He,"\u229D","\\circleddash",!0),w(D,Me,He,"\u229B","\\circledast",!0),w(D,Me,He,"\u22C5","\\centerdot"),w(D,Me,He,"\u22BA","\\intercal",!0),w(D,Me,He,"\u22D2","\\doublecap"),w(D,Me,He,"\u22D3","\\doublecup"),w(D,Me,He,"\u22A0","\\boxtimes",!0),w(D,Me,ge,"\u21E2","\\dashrightarrow",!0),w(D,Me,ge,"\u21E0","\\dashleftarrow",!0),w(D,Me,ge,"\u21C7","\\leftleftarrows",!0),w(D,Me,ge,"\u21C6","\\leftrightarrows",!0),w(D,Me,ge,"\u21DA","\\Lleftarrow",!0),w(D,Me,ge,"\u219E","\\twoheadleftarrow",!0),w(D,Me,ge,"\u21A2","\\leftarrowtail",!0),w(D,Me,ge,"\u21AB","\\looparrowleft",!0),w(D,Me,ge,"\u21CB","\\leftrightharpoons",!0),w(D,Me,ge,"\u21B6","\\curvearrowleft",!0),w(D,Me,ge,"\u21BA","\\circlearrowleft",!0),w(D,Me,ge,"\u21B0","\\Lsh",!0),w(D,Me,ge,"\u21C8","\\upuparrows",!0),w(D,Me,ge,"\u21BF","\\upharpoonleft",!0),w(D,Me,ge,"\u21C3","\\downharpoonleft",!0),w(D,Me,ge,"\u22B8","\\multimap",!0),w(D,Me,ge,"\u21AD","\\leftrightsquigarrow",!0),w(D,Me,ge,"\u21C9","\\rightrightarrows",!0),w(D,Me,ge,"\u21C4","\\rightleftarrows",!0),w(D,Me,ge,"\u21A0","\\twoheadrightarrow",!0),w(D,Me,ge,"\u21A3","\\rightarrowtail",!0),w(D,Me,ge,"\u21AC","\\looparrowright",!0),w(D,Me,ge,"\u21B7","\\curvearrowright",!0),w(D,Me,ge,"\u21BB","\\circlearrowright",!0),w(D,Me,ge,"\u21B1","\\Rsh",!0),w(D,Me,ge,"\u21CA","\\downdownarrows",!0),w(D,Me,ge,"\u21BE","\\upharpoonright",!0),w(D,Me,ge,"\u21C2","\\downharpoonright",!0),w(D,Me,ge,"\u21DD","\\rightsquigarrow",!0),w(D,Me,ge,"\u21DD","\\leadsto"),w(D,Me,ge,"\u21DB","\\Rrightarrow",!0),w(D,Me,ge,"\u21BE","\\restriction"),w(D,ce,$e,"\u2018","`"),w(D,ce,$e,"$","\\$"),w(bt,ce,$e,"$","\\$"),w(bt,ce,$e,"$","\\textdollar"),w(D,ce,$e,"%","\\%"),w(bt,ce,$e,"%","\\%"),w(D,ce,$e,"_","\\_"),w(bt,ce,$e,"_","\\_"),w(bt,ce,$e,"_","\\textunderscore"),w(D,ce,$e,"\u2220","\\angle",!0),w(D,ce,$e,"\u221E","\\infty",!0),w(D,ce,$e,"\u2032","\\prime"),w(D,ce,$e,"\u25B3","\\triangle"),w(D,ce,$e,"\u0393","\\Gamma",!0),w(D,ce,$e,"\u0394","\\Delta",!0),w(D,ce,$e,"\u0398","\\Theta",!0),w(D,ce,$e,"\u039B","\\Lambda",!0),w(D,ce,$e,"\u039E","\\Xi",!0),w(D,ce,$e,"\u03A0","\\Pi",!0),w(D,ce,$e,"\u03A3","\\Sigma",!0),w(D,ce,$e,"\u03A5","\\Upsilon",!0),w(D,ce,$e,"\u03A6","\\Phi",!0),w(D,ce,$e,"\u03A8","\\Psi",!0),w(D,ce,$e,"\u03A9","\\Omega",!0),w(D,ce,$e,"A","\u0391"),w(D,ce,$e,"B","\u0392"),w(D,ce,$e,"E","\u0395"),w(D,ce,$e,"Z","\u0396"),w(D,ce,$e,"H","\u0397"),w(D,ce,$e,"I","\u0399"),w(D,ce,$e,"K","\u039A"),w(D,ce,$e,"M","\u039C"),w(D,ce,$e,"N","\u039D"),w(D,ce,$e,"O","\u039F"),w(D,ce,$e,"P","\u03A1"),w(D,ce,$e,"T","\u03A4"),w(D,ce,$e,"X","\u03A7"),w(D,ce,$e,"\xAC","\\neg",!0),w(D,ce,$e,"\xAC","\\lnot"),w(D,ce,$e,"\u22A4","\\top"),w(D,ce,$e,"\u22A5","\\bot"),w(D,ce,$e,"\u2205","\\emptyset"),w(D,Me,$e,"\u2205","\\varnothing"),w(D,ce,Ae,"\u03B1","\\alpha",!0),w(D,ce,Ae,"\u03B2","\\beta",!0),w(D,ce,Ae,"\u03B3","\\gamma",!0),w(D,ce,Ae,"\u03B4","\\delta",!0),w(D,ce,Ae,"\u03F5","\\epsilon",!0),w(D,ce,Ae,"\u03B6","\\zeta",!0),w(D,ce,Ae,"\u03B7","\\eta",!0),w(D,ce,Ae,"\u03B8","\\theta",!0),w(D,ce,Ae,"\u03B9","\\iota",!0),w(D,ce,Ae,"\u03BA","\\kappa",!0),w(D,ce,Ae,"\u03BB","\\lambda",!0),w(D,ce,Ae,"\u03BC","\\mu",!0),w(D,ce,Ae,"\u03BD","\\nu",!0),w(D,ce,Ae,"\u03BE","\\xi",!0),w(D,ce,Ae,"\u03BF","\\omicron",!0),w(D,ce,Ae,"\u03C0","\\pi",!0),w(D,ce,Ae,"\u03C1","\\rho",!0),w(D,ce,Ae,"\u03C3","\\sigma",!0),w(D,ce,Ae,"\u03C4","\\tau",!0),w(D,ce,Ae,"\u03C5","\\upsilon",!0),w(D,ce,Ae,"\u03D5","\\phi",!0),w(D,ce,Ae,"\u03C7","\\chi",!0),w(D,ce,Ae,"\u03C8","\\psi",!0),w(D,ce,Ae,"\u03C9","\\omega",!0),w(D,ce,Ae,"\u03B5","\\varepsilon",!0),w(D,ce,Ae,"\u03D1","\\vartheta",!0),w(D,ce,Ae,"\u03D6","\\varpi",!0),w(D,ce,Ae,"\u03F1","\\varrho",!0),w(D,ce,Ae,"\u03C2","\\varsigma",!0),w(D,ce,Ae,"\u03C6","\\varphi",!0),w(D,ce,He,"\u2217","*"),w(D,ce,He,"+","+"),w(D,ce,He,"\u2212","-"),w(D,ce,He,"\u22C5","\\cdot",!0),w(D,ce,He,"\u2218","\\circ"),w(D,ce,He,"\xF7","\\div",!0),w(D,ce,He,"\xB1","\\pm",!0),w(D,ce,He,"\xD7","\\times",!0),w(D,ce,He,"\u2229","\\cap",!0),w(D,ce,He,"\u222A","\\cup",!0),w(D,ce,He,"\u2216","\\setminus"),w(D,ce,He,"\u2227","\\land"),w(D,ce,He,"\u2228","\\lor"),w(D,ce,He,"\u2227","\\wedge",!0),w(D,ce,He,"\u2228","\\vee",!0),w(D,ce,$e,"\u221A","\\surd"),w(D,ce,ze,"(","("),w(D,ce,ze,"[","["),w(D,ce,ze,"\u27E8","\\langle",!0),w(D,ce,ze,"\u2223","\\lvert"),w(D,ce,ze,"\u2225","\\lVert"),w(D,ce,rt,")",")"),w(D,ce,rt,"]","]"),w(D,ce,rt,"?","?"),w(D,ce,rt,"!","!"),w(D,ce,rt,"\u27E9","\\rangle",!0),w(D,ce,rt,"\u2223","\\rvert"),w(D,ce,rt,"\u2225","\\rVert"),w(D,ce,ge,"=","="),w(D,ce,ge,"<","<"),w(D,ce,ge,">",">"),w(D,ce,ge,":",":"),w(D,ce,ge,"\u2248","\\approx",!0),w(D,ce,ge,"\u2245","\\cong",!0),w(D,ce,ge,"\u2265","\\ge"),w(D,ce,ge,"\u2265","\\geq",!0),w(D,ce,ge,"\u2190","\\gets"),w(D,ce,ge,">","\\gt"),w(D,ce,ge,"\u2208","\\in",!0),w(D,ce,ge,"\uE020","\\@not"),w(D,ce,ge,"\u2282","\\subset",!0),w(D,ce,ge,"\u2283","\\supset",!0),w(D,ce,ge,"\u2286","\\subseteq",!0),w(D,ce,ge,"\u2287","\\supseteq",!0),w(D,Me,ge,"\u2288","\\nsubseteq",!0),w(D,Me,ge,"\u2289","\\nsupseteq",!0),w(D,ce,ge,"\u22A8","\\models"),w(D,ce,ge,"\u2190","\\leftarrow",!0),w(D,ce,ge,"\u2264","\\le"),w(D,ce,ge,"\u2264","\\leq",!0),w(D,ce,ge,"<","\\lt"),w(D,ce,ge,"\u2192","\\rightarrow",!0),w(D,ce,ge,"\u2192","\\to"),w(D,Me,ge,"\u2271","\\ngeq",!0),w(D,Me,ge,"\u2270","\\nleq",!0),w(D,ce,an,"\xA0","\\ "),w(D,ce,an,"\xA0","~"),w(D,ce,an,"\xA0","\\space"),w(D,ce,an,"\xA0","\\nobreakspace"),w(bt,ce,an,"\xA0","\\ "),w(bt,ce,an,"\xA0","~"),w(bt,ce,an,"\xA0","\\space"),w(bt,ce,an,"\xA0","\\nobreakspace"),w(D,ce,an,null,"\\nobreak"),w(D,ce,an,null,"\\allowbreak"),w(D,ce,Xe,",",","),w(D,ce,Xe,";",";"),w(D,Me,He,"\u22BC","\\barwedge",!0),w(D,Me,He,"\u22BB","\\veebar",!0),w(D,ce,He,"\u2299","\\odot",!0),w(D,ce,He,"\u2295","\\oplus",!0),w(D,ce,He,"\u2297","\\otimes",!0),w(D,ce,$e,"\u2202","\\partial",!0),w(D,ce,He,"\u2298","\\oslash",!0),w(D,Me,He,"\u229A","\\circledcirc",!0),w(D,Me,He,"\u22A1","\\boxdot",!0),w(D,ce,He,"\u25B3","\\bigtriangleup"),w(D,ce,He,"\u25BD","\\bigtriangledown"),w(D,ce,He,"\u2020","\\dagger"),w(D,ce,He,"\u22C4","\\diamond"),w(D,ce,He,"\u22C6","\\star"),w(D,ce,He,"\u25C3","\\triangleleft"),w(D,ce,He,"\u25B9","\\triangleright"),w(D,ce,ze,"{","\\{"),w(bt,ce,$e,"{","\\{"),w(bt,ce,$e,"{","\\textbraceleft"),w(D,ce,rt,"}","\\}"),w(bt,ce,$e,"}","\\}"),w(bt,ce,$e,"}","\\textbraceright"),w(D,ce,ze,"{","\\lbrace"),w(D,ce,rt,"}","\\rbrace"),w(D,ce,ze,"[","\\lbrack"),w(bt,ce,$e,"[","\\lbrack"),w(D,ce,rt,"]","\\rbrack"),w(bt,ce,$e,"]","\\rbrack"),w(D,ce,ze,"(","\\lparen"),w(D,ce,rt,")","\\rparen"),w(bt,ce,$e,"<","\\textless"),w(bt,ce,$e,">","\\textgreater"),w(D,ce,ze,"\u230A","\\lfloor",!0),w(D,ce,rt,"\u230B","\\rfloor",!0),w(D,ce,ze,"\u2308","\\lceil",!0),w(D,ce,rt,"\u2309","\\rceil",!0),w(D,ce,$e,"\\","\\backslash"),w(D,ce,$e,"\u2223","|"),w(D,ce,$e,"\u2223","\\vert"),w(bt,ce,$e,"|","\\textbar"),w(D,ce,$e,"\u2225","\\|"),w(D,ce,$e,"\u2225","\\Vert"),w(bt,ce,$e,"\u2225","\\textbardbl"),w(bt,ce,$e,"~","\\textasciitilde"),w(bt,ce,$e,"\\","\\textbackslash"),w(bt,ce,$e,"^","\\textasciicircum"),w(D,ce,ge,"\u2191","\\uparrow",!0),w(D,ce,ge,"\u21D1","\\Uparrow",!0),w(D,ce,ge,"\u2193","\\downarrow",!0),w(D,ce,ge,"\u21D3","\\Downarrow",!0),w(D,ce,ge,"\u2195","\\updownarrow",!0),w(D,ce,ge,"\u21D5","\\Updownarrow",!0),w(D,ce,De,"\u2210","\\coprod"),w(D,ce,De,"\u22C1","\\bigvee"),w(D,ce,De,"\u22C0","\\bigwedge"),w(D,ce,De,"\u2A04","\\biguplus"),w(D,ce,De,"\u22C2","\\bigcap"),w(D,ce,De,"\u22C3","\\bigcup"),w(D,ce,De,"\u222B","\\int"),w(D,ce,De,"\u222B","\\intop"),w(D,ce,De,"\u222C","\\iint"),w(D,ce,De,"\u222D","\\iiint"),w(D,ce,De,"\u220F","\\prod"),w(D,ce,De,"\u2211","\\sum"),w(D,ce,De,"\u2A02","\\bigotimes"),w(D,ce,De,"\u2A01","\\bigoplus"),w(D,ce,De,"\u2A00","\\bigodot"),w(D,ce,De,"\u222E","\\oint"),w(D,ce,De,"\u222F","\\oiint"),w(D,ce,De,"\u2230","\\oiiint"),w(D,ce,De,"\u2A06","\\bigsqcup"),w(D,ce,De,"\u222B","\\smallint"),w(bt,ce,Je,"\u2026","\\textellipsis"),w(D,ce,Je,"\u2026","\\mathellipsis"),w(bt,ce,Je,"\u2026","\\ldots",!0),w(D,ce,Je,"\u2026","\\ldots",!0),w(D,ce,Je,"\u22EF","\\@cdots",!0),w(D,ce,Je,"\u22F1","\\ddots",!0),w(D,ce,$e,"\u22EE","\\varvdots"),w(D,ce,pn,"\u02CA","\\acute"),w(D,ce,pn,"\u02CB","\\grave"),w(D,ce,pn,"\xA8","\\ddot"),w(D,ce,pn,"~","\\tilde"),w(D,ce,pn,"\u02C9","\\bar"),w(D,ce,pn,"\u02D8","\\breve"),w(D,ce,pn,"\u02C7","\\check"),w(D,ce,pn,"^","\\hat"),w(D,ce,pn,"\u20D7","\\vec"),w(D,ce,pn,"\u02D9","\\dot"),w(D,ce,pn,"\u02DA","\\mathring"),w(D,ce,Ae,"\u0131","\\imath",!0),w(D,ce,Ae,"\u0237","\\jmath",!0),w(bt,ce,$e,"\u0131","\\i",!0),w(bt,ce,$e,"\u0237","\\j",!0),w(bt,ce,$e,"\xDF","\\ss",!0),w(bt,ce,$e,"\xE6","\\ae",!0),w(bt,ce,$e,"\xE6","\\ae",!0),w(bt,ce,$e,"\u0153","\\oe",!0),w(bt,ce,$e,"\xF8","\\o",!0),w(bt,ce,$e,"\xC6","\\AE",!0),w(bt,ce,$e,"\u0152","\\OE",!0),w(bt,ce,$e,"\xD8","\\O",!0),w(bt,ce,pn,"\u02CA","\\'"),w(bt,ce,pn,"\u02CB","\\`"),w(bt,ce,pn,"\u02C6","\\^"),w(bt,ce,pn,"\u02DC","\\~"),w(bt,ce,pn,"\u02C9","\\="),w(bt,ce,pn,"\u02D8","\\u"),w(bt,ce,pn,"\u02D9","\\."),w(bt,ce,pn,"\u02DA","\\r"),w(bt,ce,pn,"\u02C7","\\v"),w(bt,ce,pn,"\xA8",'\\"'),w(bt,ce,pn,"\u02DD","\\H"),w(bt,ce,pn,"\u25EF","\\textcircled");var bn={"--":!0,"---":!0,"``":!0,"''":!0};w(bt,ce,$e,"\u2013","--"),w(bt,ce,$e,"\u2013","\\textendash"),w(bt,ce,$e,"\u2014","---"),w(bt,ce,$e,"\u2014","\\textemdash"),w(bt,ce,$e,"\u2018","`"),w(bt,ce,$e,"\u2018","\\textquoteleft"),w(bt,ce,$e,"\u2019","'"),w(bt,ce,$e,"\u2019","\\textquoteright"),w(bt,ce,$e,"\u201C","``"),w(bt,ce,$e,"\u201C","\\textquotedblleft"),w(bt,ce,$e,"\u201D","''"),w(bt,ce,$e,"\u201D","\\textquotedblright"),w(D,ce,$e,"\xB0","\\degree",!0),w(bt,ce,$e,"\xB0","\\degree"),w(bt,ce,$e,"\xB0","\\textdegree",!0),w(D,ce,Ae,"\xA3","\\pounds"),w(D,ce,Ae,"\xA3","\\mathsterling",!0),w(bt,ce,Ae,"\xA3","\\pounds"),w(bt,ce,Ae,"\xA3","\\textsterling",!0),w(D,Me,$e,"\u2720","\\maltese"),w(bt,Me,$e,"\u2720","\\maltese"),w(bt,ce,an,"\xA0","\\ "),w(bt,ce,an,"\xA0"," "),w(bt,ce,an,"\xA0","~");for(var Tn='0123456789/@."',Wt=0;Wt<Tn.length;Wt++){var Yt=Tn.charAt(Wt);w(D,ce,$e,Yt,Yt)}for(var Rt='0123456789!@*()-=+[]<>|";:?/.,',Ot=0;Ot<Rt.length;Ot++){var Ge=Rt.charAt(Ot);w(bt,ce,$e,Ge,Ge)}for(var xt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",At=0;At<xt.length;At++){var Ue=xt.charAt(At);w(D,ce,Ae,Ue,Ue),w(bt,ce,$e,Ue,Ue)}w(D,Me,$e,"C","\u2102"),w(bt,Me,$e,"C","\u2102"),w(D,Me,$e,"H","\u210D"),w(bt,Me,$e,"H","\u210D"),w(D,Me,$e,"N","\u2115"),w(bt,Me,$e,"N","\u2115"),w(D,Me,$e,"P","\u2119"),w(bt,Me,$e,"P","\u2119"),w(D,Me,$e,"Q","\u211A"),w(bt,Me,$e,"Q","\u211A"),w(D,Me,$e,"R","\u211D"),w(bt,Me,$e,"R","\u211D"),w(D,Me,$e,"Z","\u2124"),w(bt,Me,$e,"Z","\u2124"),w(D,ce,Ae,"h","\u210E"),w(bt,ce,Ae,"h","\u210E");for(var Ce="",mt=0;mt<xt.length;mt++){var lt=xt.charAt(mt);Ce=String.fromCharCode(55349,56320+mt),w(D,ce,Ae,lt,Ce),w(bt,ce,$e,lt,Ce),Ce=String.fromCharCode(55349,56372+mt),w(D,ce,Ae,lt,Ce),w(bt,ce,$e,lt,Ce),Ce=String.fromCharCode(55349,56424+mt),w(D,ce,Ae,lt,Ce),w(bt,ce,$e,lt,Ce),Ce=String.fromCharCode(55349,56580+mt),w(D,ce,Ae,lt,Ce),w(bt,ce,$e,lt,Ce),Ce=String.fromCharCode(55349,56736+mt),w(D,ce,Ae,lt,Ce),w(bt,ce,$e,lt,Ce),Ce=String.fromCharCode(55349,56788+mt),w(D,ce,Ae,lt,Ce),w(bt,ce,$e,lt,Ce),Ce=String.fromCharCode(55349,56840+mt),w(D,ce,Ae,lt,Ce),w(bt,ce,$e,lt,Ce),Ce=String.fromCharCode(55349,56944+mt),w(D,ce,Ae,lt,Ce),w(bt,ce,$e,lt,Ce),mt<26&&(Ce=String.fromCharCode(55349,56632+mt),w(D,ce,Ae,lt,Ce),w(bt,ce,$e,lt,Ce),Ce=String.fromCharCode(55349,56476+mt),w(D,ce,Ae,lt,Ce),w(bt,ce,$e,lt,Ce))}Ce="\u{1D55C}",w(D,ce,Ae,"k",Ce),w(bt,ce,$e,"k",Ce);for(var Pt=0;Pt<10;Pt++){var Ht=Pt.toString();Ce=String.fromCharCode(55349,57294+Pt),w(D,ce,Ae,Ht,Ce),w(bt,ce,$e,Ht,Ce),Ce=String.fromCharCode(55349,57314+Pt),w(D,ce,Ae,Ht,Ce),w(bt,ce,$e,Ht,Ce),Ce=String.fromCharCode(55349,57324+Pt),w(D,ce,Ae,Ht,Ce),w(bt,ce,$e,Ht,Ce),Ce=String.fromCharCode(55349,57334+Pt),w(D,ce,Ae,Ht,Ce),w(bt,ce,$e,Ht,Ce)}for(var tn="\xC7\xD0\xDE\xE7\xFE",Ut=0;Ut<tn.length;Ut++){var sn=tn.charAt(Ut);w(D,ce,Ae,sn,sn),w(bt,ce,$e,sn,sn)}w(bt,ce,$e,"\xF0","\xF0"),w(bt,ce,$e,"\u2013","\u2013"),w(bt,ce,$e,"\u2014","\u2014"),w(bt,ce,$e,"\u2018","\u2018"),w(bt,ce,$e,"\u2019","\u2019"),w(bt,ce,$e,"\u201C","\u201C"),w(bt,ce,$e,"\u201D","\u201D");var dn=[["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"]],Mt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],It=function(l,d){var h=l.charCodeAt(0),g=l.charCodeAt(1),N=(h-55296)*1024+(g-56320)+65536,le=d==="math"?0:1;if(119808<=N&&N<120484){var Ne=Math.floor((N-119808)/26);return[dn[Ne][2],dn[Ne][le]]}else if(120782<=N&&N<=120831){var Be=Math.floor((N-120782)/10);return[Mt[Be][2],Mt[Be][le]]}else{if(N===120485||N===120486)return[dn[0][2],dn[0][le]];if(120486<N&&N<120782)return["",""];throw new q("Unsupported character: "+l)}},un=[[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]],ln=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],hn=function(l,d){return d.size<2?l:un[l-1][d.size-1]},_n=function(){function re(d){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=d.style,this.color=d.color,this.size=d.size||re.BASESIZE,this.textSize=d.textSize||this.size,this.phantom=!!d.phantom,this.font=d.font||"",this.fontFamily=d.fontFamily||"",this.fontWeight=d.fontWeight||"",this.fontShape=d.fontShape||"",this.sizeMultiplier=ln[this.size-1],this.maxSize=d.maxSize,this.minRuleThickness=d.minRuleThickness,this._fontMetrics=void 0}var l=re.prototype;return l.extend=function(h){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 N in h)h.hasOwnProperty(N)&&(g[N]=h[N]);return new re(g)},l.havingStyle=function(h){return this.style===h?this:this.extend({style:h,size:hn(this.textSize,h)})},l.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},l.havingSize=function(h){return this.size===h&&this.textSize===h?this:this.extend({style:this.style.text(),size:h,textSize:h,sizeMultiplier:ln[h-1]})},l.havingBaseStyle=function(h){h=h||this.style.text();var g=hn(re.BASESIZE,h);return this.size===g&&this.textSize===re.BASESIZE&&this.style===h?this:this.extend({style:h,size:g})},l.havingBaseSizing=function(){var h;switch(this.style.id){case 4:case 5:h=3;break;case 6:case 7:h=1;break;default:h=6}return this.extend({style:this.style.text(),size:h})},l.withColor=function(h){return this.extend({color:h})},l.withPhantom=function(){return this.extend({phantom:!0})},l.withFont=function(h){return this.extend({font:h})},l.withTextFontFamily=function(h){return this.extend({fontFamily:h,font:""})},l.withTextFontWeight=function(h){return this.extend({fontWeight:h,font:""})},l.withTextFontShape=function(h){return this.extend({fontShape:h,font:""})},l.sizingClasses=function(h){return h.size!==this.size?["sizing","reset-size"+h.size,"size"+this.size]:[]},l.baseSizingClasses=function(){return this.size!==re.BASESIZE?["sizing","reset-size"+this.size,"size"+re.BASESIZE]:[]},l.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=yt(this.size)),this._fontMetrics},l.getColor=function(){return this.phantom?"transparent":this.color},re}();_n.BASESIZE=6;var ir=_n,Bn={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},rn={ex:!0,em:!0,mu:!0},dt=function(l){return typeof l!="string"&&(l=l.unit),l in Bn||l in rn||l==="ex"},gt=function(l,d){var h;if(l.unit in Bn)h=Bn[l.unit]/d.fontMetrics().ptPerEm/d.sizeMultiplier;else if(l.unit==="mu")h=d.fontMetrics().cssEmPerMu;else{var g;if(d.style.isTight()?g=d.havingStyle(d.style.text()):g=d,l.unit==="ex")h=g.fontMetrics().xHeight;else if(l.unit==="em")h=g.fontMetrics().quad;else throw new q("Invalid unit: '"+l.unit+"'");g!==d&&(h*=g.sizeMultiplier/d.sizeMultiplier)}return Math.min(l.number*h,d.maxSize)},kt=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],Vt=function(l,d,h){return _t[h][l]&&_t[h][l].replace&&(l=_t[h][l].replace),{value:l,metrics:tt(l,d,h)}},Ft=function(l,d,h,g,N){var le=Vt(l,d,h),Ne=le.metrics;l=le.value;var Be;if(Ne){var qe=Ne.italic;(h==="text"||g&&g.font==="mathit")&&(qe=0),Be=new E(l,Ne.height,Ne.depth,qe,Ne.skew,Ne.width,N)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+l+"' in style '"+d+"' and mode '"+h+"'")),Be=new E(l,0,0,0,0,0,N);if(g){Be.maxFontSize=g.sizeMultiplier,g.style.isTight()&&Be.classes.push("mtight");var vt=g.getColor();vt&&(Be.style.color=vt)}return Be},Qt=function(l,d,h,g){return g===void 0&&(g=[]),h.font==="boldsymbol"&&Vt(l,"Main-Bold",d).metrics?Ft(l,"Main-Bold",d,h,g.concat(["mathbf"])):l==="\\"||_t[d][l].font==="main"?Ft(l,"Main-Regular",d,h,g):Ft(l,"AMS-Regular",d,h,g.concat(["amsrm"]))},Gt=function(l,d,h,g){return/[0-9]/.test(l.charAt(0))||B.contains(kt,l)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},vn=function(l,d,h,g){return B.contains(kt,l)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(l.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},En=function(l,d,h,g){return Vt(l,"Math-BoldItalic",d).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Fn=function(l,d,h){var g=l.mode,N=l.text,le=["mord"],Ne=g==="math"||g==="text"&&d.font,Be=Ne?d.font:d.fontFamily;if(N.charCodeAt(0)===55349){var qe=It(N,g),vt=qe[0],Tt=qe[1];return Ft(N,vt,g,d,le.concat(Tt))}else if(Be){var Jt,Sn;if(Be==="boldsymbol"||Be==="mathnormal"){var Xt=Be==="boldsymbol"?En(N,g,d,le):vn(N,g,d,le);Jt=Xt.fontName,Sn=[Xt.fontClass]}else B.contains(kt,N)?(Jt="Main-Italic",Sn=["mathit"]):Ne?(Jt=Jr[Be].fontName,Sn=[Be]):(Jt=kr(Be,d.fontWeight,d.fontShape),Sn=[Be,d.fontWeight,d.fontShape]);if(Vt(N,Jt,g).metrics)return Ft(N,Jt,g,d,le.concat(Sn));if(bn.hasOwnProperty(N)&&Jt.substr(0,10)==="Typewriter"){for(var on=[],gn=0;gn<N.length;gn++)on.push(Ft(N[gn],Jt,g,d,le.concat(Sn)));return Cr(on)}}if(h==="mathord"){var An=Gt(N,g,d,le);return Ft(N,An.fontName,g,d,le.concat([An.fontClass]))}else if(h==="textord"){var rr=_t[g][N]&&_t[g][N].font;if(rr==="ams"){var In=kr("amsrm",d.fontWeight,d.fontShape);return Ft(N,In,g,d,le.concat("amsrm",d.fontWeight,d.fontShape))}else if(rr==="main"||!rr){var or=kr("textrm",d.fontWeight,d.fontShape);return Ft(N,or,g,d,le.concat(d.fontWeight,d.fontShape))}else{var _r=kr(rr,d.fontWeight,d.fontShape);return Ft(N,_r,g,d,le.concat(_r,d.fontWeight,d.fontShape))}}else throw new Error("unexpected type: "+h+" in makeOrd")},tr=function(l,d){if($t(l.classes)!==$t(d.classes)||l.skew!==d.skew||l.maxFontSize!==d.maxFontSize)return!1;for(var h in l.style)if(l.style.hasOwnProperty(h)&&l.style[h]!==d.style[h])return!1;for(var g in d.style)if(d.style.hasOwnProperty(g)&&l.style[g]!==d.style[g])return!1;return!0},Xn=function(l){for(var d=0;d<l.length-1;d++){var h=l[d],g=l[d+1];h instanceof E&&g instanceof E&&tr(h,g)&&(h.text+=g.text,h.height=Math.max(h.height,g.height),h.depth=Math.max(h.depth,g.depth),h.italic=g.italic,l.splice(d+1,1),d--)}return l},ar=function(l){for(var d=0,h=0,g=0,N=0;N<l.children.length;N++){var le=l.children[N];le.height>d&&(d=le.height),le.depth>h&&(h=le.depth),le.maxFontSize>g&&(g=le.maxFontSize)}l.height=d,l.depth=h,l.maxFontSize=g},Dn=function(l,d,h,g){var N=new H(l,d,h,g);return ar(N),N},wn=function(l,d,h,g){return new H(l,d,h,g)},gr=function(l,d,h){var g=Dn([l],[],d);return g.height=Math.max(h||d.fontMetrics().defaultRuleThickness,d.minRuleThickness),g.style.borderBottomWidth=g.height+"em",g.maxFontSize=1,g},Gn=function(l,d,h,g){var N=new O(l,d,h,g);return ar(N),N},Cr=function(l){var d=new Dt(l);return ar(d),d},er=function(l,d){return l instanceof Dt?Dn([],[l],d):l},mr=function(l){if(l.positionType==="individualShift"){for(var d=l.children,h=[d[0]],g=-d[0].shift-d[0].elem.depth,N=g,le=1;le<d.length;le++){var Ne=-d[le].shift-N-d[le].elem.depth,Be=Ne-(d[le-1].elem.height+d[le-1].elem.depth);N=N+Ne,h.push({type:"kern",size:Be}),h.push(d[le])}return{children:h,depth:g}}var qe;if(l.positionType==="top"){for(var vt=l.positionData,Tt=0;Tt<l.children.length;Tt++){var Jt=l.children[Tt];vt-=Jt.type==="kern"?Jt.size:Jt.elem.height+Jt.elem.depth}qe=vt}else if(l.positionType==="bottom")qe=-l.positionData;else{var Sn=l.children[0];if(Sn.type!=="elem")throw new Error('First child must have type "elem".');if(l.positionType==="shift")qe=-Sn.elem.depth-l.positionData;else if(l.positionType==="firstBaseline")qe=-Sn.elem.depth;else throw new Error("Invalid positionType "+l.positionType+".")}return{children:l.children,depth:qe}},Sr=function(l,d){for(var h=mr(l),g=h.children,N=h.depth,le=0,Ne=0;Ne<g.length;Ne++){var Be=g[Ne];if(Be.type==="elem"){var qe=Be.elem;le=Math.max(le,qe.maxFontSize,qe.height)}}le+=2;var vt=Dn(["pstrut"],[]);vt.style.height=le+"em";for(var Tt=[],Jt=N,Sn=N,Xt=N,on=0;on<g.length;on++){var gn=g[on];if(gn.type==="kern")Xt+=gn.size;else{var An=gn.elem,rr=gn.wrapperClasses||[],In=gn.wrapperStyle||{},or=Dn(rr,[vt,An],void 0,In);or.style.top=-le-Xt-An.depth+"em",gn.marginLeft&&(or.style.marginLeft=gn.marginLeft),gn.marginRight&&(or.style.marginRight=gn.marginRight),Tt.push(or),Xt+=An.height+An.depth}Jt=Math.min(Jt,Xt),Sn=Math.max(Sn,Xt)}var _r=Dn(["vlist"],Tt);_r.style.height=Sn+"em";var wr;if(Jt<0){var ri=Dn([],[]),ii=Dn(["vlist"],[ri]);ii.style.height=-Jt+"em";var Wi=Dn(["vlist-s"],[new E("\u200B")]);wr=[Dn(["vlist-r"],[_r,Wi]),Dn(["vlist-r"],[ii])]}else wr=[Dn(["vlist-r"],[_r])];var ui=Dn(["vlist-t"],wr);return wr.length===2&&ui.classes.push("vlist-t2"),ui.height=Sn,ui.depth=-Jt,ui},nr=function(l,d){var h=Dn(["mspace"],[],d),g=gt(l,d);return h.style.marginRight=g+"em",h},kr=function(l,d,h){var g="";switch(l){case"amsrm":g="AMS";break;case"textrm":g="Main";break;case"textsf":g="SansSerif";break;case"texttt":g="Typewriter";break;default:g=l}var N;return d==="textbf"&&h==="textit"?N="BoldItalic":d==="textbf"?N="Bold":d==="textit"?N="Italic":N="Regular",g+"-"+N},Jr={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"}},Qn={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Cn=function(l,d){var h=Qn[l],g=h[0],N=h[1],le=h[2],Ne=new X(g),Be=new T([Ne],{width:N+"em",height:le+"em",style:"width:"+N+"em",viewBox:"0 0 "+1e3*N+" "+1e3*le,preserveAspectRatio:"xMinYMin"}),qe=wn(["overlay"],[Be],d);return qe.height=le,qe.style.height=le+"em",qe.style.width=N+"em",qe},at={fontMap:Jr,makeSymbol:Ft,mathsym:Qt,makeSpan:Dn,makeSvgSpan:wn,makeLineSpan:gr,makeAnchor:Gn,makeFragment:Cr,wrapFragment:er,makeVList:Sr,makeOrd:Fn,makeGlue:nr,staticSvg:Cn,svgData:Qn,tryCombineChars:Xn};function Kn(re,l){var d=lr(re,l);if(!d)throw new Error("Expected node of type "+l+", but got "+(re?"node of type "+re.type:String(re)));return d}function lr(re,l){return re&&re.type===l?re:null}function Rr(re,l){var d=Tr(re,l);if(!d)throw new Error('Expected node of type "atom" and family "'+l+'", but got '+(re?re.type==="atom"?"atom of family "+re.family:"node of type "+re.type:String(re)));return d}function Tr(re,l){return re&&re.type==="atom"&&re.family===l?re:null}function Pr(re){var l=Ur(re);if(!l)throw new Error("Expected node of symbol group type, but got "+(re?"node of type "+re.type:String(re)));return l}function Ur(re){return re&&(re.type==="atom"||pt.hasOwnProperty(re.type))?re:null}var vr={number:3,unit:"mu"},Hn={number:4,unit:"mu"},Mn={number:5,unit:"mu"},jn={mord:{mop:vr,mbin:Hn,mrel:Mn,minner:vr},mop:{mord:vr,mop:vr,mrel:Mn,minner:vr},mbin:{mord:Hn,mop:Hn,mopen:Hn,minner:Hn},mrel:{mord:Mn,mop:Mn,mopen:Mn,minner:Mn},mopen:{},mclose:{mop:vr,mbin:Hn,mrel:Mn,minner:vr},mpunct:{mord:vr,mop:vr,mrel:Mn,mopen:vr,mclose:vr,mpunct:vr,minner:vr},minner:{mord:vr,mop:vr,mbin:Hn,mrel:Mn,mopen:vr,mpunct:vr,minner:vr}},Er={mord:{mop:vr},mop:{mord:vr,mop:vr},mbin:{},mrel:{},mopen:{},mclose:{mop:vr},mpunct:{},minner:{mop:vr}},Nr={},hi={},Ei={};function Vn(re){for(var l=re.type,d=re.names,h=re.props,g=re.handler,N=re.htmlBuilder,le=re.mathmlBuilder,Ne={type:l,numArgs:h.numArgs,argTypes:h.argTypes,greediness:h.greediness===void 0?1:h.greediness,allowedInText:!!h.allowedInText,allowedInMath:h.allowedInMath===void 0?!0:h.allowedInMath,numOptionalArgs:h.numOptionalArgs||0,infix:!!h.infix,handler:g},Be=0;Be<d.length;++Be)Nr[d[Be]]=Ne;l&&(N&&(hi[l]=N),le&&(Ei[l]=le))}function Zr(re){var l=re.type,d=re.htmlBuilder,h=re.mathmlBuilder;Vn({type:l,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:d,mathmlBuilder:h})}var jr=function(l){var d=lr(l,"ordgroup");return d?d.body:[l]},ni=at.makeSpan,ji=["leftmost","mbin","mopen","mrel","mop","mpunct"],Ii=["rightmost","mrel","mclose","mpunct"],Xr={display:v.DISPLAY,text:v.TEXT,script:v.SCRIPT,scriptscript:v.SCRIPTSCRIPT},gi={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},oi=function(l,d,h,g){g===void 0&&(g=[null,null]);for(var N=[],le=0;le<l.length;le++){var Ne=Kr(l[le],d);if(Ne instanceof Dt){var Be=Ne.children;N.push.apply(N,Be)}else N.push(Ne)}if(!h)return N;var qe=d;if(l.length===1){var vt=lr(l[0],"sizing")||lr(l[0],"styling");vt&&(vt.type==="sizing"?qe=d.havingSize(vt.size):vt.type==="styling"&&(qe=d.havingStyle(Xr[vt.style])))}var Tt=ni([g[0]||"leftmost"],[],d),Jt=ni([g[1]||"rightmost"],[],d);return Ti(N,function(Sn,Xt){var on=Xt.classes[0],gn=Sn.classes[0];on==="mbin"&&B.contains(Ii,gn)?Xt.classes[0]="mord":gn==="mbin"&&B.contains(ji,on)&&(Sn.classes[0]="mord")},{node:Tt},Jt),Ti(N,function(Sn,Xt){var on=Ci(Xt),gn=Ci(Sn),An=on&&gn?Sn.hasClass("mtight")?Er[on][gn]:jn[on][gn]:null;if(An)return at.makeGlue(An,qe)},{node:Tt},Jt),N},Ti=function re(l,d,h,g){g&&l.push(g);for(var N=0;N<l.length;N++){var le=l[N],Ne=Di(le);if(Ne){re(Ne.children,d,h);continue}if(le.classes[0]!=="mspace"){var Be=d(le,h.node);Be&&(h.insertAfter?h.insertAfter(Be):(l.unshift(Be),N++)),h.node=le,h.insertAfter=function(qe){return function(vt){l.splice(qe+1,0,vt),N++}}(N)}}g&&l.pop()},Di=function(l){return l instanceof Dt||l instanceof O?l:null},Vi=function re(l,d){var h=Di(l);if(h){var g=h.children;if(g.length){if(d==="right")return re(g[g.length-1],"right");if(d==="left")return re(g[0],"left")}}return l},Ci=function(l,d){return l?(d&&(l=Vi(l,d)),gi[l.classes[0]]||null):null},Zi=function(l,d){var h=["nulldelimiter"].concat(l.baseSizingClasses());return ni(d.concat(h))},Kr=function(l,d,h){if(!l)return ni();if(hi[l.type]){var g=hi[l.type](l,d);if(h&&d.size!==h.size){g=ni(d.sizingClasses(h),[g],d);var N=d.sizeMultiplier/h.sizeMultiplier;g.height*=N,g.depth*=N}return g}else throw new q("Got group of unknown type: '"+l.type+"'")};function aa(re,l){var d=ni(["base"],re,l),h=ni(["strut"]);return h.style.height=d.height+d.depth+"em",h.style.verticalAlign=-d.depth+"em",d.children.unshift(h),d}function ga(re,l){var d=null;re.length===1&&re[0].type==="tag"&&(d=re[0].tag,re=re[0].body);for(var h=oi(re,l,!0),g=[],N=[],le=0;le<h.length;le++)if(N.push(h[le]),h[le].hasClass("mbin")||h[le].hasClass("mrel")||h[le].hasClass("allowbreak")){for(var Ne=!1;le<h.length-1&&h[le+1].hasClass("mspace")&&!h[le+1].hasClass("newline");)le++,N.push(h[le]),h[le].hasClass("nobreak")&&(Ne=!0);Ne||(g.push(aa(N,l)),N=[])}else h[le].hasClass("newline")&&(N.pop(),N.length>0&&(g.push(aa(N,l)),N=[]),g.push(h[le]));N.length>0&&g.push(aa(N,l));var Be;d&&(Be=aa(oi(d,l,!0)),Be.classes=["tag"],g.push(Be));var qe=ni(["katex-html"],g);if(qe.setAttribute("aria-hidden","true"),Be){var vt=Be.children[0];vt.style.height=qe.height+qe.depth+"em",vt.style.verticalAlign=-qe.depth+"em"}return qe}function ua(re){return new Dt(re)}var vi=function(){function re(d,h){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=d,this.attributes={},this.children=h||[]}var l=re.prototype;return l.setAttribute=function(h,g){this.attributes[h]=g},l.getAttribute=function(h){return this.attributes[h]},l.toNode=function(){var h=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var g in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,g)&&h.setAttribute(g,this.attributes[g]);for(var N=0;N<this.children.length;N++)h.appendChild(this.children[N].toNode());return h},l.toMarkup=function(){var h="<"+this.type;for(var g in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,g)&&(h+=" "+g+'="',h+=B.escape(this.attributes[g]),h+='"');h+=">";for(var N=0;N<this.children.length;N++)h+=this.children[N].toMarkup();return h+="</"+this.type+">",h},l.toText=function(){return this.children.map(function(h){return h.toText()}).join("")},re}(),ca=function(){function re(d){this.text=void 0,this.text=d}var l=re.prototype;return l.toNode=function(){return document.createTextNode(this.text)},l.toMarkup=function(){return B.escape(this.toText())},l.toText=function(){return this.text},re}(),Ea=function(){function re(d){this.width=void 0,this.character=void 0,this.width=d,d>=.05555&&d<=.05556?this.character="\u200A":d>=.1666&&d<=.1667?this.character="\u2009":d>=.2222&&d<=.2223?this.character="\u2005":d>=.2777&&d<=.2778?this.character="\u2005\u200A":d>=-.05556&&d<=-.05555?this.character="\u200A\u2063":d>=-.1667&&d<=-.1666?this.character="\u2009\u2063":d>=-.2223&&d<=-.2222?this.character="\u205F\u2063":d>=-.2778&&d<=-.2777?this.character="\u2005\u2063":this.character=null}var l=re.prototype;return l.toNode=function(){if(this.character)return document.createTextNode(this.character);var h=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return h.setAttribute("width",this.width+"em"),h},l.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},l.toText=function(){return this.character?this.character:" "},re}(),Ln={MathNode:vi,TextNode:ca,SpaceNode:Ea,newDocumentFragment:ua},Li=function(l,d,h){return _t[d][l]&&_t[d][l].replace&&l.charCodeAt(0)!==55349&&!(bn.hasOwnProperty(l)&&h&&(h.fontFamily&&h.fontFamily.substr(4,2)==="tt"||h.font&&h.font.substr(4,2)==="tt"))&&(l=_t[d][l].replace),new Ln.TextNode(l)},na=function(l){return l.length===1?l[0]:new Ln.MathNode("mrow",l)},ur=function(l,d){if(d.fontFamily==="texttt")return"monospace";if(d.fontFamily==="textsf")return d.fontShape==="textit"&&d.fontWeight==="textbf"?"sans-serif-bold-italic":d.fontShape==="textit"?"sans-serif-italic":d.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(d.fontShape==="textit"&&d.fontWeight==="textbf")return"bold-italic";if(d.fontShape==="textit")return"italic";if(d.fontWeight==="textbf")return"bold";var h=d.font;if(!h||h==="mathnormal")return null;var g=l.mode;if(h==="mathit")return"italic";if(h==="boldsymbol")return"bold-italic";if(h==="mathbf")return"bold";if(h==="mathbb")return"double-struck";if(h==="mathfrak")return"fraktur";if(h==="mathscr"||h==="mathcal")return"script";if(h==="mathsf")return"sans-serif";if(h==="mathtt")return"monospace";var N=l.text;if(B.contains(["\\imath","\\jmath"],N))return null;_t[g][N]&&_t[g][N].replace&&(N=_t[g][N].replace);var le=at.fontMap[h].fontName;return tt(N,le,g)?at.fontMap[h].variant:null},xr=function(l,d,h){if(l.length===1){var g=Zn(l[0],d);return h&&g instanceof vi&&g.type==="mo"&&(g.setAttribute("lspace","0em"),g.setAttribute("rspace","0em")),[g]}for(var N=[],le,Ne=0;Ne<l.length;Ne++){var Be=Zn(l[Ne],d);if(Be instanceof vi&&le instanceof vi){if(Be.type==="mtext"&&le.type==="mtext"&&Be.getAttribute("mathvariant")===le.getAttribute("mathvariant")){var qe;(qe=le.children).push.apply(qe,Be.children);continue}else if(Be.type==="mn"&&le.type==="mn"){var vt;(vt=le.children).push.apply(vt,Be.children);continue}else if(Be.type==="mi"&&Be.children.length===1&&le.type==="mn"){var Tt=Be.children[0];if(Tt instanceof ca&&Tt.text==="."){var Jt;(Jt=le.children).push.apply(Jt,Be.children);continue}}else if(le.type==="mi"&&le.children.length===1){var Sn=le.children[0];if(Sn instanceof ca&&Sn.text==="\u0338"&&(Be.type==="mo"||Be.type==="mi"||Be.type==="mn")){var Xt=Be.children[0];Xt instanceof ca&&Xt.text.length>0&&(Xt.text=Xt.text.slice(0,1)+"\u0338"+Xt.text.slice(1),N.pop())}}}N.push(Be),le=Be}return N},cr=function(l,d,h){return na(xr(l,d,h))},Zn=function(l,d){if(!l)return new Ln.MathNode("mrow");if(Ei[l.type]){var h=Ei[l.type](l,d);return h}else throw new q("Got group of unknown type: '"+l.type+"'")};function Br(re,l,d,h){var g=xr(re,d),N;g.length===1&&g[0]instanceof vi&&B.contains(["mrow","mtable"],g[0].type)?N=g[0]:N=new Ln.MathNode("mrow",g);var le=new Ln.MathNode("annotation",[new Ln.TextNode(l)]);le.setAttribute("encoding","application/x-tex");var Ne=new Ln.MathNode("semantics",[N,le]),Be=new Ln.MathNode("math",[Ne]);Be.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var qe=h?"katex":"katex-mathml";return at.makeSpan([qe],[Be])}var $r=function(l){return new ir({style:l.displayMode?v.DISPLAY:v.TEXT,maxSize:l.maxSize,minRuleThickness:l.minRuleThickness})},Ni=function(l,d){if(d.displayMode){var h=["katex-display"];d.leqno&&h.push("leqno"),d.fleqn&&h.push("fleqn"),l=at.makeSpan(h,[l])}return l},yi=function(l,d,h){var g=$r(h),N;if(h.output==="mathml")return Br(l,d,g,!0);if(h.output==="html"){var le=ga(l,g);N=at.makeSpan(["katex"],[le])}else{var Ne=Br(l,d,g,!1),Be=ga(l,g);N=at.makeSpan(["katex"],[Ne,Be])}return Ni(N,h)},Fi=function(l,d,h){var g=$r(h),N=ga(l,g),le=at.makeSpan(["katex"],[N]);return Ni(le,h)},Pi=yi,va={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"},_a=function(l){var d=new Ln.MathNode("mo",[new Ln.TextNode(va[l.substr(1)])]);return d.setAttribute("stretchy","true"),d},Wa={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]},da=function(l){return l.type==="ordgroup"?l.body.length:1},fa=function(l,d){function h(){var Be=4e5,qe=l.label.substr(1);if(B.contains(["widehat","widecheck","widetilde","utilde"],qe)){var vt=l,Tt=da(vt.base),Jt,Sn,Xt;if(Tt>5)qe==="widehat"||qe==="widecheck"?(Jt=420,Be=2364,Xt=.42,Sn=qe+"4"):(Jt=312,Be=2340,Xt=.34,Sn="tilde4");else{var on=[1,1,2,2,3,3][Tt];qe==="widehat"||qe==="widecheck"?(Be=[0,1062,2364,2364,2364][on],Jt=[0,239,300,360,420][on],Xt=[0,.24,.3,.3,.36,.42][on],Sn=qe+on):(Be=[0,600,1033,2339,2340][on],Jt=[0,260,286,306,312][on],Xt=[0,.26,.286,.3,.306,.34][on],Sn="tilde"+on)}var gn=new X(Sn),An=new T([gn],{width:"100%",height:Xt+"em",viewBox:"0 0 "+Be+" "+Jt,preserveAspectRatio:"none"});return{span:at.makeSvgSpan([],[An],d),minWidth:0,height:Xt}}else{var rr=[],In=Wa[qe],or=In[0],_r=In[1],wr=In[2],ri=wr/1e3,ii=or.length,Wi,ui;if(ii===1){var ai=In[3];Wi=["hide-tail"],ui=[ai]}else if(ii===2)Wi=["halfarrow-left","halfarrow-right"],ui=["xMinYMin","xMaxYMin"];else if(ii===3)Wi=["brace-left","brace-center","brace-right"],ui=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+ii+" children.");for(var bi=0;bi<ii;bi++){var qi=new X(or[bi]),Sa=new T([qi],{width:"400em",height:ri+"em",viewBox:"0 0 "+Be+" "+wr,preserveAspectRatio:ui[bi]+" slice"}),Hr=at.makeSvgSpan([Wi[bi]],[Sa],d);if(ii===1)return{span:Hr,minWidth:_r,height:ri};Hr.style.height=ri+"em",rr.push(Hr)}return{span:at.makeSpan(["stretchy"],rr,d),minWidth:_r,height:ri}}}var g=h(),N=g.span,le=g.minWidth,Ne=g.height;return N.height=Ne,N.style.height=Ne+"em",le>0&&(N.style.minWidth=le+"em"),N},dr=function(l,d,h,g){var N,le=l.height+l.depth+2*h;if(/fbox|color/.test(d)){if(N=at.makeSpan(["stretchy",d],[],g),d==="fbox"){var Ne=g.color&&g.getColor();Ne&&(N.style.borderColor=Ne)}}else{var Be=[];/^[bx]cancel$/.test(d)&&Be.push(new G({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(d)&&Be.push(new G({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var qe=new T(Be,{width:"100%",height:le+"em"});N=at.makeSvgSpan([],[qe],g)}return N.height=le,N.style.height=le+"em",N},sr={encloseSpan:dr,mathMLnode:_a,svgSpan:fa},Yr=function(l,d){var h,g,N=lr(l,"supsub"),le;N?(g=Kn(N.base,"accent"),h=g.base,N.base=h,le=we(Kr(N,d)),N.base=g):(g=Kn(l,"accent"),h=g.base);var Ne=Kr(h,d.havingCrampedStyle()),Be=g.isShifty&&B.isCharacterBox(h),qe=0;if(Be){var vt=B.getBaseElem(h),Tt=Kr(vt,d.havingCrampedStyle());qe=K(Tt).skew}var Jt=Math.min(Ne.height,d.fontMetrics().xHeight),Sn;if(g.isStretchy)Sn=sr.svgSpan(g,d),Sn=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ne},{type:"elem",elem:Sn,wrapperClasses:["svg-align"],wrapperStyle:qe>0?{width:"calc(100% - "+2*qe+"em)",marginLeft:2*qe+"em"}:void 0}]},d);else{var Xt,on;g.label==="\\vec"?(Xt=at.staticSvg("vec",d),on=at.svgData.vec[1]):(Xt=at.makeOrd({mode:g.mode,text:g.label},d,"textord"),Xt=K(Xt),Xt.italic=0,on=Xt.width),Sn=at.makeSpan(["accent-body"],[Xt]);var gn=g.label==="\\textcircled";gn&&(Sn.classes.push("accent-full"),Jt=Ne.height);var An=qe;gn||(An-=on/2),Sn.style.left=An+"em",g.label==="\\textcircled"&&(Sn.style.top=".2em"),Sn=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ne},{type:"kern",size:-Jt},{type:"elem",elem:Sn}]},d)}var rr=at.makeSpan(["mord","accent"],[Sn],d);return le?(le.children[0]=rr,le.height=Math.max(rr.height,le.height),le.classes[0]="mord",le):rr},Mi=function(l,d){var h=l.isStretchy?sr.mathMLnode(l.label):new Ln.MathNode("mo",[Li(l.label,l.mode)]),g=new Ln.MathNode("mover",[Zn(l.base,d),h]);return g.setAttribute("accent","true"),g},li=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(re){return"\\"+re}).join("|"));Vn({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(l,d){var h=d[0],g=!li.test(l.funcName),N=!g||l.funcName==="\\widehat"||l.funcName==="\\widetilde"||l.funcName==="\\widecheck";return{type:"accent",mode:l.parser.mode,label:l.funcName,isStretchy:g,isShifty:N,base:h}},htmlBuilder:Yr,mathmlBuilder:Mi}),Vn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(l,d){var h=d[0];return{type:"accent",mode:l.parser.mode,label:l.funcName,isStretchy:!1,isShifty:!0,base:h}},htmlBuilder:Yr,mathmlBuilder:Mi}),Vn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(l,d){var h=l.parser,g=l.funcName,N=d[0];return{type:"accentUnder",mode:h.mode,label:g,base:N}},htmlBuilder:function(l,d){var h=Kr(l.base,d),g=sr.svgSpan(l,d),N=l.label==="\\utilde"?.12:0,le=at.makeVList({positionType:"bottom",positionData:g.height+N,children:[{type:"elem",elem:g,wrapperClasses:["svg-align"]},{type:"kern",size:N},{type:"elem",elem:h}]},d);return at.makeSpan(["mord","accentunder"],[le],d)},mathmlBuilder:function(l,d){var h=sr.mathMLnode(l.label),g=new Ln.MathNode("munder",[Zn(l.base,d),h]);return g.setAttribute("accentunder","true"),g}});var sa=function(l){var d=new Ln.MathNode("mpadded",l?[l]:[]);return d.setAttribute("width","+0.6em"),d.setAttribute("lspace","0.3em"),d};Vn({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(l,d,h){var g=l.parser,N=l.funcName;return{type:"xArrow",mode:g.mode,label:N,body:d[0],below:h[0]}},htmlBuilder:function(l,d){var h=d.style,g=d.havingStyle(h.sup()),N=at.wrapFragment(Kr(l.body,g,d),d);N.classes.push("x-arrow-pad");var le;l.below&&(g=d.havingStyle(h.sub()),le=at.wrapFragment(Kr(l.below,g,d),d),le.classes.push("x-arrow-pad"));var Ne=sr.svgSpan(l,d),Be=-d.fontMetrics().axisHeight+.5*Ne.height,qe=-d.fontMetrics().axisHeight-.5*Ne.height-.111;(N.depth>.25||l.label==="\\xleftequilibrium")&&(qe-=N.depth);var vt;if(le){var Tt=-d.fontMetrics().axisHeight+le.height+.5*Ne.height+.111;vt=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:N,shift:qe},{type:"elem",elem:Ne,shift:Be},{type:"elem",elem:le,shift:Tt}]},d)}else vt=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:N,shift:qe},{type:"elem",elem:Ne,shift:Be}]},d);return vt.children[0].children[0].children[1].classes.push("svg-align"),at.makeSpan(["mrel","x-arrow"],[vt],d)},mathmlBuilder:function(l,d){var h=sr.mathMLnode(l.label),g;if(l.body){var N=sa(Zn(l.body,d));if(l.below){var le=sa(Zn(l.below,d));g=new Ln.MathNode("munderover",[h,le,N])}else g=new Ln.MathNode("mover",[h,N])}else if(l.below){var Ne=sa(Zn(l.below,d));g=new Ln.MathNode("munder",[h,Ne])}else g=sa(),g=new Ln.MathNode("mover",[h,g]);return g}}),Vn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){for(var h=l.parser,g=Kn(d[0],"ordgroup"),N=g.body,le="",Ne=0;Ne<N.length;Ne++){var Be=Kn(N[Ne],"textord");le+=Be.text}var qe=parseInt(le);if(isNaN(qe))throw new q("\\@char has non-numeric argument "+le);return{type:"textord",mode:h.mode,text:String.fromCharCode(qe)}}});var Va=function(l,d){var h=oi(l.body,d.withColor(l.color),!1);return at.makeFragment(h)},Ha=function(l,d){var h=xr(l.body,d.withColor(l.color)),g=new Ln.MathNode("mstyle",h);return g.setAttribute("mathcolor",l.color),g};Vn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(l,d){var h=l.parser,g=Kn(d[0],"color-token").color,N=d[1];return{type:"color",mode:h.mode,color:g,body:jr(N)}},htmlBuilder:Va,mathmlBuilder:Ha}),Vn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(l,d){var h=l.parser,g=l.breakOnTokenText,N=Kn(d[0],"color-token").color;h.gullet.macros.set("\\current@color",N);var le=h.parseExpression(!0,g);return{type:"color",mode:h.mode,color:N,body:le}},htmlBuilder:Va,mathmlBuilder:Ha}),Vn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(l,d,h){var g=l.parser,N=l.funcName,le=h[0],Ne=N==="\\cr",Be=!1;return Ne||(g.settings.displayMode&&g.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Be=!1:Be=!0),{type:"cr",mode:g.mode,newLine:Be,newRow:Ne,size:le&&Kn(le,"size").value}},htmlBuilder:function(l,d){if(l.newRow)throw new q("\\cr valid only within a tabular/array environment");var h=at.makeSpan(["mspace"],[],d);return l.newLine&&(h.classes.push("newline"),l.size&&(h.style.marginTop=gt(l.size,d)+"em")),h},mathmlBuilder:function(l,d){var h=new Ln.MathNode("mspace");return l.newLine&&(h.setAttribute("linebreak","newline"),l.size&&h.setAttribute("height",gt(l.size,d)+"em")),h}});var ya=function(l,d,h){var g=_t.math[l]&&_t.math[l].replace,N=tt(g||l,d,h);if(!N)throw new Error("Unsupported symbol "+l+" and font size "+d+".");return N},as=function(l,d,h,g){var N=h.havingBaseStyle(d),le=at.makeSpan(g.concat(N.sizingClasses(h)),[l],h),Ne=N.sizeMultiplier/h.sizeMultiplier;return le.height*=Ne,le.depth*=Ne,le.maxFontSize=N.sizeMultiplier,le},ss=function(l,d,h){var g=d.havingBaseStyle(h),N=(1-d.sizeMultiplier/g.sizeMultiplier)*d.fontMetrics().axisHeight;l.classes.push("delimcenter"),l.style.top=N+"em",l.height-=N,l.depth+=N},os=function(l,d,h,g,N,le){var Ne=at.makeSymbol(l,"Main-Regular",N,g),Be=as(Ne,d,g,le);return h&&ss(Be,g,d),Be},ts=function(l,d,h,g){return at.makeSymbol(l,"Size"+d+"-Regular",h,g)},ls=function(l,d,h,g,N,le){var Ne=ts(l,d,N,g),Be=as(at.makeSpan(["delimsizing","size"+d],[Ne],g),v.TEXT,g,le);return h&&ss(Be,g,v.TEXT),Be},Ta=function(l,d,h){var g;d==="Size1-Regular"?g="delim-size1":g="delim-size4";var N=at.makeSpan(["delimsizinginner",g],[at.makeSpan([],[at.makeSymbol(l,d,h)])]);return{type:"elem",elem:N}},Qi={type:"kern",size:-.005},us=function(l,d,h,g,N,le){var Ne,Be,qe,vt;Ne=qe=vt=l,Be=null;var Tt="Size1-Regular";l==="\\uparrow"?qe=vt="\u23D0":l==="\\Uparrow"?qe=vt="\u2016":l==="\\downarrow"?Ne=qe="\u23D0":l==="\\Downarrow"?Ne=qe="\u2016":l==="\\updownarrow"?(Ne="\\uparrow",qe="\u23D0",vt="\\downarrow"):l==="\\Updownarrow"?(Ne="\\Uparrow",qe="\u2016",vt="\\Downarrow"):l==="["||l==="\\lbrack"?(Ne="\u23A1",qe="\u23A2",vt="\u23A3",Tt="Size4-Regular"):l==="]"||l==="\\rbrack"?(Ne="\u23A4",qe="\u23A5",vt="\u23A6",Tt="Size4-Regular"):l==="\\lfloor"||l==="\u230A"?(qe=Ne="\u23A2",vt="\u23A3",Tt="Size4-Regular"):l==="\\lceil"||l==="\u2308"?(Ne="\u23A1",qe=vt="\u23A2",Tt="Size4-Regular"):l==="\\rfloor"||l==="\u230B"?(qe=Ne="\u23A5",vt="\u23A6",Tt="Size4-Regular"):l==="\\rceil"||l==="\u2309"?(Ne="\u23A4",qe=vt="\u23A5",Tt="Size4-Regular"):l==="("||l==="\\lparen"?(Ne="\u239B",qe="\u239C",vt="\u239D",Tt="Size4-Regular"):l===")"||l==="\\rparen"?(Ne="\u239E",qe="\u239F",vt="\u23A0",Tt="Size4-Regular"):l==="\\{"||l==="\\lbrace"?(Ne="\u23A7",Be="\u23A8",vt="\u23A9",qe="\u23AA",Tt="Size4-Regular"):l==="\\}"||l==="\\rbrace"?(Ne="\u23AB",Be="\u23AC",vt="\u23AD",qe="\u23AA",Tt="Size4-Regular"):l==="\\lgroup"||l==="\u27EE"?(Ne="\u23A7",vt="\u23A9",qe="\u23AA",Tt="Size4-Regular"):l==="\\rgroup"||l==="\u27EF"?(Ne="\u23AB",vt="\u23AD",qe="\u23AA",Tt="Size4-Regular"):l==="\\lmoustache"||l==="\u23B0"?(Ne="\u23A7",vt="\u23AD",qe="\u23AA",Tt="Size4-Regular"):(l==="\\rmoustache"||l==="\u23B1")&&(Ne="\u23AB",vt="\u23A9",qe="\u23AA",Tt="Size4-Regular");var Jt=ya(Ne,Tt,N),Sn=Jt.height+Jt.depth,Xt=ya(qe,Tt,N),on=Xt.height+Xt.depth,gn=ya(vt,Tt,N),An=gn.height+gn.depth,rr=0,In=1;if(Be!==null){var or=ya(Be,Tt,N);rr=or.height+or.depth,In=2}var _r=Sn+An+rr,wr=Math.max(0,Math.ceil((d-_r)/(In*on))),ri=_r+wr*In*on,ii=g.fontMetrics().axisHeight;h&&(ii*=g.sizeMultiplier);var Wi=ri/2-ii,ui=(wr+1)*.005-on,ai=[];if(ai.push(Ta(vt,Tt,N)),Be===null)for(var bi=0;bi<wr;bi++)ai.push(Qi),ai.push(Ta(qe,Tt,N));else{for(var qi=0;qi<wr;qi++)ai.push(Qi),ai.push(Ta(qe,Tt,N));ai.push({type:"kern",size:ui}),ai.push(Ta(qe,Tt,N)),ai.push(Qi),ai.push(Ta(Be,Tt,N));for(var Sa=0;Sa<wr;Sa++)ai.push(Qi),ai.push(Ta(qe,Tt,N))}ai.push({type:"kern",size:ui}),ai.push(Ta(qe,Tt,N)),ai.push(Qi),ai.push(Ta(Ne,Tt,N));var Hr=g.havingBaseStyle(v.TEXT),qr=at.makeVList({positionType:"bottom",positionData:Wi,children:ai},Hr);return as(at.makeSpan(["delimsizing","mult"],[qr],Hr),v.TEXT,g,le)},ns=80,ba=.08,wa=function(l,d,h,g,N){var le=qt(l,g,h),Ne=new X(l,le),Be=new T([Ne],{width:"400em",height:d+"em",viewBox:"0 0 400000 "+h,preserveAspectRatio:"xMinYMin slice"});return at.makeSvgSpan(["hide-tail"],[Be],N)},ei=function(l,d){var h=d.havingBaseSizing(),g=Ba("\\surd",l*h.sizeMultiplier,la,h),N=h.sizeMultiplier,le=Math.max(0,d.minRuleThickness-d.fontMetrics().sqrtRuleThickness),Ne,Be=0,qe=0,vt=0,Tt;return g.type==="small"?(vt=1e3+1e3*le+ns,l<1?N=1:l<1.4&&(N=.7),Be=(1+le+ba)/N,qe=(1+le)/N,Ne=wa("sqrtMain",Be,vt,le,d),Ne.style.minWidth="0.853em",Tt=.833/N):g.type==="large"?(vt=(1e3+ns)*ki[g.size],qe=(ki[g.size]+le)/N,Be=(ki[g.size]+le+ba)/N,Ne=wa("sqrtSize"+g.size,Be,vt,le,d),Ne.style.minWidth="1.02em",Tt=1/N):(Be=l+le+ba,qe=l+le,vt=Math.floor(1e3*l+le)+ns,Ne=wa("sqrtTall",Be,vt,le,d),Ne.style.minWidth="0.742em",Tt=1.056),Ne.height=qe,Ne.style.height=Be+"em",{span:Ne,advanceWidth:Tt,ruleWidth:(d.fontMetrics().sqrtRuleThickness+le)*N}},zr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],ia=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Ki=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],ki=[0,1.2,1.8,2.4,3],oa=function(l,d,h,g,N){if(l==="<"||l==="\\lt"||l==="\u27E8"?l="\\langle":(l===">"||l==="\\gt"||l==="\u27E9")&&(l="\\rangle"),B.contains(zr,l)||B.contains(Ki,l))return ls(l,d,!1,h,g,N);if(B.contains(ia,l))return us(l,ki[d],!1,h,g,N);throw new q("Illegal delimiter: '"+l+"'")},pi=[{type:"small",style:v.SCRIPTSCRIPT},{type:"small",style:v.SCRIPT},{type:"small",style:v.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Ia=[{type:"small",style:v.SCRIPTSCRIPT},{type:"small",style:v.SCRIPT},{type:"small",style:v.TEXT},{type:"stack"}],la=[{type:"small",style:v.SCRIPTSCRIPT},{type:"small",style:v.SCRIPT},{type:"small",style:v.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],ka=function(l){if(l.type==="small")return"Main-Regular";if(l.type==="large")return"Size"+l.size+"-Regular";if(l.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+l.type+"' here.")},Ba=function(l,d,h,g){for(var N=Math.min(2,3-g.style.size),le=N;le<h.length&&h[le].type!=="stack";le++){var Ne=ya(l,ka(h[le]),"math"),Be=Ne.height+Ne.depth;if(h[le].type==="small"){var qe=g.havingBaseStyle(h[le].style);Be*=qe.sizeMultiplier}if(Be>d)return h[le]}return h[h.length-1]},_i=function(l,d,h,g,N,le){l==="<"||l==="\\lt"||l==="\u27E8"?l="\\langle":(l===">"||l==="\\gt"||l==="\u27E9")&&(l="\\rangle");var Ne;B.contains(Ki,l)?Ne=pi:B.contains(zr,l)?Ne=la:Ne=Ia;var Be=Ba(l,d,Ne,g);return Be.type==="small"?os(l,Be.style,h,g,N,le):Be.type==="large"?ls(l,Be.size,h,g,N,le):us(l,d,h,g,N,le)},vs=function(l,d,h,g,N,le){var Ne=g.fontMetrics().axisHeight*g.sizeMultiplier,Be=901,qe=5/g.fontMetrics().ptPerEm,vt=Math.max(d-Ne,h+Ne),Tt=Math.max(vt/500*Be,2*vt-qe);return _i(l,Tt,!0,g,N,le)},Ca={sqrtImage:ei,sizedDelim:oa,customSizedDelim:_i,leftRightDelim:vs},Za={"\\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}},Cs=["(","\\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 Qa(re,l){var d=Ur(re);if(d&&B.contains(Cs,d.text))return d;throw new q("Invalid delimiter: '"+(d?d.text:JSON.stringify(re))+"' after '"+l.funcName+"'",re)}Vn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(l,d){var h=Qa(d[0],l);return{type:"delimsizing",mode:l.parser.mode,size:Za[l.funcName].size,mclass:Za[l.funcName].mclass,delim:h.text}},htmlBuilder:function(l,d){return l.delim==="."?at.makeSpan([l.mclass]):Ca.sizedDelim(l.delim,l.size,d,l.mode,[l.mclass])},mathmlBuilder:function(l){var d=[];l.delim!=="."&&d.push(Li(l.delim,l.mode));var h=new Ln.MathNode("mo",d);return l.mclass==="mopen"||l.mclass==="mclose"?h.setAttribute("fence","true"):h.setAttribute("fence","false"),h}});function cs(re){if(!re.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Vn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(l,d){var h=l.parser.gullet.macros.get("\\current@color");if(h&&typeof h!="string")throw new q("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:l.parser.mode,delim:Qa(d[0],l).text,color:h}}}),Vn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(l,d){var h=Qa(d[0],l),g=l.parser;++g.leftrightDepth;var N=g.parseExpression(!1);--g.leftrightDepth,g.expect("\\right",!1);var le=Kn(g.parseFunction(),"leftright-right");return{type:"leftright",mode:g.mode,body:N,left:h.text,right:le.delim,rightColor:le.color}},htmlBuilder:function(l,d){cs(l);for(var h=oi(l.body,d,!0,["mopen","mclose"]),g=0,N=0,le=!1,Ne=0;Ne<h.length;Ne++)h[Ne].isMiddle?le=!0:(g=Math.max(h[Ne].height,g),N=Math.max(h[Ne].depth,N));g*=d.sizeMultiplier,N*=d.sizeMultiplier;var Be;if(l.left==="."?Be=Zi(d,["mopen"]):Be=Ca.leftRightDelim(l.left,g,N,d,l.mode,["mopen"]),h.unshift(Be),le)for(var qe=1;qe<h.length;qe++){var vt=h[qe],Tt=vt.isMiddle;Tt&&(h[qe]=Ca.leftRightDelim(Tt.delim,g,N,Tt.options,l.mode,[]))}var Jt;if(l.right===".")Jt=Zi(d,["mclose"]);else{var Sn=l.rightColor?d.withColor(l.rightColor):d;Jt=Ca.leftRightDelim(l.right,g,N,Sn,l.mode,["mclose"])}return h.push(Jt),at.makeSpan(["minner"],h,d)},mathmlBuilder:function(l,d){cs(l);var h=xr(l.body,d);if(l.left!=="."){var g=new Ln.MathNode("mo",[Li(l.left,l.mode)]);g.setAttribute("fence","true"),h.unshift(g)}if(l.right!=="."){var N=new Ln.MathNode("mo",[Li(l.right,l.mode)]);N.setAttribute("fence","true"),l.rightColor&&N.setAttribute("mathcolor",l.rightColor),h.push(N)}return na(h)}}),Vn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(l,d){var h=Qa(d[0],l);if(!l.parser.leftrightDepth)throw new q("\\middle without preceding \\left",h);return{type:"middle",mode:l.parser.mode,delim:h.text}},htmlBuilder:function(l,d){var h;if(l.delim===".")h=Zi(d,[]);else{h=Ca.sizedDelim(l.delim,1,d,l.mode,[]);var g={delim:l.delim,options:d};h.isMiddle=g}return h},mathmlBuilder:function(l,d){var h=l.delim==="\\vert"||l.delim==="|"?Li("|","text"):Li(l.delim,l.mode),g=new Ln.MathNode("mo",[h]);return g.setAttribute("fence","true"),g.setAttribute("lspace","0.05em"),g.setAttribute("rspace","0.05em"),g}});var ys=function(l,d){var h=at.wrapFragment(Kr(l.body,d),d),g=l.label.substr(1),N=d.sizeMultiplier,le,Ne=0,Be=B.isCharacterBox(l.body);if(g==="sout")le=at.makeSpan(["stretchy","sout"]),le.height=d.fontMetrics().defaultRuleThickness/N,Ne=-.5*d.fontMetrics().xHeight;else{/cancel/.test(g)?Be||h.classes.push("cancel-pad"):h.classes.push("boxpad");var qe=0,vt=0;/box/.test(g)?(vt=Math.max(d.fontMetrics().fboxrule,d.minRuleThickness),qe=d.fontMetrics().fboxsep+(g==="colorbox"?0:vt)):qe=Be?.2:0,le=sr.encloseSpan(h,g,qe,d),/fbox|boxed|fcolorbox/.test(g)&&(le.style.borderStyle="solid",le.style.borderWidth=vt+"em"),Ne=h.depth+qe,l.backgroundColor&&(le.style.backgroundColor=l.backgroundColor,l.borderColor&&(le.style.borderColor=l.borderColor))}var Tt;return l.backgroundColor?Tt=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:le,shift:Ne},{type:"elem",elem:h,shift:0}]},d):Tt=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:0},{type:"elem",elem:le,shift:Ne,wrapperClasses:/cancel/.test(g)?["svg-align"]:[]}]},d),/cancel/.test(g)&&(Tt.height=h.height,Tt.depth=h.depth),/cancel/.test(g)&&!Be?at.makeSpan(["mord","cancel-lap"],[Tt],d):at.makeSpan(["mord"],[Tt],d)},ds=function(l,d){var h=0,g=new Ln.MathNode(l.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Zn(l.body,d)]);switch(l.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(h=d.fontMetrics().fboxsep*d.fontMetrics().ptPerEm,g.setAttribute("width","+"+2*h+"pt"),g.setAttribute("height","+"+2*h+"pt"),g.setAttribute("lspace",h+"pt"),g.setAttribute("voffset",h+"pt"),l.label==="\\fcolorbox"){var N=Math.max(d.fontMetrics().fboxrule,d.minRuleThickness);g.setAttribute("style","border: "+N+"em solid "+String(l.borderColor))}break;case"\\xcancel":g.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return l.backgroundColor&&g.setAttribute("mathbackground",l.backgroundColor),g};Vn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(l,d,h){var g=l.parser,N=l.funcName,le=Kn(d[0],"color-token").color,Ne=d[1];return{type:"enclose",mode:g.mode,label:N,backgroundColor:le,body:Ne}},htmlBuilder:ys,mathmlBuilder:ds}),Vn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(l,d,h){var g=l.parser,N=l.funcName,le=Kn(d[0],"color-token").color,Ne=Kn(d[1],"color-token").color,Be=d[2];return{type:"enclose",mode:g.mode,label:N,backgroundColor:Ne,borderColor:le,body:Be}},htmlBuilder:ys,mathmlBuilder:ds}),Vn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(l,d){var h=l.parser;return{type:"enclose",mode:h.mode,label:"\\fbox",body:d[0]}}}),Vn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(l,d,h){var g=l.parser,N=l.funcName,le=d[0];return{type:"enclose",mode:g.mode,label:N,body:le}},htmlBuilder:ys,mathmlBuilder:ds});var Rs={};function Oa(re){for(var l=re.type,d=re.names,h=re.props,g=re.handler,N=re.htmlBuilder,le=re.mathmlBuilder,Ne={type:l,numArgs:h.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:g},Be=0;Be<d.length;++Be)Rs[d[Be]]=Ne;N&&(hi[l]=N),le&&(Ei[l]=le)}function bs(re){var l=[];re.consumeSpaces();for(var d=re.fetch().text;d==="\\hline"||d==="\\hdashline";)re.consume(),l.push(d==="\\hdashline"),re.consumeSpaces(),d=re.fetch().text;return l}function wi(re,l,d){var h=l.hskipBeforeAndAfter,g=l.addJot,N=l.cols,le=l.arraystretch,Ne=l.colSeparationType;if(re.gullet.beginGroup(),re.gullet.macros.set("\\\\","\\cr"),!le){var Be=re.gullet.expandMacroAsText("\\arraystretch");if(Be==null)le=1;else if(le=parseFloat(Be),!le||le<0)throw new q("Invalid \\arraystretch: "+Be)}re.gullet.beginGroup();var qe=[],vt=[qe],Tt=[],Jt=[];for(Jt.push(bs(re));;){var Sn=re.parseExpression(!1,"\\cr");re.gullet.endGroup(),re.gullet.beginGroup(),Sn={type:"ordgroup",mode:re.mode,body:Sn},d&&(Sn={type:"styling",mode:re.mode,style:d,body:[Sn]}),qe.push(Sn);var Xt=re.fetch().text;if(Xt==="&")re.consume();else if(Xt==="\\end"){qe.length===1&&Sn.type==="styling"&&Sn.body[0].body.length===0&&vt.pop(),Jt.length<vt.length+1&&Jt.push([]);break}else if(Xt==="\\cr"){var on=Kn(re.parseFunction(),"cr");Tt.push(on.size),Jt.push(bs(re)),qe=[],vt.push(qe)}else throw new q("Expected & or \\\\ or \\cr or \\end",re.nextToken)}return re.gullet.endGroup(),re.gullet.endGroup(),{type:"array",mode:re.mode,addJot:g,arraystretch:le,body:vt,cols:N,rowGaps:Tt,hskipBeforeAndAfter:h,hLinesBeforeRow:Jt,colSeparationType:Ne}}function xi(re){return re.substr(0,1)==="d"?"display":"text"}var mi=function(l,d){var h,g,N=l.body.length,le=l.hLinesBeforeRow,Ne=0,Be=new Array(N),qe=[],vt=Math.max(d.fontMetrics().arrayRuleWidth,d.minRuleThickness),Tt=1/d.fontMetrics().ptPerEm,Jt=5*Tt;if(l.colSeparationType&&l.colSeparationType==="small"){var Sn=d.havingStyle(v.SCRIPT).sizeMultiplier;Jt=.2778*(Sn/d.sizeMultiplier)}var Xt=12*Tt,on=3*Tt,gn=l.arraystretch*Xt,An=.7*gn,rr=.3*gn,In=0;function or($i){for(var Ai=0;Ai<$i.length;++Ai)Ai>0&&(In+=.25),qe.push({pos:In,isDashed:$i[Ai]})}for(or(le[0]),h=0;h<l.body.length;++h){var _r=l.body[h],wr=An,ri=rr;Ne<_r.length&&(Ne=_r.length);var ii=new Array(_r.length);for(g=0;g<_r.length;++g){var Wi=Kr(_r[g],d);ri<Wi.depth&&(ri=Wi.depth),wr<Wi.height&&(wr=Wi.height),ii[g]=Wi}var ui=l.rowGaps[h],ai=0;ui&&(ai=gt(ui,d),ai>0&&(ai+=rr,ri<ai&&(ri=ai),ai=0)),l.addJot&&(ri+=on),ii.height=wr,ii.depth=ri,In+=wr,ii.pos=In,In+=ri+ai,Be[h]=ii,or(le[h+1])}var bi=In/2+d.fontMetrics().axisHeight,qi=l.cols||[],Sa=[],Hr,qr;for(g=0,qr=0;g<Ne||qr<qi.length;++g,++qr){for(var Qr=qi[qr]||{},Ri=!0;Qr.type==="separator";){if(Ri||(Hr=at.makeSpan(["arraycolsep"],[]),Hr.style.width=d.fontMetrics().doubleRuleSep+"em",Sa.push(Hr)),Qr.separator==="|"||Qr.separator===":"){var ea=Qr.separator==="|"?"solid":"dashed",Wr=at.makeSpan(["vertical-separator"],[],d);Wr.style.height=In+"em",Wr.style.borderRightWidth=vt+"em",Wr.style.borderRightStyle=ea,Wr.style.margin="0 -"+vt/2+"em",Wr.style.verticalAlign=-(In-bi)+"em",Sa.push(Wr)}else throw new q("Invalid separator type: "+Qr.separator);qr++,Qr=qi[qr]||{},Ri=!1}if(!(g>=Ne)){var ra=void 0;(g>0||l.hskipBeforeAndAfter)&&(ra=B.deflt(Qr.pregap,Jt),ra!==0&&(Hr=at.makeSpan(["arraycolsep"],[]),Hr.style.width=ra+"em",Sa.push(Hr)));var ta=[];for(h=0;h<N;++h){var xa=Be[h],Ma=xa[g];if(Ma){var Aa=xa.pos-bi;Ma.depth=xa.depth,Ma.height=xa.height,ta.push({type:"elem",elem:Ma,shift:Aa})}}ta=at.makeVList({positionType:"individualShift",children:ta},d),ta=at.makeSpan(["col-align-"+(Qr.align||"c")],[ta]),Sa.push(ta),(g<Ne-1||l.hskipBeforeAndAfter)&&(ra=B.deflt(Qr.postgap,Jt),ra!==0&&(Hr=at.makeSpan(["arraycolsep"],[]),Hr.style.width=ra+"em",Sa.push(Hr)))}}if(Be=at.makeSpan(["mtable"],Sa),qe.length>0){for(var Ss=at.makeLineSpan("hline",d,vt),Xa=at.makeLineSpan("hdashline",d,vt),Na=[{type:"elem",elem:Be,shift:0}];qe.length>0;){var ha=qe.pop(),pa=ha.pos-bi;ha.isDashed?Na.push({type:"elem",elem:Xa,shift:pa}):Na.push({type:"elem",elem:Ss,shift:pa})}Be=at.makeVList({positionType:"individualShift",children:Na},d)}return at.makeSpan(["mord"],[Be],d)},Ji={c:"center ",l:"left ",r:"right "},Xi=function(l,d){var h=new Ln.MathNode("mtable",l.body.map(function(In){return new Ln.MathNode("mtr",In.map(function(or){return new Ln.MathNode("mtd",[Zn(or,d)])}))})),g=l.arraystretch===.5?.1:.16+l.arraystretch-1+(l.addJot?.09:0);h.setAttribute("rowspacing",g+"em");var N="",le="";if(l.cols){var Ne=l.cols,Be="",qe=!1,vt=0,Tt=Ne.length;Ne[0].type==="separator"&&(N+="top ",vt=1),Ne[Ne.length-1].type==="separator"&&(N+="bottom ",Tt-=1);for(var Jt=vt;Jt<Tt;Jt++)Ne[Jt].type==="align"?(le+=Ji[Ne[Jt].align],qe&&(Be+="none "),qe=!0):Ne[Jt].type==="separator"&&qe&&(Be+=Ne[Jt].separator==="|"?"solid ":"dashed ",qe=!1);h.setAttribute("columnalign",le.trim()),/[sd]/.test(Be)&&h.setAttribute("columnlines",Be.trim())}if(l.colSeparationType==="align"){for(var Sn=l.cols||[],Xt="",on=1;on<Sn.length;on++)Xt+=on%2?"0em ":"1em ";h.setAttribute("columnspacing",Xt.trim())}else l.colSeparationType==="alignat"?h.setAttribute("columnspacing","0em"):l.colSeparationType==="small"?h.setAttribute("columnspacing","0.2778em"):h.setAttribute("columnspacing","1em");var gn="",An=l.hLinesBeforeRow;N+=An[0].length>0?"left ":"",N+=An[An.length-1].length>0?"right ":"";for(var rr=1;rr<An.length-1;rr++)gn+=An[rr].length===0?"none ":An[rr][0]?"dashed ":"solid ";return/[sd]/.test(gn)&&h.setAttribute("rowlines",gn.trim()),N!==""&&(h=new Ln.MathNode("menclose",[h]),h.setAttribute("notation",N.trim())),l.arraystretch&&l.arraystretch<1&&(h=new Ln.MathNode("mstyle",[h]),h.setAttribute("scriptlevel","1")),h},fs=function(l,d){var h=[],g=wi(l.parser,{cols:h,addJot:!0},"display"),N,le=0,Ne={type:"ordgroup",mode:l.mode,body:[]},Be=lr(d[0],"ordgroup");if(Be){for(var qe="",vt=0;vt<Be.body.length;vt++){var Tt=Kn(Be.body[vt],"textord");qe+=Tt.text}N=Number(qe),le=N*2}var Jt=!le;g.body.forEach(function(gn){for(var An=1;An<gn.length;An+=2){var rr=Kn(gn[An],"styling"),In=Kn(rr.body[0],"ordgroup");In.body.unshift(Ne)}if(Jt)le<gn.length&&(le=gn.length);else{var or=gn.length/2;if(N<or)throw new q("Too many math in a row: "+("expected "+N+", but got "+or),gn[0])}});for(var Sn=0;Sn<le;++Sn){var Xt="r",on=0;Sn%2===1?Xt="l":Sn>0&&Jt&&(on=1),h[Sn]={type:"align",align:Xt,pregap:on,postgap:0}}return g.colSeparationType=Jt?"align":"alignat",g};Oa({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(l,d){var h=Ur(d[0]),g=h?[d[0]]:Kn(d[0],"ordgroup").body,N=g.map(function(Ne){var Be=Pr(Ne),qe=Be.text;if("lcr".indexOf(qe)!==-1)return{type:"align",align:qe};if(qe==="|")return{type:"separator",separator:"|"};if(qe===":")return{type:"separator",separator:":"};throw new q("Unknown column alignment: "+qe,Ne)}),le={cols:N,hskipBeforeAndAfter:!0};return wi(l.parser,le,xi(l.envName))},htmlBuilder:mi,mathmlBuilder:Xi}),Oa({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(l){var d={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[l.envName],h={hskipBeforeAndAfter:!1},g=wi(l.parser,h,xi(l.envName));return d?{type:"leftright",mode:l.mode,body:[g],left:d[0],right:d[1],rightColor:void 0}:g},htmlBuilder:mi,mathmlBuilder:Xi}),Oa({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(l){var d={arraystretch:.5},h=wi(l.parser,d,"script");return h.colSeparationType="small",h},htmlBuilder:mi,mathmlBuilder:Xi}),Oa({type:"array",names:["subarray"],props:{numArgs:1},handler:function(l,d){var h=Ur(d[0]),g=h?[d[0]]:Kn(d[0],"ordgroup").body,N=g.map(function(Ne){var Be=Pr(Ne),qe=Be.text;if("lc".indexOf(qe)!==-1)return{type:"align",align:qe};throw new q("Unknown column alignment: "+qe,Ne)});if(N.length>1)throw new q("{subarray} can contain only one column");var le={cols:N,hskipBeforeAndAfter:!1,arraystretch:.5};if(le=wi(l.parser,le,"script"),le.body[0].length>1)throw new q("{subarray} can contain only one column");return le},htmlBuilder:mi,mathmlBuilder:Xi}),Oa({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(l){var d={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},h=wi(l.parser,d,xi(l.envName));return{type:"leftright",mode:l.mode,body:[h],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:mi,mathmlBuilder:Xi}),Oa({type:"array",names:["aligned"],props:{numArgs:0},handler:fs,htmlBuilder:mi,mathmlBuilder:Xi}),Oa({type:"array",names:["gathered"],props:{numArgs:0},handler:function(l){var d={cols:[{type:"align",align:"c"}],addJot:!0};return wi(l.parser,d,"display")},htmlBuilder:mi,mathmlBuilder:Xi}),Oa({type:"array",names:["alignedat"],props:{numArgs:1},handler:fs,htmlBuilder:mi,mathmlBuilder:Xi}),Vn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(l,d){throw new q(l.funcName+" valid only within array environment")}});var Ja=Rs,hs=Ja;Vn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(l,d){var h=l.parser,g=l.funcName,N=d[0];if(N.type!=="ordgroup")throw new q("Invalid environment name",N);for(var le="",Ne=0;Ne<N.body.length;++Ne)le+=Kn(N.body[Ne],"textord").text;if(g==="\\begin"){if(!hs.hasOwnProperty(le))throw new q("No such environment: "+le,N);var Be=hs[le],qe=h.parseArguments("\\begin{"+le+"}",Be),vt=qe.args,Tt=qe.optArgs,Jt={mode:h.mode,envName:le,parser:h},Sn=Be.handler(Jt,vt,Tt);h.expect("\\end",!1);var Xt=h.nextToken,on=Kn(h.parseFunction(),"environment");if(on.name!==le)throw new q("Mismatch: \\begin{"+le+"} matched by \\end{"+on.name+"}",Xt);return Sn}return{type:"environment",mode:h.mode,name:le,nameGroup:N}}});var ks=at.makeSpan;function ps(re,l){var d=oi(re.body,l,!0);return ks([re.mclass],d,l)}function ms(re,l){var d,h=xr(re.body,l);return re.mclass==="minner"?Ln.newDocumentFragment(h):(re.mclass==="mord"?re.isCharacterBox?(d=h[0],d.type="mi"):d=new Ln.MathNode("mi",h):(re.isCharacterBox?(d=h[0],d.type="mo"):d=new Ln.MathNode("mo",h),re.mclass==="mbin"?(d.attributes.lspace="0.22em",d.attributes.rspace="0.22em"):re.mclass==="mpunct"?(d.attributes.lspace="0em",d.attributes.rspace="0.17em"):(re.mclass==="mopen"||re.mclass==="mclose")&&(d.attributes.lspace="0em",d.attributes.rspace="0em")),d)}Vn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(l,d){var h=l.parser,g=l.funcName,N=d[0];return{type:"mclass",mode:h.mode,mclass:"m"+g.substr(5),body:jr(N),isCharacterBox:B.isCharacterBox(N)}},htmlBuilder:ps,mathmlBuilder:ms});var Rn=function(l){var d=l.type==="ordgroup"&&l.body.length?l.body[0]:l;return d.type==="atom"&&(d.family==="bin"||d.family==="rel")?"m"+d.family:"mord"};Vn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(l,d){var h=l.parser;return{type:"mclass",mode:h.mode,mclass:Rn(d[0]),body:[d[1]],isCharacterBox:B.isCharacterBox(d[1])}}}),Vn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(l,d){var h=l.parser,g=l.funcName,N=d[1],le=d[0],Ne;g!=="\\stackrel"?Ne=Rn(N):Ne="mrel";var Be={type:"op",mode:N.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:g!=="\\stackrel",body:jr(N)},qe={type:"supsub",mode:le.mode,base:Be,sup:g==="\\underset"?null:le,sub:g==="\\underset"?le:null};return{type:"mclass",mode:h.mode,mclass:Ne,body:[qe],isCharacterBox:B.isCharacterBox(qe)}},htmlBuilder:ps,mathmlBuilder:ms});var Ts=function(l,d){var h=l.font,g=d.withFont(h);return Kr(l.body,g)},Ms=function(l,d){var h=l.font,g=d.withFont(h);return Zn(l.body,g)},go={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Vn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(l,d){var h=l.parser,g=l.funcName,N=d[0],le=g;return le in go&&(le=go[le]),{type:"font",mode:h.mode,font:le.slice(1),body:N}},htmlBuilder:Ts,mathmlBuilder:Ms}),Vn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(l,d){var h=l.parser,g=d[0],N=B.isCharacterBox(g);return{type:"mclass",mode:h.mode,mclass:Rn(g),body:[{type:"font",mode:h.mode,font:"boldsymbol",body:g}],isCharacterBox:N}}}),Vn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(l,d){var h=l.parser,g=l.funcName,N=l.breakOnTokenText,le=h.mode,Ne=h.parseExpression(!0,N),Be="math"+g.slice(1);return{type:"font",mode:le,font:Be,body:{type:"ordgroup",mode:h.mode,body:Ne}}},htmlBuilder:Ts,mathmlBuilder:Ms});var Qs=function(l,d){var h=d;return l==="display"?h=h.id>=v.SCRIPT.id?h.text():v.DISPLAY:l==="text"&&h.size===v.DISPLAY.size?h=v.TEXT:l==="script"?h=v.SCRIPT:l==="scriptscript"&&(h=v.SCRIPTSCRIPT),h},Ks=function(l,d){var h=Qs(l.size,d.style),g=h.fracNum(),N=h.fracDen(),le;le=d.havingStyle(g);var Ne=Kr(l.numer,le,d);if(l.continued){var Be=8.5/d.fontMetrics().ptPerEm,qe=3.5/d.fontMetrics().ptPerEm;Ne.height=Ne.height<Be?Be:Ne.height,Ne.depth=Ne.depth<qe?qe:Ne.depth}le=d.havingStyle(N);var vt=Kr(l.denom,le,d),Tt,Jt,Sn;l.hasBarLine?(l.barSize?(Jt=gt(l.barSize,d),Tt=at.makeLineSpan("frac-line",d,Jt)):Tt=at.makeLineSpan("frac-line",d),Jt=Tt.height,Sn=Tt.height):(Tt=null,Jt=0,Sn=d.fontMetrics().defaultRuleThickness);var Xt,on,gn;h.size===v.DISPLAY.size||l.size==="display"?(Xt=d.fontMetrics().num1,Jt>0?on=3*Sn:on=7*Sn,gn=d.fontMetrics().denom1):(Jt>0?(Xt=d.fontMetrics().num2,on=Sn):(Xt=d.fontMetrics().num3,on=3*Sn),gn=d.fontMetrics().denom2);var An;if(Tt){var In=d.fontMetrics().axisHeight;Xt-Ne.depth-(In+.5*Jt)<on&&(Xt+=on-(Xt-Ne.depth-(In+.5*Jt))),In-.5*Jt-(vt.height-gn)<on&&(gn+=on-(In-.5*Jt-(vt.height-gn)));var or=-(In-.5*Jt);An=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:vt,shift:gn},{type:"elem",elem:Tt,shift:or},{type:"elem",elem:Ne,shift:-Xt}]},d)}else{var rr=Xt-Ne.depth-(vt.height-gn);rr<on&&(Xt+=.5*(on-rr),gn+=.5*(on-rr)),An=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:vt,shift:gn},{type:"elem",elem:Ne,shift:-Xt}]},d)}le=d.havingStyle(h),An.height*=le.sizeMultiplier/d.sizeMultiplier,An.depth*=le.sizeMultiplier/d.sizeMultiplier;var _r;h.size===v.DISPLAY.size?_r=d.fontMetrics().delim1:_r=d.fontMetrics().delim2;var wr,ri;return l.leftDelim==null?wr=Zi(d,["mopen"]):wr=Ca.customSizedDelim(l.leftDelim,_r,!0,d.havingStyle(h),l.mode,["mopen"]),l.continued?ri=at.makeSpan([]):l.rightDelim==null?ri=Zi(d,["mclose"]):ri=Ca.customSizedDelim(l.rightDelim,_r,!0,d.havingStyle(h),l.mode,["mclose"]),at.makeSpan(["mord"].concat(le.sizingClasses(d)),[wr,at.makeSpan(["mfrac"],[An]),ri],d)},Js=function(l,d){var h=new Ln.MathNode("mfrac",[Zn(l.numer,d),Zn(l.denom,d)]);if(!l.hasBarLine)h.setAttribute("linethickness","0px");else if(l.barSize){var g=gt(l.barSize,d);h.setAttribute("linethickness",g+"em")}var N=Qs(l.size,d.style);if(N.size!==d.style.size){h=new Ln.MathNode("mstyle",[h]);var le=N.size===v.DISPLAY.size?"true":"false";h.setAttribute("displaystyle",le),h.setAttribute("scriptlevel","0")}if(l.leftDelim!=null||l.rightDelim!=null){var Ne=[];if(l.leftDelim!=null){var Be=new Ln.MathNode("mo",[new Ln.TextNode(l.leftDelim.replace("\\",""))]);Be.setAttribute("fence","true"),Ne.push(Be)}if(Ne.push(h),l.rightDelim!=null){var qe=new Ln.MathNode("mo",[new Ln.TextNode(l.rightDelim.replace("\\",""))]);qe.setAttribute("fence","true"),Ne.push(qe)}return na(Ne)}return h};Vn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(l,d){var h=l.parser,g=l.funcName,N=d[0],le=d[1],Ne,Be=null,qe=null,vt="auto";switch(g){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":Ne=!0;break;case"\\\\atopfrac":Ne=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Ne=!1,Be="(",qe=")";break;case"\\\\bracefrac":Ne=!1,Be="\\{",qe="\\}";break;case"\\\\brackfrac":Ne=!1,Be="[",qe="]";break;default:throw new Error("Unrecognized genfrac command")}switch(g){case"\\cfrac":case"\\dfrac":case"\\dbinom":vt="display";break;case"\\tfrac":case"\\tbinom":vt="text";break}return{type:"genfrac",mode:h.mode,continued:g==="\\cfrac",numer:N,denom:le,hasBarLine:Ne,leftDelim:Be,rightDelim:qe,size:vt,barSize:null}},htmlBuilder:Ks,mathmlBuilder:Js}),Vn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(l){var d=l.parser,h=l.funcName,g=l.token,N;switch(h){case"\\over":N="\\frac";break;case"\\choose":N="\\binom";break;case"\\atop":N="\\\\atopfrac";break;case"\\brace":N="\\\\bracefrac";break;case"\\brack":N="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:d.mode,replaceWith:N,token:g}}});var Ga=["display","text","script","scriptscript"],zs=function(l){var d=null;return l.length>0&&(d=l,d=d==="."?null:d),d};Vn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(l,d){var h=l.parser,g=d[4],N=d[5],le=lr(d[0],"atom");le&&(le=Rr(d[0],"open"));var Ne=le?zs(le.text):null,Be=lr(d[1],"atom");Be&&(Be=Rr(d[1],"close"));var qe=Be?zs(Be.text):null,vt=Kn(d[2],"size"),Tt,Jt=null;vt.isBlank?Tt=!0:(Jt=vt.value,Tt=Jt.number>0);var Sn="auto",Xt=lr(d[3],"ordgroup");if(Xt){if(Xt.body.length>0){var on=Kn(Xt.body[0],"textord");Sn=Ga[Number(on.text)]}}else Xt=Kn(d[3],"textord"),Sn=Ga[Number(Xt.text)];return{type:"genfrac",mode:h.mode,numer:g,denom:N,continued:!1,hasBarLine:Tt,barSize:Jt,leftDelim:Ne,rightDelim:qe,size:Sn}},htmlBuilder:Ks,mathmlBuilder:Js}),Vn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(l,d){var h=l.parser,g=l.funcName,N=l.token;return{type:"infix",mode:h.mode,replaceWith:"\\\\abovefrac",size:Kn(d[0],"size").value,token:N}}}),Vn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(l,d){var h=l.parser,g=l.funcName,N=d[0],le=P(Kn(d[1],"infix").size),Ne=d[2],Be=le.number>0;return{type:"genfrac",mode:h.mode,numer:N,denom:Ne,continued:!1,hasBarLine:Be,barSize:le,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ks,mathmlBuilder:Js});var qs=function(l,d){var h=d.style,g,N,le=lr(l,"supsub");le?(g=le.sup?Kr(le.sup,d.havingStyle(h.sup()),d):Kr(le.sub,d.havingStyle(h.sub()),d),N=Kn(le.base,"horizBrace")):N=Kn(l,"horizBrace");var Ne=Kr(N.base,d.havingBaseStyle(v.DISPLAY)),Be=sr.svgSpan(N,d),qe;if(N.isOver?(qe=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ne},{type:"kern",size:.1},{type:"elem",elem:Be}]},d),qe.children[0].children[0].children[1].classes.push("svg-align")):(qe=at.makeVList({positionType:"bottom",positionData:Ne.depth+.1+Be.height,children:[{type:"elem",elem:Be},{type:"kern",size:.1},{type:"elem",elem:Ne}]},d),qe.children[0].children[0].children[0].classes.push("svg-align")),g){var vt=at.makeSpan(["mord",N.isOver?"mover":"munder"],[qe],d);N.isOver?qe=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:vt},{type:"kern",size:.2},{type:"elem",elem:g}]},d):qe=at.makeVList({positionType:"bottom",positionData:vt.depth+.2+g.height+g.depth,children:[{type:"elem",elem:g},{type:"kern",size:.2},{type:"elem",elem:vt}]},d)}return at.makeSpan(["mord",N.isOver?"mover":"munder"],[qe],d)},Po=function(l,d){var h=sr.mathMLnode(l.label);return new Ln.MathNode(l.isOver?"mover":"munder",[Zn(l.base,d),h])};Vn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(l,d){var h=l.parser,g=l.funcName;return{type:"horizBrace",mode:h.mode,label:g,isOver:/^\\over/.test(g),base:d[0]}},htmlBuilder:qs,mathmlBuilder:Po}),Vn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(l,d){var h=l.parser,g=d[1],N=Kn(d[0],"url").url;return h.settings.isTrusted({command:"\\href",url:N})?{type:"href",mode:h.mode,href:N,body:jr(g)}:h.formatUnsupportedCmd("\\href")},htmlBuilder:function(l,d){var h=oi(l.body,d,!1);return at.makeAnchor(l.href,[],h,d)},mathmlBuilder:function(l,d){var h=cr(l.body,d);return h instanceof vi||(h=new vi("mrow",[h])),h.setAttribute("href",l.href),h}}),Vn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(l,d){var h=l.parser,g=Kn(d[0],"url").url;if(!h.settings.isTrusted({command:"\\url",url:g}))return h.formatUnsupportedCmd("\\url");for(var N=[],le=0;le<g.length;le++){var Ne=g[le];Ne==="~"&&(Ne="\\textasciitilde"),N.push({type:"textord",mode:"text",text:Ne})}var Be={type:"text",mode:h.mode,font:"\\texttt",body:N};return{type:"href",mode:h.mode,href:g,body:jr(Be)}}}),Vn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(l,d){var h=l.parser;return{type:"htmlmathml",mode:h.mode,html:jr(d[0]),mathml:jr(d[1])}},htmlBuilder:function(l,d){var h=oi(l.html,d,!1);return at.makeFragment(h)},mathmlBuilder:function(l,d){return cr(l.mathml,d)}});var Os=function(l){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(l))return{number:+l,unit:"bp"};var d=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(l);if(!d)throw new q("Invalid size: '"+l+"' in \\includegraphics");var h={number:+(d[1]+d[2]),unit:d[3]};if(!dt(h))throw new q("Invalid unit: '"+h.unit+"' in \\includegraphics.");return h};Vn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(l,d,h){var g=l.parser,N={number:0,unit:"em"},le={number:.9,unit:"em"},Ne={number:0,unit:"em"},Be="";if(h[0])for(var qe=Kn(h[0],"raw").string,vt=qe.split(","),Tt=0;Tt<vt.length;Tt++){var Jt=vt[Tt].split("=");if(Jt.length===2){var Sn=Jt[1].trim();switch(Jt[0].trim()){case"alt":Be=Sn;break;case"width":N=Os(Sn);break;case"height":le=Os(Sn);break;case"totalheight":Ne=Os(Sn);break;default:throw new q("Invalid key: '"+Jt[0]+"' in \\includegraphics.")}}}var Xt=Kn(d[0],"url").url;return Be===""&&(Be=Xt,Be=Be.replace(/^.*[\\/]/,""),Be=Be.substring(0,Be.lastIndexOf("."))),g.settings.isTrusted({command:"\\includegraphics",url:Xt})?{type:"includegraphics",mode:g.mode,alt:Be,width:N,height:le,totalheight:Ne,src:Xt}:g.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(l,d){var h=gt(l.height,d),g=0;l.totalheight.number>0&&(g=gt(l.totalheight,d)-h,g=Number(g.toFixed(2)));var N=0;l.width.number>0&&(N=gt(l.width,d));var le={height:h+g+"em"};N>0&&(le.width=N+"em"),g>0&&(le.verticalAlign=-g+"em");var Ne=new xe(l.src,l.alt,le);return Ne.height=h,Ne.depth=g,Ne},mathmlBuilder:function(l,d){var h=new Ln.MathNode("mglyph",[]);h.setAttribute("alt",l.alt);var g=gt(l.height,d),N=0;if(l.totalheight.number>0&&(N=gt(l.totalheight,d)-g,N=N.toFixed(2),h.setAttribute("valign","-"+N+"em")),h.setAttribute("height",g+N+"em"),l.width.number>0){var le=gt(l.width,d);h.setAttribute("width",le+"em")}return h.setAttribute("src",l.src),h}}),Vn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(l,d){var h=l.parser,g=l.funcName,N=Kn(d[0],"size");if(h.settings.strict){var le=g[1]==="m",Ne=N.value.unit==="mu";le?(Ne||h.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" supports only mu units, "+("not "+N.value.unit+" units")),h.mode!=="math"&&h.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" works only in math mode")):Ne&&h.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" doesn't support mu units")}return{type:"kern",mode:h.mode,dimension:N.value}},htmlBuilder:function(l,d){return at.makeGlue(l.dimension,d)},mathmlBuilder:function(l,d){var h=gt(l.dimension,d);return new Ln.SpaceNode(h)}}),Vn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var h=l.parser,g=l.funcName,N=d[0];return{type:"lap",mode:h.mode,alignment:g.slice(5),body:N}},htmlBuilder:function(l,d){var h;l.alignment==="clap"?(h=at.makeSpan([],[Kr(l.body,d)]),h=at.makeSpan(["inner"],[h],d)):h=at.makeSpan(["inner"],[Kr(l.body,d)]);var g=at.makeSpan(["fix"],[]),N=at.makeSpan([l.alignment],[h,g],d),le=at.makeSpan(["strut"]);return le.style.height=N.height+N.depth+"em",le.style.verticalAlign=-N.depth+"em",N.children.unshift(le),N=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:N}]},d),at.makeSpan(["mord"],[N],d)},mathmlBuilder:function(l,d){var h=new Ln.MathNode("mpadded",[Zn(l.body,d)]);if(l.alignment!=="rlap"){var g=l.alignment==="llap"?"-1":"-0.5";h.setAttribute("lspace",g+"width")}return h.setAttribute("width","0px"),h}}),Vn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(l,d){var h=l.funcName,g=l.parser,N=g.mode;g.switchMode("math");var le=h==="\\("?"\\)":"$",Ne=g.parseExpression(!1,le);return g.expect(le),g.switchMode(N),{type:"styling",mode:g.mode,style:"text",body:Ne}}}),Vn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(l,d){throw new q("Mismatched "+l.funcName)}});var Xs=function(l,d){switch(d.style.size){case v.DISPLAY.size:return l.display;case v.TEXT.size:return l.text;case v.SCRIPT.size:return l.script;case v.SCRIPTSCRIPT.size:return l.scriptscript;default:return l.text}};Vn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(l,d){var h=l.parser;return{type:"mathchoice",mode:h.mode,display:jr(d[0]),text:jr(d[1]),script:jr(d[2]),scriptscript:jr(d[3])}},htmlBuilder:function(l,d){var h=Xs(l,d),g=oi(h,d,!1);return at.makeFragment(g)},mathmlBuilder:function(l,d){var h=Xs(l,d);return cr(h,d)}});var Ls=function(l,d,h,g,N,le,Ne){l=at.makeSpan([],[l]);var Be,qe;if(d){var vt=Kr(d,g.havingStyle(N.sup()),g);qe={elem:vt,kern:Math.max(g.fontMetrics().bigOpSpacing1,g.fontMetrics().bigOpSpacing3-vt.depth)}}if(h){var Tt=Kr(h,g.havingStyle(N.sub()),g);Be={elem:Tt,kern:Math.max(g.fontMetrics().bigOpSpacing2,g.fontMetrics().bigOpSpacing4-Tt.height)}}var Jt;if(qe&&Be){var Sn=g.fontMetrics().bigOpSpacing5+Be.elem.height+Be.elem.depth+Be.kern+l.depth+Ne;Jt=at.makeVList({positionType:"bottom",positionData:Sn,children:[{type:"kern",size:g.fontMetrics().bigOpSpacing5},{type:"elem",elem:Be.elem,marginLeft:-le+"em"},{type:"kern",size:Be.kern},{type:"elem",elem:l},{type:"kern",size:qe.kern},{type:"elem",elem:qe.elem,marginLeft:le+"em"},{type:"kern",size:g.fontMetrics().bigOpSpacing5}]},g)}else if(Be){var Xt=l.height-Ne;Jt=at.makeVList({positionType:"top",positionData:Xt,children:[{type:"kern",size:g.fontMetrics().bigOpSpacing5},{type:"elem",elem:Be.elem,marginLeft:-le+"em"},{type:"kern",size:Be.kern},{type:"elem",elem:l}]},g)}else if(qe){var on=l.depth+Ne;Jt=at.makeVList({positionType:"bottom",positionData:on,children:[{type:"elem",elem:l},{type:"kern",size:qe.kern},{type:"elem",elem:qe.elem,marginLeft:le+"em"},{type:"kern",size:g.fontMetrics().bigOpSpacing5}]},g)}else return l;return at.makeSpan(["mop","op-limits"],[Jt],g)},vo=["\\smallint"],qa=function(l,d){var h,g,N=!1,le,Ne=lr(l,"supsub");Ne?(h=Ne.sup,g=Ne.sub,le=Kn(Ne.base,"op"),N=!0):le=Kn(l,"op");var Be=d.style,qe=!1;Be.size===v.DISPLAY.size&&le.symbol&&!B.contains(vo,le.name)&&(qe=!0);var vt;if(le.symbol){var Tt=qe?"Size2-Regular":"Size1-Regular",Jt="";if((le.name==="\\oiint"||le.name==="\\oiiint")&&(Jt=le.name.substr(1),le.name=Jt==="oiint"?"\\iint":"\\iiint"),vt=at.makeSymbol(le.name,Tt,"math",d,["mop","op-symbol",qe?"large-op":"small-op"]),Jt.length>0){var Sn=vt.italic,Xt=at.staticSvg(Jt+"Size"+(qe?"2":"1"),d);vt=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:vt,shift:0},{type:"elem",elem:Xt,shift:qe?.08:0}]},d),le.name="\\"+Jt,vt.classes.unshift("mop"),vt.italic=Sn}}else if(le.body){var on=oi(le.body,d,!0);on.length===1&&on[0]instanceof E?(vt=on[0],vt.classes[0]="mop"):vt=at.makeSpan(["mop"],at.tryCombineChars(on),d)}else{for(var gn=[],An=1;An<le.name.length;An++)gn.push(at.mathsym(le.name[An],le.mode,d));vt=at.makeSpan(["mop"],gn,d)}var rr=0,In=0;return(vt instanceof E||le.name==="\\oiint"||le.name==="\\oiiint")&&!le.suppressBaseShift&&(rr=(vt.height-vt.depth)/2-d.fontMetrics().axisHeight,In=vt.italic),N?Ls(vt,h,g,d,Be,In,rr):(rr&&(vt.style.position="relative",vt.style.top=rr+"em"),vt)},Ns=function(l,d){var h;if(l.symbol)h=new vi("mo",[Li(l.name,l.mode)]),B.contains(vo,l.name)&&h.setAttribute("largeop","false");else if(l.body)h=new vi("mo",xr(l.body,d));else{h=new vi("mi",[new ca(l.name.slice(1))]);var g=new vi("mo",[Li("\u2061","text")]);l.parentIsSupSub?h=new vi("mo",[h,g]):h=ua([h,g])}return h},yo={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Vn({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(l,d){var h=l.parser,g=l.funcName,N=g;return N.length===1&&(N=yo[N]),{type:"op",mode:h.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:N}},htmlBuilder:qa,mathmlBuilder:Ns}),Vn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(l,d){var h=l.parser,g=d[0];return{type:"op",mode:h.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:jr(g)}},htmlBuilder:qa,mathmlBuilder:Ns});var bo={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Vn({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(l){var d=l.parser,h=l.funcName;return{type:"op",mode:d.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:h}},htmlBuilder:qa,mathmlBuilder:Ns}),Vn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(l){var d=l.parser,h=l.funcName;return{type:"op",mode:d.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:h}},htmlBuilder:qa,mathmlBuilder:Ns}),Vn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(l){var d=l.parser,h=l.funcName,g=h;return g.length===1&&(g=bo[g]),{type:"op",mode:d.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:g}},htmlBuilder:qa,mathmlBuilder:Ns});var Hs=function(l,d){var h,g,N=!1,le,Ne=lr(l,"supsub");Ne?(h=Ne.sup,g=Ne.sub,le=Kn(Ne.base,"operatorname"),N=!0):le=Kn(l,"operatorname");var Be;if(le.body.length>0){for(var qe=le.body.map(function(Sn){var Xt=Sn.text;return typeof Xt=="string"?{type:"textord",mode:Sn.mode,text:Xt}:Sn}),vt=oi(qe,d.withFont("mathrm"),!0),Tt=0;Tt<vt.length;Tt++){var Jt=vt[Tt];Jt instanceof E&&(Jt.text=Jt.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Be=at.makeSpan(["mop"],vt,d)}else Be=at.makeSpan(["mop"],[],d);return N?Ls(Be,h,g,d,d.style,0,0):Be},Uo=function(l,d){for(var h=xr(l.body,d.withFont("mathrm")),g=!0,N=0;N<h.length;N++){var le=h[N];if(!(le instanceof Ln.SpaceNode))if(le instanceof Ln.MathNode)switch(le.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var Ne=le.children[0];le.children.length===1&&Ne instanceof Ln.TextNode?Ne.text=Ne.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):g=!1;break}default:g=!1}else g=!1}if(g){var Be=h.map(function(Tt){return Tt.toText()}).join("");h=[new Ln.TextNode(Be)]}var qe=new Ln.MathNode("mi",h);qe.setAttribute("mathvariant","normal");var vt=new Ln.MathNode("mo",[Li("\u2061","text")]);return l.parentIsSupSub?new Ln.MathNode("mo",[qe,vt]):Ln.newDocumentFragment([qe,vt])};Vn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(l,d){var h=l.parser,g=l.funcName,N=d[0];return{type:"operatorname",mode:h.mode,body:jr(N),alwaysHandleSupSub:g==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Hs,mathmlBuilder:Uo}),Zr({type:"ordgroup",htmlBuilder:function(l,d){return l.semisimple?at.makeFragment(oi(l.body,d,!1)):at.makeSpan(["mord"],oi(l.body,d,!0),d)},mathmlBuilder:function(l,d){return cr(l.body,d,!0)}}),Vn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(l,d){var h=l.parser,g=d[0];return{type:"overline",mode:h.mode,body:g}},htmlBuilder:function(l,d){var h=Kr(l.body,d.havingCrampedStyle()),g=at.makeLineSpan("overline-line",d),N=d.fontMetrics().defaultRuleThickness,le=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:h},{type:"kern",size:3*N},{type:"elem",elem:g},{type:"kern",size:N}]},d);return at.makeSpan(["mord","overline"],[le],d)},mathmlBuilder:function(l,d){var h=new Ln.MathNode("mo",[new Ln.TextNode("\u203E")]);h.setAttribute("stretchy","true");var g=new Ln.MathNode("mover",[Zn(l.body,d),h]);return g.setAttribute("accent","true"),g}}),Vn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var h=l.parser,g=d[0];return{type:"phantom",mode:h.mode,body:jr(g)}},htmlBuilder:function(l,d){var h=oi(l.body,d.withPhantom(),!1);return at.makeFragment(h)},mathmlBuilder:function(l,d){var h=xr(l.body,d);return new Ln.MathNode("mphantom",h)}}),Vn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var h=l.parser,g=d[0];return{type:"hphantom",mode:h.mode,body:g}},htmlBuilder:function(l,d){var h=at.makeSpan([],[Kr(l.body,d.withPhantom())]);if(h.height=0,h.depth=0,h.children)for(var g=0;g<h.children.length;g++)h.children[g].height=0,h.children[g].depth=0;return h=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:h}]},d),at.makeSpan(["mord"],[h],d)},mathmlBuilder:function(l,d){var h=xr(jr(l.body),d),g=new Ln.MathNode("mphantom",h),N=new Ln.MathNode("mpadded",[g]);return N.setAttribute("height","0px"),N.setAttribute("depth","0px"),N}}),Vn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var h=l.parser,g=d[0];return{type:"vphantom",mode:h.mode,body:g}},htmlBuilder:function(l,d){var h=at.makeSpan(["inner"],[Kr(l.body,d.withPhantom())]),g=at.makeSpan(["fix"],[]);return at.makeSpan(["mord","rlap"],[h,g],d)},mathmlBuilder:function(l,d){var h=xr(jr(l.body),d),g=new Ln.MathNode("mphantom",h),N=new Ln.MathNode("mpadded",[g]);return N.setAttribute("width","0px"),N}}),Vn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(l,d){var h=l.parser,g=Kn(d[0],"size").value,N=d[1];return{type:"raisebox",mode:h.mode,dy:g,body:N}},htmlBuilder:function(l,d){var h=Kr(l.body,d),g=gt(l.dy,d);return at.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:h}]},d)},mathmlBuilder:function(l,d){var h=new Ln.MathNode("mpadded",[Zn(l.body,d)]),g=l.dy.number+l.dy.unit;return h.setAttribute("voffset",g),h}}),Vn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(l,d,h){var g=l.parser,N=h[0],le=Kn(d[0],"size"),Ne=Kn(d[1],"size");return{type:"rule",mode:g.mode,shift:N&&Kn(N,"size").value,width:le.value,height:Ne.value}},htmlBuilder:function(l,d){var h=at.makeSpan(["mord","rule"],[],d),g=gt(l.width,d),N=gt(l.height,d),le=l.shift?gt(l.shift,d):0;return h.style.borderRightWidth=g+"em",h.style.borderTopWidth=N+"em",h.style.bottom=le+"em",h.width=g,h.height=N+le,h.depth=-le,h.maxFontSize=N*1.125*d.sizeMultiplier,h},mathmlBuilder:function(l,d){var h=gt(l.width,d),g=gt(l.height,d),N=l.shift?gt(l.shift,d):0,le=d.color&&d.getColor()||"black",Ne=new Ln.MathNode("mspace");Ne.setAttribute("mathbackground",le),Ne.setAttribute("width",h+"em"),Ne.setAttribute("height",g+"em");var Be=new Ln.MathNode("mpadded",[Ne]);return N>=0?Be.setAttribute("height","+"+N+"em"):(Be.setAttribute("height",N+"em"),Be.setAttribute("depth","+"+-N+"em")),Be.setAttribute("voffset",N+"em"),Be}});function js(re,l,d){for(var h=oi(re,l,!1),g=l.sizeMultiplier/d.sizeMultiplier,N=0;N<h.length;N++){var le=h[N].classes.indexOf("sizing");le<0?Array.prototype.push.apply(h[N].classes,l.sizingClasses(d)):h[N].classes[le+1]==="reset-size"+l.size&&(h[N].classes[le+1]="reset-size"+d.size),h[N].height*=g,h[N].depth*=g}return at.makeFragment(h)}var Ps=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],So=function(l,d){var h=d.havingSize(l.size);return js(l.body,h,d)};Vn({type:"sizing",names:Ps,props:{numArgs:0,allowedInText:!0},handler:function(l,d){var h=l.breakOnTokenText,g=l.funcName,N=l.parser,le=N.parseExpression(!1,h);return{type:"sizing",mode:N.mode,size:Ps.indexOf(g)+1,body:le}},htmlBuilder:So,mathmlBuilder:function(l,d){var h=d.havingSize(l.size),g=xr(l.body,h),N=new Ln.MathNode("mstyle",g);return N.setAttribute("mathsize",h.sizeMultiplier+"em"),N}}),Vn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(l,d,h){var g=l.parser,N=!1,le=!1,Ne=h[0]&&Kn(h[0],"ordgroup");if(Ne)for(var Be="",qe=0;qe<Ne.body.length;++qe){var vt=Ne.body[qe];if(Be=vt.text,Be==="t")N=!0;else if(Be==="b")le=!0;else{N=!1,le=!1;break}}else N=!0,le=!0;var Tt=d[0];return{type:"smash",mode:g.mode,body:Tt,smashHeight:N,smashDepth:le}},htmlBuilder:function(l,d){var h=at.makeSpan([],[Kr(l.body,d)]);if(!l.smashHeight&&!l.smashDepth)return h;if(l.smashHeight&&(h.height=0,h.children))for(var g=0;g<h.children.length;g++)h.children[g].height=0;if(l.smashDepth&&(h.depth=0,h.children))for(var N=0;N<h.children.length;N++)h.children[N].depth=0;var le=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:h}]},d);return at.makeSpan(["mord"],[le],d)},mathmlBuilder:function(l,d){var h=new Ln.MathNode("mpadded",[Zn(l.body,d)]);return l.smashHeight&&h.setAttribute("height","0px"),l.smashDepth&&h.setAttribute("depth","0px"),h}}),Vn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(l,d,h){var g=l.parser,N=h[0],le=d[0];return{type:"sqrt",mode:g.mode,body:le,index:N}},htmlBuilder:function(l,d){var h=Kr(l.body,d.havingCrampedStyle());h.height===0&&(h.height=d.fontMetrics().xHeight),h=at.wrapFragment(h,d);var g=d.fontMetrics(),N=g.defaultRuleThickness,le=N;d.style.id<v.TEXT.id&&(le=d.fontMetrics().xHeight);var Ne=N+le/4,Be=h.height+h.depth+Ne+N,qe=Ca.sqrtImage(Be,d),vt=qe.span,Tt=qe.ruleWidth,Jt=qe.advanceWidth,Sn=vt.height-Tt;Sn>h.height+h.depth+Ne&&(Ne=(Ne+Sn-h.height-h.depth)/2);var Xt=vt.height-h.height-Ne-Tt;h.style.paddingLeft=Jt+"em";var on=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:h,wrapperClasses:["svg-align"]},{type:"kern",size:-(h.height+Xt)},{type:"elem",elem:vt},{type:"kern",size:Tt}]},d);if(l.index){var gn=d.havingStyle(v.SCRIPTSCRIPT),An=Kr(l.index,gn,d),rr=.6*(on.height-on.depth),In=at.makeVList({positionType:"shift",positionData:-rr,children:[{type:"elem",elem:An}]},d),or=at.makeSpan(["root"],[In]);return at.makeSpan(["mord","sqrt"],[or,on],d)}else return at.makeSpan(["mord","sqrt"],[on],d)},mathmlBuilder:function(l,d){var h=l.body,g=l.index;return g?new Ln.MathNode("mroot",[Zn(h,d),Zn(g,d)]):new Ln.MathNode("msqrt",[Zn(h,d)])}});var xo={display:v.DISPLAY,text:v.TEXT,script:v.SCRIPT,scriptscript:v.SCRIPTSCRIPT};Vn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(l,d){var h=l.breakOnTokenText,g=l.funcName,N=l.parser,le=N.parseExpression(!0,h),Ne=g.slice(1,g.length-5);return{type:"styling",mode:N.mode,style:Ne,body:le}},htmlBuilder:function(l,d){var h=xo[l.style],g=d.havingStyle(h).withFont("");return js(l.body,g,d)},mathmlBuilder:function(l,d){var h=xo[l.style],g=d.havingStyle(h),N=xr(l.body,g),le=new Ln.MathNode("mstyle",N),Ne={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Be=Ne[l.style];return le.setAttribute("scriptlevel",Be[0]),le.setAttribute("displaystyle",Be[1]),le}});var Ao=function(l,d){var h=l.base;if(h)if(h.type==="op"){var g=h.limits&&(d.style.size===v.DISPLAY.size||h.alwaysHandleSupSub);return g?qa:null}else if(h.type==="operatorname"){var N=h.alwaysHandleSupSub&&(d.style.size===v.DISPLAY.size||h.limits);return N?Hs:null}else{if(h.type==="accent")return B.isCharacterBox(h.base)?Yr:null;if(h.type==="horizBrace"){var le=!l.sub;return le===h.isOver?qs:null}else return null}else return null};Zr({type:"supsub",htmlBuilder:function(l,d){var h=Ao(l,d);if(h)return h(l,d);var g=l.base,N=l.sup,le=l.sub,Ne=Kr(g,d),Be,qe,vt=d.fontMetrics(),Tt=0,Jt=0,Sn=g&&B.isCharacterBox(g);if(N){var Xt=d.havingStyle(d.style.sup());Be=Kr(N,Xt,d),Sn||(Tt=Ne.height-Xt.fontMetrics().supDrop*Xt.sizeMultiplier/d.sizeMultiplier)}if(le){var on=d.havingStyle(d.style.sub());qe=Kr(le,on,d),Sn||(Jt=Ne.depth+on.fontMetrics().subDrop*on.sizeMultiplier/d.sizeMultiplier)}var gn;d.style===v.DISPLAY?gn=vt.sup1:d.style.cramped?gn=vt.sup3:gn=vt.sup2;var An=d.sizeMultiplier,rr=.5/vt.ptPerEm/An+"em",In=null;if(qe){var or=l.base&&l.base.type==="op"&&l.base.name&&(l.base.name==="\\oiint"||l.base.name==="\\oiiint");(Ne instanceof E||or)&&(In=-Ne.italic+"em")}var _r;if(Be&&qe){Tt=Math.max(Tt,gn,Be.depth+.25*vt.xHeight),Jt=Math.max(Jt,vt.sub2);var wr=vt.defaultRuleThickness,ri=4*wr;if(Tt-Be.depth-(qe.height-Jt)<ri){Jt=ri-(Tt-Be.depth)+qe.height;var ii=.8*vt.xHeight-(Tt-Be.depth);ii>0&&(Tt+=ii,Jt-=ii)}var Wi=[{type:"elem",elem:qe,shift:Jt,marginRight:rr,marginLeft:In},{type:"elem",elem:Be,shift:-Tt,marginRight:rr}];_r=at.makeVList({positionType:"individualShift",children:Wi},d)}else if(qe){Jt=Math.max(Jt,vt.sub1,qe.height-.8*vt.xHeight);var ui=[{type:"elem",elem:qe,marginLeft:In,marginRight:rr}];_r=at.makeVList({positionType:"shift",positionData:Jt,children:ui},d)}else if(Be)Tt=Math.max(Tt,gn,Be.depth+.25*vt.xHeight),_r=at.makeVList({positionType:"shift",positionData:-Tt,children:[{type:"elem",elem:Be,marginRight:rr}]},d);else throw new Error("supsub must have either sup or sub.");var ai=Ci(Ne,"right")||"mord";return at.makeSpan([ai],[Ne,at.makeSpan(["msupsub"],[_r])],d)},mathmlBuilder:function(l,d){var h=!1,g,N,le=lr(l.base,"horizBrace");le&&(N=!!l.sup,N===le.isOver&&(h=!0,g=le.isOver)),l.base&&(l.base.type==="op"||l.base.type==="operatorname")&&(l.base.parentIsSupSub=!0);var Ne=[Zn(l.base,d)];l.sub&&Ne.push(Zn(l.sub,d)),l.sup&&Ne.push(Zn(l.sup,d));var Be;if(h)Be=g?"mover":"munder";else if(l.sub)if(l.sup){var Tt=l.base;Tt&&Tt.type==="op"&&Tt.limits&&d.style===v.DISPLAY||Tt&&Tt.type==="operatorname"&&Tt.alwaysHandleSupSub&&(d.style===v.DISPLAY||Tt.limits)?Be="munderover":Be="msubsup"}else{var vt=l.base;vt&&vt.type==="op"&&vt.limits&&(d.style===v.DISPLAY||vt.alwaysHandleSupSub)||vt&&vt.type==="operatorname"&&vt.alwaysHandleSupSub&&(vt.limits||d.style===v.DISPLAY)?Be="munder":Be="msub"}else{var qe=l.base;qe&&qe.type==="op"&&qe.limits&&(d.style===v.DISPLAY||qe.alwaysHandleSupSub)||qe&&qe.type==="operatorname"&&qe.alwaysHandleSupSub&&(qe.limits||d.style===v.DISPLAY)?Be="mover":Be="msup"}var Jt=new Ln.MathNode(Be,Ne);return Jt}}),Zr({type:"atom",htmlBuilder:function(l,d){return at.mathsym(l.text,l.mode,d,["m"+l.family])},mathmlBuilder:function(l,d){var h=new Ln.MathNode("mo",[Li(l.text,l.mode)]);if(l.family==="bin"){var g=ur(l,d);g==="bold-italic"&&h.setAttribute("mathvariant",g)}else l.family==="punct"?h.setAttribute("separator","true"):(l.family==="open"||l.family==="close")&&h.setAttribute("stretchy","false");return h}});var Eo={mi:"italic",mn:"normal",mtext:"normal"};Zr({type:"mathord",htmlBuilder:function(l,d){return at.makeOrd(l,d,"mathord")},mathmlBuilder:function(l,d){var h=new Ln.MathNode("mi",[Li(l.text,l.mode,d)]),g=ur(l,d)||"italic";return g!==Eo[h.type]&&h.setAttribute("mathvariant",g),h}}),Zr({type:"textord",htmlBuilder:function(l,d){return at.makeOrd(l,d,"textord")},mathmlBuilder:function(l,d){var h=Li(l.text,l.mode,d),g=ur(l,d)||"normal",N;return l.mode==="text"?N=new Ln.MathNode("mtext",[h]):/[0-9]/.test(l.text)?N=new Ln.MathNode("mn",[h]):l.text==="\\prime"?N=new Ln.MathNode("mo",[h]):N=new Ln.MathNode("mi",[h]),g!==Eo[N.type]&&N.setAttribute("mathvariant",g),N}});var Ds={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Ws={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Zr({type:"spacing",htmlBuilder:function(l,d){if(Ws.hasOwnProperty(l.text)){var h=Ws[l.text].className||"";if(l.mode==="text"){var g=at.makeOrd(l,d,"textord");return g.classes.push(h),g}else return at.makeSpan(["mspace",h],[at.mathsym(l.text,l.mode,d)],d)}else{if(Ds.hasOwnProperty(l.text))return at.makeSpan(["mspace",Ds[l.text]],[],d);throw new q('Unknown type of space "'+l.text+'"')}},mathmlBuilder:function(l,d){var h;if(Ws.hasOwnProperty(l.text))h=new Ln.MathNode("mtext",[new Ln.TextNode("\xA0")]);else{if(Ds.hasOwnProperty(l.text))return new Ln.MathNode("mspace");throw new q('Unknown type of space "'+l.text+'"')}return h}});var Us=function(){var l=new Ln.MathNode("mtd",[]);return l.setAttribute("width","50%"),l};Zr({type:"tag",mathmlBuilder:function(l,d){var h=new Ln.MathNode("mtable",[new Ln.MathNode("mtr",[Us(),new Ln.MathNode("mtd",[cr(l.body,d)]),Us(),new Ln.MathNode("mtd",[cr(l.tag,d)])])]);return h.setAttribute("width","100%"),h}});var Vs={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},eo={"\\textbf":"textbf","\\textmd":"textmd"},to={"\\textit":"textit","\\textup":"textup"},no=function(l,d){var h=l.font;return h?Vs[h]?d.withTextFontFamily(Vs[h]):eo[h]?d.withTextFontWeight(eo[h]):d.withTextFontShape(to[h]):d};Vn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(l,d){var h=l.parser,g=l.funcName,N=d[0];return{type:"text",mode:h.mode,body:jr(N),font:g}},htmlBuilder:function(l,d){var h=no(l,d),g=oi(l.body,h,!0);return at.makeSpan(["mord","text"],at.tryCombineChars(g),h)},mathmlBuilder:function(l,d){var h=no(l,d);return cr(l.body,h)}}),Vn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var h=l.parser;return{type:"underline",mode:h.mode,body:d[0]}},htmlBuilder:function(l,d){var h=Kr(l.body,d),g=at.makeLineSpan("underline-line",d),N=d.fontMetrics().defaultRuleThickness,le=at.makeVList({positionType:"top",positionData:h.height,children:[{type:"kern",size:N},{type:"elem",elem:g},{type:"kern",size:3*N},{type:"elem",elem:h}]},d);return at.makeSpan(["mord","underline"],[le],d)},mathmlBuilder:function(l,d){var h=new Ln.MathNode("mo",[new Ln.TextNode("\u203E")]);h.setAttribute("stretchy","true");var g=new Ln.MathNode("munder",[Zn(l.body,d),h]);return g.setAttribute("accentunder","true"),g}}),Vn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(l,d,h){throw new q("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(l,d){for(var h=ro(l),g=[],N=d.havingStyle(d.style.text()),le=0;le<h.length;le++){var Ne=h[le];Ne==="~"&&(Ne="\\textasciitilde"),g.push(at.makeSymbol(Ne,"Typewriter-Regular",l.mode,N,["mord","texttt"]))}return at.makeSpan(["mord","text"].concat(N.sizingClasses(d)),at.tryCombineChars(g),N)},mathmlBuilder:function(l,d){var h=new Ln.TextNode(ro(l)),g=new Ln.MathNode("mtext",[h]);return g.setAttribute("mathvariant","monospace"),g}});var ro=function(l){return l.body.replace(/ /g,l.star?"\u2423":"\xA0")},_o=Nr,La=_o,Gs=`[ \r
]`,Zs="\\\\[a-zA-Z@]+",oe="\\\\[^\uD800-\uDFFF]",ye=""+Zs+Gs+"*",je=new RegExp("^("+Zs+")"+Gs+"*$"),Qe="[\u0300-\u036F]",nt=new RegExp(Qe+"+$"),st="("+Gs+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Qe+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Qe+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+ye)+("|"+oe+")"),wt=function(){function re(d,h){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=d,this.settings=h,this.tokenRegex=new RegExp(st,"g"),this.catcodes={"%":14}}var l=re.prototype;return l.setCatcode=function(h,g){this.catcodes[h]=g},l.lex=function(){var h=this.input,g=this.tokenRegex.lastIndex;if(g===h.length)return new Ee("EOF",new ee(this,g,g));var N=this.tokenRegex.exec(h);if(N===null||N.index!==g)throw new q("Unexpected character: '"+h[g]+"'",new Ee(h[g],new ee(this,g,g+1)));var le=N[2]||" ";if(this.catcodes[le]===14){var Ne=h.indexOf(`
`,this.tokenRegex.lastIndex);return Ne===-1?(this.tokenRegex.lastIndex=h.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=Ne+1,this.lex()}var Be=le.match(je);return Be&&(le=Be[1]),new Ee(le,new ee(this,g,this.tokenRegex.lastIndex))},re}(),Ct=function(){function re(d,h){d===void 0&&(d={}),h===void 0&&(h={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=h,this.builtins=d,this.undefStack=[]}var l=re.prototype;return l.beginGroup=function(){this.undefStack.push({})},l.endGroup=function(){if(this.undefStack.length===0)throw new q("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var h=this.undefStack.pop();for(var g in h)h.hasOwnProperty(g)&&(h[g]===void 0?delete this.current[g]:this.current[g]=h[g])},l.has=function(h){return this.current.hasOwnProperty(h)||this.builtins.hasOwnProperty(h)},l.get=function(h){return this.current.hasOwnProperty(h)?this.current[h]:this.builtins[h]},l.set=function(h,g,N){if(N===void 0&&(N=!1),N){for(var le=0;le<this.undefStack.length;le++)delete this.undefStack[le][h];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][h]=g)}else{var Ne=this.undefStack[this.undefStack.length-1];Ne&&!Ne.hasOwnProperty(h)&&(Ne[h]=this.current[h])}this.current[h]=g},re}(),Et={},Bt=Et;function _e(re,l){Et[re]=l}_e("\\@firstoftwo",function(re){var l=re.consumeArgs(2);return{tokens:l[0],numArgs:0}}),_e("\\@secondoftwo",function(re){var l=re.consumeArgs(2);return{tokens:l[1],numArgs:0}}),_e("\\@ifnextchar",function(re){var l=re.consumeArgs(3),d=re.future();return l[0].length===1&&l[0][0].text===d.text?{tokens:l[1],numArgs:0}:{tokens:l[2],numArgs:0}}),_e("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),_e("\\TextOrMath",function(re){var l=re.consumeArgs(2);return re.mode==="text"?{tokens:l[0],numArgs:0}:{tokens:l[1],numArgs:0}});var Kt={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};_e("\\char",function(re){var l=re.popToken(),d,h="";if(l.text==="'")d=8,l=re.popToken();else if(l.text==='"')d=16,l=re.popToken();else if(l.text==="`")if(l=re.popToken(),l.text[0]==="\\")h=l.text.charCodeAt(1);else{if(l.text==="EOF")throw new q("\\char` missing argument");h=l.text.charCodeAt(0)}else d=10;if(d){if(h=Kt[l.text],h==null||h>=d)throw new q("Invalid base-"+d+" digit "+l.text);for(var g;(g=Kt[re.future().text])!=null&&g<d;)h*=d,h+=g,re.popToken()}return"\\@char{"+h+"}"});var mn=function(l,d){var h=l.consumeArgs(1)[0];if(h.length!==1)throw new q("\\gdef's first argument must be a macro name");var g=h[0].text,N=0;for(h=l.consumeArgs(1)[0];h.length===1&&h[0].text==="#";){if(h=l.consumeArgs(1)[0],h.length!==1)throw new q('Invalid argument number length "'+h.length+'"');if(!/^[1-9]$/.test(h[0].text))throw new q('Invalid argument number "'+h[0].text+'"');if(N++,parseInt(h[0].text)!==N)throw new q('Argument number "'+h[0].text+'" out of order');h=l.consumeArgs(1)[0]}return l.macros.set(g,{tokens:h,numArgs:N},d),""};_e("\\gdef",function(re){return mn(re,!0)}),_e("\\def",function(re){return mn(re,!1)}),_e("\\global",function(re){var l=re.consumeArgs(1)[0];if(l.length!==1)throw new q("Invalid command after \\global");var d=l[0].text;if(d==="\\def")return mn(re,!0);throw new q("Invalid command '"+d+"' after \\global")});var fn=function(l,d,h){var g=l.consumeArgs(1)[0];if(g.length!==1)throw new q("\\newcommand's first argument must be a macro name");var N=g[0].text,le=l.isDefined(N);if(le&&!d)throw new q("\\newcommand{"+N+"} attempting to redefine "+(N+"; use \\renewcommand"));if(!le&&!h)throw new q("\\renewcommand{"+N+"} when command "+N+" does not yet exist; use \\newcommand");var Ne=0;if(g=l.consumeArgs(1)[0],g.length===1&&g[0].text==="["){for(var Be="",qe=l.expandNextToken();qe.text!=="]"&&qe.text!=="EOF";)Be+=qe.text,qe=l.expandNextToken();if(!Be.match(/^\s*[0-9]+\s*$/))throw new q("Invalid number of arguments: "+Be);Ne=parseInt(Be),g=l.consumeArgs(1)[0]}return l.macros.set(N,{tokens:g,numArgs:Ne}),""};_e("\\newcommand",function(re){return fn(re,!1,!0)}),_e("\\renewcommand",function(re){return fn(re,!0,!1)}),_e("\\providecommand",function(re){return fn(re,!0,!0)}),_e("\\bgroup","{"),_e("\\egroup","}"),_e("\\lq","`"),_e("\\rq","'"),_e("\\aa","\\r a"),_e("\\AA","\\r A"),_e("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),_e("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),_e("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),_e("\u212C","\\mathscr{B}"),_e("\u2130","\\mathscr{E}"),_e("\u2131","\\mathscr{F}"),_e("\u210B","\\mathscr{H}"),_e("\u2110","\\mathscr{I}"),_e("\u2112","\\mathscr{L}"),_e("\u2133","\\mathscr{M}"),_e("\u211B","\\mathscr{R}"),_e("\u212D","\\mathfrak{C}"),_e("\u210C","\\mathfrak{H}"),_e("\u2128","\\mathfrak{Z}"),_e("\\Bbbk","\\Bbb{k}"),_e("\xB7","\\cdotp"),_e("\\llap","\\mathllap{\\textrm{#1}}"),_e("\\rlap","\\mathrlap{\\textrm{#1}}"),_e("\\clap","\\mathclap{\\textrm{#1}}"),_e("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),_e("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),_e("\\ne","\\neq"),_e("\u2260","\\neq"),_e("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),_e("\u2209","\\notin"),_e("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),_e("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),_e("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),_e("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),_e("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),_e("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),_e("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),_e("\u27C2","\\perp"),_e("\u203C","\\mathclose{!\\mkern-0.8mu!}"),_e("\u220C","\\notni"),_e("\u231C","\\ulcorner"),_e("\u231D","\\urcorner"),_e("\u231E","\\llcorner"),_e("\u231F","\\lrcorner"),_e("\xA9","\\copyright"),_e("\xAE","\\textregistered"),_e("\uFE0F","\\textregistered"),_e("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),_e("\u22EE","\\vdots"),_e("\\varGamma","\\mathit{\\Gamma}"),_e("\\varDelta","\\mathit{\\Delta}"),_e("\\varTheta","\\mathit{\\Theta}"),_e("\\varLambda","\\mathit{\\Lambda}"),_e("\\varXi","\\mathit{\\Xi}"),_e("\\varPi","\\mathit{\\Pi}"),_e("\\varSigma","\\mathit{\\Sigma}"),_e("\\varUpsilon","\\mathit{\\Upsilon}"),_e("\\varPhi","\\mathit{\\Phi}"),_e("\\varPsi","\\mathit{\\Psi}"),_e("\\varOmega","\\mathit{\\Omega}"),_e("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),_e("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),_e("\\boxed","\\fbox{$\\displaystyle{#1}$}"),_e("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),_e("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),_e("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var cn={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};_e("\\dots",function(re){var l="\\dotso",d=re.expandAfterFuture().text;return d in cn?l=cn[d]:(d.substr(0,4)==="\\not"||d in _t.math&&B.contains(["bin","rel"],_t.math[d].group))&&(l="\\dotsb"),l});var ft={")":!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};_e("\\dotso",function(re){var l=re.future().text;return l in ft?"\\ldots\\,":"\\ldots"}),_e("\\dotsc",function(re){var l=re.future().text;return l in ft&&l!==","?"\\ldots\\,":"\\ldots"}),_e("\\cdots",function(re){var l=re.future().text;return l in ft?"\\@cdots\\,":"\\@cdots"}),_e("\\dotsb","\\cdots"),_e("\\dotsm","\\cdots"),_e("\\dotsi","\\!\\cdots"),_e("\\dotsx","\\ldots\\,"),_e("\\DOTSI","\\relax"),_e("\\DOTSB","\\relax"),_e("\\DOTSX","\\relax"),_e("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),_e("\\,","\\tmspace+{3mu}{.1667em}"),_e("\\thinspace","\\,"),_e("\\>","\\mskip{4mu}"),_e("\\:","\\tmspace+{4mu}{.2222em}"),_e("\\medspace","\\:"),_e("\\;","\\tmspace+{5mu}{.2777em}"),_e("\\thickspace","\\;"),_e("\\!","\\tmspace-{3mu}{.1667em}"),_e("\\negthinspace","\\!"),_e("\\negmedspace","\\tmspace-{4mu}{.2222em}"),_e("\\negthickspace","\\tmspace-{5mu}{.277em}"),_e("\\enspace","\\kern.5em "),_e("\\enskip","\\hskip.5em\\relax"),_e("\\quad","\\hskip1em\\relax"),_e("\\qquad","\\hskip2em\\relax"),_e("\\tag","\\@ifstar\\tag@literal\\tag@paren"),_e("\\tag@paren","\\tag@literal{({#1})}"),_e("\\tag@literal",function(re){if(re.macros.get("\\df@tag"))throw new q("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),_e("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),_e("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),_e("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),_e("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),_e("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),_e("\\\\","\\newline"),_e("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var On=Ke["Main-Regular"][84][1]-.7*Ke["Main-Regular"][65][1]+"em";_e("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+On+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),_e("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+On+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),_e("\\hspace","\\@ifstar\\@hspacer\\@hspace"),_e("\\@hspace","\\hskip #1\\relax"),_e("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),_e("\\ordinarycolon",":"),_e("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),_e("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),_e("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),_e("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),_e("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),_e("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),_e("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),_e("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),_e("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),_e("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),_e("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),_e("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),_e("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),_e("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),_e("\u2237","\\dblcolon"),_e("\u2239","\\eqcolon"),_e("\u2254","\\coloneqq"),_e("\u2255","\\eqqcolon"),_e("\u2A74","\\Coloneqq"),_e("\\ratio","\\vcentcolon"),_e("\\coloncolon","\\dblcolon"),_e("\\colonequals","\\coloneqq"),_e("\\coloncolonequals","\\Coloneqq"),_e("\\equalscolon","\\eqqcolon"),_e("\\equalscoloncolon","\\Eqqcolon"),_e("\\colonminus","\\coloneq"),_e("\\coloncolonminus","\\Coloneq"),_e("\\minuscolon","\\eqcolon"),_e("\\minuscoloncolon","\\Eqcolon"),_e("\\coloncolonapprox","\\Colonapprox"),_e("\\coloncolonsim","\\Colonsim"),_e("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),_e("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),_e("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),_e("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),_e("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),_e("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),_e("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),_e("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),_e("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),_e("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),_e("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),_e("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),_e("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),_e("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),_e("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),_e("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),_e("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),_e("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),_e("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),_e("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),_e("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),_e("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),_e("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),_e("\u27E6","\\llbracket"),_e("\u27E7","\\rrbracket"),_e("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),_e("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),_e("\u2983","\\lBrace"),_e("\u2984","\\rBrace"),_e("\\darr","\\downarrow"),_e("\\dArr","\\Downarrow"),_e("\\Darr","\\Downarrow"),_e("\\lang","\\langle"),_e("\\rang","\\rangle"),_e("\\uarr","\\uparrow"),_e("\\uArr","\\Uparrow"),_e("\\Uarr","\\Uparrow"),_e("\\N","\\mathbb{N}"),_e("\\R","\\mathbb{R}"),_e("\\Z","\\mathbb{Z}"),_e("\\alef","\\aleph"),_e("\\alefsym","\\aleph"),_e("\\Alpha","\\mathrm{A}"),_e("\\Beta","\\mathrm{B}"),_e("\\bull","\\bullet"),_e("\\Chi","\\mathrm{X}"),_e("\\clubs","\\clubsuit"),_e("\\cnums","\\mathbb{C}"),_e("\\Complex","\\mathbb{C}"),_e("\\Dagger","\\ddagger"),_e("\\diamonds","\\diamondsuit"),_e("\\empty","\\emptyset"),_e("\\Epsilon","\\mathrm{E}"),_e("\\Eta","\\mathrm{H}"),_e("\\exist","\\exists"),_e("\\harr","\\leftrightarrow"),_e("\\hArr","\\Leftrightarrow"),_e("\\Harr","\\Leftrightarrow"),_e("\\hearts","\\heartsuit"),_e("\\image","\\Im"),_e("\\infin","\\infty"),_e("\\Iota","\\mathrm{I}"),_e("\\isin","\\in"),_e("\\Kappa","\\mathrm{K}"),_e("\\larr","\\leftarrow"),_e("\\lArr","\\Leftarrow"),_e("\\Larr","\\Leftarrow"),_e("\\lrarr","\\leftrightarrow"),_e("\\lrArr","\\Leftrightarrow"),_e("\\Lrarr","\\Leftrightarrow"),_e("\\Mu","\\mathrm{M}"),_e("\\natnums","\\mathbb{N}"),_e("\\Nu","\\mathrm{N}"),_e("\\Omicron","\\mathrm{O}"),_e("\\plusmn","\\pm"),_e("\\rarr","\\rightarrow"),_e("\\rArr","\\Rightarrow"),_e("\\Rarr","\\Rightarrow"),_e("\\real","\\Re"),_e("\\reals","\\mathbb{R}"),_e("\\Reals","\\mathbb{R}"),_e("\\Rho","\\mathrm{P}"),_e("\\sdot","\\cdot"),_e("\\sect","\\S"),_e("\\spades","\\spadesuit"),_e("\\sub","\\subset"),_e("\\sube","\\subseteq"),_e("\\supe","\\supseteq"),_e("\\Tau","\\mathrm{T}"),_e("\\thetasym","\\vartheta"),_e("\\weierp","\\wp"),_e("\\Zeta","\\mathrm{Z}"),_e("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),_e("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),_e("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),_e("\\blue","\\textcolor{##6495ed}{#1}"),_e("\\orange","\\textcolor{##ffa500}{#1}"),_e("\\pink","\\textcolor{##ff00af}{#1}"),_e("\\red","\\textcolor{##df0030}{#1}"),_e("\\green","\\textcolor{##28ae7b}{#1}"),_e("\\gray","\\textcolor{gray}{#1}"),_e("\\purple","\\textcolor{##9d38bd}{#1}"),_e("\\blueA","\\textcolor{##ccfaff}{#1}"),_e("\\blueB","\\textcolor{##80f6ff}{#1}"),_e("\\blueC","\\textcolor{##63d9ea}{#1}"),_e("\\blueD","\\textcolor{##11accd}{#1}"),_e("\\blueE","\\textcolor{##0c7f99}{#1}"),_e("\\tealA","\\textcolor{##94fff5}{#1}"),_e("\\tealB","\\textcolor{##26edd5}{#1}"),_e("\\tealC","\\textcolor{##01d1c1}{#1}"),_e("\\tealD","\\textcolor{##01a995}{#1}"),_e("\\tealE","\\textcolor{##208170}{#1}"),_e("\\greenA","\\textcolor{##b6ffb0}{#1}"),_e("\\greenB","\\textcolor{##8af281}{#1}"),_e("\\greenC","\\textcolor{##74cf70}{#1}"),_e("\\greenD","\\textcolor{##1fab54}{#1}"),_e("\\greenE","\\textcolor{##0d923f}{#1}"),_e("\\goldA","\\textcolor{##ffd0a9}{#1}"),_e("\\goldB","\\textcolor{##ffbb71}{#1}"),_e("\\goldC","\\textcolor{##ff9c39}{#1}"),_e("\\goldD","\\textcolor{##e07d10}{#1}"),_e("\\goldE","\\textcolor{##a75a05}{#1}"),_e("\\redA","\\textcolor{##fca9a9}{#1}"),_e("\\redB","\\textcolor{##ff8482}{#1}"),_e("\\redC","\\textcolor{##f9685d}{#1}"),_e("\\redD","\\textcolor{##e84d39}{#1}"),_e("\\redE","\\textcolor{##bc2612}{#1}"),_e("\\maroonA","\\textcolor{##ffbde0}{#1}"),_e("\\maroonB","\\textcolor{##ff92c6}{#1}"),_e("\\maroonC","\\textcolor{##ed5fa6}{#1}"),_e("\\maroonD","\\textcolor{##ca337c}{#1}"),_e("\\maroonE","\\textcolor{##9e034e}{#1}"),_e("\\purpleA","\\textcolor{##ddd7ff}{#1}"),_e("\\purpleB","\\textcolor{##c6b9fc}{#1}"),_e("\\purpleC","\\textcolor{##aa87ff}{#1}"),_e("\\purpleD","\\textcolor{##7854ab}{#1}"),_e("\\purpleE","\\textcolor{##543b78}{#1}"),_e("\\mintA","\\textcolor{##f5f9e8}{#1}"),_e("\\mintB","\\textcolor{##edf2df}{#1}"),_e("\\mintC","\\textcolor{##e0e5cc}{#1}"),_e("\\grayA","\\textcolor{##f6f7f7}{#1}"),_e("\\grayB","\\textcolor{##f0f1f2}{#1}"),_e("\\grayC","\\textcolor{##e3e5e6}{#1}"),_e("\\grayD","\\textcolor{##d6d8da}{#1}"),_e("\\grayE","\\textcolor{##babec2}{#1}"),_e("\\grayF","\\textcolor{##888d93}{#1}"),_e("\\grayG","\\textcolor{##626569}{#1}"),_e("\\grayH","\\textcolor{##3b3e40}{#1}"),_e("\\grayI","\\textcolor{##21242c}{#1}"),_e("\\kaBlue","\\textcolor{##314453}{#1}"),_e("\\kaGreen","\\textcolor{##71B307}{#1}");var zn={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Pn=function(){function re(d,h,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=h,this.expansionCount=0,this.feed(d),this.macros=new Ct(Bt,h.macros),this.mode=g,this.stack=[]}var l=re.prototype;return l.feed=function(h){this.lexer=new wt(h,this.settings)},l.switchMode=function(h){this.mode=h},l.beginGroup=function(){this.macros.beginGroup()},l.endGroup=function(){this.macros.endGroup()},l.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},l.popToken=function(){return this.future(),this.stack.pop()},l.pushToken=function(h){this.stack.push(h)},l.pushTokens=function(h){var g;(g=this.stack).push.apply(g,h)},l.consumeSpaces=function(){for(;;){var h=this.future();if(h.text===" ")this.stack.pop();else break}},l.consumeArgs=function(h){for(var g=[],N=0;N<h;++N){this.consumeSpaces();var le=this.popToken();if(le.text==="{"){for(var Ne=[],Be=1;Be!==0;){var qe=this.popToken();if(Ne.push(qe),qe.text==="{")++Be;else if(qe.text==="}")--Be;else if(qe.text==="EOF")throw new q("End of input in macro argument",le)}Ne.pop(),Ne.reverse(),g[N]=Ne}else{if(le.text==="EOF")throw new q("End of input expecting macro argument");g[N]=[le]}}return g},l.expandOnce=function(){var h=this.popToken(),g=h.text,N=this._getExpansion(g);if(N==null)return this.pushToken(h),h;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new q("Too many expansions: infinite loop or need to increase maxExpand setting");var le=N.tokens;if(N.numArgs){var Ne=this.consumeArgs(N.numArgs);le=le.slice();for(var Be=le.length-1;Be>=0;--Be){var qe=le[Be];if(qe.text==="#"){if(Be===0)throw new q("Incomplete placeholder at end of macro body",qe);if(qe=le[--Be],qe.text==="#")le.splice(Be+1,1);else if(/^[1-9]$/.test(qe.text)){var vt;(vt=le).splice.apply(vt,[Be,2].concat(Ne[+qe.text-1]))}else throw new q("Not a valid argument number",qe)}}}return this.pushTokens(le),le},l.expandAfterFuture=function(){return this.expandOnce(),this.future()},l.expandNextToken=function(){for(;;){var h=this.expandOnce();if(h instanceof Ee)if(h.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},l.expandMacro=function(h){if(this.macros.get(h)){var g=[],N=this.stack.length;for(this.pushToken(new Ee(h));this.stack.length>N;){var le=this.expandOnce();le instanceof Ee&&g.push(this.stack.pop())}return g}},l.expandMacroAsText=function(h){var g=this.expandMacro(h);return g&&g.map(function(N){return N.text}).join("")},l._getExpansion=function(h){var g=this.macros.get(h);if(g==null)return g;var N=typeof g=="function"?g(this):g;if(typeof N=="string"){var le=0;if(N.indexOf("#")!==-1)for(var Ne=N.replace(/##/g,"");Ne.indexOf("#"+(le+1))!==-1;)++le;for(var Be=new wt(N,this.settings),qe=[],vt=Be.lex();vt.text!=="EOF";)qe.push(vt),vt=Be.lex();qe.reverse();var Tt={tokens:qe,numArgs:le};return Tt}return N},l.isDefined=function(h){return this.macros.has(h)||La.hasOwnProperty(h)||_t.math.hasOwnProperty(h)||_t.text.hasOwnProperty(h)||zn.hasOwnProperty(h)},re}(),Wn={"\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"}},yr={\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"},br=function(){function re(d,h){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 Pn(d,h,this.mode),this.settings=h,this.leftrightDepth=0}var l=re.prototype;return l.expect=function(h,g){if(g===void 0&&(g=!0),this.fetch().text!==h)throw new q("Expected '"+h+"', got '"+this.fetch().text+"'",this.fetch());g&&this.consume()},l.consume=function(){this.nextToken=null},l.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},l.switchMode=function(h){this.mode=h,this.gullet.switchMode(h)},l.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var h=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),h},l.parseExpression=function(h,g){for(var N=[];;){this.mode==="math"&&this.consumeSpaces();var le=this.fetch();if(re.endOfExpression.indexOf(le.text)!==-1||g&&le.text===g||h&&La[le.text]&&La[le.text].infix)break;var Ne=this.parseAtom(g);if(!Ne)break;N.push(Ne)}return this.mode==="text"&&this.formLigatures(N),this.handleInfixNodes(N)},l.handleInfixNodes=function(h){for(var g=-1,N,le=0;le<h.length;le++){var Ne=lr(h[le],"infix");if(Ne){if(g!==-1)throw new q("only one infix operator per group",Ne.token);g=le,N=Ne.replaceWith}}if(g!==-1&&N){var Be,qe,vt=h.slice(0,g),Tt=h.slice(g+1);vt.length===1&&vt[0].type==="ordgroup"?Be=vt[0]:Be={type:"ordgroup",mode:this.mode,body:vt},Tt.length===1&&Tt[0].type==="ordgroup"?qe=Tt[0]:qe={type:"ordgroup",mode:this.mode,body:Tt};var Jt;return N==="\\\\abovefrac"?Jt=this.callFunction(N,[Be,h[g],qe],[]):Jt=this.callFunction(N,[Be,qe],[]),[Jt]}else return h},l.handleSupSubscript=function(h){var g=this.fetch(),N=g.text;this.consume();var le=this.parseGroup(h,!1,re.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!le)throw new q("Expected group after '"+N+"'",g);return le},l.formatUnsupportedCmd=function(h){for(var g=[],N=0;N<h.length;N++)g.push({type:"textord",mode:"text",text:h[N]});var le={type:"text",mode:this.mode,body:g},Ne={type:"color",mode:this.mode,color:this.settings.errorColor,body:[le]};return Ne},l.parseAtom=function(h){var g=this.parseGroup("atom",!1,null,h);if(this.mode==="text")return g;for(var N,le;;){this.consumeSpaces();var Ne=this.fetch();if(Ne.text==="\\limits"||Ne.text==="\\nolimits"){var Be=lr(g,"op");if(Be){var qe=Ne.text==="\\limits";Be.limits=qe,Be.alwaysHandleSupSub=!0}else if(Be=lr(g,"operatorname"),Be&&Be.alwaysHandleSupSub){var vt=Ne.text==="\\limits";Be.limits=vt}else throw new q("Limit controls must follow a math operator",Ne);this.consume()}else if(Ne.text==="^"){if(N)throw new q("Double superscript",Ne);N=this.handleSupSubscript("superscript")}else if(Ne.text==="_"){if(le)throw new q("Double subscript",Ne);le=this.handleSupSubscript("subscript")}else if(Ne.text==="'"){if(N)throw new q("Double superscript",Ne);var Tt={type:"textord",mode:this.mode,text:"\\prime"},Jt=[Tt];for(this.consume();this.fetch().text==="'";)Jt.push(Tt),this.consume();this.fetch().text==="^"&&Jt.push(this.handleSupSubscript("superscript")),N={type:"ordgroup",mode:this.mode,body:Jt}}else break}return N||le?{type:"supsub",mode:this.mode,base:g,sup:N,sub:le}:g},l.parseFunction=function(h,g,N){var le=this.fetch(),Ne=le.text,Be=La[Ne];if(!Be)return null;if(this.consume(),N!=null&&Be.greediness<=N)throw new q("Got function '"+Ne+"' with no arguments"+(g?" as "+g:""),le);if(this.mode==="text"&&!Be.allowedInText)throw new q("Can't use function '"+Ne+"' in text mode",le);if(this.mode==="math"&&Be.allowedInMath===!1)throw new q("Can't use function '"+Ne+"' in math mode",le);var qe=this.parseArguments(Ne,Be),vt=qe.args,Tt=qe.optArgs;return this.callFunction(Ne,vt,Tt,le,h)},l.callFunction=function(h,g,N,le,Ne){var Be={funcName:h,parser:this,token:le,breakOnTokenText:Ne},qe=La[h];if(qe&&qe.handler)return qe.handler(Be,g,N);throw new q("No function handler for "+h)},l.parseArguments=function(h,g){var N=g.numArgs+g.numOptionalArgs;if(N===0)return{args:[],optArgs:[]};for(var le=g.greediness,Ne=[],Be=[],qe=0;qe<N;qe++){var vt=g.argTypes&&g.argTypes[qe],Tt=qe<g.numOptionalArgs,Jt=qe>0&&!Tt||qe===0&&!Tt&&this.mode==="math",Sn=this.parseGroupOfType("argument to '"+h+"'",vt,Tt,le,Jt);if(!Sn){if(Tt){Be.push(null);continue}throw new q("Expected group after '"+h+"'",this.fetch())}(Tt?Be:Ne).push(Sn)}return{args:Ne,optArgs:Be}},l.parseGroupOfType=function(h,g,N,le,Ne){switch(g){case"color":return Ne&&this.consumeSpaces(),this.parseColorGroup(N);case"size":return Ne&&this.consumeSpaces(),this.parseSizeGroup(N);case"url":return this.parseUrlGroup(N,Ne);case"math":case"text":return this.parseGroup(h,N,le,void 0,g,Ne);case"hbox":{var Be=this.parseGroup(h,N,le,void 0,"text",Ne);if(!Be)return Be;var qe={type:"styling",mode:Be.mode,body:[Be],style:"text"};return qe}case"raw":{if(Ne&&this.consumeSpaces(),N&&this.fetch().text==="{")return null;var vt=this.parseStringGroup("raw",N,!0);if(vt)return{type:"raw",mode:"text",string:vt.text};throw new q("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(h,N,le,void 0,void 0,Ne);default:throw new q("Unknown group type as "+h,this.fetch())}},l.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},l.parseStringGroup=function(h,g,N){var le=g?"[":"{",Ne=g?"]":"}",Be=this.fetch();if(Be.text!==le){if(g)return null;if(N&&Be.text!=="EOF"&&/[^{}[\]]/.test(Be.text))return this.consume(),Be}var qe=this.mode;this.mode="text",this.expect(le);for(var vt="",Tt=this.fetch(),Jt=0,Sn=Tt,Xt;(Xt=this.fetch()).text!==Ne||N&&Jt>0;){switch(Xt.text){case"EOF":throw new q("Unexpected end of input in "+h,Tt.range(Sn,vt));case le:Jt++;break;case Ne:Jt--;break}Sn=Xt,vt+=Sn.text,this.consume()}return this.expect(Ne),this.mode=qe,Tt.range(Sn,vt)},l.parseRegexGroup=function(h,g){var N=this.mode;this.mode="text";for(var le=this.fetch(),Ne=le,Be="",qe;(qe=this.fetch()).text!=="EOF"&&h.test(Be+qe.text);)Ne=qe,Be+=Ne.text,this.consume();if(Be==="")throw new q("Invalid "+g+": '"+le.text+"'",le);return this.mode=N,le.range(Ne,Be)},l.parseColorGroup=function(h){var g=this.parseStringGroup("color",h);if(!g)return null;var N=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(g.text);if(!N)throw new q("Invalid color: '"+g.text+"'",g);var le=N[0];return/^[0-9a-f]{6}$/i.test(le)&&(le="#"+le),{type:"color-token",mode:this.mode,color:le}},l.parseSizeGroup=function(h){var g,N=!1;if(!h&&this.fetch().text!=="{"?g=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):g=this.parseStringGroup("size",h),!g)return null;!h&&g.text.length===0&&(g.text="0pt",N=!0);var le=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(g.text);if(!le)throw new q("Invalid size: '"+g.text+"'",g);var Ne={number:+(le[1]+le[2]),unit:le[3]};if(!dt(Ne))throw new q("Invalid unit: '"+Ne.unit+"'",g);return{type:"size",mode:this.mode,value:Ne,isBlank:N}},l.parseUrlGroup=function(h,g){this.gullet.lexer.setCatcode("%",13);var N=this.parseStringGroup("url",h,!0);if(this.gullet.lexer.setCatcode("%",14),!N)return null;var le=N.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:le}},l.parseGroup=function(h,g,N,le,Ne,Be){var qe=this.mode;Ne&&this.switchMode(Ne),Be&&this.consumeSpaces();var vt=this.fetch(),Tt=vt.text,Jt;if(g?Tt==="[":Tt==="{"||Tt==="\\begingroup"){this.consume();var Sn=re.endOfGroup[Tt];this.gullet.beginGroup();var Xt=this.parseExpression(!1,Sn),on=this.fetch();this.expect(Sn),this.gullet.endGroup(),Jt={type:"ordgroup",mode:this.mode,loc:ee.range(vt,on),body:Xt,semisimple:Tt==="\\begingroup"||void 0}}else if(g)Jt=null;else if(Jt=this.parseFunction(le,h,N)||this.parseSymbol(),Jt==null&&Tt[0]==="\\"&&!zn.hasOwnProperty(Tt)){if(this.settings.throwOnError)throw new q("Undefined control sequence: "+Tt,vt);Jt=this.formatUnsupportedCmd(Tt),this.consume()}return Ne&&this.switchMode(qe),Jt},l.formLigatures=function(h){for(var g=h.length-1,N=0;N<g;++N){var le=h[N],Ne=le.text;Ne==="-"&&h[N+1].text==="-"&&(N+1<g&&h[N+2].text==="-"?(h.splice(N,3,{type:"textord",mode:"text",loc:ee.range(le,h[N+2]),text:"---"}),g-=2):(h.splice(N,2,{type:"textord",mode:"text",loc:ee.range(le,h[N+1]),text:"--"}),g-=1)),(Ne==="'"||Ne==="`")&&h[N+1].text===Ne&&(h.splice(N,2,{type:"textord",mode:"text",loc:ee.range(le,h[N+1]),text:Ne+Ne}),g-=1)}},l.parseSymbol=function(){var h=this.fetch(),g=h.text;if(/^\\verb[^a-zA-Z]/.test(g)){this.consume();var N=g.slice(5),le=N.charAt(0)==="*";if(le&&(N=N.slice(1)),N.length<2||N.charAt(0)!==N.slice(-1))throw new q(`\\verb assertion failed --
please report what input caused this bug`);return N=N.slice(1,-1),{type:"verb",mode:"text",body:N,star:le}}yr.hasOwnProperty(g[0])&&!_t[this.mode][g[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+g[0]+'" used in math mode',h),g=yr[g[0]]+g.substr(1));var Ne=nt.exec(g);Ne&&(g=g.substring(0,Ne.index),g==="i"?g="\u0131":g==="j"&&(g="\u0237"));var Be;if(_t[this.mode][g]){this.settings.strict&&this.mode==="math"&&tn.indexOf(g)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+g[0]+'" used in math mode',h);var qe=_t[this.mode][g].group,vt=ee.range(h),Tt;if(St.hasOwnProperty(qe)){var Jt=qe;Tt={type:"atom",mode:this.mode,family:Jt,loc:vt,text:g}}else Tt={type:qe,mode:this.mode,loc:vt,text:g};Be=Tt}else if(g.charCodeAt(0)>=128)this.settings.strict&&(Le(g.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+g[0]+'" used in math mode',h):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+g[0]+'"'+(" ("+g.charCodeAt(0)+")"),h)),Be={type:"textord",mode:"text",loc:ee.range(h),text:g};else return null;if(this.consume(),Ne)for(var Sn=0;Sn<Ne[0].length;Sn++){var Xt=Ne[0][Sn];if(!Wn[Xt])throw new q("Unknown accent ' "+Xt+"'",h);var on=Wn[Xt][this.mode];if(!on)throw new q("Accent "+Xt+" unsupported in "+this.mode+" mode",h);Be={type:"accent",mode:this.mode,loc:ee.range(h),label:on,isStretchy:!1,isShifty:!0,base:Be}}return Be},re}();br.endOfExpression=["}","\\endgroup","\\end","\\right","&"],br.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},br.SUPSUB_GREEDINESS=1;var hr=function(l,d){if(!(typeof l=="string"||l instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var h=new br(l,d);delete h.gullet.macros.current["\\df@tag"];var g=h.parse();if(h.gullet.macros.get("\\df@tag")){if(!d.displayMode)throw new q("\\tag works only in display equations");h.gullet.feed("\\df@tag"),g=[{type:"tag",mode:"text",body:g,tag:h.parse()}]}return g},Or=hr,Mr=function(l,d,h){d.textContent="";var g=Nn(l,h).toNode();d.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."),Mr=function(){throw new q("KaTeX doesn't work in quirks mode.")});var $n=function(l,d){var h=Nn(l,d).toMarkup();return h},pr=function(l,d){var h=new W(d);return Or(l,h)},Jn=function(l,d,h){if(h.throwOnError||!(l instanceof q))throw l;var g=at.makeSpan(["katex-error"],[new E(d)]);return g.setAttribute("title",l.toString()),g.setAttribute("style","color:"+h.errorColor),g},Nn=function(l,d){var h=new W(d);try{var g=Or(l,h);return yi(g,l,h)}catch(N){return Jn(N,l,h)}},fr=function(l,d){var h=new W(d);try{var g=Or(l,h);return Fi(g,l,h)}catch(N){return Jn(N,l,h)}},Ir={version:"0.11.1",render:Mr,renderToString:$n,ParseError:q,__parse:pr,__renderToDomTree:Nn,__renderToHTMLTree:fr,__setFontMetrics:Ye,__defineSymbol:w,__defineMacro:_e,__domTree:{Span:H,Anchor:O,SymbolNode:E,SvgNode:T,PathNode:X,LineNode:G}},Vr=f.default=Ir}]).default})},32834:function(en){(function(et,f){en.exports=f()})(this,function(){"use strict";function et(He,rt){for(var Je=0;Je<rt.length;Je++){var Ae=rt[Je];Ae.enumerable=Ae.enumerable||!1,Ae.configurable=!0,"value"in Ae&&(Ae.writable=!0),Object.defineProperty(He,Ae.key,Ae)}}function f(He,rt,Je){return rt&&et(He.prototype,rt),Je&&et(He,Je),He}function y(He,rt){if(He){if(typeof He=="string")return L(He,rt);var Je=Object.prototype.toString.call(He).slice(8,-1);if(Je==="Object"&&He.constructor&&(Je=He.constructor.name),Je==="Map"||Je==="Set")return Array.from(He);if(Je==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Je))return L(He,rt)}}function L(He,rt){(rt==null||rt>He.length)&&(rt=He.length);for(var Je=0,Ae=new Array(rt);Je<rt;Je++)Ae[Je]=He[Je];return Ae}function ee(He,rt){var Je=typeof Symbol!="undefined"&&He[Symbol.iterator]||He["@@iterator"];if(Je)return(Je=Je.call(He)).next.bind(Je);if(Array.isArray(He)||(Je=y(He))||rt&&He&&typeof He.length=="number"){Je&&(He=Je);var Ae=0;return function(){return Ae>=He.length?{done:!0}:{done:!1,value:He[Ae++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ee={exports:{}};function $(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function q(He){Ee.exports.defaults=He}Ee.exports={defaults:$(),getDefaults:$,changeDefaults:q};var C=/[&<>"']/,Se=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,I=/[<>"']|&(?!#?\w+;)/g,z={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},S=function(rt){return z[rt]};function u(He,rt){if(rt){if(C.test(He))return He.replace(Se,S)}else if(a.test(He))return He.replace(I,S);return He}var x=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function m(He){return He.replace(x,function(rt,Je){return Je=Je.toLowerCase(),Je==="colon"?":":Je.charAt(0)==="#"?Je.charAt(1)==="x"?String.fromCharCode(parseInt(Je.substring(2),16)):String.fromCharCode(+Je.substring(1)):""})}var P=/(^|[^\[])\^/g;function ue(He,rt){He=He.source||He,rt=rt||"";var Je={replace:function(De,ze){return ze=ze.source||ze,ze=ze.replace(P,"$1"),He=He.replace(De,ze),Je},getRegex:function(){return new RegExp(He,rt)}};return Je}var B=/[^\w:]/g,W=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function ne(He,rt,Je){if(He){var Ae;try{Ae=decodeURIComponent(m(Je)).replace(B,"").toLowerCase()}catch(De){return null}if(Ae.indexOf("javascript:")===0||Ae.indexOf("vbscript:")===0||Ae.indexOf("data:")===0)return null}rt&&!W.test(Je)&&(Je=j(rt,Je));try{Je=encodeURI(Je).replace(/%25/g,"%")}catch(De){return null}return Je}var Y={},b=/^[^:]+:\/*[^/]*$/,R=/^([^:]+:)[\s\S]*$/,Z=/^([^:]+:\/*[^/]*)[\s\S]*$/;function j(He,rt){Y[" "+He]||(b.test(He)?Y[" "+He]=He+"/":Y[" "+He]=ae(He,"/",!0)),He=Y[" "+He];var Je=He.indexOf(":")===-1;return rt.substring(0,2)==="//"?Je?rt:He.replace(R,"$1")+rt:rt.charAt(0)==="/"?Je?rt:He.replace(Z,"$1")+rt:He+rt}var he={exec:function(){}};function me(He){for(var rt=1,Je,Ae;rt<arguments.length;rt++){Je=arguments[rt];for(Ae in Je)Object.prototype.hasOwnProperty.call(Je,Ae)&&(He[Ae]=Je[Ae])}return He}function fe(He,rt){var Je=He.replace(/\|/g,function(ze,Xe,ge){for(var an=!1,$e=Xe;--$e>=0&&ge[$e]==="\\";)an=!an;return an?"|":" |"}),Ae=Je.split(/ \|/),De=0;if(Ae.length>rt)Ae.splice(rt);else for(;Ae.length<rt;)Ae.push("");for(;De<Ae.length;De++)Ae[De]=Ae[De].trim().replace(/\\\|/g,"|");return Ae}function ae(He,rt,Je){var Ae=He.length;if(Ae===0)return"";for(var De=0;De<Ae;){var ze=He.charAt(Ae-De-1);if(ze===rt&&!Je)De++;else if(ze!==rt&&Je)De++;else break}return He.substr(0,Ae-De)}function te(He,rt){if(He.indexOf(rt[1])===-1)return-1;for(var Je=He.length,Ae=0,De=0;De<Je;De++)if(He[De]==="\\")De++;else if(He[De]===rt[0])Ae++;else if(He[De]===rt[1]&&(Ae--,Ae<0))return De;return-1}function U(He){He&&He.sanitize&&!He.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function pe(He,rt){if(rt<1)return"";for(var Je="";rt>1;)rt&1&&(Je+=He),rt>>=1,He+=He;return Je+He}var Q={escape:u,unescape:m,edit:ue,cleanUrl:ne,resolveUrl:j,noopTest:he,merge:me,splitCells:fe,rtrim:ae,findClosingBracket:te,checkSanitizeDeprecation:U,repeatString:pe},de=Ee.exports.defaults,ie=Q.rtrim,v=Q.splitCells,_=Q.escape,V=Q.findClosingBracket;function J(He,rt,Je){var Ae=rt.href,De=rt.title?_(rt.title):null,ze=He[1].replace(/\\([\[\]])/g,"$1");return He[0].charAt(0)!=="!"?{type:"link",raw:Je,href:Ae,title:De,text:ze}:{type:"image",raw:Je,href:Ae,title:De,text:_(ze)}}function Le(He,rt){var Je=He.match(/^(\s+)(?:```)/);if(Je===null)return rt;var Ae=Je[1];return rt.split(`
`).map(function(De){var ze=De.match(/^\s+/);if(ze===null)return De;var Xe=ze[0];return Xe.length>=Ae.length?De.slice(Ae.length):De}).join(`
`)}var Oe=function(){function He(Je){this.options=Je||de}var rt=He.prototype;return rt.space=function(Ae){var De=this.rules.block.newline.exec(Ae);if(De)return De[0].length>1?{type:"space",raw:De[0]}:{raw:`
`}},rt.code=function(Ae){var De=this.rules.block.code.exec(Ae);if(De){var ze=De[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:De[0],codeBlockStyle:"indented",text:this.options.pedantic?ze:ie(ze,`
`)}}},rt.fences=function(Ae){var De=this.rules.block.fences.exec(Ae);if(De){var ze=De[0],Xe=Le(ze,De[3]||"");return{type:"code",raw:ze,lang:De[2]?De[2].trim():De[2],text:Xe}}},rt.heading=function(Ae){var De=this.rules.block.heading.exec(Ae);if(De){var ze=De[2].trim();if(/#$/.test(ze)){var Xe=ie(ze,"#");(this.options.pedantic||!Xe||/ $/.test(Xe))&&(ze=Xe.trim())}return{type:"heading",raw:De[0],depth:De[1].length,text:ze}}},rt.nptable=function(Ae){var De=this.rules.block.nptable.exec(Ae);if(De){var ze={type:"table",header:v(De[1].replace(/^ *| *\| *$/g,"")),align:De[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:De[3]?De[3].replace(/\n$/,"").split(`
`):[],raw:De[0]};if(ze.header.length===ze.align.length){var Xe=ze.align.length,ge;for(ge=0;ge<Xe;ge++)/^ *-+: *$/.test(ze.align[ge])?ze.align[ge]="right":/^ *:-+: *$/.test(ze.align[ge])?ze.align[ge]="center":/^ *:-+ *$/.test(ze.align[ge])?ze.align[ge]="left":ze.align[ge]=null;for(Xe=ze.cells.length,ge=0;ge<Xe;ge++)ze.cells[ge]=v(ze.cells[ge],ze.header.length);return ze}}},rt.hr=function(Ae){var De=this.rules.block.hr.exec(Ae);if(De)return{type:"hr",raw:De[0]}},rt.blockquote=function(Ae){var De=this.rules.block.blockquote.exec(Ae);if(De){var ze=De[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:De[0],text:ze}}},rt.list=function(Ae){var De=this.rules.block.list.exec(Ae);if(De){var ze=De[0],Xe=De[2],ge=Xe.length>1,an={type:"list",raw:ze,ordered:ge,start:ge?+Xe.slice(0,-1):"",loose:!1,items:[]},$e=De[0].match(this.rules.block.item),bn=!1,Tn,Wt,Yt,Rt,Ot,Ge,xt,At,Ue,Ce=$e.length;Yt=this.rules.block.listItemStart.exec($e[0]);for(var mt=0;mt<Ce;mt++){if(Tn=$e[mt],ze=Tn,this.options.pedantic||(Ue=Tn.match(new RegExp("\\n\\s*\\n {0,"+(Yt[0].length-1)+"}\\S")),Ue&&(Ot=Tn.length-Ue.index+$e.slice(mt+1).join(`
`).length,an.raw=an.raw.substring(0,an.raw.length-Ot),Tn=Tn.substring(0,Ue.index),ze=Tn,Ce=mt+1)),mt!==Ce-1){if(Rt=this.rules.block.listItemStart.exec($e[mt+1]),this.options.pedantic?Rt[1].length>Yt[1].length:Rt[1].length>=Yt[0].length||Rt[1].length>3){$e.splice(mt,2,$e[mt]+(!this.options.pedantic&&Rt[1].length<Yt[0].length&&!$e[mt].match(/\n$/)?"":`
`)+$e[mt+1]),mt--,Ce--;continue}else(!this.options.pedantic||this.options.smartLists?Rt[2][Rt[2].length-1]!==Xe[Xe.length-1]:ge===(Rt[2].length===1))&&(Ot=$e.slice(mt+1).join(`
`).length,an.raw=an.raw.substring(0,an.raw.length-Ot),mt=Ce-1);Yt=Rt}Wt=Tn.length,Tn=Tn.replace(/^ *([*+-]|\d+[.)]) ?/,""),~Tn.indexOf(`
`)&&(Wt-=Tn.length,Tn=this.options.pedantic?Tn.replace(/^ {1,4}/gm,""):Tn.replace(new RegExp("^ {1,"+Wt+"}","gm"),"")),Tn=ie(Tn,`
`),mt!==Ce-1&&(ze=ze+`
`),Ge=bn||/\n\n(?!\s*$)/.test(ze),mt!==Ce-1&&(bn=ze.slice(-2)===`
`,Ge||(Ge=bn)),Ge&&(an.loose=!0),this.options.gfm&&(xt=/^\[[ xX]\] /.test(Tn),At=void 0,xt&&(At=Tn[1]!==" ",Tn=Tn.replace(/^\[[ xX]\] +/,""))),an.items.push({type:"list_item",raw:ze,task:xt,checked:At,loose:Ge,text:Tn})}return an}},rt.html=function(Ae){var De=this.rules.block.html.exec(Ae);if(De)return{type:this.options.sanitize?"paragraph":"html",raw:De[0],pre:!this.options.sanitizer&&(De[1]==="pre"||De[1]==="script"||De[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(De[0]):_(De[0]):De[0]}},rt.def=function(Ae){var De=this.rules.block.def.exec(Ae);if(De){De[3]&&(De[3]=De[3].substring(1,De[3].length-1));var ze=De[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:ze,raw:De[0],href:De[2],title:De[3]}}},rt.table=function(Ae){var De=this.rules.block.table.exec(Ae);if(De){var ze={type:"table",header:v(De[1].replace(/^ *| *\| *$/g,"")),align:De[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:De[3]?De[3].replace(/\n$/,"").split(`
`):[]};if(ze.header.length===ze.align.length){ze.raw=De[0];var Xe=ze.align.length,ge;for(ge=0;ge<Xe;ge++)/^ *-+: *$/.test(ze.align[ge])?ze.align[ge]="right":/^ *:-+: *$/.test(ze.align[ge])?ze.align[ge]="center":/^ *:-+ *$/.test(ze.align[ge])?ze.align[ge]="left":ze.align[ge]=null;for(Xe=ze.cells.length,ge=0;ge<Xe;ge++)ze.cells[ge]=v(ze.cells[ge].replace(/^ *\| *| *\| *$/g,""),ze.header.length);return ze}}},rt.lheading=function(Ae){var De=this.rules.block.lheading.exec(Ae);if(De)return{type:"heading",raw:De[0],depth:De[2].charAt(0)==="="?1:2,text:De[1]}},rt.paragraph=function(Ae){var De=this.rules.block.paragraph.exec(Ae);if(De)return{type:"paragraph",raw:De[0],text:De[1].charAt(De[1].length-1)===`
`?De[1].slice(0,-1):De[1]}},rt.text=function(Ae){var De=this.rules.block.text.exec(Ae);if(De)return{type:"text",raw:De[0],text:De[0]}},rt.escape=function(Ae){var De=this.rules.inline.escape.exec(Ae);if(De)return{type:"escape",raw:De[0],text:_(De[1])}},rt.tag=function(Ae,De,ze){var Xe=this.rules.inline.tag.exec(Ae);if(Xe)return!De&&/^<a /i.test(Xe[0])?De=!0:De&&/^<\/a>/i.test(Xe[0])&&(De=!1),!ze&&/^<(pre|code|kbd|script)(\s|>)/i.test(Xe[0])?ze=!0:ze&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Xe[0])&&(ze=!1),{type:this.options.sanitize?"text":"html",raw:Xe[0],inLink:De,inRawBlock:ze,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Xe[0]):_(Xe[0]):Xe[0]}},rt.link=function(Ae){var De=this.rules.inline.link.exec(Ae);if(De){var ze=De[2].trim();if(!this.options.pedantic&&/^</.test(ze)){if(!/>$/.test(ze))return;var Xe=ie(ze.slice(0,-1),"\\");if((ze.length-Xe.length)%2===0)return}else{var ge=V(De[2],"()");if(ge>-1){var an=De[0].indexOf("!")===0?5:4,$e=an+De[1].length+ge;De[2]=De[2].substring(0,ge),De[0]=De[0].substring(0,$e).trim(),De[3]=""}}var bn=De[2],Tn="";if(this.options.pedantic){var Wt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(bn);Wt&&(bn=Wt[1],Tn=Wt[3])}else Tn=De[3]?De[3].slice(1,-1):"";return bn=bn.trim(),/^</.test(bn)&&(this.options.pedantic&&!/>$/.test(ze)?bn=bn.slice(1):bn=bn.slice(1,-1)),J(De,{href:bn&&bn.replace(this.rules.inline._escapes,"$1"),title:Tn&&Tn.replace(this.rules.inline._escapes,"$1")},De[0])}},rt.reflink=function(Ae,De){var ze;if((ze=this.rules.inline.reflink.exec(Ae))||(ze=this.rules.inline.nolink.exec(Ae))){var Xe=(ze[2]||ze[1]).replace(/\s+/g," ");if(Xe=De[Xe.toLowerCase()],!Xe||!Xe.href){var ge=ze[0].charAt(0);return{type:"text",raw:ge,text:ge}}return J(ze,Xe,ze[0])}},rt.emStrong=function(Ae,De,ze){ze===void 0&&(ze="");var Xe=this.rules.inline.emStrong.lDelim.exec(Ae);if(Xe&&!(Xe[3]&&ze.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\u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uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var ge=Xe[1]||Xe[2]||"";if(!ge||ge&&(ze===""||this.rules.inline.punctuation.exec(ze))){var an=Xe[0].length-1,$e,bn,Tn=an,Wt=0,Yt=Xe[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Yt.lastIndex=0,De=De.slice(-1*Ae.length+an);(Xe=Yt.exec(De))!=null;)if($e=Xe[1]||Xe[2]||Xe[3]||Xe[4]||Xe[5]||Xe[6],!!$e){if(bn=$e.length,Xe[3]||Xe[4]){Tn+=bn;continue}else if((Xe[5]||Xe[6])&&an%3&&!((an+bn)%3)){Wt+=bn;continue}if(Tn-=bn,!(Tn>0))return bn=Math.min(bn,bn+Tn+Wt),Math.min(an,bn)%2?{type:"em",raw:Ae.slice(0,an+Xe.index+bn+1),text:Ae.slice(1,an+Xe.index+bn)}:{type:"strong",raw:Ae.slice(0,an+Xe.index+bn+1),text:Ae.slice(2,an+Xe.index+bn-1)}}}}},rt.codespan=function(Ae){var De=this.rules.inline.code.exec(Ae);if(De){var ze=De[2].replace(/\n/g," "),Xe=/[^ ]/.test(ze),ge=/^ /.test(ze)&&/ $/.test(ze);return Xe&&ge&&(ze=ze.substring(1,ze.length-1)),ze=_(ze,!0),{type:"codespan",raw:De[0],text:ze}}},rt.br=function(Ae){var De=this.rules.inline.br.exec(Ae);if(De)return{type:"br",raw:De[0]}},rt.del=function(Ae){var De=this.rules.inline.del.exec(Ae);if(De)return{type:"del",raw:De[0],text:De[2]}},rt.autolink=function(Ae,De){var ze=this.rules.inline.autolink.exec(Ae);if(ze){var Xe,ge;return ze[2]==="@"?(Xe=_(this.options.mangle?De(ze[1]):ze[1]),ge="mailto:"+Xe):(Xe=_(ze[1]),ge=Xe),{type:"link",raw:ze[0],text:Xe,href:ge,tokens:[{type:"text",raw:Xe,text:Xe}]}}},rt.url=function(Ae,De){var ze;if(ze=this.rules.inline.url.exec(Ae)){var Xe,ge;if(ze[2]==="@")Xe=_(this.options.mangle?De(ze[0]):ze[0]),ge="mailto:"+Xe;else{var an;do an=ze[0],ze[0]=this.rules.inline._backpedal.exec(ze[0])[0];while(an!==ze[0]);Xe=_(ze[0]),ze[1]==="www."?ge="http://"+Xe:ge=Xe}return{type:"link",raw:ze[0],text:Xe,href:ge,tokens:[{type:"text",raw:Xe,text:Xe}]}}},rt.inlineText=function(Ae,De,ze){var Xe=this.rules.inline.text.exec(Ae);if(Xe){var ge;return De?ge=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Xe[0]):_(Xe[0]):Xe[0]:ge=_(this.options.smartypants?ze(Xe[0]):Xe[0]),{type:"text",raw:Xe[0],text:ge}}},He}(),Ie=Q.noopTest,Ze=Q.edit,ut=Q.merge,ct={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:Ie,table:Ie,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};ct._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,ct._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,ct.def=Ze(ct.def).replace("label",ct._label).replace("title",ct._title).getRegex(),ct.bullet=/(?:[*+-]|\d{1,9}[.)])/,ct.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,ct.item=Ze(ct.item,"gm").replace(/bull/g,ct.bullet).getRegex(),ct.listItemStart=Ze(/^( *)(bull) */).replace("bull",ct.bullet).getRegex(),ct.list=Ze(ct.list).replace(/bull/g,ct.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+ct.def.source+")").getRegex(),ct._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",ct._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,ct.html=Ze(ct.html,"i").replace("comment",ct._comment).replace("tag",ct._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ct.paragraph=Ze(ct._paragraph).replace("hr",ct.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",ct._tag).getRegex(),ct.blockquote=Ze(ct.blockquote).replace("paragraph",ct.paragraph).getRegex(),ct.normal=ut({},ct),ct.gfm=ut({},ct.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),ct.gfm.nptable=Ze(ct.gfm.nptable).replace("hr",ct.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",ct._tag).getRegex(),ct.gfm.table=Ze(ct.gfm.table).replace("hr",ct.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",ct._tag).getRegex(),ct.pedantic=ut({},ct.normal,{html:Ze(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ct._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ie,paragraph:Ze(ct.normal._paragraph).replace("hr",ct.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",ct.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var it={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Ie,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/\_\_[^_*]*?\*[^_*]*?\_\_|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/\*\*[^_*]*?\_[^_*]*?\*\*|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Ie,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};it._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",it.punctuation=Ze(it.punctuation).replace(/punctuation/g,it._punctuation).getRegex(),it.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,it.escapedEmSt=/\\\*|\\_/g,it._comment=Ze(ct._comment).replace("(?:-->|$)","-->").getRegex(),it.emStrong.lDelim=Ze(it.emStrong.lDelim).replace(/punct/g,it._punctuation).getRegex(),it.emStrong.rDelimAst=Ze(it.emStrong.rDelimAst,"g").replace(/punct/g,it._punctuation).getRegex(),it.emStrong.rDelimUnd=Ze(it.emStrong.rDelimUnd,"g").replace(/punct/g,it._punctuation).getRegex(),it._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,it._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,it._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,it.autolink=Ze(it.autolink).replace("scheme",it._scheme).replace("email",it._email).getRegex(),it._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,it.tag=Ze(it.tag).replace("comment",it._comment).replace("attribute",it._attribute).getRegex(),it._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,it._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,it._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,it.link=Ze(it.link).replace("label",it._label).replace("href",it._href).replace("title",it._title).getRegex(),it.reflink=Ze(it.reflink).replace("label",it._label).getRegex(),it.reflinkSearch=Ze(it.reflinkSearch,"g").replace("reflink",it.reflink).replace("nolink",it.nolink).getRegex(),it.normal=ut({},it),it.pedantic=ut({},it.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Ze(/^!?\[(label)\]\((.*?)\)/).replace("label",it._label).getRegex(),reflink:Ze(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",it._label).getRegex()}),it.gfm=ut({},it.normal,{escape:Ze(it.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),it.gfm.url=Ze(it.gfm.url,"i").replace("email",it.gfm._extended_email).getRegex(),it.breaks=ut({},it.gfm,{br:Ze(it.br).replace("{2,}","*").getRegex(),text:Ze(it.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Nt={block:ct,inline:it},qt=Oe,nn=Ee.exports.defaults,Dt=Nt.block,$t=Nt.inline,ot=Q.repeatString;function se(He){return He.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function be(He){var rt="",Je,Ae,De=He.length;for(Je=0;Je<De;Je++)Ae=He.charCodeAt(Je),Math.random()>.5&&(Ae="x"+Ae.toString(16)),rt+="&#"+Ae+";";return rt}var H=function(){function He(Je){this.tokens=[],this.tokens.links=Object.create(null),this.options=Je||nn,this.options.tokenizer=this.options.tokenizer||new qt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var Ae={block:Dt.normal,inline:$t.normal};this.options.pedantic?(Ae.block=Dt.pedantic,Ae.inline=$t.pedantic):this.options.gfm&&(Ae.block=Dt.gfm,this.options.breaks?Ae.inline=$t.breaks:Ae.inline=$t.gfm),this.tokenizer.rules=Ae}He.lex=function(Ae,De){var ze=new He(De);return ze.lex(Ae)},He.lexInline=function(Ae,De){var ze=new He(De);return ze.inlineTokens(Ae)};var rt=He.prototype;return rt.lex=function(Ae){return Ae=Ae.replace(/\r\n|\r/g,`
`).replace(/\t/g," "),this.blockTokens(Ae,this.tokens,!0),this.inline(this.tokens),this.tokens},rt.blockTokens=function(Ae,De,ze){De===void 0&&(De=[]),ze===void 0&&(ze=!0),this.options.pedantic&&(Ae=Ae.replace(/^ +$/gm,""));for(var Xe,ge,an,$e;Ae;){if(Xe=this.tokenizer.space(Ae)){Ae=Ae.substring(Xe.raw.length),Xe.type&&De.push(Xe);continue}if(Xe=this.tokenizer.code(Ae)){Ae=Ae.substring(Xe.raw.length),$e=De[De.length-1],$e&&$e.type==="paragraph"?($e.raw+=`
`+Xe.raw,$e.text+=`
`+Xe.text):De.push(Xe);continue}if(Xe=this.tokenizer.fences(Ae)){Ae=Ae.substring(Xe.raw.length),De.push(Xe);continue}if(Xe=this.tokenizer.heading(Ae)){Ae=Ae.substring(Xe.raw.length),De.push(Xe);continue}if(Xe=this.tokenizer.nptable(Ae)){Ae=Ae.substring(Xe.raw.length),De.push(Xe);continue}if(Xe=this.tokenizer.hr(Ae)){Ae=Ae.substring(Xe.raw.length),De.push(Xe);continue}if(Xe=this.tokenizer.blockquote(Ae)){Ae=Ae.substring(Xe.raw.length),Xe.tokens=this.blockTokens(Xe.text,[],ze),De.push(Xe);continue}if(Xe=this.tokenizer.list(Ae)){for(Ae=Ae.substring(Xe.raw.length),an=Xe.items.length,ge=0;ge<an;ge++)Xe.items[ge].tokens=this.blockTokens(Xe.items[ge].text,[],!1);De.push(Xe);continue}if(Xe=this.tokenizer.html(Ae)){Ae=Ae.substring(Xe.raw.length),De.push(Xe);continue}if(ze&&(Xe=this.tokenizer.def(Ae))){Ae=Ae.substring(Xe.raw.length),this.tokens.links[Xe.tag]||(this.tokens.links[Xe.tag]={href:Xe.href,title:Xe.title});continue}if(Xe=this.tokenizer.table(Ae)){Ae=Ae.substring(Xe.raw.length),De.push(Xe);continue}if(Xe=this.tokenizer.lheading(Ae)){Ae=Ae.substring(Xe.raw.length),De.push(Xe);continue}if(ze&&(Xe=this.tokenizer.paragraph(Ae))){Ae=Ae.substring(Xe.raw.length),De.push(Xe);continue}if(Xe=this.tokenizer.text(Ae)){Ae=Ae.substring(Xe.raw.length),$e=De[De.length-1],$e&&$e.type==="text"?($e.raw+=`
`+Xe.raw,$e.text+=`
`+Xe.text):De.push(Xe);continue}if(Ae){var bn="Infinite loop on byte: "+Ae.charCodeAt(0);if(this.options.silent){console.error(bn);break}else throw new Error(bn)}}return De},rt.inline=function(Ae){var De,ze,Xe,ge,an,$e,bn=Ae.length;for(De=0;De<bn;De++)switch($e=Ae[De],$e.type){case"paragraph":case"text":case"heading":{$e.tokens=[],this.inlineTokens($e.text,$e.tokens);break}case"table":{for($e.tokens={header:[],cells:[]},ge=$e.header.length,ze=0;ze<ge;ze++)$e.tokens.header[ze]=[],this.inlineTokens($e.header[ze],$e.tokens.header[ze]);for(ge=$e.cells.length,ze=0;ze<ge;ze++)for(an=$e.cells[ze],$e.tokens.cells[ze]=[],Xe=0;Xe<an.length;Xe++)$e.tokens.cells[ze][Xe]=[],this.inlineTokens(an[Xe],$e.tokens.cells[ze][Xe]);break}case"blockquote":{this.inline($e.tokens);break}case"list":{for(ge=$e.items.length,ze=0;ze<ge;ze++)this.inline($e.items[ze].tokens);break}}return Ae},rt.inlineTokens=function(Ae,De,ze,Xe){De===void 0&&(De=[]),ze===void 0&&(ze=!1),Xe===void 0&&(Xe=!1);var ge,an,$e=Ae,bn,Tn,Wt;if(this.tokens.links){var Yt=Object.keys(this.tokens.links);if(Yt.length>0)for(;(bn=this.tokenizer.rules.inline.reflinkSearch.exec($e))!=null;)Yt.includes(bn[0].slice(bn[0].lastIndexOf("[")+1,-1))&&($e=$e.slice(0,bn.index)+"["+ot("a",bn[0].length-2)+"]"+$e.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(bn=this.tokenizer.rules.inline.blockSkip.exec($e))!=null;)$e=$e.slice(0,bn.index)+"["+ot("a",bn[0].length-2)+"]"+$e.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(bn=this.tokenizer.rules.inline.escapedEmSt.exec($e))!=null;)$e=$e.slice(0,bn.index)+"++"+$e.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;Ae;){if(Tn||(Wt=""),Tn=!1,ge=this.tokenizer.escape(Ae)){Ae=Ae.substring(ge.raw.length),De.push(ge);continue}if(ge=this.tokenizer.tag(Ae,ze,Xe)){Ae=Ae.substring(ge.raw.length),ze=ge.inLink,Xe=ge.inRawBlock;var Rt=De[De.length-1];Rt&&ge.type==="text"&&Rt.type==="text"?(Rt.raw+=ge.raw,Rt.text+=ge.text):De.push(ge);continue}if(ge=this.tokenizer.link(Ae)){Ae=Ae.substring(ge.raw.length),ge.type==="link"&&(ge.tokens=this.inlineTokens(ge.text,[],!0,Xe)),De.push(ge);continue}if(ge=this.tokenizer.reflink(Ae,this.tokens.links)){Ae=Ae.substring(ge.raw.length);var Ot=De[De.length-1];ge.type==="link"?(ge.tokens=this.inlineTokens(ge.text,[],!0,Xe),De.push(ge)):Ot&&ge.type==="text"&&Ot.type==="text"?(Ot.raw+=ge.raw,Ot.text+=ge.text):De.push(ge);continue}if(ge=this.tokenizer.emStrong(Ae,$e,Wt)){Ae=Ae.substring(ge.raw.length),ge.tokens=this.inlineTokens(ge.text,[],ze,Xe),De.push(ge);continue}if(ge=this.tokenizer.codespan(Ae)){Ae=Ae.substring(ge.raw.length),De.push(ge);continue}if(ge=this.tokenizer.br(Ae)){Ae=Ae.substring(ge.raw.length),De.push(ge);continue}if(ge=this.tokenizer.del(Ae)){Ae=Ae.substring(ge.raw.length),ge.tokens=this.inlineTokens(ge.text,[],ze,Xe),De.push(ge);continue}if(ge=this.tokenizer.autolink(Ae,be)){Ae=Ae.substring(ge.raw.length),De.push(ge);continue}if(!ze&&(ge=this.tokenizer.url(Ae,be))){Ae=Ae.substring(ge.raw.length),De.push(ge);continue}if(ge=this.tokenizer.inlineText(Ae,Xe,se)){Ae=Ae.substring(ge.raw.length),ge.raw.slice(-1)!=="_"&&(Wt=ge.raw.slice(-1)),Tn=!0,an=De[De.length-1],an&&an.type==="text"?(an.raw+=ge.raw,an.text+=ge.text):De.push(ge);continue}if(Ae){var Ge="Infinite loop on byte: "+Ae.charCodeAt(0);if(this.options.silent){console.error(Ge);break}else throw new Error(Ge)}}return De},f(He,null,[{key:"rules",get:function(){return{block:Dt,inline:$t}}}]),He}(),O=Ee.exports.defaults,xe=Q.cleanUrl,k=Q.escape,E=function(){function He(Je){this.options=Je||O}var rt=He.prototype;return rt.code=function(Ae,De,ze){var Xe=(De||"").match(/\S*/)[0];if(this.options.highlight){var ge=this.options.highlight(Ae,Xe);ge!=null&&ge!==Ae&&(ze=!0,Ae=ge)}return Ae=Ae.replace(/\n$/,"")+`
`,Xe?'<pre><code class="'+this.options.langPrefix+k(Xe,!0)+'">'+(ze?Ae:k(Ae,!0))+`</code></pre>
`:"<pre><code>"+(ze?Ae:k(Ae,!0))+`</code></pre>
`},rt.blockquote=function(Ae){return`<blockquote>
`+Ae+`</blockquote>
`},rt.html=function(Ae){return Ae},rt.heading=function(Ae,De,ze,Xe){return this.options.headerIds?"<h"+De+' id="'+this.options.headerPrefix+Xe.slug(ze)+'">'+Ae+"</h"+De+`>
`:"<h"+De+">"+Ae+"</h"+De+`>
`},rt.hr=function(){return this.options.xhtml?`<hr/>
`:`<hr>
`},rt.list=function(Ae,De,ze){var Xe=De?"ol":"ul",ge=De&&ze!==1?' start="'+ze+'"':"";return"<"+Xe+ge+`>
`+Ae+"</"+Xe+`>
`},rt.listitem=function(Ae){return"<li>"+Ae+`</li>
`},rt.checkbox=function(Ae){return"<input "+(Ae?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},rt.paragraph=function(Ae){return"<p>"+Ae+`</p>
`},rt.table=function(Ae,De){return De&&(De="<tbody>"+De+"</tbody>"),`<table>
<thead>
`+Ae+`</thead>
`+De+`</table>
`},rt.tablerow=function(Ae){return`<tr>
`+Ae+`</tr>
`},rt.tablecell=function(Ae,De){var ze=De.header?"th":"td",Xe=De.align?"<"+ze+' align="'+De.align+'">':"<"+ze+">";return Xe+Ae+"</"+ze+`>
`},rt.strong=function(Ae){return"<strong>"+Ae+"</strong>"},rt.em=function(Ae){return"<em>"+Ae+"</em>"},rt.codespan=function(Ae){return"<code>"+Ae+"</code>"},rt.br=function(){return this.options.xhtml?"<br/>":"<br>"},rt.del=function(Ae){return"<del>"+Ae+"</del>"},rt.link=function(Ae,De,ze){if(Ae=xe(this.options.sanitize,this.options.baseUrl,Ae),Ae===null)return ze;var Xe='<a href="'+k(Ae)+'"';return De&&(Xe+=' title="'+De+'"'),Xe+=">"+ze+"</a>",Xe},rt.image=function(Ae,De,ze){if(Ae=xe(this.options.sanitize,this.options.baseUrl,Ae),Ae===null)return ze;var Xe='<img src="'+Ae+'" alt="'+ze+'"';return De&&(Xe+=' title="'+De+'"'),Xe+=this.options.xhtml?"/>":">",Xe},rt.text=function(Ae){return Ae},He}(),T=function(){function He(){}var rt=He.prototype;return rt.strong=function(Ae){return Ae},rt.em=function(Ae){return Ae},rt.codespan=function(Ae){return Ae},rt.del=function(Ae){return Ae},rt.html=function(Ae){return Ae},rt.text=function(Ae){return Ae},rt.link=function(Ae,De,ze){return""+ze},rt.image=function(Ae,De,ze){return""+ze},rt.br=function(){return""},He}(),X=function(){function He(){this.seen={}}var rt=He.prototype;return rt.serialize=function(Ae){return Ae.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},rt.getNextSafeSlug=function(Ae,De){var ze=Ae,Xe=0;if(this.seen.hasOwnProperty(ze)){Xe=this.seen[Ae];do Xe++,ze=Ae+"-"+Xe;while(this.seen.hasOwnProperty(ze))}return De||(this.seen[Ae]=Xe,this.seen[ze]=0),ze},rt.slug=function(Ae,De){De===void 0&&(De={});var ze=this.serialize(Ae);return this.getNextSafeSlug(ze,De.dryrun)},He}(),G=E,K=T,we=X,Ke=Ee.exports.defaults,ke=Q.unescape,Te=function(){function He(Je){this.options=Je||Ke,this.options.renderer=this.options.renderer||new G,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new K,this.slugger=new we}He.parse=function(Ae,De){var ze=new He(De);return ze.parse(Ae)},He.parseInline=function(Ae,De){var ze=new He(De);return ze.parseInline(Ae)};var rt=He.prototype;return rt.parse=function(Ae,De){De===void 0&&(De=!0);var ze="",Xe,ge,an,$e,bn,Tn,Wt,Yt,Rt,Ot,Ge,xt,At,Ue,Ce,mt,lt,Pt,Ht=Ae.length;for(Xe=0;Xe<Ht;Xe++)switch(Ot=Ae[Xe],Ot.type){case"space":continue;case"hr":{ze+=this.renderer.hr();continue}case"heading":{ze+=this.renderer.heading(this.parseInline(Ot.tokens),Ot.depth,ke(this.parseInline(Ot.tokens,this.textRenderer)),this.slugger);continue}case"code":{ze+=this.renderer.code(Ot.text,Ot.lang,Ot.escaped);continue}case"table":{for(Yt="",Wt="",$e=Ot.header.length,ge=0;ge<$e;ge++)Wt+=this.renderer.tablecell(this.parseInline(Ot.tokens.header[ge]),{header:!0,align:Ot.align[ge]});for(Yt+=this.renderer.tablerow(Wt),Rt="",$e=Ot.cells.length,ge=0;ge<$e;ge++){for(Tn=Ot.tokens.cells[ge],Wt="",bn=Tn.length,an=0;an<bn;an++)Wt+=this.renderer.tablecell(this.parseInline(Tn[an]),{header:!1,align:Ot.align[an]});Rt+=this.renderer.tablerow(Wt)}ze+=this.renderer.table(Yt,Rt);continue}case"blockquote":{Rt=this.parse(Ot.tokens),ze+=this.renderer.blockquote(Rt);continue}case"list":{for(Ge=Ot.ordered,xt=Ot.start,At=Ot.loose,$e=Ot.items.length,Rt="",ge=0;ge<$e;ge++)Ce=Ot.items[ge],mt=Ce.checked,lt=Ce.task,Ue="",Ce.task&&(Pt=this.renderer.checkbox(mt),At?Ce.tokens.length>0&&Ce.tokens[0].type==="text"?(Ce.tokens[0].text=Pt+" "+Ce.tokens[0].text,Ce.tokens[0].tokens&&Ce.tokens[0].tokens.length>0&&Ce.tokens[0].tokens[0].type==="text"&&(Ce.tokens[0].tokens[0].text=Pt+" "+Ce.tokens[0].tokens[0].text)):Ce.tokens.unshift({type:"text",text:Pt}):Ue+=Pt),Ue+=this.parse(Ce.tokens,At),Rt+=this.renderer.listitem(Ue,lt,mt);ze+=this.renderer.list(Rt,Ge,xt);continue}case"html":{ze+=this.renderer.html(Ot.text);continue}case"paragraph":{ze+=this.renderer.paragraph(this.parseInline(Ot.tokens));continue}case"text":{for(Rt=Ot.tokens?this.parseInline(Ot.tokens):Ot.text;Xe+1<Ht&&Ae[Xe+1].type==="text";)Ot=Ae[++Xe],Rt+=`
`+(Ot.tokens?this.parseInline(Ot.tokens):Ot.text);ze+=De?this.renderer.paragraph(Rt):Rt;continue}default:{var tn='Token with "'+Ot.type+'" type was not found.';if(this.options.silent){console.error(tn);return}else throw new Error(tn)}}return ze},rt.parseInline=function(Ae,De){De=De||this.renderer;var ze="",Xe,ge,an=Ae.length;for(Xe=0;Xe<an;Xe++)switch(ge=Ae[Xe],ge.type){case"escape":{ze+=De.text(ge.text);break}case"html":{ze+=De.html(ge.text);break}case"link":{ze+=De.link(ge.href,ge.title,this.parseInline(ge.tokens,De));break}case"image":{ze+=De.image(ge.href,ge.title,ge.text);break}case"strong":{ze+=De.strong(this.parseInline(ge.tokens,De));break}case"em":{ze+=De.em(this.parseInline(ge.tokens,De));break}case"codespan":{ze+=De.codespan(ge.text);break}case"br":{ze+=De.br();break}case"del":{ze+=De.del(this.parseInline(ge.tokens,De));break}case"text":{ze+=De.text(ge.text);break}default:{var $e='Token with "'+ge.type+'" type was not found.';if(this.options.silent){console.error($e);return}else throw new Error($e)}}return ze},He}(),Ye=H,tt=Te,We=Oe,yt=E,St=T,pt=X,Lt=Q.merge,_t=Q.checkSanitizeDeprecation,w=Q.escape,D=Ee.exports.getDefaults,bt=Ee.exports.changeDefaults,ce=Ee.exports.defaults;function Me(He,rt,Je){if(typeof He=="undefined"||He===null)throw new Error("marked(): input parameter is undefined or null");if(typeof He!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(He)+", string expected");if(typeof rt=="function"&&(Je=rt,rt=null),rt=Lt({},Me.defaults,rt||{}),_t(rt),Je){var Ae=rt.highlight,De;try{De=Ye.lex(He,rt)}catch(an){return Je(an)}var ze=function($e){var bn;if(!$e)try{rt.walkTokens&&Me.walkTokens(De,rt.walkTokens),bn=tt.parse(De,rt)}catch(Tn){$e=Tn}return rt.highlight=Ae,$e?Je($e):Je(null,bn)};if(!Ae||Ae.length<3||(delete rt.highlight,!De.length))return ze();var Xe=0;Me.walkTokens(De,function(an){an.type==="code"&&(Xe++,setTimeout(function(){Ae(an.text,an.lang,function($e,bn){if($e)return ze($e);bn!=null&&bn!==an.text&&(an.text=bn,an.escaped=!0),Xe--,Xe===0&&ze()})},0))}),Xe===0&&ze();return}try{var ge=Ye.lex(He,rt);return rt.walkTokens&&Me.walkTokens(ge,rt.walkTokens),tt.parse(ge,rt)}catch(an){if(an.message+=`
Please report this to https://github.com/markedjs/marked.`,rt.silent)return"<p>An error occurred:</p><pre>"+w(an.message+"",!0)+"</pre>";throw an}}Me.options=Me.setOptions=function(He){return Lt(Me.defaults,He),bt(Me.defaults),Me},Me.getDefaults=D,Me.defaults=ce,Me.use=function(He){var rt=Lt({},He);if(He.renderer&&function(){var Ae=Me.defaults.renderer||new yt,De=function(ge){var an=Ae[ge];Ae[ge]=function(){for(var $e=arguments.length,bn=new Array($e),Tn=0;Tn<$e;Tn++)bn[Tn]=arguments[Tn];var Wt=He.renderer[ge].apply(Ae,bn);return Wt===!1&&(Wt=an.apply(Ae,bn)),Wt}};for(var ze in He.renderer)De(ze);rt.renderer=Ae}(),He.tokenizer&&function(){var Ae=Me.defaults.tokenizer||new We,De=function(ge){var an=Ae[ge];Ae[ge]=function(){for(var $e=arguments.length,bn=new Array($e),Tn=0;Tn<$e;Tn++)bn[Tn]=arguments[Tn];var Wt=He.tokenizer[ge].apply(Ae,bn);return Wt===!1&&(Wt=an.apply(Ae,bn)),Wt}};for(var ze in He.tokenizer)De(ze);rt.tokenizer=Ae}(),He.walkTokens){var Je=Me.defaults.walkTokens;rt.walkTokens=function(Ae){He.walkTokens(Ae),Je&&Je(Ae)}}Me.setOptions(rt)},Me.walkTokens=function(He,rt){for(var Je=ee(He),Ae;!(Ae=Je()).done;){var De=Ae.value;switch(rt(De),De.type){case"table":{for(var ze=ee(De.tokens.header),Xe;!(Xe=ze()).done;){var ge=Xe.value;Me.walkTokens(ge,rt)}for(var an=ee(De.tokens.cells),$e;!($e=an()).done;)for(var bn=$e.value,Tn=ee(bn),Wt;!(Wt=Tn()).done;){var Yt=Wt.value;Me.walkTokens(Yt,rt)}break}case"list":{Me.walkTokens(De.items,rt);break}default:De.tokens&&Me.walkTokens(De.tokens,rt)}}},Me.parseInline=function(He,rt){if(typeof He=="undefined"||He===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof He!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(He)+", string expected");rt=Lt({},Me.defaults,rt||{}),_t(rt);try{var Je=Ye.lexInline(He,rt);return rt.walkTokens&&Me.walkTokens(Je,rt.walkTokens),tt.parseInline(Je,rt)}catch(Ae){if(Ae.message+=`
Please report this to https://github.com/markedjs/marked.`,rt.silent)return"<p>An error occurred:</p><pre>"+w(Ae.message+"",!0)+"</pre>";throw Ae}},Me.Parser=tt,Me.parser=tt.parse,Me.Renderer=yt,Me.TextRenderer=St,Me.Lexer=Ye,Me.lexer=Ye.lex,Me.Tokenizer=We,Me.Slugger=pt,Me.parse=Me;var pn=Me;return pn})},11690:function(en){const et=/[&<>"']/,f=/[&<>"']/g,y=/[<>"']|&(?!#?\w+;)/,L=/[<>"']|&(?!#?\w+;)/g,ee={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Ee=j=>ee[j];function $(j,he){if(he){if(et.test(j))return j.replace(f,Ee)}else if(y.test(j))return j.replace(L,Ee);return j}const q=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function C(j){return j.replace(q,(he,me)=>(me=me.toLowerCase(),me==="colon"?":":me.charAt(0)==="#"?me.charAt(1)==="x"?String.fromCharCode(parseInt(me.substring(2),16)):String.fromCharCode(+me.substring(1)):""))}const Se=/(^|[^\[])\^/g;function a(j,he){j=j.source||j,he=he||"";const me={replace:(fe,ae)=>(ae=ae.source||ae,ae=ae.replace(Se,"$1"),j=j.replace(fe,ae),me),getRegex:()=>new RegExp(j,he)};return me}const I=/[^\w:]/g,z=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function S(j,he,me){if(j){let fe;try{fe=decodeURIComponent(C(me)).replace(I,"").toLowerCase()}catch(ae){return null}if(fe.indexOf("javascript:")===0||fe.indexOf("vbscript:")===0||fe.indexOf("data:")===0)return null}he&&!z.test(me)&&(me=ue(he,me));try{me=encodeURI(me).replace(/%25/g,"%")}catch(fe){return null}return me}const u={},x=/^[^:]+:\/*[^/]*$/,m=/^([^:]+:)[\s\S]*$/,P=/^([^:]+:\/*[^/]*)[\s\S]*$/;function ue(j,he){u[" "+j]||(x.test(j)?u[" "+j]=j+"/":u[" "+j]=Y(j,"/",!0)),j=u[" "+j];const me=j.indexOf(":")===-1;return he.substring(0,2)==="//"?me?he:j.replace(m,"$1")+he:he.charAt(0)==="/"?me?he:j.replace(P,"$1")+he:j+he}const B={exec:function(){}};function W(j){let he=1,me,fe;for(;he<arguments.length;he++){me=arguments[he];for(fe in me)Object.prototype.hasOwnProperty.call(me,fe)&&(j[fe]=me[fe])}return j}function ne(j,he){const me=j.replace(/\|/g,(te,U,pe)=>{let Q=!1,de=U;for(;--de>=0&&pe[de]==="\\";)Q=!Q;return Q?"|":" |"}),fe=me.split(/ \|/);let ae=0;if(fe.length>he)fe.splice(he);else for(;fe.length<he;)fe.push("");for(;ae<fe.length;ae++)fe[ae]=fe[ae].trim().replace(/\\\|/g,"|");return fe}function Y(j,he,me){const fe=j.length;if(fe===0)return"";let ae=0;for(;ae<fe;){const te=j.charAt(fe-ae-1);if(te===he&&!me)ae++;else if(te!==he&&me)ae++;else break}return j.substr(0,fe-ae)}function b(j,he){if(j.indexOf(he[1])===-1)return-1;const me=j.length;let fe=0,ae=0;for(;ae<me;ae++)if(j[ae]==="\\")ae++;else if(j[ae]===he[0])fe++;else if(j[ae]===he[1]&&(fe--,fe<0))return ae;return-1}function R(j){j&&j.sanitize&&!j.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function Z(j,he){if(he<1)return"";let me="";for(;he>1;)he&1&&(me+=j),he>>=1,j+=j;return me+j}en.exports={escape:$,unescape:C,edit:a,cleanUrl:S,resolveUrl:ue,noopTest:B,merge:W,splitCells:ne,rtrim:Y,findClosingBracket:b,checkSanitizeDeprecation:R,repeatString:Z}},75918:function(en,et,f){"use strict";f.d(et,{Wi:function(){return q},Z0:function(){return C},aU:function(){return $},eZ:function(){return a},wY:function(){return Se}});var y=f(4348),L=f(69323),ee=f(13268),Ee=function(I,z,S,u){function x(m){return m instanceof S?m:new S(function(P){P(m)})}return new(S||(S=Promise))(function(m,P){function ue(ne){try{W(u.next(ne))}catch(Y){P(Y)}}function B(ne){try{W(u.throw(ne))}catch(Y){P(Y)}}function W(ne){ne.done?m(ne.value):x(ne.value).then(ue,B)}W((u=u.apply(I,z||[])).next())})};class $ extends L.JT{constructor(z,S="",u="",x=!0,m){super(),this._onDidChange=this._register(new y.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=z,this._label=S,this._cssClass=u,this._enabled=x,this._actionCallback=m}get id(){return this._id}get label(){return this._label}set label(z){this._setLabel(z)}_setLabel(z){this._label!==z&&(this._label=z,this._onDidChange.fire({label:z}))}get tooltip(){return this._tooltip||""}set tooltip(z){this._setTooltip(z)}_setTooltip(z){this._tooltip!==z&&(this._tooltip=z,this._onDidChange.fire({tooltip:z}))}get class(){return this._cssClass}set class(z){this._setClass(z)}_setClass(z){this._cssClass!==z&&(this._cssClass=z,this._onDidChange.fire({class:z}))}get enabled(){return this._enabled}set enabled(z){this._setEnabled(z)}_setEnabled(z){this._enabled!==z&&(this._enabled=z,this._onDidChange.fire({enabled:z}))}get checked(){return this._checked}set checked(z){this._setChecked(z)}_setChecked(z){this._checked!==z&&(this._checked=z,this._onDidChange.fire({checked:z}))}run(z,S){return Ee(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(z))})}}class q extends L.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new y.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new y.Q5),this.onDidRun=this._onDidRun.event}run(z,S){return Ee(this,void 0,void 0,function*(){if(!z.enabled)return;this._onBeforeRun.fire({action:z});let u;try{yield this.runAction(z,S)}catch(x){u=x}this._onDidRun.fire({action:z,error:u})})}runAction(z,S){return Ee(this,void 0,void 0,function*(){yield z.run(S)})}}class C extends ${constructor(z){super(C.ID,z,z?"separator text":"separator"),this.checked=!1,this.enabled=!1}}C.ID="vs.actions.separator";class Se{constructor(z,S,u,x){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=z,this.label=S,this.class=x,this._actions=u}get actions(){return this._actions}dispose(){}run(){return Ee(this,void 0,void 0,function*(){})}}class a extends ${constructor(){super(a.ID,ee.N("submenu.empty","(empty)"),void 0,!1)}}a.ID="vs.actions.empty"},76068:function(en,et,f){"use strict";f.d(et,{ok:function(){return y}});function y(L,ee){if(!L)throw new Error(ee?`Assertion failed (${ee})`:"Assertion Failed")}},52615:function(en,et,f){"use strict";f.d(et,{CM:function(){return $},JL:function(){return q},dT:function(){return Se},fK:function(){return Ee},lA:function(){return C}});var y=f(4348);class L{constructor(){this._icons=new Map,this._onDidRegister=new y.Q5}add(I){const z=this._icons.get(I.id);z?I.description?z.description=I.description:console.error(`Duplicate registration of codicon ${I.id}`):(this._icons.set(I.id,I),this._onDidRegister.fire(I))}get(I){return this._icons.get(I)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const ee=new L,Ee=ee;function $(a,I){return new C(a,I)}function q(a){return a?a.replace(/\$\((.*?)\)/g,(I,z)=>` ${z} `).trim():""}class C{constructor(I,z,S){this.id=I,this.definition=z,this.description=S,ee.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var Se;(function(a){a.iconNameSegment="[A-Za-z0-9]+",a.iconNameExpression="[A-Za-z0-9\\-]+",a.iconModifierExpression="~[A-Za-z]+";const I=new RegExp(`^(${a.iconNameExpression})(${a.iconModifierExpression})?$`);function z(x){if(x instanceof C)return["codicon","codicon-"+x.id];const m=I.exec(x.id);if(!m)return z(C.error);let[,P,ue]=m;const B=["codicon","codicon-"+P];return ue&&B.push("codicon-modifier-"+ue.substr(1)),B}a.asClassNameArray=z;function S(x){return z(x).join(" ")}a.asClassName=S;function u(x){return"."+z(x).join(".")}a.asCSSSelector=u})(Se||(Se={})),function(a){a.add=new a("add",{fontCharacter:"\\ea60"}),a.plus=new a("plus",a.add.definition),a.gistNew=new a("gist-new",a.add.definition),a.repoCreate=new a("repo-create",a.add.definition),a.lightbulb=new a("lightbulb",{fontCharacter:"\\ea61"}),a.lightBulb=new a("light-bulb",{fontCharacter:"\\ea61"}),a.repo=new a("repo",{fontCharacter:"\\ea62"}),a.repoDelete=new a("repo-delete",{fontCharacter:"\\ea62"}),a.gistFork=new a("gist-fork",{fontCharacter:"\\ea63"}),a.repoForked=new a("repo-forked",{fontCharacter:"\\ea63"}),a.gitPullRequest=new a("git-pull-request",{fontCharacter:"\\ea64"}),a.gitPullRequestAbandoned=new a("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),a.recordKeys=new a("record-keys",{fontCharacter:"\\ea65"}),a.keyboard=new a("keyboard",{fontCharacter:"\\ea65"}),a.tag=new a("tag",{fontCharacter:"\\ea66"}),a.tagAdd=new a("tag-add",{fontCharacter:"\\ea66"}),a.tagRemove=new a("tag-remove",{fontCharacter:"\\ea66"}),a.person=new a("person",{fontCharacter:"\\ea67"}),a.personFollow=new a("person-follow",{fontCharacter:"\\ea67"}),a.personOutline=new a("person-outline",{fontCharacter:"\\ea67"}),a.personFilled=new a("person-filled",{fontCharacter:"\\ea67"}),a.gitBranch=new a("git-branch",{fontCharacter:"\\ea68"}),a.gitBranchCreate=new a("git-branch-create",{fontCharacter:"\\ea68"}),a.gitBranchDelete=new a("git-branch-delete",{fontCharacter:"\\ea68"}),a.sourceControl=new a("source-control",{fontCharacter:"\\ea68"}),a.mirror=new a("mirror",{fontCharacter:"\\ea69"}),a.mirrorPublic=new a("mirror-public",{fontCharacter:"\\ea69"}),a.star=new a("star",{fontCharacter:"\\ea6a"}),a.starAdd=new a("star-add",{fontCharacter:"\\ea6a"}),a.starDelete=new a("star-delete",{fontCharacter:"\\ea6a"}),a.starEmpty=new a("star-empty",{fontCharacter:"\\ea6a"}),a.comment=new a("comment",{fontCharacter:"\\ea6b"}),a.commentAdd=new a("comment-add",{fontCharacter:"\\ea6b"}),a.alert=new a("alert",{fontCharacter:"\\ea6c"}),a.warning=new a("warning",{fontCharacter:"\\ea6c"}),a.search=new a("search",{fontCharacter:"\\ea6d"}),a.searchSave=new a("search-save",{fontCharacter:"\\ea6d"}),a.logOut=new a("log-out",{fontCharacter:"\\ea6e"}),a.signOut=new a("sign-out",{fontCharacter:"\\ea6e"}),a.logIn=new a("log-in",{fontCharacter:"\\ea6f"}),a.signIn=new a("sign-in",{fontCharacter:"\\ea6f"}),a.eye=new a("eye",{fontCharacter:"\\ea70"}),a.eyeUnwatch=new a("eye-unwatch",{fontCharacter:"\\ea70"}),a.eyeWatch=new a("eye-watch",{fontCharacter:"\\ea70"}),a.circleFilled=new a("circle-filled",{fontCharacter:"\\ea71"}),a.primitiveDot=new a("primitive-dot",{fontCharacter:"\\ea71"}),a.closeDirty=new a("close-dirty",{fontCharacter:"\\ea71"}),a.debugBreakpoint=new a("debug-breakpoint",{fontCharacter:"\\ea71"}),a.debugBreakpointDisabled=new a("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),a.debugHint=new a("debug-hint",{fontCharacter:"\\ea71"}),a.primitiveSquare=new a("primitive-square",{fontCharacter:"\\ea72"}),a.edit=new a("edit",{fontCharacter:"\\ea73"}),a.pencil=new a("pencil",{fontCharacter:"\\ea73"}),a.info=new a("info",{fontCharacter:"\\ea74"}),a.issueOpened=new a("issue-opened",{fontCharacter:"\\ea74"}),a.gistPrivate=new a("gist-private",{fontCharacter:"\\ea75"}),a.gitForkPrivate=new a("git-fork-private",{fontCharacter:"\\ea75"}),a.lock=new a("lock",{fontCharacter:"\\ea75"}),a.mirrorPrivate=new a("mirror-private",{fontCharacter:"\\ea75"}),a.close=new a("close",{fontCharacter:"\\ea76"}),a.removeClose=new a("remove-close",{fontCharacter:"\\ea76"}),a.x=new a("x",{fontCharacter:"\\ea76"}),a.repoSync=new a("repo-sync",{fontCharacter:"\\ea77"}),a.sync=new a("sync",{fontCharacter:"\\ea77"}),a.clone=new a("clone",{fontCharacter:"\\ea78"}),a.desktopDownload=new a("desktop-download",{fontCharacter:"\\ea78"}),a.beaker=new a("beaker",{fontCharacter:"\\ea79"}),a.microscope=new a("microscope",{fontCharacter:"\\ea79"}),a.vm=new a("vm",{fontCharacter:"\\ea7a"}),a.deviceDesktop=new a("device-desktop",{fontCharacter:"\\ea7a"}),a.file=new a("file",{fontCharacter:"\\ea7b"}),a.fileText=new a("file-text",{fontCharacter:"\\ea7b"}),a.more=new a("more",{fontCharacter:"\\ea7c"}),a.ellipsis=new a("ellipsis",{fontCharacter:"\\ea7c"}),a.kebabHorizontal=new a("kebab-horizontal",{fontCharacter:"\\ea7c"}),a.mailReply=new a("mail-reply",{fontCharacter:"\\ea7d"}),a.reply=new a("reply",{fontCharacter:"\\ea7d"}),a.organization=new a("organization",{fontCharacter:"\\ea7e"}),a.organizationFilled=new a("organization-filled",{fontCharacter:"\\ea7e"}),a.organizationOutline=new a("organization-outline",{fontCharacter:"\\ea7e"}),a.newFile=new a("new-file",{fontCharacter:"\\ea7f"}),a.fileAdd=new a("file-add",{fontCharacter:"\\ea7f"}),a.newFolder=new a("new-folder",{fontCharacter:"\\ea80"}),a.fileDirectoryCreate=new a("file-directory-create",{fontCharacter:"\\ea80"}),a.trash=new a("trash",{fontCharacter:"\\ea81"}),a.trashcan=new a("trashcan",{fontCharacter:"\\ea81"}),a.history=new a("history",{fontCharacter:"\\ea82"}),a.clock=new a("clock",{fontCharacter:"\\ea82"}),a.folder=new a("folder",{fontCharacter:"\\ea83"}),a.fileDirectory=new a("file-directory",{fontCharacter:"\\ea83"}),a.symbolFolder=new a("symbol-folder",{fontCharacter:"\\ea83"}),a.logoGithub=new a("logo-github",{fontCharacter:"\\ea84"}),a.markGithub=new a("mark-github",{fontCharacter:"\\ea84"}),a.github=new a("github",{fontCharacter:"\\ea84"}),a.terminal=new a("terminal",{fontCharacter:"\\ea85"}),a.console=new a("console",{fontCharacter:"\\ea85"}),a.repl=new a("repl",{fontCharacter:"\\ea85"}),a.zap=new a("zap",{fontCharacter:"\\ea86"}),a.symbolEvent=new a("symbol-event",{fontCharacter:"\\ea86"}),a.error=new a("error",{fontCharacter:"\\ea87"}),a.stop=new a("stop",{fontCharacter:"\\ea87"}),a.variable=new a("variable",{fontCharacter:"\\ea88"}),a.symbolVariable=new a("symbol-variable",{fontCharacter:"\\ea88"}),a.array=new a("array",{fontCharacter:"\\ea8a"}),a.symbolArray=new a("symbol-array",{fontCharacter:"\\ea8a"}),a.symbolModule=new a("symbol-module",{fontCharacter:"\\ea8b"}),a.symbolPackage=new a("symbol-package",{fontCharacter:"\\ea8b"}),a.symbolNamespace=new a("symbol-namespace",{fontCharacter:"\\ea8b"}),a.symbolObject=new a("symbol-object",{fontCharacter:"\\ea8b"}),a.symbolMethod=new a("symbol-method",{fontCharacter:"\\ea8c"}),a.symbolFunction=new a("symbol-function",{fontCharacter:"\\ea8c"}),a.symbolConstructor=new a("symbol-constructor",{fontCharacter:"\\ea8c"}),a.symbolBoolean=new a("symbol-boolean",{fontCharacter:"\\ea8f"}),a.symbolNull=new a("symbol-null",{fontCharacter:"\\ea8f"}),a.symbolNumeric=new a("symbol-numeric",{fontCharacter:"\\ea90"}),a.symbolNumber=new a("symbol-number",{fontCharacter:"\\ea90"}),a.symbolStructure=new a("symbol-structure",{fontCharacter:"\\ea91"}),a.symbolStruct=new a("symbol-struct",{fontCharacter:"\\ea91"}),a.symbolParameter=new a("symbol-parameter",{fontCharacter:"\\ea92"}),a.symbolTypeParameter=new a("symbol-type-parameter",{fontCharacter:"\\ea92"}),a.symbolKey=new a("symbol-key",{fontCharacter:"\\ea93"}),a.symbolText=new a("symbol-text",{fontCharacter:"\\ea93"}),a.symbolReference=new a("symbol-reference",{fontCharacter:"\\ea94"}),a.goToFile=new a("go-to-file",{fontCharacter:"\\ea94"}),a.symbolEnum=new a("symbol-enum",{fontCharacter:"\\ea95"}),a.symbolValue=new a("symbol-value",{fontCharacter:"\\ea95"}),a.symbolRuler=new a("symbol-ruler",{fontCharacter:"\\ea96"}),a.symbolUnit=new a("symbol-unit",{fontCharacter:"\\ea96"}),a.activateBreakpoints=new a("activate-breakpoints",{fontCharacter:"\\ea97"}),a.archive=new a("archive",{fontCharacter:"\\ea98"}),a.arrowBoth=new a("arrow-both",{fontCharacter:"\\ea99"}),a.arrowDown=new a("arrow-down",{fontCharacter:"\\ea9a"}),a.arrowLeft=new a("arrow-left",{fontCharacter:"\\ea9b"}),a.arrowRight=new a("arrow-right",{fontCharacter:"\\ea9c"}),a.arrowSmallDown=new a("arrow-small-down",{fontCharacter:"\\ea9d"}),a.arrowSmallLeft=new a("arrow-small-left",{fontCharacter:"\\ea9e"}),a.arrowSmallRight=new a("arrow-small-right",{fontCharacter:"\\ea9f"}),a.arrowSmallUp=new a("arrow-small-up",{fontCharacter:"\\eaa0"}),a.arrowUp=new a("arrow-up",{fontCharacter:"\\eaa1"}),a.bell=new a("bell",{fontCharacter:"\\eaa2"}),a.bold=new a("bold",{fontCharacter:"\\eaa3"}),a.book=new a("book",{fontCharacter:"\\eaa4"}),a.bookmark=new a("bookmark",{fontCharacter:"\\eaa5"}),a.debugBreakpointConditionalUnverified=new a("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),a.debugBreakpointConditional=new a("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),a.debugBreakpointConditionalDisabled=new a("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),a.debugBreakpointDataUnverified=new a("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),a.debugBreakpointData=new a("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),a.debugBreakpointDataDisabled=new a("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),a.debugBreakpointLogUnverified=new a("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),a.debugBreakpointLog=new a("debug-breakpoint-log",{fontCharacter:"\\eaab"}),a.debugBreakpointLogDisabled=new a("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),a.briefcase=new a("briefcase",{fontCharacter:"\\eaac"}),a.broadcast=new a("broadcast",{fontCharacter:"\\eaad"}),a.browser=new a("browser",{fontCharacter:"\\eaae"}),a.bug=new a("bug",{fontCharacter:"\\eaaf"}),a.calendar=new a("calendar",{fontCharacter:"\\eab0"}),a.caseSensitive=new a("case-sensitive",{fontCharacter:"\\eab1"}),a.check=new a("check",{fontCharacter:"\\eab2"}),a.checklist=new a("checklist",{fontCharacter:"\\eab3"}),a.chevronDown=new a("chevron-down",{fontCharacter:"\\eab4"}),a.dropDownButton=new a("drop-down-button",a.chevronDown.definition),a.chevronLeft=new a("chevron-left",{fontCharacter:"\\eab5"}),a.chevronRight=new a("chevron-right",{fontCharacter:"\\eab6"}),a.chevronUp=new a("chevron-up",{fontCharacter:"\\eab7"}),a.chromeClose=new a("chrome-close",{fontCharacter:"\\eab8"}),a.chromeMaximize=new a("chrome-maximize",{fontCharacter:"\\eab9"}),a.chromeMinimize=new a("chrome-minimize",{fontCharacter:"\\eaba"}),a.chromeRestore=new a("chrome-restore",{fontCharacter:"\\eabb"}),a.circleOutline=new a("circle-outline",{fontCharacter:"\\eabc"}),a.debugBreakpointUnverified=new a("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),a.circleSlash=new a("circle-slash",{fontCharacter:"\\eabd"}),a.circuitBoard=new a("circuit-board",{fontCharacter:"\\eabe"}),a.clearAll=new a("clear-all",{fontCharacter:"\\eabf"}),a.clippy=new a("clippy",{fontCharacter:"\\eac0"}),a.closeAll=new a("close-all",{fontCharacter:"\\eac1"}),a.cloudDownload=new a("cloud-download",{fontCharacter:"\\eac2"}),a.cloudUpload=new a("cloud-upload",{fontCharacter:"\\eac3"}),a.code=new a("code",{fontCharacter:"\\eac4"}),a.collapseAll=new a("collapse-all",{fontCharacter:"\\eac5"}),a.colorMode=new a("color-mode",{fontCharacter:"\\eac6"}),a.commentDiscussion=new a("comment-discussion",{fontCharacter:"\\eac7"}),a.compareChanges=new a("compare-changes",{fontCharacter:"\\eafd"}),a.creditCard=new a("credit-card",{fontCharacter:"\\eac9"}),a.dash=new a("dash",{fontCharacter:"\\eacc"}),a.dashboard=new a("dashboard",{fontCharacter:"\\eacd"}),a.database=new a("database",{fontCharacter:"\\eace"}),a.debugContinue=new a("debug-continue",{fontCharacter:"\\eacf"}),a.debugDisconnect=new a("debug-disconnect",{fontCharacter:"\\ead0"}),a.debugPause=new a("debug-pause",{fontCharacter:"\\ead1"}),a.debugRestart=new a("debug-restart",{fontCharacter:"\\ead2"}),a.debugStart=new a("debug-start",{fontCharacter:"\\ead3"}),a.debugStepInto=new a("debug-step-into",{fontCharacter:"\\ead4"}),a.debugStepOut=new a("debug-step-out",{fontCharacter:"\\ead5"}),a.debugStepOver=new a("debug-step-over",{fontCharacter:"\\ead6"}),a.debugStop=new a("debug-stop",{fontCharacter:"\\ead7"}),a.debug=new a("debug",{fontCharacter:"\\ead8"}),a.deviceCameraVideo=new a("device-camera-video",{fontCharacter:"\\ead9"}),a.deviceCamera=new a("device-camera",{fontCharacter:"\\eada"}),a.deviceMobile=new a("device-mobile",{fontCharacter:"\\eadb"}),a.diffAdded=new a("diff-added",{fontCharacter:"\\eadc"}),a.diffIgnored=new a("diff-ignored",{fontCharacter:"\\eadd"}),a.diffModified=new a("diff-modified",{fontCharacter:"\\eade"}),a.diffRemoved=new a("diff-removed",{fontCharacter:"\\eadf"}),a.diffRenamed=new a("diff-renamed",{fontCharacter:"\\eae0"}),a.diff=new a("diff",{fontCharacter:"\\eae1"}),a.discard=new a("discard",{fontCharacter:"\\eae2"}),a.editorLayout=new a("editor-layout",{fontCharacter:"\\eae3"}),a.emptyWindow=new a("empty-window",{fontCharacter:"\\eae4"}),a.exclude=new a("exclude",{fontCharacter:"\\eae5"}),a.extensions=new a("extensions",{fontCharacter:"\\eae6"}),a.eyeClosed=new a("eye-closed",{fontCharacter:"\\eae7"}),a.fileBinary=new a("file-binary",{fontCharacter:"\\eae8"}),a.fileCode=new a("file-code",{fontCharacter:"\\eae9"}),a.fileMedia=new a("file-media",{fontCharacter:"\\eaea"}),a.filePdf=new a("file-pdf",{fontCharacter:"\\eaeb"}),a.fileSubmodule=new a("file-submodule",{fontCharacter:"\\eaec"}),a.fileSymlinkDirectory=new a("file-symlink-directory",{fontCharacter:"\\eaed"}),a.fileSymlinkFile=new a("file-symlink-file",{fontCharacter:"\\eaee"}),a.fileZip=new a("file-zip",{fontCharacter:"\\eaef"}),a.files=new a("files",{fontCharacter:"\\eaf0"}),a.filter=new a("filter",{fontCharacter:"\\eaf1"}),a.flame=new a("flame",{fontCharacter:"\\eaf2"}),a.foldDown=new a("fold-down",{fontCharacter:"\\eaf3"}),a.foldUp=new a("fold-up",{fontCharacter:"\\eaf4"}),a.fold=new a("fold",{fontCharacter:"\\eaf5"}),a.folderActive=new a("folder-active",{fontCharacter:"\\eaf6"}),a.folderOpened=new a("folder-opened",{fontCharacter:"\\eaf7"}),a.gear=new a("gear",{fontCharacter:"\\eaf8"}),a.gift=new a("gift",{fontCharacter:"\\eaf9"}),a.gistSecret=new a("gist-secret",{fontCharacter:"\\eafa"}),a.gist=new a("gist",{fontCharacter:"\\eafb"}),a.gitCommit=new a("git-commit",{fontCharacter:"\\eafc"}),a.gitCompare=new a("git-compare",{fontCharacter:"\\eafd"}),a.gitMerge=new a("git-merge",{fontCharacter:"\\eafe"}),a.githubAction=new a("github-action",{fontCharacter:"\\eaff"}),a.githubAlt=new a("github-alt",{fontCharacter:"\\eb00"}),a.globe=new a("globe",{fontCharacter:"\\eb01"}),a.grabber=new a("grabber",{fontCharacter:"\\eb02"}),a.graph=new a("graph",{fontCharacter:"\\eb03"}),a.gripper=new a("gripper",{fontCharacter:"\\eb04"}),a.heart=new a("heart",{fontCharacter:"\\eb05"}),a.home=new a("home",{fontCharacter:"\\eb06"}),a.horizontalRule=new a("horizontal-rule",{fontCharacter:"\\eb07"}),a.hubot=new a("hubot",{fontCharacter:"\\eb08"}),a.inbox=new a("inbox",{fontCharacter:"\\eb09"}),a.issueClosed=new a("issue-closed",{fontCharacter:"\\eba4"}),a.issueReopened=new a("issue-reopened",{fontCharacter:"\\eb0b"}),a.issues=new a("issues",{fontCharacter:"\\eb0c"}),a.italic=new a("italic",{fontCharacter:"\\eb0d"}),a.jersey=new a("jersey",{fontCharacter:"\\eb0e"}),a.json=new a("json",{fontCharacter:"\\eb0f"}),a.kebabVertical=new a("kebab-vertical",{fontCharacter:"\\eb10"}),a.key=new a("key",{fontCharacter:"\\eb11"}),a.law=new a("law",{fontCharacter:"\\eb12"}),a.lightbulbAutofix=new a("lightbulb-autofix",{fontCharacter:"\\eb13"}),a.linkExternal=new a("link-external",{fontCharacter:"\\eb14"}),a.link=new a("link",{fontCharacter:"\\eb15"}),a.listOrdered=new a("list-ordered",{fontCharacter:"\\eb16"}),a.listUnordered=new a("list-unordered",{fontCharacter:"\\eb17"}),a.liveShare=new a("live-share",{fontCharacter:"\\eb18"}),a.loading=new a("loading",{fontCharacter:"\\eb19"}),a.location=new a("location",{fontCharacter:"\\eb1a"}),a.mailRead=new a("mail-read",{fontCharacter:"\\eb1b"}),a.mail=new a("mail",{fontCharacter:"\\eb1c"}),a.markdown=new a("markdown",{fontCharacter:"\\eb1d"}),a.megaphone=new a("megaphone",{fontCharacter:"\\eb1e"}),a.mention=new a("mention",{fontCharacter:"\\eb1f"}),a.milestone=new a("milestone",{fontCharacter:"\\eb20"}),a.mortarBoard=new a("mortar-board",{fontCharacter:"\\eb21"}),a.move=new a("move",{fontCharacter:"\\eb22"}),a.multipleWindows=new a("multiple-windows",{fontCharacter:"\\eb23"}),a.mute=new a("mute",{fontCharacter:"\\eb24"}),a.noNewline=new a("no-newline",{fontCharacter:"\\eb25"}),a.note=new a("note",{fontCharacter:"\\eb26"}),a.octoface=new a("octoface",{fontCharacter:"\\eb27"}),a.openPreview=new a("open-preview",{fontCharacter:"\\eb28"}),a.package_=new a("package",{fontCharacter:"\\eb29"}),a.paintcan=new a("paintcan",{fontCharacter:"\\eb2a"}),a.pin=new a("pin",{fontCharacter:"\\eb2b"}),a.play=new a("play",{fontCharacter:"\\eb2c"}),a.run=new a("run",{fontCharacter:"\\eb2c"}),a.plug=new a("plug",{fontCharacter:"\\eb2d"}),a.preserveCase=new a("preserve-case",{fontCharacter:"\\eb2e"}),a.preview=new a("preview",{fontCharacter:"\\eb2f"}),a.project=new a("project",{fontCharacter:"\\eb30"}),a.pulse=new a("pulse",{fontCharacter:"\\eb31"}),a.question=new a("question",{fontCharacter:"\\eb32"}),a.quote=new a("quote",{fontCharacter:"\\eb33"}),a.radioTower=new a("radio-tower",{fontCharacter:"\\eb34"}),a.reactions=new a("reactions",{fontCharacter:"\\eb35"}),a.references=new a("references",{fontCharacter:"\\eb36"}),a.refresh=new a("refresh",{fontCharacter:"\\eb37"}),a.regex=new a("regex",{fontCharacter:"\\eb38"}),a.remoteExplorer=new a("remote-explorer",{fontCharacter:"\\eb39"}),a.remote=new a("remote",{fontCharacter:"\\eb3a"}),a.remove=new a("remove",{fontCharacter:"\\eb3b"}),a.replaceAll=new a("replace-all",{fontCharacter:"\\eb3c"}),a.replace=new a("replace",{fontCharacter:"\\eb3d"}),a.repoClone=new a("repo-clone",{fontCharacter:"\\eb3e"}),a.repoForcePush=new a("repo-force-push",{fontCharacter:"\\eb3f"}),a.repoPull=new a("repo-pull",{fontCharacter:"\\eb40"}),a.repoPush=new a("repo-push",{fontCharacter:"\\eb41"}),a.report=new a("report",{fontCharacter:"\\eb42"}),a.requestChanges=new a("request-changes",{fontCharacter:"\\eb43"}),a.rocket=new a("rocket",{fontCharacter:"\\eb44"}),a.rootFolderOpened=new a("root-folder-opened",{fontCharacter:"\\eb45"}),a.rootFolder=new a("root-folder",{fontCharacter:"\\eb46"}),a.rss=new a("rss",{fontCharacter:"\\eb47"}),a.ruby=new a("ruby",{fontCharacter:"\\eb48"}),a.saveAll=new a("save-all",{fontCharacter:"\\eb49"}),a.saveAs=new a("save-as",{fontCharacter:"\\eb4a"}),a.save=new a("save",{fontCharacter:"\\eb4b"}),a.screenFull=new a("screen-full",{fontCharacter:"\\eb4c"}),a.screenNormal=new a("screen-normal",{fontCharacter:"\\eb4d"}),a.searchStop=new a("search-stop",{fontCharacter:"\\eb4e"}),a.server=new a("server",{fontCharacter:"\\eb50"}),a.settingsGear=new a("settings-gear",{fontCharacter:"\\eb51"}),a.settings=new a("settings",{fontCharacter:"\\eb52"}),a.shield=new a("shield",{fontCharacter:"\\eb53"}),a.smiley=new a("smiley",{fontCharacter:"\\eb54"}),a.sortPrecedence=new a("sort-precedence",{fontCharacter:"\\eb55"}),a.splitHorizontal=new a("split-horizontal",{fontCharacter:"\\eb56"}),a.splitVertical=new a("split-vertical",{fontCharacter:"\\eb57"}),a.squirrel=new a("squirrel",{fontCharacter:"\\eb58"}),a.starFull=new a("star-full",{fontCharacter:"\\eb59"}),a.starHalf=new a("star-half",{fontCharacter:"\\eb5a"}),a.symbolClass=new a("symbol-class",{fontCharacter:"\\eb5b"}),a.symbolColor=new a("symbol-color",{fontCharacter:"\\eb5c"}),a.symbolConstant=new a("symbol-constant",{fontCharacter:"\\eb5d"}),a.symbolEnumMember=new a("symbol-enum-member",{fontCharacter:"\\eb5e"}),a.symbolField=new a("symbol-field",{fontCharacter:"\\eb5f"}),a.symbolFile=new a("symbol-file",{fontCharacter:"\\eb60"}),a.symbolInterface=new a("symbol-interface",{fontCharacter:"\\eb61"}),a.symbolKeyword=new a("symbol-keyword",{fontCharacter:"\\eb62"}),a.symbolMisc=new a("symbol-misc",{fontCharacter:"\\eb63"}),a.symbolOperator=new a("symbol-operator",{fontCharacter:"\\eb64"}),a.symbolProperty=new a("symbol-property",{fontCharacter:"\\eb65"}),a.wrench=new a("wrench",{fontCharacter:"\\eb65"}),a.wrenchSubaction=new a("wrench-subaction",{fontCharacter:"\\eb65"}),a.symbolSnippet=new a("symbol-snippet",{fontCharacter:"\\eb66"}),a.tasklist=new a("tasklist",{fontCharacter:"\\eb67"}),a.telescope=new a("telescope",{fontCharacter:"\\eb68"}),a.textSize=new a("text-size",{fontCharacter:"\\eb69"}),a.threeBars=new a("three-bars",{fontCharacter:"\\eb6a"}),a.thumbsdown=new a("thumbsdown",{fontCharacter:"\\eb6b"}),a.thumbsup=new a("thumbsup",{fontCharacter:"\\eb6c"}),a.tools=new a("tools",{fontCharacter:"\\eb6d"}),a.triangleDown=new a("triangle-down",{fontCharacter:"\\eb6e"}),a.triangleLeft=new a("triangle-left",{fontCharacter:"\\eb6f"}),a.triangleRight=new a("triangle-right",{fontCharacter:"\\eb70"}),a.triangleUp=new a("triangle-up",{fontCharacter:"\\eb71"}),a.twitter=new a("twitter",{fontCharacter:"\\eb72"}),a.unfold=new a("unfold",{fontCharacter:"\\eb73"}),a.unlock=new a("unlock",{fontCharacter:"\\eb74"}),a.unmute=new a("unmute",{fontCharacter:"\\eb75"}),a.unverified=new a("unverified",{fontCharacter:"\\eb76"}),a.verified=new a("verified",{fontCharacter:"\\eb77"}),a.versions=new a("versions",{fontCharacter:"\\eb78"}),a.vmActive=new a("vm-active",{fontCharacter:"\\eb79"}),a.vmOutline=new a("vm-outline",{fontCharacter:"\\eb7a"}),a.vmRunning=new a("vm-running",{fontCharacter:"\\eb7b"}),a.watch=new a("watch",{fontCharacter:"\\eb7c"}),a.whitespace=new a("whitespace",{fontCharacter:"\\eb7d"}),a.wholeWord=new a("whole-word",{fontCharacter:"\\eb7e"}),a.window=new a("window",{fontCharacter:"\\eb7f"}),a.wordWrap=new a("word-wrap",{fontCharacter:"\\eb80"}),a.zoomIn=new a("zoom-in",{fontCharacter:"\\eb81"}),a.zoomOut=new a("zoom-out",{fontCharacter:"\\eb82"}),a.listFilter=new a("list-filter",{fontCharacter:"\\eb83"}),a.listFlat=new a("list-flat",{fontCharacter:"\\eb84"}),a.listSelection=new a("list-selection",{fontCharacter:"\\eb85"}),a.selection=new a("selection",{fontCharacter:"\\eb85"}),a.listTree=new a("list-tree",{fontCharacter:"\\eb86"}),a.debugBreakpointFunctionUnverified=new a("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),a.debugBreakpointFunction=new a("debug-breakpoint-function",{fontCharacter:"\\eb88"}),a.debugBreakpointFunctionDisabled=new a("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),a.debugStackframeActive=new a("debug-stackframe-active",{fontCharacter:"\\eb89"}),a.debugStackframeDot=new a("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),a.debugStackframe=new a("debug-stackframe",{fontCharacter:"\\eb8b"}),a.debugStackframeFocused=new a("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),a.debugBreakpointUnsupported=new a("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),a.symbolString=new a("symbol-string",{fontCharacter:"\\eb8d"}),a.debugReverseContinue=new a("debug-reverse-continue",{fontCharacter:"\\eb8e"}),a.debugStepBack=new a("debug-step-back",{fontCharacter:"\\eb8f"}),a.debugRestartFrame=new a("debug-restart-frame",{fontCharacter:"\\eb90"}),a.callIncoming=new a("call-incoming",{fontCharacter:"\\eb92"}),a.callOutgoing=new a("call-outgoing",{fontCharacter:"\\eb93"}),a.menu=new a("menu",{fontCharacter:"\\eb94"}),a.expandAll=new a("expand-all",{fontCharacter:"\\eb95"}),a.feedback=new a("feedback",{fontCharacter:"\\eb96"}),a.groupByRefType=new a("group-by-ref-type",{fontCharacter:"\\eb97"}),a.ungroupByRefType=new a("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),a.account=new a("account",{fontCharacter:"\\eb99"}),a.bellDot=new a("bell-dot",{fontCharacter:"\\eb9a"}),a.debugConsole=new a("debug-console",{fontCharacter:"\\eb9b"}),a.library=new a("library",{fontCharacter:"\\eb9c"}),a.output=new a("output",{fontCharacter:"\\eb9d"}),a.runAll=new a("run-all",{fontCharacter:"\\eb9e"}),a.syncIgnored=new a("sync-ignored",{fontCharacter:"\\eb9f"}),a.pinned=new a("pinned",{fontCharacter:"\\eba0"}),a.githubInverted=new a("github-inverted",{fontCharacter:"\\eba1"}),a.debugAlt=new a("debug-alt",{fontCharacter:"\\eb91"}),a.serverProcess=new a("server-process",{fontCharacter:"\\eba2"}),a.serverEnvironment=new a("server-environment",{fontCharacter:"\\eba3"}),a.pass=new a("pass",{fontCharacter:"\\eba4"}),a.stopCircle=new a("stop-circle",{fontCharacter:"\\eba5"}),a.playCircle=new a("play-circle",{fontCharacter:"\\eba6"}),a.record=new a("record",{fontCharacter:"\\eba7"}),a.debugAltSmall=new a("debug-alt-small",{fontCharacter:"\\eba8"}),a.vmConnect=new a("vm-connect",{fontCharacter:"\\eba9"}),a.cloud=new a("cloud",{fontCharacter:"\\ebaa"}),a.merge=new a("merge",{fontCharacter:"\\ebab"}),a.exportIcon=new a("export",{fontCharacter:"\\ebac"}),a.graphLeft=new a("graph-left",{fontCharacter:"\\ebad"}),a.magnet=new a("magnet",{fontCharacter:"\\ebae"}),a.notebook=new a("notebook",{fontCharacter:"\\ebaf"}),a.redo=new a("redo",{fontCharacter:"\\ebb0"}),a.checkAll=new a("check-all",{fontCharacter:"\\ebb1"}),a.pinnedDirty=new a("pinned-dirty",{fontCharacter:"\\ebb2"}),a.passFilled=new a("pass-filled",{fontCharacter:"\\ebb3"}),a.circleLargeFilled=new a("circle-large-filled",{fontCharacter:"\\ebb4"}),a.circleLargeOutline=new a("circle-large-outline",{fontCharacter:"\\ebb5"}),a.combine=new a("combine",{fontCharacter:"\\ebb6"}),a.gather=new a("gather",{fontCharacter:"\\ebb6"}),a.table=new a("table",{fontCharacter:"\\ebb7"}),a.variableGroup=new a("variable-group",{fontCharacter:"\\ebb8"}),a.typeHierarchy=new a("type-hierarchy",{fontCharacter:"\\ebb9"}),a.typeHierarchySub=new a("type-hierarchy-sub",{fontCharacter:"\\ebba"}),a.typeHierarchySuper=new a("type-hierarchy-super",{fontCharacter:"\\ebbb"}),a.gitPullRequestCreate=new a("git-pull-request-create",{fontCharacter:"\\ebbc"}),a.runAbove=new a("run-above",{fontCharacter:"\\ebbd"}),a.runBelow=new a("run-below",{fontCharacter:"\\ebbe"}),a.notebookTemplate=new a("notebook-template",{fontCharacter:"\\ebbf"}),a.debugRerun=new a("debug-rerun",{fontCharacter:"\\ebc0"}),a.workspaceTrusted=new a("workspace-trusted",{fontCharacter:"\\ebc1"}),a.workspaceUntrusted=new a("workspace-untrusted",{fontCharacter:"\\ebc2"}),a.workspaceUnspecified=new a("workspace-unspecified",{fontCharacter:"\\ebc3"}),a.terminalCmd=new a("terminal-cmd",{fontCharacter:"\\ebc4"}),a.terminalDebian=new a("terminal-debian",{fontCharacter:"\\ebc5"}),a.terminalLinux=new a("terminal-linux",{fontCharacter:"\\ebc6"}),a.terminalPowershell=new a("terminal-powershell",{fontCharacter:"\\ebc7"}),a.terminalTmux=new a("terminal-tmux",{fontCharacter:"\\ebc8"}),a.terminalUbuntu=new a("terminal-ubuntu",{fontCharacter:"\\ebc9"}),a.terminalBash=new a("terminal-bash",{fontCharacter:"\\ebca"}),a.arrowSwap=new a("arrow-swap",{fontCharacter:"\\ebcb"}),a.copy=new a("copy",{fontCharacter:"\\ebcc"}),a.personAdd=new a("person-add",{fontCharacter:"\\ebcd"}),a.filterFilled=new a("filter-filled",{fontCharacter:"\\ebce"}),a.wand=new a("wand",{fontCharacter:"\\ebcf"}),a.debugLineByLine=new a("debug-line-by-line",{fontCharacter:"\\ebd0"}),a.inspect=new a("inspect",{fontCharacter:"\\ebd1"}),a.layers=new a("layers",{fontCharacter:"\\ebd2"}),a.layersDot=new a("layers-dot",{fontCharacter:"\\ebd3"}),a.layersActive=new a("layers-active",{fontCharacter:"\\ebd4"}),a.compass=new a("compass",{fontCharacter:"\\ebd5"}),a.compassDot=new a("compass-dot",{fontCharacter:"\\ebd6"}),a.compassActive=new a("compass-active",{fontCharacter:"\\ebd7"}),a.azure=new a("azure",{fontCharacter:"\\ebd8"}),a.issueDraft=new a("issue-draft",{fontCharacter:"\\ebd9"}),a.gitPullRequestClosed=new a("git-pull-request-closed",{fontCharacter:"\\ebda"}),a.gitPullRequestDraft=new a("git-pull-request-draft",{fontCharacter:"\\ebdb"}),a.debugAll=new a("debug-all",{fontCharacter:"\\ebdc"}),a.debugCoverage=new a("debug-coverage",{fontCharacter:"\\ebdd"}),a.runErrors=new a("run-errors",{fontCharacter:"\\ebde"}),a.folderLibrary=new a("folder-library",{fontCharacter:"\\ebdf"}),a.debugContinueSmall=new a("debug-continue-small",{fontCharacter:"\\ebe0"}),a.beakerStop=new a("beaker-stop",{fontCharacter:"\\ebe1"}),a.graphLine=new a("graph-line",{fontCharacter:"\\ebe2"}),a.graphScatter=new a("graph-scatter",{fontCharacter:"\\ebe3"}),a.pieChart=new a("pie-chart",{fontCharacter:"\\ebe4"}),a.bracket=new a("bracket",a.json.definition),a.bracketDot=new a("bracket-dot",{fontCharacter:"\\ebe5"}),a.bracketError=new a("bracket-error",{fontCharacter:"\\ebe6"}),a.lockSmall=new a("lock-small",{fontCharacter:"\\ebe7"}),a.azureDevops=new a("azure-devops",{fontCharacter:"\\ebe8"}),a.verifiedFilled=new a("verified-filled",{fontCharacter:"\\ebe9"})}(C||(C={}))},79881:function(en,et,f){"use strict";f.d(et,{B8:function(){return z},Cp:function(){return Ee},F0:function(){return Se},L6:function(){return I},VV:function(){return C},b1:function(){return a},dL:function(){return ee},ri:function(){return $}});class y{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(u){setTimeout(()=>{throw u.stack?new Error(u.message+`
`+u.stack):u},0)}}emit(u){this.listeners.forEach(x=>{x(u)})}onUnexpectedError(u){this.unexpectedErrorHandler(u),this.emit(u)}onUnexpectedExternalError(u){this.unexpectedErrorHandler(u)}}const L=new y;function ee(S){C(S)||L.onUnexpectedError(S)}function Ee(S){C(S)||L.onUnexpectedExternalError(S)}function $(S){if(S instanceof Error){let{name:u,message:x}=S;const m=S.stacktrace||S.stack;return{$isError:!0,name:u,message:x,stack:m}}return S}const q="Canceled";function C(S){return S instanceof Error&&S.name===q&&S.message===q}function Se(){const S=new Error(q);return S.name=S.message,S}function a(S){return S?new Error(`Illegal argument: ${S}`):new Error("Illegal argument")}function I(S){return S?new Error(`Illegal state: ${S}`):new Error("Illegal state")}class z extends Error{constructor(u){super("NotSupported"),u&&(this.message=u)}}},4348:function(en,et,f){"use strict";f.d(et,{D0:function(){return z},E7:function(){return S},K3:function(){return I},Q5:function(){return a},ZD:function(){return u},ju:function(){return $}});var y=f(79881),L=f(69323),ee=f(34502),Ee=f(95830),$;(function(x){x.None=()=>L.JT.None;function m(pe){return(Q,de=null,ie)=>{let v=!1,_;return _=pe(V=>{if(!v)return _?_.dispose():v=!0,Q.call(de,V)},null,ie),v&&_.dispose(),_}}x.once=m;function P(pe,Q){return b((de,ie=null,v)=>pe(_=>de.call(ie,Q(_)),null,v))}x.map=P;function ue(pe,Q){return b((de,ie=null,v)=>pe(_=>{Q(_),de.call(ie,_)},null,v))}x.forEach=ue;function B(pe,Q){return b((de,ie=null,v)=>pe(_=>Q(_)&&de.call(ie,_),null,v))}x.filter=B;function W(pe){return pe}x.signal=W;function ne(...pe){return(Q,de=null,ie)=>(0,L.F8)(...pe.map(v=>v(_=>Q.call(de,_),null,ie)))}x.any=ne;function Y(pe,Q,de){let ie=de;return P(pe,v=>(ie=Q(ie,v),ie))}x.reduce=Y;function b(pe){let Q;const de=new a({onFirstListenerAdd(){Q=pe(de.fire,de)},onLastListenerRemove(){Q.dispose()}});return de.event}function R(pe,Q,de=100,ie=!1,v){let _,V,J,Le=0;const Oe=new a({leakWarningThreshold:v,onFirstListenerAdd(){_=pe(Ie=>{Le++,V=Q(V,Ie),ie&&!J&&(Oe.fire(V),V=void 0),clearTimeout(J),J=setTimeout(()=>{const Ze=V;V=void 0,J=void 0,(!ie||Le>1)&&Oe.fire(Ze),Le=0},de)})},onLastListenerRemove(){_.dispose()}});return Oe.event}x.debounce=R;function Z(pe,Q=(de,ie)=>de===ie){let de=!0,ie;return B(pe,v=>{const _=de||!Q(v,ie);return de=!1,ie=v,_})}x.latch=Z;function j(pe,Q){return[x.filter(pe,Q),x.filter(pe,de=>!Q(de))]}x.split=j;function he(pe,Q=!1,de=[]){let ie=de.slice(),v=pe(J=>{ie?ie.push(J):V.fire(J)});const _=()=>{ie&&ie.forEach(J=>V.fire(J)),ie=null},V=new a({onFirstListenerAdd(){v||(v=pe(J=>V.fire(J)))},onFirstListenerDidAdd(){ie&&(Q?setTimeout(_):_())},onLastListenerRemove(){v&&v.dispose(),v=null}});return V.event}x.buffer=he;class me{constructor(Q){this.event=Q}map(Q){return new me(P(this.event,Q))}forEach(Q){return new me(ue(this.event,Q))}filter(Q){return new me(B(this.event,Q))}reduce(Q,de){return new me(Y(this.event,Q,de))}latch(){return new me(Z(this.event))}debounce(Q,de=100,ie=!1,v){return new me(R(this.event,Q,de,ie,v))}on(Q,de,ie){return this.event(Q,de,ie)}once(Q,de,ie){return m(this.event)(Q,de,ie)}}function fe(pe){return new me(pe)}x.chain=fe;function ae(pe,Q,de=ie=>ie){const ie=(...J)=>V.fire(de(...J)),v=()=>pe.on(Q,ie),_=()=>pe.removeListener(Q,ie),V=new a({onFirstListenerAdd:v,onLastListenerRemove:_});return V.event}x.fromNodeEventEmitter=ae;function te(pe,Q,de=ie=>ie){const ie=(...J)=>V.fire(de(...J)),v=()=>pe.addEventListener(Q,ie),_=()=>pe.removeEventListener(Q,ie),V=new a({onFirstListenerAdd:v,onLastListenerRemove:_});return V.event}x.fromDOMEventEmitter=te;function U(pe){return new Promise(Q=>m(pe)(Q))}x.toPromise=U})($||($={}));class q{constructor(m){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${m}_${q._idPool++}`}start(m){this._stopWatch=new Ee.G(!0),this._listenerCount=m}stop(){if(this._stopWatch){const m=this._stopWatch.elapsed();this._elapsedOverall+=m,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${m.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}q._idPool=0;let C=-1;class Se{constructor(m,P=Math.random().toString(18).slice(2,5)){this.customThreshold=m,this.name=P,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(m){let P=C;if(typeof this.customThreshold=="number"&&(P=this.customThreshold),P<=0||m<P)return;this._stacks||(this._stacks=new Map);const ue=new Error().stack.split(`
`).slice(3).join(`
`),B=this._stacks.get(ue)||0;if(this._stacks.set(ue,B+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=P*.5;let W,ne=0;for(const[Y,b]of this._stacks)(!W||ne<b)&&(W=Y,ne=b);console.warn(`[${this.name}] potential listener LEAK detected, having ${m} listeners already. MOST frequent listener (${ne}):`),console.warn(W)}return()=>{const W=this._stacks.get(ue)||0;this._stacks.set(ue,W-1)}}}class a{constructor(m){var P;this._disposed=!1,this._options=m,this._leakageMon=C>0?new Se(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((P=this._options)===null||P===void 0)&&P._profName?new q(this._options._profName):void 0}get event(){return this._event||(this._event=(m,P,ue)=>{var B;this._listeners||(this._listeners=new ee.S);const W=this._listeners.isEmpty();W&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const ne=this._listeners.push(P?[m,P]:m);W&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,m,P);const Y=(B=this._leakageMon)===null||B===void 0?void 0:B.check(this._listeners.size),b=(0,L.OF)(()=>{Y&&Y(),this._disposed||(ne(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return ue instanceof L.SL?ue.add(b):Array.isArray(ue)&&ue.push(b),b}),this._event}fire(m){var P,ue;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new ee.S);for(let B of this._listeners)this._deliveryQueue.push([B,m]);for((P=this._perfMon)===null||P===void 0||P.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[B,W]=this._deliveryQueue.shift();try{typeof B=="function"?B.call(void 0,W):B[0].call(B[1],W)}catch(ne){(0,y.dL)(ne)}}(ue=this._perfMon)===null||ue===void 0||ue.stop()}}dispose(){var m,P,ue,B,W;this._disposed||(this._disposed=!0,(m=this._listeners)===null||m===void 0||m.clear(),(P=this._deliveryQueue)===null||P===void 0||P.clear(),(B=(ue=this._options)===null||ue===void 0?void 0:ue.onLastListenerRemove)===null||B===void 0||B.call(ue),(W=this._leakageMon)===null||W===void 0||W.dispose())}}class I extends a{constructor(m){super(m),this._isPaused=0,this._eventQueue=new ee.S,this._mergeFn=m==null?void 0:m.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const m=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(m))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(m){this._listeners&&(this._isPaused!==0?this._eventQueue.push(m):super.fire(m))}}class z extends I{constructor(m){var P;super(m),this._delay=(P=m.delay)!==null&&P!==void 0?P:100}fire(m){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(m)}}class S{constructor(){this.buffers=[]}wrapEvent(m){return(P,ue,B)=>m(W=>{const ne=this.buffers[this.buffers.length-1];ne?ne.push(()=>P.call(ue,W)):P.call(ue,W)},void 0,B)}bufferEvents(m){const P=[];this.buffers.push(P);const ue=m();return this.buffers.pop(),P.forEach(B=>B()),ue}}class u{constructor(){this.listening=!1,this.inputEvent=$.None,this.inputEventListener=L.JT.None,this.emitter=new a({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(m){this.inputEvent=m,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=m(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(en,et,f){"use strict";f.d(et,{I:function(){return y}});function y(L){const ee=this;let Ee=!1,$;return function(){return Ee||(Ee=!0,$=L.apply(ee,arguments)),$}}},88226:function(en,et,f){"use strict";f.d(et,{$:function(){return y}});var y;(function(L){function ee(ne){return ne&&typeof ne=="object"&&typeof ne[Symbol.iterator]=="function"}L.is=ee;const Ee=Object.freeze([]);function $(){return Ee}L.empty=$;function*q(ne){yield ne}L.single=q;function C(ne){return ne||Ee}L.from=C;function Se(ne){return!ne||ne[Symbol.iterator]().next().done===!0}L.isEmpty=Se;function a(ne){return ne[Symbol.iterator]().next().value}L.first=a;function I(ne,Y){for(const b of ne)if(Y(b))return!0;return!1}L.some=I;function z(ne,Y){for(const b of ne)if(Y(b))return b}L.find=z;function*S(ne,Y){for(const b of ne)Y(b)&&(yield b)}L.filter=S;function*u(ne,Y){let b=0;for(const R of ne)yield Y(R,b++)}L.map=u;function*x(...ne){for(const Y of ne)for(const b of Y)yield b}L.concat=x;function*m(ne){for(const Y of ne)for(const b of Y)yield b}L.concatNested=m;function P(ne,Y,b){let R=b;for(const Z of ne)R=Y(R,Z);return R}L.reduce=P;function*ue(ne,Y,b=ne.length){for(Y<0&&(Y+=ne.length),b<0?b+=ne.length:b>ne.length&&(b=ne.length);Y<b;Y++)yield ne[Y]}L.slice=ue;function B(ne,Y=Number.POSITIVE_INFINITY){const b=[];if(Y===0)return[b,ne];const R=ne[Symbol.iterator]();for(let Z=0;Z<Y;Z++){const j=R.next();if(j.done)return[b,L.empty()];b.push(j.value)}return[b,{[Symbol.iterator](){return R}}]}L.consume=B;function W(ne,Y,b=(R,Z)=>R===Z){const R=ne[Symbol.iterator](),Z=Y[Symbol.iterator]();for(;;){const j=R.next(),he=Z.next();if(j.done!==he.done)return!1;if(j.done)return!0;if(!b(j.value,he.value))return!1}}L.equals=W})(y||(y={}))},69323:function(en,et,f){"use strict";f.d(et,{B9:function(){return u},F8:function(){return x},JT:function(){return ue},Jz:function(){return W},OF:function(){return m},SL:function(){return P},Wf:function(){return S},XK:function(){return B},dk:function(){return I}});var y=f(17845),L=f(88226);const ee=!1;let Ee=null;function $(ne){Ee=ne}if(ee){const ne="__is_disposable_tracked__";$(new class{trackDisposable(Y){const b=new Error("Potentially leaked disposable").stack;setTimeout(()=>{Y[ne]||console.log(b)},3e3)}setParent(Y,b){if(Y&&Y!==ue.None)try{Y[ne]=!0}catch(R){}}markAsDisposed(Y){if(Y&&Y!==ue.None)try{Y[ne]=!0}catch(b){}}markAsSingleton(Y){}})}function q(ne){return Ee==null||Ee.trackDisposable(ne),ne}function C(ne){Ee==null||Ee.markAsDisposed(ne)}function Se(ne,Y){Ee==null||Ee.setParent(ne,Y)}function a(ne,Y){if(Ee)for(const b of ne)Ee.setParent(b,Y)}function I(ne){return Ee==null||Ee.markAsSingleton(ne),ne}class z extends Error{constructor(Y){super(`Encountered errors while disposing of store. Errors: [${Y.join(", ")}]`),this.errors=Y}}function S(ne){return typeof ne.dispose=="function"&&ne.dispose.length===0}function u(ne){if(L.$.is(ne)){let Y=[];for(const b of ne)if(b)try{b.dispose()}catch(R){Y.push(R)}if(Y.length===1)throw Y[0];if(Y.length>1)throw new z(Y);return Array.isArray(ne)?[]:ne}else if(ne)return ne.dispose(),ne}function x(...ne){const Y=m(()=>u(ne));return a(ne,Y),Y}function m(ne){const Y=q({dispose:(0,y.I)(()=>{C(Y),ne()})});return Y}class P{constructor(){this._toDispose=new Set,this._isDisposed=!1,q(this)}dispose(){this._isDisposed||(C(this),this._isDisposed=!0,this.clear())}clear(){try{u(this._toDispose.values())}finally{this._toDispose.clear()}}add(Y){if(!Y)return Y;if(Y===this)throw new Error("Cannot register a disposable on itself!");return Se(Y,this),this._isDisposed?P.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(Y),Y}}P.DISABLE_DISPOSED_WARNING=!1;class ue{constructor(){this._store=new P,q(this),Se(this._store,this)}dispose(){C(this),this._store.dispose()}_register(Y){if(Y===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(Y)}}ue.None=Object.freeze({dispose(){}});class B{constructor(){this._isDisposed=!1,q(this)}get value(){return this._isDisposed?void 0:this._value}set value(Y){var b;this._isDisposed||Y===this._value||((b=this._value)===null||b===void 0||b.dispose(),Y&&Se(Y,this),this._value=Y)}clear(){this.value=void 0}dispose(){var Y;this._isDisposed=!0,C(this),(Y=this._value)===null||Y===void 0||Y.dispose(),this._value=void 0}clearAndLeak(){const Y=this._value;return this._value=void 0,Y&&Se(Y,null),Y}}class W{constructor(Y){this.object=Y}dispose(){}}},34502:function(en,et,f){"use strict";f.d(et,{S:function(){return L}});class y{constructor(Ee){this.element=Ee,this.next=y.Undefined,this.prev=y.Undefined}}y.Undefined=new y(void 0);class L{constructor(){this._first=y.Undefined,this._last=y.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===y.Undefined}clear(){let Ee=this._first;for(;Ee!==y.Undefined;){const $=Ee.next;Ee.prev=y.Undefined,Ee.next=y.Undefined,Ee=$}this._first=y.Undefined,this._last=y.Undefined,this._size=0}unshift(Ee){return this._insert(Ee,!1)}push(Ee){return this._insert(Ee,!0)}_insert(Ee,$){const q=new y(Ee);if(this._first===y.Undefined)this._first=q,this._last=q;else if($){const Se=this._last;this._last=q,q.prev=Se,Se.next=q}else{const Se=this._first;this._first=q,q.next=Se,Se.prev=q}this._size+=1;let C=!1;return()=>{C||(C=!0,this._remove(q))}}shift(){if(this._first!==y.Undefined){const Ee=this._first.element;return this._remove(this._first),Ee}}pop(){if(this._last!==y.Undefined){const Ee=this._last.element;return this._remove(this._last),Ee}}_remove(Ee){if(Ee.prev!==y.Undefined&&Ee.next!==y.Undefined){const $=Ee.prev;$.next=Ee.next,Ee.next.prev=$}else Ee.prev===y.Undefined&&Ee.next===y.Undefined?(this._first=y.Undefined,this._last=y.Undefined):Ee.next===y.Undefined?(this._last=this._last.prev,this._last.next=y.Undefined):Ee.prev===y.Undefined&&(this._first=this._first.next,this._first.prev=y.Undefined);this._size-=1}*[Symbol.iterator](){let Ee=this._first;for(;Ee!==y.Undefined;)yield Ee.element,Ee=Ee.next}}},23345:function(en,et,f){"use strict";f.d(et,{$L:function(){return R},ED:function(){return W},IJ:function(){return Y},OS:function(){return me},WE:function(){return j},dz:function(){return ne},gn:function(){return Z},li:function(){return m},r:function(){return te},tY:function(){return b},xS:function(){return he}});var y=f(97671),L;const ee="en";let Ee=!1,$=!1,q=!1,C=!1,Se=!1,a=!1,I=!1,z,S=null,u=null,x;const m=typeof self=="object"?self:typeof f.g=="object"?f.g:{};let P;typeof m.vscode!="undefined"&&typeof m.vscode.process!="undefined"?P=m.vscode.process:typeof y!="undefined"&&(P=y);const ue=typeof((L=P==null?void 0:P.versions)===null||L===void 0?void 0:L.electron)=="string"&&P.type==="renderer";if(typeof navigator=="object"&&!ue)x=navigator.userAgent,Ee=x.indexOf("Windows")>=0,$=x.indexOf("Macintosh")>=0,I=(x.indexOf("Macintosh")>=0||x.indexOf("iPad")>=0||x.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,q=x.indexOf("Linux")>=0,a=!0,z=navigator.language,S=z;else if(typeof P=="object"){Ee=P.platform==="win32",$=P.platform==="darwin",q=P.platform==="linux",C=q&&!!P.env.SNAP&&!!P.env.SNAP_REVISION,z=ee,S=ee;const U=P.env.VSCODE_NLS_CONFIG;if(U)try{const pe=JSON.parse(U),Q=pe.availableLanguages["*"];z=pe.locale,S=Q||ee,u=pe._translationsConfigFile}catch(pe){}Se=!0}else console.error("Unable to resolve platform.");let B=0;$?B=1:Ee?B=3:q&&(B=2);const W=Ee,ne=$,Y=q,b=Se,R=a,Z=I,j=x,he=function(){if(m.setImmediate)return m.setImmediate.bind(m);if(typeof m.postMessage=="function"&&!m.importScripts){let Q=[];m.addEventListener("message",ie=>{if(ie.data&&ie.data.vscodeSetImmediateId)for(let v=0,_=Q.length;v<_;v++){const V=Q[v];if(V.id===ie.data.vscodeSetImmediateId){Q.splice(v,1),V.callback();return}}});let de=0;return ie=>{const v=++de;Q.push({id:v,callback:ie}),m.postMessage({vscodeSetImmediateId:v},"*")}}if(typeof(P==null?void 0:P.nextTick)=="function")return P.nextTick.bind(P);const pe=Promise.resolve();return Q=>pe.then(Q)}(),me=$||I?2:Ee?1:3;let fe=!0,ae=!1;function te(){if(!ae){ae=!0;const U=new Uint8Array(2);U[0]=1,U[1]=2,fe=new Uint16Array(U.buffer)[0]===513}return fe}},95830:function(en,et,f){"use strict";f.d(et,{G:function(){return ee}});var y=f(23345);const L=y.li.performance&&typeof y.li.performance.now=="function";class ee{constructor($){this._highResolution=L&&$,this._startTime=this._now(),this._stopTime=-1}static create($=!0){return new ee($)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?y.li.performance.now():Date.now()}}},82983:function(en,et,f){"use strict";f.d(et,{$i:function(){return Le},C8:function(){return ct},GF:function(){return z},HO:function(){return de},IO:function(){return S},K7:function(){return ut},Kw:function(){return qt},LC:function(){return m},Mh:function(){return he},P1:function(){return me},PJ:function(){return nn},Qe:function(){return Oe},R1:function(){return I},RP:function(){return V},S6:function(){return Dt},TT:function(){return W},Ut:function(){return v},V8:function(){return P},WU:function(){return ee},YK:function(){return ae},YU:function(){return Ee},ZG:function(){return fe},ZH:function(){return U},ab:function(){return Ie},c1:function(){return it},df:function(){return R},ec:function(){return $},fi:function(){return $t},fy:function(){return q},j3:function(){return C},j_:function(){return Y},m5:function(){return y},mK:function(){return b},mr:function(){return u},oH:function(){return be},oL:function(){return Se},ok:function(){return j},ow:function(){return ue},qq:function(){return Z},qu:function(){return B},rL:function(){return te},uS:function(){return Nt},un:function(){return a},uq:function(){return x},vH:function(){return Q},xe:function(){return Ze},zY:function(){return ne}});function y(k){return!k||typeof k!="string"?!0:k.trim().length===0}const L=/{(\d+)}/g;function ee(k,...E){return E.length===0?k:k.replace(L,function(T,X){const G=parseInt(X,10);return isNaN(G)||G<0||G>=E.length?T:E[G]})}function Ee(k){return k.replace(/[<>&]/g,function(E){switch(E){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return E}})}function $(k){return k.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function q(k,E=" "){const T=C(k,E);return Se(T,E)}function C(k,E){if(!k||!E)return k;const T=E.length;if(T===0||k.length===0)return k;let X=0;for(;k.indexOf(E,X)===X;)X=X+T;return k.substring(X)}function Se(k,E){if(!k||!E)return k;const T=E.length,X=k.length;if(T===0||X===0)return k;let G=X,K=-1;for(;K=k.lastIndexOf(E,G-1),!(K===-1||K+T!==G);){if(K===0)return"";G=K}return k.substring(0,G)}function a(k){return k.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function I(k){return k.replace(/\*/g,"")}function z(k,E,T={}){if(!k)throw new Error("Cannot create regex from empty string");E||(k=$(k)),T.wholeWord&&(/\B/.test(k.charAt(0))||(k="\\b"+k),/\B/.test(k.charAt(k.length-1))||(k=k+"\\b"));let X="";return T.global&&(X+="g"),T.matchCase||(X+="i"),T.multiline&&(X+="m"),T.unicode&&(X+="u"),new RegExp(k,X)}function S(k){return k.source==="^"||k.source==="^$"||k.source==="$"||k.source==="^\\s*$"?!1:!!(k.exec("")&&k.lastIndex===0)}function u(k){return(k.global?"g":"")+(k.ignoreCase?"i":"")+(k.multiline?"m":"")+(k.unicode?"u":"")}function x(k){return k.split(/\r\n|\r|\n/)}function m(k){for(let E=0,T=k.length;E<T;E++){const X=k.charCodeAt(E);if(X!==32&&X!==9)return E}return-1}function P(k,E=0,T=k.length){for(let X=E;X<T;X++){const G=k.charCodeAt(X);if(G!==32&&G!==9)return k.substring(E,X)}return k.substring(E,T)}function ue(k,E=k.length-1){for(let T=E;T>=0;T--){const X=k.charCodeAt(T);if(X!==32&&X!==9)return T}return-1}function B(k,E){return k<E?-1:k>E?1:0}function W(k,E,T=0,X=k.length,G=0,K=E.length){for(;T<X&&G<K;T++,G++){let ke=k.charCodeAt(T),Te=E.charCodeAt(G);if(ke<Te)return-1;if(ke>Te)return 1}const we=X-T,Ke=K-G;return we<Ke?-1:we>Ke?1:0}function ne(k,E){return Y(k,E,0,k.length,0,E.length)}function Y(k,E,T=0,X=k.length,G=0,K=E.length){for(;T<X&&G<K;T++,G++){let ke=k.charCodeAt(T),Te=E.charCodeAt(G);if(ke===Te)continue;if(ke>=128||Te>=128)return W(k.toLowerCase(),E.toLowerCase(),T,X,G,K);b(ke)&&(ke-=32),b(Te)&&(Te-=32);const Ye=ke-Te;if(Ye!==0)return Ye}const we=X-T,Ke=K-G;return we<Ke?-1:we>Ke?1:0}function b(k){return k>=97&&k<=122}function R(k){return k>=65&&k<=90}function Z(k,E){return k.length===E.length&&Y(k,E)===0}function j(k,E){const T=E.length;return E.length>k.length?!1:Y(k,E,0,T)===0}function he(k,E){let T,X=Math.min(k.length,E.length);for(T=0;T<X;T++)if(k.charCodeAt(T)!==E.charCodeAt(T))return T;return X}function me(k,E){let T,X=Math.min(k.length,E.length);const G=k.length-1,K=E.length-1;for(T=0;T<X;T++)if(k.charCodeAt(G-T)!==E.charCodeAt(K-T))return T;return X}function fe(k){return 55296<=k&&k<=56319}function ae(k){return 56320<=k&&k<=57343}function te(k,E){return(k-55296<<10)+(E-56320)+65536}function U(k,E,T){const X=k.charCodeAt(T);if(fe(X)&&T+1<E){const G=k.charCodeAt(T+1);if(ae(G))return te(X,G)}return X}function pe(k,E){const T=k.charCodeAt(E-1);if(ae(T)&&E>1){const X=k.charCodeAt(E-2);if(fe(X))return te(X,T)}return T}function Q(k,E){const T=ot.getInstance(),X=E,G=k.length,K=U(k,G,E);E+=K>=65536?2:1;let we=T.getGraphemeBreakType(K);for(;E<G;){const Ke=U(k,G,E),ke=T.getGraphemeBreakType(Ke);if($t(we,ke))break;E+=Ke>=65536?2:1,we=ke}return E-X}function de(k,E){const T=ot.getInstance(),X=E,G=pe(k,E);E-=G>=65536?2:1;let K=T.getGraphemeBreakType(G);for(;E>0;){const we=pe(k,E),Ke=T.getGraphemeBreakType(we);if($t(Ke,K))break;E-=we>=65536?2:1,K=Ke}return X-E}const ie=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function v(k){return ie.test(k)}const _=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function V(k){return _.test(k)}const J=/^[\t\n\r\x20-\x7E]*$/;function Le(k){return J.test(k)}const Oe=/[\u2028\u2029]/;function Ie(k){return Oe.test(k)}function Ze(k){for(let E=0,T=k.length;E<T;E++)if(ut(k.charCodeAt(E)))return!0;return!1}function ut(k){return k=+k,k>=11904&&k<=55215||k>=63744&&k<=64255||k>=65281&&k<=65374}function ct(k){return k>=127462&&k<=127487||k===8986||k===8987||k===9200||k===9203||k>=9728&&k<=10175||k===11088||k===11093||k>=127744&&k<=128591||k>=128640&&k<=128764||k>=128992&&k<=129003||k>=129280&&k<=129535||k>=129648&&k<=129750}const it="\uFEFF";function Nt(k){return!!(k&&k.length>0&&k.charCodeAt(0)===65279)}function qt(k,E=!1){return k?(E&&(k=k.replace(/\\./g,"")),k.toLowerCase()!==k):!1}function nn(k){return k=k%(2*26),k<26?String.fromCharCode(97+k):String.fromCharCode(65+k-26)}function Dt(k){return ot.getInstance().getGraphemeBreakType(k)}function $t(k,E){return k===0?E!==5&&E!==7:k===2&&E===3?!1:k===4||k===2||k===3||E===4||E===2||E===3?!0:!(k===8&&(E===8||E===9||E===11||E===12)||(k===11||k===9)&&(E===9||E===10)||(k===12||k===10)&&E===10||E===5||E===13||E===7||k===1||k===13&&E===14||k===6&&E===6)}class ot{constructor(){this._data=se()}static getInstance(){return ot._INSTANCE||(ot._INSTANCE=new ot),ot._INSTANCE}getGraphemeBreakType(E){if(E<32)return E===10?3:E===13?2:4;if(E<127)return 0;const T=this._data,X=T.length/3;let G=1;for(;G<=X;)if(E<T[3*G])G=2*G;else if(E>T[3*G+1])G=2*G+1;else return T[3*G+2];return 0}}ot._INSTANCE=null;function se(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function be(k,E){if(k===0)return 0;const T=H(k,E);if(T!==void 0)return T;const X=pe(E,k);return k-=O(X),k}function H(k,E){let T=pe(E,k);for(k-=O(T);xe(T)||T===65039||T===8419;){if(k===0)return;T=pe(E,k),k-=O(T)}if(ct(T)){if(k>=0){const X=pe(E,k);X===8205&&(k-=O(X))}return k}}function O(k){return k>=65536?2:1}function xe(k){return 127995<=k&&k<=127999}},72999:function(en,et,f){"use strict";f.d(et,{$E:function(){return m},$K:function(){return C},D8:function(){return S},HD:function(){return L},IU:function(){return P},Jp:function(){return Se},Kn:function(){return ee},cW:function(){return I},f6:function(){return ue},hj:function(){return Ee},jn:function(){return $},kJ:function(){return y},mf:function(){return z},o8:function(){return q},p_:function(){return a},vE:function(){return B}});function y(W){return Array.isArray(W)}function L(W){return typeof W=="string"}function ee(W){return typeof W=="object"&&W!==null&&!Array.isArray(W)&&!(W instanceof RegExp)&&!(W instanceof Date)}function Ee(W){return typeof W=="number"&&!isNaN(W)}function $(W){return W===!0||W===!1}function q(W){return typeof W=="undefined"}function C(W){return!Se(W)}function Se(W){return q(W)||W===null}function a(W,ne){if(!W)throw new Error(ne?`Unexpected type, expected '${ne}'`:"Unexpected type")}function I(W){if(Se(W))throw new Error("Assertion Failed: argument is undefined or null");return W}function z(W){return typeof W=="function"}function S(W,ne){const Y=Math.min(W.length,ne.length);for(let b=0;b<Y;b++)u(W[b],ne[b])}function u(W,ne){if(L(ne)){if(typeof W!==ne)throw new Error(`argument does not match constraint: typeof ${ne}`)}else if(z(ne)){try{if(W instanceof ne)return}catch(Y){}if(!Se(W)&&W.constructor===ne||ne.length===1&&ne.call(void 0,W)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function x(W){let ne=[],Y=Object.getPrototypeOf(W);for(;Object.prototype!==Y;)ne=ne.concat(Object.getOwnPropertyNames(Y)),Y=Object.getPrototypeOf(Y);return ne}function m(W){const ne=[];for(const Y of x(W))typeof W[Y]=="function"&&ne.push(Y);return ne}function P(W,ne){const Y=R=>function(){const Z=Array.prototype.slice.call(arguments,0);return ne(R,Z)};let b={};for(const R of W)b[R]=Y(R);return b}function ue(W){return W===null?void 0:W}function B(W,ne="Unreachable"){throw new Error(ne)}},13268:function(en,et,f){"use strict";f.d(et,{N:function(){return L}});function y(ee,Ee){let $;return Ee.length===0?$=ee:$=ee.replace(/\{(\d+)\}/g,function(q,C){const Se=C[0];return typeof Ee[Se]!="undefined"?Ee[Se]:q}),$}function L(ee,Ee,...$){return y(Ee,$)}},96236:function(en,et,f){"use strict";f.d(et,{BH:function(){return P},NZ:function(){return ue},U8:function(){return B},co:function(){return m},eH:function(){return x},vr:function(){return u}});var y=f(75918),L=f(52615),ee=f(4348),Ee=f(88226),$=f(69323),q=f(34502),C=f(35884),Se=f(90689),a=f(16925),I=f(49055),z=function(W,ne,Y,b){var R=arguments.length,Z=R<3?ne:b===null?b=Object.getOwnPropertyDescriptor(ne,Y):b,j;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Z=Reflect.decorate(W,ne,Y,b);else for(var he=W.length-1;he>=0;he--)(j=W[he])&&(Z=(R<3?j(Z):R>3?j(ne,Y,Z):j(ne,Y))||Z);return R>3&&Z&&Object.defineProperty(ne,Y,Z),Z},S=function(W,ne){return function(Y,b){ne(Y,b,W)}};function u(W){return W.command!==void 0}class x{constructor(ne){this.id=x._idPool++,this._debugName=ne}}x._idPool=0,x.CommandPalette=new x("CommandPalette"),x.EditorContext=new x("EditorContext"),x.SimpleEditorContext=new x("SimpleEditorContext"),x.EditorContextCopy=new x("EditorContextCopy"),x.EditorContextPeek=new x("EditorContextPeek"),x.MenubarEditMenu=new x("MenubarEditMenu"),x.MenubarCopy=new x("MenubarCopy"),x.MenubarGoMenu=new x("MenubarGoMenu"),x.MenubarSelectionMenu=new x("MenubarSelectionMenu"),x.InlineCompletionsActions=new x("InlineCompletionsActions");const m=(0,a.yh)("menuService"),P=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new ee.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:W=>W===x.CommandPalette}}addCommand(W){return this.addCommands(Ee.$.single(W))}addCommands(W){for(const ne of W)this._commands.set(ne.id,ne);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,$.OF)(()=>{let ne=!1;for(const Y of W)ne=this._commands.delete(Y.id)||ne;ne&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(W){return this._commands.get(W)}getCommands(){const W=new Map;return this._commands.forEach((ne,Y)=>W.set(Y,ne)),W}appendMenuItem(W,ne){return this.appendMenuItems(Ee.$.single({id:W,item:ne}))}appendMenuItems(W){const ne=new Set,Y=new q.S;for(const{id:b,item:R}of W){let Z=this._menuItems.get(b);Z||(Z=new q.S,this._menuItems.set(b,Z)),Y.push(Z.push(R)),ne.add(b)}return this._onDidChangeMenu.fire(ne),(0,$.OF)(()=>{if(Y.size>0){for(let b of Y)b();this._onDidChangeMenu.fire(ne),Y.clear()}})}getMenuItems(W){let ne;return this._menuItems.has(W)?ne=[...this._menuItems.get(W)]:ne=[],W===x.CommandPalette&&this._appendImplicitItems(ne),ne}_appendImplicitItems(W){const ne=new Set;for(const Y of W)u(Y)&&(ne.add(Y.command.id),Y.alt&&ne.add(Y.alt.id));this._commands.forEach((Y,b)=>{ne.has(b)||W.push({command:Y})})}};class ue extends y.wY{constructor(ne,Y,b,R){super(`submenuitem.${ne.submenu.id}`,typeof ne.title=="string"?ne.title:ne.title.value,[],"submenu"),this.item=ne,this._menuService=Y,this._contextKeyService=b,this._options=R}get actions(){const ne=[],Y=this._menuService.createMenu(this.item.submenu,this._contextKeyService),b=Y.getActions(this._options);Y.dispose();for(const[,R]of b)R.length>0&&(ne.push(...R),ne.push(new y.Z0));return ne.length&&ne.pop(),ne}}let B=class El{constructor(ne,Y,b,R,Z){var j,he;if(this._commandService=Z,this.id=ne.id,this.label=b!=null&&b.renderShortTitle&&ne.shortTitle?typeof ne.shortTitle=="string"?ne.shortTitle:ne.shortTitle.value:typeof ne.title=="string"?ne.title:ne.title.value,this.tooltip=(he=typeof ne.tooltip=="string"?ne.tooltip:(j=ne.tooltip)===null||j===void 0?void 0:j.value)!==null&&he!==void 0?he:"",this.enabled=!ne.precondition||R.contextMatchesRules(ne.precondition),this.checked=void 0,ne.toggled){const me=ne.toggled.condition?ne.toggled:{condition:ne.toggled};this.checked=R.contextMatchesRules(me.condition),this.checked&&me.tooltip&&(this.tooltip=typeof me.tooltip=="string"?me.tooltip:me.tooltip.value),me.title&&(this.label=typeof me.title=="string"?me.title:me.title.value)}this.item=ne,this.alt=Y?new El(Y,void 0,b,R,Z):void 0,this._options=b,I.kS.isThemeIcon(ne.icon)&&(this.class=L.dT.asClassName(ne.icon))}dispose(){}run(...ne){var Y,b;let R=[];return!((Y=this._options)===null||Y===void 0)&&Y.arg&&(R=[...R,this._options.arg]),!((b=this._options)===null||b===void 0)&&b.shouldForwardArgs&&(R=[...R,...ne]),this._commandService.executeCommand(this.id,...R)}};B=z([S(3,Se.i6),S(4,C.H)],B)},35884:function(en,et,f){"use strict";f.d(et,{H:function(){return C},P:function(){return Se}});var y=f(4348),L=f(88226),ee=f(69323),Ee=f(34502),$=f(72999),q=f(16925);const C=(0,q.yh)("commandService"),Se=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new y.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(a,I){if(!a)throw new Error("invalid command");if(typeof a=="string"){if(!I)throw new Error("invalid command");return this.registerCommand({id:a,handler:I})}if(a.description){const m=[];for(let ue of a.description.args)m.push(ue.constraint);const P=a.handler;a.handler=function(ue,...B){return(0,$.D8)(B,m),P(ue,...B)}}const{id:z}=a;let S=this._commands.get(z);S||(S=new Ee.S,this._commands.set(z,S));let u=S.unshift(a),x=(0,ee.OF)(()=>{u();const m=this._commands.get(z);m!=null&&m.isEmpty()&&this._commands.delete(z)});return this._onDidRegisterCommand.fire(z),x}registerCommandAlias(a,I){return Se.registerCommand(a,(z,...S)=>z.get(C).executeCommand(I,...S))}getCommand(a){const I=this._commands.get(a);if(!(!I||I.isEmpty()))return L.$.first(I)}getCommands(){const a=new Map;for(const I of this._commands.keys()){const z=this.getCommand(I);z&&a.set(I,z)}return a}};Se.registerCommand("noop",()=>{})},90689:function(en,et,f){"use strict";f.d(et,{Ao:function(){return C},Eq:function(){return te},Fb:function(){return Se},K8:function(){return Q},i6:function(){return ae},uy:function(){return fe}});var y=f(23345),L=f(82983),ee=f(16925);let Ee=y.WE||"";const $=new Map;$.set("false",!1),$.set("true",!0),$.set("isMac",y.dz),$.set("isLinux",y.IJ),$.set("isWindows",y.ED),$.set("isWeb",y.$L),$.set("isMacNative",y.dz&&!y.$L),$.set("isEdge",Ee.indexOf("Edg/")>=0),$.set("isFirefox",Ee.indexOf("Firefox")>=0),$.set("isChrome",Ee.indexOf("Chrome")>=0),$.set("isSafari",Ee.indexOf("Safari")>=0);const q=Object.prototype.hasOwnProperty;class C{static has(v){return S.create(v)}static equals(v,_){return u.create(v,_)}static regex(v,_){return R.create(v,_)}static not(v){return ue.create(v)}static and(...v){return he.create(v,null)}static or(...v){return me.create(v,null,!0)}static deserialize(v,_=!1){if(v)return this._deserializeOrExpression(v,_)}static _deserializeOrExpression(v,_){let V=v.split("||");return me.create(V.map(J=>this._deserializeAndExpression(J,_)),null,!0)}static _deserializeAndExpression(v,_){let V=v.split("&&");return he.create(V.map(J=>this._deserializeOne(J,_)),null)}static _deserializeOne(v,_){if(v=v.trim(),v.indexOf("!=")>=0){let V=v.split("!=");return P.create(V[0].trim(),this._deserializeValue(V[1],_))}if(v.indexOf("==")>=0){let V=v.split("==");return u.create(V[0].trim(),this._deserializeValue(V[1],_))}if(v.indexOf("=~")>=0){let V=v.split("=~");return R.create(V[0].trim(),this._deserializeRegexValue(V[1],_))}if(v.indexOf(" in ")>=0){let V=v.split(" in ");return x.create(V[0].trim(),V[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(v)){const V=v.split(">=");return ne.create(V[0].trim(),V[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(v)){const V=v.split(">");return W.create(V[0].trim(),V[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(v)){const V=v.split("<=");return b.create(V[0].trim(),V[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(v)){const V=v.split("<");return Y.create(V[0].trim(),V[1].trim())}return/^\!\s*/.test(v)?ue.create(v.substr(1).trim()):S.create(v)}static _deserializeValue(v,_){if(v=v.trim(),v==="true")return!0;if(v==="false")return!1;let V=/^'([^']*)'$/.exec(v);return V?V[1].trim():v}static _deserializeRegexValue(v,_){if((0,L.m5)(v)){if(_)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let V=v.indexOf("/"),J=v.lastIndexOf("/");if(V===J||V<0){if(_)throw new Error(`bad regexp-value '${v}', missing /-enclosure`);return console.warn(`bad regexp-value '${v}', missing /-enclosure`),null}let Le=v.slice(V+1,J),Oe=v[J+1]==="i"?"i":"";try{return new RegExp(Le,Oe)}catch(Ie){if(_)throw new Error(`bad regexp-value '${v}', parse error: ${Ie}`);return console.warn(`bad regexp-value '${v}', parse error: ${Ie}`),null}}}function Se(ie,v){const _=ie?ie.substituteConstants():void 0,V=v?v.substituteConstants():void 0;return!_&&!V?!0:!_||!V?!1:_.equals(V)}function a(ie,v){return ie.cmp(v)}class I{constructor(){this.type=0}cmp(v){return this.type-v.type}equals(v){return v.type===this.type}substituteConstants(){return this}evaluate(v){return!1}serialize(){return"false"}keys(){return[]}negate(){return z.INSTANCE}}I.INSTANCE=new I;class z{constructor(){this.type=1}cmp(v){return this.type-v.type}equals(v){return v.type===this.type}substituteConstants(){return this}evaluate(v){return!0}serialize(){return"true"}keys(){return[]}negate(){return I.INSTANCE}}z.INSTANCE=new z;class S{constructor(v,_){this.key=v,this.negated=_,this.type=2}static create(v,_=null){const V=$.get(v);return typeof V=="boolean"?V?z.INSTANCE:I.INSTANCE:new S(v,_)}cmp(v){return v.type!==this.type?this.type-v.type:U(this.key,v.key)}equals(v){return v.type===this.type?this.key===v.key:!1}substituteConstants(){const v=$.get(this.key);return typeof v=="boolean"?v?z.INSTANCE:I.INSTANCE:this}evaluate(v){return!!v.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=ue.create(this.key,this)),this.negated}}class u{constructor(v,_,V){this.key=v,this.value=_,this.negated=V,this.type=4}static create(v,_,V=null){if(typeof _=="boolean")return _?S.create(v,V):ue.create(v,V);const J=$.get(v);return typeof J=="boolean"?_===(J?"true":"false")?z.INSTANCE:I.INSTANCE:new u(v,_,V)}cmp(v){return v.type!==this.type?this.type-v.type:pe(this.key,this.value,v.key,v.value)}equals(v){return v.type===this.type?this.key===v.key&&this.value===v.value:!1}substituteConstants(){const v=$.get(this.key);if(typeof v=="boolean"){const _=v?"true":"false";return this.value===_?z.INSTANCE:I.INSTANCE}return this}evaluate(v){return v.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=P.create(this.key,this.value,this)),this.negated}}class x{constructor(v,_){this.key=v,this.valueKey=_,this.type=10,this.negated=null}static create(v,_){return new x(v,_)}cmp(v){return v.type!==this.type?this.type-v.type:pe(this.key,this.valueKey,v.key,v.valueKey)}equals(v){return v.type===this.type?this.key===v.key&&this.valueKey===v.valueKey:!1}substituteConstants(){return this}evaluate(v){const _=v.getValue(this.valueKey),V=v.getValue(this.key);return Array.isArray(_)?_.indexOf(V)>=0:typeof V=="string"&&typeof _=="object"&&_!==null?q.call(_,V):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=m.create(this)),this.negated}}class m{constructor(v){this._actual=v,this.type=11}static create(v){return new m(v)}cmp(v){return v.type!==this.type?this.type-v.type:this._actual.cmp(v._actual)}equals(v){return v.type===this.type?this._actual.equals(v._actual):!1}substituteConstants(){return this}evaluate(v){return!this._actual.evaluate(v)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class P{constructor(v,_,V){this.key=v,this.value=_,this.negated=V,this.type=5}static create(v,_,V=null){if(typeof _=="boolean")return _?ue.create(v,V):S.create(v,V);const J=$.get(v);return typeof J=="boolean"?_===(J?"true":"false")?I.INSTANCE:z.INSTANCE:new P(v,_,V)}cmp(v){return v.type!==this.type?this.type-v.type:pe(this.key,this.value,v.key,v.value)}equals(v){return v.type===this.type?this.key===v.key&&this.value===v.value:!1}substituteConstants(){const v=$.get(this.key);if(typeof v=="boolean"){const _=v?"true":"false";return this.value===_?I.INSTANCE:z.INSTANCE}return this}evaluate(v){return v.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=u.create(this.key,this.value,this)),this.negated}}class ue{constructor(v,_){this.key=v,this.negated=_,this.type=3}static create(v,_=null){const V=$.get(v);return typeof V=="boolean"?V?I.INSTANCE:z.INSTANCE:new ue(v,_)}cmp(v){return v.type!==this.type?this.type-v.type:U(this.key,v.key)}equals(v){return v.type===this.type?this.key===v.key:!1}substituteConstants(){const v=$.get(this.key);return typeof v=="boolean"?v?I.INSTANCE:z.INSTANCE:this}evaluate(v){return!v.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=S.create(this.key,this)),this.negated}}function B(ie,v){if(typeof ie=="string"){const _=parseFloat(ie);isNaN(_)||(ie=_)}return typeof ie=="string"||typeof ie=="number"?v(ie):I.INSTANCE}class W{constructor(v,_,V){this.key=v,this.value=_,this.negated=V,this.type=12}static create(v,_,V=null){return B(_,J=>new W(v,J,V))}cmp(v){return v.type!==this.type?this.type-v.type:pe(this.key,this.value,v.key,v.value)}equals(v){return v.type===this.type?this.key===v.key&&this.value===v.value:!1}substituteConstants(){return this}evaluate(v){return typeof this.value=="string"?!1:parseFloat(v.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=b.create(this.key,this.value,this)),this.negated}}class ne{constructor(v,_,V){this.key=v,this.value=_,this.negated=V,this.type=13}static create(v,_,V=null){return B(_,J=>new ne(v,J,V))}cmp(v){return v.type!==this.type?this.type-v.type:pe(this.key,this.value,v.key,v.value)}equals(v){return v.type===this.type?this.key===v.key&&this.value===v.value:!1}substituteConstants(){return this}evaluate(v){return typeof this.value=="string"?!1:parseFloat(v.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=Y.create(this.key,this.value,this)),this.negated}}class Y{constructor(v,_,V){this.key=v,this.value=_,this.negated=V,this.type=14}static create(v,_,V=null){return B(_,J=>new Y(v,J,V))}cmp(v){return v.type!==this.type?this.type-v.type:pe(this.key,this.value,v.key,v.value)}equals(v){return v.type===this.type?this.key===v.key&&this.value===v.value:!1}substituteConstants(){return this}evaluate(v){return typeof this.value=="string"?!1:parseFloat(v.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=ne.create(this.key,this.value,this)),this.negated}}class b{constructor(v,_,V){this.key=v,this.value=_,this.negated=V,this.type=15}static create(v,_,V=null){return B(_,J=>new b(v,J,V))}cmp(v){return v.type!==this.type?this.type-v.type:pe(this.key,this.value,v.key,v.value)}equals(v){return v.type===this.type?this.key===v.key&&this.value===v.value:!1}substituteConstants(){return this}evaluate(v){return typeof this.value=="string"?!1:parseFloat(v.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=W.create(this.key,this.value,this)),this.negated}}class R{constructor(v,_){this.key=v,this.regexp=_,this.type=7,this.negated=null}static create(v,_){return new R(v,_)}cmp(v){if(v.type!==this.type)return this.type-v.type;if(this.key<v.key)return-1;if(this.key>v.key)return 1;const _=this.regexp?this.regexp.source:"",V=v.regexp?v.regexp.source:"";return _<V?-1:_>V?1:0}equals(v){if(v.type===this.type){const _=this.regexp?this.regexp.source:"",V=v.regexp?v.regexp.source:"";return this.key===v.key&&_===V}return!1}substituteConstants(){return this}evaluate(v){let _=v.getValue(this.key);return this.regexp?this.regexp.test(_):!1}serialize(){const v=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${v}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=Z.create(this)),this.negated}}class Z{constructor(v){this._actual=v,this.type=8}static create(v){return new Z(v)}cmp(v){return v.type!==this.type?this.type-v.type:this._actual.cmp(v._actual)}equals(v){return v.type===this.type?this._actual.equals(v._actual):!1}substituteConstants(){return this}evaluate(v){return!this._actual.evaluate(v)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function j(ie){let v=null;for(let _=0,V=ie.length;_<V;_++){const J=ie[_].substituteConstants();if(ie[_]!==J&&v===null){v=[];for(let Le=0;Le<_;Le++)v[Le]=ie[Le]}v!==null&&(v[_]=J)}return v===null?ie:v}class he{constructor(v,_){this.expr=v,this.negated=_,this.type=6}static create(v,_){return he._normalizeArr(v,_)}cmp(v){if(v.type!==this.type)return this.type-v.type;if(this.expr.length<v.expr.length)return-1;if(this.expr.length>v.expr.length)return 1;for(let _=0,V=this.expr.length;_<V;_++){const J=a(this.expr[_],v.expr[_]);if(J!==0)return J}return 0}equals(v){if(v.type===this.type){if(this.expr.length!==v.expr.length)return!1;for(let _=0,V=this.expr.length;_<V;_++)if(!this.expr[_].equals(v.expr[_]))return!1;return!0}return!1}substituteConstants(){const v=j(this.expr);return v===this.expr?this:he.create(v,this.negated)}evaluate(v){for(let _=0,V=this.expr.length;_<V;_++)if(!this.expr[_].evaluate(v))return!1;return!0}static _normalizeArr(v,_){const V=[];let J=!1;for(const Le of v)if(Le){if(Le.type===1){J=!0;continue}if(Le.type===0)return I.INSTANCE;if(Le.type===6){V.push(...Le.expr);continue}V.push(Le)}if(V.length===0&&J)return z.INSTANCE;if(V.length!==0){if(V.length===1)return V[0];V.sort(a);for(let Le=1;Le<V.length;Le++)V[Le-1].equals(V[Le])&&(V.splice(Le,1),Le--);if(V.length===1)return V[0];for(;V.length>1;){const Le=V[V.length-1];if(Le.type!==9)break;V.pop();const Oe=V.pop(),Ie=V.length===0,Ze=me.create(Le.expr.map(ut=>he.create([ut,Oe],null)),null,Ie);Ze&&(V.push(Ze),V.sort(a))}return V.length===1?V[0]:new he(V,_)}}serialize(){return this.expr.map(v=>v.serialize()).join(" && ")}keys(){const v=[];for(let _ of this.expr)v.push(..._.keys());return v}negate(){if(!this.negated){const v=[];for(let _ of this.expr)v.push(_.negate());this.negated=me.create(v,this,!0)}return this.negated}}class me{constructor(v,_){this.expr=v,this.negated=_,this.type=9}static create(v,_,V){return me._normalizeArr(v,_,V)}cmp(v){if(v.type!==this.type)return this.type-v.type;if(this.expr.length<v.expr.length)return-1;if(this.expr.length>v.expr.length)return 1;for(let _=0,V=this.expr.length;_<V;_++){const J=a(this.expr[_],v.expr[_]);if(J!==0)return J}return 0}equals(v){if(v.type===this.type){if(this.expr.length!==v.expr.length)return!1;for(let _=0,V=this.expr.length;_<V;_++)if(!this.expr[_].equals(v.expr[_]))return!1;return!0}return!1}substituteConstants(){const v=j(this.expr);return v===this.expr?this:me.create(v,this.negated,!1)}evaluate(v){for(let _=0,V=this.expr.length;_<V;_++)if(this.expr[_].evaluate(v))return!0;return!1}static _normalizeArr(v,_,V){let J=[],Le=!1;if(v){for(let Oe=0,Ie=v.length;Oe<Ie;Oe++){const Ze=v[Oe];if(Ze){if(Ze.type===0){Le=!0;continue}if(Ze.type===1)return z.INSTANCE;if(Ze.type===9){J=J.concat(Ze.expr);continue}J.push(Ze)}}if(J.length===0&&Le)return I.INSTANCE;J.sort(a)}if(J.length!==0){if(J.length===1)return J[0];for(let Oe=1;Oe<J.length;Oe++)J[Oe-1].equals(J[Oe])&&(J.splice(Oe,1),Oe--);if(J.length===1)return J[0];if(V){for(let Oe=0;Oe<J.length;Oe++)for(let Ie=Oe+1;Ie<J.length;Ie++)Q(J[Oe],J[Ie])&&(J.splice(Ie,1),Ie--);if(J.length===1)return J[0]}return new me(J,_)}}serialize(){return this.expr.map(v=>v.serialize()).join(" || ")}keys(){const v=[];for(let _ of this.expr)v.push(..._.keys());return v}negate(){if(!this.negated){let v=[];for(let _ of this.expr)v.push(_.negate());for(;v.length>1;){const _=v.shift(),V=v.shift(),J=[];for(const Oe of de(_))for(const Ie of de(V))J.push(he.create([Oe,Ie],null));const Le=v.length===0;v.unshift(me.create(J,null,Le))}this.negated=v[0]}return this.negated}}class fe extends S{constructor(v,_,V){super(v,null),this._defaultValue=_,typeof V=="object"?fe._info.push(Object.assign(Object.assign({},V),{key:v})):V!==!0&&fe._info.push({key:v,description:V,type:_!=null?typeof _:void 0})}static all(){return fe._info.values()}bindTo(v){return v.createKey(this.key,this._defaultValue)}getValue(v){return v.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(v){return u.create(this.key,v)}}fe._info=[];const ae=(0,ee.yh)("contextKeyService"),te="setContext";function U(ie,v){return ie<v?-1:ie>v?1:0}function pe(ie,v,_,V){return ie<_?-1:ie>_?1:v<V?-1:v>V?1:0}function Q(ie,v){if(v.type===6&&ie.type!==9&&ie.type!==6){for(const J of v.expr)if(ie.equals(J))return!0}const _=ie.negate(),V=de(_).concat(de(v));V.sort(a);for(let J=0;J<V.length;J++){const Oe=V[J].negate();for(let Ie=J+1;Ie<V.length;Ie++){const Ze=V[Ie];if(Oe.equals(Ze))return!0}}return!1}function de(ie){return ie.type===9?ie.expr:[ie]}},16925:function(en,et,f){"use strict";f.d(et,{I8:function(){return y},TG:function(){return L},jt:function(){return $},yh:function(){return Ee}});var y;(function(q){q.serviceIds=new Map,q.DI_TARGET="$di$target",q.DI_DEPENDENCIES="$di$dependencies";function C(Se){return Se[q.DI_DEPENDENCIES]||[]}q.getServiceDependencies=C})(y||(y={}));const L=Ee("instantiationService");function ee(q,C,Se,a){C[y.DI_TARGET]===C?C[y.DI_DEPENDENCIES].push({id:q,index:Se,optional:a}):(C[y.DI_DEPENDENCIES]=[{id:q,index:Se,optional:a}],C[y.DI_TARGET]=C)}function Ee(q){if(y.serviceIds.has(q))return y.serviceIds.get(q);const C=function(Se,a,I){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");ee(C,Se,I,!1)};return C.toString=()=>q,y.serviceIds.set(q,C),C}function $(q){return function(C,Se,a){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");ee(q,C,a,!0)}}},44650:function(en,et,f){"use strict";f.d(et,{B:function(){return Ee}});var y=f(76068),L=f(72999);class ee{constructor(){this.data=new Map}add(q,C){y.ok(L.HD(q)),y.ok(L.Kn(C)),y.ok(!this.data.has(q),"There is already an extension with this id"),this.data.set(q,C)}as(q){return this.data.get(q)||null}}const Ee=new ee},66213:function(en,et,f){"use strict";f.d(et,{e:function(){return y}});var y;(function(L){L.DARK="dark",L.LIGHT="light",L.HIGH_CONTRAST="hc"})(y||(y={}))},49055:function(en,et,f){"use strict";f.d(et,{EN:function(){return a},IP:function(){return S},Ic:function(){return m},XE:function(){return C},bB:function(){return P},kS:function(){return I},m6:function(){return z}});var y=f(52615),L=f(4348),ee=f(69323),Ee=f(16925),$=f(44650),q=f(66213);const C=(0,Ee.yh)("themeService");var Se;(function(ue){function B(W){return W&&typeof W=="object"&&typeof W.id=="string"}ue.isThemeColor=B})(Se||(Se={}));function a(ue){return{id:ue}}var I;(function(ue){function B(Z){return Z&&typeof Z=="object"&&typeof Z.id=="string"&&(typeof Z.color=="undefined"||Se.isThemeColor(Z.color))}ue.isThemeIcon=B;const W=new RegExp(`^\\$\\((${y.dT.iconNameExpression}(?:${y.dT.iconModifierExpression})?)\\)$`);function ne(Z){const j=W.exec(Z);if(!j)return;let[,he]=j;return{id:he}}ue.fromString=ne;function Y(Z,j){let he=Z.id;const me=he.lastIndexOf("~");return me!==-1&&(he=he.substring(0,me)),j&&(he=`${he}~${j}`),{id:he}}ue.modify=Y;function b(Z,j){var he,me;return Z.id===j.id&&((he=Z.color)===null||he===void 0?void 0:he.id)===((me=j.color)===null||me===void 0?void 0:me.id)}ue.isEqual=b;function R(Z,j){return{id:Z.id,color:j?a(j):void 0}}ue.asThemeIcon=R,ue.asClassNameArray=y.dT.asClassNameArray,ue.asClassName=y.dT.asClassName,ue.asCSSSelector=y.dT.asCSSSelector})(I||(I={}));function z(ue){switch(ue){case q.e.DARK:return"vs-dark";case q.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const S={ThemingContribution:"base.contributions.theming"};class u{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new L.Q5}onColorThemeChange(B){return this.themingParticipants.push(B),this.onThemingParticipantAddedEmitter.fire(B),(0,ee.OF)(()=>{const W=this.themingParticipants.indexOf(B);this.themingParticipants.splice(W,1)})}getThemingParticipants(){return this.themingParticipants}}let x=new u;$.B.add(S.ThemingContribution,x);function m(ue){return x.onColorThemeChange(ue)}class P extends ee.JT{constructor(B){super(),this.themeService=B,this.theme=B.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(W=>this.onThemeChange(W)))}onThemeChange(B){this.theme=B,this.updateStyles()}updateStyles(){}}},5630:function(en,et,f){"use strict";var y=f(5891),L=f(57259),ee=f(80962),Ee=f(29043),$=f(19149),q=f(92310),C=f.n(q),Se=f(35788),a=f(59301),I=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],z=(0,a.forwardRef)(function(S,u){var x,m=S.prefixCls,P=m===void 0?"rc-checkbox":m,ue=S.className,B=S.style,W=S.checked,ne=S.disabled,Y=S.defaultChecked,b=Y===void 0?!1:Y,R=S.type,Z=R===void 0?"checkbox":R,j=S.title,he=S.onChange,me=(0,$.Z)(S,I),fe=(0,a.useRef)(null),ae=(0,Se.Z)(b,{value:W}),te=(0,Ee.Z)(ae,2),U=te[0],pe=te[1];(0,a.useImperativeHandle)(u,function(){return{focus:function(){var v;(v=fe.current)===null||v===void 0||v.focus()},blur:function(){var v;(v=fe.current)===null||v===void 0||v.blur()},input:fe.current}});var Q=C()(P,ue,(x={},(0,ee.Z)(x,"".concat(P,"-checked"),U),(0,ee.Z)(x,"".concat(P,"-disabled"),ne),x)),de=function(v){ne||("checked"in S||pe(v.target.checked),he==null||he({target:(0,L.Z)((0,L.Z)({},S),{},{type:Z,checked:v.target.checked}),stopPropagation:function(){v.stopPropagation()},preventDefault:function(){v.preventDefault()},nativeEvent:v.nativeEvent}))};return a.createElement("span",{className:Q,title:j,style:B},a.createElement("input",(0,y.Z)({},me,{className:"".concat(P,"-input"),ref:fe,onChange:de,disabled:ne,checked:!!U,type:Z})),a.createElement("span",{className:"".concat(P,"-inner")}))});et.Z=z},31561:function(en,et,f){"use strict";f.d(et,{Z:function(){return Z}});var y=f(5891),L=f(80962),ee=f(29043),Ee=f(19149),$=f(35593),q=f(92310),C=f.n(q),Se=f(20475),a=f(59301),I=f(85108),z=f(23073),S=I.Z.ESC,u=I.Z.TAB;function x(j){var he=j.visible,me=j.triggerRef,fe=j.onVisibleChange,ae=j.autoFocus,te=j.overlayRef,U=a.useRef(!1),pe=function(){if(he){var v,_;(v=me.current)===null||v===void 0||(_=v.focus)===null||_===void 0||_.call(v),fe==null||fe(!1)}},Q=function(){var v;return(v=te.current)!==null&&v!==void 0&&v.focus?(te.current.focus(),U.current=!0,!0):!1},de=function(v){switch(v.keyCode){case S:pe();break;case u:{var _=!1;U.current||(_=Q()),_?v.preventDefault():pe();break}}};a.useEffect(function(){return he?(window.addEventListener("keydown",de),ae&&(0,z.Z)(Q,3),function(){window.removeEventListener("keydown",de),U.current=!1}):function(){U.current=!1}},[he])}var m=(0,a.forwardRef)(function(j,he){var me=j.overlay,fe=j.arrow,ae=j.prefixCls,te=(0,a.useMemo)(function(){var pe;return typeof me=="function"?pe=me():pe=me,pe},[me]),U=(0,Se.sQ)(he,te==null?void 0:te.ref);return a.createElement(a.Fragment,null,fe&&a.createElement("div",{className:"".concat(ae,"-arrow")}),a.cloneElement(te,{ref:(0,Se.Yr)(te)?U:void 0}))}),P=m,ue={adjustX:1,adjustY:1},B=[0,0],W={topLeft:{points:["bl","tl"],overflow:ue,offset:[0,-4],targetOffset:B},top:{points:["bc","tc"],overflow:ue,offset:[0,-4],targetOffset:B},topRight:{points:["br","tr"],overflow:ue,offset:[0,-4],targetOffset:B},bottomLeft:{points:["tl","bl"],overflow:ue,offset:[0,4],targetOffset:B},bottom:{points:["tc","bc"],overflow:ue,offset:[0,4],targetOffset:B},bottomRight:{points:["tr","br"],overflow:ue,offset:[0,4],targetOffset:B}},ne=W,Y=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function b(j,he){var me,fe=j.arrow,ae=fe===void 0?!1:fe,te=j.prefixCls,U=te===void 0?"rc-dropdown":te,pe=j.transitionName,Q=j.animation,de=j.align,ie=j.placement,v=ie===void 0?"bottomLeft":ie,_=j.placements,V=_===void 0?ne:_,J=j.getPopupContainer,Le=j.showAction,Oe=j.hideAction,Ie=j.overlayClassName,Ze=j.overlayStyle,ut=j.visible,ct=j.trigger,it=ct===void 0?["hover"]:ct,Nt=j.autoFocus,qt=j.overlay,nn=j.children,Dt=j.onVisibleChange,$t=(0,Ee.Z)(j,Y),ot=a.useState(),se=(0,ee.Z)(ot,2),be=se[0],H=se[1],O="visible"in j?ut:be,xe=a.useRef(null),k=a.useRef(null),E=a.useRef(null);a.useImperativeHandle(he,function(){return xe.current});var T=function(tt){H(tt),Dt==null||Dt(tt)};x({visible:O,triggerRef:E,onVisibleChange:T,autoFocus:Nt,overlayRef:k});var X=function(tt){var We=j.onOverlayClick;H(!1),We&&We(tt)},G=function(){return a.createElement(P,{ref:k,overlay:qt,prefixCls:U,arrow:ae})},K=function(){return typeof qt=="function"?G:G()},we=function(){var tt=j.minOverlayWidthMatchTrigger,We=j.alignPoint;return"minOverlayWidthMatchTrigger"in j?tt:!We},Ke=function(){var tt=j.openClassName;return tt!==void 0?tt:"".concat(U,"-open")},ke=a.cloneElement(nn,{className:C()((me=nn.props)===null||me===void 0?void 0:me.className,O&&Ke()),ref:(0,Se.Yr)(nn)?(0,Se.sQ)(E,nn.ref):void 0}),Te=Oe;return!Te&&it.indexOf("contextMenu")!==-1&&(Te=["click"]),a.createElement($.Z,(0,y.Z)({builtinPlacements:V},$t,{prefixCls:U,ref:xe,popupClassName:C()(Ie,(0,L.Z)({},"".concat(U,"-show-arrow"),ae)),popupStyle:Ze,action:it,showAction:Le,hideAction:Te,popupPlacement:v,popupAlign:de,popupTransitionName:pe,popupAnimation:Q,popupVisible:O,stretch:we()?"minWidth":"",popup:K(),onPopupVisibleChange:T,onPopupClick:X,getPopupContainer:J}),ke)}var R=a.forwardRef(b),Z=R},93681:function(en,et,f){"use strict";f.r(et),f.d(et,{BaseInput:function(){return I},default:function(){return W}});var y=f(5891),L=f(57259),ee=f(80962),Ee=f(80665),$=f(92310),q=f.n($),C=f(59301),Se=f(5643),a=function(Y){var b,R,Z=Y.inputElement,j=Y.prefixCls,he=Y.prefix,me=Y.suffix,fe=Y.addonBefore,ae=Y.addonAfter,te=Y.className,U=Y.style,pe=Y.disabled,Q=Y.readOnly,de=Y.focused,ie=Y.triggerFocus,v=Y.allowClear,_=Y.value,V=Y.handleReset,J=Y.hidden,Le=Y.classes,Oe=Y.classNames,Ie=Y.dataAttrs,Ze=Y.styles,ut=Y.components,ct=(ut==null?void 0:ut.affixWrapper)||"span",it=(ut==null?void 0:ut.groupWrapper)||"span",Nt=(ut==null?void 0:ut.wrapper)||"span",qt=(ut==null?void 0:ut.groupAddon)||"span",nn=(0,C.useRef)(null),Dt=function(G){var K;(K=nn.current)!==null&&K!==void 0&&K.contains(G.target)&&(ie==null||ie())},$t=function(){var G;if(!v)return null;var K=!pe&&!Q&&_,we="".concat(j,"-clear-icon"),Ke=(0,Ee.Z)(v)==="object"&&v!==null&&v!==void 0&&v.clearIcon?v.clearIcon:"\u2716";return C.createElement("span",{onClick:V,onMouseDown:function(Te){return Te.preventDefault()},className:q()(we,(G={},(0,ee.Z)(G,"".concat(we,"-hidden"),!K),(0,ee.Z)(G,"".concat(we,"-has-suffix"),!!me),G)),role:"button",tabIndex:-1},Ke)},ot=(0,C.cloneElement)(Z,{value:_,hidden:J,className:q()((b=Z.props)===null||b===void 0?void 0:b.className,!(0,Se.X3)(Y)&&!(0,Se.He)(Y)&&te)||null,style:(0,L.Z)((0,L.Z)({},(R=Z.props)===null||R===void 0?void 0:R.style),!(0,Se.X3)(Y)&&!(0,Se.He)(Y)?U:{})});if((0,Se.X3)(Y)){var se,be="".concat(j,"-affix-wrapper"),H=q()(be,(se={},(0,ee.Z)(se,"".concat(be,"-disabled"),pe),(0,ee.Z)(se,"".concat(be,"-focused"),de),(0,ee.Z)(se,"".concat(be,"-readonly"),Q),(0,ee.Z)(se,"".concat(be,"-input-with-clear-btn"),me&&v&&_),se),!(0,Se.He)(Y)&&te,Le==null?void 0:Le.affixWrapper,Oe==null?void 0:Oe.affixWrapper),O=(me||v)&&C.createElement("span",{className:q()("".concat(j,"-suffix"),Oe==null?void 0:Oe.suffix),style:Ze==null?void 0:Ze.suffix},$t(),me);ot=C.createElement(ct,(0,y.Z)({className:H,style:(0,L.Z)((0,L.Z)({},(0,Se.He)(Y)?void 0:U),Ze==null?void 0:Ze.affixWrapper),hidden:!(0,Se.He)(Y)&&J,onClick:Dt},Ie==null?void 0:Ie.affixWrapper,{ref:nn}),he&&C.createElement("span",{className:q()("".concat(j,"-prefix"),Oe==null?void 0:Oe.prefix),style:Ze==null?void 0:Ze.prefix},he),(0,C.cloneElement)(Z,{value:_,hidden:null}),O)}if((0,Se.He)(Y)){var xe="".concat(j,"-group"),k="".concat(xe,"-addon"),E=q()("".concat(j,"-wrapper"),xe,Le==null?void 0:Le.wrapper),T=q()("".concat(j,"-group-wrapper"),te,Le==null?void 0:Le.group);return C.createElement(it,{className:T,style:U,hidden:J},C.createElement(Nt,{className:E},fe&&C.createElement(qt,{className:k},fe),(0,C.cloneElement)(ot,{hidden:null}),ae&&C.createElement(qt,{className:k},ae)))}return ot},I=a,z=f(26390),S=f(29043),u=f(19149),x=f(35788),m=f(64002),P=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],ue=(0,C.forwardRef)(function(ne,Y){var b=ne.autoComplete,R=ne.onChange,Z=ne.onFocus,j=ne.onBlur,he=ne.onPressEnter,me=ne.onKeyDown,fe=ne.prefixCls,ae=fe===void 0?"rc-input":fe,te=ne.disabled,U=ne.htmlSize,pe=ne.className,Q=ne.maxLength,de=ne.suffix,ie=ne.showCount,v=ne.type,_=v===void 0?"text":v,V=ne.classes,J=ne.classNames,Le=ne.styles,Oe=(0,u.Z)(ne,P),Ie=(0,x.Z)(ne.defaultValue,{value:ne.value}),Ze=(0,S.Z)(Ie,2),ut=Ze[0],ct=Ze[1],it=(0,C.useState)(!1),Nt=(0,S.Z)(it,2),qt=Nt[0],nn=Nt[1],Dt=(0,C.useRef)(null),$t=function(T){Dt.current&&(0,Se.nH)(Dt.current,T)};(0,C.useImperativeHandle)(Y,function(){return{focus:$t,blur:function(){var T;(T=Dt.current)===null||T===void 0||T.blur()},setSelectionRange:function(T,X,G){var K;(K=Dt.current)===null||K===void 0||K.setSelectionRange(T,X,G)},select:function(){var T;(T=Dt.current)===null||T===void 0||T.select()},input:Dt.current}}),(0,C.useEffect)(function(){nn(function(E){return E&&te?!1:E})},[te]);var ot=function(T){ne.value===void 0&&ct(T.target.value),Dt.current&&(0,Se.rJ)(Dt.current,T,R)},se=function(T){he&&T.key==="Enter"&&he(T),me==null||me(T)},be=function(T){nn(!0),Z==null||Z(T)},H=function(T){nn(!1),j==null||j(T)},O=function(T){ct(""),$t(),Dt.current&&(0,Se.rJ)(Dt.current,T,R)},xe=function(){var T=(0,m.Z)(ne,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return C.createElement("input",(0,y.Z)({autoComplete:b},T,{onChange:ot,onFocus:be,onBlur:H,onKeyDown:se,className:q()(ae,(0,ee.Z)({},"".concat(ae,"-disabled"),te),J==null?void 0:J.input),style:Le==null?void 0:Le.input,ref:Dt,size:U,type:_}))},k=function(){var T=Number(Q)>0;if(de||ie){var X=(0,Se.D7)(ut),G=(0,z.Z)(X).length,K=(0,Ee.Z)(ie)==="object"?ie.formatter({value:X,count:G,maxLength:Q}):"".concat(G).concat(T?" / ".concat(Q):"");return C.createElement(C.Fragment,null,!!ie&&C.createElement("span",{className:q()("".concat(ae,"-show-count-suffix"),(0,ee.Z)({},"".concat(ae,"-show-count-has-suffix"),!!de),J==null?void 0:J.count),style:(0,L.Z)({},Le==null?void 0:Le.count)},K),de)}return null};return C.createElement(I,(0,y.Z)({},Oe,{prefixCls:ae,className:pe,inputElement:xe(),handleReset:O,value:(0,Se.D7)(ut),focused:qt,triggerFocus:$t,suffix:k(),disabled:te,classes:V,classNames:J,styles:Le}))}),B=ue,W=B},5643:function(en,et,f){"use strict";f.d(et,{D7:function(){return $},He:function(){return y},X3:function(){return L},nH:function(){return Ee},rJ:function(){return ee}});function y(q){return!!(q.addonBefore||q.addonAfter)}function L(q){return!!(q.prefix||q.suffix||q.allowClear)}function ee(q,C,Se,a){if(Se){var I=C;if(C.type==="click"){var z=q.cloneNode(!0);I=Object.create(C,{target:{value:z},currentTarget:{value:z}}),z.value="",Se(I);return}if(a!==void 0){I=Object.create(C,{target:{value:q},currentTarget:{value:q}}),q.value=a,Se(I);return}Se(I)}}function Ee(q,C){if(q){q.focus(C);var Se=C||{},a=Se.cursor;if(a){var I=q.value.length;switch(a){case"start":q.setSelectionRange(0,0);break;case"end":q.setSelectionRange(I,I);break;default:q.setSelectionRange(0,I)}}}}function $(q){return typeof q=="undefined"||q===null?"":String(q)}},22798:function(en,et,f){"use strict";f.d(et,{iz:function(){return dn},ck:function(){return Je},BW:function(){return sn},sN:function(){return Je},Wd:function(){return lt},ZP:function(){return rn},Xl:function(){return me}});var y=f(5891),L=f(80962),ee=f(57259),Ee=f(26390),$=f(29043),q=f(19149),C=f(92310),Se=f.n(C),a=f(11780),I=f(35788),z=f(51346),S=f(51395),u=f(59301),x=f(4676),m=u.createContext(null);function P(dt,gt){return dt===void 0?null:"".concat(dt,"-").concat(gt)}function ue(dt){var gt=u.useContext(m);return P(gt,dt)}var B=f(79722),W=["children","locked"],ne=u.createContext(null);function Y(dt,gt){var kt=(0,ee.Z)({},dt);return Object.keys(gt).forEach(function(Vt){var Ft=gt[Vt];Ft!==void 0&&(kt[Vt]=Ft)}),kt}function b(dt){var gt=dt.children,kt=dt.locked,Vt=(0,q.Z)(dt,W),Ft=u.useContext(ne),Qt=(0,B.Z)(function(){return Y(Ft,Vt)},[Ft,Vt],function(Gt,vn){return!kt&&(Gt[0]!==vn[0]||!(0,z.Z)(Gt[1],vn[1],!0))});return u.createElement(ne.Provider,{value:Qt},gt)}var R=[],Z=u.createContext(null);function j(){return u.useContext(Z)}var he=u.createContext(R);function me(dt){var gt=u.useContext(he);return u.useMemo(function(){return dt!==void 0?[].concat((0,Ee.Z)(gt),[dt]):gt},[gt,dt])}var fe=u.createContext(null),ae=u.createContext({}),te=ae,U=f(48886);function pe(dt){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,U.Z)(dt)){var kt=dt.nodeName.toLowerCase(),Vt=["input","select","textarea","button"].includes(kt)||dt.isContentEditable||kt==="a"&&!!dt.getAttribute("href"),Ft=dt.getAttribute("tabindex"),Qt=Number(Ft),Gt=null;return Ft&&!Number.isNaN(Qt)?Gt=Qt:Vt&&Gt===null&&(Gt=0),Vt&&dt.disabled&&(Gt=null),Gt!==null&&(Gt>=0||gt&&Gt<0)}return!1}function Q(dt){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,kt=(0,Ee.Z)(dt.querySelectorAll("*")).filter(function(Vt){return pe(Vt,gt)});return pe(dt,gt)&&kt.unshift(dt),kt}var de=null;function ie(){de=document.activeElement}function v(){de=null}function _(){if(de)try{de.focus()}catch(dt){}}function V(dt,gt){if(gt.keyCode===9){var kt=Q(dt),Vt=kt[gt.shiftKey?0:kt.length-1],Ft=Vt===document.activeElement||dt===document.activeElement;if(Ft){var Qt=kt[gt.shiftKey?kt.length-1:0];Qt.focus(),gt.preventDefault()}}}var J=f(85108),Le=f(23073),Oe=J.Z.LEFT,Ie=J.Z.RIGHT,Ze=J.Z.UP,ut=J.Z.DOWN,ct=J.Z.ENTER,it=J.Z.ESC,Nt=J.Z.HOME,qt=J.Z.END,nn=[Ze,ut,Oe,Ie];function Dt(dt,gt,kt,Vt){var Ft,Qt,Gt,vn,En="prev",Fn="next",tr="children",Xn="parent";if(dt==="inline"&&Vt===ct)return{inlineTrigger:!0};var ar=(Ft={},(0,L.Z)(Ft,Ze,En),(0,L.Z)(Ft,ut,Fn),Ft),Dn=(Qt={},(0,L.Z)(Qt,Oe,kt?Fn:En),(0,L.Z)(Qt,Ie,kt?En:Fn),(0,L.Z)(Qt,ut,tr),(0,L.Z)(Qt,ct,tr),Qt),wn=(Gt={},(0,L.Z)(Gt,Ze,En),(0,L.Z)(Gt,ut,Fn),(0,L.Z)(Gt,ct,tr),(0,L.Z)(Gt,it,Xn),(0,L.Z)(Gt,Oe,kt?tr:Xn),(0,L.Z)(Gt,Ie,kt?Xn:tr),Gt),gr={inline:ar,horizontal:Dn,vertical:wn,inlineSub:ar,horizontalSub:wn,verticalSub:wn},Gn=(vn=gr["".concat(dt).concat(gt?"":"Sub")])===null||vn===void 0?void 0:vn[Vt];switch(Gn){case En:return{offset:-1,sibling:!0};case Fn:return{offset:1,sibling:!0};case Xn:return{offset:-1,sibling:!1};case tr:return{offset:1,sibling:!1};default:return null}}function $t(dt){for(var gt=dt;gt;){if(gt.getAttribute("data-menu-list"))return gt;gt=gt.parentElement}return null}function ot(dt,gt){for(var kt=dt||document.activeElement;kt;){if(gt.has(kt))return kt;kt=kt.parentElement}return null}function se(dt,gt){var kt=Q(dt,!0);return kt.filter(function(Vt){return gt.has(Vt)})}function be(dt,gt,kt){var Vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!dt)return null;var Ft=se(dt,gt),Qt=Ft.length,Gt=Ft.findIndex(function(vn){return kt===vn});return Vt<0?Gt===-1?Gt=Qt-1:Gt-=1:Vt>0&&(Gt+=1),Gt=(Gt+Qt)%Qt,Ft[Gt]}var H=function(gt,kt){var Vt=new Set,Ft=new Map,Qt=new Map;return gt.forEach(function(Gt){var vn=document.querySelector("[data-menu-id='".concat(P(kt,Gt),"']"));vn&&(Vt.add(vn),Qt.set(vn,Gt),Ft.set(Gt,vn))}),{elements:Vt,key2element:Ft,element2key:Qt}};function O(dt,gt,kt,Vt,Ft,Qt,Gt,vn,En,Fn){var tr=u.useRef(),Xn=u.useRef();Xn.current=gt;var ar=function(){Le.Z.cancel(tr.current)};return u.useEffect(function(){return function(){ar()}},[]),function(Dn){var wn=Dn.which;if([].concat(nn,[ct,it,Nt,qt]).includes(wn)){var gr=Qt(),Gn=H(gr,Vt),Cr=Gn,er=Cr.elements,mr=Cr.key2element,Sr=Cr.element2key,nr=mr.get(gt),kr=ot(nr,er),Jr=Sr.get(kr),Qn=Dt(dt,Gt(Jr,!0).length===1,kt,wn);if(!Qn&&wn!==Nt&&wn!==qt)return;(nn.includes(wn)||[Nt,qt].includes(wn))&&Dn.preventDefault();var Cn=function(vr){if(vr){var Hn=vr,Mn=vr.querySelector("a");Mn!=null&&Mn.getAttribute("href")&&(Hn=Mn);var jn=Sr.get(vr);vn(jn),ar(),tr.current=(0,Le.Z)(function(){Xn.current===jn&&Hn.focus()})}};if([Nt,qt].includes(wn)||Qn.sibling||!kr){var at;!kr||dt==="inline"?at=Ft.current:at=$t(kr);var Kn,lr=se(at,er);wn===Nt?Kn=lr[0]:wn===qt?Kn=lr[lr.length-1]:Kn=be(at,er,kr,Qn.offset),Cn(Kn)}else if(Qn.inlineTrigger)En(Jr);else if(Qn.offset>0)En(Jr,!0),ar(),tr.current=(0,Le.Z)(function(){Gn=H(gr,Vt);var Ur=kr.getAttribute("aria-controls"),vr=document.getElementById(Ur),Hn=be(vr,Gn.elements);Cn(Hn)},5);else if(Qn.offset<0){var Rr=Gt(Jr,!0),Tr=Rr[Rr.length-2],Pr=mr.get(Tr);En(Tr,!1),Cn(Pr)}}Fn==null||Fn(Dn)}}function xe(dt){Promise.resolve().then(dt)}var k="__RC_UTIL_PATH_SPLIT__",E=function(gt){return gt.join(k)},T=function(gt){return gt.split(k)},X="rc-menu-more";function G(){var dt=u.useState({}),gt=(0,$.Z)(dt,2),kt=gt[1],Vt=(0,u.useRef)(new Map),Ft=(0,u.useRef)(new Map),Qt=u.useState([]),Gt=(0,$.Z)(Qt,2),vn=Gt[0],En=Gt[1],Fn=(0,u.useRef)(0),tr=(0,u.useRef)(!1),Xn=function(){tr.current||kt({})},ar=(0,u.useCallback)(function(mr,Sr){var nr=E(Sr);Ft.current.set(nr,mr),Vt.current.set(mr,nr),Fn.current+=1;var kr=Fn.current;xe(function(){kr===Fn.current&&Xn()})},[]),Dn=(0,u.useCallback)(function(mr,Sr){var nr=E(Sr);Ft.current.delete(nr),Vt.current.delete(mr)},[]),wn=(0,u.useCallback)(function(mr){En(mr)},[]),gr=(0,u.useCallback)(function(mr,Sr){var nr=Vt.current.get(mr)||"",kr=T(nr);return Sr&&vn.includes(kr[0])&&kr.unshift(X),kr},[vn]),Gn=(0,u.useCallback)(function(mr,Sr){return mr.some(function(nr){var kr=gr(nr,!0);return kr.includes(Sr)})},[gr]),Cr=function(){var Sr=(0,Ee.Z)(Vt.current.keys());return vn.length&&Sr.push(X),Sr},er=(0,u.useCallback)(function(mr){var Sr="".concat(Vt.current.get(mr)).concat(k),nr=new Set;return(0,Ee.Z)(Ft.current.keys()).forEach(function(kr){kr.startsWith(Sr)&&nr.add(Ft.current.get(kr))}),nr},[]);return u.useEffect(function(){return function(){tr.current=!0}},[]),{registerPath:ar,unregisterPath:Dn,refreshOverflowKeys:wn,isSubPathKey:Gn,getKeyPath:gr,getKeys:Cr,getSubPathKeys:er}}function K(dt){var gt=u.useRef(dt);gt.current=dt;var kt=u.useCallback(function(){for(var Vt,Ft=arguments.length,Qt=new Array(Ft),Gt=0;Gt<Ft;Gt++)Qt[Gt]=arguments[Gt];return(Vt=gt.current)===null||Vt===void 0?void 0:Vt.call.apply(Vt,[gt].concat(Qt))},[]);return dt?kt:void 0}var we=Math.random().toFixed(5).toString().slice(2),Ke=0;function ke(dt){var gt=(0,I.Z)(dt,{value:dt}),kt=(0,$.Z)(gt,2),Vt=kt[0],Ft=kt[1];return u.useEffect(function(){Ke+=1;var Qt="".concat(we,"-").concat(Ke);Ft("rc-menu-uuid-".concat(Qt))},[]),Vt}var Te=f(79545),Ye=f(68550),tt=f(17928),We=f(7711),yt=f(64002),St=f(20475);function pt(dt,gt,kt,Vt){var Ft=u.useContext(ne),Qt=Ft.activeKey,Gt=Ft.onActive,vn=Ft.onInactive,En={active:Qt===dt};return gt||(En.onMouseEnter=function(Fn){kt==null||kt({key:dt,domEvent:Fn}),Gt(dt)},En.onMouseLeave=function(Fn){Vt==null||Vt({key:dt,domEvent:Fn}),vn(dt)}),En}function Lt(dt){var gt=u.useContext(ne),kt=gt.mode,Vt=gt.rtl,Ft=gt.inlineIndent;if(kt!=="inline")return null;var Qt=dt;return Vt?{paddingRight:Qt*Ft}:{paddingLeft:Qt*Ft}}function _t(dt){var gt=dt.icon,kt=dt.props,Vt=dt.children,Ft;return gt===null||gt===!1?null:(typeof gt=="function"?Ft=u.createElement(gt,(0,ee.Z)({},kt)):typeof gt!="boolean"&&(Ft=gt),Ft||Vt||null)}var w=["item"];function D(dt){var gt=dt.item,kt=(0,q.Z)(dt,w);return Object.defineProperty(kt,"item",{get:function(){return(0,S.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),gt}}),kt}var bt=["title","attribute","elementRef"],ce=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Me=["active"],pn=function(dt){(0,tt.Z)(kt,dt);var gt=(0,We.Z)(kt);function kt(){return(0,Te.Z)(this,kt),gt.apply(this,arguments)}return(0,Ye.Z)(kt,[{key:"render",value:function(){var Ft=this.props,Qt=Ft.title,Gt=Ft.attribute,vn=Ft.elementRef,En=(0,q.Z)(Ft,bt),Fn=(0,yt.Z)(En,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,S.ZP)(!Gt,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),u.createElement(a.Z.Item,(0,y.Z)({},Gt,{title:typeof Qt=="string"?Qt:void 0},Fn,{ref:vn}))}}]),kt}(u.Component),He=u.forwardRef(function(dt,gt){var kt,Vt=dt.style,Ft=dt.className,Qt=dt.eventKey,Gt=dt.warnKey,vn=dt.disabled,En=dt.itemIcon,Fn=dt.children,tr=dt.role,Xn=dt.onMouseEnter,ar=dt.onMouseLeave,Dn=dt.onClick,wn=dt.onKeyDown,gr=dt.onFocus,Gn=(0,q.Z)(dt,ce),Cr=ue(Qt),er=u.useContext(ne),mr=er.prefixCls,Sr=er.onItemClick,nr=er.disabled,kr=er.overflowDisabled,Jr=er.itemIcon,Qn=er.selectedKeys,Cn=er.onActive,at=u.useContext(te),Kn=at._internalRenderMenuItem,lr="".concat(mr,"-item"),Rr=u.useRef(),Tr=u.useRef(),Pr=nr||vn,Ur=(0,St.x1)(gt,Tr),vr=me(Qt),Hn=function(Xr){return{key:Qt,keyPath:(0,Ee.Z)(vr).reverse(),item:Rr.current,domEvent:Xr}},Mn=En||Jr,jn=pt(Qt,Pr,Xn,ar),Er=jn.active,Nr=(0,q.Z)(jn,Me),hi=Qn.includes(Qt),Ei=Lt(vr.length),Vn=function(Xr){if(!Pr){var gi=Hn(Xr);Dn==null||Dn(D(gi)),Sr(gi)}},Zr=function(Xr){if(wn==null||wn(Xr),Xr.which===J.Z.ENTER){var gi=Hn(Xr);Dn==null||Dn(D(gi)),Sr(gi)}},jr=function(Xr){Cn(Qt),gr==null||gr(Xr)},ni={};dt.role==="option"&&(ni["aria-selected"]=hi);var ji=u.createElement(pn,(0,y.Z)({ref:Rr,elementRef:Ur,role:tr===null?"none":tr||"menuitem",tabIndex:vn?null:-1,"data-menu-id":kr&&Cr?null:Cr},Gn,Nr,ni,{component:"li","aria-disabled":vn,style:(0,ee.Z)((0,ee.Z)({},Ei),Vt),className:Se()(lr,(kt={},(0,L.Z)(kt,"".concat(lr,"-active"),Er),(0,L.Z)(kt,"".concat(lr,"-selected"),hi),(0,L.Z)(kt,"".concat(lr,"-disabled"),Pr),kt),Ft),onClick:Vn,onKeyDown:Zr,onFocus:jr}),Fn,u.createElement(_t,{props:(0,ee.Z)((0,ee.Z)({},dt),{},{isSelected:hi}),icon:Mn}));return Kn&&(ji=Kn(ji,dt,{selected:hi})),ji});function rt(dt,gt){var kt=dt.eventKey,Vt=j(),Ft=me(kt);return u.useEffect(function(){if(Vt)return Vt.registerPath(kt,Ft),function(){Vt.unregisterPath(kt,Ft)}},[Ft]),Vt?null:u.createElement(He,(0,y.Z)({},dt,{ref:gt}))}var Je=u.forwardRef(rt),Ae=["className","children"],De=function(gt,kt){var Vt=gt.className,Ft=gt.children,Qt=(0,q.Z)(gt,Ae),Gt=u.useContext(ne),vn=Gt.prefixCls,En=Gt.mode,Fn=Gt.rtl;return u.createElement("ul",(0,y.Z)({className:Se()(vn,Fn&&"".concat(vn,"-rtl"),"".concat(vn,"-sub"),"".concat(vn,"-").concat(En==="inline"?"inline":"vertical"),Vt),role:"menu"},Qt,{"data-menu-list":!0,ref:kt}),Ft)},ze=u.forwardRef(De);ze.displayName="SubMenuList";var Xe=ze,ge=f(38298);function an(dt,gt){return(0,ge.Z)(dt).map(function(kt,Vt){if(u.isValidElement(kt)){var Ft,Qt,Gt=kt.key,vn=(Ft=(Qt=kt.props)===null||Qt===void 0?void 0:Qt.eventKey)!==null&&Ft!==void 0?Ft:Gt,En=vn==null;En&&(vn="tmp_key-".concat([].concat((0,Ee.Z)(gt),[Vt]).join("-")));var Fn={key:vn,eventKey:vn};return u.cloneElement(kt,Fn)}return kt})}var $e=f(35593),bn={adjustX:1,adjustY:1},Tn={topLeft:{points:["bl","tl"],overflow:bn},topRight:{points:["br","tr"],overflow:bn},bottomLeft:{points:["tl","bl"],overflow:bn},bottomRight:{points:["tr","br"],overflow:bn},leftTop:{points:["tr","tl"],overflow:bn},leftBottom:{points:["br","bl"],overflow:bn},rightTop:{points:["tl","tr"],overflow:bn},rightBottom:{points:["bl","br"],overflow:bn}},Wt={topLeft:{points:["bl","tl"],overflow:bn},topRight:{points:["br","tr"],overflow:bn},bottomLeft:{points:["tl","bl"],overflow:bn},bottomRight:{points:["tr","br"],overflow:bn},rightTop:{points:["tr","tl"],overflow:bn},rightBottom:{points:["br","bl"],overflow:bn},leftTop:{points:["tl","tr"],overflow:bn},leftBottom:{points:["bl","br"],overflow:bn}},Yt=null;function Rt(dt,gt,kt){if(gt)return gt;if(kt)return kt[dt]||kt.other}var Ot={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Ge(dt){var gt=dt.prefixCls,kt=dt.visible,Vt=dt.children,Ft=dt.popup,Qt=dt.popupStyle,Gt=dt.popupClassName,vn=dt.popupOffset,En=dt.disabled,Fn=dt.mode,tr=dt.onVisibleChange,Xn=u.useContext(ne),ar=Xn.getPopupContainer,Dn=Xn.rtl,wn=Xn.subMenuOpenDelay,gr=Xn.subMenuCloseDelay,Gn=Xn.builtinPlacements,Cr=Xn.triggerSubMenuAction,er=Xn.forceSubMenuRender,mr=Xn.rootClassName,Sr=Xn.motion,nr=Xn.defaultMotions,kr=u.useState(!1),Jr=(0,$.Z)(kr,2),Qn=Jr[0],Cn=Jr[1],at=Dn?(0,ee.Z)((0,ee.Z)({},Wt),Gn):(0,ee.Z)((0,ee.Z)({},Tn),Gn),Kn=Ot[Fn],lr=Rt(Fn,Sr,nr),Rr=u.useRef(lr);Fn!=="inline"&&(Rr.current=lr);var Tr=(0,ee.Z)((0,ee.Z)({},Rr.current),{},{leavedClassName:"".concat(gt,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Pr=u.useRef();return u.useEffect(function(){return Pr.current=(0,Le.Z)(function(){Cn(kt)}),function(){Le.Z.cancel(Pr.current)}},[kt]),u.createElement($e.Z,{prefixCls:gt,popupClassName:Se()("".concat(gt,"-popup"),(0,L.Z)({},"".concat(gt,"-rtl"),Dn),Gt,mr),stretch:Fn==="horizontal"?"minWidth":null,getPopupContainer:ar,builtinPlacements:at,popupPlacement:Kn,popupVisible:Qn,popup:Ft,popupStyle:Qt,popupAlign:vn&&{offset:vn},action:En?[]:[Cr],mouseEnterDelay:wn,mouseLeaveDelay:gr,onPopupVisibleChange:tr,forceRender:er,popupMotion:Tr,fresh:!0},Vt)}var xt=f(43469);function At(dt){var gt=dt.id,kt=dt.open,Vt=dt.keyPath,Ft=dt.children,Qt="inline",Gt=u.useContext(ne),vn=Gt.prefixCls,En=Gt.forceSubMenuRender,Fn=Gt.motion,tr=Gt.defaultMotions,Xn=Gt.mode,ar=u.useRef(!1);ar.current=Xn===Qt;var Dn=u.useState(!ar.current),wn=(0,$.Z)(Dn,2),gr=wn[0],Gn=wn[1],Cr=ar.current?kt:!1;u.useEffect(function(){ar.current&&Gn(!1)},[Xn]);var er=(0,ee.Z)({},Rt(Qt,Fn,tr));Vt.length>1&&(er.motionAppear=!1);var mr=er.onVisibleChanged;return er.onVisibleChanged=function(Sr){return!ar.current&&!Sr&&Gn(!0),mr==null?void 0:mr(Sr)},gr?null:u.createElement(b,{mode:Qt,locked:!ar.current},u.createElement(xt.default,(0,y.Z)({visible:Cr},er,{forceRender:En,removeOnLeave:!1,leavedClassName:"".concat(vn,"-hidden")}),function(Sr){var nr=Sr.className,kr=Sr.style;return u.createElement(Xe,{id:gt,className:nr,style:kr},Ft)}))}var Ue=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Ce=["active"],mt=function(gt){var kt,Vt=gt.style,Ft=gt.className,Qt=gt.title,Gt=gt.eventKey,vn=gt.warnKey,En=gt.disabled,Fn=gt.internalPopupClose,tr=gt.children,Xn=gt.itemIcon,ar=gt.expandIcon,Dn=gt.popupClassName,wn=gt.popupOffset,gr=gt.popupStyle,Gn=gt.onClick,Cr=gt.onMouseEnter,er=gt.onMouseLeave,mr=gt.onTitleClick,Sr=gt.onTitleMouseEnter,nr=gt.onTitleMouseLeave,kr=(0,q.Z)(gt,Ue),Jr=ue(Gt),Qn=u.useContext(ne),Cn=Qn.prefixCls,at=Qn.mode,Kn=Qn.openKeys,lr=Qn.disabled,Rr=Qn.overflowDisabled,Tr=Qn.activeKey,Pr=Qn.selectedKeys,Ur=Qn.itemIcon,vr=Qn.expandIcon,Hn=Qn.onItemClick,Mn=Qn.onOpenChange,jn=Qn.onActive,Er=u.useContext(te),Nr=Er._internalRenderSubMenuItem,hi=u.useContext(fe),Ei=hi.isSubPathKey,Vn=me(),Zr="".concat(Cn,"-submenu"),jr=lr||En,ni=u.useRef(),ji=u.useRef(),Ii=Xn!=null?Xn:Ur,Xr=ar!=null?ar:vr,gi=Kn.includes(Gt),oi=!Rr&&gi,Ti=Ei(Pr,Gt),Di=pt(Gt,jr,Sr,nr),Vi=Di.active,Ci=(0,q.Z)(Di,Ce),Zi=u.useState(!1),Kr=(0,$.Z)(Zi,2),aa=Kr[0],ga=Kr[1],ua=function(Fi){jr||ga(Fi)},vi=function(Fi){ua(!0),Cr==null||Cr({key:Gt,domEvent:Fi})},ca=function(Fi){ua(!1),er==null||er({key:Gt,domEvent:Fi})},Ea=u.useMemo(function(){return Vi||(at!=="inline"?aa||Ei([Tr],Gt):!1)},[at,Vi,Tr,aa,Gt,Ei]),Ln=Lt(Vn.length),Li=function(Fi){jr||(mr==null||mr({key:Gt,domEvent:Fi}),at==="inline"&&Mn(Gt,!gi))},na=K(function(yi){Gn==null||Gn(D(yi)),Hn(yi)}),ur=function(Fi){at!=="inline"&&Mn(Gt,Fi)},xr=function(){jn(Gt)},cr=Jr&&"".concat(Jr,"-popup"),Zn=u.createElement("div",(0,y.Z)({role:"menuitem",style:Ln,className:"".concat(Zr,"-title"),tabIndex:jr?null:-1,ref:ni,title:typeof Qt=="string"?Qt:null,"data-menu-id":Rr&&Jr?null:Jr,"aria-expanded":oi,"aria-haspopup":!0,"aria-controls":cr,"aria-disabled":jr,onClick:Li,onFocus:xr},Ci),Qt,u.createElement(_t,{icon:at!=="horizontal"?Xr:void 0,props:(0,ee.Z)((0,ee.Z)({},gt),{},{isOpen:oi,isSubMenu:!0})},u.createElement("i",{className:"".concat(Zr,"-arrow")}))),Br=u.useRef(at);if(at!=="inline"&&Vn.length>1?Br.current="vertical":Br.current=at,!Rr){var $r=Br.current;Zn=u.createElement(Ge,{mode:$r,prefixCls:Zr,visible:!Fn&&oi&&at!=="inline",popupClassName:Dn,popupOffset:wn,popupStyle:gr,popup:u.createElement(b,{mode:$r==="horizontal"?"vertical":$r},u.createElement(Xe,{id:cr,ref:ji},tr)),disabled:jr,onVisibleChange:ur},Zn)}var Ni=u.createElement(a.Z.Item,(0,y.Z)({role:"none"},kr,{component:"li",style:Vt,className:Se()(Zr,"".concat(Zr,"-").concat(at),Ft,(kt={},(0,L.Z)(kt,"".concat(Zr,"-open"),oi),(0,L.Z)(kt,"".concat(Zr,"-active"),Ea),(0,L.Z)(kt,"".concat(Zr,"-selected"),Ti),(0,L.Z)(kt,"".concat(Zr,"-disabled"),jr),kt)),onMouseEnter:vi,onMouseLeave:ca}),Zn,!Rr&&u.createElement(At,{id:cr,open:oi,keyPath:Vn},tr));return Nr&&(Ni=Nr(Ni,gt,{selected:Ti,active:Ea,open:oi,disabled:jr})),u.createElement(b,{onItemClick:na,mode:at==="horizontal"?"vertical":at,itemIcon:Ii,expandIcon:Xr},Ni)};function lt(dt){var gt=dt.eventKey,kt=dt.children,Vt=me(gt),Ft=an(kt,Vt),Qt=j();u.useEffect(function(){if(Qt)return Qt.registerPath(gt,Vt),function(){Qt.unregisterPath(gt,Vt)}},[Vt]);var Gt;return Qt?Gt=Ft:Gt=u.createElement(mt,dt,Ft),u.createElement(he.Provider,{value:Vt},Gt)}var Pt=f(80665),Ht=["className","title","eventKey","children"],tn=["children"],Ut=function(gt){var kt=gt.className,Vt=gt.title,Ft=gt.eventKey,Qt=gt.children,Gt=(0,q.Z)(gt,Ht),vn=u.useContext(ne),En=vn.prefixCls,Fn="".concat(En,"-item-group");return u.createElement("li",(0,y.Z)({role:"presentation"},Gt,{onClick:function(Xn){return Xn.stopPropagation()},className:Se()(Fn,kt)}),u.createElement("div",{role:"presentation",className:"".concat(Fn,"-title"),title:typeof Vt=="string"?Vt:void 0},Vt),u.createElement("ul",{role:"group",className:"".concat(Fn,"-list")},Qt))};function sn(dt){var gt=dt.children,kt=(0,q.Z)(dt,tn),Vt=me(kt.eventKey),Ft=an(gt,Vt),Qt=j();return Qt?Ft:u.createElement(Ut,(0,yt.Z)(kt,["warnKey"]),Ft)}function dn(dt){var gt=dt.className,kt=dt.style,Vt=u.useContext(ne),Ft=Vt.prefixCls,Qt=j();return Qt?null:u.createElement("li",{role:"separator",className:Se()("".concat(Ft,"-item-divider"),gt),style:kt})}var Mt=["label","children","key","type"];function It(dt){return(dt||[]).map(function(gt,kt){if(gt&&(0,Pt.Z)(gt)==="object"){var Vt=gt,Ft=Vt.label,Qt=Vt.children,Gt=Vt.key,vn=Vt.type,En=(0,q.Z)(Vt,Mt),Fn=Gt!=null?Gt:"tmp-".concat(kt);return Qt||vn==="group"?vn==="group"?u.createElement(sn,(0,y.Z)({key:Fn},En,{title:Ft}),It(Qt)):u.createElement(lt,(0,y.Z)({key:Fn},En,{title:Ft}),It(Qt)):vn==="divider"?u.createElement(dn,(0,y.Z)({key:Fn},En)):u.createElement(Je,(0,y.Z)({key:Fn},En),Ft)}return null}).filter(function(gt){return gt})}function un(dt,gt,kt){var Vt=dt;return gt&&(Vt=It(gt)),an(Vt,kt)}var ln=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],hn=[],_n=u.forwardRef(function(dt,gt){var kt,Vt,Ft=dt,Qt=Ft.prefixCls,Gt=Qt===void 0?"rc-menu":Qt,vn=Ft.rootClassName,En=Ft.style,Fn=Ft.className,tr=Ft.tabIndex,Xn=tr===void 0?0:tr,ar=Ft.items,Dn=Ft.children,wn=Ft.direction,gr=Ft.id,Gn=Ft.mode,Cr=Gn===void 0?"vertical":Gn,er=Ft.inlineCollapsed,mr=Ft.disabled,Sr=Ft.disabledOverflow,nr=Ft.subMenuOpenDelay,kr=nr===void 0?.1:nr,Jr=Ft.subMenuCloseDelay,Qn=Jr===void 0?.1:Jr,Cn=Ft.forceSubMenuRender,at=Ft.defaultOpenKeys,Kn=Ft.openKeys,lr=Ft.activeKey,Rr=Ft.defaultActiveFirst,Tr=Ft.selectable,Pr=Tr===void 0?!0:Tr,Ur=Ft.multiple,vr=Ur===void 0?!1:Ur,Hn=Ft.defaultSelectedKeys,Mn=Ft.selectedKeys,jn=Ft.onSelect,Er=Ft.onDeselect,Nr=Ft.inlineIndent,hi=Nr===void 0?24:Nr,Ei=Ft.motion,Vn=Ft.defaultMotions,Zr=Ft.triggerSubMenuAction,jr=Zr===void 0?"hover":Zr,ni=Ft.builtinPlacements,ji=Ft.itemIcon,Ii=Ft.expandIcon,Xr=Ft.overflowedIndicator,gi=Xr===void 0?"...":Xr,oi=Ft.overflowedIndicatorPopupClassName,Ti=Ft.getPopupContainer,Di=Ft.onClick,Vi=Ft.onOpenChange,Ci=Ft.onKeyDown,Zi=Ft.openAnimation,Kr=Ft.openTransitionName,aa=Ft._internalRenderMenuItem,ga=Ft._internalRenderSubMenuItem,ua=(0,q.Z)(Ft,ln),vi=u.useMemo(function(){return un(Dn,ar,hn)},[Dn,ar]),ca=u.useState(!1),Ea=(0,$.Z)(ca,2),Ln=Ea[0],Li=Ea[1],na=u.useRef(),ur=ke(gr),xr=wn==="rtl",cr=(0,I.Z)(at,{value:Kn,postState:function(xi){return xi||hn}}),Zn=(0,$.Z)(cr,2),Br=Zn[0],$r=Zn[1],Ni=function(xi){var mi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Ji(){$r(xi),Vi==null||Vi(xi)}mi?(0,x.flushSync)(Ji):Ji()},yi=u.useState(Br),Fi=(0,$.Z)(yi,2),Pi=Fi[0],va=Fi[1],_a=u.useRef(!1),Wa=u.useMemo(function(){return(Cr==="inline"||Cr==="vertical")&&er?["vertical",er]:[Cr,!1]},[Cr,er]),da=(0,$.Z)(Wa,2),fa=da[0],dr=da[1],sr=fa==="inline",Yr=u.useState(fa),Mi=(0,$.Z)(Yr,2),li=Mi[0],sa=Mi[1],Va=u.useState(dr),Ha=(0,$.Z)(Va,2),ya=Ha[0],as=Ha[1];u.useEffect(function(){sa(fa),as(dr),_a.current&&(sr?$r(Pi):Ni(hn))},[fa,dr]);var ss=u.useState(0),os=(0,$.Z)(ss,2),ts=os[0],ls=os[1],Ta=ts>=vi.length-1||li!=="horizontal"||Sr;u.useEffect(function(){sr&&va(Br)},[Br]),u.useEffect(function(){return _a.current=!0,function(){_a.current=!1}},[]);var Qi=G(),us=Qi.registerPath,ns=Qi.unregisterPath,ba=Qi.refreshOverflowKeys,wa=Qi.isSubPathKey,ei=Qi.getKeyPath,zr=Qi.getKeys,ia=Qi.getSubPathKeys,Ki=u.useMemo(function(){return{registerPath:us,unregisterPath:ns}},[us,ns]),ki=u.useMemo(function(){return{isSubPathKey:wa}},[wa]);u.useEffect(function(){ba(Ta?hn:vi.slice(ts+1).map(function(wi){return wi.key}))},[ts,Ta]);var oa=(0,I.Z)(lr||Rr&&((kt=vi[0])===null||kt===void 0?void 0:kt.key),{value:lr}),pi=(0,$.Z)(oa,2),Ia=pi[0],la=pi[1],ka=K(function(wi){la(wi)}),Ba=K(function(){la(void 0)});(0,u.useImperativeHandle)(gt,function(){return{list:na.current,focus:function(xi){var mi,Ji=zr(),Xi=H(Ji,ur),fs=Xi.elements,Ja=Xi.key2element,hs=Xi.element2key,ks=se(na.current,fs),ps=Ia!=null?Ia:ks[0]?hs.get(ks[0]):(mi=vi.find(function(Ts){return!Ts.props.disabled}))===null||mi===void 0?void 0:mi.key,ms=Ja.get(ps);if(ps&&ms){var Rn;ms==null||(Rn=ms.focus)===null||Rn===void 0||Rn.call(ms,xi)}}}});var _i=(0,I.Z)(Hn||[],{value:Mn,postState:function(xi){return Array.isArray(xi)?xi:xi==null?hn:[xi]}}),vs=(0,$.Z)(_i,2),Ca=vs[0],Za=vs[1],Cs=function(xi){if(Pr){var mi=xi.key,Ji=Ca.includes(mi),Xi;vr?Ji?Xi=Ca.filter(function(Ja){return Ja!==mi}):Xi=[].concat((0,Ee.Z)(Ca),[mi]):Xi=[mi],Za(Xi);var fs=(0,ee.Z)((0,ee.Z)({},xi),{},{selectedKeys:Xi});Ji?Er==null||Er(fs):jn==null||jn(fs)}!vr&&Br.length&&li!=="inline"&&Ni(hn)},Qa=K(function(wi){Di==null||Di(D(wi)),Cs(wi)}),cs=K(function(wi,xi){var mi=Br.filter(function(Xi){return Xi!==wi});if(xi)mi.push(wi);else if(li!=="inline"){var Ji=ia(wi);mi=mi.filter(function(Xi){return!Ji.has(Xi)})}(0,z.Z)(Br,mi,!0)||Ni(mi,!0)}),ys=function(xi,mi){var Ji=mi!=null?mi:!Br.includes(xi);cs(xi,Ji)},ds=O(li,Ia,xr,ur,na,zr,ei,la,ys,Ci);u.useEffect(function(){Li(!0)},[]);var Rs=u.useMemo(function(){return{_internalRenderMenuItem:aa,_internalRenderSubMenuItem:ga}},[aa,ga]),Oa=li!=="horizontal"||Sr?vi:vi.map(function(wi,xi){return u.createElement(b,{key:wi.key,overflowDisabled:xi>ts},wi)}),bs=u.createElement(a.Z,(0,y.Z)({id:gr,ref:na,prefixCls:"".concat(Gt,"-overflow"),component:"ul",itemComponent:Je,className:Se()(Gt,"".concat(Gt,"-root"),"".concat(Gt,"-").concat(li),Fn,(Vt={},(0,L.Z)(Vt,"".concat(Gt,"-inline-collapsed"),ya),(0,L.Z)(Vt,"".concat(Gt,"-rtl"),xr),Vt),vn),dir:wn,style:En,role:"menu",tabIndex:Xn,data:Oa,renderRawItem:function(xi){return xi},renderRawRest:function(xi){var mi=xi.length,Ji=mi?vi.slice(-mi):null;return u.createElement(lt,{eventKey:X,title:gi,disabled:Ta,internalPopupClose:mi===0,popupClassName:oi},Ji)},maxCount:li!=="horizontal"||Sr?a.Z.INVALIDATE:a.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(xi){ls(xi)},onKeyDown:ds},ua));return u.createElement(te.Provider,{value:Rs},u.createElement(m.Provider,{value:ur},u.createElement(b,{prefixCls:Gt,rootClassName:vn,mode:li,openKeys:Br,rtl:xr,disabled:mr,motion:Ln?Ei:null,defaultMotions:Ln?Vn:null,activeKey:Ia,onActive:ka,onInactive:Ba,selectedKeys:Ca,inlineIndent:hi,subMenuOpenDelay:kr,subMenuCloseDelay:Qn,forceSubMenuRender:Cn,builtinPlacements:ni,triggerSubMenuAction:jr,getPopupContainer:Ti,itemIcon:ji,expandIcon:Ii,onItemClick:Qa,onOpenChange:cs},u.createElement(fe.Provider,{value:ki},bs),u.createElement("div",{style:{display:"none"},"aria-hidden":!0},u.createElement(Z.Provider,{value:Ki},vi)))))}),ir=_n,Bn=ir;Bn.Item=Je,Bn.SubMenu=lt,Bn.ItemGroup=sn,Bn.Divider=dn;var rn=Bn},11780:function(en,et,f){"use strict";f.d(et,{Z:function(){return ie}});var y=f(5891),L=f(57259),ee=f(29043),Ee=f(19149),$=f(59301),q=f(92310),C=f.n(q),Se=f(29301),a=f(28800),I=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],z=void 0;function S(v,_){var V=v.prefixCls,J=v.invalidate,Le=v.item,Oe=v.renderItem,Ie=v.responsive,Ze=v.responsiveDisabled,ut=v.registerSize,ct=v.itemKey,it=v.className,Nt=v.style,qt=v.children,nn=v.display,Dt=v.order,$t=v.component,ot=$t===void 0?"div":$t,se=(0,Ee.Z)(v,I),be=Ie&&!nn;function H(T){ut(ct,T)}$.useEffect(function(){return function(){H(null)}},[]);var O=Oe&&Le!==z?Oe(Le,{index:Dt}):qt,xe;J||(xe={opacity:be?0:1,height:be?0:z,overflowY:be?"hidden":z,order:Ie?Dt:z,pointerEvents:be?"none":z,position:be?"absolute":z});var k={};be&&(k["aria-hidden"]=!0);var E=$.createElement(ot,(0,y.Z)({className:C()(!J&&V,it),style:(0,L.Z)((0,L.Z)({},xe),Nt)},k,se,{ref:_}),O);return Ie&&(E=$.createElement(Se.Z,{onResize:function(X){var G=X.offsetWidth;H(G)},disabled:Ze},E)),E}var u=$.forwardRef(S);u.displayName="Item";var x=u,m=f(8107),P=f(4676),ue=f(23073);function B(v){if(typeof MessageChannel=="undefined")(0,ue.Z)(v);else{var _=new MessageChannel;_.port1.onmessage=function(){return v()},_.port2.postMessage(void 0)}}function W(){var v=$.useRef(null),_=function(J){v.current||(v.current=[],B(function(){(0,P.unstable_batchedUpdates)(function(){v.current.forEach(function(Le){Le()}),v.current=null})})),v.current.push(J)};return _}function ne(v,_){var V=$.useState(_),J=(0,ee.Z)(V,2),Le=J[0],Oe=J[1],Ie=(0,m.Z)(function(Ze){v(function(){Oe(Ze)})});return[Le,Ie]}var Y=$.createContext(null),b=["component"],R=["className"],Z=["className"],j=function(_,V){var J=$.useContext(Y);if(!J){var Le=_.component,Oe=Le===void 0?"div":Le,Ie=(0,Ee.Z)(_,b);return $.createElement(Oe,(0,y.Z)({},Ie,{ref:V}))}var Ze=J.className,ut=(0,Ee.Z)(J,R),ct=_.className,it=(0,Ee.Z)(_,Z);return $.createElement(Y.Provider,{value:null},$.createElement(x,(0,y.Z)({ref:V,className:C()(Ze,ct)},ut,it)))},he=$.forwardRef(j);he.displayName="RawItem";var me=he,fe=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],ae="responsive",te="invalidate";function U(v){return"+ ".concat(v.length," ...")}function pe(v,_){var V=v.prefixCls,J=V===void 0?"rc-overflow":V,Le=v.data,Oe=Le===void 0?[]:Le,Ie=v.renderItem,Ze=v.renderRawItem,ut=v.itemKey,ct=v.itemWidth,it=ct===void 0?10:ct,Nt=v.ssr,qt=v.style,nn=v.className,Dt=v.maxCount,$t=v.renderRest,ot=v.renderRawRest,se=v.suffix,be=v.component,H=be===void 0?"div":be,O=v.itemComponent,xe=v.onVisibleChange,k=(0,Ee.Z)(v,fe),E=Nt==="full",T=W(),X=ne(T,null),G=(0,ee.Z)(X,2),K=G[0],we=G[1],Ke=K||0,ke=ne(T,new Map),Te=(0,ee.Z)(ke,2),Ye=Te[0],tt=Te[1],We=ne(T,0),yt=(0,ee.Z)(We,2),St=yt[0],pt=yt[1],Lt=ne(T,0),_t=(0,ee.Z)(Lt,2),w=_t[0],D=_t[1],bt=ne(T,0),ce=(0,ee.Z)(bt,2),Me=ce[0],pn=ce[1],He=(0,$.useState)(null),rt=(0,ee.Z)(He,2),Je=rt[0],Ae=rt[1],De=(0,$.useState)(null),ze=(0,ee.Z)(De,2),Xe=ze[0],ge=ze[1],an=$.useMemo(function(){return Xe===null&&E?Number.MAX_SAFE_INTEGER:Xe||0},[Xe,K]),$e=(0,$.useState)(!1),bn=(0,ee.Z)($e,2),Tn=bn[0],Wt=bn[1],Yt="".concat(J,"-item"),Rt=Math.max(St,w),Ot=Dt===ae,Ge=Oe.length&&Ot,xt=Dt===te,At=Ge||typeof Dt=="number"&&Oe.length>Dt,Ue=(0,$.useMemo)(function(){var rn=Oe;return Ge?K===null&&E?rn=Oe:rn=Oe.slice(0,Math.min(Oe.length,Ke/it)):typeof Dt=="number"&&(rn=Oe.slice(0,Dt)),rn},[Oe,it,K,Dt,Ge]),Ce=(0,$.useMemo)(function(){return Ge?Oe.slice(an+1):Oe.slice(Ue.length)},[Oe,Ue,Ge,an]),mt=(0,$.useCallback)(function(rn,dt){var gt;return typeof ut=="function"?ut(rn):(gt=ut&&(rn==null?void 0:rn[ut]))!==null&&gt!==void 0?gt:dt},[ut]),lt=(0,$.useCallback)(Ie||function(rn){return rn},[Ie]);function Pt(rn,dt,gt){Xe===rn&&(dt===void 0||dt===Je)||(ge(rn),gt||(Wt(rn<Oe.length-1),xe==null||xe(rn)),dt!==void 0&&Ae(dt))}function Ht(rn,dt){we(dt.clientWidth)}function tn(rn,dt){tt(function(gt){var kt=new Map(gt);return dt===null?kt.delete(rn):kt.set(rn,dt),kt})}function Ut(rn,dt){D(dt),pt(w)}function sn(rn,dt){pn(dt)}function dn(rn){return Ye.get(mt(Ue[rn],rn))}(0,a.Z)(function(){if(Ke&&typeof Rt=="number"&&Ue){var rn=Me,dt=Ue.length,gt=dt-1;if(!dt){Pt(0,null);return}for(var kt=0;kt<dt;kt+=1){var Vt=dn(kt);if(E&&(Vt=Vt||0),Vt===void 0){Pt(kt-1,void 0,!0);break}if(rn+=Vt,gt===0&&rn<=Ke||kt===gt-1&&rn+dn(gt)<=Ke){Pt(gt,null);break}else if(rn+Rt>Ke){Pt(kt-1,rn-Vt-Me+w);break}}se&&dn(0)+Me>Ke&&Ae(null)}},[Ke,Ye,w,Me,mt,Ue]);var Mt=Tn&&!!Ce.length,It={};Je!==null&&Ge&&(It={position:"absolute",left:Je,top:0});var un={prefixCls:Yt,responsive:Ge,component:O,invalidate:xt},ln=Ze?function(rn,dt){var gt=mt(rn,dt);return $.createElement(Y.Provider,{key:gt,value:(0,L.Z)((0,L.Z)({},un),{},{order:dt,item:rn,itemKey:gt,registerSize:tn,display:dt<=an})},Ze(rn,dt))}:function(rn,dt){var gt=mt(rn,dt);return $.createElement(x,(0,y.Z)({},un,{order:dt,key:gt,item:rn,renderItem:lt,itemKey:gt,registerSize:tn,display:dt<=an}))},hn={order:Mt?an:Number.MAX_SAFE_INTEGER,className:"".concat(Yt,"-rest"),registerSize:Ut,display:Mt},_n=$t||U,ir=ot?$.createElement(Y.Provider,{value:(0,L.Z)((0,L.Z)({},un),hn)},ot(Ce)):$.createElement(x,(0,y.Z)({},un,hn),typeof _n=="function"?_n(Ce):_n),Bn=$.createElement(H,(0,y.Z)({className:C()(!xt&&J,nn),style:qt,ref:_},k),Ue.map(ln),At?ir:null,se&&$.createElement(x,(0,y.Z)({},un,{responsive:Ot,responsiveDisabled:!Ge,order:an,className:"".concat(Yt,"-suffix"),registerSize:sn,display:!0,style:It}),se));return Ot?$.createElement(Se.Z,{onResize:Ht,disabled:!Ge},Bn):Bn}var Q=$.forwardRef(pe);Q.displayName="Overflow",Q.Item=me,Q.RESPONSIVE=ae,Q.INVALIDATE=te;var de=Q,ie=de},29301:function(en,et,f){"use strict";f.d(et,{Z:function(){return te}});var y=f(5891),L=f(59301),ee=f(38298),Ee=f(51395),$=f(57259),q=f(80665),C=f(85899),Se=f(20475),a=L.createContext(null);function I(U){var pe=U.children,Q=U.onBatchResize,de=L.useRef(0),ie=L.useRef([]),v=L.useContext(a),_=L.useCallback(function(V,J,Le){de.current+=1;var Oe=de.current;ie.current.push({size:V,element:J,data:Le}),Promise.resolve().then(function(){Oe===de.current&&(Q==null||Q(ie.current),ie.current=[])}),v==null||v(V,J,Le)},[Q,v]);return L.createElement(a.Provider,{value:_},pe)}var z=f(76374),S=new Map;function u(U){U.forEach(function(pe){var Q,de=pe.target;(Q=S.get(de))===null||Q===void 0||Q.forEach(function(ie){return ie(de)})})}var x=new z.Z(u),m=null,P=null;function ue(U,pe){S.has(U)||(S.set(U,new Set),x.observe(U)),S.get(U).add(pe)}function B(U,pe){S.has(U)&&(S.get(U).delete(pe),S.get(U).size||(x.unobserve(U),S.delete(U)))}var W=f(79545),ne=f(68550),Y=f(17928),b=f(7711),R=function(U){(0,Y.Z)(Q,U);var pe=(0,b.Z)(Q);function Q(){return(0,W.Z)(this,Q),pe.apply(this,arguments)}return(0,ne.Z)(Q,[{key:"render",value:function(){return this.props.children}}]),Q}(L.Component);function Z(U,pe){var Q=U.children,de=U.disabled,ie=L.useRef(null),v=L.useRef(null),_=L.useContext(a),V=typeof Q=="function",J=V?Q(ie):Q,Le=L.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Oe=!V&&L.isValidElement(J)&&(0,Se.Yr)(J),Ie=Oe?(0,Se.C4)(J):null,Ze=(0,Se.x1)(Ie,ie),ut=function(){var qt;return(0,C.ZP)(ie.current)||(ie.current&&(0,q.Z)(ie.current)==="object"?(0,C.ZP)((qt=ie.current)===null||qt===void 0?void 0:qt.nativeElement):null)||(0,C.ZP)(v.current)};L.useImperativeHandle(pe,function(){return ut()});var ct=L.useRef(U);ct.current=U;var it=L.useCallback(function(Nt){var qt=ct.current,nn=qt.onResize,Dt=qt.data,$t=Nt.getBoundingClientRect(),ot=$t.width,se=$t.height,be=Nt.offsetWidth,H=Nt.offsetHeight,O=Math.floor(ot),xe=Math.floor(se);if(Le.current.width!==O||Le.current.height!==xe||Le.current.offsetWidth!==be||Le.current.offsetHeight!==H){var k={width:O,height:xe,offsetWidth:be,offsetHeight:H};Le.current=k;var E=be===Math.round(ot)?ot:be,T=H===Math.round(se)?se:H,X=(0,$.Z)((0,$.Z)({},k),{},{offsetWidth:E,offsetHeight:T});_==null||_(X,Nt,Dt),nn&&Promise.resolve().then(function(){nn(X,Nt)})}},[]);return L.useEffect(function(){var Nt=ut();return Nt&&!de&&ue(Nt,it),function(){return B(Nt,it)}},[ie.current,de]),L.createElement(R,{ref:v},Oe?L.cloneElement(J,{ref:Ze}):J)}var j=L.forwardRef(Z),he=j,me="rc-observer-key";function fe(U,pe){var Q=U.children,de=typeof Q=="function"?[Q]:(0,ee.Z)(Q);return de.map(function(ie,v){var _=(ie==null?void 0:ie.key)||"".concat(me,"-").concat(v);return L.createElement(he,(0,y.Z)({},U,{key:_,ref:v===0?pe:void 0}),ie)})}var ae=L.forwardRef(fe);ae.Collection=I;var te=ae},17115:function(en,et,f){"use strict";f.d(et,{ZP:function(){return C}});var y=f(29043),L=f(59301),ee=f(87746),Ee=0,$=(0,ee.Z)();function q(){var Se;return $?(Se=Ee,Ee+=1):Se="TEST_OR_SSR",Se}function C(Se){var a=L.useState(),I=(0,y.Z)(a,2),z=I[0],S=I[1];return L.useEffect(function(){S("rc_select_".concat(q()))},[]),Se||z}},77861:function(en,et,f){"use strict";f.d(et,{Ac:function(){return we},Xo:function(){return D},Wx:function(){return ce},ZP:function(){return At},lk:function(){return Y}});var y=f(5891),L=f(26390),ee=f(80962),Ee=f(57259),$=f(29043),q=f(19149),C=f(80665),Se=f(35788),a=f(51395),I=f(59301),z=f(92310),S=f.n(z),u=f(28800),x=f(93144),m=f(85108),P=f(20475),ue=function(Ce){var mt=Ce.className,lt=Ce.customizeIcon,Pt=Ce.customizeIconProps,Ht=Ce.onMouseDown,tn=Ce.onClick,Ut=Ce.children,sn;return typeof lt=="function"?sn=lt(Pt):sn=lt,I.createElement("span",{className:mt,onMouseDown:function(Mt){Mt.preventDefault(),Ht&&Ht(Mt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:tn,"aria-hidden":!0},sn!==void 0?sn:I.createElement("span",{className:S()(mt.split(/\s+/).map(function(dn){return"".concat(dn,"-icon")}))},Ut))},B=ue;function W(Ue,Ce,mt,lt,Pt){var Ht=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,tn=arguments.length>6?arguments[6]:void 0,Ut=arguments.length>7?arguments[7]:void 0,sn=I.useMemo(function(){if((0,C.Z)(lt)==="object")return lt.clearIcon;if(Pt)return Pt},[lt,Pt]),dn=I.useMemo(function(){return!!(!Ht&&lt&&(mt.length||tn)&&!(Ut==="combobox"&&tn===""))},[lt,Ht,mt.length,tn,Ut]);return{allowClear:dn,clearIcon:I.createElement(B,{className:"".concat(Ue,"-clear"),onMouseDown:Ce,customizeIcon:sn},"\xD7")}}var ne=I.createContext(null);function Y(){return I.useContext(ne)}function b(){var Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ce=I.useState(!1),mt=(0,$.Z)(Ce,2),lt=mt[0],Pt=mt[1],Ht=I.useRef(null),tn=function(){window.clearTimeout(Ht.current)};I.useEffect(function(){return tn},[]);var Ut=function(dn,Mt){tn(),Ht.current=window.setTimeout(function(){Pt(dn),Mt&&Mt()},Ue)};return[lt,Ut,tn]}function R(){var Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ce=I.useRef(null),mt=I.useRef(null);I.useEffect(function(){return function(){window.clearTimeout(mt.current)}},[]);function lt(Pt){(Pt||Ce.current===null)&&(Ce.current=Pt),window.clearTimeout(mt.current),mt.current=window.setTimeout(function(){Ce.current=null},Ue)}return[function(){return Ce.current},lt]}function Z(Ue,Ce,mt,lt){var Pt=I.useRef(null);Pt.current={open:Ce,triggerOpen:mt,customizedTrigger:lt},I.useEffect(function(){function Ht(tn){var Ut;if(!((Ut=Pt.current)!==null&&Ut!==void 0&&Ut.customizedTrigger)){var sn=tn.target;sn.shadowRoot&&tn.composed&&(sn=tn.composedPath()[0]||sn),Pt.current.open&&Ue().filter(function(dn){return dn}).every(function(dn){return!dn.contains(sn)&&dn!==sn})&&Pt.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Ht),function(){return window.removeEventListener("mousedown",Ht)}},[])}var j=f(36994),he=f(11780),me=function(Ce,mt){var lt,Pt,Ht=Ce.prefixCls,tn=Ce.id,Ut=Ce.inputElement,sn=Ce.disabled,dn=Ce.tabIndex,Mt=Ce.autoFocus,It=Ce.autoComplete,un=Ce.editable,ln=Ce.activeDescendantId,hn=Ce.value,_n=Ce.maxLength,ir=Ce.onKeyDown,Bn=Ce.onMouseDown,rn=Ce.onChange,dt=Ce.onPaste,gt=Ce.onCompositionStart,kt=Ce.onCompositionEnd,Vt=Ce.open,Ft=Ce.attrs,Qt=Ut||I.createElement("input",null),Gt=Qt,vn=Gt.ref,En=Gt.props,Fn=En.onKeyDown,tr=En.onChange,Xn=En.onMouseDown,ar=En.onCompositionStart,Dn=En.onCompositionEnd,wn=En.style;return(0,a.Kp)(!("maxLength"in Qt.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Qt=I.cloneElement(Qt,(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({type:"search"},En),{},{id:tn,ref:(0,P.sQ)(mt,vn),disabled:sn,tabIndex:dn,autoComplete:It||"off",autoFocus:Mt,className:S()("".concat(Ht,"-selection-search-input"),(lt=Qt)===null||lt===void 0||(Pt=lt.props)===null||Pt===void 0?void 0:Pt.className),role:"combobox","aria-label":"Search","aria-expanded":Vt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(tn,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(tn,"_list"),"aria-activedescendant":Vt?ln:void 0},Ft),{},{value:un?hn:"",maxLength:_n,readOnly:!un,unselectable:un?null:"on",style:(0,Ee.Z)((0,Ee.Z)({},wn),{},{opacity:un?null:0}),onKeyDown:function(Gn){ir(Gn),Fn&&Fn(Gn)},onMouseDown:function(Gn){Bn(Gn),Xn&&Xn(Gn)},onChange:function(Gn){rn(Gn),tr&&tr(Gn)},onCompositionStart:function(Gn){gt(Gn),ar&&ar(Gn)},onCompositionEnd:function(Gn){kt(Gn),Dn&&Dn(Gn)},onPaste:dt})),Qt},fe=I.forwardRef(me);fe.displayName="Input";var ae=fe;function te(Ue){return Array.isArray(Ue)?Ue:Ue!==void 0?[Ue]:[]}var U=typeof window!="undefined"&&window.document&&window.document.documentElement,pe=U;function Q(Ue){return Ue!=null}function de(Ue){return!Ue&&Ue!==0}function ie(Ue){return["string","number"].includes((0,C.Z)(Ue))}function v(Ue){var Ce=void 0;return Ue&&(ie(Ue.title)?Ce=Ue.title.toString():ie(Ue.label)&&(Ce=Ue.label.toString())),Ce}function _(Ue,Ce){pe?I.useLayoutEffect(Ue,Ce):I.useEffect(Ue,Ce)}function V(Ue){var Ce;return(Ce=Ue.key)!==null&&Ce!==void 0?Ce:Ue.value}var J=function(Ce){Ce.preventDefault(),Ce.stopPropagation()},Le=function(Ce){var mt=Ce.id,lt=Ce.prefixCls,Pt=Ce.values,Ht=Ce.open,tn=Ce.searchValue,Ut=Ce.autoClearSearchValue,sn=Ce.inputRef,dn=Ce.placeholder,Mt=Ce.disabled,It=Ce.mode,un=Ce.showSearch,ln=Ce.autoFocus,hn=Ce.autoComplete,_n=Ce.activeDescendantId,ir=Ce.tabIndex,Bn=Ce.removeIcon,rn=Ce.maxTagCount,dt=Ce.maxTagTextLength,gt=Ce.maxTagPlaceholder,kt=gt===void 0?function(Tr){return"+ ".concat(Tr.length," ...")}:gt,Vt=Ce.tagRender,Ft=Ce.onToggleOpen,Qt=Ce.onRemove,Gt=Ce.onInputChange,vn=Ce.onInputPaste,En=Ce.onInputKeyDown,Fn=Ce.onInputMouseDown,tr=Ce.onInputCompositionStart,Xn=Ce.onInputCompositionEnd,ar=I.useRef(null),Dn=(0,I.useState)(0),wn=(0,$.Z)(Dn,2),gr=wn[0],Gn=wn[1],Cr=(0,I.useState)(!1),er=(0,$.Z)(Cr,2),mr=er[0],Sr=er[1],nr="".concat(lt,"-selection"),kr=Ht||It==="multiple"&&Ut===!1||It==="tags"?tn:"",Jr=It==="tags"||It==="multiple"&&Ut===!1||un&&(Ht||mr);_(function(){Gn(ar.current.scrollWidth)},[kr]);function Qn(Tr,Pr,Ur,vr,Hn){return I.createElement("span",{className:S()("".concat(nr,"-item"),(0,ee.Z)({},"".concat(nr,"-item-disabled"),Ur)),title:v(Tr)},I.createElement("span",{className:"".concat(nr,"-item-content")},Pr),vr&&I.createElement(B,{className:"".concat(nr,"-item-remove"),onMouseDown:J,onClick:Hn,customizeIcon:Bn},"\xD7"))}function Cn(Tr,Pr,Ur,vr,Hn){var Mn=function(Er){J(Er),Ft(!Ht)};return I.createElement("span",{onMouseDown:Mn},Vt({label:Pr,value:Tr,disabled:Ur,closable:vr,onClose:Hn}))}function at(Tr){var Pr=Tr.disabled,Ur=Tr.label,vr=Tr.value,Hn=!Mt&&!Pr,Mn=Ur;if(typeof dt=="number"&&(typeof Ur=="string"||typeof Ur=="number")){var jn=String(Mn);jn.length>dt&&(Mn="".concat(jn.slice(0,dt),"..."))}var Er=function(hi){hi&&hi.stopPropagation(),Qt(Tr)};return typeof Vt=="function"?Cn(vr,Mn,Pr,Hn,Er):Qn(Tr,Mn,Pr,Hn,Er)}function Kn(Tr){var Pr=typeof kt=="function"?kt(Tr):kt;return Qn({title:Pr},Pr,!1)}var lr=I.createElement("div",{className:"".concat(nr,"-search"),style:{width:gr},onFocus:function(){Sr(!0)},onBlur:function(){Sr(!1)}},I.createElement(ae,{ref:sn,open:Ht,prefixCls:lt,id:mt,inputElement:null,disabled:Mt,autoFocus:ln,autoComplete:hn,editable:Jr,activeDescendantId:_n,value:kr,onKeyDown:En,onMouseDown:Fn,onChange:Gt,onPaste:vn,onCompositionStart:tr,onCompositionEnd:Xn,tabIndex:ir,attrs:(0,j.Z)(Ce,!0)}),I.createElement("span",{ref:ar,className:"".concat(nr,"-search-mirror"),"aria-hidden":!0},kr,"\xA0")),Rr=I.createElement(he.Z,{prefixCls:"".concat(nr,"-overflow"),data:Pt,renderItem:at,renderRest:Kn,suffix:lr,itemKey:V,maxCount:rn});return I.createElement(I.Fragment,null,Rr,!Pt.length&&!kr&&I.createElement("span",{className:"".concat(nr,"-placeholder")},dn))},Oe=Le,Ie=function(Ce){var mt=Ce.inputElement,lt=Ce.prefixCls,Pt=Ce.id,Ht=Ce.inputRef,tn=Ce.disabled,Ut=Ce.autoFocus,sn=Ce.autoComplete,dn=Ce.activeDescendantId,Mt=Ce.mode,It=Ce.open,un=Ce.values,ln=Ce.placeholder,hn=Ce.tabIndex,_n=Ce.showSearch,ir=Ce.searchValue,Bn=Ce.activeValue,rn=Ce.maxLength,dt=Ce.onInputKeyDown,gt=Ce.onInputMouseDown,kt=Ce.onInputChange,Vt=Ce.onInputPaste,Ft=Ce.onInputCompositionStart,Qt=Ce.onInputCompositionEnd,Gt=Ce.title,vn=I.useState(!1),En=(0,$.Z)(vn,2),Fn=En[0],tr=En[1],Xn=Mt==="combobox",ar=Xn||_n,Dn=un[0],wn=ir||"";Xn&&Bn&&!Fn&&(wn=Bn),I.useEffect(function(){Xn&&tr(!1)},[Xn,Bn]);var gr=Mt!=="combobox"&&!It&&!_n?!1:!!wn,Gn=Gt===void 0?v(Dn):Gt,Cr=function(){if(Dn)return null;var mr=gr?{visibility:"hidden"}:void 0;return I.createElement("span",{className:"".concat(lt,"-selection-placeholder"),style:mr},ln)};return I.createElement(I.Fragment,null,I.createElement("span",{className:"".concat(lt,"-selection-search")},I.createElement(ae,{ref:Ht,prefixCls:lt,id:Pt,open:It,inputElement:mt,disabled:tn,autoFocus:Ut,autoComplete:sn,editable:ar,activeDescendantId:dn,value:wn,onKeyDown:dt,onMouseDown:gt,onChange:function(mr){tr(!0),kt(mr)},onPaste:Vt,onCompositionStart:Ft,onCompositionEnd:Qt,tabIndex:hn,attrs:(0,j.Z)(Ce,!0),maxLength:Xn?rn:void 0})),!Xn&&Dn?I.createElement("span",{className:"".concat(lt,"-selection-item"),title:Gn,style:gr?{visibility:"hidden"}:void 0},Dn.label):null,Cr())},Ze=Ie;function ut(Ue){return![m.Z.ESC,m.Z.SHIFT,m.Z.BACKSPACE,m.Z.TAB,m.Z.WIN_KEY,m.Z.ALT,m.Z.META,m.Z.WIN_KEY_RIGHT,m.Z.CTRL,m.Z.SEMICOLON,m.Z.EQUALS,m.Z.CAPS_LOCK,m.Z.CONTEXT_MENU,m.Z.F1,m.Z.F2,m.Z.F3,m.Z.F4,m.Z.F5,m.Z.F6,m.Z.F7,m.Z.F8,m.Z.F9,m.Z.F10,m.Z.F11,m.Z.F12].includes(Ue)}var ct=function(Ce,mt){var lt=(0,I.useRef)(null),Pt=(0,I.useRef)(!1),Ht=Ce.prefixCls,tn=Ce.open,Ut=Ce.mode,sn=Ce.showSearch,dn=Ce.tokenWithEnter,Mt=Ce.autoClearSearchValue,It=Ce.onSearch,un=Ce.onSearchSubmit,ln=Ce.onToggleOpen,hn=Ce.onInputKeyDown,_n=Ce.domRef;I.useImperativeHandle(mt,function(){return{focus:function(){lt.current.focus()},blur:function(){lt.current.blur()}}});var ir=R(0),Bn=(0,$.Z)(ir,2),rn=Bn[0],dt=Bn[1],gt=function(wn){var gr=wn.which;(gr===m.Z.UP||gr===m.Z.DOWN)&&wn.preventDefault(),hn&&hn(wn),gr===m.Z.ENTER&&Ut==="tags"&&!Pt.current&&!tn&&(un==null||un(wn.target.value)),ut(gr)&&ln(!0)},kt=function(){dt(!0)},Vt=(0,I.useRef)(null),Ft=function(wn){It(wn,!0,Pt.current)!==!1&&ln(!0)},Qt=function(){Pt.current=!0},Gt=function(wn){Pt.current=!1,Ut!=="combobox"&&Ft(wn.target.value)},vn=function(wn){var gr=wn.target.value;if(dn&&Vt.current&&/[\r\n]/.test(Vt.current)){var Gn=Vt.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");gr=gr.replace(Gn,Vt.current)}Vt.current=null,Ft(gr)},En=function(wn){var gr=wn.clipboardData,Gn=gr.getData("text");Vt.current=Gn},Fn=function(wn){var gr=wn.target;if(gr!==lt.current){var Gn=document.body.style.msTouchAction!==void 0;Gn?setTimeout(function(){lt.current.focus()}):lt.current.focus()}},tr=function(wn){var gr=rn();wn.target!==lt.current&&!gr&&Ut!=="combobox"&&wn.preventDefault(),(Ut!=="combobox"&&(!sn||!gr)||!tn)&&(tn&&Mt!==!1&&It("",!0,!1),ln())},Xn={inputRef:lt,onInputKeyDown:gt,onInputMouseDown:kt,onInputChange:vn,onInputPaste:En,onInputCompositionStart:Qt,onInputCompositionEnd:Gt},ar=Ut==="multiple"||Ut==="tags"?I.createElement(Oe,(0,y.Z)({},Ce,Xn)):I.createElement(Ze,(0,y.Z)({},Ce,Xn));return I.createElement("div",{ref:_n,className:"".concat(Ht,"-selector"),onClick:Fn,onMouseDown:tr},ar)},it=I.forwardRef(ct);it.displayName="Selector";var Nt=it,qt=f(35593),nn=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Dt=function(Ce){var mt=Ce===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:mt,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:mt,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:mt,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:mt,adjustY:1},htmlRegion:"scroll"}}},$t=function(Ce,mt){var lt=Ce.prefixCls,Pt=Ce.disabled,Ht=Ce.visible,tn=Ce.children,Ut=Ce.popupElement,sn=Ce.animation,dn=Ce.transitionName,Mt=Ce.dropdownStyle,It=Ce.dropdownClassName,un=Ce.direction,ln=un===void 0?"ltr":un,hn=Ce.placement,_n=Ce.builtinPlacements,ir=Ce.dropdownMatchSelectWidth,Bn=Ce.dropdownRender,rn=Ce.dropdownAlign,dt=Ce.getPopupContainer,gt=Ce.empty,kt=Ce.getTriggerDOMNode,Vt=Ce.onPopupVisibleChange,Ft=Ce.onPopupMouseEnter,Qt=(0,q.Z)(Ce,nn),Gt="".concat(lt,"-dropdown"),vn=Ut;Bn&&(vn=Bn(Ut));var En=I.useMemo(function(){return _n||Dt(ir)},[_n,ir]),Fn=sn?"".concat(Gt,"-").concat(sn):dn,tr=typeof ir=="number",Xn=I.useMemo(function(){return tr?null:ir===!1?"minWidth":"width"},[ir,tr]),ar=Mt;tr&&(ar=(0,Ee.Z)((0,Ee.Z)({},ar),{},{width:ir}));var Dn=I.useRef(null);return I.useImperativeHandle(mt,function(){return{getPopupElement:function(){return Dn.current}}}),I.createElement(qt.Z,(0,y.Z)({},Qt,{showAction:Vt?["click"]:[],hideAction:Vt?["click"]:[],popupPlacement:hn||(ln==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:En,prefixCls:Gt,popupTransitionName:Fn,popup:I.createElement("div",{ref:Dn,onMouseEnter:Ft},vn),stretch:Xn,popupAlign:rn,popupVisible:Ht,getPopupContainer:dt,popupClassName:S()(It,(0,ee.Z)({},"".concat(Gt,"-empty"),gt)),popupStyle:ar,getTriggerDOMNode:kt,onPopupVisibleChange:Vt}),tn)},ot=I.forwardRef($t);ot.displayName="SelectTrigger";var se=ot,be=f(17953);function H(Ue,Ce){var mt=Ue.key,lt;return"value"in Ue&&(lt=Ue.value),mt!=null?mt:lt!==void 0?lt:"rc-index-key-".concat(Ce)}function O(Ue,Ce){var mt=Ue||{},lt=mt.label,Pt=mt.value,Ht=mt.options,tn=mt.groupLabel,Ut=lt||(Ce?"children":"label");return{label:Ut,value:Pt||"value",options:Ht||"options",groupLabel:tn||Ut}}function xe(Ue){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},mt=Ce.fieldNames,lt=Ce.childrenAsData,Pt=[],Ht=O(mt,!1),tn=Ht.label,Ut=Ht.value,sn=Ht.options,dn=Ht.groupLabel;function Mt(It,un){It.forEach(function(ln){if(un||!(sn in ln)){var hn=ln[Ut];Pt.push({key:H(ln,Pt.length),groupOption:un,data:ln,label:ln[tn],value:hn})}else{var _n=ln[dn];_n===void 0&&lt&&(_n=ln.label),Pt.push({key:H(ln,Pt.length),group:!0,data:ln,label:_n}),Mt(ln[sn],!0)}})}return Mt(Ue,!1),Pt}function k(Ue){var Ce=(0,Ee.Z)({},Ue);return"props"in Ce||Object.defineProperty(Ce,"props",{get:function(){return(0,a.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Ce}}),Ce}function E(Ue,Ce){if(!Ce||!Ce.length)return null;var mt=!1;function lt(Ht,tn){var Ut=(0,be.Z)(tn),sn=Ut[0],dn=Ut.slice(1);if(!sn)return[Ht];var Mt=Ht.split(sn);return mt=mt||Mt.length>1,Mt.reduce(function(It,un){return[].concat((0,L.Z)(It),(0,L.Z)(lt(un,dn)))},[]).filter(function(It){return It})}var Pt=lt(Ue,Ce);return mt?Pt:null}var T=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],X=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function G(Ue){return Ue==="tags"||Ue==="multiple"}var K=I.forwardRef(function(Ue,Ce){var mt,lt,Pt=Ue.id,Ht=Ue.prefixCls,tn=Ue.className,Ut=Ue.showSearch,sn=Ue.tagRender,dn=Ue.direction,Mt=Ue.omitDomProps,It=Ue.displayValues,un=Ue.onDisplayValuesChange,ln=Ue.emptyOptions,hn=Ue.notFoundContent,_n=hn===void 0?"Not Found":hn,ir=Ue.onClear,Bn=Ue.mode,rn=Ue.disabled,dt=Ue.loading,gt=Ue.getInputElement,kt=Ue.getRawInputElement,Vt=Ue.open,Ft=Ue.defaultOpen,Qt=Ue.onDropdownVisibleChange,Gt=Ue.activeValue,vn=Ue.onActiveValueChange,En=Ue.activeDescendantId,Fn=Ue.searchValue,tr=Ue.autoClearSearchValue,Xn=Ue.onSearch,ar=Ue.onSearchSplit,Dn=Ue.tokenSeparators,wn=Ue.allowClear,gr=Ue.suffixIcon,Gn=Ue.clearIcon,Cr=Ue.OptionList,er=Ue.animation,mr=Ue.transitionName,Sr=Ue.dropdownStyle,nr=Ue.dropdownClassName,kr=Ue.dropdownMatchSelectWidth,Jr=Ue.dropdownRender,Qn=Ue.dropdownAlign,Cn=Ue.placement,at=Ue.builtinPlacements,Kn=Ue.getPopupContainer,lr=Ue.showAction,Rr=lr===void 0?[]:lr,Tr=Ue.onFocus,Pr=Ue.onBlur,Ur=Ue.onKeyUp,vr=Ue.onKeyDown,Hn=Ue.onMouseDown,Mn=(0,q.Z)(Ue,T),jn=G(Bn),Er=(Ut!==void 0?Ut:jn)||Bn==="combobox",Nr=(0,Ee.Z)({},Mn);X.forEach(function(ei){delete Nr[ei]}),Mt==null||Mt.forEach(function(ei){delete Nr[ei]});var hi=I.useState(!1),Ei=(0,$.Z)(hi,2),Vn=Ei[0],Zr=Ei[1];I.useEffect(function(){Zr((0,x.Z)())},[]);var jr=I.useRef(null),ni=I.useRef(null),ji=I.useRef(null),Ii=I.useRef(null),Xr=I.useRef(null),gi=b(),oi=(0,$.Z)(gi,3),Ti=oi[0],Di=oi[1],Vi=oi[2];I.useImperativeHandle(Ce,function(){var ei,zr;return{focus:(ei=Ii.current)===null||ei===void 0?void 0:ei.focus,blur:(zr=Ii.current)===null||zr===void 0?void 0:zr.blur,scrollTo:function(Ki){var ki;return(ki=Xr.current)===null||ki===void 0?void 0:ki.scrollTo(Ki)}}});var Ci=I.useMemo(function(){var ei;if(Bn!=="combobox")return Fn;var zr=(ei=It[0])===null||ei===void 0?void 0:ei.value;return typeof zr=="string"||typeof zr=="number"?String(zr):""},[Fn,Bn,It]),Zi=Bn==="combobox"&&typeof gt=="function"&&gt()||null,Kr=typeof kt=="function"&&kt(),aa=(0,P.x1)(ni,Kr==null||(mt=Kr.props)===null||mt===void 0?void 0:mt.ref),ga=I.useState(!1),ua=(0,$.Z)(ga,2),vi=ua[0],ca=ua[1];(0,u.Z)(function(){ca(!0)},[]);var Ea=(0,Se.Z)(!1,{defaultValue:Ft,value:Vt}),Ln=(0,$.Z)(Ea,2),Li=Ln[0],na=Ln[1],ur=vi?Li:!1,xr=!_n&&ln;(rn||xr&&ur&&Bn==="combobox")&&(ur=!1);var cr=xr?!1:ur,Zn=I.useCallback(function(ei){var zr=ei!==void 0?ei:!ur;rn||(na(zr),ur!==zr&&(Qt==null||Qt(zr)))},[rn,ur,na,Qt]),Br=I.useMemo(function(){return(Dn||[]).some(function(ei){return[`
`,`\r
`].includes(ei)})},[Dn]),$r=function(zr,ia,Ki){var ki=!0,oa=zr;vn==null||vn(null);var pi=Ki?null:E(zr,Dn);return Bn!=="combobox"&&pi&&(oa="",ar==null||ar(pi),Zn(!1),ki=!1),Xn&&Ci!==oa&&Xn(oa,{source:ia?"typing":"effect"}),ki},Ni=function(zr){!zr||!zr.trim()||Xn(zr,{source:"submit"})};I.useEffect(function(){!ur&&!jn&&Bn!=="combobox"&&$r("",!1,!1)},[ur]),I.useEffect(function(){Li&&rn&&na(!1),rn&&Di(!1)},[rn]);var yi=R(),Fi=(0,$.Z)(yi,2),Pi=Fi[0],va=Fi[1],_a=function(zr){var ia=Pi(),Ki=zr.which;if(Ki===m.Z.ENTER&&(Bn!=="combobox"&&zr.preventDefault(),ur||Zn(!0)),va(!!Ci),Ki===m.Z.BACKSPACE&&!ia&&jn&&!Ci&&It.length){for(var ki=(0,L.Z)(It),oa=null,pi=ki.length-1;pi>=0;pi-=1){var Ia=ki[pi];if(!Ia.disabled){ki.splice(pi,1),oa=Ia;break}}oa&&un(ki,{type:"remove",values:[oa]})}for(var la=arguments.length,ka=new Array(la>1?la-1:0),Ba=1;Ba<la;Ba++)ka[Ba-1]=arguments[Ba];if(ur&&Xr.current){var _i;(_i=Xr.current).onKeyDown.apply(_i,[zr].concat(ka))}vr==null||vr.apply(void 0,[zr].concat(ka))},Wa=function(zr){for(var ia=arguments.length,Ki=new Array(ia>1?ia-1:0),ki=1;ki<ia;ki++)Ki[ki-1]=arguments[ki];if(ur&&Xr.current){var oa;(oa=Xr.current).onKeyUp.apply(oa,[zr].concat(Ki))}Ur==null||Ur.apply(void 0,[zr].concat(Ki))},da=function(zr){var ia=It.filter(function(Ki){return Ki!==zr});un(ia,{type:"remove",values:[zr]})},fa=I.useRef(!1),dr=function(){Di(!0),rn||(Tr&&!fa.current&&Tr.apply(void 0,arguments),Rr.includes("focus")&&Zn(!0)),fa.current=!0},sr=function(){Di(!1,function(){fa.current=!1,Zn(!1)}),!rn&&(Ci&&(Bn==="tags"?Xn(Ci,{source:"submit"}):Bn==="multiple"&&Xn("",{source:"blur"})),Pr&&Pr.apply(void 0,arguments))},Yr=[];I.useEffect(function(){return function(){Yr.forEach(function(ei){return clearTimeout(ei)}),Yr.splice(0,Yr.length)}},[]);var Mi=function(zr){var ia,Ki=zr.target,ki=(ia=ji.current)===null||ia===void 0?void 0:ia.getPopupElement();if(ki&&ki.contains(Ki)){var oa=setTimeout(function(){var ka=Yr.indexOf(oa);if(ka!==-1&&Yr.splice(ka,1),Vi(),!Vn&&!ki.contains(document.activeElement)){var Ba;(Ba=Ii.current)===null||Ba===void 0||Ba.focus()}});Yr.push(oa)}for(var pi=arguments.length,Ia=new Array(pi>1?pi-1:0),la=1;la<pi;la++)Ia[la-1]=arguments[la];Hn==null||Hn.apply(void 0,[zr].concat(Ia))},li=I.useState({}),sa=(0,$.Z)(li,2),Va=sa[1];function Ha(){Va({})}var ya;Kr&&(ya=function(zr){Zn(zr)}),Z(function(){var ei;return[jr.current,(ei=ji.current)===null||ei===void 0?void 0:ei.getPopupElement()]},cr,Zn,!!Kr);var as=I.useMemo(function(){return(0,Ee.Z)((0,Ee.Z)({},Ue),{},{notFoundContent:_n,open:ur,triggerOpen:cr,id:Pt,showSearch:Er,multiple:jn,toggleOpen:Zn})},[Ue,_n,cr,ur,Pt,Er,jn,Zn]),ss=!!gr||dt,os;ss&&(os=I.createElement(B,{className:S()("".concat(Ht,"-arrow"),(0,ee.Z)({},"".concat(Ht,"-arrow-loading"),dt)),customizeIcon:gr,customizeIconProps:{loading:dt,searchValue:Ci,open:ur,focused:Ti,showSearch:Er}}));var ts=function(){var zr;ir==null||ir(),(zr=Ii.current)===null||zr===void 0||zr.focus(),un([],{type:"clear",values:It}),$r("",!1,!1)},ls=W(Ht,ts,It,wn,Gn,rn,Ci,Bn),Ta=ls.allowClear,Qi=ls.clearIcon,us=I.createElement(Cr,{ref:Xr}),ns=S()(Ht,tn,(lt={},(0,ee.Z)(lt,"".concat(Ht,"-focused"),Ti),(0,ee.Z)(lt,"".concat(Ht,"-multiple"),jn),(0,ee.Z)(lt,"".concat(Ht,"-single"),!jn),(0,ee.Z)(lt,"".concat(Ht,"-allow-clear"),wn),(0,ee.Z)(lt,"".concat(Ht,"-show-arrow"),ss),(0,ee.Z)(lt,"".concat(Ht,"-disabled"),rn),(0,ee.Z)(lt,"".concat(Ht,"-loading"),dt),(0,ee.Z)(lt,"".concat(Ht,"-open"),ur),(0,ee.Z)(lt,"".concat(Ht,"-customize-input"),Zi),(0,ee.Z)(lt,"".concat(Ht,"-show-search"),Er),lt)),ba=I.createElement(se,{ref:ji,disabled:rn,prefixCls:Ht,visible:cr,popupElement:us,animation:er,transitionName:mr,dropdownStyle:Sr,dropdownClassName:nr,direction:dn,dropdownMatchSelectWidth:kr,dropdownRender:Jr,dropdownAlign:Qn,placement:Cn,builtinPlacements:at,getPopupContainer:Kn,empty:ln,getTriggerDOMNode:function(){return ni.current},onPopupVisibleChange:ya,onPopupMouseEnter:Ha},Kr?I.cloneElement(Kr,{ref:aa}):I.createElement(Nt,(0,y.Z)({},Ue,{domRef:ni,prefixCls:Ht,inputElement:Zi,ref:Ii,id:Pt,showSearch:Er,autoClearSearchValue:tr,mode:Bn,activeDescendantId:En,tagRender:sn,values:It,open:ur,onToggleOpen:Zn,activeValue:Gt,searchValue:Ci,onSearch:$r,onSearchSubmit:Ni,onRemove:da,tokenWithEnter:Br}))),wa;return Kr?wa=ba:wa=I.createElement("div",(0,y.Z)({className:ns},Nr,{ref:jr,onMouseDown:Mi,onKeyDown:_a,onKeyUp:Wa,onFocus:dr,onBlur:sr}),Ti&&!ur&&I.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(It.map(function(ei){var zr=ei.label,ia=ei.value;return["number","string"].includes((0,C.Z)(zr))?zr:ia}).join(", "))),ba,os,Ta&&Qi),I.createElement(ne.Provider,{value:as},wa)}),we=K,Ke=function(Ue,Ce){var mt=I.useRef({values:new Map,options:new Map}),lt=I.useMemo(function(){var Ht=mt.current,tn=Ht.values,Ut=Ht.options,sn=Ue.map(function(It){if(It.label===void 0){var un;return(0,Ee.Z)((0,Ee.Z)({},It),{},{label:(un=tn.get(It.value))===null||un===void 0?void 0:un.label})}return It}),dn=new Map,Mt=new Map;return sn.forEach(function(It){dn.set(It.value,It),Mt.set(It.value,Ce.get(It.value)||Ut.get(It.value))}),mt.current.values=dn,mt.current.options=Mt,sn},[Ue,Ce]),Pt=I.useCallback(function(Ht){return Ce.get(Ht)||mt.current.options.get(Ht)},[Ce]);return[lt,Pt]};function ke(Ue,Ce){return te(Ue).join("").toUpperCase().includes(Ce)}var Te=function(Ue,Ce,mt,lt,Pt){return I.useMemo(function(){if(!mt||lt===!1)return Ue;var Ht=Ce.options,tn=Ce.label,Ut=Ce.value,sn=[],dn=typeof lt=="function",Mt=mt.toUpperCase(),It=dn?lt:function(ln,hn){return Pt?ke(hn[Pt],Mt):hn[Ht]?ke(hn[tn!=="children"?tn:"label"],Mt):ke(hn[Ut],Mt)},un=dn?function(ln){return k(ln)}:function(ln){return ln};return Ue.forEach(function(ln){if(ln[Ht]){var hn=It(mt,un(ln));if(hn)sn.push(ln);else{var _n=ln[Ht].filter(function(ir){return It(mt,un(ir))});_n.length&&sn.push((0,Ee.Z)((0,Ee.Z)({},ln),{},(0,ee.Z)({},Ht,_n)))}return}It(mt,un(ln))&&sn.push(ln)}),sn},[Ue,lt,Pt,mt,Ce])},Ye=f(17115),tt=f(38298),We=["children","value"],yt=["children"];function St(Ue){var Ce=Ue,mt=Ce.key,lt=Ce.props,Pt=lt.children,Ht=lt.value,tn=(0,q.Z)(lt,We);return(0,Ee.Z)({key:mt,value:Ht!==void 0?Ht:mt,children:Pt},tn)}function pt(Ue){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,tt.Z)(Ue).map(function(mt,lt){if(!I.isValidElement(mt)||!mt.type)return null;var Pt=mt,Ht=Pt.type.isSelectOptGroup,tn=Pt.key,Ut=Pt.props,sn=Ut.children,dn=(0,q.Z)(Ut,yt);return Ce||!Ht?St(mt):(0,Ee.Z)((0,Ee.Z)({key:"__RC_SELECT_GRP__".concat(tn===null?lt:tn,"__"),label:tn},dn),{},{options:pt(sn)})}).filter(function(mt){return mt})}function Lt(Ue,Ce,mt,lt,Pt){return I.useMemo(function(){var Ht=Ue,tn=!Ue;tn&&(Ht=pt(Ce));var Ut=new Map,sn=new Map,dn=function(un,ln,hn){hn&&typeof hn=="string"&&un.set(ln[hn],ln)};function Mt(It){for(var un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ln=0;ln<It.length;ln+=1){var hn=It[ln];!hn[mt.options]||un?(Ut.set(hn[mt.value],hn),dn(sn,hn,mt.label),dn(sn,hn,lt),dn(sn,hn,Pt)):Mt(hn[mt.options],!0)}}return Mt(Ht),{options:Ht,valueOptions:Ut,labelOptions:sn}},[Ue,Ce,mt,lt,Pt])}function _t(Ue){var Ce=I.useRef();Ce.current=Ue;var mt=I.useCallback(function(){return Ce.current.apply(Ce,arguments)},[]);return mt}var w=function(){return null};w.isSelectOptGroup=!0;var D=w,bt=function(){return null};bt.isSelectOption=!0;var ce=bt,Me=f(79722),pn=f(64002),He=f(21881),rt=I.createContext(null),Je=rt;function Ae(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var De=["disabled","title","children","style","className"];function ze(Ue){return typeof Ue=="string"||typeof Ue=="number"}var Xe=function(Ce,mt){var lt=Y(),Pt=lt.prefixCls,Ht=lt.id,tn=lt.open,Ut=lt.multiple,sn=lt.mode,dn=lt.searchValue,Mt=lt.toggleOpen,It=lt.notFoundContent,un=lt.onPopupScroll,ln=I.useContext(Je),hn=ln.flattenOptions,_n=ln.onActiveValue,ir=ln.defaultActiveFirstOption,Bn=ln.onSelect,rn=ln.menuItemSelectedIcon,dt=ln.rawValues,gt=ln.fieldNames,kt=ln.virtual,Vt=ln.direction,Ft=ln.listHeight,Qt=ln.listItemHeight,Gt="".concat(Pt,"-item"),vn=(0,Me.Z)(function(){return hn},[tn,hn],function(Qn,Cn){return Cn[0]&&Qn[1]!==Cn[1]}),En=I.useRef(null),Fn=function(Cn){Cn.preventDefault()},tr=function(Cn){En.current&&En.current.scrollTo(typeof Cn=="number"?{index:Cn}:Cn)},Xn=function(Cn){for(var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Kn=vn.length,lr=0;lr<Kn;lr+=1){var Rr=(Cn+lr*at+Kn)%Kn,Tr=vn[Rr],Pr=Tr.group,Ur=Tr.data;if(!Pr&&!Ur.disabled)return Rr}return-1},ar=I.useState(function(){return Xn(0)}),Dn=(0,$.Z)(ar,2),wn=Dn[0],gr=Dn[1],Gn=function(Cn){var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;gr(Cn);var Kn={source:at?"keyboard":"mouse"},lr=vn[Cn];if(!lr){_n(null,-1,Kn);return}_n(lr.value,Cn,Kn)};(0,I.useEffect)(function(){Gn(ir!==!1?Xn(0):-1)},[vn.length,dn]);var Cr=I.useCallback(function(Qn){return dt.has(Qn)&&sn!=="combobox"},[sn,(0,L.Z)(dt).toString(),dt.size]);(0,I.useEffect)(function(){var Qn=setTimeout(function(){if(!Ut&&tn&&dt.size===1){var at=Array.from(dt)[0],Kn=vn.findIndex(function(lr){var Rr=lr.data;return Rr.value===at});Kn!==-1&&(Gn(Kn),tr(Kn))}});if(tn){var Cn;(Cn=En.current)===null||Cn===void 0||Cn.scrollTo(void 0)}return function(){return clearTimeout(Qn)}},[tn,dn,hn.length]);var er=function(Cn){Cn!==void 0&&Bn(Cn,{selected:!dt.has(Cn)}),Ut||Mt(!1)};if(I.useImperativeHandle(mt,function(){return{onKeyDown:function(Cn){var at=Cn.which,Kn=Cn.ctrlKey;switch(at){case m.Z.N:case m.Z.P:case m.Z.UP:case m.Z.DOWN:{var lr=0;if(at===m.Z.UP?lr=-1:at===m.Z.DOWN?lr=1:Ae()&&Kn&&(at===m.Z.N?lr=1:at===m.Z.P&&(lr=-1)),lr!==0){var Rr=Xn(wn+lr,lr);tr(Rr),Gn(Rr,!0)}break}case m.Z.ENTER:{var Tr=vn[wn];Tr&&!Tr.data.disabled?er(Tr.value):er(void 0),tn&&Cn.preventDefault();break}case m.Z.ESC:Mt(!1),tn&&Cn.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Cn){tr(Cn)}}}),vn.length===0)return I.createElement("div",{role:"listbox",id:"".concat(Ht,"_list"),className:"".concat(Gt,"-empty"),onMouseDown:Fn},It);var mr=Object.keys(gt).map(function(Qn){return gt[Qn]}),Sr=function(Cn){return Cn.label};function nr(Qn,Cn){var at=Qn.group;return{role:at?"presentation":"option",id:"".concat(Ht,"_list_").concat(Cn)}}var kr=function(Cn){var at=vn[Cn];if(!at)return null;var Kn=at.data||{},lr=Kn.value,Rr=at.group,Tr=(0,j.Z)(Kn,!0),Pr=Sr(at);return at?I.createElement("div",(0,y.Z)({"aria-label":typeof Pr=="string"&&!Rr?Pr:null},Tr,{key:Cn},nr(at,Cn),{"aria-selected":Cr(lr)}),lr):null},Jr={role:"listbox",id:"".concat(Ht,"_list")};return I.createElement(I.Fragment,null,kt&&I.createElement("div",(0,y.Z)({},Jr,{style:{height:0,width:0,overflow:"hidden"}}),kr(wn-1),kr(wn),kr(wn+1)),I.createElement(He.Z,{itemKey:"key",ref:En,data:vn,height:Ft,itemHeight:Qt,fullHeight:!1,onMouseDown:Fn,onScroll:un,virtual:kt,direction:Vt,innerProps:kt?null:Jr},function(Qn,Cn){var at,Kn=Qn.group,lr=Qn.groupOption,Rr=Qn.data,Tr=Qn.label,Pr=Qn.value,Ur=Rr.key;if(Kn){var vr,Hn=(vr=Rr.title)!==null&&vr!==void 0?vr:ze(Tr)?Tr.toString():void 0;return I.createElement("div",{className:S()(Gt,"".concat(Gt,"-group")),title:Hn},Tr!==void 0?Tr:Ur)}var Mn=Rr.disabled,jn=Rr.title,Er=Rr.children,Nr=Rr.style,hi=Rr.className,Ei=(0,q.Z)(Rr,De),Vn=(0,pn.Z)(Ei,mr),Zr=Cr(Pr),jr="".concat(Gt,"-option"),ni=S()(Gt,jr,hi,(at={},(0,ee.Z)(at,"".concat(jr,"-grouped"),lr),(0,ee.Z)(at,"".concat(jr,"-active"),wn===Cn&&!Mn),(0,ee.Z)(at,"".concat(jr,"-disabled"),Mn),(0,ee.Z)(at,"".concat(jr,"-selected"),Zr),at)),ji=Sr(Qn),Ii=!rn||typeof rn=="function"||Zr,Xr=typeof ji=="number"?ji:ji||Pr,gi=ze(Xr)?Xr.toString():void 0;return jn!==void 0&&(gi=jn),I.createElement("div",(0,y.Z)({},(0,j.Z)(Vn),kt?{}:nr(Qn,Cn),{"aria-selected":Zr,className:ni,title:gi,onMouseMove:function(){wn===Cn||Mn||Gn(Cn)},onClick:function(){Mn||er(Pr)},style:Nr}),I.createElement("div",{className:"".concat(jr,"-content")},Xr),I.isValidElement(rn)||Zr,Ii&&I.createElement(B,{className:"".concat(Gt,"-option-state"),customizeIcon:rn,customizeIconProps:{isSelected:Zr}},Zr?"\u2713":null))}))},ge=I.forwardRef(Xe);ge.displayName="OptionList";var an=ge;function $e(Ue){var Ce=Ue.mode,mt=Ue.options,lt=Ue.children,Pt=Ue.backfill,Ht=Ue.allowClear,tn=Ue.placeholder,Ut=Ue.getInputElement,sn=Ue.showSearch,dn=Ue.onSearch,Mt=Ue.defaultOpen,It=Ue.autoFocus,un=Ue.labelInValue,ln=Ue.value,hn=Ue.inputValue,_n=Ue.optionLabelProp,ir=isMultiple(Ce),Bn=sn!==void 0?sn:ir||Ce==="combobox",rn=mt||convertChildrenToData(lt);if(warning(Ce!=="tags"||rn.every(function(Vt){return!Vt.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Ce==="tags"||Ce==="combobox"){var dt=rn.some(function(Vt){return Vt.options?Vt.options.some(function(Ft){return typeof("value"in Ft?Ft.value:Ft.key)=="number"}):typeof("value"in Vt?Vt.value:Vt.key)=="number"});warning(!dt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Ce!=="combobox"||!_n,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Ce==="combobox"||!Pt,"`backfill` only works with `combobox` mode."),warning(Ce==="combobox"||!Ut,"`getInputElement` only work with `combobox` mode."),noteOnce(Ce!=="combobox"||!Ut||!Ht||!tn,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),dn&&!Bn&&Ce!=="combobox"&&Ce!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Mt||It,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),ln!=null){var gt=toArray(ln);warning(!un||gt.every(function(Vt){return _typeof(Vt)==="object"&&("key"in Vt||"value"in Vt)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!ir||Array.isArray(ln),"`value` should be array when `mode` is `multiple` or `tags`")}if(lt){var kt=null;toNodeArray(lt).some(function(Vt){if(!React.isValidElement(Vt)||!Vt.type)return!1;var Ft=Vt,Qt=Ft.type;if(Qt.isSelectOption)return!1;if(Qt.isSelectOptGroup){var Gt=toNodeArray(Vt.props.children).every(function(vn){return!React.isValidElement(vn)||!Vt.type||vn.type.isSelectOption?!0:(kt=vn.type,!1)});return!Gt}return kt=Qt,!0}),kt&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(kt.displayName||kt.name||kt,"`.")),warning(hn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function bn(Ue,Ce){if(Ue){var mt=function lt(Pt){for(var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,tn=0;tn<Pt.length;tn++){var Ut=Pt[tn];if(Ut[Ce==null?void 0:Ce.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Ht&&Array.isArray(Ut[Ce==null?void 0:Ce.options])&&lt(Ut[Ce==null?void 0:Ce.options],!0))break}};mt(Ue)}}var Tn=null,Wt=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],Yt=["inputValue"];function Rt(Ue){return!Ue||(0,C.Z)(Ue)!=="object"}var Ot=I.forwardRef(function(Ue,Ce){var mt=Ue.id,lt=Ue.mode,Pt=Ue.prefixCls,Ht=Pt===void 0?"rc-select":Pt,tn=Ue.backfill,Ut=Ue.fieldNames,sn=Ue.inputValue,dn=Ue.searchValue,Mt=Ue.onSearch,It=Ue.autoClearSearchValue,un=It===void 0?!0:It,ln=Ue.onSelect,hn=Ue.onDeselect,_n=Ue.dropdownMatchSelectWidth,ir=_n===void 0?!0:_n,Bn=Ue.filterOption,rn=Ue.filterSort,dt=Ue.optionFilterProp,gt=Ue.optionLabelProp,kt=Ue.options,Vt=Ue.children,Ft=Ue.defaultActiveFirstOption,Qt=Ue.menuItemSelectedIcon,Gt=Ue.virtual,vn=Ue.direction,En=Ue.listHeight,Fn=En===void 0?200:En,tr=Ue.listItemHeight,Xn=tr===void 0?20:tr,ar=Ue.value,Dn=Ue.defaultValue,wn=Ue.labelInValue,gr=Ue.onChange,Gn=(0,q.Z)(Ue,Wt),Cr=(0,Ye.ZP)(mt),er=G(lt),mr=!!(!kt&&Vt),Sr=I.useMemo(function(){return Bn===void 0&&lt==="combobox"?!1:Bn},[Bn,lt]),nr=I.useMemo(function(){return O(Ut,mr)},[JSON.stringify(Ut),mr]),kr=(0,Se.Z)("",{value:dn!==void 0?dn:sn,postState:function(xr){return xr||""}}),Jr=(0,$.Z)(kr,2),Qn=Jr[0],Cn=Jr[1],at=Lt(kt,Vt,nr,dt,gt),Kn=at.valueOptions,lr=at.labelOptions,Rr=at.options,Tr=I.useCallback(function(ur){var xr=te(ur);return xr.map(function(cr){var Zn,Br,$r,Ni,yi;if(Rt(cr))Zn=cr;else{var Fi;$r=cr.key,Br=cr.label,Zn=(Fi=cr.value)!==null&&Fi!==void 0?Fi:$r}var Pi=Kn.get(Zn);if(Pi){var va;if(Br===void 0&&(Br=Pi==null?void 0:Pi[gt||nr.label]),$r===void 0&&($r=(va=Pi==null?void 0:Pi.key)!==null&&va!==void 0?va:Zn),Ni=Pi==null?void 0:Pi.disabled,yi=Pi==null?void 0:Pi.title,0)var _a}return{label:Br,value:Zn,key:$r,disabled:Ni,title:yi}})},[nr,gt,Kn]),Pr=(0,Se.Z)(Dn,{value:ar}),Ur=(0,$.Z)(Pr,2),vr=Ur[0],Hn=Ur[1],Mn=I.useMemo(function(){var ur,xr=Tr(vr);return lt==="combobox"&&de((ur=xr[0])===null||ur===void 0?void 0:ur.value)?[]:xr},[vr,Tr,lt]),jn=Ke(Mn,Kn),Er=(0,$.Z)(jn,2),Nr=Er[0],hi=Er[1],Ei=I.useMemo(function(){if(!lt&&Nr.length===1){var ur=Nr[0];if(ur.value===null&&(ur.label===null||ur.label===void 0))return[]}return Nr.map(function(xr){var cr;return(0,Ee.Z)((0,Ee.Z)({},xr),{},{label:(cr=xr.label)!==null&&cr!==void 0?cr:xr.value})})},[lt,Nr]),Vn=I.useMemo(function(){return new Set(Nr.map(function(ur){return ur.value}))},[Nr]);I.useEffect(function(){if(lt==="combobox"){var ur,xr=(ur=Nr[0])===null||ur===void 0?void 0:ur.value;Cn(Q(xr)?String(xr):"")}},[Nr]);var Zr=_t(function(ur,xr){var cr,Zn=xr!=null?xr:ur;return cr={},(0,ee.Z)(cr,nr.value,ur),(0,ee.Z)(cr,nr.label,Zn),cr}),jr=I.useMemo(function(){if(lt!=="tags")return Rr;var ur=(0,L.Z)(Rr),xr=function(Zn){return Kn.has(Zn)};return(0,L.Z)(Nr).sort(function(cr,Zn){return cr.value<Zn.value?-1:1}).forEach(function(cr){var Zn=cr.value;xr(Zn)||ur.push(Zr(Zn,cr.label))}),ur},[Zr,Rr,Kn,Nr,lt]),ni=Te(jr,nr,Qn,Sr,dt),ji=I.useMemo(function(){return lt!=="tags"||!Qn||ni.some(function(ur){return ur[dt||"value"]===Qn})||ni.some(function(ur){return ur[nr.value]===Qn})?ni:[Zr(Qn)].concat((0,L.Z)(ni))},[Zr,dt,lt,ni,Qn,nr]),Ii=I.useMemo(function(){return rn?(0,L.Z)(ji).sort(function(ur,xr){return rn(ur,xr)}):ji},[ji,rn]),Xr=I.useMemo(function(){return xe(Ii,{fieldNames:nr,childrenAsData:mr})},[Ii,nr,mr]),gi=function(xr){var cr=Tr(xr);if(Hn(cr),gr&&(cr.length!==Nr.length||cr.some(function($r,Ni){var yi;return((yi=Nr[Ni])===null||yi===void 0?void 0:yi.value)!==($r==null?void 0:$r.value)}))){var Zn=wn?cr:cr.map(function($r){return $r.value}),Br=cr.map(function($r){return k(hi($r.value))});gr(er?Zn:Zn[0],er?Br:Br[0])}},oi=I.useState(null),Ti=(0,$.Z)(oi,2),Di=Ti[0],Vi=Ti[1],Ci=I.useState(0),Zi=(0,$.Z)(Ci,2),Kr=Zi[0],aa=Zi[1],ga=Ft!==void 0?Ft:lt!=="combobox",ua=I.useCallback(function(ur,xr){var cr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Zn=cr.source,Br=Zn===void 0?"keyboard":Zn;aa(xr),tn&&lt==="combobox"&&ur!==null&&Br==="keyboard"&&Vi(String(ur))},[tn,lt]),vi=function(xr,cr,Zn){var Br=function(){var fa,dr=hi(xr);return[wn?{label:dr==null?void 0:dr[nr.label],value:xr,key:(fa=dr==null?void 0:dr.key)!==null&&fa!==void 0?fa:xr}:xr,k(dr)]};if(cr&&ln){var $r=Br(),Ni=(0,$.Z)($r,2),yi=Ni[0],Fi=Ni[1];ln(yi,Fi)}else if(!cr&&hn&&Zn!=="clear"){var Pi=Br(),va=(0,$.Z)(Pi,2),_a=va[0],Wa=va[1];hn(_a,Wa)}},ca=_t(function(ur,xr){var cr,Zn=er?xr.selected:!0;Zn?cr=er?[].concat((0,L.Z)(Nr),[ur]):[ur]:cr=Nr.filter(function(Br){return Br.value!==ur}),gi(cr),vi(ur,Zn),lt==="combobox"?Vi(""):(!G||un)&&(Cn(""),Vi(""))}),Ea=function(xr,cr){gi(xr);var Zn=cr.type,Br=cr.values;(Zn==="remove"||Zn==="clear")&&Br.forEach(function($r){vi($r.value,!1,Zn)})},Ln=function(xr,cr){if(Cn(xr),Vi(null),cr.source==="submit"){var Zn=(xr||"").trim();if(Zn){var Br=Array.from(new Set([].concat((0,L.Z)(Vn),[Zn])));gi(Br),vi(Zn,!0),Cn("")}return}cr.source!=="blur"&&(lt==="combobox"&&gi(xr),Mt==null||Mt(xr))},Li=function(xr){var cr=xr;lt!=="tags"&&(cr=xr.map(function(Br){var $r=lr.get(Br);return $r==null?void 0:$r.value}).filter(function(Br){return Br!==void 0}));var Zn=Array.from(new Set([].concat((0,L.Z)(Vn),(0,L.Z)(cr))));gi(Zn),Zn.forEach(function(Br){vi(Br,!0)})},na=I.useMemo(function(){var ur=Gt!==!1&&ir!==!1;return(0,Ee.Z)((0,Ee.Z)({},at),{},{flattenOptions:Xr,onActiveValue:ua,defaultActiveFirstOption:ga,onSelect:ca,menuItemSelectedIcon:Qt,rawValues:Vn,fieldNames:nr,virtual:ur,direction:vn,listHeight:Fn,listItemHeight:Xn,childrenAsData:mr})},[at,Xr,ua,ga,ca,Qt,Vn,nr,Gt,ir,Fn,Xn,mr]);return I.createElement(Je.Provider,{value:na},I.createElement(we,(0,y.Z)({},Gn,{id:Cr,prefixCls:Ht,ref:Ce,omitDomProps:Yt,mode:lt,displayValues:Ei,onDisplayValuesChange:Ea,direction:vn,searchValue:Qn,onSearch:Ln,autoClearSearchValue:un,onSearchSplit:Li,dropdownMatchSelectWidth:ir,OptionList:an,emptyOptions:!Xr.length,activeValue:Di,activeDescendantId:"".concat(Cr,"_list_").concat(Kr)})))}),Ge=Ot;Ge.Option=ce,Ge.OptGroup=D;var xt=Ge,At=xt},9296:function(en,et,f){"use strict";f.r(et),f.d(et,{ResizableTextArea:function(){return fe},default:function(){return de}});var y=f(5891),L=f(57259),ee=f(80962),Ee=f(80665),$=f(29043),q=f(19149),C=f(26390),Se=f(92310),a=f.n(Se),I=f(93681),z=f(5643),S=f(35788),u=f(59301),x=f(29301),m=f(28800),P=f(23073),ue=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
pointer-events: none !important;
`,B=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],W={},ne;function Y(ie){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_=ie.getAttribute("id")||ie.getAttribute("data-reactid")||ie.getAttribute("name");if(v&&W[_])return W[_];var V=window.getComputedStyle(ie),J=V.getPropertyValue("box-sizing")||V.getPropertyValue("-moz-box-sizing")||V.getPropertyValue("-webkit-box-sizing"),Le=parseFloat(V.getPropertyValue("padding-bottom"))+parseFloat(V.getPropertyValue("padding-top")),Oe=parseFloat(V.getPropertyValue("border-bottom-width"))+parseFloat(V.getPropertyValue("border-top-width")),Ie=B.map(function(ut){return"".concat(ut,":").concat(V.getPropertyValue(ut))}).join(";"),Ze={sizingStyle:Ie,paddingSize:Le,borderSize:Oe,boxSizing:J};return v&&_&&(W[_]=Ze),Ze}function b(ie){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,V=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ne||(ne=document.createElement("textarea"),ne.setAttribute("tab-index","-1"),ne.setAttribute("aria-hidden","true"),document.body.appendChild(ne)),ie.getAttribute("wrap")?ne.setAttribute("wrap",ie.getAttribute("wrap")):ne.removeAttribute("wrap");var J=Y(ie,v),Le=J.paddingSize,Oe=J.borderSize,Ie=J.boxSizing,Ze=J.sizingStyle;ne.setAttribute("style","".concat(Ze,";").concat(ue)),ne.value=ie.value||ie.placeholder||"";var ut=void 0,ct=void 0,it,Nt=ne.scrollHeight;if(Ie==="border-box"?Nt+=Oe:Ie==="content-box"&&(Nt-=Le),_!==null||V!==null){ne.value=" ";var qt=ne.scrollHeight-Le;_!==null&&(ut=qt*_,Ie==="border-box"&&(ut=ut+Le+Oe),Nt=Math.max(ut,Nt)),V!==null&&(ct=qt*V,Ie==="border-box"&&(ct=ct+Le+Oe),it=Nt>ct?"":"hidden",Nt=Math.min(ct,Nt))}var nn={height:Nt,overflowY:it,resize:"none"};return ut&&(nn.minHeight=ut),ct&&(nn.maxHeight=ct),nn}var R=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Z=0,j=1,he=2,me=u.forwardRef(function(ie,v){var _=ie,V=_.prefixCls,J=_.onPressEnter,Le=_.defaultValue,Oe=_.value,Ie=_.autoSize,Ze=_.onResize,ut=_.className,ct=_.style,it=_.disabled,Nt=_.onChange,qt=_.onInternalAutoSize,nn=(0,q.Z)(_,R),Dt=(0,S.Z)(Le,{value:Oe,postState:function(D){return D!=null?D:""}}),$t=(0,$.Z)(Dt,2),ot=$t[0],se=$t[1],be=function(D){se(D.target.value),Nt==null||Nt(D)},H=u.useRef();u.useImperativeHandle(v,function(){return{textArea:H.current}});var O=u.useMemo(function(){return Ie&&(0,Ee.Z)(Ie)==="object"?[Ie.minRows,Ie.maxRows]:[]},[Ie]),xe=(0,$.Z)(O,2),k=xe[0],E=xe[1],T=!!Ie,X=function(){try{if(document.activeElement===H.current){var D=H.current,bt=D.selectionStart,ce=D.selectionEnd,Me=D.scrollTop;H.current.setSelectionRange(bt,ce),H.current.scrollTop=Me}}catch(pn){}},G=u.useState(he),K=(0,$.Z)(G,2),we=K[0],Ke=K[1],ke=u.useState(),Te=(0,$.Z)(ke,2),Ye=Te[0],tt=Te[1],We=function(){Ke(Z)};(0,m.Z)(function(){T&&We()},[Oe,k,E,T]),(0,m.Z)(function(){if(we===Z)Ke(j);else if(we===j){var w=b(H.current,!1,k,E);Ke(he),tt(w)}else X()},[we]);var yt=u.useRef(),St=function(){P.Z.cancel(yt.current)},pt=function(D){we===he&&(Ze==null||Ze(D),Ie&&(St(),yt.current=(0,P.Z)(function(){We()})))};u.useEffect(function(){return St},[]);var Lt=T?Ye:null,_t=(0,L.Z)((0,L.Z)({},ct),Lt);return(we===Z||we===j)&&(_t.overflowY="hidden",_t.overflowX="hidden"),u.createElement(x.Z,{onResize:pt,disabled:!(Ie||Ze)},u.createElement("textarea",(0,y.Z)({},nn,{ref:H,style:_t,className:a()(V,ut,(0,ee.Z)({},"".concat(V,"-disabled"),it)),disabled:it,value:ot,onChange:be})))}),fe=me,ae=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function te(ie,v){return(0,C.Z)(ie||"").slice(0,v).join("")}function U(ie,v,_,V){var J=_;return ie?J=te(_,V):(0,C.Z)(v||"").length<_.length&&(0,C.Z)(_||"").length>V&&(J=v),J}var pe=u.forwardRef(function(ie,v){var _,V=ie.defaultValue,J=ie.value,Le=ie.onFocus,Oe=ie.onBlur,Ie=ie.onChange,Ze=ie.allowClear,ut=ie.maxLength,ct=ie.onCompositionStart,it=ie.onCompositionEnd,Nt=ie.suffix,qt=ie.prefixCls,nn=qt===void 0?"rc-textarea":qt,Dt=ie.classes,$t=ie.showCount,ot=ie.className,se=ie.style,be=ie.disabled,H=ie.hidden,O=ie.classNames,xe=ie.styles,k=ie.onResize,E=(0,q.Z)(ie,ae),T=(0,S.Z)(V,{value:J,defaultValue:V}),X=(0,$.Z)(T,2),G=X[0],K=X[1],we=(0,u.useRef)(null),Ke=u.useState(!1),ke=(0,$.Z)(Ke,2),Te=ke[0],Ye=ke[1],tt=u.useState(!1),We=(0,$.Z)(tt,2),yt=We[0],St=We[1],pt=u.useRef(),Lt=u.useRef(0),_t=u.useState(null),w=(0,$.Z)(_t,2),D=w[0],bt=w[1],ce=function(){var Rt;(Rt=we.current)===null||Rt===void 0||Rt.textArea.focus()};(0,u.useImperativeHandle)(v,function(){return{resizableTextArea:we.current,focus:ce,blur:function(){var Rt;(Rt=we.current)===null||Rt===void 0||Rt.textArea.blur()}}}),(0,u.useEffect)(function(){Ye(function(Yt){return!be&&Yt})},[be]);var Me=Number(ut)>0,pn=function(Rt){St(!0),pt.current=G,Lt.current=Rt.currentTarget.selectionStart,ct==null||ct(Rt)},He=function(Rt){St(!1);var Ot=Rt.currentTarget.value;if(Me){var Ge,xt=Lt.current>=ut+1||Lt.current===((Ge=pt.current)===null||Ge===void 0?void 0:Ge.length);Ot=U(xt,pt.current,Ot,ut)}Ot!==G&&(K(Ot),(0,z.rJ)(Rt.currentTarget,Rt,Ie,Ot)),it==null||it(Rt)},rt=function(Rt){var Ot=Rt.target.value;if(!yt&&Me){var Ge=Rt.target.selectionStart>=ut+1||Rt.target.selectionStart===Ot.length||!Rt.target.selectionStart;Ot=U(Ge,G,Ot,ut)}K(Ot),(0,z.rJ)(Rt.currentTarget,Rt,Ie,Ot)},Je=function(Rt){var Ot=E.onPressEnter,Ge=E.onKeyDown;Rt.key==="Enter"&&Ot&&Ot(Rt),Ge==null||Ge(Rt)},Ae=function(Rt){Ye(!0),Le==null||Le(Rt)},De=function(Rt){Ye(!1),Oe==null||Oe(Rt)},ze=function(Rt){var Ot;K(""),ce(),(0,z.rJ)((Ot=we.current)===null||Ot===void 0?void 0:Ot.textArea,Rt,Ie)},Xe=(0,z.D7)(G);!yt&&Me&&J==null&&(Xe=te(Xe,ut));var ge=Nt,an;if($t){var $e=(0,C.Z)(Xe).length;(0,Ee.Z)($t)==="object"?an=$t.formatter({value:Xe,count:$e,maxLength:ut}):an="".concat($e).concat(Me?" / ".concat(ut):""),ge=u.createElement(u.Fragment,null,ge,u.createElement("span",{className:a()("".concat(nn,"-data-count"),O==null?void 0:O.count),style:xe==null?void 0:xe.count},an))}var bn=function(Rt){var Ot;k==null||k(Rt),(Ot=we.current)!==null&&Ot!==void 0&&Ot.textArea.style.height&&bt(!0)},Tn=!E.autoSize&&!$t&&!Ze,Wt=u.createElement(I.BaseInput,{value:Xe,allowClear:Ze,handleReset:ze,suffix:ge,prefixCls:nn,classes:{affixWrapper:a()(Dt==null?void 0:Dt.affixWrapper,(_={},(0,ee.Z)(_,"".concat(nn,"-show-count"),$t),(0,ee.Z)(_,"".concat(nn,"-textarea-allow-clear"),Ze),_))},disabled:be,focused:Te,className:ot,style:(0,L.Z)((0,L.Z)({},se),D&&!Tn?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof an=="string"?an:void 0}},hidden:H,inputElement:u.createElement(fe,(0,y.Z)({},E,{onKeyDown:Je,onChange:rt,onFocus:Ae,onBlur:De,onCompositionStart:pn,onCompositionEnd:He,className:O==null?void 0:O.textarea,style:(0,L.Z)((0,L.Z)({},xe==null?void 0:xe.textarea),{},{resize:se==null?void 0:se.resize}),disabled:be,prefixCls:nn,onResize:bn,ref:we}))});return Wt}),Q=pe,de=Q},55477:function(en,et,f){"use strict";f.d(et,{G:function(){return u},Z:function(){return ue}});var y=f(5891),L=f(57259),ee=f(19149),Ee=f(35593),$=f(59301),q={shiftX:64,adjustY:1},C={adjustX:1,shiftY:!0},Se=[0,0],a={left:{points:["cr","cl"],overflow:C,offset:[-4,0],targetOffset:Se},right:{points:["cl","cr"],overflow:C,offset:[4,0],targetOffset:Se},top:{points:["bc","tc"],overflow:q,offset:[0,-4],targetOffset:Se},bottom:{points:["tc","bc"],overflow:q,offset:[0,4],targetOffset:Se},topLeft:{points:["bl","tl"],overflow:q,offset:[0,-4],targetOffset:Se},leftTop:{points:["tr","tl"],overflow:C,offset:[-4,0],targetOffset:Se},topRight:{points:["br","tr"],overflow:q,offset:[0,-4],targetOffset:Se},rightTop:{points:["tl","tr"],overflow:C,offset:[4,0],targetOffset:Se},bottomRight:{points:["tr","br"],overflow:q,offset:[0,4],targetOffset:Se},rightBottom:{points:["bl","br"],overflow:C,offset:[4,0],targetOffset:Se},bottomLeft:{points:["tl","bl"],overflow:q,offset:[0,4],targetOffset:Se},leftBottom:{points:["br","bl"],overflow:C,offset:[-4,0],targetOffset:Se}},I=null,z=f(92310),S=f.n(z);function u(B){var W=B.children,ne=B.prefixCls,Y=B.id,b=B.overlayInnerStyle,R=B.className,Z=B.style;return $.createElement("div",{className:S()("".concat(ne,"-content"),R),style:Z},$.createElement("div",{className:"".concat(ne,"-inner"),id:Y,role:"tooltip",style:b},typeof W=="function"?W():W))}var x=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],m=function(W,ne){var Y=W.overlayClassName,b=W.trigger,R=b===void 0?["hover"]:b,Z=W.mouseEnterDelay,j=Z===void 0?0:Z,he=W.mouseLeaveDelay,me=he===void 0?.1:he,fe=W.overlayStyle,ae=W.prefixCls,te=ae===void 0?"rc-tooltip":ae,U=W.children,pe=W.onVisibleChange,Q=W.afterVisibleChange,de=W.transitionName,ie=W.animation,v=W.motion,_=W.placement,V=_===void 0?"right":_,J=W.align,Le=J===void 0?{}:J,Oe=W.destroyTooltipOnHide,Ie=Oe===void 0?!1:Oe,Ze=W.defaultVisible,ut=W.getTooltipContainer,ct=W.overlayInnerStyle,it=W.arrowContent,Nt=W.overlay,qt=W.id,nn=W.showArrow,Dt=nn===void 0?!0:nn,$t=(0,ee.Z)(W,x),ot=(0,$.useRef)(null);(0,$.useImperativeHandle)(ne,function(){return ot.current});var se=(0,L.Z)({},$t);"visible"in W&&(se.popupVisible=W.visible);var be=function(){return $.createElement(u,{key:"content",prefixCls:te,id:qt,overlayInnerStyle:ct},Nt)};return $.createElement(Ee.Z,(0,y.Z)({popupClassName:Y,prefixCls:te,popup:be,action:R,builtinPlacements:a,popupPlacement:V,ref:ot,popupAlign:Le,getPopupContainer:ut,onPopupVisibleChange:pe,afterPopupVisibleChange:Q,popupTransitionName:de,popupAnimation:ie,popupMotion:v,defaultPopupVisible:Ze,autoDestroy:Ie,mouseLeaveDelay:me,popupStyle:fe,mouseEnterDelay:j,arrow:Dt},se),U)},P=(0,$.forwardRef)(m),ue=P},39417:function(en,et,f){"use strict";f.d(et,{Z:function(){return j}});var y=f(5891),L=f(80962),ee=f(19149),Ee=f(57259),$=f(79545),q=f(68550),C=f(21882),Se=f(17928),a=f(7711),I=f(92310),z=f.n(I),S=f(36994),u=f(59301),x=f(39378),m=function(me){for(var fe=me.prefixCls,ae=me.level,te=me.isStart,U=me.isEnd,pe="".concat(fe,"-indent-unit"),Q=[],de=0;de<ae;de+=1){var ie;Q.push(u.createElement("span",{key:de,className:z()(pe,(ie={},(0,L.Z)(ie,"".concat(pe,"-start"),te[de]),(0,L.Z)(ie,"".concat(pe,"-end"),U[de]),ie))}))}return u.createElement("span",{"aria-hidden":"true",className:"".concat(fe,"-indent")},Q)},P=u.memo(m),ue=f(67841),B=f(71430),W=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ne="open",Y="close",b="---",R=function(he){(0,Se.Z)(fe,he);var me=(0,a.Z)(fe);function fe(){var ae;(0,$.Z)(this,fe);for(var te=arguments.length,U=new Array(te),pe=0;pe<te;pe++)U[pe]=arguments[pe];return ae=me.call.apply(me,[this].concat(U)),ae.state={dragNodeHighlight:!1},ae.selectHandle=void 0,ae.cacheIndent=void 0,ae.onSelectorClick=function(Q){var de=ae.props.context.onNodeClick;de(Q,(0,B.F)(ae.props)),ae.isSelectable()?ae.onSelect(Q):ae.onCheck(Q)},ae.onSelectorDoubleClick=function(Q){var de=ae.props.context.onNodeDoubleClick;de(Q,(0,B.F)(ae.props))},ae.onSelect=function(Q){if(!ae.isDisabled()){var de=ae.props.context.onNodeSelect;de(Q,(0,B.F)(ae.props))}},ae.onCheck=function(Q){if(!ae.isDisabled()){var de=ae.props,ie=de.disableCheckbox,v=de.checked,_=ae.props.context.onNodeCheck;if(!(!ae.isCheckable()||ie)){var V=!v;_(Q,(0,B.F)(ae.props),V)}}},ae.onMouseEnter=function(Q){var de=ae.props.context.onNodeMouseEnter;de(Q,(0,B.F)(ae.props))},ae.onMouseLeave=function(Q){var de=ae.props.context.onNodeMouseLeave;de(Q,(0,B.F)(ae.props))},ae.onContextMenu=function(Q){var de=ae.props.context.onNodeContextMenu;de(Q,(0,B.F)(ae.props))},ae.onDragStart=function(Q){var de=ae.props.context.onNodeDragStart;Q.stopPropagation(),ae.setState({dragNodeHighlight:!0}),de(Q,(0,C.Z)(ae));try{Q.dataTransfer.setData("text/plain","")}catch(ie){}},ae.onDragEnter=function(Q){var de=ae.props.context.onNodeDragEnter;Q.preventDefault(),Q.stopPropagation(),de(Q,(0,C.Z)(ae))},ae.onDragOver=function(Q){var de=ae.props.context.onNodeDragOver;Q.preventDefault(),Q.stopPropagation(),de(Q,(0,C.Z)(ae))},ae.onDragLeave=function(Q){var de=ae.props.context.onNodeDragLeave;Q.stopPropagation(),de(Q,(0,C.Z)(ae))},ae.onDragEnd=function(Q){var de=ae.props.context.onNodeDragEnd;Q.stopPropagation(),ae.setState({dragNodeHighlight:!1}),de(Q,(0,C.Z)(ae))},ae.onDrop=function(Q){var de=ae.props.context.onNodeDrop;Q.preventDefault(),Q.stopPropagation(),ae.setState({dragNodeHighlight:!1}),de(Q,(0,C.Z)(ae))},ae.onExpand=function(Q){var de=ae.props,ie=de.loading,v=de.context.onNodeExpand;ie||v(Q,(0,B.F)(ae.props))},ae.setSelectHandle=function(Q){ae.selectHandle=Q},ae.getNodeState=function(){var Q=ae.props.expanded;return ae.isLeaf()?null:Q?ne:Y},ae.hasChildren=function(){var Q=ae.props.eventKey,de=ae.props.context.keyEntities,ie=(0,ue.Z)(de,Q)||{},v=ie.children;return!!(v||[]).length},ae.isLeaf=function(){var Q=ae.props,de=Q.isLeaf,ie=Q.loaded,v=ae.props.context.loadData,_=ae.hasChildren();return de===!1?!1:de||!v&&!_||v&&ie&&!_},ae.isDisabled=function(){var Q=ae.props.disabled,de=ae.props.context.disabled;return!!(de||Q)},ae.isCheckable=function(){var Q=ae.props.checkable,de=ae.props.context.checkable;return!de||Q===!1?!1:de},ae.syncLoadData=function(Q){var de=Q.expanded,ie=Q.loading,v=Q.loaded,_=ae.props.context,V=_.loadData,J=_.onNodeLoad;ie||V&&de&&!ae.isLeaf()&&!ae.hasChildren()&&!v&&J((0,B.F)(ae.props))},ae.isDraggable=function(){var Q=ae.props,de=Q.data,ie=Q.context.draggable;return!!(ie&&(!ie.nodeDraggable||ie.nodeDraggable(de)))},ae.renderDragHandler=function(){var Q=ae.props.context,de=Q.draggable,ie=Q.prefixCls;return de!=null&&de.icon?u.createElement("span",{className:"".concat(ie,"-draggable-icon")},de.icon):null},ae.renderSwitcherIconDom=function(Q){var de=ae.props.switcherIcon,ie=ae.props.context.switcherIcon,v=de||ie;return typeof v=="function"?v((0,Ee.Z)((0,Ee.Z)({},ae.props),{},{isLeaf:Q})):v},ae.renderSwitcher=function(){var Q=ae.props.expanded,de=ae.props.context.prefixCls;if(ae.isLeaf()){var ie=ae.renderSwitcherIconDom(!0);return ie!==!1?u.createElement("span",{className:z()("".concat(de,"-switcher"),"".concat(de,"-switcher-noop"))},ie):null}var v=z()("".concat(de,"-switcher"),"".concat(de,"-switcher_").concat(Q?ne:Y)),_=ae.renderSwitcherIconDom(!1);return _!==!1?u.createElement("span",{onClick:ae.onExpand,className:v},_):null},ae.renderCheckbox=function(){var Q=ae.props,de=Q.checked,ie=Q.halfChecked,v=Q.disableCheckbox,_=ae.props.context.prefixCls,V=ae.isDisabled(),J=ae.isCheckable();if(!J)return null;var Le=typeof J!="boolean"?J:null;return u.createElement("span",{className:z()("".concat(_,"-checkbox"),de&&"".concat(_,"-checkbox-checked"),!de&&ie&&"".concat(_,"-checkbox-indeterminate"),(V||v)&&"".concat(_,"-checkbox-disabled")),onClick:ae.onCheck},Le)},ae.renderIcon=function(){var Q=ae.props.loading,de=ae.props.context.prefixCls;return u.createElement("span",{className:z()("".concat(de,"-iconEle"),"".concat(de,"-icon__").concat(ae.getNodeState()||"docu"),Q&&"".concat(de,"-icon_loading"))})},ae.renderSelector=function(){var Q=ae.state.dragNodeHighlight,de=ae.props,ie=de.title,v=ie===void 0?b:ie,_=de.selected,V=de.icon,J=de.loading,Le=de.data,Oe=ae.props.context,Ie=Oe.prefixCls,Ze=Oe.showIcon,ut=Oe.icon,ct=Oe.loadData,it=Oe.titleRender,Nt=ae.isDisabled(),qt="".concat(Ie,"-node-content-wrapper"),nn;if(Ze){var Dt=V||ut;nn=Dt?u.createElement("span",{className:z()("".concat(Ie,"-iconEle"),"".concat(Ie,"-icon__customize"))},typeof Dt=="function"?Dt(ae.props):Dt):ae.renderIcon()}else ct&&J&&(nn=ae.renderIcon());var $t;typeof v=="function"?$t=v(Le):it?$t=it(Le):$t=v;var ot=u.createElement("span",{className:"".concat(Ie,"-title")},$t);return u.createElement("span",{ref:ae.setSelectHandle,title:typeof v=="string"?v:"",className:z()("".concat(qt),"".concat(qt,"-").concat(ae.getNodeState()||"normal"),!Nt&&(_||Q)&&"".concat(Ie,"-node-selected")),onMouseEnter:ae.onMouseEnter,onMouseLeave:ae.onMouseLeave,onContextMenu:ae.onContextMenu,onClick:ae.onSelectorClick,onDoubleClick:ae.onSelectorDoubleClick},nn,ot,ae.renderDropIndicator())},ae.renderDropIndicator=function(){var Q=ae.props,de=Q.disabled,ie=Q.eventKey,v=ae.props.context,_=v.draggable,V=v.dropLevelOffset,J=v.dropPosition,Le=v.prefixCls,Oe=v.indent,Ie=v.dropIndicatorRender,Ze=v.dragOverNodeKey,ut=v.direction,ct=!!_,it=!de&&ct&&Ze===ie,Nt=Oe!=null?Oe:ae.cacheIndent;return ae.cacheIndent=Oe,it?Ie({dropPosition:J,dropLevelOffset:V,indent:Nt,prefixCls:Le,direction:ut}):null},ae}return(0,q.Z)(fe,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var te=this.props.selectable,U=this.props.context.selectable;return typeof te=="boolean"?te:U}},{key:"render",value:function(){var te,U=this.props,pe=U.eventKey,Q=U.className,de=U.style,ie=U.dragOver,v=U.dragOverGapTop,_=U.dragOverGapBottom,V=U.isLeaf,J=U.isStart,Le=U.isEnd,Oe=U.expanded,Ie=U.selected,Ze=U.checked,ut=U.halfChecked,ct=U.loading,it=U.domRef,Nt=U.active,qt=U.data,nn=U.onMouseMove,Dt=U.selectable,$t=(0,ee.Z)(U,W),ot=this.props.context,se=ot.prefixCls,be=ot.filterTreeNode,H=ot.keyEntities,O=ot.dropContainerKey,xe=ot.dropTargetKey,k=ot.draggingNodeKey,E=this.isDisabled(),T=(0,S.Z)($t,{aria:!0,data:!0}),X=(0,ue.Z)(H,pe)||{},G=X.level,K=Le[Le.length-1],we=this.isDraggable(),Ke=!E&&we,ke=k===pe,Te=Dt!==void 0?{"aria-selected":!!Dt}:void 0;return u.createElement("div",(0,y.Z)({ref:it,className:z()(Q,"".concat(se,"-treenode"),(te={},(0,L.Z)(te,"".concat(se,"-treenode-disabled"),E),(0,L.Z)(te,"".concat(se,"-treenode-switcher-").concat(Oe?"open":"close"),!V),(0,L.Z)(te,"".concat(se,"-treenode-checkbox-checked"),Ze),(0,L.Z)(te,"".concat(se,"-treenode-checkbox-indeterminate"),ut),(0,L.Z)(te,"".concat(se,"-treenode-selected"),Ie),(0,L.Z)(te,"".concat(se,"-treenode-loading"),ct),(0,L.Z)(te,"".concat(se,"-treenode-active"),Nt),(0,L.Z)(te,"".concat(se,"-treenode-leaf-last"),K),(0,L.Z)(te,"".concat(se,"-treenode-draggable"),we),(0,L.Z)(te,"dragging",ke),(0,L.Z)(te,"drop-target",xe===pe),(0,L.Z)(te,"drop-container",O===pe),(0,L.Z)(te,"drag-over",!E&&ie),(0,L.Z)(te,"drag-over-gap-top",!E&&v),(0,L.Z)(te,"drag-over-gap-bottom",!E&&_),(0,L.Z)(te,"filter-node",be&&be((0,B.F)(this.props))),te)),style:de,draggable:Ke,"aria-grabbed":ke,onDragStart:Ke?this.onDragStart:void 0,onDragEnter:we?this.onDragEnter:void 0,onDragOver:we?this.onDragOver:void 0,onDragLeave:we?this.onDragLeave:void 0,onDrop:we?this.onDrop:void 0,onDragEnd:we?this.onDragEnd:void 0,onMouseMove:nn},Te,T),u.createElement(P,{prefixCls:se,level:G,isStart:J,isEnd:Le}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),fe}(u.Component),Z=function(me){return u.createElement(x.k.Consumer,null,function(fe){return u.createElement(R,(0,y.Z)({},me,{context:fe}))})};Z.displayName="TreeNode",Z.isTreeNode=1;var j=Z},39378:function(en,et,f){"use strict";f.d(et,{k:function(){return L}});var y=f(59301),L=y.createContext(null)},99581:function(en,et,f){"use strict";f.d(et,{O:function(){return j.Z},Z:function(){return ot}});var y=f(5891),L=f(80962),ee=f(80665),Ee=f(57259),$=f(26390),q=f(79545),C=f(68550),Se=f(21882),a=f(17928),I=f(7711),z=f(92310),S=f.n(z),u=f(85108),x=f(36994),m=f(51395),P=f(59301),ue=f(39378);function B(se){var be=se.dropPosition,H=se.dropLevelOffset,O=se.indent,xe={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(be){case-1:xe.top=0,xe.left=-H*O;break;case 1:xe.bottom=0,xe.left=-H*O;break;case 0:xe.bottom=0,xe.left=O;break}return P.createElement("div",{style:xe})}function W(se){if(se==null)throw new TypeError("Cannot destructure "+se)}var ne=f(29043),Y=f(19149),b=f(28800),R=f(21881),Z=f(43469),j=f(39417);function he(se,be){var H=P.useState(!1),O=(0,ne.Z)(H,2),xe=O[0],k=O[1];P.useLayoutEffect(function(){if(xe)return se(),function(){be()}},[xe]),P.useLayoutEffect(function(){return k(!0),function(){k(!1)}},[])}var me=f(71430),fe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],ae=function(be,H){var O=be.className,xe=be.style,k=be.motion,E=be.motionNodes,T=be.motionType,X=be.onMotionStart,G=be.onMotionEnd,K=be.active,we=be.treeNodeRequiredProps,Ke=(0,Y.Z)(be,fe),ke=P.useState(!0),Te=(0,ne.Z)(ke,2),Ye=Te[0],tt=Te[1],We=P.useContext(ue.k),yt=We.prefixCls,St=E&&T!=="hide";(0,b.Z)(function(){E&&St!==Ye&&tt(St)},[E]);var pt=function(){E&&X()},Lt=P.useRef(!1),_t=function(){E&&!Lt.current&&(Lt.current=!0,G())};he(pt,_t);var w=function(bt){St===bt&&_t()};return E?P.createElement(Z.default,(0,y.Z)({ref:H,visible:Ye},k,{motionAppear:T==="show",onVisibleChanged:w}),function(D,bt){var ce=D.className,Me=D.style;return P.createElement("div",{ref:bt,className:S()("".concat(yt,"-treenode-motion"),ce),style:Me},E.map(function(pn){var He=(0,y.Z)({},(W(pn.data),pn.data)),rt=pn.title,Je=pn.key,Ae=pn.isStart,De=pn.isEnd;delete He.children;var ze=(0,me.H8)(Je,we);return P.createElement(j.Z,(0,y.Z)({},He,ze,{title:rt,active:K,data:pn.data,key:Je,isStart:Ae,isEnd:De}))}))}):P.createElement(j.Z,(0,y.Z)({domRef:H,className:O,style:xe},Ke,{active:K}))};ae.displayName="MotionTreeNode";var te=P.forwardRef(ae),U=te;function pe(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],H=se.length,O=be.length;if(Math.abs(H-O)!==1)return{add:!1,key:null};function xe(k,E){var T=new Map;k.forEach(function(G){T.set(G,!0)});var X=E.filter(function(G){return!T.has(G)});return X.length===1?X[0]:null}return H<O?{add:!0,key:xe(se,be)}:{add:!1,key:xe(be,se)}}function Q(se,be,H){var O=se.findIndex(function(T){return T.key===H}),xe=se[O+1],k=be.findIndex(function(T){return T.key===H});if(xe){var E=be.findIndex(function(T){return T.key===xe.key});return be.slice(k+1,E)}return be.slice(k+1)}var de=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],ie={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},v=function(){},_="RC_TREE_MOTION_".concat(Math.random()),V={key:_},J={key:_,level:0,index:0,pos:"0",node:V,nodes:[V]},Le={parent:null,children:[],pos:J.pos,data:V,title:null,key:_,isStart:[],isEnd:[]};function Oe(se,be,H,O){return be===!1||!H?se:se.slice(0,Math.ceil(H/O)+1)}function Ie(se){var be=se.key,H=se.pos;return(0,me.km)(be,H)}function Ze(se){for(var be=String(se.data.key),H=se;H.parent;)H=H.parent,be="".concat(H.data.key," > ").concat(be);return be}var ut=P.forwardRef(function(se,be){var H=se.prefixCls,O=se.data,xe=se.selectable,k=se.checkable,E=se.expandedKeys,T=se.selectedKeys,X=se.checkedKeys,G=se.loadedKeys,K=se.loadingKeys,we=se.halfCheckedKeys,Ke=se.keyEntities,ke=se.disabled,Te=se.dragging,Ye=se.dragOverNodeKey,tt=se.dropPosition,We=se.motion,yt=se.height,St=se.itemHeight,pt=se.virtual,Lt=se.focusable,_t=se.activeItem,w=se.focused,D=se.tabIndex,bt=se.onKeyDown,ce=se.onFocus,Me=se.onBlur,pn=se.onActiveChange,He=se.onListChangeStart,rt=se.onListChangeEnd,Je=(0,Y.Z)(se,de),Ae=P.useRef(null),De=P.useRef(null);P.useImperativeHandle(be,function(){return{scrollTo:function(It){Ae.current.scrollTo(It)},getIndentWidth:function(){return De.current.offsetWidth}}});var ze=P.useState(E),Xe=(0,ne.Z)(ze,2),ge=Xe[0],an=Xe[1],$e=P.useState(O),bn=(0,ne.Z)($e,2),Tn=bn[0],Wt=bn[1],Yt=P.useState(O),Rt=(0,ne.Z)(Yt,2),Ot=Rt[0],Ge=Rt[1],xt=P.useState([]),At=(0,ne.Z)(xt,2),Ue=At[0],Ce=At[1],mt=P.useState(null),lt=(0,ne.Z)(mt,2),Pt=lt[0],Ht=lt[1],tn=P.useRef(O);tn.current=O;function Ut(){var Mt=tn.current;Wt(Mt),Ge(Mt),Ce([]),Ht(null),rt()}(0,b.Z)(function(){an(E);var Mt=pe(ge,E);if(Mt.key!==null)if(Mt.add){var It=Tn.findIndex(function(Bn){var rn=Bn.key;return rn===Mt.key}),un=Oe(Q(Tn,O,Mt.key),pt,yt,St),ln=Tn.slice();ln.splice(It+1,0,Le),Ge(ln),Ce(un),Ht("show")}else{var hn=O.findIndex(function(Bn){var rn=Bn.key;return rn===Mt.key}),_n=Oe(Q(O,Tn,Mt.key),pt,yt,St),ir=O.slice();ir.splice(hn+1,0,Le),Ge(ir),Ce(_n),Ht("hide")}else Tn!==O&&(Wt(O),Ge(O))},[E,O]),P.useEffect(function(){Te||Ut()},[Te]);var sn=We?Ot:O,dn={expandedKeys:E,selectedKeys:T,loadedKeys:G,loadingKeys:K,checkedKeys:X,halfCheckedKeys:we,dragOverNodeKey:Ye,dropPosition:tt,keyEntities:Ke};return P.createElement(P.Fragment,null,w&&_t&&P.createElement("span",{style:ie,"aria-live":"assertive"},Ze(_t)),P.createElement("div",null,P.createElement("input",{style:ie,disabled:Lt===!1||ke,tabIndex:Lt!==!1?D:null,onKeyDown:bt,onFocus:ce,onBlur:Me,value:"",onChange:v,"aria-label":"for screen reader"})),P.createElement("div",{className:"".concat(H,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},P.createElement("div",{className:"".concat(H,"-indent")},P.createElement("div",{ref:De,className:"".concat(H,"-indent-unit")}))),P.createElement(R.Z,(0,y.Z)({},Je,{data:sn,itemKey:Ie,height:yt,fullHeight:!1,virtual:pt,itemHeight:St,prefixCls:"".concat(H,"-list"),ref:Ae,onVisibleChange:function(It,un){var ln=new Set(It),hn=un.filter(function(_n){return!ln.has(_n)});hn.some(function(_n){return Ie(_n)===_})&&Ut()}}),function(Mt){var It=Mt.pos,un=(0,y.Z)({},(W(Mt.data),Mt.data)),ln=Mt.title,hn=Mt.key,_n=Mt.isStart,ir=Mt.isEnd,Bn=(0,me.km)(hn,It);delete un.key,delete un.children;var rn=(0,me.H8)(Bn,dn);return P.createElement(U,(0,y.Z)({},un,rn,{title:ln,active:!!_t&&hn===_t.key,pos:It,data:Mt.data,isStart:_n,isEnd:ir,motion:We,motionNodes:hn===_?Ue:null,motionType:Pt,onMotionStart:He,onMotionEnd:Ut,treeNodeRequiredProps:dn,onMouseMove:function(){pn(null)}}))}))});ut.displayName="NodeList";var ct=ut,it=f(35654),Nt=f(90782),qt=f(67841),nn=10,Dt=function(se){(0,a.Z)(H,se);var be=(0,I.Z)(H);function H(){var O;(0,q.Z)(this,H);for(var xe=arguments.length,k=new Array(xe),E=0;E<xe;E++)k[E]=arguments[E];return O=be.call.apply(be,[this].concat(k)),O.destroyed=!1,O.delayedDragEnterLogic=void 0,O.loadingRetryTimes={},O.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,me.w$)()},O.dragStartMousePosition=null,O.dragNode=void 0,O.currentMouseOverDroppableNodeKey=null,O.listRef=P.createRef(),O.onNodeDragStart=function(T,X){var G=O.state,K=G.expandedKeys,we=G.keyEntities,Ke=O.props.onDragStart,ke=X.props.eventKey;O.dragNode=X,O.dragStartMousePosition={x:T.clientX,y:T.clientY};var Te=(0,it._5)(K,ke);O.setState({draggingNodeKey:ke,dragChildrenKeys:(0,it.wA)(ke,we),indent:O.listRef.current.getIndentWidth()}),O.setExpandedKeys(Te),window.addEventListener("dragend",O.onWindowDragEnd),Ke==null||Ke({event:T,node:(0,me.F)(X.props)})},O.onNodeDragEnter=function(T,X){var G=O.state,K=G.expandedKeys,we=G.keyEntities,Ke=G.dragChildrenKeys,ke=G.flattenNodes,Te=G.indent,Ye=O.props,tt=Ye.onDragEnter,We=Ye.onExpand,yt=Ye.allowDrop,St=Ye.direction,pt=X.props,Lt=pt.pos,_t=pt.eventKey,w=(0,Se.Z)(O),D=w.dragNode;if(O.currentMouseOverDroppableNodeKey!==_t&&(O.currentMouseOverDroppableNodeKey=_t),!D){O.resetDragState();return}var bt=(0,it.OM)(T,D,X,Te,O.dragStartMousePosition,yt,ke,we,K,St),ce=bt.dropPosition,Me=bt.dropLevelOffset,pn=bt.dropTargetKey,He=bt.dropContainerKey,rt=bt.dropTargetPos,Je=bt.dropAllowed,Ae=bt.dragOverNodeKey;if(Ke.indexOf(pn)!==-1||!Je){O.resetDragState();return}if(O.delayedDragEnterLogic||(O.delayedDragEnterLogic={}),Object.keys(O.delayedDragEnterLogic).forEach(function(De){clearTimeout(O.delayedDragEnterLogic[De])}),D.props.eventKey!==X.props.eventKey&&(T.persist(),O.delayedDragEnterLogic[Lt]=window.setTimeout(function(){if(O.state.draggingNodeKey!==null){var De=(0,$.Z)(K),ze=(0,qt.Z)(we,X.props.eventKey);ze&&(ze.children||[]).length&&(De=(0,it.L0)(K,X.props.eventKey)),"expandedKeys"in O.props||O.setExpandedKeys(De),We==null||We(De,{node:(0,me.F)(X.props),expanded:!0,nativeEvent:T.nativeEvent})}},800)),D.props.eventKey===pn&&Me===0){O.resetDragState();return}O.setState({dragOverNodeKey:Ae,dropPosition:ce,dropLevelOffset:Me,dropTargetKey:pn,dropContainerKey:He,dropTargetPos:rt,dropAllowed:Je}),tt==null||tt({event:T,node:(0,me.F)(X.props),expandedKeys:K})},O.onNodeDragOver=function(T,X){var G=O.state,K=G.dragChildrenKeys,we=G.flattenNodes,Ke=G.keyEntities,ke=G.expandedKeys,Te=G.indent,Ye=O.props,tt=Ye.onDragOver,We=Ye.allowDrop,yt=Ye.direction,St=(0,Se.Z)(O),pt=St.dragNode;if(pt){var Lt=(0,it.OM)(T,pt,X,Te,O.dragStartMousePosition,We,we,Ke,ke,yt),_t=Lt.dropPosition,w=Lt.dropLevelOffset,D=Lt.dropTargetKey,bt=Lt.dropContainerKey,ce=Lt.dropAllowed,Me=Lt.dropTargetPos,pn=Lt.dragOverNodeKey;K.indexOf(D)!==-1||!ce||(pt.props.eventKey===D&&w===0?O.state.dropPosition===null&&O.state.dropLevelOffset===null&&O.state.dropTargetKey===null&&O.state.dropContainerKey===null&&O.state.dropTargetPos===null&&O.state.dropAllowed===!1&&O.state.dragOverNodeKey===null||O.resetDragState():_t===O.state.dropPosition&&w===O.state.dropLevelOffset&&D===O.state.dropTargetKey&&bt===O.state.dropContainerKey&&Me===O.state.dropTargetPos&&ce===O.state.dropAllowed&&pn===O.state.dragOverNodeKey||O.setState({dropPosition:_t,dropLevelOffset:w,dropTargetKey:D,dropContainerKey:bt,dropTargetPos:Me,dropAllowed:ce,dragOverNodeKey:pn}),tt==null||tt({event:T,node:(0,me.F)(X.props)}))}},O.onNodeDragLeave=function(T,X){O.currentMouseOverDroppableNodeKey===X.props.eventKey&&!T.currentTarget.contains(T.relatedTarget)&&(O.resetDragState(),O.currentMouseOverDroppableNodeKey=null);var G=O.props.onDragLeave;G==null||G({event:T,node:(0,me.F)(X.props)})},O.onWindowDragEnd=function(T){O.onNodeDragEnd(T,null,!0),window.removeEventListener("dragend",O.onWindowDragEnd)},O.onNodeDragEnd=function(T,X){var G=O.props.onDragEnd;O.setState({dragOverNodeKey:null}),O.cleanDragState(),G==null||G({event:T,node:(0,me.F)(X.props)}),O.dragNode=null,window.removeEventListener("dragend",O.onWindowDragEnd)},O.onNodeDrop=function(T,X){var G,K=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,we=O.state,Ke=we.dragChildrenKeys,ke=we.dropPosition,Te=we.dropTargetKey,Ye=we.dropTargetPos,tt=we.dropAllowed;if(tt){var We=O.props.onDrop;if(O.setState({dragOverNodeKey:null}),O.cleanDragState(),Te!==null){var yt=(0,Ee.Z)((0,Ee.Z)({},(0,me.H8)(Te,O.getTreeNodeRequiredProps())),{},{active:((G=O.getActiveItem())===null||G===void 0?void 0:G.key)===Te,data:(0,qt.Z)(O.state.keyEntities,Te).node}),St=Ke.indexOf(Te)!==-1;(0,m.ZP)(!St,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var pt=(0,it.yx)(Ye),Lt={event:T,node:(0,me.F)(yt),dragNode:O.dragNode?(0,me.F)(O.dragNode.props):null,dragNodesKeys:[O.dragNode.props.eventKey].concat(Ke),dropToGap:ke!==0,dropPosition:ke+Number(pt[pt.length-1])};K||We==null||We(Lt),O.dragNode=null}}},O.cleanDragState=function(){var T=O.state.draggingNodeKey;T!==null&&O.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),O.dragStartMousePosition=null,O.currentMouseOverDroppableNodeKey=null},O.triggerExpandActionExpand=function(T,X){var G=O.state,K=G.expandedKeys,we=G.flattenNodes,Ke=X.expanded,ke=X.key,Te=X.isLeaf;if(!(Te||T.shiftKey||T.metaKey||T.ctrlKey)){var Ye=we.filter(function(We){return We.key===ke})[0],tt=(0,me.F)((0,Ee.Z)((0,Ee.Z)({},(0,me.H8)(ke,O.getTreeNodeRequiredProps())),{},{data:Ye.data}));O.setExpandedKeys(Ke?(0,it._5)(K,ke):(0,it.L0)(K,ke)),O.onNodeExpand(T,tt)}},O.onNodeClick=function(T,X){var G=O.props,K=G.onClick,we=G.expandAction;we==="click"&&O.triggerExpandActionExpand(T,X),K==null||K(T,X)},O.onNodeDoubleClick=function(T,X){var G=O.props,K=G.onDoubleClick,we=G.expandAction;we==="doubleClick"&&O.triggerExpandActionExpand(T,X),K==null||K(T,X)},O.onNodeSelect=function(T,X){var G=O.state.selectedKeys,K=O.state,we=K.keyEntities,Ke=K.fieldNames,ke=O.props,Te=ke.onSelect,Ye=ke.multiple,tt=X.selected,We=X[Ke.key],yt=!tt;yt?Ye?G=(0,it.L0)(G,We):G=[We]:G=(0,it._5)(G,We);var St=G.map(function(pt){var Lt=(0,qt.Z)(we,pt);return Lt?Lt.node:null}).filter(function(pt){return pt});O.setUncontrolledState({selectedKeys:G}),Te==null||Te(G,{event:"select",selected:yt,node:X,selectedNodes:St,nativeEvent:T.nativeEvent})},O.onNodeCheck=function(T,X,G){var K=O.state,we=K.keyEntities,Ke=K.checkedKeys,ke=K.halfCheckedKeys,Te=O.props,Ye=Te.checkStrictly,tt=Te.onCheck,We=X.key,yt,St={event:"check",node:X,checked:G,nativeEvent:T.nativeEvent};if(Ye){var pt=G?(0,it.L0)(Ke,We):(0,it._5)(Ke,We),Lt=(0,it._5)(ke,We);yt={checked:pt,halfChecked:Lt},St.checkedNodes=pt.map(function(Me){return(0,qt.Z)(we,Me)}).filter(function(Me){return Me}).map(function(Me){return Me.node}),O.setUncontrolledState({checkedKeys:pt})}else{var _t=(0,Nt.S)([].concat((0,$.Z)(Ke),[We]),!0,we),w=_t.checkedKeys,D=_t.halfCheckedKeys;if(!G){var bt=new Set(w);bt.delete(We);var ce=(0,Nt.S)(Array.from(bt),{checked:!1,halfCheckedKeys:D},we);w=ce.checkedKeys,D=ce.halfCheckedKeys}yt=w,St.checkedNodes=[],St.checkedNodesPositions=[],St.halfCheckedKeys=D,w.forEach(function(Me){var pn=(0,qt.Z)(we,Me);if(pn){var He=pn.node,rt=pn.pos;St.checkedNodes.push(He),St.checkedNodesPositions.push({node:He,pos:rt})}}),O.setUncontrolledState({checkedKeys:w},!1,{halfCheckedKeys:D})}tt==null||tt(yt,St)},O.onNodeLoad=function(T){var X=T.key,G=new Promise(function(K,we){O.setState(function(Ke){var ke=Ke.loadedKeys,Te=ke===void 0?[]:ke,Ye=Ke.loadingKeys,tt=Ye===void 0?[]:Ye,We=O.props,yt=We.loadData,St=We.onLoad;if(!yt||Te.indexOf(X)!==-1||tt.indexOf(X)!==-1)return null;var pt=yt(T);return pt.then(function(){var Lt=O.state.loadedKeys,_t=(0,it.L0)(Lt,X);St==null||St(_t,{event:"load",node:T}),O.setUncontrolledState({loadedKeys:_t}),O.setState(function(w){return{loadingKeys:(0,it._5)(w.loadingKeys,X)}}),K()}).catch(function(Lt){if(O.setState(function(w){return{loadingKeys:(0,it._5)(w.loadingKeys,X)}}),O.loadingRetryTimes[X]=(O.loadingRetryTimes[X]||0)+1,O.loadingRetryTimes[X]>=nn){var _t=O.state.loadedKeys;(0,m.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),O.setUncontrolledState({loadedKeys:(0,it.L0)(_t,X)}),K()}we(Lt)}),{loadingKeys:(0,it.L0)(tt,X)}})});return G.catch(function(){}),G},O.onNodeMouseEnter=function(T,X){var G=O.props.onMouseEnter;G==null||G({event:T,node:X})},O.onNodeMouseLeave=function(T,X){var G=O.props.onMouseLeave;G==null||G({event:T,node:X})},O.onNodeContextMenu=function(T,X){var G=O.props.onRightClick;G&&(T.preventDefault(),G({event:T,node:X}))},O.onFocus=function(){var T=O.props.onFocus;O.setState({focused:!0});for(var X=arguments.length,G=new Array(X),K=0;K<X;K++)G[K]=arguments[K];T==null||T.apply(void 0,G)},O.onBlur=function(){var T=O.props.onBlur;O.setState({focused:!1}),O.onActiveChange(null);for(var X=arguments.length,G=new Array(X),K=0;K<X;K++)G[K]=arguments[K];T==null||T.apply(void 0,G)},O.getTreeNodeRequiredProps=function(){var T=O.state,X=T.expandedKeys,G=T.selectedKeys,K=T.loadedKeys,we=T.loadingKeys,Ke=T.checkedKeys,ke=T.halfCheckedKeys,Te=T.dragOverNodeKey,Ye=T.dropPosition,tt=T.keyEntities;return{expandedKeys:X||[],selectedKeys:G||[],loadedKeys:K||[],loadingKeys:we||[],checkedKeys:Ke||[],halfCheckedKeys:ke||[],dragOverNodeKey:Te,dropPosition:Ye,keyEntities:tt}},O.setExpandedKeys=function(T){var X=O.state,G=X.treeData,K=X.fieldNames,we=(0,me.oH)(G,T,K);O.setUncontrolledState({expandedKeys:T,flattenNodes:we},!0)},O.onNodeExpand=function(T,X){var G=O.state.expandedKeys,K=O.state,we=K.listChanging,Ke=K.fieldNames,ke=O.props,Te=ke.onExpand,Ye=ke.loadData,tt=X.expanded,We=X[Ke.key];if(!we){var yt=G.indexOf(We),St=!tt;if((0,m.ZP)(tt&&yt!==-1||!tt&&yt===-1,"Expand state not sync with index check"),St?G=(0,it.L0)(G,We):G=(0,it._5)(G,We),O.setExpandedKeys(G),Te==null||Te(G,{node:X,expanded:St,nativeEvent:T.nativeEvent}),St&&Ye){var pt=O.onNodeLoad(X);pt&&pt.then(function(){var Lt=(0,me.oH)(O.state.treeData,G,Ke);O.setUncontrolledState({flattenNodes:Lt})}).catch(function(){var Lt=O.state.expandedKeys,_t=(0,it._5)(Lt,We);O.setExpandedKeys(_t)})}}},O.onListChangeStart=function(){O.setUncontrolledState({listChanging:!0})},O.onListChangeEnd=function(){setTimeout(function(){O.setUncontrolledState({listChanging:!1})})},O.onActiveChange=function(T){var X=O.state.activeKey,G=O.props.onActiveChange;X!==T&&(O.setState({activeKey:T}),T!==null&&O.scrollTo({key:T}),G==null||G(T))},O.getActiveItem=function(){var T=O.state,X=T.activeKey,G=T.flattenNodes;return X===null?null:G.find(function(K){var we=K.key;return we===X})||null},O.offsetActiveKey=function(T){var X=O.state,G=X.flattenNodes,K=X.activeKey,we=G.findIndex(function(Te){var Ye=Te.key;return Ye===K});we===-1&&T<0&&(we=G.length),we=(we+T+G.length)%G.length;var Ke=G[we];if(Ke){var ke=Ke.key;O.onActiveChange(ke)}else O.onActiveChange(null)},O.onKeyDown=function(T){var X=O.state,G=X.activeKey,K=X.expandedKeys,we=X.checkedKeys,Ke=X.fieldNames,ke=O.props,Te=ke.onKeyDown,Ye=ke.checkable,tt=ke.selectable;switch(T.which){case u.Z.UP:{O.offsetActiveKey(-1),T.preventDefault();break}case u.Z.DOWN:{O.offsetActiveKey(1),T.preventDefault();break}}var We=O.getActiveItem();if(We&&We.data){var yt=O.getTreeNodeRequiredProps(),St=We.data.isLeaf===!1||!!(We.data[Ke.children]||[]).length,pt=(0,me.F)((0,Ee.Z)((0,Ee.Z)({},(0,me.H8)(G,yt)),{},{data:We.data,active:!0}));switch(T.which){case u.Z.LEFT:{St&&K.includes(G)?O.onNodeExpand({},pt):We.parent&&O.onActiveChange(We.parent.key),T.preventDefault();break}case u.Z.RIGHT:{St&&!K.includes(G)?O.onNodeExpand({},pt):We.children&&We.children.length&&O.onActiveChange(We.children[0].key),T.preventDefault();break}case u.Z.ENTER:case u.Z.SPACE:{Ye&&!pt.disabled&&pt.checkable!==!1&&!pt.disableCheckbox?O.onNodeCheck({},pt,!we.includes(G)):!Ye&&tt&&!pt.disabled&&pt.selectable!==!1&&O.onNodeSelect({},pt);break}}}Te==null||Te(T)},O.setUncontrolledState=function(T){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!O.destroyed){var K=!1,we=!0,Ke={};Object.keys(T).forEach(function(ke){if(ke in O.props){we=!1;return}K=!0,Ke[ke]=T[ke]}),K&&(!X||we)&&O.setState((0,Ee.Z)((0,Ee.Z)({},Ke),G))}},O.scrollTo=function(T){O.listRef.current.scrollTo(T)},O}return(0,C.Z)(H,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var xe=this.props.activeKey;xe!==void 0&&xe!==this.state.activeKey&&(this.setState({activeKey:xe}),xe!==null&&this.scrollTo({key:xe}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var xe,k=this.state,E=k.focused,T=k.flattenNodes,X=k.keyEntities,G=k.draggingNodeKey,K=k.activeKey,we=k.dropLevelOffset,Ke=k.dropContainerKey,ke=k.dropTargetKey,Te=k.dropPosition,Ye=k.dragOverNodeKey,tt=k.indent,We=this.props,yt=We.prefixCls,St=We.className,pt=We.style,Lt=We.showLine,_t=We.focusable,w=We.tabIndex,D=w===void 0?0:w,bt=We.selectable,ce=We.showIcon,Me=We.icon,pn=We.switcherIcon,He=We.draggable,rt=We.checkable,Je=We.checkStrictly,Ae=We.disabled,De=We.motion,ze=We.loadData,Xe=We.filterTreeNode,ge=We.height,an=We.itemHeight,$e=We.virtual,bn=We.titleRender,Tn=We.dropIndicatorRender,Wt=We.onContextMenu,Yt=We.onScroll,Rt=We.direction,Ot=We.rootClassName,Ge=We.rootStyle,xt=(0,x.Z)(this.props,{aria:!0,data:!0}),At;return He&&((0,ee.Z)(He)==="object"?At=He:typeof He=="function"?At={nodeDraggable:He}:At={}),P.createElement(ue.k.Provider,{value:{prefixCls:yt,selectable:bt,showIcon:ce,icon:Me,switcherIcon:pn,draggable:At,draggingNodeKey:G,checkable:rt,checkStrictly:Je,disabled:Ae,keyEntities:X,dropLevelOffset:we,dropContainerKey:Ke,dropTargetKey:ke,dropPosition:Te,dragOverNodeKey:Ye,indent:tt,direction:Rt,dropIndicatorRender:Tn,loadData:ze,filterTreeNode:Xe,titleRender:bn,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},P.createElement("div",{role:"tree",className:S()(yt,St,Ot,(xe={},(0,L.Z)(xe,"".concat(yt,"-show-line"),Lt),(0,L.Z)(xe,"".concat(yt,"-focused"),E),(0,L.Z)(xe,"".concat(yt,"-active-focused"),K!==null),xe)),style:Ge},P.createElement(ct,(0,y.Z)({ref:this.listRef,prefixCls:yt,style:pt,data:T,disabled:Ae,selectable:bt,checkable:!!rt,motion:De,dragging:G!==null,height:ge,itemHeight:an,virtual:$e,focusable:_t,focused:E,tabIndex:D,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Wt,onScroll:Yt},this.getTreeNodeRequiredProps(),xt))))}}],[{key:"getDerivedStateFromProps",value:function(xe,k){var E=k.prevProps,T={prevProps:xe};function X(_t){return!E&&_t in xe||E&&E[_t]!==xe[_t]}var G,K=k.fieldNames;if(X("fieldNames")&&(K=(0,me.w$)(xe.fieldNames),T.fieldNames=K),X("treeData")?G=xe.treeData:X("children")&&((0,m.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),G=(0,me.zn)(xe.children)),G){T.treeData=G;var we=(0,me.I8)(G,{fieldNames:K});T.keyEntities=(0,Ee.Z)((0,L.Z)({},_,J),we.keyEntities)}var Ke=T.keyEntities||k.keyEntities;if(X("expandedKeys")||E&&X("autoExpandParent"))T.expandedKeys=xe.autoExpandParent||!E&&xe.defaultExpandParent?(0,it.r7)(xe.expandedKeys,Ke):xe.expandedKeys;else if(!E&&xe.defaultExpandAll){var ke=(0,Ee.Z)({},Ke);delete ke[_],T.expandedKeys=Object.keys(ke).map(function(_t){return ke[_t].key})}else!E&&xe.defaultExpandedKeys&&(T.expandedKeys=xe.autoExpandParent||xe.defaultExpandParent?(0,it.r7)(xe.defaultExpandedKeys,Ke):xe.defaultExpandedKeys);if(T.expandedKeys||delete T.expandedKeys,G||T.expandedKeys){var Te=(0,me.oH)(G||k.treeData,T.expandedKeys||k.expandedKeys,K);T.flattenNodes=Te}if(xe.selectable&&(X("selectedKeys")?T.selectedKeys=(0,it.BT)(xe.selectedKeys,xe):!E&&xe.defaultSelectedKeys&&(T.selectedKeys=(0,it.BT)(xe.defaultSelectedKeys,xe))),xe.checkable){var Ye;if(X("checkedKeys")?Ye=(0,it.E6)(xe.checkedKeys)||{}:!E&&xe.defaultCheckedKeys?Ye=(0,it.E6)(xe.defaultCheckedKeys)||{}:G&&(Ye=(0,it.E6)(xe.checkedKeys)||{checkedKeys:k.checkedKeys,halfCheckedKeys:k.halfCheckedKeys}),Ye){var tt=Ye,We=tt.checkedKeys,yt=We===void 0?[]:We,St=tt.halfCheckedKeys,pt=St===void 0?[]:St;if(!xe.checkStrictly){var Lt=(0,Nt.S)(yt,!0,Ke);yt=Lt.checkedKeys,pt=Lt.halfCheckedKeys}T.checkedKeys=yt,T.halfCheckedKeys=pt}}return X("loadedKeys")&&(T.loadedKeys=xe.loadedKeys),T}}]),H}(P.Component);Dt.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:B,allowDrop:function(){return!0},expandAction:!1},Dt.TreeNode=j.Z;var $t=Dt,ot=$t},35654:function(en,et,f){"use strict";f.d(et,{BT:function(){return P},E6:function(){return W},L0:function(){return I},OM:function(){return m},_5:function(){return a},r7:function(){return ne},wA:function(){return S},yx:function(){return z}});var y=f(26390),L=f(80665),ee=f(51395),Ee=f(59301),$=f(39417),q=f(67841),C=f(71430),Se=null;function a(Y,b){if(!Y)return[];var R=Y.slice(),Z=R.indexOf(b);return Z>=0&&R.splice(Z,1),R}function I(Y,b){var R=(Y||[]).slice();return R.indexOf(b)===-1&&R.push(b),R}function z(Y){return Y.split("-")}function S(Y,b){var R=[],Z=(0,q.Z)(b,Y);function j(){var he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];he.forEach(function(me){var fe=me.key,ae=me.children;R.push(fe),j(ae)})}return j(Z.children),R}function u(Y){if(Y.parent){var b=z(Y.pos);return Number(b[b.length-1])===Y.parent.children.length-1}return!1}function x(Y){var b=z(Y.pos);return Number(b[b.length-1])===0}function m(Y,b,R,Z,j,he,me,fe,ae,te){var U,pe=Y.clientX,Q=Y.clientY,de=Y.target.getBoundingClientRect(),ie=de.top,v=de.height,_=(te==="rtl"?-1:1)*(((j==null?void 0:j.x)||0)-pe),V=(_-12)/Z,J=(0,q.Z)(fe,R.props.eventKey);if(Q<ie+v/2){var Le=me.findIndex(function(ot){return ot.key===J.key}),Oe=Le<=0?0:Le-1,Ie=me[Oe].key;J=(0,q.Z)(fe,Ie)}var Ze=J.key,ut=J,ct=J.key,it=0,Nt=0;if(!ae.includes(Ze))for(var qt=0;qt<V&&u(J);qt+=1)J=J.parent,Nt+=1;var nn=b.props.data,Dt=J.node,$t=!0;return x(J)&&J.level===0&&Q<ie+v/2&&he({dragNode:nn,dropNode:Dt,dropPosition:-1})&&J.key===R.props.eventKey?it=-1:(ut.children||[]).length&&ae.includes(ct)?he({dragNode:nn,dropNode:Dt,dropPosition:0})?it=0:$t=!1:Nt===0?V>-1.5?he({dragNode:nn,dropNode:Dt,dropPosition:1})?it=1:$t=!1:he({dragNode:nn,dropNode:Dt,dropPosition:0})?it=0:he({dragNode:nn,dropNode:Dt,dropPosition:1})?it=1:$t=!1:he({dragNode:nn,dropNode:Dt,dropPosition:1})?it=1:$t=!1,{dropPosition:it,dropLevelOffset:Nt,dropTargetKey:J.key,dropTargetPos:J.pos,dragOverNodeKey:ct,dropContainerKey:it===0?null:((U=J.parent)===null||U===void 0?void 0:U.key)||null,dropAllowed:$t}}function P(Y,b){if(Y){var R=b.multiple;return R?Y.slice():Y.length?[Y[0]]:Y}}var ue=function(b){return b};function B(Y,b){if(!Y)return[];var R=b||{},Z=R.processProps,j=Z===void 0?ue:Z,he=Array.isArray(Y)?Y:[Y];return he.map(function(me){var fe=me.children,ae=_objectWithoutProperties(me,Se),te=B(fe,b);return React.createElement(TreeNode,_extends({key:ae.key},j(ae)),te)})}function W(Y){if(!Y)return null;var b;if(Array.isArray(Y))b={checkedKeys:Y,halfCheckedKeys:void 0};else if((0,L.Z)(Y)==="object")b={checkedKeys:Y.checked||void 0,halfCheckedKeys:Y.halfChecked||void 0};else return(0,ee.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return b}function ne(Y,b){var R=new Set;function Z(j){if(!R.has(j)){var he=(0,q.Z)(b,j);if(he){R.add(j);var me=he.parent,fe=he.node;fe.disabled||me&&Z(me.key)}}}return(Y||[]).forEach(function(j){Z(j)}),(0,y.Z)(R)}},90782:function(en,et,f){"use strict";f.d(et,{S:function(){return C}});var y=f(51395),L=f(67841);function ee(Se,a){var I=new Set;return Se.forEach(function(z){a.has(z)||I.add(z)}),I}function Ee(Se){var a=Se||{},I=a.disabled,z=a.disableCheckbox,S=a.checkable;return!!(I||z)||S===!1}function $(Se,a,I,z){for(var S=new Set(Se),u=new Set,x=0;x<=I;x+=1){var m=a.get(x)||new Set;m.forEach(function(W){var ne=W.key,Y=W.node,b=W.children,R=b===void 0?[]:b;S.has(ne)&&!z(Y)&&R.filter(function(Z){return!z(Z.node)}).forEach(function(Z){S.add(Z.key)})})}for(var P=new Set,ue=I;ue>=0;ue-=1){var B=a.get(ue)||new Set;B.forEach(function(W){var ne=W.parent,Y=W.node;if(!(z(Y)||!W.parent||P.has(W.parent.key))){if(z(W.parent.node)){P.add(ne.key);return}var b=!0,R=!1;(ne.children||[]).filter(function(Z){return!z(Z.node)}).forEach(function(Z){var j=Z.key,he=S.has(j);b&&!he&&(b=!1),!R&&(he||u.has(j))&&(R=!0)}),b&&S.add(ne.key),R&&u.add(ne.key),P.add(ne.key)}})}return{checkedKeys:Array.from(S),halfCheckedKeys:Array.from(ee(u,S))}}function q(Se,a,I,z,S){for(var u=new Set(Se),x=new Set(a),m=0;m<=z;m+=1){var P=I.get(m)||new Set;P.forEach(function(ne){var Y=ne.key,b=ne.node,R=ne.children,Z=R===void 0?[]:R;!u.has(Y)&&!x.has(Y)&&!S(b)&&Z.filter(function(j){return!S(j.node)}).forEach(function(j){u.delete(j.key)})})}x=new Set;for(var ue=new Set,B=z;B>=0;B-=1){var W=I.get(B)||new Set;W.forEach(function(ne){var Y=ne.parent,b=ne.node;if(!(S(b)||!ne.parent||ue.has(ne.parent.key))){if(S(ne.parent.node)){ue.add(Y.key);return}var R=!0,Z=!1;(Y.children||[]).filter(function(j){return!S(j.node)}).forEach(function(j){var he=j.key,me=u.has(he);R&&!me&&(R=!1),!Z&&(me||x.has(he))&&(Z=!0)}),R||u.delete(Y.key),Z&&x.add(Y.key),ue.add(Y.key)}})}return{checkedKeys:Array.from(u),halfCheckedKeys:Array.from(ee(x,u))}}function C(Se,a,I,z){var S=[],u;z?u=z:u=Ee;var x=new Set(Se.filter(function(B){var W=!!(0,L.Z)(I,B);return W||S.push(B),W})),m=new Map,P=0;Object.keys(I).forEach(function(B){var W=I[B],ne=W.level,Y=m.get(ne);Y||(Y=new Set,m.set(ne,Y)),Y.add(W),P=Math.max(P,ne)}),(0,y.ZP)(!S.length,"Tree missing follow keys: ".concat(S.slice(0,100).map(function(B){return"'".concat(B,"'")}).join(", ")));var ue;return a===!0?ue=$(x,m,P,u):ue=q(x,a.halfCheckedKeys,m,P,u),ue}},67841:function(en,et,f){"use strict";f.d(et,{Z:function(){return y}});function y(L,ee){return L[ee]}},71430:function(en,et,f){"use strict";f.d(et,{F:function(){return ne},H8:function(){return W},I8:function(){return B},km:function(){return S},oH:function(){return P},w$:function(){return u},zn:function(){return m}});var y=f(80665),L=f(26390),ee=f(57259),Ee=f(19149),$=f(38298),q=f(64002),C=f(51395),Se=f(67841),a=["children"];function I(Y,b){return"".concat(Y,"-").concat(b)}function z(Y){return Y&&Y.type&&Y.type.isTreeNode}function S(Y,b){return Y!=null?Y:b}function u(Y){var b=Y||{},R=b.title,Z=b._title,j=b.key,he=b.children,me=R||"title";return{title:me,_title:Z||[me],key:j||"key",children:he||"children"}}function x(Y,b){var R=new Map;function Z(j){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(j||[]).forEach(function(me){var fe=me[b.key],ae=me[b.children];warning(fe!=null,"Tree node must have a certain key: [".concat(he).concat(fe,"]"));var te=String(fe);warning(!R.has(te)||fe===null||fe===void 0,"Same 'key' exist in the Tree: ".concat(te)),R.set(te,!0),Z(ae,"".concat(he).concat(te," > "))})}Z(Y)}function m(Y){function b(R){var Z=(0,$.Z)(R);return Z.map(function(j){if(!z(j))return(0,C.ZP)(!j,"Tree/TreeNode can only accept TreeNode as children."),null;var he=j.key,me=j.props,fe=me.children,ae=(0,Ee.Z)(me,a),te=(0,ee.Z)({key:he},ae),U=b(fe);return U.length&&(te.children=U),te}).filter(function(j){return j})}return b(Y)}function P(Y,b,R){var Z=u(R),j=Z._title,he=Z.key,me=Z.children,fe=new Set(b===!0?[]:b),ae=[];function te(U){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return U.map(function(Q,de){for(var ie=I(pe?pe.pos:"0",de),v=S(Q[he],ie),_,V=0;V<j.length;V+=1){var J=j[V];if(Q[J]!==void 0){_=Q[J];break}}var Le=(0,ee.Z)((0,ee.Z)({},(0,q.Z)(Q,[].concat((0,L.Z)(j),[he,me]))),{},{title:_,key:v,parent:pe,pos:ie,children:null,data:Q,isStart:[].concat((0,L.Z)(pe?pe.isStart:[]),[de===0]),isEnd:[].concat((0,L.Z)(pe?pe.isEnd:[]),[de===U.length-1])});return ae.push(Le),b===!0||fe.has(v)?Le.children=te(Q[me]||[],Le):Le.children=[],Le})}return te(Y),ae}function ue(Y,b,R){var Z={};(0,y.Z)(R)==="object"?Z=R:Z={externalGetKey:R},Z=Z||{};var j=Z,he=j.childrenPropName,me=j.externalGetKey,fe=j.fieldNames,ae=u(fe),te=ae.key,U=ae.children,pe=he||U,Q;me?typeof me=="string"?Q=function(v){return v[me]}:typeof me=="function"&&(Q=function(v){return me(v)}):Q=function(v,_){return S(v[te],_)};function de(ie,v,_,V){var J=ie?ie[pe]:Y,Le=ie?I(_.pos,v):"0",Oe=ie?[].concat((0,L.Z)(V),[ie]):[];if(ie){var Ie=Q(ie,Le),Ze={node:ie,index:v,pos:Le,key:Ie,parentPos:_.node?_.pos:null,level:_.level+1,nodes:Oe};b(Ze)}J&&J.forEach(function(ut,ct){de(ut,ct,{node:ie,pos:Le,level:_?_.level+1:-1},Oe)})}de(null)}function B(Y){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R=b.initWrapper,Z=b.processEntity,j=b.onProcessFinished,he=b.externalGetKey,me=b.childrenPropName,fe=b.fieldNames,ae=arguments.length>2?arguments[2]:void 0,te=he||ae,U={},pe={},Q={posEntities:U,keyEntities:pe};return R&&(Q=R(Q)||Q),ue(Y,function(de){var ie=de.node,v=de.index,_=de.pos,V=de.key,J=de.parentPos,Le=de.level,Oe=de.nodes,Ie={node:ie,nodes:Oe,index:v,key:V,pos:_,level:Le},Ze=S(V,_);U[_]=Ie,pe[Ze]=Ie,Ie.parent=U[J],Ie.parent&&(Ie.parent.children=Ie.parent.children||[],Ie.parent.children.push(Ie)),Z&&Z(Ie,Q)},{externalGetKey:te,childrenPropName:me,fieldNames:fe}),j&&j(Q),Q}function W(Y,b){var R=b.expandedKeys,Z=b.selectedKeys,j=b.loadedKeys,he=b.loadingKeys,me=b.checkedKeys,fe=b.halfCheckedKeys,ae=b.dragOverNodeKey,te=b.dropPosition,U=b.keyEntities,pe=(0,Se.Z)(U,Y),Q={eventKey:Y,expanded:R.indexOf(Y)!==-1,selected:Z.indexOf(Y)!==-1,loaded:j.indexOf(Y)!==-1,loading:he.indexOf(Y)!==-1,checked:me.indexOf(Y)!==-1,halfChecked:fe.indexOf(Y)!==-1,pos:String(pe?pe.pos:""),dragOver:ae===Y&&te===0,dragOverGapTop:ae===Y&&te===-1,dragOverGapBottom:ae===Y&&te===1};return Q}function ne(Y){var b=Y.data,R=Y.expanded,Z=Y.selected,j=Y.checked,he=Y.loaded,me=Y.loading,fe=Y.halfChecked,ae=Y.dragOver,te=Y.dragOverGapTop,U=Y.dragOverGapBottom,pe=Y.pos,Q=Y.active,de=Y.eventKey,ie=(0,ee.Z)((0,ee.Z)({},b),{},{expanded:R,selected:Z,checked:j,loaded:he,loading:me,halfChecked:fe,dragOver:ae,dragOverGapTop:te,dragOverGapBottom:U,pos:pe,active:Q,key:de});return"props"in ie||Object.defineProperty(ie,"props",{get:function(){return(0,C.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),Y}}),ie}},8178:function(en,et,f){"use strict";f.d(et,{Z:function(){return L}});var y=f(4676);function L(ee,Ee,$,q){var C=y.unstable_batchedUpdates?function(a){y.unstable_batchedUpdates($,a)}:$;return ee!=null&&ee.addEventListener&&ee.addEventListener(Ee,C,q),{remove:function(){ee!=null&&ee.removeEventListener&&ee.removeEventListener(Ee,C,q)}}}},21783:function(en,et,f){"use strict";f.d(et,{g1:function(){return z},os:function(){return u}});var y=/margin|padding|width|height|max|min|offset/,L={left:!0,top:!0},ee={cssFloat:1,styleFloat:1,float:1};function Ee(x){return x.nodeType===1?x.ownerDocument.defaultView.getComputedStyle(x,null):{}}function $(x,m,P){if(m=m.toLowerCase(),P==="auto"){if(m==="height")return x.offsetHeight;if(m==="width")return x.offsetWidth}return m in L||(L[m]=y.test(m)),L[m]?parseFloat(P)||0:P}function q(x,m){var P=arguments.length,ue=Ee(x);return m=ee[m]?"cssFloat"in x.style?"cssFloat":"styleFloat":m,P===1?ue:$(x,m,ue[m]||x.style[m])}function C(x,m,P){var ue=arguments.length;if(m=ee[m]?"cssFloat"in x.style?"cssFloat":"styleFloat":m,ue===3)return typeof P=="number"&&y.test(m)&&(P="".concat(P,"px")),x.style[m]=P,P;for(var B in m)m.hasOwnProperty(B)&&C(x,B,m[B]);return Ee(x)}function Se(x){return x===document.body?document.documentElement.clientWidth:x.offsetWidth}function a(x){return x===document.body?window.innerHeight||document.documentElement.clientHeight:x.offsetHeight}function I(){var x=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),m=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:x,height:m}}function z(){var x=document.documentElement.clientWidth,m=window.innerHeight||document.documentElement.clientHeight;return{width:x,height:m}}function S(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function u(x){var m=x.getBoundingClientRect(),P=document.documentElement;return{left:m.left+(window.pageXOffset||P.scrollLeft)-(P.clientLeft||document.body.clientLeft||0),top:m.top+(window.pageYOffset||P.scrollTop)-(P.clientTop||document.body.clientTop||0)}}},24387:function(en,et,f){"use strict";f.d(et,{G:function(){return Ee}});var y=f(87746),L=function(q){if((0,y.Z)()&&window.document.documentElement){var C=Array.isArray(q)?q:[q],Se=window.document.documentElement;return C.some(function(a){return a in Se.style})}return!1},ee=function(q,C){if(!L(q))return!1;var Se=document.createElement("div"),a=Se.style[q];return Se.style[q]=C,Se.style[q]!==a};function Ee($,q){return!Array.isArray($)&&q!==void 0?ee($,q):L($)}},93144:function(en,et){"use strict";et.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var f=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(f)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(f==null?void 0:f.substr(0,4))}},21881:function(en,et,f){"use strict";f.d(et,{Z:function(){return $t}});var y=f(5891),L=f(80665),ee=f(57259),Ee=f(80962),$=f(29043),q=f(19149),C=f(92310),Se=f.n(C),a=f(29301),I=f(80764),z=f(28800),S=f(59301),u=f(4676),x=S.forwardRef(function(ot,se){var be=ot.height,H=ot.offsetY,O=ot.offsetX,xe=ot.children,k=ot.prefixCls,E=ot.onInnerResize,T=ot.innerProps,X=ot.rtl,G=ot.extra,K={},we={display:"flex",flexDirection:"column"};return H!==void 0&&(K={height:be,position:"relative",overflow:"hidden"},we=(0,ee.Z)((0,ee.Z)({},we),{},(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({transform:"translateY(".concat(H,"px)")},X?"marginRight":"marginLeft",-O),"position","absolute"),"left",0),"right",0),"top",0))),S.createElement("div",{style:K},S.createElement(a.Z,{onResize:function(ke){var Te=ke.offsetHeight;Te&&E&&E()}},S.createElement("div",(0,y.Z)({style:we,className:Se()((0,Ee.Z)({},"".concat(k,"-holder-inner"),k)),ref:se},T),xe,G)))});x.displayName="Filler";var m=x;function P(ot){var se=ot.children,be=ot.setRef,H=S.useCallback(function(O){be(O)},[]);return S.cloneElement(se,{ref:H})}function ue(ot,se,be,H,O,xe,k,E){var T=E.getKey;return ot.slice(se,be+1).map(function(X,G){var K=se+G,we=k(X,K,{style:{width:H},offsetX:O}),Ke=T(X);return S.createElement(P,{key:Ke,setRef:function(Te){return xe(X,Te)}},we)})}function B(ot,se,be,H){var O=be-ot,xe=se-be,k=Math.min(O,xe)*2;if(H<=k){var E=Math.floor(H/2);return H%2?be+E+1:be-E}return O>xe?be-(H-xe):be+(H-O)}function W(ot,se,be){var H=ot.length,O=se.length,xe,k;if(H===0&&O===0)return null;H<O?(xe=ot,k=se):(xe=se,k=ot);var E={__EMPTY_ITEM__:!0};function T(ke){return ke!==void 0?be(ke):E}for(var X=null,G=Math.abs(H-O)!==1,K=0;K<k.length;K+=1){var we=T(xe[K]),Ke=T(k[K]);if(we!==Ke){X=K,G=G||we!==T(k[K+1]);break}}return X===null?null:{index:X,multiple:G}}function ne(ot,se,be){var H=S.useState(ot),O=(0,$.Z)(H,2),xe=O[0],k=O[1],E=S.useState(null),T=(0,$.Z)(E,2),X=T[0],G=T[1];return S.useEffect(function(){var K=W(xe||[],ot||[],se);(K==null?void 0:K.index)!==void 0&&(be==null||be(K.index),G(ot[K.index])),k(ot)},[ot]),[X]}var Y=f(23073),b=(typeof navigator=="undefined"?"undefined":(0,L.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),R=b,Z=function(ot,se,be,H){var O=(0,S.useRef)(!1),xe=(0,S.useRef)(null);function k(){clearTimeout(xe.current),O.current=!0,xe.current=setTimeout(function(){O.current=!1},50)}var E=(0,S.useRef)({top:ot,bottom:se,left:be,right:H});return E.current.top=ot,E.current.bottom=se,E.current.left=be,E.current.right=H,function(T,X){var G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,K=T?X<0&&E.current.left||X>0&&E.current.right:X<0&&E.current.top||X>0&&E.current.bottom;return G&&K?(clearTimeout(xe.current),O.current=!1):(!K||O.current)&&k(),!O.current&&K}};function j(ot,se,be,H,O,xe,k){var E=(0,S.useRef)(0),T=(0,S.useRef)(null),X=(0,S.useRef)(null),G=(0,S.useRef)(!1),K=Z(se,be,H,O);function we(We,yt){if(Y.Z.cancel(T.current),!K(!1,yt)){var St=We;if(!St._virtualHandled)St._virtualHandled=!0;else return;E.current+=yt,X.current=yt,R||St.preventDefault(),T.current=(0,Y.Z)(function(){var pt=G.current?10:1;k(E.current*pt,!1),E.current=0})}}function Ke(We,yt){k(yt,!0),R||We.preventDefault()}var ke=(0,S.useRef)(null),Te=(0,S.useRef)(null);function Ye(We){if(ot){Y.Z.cancel(Te.current),Te.current=(0,Y.Z)(function(){ke.current=null},2);var yt=We.deltaX,St=We.deltaY,pt=We.shiftKey,Lt=yt,_t=St;(ke.current==="sx"||!ke.current&&pt&&St&&!yt)&&(Lt=St,_t=0,ke.current="sx");var w=Math.abs(Lt),D=Math.abs(_t);ke.current===null&&(ke.current=xe&&w>D?"x":"y"),ke.current==="y"?we(We,_t):Ke(We,Lt)}}function tt(We){ot&&(G.current=We.detail===X.current)}return[Ye,tt]}function he(ot,se,be,H){var O=S.useMemo(function(){return[new Map,[]]},[ot,be.id,H]),xe=(0,$.Z)(O,2),k=xe[0],E=xe[1],T=function(G){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:G,we=k.get(G),Ke=k.get(K);if(we===void 0||Ke===void 0)for(var ke=ot.length,Te=E.length;Te<ke;Te+=1){var Ye,tt=ot[Te],We=se(tt);k.set(We,Te);var yt=(Ye=be.get(We))!==null&&Ye!==void 0?Ye:H;if(E[Te]=(E[Te-1]||0)+yt,We===G&&(we=Te),We===K&&(Ke=Te),we!==void 0&&Ke!==void 0)break}return{top:E[we-1]||0,bottom:E[Ke]}};return T}var me=f(85899),fe=f(79545),ae=f(68550),te=function(){function ot(){(0,fe.Z)(this,ot),(0,Ee.Z)(this,"maps",void 0),(0,Ee.Z)(this,"id",0),(0,Ee.Z)(this,"diffKeys",new Set),this.maps=Object.create(null)}return(0,ae.Z)(ot,[{key:"set",value:function(be,H){this.maps[be]=H,this.id+=1,this.diffKeys.add(be)}},{key:"get",value:function(be){return this.maps[be]}},{key:"resetRecord",value:function(){this.diffKeys.clear()}},{key:"getRecord",value:function(){return this.diffKeys}}]),ot}(),U=te;function pe(ot){var se=parseFloat(ot);return isNaN(se)?0:se}function Q(ot,se,be){var H=S.useState(0),O=(0,$.Z)(H,2),xe=O[0],k=O[1],E=(0,S.useRef)(new Map),T=(0,S.useRef)(new U),X=(0,S.useRef)(0);function G(){X.current+=1}function K(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;G();var ke=function(){var tt=!1;E.current.forEach(function(We,yt){if(We&&We.offsetParent){var St=(0,me.ZP)(We),pt=St.offsetHeight,Lt=getComputedStyle(St),_t=Lt.marginTop,w=Lt.marginBottom,D=pe(_t),bt=pe(w),ce=pt+D+bt;T.current.get(yt)!==ce&&(T.current.set(yt,ce),tt=!0)}}),tt&&k(function(We){return We+1})};if(Ke)ke();else{X.current+=1;var Te=X.current;Promise.resolve().then(function(){Te===X.current&&ke()})}}function we(Ke,ke){var Te=ot(Ke),Ye=E.current.get(Te);ke?(E.current.set(Te,ke),K()):E.current.delete(Te),!Ye!=!ke&&(ke?se==null||se(Ke):be==null||be(Ke))}return(0,S.useEffect)(function(){return G},[]),[we,K,T.current,xe]}var de=14/15;function ie(ot,se,be){var H=(0,S.useRef)(!1),O=(0,S.useRef)(0),xe=(0,S.useRef)(0),k=(0,S.useRef)(null),E=(0,S.useRef)(null),T,X=function(Ke){if(H.current){var ke=Math.ceil(Ke.touches[0].pageX),Te=Math.ceil(Ke.touches[0].pageY),Ye=O.current-ke,tt=xe.current-Te,We=Math.abs(Ye)>Math.abs(tt);We?O.current=ke:xe.current=Te;var yt=be(We,We?Ye:tt,!1,Ke);yt&&Ke.preventDefault(),clearInterval(E.current),yt&&(E.current=setInterval(function(){We?Ye*=de:tt*=de;var St=Math.floor(We?Ye:tt);(!be(We,St,!0)||Math.abs(St)<=.1)&&clearInterval(E.current)},16))}},G=function(){H.current=!1,T()},K=function(Ke){T(),Ke.touches.length===1&&!H.current&&(H.current=!0,O.current=Math.ceil(Ke.touches[0].pageX),xe.current=Math.ceil(Ke.touches[0].pageY),k.current=Ke.target,k.current.addEventListener("touchmove",X,{passive:!1}),k.current.addEventListener("touchend",G,{passive:!0}))};T=function(){k.current&&(k.current.removeEventListener("touchmove",X),k.current.removeEventListener("touchend",G))},(0,z.Z)(function(){return ot&&se.current.addEventListener("touchstart",K,{passive:!0}),function(){var we;(we=se.current)===null||we===void 0||we.removeEventListener("touchstart",K),T(),clearInterval(E.current)}},[ot])}function v(ot){return Math.floor(Math.pow(ot,.5))}function _(ot,se){var be="touches"in ot?ot.touches[0]:ot;return be[se?"pageX":"pageY"]-window[se?"scrollX":"scrollY"]}function V(ot,se,be){S.useEffect(function(){var H=se.current;if(ot&&H){var O=!1,xe,k,E=function(){Y.Z.cancel(xe)},T=function we(){E(),xe=(0,Y.Z)(function(){be(k),we()})},X=function(Ke){var ke=Ke;ke._virtualHandled||(ke._virtualHandled=!0,O=!0)},G=function(){O=!1,E()},K=function(Ke){if(O){var ke=_(Ke,!1),Te=H.getBoundingClientRect(),Ye=Te.top,tt=Te.bottom;if(ke<=Ye){var We=Ye-ke;k=-v(We),T()}else if(ke>=tt){var yt=ke-tt;k=v(yt),T()}else E()}};return H.addEventListener("mousedown",X),H.ownerDocument.addEventListener("mouseup",G),H.ownerDocument.addEventListener("mousemove",K),function(){H.removeEventListener("mousedown",X),H.ownerDocument.removeEventListener("mouseup",G),H.ownerDocument.removeEventListener("mousemove",K),E()}}},[ot])}var J=10;function Le(ot,se,be,H,O,xe,k,E){var T=S.useRef(),X=S.useState(null),G=(0,$.Z)(X,2),K=G[0],we=G[1];return(0,z.Z)(function(){if(K&&K.times<J){if(!ot.current){we(function(ze){return(0,ee.Z)({},ze)});return}xe();var Ke=K.targetAlign,ke=K.originAlign,Te=K.index,Ye=K.offset,tt=ot.current.clientHeight,We=!1,yt=Ke,St=null;if(tt){for(var pt=Ke||ke,Lt=0,_t=0,w=0,D=Math.min(se.length-1,Te),bt=0;bt<=D;bt+=1){var ce=O(se[bt]);_t=Lt;var Me=be.get(ce);w=_t+(Me===void 0?H:Me),Lt=w}for(var pn=pt==="top"?Ye:tt-Ye,He=D;He>=0;He-=1){var rt=O(se[He]),Je=be.get(rt);if(Je===void 0){We=!0;break}if(pn-=Je,pn<=0)break}switch(pt){case"top":St=_t-Ye;break;case"bottom":St=w-tt+Ye;break;default:{var Ae=ot.current.scrollTop,De=Ae+tt;_t<Ae?yt="top":w>De&&(yt="bottom")}}St!==null&&k(St),St!==K.lastTop&&(We=!0)}We&&we((0,ee.Z)((0,ee.Z)({},K),{},{times:K.times+1,targetAlign:yt,lastTop:St}))}},[K,ot.current]),function(Ke){if(Ke==null){E();return}if(Y.Z.cancel(T.current),typeof Ke=="number")k(Ke);else if(Ke&&(0,L.Z)(Ke)==="object"){var ke,Te=Ke.align;"index"in Ke?ke=Ke.index:ke=se.findIndex(function(We){return O(We)===Ke.key});var Ye=Ke.offset,tt=Ye===void 0?0:Ye;we({times:0,index:ke,offset:tt,originAlign:Te})}}}var Oe=S.forwardRef(function(ot,se){var be=ot.prefixCls,H=ot.rtl,O=ot.scrollOffset,xe=ot.scrollRange,k=ot.onStartMove,E=ot.onStopMove,T=ot.onScroll,X=ot.horizontal,G=ot.spinSize,K=ot.containerSize,we=ot.style,Ke=ot.thumbStyle,ke=S.useState(!1),Te=(0,$.Z)(ke,2),Ye=Te[0],tt=Te[1],We=S.useState(null),yt=(0,$.Z)(We,2),St=yt[0],pt=yt[1],Lt=S.useState(null),_t=(0,$.Z)(Lt,2),w=_t[0],D=_t[1],bt=!H,ce=S.useRef(),Me=S.useRef(),pn=S.useState(!1),He=(0,$.Z)(pn,2),rt=He[0],Je=He[1],Ae=S.useRef(),De=function(){clearTimeout(Ae.current),Je(!0),Ae.current=setTimeout(function(){Je(!1)},3e3)},ze=xe-K||0,Xe=K-G||0,ge=S.useMemo(function(){if(O===0||ze===0)return 0;var Ge=O/ze;return Ge*Xe},[O,ze,Xe]),an=function(xt){xt.stopPropagation(),xt.preventDefault()},$e=S.useRef({top:ge,dragging:Ye,pageY:St,startTop:w});$e.current={top:ge,dragging:Ye,pageY:St,startTop:w};var bn=function(xt){tt(!0),pt(_(xt,X)),D($e.current.top),k(),xt.stopPropagation(),xt.preventDefault()};S.useEffect(function(){var Ge=function(Ce){Ce.preventDefault()},xt=ce.current,At=Me.current;return xt.addEventListener("touchstart",Ge,{passive:!1}),At.addEventListener("touchstart",bn,{passive:!1}),function(){xt.removeEventListener("touchstart",Ge),At.removeEventListener("touchstart",bn)}},[]);var Tn=S.useRef();Tn.current=ze;var Wt=S.useRef();Wt.current=Xe,S.useEffect(function(){if(Ye){var Ge,xt=function(Ce){var mt=$e.current,lt=mt.dragging,Pt=mt.pageY,Ht=mt.startTop;Y.Z.cancel(Ge);var tn=ce.current.getBoundingClientRect(),Ut=K/(X?tn.width:tn.height);if(lt){var sn=(_(Ce,X)-Pt)*Ut,dn=Ht;!bt&&X?dn-=sn:dn+=sn;var Mt=Tn.current,It=Wt.current,un=It?dn/It:0,ln=Math.ceil(un*Mt);ln=Math.max(ln,0),ln=Math.min(ln,Mt),Ge=(0,Y.Z)(function(){T(ln,X)})}},At=function(){tt(!1),E()};return window.addEventListener("mousemove",xt,{passive:!0}),window.addEventListener("touchmove",xt,{passive:!0}),window.addEventListener("mouseup",At,{passive:!0}),window.addEventListener("touchend",At,{passive:!0}),function(){window.removeEventListener("mousemove",xt),window.removeEventListener("touchmove",xt),window.removeEventListener("mouseup",At),window.removeEventListener("touchend",At),Y.Z.cancel(Ge)}}},[Ye]),S.useEffect(function(){return De(),function(){clearTimeout(Ae.current)}},[O]),S.useImperativeHandle(se,function(){return{delayHidden:De}});var Yt="".concat(be,"-scrollbar"),Rt={position:"absolute",visibility:rt?null:"hidden"},Ot={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return X?(Rt.height=8,Rt.left=0,Rt.right=0,Rt.bottom=0,Ot.height="100%",Ot.width=G,bt?Ot.left=ge:Ot.right=ge):(Rt.width=8,Rt.top=0,Rt.bottom=0,bt?Rt.right=0:Rt.left=0,Ot.width="100%",Ot.height=G,Ot.top=ge),S.createElement("div",{ref:ce,className:Se()(Yt,(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},"".concat(Yt,"-horizontal"),X),"".concat(Yt,"-vertical"),!X),"".concat(Yt,"-visible"),rt)),style:(0,ee.Z)((0,ee.Z)({},Rt),we),onMouseDown:an,onMouseMove:De},S.createElement("div",{ref:Me,className:Se()("".concat(Yt,"-thumb"),(0,Ee.Z)({},"".concat(Yt,"-thumb-moving"),Ye)),style:(0,ee.Z)((0,ee.Z)({},Ot),Ke),onMouseDown:bn}))}),Ie=Oe,Ze=20;function ut(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,be=ot/se*ot;return isNaN(be)&&(be=0),be=Math.max(be,Ze),Math.floor(be)}var ct=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],it=[],Nt={overflowY:"auto",overflowAnchor:"none"};function qt(ot,se){var be=ot.prefixCls,H=be===void 0?"rc-virtual-list":be,O=ot.className,xe=ot.height,k=ot.itemHeight,E=ot.fullHeight,T=E===void 0?!0:E,X=ot.style,G=ot.data,K=ot.children,we=ot.itemKey,Ke=ot.virtual,ke=ot.direction,Te=ot.scrollWidth,Ye=ot.component,tt=Ye===void 0?"div":Ye,We=ot.onScroll,yt=ot.onVirtualScroll,St=ot.onVisibleChange,pt=ot.innerProps,Lt=ot.extraRender,_t=ot.styles,w=(0,q.Z)(ot,ct),D=S.useCallback(function(Hn){return typeof we=="function"?we(Hn):Hn==null?void 0:Hn[we]},[we]),bt=Q(D,null,null),ce=(0,$.Z)(bt,4),Me=ce[0],pn=ce[1],He=ce[2],rt=ce[3],Je=!!(Ke!==!1&&xe&&k),Ae=S.useMemo(function(){return Object.values(He.maps).reduce(function(Hn,Mn){return Hn+Mn},0)},[He.id,He.maps]),De=Je&&G&&(Math.max(k*G.length,Ae)>xe||!!Te),ze=ke==="rtl",Xe=Se()(H,(0,Ee.Z)({},"".concat(H,"-rtl"),ze),O),ge=G||it,an=(0,S.useRef)(),$e=(0,S.useRef)(),bn=(0,S.useRef)(),Tn=(0,S.useState)(0),Wt=(0,$.Z)(Tn,2),Yt=Wt[0],Rt=Wt[1],Ot=(0,S.useState)(0),Ge=(0,$.Z)(Ot,2),xt=Ge[0],At=Ge[1],Ue=(0,S.useState)(!1),Ce=(0,$.Z)(Ue,2),mt=Ce[0],lt=Ce[1],Pt=function(){lt(!0)},Ht=function(){lt(!1)},tn={getKey:D};function Ut(Hn){Rt(function(Mn){var jn;typeof Hn=="function"?jn=Hn(Mn):jn=Hn;var Er=tr(jn);return an.current.scrollTop=Er,Er})}var sn=(0,S.useRef)({start:0,end:ge.length}),dn=(0,S.useRef)(),Mt=ne(ge,D),It=(0,$.Z)(Mt,1),un=It[0];dn.current=un;var ln=S.useMemo(function(){if(!Je)return{scrollHeight:void 0,start:0,end:ge.length-1,offset:void 0};if(!De){var Hn;return{scrollHeight:((Hn=$e.current)===null||Hn===void 0?void 0:Hn.offsetHeight)||0,start:0,end:ge.length-1,offset:void 0}}for(var Mn=0,jn,Er,Nr,hi=ge.length,Ei=0;Ei<hi;Ei+=1){var Vn=ge[Ei],Zr=D(Vn),jr=He.get(Zr),ni=Mn+(jr===void 0?k:jr);ni>=Yt&&jn===void 0&&(jn=Ei,Er=Mn),ni>Yt+xe&&Nr===void 0&&(Nr=Ei),Mn=ni}return jn===void 0&&(jn=0,Er=0,Nr=Math.ceil(xe/k)),Nr===void 0&&(Nr=ge.length-1),Nr=Math.min(Nr+1,ge.length-1),{scrollHeight:Mn,start:jn,end:Nr,offset:Er}},[De,Je,Yt,ge,rt,xe]),hn=ln.scrollHeight,_n=ln.start,ir=ln.end,Bn=ln.offset;sn.current.start=_n,sn.current.end=ir,S.useLayoutEffect(function(){var Hn=He.getRecord();if(Hn.size===1){var Mn=Array.from(Hn)[0],jn=D(ge[_n]);if(jn===Mn){var Er=He.get(Mn),Nr=Er-k;Ut(function(hi){return hi+Nr})}}He.resetRecord()},[hn]);var rn=S.useState({width:0,height:xe}),dt=(0,$.Z)(rn,2),gt=dt[0],kt=dt[1],Vt=function(Mn){kt({width:Mn.offsetWidth,height:Mn.offsetHeight})},Ft=(0,S.useRef)(),Qt=(0,S.useRef)(),Gt=S.useMemo(function(){return ut(gt.width,Te)},[gt.width,Te]),vn=S.useMemo(function(){return ut(gt.height,hn)},[gt.height,hn]),En=hn-xe,Fn=(0,S.useRef)(En);Fn.current=En;function tr(Hn){var Mn=Hn;return Number.isNaN(Fn.current)||(Mn=Math.min(Mn,Fn.current)),Mn=Math.max(Mn,0),Mn}var Xn=Yt<=0,ar=Yt>=En,Dn=xt<=0,wn=xt>=Te,gr=Z(Xn,ar,Dn,wn),Gn=function(){return{x:ze?-xt:xt,y:Yt}},Cr=(0,S.useRef)(Gn()),er=(0,I.useEvent)(function(Hn){if(yt){var Mn=(0,ee.Z)((0,ee.Z)({},Gn()),Hn);(Cr.current.x!==Mn.x||Cr.current.y!==Mn.y)&&(yt(Mn),Cr.current=Mn)}});function mr(Hn,Mn){var jn=Hn;Mn?((0,u.flushSync)(function(){At(jn)}),er()):Ut(jn)}function Sr(Hn){var Mn=Hn.currentTarget.scrollTop;Mn!==Yt&&Ut(Mn),We==null||We(Hn),er()}var nr=function(Mn){var jn=Mn,Er=Te?Te-gt.width:0;return jn=Math.max(jn,0),jn=Math.min(jn,Er),jn},kr=(0,I.useEvent)(function(Hn,Mn){Mn?((0,u.flushSync)(function(){At(function(jn){var Er=jn+(ze?-Hn:Hn);return nr(Er)})}),er()):Ut(function(jn){var Er=jn+Hn;return Er})}),Jr=j(Je,Xn,ar,Dn,wn,!!Te,kr),Qn=(0,$.Z)(Jr,2),Cn=Qn[0],at=Qn[1];ie(Je,an,function(Hn,Mn,jn,Er){var Nr=Er;return gr(Hn,Mn,jn)?!1:!Nr||!Nr._virtualHandled?(Nr&&(Nr._virtualHandled=!0),Cn({preventDefault:function(){},deltaX:Hn?Mn:0,deltaY:Hn?0:Mn}),!0):!1}),V(De,an,function(Hn){Ut(function(Mn){return Mn+Hn})}),(0,z.Z)(function(){function Hn(jn){var Er=Xn&&jn.detail<0,Nr=ar&&jn.detail>0;Je&&!Er&&!Nr&&jn.preventDefault()}var Mn=an.current;return Mn.addEventListener("wheel",Cn,{passive:!1}),Mn.addEventListener("DOMMouseScroll",at,{passive:!0}),Mn.addEventListener("MozMousePixelScroll",Hn,{passive:!1}),function(){Mn.removeEventListener("wheel",Cn),Mn.removeEventListener("DOMMouseScroll",at),Mn.removeEventListener("MozMousePixelScroll",Hn)}},[Je,Xn,ar]),(0,z.Z)(function(){if(Te){var Hn=nr(xt);At(Hn),er({x:Hn})}},[gt.width,Te]);var Kn=function(){var Mn,jn;(Mn=Ft.current)===null||Mn===void 0||Mn.delayHidden(),(jn=Qt.current)===null||jn===void 0||jn.delayHidden()},lr=Le(an,ge,He,k,D,function(){return pn(!0)},Ut,Kn);S.useImperativeHandle(se,function(){return{nativeElement:bn.current,getScrollInfo:Gn,scrollTo:function(Mn){function jn(Er){return Er&&(0,L.Z)(Er)==="object"&&("left"in Er||"top"in Er)}jn(Mn)?(Mn.left!==void 0&&At(nr(Mn.left)),lr(Mn.top)):lr(Mn)}}}),(0,z.Z)(function(){if(St){var Hn=ge.slice(_n,ir+1);St(Hn,ge)}},[_n,ir,ge]);var Rr=he(ge,D,He,k),Tr=Lt==null?void 0:Lt({start:_n,end:ir,virtual:De,offsetX:xt,offsetY:Bn,rtl:ze,getSize:Rr}),Pr=ue(ge,_n,ir,Te,xt,Me,K,tn),Ur=null;xe&&(Ur=(0,ee.Z)((0,Ee.Z)({},T?"height":"maxHeight",xe),Nt),Je&&(Ur.overflowY="hidden",Te&&(Ur.overflowX="hidden"),mt&&(Ur.pointerEvents="none")));var vr={};return ze&&(vr.dir="rtl"),S.createElement("div",(0,y.Z)({ref:bn,style:(0,ee.Z)((0,ee.Z)({},X),{},{position:"relative"}),className:Xe},vr,w),S.createElement(a.Z,{onResize:Vt},S.createElement(tt,{className:"".concat(H,"-holder"),style:Ur,ref:an,onScroll:Sr,onMouseEnter:Kn},S.createElement(m,{prefixCls:H,height:hn,offsetX:xt,offsetY:Bn,scrollWidth:Te,onInnerResize:pn,ref:$e,innerProps:pt,rtl:ze,extra:Tr},Pr))),De&&hn>xe&&S.createElement(Ie,{ref:Ft,prefixCls:H,scrollOffset:Yt,scrollRange:hn,rtl:ze,onScroll:mr,onStartMove:Pt,onStopMove:Ht,spinSize:vn,containerSize:gt.height,style:_t==null?void 0:_t.verticalScrollBar,thumbStyle:_t==null?void 0:_t.verticalScrollBarThumb}),De&&Te>gt.width&&S.createElement(Ie,{ref:Qt,prefixCls:H,scrollOffset:xt,scrollRange:Te,rtl:ze,onScroll:mr,onStartMove:Pt,onStopMove:Ht,spinSize:Gt,containerSize:gt.width,horizontal:!0,style:_t==null?void 0:_t.horizontalScrollBar,thumbStyle:_t==null?void 0:_t.horizontalScrollBarThumb}))}var nn=S.forwardRef(qt);nn.displayName="List";var Dt=nn,$t=Dt},83145:function(en,et,f){"use strict";Object.defineProperty(et,"__esModule",{value:!0}),et.CopyToClipboard=void 0;var y=ee(f(59301)),L=ee(f(25769));function ee(W){return W&&W.__esModule?W:{default:W}}function Ee(W){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ee=function(Y){return typeof Y}:Ee=function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y},Ee(W)}function $(W,ne){var Y=Object.keys(W);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(W);ne&&(b=b.filter(function(R){return Object.getOwnPropertyDescriptor(W,R).enumerable})),Y.push.apply(Y,b)}return Y}function q(W){for(var ne=1;ne<arguments.length;ne++){var Y=arguments[ne]!=null?arguments[ne]:{};ne%2?$(Y,!0).forEach(function(b){ue(W,b,Y[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(W,Object.getOwnPropertyDescriptors(Y)):$(Y).forEach(function(b){Object.defineProperty(W,b,Object.getOwnPropertyDescriptor(Y,b))})}return W}function C(W,ne){if(W==null)return{};var Y=Se(W,ne),b,R;if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(W);for(R=0;R<Z.length;R++)b=Z[R],!(ne.indexOf(b)>=0)&&Object.prototype.propertyIsEnumerable.call(W,b)&&(Y[b]=W[b])}return Y}function Se(W,ne){if(W==null)return{};var Y={},b=Object.keys(W),R,Z;for(Z=0;Z<b.length;Z++)R=b[Z],!(ne.indexOf(R)>=0)&&(Y[R]=W[R]);return Y}function a(W,ne){if(!(W instanceof ne))throw new TypeError("Cannot call a class as a function")}function I(W,ne){for(var Y=0;Y<ne.length;Y++){var b=ne[Y];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(W,b.key,b)}}function z(W,ne,Y){return ne&&I(W.prototype,ne),Y&&I(W,Y),W}function S(W,ne){return ne&&(Ee(ne)==="object"||typeof ne=="function")?ne:x(W)}function u(W){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(Y){return Y.__proto__||Object.getPrototypeOf(Y)},u(W)}function x(W){if(W===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return W}function m(W,ne){if(typeof ne!="function"&&ne!==null)throw new TypeError("Super expression must either be null or a function");W.prototype=Object.create(ne&&ne.prototype,{constructor:{value:W,writable:!0,configurable:!0}}),ne&&P(W,ne)}function P(W,ne){return P=Object.setPrototypeOf||function(b,R){return b.__proto__=R,b},P(W,ne)}function ue(W,ne,Y){return ne in W?Object.defineProperty(W,ne,{value:Y,enumerable:!0,configurable:!0,writable:!0}):W[ne]=Y,W}var B=function(W){m(ne,W);function ne(){var Y,b;a(this,ne);for(var R=arguments.length,Z=new Array(R),j=0;j<R;j++)Z[j]=arguments[j];return b=S(this,(Y=u(ne)).call.apply(Y,[this].concat(Z))),ue(x(b),"onClick",function(he){var me=b.props,fe=me.text,ae=me.onCopy,te=me.children,U=me.options,pe=y.default.Children.only(te),Q=(0,L.default)(fe,U);ae&&ae(fe,Q),pe&&pe.props&&typeof pe.props.onClick=="function"&&pe.props.onClick(he)}),b}return z(ne,[{key:"render",value:function(){var b=this.props,R=b.text,Z=b.onCopy,j=b.options,he=b.children,me=C(b,["text","onCopy","options","children"]),fe=y.default.Children.only(he);return y.default.cloneElement(fe,q({},me,{onClick:this.onClick}))}}]),ne}(y.default.PureComponent);et.CopyToClipboard=B,ue(B,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(en,et,f){"use strict";var y=f(83145),L=y.CopyToClipboard;L.CopyToClipboard=L,en.exports=L},76374:function(en,et,f){"use strict";var y=function(){if(typeof Map!="undefined")return Map;function te(U,pe){var Q=-1;return U.some(function(de,ie){return de[0]===pe?(Q=ie,!0):!1}),Q}return function(){function U(){this.__entries__=[]}return Object.defineProperty(U.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),U.prototype.get=function(pe){var Q=te(this.__entries__,pe),de=this.__entries__[Q];return de&&de[1]},U.prototype.set=function(pe,Q){var de=te(this.__entries__,pe);~de?this.__entries__[de][1]=Q:this.__entries__.push([pe,Q])},U.prototype.delete=function(pe){var Q=this.__entries__,de=te(Q,pe);~de&&Q.splice(de,1)},U.prototype.has=function(pe){return!!~te(this.__entries__,pe)},U.prototype.clear=function(){this.__entries__.splice(0)},U.prototype.forEach=function(pe,Q){Q===void 0&&(Q=null);for(var de=0,ie=this.__entries__;de<ie.length;de++){var v=ie[de];pe.call(Q,v[1],v[0])}},U}()}(),L=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,ee=function(){return typeof f.g!="undefined"&&f.g.Math===Math?f.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),Ee=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(ee):function(te){return setTimeout(function(){return te(Date.now())},1e3/60)}}(),$=2;function q(te,U){var pe=!1,Q=!1,de=0;function ie(){pe&&(pe=!1,te()),Q&&_()}function v(){Ee(ie)}function _(){var V=Date.now();if(pe){if(V-de<$)return;Q=!0}else pe=!0,Q=!1,setTimeout(v,U);de=V}return _}var C=20,Se=["top","right","bottom","left","width","height","size","weight"],a=typeof MutationObserver!="undefined",I=function(){function te(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=q(this.refresh.bind(this),C)}return te.prototype.addObserver=function(U){~this.observers_.indexOf(U)||this.observers_.push(U),this.connected_||this.connect_()},te.prototype.removeObserver=function(U){var pe=this.observers_,Q=pe.indexOf(U);~Q&&pe.splice(Q,1),!pe.length&&this.connected_&&this.disconnect_()},te.prototype.refresh=function(){var U=this.updateObservers_();U&&this.refresh()},te.prototype.updateObservers_=function(){var U=this.observers_.filter(function(pe){return pe.gatherActive(),pe.hasActive()});return U.forEach(function(pe){return pe.broadcastActive()}),U.length>0},te.prototype.connect_=function(){!L||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),a?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},te.prototype.disconnect_=function(){!L||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},te.prototype.onTransitionEnd_=function(U){var pe=U.propertyName,Q=pe===void 0?"":pe,de=Se.some(function(ie){return!!~Q.indexOf(ie)});de&&this.refresh()},te.getInstance=function(){return this.instance_||(this.instance_=new te),this.instance_},te.instance_=null,te}(),z=function(te,U){for(var pe=0,Q=Object.keys(U);pe<Q.length;pe++){var de=Q[pe];Object.defineProperty(te,de,{value:U[de],enumerable:!1,writable:!1,configurable:!0})}return te},S=function(te){var U=te&&te.ownerDocument&&te.ownerDocument.defaultView;return U||ee},u=R(0,0,0,0);function x(te){return parseFloat(te)||0}function m(te){for(var U=[],pe=1;pe<arguments.length;pe++)U[pe-1]=arguments[pe];return U.reduce(function(Q,de){var ie=te["border-"+de+"-width"];return Q+x(ie)},0)}function P(te){for(var U=["top","right","bottom","left"],pe={},Q=0,de=U;Q<de.length;Q++){var ie=de[Q],v=te["padding-"+ie];pe[ie]=x(v)}return pe}function ue(te){var U=te.getBBox();return R(0,0,U.width,U.height)}function B(te){var U=te.clientWidth,pe=te.clientHeight;if(!U&&!pe)return u;var Q=S(te).getComputedStyle(te),de=P(Q),ie=de.left+de.right,v=de.top+de.bottom,_=x(Q.width),V=x(Q.height);if(Q.boxSizing==="border-box"&&(Math.round(_+ie)!==U&&(_-=m(Q,"left","right")+ie),Math.round(V+v)!==pe&&(V-=m(Q,"top","bottom")+v)),!ne(te)){var J=Math.round(_+ie)-U,Le=Math.round(V+v)-pe;Math.abs(J)!==1&&(_-=J),Math.abs(Le)!==1&&(V-=Le)}return R(de.left,de.top,_,V)}var W=function(){return typeof SVGGraphicsElement!="undefined"?function(te){return te instanceof S(te).SVGGraphicsElement}:function(te){return te instanceof S(te).SVGElement&&typeof te.getBBox=="function"}}();function ne(te){return te===S(te).document.documentElement}function Y(te){return L?W(te)?ue(te):B(te):u}function b(te){var U=te.x,pe=te.y,Q=te.width,de=te.height,ie=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,v=Object.create(ie.prototype);return z(v,{x:U,y:pe,width:Q,height:de,top:pe,right:U+Q,bottom:de+pe,left:U}),v}function R(te,U,pe,Q){return{x:te,y:U,width:pe,height:Q}}var Z=function(){function te(U){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=R(0,0,0,0),this.target=U}return te.prototype.isActive=function(){var U=Y(this.target);return this.contentRect_=U,U.width!==this.broadcastWidth||U.height!==this.broadcastHeight},te.prototype.broadcastRect=function(){var U=this.contentRect_;return this.broadcastWidth=U.width,this.broadcastHeight=U.height,U},te}(),j=function(){function te(U,pe){var Q=b(pe);z(this,{target:U,contentRect:Q})}return te}(),he=function(){function te(U,pe,Q){if(this.activeObservations_=[],this.observations_=new y,typeof U!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=U,this.controller_=pe,this.callbackCtx_=Q}return te.prototype.observe=function(U){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(U instanceof S(U).Element))throw new TypeError('parameter 1 is not of type "Element".');var pe=this.observations_;pe.has(U)||(pe.set(U,new Z(U)),this.controller_.addObserver(this),this.controller_.refresh())}},te.prototype.unobserve=function(U){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(U instanceof S(U).Element))throw new TypeError('parameter 1 is not of type "Element".');var pe=this.observations_;pe.has(U)&&(pe.delete(U),pe.size||this.controller_.removeObserver(this))}},te.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},te.prototype.gatherActive=function(){var U=this;this.clearActive(),this.observations_.forEach(function(pe){pe.isActive()&&U.activeObservations_.push(pe)})},te.prototype.broadcastActive=function(){if(this.hasActive()){var U=this.callbackCtx_,pe=this.activeObservations_.map(function(Q){return new j(Q.target,Q.broadcastRect())});this.callback_.call(U,pe,U),this.clearActive()}},te.prototype.clearActive=function(){this.activeObservations_.splice(0)},te.prototype.hasActive=function(){return this.activeObservations_.length>0},te}(),me=typeof WeakMap!="undefined"?new WeakMap:new y,fe=function(){function te(U){if(!(this instanceof te))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var pe=I.getInstance(),Q=new he(U,pe,this);me.set(this,Q)}return te}();["observe","unobserve","disconnect"].forEach(function(te){fe.prototype[te]=function(){var U;return(U=me.get(this))[te].apply(U,arguments)}});var ae=function(){return typeof ee.ResizeObserver!="undefined"?ee.ResizeObserver:fe}();et.Z=ae},98040:function(en){en.exports=function(){var et=document.getSelection();if(!et.rangeCount)return function(){};for(var f=document.activeElement,y=[],L=0;L<et.rangeCount;L++)y.push(et.getRangeAt(L));switch(f.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":f.blur();break;default:f=null;break}return et.removeAllRanges(),function(){et.type==="Caret"&&et.removeAllRanges(),et.rangeCount||y.forEach(function(ee){et.addRange(ee)}),f&&f.focus()}}},1012:function(en,et,f){"use strict";f.d(et,{Z:function(){return S}});var y=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),L=new Uint8Array(16);function ee(){if(!y)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return y(L)}var Ee=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function $(u){return typeof u=="string"&&Ee.test(u)}for(var q=$,C=[],Se=0;Se<256;++Se)C.push((Se+256).toString(16).substr(1));function a(u){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,m=(C[u[x+0]]+C[u[x+1]]+C[u[x+2]]+C[u[x+3]]+"-"+C[u[x+4]]+C[u[x+5]]+"-"+C[u[x+6]]+C[u[x+7]]+"-"+C[u[x+8]]+C[u[x+9]]+"-"+C[u[x+10]]+C[u[x+11]]+C[u[x+12]]+C[u[x+13]]+C[u[x+14]]+C[u[x+15]]).toLowerCase();if(!q(m))throw TypeError("Stringified UUID is invalid");return m}var I=a;function z(u,x,m){u=u||{};var P=u.random||(u.rng||ee)();if(P[6]=P[6]&15|64,P[8]=P[8]&63|128,x){m=m||0;for(var ue=0;ue<16;++ue)x[m+ue]=P[ue];return x}return I(P)}var S=z},93314:function(en){"use strict";en.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo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seADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},37312:function(en,et,f){"use strict";f.d(et,{ZP:function(){return Ys}});function y(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var L={exports:{}};(function(o,e){(function(t){var n=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,r=/^(?=([^\/?#]*))\1([^]*)$/,i=/(?:\/|^)\.(?=\/)/g,s=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,c={buildAbsoluteURL:function(p,A,F){if(F=F||{},p=p.trim(),A=A.trim(),!A){if(!F.alwaysNormalize)return p;var M=c.parseURL(p);if(!M)throw new Error("Error trying to parse base URL.");return M.path=c.normalizePath(M.path),c.buildURLFromParts(M)}var ve=c.parseURL(A);if(!ve)throw new Error("Error trying to parse relative URL.");if(ve.scheme)return F.alwaysNormalize?(ve.path=c.normalizePath(ve.path),c.buildURLFromParts(ve)):A;var Fe=c.parseURL(p);if(!Fe)throw new Error("Error trying to parse base URL.");if(!Fe.netLoc&&Fe.path&&Fe.path[0]!=="/"){var Re=r.exec(Fe.path);Fe.netLoc=Re[1],Fe.path=Re[2]}Fe.netLoc&&!Fe.path&&(Fe.path="/");var Pe={scheme:Fe.scheme,netLoc:ve.netLoc,path:null,params:ve.params,query:ve.query,fragment:ve.fragment};if(!ve.netLoc&&(Pe.netLoc=Fe.netLoc,ve.path[0]!=="/"))if(!ve.path)Pe.path=Fe.path,ve.params||(Pe.params=Fe.params,ve.query||(Pe.query=Fe.query));else{var Ve=Fe.path,ht=Ve.substring(0,Ve.lastIndexOf("/")+1)+ve.path;Pe.path=c.normalizePath(ht)}return Pe.path===null&&(Pe.path=F.alwaysNormalize?c.normalizePath(ve.path):ve.path),c.buildURLFromParts(Pe)},parseURL:function(p){var A=n.exec(p);return A?{scheme:A[1]||"",netLoc:A[2]||"",path:A[3]||"",params:A[4]||"",query:A[5]||"",fragment:A[6]||""}:null},normalizePath:function(p){for(p=p.split("").reverse().join("").replace(i,"");p.length!==(p=p.replace(s,"")).length;);return p.split("").reverse().join("")},buildURLFromParts:function(p){return p.scheme+p.netLoc+p.path+p.params+p.query+p.fragment}};o.exports=c})()})(L);var ee=L.exports;function Ee(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(o,r).enumerable})),t.push.apply(t,n)}return t}function $(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ee(Object(t),!0).forEach(function(n){Se(o,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):Ee(Object(t)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(t,n))})}return o}function q(o,e){if(typeof o!="object"||!o)return o;var t=o[Symbol.toPrimitive];if(t!==void 0){var n=t.call(o,e||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(o)}function C(o){var e=q(o,"string");return typeof e=="symbol"?e:String(e)}function Se(o,e,t){return e=C(e),e in o?Object.defineProperty(o,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):o[e]=t,o}function a(){return a=Object.assign?Object.assign.bind():function(o){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(o[n]=t[n])}return o},a.apply(this,arguments)}const I=Number.isFinite||function(o){return typeof o=="number"&&isFinite(o)},z=Number.isSafeInteger||function(o){return typeof o=="number"&&Math.abs(o)<=S},S=Number.MAX_SAFE_INTEGER||9007199254740991;let u=function(o){return o.MEDIA_ATTACHING="hlsMediaAttaching",o.MEDIA_ATTACHED="hlsMediaAttached",o.MEDIA_DETACHING="hlsMediaDetaching",o.MEDIA_DETACHED="hlsMediaDetached",o.BUFFER_RESET="hlsBufferReset",o.BUFFER_CODECS="hlsBufferCodecs",o.BUFFER_CREATED="hlsBufferCreated",o.BUFFER_APPENDING="hlsBufferAppending",o.BUFFER_APPENDED="hlsBufferAppended",o.BUFFER_EOS="hlsBufferEos",o.BUFFER_FLUSHING="hlsBufferFlushing",o.BUFFER_FLUSHED="hlsBufferFlushed",o.MANIFEST_LOADING="hlsManifestLoading",o.MANIFEST_LOADED="hlsManifestLoaded",o.MANIFEST_PARSED="hlsManifestParsed",o.LEVEL_SWITCHING="hlsLevelSwitching",o.LEVEL_SWITCHED="hlsLevelSwitched",o.LEVEL_LOADING="hlsLevelLoading",o.LEVEL_LOADED="hlsLevelLoaded",o.LEVEL_UPDATED="hlsLevelUpdated",o.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",o.LEVELS_UPDATED="hlsLevelsUpdated",o.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",o.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",o.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",o.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",o.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",o.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",o.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",o.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",o.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",o.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",o.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",o.CUES_PARSED="hlsCuesParsed",o.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",o.INIT_PTS_FOUND="hlsInitPtsFound",o.FRAG_LOADING="hlsFragLoading",o.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",o.FRAG_LOADED="hlsFragLoaded",o.FRAG_DECRYPTED="hlsFragDecrypted",o.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",o.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",o.FRAG_PARSING_METADATA="hlsFragParsingMetadata",o.FRAG_PARSED="hlsFragParsed",o.FRAG_BUFFERED="hlsFragBuffered",o.FRAG_CHANGED="hlsFragChanged",o.FPS_DROP="hlsFpsDrop",o.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",o.MAX_AUTO_LEVEL_UPDATED="hlsMaxAutoLevelUpdated",o.ERROR="hlsError",o.DESTROYING="hlsDestroying",o.KEY_LOADING="hlsKeyLoading",o.KEY_LOADED="hlsKeyLoaded",o.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",o.BACK_BUFFER_REACHED="hlsBackBufferReached",o.STEERING_MANIFEST_LOADED="hlsSteeringManifestLoaded",o}({}),x=function(o){return o.NETWORK_ERROR="networkError",o.MEDIA_ERROR="mediaError",o.KEY_SYSTEM_ERROR="keySystemError",o.MUX_ERROR="muxError",o.OTHER_ERROR="otherError",o}({}),m=function(o){return o.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",o.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",o.KEY_SYSTEM_NO_SESSION="keySystemNoSession",o.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",o.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",o.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",o.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",o.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",o.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",o.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",o.MANIFEST_LOAD_ERROR="manifestLoadError",o.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",o.MANIFEST_PARSING_ERROR="manifestParsingError",o.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",o.LEVEL_EMPTY_ERROR="levelEmptyError",o.LEVEL_LOAD_ERROR="levelLoadError",o.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",o.LEVEL_PARSING_ERROR="levelParsingError",o.LEVEL_SWITCH_ERROR="levelSwitchError",o.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",o.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",o.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",o.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",o.FRAG_LOAD_ERROR="fragLoadError",o.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",o.FRAG_DECRYPT_ERROR="fragDecryptError",o.FRAG_PARSING_ERROR="fragParsingError",o.FRAG_GAP="fragGap",o.REMUX_ALLOC_ERROR="remuxAllocError",o.KEY_LOAD_ERROR="keyLoadError",o.KEY_LOAD_TIMEOUT="keyLoadTimeOut",o.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",o.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",o.BUFFER_APPEND_ERROR="bufferAppendError",o.BUFFER_APPENDING_ERROR="bufferAppendingError",o.BUFFER_STALLED_ERROR="bufferStalledError",o.BUFFER_FULL_ERROR="bufferFullError",o.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",o.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",o.INTERNAL_EXCEPTION="internalException",o.INTERNAL_ABORTED="aborted",o.UNKNOWN="unknown",o}({});const P=function(){},ue={trace:P,debug:P,log:P,warn:P,info:P,error:P};let B=ue;function W(o){const e=self.console[o];return e?e.bind(self.console,`[${o}] >`):P}function ne(o,...e){e.forEach(function(t){B[t]=o[t]?o[t].bind(o):W(t)})}function Y(o,e){if(typeof console=="object"&&o===!0||typeof o=="object"){ne(o,"debug","log","info","warn","error");try{B.log(`Debug logs enabled for "${e}" in hls.js version 1.5.19`)}catch(t){B=ue}}else B=ue}const b=B,R=/^(\d+)x(\d+)$/,Z=/(.+?)=(".*?"|.*?)(?:,|$)/g;class j{constructor(e){typeof e=="string"&&(e=j.parseAttrList(e)),a(this,e)}get clientAttrs(){return Object.keys(this).filter(e=>e.substring(0,2)==="X-")}decimalInteger(e){const t=parseInt(this[e],10);return t>Number.MAX_SAFE_INTEGER?1/0:t}hexadecimalInteger(e){if(this[e]){let t=(this[e]||"0x").slice(2);t=(t.length&1?"0":"")+t;const n=new Uint8Array(t.length/2);for(let r=0;r<t.length/2;r++)n[r]=parseInt(t.slice(r*2,r*2+2),16);return n}else return null}hexadecimalIntegerAsNumber(e){const t=parseInt(this[e],16);return t>Number.MAX_SAFE_INTEGER?1/0:t}decimalFloatingPoint(e){return parseFloat(this[e])}optionalFloat(e,t){const n=this[e];return n?parseFloat(n):t}enumeratedString(e){return this[e]}bool(e){return this[e]==="YES"}decimalResolution(e){const t=R.exec(this[e]);if(t!==null)return{width:parseInt(t[1],10),height:parseInt(t[2],10)}}static parseAttrList(e){let t;const n={},r='"';for(Z.lastIndex=0;(t=Z.exec(e))!==null;){let i=t[2];i.indexOf(r)===0&&i.lastIndexOf(r)===i.length-1&&(i=i.slice(1,-1));const s=t[1].trim();n[s]=i}return n}}function he(o){return o!=="ID"&&o!=="CLASS"&&o!=="START-DATE"&&o!=="DURATION"&&o!=="END-DATE"&&o!=="END-ON-NEXT"}function me(o){return o==="SCTE35-OUT"||o==="SCTE35-IN"}class fe{constructor(e,t){if(this.attr=void 0,this._startDate=void 0,this._endDate=void 0,this._badValueForSameId=void 0,t){const n=t.attr;for(const r in n)if(Object.prototype.hasOwnProperty.call(e,r)&&e[r]!==n[r]){b.warn(`DATERANGE tag attribute: "${r}" does not match for tags with ID: "${e.ID}"`),this._badValueForSameId=r;break}e=a(new j({}),n,e)}if(this.attr=e,this._startDate=new Date(e["START-DATE"]),"END-DATE"in this.attr){const n=new Date(this.attr["END-DATE"]);I(n.getTime())&&(this._endDate=n)}}get id(){return this.attr.ID}get class(){return this.attr.CLASS}get startDate(){return this._startDate}get endDate(){if(this._endDate)return this._endDate;const e=this.duration;return e!==null?new Date(this._startDate.getTime()+e*1e3):null}get duration(){if("DURATION"in this.attr){const e=this.attr.decimalFloatingPoint("DURATION");if(I(e))return e}else if(this._endDate)return(this._endDate.getTime()-this._startDate.getTime())/1e3;return null}get plannedDuration(){return"PLANNED-DURATION"in this.attr?this.attr.decimalFloatingPoint("PLANNED-DURATION"):null}get endOnNext(){return this.attr.bool("END-ON-NEXT")}get isValid(){return!!this.id&&!this._badValueForSameId&&I(this.startDate.getTime())&&(this.duration===null||this.duration>=0)&&(!this.endOnNext||!!this.class)}}class ae{constructor(){this.aborted=!1,this.loaded=0,this.retry=0,this.total=0,this.chunkCount=0,this.bwEstimate=0,this.loading={start:0,first:0,end:0},this.parsing={start:0,end:0},this.buffering={start:0,first:0,end:0}}}var te={AUDIO:"audio",VIDEO:"video",AUDIOVIDEO:"audiovideo"};class U{constructor(e){this._byteRange=null,this._url=null,this.baseurl=void 0,this.relurl=void 0,this.elementaryStreams={[te.AUDIO]:null,[te.VIDEO]:null,[te.AUDIOVIDEO]:null},this.baseurl=e}setByteRange(e,t){const n=e.split("@",2);let r;n.length===1?r=(t==null?void 0:t.byteRangeEndOffset)||0:r=parseInt(n[1]),this._byteRange=[r,parseInt(n[0])+r]}get byteRange(){return this._byteRange?this._byteRange:[]}get byteRangeStartOffset(){return this.byteRange[0]}get byteRangeEndOffset(){return this.byteRange[1]}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=ee.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(e){this._url=e}}class pe extends U{constructor(e,t){super(t),this._decryptdata=null,this.rawProgramDateTime=null,this.programDateTime=null,this.tagList=[],this.duration=0,this.sn=0,this.levelkeys=void 0,this.type=void 0,this.loader=null,this.keyLoader=null,this.level=-1,this.cc=0,this.startPTS=void 0,this.endPTS=void 0,this.startDTS=void 0,this.endDTS=void 0,this.start=0,this.deltaPTS=void 0,this.maxStartPTS=void 0,this.minEndPTS=void 0,this.stats=new ae,this.data=void 0,this.bitrateTest=!1,this.title=null,this.initSegment=null,this.endList=void 0,this.gap=void 0,this.urlId=0,this.type=e}get decryptdata(){const{levelkeys:e}=this;if(!e&&!this._decryptdata)return null;if(!this._decryptdata&&this.levelkeys&&!this.levelkeys.NONE){const t=this.levelkeys.identity;if(t)this._decryptdata=t.getDecryptData(this.sn);else{const n=Object.keys(this.levelkeys);if(n.length===1)return this._decryptdata=this.levelkeys[n[0]].getDecryptData(this.sn)}}return this._decryptdata}get end(){return this.start+this.duration}get endProgramDateTime(){if(this.programDateTime===null||!I(this.programDateTime))return null;const e=I(this.duration)?this.duration:0;return this.programDateTime+e*1e3}get encrypted(){var e;if((e=this._decryptdata)!=null&&e.encrypted)return!0;if(this.levelkeys){const t=Object.keys(this.levelkeys),n=t.length;if(n>1||n===1&&this.levelkeys[t[0]].encrypted)return!0}return!1}setKeyFormat(e){if(this.levelkeys){const t=this.levelkeys[e];t&&!this._decryptdata&&(this._decryptdata=t.getDecryptData(this.sn))}}abortRequests(){var e,t;(e=this.loader)==null||e.abort(),(t=this.keyLoader)==null||t.abort()}setElementaryStreamInfo(e,t,n,r,i,s=!1){const{elementaryStreams:c}=this,p=c[e];if(!p){c[e]={startPTS:t,endPTS:n,startDTS:r,endDTS:i,partial:s};return}p.startPTS=Math.min(p.startPTS,t),p.endPTS=Math.max(p.endPTS,n),p.startDTS=Math.min(p.startDTS,r),p.endDTS=Math.max(p.endDTS,i)}clearElementaryStreamInfo(){const{elementaryStreams:e}=this;e[te.AUDIO]=null,e[te.VIDEO]=null,e[te.AUDIOVIDEO]=null}}class Q extends U{constructor(e,t,n,r,i){super(n),this.fragOffset=0,this.duration=0,this.gap=!1,this.independent=!1,this.relurl=void 0,this.fragment=void 0,this.index=void 0,this.stats=new ae,this.duration=e.decimalFloatingPoint("DURATION"),this.gap=e.bool("GAP"),this.independent=e.bool("INDEPENDENT"),this.relurl=e.enumeratedString("URI"),this.fragment=t,this.index=r;const s=e.enumeratedString("BYTERANGE");s&&this.setByteRange(s,i),i&&(this.fragOffset=i.fragOffset+i.duration)}get start(){return this.fragment.start+this.fragOffset}get end(){return this.start+this.duration}get loaded(){const{elementaryStreams:e}=this;return!!(e.audio||e.video||e.audiovideo)}}const de=10;class ie{constructor(e){this.PTSKnown=!1,this.alignedSliding=!1,this.averagetargetduration=void 0,this.endCC=0,this.endSN=0,this.fragments=void 0,this.fragmentHint=void 0,this.partList=null,this.dateRanges=void 0,this.live=!0,this.ageHeader=0,this.advancedDateTime=void 0,this.updated=!0,this.advanced=!0,this.availabilityDelay=void 0,this.misses=0,this.startCC=0,this.startSN=0,this.startTimeOffset=null,this.targetduration=0,this.totalduration=0,this.type=null,this.url=void 0,this.m3u8="",this.version=null,this.canBlockReload=!1,this.canSkipUntil=0,this.canSkipDateRanges=!1,this.skippedSegments=0,this.recentlyRemovedDateranges=void 0,this.partHoldBack=0,this.holdBack=0,this.partTarget=0,this.preloadHint=void 0,this.renditionReports=void 0,this.tuneInGoal=0,this.deltaUpdateFailed=void 0,this.driftStartTime=0,this.driftEndTime=0,this.driftStart=0,this.driftEnd=0,this.encryptedFragments=void 0,this.playlistParsingError=null,this.variableList=null,this.hasVariableRefs=!1,this.fragments=[],this.encryptedFragments=[],this.dateRanges={},this.url=e}reloaded(e){if(!e){this.advanced=!0,this.updated=!0;return}const t=this.lastPartSn-e.lastPartSn,n=this.lastPartIndex-e.lastPartIndex;this.updated=this.endSN!==e.endSN||!!n||!!t||!this.live,this.advanced=this.endSN>e.endSN||t>0||t===0&&n>0,this.updated||this.advanced?this.misses=Math.floor(e.misses*.6):this.misses=e.misses+1,this.availabilityDelay=e.availabilityDelay}get hasProgramDateTime(){return this.fragments.length?I(this.fragments[this.fragments.length-1].programDateTime):!1}get levelTargetDuration(){return this.averagetargetduration||this.targetduration||de}get drift(){const e=this.driftEndTime-this.driftStartTime;return e>0?(this.driftEnd-this.driftStart)*1e3/e:1}get edge(){return this.partEnd||this.fragmentEnd}get partEnd(){var e;return(e=this.partList)!=null&&e.length?this.partList[this.partList.length-1].end:this.fragmentEnd}get fragmentEnd(){var e;return(e=this.fragments)!=null&&e.length?this.fragments[this.fragments.length-1].end:0}get age(){return this.advancedDateTime?Math.max(Date.now()-this.advancedDateTime,0)/1e3:0}get lastPartIndex(){var e;return(e=this.partList)!=null&&e.length?this.partList[this.partList.length-1].index:-1}get lastPartSn(){var e;return(e=this.partList)!=null&&e.length?this.partList[this.partList.length-1].fragment.sn:this.endSN}}function v(o){return Uint8Array.from(atob(o),e=>e.charCodeAt(0))}function _(o){const e=Le(o).subarray(0,16),t=new Uint8Array(16);return t.set(e,16-e.length),t}function V(o){const e=function(n,r,i){const s=n[r];n[r]=n[i],n[i]=s};e(o,0,3),e(o,1,2),e(o,4,5),e(o,6,7)}function J(o){const e=o.split(":");let t=null;if(e[0]==="data"&&e.length===2){const n=e[1].split(";"),r=n[n.length-1].split(",");if(r.length===2){const i=r[0]==="base64",s=r[1];i?(n.splice(-1,1),t=v(s)):t=_(s)}}return t}function Le(o){return Uint8Array.from(unescape(encodeURIComponent(o)),e=>e.charCodeAt(0))}const Oe=typeof self!="undefined"?self:void 0;var Ie={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},Ze={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.streamingkeydelivery",PLAYREADY:"com.microsoft.playready",WIDEVINE:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"};function ut(o){switch(o){case Ze.FAIRPLAY:return Ie.FAIRPLAY;case Ze.PLAYREADY:return Ie.PLAYREADY;case Ze.WIDEVINE:return Ie.WIDEVINE;case Ze.CLEARKEY:return Ie.CLEARKEY}}var ct={CENC:"1077efecc0b24d02ace33c1e52e2fb4b",CLEARKEY:"e2719d58a985b3c9781ab030af78d30e",FAIRPLAY:"94ce86fb07ff4f43adb893d2fa968ca2",PLAYREADY:"9a04f07998404286ab92e65be0885f95",WIDEVINE:"edef8ba979d64acea3c827dcd51d21ed"};function it(o){if(o===ct.WIDEVINE)return Ie.WIDEVINE;if(o===ct.PLAYREADY)return Ie.PLAYREADY;if(o===ct.CENC||o===ct.CLEARKEY)return Ie.CLEARKEY}function Nt(o){switch(o){case Ie.FAIRPLAY:return Ze.FAIRPLAY;case Ie.PLAYREADY:return Ze.PLAYREADY;case Ie.WIDEVINE:return Ze.WIDEVINE;case Ie.CLEARKEY:return Ze.CLEARKEY}}function qt(o){const{drmSystems:e,widevineLicenseUrl:t}=o,n=e?[Ie.FAIRPLAY,Ie.WIDEVINE,Ie.PLAYREADY,Ie.CLEARKEY].filter(r=>!!e[r]):[];return!n[Ie.WIDEVINE]&&t&&n.push(Ie.WIDEVINE),n}const nn=function(o){return Oe!=null&&(o=Oe.navigator)!=null&&o.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null}();function Dt(o,e,t,n){let r;switch(o){case Ie.FAIRPLAY:r=["cenc","sinf"];break;case Ie.WIDEVINE:case Ie.PLAYREADY:r=["cenc"];break;case Ie.CLEARKEY:r=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${o}`)}return $t(r,e,t,n)}function $t(o,e,t,n){return[{initDataTypes:o,persistentState:n.persistentState||"optional",distinctiveIdentifier:n.distinctiveIdentifier||"optional",sessionTypes:n.sessionTypes||[n.sessionType||"temporary"],audioCapabilities:e.map(i=>({contentType:`audio/mp4; codecs="${i}"`,robustness:n.audioRobustness||"",encryptionScheme:n.audioEncryptionScheme||null})),videoCapabilities:t.map(i=>({contentType:`video/mp4; codecs="${i}"`,robustness:n.videoRobustness||"",encryptionScheme:n.videoEncryptionScheme||null}))}]}function ot(o){const e=new Uint16Array(o.buffer,o.byteOffset,o.byteLength/2),t=String.fromCharCode.apply(null,Array.from(e)),n=t.substring(t.indexOf("<"),t.length),s=new DOMParser().parseFromString(n,"text/xml").getElementsByTagName("KID")[0];if(s){const c=s.childNodes[0]?s.childNodes[0].nodeValue:s.getAttribute("VALUE");if(c){const p=v(c).subarray(0,16);return V(p),p}}return null}function se(o,e,t){return Uint8Array.prototype.slice?o.slice(e,t):new Uint8Array(Array.prototype.slice.call(o,e,t))}const be=(o,e)=>e+10<=o.length&&o[e]===73&&o[e+1]===68&&o[e+2]===51&&o[e+3]<255&&o[e+4]<255&&o[e+6]<128&&o[e+7]<128&&o[e+8]<128&&o[e+9]<128,H=(o,e)=>e+10<=o.length&&o[e]===51&&o[e+1]===68&&o[e+2]===73&&o[e+3]<255&&o[e+4]<255&&o[e+6]<128&&o[e+7]<128&&o[e+8]<128&&o[e+9]<128,O=(o,e)=>{const t=e;let n=0;for(;be(o,e);){n+=10;const r=xe(o,e+6);n+=r,H(o,e+10)&&(n+=10),e+=n}if(n>0)return o.subarray(t,t+n)},xe=(o,e)=>{let t=0;return t=(o[e]&127)<<21,t|=(o[e+1]&127)<<14,t|=(o[e+2]&127)<<7,t|=o[e+3]&127,t},k=(o,e)=>be(o,e)&&xe(o,e+6)+10<=o.length-e,E=o=>{const e=G(o);for(let t=0;t<e.length;t++){const n=e[t];if(T(n))return Te(n)}},T=o=>o&&o.key==="PRIV"&&o.info==="com.apple.streaming.transportStreamTimestamp",X=o=>{const e=String.fromCharCode(o[0],o[1],o[2],o[3]),t=xe(o,4),n=10;return{type:e,size:t,data:o.subarray(n,n+t)}},G=o=>{let e=0;const t=[];for(;be(o,e);){const n=xe(o,e+6);e+=10;const r=e+n;for(;e+8<r;){const i=X(o.subarray(e)),s=K(i);s&&t.push(s),e+=i.size+10}H(o,e)&&(e+=10)}return t},K=o=>o.type==="PRIV"?we(o):o.type[0]==="W"?ke(o):Ke(o),we=o=>{if(o.size<2)return;const e=Ye(o.data,!0),t=new Uint8Array(o.data.subarray(e.length+1));return{key:o.type,info:e,data:t.buffer}},Ke=o=>{if(o.size<2)return;if(o.type==="TXXX"){let t=1;const n=Ye(o.data.subarray(t),!0);t+=n.length+1;const r=Ye(o.data.subarray(t));return{key:o.type,info:n,data:r}}const e=Ye(o.data.subarray(1));return{key:o.type,data:e}},ke=o=>{if(o.type==="WXXX"){if(o.size<2)return;let t=1;const n=Ye(o.data.subarray(t),!0);t+=n.length+1;const r=Ye(o.data.subarray(t));return{key:o.type,info:n,data:r}}const e=Ye(o.data);return{key:o.type,data:e}},Te=o=>{if(o.data.byteLength===8){const e=new Uint8Array(o.data),t=e[3]&1;let n=(e[4]<<23)+(e[5]<<15)+(e[6]<<7)+e[7];return n/=45,t&&(n+=4772185884e-2),Math.round(n)}},Ye=(o,e=!1)=>{const t=We();if(t){const A=t.decode(o);if(e){const F=A.indexOf("\0");return F!==-1?A.substring(0,F):A}return A.replace(/\0/g,"")}const n=o.length;let r,i,s,c="",p=0;for(;p<n;){if(r=o[p++],r===0&&e)return c;if(r===0||r===3)continue;switch(r>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:c+=String.fromCharCode(r);break;case 12:case 13:i=o[p++],c+=String.fromCharCode((r&31)<<6|i&63);break;case 14:i=o[p++],s=o[p++],c+=String.fromCharCode((r&15)<<12|(i&63)<<6|(s&63)<<0);break}}return c};let tt;function We(){if(!navigator.userAgent.includes("PlayStation 4"))return!tt&&typeof self.TextDecoder!="undefined"&&(tt=new self.TextDecoder("utf-8")),tt}const yt={hexDump:function(o){let e="";for(let t=0;t<o.length;t++){let n=o[t].toString(16);n.length<2&&(n="0"+n),e+=n}return e}},St=Math.pow(2,32)-1,pt=[].push,Lt={video:1,audio:2,id3:3,text:4};function _t(o){return String.fromCharCode.apply(null,o)}function w(o,e){const t=o[e]<<8|o[e+1];return t<0?65536+t:t}function D(o,e){const t=ce(o,e);return t<0?4294967296+t:t}function bt(o,e){let t=D(o,e);return t*=Math.pow(2,32),t+=D(o,e+4),t}function ce(o,e){return o[e]<<24|o[e+1]<<16|o[e+2]<<8|o[e+3]}function Me(o,e,t){o[e]=t>>24,o[e+1]=t>>16&255,o[e+2]=t>>8&255,o[e+3]=t&255}function pn(o){const e=o.byteLength;for(let t=0;t<e;){const n=D(o,t);if(n>8&&o[t+4]===109&&o[t+5]===111&&o[t+6]===111&&o[t+7]===102)return!0;t=n>1?t+n:e}return!1}function He(o,e){const t=[];if(!e.length)return t;const n=o.byteLength;for(let r=0;r<n;){const i=D(o,r),s=_t(o.subarray(r+4,r+8)),c=i>1?r+i:n;if(s===e[0])if(e.length===1)t.push(o.subarray(r+8,c));else{const p=He(o.subarray(r+8,c),e.slice(1));p.length&&pt.apply(t,p)}r=c}return t}function rt(o){const e=[],t=o[0];let n=8;const r=D(o,n);n+=4;let i=0,s=0;t===0?(i=D(o,n),s=D(o,n+4),n+=8):(i=bt(o,n),s=bt(o,n+8),n+=16),n+=2;let c=o.length+s;const p=w(o,n);n+=2;for(let A=0;A<p;A++){let F=n;const M=D(o,F);F+=4;const ve=M&2147483647;if((M&2147483648)>>>31===1)return b.warn("SIDX has hierarchical references (not supported)"),null;const Re=D(o,F);F+=4,e.push({referenceSize:ve,subsegmentDuration:Re,info:{duration:Re/r,start:c,end:c+ve-1}}),c+=ve,F+=4,n=F}return{earliestPresentationTime:i,timescale:r,version:t,referencesCount:p,references:e}}function Je(o){const e=[],t=He(o,["moov","trak"]);for(let r=0;r<t.length;r++){const i=t[r],s=He(i,["tkhd"])[0];if(s){let c=s[0];const p=D(s,c===0?12:20),A=He(i,["mdia","mdhd"])[0];if(A){c=A[0];const F=D(A,c===0?12:20),M=He(i,["mdia","hdlr"])[0];if(M){const ve=_t(M.subarray(8,12)),Fe={soun:te.AUDIO,vide:te.VIDEO}[ve];if(Fe){const Re=He(i,["mdia","minf","stbl","stsd"])[0],Pe=Ae(Re);e[p]={timescale:F,type:Fe},e[Fe]=$({timescale:F,id:p},Pe)}}}}}return He(o,["moov","mvex","trex"]).forEach(r=>{const i=D(r,4),s=e[i];s&&(s.default={duration:D(r,12),flags:D(r,20)})}),e}function Ae(o){const e=o.subarray(8),t=e.subarray(86),n=_t(e.subarray(4,8));let r=n;const i=n==="enca"||n==="encv";if(i){const c=He(e,[n])[0].subarray(n==="enca"?28:78);He(c,["sinf"]).forEach(A=>{const F=He(A,["schm"])[0];if(F){const M=_t(F.subarray(4,8));if(M==="cbcs"||M==="cenc"){const ve=He(A,["frma"])[0];ve&&(r=_t(ve))}}})}switch(r){case"avc1":case"avc2":case"avc3":case"avc4":{const s=He(t,["avcC"])[0];r+="."+ze(s[1])+ze(s[2])+ze(s[3]);break}case"mp4a":{const s=He(e,[n])[0],c=He(s.subarray(28),["esds"])[0];if(c&&c.length>12){let p=4;if(c[p++]!==3)break;p=De(c,p),p+=2;const A=c[p++];if(A&128&&(p+=2),A&64&&(p+=c[p++]),c[p++]!==4)break;p=De(c,p);const F=c[p++];if(F===64)r+="."+ze(F);else break;if(p+=12,c[p++]!==5)break;p=De(c,p);const M=c[p++];let ve=(M&248)>>3;ve===31&&(ve+=1+((M&7)<<3)+((c[p]&224)>>5)),r+="."+ve}break}case"hvc1":case"hev1":{const s=He(t,["hvcC"])[0],c=s[1],p=["","A","B","C"][c>>6],A=c&31,F=D(s,2),M=(c&32)>>5?"H":"L",ve=s[12],Fe=s.subarray(6,12);r+="."+p+A,r+="."+F.toString(16).toUpperCase(),r+="."+M+ve;let Re="";for(let Pe=Fe.length;Pe--;){const Ve=Fe[Pe];(Ve||Re)&&(Re="."+Ve.toString(16).toUpperCase()+Re)}r+=Re;break}case"dvh1":case"dvhe":{const s=He(t,["dvcC"])[0],c=s[2]>>1&127,p=s[2]<<5&32|s[3]>>3&31;r+="."+Xe(c)+"."+Xe(p);break}case"vp09":{const s=He(t,["vpcC"])[0],c=s[4],p=s[5],A=s[6]>>4&15;r+="."+Xe(c)+"."+Xe(p)+"."+Xe(A);break}case"av01":{const s=He(t,["av1C"])[0],c=s[1]>>>5,p=s[1]&31,A=s[2]>>>7?"H":"M",F=(s[2]&64)>>6,M=(s[2]&32)>>5,ve=c===2&&F?M?12:10:F?10:8,Fe=(s[2]&16)>>4,Re=(s[2]&8)>>3,Pe=(s[2]&4)>>2,Ve=s[2]&3;r+="."+c+"."+Xe(p)+A+"."+Xe(ve)+"."+Fe+"."+Re+Pe+Ve+"."+Xe(1)+"."+Xe(1)+"."+Xe(1)+"."+0;break}}return{codec:r,encrypted:i}}function De(o,e){const t=e+5;for(;o[e++]&128&&e<t;);return e}function ze(o){return("0"+o.toString(16).toUpperCase()).slice(-2)}function Xe(o){return(o<10?"0":"")+o}function ge(o,e){if(!o||!e)return o;const t=e.keyId;return t&&e.isCommonEncryption&&He(o,["moov","trak"]).forEach(r=>{const s=He(r,["mdia","minf","stbl","stsd"])[0].subarray(8);let c=He(s,["enca"]);const p=c.length>0;p||(c=He(s,["encv"])),c.forEach(A=>{const F=p?A.subarray(28):A.subarray(78);He(F,["sinf"]).forEach(ve=>{const Fe=an(ve);if(Fe){const Re=Fe.subarray(8,24);Re.some(Pe=>Pe!==0)||(b.log(`[eme] Patching keyId in 'enc${p?"a":"v"}>sinf>>tenc' box: ${yt.hexDump(Re)} -> ${yt.hexDump(t)}`),Fe.set(t,8))}})})}),o}function an(o){const e=He(o,["schm"])[0];if(e){const t=_t(e.subarray(4,8));if(t==="cbcs"||t==="cenc")return He(o,["schi","tenc"])[0]}return null}function $e(o,e){return He(e,["moof","traf"]).reduce((t,n)=>{const r=He(n,["tfdt"])[0],i=r[0],s=He(n,["tfhd"]).reduce((c,p)=>{const A=D(p,4),F=o[A];if(F){let M=D(r,4);if(i===1){if(M===St)return b.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"),c;M*=St+1,M+=D(r,8)}const ve=F.timescale||9e4,Fe=M/ve;if(I(Fe)&&(c===null||Fe<c))return Fe}return c},null);return s!==null&&I(s)&&(t===null||s<t)?s:t},null)}function bn(o,e){let t=0,n=0,r=0;const i=He(o,["moof","traf"]);for(let s=0;s<i.length;s++){const c=i[s],p=He(c,["tfhd"])[0],A=D(p,4),F=e[A];if(!F)continue;const M=F.default,ve=D(p,0)|(M==null?void 0:M.flags);let Fe=M==null?void 0:M.duration;ve&8&&(ve&2?Fe=D(p,12):Fe=D(p,8));const Re=F.timescale||9e4,Pe=He(c,["trun"]);for(let Ve=0;Ve<Pe.length;Ve++){if(t=Tn(Pe[Ve]),!t&&Fe){const ht=D(Pe[Ve],4);t=Fe*ht}F.type===te.VIDEO?n+=t/Re:F.type===te.AUDIO&&(r+=t/Re)}}if(n===0&&r===0){let s=1/0,c=0,p=0;const A=He(o,["sidx"]);for(let F=0;F<A.length;F++){const M=rt(A[F]);if(M!=null&&M.references){s=Math.min(s,M.earliestPresentationTime/M.timescale);const ve=M.references.reduce((Fe,Re)=>Fe+Re.info.duration||0,0);c=Math.max(c,ve+M.earliestPresentationTime/M.timescale),p=c-s}}if(p&&I(p))return p}return n||r}function Tn(o){const e=D(o,0);let t=8;e&1&&(t+=4),e&4&&(t+=4);let n=0;const r=D(o,4);for(let i=0;i<r;i++){if(e&256){const s=D(o,t);n+=s,t+=4}e&512&&(t+=4),e&1024&&(t+=4),e&2048&&(t+=4)}return n}function Wt(o,e,t){He(e,["moof","traf"]).forEach(n=>{He(n,["tfhd"]).forEach(r=>{const i=D(r,4),s=o[i];if(!s)return;const c=s.timescale||9e4;He(n,["tfdt"]).forEach(p=>{const A=p[0],F=t*c;if(F){let M=D(p,4);if(A===0)M-=F,M=Math.max(M,0),Me(p,4,M);else{M*=Math.pow(2,32),M+=D(p,8),M-=F,M=Math.max(M,0);const ve=Math.floor(M/(St+1)),Fe=Math.floor(M%(St+1));Me(p,4,ve),Me(p,8,Fe)}}})})})}function Yt(o){const e={valid:null,remainder:null},t=He(o,["moof"]);if(t.length<2)return e.remainder=o,e;const n=t[t.length-1];return e.valid=se(o,0,n.byteOffset-8),e.remainder=se(o,n.byteOffset-8),e}function Rt(o,e){const t=new Uint8Array(o.length+e.length);return t.set(o),t.set(e,o.length),t}function Ot(o,e){const t=[],n=e.samples,r=e.timescale,i=e.id;let s=!1;return He(n,["moof"]).map(p=>{const A=p.byteOffset-8;He(p,["traf"]).map(M=>{const ve=He(M,["tfdt"]).map(Fe=>{const Re=Fe[0];let Pe=D(Fe,4);return Re===1&&(Pe*=Math.pow(2,32),Pe+=D(Fe,8)),Pe/r})[0];return ve!==void 0&&(o=ve),He(M,["tfhd"]).map(Fe=>{const Re=D(Fe,4),Pe=D(Fe,0)&16777215,Ve=(Pe&1)!==0,ht=(Pe&2)!==0,zt=(Pe&8)!==0;let jt=0;const xn=(Pe&16)!==0;let Zt=0;const Un=(Pe&32)!==0;let yn=8;Re===i&&(Ve&&(yn+=8),ht&&(yn+=4),zt&&(jt=D(Fe,yn),yn+=4),xn&&(Zt=D(Fe,yn),yn+=4),Un&&(yn+=4),e.type==="video"&&(s=Ge(e.codec)),He(M,["trun"]).map(Yn=>{const Ar=Yn[0],kn=D(Yn,0)&16777215,qn=(kn&1)!==0;let ci=0;const Dr=(kn&4)!==0,si=(kn&256)!==0;let ti=0;const Gr=(kn&512)!==0;let Bi=0;const Yi=(kn&1024)!==0,Lr=(kn&2048)!==0;let Fr=0;const Hi=D(Yn,4);let Si=8;qn&&(ci=D(Yn,Si),Si+=4),Dr&&(Si+=4);let Gi=ci+A;for(let Ra=0;Ra<Hi;Ra++){if(si?(ti=D(Yn,Si),Si+=4):ti=jt,Gr?(Bi=D(Yn,Si),Si+=4):Bi=Zt,Yi&&(Si+=4),Lr&&(Ar===0?Fr=D(Yn,Si):Fr=ce(Yn,Si),Si+=4),e.type===te.VIDEO){let Ua=0;for(;Ua<Bi;){const za=D(n,Gi);if(Gi+=4,xt(s,n[Gi])){const is=n.subarray(Gi,Gi+za);At(is,s?2:1,o+Fr/r,t)}Gi+=za,Ua+=za+4}}o+=ti/r}}))})})}),t}function Ge(o){if(!o)return!1;const e=o.indexOf("."),t=e<0?o:o.substring(0,e);return t==="hvc1"||t==="hev1"||t==="dvh1"||t==="dvhe"}function xt(o,e){if(o){const t=e>>1&63;return t===39||t===40}else return(e&31)===6}function At(o,e,t,n){const r=Ue(o);let i=0;i+=e;let s=0,c=0,p=0;for(;i<r.length;){s=0;do{if(i>=r.length)break;p=r[i++],s+=p}while(p===255);c=0;do{if(i>=r.length)break;p=r[i++],c+=p}while(p===255);const A=r.length-i;let F=i;if(c<A)i+=c;else if(c>A){b.error(`Malformed SEI payload. ${c} is too small, only ${A} bytes left to parse.`);break}if(s===4){if(r[F++]===181){const ve=w(r,F);if(F+=2,ve===49){const Fe=D(r,F);if(F+=4,Fe===1195456820){const Re=r[F++];if(Re===3){const Pe=r[F++],Ve=31&Pe,ht=64&Pe,zt=ht?2+Ve*3:0,jt=new Uint8Array(zt);if(ht){jt[0]=Pe;for(let xn=1;xn<zt;xn++)jt[xn]=r[F++]}n.push({type:Re,payloadType:s,pts:t,bytes:jt})}}}}}else if(s===5&&c>16){const M=[];for(let Re=0;Re<16;Re++){const Pe=r[F++].toString(16);M.push(Pe.length==1?"0"+Pe:Pe),(Re===3||Re===5||Re===7||Re===9)&&M.push("-")}const ve=c-16,Fe=new Uint8Array(ve);for(let Re=0;Re<ve;Re++)Fe[Re]=r[F++];n.push({payloadType:s,pts:t,uuid:M.join(""),userData:Ye(Fe),userDataBytes:Fe})}}}function Ue(o){const e=o.byteLength,t=[];let n=1;for(;n<e-2;)o[n]===0&&o[n+1]===0&&o[n+2]===3?(t.push(n+2),n+=2):n++;if(t.length===0)return o;const r=e-t.length,i=new Uint8Array(r);let s=0;for(n=0;n<r;s++,n++)s===t[0]&&(s++,t.shift()),i[n]=o[s];return i}function Ce(o){const e=o[0];let t="",n="",r=0,i=0,s=0,c=0,p=0,A=0;if(e===0){for(;_t(o.subarray(A,A+1))!=="\0";)t+=_t(o.subarray(A,A+1)),A+=1;for(t+=_t(o.subarray(A,A+1)),A+=1;_t(o.subarray(A,A+1))!=="\0";)n+=_t(o.subarray(A,A+1)),A+=1;n+=_t(o.subarray(A,A+1)),A+=1,r=D(o,12),i=D(o,16),c=D(o,20),p=D(o,24),A=28}else if(e===1){A+=4,r=D(o,A),A+=4;const M=D(o,A);A+=4;const ve=D(o,A);for(A+=4,s=xl(2,32)*M+ve,z(s)||(s=Number.MAX_SAFE_INTEGER,b.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),c=D(o,A),A+=4,p=D(o,A),A+=4;_t(o.subarray(A,A+1))!=="\0";)t+=_t(o.subarray(A,A+1)),A+=1;for(t+=_t(o.subarray(A,A+1)),A+=1;_t(o.subarray(A,A+1))!=="\0";)n+=_t(o.subarray(A,A+1)),A+=1;n+=_t(o.subarray(A,A+1)),A+=1}const F=o.subarray(A,o.byteLength);return{schemeIdUri:t,value:n,timeScale:r,presentationTime:s,presentationTimeDelta:i,eventDuration:c,id:p,payload:F}}function mt(o,...e){const t=e.length;let n=8,r=t;for(;r--;)n+=e[r].byteLength;const i=new Uint8Array(n);for(i[0]=n>>24&255,i[1]=n>>16&255,i[2]=n>>8&255,i[3]=n&255,i.set(o,4),r=0,n=8;r<t;r++)i.set(e[r],n),n+=e[r].byteLength;return i}function lt(o,e,t){if(o.byteLength!==16)throw new RangeError("Invalid system id");let n,r;if(e){n=1,r=new Uint8Array(e.length*16);for(let c=0;c<e.length;c++){const p=e[c];if(p.byteLength!==16)throw new RangeError("Invalid key");r.set(p,c*16)}}else n=0,r=new Uint8Array;let i;n>0?(i=new Uint8Array(4),e.length>0&&new DataView(i.buffer).setUint32(0,e.length,!1)):i=new Uint8Array;const s=new Uint8Array(4);return t&&t.byteLength>0&&new DataView(s.buffer).setUint32(0,t.byteLength,!1),mt([112,115,115,104],new Uint8Array([n,0,0,0]),o,i,r,s,t||new Uint8Array)}function Pt(o){const e=[];if(o instanceof ArrayBuffer){const t=o.byteLength;let n=0;for(;n+32<t;){const r=new DataView(o,n),i=Ht(r);e.push(i),n+=i.size}}return e}function Ht(o){const e=o.getUint32(0),t=o.byteOffset,n=o.byteLength;if(n<e)return{offset:t,size:n};if(o.getUint32(4)!==1886614376)return{offset:t,size:e};const i=o.getUint32(8)>>>24;if(i!==0&&i!==1)return{offset:t,size:e};const s=o.buffer,c=yt.hexDump(new Uint8Array(s,t+12,16)),p=o.getUint32(28);let A=null,F=null;if(i===0){if(e-32<p||p<22)return{offset:t,size:e};F=new Uint8Array(s,t+32,p)}else if(i===1){if(!p||n<t+32+p*16+16)return{offset:t,size:e};A=[];for(let M=0;M<p;M++)A.push(new Uint8Array(s,t+32+M*16,16))}return{version:i,systemId:c,kids:A,data:F,offset:t,size:e}}let tn={};class Ut{static clearKeyUriToKeyIdMap(){tn={}}constructor(e,t,n,r=[1],i=null){this.uri=void 0,this.method=void 0,this.keyFormat=void 0,this.keyFormatVersions=void 0,this.encrypted=void 0,this.isCommonEncryption=void 0,this.iv=null,this.key=null,this.keyId=null,this.pssh=null,this.method=e,this.uri=t,this.keyFormat=n,this.keyFormatVersions=r,this.iv=i,this.encrypted=e?e!=="NONE":!1,this.isCommonEncryption=this.encrypted&&e!=="AES-128"}isSupported(){if(this.method){if(this.method==="AES-128"||this.method==="NONE")return!0;if(this.keyFormat==="identity")return this.method==="SAMPLE-AES";switch(this.keyFormat){case Ze.FAIRPLAY:case Ze.WIDEVINE:case Ze.PLAYREADY:case Ze.CLEARKEY:return["ISO-23001-7","SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)!==-1}}return!1}getDecryptData(e){if(!this.encrypted||!this.uri)return null;if(this.method==="AES-128"&&this.uri&&!this.iv){typeof e!="number"&&(this.method==="AES-128"&&!this.iv&&b.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),e=0);const n=sn(e);return new Ut(this.method,this.uri,"identity",this.keyFormatVersions,n)}const t=J(this.uri);if(t)switch(this.keyFormat){case Ze.WIDEVINE:this.pssh=t,t.length>=22&&(this.keyId=t.subarray(t.length-22,t.length-6));break;case Ze.PLAYREADY:{const n=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=lt(n,null,t),this.keyId=ot(t);break}default:{let n=t.subarray(0,16);if(n.length!==16){const r=new Uint8Array(16);r.set(n,16-n.length),n=r}this.keyId=n;break}}if(!this.keyId||this.keyId.byteLength!==16){let n=tn[this.uri];if(!n){const r=Object.keys(tn).length%Number.MAX_SAFE_INTEGER;n=new Uint8Array(16),new DataView(n.buffer,12,4).setUint32(0,r),tn[this.uri]=n}this.keyId=n}return this}}function sn(o){const e=new Uint8Array(16);for(let t=12;t<16;t++)e[t]=o>>8*(15-t)&255;return e}const dn=/\{\$([a-zA-Z0-9-_]+)\}/g;function Mt(o){return dn.test(o)}function It(o,e,t){if(o.variableList!==null||o.hasVariableRefs)for(let n=t.length;n--;){const r=t[n],i=e[r];i&&(e[r]=un(o,i))}}function un(o,e){if(o.variableList!==null||o.hasVariableRefs){const t=o.variableList;return e.replace(dn,n=>{const r=n.substring(2,n.length-1),i=t==null?void 0:t[r];return i===void 0?(o.playlistParsingError||(o.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${r}"`)),n):i})}return e}function ln(o,e,t){let n=o.variableList;n||(o.variableList=n={});let r,i;if("QUERYPARAM"in e){r=e.QUERYPARAM;try{const s=new self.URL(t).searchParams;if(s.has(r))i=s.get(r);else throw new Error(`"${r}" does not match any query parameter in URI: "${t}"`)}catch(s){o.playlistParsingError||(o.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${s.message}`))}}else r=e.NAME,i=e.VALUE;r in n?o.playlistParsingError||(o.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${r}"`)):n[r]=i||""}function hn(o,e,t){const n=e.IMPORT;if(t&&n in t){let r=o.variableList;r||(o.variableList=r={}),r[n]=t[n]}else o.playlistParsingError||(o.playlistParsingError=new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${n}"`))}function _n(o=!0){return typeof self=="undefined"?void 0:(o||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function ir(o){return typeof self!="undefined"&&o===self.ManagedMediaSource}const Bn={audio:{a3ds:1,"ac-3":.95,"ac-4":1,alac:.9,alaw:1,dra1:1,"dts+":1,"dts-":1,dtsc:1,dtse:1,dtsh:1,"ec-3":.9,enca:1,fLaC:.9,flac:.9,FLAC:.9,g719:1,g726:1,m4ae:1,mha1:1,mha2:1,mhm1:1,mhm2:1,mlpa:1,mp4a:1,"raw ":1,Opus:1,opus:1,samr:1,sawb:1,sawp:1,sevc:1,sqcp:1,ssmv:1,twos:1,ulaw:1},video:{avc1:1,avc2:1,avc3:1,avc4:1,avcp:1,av01:.8,drac:1,dva1:1,dvav:1,dvh1:.7,dvhe:.7,encv:1,hev1:.75,hvc1:.75,mjp2:1,mp4v:1,mvc1:1,mvc2:1,mvc3:1,mvc4:1,resv:1,rv60:1,s263:1,svc1:1,svc2:1,"vc-1":1,vp08:1,vp09:.9},text:{stpp:1,wvtt:1}};function rn(o,e){const t=Bn[e];return!!t&&!!t[o.slice(0,4)]}function dt(o,e,t=!0){return!o.split(",").some(n=>!gt(n,e,t))}function gt(o,e,t=!0){var n;const r=_n(t);return(n=r==null?void 0:r.isTypeSupported(kt(o,e)))!=null?n:!1}function kt(o,e){return`${e}/mp4;codecs="${o}"`}function Vt(o){if(o){const e=o.substring(0,4);return Bn.video[e]}return 2}function Ft(o){return o.split(",").reduce((e,t)=>{const n=Bn.video[t];return n?(n*2+e)/(e?3:2):(Bn.audio[t]+e)/(e?2:1)},0)}const Qt={};function Gt(o,e=!0){if(Qt[o])return Qt[o];const t={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"]}[o];for(let n=0;n<t.length;n++)if(gt(t[n],"audio",e))return Qt[o]=t[n],t[n];return o}const vn=/flac|opus/i;function En(o,e=!0){return o.replace(vn,t=>Gt(t.toLowerCase(),e))}function Fn(o,e){return o&&o!=="mp4a"?o:e&&e.split(",")[0]}function tr(o){const e=o.split(",");for(let t=0;t<e.length;t++){const n=e[t].split(".");if(n.length>2){let r=n.shift()+".";r+=parseInt(n.shift()).toString(16),r+=("000"+parseInt(n.shift()).toString(16)).slice(-4),e[t]=r}}return e.join(",")}const Xn=/#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT-X-(SESSION-DATA|SESSION-KEY|DEFINE|CONTENT-STEERING|START):([^\r\n]*)[\r\n]+/g,ar=/#EXT-X-MEDIA:(.*)/g,Dn=/^#EXT(?:INF|-X-TARGETDURATION):/m,wn=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[^\r\n]*)/.source,/#EXT-X-BYTERANGE:*(.+)/.source,/#EXT-X-PROGRAM-DATE-TIME:(.+)/.source,/#.*/.source].join("|"),"g"),gr=new RegExp([/#(EXTM3U)/.source,/#EXT-X-(DATERANGE|DEFINE|KEY|MAP|PART|PART-INF|PLAYLIST-TYPE|PRELOAD-HINT|RENDITION-REPORT|SERVER-CONTROL|SKIP|START):(.+)/.source,/#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION): *(\d+)/.source,/#EXT-X-(DISCONTINUITY|ENDLIST|GAP|INDEPENDENT-SEGMENTS)/.source,/(#)([^:]*):(.*)/.source,/(#)(.*)(?:.*)\r?\n?/.source].join("|"));class Gn{static findGroup(e,t){for(let n=0;n<e.length;n++){const r=e[n];if(r.id===t)return r}}static resolve(e,t){return ee.buildAbsoluteURL(t,e,{alwaysNormalize:!0})}static isMediaPlaylist(e){return Dn.test(e)}static parseMasterPlaylist(e,t){const n=Mt(e),r={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:n},i=[];Xn.lastIndex=0;let s;for(;(s=Xn.exec(e))!=null;)if(s[1]){var c;const A=new j(s[1]);It(r,A,["CODECS","SUPPLEMENTAL-CODECS","ALLOWED-CPC","PATHWAY-ID","STABLE-VARIANT-ID","AUDIO","VIDEO","SUBTITLES","CLOSED-CAPTIONS","NAME"]);const F=un(r,s[2]),M={attrs:A,bitrate:A.decimalInteger("BANDWIDTH")||A.decimalInteger("AVERAGE-BANDWIDTH"),name:A.NAME,url:Gn.resolve(F,t)},ve=A.decimalResolution("RESOLUTION");ve&&(M.width=ve.width,M.height=ve.height),mr(A.CODECS,M),(c=M.unknownCodecs)!=null&&c.length||i.push(M),r.levels.push(M)}else if(s[3]){const A=s[3],F=s[4];switch(A){case"SESSION-DATA":{const M=new j(F);It(r,M,["DATA-ID","LANGUAGE","VALUE","URI"]);const ve=M["DATA-ID"];ve&&(r.sessionData===null&&(r.sessionData={}),r.sessionData[ve]=M);break}case"SESSION-KEY":{const M=Cr(F,t,r);M.encrypted&&M.isSupported()?(r.sessionKeys===null&&(r.sessionKeys=[]),r.sessionKeys.push(M)):b.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${F}"`);break}case"DEFINE":{{const M=new j(F);It(r,M,["NAME","VALUE","QUERYPARAM"]),ln(r,M,t)}break}case"CONTENT-STEERING":{const M=new j(F);It(r,M,["SERVER-URI","PATHWAY-ID"]),r.contentSteering={uri:Gn.resolve(M["SERVER-URI"],t),pathwayId:M["PATHWAY-ID"]||"."};break}case"START":{r.startTimeOffset=er(F);break}}}const p=i.length>0&&i.length<r.levels.length;return r.levels=p?i:r.levels,r.levels.length===0&&(r.playlistParsingError=new Error("no levels found in manifest")),r}static parseMasterPlaylistMedia(e,t,n){let r;const i={},s=n.levels,c={AUDIO:s.map(A=>({id:A.attrs.AUDIO,audioCodec:A.audioCodec})),SUBTITLES:s.map(A=>({id:A.attrs.SUBTITLES,textCodec:A.textCodec})),"CLOSED-CAPTIONS":[]};let p=0;for(ar.lastIndex=0;(r=ar.exec(e))!==null;){const A=new j(r[1]),F=A.TYPE;if(F){const M=c[F],ve=i[F]||[];i[F]=ve,It(n,A,["URI","GROUP-ID","LANGUAGE","ASSOC-LANGUAGE","STABLE-RENDITION-ID","NAME","INSTREAM-ID","CHARACTERISTICS","CHANNELS"]);const Fe=A.LANGUAGE,Re=A["ASSOC-LANGUAGE"],Pe=A.CHANNELS,Ve=A.CHARACTERISTICS,ht=A["INSTREAM-ID"],zt={attrs:A,bitrate:0,id:p++,groupId:A["GROUP-ID"]||"",name:A.NAME||Fe||"",type:F,default:A.bool("DEFAULT"),autoselect:A.bool("AUTOSELECT"),forced:A.bool("FORCED"),lang:Fe,url:A.URI?Gn.resolve(A.URI,t):""};if(Re&&(zt.assocLang=Re),Pe&&(zt.channels=Pe),Ve&&(zt.characteristics=Ve),ht&&(zt.instreamId=ht),M!=null&&M.length){const jt=Gn.findGroup(M,zt.groupId)||M[0];Sr(zt,jt,"audioCodec"),Sr(zt,jt,"textCodec")}ve.push(zt)}}return i}static parseLevelPlaylist(e,t,n,r,i,s){const c=new ie(t),p=c.fragments;let A=null,F=0,M=0,ve=0,Fe=0,Re=null,Pe=new pe(r,t),Ve,ht,zt,jt=-1,xn=!1,Zt=null;for(wn.lastIndex=0,c.m3u8=e,c.hasVariableRefs=Mt(e);(Ve=wn.exec(e))!==null;){xn&&(xn=!1,Pe=new pe(r,t),Pe.start=ve,Pe.sn=F,Pe.cc=Fe,Pe.level=n,A&&(Pe.initSegment=A,Pe.rawProgramDateTime=A.rawProgramDateTime,A.rawProgramDateTime=null,Zt&&(Pe.setByteRange(Zt),Zt=null)));const Ar=Ve[1];if(Ar){Pe.duration=parseFloat(Ar);const kn=(" "+Ve[2]).slice(1);Pe.title=kn||null,Pe.tagList.push(kn?["INF",Ar,kn]:["INF",Ar])}else if(Ve[3]){if(I(Pe.duration)){Pe.start=ve,zt&&Qn(Pe,zt,c),Pe.sn=F,Pe.level=n,Pe.cc=Fe,p.push(Pe);const kn=(" "+Ve[3]).slice(1);Pe.relurl=un(c,kn),kr(Pe,Re),Re=Pe,ve+=Pe.duration,F++,M=0,xn=!0}}else if(Ve[4]){const kn=(" "+Ve[4]).slice(1);Re?Pe.setByteRange(kn,Re):Pe.setByteRange(kn)}else if(Ve[5])Pe.rawProgramDateTime=(" "+Ve[5]).slice(1),Pe.tagList.push(["PROGRAM-DATE-TIME",Pe.rawProgramDateTime]),jt===-1&&(jt=p.length);else{if(Ve=Ve[0].match(gr),!Ve){b.warn("No matches on slow regex match for level playlist!");continue}for(ht=1;ht<Ve.length&&typeof Ve[ht]=="undefined";ht++);const kn=(" "+Ve[ht]).slice(1),qn=(" "+Ve[ht+1]).slice(1),ci=Ve[ht+2]?(" "+Ve[ht+2]).slice(1):"";switch(kn){case"PLAYLIST-TYPE":c.type=qn.toUpperCase();break;case"MEDIA-SEQUENCE":F=c.startSN=parseInt(qn);break;case"SKIP":{const Dr=new j(qn);It(c,Dr,["RECENTLY-REMOVED-DATERANGES"]);const si=Dr.decimalInteger("SKIPPED-SEGMENTS");if(I(si)){c.skippedSegments=si;for(let Gr=si;Gr--;)p.unshift(null);F+=si}const ti=Dr.enumeratedString("RECENTLY-REMOVED-DATERANGES");ti&&(c.recentlyRemovedDateranges=ti.split(" "));break}case"TARGETDURATION":c.targetduration=Math.max(parseInt(qn),1);break;case"VERSION":c.version=parseInt(qn);break;case"INDEPENDENT-SEGMENTS":case"EXTM3U":break;case"ENDLIST":c.live=!1;break;case"#":(qn||ci)&&Pe.tagList.push(ci?[qn,ci]:[qn]);break;case"DISCONTINUITY":Fe++,Pe.tagList.push(["DIS"]);break;case"GAP":Pe.gap=!0,Pe.tagList.push([kn]);break;case"BITRATE":Pe.tagList.push([kn,qn]);break;case"DATERANGE":{const Dr=new j(qn);It(c,Dr,["ID","CLASS","START-DATE","END-DATE","SCTE35-CMD","SCTE35-OUT","SCTE35-IN"]),It(c,Dr,Dr.clientAttrs);const si=new fe(Dr,c.dateRanges[Dr.ID]);si.isValid||c.skippedSegments?c.dateRanges[si.id]=si:b.warn(`Ignoring invalid DATERANGE tag: "${qn}"`),Pe.tagList.push(["EXT-X-DATERANGE",qn]);break}case"DEFINE":{{const Dr=new j(qn);It(c,Dr,["NAME","VALUE","IMPORT","QUERYPARAM"]),"IMPORT"in Dr?hn(c,Dr,s):ln(c,Dr,t)}break}case"DISCONTINUITY-SEQUENCE":Fe=parseInt(qn);break;case"KEY":{const Dr=Cr(qn,t,c);if(Dr.isSupported()){if(Dr.method==="NONE"){zt=void 0;break}zt||(zt={}),zt[Dr.keyFormat]&&(zt=a({},zt)),zt[Dr.keyFormat]=Dr}else b.warn(`[Keys] Ignoring invalid EXT-X-KEY tag: "${qn}"`);break}case"START":c.startTimeOffset=er(qn);break;case"MAP":{const Dr=new j(qn);if(It(c,Dr,["BYTERANGE","URI"]),Pe.duration){const si=new pe(r,t);Jr(si,Dr,n,zt),A=si,Pe.initSegment=A,A.rawProgramDateTime&&!Pe.rawProgramDateTime&&(Pe.rawProgramDateTime=A.rawProgramDateTime)}else{const si=Pe.byteRangeEndOffset;if(si){const ti=Pe.byteRangeStartOffset;Zt=`${si-ti}@${ti}`}else Zt=null;Jr(Pe,Dr,n,zt),A=Pe,xn=!0}break}case"SERVER-CONTROL":{const Dr=new j(qn);c.canBlockReload=Dr.bool("CAN-BLOCK-RELOAD"),c.canSkipUntil=Dr.optionalFloat("CAN-SKIP-UNTIL",0),c.canSkipDateRanges=c.canSkipUntil>0&&Dr.bool("CAN-SKIP-DATERANGES"),c.partHoldBack=Dr.optionalFloat("PART-HOLD-BACK",0),c.holdBack=Dr.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{const Dr=new j(qn);c.partTarget=Dr.decimalFloatingPoint("PART-TARGET");break}case"PART":{let Dr=c.partList;Dr||(Dr=c.partList=[]);const si=M>0?Dr[Dr.length-1]:void 0,ti=M++,Gr=new j(qn);It(c,Gr,["BYTERANGE","URI"]);const Bi=new Q(Gr,Pe,t,ti,si);Dr.push(Bi),Pe.duration+=Bi.duration;break}case"PRELOAD-HINT":{const Dr=new j(qn);It(c,Dr,["URI"]),c.preloadHint=Dr;break}case"RENDITION-REPORT":{const Dr=new j(qn);It(c,Dr,["URI"]),c.renditionReports=c.renditionReports||[],c.renditionReports.push(Dr);break}default:b.warn(`line parsed but not handled: ${Ve}`);break}}}Re&&!Re.relurl?(p.pop(),ve-=Re.duration,c.partList&&(c.fragmentHint=Re)):c.partList&&(kr(Pe,Re),Pe.cc=Fe,c.fragmentHint=Pe,zt&&Qn(Pe,zt,c));const Un=p.length,yn=p[0],Yn=p[Un-1];if(ve+=c.skippedSegments*c.targetduration,ve>0&&Un&&Yn){c.averagetargetduration=ve/Un;const Ar=Yn.sn;c.endSN=Ar!=="initSegment"?Ar:0,c.live||(Yn.endList=!0),yn&&(c.startCC=yn.cc)}else c.endSN=0,c.startCC=0;return c.fragmentHint&&(ve+=c.fragmentHint.duration),c.totalduration=ve,c.endCC=Fe,jt>0&&nr(p,jt),c}}function Cr(o,e,t){var n,r;const i=new j(o);It(t,i,["KEYFORMAT","KEYFORMATVERSIONS","URI","IV","URI"]);const s=(n=i.METHOD)!=null?n:"",c=i.URI,p=i.hexadecimalInteger("IV"),A=i.KEYFORMATVERSIONS,F=(r=i.KEYFORMAT)!=null?r:"identity";c&&i.IV&&!p&&b.error(`Invalid IV: ${i.IV}`);const M=c?Gn.resolve(c,e):"",ve=(A||"1").split("/").map(Number).filter(Number.isFinite);return new Ut(s,M,F,ve,p)}function er(o){const t=new j(o).decimalFloatingPoint("TIME-OFFSET");return I(t)?t:null}function mr(o,e){let t=(o||"").split(/[ ,]+/).filter(n=>n);["video","audio","text"].forEach(n=>{const r=t.filter(i=>rn(i,n));r.length&&(e[`${n}Codec`]=r.join(","),t=t.filter(i=>r.indexOf(i)===-1))}),e.unknownCodecs=t}function Sr(o,e,t){const n=e[t];n&&(o[t]=n)}function nr(o,e){let t=o[e];for(let n=e;n--;){const r=o[n];if(!r)return;r.programDateTime=t.programDateTime-r.duration*1e3,t=r}}function kr(o,e){o.rawProgramDateTime?o.programDateTime=Date.parse(o.rawProgramDateTime):e!=null&&e.programDateTime&&(o.programDateTime=e.endProgramDateTime),I(o.programDateTime)||(o.programDateTime=null,o.rawProgramDateTime=null)}function Jr(o,e,t,n){o.relurl=e.URI,e.BYTERANGE&&o.setByteRange(e.BYTERANGE),o.level=t,o.sn="initSegment",n&&(o.levelkeys=n),o.initSegment=null}function Qn(o,e,t){o.levelkeys=e;const{encryptedFragments:n}=t;(!n.length||n[n.length-1].levelkeys!==e)&&Object.keys(e).some(r=>e[r].isCommonEncryption)&&n.push(o)}var Cn={MANIFEST:"manifest",LEVEL:"level",AUDIO_TRACK:"audioTrack",SUBTITLE_TRACK:"subtitleTrack"},at={MAIN:"main",AUDIO:"audio",SUBTITLE:"subtitle"};function Kn(o){const{type:e}=o;switch(e){case Cn.AUDIO_TRACK:return at.AUDIO;case Cn.SUBTITLE_TRACK:return at.SUBTITLE;default:return at.MAIN}}function lr(o,e){let t=o.url;return(t===void 0||t.indexOf("data:")===0)&&(t=e.url),t}class Rr{constructor(e){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.hls=e,this.registerListeners()}startLoad(e){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:e}=this;e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.LEVEL_LOADING,this.onLevelLoading,this),e.on(u.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),e.on(u.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this)}unregisterListeners(){const{hls:e}=this;e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.LEVEL_LOADING,this.onLevelLoading,this),e.off(u.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),e.off(u.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this)}createInternalLoader(e){const t=this.hls.config,n=t.pLoader,r=t.loader,i=n||r,s=new i(t);return this.loaders[e.type]=s,s}getInternalLoader(e){return this.loaders[e.type]}resetInternalLoader(e){this.loaders[e]&&delete this.loaders[e]}destroyInternalLoaders(){for(const e in this.loaders){const t=this.loaders[e];t&&t.destroy(),this.resetInternalLoader(e)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(e,t){const{url:n}=t;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:Cn.MANIFEST,url:n,deliveryDirectives:null})}onLevelLoading(e,t){const{id:n,level:r,pathwayId:i,url:s,deliveryDirectives:c}=t;this.load({id:n,level:r,pathwayId:i,responseType:"text",type:Cn.LEVEL,url:s,deliveryDirectives:c})}onAudioTrackLoading(e,t){const{id:n,groupId:r,url:i,deliveryDirectives:s}=t;this.load({id:n,groupId:r,level:null,responseType:"text",type:Cn.AUDIO_TRACK,url:i,deliveryDirectives:s})}onSubtitleTrackLoading(e,t){const{id:n,groupId:r,url:i,deliveryDirectives:s}=t;this.load({id:n,groupId:r,level:null,responseType:"text",type:Cn.SUBTITLE_TRACK,url:i,deliveryDirectives:s})}load(e){var t;const n=this.hls.config;let r=this.getInternalLoader(e);if(r){const A=r.context;if(A&&A.url===e.url&&A.level===e.level){b.trace("[playlist-loader]: playlist request ongoing");return}b.log(`[playlist-loader]: aborting previous loader for type: ${e.type}`),r.abort()}let i;if(e.type===Cn.MANIFEST?i=n.manifestLoadPolicy.default:i=a({},n.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),r=this.createInternalLoader(e),I((t=e.deliveryDirectives)==null?void 0:t.part)){let A;if(e.type===Cn.LEVEL&&e.level!==null?A=this.hls.levels[e.level].details:e.type===Cn.AUDIO_TRACK&&e.id!==null?A=this.hls.audioTracks[e.id].details:e.type===Cn.SUBTITLE_TRACK&&e.id!==null&&(A=this.hls.subtitleTracks[e.id].details),A){const F=A.partTarget,M=A.targetduration;if(F&&M){const ve=Math.max(F*3,M*.8)*1e3;i=a({},i,{maxTimeToFirstByteMs:Math.min(ve,i.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(ve,i.maxTimeToFirstByteMs)})}}}const s=i.errorRetry||i.timeoutRetry||{},c={loadPolicy:i,timeout:i.maxLoadTimeMs,maxRetry:s.maxNumRetry||0,retryDelay:s.retryDelayMs||0,maxRetryDelay:s.maxRetryDelayMs||0},p={onSuccess:(A,F,M,ve)=>{const Fe=this.getInternalLoader(M);this.resetInternalLoader(M.type);const Re=A.data;if(Re.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(A,M,new Error("no EXTM3U delimiter"),ve||null,F);return}F.parsing.start=performance.now(),Gn.isMediaPlaylist(Re)?this.handleTrackOrLevelPlaylist(A,F,M,ve||null,Fe):this.handleMasterPlaylist(A,F,M,ve)},onError:(A,F,M,ve)=>{this.handleNetworkError(F,M,!1,A,ve)},onTimeout:(A,F,M)=>{this.handleNetworkError(F,M,!0,void 0,A)}};r.load(e,c,p)}handleMasterPlaylist(e,t,n,r){const i=this.hls,s=e.data,c=lr(e,n),p=Gn.parseMasterPlaylist(s,c);if(p.playlistParsingError){this.handleManifestParsingError(e,n,p.playlistParsingError,r,t);return}const{contentSteering:A,levels:F,sessionData:M,sessionKeys:ve,startTimeOffset:Fe,variableList:Re}=p;this.variableList=Re;const{AUDIO:Pe=[],SUBTITLES:Ve,"CLOSED-CAPTIONS":ht}=Gn.parseMasterPlaylistMedia(s,c,p);Pe.length&&!Pe.some(jt=>!jt.url)&&F[0].audioCodec&&!F[0].attrs.AUDIO&&(b.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),Pe.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new j({}),bitrate:0,url:""})),i.trigger(u.MANIFEST_LOADED,{levels:F,audioTracks:Pe,subtitles:Ve,captions:ht,contentSteering:A,url:c,stats:t,networkDetails:r,sessionData:M,sessionKeys:ve,startTimeOffset:Fe,variableList:Re})}handleTrackOrLevelPlaylist(e,t,n,r,i){const s=this.hls,{id:c,level:p,type:A}=n,F=lr(e,n),M=0,ve=I(p)?p:I(c)?c:0,Fe=Kn(n),Re=Gn.parseLevelPlaylist(e.data,F,ve,Fe,M,this.variableList);if(A===Cn.MANIFEST){const Pe={attrs:new j({}),bitrate:0,details:Re,name:"",url:F};s.trigger(u.MANIFEST_LOADED,{levels:[Pe],audioTracks:[],url:F,stats:t,networkDetails:r,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}t.parsing.end=performance.now(),n.levelDetails=Re,this.handlePlaylistLoaded(Re,e,t,n,r,i)}handleManifestParsingError(e,t,n,r,i){this.hls.trigger(u.ERROR,{type:x.NETWORK_ERROR,details:m.MANIFEST_PARSING_ERROR,fatal:t.type===Cn.MANIFEST,url:e.url,err:n,error:n,reason:n.message,response:e,context:t,networkDetails:r,stats:i})}handleNetworkError(e,t,n=!1,r,i){let s=`A network ${n?"timeout":"error"+(r?" (status "+r.code+")":"")} occurred while loading ${e.type}`;e.type===Cn.LEVEL?s+=`: ${e.level} id: ${e.id}`:(e.type===Cn.AUDIO_TRACK||e.type===Cn.SUBTITLE_TRACK)&&(s+=` id: ${e.id} group-id: "${e.groupId}"`);const c=new Error(s);b.warn(`[playlist-loader]: ${s}`);let p=m.UNKNOWN,A=!1;const F=this.getInternalLoader(e);switch(e.type){case Cn.MANIFEST:p=n?m.MANIFEST_LOAD_TIMEOUT:m.MANIFEST_LOAD_ERROR,A=!0;break;case Cn.LEVEL:p=n?m.LEVEL_LOAD_TIMEOUT:m.LEVEL_LOAD_ERROR,A=!1;break;case Cn.AUDIO_TRACK:p=n?m.AUDIO_TRACK_LOAD_TIMEOUT:m.AUDIO_TRACK_LOAD_ERROR,A=!1;break;case Cn.SUBTITLE_TRACK:p=n?m.SUBTITLE_TRACK_LOAD_TIMEOUT:m.SUBTITLE_LOAD_ERROR,A=!1;break}F&&this.resetInternalLoader(e.type);const M={type:x.NETWORK_ERROR,details:p,fatal:A,url:e.url,loader:F,context:e,error:c,networkDetails:t,stats:i};if(r){const ve=(t==null?void 0:t.url)||e.url;M.response=$({url:ve,data:void 0},r)}this.hls.trigger(u.ERROR,M)}handlePlaylistLoaded(e,t,n,r,i,s){const c=this.hls,{type:p,level:A,id:F,groupId:M,deliveryDirectives:ve}=r,Fe=lr(t,r),Re=Kn(r),Pe=typeof r.level=="number"&&Re===at.MAIN?A:void 0;if(!e.fragments.length){const ht=new Error("No Segments found in Playlist");c.trigger(u.ERROR,{type:x.NETWORK_ERROR,details:m.LEVEL_EMPTY_ERROR,fatal:!1,url:Fe,error:ht,reason:ht.message,response:t,context:r,level:Pe,parent:Re,networkDetails:i,stats:n});return}e.targetduration||(e.playlistParsingError=new Error("Missing Target Duration"));const Ve=e.playlistParsingError;if(Ve){c.trigger(u.ERROR,{type:x.NETWORK_ERROR,details:m.LEVEL_PARSING_ERROR,fatal:!1,url:Fe,error:Ve,reason:Ve.message,response:t,context:r,level:Pe,parent:Re,networkDetails:i,stats:n});return}switch(e.live&&s&&(s.getCacheAge&&(e.ageHeader=s.getCacheAge()||0),(!s.getCacheAge||isNaN(e.ageHeader))&&(e.ageHeader=0)),p){case Cn.MANIFEST:case Cn.LEVEL:c.trigger(u.LEVEL_LOADED,{details:e,level:Pe||0,id:F||0,stats:n,networkDetails:i,deliveryDirectives:ve});break;case Cn.AUDIO_TRACK:c.trigger(u.AUDIO_TRACK_LOADED,{details:e,id:F||0,groupId:M||"",stats:n,networkDetails:i,deliveryDirectives:ve});break;case Cn.SUBTITLE_TRACK:c.trigger(u.SUBTITLE_TRACK_LOADED,{details:e,id:F||0,groupId:M||"",stats:n,networkDetails:i,deliveryDirectives:ve});break}}}function Tr(o,e){let t;try{t=new Event("addtrack")}catch(n){t=document.createEvent("Event"),t.initEvent("addtrack",!1,!1)}t.track=o,e.dispatchEvent(t)}function Pr(o,e){const t=o.mode;if(t==="disabled"&&(o.mode="hidden"),o.cues&&!o.cues.getCueById(e.id))try{if(o.addCue(e),!o.cues.getCueById(e.id))throw new Error(`addCue is failed for: ${e}`)}catch(n){b.debug(`[texttrack-utils]: ${n}`);try{const r=new self.TextTrackCue(e.startTime,e.endTime,e.text);r.id=e.id,o.addCue(r)}catch(r){b.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${r}`)}}t==="disabled"&&(o.mode=t)}function Ur(o){const e=o.mode;if(e==="disabled"&&(o.mode="hidden"),o.cues)for(let t=o.cues.length;t--;)o.removeCue(o.cues[t]);e==="disabled"&&(o.mode=e)}function vr(o,e,t,n){const r=o.mode;if(r==="disabled"&&(o.mode="hidden"),o.cues&&o.cues.length>0){const i=Mn(o.cues,e,t);for(let s=0;s<i.length;s++)(!n||n(i[s]))&&o.removeCue(i[s])}r==="disabled"&&(o.mode=r)}function Hn(o,e){if(e<o[0].startTime)return 0;const t=o.length-1;if(e>o[t].endTime)return-1;let n=0,r=t;for(;n<=r;){const i=Math.floor((r+n)/2);if(e<o[i].startTime)r=i-1;else if(e>o[i].startTime&&n<t)n=i+1;else return i}return o[n].startTime-e<e-o[r].startTime?n:r}function Mn(o,e,t){const n=[],r=Hn(o,e);if(r>-1)for(let i=r,s=o.length;i<s;i++){const c=o[i];if(c.startTime>=e&&c.endTime<=t)n.push(c);else if(c.startTime>t)return n}return n}function jn(o){const e=[];for(let t=0;t<o.length;t++){const n=o[t];(n.kind==="subtitles"||n.kind==="captions")&&n.label&&e.push(o[t])}return e}var Er={audioId3:"org.id3",dateRange:"com.apple.quicktime.HLS",emsg:"https://aomedia.org/emsg/ID3"};const Nr=.25;function hi(){if(typeof self!="undefined")return self.VTTCue||self.TextTrackCue}function Ei(o,e,t,n,r){let i=new o(e,t,"");try{i.value=n,r&&(i.type=r)}catch(s){i=new o(e,t,JSON.stringify(r?$({type:r},n):n))}return i}const Vn=(()=>{const o=hi();try{o&&new o(0,Number.POSITIVE_INFINITY,"")}catch(e){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();function Zr(o,e){return o.getTime()/1e3-e}function jr(o){return Uint8Array.from(o.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}class ni{constructor(e){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=e,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=null}_registerListeners(){const{hls:e}=this;e.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),e.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(u.LEVEL_UPDATED,this.onLevelUpdated,this)}_unregisterListeners(){const{hls:e}=this;e.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),e.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(u.LEVEL_UPDATED,this.onLevelUpdated,this)}onMediaAttached(e,t){this.media=t.media}onMediaDetaching(){this.id3Track&&(Ur(this.id3Track),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(e){const t=this.getID3Track(e.textTracks);return t.mode="hidden",t}getID3Track(e){if(this.media){for(let t=0;t<e.length;t++){const n=e[t];if(n.kind==="metadata"&&n.label==="id3")return Tr(n,this.media),n}return this.media.addTextTrack("metadata","id3")}}onFragParsingMetadata(e,t){if(!this.media)return;const{hls:{config:{enableEmsgMetadataCues:n,enableID3MetadataCues:r}}}=this;if(!n&&!r)return;const{samples:i}=t;this.id3Track||(this.id3Track=this.createTrack(this.media));const s=hi();if(s)for(let c=0;c<i.length;c++){const p=i[c].type;if(p===Er.emsg&&!n||!r)continue;const A=G(i[c].data);if(A){const F=i[c].pts;let M=F+i[c].duration;M>Vn&&(M=Vn),M-F<=0&&(M=F+Nr);for(let Fe=0;Fe<A.length;Fe++){const Re=A[Fe];if(!T(Re)){this.updateId3CueEnds(F,p);const Pe=Ei(s,F,M,Re,p);Pe&&this.id3Track.addCue(Pe)}}}}}updateId3CueEnds(e,t){var n;const r=(n=this.id3Track)==null?void 0:n.cues;if(r)for(let i=r.length;i--;){const s=r[i];s.type===t&&s.startTime<e&&s.endTime===Vn&&(s.endTime=e)}}onBufferFlushing(e,{startOffset:t,endOffset:n,type:r}){const{id3Track:i,hls:s}=this;if(!s)return;const{config:{enableEmsgMetadataCues:c,enableID3MetadataCues:p}}=s;if(i&&(c||p)){let A;r==="audio"?A=F=>F.type===Er.audioId3&&p:r==="video"?A=F=>F.type===Er.emsg&&c:A=F=>F.type===Er.audioId3&&p||F.type===Er.emsg&&c,vr(i,t,n,A)}}onLevelUpdated(e,{details:t}){if(!this.media||!t.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{dateRangeCuesAppended:n,id3Track:r}=this,{dateRanges:i}=t,s=Object.keys(i);if(r){const F=Object.keys(n).filter(M=>!s.includes(M));for(let M=F.length;M--;){const ve=F[M];Object.keys(n[ve].cues).forEach(Fe=>{r.removeCue(n[ve].cues[Fe])}),delete n[ve]}}const c=t.fragments[t.fragments.length-1];if(s.length===0||!I(c==null?void 0:c.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const p=c.programDateTime/1e3-c.start,A=hi();for(let F=0;F<s.length;F++){const M=s[F],ve=i[M],Fe=Zr(ve.startDate,p),Re=n[M],Pe=(Re==null?void 0:Re.cues)||{};let Ve=(Re==null?void 0:Re.durationKnown)||!1,ht=Vn;const zt=ve.endDate;if(zt)ht=Zr(zt,p),Ve=!0;else if(ve.endOnNext&&!Ve){const xn=s.reduce((Zt,Un)=>{if(Un!==ve.id){const yn=i[Un];if(yn.class===ve.class&&yn.startDate>ve.startDate&&(!Zt||ve.startDate<Zt.startDate))return yn}return Zt},null);xn&&(ht=Zr(xn.startDate,p),Ve=!0)}const jt=Object.keys(ve.attr);for(let xn=0;xn<jt.length;xn++){const Zt=jt[xn];if(!he(Zt))continue;const Un=Pe[Zt];if(Un)Ve&&!Re.durationKnown&&(Un.endTime=ht);else if(A){let yn=ve.attr[Zt];me(Zt)&&(yn=jr(yn));const Yn=Ei(A,Fe,ht,{key:Zt,data:yn},Er.dateRange);Yn&&(Yn.id=M,this.id3Track.addCue(Yn),Pe[Zt]=Yn)}}n[M]={cues:Pe,dateRange:ve,durationKnown:Ve}}}}class ji{constructor(e){this.hls=void 0,this.config=void 0,this.media=null,this.levelDetails=null,this.currentTime=0,this.stallCount=0,this._latency=null,this.timeupdateHandler=()=>this.timeupdate(),this.hls=e,this.config=e.config,this.registerListeners()}get latency(){return this._latency||0}get maxLatency(){const{config:e,levelDetails:t}=this;return e.liveMaxLatencyDuration!==void 0?e.liveMaxLatencyDuration:t?e.liveMaxLatencyDurationCount*t.targetduration:0}get targetLatency(){const{levelDetails:e}=this;if(e===null)return null;const{holdBack:t,partHoldBack:n,targetduration:r}=e,{liveSyncDuration:i,liveSyncDurationCount:s,lowLatencyMode:c}=this.config,p=this.hls.userConfig;let A=c&&n||t;(p.liveSyncDuration||p.liveSyncDurationCount||A===0)&&(A=i!==void 0?i:s*r);const F=r;return A+Math.min(this.stallCount*1,F)}get liveSyncPosition(){const e=this.estimateLiveEdge(),t=this.targetLatency,n=this.levelDetails;if(e===null||t===null||n===null)return null;const r=n.edge,i=e-t-this.edgeStalled,s=r-n.totalduration,c=r-(this.config.lowLatencyMode&&n.partTarget||n.targetduration);return Math.min(Math.max(s,i),c)}get drift(){const{levelDetails:e}=this;return e===null?1:e.drift}get edgeStalled(){const{levelDetails:e}=this;if(e===null)return 0;const t=(this.config.lowLatencyMode&&e.partTarget||e.targetduration)*3;return Math.max(e.age-t,0)}get forwardBufferLength(){const{media:e,levelDetails:t}=this;if(!e||!t)return 0;const n=e.buffered.length;return(n?e.buffered.end(n-1):t.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.levelDetails=null,this.hls=this.timeupdateHandler=null}registerListeners(){this.hls.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),this.hls.on(u.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(u.LEVEL_UPDATED,this.onLevelUpdated,this),this.hls.on(u.ERROR,this.onError,this)}unregisterListeners(){this.hls.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),this.hls.off(u.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(u.LEVEL_UPDATED,this.onLevelUpdated,this),this.hls.off(u.ERROR,this.onError,this)}onMediaAttached(e,t){this.media=t.media,this.media.addEventListener("timeupdate",this.timeupdateHandler)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.timeupdateHandler),this.media=null)}onManifestLoading(){this.levelDetails=null,this._latency=null,this.stallCount=0}onLevelUpdated(e,{details:t}){this.levelDetails=t,t.advanced&&this.timeupdate(),!t.live&&this.media&&this.media.removeEventListener("timeupdate",this.timeupdateHandler)}onError(e,t){var n;t.details===m.BUFFER_STALLED_ERROR&&(this.stallCount++,(n=this.levelDetails)!=null&&n.live&&b.warn("[playback-rate-controller]: Stall detected, adjusting target latency"))}timeupdate(){const{media:e,levelDetails:t}=this;if(!e||!t)return;this.currentTime=e.currentTime;const n=this.computeLatency();if(n===null)return;this._latency=n;const{lowLatencyMode:r,maxLiveSyncPlaybackRate:i}=this.config;if(!r||i===1||!t.live)return;const s=this.targetLatency;if(s===null)return;const c=n-s,p=Math.min(this.maxLatency,s+t.targetduration);if(c<p&&c>.05&&this.forwardBufferLength>1){const F=Math.min(2,Math.max(1,i)),M=Math.round(2/(1+Math.exp(-.75*c-this.edgeStalled))*20)/20;e.playbackRate=Math.min(F,Math.max(1,M))}else e.playbackRate!==1&&e.playbackRate!==0&&(e.playbackRate=1)}estimateLiveEdge(){const{levelDetails:e}=this;return e===null?null:e.edge+e.age}computeLatency(){const e=this.estimateLiveEdge();return e===null?null:e-this.currentTime}}const Ii=["NONE","TYPE-0","TYPE-1",null];function Xr(o){return Ii.indexOf(o)>-1}const gi=["SDR","PQ","HLG"];function oi(o){return!!o&&gi.indexOf(o)>-1}var Ti={No:"",Yes:"YES",v2:"v2"};function Di(o){const{canSkipUntil:e,canSkipDateRanges:t,age:n}=o,r=n<e/2;return e&&r?t?Ti.v2:Ti.Yes:Ti.No}class Vi{constructor(e,t,n){this.msn=void 0,this.part=void 0,this.skip=void 0,this.msn=e,this.part=t,this.skip=n}addDirectives(e){const t=new self.URL(e);return this.msn!==void 0&&t.searchParams.set("_HLS_msn",this.msn.toString()),this.part!==void 0&&t.searchParams.set("_HLS_part",this.part.toString()),this.skip&&t.searchParams.set("_HLS_skip",this.skip),t.href}}class Ci{constructor(e){this._attrs=void 0,this.audioCodec=void 0,this.bitrate=void 0,this.codecSet=void 0,this.url=void 0,this.frameRate=void 0,this.height=void 0,this.id=void 0,this.name=void 0,this.videoCodec=void 0,this.width=void 0,this.details=void 0,this.fragmentError=0,this.loadError=0,this.loaded=void 0,this.realBitrate=0,this.supportedPromise=void 0,this.supportedResult=void 0,this._avgBitrate=0,this._audioGroups=void 0,this._subtitleGroups=void 0,this._urlId=0,this.url=[e.url],this._attrs=[e.attrs],this.bitrate=e.bitrate,e.details&&(this.details=e.details),this.id=e.id||0,this.name=e.name,this.width=e.width||0,this.height=e.height||0,this.frameRate=e.attrs.optionalFloat("FRAME-RATE",0),this._avgBitrate=e.attrs.decimalInteger("AVERAGE-BANDWIDTH"),this.audioCodec=e.audioCodec,this.videoCodec=e.videoCodec,this.codecSet=[e.videoCodec,e.audioCodec].filter(t=>!!t).map(t=>t.substring(0,4)).join(","),this.addGroupId("audio",e.attrs.AUDIO),this.addGroupId("text",e.attrs.SUBTITLES)}get maxBitrate(){return Math.max(this.realBitrate,this.bitrate)}get averageBitrate(){return this._avgBitrate||this.realBitrate||this.bitrate}get attrs(){return this._attrs[0]}get codecs(){return this.attrs.CODECS||""}get pathwayId(){return this.attrs["PATHWAY-ID"]||"."}get videoRange(){return this.attrs["VIDEO-RANGE"]||"SDR"}get score(){return this.attrs.optionalFloat("SCORE",0)}get uri(){return this.url[0]||""}hasAudioGroup(e){return Zi(this._audioGroups,e)}hasSubtitleGroup(e){return Zi(this._subtitleGroups,e)}get audioGroups(){return this._audioGroups}get subtitleGroups(){return this._subtitleGroups}addGroupId(e,t){if(t){if(e==="audio"){let n=this._audioGroups;n||(n=this._audioGroups=[]),n.indexOf(t)===-1&&n.push(t)}else if(e==="text"){let n=this._subtitleGroups;n||(n=this._subtitleGroups=[]),n.indexOf(t)===-1&&n.push(t)}}}get urlId(){return 0}set urlId(e){}get audioGroupIds(){return this.audioGroups?[this.audioGroupId]:void 0}get textGroupIds(){return this.subtitleGroups?[this.textGroupId]:void 0}get audioGroupId(){var e;return(e=this.audioGroups)==null?void 0:e[0]}get textGroupId(){var e;return(e=this.subtitleGroups)==null?void 0:e[0]}addFallback(){}}function Zi(o,e){return!e||!o?!1:o.indexOf(e)!==-1}function Kr(o,e){const t=e.startPTS;if(I(t)){let n=0,r;e.sn>o.sn?(n=t-o.start,r=o):(n=o.start-t,r=e),r.duration!==n&&(r.duration=n)}else e.sn>o.sn?o.cc===e.cc&&o.minEndPTS?e.start=o.start+(o.minEndPTS-o.start):e.start=o.start+o.duration:e.start=Math.max(o.start-e.duration,0)}function aa(o,e,t,n,r,i){n-t<=0&&(b.warn("Fragment should have a positive duration",e),n=t+e.duration,i=r+e.duration);let c=t,p=n;const A=e.startPTS,F=e.endPTS;if(I(A)){const Ve=Math.abs(A-t);I(e.deltaPTS)?e.deltaPTS=Math.max(Ve,e.deltaPTS):e.deltaPTS=Ve,c=Math.max(t,A),t=Math.min(t,A),r=Math.min(r,e.startDTS),p=Math.min(n,F),n=Math.max(n,F),i=Math.max(i,e.endDTS)}const M=t-e.start;e.start!==0&&(e.start=t),e.duration=n-e.start,e.startPTS=t,e.maxStartPTS=c,e.startDTS=r,e.endPTS=n,e.minEndPTS=p,e.endDTS=i;const ve=e.sn;if(!o||ve<o.startSN||ve>o.endSN)return 0;let Fe;const Re=ve-o.startSN,Pe=o.fragments;for(Pe[Re]=e,Fe=Re;Fe>0;Fe--)Kr(Pe[Fe],Pe[Fe-1]);for(Fe=Re;Fe<Pe.length-1;Fe++)Kr(Pe[Fe],Pe[Fe+1]);return o.fragmentHint&&Kr(Pe[Pe.length-1],o.fragmentHint),o.PTSKnown=o.alignedSliding=!0,M}function ga(o,e){let t=null;const n=o.fragments;for(let c=n.length-1;c>=0;c--){const p=n[c].initSegment;if(p){t=p;break}}o.fragmentHint&&delete o.fragmentHint.endPTS;let r;ca(o,e,(c,p,A,F)=>{if(e.skippedSegments&&p.cc!==c.cc){const M=c.cc-p.cc;for(let ve=A;ve<F.length;ve++)F[ve].cc+=M}I(c.startPTS)&&I(c.endPTS)&&(p.start=p.startPTS=c.startPTS,p.startDTS=c.startDTS,p.maxStartPTS=c.maxStartPTS,p.endPTS=c.endPTS,p.endDTS=c.endDTS,p.minEndPTS=c.minEndPTS,p.duration=c.endPTS-c.startPTS,p.duration&&(r=p),e.PTSKnown=e.alignedSliding=!0),p.elementaryStreams=c.elementaryStreams,p.loader=c.loader,p.stats=c.stats,c.initSegment&&(p.initSegment=c.initSegment,t=c.initSegment)});const i=e.fragments;if(t&&(e.fragmentHint?i.concat(e.fragmentHint):i).forEach(p=>{var A;p&&(!p.initSegment||p.initSegment.relurl===((A=t)==null?void 0:A.relurl))&&(p.initSegment=t)}),e.skippedSegments){if(e.deltaUpdateFailed=i.some(c=>!c),e.deltaUpdateFailed){b.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let c=e.skippedSegments;c--;)i.shift();e.startSN=i[0].sn}else e.canSkipDateRanges&&(e.dateRanges=ua(o.dateRanges,e.dateRanges,e.recentlyRemovedDateranges));e.startCC=e.fragments[0].cc,e.endCC=i[i.length-1].cc}vi(o.partList,e.partList,(c,p)=>{p.elementaryStreams=c.elementaryStreams,p.stats=c.stats}),r?aa(e,r,r.startPTS,r.endPTS,r.startDTS,r.endDTS):Ea(o,e),i.length&&(e.totalduration=e.edge-i[0].start),e.driftStartTime=o.driftStartTime,e.driftStart=o.driftStart;const s=e.advancedDateTime;if(e.advanced&&s){const c=e.edge;e.driftStart||(e.driftStartTime=s,e.driftStart=c),e.driftEndTime=s,e.driftEnd=c}else e.driftEndTime=o.driftEndTime,e.driftEnd=o.driftEnd,e.advancedDateTime=o.advancedDateTime}function ua(o,e,t){const n=a({},o);return t&&t.forEach(r=>{delete n[r]}),Object.keys(e).forEach(r=>{const i=new fe(e[r].attr,n[r]);i.isValid?n[r]=i:b.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${JSON.stringify(e[r].attr)}"`)}),n}function vi(o,e,t){if(o&&e){let n=0;for(let r=0,i=o.length;r<=i;r++){const s=o[r],c=e[r+n];s&&c&&s.index===c.index&&s.fragment.sn===c.fragment.sn?t(s,c):n--}}}function ca(o,e,t){const n=e.skippedSegments,r=Math.max(o.startSN,e.startSN)-e.startSN,i=(o.fragmentHint?1:0)+(n?e.endSN:Math.min(o.endSN,e.endSN))-e.startSN,s=e.startSN-o.startSN,c=e.fragmentHint?e.fragments.concat(e.fragmentHint):e.fragments,p=o.fragmentHint?o.fragments.concat(o.fragmentHint):o.fragments;for(let A=r;A<=i;A++){const F=p[s+A];let M=c[A];n&&!M&&A<n&&(M=e.fragments[A]=F),F&&M&&t(F,M,A,c)}}function Ea(o,e){const t=e.startSN+e.skippedSegments-o.startSN,n=o.fragments;t<0||t>=n.length||Ln(e,n[t].start)}function Ln(o,e){if(e){const t=o.fragments;for(let n=o.skippedSegments;n<t.length;n++)t[n].start+=e;o.fragmentHint&&(o.fragmentHint.start+=e)}}function Li(o,e=1/0){let t=1e3*o.targetduration;if(o.updated){const n=o.fragments;if(n.length&&t*4>e){const i=n[n.length-1].duration*1e3;i<t&&(t=i)}}else t/=2;return Math.round(t)}function na(o,e,t){if(!(o!=null&&o.details))return null;const n=o.details;let r=n.fragments[e-n.startSN];return r||(r=n.fragmentHint,r&&r.sn===e)?r:e<n.startSN&&t&&t.sn===e?t:null}function ur(o,e,t){var n;return o!=null&&o.details?xr((n=o.details)==null?void 0:n.partList,e,t):null}function xr(o,e,t){if(o)for(let n=o.length;n--;){const r=o[n];if(r.index===t&&r.fragment.sn===e)return r}return null}function cr(o){o.forEach((e,t)=>{const{details:n}=e;n!=null&&n.fragments&&n.fragments.forEach(r=>{r.level=t})})}function Zn(o){switch(o.details){case m.FRAG_LOAD_TIMEOUT:case m.KEY_LOAD_TIMEOUT:case m.LEVEL_LOAD_TIMEOUT:case m.MANIFEST_LOAD_TIMEOUT:return!0}return!1}function Br(o,e){const t=Zn(e);return o.default[`${t?"timeout":"error"}Retry`]}function $r(o,e){const t=o.backoff==="linear"?1:Math.pow(2,e);return Math.min(t*o.retryDelayMs,o.maxRetryDelayMs)}function Ni(o){return $($({},o),{errorRetry:null,timeoutRetry:null})}function yi(o,e,t,n){if(!o)return!1;const r=n==null?void 0:n.code,i=e<o.maxNumRetry&&(Fi(r)||!!t);return o.shouldRetry?o.shouldRetry(o,e,t,n,i):i}function Fi(o){return o===0&&navigator.onLine===!1||!!o&&(o<400||o>499)}const Pi={search:function(o,e){let t=0,n=o.length-1,r=null,i=null;for(;t<=n;){r=(t+n)/2|0,i=o[r];const s=e(i);if(s>0)t=r+1;else if(s<0)n=r-1;else return i}return null}};function va(o,e,t){if(e===null||!Array.isArray(o)||!o.length||!I(e))return null;const n=o[0].programDateTime;if(e<(n||0))return null;const r=o[o.length-1].endProgramDateTime;if(e>=(r||0))return null;t=t||0;for(let i=0;i<o.length;++i){const s=o[i];if(fa(e,t,s))return s}return null}function _a(o,e,t=0,n=0,r=.005){let i=null;if(o){i=e[o.sn-e[0].sn+1]||null;const c=o.endDTS-t;c>0&&c<15e-7&&(t+=15e-7)}else t===0&&e[0].start===0&&(i=e[0]);if(i&&((!o||o.level===i.level)&&da(t,n,i)===0||Wa(i,o,Math.min(r,n))))return i;const s=Pi.search(e,da.bind(null,t,n));return s&&(s!==o||!i)?s:i}function Wa(o,e,t){if(e&&e.start===0&&e.level<o.level&&(e.endPTS||0)>0){const n=e.tagList.reduce((r,i)=>(i[0]==="INF"&&(r+=parseFloat(i[1])),r),t);return o.start<=n}return!1}function da(o=0,e=0,t){if(t.start<=o&&t.start+t.duration>o)return 0;const n=Math.min(e,t.duration+(t.deltaPTS?t.deltaPTS:0));return t.start+t.duration-n<=o?1:t.start-n>o&&t.start?-1:0}function fa(o,e,t){const n=Math.min(e,t.duration+(t.deltaPTS?t.deltaPTS:0))*1e3;return(t.endProgramDateTime||0)-n>o}function dr(o,e){return Pi.search(o,t=>t.cc<e?1:t.cc>e?-1:0)}var sr={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},Yr={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,SwitchToSDR:4};class Mi{constructor(e){this.hls=void 0,this.playlistError=0,this.penalizedRenditions={},this.log=void 0,this.warn=void 0,this.error=void 0,this.hls=e,this.log=b.log.bind(b,"[info]:"),this.warn=b.warn.bind(b,"[warning]:"),this.error=b.error.bind(b,"[error]:"),this.registerListeners()}registerListeners(){const e=this.hls;e.on(u.ERROR,this.onError,this),e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.LEVEL_UPDATED,this.onLevelUpdated,this)}unregisterListeners(){const e=this.hls;e&&(e.off(u.ERROR,this.onError,this),e.off(u.ERROR,this.onErrorOut,this),e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.LEVEL_UPDATED,this.onLevelUpdated,this))}destroy(){this.unregisterListeners(),this.hls=null,this.penalizedRenditions={}}startLoad(e){}stopLoad(){this.playlistError=0}getVariantLevelIndex(e){return(e==null?void 0:e.type)===at.MAIN?e.level:this.hls.loadLevel}onManifestLoading(){this.playlistError=0,this.penalizedRenditions={}}onLevelUpdated(){this.playlistError=0}onError(e,t){var n,r;if(t.fatal)return;const i=this.hls,s=t.context;switch(t.details){case m.FRAG_LOAD_ERROR:case m.FRAG_LOAD_TIMEOUT:case m.KEY_LOAD_ERROR:case m.KEY_LOAD_TIMEOUT:t.errorAction=this.getFragRetryOrSwitchAction(t);return;case m.FRAG_PARSING_ERROR:if((n=t.frag)!=null&&n.gap){t.errorAction={action:sr.DoNothing,flags:Yr.None};return}case m.FRAG_GAP:case m.FRAG_DECRYPT_ERROR:{t.errorAction=this.getFragRetryOrSwitchAction(t),t.errorAction.action=sr.SendAlternateToPenaltyBox;return}case m.LEVEL_EMPTY_ERROR:case m.LEVEL_PARSING_ERROR:{var c,p;const A=t.parent===at.MAIN?t.level:i.loadLevel;t.details===m.LEVEL_EMPTY_ERROR&&((c=t.context)!=null&&(p=c.levelDetails)!=null&&p.live)?t.errorAction=this.getPlaylistRetryOrSwitchAction(t,A):(t.levelRetry=!1,t.errorAction=this.getLevelSwitchAction(t,A))}return;case m.LEVEL_LOAD_ERROR:case m.LEVEL_LOAD_TIMEOUT:typeof(s==null?void 0:s.level)=="number"&&(t.errorAction=this.getPlaylistRetryOrSwitchAction(t,s.level));return;case m.AUDIO_TRACK_LOAD_ERROR:case m.AUDIO_TRACK_LOAD_TIMEOUT:case m.SUBTITLE_LOAD_ERROR:case m.SUBTITLE_TRACK_LOAD_TIMEOUT:if(s){const A=i.levels[i.loadLevel];if(A&&(s.type===Cn.AUDIO_TRACK&&A.hasAudioGroup(s.groupId)||s.type===Cn.SUBTITLE_TRACK&&A.hasSubtitleGroup(s.groupId))){t.errorAction=this.getPlaylistRetryOrSwitchAction(t,i.loadLevel),t.errorAction.action=sr.SendAlternateToPenaltyBox,t.errorAction.flags=Yr.MoveAllAlternatesMatchingHost;return}}return;case m.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:{const A=i.levels[i.loadLevel],F=A==null?void 0:A.attrs["HDCP-LEVEL"];F?t.errorAction={action:sr.SendAlternateToPenaltyBox,flags:Yr.MoveAllAlternatesMatchingHDCP,hdcpLevel:F}:this.keySystemError(t)}return;case m.BUFFER_ADD_CODEC_ERROR:case m.REMUX_ALLOC_ERROR:case m.BUFFER_APPEND_ERROR:t.errorAction=this.getLevelSwitchAction(t,(r=t.level)!=null?r:i.loadLevel);return;case m.INTERNAL_EXCEPTION:case m.BUFFER_APPENDING_ERROR:case m.BUFFER_FULL_ERROR:case m.LEVEL_SWITCH_ERROR:case m.BUFFER_STALLED_ERROR:case m.BUFFER_SEEK_OVER_HOLE:case m.BUFFER_NUDGE_ON_STALL:t.errorAction={action:sr.DoNothing,flags:Yr.None};return}t.type===x.KEY_SYSTEM_ERROR&&this.keySystemError(t)}keySystemError(e){const t=this.getVariantLevelIndex(e.frag);e.levelRetry=!1,e.errorAction=this.getLevelSwitchAction(e,t)}getPlaylistRetryOrSwitchAction(e,t){const n=this.hls,r=Br(n.config.playlistLoadPolicy,e),i=this.playlistError++;if(yi(r,i,Zn(e),e.response))return{action:sr.RetryRequest,flags:Yr.None,retryConfig:r,retryCount:i};const c=this.getLevelSwitchAction(e,t);return r&&(c.retryConfig=r,c.retryCount=i),c}getFragRetryOrSwitchAction(e){const t=this.hls,n=this.getVariantLevelIndex(e.frag),r=t.levels[n],{fragLoadPolicy:i,keyLoadPolicy:s}=t.config,c=Br(e.details.startsWith("key")?s:i,e),p=t.levels.reduce((F,M)=>F+M.fragmentError,0);if(r&&(e.details!==m.FRAG_GAP&&r.fragmentError++,yi(c,p,Zn(e),e.response)))return{action:sr.RetryRequest,flags:Yr.None,retryConfig:c,retryCount:p};const A=this.getLevelSwitchAction(e,n);return c&&(A.retryConfig=c,A.retryCount=p),A}getLevelSwitchAction(e,t){const n=this.hls;t==null&&(t=n.loadLevel);const r=this.hls.levels[t];if(r){var i,s;const A=e.details;r.loadError++,A===m.BUFFER_APPEND_ERROR&&r.fragmentError++;let F=-1;const{levels:M,loadLevel:ve,minAutoLevel:Fe,maxAutoLevel:Re}=n;n.autoLevelEnabled||(n.loadLevel=-1);const Pe=(i=e.frag)==null?void 0:i.type,ht=(Pe===at.AUDIO&&A===m.FRAG_PARSING_ERROR||e.sourceBufferName==="audio"&&(A===m.BUFFER_ADD_CODEC_ERROR||A===m.BUFFER_APPEND_ERROR))&&M.some(({audioCodec:Un})=>r.audioCodec!==Un),jt=e.sourceBufferName==="video"&&(A===m.BUFFER_ADD_CODEC_ERROR||A===m.BUFFER_APPEND_ERROR)&&M.some(({codecSet:Un,audioCodec:yn})=>r.codecSet!==Un&&r.audioCodec===yn),{type:xn,groupId:Zt}=(s=e.context)!=null?s:{};for(let Un=M.length;Un--;){const yn=(Un+ve)%M.length;if(yn!==ve&&yn>=Fe&&yn<=Re&&M[yn].loadError===0){var c,p;const Yn=M[yn];if(A===m.FRAG_GAP&&Pe===at.MAIN&&e.frag){const Ar=M[yn].details;if(Ar){const kn=_a(e.frag,Ar.fragments,e.frag.start);if(kn!=null&&kn.gap)continue}}else{if(xn===Cn.AUDIO_TRACK&&Yn.hasAudioGroup(Zt)||xn===Cn.SUBTITLE_TRACK&&Yn.hasSubtitleGroup(Zt))continue;if(Pe===at.AUDIO&&(c=r.audioGroups)!=null&&c.some(Ar=>Yn.hasAudioGroup(Ar))||Pe===at.SUBTITLE&&(p=r.subtitleGroups)!=null&&p.some(Ar=>Yn.hasSubtitleGroup(Ar))||ht&&r.audioCodec===Yn.audioCodec||!ht&&r.audioCodec!==Yn.audioCodec||jt&&r.codecSet===Yn.codecSet)continue}F=yn;break}}if(F>-1&&n.loadLevel!==F)return e.levelRetry=!0,this.playlistError=0,{action:sr.SendAlternateToPenaltyBox,flags:Yr.None,nextAutoLevel:F}}return{action:sr.SendAlternateToPenaltyBox,flags:Yr.MoveAllAlternatesMatchingHost}}onErrorOut(e,t){var n;switch((n=t.errorAction)==null?void 0:n.action){case sr.DoNothing:break;case sr.SendAlternateToPenaltyBox:this.sendAlternateToPenaltyBox(t),!t.errorAction.resolved&&t.details!==m.FRAG_GAP?t.fatal=!0:/MediaSource readyState: ended/.test(t.error.message)&&(this.warn(`MediaSource ended after "${t.sourceBufferName}" sourceBuffer append error. Attempting to recover from media error.`),this.hls.recoverMediaError());break;case sr.RetryRequest:break}if(t.fatal){this.hls.stopLoad();return}}sendAlternateToPenaltyBox(e){const t=this.hls,n=e.errorAction;if(!n)return;const{flags:r,hdcpLevel:i,nextAutoLevel:s}=n;switch(r){case Yr.None:this.switchLevel(e,s);break;case Yr.MoveAllAlternatesMatchingHDCP:i&&(t.maxHdcpLevel=Ii[Ii.indexOf(i)-1],n.resolved=!0),this.warn(`Restricting playback to HDCP-LEVEL of "${t.maxHdcpLevel}" or lower`);break}n.resolved||this.switchLevel(e,s)}switchLevel(e,t){t!==void 0&&e.errorAction&&(this.warn(`switching to level ${t} after ${e.details}`),this.hls.nextAutoLevel=t,e.errorAction.resolved=!0,this.hls.nextLoadLevel=this.hls.nextAutoLevel)}}class li{constructor(e,t){this.hls=void 0,this.timer=-1,this.requestScheduled=-1,this.canLoad=!1,this.log=void 0,this.warn=void 0,this.log=b.log.bind(b,`${t}:`),this.warn=b.warn.bind(b,`${t}:`),this.hls=e}destroy(){this.clearTimer(),this.hls=this.log=this.warn=null}clearTimer(){this.timer!==-1&&(self.clearTimeout(this.timer),this.timer=-1)}startLoad(){this.canLoad=!0,this.requestScheduled=-1,this.loadPlaylist()}stopLoad(){this.canLoad=!1,this.clearTimer()}switchParams(e,t,n){const r=t==null?void 0:t.renditionReports;if(r){let i=-1;for(let s=0;s<r.length;s++){const c=r[s];let p;try{p=new self.URL(c.URI,t.url).href}catch(A){b.warn(`Could not construct new URL for Rendition Report: ${A}`),p=c.URI||""}if(p===e){i=s;break}else p===e.substring(0,p.length)&&(i=s)}if(i!==-1){const s=r[i],c=parseInt(s["LAST-MSN"])||(t==null?void 0:t.lastPartSn);let p=parseInt(s["LAST-PART"])||(t==null?void 0:t.lastPartIndex);if(this.hls.config.lowLatencyMode){const F=Math.min(t.age-t.partTarget,t.targetduration);p>=0&&F>t.partTarget&&(p+=1)}const A=n&&Di(n);return new Vi(c,p>=0?p:void 0,A)}}}loadPlaylist(e){this.requestScheduled===-1&&(this.requestScheduled=self.performance.now())}shouldLoadPlaylist(e){return this.canLoad&&!!e&&!!e.url&&(!e.details||e.details.live)}shouldReloadPlaylist(e){return this.timer===-1&&this.requestScheduled===-1&&this.shouldLoadPlaylist(e)}playlistLoaded(e,t,n){const{details:r,stats:i}=t,s=self.performance.now(),c=i.loading.first?Math.max(0,s-i.loading.first):0;if(r.advancedDateTime=Date.now()-c,r.live||n!=null&&n.live){if(r.reloaded(n),n&&this.log(`live playlist ${e} ${r.advanced?"REFRESHED "+r.lastPartSn+"-"+r.lastPartIndex:r.updated?"UPDATED":"MISSED"}`),n&&r.fragments.length>0&&ga(n,r),!this.canLoad||!r.live)return;let p,A,F;if(r.canBlockReload&&r.endSN&&r.advanced){const Ve=this.hls.config.lowLatencyMode,ht=r.lastPartSn,zt=r.endSN,jt=r.lastPartIndex,xn=jt!==-1,Zt=ht===zt,Un=Ve?0:jt;xn?(A=Zt?zt+1:ht,F=Zt?Un:jt+1):A=zt+1;const yn=r.age,Yn=yn+r.ageHeader;let Ar=Math.min(Yn-r.partTarget,r.targetduration*1.5);if(Ar>0){if(n&&Ar>n.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${n.tuneInGoal} to: ${Ar} with playlist age: ${r.age}`),Ar=0;else{const kn=Math.floor(Ar/r.targetduration);if(A+=kn,F!==void 0){const qn=Math.round(Ar%r.targetduration/r.partTarget);F+=qn}this.log(`CDN Tune-in age: ${r.ageHeader}s last advanced ${yn.toFixed(2)}s goal: ${Ar} skip sn ${kn} to part ${F}`)}r.tuneInGoal=Ar}if(p=this.getDeliveryDirectives(r,t.deliveryDirectives,A,F),Ve||!Zt){this.loadPlaylist(p);return}}else(r.canBlockReload||r.canSkipUntil)&&(p=this.getDeliveryDirectives(r,t.deliveryDirectives,A,F));const M=this.hls.mainForwardBufferInfo,ve=M?M.end-M.len:0,Fe=(r.edge-ve)*1e3,Re=Li(r,Fe);r.updated&&s>this.requestScheduled+Re&&(this.requestScheduled=i.loading.start),A!==void 0&&r.canBlockReload?this.requestScheduled=i.loading.first+Re-(r.partTarget*1e3||1e3):this.requestScheduled===-1||this.requestScheduled+Re<s?this.requestScheduled=s:this.requestScheduled-s<=0&&(this.requestScheduled+=Re);let Pe=this.requestScheduled-s;Pe=Math.max(0,Pe),this.log(`reload live playlist ${e} in ${Math.round(Pe)} ms`),this.timer=self.setTimeout(()=>this.loadPlaylist(p),Pe)}else this.clearTimer()}getDeliveryDirectives(e,t,n,r){let i=Di(e);return t!=null&&t.skip&&e.deltaUpdateFailed&&(n=t.msn,r=t.part,i=Ti.No),new Vi(n,r,i)}checkRetry(e){const t=e.details,n=Zn(e),r=e.errorAction,{action:i,retryCount:s=0,retryConfig:c}=r||{},p=!!r&&!!c&&(i===sr.RetryRequest||!r.resolved&&i===sr.SendAlternateToPenaltyBox);if(p){var A;if(this.requestScheduled=-1,s>=c.maxNumRetry)return!1;if(n&&(A=e.context)!=null&&A.deliveryDirectives)this.warn(`Retrying playlist loading ${s+1}/${c.maxNumRetry} after "${t}" without delivery-directives`),this.loadPlaylist();else{const F=$r(c,s);this.timer=self.setTimeout(()=>this.loadPlaylist(),F),this.warn(`Retrying playlist loading ${s+1}/${c.maxNumRetry} after "${t}" in ${F}ms`)}e.levelRetry=!0,r.resolved=!0}return p}}class sa{constructor(e,t=0,n=0){this.halfLife=void 0,this.alpha_=void 0,this.estimate_=void 0,this.totalWeight_=void 0,this.halfLife=e,this.alpha_=e?Math.exp(Math.log(.5)/e):0,this.estimate_=t,this.totalWeight_=n}sample(e,t){const n=Math.pow(this.alpha_,e);this.estimate_=t*(1-n)+n*this.estimate_,this.totalWeight_+=e}getTotalWeight(){return this.totalWeight_}getEstimate(){if(this.alpha_){const e=1-Math.pow(this.alpha_,this.totalWeight_);if(e)return this.estimate_/e}return this.estimate_}}class Va{constructor(e,t,n,r=100){this.defaultEstimate_=void 0,this.minWeight_=void 0,this.minDelayMs_=void 0,this.slow_=void 0,this.fast_=void 0,this.defaultTTFB_=void 0,this.ttfb_=void 0,this.defaultEstimate_=n,this.minWeight_=.001,this.minDelayMs_=50,this.slow_=new sa(e),this.fast_=new sa(t),this.defaultTTFB_=r,this.ttfb_=new sa(e)}update(e,t){const{slow_:n,fast_:r,ttfb_:i}=this;n.halfLife!==e&&(this.slow_=new sa(e,n.getEstimate(),n.getTotalWeight())),r.halfLife!==t&&(this.fast_=new sa(t,r.getEstimate(),r.getTotalWeight())),i.halfLife!==e&&(this.ttfb_=new sa(e,i.getEstimate(),i.getTotalWeight()))}sample(e,t){e=Math.max(e,this.minDelayMs_);const n=8*t,r=e/1e3,i=n/r;this.fast_.sample(r,i),this.slow_.sample(r,i)}sampleTTFB(e){const t=e/1e3,n=Math.sqrt(2)*Math.exp(-Math.pow(t,2)/2);this.ttfb_.sample(n,Math.max(e,5))}canEstimate(){return this.fast_.getTotalWeight()>=this.minWeight_}getEstimate(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_}getEstimateTTFB(){return this.ttfb_.getTotalWeight()>=this.minWeight_?this.ttfb_.getEstimate():this.defaultTTFB_}destroy(){}}const Ha={supported:!0,configurations:[],decodingInfoResults:[{supported:!0,powerEfficient:!0,smooth:!0}]},ya={};function as(o,e,t,n,r,i){const s=o.audioCodec?o.audioGroups:null,c=i==null?void 0:i.audioCodec,p=i==null?void 0:i.channels,A=p?parseInt(p):c?1/0:2;let F=null;if(s!=null&&s.length)try{s.length===1&&s[0]?F=e.groups[s[0]].channels:F=s.reduce((M,ve)=>{if(ve){const Fe=e.groups[ve];if(!Fe)throw new Error(`Audio track group ${ve} not found`);Object.keys(Fe.channels).forEach(Re=>{M[Re]=(M[Re]||0)+Fe.channels[Re]})}return M},{2:0})}catch(M){return!0}return o.videoCodec!==void 0&&(o.width>1920&&o.height>1088||o.height>1920&&o.width>1088||o.frameRate>Math.max(n,30)||o.videoRange!=="SDR"&&o.videoRange!==t||o.bitrate>Math.max(r,8e6))||!!F&&I(A)&&Object.keys(F).some(M=>parseInt(M)>A)}function ss(o,e,t){const n=o.videoCodec,r=o.audioCodec;if(!n||!r||!t)return Promise.resolve(Ha);const i={width:o.width,height:o.height,bitrate:Math.ceil(Math.max(o.bitrate*.9,o.averageBitrate)),framerate:o.frameRate||30},s=o.videoRange;s!=="SDR"&&(i.transferFunction=s.toLowerCase());const c=n.split(",").map(p=>({type:"media-source",video:$($({},i),{},{contentType:kt(p,"video")})}));return r&&o.audioGroups&&o.audioGroups.forEach(p=>{var A;p&&((A=e.groups[p])==null||A.tracks.forEach(F=>{if(F.groupId===p){const M=F.channels||"",ve=parseFloat(M);I(ve)&&ve>2&&c.push.apply(c,r.split(",").map(Fe=>({type:"media-source",audio:{contentType:kt(Fe,"audio"),channels:""+ve}})))}}))}),Promise.all(c.map(p=>{const A=os(p);return ya[A]||(ya[A]=t.decodingInfo(p))})).then(p=>({supported:!p.some(A=>!A.supported),configurations:c,decodingInfoResults:p})).catch(p=>({supported:!1,configurations:c,decodingInfoResults:[],error:p}))}function os(o){const{audio:e,video:t}=o,n=t||e;if(n){const r=n.contentType.split('"')[1];if(t)return`r${t.height}x${t.width}f${Math.ceil(t.framerate)}${t.transferFunction||"sd"}_${r}_${Math.ceil(t.bitrate/1e5)}`;if(e)return`c${e.channels}${e.spatialRendering?"s":"n"}_${r}`}return""}function ts(){if(typeof matchMedia=="function"){const o=matchMedia("(dynamic-range: high)"),e=matchMedia("bad query");if(o.media!==e.media)return o.matches===!0}return!1}function ls(o,e){let t=!1,n=[];return o&&(t=o!=="SDR",n=[o]),e&&(n=e.allowedVideoRanges||gi.slice(0),t=e.preferHDR!==void 0?e.preferHDR:ts(),t?n=n.filter(r=>r!=="SDR"):n=["SDR"]),{preferHDR:t,allowedVideoRanges:n}}function Ta(o,e,t,n,r){const i=Object.keys(o),s=n==null?void 0:n.channels,c=n==null?void 0:n.audioCodec,p=s&&parseInt(s)===2;let A=!0,F=!1,M=1/0,ve=1/0,Fe=1/0,Re=0,Pe=[];const{preferHDR:Ve,allowedVideoRanges:ht}=ls(e,r);for(let Zt=i.length;Zt--;){const Un=o[i[Zt]];A=Un.channels[2]>0,M=Math.min(M,Un.minHeight),ve=Math.min(ve,Un.minFramerate),Fe=Math.min(Fe,Un.minBitrate);const yn=ht.filter(Yn=>Un.videoRanges[Yn]>0);yn.length>0&&(F=!0,Pe=yn)}M=I(M)?M:0,ve=I(ve)?ve:0;const zt=Math.max(1080,M),jt=Math.max(30,ve);return Fe=I(Fe)?Fe:t,t=Math.max(Fe,t),F||(e=void 0,Pe=[]),{codecSet:i.reduce((Zt,Un)=>{const yn=o[Un];if(Un===Zt)return Zt;if(yn.minBitrate>t)return Qi(Un,`min bitrate of ${yn.minBitrate} > current estimate of ${t}`),Zt;if(!yn.hasDefaultAudio)return Qi(Un,"no renditions with default or auto-select sound found"),Zt;if(c&&Un.indexOf(c.substring(0,4))%5!==0)return Qi(Un,`audio codec preference "${c}" not found`),Zt;if(s&&!p){if(!yn.channels[s])return Qi(Un,`no renditions with ${s} channel sound found (channels options: ${Object.keys(yn.channels)})`),Zt}else if((!c||p)&&A&&yn.channels[2]===0)return Qi(Un,"no renditions with stereo sound found"),Zt;return yn.minHeight>zt?(Qi(Un,`min resolution of ${yn.minHeight} > maximum of ${zt}`),Zt):yn.minFramerate>jt?(Qi(Un,`min framerate of ${yn.minFramerate} > maximum of ${jt}`),Zt):Pe.some(Yn=>yn.videoRanges[Yn]>0)?yn.maxScore<Re?(Qi(Un,`max score of ${yn.maxScore} < selected max of ${Re}`),Zt):Zt&&(Ft(Un)>=Ft(Zt)||yn.fragmentError>o[Zt].fragmentError)?Zt:(Re=yn.maxScore,Un):(Qi(Un,`no variants with VIDEO-RANGE of ${JSON.stringify(Pe)} found`),Zt)},void 0),videoRanges:Pe,preferHDR:Ve,minFramerate:ve,minBitrate:Fe}}function Qi(o,e){b.log(`[abr] start candidates with "${o}" ignored because ${e}`)}function us(o){return o.reduce((e,t)=>{let n=e.groups[t.groupId];n||(n=e.groups[t.groupId]={tracks:[],channels:{2:0},hasDefault:!1,hasAutoSelect:!1}),n.tracks.push(t);const r=t.channels||"2";return n.channels[r]=(n.channels[r]||0)+1,n.hasDefault=n.hasDefault||t.default,n.hasAutoSelect=n.hasAutoSelect||t.autoselect,n.hasDefault&&(e.hasDefaultAudio=!0),n.hasAutoSelect&&(e.hasAutoSelectAudio=!0),e},{hasDefaultAudio:!1,hasAutoSelectAudio:!1,groups:{}})}function ns(o,e,t,n){return o.slice(t,n+1).reduce((r,i)=>{if(!i.codecSet)return r;const s=i.audioGroups;let c=r[i.codecSet];c||(r[i.codecSet]=c={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!s,fragmentError:0}),c.minBitrate=Math.min(c.minBitrate,i.bitrate);const p=Math.min(i.height,i.width);return c.minHeight=Math.min(c.minHeight,p),c.minFramerate=Math.min(c.minFramerate,i.frameRate),c.maxScore=Math.max(c.maxScore,i.score),c.fragmentError+=i.fragmentError,c.videoRanges[i.videoRange]=(c.videoRanges[i.videoRange]||0)+1,s&&s.forEach(A=>{if(!A)return;const F=e.groups[A];F&&(c.hasDefaultAudio=c.hasDefaultAudio||e.hasDefaultAudio?F.hasDefault:F.hasAutoSelect||!e.hasDefaultAudio&&!e.hasAutoSelectAudio,Object.keys(F.channels).forEach(M=>{c.channels[M]=(c.channels[M]||0)+F.channels[M]}))}),r},{})}function ba(o,e,t){if("attrs"in o){const n=e.indexOf(o);if(n!==-1)return n}for(let n=0;n<e.length;n++){const r=e[n];if(wa(o,r,t))return n}return-1}function wa(o,e,t){const{groupId:n,name:r,lang:i,assocLang:s,characteristics:c,default:p}=o,A=o.forced;return(n===void 0||e.groupId===n)&&(r===void 0||e.name===r)&&(i===void 0||e.lang===i)&&(i===void 0||e.assocLang===s)&&(p===void 0||e.default===p)&&(A===void 0||e.forced===A)&&(c===void 0||ei(c,e.characteristics))&&(t===void 0||t(o,e))}function ei(o,e=""){const t=o.split(","),n=e.split(",");return t.length===n.length&&!t.some(r=>n.indexOf(r)===-1)}function zr(o,e){const{audioCodec:t,channels:n}=o;return(t===void 0||(e.audioCodec||"").substring(0,4)===t.substring(0,4))&&(n===void 0||n===(e.channels||"2"))}function ia(o,e,t,n,r){const i=e[n],c=e.reduce((ve,Fe,Re)=>{const Pe=Fe.uri;return(ve[Pe]||(ve[Pe]=[])).push(Re),ve},{})[i.uri];c.length>1&&(n=Math.max.apply(Math,c));const p=i.videoRange,A=i.frameRate,F=i.codecSet.substring(0,4),M=Ki(e,n,ve=>{if(ve.videoRange!==p||ve.frameRate!==A||ve.codecSet.substring(0,4)!==F)return!1;const Fe=ve.audioGroups,Re=t.filter(Pe=>!Fe||Fe.indexOf(Pe.groupId)!==-1);return ba(o,Re,r)>-1});return M>-1?M:Ki(e,n,ve=>{const Fe=ve.audioGroups,Re=t.filter(Pe=>!Fe||Fe.indexOf(Pe.groupId)!==-1);return ba(o,Re,r)>-1})}function Ki(o,e,t){for(let n=e;n>-1;n--)if(t(o[n]))return n;for(let n=e+1;n<o.length;n++)if(t(o[n]))return n;return-1}class ki{constructor(e){this.hls=void 0,this.lastLevelLoadSec=0,this.lastLoadedFragLevel=-1,this.firstSelection=-1,this._nextAutoLevel=-1,this.nextAutoLevelKey="",this.audioTracksByGroup=null,this.codecTiers=null,this.timer=-1,this.fragCurrent=null,this.partCurrent=null,this.bitrateTestDelay=0,this.bwEstimator=void 0,this._abandonRulesCheck=()=>{const{fragCurrent:t,partCurrent:n,hls:r}=this,{autoLevelEnabled:i,media:s}=r;if(!t||!s)return;const c=performance.now(),p=n?n.stats:t.stats,A=n?n.duration:t.duration,F=c-p.loading.start,M=r.minAutoLevel;if(p.aborted||p.loaded&&p.loaded===p.total||t.level<=M){this.clearTimer(),this._nextAutoLevel=-1;return}if(!i||s.paused||!s.playbackRate||!s.readyState)return;const ve=r.mainForwardBufferInfo;if(ve===null)return;const Fe=this.bwEstimator.getEstimateTTFB(),Re=Math.abs(s.playbackRate);if(F<=Math.max(Fe,1e3*(A/(Re*2))))return;const Pe=ve.len/Re,Ve=p.loading.first?p.loading.first-p.loading.start:-1,ht=p.loaded&&Ve>-1,zt=this.getBwEstimate(),jt=r.levels,xn=jt[t.level],Zt=p.total||Math.max(p.loaded,Math.round(A*xn.averageBitrate/8));let Un=ht?F-Ve:F;Un<1&&ht&&(Un=Math.min(F,p.loaded*8/zt));const yn=ht?p.loaded*1e3/Un:0,Yn=yn?(Zt-p.loaded)/yn:Zt*8/zt+Fe/1e3;if(Yn<=Pe)return;const Ar=yn?yn*8:zt;let kn=Number.POSITIVE_INFINITY,qn;for(qn=t.level-1;qn>M;qn--){const Dr=jt[qn].maxBitrate;if(kn=this.getTimeToLoadFrag(Fe/1e3,Ar,A*Dr,!jt[qn].details),kn<Pe)break}if(kn>=Yn||kn>A*10)return;r.nextLoadLevel=r.nextAutoLevel=qn,ht?this.bwEstimator.sample(F-Math.min(Fe,Ve),p.loaded):this.bwEstimator.sampleTTFB(F);const ci=jt[qn].maxBitrate;this.getBwEstimate()*this.hls.config.abrBandWidthUpFactor>ci&&this.resetEstimator(ci),this.clearTimer(),b.warn(`[abr] Fragment ${t.sn}${n?" part "+n.index:""} of level ${t.level} is loading too slowly;
Time to underbuffer: ${Pe.toFixed(3)} s
Estimated load time for current fragment: ${Yn.toFixed(3)} s
Estimated load time for down switch fragment: ${kn.toFixed(3)} s
TTFB estimate: ${Ve|0} ms
Current BW estimate: ${I(zt)?zt|0:"Unknown"} bps
New BW estimate: ${this.getBwEstimate()|0} bps
Switching to level ${qn} @ ${ci|0} bps`),r.trigger(u.FRAG_LOAD_EMERGENCY_ABORTED,{frag:t,part:n,stats:p})},this.hls=e,this.bwEstimator=this.initEstimator(),this.registerListeners()}resetEstimator(e){e&&(b.log(`setting initial bwe to ${e}`),this.hls.config.abrEwmaDefaultEstimate=e),this.firstSelection=-1,this.bwEstimator=this.initEstimator()}initEstimator(){const e=this.hls.config;return new Va(e.abrEwmaSlowVoD,e.abrEwmaFastVoD,e.abrEwmaDefaultEstimate)}registerListeners(){const{hls:e}=this;e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.FRAG_LOADING,this.onFragLoading,this),e.on(u.FRAG_LOADED,this.onFragLoaded,this),e.on(u.FRAG_BUFFERED,this.onFragBuffered,this),e.on(u.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(u.LEVEL_LOADED,this.onLevelLoaded,this),e.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(u.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),e.on(u.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e&&(e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.FRAG_LOADING,this.onFragLoading,this),e.off(u.FRAG_LOADED,this.onFragLoaded,this),e.off(u.FRAG_BUFFERED,this.onFragBuffered,this),e.off(u.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(u.LEVEL_LOADED,this.onLevelLoaded,this),e.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(u.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),e.off(u.ERROR,this.onError,this))}destroy(){this.unregisterListeners(),this.clearTimer(),this.hls=this._abandonRulesCheck=null,this.fragCurrent=this.partCurrent=null}onManifestLoading(e,t){this.lastLoadedFragLevel=-1,this.firstSelection=-1,this.lastLevelLoadSec=0,this.fragCurrent=this.partCurrent=null,this.onLevelsUpdated(),this.clearTimer()}onLevelsUpdated(){this.lastLoadedFragLevel>-1&&this.fragCurrent&&(this.lastLoadedFragLevel=this.fragCurrent.level),this._nextAutoLevel=-1,this.onMaxAutoLevelUpdated(),this.codecTiers=null,this.audioTracksByGroup=null}onMaxAutoLevelUpdated(){this.firstSelection=-1,this.nextAutoLevelKey=""}onFragLoading(e,t){const n=t.frag;if(!this.ignoreFragment(n)){if(!n.bitrateTest){var r;this.fragCurrent=n,this.partCurrent=(r=t.part)!=null?r:null}this.clearTimer(),this.timer=self.setInterval(this._abandonRulesCheck,100)}}onLevelSwitching(e,t){this.clearTimer()}onError(e,t){if(!t.fatal)switch(t.details){case m.BUFFER_ADD_CODEC_ERROR:case m.BUFFER_APPEND_ERROR:this.lastLoadedFragLevel=-1,this.firstSelection=-1;break;case m.FRAG_LOAD_TIMEOUT:{const n=t.frag,{fragCurrent:r,partCurrent:i}=this;if(n&&r&&n.sn===r.sn&&n.level===r.level){const s=performance.now(),c=i?i.stats:n.stats,p=s-c.loading.start,A=c.loading.first?c.loading.first-c.loading.start:-1;if(c.loaded&&A>-1){const M=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(p-Math.min(M,A),c.loaded)}else this.bwEstimator.sampleTTFB(p)}break}}}getTimeToLoadFrag(e,t,n,r){const i=e+n/t,s=r?this.lastLevelLoadSec:0;return i+s}onLevelLoaded(e,t){const n=this.hls.config,{loading:r}=t.stats,i=r.end-r.start;I(i)&&(this.lastLevelLoadSec=i/1e3),t.details.live?this.bwEstimator.update(n.abrEwmaSlowLive,n.abrEwmaFastLive):this.bwEstimator.update(n.abrEwmaSlowVoD,n.abrEwmaFastVoD)}onFragLoaded(e,{frag:t,part:n}){const r=n?n.stats:t.stats;if(t.type===at.MAIN&&this.bwEstimator.sampleTTFB(r.loading.first-r.loading.start),!this.ignoreFragment(t)){if(this.clearTimer(),t.level===this._nextAutoLevel&&(this._nextAutoLevel=-1),this.firstSelection=-1,this.hls.config.abrMaxWithRealBitrate){const i=n?n.duration:t.duration,s=this.hls.levels[t.level],c=(s.loaded?s.loaded.bytes:0)+r.loaded,p=(s.loaded?s.loaded.duration:0)+i;s.loaded={bytes:c,duration:p},s.realBitrate=Math.round(8*c/p)}if(t.bitrateTest){const i={stats:r,frag:t,part:n,id:t.type};this.onFragBuffered(u.FRAG_BUFFERED,i),t.bitrateTest=!1}else this.lastLoadedFragLevel=t.level}}onFragBuffered(e,t){const{frag:n,part:r}=t,i=r!=null&&r.stats.loaded?r.stats:n.stats;if(i.aborted||this.ignoreFragment(n))return;const s=i.parsing.end-i.loading.start-Math.min(i.loading.first-i.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(s,i.loaded),i.bwEstimate=this.getBwEstimate(),n.bitrateTest?this.bitrateTestDelay=s/1e3:this.bitrateTestDelay=0}ignoreFragment(e){return e.type!==at.MAIN||e.sn==="initSegment"}clearTimer(){this.timer>-1&&(self.clearInterval(this.timer),this.timer=-1)}get firstAutoLevel(){const{maxAutoLevel:e,minAutoLevel:t}=this.hls,n=this.getBwEstimate(),r=this.hls.config.maxStarvationDelay,i=this.findBestLevel(n,t,e,0,r,1,1);if(i>-1)return i;const s=this.hls.firstLevel,c=Math.min(Math.max(s,t),e);return b.warn(`[abr] Could not find best starting auto level. Defaulting to first in playlist ${s} clamped to ${c}`),c}get forcedAutoLevel(){return this.nextAutoLevelKey?-1:this._nextAutoLevel}get nextAutoLevel(){const e=this.forcedAutoLevel,n=this.bwEstimator.canEstimate(),r=this.lastLoadedFragLevel>-1;if(e!==-1&&(!n||!r||this.nextAutoLevelKey===this.getAutoLevelKey()))return e;const i=n&&r?this.getNextABRAutoLevel():this.firstAutoLevel;if(e!==-1){const s=this.hls.levels;if(s.length>Math.max(e,i)&&s[e].loadError<=s[i].loadError)return e}return this._nextAutoLevel=i,this.nextAutoLevelKey=this.getAutoLevelKey(),i}getAutoLevelKey(){return`${this.getBwEstimate()}_${this.getStarvationDelay().toFixed(2)}`}getNextABRAutoLevel(){const{fragCurrent:e,partCurrent:t,hls:n}=this,{maxAutoLevel:r,config:i,minAutoLevel:s}=n,c=t?t.duration:e?e.duration:0,p=this.getBwEstimate(),A=this.getStarvationDelay();let F=i.abrBandWidthFactor,M=i.abrBandWidthUpFactor;if(A){const Ve=this.findBestLevel(p,s,r,A,0,F,M);if(Ve>=0)return Ve}let ve=c?Math.min(c,i.maxStarvationDelay):i.maxStarvationDelay;if(!A){const Ve=this.bitrateTestDelay;Ve&&(ve=(c?Math.min(c,i.maxLoadingDelay):i.maxLoadingDelay)-Ve,b.info(`[abr] bitrate test took ${Math.round(1e3*Ve)}ms, set first fragment max fetchDuration to ${Math.round(1e3*ve)} ms`),F=M=1)}const Fe=this.findBestLevel(p,s,r,A,ve,F,M);if(b.info(`[abr] ${A?"rebuffering expected":"buffer is empty"}, optimal quality level ${Fe}`),Fe>-1)return Fe;const Re=n.levels[s],Pe=n.levels[n.loadLevel];return(Re==null?void 0:Re.bitrate)<(Pe==null?void 0:Pe.bitrate)?s:n.loadLevel}getStarvationDelay(){const e=this.hls,t=e.media;if(!t)return 1/0;const n=t&&t.playbackRate!==0?Math.abs(t.playbackRate):1,r=e.mainForwardBufferInfo;return(r?r.len:0)/n}getBwEstimate(){return this.bwEstimator.canEstimate()?this.bwEstimator.getEstimate():this.hls.config.abrEwmaDefaultEstimate}findBestLevel(e,t,n,r,i,s,c){var p;const A=r+i,F=this.lastLoadedFragLevel,M=F===-1?this.hls.firstLevel:F,{fragCurrent:ve,partCurrent:Fe}=this,{levels:Re,allAudioTracks:Pe,loadLevel:Ve,config:ht}=this.hls;if(Re.length===1)return 0;const zt=Re[M],jt=!!(zt!=null&&(p=zt.details)!=null&&p.live),xn=Ve===-1||F===-1;let Zt,Un="SDR",yn=(zt==null?void 0:zt.frameRate)||0;const{audioPreference:Yn,videoPreference:Ar}=ht,kn=this.audioTracksByGroup||(this.audioTracksByGroup=us(Pe));if(xn){if(this.firstSelection!==-1)return this.firstSelection;const ti=this.codecTiers||(this.codecTiers=ns(Re,kn,t,n)),Gr=Ta(ti,Un,e,Yn,Ar),{codecSet:Bi,videoRanges:Yi,minFramerate:Lr,minBitrate:Fr,preferHDR:Hi}=Gr;Zt=Bi,Un=Hi?Yi[Yi.length-1]:Yi[0],yn=Lr,e=Math.max(e,Fr),b.log(`[abr] picked start tier ${JSON.stringify(Gr)}`)}else Zt=zt==null?void 0:zt.codecSet,Un=zt==null?void 0:zt.videoRange;const qn=Fe?Fe.duration:ve?ve.duration:0,ci=this.bwEstimator.getEstimateTTFB()/1e3,Dr=[];for(let ti=n;ti>=t;ti--){var si;const Gr=Re[ti],Bi=ti>M;if(!Gr)continue;if(ht.useMediaCapabilities&&!Gr.supportedResult&&!Gr.supportedPromise){const Ra=navigator.mediaCapabilities;typeof(Ra==null?void 0:Ra.decodingInfo)=="function"&&as(Gr,kn,Un,yn,e,Yn)?(Gr.supportedPromise=ss(Gr,kn,Ra),Gr.supportedPromise.then(Ua=>{if(!this.hls)return;Gr.supportedResult=Ua;const za=this.hls.levels,is=za.indexOf(Gr);Ua.error?b.warn(`[abr] MediaCapabilities decodingInfo error: "${Ua.error}" for level ${is} ${JSON.stringify(Ua)}`):Ua.supported||(b.warn(`[abr] Unsupported MediaCapabilities decodingInfo result for level ${is} ${JSON.stringify(Ua)}`),is>-1&&za.length>1&&(b.log(`[abr] Removing unsupported level ${is}`),this.hls.removeLevel(is)))})):Gr.supportedResult=Ha}if(Zt&&Gr.codecSet!==Zt||Un&&Gr.videoRange!==Un||Bi&&yn>Gr.frameRate||!Bi&&yn>0&&yn<Gr.frameRate||Gr.supportedResult&&!((si=Gr.supportedResult.decodingInfoResults)!=null&&si[0].smooth)){Dr.push(ti);continue}const Yi=Gr.details,Lr=(Fe?Yi==null?void 0:Yi.partTarget:Yi==null?void 0:Yi.averagetargetduration)||qn;let Fr;Bi?Fr=c*e:Fr=s*e;const Hi=qn&&r>=qn*2&&i===0?Re[ti].averageBitrate:Re[ti].maxBitrate,Si=this.getTimeToLoadFrag(ci,Fr,Hi*Lr,Yi===void 0);if(Fr>=Hi&&(ti===F||Gr.loadError===0&&Gr.fragmentError===0)&&(Si<=ci||!I(Si)||jt&&!this.bitrateTestDelay||Si<A)){const Ra=this.forcedAutoLevel;return ti!==Ve&&(Ra===-1||Ra!==Ve)&&(Dr.length&&b.trace(`[abr] Skipped level(s) ${Dr.join(",")} of ${n} max with CODECS and VIDEO-RANGE:"${Re[Dr[0]].codecs}" ${Re[Dr[0]].videoRange}; not compatible with "${zt.codecs}" ${Un}`),b.info(`[abr] switch candidate:${M}->${ti} adjustedbw(${Math.round(Fr)})-bitrate=${Math.round(Fr-Hi)} ttfb:${ci.toFixed(1)} avgDuration:${Lr.toFixed(1)} maxFetchDuration:${A.toFixed(1)} fetchDuration:${Si.toFixed(1)} firstSelection:${xn} codecSet:${Zt} videoRange:${Un} hls.loadLevel:${Ve}`)),xn&&(this.firstSelection=ti),ti}}return-1}set nextAutoLevel(e){const{maxAutoLevel:t,minAutoLevel:n}=this.hls,r=Math.min(Math.max(e,n),t);this._nextAutoLevel!==r&&(this.nextAutoLevelKey="",this._nextAutoLevel=r)}}class oa{constructor(){this._boundTick=void 0,this._tickTimer=null,this._tickInterval=null,this._tickCallCount=0,this._boundTick=this.tick.bind(this)}destroy(){this.onHandlerDestroying(),this.onHandlerDestroyed()}onHandlerDestroying(){this.clearNextTick(),this.clearInterval()}onHandlerDestroyed(){}hasInterval(){return!!this._tickInterval}hasNextTick(){return!!this._tickTimer}setInterval(e){return this._tickInterval?!1:(this._tickCallCount=0,this._tickInterval=self.setInterval(this._boundTick,e),!0)}clearInterval(){return this._tickInterval?(self.clearInterval(this._tickInterval),this._tickInterval=null,!0):!1}clearNextTick(){return this._tickTimer?(self.clearTimeout(this._tickTimer),this._tickTimer=null,!0):!1}tick(){this._tickCallCount++,this._tickCallCount===1&&(this.doTick(),this._tickCallCount>1&&this.tickImmediate(),this._tickCallCount=0)}tickImmediate(){this.clearNextTick(),this._tickTimer=self.setTimeout(this._boundTick,0)}doTick(){}}var pi={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};class Ia{constructor(e){this.activePartLists=Object.create(null),this.endListFragments=Object.create(null),this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.bufferPadding=.2,this.hls=void 0,this.hasGaps=!1,this.hls=e,this._registerListeners()}_registerListeners(){const{hls:e}=this;e.on(u.BUFFER_APPENDED,this.onBufferAppended,this),e.on(u.FRAG_BUFFERED,this.onFragBuffered,this),e.on(u.FRAG_LOADED,this.onFragLoaded,this)}_unregisterListeners(){const{hls:e}=this;e.off(u.BUFFER_APPENDED,this.onBufferAppended,this),e.off(u.FRAG_BUFFERED,this.onFragBuffered,this),e.off(u.FRAG_LOADED,this.onFragLoaded,this)}destroy(){this._unregisterListeners(),this.fragments=this.activePartLists=this.endListFragments=this.timeRanges=null}getAppendedFrag(e,t){const n=this.activePartLists[t];if(n)for(let r=n.length;r--;){const i=n[r];if(!i)break;const s=i.end;if(i.start<=e&&s!==null&&e<=s)return i}return this.getBufferedFrag(e,t)}getBufferedFrag(e,t){const{fragments:n}=this,r=Object.keys(n);for(let i=r.length;i--;){const s=n[r[i]];if((s==null?void 0:s.body.type)===t&&s.buffered){const c=s.body;if(c.start<=e&&e<=c.end)return c}}return null}detectEvictedFragments(e,t,n,r){this.timeRanges&&(this.timeRanges[e]=t);const i=(r==null?void 0:r.fragment.sn)||-1;Object.keys(this.fragments).forEach(s=>{const c=this.fragments[s];if(!c||i>=c.body.sn)return;if(!c.buffered&&!c.loaded){c.body.type===n&&this.removeFragment(c.body);return}const p=c.range[e];p&&p.time.some(A=>{const F=!this.isTimeBuffered(A.startPTS,A.endPTS,t);return F&&this.removeFragment(c.body),F})})}detectPartialFragments(e){const t=this.timeRanges,{frag:n,part:r}=e;if(!t||n.sn==="initSegment")return;const i=ka(n),s=this.fragments[i];if(!s||s.buffered&&n.gap)return;const c=!n.relurl;Object.keys(t).forEach(p=>{const A=n.elementaryStreams[p];if(!A)return;const F=t[p],M=c||A.partial===!0;s.range[p]=this.getBufferedTimes(n,r,M,F)}),s.loaded=null,Object.keys(s.range).length?(s.buffered=!0,(s.body.endList=n.endList||s.body.endList)&&(this.endListFragments[s.body.type]=s),la(s)||this.removeParts(n.sn-1,n.type)):this.removeFragment(s.body)}removeParts(e,t){const n=this.activePartLists[t];n&&(this.activePartLists[t]=n.filter(r=>r.fragment.sn>=e))}fragBuffered(e,t){const n=ka(e);let r=this.fragments[n];!r&&t&&(r=this.fragments[n]={body:e,appendedPTS:null,loaded:null,buffered:!1,range:Object.create(null)},e.gap&&(this.hasGaps=!0)),r&&(r.loaded=null,r.buffered=!0)}getBufferedTimes(e,t,n,r){const i={time:[],partial:n},s=e.start,c=e.end,p=e.minEndPTS||c,A=e.maxStartPTS||s;for(let F=0;F<r.length;F++){const M=r.start(F)-this.bufferPadding,ve=r.end(F)+this.bufferPadding;if(A>=M&&p<=ve){i.time.push({startPTS:Math.max(s,r.start(F)),endPTS:Math.min(c,r.end(F))});break}else if(s<ve&&c>M){const Fe=Math.max(s,r.start(F)),Re=Math.min(c,r.end(F));Re>Fe&&(i.partial=!0,i.time.push({startPTS:Fe,endPTS:Re}))}else if(c<=M)break}return i}getPartialFragment(e){let t=null,n,r,i,s=0;const{bufferPadding:c,fragments:p}=this;return Object.keys(p).forEach(A=>{const F=p[A];F&&la(F)&&(r=F.body.start-c,i=F.body.end+c,e>=r&&e<=i&&(n=Math.min(e-r,i-e),s<=n&&(t=F.body,s=n)))}),t}isEndListAppended(e){const t=this.endListFragments[e];return t!==void 0&&(t.buffered||la(t))}getState(e){const t=ka(e),n=this.fragments[t];return n?n.buffered?la(n)?pi.PARTIAL:pi.OK:pi.APPENDING:pi.NOT_LOADED}isTimeBuffered(e,t,n){let r,i;for(let s=0;s<n.length;s++){if(r=n.start(s)-this.bufferPadding,i=n.end(s)+this.bufferPadding,e>=r&&t<=i)return!0;if(t<=r)return!1}return!1}onFragLoaded(e,t){const{frag:n,part:r}=t;if(n.sn==="initSegment"||n.bitrateTest)return;const i=r?null:t,s=ka(n);this.fragments[s]={body:n,appendedPTS:null,loaded:i,buffered:!1,range:Object.create(null)}}onBufferAppended(e,t){const{frag:n,part:r,timeRanges:i}=t;if(n.sn==="initSegment")return;const s=n.type;if(r){let c=this.activePartLists[s];c||(this.activePartLists[s]=c=[]),c.push(r)}this.timeRanges=i,Object.keys(i).forEach(c=>{const p=i[c];this.detectEvictedFragments(c,p,s,r)})}onFragBuffered(e,t){this.detectPartialFragments(t)}hasFragment(e){const t=ka(e);return!!this.fragments[t]}hasParts(e){var t;return!!((t=this.activePartLists[e])!=null&&t.length)}removeFragmentsInRange(e,t,n,r,i){r&&!this.hasGaps||Object.keys(this.fragments).forEach(s=>{const c=this.fragments[s];if(!c)return;const p=c.body;p.type!==n||r&&!p.gap||p.start<t&&p.end>e&&(c.buffered||i)&&this.removeFragment(p)})}removeFragment(e){const t=ka(e);e.stats.loaded=0,e.clearElementaryStreamInfo();const n=this.activePartLists[e.type];if(n){const r=e.sn;this.activePartLists[e.type]=n.filter(i=>i.fragment.sn!==r)}delete this.fragments[t],e.endList&&delete this.endListFragments[e.type]}removeAllFragments(){this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1}}function la(o){var e,t,n;return o.buffered&&(o.body.gap||((e=o.range.video)==null?void 0:e.partial)||((t=o.range.audio)==null?void 0:t.partial)||((n=o.range.audiovideo)==null?void 0:n.partial))}function ka(o){return`${o.type}_${o.level}_${o.sn}`}const Ba={length:0,start:()=>0,end:()=>0};class _i{static isBuffered(e,t){try{if(e){const n=_i.getBuffered(e);for(let r=0;r<n.length;r++)if(t>=n.start(r)&&t<=n.end(r))return!0}}catch(n){}return!1}static bufferInfo(e,t,n){try{if(e){const r=_i.getBuffered(e),i=[];let s;for(s=0;s<r.length;s++)i.push({start:r.start(s),end:r.end(s)});return this.bufferedInfo(i,t,n)}}catch(r){}return{len:0,start:t,end:t,nextStart:void 0}}static bufferedInfo(e,t,n){t=Math.max(0,t),e.sort(function(A,F){const M=A.start-F.start;return M||F.end-A.end});let r=[];if(n)for(let A=0;A<e.length;A++){const F=r.length;if(F){const M=r[F-1].end;e[A].start-M<n?e[A].end>M&&(r[F-1].end=e[A].end):r.push(e[A])}else r.push(e[A])}else r=e;let i=0,s,c=t,p=t;for(let A=0;A<r.length;A++){const F=r[A].start,M=r[A].end;if(t+n>=F&&t<M)c=F,p=M,i=p-t;else if(t+n<F){s=F;break}}return{len:i,start:c||0,end:p||0,nextStart:s}}static getBuffered(e){try{return e.buffered}catch(t){return b.log("failed to get media.buffered",t),Ba}}}class vs{constructor(e,t,n,r=0,i=-1,s=!1){this.level=void 0,this.sn=void 0,this.part=void 0,this.id=void 0,this.size=void 0,this.partial=void 0,this.transmuxing=Ca(),this.buffering={audio:Ca(),video:Ca(),audiovideo:Ca()},this.level=e,this.sn=t,this.id=n,this.size=r,this.part=i,this.partial=s}}function Ca(){return{start:0,executeStart:0,executeEnd:0,end:0}}function Za(o,e){for(let n=0,r=o.length;n<r;n++){var t;if(((t=o[n])==null?void 0:t.cc)===e)return o[n]}return null}function Cs(o,e,t){return!!(e&&(t.endCC>t.startCC||o&&o.cc<t.startCC))}function Qa(o,e){const t=o.fragments,n=e.fragments;if(!n.length||!t.length){b.log("No fragments to align");return}const r=Za(t,n[0].cc);if(!r||r&&!r.startPTS){b.log("No frag in previous level to align on");return}return r}function cs(o,e){if(o){const t=o.start+e;o.start=o.startPTS=t,o.endPTS=t+o.duration}}function ys(o,e){const t=e.fragments;for(let n=0,r=t.length;n<r;n++)cs(t[n],o);e.fragmentHint&&cs(e.fragmentHint,o),e.alignedSliding=!0}function ds(o,e,t){e&&(Rs(o,t,e),!t.alignedSliding&&e&&Oa(t,e),!t.alignedSliding&&e&&!t.skippedSegments&&Ea(e,t))}function Rs(o,e,t){if(Cs(o,t,e)){const n=Qa(t,e);n&&I(n.start)&&(b.log(`Adjusting PTS using last level due to CC increase within current level ${e.url}`),ys(n.start,e))}}function Oa(o,e){if(!o.hasProgramDateTime||!e.hasProgramDateTime)return;const t=o.fragments,n=e.fragments;if(!t.length||!n.length)return;let r,i;const s=Math.min(e.endCC,o.endCC);e.startCC<s&&o.startCC<s&&(r=Za(n,s),i=Za(t,s)),(!r||!i)&&(r=n[Math.floor(n.length/2)],i=Za(t,r.cc)||t[Math.floor(t.length/2)]);const c=r.programDateTime,p=i.programDateTime;if(!c||!p)return;const A=(p-c)/1e3-(i.start-r.start);ys(A,o)}const bs=Math.pow(2,17);class wi{constructor(e){this.config=void 0,this.loader=null,this.partLoadTimeout=-1,this.config=e}destroy(){this.loader&&(this.loader.destroy(),this.loader=null)}abort(){this.loader&&this.loader.abort()}load(e,t){const n=e.url;if(!n)return Promise.reject(new Ji({type:x.NETWORK_ERROR,details:m.FRAG_LOAD_ERROR,fatal:!1,frag:e,error:new Error(`Fragment does not have a ${n?"part list":"url"}`),networkDetails:null}));this.abort();const r=this.config,i=r.fLoader,s=r.loader;return new Promise((c,p)=>{if(this.loader&&this.loader.destroy(),e.gap)if(e.tagList.some(Fe=>Fe[0]==="GAP")){p(mi(e));return}else e.gap=!1;const A=this.loader=e.loader=i?new i(r):new s(r),F=xi(e),M=Ni(r.fragLoadPolicy.default),ve={loadPolicy:M,timeout:M.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:e.sn==="initSegment"?1/0:bs};e.stats=A.stats,A.load(F,ve,{onSuccess:(Fe,Re,Pe,Ve)=>{this.resetLoader(e,A);let ht=Fe.data;Pe.resetIV&&e.decryptdata&&(e.decryptdata.iv=new Uint8Array(ht.slice(0,16)),ht=ht.slice(16)),c({frag:e,part:null,payload:ht,networkDetails:Ve})},onError:(Fe,Re,Pe,Ve)=>{this.resetLoader(e,A),p(new Ji({type:x.NETWORK_ERROR,details:m.FRAG_LOAD_ERROR,fatal:!1,frag:e,response:$({url:n,data:void 0},Fe),error:new Error(`HTTP Error ${Fe.code} ${Fe.text}`),networkDetails:Pe,stats:Ve}))},onAbort:(Fe,Re,Pe)=>{this.resetLoader(e,A),p(new Ji({type:x.NETWORK_ERROR,details:m.INTERNAL_ABORTED,fatal:!1,frag:e,error:new Error("Aborted"),networkDetails:Pe,stats:Fe}))},onTimeout:(Fe,Re,Pe)=>{this.resetLoader(e,A),p(new Ji({type:x.NETWORK_ERROR,details:m.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e,error:new Error(`Timeout after ${ve.timeout}ms`),networkDetails:Pe,stats:Fe}))},onProgress:(Fe,Re,Pe,Ve)=>{t&&t({frag:e,part:null,payload:Pe,networkDetails:Ve})}})})}loadPart(e,t,n){this.abort();const r=this.config,i=r.fLoader,s=r.loader;return new Promise((c,p)=>{if(this.loader&&this.loader.destroy(),e.gap||t.gap){p(mi(e,t));return}const A=this.loader=e.loader=i?new i(r):new s(r),F=xi(e,t),M=Ni(r.fragLoadPolicy.default),ve={loadPolicy:M,timeout:M.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:bs};t.stats=A.stats,A.load(F,ve,{onSuccess:(Fe,Re,Pe,Ve)=>{this.resetLoader(e,A),this.updateStatsFromPart(e,t);const ht={frag:e,part:t,payload:Fe.data,networkDetails:Ve};n(ht),c(ht)},onError:(Fe,Re,Pe,Ve)=>{this.resetLoader(e,A),p(new Ji({type:x.NETWORK_ERROR,details:m.FRAG_LOAD_ERROR,fatal:!1,frag:e,part:t,response:$({url:F.url,data:void 0},Fe),error:new Error(`HTTP Error ${Fe.code} ${Fe.text}`),networkDetails:Pe,stats:Ve}))},onAbort:(Fe,Re,Pe)=>{e.stats.aborted=t.stats.aborted,this.resetLoader(e,A),p(new Ji({type:x.NETWORK_ERROR,details:m.INTERNAL_ABORTED,fatal:!1,frag:e,part:t,error:new Error("Aborted"),networkDetails:Pe,stats:Fe}))},onTimeout:(Fe,Re,Pe)=>{this.resetLoader(e,A),p(new Ji({type:x.NETWORK_ERROR,details:m.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e,part:t,error:new Error(`Timeout after ${ve.timeout}ms`),networkDetails:Pe,stats:Fe}))}})})}updateStatsFromPart(e,t){const n=e.stats,r=t.stats,i=r.total;if(n.loaded+=r.loaded,i){const p=Math.round(e.duration/t.duration),A=Math.min(Math.round(n.loaded/i),p),M=(p-A)*Math.round(n.loaded/A);n.total=n.loaded+M}else n.total=Math.max(n.loaded,n.total);const s=n.loading,c=r.loading;s.start?s.first+=c.first-c.start:(s.start=c.start,s.first=c.first),s.end=c.end}resetLoader(e,t){e.loader=null,this.loader===t&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),t.destroy()}}function xi(o,e=null){const t=e||o,n={frag:o,part:e,responseType:"arraybuffer",url:t.url,headers:{},rangeStart:0,rangeEnd:0},r=t.byteRangeStartOffset,i=t.byteRangeEndOffset;if(I(r)&&I(i)){var s;let c=r,p=i;if(o.sn==="initSegment"&&((s=o.decryptdata)==null?void 0:s.method)==="AES-128"){const A=i-r;A%16&&(p=i+(16-A%16)),r!==0&&(n.resetIV=!0,c=r-16)}n.rangeStart=c,n.rangeEnd=p}return n}function mi(o,e){const t=new Error(`GAP ${o.gap?"tag":"attribute"} found`),n={type:x.MEDIA_ERROR,details:m.FRAG_GAP,fatal:!1,frag:o,error:t,networkDetails:null};return e&&(n.part=e),(e||o).stats.aborted=!0,new Ji(n)}class Ji extends Error{constructor(e){super(e.error.message),this.data=void 0,this.data=e}}class Xi{constructor(e,t){this.subtle=void 0,this.aesIV=void 0,this.subtle=e,this.aesIV=t}decrypt(e,t){return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},t,e)}}class fs{constructor(e,t){this.subtle=void 0,this.key=void 0,this.subtle=e,this.key=t}expandKey(){return this.subtle.importKey("raw",this.key,{name:"AES-CBC"},!1,["encrypt","decrypt"])}}function Ja(o){const e=o.byteLength,t=e&&new DataView(o.buffer).getUint8(e-1);return t?se(o,0,e-t):o}class hs{constructor(){this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.ksRows=0,this.keySize=0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.initTable()}uint8ArrayToUint32Array_(e){const t=new DataView(e),n=new Uint32Array(4);for(let r=0;r<4;r++)n[r]=t.getUint32(r*4);return n}initTable(){const e=this.sBox,t=this.invSBox,n=this.subMix,r=n[0],i=n[1],s=n[2],c=n[3],p=this.invSubMix,A=p[0],F=p[1],M=p[2],ve=p[3],Fe=new Uint32Array(256);let Re=0,Pe=0,Ve=0;for(Ve=0;Ve<256;Ve++)Ve<128?Fe[Ve]=Ve<<1:Fe[Ve]=Ve<<1^283;for(Ve=0;Ve<256;Ve++){let ht=Pe^Pe<<1^Pe<<2^Pe<<3^Pe<<4;ht=ht>>>8^ht&255^99,e[Re]=ht,t[ht]=Re;const zt=Fe[Re],jt=Fe[zt],xn=Fe[jt];let Zt=Fe[ht]*257^ht*16843008;r[Re]=Zt<<24|Zt>>>8,i[Re]=Zt<<16|Zt>>>16,s[Re]=Zt<<8|Zt>>>24,c[Re]=Zt,Zt=xn*16843009^jt*65537^zt*257^Re*16843008,A[ht]=Zt<<24|Zt>>>8,F[ht]=Zt<<16|Zt>>>16,M[ht]=Zt<<8|Zt>>>24,ve[ht]=Zt,Re?(Re=zt^Fe[Fe[Fe[xn^zt]]],Pe^=Fe[Fe[Pe]]):Re=Pe=1}}expandKey(e){const t=this.uint8ArrayToUint32Array_(e);let n=!0,r=0;for(;r<t.length&&n;)n=t[r]===this.key[r],r++;if(n)return;this.key=t;const i=this.keySize=t.length;if(i!==4&&i!==6&&i!==8)throw new Error("Invalid aes key size="+i);const s=this.ksRows=(i+6+1)*4;let c,p;const A=this.keySchedule=new Uint32Array(s),F=this.invKeySchedule=new Uint32Array(s),M=this.sBox,ve=this.rcon,Fe=this.invSubMix,Re=Fe[0],Pe=Fe[1],Ve=Fe[2],ht=Fe[3];let zt,jt;for(c=0;c<s;c++){if(c<i){zt=A[c]=t[c];continue}jt=zt,c%i===0?(jt=jt<<8|jt>>>24,jt=M[jt>>>24]<<24|M[jt>>>16&255]<<16|M[jt>>>8&255]<<8|M[jt&255],jt^=ve[c/i|0]<<24):i>6&&c%i===4&&(jt=M[jt>>>24]<<24|M[jt>>>16&255]<<16|M[jt>>>8&255]<<8|M[jt&255]),A[c]=zt=(A[c-i]^jt)>>>0}for(p=0;p<s;p++)c=s-p,p&3?jt=A[c]:jt=A[c-4],p<4||c<=4?F[p]=jt:F[p]=Re[M[jt>>>24]]^Pe[M[jt>>>16&255]]^Ve[M[jt>>>8&255]]^ht[M[jt&255]],F[p]=F[p]>>>0}networkToHostOrderSwap(e){return e<<24|(e&65280)<<8|(e&16711680)>>8|e>>>24}decrypt(e,t,n){const r=this.keySize+6,i=this.invKeySchedule,s=this.invSBox,c=this.invSubMix,p=c[0],A=c[1],F=c[2],M=c[3],ve=this.uint8ArrayToUint32Array_(n);let Fe=ve[0],Re=ve[1],Pe=ve[2],Ve=ve[3];const ht=new Int32Array(e),zt=new Int32Array(ht.length);let jt,xn,Zt,Un,yn,Yn,Ar,kn,qn,ci,Dr,si,ti,Gr;const Bi=this.networkToHostOrderSwap;for(;t<ht.length;){for(qn=Bi(ht[t]),ci=Bi(ht[t+1]),Dr=Bi(ht[t+2]),si=Bi(ht[t+3]),yn=qn^i[0],Yn=si^i[1],Ar=Dr^i[2],kn=ci^i[3],ti=4,Gr=1;Gr<r;Gr++)jt=p[yn>>>24]^A[Yn>>16&255]^F[Ar>>8&255]^M[kn&255]^i[ti],xn=p[Yn>>>24]^A[Ar>>16&255]^F[kn>>8&255]^M[yn&255]^i[ti+1],Zt=p[Ar>>>24]^A[kn>>16&255]^F[yn>>8&255]^M[Yn&255]^i[ti+2],Un=p[kn>>>24]^A[yn>>16&255]^F[Yn>>8&255]^M[Ar&255]^i[ti+3],yn=jt,Yn=xn,Ar=Zt,kn=Un,ti=ti+4;jt=s[yn>>>24]<<24^s[Yn>>16&255]<<16^s[Ar>>8&255]<<8^s[kn&255]^i[ti],xn=s[Yn>>>24]<<24^s[Ar>>16&255]<<16^s[kn>>8&255]<<8^s[yn&255]^i[ti+1],Zt=s[Ar>>>24]<<24^s[kn>>16&255]<<16^s[yn>>8&255]<<8^s[Yn&255]^i[ti+2],Un=s[kn>>>24]<<24^s[yn>>16&255]<<16^s[Yn>>8&255]<<8^s[Ar&255]^i[ti+3],zt[t]=Bi(jt^Fe),zt[t+1]=Bi(Un^Re),zt[t+2]=Bi(Zt^Pe),zt[t+3]=Bi(xn^Ve),Fe=qn,Re=ci,Pe=Dr,Ve=si,t=t+4}return zt.buffer}}const ks=16;class ps{constructor(e,{removePKCS7Padding:t=!0}={}){if(this.logEnabled=!0,this.removePKCS7Padding=void 0,this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null,this.useSoftware=void 0,this.useSoftware=e.enableSoftwareAES,this.removePKCS7Padding=t,t)try{const n=self.crypto;n&&(this.subtle=n.subtle||n.webkitSubtle)}catch(n){}this.useSoftware=!this.subtle}destroy(){this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null}isSync(){return this.useSoftware}flush(){const{currentResult:e,remainderData:t}=this;if(!e||t)return this.reset(),null;const n=new Uint8Array(e);return this.reset(),this.removePKCS7Padding?Ja(n):n}reset(){this.currentResult=null,this.currentIV=null,this.remainderData=null,this.softwareDecrypter&&(this.softwareDecrypter=null)}decrypt(e,t,n){return this.useSoftware?new Promise((r,i)=>{this.softwareDecrypt(new Uint8Array(e),t,n);const s=this.flush();s?r(s.buffer):i(new Error("[softwareDecrypt] Failed to decrypt data"))}):this.webCryptoDecrypt(new Uint8Array(e),t,n)}softwareDecrypt(e,t,n){const{currentIV:r,currentResult:i,remainderData:s}=this;this.logOnce("JS AES decrypt"),s&&(e=Rt(s,e),this.remainderData=null);const c=this.getValidChunk(e);if(!c.length)return null;r&&(n=r);let p=this.softwareDecrypter;p||(p=this.softwareDecrypter=new hs),p.expandKey(t);const A=i;return this.currentResult=p.decrypt(c.buffer,0,n),this.currentIV=se(c,-16).buffer,A||null}webCryptoDecrypt(e,t,n){if(this.key!==t||!this.fastAesKey){if(!this.subtle)return Promise.resolve(this.onWebCryptoError(e,t,n));this.key=t,this.fastAesKey=new fs(this.subtle,t)}return this.fastAesKey.expandKey().then(r=>this.subtle?(this.logOnce("WebCrypto AES decrypt"),new Xi(this.subtle,new Uint8Array(n)).decrypt(e.buffer,r)):Promise.reject(new Error("web crypto not initialized"))).catch(r=>(b.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${r.name}: ${r.message}`),this.onWebCryptoError(e,t,n)))}onWebCryptoError(e,t,n){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(e,t,n);const r=this.flush();if(r)return r.buffer;throw new Error("WebCrypto and softwareDecrypt: failed to decrypt data")}getValidChunk(e){let t=e;const n=e.length-e.length%ks;return n!==e.length&&(t=se(e,0,n),this.remainderData=se(e,n)),t}logOnce(e){this.logEnabled&&(b.log(`[decrypter]: ${e}`),this.logEnabled=!1)}}const ms={toString:function(o){let e="";const t=o.length;for(let n=0;n<t;n++)e+=`[${o.start(n).toFixed(3)}-${o.end(n).toFixed(3)}]`;return e}},Rn={STOPPED:"STOPPED",IDLE:"IDLE",KEY_LOADING:"KEY_LOADING",FRAG_LOADING:"FRAG_LOADING",FRAG_LOADING_WAITING_RETRY:"FRAG_LOADING_WAITING_RETRY",WAITING_TRACK:"WAITING_TRACK",PARSING:"PARSING",PARSED:"PARSED",ENDED:"ENDED",ERROR:"ERROR",WAITING_INIT_PTS:"WAITING_INIT_PTS",WAITING_LEVEL:"WAITING_LEVEL"};class Ts extends oa{constructor(e,t,n,r,i){super(),this.hls=void 0,this.fragPrevious=null,this.fragCurrent=null,this.fragmentTracker=void 0,this.transmuxer=null,this._state=Rn.STOPPED,this.playlistType=void 0,this.media=null,this.mediaBuffer=null,this.config=void 0,this.bitrateTest=!1,this.lastCurrentTime=0,this.nextLoadPosition=0,this.startPosition=0,this.startTimeOffset=null,this.loadedmetadata=!1,this.retryDate=0,this.levels=null,this.fragmentLoader=void 0,this.keyLoader=void 0,this.levelLastLoaded=null,this.startFragRequested=!1,this.decrypter=void 0,this.initPTS=[],this.buffering=!0,this.onvseeking=null,this.onvended=null,this.logPrefix="",this.log=void 0,this.warn=void 0,this.playlistType=i,this.logPrefix=r,this.log=b.log.bind(b,`${r}:`),this.warn=b.warn.bind(b,`${r}:`),this.hls=e,this.fragmentLoader=new wi(e.config),this.keyLoader=n,this.fragmentTracker=t,this.config=e.config,this.decrypter=new ps(e.config),e.on(u.MANIFEST_LOADED,this.onManifestLoaded,this)}doTick(){this.onTickEnd()}onTickEnd(){}startLoad(e){}stopLoad(){this.fragmentLoader.abort(),this.keyLoader.abort(this.playlistType);const e=this.fragCurrent;e!=null&&e.loader&&(e.abortRequests(),this.fragmentTracker.removeFragment(e)),this.resetTransmuxer(),this.fragCurrent=null,this.fragPrevious=null,this.clearInterval(),this.clearNextTick(),this.state=Rn.STOPPED}pauseBuffering(){this.buffering=!1}resumeBuffering(){this.buffering=!0}_streamEnded(e,t){if(t.live||e.nextStart||!e.end||!this.media)return!1;const n=t.partList;if(n!=null&&n.length){const i=n[n.length-1];return _i.isBuffered(this.media,i.start+i.duration/2)}const r=t.fragments[t.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(r)}getLevelDetails(){if(this.levels&&this.levelLastLoaded!==null){var e;return(e=this.levelLastLoaded)==null?void 0:e.details}}onMediaAttached(e,t){const n=this.media=this.mediaBuffer=t.media;this.onvseeking=this.onMediaSeeking.bind(this),this.onvended=this.onMediaEnded.bind(this),n.addEventListener("seeking",this.onvseeking),n.addEventListener("ended",this.onvended);const r=this.config;this.levels&&r.autoStartLoad&&this.state===Rn.STOPPED&&this.startLoad(r.startPosition)}onMediaDetaching(){const e=this.media;e!=null&&e.ended&&(this.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),e&&this.onvseeking&&this.onvended&&(e.removeEventListener("seeking",this.onvseeking),e.removeEventListener("ended",this.onvended),this.onvseeking=this.onvended=null),this.keyLoader&&this.keyLoader.detach(),this.media=this.mediaBuffer=null,this.loadedmetadata=!1,this.fragmentTracker.removeAllFragments(),this.stopLoad()}onMediaSeeking(){const{config:e,fragCurrent:t,media:n,mediaBuffer:r,state:i}=this,s=n?n.currentTime:0,c=_i.bufferInfo(r||n,s,e.maxBufferHole);if(this.log(`media seeking to ${I(s)?s.toFixed(3):s}, state: ${i}`),this.state===Rn.ENDED)this.resetLoadingState();else if(t){const p=e.maxFragLookUpTolerance,A=t.start-p,F=t.start+t.duration+p;if(!c.len||F<c.start||A>c.end){const M=s>F;(s<A||M)&&(M&&t.loader&&(this.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),t.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}n&&(this.fragmentTracker.removeFragmentsInRange(s,1/0,this.playlistType,!0),this.lastCurrentTime=s),!this.loadedmetadata&&!c.len&&(this.nextLoadPosition=this.startPosition=s),this.tickImmediate()}onMediaEnded(){this.startPosition=this.lastCurrentTime=0}onManifestLoaded(e,t){this.startTimeOffset=t.startTimeOffset,this.initPTS=[]}onHandlerDestroying(){this.hls.off(u.MANIFEST_LOADED,this.onManifestLoaded,this),this.stopLoad(),super.onHandlerDestroying(),this.hls=null}onHandlerDestroyed(){this.state=Rn.STOPPED,this.fragmentLoader&&this.fragmentLoader.destroy(),this.keyLoader&&this.keyLoader.destroy(),this.decrypter&&this.decrypter.destroy(),this.hls=this.log=this.warn=this.decrypter=this.keyLoader=this.fragmentLoader=this.fragmentTracker=null,super.onHandlerDestroyed()}loadFragment(e,t,n){this._loadFragForPlayback(e,t,n)}_loadFragForPlayback(e,t,n){const r=i=>{if(this.fragContextChanged(e)){this.warn(`Fragment ${e.sn}${i.part?" p: "+i.part.index:""} of level ${e.level} was dropped during download.`),this.fragmentTracker.removeFragment(e);return}e.stats.chunkCount++,this._handleFragmentLoadProgress(i)};this._doFragLoad(e,t,n,r).then(i=>{if(!i)return;const s=this.state;if(this.fragContextChanged(e)){(s===Rn.FRAG_LOADING||!this.fragCurrent&&s===Rn.PARSING)&&(this.fragmentTracker.removeFragment(e),this.state=Rn.IDLE);return}"payload"in i&&(this.log(`Loaded fragment ${e.sn} of level ${e.level}`),this.hls.trigger(u.FRAG_LOADED,i)),this._handleFragmentLoadComplete(i)}).catch(i=>{this.state===Rn.STOPPED||this.state===Rn.ERROR||(this.warn(`Frag error: ${(i==null?void 0:i.message)||i}`),this.resetFragmentLoading(e))})}clearTrackerIfNeeded(e){var t;const{fragmentTracker:n}=this;if(n.getState(e)===pi.APPENDING){const i=e.type,s=this.getFwdBufferInfo(this.mediaBuffer,i),c=Math.max(e.duration,s?s.len:this.config.maxBufferLength),p=this.backtrackFragment;((p?e.sn-p.sn:0)===1||this.reduceMaxBufferLength(c,e.duration))&&n.removeFragment(e)}else((t=this.mediaBuffer)==null?void 0:t.buffered.length)===0?n.removeAllFragments():n.hasParts(e.type)&&(n.detectPartialFragments({frag:e,part:null,stats:e.stats,id:e.type}),n.getState(e)===pi.PARTIAL&&n.removeFragment(e))}checkLiveUpdate(e){if(e.updated&&!e.live){const t=e.fragments[e.fragments.length-1];this.fragmentTracker.detectPartialFragments({frag:t,part:null,stats:t.stats,id:t.type})}e.fragments[0]||(e.deltaUpdateFailed=!0)}flushMainBuffer(e,t,n=null){if(!(e-t))return;const r={startOffset:e,endOffset:t,type:n};this.hls.trigger(u.BUFFER_FLUSHING,r)}_loadInitSegment(e,t){this._doFragLoad(e,t).then(n=>{if(!n||this.fragContextChanged(e)||!this.levels)throw new Error("init load aborted");return n}).then(n=>{const{hls:r}=this,{payload:i}=n,s=e.decryptdata;if(i&&i.byteLength>0&&s!=null&&s.key&&s.iv&&s.method==="AES-128"){const c=self.performance.now();return this.decrypter.decrypt(new Uint8Array(i),s.key.buffer,s.iv.buffer).catch(p=>{throw r.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.FRAG_DECRYPT_ERROR,fatal:!1,error:p,reason:p.message,frag:e}),p}).then(p=>{const A=self.performance.now();return r.trigger(u.FRAG_DECRYPTED,{frag:e,payload:p,stats:{tstart:c,tdecrypt:A}}),n.payload=p,this.completeInitSegmentLoad(n)})}return this.completeInitSegmentLoad(n)}).catch(n=>{this.state===Rn.STOPPED||this.state===Rn.ERROR||(this.warn(n),this.resetFragmentLoading(e))})}completeInitSegmentLoad(e){const{levels:t}=this;if(!t)throw new Error("init load aborted, missing levels");const n=e.frag.stats;this.state=Rn.IDLE,e.frag.data=new Uint8Array(e.payload),n.parsing.start=n.buffering.start=self.performance.now(),n.parsing.end=n.buffering.end=self.performance.now(),this.tick()}fragContextChanged(e){const{fragCurrent:t}=this;return!e||!t||e.sn!==t.sn||e.level!==t.level}fragBufferedComplete(e,t){var n,r,i,s;const c=this.mediaBuffer?this.mediaBuffer:this.media;if(this.log(`Buffered ${e.type} sn: ${e.sn}${t?" part: "+t.index:""} of ${this.playlistType===at.MAIN?"level":"track"} ${e.level} (frag:[${((n=e.startPTS)!=null?n:NaN).toFixed(3)}-${((r=e.endPTS)!=null?r:NaN).toFixed(3)}] > buffer:${c?ms.toString(_i.getBuffered(c)):"(detached)"})`),e.sn!=="initSegment"){var p;if(e.type!==at.SUBTITLE){const F=e.elementaryStreams;if(!Object.keys(F).some(M=>!!F[M])){this.state=Rn.IDLE;return}}const A=(p=this.levels)==null?void 0:p[e.level];A!=null&&A.fragmentError&&(this.log(`Resetting level fragment error count of ${A.fragmentError} on frag buffered`),A.fragmentError=0)}this.state=Rn.IDLE,c&&(!this.loadedmetadata&&e.type==at.MAIN&&c.buffered.length&&((i=this.fragCurrent)==null?void 0:i.sn)===((s=this.fragPrevious)==null?void 0:s.sn)&&(this.loadedmetadata=!0,this.seekToStartPos()),this.tick())}seekToStartPos(){}_handleFragmentLoadComplete(e){const{transmuxer:t}=this;if(!t)return;const{frag:n,part:r,partsLoaded:i}=e,s=!i||i.length===0||i.some(p=>!p),c=new vs(n.level,n.sn,n.stats.chunkCount+1,0,r?r.index:-1,!s);t.flush(c)}_handleFragmentLoadProgress(e){}_doFragLoad(e,t,n=null,r){var i;const s=t==null?void 0:t.details;if(!this.levels||!s)throw new Error(`frag load aborted, missing level${s?"":" detail"}s`);let c=null;if(e.encrypted&&!((i=e.decryptdata)!=null&&i.key)?(this.log(`Loading key for ${e.sn} of [${s.startSN}-${s.endSN}], ${this.logPrefix==="[stream-controller]"?"level":"track"} ${e.level}`),this.state=Rn.KEY_LOADING,this.fragCurrent=e,c=this.keyLoader.load(e).then(F=>{if(!this.fragContextChanged(F.frag))return this.hls.trigger(u.KEY_LOADED,F),this.state===Rn.KEY_LOADING&&(this.state=Rn.IDLE),F}),this.hls.trigger(u.KEY_LOADING,{frag:e}),this.fragCurrent===null&&(c=Promise.reject(new Error("frag load aborted, context changed in KEY_LOADING")))):!e.encrypted&&s.encryptedFragments.length&&this.keyLoader.loadClear(e,s.encryptedFragments),n=Math.max(e.start,n||0),this.config.lowLatencyMode&&e.sn!=="initSegment"){const F=s.partList;if(F&&r){n>e.end&&s.fragmentHint&&(e=s.fragmentHint);const M=this.getNextPart(F,e,n);if(M>-1){const ve=F[M];this.log(`Loading part sn: ${e.sn} p: ${ve.index} cc: ${e.cc} of playlist [${s.startSN}-${s.endSN}] parts [0-${M}-${F.length-1}] ${this.logPrefix==="[stream-controller]"?"level":"track"}: ${e.level}, target: ${parseFloat(n.toFixed(3))}`),this.nextLoadPosition=ve.start+ve.duration,this.state=Rn.FRAG_LOADING;let Fe;return c?Fe=c.then(Re=>!Re||this.fragContextChanged(Re.frag)?null:this.doFragPartsLoad(e,ve,t,r)).catch(Re=>this.handleFragLoadError(Re)):Fe=this.doFragPartsLoad(e,ve,t,r).catch(Re=>this.handleFragLoadError(Re)),this.hls.trigger(u.FRAG_LOADING,{frag:e,part:ve,targetBufferTime:n}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):Fe}else if(!e.url||this.loadedEndOfParts(F,n))return Promise.resolve(null)}}this.log(`Loading fragment ${e.sn} cc: ${e.cc} ${s?"of ["+s.startSN+"-"+s.endSN+"] ":""}${this.logPrefix==="[stream-controller]"?"level":"track"}: ${e.level}, target: ${parseFloat(n.toFixed(3))}`),I(e.sn)&&!this.bitrateTest&&(this.nextLoadPosition=e.start+e.duration),this.state=Rn.FRAG_LOADING;const p=this.config.progressive;let A;return p&&c?A=c.then(F=>!F||this.fragContextChanged(F==null?void 0:F.frag)?null:this.fragmentLoader.load(e,r)).catch(F=>this.handleFragLoadError(F)):A=Promise.all([this.fragmentLoader.load(e,p?r:void 0),c]).then(([F])=>(!p&&F&&r&&r(F),F)).catch(F=>this.handleFragLoadError(F)),this.hls.trigger(u.FRAG_LOADING,{frag:e,targetBufferTime:n}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):A}doFragPartsLoad(e,t,n,r){return new Promise((i,s)=>{var c;const p=[],A=(c=n.details)==null?void 0:c.partList,F=M=>{this.fragmentLoader.loadPart(e,M,r).then(ve=>{p[M.index]=ve;const Fe=ve.part;this.hls.trigger(u.FRAG_LOADED,ve);const Re=ur(n,e.sn,M.index+1)||xr(A,e.sn,M.index+1);if(Re)F(Re);else return i({frag:e,part:Fe,partsLoaded:p})}).catch(s)};F(t)})}handleFragLoadError(e){if("data"in e){const t=e.data;e.data&&t.details===m.INTERNAL_ABORTED?this.handleFragLoadAborted(t.frag,t.part):this.hls.trigger(u.ERROR,t)}else this.hls.trigger(u.ERROR,{type:x.OTHER_ERROR,details:m.INTERNAL_EXCEPTION,err:e,error:e,fatal:!0});return null}_handleTransmuxerFlush(e){const t=this.getCurrentContext(e);if(!t||this.state!==Rn.PARSING){!this.fragCurrent&&this.state!==Rn.STOPPED&&this.state!==Rn.ERROR&&(this.state=Rn.IDLE);return}const{frag:n,part:r,level:i}=t,s=self.performance.now();n.stats.parsing.end=s,r&&(r.stats.parsing.end=s),this.updateLevelTiming(n,r,i,e.partial)}getCurrentContext(e){const{levels:t,fragCurrent:n}=this,{level:r,sn:i,part:s}=e;if(!(t!=null&&t[r]))return this.warn(`Levels object was unset while buffering fragment ${i} of level ${r}. The current chunk will not be buffered.`),null;const c=t[r],p=s>-1?ur(c,i,s):null,A=p?p.fragment:na(c,i,n);return A?(n&&n!==A&&(A.stats=n.stats),{frag:A,part:p,level:c}):null}bufferFragmentData(e,t,n,r,i){var s;if(!e||this.state!==Rn.PARSING)return;const{data1:c,data2:p}=e;let A=c;if(c&&p&&(A=Rt(c,p)),!((s=A)!=null&&s.length))return;const F={type:e.type,frag:t,part:n,chunkMeta:r,parent:t.type,data:A};if(this.hls.trigger(u.BUFFER_APPENDING,F),e.dropped&&e.independent&&!n){if(i)return;this.flushBufferGap(t)}}flushBufferGap(e){const t=this.media;if(!t)return;if(!_i.isBuffered(t,t.currentTime)){this.flushMainBuffer(0,e.start);return}const n=t.currentTime,r=_i.bufferInfo(t,n,0),i=e.duration,s=Math.min(this.config.maxFragLookUpTolerance*2,i*.25),c=Math.max(Math.min(e.start-s,r.end-s),n+s);e.start-c>s&&this.flushMainBuffer(c,e.start)}getFwdBufferInfo(e,t){const n=this.getLoadPosition();return I(n)?this.getFwdBufferInfoAtPos(e,n,t):null}getFwdBufferInfoAtPos(e,t,n){const{config:{maxBufferHole:r}}=this,i=_i.bufferInfo(e,t,r);if(i.len===0&&i.nextStart!==void 0){const s=this.fragmentTracker.getBufferedFrag(t,n);if(s&&i.nextStart<s.end)return _i.bufferInfo(e,t,Math.max(i.nextStart,r))}return i}getMaxBufferLength(e){const{config:t}=this;let n;return e?n=Math.max(8*t.maxBufferSize/e,t.maxBufferLength):n=t.maxBufferLength,Math.min(n,t.maxMaxBufferLength)}reduceMaxBufferLength(e,t){const n=this.config,r=Math.max(Math.min(e-t,n.maxBufferLength),t),i=Math.max(e-t*3,n.maxMaxBufferLength/2,r);return i>=r?(n.maxMaxBufferLength=i,this.warn(`Reduce max buffer length to ${i}s`),!0):!1}getAppendedFrag(e,t=at.MAIN){const n=this.fragmentTracker.getAppendedFrag(e,at.MAIN);return n&&"fragment"in n?n.fragment:n}getNextFragment(e,t){const n=t.fragments,r=n.length;if(!r)return null;const{config:i}=this,s=n[0].start;let c;if(t.live){const p=i.initialLiveManifestSize;if(r<p)return this.warn(`Not enough fragments to start playback (have: ${r}, need: ${p})`),null;(!t.PTSKnown&&!this.startFragRequested&&this.startPosition===-1||e<s)&&(c=this.getInitialLiveFragment(t,n),this.startPosition=this.nextLoadPosition=c?this.hls.liveSyncPosition||c.start:e)}else e<=s&&(c=n[0]);if(!c){const p=i.lowLatencyMode?t.partEnd:t.fragmentEnd;c=this.getFragmentAtPosition(e,p,t)}return this.mapToInitFragWhenRequired(c)}isLoopLoading(e,t){const n=this.fragmentTracker.getState(e);return(n===pi.OK||n===pi.PARTIAL&&!!e.gap)&&this.nextLoadPosition>t}getNextFragmentLoopLoading(e,t,n,r,i){const s=e.gap,c=this.getNextFragment(this.nextLoadPosition,t);if(c===null)return c;if(e=c,s&&e&&!e.gap&&n.nextStart){const p=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,n.nextStart,r);if(p!==null&&n.len+p.len>=i)return this.log(`buffer full after gaps in "${r}" playlist starting at sn: ${e.sn}`),null}return e}mapToInitFragWhenRequired(e){return e!=null&&e.initSegment&&!(e!=null&&e.initSegment.data)&&!this.bitrateTest?e.initSegment:e}getNextPart(e,t,n){let r=-1,i=!1,s=!0;for(let c=0,p=e.length;c<p;c++){const A=e[c];if(s=s&&!A.independent,r>-1&&n<A.start)break;const F=A.loaded;F?r=-1:(i||A.independent||s)&&A.fragment===t&&(r=c),i=F}return r}loadedEndOfParts(e,t){const n=e[e.length-1];return n&&t>n.start&&n.loaded}getInitialLiveFragment(e,t){const n=this.fragPrevious;let r=null;if(n){if(e.hasProgramDateTime&&(this.log(`Live playlist, switching playlist, load frag with same PDT: ${n.programDateTime}`),r=va(t,n.endProgramDateTime,this.config.maxFragLookUpTolerance)),!r){const i=n.sn+1;if(i>=e.startSN&&i<=e.endSN){const s=t[i-e.startSN];n.cc===s.cc&&(r=s,this.log(`Live playlist, switching playlist, load frag with next SN: ${r.sn}`))}r||(r=dr(t,n.cc),r&&this.log(`Live playlist, switching playlist, load frag with same CC: ${r.sn}`))}}else{const i=this.hls.liveSyncPosition;i!==null&&(r=this.getFragmentAtPosition(i,this.bitrateTest?e.fragmentEnd:e.edge,e))}return r}getFragmentAtPosition(e,t,n){const{config:r}=this;let{fragPrevious:i}=this,{fragments:s,endSN:c}=n;const{fragmentHint:p}=n,{maxFragLookUpTolerance:A}=r,F=n.partList,M=!!(r.lowLatencyMode&&F!=null&&F.length&&p);M&&p&&!this.bitrateTest&&(s=s.concat(p),c=p.sn);let ve;if(e<t){const Fe=e>t-A?0:A;ve=_a(i,s,e,Fe)}else ve=s[s.length-1];if(ve){const Fe=ve.sn-n.startSN,Re=this.fragmentTracker.getState(ve);if((Re===pi.OK||Re===pi.PARTIAL&&ve.gap)&&(i=ve),i&&ve.sn===i.sn&&(!M||F[0].fragment.sn>ve.sn)&&i&&ve.level===i.level){const Ve=s[Fe+1];ve.sn<c&&this.fragmentTracker.getState(Ve)!==pi.OK?ve=Ve:ve=null}}return ve}synchronizeToLiveEdge(e){const{config:t,media:n}=this;if(!n)return;const r=this.hls.liveSyncPosition,i=n.currentTime,s=e.fragments[0].start,c=e.edge,p=i>=s-t.maxFragLookUpTolerance&&i<=c;if(r!==null&&n.duration>r&&(i<r||!p)){const A=t.liveMaxLatencyDuration!==void 0?t.liveMaxLatencyDuration:t.liveMaxLatencyDurationCount*e.targetduration;(!p&&n.readyState<4||i<c-A)&&(this.loadedmetadata||(this.nextLoadPosition=r),n.readyState&&(this.warn(`Playback: ${i.toFixed(3)} is located too far from the end of live sliding playlist: ${c}, reset currentTime to : ${r.toFixed(3)}`),n.currentTime=r))}}alignPlaylists(e,t,n){const r=e.fragments.length;if(!r)return this.warn("No fragments in live playlist"),0;const i=e.fragments[0].start,s=!t,c=e.alignedSliding&&I(i);if(s||!c&&!i){const{fragPrevious:p}=this;ds(p,n,e);const A=e.fragments[0].start;return this.log(`Live playlist sliding: ${A.toFixed(2)} start-sn: ${t?t.startSN:"na"}->${e.startSN} prev-sn: ${p?p.sn:"na"} fragments: ${r}`),A}return i}waitForCdnTuneIn(e){return e.live&&e.canBlockReload&&e.partTarget&&e.tuneInGoal>Math.max(e.partHoldBack,e.partTarget*3)}setStartPosition(e,t){let n=this.startPosition;if(n<t&&(n=-1),n===-1||this.lastCurrentTime===-1){const r=this.startTimeOffset!==null,i=r?this.startTimeOffset:e.startTimeOffset;i!==null&&I(i)?(n=t+i,i<0&&(n+=e.totalduration),n=Math.min(Math.max(t,n),t+e.totalduration),this.log(`Start time offset ${i} found in ${r?"multivariant":"media"} playlist, adjust startPosition to ${n}`),this.startPosition=n):e.live?n=this.hls.liveSyncPosition||t:this.startPosition=n=0,this.lastCurrentTime=n}this.nextLoadPosition=n}getLoadPosition(){const{media:e}=this;let t=0;return this.loadedmetadata&&e?t=e.currentTime:this.nextLoadPosition&&(t=this.nextLoadPosition),t}handleFragLoadAborted(e,t){this.transmuxer&&e.sn!=="initSegment"&&e.stats.aborted&&(this.warn(`Fragment ${e.sn}${t?" part "+t.index:""} of level ${e.level} was aborted`),this.resetFragmentLoading(e))}resetFragmentLoading(e){(!this.fragCurrent||!this.fragContextChanged(e)&&this.state!==Rn.FRAG_LOADING_WAITING_RETRY)&&(this.state=Rn.IDLE)}onFragmentOrKeyLoadError(e,t){if(t.chunkMeta&&!t.frag){const F=this.getCurrentContext(t.chunkMeta);F&&(t.frag=F.frag)}const n=t.frag;if(!n||n.type!==e||!this.levels)return;if(this.fragContextChanged(n)){var r;this.warn(`Frag load error must match current frag to retry ${n.url} > ${(r=this.fragCurrent)==null?void 0:r.url}`);return}const i=t.details===m.FRAG_GAP;i&&this.fragmentTracker.fragBuffered(n,!0);const s=t.errorAction,{action:c,retryCount:p=0,retryConfig:A}=s||{};if(s&&c===sr.RetryRequest&&A){this.resetStartWhenNotLoaded(this.levelLastLoaded);const F=$r(A,p);this.warn(`Fragment ${n.sn} of ${e} ${n.level} errored with ${t.details}, retrying loading ${p+1}/${A.maxNumRetry} in ${F}ms`),s.resolved=!0,this.retryDate=self.performance.now()+F,this.state=Rn.FRAG_LOADING_WAITING_RETRY}else if(A&&s)if(this.resetFragmentErrors(e),p<A.maxNumRetry)!i&&c!==sr.RemoveAlternatePermanently&&(s.resolved=!0);else{b.warn(`${t.details} reached or exceeded max retry (${p})`);return}else(s==null?void 0:s.action)===sr.SendAlternateToPenaltyBox?this.state=Rn.WAITING_LEVEL:this.state=Rn.ERROR;this.tickImmediate()}reduceLengthAndFlushBuffer(e){if(this.state===Rn.PARSING||this.state===Rn.PARSED){const t=e.frag,n=e.parent,r=this.getFwdBufferInfo(this.mediaBuffer,n),i=r&&r.len>.5;i&&this.reduceMaxBufferLength(r.len,(t==null?void 0:t.duration)||10);const s=!i;return s&&this.warn(`Buffer full error while media.currentTime is not buffered, flush ${n} buffer`),t&&(this.fragmentTracker.removeFragment(t),this.nextLoadPosition=t.start),this.resetLoadingState(),s}return!1}resetFragmentErrors(e){e===at.AUDIO&&(this.fragCurrent=null),this.loadedmetadata||(this.startFragRequested=!1),this.state!==Rn.STOPPED&&(this.state=Rn.IDLE)}afterBufferFlushed(e,t,n){if(!e)return;const r=_i.getBuffered(e);this.fragmentTracker.detectEvictedFragments(t,r,n),this.state===Rn.ENDED&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state=Rn.IDLE}resetStartWhenNotLoaded(e){if(!this.loadedmetadata){this.startFragRequested=!1;const t=e?e.details:null;t!=null&&t.live?(this.startPosition=-1,this.setStartPosition(t,0),this.resetLoadingState()):this.nextLoadPosition=this.startPosition}}resetWhenMissingContext(e){this.warn(`The loading context changed while buffering fragment ${e.sn} of level ${e.level}. This chunk will not be buffered.`),this.removeUnbufferedFrags(),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState()}removeUnbufferedFrags(e=0){this.fragmentTracker.removeFragmentsInRange(e,1/0,this.playlistType,!1,!0)}updateLevelTiming(e,t,n,r){var i;const s=n.details;if(!s){this.warn("level.details undefined");return}if(!Object.keys(e.elementaryStreams).reduce((p,A)=>{const F=e.elementaryStreams[A];if(F){const M=F.endPTS-F.startPTS;if(M<=0)return this.warn(`Could not parse fragment ${e.sn} ${A} duration reliably (${M})`),p||!1;const ve=r?0:aa(s,e,F.startPTS,F.endPTS,F.startDTS,F.endDTS);return this.hls.trigger(u.LEVEL_PTS_UPDATED,{details:s,level:n,drift:ve,type:A,frag:e,start:F.startPTS,end:F.endPTS}),!0}return p},!1)&&((i=this.transmuxer)==null?void 0:i.error)===null){const p=new Error(`Found no media in fragment ${e.sn} of level ${e.level} resetting transmuxer to fallback to playlist timing`);if(n.fragmentError===0&&(n.fragmentError++,e.gap=!0,this.fragmentTracker.removeFragment(e),this.fragmentTracker.fragBuffered(e,!0)),this.warn(p.message),this.hls.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.FRAG_PARSING_ERROR,fatal:!1,error:p,frag:e,reason:`Found no media in msn ${e.sn} of level "${n.url}"`}),!this.hls)return;this.resetTransmuxer()}this.state=Rn.PARSED,this.hls.trigger(u.FRAG_PARSED,{frag:e,part:t})}resetTransmuxer(){this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null)}recoverWorkerError(e){e.event==="demuxerWorker"&&(this.fragmentTracker.removeAllFragments(),this.resetTransmuxer(),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState())}set state(e){const t=this._state;t!==e&&(this._state=e,this.log(`${t}->${e}`))}get state(){return this._state}}class Ms{constructor(){this.chunks=[],this.dataLength=0}push(e){this.chunks.push(e),this.dataLength+=e.length}flush(){const{chunks:e,dataLength:t}=this;let n;if(e.length)e.length===1?n=e[0]:n=go(e,t);else return new Uint8Array(0);return this.reset(),n}reset(){this.chunks.length=0,this.dataLength=0}}function go(o,e){const t=new Uint8Array(e);let n=0;for(let r=0;r<o.length;r++){const i=o[r];t.set(i,n),n+=i.length}return t}function Qs(){return typeof __HLS_WORKER_BUNDLE__=="function"}function Ks(){const o=new self.Blob([`var exports={};var module={exports:exports};function define(f){f()};define.amd=true;(${__HLS_WORKER_BUNDLE__.toString()})(true);`],{type:"text/javascript"}),e=self.URL.createObjectURL(o);return{worker:new self.Worker(e),objectURL:e}}function Js(o){const e=new self.URL(o,self.location.href).href;return{worker:new self.Worker(e),scriptURL:e}}function Ga(o="",e=9e4){return{type:o,id:-1,pid:-1,inputTimeScale:e,sequenceNumber:-1,samples:[],dropped:0}}class zs{constructor(){this._audioTrack=void 0,this._id3Track=void 0,this.frameIndex=0,this.cachedData=null,this.basePTS=null,this.initPTS=null,this.lastPTS=null}resetInitSegment(e,t,n,r){this._id3Track={type:"id3",id:3,pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0}}resetTimeStamp(e){this.initPTS=e,this.resetContiguity()}resetContiguity(){this.basePTS=null,this.lastPTS=null,this.frameIndex=0}canParse(e,t){return!1}appendFrame(e,t,n){}demux(e,t){this.cachedData&&(e=Rt(this.cachedData,e),this.cachedData=null);let n=O(e,0),r=n?n.length:0,i;const s=this._audioTrack,c=this._id3Track,p=n?E(n):void 0,A=e.length;for((this.basePTS===null||this.frameIndex===0&&I(p))&&(this.basePTS=qs(p,t,this.initPTS),this.lastPTS=this.basePTS),this.lastPTS===null&&(this.lastPTS=this.basePTS),n&&n.length>0&&c.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:n,type:Er.audioId3,duration:Number.POSITIVE_INFINITY});r<A;){if(this.canParse(e,r)){const F=this.appendFrame(s,e,r);F?(this.frameIndex++,this.lastPTS=F.sample.pts,r+=F.length,i=r):r=A}else k(e,r)?(n=O(e,r),c.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:n,type:Er.audioId3,duration:Number.POSITIVE_INFINITY}),r+=n.length,i=r):r++;if(r===A&&i!==A){const F=se(e,i);this.cachedData?this.cachedData=Rt(this.cachedData,F):this.cachedData=F}}return{audioTrack:s,videoTrack:Ga(),id3Track:c,textTrack:Ga()}}demuxSampleAes(e,t,n){return Promise.reject(new Error(`[${this}] This demuxer does not support Sample-AES decryption`))}flush(e){const t=this.cachedData;return t&&(this.cachedData=null,this.demux(t,0)),{audioTrack:this._audioTrack,videoTrack:Ga(),id3Track:this._id3Track,textTrack:Ga()}}destroy(){}}const qs=(o,e,t)=>{if(I(o))return o*90;const n=t?t.baseTime*9e4/t.timescale:0;return e*9e4+n};function Po(o,e,t,n){let r,i,s,c;const p=navigator.userAgent.toLowerCase(),A=n,F=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];r=((e[t+2]&192)>>>6)+1;const M=(e[t+2]&60)>>>2;if(M>F.length-1){const ve=new Error(`invalid ADTS sampling index:${M}`);o.emit(u.ERROR,u.ERROR,{type:x.MEDIA_ERROR,details:m.FRAG_PARSING_ERROR,fatal:!0,error:ve,reason:ve.message});return}return s=(e[t+2]&1)<<2,s|=(e[t+3]&192)>>>6,b.log(`manifest codec:${n}, ADTS type:${r}, samplingIndex:${M}`),/firefox/i.test(p)?M>=6?(r=5,c=new Array(4),i=M-3):(r=2,c=new Array(2),i=M):p.indexOf("android")!==-1?(r=2,c=new Array(2),i=M):(r=5,c=new Array(4),n&&(n.indexOf("mp4a.40.29")!==-1||n.indexOf("mp4a.40.5")!==-1)||!n&&M>=6?i=M-3:((n&&n.indexOf("mp4a.40.2")!==-1&&(M>=6&&s===1||/vivaldi/i.test(p))||!n&&s===1)&&(r=2,c=new Array(2)),i=M)),c[0]=r<<3,c[0]|=(M&14)>>1,c[1]|=(M&1)<<7,c[1]|=s<<3,r===5&&(c[1]|=(i&14)>>1,c[2]=(i&1)<<7,c[2]|=8,c[3]=0),{config:c,samplerate:F[M],channelCount:s,codec:"mp4a.40."+r,manifestCodec:A}}function Os(o,e){return o[e]===255&&(o[e+1]&246)===240}function Xs(o,e){return o[e+1]&1?7:9}function Ls(o,e){return(o[e+3]&3)<<11|o[e+4]<<3|(o[e+5]&224)>>>5}function vo(o,e){return e+5<o.length}function qa(o,e){return e+1<o.length&&Os(o,e)}function Ns(o,e){return vo(o,e)&&Os(o,e)&&Ls(o,e)<=o.length-e}function yo(o,e){if(qa(o,e)){const t=Xs(o,e);if(e+t>=o.length)return!1;const n=Ls(o,e);if(n<=t)return!1;const r=e+n;return r===o.length||qa(o,r)}return!1}function bo(o,e,t,n,r){if(!o.samplerate){const i=Po(e,t,n,r);if(!i)return;o.config=i.config,o.samplerate=i.samplerate,o.channelCount=i.channelCount,o.codec=i.codec,o.manifestCodec=i.manifestCodec,b.log(`parsed codec:${o.codec}, rate:${i.samplerate}, channels:${i.channelCount}`)}}function Hs(o){return 1024*9e4/o}function Uo(o,e){const t=Xs(o,e);if(e+t<=o.length){const n=Ls(o,e)-t;if(n>0)return{headerLength:t,frameLength:n}}}function js(o,e,t,n,r){const i=Hs(o.samplerate),s=n+r*i,c=Uo(e,t);let p;if(c){const{frameLength:M,headerLength:ve}=c,Fe=ve+M,Re=Math.max(0,t+Fe-e.length);Re?(p=new Uint8Array(Fe-ve),p.set(e.subarray(t+ve,e.length),0)):p=e.subarray(t+ve,t+Fe);const Pe={unit:p,pts:s};return Re||o.samples.push(Pe),{sample:Pe,length:Fe,missing:Re}}const A=e.length-t;return p=new Uint8Array(A),p.set(e.subarray(t,e.length),0),{sample:{unit:p,pts:s},length:A,missing:-1}}let Ps=null;const So=[32,64,96,128,160,192,224,256,288,320,352,384,416,448,32,48,56,64,80,96,112,128,160,192,224,256,320,384,32,40,48,56,64,80,96,112,128,160,192,224,256,320,32,48,56,64,80,96,112,128,144,160,176,192,224,256,8,16,24,32,40,48,56,64,80,96,112,128,144,160],xo=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],Ao=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],Eo=[0,1,1,4];function Ds(o,e,t,n,r){if(t+24>e.length)return;const i=Ws(e,t);if(i&&t+i.frameLength<=e.length){const s=i.samplesPerFrame*9e4/i.sampleRate,c=n+r*s,p={unit:e.subarray(t,t+i.frameLength),pts:c,dts:c};return o.config=[],o.channelCount=i.channelCount,o.samplerate=i.sampleRate,o.samples.push(p),{sample:p,length:i.frameLength,missing:0}}}function Ws(o,e){const t=o[e+1]>>3&3,n=o[e+1]>>1&3,r=o[e+2]>>4&15,i=o[e+2]>>2&3;if(t!==1&&r!==0&&r!==15&&i!==3){const s=o[e+2]>>1&1,c=o[e+3]>>6,p=t===3?3-n:n===3?3:4,A=So[p*14+r-1]*1e3,M=xo[(t===3?0:t===2?1:2)*3+i],ve=c===3?1:2,Fe=Ao[t][n],Re=Eo[n],Pe=Fe*8*Re,Ve=Math.floor(Fe*A/M+s)*Re;if(Ps===null){const jt=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Ps=jt?parseInt(jt[1]):0}return!!Ps&&Ps<=87&&n===2&&A>=224e3&&c===0&&(o[e+3]=o[e+3]|128),{sampleRate:M,channelCount:ve,frameLength:Ve,samplesPerFrame:Pe}}}function Us(o,e){return o[e]===255&&(o[e+1]&224)===224&&(o[e+1]&6)!==0}function Vs(o,e){return e+1<o.length&&Us(o,e)}function eo(o,e){return Us(o,e)&&4<=o.length-e}function to(o,e){if(e+1<o.length&&Us(o,e)){const n=Ws(o,e);let r=4;n!=null&&n.frameLength&&(r=n.frameLength);const i=e+r;return i===o.length||Vs(o,i)}return!1}class no extends zs{constructor(e,t){super(),this.observer=void 0,this.config=void 0,this.observer=e,this.config=t}resetInitSegment(e,t,n,r){super.resetInitSegment(e,t,n,r),this._audioTrack={container:"audio/adts",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"aac",samples:[],manifestCodec:t,duration:r,inputTimeScale:9e4,dropped:0}}static probe(e){if(!e)return!1;const t=O(e,0);let n=(t==null?void 0:t.length)||0;if(to(e,n))return!1;for(let r=e.length;n<r;n++)if(yo(e,n))return b.log("ADTS sync word found !"),!0;return!1}canParse(e,t){return Ns(e,t)}appendFrame(e,t,n){bo(e,this.observer,t,n,e.manifestCodec);const r=js(e,t,n,this.basePTS,this.frameIndex);if(r&&r.missing===0)return r}}const ro=/\/emsg[-/]ID3/i;class _o{constructor(e,t){this.remainderData=null,this.timeOffset=0,this.config=void 0,this.videoTrack=void 0,this.audioTrack=void 0,this.id3Track=void 0,this.txtTrack=void 0,this.config=t}resetTimeStamp(){}resetInitSegment(e,t,n,r){const i=this.videoTrack=Ga("video",1),s=this.audioTrack=Ga("audio",1),c=this.txtTrack=Ga("text",1);if(this.id3Track=Ga("id3",1),this.timeOffset=0,!(e!=null&&e.byteLength))return;const p=Je(e);if(p.video){const{id:A,timescale:F,codec:M}=p.video;i.id=A,i.timescale=c.timescale=F,i.codec=M}if(p.audio){const{id:A,timescale:F,codec:M}=p.audio;s.id=A,s.timescale=F,s.codec=M}c.id=Lt.text,i.sampleDuration=0,i.duration=s.duration=r}resetContiguity(){this.remainderData=null}static probe(e){return pn(e)}demux(e,t){this.timeOffset=t;let n=e;const r=this.videoTrack,i=this.txtTrack;if(this.config.progressive){this.remainderData&&(n=Rt(this.remainderData,e));const c=Yt(n);this.remainderData=c.remainder,r.samples=c.valid||new Uint8Array}else r.samples=n;const s=this.extractID3Track(r,t);return i.samples=Ot(t,r),{videoTrack:r,audioTrack:this.audioTrack,id3Track:s,textTrack:this.txtTrack}}flush(){const e=this.timeOffset,t=this.videoTrack,n=this.txtTrack;t.samples=this.remainderData||new Uint8Array,this.remainderData=null;const r=this.extractID3Track(t,this.timeOffset);return n.samples=Ot(e,t),{videoTrack:t,audioTrack:Ga(),id3Track:r,textTrack:Ga()}}extractID3Track(e,t){const n=this.id3Track;if(e.samples.length){const r=He(e.samples,["emsg"]);r&&r.forEach(i=>{const s=Ce(i);if(ro.test(s.schemeIdUri)){const c=I(s.presentationTime)?s.presentationTime/s.timeScale:t+s.presentationTimeDelta/s.timeScale;let p=s.eventDuration===4294967295?Number.POSITIVE_INFINITY:s.eventDuration/s.timeScale;p<=.001&&(p=Number.POSITIVE_INFINITY);const A=s.payload;n.samples.push({data:A,len:A.byteLength,dts:c,pts:c,type:Er.emsg,duration:p})}})}return n}demuxSampleAes(e,t,n){return Promise.reject(new Error("The MP4 demuxer does not support SAMPLE-AES decryption"))}destroy(){}}const La=(o,e)=>{let t=0,n=5;e+=n;const r=new Uint32Array(1),i=new Uint32Array(1),s=new Uint8Array(1);for(;n>0;){s[0]=o[e];const c=Math.min(n,8),p=8-c;i[0]=4278190080>>>24+p<<p,r[0]=(s[0]&i[0])>>p,t=t?t<<c|r[0]:r[0],e+=1,n-=c}return t};class Gs extends zs{constructor(e){super(),this.observer=void 0,this.observer=e}resetInitSegment(e,t,n,r){super.resetInitSegment(e,t,n,r),this._audioTrack={container:"audio/ac-3",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"ac3",samples:[],manifestCodec:t,duration:r,inputTimeScale:9e4,dropped:0}}canParse(e,t){return t+64<e.length}appendFrame(e,t,n){const r=Zs(e,t,n,this.basePTS,this.frameIndex);if(r!==-1)return{sample:e.samples[e.samples.length-1],length:r,missing:0}}static probe(e){if(!e)return!1;const t=O(e,0);if(!t)return!1;const n=t.length;return e[n]===11&&e[n+1]===119&&E(t)!==void 0&&La(e,n)<16}}function Zs(o,e,t,n,r){if(t+8>e.length||e[t]!==11||e[t+1]!==119)return-1;const i=e[t+4]>>6;if(i>=3)return-1;const c=[48e3,44100,32e3][i],p=e[t+4]&63,F=[64,69,96,64,70,96,80,87,120,80,88,120,96,104,144,96,105,144,112,121,168,112,122,168,128,139,192,128,140,192,160,174,240,160,175,240,192,208,288,192,209,288,224,243,336,224,244,336,256,278,384,256,279,384,320,348,480,320,349,480,384,417,576,384,418,576,448,487,672,448,488,672,512,557,768,512,558,768,640,696,960,640,697,960,768,835,1152,768,836,1152,896,975,1344,896,976,1344,1024,1114,1536,1024,1115,1536,1152,1253,1728,1152,1254,1728,1280,1393,1920,1280,1394,1920][p*3+i]*2;if(t+F>e.length)return-1;const M=e[t+6]>>5;let ve=0;M===2?ve+=2:(M&1&&M!==1&&(ve+=2),M&4&&(ve+=2));const Fe=(e[t+6]<<8|e[t+7])>>12-ve&1,Pe=[2,1,2,3,3,4,4,5][M]+Fe,Ve=e[t+5]>>3,ht=e[t+5]&7,zt=new Uint8Array([i<<6|Ve<<1|ht>>2,(ht&3)<<6|M<<3|Fe<<2|p>>4,p<<4&224]),jt=1536/c*9e4,xn=n+r*jt,Zt=e.subarray(t,t+F);return o.config=zt,o.channelCount=Pe,o.samplerate=c,o.samples.push({unit:Zt,pts:xn}),F}class oe{constructor(){this.VideoSample=null}createVideoSample(e,t,n,r){return{key:e,frame:!1,pts:t,dts:n,units:[],debug:r,length:0}}getLastNalUnit(e){var t;let n=this.VideoSample,r;if((!n||n.units.length===0)&&(n=e[e.length-1]),(t=n)!=null&&t.units){const i=n.units;r=i[i.length-1]}return r}pushAccessUnit(e,t){if(e.units.length&&e.frame){if(e.pts===void 0){const n=t.samples,r=n.length;if(r){const i=n[r-1];e.pts=i.pts,e.dts=i.dts}else{t.dropped++;return}}t.samples.push(e)}e.debug.length&&b.log(e.pts+"/"+e.dts+":"+e.debug)}}class ye{constructor(e){this.data=void 0,this.bytesAvailable=void 0,this.word=void 0,this.bitsAvailable=void 0,this.data=e,this.bytesAvailable=e.byteLength,this.word=0,this.bitsAvailable=0}loadWord(){const e=this.data,t=this.bytesAvailable,n=e.byteLength-t,r=new Uint8Array(4),i=Math.min(4,t);if(i===0)throw new Error("no bytes available");r.set(e.subarray(n,n+i)),this.word=new DataView(r.buffer).getUint32(0),this.bitsAvailable=i*8,this.bytesAvailable-=i}skipBits(e){let t;e=Math.min(e,this.bytesAvailable*8+this.bitsAvailable),this.bitsAvailable>e?(this.word<<=e,this.bitsAvailable-=e):(e-=this.bitsAvailable,t=e>>3,e-=t<<3,this.bytesAvailable-=t,this.loadWord(),this.word<<=e,this.bitsAvailable-=e)}readBits(e){let t=Math.min(this.bitsAvailable,e);const n=this.word>>>32-t;if(e>32&&b.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=t,this.bitsAvailable>0)this.word<<=t;else if(this.bytesAvailable>0)this.loadWord();else throw new Error("no bits available");return t=e-t,t>0&&this.bitsAvailable?n<<t|this.readBits(t):n}skipLZ(){let e;for(e=0;e<this.bitsAvailable;++e)if(this.word&2147483648>>>e)return this.word<<=e,this.bitsAvailable-=e,e;return this.loadWord(),e+this.skipLZ()}skipUEG(){this.skipBits(1+this.skipLZ())}skipEG(){this.skipBits(1+this.skipLZ())}readUEG(){const e=this.skipLZ();return this.readBits(e+1)-1}readEG(){const e=this.readUEG();return 1&e?1+e>>>1:-1*(e>>>1)}readBoolean(){return this.readBits(1)===1}readUByte(){return this.readBits(8)}readUShort(){return this.readBits(16)}readUInt(){return this.readBits(32)}skipScalingList(e){let t=8,n=8,r;for(let i=0;i<e;i++)n!==0&&(r=this.readEG(),n=(t+r+256)%256),t=n===0?t:n}readSPS(){let e=0,t=0,n=0,r=0,i,s,c;const p=this.readUByte.bind(this),A=this.readBits.bind(this),F=this.readUEG.bind(this),M=this.readBoolean.bind(this),ve=this.skipBits.bind(this),Fe=this.skipEG.bind(this),Re=this.skipUEG.bind(this),Pe=this.skipScalingList.bind(this);p();const Ve=p();if(A(5),ve(3),p(),Re(),Ve===100||Ve===110||Ve===122||Ve===244||Ve===44||Ve===83||Ve===86||Ve===118||Ve===128){const Un=F();if(Un===3&&ve(1),Re(),Re(),ve(1),M())for(s=Un!==3?8:12,c=0;c<s;c++)M()&&(c<6?Pe(16):Pe(64))}Re();const ht=F();if(ht===0)F();else if(ht===1)for(ve(1),Fe(),Fe(),i=F(),c=0;c<i;c++)Fe();Re(),ve(1);const zt=F(),jt=F(),xn=A(1);xn===0&&ve(1),ve(1),M()&&(e=F(),t=F(),n=F(),r=F());let Zt=[1,1];if(M()&&M())switch(p()){case 1:Zt=[1,1];break;case 2:Zt=[12,11];break;case 3:Zt=[10,11];break;case 4:Zt=[16,11];break;case 5:Zt=[40,33];break;case 6:Zt=[24,11];break;case 7:Zt=[20,11];break;case 8:Zt=[32,11];break;case 9:Zt=[80,33];break;case 10:Zt=[18,11];break;case 11:Zt=[15,11];break;case 12:Zt=[64,33];break;case 13:Zt=[160,99];break;case 14:Zt=[4,3];break;case 15:Zt=[3,2];break;case 16:Zt=[2,1];break;case 255:{Zt=[p()<<8|p(),p()<<8|p()];break}}return{width:Math.ceil((zt+1)*16-e*2-t*2),height:(2-xn)*(jt+1)*16-(xn?2:4)*(n+r),pixelRatio:Zt}}readSliceType(){return this.readUByte(),this.readUEG(),this.readUEG()}}class je extends oe{parseAVCPES(e,t,n,r,i){const s=this.parseAVCNALu(e,n.data);let c=this.VideoSample,p,A=!1;n.data=null,c&&s.length&&!e.audFound&&(this.pushAccessUnit(c,e),c=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts,"")),s.forEach(F=>{var M;switch(F.type){case 1:{let Pe=!1;p=!0;const Ve=F.data;if(A&&Ve.length>4){const ht=new ye(Ve).readSliceType();(ht===2||ht===4||ht===7||ht===9)&&(Pe=!0)}if(Pe){var ve;(ve=c)!=null&&ve.frame&&!c.key&&(this.pushAccessUnit(c,e),c=this.VideoSample=null)}c||(c=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts,"")),c.frame=!0,c.key=Pe;break}case 5:p=!0,(M=c)!=null&&M.frame&&!c.key&&(this.pushAccessUnit(c,e),c=this.VideoSample=null),c||(c=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts,"")),c.key=!0,c.frame=!0;break;case 6:{p=!0,At(F.data,1,n.pts,t.samples);break}case 7:{var Fe,Re;p=!0,A=!0;const Pe=F.data,ht=new ye(Pe).readSPS();if(!e.sps||e.width!==ht.width||e.height!==ht.height||((Fe=e.pixelRatio)==null?void 0:Fe[0])!==ht.pixelRatio[0]||((Re=e.pixelRatio)==null?void 0:Re[1])!==ht.pixelRatio[1]){e.width=ht.width,e.height=ht.height,e.pixelRatio=ht.pixelRatio,e.sps=[Pe],e.duration=i;const zt=Pe.subarray(1,4);let jt="avc1.";for(let xn=0;xn<3;xn++){let Zt=zt[xn].toString(16);Zt.length<2&&(Zt="0"+Zt),jt+=Zt}e.codec=jt}break}case 8:p=!0,e.pps=[F.data];break;case 9:p=!0,e.audFound=!0,c&&this.pushAccessUnit(c,e),c=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts,"");break;case 12:p=!0;break;default:p=!1,c&&(c.debug+="unknown NAL "+F.type+" ");break}c&&p&&c.units.push(F)}),r&&c&&(this.pushAccessUnit(c,e),this.VideoSample=null)}parseAVCNALu(e,t){const n=t.byteLength;let r=e.naluState||0;const i=r,s=[];let c=0,p,A,F,M=-1,ve=0;for(r===-1&&(M=0,ve=t[0]&31,r=0,c=1);c<n;){if(p=t[c++],!r){r=p?0:1;continue}if(r===1){r=p?0:2;continue}if(!p)r=3;else if(p===1){if(A=c-r-1,M>=0){const Fe={data:t.subarray(M,A),type:ve};s.push(Fe)}else{const Fe=this.getLastNalUnit(e.samples);Fe&&(i&&c<=4-i&&Fe.state&&(Fe.data=Fe.data.subarray(0,Fe.data.byteLength-i)),A>0&&(Fe.data=Rt(Fe.data,t.subarray(0,A)),Fe.state=0))}c<n?(F=t[c]&31,M=c,ve=F,r=0):r=-1}else r=0}if(M>=0&&r>=0){const Fe={data:t.subarray(M,n),type:ve,state:r};s.push(Fe)}if(s.length===0){const Fe=this.getLastNalUnit(e.samples);Fe&&(Fe.data=Rt(Fe.data,t))}return e.naluState=r,s}}class Qe{constructor(e,t,n){this.keyData=void 0,this.decrypter=void 0,this.keyData=n,this.decrypter=new ps(t,{removePKCS7Padding:!1})}decryptBuffer(e){return this.decrypter.decrypt(e,this.keyData.key.buffer,this.keyData.iv.buffer)}decryptAacSample(e,t,n){const r=e[t].unit;if(r.length<=16)return;const i=r.subarray(16,r.length-r.length%16),s=i.buffer.slice(i.byteOffset,i.byteOffset+i.length);this.decryptBuffer(s).then(c=>{const p=new Uint8Array(c);r.set(p,16),this.decrypter.isSync()||this.decryptAacSamples(e,t+1,n)})}decryptAacSamples(e,t,n){for(;;t++){if(t>=e.length){n();return}if(!(e[t].unit.length<32)&&(this.decryptAacSample(e,t,n),!this.decrypter.isSync()))return}}getAvcEncryptedData(e){const t=Math.floor((e.length-48)/160)*16+16,n=new Int8Array(t);let r=0;for(let i=32;i<e.length-16;i+=160,r+=16)n.set(e.subarray(i,i+16),r);return n}getAvcDecryptedUnit(e,t){const n=new Uint8Array(t);let r=0;for(let i=32;i<e.length-16;i+=160,r+=16)e.set(n.subarray(r,r+16),i);return e}decryptAvcSample(e,t,n,r,i){const s=Ue(i.data),c=this.getAvcEncryptedData(s);this.decryptBuffer(c.buffer).then(p=>{i.data=this.getAvcDecryptedUnit(s,p),this.decrypter.isSync()||this.decryptAvcSamples(e,t,n+1,r)})}decryptAvcSamples(e,t,n,r){if(e instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;t++,n=0){if(t>=e.length){r();return}const i=e[t].units;for(;!(n>=i.length);n++){const s=i[n];if(!(s.data.length<=48||s.type!==1&&s.type!==5)&&(this.decryptAvcSample(e,t,n,r,s),!this.decrypter.isSync()))return}}}}const nt=188;class st{constructor(e,t,n){this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.sampleAes=null,this.pmtParsed=!1,this.audioCodec=void 0,this.videoCodec=void 0,this._duration=0,this._pmtId=-1,this._videoTrack=void 0,this._audioTrack=void 0,this._id3Track=void 0,this._txtTrack=void 0,this.aacOverFlow=null,this.remainderData=null,this.videoParser=void 0,this.observer=e,this.config=t,this.typeSupported=n,this.videoParser=new je}static probe(e){const t=st.syncOffset(e);return t>0&&b.warn(`MPEG2-TS detected but first sync word found @ offset ${t}`),t!==-1}static syncOffset(e){const t=e.length;let n=Math.min(nt*5,t-nt)+1,r=0;for(;r<n;){let i=!1,s=-1,c=0;for(let p=r;p<t;p+=nt)if(e[p]===71&&(t-p===nt||e[p+nt]===71)){if(c++,s===-1&&(s=p,s!==0&&(n=Math.min(s+nt*99,e.length-nt)+1)),i||(i=wt(e,p)===0),i&&c>1&&(s===0&&c>2||p+nt>n))return s}else{if(c)return-1;break}r++}return-1}static createTrack(e,t){return{container:e==="video"||e==="audio"?"video/mp2t":void 0,type:e,id:Lt[e],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0,duration:e==="audio"?t:void 0}}resetInitSegment(e,t,n,r){this.pmtParsed=!1,this._pmtId=-1,this._videoTrack=st.createTrack("video"),this._audioTrack=st.createTrack("audio",r),this._id3Track=st.createTrack("id3"),this._txtTrack=st.createTrack("text"),this._audioTrack.segmentCodec="aac",this.aacOverFlow=null,this.remainderData=null,this.audioCodec=t,this.videoCodec=n,this._duration=r}resetTimeStamp(){}resetContiguity(){const{_audioTrack:e,_videoTrack:t,_id3Track:n}=this;e&&(e.pesData=null),t&&(t.pesData=null),n&&(n.pesData=null),this.aacOverFlow=null,this.remainderData=null}demux(e,t,n=!1,r=!1){n||(this.sampleAes=null);let i;const s=this._videoTrack,c=this._audioTrack,p=this._id3Track,A=this._txtTrack;let F=s.pid,M=s.pesData,ve=c.pid,Fe=p.pid,Re=c.pesData,Pe=p.pesData,Ve=null,ht=this.pmtParsed,zt=this._pmtId,jt=e.length;if(this.remainderData&&(e=Rt(this.remainderData,e),jt=e.length,this.remainderData=null),jt<nt&&!r)return this.remainderData=e,{audioTrack:c,videoTrack:s,id3Track:p,textTrack:A};const xn=Math.max(0,st.syncOffset(e));jt-=(jt-xn)%nt,jt<e.byteLength&&!r&&(this.remainderData=new Uint8Array(e.buffer,jt,e.buffer.byteLength-jt));let Zt=0;for(let yn=xn;yn<jt;yn+=nt)if(e[yn]===71){const Yn=!!(e[yn+1]&64),Ar=wt(e,yn),kn=(e[yn+3]&48)>>4;let qn;if(kn>1){if(qn=yn+5+e[yn+4],qn===yn+nt)continue}else qn=yn+4;switch(Ar){case F:Yn&&(M&&(i=Kt(M))&&this.videoParser.parseAVCPES(s,A,i,!1,this._duration),M={data:[],size:0}),M&&(M.data.push(e.subarray(qn,yn+nt)),M.size+=yn+nt-qn);break;case ve:if(Yn){if(Re&&(i=Kt(Re)))switch(c.segmentCodec){case"aac":this.parseAACPES(c,i);break;case"mp3":this.parseMPEGPES(c,i);break;case"ac3":this.parseAC3PES(c,i);break}Re={data:[],size:0}}Re&&(Re.data.push(e.subarray(qn,yn+nt)),Re.size+=yn+nt-qn);break;case Fe:Yn&&(Pe&&(i=Kt(Pe))&&this.parseID3PES(p,i),Pe={data:[],size:0}),Pe&&(Pe.data.push(e.subarray(qn,yn+nt)),Pe.size+=yn+nt-qn);break;case 0:Yn&&(qn+=e[qn]+1),zt=this._pmtId=Ct(e,qn);break;case zt:{Yn&&(qn+=e[qn]+1);const ci=Et(e,qn,this.typeSupported,n,this.observer);F=ci.videoPid,F>0&&(s.pid=F,s.segmentCodec=ci.segmentVideoCodec),ve=ci.audioPid,ve>0&&(c.pid=ve,c.segmentCodec=ci.segmentAudioCodec),Fe=ci.id3Pid,Fe>0&&(p.pid=Fe),Ve!==null&&!ht&&(b.warn(`MPEG-TS PMT found at ${yn} after unknown PID '${Ve}'. Backtracking to sync byte @${xn} to parse all TS packets.`),Ve=null,yn=xn-188),ht=this.pmtParsed=!0;break}case 17:case 8191:break;default:Ve=Ar;break}}else Zt++;Zt>0&&Bt(this.observer,new Error(`Found ${Zt} TS packet/s that do not start with 0x47`)),s.pesData=M,c.pesData=Re,p.pesData=Pe;const Un={audioTrack:c,videoTrack:s,id3Track:p,textTrack:A};return r&&this.extractRemainingSamples(Un),Un}flush(){const{remainderData:e}=this;this.remainderData=null;let t;return e?t=this.demux(e,-1,!1,!0):t={videoTrack:this._videoTrack,audioTrack:this._audioTrack,id3Track:this._id3Track,textTrack:this._txtTrack},this.extractRemainingSamples(t),this.sampleAes?this.decrypt(t,this.sampleAes):t}extractRemainingSamples(e){const{audioTrack:t,videoTrack:n,id3Track:r,textTrack:i}=e,s=n.pesData,c=t.pesData,p=r.pesData;let A;if(s&&(A=Kt(s))?(this.videoParser.parseAVCPES(n,i,A,!0,this._duration),n.pesData=null):n.pesData=s,c&&(A=Kt(c))){switch(t.segmentCodec){case"aac":this.parseAACPES(t,A);break;case"mp3":this.parseMPEGPES(t,A);break;case"ac3":this.parseAC3PES(t,A);break}t.pesData=null}else c!=null&&c.size&&b.log("last AAC PES packet truncated,might overlap between fragments"),t.pesData=c;p&&(A=Kt(p))?(this.parseID3PES(r,A),r.pesData=null):r.pesData=p}demuxSampleAes(e,t,n){const r=this.demux(e,n,!0,!this.config.progressive),i=this.sampleAes=new Qe(this.observer,this.config,t);return this.decrypt(r,i)}decrypt(e,t){return new Promise(n=>{const{audioTrack:r,videoTrack:i}=e;r.samples&&r.segmentCodec==="aac"?t.decryptAacSamples(r.samples,0,()=>{i.samples?t.decryptAvcSamples(i.samples,0,0,()=>{n(e)}):n(e)}):i.samples&&t.decryptAvcSamples(i.samples,0,0,()=>{n(e)})})}destroy(){this._duration=0}parseAACPES(e,t){let n=0;const r=this.aacOverFlow;let i=t.data;if(r){this.aacOverFlow=null;const M=r.missing,ve=r.sample.unit.byteLength;if(M===-1)i=Rt(r.sample.unit,i);else{const Fe=ve-M;r.sample.unit.set(i.subarray(0,M),Fe),e.samples.push(r.sample),n=r.missing}}let s,c;for(s=n,c=i.length;s<c-1&&!qa(i,s);s++);if(s!==n){let M;const ve=s<c-1;if(ve?M=`AAC PES did not start with ADTS header,offset:${s}`:M="No ADTS header found in AAC PES",Bt(this.observer,new Error(M),ve),!ve)return}bo(e,this.observer,i,s,this.audioCodec);let p;if(t.pts!==void 0)p=t.pts;else if(r){const M=Hs(e.samplerate);p=r.sample.pts+M}else{b.warn("[tsdemuxer]: AAC PES unknown PTS");return}let A=0,F;for(;s<c;)if(F=js(e,i,s,p,A),s+=F.length,F.missing){this.aacOverFlow=F;break}else for(A++;s<c-1&&!qa(i,s);s++);}parseMPEGPES(e,t){const n=t.data,r=n.length;let i=0,s=0;const c=t.pts;if(c===void 0){b.warn("[tsdemuxer]: MPEG PES unknown PTS");return}for(;s<r;)if(Vs(n,s)){const p=Ds(e,n,s,c,i);if(p)s+=p.length,i++;else break}else s++}parseAC3PES(e,t){{const n=t.data,r=t.pts;if(r===void 0){b.warn("[tsdemuxer]: AC3 PES unknown PTS");return}const i=n.length;let s=0,c=0,p;for(;c<i&&(p=Zs(e,n,c,r,s++))>0;)c+=p}}parseID3PES(e,t){if(t.pts===void 0){b.warn("[tsdemuxer]: ID3 PES unknown PTS");return}const n=a({},t,{type:this._videoTrack?Er.emsg:Er.audioId3,duration:Number.POSITIVE_INFINITY});e.samples.push(n)}}function wt(o,e){return((o[e+1]&31)<<8)+o[e+2]}function Ct(o,e){return(o[e+10]&31)<<8|o[e+11]}function Et(o,e,t,n,r){const i={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},s=(o[e+1]&15)<<8|o[e+2],c=e+3+s-4,p=(o[e+10]&15)<<8|o[e+11];for(e+=12+p;e<c;){const A=wt(o,e),F=(o[e+3]&15)<<8|o[e+4];switch(o[e]){case 207:if(!n){_e("ADTS AAC");break}case 15:i.audioPid===-1&&(i.audioPid=A);break;case 21:i.id3Pid===-1&&(i.id3Pid=A);break;case 219:if(!n){_e("H.264");break}case 27:i.videoPid===-1&&(i.videoPid=A,i.segmentVideoCodec="avc");break;case 3:case 4:!t.mpeg&&!t.mp3?b.log("MPEG audio found, not supported in this browser"):i.audioPid===-1&&(i.audioPid=A,i.segmentAudioCodec="mp3");break;case 193:if(!n){_e("AC-3");break}case 129:t.ac3?i.audioPid===-1&&(i.audioPid=A,i.segmentAudioCodec="ac3"):b.log("AC-3 audio found, not supported in this browser");break;case 6:if(i.audioPid===-1&&F>0){let M=e+5,ve=F;for(;ve>2;){switch(o[M]){case 106:t.ac3!==!0?b.log("AC-3 audio found, not supported in this browser for now"):(i.audioPid=A,i.segmentAudioCodec="ac3");break}const Re=o[M+1]+2;M+=Re,ve-=Re}}break;case 194:case 135:return Bt(r,new Error("Unsupported EC-3 in M2TS found")),i;case 36:return Bt(r,new Error("Unsupported HEVC in M2TS found")),i}e+=F+5}return i}function Bt(o,e,t){b.warn(`parsing error: ${e.message}`),o.emit(u.ERROR,u.ERROR,{type:x.MEDIA_ERROR,details:m.FRAG_PARSING_ERROR,fatal:!1,levelRetry:t,error:e,reason:e.message})}function _e(o){b.log(`${o} with AES-128-CBC encryption found in unencrypted stream`)}function Kt(o){let e=0,t,n,r,i,s;const c=o.data;if(!o||o.size===0)return null;for(;c[0].length<19&&c.length>1;)c[0]=Rt(c[0],c[1]),c.splice(1,1);if(t=c[0],(t[0]<<16)+(t[1]<<8)+t[2]===1){if(n=(t[4]<<8)+t[5],n&&n>o.size-6)return null;const A=t[7];A&192&&(i=(t[9]&14)*536870912+(t[10]&255)*4194304+(t[11]&254)*16384+(t[12]&255)*128+(t[13]&254)/2,A&64?(s=(t[14]&14)*536870912+(t[15]&255)*4194304+(t[16]&254)*16384+(t[17]&255)*128+(t[18]&254)/2,i-s>60*9e4&&(b.warn(`${Math.round((i-s)/9e4)}s delta between PTS and DTS, align them`),i=s)):s=i),r=t[8];let F=r+9;if(o.size<=F)return null;o.size-=F;const M=new Uint8Array(o.size);for(let ve=0,Fe=c.length;ve<Fe;ve++){t=c[ve];let Re=t.byteLength;if(F)if(F>Re){F-=Re;continue}else t=t.subarray(F),Re-=F,F=0;M.set(t,e),e+=Re}return n&&(n-=r+3),{data:M,pts:i,dts:s,len:n}}return null}class mn extends zs{resetInitSegment(e,t,n,r){super.resetInitSegment(e,t,n,r),this._audioTrack={container:"audio/mpeg",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"mp3",samples:[],manifestCodec:t,duration:r,inputTimeScale:9e4,dropped:0}}static probe(e){if(!e)return!1;const t=O(e,0);let n=(t==null?void 0:t.length)||0;if(t&&e[n]===11&&e[n+1]===119&&E(t)!==void 0&&La(e,n)<=16)return!1;for(let r=e.length;n<r;n++)if(to(e,n))return b.log("MPEG Audio sync word found !"),!0;return!1}canParse(e,t){return eo(e,t)}appendFrame(e,t,n){if(this.basePTS!==null)return Ds(e,t,n,this.basePTS,this.frameIndex)}}class fn{static getSilentFrame(e,t){switch(e){case"mp4a.40.2":if(t===1)return new Uint8Array([0,200,0,128,35,128]);if(t===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(t===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(t===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(t===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(t===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224]);break;default:if(t===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);break}}}const cn=Math.pow(2,32)-1;class ft{static init(){ft.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],".mp3":[],dac3:[],"ac-3":[],mvex:[],mvhd:[],pasp:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[]};let e;for(e in ft.types)ft.types.hasOwnProperty(e)&&(ft.types[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);const t=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),n=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]);ft.HDLR_TYPES={video:t,audio:n};const r=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),i=new Uint8Array([0,0,0,0,0,0,0,0]);ft.STTS=ft.STSC=ft.STCO=i,ft.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),ft.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),ft.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),ft.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);const s=new Uint8Array([105,115,111,109]),c=new Uint8Array([97,118,99,49]),p=new Uint8Array([0,0,0,1]);ft.FTYP=ft.box(ft.types.ftyp,s,p,s,c),ft.DINF=ft.box(ft.types.dinf,ft.box(ft.types.dref,r))}static box(e,...t){let n=8,r=t.length;const i=r;for(;r--;)n+=t[r].byteLength;const s=new Uint8Array(n);for(s[0]=n>>24&255,s[1]=n>>16&255,s[2]=n>>8&255,s[3]=n&255,s.set(e,4),r=0,n=8;r<i;r++)s.set(t[r],n),n+=t[r].byteLength;return s}static hdlr(e){return ft.box(ft.types.hdlr,ft.HDLR_TYPES[e])}static mdat(e){return ft.box(ft.types.mdat,e)}static mdhd(e,t){t*=e;const n=Math.floor(t/(cn+1)),r=Math.floor(t%(cn+1));return ft.box(ft.types.mdhd,new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,e&255,n>>24,n>>16&255,n>>8&255,n&255,r>>24,r>>16&255,r>>8&255,r&255,85,196,0,0]))}static mdia(e){return ft.box(ft.types.mdia,ft.mdhd(e.timescale,e.duration),ft.hdlr(e.type),ft.minf(e))}static mfhd(e){return ft.box(ft.types.mfhd,new Uint8Array([0,0,0,0,e>>24,e>>16&255,e>>8&255,e&255]))}static minf(e){return e.type==="audio"?ft.box(ft.types.minf,ft.box(ft.types.smhd,ft.SMHD),ft.DINF,ft.stbl(e)):ft.box(ft.types.minf,ft.box(ft.types.vmhd,ft.VMHD),ft.DINF,ft.stbl(e))}static moof(e,t,n){return ft.box(ft.types.moof,ft.mfhd(e),ft.traf(n,t))}static moov(e){let t=e.length;const n=[];for(;t--;)n[t]=ft.trak(e[t]);return ft.box.apply(null,[ft.types.moov,ft.mvhd(e[0].timescale,e[0].duration)].concat(n).concat(ft.mvex(e)))}static mvex(e){let t=e.length;const n=[];for(;t--;)n[t]=ft.trex(e[t]);return ft.box.apply(null,[ft.types.mvex,...n])}static mvhd(e,t){t*=e;const n=Math.floor(t/(cn+1)),r=Math.floor(t%(cn+1)),i=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,e&255,n>>24,n>>16&255,n>>8&255,n&255,r>>24,r>>16&255,r>>8&255,r&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return ft.box(ft.types.mvhd,i)}static sdtp(e){const t=e.samples||[],n=new Uint8Array(4+t.length);let r,i;for(r=0;r<t.length;r++)i=t[r].flags,n[r+4]=i.dependsOn<<4|i.isDependedOn<<2|i.hasRedundancy;return ft.box(ft.types.sdtp,n)}static stbl(e){return ft.box(ft.types.stbl,ft.stsd(e),ft.box(ft.types.stts,ft.STTS),ft.box(ft.types.stsc,ft.STSC),ft.box(ft.types.stsz,ft.STSZ),ft.box(ft.types.stco,ft.STCO))}static avc1(e){let t=[],n=[],r,i,s;for(r=0;r<e.sps.length;r++)i=e.sps[r],s=i.byteLength,t.push(s>>>8&255),t.push(s&255),t=t.concat(Array.prototype.slice.call(i));for(r=0;r<e.pps.length;r++)i=e.pps[r],s=i.byteLength,n.push(s>>>8&255),n.push(s&255),n=n.concat(Array.prototype.slice.call(i));const c=ft.box(ft.types.avcC,new Uint8Array([1,t[3],t[4],t[5],255,224|e.sps.length].concat(t).concat([e.pps.length]).concat(n))),p=e.width,A=e.height,F=e.pixelRatio[0],M=e.pixelRatio[1];return ft.box(ft.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,p>>8&255,p&255,A>>8&255,A&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),c,ft.box(ft.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),ft.box(ft.types.pasp,new Uint8Array([F>>24,F>>16&255,F>>8&255,F&255,M>>24,M>>16&255,M>>8&255,M&255])))}static esds(e){const t=e.config.length;return new Uint8Array([0,0,0,0,3,23+t,0,1,0,4,15+t,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([t]).concat(e.config).concat([6,1,2]))}static audioStsd(e){const t=e.samplerate;return new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount,0,16,0,0,0,0,t>>8&255,t&255,0,0])}static mp4a(e){return ft.box(ft.types.mp4a,ft.audioStsd(e),ft.box(ft.types.esds,ft.esds(e)))}static mp3(e){return ft.box(ft.types[".mp3"],ft.audioStsd(e))}static ac3(e){return ft.box(ft.types["ac-3"],ft.audioStsd(e),ft.box(ft.types.dac3,e.config))}static stsd(e){return e.type==="audio"?e.segmentCodec==="mp3"&&e.codec==="mp3"?ft.box(ft.types.stsd,ft.STSD,ft.mp3(e)):e.segmentCodec==="ac3"?ft.box(ft.types.stsd,ft.STSD,ft.ac3(e)):ft.box(ft.types.stsd,ft.STSD,ft.mp4a(e)):ft.box(ft.types.stsd,ft.STSD,ft.avc1(e))}static tkhd(e){const t=e.id,n=e.duration*e.timescale,r=e.width,i=e.height,s=Math.floor(n/(cn+1)),c=Math.floor(n%(cn+1));return ft.box(ft.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,t>>24&255,t>>16&255,t>>8&255,t&255,0,0,0,0,s>>24,s>>16&255,s>>8&255,s&255,c>>24,c>>16&255,c>>8&255,c&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,r>>8&255,r&255,0,0,i>>8&255,i&255,0,0]))}static traf(e,t){const n=ft.sdtp(e),r=e.id,i=Math.floor(t/(cn+1)),s=Math.floor(t%(cn+1));return ft.box(ft.types.traf,ft.box(ft.types.tfhd,new Uint8Array([0,0,0,0,r>>24,r>>16&255,r>>8&255,r&255])),ft.box(ft.types.tfdt,new Uint8Array([1,0,0,0,i>>24,i>>16&255,i>>8&255,i&255,s>>24,s>>16&255,s>>8&255,s&255])),ft.trun(e,n.length+16+20+8+16+8+8),n)}static trak(e){return e.duration=e.duration||4294967295,ft.box(ft.types.trak,ft.tkhd(e),ft.mdia(e))}static trex(e){const t=e.id;return ft.box(ft.types.trex,new Uint8Array([0,0,0,0,t>>24,t>>16&255,t>>8&255,t&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))}static trun(e,t){const n=e.samples||[],r=n.length,i=12+16*r,s=new Uint8Array(i);let c,p,A,F,M,ve;for(t+=8+i,s.set([e.type==="video"?1:0,0,15,1,r>>>24&255,r>>>16&255,r>>>8&255,r&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255],0),c=0;c<r;c++)p=n[c],A=p.duration,F=p.size,M=p.flags,ve=p.cts,s.set([A>>>24&255,A>>>16&255,A>>>8&255,A&255,F>>>24&255,F>>>16&255,F>>>8&255,F&255,M.isLeading<<2|M.dependsOn,M.isDependedOn<<6|M.hasRedundancy<<4|M.paddingValue<<1|M.isNonSync,M.degradPrio&61440,M.degradPrio&15,ve>>>24&255,ve>>>16&255,ve>>>8&255,ve&255],12+16*c);return ft.box(ft.types.trun,s)}static initSegment(e){ft.types||ft.init();const t=ft.moov(e);return Rt(ft.FTYP,t)}}ft.types=void 0,ft.HDLR_TYPES=void 0,ft.STTS=void 0,ft.STSC=void 0,ft.STCO=void 0,ft.STSZ=void 0,ft.VMHD=void 0,ft.SMHD=void 0,ft.STSD=void 0,ft.FTYP=void 0,ft.DINF=void 0;const On=9e4;function zn(o,e,t=1,n=!1){const r=o*e*t;return n?Math.round(r):r}function Pn(o,e,t=1,n=!1){return zn(o,e,1/t,n)}function Wn(o,e=!1){return zn(o,1e3,1/On,e)}function yr(o,e=1){return zn(o,On,1/e)}const br=10*1e3,hr=1024,Or=1152,Mr=1536;let $n=null,pr=null;class Jn{constructor(e,t,n,r=""){if(this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.ISGenerated=!1,this._initPTS=null,this._initDTS=null,this.nextAvcDts=null,this.nextAudioPts=null,this.videoSampleDuration=null,this.isAudioContiguous=!1,this.isVideoContiguous=!1,this.videoTrackConfig=void 0,this.observer=e,this.config=t,this.typeSupported=n,this.ISGenerated=!1,$n===null){const s=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);$n=s?parseInt(s[1]):0}if(pr===null){const i=navigator.userAgent.match(/Safari\/(\d+)/i);pr=i?parseInt(i[1]):0}}destroy(){this.config=this.videoTrackConfig=this._initPTS=this._initDTS=null}resetTimeStamp(e){b.log("[mp4-remuxer]: initPTS & initDTS reset"),this._initPTS=this._initDTS=e}resetNextTimestamp(){b.log("[mp4-remuxer]: reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1}resetInitSegment(){b.log("[mp4-remuxer]: ISGenerated flag reset"),this.ISGenerated=!1,this.videoTrackConfig=void 0}getVideoStartPts(e){let t=!1;const n=e[0].pts,r=e.reduce((i,s)=>{let c=s.pts,p=c-i;return p<-4294967296&&(t=!0,c=Nn(c,n),p=c-i),p>0?i:c},n);return t&&b.debug("PTS rollover detected"),r}remux(e,t,n,r,i,s,c,p){let A,F,M,ve,Fe,Re,Pe=i,Ve=i;const ht=e.pid>-1,zt=t.pid>-1,jt=t.samples.length,xn=e.samples.length>0,Zt=c&&jt>0||jt>1;if((!ht||xn)&&(!zt||Zt)||this.ISGenerated||c){if(this.ISGenerated){var yn,Yn,Ar,kn;const si=this.videoTrackConfig;si&&(t.width!==si.width||t.height!==si.height||((yn=t.pixelRatio)==null?void 0:yn[0])!==((Yn=si.pixelRatio)==null?void 0:Yn[0])||((Ar=t.pixelRatio)==null?void 0:Ar[1])!==((kn=si.pixelRatio)==null?void 0:kn[1]))&&this.resetInitSegment()}else M=this.generateIS(e,t,i,s);const qn=this.isVideoContiguous;let ci=-1,Dr;if(Zt&&(ci=fr(t.samples),!qn&&this.config.forceKeyFrameOnDiscontinuity))if(Re=!0,ci>0){b.warn(`[mp4-remuxer]: Dropped ${ci} out of ${jt} video samples due to a missing keyframe`);const si=this.getVideoStartPts(t.samples);t.samples=t.samples.slice(ci),t.dropped+=ci,Ve+=(t.samples[0].pts-si)/t.inputTimeScale,Dr=Ve}else ci===-1&&(b.warn(`[mp4-remuxer]: No keyframe found out of ${jt} video samples`),Re=!1);if(this.ISGenerated){if(xn&&Zt){const si=this.getVideoStartPts(t.samples),Gr=(Nn(e.samples[0].pts,si)-si)/t.inputTimeScale;Pe+=Math.max(0,Gr),Ve+=Math.max(0,-Gr)}if(xn){if(e.samplerate||(b.warn("[mp4-remuxer]: regenerate InitSegment as audio detected"),M=this.generateIS(e,t,i,s)),F=this.remuxAudio(e,Pe,this.isAudioContiguous,s,zt||Zt||p===at.AUDIO?Ve:void 0),Zt){const si=F?F.endPTS-F.startPTS:0;t.inputTimeScale||(b.warn("[mp4-remuxer]: regenerate InitSegment as video detected"),M=this.generateIS(e,t,i,s)),A=this.remuxVideo(t,Ve,qn,si)}}else Zt&&(A=this.remuxVideo(t,Ve,qn,0));A&&(A.firstKeyFrame=ci,A.independent=ci!==-1,A.firstKeyFramePTS=Dr)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(n.samples.length&&(Fe=Ir(n,i,this._initPTS,this._initDTS)),r.samples.length&&(ve=Vr(r,i,this._initPTS))),{audio:F,video:A,initSegment:M,independent:Re,text:ve,id3:Fe}}generateIS(e,t,n,r){const i=e.samples,s=t.samples,c=this.typeSupported,p={},A=this._initPTS;let F=!A||r,M="audio/mp4",ve,Fe,Re;if(F&&(ve=Fe=1/0),e.config&&i.length){switch(e.timescale=e.samplerate,e.segmentCodec){case"mp3":c.mpeg?(M="audio/mpeg",e.codec=""):c.mp3&&(e.codec="mp3");break;case"ac3":e.codec="ac-3";break}p.audio={id:"audio",container:M,codec:e.codec,initSegment:e.segmentCodec==="mp3"&&c.mpeg?new Uint8Array(0):ft.initSegment([e]),metadata:{channelCount:e.channelCount}},F&&(Re=e.inputTimeScale,!A||Re!==A.timescale?ve=Fe=i[0].pts-Math.round(Re*n):F=!1)}if(t.sps&&t.pps&&s.length){if(t.timescale=t.inputTimeScale,p.video={id:"main",container:"video/mp4",codec:t.codec,initSegment:ft.initSegment([t]),metadata:{width:t.width,height:t.height}},F)if(Re=t.inputTimeScale,!A||Re!==A.timescale){const Pe=this.getVideoStartPts(s),Ve=Math.round(Re*n);Fe=Math.min(Fe,Nn(s[0].dts,Pe)-Ve),ve=Math.min(ve,Pe-Ve)}else F=!1;this.videoTrackConfig={width:t.width,height:t.height,pixelRatio:t.pixelRatio}}if(Object.keys(p).length)return this.ISGenerated=!0,F?(this._initPTS={baseTime:ve,timescale:Re},this._initDTS={baseTime:Fe,timescale:Re}):ve=Re=void 0,{tracks:p,initPTS:ve,timescale:Re}}remuxVideo(e,t,n,r){const i=e.inputTimeScale,s=e.samples,c=[],p=s.length,A=this._initPTS;let F=this.nextAvcDts,M=8,ve=this.videoSampleDuration,Fe,Re,Pe=Number.POSITIVE_INFINITY,Ve=Number.NEGATIVE_INFINITY,ht=!1;if(!n||F===null){const Lr=t*i,Fr=s[0].pts-Nn(s[0].dts,s[0].pts);$n&&F!==null&&Math.abs(Lr-Fr-F)<15e3?n=!0:F=Lr-Fr}const zt=A.baseTime*i/A.timescale;for(let Lr=0;Lr<p;Lr++){const Fr=s[Lr];Fr.pts=Nn(Fr.pts-zt,F),Fr.dts=Nn(Fr.dts-zt,F),Fr.dts<s[Lr>0?Lr-1:Lr].dts&&(ht=!0)}ht&&s.sort(function(Lr,Fr){const Hi=Lr.dts-Fr.dts,Si=Lr.pts-Fr.pts;return Hi||Si}),Fe=s[0].dts,Re=s[s.length-1].dts;const jt=Re-Fe,xn=jt?Math.round(jt/(p-1)):ve||e.inputTimeScale/30;if(n){const Lr=Fe-F,Fr=Lr>xn,Hi=Lr<-1;if((Fr||Hi)&&(Fr?b.warn(`AVC: ${Wn(Lr,!0)} ms (${Lr}dts) hole between fragments detected at ${t.toFixed(3)}`):b.warn(`AVC: ${Wn(-Lr,!0)} ms (${Lr}dts) overlapping between fragments detected at ${t.toFixed(3)}`),!Hi||F>=s[0].pts||$n)){Fe=F;const Si=s[0].pts-Lr;if(Fr)s[0].dts=Fe,s[0].pts=Si;else for(let Gi=0;Gi<s.length&&!(s[Gi].dts>Si);Gi++)s[Gi].dts-=Lr,s[Gi].pts-=Lr;b.log(`Video: Initial PTS/DTS adjusted: ${Wn(Si,!0)}/${Wn(Fe,!0)}, delta: ${Wn(Lr,!0)} ms`)}}Fe=Math.max(0,Fe);let Zt=0,Un=0,yn=Fe;for(let Lr=0;Lr<p;Lr++){const Fr=s[Lr],Hi=Fr.units,Si=Hi.length;let Gi=0;for(let Ra=0;Ra<Si;Ra++)Gi+=Hi[Ra].data.length;Un+=Gi,Zt+=Si,Fr.length=Gi,Fr.dts<yn?(Fr.dts=yn,yn+=xn/4|0||1):yn=Fr.dts,Pe=Math.min(Fr.pts,Pe),Ve=Math.max(Fr.pts,Ve)}Re=s[p-1].dts;const Yn=Un+4*Zt+8;let Ar;try{Ar=new Uint8Array(Yn)}catch(Lr){this.observer.emit(u.ERROR,u.ERROR,{type:x.MUX_ERROR,details:m.REMUX_ALLOC_ERROR,fatal:!1,error:Lr,bytes:Yn,reason:`fail allocating video mdat ${Yn}`});return}const kn=new DataView(Ar.buffer);kn.setUint32(0,Yn),Ar.set(ft.types.mdat,4);let qn=!1,ci=Number.POSITIVE_INFINITY,Dr=Number.POSITIVE_INFINITY,si=Number.NEGATIVE_INFINITY,ti=Number.NEGATIVE_INFINITY;for(let Lr=0;Lr<p;Lr++){const Fr=s[Lr],Hi=Fr.units;let Si=0;for(let Ua=0,za=Hi.length;Ua<za;Ua++){const is=Hi[Ua],No=is.data,sl=is.data.byteLength;kn.setUint32(M,sl),M+=4,Ar.set(No,M),M+=sl,Si+=4+sl}let Gi;if(Lr<p-1)ve=s[Lr+1].dts-Fr.dts,Gi=s[Lr+1].pts-Fr.pts;else{const Ua=this.config,za=Lr>0?Fr.dts-s[Lr-1].dts:xn;if(Gi=Lr>0?Fr.pts-s[Lr-1].pts:xn,Ua.stretchShortVideoTrack&&this.nextAudioPts!==null){const is=Math.floor(Ua.maxBufferHole*i),No=(r?Pe+r*i:this.nextAudioPts)-Fr.pts;No>is?(ve=No-za,ve<0?ve=za:qn=!0,b.log(`[mp4-remuxer]: It is approximately ${No/90} ms to the next segment; using duration ${ve/90} ms for the last video frame.`)):ve=za}else ve=za}const Ra=Math.round(Fr.pts-Fr.dts);ci=Math.min(ci,ve),si=Math.max(si,ve),Dr=Math.min(Dr,Gi),ti=Math.max(ti,Gi),c.push(new re(Fr.key,ve,Si,Ra))}if(c.length){if($n){if($n<70){const Lr=c[0].flags;Lr.dependsOn=2,Lr.isNonSync=0}}else if(pr&&ti-Dr<si-ci&&xn/si<.025&&c[0].cts===0){b.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let Lr=Fe;for(let Fr=0,Hi=c.length;Fr<Hi;Fr++){const Si=Lr+c[Fr].duration,Gi=Lr+c[Fr].cts;if(Fr<Hi-1){const Ra=Si+c[Fr+1].cts;c[Fr].duration=Ra-Gi}else c[Fr].duration=Fr?c[Fr-1].duration:xn;c[Fr].cts=0,Lr=Si}}}ve=qn||!ve?xn:ve,this.nextAvcDts=F=Re+ve,this.videoSampleDuration=ve,this.isVideoContiguous=!0;const Yi={data1:ft.moof(e.sequenceNumber++,Fe,a({},e,{samples:c})),data2:Ar,startPTS:Pe/i,endPTS:(Ve+ve)/i,startDTS:Fe/i,endDTS:F/i,type:"video",hasAudio:!1,hasVideo:!0,nb:c.length,dropped:e.dropped};return e.samples=[],e.dropped=0,Yi}getSamplesPerFrame(e){switch(e.segmentCodec){case"mp3":return Or;case"ac3":return Mr;default:return hr}}remuxAudio(e,t,n,r,i){const s=e.inputTimeScale,c=e.samplerate?e.samplerate:s,p=s/c,A=this.getSamplesPerFrame(e),F=A*p,M=this._initPTS,ve=e.segmentCodec==="mp3"&&this.typeSupported.mpeg,Fe=[],Re=i!==void 0;let Pe=e.samples,Ve=ve?0:8,ht=this.nextAudioPts||-1;const zt=t*s,jt=M.baseTime*s/M.timescale;if(this.isAudioContiguous=n=n||Pe.length&&ht>0&&(r&&Math.abs(zt-ht)<9e3||Math.abs(Nn(Pe[0].pts-jt,zt)-ht)<20*F),Pe.forEach(function(Gr){Gr.pts=Nn(Gr.pts-jt,zt)}),!n||ht<0){if(Pe=Pe.filter(Gr=>Gr.pts>=0),!Pe.length)return;i===0?ht=0:r&&!Re?ht=Math.max(0,zt):ht=Pe[0].pts}if(e.segmentCodec==="aac"){const Gr=this.config.maxAudioFramesDrift;for(let Bi=0,Yi=ht;Bi<Pe.length;Bi++){const Lr=Pe[Bi],Fr=Lr.pts,Hi=Fr-Yi,Si=Math.abs(1e3*Hi/s);if(Hi<=-Gr*F&&Re)Bi===0&&(b.warn(`Audio frame @ ${(Fr/s).toFixed(3)}s overlaps nextAudioPts by ${Math.round(1e3*Hi/s)} ms.`),this.nextAudioPts=ht=Yi=Fr);else if(Hi>=Gr*F&&Si<br&&Re){let Gi=Math.round(Hi/F);Yi=Fr-Gi*F,Yi<0&&(Gi--,Yi+=F),Bi===0&&(this.nextAudioPts=ht=Yi),b.warn(`[mp4-remuxer]: Injecting ${Gi} audio frame @ ${(Yi/s).toFixed(3)}s due to ${Math.round(1e3*Hi/s)} ms gap.`);for(let Ra=0;Ra<Gi;Ra++){const Ua=Math.max(Yi,0);let za=fn.getSilentFrame(e.manifestCodec||e.codec,e.channelCount);za||(b.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."),za=Lr.unit.subarray()),Pe.splice(Bi,0,{unit:za,pts:Ua}),Yi+=F,Bi++}}Lr.pts=Yi,Yi+=F}}let xn=null,Zt=null,Un,yn=0,Yn=Pe.length;for(;Yn--;)yn+=Pe[Yn].unit.byteLength;for(let Gr=0,Bi=Pe.length;Gr<Bi;Gr++){const Yi=Pe[Gr],Lr=Yi.unit;let Fr=Yi.pts;if(Zt!==null){const Si=Fe[Gr-1];Si.duration=Math.round((Fr-Zt)/p)}else if(n&&e.segmentCodec==="aac"&&(Fr=ht),xn=Fr,yn>0){yn+=Ve;try{Un=new Uint8Array(yn)}catch(Si){this.observer.emit(u.ERROR,u.ERROR,{type:x.MUX_ERROR,details:m.REMUX_ALLOC_ERROR,fatal:!1,error:Si,bytes:yn,reason:`fail allocating audio mdat ${yn}`});return}ve||(new DataView(Un.buffer).setUint32(0,yn),Un.set(ft.types.mdat,4))}else return;Un.set(Lr,Ve);const Hi=Lr.byteLength;Ve+=Hi,Fe.push(new re(!0,A,Hi,0)),Zt=Fr}const Ar=Fe.length;if(!Ar)return;const kn=Fe[Fe.length-1];this.nextAudioPts=ht=Zt+p*kn.duration;const qn=ve?new Uint8Array(0):ft.moof(e.sequenceNumber++,xn/p,a({},e,{samples:Fe}));e.samples=[];const ci=xn/s,Dr=ht/s,ti={data1:qn,data2:Un,startPTS:ci,endPTS:Dr,startDTS:ci,endDTS:Dr,type:"audio",hasAudio:!0,hasVideo:!1,nb:Ar};return this.isAudioContiguous=!0,ti}remuxEmptyAudio(e,t,n,r){const i=e.inputTimeScale,s=e.samplerate?e.samplerate:i,c=i/s,p=this.nextAudioPts,A=this._initDTS,F=A.baseTime*9e4/A.timescale,M=(p!==null?p:r.startDTS*i)+F,ve=r.endDTS*i+F,Fe=c*hr,Re=Math.ceil((ve-M)/Fe),Pe=fn.getSilentFrame(e.manifestCodec||e.codec,e.channelCount);if(b.warn("[mp4-remuxer]: remux empty Audio"),!Pe){b.trace("[mp4-remuxer]: Unable to remuxEmptyAudio since we were unable to get a silent frame for given audio codec");return}const Ve=[];for(let ht=0;ht<Re;ht++){const zt=M+ht*Fe;Ve.push({unit:Pe,pts:zt,dts:zt})}return e.samples=Ve,this.remuxAudio(e,t,n,!1)}}function Nn(o,e){let t;if(e===null)return o;for(e<o?t=-8589934592:t=8589934592;Math.abs(o-e)>4294967296;)o+=t;return o}function fr(o){for(let e=0;e<o.length;e++)if(o[e].key)return e;return-1}function Ir(o,e,t,n){const r=o.samples.length;if(!r)return;const i=o.inputTimeScale;for(let c=0;c<r;c++){const p=o.samples[c];p.pts=Nn(p.pts-t.baseTime*i/t.timescale,e*i)/i,p.dts=Nn(p.dts-n.baseTime*i/n.timescale,e*i)/i}const s=o.samples;return o.samples=[],{samples:s}}function Vr(o,e,t){const n=o.samples.length;if(!n)return;const r=o.inputTimeScale;for(let s=0;s<n;s++){const c=o.samples[s];c.pts=Nn(c.pts-t.baseTime*r/t.timescale,e*r)/r}o.samples.sort((s,c)=>s.pts-c.pts);const i=o.samples;return o.samples=[],{samples:i}}class re{constructor(e,t,n,r){this.size=void 0,this.duration=void 0,this.cts=void 0,this.flags=void 0,this.duration=t,this.size=n,this.cts=r,this.flags={isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:e?2:1,isNonSync:e?0:1}}}class l{constructor(){this.emitInitSegment=!1,this.audioCodec=void 0,this.videoCodec=void 0,this.initData=void 0,this.initPTS=null,this.initTracks=void 0,this.lastEndTime=null}destroy(){}resetTimeStamp(e){this.initPTS=e,this.lastEndTime=null}resetNextTimestamp(){this.lastEndTime=null}resetInitSegment(e,t,n,r){this.audioCodec=t,this.videoCodec=n,this.generateInitSegment(ge(e,r)),this.emitInitSegment=!0}generateInitSegment(e){let{audioCodec:t,videoCodec:n}=this;if(!(e!=null&&e.byteLength)){this.initTracks=void 0,this.initData=void 0;return}const r=this.initData=Je(e);r.audio&&(t=h(r.audio,te.AUDIO)),r.video&&(n=h(r.video,te.VIDEO));const i={};r.audio&&r.video?i.audiovideo={container:"video/mp4",codec:t+","+n,initSegment:e,id:"main"}:r.audio?i.audio={container:"audio/mp4",codec:t,initSegment:e,id:"audio"}:r.video?i.video={container:"video/mp4",codec:n,initSegment:e,id:"main"}:b.warn("[passthrough-remuxer.ts]: initSegment does not contain moov or trak boxes."),this.initTracks=i}remux(e,t,n,r,i,s){var c,p;let{initPTS:A,lastEndTime:F}=this;const M={audio:void 0,video:void 0,text:r,id3:n,initSegment:void 0};I(F)||(F=this.lastEndTime=i||0);const ve=t.samples;if(!(ve!=null&&ve.length))return M;const Fe={initPTS:void 0,timescale:1};let Re=this.initData;if((c=Re)!=null&&c.length||(this.generateInitSegment(ve),Re=this.initData),!((p=Re)!=null&&p.length))return b.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."),M;this.emitInitSegment&&(Fe.tracks=this.initTracks,this.emitInitSegment=!1);const Pe=bn(ve,Re),Ve=$e(Re,ve),ht=Ve===null?i:Ve;(d(A,ht,i,Pe)||Fe.timescale!==A.timescale&&s)&&(Fe.initPTS=ht-i,A&&A.timescale===1&&b.warn(`Adjusting initPTS by ${Fe.initPTS-A.baseTime}`),this.initPTS=A={baseTime:Fe.initPTS,timescale:1});const zt=e?ht-A.baseTime/A.timescale:F,jt=zt+Pe;Wt(Re,ve,A.baseTime/A.timescale),Pe>0?this.lastEndTime=jt:(b.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const xn=!!Re.audio,Zt=!!Re.video;let Un="";xn&&(Un+="audio"),Zt&&(Un+="video");const yn={data1:ve,startPTS:zt,startDTS:zt,endPTS:jt,endDTS:jt,type:Un,hasAudio:xn,hasVideo:Zt,nb:1,dropped:0};return M.audio=yn.type==="audio"?yn:void 0,M.video=yn.type!=="audio"?yn:void 0,M.initSegment=Fe,M.id3=Ir(n,i,A,A),r.samples.length&&(M.text=Vr(r,i,A)),M}}function d(o,e,t,n){if(o===null)return!0;const r=Math.max(n,1),i=e-o.baseTime/o.timescale;return Math.abs(i-t)>r}function h(o,e){const t=o==null?void 0:o.codec;if(t&&t.length>4)return t;if(e===te.AUDIO){if(t==="ec-3"||t==="ac-3"||t==="alac")return t;if(t==="fLaC"||t==="Opus")return En(t,!1);const n="mp4a.40.5";return b.info(`Parsed audio codec "${t}" or audio object type not handled. Using "${n}"`),n}return b.warn(`Unhandled video codec "${t}"`),t==="hvc1"||t==="hev1"?"hvc1.1.6.L120.90":t==="av01"?"av01.0.04M.08":"avc1.42e01e"}let g;try{g=self.performance.now.bind(self.performance)}catch(o){b.debug("Unable to use Performance API on this environment"),g=Oe==null?void 0:Oe.Date.now}const N=[{demux:_o,remux:l},{demux:st,remux:Jn},{demux:no,remux:Jn},{demux:mn,remux:Jn}];N.splice(2,0,{demux:Gs,remux:Jn});class le{constructor(e,t,n,r,i){this.async=!1,this.observer=void 0,this.typeSupported=void 0,this.config=void 0,this.vendor=void 0,this.id=void 0,this.demuxer=void 0,this.remuxer=void 0,this.decrypter=void 0,this.probe=void 0,this.decryptionPromise=null,this.transmuxConfig=void 0,this.currentTransmuxState=void 0,this.observer=e,this.typeSupported=t,this.config=n,this.vendor=r,this.id=i}configure(e){this.transmuxConfig=e,this.decrypter&&this.decrypter.reset()}push(e,t,n,r){const i=n.transmuxing;i.executeStart=g();let s=new Uint8Array(e);const{currentTransmuxState:c,transmuxConfig:p}=this;r&&(this.currentTransmuxState=r);const{contiguous:A,discontinuity:F,trackSwitch:M,accurateTimeOffset:ve,timeOffset:Fe,initSegmentChange:Re}=r||c,{audioCodec:Pe,videoCodec:Ve,defaultInitPts:ht,duration:zt,initSegmentData:jt}=p,xn=Ne(s,t);if(xn&&xn.method==="AES-128"){const Yn=this.getDecrypter();if(Yn.isSync()){let Ar=Yn.softwareDecrypt(s,xn.key.buffer,xn.iv.buffer);if(n.part>-1&&(Ar=Yn.flush()),!Ar)return i.executeEnd=g(),Be(n);s=new Uint8Array(Ar)}else return this.decryptionPromise=Yn.webCryptoDecrypt(s,xn.key.buffer,xn.iv.buffer).then(Ar=>{const kn=this.push(Ar,null,n);return this.decryptionPromise=null,kn}),this.decryptionPromise}const Zt=this.needsProbing(F,M);if(Zt){const Yn=this.configureTransmuxer(s);if(Yn)return b.warn(`[transmuxer] ${Yn.message}`),this.observer.emit(u.ERROR,u.ERROR,{type:x.MEDIA_ERROR,details:m.FRAG_PARSING_ERROR,fatal:!1,error:Yn,reason:Yn.message}),i.executeEnd=g(),Be(n)}(F||M||Re||Zt)&&this.resetInitSegment(jt,Pe,Ve,zt,t),(F||Re||Zt)&&this.resetInitialTimestamp(ht),A||this.resetContiguity();const Un=this.transmux(s,xn,Fe,ve,n),yn=this.currentTransmuxState;return yn.contiguous=!0,yn.discontinuity=!1,yn.trackSwitch=!1,i.executeEnd=g(),Un}flush(e){const t=e.transmuxing;t.executeStart=g();const{decrypter:n,currentTransmuxState:r,decryptionPromise:i}=this;if(i)return i.then(()=>this.flush(e));const s=[],{timeOffset:c}=r;if(n){const M=n.flush();M&&s.push(this.push(M,null,e))}const{demuxer:p,remuxer:A}=this;if(!p||!A)return t.executeEnd=g(),[Be(e)];const F=p.flush(c);return qe(F)?F.then(M=>(this.flushRemux(s,M,e),s)):(this.flushRemux(s,F,e),s)}flushRemux(e,t,n){const{audioTrack:r,videoTrack:i,id3Track:s,textTrack:c}=t,{accurateTimeOffset:p,timeOffset:A}=this.currentTransmuxState;b.log(`[transmuxer.ts]: Flushed fragment ${n.sn}${n.part>-1?" p: "+n.part:""} of level ${n.level}`);const F=this.remuxer.remux(r,i,s,c,A,p,!0,this.id);e.push({remuxResult:F,chunkMeta:n}),n.transmuxing.executeEnd=g()}resetInitialTimestamp(e){const{demuxer:t,remuxer:n}=this;!t||!n||(t.resetTimeStamp(e),n.resetTimeStamp(e))}resetContiguity(){const{demuxer:e,remuxer:t}=this;!e||!t||(e.resetContiguity(),t.resetNextTimestamp())}resetInitSegment(e,t,n,r,i){const{demuxer:s,remuxer:c}=this;!s||!c||(s.resetInitSegment(e,t,n,r),c.resetInitSegment(e,t,n,i))}destroy(){this.demuxer&&(this.demuxer.destroy(),this.demuxer=void 0),this.remuxer&&(this.remuxer.destroy(),this.remuxer=void 0)}transmux(e,t,n,r,i){let s;return t&&t.method==="SAMPLE-AES"?s=this.transmuxSampleAes(e,t,n,r,i):s=this.transmuxUnencrypted(e,n,r,i),s}transmuxUnencrypted(e,t,n,r){const{audioTrack:i,videoTrack:s,id3Track:c,textTrack:p}=this.demuxer.demux(e,t,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(i,s,c,p,t,n,!1,this.id),chunkMeta:r}}transmuxSampleAes(e,t,n,r,i){return this.demuxer.demuxSampleAes(e,t,n).then(s=>({remuxResult:this.remuxer.remux(s.audioTrack,s.videoTrack,s.id3Track,s.textTrack,n,r,!1,this.id),chunkMeta:i}))}configureTransmuxer(e){const{config:t,observer:n,typeSupported:r,vendor:i}=this;let s;for(let ve=0,Fe=N.length;ve<Fe;ve++){var c;if((c=N[ve].demux)!=null&&c.probe(e)){s=N[ve];break}}if(!s)return new Error("Failed to find demuxer by probing fragment data");const p=this.demuxer,A=this.remuxer,F=s.remux,M=s.demux;(!A||!(A instanceof F))&&(this.remuxer=new F(n,t,r,i)),(!p||!(p instanceof M))&&(this.demuxer=new M(n,t,r),this.probe=M.probe)}needsProbing(e,t){return!this.demuxer||!this.remuxer||e||t}getDecrypter(){let e=this.decrypter;return e||(e=this.decrypter=new ps(this.config)),e}}function Ne(o,e){let t=null;return o.byteLength>0&&(e==null?void 0:e.key)!=null&&e.iv!==null&&e.method!=null&&(t=e),t}const Be=o=>({remuxResult:{},chunkMeta:o});function qe(o){return"then"in o&&o.then instanceof Function}class vt{constructor(e,t,n,r,i){this.audioCodec=void 0,this.videoCodec=void 0,this.initSegmentData=void 0,this.duration=void 0,this.defaultInitPts=void 0,this.audioCodec=e,this.videoCodec=t,this.initSegmentData=n,this.duration=r,this.defaultInitPts=i||null}}class Tt{constructor(e,t,n,r,i,s){this.discontinuity=void 0,this.contiguous=void 0,this.accurateTimeOffset=void 0,this.trackSwitch=void 0,this.timeOffset=void 0,this.initSegmentChange=void 0,this.discontinuity=e,this.contiguous=t,this.accurateTimeOffset=n,this.trackSwitch=r,this.timeOffset=i,this.initSegmentChange=s}}var Jt={exports:{}};(function(o){var e=Object.prototype.hasOwnProperty,t="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(t=!1));function r(p,A,F){this.fn=p,this.context=A,this.once=F||!1}function i(p,A,F,M,ve){if(typeof F!="function")throw new TypeError("The listener must be a function");var Fe=new r(F,M||p,ve),Re=t?t+A:A;return p._events[Re]?p._events[Re].fn?p._events[Re]=[p._events[Re],Fe]:p._events[Re].push(Fe):(p._events[Re]=Fe,p._eventsCount++),p}function s(p,A){--p._eventsCount===0?p._events=new n:delete p._events[A]}function c(){this._events=new n,this._eventsCount=0}c.prototype.eventNames=function(){var A=[],F,M;if(this._eventsCount===0)return A;for(M in F=this._events)e.call(F,M)&&A.push(t?M.slice(1):M);return Object.getOwnPropertySymbols?A.concat(Object.getOwnPropertySymbols(F)):A},c.prototype.listeners=function(A){var F=t?t+A:A,M=this._events[F];if(!M)return[];if(M.fn)return[M.fn];for(var ve=0,Fe=M.length,Re=new Array(Fe);ve<Fe;ve++)Re[ve]=M[ve].fn;return Re},c.prototype.listenerCount=function(A){var F=t?t+A:A,M=this._events[F];return M?M.fn?1:M.length:0},c.prototype.emit=function(A,F,M,ve,Fe,Re){var Pe=t?t+A:A;if(!this._events[Pe])return!1;var Ve=this._events[Pe],ht=arguments.length,zt,jt;if(Ve.fn){switch(Ve.once&&this.removeListener(A,Ve.fn,void 0,!0),ht){case 1:return Ve.fn.call(Ve.context),!0;case 2:return Ve.fn.call(Ve.context,F),!0;case 3:return Ve.fn.call(Ve.context,F,M),!0;case 4:return Ve.fn.call(Ve.context,F,M,ve),!0;case 5:return Ve.fn.call(Ve.context,F,M,ve,Fe),!0;case 6:return Ve.fn.call(Ve.context,F,M,ve,Fe,Re),!0}for(jt=1,zt=new Array(ht-1);jt<ht;jt++)zt[jt-1]=arguments[jt];Ve.fn.apply(Ve.context,zt)}else{var xn=Ve.length,Zt;for(jt=0;jt<xn;jt++)switch(Ve[jt].once&&this.removeListener(A,Ve[jt].fn,void 0,!0),ht){case 1:Ve[jt].fn.call(Ve[jt].context);break;case 2:Ve[jt].fn.call(Ve[jt].context,F);break;case 3:Ve[jt].fn.call(Ve[jt].context,F,M);break;case 4:Ve[jt].fn.call(Ve[jt].context,F,M,ve);break;default:if(!zt)for(Zt=1,zt=new Array(ht-1);Zt<ht;Zt++)zt[Zt-1]=arguments[Zt];Ve[jt].fn.apply(Ve[jt].context,zt)}}return!0},c.prototype.on=function(A,F,M){return i(this,A,F,M,!1)},c.prototype.once=function(A,F,M){return i(this,A,F,M,!0)},c.prototype.removeListener=function(A,F,M,ve){var Fe=t?t+A:A;if(!this._events[Fe])return this;if(!F)return s(this,Fe),this;var Re=this._events[Fe];if(Re.fn)Re.fn===F&&(!ve||Re.once)&&(!M||Re.context===M)&&s(this,Fe);else{for(var Pe=0,Ve=[],ht=Re.length;Pe<ht;Pe++)(Re[Pe].fn!==F||ve&&!Re[Pe].once||M&&Re[Pe].context!==M)&&Ve.push(Re[Pe]);Ve.length?this._events[Fe]=Ve.length===1?Ve[0]:Ve:s(this,Fe)}return this},c.prototype.removeAllListeners=function(A){var F;return A?(F=t?t+A:A,this._events[F]&&s(this,F)):(this._events=new n,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=t,c.EventEmitter=c,o.exports=c})(Jt);var Sn=Jt.exports,Xt=y(Sn);class on{constructor(e,t,n,r){this.error=null,this.hls=void 0,this.id=void 0,this.observer=void 0,this.frag=null,this.part=null,this.useWorker=void 0,this.workerContext=null,this.onwmsg=void 0,this.transmuxer=null,this.onTransmuxComplete=void 0,this.onFlush=void 0;const i=e.config;this.hls=e,this.id=t,this.useWorker=!!i.enableWorker,this.onTransmuxComplete=n,this.onFlush=r;const s=(A,F)=>{F=F||{},F.frag=this.frag,F.id=this.id,A===u.ERROR&&(this.error=F.error),this.hls.trigger(A,F)};this.observer=new Xt,this.observer.on(u.FRAG_DECRYPTED,s),this.observer.on(u.ERROR,s);const c=_n(i.preferManagedMediaSource)||{isTypeSupported:()=>!1},p={mpeg:c.isTypeSupported("audio/mpeg"),mp3:c.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:c.isTypeSupported('audio/mp4; codecs="ac-3"')};if(this.useWorker&&typeof Worker!="undefined"&&(i.workerPath||Qs())){try{i.workerPath?(b.log(`loading Web Worker ${i.workerPath} for "${t}"`),this.workerContext=Js(i.workerPath)):(b.log(`injecting Web Worker for "${t}"`),this.workerContext=Ks()),this.onwmsg=M=>this.onWorkerMessage(M);const{worker:F}=this.workerContext;F.addEventListener("message",this.onwmsg),F.onerror=M=>{const ve=new Error(`${M.message} (${M.filename}:${M.lineno})`);i.enableWorker=!1,b.warn(`Error in "${t}" Web Worker, fallback to inline`),this.hls.trigger(u.ERROR,{type:x.OTHER_ERROR,details:m.INTERNAL_EXCEPTION,fatal:!1,event:"demuxerWorker",error:ve})},F.postMessage({cmd:"init",typeSupported:p,vendor:"",id:t,config:JSON.stringify(i)})}catch(F){b.warn(`Error setting up "${t}" Web Worker, fallback to inline`,F),this.resetWorker(),this.error=null,this.transmuxer=new le(this.observer,p,i,"",t)}return}this.transmuxer=new le(this.observer,p,i,"",t)}resetWorker(){if(this.workerContext){const{worker:e,objectURL:t}=this.workerContext;t&&self.URL.revokeObjectURL(t),e.removeEventListener("message",this.onwmsg),e.onerror=null,e.terminate(),this.workerContext=null}}destroy(){if(this.workerContext)this.resetWorker(),this.onwmsg=void 0;else{const t=this.transmuxer;t&&(t.destroy(),this.transmuxer=null)}const e=this.observer;e&&e.removeAllListeners(),this.frag=null,this.observer=null,this.hls=null}push(e,t,n,r,i,s,c,p,A,F){var M,ve;A.transmuxing.start=self.performance.now();const{transmuxer:Fe}=this,Re=s?s.start:i.start,Pe=i.decryptdata,Ve=this.frag,ht=!(Ve&&i.cc===Ve.cc),zt=!(Ve&&A.level===Ve.level),jt=Ve?A.sn-Ve.sn:-1,xn=this.part?A.part-this.part.index:-1,Zt=jt===0&&A.id>1&&A.id===(Ve==null?void 0:Ve.stats.chunkCount),Un=!zt&&(jt===1||jt===0&&(xn===1||Zt&&xn<=0)),yn=self.performance.now();(zt||jt||i.stats.parsing.start===0)&&(i.stats.parsing.start=yn),s&&(xn||!Un)&&(s.stats.parsing.start=yn);const Yn=!(Ve&&((M=i.initSegment)==null?void 0:M.url)===((ve=Ve.initSegment)==null?void 0:ve.url)),Ar=new Tt(ht,Un,p,zt,Re,Yn);if(!Un||ht||Yn){b.log(`[transmuxer-interface, ${i.type}]: Starting new transmux session for sn: ${A.sn} p: ${A.part} level: ${A.level} id: ${A.id}
discontinuity: ${ht}
trackSwitch: ${zt}
contiguous: ${Un}
accurateTimeOffset: ${p}
timeOffset: ${Re}
initSegmentChange: ${Yn}`);const kn=new vt(n,r,t,c,F);this.configureTransmuxer(kn)}if(this.frag=i,this.part=s,this.workerContext)this.workerContext.worker.postMessage({cmd:"demux",data:e,decryptdata:Pe,chunkMeta:A,state:Ar},e instanceof ArrayBuffer?[e]:[]);else if(Fe){const kn=Fe.push(e,Pe,A,Ar);qe(kn)?(Fe.async=!0,kn.then(qn=>{this.handleTransmuxComplete(qn)}).catch(qn=>{this.transmuxerError(qn,A,"transmuxer-interface push error")})):(Fe.async=!1,this.handleTransmuxComplete(kn))}}flush(e){e.transmuxing.start=self.performance.now();const{transmuxer:t}=this;if(this.workerContext)this.workerContext.worker.postMessage({cmd:"flush",chunkMeta:e});else if(t){let n=t.flush(e);qe(n)||t.async?(qe(n)||(n=Promise.resolve(n)),n.then(i=>{this.handleFlushResult(i,e)}).catch(i=>{this.transmuxerError(i,e,"transmuxer-interface flush error")})):this.handleFlushResult(n,e)}}transmuxerError(e,t,n){this.hls&&(this.error=e,this.hls.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.FRAG_PARSING_ERROR,chunkMeta:t,frag:this.frag||void 0,fatal:!1,error:e,err:e,reason:n}))}handleFlushResult(e,t){e.forEach(n=>{this.handleTransmuxComplete(n)}),this.onFlush(t)}onWorkerMessage(e){const t=e.data;if(!(t!=null&&t.event)){b.warn(`worker message received with no ${t?"event name":"data"}`);return}const n=this.hls;if(this.hls)switch(t.event){case"init":{var r;const i=(r=this.workerContext)==null?void 0:r.objectURL;i&&self.URL.revokeObjectURL(i);break}case"transmuxComplete":{this.handleTransmuxComplete(t.data);break}case"flush":{this.onFlush(t.data);break}case"workerLog":b[t.data.logType]&&b[t.data.logType](t.data.message);break;default:{t.data=t.data||{},t.data.frag=this.frag,t.data.id=this.id,n.trigger(t.event,t.data);break}}}configureTransmuxer(e){const{transmuxer:t}=this;this.workerContext?this.workerContext.worker.postMessage({cmd:"configure",config:e}):t&&t.configure(e)}handleTransmuxComplete(e){e.chunkMeta.transmuxing.end=self.performance.now(),this.onTransmuxComplete(e)}}function gn(o,e){if(o.length!==e.length)return!1;for(let t=0;t<o.length;t++)if(!An(o[t].attrs,e[t].attrs))return!1;return!0}function An(o,e,t){const n=o["STABLE-RENDITION-ID"];return n&&!t?n===e["STABLE-RENDITION-ID"]:!(t||["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED","ASSOC-LANGUAGE"]).some(r=>o[r]!==e[r])}function rr(o,e){return e.label.toLowerCase()===o.name.toLowerCase()&&(!e.language||e.language.toLowerCase()===(o.lang||"").toLowerCase())}const In=100;class or extends Ts{constructor(e,t,n){super(e,t,n,"[audio-stream-controller]",at.AUDIO),this.videoBuffer=null,this.videoTrackCC=-1,this.waitingVideoCC=-1,this.bufferedTrack=null,this.switchingTrack=null,this.trackId=-1,this.waitingData=null,this.mainDetails=null,this.flushing=!1,this.bufferFlushed=!1,this.cachedTrackLoadedData=null,this._registerListeners()}onHandlerDestroying(){this._unregisterListeners(),super.onHandlerDestroying(),this.mainDetails=null,this.bufferedTrack=null,this.switchingTrack=null}_registerListeners(){const{hls:e}=this;e.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.LEVEL_LOADED,this.onLevelLoaded,this),e.on(u.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),e.on(u.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(u.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.on(u.ERROR,this.onError,this),e.on(u.BUFFER_RESET,this.onBufferReset,this),e.on(u.BUFFER_CREATED,this.onBufferCreated,this),e.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(u.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(u.INIT_PTS_FOUND,this.onInitPtsFound,this),e.on(u.FRAG_BUFFERED,this.onFragBuffered,this)}_unregisterListeners(){const{hls:e}=this;e.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.LEVEL_LOADED,this.onLevelLoaded,this),e.off(u.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),e.off(u.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(u.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.off(u.ERROR,this.onError,this),e.off(u.BUFFER_RESET,this.onBufferReset,this),e.off(u.BUFFER_CREATED,this.onBufferCreated,this),e.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(u.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(u.INIT_PTS_FOUND,this.onInitPtsFound,this),e.off(u.FRAG_BUFFERED,this.onFragBuffered,this)}onInitPtsFound(e,{frag:t,id:n,initPTS:r,timescale:i}){if(n==="main"){const s=t.cc;this.initPTS[t.cc]={baseTime:r,timescale:i},this.log(`InitPTS for cc: ${s} found from main: ${r}`),this.videoTrackCC=s,this.state===Rn.WAITING_INIT_PTS&&this.tick()}}startLoad(e){if(!this.levels){this.startPosition=e,this.state=Rn.STOPPED;return}const t=this.lastCurrentTime;this.stopLoad(),this.setInterval(In),t>0&&e===-1?(this.log(`Override startPosition with lastCurrentTime @${t.toFixed(3)}`),e=t,this.state=Rn.IDLE):(this.loadedmetadata=!1,this.state=Rn.WAITING_TRACK),this.nextLoadPosition=this.startPosition=this.lastCurrentTime=e,this.tick()}doTick(){switch(this.state){case Rn.IDLE:this.doTickIdle();break;case Rn.WAITING_TRACK:{var e;const{levels:n,trackId:r}=this,i=n==null||(e=n[r])==null?void 0:e.details;if(i){if(this.waitForCdnTuneIn(i))break;this.state=Rn.WAITING_INIT_PTS}break}case Rn.FRAG_LOADING_WAITING_RETRY:{var t;const n=performance.now(),r=this.retryDate;if(!r||n>=r||(t=this.media)!=null&&t.seeking){const{levels:i,trackId:s}=this;this.log("RetryDate reached, switch back to IDLE state"),this.resetStartWhenNotLoaded((i==null?void 0:i[s])||null),this.state=Rn.IDLE}break}case Rn.WAITING_INIT_PTS:{const n=this.waitingData;if(n){const{frag:r,part:i,cache:s,complete:c}=n;if(this.initPTS[r.cc]!==void 0){this.waitingData=null,this.waitingVideoCC=-1,this.state=Rn.FRAG_LOADING;const p=s.flush(),A={frag:r,part:i,payload:p,networkDetails:null};this._handleFragmentLoadProgress(A),c&&super._handleFragmentLoadComplete(A)}else if(this.videoTrackCC!==this.waitingVideoCC)this.log(`Waiting fragment cc (${r.cc}) cancelled because video is at cc ${this.videoTrackCC}`),this.clearWaitingFragment();else{const p=this.getLoadPosition(),A=_i.bufferInfo(this.mediaBuffer,p,this.config.maxBufferHole);da(A.end,this.config.maxFragLookUpTolerance,r)<0&&(this.log(`Waiting fragment cc (${r.cc}) @ ${r.start} cancelled because another fragment at ${A.end} is needed`),this.clearWaitingFragment())}}else this.state=Rn.IDLE}}this.onTickEnd()}clearWaitingFragment(){const e=this.waitingData;e&&(this.fragmentTracker.removeFragment(e.frag),this.waitingData=null,this.waitingVideoCC=-1,this.state=Rn.IDLE)}resetLoadingState(){this.clearWaitingFragment(),super.resetLoadingState()}onTickEnd(){const{media:e}=this;e!=null&&e.readyState&&(this.lastCurrentTime=e.currentTime)}doTickIdle(){const{hls:e,levels:t,media:n,trackId:r}=this,i=e.config;if(!this.buffering||!n&&(this.startFragRequested||!i.startFragPrefetch)||!(t!=null&&t[r]))return;const s=t[r],c=s.details;if(!c||c.live&&this.levelLastLoaded!==s||this.waitForCdnTuneIn(c)){this.state=Rn.WAITING_TRACK;return}const p=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&p&&(this.bufferFlushed=!1,this.afterBufferFlushed(p,te.AUDIO,at.AUDIO));const A=this.getFwdBufferInfo(p,at.AUDIO);if(A===null)return;const{bufferedTrack:F,switchingTrack:M}=this;if(!M&&this._streamEnded(A,c)){e.trigger(u.BUFFER_EOS,{type:"audio"}),this.state=Rn.ENDED;return}const ve=this.getFwdBufferInfo(this.videoBuffer?this.videoBuffer:this.media,at.MAIN),Fe=A.len,Re=this.getMaxBufferLength(ve==null?void 0:ve.len),Pe=c.fragments,Ve=Pe[0].start;let ht=this.flushing?this.getLoadPosition():A.end;if(M&&n){const Zt=this.getLoadPosition();F&&!An(M.attrs,F.attrs)&&(ht=Zt),c.PTSKnown&&Zt<Ve&&(A.end>Ve||A.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),n.currentTime=Ve+.05)}if(Fe>=Re&&!M&&ht<Pe[Pe.length-1].start)return;let zt=this.getNextFragment(ht,c),jt=!1;if(zt&&this.isLoopLoading(zt,ht)&&(jt=!!zt.gap,zt=this.getNextFragmentLoopLoading(zt,c,A,at.MAIN,Re)),!zt){this.bufferFlushed=!0;return}const xn=ve&&zt.start>ve.end+c.targetduration;if(xn||!(ve!=null&&ve.len)&&A.len){const Zt=this.getAppendedFrag(zt.start,at.MAIN);if(Zt===null||(jt||(jt=!!Zt.gap||!!xn&&ve.len===0),xn&&!jt||jt&&A.nextStart&&A.nextStart<Zt.end))return}this.loadFragment(zt,s,ht)}getMaxBufferLength(e){const t=super.getMaxBufferLength();return e?Math.min(Math.max(t,e),this.config.maxMaxBufferLength):t}onMediaDetaching(){this.videoBuffer=null,this.bufferFlushed=this.flushing=!1,super.onMediaDetaching()}onAudioTracksUpdated(e,{audioTracks:t}){this.resetTransmuxer(),this.levels=t.map(n=>new Ci(n))}onAudioTrackSwitching(e,t){const n=!!t.url;this.trackId=t.id;const{fragCurrent:r}=this;r&&(r.abortRequests(),this.removeUnbufferedFrags(r.start)),this.resetLoadingState(),n?this.setInterval(In):this.resetTransmuxer(),n?(this.switchingTrack=t,this.state=Rn.IDLE,this.flushAudioIfNeeded(t)):(this.switchingTrack=null,this.bufferedTrack=t,this.state=Rn.STOPPED),this.tick()}onManifestLoading(){this.fragmentTracker.removeAllFragments(),this.startPosition=this.lastCurrentTime=0,this.bufferFlushed=this.flushing=!1,this.levels=this.mainDetails=this.waitingData=this.bufferedTrack=this.cachedTrackLoadedData=this.switchingTrack=null,this.startFragRequested=!1,this.trackId=this.videoTrackCC=this.waitingVideoCC=-1}onLevelLoaded(e,t){this.mainDetails=t.details,this.cachedTrackLoadedData!==null&&(this.hls.trigger(u.AUDIO_TRACK_LOADED,this.cachedTrackLoadedData),this.cachedTrackLoadedData=null)}onAudioTrackLoaded(e,t){var n;if(this.mainDetails==null){this.cachedTrackLoadedData=t;return}const{levels:r}=this,{details:i,id:s}=t;if(!r){this.warn(`Audio tracks were reset while loading level ${s}`);return}this.log(`Audio track ${s} loaded [${i.startSN},${i.endSN}]${i.lastPartSn?`[part-${i.lastPartSn}-${i.lastPartIndex}]`:""},duration:${i.totalduration}`);const c=r[s];let p=0;if(i.live||(n=c.details)!=null&&n.live){this.checkLiveUpdate(i);const F=this.mainDetails;if(i.deltaUpdateFailed||!F)return;if(!c.details&&i.hasProgramDateTime&&F.hasProgramDateTime)Oa(i,F),p=i.fragments[0].start;else{var A;p=this.alignPlaylists(i,c.details,(A=this.levelLastLoaded)==null?void 0:A.details)}}c.details=i,this.levelLastLoaded=c,!this.startFragRequested&&(this.mainDetails||!i.live)&&this.setStartPosition(this.mainDetails||i,p),this.state===Rn.WAITING_TRACK&&!this.waitForCdnTuneIn(i)&&(this.state=Rn.IDLE),this.tick()}_handleFragmentLoadProgress(e){var t;const{frag:n,part:r,payload:i}=e,{config:s,trackId:c,levels:p}=this;if(!p){this.warn(`Audio tracks were reset while fragment load was in progress. Fragment ${n.sn} of level ${n.level} will not be buffered`);return}const A=p[c];if(!A){this.warn("Audio track is undefined on fragment load progress");return}const F=A.details;if(!F){this.warn("Audio track details undefined on fragment load progress"),this.removeUnbufferedFrags(n.start);return}const M=s.defaultAudioCodec||A.audioCodec||"mp4a.40.2";let ve=this.transmuxer;ve||(ve=this.transmuxer=new on(this.hls,at.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const Fe=this.initPTS[n.cc],Re=(t=n.initSegment)==null?void 0:t.data;if(Fe!==void 0){const Ve=r?r.index:-1,ht=Ve!==-1,zt=new vs(n.level,n.sn,n.stats.chunkCount,i.byteLength,Ve,ht);ve.push(i,Re,M,"",n,r,F.totalduration,!1,zt,Fe)}else{this.log(`Unknown video PTS for cc ${n.cc}, waiting for video PTS before demuxing audio frag ${n.sn} of [${F.startSN} ,${F.endSN}],track ${c}`);const{cache:Pe}=this.waitingData=this.waitingData||{frag:n,part:r,cache:new Ms,complete:!1};Pe.push(new Uint8Array(i)),this.waitingVideoCC=this.videoTrackCC,this.state=Rn.WAITING_INIT_PTS}}_handleFragmentLoadComplete(e){if(this.waitingData){this.waitingData.complete=!0;return}super._handleFragmentLoadComplete(e)}onBufferReset(){this.mediaBuffer=this.videoBuffer=null,this.loadedmetadata=!1}onBufferCreated(e,t){const n=t.tracks.audio;n&&(this.mediaBuffer=n.buffer||null),t.tracks.video&&(this.videoBuffer=t.tracks.video.buffer||null)}onFragBuffered(e,t){const{frag:n,part:r}=t;if(n.type!==at.AUDIO){if(!this.loadedmetadata&&n.type===at.MAIN){const i=this.videoBuffer||this.media;i&&_i.getBuffered(i).length&&(this.loadedmetadata=!0)}return}if(this.fragContextChanged(n)){this.warn(`Fragment ${n.sn}${r?" p: "+r.index:""} of level ${n.level} finished buffering, but was aborted. state: ${this.state}, audioSwitch: ${this.switchingTrack?this.switchingTrack.name:"false"}`);return}if(n.sn!=="initSegment"){this.fragPrevious=n;const i=this.switchingTrack;i&&(this.bufferedTrack=i,this.switchingTrack=null,this.hls.trigger(u.AUDIO_TRACK_SWITCHED,$({},i)))}this.fragBufferedComplete(n,r)}onError(e,t){var n;if(t.fatal){this.state=Rn.ERROR;return}switch(t.details){case m.FRAG_GAP:case m.FRAG_PARSING_ERROR:case m.FRAG_DECRYPT_ERROR:case m.FRAG_LOAD_ERROR:case m.FRAG_LOAD_TIMEOUT:case m.KEY_LOAD_ERROR:case m.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(at.AUDIO,t);break;case m.AUDIO_TRACK_LOAD_ERROR:case m.AUDIO_TRACK_LOAD_TIMEOUT:case m.LEVEL_PARSING_ERROR:!t.levelRetry&&this.state===Rn.WAITING_TRACK&&((n=t.context)==null?void 0:n.type)===Cn.AUDIO_TRACK&&(this.state=Rn.IDLE);break;case m.BUFFER_APPEND_ERROR:case m.BUFFER_FULL_ERROR:if(!t.parent||t.parent!=="audio")return;if(t.details===m.BUFFER_APPEND_ERROR){this.resetLoadingState();return}this.reduceLengthAndFlushBuffer(t)&&(this.bufferedTrack=null,super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"));break;case m.INTERNAL_EXCEPTION:this.recoverWorkerError(t);break}}onBufferFlushing(e,{type:t}){t!==te.VIDEO&&(this.flushing=!0)}onBufferFlushed(e,{type:t}){if(t!==te.VIDEO){this.flushing=!1,this.bufferFlushed=!0,this.state===Rn.ENDED&&(this.state=Rn.IDLE);const n=this.mediaBuffer||this.media;n&&(this.afterBufferFlushed(n,t,at.AUDIO),this.tick())}}_handleTransmuxComplete(e){var t;const n="audio",{hls:r}=this,{remuxResult:i,chunkMeta:s}=e,c=this.getCurrentContext(s);if(!c){this.resetWhenMissingContext(s);return}const{frag:p,part:A,level:F}=c,{details:M}=F,{audio:ve,text:Fe,id3:Re,initSegment:Pe}=i;if(this.fragContextChanged(p)||!M){this.fragmentTracker.removeFragment(p);return}if(this.state=Rn.PARSING,this.switchingTrack&&ve&&this.completeAudioSwitch(this.switchingTrack),Pe!=null&&Pe.tracks){const Ve=p.initSegment||p;this._bufferInitSegment(F,Pe.tracks,Ve,s),r.trigger(u.FRAG_PARSING_INIT_SEGMENT,{frag:Ve,id:n,tracks:Pe.tracks})}if(ve){const{startPTS:Ve,endPTS:ht,startDTS:zt,endDTS:jt}=ve;A&&(A.elementaryStreams[te.AUDIO]={startPTS:Ve,endPTS:ht,startDTS:zt,endDTS:jt}),p.setElementaryStreamInfo(te.AUDIO,Ve,ht,zt,jt),this.bufferFragmentData(ve,p,A,s)}if(Re!=null&&(t=Re.samples)!=null&&t.length){const Ve=a({id:n,frag:p,details:M},Re);r.trigger(u.FRAG_PARSING_METADATA,Ve)}if(Fe){const Ve=a({id:n,frag:p,details:M},Fe);r.trigger(u.FRAG_PARSING_USERDATA,Ve)}}_bufferInitSegment(e,t,n,r){if(this.state!==Rn.PARSING)return;t.video&&delete t.video;const i=t.audio;if(!i)return;i.id="audio";const s=e.audioCodec;this.log(`Init audio buffer, container:${i.container}, codecs[level/parsed]=[${s}/${i.codec}]`),s&&s.split(",").length===1&&(i.levelCodec=s),this.hls.trigger(u.BUFFER_CODECS,t);const c=i.initSegment;if(c!=null&&c.byteLength){const p={type:"audio",frag:n,part:null,chunkMeta:r,parent:n.type,data:c};this.hls.trigger(u.BUFFER_APPENDING,p)}this.tickImmediate()}loadFragment(e,t,n){const r=this.fragmentTracker.getState(e);if(this.fragCurrent=e,this.switchingTrack||r===pi.NOT_LOADED||r===pi.PARTIAL){var i;if(e.sn==="initSegment")this._loadInitSegment(e,t);else if((i=t.details)!=null&&i.live&&!this.initPTS[e.cc]){this.log(`Waiting for video PTS in continuity counter ${e.cc} of live stream before loading audio fragment ${e.sn} of level ${this.trackId}`),this.state=Rn.WAITING_INIT_PTS;const s=this.mainDetails;s&&s.fragments[0].start!==t.details.fragments[0].start&&Oa(t.details,s)}else this.startFragRequested=!0,super.loadFragment(e,t,n)}else this.clearTrackerIfNeeded(e)}flushAudioIfNeeded(e){const{media:t,bufferedTrack:n}=this,r=n==null?void 0:n.attrs,i=e.attrs;t&&r&&(r.CHANNELS!==i.CHANNELS||n.name!==e.name||n.lang!==e.lang)&&(this.log("Switching audio track : flushing all audio"),super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"),this.bufferedTrack=null)}completeAudioSwitch(e){const{hls:t}=this;this.flushAudioIfNeeded(e),this.bufferedTrack=e,this.switchingTrack=null,t.trigger(u.AUDIO_TRACK_SWITCHED,$({},e))}}class _r extends li{constructor(e){super(e,"[audio-track-controller]"),this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0,this.registerListeners()}registerListeners(){const{hls:e}=this;e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.MANIFEST_PARSED,this.onManifestParsed,this),e.on(u.LEVEL_LOADING,this.onLevelLoading,this),e.on(u.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(u.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.on(u.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.MANIFEST_PARSED,this.onManifestParsed,this),e.off(u.LEVEL_LOADING,this.onLevelLoading,this),e.off(u.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(u.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.off(u.ERROR,this.onError,this)}destroy(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,super.destroy()}onManifestLoading(){this.tracks=[],this.tracksInGroup=[],this.groupIds=null,this.currentTrack=null,this.trackId=-1,this.selectDefaultTrack=!0}onManifestParsed(e,t){this.tracks=t.audioTracks||[]}onAudioTrackLoaded(e,t){const{id:n,groupId:r,details:i}=t,s=this.tracksInGroup[n];if(!s||s.groupId!==r){this.warn(`Audio track with id:${n} and group:${r} not found in active group ${s==null?void 0:s.groupId}`);return}const c=s.details;s.details=t.details,this.log(`Audio track ${n} "${s.name}" lang:${s.lang} group:${r} loaded [${i.startSN}-${i.endSN}]`),n===this.trackId&&this.playlistLoaded(n,t,c)}onLevelLoading(e,t){this.switchLevel(t.level)}onLevelSwitching(e,t){this.switchLevel(t.level)}switchLevel(e){const t=this.hls.levels[e];if(!t)return;const n=t.audioGroups||null,r=this.groupIds;let i=this.currentTrack;if(!n||(r==null?void 0:r.length)!==(n==null?void 0:n.length)||n!=null&&n.some(c=>(r==null?void 0:r.indexOf(c))===-1)){this.groupIds=n,this.trackId=-1,this.currentTrack=null;const c=this.tracks.filter(ve=>!n||n.indexOf(ve.groupId)!==-1);if(c.length)this.selectDefaultTrack&&!c.some(ve=>ve.default)&&(this.selectDefaultTrack=!1),c.forEach((ve,Fe)=>{ve.id=Fe});else if(!i&&!this.tracksInGroup.length)return;this.tracksInGroup=c;const p=this.hls.config.audioPreference;if(!i&&p){const ve=ba(p,c,zr);if(ve>-1)i=c[ve];else{const Fe=ba(p,this.tracks);i=this.tracks[Fe]}}let A=this.findTrackId(i);A===-1&&i&&(A=this.findTrackId(null));const F={audioTracks:c};this.log(`Updating audio tracks, ${c.length} track(s) found in group(s): ${n==null?void 0:n.join(",")}`),this.hls.trigger(u.AUDIO_TRACKS_UPDATED,F);const M=this.trackId;if(A!==-1&&M===-1)this.setAudioTrack(A);else if(c.length&&M===-1){var s;const ve=new Error(`No audio track selected for current audio group-ID(s): ${(s=this.groupIds)==null?void 0:s.join(",")} track count: ${c.length}`);this.warn(ve.message),this.hls.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:ve})}}else this.shouldReloadPlaylist(i)&&this.setAudioTrack(this.trackId)}onError(e,t){t.fatal||!t.context||t.context.type===Cn.AUDIO_TRACK&&t.context.id===this.trackId&&(!this.groupIds||this.groupIds.indexOf(t.context.groupId)!==-1)&&(this.requestScheduled=-1,this.checkRetry(t))}get allAudioTracks(){return this.tracks}get audioTracks(){return this.tracksInGroup}get audioTrack(){return this.trackId}set audioTrack(e){this.selectDefaultTrack=!1,this.setAudioTrack(e)}setAudioOption(e){const t=this.hls;if(t.config.audioPreference=e,e){const n=this.allAudioTracks;if(this.selectDefaultTrack=!1,n.length){const r=this.currentTrack;if(r&&wa(e,r,zr))return r;const i=ba(e,this.tracksInGroup,zr);if(i>-1){const s=this.tracksInGroup[i];return this.setAudioTrack(i),s}else if(r){let s=t.loadLevel;s===-1&&(s=t.firstAutoLevel);const c=ia(e,t.levels,n,s,zr);if(c===-1)return null;t.nextLoadLevel=c}if(e.channels||e.audioCodec){const s=ba(e,n);if(s>-1)return n[s]}}}return null}setAudioTrack(e){const t=this.tracksInGroup;if(e<0||e>=t.length){this.warn(`Invalid audio track id: ${e}`);return}this.clearTimer(),this.selectDefaultTrack=!1;const n=this.currentTrack,r=t[e],i=r.details&&!r.details.live;if(e===this.trackId&&r===n&&i||(this.log(`Switching to audio-track ${e} "${r.name}" lang:${r.lang} group:${r.groupId} channels:${r.channels}`),this.trackId=e,this.currentTrack=r,this.hls.trigger(u.AUDIO_TRACK_SWITCHING,$({},r)),i))return;const s=this.switchParams(r.url,n==null?void 0:n.details,r.details);this.loadPlaylist(s)}findTrackId(e){const t=this.tracksInGroup;for(let n=0;n<t.length;n++){const r=t[n];if(!(this.selectDefaultTrack&&!r.default)&&(!e||wa(e,r,zr)))return n}if(e){const{name:n,lang:r,assocLang:i,characteristics:s,audioCodec:c,channels:p}=e;for(let A=0;A<t.length;A++){const F=t[A];if(wa({name:n,lang:r,assocLang:i,characteristics:s,audioCodec:c,channels:p},F,zr))return A}for(let A=0;A<t.length;A++){const F=t[A];if(An(e.attrs,F.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return A}for(let A=0;A<t.length;A++){const F=t[A];if(An(e.attrs,F.attrs,["LANGUAGE"]))return A}}return-1}loadPlaylist(e){const t=this.currentTrack;if(this.shouldLoadPlaylist(t)&&t){super.loadPlaylist();const n=t.id,r=t.groupId;let i=t.url;if(e)try{i=e.addDirectives(i)}catch(s){this.warn(`Could not construct new URL with HLS Delivery Directives: ${s}`)}this.log(`loading audio-track playlist ${n} "${t.name}" lang:${t.lang} group:${r}`),this.clearTimer(),this.hls.trigger(u.AUDIO_TRACK_LOADING,{url:i,id:n,groupId:r,deliveryDirectives:e||null})}}}const wr=500;class ri extends Ts{constructor(e,t,n){super(e,t,n,"[subtitle-stream-controller]",at.SUBTITLE),this.currentTrackId=-1,this.tracksBuffered=[],this.mainDetails=null,this._registerListeners()}onHandlerDestroying(){this._unregisterListeners(),super.onHandlerDestroying(),this.mainDetails=null}_registerListeners(){const{hls:e}=this;e.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.LEVEL_LOADED,this.onLevelLoaded,this),e.on(u.ERROR,this.onError,this),e.on(u.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.on(u.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.on(u.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.on(u.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),e.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(u.FRAG_BUFFERED,this.onFragBuffered,this)}_unregisterListeners(){const{hls:e}=this;e.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.LEVEL_LOADED,this.onLevelLoaded,this),e.off(u.ERROR,this.onError,this),e.off(u.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.off(u.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.off(u.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.off(u.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),e.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(u.FRAG_BUFFERED,this.onFragBuffered,this)}startLoad(e){this.stopLoad(),this.state=Rn.IDLE,this.setInterval(wr),this.nextLoadPosition=this.startPosition=this.lastCurrentTime=e,this.tick()}onManifestLoading(){this.mainDetails=null,this.fragmentTracker.removeAllFragments()}onMediaDetaching(){this.tracksBuffered=[],super.onMediaDetaching()}onLevelLoaded(e,t){this.mainDetails=t.details}onSubtitleFragProcessed(e,t){const{frag:n,success:r}=t;if(this.fragPrevious=n,this.state=Rn.IDLE,!r)return;const i=this.tracksBuffered[this.currentTrackId];if(!i)return;let s;const c=n.start;for(let A=0;A<i.length;A++)if(c>=i[A].start&&c<=i[A].end){s=i[A];break}const p=n.start+n.duration;s?s.end=p:(s={start:c,end:p},i.push(s)),this.fragmentTracker.fragBuffered(n),this.fragBufferedComplete(n,null)}onBufferFlushing(e,t){const{startOffset:n,endOffset:r}=t;if(n===0&&r!==Number.POSITIVE_INFINITY){const i=r-1;if(i<=0)return;t.endOffsetSubtitles=Math.max(0,i),this.tracksBuffered.forEach(s=>{for(let c=0;c<s.length;){if(s[c].end<=i){s.shift();continue}else if(s[c].start<i)s[c].start=i;else break;c++}}),this.fragmentTracker.removeFragmentsInRange(n,i,at.SUBTITLE)}}onFragBuffered(e,t){if(!this.loadedmetadata&&t.frag.type===at.MAIN){var n;(n=this.media)!=null&&n.buffered.length&&(this.loadedmetadata=!0)}}onError(e,t){const n=t.frag;(n==null?void 0:n.type)===at.SUBTITLE&&(t.details===m.FRAG_GAP&&this.fragmentTracker.fragBuffered(n,!0),this.fragCurrent&&this.fragCurrent.abortRequests(),this.state!==Rn.STOPPED&&(this.state=Rn.IDLE))}onSubtitleTracksUpdated(e,{subtitleTracks:t}){if(this.levels&&gn(this.levels,t)){this.levels=t.map(n=>new Ci(n));return}this.tracksBuffered=[],this.levels=t.map(n=>{const r=new Ci(n);return this.tracksBuffered[r.id]=[],r}),this.fragmentTracker.removeFragmentsInRange(0,Number.POSITIVE_INFINITY,at.SUBTITLE),this.fragPrevious=null,this.mediaBuffer=null}onSubtitleTrackSwitch(e,t){var n;if(this.currentTrackId=t.id,!((n=this.levels)!=null&&n.length)||this.currentTrackId===-1){this.clearInterval();return}const r=this.levels[this.currentTrackId];r!=null&&r.details?this.mediaBuffer=this.mediaBufferTimeRanges:this.mediaBuffer=null,r&&this.setInterval(wr)}onSubtitleTrackLoaded(e,t){var n;const{currentTrackId:r,levels:i}=this,{details:s,id:c}=t;if(!i){this.warn(`Subtitle tracks were reset while loading level ${c}`);return}const p=i[c];if(c>=i.length||!p)return;this.log(`Subtitle track ${c} loaded [${s.startSN},${s.endSN}]${s.lastPartSn?`[part-${s.lastPartSn}-${s.lastPartIndex}]`:""},duration:${s.totalduration}`),this.mediaBuffer=this.mediaBufferTimeRanges;let A=0;if(s.live||(n=p.details)!=null&&n.live){const M=this.mainDetails;if(s.deltaUpdateFailed||!M)return;const ve=M.fragments[0];if(!p.details)s.hasProgramDateTime&&M.hasProgramDateTime?(Oa(s,M),A=s.fragments[0].start):ve&&(A=ve.start,Ln(s,A));else{var F;A=this.alignPlaylists(s,p.details,(F=this.levelLastLoaded)==null?void 0:F.details),A===0&&ve&&(A=ve.start,Ln(s,A))}}p.details=s,this.levelLastLoaded=p,c===r&&(!this.startFragRequested&&(this.mainDetails||!s.live)&&this.setStartPosition(this.mainDetails||s,A),this.tick(),s.live&&!this.fragCurrent&&this.media&&this.state===Rn.IDLE&&(_a(null,s.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),p.details=void 0)))}_handleFragmentLoadComplete(e){const{frag:t,payload:n}=e,r=t.decryptdata,i=this.hls;if(!this.fragContextChanged(t)&&n&&n.byteLength>0&&r!=null&&r.key&&r.iv&&r.method==="AES-128"){const s=performance.now();this.decrypter.decrypt(new Uint8Array(n),r.key.buffer,r.iv.buffer).catch(c=>{throw i.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.FRAG_DECRYPT_ERROR,fatal:!1,error:c,reason:c.message,frag:t}),c}).then(c=>{const p=performance.now();i.trigger(u.FRAG_DECRYPTED,{frag:t,payload:c,stats:{tstart:s,tdecrypt:p}})}).catch(c=>{this.warn(`${c.name}: ${c.message}`),this.state=Rn.IDLE})}}doTick(){if(!this.media){this.state=Rn.IDLE;return}if(this.state===Rn.IDLE){const{currentTrackId:e,levels:t}=this,n=t==null?void 0:t[e];if(!n||!t.length||!n.details)return;const{config:r}=this,i=this.getLoadPosition(),s=_i.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],i,r.maxBufferHole),{end:c,len:p}=s,A=this.getFwdBufferInfo(this.media,at.MAIN),F=n.details,M=this.getMaxBufferLength(A==null?void 0:A.len)+F.levelTargetDuration;if(p>M)return;const ve=F.fragments,Fe=ve.length,Re=F.edge;let Pe=null;const Ve=this.fragPrevious;if(c<Re){const ht=r.maxFragLookUpTolerance,zt=c>Re-ht?0:ht;Pe=_a(Ve,ve,Math.max(ve[0].start,c),zt),!Pe&&Ve&&Ve.start<ve[0].start&&(Pe=ve[0])}else Pe=ve[Fe-1];if(!Pe)return;if(Pe=this.mapToInitFragWhenRequired(Pe),Pe.sn!=="initSegment"){const ht=Pe.sn-F.startSN,zt=ve[ht-1];zt&&zt.cc===Pe.cc&&this.fragmentTracker.getState(zt)===pi.NOT_LOADED&&(Pe=zt)}this.fragmentTracker.getState(Pe)===pi.NOT_LOADED&&this.loadFragment(Pe,n,c)}}getMaxBufferLength(e){const t=super.getMaxBufferLength();return e?Math.max(t,e):t}loadFragment(e,t,n){this.fragCurrent=e,e.sn==="initSegment"?this._loadInitSegment(e,t):(this.startFragRequested=!0,super.loadFragment(e,t,n))}get mediaBufferTimeRanges(){return new ii(this.tracksBuffered[this.currentTrackId]||[])}}class ii{constructor(e){this.buffered=void 0;const t=(n,r,i)=>{if(r=r>>>0,r>i-1)throw new DOMException(`Failed to execute '${n}' on 'TimeRanges': The index provided (${r}) is greater than the maximum bound (${i})`);return e[r][n]};this.buffered={get length(){return e.length},end(n){return t("end",n,e.length)},start(n){return t("start",n,e.length)}}}}class Wi extends li{constructor(e){super(e,"[subtitle-track-controller]"),this.media=null,this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0,this.queuedDefaultTrack=-1,this.asyncPollTrackChange=()=>this.pollTrackChange(0),this.useTextTrackPolling=!1,this.subtitlePollingInterval=-1,this._subtitleDisplay=!0,this.onTextTracksChanged=()=>{if(this.useTextTrackPolling||self.clearInterval(this.subtitlePollingInterval),!this.media||!this.hls.config.renderTextTracksNatively)return;let t=null;const n=jn(this.media.textTracks);for(let i=0;i<n.length;i++)if(n[i].mode==="hidden")t=n[i];else if(n[i].mode==="showing"){t=n[i];break}const r=this.findTrackForTextTrack(t);this.subtitleTrack!==r&&this.setSubtitleTrack(r)},this.registerListeners()}destroy(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,this.onTextTracksChanged=this.asyncPollTrackChange=null,super.destroy()}get subtitleDisplay(){return this._subtitleDisplay}set subtitleDisplay(e){this._subtitleDisplay=e,this.trackId>-1&&this.toggleTrackModes()}registerListeners(){const{hls:e}=this;e.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.MANIFEST_PARSED,this.onManifestParsed,this),e.on(u.LEVEL_LOADING,this.onLevelLoading,this),e.on(u.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(u.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.on(u.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.MANIFEST_PARSED,this.onManifestParsed,this),e.off(u.LEVEL_LOADING,this.onLevelLoading,this),e.off(u.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(u.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.off(u.ERROR,this.onError,this)}onMediaAttached(e,t){this.media=t.media,this.media&&(this.queuedDefaultTrack>-1&&(this.subtitleTrack=this.queuedDefaultTrack,this.queuedDefaultTrack=-1),this.useTextTrackPolling=!(this.media.textTracks&&"onchange"in this.media.textTracks),this.useTextTrackPolling?this.pollTrackChange(500):this.media.textTracks.addEventListener("change",this.asyncPollTrackChange))}pollTrackChange(e){self.clearInterval(this.subtitlePollingInterval),this.subtitlePollingInterval=self.setInterval(this.onTextTracksChanged,e)}onMediaDetaching(){if(!this.media)return;self.clearInterval(this.subtitlePollingInterval),this.useTextTrackPolling||this.media.textTracks.removeEventListener("change",this.asyncPollTrackChange),this.trackId>-1&&(this.queuedDefaultTrack=this.trackId),jn(this.media.textTracks).forEach(t=>{Ur(t)}),this.subtitleTrack=-1,this.media=null}onManifestLoading(){this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0}onManifestParsed(e,t){this.tracks=t.subtitleTracks}onSubtitleTrackLoaded(e,t){const{id:n,groupId:r,details:i}=t,s=this.tracksInGroup[n];if(!s||s.groupId!==r){this.warn(`Subtitle track with id:${n} and group:${r} not found in active group ${s==null?void 0:s.groupId}`);return}const c=s.details;s.details=t.details,this.log(`Subtitle track ${n} "${s.name}" lang:${s.lang} group:${r} loaded [${i.startSN}-${i.endSN}]`),n===this.trackId&&this.playlistLoaded(n,t,c)}onLevelLoading(e,t){this.switchLevel(t.level)}onLevelSwitching(e,t){this.switchLevel(t.level)}switchLevel(e){const t=this.hls.levels[e];if(!t)return;const n=t.subtitleGroups||null,r=this.groupIds;let i=this.currentTrack;if(!n||(r==null?void 0:r.length)!==(n==null?void 0:n.length)||n!=null&&n.some(s=>(r==null?void 0:r.indexOf(s))===-1)){this.groupIds=n,this.trackId=-1,this.currentTrack=null;const s=this.tracks.filter(F=>!n||n.indexOf(F.groupId)!==-1);if(s.length)this.selectDefaultTrack&&!s.some(F=>F.default)&&(this.selectDefaultTrack=!1),s.forEach((F,M)=>{F.id=M});else if(!i&&!this.tracksInGroup.length)return;this.tracksInGroup=s;const c=this.hls.config.subtitlePreference;if(!i&&c){this.selectDefaultTrack=!1;const F=ba(c,s);if(F>-1)i=s[F];else{const M=ba(c,this.tracks);i=this.tracks[M]}}let p=this.findTrackId(i);p===-1&&i&&(p=this.findTrackId(null));const A={subtitleTracks:s};this.log(`Updating subtitle tracks, ${s.length} track(s) found in "${n==null?void 0:n.join(",")}" group-id`),this.hls.trigger(u.SUBTITLE_TRACKS_UPDATED,A),p!==-1&&this.trackId===-1&&this.setSubtitleTrack(p)}else this.shouldReloadPlaylist(i)&&this.setSubtitleTrack(this.trackId)}findTrackId(e){const t=this.tracksInGroup,n=this.selectDefaultTrack;for(let r=0;r<t.length;r++){const i=t[r];if(!(n&&!i.default||!n&&!e)&&(!e||wa(i,e)))return r}if(e){for(let r=0;r<t.length;r++){const i=t[r];if(An(e.attrs,i.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return r}for(let r=0;r<t.length;r++){const i=t[r];if(An(e.attrs,i.attrs,["LANGUAGE"]))return r}}return-1}findTrackForTextTrack(e){if(e){const t=this.tracksInGroup;for(let n=0;n<t.length;n++){const r=t[n];if(rr(r,e))return n}}return-1}onError(e,t){t.fatal||!t.context||t.context.type===Cn.SUBTITLE_TRACK&&t.context.id===this.trackId&&(!this.groupIds||this.groupIds.indexOf(t.context.groupId)!==-1)&&this.checkRetry(t)}get allSubtitleTracks(){return this.tracks}get subtitleTracks(){return this.tracksInGroup}get subtitleTrack(){return this.trackId}set subtitleTrack(e){this.selectDefaultTrack=!1,this.setSubtitleTrack(e)}setSubtitleOption(e){if(this.hls.config.subtitlePreference=e,e){const t=this.allSubtitleTracks;if(this.selectDefaultTrack=!1,t.length){const n=this.currentTrack;if(n&&wa(e,n))return n;const r=ba(e,this.tracksInGroup);if(r>-1){const i=this.tracksInGroup[r];return this.setSubtitleTrack(r),i}else{if(n)return null;{const i=ba(e,t);if(i>-1)return t[i]}}}}return null}loadPlaylist(e){super.loadPlaylist();const t=this.currentTrack;if(this.shouldLoadPlaylist(t)&&t){const n=t.id,r=t.groupId;let i=t.url;if(e)try{i=e.addDirectives(i)}catch(s){this.warn(`Could not construct new URL with HLS Delivery Directives: ${s}`)}this.log(`Loading subtitle playlist for id ${n}`),this.hls.trigger(u.SUBTITLE_TRACK_LOADING,{url:i,id:n,groupId:r,deliveryDirectives:e||null})}}toggleTrackModes(){const{media:e}=this;if(!e)return;const t=jn(e.textTracks),n=this.currentTrack;let r;if(n&&(r=t.filter(i=>rr(n,i))[0],r||this.warn(`Unable to find subtitle TextTrack with name "${n.name}" and language "${n.lang}"`)),[].slice.call(t).forEach(i=>{i.mode!=="disabled"&&i!==r&&(i.mode="disabled")}),r){const i=this.subtitleDisplay?"showing":"hidden";r.mode!==i&&(r.mode=i)}}setSubtitleTrack(e){const t=this.tracksInGroup;if(!this.media){this.queuedDefaultTrack=e;return}if(e<-1||e>=t.length||!I(e)){this.warn(`Invalid subtitle track id: ${e}`);return}this.clearTimer(),this.selectDefaultTrack=!1;const n=this.currentTrack,r=t[e]||null;if(this.trackId=e,this.currentTrack=r,this.toggleTrackModes(),!r){this.hls.trigger(u.SUBTITLE_TRACK_SWITCH,{id:e});return}const i=!!r.details&&!r.details.live;if(e===this.trackId&&r===n&&i)return;this.log(`Switching to subtitle-track ${e}`+(r?` "${r.name}" lang:${r.lang} group:${r.groupId}`:""));const{id:s,groupId:c="",name:p,type:A,url:F}=r;this.hls.trigger(u.SUBTITLE_TRACK_SWITCH,{id:s,groupId:c,name:p,type:A,url:F});const M=this.switchParams(r.url,n==null?void 0:n.details,r.details);this.loadPlaylist(M)}}class ui{constructor(e){this.buffers=void 0,this.queues={video:[],audio:[],audiovideo:[]},this.buffers=e}append(e,t,n){const r=this.queues[t];r.push(e),r.length===1&&!n&&this.executeNext(t)}insertAbort(e,t){this.queues[t].unshift(e),this.executeNext(t)}appendBlocker(e){let t;const n=new Promise(i=>{t=i}),r={execute:t,onStart:()=>{},onComplete:()=>{},onError:()=>{}};return this.append(r,e),n}executeNext(e){const t=this.queues[e];if(t.length){const n=t[0];try{n.execute()}catch(r){b.warn(`[buffer-operation-queue]: Exception executing "${e}" SourceBuffer operation: ${r}`),n.onError(r);const i=this.buffers[e];i!=null&&i.updating||this.shiftAndExecuteNext(e)}}}shiftAndExecuteNext(e){this.queues[e].shift(),this.executeNext(e)}current(e){return this.queues[e][0]}}const ai=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/;class bi{constructor(e){this.details=null,this._objectUrl=null,this.operationQueue=void 0,this.listeners=void 0,this.hls=void 0,this.bufferCodecEventsExpected=0,this._bufferCodecEventsTotal=0,this.media=null,this.mediaSource=null,this.lastMpegAudioChunk=null,this.appendSource=void 0,this.appendErrors={audio:0,video:0,audiovideo:0},this.tracks={},this.pendingTracks={},this.sourceBuffer=void 0,this.log=void 0,this.warn=void 0,this.error=void 0,this._onEndStreaming=n=>{this.hls&&this.hls.pauseBuffering()},this._onStartStreaming=n=>{this.hls&&this.hls.resumeBuffering()},this._onMediaSourceOpen=()=>{const{media:n,mediaSource:r}=this;this.log("Media source opened"),n&&(n.removeEventListener("emptied",this._onMediaEmptied),this.updateMediaElementDuration(),this.hls.trigger(u.MEDIA_ATTACHED,{media:n,mediaSource:r})),r&&r.removeEventListener("sourceopen",this._onMediaSourceOpen),this.checkPendingTracks()},this._onMediaSourceClose=()=>{this.log("Media source closed")},this._onMediaSourceEnded=()=>{this.log("Media source ended")},this._onMediaEmptied=()=>{const{mediaSrc:n,_objectUrl:r}=this;n!==r&&b.error(`Media element src was set while attaching MediaSource (${r} > ${n})`)},this.hls=e;const t="[buffer-controller]";this.appendSource=ir(_n(e.config.preferManagedMediaSource)),this.log=b.log.bind(b,t),this.warn=b.warn.bind(b,t),this.error=b.error.bind(b,t),this._initSourceBuffer(),this.registerListeners()}hasSourceTypes(){return this.getSourceBufferTypes().length>0||Object.keys(this.pendingTracks).length>0}destroy(){this.unregisterListeners(),this.details=null,this.lastMpegAudioChunk=null,this.hls=null}registerListeners(){const{hls:e}=this;e.on(u.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.MANIFEST_PARSED,this.onManifestParsed,this),e.on(u.BUFFER_RESET,this.onBufferReset,this),e.on(u.BUFFER_APPENDING,this.onBufferAppending,this),e.on(u.BUFFER_CODECS,this.onBufferCodecs,this),e.on(u.BUFFER_EOS,this.onBufferEos,this),e.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(u.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(u.FRAG_PARSED,this.onFragParsed,this),e.on(u.FRAG_CHANGED,this.onFragChanged,this)}unregisterListeners(){const{hls:e}=this;e.off(u.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.MANIFEST_PARSED,this.onManifestParsed,this),e.off(u.BUFFER_RESET,this.onBufferReset,this),e.off(u.BUFFER_APPENDING,this.onBufferAppending,this),e.off(u.BUFFER_CODECS,this.onBufferCodecs,this),e.off(u.BUFFER_EOS,this.onBufferEos,this),e.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(u.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(u.FRAG_PARSED,this.onFragParsed,this),e.off(u.FRAG_CHANGED,this.onFragChanged,this)}_initSourceBuffer(){this.sourceBuffer={},this.operationQueue=new ui(this.sourceBuffer),this.listeners={audio:[],video:[],audiovideo:[]},this.appendErrors={audio:0,video:0,audiovideo:0},this.lastMpegAudioChunk=null}onManifestLoading(){this.bufferCodecEventsExpected=this._bufferCodecEventsTotal=0,this.details=null}onManifestParsed(e,t){let n=2;(t.audio&&!t.video||!t.altAudio)&&(n=1),this.bufferCodecEventsExpected=this._bufferCodecEventsTotal=n,this.log(`${this.bufferCodecEventsExpected} bufferCodec event(s) expected`)}onMediaAttaching(e,t){const n=this.media=t.media,r=_n(this.appendSource);if(n&&r){var i;const s=this.mediaSource=new r;this.log(`created media source: ${(i=s.constructor)==null?void 0:i.name}`),s.addEventListener("sourceopen",this._onMediaSourceOpen),s.addEventListener("sourceended",this._onMediaSourceEnded),s.addEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(s.addEventListener("startstreaming",this._onStartStreaming),s.addEventListener("endstreaming",this._onEndStreaming));const c=this._objectUrl=self.URL.createObjectURL(s);if(this.appendSource)try{n.removeAttribute("src");const p=self.ManagedMediaSource;n.disableRemotePlayback=n.disableRemotePlayback||p&&s instanceof p,qi(n),Sa(n,c),n.load()}catch(p){n.src=c}else n.src=c;n.addEventListener("emptied",this._onMediaEmptied)}}onMediaDetaching(){const{media:e,mediaSource:t,_objectUrl:n}=this;if(t){if(this.log("media source detaching"),t.readyState==="open")try{t.endOfStream()}catch(r){this.warn(`onMediaDetaching: ${r.message} while calling endOfStream`)}this.onBufferReset(),t.removeEventListener("sourceopen",this._onMediaSourceOpen),t.removeEventListener("sourceended",this._onMediaSourceEnded),t.removeEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(t.removeEventListener("startstreaming",this._onStartStreaming),t.removeEventListener("endstreaming",this._onEndStreaming)),e&&(e.removeEventListener("emptied",this._onMediaEmptied),n&&self.URL.revokeObjectURL(n),this.mediaSrc===n?(e.removeAttribute("src"),this.appendSource&&qi(e),e.load()):this.warn("media|source.src was changed by a third party - skip cleanup")),this.mediaSource=null,this.media=null,this._objectUrl=null,this.bufferCodecEventsExpected=this._bufferCodecEventsTotal,this.pendingTracks={},this.tracks={}}this.hls.trigger(u.MEDIA_DETACHED,void 0)}onBufferReset(){this.getSourceBufferTypes().forEach(e=>{this.resetBuffer(e)}),this._initSourceBuffer(),this.hls.resumeBuffering()}resetBuffer(e){const t=this.sourceBuffer[e];try{if(t){var n;this.removeBufferListeners(e),this.sourceBuffer[e]=void 0,(n=this.mediaSource)!=null&&n.sourceBuffers.length&&this.mediaSource.removeSourceBuffer(t)}}catch(r){this.warn(`onBufferReset ${e}`,r)}}onBufferCodecs(e,t){const n=this.getSourceBufferTypes().length,r=Object.keys(t);if(r.forEach(s=>{if(n){const p=this.tracks[s];if(p&&typeof p.buffer.changeType=="function"){var c;const{id:A,codec:F,levelCodec:M,container:ve,metadata:Fe}=t[s],Re=Fn(p.codec,p.levelCodec),Pe=Re==null?void 0:Re.replace(ai,"$1");let Ve=Fn(F,M);const ht=(c=Ve)==null?void 0:c.replace(ai,"$1");if(Ve&&Pe!==ht){s.slice(0,5)==="audio"&&(Ve=En(Ve,this.appendSource));const zt=`${ve};codecs=${Ve}`;this.appendChangeType(s,zt),this.log(`switching codec ${Re} to ${Ve}`),this.tracks[s]={buffer:p.buffer,codec:F,container:ve,levelCodec:M,metadata:Fe,id:A}}}}else this.pendingTracks[s]=t[s]}),n)return;const i=Math.max(this.bufferCodecEventsExpected-1,0);this.bufferCodecEventsExpected!==i&&(this.log(`${i} bufferCodec event(s) expected ${r.join(",")}`),this.bufferCodecEventsExpected=i),this.mediaSource&&this.mediaSource.readyState==="open"&&this.checkPendingTracks()}appendChangeType(e,t){const{operationQueue:n}=this,r={execute:()=>{const i=this.sourceBuffer[e];i&&(this.log(`changing ${e} sourceBuffer type to ${t}`),i.changeType(t)),n.shiftAndExecuteNext(e)},onStart:()=>{},onComplete:()=>{},onError:i=>{this.warn(`Failed to change ${e} SourceBuffer type`,i)}};n.append(r,e,!!this.pendingTracks[e])}onBufferAppending(e,t){const{hls:n,operationQueue:r,tracks:i}=this,{data:s,type:c,frag:p,part:A,chunkMeta:F}=t,M=F.buffering[c],ve=self.performance.now();M.start=ve;const Fe=p.stats.buffering,Re=A?A.stats.buffering:null;Fe.start===0&&(Fe.start=ve),Re&&Re.start===0&&(Re.start=ve);const Pe=i.audio;let Ve=!1;c==="audio"&&(Pe==null?void 0:Pe.container)==="audio/mpeg"&&(Ve=!this.lastMpegAudioChunk||F.id===1||this.lastMpegAudioChunk.sn!==F.sn,this.lastMpegAudioChunk=F);const ht=p.start,zt={execute:()=>{if(M.executeStart=self.performance.now(),Ve){const jt=this.sourceBuffer[c];if(jt){const xn=ht-jt.timestampOffset;Math.abs(xn)>=.1&&(this.log(`Updating audio SourceBuffer timestampOffset to ${ht} (delta: ${xn}) sn: ${p.sn})`),jt.timestampOffset=ht)}}this.appendExecutor(s,c)},onStart:()=>{},onComplete:()=>{const jt=self.performance.now();M.executeEnd=M.end=jt,Fe.first===0&&(Fe.first=jt),Re&&Re.first===0&&(Re.first=jt);const{sourceBuffer:xn}=this,Zt={};for(const Un in xn)Zt[Un]=_i.getBuffered(xn[Un]);this.appendErrors[c]=0,c==="audio"||c==="video"?this.appendErrors.audiovideo=0:(this.appendErrors.audio=0,this.appendErrors.video=0),this.hls.trigger(u.BUFFER_APPENDED,{type:c,frag:p,part:A,chunkMeta:F,parent:p.type,timeRanges:Zt})},onError:jt=>{const xn={type:x.MEDIA_ERROR,parent:p.type,details:m.BUFFER_APPEND_ERROR,sourceBufferName:c,frag:p,part:A,chunkMeta:F,error:jt,err:jt,fatal:!1};if(jt.code===DOMException.QUOTA_EXCEEDED_ERR)xn.details=m.BUFFER_FULL_ERROR;else{const Zt=++this.appendErrors[c];xn.details=m.BUFFER_APPEND_ERROR,this.warn(`Failed ${Zt}/${n.config.appendErrorMaxRetry} times to append segment in "${c}" sourceBuffer`),Zt>=n.config.appendErrorMaxRetry&&(xn.fatal=!0)}n.trigger(u.ERROR,xn)}};r.append(zt,c,!!this.pendingTracks[c])}onBufferFlushing(e,t){const{operationQueue:n}=this,r=i=>({execute:this.removeExecutor.bind(this,i,t.startOffset,t.endOffset),onStart:()=>{},onComplete:()=>{this.hls.trigger(u.BUFFER_FLUSHED,{type:i})},onError:s=>{this.warn(`Failed to remove from ${i} SourceBuffer`,s)}});t.type?n.append(r(t.type),t.type):this.getSourceBufferTypes().forEach(i=>{n.append(r(i),i)})}onFragParsed(e,t){const{frag:n,part:r}=t,i=[],s=r?r.elementaryStreams:n.elementaryStreams;s[te.AUDIOVIDEO]?i.push("audiovideo"):(s[te.AUDIO]&&i.push("audio"),s[te.VIDEO]&&i.push("video"));const c=()=>{const p=self.performance.now();n.stats.buffering.end=p,r&&(r.stats.buffering.end=p);const A=r?r.stats:n.stats;this.hls.trigger(u.FRAG_BUFFERED,{frag:n,part:r,stats:A,id:n.type})};i.length===0&&this.warn(`Fragments must have at least one ElementaryStreamType set. type: ${n.type} level: ${n.level} sn: ${n.sn}`),this.blockBuffers(c,i)}onFragChanged(e,t){this.trimBuffers()}onBufferEos(e,t){this.getSourceBufferTypes().reduce((r,i)=>{const s=this.sourceBuffer[i];return s&&(!t.type||t.type===i)&&(s.ending=!0,s.ended||(s.ended=!0,this.log(`${i} sourceBuffer now EOS`))),r&&!!(!s||s.ended)},!0)&&(this.log("Queueing mediaSource.endOfStream()"),this.blockBuffers(()=>{this.getSourceBufferTypes().forEach(i=>{const s=this.sourceBuffer[i];s&&(s.ending=!1)});const{mediaSource:r}=this;if(!r||r.readyState!=="open"){r&&this.log(`Could not call mediaSource.endOfStream(). mediaSource.readyState: ${r.readyState}`);return}this.log("Calling mediaSource.endOfStream()"),r.endOfStream()}))}onLevelUpdated(e,{details:t}){t.fragments.length&&(this.details=t,this.getSourceBufferTypes().length?this.blockBuffers(this.updateMediaElementDuration.bind(this)):this.updateMediaElementDuration())}trimBuffers(){const{hls:e,details:t,media:n}=this;if(!n||t===null||!this.getSourceBufferTypes().length)return;const i=e.config,s=n.currentTime,c=t.levelTargetDuration,p=t.live&&i.liveBackBufferLength!==null?i.liveBackBufferLength:i.backBufferLength;if(I(p)&&p>0){const A=Math.max(p,c),F=Math.floor(s/c)*c-A;this.flushBackBuffer(s,c,F)}if(I(i.frontBufferFlushThreshold)&&i.frontBufferFlushThreshold>0){const A=Math.max(i.maxBufferLength,i.frontBufferFlushThreshold),F=Math.max(A,c),M=Math.floor(s/c)*c+F;this.flushFrontBuffer(s,c,M)}}flushBackBuffer(e,t,n){const{details:r,sourceBuffer:i}=this;this.getSourceBufferTypes().forEach(c=>{const p=i[c];if(p){const A=_i.getBuffered(p);if(A.length>0&&n>A.start(0)){if(this.hls.trigger(u.BACK_BUFFER_REACHED,{bufferEnd:n}),r!=null&&r.live)this.hls.trigger(u.LIVE_BACK_BUFFER_REACHED,{bufferEnd:n});else if(p.ended&&A.end(A.length-1)-e<t*2){this.log(`Cannot flush ${c} back buffer while SourceBuffer is in ended state`);return}this.hls.trigger(u.BUFFER_FLUSHING,{startOffset:0,endOffset:n,type:c})}}})}flushFrontBuffer(e,t,n){const{sourceBuffer:r}=this;this.getSourceBufferTypes().forEach(s=>{const c=r[s];if(c){const p=_i.getBuffered(c),A=p.length;if(A<2)return;const F=p.start(A-1),M=p.end(A-1);if(n>F||e>=F&&e<=M)return;if(c.ended&&e-M<2*t){this.log(`Cannot flush ${s} front buffer while SourceBuffer is in ended state`);return}this.hls.trigger(u.BUFFER_FLUSHING,{startOffset:F,endOffset:1/0,type:s})}})}updateMediaElementDuration(){if(!this.details||!this.media||!this.mediaSource||this.mediaSource.readyState!=="open")return;const{details:e,hls:t,media:n,mediaSource:r}=this,i=e.fragments[0].start+e.totalduration,s=n.duration,c=I(r.duration)?r.duration:0;e.live&&t.config.liveDurationInfinity?(r.duration=1/0,this.updateSeekableRange(e)):(i>c&&i>s||!I(s))&&(this.log(`Updating Media Source duration to ${i.toFixed(3)}`),r.duration=i)}updateSeekableRange(e){const t=this.mediaSource,n=e.fragments;if(n.length&&e.live&&t!=null&&t.setLiveSeekableRange){const i=Math.max(0,n[0].start),s=Math.max(i,i+e.totalduration);this.log(`Media Source duration is set to ${t.duration}. Setting seekable range to ${i}-${s}.`),t.setLiveSeekableRange(i,s)}}checkPendingTracks(){const{bufferCodecEventsExpected:e,operationQueue:t,pendingTracks:n}=this,r=Object.keys(n).length;if(r&&(!e||r===2||"audiovideo"in n)){this.createSourceBuffers(n),this.pendingTracks={};const i=this.getSourceBufferTypes();if(i.length)this.hls.trigger(u.BUFFER_CREATED,{tracks:this.tracks}),i.forEach(s=>{t.executeNext(s)});else{const s=new Error("could not create source buffer for media codec(s)");this.hls.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.BUFFER_INCOMPATIBLE_CODECS_ERROR,fatal:!0,error:s,reason:s.message})}}}createSourceBuffers(e){const{sourceBuffer:t,mediaSource:n}=this;if(!n)throw Error("createSourceBuffers called when mediaSource was null");for(const i in e)if(!t[i]){var r;const s=e[i];if(!s)throw Error(`source buffer exists for track ${i}, however track does not`);let c=((r=s.levelCodec)==null?void 0:r.indexOf(","))===-1?s.levelCodec:s.codec;c&&i.slice(0,5)==="audio"&&(c=En(c,this.appendSource));const p=`${s.container};codecs=${c}`;this.log(`creating sourceBuffer(${p})`);try{const A=t[i]=n.addSourceBuffer(p),F=i;this.addBufferListener(F,"updatestart",this._onSBUpdateStart),this.addBufferListener(F,"updateend",this._onSBUpdateEnd),this.addBufferListener(F,"error",this._onSBUpdateError),this.appendSource&&this.addBufferListener(F,"bufferedchange",(M,ve)=>{const Fe=ve.removedRanges;Fe!=null&&Fe.length&&this.hls.trigger(u.BUFFER_FLUSHED,{type:i})}),this.tracks[i]={buffer:A,codec:c,container:s.container,levelCodec:s.levelCodec,metadata:s.metadata,id:s.id}}catch(A){this.error(`error while trying to add sourceBuffer: ${A.message}`),this.hls.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:A,sourceBufferName:i,mimeType:p})}}}get mediaSrc(){var e,t;const n=((e=this.media)==null||(t=e.querySelector)==null?void 0:t.call(e,"source"))||this.media;return n==null?void 0:n.src}_onSBUpdateStart(e){const{operationQueue:t}=this;t.current(e).onStart()}_onSBUpdateEnd(e){var t;if(((t=this.mediaSource)==null?void 0:t.readyState)==="closed"){this.resetBuffer(e);return}const{operationQueue:n}=this;n.current(e).onComplete(),n.shiftAndExecuteNext(e)}_onSBUpdateError(e,t){var n;const r=new Error(`${e} SourceBuffer error. MediaSource readyState: ${(n=this.mediaSource)==null?void 0:n.readyState}`);this.error(`${r}`,t),this.hls.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.BUFFER_APPENDING_ERROR,sourceBufferName:e,error:r,fatal:!1});const i=this.operationQueue.current(e);i&&i.onError(r)}removeExecutor(e,t,n){const{media:r,mediaSource:i,operationQueue:s,sourceBuffer:c}=this,p=c[e];if(!r||!i||!p){this.warn(`Attempting to remove from the ${e} SourceBuffer, but it does not exist`),s.shiftAndExecuteNext(e);return}const A=I(r.duration)?r.duration:1/0,F=I(i.duration)?i.duration:1/0,M=Math.max(0,t),ve=Math.min(n,A,F);ve>M&&(!p.ending||p.ended)?(p.ended=!1,this.log(`Removing [${M},${ve}] from the ${e} SourceBuffer`),p.remove(M,ve)):s.shiftAndExecuteNext(e)}appendExecutor(e,t){const n=this.sourceBuffer[t];if(!n){if(!this.pendingTracks[t])throw new Error(`Attempting to append to the ${t} SourceBuffer, but it does not exist`);return}n.ended=!1,n.appendBuffer(e)}blockBuffers(e,t=this.getSourceBufferTypes()){if(!t.length){this.log("Blocking operation requested, but no SourceBuffers exist"),Promise.resolve().then(e);return}const{operationQueue:n}=this,r=t.map(i=>n.appendBlocker(i));Promise.all(r).then(()=>{e(),t.forEach(i=>{const s=this.sourceBuffer[i];s!=null&&s.updating||n.shiftAndExecuteNext(i)})})}getSourceBufferTypes(){return Object.keys(this.sourceBuffer)}addBufferListener(e,t,n){const r=this.sourceBuffer[e];if(!r)return;const i=n.bind(this,e);this.listeners[e].push({event:t,listener:i}),r.addEventListener(t,i)}removeBufferListeners(e){const t=this.sourceBuffer[e];t&&this.listeners[e].forEach(n=>{t.removeEventListener(n.event,n.listener)})}}function qi(o){const e=o.querySelectorAll("source");[].slice.call(e).forEach(t=>{o.removeChild(t)})}function Sa(o,e){const t=self.document.createElement("source");t.type="video/mp4",t.src=e,o.appendChild(t)}const Hr={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},qr=o=>String.fromCharCode(Hr[o]||o),Qr=15,Ri=100,ea={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},Wr={17:2,18:4,21:6,22:8,23:10,19:13,20:15},ra={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},ta={25:2,26:4,29:6,30:8,31:10,27:13,28:15},xa=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class Ma{constructor(){this.time=null,this.verboseLevel=0}log(e,t){if(this.verboseLevel>=e){const n=typeof t=="function"?t():t;b.log(`${this.time} [${e}] ${n}`)}}}const Aa=function(e){const t=[];for(let n=0;n<e.length;n++)t.push(e[n].toString(16));return t};class Ss{constructor(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1}reset(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1}setStyles(e){const t=["foreground","underline","italics","background","flash"];for(let n=0;n<t.length;n++){const r=t[n];e.hasOwnProperty(r)&&(this[r]=e[r])}}isDefault(){return this.foreground==="white"&&!this.underline&&!this.italics&&this.background==="black"&&!this.flash}equals(e){return this.foreground===e.foreground&&this.underline===e.underline&&this.italics===e.italics&&this.background===e.background&&this.flash===e.flash}copy(e){this.foreground=e.foreground,this.underline=e.underline,this.italics=e.italics,this.background=e.background,this.flash=e.flash}toString(){return"color="+this.foreground+", underline="+this.underline+", italics="+this.italics+", background="+this.background+", flash="+this.flash}}class Xa{constructor(){this.uchar=" ",this.penState=new Ss}reset(){this.uchar=" ",this.penState.reset()}setChar(e,t){this.uchar=e,this.penState.copy(t)}setPenState(e){this.penState.copy(e)}equals(e){return this.uchar===e.uchar&&this.penState.equals(e.penState)}copy(e){this.uchar=e.uchar,this.penState.copy(e.penState)}isEmpty(){return this.uchar===" "&&this.penState.isDefault()}}class Na{constructor(e){this.chars=[],this.pos=0,this.currPenState=new Ss,this.cueStartTime=null,this.logger=void 0;for(let t=0;t<Ri;t++)this.chars.push(new Xa);this.logger=e}equals(e){for(let t=0;t<Ri;t++)if(!this.chars[t].equals(e.chars[t]))return!1;return!0}copy(e){for(let t=0;t<Ri;t++)this.chars[t].copy(e.chars[t])}isEmpty(){let e=!0;for(let t=0;t<Ri;t++)if(!this.chars[t].isEmpty()){e=!1;break}return e}setCursor(e){this.pos!==e&&(this.pos=e),this.pos<0?(this.logger.log(3,"Negative cursor position "+this.pos),this.pos=0):this.pos>Ri&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=Ri)}moveCursor(e){const t=this.pos+e;if(e>1)for(let n=this.pos+1;n<t+1;n++)this.chars[n].setPenState(this.currPenState);this.setCursor(t)}backSpace(){this.moveCursor(-1),this.chars[this.pos].setChar(" ",this.currPenState)}insertChar(e){e>=144&&this.backSpace();const t=qr(e);if(this.pos>=Ri){this.logger.log(0,()=>"Cannot insert "+e.toString(16)+" ("+t+") at position "+this.pos+". Skipping it!");return}this.chars[this.pos].setChar(t,this.currPenState),this.moveCursor(1)}clearFromPos(e){let t;for(t=e;t<Ri;t++)this.chars[t].reset()}clear(){this.clearFromPos(0),this.pos=0,this.currPenState.reset()}clearToEndOfRow(){this.clearFromPos(this.pos)}getTextString(){const e=[];let t=!0;for(let n=0;n<Ri;n++){const r=this.chars[n].uchar;r!==" "&&(t=!1),e.push(r)}return t?"":e.join("")}setPenStyles(e){this.currPenState.setStyles(e),this.chars[this.pos].setPenState(this.currPenState)}}class ha{constructor(e){this.rows=[],this.currRow=Qr-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let t=0;t<Qr;t++)this.rows.push(new Na(e));this.logger=e}reset(){for(let e=0;e<Qr;e++)this.rows[e].clear();this.currRow=Qr-1}equals(e){let t=!0;for(let n=0;n<Qr;n++)if(!this.rows[n].equals(e.rows[n])){t=!1;break}return t}copy(e){for(let t=0;t<Qr;t++)this.rows[t].copy(e.rows[t])}isEmpty(){let e=!0;for(let t=0;t<Qr;t++)if(!this.rows[t].isEmpty()){e=!1;break}return e}backSpace(){this.rows[this.currRow].backSpace()}clearToEndOfRow(){this.rows[this.currRow].clearToEndOfRow()}insertChar(e){this.rows[this.currRow].insertChar(e)}setPen(e){this.rows[this.currRow].setPenStyles(e)}moveCursor(e){this.rows[this.currRow].moveCursor(e)}setCursor(e){this.logger.log(2,"setCursor: "+e),this.rows[this.currRow].setCursor(e)}setPAC(e){this.logger.log(2,()=>"pacData = "+JSON.stringify(e));let t=e.row-1;if(this.nrRollUpRows&&t<this.nrRollUpRows-1&&(t=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==t){for(let c=0;c<Qr;c++)this.rows[c].clear();const i=this.currRow+1-this.nrRollUpRows,s=this.lastOutputScreen;if(s){const c=s.rows[i].cueStartTime,p=this.logger.time;if(c!==null&&p!==null&&c<p)for(let A=0;A<this.nrRollUpRows;A++)this.rows[t-this.nrRollUpRows+A+1].copy(s.rows[i+A])}}this.currRow=t;const n=this.rows[this.currRow];if(e.indent!==null){const i=e.indent,s=Math.max(i-1,0);n.setCursor(e.indent),e.color=n.chars[s].penState.foreground}const r={foreground:e.color,underline:e.underline,italics:e.italics,background:"black",flash:!1};this.setPen(r)}setBkgData(e){this.logger.log(2,()=>"bkgData = "+JSON.stringify(e)),this.backSpace(),this.setPen(e),this.insertChar(32)}setRollUpRows(e){this.nrRollUpRows=e}rollUp(){if(this.nrRollUpRows===null){this.logger.log(3,"roll_up but nrRollUpRows not set yet");return}this.logger.log(1,()=>this.getDisplayText());const e=this.currRow+1-this.nrRollUpRows,t=this.rows.splice(e,1)[0];t.clear(),this.rows.splice(this.currRow,0,t),this.logger.log(2,"Rolling up")}getDisplayText(e){e=e||!1;const t=[];let n="",r=-1;for(let i=0;i<Qr;i++){const s=this.rows[i].getTextString();s&&(r=i+1,e?t.push("Row "+r+": '"+s+"'"):t.push(s.trim()))}return t.length>0&&(e?n="["+t.join(" | ")+"]":n=t.join(`
`)),n}getTextAndFormat(){return this.rows}}class pa{constructor(e,t,n){this.chNr=void 0,this.outputFilter=void 0,this.mode=void 0,this.verbose=void 0,this.displayedMemory=void 0,this.nonDisplayedMemory=void 0,this.lastOutputScreen=void 0,this.currRollUpRow=void 0,this.writeScreen=void 0,this.cueStartTime=void 0,this.logger=void 0,this.chNr=e,this.outputFilter=t,this.mode=null,this.verbose=0,this.displayedMemory=new ha(n),this.nonDisplayedMemory=new ha(n),this.lastOutputScreen=new ha(n),this.currRollUpRow=this.displayedMemory.rows[Qr-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.logger=n}reset(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.outputFilter.reset(),this.currRollUpRow=this.displayedMemory.rows[Qr-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null}getHandler(){return this.outputFilter}setHandler(e){this.outputFilter=e}setPAC(e){this.writeScreen.setPAC(e)}setBkgData(e){this.writeScreen.setBkgData(e)}setMode(e){e!==this.mode&&(this.mode=e,this.logger.log(2,()=>"MODE="+e),this.mode==="MODE_POP-ON"?this.writeScreen=this.nonDisplayedMemory:(this.writeScreen=this.displayedMemory,this.writeScreen.reset()),this.mode!=="MODE_ROLL-UP"&&(this.displayedMemory.nrRollUpRows=null,this.nonDisplayedMemory.nrRollUpRows=null),this.mode=e)}insertChars(e){for(let n=0;n<e.length;n++)this.writeScreen.insertChar(e[n]);const t=this.writeScreen===this.displayedMemory?"DISP":"NON_DISP";this.logger.log(2,()=>t+": "+this.writeScreen.getDisplayText(!0)),(this.mode==="MODE_PAINT-ON"||this.mode==="MODE_ROLL-UP")&&(this.logger.log(1,()=>"DISPLAYED: "+this.displayedMemory.getDisplayText(!0)),this.outputDataUpdate())}ccRCL(){this.logger.log(2,"RCL - Resume Caption Loading"),this.setMode("MODE_POP-ON")}ccBS(){this.logger.log(2,"BS - BackSpace"),this.mode!=="MODE_TEXT"&&(this.writeScreen.backSpace(),this.writeScreen===this.displayedMemory&&this.outputDataUpdate())}ccAOF(){}ccAON(){}ccDER(){this.logger.log(2,"DER- Delete to End of Row"),this.writeScreen.clearToEndOfRow(),this.outputDataUpdate()}ccRU(e){this.logger.log(2,"RU("+e+") - Roll Up"),this.writeScreen=this.displayedMemory,this.setMode("MODE_ROLL-UP"),this.writeScreen.setRollUpRows(e)}ccFON(){this.logger.log(2,"FON - Flash On"),this.writeScreen.setPen({flash:!0})}ccRDC(){this.logger.log(2,"RDC - Resume Direct Captioning"),this.setMode("MODE_PAINT-ON")}ccTR(){this.logger.log(2,"TR"),this.setMode("MODE_TEXT")}ccRTD(){this.logger.log(2,"RTD"),this.setMode("MODE_TEXT")}ccEDM(){this.logger.log(2,"EDM - Erase Displayed Memory"),this.displayedMemory.reset(),this.outputDataUpdate(!0)}ccCR(){this.logger.log(2,"CR - Carriage Return"),this.writeScreen.rollUp(),this.outputDataUpdate(!0)}ccENM(){this.logger.log(2,"ENM - Erase Non-displayed Memory"),this.nonDisplayedMemory.reset()}ccEOC(){if(this.logger.log(2,"EOC - End Of Caption"),this.mode==="MODE_POP-ON"){const e=this.displayedMemory;this.displayedMemory=this.nonDisplayedMemory,this.nonDisplayedMemory=e,this.writeScreen=this.nonDisplayedMemory,this.logger.log(1,()=>"DISP: "+this.displayedMemory.getDisplayText())}this.outputDataUpdate(!0)}ccTO(e){this.logger.log(2,"TO("+e+") - Tab Offset"),this.writeScreen.moveCursor(e)}ccMIDROW(e){const t={flash:!1};if(t.underline=e%2===1,t.italics=e>=46,t.italics)t.foreground="white";else{const n=Math.floor(e/2)-16,r=["white","green","blue","cyan","red","yellow","magenta"];t.foreground=r[n]}this.logger.log(2,"MIDROW: "+JSON.stringify(t)),this.writeScreen.setPen(t)}outputDataUpdate(e=!1){const t=this.logger.time;t!==null&&this.outputFilter&&(this.cueStartTime===null&&!this.displayedMemory.isEmpty()?this.cueStartTime=t:this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue(this.cueStartTime,t,this.lastOutputScreen),e&&this.outputFilter.dispatchCue&&this.outputFilter.dispatchCue(),this.cueStartTime=this.displayedMemory.isEmpty()?null:t),this.lastOutputScreen.copy(this.displayedMemory))}cueSplitAtTime(e){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,e,this.displayedMemory),this.cueStartTime=e))}}class $i{constructor(e,t,n){this.channels=void 0,this.currentChannel=0,this.cmdHistory=Fs(),this.logger=void 0;const r=this.logger=new Ma;this.channels=[null,new pa(e,t,r),new pa(e+1,n,r)]}getHandler(e){return this.channels[e].getHandler()}setHandler(e,t){this.channels[e].setHandler(t)}addData(e,t){this.logger.time=e;for(let n=0;n<t.length;n+=2){const r=t[n]&127,i=t[n+1]&127;let s=!1,c=null;if(r===0&&i===0)continue;this.logger.log(3,()=>"["+Aa([t[n],t[n+1]])+"] -> ("+Aa([r,i])+")");const p=this.cmdHistory;if(r>=16&&r<=31){if(rs(r,i,p)){Ai(null,null,p),this.logger.log(3,()=>"Repeated command ("+Aa([r,i])+") is dropped");continue}Ai(r,i,this.cmdHistory),s=this.parseCmd(r,i),s||(s=this.parseMidrow(r,i)),s||(s=this.parsePAC(r,i)),s||(s=this.parseBackgroundAttributes(r,i))}else Ai(null,null,p);if(!s&&(c=this.parseChars(r,i),c)){const F=this.currentChannel;F&&F>0?this.channels[F].insertChars(c):this.logger.log(2,"No channel found yet. TEXT-MODE?")}!s&&!c&&this.logger.log(2,()=>"Couldn't parse cleaned data "+Aa([r,i])+" orig: "+Aa([t[n],t[n+1]]))}}parseCmd(e,t){const n=(e===20||e===28||e===21||e===29)&&t>=32&&t<=47,r=(e===23||e===31)&&t>=33&&t<=35;if(!(n||r))return!1;const i=e===20||e===21||e===23?1:2,s=this.channels[i];return e===20||e===21||e===28||e===29?t===32?s.ccRCL():t===33?s.ccBS():t===34?s.ccAOF():t===35?s.ccAON():t===36?s.ccDER():t===37?s.ccRU(2):t===38?s.ccRU(3):t===39?s.ccRU(4):t===40?s.ccFON():t===41?s.ccRDC():t===42?s.ccTR():t===43?s.ccRTD():t===44?s.ccEDM():t===45?s.ccCR():t===46?s.ccENM():t===47&&s.ccEOC():s.ccTO(t-32),this.currentChannel=i,!0}parseMidrow(e,t){let n=0;if((e===17||e===25)&&t>=32&&t<=47){if(e===17?n=1:n=2,n!==this.currentChannel)return this.logger.log(0,"Mismatch channel in midrow parsing"),!1;const r=this.channels[n];return r?(r.ccMIDROW(t),this.logger.log(3,()=>"MIDROW ("+Aa([e,t])+")"),!0):!1}return!1}parsePAC(e,t){let n;const r=(e>=17&&e<=23||e>=25&&e<=31)&&t>=64&&t<=127,i=(e===16||e===24)&&t>=64&&t<=95;if(!(r||i))return!1;const s=e<=23?1:2;t>=64&&t<=95?n=s===1?ea[e]:ra[e]:n=s===1?Wr[e]:ta[e];const c=this.channels[s];return c?(c.setPAC(this.interpretPAC(n,t)),this.currentChannel=s,!0):!1}interpretPAC(e,t){let n;const r={color:null,italics:!1,indent:null,underline:!1,row:e};return t>95?n=t-96:n=t-64,r.underline=(n&1)===1,n<=13?r.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(n/2)]:n<=15?(r.italics=!0,r.color="white"):r.indent=Math.floor((n-16)/2)*4,r}parseChars(e,t){let n,r=null,i=null;if(e>=25?(n=2,i=e-8):(n=1,i=e),i>=17&&i<=19){let s;i===17?s=t+80:i===18?s=t+112:s=t+144,this.logger.log(2,()=>"Special char '"+qr(s)+"' in channel "+n),r=[s]}else e>=32&&e<=127&&(r=t===0?[e]:[e,t]);return r&&this.logger.log(3,()=>"Char codes = "+Aa(r).join(",")),r}parseBackgroundAttributes(e,t){const n=(e===16||e===24)&&t>=32&&t<=47,r=(e===23||e===31)&&t>=45&&t<=47;if(!(n||r))return!1;let i;const s={};e===16||e===24?(i=Math.floor((t-32)/2),s.background=xa[i],t%2===1&&(s.background=s.background+"_semi")):t===45?s.background="transparent":(s.foreground="black",t===47&&(s.underline=!0));const c=e<=23?1:2;return this.channels[c].setBkgData(s),!0}reset(){for(let e=0;e<Object.keys(this.channels).length;e++){const t=this.channels[e];t&&t.reset()}Ai(null,null,this.cmdHistory)}cueSplitAtTime(e){for(let t=0;t<this.channels.length;t++){const n=this.channels[t];n&&n.cueSplitAtTime(e)}}}function Ai(o,e,t){t.a=o,t.b=e}function rs(o,e,t){return t.a===o&&t.b===e}function Fs(){return{a:null,b:null}}class es{constructor(e,t){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=e,this.trackName=t}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(e,t,n){(this.startTime===null||this.startTime>e)&&(this.startTime=e),this.endTime=t,this.screen=n,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}var $a=function(){if(Oe!=null&&Oe.VTTCue)return self.VTTCue;const o=["","lr","rl"],e=["start","middle","end","left","right"];function t(c,p){if(typeof p!="string"||!Array.isArray(c))return!1;const A=p.toLowerCase();return~c.indexOf(A)?A:!1}function n(c){return t(o,c)}function r(c){return t(e,c)}function i(c,...p){let A=1;for(;A<arguments.length;A++){const F=arguments[A];for(const M in F)c[M]=F[M]}return c}function s(c,p,A){const F=this,M={enumerable:!0};F.hasBeenReset=!1;let ve="",Fe=!1,Re=c,Pe=p,Ve=A,ht=null,zt="",jt=!0,xn="auto",Zt="start",Un=50,yn="middle",Yn=50,Ar="middle";Object.defineProperty(F,"id",i({},M,{get:function(){return ve},set:function(kn){ve=""+kn}})),Object.defineProperty(F,"pauseOnExit",i({},M,{get:function(){return Fe},set:function(kn){Fe=!!kn}})),Object.defineProperty(F,"startTime",i({},M,{get:function(){return Re},set:function(kn){if(typeof kn!="number")throw new TypeError("Start time must be set to a number.");Re=kn,this.hasBeenReset=!0}})),Object.defineProperty(F,"endTime",i({},M,{get:function(){return Pe},set:function(kn){if(typeof kn!="number")throw new TypeError("End time must be set to a number.");Pe=kn,this.hasBeenReset=!0}})),Object.defineProperty(F,"text",i({},M,{get:function(){return Ve},set:function(kn){Ve=""+kn,this.hasBeenReset=!0}})),Object.defineProperty(F,"region",i({},M,{get:function(){return ht},set:function(kn){ht=kn,this.hasBeenReset=!0}})),Object.defineProperty(F,"vertical",i({},M,{get:function(){return zt},set:function(kn){const qn=n(kn);if(qn===!1)throw new SyntaxError("An invalid or illegal string was specified.");zt=qn,this.hasBeenReset=!0}})),Object.defineProperty(F,"snapToLines",i({},M,{get:function(){return jt},set:function(kn){jt=!!kn,this.hasBeenReset=!0}})),Object.defineProperty(F,"line",i({},M,{get:function(){return xn},set:function(kn){if(typeof kn!="number"&&kn!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");xn=kn,this.hasBeenReset=!0}})),Object.defineProperty(F,"lineAlign",i({},M,{get:function(){return Zt},set:function(kn){const qn=r(kn);if(!qn)throw new SyntaxError("An invalid or illegal string was specified.");Zt=qn,this.hasBeenReset=!0}})),Object.defineProperty(F,"position",i({},M,{get:function(){return Un},set:function(kn){if(kn<0||kn>100)throw new Error("Position must be between 0 and 100.");Un=kn,this.hasBeenReset=!0}})),Object.defineProperty(F,"positionAlign",i({},M,{get:function(){return yn},set:function(kn){const qn=r(kn);if(!qn)throw new SyntaxError("An invalid or illegal string was specified.");yn=qn,this.hasBeenReset=!0}})),Object.defineProperty(F,"size",i({},M,{get:function(){return Yn},set:function(kn){if(kn<0||kn>100)throw new Error("Size must be between 0 and 100.");Yn=kn,this.hasBeenReset=!0}})),Object.defineProperty(F,"align",i({},M,{get:function(){return Ar},set:function(kn){const qn=r(kn);if(!qn)throw new SyntaxError("An invalid or illegal string was specified.");Ar=qn,this.hasBeenReset=!0}})),F.displayState=void 0}return s.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},s}();class io{decode(e,t){if(!e)return"";if(typeof e!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}function ao(o){function e(n,r,i,s){return(n|0)*3600+(r|0)*60+(i|0)+parseFloat(s||0)}const t=o.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);return t?parseFloat(t[2])>59?e(t[2],t[3],0,t[4]):e(t[1],t[2],t[3],t[4]):null}class di{constructor(){this.values=Object.create(null)}set(e,t){!this.get(e)&&t!==""&&(this.values[e]=t)}get(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t}has(e){return e in this.values}alt(e,t,n){for(let r=0;r<n.length;++r)if(t===n[r]){this.set(e,t);break}}integer(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))}percent(e,t){if(/^([\d]{1,3})(\.[\d]*)?%$/.test(t)){const n=parseFloat(t);if(n>=0&&n<=100)return this.set(e,n),!0}return!1}}function Oi(o,e,t,n){const r=n?o.split(n):[o];for(const i in r){if(typeof r[i]!="string")continue;const s=r[i].split(t);if(s.length!==2)continue;const c=s[0],p=s[1];e(c,p)}}const ma=new $a(0,0,""),Ui=ma.align==="middle"?"middle":"center";function Da(o,e,t){const n=o;function r(){const c=ao(o);if(c===null)throw new Error("Malformed timestamp: "+n);return o=o.replace(/^[^\sa-zA-Z-]+/,""),c}function i(c,p){const A=new di;Oi(c,function(ve,Fe){let Re;switch(ve){case"region":for(let Pe=t.length-1;Pe>=0;Pe--)if(t[Pe].id===Fe){A.set(ve,t[Pe].region);break}break;case"vertical":A.alt(ve,Fe,["rl","lr"]);break;case"line":Re=Fe.split(","),A.integer(ve,Re[0]),A.percent(ve,Re[0])&&A.set("snapToLines",!1),A.alt(ve,Re[0],["auto"]),Re.length===2&&A.alt("lineAlign",Re[1],["start",Ui,"end"]);break;case"position":Re=Fe.split(","),A.percent(ve,Re[0]),Re.length===2&&A.alt("positionAlign",Re[1],["start",Ui,"end","line-left","line-right","auto"]);break;case"size":A.percent(ve,Fe);break;case"align":A.alt(ve,Fe,["start",Ui,"end","left","right"]);break}},/:/,/\s/),p.region=A.get("region",null),p.vertical=A.get("vertical","");let F=A.get("line","auto");F==="auto"&&ma.line===-1&&(F=-1),p.line=F,p.lineAlign=A.get("lineAlign","start"),p.snapToLines=A.get("snapToLines",!0),p.size=A.get("size",100),p.align=A.get("align",Ui);let M=A.get("position","auto");M==="auto"&&ma.position===50&&(M=p.align==="start"||p.align==="left"?0:p.align==="end"||p.align==="right"?100:50),p.position=M}function s(){o=o.replace(/^\s+/,"")}if(s(),e.startTime=r(),s(),o.slice(0,3)!=="-->")throw new Error("Malformed time stamp (time stamps must be separated by '-->'): "+n);o=o.slice(3),s(),e.endTime=r(),s(),i(o,e)}function Pa(o){return o.replace(/<br(?: \/)?>/gi,`
`)}class Ka{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new io,this.regionList=[],this.cue=null,this.oncue=void 0,this.onparsingerror=void 0,this.onflush=void 0}parse(e){const t=this;e&&(t.buffer+=t.decoder.decode(e,{stream:!0}));function n(){let i=t.buffer,s=0;for(i=Pa(i);s<i.length&&i[s]!=="\r"&&i[s]!==`
`;)++s;const c=i.slice(0,s);return i[s]==="\r"&&++s,i[s]===`
`&&++s,t.buffer=i.slice(s),c}function r(i){Oi(i,function(s,c){},/:/)}try{let i="";if(t.state==="INITIAL"){if(!/\r\n|\n/.test(t.buffer))return this;i=n();const c=i.match(/^()?WEBVTT([ \t].*)?$/);if(!(c!=null&&c[0]))throw new Error("Malformed WebVTT signature.");t.state="HEADER"}let s=!1;for(;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;switch(s?s=!1:i=n(),t.state){case"HEADER":/:/.test(i)?r(i):i||(t.state="ID");continue;case"NOTE":i||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(i)){t.state="NOTE";break}if(!i)continue;if(t.cue=new $a(0,0,""),t.state="CUE",i.indexOf("-->")===-1){t.cue.id=i;continue}case"CUE":if(!t.cue){t.state="BADCUE";continue}try{Da(i,t.cue,t.regionList)}catch(c){t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":{const c=i.indexOf("-->")!==-1;if(!i||c&&(s=!0)){t.oncue&&t.cue&&t.oncue(t.cue),t.cue=null,t.state="ID";continue}if(t.cue===null)continue;t.cue.text&&(t.cue.text+=`
`),t.cue.text+=i}continue;case"BADCUE":i||(t.state="ID")}}}catch(i){t.state==="CUETEXT"&&t.cue&&t.oncue&&t.oncue(t.cue),t.cue=null,t.state=t.state==="INITIAL"?"BADWEBVTT":"BADCUE"}return this}flush(){const e=this;try{if((e.cue||e.state==="HEADER")&&(e.buffer+=`
`,e.parse()),e.state==="INITIAL"||e.state==="BADWEBVTT")throw new Error("Malformed WebVTT signature.")}catch(t){e.onparsingerror&&e.onparsingerror(t)}return e.onflush&&e.onflush(),this}}const gs=/\r\n|\n\r|\n|\r/g,so=function(e,t,n=0){return e.slice(n,n+t.length)===t},qo=function(e){let t=parseInt(e.slice(-3));const n=parseInt(e.slice(-6,-4)),r=parseInt(e.slice(-9,-7)),i=e.length>9?parseInt(e.substring(0,e.indexOf(":"))):0;if(!I(t)||!I(n)||!I(r)||!I(i))throw Error(`Malformed X-TIMESTAMP-MAP: Local:${e}`);return t+=1e3*n,t+=60*1e3*r,t+=60*60*1e3*i,t},oo=function(e){let t=5381,n=e.length;for(;n;)t=t*33^e.charCodeAt(--n);return(t>>>0).toString()};function wo(o,e,t){return oo(o.toString())+oo(e.toString())+oo(t)}const Bo=function(e,t,n){let r=e[t],i=e[r.prevCC];if(!i||!i.new&&r.new){e.ccOffset=e.presentationOffset=r.start,r.new=!1;return}for(;(s=i)!=null&&s.new;){var s;e.ccOffset+=r.start-i.start,r.new=!1,r=i,i=e[r.prevCC]}e.presentationOffset=n};function lo(o,e,t,n,r,i,s){const c=new Ka,p=Ye(new Uint8Array(o)).trim().replace(gs,`
`).split(`
`),A=[],F=e?yr(e.baseTime,e.timescale):0;let M="00:00.000",ve=0,Fe=0,Re,Pe=!0;c.oncue=function(Ve){const ht=t[n];let zt=t.ccOffset;const jt=(ve-F)/9e4;if(ht!=null&&ht.new&&(Fe!==void 0?zt=t.ccOffset=ht.start:Bo(t,n,jt)),jt){if(!e){Re=new Error("Missing initPTS for VTT MPEGTS");return}zt=jt-t.presentationOffset}const xn=Ve.endTime-Ve.startTime,Zt=Nn((Ve.startTime+zt-Fe)*9e4,r*9e4)/9e4;Ve.startTime=Math.max(Zt,0),Ve.endTime=Math.max(Zt+xn,0);const Un=Ve.text.trim();Ve.text=decodeURIComponent(encodeURIComponent(Un)),Ve.id||(Ve.id=wo(Ve.startTime,Ve.endTime,Un)),Ve.endTime>0&&A.push(Ve)},c.onparsingerror=function(Ve){Re=Ve},c.onflush=function(){if(Re){s(Re);return}i(A)},p.forEach(Ve=>{if(Pe)if(so(Ve,"X-TIMESTAMP-MAP=")){Pe=!1,Ve.slice(16).split(",").forEach(ht=>{so(ht,"LOCAL:")?M=ht.slice(6):so(ht,"MPEGTS:")&&(ve=parseInt(ht.slice(7)))});try{Fe=qo(M)/1e3}catch(ht){Re=ht}return}else Ve===""&&(Pe=!1);c.parse(Ve+`
`)}),c.flush()}const xs="stpp.ttml.im1t",Co=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,Mo=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,Ko={left:"start",center:"center",right:"end",start:"start",end:"end"};function zo(o,e,t,n){const r=He(new Uint8Array(o),["mdat"]);if(r.length===0){n(new Error("Could not parse IMSC1 mdat"));return}const i=r.map(c=>Ye(c)),s=Pn(e.baseTime,1,e.timescale);try{i.forEach(c=>t(Ho(c,s)))}catch(c){n(c)}}function Ho(o,e){const r=new DOMParser().parseFromString(o,"text/xml").getElementsByTagName("tt")[0];if(!r)throw new Error("Invalid ttml");const i={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},s=Object.keys(i).reduce((M,ve)=>(M[ve]=r.getAttribute(`ttp:${ve}`)||i[ve],M),{}),c=r.getAttribute("xml:space")!=="preserve",p=Ro(Bs(r,"styling","style")),A=Ro(Bs(r,"layout","region")),F=Bs(r,"body","[begin]");return[].map.call(F,M=>{const ve=jo(M,c);if(!ve||!M.hasAttribute("begin"))return null;const Fe=To(M.getAttribute("begin"),s),Re=To(M.getAttribute("dur"),s);let Pe=To(M.getAttribute("end"),s);if(Fe===null)throw Vo(M);if(Pe===null){if(Re===null)throw Vo(M);Pe=Fe+Re}const Ve=new $a(Fe-e,Pe-e,ve);Ve.id=wo(Ve.startTime,Ve.endTime,Ve.text);const ht=A[M.getAttribute("region")],zt=p[M.getAttribute("style")],jt=Wo(ht,zt,p),{textAlign:xn}=jt;if(xn){const Zt=Ko[xn];Zt&&(Ve.lineAlign=Zt),Ve.align=xn}return a(Ve,jt),Ve}).filter(M=>M!==null)}function Bs(o,e,t){const n=o.getElementsByTagName(e)[0];return n?[].slice.call(n.querySelectorAll(t)):[]}function Ro(o){return o.reduce((e,t)=>{const n=t.getAttribute("xml:id");return n&&(e[n]=t),e},{})}function jo(o,e){return[].slice.call(o.childNodes).reduce((t,n,r)=>{var i;return n.nodeName==="br"&&r?t+`
`:(i=n.childNodes)!=null&&i.length?jo(n,e):e?t+n.textContent.trim().replace(/\s+/g," "):t+n.textContent},"")}function Wo(o,e,t){const n="http://www.w3.org/ns/ttml#styling";let r=null;const i=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],s=o!=null&&o.hasAttribute("style")?o.getAttribute("style"):null;return s&&t.hasOwnProperty(s)&&(r=t[s]),i.reduce((c,p)=>{const A=uo(e,n,p)||uo(o,n,p)||uo(r,n,p);return A&&(c[p]=A),c},{})}function uo(o,e,t){return o&&o.hasAttributeNS(e,t)?o.getAttributeNS(e,t):null}function Vo(o){return new Error(`Could not parse ttml timestamp ${o}`)}function To(o,e){if(!o)return null;let t=ao(o);return t===null&&(Co.test(o)?t=Xo(o,e):Mo.test(o)&&(t=Go(o,e))),t}function Xo(o,e){const t=Co.exec(o),n=(t[4]|0)+(t[5]|0)/e.subFrameRate;return(t[1]|0)*3600+(t[2]|0)*60+(t[3]|0)+n/e.frameRate}function Go(o,e){const t=Mo.exec(o),n=Number(t[1]);switch(t[2]){case"h":return n*3600;case"m":return n*60;case"ms":return n*1e3;case"f":return n/e.frameRate;case"t":return n/e.tickRate}return n}class co{constructor(e){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=Do(),this.captionsProperties=void 0,this.hls=e,this.config=e.config,this.Cues=e.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},e.on(u.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(u.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.on(u.FRAG_LOADING,this.onFragLoading,this),e.on(u.FRAG_LOADED,this.onFragLoaded,this),e.on(u.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),e.on(u.FRAG_DECRYPTED,this.onFragDecrypted,this),e.on(u.INIT_PTS_FOUND,this.onInitPtsFound,this),e.on(u.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),e.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:e}=this;e.off(u.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(u.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.off(u.FRAG_LOADING,this.onFragLoading,this),e.off(u.FRAG_LOADED,this.onFragLoaded,this),e.off(u.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),e.off(u.FRAG_DECRYPTED,this.onFragDecrypted,this),e.off(u.INIT_PTS_FOUND,this.onInitPtsFound,this),e.off(u.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),e.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){if(this.config.enableCEA708Captions&&(!this.cea608Parser1||!this.cea608Parser2)){const e=new es(this,"textTrack1"),t=new es(this,"textTrack2"),n=new es(this,"textTrack3"),r=new es(this,"textTrack4");this.cea608Parser1=new $i(1,e,t),this.cea608Parser2=new $i(3,n,r)}}addCues(e,t,n,r,i){let s=!1;for(let c=i.length;c--;){const p=i[c],A=Zo(p[0],p[1],t,n);if(A>=0&&(p[0]=Math.min(p[0],t),p[1]=Math.max(p[1],n),s=!0,A/(n-t)>.5))return}if(s||i.push([t,n]),this.config.renderTextTracksNatively){const c=this.captionsTracks[e];this.Cues.newCue(c,t,n,r)}else{const c=this.Cues.newCue(null,t,n,r);this.hls.trigger(u.CUES_PARSED,{type:"captions",cues:c,track:e})}}onInitPtsFound(e,{frag:t,id:n,initPTS:r,timescale:i}){const{unparsedVttFrags:s}=this;n==="main"&&(this.initPTS[t.cc]={baseTime:r,timescale:i}),s.length&&(this.unparsedVttFrags=[],s.forEach(c=>{this.onFragLoaded(u.FRAG_LOADED,c)}))}getExistingTrack(e,t){const{media:n}=this;if(n)for(let r=0;r<n.textTracks.length;r++){const i=n.textTracks[r];if(ho(i,{name:e,lang:t,attrs:{}}))return i}return null}createCaptionsTrack(e){this.config.renderTextTracksNatively?this.createNativeTrack(e):this.createNonNativeTrack(e)}createNativeTrack(e){if(this.captionsTracks[e])return;const{captionsProperties:t,captionsTracks:n,media:r}=this,{label:i,languageCode:s}=t[e],c=this.getExistingTrack(i,s);if(c)n[e]=c,Ur(n[e]),Tr(n[e],r);else{const p=this.createTextTrack("captions",i,s);p&&(p[e]=!0,n[e]=p)}}createNonNativeTrack(e){if(this.nonNativeCaptionsTracks[e])return;const t=this.captionsProperties[e];if(!t)return;const n=t.label,r={_id:e,label:n,kind:"captions",default:t.media?!!t.media.default:!1,closedCaptions:t.media};this.nonNativeCaptionsTracks[e]=r,this.hls.trigger(u.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:[r]})}createTextTrack(e,t,n){const r=this.media;if(r)return r.addTextTrack(e,t,n)}onMediaAttaching(e,t){this.media=t.media,this._cleanTracks()}onMediaDetaching(){const{captionsTracks:e}=this;Object.keys(e).forEach(t=>{Ur(e[t]),delete e[t]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=Do(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:e}=this;if(!e)return;const t=e.textTracks;if(t)for(let n=0;n<t.length;n++)Ur(t[n])}onSubtitleTracksUpdated(e,t){const n=t.subtitleTracks||[],r=n.some(i=>i.textCodec===xs);if(this.config.enableWebVTT||r&&this.config.enableIMSC1){if(gn(this.tracks,n)){this.tracks=n;return}if(this.textTracks=[],this.tracks=n,this.config.renderTextTracksNatively){const s=this.media,c=s?jn(s.textTracks):null;if(this.tracks.forEach((p,A)=>{let F;if(c){let M=null;for(let ve=0;ve<c.length;ve++)if(c[ve]&&ho(c[ve],p)){M=c[ve],c[ve]=null;break}M&&(F=M)}if(F)Ur(F);else{const M=fo(p);F=this.createTextTrack(M,p.name,p.lang),F&&(F.mode="disabled")}F&&this.textTracks.push(F)}),c!=null&&c.length){const p=c.filter(A=>A!==null).map(A=>A.label);p.length&&b.warn(`Media element contains unused subtitle tracks: ${p.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const s=this.tracks.map(c=>({label:c.name,kind:c.type.toLowerCase(),default:c.default,subtitleTrack:c}));this.hls.trigger(u.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:s})}}}onManifestLoaded(e,t){this.config.enableCEA708Captions&&t.captions&&t.captions.forEach(n=>{const r=/(?:CC|SERVICE)([1-4])/.exec(n.instreamId);if(!r)return;const i=`textTrack${r[1]}`,s=this.captionsProperties[i];s&&(s.label=n.name,n.lang&&(s.languageCode=n.lang),s.media=n)})}closedCaptionsForLevel(e){const t=this.hls.levels[e.level];return t==null?void 0:t.attrs["CLOSED-CAPTIONS"]}onFragLoading(e,t){if(this.enabled&&t.frag.type===at.MAIN){var n,r;const{cea608Parser1:i,cea608Parser2:s,lastSn:c}=this,{cc:p,sn:A}=t.frag,F=(n=(r=t.part)==null?void 0:r.index)!=null?n:-1;i&&s&&(A!==c+1||A===c&&F!==this.lastPartIndex+1||p!==this.lastCc)&&(i.reset(),s.reset()),this.lastCc=p,this.lastSn=A,this.lastPartIndex=F}}onFragLoaded(e,t){const{frag:n,payload:r}=t;if(n.type===at.SUBTITLE)if(r.byteLength){const i=n.decryptdata,s="stats"in t;if(i==null||!i.encrypted||s){const c=this.tracks[n.level],p=this.vttCCs;p[n.cc]||(p[n.cc]={start:n.start,prevCC:this.prevCC,new:!0},this.prevCC=n.cc),c&&c.textCodec===xs?this._parseIMSC1(n,r):this._parseVTTs(t)}}else this.hls.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:n,error:new Error("Empty subtitle payload")})}_parseIMSC1(e,t){const n=this.hls;zo(t,this.initPTS[e.cc],r=>{this._appendCues(r,e.level),n.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:e})},r=>{b.log(`Failed to parse IMSC1: ${r}`),n.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:e,error:r})})}_parseVTTs(e){var t;const{frag:n,payload:r}=e,{initPTS:i,unparsedVttFrags:s}=this,c=i.length-1;if(!i[n.cc]&&c===-1){s.push(e);return}const p=this.hls,A=(t=n.initSegment)!=null&&t.data?Rt(n.initSegment.data,new Uint8Array(r)):r;lo(A,this.initPTS[n.cc],this.vttCCs,n.cc,n.start,F=>{this._appendCues(F,n.level),p.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:n})},F=>{const M=F.message==="Missing initPTS for VTT MPEGTS";M?s.push(e):this._fallbackToIMSC1(n,r),b.log(`Failed to parse VTT cue: ${F}`),!(M&&c>n.cc)&&p.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:n,error:F})})}_fallbackToIMSC1(e,t){const n=this.tracks[e.level];n.textCodec||zo(t,this.initPTS[e.cc],()=>{n.textCodec=xs,this._parseIMSC1(e,t)},()=>{n.textCodec="wvtt"})}_appendCues(e,t){const n=this.hls;if(this.config.renderTextTracksNatively){const r=this.textTracks[t];if(!r||r.mode==="disabled")return;e.forEach(i=>Pr(r,i))}else{const r=this.tracks[t];if(!r)return;const i=r.default?"default":"subtitles"+t;n.trigger(u.CUES_PARSED,{type:"subtitles",cues:e,track:i})}}onFragDecrypted(e,t){const{frag:n}=t;n.type===at.SUBTITLE&&this.onFragLoaded(u.FRAG_LOADED,t)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(e,t){this.initCea608Parsers();const{cea608Parser1:n,cea608Parser2:r}=this;if(!this.enabled||!n||!r)return;const{frag:i,samples:s}=t;if(!(i.type===at.MAIN&&this.closedCaptionsForLevel(i)==="NONE"))for(let c=0;c<s.length;c++){const p=s[c].bytes;if(p){const A=this.extractCea608Data(p);n.addData(s[c].pts,A[0]),r.addData(s[c].pts,A[1])}}}onBufferFlushing(e,{startOffset:t,endOffset:n,endOffsetSubtitles:r,type:i}){const{media:s}=this;if(!(!s||s.currentTime<n)){if(!i||i==="video"){const{captionsTracks:c}=this;Object.keys(c).forEach(p=>vr(c[p],t,n))}if(this.config.renderTextTracksNatively&&t===0&&r!==void 0){const{textTracks:c}=this;Object.keys(c).forEach(p=>vr(c[p],t,r))}}}extractCea608Data(e){const t=[[],[]],n=e[0]&31;let r=2;for(let i=0;i<n;i++){const s=e[r++],c=127&e[r++],p=127&e[r++];if(c===0&&p===0)continue;if((4&s)!==0){const F=3&s;(F===0||F===1)&&(t[F].push(c),t[F].push(p))}}return t}}function fo(o){return o.characteristics&&/transcribes-spoken-dialog/gi.test(o.characteristics)&&/describes-music-and-sound/gi.test(o.characteristics)?"captions":"subtitles"}function ho(o,e){return!!o&&o.kind===fo(e)&&rr(e,o)}function Zo(o,e,t,n){return Math.min(e,n)-Math.max(o,t)}function Do(){return{ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}}}class po{constructor(e){this.hls=void 0,this.autoLevelCapping=void 0,this.firstLevel=void 0,this.media=void 0,this.restrictedLevels=void 0,this.timer=void 0,this.clientRect=void 0,this.streamController=void 0,this.hls=e,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.firstLevel=-1,this.media=null,this.restrictedLevels=[],this.timer=void 0,this.clientRect=null,this.registerListeners()}setStreamController(e){this.streamController=e}destroy(){this.hls&&this.unregisterListener(),this.timer&&this.stopCapping(),this.media=null,this.clientRect=null,this.hls=this.streamController=null}registerListeners(){const{hls:e}=this;e.on(u.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),e.on(u.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(u.MANIFEST_PARSED,this.onManifestParsed,this),e.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(u.BUFFER_CODECS,this.onBufferCodecs,this),e.on(u.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListener(){const{hls:e}=this;e.off(u.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),e.off(u.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(u.MANIFEST_PARSED,this.onManifestParsed,this),e.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(u.BUFFER_CODECS,this.onBufferCodecs,this),e.off(u.MEDIA_DETACHING,this.onMediaDetaching,this)}onFpsDropLevelCapping(e,t){const n=this.hls.levels[t.droppedLevel];this.isLevelAllowed(n)&&this.restrictedLevels.push({bitrate:n.bitrate,height:n.height,width:n.width})}onMediaAttaching(e,t){this.media=t.media instanceof HTMLVideoElement?t.media:null,this.clientRect=null,this.timer&&this.hls.levels.length&&this.detectPlayerSize()}onManifestParsed(e,t){const n=this.hls;this.restrictedLevels=[],this.firstLevel=t.firstLevel,n.config.capLevelToPlayerSize&&t.video&&this.startCapping()}onLevelsUpdated(e,t){this.timer&&I(this.autoLevelCapping)&&this.detectPlayerSize()}onBufferCodecs(e,t){this.hls.config.capLevelToPlayerSize&&t.video&&this.startCapping()}onMediaDetaching(){this.stopCapping()}detectPlayerSize(){if(this.media){if(this.mediaHeight<=0||this.mediaWidth<=0){this.clientRect=null;return}const e=this.hls.levels;if(e.length){const t=this.hls,n=this.getMaxLevel(e.length-1);n!==this.autoLevelCapping&&b.log(`Setting autoLevelCapping to ${n}: ${e[n].height}p@${e[n].bitrate} for media ${this.mediaWidth}x${this.mediaHeight}`),t.autoLevelCapping=n,t.autoLevelCapping>this.autoLevelCapping&&this.streamController&&this.streamController.nextLevelSwitch(),this.autoLevelCapping=t.autoLevelCapping}}}getMaxLevel(e){const t=this.hls.levels;if(!t.length)return-1;const n=t.filter((r,i)=>this.isLevelAllowed(r)&&i<=e);return this.clientRect=null,po.getMaxLevelByMediaSize(n,this.mediaWidth,this.mediaHeight)}startCapping(){this.timer||(this.autoLevelCapping=Number.POSITIVE_INFINITY,self.clearInterval(this.timer),this.timer=self.setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize())}stopCapping(){this.restrictedLevels=[],this.firstLevel=-1,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.timer&&(self.clearInterval(this.timer),this.timer=void 0)}getDimensions(){if(this.clientRect)return this.clientRect;const e=this.media,t={width:0,height:0};if(e){const n=e.getBoundingClientRect();t.width=n.width,t.height=n.height,!t.width&&!t.height&&(t.width=n.right-n.left||e.width||0,t.height=n.bottom-n.top||e.height||0)}return this.clientRect=t,t}get mediaWidth(){return this.getDimensions().width*this.contentScaleFactor}get mediaHeight(){return this.getDimensions().height*this.contentScaleFactor}get contentScaleFactor(){let e=1;if(!this.hls.config.ignoreDevicePixelRatio)try{e=self.devicePixelRatio}catch(t){}return e}isLevelAllowed(e){return!this.restrictedLevels.some(n=>e.bitrate===n.bitrate&&e.width===n.width&&e.height===n.height)}static getMaxLevelByMediaSize(e,t,n){if(!(e!=null&&e.length))return-1;const r=(c,p)=>p?c.width!==p.width||c.height!==p.height:!0;let i=e.length-1;const s=Math.max(t,n);for(let c=0;c<e.length;c+=1){const p=e[c];if((p.width>=s||p.height>=s)&&r(p,e[c+1])){i=c;break}}return i}}class $o{constructor(e){this.hls=void 0,this.isVideoPlaybackQualityAvailable=!1,this.timer=void 0,this.media=null,this.lastTime=void 0,this.lastDroppedFrames=0,this.lastDecodedFrames=0,this.streamController=void 0,this.hls=e,this.registerListeners()}setStreamController(e){this.streamController=e}registerListeners(){this.hls.on(u.MEDIA_ATTACHING,this.onMediaAttaching,this)}unregisterListeners(){this.hls.off(u.MEDIA_ATTACHING,this.onMediaAttaching,this)}destroy(){this.timer&&clearInterval(this.timer),this.unregisterListeners(),this.isVideoPlaybackQualityAvailable=!1,this.media=null}onMediaAttaching(e,t){const n=this.hls.config;if(n.capLevelOnFPSDrop){const r=t.media instanceof self.HTMLVideoElement?t.media:null;this.media=r,r&&typeof r.getVideoPlaybackQuality=="function"&&(this.isVideoPlaybackQualityAvailable=!0),self.clearInterval(this.timer),this.timer=self.setInterval(this.checkFPSInterval.bind(this),n.fpsDroppedMonitoringPeriod)}}checkFPS(e,t,n){const r=performance.now();if(t){if(this.lastTime){const i=r-this.lastTime,s=n-this.lastDroppedFrames,c=t-this.lastDecodedFrames,p=1e3*s/i,A=this.hls;if(A.trigger(u.FPS_DROP,{currentDropped:s,currentDecoded:c,totalDroppedFrames:n}),p>0&&s>A.config.fpsDroppedMonitoringThreshold*c){let F=A.currentLevel;b.warn("drop FPS ratio greater than max allowed value for currentLevel: "+F),F>0&&(A.autoLevelCapping===-1||A.autoLevelCapping>=F)&&(F=F-1,A.trigger(u.FPS_DROP_LEVEL_CAPPING,{level:F,droppedLevel:A.currentLevel}),A.autoLevelCapping=F,this.streamController.nextLevelSwitch())}}this.lastTime=r,this.lastDroppedFrames=n,this.lastDecodedFrames=t}}checkFPSInterval(){const e=this.media;if(e)if(this.isVideoPlaybackQualityAvailable){const t=e.getVideoPlaybackQuality();this.checkFPS(e,t.totalVideoFrames,t.droppedVideoFrames)}else this.checkFPS(e,e.webkitDecodedFrameCount,e.webkitDroppedFrameCount)}}const mo="[eme]";class Is{constructor(e){this.hls=void 0,this.config=void 0,this.media=null,this.keyFormatPromise=null,this.keySystemAccessPromises={},this._requestLicenseFailureCount=0,this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},this.setMediaKeysQueue=Is.CDMCleanupPromise?[Is.CDMCleanupPromise]:[],this.debug=b.debug.bind(b,mo),this.log=b.log.bind(b,mo),this.warn=b.warn.bind(b,mo),this.error=b.error.bind(b,mo),this.onMediaEncrypted=t=>{const{initDataType:n,initData:r}=t,i=`"${t.type}" event: init data type: "${n}"`;if(this.debug(i),r!==null){if(!this.keyFormatPromise){let s=Object.keys(this.keySystemAccessPromises);s.length||(s=qt(this.config));const c=s.map(Nt).filter(p=>!!p);this.keyFormatPromise=this.getKeyFormatPromise(c)}this.keyFormatPromise.then(s=>{const c=ut(s);let p,A;if(n==="sinf"){if(c!==Ie.FAIRPLAY){this.warn(`Ignoring unexpected "${t.type}" event with init data type: "${n}" for selected key-system ${c}`);return}const Re=_t(new Uint8Array(r));try{const Pe=v(JSON.parse(Re).sinf),Ve=an(Pe);if(!Ve)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");p=Ve.subarray(8,24),A=Ie.FAIRPLAY}catch(Pe){this.warn(`${i} Failed to parse sinf: ${Pe}`);return}}else{if(c!==Ie.WIDEVINE&&c!==Ie.PLAYREADY){this.warn(`Ignoring unexpected "${t.type}" event with init data type: "${n}" for selected key-system ${c}`);return}const Re=Pt(r),Pe=Re.filter(ht=>!!ht.systemId&&it(ht.systemId)===c);Pe.length>1&&this.warn(`${i} Using first of ${Pe.length} pssh found for selected key-system ${c}`);const Ve=Pe[0];if(!Ve){Re.length===0||Re.some(ht=>!ht.systemId)?this.warn(`${i} contains incomplete or invalid pssh data`):this.log(`ignoring ${i} for ${Re.map(ht=>it(ht.systemId)).join(",")} pssh data in favor of playlist keys`);return}if(A=it(Ve.systemId),Ve.version===0&&Ve.data)if(A===Ie.WIDEVINE){const ht=Ve.data.length-22;p=Ve.data.subarray(ht,ht+16)}else A===Ie.PLAYREADY&&(p=ot(Ve.data))}if(!A||!p){this.log(`Unable to handle ${i} with key-system ${c}`);return}const F=yt.hexDump(p),{keyIdToKeySessionPromise:M,mediaKeySessions:ve}=this;let Fe=M[F];for(let Re=0;Re<ve.length;Re++){const Pe=ve[Re],Ve=Pe.decryptdata;if(!Ve.keyId)continue;const ht=yt.hexDump(Ve.keyId);if(F===ht||Ve.uri.replace(/-/g,"").indexOf(F)!==-1){if(Fe=M[ht],Ve.pssh)break;delete M[ht],Ve.pssh=new Uint8Array(r),Ve.keyId=p,Fe=M[F]=Fe.then(()=>this.generateRequestWithPreferredKeySession(Pe,n,r,"encrypted-event-key-match")),Fe.catch(zt=>this.handleError(zt));break}}if(!Fe){if(A!==c){this.log(`Ignoring "${i}" with ${A} init data for selected key-system ${c}`);return}Fe=M[F]=this.getKeySystemSelectionPromise([A]).then(({keySystem:Re,mediaKeys:Pe})=>{var Ve;this.throwIfDestroyed();const ht=new Ut("ISO-23001-7",F,(Ve=Nt(Re))!=null?Ve:"");return ht.pssh=new Uint8Array(r),ht.keyId=p,this.attemptSetMediaKeys(Re,Pe).then(()=>{this.throwIfDestroyed();const zt=this.createMediaKeySessionContext({decryptdata:ht,keySystem:Re,mediaKeys:Pe});return this.generateRequestWithPreferredKeySession(zt,n,r,"encrypted-event-no-match")})}),Fe.catch(Re=>this.handleError(Re))}})}},this.onWaitingForKey=t=>{this.log(`"${t.type}" event`)},this.hls=e,this.config=e.config,this.registerListeners()}destroy(){this.unregisterListeners(),this.onMediaDetached();const e=this.config;e.requestMediaKeySystemAccessFunc=null,e.licenseXhrSetup=e.licenseResponseCallback=void 0,e.drmSystems=e.drmSystemOptions={},this.hls=this.config=this.keyIdToKeySessionPromise=null,this.onMediaEncrypted=this.onWaitingForKey=null}registerListeners(){this.hls.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(u.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(u.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(u.MANIFEST_LOADED,this.onManifestLoaded,this)}unregisterListeners(){this.hls.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(u.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(u.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(u.MANIFEST_LOADED,this.onManifestLoaded,this)}getLicenseServerUrl(e){const{drmSystems:t,widevineLicenseUrl:n}=this.config,r=t[e];if(r)return r.licenseUrl;if(e===Ie.WIDEVINE&&n)return n}getLicenseServerUrlOrThrow(e){const t=this.getLicenseServerUrl(e);if(t===void 0)throw new Error(`no license server URL configured for key-system "${e}"`);return t}getServerCertificateUrl(e){const{drmSystems:t}=this.config,n=t[e];if(n)return n.serverCertificateUrl;this.log(`No Server Certificate in config.drmSystems["${e}"]`)}attemptKeySystemAccess(e){const t=this.hls.levels,n=(s,c,p)=>!!s&&p.indexOf(s)===c,r=t.map(s=>s.audioCodec).filter(n),i=t.map(s=>s.videoCodec).filter(n);return r.length+i.length===0&&i.push("avc1.42e01e"),new Promise((s,c)=>{const p=A=>{const F=A.shift();this.getMediaKeysPromise(F,r,i).then(M=>s({keySystem:F,mediaKeys:M})).catch(M=>{A.length?p(A):M instanceof ja?c(M):c(new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_NO_ACCESS,error:M,fatal:!0},M.message))})};p(e)})}requestMediaKeySystemAccess(e,t){const{requestMediaKeySystemAccessFunc:n}=this.config;if(typeof n!="function"){let r=`Configured requestMediaKeySystemAccess is not a function ${n}`;return nn===null&&self.location.protocol==="http:"&&(r=`navigator.requestMediaKeySystemAccess is not available over insecure protocol ${location.protocol}`),Promise.reject(new Error(r))}return n(e,t)}getMediaKeysPromise(e,t,n){const r=Dt(e,t,n,this.config.drmSystemOptions),i=this.keySystemAccessPromises[e];let s=i==null?void 0:i.keySystemAccess;if(!s){this.log(`Requesting encrypted media "${e}" key-system access with config: ${JSON.stringify(r)}`),s=this.requestMediaKeySystemAccess(e,r);const c=this.keySystemAccessPromises[e]={keySystemAccess:s};return s.catch(p=>{this.log(`Failed to obtain access to key-system "${e}": ${p}`)}),s.then(p=>{this.log(`Access for key-system "${p.keySystem}" obtained`);const A=this.fetchServerCertificate(e);return this.log(`Create media-keys for "${e}"`),c.mediaKeys=p.createMediaKeys().then(F=>(this.log(`Media-keys created for "${e}"`),A.then(M=>M?this.setMediaKeysServerCertificate(F,e,M):F))),c.mediaKeys.catch(F=>{this.error(`Failed to create media-keys for "${e}"}: ${F}`)}),c.mediaKeys})}return s.then(()=>i.mediaKeys)}createMediaKeySessionContext({decryptdata:e,keySystem:t,mediaKeys:n}){this.log(`Creating key-system session "${t}" keyId: ${yt.hexDump(e.keyId||[])}`);const r=n.createSession(),i={decryptdata:e,keySystem:t,mediaKeys:n,mediaKeysSession:r,keyStatus:"status-pending"};return this.mediaKeySessions.push(i),i}renewKeySession(e){const t=e.decryptdata;if(t.pssh){const n=this.createMediaKeySessionContext(e),r=this.getKeyIdString(t),i="cenc";this.keyIdToKeySessionPromise[r]=this.generateRequestWithPreferredKeySession(n,i,t.pssh,"expired")}else this.warn("Could not renew expired session. Missing pssh initData.");this.removeSession(e)}getKeyIdString(e){if(!e)throw new Error("Could not read keyId of undefined decryptdata");if(e.keyId===null)throw new Error("keyId is null");return yt.hexDump(e.keyId)}updateKeySession(e,t){var n;const r=e.mediaKeysSession;return this.log(`Updating key-session "${r.sessionId}" for keyID ${yt.hexDump(((n=e.decryptdata)==null?void 0:n.keyId)||[])}
} (data length: ${t&&t.byteLength})`),r.update(t)}selectKeySystemFormat(e){const t=Object.keys(e.levelkeys||{});return this.keyFormatPromise||(this.log(`Selecting key-system from fragment (sn: ${e.sn} ${e.type}: ${e.level}) key formats ${t.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(t)),this.keyFormatPromise}getKeyFormatPromise(e){return new Promise((t,n)=>{const r=qt(this.config),i=e.map(ut).filter(s=>!!s&&r.indexOf(s)!==-1);return this.getKeySystemSelectionPromise(i).then(({keySystem:s})=>{const c=Nt(s);c?t(c):n(new Error(`Unable to find format for key-system "${s}"`))}).catch(n)})}loadKey(e){const t=e.keyInfo.decryptdata,n=this.getKeyIdString(t),r=`(keyId: ${n} format: "${t.keyFormat}" method: ${t.method} uri: ${t.uri})`;this.log(`Starting session for key ${r}`);let i=this.keyIdToKeySessionPromise[n];return i||(i=this.keyIdToKeySessionPromise[n]=this.getKeySystemForKeyPromise(t).then(({keySystem:s,mediaKeys:c})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${e.frag.sn} ${e.frag.type}: ${e.frag.level} using key ${r}`),this.attemptSetMediaKeys(s,c).then(()=>{this.throwIfDestroyed();const p=this.createMediaKeySessionContext({keySystem:s,mediaKeys:c,decryptdata:t});return this.generateRequestWithPreferredKeySession(p,"cenc",t.pssh,"playlist-key")}))),i.catch(s=>this.handleError(s))),i}throwIfDestroyed(e="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(e){this.hls&&(this.error(e.message),e instanceof ja?this.hls.trigger(u.ERROR,e.data):this.hls.trigger(u.ERROR,{type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_NO_KEYS,error:e,fatal:!0}))}getKeySystemForKeyPromise(e){const t=this.getKeyIdString(e),n=this.keyIdToKeySessionPromise[t];if(!n){const r=ut(e.keyFormat),i=r?[r]:qt(this.config);return this.attemptKeySystemAccess(i)}return n}getKeySystemSelectionPromise(e){if(e.length||(e=qt(this.config)),e.length===0)throw new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${JSON.stringify({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(e)}attemptSetMediaKeys(e,t){const n=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${e}"`);const r=Promise.all(n).then(()=>{if(!this.media)throw new Error("Attempted to set mediaKeys without media element attached");return this.media.setMediaKeys(t)});return this.setMediaKeysQueue.push(r),r.then(()=>{this.log(`Media-keys set for "${e}"`),n.push(r),this.setMediaKeysQueue=this.setMediaKeysQueue.filter(i=>n.indexOf(i)===-1)})}generateRequestWithPreferredKeySession(e,t,n,r){var i,s;const c=(i=this.config.drmSystems)==null||(s=i[e.keySystem])==null?void 0:s.generateRequest;if(c)try{const Re=c.call(this.hls,t,n,e);if(!Re)throw new Error("Invalid response from configured generateRequest filter");t=Re.initDataType,n=e.decryptdata.pssh=Re.initData?new Uint8Array(Re.initData):null}catch(Re){var p;if(this.warn(Re.message),(p=this.hls)!=null&&p.config.debug)throw Re}if(n===null)return this.log(`Skipping key-session request for "${r}" (no initData)`),Promise.resolve(e);const A=this.getKeyIdString(e.decryptdata);this.log(`Generating key-session request for "${r}": ${A} (init data type: ${t} length: ${n?n.byteLength:null})`);const F=new Xt,M=e._onmessage=Re=>{const Pe=e.mediaKeysSession;if(!Pe){F.emit("error",new Error("invalid state"));return}const{messageType:Ve,message:ht}=Re;this.log(`"${Ve}" message event for session "${Pe.sessionId}" message size: ${ht.byteLength}`),Ve==="license-request"||Ve==="license-renewal"?this.renewLicense(e,ht).catch(zt=>{this.handleError(zt),F.emit("error",zt)}):Ve==="license-release"?e.keySystem===Ie.FAIRPLAY&&(this.updateKeySession(e,Le("acknowledged")),this.removeSession(e)):this.warn(`unhandled media key message type "${Ve}"`)},ve=e._onkeystatuseschange=Re=>{if(!e.mediaKeysSession){F.emit("error",new Error("invalid state"));return}this.onKeyStatusChange(e);const Ve=e.keyStatus;F.emit("keyStatus",Ve),Ve==="expired"&&(this.warn(`${e.keySystem} expired for key ${A}`),this.renewKeySession(e))};e.mediaKeysSession.addEventListener("message",M),e.mediaKeysSession.addEventListener("keystatuseschange",ve);const Fe=new Promise((Re,Pe)=>{F.on("error",Pe),F.on("keyStatus",Ve=>{Ve.startsWith("usable")?Re():Ve==="output-restricted"?Pe(new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):Ve==="internal-error"?Pe(new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},`key status changed to "${Ve}"`)):Ve==="expired"?Pe(new Error("key expired while generating request")):this.warn(`unhandled key status change "${Ve}"`)})});return e.mediaKeysSession.generateRequest(t,n).then(()=>{var Re;this.log(`Request generated for key-session "${(Re=e.mediaKeysSession)==null?void 0:Re.sessionId}" keyId: ${A}`)}).catch(Re=>{throw new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_NO_SESSION,error:Re,fatal:!1},`Error generating key-session request: ${Re}`)}).then(()=>Fe).catch(Re=>{throw F.removeAllListeners(),this.removeSession(e),Re}).then(()=>(F.removeAllListeners(),e))}onKeyStatusChange(e){e.mediaKeysSession.keyStatuses.forEach((t,n)=>{this.log(`key status change "${t}" for keyStatuses keyId: ${yt.hexDump("buffer"in n?new Uint8Array(n.buffer,n.byteOffset,n.byteLength):new Uint8Array(n))} session keyId: ${yt.hexDump(new Uint8Array(e.decryptdata.keyId||[]))} uri: ${e.decryptdata.uri}`),e.keyStatus=t})}fetchServerCertificate(e){const t=this.config,n=t.loader,r=new n(t),i=this.getServerCertificateUrl(e);return i?(this.log(`Fetching server certificate for "${e}"`),new Promise((s,c)=>{const p={responseType:"arraybuffer",url:i},A=t.certLoadPolicy.default,F={loadPolicy:A,timeout:A.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},M={onSuccess:(ve,Fe,Re,Pe)=>{s(ve.data)},onError:(ve,Fe,Re,Pe)=>{c(new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Re,response:$({url:p.url,data:void 0},ve)},`"${e}" certificate request failed (${i}). Status: ${ve.code} (${ve.text})`))},onTimeout:(ve,Fe,Re)=>{c(new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Re,response:{url:p.url,data:void 0}},`"${e}" certificate request timed out (${i})`))},onAbort:(ve,Fe,Re)=>{c(new Error("aborted"))}};r.load(p,F,M)})):Promise.resolve()}setMediaKeysServerCertificate(e,t,n){return new Promise((r,i)=>{e.setServerCertificate(n).then(s=>{this.log(`setServerCertificate ${s?"success":"not supported by CDM"} (${n==null?void 0:n.byteLength}) on "${t}"`),r(e)}).catch(s=>{i(new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:s,fatal:!0},s.message))})})}renewLicense(e,t){return this.requestLicense(e,new Uint8Array(t)).then(n=>this.updateKeySession(e,new Uint8Array(n)).catch(r=>{throw new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_SESSION_UPDATE_FAILED,error:r,fatal:!0},r.message)}))}unpackPlayReadyKeyMessage(e,t){const n=String.fromCharCode.apply(null,new Uint16Array(t.buffer));if(!n.includes("PlayReadyKeyMessage"))return e.setRequestHeader("Content-Type","text/xml; charset=utf-8"),t;const r=new DOMParser().parseFromString(n,"application/xml"),i=r.querySelectorAll("HttpHeader");if(i.length>0){let F;for(let M=0,ve=i.length;M<ve;M++){var s,c;F=i[M];const Fe=(s=F.querySelector("name"))==null?void 0:s.textContent,Re=(c=F.querySelector("value"))==null?void 0:c.textContent;Fe&&Re&&e.setRequestHeader(Fe,Re)}}const p=r.querySelector("Challenge"),A=p==null?void 0:p.textContent;if(!A)throw new Error("Cannot find <Challenge> in key message");return Le(atob(A))}setupLicenseXHR(e,t,n,r){const i=this.config.licenseXhrSetup;return i?Promise.resolve().then(()=>{if(!n.decryptdata)throw new Error("Key removed");return i.call(this.hls,e,t,n,r)}).catch(s=>{if(!n.decryptdata)throw s;return e.open("POST",t,!0),i.call(this.hls,e,t,n,r)}).then(s=>(e.readyState||e.open("POST",t,!0),{xhr:e,licenseChallenge:s||r})):(e.open("POST",t,!0),Promise.resolve({xhr:e,licenseChallenge:r}))}requestLicense(e,t){const n=this.config.keyLoadPolicy.default;return new Promise((r,i)=>{const s=this.getLicenseServerUrlOrThrow(e.keySystem);this.log(`Sending license request to URL: ${s}`);const c=new XMLHttpRequest;c.responseType="arraybuffer",c.onreadystatechange=()=>{if(!this.hls||!e.mediaKeysSession)return i(new Error("invalid state"));if(c.readyState===4)if(c.status===200){this._requestLicenseFailureCount=0;let p=c.response;this.log(`License received ${p instanceof ArrayBuffer?p.byteLength:p}`);const A=this.config.licenseResponseCallback;if(A)try{p=A.call(this.hls,c,s,e)}catch(F){this.error(F)}r(p)}else{const p=n.errorRetry,A=p?p.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>A||c.status>=400&&c.status<500)i(new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0,networkDetails:c,response:{url:s,data:void 0,code:c.status,text:c.statusText}},`License Request XHR failed (${s}). Status: ${c.status} (${c.statusText})`));else{const F=A-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${F} attempts left`),this.requestLicense(e,t).then(r,i)}}},e.licenseXhr&&e.licenseXhr.readyState!==XMLHttpRequest.DONE&&e.licenseXhr.abort(),e.licenseXhr=c,this.setupLicenseXHR(c,s,e,t).then(({xhr:p,licenseChallenge:A})=>{e.keySystem==Ie.PLAYREADY&&(A=this.unpackPlayReadyKeyMessage(p,A)),p.send(A)})})}onMediaAttached(e,t){if(!this.config.emeEnabled)return;const n=t.media;this.media=n,n.removeEventListener("encrypted",this.onMediaEncrypted),n.removeEventListener("waitingforkey",this.onWaitingForKey),n.addEventListener("encrypted",this.onMediaEncrypted),n.addEventListener("waitingforkey",this.onWaitingForKey)}onMediaDetached(){const e=this.media,t=this.mediaKeySessions;e&&(e.removeEventListener("encrypted",this.onMediaEncrypted),e.removeEventListener("waitingforkey",this.onWaitingForKey),this.media=null),this._requestLicenseFailureCount=0,this.setMediaKeysQueue=[],this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},Ut.clearKeyUriToKeyIdMap();const n=t.length;Is.CDMCleanupPromise=Promise.all(t.map(r=>this.removeSession(r)).concat(e==null?void 0:e.setMediaKeys(null).catch(r=>{this.log(`Could not clear media keys: ${r}`)}))).then(()=>{n&&(this.log("finished closing key sessions and clearing media keys"),t.length=0)}).catch(r=>{this.log(`Could not close sessions and clear media keys: ${r}`)})}onManifestLoading(){this.keyFormatPromise=null}onManifestLoaded(e,{sessionKeys:t}){if(!(!t||!this.config.emeEnabled)&&!this.keyFormatPromise){const n=t.reduce((r,i)=>(r.indexOf(i.keyFormat)===-1&&r.push(i.keyFormat),r),[]);this.log(`Selecting key-system from session-keys ${n.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(n)}}removeSession(e){const{mediaKeysSession:t,licenseXhr:n}=e;if(t){this.log(`Remove licenses and keys and close session ${t.sessionId}`),e._onmessage&&(t.removeEventListener("message",e._onmessage),e._onmessage=void 0),e._onkeystatuseschange&&(t.removeEventListener("keystatuseschange",e._onkeystatuseschange),e._onkeystatuseschange=void 0),n&&n.readyState!==XMLHttpRequest.DONE&&n.abort(),e.mediaKeysSession=e.decryptdata=e.licenseXhr=void 0;const r=this.mediaKeySessions.indexOf(e);return r>-1&&this.mediaKeySessions.splice(r,1),t.remove().catch(i=>{this.log(`Could not remove session: ${i}`)}).then(()=>t.close()).catch(i=>{this.log(`Could not close session: ${i}`)})}}}Is.CDMCleanupPromise=void 0;class ja extends Error{constructor(e,t){super(t),this.data=void 0,e.error||(e.error=new Error(t)),this.data=e,e.err=e.error}}var Fa;(function(o){o.MANIFEST="m",o.AUDIO="a",o.VIDEO="v",o.MUXED="av",o.INIT="i",o.CAPTION="c",o.TIMED_TEXT="tt",o.KEY="k",o.OTHER="o"})(Fa||(Fa={}));var $s;(function(o){o.DASH="d",o.HLS="h",o.SMOOTH="s",o.OTHER="o"})($s||($s={}));var As;(function(o){o.OBJECT="CMCD-Object",o.REQUEST="CMCD-Request",o.SESSION="CMCD-Session",o.STATUS="CMCD-Status"})(As||(As={}));const el={[As.OBJECT]:["br","d","ot","tb"],[As.REQUEST]:["bl","dl","mtp","nor","nrr","su"],[As.SESSION]:["cid","pr","sf","sid","st","v"],[As.STATUS]:["bs","rtp"]};class fi{constructor(e,t){this.value=void 0,this.params=void 0,Array.isArray(e)&&(e=e.map(n=>n instanceof fi?n:new fi(n))),this.value=e,this.params=t}}class zi{constructor(e){this.description=void 0,this.description=e}}const Ya="Dict";function Es(o){return Array.isArray(o)?JSON.stringify(o):o instanceof Map?"Map{}":o instanceof Set?"Set{}":typeof o=="object"?JSON.stringify(o):String(o)}function _s(o,e,t,n){return new Error(`failed to ${o} "${Es(e)}" as ${t}`,{cause:n})}const Fo="Bare Item",Io="Boolean",ko="Byte Sequence",Oo="Decimal",Lo="Integer";function _l(o){return o<-999999999999999||999999999999999<o}const wl=/[\x00-\x1f\x7f]+/,Cl="Token",Rl="Key";function ws(o,e,t){return _s("serialize",o,e,t)}function Tl(o){if(typeof o!="boolean")throw ws(o,Io);return o?"?1":"?0"}function Dl(o){return btoa(String.fromCharCode(...o))}function Fl(o){if(ArrayBuffer.isView(o)===!1)throw ws(o,ko);return`:${Dl(o)}:`}function ol(o){if(_l(o))throw ws(o,Lo);return o.toString()}function Il(o){return`@${ol(o.getTime()/1e3)}`}function ll(o,e){if(o<0)return-ll(-o,e);const t=Math.pow(10,e);if(Math.abs(o*t%1-.5)<Number.EPSILON){const r=Math.floor(o*t);return(r%2===0?r:r+1)/t}else return Math.round(o*t)/t}function kl(o){const e=ll(o,3);if(Math.floor(Math.abs(e)).toString().length>12)throw ws(o,Oo);const t=e.toString();return t.includes(".")?t:`${t}.0`}const Ol="String";function Ll(o){if(wl.test(o))throw ws(o,Ol);return`"${o.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function Nl(o){return o.description||o.toString().slice(7,-1)}function ul(o){const e=Nl(o);if(/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(e)===!1)throw ws(e,Cl);return e}function tl(o){switch(typeof o){case"number":if(!I(o))throw ws(o,Fo);return Number.isInteger(o)?ol(o):kl(o);case"string":return Ll(o);case"symbol":return ul(o);case"boolean":return Tl(o);case"object":if(o instanceof Date)return Il(o);if(o instanceof Uint8Array)return Fl(o);if(o instanceof zi)return ul(o);default:throw ws(o,Fo)}}function nl(o){if(/^[a-z*][a-z0-9\-_.*]*$/.test(o)===!1)throw ws(o,Rl);return o}function rl(o){return o==null?"":Object.entries(o).map(([e,t])=>t===!0?`;${nl(e)}`:`;${nl(e)}=${tl(t)}`).join("")}function cl(o){return o instanceof fi?`${tl(o.value)}${rl(o.params)}`:tl(o)}function Pl(o){return`(${o.value.map(cl).join(" ")})${rl(o.params)}`}function Ul(o,e={whitespace:!0}){if(typeof o!="object")throw ws(o,Ya);const t=o instanceof Map?o.entries():Object.entries(o),n=e!=null&&e.whitespace?" ":"";return Array.from(t).map(([r,i])=>{i instanceof fi||(i=new fi(i));let s=nl(r);return i.value===!0?s+=rl(i.params):(s+="=",Array.isArray(i.value)?s+=Pl(i):s+=cl(i)),s}).join(`,${n}`)}function Bl(o,e){return Ul(o,e)}const Ml=o=>o==="ot"||o==="sf"||o==="st",Kl=o=>typeof o=="number"?I(o):o!=null&&o!==""&&o!==!1;function zl(o,e){const t=new URL(o),n=new URL(e);if(t.origin!==n.origin)return o;const r=t.pathname.split("/").slice(1),i=n.pathname.split("/").slice(1,-1);for(;r[0]===i[0];)r.shift(),i.shift();for(;i.length;)i.shift(),r.unshift("..");return r.join("/")}function Hl(){try{return crypto.randomUUID()}catch(o){try{const e=URL.createObjectURL(new Blob),t=e.toString();return URL.revokeObjectURL(e),t.slice(t.lastIndexOf("/")+1)}catch(e){let t=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,r=>{const i=(t+Math.random()*16)%16|0;return t=Math.floor(t/16),(r=="x"?i:i&3|8).toString(16)})}}}const Yo=o=>Math.round(o),jl=(o,e)=>(e!=null&&e.baseUrl&&(o=zl(o,e.baseUrl)),encodeURIComponent(o)),Qo=o=>Yo(o/100)*100,Wl={br:Yo,d:Yo,bl:Qo,dl:Qo,mtp:Qo,nor:jl,rtp:Qo,tb:Yo};function Vl(o,e){const t={};if(o==null||typeof o!="object")return t;const n=Object.keys(o).sort(),r=a({},Wl,e==null?void 0:e.formatters),i=e==null?void 0:e.filter;return n.forEach(s=>{if(i!=null&&i(s))return;let c=o[s];const p=r[s];p&&(c=p(c,e)),!(s==="v"&&c===1)&&(s=="pr"&&c===1||Kl(c)&&(Ml(s)&&typeof c=="string"&&(c=new zi(c)),t[s]=c))}),t}function dl(o,e={}){return o?Bl(Vl(o,e),a({whitespace:!1},e)):""}function Gl(o,e={}){if(!o)return{};const t=Object.entries(o),n=Object.entries(el).concat(Object.entries((e==null?void 0:e.customHeaderMap)||{})),r=t.reduce((i,s)=>{var c,p;const[A,F]=s,M=((c=n.find(ve=>ve[1].includes(A)))==null?void 0:c[0])||As.REQUEST;return(p=i[M])!=null||(i[M]={}),i[M][A]=F,i},{});return Object.entries(r).reduce((i,[s,c])=>(i[s]=dl(c,e),i),{})}function Zl(o,e,t){return a(o,Gl(e,t))}const $l="CMCD";function Yl(o,e={}){if(!o)return"";const t=dl(o,e);return`${$l}=${encodeURIComponent(t)}`}const fl=/CMCD=[^&#]+/;function Ql(o,e,t){const n=Yl(e,t);if(!n)return o;if(fl.test(o))return o.replace(fl,n);const r=o.includes("?")?"&":"?";return`${o}${r}${n}`}class Jl{constructor(e){this.hls=void 0,this.config=void 0,this.media=void 0,this.sid=void 0,this.cid=void 0,this.useHeaders=!1,this.includeKeys=void 0,this.initialized=!1,this.starved=!1,this.buffering=!0,this.audioBuffer=void 0,this.videoBuffer=void 0,this.onWaiting=()=>{this.initialized&&(this.starved=!0),this.buffering=!0},this.onPlaying=()=>{this.initialized||(this.initialized=!0),this.buffering=!1},this.applyPlaylistData=r=>{try{this.apply(r,{ot:Fa.MANIFEST,su:!this.initialized})}catch(i){b.warn("Could not generate manifest CMCD data.",i)}},this.applyFragmentData=r=>{try{const i=r.frag,s=this.hls.levels[i.level],c=this.getObjectType(i),p={d:i.duration*1e3,ot:c};(c===Fa.VIDEO||c===Fa.AUDIO||c==Fa.MUXED)&&(p.br=s.bitrate/1e3,p.tb=this.getTopBandwidth(c)/1e3,p.bl=this.getBufferLength(c)),this.apply(r,p)}catch(i){b.warn("Could not generate segment CMCD data.",i)}},this.hls=e;const t=this.config=e.config,{cmcd:n}=t;n!=null&&(t.pLoader=this.createPlaylistLoader(),t.fLoader=this.createFragmentLoader(),this.sid=n.sessionId||Hl(),this.cid=n.contentId,this.useHeaders=n.useHeaders===!0,this.includeKeys=n.includeKeys,this.registerListeners())}registerListeners(){const e=this.hls;e.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(u.MEDIA_DETACHED,this.onMediaDetached,this),e.on(u.BUFFER_CREATED,this.onBufferCreated,this)}unregisterListeners(){const e=this.hls;e.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(u.MEDIA_DETACHED,this.onMediaDetached,this),e.off(u.BUFFER_CREATED,this.onBufferCreated,this)}destroy(){this.unregisterListeners(),this.onMediaDetached(),this.hls=this.config=this.audioBuffer=this.videoBuffer=null,this.onWaiting=this.onPlaying=null}onMediaAttached(e,t){this.media=t.media,this.media.addEventListener("waiting",this.onWaiting),this.media.addEventListener("playing",this.onPlaying)}onMediaDetached(){this.media&&(this.media.removeEventListener("waiting",this.onWaiting),this.media.removeEventListener("playing",this.onPlaying),this.media=null)}onBufferCreated(e,t){var n,r;this.audioBuffer=(n=t.tracks.audio)==null?void 0:n.buffer,this.videoBuffer=(r=t.tracks.video)==null?void 0:r.buffer}createData(){var e;return{v:1,sf:$s.HLS,sid:this.sid,cid:this.cid,pr:(e=this.media)==null?void 0:e.playbackRate,mtp:this.hls.bandwidthEstimate/1e3}}apply(e,t={}){a(t,this.createData());const n=t.ot===Fa.INIT||t.ot===Fa.VIDEO||t.ot===Fa.MUXED;this.starved&&n&&(t.bs=!0,t.su=!0,this.starved=!1),t.su==null&&(t.su=this.buffering);const{includeKeys:r}=this;r&&(t=Object.keys(t).reduce((i,s)=>(r.includes(s)&&(i[s]=t[s]),i),{})),this.useHeaders?(e.headers||(e.headers={}),Zl(e.headers,t)):e.url=Ql(e.url,t)}getObjectType(e){const{type:t}=e;if(t==="subtitle")return Fa.TIMED_TEXT;if(e.sn==="initSegment")return Fa.INIT;if(t==="audio")return Fa.AUDIO;if(t==="main")return this.hls.audioTracks.length?Fa.VIDEO:Fa.MUXED}getTopBandwidth(e){let t=0,n;const r=this.hls;if(e===Fa.AUDIO)n=r.audioTracks;else{const i=r.maxAutoLevel,s=i>-1?i+1:r.levels.length;n=r.levels.slice(0,s)}for(const i of n)i.bitrate>t&&(t=i.bitrate);return t>0?t:NaN}getBufferLength(e){const t=this.hls.media,n=e===Fa.AUDIO?this.audioBuffer:this.videoBuffer;return!n||!t?NaN:_i.bufferInfo(n,t.currentTime,this.config.maxBufferHole).len*1e3}createPlaylistLoader(){const{pLoader:e}=this.config,t=this.applyPlaylistData,n=e||this.config.loader;return class{constructor(i){this.loader=void 0,this.loader=new n(i)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(i,s,c){t(i),this.loader.load(i,s,c)}}}createFragmentLoader(){const{fLoader:e}=this.config,t=this.applyFragmentData,n=e||this.config.loader;return class{constructor(i){this.loader=void 0,this.loader=new n(i)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(i,s,c){t(i),this.loader.load(i,s,c)}}}}const ql=3e5;class Xl{constructor(e){this.hls=void 0,this.log=void 0,this.loader=null,this.uri=null,this.pathwayId=".",this.pathwayPriority=null,this.timeToLoad=300,this.reloadTimer=-1,this.updated=0,this.started=!1,this.enabled=!0,this.levels=null,this.audioTracks=null,this.subtitleTracks=null,this.penalizedPathways={},this.hls=e,this.log=b.log.bind(b,"[content-steering]:"),this.registerListeners()}registerListeners(){const e=this.hls;e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(u.MANIFEST_PARSED,this.onManifestParsed,this),e.on(u.ERROR,this.onError,this)}unregisterListeners(){const e=this.hls;e&&(e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(u.MANIFEST_PARSED,this.onManifestParsed,this),e.off(u.ERROR,this.onError,this))}startLoad(){if(this.started=!0,this.clearTimeout(),this.enabled&&this.uri){if(this.updated){const e=this.timeToLoad*1e3-(performance.now()-this.updated);if(e>0){this.scheduleRefresh(this.uri,e);return}}this.loadSteeringManifest(this.uri)}}stopLoad(){this.started=!1,this.loader&&(this.loader.destroy(),this.loader=null),this.clearTimeout()}clearTimeout(){this.reloadTimer!==-1&&(self.clearTimeout(this.reloadTimer),this.reloadTimer=-1)}destroy(){this.unregisterListeners(),this.stopLoad(),this.hls=null,this.levels=this.audioTracks=this.subtitleTracks=null}removeLevel(e){const t=this.levels;t&&(this.levels=t.filter(n=>n!==e))}onManifestLoading(){this.stopLoad(),this.enabled=!0,this.timeToLoad=300,this.updated=0,this.uri=null,this.pathwayId=".",this.levels=this.audioTracks=this.subtitleTracks=null}onManifestLoaded(e,t){const{contentSteering:n}=t;n!==null&&(this.pathwayId=n.pathwayId,this.uri=n.uri,this.started&&this.startLoad())}onManifestParsed(e,t){this.audioTracks=t.audioTracks,this.subtitleTracks=t.subtitleTracks}onError(e,t){const{errorAction:n}=t;if((n==null?void 0:n.action)===sr.SendAlternateToPenaltyBox&&n.flags===Yr.MoveAllAlternatesMatchingHost){const r=this.levels;let i=this.pathwayPriority,s=this.pathwayId;if(t.context){const{groupId:c,pathwayId:p,type:A}=t.context;c&&r?s=this.getPathwayForGroupId(c,A,s):p&&(s=p)}s in this.penalizedPathways||(this.penalizedPathways[s]=performance.now()),!i&&r&&(i=r.reduce((c,p)=>(c.indexOf(p.pathwayId)===-1&&c.push(p.pathwayId),c),[])),i&&i.length>1&&(this.updatePathwayPriority(i),n.resolved=this.pathwayId!==s),n.resolved||b.warn(`Could not resolve ${t.details} ("${t.error.message}") with content-steering for Pathway: ${s} levels: ${r&&r.length} priorities: ${JSON.stringify(i)} penalized: ${JSON.stringify(this.penalizedPathways)}`)}}filterParsedLevels(e){this.levels=e;let t=this.getLevelsForPathway(this.pathwayId);if(t.length===0){const n=e[0].pathwayId;this.log(`No levels found in Pathway ${this.pathwayId}. Setting initial Pathway to "${n}"`),t=this.getLevelsForPathway(n),this.pathwayId=n}return t.length!==e.length&&this.log(`Found ${t.length}/${e.length} levels in Pathway "${this.pathwayId}"`),t}getLevelsForPathway(e){return this.levels===null?[]:this.levels.filter(t=>e===t.pathwayId)}updatePathwayPriority(e){this.pathwayPriority=e;let t;const n=this.penalizedPathways,r=performance.now();Object.keys(n).forEach(i=>{r-n[i]>ql&&delete n[i]});for(let i=0;i<e.length;i++){const s=e[i];if(s in n)continue;if(s===this.pathwayId)return;const c=this.hls.nextLoadLevel,p=this.hls.levels[c];if(t=this.getLevelsForPathway(s),t.length>0){this.log(`Setting Pathway to "${s}"`),this.pathwayId=s,cr(t),this.hls.trigger(u.LEVELS_UPDATED,{levels:t});const A=this.hls.levels[c];p&&A&&this.levels&&(A.attrs["STABLE-VARIANT-ID"]!==p.attrs["STABLE-VARIANT-ID"]&&A.bitrate!==p.bitrate&&this.log(`Unstable Pathways change from bitrate ${p.bitrate} to ${A.bitrate}`),this.hls.nextLoadLevel=c);break}}}getPathwayForGroupId(e,t,n){const r=this.getLevelsForPathway(n).concat(this.levels||[]);for(let i=0;i<r.length;i++)if(t===Cn.AUDIO_TRACK&&r[i].hasAudioGroup(e)||t===Cn.SUBTITLE_TRACK&&r[i].hasSubtitleGroup(e))return r[i].pathwayId;return n}clonePathways(e){const t=this.levels;if(!t)return;const n={},r={};e.forEach(i=>{const{ID:s,"BASE-ID":c,"URI-REPLACEMENT":p}=i;if(t.some(F=>F.pathwayId===s))return;const A=this.getLevelsForPathway(c).map(F=>{const M=new j(F.attrs);M["PATHWAY-ID"]=s;const ve=M.AUDIO&&`${M.AUDIO}_clone_${s}`,Fe=M.SUBTITLES&&`${M.SUBTITLES}_clone_${s}`;ve&&(n[M.AUDIO]=ve,M.AUDIO=ve),Fe&&(r[M.SUBTITLES]=Fe,M.SUBTITLES=Fe);const Re=pl(F.uri,M["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",p),Pe=new Ci({attrs:M,audioCodec:F.audioCodec,bitrate:F.bitrate,height:F.height,name:F.name,url:Re,videoCodec:F.videoCodec,width:F.width});if(F.audioGroups)for(let Ve=1;Ve<F.audioGroups.length;Ve++)Pe.addGroupId("audio",`${F.audioGroups[Ve]}_clone_${s}`);if(F.subtitleGroups)for(let Ve=1;Ve<F.subtitleGroups.length;Ve++)Pe.addGroupId("text",`${F.subtitleGroups[Ve]}_clone_${s}`);return Pe});t.push(...A),hl(this.audioTracks,n,p,s),hl(this.subtitleTracks,r,p,s)})}loadSteeringManifest(e){const t=this.hls.config,n=t.loader;this.loader&&this.loader.destroy(),this.loader=new n(t);let r;try{r=new self.URL(e)}catch(F){this.enabled=!1,this.log(`Failed to parse Steering Manifest URI: ${e}`);return}if(r.protocol!=="data:"){const F=(this.hls.bandwidthEstimate||t.abrEwmaDefaultEstimate)|0;r.searchParams.set("_HLS_pathway",this.pathwayId),r.searchParams.set("_HLS_throughput",""+F)}const i={responseType:"json",url:r.href},s=t.steeringManifestLoadPolicy.default,c=s.errorRetry||s.timeoutRetry||{},p={loadPolicy:s,timeout:s.maxLoadTimeMs,maxRetry:c.maxNumRetry||0,retryDelay:c.retryDelayMs||0,maxRetryDelay:c.maxRetryDelayMs||0},A={onSuccess:(F,M,ve,Fe)=>{this.log(`Loaded steering manifest: "${r}"`);const Re=F.data;if(Re.VERSION!==1){this.log(`Steering VERSION ${Re.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=Re.TTL;const{"RELOAD-URI":Pe,"PATHWAY-CLONES":Ve,"PATHWAY-PRIORITY":ht}=Re;if(Pe)try{this.uri=new self.URL(Pe,r).href}catch(jt){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${Pe}`);return}this.scheduleRefresh(this.uri||ve.url),Ve&&this.clonePathways(Ve);const zt={steeringManifest:Re,url:r.toString()};this.hls.trigger(u.STEERING_MANIFEST_LOADED,zt),ht&&this.updatePathwayPriority(ht)},onError:(F,M,ve,Fe)=>{if(this.log(`Error loading steering manifest: ${F.code} ${F.text} (${M.url})`),this.stopLoad(),F.code===410){this.enabled=!1,this.log(`Steering manifest ${M.url} no longer available`);return}let Re=this.timeToLoad*1e3;if(F.code===429){const Pe=this.loader;if(typeof(Pe==null?void 0:Pe.getResponseHeader)=="function"){const Ve=Pe.getResponseHeader("Retry-After");Ve&&(Re=parseFloat(Ve)*1e3)}this.log(`Steering manifest ${M.url} rate limited`);return}this.scheduleRefresh(this.uri||M.url,Re)},onTimeout:(F,M,ve)=>{this.log(`Timeout loading steering manifest (${M.url})`),this.scheduleRefresh(this.uri||M.url)}};this.log(`Requesting steering manifest: ${r}`),this.loader.load(i,p,A)}scheduleRefresh(e,t=this.timeToLoad*1e3){this.clearTimeout(),this.reloadTimer=self.setTimeout(()=>{var n;const r=(n=this.hls)==null?void 0:n.media;if(r&&!r.ended){this.loadSteeringManifest(e);return}this.scheduleRefresh(e,this.timeToLoad*1e3)},t)}}function hl(o,e,t,n){o&&Object.keys(e).forEach(r=>{const i=o.filter(s=>s.groupId===r).map(s=>{const c=a({},s);return c.details=void 0,c.attrs=new j(c.attrs),c.url=c.attrs.URI=pl(s.url,s.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",t),c.groupId=c.attrs["GROUP-ID"]=e[r],c.attrs["PATHWAY-ID"]=n,c});o.push(...i)})}function pl(o,e,t,n){const{HOST:r,PARAMS:i,[t]:s}=n;let c;e&&(c=s==null?void 0:s[e],c&&(o=c));const p=new self.URL(o);return r&&!c&&(p.host=r),i&&Object.keys(i).sort().forEach(A=>{A&&p.searchParams.set(A,i[A])}),p.href}const eu=/^age:\s*[\d.]+\s*$/im;class ml{constructor(e){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=e&&e.xhrSetup||null,this.stats=new ae,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const e=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),e&&(e.onreadystatechange=null,e.onprogress=null,e.readyState!==4&&(this.stats.aborted=!0,e.abort()))}abort(){var e;this.abortInternal(),(e=this.callbacks)!=null&&e.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(e,t,n){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=e,this.config=t,this.callbacks=n,this.loadInternal()}loadInternal(){const{config:e,context:t}=this;if(!e||!t)return;const n=this.loader=new self.XMLHttpRequest,r=this.stats;r.loading.first=0,r.loaded=0,r.aborted=!1;const i=this.xhrSetup;i?Promise.resolve().then(()=>{if(!(this.loader!==n||this.stats.aborted))return i(n,t.url)}).catch(s=>{if(!(this.loader!==n||this.stats.aborted))return n.open("GET",t.url,!0),i(n,t.url)}).then(()=>{this.loader!==n||this.stats.aborted||this.openAndSendXhr(n,t,e)}).catch(s=>{this.callbacks.onError({code:n.status,text:s.message},t,n,r)}):this.openAndSendXhr(n,t,e)}openAndSendXhr(e,t,n){e.readyState||e.open("GET",t.url,!0);const r=t.headers,{maxTimeToFirstByteMs:i,maxLoadTimeMs:s}=n.loadPolicy;if(r)for(const c in r)e.setRequestHeader(c,r[c]);t.rangeEnd&&e.setRequestHeader("Range","bytes="+t.rangeStart+"-"+(t.rangeEnd-1)),e.onreadystatechange=this.readystatechange.bind(this),e.onprogress=this.loadprogress.bind(this),e.responseType=t.responseType,self.clearTimeout(this.requestTimeout),n.timeout=i&&I(i)?i:s,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),n.timeout),e.send()}readystatechange(){const{context:e,loader:t,stats:n}=this;if(!e||!t)return;const r=t.readyState,i=this.config;if(!n.aborted&&r>=2&&(n.loading.first===0&&(n.loading.first=Math.max(self.performance.now(),n.loading.start),i.timeout!==i.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),i.timeout=i.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),i.loadPolicy.maxLoadTimeMs-(n.loading.first-n.loading.start)))),r===4)){self.clearTimeout(this.requestTimeout),t.onreadystatechange=null,t.onprogress=null;const s=t.status,c=t.responseType==="text"?t.responseText:null;if(s>=200&&s<300){const M=c!=null?c:t.response;if(M!=null){n.loading.end=Math.max(self.performance.now(),n.loading.first);const ve=t.responseType==="arraybuffer"?M.byteLength:M.length;if(n.loaded=n.total=ve,n.bwEstimate=n.total*8e3/(n.loading.end-n.loading.first),!this.callbacks)return;const Fe=this.callbacks.onProgress;if(Fe&&Fe(n,e,M,t),!this.callbacks)return;const Re={url:t.responseURL,data:M,code:s};this.callbacks.onSuccess(Re,n,e,t);return}}const p=i.loadPolicy.errorRetry,A=n.retry,F={url:e.url,data:void 0,code:s};yi(p,A,!1,F)?this.retry(p):(b.error(`${s} while loading ${e.url}`),this.callbacks.onError({code:s,text:t.statusText},e,t,n))}}loadtimeout(){if(!this.config)return;const e=this.config.loadPolicy.timeoutRetry,t=this.stats.retry;if(yi(e,t,!0))this.retry(e);else{var n;b.warn(`timeout while loading ${(n=this.context)==null?void 0:n.url}`);const r=this.callbacks;r&&(this.abortInternal(),r.onTimeout(this.stats,this.context,this.loader))}}retry(e){const{context:t,stats:n}=this;this.retryDelay=$r(e,n.retry),n.retry++,b.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${t==null?void 0:t.url}, retrying ${n.retry}/${e.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(e){const t=this.stats;t.loaded=e.loaded,e.lengthComputable&&(t.total=e.total)}getCacheAge(){let e=null;if(this.loader&&eu.test(this.loader.getAllResponseHeaders())){const t=this.loader.getResponseHeader("age");e=t?parseFloat(t):null}return e}getResponseHeader(e){return this.loader&&new RegExp(`^${e}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(e):null}}function tu(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(o){}return!1}const nu=/(\d+)-(\d+)\/(\d+)/;class gl{constructor(e){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=e.fetchSetup||su,this.controller=new self.AbortController,this.stats=new ae}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var e;this.abortInternal(),(e=this.callbacks)!=null&&e.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(e,t,n){const r=this.stats;if(r.loading.start)throw new Error("Loader can only be used once.");r.loading.start=self.performance.now();const i=ru(e,this.controller.signal),s=n.onProgress,c=e.responseType==="arraybuffer",p=c?"byteLength":"length",{maxTimeToFirstByteMs:A,maxLoadTimeMs:F}=t.loadPolicy;this.context=e,this.config=t,this.callbacks=n,this.request=this.fetchSetup(e,i),self.clearTimeout(this.requestTimeout),t.timeout=A&&I(A)?A:F,this.requestTimeout=self.setTimeout(()=>{this.abortInternal(),n.onTimeout(r,e,this.response)},t.timeout),self.fetch(this.request).then(M=>{this.response=this.loader=M;const ve=Math.max(self.performance.now(),r.loading.start);if(self.clearTimeout(this.requestTimeout),t.timeout=F,this.requestTimeout=self.setTimeout(()=>{this.abortInternal(),n.onTimeout(r,e,this.response)},F-(ve-r.loading.start)),!M.ok){const{status:Fe,statusText:Re}=M;throw new ou(Re||"fetch, bad network response",Fe,M)}return r.loading.first=ve,r.total=au(M.headers)||r.total,s&&I(t.highWaterMark)?this.loadProgressively(M,r,e,t.highWaterMark,s):c?M.arrayBuffer():e.responseType==="json"?M.json():M.text()}).then(M=>{const ve=this.response;if(!ve)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),r.loading.end=Math.max(self.performance.now(),r.loading.first);const Fe=M[p];Fe&&(r.loaded=r.total=Fe);const Re={url:ve.url,data:M,code:ve.status};s&&!I(t.highWaterMark)&&s(r,e,M,ve),n.onSuccess(Re,r,e,ve)}).catch(M=>{if(self.clearTimeout(this.requestTimeout),r.aborted)return;const ve=M&&M.code||0,Fe=M?M.message:null;n.onError({code:ve,text:Fe},e,M?M.details:null,r)})}getCacheAge(){let e=null;if(this.response){const t=this.response.headers.get("age");e=t?parseFloat(t):null}return e}getResponseHeader(e){return this.response?this.response.headers.get(e):null}loadProgressively(e,t,n,r=0,i){const s=new Ms,c=e.body.getReader(),p=()=>c.read().then(A=>{if(A.done)return s.dataLength&&i(t,n,s.flush(),e),Promise.resolve(new ArrayBuffer(0));const F=A.value,M=F.length;return t.loaded+=M,M<r||s.dataLength?(s.push(F),s.dataLength>=r&&i(t,n,s.flush(),e)):i(t,n,F,e),p()}).catch(()=>Promise.reject());return p()}}function ru(o,e){const t={method:"GET",mode:"cors",credentials:"same-origin",signal:e,headers:new self.Headers(a({},o.headers))};return o.rangeEnd&&t.headers.set("Range","bytes="+o.rangeStart+"-"+String(o.rangeEnd-1)),t}function iu(o){const e=nu.exec(o);if(e)return parseInt(e[2])-parseInt(e[1])+1}function au(o){const e=o.get("Content-Range");if(e){const n=iu(e);if(I(n))return n}const t=o.get("Content-Length");if(t)return parseInt(t)}function su(o,e){return new self.Request(o.url,e)}class ou extends Error{constructor(e,t,n){super(e),this.code=void 0,this.details=void 0,this.code=t,this.details=n}}const lu=/\s/,uu={newCue(o,e,t,n){const r=[];let i,s,c,p,A;const F=self.VTTCue||self.TextTrackCue;for(let ve=0;ve<n.rows.length;ve++)if(i=n.rows[ve],c=!0,p=0,A="",!i.isEmpty()){var M;for(let Pe=0;Pe<i.chars.length;Pe++)lu.test(i.chars[Pe].uchar)&&c?p++:(A+=i.chars[Pe].uchar,c=!1);i.cueStartTime=e,e===t&&(t+=1e-4),p>=16?p--:p++;const Fe=Pa(A.trim()),Re=wo(e,t,Fe);o!=null&&(M=o.cues)!=null&&M.getCueById(Re)||(s=new F(e,t,Fe),s.id=Re,s.line=ve+1,s.align="left",s.position=10+Math.min(80,Math.floor(p*8/32)*10),r.push(s))}return o&&r.length&&(r.sort((ve,Fe)=>ve.line==="auto"||Fe.line==="auto"?0:ve.line>8&&Fe.line>8?Fe.line-ve.line:ve.line-Fe.line),r.forEach(ve=>Pr(o,ve))),r}},cu={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},vl=$($({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,maxBufferSize:60*1e3*1e3,maxBufferHole:.1,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,maxFragLookUpTolerance:.25,liveSyncDurationCount:3,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,loader:ml,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:ki,bufferController:bi,capLevelController:po,errorController:Mi,fpsController:$o,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:nn,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableID3MetadataCues:!0,useMediaCapabilities:!0,certLoadPolicy:{default:cu},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},du()),{},{subtitleStreamController:ri,subtitleTrackController:Wi,timelineController:co,audioStreamController:or,audioTrackController:_r,emeController:Is,cmcdController:Jl,contentSteeringController:Xl});function du(){return{cueHandler:uu,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function fu(o,e){if((e.liveSyncDurationCount||e.liveMaxLatencyDurationCount)&&(e.liveSyncDuration||e.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(e.liveMaxLatencyDurationCount!==void 0&&(e.liveSyncDurationCount===void 0||e.liveMaxLatencyDurationCount<=e.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(e.liveMaxLatencyDuration!==void 0&&(e.liveSyncDuration===void 0||e.liveMaxLatencyDuration<=e.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const t=il(o),n=["manifest","level","frag"],r=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return n.forEach(i=>{const s=`${i==="level"?"playlist":i}LoadPolicy`,c=e[s]===void 0,p=[];r.forEach(A=>{const F=`${i}Loading${A}`,M=e[F];if(M!==void 0&&c){p.push(F);const ve=t[s].default;switch(e[s]={default:ve},A){case"TimeOut":ve.maxLoadTimeMs=M,ve.maxTimeToFirstByteMs=M;break;case"MaxRetry":ve.errorRetry.maxNumRetry=M,ve.timeoutRetry.maxNumRetry=M;break;case"RetryDelay":ve.errorRetry.retryDelayMs=M,ve.timeoutRetry.retryDelayMs=M;break;case"MaxRetryTimeout":ve.errorRetry.maxRetryDelayMs=M,ve.timeoutRetry.maxRetryDelayMs=M;break}}}),p.length&&b.warn(`hls.js config: "${p.join('", "')}" setting(s) are deprecated, use "${s}": ${JSON.stringify(e[s])}`)}),$($({},t),e)}function il(o){return o&&typeof o=="object"?Array.isArray(o)?o.map(il):Object.keys(o).reduce((e,t)=>(e[t]=il(o[t]),e),{}):o}function hu(o){const e=o.loader;e!==gl&&e!==ml?(b.log("[config]: Custom loader detected, cannot enable progressive streaming"),o.progressive=!1):tu()&&(o.loader=gl,o.progressive=!0,o.enableSoftwareAES=!0,b.log("[config]: Progressive streaming enabled, using FetchLoader"))}let al;class pu extends li{constructor(e,t){super(e,"[level-controller]"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=t,this._registerListeners()}_registerListeners(){const{hls:e}=this;e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(u.LEVEL_LOADED,this.onLevelLoaded,this),e.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(u.FRAG_BUFFERED,this.onFragBuffered,this),e.on(u.ERROR,this.onError,this)}_unregisterListeners(){const{hls:e}=this;e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(u.LEVEL_LOADED,this.onLevelLoaded,this),e.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(u.FRAG_BUFFERED,this.onFragBuffered,this),e.off(u.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(t=>{t.loadError=0,t.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(e,t){this.resetLevels()}onManifestLoaded(e,t){const n=this.hls.config.preferManagedMediaSource,r=[],i={},s={};let c=!1,p=!1,A=!1;t.levels.forEach(F=>{var M,ve;const Fe=F.attrs;let{audioCodec:Re,videoCodec:Pe}=F;((M=Re)==null?void 0:M.indexOf("mp4a.40.34"))!==-1&&(al||(al=/chrome|firefox/i.test(navigator.userAgent)),al&&(F.audioCodec=Re=void 0)),Re&&(F.audioCodec=Re=En(Re,n)),((ve=Pe)==null?void 0:ve.indexOf("avc1"))===0&&(Pe=F.videoCodec=tr(Pe));const{width:Ve,height:ht,unknownCodecs:zt}=F;if(c||(c=!!(Ve&&ht)),p||(p=!!Pe),A||(A=!!Re),zt!=null&&zt.length||Re&&!dt(Re,"audio",n)||Pe&&!dt(Pe,"video",n))return;const{CODECS:jt,"FRAME-RATE":xn,"HDCP-LEVEL":Zt,"PATHWAY-ID":Un,RESOLUTION:yn,"VIDEO-RANGE":Yn}=Fe,kn=`${`${Un||"."}-`}${F.bitrate}-${yn}-${xn}-${jt}-${Yn}-${Zt}`;if(i[kn])if(i[kn].uri!==F.url&&!F.attrs["PATHWAY-ID"]){const qn=s[kn]+=1;F.attrs["PATHWAY-ID"]=new Array(qn+1).join(".");const ci=new Ci(F);i[kn]=ci,r.push(ci)}else i[kn].addGroupId("audio",Fe.AUDIO),i[kn].addGroupId("text",Fe.SUBTITLES);else{const qn=new Ci(F);i[kn]=qn,s[kn]=1,r.push(qn)}}),this.filterAndSortMediaOptions(r,t,c,p,A)}filterAndSortMediaOptions(e,t,n,r,i){let s=[],c=[],p=e;if((n||r)&&i&&(p=p.filter(({videoCodec:Re,videoRange:Pe,width:Ve,height:ht})=>(!!Re||!!(Ve&&ht))&&oi(Pe))),p.length===0){Promise.resolve().then(()=>{if(this.hls){t.levels.length&&this.warn(`One or more CODECS in variant not supported: ${JSON.stringify(t.levels[0].attrs)}`);const Re=new Error("no level with compatible codecs found in manifest");this.hls.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:t.url,error:Re,reason:Re.message})}});return}if(t.audioTracks){const{preferManagedMediaSource:Re}=this.hls.config;s=t.audioTracks.filter(Pe=>!Pe.audioCodec||dt(Pe.audioCodec,"audio",Re)),yl(s)}t.subtitles&&(c=t.subtitles,yl(c));const A=p.slice(0);p.sort((Re,Pe)=>{if(Re.attrs["HDCP-LEVEL"]!==Pe.attrs["HDCP-LEVEL"])return(Re.attrs["HDCP-LEVEL"]||"")>(Pe.attrs["HDCP-LEVEL"]||"")?1:-1;if(n&&Re.height!==Pe.height)return Re.height-Pe.height;if(Re.frameRate!==Pe.frameRate)return Re.frameRate-Pe.frameRate;if(Re.videoRange!==Pe.videoRange)return gi.indexOf(Re.videoRange)-gi.indexOf(Pe.videoRange);if(Re.videoCodec!==Pe.videoCodec){const Ve=Vt(Re.videoCodec),ht=Vt(Pe.videoCodec);if(Ve!==ht)return ht-Ve}if(Re.uri===Pe.uri&&Re.codecSet!==Pe.codecSet){const Ve=Ft(Re.codecSet),ht=Ft(Pe.codecSet);if(Ve!==ht)return ht-Ve}return Re.averageBitrate!==Pe.averageBitrate?Re.averageBitrate-Pe.averageBitrate:0});let F=A[0];if(this.steering&&(p=this.steering.filterParsedLevels(p),p.length!==A.length)){for(let Re=0;Re<A.length;Re++)if(A[Re].pathwayId===p[0].pathwayId){F=A[Re];break}}this._levels=p;for(let Re=0;Re<p.length;Re++)if(p[Re]===F){var M;this._firstLevel=Re;const Pe=F.bitrate,Ve=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${p.length} level(s) found, first bitrate: ${Pe}`),((M=this.hls.userConfig)==null?void 0:M.abrEwmaDefaultEstimate)===void 0){const ht=Math.min(Pe,this.hls.config.abrEwmaDefaultEstimateMax);ht>Ve&&Ve===vl.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=ht)}break}const ve=i&&!r,Fe={levels:p,audioTracks:s,subtitleTracks:c,sessionData:t.sessionData,sessionKeys:t.sessionKeys,firstLevel:this._firstLevel,stats:t.stats,audio:i,video:r,altAudio:!ve&&s.some(Re=>!!Re.url)};this.hls.trigger(u.MANIFEST_PARSED,Fe),(this.hls.config.autoStartLoad||this.hls.forceStartLoad)&&this.hls.startLoad(this.hls.config.startPosition)}get levels(){return this._levels.length===0?null:this._levels}get level(){return this.currentLevelIndex}set level(e){const t=this._levels;if(t.length===0)return;if(e<0||e>=t.length){const F=new Error("invalid level idx"),M=e<0;if(this.hls.trigger(u.ERROR,{type:x.OTHER_ERROR,details:m.LEVEL_SWITCH_ERROR,level:e,fatal:M,error:F,reason:F.message}),M)return;e=Math.min(e,t.length-1)}const n=this.currentLevelIndex,r=this.currentLevel,i=r?r.attrs["PATHWAY-ID"]:void 0,s=t[e],c=s.attrs["PATHWAY-ID"];if(this.currentLevelIndex=e,this.currentLevel=s,n===e&&s.details&&r&&i===c)return;this.log(`Switching to level ${e} (${s.height?s.height+"p ":""}${s.videoRange?s.videoRange+" ":""}${s.codecSet?s.codecSet+" ":""}@${s.bitrate})${c?" with Pathway "+c:""} from level ${n}${i?" with Pathway "+i:""}`);const p={level:e,attrs:s.attrs,details:s.details,bitrate:s.bitrate,averageBitrate:s.averageBitrate,maxBitrate:s.maxBitrate,realBitrate:s.realBitrate,width:s.width,height:s.height,codecSet:s.codecSet,audioCodec:s.audioCodec,videoCodec:s.videoCodec,audioGroups:s.audioGroups,subtitleGroups:s.subtitleGroups,loaded:s.loaded,loadError:s.loadError,fragmentError:s.fragmentError,name:s.name,id:s.id,uri:s.uri,url:s.url,urlId:0,audioGroupIds:s.audioGroupIds,textGroupIds:s.textGroupIds};this.hls.trigger(u.LEVEL_SWITCHING,p);const A=s.details;if(!A||A.live){const F=this.switchParams(s.uri,r==null?void 0:r.details,A);this.loadPlaylist(F)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(e){this.manualLevelIndex=e,this._startLevel===void 0&&(this._startLevel=e),e!==-1&&(this.level=e)}get firstLevel(){return this._firstLevel}set firstLevel(e){this._firstLevel=e}get startLevel(){if(this._startLevel===void 0){const e=this.hls.config.startLevel;return e!==void 0?e:this.hls.firstAutoLevel}return this._startLevel}set startLevel(e){this._startLevel=e}onError(e,t){t.fatal||!t.context||t.context.type===Cn.LEVEL&&t.context.level===this.level&&this.checkRetry(t)}onFragBuffered(e,{frag:t}){if(t!==void 0&&t.type===at.MAIN){const n=t.elementaryStreams;if(!Object.keys(n).some(i=>!!n[i]))return;const r=this._levels[t.level];r!=null&&r.loadError&&(this.log(`Resetting level error count of ${r.loadError} on frag buffered`),r.loadError=0)}}onLevelLoaded(e,t){var n;const{level:r,details:i}=t,s=this._levels[r];if(!s){var c;this.warn(`Invalid level index ${r}`),(c=t.deliveryDirectives)!=null&&c.skip&&(i.deltaUpdateFailed=!0);return}r===this.currentLevelIndex?(s.fragmentError===0&&(s.loadError=0),this.playlistLoaded(r,t,s.details)):(n=t.deliveryDirectives)!=null&&n.skip&&(i.deltaUpdateFailed=!0)}loadPlaylist(e){super.loadPlaylist();const t=this.currentLevelIndex,n=this.currentLevel;if(n&&this.shouldLoadPlaylist(n)){let r=n.uri;if(e)try{r=e.addDirectives(r)}catch(s){this.warn(`Could not construct new URL with HLS Delivery Directives: ${s}`)}const i=n.attrs["PATHWAY-ID"];this.log(`Loading level index ${t}${(e==null?void 0:e.msn)!==void 0?" at sn "+e.msn+" part "+e.part:""} with${i?" Pathway "+i:""} ${r}`),this.clearTimer(),this.hls.trigger(u.LEVEL_LOADING,{url:r,level:t,pathwayId:n.attrs["PATHWAY-ID"],id:0,deliveryDirectives:e||null})}}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(e){this.level=e,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=e)}removeLevel(e){var t;const n=this._levels.filter((r,i)=>i!==e?!0:(this.steering&&this.steering.removeLevel(r),r===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,r.details&&r.details.fragments.forEach(s=>s.level=-1)),!1));cr(n),this._levels=n,this.currentLevelIndex>-1&&(t=this.currentLevel)!=null&&t.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.hls.trigger(u.LEVELS_UPDATED,{levels:n})}onLevelsUpdated(e,{levels:t}){this._levels=t}checkMaxAutoUpdated(){const{autoLevelCapping:e,maxAutoLevel:t,maxHdcpLevel:n}=this.hls;this._maxAutoLevel!==t&&(this._maxAutoLevel=t,this.hls.trigger(u.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:e,levels:this.levels,maxAutoLevel:t,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:n}))}}function yl(o){const e={};o.forEach(t=>{const n=t.groupId||"";t.id=e[n]=e[n]||0,e[n]++})}class mu{constructor(e){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=e}abort(e){for(const n in this.keyUriToKeyInfo){const r=this.keyUriToKeyInfo[n].loader;if(r){var t;if(e&&e!==((t=r.context)==null?void 0:t.frag.type))return;r.abort()}}}detach(){for(const e in this.keyUriToKeyInfo){const t=this.keyUriToKeyInfo[e];(t.mediaKeySessionContext||t.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[e]}}destroy(){this.detach();for(const e in this.keyUriToKeyInfo){const t=this.keyUriToKeyInfo[e].loader;t&&t.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(e,t=m.KEY_LOAD_ERROR,n,r,i){return new Ji({type:x.NETWORK_ERROR,details:t,fatal:!1,frag:e,response:i,error:n,networkDetails:r})}loadClear(e,t){if(this.emeController&&this.config.emeEnabled){const{sn:n,cc:r}=e;for(let i=0;i<t.length;i++){const s=t[i];if(r<=s.cc&&(n==="initSegment"||s.sn==="initSegment"||n<s.sn)){this.emeController.selectKeySystemFormat(s).then(c=>{s.setKeyFormat(c)});break}}}}load(e){return!e.decryptdata&&e.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(e).then(t=>this.loadInternal(e,t)):this.loadInternal(e)}loadInternal(e,t){var n,r;t&&e.setKeyFormat(t);const i=e.decryptdata;if(!i){const A=new Error(t?`Expected frag.decryptdata to be defined after setting format ${t}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(e,m.KEY_LOAD_ERROR,A))}const s=i.uri;if(!s)return Promise.reject(this.createKeyLoadError(e,m.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${s}"`)));let c=this.keyUriToKeyInfo[s];if((n=c)!=null&&n.decryptdata.key)return i.key=c.decryptdata.key,Promise.resolve({frag:e,keyInfo:c});if((r=c)!=null&&r.keyLoadPromise){var p;switch((p=c.mediaKeySessionContext)==null?void 0:p.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return c.keyLoadPromise.then(A=>(i.key=A.keyInfo.decryptdata.key,{frag:e,keyInfo:c}))}}switch(c=this.keyUriToKeyInfo[s]={decryptdata:i,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},i.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return i.keyFormat==="identity"?this.loadKeyHTTP(c,e):this.loadKeyEME(c,e);case"AES-128":return this.loadKeyHTTP(c,e);default:return Promise.reject(this.createKeyLoadError(e,m.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${i.method}"`)))}}loadKeyEME(e,t){const n={frag:t,keyInfo:e};if(this.emeController&&this.config.emeEnabled){const r=this.emeController.loadKey(n);if(r)return(e.keyLoadPromise=r.then(i=>(e.mediaKeySessionContext=i,n))).catch(i=>{throw e.keyLoadPromise=null,i})}return Promise.resolve(n)}loadKeyHTTP(e,t){const n=this.config,r=n.loader,i=new r(n);return t.keyLoader=e.loader=i,e.keyLoadPromise=new Promise((s,c)=>{const p={keyInfo:e,frag:t,responseType:"arraybuffer",url:e.decryptdata.uri},A=n.keyLoadPolicy.default,F={loadPolicy:A,timeout:A.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},M={onSuccess:(ve,Fe,Re,Pe)=>{const{frag:Ve,keyInfo:ht,url:zt}=Re;if(!Ve.decryptdata||ht!==this.keyUriToKeyInfo[zt])return c(this.createKeyLoadError(Ve,m.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),Pe));ht.decryptdata.key=Ve.decryptdata.key=new Uint8Array(ve.data),Ve.keyLoader=null,ht.loader=null,s({frag:Ve,keyInfo:ht})},onError:(ve,Fe,Re,Pe)=>{this.resetLoader(Fe),c(this.createKeyLoadError(t,m.KEY_LOAD_ERROR,new Error(`HTTP Error ${ve.code} loading key ${ve.text}`),Re,$({url:p.url,data:void 0},ve)))},onTimeout:(ve,Fe,Re)=>{this.resetLoader(Fe),c(this.createKeyLoadError(t,m.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Re))},onAbort:(ve,Fe,Re)=>{this.resetLoader(Fe),c(this.createKeyLoadError(t,m.INTERNAL_ABORTED,new Error("key loading aborted"),Re))}};i.load(p,F,M)})}resetLoader(e){const{frag:t,keyInfo:n,url:r}=e,i=n.loader;t.keyLoader===i&&(t.keyLoader=null,n.loader=null),delete this.keyUriToKeyInfo[r],i&&i.destroy()}}function bl(){return self.SourceBuffer||self.WebKitSourceBuffer}function Sl(){if(!_n())return!1;const e=bl();return!e||e.prototype&&typeof e.prototype.appendBuffer=="function"&&typeof e.prototype.remove=="function"}function gu(){if(!Sl())return!1;const o=_n();return typeof(o==null?void 0:o.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(e=>o.isTypeSupported(kt(e,"video")))||["mp4a.40.2","fLaC"].some(e=>o.isTypeSupported(kt(e,"audio"))))}function vu(){var o;const e=bl();return typeof(e==null||(o=e.prototype)==null?void 0:o.changeType)=="function"}const yu=250,Jo=2,bu=.1,Su=.05;class xu{constructor(e,t,n,r){this.config=void 0,this.media=null,this.fragmentTracker=void 0,this.hls=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.config=e,this.media=t,this.fragmentTracker=n,this.hls=r}destroy(){this.media=null,this.hls=this.fragmentTracker=null}poll(e,t){const{config:n,media:r,stalled:i}=this;if(r===null)return;const{currentTime:s,seeking:c}=r,p=this.seeking&&!c,A=!this.seeking&&c;if(this.seeking=c,s!==e){if(this.moved=!0,c||(this.nudgeRetry=0),i!==null){if(this.stallReported){const Ve=self.performance.now()-i;b.warn(`playback not stuck anymore @${s}, after ${Math.round(Ve)}ms`),this.stallReported=!1}this.stalled=null}return}if(A||p){this.stalled=null;return}if(r.paused&&!c||r.ended||r.playbackRate===0||!_i.getBuffered(r).length){this.nudgeRetry=0;return}const F=_i.bufferInfo(r,s,0),M=F.nextStart||0;if(c){const Ve=F.len>Jo,ht=!M||t&&t.start<=s||M-s>Jo&&!this.fragmentTracker.getPartialFragment(s);if(Ve||ht)return;this.moved=!1}if(!this.moved&&this.stalled!==null){var ve;if(!(F.len>0)&&!M)return;const ht=Math.max(M,F.start||0)-s,zt=this.hls.levels?this.hls.levels[this.hls.currentLevel]:null,xn=(zt==null||(ve=zt.details)==null?void 0:ve.live)?zt.details.targetduration*2:Jo,Zt=this.fragmentTracker.getPartialFragment(s);if(ht>0&&(ht<=xn||Zt)){r.paused||this._trySkipBufferHole(Zt);return}}const Fe=self.performance.now();if(i===null){this.stalled=Fe;return}const Re=Fe-i;if(!c&&Re>=yu&&(this._reportStall(F),!this.media))return;const Pe=_i.bufferInfo(r,s,n.maxBufferHole);this._tryFixBufferStall(Pe,Re)}_tryFixBufferStall(e,t){const{config:n,fragmentTracker:r,media:i}=this;if(i===null)return;const s=i.currentTime,c=r.getPartialFragment(s);c&&(this._trySkipBufferHole(c)||!this.media)||(e.len>n.maxBufferHole||e.nextStart&&e.nextStart-s<n.maxBufferHole)&&t>n.highBufferWatchdogPeriod*1e3&&(b.warn("Trying to nudge playhead over buffer-hole"),this.stalled=null,this._tryNudgeBuffer())}_reportStall(e){const{hls:t,media:n,stallReported:r}=this;if(!r&&n){this.stallReported=!0;const i=new Error(`Playback stalling at @${n.currentTime} due to low buffer (${JSON.stringify(e)})`);b.warn(i.message),t.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.BUFFER_STALLED_ERROR,fatal:!1,error:i,buffer:e.len})}}_trySkipBufferHole(e){const{config:t,hls:n,media:r}=this;if(r===null)return 0;const i=r.currentTime,s=_i.bufferInfo(r,i,0),c=i<s.start?s.start:s.nextStart;if(c){const p=s.len<=t.maxBufferHole,A=s.len>0&&s.len<1&&r.readyState<3,F=c-i;if(F>0&&(p||A)){if(F>t.maxBufferHole){const{fragmentTracker:ve}=this;let Fe=!1;if(i===0){const Re=ve.getAppendedFrag(0,at.MAIN);Re&&c<Re.end&&(Fe=!0)}if(!Fe){const Re=e||ve.getAppendedFrag(i,at.MAIN);if(Re){let Pe=!1,Ve=Re.end;for(;Ve<c;){const ht=ve.getPartialFragment(Ve);if(ht)Ve+=ht.duration;else{Pe=!0;break}}if(Pe)return 0}}}const M=Math.max(c+Su,i+bu);if(b.warn(`skipping hole, adjusting currentTime from ${i} to ${M}`),this.moved=!0,this.stalled=null,r.currentTime=M,e&&!e.gap){const ve=new Error(`fragment loaded with buffer holes, seeking from ${i} to ${M}`);n.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:ve,reason:ve.message,frag:e})}return M}}return 0}_tryNudgeBuffer(){const{config:e,hls:t,media:n,nudgeRetry:r}=this;if(n===null)return;const i=n.currentTime;if(this.nudgeRetry++,r<e.nudgeMaxRetry){const s=i+(r+1)*e.nudgeOffset,c=new Error(`Nudging 'currentTime' from ${i} to ${s}`);b.warn(c.message),n.currentTime=s,t.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.BUFFER_NUDGE_ON_STALL,error:c,fatal:!1})}else{const s=new Error(`Playhead still not moving while enough data buffered @${i} after ${e.nudgeMaxRetry} nudges`);b.error(s.message),t.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.BUFFER_STALLED_ERROR,error:s,fatal:!0})}}}const Au=100;class Eu extends Ts{constructor(e,t,n){super(e,t,n,"[stream-controller]",at.MAIN),this.audioCodecSwap=!1,this.gapController=null,this.level=-1,this._forceStartLoad=!1,this.altAudio=!1,this.audioOnly=!1,this.fragPlaying=null,this.onvplaying=null,this.onvseeked=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this._registerListeners()}_registerListeners(){const{hls:e}=this;e.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.MANIFEST_PARSED,this.onManifestParsed,this),e.on(u.LEVEL_LOADING,this.onLevelLoading,this),e.on(u.LEVEL_LOADED,this.onLevelLoaded,this),e.on(u.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),e.on(u.ERROR,this.onError,this),e.on(u.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(u.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.on(u.BUFFER_CREATED,this.onBufferCreated,this),e.on(u.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(u.FRAG_BUFFERED,this.onFragBuffered,this)}_unregisterListeners(){const{hls:e}=this;e.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.MANIFEST_PARSED,this.onManifestParsed,this),e.off(u.LEVEL_LOADED,this.onLevelLoaded,this),e.off(u.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),e.off(u.ERROR,this.onError,this),e.off(u.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(u.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.off(u.BUFFER_CREATED,this.onBufferCreated,this),e.off(u.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(u.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this._unregisterListeners(),super.onHandlerDestroying()}startLoad(e){if(this.levels){const{lastCurrentTime:t,hls:n}=this;if(this.stopLoad(),this.setInterval(Au),this.level=-1,!this.startFragRequested){let r=n.startLevel;r===-1&&(n.config.testBandwidth&&this.levels.length>1?(r=0,this.bitrateTest=!0):r=n.firstAutoLevel),n.nextLoadLevel=r,this.level=n.loadLevel,this.loadedmetadata=!1}t>0&&e===-1&&(this.log(`Override startPosition with lastCurrentTime @${t.toFixed(3)}`),e=t),this.state=Rn.IDLE,this.nextLoadPosition=this.startPosition=this.lastCurrentTime=e,this.tick()}else this._forceStartLoad=!0,this.state=Rn.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Rn.WAITING_LEVEL:{const{levels:t,level:n}=this,r=t==null?void 0:t[n],i=r==null?void 0:r.details;if(i&&(!i.live||this.levelLastLoaded===r)){if(this.waitForCdnTuneIn(i))break;this.state=Rn.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Rn.IDLE;break}break}case Rn.FRAG_LOADING_WAITING_RETRY:{var e;const t=self.performance.now(),n=this.retryDate;if(!n||t>=n||(e=this.media)!=null&&e.seeking){const{levels:r,level:i}=this,s=r==null?void 0:r[i];this.resetStartWhenNotLoaded(s||null),this.state=Rn.IDLE}}break}this.state===Rn.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){super.onTickEnd(),this.checkBuffer(),this.checkFragmentChanged()}doTickIdle(){const{hls:e,levelLastLoaded:t,levels:n,media:r}=this;if(t===null||!r&&(this.startFragRequested||!e.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const i=this.buffering?e.nextLoadLevel:e.loadLevel;if(!(n!=null&&n[i]))return;const s=n[i],c=this.getMainFwdBufferInfo();if(c===null)return;const p=this.getLevelDetails();if(p&&this._streamEnded(c,p)){const Pe={};this.altAudio&&(Pe.type="video"),this.hls.trigger(u.BUFFER_EOS,Pe),this.state=Rn.ENDED;return}if(!this.buffering)return;e.loadLevel!==i&&e.manualLevel===-1&&this.log(`Adapting to level ${i} from level ${this.level}`),this.level=e.nextLoadLevel=i;const A=s.details;if(!A||this.state===Rn.WAITING_LEVEL||A.live&&this.levelLastLoaded!==s){this.level=i,this.state=Rn.WAITING_LEVEL;return}const F=c.len,M=this.getMaxBufferLength(s.maxBitrate);if(F>=M)return;this.backtrackFragment&&this.backtrackFragment.start>c.end&&(this.backtrackFragment=null);const ve=this.backtrackFragment?this.backtrackFragment.start:c.end;let Fe=this.getNextFragment(ve,A);if(this.couldBacktrack&&!this.fragPrevious&&Fe&&Fe.sn!=="initSegment"&&this.fragmentTracker.getState(Fe)!==pi.OK){var Re;const Ve=((Re=this.backtrackFragment)!=null?Re:Fe).sn-A.startSN,ht=A.fragments[Ve-1];ht&&Fe.cc===ht.cc&&(Fe=ht,this.fragmentTracker.removeFragment(ht))}else this.backtrackFragment&&c.len&&(this.backtrackFragment=null);if(Fe&&this.isLoopLoading(Fe,ve)){if(!Fe.gap){const Ve=this.audioOnly&&!this.altAudio?te.AUDIO:te.VIDEO,ht=(Ve===te.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;ht&&this.afterBufferFlushed(ht,Ve,at.MAIN)}Fe=this.getNextFragmentLoopLoading(Fe,A,c,at.MAIN,M)}Fe&&(Fe.initSegment&&!Fe.initSegment.data&&!this.bitrateTest&&(Fe=Fe.initSegment),this.loadFragment(Fe,s,ve))}loadFragment(e,t,n){const r=this.fragmentTracker.getState(e);this.fragCurrent=e,r===pi.NOT_LOADED||r===pi.PARTIAL?e.sn==="initSegment"?this._loadInitSegment(e,t):this.bitrateTest?(this.log(`Fragment ${e.sn} of level ${e.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(e,t)):(this.startFragRequested=!0,super.loadFragment(e,t,n)):this.clearTrackerIfNeeded(e)}getBufferedFrag(e){return this.fragmentTracker.getBufferedFrag(e,at.MAIN)}followingBufferedFrag(e){return e?this.getBufferedFrag(e.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:e,media:t}=this;if(t!=null&&t.readyState){let n;const r=this.getAppendedFrag(t.currentTime);r&&r.start>1&&this.flushMainBuffer(0,r.start-1);const i=this.getLevelDetails();if(i!=null&&i.live){const c=this.getMainFwdBufferInfo();if(!c||c.len<i.targetduration*2)return}if(!t.paused&&e){const c=this.hls.nextLoadLevel,p=e[c],A=this.fragLastKbps;A&&this.fragCurrent?n=this.fragCurrent.duration*p.maxBitrate/(1e3*A)+1:n=0}else n=0;const s=this.getBufferedFrag(t.currentTime+n);if(s){const c=this.followingBufferedFrag(s);if(c){this.abortCurrentFrag();const p=c.maxStartPTS?c.maxStartPTS:c.start,A=c.duration,F=Math.max(s.end,p+Math.min(Math.max(A-this.config.maxFragLookUpTolerance,A*(this.couldBacktrack?.5:.125)),A*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(F,Number.POSITIVE_INFINITY)}}}}abortCurrentFrag(){const e=this.fragCurrent;switch(this.fragCurrent=null,this.backtrackFragment=null,e&&(e.abortRequests(),this.fragmentTracker.removeFragment(e)),this.state){case Rn.KEY_LOADING:case Rn.FRAG_LOADING:case Rn.FRAG_LOADING_WAITING_RETRY:case Rn.PARSING:case Rn.PARSED:this.state=Rn.IDLE;break}this.nextLoadPosition=this.getLoadPosition()}flushMainBuffer(e,t){super.flushMainBuffer(e,t,this.altAudio?"video":null)}onMediaAttached(e,t){super.onMediaAttached(e,t);const n=t.media;this.onvplaying=this.onMediaPlaying.bind(this),this.onvseeked=this.onMediaSeeked.bind(this),n.addEventListener("playing",this.onvplaying),n.addEventListener("seeked",this.onvseeked),this.gapController=new xu(this.config,n,this.fragmentTracker,this.hls)}onMediaDetaching(){const{media:e}=this;e&&this.onvplaying&&this.onvseeked&&(e.removeEventListener("playing",this.onvplaying),e.removeEventListener("seeked",this.onvseeked),this.onvplaying=this.onvseeked=null,this.videoBuffer=null),this.fragPlaying=null,this.gapController&&(this.gapController.destroy(),this.gapController=null),super.onMediaDetaching()}onMediaPlaying(){this.tick()}onMediaSeeked(){const e=this.media,t=e?e.currentTime:null;I(t)&&this.log(`Media seeked to ${t.toFixed(3)}`);const n=this.getMainFwdBufferInfo();if(n===null||n.len===0){this.warn(`Main forward buffer length on "seeked" event ${n?n.len:"empty"})`);return}this.tick()}onManifestLoading(){this.log("Trigger BUFFER_RESET"),this.hls.trigger(u.BUFFER_RESET,void 0),this.fragmentTracker.removeAllFragments(),this.couldBacktrack=!1,this.startPosition=this.lastCurrentTime=this.fragLastKbps=0,this.levels=this.fragPlaying=this.backtrackFragment=this.levelLastLoaded=null,this.altAudio=this.audioOnly=this.startFragRequested=!1}onManifestParsed(e,t){let n=!1,r=!1;t.levels.forEach(i=>{const s=i.audioCodec;s&&(n=n||s.indexOf("mp4a.40.2")!==-1,r=r||s.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=n&&r&&!vu(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=t.levels,this.startFragRequested=!1}onLevelLoading(e,t){const{levels:n}=this;if(!n||this.state!==Rn.IDLE)return;const r=n[t.level];(!r.details||r.details.live&&this.levelLastLoaded!==r||this.waitForCdnTuneIn(r.details))&&(this.state=Rn.WAITING_LEVEL)}onLevelLoaded(e,t){var n;const{levels:r}=this,i=t.level,s=t.details,c=s.totalduration;if(!r){this.warn(`Levels were reset while loading level ${i}`);return}this.log(`Level ${i} loaded [${s.startSN},${s.endSN}]${s.lastPartSn?`[part-${s.lastPartSn}-${s.lastPartIndex}]`:""}, cc [${s.startCC}, ${s.endCC}] duration:${c}`);const p=r[i],A=this.fragCurrent;A&&(this.state===Rn.FRAG_LOADING||this.state===Rn.FRAG_LOADING_WAITING_RETRY)&&A.level!==t.level&&A.loader&&this.abortCurrentFrag();let F=0;if(s.live||(n=p.details)!=null&&n.live){var M;if(this.checkLiveUpdate(s),s.deltaUpdateFailed)return;F=this.alignPlaylists(s,p.details,(M=this.levelLastLoaded)==null?void 0:M.details)}if(p.details=s,this.levelLastLoaded=p,this.hls.trigger(u.LEVEL_UPDATED,{details:s,level:i}),this.state===Rn.WAITING_LEVEL){if(this.waitForCdnTuneIn(s))return;this.state=Rn.IDLE}this.startFragRequested?s.live&&this.synchronizeToLiveEdge(s):this.setStartPosition(s,F),this.tick()}_handleFragmentLoadProgress(e){var t;const{frag:n,part:r,payload:i}=e,{levels:s}=this;if(!s){this.warn(`Levels were reset while fragment load was in progress. Fragment ${n.sn} of level ${n.level} will not be buffered`);return}const c=s[n.level],p=c.details;if(!p){this.warn(`Dropping fragment ${n.sn} of level ${n.level} after level details were reset`),this.fragmentTracker.removeFragment(n);return}const A=c.videoCodec,F=p.PTSKnown||!p.live,M=(t=n.initSegment)==null?void 0:t.data,ve=this._getAudioCodec(c),Fe=this.transmuxer=this.transmuxer||new on(this.hls,at.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),Re=r?r.index:-1,Pe=Re!==-1,Ve=new vs(n.level,n.sn,n.stats.chunkCount,i.byteLength,Re,Pe),ht=this.initPTS[n.cc];Fe.push(i,M,ve,A,n,r,p.totalduration,F,Ve,ht)}onAudioTrackSwitching(e,t){const n=this.altAudio;if(!!!t.url){if(this.mediaBuffer!==this.media){this.log("Switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;const s=this.fragCurrent;s&&(this.log("Switching to main audio track, cancel main fragment load"),s.abortRequests(),this.fragmentTracker.removeFragment(s)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();const i=this.hls;n&&(i.trigger(u.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null}),this.fragmentTracker.removeAllFragments()),i.trigger(u.AUDIO_TRACK_SWITCHED,t)}}onAudioTrackSwitched(e,t){const n=t.id,r=!!this.hls.audioTracks[n].url;if(r){const i=this.videoBuffer;i&&this.mediaBuffer!==i&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=i)}this.altAudio=r,this.tick()}onBufferCreated(e,t){const n=t.tracks;let r,i,s=!1;for(const c in n){const p=n[c];if(p.id==="main"){if(i=c,r=p,c==="video"){const A=n[c];A&&(this.videoBuffer=A.buffer)}}else s=!0}s&&r?(this.log(`Alternate track found, use ${i}.buffered to schedule main fragment loading`),this.mediaBuffer=r.buffer):this.mediaBuffer=this.media}onFragBuffered(e,t){const{frag:n,part:r}=t;if(n&&n.type!==at.MAIN)return;if(this.fragContextChanged(n)){this.warn(`Fragment ${n.sn}${r?" p: "+r.index:""} of level ${n.level} finished buffering, but was aborted. state: ${this.state}`),this.state===Rn.PARSED&&(this.state=Rn.IDLE);return}const i=r?r.stats:n.stats;this.fragLastKbps=Math.round(8*i.total/(i.buffering.end-i.loading.first)),n.sn!=="initSegment"&&(this.fragPrevious=n),this.fragBufferedComplete(n,r)}onError(e,t){var n;if(t.fatal){this.state=Rn.ERROR;return}switch(t.details){case m.FRAG_GAP:case m.FRAG_PARSING_ERROR:case m.FRAG_DECRYPT_ERROR:case m.FRAG_LOAD_ERROR:case m.FRAG_LOAD_TIMEOUT:case m.KEY_LOAD_ERROR:case m.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(at.MAIN,t);break;case m.LEVEL_LOAD_ERROR:case m.LEVEL_LOAD_TIMEOUT:case m.LEVEL_PARSING_ERROR:!t.levelRetry&&this.state===Rn.WAITING_LEVEL&&((n=t.context)==null?void 0:n.type)===Cn.LEVEL&&(this.state=Rn.IDLE);break;case m.BUFFER_APPEND_ERROR:case m.BUFFER_FULL_ERROR:if(!t.parent||t.parent!=="main")return;if(t.details===m.BUFFER_APPEND_ERROR){this.resetLoadingState();return}this.reduceLengthAndFlushBuffer(t)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case m.INTERNAL_EXCEPTION:this.recoverWorkerError(t);break}}checkBuffer(){const{media:e,gapController:t}=this;if(!(!e||!t||!e.readyState)){if(this.loadedmetadata||!_i.getBuffered(e).length){const n=this.state!==Rn.IDLE?this.fragCurrent:null;t.poll(this.lastCurrentTime,n)}this.lastCurrentTime=e.currentTime}}onFragLoadEmergencyAborted(){this.state=Rn.IDLE,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.tickImmediate()}onBufferFlushed(e,{type:t}){if(t!==te.AUDIO||this.audioOnly&&!this.altAudio){const n=(t===te.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;this.afterBufferFlushed(n,t,at.MAIN),this.tick()}}onLevelsUpdated(e,t){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level),this.levels=t.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:e}=this;if(!e)return;const t=e.currentTime;let n=this.startPosition;if(n>=0&&t<n){if(e.seeking){this.log(`could not seek to ${n}, already seeking at ${t}`);return}const r=_i.getBuffered(e),s=(r.length?r.start(0):0)-n;s>0&&(s<this.config.maxBufferHole||s<this.config.maxFragLookUpTolerance)&&(this.log(`adjusting start position by ${s} to match buffer start`),n+=s,this.startPosition=n),this.log(`seek to target start position ${n} from current time ${t}`),e.currentTime=n}}_getAudioCodec(e){let t=this.config.defaultAudioCodec||e.audioCodec;return this.audioCodecSwap&&t&&(this.log("Swapping audio codec"),t.indexOf("mp4a.40.5")!==-1?t="mp4a.40.2":t="mp4a.40.5"),t}_loadBitrateTestFrag(e,t){e.bitrateTest=!0,this._doFragLoad(e,t).then(n=>{const{hls:r}=this;if(!n||this.fragContextChanged(e))return;t.fragmentError=0,this.state=Rn.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const i=e.stats;i.parsing.start=i.parsing.end=i.buffering.start=i.buffering.end=self.performance.now(),r.trigger(u.FRAG_LOADED,n),e.bitrateTest=!1})}_handleTransmuxComplete(e){var t;const n="main",{hls:r}=this,{remuxResult:i,chunkMeta:s}=e,c=this.getCurrentContext(s);if(!c){this.resetWhenMissingContext(s);return}const{frag:p,part:A,level:F}=c,{video:M,text:ve,id3:Fe,initSegment:Re}=i,{details:Pe}=F,Ve=this.altAudio?void 0:i.audio;if(this.fragContextChanged(p)){this.fragmentTracker.removeFragment(p);return}if(this.state=Rn.PARSING,Re){if(Re!=null&&Re.tracks){const jt=p.initSegment||p;this._bufferInitSegment(F,Re.tracks,jt,s),r.trigger(u.FRAG_PARSING_INIT_SEGMENT,{frag:jt,id:n,tracks:Re.tracks})}const ht=Re.initPTS,zt=Re.timescale;I(ht)&&(this.initPTS[p.cc]={baseTime:ht,timescale:zt},r.trigger(u.INIT_PTS_FOUND,{frag:p,id:n,initPTS:ht,timescale:zt}))}if(M&&Pe&&p.sn!=="initSegment"){const ht=Pe.fragments[p.sn-1-Pe.startSN],zt=p.sn===Pe.startSN,jt=!ht||p.cc>ht.cc;if(i.independent!==!1){const{startPTS:xn,endPTS:Zt,startDTS:Un,endDTS:yn}=M;if(A)A.elementaryStreams[M.type]={startPTS:xn,endPTS:Zt,startDTS:Un,endDTS:yn};else if(M.firstKeyFrame&&M.independent&&s.id===1&&!jt&&(this.couldBacktrack=!0),M.dropped&&M.independent){const Yn=this.getMainFwdBufferInfo(),Ar=(Yn?Yn.end:this.getLoadPosition())+this.config.maxBufferHole,kn=M.firstKeyFramePTS?M.firstKeyFramePTS:xn;if(!zt&&Ar<kn-this.config.maxBufferHole&&!jt){this.backtrack(p);return}else jt&&(p.gap=!0);p.setElementaryStreamInfo(M.type,p.start,Zt,p.start,yn,!0)}else zt&&xn>Jo&&(p.gap=!0);p.setElementaryStreamInfo(M.type,xn,Zt,Un,yn),this.backtrackFragment&&(this.backtrackFragment=p),this.bufferFragmentData(M,p,A,s,zt||jt)}else if(zt||jt)p.gap=!0;else{this.backtrack(p);return}}if(Ve){const{startPTS:ht,endPTS:zt,startDTS:jt,endDTS:xn}=Ve;A&&(A.elementaryStreams[te.AUDIO]={startPTS:ht,endPTS:zt,startDTS:jt,endDTS:xn}),p.setElementaryStreamInfo(te.AUDIO,ht,zt,jt,xn),this.bufferFragmentData(Ve,p,A,s)}if(Pe&&Fe!=null&&(t=Fe.samples)!=null&&t.length){const ht={id:n,frag:p,details:Pe,samples:Fe.samples};r.trigger(u.FRAG_PARSING_METADATA,ht)}if(Pe&&ve){const ht={id:n,frag:p,details:Pe,samples:ve.samples};r.trigger(u.FRAG_PARSING_USERDATA,ht)}}_bufferInitSegment(e,t,n,r){if(this.state!==Rn.PARSING)return;this.audioOnly=!!t.audio&&!t.video,this.altAudio&&!this.audioOnly&&delete t.audio;const{audio:i,video:s,audiovideo:c}=t;if(i){let p=e.audioCodec;const A=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){p&&(p.indexOf("mp4a.40.5")!==-1?p="mp4a.40.2":p="mp4a.40.5");const F=i.metadata;F&&"channelCount"in F&&(F.channelCount||1)!==1&&A.indexOf("firefox")===-1&&(p="mp4a.40.5")}p&&p.indexOf("mp4a.40.5")!==-1&&A.indexOf("android")!==-1&&i.container!=="audio/mpeg"&&(p="mp4a.40.2",this.log(`Android: force audio codec to ${p}`)),e.audioCodec&&e.audioCodec!==p&&this.log(`Swapping manifest audio codec "${e.audioCodec}" for "${p}"`),i.levelCodec=p,i.id="main",this.log(`Init audio buffer, container:${i.container}, codecs[selected/level/parsed]=[${p||""}/${e.audioCodec||""}/${i.codec}]`)}s&&(s.levelCodec=e.videoCodec,s.id="main",this.log(`Init video buffer, container:${s.container}, codecs[level/parsed]=[${e.videoCodec||""}/${s.codec}]`)),c&&this.log(`Init audiovideo buffer, container:${c.container}, codecs[level/parsed]=[${e.codecs}/${c.codec}]`),this.hls.trigger(u.BUFFER_CODECS,t),Object.keys(t).forEach(p=>{const F=t[p].initSegment;F!=null&&F.byteLength&&this.hls.trigger(u.BUFFER_APPENDING,{type:p,data:F,frag:n,part:null,chunkMeta:r,parent:n.type})}),this.tickImmediate()}getMainFwdBufferInfo(){return this.getFwdBufferInfo(this.mediaBuffer?this.mediaBuffer:this.media,at.MAIN)}backtrack(e){this.couldBacktrack=!0,this.backtrackFragment=e,this.resetTransmuxer(),this.flushBufferGap(e),this.fragmentTracker.removeFragment(e),this.fragPrevious=null,this.nextLoadPosition=e.start,this.state=Rn.IDLE}checkFragmentChanged(){const e=this.media;let t=null;if(e&&e.readyState>1&&e.seeking===!1){const n=e.currentTime;if(_i.isBuffered(e,n)?t=this.getAppendedFrag(n):_i.isBuffered(e,n+.1)&&(t=this.getAppendedFrag(n+.1)),t){this.backtrackFragment=null;const r=this.fragPlaying,i=t.level;(!r||t.sn!==r.sn||r.level!==i)&&(this.fragPlaying=t,this.hls.trigger(u.FRAG_CHANGED,{frag:t}),(!r||r.level!==i)&&this.hls.trigger(u.LEVEL_SWITCHED,{level:i}))}}}get nextLevel(){const e=this.nextBufferedFrag;return e?e.level:-1}get currentFrag(){const e=this.media;return e?this.fragPlaying||this.getAppendedFrag(e.currentTime):null}get currentProgramDateTime(){const e=this.media;if(e){const t=e.currentTime,n=this.currentFrag;if(n&&I(t)&&I(n.programDateTime)){const r=n.programDateTime+(t-n.start)*1e3;return new Date(r)}}return null}get currentLevel(){const e=this.currentFrag;return e?e.level:-1}get nextBufferedFrag(){const e=this.currentFrag;return e?this.followingBufferedFrag(e):null}get forceStartLoad(){return this._forceStartLoad}}class Ys{static get version(){return"1.5.19"}static isMSESupported(){return Sl()}static isSupported(){return gu()}static getMediaSource(){return _n()}static get Events(){return u}static get ErrorTypes(){return x}static get ErrorDetails(){return m}static get DefaultConfig(){return Ys.defaultConfig?Ys.defaultConfig:vl}static set DefaultConfig(e){Ys.defaultConfig=e}constructor(e={}){this.config=void 0,this.userConfig=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this.started=!1,this._emitter=new Xt,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this.url=null,this.triggeringException=void 0,Y(e.debug||!1,"Hls instance");const t=this.config=fu(Ys.DefaultConfig,e);this.userConfig=e,t.progressive&&hu(t);const{abrController:n,bufferController:r,capLevelController:i,errorController:s,fpsController:c}=t,p=new s(this),A=this.abrController=new n(this),F=this.bufferController=new r(this),M=this.capLevelController=new i(this),ve=new c(this),Fe=new Rr(this),Re=new ni(this),Pe=t.contentSteeringController,Ve=Pe?new Pe(this):null,ht=this.levelController=new pu(this,Ve),zt=new Ia(this),jt=new mu(this.config),xn=this.streamController=new Eu(this,zt,jt);M.setStreamController(xn),ve.setStreamController(xn);const Zt=[Fe,ht,xn];Ve&&Zt.splice(1,0,Ve),this.networkControllers=Zt;const Un=[A,F,M,ve,Re,zt];this.audioTrackController=this.createController(t.audioTrackController,Zt);const yn=t.audioStreamController;yn&&Zt.push(new yn(this,zt,jt)),this.subtitleTrackController=this.createController(t.subtitleTrackController,Zt);const Yn=t.subtitleStreamController;Yn&&Zt.push(new Yn(this,zt,jt)),this.createController(t.timelineController,Un),jt.emeController=this.emeController=this.createController(t.emeController,Un),this.cmcdController=this.createController(t.cmcdController,Un),this.latencyController=this.createController(ji,Un),this.coreComponents=Un,Zt.push(p);const Ar=p.onErrorOut;typeof Ar=="function"&&this.on(u.ERROR,Ar,p)}createController(e,t){if(e){const n=new e(this);return t&&t.push(n),n}return null}on(e,t,n=this){this._emitter.on(e,t,n)}once(e,t,n=this){this._emitter.once(e,t,n)}removeAllListeners(e){this._emitter.removeAllListeners(e)}off(e,t,n=this,r){this._emitter.off(e,t,n,r)}listeners(e){return this._emitter.listeners(e)}emit(e,t,n){return this._emitter.emit(e,t,n)}trigger(e,t){if(this.config.debug)return this.emit(e,e,t);try{return this.emit(e,e,t)}catch(n){if(b.error("An internal error happened while handling event "+e+'. Error message: "'+n.message+'". Here is a stacktrace:',n),!this.triggeringException){this.triggeringException=!0;const r=e===u.ERROR;this.trigger(u.ERROR,{type:x.OTHER_ERROR,details:m.INTERNAL_EXCEPTION,fatal:r,event:e,error:n}),this.triggeringException=!1}}return!1}listenerCount(e){return this._emitter.listenerCount(e)}destroy(){b.log("destroy"),this.trigger(u.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this.url=null,this.networkControllers.forEach(t=>t.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(t=>t.destroy()),this.coreComponents.length=0;const e=this.config;e.xhrSetup=e.fetchSetup=void 0,this.userConfig=null}attachMedia(e){b.log("attachMedia"),this._media=e,this.trigger(u.MEDIA_ATTACHING,{media:e})}detachMedia(){b.log("detachMedia"),this.trigger(u.MEDIA_DETACHING,void 0),this._media=null}loadSource(e){this.stopLoad();const t=this.media,n=this.url,r=this.url=ee.buildAbsoluteURL(self.location.href,e,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,b.log(`loadSource:${r}`),t&&n&&(n!==r||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(t)),this.trigger(u.MANIFEST_LOADING,{url:e})}startLoad(e=-1){b.log(`startLoad(${e})`),this.started=!0,this.resumeBuffering();for(let t=0;t<this.networkControllers.length&&(this.networkControllers[t].startLoad(e),!(!this.started||!this.networkControllers));t++);}stopLoad(){b.log("stopLoad"),this.started=!1;for(let e=0;e<this.networkControllers.length&&(this.networkControllers[e].stopLoad(),!(this.started||!this.networkControllers));e++);}resumeBuffering(){b.log("resume buffering"),this.networkControllers.forEach(e=>{e.resumeBuffering&&e.resumeBuffering()})}pauseBuffering(){b.log("pause buffering"),this.networkControllers.forEach(e=>{e.pauseBuffering&&e.pauseBuffering()})}swapAudioCodec(){b.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){b.log("recoverMediaError");const e=this._media;this.detachMedia(),e&&this.attachMedia(e)}removeLevel(e){this.levelController.removeLevel(e)}get levels(){const e=this.levelController.levels;return e||[]}get currentLevel(){return this.streamController.currentLevel}set currentLevel(e){b.log(`set currentLevel:${e}`),this.levelController.manualLevel=e,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(e){b.log(`set nextLevel:${e}`),this.levelController.manualLevel=e,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(e){b.log(`set loadLevel:${e}`),this.levelController.manualLevel=e}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(e){this.levelController.nextLoadLevel=e}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(e){b.log(`set firstLevel:${e}`),this.levelController.firstLevel=e}get startLevel(){const e=this.levelController.startLevel;return e===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:e}set startLevel(e){b.log(`set startLevel:${e}`),e!==-1&&(e=Math.max(e,this.minAutoLevel)),this.levelController.startLevel=e}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(e){const t=!!e;t!==this.config.capLevelToPlayerSize&&(t?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=t)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:e}=this.abrController;return e?e.getEstimate():NaN}set bandwidthEstimate(e){this.abrController.resetEstimator(e)}get ttfbEstimate(){const{bwEstimator:e}=this.abrController;return e?e.getEstimateTTFB():NaN}set autoLevelCapping(e){this._autoLevelCapping!==e&&(b.log(`set autoLevelCapping:${e}`),this._autoLevelCapping=e,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(e){Xr(e)&&this._maxHdcpLevel!==e&&(this._maxHdcpLevel=e,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:e,config:{minAutoBitrate:t}}=this;if(!e)return 0;const n=e.length;for(let r=0;r<n;r++)if(e[r].maxBitrate>=t)return r;return 0}get maxAutoLevel(){const{levels:e,autoLevelCapping:t,maxHdcpLevel:n}=this;let r;if(t===-1&&e!=null&&e.length?r=e.length-1:r=t,n)for(let i=r;i--;){const s=e[i].attrs["HDCP-LEVEL"];if(s&&s<=n)return i}return r}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(e){this.abrController.nextAutoLevel=e}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}setAudioOption(e){var t;return(t=this.audioTrackController)==null?void 0:t.setAudioOption(e)}setSubtitleOption(e){var t;return(t=this.subtitleTrackController)==null||t.setSubtitleOption(e),null}get allAudioTracks(){const e=this.audioTrackController;return e?e.allAudioTracks:[]}get audioTracks(){const e=this.audioTrackController;return e?e.audioTracks:[]}get audioTrack(){const e=this.audioTrackController;return e?e.audioTrack:-1}set audioTrack(e){const t=this.audioTrackController;t&&(t.audioTrack=e)}get allSubtitleTracks(){const e=this.subtitleTrackController;return e?e.allSubtitleTracks:[]}get subtitleTracks(){const e=this.subtitleTrackController;return e?e.subtitleTracks:[]}get subtitleTrack(){const e=this.subtitleTrackController;return e?e.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(e){const t=this.subtitleTrackController;t&&(t.subtitleTrack=e)}get subtitleDisplay(){const e=this.subtitleTrackController;return e?e.subtitleDisplay:!1}set subtitleDisplay(e){const t=this.subtitleTrackController;t&&(t.subtitleDisplay=e)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(e){this.config.lowLatencyMode=e}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}}Ys.defaultConfig=void 0},16722:function(en,et,f){"use strict";f.d(et,{Z:function(){return Se}});const y=a=>typeof a=="object"&&a!=null&&a.nodeType===1,L=(a,I)=>(!I||a!=="hidden")&&a!=="visible"&&a!=="clip",ee=(a,I)=>{if(a.clientHeight<a.scrollHeight||a.clientWidth<a.scrollWidth){const z=getComputedStyle(a,null);return L(z.overflowY,I)||L(z.overflowX,I)||(S=>{const u=(x=>{if(!x.ownerDocument||!x.ownerDocument.defaultView)return null;try{return x.ownerDocument.defaultView.frameElement}catch(m){return null}})(S);return!!u&&(u.clientHeight<S.scrollHeight||u.clientWidth<S.scrollWidth)})(a)}return!1},Ee=(a,I,z,S,u,x,m,P)=>x<a&&m>I||x>a&&m<I?0:x<=a&&P<=z||m>=I&&P>=z?x-a-S:m>I&&P<z||x<a&&P>z?m-I+u:0,$=a=>{const I=a.parentElement;return I==null?a.getRootNode().host||null:I},q=(a,I)=>{var z,S,u,x;if(typeof document=="undefined")return[];const{scrollMode:m,block:P,inline:ue,boundary:B,skipOverflowHiddenElements:W}=I,ne=typeof B=="function"?B:Oe=>Oe!==B;if(!y(a))throw new TypeError("Invalid target");const Y=document.scrollingElement||document.documentElement,b=[];let R=a;for(;y(R)&&ne(R);){if(R=$(R),R===Y){b.push(R);break}R!=null&&R===document.body&&ee(R)&&!ee(document.documentElement)||R!=null&&ee(R,W)&&b.push(R)}const Z=(S=(z=window.visualViewport)==null?void 0:z.width)!=null?S:innerWidth,j=(x=(u=window.visualViewport)==null?void 0:u.height)!=null?x:innerHeight,{scrollX:he,scrollY:me}=window,{height:fe,width:ae,top:te,right:U,bottom:pe,left:Q}=a.getBoundingClientRect(),{top:de,right:ie,bottom:v,left:_}=(Oe=>{const Ie=window.getComputedStyle(Oe);return{top:parseFloat(Ie.scrollMarginTop)||0,right:parseFloat(Ie.scrollMarginRight)||0,bottom:parseFloat(Ie.scrollMarginBottom)||0,left:parseFloat(Ie.scrollMarginLeft)||0}})(a);let V=P==="start"||P==="nearest"?te-de:P==="end"?pe+v:te+fe/2-de+v,J=ue==="center"?Q+ae/2-_+ie:ue==="end"?U+ie:Q-_;const Le=[];for(let Oe=0;Oe<b.length;Oe++){const Ie=b[Oe],{height:Ze,width:ut,top:ct,right:it,bottom:Nt,left:qt}=Ie.getBoundingClientRect();if(m==="if-needed"&&te>=0&&Q>=0&&pe<=j&&U<=Z&&(Ie===Y&&!ee(Ie)||te>=ct&&pe<=Nt&&Q>=qt&&U<=it))return Le;const nn=getComputedStyle(Ie),Dt=parseInt(nn.borderLeftWidth,10),$t=parseInt(nn.borderTopWidth,10),ot=parseInt(nn.borderRightWidth,10),se=parseInt(nn.borderBottomWidth,10);let be=0,H=0;const O="offsetWidth"in Ie?Ie.offsetWidth-Ie.clientWidth-Dt-ot:0,xe="offsetHeight"in Ie?Ie.offsetHeight-Ie.clientHeight-$t-se:0,k="offsetWidth"in Ie?Ie.offsetWidth===0?0:ut/Ie.offsetWidth:0,E="offsetHeight"in Ie?Ie.offsetHeight===0?0:Ze/Ie.offsetHeight:0;if(Y===Ie)be=P==="start"?V:P==="end"?V-j:P==="nearest"?Ee(me,me+j,j,$t,se,me+V,me+V+fe,fe):V-j/2,H=ue==="start"?J:ue==="center"?J-Z/2:ue==="end"?J-Z:Ee(he,he+Z,Z,Dt,ot,he+J,he+J+ae,ae),be=Math.max(0,be+me),H=Math.max(0,H+he);else{be=P==="start"?V-ct-$t:P==="end"?V-Nt+se+xe:P==="nearest"?Ee(ct,Nt,Ze,$t,se+xe,V,V+fe,fe):V-(ct+Ze/2)+xe/2,H=ue==="start"?J-qt-Dt:ue==="center"?J-(qt+ut/2)+O/2:ue==="end"?J-it+ot+O:Ee(qt,it,ut,Dt,ot+O,J,J+ae,ae);const{scrollLeft:T,scrollTop:X}=Ie;be=E===0?0:Math.max(0,Math.min(X+be/E,Ie.scrollHeight-Ze/E+xe)),H=k===0?0:Math.max(0,Math.min(T+H/k,Ie.scrollWidth-ut/k+O)),V+=X-be,J+=T-H}Le.push({el:Ie,top:be,left:H})}return Le},C=a=>a===!1?{block:"end",inline:"nearest"}:(I=>I===Object(I)&&Object.keys(I).length!==0)(a)?a:{block:"start",inline:"nearest"};function Se(a,I){if(!a.isConnected||!(u=>{let x=u;for(;x&&x.parentNode;){if(x.parentNode===document)return!0;x=x.parentNode instanceof ShadowRoot?x.parentNode.host:x.parentNode}return!1})(a))return;const z=(u=>{const x=window.getComputedStyle(u);return{top:parseFloat(x.scrollMarginTop)||0,right:parseFloat(x.scrollMarginRight)||0,bottom:parseFloat(x.scrollMarginBottom)||0,left:parseFloat(x.scrollMarginLeft)||0}})(a);if((u=>typeof u=="object"&&typeof u.behavior=="function")(I))return I.behavior(q(a,I));const S=typeof I=="boolean"||I==null?void 0:I.behavior;for(const{el:u,top:x,left:m}of q(a,C(I))){const P=x-z.top+z.bottom,ue=m-z.left+z.right;u.scroll({top:P,left:ue,behavior:S})}}}}]);
}());