|
|
!(function(){var xl=Math.pow;(self.webpackChunk=self.webpackChunk||[]).push([[8143],{70557:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return xe}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(I,K){return L.createElement($.Z,(0,y.Z)({},I,{ref:K,icon:Ee}))},C=L.forwardRef(q),xe=C},89489:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return xe}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(I,K){return L.createElement($.Z,(0,y.Z)({},I,{ref:K,icon:Ee}))},C=L.forwardRef(q),xe=C},59477:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return xe}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(I,K){return L.createElement($.Z,(0,y.Z)({},I,{ref:K,icon:Ee}))},C=L.forwardRef(q),xe=C},40001:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return xe}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(I,K){return L.createElement($.Z,(0,y.Z)({},I,{ref:K,icon:Ee}))},C=L.forwardRef(q),xe=C},49198:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return xe}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(I,K){return L.createElement($.Z,(0,y.Z)({},I,{ref:K,icon:Ee}))},C=L.forwardRef(q),xe=C},84105:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return xe}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(I,K){return L.createElement($.Z,(0,y.Z)({},I,{ref:K,icon:Ee}))},C=L.forwardRef(q),xe=C},18785:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return xe}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(I,K){return L.createElement($.Z,(0,y.Z)({},I,{ref:K,icon:Ee}))},C=L.forwardRef(q),xe=C},73331:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return xe}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(I,K){return L.createElement($.Z,(0,y.Z)({},I,{ref:K,icon:Ee}))},C=L.forwardRef(q),xe=C},15277:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return xe}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(I,K){return L.createElement($.Z,(0,y.Z)({},I,{ref:K,icon:Ee}))},C=L.forwardRef(q),xe=C},52671:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return xe}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(I,K){return L.createElement($.Z,(0,y.Z)({},I,{ref:K,icon:Ee}))},C=L.forwardRef(q),xe=C},8657:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return xe}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(I,K){return L.createElement($.Z,(0,y.Z)({},I,{ref:K,icon:Ee}))},C=L.forwardRef(q),xe=C},56082:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return xe}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(I,K){return L.createElement($.Z,(0,y.Z)({},I,{ref:K,icon:Ee}))},C=L.forwardRef(q),xe=C},33853:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return xe}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(I,K){return L.createElement($.Z,(0,y.Z)({},I,{ref:K,icon:Ee}))},C=L.forwardRef(q),xe=C},15075:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return xe}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(I,K){return L.createElement($.Z,(0,y.Z)({},I,{ref:K,icon:Ee}))},C=L.forwardRef(q),xe=C},43531:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return xe}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(I,K){return L.createElement($.Z,(0,y.Z)({},I,{ref:K,icon:Ee}))},C=L.forwardRef(q),xe=C},61485:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return xe}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(I,K){return L.createElement($.Z,(0,y.Z)({},I,{ref:K,icon:Ee}))},C=L.forwardRef(q),xe=C},38819:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return xe}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(I,K){return L.createElement($.Z,(0,y.Z)({},I,{ref:K,icon:Ee}))},C=L.forwardRef(q),xe=C},47472:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return xe}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(I,K){return L.createElement($.Z,(0,y.Z)({},I,{ref:K,icon:Ee}))},C=L.forwardRef(q),xe=C},35593:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return _t}});var y=f(44127),L=f(72071),X=f(6620),Ee=f(43403),$=f(92310),q=f.n($),C=f(29301),xe=f(76846),a=f(96452),I=f(6089),K=f(80402),S=f(34280),u=f(49658),x=f(59301),m=f(96663),P=f(77900),ue=f(8654);function U(se){var ye=se.prefixCls,H=se.align,O=se.arrow,Ae=se.arrowPos,k=O||{},_=k.className,T=k.content,ee=Ae.x,W=ee===void 0?0:ee,j=Ae.y,_e=j===void 0?0:j,Ke=x.useRef();if(!H||!H.points)return null;var De={position:"absolute"};if(H.autoArrow!==!1){var Oe=H.points[0],Ye=H.points[1],Je=Oe[0],Ge=Oe[1],yt=Ye[0],xt=Ye[1];Je===yt||!["t","b"].includes(Je)?De.top=_e:Je==="t"?De.top=0:De.bottom=0,Ge===xt||!["l","r"].includes(Ge)?De.left=W:Ge==="l"?De.left=0:De.right=0}return x.createElement("div",{ref:Ke,className:q()("".concat(ye,"-arrow"),_),style:De},T)}function V(se){var ye=se.prefixCls,H=se.open,O=se.zIndex,Ae=se.mask,k=se.motion;return Ae?x.createElement(P.default,(0,m.Z)({},k,{motionAppear:!0,visible:H,removeOnLeave:!0}),function(_){var T=_.className;return x.createElement("div",{style:{zIndex:O},className:q()("".concat(ye,"-mask"),T)})}):null}var ne=x.memo(function(se){var ye=se.children;return ye},function(se,ye){return ye.cache}),Q=ne,b=x.forwardRef(function(se,ye){var H=se.popup,O=se.className,Ae=se.prefixCls,k=se.style,_=se.target,T=se.onVisibleChanged,ee=se.open,W=se.keepDom,j=se.fresh,_e=se.onClick,Ke=se.mask,De=se.arrow,Oe=se.arrowPos,Ye=se.align,Je=se.motion,Ge=se.maskMotion,yt=se.forceRender,xt=se.getPopupContainer,dt=se.autoDestroy,kt=se.portal,Tt=se.zIndex,w=se.onMouseEnter,D=se.onMouseLeave,bt=se.onPointerEnter,he=se.ready,Be=se.offsetX,pn=se.offsetY,We=se.offsetR,et=se.offsetB,Xe=se.onAlign,Se=se.onPrepare,Ie=se.stretch,ze=se.targetWidth,qe=se.targetHeight,be=typeof H=="function"?H():H,en=ee||W,$e=(xt==null?void 0:xt.length)>0,bn=x.useState(!xt||!$e),Cn=(0,L.Z)(bn,2),jt=Cn[0],Jt=Cn[1];if((0,S.Z)(function(){!jt&&$e&&_&&Jt(!0)},[jt,$e,_]),!jt)return null;var wt="auto",Pt={left:"-1000vw",top:"-1000vh",right:wt,bottom:wt};if(he||!ee){var Ve,At=Ye.points,St=Ye.dynamicInset||((Ve=Ye._experimental)===null||Ve===void 0?void 0:Ve.dynamicInset),Ue=St&&At[0][1]==="r",Ce=St&&At[0][0]==="b";Ue?(Pt.right=We,Pt.left=wt):(Pt.left=Be,Pt.right=wt),Ce?(Pt.bottom=et,Pt.top=wt):(Pt.top=pn,Pt.bottom=wt)}var mt={};return Ie&&(Ie.includes("height")&&qe?mt.height=qe:Ie.includes("minHeight")&&qe&&(mt.minHeight=qe),Ie.includes("width")&&ze?mt.width=ze:Ie.includes("minWidth")&&ze&&(mt.minWidth=ze)),ee||(mt.pointerEvents="none"),x.createElement(kt,{open:yt||en,getContainer:xt&&function(){return xt(_)},autoDestroy:dt},x.createElement(V,{prefixCls:Ae,open:ee,zIndex:Tt,mask:Ke,motion:Ge}),x.createElement(C.Z,{onResize:Xe,disabled:!ee},function(pt){return x.createElement(P.default,(0,m.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:yt,leavedClassName:"".concat(Ae,"-hidden")},Je,{onAppearPrepare:Se,onEnterPrepare:Se,visible:ee,onVisibleChanged:function(zt){var tn;Je==null||(tn=Je.onVisibleChanged)===null||tn===void 0||tn.call(Je,zt),T(zt)}}),function(Dt,zt){var tn=Dt.className,Ht=Dt.style,sn=q()(Ae,tn,O);return x.createElement("div",{ref:(0,ue.sQ)(pt,ye,zt),className:sn,style:(0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)({"--arrow-x":"".concat(Oe.x||0,"px"),"--arrow-y":"".concat(Oe.y||0,"px")},Pt),mt),Ht),{},{boxSizing:"border-box",zIndex:Tt},k),onMouseEnter:w,onMouseLeave:D,onPointerEnter:bt,onClick:_e},De&&x.createElement(U,{prefixCls:Ae,arrow:De,arrowPos:Oe,align:Ye}),x.createElement(Q,{cache:!ee&&!j},be))})}))}),R=b,Z=x.forwardRef(function(se,ye){var H=se.children,O=se.getTriggerDOMNode,Ae=(0,ue.Yr)(H),k=x.useCallback(function(T){(0,ue.mH)(ye,O?O(T):T)},[O]),_=(0,ue.x1)(k,H.ref);return Ae?x.cloneElement(H,{ref:_}):H}),z=Z,pe=x.createContext(null),me=pe;function de(se){return se?Array.isArray(se)?se:[se]:[]}function ae(se,ye,H,O){return x.useMemo(function(){var Ae=de(H!=null?H:ye),k=de(O!=null?O:ye),_=new Set(Ae),T=new Set(k);return se&&(_.has("hover")&&(_.delete("hover"),_.add("click")),T.has("hover")&&(T.delete("hover"),T.add("click"))),[_,T]},[se,ye,H,O])}var te=f(29194);function B(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],H=arguments.length>2?arguments[2]:void 0;return H?se[0]===ye[0]:se[0]===ye[0]&&se[1]===ye[1]}function fe(se,ye,H,O){for(var Ae=H.points,k=Object.keys(se),_=0;_<k.length;_+=1){var T,ee=k[_];if(B((T=se[ee])===null||T===void 0?void 0:T.points,Ae,O))return"".concat(ye,"-placement-").concat(ee)}return""}function Y(se,ye,H,O){return ye||(H?{motionName:"".concat(se,"-").concat(H)}:O?{motionName:O}:null)}function ce(se){return se.ownerDocument.defaultView}function ie(se){for(var ye=[],H=se==null?void 0:se.parentElement,O=["hidden","scroll","clip","auto"];H;){var Ae=ce(H).getComputedStyle(H),k=Ae.overflowX,_=Ae.overflowY,T=Ae.overflow;[k,_,T].some(function(ee){return O.includes(ee)})&&ye.push(H),H=H.parentElement}return ye}function g(se){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(se)?ye:se}function E(se){return g(parseFloat(se),0)}function G(se,ye){var H=(0,y.Z)({},se);return(ye||[]).forEach(function(O){if(!(O instanceof HTMLBodyElement||O instanceof HTMLHtmlElement)){var Ae=ce(O).getComputedStyle(O),k=Ae.overflow,_=Ae.overflowClipMargin,T=Ae.borderTopWidth,ee=Ae.borderBottomWidth,W=Ae.borderLeftWidth,j=Ae.borderRightWidth,_e=O.getBoundingClientRect(),Ke=O.offsetHeight,De=O.clientHeight,Oe=O.offsetWidth,Ye=O.clientWidth,Je=E(T),Ge=E(ee),yt=E(W),xt=E(j),dt=g(Math.round(_e.width/Oe*1e3)/1e3),kt=g(Math.round(_e.height/Ke*1e3)/1e3),Tt=(Oe-Ye-yt-xt)*dt,w=(Ke-De-Je-Ge)*kt,D=Je*kt,bt=Ge*kt,he=yt*dt,Be=xt*dt,pn=0,We=0;if(k==="clip"){var et=E(_);pn=et*dt,We=et*kt}var Xe=_e.x+he-pn,Se=_e.y+D-We,Ie=Xe+_e.width+2*pn-he-Be-Tt,ze=Se+_e.height+2*We-D-bt-w;H.left=Math.max(H.left,Xe),H.top=Math.max(H.top,Se),H.right=Math.min(H.right,Ie),H.bottom=Math.min(H.bottom,ze)}}),H}function J(se){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,H="".concat(ye),O=H.match(/^(.*)\%$/);return O?se*(parseFloat(O[1])/100):parseFloat(H)}function Le(se,ye){var H=ye||[],O=(0,L.Z)(H,2),Ae=O[0],k=O[1];return[J(se.width,Ae),J(se.height,k)]}function ke(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[se[0],se[1]]}function Fe(se,ye){var H=ye[0],O=ye[1],Ae,k;return H==="t"?k=se.y:H==="b"?k=se.y+se.height:k=se.y+se.height/2,O==="l"?Ae=se.x:O==="r"?Ae=se.x+se.width:Ae=se.x+se.width/2,{x:Ae,y:k}}function Ze(se,ye){var H={t:"b",b:"t",l:"r",r:"l"};return se.map(function(O,Ae){return Ae===ye?H[O]||"c":O}).join("")}function lt(se,ye,H,O,Ae,k,_){var T=x.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Ae[O]||{}}),ee=(0,L.Z)(T,2),W=ee[0],j=ee[1],_e=x.useRef(0),Ke=x.useMemo(function(){return ye?ie(ye):[]},[ye]),De=x.useRef({}),Oe=function(){De.current={}};se||Oe();var Ye=(0,I.Z)(function(){if(ye&&H&&se){let dr=function(Pr,Yr){var Pi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:sn,yi=be.x+Pr,Ii=be.y+Yr,Ui=yi+Ve,va=Ii+Pt,wa=Math.max(yi,Pi.left),Wa=Math.max(Ii,Pi.top),da=Math.min(Ui,Pi.right),fa=Math.min(va,Pi.bottom);return Math.max(0,(da-wa)*(fa-Wa))},Vn=function(){Kn=be.y+En,ur=Kn+Pt,wr=be.x+wn,Rr=wr+Ve};var yt,xt,dt=ye,kt=dt.ownerDocument,Tt=ce(dt),w=Tt.getComputedStyle(dt),D=w.width,bt=w.height,he=w.position,Be=dt.style.left,pn=dt.style.top,We=dt.style.right,et=dt.style.bottom,Xe=dt.style.overflow,Se=(0,y.Z)((0,y.Z)({},Ae[O]),k),Ie=kt.createElement("div");(yt=dt.parentElement)===null||yt===void 0||yt.appendChild(Ie),Ie.style.left="".concat(dt.offsetLeft,"px"),Ie.style.top="".concat(dt.offsetTop,"px"),Ie.style.position=he,Ie.style.height="".concat(dt.offsetHeight,"px"),Ie.style.width="".concat(dt.offsetWidth,"px"),dt.style.left="0",dt.style.top="0",dt.style.right="auto",dt.style.bottom="auto",dt.style.overflow="hidden";var ze;if(Array.isArray(H))ze={x:H[0],y:H[1],width:0,height:0};else{var qe=H.getBoundingClientRect();ze={x:qe.x,y:qe.y,width:qe.width,height:qe.height}}var be=dt.getBoundingClientRect(),en=kt.documentElement,$e=en.clientWidth,bn=en.clientHeight,Cn=en.scrollWidth,jt=en.scrollHeight,Jt=en.scrollTop,wt=en.scrollLeft,Pt=be.height,Ve=be.width,At=ze.height,St=ze.width,Ue={left:0,top:0,right:$e,bottom:bn},Ce={left:-wt,top:-Jt,right:Cn-wt,bottom:jt-Jt},mt=Se.htmlRegion,pt="visible",Dt="visibleFirst";mt!=="scroll"&&mt!==Dt&&(mt=pt);var zt=mt===Dt,tn=G(Ce,Ke),Ht=G(Ue,Ke),sn=mt===pt?Ht:tn,dn=zt?Ht:sn;dt.style.left="auto",dt.style.top="auto",dt.style.right="0",dt.style.bottom="0";var Mt=dt.getBoundingClientRect();dt.style.left=Be,dt.style.top=pn,dt.style.right=We,dt.style.bottom=et,dt.style.overflow=Xe,(xt=dt.parentElement)===null||xt===void 0||xt.removeChild(Ie);var Lt=g(Math.round(Ve/parseFloat(D)*1e3)/1e3),un=g(Math.round(Pt/parseFloat(bt)*1e3)/1e3);if(Lt===0||un===0||(0,xe.Sh)(H)&&!(0,te.Z)(H))return;var ln=Se.offset,hn=Se.targetOffset,An=Le(be,ln),tr=(0,L.Z)(An,2),Nn=tr[0],rn=tr[1],ht=Le(ze,hn),vt=(0,L.Z)(ht,2),It=vt[0],Vt=vt[1];ze.x-=It,ze.y-=Vt;var Nt=Se.points||[],$t=(0,L.Z)(Nt,2),Zt=$t[0],vn=$t[1],_n=ke(vn),kn=ke(Zt),qn=Fe(ze,_n),rr=Fe(be,kn),sr=(0,y.Z)({},Se),wn=qn.x-rr.x+Nn,En=qn.y-rr.y+rn,gr=dr(wn,En),$n=dr(wn,En,Ht),Cr=Fe(ze,["t","l"]),Xn=Fe(be,["t","l"]),lr=Fe(ze,["b","r"]),yr=Fe(be,["b","r"]),ir=Se.overflow||{},Fr=ir.adjustX,qr=ir.adjustY,Jn=ir.shiftX,Rn=ir.shiftY,at=function(Yr){return typeof Yr=="boolean"?Yr:Yr>=0},Kn,ur,wr,Rr;Vn();var Nr=at(qr),zr=kn[0]===_n[0];if(Nr&&kn[0]==="t"&&(ur>dn.bottom||De.current.bt)){var vr=En;zr?vr-=Pt-At:vr=Cr.y-yr.y-rn;var Hr=dr(wn,vr),Hn=dr(wn,vr,Ht);Hr>gr||Hr===gr&&(!zt||Hn>=$n)?(De.current.bt=!0,En=vr,rn=-rn,sr.points=[Ze(kn,0),Ze(_n,0)]):De.current.bt=!1}if(Nr&&kn[0]==="b"&&(Kn<dn.top||De.current.tb)){var Tn=En;zr?Tn+=Pt-At:Tn=lr.y-Xn.y-rn;var er=dr(wn,Tn),kr=dr(wn,Tn,Ht);er>gr||er===gr&&(!zt||kr>=$n)?(De.current.tb=!0,En=Tn,rn=-rn,sr.points=[Ze(kn,0),Ze(_n,0)]):De.current.tb=!1}var Wr=at(Fr),wi=kn[1]===_n[1];if(Wr&&kn[1]==="l"&&(Rr>dn.right||De.current.rl)){var jn=wn;wi?jn-=Ve-St:jn=Cr.x-yr.x-Nn;var $r=dr(jn,En),Vr=dr(jn,En,Ht);$r>gr||$r===gr&&(!zt||Vr>=$n)?(De.current.rl=!0,wn=jn,Nn=-Nn,sr.points=[Ze(kn,1),Ze(_n,1)]):De.current.rl=!1}if(Wr&&kn[1]==="r"&&(wr<dn.left||De.current.lr)){var oi=wn;wi?oi+=Ve-St:oi=lr.x-Xn.x-Nn;var Ti=dr(oi,En),ki=dr(oi,En,Ht);Ti>gr||Ti===gr&&(!zt||ki>=$n)?(De.current.lr=!0,wn=oi,Nn=-Nn,sr.points=[Ze(kn,1),Ze(_n,1)]):De.current.lr=!1}Vn();var ei=Jn===!0?0:Jn;typeof ei=="number"&&(wr<Ht.left&&(wn-=wr-Ht.left-Nn,ze.x+St<Ht.left+ei&&(wn+=ze.x-Ht.left+St-ei)),Rr>Ht.right&&(wn-=Rr-Ht.right-Nn,ze.x>Ht.right-ei&&(wn+=ze.x-Ht.right+ei)));var gi=Rn===!0?0:Rn;typeof gi=="number"&&(Kn<Ht.top&&(En-=Kn-Ht.top-rn,ze.y+At<Ht.top+gi&&(En+=ze.y-Ht.top+At-gi)),ur>Ht.bottom&&(En-=ur-Ht.bottom-rn,ze.y>Ht.bottom-gi&&(En+=ze.y-Ht.bottom+gi)));var li=be.x+wn,Di=li+Ve,Fi=be.y+En,Vi=Fi+Pt,Ci=ze.x,Zi=Ci+St,Mr=ze.y,aa=Mr+At,ga=Math.max(li,Ci),ua=Math.min(Di,Zi),vi=(ga+ua)/2,ca=vi-li,_a=Math.max(Fi,Mr),Pn=Math.min(Vi,aa),Ni=(_a+Pn)/2,na=Ni-Fi;_==null||_(ye,sr);var cr=Mt.right-be.x-(wn+be.width),xr=Mt.bottom-be.y-(En+be.height);j({ready:!0,offsetX:wn/Lt,offsetY:En/un,offsetR:cr/Lt,offsetB:xr/un,arrowX:ca/Lt,arrowY:na/un,scaleX:Lt,scaleY:un,align:sr})}}),Je=function(){_e.current+=1;var xt=_e.current;Promise.resolve().then(function(){_e.current===xt&&Ye()})},Ge=function(){j(function(xt){return(0,y.Z)((0,y.Z)({},xt),{},{ready:!1})})};return(0,S.Z)(Ge,[O]),(0,S.Z)(function(){se||Ge()},[se]),[W.ready,W.offsetX,W.offsetY,W.offsetR,W.offsetB,W.arrowX,W.arrowY,W.scaleX,W.scaleY,W.align,Je]}var ut=f(19127);function it(se,ye,H,O,Ae){(0,S.Z)(function(){if(se&&ye&&H){let _e=function(){O(),Ae()};var k=ye,_=H,T=ie(k),ee=ie(_),W=ce(_),j=new Set([W].concat((0,ut.Z)(T),(0,ut.Z)(ee)));return j.forEach(function(Ke){Ke.addEventListener("scroll",_e,{passive:!0})}),W.addEventListener("resize",_e,{passive:!0}),O(),function(){j.forEach(function(Ke){Ke.removeEventListener("scroll",_e),W.removeEventListener("resize",_e)})}}},[se,ye,H])}var Ut=f(48736),qt=f(16089);function an(se,ye,H,O,Ae,k,_,T){var ee=x.useRef(se),W=x.useRef(!1);ee.current!==se&&(W.current=!0,ee.current=se),x.useEffect(function(){var j=(0,qt.Z)(function(){W.current=!1});return function(){qt.Z.cancel(j)}},[se]),x.useEffect(function(){if(ye&&O&&(!Ae||k)){var j=function(){var he=!1,Be=function(et){var Xe=et.target;he=_(Xe)},pn=function(et){var Xe=et.target;!W.current&&ee.current&&!he&&!_(Xe)&&T(!1)};return[Be,pn]},_e=j(),Ke=(0,L.Z)(_e,2),De=Ke[0],Oe=Ke[1],Ye=j(),Je=(0,L.Z)(Ye,2),Ge=Je[0],yt=Je[1],xt=ce(O);xt.addEventListener("mousedown",De,!0),xt.addEventListener("click",Oe,!0),xt.addEventListener("contextmenu",Oe,!0);var dt=(0,a.A)(H);if(dt&&(dt.addEventListener("mousedown",Ge,!0),dt.addEventListener("click",yt,!0),dt.addEventListener("contextmenu",yt,!0)),0)var kt,Tt,w,D;return function(){xt.removeEventListener("mousedown",De,!0),xt.removeEventListener("click",Oe,!0),xt.removeEventListener("contextmenu",Oe,!0),dt&&(dt.removeEventListener("mousedown",Ge,!0),dt.removeEventListener("click",yt,!0),dt.removeEventListener("contextmenu",yt,!0))}}},[ye,H,O,Ae,k])}var Ot=["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 ot(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ee.Z,ye=x.forwardRef(function(H,O){var Ae=H.prefixCls,k=Ae===void 0?"rc-trigger-popup":Ae,_=H.children,T=H.action,ee=T===void 0?"hover":T,W=H.showAction,j=H.hideAction,_e=H.popupVisible,Ke=H.defaultPopupVisible,De=H.onPopupVisibleChange,Oe=H.afterPopupVisibleChange,Ye=H.mouseEnterDelay,Je=H.mouseLeaveDelay,Ge=Je===void 0?.1:Je,yt=H.focusDelay,xt=H.blurDelay,dt=H.mask,kt=H.maskClosable,Tt=kt===void 0?!0:kt,w=H.getPopupContainer,D=H.forceRender,bt=H.autoDestroy,he=H.destroyPopupOnHide,Be=H.popup,pn=H.popupClassName,We=H.popupStyle,et=H.popupPlacement,Xe=H.builtinPlacements,Se=Xe===void 0?{}:Xe,Ie=H.popupAlign,ze=H.zIndex,qe=H.stretch,be=H.getPopupClassNameFromAlign,en=H.fresh,$e=H.alignPoint,bn=H.onPopupClick,Cn=H.onPopupAlign,jt=H.arrow,Jt=H.popupMotion,wt=H.maskMotion,Pt=H.popupTransitionName,Ve=H.popupAnimation,At=H.maskTransitionName,St=H.maskAnimation,Ue=H.className,Ce=H.getTriggerDOMNode,mt=(0,X.Z)(H,Ot),pt=bt||he||!1,Dt=x.useState(!1),zt=(0,L.Z)(Dt,2),tn=zt[0],Ht=zt[1];(0,S.Z)(function(){Ht((0,u.Z)())},[]);var sn=x.useRef({}),dn=x.useContext(me),Mt=x.useMemo(function(){return{registerSubPopup:function(or,Qr){sn.current[or]=Qr,dn==null||dn.registerSubPopup(or,Qr)}}},[dn]),Lt=(0,K.Z)(),un=x.useState(null),ln=(0,L.Z)(un,2),hn=ln[0],An=ln[1],tr=(0,I.Z)(function(fr){(0,xe.Sh)(fr)&&hn!==fr&&An(fr),dn==null||dn.registerSubPopup(Lt,fr)}),Nn=x.useState(null),rn=(0,L.Z)(Nn,2),ht=rn[0],vt=rn[1],It=x.useRef(null),Vt=(0,I.Z)(function(fr){(0,xe.Sh)(fr)&&ht!==fr&&(vt(fr),It.current=fr)}),Nt=x.Children.only(_),$t=(Nt==null?void 0:Nt.props)||{},Zt={},vn=(0,I.Z)(function(fr){var or,Qr,Ki=ht;return(Ki==null?void 0:Ki.contains(fr))||((or=(0,a.A)(Ki))===null||or===void 0?void 0:or.host)===fr||fr===Ki||(hn==null?void 0:hn.contains(fr))||((Qr=(0,a.A)(hn))===null||Qr===void 0?void 0:Qr.host)===fr||fr===hn||Object.values(sn.current).some(function(ui){return(ui==null?void 0:ui.contains(fr))||fr===ui})}),_n=Y(k,Jt,Ve,Pt),kn=Y(k,wt,St,At),qn=x.useState(Ke||!1),rr=(0,L.Z)(qn,2),sr=rr[0],wn=rr[1],En=_e!=null?_e:sr,gr=(0,I.Z)(function(fr){_e===void 0&&wn(fr)});(0,S.Z)(function(){wn(_e||!1)},[_e]);var $n=x.useRef(En);$n.current=En;var Cr=x.useRef([]);Cr.current=[];var Xn=(0,I.Z)(function(fr){var or;gr(fr),((or=Cr.current[Cr.current.length-1])!==null&&or!==void 0?or:En)!==fr&&(Cr.current.push(fr),De==null||De(fr))}),lr=x.useRef(),yr=function(){clearTimeout(lr.current)},ir=function(or){var Qr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;yr(),Qr===0?Xn(or):lr.current=setTimeout(function(){Xn(or)},Qr*1e3)};x.useEffect(function(){return yr},[]);var Fr=x.useState(!1),qr=(0,L.Z)(Fr,2),Jn=qr[0],Rn=qr[1];(0,S.Z)(function(fr){(!fr||En)&&Rn(!0)},[En]);var at=x.useState(null),Kn=(0,L.Z)(at,2),ur=Kn[0],wr=Kn[1],Rr=x.useState([0,0]),Nr=(0,L.Z)(Rr,2),zr=Nr[0],vr=Nr[1],Hr=function(or){vr([or.clientX,or.clientY])},Hn=lt(En,hn,$e?zr:ht,et,Se,Ie,Cn),Tn=(0,L.Z)(Hn,11),er=Tn[0],kr=Tn[1],Wr=Tn[2],wi=Tn[3],jn=Tn[4],$r=Tn[5],Vr=Tn[6],oi=Tn[7],Ti=Tn[8],ki=Tn[9],ei=Tn[10],gi=ae(tn,ee,W,j),li=(0,L.Z)(gi,2),Di=li[0],Fi=li[1],Vi=Di.has("click"),Ci=Fi.has("click")||Fi.has("contextMenu"),Zi=(0,I.Z)(function(){Jn||ei()}),Mr=function(){$n.current&&$e&&Ci&&ir(!1)};it(En,ht,hn,Zi,Mr),(0,S.Z)(function(){Zi()},[zr,et]),(0,S.Z)(function(){En&&!(Se!=null&&Se[et])&&Zi()},[JSON.stringify(Ie)]);var aa=x.useMemo(function(){var fr=fe(Se,k,ki,$e);return q()(fr,be==null?void 0:be(ki))},[ki,be,Se,k,$e]);x.useImperativeHandle(O,function(){return{nativeElement:It.current,forceAlign:Zi}});var ga=x.useState(0),ua=(0,L.Z)(ga,2),vi=ua[0],ca=ua[1],_a=x.useState(0),Pn=(0,L.Z)(_a,2),Ni=Pn[0],na=Pn[1],cr=function(){if(qe&&ht){var or=ht.getBoundingClientRect();ca(or.width),na(or.height)}},xr=function(){cr(),Zi()},dr=function(or){Rn(!1),ei(),Oe==null||Oe(or)},Vn=function(){return new Promise(function(or){cr(),wr(function(){return or})})};(0,S.Z)(function(){ur&&(ei(),ur(),wr(null))},[ur]);function Pr(fr,or,Qr,Ki){Zt[fr]=function(ui){var sa;Ki==null||Ki(ui),ir(or,Qr);for(var Va=arguments.length,Ha=new Array(Va>1?Va-1:0),ya=1;ya<Va;ya++)Ha[ya-1]=arguments[ya];(sa=$t[fr])===null||sa===void 0||sa.call.apply(sa,[$t,ui].concat(Ha))}}(Vi||Ci)&&(Zt.onClick=function(fr){var or;$n.current&&Ci?ir(!1):!$n.current&&Vi&&(Hr(fr),ir(!0));for(var Qr=arguments.length,Ki=new Array(Qr>1?Qr-1:0),ui=1;ui<Qr;ui++)Ki[ui-1]=arguments[ui];(or=$t.onClick)===null||or===void 0||or.call.apply(or,[$t,fr].concat(Ki))}),an(En,Ci,ht,hn,dt,Tt,vn,ir);var Yr=Di.has("hover"),Pi=Fi.has("hover"),yi,Ii;Yr&&(Pr("onMouseEnter",!0,Ye,function(fr){Hr(fr)}),Pr("onPointerEnter",!0,Ye,function(fr){Hr(fr)}),yi=function(or){(En||Jn)&&hn!==null&&hn!==void 0&&hn.contains(or.target)&&ir(!0,Ye)},$e&&(Zt.onMouseMove=function(fr){var or;(or=$t.onMouseMove)===null||or===void 0||or.call($t,fr)})),Pi&&(Pr("onMouseLeave",!1,Ge),Pr("onPointerLeave",!1,Ge),Ii=function(){ir(!1,Ge)}),Di.has("focus")&&Pr("onFocus",!0,yt),Fi.has("focus")&&Pr("onBlur",!1,xt),Di.has("contextMenu")&&(Zt.onContextMenu=function(fr){var or;$n.current&&Fi.has("contextMenu")?ir(!1):(Hr(fr),ir(!0)),fr.preventDefault();for(var Qr=arguments.length,Ki=new Array(Qr>1?Qr-1:0),ui=1;ui<Qr;ui++)Ki[ui-1]=arguments[ui];(or=$t.onContextMenu)===null||or===void 0||or.call.apply(or,[$t,fr].concat(Ki))}),Ue&&(Zt.className=q()($t.className,Ue));var Ui=(0,y.Z)((0,y.Z)({},$t),Zt),va={},wa=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];wa.forEach(function(fr){mt[fr]&&(va[fr]=function(){for(var or,Qr=arguments.length,Ki=new Array(Qr),ui=0;ui<Qr;ui++)Ki[ui]=arguments[ui];(or=Ui[fr])===null||or===void 0||or.call.apply(or,[Ui].concat(Ki)),mt[fr].apply(mt,Ki)})});var Wa=x.cloneElement(Nt,(0,y.Z)((0,y.Z)({},Ui),va)),da={x:$r,y:Vr},fa=jt?(0,y.Z)({},jt!==!0?jt:{}):null;return x.createElement(x.Fragment,null,x.createElement(C.Z,{disabled:!En,ref:Vt,onResize:xr},x.createElement(z,{getTriggerDOMNode:Ce},Wa)),x.createElement(me.Provider,{value:Mt},x.createElement(R,{portal:se,ref:tr,prefixCls:k,popup:Be,className:q()(pn,aa),style:We,target:ht,onMouseEnter:yi,onMouseLeave:Ii,onPointerEnter:yi,zIndex:ze,open:En,keepDom:Jn,fresh:en,onClick:bn,mask:dt,motion:_n,maskMotion:kn,onVisibleChanged:dr,onPrepare:Vn,forceRender:D,autoDestroy:pt,getPopupContainer:w,align:ki,arrow:fa,arrowPos:da,ready:er,offsetX:kr,offsetY:Wr,offsetR:wi,offsetB:jn,onAlign:Zi,stretch:qe,targetWidth:vi/oi,targetHeight:Ni/Ti})))});return ye}var _t=ot(Ee.Z)},50304:function(){"use strict"},59155:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return u}});var y=f(59301),L=f(8591),X=f(92832),Ee={codeBox:"codeBox___WpkVl"},$=f(92310),q=f.n($),C=Object.defineProperty,xe=(x,m,P)=>m in x?C(x,m,{enumerable:!0,configurable:!0,writable:!0,value:P}):x[m]=P,a=(x,m,P)=>xe(x,typeof m!="symbol"?m+"":m,P),I=(x,m,P)=>new Promise((ue,U)=>{var V=b=>{try{Q(P.next(b))}catch(R){U(R)}},ne=b=>{try{Q(P.throw(b))}catch(R){U(R)}},Q=b=>b.done?ue(b.value):Promise.resolve(b.value).then(V,ne);Q((P=P.apply(x,m)).next())});class K 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),U=this.randomNum(m,P),V=this.randomNum(m,P);return`rgb(${ue}, ${U}, ${V})`}drawText(m,P,ue){m.fillStyle=this.randomColor(this.state.colorMin,this.state.colorMax);const U=this.randomNum(this.state.fontSizeMin,this.state.fontSizeMax);m.font=U+"px SimHei";const V=10,ne=(this.state.contentWidth-40)/(this.state.code.length-1);let Q=V;ue>0&&(Q=V+ue*ne);let b=this.randomNum(this.state.fontSizeMax,this.state.contentHeight-5);U>40&&(b=40);const R=this.randomNum(-10,10);m.translate(Q,b),m.rotate(R*Math.PI/180),m.fillText(P,0,0),m.rotate(-R*Math.PI/180),m.translate(-Q,-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 U=Math.floor(Math.random()*57);m+=P[U]}this.setState({code:m},()=>{const U=this.canvas.current.getContext("2d");U.textBaseline="bottom",U.fillStyle=this.randomColor(this.state.backgroundColorMin,this.state.backgroundColorMax),U.fillRect(0,0,this.state.contentWidth,this.state.contentHeight);for(let V=0;V<this.state.code.length;V++)this.drawText(U,this.state.code[V],V);this.drawLine(U),this.drawDot(U)})}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(X.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(K,{ref:ue=>P=ue})),onOk:()=>I(void 0,null,function*(){if(P.onVerify())return Promise.reject();x()})})};var u=K},8797:function(nn,nt,f){"use strict";var y=f(59301),L=f(93314),X=f(3113),Ee=Object.defineProperty,$=Object.defineProperties,q=Object.getOwnPropertyDescriptors,C=Object.getOwnPropertySymbols,xe=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,K=(x,m)=>{for(var P in m||(m={}))xe.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:U,ButtonClick:V,Buttonclass:ne,ButtonTwo:Q,imgStyles:b,loading:R=!1})=>y.createElement("section",{className:"tc animated fadeIn",style:K(K({},{color:"#999",margin:"100px auto",visibility:R?"hidden":"visible"}),P)},y.createElement("img",{src:x||L,style:S(K({},b),{pointerEvents:"none",userSelect:"none"})}),y.createElement("p",{className:"mt20 font14"},ue||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),U&&y.createElement(X.ZP,K({className:ne,onClick:V},m),U),Q&&Q);nt.Z=u},23210:function(nn,nt,f){"use strict";f.d(nt,{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"},X=f(3113),Ee=f(70557),$=f(23954),q=f(6848),C=f(955),xe=f(94941),a=f(8797),I=f(3294),K=f(19381),S=f(59301),u=Object.defineProperty,x=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,ue=(Q,b,R)=>b in Q?u(Q,b,{enumerable:!0,configurable:!0,writable:!0,value:R}):Q[b]=R,U=(Q,b)=>{for(var R in b||(b={}))m.call(b,R)&&ue(Q,R,b[R]);if(x)for(var R of x(b))P.call(b,R)&&ue(Q,R,b[R]);return Q},V=(Q,b,R)=>new Promise((Z,z)=>{var pe=ae=>{try{de(R.next(ae))}catch(te){z(te)}},me=ae=>{try{de(R.throw(ae))}catch(te){z(te)}},de=ae=>ae.done?Z(ae.value):Promise.resolve(ae.value).then(pe,me);de((R=R.apply(Q,b)).next())}),ne=({editOffice:Q="view",data:b,theme:R,type:Z,filename:z,monacoEditor:pe,className:me,style:de,close:ae,onClose:te,hasMask:B,disabledDownload:fe,onImgDimensions:Y,showNodata:ce,recordInfo:ie})=>{const[g,E]=(0,y.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[G,J]=(0,y.useState)(""),[Le,ke]=(0,y.useState)(),Fe=window.ENV==="build"?"/react/build":"",Ze=location.host.startsWith("localhost")?I.Z.PROXY_SERVER:I.Z.API_SERVER,ut=10*(1024*1024),it=(0,y.useRef)();b!=null&&b.startsWith("/api")&&Z!=="txt"&&(b=I.Z.API_SERVER+b);const Ut=ot=>ot.substring(ot.lastIndexOf("/")+1).split(".").pop();z&&pe&&(pe.filename=z),(0,y.useEffect)(()=>{var ot,_t;const se=(_t=(ot=document.cookie)==null?void 0:ot.replace(/\s/g,""))==null?void 0:_t.split(";");se==null||se.map(ye=>{let H=ye.split("=");H[0]==="_educoder_session"&&J(H[1])})},[]),(0,y.useEffect)(()=>{Z==="office"&&(b.indexOf("bigfilescdn.")>-1||b.indexOf("bigfiles1")>-1?ke({url:b,fileType:Ut(b),model:b.indexOf("model=edit")?"edit":"view"}):qt())},[Z,b]);const qt=()=>V(void 0,null,function*(){console.log("data:",b);let ot=b;b.startsWith("http")||(ot=location.origin+ot);let _t=new URL(ot).pathname.split("/").pop();const se=yield(0,xe.gJ)({attachment_id:_t});se.url=Ze+se.url,ke(se)}),an=()=>{if(b.startsWith("http")||b.startsWith("blob:")){Ot();return}(0,C.Sv)(z||"educoder",b,z)},Ot=()=>{ie&&(0,K.fc)({id:ie==null?void 0:ie.id,watch_type:1,course_id:ie==null?void 0:ie.course_id}),(0,C.Nd)(z||"educoder",decodeURIComponent(b))};return S.createElement("div",{style:U({},de||{}),className:`${B&&L.bgBlack} ${Z?L.wrp:"hide"}`},ae&&S.createElement("div",{className:L.close,ref:it},!!Y&&S.createElement(q.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>it.current},S.createElement("span",{onClick:()=>{te(),Y()}},S.createElement("i",{className:"icon-yulanpizhu"}))),!fe&&S.createElement(q.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>it.current},S.createElement("span",{onClick:Ot},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,U({},pe)))),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:`${Fe}/office.html?key=${Le.key}&url=${btoa(Le.url)}&callbackUrl=${Ze+(Le.callbackUrl||"")}&fileType=${Le.fileType}&title=${Le.title||""}&model=${Q}&officeServer=${I.Z.ONLYOFFICE}&disabledDownload=${!!fe}`}),Z==="html"&&S.createElement("iframe",{src:b+"&disposition=inline"}),Z==="pdf"&&S.createElement("iframe",{src:`${Fe}/js/pdfview/index.html?filename=${z||"educoder.pdf"}&url=${encodeURIComponent(b)}&disabledDownload=${!!fe}`}),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,ce?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(X.ZP,{icon:S.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:an,disabled:fe},"\u4E0B\u8F7D")}):S.createElement(X.ZP,{type:"primary",size:"middle",onClick:an,disabled:fe},S.createElement(Ee.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},85149:function(nn,nt,f){"use strict";f.d(nt,{z:function(){return Z},Z:function(){return z}});var y=f(59301),L=f(50304),X=f(24768),Ee=f(64018),$=f(40846),q=f(3294),C=f(955),xe=f(15342),a=f(1012),I=f(23210),K=f(59301),u=({html:pe})=>{const me=(0,y.useRef)(null),de=(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"});de.current=document.createElement("div"),de.current.className="markdown-body",de.current.innerHTML=pe,te.appendChild(de.current);const B=document.createElement("style");return B.textContent=ae,te.appendChild(B),()=>{te.innerHTML=""}},[]),(0,y.useEffect)(()=>{de.current&&(de.current.innerHTML=pe)},[pe]),K.createElement("div",{ref:me})},x=Object.defineProperty,m=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,U=(pe,me,de)=>me in pe?x(pe,me,{enumerable:!0,configurable:!0,writable:!0,value:de}):pe[me]=de,V=(pe,me)=>{for(var de in me||(me={}))P.call(me,de)&&U(pe,de,me[de]);if(m)for(var de of m(me))ue.call(me,de)&&U(pe,de,me[de]);return pe};const ne="@\u2581\u2581@",Q="@\u2581@",b=/<pre[^>]*>/g;function R(pe){let me=document.createElement("div");return me.innerHTML=pe,me.childNodes.length===0?"":me.childNodes[0].nodeValue}const Z=(pe,me)=>{pe=pe||"";const de=/(?: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,B=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return me?pe.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(de,(fe,Y,ce,ie,g,E,G)=>{const J=Y||ie||E,Le=ce||g||G||"?";return q.Z.API_SERVER+"/api/attachments/"+J+Le+"&t="+(0,C.Jn)(J,Date.now())+(fe.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(pe=pe.replace(B,(fe,Y,ce,ie,g,E,G)=>{const J=Y||ie||E,Le=ce||g||G||"?";return q.Z.API_SERVER+"/attachments/download/"+J+Le+"&t="+(0,C.Jn)(J,Date.now())+(fe.indexOf(")")>-1?")":"&")}).replace(de,(fe,Y,ce,ie,g,E,G)=>{const J=Y||ie||E,Le=ce||g||G||"?";return q.Z.API_SERVER+"/api/attachments/"+J+Le+"&t="+(0,C.Jn)(J,Date.now())+(fe.indexOf(")")>-1?")":"&")}).replace(ae,(fe,Y,ce,ie,g)=>{const E=Y||ie,G=ce||g||"";return'"'+q.Z.API_SERVER+"/api/attachments/"+E+G+E+G+"&t="+(0,C.Jn)(E,Date.now())}).replace(te,(fe,Y,ce,ie,g)=>{const E=Y||ie,G=ce||g||"";return"("+q.Z.API_SERVER+"/files/uploads/"+E+G+E+G+"&t="+(0,C.Jn)(E,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,`
|
|
|
`),pe)};var z=({value:pe="",className:me,showTextOnly:de,showLines:ae,style:te={},stylesPrev:B={},highlightKeywords:fe,showProgramFill:Y,isProgramFill:ce,disabledFill:ie=!1,programFillValue:g,onFillChange:E=Le=>{},onFillBlur:G=()=>{},onFillFocus:J=()=>{}})=>{let Le=String(pe);const[ke,Fe]=(0,y.useState)(""),[Ze,lt]=(0,y.useState)("office"),[ut,it]=(0,y.useState)([]),Ut=(0,y.useRef)("a"+(0,a.Z)()),qt={},an=(ee,W,j)=>{const _e=document.createElement(ee===Q?"input":"textarea");_e.style.width="100%",_e.style.height=ee===Q?"40px":"151px",_e.rows=5,_e.spellcheck=!1,_e.name="edu-program-fill",_e.placeholder="\u8BF7\u8F93\u5165",_e.dataset.id=W;const Ke=Object.keys(qt).length;return qt[Ke]=_e,`<span class="edu-program-fill-wrap ${ee===Q?"":"show"}" style="width:${ee===Q?"400px":"100%"}" title=${j||""}><span>${_e.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Ot(ee){return ee=ee.replace(/!\[.*?\]\(.*?\)/g,""),ee=ee.replace(/\[.*?\]\(.*?\)/g,""),ee=ee.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),ee=ee.replace(/<embed.*?>/g,""),ee=ee.replace(/<img.*?>/g,""),ee=ee.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),ee=ee.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),ee=ee.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),ee=ee.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),ee}const ot=ee=>ee.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(W,j){let _e=j.replace(/(\n|\r)/g,"").split("}"),Ke=[];return _e.map(De=>{De!=""&&Ke.push(`.${Ut.current} ${De}`)}),`<style>${Ke.join("}")}</style>`}),_t=(0,y.useMemo)(()=>{try{const _e=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Ke=/\"\/api\/attachments\/|\"\/attachments\/download\//g,De=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Oe=/\(\/attachments\/download\//g;Le=Le.replace(Oe,"("+q.Z.API_SERVER+"/attachments/download/").replace(_e,"("+q.Z.API_SERVER+"/api/attachments/").replace(Ke,'"'+q.Z.API_SERVER+"/api/attachments/").replace(De,'"'+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(_e){}if(Y){let _e=-1;return Le=Le.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Ke,De,Oe){var Ye;return++_e,an(Ke,_e,(Ye=g==null?void 0:g[_e])==null?void 0:Ye.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${ot(Le||"")}</pre>`}let ee=ot(Le);ee=(0,X.ZP)(ee);const W=(0,X.ez)();Le.match(/\[TOC\]/)&&(ee=ee.replace("<p>[TOC]</p>",(0,X.Qv)()),(0,X.Iy)()),ee=ee.replace(/(__special_katext_id_\d+__)/g,(_e,Ke)=>{const{type:De,expression:Oe}=W[Ke];return(0,xe.renderToString)(R(Oe)||"",{displayMode:De==="block",throwOnError:!1,output:"html"})}),ee=ee.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,X.AL)();const j=document.createElement("div");if(j.innerHTML=ee,de)return j.innerText;if(fe){const _e=fe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return O(j,_e),j.innerHTML}return setTimeout(()=>_(),500),j.innerHTML},[Le,fe]);(0,y.useEffect)(()=>{Ae.current&&Ae.current.querySelectorAll(["input","textarea"]).forEach(W=>{W.oninput=se,W.onblur=ye,W.onfocus=H})},[ut]),(0,y.useEffect)(()=>{var ee,W,j,_e,Ke;if(g!=null&&g.length)try{const De=Ae.current.querySelectorAll(".edu-program-fill-score"),Oe=Ae.current.querySelectorAll('[name="edu-program-fill"]');for(const[Ye,Je]of Oe.entries())Je.value=((ee=g==null?void 0:g[Ye])==null?void 0:ee.value)||"",((W=g==null?void 0:g[Ye])==null?void 0:W.type)==="warning"?Je.className="program-fill-warning":((j=g==null?void 0:g[Ye])==null?void 0:j.type)==="success"?Je.className="program-fill-success":Je.className="";for(const[Ye,Je]of De.entries())Je.innerHTML=(_e=g==null?void 0:g[Ye])!=null&&_e.score?`${(Ke=g==null?void 0:g[Ye])==null?void 0:Ke.score}\u5206`:"";it(g)}catch(De){console.log(De,"error")}},[g]);const se=ee=>{ut[ee.target.dataset.id]=ut[ee.target.dataset.id]||{},ut[ee.target.dataset.id].value=ee.target.value,it([...ut]),E(ut,ee.target.dataset.id)},ye=ee=>{ut[ee.target.dataset.id]=ut[ee.target.dataset.id]||{},ut[ee.target.dataset.id].value=ee.target.value,it([...ut]),G(ut,ee.target.dataset.id)},H=ee=>{ut[ee.target.dataset.id]=ut[ee.target.dataset.id]||{},ut[ee.target.dataset.id].value=ee.target.value,it([...ut]),J(ut,ee.target.dataset.id)};function O(ee,W){return ee.childNodes.forEach(j=>{var _e;if(j.childNodes.length>0)O(j,W);else if(j.nodeName!=="IMG")if(j.innerHTML)j.innerHTML=(_e=j.innerHTML)==null?void 0:_e.replace(new RegExp(W,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Ke=document.createElement("span");Ke.innerHTML=j.textContent.replace(new RegExp(W,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),j.replaceWith(Ke)}})}const Ae=(0,y.useRef)();X.jb.WebkitLineClamp=ae,ae&&(te=V(V({},te),X.jb));function k(ee){let W=ee.target;if(W.tagName.toUpperCase()==="A"){let j=W.getAttribute("href");if(j.indexOf("office")>-1)ee.preventDefault(),Fe(j),lt("office");else if(j.indexOf("application/pdf")>-1)ee.preventDefault(),Fe(j),lt("pdf");else if(j.indexOf("text/html")>-1)ee.preventDefault(),Fe(j),lt("html");else if(j.startsWith("#")){ee.preventDefault();let _e=document.getElementById(j.replace("#",""));_e&&_e.scrollIntoView(!0)}}}const _=()=>{var ee;const W=(ee=Ae.current)==null?void 0:ee.querySelectorAll("video");W==null||W.forEach(j=>{if(j.oncontextmenu=()=>!1,j.src.indexOf(".m3u8")>-1&&!j.canPlayType("application/vnd.apple.mpegurl")){if($.ZP.isSupported()){var _e=new $.ZP;_e.loadSource(j.src),_e.attachMedia(j)}}})};(0,y.useEffect)(()=>{if(Ae.current&&_t&&_t.match(b)&&window.PR.prettyPrint(),Ae.current)return Ae.current.addEventListener("click",k),()=>{var ee;(ee=Ae.current)==null||ee.removeEventListener("click",k),(0,X.AL)(),(0,X.Iy)()}},[_t,Ae.current,k]),(0,y.useEffect)(()=>{var ee;const W=j=>{j.preventDefault(),j.clipboardData.setData("text",window.getSelection().toString())};return(ee=Ae.current)==null||ee.addEventListener("copy",W),()=>{var j;(j=Ae.current)==null||j.removeEventListener("copy",W)}},[Ae.current]);const T=ee=>/<style[\s\S]*?>/i.test(ee||"");return y.createElement(y.Fragment,null,de&&y.createElement("div",{ref:Ae},_t),!de&&!T(_t)&&y.createElement("div",{ref:Ae,style:V({},te),className:`${me||""} ${ie?"disabled-fill":""} markdown-body ${Ut.current}`,dangerouslySetInnerHTML:{__html:_t}}),!de&&T(_t)&&y.createElement(u,{html:_t}),y.createElement(I.Z,{close:!0,data:ke,type:ke!=null&&ke.length?Ze:"",style:V({},B),onClose:()=>Fe("")}))}},23954:function(nn,nt,f){"use strict";f.d(nt,{SV:function(){return Ae},ZP:function(){return O}});var y=f(59301),L=f(76374);const X={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 xe=f(53184),a=f.n(xe),I=Object.defineProperty,K=Object.defineProperties,S=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,P=(k,_,T)=>_ in k?I(k,_,{enumerable:!0,configurable:!0,writable:!0,value:T}):k[_]=T,ue=(k,_)=>{for(var T in _||(_={}))x.call(_,T)&&P(k,T,_[T]);if(u)for(var T of u(_))m.call(_,T)&&P(k,T,_[T]);return k},U=(k,_)=>K(k,S(_)),V=(k,_,T)=>new Promise((ee,W)=>{var j=De=>{try{Ke(T.next(De))}catch(Oe){W(Oe)}},_e=De=>{try{Ke(T.throw(De))}catch(Oe){W(Oe)}},Ke=De=>De.done?ee(De.value):Promise.resolve(De.value).then(j,_e);Ke((T=T.apply(k,_)).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"]}},Q=(k,_)=>_.map(T=>({label:T,kind:k.languages.CompletionItemKind.Keyword,insertText:T})),b=k=>Object.keys(ne.tables).map(_=>({label:_,kind:k.languages.CompletionItemKind.Variable,insertText:_})),R=(k,_)=>{const T=ne.tables[k];return T?T.map(ee=>({label:ee,kind:_.languages.CompletionItemKind.Field,insertText:ee})):[]};function Z(k,_,T,ee,W){let j=_.getWordUntilPosition(T),_e={startLineNumber:T.lineNumber,endLineNumber:T.lineNumber,startColumn:j.startColumn,endColumn:j.endColumn},Ke=ee.map(De=>({label:De,kind:k.languages.CompletionItemKind.Keyword,insertText:De,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:_e}));return W.map(De=>{Ke.push(U(ue({},De),{range:_e}))}),Ke}var z=k=>{ne.languages.map(W=>(k.languages.registerDocumentFormattingEditProvider(W,{provideDocumentFormattingEdits(j,_e,Ke){return V(this,null,function*(){const De=a()(j.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:j.getFullModelRange(),text:De}]})}}),W));const _=$.quickKey.map(W=>({label:W.label,kind:k.languages.CompletionItemKind.Method,insertText:W.content,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet})),T=q.quickKey.map(W=>({label:W.label,kind:k.languages.CompletionItemKind.Method,insertText:W.content,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet})),ee=Ee.quickKey.map(W=>({label:W.label,kind:k.languages.CompletionItemKind.Method,insertText:W.content,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet}));k.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(W,j){var _e=W.getWordUntilPosition(j),Ke={startLineNumber:j.lineNumber,endLineNumber:j.lineNumber,startColumn:_e.startColumn,endColumn:_e.endColumn},De=W.getLineContent(j.lineNumber).substring(_e.startColumn-2,_e.endColumn);return{suggestions:[...$.keywords.map(Oe=>({label:Oe,kind:k.languages.CompletionItemKind.Function,documentation:Oe,insertText:Oe,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke})),...$.quickKey.map(Oe=>({label:Oe.label,kind:k.languages.CompletionItemKind.Function,documentation:Oe.content,insertText:De.startsWith("#")?Oe.content.replace(/#/,""):Oe.content,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}))]}}}),k.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(W,j){var _e=W.getWordUntilPosition(j),Ke={startLineNumber:j.lineNumber,endLineNumber:j.lineNumber,startColumn:_e.startColumn,endColumn:_e.endColumn};return{suggestions:[...X.keywords.map(De=>({label:De,kind:k.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}))]}}}),k.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(W,j){var _e=W.getWordUntilPosition(j),Ke={startLineNumber:j.lineNumber,endLineNumber:j.lineNumber,startColumn:_e.startColumn,endColumn:_e.endColumn},De=W.getLineContent(j.lineNumber).substring(_e.startColumn-2,_e.endColumn);return{suggestions:[...Ee.keywords.map(Oe=>({label:Oe,kind:k.languages.CompletionItemKind.Function,documentation:Oe,insertText:Oe,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke})),...Ee.quickKey.map(Oe=>({label:Oe.label,kind:k.languages.CompletionItemKind.Function,documentation:Oe.content,insertText:De.startsWith("#")?Oe.content.replace(/#/,""):Oe.content,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}))]}}}),k.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(W,j){var _e=W.getWordUntilPosition(j),Ke={startLineNumber:j.lineNumber,endLineNumber:j.lineNumber,startColumn:_e.startColumn,endColumn:_e.endColumn},De=W.getLineContent(j.lineNumber).substring(_e.startColumn-2,_e.endColumn);return{suggestions:[...C.keywords.map(Oe=>({label:Oe,kind:k.languages.CompletionItemKind.Function,documentation:Oe,insertText:Oe,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke})),...C.quickKey.map(Oe=>({label:Oe.label,kind:k.languages.CompletionItemKind.Function,documentation:Oe.content,insertText:De.startsWith("#")?Oe.content.replace(/#/,""):Oe.content,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}))]}}}),k.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(W,j){var _e=W.getWordUntilPosition(j),Ke={startLineNumber:j.lineNumber,endLineNumber:j.lineNumber,startColumn:_e.startColumn,endColumn:_e.endColumn},De=W.getLineContent(j.lineNumber).substring(_e.startColumn-2,_e.endColumn);return{suggestions:[...q.keywords.map(Oe=>({label:Oe,kind:k.languages.CompletionItemKind.Function,documentation:Oe,insertText:Oe,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke})),...q.quickKey.map(Oe=>({label:Oe.label,kind:k.languages.CompletionItemKind.Function,documentation:Oe.content,insertText:De.startsWith("#")?Oe.content.replace(/#/,""):Oe.content,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}))]}}})};const pe="\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,de=(k,_,T)=>_ in k?me(k,_,{enumerable:!0,configurable:!0,writable:!0,value:T}):k[_]=T,ae=(k,_,T)=>de(k,typeof _!="symbol"?_+"":_,T);const te=class Al{constructor(_,T,ee){this.placeholder=_,this.editor=T,this.monaco=ee,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 fe=te,Y=f(96236),ce=f(8591),ie=f(6848),g=f(89392),E=f(34604),G=f(56102),J=Object.defineProperty,Le=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,ut=(k,_,T)=>_ in k?J(k,_,{enumerable:!0,configurable:!0,writable:!0,value:T}):k[_]=T,it=(k,_)=>{for(var T in _||(_={}))Ze.call(_,T)&&ut(k,T,_[T]);if(Fe)for(var T of Fe(_))lt.call(_,T)&&ut(k,T,_[T]);return k},Ut=(k,_)=>Le(k,ke(_)),qt=(k,_)=>{var T={};for(var ee in k)Ze.call(k,ee)&&_.indexOf(ee)<0&&(T[ee]=k[ee]);if(k!=null&&Fe)for(var ee of Fe(k))_.indexOf(ee)<0&<.call(k,ee)&&(T[ee]=k[ee]);return T},an=(k,_,T)=>new Promise((ee,W)=>{var j=De=>{try{Ke(T.next(De))}catch(Oe){W(Oe)}},_e=De=>{try{Ke(T.throw(De))}catch(Oe){W(Oe)}},Ke=De=>De.done?ee(De.value):Promise.resolve(De.value).then(j,_e);Ke((T=T.apply(k,_)).next())});function Ot(k){return/^\d+$/.test(k)?`${k}px`:k}function ot(){}let _t=!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 ye(k=[]){let _=k;if(Array.isArray(k)){for(let T=0;T<k.length;T++){let ee=se[k[T]];if(ee)return ee}return _[0]}return se[_]||_}let H=null;var O=k=>{var _=k,{width:T="100%",height:ee="100%",value:W,language:j="javascript",style:_e={},options:Ke={},overrideServices:De={},theme:Oe="vs-dark",onEditBlur:Ye,isCopy:Je=!1,onSave:Ge,autoHeight:yt=!1,forbidCopy:xt=!1,onChange:dt=ot,editorDidMount:kt=ot,onFocus:Tt=ot,onBreakPoint:w=ot,breakPointValue:D=[],filename:bt="educoder.txt",errorLine:he,errorContent:Be="",highlightLine:pn,openBreakPoint:We=!1,placeholder:et=""}=_,Xe=qt(_,["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 Se=(0,y.useRef)(),Ie=(0,y.useRef)({}),ze=(0,y.useRef)(),qe=(0,y.useRef)(),be=(0,y.useRef)([]),en=(0,y.useRef)(!1),$e=(0,y.useRef)(),bn=(0,y.useRef)(),Cn=(0,y.useRef)(!1),[jt,Jt]=(0,y.useState)(!1);function wt(){let Mt;return Se.current&&(Mt=new L.Z(Lt=>{for(let un of Lt)(un.target.offsetHeight>0||un.target.offsetWidth>0)&&Ie.current.instance.layout()}),Mt.observe(Se.current)),Mt}function Pt(){ce.ZP.warning({content:decodeURIComponent(pe),key:"monaco-editor-tip"})}const Ve=()=>{let Mt=Ie.current.instance;if(W!=null&&Mt&&jt){const Lt=Mt.getModel();Lt&&W!==Lt.getValue()&&(_t=!0,Lt.setValue(W),Mt.layout(),_t=!1)}};(0,y.useEffect)(()=>{const Mt=E.Z.subscribe("formatDocument",Lt=>{var un;let ln=Ie.current.instance;(un=ln==null?void 0:ln.getAction)==null||un.call(ln,"editor.action.formatDocument").run()});return window.updateMonacoValue=Lt=>{dt(Lt)},Mt},[]),(0,y.useEffect)(()=>{var Mt;let Lt=Ie.current.instance;qe.current&&clearTimeout(qe.current),qe.current=setTimeout(()=>{Ve()},500),W&&(W!=null&&W.length)&&((Mt=Lt==null?void 0:Lt.updateOptions)==null||Mt.call(Lt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(W.split(/\r\n|\r|\n/g).length))+3,5)}))},[W,jt,Ie.current]),(0,y.useEffect)(()=>{if(he&&Ie.current&&Ie.current.instance){let Lt=Ie.current.instance;Lt.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=Be,un.addZone({afterLineNumber:he||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}};Lt.addOverlayWidget(Mt),Lt.revealPositionInCenter({lineNumber:20,column:1})}},[he,Ie.current,jt]);const At=(Mt="",Lt)=>{if(!Mt||Mt.trim()==="")return!0;const ln=Ie.current.instance.getModel().getLineTokens(Lt);let hn=!1;for(let An=0;An<2;An++)ln.getStandardTokenType(An)===1&&(hn=!0);return hn};(0,y.useEffect)(()=>{var Mt;const Lt=(Mt=Ie.current)==null?void 0:Mt.instance;if(Lt&&jt&&xt){const un=Lt.onDidBlurEditorWidget(()=>{Cn.current=!1}),ln=Lt.onDidFocusEditorText(()=>{Cn.current=!0});return()=>{un.dispose(),ln.dispose()}}},[Ie.current,jt,xt]),(0,y.useEffect)(()=>{var Mt;if((Mt=Ie.current)!=null&&Mt.instance&&jt&&We){let Lt=Ie.current.instance,un=Lt.getModel();if(!un)return;(()=>{var $t;let Zt=[],vn=[];const _n=un.getAllDecorations();for(let qn of _n)qn.options.className==="highlighted-line"&&(Zt.push(($t=qn==null?void 0:qn.range)==null?void 0:$t.startLineNumber),vn.push(qn==null?void 0:qn.id));if(pn===Zt[0])return;un.deltaDecorations(vn,[]);const kn=un.getLineCount();pn&&pn<=kn&&(Lt.deltaDecorations([],[{range:new H.Range(pn,1,pn,un.getLineMaxColumn(pn)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Lt.revealLineInCenter(pn))})();const hn=($t=!1)=>{var Zt;let vn=[],_n=[];const kn=un.getAllDecorations();for(let qn of kn)qn.options.linesDecorationsClassName==="breakpoints-select"&&(vn.push((Zt=qn==null?void 0:qn.range)==null?void 0:Zt.startLineNumber),_n.push(qn==null?void 0:qn.id));if($t)return{lines:vn,ids:_n};w(vn)},An=$t=>an(void 0,null,function*(){let Zt={range:new H.Range($t,1,$t,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield un.deltaDecorations([],[Zt]),hn()}),tr=$t=>an(void 0,null,function*(){let Zt=[];const vn=Lt.getLineDecorations($t);for(let _n of vn)_n.options.linesDecorationsClassName==="breakpoints-select"&&Zt.push(_n.id);yield un.deltaDecorations(Zt,[]),hn()}),Nn=$t=>{let Zt=Lt.getLineDecorations($t);for(let vn of Zt)if(vn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,g.isEqual)(D,hn(!0).lines)){un.deltaDecorations(hn(!0).ids,[]);const $t=D.map(Zt=>({range:new H.Range(Zt,1,Zt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));un.deltaDecorations([],$t)}const rn=Lt.onDidChangeModelContent($t=>{let Zt=Lt.getPosition();if(Zt){let vn=Zt.lineNumber;clearTimeout(bn.current),bn.current=setTimeout(()=>{At(un.getLineContent(vn),vn)?tr(vn):Nn(vn)?(tr(vn),An(vn)):hn()},100)}}),ht=Lt.onMouseDown($t=>{var Zt,vn,_n;if($t.target.detail&&((_n=(vn=(Zt=$t.target)==null?void 0:Zt.element)==null?void 0:vn.className)!=null&&_n.includes("line-numbers"))){let kn=$t.target.position.lineNumber;if(At(un.getLineContent(kn),kn))return;Nn(kn)?tr(kn):An(kn)}}),vt=$t=>{let Zt={range:new H.Range($t,1,$t,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};be.current=Lt.deltaDecorations(be.current,[Zt])},It=()=>{be.current=Lt.deltaDecorations(be.current,[])},Vt=Lt.onMouseMove($t=>{var Zt,vn,_n;if(It(),$t.target.detail&&((_n=(vn=(Zt=$t.target)==null?void 0:Zt.element)==null?void 0:vn.className)!=null&&_n.includes("line-numbers"))){let kn=$t.target.position.lineNumber;if(At(un.getLineContent(kn),kn))return;vt(kn)}}),Nt=Lt.onMouseLeave(()=>{It()});return()=>{rn.dispose(),ht.dispose(),Vt.dispose(),Nt.dispose()}}},[Ie.current,jt,D,pn,We,j]),(0,y.useEffect)(()=>{var Mt;(Mt=Ie.current)!=null&&Mt.instance&&We&&Ie.current.instance.setPosition({lineNumber:0,column:0})},[pn]);function St(){let Mt=Ie.current.instance;if(Mt){const Lt=Mt.getSelection(),un=Ie.current.pastePos||{},ln=new H.Range(un.startLineNumber||Lt.endLineNumber,un.startColumn||Lt.endColumn,un.endLineNumber||Lt.endLineNumber,un.endColumn||Lt.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(),Ge())}const Ce=()=>{if(yt&&Ie.current.instance){const Mt=Ie.current.instance.getContentHeight();sn(Mt<ee?ee:Mt)}else sn(ee)};function mt(Mt){var Lt=document.createEvent("MouseEvents");Lt.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Mt.dispatchEvent(Lt)}const pt=Mt=>{if(!Cn.current)return;const{keyCode:Lt,ctrlKey:un,metaKey:ln,target:hn,type:An}=Mt;return(An==="paste"||(Lt===67||Lt===86)&&(ln||un))&&hn.nodeName==="TEXTAREA"&&(Pt(),Mt.preventDefault()),!1};function Dt(Mt,Lt){var un=window.URL||window.webkitURL||window,ln=new Blob([Lt]),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)(()=>{Se.current&&!jt&&Promise.all([f.e(8909),f.e(3267)]).then(f.bind(f,71448)).then(Mt=>{try{H=Mt,Ie.current.instance=H.editor.create(Se.current,{value:W,language:ye(j),theme:Oe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},De);const Lt=Ie.current.instance;let hn=[...Y.BH._menuItems].find(rn=>rn[0]._debugName=="EditorContext")[1],An=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],tr=(rn,ht)=>{var vt,It;let Vt=rn._first;do ht.includes((It=(vt=Vt.element)==null?void 0:vt.command)==null?void 0:It.id)&&rn._remove(Vt);while(Vt=Vt.next)};if(kt(Lt,H),setTimeout(()=>{Ce(),Ie.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Dt(bt||"educoder.txt",Lt.getValue())}})},500),Ie.current.subscription=Lt.onDidChangeModelContent(rn=>{en.current?clearTimeout($e.current):(Ce(),dt(Lt.getValue(),rn)),$e.current=setTimeout(()=>{en.current=!1},500)}),window.Monaco||z(H,ye(j)),xt&&(tr(hn,An),Se.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",pt),window.removeEventListener("paste",pt),window.addEventListener("keydown",pt),window.addEventListener("paste",pt)),window.Monaco=H,Ye&&Lt.onDidBlurEditorWidget(()=>{Ye(Lt.getValue())}),Tt&&Lt.onDidFocusEditorText(()=>{Tt(Lt.getValue())}),xt)try{Lt.onDidPaste(rn=>{const ht=Lt.getSelection(),vt=Ie.current.pastePos||{},It=new H.Range(vt.startLineNumber||ht.endLineNumber,vt.startColumn||ht.endColumn,vt.endLineNumber||ht.endLineNumber,vt.endColumn||ht.endColumn);Lt.executeEdits("",[{range:rn.range,text:""}])})}catch(rn){}let Nn=wt();return et&&typeof et=="string"&&new fe(et,Lt,H),Jt(!0),()=>{const rn=Ie.current.instance;rn.dispose();const ht=rn.getModel();ht&&ht.dispose(),Ie.current.subscription&&Ie.current.subscription.dispose(),Nn.unobserve(Se.current)}}catch(Lt){}})},[]),(0,y.useEffect)(()=>{if(Ie.current.instance&&jt)return document.addEventListener("keydown",Ue,!1),()=>{document.removeEventListener("keydown",Ue)}},[Ge,jt]),(0,y.useEffect)(()=>{let Mt=Ie.current.instance;if(Mt&&jt){let Lt=ye(j);H.editor.setModelLanguage(Mt.getModel(),Lt)}},[j,jt]),(0,y.useEffect)(()=>{Ie.current.instance&&jt&&H.editor.setTheme(Oe)},[Oe,jt]),(0,y.useEffect)(()=>{let Mt=Ie.current.instance;ze.current=Ke,Mt&&jt&&(Mt.updateOptions(it({},Ke)),setTimeout(()=>{Mt.getModel().updateOptions(it({},Ke))},200))},[JSON.stringify(Ke),jt]),(0,y.useEffect)(()=>{let Mt=Ie.current.instance;Mt&&jt&&Mt.layout()},[T,ee,jt]);const[zt,tn]=(0,y.useState)(Ot(T)),[Ht,sn]=(0,y.useState)(Ot(ee)),dn=Ut(it({},_e),{width:zt,height:Ht,position:"relative"});return y.createElement("div",{className:"my-monaco-editor",ref:Se,style:dn},Je&&y.createElement(G.CopyToClipboard,{text:W,onCopy:()=>ce.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 Ae({width:k="100%",height:_="100%",original:T,modified:ee,language:W,options:j={}}){const _e=(0,y.useRef)(),[Ke,De]=(0,y.useState)(null);function Oe(yt){let xt;return _e.current&&(xt=new L.Z(dt=>{for(let kt of dt)(kt.target.offsetHeight>0||kt.target.offsetWidth>0)&&yt.layout()}),xt.observe(_e.current)),xt}(0,y.useEffect)(()=>(_e.current&&Promise.all([f.e(8909),f.e(9404)]).then(f.bind(f,2550)).then(yt=>{H=yt;const xt=H.editor.createDiffEditor(_e.current,Ut(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},j),{wordWrap:!0}));De(xt);let dt=Oe(xt);return()=>{xt.dispose();const kt=xt.getModel();kt&&kt.dispose(),dt.unobserve(_e.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,y.useEffect)(()=>{Ke&&Ke.setModel({original:H.editor.createModel(T,W),modified:H.editor.createModel(ee,W)})},[T,ee,W,Ke]);const Ye=Ot(k),Je=Ot(_),Ge={width:Ye,height:Je};return y.createElement("div",{className:"my-diff-editor",ref:_e,style:Ge})}},85057:function(nn,nt,f){"use strict";f.d(nt,{jL:function(){return $},w9:function(){return Ze},QD:function(){return dt},cQ:function(){return G},op:function(){return Oe},O5:function(){return Cn},_b:function(){return he},t7:function(){return U},Gi:function(){return an},YG:function(){return Ut},qp:function(){return K},vr:function(){return w},qE:function(){return Ge},Je:function(){return Q},wb:function(){return Y},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"},X="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3f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RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",$=({dataSource:jt=[],img:Jt,imgWidth:wt=346,title:Pt,sunTitle:Ve,bannerExtraContent:At})=>y.createElement("div",{className:L.banner},y.createElement("div",{className:L.content},y.createElement("aside",null,y.createElement("p",null,y.createElement("b",null,Pt),y.createElement("span",null,Ve)),jt.length>0&&y.createElement("div",{className:L.btns},jt.map((St,Ue)=>y.createElement("div",{key:Ue,onClick:St.click},St.name,St.sign?y.createElement("img",{src:X,width:39}):null))),At),Jt&&y.createElement("img",{style:{marginTop:33,marginRight:38},src:Jt,width:wt}))),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),xe=f.n(C),a=f(89392),K=({dataSource:jt=[],value:Jt,onChange:wt,onTitleChange:Pt,className:Ve,title:At,titleWidth:St=41,style:Ue={},fontColor:Ce="#6A7283",showCount:mt})=>{const[pt,Dt]=(0,y.useState)(0),[zt,tn]=(0,y.useState)(!1),Ht=(0,y.useRef)(null),sn=(0,y.useRef)(null);return(0,y.useEffect)(()=>{var dn;jt.length!==0&&(((dn=Ht==null?void 0:Ht.current)==null?void 0:dn.clientHeight)>97?Dt(1):Dt(0)),jt.length===0&&Dt(0),tn(!1)},[jt]),y.createElement("div",{className:xe()(q.row,Ve),style:Ue},y.createElement("div",{onClick:(0,a.throttle)(()=>Pt==null?void 0:Pt(),2e3),style:{width:St,marginTop:zt?12:4},className:`${q.title} ${Pt?"current":""}`},At),y.createElement("div",{className:zt?`${q.tagsWrap} ${q.tagsBorderWrap}`:q.tagsWrap},y.createElement("div",{className:q.bar,ref:sn,style:pt>0?{height:pt===1?97:"auto",overflow:pt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},y.createElement("div",{className:q.tag,ref:Ht},jt==null?void 0:jt.map(dn=>y.createElement("span",{onClick:()=>wt(dn.id),key:dn.id,style:{color:Ce},className:Jt===dn.id?q.active:""},y.createElement("span",{title:dn.name,className:q.name},dn.name),!!mt&&y.createElement("span",{className:q.num},dn.count))))),!!pt&&y.createElement(y.Fragment,null,pt===1?y.createElement("div",{onClick:()=>{var dn;Dt(2),((dn=Ht==null?void 0:Ht.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,Dt(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:jt=[],value:Jt,onChange:wt,className:Pt,style:Ve={}})=>y.createElement("div",{style:Ve,className:xe()(S.tabs,Pt)},jt.map(At=>y.createElement("span",{onClick:()=>wt(At.id),className:Jt===At.id?S.active:"",key:At.id},At.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),U=({dataSource:jt=[],value:Jt="",onChange:wt,onInputChange:Pt=()=>{},className:Ve,style:At={},placeholder:St,allowClear:Ue=!1})=>{var Ce;const[mt,pt]=(0,y.useState)(""),[Dt,zt]=(0,y.useState)("");(0,y.useEffect)(()=>{var sn;let dn=Jt;(sn=JSON.stringify(Jt))!=null&&sn.includes("{")&&(pt(Jt.id),dn=Jt.value||"");try{zt(decodeURIComponent(dn||""))}catch(Mt){zt(decodeURIComponent(dn||""))}},[Jt]);const tn=()=>{wt(encodeURIComponent(Dt),mt||null)},Ht=sn=>{sn!==mt&&(pt(sn),wt(encodeURIComponent(Dt),sn))};return y.createElement("div",{className:xe()(m.input,Ve),style:At},!!jt.length&&y.createElement("div",{className:m.dropdown},y.createElement("div",{className:m.text},(Ce=jt.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},jt.map((sn,dn)=>y.createElement("div",{key:dn,onClick:()=>Ht(sn.id)},sn.name)))),y.createElement(P.default,{onPressEnter:tn,value:Dt,onChange:sn=>{zt(sn.target.value),Pt(encodeURIComponent(sn.target.value),mt||null)},bordered:!1,placeholder:St}),y.createElement("i",{onClick:tn,className:"iconfont icon-sousuo9 font14 pl10 current"}))},V={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"},Q=({value:jt,onChange:Jt,className:wt,total:Pt,pageSize:Ve,style:At={}})=>{const St=jt<2,Ue=jt>=Math.ceil(Pt/Ve);return Pt<=Ve?y.createElement(y.Fragment,null):y.createElement("div",{className:xe()(V.quickPager,wt),style:At},y.createElement("div",{onClick:()=>{St||Jt(jt-1,"prev")},className:St?V.disabled:""},"\u4E0A\u4E00\u9875"),y.createElement("div",{onClick:()=>{Ue||Jt(jt+1,"next")},className:Ue?V.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),z=f(13570),pe=f(3294),me=f(955),de=f(96908),ae=f(57177),te=f(81378),B=f(8797),Y=({className:jt,dataSource:Jt=[],col:wt=4,right:Pt,bottom:Ve=23,precision:At=0,wrapWidth:St=1200,trackEventItems:Ue,loading:Ce})=>{const mt=Math.floor((St-(wt-1)*Pt)/wt);return y.createElement(R.Z,{spinning:Ce},y.createElement("div",{className:xe()(b.list,jt)},!!Jt.length&&Jt.map((pt,Dt)=>{const{name:zt,id:tn,identifier:Ht,power:sn,cover_image_id:dn,pic:Mt}=pt;return y.createElement("div",{className:b.wrap,key:tn,style:{width:mt,marginRight:(1+Dt)%wt===0?0:Pt+At,marginBottom:Ve}},y.createElement("a",{target:"_blank",href:`/shixuns/${Ht}/challenges`,className:b.li,onClick:Lt=>{Lt.preventDefault(),Ue&&(0,me.L9)([Ue]),sn&&(0,me.xg)(`/shixuns/${Ht}/challenges`)}},y.createElement("div",{className:b.img},y.createElement("img",{className:b.cover,src:`${Mt}`}),pt.is_jupyter&&y.createElement("img",{className:b.sign,src:de}),pt.is_jupyter_lab&&y.createElement("img",{className:b.sign,src:ae}),pt.is_unity_3d&&y.createElement("img",{className:b.sign,src:te})),y.createElement("div",{className:b.name},y.createElement(Z.Z,{title:zt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},y.createElement("span",{className:b.e},zt||"\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,pt.challenges_count))),!!pt.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,pt.myshixuns_count))),y.createElement(Z.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},y.createElement("span",null,y.createElement("span",null,pt.level))),y.createElement("div",{className:b.rate},y.createElement(z.Z,{allowHalf:!0,disabled:!0,defaultValue:pt.score_info}),y.createElement("span",null,"\xA0",pt.score_info?`${pt.score_info}\u5206`:"5\u5206")))),!sn&&y.createElement("div",{className:b.lockWrap},y.createElement("img",{src:`${pe.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")))}),!Jt.length&&y.createElement(B.Z,null)))},ce={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(24065),g=f(59301),G=({className:jt,dataSource:Jt=[],col:wt=4,right:Pt,bottom:Ve=23,precision:At=0,wrapWidth:St=1200,trackEventItems:Ue,loading:Ce,onRemove:mt=()=>{},isCurrent:pt=!0,showAlias:Dt=!1})=>{const zt=Math.floor((St-(wt-1)*Pt)/wt),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 g.createElement(R.Z,{spinning:Ce},g.createElement("div",{className:xe()(ce.list,jt)},!!(Jt!=null&&Jt.length)&&(Jt==null?void 0:Jt.map((Ht,sn)=>{var dn;const{name:Mt,id:Lt,identifier:un,featured:ln,school_name:hn,image_url:An,excellent:tr,is_plan:Nn}=Ht;return g.createElement("div",{key:Lt,className:ce.wrap,style:{width:zt,marginRight:(1+sn)%wt===0?0:Pt+At,marginBottom:Ve}},g.createElement("a",{className:ce.li,onClick:rn=>{rn.preventDefault(),rn.stopPropagation(),Ue&&(0,me.L9)([Ue]),(0,me.xg)(`/paths/${un}`)}},g.createElement("div",{className:ce.img},g.createElement("img",{className:ce.cover,src:`${An}`}),pt&&(0,ie.bg)()&&(Ht==null?void 0:Ht.studying)&&g.createElement("div",{className:`${ce.movebq} user-path-items`,onClick:rn=>{rn.stopPropagation(),mt(Ht)}},g.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),g.createElement("span",{className:"c-red"},"\u79FB\u9664")),(dn=Ht==null?void 0:Ht.subject_tags)==null?void 0:dn.map((rn,ht)=>{var vt,It;if(ht===0){const Nt=(vt=tn.find($t=>$t.name==rn))==null?void 0:vt.swimg;return g.createElement("img",{className:ce.sign,src:Nt,style:{left:"-4px"}})}const Vt=(It=tn.find(Nt=>Nt.name==rn))==null?void 0:It.ptimg;return g.createElement("img",{className:ce.sign,src:Vt,style:{left:`${48+52*(ht-1)+2*ht}px`}})}),g.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Ht==null?void 0:Ht.excellent)&&g.createElement("div",{className:ce.bq},"\u5F00\u653E\u8BFE\u7A0B"))),g.createElement("div",{className:ce.name},g.createElement(Z.Z,{title:Dt&&(Ht!=null&&Ht.excellent_alias_name)?g.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Mt}`,g.createElement("br",null),g.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Ht==null?void 0:Ht.excellent_alias_name}`)):Mt},g.createElement("span",{className:ce.e},Dt&&(Ht==null?void 0:Ht.excellent_alias_name)||Mt))),g.createElement(Z.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${hn}`},g.createElement("div",{className:ce.unit},g.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),hn)),g.createElement("div",{className:ce.tags},g.createElement("div",null,g.createElement(Z.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},g.createElement("span",null,g.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),g.createElement("span",null,Ht.stages_count))),g.createElement(Z.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},g.createElement("span",null,g.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),g.createElement("span",null,Ht.members_count)))))))})),!Jt.length&&g.createElement(B.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+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1E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St=1200,trackEventItems:Ue,loading:Ce,handleVery:mt=()=>!0})=>{const pt=Math.floor((St-(wt-1)*Pt)/wt);return ke.createElement(R.Z,{spinning:Ce},ke.createElement("div",{className:xe()(J.list,jt)},!!Jt.length&&Jt.map((Dt,zt)=>{const{subject_identifier:tn,id:Ht,identifier:sn,power:dn}=Dt,Mt=Dt.is_public!=0&&Dt.is_public;return ke.createElement("div",{className:J.wrap,key:Ht,style:{width:pt,marginRight:(1+zt)%wt===0?0:Pt+At,marginBottom:Ve}},ke.createElement("a",{className:J.li,onClick:Lt=>{Lt.preventDefault(),mt(Dt==null?void 0:Dt.first_category_url)&&(Ue&&(0,me.L9)([Ue]),(0,me.xg)(Dt.first_category_url))}},ke.createElement("div",{className:J.top},ke.createElement(Z.Z,{title:Dt.name},ke.createElement("div",{className:J.name},Dt.name)),ke.createElement("img",{className:J.img,src:pe.Z.IMG_SERVER+"/images/"+Dt.avatar_url}),ke.createElement("div",{className:J.text,title:Dt.creator},Dt.creator),tn&&ke.createElement("div",{className:J.btns},ke.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ke.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Mt&&ke.createElement("div",{className:J.sign},"\u516C\u5F00")),ke.createElement("div",{className:J.bottom},Dt.visits>0&&ke.createElement(Z.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},ke.createElement("span",null,ke.createElement("i",{className:"iconfont icon-liulanyan"}),ke.createElement("span",null,Dt.visits))),Dt.course_members_count>0&&ke.createElement(Z.Z,{title:"\u6210\u5458",placement:"bottom"},ke.createElement("span",null,ke.createElement("i",{className:"iconfont icon-chengyuan"}),Dt.course_members_count)),Dt.tasks_count>0&&ke.createElement(Z.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},ke.createElement("span",null,ke.createElement("i",{className:"iconfont icon-zuoye"}),Dt.tasks_count)),Dt.is_end?ke.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):ke.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Dt.is_accessible&&ke.createElement("div",{className:J.lockWrap},ke.createElement("img",{src:`${pe.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ke.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Jt.length&&ke.createElement(B.Z,null)))},lt={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"},ut=f(89070),Ut=({dataSource:jt=[],value:Jt,onChange:wt,className:Pt,style:Ve={},tabBarExtraContent:At})=>y.createElement("div",{className:xe()(lt.tabs,Pt),style:Ve},y.createElement("div",{className:lt.tabsWrap},jt.map((St,Ue)=>!(St!=null&&St.hide)&&y.createElement("aside",{className:lt.tab,onClick:()=>{wt(St.id),St.link&&ut.history.push(St.link)},key:Ue},y.createElement("div",{className:Jt===St.id?lt.active:""},St.name),(St==null?void 0:St.resetCount)==null&&(St==null?void 0:St.total)!==void 0&&y.createElement("span",null,"\uFF08",St==null?void 0:St.total,"\uFF09"),(St==null?void 0:St.resetCount)!==void 0&&(St==null?void 0:St.total)!==void 0&&y.createElement(Z.Z,{title:(St==null?void 0:St.tip)!=null?St==null?void 0:St.tip:""},y.createElement("span",{style:{color:"#9096A3"}},"\uFF08",y.createElement("span",{style:{color:"#000"}},St==null?void 0:St.resetCount),"/",y.createElement("span",null,St==null?void 0:St.total),"\uFF09"))))),y.createElement("div",{className:lt.tabBar},At)),an=({className:jt,style:Jt={},children:wt})=>y.createElement("div",{className:xe()(jt),style:Jt},wt),Ot={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},ot=f(38854),_t=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:jt,dropValue:Jt,className:wt,onSort:Pt,onDrop:Ve,dataSource:At=se})=>{var St;return y.createElement("div",{className:xe()(Ot.orderWrap,wt)},y.createElement(ot.Z,{dropdownRender:()=>y.createElement(_t.default,null,At.map((Ue,Ce)=>y.createElement(_t.default.Item,{key:Ce,onClick:()=>Ve(Ue.id)},Ue.name)))},y.createElement("span",{className:Ot.orderTextWrap},(St=At.find(Ue=>Jt===Ue.id))==null?void 0:St.name)),y.createElement("span",{className:Ot.orderIconWrap},y.createElement("span",{className:Ot.orderAsc},y.createElement("i",{className:jt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Ot.cursorPointer} ${Ot.active}`:`iconfont icon-sanjiaoxing-up font12 ${Ot.cursorPointer}`,onClick:()=>Pt(jt==="asc"?"desc":"asc")})),y.createElement("span",{className:Ot.orderDesc},y.createElement("i",{className:jt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Ot.cursorPointer} ${Ot.active}`:`iconfont icon-sanjiaoxing-down font12 ${Ot.cursorPointer}`,onClick:()=>Pt(jt==="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"},Ae=f(3113),k=Object.defineProperty,_=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,W=(jt,Jt,wt)=>Jt in jt?k(jt,Jt,{enumerable:!0,configurable:!0,writable:!0,value:wt}):jt[Jt]=wt,j=(jt,Jt)=>{for(var wt in Jt||(Jt={}))T.call(Jt,wt)&&W(jt,wt,Jt[wt]);if(_)for(var wt of _(Jt))ee.call(Jt,wt)&&W(jt,wt,Jt[wt]);return jt},_e=(jt,Jt)=>{var wt={};for(var Pt in jt)T.call(jt,Pt)&&Jt.indexOf(Pt)<0&&(wt[Pt]=jt[Pt]);if(jt!=null&&_)for(var Pt of _(jt))Jt.indexOf(Pt)<0&&ee.call(jt,Pt)&&(wt[Pt]=jt[Pt]);return wt},Ke=(jt,Jt,wt)=>new Promise((Pt,Ve)=>{var At=Ce=>{try{Ue(wt.next(Ce))}catch(mt){Ve(mt)}},St=Ce=>{try{Ue(wt.throw(Ce))}catch(mt){Ve(mt)}},Ue=Ce=>Ce.done?Pt(Ce.value):Promise.resolve(Ce.value).then(At,St);Ue((wt=wt.apply(jt,Jt)).next())}),Oe=jt=>{var Jt=jt,{className:wt,style:Pt,children:Ve,loading:At=!1,openLoading:St,onClick:Ue=()=>{},size:Ce="middle",shape:mt="round"}=Jt,pt=_e(Jt,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Dt,zt]=(0,y.useState)(!1);return y.createElement(Ae.ZP,j({onClick:(0,a.throttle)(tn=>Ke(void 0,null,function*(){St&&zt(!0);try{yield Ue(tn)}catch(Ht){console.log("error",Ht)}St&&zt(!1)}),2e3,{leading:!0,trailing:!1}),className:xe()(O.btn,O[`${Ce}-${mt}`],wt),style:Pt,size:Ce,shape:mt,loading:Dt||At},pt),Ve)},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"},Ge=({className:jt,style:Jt,children:wt=null,onClick:Pt,title:Ve})=>y.createElement("div",{className:xe()(Ye.head,jt),style:Jt},y.createElement("span",{className:"primary-hover",onClick:Pt},y.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),y.createElement("b",{title:Ve},Ve),y.createElement("div",{className:Ye.node},wt)),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"},dt=({confirmShow:jt=!0,confirmTitle:Jt,confirmClick:wt,cancelShow:Pt=!0,cancelTitle:Ve,cancelClick:At,className:St,style:Ue,confirmLoading:Ce=!1})=>y.createElement("div",{className:xe()(yt.btns,St),style:Ue},jt&&y.createElement(Ae.ZP,{loading:Ce,onClick:wt,type:"primary",className:yt.confirm},Jt),Pt&&y.createElement(Ae.ZP,{onClick:At,className:yt.cancel},Ve)),kt={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:jt,style:Jt={},LeftContent:wt,children:Pt,RightContent:Ve})=>y.createElement("div",{className:xe()(kt.fixedBottom,jt),style:Jt},y.createElement("div",{className:kt.wrap},y.createElement("div",{className:kt.left},wt),y.createElement("div",{className:kt.center},Pt),y.createElement("div",{className:kt.right},Ve))),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"},he=({className:jt,style:Jt={},dataSource:wt=[]})=>y.createElement("div",{className:xe()(D.crumbs,jt),style:Jt},wt.map((Pt,Ve)=>Ve<wt.length-1?y.createElement(y.Fragment,{key:Ve},Pt.path||Pt.onClick?y.createElement("span",{className:D.hover,onClick:Pt!=null&&Pt.onClick?Pt.onClick:()=>ut.history.push(Pt.path)},Pt.name):y.createElement("span",null,Pt.name),y.createElement("span",null,"\xA0",">","\xA0")):y.createElement("span",{key:Ve,style:{color:"#5F6368"}},Pt.name))),Be=f(31797),pn=Object.defineProperty,We=Object.defineProperties,et=Object.getOwnPropertyDescriptors,Xe=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,ze=(jt,Jt,wt)=>Jt in jt?pn(jt,Jt,{enumerable:!0,configurable:!0,writable:!0,value:wt}):jt[Jt]=wt,qe=(jt,Jt)=>{for(var wt in Jt||(Jt={}))Se.call(Jt,wt)&&ze(jt,wt,Jt[wt]);if(Xe)for(var wt of Xe(Jt))Ie.call(Jt,wt)&&ze(jt,wt,Jt[wt]);return jt},be=(jt,Jt)=>We(jt,et(Jt)),en=(jt,Jt)=>{var wt={};for(var Pt in jt)Se.call(jt,Pt)&&Jt.indexOf(Pt)<0&&(wt[Pt]=jt[Pt]);if(jt!=null&&Xe)for(var Pt of Xe(jt))Jt.indexOf(Pt)<0&&Ie.call(jt,Pt)&&(wt[Pt]=jt[Pt]);return wt};const{Countdown:$e}=Be.default;var Cn=jt=>{var Jt=jt,{onChange:wt}=Jt,Pt=en(Jt,["onChange"]);const[Ve,At]=(0,y.useState)(null);(0,y.useEffect)(()=>{typeof Ve=="number"&&Ve>=0&&wt(Ve)},[Ve]);const St=Ue=>{const Ce=Math.floor(Ue/1e3);At(Ce)};return y.createElement($e,be(qe({},Pt),{onChange:St}))}},46780:function(nn,nt,f){"use strict";f.r(nt),f.d(nt,{default:function(){return Ae}});var y=f(59301),L=f(89070),X=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,xe=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,I=(k,_)=>{var T={};for(var ee in k)xe.call(k,ee)&&_.indexOf(ee)<0&&(T[ee]=k[ee]);if(k!=null&&C)for(var ee of C(k))_.indexOf(ee)<0&&a.call(k,ee)&&(T[ee]=k[ee]);return T};const K=k=>{var _=k,{user:T,globalSetting:ee,dispatch:W,graduations:j}=_,_e=I(_,["user","globalSetting","dispatch","graduations"]);const Ke=(0,L.useLocation)(),[De,Oe]=(0,y.useState)(),[Ye,Je]=(0,y.useState)(["_settings"]),Ge=(0,L.useParams)(),{id:yt}=Ge,{menus:xt=[]}=j;(0,y.useEffect)(()=>{var w;if(xt.length){const D=((w=Ke.pathname.split("/"))==null?void 0:w[3])||"index";Oe(D=="students"?"teachers":D)}},[Ke.pathname,xt]);const dt=[{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"]}],kt=w=>{var D;return(D=dt.find(he=>he.icon_type===w))==null?void 0:D.icon},Tt=w=>{const{clazz:D,name:bt,children:he=[],disable:Be}=w,pn=kt(D);return y.createElement(y.Fragment,{key:D},Be?y.createElement(q.Z,{title:"\u8BE5\u9636\u6BB5\u672A\u542F\u7528"},y.createElement("div",{className:$.li,onClick:()=>{he.length&&(Ye.includes(D)?Je(Ye.filter(We=>We!==D)):Je([...Ye,D]))}},y.createElement("div",{className:$.icon},pn&&y.createElement("i",{className:pn})),y.createElement("span",{className:$.name},bt),!!he.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:()=>{he.length?Ye.includes(D)?Je(Ye.filter(We=>We!==D)):Je([...Ye,D]):(Oe(D),W({type:"graduations/getGraduationsDetails",payload:{id:Ge==null?void 0:Ge.id}}),L.history.push(`/graduations/${yt}/${D}`))},className:De===D?`${$.li} ${$.active}`:$.li},y.createElement("div",{className:$.icon},pn&&y.createElement("i",{className:pn})),y.createElement("span",{className:$.name},bt),!!he.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)&&he.map(We=>Tt(We)))};return y.createElement("div",{className:$.menuWrap},y.createElement("div",{className:$.nav},xt.map(w=>Tt(w))))};var S=(0,L.connect)(({user:k,graduations:_,globalSetting:T})=>({user:k,globalSetting:T,graduations:_}))(K),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//EALURAAIBAgQEAwQHBQQEAAECdw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DClFJSjrQAtKKaOhp3+f0oAWlFNXofwpy9f8+1AmOFFIv9KXvQJ7jqKSlHWgVh1L7UwdDTx1H+e1BCFFLTV6f59aVev+fakSOFLTV/pS96GA6gUlKOtQwFopB0NL3/AA/pWYC0U0dDTv8AP6UALS01eh/ClHUf57UAOopq9P8APrTh96gBaKRf6UvegBaKTvS0AFFFFABRRRQAUUUUAFFFKOtAB70opB0NL3/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),U=f(8591),V=f(92832),ne=f(59155),Q=f(24065),b=f(99064),R=f(56102),Z=f(86608),z=f(31570),pe=f(2742),me=Object.defineProperty,de=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,Y=(k,_,T)=>_ in k?me(k,_,{enumerable:!0,configurable:!0,writable:!0,value:T}):k[_]=T,ce=(k,_)=>{for(var T in _||(_={}))B.call(_,T)&&Y(k,T,_[T]);if(te)for(var T of te(_))fe.call(_,T)&&Y(k,T,_[T]);return k},ie=(k,_)=>de(k,ae(_)),g=(k,_,T)=>new Promise((ee,W)=>{var j=De=>{try{Ke(T.next(De))}catch(Oe){W(Oe)}},_e=De=>{try{Ke(T.throw(De))}catch(Oe){W(Oe)}},Ke=De=>De.done?ee(De.value):Promise.resolve(De.value).then(j,_e);Ke((T=T.apply(k,_)).next())});const E=({graduations:k,user:_,dispatch:T})=>{const ee=(0,L.useParams)(),[W]=(0,L.useSearchParams)(),[j,_e]=(0,y.useState)(!1),[Ke,De]=(0,y.useState)(!1),[Oe,Ye]=(0,y.useState)(!1),[Je,Ge]=(0,y.useState)(!1),[yt]=P.default.useForm(),xt=(0,y.useRef)(null),{details:dt}=k,{user_identity:kt,code_effect_range:Tt,teachers_count:w,students_count:D}=dt,bt=()=>{T({type:"graduations/getGraduationsDetails",payload:{id:ee==null?void 0:ee.id}})},he=()=>g(void 0,null,function*(){(yield(0,b.ZP)("/api/graduations/detail.json",{method:"get",params:{code:W.get("code")}})).status===0&&De(!0)});(0,y.useEffect)(()=>{if(W.get("code")){he();return}bt()},[]);const Be=()=>{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:We=>xt.current=We})),onOk:()=>g(void 0,null,function*(){if(xt.current.onVerify())return Promise.reject();(yield(0,b.ZP)(`/api/graduations/${ee==null?void 0:ee.id}.json`,{method:"delete"})).status===0&&(U.ZP.success("\u5220\u9664\u6210\u529F"),L.history.push("/graduations"))})})},pn=`${window.location.origin}/graduations/${ee.id}?code=${dt==null?void 0:dt.invite_code}`;return y.createElement("div",{className:`${u.bg} ${(0,Q.tu)()?"":u.bg2}`,style:{background:`url('${(0,Q.tu)()?x:m}') no-repeat center center`}},y.createElement("div",{className:u.center},y.createElement(q.Z,{title:dt==null?void 0:dt.name},y.createElement("div",{className:u.name},dt==null?void 0:dt.name)),y.createElement(Z.Z,{className:"ml20",status:dt.status}),y.createElement("div",{style:{marginLeft:"auto"}},"\u9080\u8BF7\u7801",Tt===3?y.createElement("b",{className:"ml10"},"\u5DF2\u505C\u7528"):y.createElement("b",{className:"ml10",style:{color:"#FED218"}},dt==null?void 0:dt.invite_code)),[0,1,2].includes(Tt)&&y.createElement(y.Fragment,null,y.createElement("div",{className:u.line}),y.createElement("div",{className:"current",onClick:()=>_e(!0)},y.createElement("i",{style:{color:"#d8d8d8"},className:"iconfont icon-fenxiangketang font14 mr5"}),"\xA0\u5206\u4EAB\u6BD5\u8BBE")),(0,Q.tu)()&&y.createElement(y.Fragment,null,y.createElement("div",{className:u.line}),y.createElement("div",{className:"current",onClick:Be},y.createElement("i",{style:{color:"#d8d8d8"},className:"iconfont icon-shanchu8 font14 mr5"}),"\u5220\u9664\u6BD5\u8BBE"))),(0,Q.tu)()&&y.createElement("div",{className:u.member},y.createElement(L.Link,{className:u.btn,to:`/graduations/${ee==null?void 0:ee.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/${ee==null?void 0:ee.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/${ee==null?void 0:ee.id}/teachers`},"\u6559\u5E08",y.createElement("span",{className:"ml10"},w)),y.createElement("span",{onClick:()=>{Ge("\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:()=>{Ge("\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:j,title:"\u5206\u4EAB\u6BD5\u8BBE",width:666,onCancel:()=>{_e(!1)},footer:null},y.createElement("div",{className:u.modal},Tt===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"),Tt===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},dt==null?void 0:dt.invite_code),y.createElement(R.CopyToClipboard,{text:dt==null?void 0:dt.invite_code,onCopy:()=>U.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:()=>U.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:Oe,onCancel:()=>{L.history.replace("/graduations")},onOk:()=>yt.submit()},y.createElement(P.default,{colon:!1,form:yt,className:u.formWrap,onFinish:We=>g(void 0,null,function*(){Ye(!0);const et=yield(0,b.ZP)("/api/graduations/join.json",{method:"post",body:ie(ce({},We),{user_type:2,code:W.get("code")})});et.status===0&&(et!=null&&et.identifier?(U.ZP.success("\u52A0\u5165\u6210\u529F"),L.history.replace(`/graduations/${ee.id}/index`),De(!1),bt()):(U.ZP.success(et==null?void 0:et.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(V.default,{showCount:!0,maxLength:60})))),y.createElement(z.Z,{open:Je,onCancel:()=>Ge(!1),title:Je,OnOk:We=>g(void 0,null,function*(){if((yield(Je=="\u6DFB\u52A0\u8001\u5E08"?pe.HF:pe.NX)({id:ee.id,user_ids:We})).status==0){if(U.ZP.success("\u6DFB\u52A0\u6210\u529F"),Ge(!1),T({type:"graduations/getGraduationsDetails",payload:{id:ee==null?void 0:ee.id}}),Je=="\u6DFB\u52A0\u8001\u5E08"&&location.pathname.includes("teachers")){T({type:"graduations/setUpdateIndex"});return}if(Je=="\u6DFB\u52A0\u5B66\u751F"&&location.pathname.includes("students")){T({type:"graduations/setUpdateIndex"});return}const Xe=`/graduations/${ee==null?void 0:ee.id}/${Je=="\u6DFB\u52A0\u8001\u5E08"?"teachers":"students"}`;L.history.push(Xe)}})}))};var G=(0,L.connect)(({graduations:k,user:_})=>({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(85149),ke=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,ut=(k,_,T)=>_ in k?ke(k,_,{enumerable:!0,configurable:!0,writable:!0,value:T}):k[_]=T,it=(k,_)=>{for(var T in _||(_={}))Ze.call(_,T)&&ut(k,T,_[T]);if(Fe)for(var T of Fe(_))lt.call(_,T)&&ut(k,T,_[T]);return k};const Ut=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,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIi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},Ke=De=>De.done?ee(De.value):Promise.resolve(De.value).then(j,_e);Ke((T=T.apply(k,_)).next())});const se=({graduations:k,dispatch:_})=>{var T,ee;const W=(0,L.useParams)(),j=(0,L.useLocation)(),[_e,Ke]=(0,y.useState)(!1),{menus:De}=k,Oe=De.find(xt=>xt.stage_url===j.pathname)||{},Je=["opening_report","midterm_report","thesis","final_defense","final_thesis","archives"].includes(Oe==null?void 0:Oe.clazz),Ge=()=>_t(void 0,null,function*(){if(Ke(!0),Oe!=null&&Oe.notice_view)return;(yield(0,b.ZP)(`/api/graduations/${W==null?void 0:W.id}/graduation_stages/${Oe==null?void 0:Oe.id}/notice_view.json`,{method:"post"})).status===0&&_({type:"graduations/getGraduationsDetails",payload:{id:W==null?void 0:W.id}})}),yt=!((T=Oe==null?void 0:Oe.attachments)!=null&&T.length)&&!(Oe!=null&&Oe.description);return y.createElement(y.Fragment,null,Je&&y.createElement(q.Z,{title:"\u9636\u6BB5\u516C\u544A/\u63CF\u8FF0",placement:"bottom"},y.createElement("div",{className:J.icon,onClick:Ge},y.createElement("div",{className:J.content},y.createElement("img",{height:20,src:qt}),!(Oe!=null&&Oe.notice_view)&&y.createElement("div",{className:J.dot})))),y.createElement(ue.default,{centered:!0,destroyOnClose:!0,onCancel:()=>Ke(!1),onOk:()=>Ke(!1),open:_e,title:"\u9636\u6BB5\u516C\u544A/\u63CF\u8FF0",width:990,cancelButtonProps:{style:{display:"none"}},okText:"\u6211\u77E5\u9053\u4E86"},yt?y.createElement(an.Z,null):y.createElement("div",{style:{maxHeight:500}},y.createElement(Le.Z,{className:"mb25",value:(Oe==null?void 0:Oe.description)||""}),(ee=Oe==null?void 0:Oe.attachments)==null?void 0:ee.map(xt=>y.createElement(Ee.Z,{key:xt.id,className:"mt4",align:"middle"},y.createElement("div",{style:{color:"#3061D0"},className:"current c-light-primary",onClick:()=>{var dt;(0,Ot.Nd)("",`${ot.Z.API_SERVER}${(dt=xt==null?void 0:xt.url)==null?void 0:dt.replace("disposition=inline","")}`)}},y.createElement("i",{className:"iconfont icon-wenjian7 font14 mr5"}),(0,Ot.tP)(xt.title,62)))))))};var ye=(0,L.connect)(({graduations:k})=>({graduations:k}))(se);const{Content:H}=X.default;var Ae=({})=>y.createElement("div",{className:"bg-white"},y.createElement(G,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(ye,null),y.createElement(L.Outlet,null))))},31570:function(nn,nt,f){"use strict";var y=f(59301),L=f(89070),X=f(78241),Ee=f(6848),$=f(8591),q=f(43418),C=f(57809),xe=f(92832),a=f(88522),I=f(1710),K=f(61186),S=f.n(K),u=f(8797),x=f(2742),m=f(85057),P=Object.defineProperty,ue=Object.defineProperties,U=Object.getOwnPropertyDescriptors,V=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable,b=(me,de,ae)=>de in me?P(me,de,{enumerable:!0,configurable:!0,writable:!0,value:ae}):me[de]=ae,R=(me,de)=>{for(var ae in de||(de={}))ne.call(de,ae)&&b(me,ae,de[ae]);if(V)for(var ae of V(de))Q.call(de,ae)&&b(me,ae,de[ae]);return me},Z=(me,de)=>ue(me,U(de)),z=(me,de,ae)=>new Promise((te,B)=>{var fe=ie=>{try{ce(ae.next(ie))}catch(g){B(g)}},Y=ie=>{try{ce(ae.throw(ie))}catch(g){B(g)}},ce=ie=>ie.done?te(ie.value):Promise.resolve(ie.value).then(fe,Y);ce((ae=ae.apply(me,de)).next())});const pe=({graduations:{StageSetting:me},onCancel:de,OnOk:ae,open:te=!1,title:B,dispatch:fe})=>{const Y=(0,L.useParams)(),[ce,ie]=(0,y.useState)([]),[g]=X.default.useForm(),[E,G]=(0,y.useState)({school:"",search:"",search_type:"name"}),[J,Le]=(0,y.useState)(!0),[ke,Fe]=(0,y.useState)(!1),[Ze,lt]=(0,y.useState)(!1),[ut,it]=(0,y.useState)([]),[Ut,qt]=(0,y.useState)(0),[an,Ot]=(0,y.useState)(0),[ot,_t]=(0,y.useState)(1),[se,ye]=(0,y.useState)([]),[H,O]=(0,y.useState)(!1),Ae=(0,y.useRef)(null);(0,y.useEffect)(()=>{switch(B){case"\u6DFB\u52A0\u5B66\u751F":Ot(0);break;case"\u6DFB\u52A0\u8001\u5E08":Ot(1);break;default:Ot(null)}},[te]),(0,y.useEffect)(()=>{z(void 0,null,function*(){var W;const j=yield(0,x.xF)({keyword:"",per_page:9999,display_aliases:!0});ie((W=j==null?void 0:j.schools)==null?void 0:W.map(_e=>({label:_e.name,value:_e.id})))})},[]);const k=[{title:"\u59D3\u540D",width:100,ellipsis:!0,dataIndex:"name",render:W=>y.createElement(Ee.Z,{placement:"topLeft",title:W},y.createElement("span",{style:{color:"#000"}},W||"--"))},{title:"\u5B66\u6821/\u5355\u4F4D",dataIndex:"school",ellipsis:!0,render:W=>y.createElement(Ee.Z,{placement:"topLeft",title:W},y.createElement("span",{style:{color:"#000"}},W||"--"))},{title:"\u9662\u7CFB/\u90E8\u95E8",dataIndex:"department",width:130,ellipsis:!0,render:W=>y.createElement(Ee.Z,{placement:"topLeft",title:W},y.createElement("span",{style:{color:"#000"}},W||"--"))},{title:"\u5B66\u53F7/\u5DE5\u53F7",width:100,dataIndex:"student_number",ellipsis:!0,render:(W,j)=>y.createElement(Ee.Z,{placement:"topLeft",title:j.staff_id||j.student_id},y.createElement("span",{className:"c-grey-666"},j.staff_id||j.student_id||"--"))},{title:"\u624B\u673A",width:110,dataIndex:"phone",ellipsis:!0,render:W=>y.createElement(Ee.Z,{placement:"topLeft",title:W},y.createElement("span",{className:"c-grey-666"},W||"--"))},{title:"\u90AE\u7BB1",dataIndex:"mail",width:120,ellipsis:!0,render:W=>y.createElement(Ee.Z,{placement:"topLeft",title:W},y.createElement("span",{className:"c-grey-666"},W||"--"))},{title:"\u5B9E\u540D\u8BA4\u8BC1",dataIndex:"authentication",width:80,render:W=>W?y.createElement("span",{style:{color:"#000"}},"\u662F"):"\u5426"},{title:"\u6700\u540E\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_on",width:140,ellipsis:!0,render:W=>y.createElement(Ee.Z,{placement:"topLeft",title:W},y.createElement("span",{className:"c-grey-666"},S()(W).format("YYYY-MM-DD HH:mm")))},{title:"\u72B6\u6001",dataIndex:"checked",width:80,render:W=>W?y.createElement("span",{className:"c-green"},"\u5DF2\u6DFB\u52A0"):y.createElement("span",{className:"c-grey-333"},"\u672A\u6DFB\u52A0")}],_=W=>z(void 0,null,function*(){var j,_e;if(Ae.current&&((_e=(j=Ae.current)==null?void 0:j.querySelector(".ant-table-body"))==null||_e.scrollTo(0,0)),O(!0),ye([]),!(W.search||W.school)){$.ZP.warning("\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9");return}Fe(!0),G(W),_t(1);let Ke;const De=Z(R({id:Y.id},W),{display_aliases:!0});an==0&&(Ke=yield(0,x.l5)(De)),an==1&&(Ke=yield(0,x.bS)(De)),Ke.status==0&&(it(Ke.data),qt(Ke.count)),Fe(!1)}),T=(W=!1)=>z(void 0,null,function*(){var j,_e,Ke,De;const Oe=(j=Ae.current)==null?void 0:j.querySelector(".ant-table-body").scrollHeight,Ye=(_e=Ae.current)==null?void 0:_e.querySelector(".ant-table-body").scrollTop,Je=(Ke=Ae.current)==null?void 0:Ke.querySelector(".ant-table-body").clientHeight;if(Oe==Ye+Je&&J&&!ke){Fe(!0),_t(ot+1);let Ge;const yt=R({page:ot+1,id:Y.id},E);an==0&&(Ge=yield(0,x.l5)(yt)),an==1&&(Ge=yield(0,x.bS)(yt)),Ge.status==0&&(((De=Ge==null?void 0:Ge.data)==null?void 0:De.length)+ut.length==Ge.count&&Le(!1),it([...ut,...Ge.data]),qt(Ge.count)),Fe(!1)}}),ee={selectedRowKeys:se,onChange:(W,j)=>{ye(W)},getCheckboxProps:W=>({disabled:W.checked,name:W.checked})};return y.createElement(q.default,{destroyOnClose:!0,width:1200,style:{height:"613px"},open:te,confirmLoading:Ze,title:B,bodyStyle:{padding:"0px 25px"},onOk:()=>z(void 0,null,function*(){se.length>0?(lt(!0),yield ae(se),lt(!1),g.resetFields(),it([]),O(!1),ye([])):$.ZP.warning("\u8BF7\u9009\u62E9\u6DFB\u52A0\u4EBA\u5458")}),onCancel:()=>{de(),g.resetFields(),O(!1),it([]),ye([])}},y.createElement(X.default,{layout:"inline",className:"mt10",colon:!1,form:g,initialValues:{school:"",search:"",search_type:"name"},onValuesChange:(W,j)=>G(j),size:"large",onFinish:_},y.createElement(X.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(X.default.Item,{name:"search",label:"\u641C\u7D22\u5185\u5BB9"},y.createElement(xe.default,{allowClear:!0,style:{width:320},placeholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",defaultValue:""})),y.createElement(X.default.Item,{name:"school",label:"\u5355\u4F4D"},y.createElement(a.Z,{options:ce,style:{width:380},placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0",onSelect:(W,j)=>{console.log(W,j),g.setFieldsValue({school:j.label})},filterOption:(W,j)=>j.label.toUpperCase().indexOf(W.toUpperCase())!==-1})),y.createElement(X.default.Item,{noStyle:!0},y.createElement(m.op,{onClick:()=>g.submit(),size:"large",shape:"default"},"\u641C\u7D22"))),y.createElement("div",{onScrollCapture:()=>T()},H?y.createElement(I.default,{className:"mt20",loading:ke,showHeader:ut.length>0,scroll:Ut>10?{y:450}:{},rowKey:"user_id",rowSelection:ee,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:ut,ref:Ae,columns:k}):y.createElement(u.Z,{customText:"\u8BF7\u641C\u7D22\u8981\u6DFB\u52A0\u7684\u4EBA\u5458"})))};nt.Z=(0,L.connect)(({graduations:me})=>({graduations:me}))(pe)},86608:function(nn,nt,f){"use strict";f.d(nt,{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"},X=f(92310),Ee=f.n(X),q=({className:C,status:xe})=>y.createElement(y.Fragment,null,xe===0&&y.createElement("div",{className:Ee()(L.tag,C)},"\u672A\u5F00\u59CB"),xe===1&&y.createElement("div",{className:Ee()(L.tag,C),style:{background:"#19CB70"}},"\u8FDB\u884C\u4E2D"),xe===2&&y.createElement("div",{className:Ee()(L.tag,C),style:{background:"#EE5D5D"}},"\u5DF2\u7ED3\u675F"))},24768:function(nn,nt,f){"use strict";f.d(nt,{AL:function(){return Q},Iy:function(){return K},Qv:function(){return x},ez:function(){return ne},jb:function(){return S}});var y=f(32834),L=f.n(y),X=f(11690),Ee=f.n(X);let $=1;function q(pe,me){const de=pe.match(/^(\s+)(?:```)/);if(de===null)return me;const ae=de[1];return me.split(`
|
|
|
`).map(te=>{const B=te.match(/^\s+/);if(B===null)return te;const[fe]=B;return fe.length>=ae.length?te.slice(ae.length):te}).join(`
|
|
|
`)}let C=[],xe=["<ul>"];const a=new(L()).Renderer,I=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function K(){C.length=0,xe=["<ul>"]}const S={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function u(pe,me,de,ae){if(me>=pe.length||pe[me].level<=de)return me;var te=pe[me];ae.push("<li><a href='#"+$+te.anchor+"'>"+te.text+"</a>"),me++;var B=[];return me=u(pe,me,te.level,B),B.length>0&&(ae.push("<ul>"),B.forEach(function(fe){ae.push(fe)}),ae.push("</ul>")),ae.push("</li>"),me=u(pe,me,de,ae),me}function x(){return u(C,0,0,xe),xe.push("</ul>"),xe.join("")}const m={heading(pe){const me=I.exec(pe);if($+=1,me)return{type:"heading",raw:me[0],depth:me[1].length,text:me[2]}},fences(pe){const me=this.rules.block.fences.exec(pe);if(me){const de=me[0];let ae=q(de,me[3]||"");const te=me[2]?me[2].trim():me[2];if(["latex","katex","math"].indexOf(te)>=0){const B=U(),fe=ae;ae=B,V[B]={type:"block",expression:fe}}return{type:"code",raw:de,lang:te,text:ae}}}},P=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let ue=0;const U=()=>`__special_katext_id_${ue++}__`;let V={};function ne(){return V}function Q(){ue=0,V={}}function b(pe){return pe=pe.replace(P,(me,de)=>{const ae=U();return V[ae]={type:"inline",expression:de},ae}),pe}const R=a.listitem;a.listitem=function(pe){return R(b(pe))};const Z=a.paragraph;a.paragraph=function(pe){return Z(b(pe))};const z=a.tablecell;a.tablecell=function(pe,me){return z(b(pe),me)},a.code=function(pe,me,de){const ae=(me||"").match(/\S*/)[0];return ae?["latex","katex","math"].indexOf(ae)>=0?`<p class='editormd-tex'>${pe}</p>`:`<pre class="prettyprint linenums"><code class="language-${me}">${de?pe:(0,X.escape)(pe,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(de?pe:(0,X.escape)(pe,!0))+"</code></pre>"},a.heading=function(pe,me,de){let ae=this.options.headerPrefix+de.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return C.push({anchor:ae,level:me,text:pe}),"<h"+me+' id="'+$+ae+'">'+pe+"</h"+me+">"},L().setOptions({silent:!0,gfm:!0,pedantic:!1}),L().use({tokenizer:m,renderer:a}),nt.ZP=L()},36785:function(nn,nt,f){"use strict";f.d(nt,{o2:function(){return $},yT:function(){return q}});var y=f(19127),L=f(33166);const X=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)(X),(0,y.Z)(L.i)).includes(C):L.i.includes(C)}function q(C){return Ee.includes(C)}},50371:function(nn,nt){"use strict";function f(){const y=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let L=1;L<arguments.length;L++){const X=L<0||arguments.length<=L?void 0:arguments[L];X&&Object.keys(X).forEach(Ee=>{const $=X[Ee];$!==void 0&&(y[Ee]=$)})}return y}nt.Z=f},13845:function(nn,nt,f){"use strict";f.d(nt,{F:function(){return y},Z:function(){return L}});function y(X){return X!=null&&X===X.window}function L(X,Ee){var $,q;if(typeof window=="undefined")return 0;const C=Ee?"scrollTop":"scrollLeft";let xe=0;return y(X)?xe=X[Ee?"pageYOffset":"pageXOffset"]:X instanceof Document?xe=X.documentElement[C]:(X instanceof HTMLElement||X)&&(xe=X[C]),X&&!y(X)&&typeof xe!="number"&&(xe=(q=(($=X.ownerDocument)!==null&&$!==void 0?$:X).documentElement)===null||q===void 0?void 0:q[C]),xe}},56762:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return L}});var y=f(59301);function L(){const[,X]=y.useReducer(Ee=>Ee+1,0);return X}},79676:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return q}});var y=f(19447);function L(C,xe,a,I){if(I===!1)return{adjustX:!1,adjustY:!1};const K=I&&typeof I=="object"?I:{},S={};switch(C){case"top":case"bottom":S.shiftX=xe.dropdownArrowOffset*2+a;break;case"left":case"right":S.shiftY=xe.dropdownArrowOffsetVertical*2+a;break}const u=Object.assign(Object.assign({},S),K);return u.shiftX||(u.adjustX=!0),u.shiftY||(u.adjustY=!0),u}const X={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:xe,autoAdjustOverflow:a,arrowPointAtCenter:I,offset:K,borderRadius:S,visibleFirst:u}=C,x=xe/2,m={};return Object.keys(X).forEach(P=>{const ue=I&&Ee[P]||X[P],U=Object.assign(Object.assign({},ue),{offset:[0,0]});switch(m[P]=U,$.has(P)&&(U.autoArrow=!1),P){case"top":case"topLeft":case"topRight":U.offset[1]=-x-K;break;case"bottom":case"bottomLeft":case"bottomRight":U.offset[1]=x+K;break;case"left":case"leftTop":case"leftBottom":U.offset[0]=-x-K;break;case"right":case"rightTop":case"rightBottom":U.offset[0]=x+K;break}const V=(0,y.fS)({contentRadius:S,limitVerticalRadius:!0});if(I)switch(P){case"topLeft":case"bottomLeft":U.offset[0]=-V.dropdownArrowOffset-x;break;case"topRight":case"bottomRight":U.offset[0]=V.dropdownArrowOffset+x;break;case"leftTop":case"rightTop":U.offset[1]=-V.dropdownArrowOffset-x;break;case"leftBottom":case"rightBottom":U.offset[1]=V.dropdownArrowOffset+x;break}U.overflow=L(P,V,xe,a),u&&(U.htmlRegion="visibleFirst")}),m}},68031:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return Ee}});var y=f(16089);function L($,q,C,xe){const a=C-q;return $/=xe/2,$<1?a/2*$*$*$+q:a/2*(($-=2)*$*$+2)+q}var X=f(13845);function Ee($){let q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:C=()=>window,callback:xe,duration:a=450}=q,I=C(),K=(0,X.Z)(I,!0),S=Date.now(),u=()=>{const m=Date.now()-S,P=L(m>a?a:m,K,$,a);(0,X.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 xe=="function"&&xe()};(0,y.Z)(u)}},19080:function(nn,nt,f){"use strict";f.d(nt,{F:function(){return $},Z:function(){return Ee}});var y=f(92310),L=f.n(y);const X=null;function Ee(q,C,xe){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`]:xe})}const $=(q,C)=>C||q},88522:function(nn,nt,f){"use strict";var y=f(92310),L=f.n(y),X=f(11592),Ee=f(2738),$=f(59301),q=f(53487),C=f(92343),xe=f(36355),a=f(57809);const{Option:I}=a.default;function K(m){return m&&m.type&&(m.type.isSelectOption||m.type.isSelectOptGroup)}const S=(m,P)=>{const{prefixCls:ue,className:U,popupClassName:V,dropdownClassName:ne,children:Q,dataSource:b}=m,R=(0,X.Z)(Q);let Z;R.length===1&&(0,C.l$)(R[0])&&!K(R[0])&&([Z]=R);const z=Z?()=>Z:void 0;let pe;R.length&&K(R[0])?pe=Q:pe=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(xe.E_),de=me("select",ue);return $.createElement(a.default,Object.assign({ref:P,suffixIcon:null},(0,Ee.Z)(m,["dataSource","dropdownClassName"]),{prefixCls:de,popupClassName:V||ne,className:L()(`${de}-auto-complete`,U),mode:a.default.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:z}),pe)},u=$.forwardRef(S),x=(0,q.Z)(u);u.Option=I,u._InternalPanelDoNotUseOrYouWillBeFired=x,nt.Z=u},24905:function(nn,nt,f){"use strict";f.d(nt,{default:function(){return Z}});var y=f(92310),L=f.n(y),X=f(5630),Ee=f(59301),$=f(36355),q=f(1684),C=f(32441),a=Ee.createContext(null),I=f(98447),K=f(14088),S=f(4572),u=function(z,pe){var me={};for(var de in z)Object.prototype.hasOwnProperty.call(z,de)&&pe.indexOf(de)<0&&(me[de]=z[de]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,de=Object.getOwnPropertySymbols(z);ae<de.length;ae++)pe.indexOf(de[ae])<0&&Object.prototype.propertyIsEnumerable.call(z,de[ae])&&(me[de[ae]]=z[de[ae]]);return me};const x=(z,pe)=>{var me;const{prefixCls:de,className:ae,rootClassName:te,children:B,indeterminate:fe=!1,style:Y,onMouseEnter:ce,onMouseLeave:ie,skipGroup:g=!1,disabled:E}=z,G=u(z,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:J,direction:Le,checkbox:ke}=Ee.useContext($.E_),Fe=Ee.useContext(a),{isFormItemInput:Ze}=Ee.useContext(C.aM),lt=Ee.useContext(q.Z),ut=(me=(Fe==null?void 0:Fe.disabled)||E)!==null&&me!==void 0?me:lt,it=Ee.useRef(G.value);Ee.useEffect(()=>{Fe==null||Fe.registerValue(G.value)},[]),Ee.useEffect(()=>{if(!g)return G.value!==it.current&&(Fe==null||Fe.cancelValue(it.current),Fe==null||Fe.registerValue(G.value),it.current=G.value),()=>Fe==null?void 0:Fe.cancelValue(G.value)},[G.value]);const Ut=J("checkbox",de),[qt,an]=(0,I.ZP)(Ut),Ot=Object.assign({},G);Fe&&!g&&(Ot.onChange=function(){G.onChange&&G.onChange.apply(G,arguments),Fe.toggleOption&&Fe.toggleOption({label:B,value:G.value})},Ot.name=Fe.name,Ot.checked=Fe.value.includes(G.value));const ot=L()(`${Ut}-wrapper`,{[`${Ut}-rtl`]:Le==="rtl",[`${Ut}-wrapper-checked`]:Ot.checked,[`${Ut}-wrapper-disabled`]:ut,[`${Ut}-wrapper-in-form-item`]:Ze},ke==null?void 0:ke.className,ae,te,an),_t=L()({[`${Ut}-indeterminate`]:fe},S.A,an),se=fe?"mixed":void 0;return qt(Ee.createElement(K.Z,{component:"Checkbox",disabled:ut},Ee.createElement("label",{className:ot,style:Object.assign(Object.assign({},ke==null?void 0:ke.style),Y),onMouseEnter:ce,onMouseLeave:ie},Ee.createElement(X.Z,Object.assign({"aria-checked":se},Ot,{prefixCls:Ut,className:_t,disabled:ut,ref:pe})),B!==void 0&&Ee.createElement("span",null,B))))};var P=Ee.forwardRef(x),ue=f(19127),U=f(2738),V=function(z,pe){var me={};for(var de in z)Object.prototype.hasOwnProperty.call(z,de)&&pe.indexOf(de)<0&&(me[de]=z[de]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,de=Object.getOwnPropertySymbols(z);ae<de.length;ae++)pe.indexOf(de[ae])<0&&Object.prototype.propertyIsEnumerable.call(z,de[ae])&&(me[de[ae]]=z[de[ae]]);return me};const ne=(z,pe)=>{const{defaultValue:me,children:de,options:ae=[],prefixCls:te,className:B,rootClassName:fe,style:Y,onChange:ce}=z,ie=V(z,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:g,direction:E}=Ee.useContext($.E_),[G,J]=Ee.useState(ie.value||me||[]),[Le,ke]=Ee.useState([]);Ee.useEffect(()=>{"value"in ie&&J(ie.value||[])},[ie.value]);const Fe=Ee.useMemo(()=>ae.map(ye=>typeof ye=="string"||typeof ye=="number"?{label:ye,value:ye}:ye),[ae]),Ze=ye=>{ke(H=>H.filter(O=>O!==ye))},lt=ye=>{ke(H=>[].concat((0,ue.Z)(H),[ye]))},ut=ye=>{const H=G.indexOf(ye.value),O=(0,ue.Z)(G);H===-1?O.push(ye.value):O.splice(H,1),"value"in ie||J(O),ce==null||ce(O.filter(Ae=>Le.includes(Ae)).sort((Ae,k)=>{const _=Fe.findIndex(ee=>ee.value===Ae),T=Fe.findIndex(ee=>ee.value===k);return _-T}))},it=g("checkbox",te),Ut=`${it}-group`,[qt,an]=(0,I.ZP)(it),Ot=(0,U.Z)(ie,["value","disabled"]),ot=ae.length?Fe.map(ye=>Ee.createElement(P,{prefixCls:it,key:ye.value.toString(),disabled:"disabled"in ye?ye.disabled:ie.disabled,value:ye.value,checked:G.includes(ye.value),onChange:ye.onChange,className:`${Ut}-item`,style:ye.style,title:ye.title},ye.label)):de,_t={toggleOption:ut,value:G,disabled:ie.disabled,name:ie.name,registerValue:lt,cancelValue:Ze},se=L()(Ut,{[`${Ut}-rtl`]:E==="rtl"},B,fe,an);return qt(Ee.createElement("div",Object.assign({className:se,style:Y},Ot,{ref:pe}),Ee.createElement(a.Provider,{value:_t},ot)))},Q=Ee.forwardRef(ne);var b=Ee.memo(Q);const R=P;R.Group=b,R.__ANT_CHECKBOX=!0;var Z=R},98447:function(nn,nt,f){"use strict";f.d(nt,{C2:function(){return $}});var y=f(17313),L=f(37613),X=f(83116);const Ee=q=>{const{checkboxCls:C}=q,xe=`${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}}),[xe]: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'"},[`& + ${xe}`]:{marginInlineStart:0},[`&${xe}-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}})},{[`
|
|
|
${xe}:not(${xe}-disabled),
|
|
|
${C}:not(${C}-disabled)
|
|
|
`]:{[`&:hover ${C}-inner`]:{borderColor:q.colorPrimary}},[`${xe}:not(${xe}-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}`}}},[`
|
|
|
${xe}-checked:not(${xe}-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:'""'}}}}},{[`${xe}-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 xe=(0,L.TS)(C,{checkboxCls:`.${q}`,checkboxSize:C.controlInteractiveSize});return[Ee(xe)]}nt.ZP=(0,X.Z)("Checkbox",(q,C)=>{let{prefixCls:xe}=C;return[$(xe,q)]})},93891:function(nn,nt,f){"use strict";var y=f(59301),L=f(36355),X=f(64165);const Ee=$=>{const{componentName:q}=$,{getPrefixCls:C}=(0,y.useContext)(L.E_),xe=C("empty");switch(q){case"Table":case"List":return y.createElement(X.Z,{image:X.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return y.createElement(X.Z,{image:X.Z.PRESENTED_IMAGE_SIMPLE,className:`${xe}-small`});default:return y.createElement(X.Z,null)}};nt.Z=Ee},91857:function(nn,nt,f){"use strict";var y=f(59301),L=f(38819),X=f(92310),Ee=f.n(X),$=f(31561),q=f(70425),C=f(18929),xe=f(2738),a=f(79676),I=f(53487),K=f(92343),S=f(36355),u=f(20834),x=f(40875),m=f(88088),P=f(47211);const ue=null,U=b=>{const{menu:R,arrow:Z,prefixCls:z,children:pe,trigger:me,disabled:de,dropdownRender:ae,getPopupContainer:te,overlayClassName:B,rootClassName:fe,open:Y,onOpenChange:ce,visible:ie,onVisibleChange:g,mouseEnterDelay:E=.15,mouseLeaveDelay:G=.1,autoAdjustOverflow:J=!0,placement:Le="",overlay:ke,transitionName:Fe}=b,{getPopupContainer:Ze,getPrefixCls:lt,direction:ut}=y.useContext(S.E_),it=y.useMemo(()=>{const j=lt();return Fe!==void 0?Fe:Le.includes("top")?`${j}-slide-down`:`${j}-slide-up`},[lt,Le,Fe]),Ut=y.useMemo(()=>Le?Le.includes("Center")?Le.slice(0,Le.indexOf("Center")):Le:ut==="rtl"?"bottomRight":"bottomLeft",[Le,ut]),qt=lt("dropdown",z),[an,Ot]=(0,P.Z)(qt),[,ot]=(0,m.Z)(),_t=y.Children.only(pe),se=(0,K.Tm)(_t,{className:Ee()(`${qt}-trigger`,{[`${qt}-rtl`]:ut==="rtl"},_t.props.className),disabled:de}),ye=de?[]:me;let H;ye&&ye.includes("contextMenu")&&(H=!0);const[O,Ae]=(0,C.Z)(!1,{value:Y!=null?Y:ie}),k=(0,q.useEvent)(j=>{ce==null||ce(j),g==null||g(j),Ae(j)}),_=Ee()(B,fe,Ot,{[`${qt}-rtl`]:ut==="rtl"}),T=(0,a.Z)({arrowPointAtCenter:typeof Z=="object"&&Z.pointAtCenter,autoAdjustOverflow:J,offset:ot.marginXXS,arrowWidth:Z?ot.sizePopupArrow:0,borderRadius:ot.borderRadius}),ee=y.useCallback(()=>{Ae(!1)},[]),W=()=>{let j;return R!=null&&R.items?j=y.createElement(u.default,Object.assign({},R)):typeof ke=="function"?j=ke():j=ke,ae&&(j=ae(j)),j=y.Children.only(typeof j=="string"?y.createElement("span",null,j):j),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:ee,validator:_e=>{let{mode:Ke}=_e}},j)};return an(y.createElement($.Z,Object.assign({alignPoint:H},(0,xe.Z)(b,["rootClassName"]),{mouseEnterDelay:E,mouseLeaveDelay:G,visible:O,builtinPlacements:T,arrow:!!Z,overlayClassName:_,prefixCls:qt,getPopupContainer:te||Ze,transitionName:it,trigger:ye,overlay:W,placement:Ut,onVisibleChange:k}),se))};function V(b){return Object.assign(Object.assign({},b),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ne=(0,I.Z)(U,"dropdown",b=>b,V),Q=b=>y.createElement(ne,Object.assign({},b),y.createElement("span",null));U._InternalPanelDoNotUseOrYouWillBeFired=Q,nt.Z=U},38854:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return m}});var y=f(91857),L=f(92310),X=f.n(L),Ee=f(59301),$=f(18785),q=f(3113),C=f(36355),xe=f(81327),a=f(33234),I=f(47211),K=function(P,ue){var U={};for(var V in P)Object.prototype.hasOwnProperty.call(P,V)&&ue.indexOf(V)<0&&(U[V]=P[V]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,V=Object.getOwnPropertySymbols(P);ne<V.length;ne++)ue.indexOf(V[ne])<0&&Object.prototype.propertyIsEnumerable.call(P,V[ne])&&(U[V[ne]]=P[V[ne]]);return U};const S=P=>{const{getPopupContainer:ue,getPrefixCls:U,direction:V}=Ee.useContext(C.E_),{prefixCls:ne,type:Q="default",danger:b,disabled:R,loading:Z,onClick:z,htmlType:pe,children:me,className:de,menu:ae,arrow:te,autoFocus:B,overlay:fe,trigger:Y,align:ce,open:ie,onOpenChange:g,placement:E,getPopupContainer:G,href:J,icon:Le=Ee.createElement($.Z,null),title:ke,buttonsRender:Fe=W=>W,mouseEnterDelay:Ze,mouseLeaveDelay:lt,overlayClassName:ut,overlayStyle:it,destroyPopupOnHide:Ut,dropdownRender:qt}=P,an=K(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"]),Ot=U("dropdown",ne),ot=`${Ot}-button`,[_t,se]=(0,I.Z)(Ot),ye={menu:ae,arrow:te,autoFocus:B,align:ce,disabled:R,trigger:R?[]:Y,onOpenChange:g,getPopupContainer:G||ue,mouseEnterDelay:Ze,mouseLeaveDelay:lt,overlayClassName:ut,overlayStyle:it,destroyPopupOnHide:Ut,dropdownRender:qt},{compactSize:H,compactItemClassnames:O}=(0,a.ri)(Ot,V),Ae=X()(ot,O,de,se);"overlay"in P&&(ye.overlay=fe),"open"in P&&(ye.open=ie),"placement"in P?ye.placement=E:ye.placement=V==="rtl"?"bottomLeft":"bottomRight";const k=Ee.createElement(q.ZP,{type:Q,danger:b,disabled:R,loading:Z,onClick:z,htmlType:pe,href:J,title:ke},me),_=Ee.createElement(q.ZP,{type:Q,danger:b,icon:Le}),[T,ee]=Fe([k,_]);return _t(Ee.createElement(xe.Z.Compact,Object.assign({className:Ae,size:H,block:!0},an),T,Ee.createElement(y.Z,Object.assign({},ye),ee)))};S.__ANT_BUTTON=!0;var u=S;const x=y.Z;x.Button=u;var m=x},47211:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return K}});var y=f(17313),L=f(13826),X=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:U,iconCls:V,motionDurationMid:ne,dropdownPaddingVertical:Q,fontSize:b,dropdownEdgeChildPadding:R,colorTextDisabled:Z,fontSizeIcon:z,controlPaddingHorizontal:pe,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${U}-btn`]:{[`& > ${V}-down, & > ${U}-btn-icon > ${V}-down`]:{fontSize:z}},[`${u}-wrap`]:{position:"relative",[`${U}-btn > ${V}-down`]:{fontSize:z},[`${V}-down::before`]:{transition:`transform ${ne}`}},[`${u}-wrap-open`]:{[`${V}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${U}-slide-down-enter${U}-slide-down-enter-active${u}-placement-bottomLeft,
|
|
|
&${U}-slide-down-appear${U}-slide-down-appear-active${u}-placement-bottomLeft,
|
|
|
&${U}-slide-down-enter${U}-slide-down-enter-active${u}-placement-bottom,
|
|
|
&${U}-slide-down-appear${U}-slide-down-appear-active${u}-placement-bottom,
|
|
|
&${U}-slide-down-enter${U}-slide-down-enter-active${u}-placement-bottomRight,
|
|
|
&${U}-slide-down-appear${U}-slide-down-appear-active${u}-placement-bottomRight`]:{animationName:L.fJ},[`&${U}-slide-up-enter${U}-slide-up-enter-active${u}-placement-topLeft,
|
|
|
&${U}-slide-up-appear${U}-slide-up-appear-active${u}-placement-topLeft,
|
|
|
&${U}-slide-up-enter${U}-slide-up-enter-active${u}-placement-top,
|
|
|
&${U}-slide-up-appear${U}-slide-up-appear-active${u}-placement-top,
|
|
|
&${U}-slide-up-enter${U}-slide-up-enter-active${u}-placement-topRight,
|
|
|
&${U}-slide-up-appear${U}-slide-up-appear-active${u}-placement-topRight`]:{animationName:L.Qt},[`&${U}-slide-down-leave${U}-slide-down-leave-active${u}-placement-bottomLeft,
|
|
|
&${U}-slide-down-leave${U}-slide-down-leave-active${u}-placement-bottom,
|
|
|
&${U}-slide-down-leave${U}-slide-down-leave-active${u}-placement-bottomRight`]:{animationName:L.Uw},[`&${U}-slide-up-leave${U}-slide-up-leave-active${u}-placement-topLeft,
|
|
|
&${U}-slide-up-leave${U}-slide-up-leave-active${u}-placement-top,
|
|
|
&${U}-slide-up-leave${U}-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:`${Q}px ${pe}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:`${Q}px ${pe}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:z,fontStyle:"normal"}}}),[`${x}-item-group-list`]:{margin:`0 ${S.marginXS}px`,padding:0,listStyle:"none"},[`${x}-submenu-title`]:{paddingInlineEnd:pe+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,X.Fm)(S,"move-up"),(0,X.Fm)(S,"move-down"),(0,Ee._y)(S,"zoom-big")]]};var K=(0,q.Z)("Dropdown",(S,u)=>{let{rootPrefixCls:x}=u;const{marginXXS:m,sizePopupArrow:P,controlHeight:ue,fontSize:U,lineHeight:V,paddingXXS:ne,componentCls:Q,borderRadiusLG:b}=S,R=(ue-U*V)/2,{dropdownArrowOffset:Z}=(0,$.fS)({contentRadius:b}),z=(0,C.TS)(S,{menuCls:`${Q}-menu`,rootPrefixCls:x,dropdownArrowDistance:P/2+m,dropdownArrowOffset:Z,dropdownPaddingVertical:R,dropdownEdgeChildPadding:ne});return[I(z),a(z)]},S=>({zIndexPopup:S.zIndexPopupBase+50}))},64165:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return ne}});var y=f(92310),L=f.n(y),X=f(59301),Ee=f(36355),$=f(9763),q=f(64993),C=f(88088),a=()=>{const[,Q]=(0,C.Z)(),R=new q.C(Q.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return X.createElement("svg",{style:R,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},X.createElement("g",{fill:"none",fillRule:"evenodd"},X.createElement("g",{transform:"translate(24 31.67)"},X.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),X.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),X.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),X.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),X.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),X.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),X.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},X.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),X.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},K=()=>{const[,Q]=(0,C.Z)(),{colorFill:b,colorFillTertiary:R,colorFillQuaternary:Z,colorBgContainer:z}=Q,{borderColor:pe,shadowColor:me,contentColor:de}=(0,X.useMemo)(()=>({borderColor:new q.C(b).onBackground(z).toHexShortString(),shadowColor:new q.C(R).onBackground(z).toHexShortString(),contentColor:new q.C(Z).onBackground(z).toHexShortString()}),[b,R,Z,z]);return X.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},X.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},X.createElement("ellipse",{fill:me,cx:"32",cy:"33",rx:"32",ry:"7"}),X.createElement("g",{fillRule:"nonzero",stroke:pe},X.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),X.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:de}))))},S=f(83116),u=f(37613);const x=Q=>{const{componentCls:b,margin:R,marginXS:Z,marginXL:z,fontSize:pe,lineHeight:me}=Q;return{[b]:{marginInline:Z,fontSize:pe,lineHeight:me,textAlign:"center",[`${b}-image`]:{height:Q.emptyImgHeight,marginBottom:Z,opacity:Q.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${b}-description`]:{color:Q.colorText},[`${b}-footer`]:{marginTop:R},"&-normal":{marginBlock:z,color:Q.colorTextDisabled,[`${b}-description`]:{color:Q.colorTextDisabled},[`${b}-image`]:{height:Q.emptyImgHeightMD}},"&-small":{marginBlock:Z,color:Q.colorTextDisabled,[`${b}-image`]:{height:Q.emptyImgHeightSM}}}}};var m=(0,S.Z)("Empty",Q=>{const{componentCls:b,controlHeightLG:R}=Q,Z=(0,u.TS)(Q,{emptyImgCls:`${b}-img`,emptyImgHeight:R*2.5,emptyImgHeightMD:R,emptyImgHeightSM:R*.875});return[x(Z)]}),P=function(Q,b){var R={};for(var Z in Q)Object.prototype.hasOwnProperty.call(Q,Z)&&b.indexOf(Z)<0&&(R[Z]=Q[Z]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,Z=Object.getOwnPropertySymbols(Q);z<Z.length;z++)b.indexOf(Z[z])<0&&Object.prototype.propertyIsEnumerable.call(Q,Z[z])&&(R[Z[z]]=Q[Z[z]]);return R};const ue=X.createElement(a,null),U=X.createElement(K,null),V=Q=>{var{className:b,rootClassName:R,prefixCls:Z,image:z=ue,description:pe,children:me,imageStyle:de,style:ae}=Q,te=P(Q,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:B,direction:fe,empty:Y}=X.useContext(Ee.E_),ce=B("empty",Z),[ie,g]=m(ce),[E]=(0,$.Z)("Empty"),G=typeof pe!="undefined"?pe:E==null?void 0:E.description,J=typeof G=="string"?G:"empty";let Le=null;return typeof z=="string"?Le=X.createElement("img",{alt:J,src:z}):Le=z,ie(X.createElement("div",Object.assign({className:L()(g,ce,Y==null?void 0:Y.className,{[`${ce}-normal`]:z===U,[`${ce}-rtl`]:fe==="rtl"},b,R),style:Object.assign(Object.assign({},Y==null?void 0:Y.style),ae)},te),X.createElement("div",{className:`${ce}-image`,style:de},Le),G&&X.createElement("div",{className:`${ce}-description`},G),me&&X.createElement("div",{className:`${ce}-footer`},me)))};V.PRESENTED_IMAGE_DEFAULT=ue,V.PRESENTED_IMAGE_SIMPLE=U;var ne=V},78241:function(nn,nt,f){"use strict";f.d(nt,{default:function(){return Pt}});var y=f(19127),L=f(92310),X=f.n(L),Ee=f(77900),$=f(59301),q=f(62892),C=f(32441);function xe(Ve){const[At,St]=$.useState(Ve);return $.useEffect(()=>{const Ue=setTimeout(()=>{St(Ve)},Ve.length?0:10);return()=>{clearTimeout(Ue)}},[Ve]),At}var a=f(17313),I=f(29878),K=f(8378),S=f(37613),u=f(83116),m=Ve=>{const{componentCls:At}=Ve,St=`${At}-show-help`,Ue=`${At}-show-help-item`;return{[St]:{transition:`opacity ${Ve.motionDurationSlow} ${Ve.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Ue]:{overflow:"hidden",transition:`height ${Ve.motionDurationSlow} ${Ve.motionEaseInOut},
|
|
|
opacity ${Ve.motionDurationSlow} ${Ve.motionEaseInOut},
|
|
|
transform ${Ve.motionDurationSlow} ${Ve.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=Ve=>({legend:{display:"block",width:"100%",marginBottom:Ve.marginLG,padding:0,color:Ve.colorTextDescription,fontSize:Ve.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${Ve.lineWidth}px ${Ve.lineType} ${Ve.colorBorder}`},label:{fontSize:Ve.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 ${Ve.controlOutlineWidth}px ${Ve.controlOutline}`},output:{display:"block",paddingTop:15,color:Ve.colorText,fontSize:Ve.fontSize,lineHeight:Ve.lineHeight}}),ue=(Ve,At)=>{const{formItemCls:St}=Ve;return{[St]:{[`${St}-label > label`]:{height:At},[`${St}-control-input`]:{minHeight:At}}}},U=Ve=>{const{componentCls:At}=Ve;return{[Ve.componentCls]:Object.assign(Object.assign(Object.assign({},(0,a.Wf)(Ve)),P(Ve)),{[`${At}-text`]:{display:"inline-block",paddingInlineEnd:Ve.paddingSM},"&-small":Object.assign({},ue(Ve,Ve.controlHeightSM)),"&-large":Object.assign({},ue(Ve,Ve.controlHeightLG))})}},V=Ve=>{const{formItemCls:At,iconCls:St,componentCls:Ue,rootPrefixCls:Ce,labelRequiredMarkColor:mt,labelColor:pt,labelFontSize:Dt,labelHeight:zt,labelColonMarginInlineStart:tn,labelColonMarginInlineEnd:Ht,itemMarginBottom:sn}=Ve;return{[At]:Object.assign(Object.assign({},(0,a.Wf)(Ve)),{marginBottom:sn,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden.${Ce}-row`]:{display:"none"},"&-has-warning":{[`${At}-split`]:{color:Ve.colorError}},"&-has-error":{[`${At}-split`]:{color:Ve.colorWarning}},[`${At}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${Ve.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:zt,color:pt,fontSize:Dt,[`> ${St}`]:{fontSize:Ve.fontSize,verticalAlign:"top"},[`&${At}-required:not(${At}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:Ve.marginXXS,color:mt,fontSize:Ve.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${Ue}-hide-required-mark &`]:{display:"none"}},[`${At}-optional`]:{display:"inline-block",marginInlineStart:Ve.marginXXS,color:Ve.colorTextDescription,[`${Ue}-hide-required-mark &`]:{display:"none"}},[`${At}-tooltip`]:{color:Ve.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Ve.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:tn,marginInlineEnd:Ht},[`&${At}-no-colon::after`]:{content:'"\\a0"'}}},[`${At}-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:Ve.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[At]:{"&-explain, &-extra":{clear:"both",color:Ve.colorTextDescription,fontSize:Ve.fontSize,lineHeight:Ve.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Ve.controlHeightSM,transition:`color ${Ve.motionDurationMid} ${Ve.motionEaseOut}`},"&-explain":{"&-error":{color:Ve.colorError},"&-warning":{color:Ve.colorWarning}}},[`&-with-help ${At}-explain`]:{height:"auto",opacity:1},[`${At}-feedback-icon`]:{fontSize:Ve.fontSize,textAlign:"center",visibility:"visible",animationName:I.kr,animationDuration:Ve.motionDurationMid,animationTimingFunction:Ve.motionEaseOutBack,pointerEvents:"none","&-success":{color:Ve.colorSuccess},"&-error":{color:Ve.colorError},"&-warning":{color:Ve.colorWarning},"&-validating":{color:Ve.colorPrimary}}})}},ne=Ve=>{const{componentCls:At,formItemCls:St}=Ve;return{[`${At}-horizontal`]:{[`${St}-label`]:{flexGrow:0},[`${St}-control`]:{flex:"1 1 0",minWidth:0},[`${St}-label[class$='-24'], ${St}-label[class*='-24 ']`]:{[`& + ${St}-control`]:{minWidth:"unset"}}}}},Q=Ve=>{const{componentCls:At,formItemCls:St}=Ve;return{[`${At}-inline`]:{display:"flex",flexWrap:"wrap",[St]:{flex:"none",marginInlineEnd:Ve.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${St}-label,
|
|
|
> ${St}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${St}-label`]:{flex:"none"},[`${At}-text`]:{display:"inline-block"},[`${St}-has-feedback`]:{display:"inline-block"}}}}},b=Ve=>({padding:Ve.verticalLabelPadding,margin:Ve.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),R=Ve=>{const{componentCls:At,formItemCls:St,rootPrefixCls:Ue}=Ve;return{[`${St} ${St}-label`]:b(Ve),[At]:{[St]:{flexWrap:"wrap",[`${St}-label, ${St}-control`]:{[`&:not([class*=" ${Ue}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Z=Ve=>{const{componentCls:At,formItemCls:St,rootPrefixCls:Ue}=Ve;return{[`${At}-vertical`]:{[St]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${At}-item-control`]:{width:"100%"}}},[`${At}-vertical ${St}-label,
|
|
|
.${Ue}-col-24${St}-label,
|
|
|
.${Ue}-col-xl-24${St}-label`]:b(Ve),[`@media (max-width: ${Ve.screenXSMax}px)`]:[R(Ve),{[At]:{[`.${Ue}-col-xs-24${St}-label`]:b(Ve)}}],[`@media (max-width: ${Ve.screenSMMax}px)`]:{[At]:{[`.${Ue}-col-sm-24${St}-label`]:b(Ve)}},[`@media (max-width: ${Ve.screenMDMax}px)`]:{[At]:{[`.${Ue}-col-md-24${St}-label`]:b(Ve)}},[`@media (max-width: ${Ve.screenLGMax}px)`]:{[At]:{[`.${Ue}-col-lg-24${St}-label`]:b(Ve)}}}},z=(Ve,At)=>(0,S.TS)(Ve,{formItemCls:`${Ve.componentCls}-item`,rootPrefixCls:At});var pe=(0,u.Z)("Form",(Ve,At)=>{let{rootPrefixCls:St}=At;const Ue=z(Ve,St);return[U(Ue),V(Ue),m(Ue),ne(Ue),Q(Ue),Z(Ue),(0,K.Z)(Ue),I.kr]},Ve=>({labelRequiredMarkColor:Ve.colorError,labelColor:Ve.colorTextHeading,labelFontSize:Ve.fontSize,labelHeight:Ve.controlHeight,labelColonMarginInlineStart:Ve.marginXXS/2,labelColonMarginInlineEnd:Ve.marginXS,itemMarginBottom:Ve.marginLG,verticalLabelPadding:`0 0 ${Ve.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const me=[];function de(Ve,At,St){let Ue=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Ve=="string"?Ve:`${At}-${Ue}`,error:Ve,errorStatus:St}}var te=Ve=>{let{help:At,helpStatus:St,errors:Ue=me,warnings:Ce=me,className:mt,fieldId:pt,onVisibleChanged:Dt}=Ve;const{prefixCls:zt}=$.useContext(C.Rk),tn=`${zt}-item-explain`,[,Ht]=pe(zt),sn=(0,$.useMemo)(()=>(0,q.Z)(zt),[zt]),dn=xe(Ue),Mt=xe(Ce),Lt=$.useMemo(()=>At!=null?[de(At,"help",St)]:[].concat((0,y.Z)(dn.map((ln,hn)=>de(ln,"error","error",hn))),(0,y.Z)(Mt.map((ln,hn)=>de(ln,"warning","warning",hn)))),[At,St,dn,Mt]),un={};return pt&&(un.id=`${pt}_help`),$.createElement(Ee.default,{motionDeadline:sn.motionDeadline,motionName:`${zt}-show-help`,visible:!!Lt.length,onVisibleChanged:Dt},ln=>{const{className:hn,style:An}=ln;return $.createElement("div",Object.assign({},un,{className:X()(tn,hn,mt,Ht),style:An,role:"alert"}),$.createElement(Ee.CSSMotionList,Object.assign({keys:Lt},(0,q.Z)(zt),{motionName:`${zt}-show-help-item`,component:!1}),tr=>{const{key:Nn,error:rn,errorStatus:ht,className:vt,style:It}=tr;return $.createElement("div",{key:Nn,className:X()(vt,{[`${tn}-${ht}`]:ht}),style:It},rn)}))})},B=f(95013),fe=f(36355),Y=f(1684),ce=f(52946),ie=f(19716),g=f(16722);const E=["parentNode"],G="form_item";function J(Ve){return Ve===void 0||Ve===!1?[]:Array.isArray(Ve)?Ve:[Ve]}function Le(Ve,At){if(!Ve.length)return;const St=Ve.join("_");return At?`${At}_${St}`:E.includes(St)?`${G}_${St}`:St}function ke(Ve,At,St,Ue,Ce,mt){let pt=Ue;return mt!==void 0?pt=mt:St.validating?pt="validating":Ve.length?pt="error":At.length?pt="warning":(St.touched||Ce&&St.validated)&&(pt="success"),pt}function Fe(Ve){return J(Ve).join("_")}function Ze(Ve){const[At]=(0,B.useForm)(),St=$.useRef({}),Ue=$.useMemo(()=>Ve!=null?Ve:Object.assign(Object.assign({},At),{__INTERNAL__:{itemRef:Ce=>mt=>{const pt=Fe(Ce);mt?St.current[pt]=mt:delete St.current[pt]}},scrollToField:function(Ce){let mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const pt=J(Ce),Dt=Le(pt,Ue.__INTERNAL__.name),zt=Dt?document.getElementById(Dt):null;zt&&(0,g.Z)(zt,Object.assign({scrollMode:"if-needed",block:"nearest"},mt))},getFieldInstance:Ce=>{const mt=Fe(Ce);return St.current[mt]}}),[Ve,At]);return[Ue]}var lt=f(28726),ut=function(Ve,At){var St={};for(var Ue in Ve)Object.prototype.hasOwnProperty.call(Ve,Ue)&&At.indexOf(Ue)<0&&(St[Ue]=Ve[Ue]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ue=Object.getOwnPropertySymbols(Ve);Ce<Ue.length;Ce++)At.indexOf(Ue[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ve,Ue[Ce])&&(St[Ue[Ce]]=Ve[Ue[Ce]]);return St};const it=(Ve,At)=>{const St=$.useContext(Y.Z),{getPrefixCls:Ue,direction:Ce,form:mt}=$.useContext(fe.E_),{prefixCls:pt,className:Dt,rootClassName:zt,size:tn,disabled:Ht=St,form:sn,colon:dn,labelAlign:Mt,labelWrap:Lt,labelCol:un,wrapperCol:ln,hideRequiredMark:hn,layout:An="horizontal",scrollToFirstError:tr,requiredMark:Nn,onFinishFailed:rn,name:ht,style:vt,feedbackIcons:It}=Ve,Vt=ut(Ve,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),Nt=(0,ie.Z)(tn),$t=$.useContext(lt.Z),Zt=(0,$.useMemo)(()=>Nn!==void 0?Nn:mt&&mt.requiredMark!==void 0?mt.requiredMark:!hn,[hn,Nn,mt]),vn=dn!=null?dn:mt==null?void 0:mt.colon,_n=Ue("form",pt),[kn,qn]=pe(_n),rr=X()(_n,`${_n}-${An}`,{[`${_n}-hide-required-mark`]:Zt===!1,[`${_n}-rtl`]:Ce==="rtl",[`${_n}-${Nt}`]:Nt},qn,mt==null?void 0:mt.className,Dt,zt),[sr]=Ze(sn),{__INTERNAL__:wn}=sr;wn.name=ht;const En=(0,$.useMemo)(()=>({name:ht,labelAlign:Mt,labelCol:un,labelWrap:Lt,wrapperCol:ln,vertical:An==="vertical",colon:vn,requiredMark:Zt,itemRef:wn.itemRef,form:sr,feedbackIcons:It}),[ht,Mt,un,ln,An,vn,Zt,sr,It]);$.useImperativeHandle(At,()=>sr);const gr=(Cr,Xn)=>{if(Cr){let lr={block:"nearest"};typeof Cr=="object"&&(lr=Cr),sr.scrollToField(Xn,lr)}},$n=Cr=>{if(rn==null||rn(Cr),Cr.errorFields.length){const Xn=Cr.errorFields[0].name;if(tr!==void 0){gr(tr,Xn);return}mt&&mt.scrollToFirstError!==void 0&&gr(mt.scrollToFirstError,Xn)}};return kn($.createElement(Y.n,{disabled:Ht},$.createElement(ce.q,{size:Nt},$.createElement(C.RV,Object.assign({},{validateMessages:$t}),$.createElement(C.q3.Provider,{value:En},$.createElement(B.default,Object.assign({id:ht},Vt,{name:ht,onFinishFailed:$n,form:sr,style:Object.assign(Object.assign({},mt==null?void 0:mt.style),vt),className:rr})))))))};var qt=$.forwardRef(it),an=f(41799),Ot=f(8654),ot=f(92343),_t=f(11592);function se(Ve){if(typeof Ve=="function")return Ve;const At=(0,_t.Z)(Ve);return At.length<=1?At[0]:At}const ye=()=>{const{status:Ve,errors:At=[],warnings:St=[]}=(0,$.useContext)(C.aM);return{status:Ve,errors:At,warnings:St}};ye.Context=C.aM;var H=ye,O=f(16089);function Ae(Ve){const[At,St]=$.useState(Ve),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 pt(Dt){mt.current||(Ue.current===null&&(Ce.current=[],Ue.current=(0,O.Z)(()=>{Ue.current=null,St(zt=>{let tn=zt;return Ce.current.forEach(Ht=>{tn=Ht(tn)}),tn})})),Ce.current.push(Dt))}return[At,pt]}function k(){const{itemRef:Ve}=$.useContext(C.q3),At=$.useRef({});function St(Ue,Ce){const mt=Ce&&typeof Ce=="object"&&Ce.ref,pt=Ue.join("_");return(At.current.name!==pt||At.current.originRef!==mt)&&(At.current.name=pt,At.current.originRef=mt,At.current.ref=(0,Ot.sQ)(Ve(Ue),mt)),At.current.ref}return St}var _=f(29194),T=f(34280),ee=f(2738),W=f(27382),j=f(37028);const _e=Ve=>{const{formItemCls:At}=Ve;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${At}-control`]:{display:"flex"}}}};var Ke=(0,u.b)(["Form","item-item"],(Ve,At)=>{let{rootPrefixCls:St}=At;const Ue=z(Ve,St);return[_e(Ue)]}),Oe=Ve=>{const{prefixCls:At,status:St,wrapperCol:Ue,children:Ce,errors:mt,warnings:pt,_internalItemRender:Dt,extra:zt,help:tn,fieldId:Ht,marginBottom:sn,onErrorVisibleChanged:dn}=Ve,Mt=`${At}-item`,Lt=$.useContext(C.q3),un=Ue||Lt.wrapperCol||{},ln=X()(`${Mt}-control`,un.className),hn=$.useMemo(()=>Object.assign({},Lt),[Lt]);delete hn.labelCol,delete hn.wrapperCol;const An=$.createElement("div",{className:`${Mt}-control-input`},$.createElement("div",{className:`${Mt}-control-input-content`},Ce)),tr=$.useMemo(()=>({prefixCls:At,status:St}),[At,St]),Nn=sn!==null||mt.length||pt.length?$.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},$.createElement(C.Rk.Provider,{value:tr},$.createElement(te,{fieldId:Ht,errors:mt,warnings:pt,help:tn,helpStatus:St,className:`${Mt}-explain-connected`,onVisibleChanged:dn})),!!sn&&$.createElement("div",{style:{width:0,height:sn}})):null,rn={};Ht&&(rn.id=`${Ht}_extra`);const ht=zt?$.createElement("div",Object.assign({},rn,{className:`${Mt}-extra`}),zt):null,vt=Dt&&Dt.mark==="pro_table_render"&&Dt.render?Dt.render(Ve,{input:An,errorList:Nn,extra:ht}):$.createElement($.Fragment,null,An,Nn,ht);return $.createElement(C.q3.Provider,{value:hn},$.createElement(j.Z,Object.assign({},un,{className:ln}),vt),$.createElement(Ke,{prefixCls:At}))},Ye=f(61485),Je=f(31724),Ge=f(9763),yt=f(6848),xt=function(Ve,At){var St={};for(var Ue in Ve)Object.prototype.hasOwnProperty.call(Ve,Ue)&&At.indexOf(Ue)<0&&(St[Ue]=Ve[Ue]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ue=Object.getOwnPropertySymbols(Ve);Ce<Ue.length;Ce++)At.indexOf(Ue[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ve,Ue[Ce])&&(St[Ue[Ce]]=Ve[Ue[Ce]]);return St};function dt(Ve){return Ve?typeof Ve=="object"&&!$.isValidElement(Ve)?Ve:{title:Ve}:null}var Tt=Ve=>{let{prefixCls:At,label:St,htmlFor:Ue,labelCol:Ce,labelAlign:mt,colon:pt,required:Dt,requiredMark:zt,tooltip:tn}=Ve;var Ht;const[sn]=(0,Ge.Z)("Form"),{vertical:dn,labelAlign:Mt,labelCol:Lt,labelWrap:un,colon:ln}=$.useContext(C.q3);if(!St)return null;const hn=Ce||Lt||{},An=mt||Mt,tr=`${At}-item-label`,Nn=X()(tr,An==="left"&&`${tr}-left`,hn.className,{[`${tr}-wrap`]:!!un});let rn=St;const ht=pt===!0||ln!==!1&&pt!==!1;ht&&!dn&&typeof St=="string"&&St.trim()!==""&&(rn=St.replace(/[:|:]\s*$/,""));const It=dt(tn);if(It){const{icon:Zt=$.createElement(Ye.Z,null)}=It,vn=xt(It,["icon"]),_n=$.createElement(yt.Z,Object.assign({},vn),$.cloneElement(Zt,{className:`${At}-item-tooltip`,title:""}));rn=$.createElement($.Fragment,null,rn,_n)}const Vt=zt==="optional",Nt=typeof zt=="function";Nt?rn=zt(rn,{required:!!Dt}):Vt&&!Dt&&(rn=$.createElement($.Fragment,null,rn,$.createElement("span",{className:`${At}-item-optional`,title:""},(sn==null?void 0:sn.optional)||((Ht=Je.Z.Form)===null||Ht===void 0?void 0:Ht.optional))));const $t=X()({[`${At}-item-required`]:Dt,[`${At}-item-required-mark-optional`]:Vt||Nt,[`${At}-item-no-colon`]:!ht});return $.createElement(j.Z,Object.assign({},hn,{className:Nn}),$.createElement("label",{htmlFor:Ue,className:$t,title:typeof St=="string"?St:""},rn))},w=f(29679),D=f(19248),bt=f(96512),he=f(58617);const Be={success:w.Z,warning:bt.Z,error:D.Z,validating:he.Z};function pn(Ve){let{children:At,errors:St,warnings:Ue,hasFeedback:Ce,validateStatus:mt,prefixCls:pt,meta:Dt,noStyle:zt}=Ve;const tn=`${pt}-item`,{feedbackIcons:Ht}=$.useContext(C.q3),sn=ke(St,Ue,Dt,null,!!Ce,mt),{isFormItemInput:dn,status:Mt}=$.useContext(C.aM),Lt=$.useMemo(()=>{var un;let ln;if(Ce){const tr=Ce!==!0&&Ce.icons||Ht,Nn=sn&&((un=tr==null?void 0:tr({status:sn,errors:St,warnings:Ue}))===null||un===void 0?void 0:un[sn]),rn=sn&&Be[sn];ln=Nn!==!1&&rn?$.createElement("span",{className:X()(`${tn}-feedback-icon`,`${tn}-feedback-icon-${sn}`)},Nn||$.createElement(rn,null)):null}let hn=!0,An=sn||"";return zt&&(hn=dn,An=(sn!=null?sn:Mt)||""),{status:An,errors:St,warnings:Ue,hasFeedback:!!Ce,feedbackIcon:ln,isFormItemInput:hn}},[sn,Ce,zt,dn,Mt]);return $.createElement(C.aM.Provider,{value:Lt},At)}var We=function(Ve,At){var St={};for(var Ue in Ve)Object.prototype.hasOwnProperty.call(Ve,Ue)&&At.indexOf(Ue)<0&&(St[Ue]=Ve[Ue]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ue=Object.getOwnPropertySymbols(Ve);Ce<Ue.length;Ce++)At.indexOf(Ue[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ve,Ue[Ce])&&(St[Ue[Ce]]=Ve[Ue[Ce]]);return St};function et(Ve){const{prefixCls:At,className:St,rootClassName:Ue,style:Ce,help:mt,errors:pt,warnings:Dt,validateStatus:zt,meta:tn,hasFeedback:Ht,hidden:sn,children:dn,fieldId:Mt,required:Lt,isRequired:un,onSubItemMetaChange:ln}=Ve,hn=We(Ve,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),An=`${At}-item`,{requiredMark:tr}=$.useContext(C.q3),Nn=$.useRef(null),rn=xe(pt),ht=xe(Dt),vt=mt!=null,It=!!(vt||pt.length||Dt.length),Vt=!!Nn.current&&(0,_.Z)(Nn.current),[Nt,$t]=$.useState(null);(0,T.Z)(()=>{if(It&&Nn.current){const qn=getComputedStyle(Nn.current);$t(parseInt(qn.marginBottom,10))}},[It,Vt]);const Zt=qn=>{qn||$t(null)},_n=function(){let qn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const rr=qn?rn:tn.errors,sr=qn?ht:tn.warnings;return ke(rr,sr,tn,"",!!Ht,zt)}(),kn=X()(An,St,Ue,{[`${An}-with-help`]:vt||rn.length||ht.length,[`${An}-has-feedback`]:_n&&Ht,[`${An}-has-success`]:_n==="success",[`${An}-has-warning`]:_n==="warning",[`${An}-has-error`]:_n==="error",[`${An}-is-validating`]:_n==="validating",[`${An}-hidden`]:sn});return $.createElement("div",{className:kn,style:Ce,ref:Nn},$.createElement(W.Z,Object.assign({className:`${An}-row`},(0,ee.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(Tt,Object.assign({htmlFor:Mt},Ve,{requiredMark:tr,required:Lt!=null?Lt:un,prefixCls:At})),$.createElement(Oe,Object.assign({},Ve,tn,{errors:rn,warnings:ht,prefixCls:At,status:_n,help:mt,marginBottom:Nt,onErrorVisibleChanged:Zt}),$.createElement(C.qI.Provider,{value:ln},$.createElement(pn,{prefixCls:At,meta:tn,errors:tn.errors,warnings:tn.warnings,hasFeedback:Ht,validateStatus:_n},dn)))),!!Nt&&$.createElement("div",{className:`${An}-margin-offset`,style:{marginBottom:-Nt}}))}const Xe="__SPLIT__",Se=null,Ie=$.memo(Ve=>{let{children:At}=Ve;return At},(Ve,At)=>Ve.value===At.value&&Ve.update===At.update&&Ve.childProps.length===At.childProps.length&&Ve.childProps.every((St,Ue)=>St===At.childProps[Ue]));function ze(Ve){return Ve!=null}function qe(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function be(Ve){const{name:At,noStyle:St,className:Ue,dependencies:Ce,prefixCls:mt,shouldUpdate:pt,rules:Dt,children:zt,required:tn,label:Ht,messageVariables:sn,trigger:dn="onChange",validateTrigger:Mt,hidden:Lt,help:un}=Ve,{getPrefixCls:ln}=$.useContext(fe.E_),{name:hn}=$.useContext(C.q3),An=se(zt),tr=typeof An=="function",Nn=$.useContext(C.qI),{validateTrigger:rn}=$.useContext(B.FieldContext),ht=Mt!==void 0?Mt:rn,vt=ze(At),It=ln("form",mt),[Vt,Nt]=pe(It),$t=$.useContext(B.ListContext),Zt=$.useRef(),[vn,_n]=Ae({}),[kn,qn]=(0,an.Z)(()=>qe()),rr=Xn=>{const lr=$t==null?void 0:$t.getKey(Xn.name);if(qn(Xn.destroy?qe():Xn,!0),St&&un!==!1&&Nn){let yr=Xn.name;if(Xn.destroy)yr=Zt.current||yr;else if(lr!==void 0){const[ir,Fr]=lr;yr=[ir].concat((0,y.Z)(Fr)),Zt.current=yr}Nn(Xn,yr)}},sr=(Xn,lr)=>{_n(yr=>{const ir=Object.assign({},yr),qr=[].concat((0,y.Z)(Xn.name.slice(0,-1)),(0,y.Z)(lr)).join(Xe);return Xn.destroy?delete ir[qr]:ir[qr]=Xn,ir})},[wn,En]=$.useMemo(()=>{const Xn=(0,y.Z)(kn.errors),lr=(0,y.Z)(kn.warnings);return Object.values(vn).forEach(yr=>{Xn.push.apply(Xn,(0,y.Z)(yr.errors||[])),lr.push.apply(lr,(0,y.Z)(yr.warnings||[]))}),[Xn,lr]},[vn,kn.errors,kn.warnings]),gr=k();function $n(Xn,lr,yr){return St&&!Lt?$.createElement(pn,{prefixCls:It,hasFeedback:Ve.hasFeedback,validateStatus:Ve.validateStatus,meta:kn,errors:wn,warnings:En,noStyle:!0},Xn):$.createElement(et,Object.assign({key:"row"},Ve,{className:X()(Ue,Nt),prefixCls:It,fieldId:lr,isRequired:yr,errors:wn,warnings:En,meta:kn,onSubItemMetaChange:sr}),Xn)}if(!vt&&!tr&&!Ce)return Vt($n(An));let Cr={};return typeof Ht=="string"?Cr.label=Ht:At&&(Cr.label=String(At)),sn&&(Cr=Object.assign(Object.assign({},Cr),sn)),Vt($.createElement(B.Field,Object.assign({},Ve,{messageVariables:Cr,trigger:dn,validateTrigger:ht,onMetaChange:rr}),(Xn,lr,yr)=>{const ir=J(At).length&&lr?lr.name:[],Fr=Le(ir,hn),qr=tn!==void 0?tn:!!(Dt&&Dt.some(at=>{if(at&&typeof at=="object"&&at.required&&!at.warningOnly)return!0;if(typeof at=="function"){const Kn=at(yr);return Kn&&Kn.required&&!Kn.warningOnly}return!1})),Jn=Object.assign({},Xn);let Rn=null;if(Array.isArray(An)&&vt)Rn=An;else if(!(tr&&(!(pt||Ce)||vt))){if(!(Ce&&!tr&&!vt))if((0,ot.l$)(An)){const at=Object.assign(Object.assign({},An.props),Jn);if(at.id||(at.id=Fr),un||wn.length>0||En.length>0||Ve.extra){const wr=[];(un||wn.length>0)&&wr.push(`${Fr}_help`),Ve.extra&&wr.push(`${Fr}_extra`),at["aria-describedby"]=wr.join(" ")}wn.length>0&&(at["aria-invalid"]="true"),qr&&(at["aria-required"]="true"),(0,Ot.Yr)(An)&&(at.ref=gr(ir,An)),new Set([].concat((0,y.Z)(J(dn)),(0,y.Z)(J(ht)))).forEach(wr=>{at[wr]=function(){for(var Rr,Nr,zr,vr,Hr,Hn=arguments.length,Tn=new Array(Hn),er=0;er<Hn;er++)Tn[er]=arguments[er];(zr=Jn[wr])===null||zr===void 0||(Rr=zr).call.apply(Rr,[Jn].concat(Tn)),(Hr=(vr=An.props)[wr])===null||Hr===void 0||(Nr=Hr).call.apply(Nr,[vr].concat(Tn))}});const ur=[at["aria-required"],at["aria-invalid"],at["aria-describedby"]];Rn=$.createElement(Ie,{value:Jn[Ve.valuePropName||"value"],update:An,childProps:ur},(0,ot.Tm)(An,at))}else tr&&(pt||Ce)&&!vt?Rn=An(yr):Rn=An}return $n(Rn,Fr,qr)}))}const en=be;en.useStatus=H;var $e=en,bn=function(Ve,At){var St={};for(var Ue in Ve)Object.prototype.hasOwnProperty.call(Ve,Ue)&&At.indexOf(Ue)<0&&(St[Ue]=Ve[Ue]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ue=Object.getOwnPropertySymbols(Ve);Ce<Ue.length;Ce++)At.indexOf(Ue[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ve,Ue[Ce])&&(St[Ue[Ce]]=Ve[Ue[Ce]]);return St},jt=Ve=>{var{prefixCls:At,children:St}=Ve,Ue=bn(Ve,["prefixCls","children"]);const{getPrefixCls:Ce}=$.useContext(fe.E_),mt=Ce("form",At),pt=$.useMemo(()=>({prefixCls:mt,status:"error"}),[mt]);return $.createElement(B.List,Object.assign({},Ue),(Dt,zt,tn)=>$.createElement(C.Rk.Provider,{value:pt},St(Dt.map(Ht=>Object.assign(Object.assign({},Ht),{fieldKey:Ht.key})),zt,{errors:tn.errors,warnings:tn.warnings})))};function Jt(){const{form:Ve}=(0,$.useContext)(C.q3);return Ve}const wt=qt;wt.Item=$e,wt.List=jt,wt.ErrorList=te,wt.useForm=Ze,wt.useFormInstance=Jt,wt.useWatch=B.useWatch,wt.Provider=C.RV,wt.create=()=>{};var Pt=wt},8628:function(nn,nt,f){"use strict";var y=f(59301),L=f(34280),X=f(56762),Ee=f(69507);function $(){let q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const C=(0,y.useRef)({}),xe=(0,X.Z)(),a=(0,Ee.ZP)();return(0,L.Z)(()=>{const I=a.subscribe(K=>{C.current=K,q&&xe()});return()=>a.unsubscribe(I)},[]),C.current}nt.Z=$},9432:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return V},n:function(){return ue}});var y=f(19248),L=f(92310),X=f.n(L),Ee=f(93681),$=f(8654),q=f(59301),C=f(19080),xe=f(36355),a=f(1684),I=f(19716),K=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,Q){var b={};for(var R in ne)Object.prototype.hasOwnProperty.call(ne,R)&&Q.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++)Q.indexOf(R[Z])<0&&Object.prototype.propertyIsEnumerable.call(ne,R[Z])&&(b[R[Z]]=ne[R[Z]]);return b};function ue(ne,Q){if(!ne)return;ne.focus(Q);const{cursor:b}=Q||{};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 V=(0,q.forwardRef)((ne,Q)=>{var b;const{prefixCls:R,bordered:Z=!0,status:z,size:pe,disabled:me,onBlur:de,onFocus:ae,suffix:te,allowClear:B,addonAfter:fe,addonBefore:Y,className:ce,style:ie,styles:g,rootClassName:E,onChange:G,classNames:J}=ne,Le=P(ne,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:ke,direction:Fe,input:Ze}=q.useContext(xe.E_),lt=ke("input",R),ut=(0,q.useRef)(null),[it,Ut]=(0,x.ZP)(lt),{compactSize:qt,compactItemClassnames:an}=(0,S.ri)(lt,Fe),Ot=(0,I.Z)(Ke=>{var De;return(De=pe!=null?pe:qt)!==null&&De!==void 0?De:Ke}),ot=q.useContext(a.Z),_t=me!=null?me:ot,{status:se,hasFeedback:ye,feedbackIcon:H}=(0,q.useContext)(K.aM),O=(0,C.F)(se,z),Ae=m(ne)||!!ye,k=(0,q.useRef)(Ae);(0,q.useEffect)(()=>{var Ke;Ae&&k.current,k.current=Ae},[Ae]);const _=(0,u.Z)(ut,!0),T=Ke=>{_(),de==null||de(Ke)},ee=Ke=>{_(),ae==null||ae(Ke)},W=Ke=>{_(),G==null||G(Ke)},j=(ye||te)&&q.createElement(q.Fragment,null,te,ye&&H);let _e;return typeof B=="object"&&(B!=null&&B.clearIcon)?_e=B:B&&(_e={clearIcon:q.createElement(y.Z,null)}),it(q.createElement(Ee.default,Object.assign({ref:(0,$.sQ)(Q,ut),prefixCls:lt,autoComplete:Ze==null?void 0:Ze.autoComplete},Le,{disabled:_t,onBlur:T,onFocus:ee,style:Object.assign(Object.assign({},Ze==null?void 0:Ze.style),ie),styles:Object.assign(Object.assign({},Ze==null?void 0:Ze.styles),g),suffix:j,allowClear:_e,className:X()(ce,E,an,Ze==null?void 0:Ze.className),onChange:W,addonAfter:fe&&q.createElement(S.BR,null,q.createElement(K.Ux,{override:!0,status:!0},fe)),addonBefore:Y&&q.createElement(S.BR,null,q.createElement(K.Ux,{override:!0,status:!0},Y)),classNames:Object.assign(Object.assign(Object.assign({},J),Ze==null?void 0:Ze.classNames),{input:X()({[`${lt}-sm`]:Ot==="small",[`${lt}-lg`]:Ot==="large",[`${lt}-rtl`]:Fe==="rtl",[`${lt}-borderless`]:!Z},!Ae&&(0,C.Z)(lt,O),J==null?void 0:J.input,(b=Ze==null?void 0:Ze.classNames)===null||b===void 0?void 0:b.input,Ut)}),classes:{affixWrapper:X()({[`${lt}-affix-wrapper-sm`]:Ot==="small",[`${lt}-affix-wrapper-lg`]:Ot==="large",[`${lt}-affix-wrapper-rtl`]:Fe==="rtl",[`${lt}-affix-wrapper-borderless`]:!Z},(0,C.Z)(`${lt}-affix-wrapper`,O,ye),Ut),wrapper:X()({[`${lt}-group-rtl`]:Fe==="rtl"},Ut),group:X()({[`${lt}-group-wrapper-sm`]:Ot==="small",[`${lt}-group-wrapper-lg`]:Ot==="large",[`${lt}-group-wrapper-rtl`]:Fe==="rtl",[`${lt}-group-wrapper-disabled`]:_t},(0,C.Z)(`${lt}-group-wrapper`,O,ye),Ut)}})))})},1643:function(nn,nt,f){"use strict";var y=f(19248),L=f(92310),X=f.n(L),Ee=f(9296),$=f(59301),q=f(19080),C=f(36355),xe=f(1684),a=f(19716),I=f(32441),K=f(9432),S=f(9937),u=function(m,P){var ue={};for(var U in m)Object.prototype.hasOwnProperty.call(m,U)&&P.indexOf(U)<0&&(ue[U]=m[U]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var V=0,U=Object.getOwnPropertySymbols(m);V<U.length;V++)P.indexOf(U[V])<0&&Object.prototype.propertyIsEnumerable.call(m,U[V])&&(ue[U[V]]=m[U[V]]);return ue};const x=(0,$.forwardRef)((m,P)=>{const{prefixCls:ue,bordered:U=!0,size:V,disabled:ne,status:Q,allowClear:b,showCount:R,classNames:Z,rootClassName:z,className:pe}=m,me=u(m,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:de,direction:ae}=$.useContext(C.E_),te=(0,a.Z)(V),B=$.useContext(xe.Z),fe=ne!=null?ne:B,{status:Y,hasFeedback:ce,feedbackIcon:ie}=$.useContext(I.aM),g=(0,q.F)(Y,Q),E=$.useRef(null);$.useImperativeHandle(P,()=>{var Fe;return{resizableTextArea:(Fe=E.current)===null||Fe===void 0?void 0:Fe.resizableTextArea,focus:Ze=>{var lt,ut;(0,K.n)((ut=(lt=E.current)===null||lt===void 0?void 0:lt.resizableTextArea)===null||ut===void 0?void 0:ut.textArea,Ze)},blur:()=>{var Ze;return(Ze=E.current)===null||Ze===void 0?void 0:Ze.blur()}}});const G=de("input",ue);let J;typeof b=="object"&&(b!=null&&b.clearIcon)?J=b:b&&(J={clearIcon:$.createElement(y.Z,null)});const[Le,ke]=(0,S.ZP)(G);return Le($.createElement(Ee.default,Object.assign({},me,{disabled:fe,allowClear:J,className:X()(pe,z),classes:{affixWrapper:X()(`${G}-textarea-affix-wrapper`,{[`${G}-affix-wrapper-rtl`]:ae==="rtl",[`${G}-affix-wrapper-borderless`]:!U,[`${G}-affix-wrapper-sm`]:te==="small",[`${G}-affix-wrapper-lg`]:te==="large",[`${G}-textarea-show-count`]:R},(0,q.Z)(`${G}-affix-wrapper`,g),ke)},classNames:Object.assign(Object.assign({},Z),{textarea:X()({[`${G}-borderless`]:!U,[`${G}-sm`]:te==="small",[`${G}-lg`]:te==="large"},(0,q.Z)(G,g),ke,Z==null?void 0:Z.textarea)}),prefixCls:G,suffix:ce&&$.createElement("span",{className:`${G}-textarea-suffix`},ie),showCount:R,ref:E})))});nt.Z=x},59412:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return L}});var y=f(59301);function L(X,Ee){const $=(0,y.useRef)([]),q=()=>{$.current.push(setTimeout(()=>{var C,xe,a,I;!((C=X.current)===null||C===void 0)&&C.input&&((xe=X.current)===null||xe===void 0?void 0:xe.input.getAttribute("type"))==="password"&&(!((a=X.current)===null||a===void 0)&&a.input.hasAttribute("value"))&&((I=X.current)===null||I===void 0||I.input.removeAttribute("value"))}))};return(0,y.useEffect)(()=>(Ee&&q(),()=>$.current.forEach(C=>{C&&clearTimeout(C)})),[]),q}},92832:function(nn,nt,f){"use strict";f.d(nt,{default:function(){return te}});var y=f(92310),L=f.n(y),X=f(59301),Ee=f(36355),$=f(32441),q=f(9937),xe=B=>{const{getPrefixCls:fe,direction:Y}=(0,X.useContext)(Ee.E_),{prefixCls:ce,className:ie}=B,g=fe("input-group",ce),E=fe("input"),[G,J]=(0,q.ZP)(E),Le=L()(g,{[`${g}-lg`]:B.size==="large",[`${g}-sm`]:B.size==="small",[`${g}-compact`]:B.compact,[`${g}-rtl`]:Y==="rtl"},J,ie),ke=(0,X.useContext)($.aM),Fe=(0,X.useMemo)(()=>Object.assign(Object.assign({},ke),{isFormItemInput:!1}),[ke]);return G(X.createElement("span",{className:Le,style:B.style,onMouseEnter:B.onMouseEnter,onMouseLeave:B.onMouseLeave,onFocus:B.onFocus,onBlur:B.onBlur},X.createElement($.aM.Provider,{value:Fe},B.children)))},a=f(9432),I=f(73331),K=f(15277),S=f(2738),u=f(8654),x=f(59412),m=function(B,fe){var Y={};for(var ce in B)Object.prototype.hasOwnProperty.call(B,ce)&&fe.indexOf(ce)<0&&(Y[ce]=B[ce]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,ce=Object.getOwnPropertySymbols(B);ie<ce.length;ie++)fe.indexOf(ce[ie])<0&&Object.prototype.propertyIsEnumerable.call(B,ce[ie])&&(Y[ce[ie]]=B[ce[ie]]);return Y};const P=B=>B?X.createElement(K.Z,null):X.createElement(I.Z,null),ue={click:"onClick",hover:"onMouseOver"};var V=X.forwardRef((B,fe)=>{const{visibilityToggle:Y=!0}=B,ce=typeof Y=="object"&&Y.visible!==void 0,[ie,g]=(0,X.useState)(()=>ce?Y.visible:!1),E=(0,X.useRef)(null);X.useEffect(()=>{ce&&g(Y.visible)},[ce,Y]);const G=(0,x.Z)(E),J=()=>{const{disabled:_t}=B;_t||(ie&&G(),g(se=>{var ye;const H=!se;return typeof Y=="object"&&((ye=Y.onVisibleChange)===null||ye===void 0||ye.call(Y,H)),H}))},Le=_t=>{const{action:se="click",iconRender:ye=P}=B,H=ue[se]||"",O=ye(ie),Ae={[H]:J,className:`${_t}-icon`,key:"passwordIcon",onMouseDown:k=>{k.preventDefault()},onMouseUp:k=>{k.preventDefault()}};return X.cloneElement(X.isValidElement(O)?O:X.createElement("span",null,O),Ae)},{className:ke,prefixCls:Fe,inputPrefixCls:Ze,size:lt}=B,ut=m(B,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:it}=X.useContext(Ee.E_),Ut=it("input",Ze),qt=it("input-password",Fe),an=Y&&Le(qt),Ot=L()(qt,ke,{[`${qt}-${lt}`]:!!lt}),ot=Object.assign(Object.assign({},(0,S.Z)(ut,["suffix","iconRender","visibilityToggle"])),{type:ie?"text":"password",className:Ot,prefixCls:Ut,suffix:an});return lt&&(ot.size=lt),X.createElement(a.Z,Object.assign({ref:(0,u.sQ)(fe,E)},ot))}),ne=f(47472),Q=f(92343),b=f(3113),R=f(19716),Z=f(33234),z=function(B,fe){var Y={};for(var ce in B)Object.prototype.hasOwnProperty.call(B,ce)&&fe.indexOf(ce)<0&&(Y[ce]=B[ce]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,ce=Object.getOwnPropertySymbols(B);ie<ce.length;ie++)fe.indexOf(ce[ie])<0&&Object.prototype.propertyIsEnumerable.call(B,ce[ie])&&(Y[ce[ie]]=B[ce[ie]]);return Y},me=X.forwardRef((B,fe)=>{const{prefixCls:Y,inputPrefixCls:ce,className:ie,size:g,suffix:E,enterButton:G=!1,addonAfter:J,loading:Le,disabled:ke,onSearch:Fe,onChange:Ze,onCompositionStart:lt,onCompositionEnd:ut}=B,it=z(B,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Ut,direction:qt}=X.useContext(Ee.E_),an=X.useRef(!1),Ot=Ut("input-search",Y),ot=Ut("input",ce),{compactSize:_t}=(0,Z.ri)(Ot,qt),se=(0,R.Z)(Oe=>{var Ye;return(Ye=g!=null?g:_t)!==null&&Ye!==void 0?Ye:Oe}),ye=X.useRef(null),H=Oe=>{Oe&&Oe.target&&Oe.type==="click"&&Fe&&Fe(Oe.target.value,Oe,{source:"clear"}),Ze&&Ze(Oe)},O=Oe=>{var Ye;document.activeElement===((Ye=ye.current)===null||Ye===void 0?void 0:Ye.input)&&Oe.preventDefault()},Ae=Oe=>{var Ye,Je;Fe&&Fe((Je=(Ye=ye.current)===null||Ye===void 0?void 0:Ye.input)===null||Je===void 0?void 0:Je.value,Oe,{source:"input"})},k=Oe=>{an.current||Le||Ae(Oe)},_=typeof G=="boolean"?X.createElement(ne.Z,null):null,T=`${Ot}-button`;let ee;const W=G||{},j=W.type&&W.type.__ANT_BUTTON===!0;j||W.type==="button"?ee=(0,Q.Tm)(W,Object.assign({onMouseDown:O,onClick:Oe=>{var Ye,Je;(Je=(Ye=W==null?void 0:W.props)===null||Ye===void 0?void 0:Ye.onClick)===null||Je===void 0||Je.call(Ye,Oe),Ae(Oe)},key:"enterButton"},j?{className:T,size:se}:{})):ee=X.createElement(b.ZP,{className:T,type:G?"primary":void 0,size:se,disabled:ke,key:"enterButton",onMouseDown:O,onClick:Ae,loading:Le,icon:_},G),J&&(ee=[ee,(0,Q.Tm)(J,{key:"addonAfter"})]);const _e=L()(Ot,{[`${Ot}-rtl`]:qt==="rtl",[`${Ot}-${se}`]:!!se,[`${Ot}-with-button`]:!!G},ie),Ke=Oe=>{an.current=!0,lt==null||lt(Oe)},De=Oe=>{an.current=!1,ut==null||ut(Oe)};return X.createElement(a.Z,Object.assign({ref:(0,u.sQ)(ye,fe),onPressEnter:k},it,{size:se,onCompositionStart:Ke,onCompositionEnd:De,prefixCls:ot,addonAfter:ee,suffix:E,onChange:H,className:_e,disabled:ke}))}),de=f(1643);const ae=a.Z;ae.Group=xe,ae.Search=me,ae.TextArea=de.Z,ae.Password=V;var te=ae},9937:function(nn,nt,f){"use strict";f.d(nt,{M1:function(){return C},TM:function(){return Q},Xy:function(){return xe},bi:function(){return K},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),X=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}),xe=b=>({color:b.colorTextDisabled,backgroundColor:b.colorBgContainerDisabled,borderColor:b.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},q((0,X.TS)(b,{hoverBorderColor:b.colorBorder})))}),a=b=>{const{paddingBlockLG:R,fontSizeLG:Z,lineHeightLG:z,borderRadiusLG:pe,paddingInlineLG:me}=b;return{padding:`${R}px ${me}px`,fontSize:Z,lineHeight:z,borderRadius:pe}},I=b=>({padding:`${b.paddingBlockSM}px ${b.paddingInlineSM}px`,borderRadius:b.borderRadiusSM}),K=(b,R)=>{const{componentCls:Z,colorError:z,colorWarning:pe,errorActiveShadow:me,warningActiveShadow:de,colorErrorBorderHover:ae,colorWarningBorderHover:te}=b;return{[`&-status-error:not(${R}-disabled):not(${R}-borderless)${R}`]:{borderColor:z,"&:hover":{borderColor:ae},"&:focus, &-focused":Object.assign({},C((0,X.TS)(b,{activeBorderColor:z,activeShadow:me}))),[`${Z}-prefix, ${Z}-suffix`]:{color:z}},[`&-status-warning:not(${R}-disabled):not(${R}-borderless)${R}`]:{borderColor:pe,"&:hover":{borderColor:te},"&:focus, &-focused":Object.assign({},C((0,X.TS)(b,{activeBorderColor:pe,activeShadow:de}))),[`${Z}-prefix, ${Z}-suffix`]:{color:pe}}}},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({},xe(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:z}=b,me=(Z-z*2-16)/2;return{[R]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(b)),S(b)),K(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:z,motionDurationSlow:pe,colorIcon:me,colorIconHover:de,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:z},"&-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 ${pe}`,"&:hover":{color:de}}}),K(b,`${R}-affix-wrapper`))}},ue=b=>{const{componentCls:R,colorError:Z,colorWarning:z,borderRadiusLG:pe,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:pe,fontSize:b.fontSizeLG}},"&-sm":{[`${R}-group-addon`]:{borderRadius:me}},"&-status-error":{[`${R}-group-addon`]:{color:Z,borderColor:Z}},"&-status-warning":{[`${R}-group-addon`]:{color:z,borderColor:z}},"&-disabled":{[`${R}-group-addon`]:Object.assign({},xe(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}}}})}},U=b=>{const{componentCls:R,antCls:Z}=b,z=`${R}-search`;return{[z]:{[`${R}`]:{"&:hover, &:focus":{borderColor:b.colorPrimaryHover,[`+ ${R}-group-addon ${z}-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,[`${z}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:b.borderRadius,borderEndEndRadius:b.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${z}-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}}}},[`${z}-button`]:{height:b.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${z}-button`]:{height:b.controlHeightLG},[`&-small ${z}-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}}}}},V=b=>{const{componentCls:R,paddingLG:Z}=b,z=`${R}-textarea`;return{[z]:{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${z}-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},[`${z}-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,X.TS)(b,{inputAffixPadding:b.paddingXXS})}const Q=b=>{const{controlHeight:R,fontSize:Z,lineHeight:z,lineWidth:pe,controlHeightSM:me,controlHeightLG:de,fontSizeLG:ae,lineHeightLG:te,paddingSM:B,controlPaddingHorizontalSM:fe,controlPaddingHorizontal:Y,colorFillAlter:ce,colorPrimaryHover:ie,controlOutlineWidth:g,controlOutline:E,colorErrorOutline:G,colorWarningOutline:J}=b;return{paddingBlock:Math.max(Math.round((R-Z*z)/2*10)/10-pe,3),paddingBlockSM:Math.max(Math.round((me-Z*z)/2*10)/10-pe,0),paddingBlockLG:Math.ceil((de-ae*te)/2*10)/10-pe,paddingInline:B-pe,paddingInlineSM:fe-pe,paddingInlineLG:Y-pe,addonBg:ce,activeBorderColor:ie,hoverBorderColor:ie,activeShadow:`0 0 0 ${g}px ${E}`,errorActiveShadow:`0 0 0 ${g}px ${G}`,warningActiveShadow:`0 0 0 ${g}px ${J}`}};nt.ZP=(0,Ee.Z)("Input",b=>{const R=(0,X.TS)(b,ne(b));return[x(R),V(R),P(R),ue(R),U(R),(0,L.c)(R)]},Q)},45818:function(nn,nt,f){"use strict";f.d(nt,{D:function(){return ne},Z:function(){return R}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(z,pe){return L.createElement($.Z,(0,y.Z)({},z,{ref:pe,icon:Ee}))},C=L.forwardRef(q),xe=C,a=f(33853),I=f(38819),K=f(92310),S=f.n(K),u=f(2738),m=Z=>!isNaN(parseFloat(Z))&&isFinite(Z),P=f(36355),ue=f(84966),U=function(Z,z){var pe={};for(var me in Z)Object.prototype.hasOwnProperty.call(Z,me)&&z.indexOf(me)<0&&(pe[me]=Z[me]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,me=Object.getOwnPropertySymbols(Z);de<me.length;de++)z.indexOf(me[de])<0&&Object.prototype.propertyIsEnumerable.call(Z,me[de])&&(pe[me[de]]=Z[me[de]]);return pe};const V={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ne=L.createContext({}),Q=(()=>{let Z=0;return function(){let z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Z+=1,`${z}${Z}`}})();var R=L.forwardRef((Z,z)=>{const{prefixCls:pe,className:me,trigger:de,children:ae,defaultCollapsed:te=!1,theme:B="dark",style:fe={},collapsible:Y=!1,reverseArrow:ce=!1,width:ie=200,collapsedWidth:g=80,zeroWidthTriggerStyle:E,breakpoint:G,onCollapse:J,onBreakpoint:Le}=Z,ke=U(Z,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Fe}=(0,L.useContext)(ue.Gs),[Ze,lt]=(0,L.useState)("collapsed"in Z?Z.collapsed:te),[ut,it]=(0,L.useState)(!1);(0,L.useEffect)(()=>{"collapsed"in Z&<(Z.collapsed)},[Z.collapsed]);const Ut=(se,ye)=>{"collapsed"in Z||lt(se),J==null||J(se,ye)},qt=(0,L.useRef)();qt.current=se=>{it(se.matches),Le==null||Le(se.matches),Ze!==se.matches&&Ut(se.matches,"responsive")},(0,L.useEffect)(()=>{function se(H){return qt.current(H)}let ye;if(typeof window!="undefined"){const{matchMedia:H}=window;if(H&&G&&G in V){ye=H(`(max-width: ${V[G]})`);try{ye.addEventListener("change",se)}catch(O){ye.addListener(se)}se(ye)}}return()=>{try{ye==null||ye.removeEventListener("change",se)}catch(H){ye==null||ye.removeListener(se)}}},[G]),(0,L.useEffect)(()=>{const se=Q("ant-sider-");return Fe.addSider(se),()=>Fe.removeSider(se)},[]);const an=()=>{Ut(!Ze,"clickTrigger")},{getPrefixCls:Ot}=(0,L.useContext)(P.E_),ot=()=>{const se=Ot("layout-sider",pe),ye=(0,u.Z)(ke,["collapsed"]),H=Ze?g:ie,O=m(H)?`${H}px`:String(H),Ae=parseFloat(String(g||0))===0?L.createElement("span",{onClick:an,className:S()(`${se}-zero-width-trigger`,`${se}-zero-width-trigger-${ce?"right":"left"}`),style:E},de||L.createElement(xe,null)):null,T={expanded:ce?L.createElement(I.Z,null):L.createElement(a.Z,null),collapsed:ce?L.createElement(a.Z,null):L.createElement(I.Z,null)}[Ze?"collapsed":"expanded"],ee=de!==null?Ae||L.createElement("div",{className:`${se}-trigger`,onClick:an,style:{width:O}},de||T):null,W=Object.assign(Object.assign({},fe),{flex:`0 0 ${O}`,maxWidth:O,minWidth:O,width:O}),j=S()(se,`${se}-${B}`,{[`${se}-collapsed`]:!!Ze,[`${se}-has-trigger`]:Y&&de!==null&&!Ae,[`${se}-below`]:!!ut,[`${se}-zero-width`]:parseFloat(O)===0},me);return L.createElement("aside",Object.assign({className:j},ye,{style:W,ref:z}),L.createElement("div",{className:`${se}-children`},ae),Y||ut&&Ae?ee:null)},_t=L.useMemo(()=>({siderCollapsed:Ze}),[Ze]);return L.createElement(ne.Provider,{value:_t},ot())})},44e3:function(nn,nt,f){"use strict";var y=f(84966),L=f(45818);const X=y.ZP;X.Header=y.h4,X.Footer=y.$_,X.Content=y.VY,X.Sider=L.Z,nt.default=X},84966:function(nn,nt,f){"use strict";f.d(nt,{VY:function(){return ne},$_:function(){return V},h4:function(){return U},Gs:function(){return u},ZP:function(){return Q}});var y=f(19127),L=f(92310),X=f.n(L),Ee=f(2738),$=f(59301),q=f(36355),C=f(83116),a=b=>{const{componentCls:R,bodyBg:Z,lightSiderBg:z,lightTriggerBg:pe,lightTriggerColor:me}=b;return{[`${R}-sider-light`]:{background:z,[`${R}-sider-trigger`]:{color:me,background:pe},[`${R}-sider-zero-width-trigger`]:{color:me,background:pe,border:`1px solid ${Z}`,borderInlineStart:0}}}};const I=b=>{const{antCls:R,componentCls:Z,colorText:z,triggerColor:pe,footerBg:me,triggerBg:de,headerHeight:ae,headerPadding:te,headerColor:B,footerPadding:fe,triggerHeight:Y,zeroTriggerHeight:ce,zeroTriggerWidth:ie,motionDurationMid:g,motionDurationSlow:E,fontSize:G,borderRadius:J,bodyBg:Le,headerBg:ke,siderBg:Fe}=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:Fe,transition:`all ${g}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${R}-menu${R}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Y},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Y,color:pe,lineHeight:`${Y}px`,textAlign:"center",background:de,cursor:"pointer",transition:`all ${g}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ae,insetInlineEnd:-ie,zIndex:1,width:ie,height:ce,color:pe,fontSize:b.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Fe,borderStartStartRadius:0,borderStartEndRadius:J,borderEndEndRadius:J,borderEndStartRadius:0,cursor:"pointer",transition:`background ${E} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${E}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-ie,borderStartStartRadius:J,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:J}}}}},a(b)),{"&-rtl":{direction:"rtl"}}),[`${Z}-header`]:{height:ae,padding:te,color:B,lineHeight:`${ae}px`,background:ke,[`${R}-menu`]:{lineHeight:"inherit"}},[`${Z}-footer`]:{padding:fe,color:z,fontSize:G,background:me},[`${Z}-content`]:{flex:"auto",minHeight:0}}};var K=(0,C.Z)("Layout",b=>[I(b)],b=>{const{colorBgLayout:R,controlHeight:Z,controlHeightLG:z,colorText:pe,controlHeightSM:me,marginXXS:de,colorTextLightSolid:ae,colorBgContainer:te}=b,B=z*1.25;return{colorBgHeader:"#001529",colorBgBody:R,colorBgTrigger:"#002140",bodyBg:R,headerBg:"#001529",headerHeight:Z*2,headerPadding:`0 ${B}px`,headerColor:pe,footerPadding:`${me}px ${B}px`,footerBg:R,siderBg:"#001529",triggerHeight:z+de*2,triggerBg:"#002140",triggerColor:ae,zeroTriggerWidth:z,zeroTriggerHeight:z,lightSiderBg:te,lightTriggerBg:te,lightTriggerColor:pe}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),S=function(b,R){var Z={};for(var z in b)Object.prototype.hasOwnProperty.call(b,z)&&R.indexOf(z)<0&&(Z[z]=b[z]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,z=Object.getOwnPropertySymbols(b);pe<z.length;pe++)R.indexOf(z[pe])<0&&Object.prototype.propertyIsEnumerable.call(b,z[pe])&&(Z[z[pe]]=b[z[pe]]);return Z};const u=$.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function x(b){let{suffixCls:R,tagName:Z,displayName:z}=b;return pe=>$.forwardRef((de,ae)=>$.createElement(pe,Object.assign({ref:ae,suffixCls:R,tagName:Z},de)))}const m=$.forwardRef((b,R)=>{const{prefixCls:Z,suffixCls:z,className:pe,tagName:me}=b,de=S(b,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ae}=$.useContext(q.E_),te=ae("layout",Z),[B,fe]=K(te),Y=z?`${te}-${z}`:te;return B($.createElement(me,Object.assign({className:X()(Z||Y,pe,fe),ref:R},de)))}),P=$.forwardRef((b,R)=>{const{direction:Z}=$.useContext(q.E_),[z,pe]=$.useState([]),{prefixCls:me,className:de,rootClassName:ae,children:te,hasSider:B,tagName:fe,style:Y}=b,ce=S(b,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),ie=(0,Ee.Z)(ce,["suffixCls"]),{getPrefixCls:g,layout:E}=$.useContext(q.E_),G=g("layout",me),[J,Le]=K(G),ke=X()(G,{[`${G}-has-sider`]:typeof B=="boolean"?B:z.length>0,[`${G}-rtl`]:Z==="rtl"},E==null?void 0:E.className,de,ae,Le),Fe=$.useMemo(()=>({siderHook:{addSider:Ze=>{pe(lt=>[].concat((0,y.Z)(lt),[Ze]))},removeSider:Ze=>{pe(lt=>lt.filter(ut=>ut!==Ze))}}}),[]);return J($.createElement(u.Provider,{value:Fe},$.createElement(fe,Object.assign({ref:R,className:ke,style:Object.assign(Object.assign({},E==null?void 0:E.style),Y)},ie),te)))}),ue=x({tagName:"div",displayName:"Layout"})(P),U=x({suffixCls:"header",tagName:"header",displayName:"Header"})(m),V=x({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(m),ne=x({suffixCls:"content",tagName:"main",displayName:"Content"})(m);var Q=ue},40875:function(nn,nt,f){"use strict";f.d(nt,{J:function(){return q}});var y=f(59301),L=f(33234),X=f(70425),Ee=function(C,xe){var a={};for(var I in C)Object.prototype.hasOwnProperty.call(C,I)&&xe.indexOf(I)<0&&(a[I]=C[I]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var K=0,I=Object.getOwnPropertySymbols(C);K<I.length;K++)xe.indexOf(I[K])<0&&Object.prototype.propertyIsEnumerable.call(C,I[K])&&(a[I[K]]=C[I[K]]);return a};const $=y.createContext(null),q=y.forwardRef((C,xe)=>{const{children:a}=C,I=Ee(C,["children"]),K=y.useContext($),S=y.useMemo(()=>Object.assign(Object.assign({},K),I),[K,I.prefixCls,I.mode,I.selectable]);return y.createElement($.Provider,{value:S},y.createElement(L.BR,null,(0,X.supportNodeRef)(a)?y.cloneElement(a,{ref:xe}):a))});nt.Z=$},20834:function(nn,nt,f){"use strict";f.d(nt,{default:function(){return _t}});var y=f(15285),L=f(59301),X=f(45818),Ee=f(92310),$=f.n(Ee),q=f(36355),C=function(se,ye){var H={};for(var O in se)Object.prototype.hasOwnProperty.call(se,O)&&ye.indexOf(O)<0&&(H[O]=se[O]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,O=Object.getOwnPropertySymbols(se);Ae<O.length;Ae++)ye.indexOf(O[Ae])<0&&Object.prototype.propertyIsEnumerable.call(se,O[Ae])&&(H[O[Ae]]=se[O[Ae]]);return H},a=se=>{const{prefixCls:ye,className:H,dashed:O}=se,Ae=C(se,["prefixCls","className","dashed"]),{getPrefixCls:k}=L.useContext(q.E_),_=k("menu",ye),T=$()({[`${_}-item-divider-dashed`]:!!O},H);return L.createElement(y.iz,Object.assign({className:T},Ae))},I=f(11592),K=f(2738),S=f(6848),u=f(92343),m=(0,L.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),ue=se=>{var ye;const{className:H,children:O,icon:Ae,title:k,danger:_}=se,{prefixCls:T,firstLevel:ee,direction:W,disableMenuItemTitleTooltip:j,inlineCollapsed:_e}=L.useContext(m),Ke=yt=>{const xt=L.createElement("span",{className:`${T}-title-content`},O);return(!Ae||(0,u.l$)(O)&&O.type==="span")&&O&&yt&&ee&&typeof O=="string"?L.createElement("div",{className:`${T}-inline-collapsed-noicon`},O.charAt(0)):xt},{siderCollapsed:De}=L.useContext(X.D);let Oe=k;typeof k=="undefined"?Oe=ee?O:"":k===!1&&(Oe="");const Ye={title:Oe};!De&&!_e&&(Ye.title=null,Ye.open=!1);const Je=(0,I.Z)(O).length;let Ge=L.createElement(y.ck,Object.assign({},(0,K.Z)(se,["title","icon","danger"]),{className:$()({[`${T}-item-danger`]:_,[`${T}-item-only-child`]:(Ae?Je+1:Je)===1},H),title:typeof k=="string"?k:void 0}),(0,u.Tm)(Ae,{className:$()((0,u.l$)(Ae)?(ye=Ae.props)===null||ye===void 0?void 0:ye.className:"",`${T}-item-icon`)}),Ke(_e));return j||(Ge=L.createElement(S.Z,Object.assign({},Ye,{placement:W==="rtl"?"left":"right",overlayClassName:`${T}-inline-collapsed-tooltip`}),Ge)),Ge},V=se=>{var ye;const{popupClassName:H,icon:O,title:Ae,theme:k}=se,_=L.useContext(m),{prefixCls:T,inlineCollapsed:ee,theme:W}=_,j=(0,y.Xl)();let _e;if(!O)_e=ee&&!j.length&&Ae&&typeof Ae=="string"?L.createElement("div",{className:`${T}-inline-collapsed-noicon`},Ae.charAt(0)):L.createElement("span",{className:`${T}-title-content`},Ae);else{const De=(0,u.l$)(Ae)&&Ae.type==="span";_e=L.createElement(L.Fragment,null,(0,u.Tm)(O,{className:$()((0,u.l$)(O)?(ye=O.props)===null||ye===void 0?void 0:ye.className:"",`${T}-item-icon`)}),De?Ae:L.createElement("span",{className:`${T}-title-content`},Ae))}const Ke=L.useMemo(()=>Object.assign(Object.assign({},_),{firstLevel:!1}),[_]);return L.createElement(m.Provider,{value:Ke},L.createElement(y.Wd,Object.assign({},(0,K.Z)(se,["icon"]),{title:_e,popupClassName:$()(T,H,`${T}-${k||W}`)})))},ne=f(18785),Q=f(70425),b=f(62892),R=f(40875),Z=function(se,ye){var H={};for(var O in se)Object.prototype.hasOwnProperty.call(se,O)&&ye.indexOf(O)<0&&(H[O]=se[O]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,O=Object.getOwnPropertySymbols(se);Ae<O.length;Ae++)ye.indexOf(O[Ae])<0&&Object.prototype.propertyIsEnumerable.call(se,O[Ae])&&(H[O[Ae]]=se[O[Ae]]);return H};function z(se){return(se||[]).map((ye,H)=>{if(ye&&typeof ye=="object"){const O=ye,{label:Ae,children:k,key:_,type:T}=O,ee=Z(O,["label","children","key","type"]),W=_!=null?_:`tmp-${H}`;return k||T==="group"?T==="group"?L.createElement(y.BW,Object.assign({key:W},ee,{title:Ae}),z(k)):L.createElement(V,Object.assign({key:W},ee,{title:Ae}),z(k)):T==="divider"?L.createElement(a,Object.assign({key:W},ee)):L.createElement(ue,Object.assign({key:W},ee),Ae)}return null}).filter(ye=>ye)}function pe(se){return L.useMemo(()=>se&&z(se),[se])}var me=f(64993),de=f(17313),ae=f(8378),te=f(13826),B=f(29878),fe=f(83116),Y=f(37613),ie=se=>{const{componentCls:ye,motionDurationSlow:H,horizontalLineHeight:O,colorSplit:Ae,lineWidth:k,lineType:_,itemPaddingInline:T}=se;return{[`${ye}-horizontal`]:{lineHeight:O,border:0,borderBottom:`${k}px ${_} ${Ae}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${ye}-item, ${ye}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:T},[`> ${ye}-item:hover,
|
|
|
> ${ye}-item-active,
|
|
|
> ${ye}-submenu ${ye}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${ye}-item, ${ye}-submenu-title`]:{transition:[`border-color ${H}`,`background ${H}`].join(",")},[`${ye}-submenu-arrow`]:{display:"none"}}}},E=se=>{let{componentCls:ye,menuArrowOffset:H}=se;return{[`${ye}-rtl`]:{direction:"rtl"},[`${ye}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${ye}-rtl${ye}-vertical,
|
|
|
${ye}-submenu-rtl ${ye}-vertical`]:{[`${ye}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${H})`},"&::after":{transform:`rotate(45deg) translateY(${H})`}}}}};const G=se=>Object.assign({},(0,de.oN)(se));var Le=(se,ye)=>{const{componentCls:H,itemColor:O,itemSelectedColor:Ae,groupTitleColor:k,itemBg:_,subMenuItemBg:T,itemSelectedBg:ee,activeBarHeight:W,activeBarWidth:j,activeBarBorderWidth:_e,motionDurationSlow:Ke,motionEaseInOut:De,motionEaseOut:Oe,itemPaddingInline:Ye,motionDurationMid:Je,itemHoverColor:Ge,lineType:yt,colorSplit:xt,itemDisabledColor:dt,dangerItemColor:kt,dangerItemHoverColor:Tt,dangerItemSelectedColor:w,dangerItemActiveBg:D,dangerItemSelectedBg:bt,itemHoverBg:he,itemActiveBg:Be,menuSubMenuBg:pn,horizontalItemSelectedColor:We,horizontalItemSelectedBg:et,horizontalItemBorderRadius:Xe,horizontalItemHoverBg:Se,popupBg:Ie}=se;return{[`${H}-${ye}, ${H}-${ye} > ${H}`]:{color:O,background:_,[`&${H}-root:focus-visible`]:Object.assign({},G(se)),[`${H}-item-group-title`]:{color:k},[`${H}-submenu-selected`]:{[`> ${H}-submenu-title`]:{color:Ae}},[`${H}-item-disabled, ${H}-submenu-disabled`]:{color:`${dt} !important`},[`${H}-item:not(${H}-item-selected):not(${H}-submenu-selected)`]:{[`&:hover, > ${H}-submenu-title:hover`]:{color:Ge}},[`&:not(${H}-horizontal)`]:{[`${H}-item:not(${H}-item-selected)`]:{"&:hover":{backgroundColor:he},"&:active":{backgroundColor:Be}},[`${H}-submenu-title`]:{"&:hover":{backgroundColor:he},"&:active":{backgroundColor:Be}}},[`${H}-item-danger`]:{color:kt,[`&${H}-item:hover`]:{[`&:not(${H}-item-selected):not(${H}-submenu-selected)`]:{color:Tt}},[`&${H}-item:active`]:{background:D}},[`${H}-item a`]:{"&, &:hover":{color:"inherit"}},[`${H}-item-selected`]:{color:Ae,[`&${H}-item-danger`]:{color:w},"a, a:hover":{color:"inherit"}},[`& ${H}-item-selected`]:{backgroundColor:ee,[`&${H}-item-danger`]:{backgroundColor:bt}},[`${H}-item, ${H}-submenu-title`]:{[`&:not(${H}-item-disabled):focus-visible`]:Object.assign({},G(se))},[`&${H}-submenu > ${H}`]:{backgroundColor:pn},[`&${H}-popup > ${H}`]:{backgroundColor:Ie},[`&${H}-horizontal`]:Object.assign(Object.assign({},ye==="dark"?{borderBottom:0}:{}),{[`> ${H}-item, > ${H}-submenu`]:{top:_e,marginTop:-_e,marginBottom:0,borderRadius:Xe,"&::after":{position:"absolute",insetInline:Ye,bottom:0,borderBottom:`${W}px solid transparent`,transition:`border-color ${Ke} ${De}`,content:'""'},"&:hover, &-active, &-open":{background:Se,"&::after":{borderBottomWidth:W,borderBottomColor:We}},"&-selected":{color:We,backgroundColor:et,"&:hover":{backgroundColor:et},"&::after":{borderBottomWidth:W,borderBottomColor:We}}}}),[`&${H}-root`]:{[`&${H}-inline, &${H}-vertical`]:{borderInlineEnd:`${_e}px ${yt} ${xt}`}},[`&${H}-inline`]:{[`${H}-sub${H}-inline`]:{background:T},[`${H}-item, ${H}-submenu-title`]:_e&&j?{width:`calc(100% + ${_e}px)`}:{},[`${H}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${j}px solid ${Ae}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Je} ${Oe}`,`opacity ${Je} ${Oe}`].join(","),content:'""'},[`&${H}-item-danger`]:{"&::after":{borderInlineEndColor:w}}},[`${H}-selected, ${H}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Je} ${De}`,`opacity ${Je} ${De}`].join(",")}}}}}};const ke=se=>{const{componentCls:ye,itemHeight:H,itemMarginInline:O,padding:Ae,menuArrowSize:k,marginXS:_,itemMarginBlock:T}=se,ee=Ae+k+_;return{[`${ye}-item`]:{position:"relative",overflow:"hidden"},[`${ye}-item, ${ye}-submenu-title`]:{height:H,lineHeight:`${H}px`,paddingInline:Ae,overflow:"hidden",textOverflow:"ellipsis",marginInline:O,marginBlock:T,width:`calc(100% - ${O*2}px)`},[`> ${ye}-item,
|
|
|
> ${ye}-submenu > ${ye}-submenu-title`]:{height:H,lineHeight:`${H}px`},[`${ye}-item-group-list ${ye}-submenu-title,
|
|
|
${ye}-submenu-title`]:{paddingInlineEnd:ee}}};var Ze=se=>{const{componentCls:ye,iconCls:H,itemHeight:O,colorTextLightSolid:Ae,dropdownWidth:k,controlHeightLG:_,motionDurationMid:T,motionEaseOut:ee,paddingXL:W,itemMarginInline:j,fontSizeLG:_e,motionDurationSlow:Ke,paddingXS:De,boxShadowSecondary:Oe,collapsedWidth:Ye,collapsedIconSize:Je}=se,Ge={height:O,lineHeight:`${O}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[ye]:{"&-inline, &-vertical":Object.assign({[`&${ye}-root`]:{boxShadow:"none"}},ke(se))},[`${ye}-submenu-popup`]:{[`${ye}-vertical`]:Object.assign(Object.assign({},ke(se)),{boxShadow:Oe})}},{[`${ye}-submenu-popup ${ye}-vertical${ye}-sub`]:{minWidth:k,maxHeight:`calc(100vh - ${_*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${ye}-inline`]:{width:"100%",[`&${ye}-root`]:{[`${ye}-item, ${ye}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Ke}`,`background ${Ke}`,`padding ${T} ${ee}`].join(","),[`> ${ye}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${ye}-sub${ye}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${ye}-submenu > ${ye}-submenu-title`]:Ge,[`& ${ye}-item-group-title`]:{paddingInlineStart:W}},[`${ye}-item`]:Ge}},{[`${ye}-inline-collapsed`]:{width:Ye,[`&${ye}-root`]:{[`${ye}-item, ${ye}-submenu ${ye}-submenu-title`]:{[`> ${ye}-inline-collapsed-noicon`]:{fontSize:_e,textAlign:"center"}}},[`> ${ye}-item,
|
|
|
> ${ye}-item-group > ${ye}-item-group-list > ${ye}-item,
|
|
|
> ${ye}-item-group > ${ye}-item-group-list > ${ye}-submenu > ${ye}-submenu-title,
|
|
|
> ${ye}-submenu > ${ye}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${_e/2}px - ${j}px)`,textOverflow:"clip",[`
|
|
|
${ye}-submenu-arrow,
|
|
|
${ye}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${ye}-item-icon, ${H}`]:{margin:0,fontSize:Je,lineHeight:`${O}px`,"+ span":{display:"inline-block",opacity:0}}},[`${ye}-item-icon, ${H}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${ye}-item-icon, ${H}`]:{display:"none"},"a, a:hover":{color:Ae}},[`${ye}-item-group-title`]:Object.assign(Object.assign({},de.vS),{paddingInline:De})}}]};const lt=se=>{const{componentCls:ye,motionDurationSlow:H,motionDurationMid:O,motionEaseInOut:Ae,motionEaseOut:k,iconCls:_,iconSize:T,iconMarginInlineEnd:ee}=se;return{[`${ye}-item, ${ye}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${H}`,`background ${H}`,`padding ${H} ${Ae}`].join(","),[`${ye}-item-icon, ${_}`]:{minWidth:T,fontSize:T,transition:[`font-size ${O} ${k}`,`margin ${H} ${Ae}`,`color ${H}`].join(","),"+ span":{marginInlineStart:ee,opacity:1,transition:[`opacity ${H} ${Ae}`,`margin ${H}`,`color ${H}`].join(",")}},[`${ye}-item-icon`]:Object.assign({},(0,de.Ro)()),[`&${ye}-item-only-child`]:{[`> ${_}, > ${ye}-item-icon`]:{marginInlineEnd:0}}},[`${ye}-item-disabled, ${ye}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${ye}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},ut=se=>{const{componentCls:ye,motionDurationSlow:H,motionEaseInOut:O,borderRadius:Ae,menuArrowSize:k,menuArrowOffset:_}=se;return{[`${ye}-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:Ae,transition:[`background ${H} ${O}`,`transform ${H} ${O}`,`top ${H} ${O}`,`color ${H} ${O}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${_})`},"&::after":{transform:`rotate(-45deg) translateY(${_})`}}}}},it=se=>{const{antCls:ye,componentCls:H,fontSize:O,motionDurationSlow:Ae,motionDurationMid:k,motionEaseInOut:_,paddingXS:T,padding:ee,colorSplit:W,lineWidth:j,zIndexPopup:_e,borderRadiusLG:Ke,subMenuItemBorderRadius:De,menuArrowSize:Oe,menuArrowOffset:Ye,lineType:Je,menuPanelMaskInset:Ge,groupTitleLineHeight:yt,groupTitleFontSize:xt}=se;return[{"":{[`${H}`]:Object.assign(Object.assign({},(0,de.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,de.Wf)(se)),(0,de.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:O,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ae} 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 ${ee}px`,fontSize:xt,lineHeight:yt,transition:`all ${Ae}`},[`&-horizontal ${H}-submenu`]:{transition:[`border-color ${Ae} ${_}`,`background ${Ae} ${_}`].join(",")},[`${H}-submenu, ${H}-submenu-inline`]:{transition:[`border-color ${Ae} ${_}`,`background ${Ae} ${_}`,`padding ${k} ${_}`].join(",")},[`${H}-submenu ${H}-sub`]:{cursor:"initial",transition:[`background ${Ae} ${_}`,`padding ${Ae} ${_}`].join(",")},[`${H}-title-content`]:{transition:`color ${Ae}`},[`${H}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${H}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:W,borderStyle:Je,borderWidth:0,borderTopWidth:j,marginBlock:j,padding:0,"&-dashed":{borderStyle:"dashed"}}}),lt(se)),{[`${H}-item-group`]:{[`${H}-item-group-list`]:{margin:0,padding:0,[`${H}-item, ${H}-submenu-title`]:{paddingInline:`${O*2}px ${ee}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:_e,borderRadius:Ke,boxShadow:"none",transformOrigin:"0 0",[`&${H}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Ge}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Ge},"\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},lt(se)),ut(se)),{[`${H}-item, ${H}-submenu > ${H}-submenu-title`]:{borderRadius:De},[`${H}-submenu-title::after`]:{transition:`transform ${Ae} ${_}`}})}}),ut(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(-${Oe*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Ye})`},"&::before":{transform:`rotate(45deg) translateX(${Ye})`}}})},{[`${ye}-layout-header`]:{[H]:{lineHeight:"inherit"}}}]};var Ut=(se,ye)=>(0,fe.Z)("Menu",O=>{if(ye===!1)return[];const{colorBgElevated:Ae,colorPrimary:k,colorTextLightSolid:_,controlHeightLG:T,fontSize:ee,darkItemColor:W,darkDangerItemColor:j,darkItemBg:_e,darkSubMenuItemBg:Ke,darkItemSelectedColor:De,darkItemSelectedBg:Oe,darkDangerItemSelectedBg:Ye,darkItemHoverBg:Je,darkGroupTitleColor:Ge,darkItemHoverColor:yt,darkItemDisabledColor:xt,darkDangerItemHoverColor:dt,darkDangerItemSelectedColor:kt,darkDangerItemActiveBg:Tt}=O,w=ee/7*5,D=(0,Y.TS)(O,{menuArrowSize:w,menuHorizontalHeight:T*1.15,menuArrowOffset:`${w*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ae}),bt=(0,Y.TS)(D,{itemColor:W,itemHoverColor:yt,groupTitleColor:Ge,itemSelectedColor:De,itemBg:_e,popupBg:_e,subMenuItemBg:Ke,itemActiveBg:"transparent",itemSelectedBg:Oe,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Je,itemDisabledColor:xt,dangerItemColor:j,dangerItemHoverColor:dt,dangerItemSelectedColor:kt,dangerItemActiveBg:Tt,dangerItemSelectedBg:Ye,menuSubMenuBg:Ke,horizontalItemSelectedColor:_,horizontalItemSelectedBg:k});return[it(D),ie(D),Ze(D),Le(D,"light"),Le(bt,"dark"),E(D),(0,ae.Z)(D),(0,te.oN)(D,"slide-up"),(0,te.oN)(D,"slide-down"),(0,B._y)(D,"zoom-big")]},O=>{const{colorPrimary:Ae,colorError:k,colorTextDisabled:_,colorErrorBg:T,colorText:ee,colorTextDescription:W,colorBgContainer:j,colorFillAlter:_e,colorFillContent:Ke,lineWidth:De,lineWidthBold:Oe,controlItemBgActive:Ye,colorBgTextHover:Je,controlHeightLG:Ge,lineHeight:yt,colorBgElevated:xt,marginXXS:dt,padding:kt,fontSize:Tt,controlHeightSM:w,fontSizeLG:D,colorTextLightSolid:bt,colorErrorHover:he}=O,Be=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:ee,itemColor:ee,colorItemTextHover:ee,itemHoverColor:ee,colorItemTextHoverHorizontal:Ae,horizontalItemHoverColor:Ae,colorGroupTitle:W,groupTitleColor:W,colorItemTextSelected:Ae,itemSelectedColor:Ae,colorItemTextSelectedHorizontal:Ae,horizontalItemSelectedColor:Ae,colorItemBg:j,itemBg:j,colorItemBgHover:Je,itemHoverBg:Je,colorItemBgActive:Ke,itemActiveBg:Ye,colorSubItemBg:_e,subMenuItemBg:_e,colorItemBgSelected:Ye,itemSelectedBg:Ye,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Oe,activeBarHeight:Oe,colorActiveBarBorderSize:De,activeBarBorderWidth:De,colorItemTextDisabled:_,itemDisabledColor:_,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:Ge,groupTitleLineHeight:yt,collapsedWidth:Ge*2,popupBg:xt,itemMarginBlock:dt,itemPaddingInline:kt,horizontalLineHeight:`${Ge*1.15}px`,iconSize:Tt,iconMarginInlineEnd:w-Tt,collapsedIconSize:D,groupTitleFontSize:Tt,darkItemDisabledColor:new me.C(bt).setAlpha(.25).toRgbString(),darkItemColor:Be,darkDangerItemColor:k,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:bt,darkItemSelectedBg:Ae,darkDangerItemSelectedBg:k,darkItemHoverBg:"transparent",darkGroupTitleColor:Be,darkItemHoverColor:bt,darkDangerItemHoverColor:he,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,ye){var H={};for(var O in se)Object.prototype.hasOwnProperty.call(se,O)&&ye.indexOf(O)<0&&(H[O]=se[O]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,O=Object.getOwnPropertySymbols(se);Ae<O.length;Ae++)ye.indexOf(O[Ae])<0&&Object.prototype.propertyIsEnumerable.call(se,O[Ae])&&(H[O[Ae]]=se[O[Ae]]);return H},Ot=(0,L.forwardRef)((se,ye)=>{var H,O;const Ae=L.useContext(R.Z),k=Ae||{},{getPrefixCls:_,getPopupContainer:T,direction:ee,menu:W}=L.useContext(q.E_),j=_(),{prefixCls:_e,className:Ke,style:De,theme:Oe="light",expandIcon:Ye,_internalDisableMenuItemTitleTooltip:Je,inlineCollapsed:Ge,siderCollapsed:yt,items:xt,children:dt,rootClassName:kt,mode:Tt,selectable:w,onClick:D,overflowedIndicatorPopupClassName:bt}=se,he=qt(se,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Be=(0,K.Z)(he,["collapsedWidth"]),pn=pe(xt)||dt;(H=k.validator)===null||H===void 0||H.call(k,{mode:Tt});const We=(0,Q.useEvent)(function(){var Cn;D==null||D.apply(void 0,arguments),(Cn=k.onClick)===null||Cn===void 0||Cn.call(k)}),et=k.mode||Tt,Xe=w!=null?w:k.selectable,Se=L.useMemo(()=>yt!==void 0?yt:Ge,[Ge,yt]),Ie={horizontal:{motionName:`${j}-slide-up`},inline:(0,b.Z)(j),other:{motionName:`${j}-zoom-big`}},ze=_("menu",_e||k.prefixCls),[qe,be]=Ut(ze,!Ae),en=$()(`${ze}-${Oe}`,W==null?void 0:W.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 Cn=Ye!=null?Ye:k.expandIcon;$e=(0,u.Tm)(Cn,{className:$()(`${ze}-submenu-expand-icon`,(0,u.l$)(Cn)?(O=Cn.props)===null||O===void 0?void 0:O.className:"")})}const bn=L.useMemo(()=>({prefixCls:ze,inlineCollapsed:Se||!1,direction:ee,firstLevel:!0,theme:Oe,mode:et,disableMenuItemTitleTooltip:Je}),[ze,Se,ee,Je,Oe]);return qe(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}-${Oe}`,bt),mode:et,selectable:Xe,onClick:We},Be,{inlineCollapsed:Se,style:Object.assign(Object.assign({},W==null?void 0:W.style),De),className:en,prefixCls:ze,direction:ee,defaultMotions:Ie,expandIcon:$e,ref:ye,rootClassName:$()(kt,be)}),pn))))});const ot=(0,L.forwardRef)((se,ye)=>{const H=(0,L.useRef)(null),O=L.useContext(X.D);return(0,L.useImperativeHandle)(ye,()=>({menu:H.current,focus:Ae=>{var k;(k=H.current)===null||k===void 0||k.focus(Ae)}})),L.createElement(Ot,Object.assign({ref:H},se,O))});ot.Item=ue,ot.SubMenu=V,ot.Divider=a,ot.ItemGroup=y.BW;var _t=ot},58421:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return k}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(T,ee){return L.createElement($.Z,(0,y.Z)({},T,{ref:ee,icon:Ee}))},C=L.forwardRef(q),xe=C,a=f(49198),I=f(33853),K=f(38819),S=f(92310),u=f.n(S),x=f(90493),m=f(44127),P=f(52884),ue=f(95727),U=f(65711),V=f(85745),ne=f(26112),Q={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},b=Q,R=f(91735),Z=function(_){(0,U.Z)(ee,_);var T=(0,V.Z)(ee);function ee(){var W;(0,P.Z)(this,ee);for(var j=arguments.length,_e=new Array(j),Ke=0;Ke<j;Ke++)_e[Ke]=arguments[Ke];return W=T.call.apply(T,[this].concat(_e)),W.state={goInputText:""},W.getValidValue=function(){var De=W.state.goInputText;return!De||Number.isNaN(De)?void 0:Number(De)},W.buildOptionText=function(De){return"".concat(De," ").concat(W.props.locale.items_per_page)},W.changeSize=function(De){W.props.changeSize(Number(De))},W.handleChange=function(De){W.setState({goInputText:De.target.value})},W.handleBlur=function(De){var Oe=W.props,Ye=Oe.goButton,Je=Oe.quickGo,Ge=Oe.rootPrefixCls,yt=W.state.goInputText;Ye||yt===""||(W.setState({goInputText:""}),!(De.relatedTarget&&(De.relatedTarget.className.indexOf("".concat(Ge,"-item-link"))>=0||De.relatedTarget.className.indexOf("".concat(Ge,"-item"))>=0))&&Je(W.getValidValue()))},W.go=function(De){var Oe=W.state.goInputText;Oe!==""&&(De.keyCode===b.ENTER||De.type==="click")&&(W.setState({goInputText:""}),W.props.quickGo(W.getValidValue()))},W}return(0,ue.Z)(ee,[{key:"getPageSizeOptions",value:function(){var j=this.props,_e=j.pageSize,Ke=j.pageSizeOptions;return Ke.some(function(De){return De.toString()===_e.toString()})?Ke:Ke.concat([_e.toString()]).sort(function(De,Oe){var Ye=Number.isNaN(Number(De))?0:Number(De),Je=Number.isNaN(Number(Oe))?0:Number(Oe);return Ye-Je})}},{key:"render",value:function(){var j=this,_e=this.props,Ke=_e.pageSize,De=_e.locale,Oe=_e.rootPrefixCls,Ye=_e.changeSize,Je=_e.quickGo,Ge=_e.goButton,yt=_e.selectComponentClass,xt=_e.buildOptionText,dt=_e.selectPrefixCls,kt=_e.disabled,Tt=this.state.goInputText,w="".concat(Oe,"-options"),D=yt,bt=null,he=null,Be=null;if(!Ye&&!Je)return null;var pn=this.getPageSizeOptions();if(Ye&&D){var We=pn.map(function(et,Xe){return L.createElement(D.Option,{key:Xe,value:et.toString()},(xt||j.buildOptionText)(et))});bt=L.createElement(D,{disabled:kt,prefixCls:dt,showSearch:!1,className:"".concat(w,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Ke||pn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Xe){return Xe.parentNode},"aria-label":De.page_size,defaultOpen:!1},We)}return Je&&(Ge&&(Be=typeof Ge=="boolean"?L.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:kt,className:"".concat(w,"-quick-jumper-button")},De.jump_to_confirm):L.createElement("span",{onClick:this.go,onKeyUp:this.go},Ge)),he=L.createElement("div",{className:"".concat(w,"-quick-jumper")},De.jump_to,L.createElement("input",{disabled:kt,type:"text",value:Tt,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":De.page}),De.page,Be)),L.createElement("li",{className:"".concat(w)},bt,he)}}]),ee}(L.Component);Z.defaultProps={pageSizeOptions:["10","20","50","100"]};var z=Z,pe=function(T){var ee,W=T.rootPrefixCls,j=T.page,_e=T.active,Ke=T.className,De=T.showTitle,Oe=T.onClick,Ye=T.onKeyPress,Je=T.itemRender,Ge="".concat(W,"-item"),yt=u()(Ge,"".concat(Ge,"-").concat(j),(ee={},(0,x.Z)(ee,"".concat(Ge,"-active"),_e),(0,x.Z)(ee,"".concat(Ge,"-disabled"),!j),(0,x.Z)(ee,T.className,Ke),ee)),xt=function(){Oe(j)},dt=function(w){Ye(w,Oe,j)},kt=Je(j,"page",L.createElement("a",{rel:"nofollow"},j));return kt?L.createElement("li",{title:De?j.toString():null,className:yt,onClick:xt,onKeyPress:dt,tabIndex:0},kt):null},me=pe;function de(){}function ae(_){var T=Number(_);return typeof T=="number"&&!Number.isNaN(T)&&isFinite(T)&&Math.floor(T)===T}var te=function(T,ee,W){return W};function B(_,T,ee){var W=typeof _=="undefined"?T.pageSize:_;return Math.floor((ee.total-1)/W)+1}var fe=function(_){(0,U.Z)(ee,_);var T=(0,V.Z)(ee);function ee(W){var j;(0,P.Z)(this,ee),j=T.call(this,W),j.paginationNode=L.createRef(),j.getJumpPrevPage=function(){return Math.max(1,j.state.current-(j.props.showLessItems?3:5))},j.getJumpNextPage=function(){return Math.min(B(void 0,j.state,j.props),j.state.current+(j.props.showLessItems?3:5))},j.getItemIcon=function(Ye,Je){var Ge=j.props.prefixCls,yt=Ye||L.createElement("button",{type:"button","aria-label":Je,className:"".concat(Ge,"-item-link")});return typeof Ye=="function"&&(yt=L.createElement(Ye,(0,m.Z)({},j.props))),yt},j.isValid=function(Ye){var Je=j.props.total;return ae(Ye)&&Ye!==j.state.current&&ae(Je)&&Je>0},j.shouldDisplayQuickJumper=function(){var Ye=j.props,Je=Ye.showQuickJumper,Ge=Ye.total,yt=j.state.pageSize;return Ge<=yt?!1:Je},j.handleKeyDown=function(Ye){(Ye.keyCode===b.ARROW_UP||Ye.keyCode===b.ARROW_DOWN)&&Ye.preventDefault()},j.handleKeyUp=function(Ye){var Je=j.getValidValue(Ye),Ge=j.state.currentInputValue;Je!==Ge&&j.setState({currentInputValue:Je}),Ye.keyCode===b.ENTER?j.handleChange(Je):Ye.keyCode===b.ARROW_UP?j.handleChange(Je-1):Ye.keyCode===b.ARROW_DOWN&&j.handleChange(Je+1)},j.handleBlur=function(Ye){var Je=j.getValidValue(Ye);j.handleChange(Je)},j.changePageSize=function(Ye){var Je=j.state.current,Ge=B(Ye,j.state,j.props);Je=Je>Ge?Ge:Je,Ge===0&&(Je=j.state.current),typeof Ye=="number"&&("pageSize"in j.props||j.setState({pageSize:Ye}),"current"in j.props||j.setState({current:Je,currentInputValue:Je})),j.props.onShowSizeChange(Je,Ye),"onChange"in j.props&&j.props.onChange&&j.props.onChange(Je,Ye)},j.handleChange=function(Ye){var Je=j.props,Ge=Je.disabled,yt=Je.onChange,xt=j.state,dt=xt.pageSize,kt=xt.current,Tt=xt.currentInputValue;if(j.isValid(Ye)&&!Ge){var w=B(void 0,j.state,j.props),D=Ye;return Ye>w?D=w:Ye<1&&(D=1),"current"in j.props||j.setState({current:D}),D!==Tt&&j.setState({currentInputValue:D}),yt(D,dt),D}return kt},j.prev=function(){j.hasPrev()&&j.handleChange(j.state.current-1)},j.next=function(){j.hasNext()&&j.handleChange(j.state.current+1)},j.jumpPrev=function(){j.handleChange(j.getJumpPrevPage())},j.jumpNext=function(){j.handleChange(j.getJumpNextPage())},j.hasPrev=function(){return j.state.current>1},j.hasNext=function(){return j.state.current<B(void 0,j.state,j.props)},j.runIfEnter=function(Ye,Je){if(Ye.key==="Enter"||Ye.charCode===13){for(var Ge=arguments.length,yt=new Array(Ge>2?Ge-2:0),xt=2;xt<Ge;xt++)yt[xt-2]=arguments[xt];Je.apply(void 0,yt)}},j.runIfEnterPrev=function(Ye){j.runIfEnter(Ye,j.prev)},j.runIfEnterNext=function(Ye){j.runIfEnter(Ye,j.next)},j.runIfEnterJumpPrev=function(Ye){j.runIfEnter(Ye,j.jumpPrev)},j.runIfEnterJumpNext=function(Ye){j.runIfEnter(Ye,j.jumpNext)},j.handleGoTO=function(Ye){(Ye.keyCode===b.ENTER||Ye.type==="click")&&j.handleChange(j.state.currentInputValue)},j.renderPrev=function(Ye){var Je=j.props,Ge=Je.prevIcon,yt=Je.itemRender,xt=yt(Ye,"prev",j.getItemIcon(Ge,"prev page")),dt=!j.hasPrev();return(0,L.isValidElement)(xt)?(0,L.cloneElement)(xt,{disabled:dt}):xt},j.renderNext=function(Ye){var Je=j.props,Ge=Je.nextIcon,yt=Je.itemRender,xt=yt(Ye,"next",j.getItemIcon(Ge,"next page")),dt=!j.hasNext();return(0,L.isValidElement)(xt)?(0,L.cloneElement)(xt,{disabled:dt}):xt};var _e=W.onChange!==de,Ke="current"in W;Ke&&!_e&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var De=W.defaultCurrent;"current"in W&&(De=W.current);var Oe=W.defaultPageSize;return"pageSize"in W&&(Oe=W.pageSize),De=Math.min(De,B(Oe,void 0,W)),j.state={current:De,currentInputValue:De,pageSize:Oe},j}return(0,ue.Z)(ee,[{key:"componentDidUpdate",value:function(j,_e){var Ke=this.props.prefixCls;if(_e.current!==this.state.current&&this.paginationNode.current){var De=this.paginationNode.current.querySelector(".".concat(Ke,"-item-").concat(_e.current));if(De&&document.activeElement===De){var Oe;De==null||(Oe=De.blur)===null||Oe===void 0||Oe.call(De)}}}},{key:"getValidValue",value:function(j){var _e=j.target.value,Ke=B(void 0,this.state,this.props),De=this.state.currentInputValue,Oe;return _e===""?Oe=_e:Number.isNaN(Number(_e))?Oe=De:_e>=Ke?Oe=Ke:Oe=Number(_e),Oe}},{key:"getShowSizeChanger",value:function(){var j=this.props,_e=j.showSizeChanger,Ke=j.total,De=j.totalBoundaryShowSizeChanger;return typeof _e!="undefined"?_e:Ke>De}},{key:"render",value:function(){var j=this.props,_e=j.prefixCls,Ke=j.className,De=j.style,Oe=j.disabled,Ye=j.hideOnSinglePage,Je=j.total,Ge=j.locale,yt=j.showQuickJumper,xt=j.showLessItems,dt=j.showTitle,kt=j.showTotal,Tt=j.simple,w=j.itemRender,D=j.showPrevNextJumpers,bt=j.jumpPrevIcon,he=j.jumpNextIcon,Be=j.selectComponentClass,pn=j.selectPrefixCls,We=j.pageSizeOptions,et=this.state,Xe=et.current,Se=et.pageSize,Ie=et.currentInputValue;if(Ye===!0&&Je<=Se)return null;var ze=B(void 0,this.state,this.props),qe=[],be=null,en=null,$e=null,bn=null,Cn=null,jt=yt&&yt.goButton,Jt=xt?1:2,wt=Xe-1>0?Xe-1:0,Pt=Xe+1<ze?Xe+1:ze,Ve=(0,ne.Z)(this.props,{aria:!0,data:!0}),At=kt&&L.createElement("li",{className:"".concat(_e,"-total-text")},kt(Je,[Je===0?0:(Xe-1)*Se+1,Xe*Se>Je?Je:Xe*Se]));if(Tt){jt&&(typeof jt=="boolean"?Cn=L.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ge.jump_to_confirm):Cn=L.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},jt),Cn=L.createElement("li",{title:dt?"".concat(Ge.jump_to).concat(Xe,"/").concat(ze):null,className:"".concat(_e,"-simple-pager")},Cn));var St=this.renderPrev(wt);return L.createElement("ul",(0,y.Z)({className:u()(_e,"".concat(_e,"-simple"),(0,x.Z)({},"".concat(_e,"-disabled"),Oe),Ke),style:De,ref:this.paginationNode},Ve),At,St?L.createElement("li",{title:dt?Ge.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:u()("".concat(_e,"-prev"),(0,x.Z)({},"".concat(_e,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},St):null,L.createElement("li",{title:dt?"".concat(Xe,"/").concat(ze):null,className:"".concat(_e,"-simple-pager")},L.createElement("input",{type:"text",value:Ie,disabled:Oe,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),L.createElement("span",{className:"".concat(_e,"-slash")},"/"),ze),L.createElement("li",{title:dt?Ge.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:u()("".concat(_e,"-next"),(0,x.Z)({},"".concat(_e,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Pt)),Cn)}if(ze<=3+Jt*2){var Ue={locale:Ge,rootPrefixCls:_e,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:dt,itemRender:w};ze||qe.push(L.createElement(me,(0,y.Z)({},Ue,{key:"noPager",page:1,className:"".concat(_e,"-item-disabled")})));for(var Ce=1;Ce<=ze;Ce+=1){var mt=Xe===Ce;qe.push(L.createElement(me,(0,y.Z)({},Ue,{key:Ce,page:Ce,active:mt})))}}else{var pt=xt?Ge.prev_3:Ge.prev_5,Dt=xt?Ge.next_3:Ge.next_5,zt=w(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(bt,"prev page")),tn=w(this.getJumpNextPage(),"jump-next",this.getItemIcon(he,"next page"));D&&(be=zt?L.createElement("li",{title:dt?pt:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:u()("".concat(_e,"-jump-prev"),(0,x.Z)({},"".concat(_e,"-jump-prev-custom-icon"),!!bt))},zt):null,en=tn?L.createElement("li",{title:dt?Dt:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:u()("".concat(_e,"-jump-next"),(0,x.Z)({},"".concat(_e,"-jump-next-custom-icon"),!!he))},tn):null),bn=L.createElement(me,{locale:Ge,last:!0,rootPrefixCls:_e,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ze,page:ze,active:!1,showTitle:dt,itemRender:w}),$e=L.createElement(me,{locale:Ge,rootPrefixCls:_e,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:dt,itemRender:w});var Ht=Math.max(1,Xe-Jt),sn=Math.min(Xe+Jt,ze);Xe-1<=Jt&&(sn=1+Jt*2),ze-Xe<=Jt&&(Ht=ze-Jt*2);for(var dn=Ht;dn<=sn;dn+=1){var Mt=Xe===dn;qe.push(L.createElement(me,{locale:Ge,rootPrefixCls:_e,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:dn,page:dn,active:Mt,showTitle:dt,itemRender:w}))}Xe-1>=Jt*2&&Xe!==3&&(qe[0]=(0,L.cloneElement)(qe[0],{className:"".concat(_e,"-item-after-jump-prev")}),qe.unshift(be)),ze-Xe>=Jt*2&&Xe!==ze-2&&(qe[qe.length-1]=(0,L.cloneElement)(qe[qe.length-1],{className:"".concat(_e,"-item-before-jump-next")}),qe.push(en)),Ht!==1&&qe.unshift($e),sn!==ze&&qe.push(bn)}var Lt=!this.hasPrev()||!ze,un=!this.hasNext()||!ze,ln=this.renderPrev(wt),hn=this.renderNext(Pt);return L.createElement("ul",(0,y.Z)({className:u()(_e,Ke,(0,x.Z)({},"".concat(_e,"-disabled"),Oe)),style:De,ref:this.paginationNode},Ve),At,ln?L.createElement("li",{title:dt?Ge.prev_page:null,onClick:this.prev,tabIndex:Lt?null:0,onKeyPress:this.runIfEnterPrev,className:u()("".concat(_e,"-prev"),(0,x.Z)({},"".concat(_e,"-disabled"),Lt)),"aria-disabled":Lt},ln):null,qe,hn?L.createElement("li",{title:dt?Ge.next_page:null,onClick:this.next,tabIndex:un?null:0,onKeyPress:this.runIfEnterNext,className:u()("".concat(_e,"-next"),(0,x.Z)({},"".concat(_e,"-disabled"),un)),"aria-disabled":un},hn):null,L.createElement(z,{disabled:Oe,locale:Ge,rootPrefixCls:_e,selectComponentClass:Be,selectPrefixCls:pn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Xe,pageSize:Se,pageSizeOptions:We,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:jt}))}}],[{key:"getDerivedStateFromProps",value:function(j,_e){var Ke={};if("current"in j&&(Ke.current=j.current,j.current!==_e.current&&(Ke.currentInputValue=Ke.current)),"pageSize"in j&&j.pageSize!==_e.pageSize){var De=_e.current,Oe=B(j.pageSize,_e,j);De=De>Oe?Oe:De,"current"in j||(Ke.current=De,Ke.currentInputValue=De),Ke.pageSize=j.pageSize}return Ke}}]),ee}(L.Component);fe.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:de,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:de,locale:R.Z,style:{},itemRender:te,totalBoundaryShowSizeChanger:50};var Y=fe,ce=f(22075),ie=f(36355),g=f(19716),E=f(8628),G=f(9763),J=f(57809);const Le=_=>L.createElement(J.default,Object.assign({},_,{showSearch:!0,size:"small"})),ke=_=>L.createElement(J.default,Object.assign({},_,{showSearch:!0,size:"middle"}));Le.Option=J.default.Option,ke.Option=J.default.Option;var Fe=f(9937),Ze=f(17313),lt=f(83116),ut=f(37613);const it=_=>{const{componentCls:T}=_;return{[`${T}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${T}-item-link`]:{color:_.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${T}-item-link`]:{color:_.colorTextDisabled,cursor:"not-allowed"}}},[`&${T}-disabled`]:{cursor:"not-allowed",[`${T}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:_.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:_.colorBorder,backgroundColor:_.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:_.itemActiveBgDisabled},a:{color:_.itemActiveColorDisabled}}},[`${T}-item-link`]:{color:_.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${T}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${T}-simple-pager`]:{color:_.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"}}}}}},Ut=_=>{const{componentCls:T}=_;return{[`&${T}-mini ${T}-total-text, &${T}-mini ${T}-simple-pager`]:{height:_.itemSizeSM,lineHeight:`${_.itemSizeSM}px`},[`&${T}-mini ${T}-item`]:{minWidth:_.itemSizeSM,height:_.itemSizeSM,margin:0,lineHeight:`${_.itemSizeSM-2}px`},[`&${T}-mini:not(${T}-disabled) ${T}-item:not(${T}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:_.colorBgTextHover},"&:active":{backgroundColor:_.colorBgTextActive}},[`&${T}-mini ${T}-prev, &${T}-mini ${T}-next`]:{minWidth:_.itemSizeSM,height:_.itemSizeSM,margin:0,lineHeight:`${_.itemSizeSM}px`},[`&${T}-mini:not(${T}-disabled)`]:{[`${T}-prev, ${T}-next`]:{[`&:hover ${T}-item-link`]:{backgroundColor:_.colorBgTextHover},[`&:active ${T}-item-link`]:{backgroundColor:_.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:_.itemSizeSM,lineHeight:`${_.itemSizeSM}px`}},[`&${T}-mini ${T}-jump-prev, &${T}-mini ${T}-jump-next`]:{height:_.itemSizeSM,marginInlineEnd:0,lineHeight:`${_.itemSizeSM}px`},[`&${T}-mini ${T}-options`]:{marginInlineStart:_.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:_.miniOptionsSizeChangerTop},"&-quick-jumper":{height:_.itemSizeSM,lineHeight:`${_.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Fe.x0)(_)),{width:_.paginationMiniQuickJumperInputWidth,height:_.controlHeightSM})}}}},qt=_=>{const{componentCls:T}=_;return{[`
|
|
|
&${T}-simple ${T}-prev,
|
|
|
&${T}-simple ${T}-next
|
|
|
`]:{height:_.itemSizeSM,lineHeight:`${_.itemSizeSM}px`,verticalAlign:"top",[`${T}-item-link`]:{height:_.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:_.colorBgTextHover},"&:active":{backgroundColor:_.colorBgTextActive},"&::after":{height:_.itemSizeSM,lineHeight:`${_.itemSizeSM}px`}}},[`&${T}-simple ${T}-simple-pager`]:{display:"inline-block",height:_.itemSizeSM,marginInlineEnd:_.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:_.marginXS,padding:`0 ${_.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:_.itemInputBg,border:`${_.lineWidth}px ${_.lineType} ${_.colorBorder}`,borderRadius:_.borderRadius,outline:"none",transition:`border-color ${_.motionDurationMid}`,color:"inherit","&:hover":{borderColor:_.colorPrimary},"&:focus":{borderColor:_.colorPrimaryHover,boxShadow:`${_.inputOutlineOffset}px 0 ${_.controlOutlineWidth}px ${_.controlOutline}`},"&[disabled]":{color:_.colorTextDisabled,backgroundColor:_.colorBgContainerDisabled,borderColor:_.colorBorder,cursor:"not-allowed"}}}}},an=_=>{const{componentCls:T}=_;return{[`${T}-jump-prev, ${T}-jump-next`]:{outline:0,[`${T}-item-container`]:{position:"relative",[`${T}-item-link-icon`]:{color:_.colorPrimary,fontSize:_.fontSizeSM,opacity:0,transition:`all ${_.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:_.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:_.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:_.paginationEllipsisTextIndent,opacity:1,transition:`all ${_.motionDurationMid}`}},"&:hover":{[`${T}-item-link-icon`]:{opacity:1},[`${T}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${T}-prev,
|
|
|
${T}-jump-prev,
|
|
|
${T}-jump-next
|
|
|
`]:{marginInlineEnd:_.marginXS},[`
|
|
|
${T}-prev,
|
|
|
${T}-next,
|
|
|
${T}-jump-prev,
|
|
|
${T}-jump-next
|
|
|
`]:{display:"inline-block",minWidth:_.itemSize,height:_.itemSize,color:_.colorText,fontFamily:_.fontFamily,lineHeight:`${_.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:_.borderRadius,cursor:"pointer",transition:`all ${_.motionDurationMid}`},[`${T}-prev, ${T}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:_.colorText,cursor:"pointer",userSelect:"none"},[`${T}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:_.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${_.lineWidth}px ${_.lineType} transparent`,borderRadius:_.borderRadius,outline:"none",transition:`all ${_.motionDurationMid}`},[`&:hover ${T}-item-link`]:{backgroundColor:_.colorBgTextHover},[`&:active ${T}-item-link`]:{backgroundColor:_.colorBgTextActive},[`&${T}-disabled:hover`]:{[`${T}-item-link`]:{backgroundColor:"transparent"}}},[`${T}-slash`]:{marginInlineEnd:_.paginationSlashMarginInlineEnd,marginInlineStart:_.paginationSlashMarginInlineStart},[`${T}-options`]:{display:"inline-block",marginInlineStart:_.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:_.controlHeight,marginInlineStart:_.marginXS,lineHeight:`${_.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Fe.ik)(_)),{width:_.controlHeightLG*1.25,height:_.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:_.marginXS,marginInlineEnd:_.marginXS})}}}},Ot=_=>{const{componentCls:T}=_;return{[`${T}-item`]:{display:"inline-block",minWidth:_.itemSize,height:_.itemSize,marginInlineEnd:_.marginXS,fontFamily:_.fontFamily,lineHeight:`${_.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${_.lineWidth}px ${_.lineType} transparent`,borderRadius:_.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${_.paginationItemPaddingInline}px`,color:_.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${T}-item-active)`]:{"&:hover":{transition:`all ${_.motionDurationMid}`,backgroundColor:_.colorBgTextHover},"&:active":{backgroundColor:_.colorBgTextActive}},"&-active":{fontWeight:_.fontWeightStrong,backgroundColor:_.itemActiveBg,borderColor:_.colorPrimary,a:{color:_.colorPrimary},"&:hover":{borderColor:_.colorPrimaryHover},"&:hover a":{color:_.colorPrimaryHover}}}}},ot=_=>{const{componentCls:T}=_;return{[T]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ze.Wf)(_)),{"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:_.itemSize,marginInlineEnd:_.marginXS,lineHeight:`${_.itemSize-2}px`,verticalAlign:"middle"}}),Ot(_)),an(_)),qt(_)),Ut(_)),it(_)),{[`@media only screen and (max-width: ${_.screenLG}px)`]:{[`${T}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${_.screenSM}px)`]:{[`${T}-options`]:{display:"none"}}}),[`&${_.componentCls}-rtl`]:{direction:"rtl"}}},_t=_=>{const{componentCls:T}=_;return{[`${T}${T}-disabled:not(${T}-mini)`]:{"&, &:hover":{[`${T}-item-link`]:{borderColor:_.colorBorder}},"&:focus-visible":{[`${T}-item-link`]:{borderColor:_.colorBorder}},[`${T}-item, ${T}-item-link`]:{backgroundColor:_.colorBgContainerDisabled,borderColor:_.colorBorder,[`&:hover:not(${T}-item-active)`]:{backgroundColor:_.colorBgContainerDisabled,borderColor:_.colorBorder,a:{color:_.colorTextDisabled}},[`&${T}-item-active`]:{backgroundColor:_.itemActiveBgDisabled}},[`${T}-prev, ${T}-next`]:{"&:hover button":{backgroundColor:_.colorBgContainerDisabled,borderColor:_.colorBorder,color:_.colorTextDisabled},[`${T}-item-link`]:{backgroundColor:_.colorBgContainerDisabled,borderColor:_.colorBorder}}},[`${T}:not(${T}-mini)`]:{[`${T}-prev, ${T}-next`]:{"&:hover button":{borderColor:_.colorPrimaryHover,backgroundColor:_.itemBg},[`${T}-item-link`]:{backgroundColor:_.itemLinkBg,borderColor:_.colorBorder},[`&:hover ${T}-item-link`]:{borderColor:_.colorPrimary,backgroundColor:_.itemBg,color:_.colorPrimary},[`&${T}-disabled`]:{[`${T}-item-link`]:{borderColor:_.colorBorder,color:_.colorTextDisabled}}},[`${T}-item`]:{backgroundColor:_.itemBg,border:`${_.lineWidth}px ${_.lineType} ${_.colorBorder}`,[`&:hover:not(${T}-item-active)`]:{borderColor:_.colorPrimary,backgroundColor:_.itemBg,a:{color:_.colorPrimary}},"&-active":{borderColor:_.colorPrimary}}}}},se=_=>{const{componentCls:T}=_;return{[`${T}:not(${T}-disabled)`]:{[`${T}-item`]:Object.assign({},(0,Ze.Qy)(_)),[`${T}-jump-prev, ${T}-jump-next`]:{"&:focus-visible":Object.assign({[`${T}-item-link-icon`]:{opacity:1},[`${T}-item-ellipsis`]:{opacity:0}},(0,Ze.oN)(_))},[`${T}-prev, ${T}-next`]:{[`&:focus-visible ${T}-item-link`]:Object.assign({},(0,Ze.oN)(_))}}}};var ye=(0,lt.Z)("Pagination",_=>{const T=(0,ut.TS)(_,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:_.marginXXS/2,paginationMiniQuickJumperInputWidth:_.controlHeightLG*1.1,paginationItemPaddingInline:_.marginXXS*1.5,paginationEllipsisLetterSpacing:_.marginXXS/2,paginationSlashMarginInlineStart:_.marginXXS,paginationSlashMarginInlineEnd:_.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Fe.e5)(_),(0,Fe.TM)(_));return[ot(T),se(T),_.wireframe&&_t(T)]},_=>({itemBg:_.colorBgContainer,itemSize:_.controlHeight,itemSizeSM:_.controlHeightSM,itemActiveBg:_.colorBgContainer,itemLinkBg:_.colorBgContainer,itemActiveColorDisabled:_.colorTextDisabled,itemActiveBgDisabled:_.controlItemBgActiveDisabled,itemInputBg:_.colorBgContainer,miniOptionsSizeChangerTop:0})),H=function(_,T){var ee={};for(var W in _)Object.prototype.hasOwnProperty.call(_,W)&&T.indexOf(W)<0&&(ee[W]=_[W]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,W=Object.getOwnPropertySymbols(_);j<W.length;j++)T.indexOf(W[j])<0&&Object.prototype.propertyIsEnumerable.call(_,W[j])&&(ee[W[j]]=_[W[j]]);return ee},Ae=_=>{const{prefixCls:T,selectPrefixCls:ee,className:W,rootClassName:j,style:_e,size:Ke,locale:De,selectComponentClass:Oe,responsive:Ye,showSizeChanger:Je}=_,Ge=H(_,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:yt}=(0,E.Z)(Ye),{getPrefixCls:xt,direction:dt,pagination:kt={}}=L.useContext(ie.E_),Tt=xt("pagination",T),[w,D]=ye(Tt),bt=Je!=null?Je:kt.showSizeChanger,he=L.useMemo(()=>{const ze=L.createElement("span",{className:`${Tt}-item-ellipsis`},"\u2022\u2022\u2022"),qe=L.createElement("button",{className:`${Tt}-item-link`,type:"button",tabIndex:-1},dt==="rtl"?L.createElement(K.Z,null):L.createElement(I.Z,null)),be=L.createElement("button",{className:`${Tt}-item-link`,type:"button",tabIndex:-1},dt==="rtl"?L.createElement(I.Z,null):L.createElement(K.Z,null)),en=L.createElement("a",{className:`${Tt}-item-link`},L.createElement("div",{className:`${Tt}-item-container`},dt==="rtl"?L.createElement(a.Z,{className:`${Tt}-item-link-icon`}):L.createElement(xe,{className:`${Tt}-item-link-icon`}),ze)),$e=L.createElement("a",{className:`${Tt}-item-link`},L.createElement("div",{className:`${Tt}-item-container`},dt==="rtl"?L.createElement(xe,{className:`${Tt}-item-link-icon`}):L.createElement(a.Z,{className:`${Tt}-item-link-icon`}),ze));return{prevIcon:qe,nextIcon:be,jumpPrevIcon:en,jumpNextIcon:$e}},[dt,Tt]),[Be]=(0,G.Z)("Pagination",ce.Z),pn=Object.assign(Object.assign({},Be),De),We=(0,g.Z)(Ke),et=We==="small"||!!(yt&&!We&&Ye),Xe=xt("select",ee),Se=u()({[`${Tt}-mini`]:et,[`${Tt}-rtl`]:dt==="rtl"},kt==null?void 0:kt.className,W,j,D),Ie=Object.assign(Object.assign({},kt==null?void 0:kt.style),_e);return w(L.createElement(Y,Object.assign({},he,Ge,{style:Ie,prefixCls:Tt,selectPrefixCls:Xe,className:Se,selectComponentClass:Oe||(et?Le:ke),locale:pn,showSizeChanger:bt})))},k=Ae},5112:function(nn,nt,f){"use strict";f.d(nt,{ZP:function(){return E}});var y=f(92310),L=f.n(y),X=f(18929),Ee=f(26112),$=f(59301),q=f(36355),C=f(19716);const xe=$.createContext(null),a=xe.Provider;var I=xe;const K=$.createContext(null),S=K.Provider;var u=f(5630),x=f(8654),m=f(1684),P=f(32441),ue=f(17313),U=f(83116),V=f(37613);const ne=G=>{const{componentCls:J,antCls:Le}=G,ke=`${J}-group`;return{[ke]:Object.assign(Object.assign({},(0,ue.Wf)(G)),{display:"inline-block",fontSize:0,[`&${ke}-rtl`]:{direction:"rtl"},[`${Le}-badge ${Le}-badge-count`]:{zIndex:1},[`> ${Le}-badge:not(:first-child) > ${Le}-button-wrapper`]:{borderInlineStart:"none"}})}},Q=G=>{const{componentCls:J,wrapperMarginInlineEnd:Le,colorPrimary:ke,radioSize:Fe,motionDurationSlow:Ze,motionDurationMid:lt,motionEaseInOutCirc:ut,colorBgContainer:it,colorBorder:Ut,lineWidth:qt,dotSize:an,colorBgContainerDisabled:Ot,colorTextDisabled:ot,paddingXS:_t,dotColorDisabled:se,lineType:ye,radioDotDisabledSize:H,wireframe:O,colorWhite:Ae}=G,k=`${J}-inner`;return{[`${J}-wrapper`]:Object.assign(Object.assign({},(0,ue.Wf)(G)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:Le,cursor:"pointer",[`&${J}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:G.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 ${ye} ${ke}`,borderRadius:"50%",visibility:"hidden",content:'""'},[J]:Object.assign(Object.assign({},(0,ue.Wf)(G)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${J}-wrapper:hover &,
|
|
|
&:hover ${k}`]:{borderColor:ke},[`${J}-input:focus-visible + ${k}`]:Object.assign({},(0,ue.oN)(G)),[`${J}:hover::after, ${J}-wrapper:hover &::after`]:{visibility:"visible"},[`${J}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:Fe,height:Fe,marginBlockStart:Fe/-2,marginInlineStart:Fe/-2,backgroundColor:O?ke:Ae,borderBlockStart:0,borderInlineStart:0,borderRadius:Fe,transform:"scale(0)",opacity:0,transition:`all ${Ze} ${ut}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:Fe,height:Fe,backgroundColor:it,borderColor:Ut,borderStyle:"solid",borderWidth:qt,borderRadius:"50%",transition:`all ${lt}`},[`${J}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${J}-checked`]:{[k]:{borderColor:ke,backgroundColor:O?it:ke,"&::after":{transform:`scale(${an/Fe})`,opacity:1,transition:`all ${Ze} ${ut}`}}},[`${J}-disabled`]:{cursor:"not-allowed",[k]:{backgroundColor:Ot,borderColor:Ut,cursor:"not-allowed","&::after":{backgroundColor:se}},[`${J}-input`]:{cursor:"not-allowed"},[`${J}-disabled + span`]:{color:ot,cursor:"not-allowed"},[`&${J}-checked`]:{[k]:{"&::after":{transform:`scale(${H/Fe})`}}}},[`span${J} + *`]:{paddingInlineStart:_t,paddingInlineEnd:_t}})}},b=G=>{const{buttonColor:J,controlHeight:Le,componentCls:ke,lineWidth:Fe,lineType:Ze,colorBorder:lt,motionDurationSlow:ut,motionDurationMid:it,buttonPaddingInline:Ut,fontSize:qt,buttonBg:an,fontSizeLG:Ot,controlHeightLG:ot,controlHeightSM:_t,paddingXS:se,borderRadius:ye,borderRadiusSM:H,borderRadiusLG:O,buttonCheckedBg:Ae,buttonSolidCheckedColor:k,colorTextDisabled:_,colorBgContainerDisabled:T,buttonCheckedBgDisabled:ee,buttonCheckedColorDisabled:W,colorPrimary:j,colorPrimaryHover:_e,colorPrimaryActive:Ke,buttonSolidCheckedBg:De,buttonSolidCheckedHoverBg:Oe,buttonSolidCheckedActiveBg:Ye}=G;return{[`${ke}-button-wrapper`]:{position:"relative",display:"inline-block",height:Le,margin:0,paddingInline:Ut,paddingBlock:0,color:J,fontSize:qt,lineHeight:`${Le-Fe*2}px`,background:an,border:`${Fe}px ${Ze} ${lt}`,borderBlockStartWidth:Fe+.02,borderInlineStartWidth:0,borderInlineEndWidth:Fe,cursor:"pointer",transition:[`color ${it}`,`background ${it}`,`box-shadow ${it}`].join(","),a:{color:J},[`> ${ke}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-Fe,insetInlineStart:-Fe,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:Fe,paddingInline:0,backgroundColor:lt,transition:`background-color ${ut}`,content:'""'}},"&:first-child":{borderInlineStart:`${Fe}px ${Ze} ${lt}`,borderStartStartRadius:ye,borderEndStartRadius:ye},"&:last-child":{borderStartEndRadius:ye,borderEndEndRadius:ye},"&:first-child:last-child":{borderRadius:ye},[`${ke}-group-large &`]:{height:ot,fontSize:Ot,lineHeight:`${ot-Fe*2}px`,"&:first-child":{borderStartStartRadius:O,borderEndStartRadius:O},"&:last-child":{borderStartEndRadius:O,borderEndEndRadius:O}},[`${ke}-group-small &`]:{height:_t,paddingInline:se-Fe,paddingBlock:0,lineHeight:`${_t-Fe*2}px`,"&:first-child":{borderStartStartRadius:H,borderEndStartRadius:H},"&:last-child":{borderStartEndRadius:H,borderEndEndRadius:H}},"&:hover":{position:"relative",color:j},"&:has(:focus-visible)":Object.assign({},(0,ue.oN)(G)),[`${ke}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${ke}-button-wrapper-disabled)`]:{zIndex:1,color:j,background:Ae,borderColor:j,"&::before":{backgroundColor:j},"&:first-child":{borderColor:j},"&:hover":{color:_e,borderColor:_e,"&::before":{backgroundColor:_e}},"&:active":{color:Ke,borderColor:Ke,"&::before":{backgroundColor:Ke}}},[`${ke}-group-solid &-checked:not(${ke}-button-wrapper-disabled)`]:{color:k,background:De,borderColor:De,"&:hover":{color:k,background:Oe,borderColor:Oe},"&:active":{color:k,background:Ye,borderColor:Ye}},"&-disabled":{color:_,backgroundColor:T,borderColor:lt,cursor:"not-allowed","&:first-child, &:hover":{color:_,backgroundColor:T,borderColor:lt}},[`&-disabled${ke}-button-wrapper-checked`]:{color:W,backgroundColor:ee,borderColor:lt,boxShadow:"none"}}}},R=G=>G-4*2;var Z=(0,U.Z)("Radio",G=>{const{controlOutline:J,controlOutlineWidth:Le,radioSize:ke}=G,Fe=`0 0 0 ${Le}px ${J}`,Ze=Fe,lt=R(ke),ut=(0,V.TS)(G,{radioDotDisabledSize:lt,radioFocusShadow:Fe,radioButtonFocusShadow:Ze});return[ne(ut),Q(ut),b(ut)]},G=>{const{wireframe:J,padding:Le,marginXS:ke,lineWidth:Fe,fontSizeLG:Ze,colorText:lt,colorBgContainer:ut,colorTextDisabled:it,controlItemBgActiveDisabled:Ut,colorTextLightSolid:qt,colorPrimary:an,colorPrimaryHover:Ot,colorPrimaryActive:ot}=G,_t=4,se=Ze,ye=J?R(se):se-(_t+Fe)*2;return{radioSize:se,dotSize:ye,dotColorDisabled:it,buttonSolidCheckedColor:qt,buttonSolidCheckedBg:an,buttonSolidCheckedHoverBg:Ot,buttonSolidCheckedActiveBg:ot,buttonBg:ut,buttonCheckedBg:ut,buttonColor:lt,buttonCheckedBgDisabled:Ut,buttonCheckedColorDisabled:it,buttonPaddingInline:Le-Fe,wrapperMarginInlineEnd:ke}}),z=f(14088),pe=f(4572),me=function(G,J){var Le={};for(var ke in G)Object.prototype.hasOwnProperty.call(G,ke)&&J.indexOf(ke)<0&&(Le[ke]=G[ke]);if(G!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,ke=Object.getOwnPropertySymbols(G);Fe<ke.length;Fe++)J.indexOf(ke[Fe])<0&&Object.prototype.propertyIsEnumerable.call(G,ke[Fe])&&(Le[ke[Fe]]=G[ke[Fe]]);return Le};const de=(G,J)=>{var Le,ke;const Fe=$.useContext(I),Ze=$.useContext(K),{getPrefixCls:lt,direction:ut,radio:it}=$.useContext(q.E_),Ut=$.useRef(null),qt=(0,x.sQ)(J,Ut),{isFormItemInput:an}=$.useContext(P.aM),Ot=Ke=>{var De,Oe;(De=G.onChange)===null||De===void 0||De.call(G,Ke),(Oe=Fe==null?void 0:Fe.onChange)===null||Oe===void 0||Oe.call(Fe,Ke)},{prefixCls:ot,className:_t,rootClassName:se,children:ye,style:H}=G,O=me(G,["prefixCls","className","rootClassName","children","style"]),Ae=lt("radio",ot),k=((Fe==null?void 0:Fe.optionType)||Ze)==="button",_=k?`${Ae}-button`:Ae,[T,ee]=Z(Ae),W=Object.assign({},O),j=$.useContext(m.Z);Fe&&(W.name=Fe.name,W.onChange=Ot,W.checked=G.value===Fe.value,W.disabled=(Le=W.disabled)!==null&&Le!==void 0?Le:Fe.disabled),W.disabled=(ke=W.disabled)!==null&&ke!==void 0?ke:j;const _e=L()(`${_}-wrapper`,{[`${_}-wrapper-checked`]:W.checked,[`${_}-wrapper-disabled`]:W.disabled,[`${_}-wrapper-rtl`]:ut==="rtl",[`${_}-wrapper-in-form-item`]:an},it==null?void 0:it.className,_t,se,ee);return T($.createElement(z.Z,{component:"Radio",disabled:W.disabled},$.createElement("label",{className:_e,style:Object.assign(Object.assign({},it==null?void 0:it.style),H),onMouseEnter:G.onMouseEnter,onMouseLeave:G.onMouseLeave},$.createElement(u.Z,Object.assign({},W,{className:L()(W.className,!k&&pe.A),type:"radio",prefixCls:_,ref:qt})),ye!==void 0?$.createElement("span",null,ye):null)))};var te=$.forwardRef(de);const B=$.forwardRef((G,J)=>{const{getPrefixCls:Le,direction:ke}=$.useContext(q.E_),[Fe,Ze]=(0,X.Z)(G.defaultValue,{value:G.value}),lt=De=>{const Oe=Fe,Ye=De.target.value;"value"in G||Ze(Ye);const{onChange:Je}=G;Je&&Ye!==Oe&&Je(De)},{prefixCls:ut,className:it,rootClassName:Ut,options:qt,buttonStyle:an="outline",disabled:Ot,children:ot,size:_t,style:se,id:ye,onMouseEnter:H,onMouseLeave:O,onFocus:Ae,onBlur:k}=G,_=Le("radio",ut),T=`${_}-group`,[ee,W]=Z(_);let j=ot;qt&&qt.length>0&&(j=qt.map(De=>typeof De=="string"||typeof De=="number"?$.createElement(te,{key:De.toString(),prefixCls:_,disabled:Ot,value:De,checked:Fe===De},De):$.createElement(te,{key:`radio-group-value-options-${De.value}`,prefixCls:_,disabled:De.disabled||Ot,value:De.value,checked:Fe===De.value,title:De.title,style:De.style},De.label)));const _e=(0,C.Z)(_t),Ke=L()(T,`${T}-${an}`,{[`${T}-${_e}`]:_e,[`${T}-rtl`]:ke==="rtl"},it,Ut,W);return ee($.createElement("div",Object.assign({},(0,Ee.Z)(G,{aria:!0,data:!0}),{className:Ke,style:se,onMouseEnter:H,onMouseLeave:O,onFocus:Ae,onBlur:k,id:ye,ref:J}),$.createElement(a,{value:{onChange:lt,value:Fe,disabled:G.disabled,name:G.name,optionType:G.optionType}},j)))});var fe=$.memo(B),Y=function(G,J){var Le={};for(var ke in G)Object.prototype.hasOwnProperty.call(G,ke)&&J.indexOf(ke)<0&&(Le[ke]=G[ke]);if(G!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,ke=Object.getOwnPropertySymbols(G);Fe<ke.length;Fe++)J.indexOf(ke[Fe])<0&&Object.prototype.propertyIsEnumerable.call(G,ke[Fe])&&(Le[ke[Fe]]=G[ke[Fe]]);return Le};const ce=(G,J)=>{const{getPrefixCls:Le}=$.useContext(q.E_),{prefixCls:ke}=G,Fe=Y(G,["prefixCls"]),Ze=Le("radio",ke);return $.createElement(S,{value:"button"},$.createElement(te,Object.assign({prefixCls:Ze},Fe,{type:"radio",ref:J})))};var ie=$.forwardRef(ce);const g=te;g.Button=ie,g.Group=fe,g.__ANT_RADIO=!0;var E=g},13570:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return G}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(Le,ke){return L.createElement($.Z,(0,y.Z)({},Le,{ref:ke,icon:Ee}))},C=L.forwardRef(q),xe=C,a=f(92310),I=f.n(a),K=f(90493),S=f(72071),u=f(6620),x=f(18929),m=f(10228),P=f(26112);function ue(J,Le){var ke=J.disabled,Fe=J.prefixCls,Ze=J.character,lt=J.characterRender,ut=J.index,it=J.count,Ut=J.value,qt=J.allowHalf,an=J.focused,Ot=J.onHover,ot=J.onClick,_t=function(T){Ot(T,ut)},se=function(T){ot(T,ut)},ye=function(T){T.keyCode===m.Z.ENTER&&ot(T,ut)},H=ut+1,O=new Set([Fe]);Ut===0&&ut===0&&an?O.add("".concat(Fe,"-focused")):qt&&Ut+.5>=H&&Ut<H?(O.add("".concat(Fe,"-half")),O.add("".concat(Fe,"-active")),an&&O.add("".concat(Fe,"-focused"))):(H<=Ut?O.add("".concat(Fe,"-full")):O.add("".concat(Fe,"-zero")),H===Ut&&an&&O.add("".concat(Fe,"-focused")));var Ae=typeof Ze=="function"?Ze(J):Ze,k=L.createElement("li",{className:I()(Array.from(O)),ref:Le},L.createElement("div",{onClick:ke?null:se,onKeyDown:ke?null:ye,onMouseMove:ke?null:_t,role:"radio","aria-checked":Ut>ut?"true":"false","aria-posinset":ut+1,"aria-setsize":it,tabIndex:ke?-1:0},L.createElement("div",{className:"".concat(Fe,"-first")},Ae),L.createElement("div",{className:"".concat(Fe,"-second")},Ae)));return lt&&(k=lt(k,J)),k}var U=L.forwardRef(ue);function V(){var J=L.useRef({});function Le(Fe){return J.current[Fe]}function ke(Fe){return function(Ze){J.current[Fe]=Ze}}return[Le,ke]}function ne(J){var Le=J.pageXOffset,ke="scrollLeft";if(typeof Le!="number"){var Fe=J.document;Le=Fe.documentElement[ke],typeof Le!="number"&&(Le=Fe.body[ke])}return Le}function Q(J){var Le,ke,Fe=J.ownerDocument,Ze=Fe.body,lt=Fe&&Fe.documentElement,ut=J.getBoundingClientRect();return Le=ut.left,ke=ut.top,Le-=lt.clientLeft||Ze.clientLeft||0,ke-=lt.clientTop||Ze.clientTop||0,{left:Le,top:ke}}function b(J){var Le=Q(J),ke=J.ownerDocument,Fe=ke.defaultView||ke.parentWindow;return Le.left+=ne(Fe),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 ke,Fe=J.prefixCls,Ze=Fe===void 0?"rc-rate":Fe,lt=J.className,ut=J.defaultValue,it=J.value,Ut=J.count,qt=Ut===void 0?5:Ut,an=J.allowHalf,Ot=an===void 0?!1:an,ot=J.allowClear,_t=ot===void 0?!0:ot,se=J.character,ye=se===void 0?"\u2605":se,H=J.characterRender,O=J.disabled,Ae=J.direction,k=Ae===void 0?"ltr":Ae,_=J.tabIndex,T=_===void 0?0:_,ee=J.autoFocus,W=J.onHoverChange,j=J.onChange,_e=J.onFocus,Ke=J.onBlur,De=J.onKeyDown,Oe=J.onMouseLeave,Ye=(0,u.Z)(J,R),Je=V(),Ge=(0,S.Z)(Je,2),yt=Ge[0],xt=Ge[1],dt=L.useRef(null),kt=function(){if(!O){var Ce;(Ce=dt.current)===null||Ce===void 0||Ce.focus()}};L.useImperativeHandle(Le,function(){return{focus:kt,blur:function(){if(!O){var Ce;(Ce=dt.current)===null||Ce===void 0||Ce.blur()}}}});var Tt=(0,x.Z)(ut||0,{value:it}),w=(0,S.Z)(Tt,2),D=w[0],bt=w[1],he=(0,x.Z)(null),Be=(0,S.Z)(he,2),pn=Be[0],We=Be[1],et=function(Ce,mt){var pt=k==="rtl",Dt=Ce+1;if(Ot){var zt=yt(Ce),tn=b(zt),Ht=zt.clientWidth;(pt&&mt-tn>Ht/2||!pt&&mt-tn<Ht/2)&&(Dt-=.5)}return Dt},Xe=function(Ce){bt(Ce),j==null||j(Ce)},Se=L.useState(!1),Ie=(0,S.Z)(Se,2),ze=Ie[0],qe=Ie[1],be=function(){qe(!0),_e==null||_e()},en=function(){qe(!1),Ke==null||Ke()},$e=L.useState(null),bn=(0,S.Z)($e,2),Cn=bn[0],jt=bn[1],Jt=function(Ce,mt){var pt=et(mt,Ce.pageX);pt!==pn&&(jt(pt),We(null)),W==null||W(pt)},wt=function(Ce){O||(jt(null),We(null),W==null||W(void 0)),Ce&&(Oe==null||Oe(Ce))},Pt=function(Ce,mt){var pt=et(mt,Ce.pageX),Dt=!1;_t&&(Dt=pt===D),wt(),Xe(Dt?0:pt),We(Dt?pt:null)},Ve=function(Ce){var mt=Ce.keyCode,pt=k==="rtl",Dt=D;mt===m.Z.RIGHT&&Dt<qt&&!pt?(Ot?Dt+=.5:Dt+=1,Xe(Dt),Ce.preventDefault()):mt===m.Z.LEFT&&Dt>0&&!pt||mt===m.Z.RIGHT&&Dt>0&&pt?(Ot?Dt-=.5:Dt-=1,Xe(Dt),Ce.preventDefault()):mt===m.Z.LEFT&&Dt<qt&&pt&&(Ot?Dt+=.5:Dt+=1,Xe(Dt),Ce.preventDefault()),De==null||De(Ce)};L.useEffect(function(){ee&&!O&&kt()},[]);var At=new Array(qt).fill(0).map(function(Ue,Ce){return L.createElement(U,{ref:xt(Ce),index:Ce,count:qt,disabled:O,prefixCls:"".concat(Ze,"-star"),allowHalf:Ot,value:Cn===null?D:Cn,onClick:Pt,onHover:Jt,key:Ue||Ce,character:ye,characterRender:H,focused:ze})}),St=I()(Ze,lt,(ke={},(0,K.Z)(ke,"".concat(Ze,"-disabled"),O),(0,K.Z)(ke,"".concat(Ze,"-rtl"),k==="rtl"),ke));return L.createElement("ul",(0,y.Z)({className:St,onMouseLeave:wt,tabIndex:O?-1:T,onFocus:O?null:be,onBlur:O?null:en,onKeyDown:O?null:Ve,ref:dt,role:"radiogroup"},(0,P.Z)(Ye,{aria:!0,data:!0,attr:!0})),At)}var z=L.forwardRef(Z),pe=z,me=f(36355),de=f(6848),ae=f(17313),te=f(83116),B=f(37613);const fe=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"}}}},Y=J=>({[`&-rtl${J.componentCls}`]:{direction:"rtl"}}),ce=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)"}}}),fe(J)),{[`+ ${Le}-text`]:{display:"inline-block",marginInlineStart:J.marginXS,fontSize:J.fontSize}}),Y(J))}};var ie=(0,te.Z)("Rate",J=>{const Le=(0,B.TS)(J,{});return[ce(Le)]},J=>({starColor:J.yellow6,starSize:J.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:J.colorFillContent})),g=function(J,Le){var ke={};for(var Fe in J)Object.prototype.hasOwnProperty.call(J,Fe)&&Le.indexOf(Fe)<0&&(ke[Fe]=J[Fe]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Fe=Object.getOwnPropertySymbols(J);Ze<Fe.length;Ze++)Le.indexOf(Fe[Ze])<0&&Object.prototype.propertyIsEnumerable.call(J,Fe[Ze])&&(ke[Fe[Ze]]=J[Fe[Ze]]);return ke},G=L.forwardRef((J,Le)=>{const{prefixCls:ke,className:Fe,rootClassName:Ze,style:lt,tooltips:ut,character:it=L.createElement(xe,null)}=J,Ut=g(J,["prefixCls","className","rootClassName","style","tooltips","character"]),qt=(O,Ae)=>{let{index:k}=Ae;return ut?L.createElement(de.Z,{title:ut[k]},O):O},{getPrefixCls:an,direction:Ot,rate:ot}=L.useContext(me.E_),_t=an("rate",ke),[se,ye]=ie(_t),H=Object.assign(Object.assign({},ot==null?void 0:ot.style),lt);return se(L.createElement(pe,Object.assign({ref:Le,character:it,characterRender:qt},Ut,{className:I()(Fe,Ze,ye,ot==null?void 0:ot.className),style:H,prefixCls:_t,direction:Ot})))})},57809:function(nn,nt,f){"use strict";var y=f(92310),L=f.n(y),X=f(77861),Ee=f(2738),$=f(59301),q=f(53487),C=f(62892),xe=f(19080),a=f(36355),I=f(1684),K=f(93891),S=f(19716),u=f(32441),x=f(33234),m=f(14154),P=f(58582),ue=f(84443),U=f(66339),V=function(Z,z){var pe={};for(var me in Z)Object.prototype.hasOwnProperty.call(Z,me)&&z.indexOf(me)<0&&(pe[me]=Z[me]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,me=Object.getOwnPropertySymbols(Z);de<me.length;de++)z.indexOf(me[de])<0&&Object.prototype.propertyIsEnumerable.call(Z,me[de])&&(pe[me[de]]=Z[me[de]]);return pe};const ne="SECRET_COMBOBOX_MODE_DO_NOT_USE",Q=(Z,z)=>{var pe,{prefixCls:me,bordered:de=!0,className:ae,rootClassName:te,getPopupContainer:B,popupClassName:fe,dropdownClassName:Y,listHeight:ce=256,placement:ie,listItemHeight:g=24,size:E,disabled:G,notFoundContent:J,status:Le,builtinPlacements:ke,dropdownMatchSelectWidth:Fe,popupMatchSelectWidth:Ze,direction:lt,style:ut,allowClear:it}=Z,Ut=V(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:an,renderEmpty:Ot,direction:ot,virtual:_t,popupMatchSelectWidth:se,popupOverflow:ye,select:H}=$.useContext(a.E_),O=an("select",me),Ae=an(),k=lt!=null?lt:ot,{compactSize:_,compactItemClassnames:T}=(0,x.ri)(O,k),[ee,W]=(0,m.Z)(O),j=$.useMemo(()=>{const{mode:Ie}=Ut;if(Ie!=="combobox")return Ie===ne?"combobox":Ie},[Ut.mode]),_e=j==="multiple"||j==="tags",Ke=(0,ue.Z)(Ut.suffixIcon,Ut.showArrow),De=(pe=Ze!=null?Ze:Fe)!==null&&pe!==void 0?pe:se,{status:Oe,hasFeedback:Ye,isFormItemInput:Je,feedbackIcon:Ge}=$.useContext(u.aM),yt=(0,xe.F)(Oe,Le);let xt;J!==void 0?xt=J:j==="combobox"?xt=null:xt=(Ot==null?void 0:Ot("Select"))||$.createElement(K.Z,{componentName:"Select"});const{suffixIcon:dt,itemIcon:kt,removeIcon:Tt,clearIcon:w}=(0,U.Z)(Object.assign(Object.assign({},Ut),{multiple:_e,hasFeedback:Ye,feedbackIcon:Ge,showSuffixIcon:Ke,prefixCls:O,showArrow:Ut.showArrow,componentName:"Select"})),D=it===!0?{clearIcon:w}:it,bt=(0,Ee.Z)(Ut,["suffixIcon","itemIcon"]),he=L()(fe||Y,{[`${O}-dropdown-${k}`]:k==="rtl"},te,W),Be=(0,S.Z)(Ie=>{var ze;return(ze=E!=null?E:_)!==null&&ze!==void 0?ze:Ie}),pn=$.useContext(I.Z),We=G!=null?G:pn,et=L()({[`${O}-lg`]:Be==="large",[`${O}-sm`]:Be==="small",[`${O}-rtl`]:k==="rtl",[`${O}-borderless`]:!de,[`${O}-in-form-item`]:Je},(0,xe.Z)(O,yt,Ye),T,H==null?void 0:H.className,ae,te,W),Xe=$.useMemo(()=>ie!==void 0?ie:k==="rtl"?"bottomRight":"bottomLeft",[ie,k]),Se=(0,P.Z)(ke,ye);return ee($.createElement(X.ZP,Object.assign({ref:z,virtual:_t,showSearch:H==null?void 0:H.showSearch},bt,{style:Object.assign(Object.assign({},H==null?void 0:H.style),ut),dropdownMatchSelectWidth:De,builtinPlacements:Se,transitionName:(0,C.m)(Ae,"slide-up",Ut.transitionName),listHeight:ce,listItemHeight:g,mode:j,prefixCls:O,placement:Xe,direction:k,suffixIcon:dt,menuItemSelectedIcon:kt,removeIcon:Tt,allowClear:D,notFoundContent:xt,className:et,getPopupContainer:B||qt,dropdownClassName:he,disabled:We})))},b=$.forwardRef(Q),R=(0,q.Z)(b);b.SECRET_COMBOBOX_MODE_DO_NOT_USE=ne,b.Option=X.Wx,b.OptGroup=X.Xo,b._InternalPanelDoNotUseOrYouWillBeFired=R,nt.default=b},14154:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return b}});var y=f(17313),L=f(74207),X=f(37613),Ee=f(83116),$=f(13826),q=f(92899);const C=R=>{const{optionHeight:Z,optionFontSize:z,optionLineHeight:pe,optionPadding:me}=R;return{position:"relative",display:"block",minHeight:Z,padding:me,color:R.colorText,fontWeight:"normal",fontSize:z,lineHeight:pe,boxSizing:"border-box"}};var a=R=>{const{antCls:Z,componentCls:z}=R,pe=`${z}-item`,me=`&${Z}-slide-up-enter${Z}-slide-up-enter-active`,de=`&${Z}-slide-up-appear${Z}-slide-up-appear-active`,ae=`&${Z}-slide-up-leave${Z}-slide-up-leave-active`,te=`${z}-dropdown-placement-`;return[{[`${z}-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,
|
|
|
${de}${te}bottomLeft
|
|
|
`]:{animationName:$.fJ},[`
|
|
|
${me}${te}topLeft,
|
|
|
${de}${te}topLeft,
|
|
|
${me}${te}topRight,
|
|
|
${de}${te}topRight
|
|
|
`]:{animationName:$.Qt},[`${ae}${te}bottomLeft`]:{animationName:$.Uw},[`
|
|
|
${ae}${te}topLeft,
|
|
|
${ae}${te}topRight
|
|
|
`]:{animationName:$.ly},"&-hidden":{display:"none"},[`${pe}`]: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(${pe}-option-disabled)`]:{backgroundColor:R.optionActiveBg},[`&-selected:not(${pe}-option-disabled)`]:{color:R.optionSelectedColor,fontWeight:R.optionSelectedFontWeight,backgroundColor:R.optionSelectedBg,[`${pe}-option-state`]:{color:R.colorPrimary}},"&-disabled":{[`&${pe}-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,K=R=>{let{controlHeightSM:Z,controlHeight:z,lineWidth:pe}=R;const me=(z-Z)/2-pe,de=Math.ceil(me/2);return[me,de]};function S(R,Z){const{componentCls:z,iconCls:pe}=R,me=`${z}-selection-overflow`,de=R.multipleSelectItemHeight,[ae]=K(R),te=Z?`${z}-${Z}`:"";return{[`${z}-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"}},[`${z}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${ae-I}px ${I*2}px`,borderRadius:R.borderRadius,[`${z}-show-search&`]:{cursor:"text"},[`${z}-disabled&`]:{background:R.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${I}px 0`,lineHeight:`${de}px`,visibility:"hidden",content:'"\\a0"'}},[`
|
|
|
&${z}-show-arrow ${z}-selector,
|
|
|
&${z}-allow-clear ${z}-selector
|
|
|
`]:{paddingInlineEnd:R.fontSizeIcon+R.controlPaddingHorizontal},[`${z}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:de,marginTop:I,marginBottom:I,lineHeight:`${de-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,[`${z}-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",[`> ${pe}`]:{verticalAlign:"-0.2em"},"&:hover":{color:R.colorIconHover}})},[`${me}-item + ${me}-item`]:{[`${z}-selection-search`]:{marginInlineStart:0}},[`${z}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:R.inputPaddingHorizontalBase-ae,"\n &-input,\n &-mirror\n ":{height:de,fontFamily:R.fontFamily,lineHeight:`${de}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"}},[`${z}-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,z=(0,X.TS)(R,{controlHeight:R.controlHeightSM,multipleSelectItemHeight:R.controlHeightXS,borderRadius:R.borderRadiusSM,borderRadiusSM:R.borderRadiusXS}),pe=(0,X.TS)(R,{fontSize:R.fontSizeLG,controlHeight:R.controlHeightLG,multipleSelectItemHeight:R.multipleItemHeightLG,borderRadius:R.borderRadiusLG,borderRadiusSM:R.borderRadius}),[,me]=K(R);return[S(R),S(z,"sm"),{[`${Z}-multiple${Z}-sm`]:{[`${Z}-selection-placeholder`]:{insetInline:R.controlPaddingHorizontalSM-R.lineWidth},[`${Z}-selection-search`]:{marginInlineStart:me}}},S(pe,"lg")]};function m(R,Z){const{componentCls:z,inputPaddingHorizontalBase:pe,borderRadius:me}=R,de=R.controlHeight-R.lineWidth*2,ae=Math.ceil(R.fontSize*1.25),te=Z?`${z}-${Z}`:"";return{[`${z}-single${te}`]:{fontSize:R.fontSize,[`${z}-selector`]:Object.assign(Object.assign({},(0,y.Wf)(R)),{display:"flex",borderRadius:me,[`${z}-selection-search`]:{position:"absolute",top:0,insetInlineStart:pe,insetInlineEnd:pe,bottom:0,"&-input":{width:"100%"}},[`
|
|
|
${z}-selection-item,
|
|
|
${z}-selection-placeholder
|
|
|
`]:{padding:0,lineHeight:`${de}px`,transition:`all ${R.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${de}px`}},[`${z}-selection-item`]:{position:"relative",userSelect:"none"},[`${z}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${z}-selection-item:after`,`${z}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
|
&${z}-show-arrow ${z}-selection-item,
|
|
|
&${z}-show-arrow ${z}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:ae},[`&${z}-open ${z}-selection-item`]:{color:R.colorTextPlaceholder},[`&:not(${z}-customize-input)`]:{[`${z}-selector`]:{width:"100%",height:R.controlHeight,padding:`0 ${pe}px`,[`${z}-selection-search-input`]:{height:de},"&:after":{lineHeight:`${de}px`}}},[`&${z}-customize-input`]:{[`${z}-selector`]:{"&:after":{display:"none"},[`${z}-selection-search`]:{position:"static",width:"100%"},[`${z}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${pe}px`,"&:after":{display:"none"}}}}}}}function P(R){const{componentCls:Z}=R,z=R.controlPaddingHorizontalSM-R.lineWidth;return[m(R),m((0,X.TS)(R,{controlHeight:R.controlHeightSM,borderRadius:R.borderRadiusSM}),"sm"),{[`${Z}-single${Z}-sm`]:{[`&:not(${Z}-customize-input)`]:{[`${Z}-selection-search`]:{insetInlineStart:z,insetInlineEnd:z},[`${Z}-selector`]:{padding:`0 ${z}px`},[`&${Z}-show-arrow ${Z}-selection-search`]:{insetInlineEnd:z+R.fontSize*1.5},[`
|
|
|
&${Z}-show-arrow ${Z}-selection-item,
|
|
|
&${Z}-show-arrow ${Z}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:R.fontSize*1.5}}}},m((0,X.TS)(R,{controlHeight:R.singleItemHeightLG,fontSize:R.fontSizeLG,borderRadius:R.borderRadiusLG}),"lg")]}const ue=R=>{const{componentCls:Z,selectorBg:z}=R;return{position:"relative",backgroundColor:z,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"}}}},U=function(R,Z){let z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:pe,borderHoverColor:me,outlineColor:de,antCls:ae}=Z,te=z?{[`${pe}-selector`]:{borderColor:me}}:{};return{[R]:{[`&:not(${pe}-disabled):not(${pe}-customize-input):not(${ae}-pagination-size-changer)`]:Object.assign(Object.assign({},te),{[`${pe}-focused& ${pe}-selector`]:{borderColor:me,boxShadow:`0 0 0 ${Z.controlOutlineWidth}px ${de}`,outline:0},[`&:hover ${pe}-selector`]:{borderColor:me}})}}},V=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:z,iconCls:pe}=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)),V(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:z,height:R.fontSizeIcon,marginTop:-R.fontSizeIcon/2,color:R.colorTextQuaternary,fontSize:R.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[pe]:{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:z,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:z+R.fontSize+R.paddingXS}}}},Q=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"}},U(Z,(0,X.TS)(R,{borderHoverColor:R.colorPrimaryHover,outlineColor:R.controlOutline})),U(`${Z}-status-error`,(0,X.TS)(R,{borderHoverColor:R.colorErrorHover,outlineColor:R.colorErrorOutline}),!0),U(`${Z}-status-warning`,(0,X.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:z}=Z;const pe=(0,X.TS)(R,{rootPrefixCls:z,inputPaddingHorizontalBase:R.paddingSM-1,multipleSelectItemHeight:R.multipleItemHeight});return[Q(pe)]},R=>{const{fontSize:Z,lineHeight:z,controlHeight:pe,controlPaddingHorizontal:me,zIndexPopupBase:de,colorText:ae,fontWeightStrong:te,controlItemBgActive:B,controlItemBgHover:fe,colorBgContainer:Y,colorFillSecondary:ce,controlHeightLG:ie,controlHeightSM:g,colorBgContainerDisabled:E,colorTextDisabled:G}=R;return{zIndexPopup:de+50,optionSelectedColor:ae,optionSelectedFontWeight:te,optionSelectedBg:B,optionActiveBg:fe,optionPadding:`${(pe-Z*z)/2}px ${me}px`,optionFontSize:Z,optionLineHeight:z,optionHeight:pe,selectorBg:Y,clearBg:Y,singleItemHeightLG:ie,multipleItemBg:ce,multipleItemBorderColor:"transparent",multipleItemHeight:g,multipleItemHeightLG:pe,multipleSelectorBgDisabled:E,multipleItemColorDisabled:G,multipleItemBorderColorDisabled:"transparent"}})},58582:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return L}});const y=X=>{const $={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:X==="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(X,Ee){return X||y(Ee)}},84443:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return y}});function y(L,X){return X!==void 0?X:L!==null}},66339:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return xe}});var y=f(40001),L=f(19248),X=f(99267),Ee=f(84105),$=f(58617),q=f(47472),C=f(59301);function xe(a){let{suffixIcon:I,clearIcon:K,menuItemSelectedIcon:S,removeIcon:u,loading:x,multiple:m,hasFeedback:P,prefixCls:ue,showSuffixIcon:U,feedbackIcon:V,showArrow:ne,componentName:Q}=a;const b=K!=null?K:C.createElement(L.Z,null),R=me=>I===null&&!P&&!ne?null:C.createElement(C.Fragment,null,U!==!1&&me,P&&V);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=de=>{let{open:ae,showSearch:te}=de;return R(ae&&te?C.createElement(q.Z,{className:me}):C.createElement(Ee.Z,{className:me}))}}let z=null;S!==void 0?z=S:m?z=C.createElement(y.Z,null):z=null;let pe=null;return u!==void 0?pe=u:pe=C.createElement(X.Z,null),{clearIcon:b,suffixIcon:Z,itemIcon:z,removeIcon:pe}}},61621:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return ye}});var y=f(92310),L=f.n(y),X=f(59301),Ee=f(36355),$=f(2738),C=H=>{const{prefixCls:O,className:Ae,style:k,size:_,shape:T}=H,ee=L()({[`${O}-lg`]:_==="large",[`${O}-sm`]:_==="small"}),W=L()({[`${O}-circle`]:T==="circle",[`${O}-square`]:T==="square",[`${O}-round`]:T==="round"}),j=X.useMemo(()=>typeof _=="number"?{width:_,height:_,lineHeight:`${_}px`}:{},[_]);return X.createElement("span",{className:L()(O,ee,W,Ae),style:Object.assign(Object.assign({},j),k)})},xe=f(93083),a=f(83116),I=f(37613);const K=new xe.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:K,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:Ae,controlHeight:k,controlHeightLG:_,controlHeightSM:T}=H;return{[`${O}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ae},u(k)),[`${O}${O}-circle`]:{borderRadius:"50%"},[`${O}${O}-lg`]:Object.assign({},u(_)),[`${O}${O}-sm`]:Object.assign({},u(T))}},ue=H=>{const{controlHeight:O,borderRadiusSM:Ae,skeletonInputCls:k,controlHeightLG:_,controlHeightSM:T,gradientFromColor:ee}=H;return{[`${k}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ee,borderRadius:Ae},m(O)),[`${k}-lg`]:Object.assign({},m(_)),[`${k}-sm`]:Object.assign({},m(T))}},U=H=>Object.assign({width:H},S(H)),V=H=>{const{skeletonImageCls:O,imageSizeBase:Ae,gradientFromColor:k,borderRadiusSM:_}=H;return{[`${O}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:k,borderRadius:_},U(Ae*2)),{[`${O}-path`]:{fill:"#bfbfbf"},[`${O}-svg`]:Object.assign(Object.assign({},U(Ae)),{maxWidth:Ae*4,maxHeight:Ae*4}),[`${O}-svg${O}-svg-circle`]:{borderRadius:"50%"}}),[`${O}${O}-circle`]:{borderRadius:"50%"}}},ne=(H,O,Ae)=>{const{skeletonButtonCls:k}=H;return{[`${Ae}${k}-circle`]:{width:O,minWidth:O,borderRadius:"50%"},[`${Ae}${k}-round`]:{borderRadius:O}}},Q=H=>Object.assign({width:H*2,minWidth:H*2},S(H)),b=H=>{const{borderRadiusSM:O,skeletonButtonCls:Ae,controlHeight:k,controlHeightLG:_,controlHeightSM:T,gradientFromColor:ee}=H;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Ae}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ee,borderRadius:O,width:k*2,minWidth:k*2},Q(k))},ne(H,k,Ae)),{[`${Ae}-lg`]:Object.assign({},Q(_))}),ne(H,_,`${Ae}-lg`)),{[`${Ae}-sm`]:Object.assign({},Q(T))}),ne(H,T,`${Ae}-sm`))},R=H=>{const{componentCls:O,skeletonAvatarCls:Ae,skeletonTitleCls:k,skeletonParagraphCls:_,skeletonButtonCls:T,skeletonInputCls:ee,skeletonImageCls:W,controlHeight:j,controlHeightLG:_e,controlHeightSM:Ke,gradientFromColor:De,padding:Oe,marginSM:Ye,borderRadius:Je,titleHeight:Ge,blockRadius:yt,paragraphLiHeight:xt,controlHeightXS:dt,paragraphMarginTop:kt}=H;return{[`${O}`]:{display:"table",width:"100%",[`${O}-header`]:{display:"table-cell",paddingInlineEnd:Oe,verticalAlign:"top",[`${Ae}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:De},u(j)),[`${Ae}-circle`]:{borderRadius:"50%"},[`${Ae}-lg`]:Object.assign({},u(_e)),[`${Ae}-sm`]:Object.assign({},u(Ke))},[`${O}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${k}`]:{width:"100%",height:Ge,background:De,borderRadius:yt,[`+ ${_}`]:{marginBlockStart:Ke}},[`${_}`]:{padding:0,"> li":{width:"100%",height:xt,listStyle:"none",background:De,borderRadius:yt,"+ li":{marginBlockStart:dt}}},[`${_}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${O}-content`]:{[`${k}, ${_} > li`]:{borderRadius:Je}}},[`${O}-with-avatar ${O}-content`]:{[`${k}`]:{marginBlockStart:Ye,[`+ ${_}`]:{marginBlockStart:kt}}},[`${O}${O}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},b(H)),P(H)),ue(H)),V(H)),[`${O}${O}-block`]:{width:"100%",[`${T}`]:{width:"100%"},[`${ee}`]:{width:"100%"}},[`${O}${O}-active`]:{[`
|
|
|
${k},
|
|
|
${_} > li,
|
|
|
${Ae},
|
|
|
${T},
|
|
|
${ee},
|
|
|
${W}
|
|
|
`]:Object.assign({},x(H))}}};var Z=(0,a.Z)("Skeleton",H=>{const{componentCls:O}=H,Ae=(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(Ae)]},H=>{const{colorFillContent:O,colorFill:Ae}=H,k=O,_=Ae;return{color:k,colorGradientEnd:_,gradientFromColor:k,gradientToColor:_,titleHeight:H.controlHeight/2,blockRadius:H.borderRadiusSM,paragraphMarginTop:H.marginLG+H.marginXXS,paragraphLiHeight:H.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),pe=H=>{const{prefixCls:O,className:Ae,rootClassName:k,active:_,shape:T="circle",size:ee="default"}=H,{getPrefixCls:W}=X.useContext(Ee.E_),j=W("skeleton",O),[_e,Ke]=Z(j),De=(0,$.Z)(H,["prefixCls","className"]),Oe=L()(j,`${j}-element`,{[`${j}-active`]:_},Ae,k,Ke);return _e(X.createElement("div",{className:Oe},X.createElement(C,Object.assign({prefixCls:`${j}-avatar`,shape:T,size:ee},De))))},de=H=>{const{prefixCls:O,className:Ae,rootClassName:k,active:_,block:T=!1,size:ee="default"}=H,{getPrefixCls:W}=X.useContext(Ee.E_),j=W("skeleton",O),[_e,Ke]=Z(j),De=(0,$.Z)(H,["prefixCls"]),Oe=L()(j,`${j}-element`,{[`${j}-active`]:_,[`${j}-block`]:T},Ae,k,Ke);return _e(X.createElement("div",{className:Oe},X.createElement(C,Object.assign({prefixCls:`${j}-button`,size:ee},De))))};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 B=H=>{const{prefixCls:O,className:Ae,rootClassName:k,style:_,active:T}=H,{getPrefixCls:ee}=X.useContext(Ee.E_),W=ee("skeleton",O),[j,_e]=Z(W),Ke=L()(W,`${W}-element`,{[`${W}-active`]:T},Ae,k,_e);return j(X.createElement("div",{className:Ke},X.createElement("div",{className:L()(`${W}-image`,Ae),style:_},X.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${W}-image-svg`},X.createElement("path",{d:ae,className:`${W}-image-path`})))))},Y=H=>{const{prefixCls:O,className:Ae,rootClassName:k,active:_,block:T,size:ee="default"}=H,{getPrefixCls:W}=X.useContext(Ee.E_),j=W("skeleton",O),[_e,Ke]=Z(j),De=(0,$.Z)(H,["prefixCls"]),Oe=L()(j,`${j}-element`,{[`${j}-active`]:_,[`${j}-block`]:T},Ae,k,Ke);return _e(X.createElement("div",{className:Oe},X.createElement(C,Object.assign({prefixCls:`${j}-input`,size:ee},De))))},ce=f(96663),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"},g=ie,E=f(7657),G=function(O,Ae){return X.createElement(E.Z,(0,ce.Z)({},O,{ref:Ae,icon:g}))},J=X.forwardRef(G),Le=J,Fe=H=>{const{prefixCls:O,className:Ae,rootClassName:k,style:_,active:T,children:ee}=H,{getPrefixCls:W}=X.useContext(Ee.E_),j=W("skeleton",O),[_e,Ke]=Z(j),De=L()(j,`${j}-element`,{[`${j}-active`]:T},Ke,Ae,k),Oe=ee!=null?ee:X.createElement(Le,null);return _e(X.createElement("div",{className:De},X.createElement("div",{className:L()(`${j}-image`,Ae),style:_},Oe)))},Ze=f(19127),ut=H=>{const O=W=>{const{width:j,rows:_e=2}=H;if(Array.isArray(j))return j[W];if(_e-1===W)return j},{prefixCls:Ae,className:k,style:_,rows:T}=H,ee=(0,Ze.Z)(Array(T)).map((W,j)=>X.createElement("li",{key:j,style:{width:O(j)}}));return X.createElement("ul",{className:L()(Ae,k),style:_},ee)},Ut=H=>{let{prefixCls:O,className:Ae,width:k,style:_}=H;return X.createElement("h3",{className:L()(O,Ae),style:Object.assign({width:k},_)})};function qt(H){return H&&typeof H=="object"?H:{}}function an(H,O){return H&&!O?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Ot(H,O){return!H&&O?{width:"38%"}:H&&O?{width:"50%"}:{}}function ot(H,O){const Ae={};return(!H||!O)&&(Ae.width="61%"),!H&&O?Ae.rows=3:Ae.rows=2,Ae}const _t=H=>{const{prefixCls:O,loading:Ae,className:k,rootClassName:_,style:T,children:ee,avatar:W=!1,title:j=!0,paragraph:_e=!0,active:Ke,round:De}=H,{getPrefixCls:Oe,direction:Ye,skeleton:Je}=X.useContext(Ee.E_),Ge=Oe("skeleton",O),[yt,xt]=Z(Ge);if(Ae||!("loading"in H)){const dt=!!W,kt=!!j,Tt=!!_e;let w;if(dt){const he=Object.assign(Object.assign({prefixCls:`${Ge}-avatar`},an(kt,Tt)),qt(W));w=X.createElement("div",{className:`${Ge}-header`},X.createElement(C,Object.assign({},he)))}let D;if(kt||Tt){let he;if(kt){const pn=Object.assign(Object.assign({prefixCls:`${Ge}-title`},Ot(dt,Tt)),qt(j));he=X.createElement(Ut,Object.assign({},pn))}let Be;if(Tt){const pn=Object.assign(Object.assign({prefixCls:`${Ge}-paragraph`},ot(dt,kt)),qt(_e));Be=X.createElement(ut,Object.assign({},pn))}D=X.createElement("div",{className:`${Ge}-content`},he,Be)}const bt=L()(Ge,{[`${Ge}-with-avatar`]:dt,[`${Ge}-active`]:Ke,[`${Ge}-rtl`]:Ye==="rtl",[`${Ge}-round`]:De},Je==null?void 0:Je.className,k,_,xt);return yt(X.createElement("div",{className:bt,style:Object.assign(Object.assign({},Je==null?void 0:Je.style),T)},w,D))}return typeof ee!="undefined"?ee:null};_t.Button=de,_t.Avatar=pe,_t.Input=Y,_t.Image=B,_t.Node=Fe;var se=_t,ye=se},81327:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return ue}});var y=f(59301),L=f(92310),X=f.n(L),Ee=f(11592),$=f(36355),q=f(33234);const C=y.createContext({latestIndex:0}),xe=C.Provider;var I=U=>{let{className:V,index:ne,children:Q,split:b,style:R}=U;const{latestIndex:Z}=y.useContext(C);return Q==null?null:y.createElement(y.Fragment,null,y.createElement("div",{className:V,style:R},Q),ne<Z&&b&&y.createElement("span",{className:`${V}-split`},b))},K=f(2856);function S(U){return["small","middle","large"].includes(U)}function u(U){return U?typeof U=="number"&&!Number.isNaN(U):!1}var x=function(U,V){var ne={};for(var Q in U)Object.prototype.hasOwnProperty.call(U,Q)&&V.indexOf(Q)<0&&(ne[Q]=U[Q]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,Q=Object.getOwnPropertySymbols(U);b<Q.length;b++)V.indexOf(Q[b])<0&&Object.prototype.propertyIsEnumerable.call(U,Q[b])&&(ne[Q[b]]=U[Q[b]]);return ne};const P=y.forwardRef((U,V)=>{var ne,Q;const{getPrefixCls:b,space:R,direction:Z}=y.useContext($.E_),{size:z=(R==null?void 0:R.size)||"small",align:pe,className:me,rootClassName:de,children:ae,direction:te="horizontal",prefixCls:B,split:fe,style:Y,wrap:ce=!1,classNames:ie,styles:g}=U,E=x(U,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[G,J]=Array.isArray(z)?z:[z,z],Le=S(J),ke=S(G),Fe=u(J),Ze=u(G),lt=(0,Ee.Z)(ae,{keepEmpty:!0}),ut=pe===void 0&&te==="horizontal"?"center":pe,it=b("space",B),[Ut,qt]=(0,K.Z)(it),an=X()(it,R==null?void 0:R.className,qt,`${it}-${te}`,{[`${it}-rtl`]:Z==="rtl",[`${it}-align-${ut}`]:ut,[`${it}-gap-row-${J}`]:Le,[`${it}-gap-col-${G}`]:ke},me,de),Ot=X()(`${it}-item`,(ne=ie==null?void 0:ie.item)!==null&&ne!==void 0?ne:(Q=R==null?void 0:R.classNames)===null||Q===void 0?void 0:Q.item);let ot=0;const _t=lt.map((H,O)=>{var Ae,k;H!=null&&(ot=O);const _=H&&H.key||`${Ot}-${O}`;return y.createElement(I,{className:Ot,key:_,index:O,split:fe,style:(Ae=g==null?void 0:g.item)!==null&&Ae!==void 0?Ae:(k=R==null?void 0:R.styles)===null||k===void 0?void 0:k.item},H)}),se=y.useMemo(()=>({latestIndex:ot}),[ot]);if(lt.length===0)return null;const ye={};return ce&&(ye.flexWrap="wrap"),!ke&&Ze&&(ye.columnGap=G),!Le&&Fe&&(ye.rowGap=J),Ut(y.createElement("div",Object.assign({ref:V,className:an,style:Object.assign(Object.assign(Object.assign({},ye),R==null?void 0:R.style),Y)},E),y.createElement(xe,{value:se},_t)))});P.Compact=q.ZP;var ue=P},31797:function(nn,nt,f){"use strict";f.d(nt,{default:function(){return Z}});var y=f(59301),L=f(56762),X=f(92343),Ee=f(92310),$=f.n(Ee),q=f(36355),C=f(61621),a=z=>{const{value:pe,formatter:me,precision:de,decimalSeparator:ae,groupSeparator:te="",prefixCls:B}=z;let fe;if(typeof me=="function")fe=me(pe);else{const Y=String(pe),ce=Y.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ce||Y==="-")fe=Y;else{const ie=ce[1];let g=ce[2]||"0",E=ce[4]||"";g=g.replace(/\B(?=(\d{3})+(?!\d))/g,te),typeof de=="number"&&(E=E.padEnd(de,"0").slice(0,de>0?de:0)),E&&(E=`${ae}${E}`),fe=[y.createElement("span",{key:"int",className:`${B}-content-value-int`},ie,g),E&&y.createElement("span",{key:"decimal",className:`${B}-content-value-decimal`},E)]}}return y.createElement("span",{className:`${B}-content-value`},fe)},I=f(17313),K=f(83116),S=f(37613);const u=z=>{const{componentCls:pe,marginXXS:me,padding:de,colorTextDescription:ae,titleFontSize:te,colorTextHeading:B,contentFontSize:fe,fontFamily:Y}=z;return{[`${pe}`]:Object.assign(Object.assign({},(0,I.Wf)(z)),{[`${pe}-title`]:{marginBottom:me,color:ae,fontSize:te},[`${pe}-skeleton`]:{paddingTop:de},[`${pe}-content`]:{color:B,fontSize:fe,fontFamily:Y,[`${pe}-content-value`]:{display:"inline-block",direction:"ltr"},[`${pe}-content-prefix, ${pe}-content-suffix`]:{display:"inline-block"},[`${pe}-content-prefix`]:{marginInlineEnd:me},[`${pe}-content-suffix`]:{marginInlineStart:me}}})}};var x=(0,K.Z)("Statistic",z=>{const pe=(0,S.TS)(z,{});return[u(pe)]},z=>{const{fontSizeHeading3:pe,fontSize:me}=z;return{titleFontSize:me,contentFontSize:pe}}),P=z=>{const{prefixCls:pe,className:me,rootClassName:de,style:ae,valueStyle:te,value:B=0,title:fe,valueRender:Y,prefix:ce,suffix:ie,loading:g=!1,onMouseEnter:E,onMouseLeave:G,decimalSeparator:J=".",groupSeparator:Le=","}=z,{getPrefixCls:ke,direction:Fe,statistic:Ze}=y.useContext(q.E_),lt=ke("statistic",pe),[ut,it]=x(lt),Ut=y.createElement(a,Object.assign({decimalSeparator:J,groupSeparator:Le,prefixCls:lt},z,{value:B})),qt=$()(lt,{[`${lt}-rtl`]:Fe==="rtl"},Ze==null?void 0:Ze.className,me,de,it);return ut(y.createElement("div",{className:qt,style:Object.assign(Object.assign({},Ze==null?void 0:Ze.style),ae),onMouseEnter:E,onMouseLeave:G},fe&&y.createElement("div",{className:`${lt}-title`},fe),y.createElement(C.Z,{paragraph:!1,loading:g,className:`${lt}-skeleton`},y.createElement("div",{style:te,className:`${lt}-content`},ce&&y.createElement("span",{className:`${lt}-content-prefix`},ce),Y?Y(Ut):Ut,ie&&y.createElement("span",{className:`${lt}-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 U(z,pe){let me=z;const de=/\[[^\]]*]/g,ae=(pe.match(de)||[]).map(Y=>Y.slice(1,-1)),te=pe.replace(de,"[]"),B=ue.reduce((Y,ce)=>{let[ie,g]=ce;if(Y.includes(ie)){const E=Math.floor(me/g);return me-=E*g,Y.replace(new RegExp(`${ie}+`,"g"),G=>{const J=G.length;return E.toString().padStart(J,"0")})}return Y},te);let fe=0;return B.replace(de,()=>{const Y=ae[fe];return fe+=1,Y})}function V(z,pe){const{format:me=""}=pe,de=new Date(z).getTime(),ae=Date.now(),te=Math.max(de-ae,0);return U(te,me)}const ne=1e3/30;function Q(z){return new Date(z).getTime()}const b=z=>{const{value:pe,format:me="HH:mm:ss",onChange:de,onFinish:ae}=z,te=(0,L.Z)(),B=y.useRef(null),fe=()=>{ae==null||ae(),B.current&&(clearInterval(B.current),B.current=null)},Y=()=>{const g=Q(pe);g>=Date.now()&&(B.current=setInterval(()=>{te(),de==null||de(g-Date.now()),g<Date.now()&&fe()},ne))};y.useEffect(()=>(Y(),()=>{B.current&&(clearInterval(B.current),B.current=null)}),[pe]);const ce=(g,E)=>V(g,Object.assign(Object.assign({},E),{format:me})),ie=g=>(0,X.Tm)(g,{title:void 0});return y.createElement(P,Object.assign({},z,{valueRender:ie,formatter:ce}))};var R=y.memo(b);P.Countdown=R;var Z=P},8378:function(nn,nt){"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`}}});nt.Z=f},92899:function(nn,nt,f){"use strict";f.d(nt,{Fm:function(){return S}});var y=f(93083),L=f(95406);const X=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}}),xe=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}}),K={"move-up":{inKeyframes:a,outKeyframes:I},"move-down":{inKeyframes:X,outKeyframes:Ee},"move-left":{inKeyframes:$,outKeyframes:q},"move-right":{inKeyframes:C,outKeyframes:xe}},S=(u,x)=>{const{antCls:m}=u,P=`${m}-${x}`,{inKeyframes:ue,outKeyframes:U}=K[x];return[(0,L.R)(P,ue,U,u.motionDurationMid),{[`
|
|
|
${P}-enter,
|
|
|
${P}-appear
|
|
|
`]:{opacity:0,animationTimingFunction:u.motionEaseOutCirc},[`${P}-leave`]:{animationTimingFunction:u.motionEaseInOutCirc}}]}},13826:function(nn,nt,f){"use strict";f.d(nt,{Qt:function(){return $},Uw:function(){return Ee},fJ:function(){return X},ly:function(){return q},oN:function(){return S}});var y=f(93083),L=f(95406);const X=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}}),xe=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}}),K={"slide-up":{inKeyframes:X,outKeyframes:Ee},"slide-down":{inKeyframes:$,outKeyframes:q},"slide-left":{inKeyframes:C,outKeyframes:xe},"slide-right":{inKeyframes:a,outKeyframes:I}},S=(u,x)=>{const{antCls:m}=u,P=`${m}-${x}`,{inKeyframes:ue,outKeyframes:U}=K[x];return[(0,L.R)(P,ue,U,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(nn,nt,f){"use strict";f.d(nt,{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(nn,nt,f){"use strict";f.d(nt,{ZP:function(){return $},fS:function(){return X},qN:function(){return L}});var y=f(47585);const L=8;function X(q){const C=L,{contentRadius:xe,limitVerticalRadius:a}=q,I=xe>12?xe+2:12;return{dropdownArrowOffset:I,dropdownArrowOffsetVertical:a?C:I}}function Ee(q,C){return q?C:{}}function $(q,C){const{componentCls:xe,sizePopupArrow:a,borderRadiusXS:I,borderRadiusOuter:K,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:U,dropdownArrowOffset:V}=X({contentRadius:x,limitVerticalRadius:m});return{[xe]:Object.assign(Object.assign(Object.assign(Object.assign({[`${xe}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,y.r)(a,I,K,u,S)),{"&:before":{background:u}})]},Ee(!!ue.top,{[[`&-placement-top ${xe}-arrow`,`&-placement-topLeft ${xe}-arrow`,`&-placement-topRight ${xe}-arrow`].join(",")]:{bottom:P,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${xe}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${xe}-arrow`]:{left:{_skip_check_:!0,value:V}},[`&-placement-topRight ${xe}-arrow`]:{right:{_skip_check_:!0,value:V}}})),Ee(!!ue.bottom,{[[`&-placement-bottom ${xe}-arrow`,`&-placement-bottomLeft ${xe}-arrow`,`&-placement-bottomRight ${xe}-arrow`].join(",")]:{top:P,transform:"translateY(-100%)"},[`&-placement-bottom ${xe}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${xe}-arrow`]:{left:{_skip_check_:!0,value:V}},[`&-placement-bottomRight ${xe}-arrow`]:{right:{_skip_check_:!0,value:V}}})),Ee(!!ue.left,{[[`&-placement-left ${xe}-arrow`,`&-placement-leftTop ${xe}-arrow`,`&-placement-leftBottom ${xe}-arrow`].join(",")]:{right:{_skip_check_:!0,value:P},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${xe}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${xe}-arrow`]:{top:U},[`&-placement-leftBottom ${xe}-arrow`]:{bottom:U}})),Ee(!!ue.right,{[[`&-placement-right ${xe}-arrow`,`&-placement-rightTop ${xe}-arrow`,`&-placement-rightBottom ${xe}-arrow`].join(",")]:{left:{_skip_check_:!0,value:P},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${xe}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${xe}-arrow`]:{top:U},[`&-placement-rightBottom ${xe}-arrow`]:{bottom:U}}))}}},47585:function(nn,nt,f){"use strict";f.d(nt,{r:function(){return y}});const y=(L,X,Ee,$,q)=>{const C=L/2,xe=0,a=C,I=Ee*1/Math.sqrt(2),K=C-Ee*(1-1/Math.sqrt(2)),S=C-X*(1/Math.sqrt(2)),u=Ee*(Math.sqrt(2)-1)+X*(1/Math.sqrt(2)),x=2*C-S,m=u,P=2*C-I,ue=K,U=2*C-xe,V=a,ne=C*Math.sqrt(2)+Ee*(Math.sqrt(2)-2),Q=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(${Q}px 100%, 50% ${Q}px, ${2*C-Q}px 100%, ${Q}px 100%)`,`path('M ${xe} ${a} A ${Ee} ${Ee} 0 0 0 ${I} ${K} L ${S} ${u} A ${X} ${X} 0 0 1 ${x} ${m} L ${P} ${ue} A ${Ee} ${Ee} 0 0 0 ${U} ${V} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:ne,height:ne,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${X}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:q,zIndex:0,background:"transparent"}}}},1710:function(nn,nt,f){"use strict";f.d(nt,{default:function(){return Zs}});var y={},L="rc-table-internal-hook",X=f(72071),Ee=f(6089),$=f(34280),q=f(13697),C=f(59301),xe=f(4676);function a(oe){var ge=C.createContext(void 0),He=function(rt){var st=rt.value,Ct=rt.children,Rt=C.useRef(st);Rt.current=st;var Et=C.useState(function(){return{getValue:function(){return Rt.current},listeners:new Set}}),Bt=(0,X.Z)(Et,1),we=Bt[0];return(0,$.Z)(function(){(0,xe.unstable_batchedUpdates)(function(){we.listeners.forEach(function(Kt){Kt(st)})})},[st]),C.createElement(ge.Provider,{value:we},Ct)};return{Context:ge,Provider:He,defaultValue:oe}}function I(oe,ge){var He=(0,Ee.Z)(typeof ge=="function"?ge:function(Kt){if(ge===void 0)return Kt;if(!Array.isArray(ge))return Kt[ge];var mn={};return ge.forEach(function(fn){mn[fn]=Kt[fn]}),mn}),Qe=C.useContext(oe==null?void 0:oe.Context),rt=Qe||{},st=rt.listeners,Ct=rt.getValue,Rt=C.useRef();Rt.current=He(Qe?Ct():oe==null?void 0:oe.defaultValue);var Et=C.useState({}),Bt=(0,X.Z)(Et,2),we=Bt[1];return(0,$.Z)(function(){if(!Qe)return;function Kt(mn){var fn=He(mn);(0,q.Z)(Rt.current,fn,!0)||we({})}return st.add(Kt),function(){st.delete(Kt)}},[Qe]),Rt.current}var K=f(96663),S=f(8654);function u(){var oe=C.createContext(null);function ge(){return C.useContext(oe)}function He(rt,st){var Ct=(0,S.Yr)(rt),Rt=function(Bt,we){var Kt=Ct?{ref:we}:{},mn=C.useRef(0),fn=C.useRef(Bt),cn=ge();return cn!==null?C.createElement(rt,(0,K.Z)({},Bt,Kt)):((!st||st(fn.current,Bt))&&(mn.current+=1),fn.current=Bt,C.createElement(oe.Provider,{value:mn.current},C.createElement(rt,(0,K.Z)({},Bt,Kt))))};return Ct?C.forwardRef(Rt):Rt}function Qe(rt,st){var Ct=(0,S.Yr)(rt),Rt=function(Bt,we){var Kt=Ct?{ref:we}:{};return ge(),C.createElement(rt,(0,K.Z)({},Bt,Kt))};return Ct?C.memo(C.forwardRef(Rt),st):C.memo(Rt,st)}return{makeImmutable:He,responseImmutable:Qe,useImmutableMark:ge}}var x=u(),m=x.makeImmutable,P=x.responseImmutable,ue=x.useImmutableMark,U=u(),V=U.makeImmutable,ne=U.responseImmutable,Q=U.useImmutableMark,b=a(),R=b;function Z(oe,ge){var He=C.useRef(0);He.current+=1;var Qe=C.useRef(oe),rt=[];Object.keys(oe||{}).map(function(Ct){var Rt;(oe==null?void 0:oe[Ct])!==((Rt=Qe.current)===null||Rt===void 0?void 0:Rt[Ct])&&rt.push(Ct)}),Qe.current=oe;var st=C.useRef([]);return rt.length&&(st.current=rt),C.useDebugValue(He.current),C.useDebugValue(st.current.join(", ")),ge&&console.log("".concat(ge,":"),He.current,st.current),He.current}var z=null,pe=C.memo(function(){var oe=Z();return C.createElement("h1",null,"Render Times: ",oe)});pe.displayName="RenderBlock";var me=f(20135),de=f(44127),ae=f(90493),te=f(92310),B=f.n(te),fe=f(80547),Y=f(97938),ce=f(48736),ie=C.createContext({renderWithProps:!1}),g=ie,E="RC_TABLE_KEY";function G(oe){return oe==null?[]:Array.isArray(oe)?oe:[oe]}function J(oe){var ge=[],He={};return oe.forEach(function(Qe){for(var rt=Qe||{},st=rt.key,Ct=rt.dataIndex,Rt=st||G(Ct).join("-")||E;He[Rt];)Rt="".concat(Rt,"_next");He[Rt]=!0,ge.push(Rt)}),ge}function Le(oe){return oe!=null}function ke(oe){return oe&&(0,me.Z)(oe)==="object"&&!Array.isArray(oe)&&!C.isValidElement(oe)}function Fe(oe,ge,He,Qe,rt,st){var Ct=C.useContext(g),Rt=Q(),Et=(0,fe.Z)(function(){if(Le(Qe))return[Qe];var Bt=ge==null||ge===""?[]:Array.isArray(ge)?ge:[ge],we=(0,Y.Z)(oe,Bt),Kt=we,mn=void 0;if(rt){var fn=rt(we,oe,He);ke(fn)?(Kt=fn.children,mn=fn.props,Ct.renderWithProps=!0):Kt=fn}return[Kt,mn]},[Rt,oe,Qe,ge,rt,He],function(Bt,we){if(st){var Kt=(0,X.Z)(Bt,2),mn=Kt[1],fn=(0,X.Z)(we,2),cn=fn[1];return st(cn,mn)}return Ct.renderWithProps?!0:!(0,q.Z)(Bt,we,!0)});return Et}function Ze(oe,ge,He,Qe){var rt=oe+ge-1;return oe<=Qe&&rt>=He}function lt(oe,ge){return I(R,function(He){var Qe=Ze(oe,ge||1,He.hoverStartRow,He.hoverEndRow);return[Qe,He.onHover]})}var ut=function(ge){var He=ge.ellipsis,Qe=ge.rowType,rt=ge.children,st,Ct=He===!0?{showTitle:!0}:He;return Ct&&(Ct.showTitle||Qe==="header")&&(typeof rt=="string"||typeof rt=="number"?st=rt.toString():C.isValidElement(rt)&&typeof rt.props.children=="string"&&(st=rt.props.children)),st};function it(oe){var ge,He,Qe,rt,st,Ct,Rt,Et,Bt=oe.component,we=oe.children,Kt=oe.ellipsis,mn=oe.scope,fn=oe.prefixCls,cn=oe.className,ft=oe.align,Ln=oe.record,zn=oe.render,Bn=oe.dataIndex,Wn=oe.renderIndex,br=oe.shouldCellUpdate,Sr=oe.index,pr=oe.rowType,Or=oe.colSpan,Br=oe.rowSpan,Gn=oe.fixLeft,mr=oe.fixRight,Yn=oe.firstFixLeft,Un=oe.lastFixLeft,hr=oe.firstFixRight,Ir=oe.lastFixRight,Gr=oe.appendNode,re=oe.additionalProps,l=re===void 0?{}:re,d=oe.isSticky,h="".concat(fn,"-cell"),v=I(R,["supportSticky","allColumnsFixedLeft"]),N=v.supportSticky,le=v.allColumnsFixedLeft,Ne=Fe(Ln,Bn,Wn,we,zn,br),Me=(0,X.Z)(Ne,2),tt=Me[0],gt=Me[1],Ft={},Yt=typeof Gn=="number"&&N,Sn=typeof mr=="number"&&N;Yt&&(Ft.position="sticky",Ft.left=Gn),Sn&&(Ft.position="sticky",Ft.right=mr);var Xt=(ge=(He=(Qe=gt==null?void 0:gt.colSpan)!==null&&Qe!==void 0?Qe:l.colSpan)!==null&&He!==void 0?He:Or)!==null&&ge!==void 0?ge:1,on=(rt=(st=(Ct=gt==null?void 0:gt.rowSpan)!==null&&Ct!==void 0?Ct:l.rowSpan)!==null&&st!==void 0?st:Br)!==null&&rt!==void 0?rt:1,gn=lt(Sr,on),Fn=(0,X.Z)(gn,2),ar=Fn[0],In=Fn[1],nr=function(bi){var qi;Ln&&In(Sr,Sr+on-1),l==null||(qi=l.onMouseEnter)===null||qi===void 0||qi.call(l,bi)},Er=function(bi){var qi;Ln&&In(-1,-1),l==null||(qi=l.onMouseLeave)===null||qi===void 0||qi.call(l,bi)};if(Xt===0||on===0)return null;var _r=(Rt=l.title)!==null&&Rt!==void 0?Rt:ut({rowType:pr,ellipsis:Kt,children:tt}),ri=B()(h,cn,(Et={},(0,ae.Z)(Et,"".concat(h,"-fix-left"),Yt&&N),(0,ae.Z)(Et,"".concat(h,"-fix-left-first"),Yn&&N),(0,ae.Z)(Et,"".concat(h,"-fix-left-last"),Un&&N),(0,ae.Z)(Et,"".concat(h,"-fix-left-all"),Un&&le&&N),(0,ae.Z)(Et,"".concat(h,"-fix-right"),Sn&&N),(0,ae.Z)(Et,"".concat(h,"-fix-right-first"),hr&&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"),Gr),(0,ae.Z)(Et,"".concat(h,"-fix-sticky"),(Yt||Sn)&&d&&N),(0,ae.Z)(Et,"".concat(h,"-row-hover"),!gt&&ar),Et),l.className,gt==null?void 0:gt.className),ii={};ft&&(ii.textAlign=ft);var Wi=(0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)({},Ft),l.style),ii),gt==null?void 0:gt.style),ci=tt;return(0,me.Z)(ci)==="object"&&!Array.isArray(ci)&&!C.isValidElement(ci)&&(ci=null),Kt&&(Un||hr)&&(ci=C.createElement("span",{className:"".concat(h,"-content")},ci)),C.createElement(Bt,(0,K.Z)({},gt,l,{className:ri,style:Wi,title:_r,scope:mn,onMouseEnter:nr,onMouseLeave:Er,colSpan:Xt!==1?Xt:null,rowSpan:on!==1?on:null}),Gr,ci)}var Ut=C.memo(it);function qt(oe,ge,He,Qe,rt,st){var Ct=He[oe]||{},Rt=He[ge]||{},Et,Bt;Ct.fixed==="left"?Et=Qe.left[rt==="rtl"?ge:oe]:Rt.fixed==="right"&&(Bt=Qe.right[rt==="rtl"?oe:ge]);var we=!1,Kt=!1,mn=!1,fn=!1,cn=He[ge+1],ft=He[oe-1],Ln=!(st!=null&&st.children);if(rt==="rtl"){if(Et!==void 0){var zn=ft&&ft.fixed==="left";fn=!zn&&Ln}else if(Bt!==void 0){var Bn=cn&&cn.fixed==="right";mn=!Bn&&Ln}}else if(Et!==void 0){var Wn=cn&&cn.fixed==="left";we=!Wn&&Ln}else if(Bt!==void 0){var br=ft&&ft.fixed==="right";Kt=!br&&Ln}return{fixLeft:Et,fixRight:Bt,lastFixLeft:we,firstFixRight:Kt,lastFixRight:mn,firstFixLeft:fn,isSticky:Qe.isSticky}}var an=C.createContext({}),Ot=an;function ot(oe){var ge=oe.className,He=oe.index,Qe=oe.children,rt=oe.colSpan,st=rt===void 0?1:rt,Ct=oe.rowSpan,Rt=oe.align,Et=I(R,["prefixCls","direction"]),Bt=Et.prefixCls,we=Et.direction,Kt=C.useContext(Ot),mn=Kt.scrollColumnIndex,fn=Kt.stickyOffsets,cn=Kt.flattenColumns,ft=Kt.columns,Ln=He+st-1,zn=Ln+1===mn?st+1:st,Bn=qt(He,He+zn-1,cn,fn,we,ft==null?void 0:ft[He]);return C.createElement(Ut,(0,K.Z)({className:ge,index:He,component:"td",prefixCls:Bt,record:null,dataIndex:null,align:Rt,colSpan:zn,rowSpan:Ct,render:function(){return Qe}},Bn))}var _t=f(6620),se=["children"];function ye(oe){var ge=oe.children,He=(0,_t.Z)(oe,se);return C.createElement("tr",He,ge)}function H(oe){var ge=oe.children;return ge}H.Row=ye,H.Cell=ot;var O=H;function Ae(oe){var ge=oe.children,He=oe.stickyOffsets,Qe=oe.flattenColumns,rt=oe.columns,st=I(R,"prefixCls"),Ct=Qe.length-1,Rt=Qe[Ct],Et=C.useMemo(function(){return{stickyOffsets:He,flattenColumns:Qe,scrollColumnIndex:Rt!=null&&Rt.scrollbar?Ct:null,columns:rt}},[Rt,Qe,Ct,He,rt]);return C.createElement(Ot.Provider,{value:Et},C.createElement("tfoot",{className:"".concat(st,"-summary")},ge))}var k=ne(Ae),_=O,T=f(70425),ee=f(29301),W=f(29194),j=f(24514),_e=f(75152),Ke=f(26112);function De(oe,ge,He,Qe,rt,st,Ct){oe.push({record:ge,indent:He,index:Ct});var Rt=st(ge),Et=rt==null?void 0:rt.has(Rt);if(ge&&Array.isArray(ge[Qe])&&Et)for(var Bt=0;Bt<ge[Qe].length;Bt+=1)De(oe,ge[Qe][Bt],He+1,Qe,rt,st,Bt)}function Oe(oe,ge,He,Qe){var rt=C.useMemo(function(){if(He!=null&&He.size){for(var st=[],Ct=0;Ct<(oe==null?void 0:oe.length);Ct+=1){var Rt=oe[Ct];De(st,Rt,0,ge,He,Qe,Ct)}return st}return oe==null?void 0:oe.map(function(Et,Bt){return{record:Et,indent:0,index:Bt}})},[oe,ge,He,Qe]);return rt}function Ye(oe){var ge=oe.prefixCls,He=oe.children,Qe=oe.component,rt=oe.cellComponent,st=oe.className,Ct=oe.expanded,Rt=oe.colSpan,Et=oe.isEmpty,Bt=I(R,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),we=Bt.scrollbarSize,Kt=Bt.fixHeader,mn=Bt.fixColumn,fn=Bt.componentWidth,cn=Bt.horizonScroll,ft=He;return(Et?cn&&fn:mn)&&(ft=C.createElement("div",{style:{width:fn-(Kt?we:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ge,"-expanded-row-fixed")},ft)),C.createElement(Qe,{className:st,style:{display:Ct?null:"none"}},C.createElement(Ut,{component:rt,prefixCls:ge,colSpan:Rt},ft))}var Je=Ye;function Ge(oe,ge,He,Qe){var rt=I(R,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),st=rt.flattenColumns,Ct=rt.expandableType,Rt=rt.expandedKeys,Et=rt.childrenColumnName,Bt=rt.onTriggerExpand,we=rt.rowExpandable,Kt=rt.onRow,mn=rt.expandRowByClick,fn=rt.rowClassName,cn=Ct==="nest",ft=Ct==="row"&&(!we||we(oe)),Ln=ft||cn,zn=Rt&&Rt.has(ge),Bn=Et&&oe&&oe[Et],Wn=(0,T.useEvent)(Bt),br=Kt==null?void 0:Kt(oe,He),Sr=br==null?void 0:br.onClick,pr=function(mr){mn&&Ln&&Bt(oe,mr);for(var Yn=arguments.length,Un=new Array(Yn>1?Yn-1:0),hr=1;hr<Yn;hr++)Un[hr-1]=arguments[hr];Sr==null||Sr.apply(void 0,[mr].concat(Un))},Or;typeof fn=="string"?Or=fn:typeof fn=="function"&&(Or=fn(oe,He,Qe));var Br=J(st);return(0,de.Z)((0,de.Z)({},rt),{},{columnsKey:Br,nestExpandable:cn,expanded:zn,hasNestChildren:Bn,record:oe,onTriggerExpand:Wn,rowSupportExpand:ft,expandable:Ln,rowProps:(0,de.Z)((0,de.Z)({},br),{},{className:B()(Or,br==null?void 0:br.className),onClick:pr})})}function yt(oe,ge,He,Qe,rt){var st=oe.record,Ct=oe.prefixCls,Rt=oe.columnsKey,Et=oe.fixedInfoList,Bt=oe.expandIconColumnIndex,we=oe.nestExpandable,Kt=oe.indentSize,mn=oe.expandIcon,fn=oe.expanded,cn=oe.hasNestChildren,ft=oe.onTriggerExpand,Ln=Rt[He],zn=Et[He],Bn;He===(Bt||0)&&we&&(Bn=C.createElement(C.Fragment,null,C.createElement("span",{style:{paddingLeft:"".concat(Kt*Qe,"px")},className:"".concat(Ct,"-row-indent indent-level-").concat(Qe)}),mn({prefixCls:Ct,expanded:fn,expandable:cn,record:st,onExpand:ft})));var Wn;return ge.onCell&&(Wn=ge.onCell(st,rt)),{key:Ln,fixedInfo:zn,appendCellNode:Bn,additionalCellProps:Wn||{}}}function xt(oe){var ge=oe.className,He=oe.style,Qe=oe.record,rt=oe.index,st=oe.renderIndex,Ct=oe.rowKey,Rt=oe.indent,Et=Rt===void 0?0:Rt,Bt=oe.rowComponent,we=oe.cellComponent,Kt=oe.scopeCellComponent,mn=Ge(Qe,Ct,rt,Et),fn=mn.prefixCls,cn=mn.flattenColumns,ft=mn.expandedRowClassName,Ln=mn.expandedRowRender,zn=mn.rowProps,Bn=mn.expanded,Wn=mn.rowSupportExpand,br=C.useState(!1),Sr=(0,X.Z)(br,2),pr=Sr[0],Or=Sr[1];C.useEffect(function(){Bn&&Or(!0)},[Bn]);var Br=C.createElement(Bt,(0,K.Z)({},zn,{"data-row-key":Ct,className:B()(ge,"".concat(fn,"-row"),"".concat(fn,"-row-level-").concat(Et),zn==null?void 0:zn.className),style:(0,de.Z)((0,de.Z)({},He),zn==null?void 0:zn.style)}),cn.map(function(Un,hr){var Ir=Un.render,Gr=Un.dataIndex,re=Un.className,l=yt(mn,Un,hr,Et,rt),d=l.key,h=l.fixedInfo,v=l.appendCellNode,N=l.additionalCellProps;return C.createElement(Ut,(0,K.Z)({className:re,ellipsis:Un.ellipsis,align:Un.align,scope:Un.rowScope,component:Un.rowScope?Kt:we,prefixCls:fn,key:d,record:Qe,index:rt,renderIndex:st,dataIndex:Gr,render:Ir,shouldCellUpdate:Un.shouldCellUpdate},h,{appendNode:v,additionalProps:N}))})),Gn;if(Wn&&(pr||Bn)){var mr=Ln(Qe,rt,Et+1,Bn),Yn=ft&&ft(Qe,rt,Et);Gn=C.createElement(Je,{expanded:Bn,className:B()("".concat(fn,"-expanded-row"),"".concat(fn,"-expanded-row-level-").concat(Et+1),Yn),prefixCls:fn,component:Bt,cellComponent:we,colSpan:cn.length,isEmpty:!1},mr)}return C.createElement(C.Fragment,null,Br,Gn)}xt.displayName="BodyRow";var dt=ne(xt);function kt(oe){var ge=oe.columnKey,He=oe.onColumnResize,Qe=C.useRef();return C.useEffect(function(){Qe.current&&He(ge,Qe.current.offsetWidth)},[]),C.createElement(ee.Z,{data:ge},C.createElement("td",{ref:Qe,style:{padding:0,border:0,height:0}},C.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function Tt(oe){var ge=oe.prefixCls,He=oe.columnsKey,Qe=oe.onColumnResize;return C.createElement("tr",{"aria-hidden":"true",className:"".concat(ge,"-measure-row"),style:{height:0,fontSize:0}},C.createElement(ee.Z.Collection,{onBatchResize:function(st){st.forEach(function(Ct){var Rt=Ct.data,Et=Ct.size;Qe(Rt,Et.offsetWidth)})}},He.map(function(rt){return C.createElement(kt,{key:rt,columnKey:rt,onColumnResize:Qe})})))}function w(oe){var ge=oe.data,He=oe.measureColumnWidth,Qe=I(R,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),rt=Qe.prefixCls,st=Qe.getComponent,Ct=Qe.onColumnResize,Rt=Qe.flattenColumns,Et=Qe.getRowKey,Bt=Qe.expandedKeys,we=Qe.childrenColumnName,Kt=Qe.emptyNode,mn=Oe(ge,we,Bt,Et),fn=C.useRef({renderWithProps:!1}),cn=st(["body","wrapper"],"tbody"),ft=st(["body","row"],"tr"),Ln=st(["body","cell"],"td"),zn=st(["body","cell"],"th"),Bn;ge.length?Bn=mn.map(function(br,Sr){var pr=br.record,Or=br.indent,Br=br.index,Gn=Et(pr,Sr);return C.createElement(dt,{key:Gn,rowKey:Gn,record:pr,index:Sr,renderIndex:Br,rowComponent:ft,cellComponent:Ln,scopeCellComponent:zn,getRowKey:Et,indent:Or})}):Bn=C.createElement(Je,{expanded:!0,className:"".concat(rt,"-placeholder"),prefixCls:rt,component:ft,cellComponent:Ln,colSpan:Rt.length,isEmpty:!0},Kt);var Wn=J(Rt);return C.createElement(g.Provider,{value:fn.current},C.createElement(cn,{className:"".concat(rt,"-tbody")},He&&C.createElement(Tt,{prefixCls:rt,columnsKey:Wn,onColumnResize:Ct}),Bn))}w.displayName="Body";var D=ne(w),bt=["expandable"],he="RC_TABLE_INTERNAL_COL_DEFINE";function Be(oe){var ge=oe.expandable,He=(0,_t.Z)(oe,bt),Qe;return"expandable"in oe?Qe=(0,de.Z)((0,de.Z)({},He),ge):Qe=He,Qe.showExpandColumn===!1&&(Qe.expandIconColumnIndex=-1),Qe}var pn=["columnType"];function We(oe){for(var ge=oe.colWidths,He=oe.columns,Qe=oe.columCount,rt=[],st=Qe||He.length,Ct=!1,Rt=st-1;Rt>=0;Rt-=1){var Et=ge[Rt],Bt=He&&He[Rt],we=Bt&&Bt[he];if(Et||we||Ct){var Kt=we||{},mn=Kt.columnType,fn=(0,_t.Z)(Kt,pn);rt.unshift(C.createElement("col",(0,K.Z)({key:Rt,style:{width:Et}},fn))),Ct=!0}}return C.createElement("colgroup",null,rt)}var et=We,Xe=f(19127),Se=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Ie(oe,ge){return(0,C.useMemo)(function(){for(var He=[],Qe=0;Qe<ge;Qe+=1){var rt=oe[Qe];if(rt!==void 0)He[Qe]=rt;else return null}return He},[oe.join("_"),ge])}var ze=C.forwardRef(function(oe,ge){var He=oe.className,Qe=oe.noData,rt=oe.columns,st=oe.flattenColumns,Ct=oe.colWidths,Rt=oe.columCount,Et=oe.stickyOffsets,Bt=oe.direction,we=oe.fixHeader,Kt=oe.stickyTopOffset,mn=oe.stickyBottomOffset,fn=oe.stickyClassName,cn=oe.onScroll,ft=oe.maxContentScroll,Ln=oe.children,zn=(0,_t.Z)(oe,Se),Bn=I(R,["prefixCls","scrollbarSize","isSticky"]),Wn=Bn.prefixCls,br=Bn.scrollbarSize,Sr=Bn.isSticky,pr=Sr&&!we?0:br,Or=C.useRef(null),Br=C.useCallback(function(re){(0,S.mH)(ge,re),(0,S.mH)(Or,re)},[]);C.useEffect(function(){var re;function l(d){var h=d,v=h.currentTarget,N=h.deltaX;N&&(cn({currentTarget:v,scrollLeft:v.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 Gn=C.useMemo(function(){return st.every(function(re){return re.width})},[st]),mr=st[st.length-1],Yn={fixed:mr?mr.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Wn,"-cell-scrollbar")}}},Un=(0,C.useMemo)(function(){return pr?[].concat((0,Xe.Z)(rt),[Yn]):rt},[pr,rt]),hr=(0,C.useMemo)(function(){return pr?[].concat((0,Xe.Z)(st),[Yn]):st},[pr,st]),Ir=(0,C.useMemo)(function(){var re=Et.right,l=Et.left;return(0,de.Z)((0,de.Z)({},Et),{},{left:Bt==="rtl"?[].concat((0,Xe.Z)(l.map(function(d){return d+pr})),[0]):l,right:Bt==="rtl"?re:[].concat((0,Xe.Z)(re.map(function(d){return d+pr})),[0]),isSticky:Sr})},[pr,Et,Sr]),Gr=Ie(Ct,Rt);return C.createElement("div",{style:(0,de.Z)({overflow:"hidden"},Sr?{top:Kt,bottom:mn}:{}),ref:Br,className:B()(He,(0,ae.Z)({},fn,!!fn))},C.createElement("table",{style:{tableLayout:"fixed",visibility:Qe||Gr?null:"hidden"}},(!Qe||!ft||Gn)&&C.createElement(et,{colWidths:Gr?[].concat((0,Xe.Z)(Gr),[pr]):[],columCount:Rt+1,columns:hr}),Ln((0,de.Z)((0,de.Z)({},zn),{},{stickyOffsets:Ir,columns:Un,flattenColumns:hr}))))});ze.displayName="FixedHolder";var qe=C.memo(ze);function be(oe){var ge=oe.cells,He=oe.stickyOffsets,Qe=oe.flattenColumns,rt=oe.rowComponent,st=oe.cellComponent,Ct=oe.tdCellComponent,Rt=oe.onHeaderRow,Et=oe.index,Bt=I(R,["prefixCls","direction"]),we=Bt.prefixCls,Kt=Bt.direction,mn;Rt&&(mn=Rt(ge.map(function(cn){return cn.column}),Et));var fn=J(ge.map(function(cn){return cn.column}));return C.createElement(rt,mn,ge.map(function(cn,ft){var Ln=cn.column,zn=qt(cn.colStart,cn.colEnd,Qe,He,Kt,Ln),Bn;return Ln&&Ln.onHeaderCell&&(Bn=cn.column.onHeaderCell(Ln)),C.createElement(Ut,(0,K.Z)({},cn,{scope:Ln.title?cn.colSpan>1?"colgroup":"col":null,ellipsis:Ln.ellipsis,align:Ln.align,component:Ln.title?st:Ct,prefixCls:we,key:fn[ft]},zn,{additionalProps:Bn,rowType:"header"}))}))}be.displayName="HeaderRow";var en=be;function $e(oe){var ge=[];function He(Ct,Rt){var Et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ge[Et]=ge[Et]||[];var Bt=Rt,we=Ct.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=He(cn,Bt,Et+1).reduce(function(ft,Ln){return ft+Ln},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,ge[Et].push(mn),Bt+=fn,fn});return we}He(oe,0);for(var Qe=ge.length,rt=function(Rt){ge[Rt].forEach(function(Et){!("rowSpan"in Et)&&!Et.hasSubColumns&&(Et.rowSpan=Qe-Rt)})},st=0;st<Qe;st+=1)rt(st);return ge}function bn(oe){var ge=oe.stickyOffsets,He=oe.columns,Qe=oe.flattenColumns,rt=oe.onHeaderRow,st=I(R,["prefixCls","getComponent"]),Ct=st.prefixCls,Rt=st.getComponent,Et=C.useMemo(function(){return $e(He)},[He]),Bt=Rt(["header","wrapper"],"thead"),we=Rt(["header","row"],"tr"),Kt=Rt(["header","cell"],"th"),mn=Rt(["header","cell"],"td");return C.createElement(Bt,{className:"".concat(Ct,"-thead")},Et.map(function(fn,cn){var ft=C.createElement(en,{key:cn,flattenColumns:Qe,cells:fn,stickyOffsets:ge,rowComponent:we,cellComponent:Kt,tdCellComponent:mn,onHeaderRow:rt,index:cn});return ft}))}var Cn=ne(bn),jt=f(11592);function Jt(oe){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof ge=="number"?ge:ge.endsWith("%")?oe*parseFloat(ge)/100:null}function wt(oe,ge){return C.useMemo(function(){if(ge&&ge>0){var He=0,Qe=0;oe.forEach(function(Bt){var we=Jt(ge,Bt.width);we?He+=we:Qe+=1});var rt=ge-He,st=Qe,Ct=rt/Qe,Rt=0,Et=oe.map(function(Bt){var we=(0,de.Z)({},Bt),Kt=Jt(ge,we.width);if(Kt)we.width=Kt;else{var mn=Math.floor(Ct);we.width=st===1?rt:mn,rt-=mn,st-=1}return Rt+=we.width,we});return[Et,Rt]}return[oe,ge]},[oe,ge])}var Pt=["children"],Ve=["fixed"];function At(oe){return(0,jt.Z)(oe).filter(function(ge){return C.isValidElement(ge)}).map(function(ge){var He=ge.key,Qe=ge.props,rt=Qe.children,st=(0,_t.Z)(Qe,Pt),Ct=(0,de.Z)({key:He},st);return rt&&(Ct.children=At(rt)),Ct})}function St(oe){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return oe.filter(function(He){return He&&(0,me.Z)(He)==="object"}).reduce(function(He,Qe,rt){var st=Qe.fixed,Ct=st===!0?"left":st,Rt="".concat(ge,"-").concat(rt),Et=Qe.children;return Et&&Et.length>0?[].concat((0,Xe.Z)(He),(0,Xe.Z)(St(Et,Rt).map(function(Bt){return(0,de.Z)({fixed:Ct},Bt)}))):[].concat((0,Xe.Z)(He),[(0,de.Z)((0,de.Z)({key:Rt},Qe),{},{fixed:Ct})])},[])}function Ue(oe){for(var ge=!0,He=0;He<oe.length;He+=1){var Qe=oe[He];if(ge&&Qe.fixed!=="left")ge=!1;else if(!ge&&Qe.fixed==="left"){warning(!1,"Index ".concat(He-1," of `columns` missing `fixed='left'` prop."));break}}for(var rt=!0,st=oe.length-1;st>=0;st-=1){var Ct=oe[st];if(rt&&Ct.fixed!=="right")rt=!1;else if(!rt&&Ct.fixed==="right"){warning(!1,"Index ".concat(st+1," of `columns` missing `fixed='right'` prop."));break}}}function Ce(oe){return oe.map(function(ge){var He=ge.fixed,Qe=(0,_t.Z)(ge,Ve),rt=He;return He==="left"?rt="right":He==="right"&&(rt="left"),(0,de.Z)({fixed:rt},Qe)})}function mt(oe,ge){var He=oe.prefixCls,Qe=oe.columns,rt=oe.children,st=oe.expandable,Ct=oe.expandedKeys,Rt=oe.columnTitle,Et=oe.getRowKey,Bt=oe.onTriggerExpand,we=oe.expandIcon,Kt=oe.rowExpandable,mn=oe.expandIconColumnIndex,fn=oe.direction,cn=oe.expandRowByClick,ft=oe.columnWidth,Ln=oe.fixed,zn=oe.scrollWidth,Bn=C.useMemo(function(){return Qe||At(rt)},[Qe,rt]),Wn=C.useMemo(function(){if(st){var mr,Yn=Bn.slice();if(!Yn.includes(y)){var Un=mn||0;Un>=0&&Yn.splice(Un,0,y)}var hr=Yn.indexOf(y);Yn=Yn.filter(function(l,d){return l!==y||d===hr});var Ir=Bn[hr],Gr;(Ln==="left"||Ln)&&!mn?Gr="left":(Ln==="right"||Ln)&&mn===Bn.length?Gr="right":Gr=Ir?Ir.fixed:null;var re=(mr={},(0,ae.Z)(mr,he,{className:"".concat(He,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,ae.Z)(mr,"title",Rt),(0,ae.Z)(mr,"fixed",Gr),(0,ae.Z)(mr,"className","".concat(He,"-row-expand-icon-cell")),(0,ae.Z)(mr,"width",ft),(0,ae.Z)(mr,"render",function(d,h,v){var N=Et(h,v),le=Ct.has(N),Ne=Kt?Kt(h):!0,Me=we({prefixCls:He,expanded:le,expandable:Ne,record:h,onExpand:Bt});return cn?C.createElement("span",{onClick:function(gt){return gt.stopPropagation()}},Me):Me}),mr);return Yn.map(function(l){return l===y?re:l})}return Bn.filter(function(l){return l!==y})},[st,Bn,Et,Ct,we,fn]),br=C.useMemo(function(){var mr=Wn;return ge&&(mr=ge(mr)),mr.length||(mr=[{render:function(){return null}}]),mr},[ge,Wn,fn]),Sr=C.useMemo(function(){return fn==="rtl"?Ce(St(br)):St(br)},[br,fn,zn]),pr=wt(Sr,zn),Or=(0,X.Z)(pr,2),Br=Or[0],Gn=Or[1];return[br,Br,Gn]}var pt=mt;function Dt(oe){var ge,He=oe.prefixCls,Qe=oe.record,rt=oe.onExpand,st=oe.expanded,Ct=oe.expandable,Rt="".concat(He,"-row-expand-icon");if(!Ct)return C.createElement("span",{className:B()(Rt,"".concat(He,"-row-spaced"))});var Et=function(we){rt(Qe,we),we.stopPropagation()};return C.createElement("span",{className:B()(Rt,(ge={},(0,ae.Z)(ge,"".concat(He,"-row-expanded"),st),(0,ae.Z)(ge,"".concat(He,"-row-collapsed"),!st),ge)),onClick:Et})}function zt(oe,ge,He){var Qe=[];function rt(st){(st||[]).forEach(function(Ct,Rt){Qe.push(ge(Ct,Rt)),rt(Ct[He])})}return rt(oe),Qe}function tn(oe,ge,He){var Qe=Be(oe),rt=Qe.expandIcon,st=Qe.expandedRowKeys,Ct=Qe.defaultExpandedRowKeys,Rt=Qe.defaultExpandAllRows,Et=Qe.expandedRowRender,Bt=Qe.onExpand,we=Qe.onExpandedRowsChange,Kt=Qe.childrenColumnName,mn=rt||Dt,fn=Kt||"children",cn=C.useMemo(function(){return Et?"row":oe.expandable&&oe.internalHooks===L&&oe.expandable.__PARENT_RENDER_ICON__||ge.some(function(Sr){return Sr&&(0,me.Z)(Sr)==="object"&&Sr[fn]})?"nest":!1},[!!Et,ge]),ft=C.useState(function(){return Ct||(Rt?zt(ge,He,fn):[])}),Ln=(0,X.Z)(ft,2),zn=Ln[0],Bn=Ln[1],Wn=C.useMemo(function(){return new Set(st||zn||[])},[st,zn]),br=C.useCallback(function(Sr){var pr=He(Sr,ge.indexOf(Sr)),Or,Br=Wn.has(pr);Br?(Wn.delete(pr),Or=(0,Xe.Z)(Wn)):Or=[].concat((0,Xe.Z)(Wn),[pr]),Bn(Or),Bt&&Bt(!Br,Sr),we&&we(Or)},[He,Wn,ge,Bt,we]);return[Qe,cn,Wn,mn,fn,br]}function Ht(oe,ge,He,Qe){var rt=oe.map(function(st,Ct){return qt(Ct,Ct,oe,ge,He,Qe==null?void 0:Qe[Ct])});return(0,fe.Z)(function(){return rt},[rt],function(st,Ct){return!(0,q.Z)(st,Ct)})}function sn(oe){var ge=(0,C.useRef)(oe),He=(0,C.useState)({}),Qe=(0,X.Z)(He,2),rt=Qe[1],st=(0,C.useRef)(null),Ct=(0,C.useRef)([]);function Rt(Et){Ct.current.push(Et);var Bt=Promise.resolve();st.current=Bt,Bt.then(function(){if(st.current===Bt){var we=Ct.current,Kt=ge.current;Ct.current=[],we.forEach(function(mn){ge.current=mn(ge.current)}),st.current=null,Kt!==ge.current&&rt({})}})}return(0,C.useEffect)(function(){return function(){st.current=null}},[]),[ge.current,Rt]}function dn(oe){var ge=(0,C.useRef)(oe||null),He=(0,C.useRef)();function Qe(){window.clearTimeout(He.current)}function rt(Ct){ge.current=Ct,Qe(),He.current=window.setTimeout(function(){ge.current=null,He.current=void 0},100)}function st(){return ge.current}return(0,C.useEffect)(function(){return Qe},[]),[rt,st]}function Mt(){var oe=C.useState(-1),ge=(0,X.Z)(oe,2),He=ge[0],Qe=ge[1],rt=C.useState(-1),st=(0,X.Z)(rt,2),Ct=st[0],Rt=st[1],Et=C.useCallback(function(Bt,we){Qe(Bt),Rt(we)},[]);return[He,Ct,Et]}var Lt=f(47273),un=(0,Lt.Z)()?window:null;function ln(oe,ge){var He=(0,me.Z)(oe)==="object"?oe:{},Qe=He.offsetHeader,rt=Qe===void 0?0:Qe,st=He.offsetSummary,Ct=st===void 0?0:st,Rt=He.offsetScroll,Et=Rt===void 0?0:Rt,Bt=He.getContainer,we=Bt===void 0?function(){return un}:Bt,Kt=we()||un;return C.useMemo(function(){var mn=!!oe;return{isSticky:mn,stickyClassName:mn?"".concat(ge,"-sticky-holder"):"",offsetHeader:rt,offsetSummary:Ct,offsetScroll:Et,container:Kt}},[Et,rt,Ct,ge,Kt])}function hn(oe,ge,He){var Qe=(0,C.useMemo)(function(){for(var rt=[],st=[],Ct=0,Rt=0,Et=0;Et<ge;Et+=1)if(He==="rtl"){st[Et]=Rt,Rt+=oe[Et]||0;var Bt=ge-Et-1;rt[Bt]=Ct,Ct+=oe[Bt]||0}else{rt[Et]=Ct,Ct+=oe[Et]||0;var we=ge-Et-1;st[we]=Rt,Rt+=oe[we]||0}return{left:rt,right:st}},[oe,ge,He]);return Qe}var An=hn;function tr(oe){var ge=oe.className,He=oe.children;return C.createElement("div",{className:ge},He)}var Nn=tr,rn=f(8224),ht=f(55468),vt=function(ge,He){var Qe,rt,st=ge.scrollBodyRef,Ct=ge.onScroll,Rt=ge.offsetScroll,Et=ge.container,Bt=I(R,"prefixCls"),we=((Qe=st.current)===null||Qe===void 0?void 0:Qe.scrollWidth)||0,Kt=((rt=st.current)===null||rt===void 0?void 0:rt.clientWidth)||0,mn=we&&Kt*(Kt/we),fn=C.useRef(),cn=sn({scrollLeft:0,isHiddenScrollBar:!1}),ft=(0,X.Z)(cn,2),Ln=ft[0],zn=ft[1],Bn=C.useRef({delta:0,x:0}),Wn=C.useState(!1),br=(0,X.Z)(Wn,2),Sr=br[0],pr=br[1],Or=function(){pr(!1)},Br=function(hr){hr.persist(),Bn.current.delta=hr.pageX-Ln.scrollLeft,Bn.current.x=0,pr(!0),hr.preventDefault()},Gn=function(hr){var Ir,Gr=hr||((Ir=window)===null||Ir===void 0?void 0:Ir.event),re=Gr.buttons;if(!Sr||re===0){Sr&&pr(!1);return}var l=Bn.current.x+hr.pageX-Bn.current.x-Bn.current.delta;l<=0&&(l=0),l+mn>=Kt&&(l=Kt-mn),Ct({scrollLeft:l/Kt*(we+2)}),Bn.current.x=hr.pageX},mr=function(){if(st.current){var hr=(0,ht.os)(st.current).top,Ir=hr+st.current.offsetHeight,Gr=Et===window?document.documentElement.scrollTop+window.innerHeight:(0,ht.os)(Et).top+Et.clientHeight;Ir-(0,_e.Z)()<=Gr||hr>=Gr-Rt?zn(function(re){return(0,de.Z)((0,de.Z)({},re),{},{isHiddenScrollBar:!0})}):zn(function(re){return(0,de.Z)((0,de.Z)({},re),{},{isHiddenScrollBar:!1})})}},Yn=function(hr){zn(function(Ir){return(0,de.Z)((0,de.Z)({},Ir),{},{scrollLeft:hr/we*Kt||0})})};return C.useImperativeHandle(He,function(){return{setScrollLeft:Yn}}),C.useEffect(function(){var Un=(0,rn.Z)(document.body,"mouseup",Or,!1),hr=(0,rn.Z)(document.body,"mousemove",Gn,!1);return mr(),function(){Un.remove(),hr.remove()}},[mn,Sr]),C.useEffect(function(){var Un=(0,rn.Z)(Et,"scroll",mr,!1),hr=(0,rn.Z)(window,"resize",mr,!1);return function(){Un.remove(),hr.remove()}},[Et]),C.useEffect(function(){Ln.isHiddenScrollBar||zn(function(Un){var hr=st.current;return hr?(0,de.Z)((0,de.Z)({},Un),{},{scrollLeft:hr.scrollLeft/hr.scrollWidth*hr.clientWidth}):Un})},[Ln.isHiddenScrollBar]),we<=Kt||!mn||Ln.isHiddenScrollBar?null:C.createElement("div",{style:{height:(0,_e.Z)(),width:Kt,bottom:Rt},className:"".concat(Bt,"-sticky-scroll")},C.createElement("div",{onMouseDown:Br,ref:fn,className:B()("".concat(Bt,"-sticky-scroll-bar"),(0,ae.Z)({},"".concat(Bt,"-sticky-scroll-bar-active"),Sr)),style:{width:"".concat(mn,"px"),transform:"translate3d(".concat(Ln.scrollLeft,"px, 0, 0)")}}))},It=C.forwardRef(vt);function Vt(oe){return null}var Nt=Vt;function $t(oe){return null}var Zt=$t,vn="rc-table",_n=[],kn={};function qn(){return"No Data"}function rr(oe){var ge,He=(0,de.Z)({rowKey:"key",prefixCls:vn,emptyText:qn},oe),Qe=He.prefixCls,rt=He.className,st=He.rowClassName,Ct=He.style,Rt=He.data,Et=He.rowKey,Bt=He.scroll,we=He.tableLayout,Kt=He.direction,mn=He.title,fn=He.footer,cn=He.summary,ft=He.caption,Ln=He.id,zn=He.showHeader,Bn=He.components,Wn=He.emptyText,br=He.onRow,Sr=He.onHeaderRow,pr=He.internalHooks,Or=He.transformColumns,Br=He.internalRefs,Gn=He.tailor,mr=He.sticky,Yn=Rt||_n,Un=!!Yn.length,hr=pr===L,Ir=C.useCallback(function(hi,Hi){return(0,Y.Z)(Bn,hi)||Hi},[Bn]),Gr=C.useMemo(function(){return typeof Et=="function"?Et:function(hi){var Hi=hi&&hi[Et];return Hi}},[Et]),re=Ir(["body"]),l=Mt(),d=(0,X.Z)(l,3),h=d[0],v=d[1],N=d[2],le=tn(He,Yn,Gr),Ne=(0,X.Z)(le,6),Me=Ne[0],tt=Ne[1],gt=Ne[2],Ft=Ne[3],Yt=Ne[4],Sn=Ne[5],Xt=Bt==null?void 0:Bt.x,on=C.useState(0),gn=(0,X.Z)(on,2),Fn=gn[0],ar=gn[1],In=pt((0,de.Z)((0,de.Z)((0,de.Z)({},He),Me),{},{expandable:!!Me.expandedRowRender,columnTitle:Me.columnTitle,expandedKeys:gt,getRowKey:Gr,onTriggerExpand:Sn,expandIcon:Ft,expandIconColumnIndex:Me.expandIconColumnIndex,direction:Kt,scrollWidth:hr&&Gn&&typeof Xt=="number"?Xt:null}),hr?Or:null),nr=(0,X.Z)(In,3),Er=nr[0],_r=nr[1],ri=nr[2],ii=ri!=null?ri:Xt,Wi=C.useMemo(function(){return{columns:Er,flattenColumns:_r}},[Er,_r]),ci=C.useRef(),ai=C.useRef(),bi=C.useRef(),qi=C.useRef(),xa=C.useRef(),Kr=C.useState(!1),Xr=(0,X.Z)(Kr,2),Jr=Xr[0],Ri=Xr[1],ea=C.useState(!1),jr=(0,X.Z)(ea,2),ra=jr[0],ta=jr[1],Aa=sn(new Map),Ma=(0,X.Z)(Aa,2),Ea=Ma[0],Ss=Ma[1],Xa=J(_r),Na=Xa.map(function(hi){return Ea.get(hi)}),ha=C.useMemo(function(){return Na},[Na.join("_")]),pa=An(ha,_r.length,Kt),$i=Bt&&Le(Bt.y),Ai=Bt&&Le(ii)||!!Me.fixed,rs=Ai&&_r.some(function(hi){var Hi=hi.fixed;return Hi}),Fs=C.useRef(),es=ln(mr,Qe),$a=es.isSticky,io=es.offsetHeader,ao=es.offsetSummary,fi=es.offsetScroll,Li=es.stickyClassName,ma=es.container,Bi=C.useMemo(function(){return cn==null?void 0:cn(Yn)},[cn,Yn]),Da=($i||$a)&&C.isValidElement(Bi)&&Bi.type===O&&Bi.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(hi,Hi){(0,W.Z)(ci.current)&&Ss(function(Ya){if(Ya.get(hi)!==Hi){var Es=new Map(Ya);return Es.set(hi,Hi),Es}return Ya})},[]),qo=dn(null),oo=(0,X.Z)(qo,2),wo=oo[0],Bo=oo[1];function lo(hi,Hi){Hi&&(typeof Hi=="function"?Hi(hi):Hi.scrollLeft!==hi&&(Hi.scrollLeft=hi,Hi.scrollLeft!==hi&&setTimeout(function(){Hi.scrollLeft=hi},0)))}var xs=(0,Ee.Z)(function(hi){var Hi=hi.currentTarget,Ya=hi.scrollLeft,Es=Kt==="rtl",_s=typeof Ya=="number"?Ya:Hi.scrollLeft,Fo=Hi||kn;if(!Bo()||Bo()===Fo){var Io;wo(Fo),lo(_s,ai.current),lo(_s,bi.current),lo(_s,xa.current),lo(_s,(Io=Fs.current)===null||Io===void 0?void 0:Io.setScrollLeft)}var ko=Hi||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(Hi){var Ya=Hi.width;Ya!==Fn&&(Co(),ar(ci.current?ci.current.offsetWidth:Ya))},Ko=C.useRef(!1);C.useEffect(function(){Ko.current&&Co()},[Ai,Rt,Er.length]),C.useEffect(function(){Ko.current=!0},[]);var zo=C.useState(0),Ho=(0,X.Z)(zo,2),Bs=Ho[0],Ro=Ho[1],jo=C.useState(!0),Wo=(0,X.Z)(jo,2),uo=Wo[0],Vo=Wo[1];C.useEffect(function(){(!Gn||!hr)&&(bi.current instanceof Element?Ro((0,_e.o)(bi.current).width):Ro((0,_e.o)(qi.current).width)),Vo((0,j.G)("position","sticky"))},[]),C.useEffect(function(){hr&&Br&&(Br.body.current=bi.current)});var To=C.useCallback(function(hi){return C.createElement(C.Fragment,null,C.createElement(Cn,hi),Da==="top"&&C.createElement(k,hi,Bi))},[Da,Bi]),Xo=C.useCallback(function(hi){return C.createElement(k,hi,Bi)},[Bi]),Go=Ir(["table"],"table"),co=C.useMemo(function(){return we||(rs?ii==="max-content"?"auto":"fixed":$i||$a||_r.some(function(hi){var Hi=hi.ellipsis;return Hi})?"fixed":"auto")},[$i,rs,_r,we,$a]),fo,ho={colWidths:ha,columCount:_r.length,stickyOffsets:pa,onHeaderRow:Sr,fixHeader:$i,scroll:Bt},Zo=C.useMemo(function(){return Un?null:typeof Wn=="function"?Wn():Wn},[Un,Wn]),Do=C.createElement(D,{data:Yn,measureColumnWidth:$i||Ai||$a}),po=C.createElement(et,{colWidths:_r.map(function(hi){var Hi=hi.width;return Hi}),columns:_r}),$o=ft!=null?C.createElement("caption",{className:"".concat(Qe,"-caption")},ft):void 0,mo=(0,Ke.Z)(He,{data:!0}),Is=(0,Ke.Z)(He,{aria:!0});if($i||$a){var ja;typeof re=="function"?(ja=re(Yn,{scrollbarSize:Bs,ref:bi,onScroll:xs}),ho.colWidths=_r.map(function(hi,Hi){var Ya=hi.width,Es=Hi===_r.length-1?Ya-Bs:Ya;return typeof Es=="number"&&!Number.isNaN(Es)?Es:0})):ja=C.createElement("div",{style:(0,de.Z)((0,de.Z)({},Pa),Ka),onScroll:xs,ref:bi,className:B()("".concat(Qe,"-body"))},C.createElement(Go,(0,K.Z)({style:(0,de.Z)((0,de.Z)({},gs),{},{tableLayout:co})},Is),$o,po,Do,!Da&&Bi&&C.createElement(k,{stickyOffsets:pa,flattenColumns:_r,columns:Er},Bi)));var Fa=(0,de.Z)((0,de.Z)((0,de.Z)({noData:!Yn.length,maxContentScroll:Ai&&ii==="max-content"},ho),Wi),{},{direction:Kt,stickyClassName:Li,onScroll:xs});fo=C.createElement(C.Fragment,null,zn!==!1&&C.createElement(qe,(0,K.Z)({},Fa,{stickyTopOffset:io,className:"".concat(Qe,"-header"),ref:ai}),To),ja,Da&&Da!=="top"&&C.createElement(qe,(0,K.Z)({},Fa,{stickyBottomOffset:ao,className:"".concat(Qe,"-summary"),ref:xa}),Xo),$a&&C.createElement(It,{ref:Fs,offsetScroll:fi,scrollBodyRef:bi,onScroll:xs,container:ma}))}else fo=C.createElement("div",{style:(0,de.Z)((0,de.Z)({},Pa),Ka),className:B()("".concat(Qe,"-content")),onScroll:xs,ref:bi},C.createElement(Go,(0,K.Z)({style:(0,de.Z)((0,de.Z)({},gs),{},{tableLayout:co})},Is),$o,po,zn!==!1&&C.createElement(Cn,(0,K.Z)({},ho,Wi)),Do,Bi&&C.createElement(k,{stickyOffsets:pa,flattenColumns:_r,columns:Er},Bi)));var $s=C.createElement("div",(0,K.Z)({className:B()(Qe,rt,(ge={},(0,ae.Z)(ge,"".concat(Qe,"-rtl"),Kt==="rtl"),(0,ae.Z)(ge,"".concat(Qe,"-ping-left"),Jr),(0,ae.Z)(ge,"".concat(Qe,"-ping-right"),ra),(0,ae.Z)(ge,"".concat(Qe,"-layout-fixed"),we==="fixed"),(0,ae.Z)(ge,"".concat(Qe,"-fixed-header"),$i),(0,ae.Z)(ge,"".concat(Qe,"-fixed-column"),rs),(0,ae.Z)(ge,"".concat(Qe,"-scroll-horizontal"),Ai),(0,ae.Z)(ge,"".concat(Qe,"-has-fix-left"),_r[0]&&_r[0].fixed),(0,ae.Z)(ge,"".concat(Qe,"-has-fix-right"),_r[_r.length-1]&&_r[_r.length-1].fixed==="right"),ge)),style:Ct,id:Ln,ref:ci},mo),mn&&C.createElement(Nn,{className:"".concat(Qe,"-title")},mn(Yn)),C.createElement("div",{ref:qi,className:"".concat(Qe,"-container")},fo),fn&&C.createElement(Nn,{className:"".concat(Qe,"-footer")},fn(Yn)));Ai&&($s=C.createElement(ee.Z,{onResize:Mo},$s));var As=Ht(_r,pa,Kt,Er),el=C.useMemo(function(){return{scrollX:ii,prefixCls:Qe,getComponent:Ir,scrollbarSize:Bs,direction:Kt,fixedInfoList:As,isSticky:$a,supportSticky:uo,componentWidth:Fn,fixHeader:$i,fixColumn:rs,horizonScroll:Ai,tableLayout:co,rowClassName:st,expandedRowClassName:Me.expandedRowClassName,expandIcon:Ft,expandableType:tt,expandRowByClick:Me.expandRowByClick,expandedRowRender:Me.expandedRowRender,onTriggerExpand:Sn,expandIconColumnIndex:Me.expandIconColumnIndex,indentSize:Me.indentSize,allColumnsFixedLeft:_r.every(function(hi){return hi.fixed==="left"}),emptyNode:Zo,columns:Er,flattenColumns:_r,onColumnResize:so,hoverStartRow:h,hoverEndRow:v,onHover:N,rowExpandable:Me.rowExpandable,onRow:br,getRowKey:Gr,expandedKeys:gt,childrenColumnName:Yt}},[ii,Qe,Ir,Bs,Kt,As,$a,uo,Fn,$i,rs,Ai,co,st,Me.expandedRowClassName,Ft,tt,Me.expandRowByClick,Me.expandedRowRender,Sn,Me.expandIconColumnIndex,Me.indentSize,Zo,Er,_r,so,h,v,N,Me.rowExpandable,br,Gr,gt,Yt]);return C.createElement(R.Provider,{value:el},$s)}function sr(oe){return V(rr,oe)}var wn=sr();wn.EXPAND_COLUMN=y,wn.INTERNAL_HOOKS=L,wn.Column=Nt,wn.ColumnGroup=Zt,wn.Summary=_;var En=wn,gr=f(24916),$n=a(null),Cr=a(null);function Xn(oe,ge,He){var Qe=ge||1;return He[oe+Qe]-(He[oe]||0)}function lr(oe){var ge=oe.rowInfo,He=oe.column,Qe=oe.colIndex,rt=oe.indent,st=oe.index,Ct=oe.renderIndex,Rt=oe.record,Et=oe.style,Bt=oe.className,we=oe.inverse,Kt=oe.getHeight,mn=He.render,fn=He.dataIndex,cn=He.className,ft=He.width,Ln=I(Cr,["columnsOffset"]),zn=Ln.columnsOffset,Bn=yt(ge,He,Qe,rt,st),Wn=Bn.key,br=Bn.fixedInfo,Sr=Bn.appendCellNode,pr=Bn.additionalCellProps,Or=pr.style,Br=pr.colSpan,Gn=Br===void 0?1:Br,mr=pr.rowSpan,Yn=mr===void 0?1:mr,Un=Qe-1,hr=Xn(Un,Gn,zn),Ir=Gn>1?ft-hr:0,Gr=(0,de.Z)((0,de.Z)((0,de.Z)({},Or),Et),{},{flex:"0 0 ".concat(hr,"px"),width:"".concat(hr,"px"),marginRight:Ir,pointerEvents:"auto"}),re=C.useMemo(function(){return we?Yn<=1:Gn===0||Yn===0||Yn>1},[Yn,Gn,we]);re?Gr.visibility="hidden":we&&(Gr.height=Kt==null?void 0:Kt(Yn));var l=re?function(){return null}:mn,d={};return(Yn===0||Gn===0)&&(d.rowSpan=1,d.colSpan=1),C.createElement(Ut,(0,K.Z)({className:B()(cn,Bt),ellipsis:He.ellipsis,align:He.align,scope:He.rowScope,component:"div",prefixCls:ge.prefixCls,key:Wn,record:Rt,index:st,renderIndex:Ct,dataIndex:fn,render:l,shouldCellUpdate:He.shouldCellUpdate},br,{appendNode:Sr,additionalProps:(0,de.Z)((0,de.Z)({},pr),{},{style:Gr},d)}))}var yr=lr,ir=["data","index","className","rowKey","style","extra","getHeight"],Fr=C.forwardRef(function(oe,ge){var He=oe.data,Qe=oe.index,rt=oe.className,st=oe.rowKey,Ct=oe.style,Rt=oe.extra,Et=oe.getHeight,Bt=(0,_t.Z)(oe,ir),we=He.record,Kt=He.indent,mn=He.index,fn=I(R,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),cn=fn.scrollX,ft=fn.flattenColumns,Ln=fn.prefixCls,zn=fn.fixColumn,Bn=fn.componentWidth,Wn=Ge(we,st,Qe,Kt),br=Wn.rowSupportExpand,Sr=Wn.expanded,pr=Wn.rowProps,Or=Wn.expandedRowRender,Br=Wn.expandedRowClassName,Gn;if(br&&Sr){var mr=Or(we,Qe,Kt+1,Sr),Yn=Br==null?void 0:Br(we,Qe,Kt),Un={};zn&&(Un={style:(0,ae.Z)({},"--virtual-width","".concat(Bn,"px"))});var hr="".concat(Ln,"-expanded-row-cell");Gn=C.createElement("div",{className:B()("".concat(Ln,"-expanded-row"),"".concat(Ln,"-expanded-row-level-").concat(Kt+1),Yn)},C.createElement(Ut,{component:"div",prefixCls:Ln,className:B()(hr,(0,ae.Z)({},"".concat(hr,"-fixed"),zn)),additionalProps:Un},mr))}var Ir=(0,de.Z)((0,de.Z)({},Ct),{},{width:cn});Rt&&(Ir.position="absolute",Ir.pointerEvents="none");var Gr=C.createElement("div",(0,K.Z)({},pr,Bt,{ref:br?null:ge,className:B()(rt,"".concat(Ln,"-row"),pr==null?void 0:pr.className,(0,ae.Z)({},"".concat(Ln,"-row-extra"),Rt)),style:(0,de.Z)((0,de.Z)({},Ir),pr==null?void 0:pr.style)}),ft.map(function(re,l){return C.createElement(yr,{key:l,rowInfo:Wn,column:re,colIndex:l,indent:Kt,index:Qe,renderIndex:mn,record:we,inverse:Rt,getHeight:Et})}));return br?C.createElement("div",{ref:ge},Gr,Gn):Gr}),qr=ne(Fr),Jn=qr,Rn=C.forwardRef(function(oe,ge){var He=oe.data,Qe=oe.onScroll,rt=I(R,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),st=rt.flattenColumns,Ct=rt.onColumnResize,Rt=rt.getRowKey,Et=rt.expandedKeys,Bt=rt.prefixCls,we=rt.childrenColumnName,Kt=rt.emptyNode,mn=rt.scrollX,fn=I($n),cn=fn.scrollY,ft=fn.listItemHeight,Ln=C.useRef(),zn=Oe(He,we,Et,Rt),Bn=C.useMemo(function(){var Gn=0;return st.map(function(mr){var Yn=mr.width,Un=mr.key;return Gn+=Yn,[Un,Yn,Gn]})},[st]),Wn=C.useMemo(function(){return Bn.map(function(Gn){return Gn[2]})},[Bn]);C.useEffect(function(){Bn.forEach(function(Gn){var mr=(0,X.Z)(Gn,2),Yn=mr[0],Un=mr[1];Ct(Yn,Un)})},[Bn]),C.useImperativeHandle(ge,function(){var Gn={};return Object.defineProperty(Gn,"scrollLeft",{get:function(){var Yn;return((Yn=Ln.current)===null||Yn===void 0?void 0:Yn.getScrollInfo().x)||0},set:function(Yn){var Un;(Un=Ln.current)===null||Un===void 0||Un.scrollTo({left:Yn})}}),Gn});var br=function(mr,Yn){var Un,hr=(Un=zn[Yn])===null||Un===void 0?void 0:Un.record,Ir=mr.onCell;if(Ir){var Gr,re=Ir(hr,Yn);return(Gr=re==null?void 0:re.rowSpan)!==null&&Gr!==void 0?Gr:1}return 1},Sr=function(mr){var Yn=mr.start,Un=mr.end,hr=mr.getSize,Ir=mr.offsetY;if(Un<0)return null;for(var Gr=st.filter(function(Xt){return br(Xt,Yn)===0}),re=Yn,l=function(on){if(Gr=Gr.filter(function(gn){return br(gn,on)===0}),!Gr.length)return re=on,"break"},d=Yn;d>=0;d-=1){var h=l(d);if(h==="break")break}for(var v=st.filter(function(Xt){return br(Xt,Un)!==1}),N=Un,le=function(on){if(v=v.filter(function(gn){return br(gn,on)!==1}),!v.length)return N=Math.max(on-1,Un),"break"},Ne=Un;Ne<zn.length;Ne+=1){var Me=le(Ne);if(Me==="break")break}for(var tt=[],gt=function(on){var gn=zn[on];if(!gn)return"continue";st.some(function(Fn){return br(Fn,on)>1})&&tt.push(on)},Ft=re;Ft<=N;Ft+=1)var Yt=gt(Ft);var Sn=tt.map(function(Xt){var on=zn[Xt],gn=Rt(on.record,Xt),Fn=function(nr){var Er=Xt+nr-1,_r=Rt(zn[Er].record,Er),ri=hr(gn,_r);return ri.bottom-ri.top},ar=hr(gn);return C.createElement(Jn,{key:Xt,data:on,rowKey:gn,index:Xt,style:{top:-Ir+ar.top},extra:!0,getHeight:Fn})});return Sn},pr=C.useMemo(function(){return{columnsOffset:Wn}},[Wn]),Or="".concat(Bt,"-tbody"),Br;return zn.length?Br=C.createElement(gr.Z,{fullHeight:!1,ref:Ln,className:B()(Or,"".concat(Or,"-virtual")),height:cn,itemHeight:ft||24,data:zn,itemKey:function(mr){return Rt(mr.record)},scrollWidth:mn,onVirtualScroll:function(mr){var Yn=mr.x;Qe({scrollLeft:Yn})},extraRender:Sr},function(Gn,mr,Yn){var Un=Rt(Gn.record,mr);return C.createElement(Jn,(0,K.Z)({data:Gn,rowKey:Un,index:mr},Yn))}):Br=C.createElement("div",{className:B()("".concat(Bt,"-placeholder"))},C.createElement(Ut,{component:"div",prefixCls:Bt},Kt)),C.createElement(Cr.Provider,{value:pr},Br)}),at=ne(Rn),Kn=at,ur=function(ge,He){var Qe=He.ref,rt=He.onScroll;return C.createElement(Kn,{ref:Qe,data:ge,onScroll:rt})},wr=100;function Rr(oe){var ge=oe.columns,He=oe.scroll,Qe=oe.prefixCls,rt=Qe===void 0?vn:Qe,st=oe.className,Ct=oe.listItemHeight,Rt=He||{},Et=Rt.x,Bt=Rt.y;typeof Et!="number"&&(Et=((ge||[]).length+1)*wr),typeof Bt!="number"&&(Bt=500);var we=C.useMemo(function(){return{scrollY:Bt,listItemHeight:Ct}},[Bt,Ct]);return C.createElement($n.Provider,{value:we},C.createElement(En,(0,K.Z)({},oe,{className:B()(st,"".concat(rt,"-virtual")),scroll:(0,de.Z)((0,de.Z)({},He),{},{x:Et}),components:{body:ur},columns:ge,internalHooks:L,tailor:!0})))}function Nr(oe){return V(Rr,oe)}var zr=Nr(),vr=null;function Hr(oe){return null}var Hn=Hr;function Tn(oe){return null}var er=Tn,kr=f(2738),Wr=f(68031),wi=f(36355),jn=f(93891),$r=f(19716),Vr=f(8628),oi=f(31724),Ti=f(58421),ki=f(71418),ei=f(88088);function gi(oe){return function(He){let{prefixCls:Qe,onExpand:rt,record:st,expanded:Ct,expandable:Rt}=He;const Et=`${Qe}-row-expand-icon`;return C.createElement("button",{type:"button",onClick:Bt=>{rt(st,Bt),Bt.stopPropagation()},className:B()(Et,{[`${Et}-spaced`]:!Rt,[`${Et}-expanded`]:Rt&&Ct,[`${Et}-collapsed`]:Rt&&!Ct}),"aria-label":Ct?oe.collapse:oe.expand,"aria-expanded":Ct})}}var li=gi;function Di(oe,ge){return"key"in oe&&oe.key!==void 0&&oe.key!==null?oe.key:oe.dataIndex?Array.isArray(oe.dataIndex)?oe.dataIndex.join("."):oe.dataIndex:ge}function Fi(oe,ge){return ge?`${ge}-${oe}`:`${oe}`}function Vi(oe,ge){return typeof oe=="function"?oe(ge):oe}function Ci(oe,ge){const He=Vi(oe,ge);return Object.prototype.toString.call(He)==="[object Object]"?"":He}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"},Mr=Zi,aa=f(7657),ga=function(ge,He){return C.createElement(aa.Z,(0,K.Z)({},ge,{ref:He,icon:Mr}))},ua=C.forwardRef(ga),vi=ua,ca=f(56762);function _a(oe){const ge=C.useRef(oe),He=(0,ca.Z)();return[()=>ge.current,Qe=>{ge.current=Qe,He()}]}var Pn=f(3113),Ni=f(24905),na=f(38854),cr=f(64165),xr=f(20834),dr=f(40875),Vn=f(5112),Pr=f(17574),Yr=f(47472),Pi=f(92832);function yi(oe){let{value:ge,onChange:He,filterSearch:Qe,tablePrefixCls:rt,locale:st}=oe;return Qe?C.createElement("div",{className:`${rt}-filter-dropdown-search`},C.createElement(Pi.default,{prefix:C.createElement(Yr.Z,null),placeholder:st.filterSearchPlaceholder,onChange:He,value:ge,htmlSize:1,className:`${rt}-filter-dropdown-search-input`})):null}var Ii=yi,Ui=f(10228);const va=oe=>{const{keyCode:ge}=oe;ge===Ui.Z.ENTER&&oe.stopPropagation()};var Wa=C.forwardRef((oe,ge)=>C.createElement("div",{className:oe.className,onClick:He=>He.stopPropagation(),onKeyDown:va,ref:ge},oe.children));function da(oe){let ge=[];return(oe||[]).forEach(He=>{let{value:Qe,children:rt}=He;ge.push(Qe),rt&&(ge=[].concat((0,Xe.Z)(ge),(0,Xe.Z)(da(rt))))}),ge}function fa(oe){return oe.some(ge=>{let{children:He}=ge;return He})}function fr(oe,ge){return typeof ge=="string"||typeof ge=="number"?ge==null?void 0:ge.toString().toLowerCase().includes(oe.trim().toLowerCase()):!1}function or(oe){let{filters:ge,prefixCls:He,filteredKeys:Qe,filterMultiple:rt,searchValue:st,filterSearch:Ct}=oe;return ge.map((Rt,Et)=>{const Bt=String(Rt.value);if(Rt.children)return{key:Bt||Et,label:Rt.text,popupClassName:`${He}-dropdown-submenu`,children:or({filters:Rt.children,prefixCls:He,filteredKeys:Qe,filterMultiple:rt,searchValue:st,filterSearch:Ct})};const we=rt?Ni.default:Vn.ZP,Kt={key:Rt.value!==void 0?Bt:Et,label:C.createElement(C.Fragment,null,C.createElement(we,{checked:Qe.includes(Bt)}),C.createElement("span",null,Rt.text))};return st.trim()?typeof Ct=="function"?Ct(st,Rt)?Kt:null:fr(st,Rt.text)?Kt:null:Kt})}function Qr(oe){var ge,He;const{tablePrefixCls:Qe,prefixCls:rt,column:st,dropdownPrefixCls:Ct,columnKey:Rt,filterMultiple:Et,filterMode:Bt="menu",filterSearch:we=!1,filterState:Kt,triggerFilter:mn,locale:fn,children:cn,getPopupContainer:ft}=oe,{filterDropdownOpen:Ln,onFilterDropdownOpenChange:zn,filterResetToDefaultFilteredValue:Bn,defaultFilteredValue:Wn,filterDropdownVisible:br,onFilterDropdownVisibleChange:Sr}=st,[pr,Or]=C.useState(!1),Br=!!(Kt&&(!((ge=Kt.filteredKeys)===null||ge===void 0)&&ge.length||Kt.forceFiltered)),Gn=In=>{Or(In),zn==null||zn(In),Sr==null||Sr(In)},mr=(He=Ln!=null?Ln:br)!==null&&He!==void 0?He:pr,Yn=Kt==null?void 0:Kt.filteredKeys,[Un,hr]=_a(Yn||[]),Ir=In=>{let{selectedKeys:nr}=In;hr(nr)},Gr=(In,nr)=>{let{node:Er,checked:_r}=nr;Ir(Et?{selectedKeys:In}:{selectedKeys:_r&&Er.key?[Er.key]:[]})};C.useEffect(()=>{pr&&Ir({selectedKeys:Yn||[]})},[Yn]);const[re,l]=C.useState([]),d=In=>{l(In)},[h,v]=C.useState(""),N=In=>{const{value:nr}=In.target;v(nr)};C.useEffect(()=>{pr||v("")},[pr]);const le=In=>{const nr=In&&In.length?In:null;if(nr===null&&(!Kt||!Kt.filteredKeys)||(0,q.Z)(nr,Kt==null?void 0:Kt.filteredKeys,!0))return null;mn({column:st,key:Rt,filteredKeys:nr})},Ne=()=>{Gn(!1),le(Un())},Me=function(){let{confirm:In,closeDropdown:nr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};In&&le([]),nr&&Gn(!1),v(""),hr(Bn?(Wn||[]).map(Er=>String(Er)):[])},tt=function(){let{closeDropdown:In}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};In&&Gn(!1),le(Un())},gt=In=>{In&&Yn!==void 0&&hr(Yn||[]),Gn(In),!In&&!st.filterDropdown&&Ne()},Ft=B()({[`${Ct}-menu-without-submenu`]:!fa(st.filters||[])}),Yt=In=>{if(In.target.checked){const nr=da(st==null?void 0:st.filters).map(Er=>String(Er));hr(nr)}else hr([])},Sn=In=>{let{filters:nr}=In;return(nr||[]).map((Er,_r)=>{const ri=String(Er.value),ii={title:Er.text,key:Er.value!==void 0?ri:_r};return Er.children&&(ii.children=Sn({filters:Er.children})),ii})},Xt=In=>{var nr;return Object.assign(Object.assign({},In),{text:In.title,value:In.key,children:((nr=In.children)===null||nr===void 0?void 0:nr.map(Er=>Xt(Er)))||[]})};let on;if(typeof st.filterDropdown=="function")on=st.filterDropdown({prefixCls:`${Ct}-custom`,setSelectedKeys:In=>Ir({selectedKeys:In}),selectedKeys:Un(),confirm:tt,clearFilters:Me,filters:st.filters,visible:mr,close:()=>{Gn(!1)}});else if(st.filterDropdown)on=st.filterDropdown;else{const In=Un()||[],nr=()=>(st.filters||[]).length===0?C.createElement(cr.Z,{image:cr.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(Ii,{filterSearch:we,value:h,onChange:N,tablePrefixCls:Qe,locale:fn}),C.createElement("div",{className:`${Qe}-filter-dropdown-tree`},Et?C.createElement(Ni.default,{checked:In.length===da(st.filters).length,indeterminate:In.length>0&&In.length<da(st.filters).length,className:`${Qe}-filter-dropdown-checkall`,onChange:Yt},fn.filterCheckall):null,C.createElement(Pr.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Et,checkStrictly:!Et,className:`${Ct}-menu`,onCheck:Gr,checkedKeys:In,selectedKeys:In,showIcon:!1,treeData:Sn({filters:st.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:h.trim()?_r=>typeof we=="function"?we(h,Xt(_r)):fr(h,_r.title):void 0}))):C.createElement(C.Fragment,null,C.createElement(Ii,{filterSearch:we,value:h,onChange:N,tablePrefixCls:Qe,locale:fn}),C.createElement(xr.default,{selectable:!0,multiple:Et,prefixCls:`${Ct}-menu`,className:Ft,onSelect:Ir,onDeselect:Ir,selectedKeys:In,getPopupContainer:ft,openKeys:re,onOpenChange:d,items:or({filters:st.filters||[],filterSearch:we,prefixCls:rt,filteredKeys:Un(),filterMultiple:Et,searchValue:h})})),Er=()=>Bn?(0,q.Z)((Wn||[]).map(_r=>String(_r)),In,!0):In.length===0;on=C.createElement(C.Fragment,null,nr(),C.createElement("div",{className:`${rt}-dropdown-btns`},C.createElement(Pn.ZP,{type:"link",size:"small",disabled:Er(),onClick:()=>Me()},fn.filterReset),C.createElement(Pn.ZP,{type:"primary",size:"small",onClick:Ne},fn.filterConfirm)))}st.filterDropdown&&(on=C.createElement(dr.J,{selectable:void 0},on));const gn=()=>C.createElement(Wa,{className:`${rt}-dropdown`},on);let Fn;typeof st.filterIcon=="function"?Fn=st.filterIcon(Br):st.filterIcon?Fn=st.filterIcon:Fn=C.createElement(vi,null);const{direction:ar}=C.useContext(wi.E_);return C.createElement("div",{className:`${rt}-column`},C.createElement("span",{className:`${Qe}-column-title`},cn),C.createElement(na.Z,{dropdownRender:gn,trigger:["click"],open:mr,onOpenChange:gt,getPopupContainer:ft,placement:ar==="rtl"?"bottomLeft":"bottomRight"},C.createElement("span",{role:"button",tabIndex:-1,className:B()(`${rt}-trigger`,{active:Br}),onClick:In=>{In.stopPropagation()}},Fn)))}var Ki=Qr;function ui(oe,ge,He){let Qe=[];return(oe||[]).forEach((rt,st)=>{var Ct;const Rt=Fi(st,He);if(rt.filters||"filterDropdown"in rt||"onFilter"in rt)if("filteredValue"in rt){let Et=rt.filteredValue;"filterDropdown"in rt||(Et=(Ct=Et==null?void 0:Et.map(String))!==null&&Ct!==void 0?Ct:Et),Qe.push({column:rt,key:Di(rt,Rt),filteredKeys:Et,forceFiltered:rt.filtered})}else Qe.push({column:rt,key:Di(rt,Rt),filteredKeys:ge&&rt.defaultFilteredValue?rt.defaultFilteredValue:void 0,forceFiltered:rt.filtered});"children"in rt&&(Qe=[].concat((0,Xe.Z)(Qe),(0,Xe.Z)(ui(rt.children,ge,Rt))))}),Qe}function sa(oe,ge,He,Qe,rt,st,Ct,Rt){return He.map((Et,Bt)=>{const we=Fi(Bt,Rt),{filterMultiple:Kt=!0,filterMode:mn,filterSearch:fn}=Et;let cn=Et;if(cn.filters||cn.filterDropdown){const ft=Di(cn,we),Ln=Qe.find(zn=>{let{key:Bn}=zn;return ft===Bn});cn=Object.assign(Object.assign({},cn),{title:zn=>C.createElement(Ki,{tablePrefixCls:oe,prefixCls:`${oe}-filter`,dropdownPrefixCls:ge,column:cn,columnKey:ft,filterState:Ln,filterMultiple:Kt,filterMode:mn,filterSearch:fn,triggerFilter:st,locale:rt,getPopupContainer:Ct},Vi(Et.title,zn))})}return"children"in cn&&(cn=Object.assign(Object.assign({},cn),{children:sa(oe,ge,cn.children,Qe,rt,st,Ct,we)})),cn})}function Va(oe){const ge={};return oe.forEach(He=>{let{key:Qe,filteredKeys:rt,column:st}=He;const{filters:Ct,filterDropdown:Rt}=st;if(Rt)ge[Qe]=rt||null;else if(Array.isArray(rt)){const Et=da(Ct);ge[Qe]=Et.filter(Bt=>rt.includes(String(Bt)))}else ge[Qe]=null}),ge}function Ha(oe,ge){return ge.reduce((He,Qe)=>{const{column:{onFilter:rt,filters:st},filteredKeys:Ct}=Qe;return rt&&Ct&&Ct.length?He.filter(Rt=>Ct.some(Et=>{const Bt=da(st),we=Bt.findIndex(mn=>String(mn)===String(Et)),Kt=we!==-1?Bt[we]:Et;return rt(Kt,Rt)})):He},oe)}const ya=oe=>oe.flatMap(ge=>"children"in ge?[ge].concat((0,Xe.Z)(ya(ge.children||[]))):[ge]);function as(oe){let{prefixCls:ge,dropdownPrefixCls:He,mergedColumns:Qe,onFilterChange:rt,getPopupContainer:st,locale:Ct}=oe;const Rt=C.useMemo(()=>ya(Qe||[]),[Qe]),[Et,Bt]=C.useState(()=>ui(Rt,!0)),we=C.useMemo(()=>{const cn=ui(Rt,!1);if(cn.length===0)return cn;let ft=!0,Ln=!0;if(cn.forEach(zn=>{let{filteredKeys:Bn}=zn;Bn!==void 0?ft=!1:Ln=!1}),ft){const zn=(Rt||[]).map((Bn,Wn)=>Di(Bn,Fi(Wn)));return Et.filter(Bn=>{let{key:Wn}=Bn;return zn.includes(Wn)}).map(Bn=>{const Wn=Rt[zn.findIndex(br=>br===Bn.key)];return Object.assign(Object.assign({},Bn),{column:Object.assign(Object.assign({},Bn.column),Wn),forceFiltered:Wn.filtered})})}return cn},[Rt,Et]),Kt=C.useMemo(()=>Va(we),[we]),mn=cn=>{const ft=we.filter(Ln=>{let{key:zn}=Ln;return zn!==cn.key});ft.push(cn),Bt(ft),rt(Va(ft),ft)};return[cn=>sa(ge,He,cn,we,Ct,mn,st),we,Kt]}var ss=as;function os(oe,ge,He){const Qe=C.useRef({});function rt(st){if(!Qe.current||Qe.current.data!==oe||Qe.current.childrenColumnName!==ge||Qe.current.getRowKey!==He){let Rt=function(Et){Et.forEach((Bt,we)=>{const Kt=He(Bt,we);Ct.set(Kt,Bt),Bt&&typeof Bt=="object"&&ge in Bt&&Rt(Bt[ge]||[])})};const Ct=new Map;Rt(oe),Qe.current={data:oe,childrenColumnName:ge,kvMap:Ct,getRowKey:He}}return Qe.current.kvMap.get(st)}return[rt]}var ts=f(50371),ls=function(oe,ge){var He={};for(var Qe in oe)Object.prototype.hasOwnProperty.call(oe,Qe)&&ge.indexOf(Qe)<0&&(He[Qe]=oe[Qe]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Qe=Object.getOwnPropertySymbols(oe);rt<Qe.length;rt++)ge.indexOf(Qe[rt])<0&&Object.prototype.propertyIsEnumerable.call(oe,Qe[rt])&&(He[Qe[rt]]=oe[Qe[rt]]);return He};const Ta=10;function Qi(oe,ge){const He={current:oe.current,pageSize:oe.pageSize};return Object.keys(ge&&typeof ge=="object"?ge:{}).forEach(rt=>{const st=oe[rt];typeof st!="function"&&(He[rt]=st)}),He}function us(oe,ge,He){const Qe=He&&typeof He=="object"?He:{},{total:rt=0}=Qe,st=ls(Qe,["total"]),[Ct,Rt]=(0,C.useState)(()=>({current:"defaultCurrent"in st?st.defaultCurrent:1,pageSize:"defaultPageSize"in st?st.defaultPageSize:Ta})),Et=(0,ts.Z)(Ct,st,{total:rt>0?rt:oe}),Bt=Math.ceil((rt||oe)/Et.pageSize);Et.current>Bt&&(Et.current=Bt||1);const we=(mn,fn)=>{Rt({current:mn!=null?mn:1,pageSize:fn||Et.pageSize})},Kt=(mn,fn)=>{var cn;He&&((cn=He.onChange)===null||cn===void 0||cn.call(He,mn,fn)),we(mn,fn),ge(mn,fn||(Et==null?void 0:Et.pageSize))};return He===!1?[{},()=>{}]:[Object.assign(Object.assign({},Et),{onChange:Kt}),we]}var ns=us,ba=f(84105),Sa=f(35654),ti=f(90782),Ur=f(71430),ia=f(18929);const zi={},Oi="SELECT_ALL",oa="SELECT_INVERT",pi="SELECT_NONE",Ia=[],la=(oe,ge)=>{let He=[];return(ge||[]).forEach(Qe=>{He.push(Qe),Qe&&typeof Qe=="object"&&oe in Qe&&(He=[].concat((0,Xe.Z)(He),(0,Xe.Z)(la(oe,Qe[oe]))))}),He};var Ba=(oe,ge)=>{const{preserveSelectedRowKeys:He,selectedRowKeys:Qe,defaultSelectedRowKeys:rt,getCheckboxProps:st,onChange:Ct,onSelect:Rt,onSelectAll:Et,onSelectInvert:Bt,onSelectNone:we,onSelectMultiple:Kt,columnWidth:mn,type:fn,selections:cn,fixed:ft,renderCell:Ln,hideSelectAll:zn,checkStrictly:Bn=!0}=ge||{},{prefixCls:Wn,data:br,pageData:Sr,getRecordByKey:pr,getRowKey:Or,expandType:Br,childrenColumnName:Gn,locale:mr,getPopupContainer:Yn}=oe,[Un,hr]=(0,ia.Z)(Qe||rt||Ia,{value:Qe}),Ir=C.useRef(new Map),Gr=(0,C.useCallback)(Xt=>{if(He){const on=new Map;Xt.forEach(gn=>{let Fn=pr(gn);!Fn&&Ir.current.has(gn)&&(Fn=Ir.current.get(gn)),on.set(gn,Fn)}),Ir.current=on}},[pr,He]);C.useEffect(()=>{Gr(Un)},[Un]);const{keyEntities:re}=(0,C.useMemo)(()=>{if(Bn)return{keyEntities:null};let Xt=br;if(He){const on=new Set(br.map((Fn,ar)=>Or(Fn,ar))),gn=Array.from(Ir.current).reduce((Fn,ar)=>{let[In,nr]=ar;return on.has(In)?Fn:Fn.concat(nr)},[]);Xt=[].concat((0,Xe.Z)(Xt),(0,Xe.Z)(gn))}return(0,Ur.I8)(Xt,{externalGetKey:Or,childrenPropName:Gn})},[br,Or,Bn,Gn,He]),l=(0,C.useMemo)(()=>la(Gn,Sr),[Gn,Sr]),d=(0,C.useMemo)(()=>{const Xt=new Map;return l.forEach((on,gn)=>{const Fn=Or(on,gn),ar=(st?st(on):null)||{};Xt.set(Fn,ar)}),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]),[v,N]=(0,C.useMemo)(()=>{if(Bn)return[Un||[],[]];const{checkedKeys:Xt,halfCheckedKeys:on}=(0,ti.S)(Un,!0,re,h);return[Xt||[],on]},[Un,Bn,re,h]),le=(0,C.useMemo)(()=>{const Xt=fn==="radio"?v.slice(0,1):v;return new Set(Xt)},[v,fn]),Ne=(0,C.useMemo)(()=>fn==="radio"?new Set:new Set(N),[N,fn]),[Me,tt]=(0,C.useState)(null);C.useEffect(()=>{ge||hr(Ia)},[!!ge]);const gt=(0,C.useCallback)((Xt,on)=>{let gn,Fn;Gr(Xt),He?(gn=Xt,Fn=Xt.map(ar=>Ir.current.get(ar))):(gn=[],Fn=[],Xt.forEach(ar=>{const In=pr(ar);In!==void 0&&(gn.push(ar),Fn.push(In))})),hr(gn),Ct==null||Ct(gn,Fn,{type:on})},[hr,pr,Ct,He]),Ft=(0,C.useCallback)((Xt,on,gn,Fn)=>{if(Rt){const ar=gn.map(In=>pr(In));Rt(pr(Xt),on,ar,Fn)}gt(gn,"single")},[Rt,pr,gt]),Yt=(0,C.useMemo)(()=>!cn||zn?null:(cn===!0?[Oi,oa,pi]:cn).map(on=>on===Oi?{key:"all",text:mr.selectionAll,onSelect(){gt(br.map((gn,Fn)=>Or(gn,Fn)).filter(gn=>{const Fn=d.get(gn);return!(Fn!=null&&Fn.disabled)||le.has(gn)}),"all")}}:on===oa?{key:"invert",text:mr.selectInvert,onSelect(){const gn=new Set(le);Sr.forEach((ar,In)=>{const nr=Or(ar,In),Er=d.get(nr);Er!=null&&Er.disabled||(gn.has(nr)?gn.delete(nr):gn.add(nr))});const Fn=Array.from(gn);Bt&&Bt(Fn),gt(Fn,"invert")}}:on===pi?{key:"none",text:mr.selectNone,onSelect(){we==null||we(),gt(Array.from(le).filter(gn=>{const Fn=d.get(gn);return Fn==null?void 0:Fn.disabled}),"none")}}:on).map(on=>Object.assign(Object.assign({},on),{onSelect:function(){for(var gn,Fn,ar=arguments.length,In=new Array(ar),nr=0;nr<ar;nr++)In[nr]=arguments[nr];(Fn=on.onSelect)===null||Fn===void 0||(gn=Fn).call.apply(gn,[on].concat(In)),tt(null)}})),[cn,le,Sr,Or,Bt,gt]);return[(0,C.useCallback)(Xt=>{var on;if(!ge)return Xt.filter(Kr=>Kr!==zi);let gn=(0,Xe.Z)(Xt);const Fn=new Set(le),ar=l.map(Or).filter(Kr=>!d.get(Kr).disabled),In=ar.every(Kr=>Fn.has(Kr)),nr=ar.some(Kr=>Fn.has(Kr)),Er=()=>{const Kr=[];In?ar.forEach(Jr=>{Fn.delete(Jr),Kr.push(Jr)}):ar.forEach(Jr=>{Fn.has(Jr)||(Fn.add(Jr),Kr.push(Jr))});const Xr=Array.from(Fn);Et==null||Et(!In,Xr.map(Jr=>pr(Jr)),Kr.map(Jr=>pr(Jr))),gt(Xr,"all"),tt(null)};let _r;if(fn!=="radio"){let Kr;if(Yt){const jr={getPopupContainer:Yn,items:Yt.map((ra,ta)=>{const{key:Aa,text:Ma,onSelect:Ea}=ra;return{key:Aa!=null?Aa:ta,onClick:()=>{Ea==null||Ea(ar)},label:Ma}})};Kr=C.createElement("div",{className:`${Wn}-selection-extra`},C.createElement(na.Z,{menu:jr,getPopupContainer:Yn},C.createElement("span",null,C.createElement(ba.Z,null))))}const Xr=l.map((jr,ra)=>{const ta=Or(jr,ra),Aa=d.get(ta)||{};return Object.assign({checked:Fn.has(ta)},Aa)}).filter(jr=>{let{disabled:ra}=jr;return ra}),Jr=!!Xr.length&&Xr.length===l.length,Ri=Jr&&Xr.every(jr=>{let{checked:ra}=jr;return ra}),ea=Jr&&Xr.some(jr=>{let{checked:ra}=jr;return ra});_r=!zn&&C.createElement("div",{className:`${Wn}-selection`},C.createElement(Ni.default,{checked:Jr?Ri:!!l.length&&In,indeterminate:Jr?!Ri&&ea:!In&&nr,onChange:Er,disabled:l.length===0||Jr,"aria-label":Kr?"Custom selection":"Select all",skipGroup:!0}),Kr)}let ri;fn==="radio"?ri=(Kr,Xr,Jr)=>{const Ri=Or(Xr,Jr),ea=Fn.has(Ri);return{node:C.createElement(Vn.ZP,Object.assign({},d.get(Ri),{checked:ea,onClick:jr=>jr.stopPropagation(),onChange:jr=>{Fn.has(Ri)||Ft(Ri,!0,[Ri],jr.nativeEvent)}})),checked:ea}}:ri=(Kr,Xr,Jr)=>{var Ri;const ea=Or(Xr,Jr),jr=Fn.has(ea),ra=Ne.has(ea),ta=d.get(ea);let Aa;return Br==="nest"?Aa=ra:Aa=(Ri=ta==null?void 0:ta.indeterminate)!==null&&Ri!==void 0?Ri:ra,{node:C.createElement(Ni.default,Object.assign({},ta,{indeterminate:Aa,checked:jr,skipGroup:!0,onClick:Ma=>Ma.stopPropagation(),onChange:Ma=>{let{nativeEvent:Ea}=Ma;const{shiftKey:Ss}=Ea;let Xa=-1,Na=-1;if(Ss&&Bn){const ha=new Set([Me,ea]);ar.some((pa,$i)=>{if(ha.has(pa))if(Xa===-1)Xa=$i;else return Na=$i,!0;return!1})}if(Na!==-1&&Xa!==Na&&Bn){const ha=ar.slice(Xa,Na+1),pa=[];jr?ha.forEach(Ai=>{Fn.has(Ai)&&(pa.push(Ai),Fn.delete(Ai))}):ha.forEach(Ai=>{Fn.has(Ai)||(pa.push(Ai),Fn.add(Ai))});const $i=Array.from(Fn);Kt==null||Kt(!jr,$i.map(Ai=>pr(Ai)),pa.map(Ai=>pr(Ai))),gt($i,"multiple")}else{const ha=v;if(Bn){const pa=jr?(0,Sa._5)(ha,ea):(0,Sa.L0)(ha,ea);Ft(ea,!jr,pa,Ea)}else{const pa=(0,ti.S)([].concat((0,Xe.Z)(ha),[ea]),!0,re,h),{checkedKeys:$i,halfCheckedKeys:Ai}=pa;let rs=$i;if(jr){const Fs=new Set($i);Fs.delete(ea),rs=(0,ti.S)(Array.from(Fs),{checked:!1,halfCheckedKeys:Ai},re,h).checkedKeys}Ft(ea,!jr,rs,Ea)}}tt(jr?null:ea)}})),checked:jr}};const ii=(Kr,Xr,Jr)=>{const{node:Ri,checked:ea}=ri(Kr,Xr,Jr);return Ln?Ln(ea,Xr,Jr,Ri):Ri};if(!gn.includes(zi))if(gn.findIndex(Kr=>{var Xr;return((Xr=Kr[he])===null||Xr===void 0?void 0:Xr.columnType)==="EXPAND_COLUMN"})===0){const[Kr,...Xr]=gn;gn=[Kr,zi].concat((0,Xe.Z)(Xr))}else gn=[zi].concat((0,Xe.Z)(gn));const Wi=gn.indexOf(zi);gn=gn.filter((Kr,Xr)=>Kr!==zi||Xr===Wi);const ci=gn[Wi-1],ai=gn[Wi+1];let bi=ft;bi===void 0&&((ai==null?void 0:ai.fixed)!==void 0?bi=ai.fixed:(ci==null?void 0:ci.fixed)!==void 0&&(bi=ci.fixed)),bi&&ci&&((on=ci[he])===null||on===void 0?void 0:on.columnType)==="EXPAND_COLUMN"&&ci.fixed===void 0&&(ci.fixed=bi);const qi=B()(`${Wn}-selection-col`,{[`${Wn}-selection-col-with-dropdown`]:cn&&fn==="checkbox"}),xa={fixed:bi,width:mn,className:`${Wn}-selection-column`,title:ge.columnTitle||_r,render:ii,onCell:ge.onCell,[he]:{className:qi}};return gn.map(Kr=>Kr===zi?xa:Kr)},[Or,l,ge,v,le,Ne,mn,Yt,Br,Me,d,Kt,Ft,h]),le]},Ei=f(89489),vs=f(59477),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,ge){return ge?oe[oe.indexOf(ge)+1]:oe[0]}function ds(oe,ge,He){let Qe=[];function rt(st,Ct){Qe.push({column:st,key:Di(st,Ct),multiplePriority:Qa(st),sortOrder:st.sortOrder})}return(oe||[]).forEach((st,Ct)=>{const Rt=Fi(Ct,He);st.children?("sortOrder"in st&&rt(st,Rt),Qe=[].concat((0,Xe.Z)(Qe),(0,Xe.Z)(ds(st.children,ge,Rt)))):st.sorter&&("sortOrder"in st?rt(st,Rt):ge&&st.defaultSortOrder&&Qe.push({column:st,key:Di(st,Rt),multiplePriority:Qa(st),sortOrder:st.defaultSortOrder}))}),Qe}function Rs(oe,ge,He,Qe,rt,st,Ct,Rt){return(ge||[]).map((Et,Bt)=>{const we=Fi(Bt,Rt);let Kt=Et;if(Kt.sorter){const mn=Kt.sortDirections||rt,fn=Kt.showSorterTooltip===void 0?Ct:Kt.showSorterTooltip,cn=Di(Kt,we),ft=He.find(Br=>{let{key:Gn}=Br;return Gn===cn}),Ln=ft?ft.sortOrder:null,zn=ys(mn,Ln);let Bn;if(Et.sortIcon)Bn=Et.sortIcon({sortOrder:Ln});else{const Br=mn.includes(Za)&&C.createElement(vs.Z,{className:B()(`${oe}-column-sorter-up`,{active:Ln===Za})}),Gn=mn.includes(Cs)&&C.createElement(Ei.Z,{className:B()(`${oe}-column-sorter-down`,{active:Ln===Cs})});Bn=C.createElement("span",{className:B()(`${oe}-column-sorter`,{[`${oe}-column-sorter-full`]:!!(Br&&Gn)})},C.createElement("span",{className:`${oe}-column-sorter-inner`,"aria-hidden":"true"},Br,Gn))}const{cancelSort:Wn,triggerAsc:br,triggerDesc:Sr}=st||{};let pr=Wn;zn===Cs?pr=Sr:zn===Za&&(pr=br);const Or=typeof fn=="object"?fn:{title:pr};Kt=Object.assign(Object.assign({},Kt),{className:B()(Kt.className,{[`${oe}-column-sort`]:Ln}),title:Br=>{const Gn=C.createElement("div",{className:`${oe}-column-sorters`},C.createElement("span",{className:`${oe}-column-title`},Vi(Et.title,Br)),Bn);return fn?C.createElement(Ca.Z,Object.assign({},Or),Gn):Gn},onHeaderCell:Br=>{const Gn=Et.onHeaderCell&&Et.onHeaderCell(Br)||{},mr=Gn.onClick,Yn=Gn.onKeyDown;Gn.onClick=Ir=>{Qe({column:Et,key:cn,sortOrder:zn,multiplePriority:Qa(Et)}),mr==null||mr(Ir)},Gn.onKeyDown=Ir=>{Ir.keyCode===Ui.Z.ENTER&&(Qe({column:Et,key:cn,sortOrder:zn,multiplePriority:Qa(Et)}),Yn==null||Yn(Ir))};const Un=Ci(Et.title,{}),hr=Un==null?void 0:Un.toString();return Ln?Gn["aria-sort"]=Ln==="ascend"?"ascending":"descending":Gn["aria-label"]=hr||"",Gn.className=B()(Gn.className,`${oe}-column-has-sorters`),Gn.tabIndex=0,Et.ellipsis&&(Gn.title=(Un!=null?Un:"").toString()),Gn}})}return"children"in Kt&&(Kt=Object.assign(Object.assign({},Kt),{children:Rs(oe,Kt.children,He,Qe,rt,st,Ct,we)})),Kt})}function Oa(oe){const{column:ge,sortOrder:He}=oe;return{column:ge,order:He,field:ge.dataIndex,columnKey:ge.key}}function bs(oe){const ge=oe.filter(He=>{let{sortOrder:Qe}=He;return Qe}).map(Oa);return ge.length===0&&oe.length?Object.assign(Object.assign({},Oa(oe[oe.length-1])),{column:void 0}):ge.length<=1?ge[0]||{}:ge}function _i(oe,ge,He){const Qe=ge.slice().sort((Ct,Rt)=>Rt.multiplePriority-Ct.multiplePriority),rt=oe.slice(),st=Qe.filter(Ct=>{let{column:{sorter:Rt},sortOrder:Et}=Ct;return cs(Rt)&&Et});return st.length?rt.sort((Ct,Rt)=>{for(let Et=0;Et<st.length;Et+=1){const Bt=st[Et],{column:{sorter:we},sortOrder:Kt}=Bt,mn=cs(we);if(mn&&Kt){const fn=mn(Ct,Rt,Kt);if(fn!==0)return Kt===Za?fn:-fn}}return 0}).map(Ct=>{const Rt=Ct[He];return Rt?Object.assign(Object.assign({},Ct),{[He]:_i(Rt,ge,He)}):Ct}):rt}function xi(oe){let{prefixCls:ge,mergedColumns:He,onSorterChange:Qe,sortDirections:rt,tableLocale:st,showSorterTooltip:Ct}=oe;const[Rt,Et]=C.useState(ds(He,!0)),Bt=C.useMemo(()=>{let cn=!0;const ft=ds(He,!1);if(!ft.length)return Rt;const Ln=[];function zn(Wn){cn?Ln.push(Wn):Ln.push(Object.assign(Object.assign({},Wn),{sortOrder:null}))}let Bn=null;return ft.forEach(Wn=>{Bn===null?(zn(Wn),Wn.sortOrder&&(Wn.multiplePriority===!1?cn=!1:Bn=!0)):(Bn&&Wn.multiplePriority!==!1||(cn=!1),zn(Wn))}),Ln},[He,Rt]),we=C.useMemo(()=>{const cn=Bt.map(ft=>{let{column:Ln,sortOrder:zn}=ft;return{column:Ln,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,Xe.Z)(Bt.filter(Ln=>{let{key:zn}=Ln;return zn!==cn.key})),[cn]),Et(ft),Qe(bs(ft),ft)}return[cn=>Rs(ge,cn,Bt,Kt,rt,st,Ct),Bt,we,()=>bs(Bt)]}function mi(oe,ge){return oe.map(He=>{const Qe=Object.assign({},He);return Qe.title=Vi(He.title,ge),"children"in Qe&&(Qe.children=mi(Qe.children,ge)),Qe})}function Ji(oe){return[C.useCallback(He=>mi(He,oe),[oe])]}var Xi=sr((oe,ge)=>{const{_renderTimes:He}=oe,{_renderTimes:Qe}=ge;return He!==Qe}),fs=Nr((oe,ge)=>{const{_renderTimes:He}=oe,{_renderTimes:Qe}=ge;return He!==Qe}),Ja=f(64993),hs=f(17313),ks=f(83116),ps=f(37613),Dn=oe=>{const{componentCls:ge}=oe,He=`${oe.lineWidth}px ${oe.lineType} ${oe.tableBorderColor}`,Qe=(rt,st,Ct)=>({[`&${ge}-${rt}`]:{[`> ${ge}-container`]:{[`> ${ge}-content, > ${ge}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`-${st}px -${Ct+oe.lineWidth}px`}}}}}});return{[`${ge}-wrapper`]:{[`${ge}${ge}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ge}-title`]:{border:He,borderBottom:0},[`> ${ge}-container`]:{borderInlineStart:He,borderTop:He,[`
|
|
|
> ${ge}-content,
|
|
|
> ${ge}-header,
|
|
|
> ${ge}-body,
|
|
|
> ${ge}-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:He},"> thead":{"> tr:not(:last-child) > th":{borderBottom:He},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ge}-cell-fix-right-first::after`]:{borderInlineEnd:He}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`-${oe.tablePaddingVertical}px -${oe.tablePaddingHorizontal+oe.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:oe.lineWidth,bottom:0,borderInlineEnd:He,content:'""'}}}}}},[`&${ge}-scroll-horizontal`]:{[`> ${ge}-container > ${ge}-body`]:{"> table > tbody":{[`
|
|
|
> tr${ge}-expanded-row,
|
|
|
> tr${ge}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},Qe("middle",oe.tablePaddingVerticalMiddle,oe.tablePaddingHorizontalMiddle)),Qe("small",oe.tablePaddingVerticalSmall,oe.tablePaddingHorizontalSmall)),{[`> ${ge}-footer`]:{border:He,borderTop:0}}),[`${ge}-cell`]:{[`${ge}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${oe.lineWidth}px 0 ${oe.lineWidth}px ${oe.tableHeaderBg}`}},[`${ge}-bordered ${ge}-cell-scrollbar`]:{borderInlineEnd:He}}}},Ms=oe=>{const{componentCls:ge}=oe;return{[`${ge}-wrapper`]:{[`${ge}-cell-ellipsis`]:Object.assign(Object.assign({},hs.vS),{wordBreak:"keep-all",[`
|
|
|
&${ge}-cell-fix-left-last,
|
|
|
&${ge}-cell-fix-right-first
|
|
|
`]:{overflow:"visible",[`${ge}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ge}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Qs=oe=>{const{componentCls:ge}=oe;return{[`${ge}-wrapper`]:{[`${ge}-tbody > tr${ge}-placeholder`]:{textAlign:"center",color:oe.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:oe.colorBgContainer}}}}},Ks=f(15969),Ga=oe=>{const{componentCls:ge,antCls:He,controlInteractiveSize:Qe,motionDurationSlow:rt,lineWidth:st,paddingXS:Ct,lineType:Rt,tableBorderColor:Et,tableExpandIconBg:Bt,tableExpandColumnWidth:we,borderRadius:Kt,fontSize:mn,fontSizeSM:fn,lineHeight:cn,tablePaddingVertical:ft,tablePaddingHorizontal:Ln,tableExpandedRowBg:zn,paddingXXS:Bn}=oe,Wn=Qe/2-st,br=Wn*2+st*3,Sr=`${st}px ${Rt} ${Et}`,pr=Bn-st;return{[`${ge}-wrapper`]:{[`${ge}-expand-icon-col`]:{width:we},[`${ge}-row-expand-icon-cell`]:{textAlign:"center",[`${ge}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ge}-row-indent`]:{height:1,float:"left"},[`${ge}-row-expand-icon`]:Object.assign(Object.assign({},(0,Ks.N)(oe)),{position:"relative",float:"left",boxSizing:"border-box",width:br,height:br,padding:0,color:"inherit",lineHeight:`${br}px`,background:Bt,border:Sr,borderRadius:Kt,transform:`scale(${Qe/br})`,transition:`all ${rt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${rt} ease-out`,content:'""'},"&::before":{top:Wn,insetInlineEnd:pr,insetInlineStart:pr,height:st},"&::after":{top:pr,bottom:pr,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"}}),[`${ge}-row-indent + ${ge}-row-expand-icon`]:{marginTop:(mn*cn-st*3)/2-Math.ceil((fn*1.4-st*3)/2),marginInlineEnd:Ct},[`tr${ge}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:zn}},[`${He}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ge}-expanded-row-fixed`]:{position:"relative",margin:`-${ft}px -${Ln}px`,padding:`${ft}px ${Ln}px`}}}},qs=oe=>{const{componentCls:ge,antCls:He,iconCls:Qe,tableFilterDropdownWidth:rt,tableFilterDropdownSearchWidth:st,paddingXXS:Ct,paddingXS:Rt,colorText:Et,lineWidth:Bt,lineType:we,tableBorderColor:Kt,tableHeaderIconColor:mn,fontSizeSM:fn,tablePaddingHorizontal:cn,borderRadius:ft,motionDurationSlow:Ln,colorTextDescription:zn,colorPrimary:Bn,tableHeaderFilterActiveBg:Wn,colorTextDisabled:br,tableFilterDropdownBg:Sr,tableFilterDropdownHeight:pr,controlItemBgHover:Or,controlItemBgActive:Br,boxShadowSecondary:Gn,filterDropdownMenuBg:mr}=oe,Yn=`${He}-dropdown`,Un=`${ge}-filter-dropdown`,hr=`${He}-tree`,Ir=`${Bt}px ${we} ${Kt}`;return[{[`${ge}-wrapper`]:{[`${ge}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ge}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Ct,marginInline:`${Ct}px ${-cn/2}px`,padding:`0 ${Ct}px`,color:mn,fontSize:fn,borderRadius:ft,cursor:"pointer",transition:`all ${Ln}`,"&:hover":{color:zn,background:Wn},"&.active":{color:Bn}}}},{[`${He}-dropdown`]:{[Un]:Object.assign(Object.assign({},(0,hs.Wf)(oe)),{minWidth:rt,backgroundColor:Sr,borderRadius:ft,boxShadow:Gn,overflow:"hidden",[`${Yn}-menu`]:{maxHeight:pr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:mr,"&:empty::after":{display:"block",padding:`${Rt}px 0`,color:br,fontSize:fn,textAlign:"center",content:'"Not Found"'}},[`${Un}-tree`]:{paddingBlock:`${Rt}px 0`,paddingInline:Rt,[hr]:{padding:0},[`${hr}-treenode ${hr}-node-content-wrapper:hover`]:{backgroundColor:Or},[`${hr}-treenode-checkbox-checked ${hr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Br}}},[`${Un}-search`]:{padding:Rt,borderBottom:Ir,"&-input":{input:{minWidth:st},[Qe]:{color:br}}},[`${Un}-checkall`]:{width:"100%",marginBottom:Ct,marginInlineStart:Ct},[`${Un}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Rt-Bt}px ${Rt}px`,overflow:"hidden",borderTop:Ir}})}},{[`${He}-dropdown ${Un}, ${Un}-submenu`]:{[`${He}-checkbox-wrapper + span`]:{paddingInlineStart:Rt,color:Et},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Os=oe=>{const{componentCls:ge,lineWidth:He,colorSplit:Qe,motionDurationSlow:rt,zIndexTableFixed:st,tableBg:Ct,zIndexTableSticky:Rt}=oe,Et=Qe;return{[`${ge}-wrapper`]:{[`
|
|
|
${ge}-cell-fix-left,
|
|
|
${ge}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:st,background:Ct},[`
|
|
|
${ge}-cell-fix-left-first::after,
|
|
|
${ge}-cell-fix-left-last::after
|
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-He,width:30,transform:"translateX(100%)",transition:`box-shadow ${rt}`,content:'""',pointerEvents:"none"},[`${ge}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
|
${ge}-cell-fix-right-first::after,
|
|
|
${ge}-cell-fix-right-last::after
|
|
|
`]:{position:"absolute",top:0,bottom:-He,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${rt}`,content:'""',pointerEvents:"none"},[`${ge}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Rt+1,width:30,transition:`box-shadow ${rt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ge}-ping-left`]:{[`&:not(${ge}-has-fix-left) ${ge}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Et}`}},[`
|
|
|
${ge}-cell-fix-left-first::after,
|
|
|
${ge}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Et}`},[`${ge}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ge}-ping-right`]:{[`&:not(${ge}-has-fix-right) ${ge}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Et}`}},[`
|
|
|
${ge}-cell-fix-right-first::after,
|
|
|
${ge}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Et}`}}}}},Ls=oe=>{const{componentCls:ge,antCls:He}=oe;return{[`${ge}-wrapper`]:{[`${ge}-pagination${He}-pagination`]:{margin:`${oe.margin}px 0`},[`${ge}-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:ge,tableRadius:He}=oe;return{[`${ge}-wrapper`]:{[ge]:{[`${ge}-title, ${ge}-header`]:{borderRadius:`${He}px ${He}px 0 0`},[`${ge}-title + ${ge}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ge}-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:He,borderStartEndRadius:He,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:He},"> *:last-child":{borderStartEndRadius:He}}},"&-footer":{borderRadius:`0 0 ${He}px ${He}px`}}}}},yo=oe=>{const{componentCls:ge}=oe;return{[`${ge}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ge}-pagination-left`]:{justifyContent:"flex-end"},[`${ge}-pagination-right`]:{justifyContent:"flex-start"},[`${ge}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ge}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ge}-row-indent`]:{float:"right"}}}}},Hs=oe=>{const{componentCls:ge,antCls:He,iconCls:Qe,fontSizeIcon:rt,padding:st,paddingXS:Ct,tableHeaderIconColor:Rt,tableHeaderIconColorHover:Et,tableSelectionColumnWidth:Bt}=oe;return{[`${ge}-wrapper`]:{[`${ge}-selection-col`]:{width:Bt,[`&${ge}-selection-col-with-dropdown`]:{width:Bt+rt+st/4}},[`${ge}-bordered ${ge}-selection-col`]:{width:Bt+Ct*2,[`&${ge}-selection-col-with-dropdown`]:{width:Bt+rt+st/4+Ct*2}},[`
|
|
|
table tr th${ge}-selection-column,
|
|
|
table tr td${ge}-selection-column
|
|
|
`]:{paddingInlineEnd:oe.paddingXS,paddingInlineStart:oe.paddingXS,textAlign:"center",[`${He}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ge}-selection-column${ge}-cell-fix-left`]:{zIndex:oe.zIndexTableFixed+1},[`table tr th${ge}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ge}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ge}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${oe.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${oe.tablePaddingHorizontal/4}px`,[Qe]:{color:Rt,fontSize:rt,verticalAlign:"baseline","&:hover":{color:Et}}}}}},js=oe=>{const{componentCls:ge}=oe,He=(Qe,rt,st,Ct)=>({[`${ge}${ge}-${Qe}`]:{fontSize:Ct,[`
|
|
|
${ge}-title,
|
|
|
${ge}-footer,
|
|
|
${ge}-cell,
|
|
|
${ge}-thead > tr > th,
|
|
|
${ge}-tbody > tr > th,
|
|
|
${ge}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{padding:`${rt}px ${st}px`},[`${ge}-filter-trigger`]:{marginInlineEnd:`-${st/2}px`},[`${ge}-expanded-row-fixed`]:{margin:`-${rt}px -${st}px`},[`${ge}-tbody`]:{[`${ge}-wrapper:only-child ${ge}`]:{marginBlock:`-${rt}px`,marginInline:`${oe.tableExpandColumnWidth-st}px -${st}px`}},[`${ge}-selection-column`]:{paddingInlineStart:`${st/4}px`}}});return{[`${ge}-wrapper`]:Object.assign(Object.assign({},He("middle",oe.tablePaddingVerticalMiddle,oe.tablePaddingHorizontalMiddle,oe.tableFontSizeMiddle)),He("small",oe.tablePaddingVerticalSmall,oe.tablePaddingHorizontalSmall,oe.tableFontSizeSmall))}},So=oe=>{const{componentCls:ge,marginXXS:He,fontSizeIcon:Qe,tableHeaderIconColor:rt,tableHeaderIconColorHover:st}=oe;return{[`${ge}-wrapper`]:{[`${ge}-thead th${ge}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${oe.motionDurationSlow}`,"&:hover":{background:oe.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:oe.colorPrimary},[`
|
|
|
&${ge}-cell-fix-left:hover,
|
|
|
&${ge}-cell-fix-right:hover
|
|
|
`]:{background:oe.tableFixedHeaderSortActiveBg}},[`${ge}-thead th${ge}-column-sort`]:{background:oe.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ge}-column-sort`]:{background:oe.tableBodySortBg},[`${ge}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${ge}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ge}-column-sorter`]:{marginInlineStart:He,color:rt,fontSize:0,transition:`color ${oe.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Qe,"&.active":{color:oe.colorPrimary}},[`${ge}-column-sorter-up + ${ge}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ge}-column-sorters:hover ${ge}-column-sorter`]:{color:st}}}},Ao=oe=>{const{componentCls:ge,opacityLoading:He,tableScrollThumbBg:Qe,tableScrollThumbBgHover:rt,tableScrollThumbSize:st,tableScrollBg:Ct,zIndexTableSticky:Rt,stickyScrollBarBorderRadius:Et}=oe,Bt=`${oe.lineWidth}px ${oe.lineType} ${oe.tableBorderColor}`;return{[`${ge}-wrapper`]:{[`${ge}-sticky`]:{"&-holder":{position:"sticky",zIndex:Rt,background:oe.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${st}px !important`,zIndex:Rt,display:"flex",alignItems:"center",background:Ct,borderTop:Bt,opacity:He,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:st,backgroundColor:Qe,borderRadius:Et,transition:`all ${oe.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:rt}}}}}}},Ds=oe=>{const{componentCls:ge,lineWidth:He,tableBorderColor:Qe}=oe,rt=`${He}px ${oe.lineType} ${Qe}`;return{[`${ge}-wrapper`]:{[`${ge}-summary`]:{position:"relative",zIndex:oe.zIndexTableFixed,background:oe.tableBg,"> tr":{"> th, > td":{borderBottom:rt}}},[`div${ge}-summary`]:{boxShadow:`0 -${He}px 0 ${Qe}`}}}},Us=oe=>{const{componentCls:ge}=oe,He=`${oe.lineWidth}px ${oe.lineType} ${oe.tableBorderColor}`,Qe=`${ge}-expanded-row-cell`;return{[`${ge}-wrapper`]:{[`${ge}-tbody-virtual`]:{[`${ge}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${ge}-cell`]:{borderBottom:He},[`${ge}-expanded-row`]:{[`${Qe}${Qe}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${oe.lineWidth}px)`,borderInlineEnd:"none"}}},[`${ge}-bordered`]:{[`${ge}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:He,position:"absolute"},[`${ge}-cell`]:{borderInlineEnd:He,[`&${ge}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-oe.lineWidth,borderInlineStart:He}}}}}}};const Vs=oe=>{const{componentCls:ge,fontWeightStrong:He,tablePaddingVertical:Qe,tablePaddingHorizontal:rt,lineWidth:st,lineType:Ct,tableBorderColor:Rt,tableFontSize:Et,tableBg:Bt,tableRadius:we,tableHeaderTextColor:Kt,motionDurationMid:mn,tableHeaderBg:fn,tableHeaderCellSplitColor:cn,tableRowHoverBg:ft,tableSelectedRowBg:Ln,tableSelectedRowHoverBg:zn,tableFooterTextColor:Bn,tableFooterBg:Wn,paddingContentVerticalLG:br}=oe,Sr=`${st}px ${Ct} ${Rt}`;return{[`${ge}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,hs.dF)()),{[ge]:Object.assign(Object.assign({},(0,hs.Wf)(oe)),{fontSize:Et,background:Bt,borderRadius:`${we}px ${we}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${we}px ${we}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
|
${ge}-cell,
|
|
|
${ge}-thead > tr > th,
|
|
|
${ge}-tbody > tr > th,
|
|
|
${ge}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{position:"relative",padding:`${br}px ${rt}px`,overflowWrap:"break-word"},[`${ge}-title`]:{padding:`${Qe}px ${rt}px`},[`${ge}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Kt,fontWeight:He,textAlign:"start",background:fn,borderBottom:Sr,transition:`background ${mn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ge}-selection-column):not(${ge}-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}},[`${ge}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${mn}, border-color ${mn}`,borderBottom:Sr,[`
|
|
|
> ${ge}-wrapper:only-child,
|
|
|
> ${ge}-expanded-row-fixed > ${ge}-wrapper:only-child
|
|
|
`]:{[ge]:{marginBlock:`-${Qe}px`,marginInline:`${oe.tableExpandColumnWidth-rt}px -${rt}px`,[`${ge}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Kt,fontWeight:He,textAlign:"start",background:fn,borderBottom:Sr,transition:`background ${mn} ease`},[`
|
|
|
&${ge}-row:hover > th,
|
|
|
&${ge}-row:hover > td,
|
|
|
> th${ge}-cell-row-hover,
|
|
|
> td${ge}-cell-row-hover
|
|
|
`]:{background:ft},[`&${ge}-row-selected`]:{"> th, > td":{background:Ln},"&:hover > th, &:hover > td":{background:zn}}}},[`${ge}-footer`]:{padding:`${Qe}px ${rt}px`,color:Bn,background:Wn}})}};var eo=(0,ks.Z)("Table",oe=>{const{colorTextHeading:ge,colorSplit:He,colorIcon:Qe,colorIconHover:rt,opacityLoading:st,colorBgContainer:Ct,controlInteractiveSize:Rt,headerBg:Et,headerColor:Bt,headerSortActiveBg:we,headerSortHoverBg:Kt,bodySortBg:mn,rowHoverBg:fn,rowSelectedBg:cn,rowSelectedHoverBg:ft,rowExpandedBg:Ln,cellPaddingBlock:zn,cellPaddingInline:Bn,cellPaddingBlockMD:Wn,cellPaddingInlineMD:br,cellPaddingBlockSM:Sr,cellPaddingInlineSM:pr,borderColor:Or,footerBg:Br,footerColor:Gn,headerBorderRadius:mr,cellFontSize:Yn,cellFontSizeMD:Un,cellFontSizeSM:hr,headerSplitColor:Ir,fixedHeaderSortActiveBg:Gr,headerFilterHoverBg:re,filterDropdownBg:l,expandIconBg:d,selectionColumnWidth:h,stickyScrollBarBg:v}=oe,N=new Ja.C(Qe),le=new Ja.C(rt),Ne=2,Me=(0,ps.TS)(oe,{tableFontSize:Yn,tableBg:Ct,tableRadius:mr,tablePaddingVertical:zn,tablePaddingHorizontal:Bn,tablePaddingVerticalMiddle:Wn,tablePaddingHorizontalMiddle:br,tablePaddingVerticalSmall:Sr,tablePaddingHorizontalSmall:pr,tableBorderColor:Or,tableHeaderTextColor:Bt,tableHeaderBg:Et,tableFooterTextColor:Gn,tableFooterBg:Br,tableHeaderCellSplitColor:Ir,tableHeaderSortBg:we,tableHeaderSortHoverBg:Kt,tableHeaderIconColor:N.clone().setAlpha(N.getAlpha()*st).toRgbString(),tableHeaderIconColorHover:le.clone().setAlpha(le.getAlpha()*st).toRgbString(),tableBodySortBg:mn,tableFixedHeaderSortActiveBg:Gr,tableHeaderFilterActiveBg:re,tableFilterDropdownBg:l,tableRowHoverBg:fn,tableSelectedRowBg:cn,tableSelectedRowHoverBg:ft,zIndexTableFixed:Ne,zIndexTableSticky:Ne+1,tableFontSizeMiddle:Un,tableFontSizeSmall:hr,tableSelectionColumnWidth:h,tableExpandIconBg:d,tableExpandColumnWidth:Rt+2*oe.padding,tableExpandedRowBg:Ln,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:v,tableScrollThumbBgHover:ge,tableScrollBg:He});return[Vs(Me),Ls(Me),Ds(Me),So(Me),qs(Me),Dn(Me),qa(Me),Ga(Me),Ds(Me),Qs(Me),Hs(Me),Os(Me),Ao(Me),Ms(Me),js(Me),yo(Me),Us(Me)]},oe=>{const{colorFillAlter:ge,colorBgContainer:He,colorTextHeading:Qe,colorFillSecondary:rt,colorFillContent:st,controlItemBgActive:Ct,controlItemBgActiveHover:Rt,padding:Et,paddingSM:Bt,paddingXS:we,colorBorderSecondary:Kt,borderRadiusLG:mn,fontSize:fn,controlHeight:cn,colorTextPlaceholder:ft}=oe,Ln=new Ja.C(rt).onBackground(He).toHexShortString(),zn=new Ja.C(st).onBackground(He).toHexShortString(),Bn=new Ja.C(ge).onBackground(He).toHexShortString();return{headerBg:Bn,headerColor:Qe,headerSortActiveBg:Ln,headerSortHoverBg:zn,bodySortBg:Bn,rowHoverBg:Bn,rowSelectedBg:Ct,rowSelectedHoverBg:Rt,rowExpandedBg:ge,cellPaddingBlock:Et,cellPaddingInline:Et,cellPaddingBlockMD:Bt,cellPaddingInlineMD:we,cellPaddingBlockSM:we,cellPaddingInlineSM:we,borderColor:Kt,headerBorderRadius:mn,footerBg:Bn,footerColor:Qe,cellFontSize:fn,cellFontSizeMD:fn,cellFontSizeSM:fn,headerSplitColor:Kt,fixedHeaderSortActiveBg:Ln,headerFilterHoverBg:st,filterDropdownMenuBg:He,filterDropdownBg:He,expandIconBg:He,selectionColumnWidth:cn,stickyScrollBarBg:ft,stickyScrollBarBorderRadius:100}});const to=[],no=(oe,ge)=>{const{prefixCls:He,className:Qe,rootClassName:rt,style:st,size:Ct,bordered:Rt,dropdownPrefixCls:Et,dataSource:Bt,pagination:we,rowSelection:Kt,rowKey:mn="key",rowClassName:fn,columns:cn,children:ft,childrenColumnName:Ln,onChange:zn,getPopupContainer:Bn,loading:Wn,expandIcon:br,expandable:Sr,expandedRowRender:pr,expandIconColumnIndex:Or,indentSize:Br,scroll:Gn,sortDirections:mr,locale:Yn,showSorterTooltip:Un=!0,virtual:hr}=oe,Ir=C.useMemo(()=>cn||At(ft),[cn,ft]),Gr=C.useMemo(()=>Ir.some(fi=>fi.responsive),[Ir]),re=(0,Vr.Z)(Gr),l=C.useMemo(()=>{const fi=new Set(Object.keys(re).filter(Li=>re[Li]));return Ir.filter(Li=>!Li.responsive||Li.responsive.some(ma=>fi.has(ma)))},[Ir,re]),d=(0,kr.Z)(oe,["className","style","columns"]),{locale:h=oi.Z,direction:v,table:N,renderEmpty:le,getPrefixCls:Ne,getPopupContainer:Me}=C.useContext(wi.E_),tt=(0,$r.Z)(Ct),gt=Object.assign(Object.assign({},h.Table),Yn),Ft=Bt||to,Yt=Ne("table",He),Sn=Ne("dropdown",Et),Xt=Object.assign({childrenColumnName:Ln,expandIconColumnIndex:Or},Sr),{childrenColumnName:on="children"}=Xt,gn=C.useMemo(()=>Ft.some(fi=>fi==null?void 0:fi[on])?"nest":pr||Sr&&Sr.expandedRowRender?"row":null,[Ft]),Fn={body:C.useRef()},ar=C.useMemo(()=>typeof mn=="function"?mn:fi=>fi==null?void 0:fi[mn],[mn]),[In]=os(Ft,on,ar),nr={},Er=function(fi,Li){let ma=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Bi,Da,Pa;const Ka=Object.assign(Object.assign({},nr),fi);ma&&((Bi=nr.resetPagination)===null||Bi===void 0||Bi.call(nr),!((Da=Ka.pagination)===null||Da===void 0)&&Da.current&&(Ka.pagination.current=1),we&&we.onChange&&we.onChange(1,(Pa=Ka.pagination)===null||Pa===void 0?void 0:Pa.pageSize)),Gn&&Gn.scrollToFirstRowOnChange!==!1&&Fn.body.current&&(0,Wr.Z)(0,{getContainer:()=>Fn.body.current}),zn==null||zn(Ka.pagination,Ka.filters,Ka.sorter,{currentDataSource:Ha(_i(Ft,Ka.sorterStates,on),Ka.filterStates),action:Li})},_r=(fi,Li)=>{Er({sorter:fi,sorterStates:Li},"sort",!1)},[ri,ii,Wi,ci]=xi({prefixCls:Yt,mergedColumns:l,onSorterChange:_r,sortDirections:mr||["ascend","descend"],tableLocale:gt,showSorterTooltip:Un}),ai=C.useMemo(()=>_i(Ft,ii,on),[Ft,ii]);nr.sorter=ci(),nr.sorterStates=ii;const bi=(fi,Li)=>{Er({filters:fi,filterStates:Li},"filter",!0)},[qi,xa,Kr]=ss({prefixCls:Yt,locale:gt,dropdownPrefixCls:Sn,mergedColumns:l,onFilterChange:bi,getPopupContainer:Bn||Me}),Xr=Ha(ai,xa);nr.filters=Kr,nr.filterStates=xa;const Jr=C.useMemo(()=>{const fi={};return Object.keys(Kr).forEach(Li=>{Kr[Li]!==null&&(fi[Li]=Kr[Li])}),Object.assign(Object.assign({},Wi),{filters:fi})},[Wi,Kr]),[Ri]=Ji(Jr),ea=(fi,Li)=>{Er({pagination:Object.assign(Object.assign({},nr.pagination),{current:fi,pageSize:Li})},"paginate")},[jr,ra]=ns(Xr.length,ea,we);nr.pagination=we===!1?{}:Qi(jr,we),nr.resetPagination=ra;const ta=C.useMemo(()=>{if(we===!1||!jr.pageSize)return Xr;const{current:fi=1,total:Li,pageSize:ma=Ta}=jr;return Xr.length<Li?Xr.length>ma?Xr.slice((fi-1)*ma,fi*ma):Xr:Xr.slice((fi-1)*ma,fi*ma)},[!!we,Xr,jr&&jr.current,jr&&jr.pageSize,jr&&jr.total]),[Aa,Ma]=Ba({prefixCls:Yt,data:Xr,pageData:ta,getRowKey:ar,getRecordByKey:In,expandType:gn,childrenColumnName:on,locale:gt,getPopupContainer:Bn||Me},Kt),Ea=(fi,Li,ma)=>{let Bi;return typeof fn=="function"?Bi=B()(fn(fi,Li,ma)):Bi=B()(fn),B()({[`${Yt}-row-selected`]:Ma.has(ar(fi,Li))},Bi)};Xt.__PARENT_RENDER_ICON__=Xt.expandIcon,Xt.expandIcon=Xt.expandIcon||br||li(gt),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 Br=="number"?Br:15);const Ss=C.useCallback(fi=>Ri(Aa(qi(ri(fi)))),[ri,qi,Aa]);let Xa,Na;if(we!==!1&&(jr!=null&&jr.total)){let fi;jr.size?fi=jr.size:fi=tt==="small"||tt==="middle"?"small":void 0;const Li=Da=>C.createElement(Ti.Z,Object.assign({},jr,{className:B()(`${Yt}-pagination ${Yt}-pagination-${Da}`,jr.className),size:fi})),ma=v==="rtl"?"left":"right",{position:Bi}=jr;if(Bi!==null&&Array.isArray(Bi)){const Da=Bi.find(gs=>gs.includes("top")),Pa=Bi.find(gs=>gs.includes("bottom")),Ka=Bi.every(gs=>`${gs}`=="none");!Da&&!Pa&&!Ka&&(Na=Li(ma)),Da&&(Xa=Li(Da.toLowerCase().replace("top",""))),Pa&&(Na=Li(Pa.toLowerCase().replace("bottom","")))}else Na=Li(ma)}let ha;typeof Wn=="boolean"?ha={spinning:Wn}:typeof Wn=="object"&&(ha=Object.assign({spinning:!0},Wn));const[pa,$i]=eo(Yt),[,Ai]=(0,ei.Z)(),rs=B()(`${Yt}-wrapper`,N==null?void 0:N.className,{[`${Yt}-wrapper-rtl`]:v==="rtl"},Qe,rt,$i),Fs=Object.assign(Object.assign({},N==null?void 0:N.style),st),es=Yn&&Yn.emptyText||(le==null?void 0:le("Table"))||C.createElement(jn.Z,{componentName:"Table"}),$a=hr?fs:Xi,io={},ao=C.useMemo(()=>{const{fontSize:fi,lineHeight:Li,padding:ma,paddingXS:Bi,paddingSM:Da}=Ai,Pa=Math.floor(fi*Li);switch(tt){case"large":return ma*2+Pa;case"small":return Bi*2+Pa;default:return Da*2+Pa}},[Ai,tt]);return hr&&(io.listItemHeight=ao),pa(C.createElement("div",{ref:ge,className:rs,style:Fs},C.createElement(ki.Z,Object.assign({spinning:!1},ha),Xa,C.createElement($a,Object.assign({},io,d,{columns:l,direction:v,expandable:Xt,prefixCls:Yt,className:B()({[`${Yt}-middle`]:tt==="middle",[`${Yt}-small`]:tt==="small",[`${Yt}-bordered`]:Rt,[`${Yt}-empty`]:Ft.length===0}),data:ta,rowKey:ar,rowClassName:Ea,emptyText:es,internalHooks:L,internalRefs:Fn,transformColumns:Ss})),Na)))};var ro=C.forwardRef(no);const _o=(oe,ge)=>{const He=C.useRef(0);return He.current+=1,C.createElement(ro,Object.assign({},oe,{ref:ge,_renderTimes:He.current}))},La=C.forwardRef(_o);La.SELECTION_COLUMN=zi,La.EXPAND_COLUMN=y,La.SELECTION_ALL=Oi,La.SELECTION_INVERT=oa,La.SELECTION_NONE=pi,La.Column=Hn,La.ColumnGroup=er,La.Summary=_;var Gs=La,Zs=Gs},33166:function(nn,nt,f){"use strict";f.d(nt,{i:function(){return y}});const y=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},45157:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return L}});var y=f(33166);function L(X,Ee){return y.i.reduce(($,q)=>{const C=X[`${q}1`],xe=X[`${q}3`],a=X[`${q}6`],I=X[`${q}7`];return Object.assign(Object.assign({},$),Ee(q,{lightColor:C,lightBorderColor:xe,darkColor:a,textColor:I}))},{})}},6848:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return de}});var y=f(59301),L=f(92310),X=f.n(L),Ee=f(55477),$=f(18929),q=f(62892),C=f(79676),xe=f(92343),a=f(36355),I=f(33234),K=f(88088),S=f(17313),u=f(29878),x=f(19447),m=f(45157),P=f(37613),ue=f(83116);const U=ae=>{const{componentCls:te,tooltipMaxWidth:B,tooltipColor:fe,tooltipBg:Y,tooltipBorderRadius:ce,zIndexPopup:ie,controlHeight:g,boxShadowSecondary:E,paddingSM:G,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:B,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":Y,[`${te}-inner`]:{minWidth:g,minHeight:g,padding:`${G/2}px ${J}px`,color:fe,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:Y,borderRadius:ce,boxShadow:E,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${te}-inner`]:{borderRadius:Math.min(ce,x.qN)}},[`${te}-content`]:{position:"relative"}}),(0,m.Z)(ae,(ke,Fe)=>{let{darkColor:Ze}=Fe;return{[`&${te}-${ke}`]:{[`${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:ce,limitVerticalRadius:!0}),{[`${te}-pure`]:{position:"relative",maxWidth:"none",margin:ae.sizePopupArrow}}]};var V=(ae,te)=>(0,ue.Z)("Tooltip",fe=>{if(te===!1)return[];const{borderRadius:Y,colorTextLightSolid:ce,colorBgDefault:ie,borderRadiusOuter:g}=fe,E=(0,P.TS)(fe,{tooltipMaxWidth:250,tooltipColor:ce,tooltipBorderRadius:Y,tooltipBg:ie,tooltipRadiusOuter:g>4?4:g});return[U(E),(0,u._y)(fe,"zoom-big-fast")]},fe=>{let{zIndexPopupBase:Y,colorBgSpotlight:ce}=fe;return{zIndexPopup:Y+70,colorBgDefault:ce}},{resetStyle:!1})(ae),ne=f(36785);function Q(ae,te){const B=(0,ne.o2)(te),fe=X()({[`${ae}-${te}`]:te&&B}),Y={},ce={};return te&&!B&&(Y.background=te,ce["--antd-arrow-background-color"]=te),{className:fe,overlayStyle:Y,arrowStyle:ce}}var R=ae=>{const{prefixCls:te,className:B,placement:fe="top",title:Y,color:ce,overlayInnerStyle:ie}=ae,{getPrefixCls:g}=y.useContext(a.E_),E=g("tooltip",te),[G,J]=V(E,!0),Le=Q(E,ce),ke=Le.arrowStyle,Fe=Object.assign(Object.assign({},ie),Le.overlayStyle),Ze=X()(J,E,`${E}-pure`,`${E}-placement-${fe}`,B,Le.className);return G(y.createElement("div",{className:Ze,style:ke},y.createElement("div",{className:`${E}-arrow`}),y.createElement(Ee.G,Object.assign({},ae,{className:J,prefixCls:E,overlayInnerStyle:Fe}),Y)))},Z=function(ae,te){var B={};for(var fe in ae)Object.prototype.hasOwnProperty.call(ae,fe)&&te.indexOf(fe)<0&&(B[fe]=ae[fe]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,fe=Object.getOwnPropertySymbols(ae);Y<fe.length;Y++)te.indexOf(fe[Y])<0&&Object.prototype.propertyIsEnumerable.call(ae,fe[Y])&&(B[fe[Y]]=ae[fe[Y]]);return B};const z=(ae,te)=>{const B={},fe=Object.assign({},ae);return te.forEach(Y=>{ae&&Y in ae&&(B[Y]=ae[Y],delete fe[Y])}),{picked:B,omitted:fe}};function pe(ae,te){const B=ae.type;if((B.__ANT_BUTTON===!0||ae.type==="button")&&ae.props.disabled||B.__ANT_SWITCH===!0&&(ae.props.disabled||ae.props.loading)||B.__ANT_RADIO===!0&&ae.props.disabled){const{picked:fe,omitted:Y}=z(ae.props.style,["position","left","right","top","bottom","float","display","zIndex"]),ce=Object.assign(Object.assign({display:"inline-block"},fe),{cursor:"not-allowed",width:ae.props.block?"100%":void 0}),ie=Object.assign(Object.assign({},Y),{pointerEvents:"none"}),g=(0,xe.Tm)(ae,{style:ie,className:null});return y.createElement("span",{style:ce,className:X()(ae.props.className,`${te}-disabled-compatible-wrapper`)},g)}return ae}const me=y.forwardRef((ae,te)=>{var B,fe;const{prefixCls:Y,openClassName:ce,getTooltipContainer:ie,overlayClassName:g,color:E,overlayInnerStyle:G,children:J,afterOpenChange:Le,afterVisibleChange:ke,destroyTooltipOnHide:Fe,arrow:Ze=!0,title:lt,overlay:ut,builtinPlacements:it,arrowPointAtCenter:Ut=!1,autoAdjustOverflow:qt=!0}=ae,an=!!Ze,[,Ot]=(0,K.Z)(),{getPopupContainer:ot,getPrefixCls:_t,direction:se}=y.useContext(a.E_),ye=y.useRef(null),H=()=>{var et;(et=ye.current)===null||et===void 0||et.forceAlign()};y.useImperativeHandle(te,()=>({forceAlign:H,forcePopupAlign:()=>{H()}}));const[O,Ae]=(0,$.Z)(!1,{value:(B=ae.open)!==null&&B!==void 0?B:ae.visible,defaultValue:(fe=ae.defaultOpen)!==null&&fe!==void 0?fe:ae.defaultVisible}),k=!lt&&!ut&<!==0,_=et=>{var Xe,Se;Ae(k?!1:et),k||((Xe=ae.onOpenChange)===null||Xe===void 0||Xe.call(ae,et),(Se=ae.onVisibleChange)===null||Se===void 0||Se.call(ae,et))},T=y.useMemo(()=>{var et,Xe;let Se=Ut;return typeof Ze=="object"&&(Se=(Xe=(et=Ze.pointAtCenter)!==null&&et!==void 0?et:Ze.arrowPointAtCenter)!==null&&Xe!==void 0?Xe:Ut),it||(0,C.Z)({arrowPointAtCenter:Se,autoAdjustOverflow:qt,arrowWidth:an?Ot.sizePopupArrow:0,borderRadius:Ot.borderRadius,offset:Ot.marginXXS,visibleFirst:!0})},[Ut,Ze,it,Ot]),ee=y.useMemo(()=>lt===0?lt:ut||lt||"",[ut,lt]),W=y.createElement(I.BR,null,typeof ee=="function"?ee():ee),{getPopupContainer:j,placement:_e="top",mouseEnterDelay:Ke=.1,mouseLeaveDelay:De=.1,overlayStyle:Oe,rootClassName:Ye}=ae,Je=Z(ae,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),Ge=_t("tooltip",Y),yt=_t(),xt=ae["data-popover-inject"];let dt=O;!("open"in ae)&&!("visible"in ae)&&k&&(dt=!1);const kt=pe((0,xe.l$)(J)&&!(0,xe.M2)(J)?J:y.createElement("span",null,J),Ge),Tt=kt.props,w=!Tt.className||typeof Tt.className=="string"?X()(Tt.className,ce||`${Ge}-open`):Tt.className,[D,bt]=V(Ge,!xt),he=Q(Ge,E),Be=he.arrowStyle,pn=Object.assign(Object.assign({},G),he.overlayStyle),We=X()(g,{[`${Ge}-rtl`]:se==="rtl"},he.className,Ye,bt);return D(y.createElement(Ee.Z,Object.assign({},Je,{showArrow:an,placement:_e,mouseEnterDelay:Ke,mouseLeaveDelay:De,prefixCls:Ge,overlayClassName:We,overlayStyle:Object.assign(Object.assign({},Be),Oe),getTooltipContainer:j||ie||ot,ref:ye,builtinPlacements:T,overlay:W,visible:dt,onVisibleChange:_,afterVisibleChange:Le!=null?Le:ke,overlayInnerStyle:pn,arrowContent:y.createElement("span",{className:`${Ge}-arrow-content`}),motion:{motionName:(0,q.m)(yt,"zoom-big-fast",ae.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!Fe}),dt?(0,xe.Tm)(kt,{className:w}):kt))});me._InternalPanelDoNotUseOrYouWillBeFired=R;var de=me},17574:function(nn,nt,f){"use strict";f.d(nt,{default:function(){return E}});var y=f(43858),L=f(19127),X=f(52671),Ee=f(8657),$=f(96663),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"},xe=C,a=f(7657),I=function(J,Le){return q.createElement(a.Z,(0,$.Z)({},J,{ref:Le,icon:xe}))},K=q.forwardRef(I),S=K,u=f(92310),x=f.n(u),m=f(35654),P=f(71430),ue=f(36355),U=f(56082),V=f(62892),ne=f(20648);const Q=4;function b(G){const{dropPosition:J,dropLevelOffset:Le,prefixCls:ke,indent:Fe,direction:Ze="ltr"}=G,lt=Ze==="ltr"?"left":"right",ut=Ze==="ltr"?"right":"left",it={[lt]:-Le*Fe+Q,[ut]:0};switch(J){case-1:it.top=-3;break;case 1:it.bottom=-3;break;default:it.bottom=-3,it[lt]=Fe+Q;break}return q.createElement("div",{style:it,className:`${ke}-drop-indicator`})}var R=f(71997),z=q.forwardRef((G,J)=>{const{getPrefixCls:Le,direction:ke,virtual:Fe,tree:Ze}=q.useContext(ue.E_),{prefixCls:lt,className:ut,showIcon:it=!1,showLine:Ut,switcherIcon:qt,blockNode:an=!1,children:Ot,checkable:ot=!1,selectable:_t=!0,draggable:se,motion:ye,style:H}=G,O=Le("tree",lt),Ae=Le(),k=ye!=null?ye:Object.assign(Object.assign({},(0,V.Z)(Ae)),{motionAppear:!1}),_=Object.assign(Object.assign({},G),{checkable:ot,selectable:_t,showIcon:it,motion:k,blockNode:an,showLine:!!Ut,dropIndicatorRender:b}),[T,ee]=(0,ne.ZP)(O),W=q.useMemo(()=>{if(!se)return!1;let _e={};switch(typeof se){case"function":_e.nodeDraggable=se;break;case"object":_e=Object.assign({},se);break;default:break}return _e.icon!==!1&&(_e.icon=_e.icon||q.createElement(U.Z,null)),_e},[se]),j=_e=>q.createElement(R.Z,{prefixCls:O,switcherIcon:qt,treeNodeProps:_e,showLine:Ut});return T(q.createElement(y.Z,Object.assign({itemHeight:20,ref:J,virtual:Fe},_,{style:Object.assign(Object.assign({},Ze==null?void 0:Ze.style),H),prefixCls:O,className:x()({[`${O}-icon-hide`]:!it,[`${O}-block-node`]:an,[`${O}-unselectable`]:!_t,[`${O}-rtl`]:ke==="rtl"},Ze==null?void 0:Ze.className,ut,ee),direction:ke,checkable:ot&&q.createElement("span",{className:`${O}-checkbox-inner`}),selectable:_t,switcherIcon:j,draggable:W}),Ot))}),pe;(function(G){G[G.None=0]="None",G[G.Start=1]="Start",G[G.End=2]="End"})(pe||(pe={}));function me(G,J){function Le(ke){const{key:Fe,children:Ze}=ke;J(Fe,ke)!==!1&&me(Ze||[],J)}G.forEach(Le)}function de(G){let{treeData:J,expandedKeys:Le,startKey:ke,endKey:Fe}=G;const Ze=[];let lt=pe.None;if(ke&&ke===Fe)return[ke];if(!ke||!Fe)return[];function ut(it){return it===ke||it===Fe}return me(J,it=>{if(lt===pe.End)return!1;if(ut(it)){if(Ze.push(it),lt===pe.None)lt=pe.Start;else if(lt===pe.Start)return lt=pe.End,!1}else lt===pe.Start&&Ze.push(it);return Le.includes(it)}),Ze}function ae(G,J){const Le=(0,L.Z)(J),ke=[];return me(G,(Fe,Ze)=>{const lt=Le.indexOf(Fe);return lt!==-1&&(ke.push(Ze),Le.splice(lt,1)),!!Le.length}),ke}var te=function(G,J){var Le={};for(var ke in G)Object.prototype.hasOwnProperty.call(G,ke)&&J.indexOf(ke)<0&&(Le[ke]=G[ke]);if(G!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,ke=Object.getOwnPropertySymbols(G);Fe<ke.length;Fe++)J.indexOf(ke[Fe])<0&&Object.prototype.propertyIsEnumerable.call(G,ke[Fe])&&(Le[ke[Fe]]=G[ke[Fe]]);return Le};function B(G){const{isLeaf:J,expanded:Le}=G;return J?q.createElement(X.Z,null):Le?q.createElement(Ee.Z,null):q.createElement(S,null)}function fe(G){let{treeData:J,children:Le}=G;return J||(0,P.zn)(Le)}const Y=(G,J)=>{var{defaultExpandAll:Le,defaultExpandParent:ke,defaultExpandedKeys:Fe}=G,Ze=te(G,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const lt=q.useRef(),ut=q.useRef(),it=()=>{const{keyEntities:W}=(0,P.I8)(fe(Ze));let j;return Le?j=Object.keys(W):ke?j=(0,m.r7)(Ze.expandedKeys||Fe||[],W):j=Ze.expandedKeys||Fe,j},[Ut,qt]=q.useState(Ze.selectedKeys||Ze.defaultSelectedKeys||[]),[an,Ot]=q.useState(()=>it());q.useEffect(()=>{"selectedKeys"in Ze&&qt(Ze.selectedKeys)},[Ze.selectedKeys]),q.useEffect(()=>{"expandedKeys"in Ze&&Ot(Ze.expandedKeys)},[Ze.expandedKeys]);const ot=(W,j)=>{var _e;return"expandedKeys"in Ze||Ot(W),(_e=Ze.onExpand)===null||_e===void 0?void 0:_e.call(Ze,W,j)},_t=(W,j)=>{var _e;const{multiple:Ke}=Ze,{node:De,nativeEvent:Oe}=j,{key:Ye=""}=De,Je=fe(Ze),Ge=Object.assign(Object.assign({},j),{selected:!0}),yt=(Oe==null?void 0:Oe.ctrlKey)||(Oe==null?void 0:Oe.metaKey),xt=Oe==null?void 0:Oe.shiftKey;let dt;Ke&&yt?(dt=W,lt.current=Ye,ut.current=dt,Ge.selectedNodes=ae(Je,dt)):Ke&&xt?(dt=Array.from(new Set([].concat((0,L.Z)(ut.current||[]),(0,L.Z)(de({treeData:Je,expandedKeys:an,startKey:Ye,endKey:lt.current}))))),Ge.selectedNodes=ae(Je,dt)):(dt=[Ye],lt.current=Ye,ut.current=dt,Ge.selectedNodes=ae(Je,dt)),(_e=Ze.onSelect)===null||_e===void 0||_e.call(Ze,dt,Ge),"selectedKeys"in Ze||qt(dt)},{getPrefixCls:se,direction:ye}=q.useContext(ue.E_),{prefixCls:H,className:O,showIcon:Ae=!0,expandAction:k="click"}=Ze,_=te(Ze,["prefixCls","className","showIcon","expandAction"]),T=se("tree",H),ee=x()(`${T}-directory`,{[`${T}-directory-rtl`]:ye==="rtl"},O);return q.createElement(z,Object.assign({icon:B,ref:J,blockNode:!0},_,{showIcon:Ae,expandAction:k,prefixCls:T,className:ee,expandedKeys:an,selectedKeys:Ut,onSelect:_t,onExpand:ot}))};var ie=q.forwardRef(Y);const g=z;g.DirectoryTree=ie,g.TreeNode=y.O;var E=g},20648:function(nn,nt,f){"use strict";f.d(nt,{TM:function(){return u},Yk:function(){return S}});var y=f(93083),L=f(98447),X=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}}),xe=(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:U,titleHeight:V,nodeSelectedBg:ne,nodeHoverBg:Q}=m,b=m.paddingXS;return{[P]:Object.assign(Object.assign({},(0,X.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,X.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:U,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 ${U}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,X.oN)(m)),[`&:not(${ue}-disabled).filter-node ${P}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${P}-draggable-icon`]:{flexShrink:0,width:V,lineHeight:`${V}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:V}},[`${P}-draggable-icon`]:{visibility:"hidden"},[`${P}-switcher`]:Object.assign(Object.assign({},xe(x,m)),{position:"relative",flex:"none",alignSelf:"stretch",width:V,margin:0,lineHeight:`${V}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:V/2,bottom:-U,marginInlineStart:-1,borderInlineEnd:`1px solid ${m.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:V/2*.8,height:V/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:V,margin:0,padding:`0 ${m.paddingXS/2}px`,color:"inherit",lineHeight:`${V}px`,background:"transparent",borderRadius:m.borderRadius,cursor:"pointer",transition:`all ${m.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:Q},[`&${P}-node-selected`]:{backgroundColor:ne},[`${P}-iconEle`]:{display:"inline-block",width:V,height:V,lineHeight:`${V}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${P}-unselectable ${P}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${P}-node-content-wrapper`]:Object.assign({lineHeight:`${V}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:V/2,bottom:-U,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:`${V/2}px !important`}}}}})}},K=x=>{const{treeCls:m,treeNodeCls:P,treeNodePadding:ue,directoryNodeSelectedBg:U,directoryNodeSelectedColor:V}=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:V,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:U},[`${m}-switcher`]:{color:V},[`${m}-node-content-wrapper`]:{color:V,background:"transparent"}}}}}},S=(x,m)=>{const P=`.${x}`,ue=`${P}-treenode`,U=m.paddingXS/2,V=(0,$.TS)(m,{treeCls:P,treeNodeCls:ue,treeNodePadding:U});return[I(x,V),K(V)]},u=x=>{const{controlHeightSM:m}=x;return{titleHeight:m,nodeHoverBg:x.controlItemBgHover,nodeSelectedBg:x.controlItemBgActive}};nt.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})})},71997:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return ue}});var y=f(96663),L=f(59301),X={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=X,$=f(7657),q=function(V,ne){return L.createElement($.Z,(0,y.Z)({},V,{ref:ne,icon:Ee}))},C=L.forwardRef(q),xe=C,a=f(52671),I=f(58617),K=f(15075),S=f(43531),u=f(92310),x=f.n(u),m=f(92343),ue=U=>{const{prefixCls:V,switcherIcon:ne,treeNodeProps:Q,showLine:b}=U,{isLeaf:R,expanded:Z,loading:z}=Q;if(z)return L.createElement(I.Z,{className:`${V}-switcher-loading-icon`});let pe;if(b&&typeof b=="object"&&(pe=b.showLeafIcon),R){if(!b)return null;if(typeof pe!="boolean"&&pe){const ae=typeof pe=="function"?pe(Q):pe,te=`${V}-switcher-line-custom-icon`;return(0,m.l$)(ae)?(0,m.Tm)(ae,{className:x()(ae.props.className||"",te)}):ae}return pe?L.createElement(a.Z,{className:`${V}-switcher-line-icon`}):L.createElement("span",{className:`${V}-switcher-leaf-line`})}const me=`${V}-switcher-icon`,de=typeof ne=="function"?ne(Q):ne;return(0,m.l$)(de)?(0,m.Tm)(de,{className:x()(de.props.className||"",me)}):de!==void 0?de:b?Z?L.createElement(K.Z,{className:`${V}-switcher-line-icon`}):L.createElement(S.Z,{className:`${V}-switcher-line-icon`}):L.createElement(xe,{className:me})}},64018:function(){var nn,nt,f,y=!1,L,X;window.PR_SHOULD_USE_CONTINUATION=!0;var Ee,$;(function(){var q=window,C=["break,continue,do,else,for,if,return,while"],xe=[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=[xe,"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"],K=[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"],U=[C,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],V=[I,S,K,x,m,P,ue,U],ne=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,Q="str",b="kwd",R="com",Z="typ",z="lit",pe="pun",me="pln",de="tag",ae="dec",te="src",B="atn",fe="atv",Y="nocode",ce="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function ie(se){for(var ye=0,H=!1,O=!1,Ae=0,k=se.length;Ae<k;++Ae){var _=se[Ae];if(_.ignoreCase)O=!0;else if(/[a-z]/i.test(_.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 ee(De){var Oe=De.charCodeAt(0);if(Oe!==92)return Oe;var Ye=De.charAt(1);return Oe=T[Ye],Oe||("0"<=Ye&&Ye<="7"?parseInt(De.substring(1),8):Ye==="u"||Ye==="x"?parseInt(De.substring(2),16):De.charCodeAt(1))}function W(De){if(De<32)return(De<16?"\\x0":"\\x")+De.toString(16);var Oe=String.fromCharCode(De);return Oe==="\\"||Oe==="-"||Oe==="]"||Oe==="^"?"\\"+Oe:Oe}function j(De){var Oe=De.substring(1,De.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=[],Je=Oe[0]==="^",Ge=["["];Je&&Ge.push("^");for(var yt=Je?1:0,xt=Oe.length;yt<xt;++yt){var dt=Oe[yt];if(/\\[bdsw]/i.test(dt))Ge.push(dt);else{var kt=ee(dt),Tt;yt+2<xt&&Oe[yt+1]==="-"?(Tt=ee(Oe[yt+2]),yt+=2):Tt=kt,Ye.push([kt,Tt]),Tt<65||kt>122||(Tt<65||kt>90||Ye.push([Math.max(65,kt)|32,Math.min(Tt,90)|32]),Tt<97||kt>122||Ye.push([Math.max(97,kt)&-33,Math.min(Tt,122)&-33]))}}Ye.sort(function(he,Be){return he[0]-Be[0]||Be[1]-he[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];Ge.push(W(bt[0])),bt[1]>bt[0]&&(bt[1]+1>bt[0]&&Ge.push("-"),Ge.push(W(bt[1])))}return Ge.push("]"),Ge.join("")}function _e(De){for(var Oe=De.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=Oe.length,Je=[],Ge=0,yt=0;Ge<Ye;++Ge){var xt=Oe[Ge];if(xt==="(")++yt;else if(xt.charAt(0)==="\\"){var dt=+xt.substring(1);dt&&(dt<=yt?Je[dt]=-1:Oe[Ge]=W(dt))}}for(var Ge=1;Ge<Je.length;++Ge)Je[Ge]===-1&&(Je[Ge]=++ye);for(var Ge=0,yt=0;Ge<Ye;++Ge){var xt=Oe[Ge];if(xt==="(")++yt,Je[yt]||(Oe[Ge]="(?:");else if(xt.charAt(0)==="\\"){var dt=+xt.substring(1);dt&&dt<=yt&&(Oe[Ge]="\\"+Je[dt])}}for(var Ge=0;Ge<Ye;++Ge)Oe[Ge]==="^"&&Oe[Ge+1]!=="^"&&(Oe[Ge]="");if(De.ignoreCase&&H)for(var Ge=0;Ge<Ye;++Ge){var xt=Oe[Ge],kt=xt.charAt(0);xt.length>=2&&kt==="["?Oe[Ge]=j(xt):kt!=="\\"&&(Oe[Ge]=xt.replace(/[a-zA-Z]/g,function(D){var bt=D.charCodeAt(0);return"["+String.fromCharCode(bt&-33,bt|32)+"]"}))}return Oe.join("")}for(var Ke=[],Ae=0,k=se.length;Ae<k;++Ae){var _=se[Ae];if(_.global||_.multiline)throw new Error(""+_);Ke.push("(?:"+_e(_)+")")}return new RegExp(Ke.join("|"),O?"gi":"g")}function g(se,ye){var H=/(?:^|\s)nocode(?:\s|$)/,O=[],Ae=0,k=[],_=0;function T(ee){var W=ee.nodeType;if(W==1){if(H.test(ee.className))return;for(var j=ee.firstChild;j;j=j.nextSibling)T(j);var _e=ee.nodeName.toLowerCase();(_e==="br"||_e==="li")&&(O[_]=`
|
|
|
`,k[_<<1]=Ae++,k[_++<<1|1]=ee)}else if(W==3||W==4){var Ke=ee.nodeValue;Ke.length&&(ye?Ke=Ke.replace(/\r\n?/g,`
|
|
|
`):Ke=Ke.replace(/[ \t\r\n]+/g," "),O[_]=Ke,k[_<<1]=Ae,Ae+=Ke.length,k[_++<<1|1]=ee)}}return T(se),{sourceCode:O.join("").replace(/\n$/,""),spans:k}}function E(se,ye,H,O,Ae){if(H){var k={sourceNode:se,pre:1,langExtension:null,numberLines:null,sourceCode:H,spans:null,basePos:ye,decorations:null};O(k),Ae.push.apply(Ae,k.decorations)}}var G=/\S/;function J(se){for(var ye=void 0,H=se.firstChild;H;H=H.nextSibling){var O=H.nodeType;ye=O===1?ye?se:H:O===3&&G.test(H.nodeValue)?se:ye}return ye===se?void 0:ye}function Le(se,ye){var H={},O;(function(){for(var _=se.concat(ye),T=[],ee={},W=0,j=_.length;W<j;++W){var _e=_[W],Ke=_e[3];if(Ke)for(var De=Ke.length;--De>=0;)H[Ke.charAt(De)]=_e;var Oe=_e[1],Ye=""+Oe;ee.hasOwnProperty(Ye)||(T.push(Oe),ee[Ye]=null)}T.push(/[\0-\uffff]/),O=ie(T)})();var Ae=ye.length,k=function(_){for(var T=_.sourceCode,ee=_.basePos,W=_.sourceNode,j=[ee,me],_e=0,Ke=T.match(O)||[],De={},Oe=0,Ye=Ke.length;Oe<Ye;++Oe){var Je=Ke[Oe],Ge=De[Je],yt=void 0,xt;if(typeof Ge=="string")xt=!1;else{var dt=H[Je.charAt(0)];if(dt)yt=Je.match(dt[1]),Ge=dt[0];else{for(var kt=0;kt<Ae;++kt)if(dt=ye[kt],yt=Je.match(dt[1]),yt){Ge=dt[0];break}yt||(Ge=me)}xt=Ge.length>=5&&Ge.substring(0,5)==="lang-",xt&&!(yt&&typeof yt[1]=="string")&&(xt=!1,Ge=te),xt||(De[Je]=Ge)}var Tt=_e;if(_e+=Je.length,!xt)j.push(ee+Tt,Ge);else{var w=yt[1],D=Je.indexOf(w),bt=D+w.length;yt[2]&&(bt=Je.length-yt[2].length,D=bt-w.length);var he=Ge.substring(5);E(W,ee+Tt,Je.substring(0,D),k,j),E(W,ee+Tt+D,w,Ut(he,w),j),E(W,ee+Tt+bt,Je.substring(bt),k,j)}}_.decorations=j};return k}function ke(se){var ye=[],H=[];se.tripleQuotedStrings?ye.push([Q,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):se.multiLineStrings?ye.push([Q,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):ye.push([Q,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),se.verbatimStrings&&H.push([Q,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var O=se.hashComments;O&&(se.cStyleComments?(O>1?ye.push([R,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):ye.push([R,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),H.push([Q,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):ye.push([R,/^#[^\r\n]*/,null,"#"])),se.cStyleComments&&(H.push([R,/^\/\/[^\r\n]*/,null]),H.push([R,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var Ae=se.regexLiterals;if(Ae){var k=Ae>1?"":`
|
|
|
\r`,_=k?".":"[\\S\\s]",T="/(?=[^/*"+k+"])(?:[^/\\x5B\\x5C"+k+"]|\\x5C"+_+"|\\x5B(?:[^\\x5C\\x5D"+k+"]|\\x5C"+_+")*(?:\\x5D|$))+/";H.push(["lang-regex",RegExp("^"+ce+"("+T+")")])}var ee=se.types;ee&&H.push([Z,ee]);var W=(""+se.keywords).replace(/^ | $/g,"");W.length&&H.push([b,new RegExp("^(?:"+W.replace(/[\s,]+/g,"|")+")\\b"),null]),ye.push([me,/^\s+/,null,` \r
|
|
|
\xA0`]);var j="^.[^\\s\\w.$@'\"`/\\\\]*";return se.regexLiterals&&(j+="(?!s*/)"),H.push([z,/^@[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],[z,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[me,/^\\[\s\S]?/,null],[pe,new RegExp(j),null]),Le(ye,H)}var Fe=ke({keywords:V,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function Ze(se,ye,H){for(var O=/(?:^|\s)nocode(?:\s|$)/,Ae=/\r\n?|\n/,k=se.ownerDocument,_=k.createElement("li");se.firstChild;)_.appendChild(se.firstChild);var T=[_];function ee(Oe){var Ye=Oe.nodeType;if(Ye==1&&!O.test(Oe.className))if(Oe.nodeName==="br")W(Oe),Oe.parentNode&&Oe.parentNode.removeChild(Oe);else for(var Je=Oe.firstChild;Je;Je=Je.nextSibling)ee(Je);else if((Ye==3||Ye==4)&&H){var Ge=Oe.nodeValue,yt=Ge.match(Ae);if(yt){var xt=Ge.substring(0,yt.index);Oe.nodeValue=xt;var dt=Ge.substring(yt.index+yt[0].length);if(dt){var kt=Oe.parentNode;kt.insertBefore(k.createTextNode(dt),Oe.nextSibling)}W(Oe),xt||Oe.parentNode.removeChild(Oe)}}}function W(Oe){for(;!Oe.nextSibling;)if(Oe=Oe.parentNode,!Oe)return;function Ye(yt,xt){var dt=xt?yt.cloneNode(!1):yt,kt=yt.parentNode;if(kt){var Tt=Ye(kt,1),w=yt.nextSibling;Tt.appendChild(dt);for(var D=w;D;D=w)w=D.nextSibling,Tt.appendChild(D)}return dt}for(var Je=Ye(Oe.nextSibling,0),Ge;(Ge=Je.parentNode)&&Ge.nodeType===1;)Je=Ge;T.push(Je)}for(var j=0;j<T.length;++j)ee(T[j]);ye===(ye|0)&&T[0].setAttribute("value",ye);var _e=k.createElement("ol");_e.className="linenums";for(var Ke=Math.max(0,ye-1|0)||0,j=0,De=T.length;j<De;++j)_=T[j],_.className="L"+(j+Ke)%10,_.firstChild||_.appendChild(k.createTextNode("\xA0")),_e.appendChild(_);se.appendChild(_e)}function lt(se){var ye=/\bMSIE\s(\d+)/.exec(navigator.userAgent);ye=ye&&+ye[1]<=8;var H=/\n/g,O=se.sourceCode,Ae=O.length,k=0,_=se.spans,T=_.length,ee=0,W=se.decorations,j=W.length,_e=0;W[j]=Ae;var Ke,De;for(De=Ke=0;De<j;)W[De]!==W[De+2]?(W[Ke++]=W[De++],W[Ke++]=W[De++]):De+=2;for(j=Ke,De=Ke=0;De<j;){for(var Oe=W[De],Ye=W[De+1],Je=De+2;Je+2<=j&&W[Je+1]===Ye;)Je+=2;W[Ke++]=Oe,W[Ke++]=Ye,De=Je}j=W.length=Ke;var Ge=se.sourceNode,yt="";Ge&&(yt=Ge.style.display,Ge.style.display="none");try{for(var xt=null;ee<T;){var dt=_[ee],kt=_[ee+2]||Ae,Tt=W[_e+2]||Ae,Je=Math.min(kt,Tt),w=_[ee+1],D;if(w.nodeType!==1&&(D=O.substring(k,Je))){ye&&(D=D.replace(H,"\r")),w.nodeValue=D;var bt=w.ownerDocument,he=bt.createElement("span");he.className=W[_e+1];var Be=w.parentNode;Be.replaceChild(he,w),he.appendChild(w),k<kt&&(_[ee+1]=w=bt.createTextNode(O.substring(Je,kt)),Be.insertBefore(w,he.nextSibling))}k=Je,k>=kt&&(ee+=2),k>=Tt&&(_e+=2)}}finally{Ge&&(Ge.style.display=yt)}}var ut={};function it(se,ye){for(var H=ye.length;--H>=0;){var O=ye[H];ut.hasOwnProperty(O)?q.console&&console.warn("cannot override language handler %s",O):ut[O]=se}}function Ut(se,ye){return se&&ut.hasOwnProperty(se)||(se=/^\s*</.test(ye)?"default-markup":"default-code"),ut[se]}it(Fe,["default-code"]),it(Le([],[[me,/^[^<?]+/],[ae,/^<!\w[^>]*(?:>|$)/],[R,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[pe,/^(?:<[%?]|[%?]>)/],["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
|
|
|
`],[fe,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[de,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[B,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[pe,/^[=<>\/]+/],["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([],[[fe,/^[\s\S]+/]]),["uq.val"]),it(ke({keywords:I,hashComments:!0,cStyleComments:!0,types:ne}),["c","cc","cpp","cxx","cyc","m"]),it(ke({keywords:"null,true,false"}),["json"]),it(ke({keywords:S,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:ne}),["cs"]),it(ke({keywords:K,cStyleComments:!0}),["java"]),it(ke({keywords:U,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),it(ke({keywords:P,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),it(ke({keywords:m,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),it(ke({keywords:ue,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),it(ke({keywords:x,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),it(ke({keywords:u,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),it(Le([],[[Q,/^[\s\S]+/]]),["regex"]);function qt(se){var ye=se.langExtension;try{var H=g(se.sourceNode,se.pre),O=H.sourceCode;se.sourceCode=O,se.spans=H.spans,se.basePos=0,Ut(ye,O)(se),lt(se)}catch(Ae){q.console&&console.log(Ae&&Ae.stack||Ae)}}function an(se,ye,H){var O=H||!1,Ae=ye||null,k=document.createElement("div");k.innerHTML="<pre>"+se+"</pre>",k=k.firstChild,O&&Ze(k,O,!0);var _={langExtension:Ae,numberLines:O,sourceNode:k,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return qt(_),k.innerHTML}function Ot(se,ye){var H=ye||document.body,O=H.ownerDocument||document;function Ae(dt){return H.getElementsByTagName(dt)}for(var k=[Ae("pre"),Ae("code"),Ae("xmp")],_=[],T=0;T<k.length;++T)for(var ee=0,W=k[T].length;ee<W;++ee)_.push(k[T][ee]);k=null;var j=Date;j.now||(j={now:function(){return+new Date}});var _e=0,Ke=/\blang(?:uage)?-([\w.]+)(?!\S)/,De=/\bprettyprint\b/,Oe=/\bprettyprinted\b/,Ye=/pre|xmp/i,Je=/^code$/i,Ge=/^(?:pre|code|xmp)$/i,yt={};function xt(){for(var dt=q.PR_SHOULD_USE_CONTINUATION?j.now()+250:1/0;_e<_.length&&j.now()<dt;_e++){for(var kt=_[_e],Tt=yt,w=kt;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){Tt={},bt.replace(/\b(\w+)=([\w:.%+-]+)/g,function($e,bn,Cn){Tt[bn]=Cn});break}}var he=kt.className;if((Tt!==yt||De.test(he))&&!Oe.test(he)){for(var Be=!1,pn=kt.parentNode;pn;pn=pn.parentNode){var We=pn.tagName;if(Ge.test(We)&&pn.className&&De.test(pn.className)){Be=!0;break}}if(!Be){kt.className+=" prettyprinted";var et=Tt.lang;if(!et){et=he.match(Ke);var Xe;!et&&(Xe=J(kt))&&Je.test(Xe.tagName)&&(et=Xe.className.match(Ke)),et&&(et=et[1])}var Se;if(Ye.test(kt.tagName))Se=1;else{var Ie=kt.currentStyle,ze=O.defaultView,qe=Ie?Ie.whiteSpace:ze&&ze.getComputedStyle?ze.getComputedStyle(kt,null).getPropertyValue("white-space"):0;Se=qe&&qe.substring(0,3)==="pre"}var be=Tt.linenums;(be=be==="true"||+be)||(be=he.match(/\blinenums\b(?::(\d+))?/),be=be?be[1]&&be[1].length?+be[1]:!0:!1),be&&Ze(kt,be,Se);var en={langExtension:et,sourceNode:kt,numberLines:be,pre:Se,sourceCode:null,basePos:null,spans:null,decorations:null};qt(en)}}}_e<_.length?q.setTimeout(xt,250):typeof se=="function"&&se()}xt()}var ot=q.PR={createSimpleLexer:Le,registerLangHandler:it,sourceDecorator:ke,PR_ATTRIB_NAME:B,PR_ATTRIB_VALUE:fe,PR_COMMENT:R,PR_DECLARATION:ae,PR_KEYWORD:b,PR_LITERAL:z,PR_NOCODE:Y,PR_PLAIN:me,PR_PUNCTUATION:pe,PR_SOURCE:te,PR_STRING:Q,PR_TAG:de,PR_TYPE:Z,prettyPrintOne:y?q.prettyPrintOne=an:Ee=an,prettyPrint:$=y?q.prettyPrint=Ot:$=Ot},_t=q.define;typeof _t=="function"&&_t.amd&&_t("google-code-prettify",[],function(){return ot})})()},25769:function(nn,nt,f){"use strict";var y=f(98040),L={"text/plain":"Text","text/html":"Url",default:"Text"},X="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 xe,a,I,K,S,u,x=!1;C||(C={}),xe=C.debug||!1;try{I=y(),K=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"){xe&&console.warn("unable to use e.clipboardData"),xe&&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),K.selectNodeContents(u),S.addRange(K);var m=document.execCommand("copy");if(!m)throw new Error("copy command was unsuccessful");x=!0}catch(P){xe&&console.error("unable to copy using execCommand: ",P),xe&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(C.format||"text",q),C.onCopy&&C.onCopy(window.clipboardData),x=!0}catch(ue){xe&&console.error("unable to copy using clipboardData: ",ue),xe&&console.error("falling back to prompt"),a=Ee("message"in C?C.message:X),window.prompt(a,q)}}finally{S&&(typeof S.removeRange=="function"?S.removeRange(K):S.removeAllRanges()),u&&document.body.removeChild(u),I()}return x}nn.exports=$},53184:function(nn,nt,f){"use strict";var y,L;function X(Ee,$,q){var C=function(xe,a){return Ee.js_beautify(xe,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(58553),f(87804),f(40998)],L=function(Ee,$,q){return X(Ee,$,q)}.apply(nt,y),L!==void 0&&(nn.exports=L)},87804:function(nn,nt){var f,y;(function(){var L;(function(){"use strict";var Ee=[,,function(xe){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 K(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()}K.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},K.prototype.get_line_number=function(){return this.__lines.length},K.prototype.get_indent_string=function(S,u){return this.__indent_cache.get_indent_string(S,u)},K.prototype.get_indent_size=function(S,u){return this.__indent_cache.get_indent_size(S,u)},K.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},K.prototype.add_new_line=function(S){return this.is_empty()||!S&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},K.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},K.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},K.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)},K.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},K.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()},K.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(" "))},K.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()},K.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},K.prototype.just_added_newline=function(){return this.current_line.is_empty()},K.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},K.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--}},xe.exports.Output=K},,,,function(xe){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=K(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 K(S){var u={},x;for(x in S){var m=x.replace(/-/g,"_");u[m]=S[x]}return u}xe.exports.Options=a,xe.exports.normalizeOpts=K,xe.exports.mergeOpts=I},,function(xe){var a=RegExp.prototype.hasOwnProperty("sticky");function I(K){this.__input=K||"",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 K=null;return this.hasNext()&&(K=this.__input.charAt(this.__position),this.__position+=1),K},I.prototype.peek=function(K){var S=null;return K=K||0,K+=this.__position,K>=0&&K<this.__input_length&&(S=this.__input.charAt(K)),S},I.prototype.__match=function(K,S){K.lastIndex=S;var u=K.exec(this.__input);return u&&!(a&&K.sticky)&&u.index!==S&&(u=null),u},I.prototype.test=function(K,S){return S=S||0,S+=this.__position,S>=0&&S<this.__input_length?!!this.__match(K,S):!1},I.prototype.testChar=function(K,S){var u=this.peek(S);return K.lastIndex=0,u!==null&&K.test(u)},I.prototype.match=function(K){var S=this.__match(K,this.__position);return S?this.__position+=S[0].length:S=null,S},I.prototype.read=function(K,S,u){var x="",m;return K&&(m=this.match(K),m&&(x+=m[0])),S&&(m||!K)&&(x+=this.readUntil(S,u)),x},I.prototype.readUntil=function(K,S){var u="",x=this.__position;K.lastIndex=this.__position;var m=K.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(K){return this.readUntil(K,!0)},I.prototype.get_regexp=function(K,S){var u=null,x="g";return S&&a&&(x="y"),typeof K=="string"&&K!==""?u=new RegExp(K,x):K&&(u=new RegExp(K.source,x)),u},I.prototype.get_literal_regexp=function(K){return RegExp(K.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},I.prototype.peekUntilAfter=function(K){var S=this.__position,u=this.readUntilAfter(K);return this.__position=S,u},I.prototype.lookBack=function(K){var S=this.__position-1;return S>=K.length&&this.__input.substring(S-K.length,S).toLowerCase()===K},xe.exports.InputScanner=I},,,,,function(xe){function a(I,K){I=typeof I=="string"?I:I.source,K=typeof K=="string"?K:K.source,this.__directives_block_pattern=new RegExp(I+/ beautify( \w+[:]\w+)+ /.source+K,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(I+/\sbeautify\signore:end\s/.source+K,"g")}a.prototype.get_directives=function(I){if(!I.match(this.__directives_block_pattern))return null;var K={};this.__directive_pattern.lastIndex=0;for(var S=this.__directive_pattern.exec(I);S;)K[S[1]]=S[2],S=this.__directive_pattern.exec(I);return K},a.prototype.readIgnored=function(I){return I.readUntilAfter(this.__directives_end_ignore_pattern)},xe.exports.Directives=a},,function(xe,a,I){var K=I(16).Beautifier,S=I(17).Options;function u(x,m){var P=new K(x,m);return P.beautify()}xe.exports=u,xe.exports.defaultOptions=function(){return new S}},function(xe,a,I){var K=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,U=/\s/,V=/(?:\s|\n)+/g,ne=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,Q=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function b(R,Z){this._source_text=R||"",this._options=new K(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=U.test(this._input.peek()),z=0;U.test(this._input.peek());)this._ch=this._input.next(),R&&this._ch===`
|
|
|
`&&(z===0||z<this._options.max_preserve_newlines)&&(z++,this._output.add_new_line(!0));return Z},b.prototype.foundNestedPseudoClass=function(){for(var R=0,Z=1,z=this._input.peek(Z);z;){if(z==="{")return!0;if(z==="(")R+=1;else if(z===")"){if(R===0)return!1;R-=1}else if(z===";"||z==="}")return!1;Z++,z=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 z=R.match(/^[\t ]*/)[0];this._output=new S(this._options,z),this._input=new u(R),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var pe=0,me=!1,de=!1,ae=!1,te=!1,B=!1,fe=this._ch,Y=!1,ce,ie,g;ce=this._input.read(V),ie=ce!=="",g=fe,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),fe=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var E=this._input.read(ne),G=m.get_directives(E);G&&G.ignore==="start"&&(E+=m.readIgnored(this._input)),this.print_string(E),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(Q)),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),pe===0&&J.indexOf(":")!==-1&&(de=!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),pe===0&&Le.indexOf(":")!==-1?(de=!0,this.indent()):Le in this.NESTED_AT_RULE?(this._nestedLevel+=1,Le in this.CONDITIONAL_GROUP_RULE&&(ae=!0)):pe===0&&!de&&(te=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(ie),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")de&&(de=!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)):(g==="("?this._output.space_before_token=!1:g!==","&&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(),g==="{"&&this._output.trim(!0),de&&(this.outdent(),de=!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 ke=0;ke<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;ke++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[ke])){Y=!0;break}(me||ae)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!te&&pe===0?(this.print_string(":"),de||(de=!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 Fe=g==='"'||g==="'";this.preserveSingleSpace(Fe||ie),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")Y=!1,pe===0?(de&&(this.outdent(),de=!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(),pe++,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(")")),pe&&(pe--,this.outdent()));else{var Ze=!1;this._input.lookBack("with")&&(Ze=!0),this.preserveSingleSpace(ie||Ze),this.print_string(this._ch),de&&g==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),B=!0):(this.eatWhitespace(),pe++,this.indent())}else if(this._ch===")")pe&&(pe--,this.outdent()),B&&this._input.peek()===";"&&this._options.selector_separator_newline&&(B=!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&&(!de||B)&&pe===0&&!te?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!de&&pe===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&&U.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("="),U.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 lt=g==='"'||g==="'";this.preserveSingleSpace(lt||ie),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
|
`&&Y&&this._output.add_new_line()}var ut=this._output.get_code(Z);return ut},xe.exports.Beautifier=b},function(xe,a,I){var K=I(6).Options;function S(u){K.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 K,xe.exports.Options=S}],$={};function q(xe){var a=$[xe];if(a!==void 0)return a.exports;var I=$[xe]={exports:{}};return Ee[xe](I,I.exports,q),I.exports}var C=q(15);L=C})();var X=L;f=[],y=function(){return{css_beautify:X}}.apply(nt,f),y!==void 0&&(nn.exports=y)})()},40998:function(nn,nt,f){var y,L;(function(){var X;(function(){"use strict";var C=[,,function(K){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 U=this.__lines[ue];if(U.is_empty())break;if(U.item(0).indexOf(m)!==0&&U.item(-1)!==P){this.__lines.splice(ue+1,0,new S(this)),this.previous_line=this.__lines[this.__lines.length-2];break}ue--}},K.exports.Output=x},function(K){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}K.exports.Token=S},,,function(K){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],U=P||[];return typeof ue=="object"?ue!==null&&typeof ue.concat=="function"&&(U=ue.concat()):typeof ue=="string"&&(U=ue.split(/[^a-zA-Z0-9_\/\-]+/)),U},S.prototype._get_boolean=function(m,P){var ue=this.raw_options[m],U=ue===void 0?!!P:!!ue;return U},S.prototype._get_characters=function(m,P){var ue=this.raw_options[m],U=P||"";return typeof ue=="string"&&(U=ue.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),U},S.prototype._get_number=function(m,P){var ue=this.raw_options[m];P=parseInt(P,10),isNaN(P)&&(P=0);var U=parseInt(ue,10);return isNaN(U)&&(U=P),U},S.prototype._get_selection=function(m,P,ue){var U=this._get_selection_list(m,P,ue);if(U.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 U[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 U=this._get_array(m,ue);if(!this._is_valid_selection(U,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 U},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 U;for(U in m)U!==P&&(ue[U]=m[U]);if(P&&m[P])for(U in m[P])ue[U]=m[P][U];return ue}function x(m){var P={},ue;for(ue in m){var U=ue.replace(/-/g,"_");P[U]=m[ue]}return P}K.exports.Options=S,K.exports.normalizeOpts=x,K.exports.mergeOpts=u},,function(K){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="",U;return x&&(U=this.match(x),U&&(ue+=U[0])),m&&(U||!x)&&(ue+=this.readUntil(m,P)),ue},u.prototype.readUntil=function(x,m){var P="",ue=this.__position;x.lastIndex=this.__position;var U=x.exec(this.__input);return U?(ue=U.index,m&&(ue+=U[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},K.exports.InputScanner=u},function(K,S,u){var x=u(8).InputScanner,m=u(3).Token,P=u(10).TokenStream,ue=u(11).WhitespacePattern,U={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},V=function(ne,Q){this._input=new x(ne),this._options=Q||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new ue(this._input)};V.prototype.tokenize=function(){this._input.restart(),this.__tokens=new P,this._reset();for(var ne,Q=new m(U.START,""),b=null,R=[],Z=new P;Q.type!==U.EOF;){for(ne=this._get_next_token(Q,b);this._is_comment(ne);)Z.add(ne),ne=this._get_next_token(Q,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=Q,Q.next=ne,this.__tokens.add(ne),Q=ne}return this.__tokens},V.prototype._is_first_token=function(){return this.__tokens.isEmpty()},V.prototype._reset=function(){},V.prototype._get_next_token=function(ne,Q){this._readWhitespace();var b=this._input.read(/.+/g);return b?this._create_token(U.RAW,b):this._create_token(U.EOF,"")},V.prototype._is_comment=function(ne){return!1},V.prototype._is_opening=function(ne){return!1},V.prototype._is_closing=function(ne,Q){return!1},V.prototype._create_token=function(ne,Q){var b=new m(ne,Q,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return b},V.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},K.exports.Tokenizer=V,K.exports.TOKEN=U},function(K){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},K.exports.TokenStream=S},function(K,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 U=this._create();return U.__set_whitespace_patterns(P,ue),U._update(),U},m.prototype._create=function(){return new m(this._input,this)},m.prototype.__split=function(P,ue){P.lastIndex=0;for(var U=0,V=[],ne=P.exec(ue);ne;)V.push(ue.substring(U,ne.index)),U=ne.index+ne[0].length,ne=P.exec(ue);return U<ue.length?V.push(ue.substring(U,ue.length)):V.push(""),V},K.exports.WhitespacePattern=m},function(K){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(){},K.exports.Pattern=S},function(K){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)},K.exports.Directives=S},function(K,S,u){var x=u(12).Pattern,m={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function P(ue,U){x.call(this,ue,U),this.__template_pattern=null,this._disabled=Object.assign({},m),this._excluded=Object.assign({},m),U&&(this.__template_pattern=this._input.get_regexp(U.__template_pattern),this._excluded=Object.assign(this._excluded,U._excluded),this._disabled=Object.assign(this._disabled,U._disabled));var V=new x(ue);this.__patterns={handlebars_comment:V.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:V.starting_with(/{{{/).until_after(/}}}/),handlebars:V.starting_with(/{{/).until_after(/}}/),php:V.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:V.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:V.starting_with(/{%/).until_after(/%}/),django_value:V.starting_with(/{{/).until_after(/}}/),django_comment:V.starting_with(/{#/).until_after(/#}/),smarty:V.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:V.starting_with(/{\*/).until_after(/\*}/),smarty_literal:V.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 U=this._create();return U._disabled[ue]=!0,U._update(),U},P.prototype.read_options=function(ue){var U=this._create();for(var V in m)U._disabled[V]=ue.templating.indexOf(V)===-1;return U._update(),U},P.prototype.exclude=function(ue){var U=this._create();return U._excluded[ue]=!0,U._update(),U},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 U=this._read_template();U;)this._match_pattern?U+=this._input.read(this._match_pattern):U+=this._input.readUntil(this.__template_pattern),ue+=U,U=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.angular||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="",U=this._input.peek();if(U==="<"){var V=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&V==="?"&&(ue=ue||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&V==="%"&&(ue=ue||this.__patterns.erb.read())}else U==="{"&&(!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},K.exports.TemplatablePattern=P},,,,function(K,S,u){var x=u(19).Beautifier,m=u(20).Options;function P(ue,U,V,ne){var Q=new x(ue,U,V,ne);return Q.beautify()}K.exports=P,K.exports.defaultOptions=function(){return new m}},function(K,S,u){var x=u(20).Options,m=u(2).Output,P=u(21).Tokenizer,ue=u(21).TOKEN,U=/\r\n|[\r\n]/,V=/\r\n|[\r\n]/g,ne=function(te,B){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,B)};ne.prototype.current_line_has_match=function(te){return this._output.current_line.has_match(te)},ne.prototype.set_space_before_token=function(te,B){this._output.space_before_token=te,this._output.non_breaking_space=B},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 B=0;te.type!==ue.TEXT&&te.previous.type!==ue.TEXT&&(B=te.newlines?1:0),this.preserve_newlines&&(B=te.newlines<this.max_preserve_newlines+1?te.newlines:this.max_preserve_newlines+1);for(var fe=0;fe<B;fe++)this.print_newline(fe>0);return B!==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 Q=function(te){for(var B=null,fe=te.next;fe.type!==ue.EOF&&te.closed!==fe;){if(fe.type===ue.ATTRIBUTE&&fe.text==="type"){fe.next&&fe.next.type===ue.EQUALS&&fe.next.next&&fe.next.next.type===ue.VALUE&&(B=fe.next.next.text);break}fe=fe.next}return B},b=function(te,B){var fe=null,Y=null;return B.closed?(te==="script"?fe="text/javascript":te==="style"&&(fe="text/css"),fe=Q(B)||fe,fe.search("text/css")>-1?Y="css":fe.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?Y="javascript":fe.search(/(text|application|dojo)\/(x-)?(html)/)>-1?Y="html":fe.search(/test\/null/)>-1&&(Y="null"),Y):null};function R(te,B){return B.indexOf(te)!==-1}function Z(te,B,fe){this.parent=te||null,this.tag=B?B.tag_name:"",this.indent_level=fe||0,this.parser_token=B||null}function z(te){this._printer=te,this._current_frame=null}z.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},z.prototype.record_tag=function(te){var B=new Z(this._current_frame,te,this._printer.indent_level);this._current_frame=B},z.prototype._try_pop_frame=function(te){var B=null;return te&&(B=te.parser_token,this._printer.indent_level=te.indent_level,this._current_frame=te.parent),B},z.prototype._get_frame=function(te,B){for(var fe=this._current_frame;fe&&te.indexOf(fe.tag)===-1;){if(B&&B.indexOf(fe.tag)!==-1){fe=null;break}fe=fe.parent}return fe},z.prototype.try_pop=function(te,B){var fe=this._get_frame([te],B);return this._try_pop_frame(fe)},z.prototype.indent_to_tag=function(te){var B=this._get_frame(te);B&&(this._printer.indent_level=B.indent_level)};function pe(te,B,fe,Y){this._source_text=te||"",B=B||{},this._js_beautify=fe,this._css_beautify=Y,this._tag_stack=null;var ce=new x(B,"html");this._options=ce,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"}pe.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var te=this._source_text,B=this._options.eol;this._options.eol==="auto"&&(B=`
|
|
|
`,te&&U.test(te)&&(B=te.match(U)[0])),te=te.replace(V,`
|
|
|
`);var fe=te.match(/^[\t ]*/)[0],Y={text:"",type:""},ce=new me(this._options),ie=new ne(this._options,fe),g=new P(te,this._options).tokenize();this._tag_stack=new z(ie);for(var E=null,G=g.next();G.type!==ue.EOF;)G.type===ue.TAG_OPEN||G.type===ue.COMMENT?(E=this._handle_tag_open(ie,G,ce,Y,g),ce=E):G.type===ue.ATTRIBUTE||G.type===ue.EQUALS||G.type===ue.VALUE||G.type===ue.TEXT&&!ce.tag_complete?E=this._handle_inside_tag(ie,G,ce,Y):G.type===ue.TAG_CLOSE?E=this._handle_tag_close(ie,G,ce):G.type===ue.TEXT?E=this._handle_text(ie,G,ce):G.type===ue.CONTROL_FLOW_OPEN?E=this._handle_control_flow_open(ie,G):G.type===ue.CONTROL_FLOW_CLOSE?E=this._handle_control_flow_close(ie,G):ie.add_raw_token(G),Y=E,G=g.next();var J=ie._output.get_code(B);return J},pe.prototype._handle_control_flow_open=function(te,B){var fe={text:B.text,type:B.type};return te.set_space_before_token(B.newlines||B.whitespace_before!=="",!0),B.newlines?te.print_preserved_newlines(B):te.set_space_before_token(B.newlines||B.whitespace_before!=="",!0),te.print_token(B),te.indent(),fe},pe.prototype._handle_control_flow_close=function(te,B){var fe={text:B.text,type:B.type};return te.deindent(),B.newlines?te.print_preserved_newlines(B):te.set_space_before_token(B.newlines||B.whitespace_before!=="",!0),te.print_token(B),fe},pe.prototype._handle_tag_close=function(te,B,fe){var Y={text:B.text,type:B.type};return te.alignment_size=0,fe.tag_complete=!0,te.set_space_before_token(B.newlines||B.whitespace_before!=="",!0),fe.is_unformatted?te.add_raw_token(B):(fe.tag_start_char==="<"&&(te.set_space_before_token(B.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&fe.has_wrapped_attrs&&te.print_newline(!1)),te.print_token(B)),fe.indent_content&&!(fe.is_unformatted||fe.is_content_unformatted)&&(te.indent(),fe.indent_content=!1),!fe.is_inline_element&&!(fe.is_unformatted||fe.is_content_unformatted)&&te.set_wrap_point(),Y},pe.prototype._handle_inside_tag=function(te,B,fe,Y){var ce=fe.has_wrapped_attrs,ie={text:B.text,type:B.type};return te.set_space_before_token(B.newlines||B.whitespace_before!=="",!0),fe.is_unformatted?te.add_raw_token(B):fe.tag_start_char==="{"&&B.type===ue.TEXT?te.print_preserved_newlines(B)?(B.newlines=0,te.add_raw_token(B)):te.print_token(B):(B.type===ue.ATTRIBUTE?te.set_space_before_token(!0):(B.type===ue.EQUALS||B.type===ue.VALUE&&B.previous.type===ue.EQUALS)&&te.set_space_before_token(!1),B.type===ue.ATTRIBUTE&&fe.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(te.traverse_whitespace(B),ce=ce||B.newlines!==0),this._is_wrap_attributes_force&&fe.attr_count>=this._options.wrap_attributes_min_attrs&&(Y.type!==ue.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(te.print_newline(!1),ce=!0)),te.print_token(B),ce=ce||te.previous_token_wrapped(),fe.has_wrapped_attrs=ce),ie},pe.prototype._handle_text=function(te,B,fe){var Y={text:B.text,type:"TK_CONTENT"};return fe.custom_beautifier_name?this._print_custom_beatifier_text(te,B,fe):fe.is_unformatted||fe.is_content_unformatted?te.add_raw_token(B):(te.traverse_whitespace(B),te.print_token(B)),Y},pe.prototype._print_custom_beatifier_text=function(te,B,fe){var Y=this;if(B.text!==""){var ce=B.text,ie,g=1,E="",G="";fe.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?ie=this._js_beautify:fe.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?ie=this._css_beautify:fe.custom_beautifier_name==="html"&&(ie=function(lt,ut){var it=new pe(lt,ut,Y._js_beautify,Y._css_beautify);return it.beautify()}),this._options.indent_scripts==="keep"?g=0:this._options.indent_scripts==="separate"&&(g=-te.indent_level);var J=te.get_full_indent(g);if(ce=ce.replace(/\n[ \t]*$/,""),fe.custom_beautifier_name!=="html"&&ce[0]==="<"&&ce.match(/^(<!--|<!\[CDATA\[)/)){var Le=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(ce);if(!Le){te.add_raw_token(B);return}E=J+Le[1]+`
|
|
|
`,ce=Le[4],Le[5]&&(G=J+Le[5]),ce=ce.replace(/\n[ \t]*$/,""),(Le[2]||Le[3].indexOf(`
|
|
|
`)!==-1)&&(Le=Le[3].match(/[ \t]+$/),Le&&(B.whitespace_before=Le[0]))}if(ce)if(ie){var ke=function(){this.eol=`
|
|
|
`};ke.prototype=this._options.raw_options;var Fe=new ke;ce=ie(J+ce,Fe)}else{var Ze=B.whitespace_before;Ze&&(ce=ce.replace(new RegExp(`
|
|
|
(`+Ze+")?","g"),`
|
|
|
`)),ce=J+ce.replace(/\n/g,`
|
|
|
`+J)}E&&(ce?ce=E+ce+`
|
|
|
`+G:ce=E+G),te.print_newline(!1),ce&&(B.text=ce,B.whitespace_before="",B.newlines=0,te.add_raw_token(B),te.print_newline(!0))}},pe.prototype._handle_tag_open=function(te,B,fe,Y,ce){var ie=this._get_tag_open_token(B);if((fe.is_unformatted||fe.is_content_unformatted)&&!fe.is_empty_element&&B.type===ue.TAG_OPEN&&!ie.is_start_tag?(te.add_raw_token(B),ie.start_tag_token=this._tag_stack.try_pop(ie.tag_name)):(te.traverse_whitespace(B),this._set_tag_position(te,B,ie,fe,Y),ie.is_inline_element||te.set_wrap_point(),te.print_token(B)),ie.is_start_tag&&this._is_wrap_attributes_force){var g=0,E;do E=ce.peek(g),E.type===ue.ATTRIBUTE&&(ie.attr_count+=1),g+=1;while(E.type!==ue.EOF&&E.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=B.text.length+1),!ie.tag_complete&&!ie.is_unformatted&&(te.alignment_size=ie.alignment_size),ie};var me=function(te,B,fe){if(this.parent=B||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="",!fe)this.tag_complete=!0;else{var Y;this.tag_start_char=fe.text[0],this.text=fe.text,this.tag_start_char==="<"?(Y=fe.text.match(/^<([^\s>]*)/),this.tag_check=Y?Y[1]:""):(Y=fe.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=Y?Y[1]:"",(fe.text.startsWith("{{#>")||fe.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&fe.next!==null?this.tag_check=fe.next.text.split(" ")[0]:this.tag_check=fe.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),fe.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||fe.closed&&fe.closed.text==="/>";var ce=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(ce=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!te.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(ce)))}};pe.prototype._get_tag_open_token=function(te){var B=new me(this._options,this._tag_stack.get_parser_token(),te);return B.alignment_size=this._options.wrap_attributes_indent_size,B.is_end_tag=B.is_end_tag||R(B.tag_check,this._options.void_elements),B.is_empty_element=B.tag_complete||B.is_start_tag&&B.is_end_tag,B.is_unformatted=!B.tag_complete&&R(B.tag_check,this._options.unformatted),B.is_content_unformatted=!B.is_empty_element&&R(B.tag_check,this._options.content_unformatted),B.is_inline_element=R(B.tag_name,this._options.inline)||this._options.inline_custom_elements&&B.tag_name.includes("-")||B.tag_start_char==="{",B},pe.prototype._set_tag_position=function(te,B,fe,Y,ce){if(fe.is_empty_element||(fe.is_end_tag?fe.start_tag_token=this._tag_stack.try_pop(fe.tag_name):(this._do_optional_end_element(fe)&&(fe.is_inline_element||te.print_newline(!1)),this._tag_stack.record_tag(fe),(fe.tag_name==="script"||fe.tag_name==="style")&&!(fe.is_unformatted||fe.is_content_unformatted)&&(fe.custom_beautifier_name=b(fe.tag_check,B)))),R(fe.tag_check,this._options.extra_liners)&&(te.print_newline(!1),te._output.just_added_blankline()||te.print_newline(!0)),fe.is_empty_element){if(fe.tag_start_char==="{"&&fe.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),fe.indent_content=!0;var ie=te.current_line_has_match(/{{#if/);ie||te.print_newline(!1)}fe.tag_name==="!--"&&ce.type===ue.TAG_CLOSE&&Y.is_end_tag&&fe.text.indexOf(`
|
|
|
`)===-1||(fe.is_inline_element||fe.is_unformatted||te.print_newline(!1),this._calcluate_parent_multiline(te,fe))}else if(fe.is_end_tag){var g=!1;g=fe.start_tag_token&&fe.start_tag_token.multiline_content,g=g||!fe.is_inline_element&&!(Y.is_inline_element||Y.is_unformatted)&&!(ce.type===ue.TAG_CLOSE&&fe.start_tag_token===Y)&&ce.type!=="TK_CONTENT",(fe.is_content_unformatted||fe.is_unformatted)&&(g=!1),g&&te.print_newline(!1)}else fe.indent_content=!fe.custom_beautifier_name,fe.tag_start_char==="<"&&(fe.tag_name==="html"?fe.indent_content=this._options.indent_inner_html:fe.tag_name==="head"?fe.indent_content=this._options.indent_head_inner_html:fe.tag_name==="body"&&(fe.indent_content=this._options.indent_body_inner_html)),!(fe.is_inline_element||fe.is_unformatted)&&(ce.type!=="TK_CONTENT"||fe.is_content_unformatted)&&te.print_newline(!1),this._calcluate_parent_multiline(te,fe)},pe.prototype._calcluate_parent_multiline=function(te,B){B.parent&&te._output.just_added_newline()&&!((B.is_inline_element||B.is_unformatted)&&B.parent.is_inline_element)&&(B.parent.multiline_content=!0)};var de=["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"];pe.prototype._do_optional_end_element=function(te){var B=null;if(!(te.is_empty_element||!te.is_start_tag||!te.parent)){if(te.tag_name==="body")B=B||this._tag_stack.try_pop("head");else if(te.tag_name==="li")B=B||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(te.tag_name==="dd"||te.tag_name==="dt")B=B||this._tag_stack.try_pop("dt",["dl"]),B=B||this._tag_stack.try_pop("dd",["dl"]);else if(te.parent.tag_name==="p"&&de.indexOf(te.tag_name)!==-1){var fe=te.parent.parent;(!fe||ae.indexOf(fe.tag_name)===-1)&&(B=B||this._tag_stack.try_pop("p"))}else te.tag_name==="rp"||te.tag_name==="rt"?(B=B||this._tag_stack.try_pop("rt",["ruby","rtc"]),B=B||this._tag_stack.try_pop("rp",["ruby","rtc"])):te.tag_name==="optgroup"?B=B||this._tag_stack.try_pop("optgroup",["select"]):te.tag_name==="option"?B=B||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):te.tag_name==="colgroup"?B=B||this._tag_stack.try_pop("caption",["table"]):te.tag_name==="thead"?(B=B||this._tag_stack.try_pop("caption",["table"]),B=B||this._tag_stack.try_pop("colgroup",["table"])):te.tag_name==="tbody"||te.tag_name==="tfoot"?(B=B||this._tag_stack.try_pop("caption",["table"]),B=B||this._tag_stack.try_pop("colgroup",["table"]),B=B||this._tag_stack.try_pop("thead",["table"]),B=B||this._tag_stack.try_pop("tbody",["table"])):te.tag_name==="tr"?(B=B||this._tag_stack.try_pop("caption",["table"]),B=B||this._tag_stack.try_pop("colgroup",["table"]),B=B||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(te.tag_name==="th"||te.tag_name==="td")&&(B=B||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),B=B||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return te.parent=this._tag_stack.get_parser_token(),B}},K.exports.Beautifier=pe},function(K,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,K.exports.Options=m},function(K,S,u){var x=u(9).Tokenizer,m=u(9).TOKEN,P=u(13).Directives,ue=u(14).TemplatablePattern,U=u(12).Pattern,V={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(/<\!--/,/-->/),Q=function(b,R){x.call(this,b,R),this._current_tag_name="";var Z=new ue(this._input).read_options(this._options),z=new U(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:z.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:z.starting_with(/{{!--/).until_after(/--}}/),handlebars:z.starting_with(/{{/).until_after(/}}/),handlebars_open:z.until(/[\n\r\t }]/),handlebars_raw_close:z.until(/}}/),comment:z.starting_with(/<!--/).until_after(/-->/),cdata:z.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:z.starting_with(/<!\[/).until_after(/]>/),processing:z.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 pe=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=z.matching(pe).until_after(pe)}};Q.prototype=new x,Q.prototype._is_comment=function(b){return!1},Q.prototype._is_opening=function(b){return b.type===V.TAG_OPEN||b.type===V.CONTROL_FLOW_OPEN},Q.prototype._is_closing=function(b,R){return b.type===V.TAG_CLOSE&&R&&((b.text===">"||b.text==="/>")&&R.text[0]==="<"||b.text==="}}"&&R.text[0]==="{"&&R.text[1]==="{")||b.type===V.CONTROL_FLOW_CLOSE&&b.text==="}"&&R.text.endsWith("{")},Q.prototype._reset=function(){this._current_tag_name=""},Q.prototype._get_next_token=function(b,R){var Z=null;this._readWhitespace();var z=this._input.peek();return z===null?this._create_token(V.EOF,""):(Z=Z||this._read_open_handlebars(z,R),Z=Z||this._read_attribute(z,b,R),Z=Z||this._read_close(z,R),Z=Z||this._read_script_and_style(z,b),Z=Z||this._read_control_flows(z,R),Z=Z||this._read_raw_content(z,b,R),Z=Z||this._read_content_word(z,R),Z=Z||this._read_comment_or_cdata(z),Z=Z||this._read_processing(z),Z=Z||this._read_open(z,R),Z=Z||this._create_token(V.UNKNOWN,this._input.next()),Z)},Q.prototype._read_comment_or_cdata=function(b){var R=null,Z=null,z=null;if(b==="<"){var pe=this._input.peek(1);pe==="!"&&(Z=this.__patterns.comment.read(),Z?(z=ne.get_directives(Z),z&&z.ignore==="start"&&(Z+=ne.readIgnored(this._input))):Z=this.__patterns.cdata.read()),Z&&(R=this._create_token(V.COMMENT,Z),R.directives=z)}return R},Q.prototype._read_processing=function(b){var R=null,Z=null,z=null;if(b==="<"){var pe=this._input.peek(1);(pe==="!"||pe==="?")&&(Z=this.__patterns.conditional_comment.read(),Z=Z||this.__patterns.processing.read()),Z&&(R=this._create_token(V.COMMENT,Z),R.directives=z)}return R},Q.prototype._read_open=function(b,R){var Z=null,z=null;return(!R||R.type===V.CONTROL_FLOW_OPEN)&&b==="<"&&(Z=this._input.next(),this._input.peek()==="/"&&(Z+=this._input.next()),Z+=this.__patterns.element_name.read(),z=this._create_token(V.TAG_OPEN,Z)),z},Q.prototype._read_open_handlebars=function(b,R){var Z=null,z=null;return(!R||R.type===V.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&b==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(Z=this.__patterns.handlebars_comment.read(),Z=Z||this.__patterns.handlebars.read(),z=this._create_token(V.COMMENT,Z)):(Z=this.__patterns.handlebars_open.read(),z=this._create_token(V.TAG_OPEN,Z))),z},Q.prototype._read_control_flows=function(b,R){var Z="",z=null;if(!this._options.templating.includes("angular"))return z;if(b==="@"){if(Z=this.__patterns.angular_control_flow_start.read(),Z==="")return z;for(var pe=Z.endsWith("(")?1:0,me=0;!(Z.endsWith("{")&&pe===me);){var de=this._input.next();if(de===null)break;de==="("?pe++:de===")"&&me++,Z+=de}z=this._create_token(V.CONTROL_FLOW_OPEN,Z)}else b==="}"&&R&&R.type===V.CONTROL_FLOW_OPEN&&(Z=this._input.next(),z=this._create_token(V.CONTROL_FLOW_CLOSE,Z));return z},Q.prototype._read_close=function(b,R){var Z=null,z=null;return R&&R.type===V.TAG_OPEN&&(R.text[0]==="<"&&(b===">"||b==="/"&&this._input.peek(1)===">")?(Z=this._input.next(),b==="/"&&(Z+=this._input.next()),z=this._create_token(V.TAG_CLOSE,Z)):R.text[0]==="{"&&b==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),z=this._create_token(V.TAG_CLOSE,"}}"))),z},Q.prototype._read_attribute=function(b,R,Z){var z=null,pe="";if(Z&&Z.text[0]==="<")if(b==="=")z=this._create_token(V.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(),z=this._create_token(V.VALUE,me)}else pe=this.__patterns.attribute.read(),pe&&(R.type===V.EQUALS?z=this._create_token(V.VALUE,pe):z=this._create_token(V.ATTRIBUTE,pe));return z},Q.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)},Q.prototype._read_raw_content=function(b,R,Z){var z="";if(Z&&Z.text[0]==="{")z=this.__patterns.handlebars_raw_close.read();else if(R.type===V.TAG_CLOSE&&R.opened.text[0]==="<"&&R.text[0]!=="/"){var pe=R.opened.text.substr(1).toLowerCase();this._is_content_unformatted(pe)&&(z=this._input.readUntil(new RegExp("</"+pe+"[\\n\\r\\t ]*?>","ig")))}return z?this._create_token(V.TEXT,z):null},Q.prototype._read_script_and_style=function(b,R){if(R.type===V.TAG_CLOSE&&R.opened.text[0]==="<"&&R.text[0]!=="/"){var Z=R.opened.text.substr(1).toLowerCase();if(Z==="script"||Z==="style"){var z=this._read_comment_or_cdata(b);if(z)return z.type=V.TEXT,z;var pe=this._input.readUntil(new RegExp("</"+Z+"[\\n\\r\\t ]*?>","ig"));if(pe)return this._create_token(V.TEXT,pe)}}return null},Q.prototype._read_content_word=function(b,R){var Z="";return this._options.unformatted_content_delimiter&&b===this._options.unformatted_content_delimiter[0]&&(Z=this.__patterns.unformatted_content_delimiter.read()),Z||(Z=R&&R.type===V.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),Z?this._create_token(V.TEXT,Z):null},K.exports.Tokenizer=Q,K.exports.TOKEN=V}],xe={};function a(K){var S=xe[K];if(S!==void 0)return S.exports;var u=xe[K]={exports:{}};return C[K](u,u.exports,a),u.exports}var I=a(18);X=I})();var Ee=X;if(1)y=[f,f(58553),f(87804)],L=function(C){var xe=f(58553),a=f(87804);return{html_beautify:function(I,K){return Ee(I,K,xe.js_beautify,a.css_beautify)}}}.apply(nt,y),L!==void 0&&(nn.exports=L);else var $,q})()},58553:function(nn,nt){var f,y;(function(){var L;(function(){"use strict";var Ee=[function(xe,a,I){var K=I(1).Beautifier,S=I(5).Options;function u(x,m){var P=new K(x,m);return P.beautify()}xe.exports=u,xe.exports.defaultOptions=function(){return new S}},function(xe,a,I){var K=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,U=I(7).TOKEN;function V(E,G){return G.indexOf(E)!==-1}function ne(E){return E.replace(/^\s+/g,"")}function Q(E){for(var G={},J=0;J<E.length;J++)G[E[J].replace(/-/g,"_")]=E[J];return G}function b(E,G){return E&&E.type===U.RESERVED&&E.text===G}function R(E,G){return E&&E.type===U.RESERVED&&V(E.text,G)}var Z=["case","return","do","if","throw","else","await","break","continue","async"],z=["before-newline","after-newline","preserve-newline"],pe=Q(z),me=[pe.before_newline,pe.preserve_newline],de={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function ae(E,G){G.multiline_frame||G.mode===de.ForInitializer||G.mode===de.Conditional||E.remove_indent(G.start_line_index)}function te(E){E=E.replace(u.allLineBreaks,`
|
|
|
`);for(var G=[],J=E.indexOf(`
|
|
|
`);J!==-1;)G.push(E.substring(0,J)),E=E.substring(J+1),J=E.indexOf(`
|
|
|
`);return E.length&&G.push(E),G}function B(E){return E===de.ArrayLiteral}function fe(E){return V(E,[de.Expression,de.ForInitializer,de.Conditional])}function Y(E,G){for(var J=0;J<E.length;J++){var Le=E[J].trim();if(Le.charAt(0)!==G)return!1}return!0}function ce(E,G){for(var J=0,Le=E.length,ke;J<Le;J++)if(ke=E[J],ke&&ke.indexOf(G)!==0)return!1;return!0}function ie(E,G){G=G||{},this._source_text=E||"",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(G)}ie.prototype.create_flags=function(E,G){var J=0;E&&(J=E.indentation_level,!this._output.just_added_newline()&&E.line_indent_level>J&&(J=E.line_indent_level));var Le={mode:G,parent:E,last_token:E?E.last_token:new S(U.START_BLOCK,""),last_word:E?E.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:E?E.line_indent_level:J,start_line_index:this._output.get_line_number(),ternary_depth:0};return Le},ie.prototype._reset=function(E){var G=E.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new K(this._options,G),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(de.BlockStatement);var J=new m(E,this._options);return this._tokens=J.tokenize(),E},ie.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var E,G=this._reset(this._source_text),J=this._options.eol;this._options.eol==="auto"&&(J=`
|
|
|
`,G&&u.lineBreak.test(G||"")&&(J=G.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 E=this._output.get_code(J),E},ie.prototype.handle_token=function(E,G){E.type===U.START_EXPR?this.handle_start_expr(E):E.type===U.END_EXPR?this.handle_end_expr(E):E.type===U.START_BLOCK?this.handle_start_block(E):E.type===U.END_BLOCK?this.handle_end_block(E):E.type===U.WORD?this.handle_word(E):E.type===U.RESERVED?this.handle_word(E):E.type===U.SEMICOLON?this.handle_semicolon(E):E.type===U.STRING?this.handle_string(E):E.type===U.EQUALS?this.handle_equals(E):E.type===U.OPERATOR?this.handle_operator(E):E.type===U.COMMA?this.handle_comma(E):E.type===U.BLOCK_COMMENT?this.handle_block_comment(E,G):E.type===U.COMMENT?this.handle_comment(E,G):E.type===U.DOT?this.handle_dot(E):E.type===U.EOF?this.handle_eof(E):E.type===U.UNKNOWN?this.handle_unknown(E,G):this.handle_unknown(E,G)},ie.prototype.handle_whitespace_and_comments=function(E,G){var J=E.newlines,Le=this._options.keep_array_indentation&&B(this._flags.mode);if(E.comments_before)for(var ke=E.comments_before.next();ke;)this.handle_whitespace_and_comments(ke,G),this.handle_token(ke,G),ke=E.comments_before.next();if(Le)for(var Fe=0;Fe<J;Fe+=1)this.print_newline(Fe>0,G);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,G);for(var Ze=1;Ze<J;Ze+=1)this.print_newline(!0,G)}};var g=["async","break","continue","return","throw","yield"];ie.prototype.allow_wrap_or_preserved_newline=function(E,G){if(G=G===void 0?!1:G,!this._output.just_added_newline()){var J=this._options.preserve_newlines&&E.newlines||G,Le=V(this._flags.last_token.text,ue)||V(E.text,ue);if(Le){var ke=V(this._flags.last_token.text,ue)&&V(this._options.operator_position,me)||V(E.text,ue);J=J&&ke}if(J)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(R(this._flags.last_token,g))return;this._output.set_wrap_point()}}},ie.prototype.print_newline=function(E,G){if(!G&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==U.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var J=this._tokens.peek();this._flags.mode===de.Statement&&!(this._flags.if_block&&b(J,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(E)&&(this._flags.multiline_frame=!0)},ie.prototype.print_token_line_indentation=function(E){this._output.just_added_newline()&&(this._options.keep_array_indentation&&E.newlines&&(E.text==="["||B(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(E.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(E){if(this._output.raw){this._output.add_raw_token(E);return}if(this._options.comma_first&&E.previous&&E.previous.type===U.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var G=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(G),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(E),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(E),this._output.non_breaking_space=!0,this._output.add_token(E.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(E){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,E),this._flags=this.create_flags(this._previous_flags,E),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===de.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===de.ObjectLiteral&&this._flags.mode===de.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||R(this._flags.last_token,["get","set"]))},ie.prototype.start_of_statement=function(E){var G=!1;return G=G||R(this._flags.last_token,["var","let","const"])&&E.type===U.WORD,G=G||b(this._flags.last_token,"do"),G=G||!(this._flags.parent.mode===de.ObjectLiteral&&this._flags.mode===de.Statement)&&R(this._flags.last_token,g)&&!E.newlines,G=G||b(this._flags.last_token,"else")&&!(b(E,"if")&&!E.comments_before),G=G||this._flags.last_token.type===U.END_EXPR&&(this._previous_flags.mode===de.ForInitializer||this._previous_flags.mode===de.Conditional),G=G||this._flags.last_token.type===U.WORD&&this._flags.mode===de.BlockStatement&&!this._flags.in_case&&!(E.text==="--"||E.text==="++")&&this._last_last_text!=="function"&&E.type!==U.WORD&&E.type!==U.RESERVED,G=G||this._flags.mode===de.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||R(this._flags.last_token,["get","set"])),G?(this.set_mode(de.Statement),this.indent(),this.handle_whitespace_and_comments(E,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(E,R(E,["do","for","if","while"])),!0):!1},ie.prototype.handle_start_expr=function(E){this.start_of_statement(E)||this.handle_whitespace_and_comments(E);var G=de.Expression;if(E.text==="["){if(this._flags.last_token.type===U.WORD||this._flags.last_token.text===")"){R(this._flags.last_token,P)&&(this._output.space_before_token=!0),this.print_token(E),this.set_mode(G),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}G=de.ArrayLiteral,B(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()),V(this._flags.last_token.type,[U.START_EXPR,U.END_EXPR,U.WORD,U.OPERATOR,U.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===U.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,G=de.ForInitializer):V(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,G=de.Conditional):V(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&E.whitespace_before===""?this._output.space_before_token=!1:(V(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===U.EQUALS||this._flags.last_token.type===U.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(E);else if(this._flags.last_token.type===U.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===de.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(E);(this._flags.last_token.type===U.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(V(this._last_last_text,["function","yield"])||this._flags.mode===de.ObjectLiteral&&V(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===U.START_BLOCK?this.print_newline():(this._flags.last_token.type===U.END_EXPR||this._flags.last_token.type===U.START_EXPR||this._flags.last_token.type===U.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===U.COMMA)&&this.allow_wrap_or_preserved_newline(E,E.newlines),this.print_token(E),this.set_mode(G),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},ie.prototype.handle_end_expr=function(E){for(;this._flags.mode===de.Statement;)this.restore_mode();this.handle_whitespace_and_comments(E),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(E,E.text==="]"&&B(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===U.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(E),this.restore_mode(),ae(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===de.Conditional&&(this._previous_flags.mode=de.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},ie.prototype.handle_start_block=function(E){this.handle_whitespace_and_comments(E);var G=this._tokens.peek(),J=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===U.END_EXPR?(this.set_mode(de.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(de.BlockStatement):J&&(V(J.text,[":",","])&&V(G.type,[U.STRING,U.WORD,U.RESERVED])||V(G.text,["get","set","..."])&&V(J.type,[U.WORD,U.RESERVED]))?V(this._last_last_text,["class","interface"])&&!V(J.text,[":",","])?this.set_mode(de.BlockStatement):this.set_mode(de.ObjectLiteral):this._flags.last_token.type===U.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(de.BlockStatement):V(this._flags.last_token.type,[U.EQUALS,U.START_EXPR,U.COMMA,U.OPERATOR])||R(this._flags.last_token,["return","throw","import","default"])?this.set_mode(de.ObjectLiteral):this.set_mode(de.BlockStatement),this._flags.last_token&&R(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var Le=!G.comments_before&&G.text==="}",ke=Le&&this._flags.last_word==="function"&&this._flags.last_token.type===U.END_EXPR;if(this._options.brace_preserve_inline){var Fe=0,Ze=null;this._flags.inline_frame=!0;do if(Fe+=1,Ze=this._tokens.peek(Fe-1),Ze.newlines){this._flags.inline_frame=!1;break}while(Ze.type!==U.EOF&&!(Ze.type===U.END_BLOCK&&Ze.opened===E))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&E.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==U.OPERATOR&&(ke||this._flags.last_token.type===U.EQUALS||R(this._flags.last_token,Z)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(B(this._previous_flags.mode)&&(this._flags.last_token.type===U.START_EXPR||this._flags.last_token.type===U.COMMA)&&((this._flags.last_token.type===U.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===U.COMMA||this._flags.last_token.type===U.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(E),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==U.OPERATOR&&this._flags.last_token.type!==U.START_EXPR&&(V(this._flags.last_token.type,[U.START_BLOCK,U.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(E),this.indent(),!Le&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},ie.prototype.handle_end_block=function(E){for(this.handle_whitespace_and_comments(E);this._flags.mode===de.Statement;)this.restore_mode();var G=this._flags.last_token.type===U.START_BLOCK;this._flags.inline_frame&&!G?this._output.space_before_token=!0:this._options.brace_style==="expand"?G||this.print_newline():G||(B(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(E)},ie.prototype.handle_word=function(E){if(E.type===U.RESERVED){if(V(E.text,["set","get"])&&this._flags.mode!==de.ObjectLiteral)E.type=U.WORD;else if(E.text==="import"&&V(this._tokens.peek().text,["(","."]))E.type=U.WORD;else if(V(E.text,["as","from"])&&!this._flags.import_block)E.type=U.WORD;else if(this._flags.mode===de.ObjectLiteral){var G=this._tokens.peek();G.text===":"&&(E.type=U.WORD)}}if(this.start_of_statement(E)?R(this._flags.last_token,["var","let","const"])&&E.type===U.WORD&&(this._flags.declaration_statement=!0):E.newlines&&!fe(this._flags.mode)&&(this._flags.last_token.type!==U.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==U.EQUALS&&(this._options.preserve_newlines||!R(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(E),this.print_newline()):this.handle_whitespace_and_comments(E),this._flags.do_block&&!this._flags.do_while)if(b(E,"while")){this._output.space_before_token=!0,this.print_token(E),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(E,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===de.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&R(E,["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(E),this._flags.in_case=!0;return}if((this._flags.last_token.type===U.COMMA||this._flags.last_token.type===U.START_EXPR||this._flags.last_token.type===U.EQUALS||this._flags.last_token.type===U.OPERATOR)&&!this.start_of_object_property()&&!(V(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===de.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(E),b(E,"function")){(V(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(V(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===U.OPERATOR))&&!this._output.just_added_blankline()&&!E.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===U.RESERVED||this._flags.last_token.type===U.WORD?R(this._flags.last_token,["get","set","new","export"])||R(this._flags.last_token,g)?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===U.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(fe(this._flags.mode)||B(this._flags.mode))||this.print_newline(),this.print_token(E),this._flags.last_word=E.text;return}var J="NONE";if(this._flags.last_token.type===U.END_BLOCK?this._previous_flags.inline_frame?J="SPACE":R(E,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&E.newlines?J="NEWLINE":(J="SPACE",this._output.space_before_token=!0):J="NEWLINE":this._flags.last_token.type===U.SEMICOLON&&this._flags.mode===de.BlockStatement?J="NEWLINE":this._flags.last_token.type===U.SEMICOLON&&fe(this._flags.mode)?J="SPACE":this._flags.last_token.type===U.STRING?J="NEWLINE":this._flags.last_token.type===U.RESERVED||this._flags.last_token.type===U.WORD||this._flags.last_token.text==="*"&&(V(this._last_last_text,["function","yield"])||this._flags.mode===de.ObjectLiteral&&V(this._last_last_text,["{",","]))?J="SPACE":this._flags.last_token.type===U.START_BLOCK?this._flags.inline_frame?J="SPACE":J="NEWLINE":this._flags.last_token.type===U.END_EXPR&&(this._output.space_before_token=!0,J="NEWLINE"),R(E,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(E,["else","catch","finally"]))if((!(this._flags.last_token.type===U.END_BLOCK&&this._previous_flags.mode===de.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&E.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(E,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==U.END_EXPR?(this._flags.last_token.type!==U.START_EXPR||!R(E,["var","let","const"]))&&this._flags.last_token.text!==":"&&(b(E,"if")&&b(E.previous,"else")?this._output.space_before_token=!0:this.print_newline()):R(E,P)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&B(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():J==="SPACE"&&(this._output.space_before_token=!0);E.previous&&(E.previous.type===U.WORD||E.previous.type===U.RESERVED)&&(this._output.space_before_token=!0),this.print_token(E),this._flags.last_word=E.text,E.type===U.RESERVED&&(E.text==="do"?this._flags.do_block=!0:E.text==="if"?this._flags.if_block=!0:E.text==="import"?this._flags.import_block=!0:this._flags.import_block&&b(E,"from")&&(this._flags.import_block=!1))},ie.prototype.handle_semicolon=function(E){this.start_of_statement(E)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(E);for(var G=this._tokens.peek();this._flags.mode===de.Statement&&!(this._flags.if_block&&b(G,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(E)},ie.prototype.handle_string=function(E){E.text.startsWith("`")&&E.newlines===0&&E.whitespace_before===""&&(E.previous.text===")"||this._flags.last_token.type===U.WORD)||(this.start_of_statement(E)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(E),this._flags.last_token.type===U.RESERVED||this._flags.last_token.type===U.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===U.COMMA||this._flags.last_token.type===U.START_EXPR||this._flags.last_token.type===U.EQUALS||this._flags.last_token.type===U.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(E):E.text.startsWith("`")&&this._flags.last_token.type===U.END_EXPR&&(E.previous.text==="]"||E.previous.text===")")&&E.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(E)},ie.prototype.handle_equals=function(E){this.start_of_statement(E)||this.handle_whitespace_and_comments(E),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(E),this._output.space_before_token=!0},ie.prototype.handle_comma=function(E){this.handle_whitespace_and_comments(E,!0),this.print_token(E),this._output.space_before_token=!0,this._flags.declaration_statement?(fe(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(E)):this._flags.mode===de.ObjectLiteral||this._flags.mode===de.Statement&&this._flags.parent.mode===de.ObjectLiteral?(this._flags.mode===de.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(E)},ie.prototype.handle_operator=function(E){var G=E.text==="*"&&(R(this._flags.last_token,["function","yield"])||V(this._flags.last_token.type,[U.START_BLOCK,U.COMMA,U.END_BLOCK,U.SEMICOLON])),J=V(E.text,["-","+"])&&(V(this._flags.last_token.type,[U.START_BLOCK,U.START_EXPR,U.EQUALS,U.OPERATOR])||V(this._flags.last_token.text,P)||this._flags.last_token.text===",");if(!this.start_of_statement(E)){var Le=!G;this.handle_whitespace_and_comments(E,Le)}if(E.text==="*"&&this._flags.last_token.type===U.DOT){this.print_token(E);return}if(E.text==="::"){this.print_token(E);return}if(V(E.text,["-","+"])&&this.start_of_object_property()){this.print_token(E);return}if(this._flags.last_token.type===U.OPERATOR&&V(this._options.operator_position,me)&&this.allow_wrap_or_preserved_newline(E),E.text===":"&&this._flags.in_case){this.print_token(E),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==U.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 ke=!0,Fe=!0,Ze=!1;if(E.text===":"?this._flags.ternary_depth===0?ke=!1:(this._flags.ternary_depth-=1,Ze=!0):E.text==="?"&&(this._flags.ternary_depth+=1),!J&&!G&&this._options.preserve_newlines&&V(E.text,ue)){var lt=E.text===":",ut=lt&&Ze,it=lt&&!Ze;switch(this._options.operator_position){case pe.before_newline:this._output.space_before_token=!it,this.print_token(E),(!lt||ut)&&this.allow_wrap_or_preserved_newline(E),this._output.space_before_token=!0;return;case pe.after_newline:this._output.space_before_token=!0,!lt||ut?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(E):this._output.space_before_token=!1,this.print_token(E),this._output.space_before_token=!0;return;case pe.preserve_newline:it||this.allow_wrap_or_preserved_newline(E),ke=!(this._output.just_added_newline()||it),this._output.space_before_token=ke,this.print_token(E),this._output.space_before_token=!0;return}}if(G){this.allow_wrap_or_preserved_newline(E),ke=!1;var Ut=this._tokens.peek();Fe=Ut&&V(Ut.type,[U.WORD,U.RESERVED])}else if(E.text==="...")this.allow_wrap_or_preserved_newline(E),ke=this._flags.last_token.type===U.START_BLOCK,Fe=!1;else if(V(E.text,["--","++","!","~"])||J){if((this._flags.last_token.type===U.COMMA||this._flags.last_token.type===U.START_EXPR)&&this.allow_wrap_or_preserved_newline(E),ke=!1,Fe=!1,E.newlines&&(E.text==="--"||E.text==="++"||E.text==="~")){var qt=R(this._flags.last_token,Z)&&E.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===";"&&fe(this._flags.mode)&&(ke=!0),this._flags.last_token.type===U.RESERVED?ke=!0:this._flags.last_token.type===U.END_EXPR?ke=!(this._flags.last_token.text==="]"&&(E.text==="--"||E.text==="++")):this._flags.last_token.type===U.OPERATOR&&(ke=V(E.text,["--","-","++","+"])&&V(this._flags.last_token.text,["--","-","++","+"]),V(E.text,["+","-"])&&V(this._flags.last_token.text,["--","++"])&&(Fe=!0)),(this._flags.mode===de.BlockStatement&&!this._flags.inline_frame||this._flags.mode===de.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||ke,this.print_token(E),this._output.space_before_token=Fe},ie.prototype.handle_block_comment=function(E,G){if(this._output.raw){this._output.add_raw_token(E),E.directives&&E.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(E.directives){this.print_newline(!1,G),this.print_token(E),E.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!u.newline.test(E.text)&&!E.newlines){this._output.space_before_token=!0,this.print_token(E),this._output.space_before_token=!0;return}else this.print_block_commment(E,G)},ie.prototype.print_block_commment=function(E,G){var J=te(E.text),Le,ke=!1,Fe=!1,Ze=E.whitespace_before,lt=Ze.length;if(this.print_newline(!1,G),this.print_token_line_indentation(E),this._output.add_token(J[0]),this.print_newline(!1,G),J.length>1){for(J=J.slice(1),ke=Y(J,"*"),Fe=ce(J,Ze),ke&&(this._flags.alignment=1),Le=0;Le<J.length;Le++)ke?(this.print_token_line_indentation(E),this._output.add_token(ne(J[Le]))):Fe&&J[Le]?(this.print_token_line_indentation(E),this._output.add_token(J[Le].substring(lt))):(this._output.current_line.set_indent(-1),this._output.add_token(J[Le])),this.print_newline(!1,G);this._flags.alignment=0}},ie.prototype.handle_comment=function(E,G){E.newlines?this.print_newline(!1,G):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(E),this.print_newline(!1,G)},ie.prototype.handle_dot=function(E){this.start_of_statement(E)||this.handle_whitespace_and_comments(E,!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(E,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(E)},ie.prototype.handle_unknown=function(E,G){this.print_token(E),E.text[E.text.length-1]===`
|
|
|
`&&this.print_newline(!1,G)},ie.prototype.handle_eof=function(E){for(;this._flags.mode===de.Statement;)this.restore_mode();this.handle_whitespace_and_comments(E)},xe.exports.Beautifier=ie},function(xe){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 K(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()}K.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},K.prototype.get_line_number=function(){return this.__lines.length},K.prototype.get_indent_string=function(S,u){return this.__indent_cache.get_indent_string(S,u)},K.prototype.get_indent_size=function(S,u){return this.__indent_cache.get_indent_size(S,u)},K.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},K.prototype.add_new_line=function(S){return this.is_empty()||!S&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},K.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},K.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},K.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)},K.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},K.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()},K.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(" "))},K.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()},K.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},K.prototype.just_added_newline=function(){return this.current_line.is_empty()},K.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},K.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--}},xe.exports.Output=K},function(xe){function a(I,K,S,u){this.type=I,this.text=K,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}xe.exports.Token=a},function(xe,a){var I="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",K="\\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-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\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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+"|["+K+S+u+"])*";a.identifier=new RegExp(m+P,"g"),a.identifierStart=new RegExp(m),a.identifierMatch=new RegExp("(?:"+x+"|["+K+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(xe,a,I){var K=I(6).Options,S=["before-newline","after-newline","preserve-newline"];function u(x){K.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 K,xe.exports.Options=u},function(xe){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=K(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 K(S){var u={},x;for(x in S){var m=x.replace(/-/g,"_");u[m]=S[x]}return u}xe.exports.Options=a,xe.exports.normalizeOpts=K,xe.exports.mergeOpts=I},function(xe,a,I){var K=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 U(Y,ce){return ce.indexOf(Y)!==-1}var V={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(/\/\*/,/\*\//),Q=/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(" "),z=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";z=z.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),z="\\?\\.(?!\\d) "+z,z=z.replace(/ /g,"|");var pe=new RegExp(z),me="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),de=me.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),ae=new RegExp("^(?:"+de.join("|")+")$"),te,B=function(Y,ce){S.call(this,Y,ce),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),g=new ue(this._input).read_options(this._options);this.__patterns={template:g,identifier:g.starting_with(m.identifier).matching(m.identifierMatch),number:ie.matching(Q),punct:ie.matching(pe),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:g.until(/['\\\n\r\u2028\u2029]/),double_quote:g.until(/["\\\n\r\u2028\u2029]/),template_text:g.until(/[`\\$]/),template_expression:g.until(/[`}\\]/)}};B.prototype=new S,B.prototype._is_comment=function(Y){return Y.type===V.COMMENT||Y.type===V.BLOCK_COMMENT||Y.type===V.UNKNOWN},B.prototype._is_opening=function(Y){return Y.type===V.START_BLOCK||Y.type===V.START_EXPR},B.prototype._is_closing=function(Y,ce){return(Y.type===V.END_BLOCK||Y.type===V.END_EXPR)&&ce&&(Y.text==="]"&&ce.text==="["||Y.text===")"&&ce.text==="("||Y.text==="}"&&ce.text==="{")},B.prototype._reset=function(){te=!1},B.prototype._get_next_token=function(Y,ce){var ie=null;this._readWhitespace();var g=this._input.peek();return g===null?this._create_token(V.EOF,""):(ie=ie||this._read_non_javascript(g),ie=ie||this._read_string(g),ie=ie||this._read_pair(g,this._input.peek(1)),ie=ie||this._read_word(Y),ie=ie||this._read_singles(g),ie=ie||this._read_comment(g),ie=ie||this._read_regexp(g,Y),ie=ie||this._read_xml(g,Y),ie=ie||this._read_punctuation(),ie=ie||this._create_token(V.UNKNOWN,this._input.next()),ie)},B.prototype._read_word=function(Y){var ce;if(ce=this.__patterns.identifier.read(),ce!=="")return ce=ce.replace(m.allLineBreaks,`
|
|
|
`),!(Y.type===V.DOT||Y.type===V.RESERVED&&(Y.text==="set"||Y.text==="get"))&&ae.test(ce)?(ce==="in"||ce==="of")&&(Y.type===V.WORD||Y.type===V.STRING)?this._create_token(V.OPERATOR,ce):this._create_token(V.RESERVED,ce):this._create_token(V.WORD,ce);if(ce=this.__patterns.number.read(),ce!=="")return this._create_token(V.WORD,ce)},B.prototype._read_singles=function(Y){var ce=null;return Y==="("||Y==="["?ce=this._create_token(V.START_EXPR,Y):Y===")"||Y==="]"?ce=this._create_token(V.END_EXPR,Y):Y==="{"?ce=this._create_token(V.START_BLOCK,Y):Y==="}"?ce=this._create_token(V.END_BLOCK,Y):Y===";"?ce=this._create_token(V.SEMICOLON,Y):Y==="."&&R.test(this._input.peek(1))?ce=this._create_token(V.DOT,Y):Y===","&&(ce=this._create_token(V.COMMA,Y)),ce&&this._input.next(),ce},B.prototype._read_pair=function(Y,ce){var ie=null;return Y==="#"&&ce==="{"&&(ie=this._create_token(V.START_BLOCK,Y+ce)),ie&&(this._input.next(),this._input.next()),ie},B.prototype._read_punctuation=function(){var Y=this.__patterns.punct.read();if(Y!=="")return Y==="="?this._create_token(V.EQUALS,Y):Y==="?."?this._create_token(V.DOT,Y):this._create_token(V.OPERATOR,Y)},B.prototype._read_non_javascript=function(Y){var ce="";if(Y==="#"){if(this._is_first_token()&&(ce=this.__patterns.shebang.read(),ce))return this._create_token(V.UNKNOWN,ce.trim()+`
|
|
|
`);if(ce=this.__patterns.include.read(),ce)return this._create_token(V.UNKNOWN,ce.trim()+`
|
|
|
`);Y=this._input.next();var ie="#";if(this._input.hasNext()&&this._input.testChar(b)){do Y=this._input.next(),ie+=Y;while(this._input.hasNext()&&Y!=="#"&&Y!=="=");return Y==="#"||(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(V.WORD,ie)}this._input.back()}else if(Y==="<"&&this._is_first_token()){if(ce=this.__patterns.html_comment_start.read(),ce){for(;this._input.hasNext()&&!this._input.testChar(m.newline);)ce+=this._input.next();return te=!0,this._create_token(V.COMMENT,ce)}}else if(te&&Y==="-"&&(ce=this.__patterns.html_comment_end.read(),ce))return te=!1,this._create_token(V.COMMENT,ce);return null},B.prototype._read_comment=function(Y){var ce=null;if(Y==="/"){var ie="";if(this._input.peek(1)==="*"){ie=this.__patterns.block_comment.read();var g=ne.get_directives(ie);g&&g.ignore==="start"&&(ie+=ne.readIgnored(this._input)),ie=ie.replace(m.allLineBreaks,`
|
|
|
`),ce=this._create_token(V.BLOCK_COMMENT,ie),ce.directives=g}else this._input.peek(1)==="/"&&(ie=this.__patterns.comment.read(),ce=this._create_token(V.COMMENT,ie))}return ce},B.prototype._read_string=function(Y){if(Y==="`"||Y==="'"||Y==='"'){var ce=this._input.next();return this.has_char_escapes=!1,Y==="`"?ce+=this._read_string_recursive("`",!0,"${"):ce+=this._read_string_recursive(Y),this.has_char_escapes&&this._options.unescape_strings&&(ce=fe(ce)),this._input.peek()===Y&&(ce+=this._input.next()),ce=ce.replace(m.allLineBreaks,`
|
|
|
`),this._create_token(V.STRING,ce)}return null},B.prototype._allow_regexp_or_xml=function(Y){return Y.type===V.RESERVED&&U(Y.text,["return","case","throw","else","do","typeof","yield"])||Y.type===V.END_EXPR&&Y.text===")"&&Y.opened.previous.type===V.RESERVED&&U(Y.opened.previous.text,["if","while","for"])||U(Y.type,[V.COMMENT,V.START_EXPR,V.START_BLOCK,V.START,V.END_BLOCK,V.OPERATOR,V.EQUALS,V.EOF,V.SEMICOLON,V.COMMA])},B.prototype._read_regexp=function(Y,ce){if(Y==="/"&&this._allow_regexp_or_xml(ce)){for(var ie=this._input.next(),g=!1,E=!1;this._input.hasNext()&&(g||E||this._input.peek()!==Y)&&!this._input.testChar(m.newline);)ie+=this._input.peek(),g?g=!1:(g=this._input.peek()==="\\",this._input.peek()==="["?E=!0:this._input.peek()==="]"&&(E=!1)),this._input.next();return this._input.peek()===Y&&(ie+=this._input.next(),ie+=this._input.read(m.identifier)),this._create_token(V.STRING,ie)}return null},B.prototype._read_xml=function(Y,ce){if(this._options.e4x&&Y==="<"&&this._allow_regexp_or_xml(ce)){var ie="",g=this.__patterns.xml.read_match();if(g){for(var E=g[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),G=E.indexOf("{")===0,J=0;g;){var Le=!!g[1],ke=g[2],Fe=!!g[g.length-1]||ke.slice(0,8)==="![CDATA[";if(!Fe&&(ke===E||G&&ke.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(Le?--J:++J),ie+=g[0],J<=0)break;g=this.__patterns.xml.read_match()}return g||(ie+=this._input.match(/[\s\S]*/g)[0]),ie=ie.replace(m.allLineBreaks,`
|
|
|
`),this._create_token(V.STRING,ie)}}return null};function fe(Y){for(var ce="",ie=0,g=new K(Y),E=null;g.hasNext();)if(E=g.match(/([\s]|[^\\]|\\\\)+/g),E&&(ce+=E[0]),g.peek()==="\\"){if(g.next(),g.peek()==="x")E=g.match(/x([0-9A-Fa-f]{2})/g);else if(g.peek()==="u")E=g.match(/u([0-9A-Fa-f]{4})/g),E||(E=g.match(/u\{([0-9A-Fa-f]+)\}/g));else{ce+="\\",g.hasNext()&&(ce+=g.next());continue}if(!E||(ie=parseInt(E[1],16),ie>126&&ie<=255&&E[0].indexOf("x")===0))return Y;ie>=0&&ie<32||ie>1114111?ce+="\\"+E[0]:ie===34||ie===39||ie===92?ce+="\\"+String.fromCharCode(ie):ce+=String.fromCharCode(ie)}return ce}B.prototype._read_string_recursive=function(Y,ce,ie){var g,E;Y==="'"?E=this.__patterns.single_quote:Y==='"'?E=this.__patterns.double_quote:Y==="`"?E=this.__patterns.template_text:Y==="}"&&(E=this.__patterns.template_expression);for(var G=E.read(),J="";this._input.hasNext();){if(J=this._input.next(),J===Y||!ce&&m.newline.test(J)){this._input.back();break}else J==="\\"&&this._input.hasNext()?(g=this._input.peek(),g==="x"||g==="u"?this.has_char_escapes=!0:g==="\r"&&this._input.peek(1)===`
|
|
|
`&&this._input.next(),J+=this._input.next()):ie&&(ie==="${"&&J==="$"&&this._input.peek()==="{"&&(J+=this._input.next()),ie===J&&(Y==="`"?J+=this._read_string_recursive("}",ce,"`"):J+=this._read_string_recursive("`",ce,"${"),this._input.hasNext()&&(J+=this._input.next())));J+=E.read(),G+=J}return G},xe.exports.Tokenizer=B,xe.exports.TOKEN=V,xe.exports.positionable_operators=Z.slice(),xe.exports.line_starters=me.slice()},function(xe){var a=RegExp.prototype.hasOwnProperty("sticky");function I(K){this.__input=K||"",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 K=null;return this.hasNext()&&(K=this.__input.charAt(this.__position),this.__position+=1),K},I.prototype.peek=function(K){var S=null;return K=K||0,K+=this.__position,K>=0&&K<this.__input_length&&(S=this.__input.charAt(K)),S},I.prototype.__match=function(K,S){K.lastIndex=S;var u=K.exec(this.__input);return u&&!(a&&K.sticky)&&u.index!==S&&(u=null),u},I.prototype.test=function(K,S){return S=S||0,S+=this.__position,S>=0&&S<this.__input_length?!!this.__match(K,S):!1},I.prototype.testChar=function(K,S){var u=this.peek(S);return K.lastIndex=0,u!==null&&K.test(u)},I.prototype.match=function(K){var S=this.__match(K,this.__position);return S?this.__position+=S[0].length:S=null,S},I.prototype.read=function(K,S,u){var x="",m;return K&&(m=this.match(K),m&&(x+=m[0])),S&&(m||!K)&&(x+=this.readUntil(S,u)),x},I.prototype.readUntil=function(K,S){var u="",x=this.__position;K.lastIndex=this.__position;var m=K.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(K){return this.readUntil(K,!0)},I.prototype.get_regexp=function(K,S){var u=null,x="g";return S&&a&&(x="y"),typeof K=="string"&&K!==""?u=new RegExp(K,x):K&&(u=new RegExp(K.source,x)),u},I.prototype.get_literal_regexp=function(K){return RegExp(K.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},I.prototype.peekUntilAfter=function(K){var S=this.__position,u=this.readUntilAfter(K);return this.__position=S,u},I.prototype.lookBack=function(K){var S=this.__position-1;return S>=K.length&&this.__input.substring(S-K.length,S).toLowerCase()===K},xe.exports.InputScanner=I},function(xe,a,I){var K=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,U){this._input=new K(ue),this._options=U||{},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,U=new S(m.START,""),V=null,ne=[],Q=new u;U.type!==m.EOF;){for(ue=this._get_next_token(U,V);this._is_comment(ue);)Q.add(ue),ue=this._get_next_token(U,V);Q.isEmpty()||(ue.comments_before=Q,Q=new u),ue.parent=V,this._is_opening(ue)?(ne.push(V),V=ue):V&&this._is_closing(ue,V)&&(ue.opened=V,V.closed=ue,V=ne.pop(),ue.parent=V),ue.previous=U,U.next=ue,this.__tokens.add(ue),U=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,U){this._readWhitespace();var V=this._input.read(/.+/g);return V?this._create_token(m.RAW,V):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,U){return!1},P.prototype._create_token=function(ue,U){var V=new S(ue,U,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return V},P.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},xe.exports.Tokenizer=P,xe.exports.TOKEN=m},function(xe){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 K=null;return I=I||0,I+=this.__position,I>=0&&I<this.__tokens_length&&(K=this.__tokens[I]),K},a.prototype.add=function(I){this.__parent_token&&(I.parent=this.__parent_token),this.__tokens.push(I),this.__tokens_length+=1},xe.exports.TokenStream=a},function(xe,a,I){var K=I(12).Pattern;function S(u,x){K.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 K,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},xe.exports.WhitespacePattern=S},function(xe){function a(I,K){this._input=I,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,K&&(this._starting_pattern=this._input.get_regexp(K._starting_pattern,!0),this._match_pattern=this._input.get_regexp(K._match_pattern,!0),this._until_pattern=this._input.get_regexp(K._until_pattern),this._until_after=K._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 K=this._create();return K._until_after=!0,K._until_pattern=this._input.get_regexp(I),K._update(),K},a.prototype.until=function(I){var K=this._create();return K._until_after=!1,K._until_pattern=this._input.get_regexp(I),K._update(),K},a.prototype.starting_with=function(I){var K=this._create();return K._starting_pattern=this._input.get_regexp(I,!0),K._update(),K},a.prototype.matching=function(I){var K=this._create();return K._match_pattern=this._input.get_regexp(I,!0),K._update(),K},a.prototype._create=function(){return new a(this._input,this)},a.prototype._update=function(){},xe.exports.Pattern=a},function(xe){function a(I,K){I=typeof I=="string"?I:I.source,K=typeof K=="string"?K:K.source,this.__directives_block_pattern=new RegExp(I+/ beautify( \w+[:]\w+)+ /.source+K,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(I+/\sbeautify\signore:end\s/.source+K,"g")}a.prototype.get_directives=function(I){if(!I.match(this.__directives_block_pattern))return null;var K={};this.__directive_pattern.lastIndex=0;for(var S=this.__directive_pattern.exec(I);S;)K[S[1]]=S[2],S=this.__directive_pattern.exec(I);return K},a.prototype.readIgnored=function(I){return I.readUntilAfter(this.__directives_end_ignore_pattern)},xe.exports.Directives=a},function(xe,a,I){var K=I(12).Pattern,S={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function u(x,m){K.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 K(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 K,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.angular||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},xe.exports.TemplatablePattern=u}],$={};function q(xe){var a=$[xe];if(a!==void 0)return a.exports;var I=$[xe]={exports:{}};return Ee[xe](I,I.exports,q),I.exports}var C=q(0);L=C})();var X=L;f=[],y=function(){return{js_beautify:X}}.apply(nt,f),y!==void 0&&(nn.exports=y)})()},15342:function(nn){(function(f,y){nn.exports=y()})(typeof self!="undefined"?self:this,function(){return function(nt){var f={};function y(L){if(f[L])return f[L].exports;var X=f[L]={i:L,l:!1,exports:{}};return nt[L].call(X.exports,X,X.exports,y),X.l=!0,X.exports}return y.m=nt,y.c=f,y.d=function(L,X,Ee){y.o(L,X)||Object.defineProperty(L,X,{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,X){if(X&1&&(L=y(L)),X&8||X&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}),X&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 X=L&&L.__esModule?function(){return L.default}:function(){return L};return y.d(X,"a",X),X},y.o=function(L,X){return Object.prototype.hasOwnProperty.call(L,X)},y.p="",y(y.s=1)}([function(nt,f,y){},function(nt,f,y){"use strict";y.r(f);var L=y(0),X=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,v){return new re(v,X.range(this,h))},re}(),$=function re(l,d){this.position=void 0;var h="KaTeX parse error: "+l,v,N=d&&d.loc;if(N&&N.start<=N.end){var le=N.lexer.input;v=N.start;var Ne=N.end;v===le.length?h+=" at end of input: ":h+=" at position "+(v+1)+": ";var Me=le.slice(v,Ne).replace(/[^]/g,"$&\u0332"),tt;v>15?tt="\u2026"+le.slice(v-15,v):tt=le.slice(0,v);var gt;Ne+15<le.length?gt=le.slice(Ne,Ne+15)+"\u2026":gt=le.slice(Ne),h+=tt+Me+gt}var Ft=new Error(h);return Ft.name="ParseError",Ft.__proto__=re.prototype,Ft.position=v,Ft};$.prototype.__proto__=Error.prototype;var q=$,C=function(l,d){return l.indexOf(d)!==-1},xe=function(l,d){return l===void 0?d:l},a=/([A-Z])/g,I=function(l){return l.replace(a,"-$1").toLowerCase()},K={"&":"&",">":">","<":"<",'"':""","'":"'"},S=/[&><"']/g;function u(re){return String(re).replace(S,function(l){return K[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*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(l);return d!=null?d[1]:"_relative"},U={contains:C,deflt:xe,escape:u,hyphenate:I,getBaseElem:x,isCharacterBox:m,protocolFromUrl:ue},V=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=U.deflt(d.displayMode,!1),this.output=U.deflt(d.output,"htmlAndMathml"),this.leqno=U.deflt(d.leqno,!1),this.fleqn=U.deflt(d.fleqn,!1),this.throwOnError=U.deflt(d.throwOnError,!0),this.errorColor=U.deflt(d.errorColor,"#cc0000"),this.macros=d.macros||{},this.minRuleThickness=Math.max(0,U.deflt(d.minRuleThickness,0)),this.colorIsTextColor=U.deflt(d.colorIsTextColor,!1),this.strict=U.deflt(d.strict,"warn"),this.trust=U.deflt(d.trust,!1),this.maxSize=Math.max(0,U.deflt(d.maxSize,1/0)),this.maxExpand=Math.max(0,U.deflt(d.maxExpand,1e3))}var l=re.prototype;return l.reportNonstrict=function(h,v,N){var le=this.strict;if(typeof le=="function"&&(le=le(h,v,N)),!(!le||le==="ignore")){if(le===!0||le==="error")throw new q("LaTeX-incompatible input and strict mode is set to 'error': "+(v+" ["+h+"]"),N);le==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(v+" ["+h+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+le+"': "+v+" ["+h+"]"))}},l.useStrictBehavior=function(h,v,N){var le=this.strict;if(typeof le=="function")try{le=le(h,v,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': "+(v+" ["+h+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+le+"': "+v+" ["+h+"]")),!1)},l.isTrusted=function(h){h.url&&!h.protocol&&(h.protocol=U.protocolFromUrl(h.url));var v=typeof this.trust=="function"?this.trust(h):this.trust;return!!v},re}(),ne=function(){function re(d,h,v){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=d,this.size=h,this.cramped=v}var l=re.prototype;return l.sup=function(){return ae[te[this.id]]},l.sub=function(){return ae[B[this.id]]},l.fracNum=function(){return ae[fe[this.id]]},l.fracDen=function(){return ae[Y[this.id]]},l.cramp=function(){return ae[ce[this.id]]},l.text=function(){return ae[ie[this.id]]},l.isTight=function(){return this.size>=2},re}(),Q=0,b=1,R=2,Z=3,z=4,pe=5,me=6,de=7,ae=[new ne(Q,0,!1),new ne(b,0,!0),new ne(R,1,!1),new ne(Z,1,!0),new ne(z,2,!1),new ne(pe,2,!0),new ne(me,3,!1),new ne(de,3,!0)],te=[z,pe,z,pe,me,de,me,de],B=[pe,pe,pe,pe,de,de,de,de],fe=[R,Z,z,pe,me,de,me,de],Y=[Z,Z,pe,pe,de,de,de,de],ce=[b,b,Z,Z,pe,pe,de,de],ie=[Q,b,R,Z,R,Z,R,Z],g={DISPLAY:ae[Q],TEXT:ae[R],SCRIPT:ae[z],SCRIPTSCRIPT:ae[me]},E=[{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 G(re){for(var l=0;l<E.length;l++)for(var d=E[l],h=0;h<d.blocks.length;h++){var v=d.blocks[h];if(re>=v[0]&&re<=v[1])return d.name}return null}var J=[];E.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 ke=80,Fe=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"},lt=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"},ut=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"},Ut=function(l,d,h){var v=h-54-d-l;return"M702 "+(l+d)+"H400000"+(40+l)+`
|
|
|
H742v`+v+`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 v="";switch(l){case"sqrtMain":v=Fe(d,ke);break;case"sqrtSize1":v=Ze(d,ke);break;case"sqrtSize2":v=lt(d,ke);break;case"sqrtSize3":v=ut(d,ke);break;case"sqrtSize4":v=it(d,ke);break;case"sqrtTall":v=Ut(d,ke,h)}return v},an={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`},Ot=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 U.contains(this.classes,h)},l.toNode=function(){for(var h=document.createDocumentFragment(),v=0;v<this.children.length;v++)h.appendChild(this.children[v].toNode());return h},l.toMarkup=function(){for(var h="",v=0;v<this.children.length;v++)h+=this.children[v].toMarkup();return h},l.toText=function(){var h=function(N){return N.toText()};return this.children.map(h).join("")},re}(),ot=function(l){return l.filter(function(d){return d}).join(" ")},_t=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 v=d.getColor();v&&(this.style.color=v)}},se=function(l){var d=document.createElement(l);d.className=ot(this.classes);for(var h in this.style)this.style.hasOwnProperty(h)&&(d.style[h]=this.style[h]);for(var v in this.attributes)this.attributes.hasOwnProperty(v)&&d.setAttribute(v,this.attributes[v]);for(var N=0;N<this.children.length;N++)d.appendChild(this.children[N].toNode());return d},ye=function(l){var d="<"+l;this.classes.length&&(d+=' class="'+U.escape(ot(this.classes))+'"');var h="";for(var v in this.style)this.style.hasOwnProperty(v)&&(h+=U.hyphenate(v)+":"+this.style[v]+";");h&&(d+=' style="'+U.escape(h)+'"');for(var N in this.attributes)this.attributes.hasOwnProperty(N)&&(d+=" "+N+'="'+U.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,v,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,_t.call(this,d,v,N),this.children=h||[]}var l=re.prototype;return l.setAttribute=function(h,v){this.attributes[h]=v},l.hasClass=function(h){return U.contains(this.classes,h)},l.toNode=function(){return se.call(this,"span")},l.toMarkup=function(){return ye.call(this,"span")},re}(),O=function(){function re(d,h,v,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,_t.call(this,h,N),this.children=v||[],this.setAttribute("href",d)}var l=re.prototype;return l.setAttribute=function(h,v){this.attributes[h]=v},l.hasClass=function(h){return U.contains(this.classes,h)},l.toNode=function(){return se.call(this,"a")},l.toMarkup=function(){return ye.call(this,"a")},re}(),Ae=function(){function re(d,h,v){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=v}var l=re.prototype;return l.hasClass=function(h){return U.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 v in this.style)this.style.hasOwnProperty(v)&&(h.style[v]=this.style[v]);return h},l.toMarkup=function(){var h="<img src='"+this.src+" 'alt='"+this.alt+"' ",v="";for(var N in this.style)this.style.hasOwnProperty(N)&&(v+=U.hyphenate(N)+":"+this.style[N]+";");return v&&(h+=' style="'+U.escape(v)+'"'),h+="'/>",h},re}(),k={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},_=function(){function re(d,h,v,N,le,Ne,Me,tt){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=v||0,this.italic=N||0,this.skew=le||0,this.width=Ne||0,this.classes=Me||[],this.style=tt||{},this.maxFontSize=0;var gt=G(this.text.charCodeAt(0));gt&&this.classes.push(gt+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=k[this.text])}var l=re.prototype;return l.hasClass=function(h){return U.contains(this.classes,h)},l.toNode=function(){var h=document.createTextNode(this.text),v=null;this.italic>0&&(v=document.createElement("span"),v.style.marginRight=this.italic+"em"),this.classes.length>0&&(v=v||document.createElement("span"),v.className=ot(this.classes));for(var N in this.style)this.style.hasOwnProperty(N)&&(v=v||document.createElement("span"),v.style[N]=this.style[N]);return v?(v.appendChild(h),v):h},l.toMarkup=function(){var h=!1,v="<span";this.classes.length&&(h=!0,v+=' class="',v+=U.escape(ot(this.classes)),v+='"');var N="";this.italic>0&&(N+="margin-right:"+this.italic+"em;");for(var le in this.style)this.style.hasOwnProperty(le)&&(N+=U.hyphenate(le)+":"+this.style[le]+";");N&&(h=!0,v+=' style="'+U.escape(N)+'"');var Ne=U.escape(this.text);return h?(v+=">",v+=Ne,v+="</span>",v):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",v=document.createElementNS(h,"svg");for(var N in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,N)&&v.setAttribute(N,this.attributes[N]);for(var le=0;le<this.children.length;le++)v.appendChild(this.children[le].toNode());return v},l.toMarkup=function(){var h="<svg";for(var v in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,v)&&(h+=" "+v+"='"+this.attributes[v]+"'");h+=">";for(var N=0;N<this.children.length;N++)h+=this.children[N].toMarkup();return h+="</svg>",h},re}(),ee=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",v=document.createElementNS(h,"path");return this.alternate?v.setAttribute("d",this.alternate):v.setAttribute("d",an[this.pathName]),v},l.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+an[this.pathName]+"'/>"},re}(),W=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",v=document.createElementNS(h,"line");for(var N in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,N)&&v.setAttribute(N,this.attributes[N]);return v},l.toMarkup=function(){var h="<line";for(var v in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,v)&&(h+=" "+v+"='"+this.attributes[v]+"'");return h+="/>",h},re}();function j(re){if(re instanceof _)return re;throw new Error("Expected symbolNode but got "+String(re)+".")}function _e(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]}},De={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]},Oe={\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 Je(re,l,d){if(!Ke[l])throw new Error("Font metrics not found for font: "+l+".");var h=re.charCodeAt(0),v=Ke[l][h];if(!v&&re[0]in Oe&&(h=Oe[re[0]].charCodeAt(0),v=Ke[l][h]),!v&&d==="text"&&Le(h)&&(v=Ke[l][77]),v)return{depth:v[0],height:v[1],italic:v[2],skew:v[3],width:v[4]}}var Ge={};function yt(re){var l;if(re>=5?l=0:re>=3?l=1:l=2,!Ge[l]){var d=Ge[l]={cssEmPerMu:De.quad[l]/18};for(var h in De)De.hasOwnProperty(h)&&(d[h]=De[h][l])}return Ge[l]}var xt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},dt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},kt={math:{},text:{}},Tt=kt;function w(re,l,d,h,v,N){kt[re][v]={font:l,group:d,replace:h},N&&h&&(kt[re][h]=kt[re][v])}var D="math",bt="text",he="main",Be="ams",pn="accent-token",We="bin",et="close",Xe="inner",Se="mathord",Ie="op-token",ze="open",qe="punct",be="rel",en="spacing",$e="textord";w(D,he,be,"\u2261","\\equiv",!0),w(D,he,be,"\u227A","\\prec",!0),w(D,he,be,"\u227B","\\succ",!0),w(D,he,be,"\u223C","\\sim",!0),w(D,he,be,"\u22A5","\\perp"),w(D,he,be,"\u2AAF","\\preceq",!0),w(D,he,be,"\u2AB0","\\succeq",!0),w(D,he,be,"\u2243","\\simeq",!0),w(D,he,be,"\u2223","\\mid",!0),w(D,he,be,"\u226A","\\ll",!0),w(D,he,be,"\u226B","\\gg",!0),w(D,he,be,"\u224D","\\asymp",!0),w(D,he,be,"\u2225","\\parallel"),w(D,he,be,"\u22C8","\\bowtie",!0),w(D,he,be,"\u2323","\\smile",!0),w(D,he,be,"\u2291","\\sqsubseteq",!0),w(D,he,be,"\u2292","\\sqsupseteq",!0),w(D,he,be,"\u2250","\\doteq",!0),w(D,he,be,"\u2322","\\frown",!0),w(D,he,be,"\u220B","\\ni",!0),w(D,he,be,"\u221D","\\propto",!0),w(D,he,be,"\u22A2","\\vdash",!0),w(D,he,be,"\u22A3","\\dashv",!0),w(D,he,be,"\u220B","\\owns"),w(D,he,qe,".","\\ldotp"),w(D,he,qe,"\u22C5","\\cdotp"),w(D,he,$e,"#","\\#"),w(bt,he,$e,"#","\\#"),w(D,he,$e,"&","\\&"),w(bt,he,$e,"&","\\&"),w(D,he,$e,"\u2135","\\aleph",!0),w(D,he,$e,"\u2200","\\forall",!0),w(D,he,$e,"\u210F","\\hbar",!0),w(D,he,$e,"\u2203","\\exists",!0),w(D,he,$e,"\u2207","\\nabla",!0),w(D,he,$e,"\u266D","\\flat",!0),w(D,he,$e,"\u2113","\\ell",!0),w(D,he,$e,"\u266E","\\natural",!0),w(D,he,$e,"\u2663","\\clubsuit",!0),w(D,he,$e,"\u2118","\\wp",!0),w(D,he,$e,"\u266F","\\sharp",!0),w(D,he,$e,"\u2662","\\diamondsuit",!0),w(D,he,$e,"\u211C","\\Re",!0),w(D,he,$e,"\u2661","\\heartsuit",!0),w(D,he,$e,"\u2111","\\Im",!0),w(D,he,$e,"\u2660","\\spadesuit",!0),w(bt,he,$e,"\xA7","\\S",!0),w(bt,he,$e,"\xB6","\\P",!0),w(D,he,$e,"\u2020","\\dag"),w(bt,he,$e,"\u2020","\\dag"),w(bt,he,$e,"\u2020","\\textdagger"),w(D,he,$e,"\u2021","\\ddag"),w(bt,he,$e,"\u2021","\\ddag"),w(bt,he,$e,"\u2021","\\textdaggerdbl"),w(D,he,et,"\u23B1","\\rmoustache",!0),w(D,he,ze,"\u23B0","\\lmoustache",!0),w(D,he,et,"\u27EF","\\rgroup",!0),w(D,he,ze,"\u27EE","\\lgroup",!0),w(D,he,We,"\u2213","\\mp",!0),w(D,he,We,"\u2296","\\ominus",!0),w(D,he,We,"\u228E","\\uplus",!0),w(D,he,We,"\u2293","\\sqcap",!0),w(D,he,We,"\u2217","\\ast"),w(D,he,We,"\u2294","\\sqcup",!0),w(D,he,We,"\u25EF","\\bigcirc"),w(D,he,We,"\u2219","\\bullet"),w(D,he,We,"\u2021","\\ddagger"),w(D,he,We,"\u2240","\\wr",!0),w(D,he,We,"\u2A3F","\\amalg"),w(D,he,We,"&","\\And"),w(D,he,be,"\u27F5","\\longleftarrow",!0),w(D,he,be,"\u21D0","\\Leftarrow",!0),w(D,he,be,"\u27F8","\\Longleftarrow",!0),w(D,he,be,"\u27F6","\\longrightarrow",!0),w(D,he,be,"\u21D2","\\Rightarrow",!0),w(D,he,be,"\u27F9","\\Longrightarrow",!0),w(D,he,be,"\u2194","\\leftrightarrow",!0),w(D,he,be,"\u27F7","\\longleftrightarrow",!0),w(D,he,be,"\u21D4","\\Leftrightarrow",!0),w(D,he,be,"\u27FA","\\Longleftrightarrow",!0),w(D,he,be,"\u21A6","\\mapsto",!0),w(D,he,be,"\u27FC","\\longmapsto",!0),w(D,he,be,"\u2197","\\nearrow",!0),w(D,he,be,"\u21A9","\\hookleftarrow",!0),w(D,he,be,"\u21AA","\\hookrightarrow",!0),w(D,he,be,"\u2198","\\searrow",!0),w(D,he,be,"\u21BC","\\leftharpoonup",!0),w(D,he,be,"\u21C0","\\rightharpoonup",!0),w(D,he,be,"\u2199","\\swarrow",!0),w(D,he,be,"\u21BD","\\leftharpoondown",!0),w(D,he,be,"\u21C1","\\rightharpoondown",!0),w(D,he,be,"\u2196","\\nwarrow",!0),w(D,he,be,"\u21CC","\\rightleftharpoons",!0),w(D,Be,be,"\u226E","\\nless",!0),w(D,Be,be,"\uE010","\\@nleqslant"),w(D,Be,be,"\uE011","\\@nleqq"),w(D,Be,be,"\u2A87","\\lneq",!0),w(D,Be,be,"\u2268","\\lneqq",!0),w(D,Be,be,"\uE00C","\\@lvertneqq"),w(D,Be,be,"\u22E6","\\lnsim",!0),w(D,Be,be,"\u2A89","\\lnapprox",!0),w(D,Be,be,"\u2280","\\nprec",!0),w(D,Be,be,"\u22E0","\\npreceq",!0),w(D,Be,be,"\u22E8","\\precnsim",!0),w(D,Be,be,"\u2AB9","\\precnapprox",!0),w(D,Be,be,"\u2241","\\nsim",!0),w(D,Be,be,"\uE006","\\@nshortmid"),w(D,Be,be,"\u2224","\\nmid",!0),w(D,Be,be,"\u22AC","\\nvdash",!0),w(D,Be,be,"\u22AD","\\nvDash",!0),w(D,Be,be,"\u22EA","\\ntriangleleft"),w(D,Be,be,"\u22EC","\\ntrianglelefteq",!0),w(D,Be,be,"\u228A","\\subsetneq",!0),w(D,Be,be,"\uE01A","\\@varsubsetneq"),w(D,Be,be,"\u2ACB","\\subsetneqq",!0),w(D,Be,be,"\uE017","\\@varsubsetneqq"),w(D,Be,be,"\u226F","\\ngtr",!0),w(D,Be,be,"\uE00F","\\@ngeqslant"),w(D,Be,be,"\uE00E","\\@ngeqq"),w(D,Be,be,"\u2A88","\\gneq",!0),w(D,Be,be,"\u2269","\\gneqq",!0),w(D,Be,be,"\uE00D","\\@gvertneqq"),w(D,Be,be,"\u22E7","\\gnsim",!0),w(D,Be,be,"\u2A8A","\\gnapprox",!0),w(D,Be,be,"\u2281","\\nsucc",!0),w(D,Be,be,"\u22E1","\\nsucceq",!0),w(D,Be,be,"\u22E9","\\succnsim",!0),w(D,Be,be,"\u2ABA","\\succnapprox",!0),w(D,Be,be,"\u2246","\\ncong",!0),w(D,Be,be,"\uE007","\\@nshortparallel"),w(D,Be,be,"\u2226","\\nparallel",!0),w(D,Be,be,"\u22AF","\\nVDash",!0),w(D,Be,be,"\u22EB","\\ntriangleright"),w(D,Be,be,"\u22ED","\\ntrianglerighteq",!0),w(D,Be,be,"\uE018","\\@nsupseteqq"),w(D,Be,be,"\u228B","\\supsetneq",!0),w(D,Be,be,"\uE01B","\\@varsupsetneq"),w(D,Be,be,"\u2ACC","\\supsetneqq",!0),w(D,Be,be,"\uE019","\\@varsupsetneqq"),w(D,Be,be,"\u22AE","\\nVdash",!0),w(D,Be,be,"\u2AB5","\\precneqq",!0),w(D,Be,be,"\u2AB6","\\succneqq",!0),w(D,Be,be,"\uE016","\\@nsubseteqq"),w(D,Be,We,"\u22B4","\\unlhd"),w(D,Be,We,"\u22B5","\\unrhd"),w(D,Be,be,"\u219A","\\nleftarrow",!0),w(D,Be,be,"\u219B","\\nrightarrow",!0),w(D,Be,be,"\u21CD","\\nLeftarrow",!0),w(D,Be,be,"\u21CF","\\nRightarrow",!0),w(D,Be,be,"\u21AE","\\nleftrightarrow",!0),w(D,Be,be,"\u21CE","\\nLeftrightarrow",!0),w(D,Be,be,"\u25B3","\\vartriangle"),w(D,Be,$e,"\u210F","\\hslash"),w(D,Be,$e,"\u25BD","\\triangledown"),w(D,Be,$e,"\u25CA","\\lozenge"),w(D,Be,$e,"\u24C8","\\circledS"),w(D,Be,$e,"\xAE","\\circledR"),w(bt,Be,$e,"\xAE","\\circledR"),w(D,Be,$e,"\u2221","\\measuredangle",!0),w(D,Be,$e,"\u2204","\\nexists"),w(D,Be,$e,"\u2127","\\mho"),w(D,Be,$e,"\u2132","\\Finv",!0),w(D,Be,$e,"\u2141","\\Game",!0),w(D,Be,$e,"\u2035","\\backprime"),w(D,Be,$e,"\u25B2","\\blacktriangle"),w(D,Be,$e,"\u25BC","\\blacktriangledown"),w(D,Be,$e,"\u25A0","\\blacksquare"),w(D,Be,$e,"\u29EB","\\blacklozenge"),w(D,Be,$e,"\u2605","\\bigstar"),w(D,Be,$e,"\u2222","\\sphericalangle",!0),w(D,Be,$e,"\u2201","\\complement",!0),w(D,Be,$e,"\xF0","\\eth",!0),w(D,Be,$e,"\u2571","\\diagup"),w(D,Be,$e,"\u2572","\\diagdown"),w(D,Be,$e,"\u25A1","\\square"),w(D,Be,$e,"\u25A1","\\Box"),w(D,Be,$e,"\u25CA","\\Diamond"),w(D,Be,$e,"\xA5","\\yen",!0),w(bt,Be,$e,"\xA5","\\yen",!0),w(D,Be,$e,"\u2713","\\checkmark",!0),w(bt,Be,$e,"\u2713","\\checkmark"),w(D,Be,$e,"\u2136","\\beth",!0),w(D,Be,$e,"\u2138","\\daleth",!0),w(D,Be,$e,"\u2137","\\gimel",!0),w(D,Be,$e,"\u03DD","\\digamma",!0),w(D,Be,$e,"\u03F0","\\varkappa"),w(D,Be,ze,"\u250C","\\ulcorner",!0),w(D,Be,et,"\u2510","\\urcorner",!0),w(D,Be,ze,"\u2514","\\llcorner",!0),w(D,Be,et,"\u2518","\\lrcorner",!0),w(D,Be,be,"\u2266","\\leqq",!0),w(D,Be,be,"\u2A7D","\\leqslant",!0),w(D,Be,be,"\u2A95","\\eqslantless",!0),w(D,Be,be,"\u2272","\\lesssim",!0),w(D,Be,be,"\u2A85","\\lessapprox",!0),w(D,Be,be,"\u224A","\\approxeq",!0),w(D,Be,We,"\u22D6","\\lessdot"),w(D,Be,be,"\u22D8","\\lll",!0),w(D,Be,be,"\u2276","\\lessgtr",!0),w(D,Be,be,"\u22DA","\\lesseqgtr",!0),w(D,Be,be,"\u2A8B","\\lesseqqgtr",!0),w(D,Be,be,"\u2251","\\doteqdot"),w(D,Be,be,"\u2253","\\risingdotseq",!0),w(D,Be,be,"\u2252","\\fallingdotseq",!0),w(D,Be,be,"\u223D","\\backsim",!0),w(D,Be,be,"\u22CD","\\backsimeq",!0),w(D,Be,be,"\u2AC5","\\subseteqq",!0),w(D,Be,be,"\u22D0","\\Subset",!0),w(D,Be,be,"\u228F","\\sqsubset",!0),w(D,Be,be,"\u227C","\\preccurlyeq",!0),w(D,Be,be,"\u22DE","\\curlyeqprec",!0),w(D,Be,be,"\u227E","\\precsim",!0),w(D,Be,be,"\u2AB7","\\precapprox",!0),w(D,Be,be,"\u22B2","\\vartriangleleft"),w(D,Be,be,"\u22B4","\\trianglelefteq"),w(D,Be,be,"\u22A8","\\vDash",!0),w(D,Be,be,"\u22AA","\\Vvdash",!0),w(D,Be,be,"\u2323","\\smallsmile"),w(D,Be,be,"\u2322","\\smallfrown"),w(D,Be,be,"\u224F","\\bumpeq",!0),w(D,Be,be,"\u224E","\\Bumpeq",!0),w(D,Be,be,"\u2267","\\geqq",!0),w(D,Be,be,"\u2A7E","\\geqslant",!0),w(D,Be,be,"\u2A96","\\eqslantgtr",!0),w(D,Be,be,"\u2273","\\gtrsim",!0),w(D,Be,be,"\u2A86","\\gtrapprox",!0),w(D,Be,We,"\u22D7","\\gtrdot"),w(D,Be,be,"\u22D9","\\ggg",!0),w(D,Be,be,"\u2277","\\gtrless",!0),w(D,Be,be,"\u22DB","\\gtreqless",!0),w(D,Be,be,"\u2A8C","\\gtreqqless",!0),w(D,Be,be,"\u2256","\\eqcirc",!0),w(D,Be,be,"\u2257","\\circeq",!0),w(D,Be,be,"\u225C","\\triangleq",!0),w(D,Be,be,"\u223C","\\thicksim"),w(D,Be,be,"\u2248","\\thickapprox"),w(D,Be,be,"\u2AC6","\\supseteqq",!0),w(D,Be,be,"\u22D1","\\Supset",!0),w(D,Be,be,"\u2290","\\sqsupset",!0),w(D,Be,be,"\u227D","\\succcurlyeq",!0),w(D,Be,be,"\u22DF","\\curlyeqsucc",!0),w(D,Be,be,"\u227F","\\succsim",!0),w(D,Be,be,"\u2AB8","\\succapprox",!0),w(D,Be,be,"\u22B3","\\vartriangleright"),w(D,Be,be,"\u22B5","\\trianglerighteq"),w(D,Be,be,"\u22A9","\\Vdash",!0),w(D,Be,be,"\u2223","\\shortmid"),w(D,Be,be,"\u2225","\\shortparallel"),w(D,Be,be,"\u226C","\\between",!0),w(D,Be,be,"\u22D4","\\pitchfork",!0),w(D,Be,be,"\u221D","\\varpropto"),w(D,Be,be,"\u25C0","\\blacktriangleleft"),w(D,Be,be,"\u2234","\\therefore",!0),w(D,Be,be,"\u220D","\\backepsilon"),w(D,Be,be,"\u25B6","\\blacktriangleright"),w(D,Be,be,"\u2235","\\because",!0),w(D,Be,be,"\u22D8","\\llless"),w(D,Be,be,"\u22D9","\\gggtr"),w(D,Be,We,"\u22B2","\\lhd"),w(D,Be,We,"\u22B3","\\rhd"),w(D,Be,be,"\u2242","\\eqsim",!0),w(D,he,be,"\u22C8","\\Join"),w(D,Be,be,"\u2251","\\Doteq",!0),w(D,Be,We,"\u2214","\\dotplus",!0),w(D,Be,We,"\u2216","\\smallsetminus"),w(D,Be,We,"\u22D2","\\Cap",!0),w(D,Be,We,"\u22D3","\\Cup",!0),w(D,Be,We,"\u2A5E","\\doublebarwedge",!0),w(D,Be,We,"\u229F","\\boxminus",!0),w(D,Be,We,"\u229E","\\boxplus",!0),w(D,Be,We,"\u22C7","\\divideontimes",!0),w(D,Be,We,"\u22C9","\\ltimes",!0),w(D,Be,We,"\u22CA","\\rtimes",!0),w(D,Be,We,"\u22CB","\\leftthreetimes",!0),w(D,Be,We,"\u22CC","\\rightthreetimes",!0),w(D,Be,We,"\u22CF","\\curlywedge",!0),w(D,Be,We,"\u22CE","\\curlyvee",!0),w(D,Be,We,"\u229D","\\circleddash",!0),w(D,Be,We,"\u229B","\\circledast",!0),w(D,Be,We,"\u22C5","\\centerdot"),w(D,Be,We,"\u22BA","\\intercal",!0),w(D,Be,We,"\u22D2","\\doublecap"),w(D,Be,We,"\u22D3","\\doublecup"),w(D,Be,We,"\u22A0","\\boxtimes",!0),w(D,Be,be,"\u21E2","\\dashrightarrow",!0),w(D,Be,be,"\u21E0","\\dashleftarrow",!0),w(D,Be,be,"\u21C7","\\leftleftarrows",!0),w(D,Be,be,"\u21C6","\\leftrightarrows",!0),w(D,Be,be,"\u21DA","\\Lleftarrow",!0),w(D,Be,be,"\u219E","\\twoheadleftarrow",!0),w(D,Be,be,"\u21A2","\\leftarrowtail",!0),w(D,Be,be,"\u21AB","\\looparrowleft",!0),w(D,Be,be,"\u21CB","\\leftrightharpoons",!0),w(D,Be,be,"\u21B6","\\curvearrowleft",!0),w(D,Be,be,"\u21BA","\\circlearrowleft",!0),w(D,Be,be,"\u21B0","\\Lsh",!0),w(D,Be,be,"\u21C8","\\upuparrows",!0),w(D,Be,be,"\u21BF","\\upharpoonleft",!0),w(D,Be,be,"\u21C3","\\downharpoonleft",!0),w(D,Be,be,"\u22B8","\\multimap",!0),w(D,Be,be,"\u21AD","\\leftrightsquigarrow",!0),w(D,Be,be,"\u21C9","\\rightrightarrows",!0),w(D,Be,be,"\u21C4","\\rightleftarrows",!0),w(D,Be,be,"\u21A0","\\twoheadrightarrow",!0),w(D,Be,be,"\u21A3","\\rightarrowtail",!0),w(D,Be,be,"\u21AC","\\looparrowright",!0),w(D,Be,be,"\u21B7","\\curvearrowright",!0),w(D,Be,be,"\u21BB","\\circlearrowright",!0),w(D,Be,be,"\u21B1","\\Rsh",!0),w(D,Be,be,"\u21CA","\\downdownarrows",!0),w(D,Be,be,"\u21BE","\\upharpoonright",!0),w(D,Be,be,"\u21C2","\\downharpoonright",!0),w(D,Be,be,"\u21DD","\\rightsquigarrow",!0),w(D,Be,be,"\u21DD","\\leadsto"),w(D,Be,be,"\u21DB","\\Rrightarrow",!0),w(D,Be,be,"\u21BE","\\restriction"),w(D,he,$e,"\u2018","`"),w(D,he,$e,"$","\\$"),w(bt,he,$e,"$","\\$"),w(bt,he,$e,"$","\\textdollar"),w(D,he,$e,"%","\\%"),w(bt,he,$e,"%","\\%"),w(D,he,$e,"_","\\_"),w(bt,he,$e,"_","\\_"),w(bt,he,$e,"_","\\textunderscore"),w(D,he,$e,"\u2220","\\angle",!0),w(D,he,$e,"\u221E","\\infty",!0),w(D,he,$e,"\u2032","\\prime"),w(D,he,$e,"\u25B3","\\triangle"),w(D,he,$e,"\u0393","\\Gamma",!0),w(D,he,$e,"\u0394","\\Delta",!0),w(D,he,$e,"\u0398","\\Theta",!0),w(D,he,$e,"\u039B","\\Lambda",!0),w(D,he,$e,"\u039E","\\Xi",!0),w(D,he,$e,"\u03A0","\\Pi",!0),w(D,he,$e,"\u03A3","\\Sigma",!0),w(D,he,$e,"\u03A5","\\Upsilon",!0),w(D,he,$e,"\u03A6","\\Phi",!0),w(D,he,$e,"\u03A8","\\Psi",!0),w(D,he,$e,"\u03A9","\\Omega",!0),w(D,he,$e,"A","\u0391"),w(D,he,$e,"B","\u0392"),w(D,he,$e,"E","\u0395"),w(D,he,$e,"Z","\u0396"),w(D,he,$e,"H","\u0397"),w(D,he,$e,"I","\u0399"),w(D,he,$e,"K","\u039A"),w(D,he,$e,"M","\u039C"),w(D,he,$e,"N","\u039D"),w(D,he,$e,"O","\u039F"),w(D,he,$e,"P","\u03A1"),w(D,he,$e,"T","\u03A4"),w(D,he,$e,"X","\u03A7"),w(D,he,$e,"\xAC","\\neg",!0),w(D,he,$e,"\xAC","\\lnot"),w(D,he,$e,"\u22A4","\\top"),w(D,he,$e,"\u22A5","\\bot"),w(D,he,$e,"\u2205","\\emptyset"),w(D,Be,$e,"\u2205","\\varnothing"),w(D,he,Se,"\u03B1","\\alpha",!0),w(D,he,Se,"\u03B2","\\beta",!0),w(D,he,Se,"\u03B3","\\gamma",!0),w(D,he,Se,"\u03B4","\\delta",!0),w(D,he,Se,"\u03F5","\\epsilon",!0),w(D,he,Se,"\u03B6","\\zeta",!0),w(D,he,Se,"\u03B7","\\eta",!0),w(D,he,Se,"\u03B8","\\theta",!0),w(D,he,Se,"\u03B9","\\iota",!0),w(D,he,Se,"\u03BA","\\kappa",!0),w(D,he,Se,"\u03BB","\\lambda",!0),w(D,he,Se,"\u03BC","\\mu",!0),w(D,he,Se,"\u03BD","\\nu",!0),w(D,he,Se,"\u03BE","\\xi",!0),w(D,he,Se,"\u03BF","\\omicron",!0),w(D,he,Se,"\u03C0","\\pi",!0),w(D,he,Se,"\u03C1","\\rho",!0),w(D,he,Se,"\u03C3","\\sigma",!0),w(D,he,Se,"\u03C4","\\tau",!0),w(D,he,Se,"\u03C5","\\upsilon",!0),w(D,he,Se,"\u03D5","\\phi",!0),w(D,he,Se,"\u03C7","\\chi",!0),w(D,he,Se,"\u03C8","\\psi",!0),w(D,he,Se,"\u03C9","\\omega",!0),w(D,he,Se,"\u03B5","\\varepsilon",!0),w(D,he,Se,"\u03D1","\\vartheta",!0),w(D,he,Se,"\u03D6","\\varpi",!0),w(D,he,Se,"\u03F1","\\varrho",!0),w(D,he,Se,"\u03C2","\\varsigma",!0),w(D,he,Se,"\u03C6","\\varphi",!0),w(D,he,We,"\u2217","*"),w(D,he,We,"+","+"),w(D,he,We,"\u2212","-"),w(D,he,We,"\u22C5","\\cdot",!0),w(D,he,We,"\u2218","\\circ"),w(D,he,We,"\xF7","\\div",!0),w(D,he,We,"\xB1","\\pm",!0),w(D,he,We,"\xD7","\\times",!0),w(D,he,We,"\u2229","\\cap",!0),w(D,he,We,"\u222A","\\cup",!0),w(D,he,We,"\u2216","\\setminus"),w(D,he,We,"\u2227","\\land"),w(D,he,We,"\u2228","\\lor"),w(D,he,We,"\u2227","\\wedge",!0),w(D,he,We,"\u2228","\\vee",!0),w(D,he,$e,"\u221A","\\surd"),w(D,he,ze,"(","("),w(D,he,ze,"[","["),w(D,he,ze,"\u27E8","\\langle",!0),w(D,he,ze,"\u2223","\\lvert"),w(D,he,ze,"\u2225","\\lVert"),w(D,he,et,")",")"),w(D,he,et,"]","]"),w(D,he,et,"?","?"),w(D,he,et,"!","!"),w(D,he,et,"\u27E9","\\rangle",!0),w(D,he,et,"\u2223","\\rvert"),w(D,he,et,"\u2225","\\rVert"),w(D,he,be,"=","="),w(D,he,be,"<","<"),w(D,he,be,">",">"),w(D,he,be,":",":"),w(D,he,be,"\u2248","\\approx",!0),w(D,he,be,"\u2245","\\cong",!0),w(D,he,be,"\u2265","\\ge"),w(D,he,be,"\u2265","\\geq",!0),w(D,he,be,"\u2190","\\gets"),w(D,he,be,">","\\gt"),w(D,he,be,"\u2208","\\in",!0),w(D,he,be,"\uE020","\\@not"),w(D,he,be,"\u2282","\\subset",!0),w(D,he,be,"\u2283","\\supset",!0),w(D,he,be,"\u2286","\\subseteq",!0),w(D,he,be,"\u2287","\\supseteq",!0),w(D,Be,be,"\u2288","\\nsubseteq",!0),w(D,Be,be,"\u2289","\\nsupseteq",!0),w(D,he,be,"\u22A8","\\models"),w(D,he,be,"\u2190","\\leftarrow",!0),w(D,he,be,"\u2264","\\le"),w(D,he,be,"\u2264","\\leq",!0),w(D,he,be,"<","\\lt"),w(D,he,be,"\u2192","\\rightarrow",!0),w(D,he,be,"\u2192","\\to"),w(D,Be,be,"\u2271","\\ngeq",!0),w(D,Be,be,"\u2270","\\nleq",!0),w(D,he,en,"\xA0","\\ "),w(D,he,en,"\xA0","~"),w(D,he,en,"\xA0","\\space"),w(D,he,en,"\xA0","\\nobreakspace"),w(bt,he,en,"\xA0","\\ "),w(bt,he,en,"\xA0","~"),w(bt,he,en,"\xA0","\\space"),w(bt,he,en,"\xA0","\\nobreakspace"),w(D,he,en,null,"\\nobreak"),w(D,he,en,null,"\\allowbreak"),w(D,he,qe,",",","),w(D,he,qe,";",";"),w(D,Be,We,"\u22BC","\\barwedge",!0),w(D,Be,We,"\u22BB","\\veebar",!0),w(D,he,We,"\u2299","\\odot",!0),w(D,he,We,"\u2295","\\oplus",!0),w(D,he,We,"\u2297","\\otimes",!0),w(D,he,$e,"\u2202","\\partial",!0),w(D,he,We,"\u2298","\\oslash",!0),w(D,Be,We,"\u229A","\\circledcirc",!0),w(D,Be,We,"\u22A1","\\boxdot",!0),w(D,he,We,"\u25B3","\\bigtriangleup"),w(D,he,We,"\u25BD","\\bigtriangledown"),w(D,he,We,"\u2020","\\dagger"),w(D,he,We,"\u22C4","\\diamond"),w(D,he,We,"\u22C6","\\star"),w(D,he,We,"\u25C3","\\triangleleft"),w(D,he,We,"\u25B9","\\triangleright"),w(D,he,ze,"{","\\{"),w(bt,he,$e,"{","\\{"),w(bt,he,$e,"{","\\textbraceleft"),w(D,he,et,"}","\\}"),w(bt,he,$e,"}","\\}"),w(bt,he,$e,"}","\\textbraceright"),w(D,he,ze,"{","\\lbrace"),w(D,he,et,"}","\\rbrace"),w(D,he,ze,"[","\\lbrack"),w(bt,he,$e,"[","\\lbrack"),w(D,he,et,"]","\\rbrack"),w(bt,he,$e,"]","\\rbrack"),w(D,he,ze,"(","\\lparen"),w(D,he,et,")","\\rparen"),w(bt,he,$e,"<","\\textless"),w(bt,he,$e,">","\\textgreater"),w(D,he,ze,"\u230A","\\lfloor",!0),w(D,he,et,"\u230B","\\rfloor",!0),w(D,he,ze,"\u2308","\\lceil",!0),w(D,he,et,"\u2309","\\rceil",!0),w(D,he,$e,"\\","\\backslash"),w(D,he,$e,"\u2223","|"),w(D,he,$e,"\u2223","\\vert"),w(bt,he,$e,"|","\\textbar"),w(D,he,$e,"\u2225","\\|"),w(D,he,$e,"\u2225","\\Vert"),w(bt,he,$e,"\u2225","\\textbardbl"),w(bt,he,$e,"~","\\textasciitilde"),w(bt,he,$e,"\\","\\textbackslash"),w(bt,he,$e,"^","\\textasciicircum"),w(D,he,be,"\u2191","\\uparrow",!0),w(D,he,be,"\u21D1","\\Uparrow",!0),w(D,he,be,"\u2193","\\downarrow",!0),w(D,he,be,"\u21D3","\\Downarrow",!0),w(D,he,be,"\u2195","\\updownarrow",!0),w(D,he,be,"\u21D5","\\Updownarrow",!0),w(D,he,Ie,"\u2210","\\coprod"),w(D,he,Ie,"\u22C1","\\bigvee"),w(D,he,Ie,"\u22C0","\\bigwedge"),w(D,he,Ie,"\u2A04","\\biguplus"),w(D,he,Ie,"\u22C2","\\bigcap"),w(D,he,Ie,"\u22C3","\\bigcup"),w(D,he,Ie,"\u222B","\\int"),w(D,he,Ie,"\u222B","\\intop"),w(D,he,Ie,"\u222C","\\iint"),w(D,he,Ie,"\u222D","\\iiint"),w(D,he,Ie,"\u220F","\\prod"),w(D,he,Ie,"\u2211","\\sum"),w(D,he,Ie,"\u2A02","\\bigotimes"),w(D,he,Ie,"\u2A01","\\bigoplus"),w(D,he,Ie,"\u2A00","\\bigodot"),w(D,he,Ie,"\u222E","\\oint"),w(D,he,Ie,"\u222F","\\oiint"),w(D,he,Ie,"\u2230","\\oiiint"),w(D,he,Ie,"\u2A06","\\bigsqcup"),w(D,he,Ie,"\u222B","\\smallint"),w(bt,he,Xe,"\u2026","\\textellipsis"),w(D,he,Xe,"\u2026","\\mathellipsis"),w(bt,he,Xe,"\u2026","\\ldots",!0),w(D,he,Xe,"\u2026","\\ldots",!0),w(D,he,Xe,"\u22EF","\\@cdots",!0),w(D,he,Xe,"\u22F1","\\ddots",!0),w(D,he,$e,"\u22EE","\\varvdots"),w(D,he,pn,"\u02CA","\\acute"),w(D,he,pn,"\u02CB","\\grave"),w(D,he,pn,"\xA8","\\ddot"),w(D,he,pn,"~","\\tilde"),w(D,he,pn,"\u02C9","\\bar"),w(D,he,pn,"\u02D8","\\breve"),w(D,he,pn,"\u02C7","\\check"),w(D,he,pn,"^","\\hat"),w(D,he,pn,"\u20D7","\\vec"),w(D,he,pn,"\u02D9","\\dot"),w(D,he,pn,"\u02DA","\\mathring"),w(D,he,Se,"\u0131","\\imath",!0),w(D,he,Se,"\u0237","\\jmath",!0),w(bt,he,$e,"\u0131","\\i",!0),w(bt,he,$e,"\u0237","\\j",!0),w(bt,he,$e,"\xDF","\\ss",!0),w(bt,he,$e,"\xE6","\\ae",!0),w(bt,he,$e,"\xE6","\\ae",!0),w(bt,he,$e,"\u0153","\\oe",!0),w(bt,he,$e,"\xF8","\\o",!0),w(bt,he,$e,"\xC6","\\AE",!0),w(bt,he,$e,"\u0152","\\OE",!0),w(bt,he,$e,"\xD8","\\O",!0),w(bt,he,pn,"\u02CA","\\'"),w(bt,he,pn,"\u02CB","\\`"),w(bt,he,pn,"\u02C6","\\^"),w(bt,he,pn,"\u02DC","\\~"),w(bt,he,pn,"\u02C9","\\="),w(bt,he,pn,"\u02D8","\\u"),w(bt,he,pn,"\u02D9","\\."),w(bt,he,pn,"\u02DA","\\r"),w(bt,he,pn,"\u02C7","\\v"),w(bt,he,pn,"\xA8",'\\"'),w(bt,he,pn,"\u02DD","\\H"),w(bt,he,pn,"\u25EF","\\textcircled");var bn={"--":!0,"---":!0,"``":!0,"''":!0};w(bt,he,$e,"\u2013","--"),w(bt,he,$e,"\u2013","\\textendash"),w(bt,he,$e,"\u2014","---"),w(bt,he,$e,"\u2014","\\textemdash"),w(bt,he,$e,"\u2018","`"),w(bt,he,$e,"\u2018","\\textquoteleft"),w(bt,he,$e,"\u2019","'"),w(bt,he,$e,"\u2019","\\textquoteright"),w(bt,he,$e,"\u201C","``"),w(bt,he,$e,"\u201C","\\textquotedblleft"),w(bt,he,$e,"\u201D","''"),w(bt,he,$e,"\u201D","\\textquotedblright"),w(D,he,$e,"\xB0","\\degree",!0),w(bt,he,$e,"\xB0","\\degree"),w(bt,he,$e,"\xB0","\\textdegree",!0),w(D,he,Se,"\xA3","\\pounds"),w(D,he,Se,"\xA3","\\mathsterling",!0),w(bt,he,Se,"\xA3","\\pounds"),w(bt,he,Se,"\xA3","\\textsterling",!0),w(D,Be,$e,"\u2720","\\maltese"),w(bt,Be,$e,"\u2720","\\maltese"),w(bt,he,en,"\xA0","\\ "),w(bt,he,en,"\xA0"," "),w(bt,he,en,"\xA0","~");for(var Cn='0123456789/@."',jt=0;jt<Cn.length;jt++){var Jt=Cn.charAt(jt);w(D,he,$e,Jt,Jt)}for(var wt='0123456789!@*()-=+[]<>|";:?/.,',Pt=0;Pt<wt.length;Pt++){var Ve=wt.charAt(Pt);w(bt,he,$e,Ve,Ve)}for(var At="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",St=0;St<At.length;St++){var Ue=At.charAt(St);w(D,he,Se,Ue,Ue),w(bt,he,$e,Ue,Ue)}w(D,Be,$e,"C","\u2102"),w(bt,Be,$e,"C","\u2102"),w(D,Be,$e,"H","\u210D"),w(bt,Be,$e,"H","\u210D"),w(D,Be,$e,"N","\u2115"),w(bt,Be,$e,"N","\u2115"),w(D,Be,$e,"P","\u2119"),w(bt,Be,$e,"P","\u2119"),w(D,Be,$e,"Q","\u211A"),w(bt,Be,$e,"Q","\u211A"),w(D,Be,$e,"R","\u211D"),w(bt,Be,$e,"R","\u211D"),w(D,Be,$e,"Z","\u2124"),w(bt,Be,$e,"Z","\u2124"),w(D,he,Se,"h","\u210E"),w(bt,he,Se,"h","\u210E");for(var Ce="",mt=0;mt<At.length;mt++){var pt=At.charAt(mt);Ce=String.fromCharCode(55349,56320+mt),w(D,he,Se,pt,Ce),w(bt,he,$e,pt,Ce),Ce=String.fromCharCode(55349,56372+mt),w(D,he,Se,pt,Ce),w(bt,he,$e,pt,Ce),Ce=String.fromCharCode(55349,56424+mt),w(D,he,Se,pt,Ce),w(bt,he,$e,pt,Ce),Ce=String.fromCharCode(55349,56580+mt),w(D,he,Se,pt,Ce),w(bt,he,$e,pt,Ce),Ce=String.fromCharCode(55349,56736+mt),w(D,he,Se,pt,Ce),w(bt,he,$e,pt,Ce),Ce=String.fromCharCode(55349,56788+mt),w(D,he,Se,pt,Ce),w(bt,he,$e,pt,Ce),Ce=String.fromCharCode(55349,56840+mt),w(D,he,Se,pt,Ce),w(bt,he,$e,pt,Ce),Ce=String.fromCharCode(55349,56944+mt),w(D,he,Se,pt,Ce),w(bt,he,$e,pt,Ce),mt<26&&(Ce=String.fromCharCode(55349,56632+mt),w(D,he,Se,pt,Ce),w(bt,he,$e,pt,Ce),Ce=String.fromCharCode(55349,56476+mt),w(D,he,Se,pt,Ce),w(bt,he,$e,pt,Ce))}Ce="\u{1D55C}",w(D,he,Se,"k",Ce),w(bt,he,$e,"k",Ce);for(var Dt=0;Dt<10;Dt++){var zt=Dt.toString();Ce=String.fromCharCode(55349,57294+Dt),w(D,he,Se,zt,Ce),w(bt,he,$e,zt,Ce),Ce=String.fromCharCode(55349,57314+Dt),w(D,he,Se,zt,Ce),w(bt,he,$e,zt,Ce),Ce=String.fromCharCode(55349,57324+Dt),w(D,he,Se,zt,Ce),w(bt,he,$e,zt,Ce),Ce=String.fromCharCode(55349,57334+Dt),w(D,he,Se,zt,Ce),w(bt,he,$e,zt,Ce)}for(var tn="\xC7\xD0\xDE\xE7\xFE",Ht=0;Ht<tn.length;Ht++){var sn=tn.charAt(Ht);w(D,he,Se,sn,sn),w(bt,he,$e,sn,sn)}w(bt,he,$e,"\xF0","\xF0"),w(bt,he,$e,"\u2013","\u2013"),w(bt,he,$e,"\u2014","\u2014"),w(bt,he,$e,"\u2018","\u2018"),w(bt,he,$e,"\u2019","\u2019"),w(bt,he,$e,"\u201C","\u201C"),w(bt,he,$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"]],Lt=function(l,d){var h=l.charCodeAt(0),v=l.charCodeAt(1),N=(h-55296)*1024+(v-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 Me=Math.floor((N-120782)/10);return[Mt[Me][2],Mt[Me][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]},An=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 v={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)&&(v[N]=h[N]);return new re(v)},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 v=hn(re.BASESIZE,h);return this.size===v&&this.textSize===re.BASESIZE&&this.style===h?this:this.extend({style:h,size:v})},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}();An.BASESIZE=6;var tr=An,Nn={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},ht=function(l){return typeof l!="string"&&(l=l.unit),l in Nn||l in rn||l==="ex"},vt=function(l,d){var h;if(l.unit in Nn)h=Nn[l.unit]/d.fontMetrics().ptPerEm/d.sizeMultiplier;else if(l.unit==="mu")h=d.fontMetrics().cssEmPerMu;else{var v;if(d.style.isTight()?v=d.havingStyle(d.style.text()):v=d,l.unit==="ex")h=v.fontMetrics().xHeight;else if(l.unit==="em")h=v.fontMetrics().quad;else throw new q("Invalid unit: '"+l.unit+"'");v!==d&&(h*=v.sizeMultiplier/d.sizeMultiplier)}return Math.min(l.number*h,d.maxSize)},It=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],Vt=function(l,d,h){return Tt[h][l]&&Tt[h][l].replace&&(l=Tt[h][l].replace),{value:l,metrics:Je(l,d,h)}},Nt=function(l,d,h,v,N){var le=Vt(l,d,h),Ne=le.metrics;l=le.value;var Me;if(Ne){var tt=Ne.italic;(h==="text"||v&&v.font==="mathit")&&(tt=0),Me=new _(l,Ne.height,Ne.depth,tt,Ne.skew,Ne.width,N)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+l+"' in style '"+d+"' and mode '"+h+"'")),Me=new _(l,0,0,0,0,0,N);if(v){Me.maxFontSize=v.sizeMultiplier,v.style.isTight()&&Me.classes.push("mtight");var gt=v.getColor();gt&&(Me.style.color=gt)}return Me},$t=function(l,d,h,v){return v===void 0&&(v=[]),h.font==="boldsymbol"&&Vt(l,"Main-Bold",d).metrics?Nt(l,"Main-Bold",d,h,v.concat(["mathbf"])):l==="\\"||Tt[d][l].font==="main"?Nt(l,"Main-Regular",d,h,v):Nt(l,"AMS-Regular",d,h,v.concat(["amsrm"]))},Zt=function(l,d,h,v){return/[0-9]/.test(l.charAt(0))||U.contains(It,l)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},vn=function(l,d,h,v){return U.contains(It,l)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(l.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},_n=function(l,d,h,v){return Vt(l,"Math-BoldItalic",d).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},kn=function(l,d,h){var v=l.mode,N=l.text,le=["mord"],Ne=v==="math"||v==="text"&&d.font,Me=Ne?d.font:d.fontFamily;if(N.charCodeAt(0)===55349){var tt=Lt(N,v),gt=tt[0],Ft=tt[1];return Nt(N,gt,v,d,le.concat(Ft))}else if(Me){var Yt,Sn;if(Me==="boldsymbol"||Me==="mathnormal"){var Xt=Me==="boldsymbol"?_n(N,v,d,le):vn(N,v,d,le);Yt=Xt.fontName,Sn=[Xt.fontClass]}else U.contains(It,N)?(Yt="Main-Italic",Sn=["mathit"]):Ne?(Yt=qr[Me].fontName,Sn=[Me]):(Yt=Fr(Me,d.fontWeight,d.fontShape),Sn=[Me,d.fontWeight,d.fontShape]);if(Vt(N,Yt,v).metrics)return Nt(N,Yt,v,d,le.concat(Sn));if(bn.hasOwnProperty(N)&&Yt.substr(0,10)==="Typewriter"){for(var on=[],gn=0;gn<N.length;gn++)on.push(Nt(N[gn],Yt,v,d,le.concat(Sn)));return Cr(on)}}if(h==="mathord"){var Fn=Zt(N,v,d,le);return Nt(N,Fn.fontName,v,d,le.concat([Fn.fontClass]))}else if(h==="textord"){var ar=Tt[v][N]&&Tt[v][N].font;if(ar==="ams"){var In=Fr("amsrm",d.fontWeight,d.fontShape);return Nt(N,In,v,d,le.concat("amsrm",d.fontWeight,d.fontShape))}else if(ar==="main"||!ar){var nr=Fr("textrm",d.fontWeight,d.fontShape);return Nt(N,nr,v,d,le.concat(d.fontWeight,d.fontShape))}else{var Er=Fr(ar,d.fontWeight,d.fontShape);return Nt(N,Er,v,d,le.concat(Er,d.fontWeight,d.fontShape))}}else throw new Error("unexpected type: "+h+" in makeOrd")},qn=function(l,d){if(ot(l.classes)!==ot(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 v in d.style)if(d.style.hasOwnProperty(v)&&l.style[v]!==d.style[v])return!1;return!0},rr=function(l){for(var d=0;d<l.length-1;d++){var h=l[d],v=l[d+1];h instanceof _&&v instanceof _&&qn(h,v)&&(h.text+=v.text,h.height=Math.max(h.height,v.height),h.depth=Math.max(h.depth,v.depth),h.italic=v.italic,l.splice(d+1,1),d--)}return l},sr=function(l){for(var d=0,h=0,v=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>v&&(v=le.maxFontSize)}l.height=d,l.depth=h,l.maxFontSize=v},wn=function(l,d,h,v){var N=new H(l,d,h,v);return sr(N),N},En=function(l,d,h,v){return new H(l,d,h,v)},gr=function(l,d,h){var v=wn([l],[],d);return v.height=Math.max(h||d.fontMetrics().defaultRuleThickness,d.minRuleThickness),v.style.borderBottomWidth=v.height+"em",v.maxFontSize=1,v},$n=function(l,d,h,v){var N=new O(l,d,h,v);return sr(N),N},Cr=function(l){var d=new Ot(l);return sr(d),d},Xn=function(l,d){return l instanceof Ot?wn([],[l],d):l},lr=function(l){if(l.positionType==="individualShift"){for(var d=l.children,h=[d[0]],v=-d[0].shift-d[0].elem.depth,N=v,le=1;le<d.length;le++){var Ne=-d[le].shift-N-d[le].elem.depth,Me=Ne-(d[le-1].elem.height+d[le-1].elem.depth);N=N+Ne,h.push({type:"kern",size:Me}),h.push(d[le])}return{children:h,depth:v}}var tt;if(l.positionType==="top"){for(var gt=l.positionData,Ft=0;Ft<l.children.length;Ft++){var Yt=l.children[Ft];gt-=Yt.type==="kern"?Yt.size:Yt.elem.height+Yt.elem.depth}tt=gt}else if(l.positionType==="bottom")tt=-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")tt=-Sn.elem.depth-l.positionData;else if(l.positionType==="firstBaseline")tt=-Sn.elem.depth;else throw new Error("Invalid positionType "+l.positionType+".")}return{children:l.children,depth:tt}},yr=function(l,d){for(var h=lr(l),v=h.children,N=h.depth,le=0,Ne=0;Ne<v.length;Ne++){var Me=v[Ne];if(Me.type==="elem"){var tt=Me.elem;le=Math.max(le,tt.maxFontSize,tt.height)}}le+=2;var gt=wn(["pstrut"],[]);gt.style.height=le+"em";for(var Ft=[],Yt=N,Sn=N,Xt=N,on=0;on<v.length;on++){var gn=v[on];if(gn.type==="kern")Xt+=gn.size;else{var Fn=gn.elem,ar=gn.wrapperClasses||[],In=gn.wrapperStyle||{},nr=wn(ar,[gt,Fn],void 0,In);nr.style.top=-le-Xt-Fn.depth+"em",gn.marginLeft&&(nr.style.marginLeft=gn.marginLeft),gn.marginRight&&(nr.style.marginRight=gn.marginRight),Ft.push(nr),Xt+=Fn.height+Fn.depth}Yt=Math.min(Yt,Xt),Sn=Math.max(Sn,Xt)}var Er=wn(["vlist"],Ft);Er.style.height=Sn+"em";var _r;if(Yt<0){var ri=wn([],[]),ii=wn(["vlist"],[ri]);ii.style.height=-Yt+"em";var Wi=wn(["vlist-s"],[new _("\u200B")]);_r=[wn(["vlist-r"],[Er,Wi]),wn(["vlist-r"],[ii])]}else _r=[wn(["vlist-r"],[Er])];var ci=wn(["vlist-t"],_r);return _r.length===2&&ci.classes.push("vlist-t2"),ci.height=Sn,ci.depth=-Yt,ci},ir=function(l,d){var h=wn(["mspace"],[],d),v=vt(l,d);return h.style.marginRight=v+"em",h},Fr=function(l,d,h){var v="";switch(l){case"amsrm":v="AMS";break;case"textrm":v="Main";break;case"textsf":v="SansSerif";break;case"texttt":v="Typewriter";break;default:v=l}var N;return d==="textbf"&&h==="textit"?N="BoldItalic":d==="textbf"?N="Bold":d==="textit"?N="Italic":N="Regular",v+"-"+N},qr={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"}},Jn={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Rn=function(l,d){var h=Jn[l],v=h[0],N=h[1],le=h[2],Ne=new ee(v),Me=new T([Ne],{width:N+"em",height:le+"em",style:"width:"+N+"em",viewBox:"0 0 "+1e3*N+" "+1e3*le,preserveAspectRatio:"xMinYMin"}),tt=En(["overlay"],[Me],d);return tt.height=le,tt.style.height=le+"em",tt.style.width=N+"em",tt},at={fontMap:qr,makeSymbol:Nt,mathsym:$t,makeSpan:wn,makeSvgSpan:En,makeLineSpan:gr,makeAnchor:$n,makeFragment:Cr,wrapFragment:Xn,makeVList:yr,makeOrd:kn,makeGlue:ir,staticSvg:Rn,svgData:Jn,tryCombineChars:rr};function Kn(re,l){var d=ur(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 ur(re,l){return re&&re.type===l?re:null}function wr(re,l){var d=Rr(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 Rr(re,l){return re&&re.type==="atom"&&re.family===l?re:null}function Nr(re){var l=zr(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 zr(re){return re&&(re.type==="atom"||dt.hasOwnProperty(re.type))?re:null}var vr={number:3,unit:"mu"},Hr={number:4,unit:"mu"},Hn={number:5,unit:"mu"},Tn={mord:{mop:vr,mbin:Hr,mrel:Hn,minner:vr},mop:{mord:vr,mop:vr,mrel:Hn,minner:vr},mbin:{mord:Hr,mop:Hr,mopen:Hr,minner:Hr},mrel:{mord:Hn,mop:Hn,mopen:Hn,minner:Hn},mopen:{},mclose:{mop:vr,mbin:Hr,mrel:Hn,minner:vr},mpunct:{mord:vr,mop:vr,mrel:Hn,mopen:vr,mclose:vr,mpunct:vr,minner:vr},minner:{mord:vr,mop:vr,mbin:Hr,mrel:Hn,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}},kr={},Wr={},wi={};function jn(re){for(var l=re.type,d=re.names,h=re.props,v=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:v},Me=0;Me<d.length;++Me)kr[d[Me]]=Ne;l&&(N&&(Wr[l]=N),le&&(wi[l]=le))}function $r(re){var l=re.type,d=re.htmlBuilder,h=re.mathmlBuilder;jn({type:l,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:d,mathmlBuilder:h})}var Vr=function(l){var d=ur(l,"ordgroup");return d?d.body:[l]},oi=at.makeSpan,Ti=["leftmost","mbin","mopen","mrel","mop","mpunct"],ki=["rightmost","mrel","mclose","mpunct"],ei={display:g.DISPLAY,text:g.TEXT,script:g.SCRIPT,scriptscript:g.SCRIPTSCRIPT},gi={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},li=function(l,d,h,v){v===void 0&&(v=[null,null]);for(var N=[],le=0;le<l.length;le++){var Ne=Mr(l[le],d);if(Ne instanceof Ot){var Me=Ne.children;N.push.apply(N,Me)}else N.push(Ne)}if(!h)return N;var tt=d;if(l.length===1){var gt=ur(l[0],"sizing")||ur(l[0],"styling");gt&&(gt.type==="sizing"?tt=d.havingSize(gt.size):gt.type==="styling"&&(tt=d.havingStyle(ei[gt.style])))}var Ft=oi([v[0]||"leftmost"],[],d),Yt=oi([v[1]||"rightmost"],[],d);return Di(N,function(Sn,Xt){var on=Xt.classes[0],gn=Sn.classes[0];on==="mbin"&&U.contains(ki,gn)?Xt.classes[0]="mord":gn==="mbin"&&U.contains(Ti,on)&&(Sn.classes[0]="mord")},{node:Ft},Yt),Di(N,function(Sn,Xt){var on=Ci(Xt),gn=Ci(Sn),Fn=on&&gn?Sn.hasClass("mtight")?er[on][gn]:Tn[on][gn]:null;if(Fn)return at.makeGlue(Fn,tt)},{node:Ft},Yt),N},Di=function re(l,d,h,v){v&&l.push(v);for(var N=0;N<l.length;N++){var le=l[N],Ne=Fi(le);if(Ne){re(Ne.children,d,h);continue}if(le.classes[0]!=="mspace"){var Me=d(le,h.node);Me&&(h.insertAfter?h.insertAfter(Me):(l.unshift(Me),N++)),h.node=le,h.insertAfter=function(tt){return function(gt){l.splice(tt+1,0,gt),N++}}(N)}}v&&l.pop()},Fi=function(l){return l instanceof Ot||l instanceof O?l:null},Vi=function re(l,d){var h=Fi(l);if(h){var v=h.children;if(v.length){if(d==="right")return re(v[v.length-1],"right");if(d==="left")return re(v[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 oi(d.concat(h))},Mr=function(l,d,h){if(!l)return oi();if(Wr[l.type]){var v=Wr[l.type](l,d);if(h&&d.size!==h.size){v=oi(d.sizingClasses(h),[v],d);var N=d.sizeMultiplier/h.sizeMultiplier;v.height*=N,v.depth*=N}return v}else throw new q("Got group of unknown type: '"+l.type+"'")};function aa(re,l){var d=oi(["base"],re,l),h=oi(["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=li(re,l,!0),v=[],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||(v.push(aa(N,l)),N=[])}else h[le].hasClass("newline")&&(N.pop(),N.length>0&&(v.push(aa(N,l)),N=[]),v.push(h[le]));N.length>0&&v.push(aa(N,l));var Me;d&&(Me=aa(li(d,l,!0)),Me.classes=["tag"],v.push(Me));var tt=oi(["katex-html"],v);if(tt.setAttribute("aria-hidden","true"),Me){var gt=Me.children[0];gt.style.height=tt.height+tt.depth+"em",gt.style.verticalAlign=-tt.depth+"em"}return tt}function ua(re){return new Ot(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,v){this.attributes[h]=v},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 v in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,v)&&h.setAttribute(v,this.attributes[v]);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 v in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,v)&&(h+=" "+v+'="',h+=U.escape(this.attributes[v]),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 U.escape(this.toText())},l.toText=function(){return this.text},re}(),_a=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}(),Pn={MathNode:vi,TextNode:ca,SpaceNode:_a,newDocumentFragment:ua},Ni=function(l,d,h){return Tt[d][l]&&Tt[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=Tt[d][l].replace),new Pn.TextNode(l)},na=function(l){return l.length===1?l[0]:new Pn.MathNode("mrow",l)},cr=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 v=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(U.contains(["\\imath","\\jmath"],N))return null;Tt[v][N]&&Tt[v][N].replace&&(N=Tt[v][N].replace);var le=at.fontMap[h].fontName;return Je(N,le,v)?at.fontMap[h].variant:null},xr=function(l,d,h){if(l.length===1){var v=Vn(l[0],d);return h&&v instanceof vi&&v.type==="mo"&&(v.setAttribute("lspace","0em"),v.setAttribute("rspace","0em")),[v]}for(var N=[],le,Ne=0;Ne<l.length;Ne++){var Me=Vn(l[Ne],d);if(Me instanceof vi&&le instanceof vi){if(Me.type==="mtext"&&le.type==="mtext"&&Me.getAttribute("mathvariant")===le.getAttribute("mathvariant")){var tt;(tt=le.children).push.apply(tt,Me.children);continue}else if(Me.type==="mn"&&le.type==="mn"){var gt;(gt=le.children).push.apply(gt,Me.children);continue}else if(Me.type==="mi"&&Me.children.length===1&&le.type==="mn"){var Ft=Me.children[0];if(Ft instanceof ca&&Ft.text==="."){var Yt;(Yt=le.children).push.apply(Yt,Me.children);continue}}else if(le.type==="mi"&&le.children.length===1){var Sn=le.children[0];if(Sn instanceof ca&&Sn.text==="\u0338"&&(Me.type==="mo"||Me.type==="mi"||Me.type==="mn")){var Xt=Me.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(Me),le=Me}return N},dr=function(l,d,h){return na(xr(l,d,h))},Vn=function(l,d){if(!l)return new Pn.MathNode("mrow");if(wi[l.type]){var h=wi[l.type](l,d);return h}else throw new q("Got group of unknown type: '"+l.type+"'")};function Pr(re,l,d,h){var v=xr(re,d),N;v.length===1&&v[0]instanceof vi&&U.contains(["mrow","mtable"],v[0].type)?N=v[0]:N=new Pn.MathNode("mrow",v);var le=new Pn.MathNode("annotation",[new Pn.TextNode(l)]);le.setAttribute("encoding","application/x-tex");var Ne=new Pn.MathNode("semantics",[N,le]),Me=new Pn.MathNode("math",[Ne]);Me.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var tt=h?"katex":"katex-mathml";return at.makeSpan([tt],[Me])}var Yr=function(l){return new tr({style:l.displayMode?g.DISPLAY:g.TEXT,maxSize:l.maxSize,minRuleThickness:l.minRuleThickness})},Pi=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 v=Yr(h),N;if(h.output==="mathml")return Pr(l,d,v,!0);if(h.output==="html"){var le=ga(l,v);N=at.makeSpan(["katex"],[le])}else{var Ne=Pr(l,d,v,!1),Me=ga(l,v);N=at.makeSpan(["katex"],[Ne,Me])}return Pi(N,h)},Ii=function(l,d,h){var v=Yr(h),N=ga(l,v),le=at.makeSpan(["katex"],[N]);return Pi(le,h)},Ui=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"},wa=function(l){var d=new Pn.MathNode("mo",[new Pn.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 Me=4e5,tt=l.label.substr(1);if(U.contains(["widehat","widecheck","widetilde","utilde"],tt)){var gt=l,Ft=da(gt.base),Yt,Sn,Xt;if(Ft>5)tt==="widehat"||tt==="widecheck"?(Yt=420,Me=2364,Xt=.42,Sn=tt+"4"):(Yt=312,Me=2340,Xt=.34,Sn="tilde4");else{var on=[1,1,2,2,3,3][Ft];tt==="widehat"||tt==="widecheck"?(Me=[0,1062,2364,2364,2364][on],Yt=[0,239,300,360,420][on],Xt=[0,.24,.3,.3,.36,.42][on],Sn=tt+on):(Me=[0,600,1033,2339,2340][on],Yt=[0,260,286,306,312][on],Xt=[0,.26,.286,.3,.306,.34][on],Sn="tilde"+on)}var gn=new ee(Sn),Fn=new T([gn],{width:"100%",height:Xt+"em",viewBox:"0 0 "+Me+" "+Yt,preserveAspectRatio:"none"});return{span:at.makeSvgSpan([],[Fn],d),minWidth:0,height:Xt}}else{var ar=[],In=Wa[tt],nr=In[0],Er=In[1],_r=In[2],ri=_r/1e3,ii=nr.length,Wi,ci;if(ii===1){var ai=In[3];Wi=["hide-tail"],ci=[ai]}else if(ii===2)Wi=["halfarrow-left","halfarrow-right"],ci=["xMinYMin","xMaxYMin"];else if(ii===3)Wi=["brace-left","brace-center","brace-right"],ci=["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 ee(nr[bi]),xa=new T([qi],{width:"400em",height:ri+"em",viewBox:"0 0 "+Me+" "+_r,preserveAspectRatio:ci[bi]+" slice"}),Kr=at.makeSvgSpan([Wi[bi]],[xa],d);if(ii===1)return{span:Kr,minWidth:Er,height:ri};Kr.style.height=ri+"em",ar.push(Kr)}return{span:at.makeSpan(["stretchy"],ar,d),minWidth:Er,height:ri}}}var v=h(),N=v.span,le=v.minWidth,Ne=v.height;return N.height=Ne,N.style.height=Ne+"em",le>0&&(N.style.minWidth=le+"em"),N},fr=function(l,d,h,v){var N,le=l.height+l.depth+2*h;if(/fbox|color/.test(d)){if(N=at.makeSpan(["stretchy",d],[],v),d==="fbox"){var Ne=v.color&&v.getColor();Ne&&(N.style.borderColor=Ne)}}else{var Me=[];/^[bx]cancel$/.test(d)&&Me.push(new W({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(d)&&Me.push(new W({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var tt=new T(Me,{width:"100%",height:le+"em"});N=at.makeSvgSpan([],[tt],v)}return N.height=le,N.style.height=le+"em",N},or={encloseSpan:fr,mathMLnode:wa,svgSpan:fa},Qr=function(l,d){var h,v,N=ur(l,"supsub"),le;N?(v=Kn(N.base,"accent"),h=v.base,N.base=h,le=_e(Mr(N,d)),N.base=v):(v=Kn(l,"accent"),h=v.base);var Ne=Mr(h,d.havingCrampedStyle()),Me=v.isShifty&&U.isCharacterBox(h),tt=0;if(Me){var gt=U.getBaseElem(h),Ft=Mr(gt,d.havingCrampedStyle());tt=j(Ft).skew}var Yt=Math.min(Ne.height,d.fontMetrics().xHeight),Sn;if(v.isStretchy)Sn=or.svgSpan(v,d),Sn=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ne},{type:"elem",elem:Sn,wrapperClasses:["svg-align"],wrapperStyle:tt>0?{width:"calc(100% - "+2*tt+"em)",marginLeft:2*tt+"em"}:void 0}]},d);else{var Xt,on;v.label==="\\vec"?(Xt=at.staticSvg("vec",d),on=at.svgData.vec[1]):(Xt=at.makeOrd({mode:v.mode,text:v.label},d,"textord"),Xt=j(Xt),Xt.italic=0,on=Xt.width),Sn=at.makeSpan(["accent-body"],[Xt]);var gn=v.label==="\\textcircled";gn&&(Sn.classes.push("accent-full"),Yt=Ne.height);var Fn=tt;gn||(Fn-=on/2),Sn.style.left=Fn+"em",v.label==="\\textcircled"&&(Sn.style.top=".2em"),Sn=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ne},{type:"kern",size:-Yt},{type:"elem",elem:Sn}]},d)}var ar=at.makeSpan(["mord","accent"],[Sn],d);return le?(le.children[0]=ar,le.height=Math.max(ar.height,le.height),le.classes[0]="mord",le):ar},Ki=function(l,d){var h=l.isStretchy?or.mathMLnode(l.label):new Pn.MathNode("mo",[Ni(l.label,l.mode)]),v=new Pn.MathNode("mover",[Vn(l.base,d),h]);return v.setAttribute("accent","true"),v},ui=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(re){return"\\"+re}).join("|"));jn({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],v=!ui.test(l.funcName),N=!v||l.funcName==="\\widehat"||l.funcName==="\\widetilde"||l.funcName==="\\widecheck";return{type:"accent",mode:l.parser.mode,label:l.funcName,isStretchy:v,isShifty:N,base:h}},htmlBuilder:Qr,mathmlBuilder:Ki}),jn({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:Qr,mathmlBuilder:Ki}),jn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(l,d){var h=l.parser,v=l.funcName,N=d[0];return{type:"accentUnder",mode:h.mode,label:v,base:N}},htmlBuilder:function(l,d){var h=Mr(l.base,d),v=or.svgSpan(l,d),N=l.label==="\\utilde"?.12:0,le=at.makeVList({positionType:"bottom",positionData:v.height+N,children:[{type:"elem",elem:v,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=or.mathMLnode(l.label),v=new Pn.MathNode("munder",[Vn(l.base,d),h]);return v.setAttribute("accentunder","true"),v}});var sa=function(l){var d=new Pn.MathNode("mpadded",l?[l]:[]);return d.setAttribute("width","+0.6em"),d.setAttribute("lspace","0.3em"),d};jn({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 v=l.parser,N=l.funcName;return{type:"xArrow",mode:v.mode,label:N,body:d[0],below:h[0]}},htmlBuilder:function(l,d){var h=d.style,v=d.havingStyle(h.sup()),N=at.wrapFragment(Mr(l.body,v,d),d);N.classes.push("x-arrow-pad");var le;l.below&&(v=d.havingStyle(h.sub()),le=at.wrapFragment(Mr(l.below,v,d),d),le.classes.push("x-arrow-pad"));var Ne=or.svgSpan(l,d),Me=-d.fontMetrics().axisHeight+.5*Ne.height,tt=-d.fontMetrics().axisHeight-.5*Ne.height-.111;(N.depth>.25||l.label==="\\xleftequilibrium")&&(tt-=N.depth);var gt;if(le){var Ft=-d.fontMetrics().axisHeight+le.height+.5*Ne.height+.111;gt=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:N,shift:tt},{type:"elem",elem:Ne,shift:Me},{type:"elem",elem:le,shift:Ft}]},d)}else gt=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:N,shift:tt},{type:"elem",elem:Ne,shift:Me}]},d);return gt.children[0].children[0].children[1].classes.push("svg-align"),at.makeSpan(["mrel","x-arrow"],[gt],d)},mathmlBuilder:function(l,d){var h=or.mathMLnode(l.label),v;if(l.body){var N=sa(Vn(l.body,d));if(l.below){var le=sa(Vn(l.below,d));v=new Pn.MathNode("munderover",[h,le,N])}else v=new Pn.MathNode("mover",[h,N])}else if(l.below){var Ne=sa(Vn(l.below,d));v=new Pn.MathNode("munder",[h,Ne])}else v=sa(),v=new Pn.MathNode("mover",[h,v]);return v}}),jn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){for(var h=l.parser,v=Kn(d[0],"ordgroup"),N=v.body,le="",Ne=0;Ne<N.length;Ne++){var Me=Kn(N[Ne],"textord");le+=Me.text}var tt=parseInt(le);if(isNaN(tt))throw new q("\\@char has non-numeric argument "+le);return{type:"textord",mode:h.mode,text:String.fromCharCode(tt)}}});var Va=function(l,d){var h=li(l.body,d.withColor(l.color),!1);return at.makeFragment(h)},Ha=function(l,d){var h=xr(l.body,d.withColor(l.color)),v=new Pn.MathNode("mstyle",h);return v.setAttribute("mathcolor",l.color),v};jn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(l,d){var h=l.parser,v=Kn(d[0],"color-token").color,N=d[1];return{type:"color",mode:h.mode,color:v,body:Vr(N)}},htmlBuilder:Va,mathmlBuilder:Ha}),jn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(l,d){var h=l.parser,v=l.breakOnTokenText,N=Kn(d[0],"color-token").color;h.gullet.macros.set("\\current@color",N);var le=h.parseExpression(!0,v);return{type:"color",mode:h.mode,color:N,body:le}},htmlBuilder:Va,mathmlBuilder:Ha}),jn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(l,d,h){var v=l.parser,N=l.funcName,le=h[0],Ne=N==="\\cr",Me=!1;return Ne||(v.settings.displayMode&&v.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Me=!1:Me=!0),{type:"cr",mode:v.mode,newLine:Me,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=vt(l.size,d)+"em")),h},mathmlBuilder:function(l,d){var h=new Pn.MathNode("mspace");return l.newLine&&(h.setAttribute("linebreak","newline"),l.size&&h.setAttribute("height",vt(l.size,d)+"em")),h}});var ya=function(l,d,h){var v=Tt.math[l]&&Tt.math[l].replace,N=Je(v||l,d,h);if(!N)throw new Error("Unsupported symbol "+l+" and font size "+d+".");return N},as=function(l,d,h,v){var N=h.havingBaseStyle(d),le=at.makeSpan(v.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 v=d.havingBaseStyle(h),N=(1-d.sizeMultiplier/v.sizeMultiplier)*d.fontMetrics().axisHeight;l.classes.push("delimcenter"),l.style.top=N+"em",l.height-=N,l.depth+=N},os=function(l,d,h,v,N,le){var Ne=at.makeSymbol(l,"Main-Regular",N,v),Me=as(Ne,d,v,le);return h&&ss(Me,v,d),Me},ts=function(l,d,h,v){return at.makeSymbol(l,"Size"+d+"-Regular",h,v)},ls=function(l,d,h,v,N,le){var Ne=ts(l,d,N,v),Me=as(at.makeSpan(["delimsizing","size"+d],[Ne],v),g.TEXT,v,le);return h&&ss(Me,v,g.TEXT),Me},Ta=function(l,d,h){var v;d==="Size1-Regular"?v="delim-size1":v="delim-size4";var N=at.makeSpan(["delimsizinginner",v],[at.makeSpan([],[at.makeSymbol(l,d,h)])]);return{type:"elem",elem:N}},Qi={type:"kern",size:-.005},us=function(l,d,h,v,N,le){var Ne,Me,tt,gt;Ne=tt=gt=l,Me=null;var Ft="Size1-Regular";l==="\\uparrow"?tt=gt="\u23D0":l==="\\Uparrow"?tt=gt="\u2016":l==="\\downarrow"?Ne=tt="\u23D0":l==="\\Downarrow"?Ne=tt="\u2016":l==="\\updownarrow"?(Ne="\\uparrow",tt="\u23D0",gt="\\downarrow"):l==="\\Updownarrow"?(Ne="\\Uparrow",tt="\u2016",gt="\\Downarrow"):l==="["||l==="\\lbrack"?(Ne="\u23A1",tt="\u23A2",gt="\u23A3",Ft="Size4-Regular"):l==="]"||l==="\\rbrack"?(Ne="\u23A4",tt="\u23A5",gt="\u23A6",Ft="Size4-Regular"):l==="\\lfloor"||l==="\u230A"?(tt=Ne="\u23A2",gt="\u23A3",Ft="Size4-Regular"):l==="\\lceil"||l==="\u2308"?(Ne="\u23A1",tt=gt="\u23A2",Ft="Size4-Regular"):l==="\\rfloor"||l==="\u230B"?(tt=Ne="\u23A5",gt="\u23A6",Ft="Size4-Regular"):l==="\\rceil"||l==="\u2309"?(Ne="\u23A4",tt=gt="\u23A5",Ft="Size4-Regular"):l==="("||l==="\\lparen"?(Ne="\u239B",tt="\u239C",gt="\u239D",Ft="Size4-Regular"):l===")"||l==="\\rparen"?(Ne="\u239E",tt="\u239F",gt="\u23A0",Ft="Size4-Regular"):l==="\\{"||l==="\\lbrace"?(Ne="\u23A7",Me="\u23A8",gt="\u23A9",tt="\u23AA",Ft="Size4-Regular"):l==="\\}"||l==="\\rbrace"?(Ne="\u23AB",Me="\u23AC",gt="\u23AD",tt="\u23AA",Ft="Size4-Regular"):l==="\\lgroup"||l==="\u27EE"?(Ne="\u23A7",gt="\u23A9",tt="\u23AA",Ft="Size4-Regular"):l==="\\rgroup"||l==="\u27EF"?(Ne="\u23AB",gt="\u23AD",tt="\u23AA",Ft="Size4-Regular"):l==="\\lmoustache"||l==="\u23B0"?(Ne="\u23A7",gt="\u23AD",tt="\u23AA",Ft="Size4-Regular"):(l==="\\rmoustache"||l==="\u23B1")&&(Ne="\u23AB",gt="\u23A9",tt="\u23AA",Ft="Size4-Regular");var Yt=ya(Ne,Ft,N),Sn=Yt.height+Yt.depth,Xt=ya(tt,Ft,N),on=Xt.height+Xt.depth,gn=ya(gt,Ft,N),Fn=gn.height+gn.depth,ar=0,In=1;if(Me!==null){var nr=ya(Me,Ft,N);ar=nr.height+nr.depth,In=2}var Er=Sn+Fn+ar,_r=Math.max(0,Math.ceil((d-Er)/(In*on))),ri=Er+_r*In*on,ii=v.fontMetrics().axisHeight;h&&(ii*=v.sizeMultiplier);var Wi=ri/2-ii,ci=(_r+1)*.005-on,ai=[];if(ai.push(Ta(gt,Ft,N)),Me===null)for(var bi=0;bi<_r;bi++)ai.push(Qi),ai.push(Ta(tt,Ft,N));else{for(var qi=0;qi<_r;qi++)ai.push(Qi),ai.push(Ta(tt,Ft,N));ai.push({type:"kern",size:ci}),ai.push(Ta(tt,Ft,N)),ai.push(Qi),ai.push(Ta(Me,Ft,N));for(var xa=0;xa<_r;xa++)ai.push(Qi),ai.push(Ta(tt,Ft,N))}ai.push({type:"kern",size:ci}),ai.push(Ta(tt,Ft,N)),ai.push(Qi),ai.push(Ta(Ne,Ft,N));var Kr=v.havingBaseStyle(g.TEXT),Xr=at.makeVList({positionType:"bottom",positionData:Wi,children:ai},Kr);return as(at.makeSpan(["delimsizing","mult"],[Xr],Kr),g.TEXT,v,le)},ns=80,ba=.08,Sa=function(l,d,h,v,N){var le=qt(l,v,h),Ne=new ee(l,le),Me=new T([Ne],{width:"400em",height:d+"em",viewBox:"0 0 400000 "+h,preserveAspectRatio:"xMinYMin slice"});return at.makeSvgSpan(["hide-tail"],[Me],N)},ti=function(l,d){var h=d.havingBaseSizing(),v=Ba("\\surd",l*h.sizeMultiplier,la,h),N=h.sizeMultiplier,le=Math.max(0,d.minRuleThickness-d.fontMetrics().sqrtRuleThickness),Ne,Me=0,tt=0,gt=0,Ft;return v.type==="small"?(gt=1e3+1e3*le+ns,l<1?N=1:l<1.4&&(N=.7),Me=(1+le+ba)/N,tt=(1+le)/N,Ne=Sa("sqrtMain",Me,gt,le,d),Ne.style.minWidth="0.853em",Ft=.833/N):v.type==="large"?(gt=(1e3+ns)*Oi[v.size],tt=(Oi[v.size]+le)/N,Me=(Oi[v.size]+le+ba)/N,Ne=Sa("sqrtSize"+v.size,Me,gt,le,d),Ne.style.minWidth="1.02em",Ft=1/N):(Me=l+le+ba,tt=l+le,gt=Math.floor(1e3*l+le)+ns,Ne=Sa("sqrtTall",Me,gt,le,d),Ne.style.minWidth="0.742em",Ft=1.056),Ne.height=tt,Ne.style.height=Me+"em",{span:Ne,advanceWidth:Ft,ruleWidth:(d.fontMetrics().sqrtRuleThickness+le)*N}},Ur=["(","\\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"],zi=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Oi=[0,1.2,1.8,2.4,3],oa=function(l,d,h,v,N){if(l==="<"||l==="\\lt"||l==="\u27E8"?l="\\langle":(l===">"||l==="\\gt"||l==="\u27E9")&&(l="\\rangle"),U.contains(Ur,l)||U.contains(zi,l))return ls(l,d,!1,h,v,N);if(U.contains(ia,l))return us(l,Oi[d],!1,h,v,N);throw new q("Illegal delimiter: '"+l+"'")},pi=[{type:"small",style:g.SCRIPTSCRIPT},{type:"small",style:g.SCRIPT},{type:"small",style:g.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Ia=[{type:"small",style:g.SCRIPTSCRIPT},{type:"small",style:g.SCRIPT},{type:"small",style:g.TEXT},{type:"stack"}],la=[{type:"small",style:g.SCRIPTSCRIPT},{type:"small",style:g.SCRIPT},{type:"small",style:g.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,v){for(var N=Math.min(2,3-v.style.size),le=N;le<h.length&&h[le].type!=="stack";le++){var Ne=ya(l,ka(h[le]),"math"),Me=Ne.height+Ne.depth;if(h[le].type==="small"){var tt=v.havingBaseStyle(h[le].style);Me*=tt.sizeMultiplier}if(Me>d)return h[le]}return h[h.length-1]},Ei=function(l,d,h,v,N,le){l==="<"||l==="\\lt"||l==="\u27E8"?l="\\langle":(l===">"||l==="\\gt"||l==="\u27E9")&&(l="\\rangle");var Ne;U.contains(zi,l)?Ne=pi:U.contains(Ur,l)?Ne=la:Ne=Ia;var Me=Ba(l,d,Ne,v);return Me.type==="small"?os(l,Me.style,h,v,N,le):Me.type==="large"?ls(l,Me.size,h,v,N,le):us(l,d,h,v,N,le)},vs=function(l,d,h,v,N,le){var Ne=v.fontMetrics().axisHeight*v.sizeMultiplier,Me=901,tt=5/v.fontMetrics().ptPerEm,gt=Math.max(d-Ne,h+Ne),Ft=Math.max(gt/500*Me,2*gt-tt);return Ei(l,Ft,!0,v,N,le)},Ca={sqrtImage:ti,sizedDelim:oa,customSizedDelim:Ei,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=zr(re);if(d&&U.contains(Cs,d.text))return d;throw new q("Invalid delimiter: '"+(d?d.text:JSON.stringify(re))+"' after '"+l.funcName+"'",re)}jn({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(Ni(l.delim,l.mode));var h=new Pn.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.")}jn({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}}}),jn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(l,d){var h=Qa(d[0],l),v=l.parser;++v.leftrightDepth;var N=v.parseExpression(!1);--v.leftrightDepth,v.expect("\\right",!1);var le=Kn(v.parseFunction(),"leftright-right");return{type:"leftright",mode:v.mode,body:N,left:h.text,right:le.delim,rightColor:le.color}},htmlBuilder:function(l,d){cs(l);for(var h=li(l.body,d,!0,["mopen","mclose"]),v=0,N=0,le=!1,Ne=0;Ne<h.length;Ne++)h[Ne].isMiddle?le=!0:(v=Math.max(h[Ne].height,v),N=Math.max(h[Ne].depth,N));v*=d.sizeMultiplier,N*=d.sizeMultiplier;var Me;if(l.left==="."?Me=Zi(d,["mopen"]):Me=Ca.leftRightDelim(l.left,v,N,d,l.mode,["mopen"]),h.unshift(Me),le)for(var tt=1;tt<h.length;tt++){var gt=h[tt],Ft=gt.isMiddle;Ft&&(h[tt]=Ca.leftRightDelim(Ft.delim,v,N,Ft.options,l.mode,[]))}var Yt;if(l.right===".")Yt=Zi(d,["mclose"]);else{var Sn=l.rightColor?d.withColor(l.rightColor):d;Yt=Ca.leftRightDelim(l.right,v,N,Sn,l.mode,["mclose"])}return h.push(Yt),at.makeSpan(["minner"],h,d)},mathmlBuilder:function(l,d){cs(l);var h=xr(l.body,d);if(l.left!=="."){var v=new Pn.MathNode("mo",[Ni(l.left,l.mode)]);v.setAttribute("fence","true"),h.unshift(v)}if(l.right!=="."){var N=new Pn.MathNode("mo",[Ni(l.right,l.mode)]);N.setAttribute("fence","true"),l.rightColor&&N.setAttribute("mathcolor",l.rightColor),h.push(N)}return na(h)}}),jn({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 v={delim:l.delim,options:d};h.isMiddle=v}return h},mathmlBuilder:function(l,d){var h=l.delim==="\\vert"||l.delim==="|"?Ni("|","text"):Ni(l.delim,l.mode),v=new Pn.MathNode("mo",[h]);return v.setAttribute("fence","true"),v.setAttribute("lspace","0.05em"),v.setAttribute("rspace","0.05em"),v}});var ys=function(l,d){var h=at.wrapFragment(Mr(l.body,d),d),v=l.label.substr(1),N=d.sizeMultiplier,le,Ne=0,Me=U.isCharacterBox(l.body);if(v==="sout")le=at.makeSpan(["stretchy","sout"]),le.height=d.fontMetrics().defaultRuleThickness/N,Ne=-.5*d.fontMetrics().xHeight;else{/cancel/.test(v)?Me||h.classes.push("cancel-pad"):h.classes.push("boxpad");var tt=0,gt=0;/box/.test(v)?(gt=Math.max(d.fontMetrics().fboxrule,d.minRuleThickness),tt=d.fontMetrics().fboxsep+(v==="colorbox"?0:gt)):tt=Me?.2:0,le=or.encloseSpan(h,v,tt,d),/fbox|boxed|fcolorbox/.test(v)&&(le.style.borderStyle="solid",le.style.borderWidth=gt+"em"),Ne=h.depth+tt,l.backgroundColor&&(le.style.backgroundColor=l.backgroundColor,l.borderColor&&(le.style.borderColor=l.borderColor))}var Ft;return l.backgroundColor?Ft=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:le,shift:Ne},{type:"elem",elem:h,shift:0}]},d):Ft=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:0},{type:"elem",elem:le,shift:Ne,wrapperClasses:/cancel/.test(v)?["svg-align"]:[]}]},d),/cancel/.test(v)&&(Ft.height=h.height,Ft.depth=h.depth),/cancel/.test(v)&&!Me?at.makeSpan(["mord","cancel-lap"],[Ft],d):at.makeSpan(["mord"],[Ft],d)},ds=function(l,d){var h=0,v=new Pn.MathNode(l.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Vn(l.body,d)]);switch(l.label){case"\\cancel":v.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":v.setAttribute("notation","downdiagonalstrike");break;case"\\sout":v.setAttribute("notation","horizontalstrike");break;case"\\fbox":v.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(h=d.fontMetrics().fboxsep*d.fontMetrics().ptPerEm,v.setAttribute("width","+"+2*h+"pt"),v.setAttribute("height","+"+2*h+"pt"),v.setAttribute("lspace",h+"pt"),v.setAttribute("voffset",h+"pt"),l.label==="\\fcolorbox"){var N=Math.max(d.fontMetrics().fboxrule,d.minRuleThickness);v.setAttribute("style","border: "+N+"em solid "+String(l.borderColor))}break;case"\\xcancel":v.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return l.backgroundColor&&v.setAttribute("mathbackground",l.backgroundColor),v};jn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(l,d,h){var v=l.parser,N=l.funcName,le=Kn(d[0],"color-token").color,Ne=d[1];return{type:"enclose",mode:v.mode,label:N,backgroundColor:le,body:Ne}},htmlBuilder:ys,mathmlBuilder:ds}),jn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(l,d,h){var v=l.parser,N=l.funcName,le=Kn(d[0],"color-token").color,Ne=Kn(d[1],"color-token").color,Me=d[2];return{type:"enclose",mode:v.mode,label:N,backgroundColor:Ne,borderColor:le,body:Me}},htmlBuilder:ys,mathmlBuilder:ds}),jn({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]}}}),jn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(l,d,h){var v=l.parser,N=l.funcName,le=d[0];return{type:"enclose",mode:v.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,v=re.handler,N=re.htmlBuilder,le=re.mathmlBuilder,Ne={type:l,numArgs:h.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:v},Me=0;Me<d.length;++Me)Rs[d[Me]]=Ne;N&&(Wr[l]=N),le&&(wi[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 _i(re,l,d){var h=l.hskipBeforeAndAfter,v=l.addJot,N=l.cols,le=l.arraystretch,Ne=l.colSeparationType;if(re.gullet.beginGroup(),re.gullet.macros.set("\\\\","\\cr"),!le){var Me=re.gullet.expandMacroAsText("\\arraystretch");if(Me==null)le=1;else if(le=parseFloat(Me),!le||le<0)throw new q("Invalid \\arraystretch: "+Me)}re.gullet.beginGroup();var tt=[],gt=[tt],Ft=[],Yt=[];for(Yt.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]}),tt.push(Sn);var Xt=re.fetch().text;if(Xt==="&")re.consume();else if(Xt==="\\end"){tt.length===1&&Sn.type==="styling"&&Sn.body[0].body.length===0&>.pop(),Yt.length<gt.length+1&&Yt.push([]);break}else if(Xt==="\\cr"){var on=Kn(re.parseFunction(),"cr");Ft.push(on.size),Yt.push(bs(re)),tt=[],gt.push(tt)}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:v,arraystretch:le,body:gt,cols:N,rowGaps:Ft,hskipBeforeAndAfter:h,hLinesBeforeRow:Yt,colSeparationType:Ne}}function xi(re){return re.substr(0,1)==="d"?"display":"text"}var mi=function(l,d){var h,v,N=l.body.length,le=l.hLinesBeforeRow,Ne=0,Me=new Array(N),tt=[],gt=Math.max(d.fontMetrics().arrayRuleWidth,d.minRuleThickness),Ft=1/d.fontMetrics().ptPerEm,Yt=5*Ft;if(l.colSeparationType&&l.colSeparationType==="small"){var Sn=d.havingStyle(g.SCRIPT).sizeMultiplier;Yt=.2778*(Sn/d.sizeMultiplier)}var Xt=12*Ft,on=3*Ft,gn=l.arraystretch*Xt,Fn=.7*gn,ar=.3*gn,In=0;function nr($i){for(var Ai=0;Ai<$i.length;++Ai)Ai>0&&(In+=.25),tt.push({pos:In,isDashed:$i[Ai]})}for(nr(le[0]),h=0;h<l.body.length;++h){var Er=l.body[h],_r=Fn,ri=ar;Ne<Er.length&&(Ne=Er.length);var ii=new Array(Er.length);for(v=0;v<Er.length;++v){var Wi=Mr(Er[v],d);ri<Wi.depth&&(ri=Wi.depth),_r<Wi.height&&(_r=Wi.height),ii[v]=Wi}var ci=l.rowGaps[h],ai=0;ci&&(ai=vt(ci,d),ai>0&&(ai+=ar,ri<ai&&(ri=ai),ai=0)),l.addJot&&(ri+=on),ii.height=_r,ii.depth=ri,In+=_r,ii.pos=In,In+=ri+ai,Me[h]=ii,nr(le[h+1])}var bi=In/2+d.fontMetrics().axisHeight,qi=l.cols||[],xa=[],Kr,Xr;for(v=0,Xr=0;v<Ne||Xr<qi.length;++v,++Xr){for(var Jr=qi[Xr]||{},Ri=!0;Jr.type==="separator";){if(Ri||(Kr=at.makeSpan(["arraycolsep"],[]),Kr.style.width=d.fontMetrics().doubleRuleSep+"em",xa.push(Kr)),Jr.separator==="|"||Jr.separator===":"){var ea=Jr.separator==="|"?"solid":"dashed",jr=at.makeSpan(["vertical-separator"],[],d);jr.style.height=In+"em",jr.style.borderRightWidth=gt+"em",jr.style.borderRightStyle=ea,jr.style.margin="0 -"+gt/2+"em",jr.style.verticalAlign=-(In-bi)+"em",xa.push(jr)}else throw new q("Invalid separator type: "+Jr.separator);Xr++,Jr=qi[Xr]||{},Ri=!1}if(!(v>=Ne)){var ra=void 0;(v>0||l.hskipBeforeAndAfter)&&(ra=U.deflt(Jr.pregap,Yt),ra!==0&&(Kr=at.makeSpan(["arraycolsep"],[]),Kr.style.width=ra+"em",xa.push(Kr)));var ta=[];for(h=0;h<N;++h){var Aa=Me[h],Ma=Aa[v];if(Ma){var Ea=Aa.pos-bi;Ma.depth=Aa.depth,Ma.height=Aa.height,ta.push({type:"elem",elem:Ma,shift:Ea})}}ta=at.makeVList({positionType:"individualShift",children:ta},d),ta=at.makeSpan(["col-align-"+(Jr.align||"c")],[ta]),xa.push(ta),(v<Ne-1||l.hskipBeforeAndAfter)&&(ra=U.deflt(Jr.postgap,Yt),ra!==0&&(Kr=at.makeSpan(["arraycolsep"],[]),Kr.style.width=ra+"em",xa.push(Kr)))}}if(Me=at.makeSpan(["mtable"],xa),tt.length>0){for(var Ss=at.makeLineSpan("hline",d,gt),Xa=at.makeLineSpan("hdashline",d,gt),Na=[{type:"elem",elem:Me,shift:0}];tt.length>0;){var ha=tt.pop(),pa=ha.pos-bi;ha.isDashed?Na.push({type:"elem",elem:Xa,shift:pa}):Na.push({type:"elem",elem:Ss,shift:pa})}Me=at.makeVList({positionType:"individualShift",children:Na},d)}return at.makeSpan(["mord"],[Me],d)},Ji={c:"center ",l:"left ",r:"right "},Xi=function(l,d){var h=new Pn.MathNode("mtable",l.body.map(function(In){return new Pn.MathNode("mtr",In.map(function(nr){return new Pn.MathNode("mtd",[Vn(nr,d)])}))})),v=l.arraystretch===.5?.1:.16+l.arraystretch-1+(l.addJot?.09:0);h.setAttribute("rowspacing",v+"em");var N="",le="";if(l.cols){var Ne=l.cols,Me="",tt=!1,gt=0,Ft=Ne.length;Ne[0].type==="separator"&&(N+="top ",gt=1),Ne[Ne.length-1].type==="separator"&&(N+="bottom ",Ft-=1);for(var Yt=gt;Yt<Ft;Yt++)Ne[Yt].type==="align"?(le+=Ji[Ne[Yt].align],tt&&(Me+="none "),tt=!0):Ne[Yt].type==="separator"&&tt&&(Me+=Ne[Yt].separator==="|"?"solid ":"dashed ",tt=!1);h.setAttribute("columnalign",le.trim()),/[sd]/.test(Me)&&h.setAttribute("columnlines",Me.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="",Fn=l.hLinesBeforeRow;N+=Fn[0].length>0?"left ":"",N+=Fn[Fn.length-1].length>0?"right ":"";for(var ar=1;ar<Fn.length-1;ar++)gn+=Fn[ar].length===0?"none ":Fn[ar][0]?"dashed ":"solid ";return/[sd]/.test(gn)&&h.setAttribute("rowlines",gn.trim()),N!==""&&(h=new Pn.MathNode("menclose",[h]),h.setAttribute("notation",N.trim())),l.arraystretch&&l.arraystretch<1&&(h=new Pn.MathNode("mstyle",[h]),h.setAttribute("scriptlevel","1")),h},fs=function(l,d){var h=[],v=_i(l.parser,{cols:h,addJot:!0},"display"),N,le=0,Ne={type:"ordgroup",mode:l.mode,body:[]},Me=ur(d[0],"ordgroup");if(Me){for(var tt="",gt=0;gt<Me.body.length;gt++){var Ft=Kn(Me.body[gt],"textord");tt+=Ft.text}N=Number(tt),le=N*2}var Yt=!le;v.body.forEach(function(gn){for(var Fn=1;Fn<gn.length;Fn+=2){var ar=Kn(gn[Fn],"styling"),In=Kn(ar.body[0],"ordgroup");In.body.unshift(Ne)}if(Yt)le<gn.length&&(le=gn.length);else{var nr=gn.length/2;if(N<nr)throw new q("Too many math in a row: "+("expected "+N+", but got "+nr),gn[0])}});for(var Sn=0;Sn<le;++Sn){var Xt="r",on=0;Sn%2===1?Xt="l":Sn>0&&Yt&&(on=1),h[Sn]={type:"align",align:Xt,pregap:on,postgap:0}}return v.colSeparationType=Yt?"align":"alignat",v};Oa({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(l,d){var h=zr(d[0]),v=h?[d[0]]:Kn(d[0],"ordgroup").body,N=v.map(function(Ne){var Me=Nr(Ne),tt=Me.text;if("lcr".indexOf(tt)!==-1)return{type:"align",align:tt};if(tt==="|")return{type:"separator",separator:"|"};if(tt===":")return{type:"separator",separator:":"};throw new q("Unknown column alignment: "+tt,Ne)}),le={cols:N,hskipBeforeAndAfter:!0};return _i(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},v=_i(l.parser,h,xi(l.envName));return d?{type:"leftright",mode:l.mode,body:[v],left:d[0],right:d[1],rightColor:void 0}:v},htmlBuilder:mi,mathmlBuilder:Xi}),Oa({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(l){var d={arraystretch:.5},h=_i(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=zr(d[0]),v=h?[d[0]]:Kn(d[0],"ordgroup").body,N=v.map(function(Ne){var Me=Nr(Ne),tt=Me.text;if("lc".indexOf(tt)!==-1)return{type:"align",align:tt};throw new q("Unknown column alignment: "+tt,Ne)});if(N.length>1)throw new q("{subarray} can contain only one column");var le={cols:N,hskipBeforeAndAfter:!1,arraystretch:.5};if(le=_i(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=_i(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 _i(l.parser,d,"display")},htmlBuilder:mi,mathmlBuilder:Xi}),Oa({type:"array",names:["alignedat"],props:{numArgs:1},handler:fs,htmlBuilder:mi,mathmlBuilder:Xi}),jn({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;jn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(l,d){var h=l.parser,v=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(v==="\\begin"){if(!hs.hasOwnProperty(le))throw new q("No such environment: "+le,N);var Me=hs[le],tt=h.parseArguments("\\begin{"+le+"}",Me),gt=tt.args,Ft=tt.optArgs,Yt={mode:h.mode,envName:le,parser:h},Sn=Me.handler(Yt,gt,Ft);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=li(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"?Pn.newDocumentFragment(h):(re.mclass==="mord"?re.isCharacterBox?(d=h[0],d.type="mi"):d=new Pn.MathNode("mi",h):(re.isCharacterBox?(d=h[0],d.type="mo"):d=new Pn.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)}jn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(l,d){var h=l.parser,v=l.funcName,N=d[0];return{type:"mclass",mode:h.mode,mclass:"m"+v.substr(5),body:Vr(N),isCharacterBox:U.isCharacterBox(N)}},htmlBuilder:ps,mathmlBuilder:ms});var Dn=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"};jn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(l,d){var h=l.parser;return{type:"mclass",mode:h.mode,mclass:Dn(d[0]),body:[d[1]],isCharacterBox:U.isCharacterBox(d[1])}}}),jn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(l,d){var h=l.parser,v=l.funcName,N=d[1],le=d[0],Ne;v!=="\\stackrel"?Ne=Dn(N):Ne="mrel";var Me={type:"op",mode:N.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:v!=="\\stackrel",body:Vr(N)},tt={type:"supsub",mode:le.mode,base:Me,sup:v==="\\underset"?null:le,sub:v==="\\underset"?le:null};return{type:"mclass",mode:h.mode,mclass:Ne,body:[tt],isCharacterBox:U.isCharacterBox(tt)}},htmlBuilder:ps,mathmlBuilder:ms});var Ts=function(l,d){var h=l.font,v=d.withFont(h);return Mr(l.body,v)},Ms=function(l,d){var h=l.font,v=d.withFont(h);return Vn(l.body,v)},go={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};jn({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,v=l.funcName,N=d[0],le=v;return le in go&&(le=go[le]),{type:"font",mode:h.mode,font:le.slice(1),body:N}},htmlBuilder:Ts,mathmlBuilder:Ms}),jn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(l,d){var h=l.parser,v=d[0],N=U.isCharacterBox(v);return{type:"mclass",mode:h.mode,mclass:Dn(v),body:[{type:"font",mode:h.mode,font:"boldsymbol",body:v}],isCharacterBox:N}}}),jn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(l,d){var h=l.parser,v=l.funcName,N=l.breakOnTokenText,le=h.mode,Ne=h.parseExpression(!0,N),Me="math"+v.slice(1);return{type:"font",mode:le,font:Me,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>=g.SCRIPT.id?h.text():g.DISPLAY:l==="text"&&h.size===g.DISPLAY.size?h=g.TEXT:l==="script"?h=g.SCRIPT:l==="scriptscript"&&(h=g.SCRIPTSCRIPT),h},Ks=function(l,d){var h=Qs(l.size,d.style),v=h.fracNum(),N=h.fracDen(),le;le=d.havingStyle(v);var Ne=Mr(l.numer,le,d);if(l.continued){var Me=8.5/d.fontMetrics().ptPerEm,tt=3.5/d.fontMetrics().ptPerEm;Ne.height=Ne.height<Me?Me:Ne.height,Ne.depth=Ne.depth<tt?tt:Ne.depth}le=d.havingStyle(N);var gt=Mr(l.denom,le,d),Ft,Yt,Sn;l.hasBarLine?(l.barSize?(Yt=vt(l.barSize,d),Ft=at.makeLineSpan("frac-line",d,Yt)):Ft=at.makeLineSpan("frac-line",d),Yt=Ft.height,Sn=Ft.height):(Ft=null,Yt=0,Sn=d.fontMetrics().defaultRuleThickness);var Xt,on,gn;h.size===g.DISPLAY.size||l.size==="display"?(Xt=d.fontMetrics().num1,Yt>0?on=3*Sn:on=7*Sn,gn=d.fontMetrics().denom1):(Yt>0?(Xt=d.fontMetrics().num2,on=Sn):(Xt=d.fontMetrics().num3,on=3*Sn),gn=d.fontMetrics().denom2);var Fn;if(Ft){var In=d.fontMetrics().axisHeight;Xt-Ne.depth-(In+.5*Yt)<on&&(Xt+=on-(Xt-Ne.depth-(In+.5*Yt))),In-.5*Yt-(gt.height-gn)<on&&(gn+=on-(In-.5*Yt-(gt.height-gn)));var nr=-(In-.5*Yt);Fn=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:gt,shift:gn},{type:"elem",elem:Ft,shift:nr},{type:"elem",elem:Ne,shift:-Xt}]},d)}else{var ar=Xt-Ne.depth-(gt.height-gn);ar<on&&(Xt+=.5*(on-ar),gn+=.5*(on-ar)),Fn=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:gt,shift:gn},{type:"elem",elem:Ne,shift:-Xt}]},d)}le=d.havingStyle(h),Fn.height*=le.sizeMultiplier/d.sizeMultiplier,Fn.depth*=le.sizeMultiplier/d.sizeMultiplier;var Er;h.size===g.DISPLAY.size?Er=d.fontMetrics().delim1:Er=d.fontMetrics().delim2;var _r,ri;return l.leftDelim==null?_r=Zi(d,["mopen"]):_r=Ca.customSizedDelim(l.leftDelim,Er,!0,d.havingStyle(h),l.mode,["mopen"]),l.continued?ri=at.makeSpan([]):l.rightDelim==null?ri=Zi(d,["mclose"]):ri=Ca.customSizedDelim(l.rightDelim,Er,!0,d.havingStyle(h),l.mode,["mclose"]),at.makeSpan(["mord"].concat(le.sizingClasses(d)),[_r,at.makeSpan(["mfrac"],[Fn]),ri],d)},Js=function(l,d){var h=new Pn.MathNode("mfrac",[Vn(l.numer,d),Vn(l.denom,d)]);if(!l.hasBarLine)h.setAttribute("linethickness","0px");else if(l.barSize){var v=vt(l.barSize,d);h.setAttribute("linethickness",v+"em")}var N=Qs(l.size,d.style);if(N.size!==d.style.size){h=new Pn.MathNode("mstyle",[h]);var le=N.size===g.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 Me=new Pn.MathNode("mo",[new Pn.TextNode(l.leftDelim.replace("\\",""))]);Me.setAttribute("fence","true"),Ne.push(Me)}if(Ne.push(h),l.rightDelim!=null){var tt=new Pn.MathNode("mo",[new Pn.TextNode(l.rightDelim.replace("\\",""))]);tt.setAttribute("fence","true"),Ne.push(tt)}return na(Ne)}return h};jn({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,v=l.funcName,N=d[0],le=d[1],Ne,Me=null,tt=null,gt="auto";switch(v){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":Ne=!0;break;case"\\\\atopfrac":Ne=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Ne=!1,Me="(",tt=")";break;case"\\\\bracefrac":Ne=!1,Me="\\{",tt="\\}";break;case"\\\\brackfrac":Ne=!1,Me="[",tt="]";break;default:throw new Error("Unrecognized genfrac command")}switch(v){case"\\cfrac":case"\\dfrac":case"\\dbinom":gt="display";break;case"\\tfrac":case"\\tbinom":gt="text";break}return{type:"genfrac",mode:h.mode,continued:v==="\\cfrac",numer:N,denom:le,hasBarLine:Ne,leftDelim:Me,rightDelim:tt,size:gt,barSize:null}},htmlBuilder:Ks,mathmlBuilder:Js}),jn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(l){var d=l.parser,h=l.funcName,v=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:v}}});var Ga=["display","text","script","scriptscript"],zs=function(l){var d=null;return l.length>0&&(d=l,d=d==="."?null:d),d};jn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(l,d){var h=l.parser,v=d[4],N=d[5],le=ur(d[0],"atom");le&&(le=wr(d[0],"open"));var Ne=le?zs(le.text):null,Me=ur(d[1],"atom");Me&&(Me=wr(d[1],"close"));var tt=Me?zs(Me.text):null,gt=Kn(d[2],"size"),Ft,Yt=null;gt.isBlank?Ft=!0:(Yt=gt.value,Ft=Yt.number>0);var Sn="auto",Xt=ur(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:v,denom:N,continued:!1,hasBarLine:Ft,barSize:Yt,leftDelim:Ne,rightDelim:tt,size:Sn}},htmlBuilder:Ks,mathmlBuilder:Js}),jn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(l,d){var h=l.parser,v=l.funcName,N=l.token;return{type:"infix",mode:h.mode,replaceWith:"\\\\abovefrac",size:Kn(d[0],"size").value,token:N}}}),jn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(l,d){var h=l.parser,v=l.funcName,N=d[0],le=P(Kn(d[1],"infix").size),Ne=d[2],Me=le.number>0;return{type:"genfrac",mode:h.mode,numer:N,denom:Ne,continued:!1,hasBarLine:Me,barSize:le,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ks,mathmlBuilder:Js});var qs=function(l,d){var h=d.style,v,N,le=ur(l,"supsub");le?(v=le.sup?Mr(le.sup,d.havingStyle(h.sup()),d):Mr(le.sub,d.havingStyle(h.sub()),d),N=Kn(le.base,"horizBrace")):N=Kn(l,"horizBrace");var Ne=Mr(N.base,d.havingBaseStyle(g.DISPLAY)),Me=or.svgSpan(N,d),tt;if(N.isOver?(tt=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ne},{type:"kern",size:.1},{type:"elem",elem:Me}]},d),tt.children[0].children[0].children[1].classes.push("svg-align")):(tt=at.makeVList({positionType:"bottom",positionData:Ne.depth+.1+Me.height,children:[{type:"elem",elem:Me},{type:"kern",size:.1},{type:"elem",elem:Ne}]},d),tt.children[0].children[0].children[0].classes.push("svg-align")),v){var gt=at.makeSpan(["mord",N.isOver?"mover":"munder"],[tt],d);N.isOver?tt=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:gt},{type:"kern",size:.2},{type:"elem",elem:v}]},d):tt=at.makeVList({positionType:"bottom",positionData:gt.depth+.2+v.height+v.depth,children:[{type:"elem",elem:v},{type:"kern",size:.2},{type:"elem",elem:gt}]},d)}return at.makeSpan(["mord",N.isOver?"mover":"munder"],[tt],d)},Po=function(l,d){var h=or.mathMLnode(l.label);return new Pn.MathNode(l.isOver?"mover":"munder",[Vn(l.base,d),h])};jn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(l,d){var h=l.parser,v=l.funcName;return{type:"horizBrace",mode:h.mode,label:v,isOver:/^\\over/.test(v),base:d[0]}},htmlBuilder:qs,mathmlBuilder:Po}),jn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(l,d){var h=l.parser,v=d[1],N=Kn(d[0],"url").url;return h.settings.isTrusted({command:"\\href",url:N})?{type:"href",mode:h.mode,href:N,body:Vr(v)}:h.formatUnsupportedCmd("\\href")},htmlBuilder:function(l,d){var h=li(l.body,d,!1);return at.makeAnchor(l.href,[],h,d)},mathmlBuilder:function(l,d){var h=dr(l.body,d);return h instanceof vi||(h=new vi("mrow",[h])),h.setAttribute("href",l.href),h}}),jn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(l,d){var h=l.parser,v=Kn(d[0],"url").url;if(!h.settings.isTrusted({command:"\\url",url:v}))return h.formatUnsupportedCmd("\\url");for(var N=[],le=0;le<v.length;le++){var Ne=v[le];Ne==="~"&&(Ne="\\textasciitilde"),N.push({type:"textord",mode:"text",text:Ne})}var Me={type:"text",mode:h.mode,font:"\\texttt",body:N};return{type:"href",mode:h.mode,href:v,body:Vr(Me)}}}),jn({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:Vr(d[0]),mathml:Vr(d[1])}},htmlBuilder:function(l,d){var h=li(l.html,d,!1);return at.makeFragment(h)},mathmlBuilder:function(l,d){return dr(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(!ht(h))throw new q("Invalid unit: '"+h.unit+"' in \\includegraphics.");return h};jn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(l,d,h){var v=l.parser,N={number:0,unit:"em"},le={number:.9,unit:"em"},Ne={number:0,unit:"em"},Me="";if(h[0])for(var tt=Kn(h[0],"raw").string,gt=tt.split(","),Ft=0;Ft<gt.length;Ft++){var Yt=gt[Ft].split("=");if(Yt.length===2){var Sn=Yt[1].trim();switch(Yt[0].trim()){case"alt":Me=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: '"+Yt[0]+"' in \\includegraphics.")}}}var Xt=Kn(d[0],"url").url;return Me===""&&(Me=Xt,Me=Me.replace(/^.*[\\/]/,""),Me=Me.substring(0,Me.lastIndexOf("."))),v.settings.isTrusted({command:"\\includegraphics",url:Xt})?{type:"includegraphics",mode:v.mode,alt:Me,width:N,height:le,totalheight:Ne,src:Xt}:v.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(l,d){var h=vt(l.height,d),v=0;l.totalheight.number>0&&(v=vt(l.totalheight,d)-h,v=Number(v.toFixed(2)));var N=0;l.width.number>0&&(N=vt(l.width,d));var le={height:h+v+"em"};N>0&&(le.width=N+"em"),v>0&&(le.verticalAlign=-v+"em");var Ne=new Ae(l.src,l.alt,le);return Ne.height=h,Ne.depth=v,Ne},mathmlBuilder:function(l,d){var h=new Pn.MathNode("mglyph",[]);h.setAttribute("alt",l.alt);var v=vt(l.height,d),N=0;if(l.totalheight.number>0&&(N=vt(l.totalheight,d)-v,N=N.toFixed(2),h.setAttribute("valign","-"+N+"em")),h.setAttribute("height",v+N+"em"),l.width.number>0){var le=vt(l.width,d);h.setAttribute("width",le+"em")}return h.setAttribute("src",l.src),h}}),jn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(l,d){var h=l.parser,v=l.funcName,N=Kn(d[0],"size");if(h.settings.strict){var le=v[1]==="m",Ne=N.value.unit==="mu";le?(Ne||h.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+v+" supports only mu units, "+("not "+N.value.unit+" units")),h.mode!=="math"&&h.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+v+" works only in math mode")):Ne&&h.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+v+" 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=vt(l.dimension,d);return new Pn.SpaceNode(h)}}),jn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var h=l.parser,v=l.funcName,N=d[0];return{type:"lap",mode:h.mode,alignment:v.slice(5),body:N}},htmlBuilder:function(l,d){var h;l.alignment==="clap"?(h=at.makeSpan([],[Mr(l.body,d)]),h=at.makeSpan(["inner"],[h],d)):h=at.makeSpan(["inner"],[Mr(l.body,d)]);var v=at.makeSpan(["fix"],[]),N=at.makeSpan([l.alignment],[h,v],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 Pn.MathNode("mpadded",[Vn(l.body,d)]);if(l.alignment!=="rlap"){var v=l.alignment==="llap"?"-1":"-0.5";h.setAttribute("lspace",v+"width")}return h.setAttribute("width","0px"),h}}),jn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(l,d){var h=l.funcName,v=l.parser,N=v.mode;v.switchMode("math");var le=h==="\\("?"\\)":"$",Ne=v.parseExpression(!1,le);return v.expect(le),v.switchMode(N),{type:"styling",mode:v.mode,style:"text",body:Ne}}}),jn({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 g.DISPLAY.size:return l.display;case g.TEXT.size:return l.text;case g.SCRIPT.size:return l.script;case g.SCRIPTSCRIPT.size:return l.scriptscript;default:return l.text}};jn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(l,d){var h=l.parser;return{type:"mathchoice",mode:h.mode,display:Vr(d[0]),text:Vr(d[1]),script:Vr(d[2]),scriptscript:Vr(d[3])}},htmlBuilder:function(l,d){var h=Xs(l,d),v=li(h,d,!1);return at.makeFragment(v)},mathmlBuilder:function(l,d){var h=Xs(l,d);return dr(h,d)}});var Ls=function(l,d,h,v,N,le,Ne){l=at.makeSpan([],[l]);var Me,tt;if(d){var gt=Mr(d,v.havingStyle(N.sup()),v);tt={elem:gt,kern:Math.max(v.fontMetrics().bigOpSpacing1,v.fontMetrics().bigOpSpacing3-gt.depth)}}if(h){var Ft=Mr(h,v.havingStyle(N.sub()),v);Me={elem:Ft,kern:Math.max(v.fontMetrics().bigOpSpacing2,v.fontMetrics().bigOpSpacing4-Ft.height)}}var Yt;if(tt&&Me){var Sn=v.fontMetrics().bigOpSpacing5+Me.elem.height+Me.elem.depth+Me.kern+l.depth+Ne;Yt=at.makeVList({positionType:"bottom",positionData:Sn,children:[{type:"kern",size:v.fontMetrics().bigOpSpacing5},{type:"elem",elem:Me.elem,marginLeft:-le+"em"},{type:"kern",size:Me.kern},{type:"elem",elem:l},{type:"kern",size:tt.kern},{type:"elem",elem:tt.elem,marginLeft:le+"em"},{type:"kern",size:v.fontMetrics().bigOpSpacing5}]},v)}else if(Me){var Xt=l.height-Ne;Yt=at.makeVList({positionType:"top",positionData:Xt,children:[{type:"kern",size:v.fontMetrics().bigOpSpacing5},{type:"elem",elem:Me.elem,marginLeft:-le+"em"},{type:"kern",size:Me.kern},{type:"elem",elem:l}]},v)}else if(tt){var on=l.depth+Ne;Yt=at.makeVList({positionType:"bottom",positionData:on,children:[{type:"elem",elem:l},{type:"kern",size:tt.kern},{type:"elem",elem:tt.elem,marginLeft:le+"em"},{type:"kern",size:v.fontMetrics().bigOpSpacing5}]},v)}else return l;return at.makeSpan(["mop","op-limits"],[Yt],v)},vo=["\\smallint"],qa=function(l,d){var h,v,N=!1,le,Ne=ur(l,"supsub");Ne?(h=Ne.sup,v=Ne.sub,le=Kn(Ne.base,"op"),N=!0):le=Kn(l,"op");var Me=d.style,tt=!1;Me.size===g.DISPLAY.size&&le.symbol&&!U.contains(vo,le.name)&&(tt=!0);var gt;if(le.symbol){var Ft=tt?"Size2-Regular":"Size1-Regular",Yt="";if((le.name==="\\oiint"||le.name==="\\oiiint")&&(Yt=le.name.substr(1),le.name=Yt==="oiint"?"\\iint":"\\iiint"),gt=at.makeSymbol(le.name,Ft,"math",d,["mop","op-symbol",tt?"large-op":"small-op"]),Yt.length>0){var Sn=gt.italic,Xt=at.staticSvg(Yt+"Size"+(tt?"2":"1"),d);gt=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:gt,shift:0},{type:"elem",elem:Xt,shift:tt?.08:0}]},d),le.name="\\"+Yt,gt.classes.unshift("mop"),gt.italic=Sn}}else if(le.body){var on=li(le.body,d,!0);on.length===1&&on[0]instanceof _?(gt=on[0],gt.classes[0]="mop"):gt=at.makeSpan(["mop"],at.tryCombineChars(on),d)}else{for(var gn=[],Fn=1;Fn<le.name.length;Fn++)gn.push(at.mathsym(le.name[Fn],le.mode,d));gt=at.makeSpan(["mop"],gn,d)}var ar=0,In=0;return(gt instanceof _||le.name==="\\oiint"||le.name==="\\oiiint")&&!le.suppressBaseShift&&(ar=(gt.height-gt.depth)/2-d.fontMetrics().axisHeight,In=gt.italic),N?Ls(gt,h,v,d,Me,In,ar):(ar&&(gt.style.position="relative",gt.style.top=ar+"em"),gt)},Ns=function(l,d){var h;if(l.symbol)h=new vi("mo",[Ni(l.name,l.mode)]),U.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 v=new vi("mo",[Ni("\u2061","text")]);l.parentIsSupSub?h=new vi("mo",[h,v]):h=ua([h,v])}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"};jn({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,v=l.funcName,N=v;return N.length===1&&(N=yo[N]),{type:"op",mode:h.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:N}},htmlBuilder:qa,mathmlBuilder:Ns}),jn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(l,d){var h=l.parser,v=d[0];return{type:"op",mode:h.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Vr(v)}},htmlBuilder:qa,mathmlBuilder:Ns});var bo={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};jn({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}),jn({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}),jn({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,v=h;return v.length===1&&(v=bo[v]),{type:"op",mode:d.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:v}},htmlBuilder:qa,mathmlBuilder:Ns});var Hs=function(l,d){var h,v,N=!1,le,Ne=ur(l,"supsub");Ne?(h=Ne.sup,v=Ne.sub,le=Kn(Ne.base,"operatorname"),N=!0):le=Kn(l,"operatorname");var Me;if(le.body.length>0){for(var tt=le.body.map(function(Sn){var Xt=Sn.text;return typeof Xt=="string"?{type:"textord",mode:Sn.mode,text:Xt}:Sn}),gt=li(tt,d.withFont("mathrm"),!0),Ft=0;Ft<gt.length;Ft++){var Yt=gt[Ft];Yt instanceof _&&(Yt.text=Yt.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Me=at.makeSpan(["mop"],gt,d)}else Me=at.makeSpan(["mop"],[],d);return N?Ls(Me,h,v,d,d.style,0,0):Me},Uo=function(l,d){for(var h=xr(l.body,d.withFont("mathrm")),v=!0,N=0;N<h.length;N++){var le=h[N];if(!(le instanceof Pn.SpaceNode))if(le instanceof Pn.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 Pn.TextNode?Ne.text=Ne.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):v=!1;break}default:v=!1}else v=!1}if(v){var Me=h.map(function(Ft){return Ft.toText()}).join("");h=[new Pn.TextNode(Me)]}var tt=new Pn.MathNode("mi",h);tt.setAttribute("mathvariant","normal");var gt=new Pn.MathNode("mo",[Ni("\u2061","text")]);return l.parentIsSupSub?new Pn.MathNode("mo",[tt,gt]):Pn.newDocumentFragment([tt,gt])};jn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(l,d){var h=l.parser,v=l.funcName,N=d[0];return{type:"operatorname",mode:h.mode,body:Vr(N),alwaysHandleSupSub:v==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Hs,mathmlBuilder:Uo}),$r({type:"ordgroup",htmlBuilder:function(l,d){return l.semisimple?at.makeFragment(li(l.body,d,!1)):at.makeSpan(["mord"],li(l.body,d,!0),d)},mathmlBuilder:function(l,d){return dr(l.body,d,!0)}}),jn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(l,d){var h=l.parser,v=d[0];return{type:"overline",mode:h.mode,body:v}},htmlBuilder:function(l,d){var h=Mr(l.body,d.havingCrampedStyle()),v=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:v},{type:"kern",size:N}]},d);return at.makeSpan(["mord","overline"],[le],d)},mathmlBuilder:function(l,d){var h=new Pn.MathNode("mo",[new Pn.TextNode("\u203E")]);h.setAttribute("stretchy","true");var v=new Pn.MathNode("mover",[Vn(l.body,d),h]);return v.setAttribute("accent","true"),v}}),jn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var h=l.parser,v=d[0];return{type:"phantom",mode:h.mode,body:Vr(v)}},htmlBuilder:function(l,d){var h=li(l.body,d.withPhantom(),!1);return at.makeFragment(h)},mathmlBuilder:function(l,d){var h=xr(l.body,d);return new Pn.MathNode("mphantom",h)}}),jn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var h=l.parser,v=d[0];return{type:"hphantom",mode:h.mode,body:v}},htmlBuilder:function(l,d){var h=at.makeSpan([],[Mr(l.body,d.withPhantom())]);if(h.height=0,h.depth=0,h.children)for(var v=0;v<h.children.length;v++)h.children[v].height=0,h.children[v].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(Vr(l.body),d),v=new Pn.MathNode("mphantom",h),N=new Pn.MathNode("mpadded",[v]);return N.setAttribute("height","0px"),N.setAttribute("depth","0px"),N}}),jn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var h=l.parser,v=d[0];return{type:"vphantom",mode:h.mode,body:v}},htmlBuilder:function(l,d){var h=at.makeSpan(["inner"],[Mr(l.body,d.withPhantom())]),v=at.makeSpan(["fix"],[]);return at.makeSpan(["mord","rlap"],[h,v],d)},mathmlBuilder:function(l,d){var h=xr(Vr(l.body),d),v=new Pn.MathNode("mphantom",h),N=new Pn.MathNode("mpadded",[v]);return N.setAttribute("width","0px"),N}}),jn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(l,d){var h=l.parser,v=Kn(d[0],"size").value,N=d[1];return{type:"raisebox",mode:h.mode,dy:v,body:N}},htmlBuilder:function(l,d){var h=Mr(l.body,d),v=vt(l.dy,d);return at.makeVList({positionType:"shift",positionData:-v,children:[{type:"elem",elem:h}]},d)},mathmlBuilder:function(l,d){var h=new Pn.MathNode("mpadded",[Vn(l.body,d)]),v=l.dy.number+l.dy.unit;return h.setAttribute("voffset",v),h}}),jn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(l,d,h){var v=l.parser,N=h[0],le=Kn(d[0],"size"),Ne=Kn(d[1],"size");return{type:"rule",mode:v.mode,shift:N&&Kn(N,"size").value,width:le.value,height:Ne.value}},htmlBuilder:function(l,d){var h=at.makeSpan(["mord","rule"],[],d),v=vt(l.width,d),N=vt(l.height,d),le=l.shift?vt(l.shift,d):0;return h.style.borderRightWidth=v+"em",h.style.borderTopWidth=N+"em",h.style.bottom=le+"em",h.width=v,h.height=N+le,h.depth=-le,h.maxFontSize=N*1.125*d.sizeMultiplier,h},mathmlBuilder:function(l,d){var h=vt(l.width,d),v=vt(l.height,d),N=l.shift?vt(l.shift,d):0,le=d.color&&d.getColor()||"black",Ne=new Pn.MathNode("mspace");Ne.setAttribute("mathbackground",le),Ne.setAttribute("width",h+"em"),Ne.setAttribute("height",v+"em");var Me=new Pn.MathNode("mpadded",[Ne]);return N>=0?Me.setAttribute("height","+"+N+"em"):(Me.setAttribute("height",N+"em"),Me.setAttribute("depth","+"+-N+"em")),Me.setAttribute("voffset",N+"em"),Me}});function js(re,l,d){for(var h=li(re,l,!1),v=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*=v,h[N].depth*=v}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)};jn({type:"sizing",names:Ps,props:{numArgs:0,allowedInText:!0},handler:function(l,d){var h=l.breakOnTokenText,v=l.funcName,N=l.parser,le=N.parseExpression(!1,h);return{type:"sizing",mode:N.mode,size:Ps.indexOf(v)+1,body:le}},htmlBuilder:So,mathmlBuilder:function(l,d){var h=d.havingSize(l.size),v=xr(l.body,h),N=new Pn.MathNode("mstyle",v);return N.setAttribute("mathsize",h.sizeMultiplier+"em"),N}}),jn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(l,d,h){var v=l.parser,N=!1,le=!1,Ne=h[0]&&Kn(h[0],"ordgroup");if(Ne)for(var Me="",tt=0;tt<Ne.body.length;++tt){var gt=Ne.body[tt];if(Me=gt.text,Me==="t")N=!0;else if(Me==="b")le=!0;else{N=!1,le=!1;break}}else N=!0,le=!0;var Ft=d[0];return{type:"smash",mode:v.mode,body:Ft,smashHeight:N,smashDepth:le}},htmlBuilder:function(l,d){var h=at.makeSpan([],[Mr(l.body,d)]);if(!l.smashHeight&&!l.smashDepth)return h;if(l.smashHeight&&(h.height=0,h.children))for(var v=0;v<h.children.length;v++)h.children[v].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 Pn.MathNode("mpadded",[Vn(l.body,d)]);return l.smashHeight&&h.setAttribute("height","0px"),l.smashDepth&&h.setAttribute("depth","0px"),h}}),jn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(l,d,h){var v=l.parser,N=h[0],le=d[0];return{type:"sqrt",mode:v.mode,body:le,index:N}},htmlBuilder:function(l,d){var h=Mr(l.body,d.havingCrampedStyle());h.height===0&&(h.height=d.fontMetrics().xHeight),h=at.wrapFragment(h,d);var v=d.fontMetrics(),N=v.defaultRuleThickness,le=N;d.style.id<g.TEXT.id&&(le=d.fontMetrics().xHeight);var Ne=N+le/4,Me=h.height+h.depth+Ne+N,tt=Ca.sqrtImage(Me,d),gt=tt.span,Ft=tt.ruleWidth,Yt=tt.advanceWidth,Sn=gt.height-Ft;Sn>h.height+h.depth+Ne&&(Ne=(Ne+Sn-h.height-h.depth)/2);var Xt=gt.height-h.height-Ne-Ft;h.style.paddingLeft=Yt+"em";var on=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:h,wrapperClasses:["svg-align"]},{type:"kern",size:-(h.height+Xt)},{type:"elem",elem:gt},{type:"kern",size:Ft}]},d);if(l.index){var gn=d.havingStyle(g.SCRIPTSCRIPT),Fn=Mr(l.index,gn,d),ar=.6*(on.height-on.depth),In=at.makeVList({positionType:"shift",positionData:-ar,children:[{type:"elem",elem:Fn}]},d),nr=at.makeSpan(["root"],[In]);return at.makeSpan(["mord","sqrt"],[nr,on],d)}else return at.makeSpan(["mord","sqrt"],[on],d)},mathmlBuilder:function(l,d){var h=l.body,v=l.index;return v?new Pn.MathNode("mroot",[Vn(h,d),Vn(v,d)]):new Pn.MathNode("msqrt",[Vn(h,d)])}});var xo={display:g.DISPLAY,text:g.TEXT,script:g.SCRIPT,scriptscript:g.SCRIPTSCRIPT};jn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(l,d){var h=l.breakOnTokenText,v=l.funcName,N=l.parser,le=N.parseExpression(!0,h),Ne=v.slice(1,v.length-5);return{type:"styling",mode:N.mode,style:Ne,body:le}},htmlBuilder:function(l,d){var h=xo[l.style],v=d.havingStyle(h).withFont("");return js(l.body,v,d)},mathmlBuilder:function(l,d){var h=xo[l.style],v=d.havingStyle(h),N=xr(l.body,v),le=new Pn.MathNode("mstyle",N),Ne={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Me=Ne[l.style];return le.setAttribute("scriptlevel",Me[0]),le.setAttribute("displaystyle",Me[1]),le}});var Ao=function(l,d){var h=l.base;if(h)if(h.type==="op"){var v=h.limits&&(d.style.size===g.DISPLAY.size||h.alwaysHandleSupSub);return v?qa:null}else if(h.type==="operatorname"){var N=h.alwaysHandleSupSub&&(d.style.size===g.DISPLAY.size||h.limits);return N?Hs:null}else{if(h.type==="accent")return U.isCharacterBox(h.base)?Qr:null;if(h.type==="horizBrace"){var le=!l.sub;return le===h.isOver?qs:null}else return null}else return null};$r({type:"supsub",htmlBuilder:function(l,d){var h=Ao(l,d);if(h)return h(l,d);var v=l.base,N=l.sup,le=l.sub,Ne=Mr(v,d),Me,tt,gt=d.fontMetrics(),Ft=0,Yt=0,Sn=v&&U.isCharacterBox(v);if(N){var Xt=d.havingStyle(d.style.sup());Me=Mr(N,Xt,d),Sn||(Ft=Ne.height-Xt.fontMetrics().supDrop*Xt.sizeMultiplier/d.sizeMultiplier)}if(le){var on=d.havingStyle(d.style.sub());tt=Mr(le,on,d),Sn||(Yt=Ne.depth+on.fontMetrics().subDrop*on.sizeMultiplier/d.sizeMultiplier)}var gn;d.style===g.DISPLAY?gn=gt.sup1:d.style.cramped?gn=gt.sup3:gn=gt.sup2;var Fn=d.sizeMultiplier,ar=.5/gt.ptPerEm/Fn+"em",In=null;if(tt){var nr=l.base&&l.base.type==="op"&&l.base.name&&(l.base.name==="\\oiint"||l.base.name==="\\oiiint");(Ne instanceof _||nr)&&(In=-Ne.italic+"em")}var Er;if(Me&&tt){Ft=Math.max(Ft,gn,Me.depth+.25*gt.xHeight),Yt=Math.max(Yt,gt.sub2);var _r=gt.defaultRuleThickness,ri=4*_r;if(Ft-Me.depth-(tt.height-Yt)<ri){Yt=ri-(Ft-Me.depth)+tt.height;var ii=.8*gt.xHeight-(Ft-Me.depth);ii>0&&(Ft+=ii,Yt-=ii)}var Wi=[{type:"elem",elem:tt,shift:Yt,marginRight:ar,marginLeft:In},{type:"elem",elem:Me,shift:-Ft,marginRight:ar}];Er=at.makeVList({positionType:"individualShift",children:Wi},d)}else if(tt){Yt=Math.max(Yt,gt.sub1,tt.height-.8*gt.xHeight);var ci=[{type:"elem",elem:tt,marginLeft:In,marginRight:ar}];Er=at.makeVList({positionType:"shift",positionData:Yt,children:ci},d)}else if(Me)Ft=Math.max(Ft,gn,Me.depth+.25*gt.xHeight),Er=at.makeVList({positionType:"shift",positionData:-Ft,children:[{type:"elem",elem:Me,marginRight:ar}]},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"],[Er])],d)},mathmlBuilder:function(l,d){var h=!1,v,N,le=ur(l.base,"horizBrace");le&&(N=!!l.sup,N===le.isOver&&(h=!0,v=le.isOver)),l.base&&(l.base.type==="op"||l.base.type==="operatorname")&&(l.base.parentIsSupSub=!0);var Ne=[Vn(l.base,d)];l.sub&&Ne.push(Vn(l.sub,d)),l.sup&&Ne.push(Vn(l.sup,d));var Me;if(h)Me=v?"mover":"munder";else if(l.sub)if(l.sup){var Ft=l.base;Ft&&Ft.type==="op"&&Ft.limits&&d.style===g.DISPLAY||Ft&&Ft.type==="operatorname"&&Ft.alwaysHandleSupSub&&(d.style===g.DISPLAY||Ft.limits)?Me="munderover":Me="msubsup"}else{var gt=l.base;gt&>.type==="op"&>.limits&&(d.style===g.DISPLAY||gt.alwaysHandleSupSub)||gt&>.type==="operatorname"&>.alwaysHandleSupSub&&(gt.limits||d.style===g.DISPLAY)?Me="munder":Me="msub"}else{var tt=l.base;tt&&tt.type==="op"&&tt.limits&&(d.style===g.DISPLAY||tt.alwaysHandleSupSub)||tt&&tt.type==="operatorname"&&tt.alwaysHandleSupSub&&(tt.limits||d.style===g.DISPLAY)?Me="mover":Me="msup"}var Yt=new Pn.MathNode(Me,Ne);return Yt}}),$r({type:"atom",htmlBuilder:function(l,d){return at.mathsym(l.text,l.mode,d,["m"+l.family])},mathmlBuilder:function(l,d){var h=new Pn.MathNode("mo",[Ni(l.text,l.mode)]);if(l.family==="bin"){var v=cr(l,d);v==="bold-italic"&&h.setAttribute("mathvariant",v)}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"};$r({type:"mathord",htmlBuilder:function(l,d){return at.makeOrd(l,d,"mathord")},mathmlBuilder:function(l,d){var h=new Pn.MathNode("mi",[Ni(l.text,l.mode,d)]),v=cr(l,d)||"italic";return v!==Eo[h.type]&&h.setAttribute("mathvariant",v),h}}),$r({type:"textord",htmlBuilder:function(l,d){return at.makeOrd(l,d,"textord")},mathmlBuilder:function(l,d){var h=Ni(l.text,l.mode,d),v=cr(l,d)||"normal",N;return l.mode==="text"?N=new Pn.MathNode("mtext",[h]):/[0-9]/.test(l.text)?N=new Pn.MathNode("mn",[h]):l.text==="\\prime"?N=new Pn.MathNode("mo",[h]):N=new Pn.MathNode("mi",[h]),v!==Eo[N.type]&&N.setAttribute("mathvariant",v),N}});var Ds={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Ws={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};$r({type:"spacing",htmlBuilder:function(l,d){if(Ws.hasOwnProperty(l.text)){var h=Ws[l.text].className||"";if(l.mode==="text"){var v=at.makeOrd(l,d,"textord");return v.classes.push(h),v}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 Pn.MathNode("mtext",[new Pn.TextNode("\xA0")]);else{if(Ds.hasOwnProperty(l.text))return new Pn.MathNode("mspace");throw new q('Unknown type of space "'+l.text+'"')}return h}});var Us=function(){var l=new Pn.MathNode("mtd",[]);return l.setAttribute("width","50%"),l};$r({type:"tag",mathmlBuilder:function(l,d){var h=new Pn.MathNode("mtable",[new Pn.MathNode("mtr",[Us(),new Pn.MathNode("mtd",[dr(l.body,d)]),Us(),new Pn.MathNode("mtd",[dr(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};jn({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,v=l.funcName,N=d[0];return{type:"text",mode:h.mode,body:Vr(N),font:v}},htmlBuilder:function(l,d){var h=no(l,d),v=li(l.body,h,!0);return at.makeSpan(["mord","text"],at.tryCombineChars(v),h)},mathmlBuilder:function(l,d){var h=no(l,d);return dr(l.body,h)}}),jn({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=Mr(l.body,d),v=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:v},{type:"kern",size:3*N},{type:"elem",elem:h}]},d);return at.makeSpan(["mord","underline"],[le],d)},mathmlBuilder:function(l,d){var h=new Pn.MathNode("mo",[new Pn.TextNode("\u203E")]);h.setAttribute("stretchy","true");var v=new Pn.MathNode("munder",[Vn(l.body,d),h]);return v.setAttribute("accentunder","true"),v}}),jn({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),v=[],N=d.havingStyle(d.style.text()),le=0;le<h.length;le++){var Ne=h[le];Ne==="~"&&(Ne="\\textasciitilde"),v.push(at.makeSymbol(Ne,"Typewriter-Regular",l.mode,N,["mord","texttt"]))}return at.makeSpan(["mord","text"].concat(N.sizingClasses(d)),at.tryCombineChars(v),N)},mathmlBuilder:function(l,d){var h=new Pn.TextNode(ro(l)),v=new Pn.MathNode("mtext",[h]);return v.setAttribute("mathvariant","monospace"),v}});var ro=function(l){return l.body.replace(/ /g,l.star?"\u2423":"\xA0")},_o=kr,La=_o,Gs=`[ \r
|
|
|
]`,Zs="\\\\[a-zA-Z@]+",oe="\\\\[^\uD800-\uDFFF]",ge=""+Zs+Gs+"*",He=new RegExp("^("+Zs+")"+Gs+"*$"),Qe="[\u0300-\u036F]",rt=new RegExp(Qe+"+$"),st="("+Gs+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Qe+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Qe+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+ge)+("|"+oe+")"),Ct=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,v){this.catcodes[h]=v},l.lex=function(){var h=this.input,v=this.tokenRegex.lastIndex;if(v===h.length)return new Ee("EOF",new X(this,v,v));var N=this.tokenRegex.exec(h);if(N===null||N.index!==v)throw new q("Unexpected character: '"+h[v]+"'",new Ee(h[v],new X(this,v,v+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 Me=le.match(He);return Me&&(le=Me[1]),new Ee(le,new X(this,v,this.tokenRegex.lastIndex))},re}(),Rt=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 v in h)h.hasOwnProperty(v)&&(h[v]===void 0?delete this.current[v]:this.current[v]=h[v])},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,v,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]=v)}else{var Ne=this.undefStack[this.undefStack.length-1];Ne&&!Ne.hasOwnProperty(h)&&(Ne[h]=this.current[h])}this.current[h]=v},re}(),Et={},Bt=Et;function we(re,l){Et[re]=l}we("\\@firstoftwo",function(re){var l=re.consumeArgs(2);return{tokens:l[0],numArgs:0}}),we("\\@secondoftwo",function(re){var l=re.consumeArgs(2);return{tokens:l[1],numArgs:0}}),we("\\@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}}),we("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),we("\\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};we("\\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 v;(v=Kt[re.future().text])!=null&&v<d;)h*=d,h+=v,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 v=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(v,{tokens:h,numArgs:N},d),""};we("\\gdef",function(re){return mn(re,!0)}),we("\\def",function(re){return mn(re,!1)}),we("\\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 v=l.consumeArgs(1)[0];if(v.length!==1)throw new q("\\newcommand's first argument must be a macro name");var N=v[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(v=l.consumeArgs(1)[0],v.length===1&&v[0].text==="["){for(var Me="",tt=l.expandNextToken();tt.text!=="]"&&tt.text!=="EOF";)Me+=tt.text,tt=l.expandNextToken();if(!Me.match(/^\s*[0-9]+\s*$/))throw new q("Invalid number of arguments: "+Me);Ne=parseInt(Me),v=l.consumeArgs(1)[0]}return l.macros.set(N,{tokens:v,numArgs:Ne}),""};we("\\newcommand",function(re){return fn(re,!1,!0)}),we("\\renewcommand",function(re){return fn(re,!0,!1)}),we("\\providecommand",function(re){return fn(re,!0,!0)}),we("\\bgroup","{"),we("\\egroup","}"),we("\\lq","`"),we("\\rq","'"),we("\\aa","\\r a"),we("\\AA","\\r A"),we("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),we("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),we("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),we("\u212C","\\mathscr{B}"),we("\u2130","\\mathscr{E}"),we("\u2131","\\mathscr{F}"),we("\u210B","\\mathscr{H}"),we("\u2110","\\mathscr{I}"),we("\u2112","\\mathscr{L}"),we("\u2133","\\mathscr{M}"),we("\u211B","\\mathscr{R}"),we("\u212D","\\mathfrak{C}"),we("\u210C","\\mathfrak{H}"),we("\u2128","\\mathfrak{Z}"),we("\\Bbbk","\\Bbb{k}"),we("\xB7","\\cdotp"),we("\\llap","\\mathllap{\\textrm{#1}}"),we("\\rlap","\\mathrlap{\\textrm{#1}}"),we("\\clap","\\mathclap{\\textrm{#1}}"),we("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),we("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),we("\\ne","\\neq"),we("\u2260","\\neq"),we("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),we("\u2209","\\notin"),we("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),we("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),we("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),we("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),we("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),we("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),we("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),we("\u27C2","\\perp"),we("\u203C","\\mathclose{!\\mkern-0.8mu!}"),we("\u220C","\\notni"),we("\u231C","\\ulcorner"),we("\u231D","\\urcorner"),we("\u231E","\\llcorner"),we("\u231F","\\lrcorner"),we("\xA9","\\copyright"),we("\xAE","\\textregistered"),we("\uFE0F","\\textregistered"),we("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),we("\u22EE","\\vdots"),we("\\varGamma","\\mathit{\\Gamma}"),we("\\varDelta","\\mathit{\\Delta}"),we("\\varTheta","\\mathit{\\Theta}"),we("\\varLambda","\\mathit{\\Lambda}"),we("\\varXi","\\mathit{\\Xi}"),we("\\varPi","\\mathit{\\Pi}"),we("\\varSigma","\\mathit{\\Sigma}"),we("\\varUpsilon","\\mathit{\\Upsilon}"),we("\\varPhi","\\mathit{\\Phi}"),we("\\varPsi","\\mathit{\\Psi}"),we("\\varOmega","\\mathit{\\Omega}"),we("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),we("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),we("\\boxed","\\fbox{$\\displaystyle{#1}$}"),we("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),we("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),we("\\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"};we("\\dots",function(re){var l="\\dotso",d=re.expandAfterFuture().text;return d in cn?l=cn[d]:(d.substr(0,4)==="\\not"||d in Tt.math&&U.contains(["bin","rel"],Tt.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};we("\\dotso",function(re){var l=re.future().text;return l in ft?"\\ldots\\,":"\\ldots"}),we("\\dotsc",function(re){var l=re.future().text;return l in ft&&l!==","?"\\ldots\\,":"\\ldots"}),we("\\cdots",function(re){var l=re.future().text;return l in ft?"\\@cdots\\,":"\\@cdots"}),we("\\dotsb","\\cdots"),we("\\dotsm","\\cdots"),we("\\dotsi","\\!\\cdots"),we("\\dotsx","\\ldots\\,"),we("\\DOTSI","\\relax"),we("\\DOTSB","\\relax"),we("\\DOTSX","\\relax"),we("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),we("\\,","\\tmspace+{3mu}{.1667em}"),we("\\thinspace","\\,"),we("\\>","\\mskip{4mu}"),we("\\:","\\tmspace+{4mu}{.2222em}"),we("\\medspace","\\:"),we("\\;","\\tmspace+{5mu}{.2777em}"),we("\\thickspace","\\;"),we("\\!","\\tmspace-{3mu}{.1667em}"),we("\\negthinspace","\\!"),we("\\negmedspace","\\tmspace-{4mu}{.2222em}"),we("\\negthickspace","\\tmspace-{5mu}{.277em}"),we("\\enspace","\\kern.5em "),we("\\enskip","\\hskip.5em\\relax"),we("\\quad","\\hskip1em\\relax"),we("\\qquad","\\hskip2em\\relax"),we("\\tag","\\@ifstar\\tag@literal\\tag@paren"),we("\\tag@paren","\\tag@literal{({#1})}"),we("\\tag@literal",function(re){if(re.macros.get("\\df@tag"))throw new q("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),we("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),we("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),we("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),we("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),we("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),we("\\\\","\\newline"),we("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Ln=Ke["Main-Regular"][84][1]-.7*Ke["Main-Regular"][65][1]+"em";we("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Ln+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),we("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Ln+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),we("\\hspace","\\@ifstar\\@hspacer\\@hspace"),we("\\@hspace","\\hskip #1\\relax"),we("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),we("\\ordinarycolon",":"),we("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),we("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),we("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),we("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),we("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),we("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),we("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),we("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),we("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),we("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),we("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),we("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),we("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),we("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),we("\u2237","\\dblcolon"),we("\u2239","\\eqcolon"),we("\u2254","\\coloneqq"),we("\u2255","\\eqqcolon"),we("\u2A74","\\Coloneqq"),we("\\ratio","\\vcentcolon"),we("\\coloncolon","\\dblcolon"),we("\\colonequals","\\coloneqq"),we("\\coloncolonequals","\\Coloneqq"),we("\\equalscolon","\\eqqcolon"),we("\\equalscoloncolon","\\Eqqcolon"),we("\\colonminus","\\coloneq"),we("\\coloncolonminus","\\Coloneq"),we("\\minuscolon","\\eqcolon"),we("\\minuscoloncolon","\\Eqcolon"),we("\\coloncolonapprox","\\Colonapprox"),we("\\coloncolonsim","\\Colonsim"),we("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),we("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),we("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),we("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),we("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),we("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),we("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),we("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),we("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),we("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),we("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),we("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),we("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),we("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),we("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),we("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),we("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),we("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),we("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),we("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),we("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),we("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),we("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),we("\u27E6","\\llbracket"),we("\u27E7","\\rrbracket"),we("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),we("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),we("\u2983","\\lBrace"),we("\u2984","\\rBrace"),we("\\darr","\\downarrow"),we("\\dArr","\\Downarrow"),we("\\Darr","\\Downarrow"),we("\\lang","\\langle"),we("\\rang","\\rangle"),we("\\uarr","\\uparrow"),we("\\uArr","\\Uparrow"),we("\\Uarr","\\Uparrow"),we("\\N","\\mathbb{N}"),we("\\R","\\mathbb{R}"),we("\\Z","\\mathbb{Z}"),we("\\alef","\\aleph"),we("\\alefsym","\\aleph"),we("\\Alpha","\\mathrm{A}"),we("\\Beta","\\mathrm{B}"),we("\\bull","\\bullet"),we("\\Chi","\\mathrm{X}"),we("\\clubs","\\clubsuit"),we("\\cnums","\\mathbb{C}"),we("\\Complex","\\mathbb{C}"),we("\\Dagger","\\ddagger"),we("\\diamonds","\\diamondsuit"),we("\\empty","\\emptyset"),we("\\Epsilon","\\mathrm{E}"),we("\\Eta","\\mathrm{H}"),we("\\exist","\\exists"),we("\\harr","\\leftrightarrow"),we("\\hArr","\\Leftrightarrow"),we("\\Harr","\\Leftrightarrow"),we("\\hearts","\\heartsuit"),we("\\image","\\Im"),we("\\infin","\\infty"),we("\\Iota","\\mathrm{I}"),we("\\isin","\\in"),we("\\Kappa","\\mathrm{K}"),we("\\larr","\\leftarrow"),we("\\lArr","\\Leftarrow"),we("\\Larr","\\Leftarrow"),we("\\lrarr","\\leftrightarrow"),we("\\lrArr","\\Leftrightarrow"),we("\\Lrarr","\\Leftrightarrow"),we("\\Mu","\\mathrm{M}"),we("\\natnums","\\mathbb{N}"),we("\\Nu","\\mathrm{N}"),we("\\Omicron","\\mathrm{O}"),we("\\plusmn","\\pm"),we("\\rarr","\\rightarrow"),we("\\rArr","\\Rightarrow"),we("\\Rarr","\\Rightarrow"),we("\\real","\\Re"),we("\\reals","\\mathbb{R}"),we("\\Reals","\\mathbb{R}"),we("\\Rho","\\mathrm{P}"),we("\\sdot","\\cdot"),we("\\sect","\\S"),we("\\spades","\\spadesuit"),we("\\sub","\\subset"),we("\\sube","\\subseteq"),we("\\supe","\\supseteq"),we("\\Tau","\\mathrm{T}"),we("\\thetasym","\\vartheta"),we("\\weierp","\\wp"),we("\\Zeta","\\mathrm{Z}"),we("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),we("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),we("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),we("\\blue","\\textcolor{##6495ed}{#1}"),we("\\orange","\\textcolor{##ffa500}{#1}"),we("\\pink","\\textcolor{##ff00af}{#1}"),we("\\red","\\textcolor{##df0030}{#1}"),we("\\green","\\textcolor{##28ae7b}{#1}"),we("\\gray","\\textcolor{gray}{#1}"),we("\\purple","\\textcolor{##9d38bd}{#1}"),we("\\blueA","\\textcolor{##ccfaff}{#1}"),we("\\blueB","\\textcolor{##80f6ff}{#1}"),we("\\blueC","\\textcolor{##63d9ea}{#1}"),we("\\blueD","\\textcolor{##11accd}{#1}"),we("\\blueE","\\textcolor{##0c7f99}{#1}"),we("\\tealA","\\textcolor{##94fff5}{#1}"),we("\\tealB","\\textcolor{##26edd5}{#1}"),we("\\tealC","\\textcolor{##01d1c1}{#1}"),we("\\tealD","\\textcolor{##01a995}{#1}"),we("\\tealE","\\textcolor{##208170}{#1}"),we("\\greenA","\\textcolor{##b6ffb0}{#1}"),we("\\greenB","\\textcolor{##8af281}{#1}"),we("\\greenC","\\textcolor{##74cf70}{#1}"),we("\\greenD","\\textcolor{##1fab54}{#1}"),we("\\greenE","\\textcolor{##0d923f}{#1}"),we("\\goldA","\\textcolor{##ffd0a9}{#1}"),we("\\goldB","\\textcolor{##ffbb71}{#1}"),we("\\goldC","\\textcolor{##ff9c39}{#1}"),we("\\goldD","\\textcolor{##e07d10}{#1}"),we("\\goldE","\\textcolor{##a75a05}{#1}"),we("\\redA","\\textcolor{##fca9a9}{#1}"),we("\\redB","\\textcolor{##ff8482}{#1}"),we("\\redC","\\textcolor{##f9685d}{#1}"),we("\\redD","\\textcolor{##e84d39}{#1}"),we("\\redE","\\textcolor{##bc2612}{#1}"),we("\\maroonA","\\textcolor{##ffbde0}{#1}"),we("\\maroonB","\\textcolor{##ff92c6}{#1}"),we("\\maroonC","\\textcolor{##ed5fa6}{#1}"),we("\\maroonD","\\textcolor{##ca337c}{#1}"),we("\\maroonE","\\textcolor{##9e034e}{#1}"),we("\\purpleA","\\textcolor{##ddd7ff}{#1}"),we("\\purpleB","\\textcolor{##c6b9fc}{#1}"),we("\\purpleC","\\textcolor{##aa87ff}{#1}"),we("\\purpleD","\\textcolor{##7854ab}{#1}"),we("\\purpleE","\\textcolor{##543b78}{#1}"),we("\\mintA","\\textcolor{##f5f9e8}{#1}"),we("\\mintB","\\textcolor{##edf2df}{#1}"),we("\\mintC","\\textcolor{##e0e5cc}{#1}"),we("\\grayA","\\textcolor{##f6f7f7}{#1}"),we("\\grayB","\\textcolor{##f0f1f2}{#1}"),we("\\grayC","\\textcolor{##e3e5e6}{#1}"),we("\\grayD","\\textcolor{##d6d8da}{#1}"),we("\\grayE","\\textcolor{##babec2}{#1}"),we("\\grayF","\\textcolor{##888d93}{#1}"),we("\\grayG","\\textcolor{##626569}{#1}"),we("\\grayH","\\textcolor{##3b3e40}{#1}"),we("\\grayI","\\textcolor{##21242c}{#1}"),we("\\kaBlue","\\textcolor{##314453}{#1}"),we("\\kaGreen","\\textcolor{##71B307}{#1}");var zn={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Bn=function(){function re(d,h,v){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 Rt(Bt,h.macros),this.mode=v,this.stack=[]}var l=re.prototype;return l.feed=function(h){this.lexer=new Ct(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 v;(v=this.stack).push.apply(v,h)},l.consumeSpaces=function(){for(;;){var h=this.future();if(h.text===" ")this.stack.pop();else break}},l.consumeArgs=function(h){for(var v=[],N=0;N<h;++N){this.consumeSpaces();var le=this.popToken();if(le.text==="{"){for(var Ne=[],Me=1;Me!==0;){var tt=this.popToken();if(Ne.push(tt),tt.text==="{")++Me;else if(tt.text==="}")--Me;else if(tt.text==="EOF")throw new q("End of input in macro argument",le)}Ne.pop(),Ne.reverse(),v[N]=Ne}else{if(le.text==="EOF")throw new q("End of input expecting macro argument");v[N]=[le]}}return v},l.expandOnce=function(){var h=this.popToken(),v=h.text,N=this._getExpansion(v);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 Me=le.length-1;Me>=0;--Me){var tt=le[Me];if(tt.text==="#"){if(Me===0)throw new q("Incomplete placeholder at end of macro body",tt);if(tt=le[--Me],tt.text==="#")le.splice(Me+1,1);else if(/^[1-9]$/.test(tt.text)){var gt;(gt=le).splice.apply(gt,[Me,2].concat(Ne[+tt.text-1]))}else throw new q("Not a valid argument number",tt)}}}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 v=[],N=this.stack.length;for(this.pushToken(new Ee(h));this.stack.length>N;){var le=this.expandOnce();le instanceof Ee&&v.push(this.stack.pop())}return v}},l.expandMacroAsText=function(h){var v=this.expandMacro(h);return v&&v.map(function(N){return N.text}).join("")},l._getExpansion=function(h){var v=this.macros.get(h);if(v==null)return v;var N=typeof v=="function"?v(this):v;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 Me=new Ct(N,this.settings),tt=[],gt=Me.lex();gt.text!=="EOF";)tt.push(gt),gt=Me.lex();tt.reverse();var Ft={tokens:tt,numArgs:le};return Ft}return N},l.isDefined=function(h){return this.macros.has(h)||La.hasOwnProperty(h)||Tt.math.hasOwnProperty(h)||Tt.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"}},br={\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"},Sr=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 Bn(d,h,this.mode),this.settings=h,this.leftrightDepth=0}var l=re.prototype;return l.expect=function(h,v){if(v===void 0&&(v=!0),this.fetch().text!==h)throw new q("Expected '"+h+"', got '"+this.fetch().text+"'",this.fetch());v&&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,v){for(var N=[];;){this.mode==="math"&&this.consumeSpaces();var le=this.fetch();if(re.endOfExpression.indexOf(le.text)!==-1||v&&le.text===v||h&&La[le.text]&&La[le.text].infix)break;var Ne=this.parseAtom(v);if(!Ne)break;N.push(Ne)}return this.mode==="text"&&this.formLigatures(N),this.handleInfixNodes(N)},l.handleInfixNodes=function(h){for(var v=-1,N,le=0;le<h.length;le++){var Ne=ur(h[le],"infix");if(Ne){if(v!==-1)throw new q("only one infix operator per group",Ne.token);v=le,N=Ne.replaceWith}}if(v!==-1&&N){var Me,tt,gt=h.slice(0,v),Ft=h.slice(v+1);gt.length===1&>[0].type==="ordgroup"?Me=gt[0]:Me={type:"ordgroup",mode:this.mode,body:gt},Ft.length===1&&Ft[0].type==="ordgroup"?tt=Ft[0]:tt={type:"ordgroup",mode:this.mode,body:Ft};var Yt;return N==="\\\\abovefrac"?Yt=this.callFunction(N,[Me,h[v],tt],[]):Yt=this.callFunction(N,[Me,tt],[]),[Yt]}else return h},l.handleSupSubscript=function(h){var v=this.fetch(),N=v.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+"'",v);return le},l.formatUnsupportedCmd=function(h){for(var v=[],N=0;N<h.length;N++)v.push({type:"textord",mode:"text",text:h[N]});var le={type:"text",mode:this.mode,body:v},Ne={type:"color",mode:this.mode,color:this.settings.errorColor,body:[le]};return Ne},l.parseAtom=function(h){var v=this.parseGroup("atom",!1,null,h);if(this.mode==="text")return v;for(var N,le;;){this.consumeSpaces();var Ne=this.fetch();if(Ne.text==="\\limits"||Ne.text==="\\nolimits"){var Me=ur(v,"op");if(Me){var tt=Ne.text==="\\limits";Me.limits=tt,Me.alwaysHandleSupSub=!0}else if(Me=ur(v,"operatorname"),Me&&Me.alwaysHandleSupSub){var gt=Ne.text==="\\limits";Me.limits=gt}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 Ft={type:"textord",mode:this.mode,text:"\\prime"},Yt=[Ft];for(this.consume();this.fetch().text==="'";)Yt.push(Ft),this.consume();this.fetch().text==="^"&&Yt.push(this.handleSupSubscript("superscript")),N={type:"ordgroup",mode:this.mode,body:Yt}}else break}return N||le?{type:"supsub",mode:this.mode,base:v,sup:N,sub:le}:v},l.parseFunction=function(h,v,N){var le=this.fetch(),Ne=le.text,Me=La[Ne];if(!Me)return null;if(this.consume(),N!=null&&Me.greediness<=N)throw new q("Got function '"+Ne+"' with no arguments"+(v?" as "+v:""),le);if(this.mode==="text"&&!Me.allowedInText)throw new q("Can't use function '"+Ne+"' in text mode",le);if(this.mode==="math"&&Me.allowedInMath===!1)throw new q("Can't use function '"+Ne+"' in math mode",le);var tt=this.parseArguments(Ne,Me),gt=tt.args,Ft=tt.optArgs;return this.callFunction(Ne,gt,Ft,le,h)},l.callFunction=function(h,v,N,le,Ne){var Me={funcName:h,parser:this,token:le,breakOnTokenText:Ne},tt=La[h];if(tt&&tt.handler)return tt.handler(Me,v,N);throw new q("No function handler for "+h)},l.parseArguments=function(h,v){var N=v.numArgs+v.numOptionalArgs;if(N===0)return{args:[],optArgs:[]};for(var le=v.greediness,Ne=[],Me=[],tt=0;tt<N;tt++){var gt=v.argTypes&&v.argTypes[tt],Ft=tt<v.numOptionalArgs,Yt=tt>0&&!Ft||tt===0&&!Ft&&this.mode==="math",Sn=this.parseGroupOfType("argument to '"+h+"'",gt,Ft,le,Yt);if(!Sn){if(Ft){Me.push(null);continue}throw new q("Expected group after '"+h+"'",this.fetch())}(Ft?Me:Ne).push(Sn)}return{args:Ne,optArgs:Me}},l.parseGroupOfType=function(h,v,N,le,Ne){switch(v){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,v,Ne);case"hbox":{var Me=this.parseGroup(h,N,le,void 0,"text",Ne);if(!Me)return Me;var tt={type:"styling",mode:Me.mode,body:[Me],style:"text"};return tt}case"raw":{if(Ne&&this.consumeSpaces(),N&&this.fetch().text==="{")return null;var gt=this.parseStringGroup("raw",N,!0);if(gt)return{type:"raw",mode:"text",string:gt.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,v,N){var le=v?"[":"{",Ne=v?"]":"}",Me=this.fetch();if(Me.text!==le){if(v)return null;if(N&&Me.text!=="EOF"&&/[^{}[\]]/.test(Me.text))return this.consume(),Me}var tt=this.mode;this.mode="text",this.expect(le);for(var gt="",Ft=this.fetch(),Yt=0,Sn=Ft,Xt;(Xt=this.fetch()).text!==Ne||N&&Yt>0;){switch(Xt.text){case"EOF":throw new q("Unexpected end of input in "+h,Ft.range(Sn,gt));case le:Yt++;break;case Ne:Yt--;break}Sn=Xt,gt+=Sn.text,this.consume()}return this.expect(Ne),this.mode=tt,Ft.range(Sn,gt)},l.parseRegexGroup=function(h,v){var N=this.mode;this.mode="text";for(var le=this.fetch(),Ne=le,Me="",tt;(tt=this.fetch()).text!=="EOF"&&h.test(Me+tt.text);)Ne=tt,Me+=Ne.text,this.consume();if(Me==="")throw new q("Invalid "+v+": '"+le.text+"'",le);return this.mode=N,le.range(Ne,Me)},l.parseColorGroup=function(h){var v=this.parseStringGroup("color",h);if(!v)return null;var N=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(v.text);if(!N)throw new q("Invalid color: '"+v.text+"'",v);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 v,N=!1;if(!h&&this.fetch().text!=="{"?v=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):v=this.parseStringGroup("size",h),!v)return null;!h&&v.text.length===0&&(v.text="0pt",N=!0);var le=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(v.text);if(!le)throw new q("Invalid size: '"+v.text+"'",v);var Ne={number:+(le[1]+le[2]),unit:le[3]};if(!ht(Ne))throw new q("Invalid unit: '"+Ne.unit+"'",v);return{type:"size",mode:this.mode,value:Ne,isBlank:N}},l.parseUrlGroup=function(h,v){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,v,N,le,Ne,Me){var tt=this.mode;Ne&&this.switchMode(Ne),Me&&this.consumeSpaces();var gt=this.fetch(),Ft=gt.text,Yt;if(v?Ft==="[":Ft==="{"||Ft==="\\begingroup"){this.consume();var Sn=re.endOfGroup[Ft];this.gullet.beginGroup();var Xt=this.parseExpression(!1,Sn),on=this.fetch();this.expect(Sn),this.gullet.endGroup(),Yt={type:"ordgroup",mode:this.mode,loc:X.range(gt,on),body:Xt,semisimple:Ft==="\\begingroup"||void 0}}else if(v)Yt=null;else if(Yt=this.parseFunction(le,h,N)||this.parseSymbol(),Yt==null&&Ft[0]==="\\"&&!zn.hasOwnProperty(Ft)){if(this.settings.throwOnError)throw new q("Undefined control sequence: "+Ft,gt);Yt=this.formatUnsupportedCmd(Ft),this.consume()}return Ne&&this.switchMode(tt),Yt},l.formLigatures=function(h){for(var v=h.length-1,N=0;N<v;++N){var le=h[N],Ne=le.text;Ne==="-"&&h[N+1].text==="-"&&(N+1<v&&h[N+2].text==="-"?(h.splice(N,3,{type:"textord",mode:"text",loc:X.range(le,h[N+2]),text:"---"}),v-=2):(h.splice(N,2,{type:"textord",mode:"text",loc:X.range(le,h[N+1]),text:"--"}),v-=1)),(Ne==="'"||Ne==="`")&&h[N+1].text===Ne&&(h.splice(N,2,{type:"textord",mode:"text",loc:X.range(le,h[N+1]),text:Ne+Ne}),v-=1)}},l.parseSymbol=function(){var h=this.fetch(),v=h.text;if(/^\\verb[^a-zA-Z]/.test(v)){this.consume();var N=v.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}}br.hasOwnProperty(v[0])&&!Tt[this.mode][v[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+v[0]+'" used in math mode',h),v=br[v[0]]+v.substr(1));var Ne=rt.exec(v);Ne&&(v=v.substring(0,Ne.index),v==="i"?v="\u0131":v==="j"&&(v="\u0237"));var Me;if(Tt[this.mode][v]){this.settings.strict&&this.mode==="math"&&tn.indexOf(v)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+v[0]+'" used in math mode',h);var tt=Tt[this.mode][v].group,gt=X.range(h),Ft;if(xt.hasOwnProperty(tt)){var Yt=tt;Ft={type:"atom",mode:this.mode,family:Yt,loc:gt,text:v}}else Ft={type:tt,mode:this.mode,loc:gt,text:v};Me=Ft}else if(v.charCodeAt(0)>=128)this.settings.strict&&(Le(v.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+v[0]+'" used in math mode',h):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+v[0]+'"'+(" ("+v.charCodeAt(0)+")"),h)),Me={type:"textord",mode:"text",loc:X.range(h),text:v};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);Me={type:"accent",mode:this.mode,loc:X.range(h),label:on,isStretchy:!1,isShifty:!0,base:Me}}return Me},re}();Sr.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Sr.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Sr.SUPSUB_GREEDINESS=1;var pr=function(l,d){if(!(typeof l=="string"||l instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var h=new Sr(l,d);delete h.gullet.macros.current["\\df@tag"];var v=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"),v=[{type:"tag",mode:"text",body:v,tag:h.parse()}]}return v},Or=pr,Br=function(l,d,h){d.textContent="";var v=Un(l,h).toNode();d.appendChild(v)};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."),Br=function(){throw new q("KaTeX doesn't work in quirks mode.")});var Gn=function(l,d){var h=Un(l,d).toMarkup();return h},mr=function(l,d){var h=new V(d);return Or(l,h)},Yn=function(l,d,h){if(h.throwOnError||!(l instanceof q))throw l;var v=at.makeSpan(["katex-error"],[new _(d)]);return v.setAttribute("title",l.toString()),v.setAttribute("style","color:"+h.errorColor),v},Un=function(l,d){var h=new V(d);try{var v=Or(l,h);return yi(v,l,h)}catch(N){return Yn(N,l,h)}},hr=function(l,d){var h=new V(d);try{var v=Or(l,h);return Ii(v,l,h)}catch(N){return Yn(N,l,h)}},Ir={version:"0.11.1",render:Br,renderToString:Gn,ParseError:q,__parse:mr,__renderToDomTree:Un,__renderToHTMLTree:hr,__setFontMetrics:Ye,__defineSymbol:w,__defineMacro:we,__domTree:{Span:H,Anchor:O,SymbolNode:_,SvgNode:T,PathNode:ee,LineNode:W}},Gr=f.default=Ir}]).default})},32834:function(nn){(function(nt,f){nn.exports=f()})(this,function(){"use strict";function nt(We,et){for(var Xe=0;Xe<et.length;Xe++){var Se=et[Xe];Se.enumerable=Se.enumerable||!1,Se.configurable=!0,"value"in Se&&(Se.writable=!0),Object.defineProperty(We,Se.key,Se)}}function f(We,et,Xe){return et&&nt(We.prototype,et),Xe&&nt(We,Xe),We}function y(We,et){if(We){if(typeof We=="string")return L(We,et);var Xe=Object.prototype.toString.call(We).slice(8,-1);if(Xe==="Object"&&We.constructor&&(Xe=We.constructor.name),Xe==="Map"||Xe==="Set")return Array.from(We);if(Xe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Xe))return L(We,et)}}function L(We,et){(et==null||et>We.length)&&(et=We.length);for(var Xe=0,Se=new Array(et);Xe<et;Xe++)Se[Xe]=We[Xe];return Se}function X(We,et){var Xe=typeof Symbol!="undefined"&&We[Symbol.iterator]||We["@@iterator"];if(Xe)return(Xe=Xe.call(We)).next.bind(Xe);if(Array.isArray(We)||(Xe=y(We))||et&&We&&typeof We.length=="number"){Xe&&(We=Xe);var Se=0;return function(){return Se>=We.length?{done:!0}:{done:!1,value:We[Se++]}}}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(We){Ee.exports.defaults=We}Ee.exports={defaults:$(),getDefaults:$,changeDefaults:q};var C=/[&<>"']/,xe=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,I=/[<>"']|&(?!#?\w+;)/g,K={"&":"&","<":"<",">":">",'"':""","'":"'"},S=function(et){return K[et]};function u(We,et){if(et){if(C.test(We))return We.replace(xe,S)}else if(a.test(We))return We.replace(I,S);return We}var x=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function m(We){return We.replace(x,function(et,Xe){return Xe=Xe.toLowerCase(),Xe==="colon"?":":Xe.charAt(0)==="#"?Xe.charAt(1)==="x"?String.fromCharCode(parseInt(Xe.substring(2),16)):String.fromCharCode(+Xe.substring(1)):""})}var P=/(^|[^\[])\^/g;function ue(We,et){We=We.source||We,et=et||"";var Xe={replace:function(Ie,ze){return ze=ze.source||ze,ze=ze.replace(P,"$1"),We=We.replace(Ie,ze),Xe},getRegex:function(){return new RegExp(We,et)}};return Xe}var U=/[^\w:]/g,V=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function ne(We,et,Xe){if(We){var Se;try{Se=decodeURIComponent(m(Xe)).replace(U,"").toLowerCase()}catch(Ie){return null}if(Se.indexOf("javascript:")===0||Se.indexOf("vbscript:")===0||Se.indexOf("data:")===0)return null}et&&!V.test(Xe)&&(Xe=z(et,Xe));try{Xe=encodeURI(Xe).replace(/%25/g,"%")}catch(Ie){return null}return Xe}var Q={},b=/^[^:]+:\/*[^/]*$/,R=/^([^:]+:)[\s\S]*$/,Z=/^([^:]+:\/*[^/]*)[\s\S]*$/;function z(We,et){Q[" "+We]||(b.test(We)?Q[" "+We]=We+"/":Q[" "+We]=ae(We,"/",!0)),We=Q[" "+We];var Xe=We.indexOf(":")===-1;return et.substring(0,2)==="//"?Xe?et:We.replace(R,"$1")+et:et.charAt(0)==="/"?Xe?et:We.replace(Z,"$1")+et:We+et}var pe={exec:function(){}};function me(We){for(var et=1,Xe,Se;et<arguments.length;et++){Xe=arguments[et];for(Se in Xe)Object.prototype.hasOwnProperty.call(Xe,Se)&&(We[Se]=Xe[Se])}return We}function de(We,et){var Xe=We.replace(/\|/g,function(ze,qe,be){for(var en=!1,$e=qe;--$e>=0&&be[$e]==="\\";)en=!en;return en?"|":" |"}),Se=Xe.split(/ \|/),Ie=0;if(Se.length>et)Se.splice(et);else for(;Se.length<et;)Se.push("");for(;Ie<Se.length;Ie++)Se[Ie]=Se[Ie].trim().replace(/\\\|/g,"|");return Se}function ae(We,et,Xe){var Se=We.length;if(Se===0)return"";for(var Ie=0;Ie<Se;){var ze=We.charAt(Se-Ie-1);if(ze===et&&!Xe)Ie++;else if(ze!==et&&Xe)Ie++;else break}return We.substr(0,Se-Ie)}function te(We,et){if(We.indexOf(et[1])===-1)return-1;for(var Xe=We.length,Se=0,Ie=0;Ie<Xe;Ie++)if(We[Ie]==="\\")Ie++;else if(We[Ie]===et[0])Se++;else if(We[Ie]===et[1]&&(Se--,Se<0))return Ie;return-1}function B(We){We&&We.sanitize&&!We.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 fe(We,et){if(et<1)return"";for(var Xe="";et>1;)et&1&&(Xe+=We),et>>=1,We+=We;return Xe+We}var Y={escape:u,unescape:m,edit:ue,cleanUrl:ne,resolveUrl:z,noopTest:pe,merge:me,splitCells:de,rtrim:ae,findClosingBracket:te,checkSanitizeDeprecation:B,repeatString:fe},ce=Ee.exports.defaults,ie=Y.rtrim,g=Y.splitCells,E=Y.escape,G=Y.findClosingBracket;function J(We,et,Xe){var Se=et.href,Ie=et.title?E(et.title):null,ze=We[1].replace(/\\([\[\]])/g,"$1");return We[0].charAt(0)!=="!"?{type:"link",raw:Xe,href:Se,title:Ie,text:ze}:{type:"image",raw:Xe,href:Se,title:Ie,text:E(ze)}}function Le(We,et){var Xe=We.match(/^(\s+)(?:```)/);if(Xe===null)return et;var Se=Xe[1];return et.split(`
|
|
|
`).map(function(Ie){var ze=Ie.match(/^\s+/);if(ze===null)return Ie;var qe=ze[0];return qe.length>=Se.length?Ie.slice(Se.length):Ie}).join(`
|
|
|
`)}var ke=function(){function We(Xe){this.options=Xe||ce}var et=We.prototype;return et.space=function(Se){var Ie=this.rules.block.newline.exec(Se);if(Ie)return Ie[0].length>1?{type:"space",raw:Ie[0]}:{raw:`
|
|
|
`}},et.code=function(Se){var Ie=this.rules.block.code.exec(Se);if(Ie){var ze=Ie[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:Ie[0],codeBlockStyle:"indented",text:this.options.pedantic?ze:ie(ze,`
|
|
|
`)}}},et.fences=function(Se){var Ie=this.rules.block.fences.exec(Se);if(Ie){var ze=Ie[0],qe=Le(ze,Ie[3]||"");return{type:"code",raw:ze,lang:Ie[2]?Ie[2].trim():Ie[2],text:qe}}},et.heading=function(Se){var Ie=this.rules.block.heading.exec(Se);if(Ie){var ze=Ie[2].trim();if(/#$/.test(ze)){var qe=ie(ze,"#");(this.options.pedantic||!qe||/ $/.test(qe))&&(ze=qe.trim())}return{type:"heading",raw:Ie[0],depth:Ie[1].length,text:ze}}},et.nptable=function(Se){var Ie=this.rules.block.nptable.exec(Se);if(Ie){var ze={type:"table",header:g(Ie[1].replace(/^ *| *\| *$/g,"")),align:Ie[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ie[3]?Ie[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:Ie[0]};if(ze.header.length===ze.align.length){var qe=ze.align.length,be;for(be=0;be<qe;be++)/^ *-+: *$/.test(ze.align[be])?ze.align[be]="right":/^ *:-+: *$/.test(ze.align[be])?ze.align[be]="center":/^ *:-+ *$/.test(ze.align[be])?ze.align[be]="left":ze.align[be]=null;for(qe=ze.cells.length,be=0;be<qe;be++)ze.cells[be]=g(ze.cells[be],ze.header.length);return ze}}},et.hr=function(Se){var Ie=this.rules.block.hr.exec(Se);if(Ie)return{type:"hr",raw:Ie[0]}},et.blockquote=function(Se){var Ie=this.rules.block.blockquote.exec(Se);if(Ie){var ze=Ie[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:Ie[0],text:ze}}},et.list=function(Se){var Ie=this.rules.block.list.exec(Se);if(Ie){var ze=Ie[0],qe=Ie[2],be=qe.length>1,en={type:"list",raw:ze,ordered:be,start:be?+qe.slice(0,-1):"",loose:!1,items:[]},$e=Ie[0].match(this.rules.block.item),bn=!1,Cn,jt,Jt,wt,Pt,Ve,At,St,Ue,Ce=$e.length;Jt=this.rules.block.listItemStart.exec($e[0]);for(var mt=0;mt<Ce;mt++){if(Cn=$e[mt],ze=Cn,this.options.pedantic||(Ue=Cn.match(new RegExp("\\n\\s*\\n {0,"+(Jt[0].length-1)+"}\\S")),Ue&&(Pt=Cn.length-Ue.index+$e.slice(mt+1).join(`
|
|
|
`).length,en.raw=en.raw.substring(0,en.raw.length-Pt),Cn=Cn.substring(0,Ue.index),ze=Cn,Ce=mt+1)),mt!==Ce-1){if(wt=this.rules.block.listItemStart.exec($e[mt+1]),this.options.pedantic?wt[1].length>Jt[1].length:wt[1].length>=Jt[0].length||wt[1].length>3){$e.splice(mt,2,$e[mt]+(!this.options.pedantic&&wt[1].length<Jt[0].length&&!$e[mt].match(/\n$/)?"":`
|
|
|
`)+$e[mt+1]),mt--,Ce--;continue}else(!this.options.pedantic||this.options.smartLists?wt[2][wt[2].length-1]!==qe[qe.length-1]:be===(wt[2].length===1))&&(Pt=$e.slice(mt+1).join(`
|
|
|
`).length,en.raw=en.raw.substring(0,en.raw.length-Pt),mt=Ce-1);Jt=wt}jt=Cn.length,Cn=Cn.replace(/^ *([*+-]|\d+[.)]) ?/,""),~Cn.indexOf(`
|
|
|
`)&&(jt-=Cn.length,Cn=this.options.pedantic?Cn.replace(/^ {1,4}/gm,""):Cn.replace(new RegExp("^ {1,"+jt+"}","gm"),"")),Cn=ie(Cn,`
|
|
|
`),mt!==Ce-1&&(ze=ze+`
|
|
|
`),Ve=bn||/\n\n(?!\s*$)/.test(ze),mt!==Ce-1&&(bn=ze.slice(-2)===`
|
|
|
|
|
|
`,Ve||(Ve=bn)),Ve&&(en.loose=!0),this.options.gfm&&(At=/^\[[ xX]\] /.test(Cn),St=void 0,At&&(St=Cn[1]!==" ",Cn=Cn.replace(/^\[[ xX]\] +/,""))),en.items.push({type:"list_item",raw:ze,task:At,checked:St,loose:Ve,text:Cn})}return en}},et.html=function(Se){var Ie=this.rules.block.html.exec(Se);if(Ie)return{type:this.options.sanitize?"paragraph":"html",raw:Ie[0],pre:!this.options.sanitizer&&(Ie[1]==="pre"||Ie[1]==="script"||Ie[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ie[0]):E(Ie[0]):Ie[0]}},et.def=function(Se){var Ie=this.rules.block.def.exec(Se);if(Ie){Ie[3]&&(Ie[3]=Ie[3].substring(1,Ie[3].length-1));var ze=Ie[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:ze,raw:Ie[0],href:Ie[2],title:Ie[3]}}},et.table=function(Se){var Ie=this.rules.block.table.exec(Se);if(Ie){var ze={type:"table",header:g(Ie[1].replace(/^ *| *\| *$/g,"")),align:Ie[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ie[3]?Ie[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(ze.header.length===ze.align.length){ze.raw=Ie[0];var qe=ze.align.length,be;for(be=0;be<qe;be++)/^ *-+: *$/.test(ze.align[be])?ze.align[be]="right":/^ *:-+: *$/.test(ze.align[be])?ze.align[be]="center":/^ *:-+ *$/.test(ze.align[be])?ze.align[be]="left":ze.align[be]=null;for(qe=ze.cells.length,be=0;be<qe;be++)ze.cells[be]=g(ze.cells[be].replace(/^ *\| *| *\| *$/g,""),ze.header.length);return ze}}},et.lheading=function(Se){var Ie=this.rules.block.lheading.exec(Se);if(Ie)return{type:"heading",raw:Ie[0],depth:Ie[2].charAt(0)==="="?1:2,text:Ie[1]}},et.paragraph=function(Se){var Ie=this.rules.block.paragraph.exec(Se);if(Ie)return{type:"paragraph",raw:Ie[0],text:Ie[1].charAt(Ie[1].length-1)===`
|
|
|
`?Ie[1].slice(0,-1):Ie[1]}},et.text=function(Se){var Ie=this.rules.block.text.exec(Se);if(Ie)return{type:"text",raw:Ie[0],text:Ie[0]}},et.escape=function(Se){var Ie=this.rules.inline.escape.exec(Se);if(Ie)return{type:"escape",raw:Ie[0],text:E(Ie[1])}},et.tag=function(Se,Ie,ze){var qe=this.rules.inline.tag.exec(Se);if(qe)return!Ie&&/^<a /i.test(qe[0])?Ie=!0:Ie&&/^<\/a>/i.test(qe[0])&&(Ie=!1),!ze&&/^<(pre|code|kbd|script)(\s|>)/i.test(qe[0])?ze=!0:ze&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(qe[0])&&(ze=!1),{type:this.options.sanitize?"text":"html",raw:qe[0],inLink:Ie,inRawBlock:ze,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(qe[0]):E(qe[0]):qe[0]}},et.link=function(Se){var Ie=this.rules.inline.link.exec(Se);if(Ie){var ze=Ie[2].trim();if(!this.options.pedantic&&/^</.test(ze)){if(!/>$/.test(ze))return;var qe=ie(ze.slice(0,-1),"\\");if((ze.length-qe.length)%2===0)return}else{var be=G(Ie[2],"()");if(be>-1){var en=Ie[0].indexOf("!")===0?5:4,$e=en+Ie[1].length+be;Ie[2]=Ie[2].substring(0,be),Ie[0]=Ie[0].substring(0,$e).trim(),Ie[3]=""}}var bn=Ie[2],Cn="";if(this.options.pedantic){var jt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(bn);jt&&(bn=jt[1],Cn=jt[3])}else Cn=Ie[3]?Ie[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(Ie,{href:bn&&bn.replace(this.rules.inline._escapes,"$1"),title:Cn&&Cn.replace(this.rules.inline._escapes,"$1")},Ie[0])}},et.reflink=function(Se,Ie){var ze;if((ze=this.rules.inline.reflink.exec(Se))||(ze=this.rules.inline.nolink.exec(Se))){var qe=(ze[2]||ze[1]).replace(/\s+/g," ");if(qe=Ie[qe.toLowerCase()],!qe||!qe.href){var be=ze[0].charAt(0);return{type:"text",raw:be,text:be}}return J(ze,qe,ze[0])}},et.emStrong=function(Se,Ie,ze){ze===void 0&&(ze="");var qe=this.rules.inline.emStrong.lDelim.exec(Se);if(qe&&!(qe[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\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-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DF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\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]|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]|\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 be=qe[1]||qe[2]||"";if(!be||be&&(ze===""||this.rules.inline.punctuation.exec(ze))){var en=qe[0].length-1,$e,bn,Cn=en,jt=0,Jt=qe[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Jt.lastIndex=0,Ie=Ie.slice(-1*Se.length+en);(qe=Jt.exec(Ie))!=null;)if($e=qe[1]||qe[2]||qe[3]||qe[4]||qe[5]||qe[6],!!$e){if(bn=$e.length,qe[3]||qe[4]){Cn+=bn;continue}else if((qe[5]||qe[6])&&en%3&&!((en+bn)%3)){jt+=bn;continue}if(Cn-=bn,!(Cn>0))return bn=Math.min(bn,bn+Cn+jt),Math.min(en,bn)%2?{type:"em",raw:Se.slice(0,en+qe.index+bn+1),text:Se.slice(1,en+qe.index+bn)}:{type:"strong",raw:Se.slice(0,en+qe.index+bn+1),text:Se.slice(2,en+qe.index+bn-1)}}}}},et.codespan=function(Se){var Ie=this.rules.inline.code.exec(Se);if(Ie){var ze=Ie[2].replace(/\n/g," "),qe=/[^ ]/.test(ze),be=/^ /.test(ze)&&/ $/.test(ze);return qe&&be&&(ze=ze.substring(1,ze.length-1)),ze=E(ze,!0),{type:"codespan",raw:Ie[0],text:ze}}},et.br=function(Se){var Ie=this.rules.inline.br.exec(Se);if(Ie)return{type:"br",raw:Ie[0]}},et.del=function(Se){var Ie=this.rules.inline.del.exec(Se);if(Ie)return{type:"del",raw:Ie[0],text:Ie[2]}},et.autolink=function(Se,Ie){var ze=this.rules.inline.autolink.exec(Se);if(ze){var qe,be;return ze[2]==="@"?(qe=E(this.options.mangle?Ie(ze[1]):ze[1]),be="mailto:"+qe):(qe=E(ze[1]),be=qe),{type:"link",raw:ze[0],text:qe,href:be,tokens:[{type:"text",raw:qe,text:qe}]}}},et.url=function(Se,Ie){var ze;if(ze=this.rules.inline.url.exec(Se)){var qe,be;if(ze[2]==="@")qe=E(this.options.mangle?Ie(ze[0]):ze[0]),be="mailto:"+qe;else{var en;do en=ze[0],ze[0]=this.rules.inline._backpedal.exec(ze[0])[0];while(en!==ze[0]);qe=E(ze[0]),ze[1]==="www."?be="http://"+qe:be=qe}return{type:"link",raw:ze[0],text:qe,href:be,tokens:[{type:"text",raw:qe,text:qe}]}}},et.inlineText=function(Se,Ie,ze){var qe=this.rules.inline.text.exec(Se);if(qe){var be;return Ie?be=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(qe[0]):E(qe[0]):qe[0]:be=E(this.options.smartypants?ze(qe[0]):qe[0]),{type:"text",raw:qe[0],text:be}}},We}(),Fe=Y.noopTest,Ze=Y.edit,lt=Y.merge,ut={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:Fe,table:Fe,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};ut._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,ut._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,ut.def=Ze(ut.def).replace("label",ut._label).replace("title",ut._title).getRegex(),ut.bullet=/(?:[*+-]|\d{1,9}[.)])/,ut.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,ut.item=Ze(ut.item,"gm").replace(/bull/g,ut.bullet).getRegex(),ut.listItemStart=Ze(/^( *)(bull) */).replace("bull",ut.bullet).getRegex(),ut.list=Ze(ut.list).replace(/bull/g,ut.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+ut.def.source+")").getRegex(),ut._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",ut._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,ut.html=Ze(ut.html,"i").replace("comment",ut._comment).replace("tag",ut._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ut.paragraph=Ze(ut._paragraph).replace("hr",ut.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",ut._tag).getRegex(),ut.blockquote=Ze(ut.blockquote).replace("paragraph",ut.paragraph).getRegex(),ut.normal=lt({},ut),ut.gfm=lt({},ut.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*|$)"}),ut.gfm.nptable=Ze(ut.gfm.nptable).replace("hr",ut.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",ut._tag).getRegex(),ut.gfm.table=Ze(ut.gfm.table).replace("hr",ut.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",ut._tag).getRegex(),ut.pedantic=lt({},ut.normal,{html:Ze(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ut._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:Fe,paragraph:Ze(ut.normal._paragraph).replace("hr",ut.hr).replace("heading",` *#{1,6} *[^
|
|
|
]`).replace("lheading",ut.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var it={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Fe,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:Fe,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(ut._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=lt({},it),it.pedantic=lt({},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=lt({},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=lt({},it.gfm,{br:Ze(it.br).replace("{2,}","*").getRegex(),text:Ze(it.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Ut={block:ut,inline:it},qt=ke,an=Ee.exports.defaults,Ot=Ut.block,ot=Ut.inline,_t=Y.repeatString;function se(We){return We.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 ye(We){var et="",Xe,Se,Ie=We.length;for(Xe=0;Xe<Ie;Xe++)Se=We.charCodeAt(Xe),Math.random()>.5&&(Se="x"+Se.toString(16)),et+="&#"+Se+";";return et}var H=function(){function We(Xe){this.tokens=[],this.tokens.links=Object.create(null),this.options=Xe||an,this.options.tokenizer=this.options.tokenizer||new qt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var Se={block:Ot.normal,inline:ot.normal};this.options.pedantic?(Se.block=Ot.pedantic,Se.inline=ot.pedantic):this.options.gfm&&(Se.block=Ot.gfm,this.options.breaks?Se.inline=ot.breaks:Se.inline=ot.gfm),this.tokenizer.rules=Se}We.lex=function(Se,Ie){var ze=new We(Ie);return ze.lex(Se)},We.lexInline=function(Se,Ie){var ze=new We(Ie);return ze.inlineTokens(Se)};var et=We.prototype;return et.lex=function(Se){return Se=Se.replace(/\r\n|\r/g,`
|
|
|
`).replace(/\t/g," "),this.blockTokens(Se,this.tokens,!0),this.inline(this.tokens),this.tokens},et.blockTokens=function(Se,Ie,ze){Ie===void 0&&(Ie=[]),ze===void 0&&(ze=!0),this.options.pedantic&&(Se=Se.replace(/^ +$/gm,""));for(var qe,be,en,$e;Se;){if(qe=this.tokenizer.space(Se)){Se=Se.substring(qe.raw.length),qe.type&&Ie.push(qe);continue}if(qe=this.tokenizer.code(Se)){Se=Se.substring(qe.raw.length),$e=Ie[Ie.length-1],$e&&$e.type==="paragraph"?($e.raw+=`
|
|
|
`+qe.raw,$e.text+=`
|
|
|
`+qe.text):Ie.push(qe);continue}if(qe=this.tokenizer.fences(Se)){Se=Se.substring(qe.raw.length),Ie.push(qe);continue}if(qe=this.tokenizer.heading(Se)){Se=Se.substring(qe.raw.length),Ie.push(qe);continue}if(qe=this.tokenizer.nptable(Se)){Se=Se.substring(qe.raw.length),Ie.push(qe);continue}if(qe=this.tokenizer.hr(Se)){Se=Se.substring(qe.raw.length),Ie.push(qe);continue}if(qe=this.tokenizer.blockquote(Se)){Se=Se.substring(qe.raw.length),qe.tokens=this.blockTokens(qe.text,[],ze),Ie.push(qe);continue}if(qe=this.tokenizer.list(Se)){for(Se=Se.substring(qe.raw.length),en=qe.items.length,be=0;be<en;be++)qe.items[be].tokens=this.blockTokens(qe.items[be].text,[],!1);Ie.push(qe);continue}if(qe=this.tokenizer.html(Se)){Se=Se.substring(qe.raw.length),Ie.push(qe);continue}if(ze&&(qe=this.tokenizer.def(Se))){Se=Se.substring(qe.raw.length),this.tokens.links[qe.tag]||(this.tokens.links[qe.tag]={href:qe.href,title:qe.title});continue}if(qe=this.tokenizer.table(Se)){Se=Se.substring(qe.raw.length),Ie.push(qe);continue}if(qe=this.tokenizer.lheading(Se)){Se=Se.substring(qe.raw.length),Ie.push(qe);continue}if(ze&&(qe=this.tokenizer.paragraph(Se))){Se=Se.substring(qe.raw.length),Ie.push(qe);continue}if(qe=this.tokenizer.text(Se)){Se=Se.substring(qe.raw.length),$e=Ie[Ie.length-1],$e&&$e.type==="text"?($e.raw+=`
|
|
|
`+qe.raw,$e.text+=`
|
|
|
`+qe.text):Ie.push(qe);continue}if(Se){var bn="Infinite loop on byte: "+Se.charCodeAt(0);if(this.options.silent){console.error(bn);break}else throw new Error(bn)}}return Ie},et.inline=function(Se){var Ie,ze,qe,be,en,$e,bn=Se.length;for(Ie=0;Ie<bn;Ie++)switch($e=Se[Ie],$e.type){case"paragraph":case"text":case"heading":{$e.tokens=[],this.inlineTokens($e.text,$e.tokens);break}case"table":{for($e.tokens={header:[],cells:[]},be=$e.header.length,ze=0;ze<be;ze++)$e.tokens.header[ze]=[],this.inlineTokens($e.header[ze],$e.tokens.header[ze]);for(be=$e.cells.length,ze=0;ze<be;ze++)for(en=$e.cells[ze],$e.tokens.cells[ze]=[],qe=0;qe<en.length;qe++)$e.tokens.cells[ze][qe]=[],this.inlineTokens(en[qe],$e.tokens.cells[ze][qe]);break}case"blockquote":{this.inline($e.tokens);break}case"list":{for(be=$e.items.length,ze=0;ze<be;ze++)this.inline($e.items[ze].tokens);break}}return Se},et.inlineTokens=function(Se,Ie,ze,qe){Ie===void 0&&(Ie=[]),ze===void 0&&(ze=!1),qe===void 0&&(qe=!1);var be,en,$e=Se,bn,Cn,jt;if(this.tokens.links){var Jt=Object.keys(this.tokens.links);if(Jt.length>0)for(;(bn=this.tokenizer.rules.inline.reflinkSearch.exec($e))!=null;)Jt.includes(bn[0].slice(bn[0].lastIndexOf("[")+1,-1))&&($e=$e.slice(0,bn.index)+"["+_t("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)+"["+_t("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(;Se;){if(Cn||(jt=""),Cn=!1,be=this.tokenizer.escape(Se)){Se=Se.substring(be.raw.length),Ie.push(be);continue}if(be=this.tokenizer.tag(Se,ze,qe)){Se=Se.substring(be.raw.length),ze=be.inLink,qe=be.inRawBlock;var wt=Ie[Ie.length-1];wt&&be.type==="text"&&wt.type==="text"?(wt.raw+=be.raw,wt.text+=be.text):Ie.push(be);continue}if(be=this.tokenizer.link(Se)){Se=Se.substring(be.raw.length),be.type==="link"&&(be.tokens=this.inlineTokens(be.text,[],!0,qe)),Ie.push(be);continue}if(be=this.tokenizer.reflink(Se,this.tokens.links)){Se=Se.substring(be.raw.length);var Pt=Ie[Ie.length-1];be.type==="link"?(be.tokens=this.inlineTokens(be.text,[],!0,qe),Ie.push(be)):Pt&&be.type==="text"&&Pt.type==="text"?(Pt.raw+=be.raw,Pt.text+=be.text):Ie.push(be);continue}if(be=this.tokenizer.emStrong(Se,$e,jt)){Se=Se.substring(be.raw.length),be.tokens=this.inlineTokens(be.text,[],ze,qe),Ie.push(be);continue}if(be=this.tokenizer.codespan(Se)){Se=Se.substring(be.raw.length),Ie.push(be);continue}if(be=this.tokenizer.br(Se)){Se=Se.substring(be.raw.length),Ie.push(be);continue}if(be=this.tokenizer.del(Se)){Se=Se.substring(be.raw.length),be.tokens=this.inlineTokens(be.text,[],ze,qe),Ie.push(be);continue}if(be=this.tokenizer.autolink(Se,ye)){Se=Se.substring(be.raw.length),Ie.push(be);continue}if(!ze&&(be=this.tokenizer.url(Se,ye))){Se=Se.substring(be.raw.length),Ie.push(be);continue}if(be=this.tokenizer.inlineText(Se,qe,se)){Se=Se.substring(be.raw.length),be.raw.slice(-1)!=="_"&&(jt=be.raw.slice(-1)),Cn=!0,en=Ie[Ie.length-1],en&&en.type==="text"?(en.raw+=be.raw,en.text+=be.text):Ie.push(be);continue}if(Se){var Ve="Infinite loop on byte: "+Se.charCodeAt(0);if(this.options.silent){console.error(Ve);break}else throw new Error(Ve)}}return Ie},f(We,null,[{key:"rules",get:function(){return{block:Ot,inline:ot}}}]),We}(),O=Ee.exports.defaults,Ae=Y.cleanUrl,k=Y.escape,_=function(){function We(Xe){this.options=Xe||O}var et=We.prototype;return et.code=function(Se,Ie,ze){var qe=(Ie||"").match(/\S*/)[0];if(this.options.highlight){var be=this.options.highlight(Se,qe);be!=null&&be!==Se&&(ze=!0,Se=be)}return Se=Se.replace(/\n$/,"")+`
|
|
|
`,qe?'<pre><code class="'+this.options.langPrefix+k(qe,!0)+'">'+(ze?Se:k(Se,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(ze?Se:k(Se,!0))+`</code></pre>
|
|
|
`},et.blockquote=function(Se){return`<blockquote>
|
|
|
`+Se+`</blockquote>
|
|
|
`},et.html=function(Se){return Se},et.heading=function(Se,Ie,ze,qe){return this.options.headerIds?"<h"+Ie+' id="'+this.options.headerPrefix+qe.slug(ze)+'">'+Se+"</h"+Ie+`>
|
|
|
`:"<h"+Ie+">"+Se+"</h"+Ie+`>
|
|
|
`},et.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},et.list=function(Se,Ie,ze){var qe=Ie?"ol":"ul",be=Ie&&ze!==1?' start="'+ze+'"':"";return"<"+qe+be+`>
|
|
|
`+Se+"</"+qe+`>
|
|
|
`},et.listitem=function(Se){return"<li>"+Se+`</li>
|
|
|
`},et.checkbox=function(Se){return"<input "+(Se?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},et.paragraph=function(Se){return"<p>"+Se+`</p>
|
|
|
`},et.table=function(Se,Ie){return Ie&&(Ie="<tbody>"+Ie+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+Se+`</thead>
|
|
|
`+Ie+`</table>
|
|
|
`},et.tablerow=function(Se){return`<tr>
|
|
|
`+Se+`</tr>
|
|
|
`},et.tablecell=function(Se,Ie){var ze=Ie.header?"th":"td",qe=Ie.align?"<"+ze+' align="'+Ie.align+'">':"<"+ze+">";return qe+Se+"</"+ze+`>
|
|
|
`},et.strong=function(Se){return"<strong>"+Se+"</strong>"},et.em=function(Se){return"<em>"+Se+"</em>"},et.codespan=function(Se){return"<code>"+Se+"</code>"},et.br=function(){return this.options.xhtml?"<br/>":"<br>"},et.del=function(Se){return"<del>"+Se+"</del>"},et.link=function(Se,Ie,ze){if(Se=Ae(this.options.sanitize,this.options.baseUrl,Se),Se===null)return ze;var qe='<a href="'+k(Se)+'"';return Ie&&(qe+=' title="'+Ie+'"'),qe+=">"+ze+"</a>",qe},et.image=function(Se,Ie,ze){if(Se=Ae(this.options.sanitize,this.options.baseUrl,Se),Se===null)return ze;var qe='<img src="'+Se+'" alt="'+ze+'"';return Ie&&(qe+=' title="'+Ie+'"'),qe+=this.options.xhtml?"/>":">",qe},et.text=function(Se){return Se},We}(),T=function(){function We(){}var et=We.prototype;return et.strong=function(Se){return Se},et.em=function(Se){return Se},et.codespan=function(Se){return Se},et.del=function(Se){return Se},et.html=function(Se){return Se},et.text=function(Se){return Se},et.link=function(Se,Ie,ze){return""+ze},et.image=function(Se,Ie,ze){return""+ze},et.br=function(){return""},We}(),ee=function(){function We(){this.seen={}}var et=We.prototype;return et.serialize=function(Se){return Se.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},et.getNextSafeSlug=function(Se,Ie){var ze=Se,qe=0;if(this.seen.hasOwnProperty(ze)){qe=this.seen[Se];do qe++,ze=Se+"-"+qe;while(this.seen.hasOwnProperty(ze))}return Ie||(this.seen[Se]=qe,this.seen[ze]=0),ze},et.slug=function(Se,Ie){Ie===void 0&&(Ie={});var ze=this.serialize(Se);return this.getNextSafeSlug(ze,Ie.dryrun)},We}(),W=_,j=T,_e=ee,Ke=Ee.exports.defaults,De=Y.unescape,Oe=function(){function We(Xe){this.options=Xe||Ke,this.options.renderer=this.options.renderer||new W,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new j,this.slugger=new _e}We.parse=function(Se,Ie){var ze=new We(Ie);return ze.parse(Se)},We.parseInline=function(Se,Ie){var ze=new We(Ie);return ze.parseInline(Se)};var et=We.prototype;return et.parse=function(Se,Ie){Ie===void 0&&(Ie=!0);var ze="",qe,be,en,$e,bn,Cn,jt,Jt,wt,Pt,Ve,At,St,Ue,Ce,mt,pt,Dt,zt=Se.length;for(qe=0;qe<zt;qe++)switch(Pt=Se[qe],Pt.type){case"space":continue;case"hr":{ze+=this.renderer.hr();continue}case"heading":{ze+=this.renderer.heading(this.parseInline(Pt.tokens),Pt.depth,De(this.parseInline(Pt.tokens,this.textRenderer)),this.slugger);continue}case"code":{ze+=this.renderer.code(Pt.text,Pt.lang,Pt.escaped);continue}case"table":{for(Jt="",jt="",$e=Pt.header.length,be=0;be<$e;be++)jt+=this.renderer.tablecell(this.parseInline(Pt.tokens.header[be]),{header:!0,align:Pt.align[be]});for(Jt+=this.renderer.tablerow(jt),wt="",$e=Pt.cells.length,be=0;be<$e;be++){for(Cn=Pt.tokens.cells[be],jt="",bn=Cn.length,en=0;en<bn;en++)jt+=this.renderer.tablecell(this.parseInline(Cn[en]),{header:!1,align:Pt.align[en]});wt+=this.renderer.tablerow(jt)}ze+=this.renderer.table(Jt,wt);continue}case"blockquote":{wt=this.parse(Pt.tokens),ze+=this.renderer.blockquote(wt);continue}case"list":{for(Ve=Pt.ordered,At=Pt.start,St=Pt.loose,$e=Pt.items.length,wt="",be=0;be<$e;be++)Ce=Pt.items[be],mt=Ce.checked,pt=Ce.task,Ue="",Ce.task&&(Dt=this.renderer.checkbox(mt),St?Ce.tokens.length>0&&Ce.tokens[0].type==="text"?(Ce.tokens[0].text=Dt+" "+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=Dt+" "+Ce.tokens[0].tokens[0].text)):Ce.tokens.unshift({type:"text",text:Dt}):Ue+=Dt),Ue+=this.parse(Ce.tokens,St),wt+=this.renderer.listitem(Ue,pt,mt);ze+=this.renderer.list(wt,Ve,At);continue}case"html":{ze+=this.renderer.html(Pt.text);continue}case"paragraph":{ze+=this.renderer.paragraph(this.parseInline(Pt.tokens));continue}case"text":{for(wt=Pt.tokens?this.parseInline(Pt.tokens):Pt.text;qe+1<zt&&Se[qe+1].type==="text";)Pt=Se[++qe],wt+=`
|
|
|
`+(Pt.tokens?this.parseInline(Pt.tokens):Pt.text);ze+=Ie?this.renderer.paragraph(wt):wt;continue}default:{var tn='Token with "'+Pt.type+'" type was not found.';if(this.options.silent){console.error(tn);return}else throw new Error(tn)}}return ze},et.parseInline=function(Se,Ie){Ie=Ie||this.renderer;var ze="",qe,be,en=Se.length;for(qe=0;qe<en;qe++)switch(be=Se[qe],be.type){case"escape":{ze+=Ie.text(be.text);break}case"html":{ze+=Ie.html(be.text);break}case"link":{ze+=Ie.link(be.href,be.title,this.parseInline(be.tokens,Ie));break}case"image":{ze+=Ie.image(be.href,be.title,be.text);break}case"strong":{ze+=Ie.strong(this.parseInline(be.tokens,Ie));break}case"em":{ze+=Ie.em(this.parseInline(be.tokens,Ie));break}case"codespan":{ze+=Ie.codespan(be.text);break}case"br":{ze+=Ie.br();break}case"del":{ze+=Ie.del(this.parseInline(be.tokens,Ie));break}case"text":{ze+=Ie.text(be.text);break}default:{var $e='Token with "'+be.type+'" type was not found.';if(this.options.silent){console.error($e);return}else throw new Error($e)}}return ze},We}(),Ye=H,Je=Oe,Ge=ke,yt=_,xt=T,dt=ee,kt=Y.merge,Tt=Y.checkSanitizeDeprecation,w=Y.escape,D=Ee.exports.getDefaults,bt=Ee.exports.changeDefaults,he=Ee.exports.defaults;function Be(We,et,Xe){if(typeof We=="undefined"||We===null)throw new Error("marked(): input parameter is undefined or null");if(typeof We!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(We)+", string expected");if(typeof et=="function"&&(Xe=et,et=null),et=kt({},Be.defaults,et||{}),Tt(et),Xe){var Se=et.highlight,Ie;try{Ie=Ye.lex(We,et)}catch(en){return Xe(en)}var ze=function($e){var bn;if(!$e)try{et.walkTokens&&Be.walkTokens(Ie,et.walkTokens),bn=Je.parse(Ie,et)}catch(Cn){$e=Cn}return et.highlight=Se,$e?Xe($e):Xe(null,bn)};if(!Se||Se.length<3||(delete et.highlight,!Ie.length))return ze();var qe=0;Be.walkTokens(Ie,function(en){en.type==="code"&&(qe++,setTimeout(function(){Se(en.text,en.lang,function($e,bn){if($e)return ze($e);bn!=null&&bn!==en.text&&(en.text=bn,en.escaped=!0),qe--,qe===0&&ze()})},0))}),qe===0&&ze();return}try{var be=Ye.lex(We,et);return et.walkTokens&&Be.walkTokens(be,et.walkTokens),Je.parse(be,et)}catch(en){if(en.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,et.silent)return"<p>An error occurred:</p><pre>"+w(en.message+"",!0)+"</pre>";throw en}}Be.options=Be.setOptions=function(We){return kt(Be.defaults,We),bt(Be.defaults),Be},Be.getDefaults=D,Be.defaults=he,Be.use=function(We){var et=kt({},We);if(We.renderer&&function(){var Se=Be.defaults.renderer||new yt,Ie=function(be){var en=Se[be];Se[be]=function(){for(var $e=arguments.length,bn=new Array($e),Cn=0;Cn<$e;Cn++)bn[Cn]=arguments[Cn];var jt=We.renderer[be].apply(Se,bn);return jt===!1&&(jt=en.apply(Se,bn)),jt}};for(var ze in We.renderer)Ie(ze);et.renderer=Se}(),We.tokenizer&&function(){var Se=Be.defaults.tokenizer||new Ge,Ie=function(be){var en=Se[be];Se[be]=function(){for(var $e=arguments.length,bn=new Array($e),Cn=0;Cn<$e;Cn++)bn[Cn]=arguments[Cn];var jt=We.tokenizer[be].apply(Se,bn);return jt===!1&&(jt=en.apply(Se,bn)),jt}};for(var ze in We.tokenizer)Ie(ze);et.tokenizer=Se}(),We.walkTokens){var Xe=Be.defaults.walkTokens;et.walkTokens=function(Se){We.walkTokens(Se),Xe&&Xe(Se)}}Be.setOptions(et)},Be.walkTokens=function(We,et){for(var Xe=X(We),Se;!(Se=Xe()).done;){var Ie=Se.value;switch(et(Ie),Ie.type){case"table":{for(var ze=X(Ie.tokens.header),qe;!(qe=ze()).done;){var be=qe.value;Be.walkTokens(be,et)}for(var en=X(Ie.tokens.cells),$e;!($e=en()).done;)for(var bn=$e.value,Cn=X(bn),jt;!(jt=Cn()).done;){var Jt=jt.value;Be.walkTokens(Jt,et)}break}case"list":{Be.walkTokens(Ie.items,et);break}default:Ie.tokens&&Be.walkTokens(Ie.tokens,et)}}},Be.parseInline=function(We,et){if(typeof We=="undefined"||We===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof We!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(We)+", string expected");et=kt({},Be.defaults,et||{}),Tt(et);try{var Xe=Ye.lexInline(We,et);return et.walkTokens&&Be.walkTokens(Xe,et.walkTokens),Je.parseInline(Xe,et)}catch(Se){if(Se.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,et.silent)return"<p>An error occurred:</p><pre>"+w(Se.message+"",!0)+"</pre>";throw Se}},Be.Parser=Je,Be.parser=Je.parse,Be.Renderer=yt,Be.TextRenderer=xt,Be.Lexer=Ye,Be.lexer=Ye.lex,Be.Tokenizer=Ge,Be.Slugger=dt,Be.parse=Be;var pn=Be;return pn})},11690:function(nn){const nt=/[&<>"']/,f=/[&<>"']/g,y=/[<>"']|&(?!#?\w+;)/,L=/[<>"']|&(?!#?\w+;)/g,X={"&":"&","<":"<",">":">",'"':""","'":"'"},Ee=z=>X[z];function $(z,pe){if(pe){if(nt.test(z))return z.replace(f,Ee)}else if(y.test(z))return z.replace(L,Ee);return z}const q=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function C(z){return z.replace(q,(pe,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 xe=/(^|[^\[])\^/g;function a(z,pe){z=z.source||z,pe=pe||"";const me={replace:(de,ae)=>(ae=ae.source||ae,ae=ae.replace(xe,"$1"),z=z.replace(de,ae),me),getRegex:()=>new RegExp(z,pe)};return me}const I=/[^\w:]/g,K=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function S(z,pe,me){if(z){let de;try{de=decodeURIComponent(C(me)).replace(I,"").toLowerCase()}catch(ae){return null}if(de.indexOf("javascript:")===0||de.indexOf("vbscript:")===0||de.indexOf("data:")===0)return null}pe&&!K.test(me)&&(me=ue(pe,me));try{me=encodeURI(me).replace(/%25/g,"%")}catch(de){return null}return me}const u={},x=/^[^:]+:\/*[^/]*$/,m=/^([^:]+:)[\s\S]*$/,P=/^([^:]+:\/*[^/]*)[\s\S]*$/;function ue(z,pe){u[" "+z]||(x.test(z)?u[" "+z]=z+"/":u[" "+z]=Q(z,"/",!0)),z=u[" "+z];const me=z.indexOf(":")===-1;return pe.substring(0,2)==="//"?me?pe:z.replace(m,"$1")+pe:pe.charAt(0)==="/"?me?pe:z.replace(P,"$1")+pe:z+pe}const U={exec:function(){}};function V(z){let pe=1,me,de;for(;pe<arguments.length;pe++){me=arguments[pe];for(de in me)Object.prototype.hasOwnProperty.call(me,de)&&(z[de]=me[de])}return z}function ne(z,pe){const me=z.replace(/\|/g,(te,B,fe)=>{let Y=!1,ce=B;for(;--ce>=0&&fe[ce]==="\\";)Y=!Y;return Y?"|":" |"}),de=me.split(/ \|/);let ae=0;if(de.length>pe)de.splice(pe);else for(;de.length<pe;)de.push("");for(;ae<de.length;ae++)de[ae]=de[ae].trim().replace(/\\\|/g,"|");return de}function Q(z,pe,me){const de=z.length;if(de===0)return"";let ae=0;for(;ae<de;){const te=z.charAt(de-ae-1);if(te===pe&&!me)ae++;else if(te!==pe&&me)ae++;else break}return z.substr(0,de-ae)}function b(z,pe){if(z.indexOf(pe[1])===-1)return-1;const me=z.length;let de=0,ae=0;for(;ae<me;ae++)if(z[ae]==="\\")ae++;else if(z[ae]===pe[0])de++;else if(z[ae]===pe[1]&&(de--,de<0))return ae;return-1}function R(z){z&&z.sanitize&&!z.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(z,pe){if(pe<1)return"";let me="";for(;pe>1;)pe&1&&(me+=z),pe>>=1,z+=z;return me+z}nn.exports={escape:$,unescape:C,edit:a,cleanUrl:S,resolveUrl:ue,noopTest:U,merge:V,splitCells:ne,rtrim:Q,findClosingBracket:b,checkSanitizeDeprecation:R,repeatString:Z}},75918:function(nn,nt,f){"use strict";f.d(nt,{Wi:function(){return q},Z0:function(){return C},aU:function(){return $},eZ:function(){return a},wY:function(){return xe}});var y=f(4348),L=f(69323),X=f(13268),Ee=function(I,K,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{V(u.next(ne))}catch(Q){P(Q)}}function U(ne){try{V(u.throw(ne))}catch(Q){P(Q)}}function V(ne){ne.done?m(ne.value):x(ne.value).then(ue,U)}V((u=u.apply(I,K||[])).next())})};class $ extends L.JT{constructor(K,S="",u="",x=!0,m){super(),this._onDidChange=this._register(new y.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=K,this._label=S,this._cssClass=u,this._enabled=x,this._actionCallback=m}get id(){return this._id}get label(){return this._label}set label(K){this._setLabel(K)}_setLabel(K){this._label!==K&&(this._label=K,this._onDidChange.fire({label:K}))}get tooltip(){return this._tooltip||""}set tooltip(K){this._setTooltip(K)}_setTooltip(K){this._tooltip!==K&&(this._tooltip=K,this._onDidChange.fire({tooltip:K}))}get class(){return this._cssClass}set class(K){this._setClass(K)}_setClass(K){this._cssClass!==K&&(this._cssClass=K,this._onDidChange.fire({class:K}))}get enabled(){return this._enabled}set enabled(K){this._setEnabled(K)}_setEnabled(K){this._enabled!==K&&(this._enabled=K,this._onDidChange.fire({enabled:K}))}get checked(){return this._checked}set checked(K){this._setChecked(K)}_setChecked(K){this._checked!==K&&(this._checked=K,this._onDidChange.fire({checked:K}))}run(K,S){return Ee(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(K))})}}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(K,S){return Ee(this,void 0,void 0,function*(){if(!K.enabled)return;this._onBeforeRun.fire({action:K});let u;try{yield this.runAction(K,S)}catch(x){u=x}this._onDidRun.fire({action:K,error:u})})}runAction(K,S){return Ee(this,void 0,void 0,function*(){yield K.run(S)})}}class C extends ${constructor(K){super(C.ID,K,K?"separator text":"separator"),this.checked=!1,this.enabled=!1}}C.ID="vs.actions.separator";class xe{constructor(K,S,u,x){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=K,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,X.N("submenu.empty","(empty)"),void 0,!1)}}a.ID="vs.actions.empty"},76068:function(nn,nt,f){"use strict";f.d(nt,{ok:function(){return y}});function y(L,X){if(!L)throw new Error(X?`Assertion failed (${X})`:"Assertion Failed")}},52615:function(nn,nt,f){"use strict";f.d(nt,{CM:function(){return $},JL:function(){return q},dT:function(){return xe},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 K=this._icons.get(I.id);K?I.description?K.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 X=new L,Ee=X;function $(a,I){return new C(a,I)}function q(a){return a?a.replace(/\$\((.*?)\)/g,(I,K)=>` ${K} `).trim():""}class C{constructor(I,K,S){this.id=I,this.definition=K,this.description=S,X.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var xe;(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 K(x){if(x instanceof C)return["codicon","codicon-"+x.id];const m=I.exec(x.id);if(!m)return K(C.error);let[,P,ue]=m;const U=["codicon","codicon-"+P];return ue&&U.push("codicon-modifier-"+ue.substr(1)),U}a.asClassNameArray=K;function S(x){return K(x).join(" ")}a.asClassName=S;function u(x){return"."+K(x).join(".")}a.asCSSSelector=u})(xe||(xe={})),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(nn,nt,f){"use strict";f.d(nt,{B8:function(){return K},Cp:function(){return Ee},F0:function(){return xe},L6:function(){return I},VV:function(){return C},b1:function(){return a},dL:function(){return X},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 X(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 xe(){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 K extends Error{constructor(u){super("NotSupported"),u&&(this.message=u)}}},4348:function(nn,nt,f){"use strict";f.d(nt,{D0:function(){return K},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),X=f(34502),Ee=f(95830),$;(function(x){x.None=()=>L.JT.None;function m(fe){return(Y,ce=null,ie)=>{let g=!1,E;return E=fe(G=>{if(!g)return E?E.dispose():g=!0,Y.call(ce,G)},null,ie),g&&E.dispose(),E}}x.once=m;function P(fe,Y){return b((ce,ie=null,g)=>fe(E=>ce.call(ie,Y(E)),null,g))}x.map=P;function ue(fe,Y){return b((ce,ie=null,g)=>fe(E=>{Y(E),ce.call(ie,E)},null,g))}x.forEach=ue;function U(fe,Y){return b((ce,ie=null,g)=>fe(E=>Y(E)&&ce.call(ie,E),null,g))}x.filter=U;function V(fe){return fe}x.signal=V;function ne(...fe){return(Y,ce=null,ie)=>(0,L.F8)(...fe.map(g=>g(E=>Y.call(ce,E),null,ie)))}x.any=ne;function Q(fe,Y,ce){let ie=ce;return P(fe,g=>(ie=Y(ie,g),ie))}x.reduce=Q;function b(fe){let Y;const ce=new a({onFirstListenerAdd(){Y=fe(ce.fire,ce)},onLastListenerRemove(){Y.dispose()}});return ce.event}function R(fe,Y,ce=100,ie=!1,g){let E,G,J,Le=0;const ke=new a({leakWarningThreshold:g,onFirstListenerAdd(){E=fe(Fe=>{Le++,G=Y(G,Fe),ie&&!J&&(ke.fire(G),G=void 0),clearTimeout(J),J=setTimeout(()=>{const Ze=G;G=void 0,J=void 0,(!ie||Le>1)&&ke.fire(Ze),Le=0},ce)})},onLastListenerRemove(){E.dispose()}});return ke.event}x.debounce=R;function Z(fe,Y=(ce,ie)=>ce===ie){let ce=!0,ie;return U(fe,g=>{const E=ce||!Y(g,ie);return ce=!1,ie=g,E})}x.latch=Z;function z(fe,Y){return[x.filter(fe,Y),x.filter(fe,ce=>!Y(ce))]}x.split=z;function pe(fe,Y=!1,ce=[]){let ie=ce.slice(),g=fe(J=>{ie?ie.push(J):G.fire(J)});const E=()=>{ie&&ie.forEach(J=>G.fire(J)),ie=null},G=new a({onFirstListenerAdd(){g||(g=fe(J=>G.fire(J)))},onFirstListenerDidAdd(){ie&&(Y?setTimeout(E):E())},onLastListenerRemove(){g&&g.dispose(),g=null}});return G.event}x.buffer=pe;class me{constructor(Y){this.event=Y}map(Y){return new me(P(this.event,Y))}forEach(Y){return new me(ue(this.event,Y))}filter(Y){return new me(U(this.event,Y))}reduce(Y,ce){return new me(Q(this.event,Y,ce))}latch(){return new me(Z(this.event))}debounce(Y,ce=100,ie=!1,g){return new me(R(this.event,Y,ce,ie,g))}on(Y,ce,ie){return this.event(Y,ce,ie)}once(Y,ce,ie){return m(this.event)(Y,ce,ie)}}function de(fe){return new me(fe)}x.chain=de;function ae(fe,Y,ce=ie=>ie){const ie=(...J)=>G.fire(ce(...J)),g=()=>fe.on(Y,ie),E=()=>fe.removeListener(Y,ie),G=new a({onFirstListenerAdd:g,onLastListenerRemove:E});return G.event}x.fromNodeEventEmitter=ae;function te(fe,Y,ce=ie=>ie){const ie=(...J)=>G.fire(ce(...J)),g=()=>fe.addEventListener(Y,ie),E=()=>fe.removeEventListener(Y,ie),G=new a({onFirstListenerAdd:g,onLastListenerRemove:E});return G.event}x.fromDOMEventEmitter=te;function B(fe){return new Promise(Y=>m(fe)(Y))}x.toPromise=B})($||($={}));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 xe{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(`
|
|
|
`),U=this._stacks.get(ue)||0;if(this._stacks.set(ue,U+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=P*.5;let V,ne=0;for(const[Q,b]of this._stacks)(!V||ne<b)&&(V=Q,ne=b);console.warn(`[${this.name}] potential listener LEAK detected, having ${m} listeners already. MOST frequent listener (${ne}):`),console.warn(V)}return()=>{const V=this._stacks.get(ue)||0;this._stacks.set(ue,V-1)}}}class a{constructor(m){var P;this._disposed=!1,this._options=m,this._leakageMon=C>0?new xe(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 U;this._listeners||(this._listeners=new X.S);const V=this._listeners.isEmpty();V&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const ne=this._listeners.push(P?[m,P]:m);V&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,m,P);const Q=(U=this._leakageMon)===null||U===void 0?void 0:U.check(this._listeners.size),b=(0,L.OF)(()=>{Q&&Q(),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 X.S);for(let U of this._listeners)this._deliveryQueue.push([U,m]);for((P=this._perfMon)===null||P===void 0||P.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[U,V]=this._deliveryQueue.shift();try{typeof U=="function"?U.call(void 0,V):U[0].call(U[1],V)}catch(ne){(0,y.dL)(ne)}}(ue=this._perfMon)===null||ue===void 0||ue.stop()}}dispose(){var m,P,ue,U,V;this._disposed||(this._disposed=!0,(m=this._listeners)===null||m===void 0||m.clear(),(P=this._deliveryQueue)===null||P===void 0||P.clear(),(U=(ue=this._options)===null||ue===void 0?void 0:ue.onLastListenerRemove)===null||U===void 0||U.call(ue),(V=this._leakageMon)===null||V===void 0||V.dispose())}}class I extends a{constructor(m){super(m),this._isPaused=0,this._eventQueue=new X.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 K 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,U)=>m(V=>{const ne=this.buffers[this.buffers.length-1];ne?ne.push(()=>P.call(ue,V)):P.call(ue,V)},void 0,U)}bufferEvents(m){const P=[];this.buffers.push(P);const ue=m();return this.buffers.pop(),P.forEach(U=>U()),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(nn,nt,f){"use strict";f.d(nt,{I:function(){return y}});function y(L){const X=this;let Ee=!1,$;return function(){return Ee||(Ee=!0,$=L.apply(X,arguments)),$}}},88226:function(nn,nt,f){"use strict";f.d(nt,{$:function(){return y}});var y;(function(L){function X(ne){return ne&&typeof ne=="object"&&typeof ne[Symbol.iterator]=="function"}L.is=X;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 xe(ne){return!ne||ne[Symbol.iterator]().next().done===!0}L.isEmpty=xe;function a(ne){return ne[Symbol.iterator]().next().value}L.first=a;function I(ne,Q){for(const b of ne)if(Q(b))return!0;return!1}L.some=I;function K(ne,Q){for(const b of ne)if(Q(b))return b}L.find=K;function*S(ne,Q){for(const b of ne)Q(b)&&(yield b)}L.filter=S;function*u(ne,Q){let b=0;for(const R of ne)yield Q(R,b++)}L.map=u;function*x(...ne){for(const Q of ne)for(const b of Q)yield b}L.concat=x;function*m(ne){for(const Q of ne)for(const b of Q)yield b}L.concatNested=m;function P(ne,Q,b){let R=b;for(const Z of ne)R=Q(R,Z);return R}L.reduce=P;function*ue(ne,Q,b=ne.length){for(Q<0&&(Q+=ne.length),b<0?b+=ne.length:b>ne.length&&(b=ne.length);Q<b;Q++)yield ne[Q]}L.slice=ue;function U(ne,Q=Number.POSITIVE_INFINITY){const b=[];if(Q===0)return[b,ne];const R=ne[Symbol.iterator]();for(let Z=0;Z<Q;Z++){const z=R.next();if(z.done)return[b,L.empty()];b.push(z.value)}return[b,{[Symbol.iterator](){return R}}]}L.consume=U;function V(ne,Q,b=(R,Z)=>R===Z){const R=ne[Symbol.iterator](),Z=Q[Symbol.iterator]();for(;;){const z=R.next(),pe=Z.next();if(z.done!==pe.done)return!1;if(z.done)return!0;if(!b(z.value,pe.value))return!1}}L.equals=V})(y||(y={}))},69323:function(nn,nt,f){"use strict";f.d(nt,{B9:function(){return u},F8:function(){return x},JT:function(){return ue},Jz:function(){return V},OF:function(){return m},SL:function(){return P},Wf:function(){return S},XK:function(){return U},dk:function(){return I}});var y=f(17845),L=f(88226);const X=!1;let Ee=null;function $(ne){Ee=ne}if(X){const ne="__is_disposable_tracked__";$(new class{trackDisposable(Q){const b=new Error("Potentially leaked disposable").stack;setTimeout(()=>{Q[ne]||console.log(b)},3e3)}setParent(Q,b){if(Q&&Q!==ue.None)try{Q[ne]=!0}catch(R){}}markAsDisposed(Q){if(Q&&Q!==ue.None)try{Q[ne]=!0}catch(b){}}markAsSingleton(Q){}})}function q(ne){return Ee==null||Ee.trackDisposable(ne),ne}function C(ne){Ee==null||Ee.markAsDisposed(ne)}function xe(ne,Q){Ee==null||Ee.setParent(ne,Q)}function a(ne,Q){if(Ee)for(const b of ne)Ee.setParent(b,Q)}function I(ne){return Ee==null||Ee.markAsSingleton(ne),ne}class K extends Error{constructor(Q){super(`Encountered errors while disposing of store. Errors: [${Q.join(", ")}]`),this.errors=Q}}function S(ne){return typeof ne.dispose=="function"&&ne.dispose.length===0}function u(ne){if(L.$.is(ne)){let Q=[];for(const b of ne)if(b)try{b.dispose()}catch(R){Q.push(R)}if(Q.length===1)throw Q[0];if(Q.length>1)throw new K(Q);return Array.isArray(ne)?[]:ne}else if(ne)return ne.dispose(),ne}function x(...ne){const Q=m(()=>u(ne));return a(ne,Q),Q}function m(ne){const Q=q({dispose:(0,y.I)(()=>{C(Q),ne()})});return Q}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(Q){if(!Q)return Q;if(Q===this)throw new Error("Cannot register a disposable on itself!");return xe(Q,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(Q),Q}}P.DISABLE_DISPOSED_WARNING=!1;class ue{constructor(){this._store=new P,q(this),xe(this._store,this)}dispose(){C(this),this._store.dispose()}_register(Q){if(Q===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(Q)}}ue.None=Object.freeze({dispose(){}});class U{constructor(){this._isDisposed=!1,q(this)}get value(){return this._isDisposed?void 0:this._value}set value(Q){var b;this._isDisposed||Q===this._value||((b=this._value)===null||b===void 0||b.dispose(),Q&&xe(Q,this),this._value=Q)}clear(){this.value=void 0}dispose(){var Q;this._isDisposed=!0,C(this),(Q=this._value)===null||Q===void 0||Q.dispose(),this._value=void 0}clearAndLeak(){const Q=this._value;return this._value=void 0,Q&&xe(Q,null),Q}}class V{constructor(Q){this.object=Q}dispose(){}}},34502:function(nn,nt,f){"use strict";f.d(nt,{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 xe=this._last;this._last=q,q.prev=xe,xe.next=q}else{const xe=this._first;this._first=q,q.next=xe,xe.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(nn,nt,f){"use strict";f.d(nt,{$L:function(){return R},ED:function(){return V},IJ:function(){return Q},OS:function(){return me},WE:function(){return z},dz:function(){return ne},gn:function(){return Z},li:function(){return m},r:function(){return te},tY:function(){return b},xS:function(){return pe}});var y=f(97671),L;const X="en";let Ee=!1,$=!1,q=!1,C=!1,xe=!1,a=!1,I=!1,K,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,K=navigator.language,S=K;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,K=X,S=X;const B=P.env.VSCODE_NLS_CONFIG;if(B)try{const fe=JSON.parse(B),Y=fe.availableLanguages["*"];K=fe.locale,S=Y||X,u=fe._translationsConfigFile}catch(fe){}xe=!0}else console.error("Unable to resolve platform.");let U=0;$?U=1:Ee?U=3:q&&(U=2);const V=Ee,ne=$,Q=q,b=xe,R=a,Z=I,z=x,pe=function(){if(m.setImmediate)return m.setImmediate.bind(m);if(typeof m.postMessage=="function"&&!m.importScripts){let Y=[];m.addEventListener("message",ie=>{if(ie.data&&ie.data.vscodeSetImmediateId)for(let g=0,E=Y.length;g<E;g++){const G=Y[g];if(G.id===ie.data.vscodeSetImmediateId){Y.splice(g,1),G.callback();return}}});let ce=0;return ie=>{const g=++ce;Y.push({id:g,callback:ie}),m.postMessage({vscodeSetImmediateId:g},"*")}}if(typeof(P==null?void 0:P.nextTick)=="function")return P.nextTick.bind(P);const fe=Promise.resolve();return Y=>fe.then(Y)}(),me=$||I?2:Ee?1:3;let de=!0,ae=!1;function te(){if(!ae){ae=!0;const B=new Uint8Array(2);B[0]=1,B[1]=2,de=new Uint16Array(B.buffer)[0]===513}return de}},95830:function(nn,nt,f){"use strict";f.d(nt,{G:function(){return X}});var y=f(23345);const L=y.li.performance&&typeof y.li.performance.now=="function";class X{constructor($){this._highResolution=L&&$,this._startTime=this._now(),this._stopTime=-1}static create($=!0){return new X($)}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(nn,nt,f){"use strict";f.d(nt,{$i:function(){return Le},C8:function(){return ut},GF:function(){return K},HO:function(){return ce},IO:function(){return S},K7:function(){return lt},Kw:function(){return qt},LC:function(){return m},Mh:function(){return pe},P1:function(){return me},PJ:function(){return an},Qe:function(){return ke},R1:function(){return I},RP:function(){return G},S6:function(){return Ot},TT:function(){return V},Ut:function(){return g},V8:function(){return P},WU:function(){return X},YK:function(){return ae},YU:function(){return Ee},ZG:function(){return de},ZH:function(){return B},ab:function(){return Fe},c1:function(){return it},df:function(){return R},ec:function(){return $},fi:function(){return ot},fy:function(){return q},j3:function(){return C},j_:function(){return Q},m5:function(){return y},mK:function(){return b},mr:function(){return u},oH:function(){return ye},oL:function(){return xe},ok:function(){return z},ow:function(){return ue},qq:function(){return Z},qu:function(){return U},rL:function(){return te},uS:function(){return Ut},un:function(){return a},uq:function(){return x},vH:function(){return Y},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 X(k,..._){return _.length===0?k:k.replace(L,function(T,ee){const W=parseInt(ee,10);return isNaN(W)||W<0||W>=_.length?T:_[W]})}function Ee(k){return k.replace(/[<>&]/g,function(_){switch(_){case"<":return"<";case">":return">";case"&":return"&";default:return _}})}function $(k){return k.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function q(k,_=" "){const T=C(k,_);return xe(T,_)}function C(k,_){if(!k||!_)return k;const T=_.length;if(T===0||k.length===0)return k;let ee=0;for(;k.indexOf(_,ee)===ee;)ee=ee+T;return k.substring(ee)}function xe(k,_){if(!k||!_)return k;const T=_.length,ee=k.length;if(T===0||ee===0)return k;let W=ee,j=-1;for(;j=k.lastIndexOf(_,W-1),!(j===-1||j+T!==W);){if(j===0)return"";W=j}return k.substring(0,W)}function a(k){return k.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function I(k){return k.replace(/\*/g,"")}function K(k,_,T={}){if(!k)throw new Error("Cannot create regex from empty string");_||(k=$(k)),T.wholeWord&&(/\B/.test(k.charAt(0))||(k="\\b"+k),/\B/.test(k.charAt(k.length-1))||(k=k+"\\b"));let ee="";return T.global&&(ee+="g"),T.matchCase||(ee+="i"),T.multiline&&(ee+="m"),T.unicode&&(ee+="u"),new RegExp(k,ee)}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 _=0,T=k.length;_<T;_++){const ee=k.charCodeAt(_);if(ee!==32&&ee!==9)return _}return-1}function P(k,_=0,T=k.length){for(let ee=_;ee<T;ee++){const W=k.charCodeAt(ee);if(W!==32&&W!==9)return k.substring(_,ee)}return k.substring(_,T)}function ue(k,_=k.length-1){for(let T=_;T>=0;T--){const ee=k.charCodeAt(T);if(ee!==32&&ee!==9)return T}return-1}function U(k,_){return k<_?-1:k>_?1:0}function V(k,_,T=0,ee=k.length,W=0,j=_.length){for(;T<ee&&W<j;T++,W++){let De=k.charCodeAt(T),Oe=_.charCodeAt(W);if(De<Oe)return-1;if(De>Oe)return 1}const _e=ee-T,Ke=j-W;return _e<Ke?-1:_e>Ke?1:0}function ne(k,_){return Q(k,_,0,k.length,0,_.length)}function Q(k,_,T=0,ee=k.length,W=0,j=_.length){for(;T<ee&&W<j;T++,W++){let De=k.charCodeAt(T),Oe=_.charCodeAt(W);if(De===Oe)continue;if(De>=128||Oe>=128)return V(k.toLowerCase(),_.toLowerCase(),T,ee,W,j);b(De)&&(De-=32),b(Oe)&&(Oe-=32);const Ye=De-Oe;if(Ye!==0)return Ye}const _e=ee-T,Ke=j-W;return _e<Ke?-1:_e>Ke?1:0}function b(k){return k>=97&&k<=122}function R(k){return k>=65&&k<=90}function Z(k,_){return k.length===_.length&&Q(k,_)===0}function z(k,_){const T=_.length;return _.length>k.length?!1:Q(k,_,0,T)===0}function pe(k,_){let T,ee=Math.min(k.length,_.length);for(T=0;T<ee;T++)if(k.charCodeAt(T)!==_.charCodeAt(T))return T;return ee}function me(k,_){let T,ee=Math.min(k.length,_.length);const W=k.length-1,j=_.length-1;for(T=0;T<ee;T++)if(k.charCodeAt(W-T)!==_.charCodeAt(j-T))return T;return ee}function de(k){return 55296<=k&&k<=56319}function ae(k){return 56320<=k&&k<=57343}function te(k,_){return(k-55296<<10)+(_-56320)+65536}function B(k,_,T){const ee=k.charCodeAt(T);if(de(ee)&&T+1<_){const W=k.charCodeAt(T+1);if(ae(W))return te(ee,W)}return ee}function fe(k,_){const T=k.charCodeAt(_-1);if(ae(T)&&_>1){const ee=k.charCodeAt(_-2);if(de(ee))return te(ee,T)}return T}function Y(k,_){const T=_t.getInstance(),ee=_,W=k.length,j=B(k,W,_);_+=j>=65536?2:1;let _e=T.getGraphemeBreakType(j);for(;_<W;){const Ke=B(k,W,_),De=T.getGraphemeBreakType(Ke);if(ot(_e,De))break;_+=Ke>=65536?2:1,_e=De}return _-ee}function ce(k,_){const T=_t.getInstance(),ee=_,W=fe(k,_);_-=W>=65536?2:1;let j=T.getGraphemeBreakType(W);for(;_>0;){const _e=fe(k,_),Ke=T.getGraphemeBreakType(_e);if(ot(Ke,j))break;_-=_e>=65536?2:1,j=Ke}return ee-_}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 g(k){return ie.test(k)}const E=/(?:[\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 G(k){return E.test(k)}const J=/^[\t\n\r\x20-\x7E]*$/;function Le(k){return J.test(k)}const ke=/[\u2028\u2029]/;function Fe(k){return ke.test(k)}function Ze(k){for(let _=0,T=k.length;_<T;_++)if(lt(k.charCodeAt(_)))return!0;return!1}function lt(k){return k=+k,k>=11904&&k<=55215||k>=63744&&k<=64255||k>=65281&&k<=65374}function ut(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 Ut(k){return!!(k&&k.length>0&&k.charCodeAt(0)===65279)}function qt(k,_=!1){return k?(_&&(k=k.replace(/\\./g,"")),k.toLowerCase()!==k):!1}function an(k){return k=k%(2*26),k<26?String.fromCharCode(97+k):String.fromCharCode(65+k-26)}function Ot(k){return _t.getInstance().getGraphemeBreakType(k)}function ot(k,_){return k===0?_!==5&&_!==7:k===2&&_===3?!1:k===4||k===2||k===3||_===4||_===2||_===3?!0:!(k===8&&(_===8||_===9||_===11||_===12)||(k===11||k===9)&&(_===9||_===10)||(k===12||k===10)&&_===10||_===5||_===13||_===7||k===1||k===13&&_===14||k===6&&_===6)}class _t{constructor(){this._data=se()}static getInstance(){return _t._INSTANCE||(_t._INSTANCE=new _t),_t._INSTANCE}getGraphemeBreakType(_){if(_<32)return _===10?3:_===13?2:4;if(_<127)return 0;const T=this._data,ee=T.length/3;let W=1;for(;W<=ee;)if(_<T[3*W])W=2*W;else if(_>T[3*W+1])W=2*W+1;else return T[3*W+2];return 0}}_t._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 ye(k,_){if(k===0)return 0;const T=H(k,_);if(T!==void 0)return T;const ee=fe(_,k);return k-=O(ee),k}function H(k,_){let T=fe(_,k);for(k-=O(T);Ae(T)||T===65039||T===8419;){if(k===0)return;T=fe(_,k),k-=O(T)}if(ut(T)){if(k>=0){const ee=fe(_,k);ee===8205&&(k-=O(ee))}return k}}function O(k){return k>=65536?2:1}function Ae(k){return 127995<=k&&k<=127999}},72999:function(nn,nt,f){"use strict";f.d(nt,{$E:function(){return m},$K:function(){return C},D8:function(){return S},HD:function(){return L},IU:function(){return P},Jp:function(){return xe},Kn:function(){return X},cW:function(){return I},f6:function(){return ue},hj:function(){return Ee},jn:function(){return $},kJ:function(){return y},mf:function(){return K},o8:function(){return q},p_:function(){return a},vE:function(){return U}});function y(V){return Array.isArray(V)}function L(V){return typeof V=="string"}function X(V){return typeof V=="object"&&V!==null&&!Array.isArray(V)&&!(V instanceof RegExp)&&!(V instanceof Date)}function Ee(V){return typeof V=="number"&&!isNaN(V)}function $(V){return V===!0||V===!1}function q(V){return typeof V=="undefined"}function C(V){return!xe(V)}function xe(V){return q(V)||V===null}function a(V,ne){if(!V)throw new Error(ne?`Unexpected type, expected '${ne}'`:"Unexpected type")}function I(V){if(xe(V))throw new Error("Assertion Failed: argument is undefined or null");return V}function K(V){return typeof V=="function"}function S(V,ne){const Q=Math.min(V.length,ne.length);for(let b=0;b<Q;b++)u(V[b],ne[b])}function u(V,ne){if(L(ne)){if(typeof V!==ne)throw new Error(`argument does not match constraint: typeof ${ne}`)}else if(K(ne)){try{if(V instanceof ne)return}catch(Q){}if(!xe(V)&&V.constructor===ne||ne.length===1&&ne.call(void 0,V)===!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(V){let ne=[],Q=Object.getPrototypeOf(V);for(;Object.prototype!==Q;)ne=ne.concat(Object.getOwnPropertyNames(Q)),Q=Object.getPrototypeOf(Q);return ne}function m(V){const ne=[];for(const Q of x(V))typeof V[Q]=="function"&&ne.push(Q);return ne}function P(V,ne){const Q=R=>function(){const Z=Array.prototype.slice.call(arguments,0);return ne(R,Z)};let b={};for(const R of V)b[R]=Q(R);return b}function ue(V){return V===null?void 0:V}function U(V,ne="Unreachable"){throw new Error(ne)}},13268:function(nn,nt,f){"use strict";f.d(nt,{N:function(){return L}});function y(X,Ee){let $;return Ee.length===0?$=X:$=X.replace(/\{(\d+)\}/g,function(q,C){const xe=C[0];return typeof Ee[xe]!="undefined"?Ee[xe]:q}),$}function L(X,Ee,...$){return y(Ee,$)}},96236:function(nn,nt,f){"use strict";f.d(nt,{BH:function(){return P},NZ:function(){return ue},U8:function(){return U},co:function(){return m},eH:function(){return x},vr:function(){return u}});var y=f(75918),L=f(52615),X=f(4348),Ee=f(88226),$=f(69323),q=f(34502),C=f(35884),xe=f(90689),a=f(16925),I=f(49055),K=function(V,ne,Q,b){var R=arguments.length,Z=R<3?ne:b===null?b=Object.getOwnPropertyDescriptor(ne,Q):b,z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Z=Reflect.decorate(V,ne,Q,b);else for(var pe=V.length-1;pe>=0;pe--)(z=V[pe])&&(Z=(R<3?z(Z):R>3?z(ne,Q,Z):z(ne,Q))||Z);return R>3&&Z&&Object.defineProperty(ne,Q,Z),Z},S=function(V,ne){return function(Q,b){ne(Q,b,V)}};function u(V){return V.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 X.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:V=>V===x.CommandPalette}}addCommand(V){return this.addCommands(Ee.$.single(V))}addCommands(V){for(const ne of V)this._commands.set(ne.id,ne);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,$.OF)(()=>{let ne=!1;for(const Q of V)ne=this._commands.delete(Q.id)||ne;ne&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(V){return this._commands.get(V)}getCommands(){const V=new Map;return this._commands.forEach((ne,Q)=>V.set(Q,ne)),V}appendMenuItem(V,ne){return this.appendMenuItems(Ee.$.single({id:V,item:ne}))}appendMenuItems(V){const ne=new Set,Q=new q.S;for(const{id:b,item:R}of V){let Z=this._menuItems.get(b);Z||(Z=new q.S,this._menuItems.set(b,Z)),Q.push(Z.push(R)),ne.add(b)}return this._onDidChangeMenu.fire(ne),(0,$.OF)(()=>{if(Q.size>0){for(let b of Q)b();this._onDidChangeMenu.fire(ne),Q.clear()}})}getMenuItems(V){let ne;return this._menuItems.has(V)?ne=[...this._menuItems.get(V)]:ne=[],V===x.CommandPalette&&this._appendImplicitItems(ne),ne}_appendImplicitItems(V){const ne=new Set;for(const Q of V)u(Q)&&(ne.add(Q.command.id),Q.alt&&ne.add(Q.alt.id));this._commands.forEach((Q,b)=>{ne.has(b)||V.push({command:Q})})}};class ue extends y.wY{constructor(ne,Q,b,R){super(`submenuitem.${ne.submenu.id}`,typeof ne.title=="string"?ne.title:ne.title.value,[],"submenu"),this.item=ne,this._menuService=Q,this._contextKeyService=b,this._options=R}get actions(){const ne=[],Q=this._menuService.createMenu(this.item.submenu,this._contextKeyService),b=Q.getActions(this._options);Q.dispose();for(const[,R]of b)R.length>0&&(ne.push(...R),ne.push(new y.Z0));return ne.length&&ne.pop(),ne}}let U=class El{constructor(ne,Q,b,R,Z){var z,pe;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=(pe=typeof ne.tooltip=="string"?ne.tooltip:(z=ne.tooltip)===null||z===void 0?void 0:z.value)!==null&&pe!==void 0?pe:"",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=Q?new El(Q,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 Q,b;let R=[];return!((Q=this._options)===null||Q===void 0)&&Q.arg&&(R=[...R,this._options.arg]),!((b=this._options)===null||b===void 0)&&b.shouldForwardArgs&&(R=[...R,...ne]),this._commandService.executeCommand(this.id,...R)}};U=K([S(3,xe.i6),S(4,C.H)],U)},35884:function(nn,nt,f){"use strict";f.d(nt,{H:function(){return C},P:function(){return xe}});var y=f(4348),L=f(88226),X=f(69323),Ee=f(34502),$=f(72999),q=f(16925);const C=(0,q.yh)("commandService"),xe=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,...U){return(0,$.D8)(U,m),P(ue,...U)}}const{id:K}=a;let S=this._commands.get(K);S||(S=new Ee.S,this._commands.set(K,S));let u=S.unshift(a),x=(0,X.OF)(()=>{u();const m=this._commands.get(K);m!=null&&m.isEmpty()&&this._commands.delete(K)});return this._onDidRegisterCommand.fire(K),x}registerCommandAlias(a,I){return xe.registerCommand(a,(K,...S)=>K.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 K=this.getCommand(I);K&&a.set(I,K)}return a}};xe.registerCommand("noop",()=>{})},90689:function(nn,nt,f){"use strict";f.d(nt,{Ao:function(){return C},Eq:function(){return te},Fb:function(){return xe},K8:function(){return Y},i6:function(){return ae},uy:function(){return de}});var y=f(23345),L=f(82983),X=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(g){return S.create(g)}static equals(g,E){return u.create(g,E)}static regex(g,E){return R.create(g,E)}static not(g){return ue.create(g)}static and(...g){return pe.create(g,null)}static or(...g){return me.create(g,null,!0)}static deserialize(g,E=!1){if(g)return this._deserializeOrExpression(g,E)}static _deserializeOrExpression(g,E){let G=g.split("||");return me.create(G.map(J=>this._deserializeAndExpression(J,E)),null,!0)}static _deserializeAndExpression(g,E){let G=g.split("&&");return pe.create(G.map(J=>this._deserializeOne(J,E)),null)}static _deserializeOne(g,E){if(g=g.trim(),g.indexOf("!=")>=0){let G=g.split("!=");return P.create(G[0].trim(),this._deserializeValue(G[1],E))}if(g.indexOf("==")>=0){let G=g.split("==");return u.create(G[0].trim(),this._deserializeValue(G[1],E))}if(g.indexOf("=~")>=0){let G=g.split("=~");return R.create(G[0].trim(),this._deserializeRegexValue(G[1],E))}if(g.indexOf(" in ")>=0){let G=g.split(" in ");return x.create(G[0].trim(),G[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(g)){const G=g.split(">=");return ne.create(G[0].trim(),G[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(g)){const G=g.split(">");return V.create(G[0].trim(),G[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(g)){const G=g.split("<=");return b.create(G[0].trim(),G[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(g)){const G=g.split("<");return Q.create(G[0].trim(),G[1].trim())}return/^\!\s*/.test(g)?ue.create(g.substr(1).trim()):S.create(g)}static _deserializeValue(g,E){if(g=g.trim(),g==="true")return!0;if(g==="false")return!1;let G=/^'([^']*)'$/.exec(g);return G?G[1].trim():g}static _deserializeRegexValue(g,E){if((0,L.m5)(g)){if(E)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let G=g.indexOf("/"),J=g.lastIndexOf("/");if(G===J||G<0){if(E)throw new Error(`bad regexp-value '${g}', missing /-enclosure`);return console.warn(`bad regexp-value '${g}', missing /-enclosure`),null}let Le=g.slice(G+1,J),ke=g[J+1]==="i"?"i":"";try{return new RegExp(Le,ke)}catch(Fe){if(E)throw new Error(`bad regexp-value '${g}', parse error: ${Fe}`);return console.warn(`bad regexp-value '${g}', parse error: ${Fe}`),null}}}function xe(ie,g){const E=ie?ie.substituteConstants():void 0,G=g?g.substituteConstants():void 0;return!E&&!G?!0:!E||!G?!1:E.equals(G)}function a(ie,g){return ie.cmp(g)}class I{constructor(){this.type=0}cmp(g){return this.type-g.type}equals(g){return g.type===this.type}substituteConstants(){return this}evaluate(g){return!1}serialize(){return"false"}keys(){return[]}negate(){return K.INSTANCE}}I.INSTANCE=new I;class K{constructor(){this.type=1}cmp(g){return this.type-g.type}equals(g){return g.type===this.type}substituteConstants(){return this}evaluate(g){return!0}serialize(){return"true"}keys(){return[]}negate(){return I.INSTANCE}}K.INSTANCE=new K;class S{constructor(g,E){this.key=g,this.negated=E,this.type=2}static create(g,E=null){const G=$.get(g);return typeof G=="boolean"?G?K.INSTANCE:I.INSTANCE:new S(g,E)}cmp(g){return g.type!==this.type?this.type-g.type:B(this.key,g.key)}equals(g){return g.type===this.type?this.key===g.key:!1}substituteConstants(){const g=$.get(this.key);return typeof g=="boolean"?g?K.INSTANCE:I.INSTANCE:this}evaluate(g){return!!g.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(g,E,G){this.key=g,this.value=E,this.negated=G,this.type=4}static create(g,E,G=null){if(typeof E=="boolean")return E?S.create(g,G):ue.create(g,G);const J=$.get(g);return typeof J=="boolean"?E===(J?"true":"false")?K.INSTANCE:I.INSTANCE:new u(g,E,G)}cmp(g){return g.type!==this.type?this.type-g.type:fe(this.key,this.value,g.key,g.value)}equals(g){return g.type===this.type?this.key===g.key&&this.value===g.value:!1}substituteConstants(){const g=$.get(this.key);if(typeof g=="boolean"){const E=g?"true":"false";return this.value===E?K.INSTANCE:I.INSTANCE}return this}evaluate(g){return g.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(g,E){this.key=g,this.valueKey=E,this.type=10,this.negated=null}static create(g,E){return new x(g,E)}cmp(g){return g.type!==this.type?this.type-g.type:fe(this.key,this.valueKey,g.key,g.valueKey)}equals(g){return g.type===this.type?this.key===g.key&&this.valueKey===g.valueKey:!1}substituteConstants(){return this}evaluate(g){const E=g.getValue(this.valueKey),G=g.getValue(this.key);return Array.isArray(E)?E.indexOf(G)>=0:typeof G=="string"&&typeof E=="object"&&E!==null?q.call(E,G):!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(g){this._actual=g,this.type=11}static create(g){return new m(g)}cmp(g){return g.type!==this.type?this.type-g.type:this._actual.cmp(g._actual)}equals(g){return g.type===this.type?this._actual.equals(g._actual):!1}substituteConstants(){return this}evaluate(g){return!this._actual.evaluate(g)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class P{constructor(g,E,G){this.key=g,this.value=E,this.negated=G,this.type=5}static create(g,E,G=null){if(typeof E=="boolean")return E?ue.create(g,G):S.create(g,G);const J=$.get(g);return typeof J=="boolean"?E===(J?"true":"false")?I.INSTANCE:K.INSTANCE:new P(g,E,G)}cmp(g){return g.type!==this.type?this.type-g.type:fe(this.key,this.value,g.key,g.value)}equals(g){return g.type===this.type?this.key===g.key&&this.value===g.value:!1}substituteConstants(){const g=$.get(this.key);if(typeof g=="boolean"){const E=g?"true":"false";return this.value===E?I.INSTANCE:K.INSTANCE}return this}evaluate(g){return g.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(g,E){this.key=g,this.negated=E,this.type=3}static create(g,E=null){const G=$.get(g);return typeof G=="boolean"?G?I.INSTANCE:K.INSTANCE:new ue(g,E)}cmp(g){return g.type!==this.type?this.type-g.type:B(this.key,g.key)}equals(g){return g.type===this.type?this.key===g.key:!1}substituteConstants(){const g=$.get(this.key);return typeof g=="boolean"?g?I.INSTANCE:K.INSTANCE:this}evaluate(g){return!g.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 U(ie,g){if(typeof ie=="string"){const E=parseFloat(ie);isNaN(E)||(ie=E)}return typeof ie=="string"||typeof ie=="number"?g(ie):I.INSTANCE}class V{constructor(g,E,G){this.key=g,this.value=E,this.negated=G,this.type=12}static create(g,E,G=null){return U(E,J=>new V(g,J,G))}cmp(g){return g.type!==this.type?this.type-g.type:fe(this.key,this.value,g.key,g.value)}equals(g){return g.type===this.type?this.key===g.key&&this.value===g.value:!1}substituteConstants(){return this}evaluate(g){return typeof this.value=="string"?!1:parseFloat(g.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(g,E,G){this.key=g,this.value=E,this.negated=G,this.type=13}static create(g,E,G=null){return U(E,J=>new ne(g,J,G))}cmp(g){return g.type!==this.type?this.type-g.type:fe(this.key,this.value,g.key,g.value)}equals(g){return g.type===this.type?this.key===g.key&&this.value===g.value:!1}substituteConstants(){return this}evaluate(g){return typeof this.value=="string"?!1:parseFloat(g.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=Q.create(this.key,this.value,this)),this.negated}}class Q{constructor(g,E,G){this.key=g,this.value=E,this.negated=G,this.type=14}static create(g,E,G=null){return U(E,J=>new Q(g,J,G))}cmp(g){return g.type!==this.type?this.type-g.type:fe(this.key,this.value,g.key,g.value)}equals(g){return g.type===this.type?this.key===g.key&&this.value===g.value:!1}substituteConstants(){return this}evaluate(g){return typeof this.value=="string"?!1:parseFloat(g.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(g,E,G){this.key=g,this.value=E,this.negated=G,this.type=15}static create(g,E,G=null){return U(E,J=>new b(g,J,G))}cmp(g){return g.type!==this.type?this.type-g.type:fe(this.key,this.value,g.key,g.value)}equals(g){return g.type===this.type?this.key===g.key&&this.value===g.value:!1}substituteConstants(){return this}evaluate(g){return typeof this.value=="string"?!1:parseFloat(g.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=V.create(this.key,this.value,this)),this.negated}}class R{constructor(g,E){this.key=g,this.regexp=E,this.type=7,this.negated=null}static create(g,E){return new R(g,E)}cmp(g){if(g.type!==this.type)return this.type-g.type;if(this.key<g.key)return-1;if(this.key>g.key)return 1;const E=this.regexp?this.regexp.source:"",G=g.regexp?g.regexp.source:"";return E<G?-1:E>G?1:0}equals(g){if(g.type===this.type){const E=this.regexp?this.regexp.source:"",G=g.regexp?g.regexp.source:"";return this.key===g.key&&E===G}return!1}substituteConstants(){return this}evaluate(g){let E=g.getValue(this.key);return this.regexp?this.regexp.test(E):!1}serialize(){const g=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${g}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=Z.create(this)),this.negated}}class Z{constructor(g){this._actual=g,this.type=8}static create(g){return new Z(g)}cmp(g){return g.type!==this.type?this.type-g.type:this._actual.cmp(g._actual)}equals(g){return g.type===this.type?this._actual.equals(g._actual):!1}substituteConstants(){return this}evaluate(g){return!this._actual.evaluate(g)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function z(ie){let g=null;for(let E=0,G=ie.length;E<G;E++){const J=ie[E].substituteConstants();if(ie[E]!==J&&g===null){g=[];for(let Le=0;Le<E;Le++)g[Le]=ie[Le]}g!==null&&(g[E]=J)}return g===null?ie:g}class pe{constructor(g,E){this.expr=g,this.negated=E,this.type=6}static create(g,E){return pe._normalizeArr(g,E)}cmp(g){if(g.type!==this.type)return this.type-g.type;if(this.expr.length<g.expr.length)return-1;if(this.expr.length>g.expr.length)return 1;for(let E=0,G=this.expr.length;E<G;E++){const J=a(this.expr[E],g.expr[E]);if(J!==0)return J}return 0}equals(g){if(g.type===this.type){if(this.expr.length!==g.expr.length)return!1;for(let E=0,G=this.expr.length;E<G;E++)if(!this.expr[E].equals(g.expr[E]))return!1;return!0}return!1}substituteConstants(){const g=z(this.expr);return g===this.expr?this:pe.create(g,this.negated)}evaluate(g){for(let E=0,G=this.expr.length;E<G;E++)if(!this.expr[E].evaluate(g))return!1;return!0}static _normalizeArr(g,E){const G=[];let J=!1;for(const Le of g)if(Le){if(Le.type===1){J=!0;continue}if(Le.type===0)return I.INSTANCE;if(Le.type===6){G.push(...Le.expr);continue}G.push(Le)}if(G.length===0&&J)return K.INSTANCE;if(G.length!==0){if(G.length===1)return G[0];G.sort(a);for(let Le=1;Le<G.length;Le++)G[Le-1].equals(G[Le])&&(G.splice(Le,1),Le--);if(G.length===1)return G[0];for(;G.length>1;){const Le=G[G.length-1];if(Le.type!==9)break;G.pop();const ke=G.pop(),Fe=G.length===0,Ze=me.create(Le.expr.map(lt=>pe.create([lt,ke],null)),null,Fe);Ze&&(G.push(Ze),G.sort(a))}return G.length===1?G[0]:new pe(G,E)}}serialize(){return this.expr.map(g=>g.serialize()).join(" && ")}keys(){const g=[];for(let E of this.expr)g.push(...E.keys());return g}negate(){if(!this.negated){const g=[];for(let E of this.expr)g.push(E.negate());this.negated=me.create(g,this,!0)}return this.negated}}class me{constructor(g,E){this.expr=g,this.negated=E,this.type=9}static create(g,E,G){return me._normalizeArr(g,E,G)}cmp(g){if(g.type!==this.type)return this.type-g.type;if(this.expr.length<g.expr.length)return-1;if(this.expr.length>g.expr.length)return 1;for(let E=0,G=this.expr.length;E<G;E++){const J=a(this.expr[E],g.expr[E]);if(J!==0)return J}return 0}equals(g){if(g.type===this.type){if(this.expr.length!==g.expr.length)return!1;for(let E=0,G=this.expr.length;E<G;E++)if(!this.expr[E].equals(g.expr[E]))return!1;return!0}return!1}substituteConstants(){const g=z(this.expr);return g===this.expr?this:me.create(g,this.negated,!1)}evaluate(g){for(let E=0,G=this.expr.length;E<G;E++)if(this.expr[E].evaluate(g))return!0;return!1}static _normalizeArr(g,E,G){let J=[],Le=!1;if(g){for(let ke=0,Fe=g.length;ke<Fe;ke++){const Ze=g[ke];if(Ze){if(Ze.type===0){Le=!0;continue}if(Ze.type===1)return K.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 ke=1;ke<J.length;ke++)J[ke-1].equals(J[ke])&&(J.splice(ke,1),ke--);if(J.length===1)return J[0];if(G){for(let ke=0;ke<J.length;ke++)for(let Fe=ke+1;Fe<J.length;Fe++)Y(J[ke],J[Fe])&&(J.splice(Fe,1),Fe--);if(J.length===1)return J[0]}return new me(J,E)}}serialize(){return this.expr.map(g=>g.serialize()).join(" || ")}keys(){const g=[];for(let E of this.expr)g.push(...E.keys());return g}negate(){if(!this.negated){let g=[];for(let E of this.expr)g.push(E.negate());for(;g.length>1;){const E=g.shift(),G=g.shift(),J=[];for(const ke of ce(E))for(const Fe of ce(G))J.push(pe.create([ke,Fe],null));const Le=g.length===0;g.unshift(me.create(J,null,Le))}this.negated=g[0]}return this.negated}}class de extends S{constructor(g,E,G){super(g,null),this._defaultValue=E,typeof G=="object"?de._info.push(Object.assign(Object.assign({},G),{key:g})):G!==!0&&de._info.push({key:g,description:G,type:E!=null?typeof E:void 0})}static all(){return de._info.values()}bindTo(g){return g.createKey(this.key,this._defaultValue)}getValue(g){return g.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(g){return u.create(this.key,g)}}de._info=[];const ae=(0,X.yh)("contextKeyService"),te="setContext";function B(ie,g){return ie<g?-1:ie>g?1:0}function fe(ie,g,E,G){return ie<E?-1:ie>E?1:g<G?-1:g>G?1:0}function Y(ie,g){if(g.type===6&&ie.type!==9&&ie.type!==6){for(const J of g.expr)if(ie.equals(J))return!0}const E=ie.negate(),G=ce(E).concat(ce(g));G.sort(a);for(let J=0;J<G.length;J++){const ke=G[J].negate();for(let Fe=J+1;Fe<G.length;Fe++){const Ze=G[Fe];if(ke.equals(Ze))return!0}}return!1}function ce(ie){return ie.type===9?ie.expr:[ie]}},16925:function(nn,nt,f){"use strict";f.d(nt,{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(xe){return xe[q.DI_DEPENDENCIES]||[]}q.getServiceDependencies=C})(y||(y={}));const L=Ee("instantiationService");function X(q,C,xe,a){C[y.DI_TARGET]===C?C[y.DI_DEPENDENCIES].push({id:q,index:xe,optional:a}):(C[y.DI_DEPENDENCIES]=[{id:q,index:xe,optional:a}],C[y.DI_TARGET]=C)}function Ee(q){if(y.serviceIds.has(q))return y.serviceIds.get(q);const C=function(xe,a,I){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");X(C,xe,I,!1)};return C.toString=()=>q,y.serviceIds.set(q,C),C}function $(q){return function(C,xe,a){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");X(q,C,a,!0)}}},44650:function(nn,nt,f){"use strict";f.d(nt,{B:function(){return Ee}});var y=f(76068),L=f(72999);class X{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 X},66213:function(nn,nt,f){"use strict";f.d(nt,{e:function(){return y}});var y;(function(L){L.DARK="dark",L.LIGHT="light",L.HIGH_CONTRAST="hc"})(y||(y={}))},49055:function(nn,nt,f){"use strict";f.d(nt,{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 K}});var y=f(52615),L=f(4348),X=f(69323),Ee=f(16925),$=f(44650),q=f(66213);const C=(0,Ee.yh)("themeService");var xe;(function(ue){function U(V){return V&&typeof V=="object"&&typeof V.id=="string"}ue.isThemeColor=U})(xe||(xe={}));function a(ue){return{id:ue}}var I;(function(ue){function U(Z){return Z&&typeof Z=="object"&&typeof Z.id=="string"&&(typeof Z.color=="undefined"||xe.isThemeColor(Z.color))}ue.isThemeIcon=U;const V=new RegExp(`^\\$\\((${y.dT.iconNameExpression}(?:${y.dT.iconModifierExpression})?)\\)$`);function ne(Z){const z=V.exec(Z);if(!z)return;let[,pe]=z;return{id:pe}}ue.fromString=ne;function Q(Z,z){let pe=Z.id;const me=pe.lastIndexOf("~");return me!==-1&&(pe=pe.substring(0,me)),z&&(pe=`${pe}~${z}`),{id:pe}}ue.modify=Q;function b(Z,z){var pe,me;return Z.id===z.id&&((pe=Z.color)===null||pe===void 0?void 0:pe.id)===((me=z.color)===null||me===void 0?void 0:me.id)}ue.isEqual=b;function R(Z,z){return{id:Z.id,color:z?a(z):void 0}}ue.asThemeIcon=R,ue.asClassNameArray=y.dT.asClassNameArray,ue.asClassName=y.dT.asClassName,ue.asCSSSelector=y.dT.asCSSSelector})(I||(I={}));function K(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(U){return this.themingParticipants.push(U),this.onThemingParticipantAddedEmitter.fire(U),(0,X.OF)(()=>{const V=this.themingParticipants.indexOf(U);this.themingParticipants.splice(V,1)})}getThemingParticipants(){return this.themingParticipants}}let x=new u;$.B.add(S.ThemingContribution,x);function m(ue){return x.onColorThemeChange(ue)}class P extends X.JT{constructor(U){super(),this.themeService=U,this.theme=U.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(V=>this.onThemeChange(V)))}onThemeChange(U){this.theme=U,this.updateStyles()}updateStyles(){}}},5630:function(nn,nt,f){"use strict";var y=f(96663),L=f(44127),X=f(90493),Ee=f(72071),$=f(6620),q=f(92310),C=f.n(q),xe=f(18929),a=f(59301),I=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],K=(0,a.forwardRef)(function(S,u){var x,m=S.prefixCls,P=m===void 0?"rc-checkbox":m,ue=S.className,U=S.style,V=S.checked,ne=S.disabled,Q=S.defaultChecked,b=Q===void 0?!1:Q,R=S.type,Z=R===void 0?"checkbox":R,z=S.title,pe=S.onChange,me=(0,$.Z)(S,I),de=(0,a.useRef)(null),ae=(0,xe.Z)(b,{value:V}),te=(0,Ee.Z)(ae,2),B=te[0],fe=te[1];(0,a.useImperativeHandle)(u,function(){return{focus:function(){var g;(g=de.current)===null||g===void 0||g.focus()},blur:function(){var g;(g=de.current)===null||g===void 0||g.blur()},input:de.current}});var Y=C()(P,ue,(x={},(0,X.Z)(x,"".concat(P,"-checked"),B),(0,X.Z)(x,"".concat(P,"-disabled"),ne),x)),ce=function(g){ne||("checked"in S||fe(g.target.checked),pe==null||pe({target:(0,L.Z)((0,L.Z)({},S),{},{type:Z,checked:g.target.checked}),stopPropagation:function(){g.stopPropagation()},preventDefault:function(){g.preventDefault()},nativeEvent:g.nativeEvent}))};return a.createElement("span",{className:Y,title:z,style:U},a.createElement("input",(0,y.Z)({},me,{className:"".concat(P,"-input"),ref:de,onChange:ce,disabled:ne,checked:!!B,type:Z})),a.createElement("span",{className:"".concat(P,"-inner")}))});nt.Z=K},31561:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return Z}});var y=f(96663),L=f(90493),X=f(72071),Ee=f(6620),$=f(35593),q=f(92310),C=f.n(q),xe=f(8654),a=f(59301),I=f(10228),K=f(16089),S=I.Z.ESC,u=I.Z.TAB;function x(z){var pe=z.visible,me=z.triggerRef,de=z.onVisibleChange,ae=z.autoFocus,te=z.overlayRef,B=a.useRef(!1),fe=function(){if(pe){var g,E;(g=me.current)===null||g===void 0||(E=g.focus)===null||E===void 0||E.call(g),de==null||de(!1)}},Y=function(){var g;return(g=te.current)!==null&&g!==void 0&&g.focus?(te.current.focus(),B.current=!0,!0):!1},ce=function(g){switch(g.keyCode){case S:fe();break;case u:{var E=!1;B.current||(E=Y()),E?g.preventDefault():fe();break}}};a.useEffect(function(){return pe?(window.addEventListener("keydown",ce),ae&&(0,K.Z)(Y,3),function(){window.removeEventListener("keydown",ce),B.current=!1}):function(){B.current=!1}},[pe])}var m=(0,a.forwardRef)(function(z,pe){var me=z.overlay,de=z.arrow,ae=z.prefixCls,te=(0,a.useMemo)(function(){var fe;return typeof me=="function"?fe=me():fe=me,fe},[me]),B=(0,xe.sQ)(pe,te==null?void 0:te.ref);return a.createElement(a.Fragment,null,de&&a.createElement("div",{className:"".concat(ae,"-arrow")}),a.cloneElement(te,{ref:(0,xe.Yr)(te)?B:void 0}))}),P=m,ue={adjustX:1,adjustY:1},U=[0,0],V={topLeft:{points:["bl","tl"],overflow:ue,offset:[0,-4],targetOffset:U},top:{points:["bc","tc"],overflow:ue,offset:[0,-4],targetOffset:U},topRight:{points:["br","tr"],overflow:ue,offset:[0,-4],targetOffset:U},bottomLeft:{points:["tl","bl"],overflow:ue,offset:[0,4],targetOffset:U},bottom:{points:["tc","bc"],overflow:ue,offset:[0,4],targetOffset:U},bottomRight:{points:["tr","br"],overflow:ue,offset:[0,4],targetOffset:U}},ne=V,Q=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function b(z,pe){var me,de=z.arrow,ae=de===void 0?!1:de,te=z.prefixCls,B=te===void 0?"rc-dropdown":te,fe=z.transitionName,Y=z.animation,ce=z.align,ie=z.placement,g=ie===void 0?"bottomLeft":ie,E=z.placements,G=E===void 0?ne:E,J=z.getPopupContainer,Le=z.showAction,ke=z.hideAction,Fe=z.overlayClassName,Ze=z.overlayStyle,lt=z.visible,ut=z.trigger,it=ut===void 0?["hover"]:ut,Ut=z.autoFocus,qt=z.overlay,an=z.children,Ot=z.onVisibleChange,ot=(0,Ee.Z)(z,Q),_t=a.useState(),se=(0,X.Z)(_t,2),ye=se[0],H=se[1],O="visible"in z?lt:ye,Ae=a.useRef(null),k=a.useRef(null),_=a.useRef(null);a.useImperativeHandle(pe,function(){return Ae.current});var T=function(Je){H(Je),Ot==null||Ot(Je)};x({visible:O,triggerRef:_,onVisibleChange:T,autoFocus:Ut,overlayRef:k});var ee=function(Je){var Ge=z.onOverlayClick;H(!1),Ge&&Ge(Je)},W=function(){return a.createElement(P,{ref:k,overlay:qt,prefixCls:B,arrow:ae})},j=function(){return typeof qt=="function"?W:W()},_e=function(){var Je=z.minOverlayWidthMatchTrigger,Ge=z.alignPoint;return"minOverlayWidthMatchTrigger"in z?Je:!Ge},Ke=function(){var Je=z.openClassName;return Je!==void 0?Je:"".concat(B,"-open")},De=a.cloneElement(an,{className:C()((me=an.props)===null||me===void 0?void 0:me.className,O&&Ke()),ref:(0,xe.Yr)(an)?(0,xe.sQ)(_,an.ref):void 0}),Oe=ke;return!Oe&&it.indexOf("contextMenu")!==-1&&(Oe=["click"]),a.createElement($.Z,(0,y.Z)({builtinPlacements:G},ot,{prefixCls:B,ref:Ae,popupClassName:C()(Fe,(0,L.Z)({},"".concat(B,"-show-arrow"),ae)),popupStyle:Ze,action:it,showAction:Le,hideAction:Oe,popupPlacement:g,popupAlign:ce,popupTransitionName:fe,popupAnimation:Y,popupVisible:O,stretch:_e()?"minWidth":"",popup:j(),onPopupVisibleChange:T,onPopupClick:ee,getPopupContainer:J}),De)}var R=a.forwardRef(b),Z=R},93681:function(nn,nt,f){"use strict";f.r(nt),f.d(nt,{BaseInput:function(){return I},default:function(){return V}});var y=f(96663),L=f(44127),X=f(90493),Ee=f(20135),$=f(92310),q=f.n($),C=f(59301),xe=f(5643),a=function(Q){var b,R,Z=Q.inputElement,z=Q.prefixCls,pe=Q.prefix,me=Q.suffix,de=Q.addonBefore,ae=Q.addonAfter,te=Q.className,B=Q.style,fe=Q.disabled,Y=Q.readOnly,ce=Q.focused,ie=Q.triggerFocus,g=Q.allowClear,E=Q.value,G=Q.handleReset,J=Q.hidden,Le=Q.classes,ke=Q.classNames,Fe=Q.dataAttrs,Ze=Q.styles,lt=Q.components,ut=(lt==null?void 0:lt.affixWrapper)||"span",it=(lt==null?void 0:lt.groupWrapper)||"span",Ut=(lt==null?void 0:lt.wrapper)||"span",qt=(lt==null?void 0:lt.groupAddon)||"span",an=(0,C.useRef)(null),Ot=function(W){var j;(j=an.current)!==null&&j!==void 0&&j.contains(W.target)&&(ie==null||ie())},ot=function(){var W;if(!g)return null;var j=!fe&&!Y&&E,_e="".concat(z,"-clear-icon"),Ke=(0,Ee.Z)(g)==="object"&&g!==null&&g!==void 0&&g.clearIcon?g.clearIcon:"\u2716";return C.createElement("span",{onClick:G,onMouseDown:function(Oe){return Oe.preventDefault()},className:q()(_e,(W={},(0,X.Z)(W,"".concat(_e,"-hidden"),!j),(0,X.Z)(W,"".concat(_e,"-has-suffix"),!!me),W)),role:"button",tabIndex:-1},Ke)},_t=(0,C.cloneElement)(Z,{value:E,hidden:J,className:q()((b=Z.props)===null||b===void 0?void 0:b.className,!(0,xe.X3)(Q)&&!(0,xe.He)(Q)&&te)||null,style:(0,L.Z)((0,L.Z)({},(R=Z.props)===null||R===void 0?void 0:R.style),!(0,xe.X3)(Q)&&!(0,xe.He)(Q)?B:{})});if((0,xe.X3)(Q)){var se,ye="".concat(z,"-affix-wrapper"),H=q()(ye,(se={},(0,X.Z)(se,"".concat(ye,"-disabled"),fe),(0,X.Z)(se,"".concat(ye,"-focused"),ce),(0,X.Z)(se,"".concat(ye,"-readonly"),Y),(0,X.Z)(se,"".concat(ye,"-input-with-clear-btn"),me&&g&&E),se),!(0,xe.He)(Q)&&te,Le==null?void 0:Le.affixWrapper,ke==null?void 0:ke.affixWrapper),O=(me||g)&&C.createElement("span",{className:q()("".concat(z,"-suffix"),ke==null?void 0:ke.suffix),style:Ze==null?void 0:Ze.suffix},ot(),me);_t=C.createElement(ut,(0,y.Z)({className:H,style:(0,L.Z)((0,L.Z)({},(0,xe.He)(Q)?void 0:B),Ze==null?void 0:Ze.affixWrapper),hidden:!(0,xe.He)(Q)&&J,onClick:Ot},Fe==null?void 0:Fe.affixWrapper,{ref:an}),pe&&C.createElement("span",{className:q()("".concat(z,"-prefix"),ke==null?void 0:ke.prefix),style:Ze==null?void 0:Ze.prefix},pe),(0,C.cloneElement)(Z,{value:E,hidden:null}),O)}if((0,xe.He)(Q)){var Ae="".concat(z,"-group"),k="".concat(Ae,"-addon"),_=q()("".concat(z,"-wrapper"),Ae,Le==null?void 0:Le.wrapper),T=q()("".concat(z,"-group-wrapper"),te,Le==null?void 0:Le.group);return C.createElement(it,{className:T,style:B,hidden:J},C.createElement(Ut,{className:_},de&&C.createElement(qt,{className:k},de),(0,C.cloneElement)(_t,{hidden:null}),ae&&C.createElement(qt,{className:k},ae)))}return _t},I=a,K=f(19127),S=f(72071),u=f(6620),x=f(18929),m=f(2738),P=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],ue=(0,C.forwardRef)(function(ne,Q){var b=ne.autoComplete,R=ne.onChange,Z=ne.onFocus,z=ne.onBlur,pe=ne.onPressEnter,me=ne.onKeyDown,de=ne.prefixCls,ae=de===void 0?"rc-input":de,te=ne.disabled,B=ne.htmlSize,fe=ne.className,Y=ne.maxLength,ce=ne.suffix,ie=ne.showCount,g=ne.type,E=g===void 0?"text":g,G=ne.classes,J=ne.classNames,Le=ne.styles,ke=(0,u.Z)(ne,P),Fe=(0,x.Z)(ne.defaultValue,{value:ne.value}),Ze=(0,S.Z)(Fe,2),lt=Ze[0],ut=Ze[1],it=(0,C.useState)(!1),Ut=(0,S.Z)(it,2),qt=Ut[0],an=Ut[1],Ot=(0,C.useRef)(null),ot=function(T){Ot.current&&(0,xe.nH)(Ot.current,T)};(0,C.useImperativeHandle)(Q,function(){return{focus:ot,blur:function(){var T;(T=Ot.current)===null||T===void 0||T.blur()},setSelectionRange:function(T,ee,W){var j;(j=Ot.current)===null||j===void 0||j.setSelectionRange(T,ee,W)},select:function(){var T;(T=Ot.current)===null||T===void 0||T.select()},input:Ot.current}}),(0,C.useEffect)(function(){an(function(_){return _&&te?!1:_})},[te]);var _t=function(T){ne.value===void 0&&ut(T.target.value),Ot.current&&(0,xe.rJ)(Ot.current,T,R)},se=function(T){pe&&T.key==="Enter"&&pe(T),me==null||me(T)},ye=function(T){an(!0),Z==null||Z(T)},H=function(T){an(!1),z==null||z(T)},O=function(T){ut(""),ot(),Ot.current&&(0,xe.rJ)(Ot.current,T,R)},Ae=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:_t,onFocus:ye,onBlur:H,onKeyDown:se,className:q()(ae,(0,X.Z)({},"".concat(ae,"-disabled"),te),J==null?void 0:J.input),style:Le==null?void 0:Le.input,ref:Ot,size:B,type:E}))},k=function(){var T=Number(Y)>0;if(ce||ie){var ee=(0,xe.D7)(lt),W=(0,K.Z)(ee).length,j=(0,Ee.Z)(ie)==="object"?ie.formatter({value:ee,count:W,maxLength:Y}):"".concat(W).concat(T?" / ".concat(Y):"");return C.createElement(C.Fragment,null,!!ie&&C.createElement("span",{className:q()("".concat(ae,"-show-count-suffix"),(0,X.Z)({},"".concat(ae,"-show-count-has-suffix"),!!ce),J==null?void 0:J.count),style:(0,L.Z)({},Le==null?void 0:Le.count)},j),ce)}return null};return C.createElement(I,(0,y.Z)({},ke,{prefixCls:ae,className:fe,inputElement:Ae(),handleReset:O,value:(0,xe.D7)(lt),focused:qt,triggerFocus:ot,suffix:k(),disabled:te,classes:G,classNames:J,styles:Le}))}),U=ue,V=U},5643:function(nn,nt,f){"use strict";f.d(nt,{D7:function(){return $},He:function(){return y},X3:function(){return L},nH:function(){return Ee},rJ:function(){return X}});function y(q){return!!(q.addonBefore||q.addonAfter)}function L(q){return!!(q.prefix||q.suffix||q.allowClear)}function X(q,C,xe,a){if(xe){var I=C;if(C.type==="click"){var K=q.cloneNode(!0);I=Object.create(C,{target:{value:K},currentTarget:{value:K}}),K.value="",xe(I);return}if(a!==void 0){I=Object.create(C,{target:{value:q},currentTarget:{value:q}}),q.value=a,xe(I);return}xe(I)}}function Ee(q,C){if(q){q.focus(C);var xe=C||{},a=xe.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)}},15285:function(nn,nt,f){"use strict";f.d(nt,{iz:function(){return dn},ck:function(){return Xe},BW:function(){return sn},sN:function(){return Xe},Wd:function(){return pt},ZP:function(){return rn},Xl:function(){return me}});var y=f(96663),L=f(90493),X=f(44127),Ee=f(19127),$=f(72071),q=f(6620),C=f(92310),xe=f.n(C),a=f(11780),I=f(18929),K=f(13697),S=f(48736),u=f(59301),x=f(4676),m=u.createContext(null);function P(ht,vt){return ht===void 0?null:"".concat(ht,"-").concat(vt)}function ue(ht){var vt=u.useContext(m);return P(vt,ht)}var U=f(80547),V=["children","locked"],ne=u.createContext(null);function Q(ht,vt){var It=(0,X.Z)({},ht);return Object.keys(vt).forEach(function(Vt){var Nt=vt[Vt];Nt!==void 0&&(It[Vt]=Nt)}),It}function b(ht){var vt=ht.children,It=ht.locked,Vt=(0,q.Z)(ht,V),Nt=u.useContext(ne),$t=(0,U.Z)(function(){return Q(Nt,Vt)},[Nt,Vt],function(Zt,vn){return!It&&(Zt[0]!==vn[0]||!(0,K.Z)(Zt[1],vn[1],!0))});return u.createElement(ne.Provider,{value:$t},vt)}var R=[],Z=u.createContext(null);function z(){return u.useContext(Z)}var pe=u.createContext(R);function me(ht){var vt=u.useContext(pe);return u.useMemo(function(){return ht!==void 0?[].concat((0,Ee.Z)(vt),[ht]):vt},[vt,ht])}var de=u.createContext(null),ae=u.createContext({}),te=ae,B=f(29194);function fe(ht){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,B.Z)(ht)){var It=ht.nodeName.toLowerCase(),Vt=["input","select","textarea","button"].includes(It)||ht.isContentEditable||It==="a"&&!!ht.getAttribute("href"),Nt=ht.getAttribute("tabindex"),$t=Number(Nt),Zt=null;return Nt&&!Number.isNaN($t)?Zt=$t:Vt&&Zt===null&&(Zt=0),Vt&&ht.disabled&&(Zt=null),Zt!==null&&(Zt>=0||vt&&Zt<0)}return!1}function Y(ht){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,It=(0,Ee.Z)(ht.querySelectorAll("*")).filter(function(Vt){return fe(Vt,vt)});return fe(ht,vt)&&It.unshift(ht),It}var ce=null;function ie(){ce=document.activeElement}function g(){ce=null}function E(){if(ce)try{ce.focus()}catch(ht){}}function G(ht,vt){if(vt.keyCode===9){var It=Y(ht),Vt=It[vt.shiftKey?0:It.length-1],Nt=Vt===document.activeElement||ht===document.activeElement;if(Nt){var $t=It[vt.shiftKey?It.length-1:0];$t.focus(),vt.preventDefault()}}}var J=f(10228),Le=f(16089),ke=J.Z.LEFT,Fe=J.Z.RIGHT,Ze=J.Z.UP,lt=J.Z.DOWN,ut=J.Z.ENTER,it=J.Z.ESC,Ut=J.Z.HOME,qt=J.Z.END,an=[Ze,lt,ke,Fe];function Ot(ht,vt,It,Vt){var Nt,$t,Zt,vn,_n="prev",kn="next",qn="children",rr="parent";if(ht==="inline"&&Vt===ut)return{inlineTrigger:!0};var sr=(Nt={},(0,L.Z)(Nt,Ze,_n),(0,L.Z)(Nt,lt,kn),Nt),wn=($t={},(0,L.Z)($t,ke,It?kn:_n),(0,L.Z)($t,Fe,It?_n:kn),(0,L.Z)($t,lt,qn),(0,L.Z)($t,ut,qn),$t),En=(Zt={},(0,L.Z)(Zt,Ze,_n),(0,L.Z)(Zt,lt,kn),(0,L.Z)(Zt,ut,qn),(0,L.Z)(Zt,it,rr),(0,L.Z)(Zt,ke,It?qn:rr),(0,L.Z)(Zt,Fe,It?rr:qn),Zt),gr={inline:sr,horizontal:wn,vertical:En,inlineSub:sr,horizontalSub:En,verticalSub:En},$n=(vn=gr["".concat(ht).concat(vt?"":"Sub")])===null||vn===void 0?void 0:vn[Vt];switch($n){case _n:return{offset:-1,sibling:!0};case kn:return{offset:1,sibling:!0};case rr:return{offset:-1,sibling:!1};case qn:return{offset:1,sibling:!1};default:return null}}function ot(ht){for(var vt=ht;vt;){if(vt.getAttribute("data-menu-list"))return vt;vt=vt.parentElement}return null}function _t(ht,vt){for(var It=ht||document.activeElement;It;){if(vt.has(It))return It;It=It.parentElement}return null}function se(ht,vt){var It=Y(ht,!0);return It.filter(function(Vt){return vt.has(Vt)})}function ye(ht,vt,It){var Vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!ht)return null;var Nt=se(ht,vt),$t=Nt.length,Zt=Nt.findIndex(function(vn){return It===vn});return Vt<0?Zt===-1?Zt=$t-1:Zt-=1:Vt>0&&(Zt+=1),Zt=(Zt+$t)%$t,Nt[Zt]}var H=function(vt,It){var Vt=new Set,Nt=new Map,$t=new Map;return vt.forEach(function(Zt){var vn=document.querySelector("[data-menu-id='".concat(P(It,Zt),"']"));vn&&(Vt.add(vn),$t.set(vn,Zt),Nt.set(Zt,vn))}),{elements:Vt,key2element:Nt,element2key:$t}};function O(ht,vt,It,Vt,Nt,$t,Zt,vn,_n,kn){var qn=u.useRef(),rr=u.useRef();rr.current=vt;var sr=function(){Le.Z.cancel(qn.current)};return u.useEffect(function(){return function(){sr()}},[]),function(wn){var En=wn.which;if([].concat(an,[ut,it,Ut,qt]).includes(En)){var gr=$t(),$n=H(gr,Vt),Cr=$n,Xn=Cr.elements,lr=Cr.key2element,yr=Cr.element2key,ir=lr.get(vt),Fr=_t(ir,Xn),qr=yr.get(Fr),Jn=Ot(ht,Zt(qr,!0).length===1,It,En);if(!Jn&&En!==Ut&&En!==qt)return;(an.includes(En)||[Ut,qt].includes(En))&&wn.preventDefault();var Rn=function(vr){if(vr){var Hr=vr,Hn=vr.querySelector("a");Hn!=null&&Hn.getAttribute("href")&&(Hr=Hn);var Tn=yr.get(vr);vn(Tn),sr(),qn.current=(0,Le.Z)(function(){rr.current===Tn&&Hr.focus()})}};if([Ut,qt].includes(En)||Jn.sibling||!Fr){var at;!Fr||ht==="inline"?at=Nt.current:at=ot(Fr);var Kn,ur=se(at,Xn);En===Ut?Kn=ur[0]:En===qt?Kn=ur[ur.length-1]:Kn=ye(at,Xn,Fr,Jn.offset),Rn(Kn)}else if(Jn.inlineTrigger)_n(qr);else if(Jn.offset>0)_n(qr,!0),sr(),qn.current=(0,Le.Z)(function(){$n=H(gr,Vt);var zr=Fr.getAttribute("aria-controls"),vr=document.getElementById(zr),Hr=ye(vr,$n.elements);Rn(Hr)},5);else if(Jn.offset<0){var wr=Zt(qr,!0),Rr=wr[wr.length-2],Nr=lr.get(Rr);_n(Rr,!1),Rn(Nr)}}kn==null||kn(wn)}}function Ae(ht){Promise.resolve().then(ht)}var k="__RC_UTIL_PATH_SPLIT__",_=function(vt){return vt.join(k)},T=function(vt){return vt.split(k)},ee="rc-menu-more";function W(){var ht=u.useState({}),vt=(0,$.Z)(ht,2),It=vt[1],Vt=(0,u.useRef)(new Map),Nt=(0,u.useRef)(new Map),$t=u.useState([]),Zt=(0,$.Z)($t,2),vn=Zt[0],_n=Zt[1],kn=(0,u.useRef)(0),qn=(0,u.useRef)(!1),rr=function(){qn.current||It({})},sr=(0,u.useCallback)(function(lr,yr){var ir=_(yr);Nt.current.set(ir,lr),Vt.current.set(lr,ir),kn.current+=1;var Fr=kn.current;Ae(function(){Fr===kn.current&&rr()})},[]),wn=(0,u.useCallback)(function(lr,yr){var ir=_(yr);Nt.current.delete(ir),Vt.current.delete(lr)},[]),En=(0,u.useCallback)(function(lr){_n(lr)},[]),gr=(0,u.useCallback)(function(lr,yr){var ir=Vt.current.get(lr)||"",Fr=T(ir);return yr&&vn.includes(Fr[0])&&Fr.unshift(ee),Fr},[vn]),$n=(0,u.useCallback)(function(lr,yr){return lr.some(function(ir){var Fr=gr(ir,!0);return Fr.includes(yr)})},[gr]),Cr=function(){var yr=(0,Ee.Z)(Vt.current.keys());return vn.length&&yr.push(ee),yr},Xn=(0,u.useCallback)(function(lr){var yr="".concat(Vt.current.get(lr)).concat(k),ir=new Set;return(0,Ee.Z)(Nt.current.keys()).forEach(function(Fr){Fr.startsWith(yr)&&ir.add(Nt.current.get(Fr))}),ir},[]);return u.useEffect(function(){return function(){qn.current=!0}},[]),{registerPath:sr,unregisterPath:wn,refreshOverflowKeys:En,isSubPathKey:$n,getKeyPath:gr,getKeys:Cr,getSubPathKeys:Xn}}function j(ht){var vt=u.useRef(ht);vt.current=ht;var It=u.useCallback(function(){for(var Vt,Nt=arguments.length,$t=new Array(Nt),Zt=0;Zt<Nt;Zt++)$t[Zt]=arguments[Zt];return(Vt=vt.current)===null||Vt===void 0?void 0:Vt.call.apply(Vt,[vt].concat($t))},[]);return ht?It:void 0}var _e=Math.random().toFixed(5).toString().slice(2),Ke=0;function De(ht){var vt=(0,I.Z)(ht,{value:ht}),It=(0,$.Z)(vt,2),Vt=It[0],Nt=It[1];return u.useEffect(function(){Ke+=1;var $t="".concat(_e,"-").concat(Ke);Nt("rc-menu-uuid-".concat($t))},[]),Vt}var Oe=f(52884),Ye=f(95727),Je=f(65711),Ge=f(85745),yt=f(2738),xt=f(8654);function dt(ht,vt,It,Vt){var Nt=u.useContext(ne),$t=Nt.activeKey,Zt=Nt.onActive,vn=Nt.onInactive,_n={active:$t===ht};return vt||(_n.onMouseEnter=function(kn){It==null||It({key:ht,domEvent:kn}),Zt(ht)},_n.onMouseLeave=function(kn){Vt==null||Vt({key:ht,domEvent:kn}),vn(ht)}),_n}function kt(ht){var vt=u.useContext(ne),It=vt.mode,Vt=vt.rtl,Nt=vt.inlineIndent;if(It!=="inline")return null;var $t=ht;return Vt?{paddingRight:$t*Nt}:{paddingLeft:$t*Nt}}function Tt(ht){var vt=ht.icon,It=ht.props,Vt=ht.children,Nt;return vt===null||vt===!1?null:(typeof vt=="function"?Nt=u.createElement(vt,(0,X.Z)({},It)):typeof vt!="boolean"&&(Nt=vt),Nt||Vt||null)}var w=["item"];function D(ht){var vt=ht.item,It=(0,q.Z)(ht,w);return Object.defineProperty(It,"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."),vt}}),It}var bt=["title","attribute","elementRef"],he=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Be=["active"],pn=function(ht){(0,Je.Z)(It,ht);var vt=(0,Ge.Z)(It);function It(){return(0,Oe.Z)(this,It),vt.apply(this,arguments)}return(0,Ye.Z)(It,[{key:"render",value:function(){var Nt=this.props,$t=Nt.title,Zt=Nt.attribute,vn=Nt.elementRef,_n=(0,q.Z)(Nt,bt),kn=(0,yt.Z)(_n,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,S.ZP)(!Zt,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),u.createElement(a.Z.Item,(0,y.Z)({},Zt,{title:typeof $t=="string"?$t:void 0},kn,{ref:vn}))}}]),It}(u.Component),We=u.forwardRef(function(ht,vt){var It,Vt=ht.style,Nt=ht.className,$t=ht.eventKey,Zt=ht.warnKey,vn=ht.disabled,_n=ht.itemIcon,kn=ht.children,qn=ht.role,rr=ht.onMouseEnter,sr=ht.onMouseLeave,wn=ht.onClick,En=ht.onKeyDown,gr=ht.onFocus,$n=(0,q.Z)(ht,he),Cr=ue($t),Xn=u.useContext(ne),lr=Xn.prefixCls,yr=Xn.onItemClick,ir=Xn.disabled,Fr=Xn.overflowDisabled,qr=Xn.itemIcon,Jn=Xn.selectedKeys,Rn=Xn.onActive,at=u.useContext(te),Kn=at._internalRenderMenuItem,ur="".concat(lr,"-item"),wr=u.useRef(),Rr=u.useRef(),Nr=ir||vn,zr=(0,xt.x1)(vt,Rr),vr=me($t),Hr=function(ei){return{key:$t,keyPath:(0,Ee.Z)(vr).reverse(),item:wr.current,domEvent:ei}},Hn=_n||qr,Tn=dt($t,Nr,rr,sr),er=Tn.active,kr=(0,q.Z)(Tn,Be),Wr=Jn.includes($t),wi=kt(vr.length),jn=function(ei){if(!Nr){var gi=Hr(ei);wn==null||wn(D(gi)),yr(gi)}},$r=function(ei){if(En==null||En(ei),ei.which===J.Z.ENTER){var gi=Hr(ei);wn==null||wn(D(gi)),yr(gi)}},Vr=function(ei){Rn($t),gr==null||gr(ei)},oi={};ht.role==="option"&&(oi["aria-selected"]=Wr);var Ti=u.createElement(pn,(0,y.Z)({ref:wr,elementRef:zr,role:qn===null?"none":qn||"menuitem",tabIndex:vn?null:-1,"data-menu-id":Fr&&Cr?null:Cr},$n,kr,oi,{component:"li","aria-disabled":vn,style:(0,X.Z)((0,X.Z)({},wi),Vt),className:xe()(ur,(It={},(0,L.Z)(It,"".concat(ur,"-active"),er),(0,L.Z)(It,"".concat(ur,"-selected"),Wr),(0,L.Z)(It,"".concat(ur,"-disabled"),Nr),It),Nt),onClick:jn,onKeyDown:$r,onFocus:Vr}),kn,u.createElement(Tt,{props:(0,X.Z)((0,X.Z)({},ht),{},{isSelected:Wr}),icon:Hn}));return Kn&&(Ti=Kn(Ti,ht,{selected:Wr})),Ti});function et(ht,vt){var It=ht.eventKey,Vt=z(),Nt=me(It);return u.useEffect(function(){if(Vt)return Vt.registerPath(It,Nt),function(){Vt.unregisterPath(It,Nt)}},[Nt]),Vt?null:u.createElement(We,(0,y.Z)({},ht,{ref:vt}))}var Xe=u.forwardRef(et),Se=["className","children"],Ie=function(vt,It){var Vt=vt.className,Nt=vt.children,$t=(0,q.Z)(vt,Se),Zt=u.useContext(ne),vn=Zt.prefixCls,_n=Zt.mode,kn=Zt.rtl;return u.createElement("ul",(0,y.Z)({className:xe()(vn,kn&&"".concat(vn,"-rtl"),"".concat(vn,"-sub"),"".concat(vn,"-").concat(_n==="inline"?"inline":"vertical"),Vt),role:"menu"},$t,{"data-menu-list":!0,ref:It}),Nt)},ze=u.forwardRef(Ie);ze.displayName="SubMenuList";var qe=ze,be=f(11592);function en(ht,vt){return(0,be.Z)(ht).map(function(It,Vt){if(u.isValidElement(It)){var Nt,$t,Zt=It.key,vn=(Nt=($t=It.props)===null||$t===void 0?void 0:$t.eventKey)!==null&&Nt!==void 0?Nt:Zt,_n=vn==null;_n&&(vn="tmp_key-".concat([].concat((0,Ee.Z)(vt),[Vt]).join("-")));var kn={key:vn,eventKey:vn};return u.cloneElement(It,kn)}return It})}var $e=f(35593),bn={adjustX:1,adjustY:1},Cn={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}},jt={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}},Jt=null;function wt(ht,vt,It){if(vt)return vt;if(It)return It[ht]||It.other}var Pt={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Ve(ht){var vt=ht.prefixCls,It=ht.visible,Vt=ht.children,Nt=ht.popup,$t=ht.popupStyle,Zt=ht.popupClassName,vn=ht.popupOffset,_n=ht.disabled,kn=ht.mode,qn=ht.onVisibleChange,rr=u.useContext(ne),sr=rr.getPopupContainer,wn=rr.rtl,En=rr.subMenuOpenDelay,gr=rr.subMenuCloseDelay,$n=rr.builtinPlacements,Cr=rr.triggerSubMenuAction,Xn=rr.forceSubMenuRender,lr=rr.rootClassName,yr=rr.motion,ir=rr.defaultMotions,Fr=u.useState(!1),qr=(0,$.Z)(Fr,2),Jn=qr[0],Rn=qr[1],at=wn?(0,X.Z)((0,X.Z)({},jt),$n):(0,X.Z)((0,X.Z)({},Cn),$n),Kn=Pt[kn],ur=wt(kn,yr,ir),wr=u.useRef(ur);kn!=="inline"&&(wr.current=ur);var Rr=(0,X.Z)((0,X.Z)({},wr.current),{},{leavedClassName:"".concat(vt,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Nr=u.useRef();return u.useEffect(function(){return Nr.current=(0,Le.Z)(function(){Rn(It)}),function(){Le.Z.cancel(Nr.current)}},[It]),u.createElement($e.Z,{prefixCls:vt,popupClassName:xe()("".concat(vt,"-popup"),(0,L.Z)({},"".concat(vt,"-rtl"),wn),Zt,lr),stretch:kn==="horizontal"?"minWidth":null,getPopupContainer:sr,builtinPlacements:at,popupPlacement:Kn,popupVisible:Jn,popup:Nt,popupStyle:$t,popupAlign:vn&&{offset:vn},action:_n?[]:[Cr],mouseEnterDelay:En,mouseLeaveDelay:gr,onPopupVisibleChange:qn,forceRender:Xn,popupMotion:Rr,fresh:!0},Vt)}var At=f(77900);function St(ht){var vt=ht.id,It=ht.open,Vt=ht.keyPath,Nt=ht.children,$t="inline",Zt=u.useContext(ne),vn=Zt.prefixCls,_n=Zt.forceSubMenuRender,kn=Zt.motion,qn=Zt.defaultMotions,rr=Zt.mode,sr=u.useRef(!1);sr.current=rr===$t;var wn=u.useState(!sr.current),En=(0,$.Z)(wn,2),gr=En[0],$n=En[1],Cr=sr.current?It:!1;u.useEffect(function(){sr.current&&$n(!1)},[rr]);var Xn=(0,X.Z)({},wt($t,kn,qn));Vt.length>1&&(Xn.motionAppear=!1);var lr=Xn.onVisibleChanged;return Xn.onVisibleChanged=function(yr){return!sr.current&&!yr&&$n(!0),lr==null?void 0:lr(yr)},gr?null:u.createElement(b,{mode:$t,locked:!sr.current},u.createElement(At.default,(0,y.Z)({visible:Cr},Xn,{forceRender:_n,removeOnLeave:!1,leavedClassName:"".concat(vn,"-hidden")}),function(yr){var ir=yr.className,Fr=yr.style;return u.createElement(qe,{id:vt,className:ir,style:Fr},Nt)}))}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(vt){var It,Vt=vt.style,Nt=vt.className,$t=vt.title,Zt=vt.eventKey,vn=vt.warnKey,_n=vt.disabled,kn=vt.internalPopupClose,qn=vt.children,rr=vt.itemIcon,sr=vt.expandIcon,wn=vt.popupClassName,En=vt.popupOffset,gr=vt.popupStyle,$n=vt.onClick,Cr=vt.onMouseEnter,Xn=vt.onMouseLeave,lr=vt.onTitleClick,yr=vt.onTitleMouseEnter,ir=vt.onTitleMouseLeave,Fr=(0,q.Z)(vt,Ue),qr=ue(Zt),Jn=u.useContext(ne),Rn=Jn.prefixCls,at=Jn.mode,Kn=Jn.openKeys,ur=Jn.disabled,wr=Jn.overflowDisabled,Rr=Jn.activeKey,Nr=Jn.selectedKeys,zr=Jn.itemIcon,vr=Jn.expandIcon,Hr=Jn.onItemClick,Hn=Jn.onOpenChange,Tn=Jn.onActive,er=u.useContext(te),kr=er._internalRenderSubMenuItem,Wr=u.useContext(de),wi=Wr.isSubPathKey,jn=me(),$r="".concat(Rn,"-submenu"),Vr=ur||_n,oi=u.useRef(),Ti=u.useRef(),ki=rr!=null?rr:zr,ei=sr!=null?sr:vr,gi=Kn.includes(Zt),li=!wr&&gi,Di=wi(Nr,Zt),Fi=dt(Zt,Vr,yr,ir),Vi=Fi.active,Ci=(0,q.Z)(Fi,Ce),Zi=u.useState(!1),Mr=(0,$.Z)(Zi,2),aa=Mr[0],ga=Mr[1],ua=function(Ii){Vr||ga(Ii)},vi=function(Ii){ua(!0),Cr==null||Cr({key:Zt,domEvent:Ii})},ca=function(Ii){ua(!1),Xn==null||Xn({key:Zt,domEvent:Ii})},_a=u.useMemo(function(){return Vi||(at!=="inline"?aa||wi([Rr],Zt):!1)},[at,Vi,Rr,aa,Zt,wi]),Pn=kt(jn.length),Ni=function(Ii){Vr||(lr==null||lr({key:Zt,domEvent:Ii}),at==="inline"&&Hn(Zt,!gi))},na=j(function(yi){$n==null||$n(D(yi)),Hr(yi)}),cr=function(Ii){at!=="inline"&&Hn(Zt,Ii)},xr=function(){Tn(Zt)},dr=qr&&"".concat(qr,"-popup"),Vn=u.createElement("div",(0,y.Z)({role:"menuitem",style:Pn,className:"".concat($r,"-title"),tabIndex:Vr?null:-1,ref:oi,title:typeof $t=="string"?$t:null,"data-menu-id":wr&&qr?null:qr,"aria-expanded":li,"aria-haspopup":!0,"aria-controls":dr,"aria-disabled":Vr,onClick:Ni,onFocus:xr},Ci),$t,u.createElement(Tt,{icon:at!=="horizontal"?ei:void 0,props:(0,X.Z)((0,X.Z)({},vt),{},{isOpen:li,isSubMenu:!0})},u.createElement("i",{className:"".concat($r,"-arrow")}))),Pr=u.useRef(at);if(at!=="inline"&&jn.length>1?Pr.current="vertical":Pr.current=at,!wr){var Yr=Pr.current;Vn=u.createElement(Ve,{mode:Yr,prefixCls:$r,visible:!kn&&li&&at!=="inline",popupClassName:wn,popupOffset:En,popupStyle:gr,popup:u.createElement(b,{mode:Yr==="horizontal"?"vertical":Yr},u.createElement(qe,{id:dr,ref:Ti},qn)),disabled:Vr,onVisibleChange:cr},Vn)}var Pi=u.createElement(a.Z.Item,(0,y.Z)({role:"none"},Fr,{component:"li",style:Vt,className:xe()($r,"".concat($r,"-").concat(at),Nt,(It={},(0,L.Z)(It,"".concat($r,"-open"),li),(0,L.Z)(It,"".concat($r,"-active"),_a),(0,L.Z)(It,"".concat($r,"-selected"),Di),(0,L.Z)(It,"".concat($r,"-disabled"),Vr),It)),onMouseEnter:vi,onMouseLeave:ca}),Vn,!wr&&u.createElement(St,{id:dr,open:li,keyPath:jn},qn));return kr&&(Pi=kr(Pi,vt,{selected:Di,active:_a,open:li,disabled:Vr})),u.createElement(b,{onItemClick:na,mode:at==="horizontal"?"vertical":at,itemIcon:ki,expandIcon:ei},Pi)};function pt(ht){var vt=ht.eventKey,It=ht.children,Vt=me(vt),Nt=en(It,Vt),$t=z();u.useEffect(function(){if($t)return $t.registerPath(vt,Vt),function(){$t.unregisterPath(vt,Vt)}},[Vt]);var Zt;return $t?Zt=Nt:Zt=u.createElement(mt,ht,Nt),u.createElement(pe.Provider,{value:Vt},Zt)}var Dt=f(20135),zt=["className","title","eventKey","children"],tn=["children"],Ht=function(vt){var It=vt.className,Vt=vt.title,Nt=vt.eventKey,$t=vt.children,Zt=(0,q.Z)(vt,zt),vn=u.useContext(ne),_n=vn.prefixCls,kn="".concat(_n,"-item-group");return u.createElement("li",(0,y.Z)({role:"presentation"},Zt,{onClick:function(rr){return rr.stopPropagation()},className:xe()(kn,It)}),u.createElement("div",{role:"presentation",className:"".concat(kn,"-title"),title:typeof Vt=="string"?Vt:void 0},Vt),u.createElement("ul",{role:"group",className:"".concat(kn,"-list")},$t))};function sn(ht){var vt=ht.children,It=(0,q.Z)(ht,tn),Vt=me(It.eventKey),Nt=en(vt,Vt),$t=z();return $t?Nt:u.createElement(Ht,(0,yt.Z)(It,["warnKey"]),Nt)}function dn(ht){var vt=ht.className,It=ht.style,Vt=u.useContext(ne),Nt=Vt.prefixCls,$t=z();return $t?null:u.createElement("li",{role:"separator",className:xe()("".concat(Nt,"-item-divider"),vt),style:It})}var Mt=["label","children","key","type"];function Lt(ht){return(ht||[]).map(function(vt,It){if(vt&&(0,Dt.Z)(vt)==="object"){var Vt=vt,Nt=Vt.label,$t=Vt.children,Zt=Vt.key,vn=Vt.type,_n=(0,q.Z)(Vt,Mt),kn=Zt!=null?Zt:"tmp-".concat(It);return $t||vn==="group"?vn==="group"?u.createElement(sn,(0,y.Z)({key:kn},_n,{title:Nt}),Lt($t)):u.createElement(pt,(0,y.Z)({key:kn},_n,{title:Nt}),Lt($t)):vn==="divider"?u.createElement(dn,(0,y.Z)({key:kn},_n)):u.createElement(Xe,(0,y.Z)({key:kn},_n),Nt)}return null}).filter(function(vt){return vt})}function un(ht,vt,It){var Vt=ht;return vt&&(Vt=Lt(vt)),en(Vt,It)}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=[],An=u.forwardRef(function(ht,vt){var It,Vt,Nt=ht,$t=Nt.prefixCls,Zt=$t===void 0?"rc-menu":$t,vn=Nt.rootClassName,_n=Nt.style,kn=Nt.className,qn=Nt.tabIndex,rr=qn===void 0?0:qn,sr=Nt.items,wn=Nt.children,En=Nt.direction,gr=Nt.id,$n=Nt.mode,Cr=$n===void 0?"vertical":$n,Xn=Nt.inlineCollapsed,lr=Nt.disabled,yr=Nt.disabledOverflow,ir=Nt.subMenuOpenDelay,Fr=ir===void 0?.1:ir,qr=Nt.subMenuCloseDelay,Jn=qr===void 0?.1:qr,Rn=Nt.forceSubMenuRender,at=Nt.defaultOpenKeys,Kn=Nt.openKeys,ur=Nt.activeKey,wr=Nt.defaultActiveFirst,Rr=Nt.selectable,Nr=Rr===void 0?!0:Rr,zr=Nt.multiple,vr=zr===void 0?!1:zr,Hr=Nt.defaultSelectedKeys,Hn=Nt.selectedKeys,Tn=Nt.onSelect,er=Nt.onDeselect,kr=Nt.inlineIndent,Wr=kr===void 0?24:kr,wi=Nt.motion,jn=Nt.defaultMotions,$r=Nt.triggerSubMenuAction,Vr=$r===void 0?"hover":$r,oi=Nt.builtinPlacements,Ti=Nt.itemIcon,ki=Nt.expandIcon,ei=Nt.overflowedIndicator,gi=ei===void 0?"...":ei,li=Nt.overflowedIndicatorPopupClassName,Di=Nt.getPopupContainer,Fi=Nt.onClick,Vi=Nt.onOpenChange,Ci=Nt.onKeyDown,Zi=Nt.openAnimation,Mr=Nt.openTransitionName,aa=Nt._internalRenderMenuItem,ga=Nt._internalRenderSubMenuItem,ua=(0,q.Z)(Nt,ln),vi=u.useMemo(function(){return un(wn,sr,hn)},[wn,sr]),ca=u.useState(!1),_a=(0,$.Z)(ca,2),Pn=_a[0],Ni=_a[1],na=u.useRef(),cr=De(gr),xr=En==="rtl",dr=(0,I.Z)(at,{value:Kn,postState:function(xi){return xi||hn}}),Vn=(0,$.Z)(dr,2),Pr=Vn[0],Yr=Vn[1],Pi=function(xi){var mi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Ji(){Yr(xi),Vi==null||Vi(xi)}mi?(0,x.flushSync)(Ji):Ji()},yi=u.useState(Pr),Ii=(0,$.Z)(yi,2),Ui=Ii[0],va=Ii[1],wa=u.useRef(!1),Wa=u.useMemo(function(){return(Cr==="inline"||Cr==="vertical")&&Xn?["vertical",Xn]:[Cr,!1]},[Cr,Xn]),da=(0,$.Z)(Wa,2),fa=da[0],fr=da[1],or=fa==="inline",Qr=u.useState(fa),Ki=(0,$.Z)(Qr,2),ui=Ki[0],sa=Ki[1],Va=u.useState(fr),Ha=(0,$.Z)(Va,2),ya=Ha[0],as=Ha[1];u.useEffect(function(){sa(fa),as(fr),wa.current&&(or?Yr(Ui):Pi(hn))},[fa,fr]);var ss=u.useState(0),os=(0,$.Z)(ss,2),ts=os[0],ls=os[1],Ta=ts>=vi.length-1||ui!=="horizontal"||yr;u.useEffect(function(){or&&va(Pr)},[Pr]),u.useEffect(function(){return wa.current=!0,function(){wa.current=!1}},[]);var Qi=W(),us=Qi.registerPath,ns=Qi.unregisterPath,ba=Qi.refreshOverflowKeys,Sa=Qi.isSubPathKey,ti=Qi.getKeyPath,Ur=Qi.getKeys,ia=Qi.getSubPathKeys,zi=u.useMemo(function(){return{registerPath:us,unregisterPath:ns}},[us,ns]),Oi=u.useMemo(function(){return{isSubPathKey:Sa}},[Sa]);u.useEffect(function(){ba(Ta?hn:vi.slice(ts+1).map(function(_i){return _i.key}))},[ts,Ta]);var oa=(0,I.Z)(ur||wr&&((It=vi[0])===null||It===void 0?void 0:It.key),{value:ur}),pi=(0,$.Z)(oa,2),Ia=pi[0],la=pi[1],ka=j(function(_i){la(_i)}),Ba=j(function(){la(void 0)});(0,u.useImperativeHandle)(vt,function(){return{list:na.current,focus:function(xi){var mi,Ji=Ur(),Xi=H(Ji,cr),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 Dn;ms==null||(Dn=ms.focus)===null||Dn===void 0||Dn.call(ms,xi)}}}});var Ei=(0,I.Z)(Hr||[],{value:Hn,postState:function(xi){return Array.isArray(xi)?xi:xi==null?hn:[xi]}}),vs=(0,$.Z)(Ei,2),Ca=vs[0],Za=vs[1],Cs=function(xi){if(Nr){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,X.Z)((0,X.Z)({},xi),{},{selectedKeys:Xi});Ji?er==null||er(fs):Tn==null||Tn(fs)}!vr&&Pr.length&&ui!=="inline"&&Pi(hn)},Qa=j(function(_i){Fi==null||Fi(D(_i)),Cs(_i)}),cs=j(function(_i,xi){var mi=Pr.filter(function(Xi){return Xi!==_i});if(xi)mi.push(_i);else if(ui!=="inline"){var Ji=ia(_i);mi=mi.filter(function(Xi){return!Ji.has(Xi)})}(0,K.Z)(Pr,mi,!0)||Pi(mi,!0)}),ys=function(xi,mi){var Ji=mi!=null?mi:!Pr.includes(xi);cs(xi,Ji)},ds=O(ui,Ia,xr,cr,na,Ur,ti,la,ys,Ci);u.useEffect(function(){Ni(!0)},[]);var Rs=u.useMemo(function(){return{_internalRenderMenuItem:aa,_internalRenderSubMenuItem:ga}},[aa,ga]),Oa=ui!=="horizontal"||yr?vi:vi.map(function(_i,xi){return u.createElement(b,{key:_i.key,overflowDisabled:xi>ts},_i)}),bs=u.createElement(a.Z,(0,y.Z)({id:gr,ref:na,prefixCls:"".concat(Zt,"-overflow"),component:"ul",itemComponent:Xe,className:xe()(Zt,"".concat(Zt,"-root"),"".concat(Zt,"-").concat(ui),kn,(Vt={},(0,L.Z)(Vt,"".concat(Zt,"-inline-collapsed"),ya),(0,L.Z)(Vt,"".concat(Zt,"-rtl"),xr),Vt),vn),dir:En,style:_n,role:"menu",tabIndex:rr,data:Oa,renderRawItem:function(xi){return xi},renderRawRest:function(xi){var mi=xi.length,Ji=mi?vi.slice(-mi):null;return u.createElement(pt,{eventKey:ee,title:gi,disabled:Ta,internalPopupClose:mi===0,popupClassName:li},Ji)},maxCount:ui!=="horizontal"||yr?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:cr},u.createElement(b,{prefixCls:Zt,rootClassName:vn,mode:ui,openKeys:Pr,rtl:xr,disabled:lr,motion:Pn?wi:null,defaultMotions:Pn?jn:null,activeKey:Ia,onActive:ka,onInactive:Ba,selectedKeys:Ca,inlineIndent:Wr,subMenuOpenDelay:Fr,subMenuCloseDelay:Jn,forceSubMenuRender:Rn,builtinPlacements:oi,triggerSubMenuAction:Vr,getPopupContainer:Di,itemIcon:Ti,expandIcon:ki,onItemClick:Qa,onOpenChange:cs},u.createElement(de.Provider,{value:Oi},bs),u.createElement("div",{style:{display:"none"},"aria-hidden":!0},u.createElement(Z.Provider,{value:zi},vi)))))}),tr=An,Nn=tr;Nn.Item=Xe,Nn.SubMenu=pt,Nn.ItemGroup=sn,Nn.Divider=dn;var rn=Nn},11780:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return ie}});var y=f(96663),L=f(44127),X=f(72071),Ee=f(6620),$=f(59301),q=f(92310),C=f.n(q),xe=f(29301),a=f(34280),I=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],K=void 0;function S(g,E){var G=g.prefixCls,J=g.invalidate,Le=g.item,ke=g.renderItem,Fe=g.responsive,Ze=g.responsiveDisabled,lt=g.registerSize,ut=g.itemKey,it=g.className,Ut=g.style,qt=g.children,an=g.display,Ot=g.order,ot=g.component,_t=ot===void 0?"div":ot,se=(0,Ee.Z)(g,I),ye=Fe&&!an;function H(T){lt(ut,T)}$.useEffect(function(){return function(){H(null)}},[]);var O=ke&&Le!==K?ke(Le,{index:Ot}):qt,Ae;J||(Ae={opacity:ye?0:1,height:ye?0:K,overflowY:ye?"hidden":K,order:Fe?Ot:K,pointerEvents:ye?"none":K,position:ye?"absolute":K});var k={};ye&&(k["aria-hidden"]=!0);var _=$.createElement(_t,(0,y.Z)({className:C()(!J&&G,it),style:(0,L.Z)((0,L.Z)({},Ae),Ut)},k,se,{ref:E}),O);return Fe&&(_=$.createElement(xe.Z,{onResize:function(ee){var W=ee.offsetWidth;H(W)},disabled:Ze},_)),_}var u=$.forwardRef(S);u.displayName="Item";var x=u,m=f(6089),P=f(4676),ue=f(16089);function U(g){if(typeof MessageChannel=="undefined")(0,ue.Z)(g);else{var E=new MessageChannel;E.port1.onmessage=function(){return g()},E.port2.postMessage(void 0)}}function V(){var g=$.useRef(null),E=function(J){g.current||(g.current=[],U(function(){(0,P.unstable_batchedUpdates)(function(){g.current.forEach(function(Le){Le()}),g.current=null})})),g.current.push(J)};return E}function ne(g,E){var G=$.useState(E),J=(0,X.Z)(G,2),Le=J[0],ke=J[1],Fe=(0,m.Z)(function(Ze){g(function(){ke(Ze)})});return[Le,Fe]}var Q=$.createContext(null),b=["component"],R=["className"],Z=["className"],z=function(E,G){var J=$.useContext(Q);if(!J){var Le=E.component,ke=Le===void 0?"div":Le,Fe=(0,Ee.Z)(E,b);return $.createElement(ke,(0,y.Z)({},Fe,{ref:G}))}var Ze=J.className,lt=(0,Ee.Z)(J,R),ut=E.className,it=(0,Ee.Z)(E,Z);return $.createElement(Q.Provider,{value:null},$.createElement(x,(0,y.Z)({ref:G,className:C()(Ze,ut)},lt,it)))},pe=$.forwardRef(z);pe.displayName="RawItem";var me=pe,de=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],ae="responsive",te="invalidate";function B(g){return"+ ".concat(g.length," ...")}function fe(g,E){var G=g.prefixCls,J=G===void 0?"rc-overflow":G,Le=g.data,ke=Le===void 0?[]:Le,Fe=g.renderItem,Ze=g.renderRawItem,lt=g.itemKey,ut=g.itemWidth,it=ut===void 0?10:ut,Ut=g.ssr,qt=g.style,an=g.className,Ot=g.maxCount,ot=g.renderRest,_t=g.renderRawRest,se=g.suffix,ye=g.component,H=ye===void 0?"div":ye,O=g.itemComponent,Ae=g.onVisibleChange,k=(0,Ee.Z)(g,de),_=Ut==="full",T=V(),ee=ne(T,null),W=(0,X.Z)(ee,2),j=W[0],_e=W[1],Ke=j||0,De=ne(T,new Map),Oe=(0,X.Z)(De,2),Ye=Oe[0],Je=Oe[1],Ge=ne(T,0),yt=(0,X.Z)(Ge,2),xt=yt[0],dt=yt[1],kt=ne(T,0),Tt=(0,X.Z)(kt,2),w=Tt[0],D=Tt[1],bt=ne(T,0),he=(0,X.Z)(bt,2),Be=he[0],pn=he[1],We=(0,$.useState)(null),et=(0,X.Z)(We,2),Xe=et[0],Se=et[1],Ie=(0,$.useState)(null),ze=(0,X.Z)(Ie,2),qe=ze[0],be=ze[1],en=$.useMemo(function(){return qe===null&&_?Number.MAX_SAFE_INTEGER:qe||0},[qe,j]),$e=(0,$.useState)(!1),bn=(0,X.Z)($e,2),Cn=bn[0],jt=bn[1],Jt="".concat(J,"-item"),wt=Math.max(xt,w),Pt=Ot===ae,Ve=ke.length&&Pt,At=Ot===te,St=Ve||typeof Ot=="number"&&ke.length>Ot,Ue=(0,$.useMemo)(function(){var rn=ke;return Ve?j===null&&_?rn=ke:rn=ke.slice(0,Math.min(ke.length,Ke/it)):typeof Ot=="number"&&(rn=ke.slice(0,Ot)),rn},[ke,it,j,Ot,Ve]),Ce=(0,$.useMemo)(function(){return Ve?ke.slice(en+1):ke.slice(Ue.length)},[ke,Ue,Ve,en]),mt=(0,$.useCallback)(function(rn,ht){var vt;return typeof lt=="function"?lt(rn):(vt=lt&&(rn==null?void 0:rn[lt]))!==null&&vt!==void 0?vt:ht},[lt]),pt=(0,$.useCallback)(Fe||function(rn){return rn},[Fe]);function Dt(rn,ht,vt){qe===rn&&(ht===void 0||ht===Xe)||(be(rn),vt||(jt(rn<ke.length-1),Ae==null||Ae(rn)),ht!==void 0&&Se(ht))}function zt(rn,ht){_e(ht.clientWidth)}function tn(rn,ht){Je(function(vt){var It=new Map(vt);return ht===null?It.delete(rn):It.set(rn,ht),It})}function Ht(rn,ht){D(ht),dt(w)}function sn(rn,ht){pn(ht)}function dn(rn){return Ye.get(mt(Ue[rn],rn))}(0,a.Z)(function(){if(Ke&&typeof wt=="number"&&Ue){var rn=Be,ht=Ue.length,vt=ht-1;if(!ht){Dt(0,null);return}for(var It=0;It<ht;It+=1){var Vt=dn(It);if(_&&(Vt=Vt||0),Vt===void 0){Dt(It-1,void 0,!0);break}if(rn+=Vt,vt===0&&rn<=Ke||It===vt-1&&rn+dn(vt)<=Ke){Dt(vt,null);break}else if(rn+wt>Ke){Dt(It-1,rn-Vt-Be+w);break}}se&&dn(0)+Be>Ke&&Se(null)}},[Ke,Ye,w,Be,mt,Ue]);var Mt=Cn&&!!Ce.length,Lt={};Xe!==null&&Ve&&(Lt={position:"absolute",left:Xe,top:0});var un={prefixCls:Jt,responsive:Ve,component:O,invalidate:At},ln=Ze?function(rn,ht){var vt=mt(rn,ht);return $.createElement(Q.Provider,{key:vt,value:(0,L.Z)((0,L.Z)({},un),{},{order:ht,item:rn,itemKey:vt,registerSize:tn,display:ht<=en})},Ze(rn,ht))}:function(rn,ht){var vt=mt(rn,ht);return $.createElement(x,(0,y.Z)({},un,{order:ht,key:vt,item:rn,renderItem:pt,itemKey:vt,registerSize:tn,display:ht<=en}))},hn={order:Mt?en:Number.MAX_SAFE_INTEGER,className:"".concat(Jt,"-rest"),registerSize:Ht,display:Mt},An=ot||B,tr=_t?$.createElement(Q.Provider,{value:(0,L.Z)((0,L.Z)({},un),hn)},_t(Ce)):$.createElement(x,(0,y.Z)({},un,hn),typeof An=="function"?An(Ce):An),Nn=$.createElement(H,(0,y.Z)({className:C()(!At&&J,an),style:qt,ref:E},k),Ue.map(ln),St?tr:null,se&&$.createElement(x,(0,y.Z)({},un,{responsive:Pt,responsiveDisabled:!Ve,order:en,className:"".concat(Jt,"-suffix"),registerSize:sn,display:!0,style:Lt}),se));return Pt?$.createElement(xe.Z,{onResize:zt,disabled:!Ve},Nn):Nn}var Y=$.forwardRef(fe);Y.displayName="Overflow",Y.Item=me,Y.RESPONSIVE=ae,Y.INVALIDATE=te;var ce=Y,ie=ce},29301:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return te}});var y=f(96663),L=f(59301),X=f(11592),Ee=f(48736),$=f(44127),q=f(20135),C=f(76846),xe=f(8654),a=L.createContext(null);function I(B){var fe=B.children,Y=B.onBatchResize,ce=L.useRef(0),ie=L.useRef([]),g=L.useContext(a),E=L.useCallback(function(G,J,Le){ce.current+=1;var ke=ce.current;ie.current.push({size:G,element:J,data:Le}),Promise.resolve().then(function(){ke===ce.current&&(Y==null||Y(ie.current),ie.current=[])}),g==null||g(G,J,Le)},[Y,g]);return L.createElement(a.Provider,{value:E},fe)}var K=f(76374),S=new Map;function u(B){B.forEach(function(fe){var Y,ce=fe.target;(Y=S.get(ce))===null||Y===void 0||Y.forEach(function(ie){return ie(ce)})})}var x=new K.Z(u),m=null,P=null;function ue(B,fe){S.has(B)||(S.set(B,new Set),x.observe(B)),S.get(B).add(fe)}function U(B,fe){S.has(B)&&(S.get(B).delete(fe),S.get(B).size||(x.unobserve(B),S.delete(B)))}var V=f(52884),ne=f(95727),Q=f(65711),b=f(85745),R=function(B){(0,Q.Z)(Y,B);var fe=(0,b.Z)(Y);function Y(){return(0,V.Z)(this,Y),fe.apply(this,arguments)}return(0,ne.Z)(Y,[{key:"render",value:function(){return this.props.children}}]),Y}(L.Component);function Z(B,fe){var Y=B.children,ce=B.disabled,ie=L.useRef(null),g=L.useRef(null),E=L.useContext(a),G=typeof Y=="function",J=G?Y(ie):Y,Le=L.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),ke=!G&&L.isValidElement(J)&&(0,xe.Yr)(J),Fe=ke?(0,xe.C4)(J):null,Ze=(0,xe.x1)(Fe,ie),lt=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)(g.current)};L.useImperativeHandle(fe,function(){return lt()});var ut=L.useRef(B);ut.current=B;var it=L.useCallback(function(Ut){var qt=ut.current,an=qt.onResize,Ot=qt.data,ot=Ut.getBoundingClientRect(),_t=ot.width,se=ot.height,ye=Ut.offsetWidth,H=Ut.offsetHeight,O=Math.floor(_t),Ae=Math.floor(se);if(Le.current.width!==O||Le.current.height!==Ae||Le.current.offsetWidth!==ye||Le.current.offsetHeight!==H){var k={width:O,height:Ae,offsetWidth:ye,offsetHeight:H};Le.current=k;var _=ye===Math.round(_t)?_t:ye,T=H===Math.round(se)?se:H,ee=(0,$.Z)((0,$.Z)({},k),{},{offsetWidth:_,offsetHeight:T});E==null||E(ee,Ut,Ot),an&&Promise.resolve().then(function(){an(ee,Ut)})}},[]);return L.useEffect(function(){var Ut=lt();return Ut&&!ce&&ue(Ut,it),function(){return U(Ut,it)}},[ie.current,ce]),L.createElement(R,{ref:g},ke?L.cloneElement(J,{ref:Ze}):J)}var z=L.forwardRef(Z),pe=z,me="rc-observer-key";function de(B,fe){var Y=B.children,ce=typeof Y=="function"?[Y]:(0,X.Z)(Y);return ce.map(function(ie,g){var E=(ie==null?void 0:ie.key)||"".concat(me,"-").concat(g);return L.createElement(pe,(0,y.Z)({},B,{key:E,ref:g===0?fe:void 0}),ie)})}var ae=L.forwardRef(de);ae.Collection=I;var te=ae},17115:function(nn,nt,f){"use strict";f.d(nt,{ZP:function(){return C}});var y=f(72071),L=f(59301),X=f(47273),Ee=0,$=(0,X.Z)();function q(){var xe;return $?(xe=Ee,Ee+=1):xe="TEST_OR_SSR",xe}function C(xe){var a=L.useState(),I=(0,y.Z)(a,2),K=I[0],S=I[1];return L.useEffect(function(){S("rc_select_".concat(q()))},[]),xe||K}},77861:function(nn,nt,f){"use strict";f.d(nt,{Ac:function(){return _e},Xo:function(){return D},Wx:function(){return he},ZP:function(){return St},lk:function(){return Q}});var y=f(96663),L=f(19127),X=f(90493),Ee=f(44127),$=f(72071),q=f(6620),C=f(20135),xe=f(18929),a=f(48736),I=f(59301),K=f(92310),S=f.n(K),u=f(34280),x=f(49658),m=f(10228),P=f(8654),ue=function(Ce){var mt=Ce.className,pt=Ce.customizeIcon,Dt=Ce.customizeIconProps,zt=Ce.onMouseDown,tn=Ce.onClick,Ht=Ce.children,sn;return typeof pt=="function"?sn=pt(Dt):sn=pt,I.createElement("span",{className:mt,onMouseDown:function(Mt){Mt.preventDefault(),zt&&zt(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")}))},Ht))},U=ue;function V(Ue,Ce,mt,pt,Dt){var zt=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,tn=arguments.length>6?arguments[6]:void 0,Ht=arguments.length>7?arguments[7]:void 0,sn=I.useMemo(function(){if((0,C.Z)(pt)==="object")return pt.clearIcon;if(Dt)return Dt},[pt,Dt]),dn=I.useMemo(function(){return!!(!zt&&pt&&(mt.length||tn)&&!(Ht==="combobox"&&tn===""))},[pt,zt,mt.length,tn,Ht]);return{allowClear:dn,clearIcon:I.createElement(U,{className:"".concat(Ue,"-clear"),onMouseDown:Ce,customizeIcon:sn},"\xD7")}}var ne=I.createContext(null);function Q(){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),pt=mt[0],Dt=mt[1],zt=I.useRef(null),tn=function(){window.clearTimeout(zt.current)};I.useEffect(function(){return tn},[]);var Ht=function(dn,Mt){tn(),zt.current=window.setTimeout(function(){Dt(dn),Mt&&Mt()},Ue)};return[pt,Ht,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 pt(Dt){(Dt||Ce.current===null)&&(Ce.current=Dt),window.clearTimeout(mt.current),mt.current=window.setTimeout(function(){Ce.current=null},Ue)}return[function(){return Ce.current},pt]}function Z(Ue,Ce,mt,pt){var Dt=I.useRef(null);Dt.current={open:Ce,triggerOpen:mt,customizedTrigger:pt},I.useEffect(function(){function zt(tn){var Ht;if(!((Ht=Dt.current)!==null&&Ht!==void 0&&Ht.customizedTrigger)){var sn=tn.target;sn.shadowRoot&&tn.composed&&(sn=tn.composedPath()[0]||sn),Dt.current.open&&Ue().filter(function(dn){return dn}).every(function(dn){return!dn.contains(sn)&&dn!==sn})&&Dt.current.triggerOpen(!1)}}return window.addEventListener("mousedown",zt),function(){return window.removeEventListener("mousedown",zt)}},[])}var z=f(26112),pe=f(11780),me=function(Ce,mt){var pt,Dt,zt=Ce.prefixCls,tn=Ce.id,Ht=Ce.inputElement,sn=Ce.disabled,dn=Ce.tabIndex,Mt=Ce.autoFocus,Lt=Ce.autoComplete,un=Ce.editable,ln=Ce.activeDescendantId,hn=Ce.value,An=Ce.maxLength,tr=Ce.onKeyDown,Nn=Ce.onMouseDown,rn=Ce.onChange,ht=Ce.onPaste,vt=Ce.onCompositionStart,It=Ce.onCompositionEnd,Vt=Ce.open,Nt=Ce.attrs,$t=Ht||I.createElement("input",null),Zt=$t,vn=Zt.ref,_n=Zt.props,kn=_n.onKeyDown,qn=_n.onChange,rr=_n.onMouseDown,sr=_n.onCompositionStart,wn=_n.onCompositionEnd,En=_n.style;return(0,a.Kp)(!("maxLength"in $t.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),$t=I.cloneElement($t,(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({type:"search"},_n),{},{id:tn,ref:(0,P.sQ)(mt,vn),disabled:sn,tabIndex:dn,autoComplete:Lt||"off",autoFocus:Mt,className:S()("".concat(zt,"-selection-search-input"),(pt=$t)===null||pt===void 0||(Dt=pt.props)===null||Dt===void 0?void 0:Dt.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},Nt),{},{value:un?hn:"",maxLength:An,readOnly:!un,unselectable:un?null:"on",style:(0,Ee.Z)((0,Ee.Z)({},En),{},{opacity:un?null:0}),onKeyDown:function($n){tr($n),kn&&kn($n)},onMouseDown:function($n){Nn($n),rr&&rr($n)},onChange:function($n){rn($n),qn&&qn($n)},onCompositionStart:function($n){vt($n),sr&&sr($n)},onCompositionEnd:function($n){It($n),wn&&wn($n)},onPaste:ht})),$t},de=I.forwardRef(me);de.displayName="Input";var ae=de;function te(Ue){return Array.isArray(Ue)?Ue:Ue!==void 0?[Ue]:[]}var B=typeof window!="undefined"&&window.document&&window.document.documentElement,fe=B;function Y(Ue){return Ue!=null}function ce(Ue){return!Ue&&Ue!==0}function ie(Ue){return["string","number"].includes((0,C.Z)(Ue))}function g(Ue){var Ce=void 0;return Ue&&(ie(Ue.title)?Ce=Ue.title.toString():ie(Ue.label)&&(Ce=Ue.label.toString())),Ce}function E(Ue,Ce){fe?I.useLayoutEffect(Ue,Ce):I.useEffect(Ue,Ce)}function G(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,pt=Ce.prefixCls,Dt=Ce.values,zt=Ce.open,tn=Ce.searchValue,Ht=Ce.autoClearSearchValue,sn=Ce.inputRef,dn=Ce.placeholder,Mt=Ce.disabled,Lt=Ce.mode,un=Ce.showSearch,ln=Ce.autoFocus,hn=Ce.autoComplete,An=Ce.activeDescendantId,tr=Ce.tabIndex,Nn=Ce.removeIcon,rn=Ce.maxTagCount,ht=Ce.maxTagTextLength,vt=Ce.maxTagPlaceholder,It=vt===void 0?function(Rr){return"+ ".concat(Rr.length," ...")}:vt,Vt=Ce.tagRender,Nt=Ce.onToggleOpen,$t=Ce.onRemove,Zt=Ce.onInputChange,vn=Ce.onInputPaste,_n=Ce.onInputKeyDown,kn=Ce.onInputMouseDown,qn=Ce.onInputCompositionStart,rr=Ce.onInputCompositionEnd,sr=I.useRef(null),wn=(0,I.useState)(0),En=(0,$.Z)(wn,2),gr=En[0],$n=En[1],Cr=(0,I.useState)(!1),Xn=(0,$.Z)(Cr,2),lr=Xn[0],yr=Xn[1],ir="".concat(pt,"-selection"),Fr=zt||Lt==="multiple"&&Ht===!1||Lt==="tags"?tn:"",qr=Lt==="tags"||Lt==="multiple"&&Ht===!1||un&&(zt||lr);E(function(){$n(sr.current.scrollWidth)},[Fr]);function Jn(Rr,Nr,zr,vr,Hr){return I.createElement("span",{className:S()("".concat(ir,"-item"),(0,X.Z)({},"".concat(ir,"-item-disabled"),zr)),title:g(Rr)},I.createElement("span",{className:"".concat(ir,"-item-content")},Nr),vr&&I.createElement(U,{className:"".concat(ir,"-item-remove"),onMouseDown:J,onClick:Hr,customizeIcon:Nn},"\xD7"))}function Rn(Rr,Nr,zr,vr,Hr){var Hn=function(er){J(er),Nt(!zt)};return I.createElement("span",{onMouseDown:Hn},Vt({label:Nr,value:Rr,disabled:zr,closable:vr,onClose:Hr}))}function at(Rr){var Nr=Rr.disabled,zr=Rr.label,vr=Rr.value,Hr=!Mt&&!Nr,Hn=zr;if(typeof ht=="number"&&(typeof zr=="string"||typeof zr=="number")){var Tn=String(Hn);Tn.length>ht&&(Hn="".concat(Tn.slice(0,ht),"..."))}var er=function(Wr){Wr&&Wr.stopPropagation(),$t(Rr)};return typeof Vt=="function"?Rn(vr,Hn,Nr,Hr,er):Jn(Rr,Hn,Nr,Hr,er)}function Kn(Rr){var Nr=typeof It=="function"?It(Rr):It;return Jn({title:Nr},Nr,!1)}var ur=I.createElement("div",{className:"".concat(ir,"-search"),style:{width:gr},onFocus:function(){yr(!0)},onBlur:function(){yr(!1)}},I.createElement(ae,{ref:sn,open:zt,prefixCls:pt,id:mt,inputElement:null,disabled:Mt,autoFocus:ln,autoComplete:hn,editable:qr,activeDescendantId:An,value:Fr,onKeyDown:_n,onMouseDown:kn,onChange:Zt,onPaste:vn,onCompositionStart:qn,onCompositionEnd:rr,tabIndex:tr,attrs:(0,z.Z)(Ce,!0)}),I.createElement("span",{ref:sr,className:"".concat(ir,"-search-mirror"),"aria-hidden":!0},Fr,"\xA0")),wr=I.createElement(pe.Z,{prefixCls:"".concat(ir,"-overflow"),data:Dt,renderItem:at,renderRest:Kn,suffix:ur,itemKey:G,maxCount:rn});return I.createElement(I.Fragment,null,wr,!Dt.length&&!Fr&&I.createElement("span",{className:"".concat(ir,"-placeholder")},dn))},ke=Le,Fe=function(Ce){var mt=Ce.inputElement,pt=Ce.prefixCls,Dt=Ce.id,zt=Ce.inputRef,tn=Ce.disabled,Ht=Ce.autoFocus,sn=Ce.autoComplete,dn=Ce.activeDescendantId,Mt=Ce.mode,Lt=Ce.open,un=Ce.values,ln=Ce.placeholder,hn=Ce.tabIndex,An=Ce.showSearch,tr=Ce.searchValue,Nn=Ce.activeValue,rn=Ce.maxLength,ht=Ce.onInputKeyDown,vt=Ce.onInputMouseDown,It=Ce.onInputChange,Vt=Ce.onInputPaste,Nt=Ce.onInputCompositionStart,$t=Ce.onInputCompositionEnd,Zt=Ce.title,vn=I.useState(!1),_n=(0,$.Z)(vn,2),kn=_n[0],qn=_n[1],rr=Mt==="combobox",sr=rr||An,wn=un[0],En=tr||"";rr&&Nn&&!kn&&(En=Nn),I.useEffect(function(){rr&&qn(!1)},[rr,Nn]);var gr=Mt!=="combobox"&&!Lt&&!An?!1:!!En,$n=Zt===void 0?g(wn):Zt,Cr=function(){if(wn)return null;var lr=gr?{visibility:"hidden"}:void 0;return I.createElement("span",{className:"".concat(pt,"-selection-placeholder"),style:lr},ln)};return I.createElement(I.Fragment,null,I.createElement("span",{className:"".concat(pt,"-selection-search")},I.createElement(ae,{ref:zt,prefixCls:pt,id:Dt,open:Lt,inputElement:mt,disabled:tn,autoFocus:Ht,autoComplete:sn,editable:sr,activeDescendantId:dn,value:En,onKeyDown:ht,onMouseDown:vt,onChange:function(lr){qn(!0),It(lr)},onPaste:Vt,onCompositionStart:Nt,onCompositionEnd:$t,tabIndex:hn,attrs:(0,z.Z)(Ce,!0),maxLength:rr?rn:void 0})),!rr&&wn?I.createElement("span",{className:"".concat(pt,"-selection-item"),title:$n,style:gr?{visibility:"hidden"}:void 0},wn.label):null,Cr())},Ze=Fe;function lt(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 ut=function(Ce,mt){var pt=(0,I.useRef)(null),Dt=(0,I.useRef)(!1),zt=Ce.prefixCls,tn=Ce.open,Ht=Ce.mode,sn=Ce.showSearch,dn=Ce.tokenWithEnter,Mt=Ce.autoClearSearchValue,Lt=Ce.onSearch,un=Ce.onSearchSubmit,ln=Ce.onToggleOpen,hn=Ce.onInputKeyDown,An=Ce.domRef;I.useImperativeHandle(mt,function(){return{focus:function(){pt.current.focus()},blur:function(){pt.current.blur()}}});var tr=R(0),Nn=(0,$.Z)(tr,2),rn=Nn[0],ht=Nn[1],vt=function(En){var gr=En.which;(gr===m.Z.UP||gr===m.Z.DOWN)&&En.preventDefault(),hn&&hn(En),gr===m.Z.ENTER&&Ht==="tags"&&!Dt.current&&!tn&&(un==null||un(En.target.value)),lt(gr)&&ln(!0)},It=function(){ht(!0)},Vt=(0,I.useRef)(null),Nt=function(En){Lt(En,!0,Dt.current)!==!1&&ln(!0)},$t=function(){Dt.current=!0},Zt=function(En){Dt.current=!1,Ht!=="combobox"&&Nt(En.target.value)},vn=function(En){var gr=En.target.value;if(dn&&Vt.current&&/[\r\n]/.test(Vt.current)){var $n=Vt.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");gr=gr.replace($n,Vt.current)}Vt.current=null,Nt(gr)},_n=function(En){var gr=En.clipboardData,$n=gr.getData("text");Vt.current=$n},kn=function(En){var gr=En.target;if(gr!==pt.current){var $n=document.body.style.msTouchAction!==void 0;$n?setTimeout(function(){pt.current.focus()}):pt.current.focus()}},qn=function(En){var gr=rn();En.target!==pt.current&&!gr&&Ht!=="combobox"&&En.preventDefault(),(Ht!=="combobox"&&(!sn||!gr)||!tn)&&(tn&&Mt!==!1&&Lt("",!0,!1),ln())},rr={inputRef:pt,onInputKeyDown:vt,onInputMouseDown:It,onInputChange:vn,onInputPaste:_n,onInputCompositionStart:$t,onInputCompositionEnd:Zt},sr=Ht==="multiple"||Ht==="tags"?I.createElement(ke,(0,y.Z)({},Ce,rr)):I.createElement(Ze,(0,y.Z)({},Ce,rr));return I.createElement("div",{ref:An,className:"".concat(zt,"-selector"),onClick:kn,onMouseDown:qn},sr)},it=I.forwardRef(ut);it.displayName="Selector";var Ut=it,qt=f(35593),an=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Ot=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"}}},ot=function(Ce,mt){var pt=Ce.prefixCls,Dt=Ce.disabled,zt=Ce.visible,tn=Ce.children,Ht=Ce.popupElement,sn=Ce.animation,dn=Ce.transitionName,Mt=Ce.dropdownStyle,Lt=Ce.dropdownClassName,un=Ce.direction,ln=un===void 0?"ltr":un,hn=Ce.placement,An=Ce.builtinPlacements,tr=Ce.dropdownMatchSelectWidth,Nn=Ce.dropdownRender,rn=Ce.dropdownAlign,ht=Ce.getPopupContainer,vt=Ce.empty,It=Ce.getTriggerDOMNode,Vt=Ce.onPopupVisibleChange,Nt=Ce.onPopupMouseEnter,$t=(0,q.Z)(Ce,an),Zt="".concat(pt,"-dropdown"),vn=Ht;Nn&&(vn=Nn(Ht));var _n=I.useMemo(function(){return An||Ot(tr)},[An,tr]),kn=sn?"".concat(Zt,"-").concat(sn):dn,qn=typeof tr=="number",rr=I.useMemo(function(){return qn?null:tr===!1?"minWidth":"width"},[tr,qn]),sr=Mt;qn&&(sr=(0,Ee.Z)((0,Ee.Z)({},sr),{},{width:tr}));var wn=I.useRef(null);return I.useImperativeHandle(mt,function(){return{getPopupElement:function(){return wn.current}}}),I.createElement(qt.Z,(0,y.Z)({},$t,{showAction:Vt?["click"]:[],hideAction:Vt?["click"]:[],popupPlacement:hn||(ln==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:_n,prefixCls:Zt,popupTransitionName:kn,popup:I.createElement("div",{ref:wn,onMouseEnter:Nt},vn),stretch:rr,popupAlign:rn,popupVisible:zt,getPopupContainer:ht,popupClassName:S()(Lt,(0,X.Z)({},"".concat(Zt,"-empty"),vt)),popupStyle:sr,getTriggerDOMNode:It,onPopupVisibleChange:Vt}),tn)},_t=I.forwardRef(ot);_t.displayName="SelectTrigger";var se=_t,ye=f(4537);function H(Ue,Ce){var mt=Ue.key,pt;return"value"in Ue&&(pt=Ue.value),mt!=null?mt:pt!==void 0?pt:"rc-index-key-".concat(Ce)}function O(Ue,Ce){var mt=Ue||{},pt=mt.label,Dt=mt.value,zt=mt.options,tn=mt.groupLabel,Ht=pt||(Ce?"children":"label");return{label:Ht,value:Dt||"value",options:zt||"options",groupLabel:tn||Ht}}function Ae(Ue){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},mt=Ce.fieldNames,pt=Ce.childrenAsData,Dt=[],zt=O(mt,!1),tn=zt.label,Ht=zt.value,sn=zt.options,dn=zt.groupLabel;function Mt(Lt,un){Lt.forEach(function(ln){if(un||!(sn in ln)){var hn=ln[Ht];Dt.push({key:H(ln,Dt.length),groupOption:un,data:ln,label:ln[tn],value:hn})}else{var An=ln[dn];An===void 0&&pt&&(An=ln.label),Dt.push({key:H(ln,Dt.length),group:!0,data:ln,label:An}),Mt(ln[sn],!0)}})}return Mt(Ue,!1),Dt}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 _(Ue,Ce){if(!Ce||!Ce.length)return null;var mt=!1;function pt(zt,tn){var Ht=(0,ye.Z)(tn),sn=Ht[0],dn=Ht.slice(1);if(!sn)return[zt];var Mt=zt.split(sn);return mt=mt||Mt.length>1,Mt.reduce(function(Lt,un){return[].concat((0,L.Z)(Lt),(0,L.Z)(pt(un,dn)))},[]).filter(function(Lt){return Lt})}var Dt=pt(Ue,Ce);return mt?Dt: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"],ee=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function W(Ue){return Ue==="tags"||Ue==="multiple"}var j=I.forwardRef(function(Ue,Ce){var mt,pt,Dt=Ue.id,zt=Ue.prefixCls,tn=Ue.className,Ht=Ue.showSearch,sn=Ue.tagRender,dn=Ue.direction,Mt=Ue.omitDomProps,Lt=Ue.displayValues,un=Ue.onDisplayValuesChange,ln=Ue.emptyOptions,hn=Ue.notFoundContent,An=hn===void 0?"Not Found":hn,tr=Ue.onClear,Nn=Ue.mode,rn=Ue.disabled,ht=Ue.loading,vt=Ue.getInputElement,It=Ue.getRawInputElement,Vt=Ue.open,Nt=Ue.defaultOpen,$t=Ue.onDropdownVisibleChange,Zt=Ue.activeValue,vn=Ue.onActiveValueChange,_n=Ue.activeDescendantId,kn=Ue.searchValue,qn=Ue.autoClearSearchValue,rr=Ue.onSearch,sr=Ue.onSearchSplit,wn=Ue.tokenSeparators,En=Ue.allowClear,gr=Ue.suffixIcon,$n=Ue.clearIcon,Cr=Ue.OptionList,Xn=Ue.animation,lr=Ue.transitionName,yr=Ue.dropdownStyle,ir=Ue.dropdownClassName,Fr=Ue.dropdownMatchSelectWidth,qr=Ue.dropdownRender,Jn=Ue.dropdownAlign,Rn=Ue.placement,at=Ue.builtinPlacements,Kn=Ue.getPopupContainer,ur=Ue.showAction,wr=ur===void 0?[]:ur,Rr=Ue.onFocus,Nr=Ue.onBlur,zr=Ue.onKeyUp,vr=Ue.onKeyDown,Hr=Ue.onMouseDown,Hn=(0,q.Z)(Ue,T),Tn=W(Nn),er=(Ht!==void 0?Ht:Tn)||Nn==="combobox",kr=(0,Ee.Z)({},Hn);ee.forEach(function(ti){delete kr[ti]}),Mt==null||Mt.forEach(function(ti){delete kr[ti]});var Wr=I.useState(!1),wi=(0,$.Z)(Wr,2),jn=wi[0],$r=wi[1];I.useEffect(function(){$r((0,x.Z)())},[]);var Vr=I.useRef(null),oi=I.useRef(null),Ti=I.useRef(null),ki=I.useRef(null),ei=I.useRef(null),gi=b(),li=(0,$.Z)(gi,3),Di=li[0],Fi=li[1],Vi=li[2];I.useImperativeHandle(Ce,function(){var ti,Ur;return{focus:(ti=ki.current)===null||ti===void 0?void 0:ti.focus,blur:(Ur=ki.current)===null||Ur===void 0?void 0:Ur.blur,scrollTo:function(zi){var Oi;return(Oi=ei.current)===null||Oi===void 0?void 0:Oi.scrollTo(zi)}}});var Ci=I.useMemo(function(){var ti;if(Nn!=="combobox")return kn;var Ur=(ti=Lt[0])===null||ti===void 0?void 0:ti.value;return typeof Ur=="string"||typeof Ur=="number"?String(Ur):""},[kn,Nn,Lt]),Zi=Nn==="combobox"&&typeof vt=="function"&&vt()||null,Mr=typeof It=="function"&&It(),aa=(0,P.x1)(oi,Mr==null||(mt=Mr.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 _a=(0,xe.Z)(!1,{defaultValue:Nt,value:Vt}),Pn=(0,$.Z)(_a,2),Ni=Pn[0],na=Pn[1],cr=vi?Ni:!1,xr=!An&&ln;(rn||xr&&cr&&Nn==="combobox")&&(cr=!1);var dr=xr?!1:cr,Vn=I.useCallback(function(ti){var Ur=ti!==void 0?ti:!cr;rn||(na(Ur),cr!==Ur&&($t==null||$t(Ur)))},[rn,cr,na,$t]),Pr=I.useMemo(function(){return(wn||[]).some(function(ti){return[`
|
|
|
`,`\r
|
|
|
`].includes(ti)})},[wn]),Yr=function(Ur,ia,zi){var Oi=!0,oa=Ur;vn==null||vn(null);var pi=zi?null:_(Ur,wn);return Nn!=="combobox"&&pi&&(oa="",sr==null||sr(pi),Vn(!1),Oi=!1),rr&&Ci!==oa&&rr(oa,{source:ia?"typing":"effect"}),Oi},Pi=function(Ur){!Ur||!Ur.trim()||rr(Ur,{source:"submit"})};I.useEffect(function(){!cr&&!Tn&&Nn!=="combobox"&&Yr("",!1,!1)},[cr]),I.useEffect(function(){Ni&&rn&&na(!1),rn&&Fi(!1)},[rn]);var yi=R(),Ii=(0,$.Z)(yi,2),Ui=Ii[0],va=Ii[1],wa=function(Ur){var ia=Ui(),zi=Ur.which;if(zi===m.Z.ENTER&&(Nn!=="combobox"&&Ur.preventDefault(),cr||Vn(!0)),va(!!Ci),zi===m.Z.BACKSPACE&&!ia&&Tn&&!Ci&&Lt.length){for(var Oi=(0,L.Z)(Lt),oa=null,pi=Oi.length-1;pi>=0;pi-=1){var Ia=Oi[pi];if(!Ia.disabled){Oi.splice(pi,1),oa=Ia;break}}oa&&un(Oi,{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(cr&&ei.current){var Ei;(Ei=ei.current).onKeyDown.apply(Ei,[Ur].concat(ka))}vr==null||vr.apply(void 0,[Ur].concat(ka))},Wa=function(Ur){for(var ia=arguments.length,zi=new Array(ia>1?ia-1:0),Oi=1;Oi<ia;Oi++)zi[Oi-1]=arguments[Oi];if(cr&&ei.current){var oa;(oa=ei.current).onKeyUp.apply(oa,[Ur].concat(zi))}zr==null||zr.apply(void 0,[Ur].concat(zi))},da=function(Ur){var ia=Lt.filter(function(zi){return zi!==Ur});un(ia,{type:"remove",values:[Ur]})},fa=I.useRef(!1),fr=function(){Fi(!0),rn||(Rr&&!fa.current&&Rr.apply(void 0,arguments),wr.includes("focus")&&Vn(!0)),fa.current=!0},or=function(){Fi(!1,function(){fa.current=!1,Vn(!1)}),!rn&&(Ci&&(Nn==="tags"?rr(Ci,{source:"submit"}):Nn==="multiple"&&rr("",{source:"blur"})),Nr&&Nr.apply(void 0,arguments))},Qr=[];I.useEffect(function(){return function(){Qr.forEach(function(ti){return clearTimeout(ti)}),Qr.splice(0,Qr.length)}},[]);var Ki=function(Ur){var ia,zi=Ur.target,Oi=(ia=Ti.current)===null||ia===void 0?void 0:ia.getPopupElement();if(Oi&&Oi.contains(zi)){var oa=setTimeout(function(){var ka=Qr.indexOf(oa);if(ka!==-1&&Qr.splice(ka,1),Vi(),!jn&&!Oi.contains(document.activeElement)){var Ba;(Ba=ki.current)===null||Ba===void 0||Ba.focus()}});Qr.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];Hr==null||Hr.apply(void 0,[Ur].concat(Ia))},ui=I.useState({}),sa=(0,$.Z)(ui,2),Va=sa[1];function Ha(){Va({})}var ya;Mr&&(ya=function(Ur){Vn(Ur)}),Z(function(){var ti;return[Vr.current,(ti=Ti.current)===null||ti===void 0?void 0:ti.getPopupElement()]},dr,Vn,!!Mr);var as=I.useMemo(function(){return(0,Ee.Z)((0,Ee.Z)({},Ue),{},{notFoundContent:An,open:cr,triggerOpen:dr,id:Dt,showSearch:er,multiple:Tn,toggleOpen:Vn})},[Ue,An,dr,cr,Dt,er,Tn,Vn]),ss=!!gr||ht,os;ss&&(os=I.createElement(U,{className:S()("".concat(zt,"-arrow"),(0,X.Z)({},"".concat(zt,"-arrow-loading"),ht)),customizeIcon:gr,customizeIconProps:{loading:ht,searchValue:Ci,open:cr,focused:Di,showSearch:er}}));var ts=function(){var Ur;tr==null||tr(),(Ur=ki.current)===null||Ur===void 0||Ur.focus(),un([],{type:"clear",values:Lt}),Yr("",!1,!1)},ls=V(zt,ts,Lt,En,$n,rn,Ci,Nn),Ta=ls.allowClear,Qi=ls.clearIcon,us=I.createElement(Cr,{ref:ei}),ns=S()(zt,tn,(pt={},(0,X.Z)(pt,"".concat(zt,"-focused"),Di),(0,X.Z)(pt,"".concat(zt,"-multiple"),Tn),(0,X.Z)(pt,"".concat(zt,"-single"),!Tn),(0,X.Z)(pt,"".concat(zt,"-allow-clear"),En),(0,X.Z)(pt,"".concat(zt,"-show-arrow"),ss),(0,X.Z)(pt,"".concat(zt,"-disabled"),rn),(0,X.Z)(pt,"".concat(zt,"-loading"),ht),(0,X.Z)(pt,"".concat(zt,"-open"),cr),(0,X.Z)(pt,"".concat(zt,"-customize-input"),Zi),(0,X.Z)(pt,"".concat(zt,"-show-search"),er),pt)),ba=I.createElement(se,{ref:Ti,disabled:rn,prefixCls:zt,visible:dr,popupElement:us,animation:Xn,transitionName:lr,dropdownStyle:yr,dropdownClassName:ir,direction:dn,dropdownMatchSelectWidth:Fr,dropdownRender:qr,dropdownAlign:Jn,placement:Rn,builtinPlacements:at,getPopupContainer:Kn,empty:ln,getTriggerDOMNode:function(){return oi.current},onPopupVisibleChange:ya,onPopupMouseEnter:Ha},Mr?I.cloneElement(Mr,{ref:aa}):I.createElement(Ut,(0,y.Z)({},Ue,{domRef:oi,prefixCls:zt,inputElement:Zi,ref:ki,id:Dt,showSearch:er,autoClearSearchValue:qn,mode:Nn,activeDescendantId:_n,tagRender:sn,values:Lt,open:cr,onToggleOpen:Vn,activeValue:Zt,searchValue:Ci,onSearch:Yr,onSearchSubmit:Pi,onRemove:da,tokenWithEnter:Pr}))),Sa;return Mr?Sa=ba:Sa=I.createElement("div",(0,y.Z)({className:ns},kr,{ref:Vr,onMouseDown:Ki,onKeyDown:wa,onKeyUp:Wa,onFocus:fr,onBlur:or}),Di&&!cr&&I.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Lt.map(function(ti){var Ur=ti.label,ia=ti.value;return["number","string"].includes((0,C.Z)(Ur))?Ur:ia}).join(", "))),ba,os,Ta&&Qi),I.createElement(ne.Provider,{value:as},Sa)}),_e=j,Ke=function(Ue,Ce){var mt=I.useRef({values:new Map,options:new Map}),pt=I.useMemo(function(){var zt=mt.current,tn=zt.values,Ht=zt.options,sn=Ue.map(function(Lt){if(Lt.label===void 0){var un;return(0,Ee.Z)((0,Ee.Z)({},Lt),{},{label:(un=tn.get(Lt.value))===null||un===void 0?void 0:un.label})}return Lt}),dn=new Map,Mt=new Map;return sn.forEach(function(Lt){dn.set(Lt.value,Lt),Mt.set(Lt.value,Ce.get(Lt.value)||Ht.get(Lt.value))}),mt.current.values=dn,mt.current.options=Mt,sn},[Ue,Ce]),Dt=I.useCallback(function(zt){return Ce.get(zt)||mt.current.options.get(zt)},[Ce]);return[pt,Dt]};function De(Ue,Ce){return te(Ue).join("").toUpperCase().includes(Ce)}var Oe=function(Ue,Ce,mt,pt,Dt){return I.useMemo(function(){if(!mt||pt===!1)return Ue;var zt=Ce.options,tn=Ce.label,Ht=Ce.value,sn=[],dn=typeof pt=="function",Mt=mt.toUpperCase(),Lt=dn?pt:function(ln,hn){return Dt?De(hn[Dt],Mt):hn[zt]?De(hn[tn!=="children"?tn:"label"],Mt):De(hn[Ht],Mt)},un=dn?function(ln){return k(ln)}:function(ln){return ln};return Ue.forEach(function(ln){if(ln[zt]){var hn=Lt(mt,un(ln));if(hn)sn.push(ln);else{var An=ln[zt].filter(function(tr){return Lt(mt,un(tr))});An.length&&sn.push((0,Ee.Z)((0,Ee.Z)({},ln),{},(0,X.Z)({},zt,An)))}return}Lt(mt,un(ln))&&sn.push(ln)}),sn},[Ue,pt,Dt,mt,Ce])},Ye=f(17115),Je=f(11592),Ge=["children","value"],yt=["children"];function xt(Ue){var Ce=Ue,mt=Ce.key,pt=Ce.props,Dt=pt.children,zt=pt.value,tn=(0,q.Z)(pt,Ge);return(0,Ee.Z)({key:mt,value:zt!==void 0?zt:mt,children:Dt},tn)}function dt(Ue){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Je.Z)(Ue).map(function(mt,pt){if(!I.isValidElement(mt)||!mt.type)return null;var Dt=mt,zt=Dt.type.isSelectOptGroup,tn=Dt.key,Ht=Dt.props,sn=Ht.children,dn=(0,q.Z)(Ht,yt);return Ce||!zt?xt(mt):(0,Ee.Z)((0,Ee.Z)({key:"__RC_SELECT_GRP__".concat(tn===null?pt:tn,"__"),label:tn},dn),{},{options:dt(sn)})}).filter(function(mt){return mt})}function kt(Ue,Ce,mt,pt,Dt){return I.useMemo(function(){var zt=Ue,tn=!Ue;tn&&(zt=dt(Ce));var Ht=new Map,sn=new Map,dn=function(un,ln,hn){hn&&typeof hn=="string"&&un.set(ln[hn],ln)};function Mt(Lt){for(var un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ln=0;ln<Lt.length;ln+=1){var hn=Lt[ln];!hn[mt.options]||un?(Ht.set(hn[mt.value],hn),dn(sn,hn,mt.label),dn(sn,hn,pt),dn(sn,hn,Dt)):Mt(hn[mt.options],!0)}}return Mt(zt),{options:zt,valueOptions:Ht,labelOptions:sn}},[Ue,Ce,mt,pt,Dt])}function Tt(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 he=bt,Be=f(80547),pn=f(2738),We=f(24916),et=I.createContext(null),Xe=et;function Se(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Ie=["disabled","title","children","style","className"];function ze(Ue){return typeof Ue=="string"||typeof Ue=="number"}var qe=function(Ce,mt){var pt=Q(),Dt=pt.prefixCls,zt=pt.id,tn=pt.open,Ht=pt.multiple,sn=pt.mode,dn=pt.searchValue,Mt=pt.toggleOpen,Lt=pt.notFoundContent,un=pt.onPopupScroll,ln=I.useContext(Xe),hn=ln.flattenOptions,An=ln.onActiveValue,tr=ln.defaultActiveFirstOption,Nn=ln.onSelect,rn=ln.menuItemSelectedIcon,ht=ln.rawValues,vt=ln.fieldNames,It=ln.virtual,Vt=ln.direction,Nt=ln.listHeight,$t=ln.listItemHeight,Zt="".concat(Dt,"-item"),vn=(0,Be.Z)(function(){return hn},[tn,hn],function(Jn,Rn){return Rn[0]&&Jn[1]!==Rn[1]}),_n=I.useRef(null),kn=function(Rn){Rn.preventDefault()},qn=function(Rn){_n.current&&_n.current.scrollTo(typeof Rn=="number"?{index:Rn}:Rn)},rr=function(Rn){for(var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Kn=vn.length,ur=0;ur<Kn;ur+=1){var wr=(Rn+ur*at+Kn)%Kn,Rr=vn[wr],Nr=Rr.group,zr=Rr.data;if(!Nr&&!zr.disabled)return wr}return-1},sr=I.useState(function(){return rr(0)}),wn=(0,$.Z)(sr,2),En=wn[0],gr=wn[1],$n=function(Rn){var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;gr(Rn);var Kn={source:at?"keyboard":"mouse"},ur=vn[Rn];if(!ur){An(null,-1,Kn);return}An(ur.value,Rn,Kn)};(0,I.useEffect)(function(){$n(tr!==!1?rr(0):-1)},[vn.length,dn]);var Cr=I.useCallback(function(Jn){return ht.has(Jn)&&sn!=="combobox"},[sn,(0,L.Z)(ht).toString(),ht.size]);(0,I.useEffect)(function(){var Jn=setTimeout(function(){if(!Ht&&tn&&ht.size===1){var at=Array.from(ht)[0],Kn=vn.findIndex(function(ur){var wr=ur.data;return wr.value===at});Kn!==-1&&($n(Kn),qn(Kn))}});if(tn){var Rn;(Rn=_n.current)===null||Rn===void 0||Rn.scrollTo(void 0)}return function(){return clearTimeout(Jn)}},[tn,dn,hn.length]);var Xn=function(Rn){Rn!==void 0&&Nn(Rn,{selected:!ht.has(Rn)}),Ht||Mt(!1)};if(I.useImperativeHandle(mt,function(){return{onKeyDown:function(Rn){var at=Rn.which,Kn=Rn.ctrlKey;switch(at){case m.Z.N:case m.Z.P:case m.Z.UP:case m.Z.DOWN:{var ur=0;if(at===m.Z.UP?ur=-1:at===m.Z.DOWN?ur=1:Se()&&Kn&&(at===m.Z.N?ur=1:at===m.Z.P&&(ur=-1)),ur!==0){var wr=rr(En+ur,ur);qn(wr),$n(wr,!0)}break}case m.Z.ENTER:{var Rr=vn[En];Rr&&!Rr.data.disabled?Xn(Rr.value):Xn(void 0),tn&&Rn.preventDefault();break}case m.Z.ESC:Mt(!1),tn&&Rn.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Rn){qn(Rn)}}}),vn.length===0)return I.createElement("div",{role:"listbox",id:"".concat(zt,"_list"),className:"".concat(Zt,"-empty"),onMouseDown:kn},Lt);var lr=Object.keys(vt).map(function(Jn){return vt[Jn]}),yr=function(Rn){return Rn.label};function ir(Jn,Rn){var at=Jn.group;return{role:at?"presentation":"option",id:"".concat(zt,"_list_").concat(Rn)}}var Fr=function(Rn){var at=vn[Rn];if(!at)return null;var Kn=at.data||{},ur=Kn.value,wr=at.group,Rr=(0,z.Z)(Kn,!0),Nr=yr(at);return at?I.createElement("div",(0,y.Z)({"aria-label":typeof Nr=="string"&&!wr?Nr:null},Rr,{key:Rn},ir(at,Rn),{"aria-selected":Cr(ur)}),ur):null},qr={role:"listbox",id:"".concat(zt,"_list")};return I.createElement(I.Fragment,null,It&&I.createElement("div",(0,y.Z)({},qr,{style:{height:0,width:0,overflow:"hidden"}}),Fr(En-1),Fr(En),Fr(En+1)),I.createElement(We.Z,{itemKey:"key",ref:_n,data:vn,height:Nt,itemHeight:$t,fullHeight:!1,onMouseDown:kn,onScroll:un,virtual:It,direction:Vt,innerProps:It?null:qr},function(Jn,Rn){var at,Kn=Jn.group,ur=Jn.groupOption,wr=Jn.data,Rr=Jn.label,Nr=Jn.value,zr=wr.key;if(Kn){var vr,Hr=(vr=wr.title)!==null&&vr!==void 0?vr:ze(Rr)?Rr.toString():void 0;return I.createElement("div",{className:S()(Zt,"".concat(Zt,"-group")),title:Hr},Rr!==void 0?Rr:zr)}var Hn=wr.disabled,Tn=wr.title,er=wr.children,kr=wr.style,Wr=wr.className,wi=(0,q.Z)(wr,Ie),jn=(0,pn.Z)(wi,lr),$r=Cr(Nr),Vr="".concat(Zt,"-option"),oi=S()(Zt,Vr,Wr,(at={},(0,X.Z)(at,"".concat(Vr,"-grouped"),ur),(0,X.Z)(at,"".concat(Vr,"-active"),En===Rn&&!Hn),(0,X.Z)(at,"".concat(Vr,"-disabled"),Hn),(0,X.Z)(at,"".concat(Vr,"-selected"),$r),at)),Ti=yr(Jn),ki=!rn||typeof rn=="function"||$r,ei=typeof Ti=="number"?Ti:Ti||Nr,gi=ze(ei)?ei.toString():void 0;return Tn!==void 0&&(gi=Tn),I.createElement("div",(0,y.Z)({},(0,z.Z)(jn),It?{}:ir(Jn,Rn),{"aria-selected":$r,className:oi,title:gi,onMouseMove:function(){En===Rn||Hn||$n(Rn)},onClick:function(){Hn||Xn(Nr)},style:kr}),I.createElement("div",{className:"".concat(Vr,"-content")},ei),I.isValidElement(rn)||$r,ki&&I.createElement(U,{className:"".concat(Zt,"-option-state"),customizeIcon:rn,customizeIconProps:{isSelected:$r}},$r?"\u2713":null))}))},be=I.forwardRef(qe);be.displayName="OptionList";var en=be;function $e(Ue){var Ce=Ue.mode,mt=Ue.options,pt=Ue.children,Dt=Ue.backfill,zt=Ue.allowClear,tn=Ue.placeholder,Ht=Ue.getInputElement,sn=Ue.showSearch,dn=Ue.onSearch,Mt=Ue.defaultOpen,Lt=Ue.autoFocus,un=Ue.labelInValue,ln=Ue.value,hn=Ue.inputValue,An=Ue.optionLabelProp,tr=isMultiple(Ce),Nn=sn!==void 0?sn:tr||Ce==="combobox",rn=mt||convertChildrenToData(pt);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 ht=rn.some(function(Vt){return Vt.options?Vt.options.some(function(Nt){return typeof("value"in Nt?Nt.value:Nt.key)=="number"}):typeof("value"in Vt?Vt.value:Vt.key)=="number"});warning(!ht,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Ce!=="combobox"||!An,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Ce==="combobox"||!Dt,"`backfill` only works with `combobox` mode."),warning(Ce==="combobox"||!Ht,"`getInputElement` only work with `combobox` mode."),noteOnce(Ce!=="combobox"||!Ht||!zt||!tn,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),dn&&!Nn&&Ce!=="combobox"&&Ce!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Mt||Lt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),ln!=null){var vt=toArray(ln);warning(!un||vt.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(!tr||Array.isArray(ln),"`value` should be array when `mode` is `multiple` or `tags`")}if(pt){var It=null;toNodeArray(pt).some(function(Vt){if(!React.isValidElement(Vt)||!Vt.type)return!1;var Nt=Vt,$t=Nt.type;if($t.isSelectOption)return!1;if($t.isSelectOptGroup){var Zt=toNodeArray(Vt.props.children).every(function(vn){return!React.isValidElement(vn)||!Vt.type||vn.type.isSelectOption?!0:(It=vn.type,!1)});return!Zt}return It=$t,!0}),It&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(It.displayName||It.name||It,"`.")),warning(hn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function bn(Ue,Ce){if(Ue){var mt=function pt(Dt){for(var zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,tn=0;tn<Dt.length;tn++){var Ht=Dt[tn];if(Ht[Ce==null?void 0:Ce.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!zt&&Array.isArray(Ht[Ce==null?void 0:Ce.options])&&pt(Ht[Ce==null?void 0:Ce.options],!0))break}};mt(Ue)}}var Cn=null,jt=["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"],Jt=["inputValue"];function wt(Ue){return!Ue||(0,C.Z)(Ue)!=="object"}var Pt=I.forwardRef(function(Ue,Ce){var mt=Ue.id,pt=Ue.mode,Dt=Ue.prefixCls,zt=Dt===void 0?"rc-select":Dt,tn=Ue.backfill,Ht=Ue.fieldNames,sn=Ue.inputValue,dn=Ue.searchValue,Mt=Ue.onSearch,Lt=Ue.autoClearSearchValue,un=Lt===void 0?!0:Lt,ln=Ue.onSelect,hn=Ue.onDeselect,An=Ue.dropdownMatchSelectWidth,tr=An===void 0?!0:An,Nn=Ue.filterOption,rn=Ue.filterSort,ht=Ue.optionFilterProp,vt=Ue.optionLabelProp,It=Ue.options,Vt=Ue.children,Nt=Ue.defaultActiveFirstOption,$t=Ue.menuItemSelectedIcon,Zt=Ue.virtual,vn=Ue.direction,_n=Ue.listHeight,kn=_n===void 0?200:_n,qn=Ue.listItemHeight,rr=qn===void 0?20:qn,sr=Ue.value,wn=Ue.defaultValue,En=Ue.labelInValue,gr=Ue.onChange,$n=(0,q.Z)(Ue,jt),Cr=(0,Ye.ZP)(mt),Xn=W(pt),lr=!!(!It&&Vt),yr=I.useMemo(function(){return Nn===void 0&&pt==="combobox"?!1:Nn},[Nn,pt]),ir=I.useMemo(function(){return O(Ht,lr)},[JSON.stringify(Ht),lr]),Fr=(0,xe.Z)("",{value:dn!==void 0?dn:sn,postState:function(xr){return xr||""}}),qr=(0,$.Z)(Fr,2),Jn=qr[0],Rn=qr[1],at=kt(It,Vt,ir,ht,vt),Kn=at.valueOptions,ur=at.labelOptions,wr=at.options,Rr=I.useCallback(function(cr){var xr=te(cr);return xr.map(function(dr){var Vn,Pr,Yr,Pi,yi;if(wt(dr))Vn=dr;else{var Ii;Yr=dr.key,Pr=dr.label,Vn=(Ii=dr.value)!==null&&Ii!==void 0?Ii:Yr}var Ui=Kn.get(Vn);if(Ui){var va;if(Pr===void 0&&(Pr=Ui==null?void 0:Ui[vt||ir.label]),Yr===void 0&&(Yr=(va=Ui==null?void 0:Ui.key)!==null&&va!==void 0?va:Vn),Pi=Ui==null?void 0:Ui.disabled,yi=Ui==null?void 0:Ui.title,0)var wa}return{label:Pr,value:Vn,key:Yr,disabled:Pi,title:yi}})},[ir,vt,Kn]),Nr=(0,xe.Z)(wn,{value:sr}),zr=(0,$.Z)(Nr,2),vr=zr[0],Hr=zr[1],Hn=I.useMemo(function(){var cr,xr=Rr(vr);return pt==="combobox"&&ce((cr=xr[0])===null||cr===void 0?void 0:cr.value)?[]:xr},[vr,Rr,pt]),Tn=Ke(Hn,Kn),er=(0,$.Z)(Tn,2),kr=er[0],Wr=er[1],wi=I.useMemo(function(){if(!pt&&kr.length===1){var cr=kr[0];if(cr.value===null&&(cr.label===null||cr.label===void 0))return[]}return kr.map(function(xr){var dr;return(0,Ee.Z)((0,Ee.Z)({},xr),{},{label:(dr=xr.label)!==null&&dr!==void 0?dr:xr.value})})},[pt,kr]),jn=I.useMemo(function(){return new Set(kr.map(function(cr){return cr.value}))},[kr]);I.useEffect(function(){if(pt==="combobox"){var cr,xr=(cr=kr[0])===null||cr===void 0?void 0:cr.value;Rn(Y(xr)?String(xr):"")}},[kr]);var $r=Tt(function(cr,xr){var dr,Vn=xr!=null?xr:cr;return dr={},(0,X.Z)(dr,ir.value,cr),(0,X.Z)(dr,ir.label,Vn),dr}),Vr=I.useMemo(function(){if(pt!=="tags")return wr;var cr=(0,L.Z)(wr),xr=function(Vn){return Kn.has(Vn)};return(0,L.Z)(kr).sort(function(dr,Vn){return dr.value<Vn.value?-1:1}).forEach(function(dr){var Vn=dr.value;xr(Vn)||cr.push($r(Vn,dr.label))}),cr},[$r,wr,Kn,kr,pt]),oi=Oe(Vr,ir,Jn,yr,ht),Ti=I.useMemo(function(){return pt!=="tags"||!Jn||oi.some(function(cr){return cr[ht||"value"]===Jn})||oi.some(function(cr){return cr[ir.value]===Jn})?oi:[$r(Jn)].concat((0,L.Z)(oi))},[$r,ht,pt,oi,Jn,ir]),ki=I.useMemo(function(){return rn?(0,L.Z)(Ti).sort(function(cr,xr){return rn(cr,xr)}):Ti},[Ti,rn]),ei=I.useMemo(function(){return Ae(ki,{fieldNames:ir,childrenAsData:lr})},[ki,ir,lr]),gi=function(xr){var dr=Rr(xr);if(Hr(dr),gr&&(dr.length!==kr.length||dr.some(function(Yr,Pi){var yi;return((yi=kr[Pi])===null||yi===void 0?void 0:yi.value)!==(Yr==null?void 0:Yr.value)}))){var Vn=En?dr:dr.map(function(Yr){return Yr.value}),Pr=dr.map(function(Yr){return k(Wr(Yr.value))});gr(Xn?Vn:Vn[0],Xn?Pr:Pr[0])}},li=I.useState(null),Di=(0,$.Z)(li,2),Fi=Di[0],Vi=Di[1],Ci=I.useState(0),Zi=(0,$.Z)(Ci,2),Mr=Zi[0],aa=Zi[1],ga=Nt!==void 0?Nt:pt!=="combobox",ua=I.useCallback(function(cr,xr){var dr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Vn=dr.source,Pr=Vn===void 0?"keyboard":Vn;aa(xr),tn&&pt==="combobox"&&cr!==null&&Pr==="keyboard"&&Vi(String(cr))},[tn,pt]),vi=function(xr,dr,Vn){var Pr=function(){var fa,fr=Wr(xr);return[En?{label:fr==null?void 0:fr[ir.label],value:xr,key:(fa=fr==null?void 0:fr.key)!==null&&fa!==void 0?fa:xr}:xr,k(fr)]};if(dr&&ln){var Yr=Pr(),Pi=(0,$.Z)(Yr,2),yi=Pi[0],Ii=Pi[1];ln(yi,Ii)}else if(!dr&&hn&&Vn!=="clear"){var Ui=Pr(),va=(0,$.Z)(Ui,2),wa=va[0],Wa=va[1];hn(wa,Wa)}},ca=Tt(function(cr,xr){var dr,Vn=Xn?xr.selected:!0;Vn?dr=Xn?[].concat((0,L.Z)(kr),[cr]):[cr]:dr=kr.filter(function(Pr){return Pr.value!==cr}),gi(dr),vi(cr,Vn),pt==="combobox"?Vi(""):(!W||un)&&(Rn(""),Vi(""))}),_a=function(xr,dr){gi(xr);var Vn=dr.type,Pr=dr.values;(Vn==="remove"||Vn==="clear")&&Pr.forEach(function(Yr){vi(Yr.value,!1,Vn)})},Pn=function(xr,dr){if(Rn(xr),Vi(null),dr.source==="submit"){var Vn=(xr||"").trim();if(Vn){var Pr=Array.from(new Set([].concat((0,L.Z)(jn),[Vn])));gi(Pr),vi(Vn,!0),Rn("")}return}dr.source!=="blur"&&(pt==="combobox"&&gi(xr),Mt==null||Mt(xr))},Ni=function(xr){var dr=xr;pt!=="tags"&&(dr=xr.map(function(Pr){var Yr=ur.get(Pr);return Yr==null?void 0:Yr.value}).filter(function(Pr){return Pr!==void 0}));var Vn=Array.from(new Set([].concat((0,L.Z)(jn),(0,L.Z)(dr))));gi(Vn),Vn.forEach(function(Pr){vi(Pr,!0)})},na=I.useMemo(function(){var cr=Zt!==!1&&tr!==!1;return(0,Ee.Z)((0,Ee.Z)({},at),{},{flattenOptions:ei,onActiveValue:ua,defaultActiveFirstOption:ga,onSelect:ca,menuItemSelectedIcon:$t,rawValues:jn,fieldNames:ir,virtual:cr,direction:vn,listHeight:kn,listItemHeight:rr,childrenAsData:lr})},[at,ei,ua,ga,ca,$t,jn,ir,Zt,tr,kn,rr,lr]);return I.createElement(Xe.Provider,{value:na},I.createElement(_e,(0,y.Z)({},$n,{id:Cr,prefixCls:zt,ref:Ce,omitDomProps:Jt,mode:pt,displayValues:wi,onDisplayValuesChange:_a,direction:vn,searchValue:Jn,onSearch:Pn,autoClearSearchValue:un,onSearchSplit:Ni,dropdownMatchSelectWidth:tr,OptionList:en,emptyOptions:!ei.length,activeValue:Fi,activeDescendantId:"".concat(Cr,"_list_").concat(Mr)})))}),Ve=Pt;Ve.Option=he,Ve.OptGroup=D;var At=Ve,St=At},9296:function(nn,nt,f){"use strict";f.r(nt),f.d(nt,{ResizableTextArea:function(){return de},default:function(){return ce}});var y=f(96663),L=f(44127),X=f(90493),Ee=f(20135),$=f(72071),q=f(6620),C=f(19127),xe=f(92310),a=f.n(xe),I=f(93681),K=f(5643),S=f(18929),u=f(59301),x=f(29301),m=f(34280),P=f(16089),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;
|
|
|
`,U=["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"],V={},ne;function Q(ie){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,E=ie.getAttribute("id")||ie.getAttribute("data-reactid")||ie.getAttribute("name");if(g&&V[E])return V[E];var G=window.getComputedStyle(ie),J=G.getPropertyValue("box-sizing")||G.getPropertyValue("-moz-box-sizing")||G.getPropertyValue("-webkit-box-sizing"),Le=parseFloat(G.getPropertyValue("padding-bottom"))+parseFloat(G.getPropertyValue("padding-top")),ke=parseFloat(G.getPropertyValue("border-bottom-width"))+parseFloat(G.getPropertyValue("border-top-width")),Fe=U.map(function(lt){return"".concat(lt,":").concat(G.getPropertyValue(lt))}).join(";"),Ze={sizingStyle:Fe,paddingSize:Le,borderSize:ke,boxSizing:J};return g&&E&&(V[E]=Ze),Ze}function b(ie){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,G=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=Q(ie,g),Le=J.paddingSize,ke=J.borderSize,Fe=J.boxSizing,Ze=J.sizingStyle;ne.setAttribute("style","".concat(Ze,";").concat(ue)),ne.value=ie.value||ie.placeholder||"";var lt=void 0,ut=void 0,it,Ut=ne.scrollHeight;if(Fe==="border-box"?Ut+=ke:Fe==="content-box"&&(Ut-=Le),E!==null||G!==null){ne.value=" ";var qt=ne.scrollHeight-Le;E!==null&&(lt=qt*E,Fe==="border-box"&&(lt=lt+Le+ke),Ut=Math.max(lt,Ut)),G!==null&&(ut=qt*G,Fe==="border-box"&&(ut=ut+Le+ke),it=Ut>ut?"":"hidden",Ut=Math.min(ut,Ut))}var an={height:Ut,overflowY:it,resize:"none"};return lt&&(an.minHeight=lt),ut&&(an.maxHeight=ut),an}var R=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Z=0,z=1,pe=2,me=u.forwardRef(function(ie,g){var E=ie,G=E.prefixCls,J=E.onPressEnter,Le=E.defaultValue,ke=E.value,Fe=E.autoSize,Ze=E.onResize,lt=E.className,ut=E.style,it=E.disabled,Ut=E.onChange,qt=E.onInternalAutoSize,an=(0,q.Z)(E,R),Ot=(0,S.Z)(Le,{value:ke,postState:function(D){return D!=null?D:""}}),ot=(0,$.Z)(Ot,2),_t=ot[0],se=ot[1],ye=function(D){se(D.target.value),Ut==null||Ut(D)},H=u.useRef();u.useImperativeHandle(g,function(){return{textArea:H.current}});var O=u.useMemo(function(){return Fe&&(0,Ee.Z)(Fe)==="object"?[Fe.minRows,Fe.maxRows]:[]},[Fe]),Ae=(0,$.Z)(O,2),k=Ae[0],_=Ae[1],T=!!Fe,ee=function(){try{if(document.activeElement===H.current){var D=H.current,bt=D.selectionStart,he=D.selectionEnd,Be=D.scrollTop;H.current.setSelectionRange(bt,he),H.current.scrollTop=Be}}catch(pn){}},W=u.useState(pe),j=(0,$.Z)(W,2),_e=j[0],Ke=j[1],De=u.useState(),Oe=(0,$.Z)(De,2),Ye=Oe[0],Je=Oe[1],Ge=function(){Ke(Z)};(0,m.Z)(function(){T&&Ge()},[ke,k,_,T]),(0,m.Z)(function(){if(_e===Z)Ke(z);else if(_e===z){var w=b(H.current,!1,k,_);Ke(pe),Je(w)}else ee()},[_e]);var yt=u.useRef(),xt=function(){P.Z.cancel(yt.current)},dt=function(D){_e===pe&&(Ze==null||Ze(D),Fe&&(xt(),yt.current=(0,P.Z)(function(){Ge()})))};u.useEffect(function(){return xt},[]);var kt=T?Ye:null,Tt=(0,L.Z)((0,L.Z)({},ut),kt);return(_e===Z||_e===z)&&(Tt.overflowY="hidden",Tt.overflowX="hidden"),u.createElement(x.Z,{onResize:dt,disabled:!(Fe||Ze)},u.createElement("textarea",(0,y.Z)({},an,{ref:H,style:Tt,className:a()(G,lt,(0,X.Z)({},"".concat(G,"-disabled"),it)),disabled:it,value:_t,onChange:ye})))}),de=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,g){return(0,C.Z)(ie||"").slice(0,g).join("")}function B(ie,g,E,G){var J=E;return ie?J=te(E,G):(0,C.Z)(g||"").length<E.length&&(0,C.Z)(E||"").length>G&&(J=g),J}var fe=u.forwardRef(function(ie,g){var E,G=ie.defaultValue,J=ie.value,Le=ie.onFocus,ke=ie.onBlur,Fe=ie.onChange,Ze=ie.allowClear,lt=ie.maxLength,ut=ie.onCompositionStart,it=ie.onCompositionEnd,Ut=ie.suffix,qt=ie.prefixCls,an=qt===void 0?"rc-textarea":qt,Ot=ie.classes,ot=ie.showCount,_t=ie.className,se=ie.style,ye=ie.disabled,H=ie.hidden,O=ie.classNames,Ae=ie.styles,k=ie.onResize,_=(0,q.Z)(ie,ae),T=(0,S.Z)(G,{value:J,defaultValue:G}),ee=(0,$.Z)(T,2),W=ee[0],j=ee[1],_e=(0,u.useRef)(null),Ke=u.useState(!1),De=(0,$.Z)(Ke,2),Oe=De[0],Ye=De[1],Je=u.useState(!1),Ge=(0,$.Z)(Je,2),yt=Ge[0],xt=Ge[1],dt=u.useRef(),kt=u.useRef(0),Tt=u.useState(null),w=(0,$.Z)(Tt,2),D=w[0],bt=w[1],he=function(){var wt;(wt=_e.current)===null||wt===void 0||wt.textArea.focus()};(0,u.useImperativeHandle)(g,function(){return{resizableTextArea:_e.current,focus:he,blur:function(){var wt;(wt=_e.current)===null||wt===void 0||wt.textArea.blur()}}}),(0,u.useEffect)(function(){Ye(function(Jt){return!ye&&Jt})},[ye]);var Be=Number(lt)>0,pn=function(wt){xt(!0),dt.current=W,kt.current=wt.currentTarget.selectionStart,ut==null||ut(wt)},We=function(wt){xt(!1);var Pt=wt.currentTarget.value;if(Be){var Ve,At=kt.current>=lt+1||kt.current===((Ve=dt.current)===null||Ve===void 0?void 0:Ve.length);Pt=B(At,dt.current,Pt,lt)}Pt!==W&&(j(Pt),(0,K.rJ)(wt.currentTarget,wt,Fe,Pt)),it==null||it(wt)},et=function(wt){var Pt=wt.target.value;if(!yt&&Be){var Ve=wt.target.selectionStart>=lt+1||wt.target.selectionStart===Pt.length||!wt.target.selectionStart;Pt=B(Ve,W,Pt,lt)}j(Pt),(0,K.rJ)(wt.currentTarget,wt,Fe,Pt)},Xe=function(wt){var Pt=_.onPressEnter,Ve=_.onKeyDown;wt.key==="Enter"&&Pt&&Pt(wt),Ve==null||Ve(wt)},Se=function(wt){Ye(!0),Le==null||Le(wt)},Ie=function(wt){Ye(!1),ke==null||ke(wt)},ze=function(wt){var Pt;j(""),he(),(0,K.rJ)((Pt=_e.current)===null||Pt===void 0?void 0:Pt.textArea,wt,Fe)},qe=(0,K.D7)(W);!yt&&Be&&J==null&&(qe=te(qe,lt));var be=Ut,en;if(ot){var $e=(0,C.Z)(qe).length;(0,Ee.Z)(ot)==="object"?en=ot.formatter({value:qe,count:$e,maxLength:lt}):en="".concat($e).concat(Be?" / ".concat(lt):""),be=u.createElement(u.Fragment,null,be,u.createElement("span",{className:a()("".concat(an,"-data-count"),O==null?void 0:O.count),style:Ae==null?void 0:Ae.count},en))}var bn=function(wt){var Pt;k==null||k(wt),(Pt=_e.current)!==null&&Pt!==void 0&&Pt.textArea.style.height&&bt(!0)},Cn=!_.autoSize&&!ot&&!Ze,jt=u.createElement(I.BaseInput,{value:qe,allowClear:Ze,handleReset:ze,suffix:be,prefixCls:an,classes:{affixWrapper:a()(Ot==null?void 0:Ot.affixWrapper,(E={},(0,X.Z)(E,"".concat(an,"-show-count"),ot),(0,X.Z)(E,"".concat(an,"-textarea-allow-clear"),Ze),E))},disabled:ye,focused:Oe,className:_t,style:(0,L.Z)((0,L.Z)({},se),D&&!Cn?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof en=="string"?en:void 0}},hidden:H,inputElement:u.createElement(de,(0,y.Z)({},_,{onKeyDown:Xe,onChange:et,onFocus:Se,onBlur:Ie,onCompositionStart:pn,onCompositionEnd:We,className:O==null?void 0:O.textarea,style:(0,L.Z)((0,L.Z)({},Ae==null?void 0:Ae.textarea),{},{resize:se==null?void 0:se.resize}),disabled:ye,prefixCls:an,onResize:bn,ref:_e}))});return jt}),Y=fe,ce=Y},55477:function(nn,nt,f){"use strict";f.d(nt,{G:function(){return u},Z:function(){return ue}});var y=f(96663),L=f(44127),X=f(6620),Ee=f(35593),$=f(59301),q={shiftX:64,adjustY:1},C={adjustX:1,shiftY:!0},xe=[0,0],a={left:{points:["cr","cl"],overflow:C,offset:[-4,0],targetOffset:xe},right:{points:["cl","cr"],overflow:C,offset:[4,0],targetOffset:xe},top:{points:["bc","tc"],overflow:q,offset:[0,-4],targetOffset:xe},bottom:{points:["tc","bc"],overflow:q,offset:[0,4],targetOffset:xe},topLeft:{points:["bl","tl"],overflow:q,offset:[0,-4],targetOffset:xe},leftTop:{points:["tr","tl"],overflow:C,offset:[-4,0],targetOffset:xe},topRight:{points:["br","tr"],overflow:q,offset:[0,-4],targetOffset:xe},rightTop:{points:["tl","tr"],overflow:C,offset:[4,0],targetOffset:xe},bottomRight:{points:["tr","br"],overflow:q,offset:[0,4],targetOffset:xe},rightBottom:{points:["bl","br"],overflow:C,offset:[4,0],targetOffset:xe},bottomLeft:{points:["tl","bl"],overflow:q,offset:[0,4],targetOffset:xe},leftBottom:{points:["br","bl"],overflow:C,offset:[-4,0],targetOffset:xe}},I=null,K=f(92310),S=f.n(K);function u(U){var V=U.children,ne=U.prefixCls,Q=U.id,b=U.overlayInnerStyle,R=U.className,Z=U.style;return $.createElement("div",{className:S()("".concat(ne,"-content"),R),style:Z},$.createElement("div",{className:"".concat(ne,"-inner"),id:Q,role:"tooltip",style:b},typeof V=="function"?V():V))}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(V,ne){var Q=V.overlayClassName,b=V.trigger,R=b===void 0?["hover"]:b,Z=V.mouseEnterDelay,z=Z===void 0?0:Z,pe=V.mouseLeaveDelay,me=pe===void 0?.1:pe,de=V.overlayStyle,ae=V.prefixCls,te=ae===void 0?"rc-tooltip":ae,B=V.children,fe=V.onVisibleChange,Y=V.afterVisibleChange,ce=V.transitionName,ie=V.animation,g=V.motion,E=V.placement,G=E===void 0?"right":E,J=V.align,Le=J===void 0?{}:J,ke=V.destroyTooltipOnHide,Fe=ke===void 0?!1:ke,Ze=V.defaultVisible,lt=V.getTooltipContainer,ut=V.overlayInnerStyle,it=V.arrowContent,Ut=V.overlay,qt=V.id,an=V.showArrow,Ot=an===void 0?!0:an,ot=(0,X.Z)(V,x),_t=(0,$.useRef)(null);(0,$.useImperativeHandle)(ne,function(){return _t.current});var se=(0,L.Z)({},ot);"visible"in V&&(se.popupVisible=V.visible);var ye=function(){return $.createElement(u,{key:"content",prefixCls:te,id:qt,overlayInnerStyle:ut},Ut)};return $.createElement(Ee.Z,(0,y.Z)({popupClassName:Q,prefixCls:te,popup:ye,action:R,builtinPlacements:a,popupPlacement:G,ref:_t,popupAlign:Le,getPopupContainer:lt,onPopupVisibleChange:fe,afterPopupVisibleChange:Y,popupTransitionName:ce,popupAnimation:ie,popupMotion:g,defaultPopupVisible:Ze,autoDestroy:Fe,mouseLeaveDelay:me,popupStyle:de,mouseEnterDelay:z,arrow:Ot},se),B)},P=(0,$.forwardRef)(m),ue=P},39417:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return z}});var y=f(96663),L=f(90493),X=f(6620),Ee=f(44127),$=f(52884),q=f(95727),C=f(89866),xe=f(65711),a=f(85745),I=f(92310),K=f.n(I),S=f(26112),u=f(59301),x=f(39378),m=function(me){for(var de=me.prefixCls,ae=me.level,te=me.isStart,B=me.isEnd,fe="".concat(de,"-indent-unit"),Y=[],ce=0;ce<ae;ce+=1){var ie;Y.push(u.createElement("span",{key:ce,className:K()(fe,(ie={},(0,L.Z)(ie,"".concat(fe,"-start"),te[ce]),(0,L.Z)(ie,"".concat(fe,"-end"),B[ce]),ie))}))}return u.createElement("span",{"aria-hidden":"true",className:"".concat(de,"-indent")},Y)},P=u.memo(m),ue=f(67841),U=f(71430),V=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ne="open",Q="close",b="---",R=function(pe){(0,xe.Z)(de,pe);var me=(0,a.Z)(de);function de(){var ae;(0,$.Z)(this,de);for(var te=arguments.length,B=new Array(te),fe=0;fe<te;fe++)B[fe]=arguments[fe];return ae=me.call.apply(me,[this].concat(B)),ae.state={dragNodeHighlight:!1},ae.selectHandle=void 0,ae.cacheIndent=void 0,ae.onSelectorClick=function(Y){var ce=ae.props.context.onNodeClick;ce(Y,(0,U.F)(ae.props)),ae.isSelectable()?ae.onSelect(Y):ae.onCheck(Y)},ae.onSelectorDoubleClick=function(Y){var ce=ae.props.context.onNodeDoubleClick;ce(Y,(0,U.F)(ae.props))},ae.onSelect=function(Y){if(!ae.isDisabled()){var ce=ae.props.context.onNodeSelect;ce(Y,(0,U.F)(ae.props))}},ae.onCheck=function(Y){if(!ae.isDisabled()){var ce=ae.props,ie=ce.disableCheckbox,g=ce.checked,E=ae.props.context.onNodeCheck;if(!(!ae.isCheckable()||ie)){var G=!g;E(Y,(0,U.F)(ae.props),G)}}},ae.onMouseEnter=function(Y){var ce=ae.props.context.onNodeMouseEnter;ce(Y,(0,U.F)(ae.props))},ae.onMouseLeave=function(Y){var ce=ae.props.context.onNodeMouseLeave;ce(Y,(0,U.F)(ae.props))},ae.onContextMenu=function(Y){var ce=ae.props.context.onNodeContextMenu;ce(Y,(0,U.F)(ae.props))},ae.onDragStart=function(Y){var ce=ae.props.context.onNodeDragStart;Y.stopPropagation(),ae.setState({dragNodeHighlight:!0}),ce(Y,(0,C.Z)(ae));try{Y.dataTransfer.setData("text/plain","")}catch(ie){}},ae.onDragEnter=function(Y){var ce=ae.props.context.onNodeDragEnter;Y.preventDefault(),Y.stopPropagation(),ce(Y,(0,C.Z)(ae))},ae.onDragOver=function(Y){var ce=ae.props.context.onNodeDragOver;Y.preventDefault(),Y.stopPropagation(),ce(Y,(0,C.Z)(ae))},ae.onDragLeave=function(Y){var ce=ae.props.context.onNodeDragLeave;Y.stopPropagation(),ce(Y,(0,C.Z)(ae))},ae.onDragEnd=function(Y){var ce=ae.props.context.onNodeDragEnd;Y.stopPropagation(),ae.setState({dragNodeHighlight:!1}),ce(Y,(0,C.Z)(ae))},ae.onDrop=function(Y){var ce=ae.props.context.onNodeDrop;Y.preventDefault(),Y.stopPropagation(),ae.setState({dragNodeHighlight:!1}),ce(Y,(0,C.Z)(ae))},ae.onExpand=function(Y){var ce=ae.props,ie=ce.loading,g=ce.context.onNodeExpand;ie||g(Y,(0,U.F)(ae.props))},ae.setSelectHandle=function(Y){ae.selectHandle=Y},ae.getNodeState=function(){var Y=ae.props.expanded;return ae.isLeaf()?null:Y?ne:Q},ae.hasChildren=function(){var Y=ae.props.eventKey,ce=ae.props.context.keyEntities,ie=(0,ue.Z)(ce,Y)||{},g=ie.children;return!!(g||[]).length},ae.isLeaf=function(){var Y=ae.props,ce=Y.isLeaf,ie=Y.loaded,g=ae.props.context.loadData,E=ae.hasChildren();return ce===!1?!1:ce||!g&&!E||g&&ie&&!E},ae.isDisabled=function(){var Y=ae.props.disabled,ce=ae.props.context.disabled;return!!(ce||Y)},ae.isCheckable=function(){var Y=ae.props.checkable,ce=ae.props.context.checkable;return!ce||Y===!1?!1:ce},ae.syncLoadData=function(Y){var ce=Y.expanded,ie=Y.loading,g=Y.loaded,E=ae.props.context,G=E.loadData,J=E.onNodeLoad;ie||G&&ce&&!ae.isLeaf()&&!ae.hasChildren()&&!g&&J((0,U.F)(ae.props))},ae.isDraggable=function(){var Y=ae.props,ce=Y.data,ie=Y.context.draggable;return!!(ie&&(!ie.nodeDraggable||ie.nodeDraggable(ce)))},ae.renderDragHandler=function(){var Y=ae.props.context,ce=Y.draggable,ie=Y.prefixCls;return ce!=null&&ce.icon?u.createElement("span",{className:"".concat(ie,"-draggable-icon")},ce.icon):null},ae.renderSwitcherIconDom=function(Y){var ce=ae.props.switcherIcon,ie=ae.props.context.switcherIcon,g=ce||ie;return typeof g=="function"?g((0,Ee.Z)((0,Ee.Z)({},ae.props),{},{isLeaf:Y})):g},ae.renderSwitcher=function(){var Y=ae.props.expanded,ce=ae.props.context.prefixCls;if(ae.isLeaf()){var ie=ae.renderSwitcherIconDom(!0);return ie!==!1?u.createElement("span",{className:K()("".concat(ce,"-switcher"),"".concat(ce,"-switcher-noop"))},ie):null}var g=K()("".concat(ce,"-switcher"),"".concat(ce,"-switcher_").concat(Y?ne:Q)),E=ae.renderSwitcherIconDom(!1);return E!==!1?u.createElement("span",{onClick:ae.onExpand,className:g},E):null},ae.renderCheckbox=function(){var Y=ae.props,ce=Y.checked,ie=Y.halfChecked,g=Y.disableCheckbox,E=ae.props.context.prefixCls,G=ae.isDisabled(),J=ae.isCheckable();if(!J)return null;var Le=typeof J!="boolean"?J:null;return u.createElement("span",{className:K()("".concat(E,"-checkbox"),ce&&"".concat(E,"-checkbox-checked"),!ce&&ie&&"".concat(E,"-checkbox-indeterminate"),(G||g)&&"".concat(E,"-checkbox-disabled")),onClick:ae.onCheck},Le)},ae.renderIcon=function(){var Y=ae.props.loading,ce=ae.props.context.prefixCls;return u.createElement("span",{className:K()("".concat(ce,"-iconEle"),"".concat(ce,"-icon__").concat(ae.getNodeState()||"docu"),Y&&"".concat(ce,"-icon_loading"))})},ae.renderSelector=function(){var Y=ae.state.dragNodeHighlight,ce=ae.props,ie=ce.title,g=ie===void 0?b:ie,E=ce.selected,G=ce.icon,J=ce.loading,Le=ce.data,ke=ae.props.context,Fe=ke.prefixCls,Ze=ke.showIcon,lt=ke.icon,ut=ke.loadData,it=ke.titleRender,Ut=ae.isDisabled(),qt="".concat(Fe,"-node-content-wrapper"),an;if(Ze){var Ot=G||lt;an=Ot?u.createElement("span",{className:K()("".concat(Fe,"-iconEle"),"".concat(Fe,"-icon__customize"))},typeof Ot=="function"?Ot(ae.props):Ot):ae.renderIcon()}else ut&&J&&(an=ae.renderIcon());var ot;typeof g=="function"?ot=g(Le):it?ot=it(Le):ot=g;var _t=u.createElement("span",{className:"".concat(Fe,"-title")},ot);return u.createElement("span",{ref:ae.setSelectHandle,title:typeof g=="string"?g:"",className:K()("".concat(qt),"".concat(qt,"-").concat(ae.getNodeState()||"normal"),!Ut&&(E||Y)&&"".concat(Fe,"-node-selected")),onMouseEnter:ae.onMouseEnter,onMouseLeave:ae.onMouseLeave,onContextMenu:ae.onContextMenu,onClick:ae.onSelectorClick,onDoubleClick:ae.onSelectorDoubleClick},an,_t,ae.renderDropIndicator())},ae.renderDropIndicator=function(){var Y=ae.props,ce=Y.disabled,ie=Y.eventKey,g=ae.props.context,E=g.draggable,G=g.dropLevelOffset,J=g.dropPosition,Le=g.prefixCls,ke=g.indent,Fe=g.dropIndicatorRender,Ze=g.dragOverNodeKey,lt=g.direction,ut=!!E,it=!ce&&ut&&Ze===ie,Ut=ke!=null?ke:ae.cacheIndent;return ae.cacheIndent=ke,it?Fe({dropPosition:J,dropLevelOffset:G,indent:Ut,prefixCls:Le,direction:lt}):null},ae}return(0,q.Z)(de,[{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,B=this.props.context.selectable;return typeof te=="boolean"?te:B}},{key:"render",value:function(){var te,B=this.props,fe=B.eventKey,Y=B.className,ce=B.style,ie=B.dragOver,g=B.dragOverGapTop,E=B.dragOverGapBottom,G=B.isLeaf,J=B.isStart,Le=B.isEnd,ke=B.expanded,Fe=B.selected,Ze=B.checked,lt=B.halfChecked,ut=B.loading,it=B.domRef,Ut=B.active,qt=B.data,an=B.onMouseMove,Ot=B.selectable,ot=(0,X.Z)(B,V),_t=this.props.context,se=_t.prefixCls,ye=_t.filterTreeNode,H=_t.keyEntities,O=_t.dropContainerKey,Ae=_t.dropTargetKey,k=_t.draggingNodeKey,_=this.isDisabled(),T=(0,S.Z)(ot,{aria:!0,data:!0}),ee=(0,ue.Z)(H,fe)||{},W=ee.level,j=Le[Le.length-1],_e=this.isDraggable(),Ke=!_&&_e,De=k===fe,Oe=Ot!==void 0?{"aria-selected":!!Ot}:void 0;return u.createElement("div",(0,y.Z)({ref:it,className:K()(Y,"".concat(se,"-treenode"),(te={},(0,L.Z)(te,"".concat(se,"-treenode-disabled"),_),(0,L.Z)(te,"".concat(se,"-treenode-switcher-").concat(ke?"open":"close"),!G),(0,L.Z)(te,"".concat(se,"-treenode-checkbox-checked"),Ze),(0,L.Z)(te,"".concat(se,"-treenode-checkbox-indeterminate"),lt),(0,L.Z)(te,"".concat(se,"-treenode-selected"),Fe),(0,L.Z)(te,"".concat(se,"-treenode-loading"),ut),(0,L.Z)(te,"".concat(se,"-treenode-active"),Ut),(0,L.Z)(te,"".concat(se,"-treenode-leaf-last"),j),(0,L.Z)(te,"".concat(se,"-treenode-draggable"),_e),(0,L.Z)(te,"dragging",De),(0,L.Z)(te,"drop-target",Ae===fe),(0,L.Z)(te,"drop-container",O===fe),(0,L.Z)(te,"drag-over",!_&&ie),(0,L.Z)(te,"drag-over-gap-top",!_&&g),(0,L.Z)(te,"drag-over-gap-bottom",!_&&E),(0,L.Z)(te,"filter-node",ye&&ye((0,U.F)(this.props))),te)),style:ce,draggable:Ke,"aria-grabbed":De,onDragStart:Ke?this.onDragStart:void 0,onDragEnter:_e?this.onDragEnter:void 0,onDragOver:_e?this.onDragOver:void 0,onDragLeave:_e?this.onDragLeave:void 0,onDrop:_e?this.onDrop:void 0,onDragEnd:_e?this.onDragEnd:void 0,onMouseMove:an},Oe,T),u.createElement(P,{prefixCls:se,level:W,isStart:J,isEnd:Le}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),de}(u.Component),Z=function(me){return u.createElement(x.k.Consumer,null,function(de){return u.createElement(R,(0,y.Z)({},me,{context:de}))})};Z.displayName="TreeNode",Z.isTreeNode=1;var z=Z},39378:function(nn,nt,f){"use strict";f.d(nt,{k:function(){return L}});var y=f(59301),L=y.createContext(null)},43858:function(nn,nt,f){"use strict";f.d(nt,{O:function(){return z.Z},Z:function(){return _t}});var y=f(96663),L=f(90493),X=f(20135),Ee=f(44127),$=f(19127),q=f(52884),C=f(95727),xe=f(89866),a=f(65711),I=f(85745),K=f(92310),S=f.n(K),u=f(10228),x=f(26112),m=f(48736),P=f(59301),ue=f(39378);function U(se){var ye=se.dropPosition,H=se.dropLevelOffset,O=se.indent,Ae={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(ye){case-1:Ae.top=0,Ae.left=-H*O;break;case 1:Ae.bottom=0,Ae.left=-H*O;break;case 0:Ae.bottom=0,Ae.left=O;break}return P.createElement("div",{style:Ae})}function V(se){if(se==null)throw new TypeError("Cannot destructure "+se)}var ne=f(72071),Q=f(6620),b=f(34280),R=f(24916),Z=f(77900),z=f(39417);function pe(se,ye){var H=P.useState(!1),O=(0,ne.Z)(H,2),Ae=O[0],k=O[1];P.useLayoutEffect(function(){if(Ae)return se(),function(){ye()}},[Ae]),P.useLayoutEffect(function(){return k(!0),function(){k(!1)}},[])}var me=f(71430),de=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],ae=function(ye,H){var O=ye.className,Ae=ye.style,k=ye.motion,_=ye.motionNodes,T=ye.motionType,ee=ye.onMotionStart,W=ye.onMotionEnd,j=ye.active,_e=ye.treeNodeRequiredProps,Ke=(0,Q.Z)(ye,de),De=P.useState(!0),Oe=(0,ne.Z)(De,2),Ye=Oe[0],Je=Oe[1],Ge=P.useContext(ue.k),yt=Ge.prefixCls,xt=_&&T!=="hide";(0,b.Z)(function(){_&&xt!==Ye&&Je(xt)},[_]);var dt=function(){_&&ee()},kt=P.useRef(!1),Tt=function(){_&&!kt.current&&(kt.current=!0,W())};pe(dt,Tt);var w=function(bt){xt===bt&&Tt()};return _?P.createElement(Z.default,(0,y.Z)({ref:H,visible:Ye},k,{motionAppear:T==="show",onVisibleChanged:w}),function(D,bt){var he=D.className,Be=D.style;return P.createElement("div",{ref:bt,className:S()("".concat(yt,"-treenode-motion"),he),style:Be},_.map(function(pn){var We=(0,y.Z)({},(V(pn.data),pn.data)),et=pn.title,Xe=pn.key,Se=pn.isStart,Ie=pn.isEnd;delete We.children;var ze=(0,me.H8)(Xe,_e);return P.createElement(z.Z,(0,y.Z)({},We,ze,{title:et,active:j,data:pn.data,key:Xe,isStart:Se,isEnd:Ie}))}))}):P.createElement(z.Z,(0,y.Z)({domRef:H,className:O,style:Ae},Ke,{active:j}))};ae.displayName="MotionTreeNode";var te=P.forwardRef(ae),B=te;function fe(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],H=se.length,O=ye.length;if(Math.abs(H-O)!==1)return{add:!1,key:null};function Ae(k,_){var T=new Map;k.forEach(function(W){T.set(W,!0)});var ee=_.filter(function(W){return!T.has(W)});return ee.length===1?ee[0]:null}return H<O?{add:!0,key:Ae(se,ye)}:{add:!1,key:Ae(ye,se)}}function Y(se,ye,H){var O=se.findIndex(function(T){return T.key===H}),Ae=se[O+1],k=ye.findIndex(function(T){return T.key===H});if(Ae){var _=ye.findIndex(function(T){return T.key===Ae.key});return ye.slice(k+1,_)}return ye.slice(k+1)}var ce=["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},g=function(){},E="RC_TREE_MOTION_".concat(Math.random()),G={key:E},J={key:E,level:0,index:0,pos:"0",node:G,nodes:[G]},Le={parent:null,children:[],pos:J.pos,data:G,title:null,key:E,isStart:[],isEnd:[]};function ke(se,ye,H,O){return ye===!1||!H?se:se.slice(0,Math.ceil(H/O)+1)}function Fe(se){var ye=se.key,H=se.pos;return(0,me.km)(ye,H)}function Ze(se){for(var ye=String(se.data.key),H=se;H.parent;)H=H.parent,ye="".concat(H.data.key," > ").concat(ye);return ye}var lt=P.forwardRef(function(se,ye){var H=se.prefixCls,O=se.data,Ae=se.selectable,k=se.checkable,_=se.expandedKeys,T=se.selectedKeys,ee=se.checkedKeys,W=se.loadedKeys,j=se.loadingKeys,_e=se.halfCheckedKeys,Ke=se.keyEntities,De=se.disabled,Oe=se.dragging,Ye=se.dragOverNodeKey,Je=se.dropPosition,Ge=se.motion,yt=se.height,xt=se.itemHeight,dt=se.virtual,kt=se.focusable,Tt=se.activeItem,w=se.focused,D=se.tabIndex,bt=se.onKeyDown,he=se.onFocus,Be=se.onBlur,pn=se.onActiveChange,We=se.onListChangeStart,et=se.onListChangeEnd,Xe=(0,Q.Z)(se,ce),Se=P.useRef(null),Ie=P.useRef(null);P.useImperativeHandle(ye,function(){return{scrollTo:function(Lt){Se.current.scrollTo(Lt)},getIndentWidth:function(){return Ie.current.offsetWidth}}});var ze=P.useState(_),qe=(0,ne.Z)(ze,2),be=qe[0],en=qe[1],$e=P.useState(O),bn=(0,ne.Z)($e,2),Cn=bn[0],jt=bn[1],Jt=P.useState(O),wt=(0,ne.Z)(Jt,2),Pt=wt[0],Ve=wt[1],At=P.useState([]),St=(0,ne.Z)(At,2),Ue=St[0],Ce=St[1],mt=P.useState(null),pt=(0,ne.Z)(mt,2),Dt=pt[0],zt=pt[1],tn=P.useRef(O);tn.current=O;function Ht(){var Mt=tn.current;jt(Mt),Ve(Mt),Ce([]),zt(null),et()}(0,b.Z)(function(){en(_);var Mt=fe(be,_);if(Mt.key!==null)if(Mt.add){var Lt=Cn.findIndex(function(Nn){var rn=Nn.key;return rn===Mt.key}),un=ke(Y(Cn,O,Mt.key),dt,yt,xt),ln=Cn.slice();ln.splice(Lt+1,0,Le),Ve(ln),Ce(un),zt("show")}else{var hn=O.findIndex(function(Nn){var rn=Nn.key;return rn===Mt.key}),An=ke(Y(O,Cn,Mt.key),dt,yt,xt),tr=O.slice();tr.splice(hn+1,0,Le),Ve(tr),Ce(An),zt("hide")}else Cn!==O&&(jt(O),Ve(O))},[_,O]),P.useEffect(function(){Oe||Ht()},[Oe]);var sn=Ge?Pt:O,dn={expandedKeys:_,selectedKeys:T,loadedKeys:W,loadingKeys:j,checkedKeys:ee,halfCheckedKeys:_e,dragOverNodeKey:Ye,dropPosition:Je,keyEntities:Ke};return P.createElement(P.Fragment,null,w&&Tt&&P.createElement("span",{style:ie,"aria-live":"assertive"},Ze(Tt)),P.createElement("div",null,P.createElement("input",{style:ie,disabled:kt===!1||De,tabIndex:kt!==!1?D:null,onKeyDown:bt,onFocus:he,onBlur:Be,value:"",onChange:g,"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:Ie,className:"".concat(H,"-indent-unit")}))),P.createElement(R.Z,(0,y.Z)({},Xe,{data:sn,itemKey:Fe,height:yt,fullHeight:!1,virtual:dt,itemHeight:xt,prefixCls:"".concat(H,"-list"),ref:Se,onVisibleChange:function(Lt,un){var ln=new Set(Lt),hn=un.filter(function(An){return!ln.has(An)});hn.some(function(An){return Fe(An)===E})&&Ht()}}),function(Mt){var Lt=Mt.pos,un=(0,y.Z)({},(V(Mt.data),Mt.data)),ln=Mt.title,hn=Mt.key,An=Mt.isStart,tr=Mt.isEnd,Nn=(0,me.km)(hn,Lt);delete un.key,delete un.children;var rn=(0,me.H8)(Nn,dn);return P.createElement(B,(0,y.Z)({},un,rn,{title:ln,active:!!Tt&&hn===Tt.key,pos:Lt,data:Mt.data,isStart:An,isEnd:tr,motion:Ge,motionNodes:hn===E?Ue:null,motionType:Dt,onMotionStart:We,onMotionEnd:Ht,treeNodeRequiredProps:dn,onMouseMove:function(){pn(null)}}))}))});lt.displayName="NodeList";var ut=lt,it=f(35654),Ut=f(90782),qt=f(67841),an=10,Ot=function(se){(0,a.Z)(H,se);var ye=(0,I.Z)(H);function H(){var O;(0,q.Z)(this,H);for(var Ae=arguments.length,k=new Array(Ae),_=0;_<Ae;_++)k[_]=arguments[_];return O=ye.call.apply(ye,[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,ee){var W=O.state,j=W.expandedKeys,_e=W.keyEntities,Ke=O.props.onDragStart,De=ee.props.eventKey;O.dragNode=ee,O.dragStartMousePosition={x:T.clientX,y:T.clientY};var Oe=(0,it._5)(j,De);O.setState({draggingNodeKey:De,dragChildrenKeys:(0,it.wA)(De,_e),indent:O.listRef.current.getIndentWidth()}),O.setExpandedKeys(Oe),window.addEventListener("dragend",O.onWindowDragEnd),Ke==null||Ke({event:T,node:(0,me.F)(ee.props)})},O.onNodeDragEnter=function(T,ee){var W=O.state,j=W.expandedKeys,_e=W.keyEntities,Ke=W.dragChildrenKeys,De=W.flattenNodes,Oe=W.indent,Ye=O.props,Je=Ye.onDragEnter,Ge=Ye.onExpand,yt=Ye.allowDrop,xt=Ye.direction,dt=ee.props,kt=dt.pos,Tt=dt.eventKey,w=(0,xe.Z)(O),D=w.dragNode;if(O.currentMouseOverDroppableNodeKey!==Tt&&(O.currentMouseOverDroppableNodeKey=Tt),!D){O.resetDragState();return}var bt=(0,it.OM)(T,D,ee,Oe,O.dragStartMousePosition,yt,De,_e,j,xt),he=bt.dropPosition,Be=bt.dropLevelOffset,pn=bt.dropTargetKey,We=bt.dropContainerKey,et=bt.dropTargetPos,Xe=bt.dropAllowed,Se=bt.dragOverNodeKey;if(Ke.indexOf(pn)!==-1||!Xe){O.resetDragState();return}if(O.delayedDragEnterLogic||(O.delayedDragEnterLogic={}),Object.keys(O.delayedDragEnterLogic).forEach(function(Ie){clearTimeout(O.delayedDragEnterLogic[Ie])}),D.props.eventKey!==ee.props.eventKey&&(T.persist(),O.delayedDragEnterLogic[kt]=window.setTimeout(function(){if(O.state.draggingNodeKey!==null){var Ie=(0,$.Z)(j),ze=(0,qt.Z)(_e,ee.props.eventKey);ze&&(ze.children||[]).length&&(Ie=(0,it.L0)(j,ee.props.eventKey)),"expandedKeys"in O.props||O.setExpandedKeys(Ie),Ge==null||Ge(Ie,{node:(0,me.F)(ee.props),expanded:!0,nativeEvent:T.nativeEvent})}},800)),D.props.eventKey===pn&&Be===0){O.resetDragState();return}O.setState({dragOverNodeKey:Se,dropPosition:he,dropLevelOffset:Be,dropTargetKey:pn,dropContainerKey:We,dropTargetPos:et,dropAllowed:Xe}),Je==null||Je({event:T,node:(0,me.F)(ee.props),expandedKeys:j})},O.onNodeDragOver=function(T,ee){var W=O.state,j=W.dragChildrenKeys,_e=W.flattenNodes,Ke=W.keyEntities,De=W.expandedKeys,Oe=W.indent,Ye=O.props,Je=Ye.onDragOver,Ge=Ye.allowDrop,yt=Ye.direction,xt=(0,xe.Z)(O),dt=xt.dragNode;if(dt){var kt=(0,it.OM)(T,dt,ee,Oe,O.dragStartMousePosition,Ge,_e,Ke,De,yt),Tt=kt.dropPosition,w=kt.dropLevelOffset,D=kt.dropTargetKey,bt=kt.dropContainerKey,he=kt.dropAllowed,Be=kt.dropTargetPos,pn=kt.dragOverNodeKey;j.indexOf(D)!==-1||!he||(dt.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():Tt===O.state.dropPosition&&w===O.state.dropLevelOffset&&D===O.state.dropTargetKey&&bt===O.state.dropContainerKey&&Be===O.state.dropTargetPos&&he===O.state.dropAllowed&&pn===O.state.dragOverNodeKey||O.setState({dropPosition:Tt,dropLevelOffset:w,dropTargetKey:D,dropContainerKey:bt,dropTargetPos:Be,dropAllowed:he,dragOverNodeKey:pn}),Je==null||Je({event:T,node:(0,me.F)(ee.props)}))}},O.onNodeDragLeave=function(T,ee){O.currentMouseOverDroppableNodeKey===ee.props.eventKey&&!T.currentTarget.contains(T.relatedTarget)&&(O.resetDragState(),O.currentMouseOverDroppableNodeKey=null);var W=O.props.onDragLeave;W==null||W({event:T,node:(0,me.F)(ee.props)})},O.onWindowDragEnd=function(T){O.onNodeDragEnd(T,null,!0),window.removeEventListener("dragend",O.onWindowDragEnd)},O.onNodeDragEnd=function(T,ee){var W=O.props.onDragEnd;O.setState({dragOverNodeKey:null}),O.cleanDragState(),W==null||W({event:T,node:(0,me.F)(ee.props)}),O.dragNode=null,window.removeEventListener("dragend",O.onWindowDragEnd)},O.onNodeDrop=function(T,ee){var W,j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,_e=O.state,Ke=_e.dragChildrenKeys,De=_e.dropPosition,Oe=_e.dropTargetKey,Ye=_e.dropTargetPos,Je=_e.dropAllowed;if(Je){var Ge=O.props.onDrop;if(O.setState({dragOverNodeKey:null}),O.cleanDragState(),Oe!==null){var yt=(0,Ee.Z)((0,Ee.Z)({},(0,me.H8)(Oe,O.getTreeNodeRequiredProps())),{},{active:((W=O.getActiveItem())===null||W===void 0?void 0:W.key)===Oe,data:(0,qt.Z)(O.state.keyEntities,Oe).node}),xt=Ke.indexOf(Oe)!==-1;(0,m.ZP)(!xt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var dt=(0,it.yx)(Ye),kt={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:De!==0,dropPosition:De+Number(dt[dt.length-1])};j||Ge==null||Ge(kt),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,ee){var W=O.state,j=W.expandedKeys,_e=W.flattenNodes,Ke=ee.expanded,De=ee.key,Oe=ee.isLeaf;if(!(Oe||T.shiftKey||T.metaKey||T.ctrlKey)){var Ye=_e.filter(function(Ge){return Ge.key===De})[0],Je=(0,me.F)((0,Ee.Z)((0,Ee.Z)({},(0,me.H8)(De,O.getTreeNodeRequiredProps())),{},{data:Ye.data}));O.setExpandedKeys(Ke?(0,it._5)(j,De):(0,it.L0)(j,De)),O.onNodeExpand(T,Je)}},O.onNodeClick=function(T,ee){var W=O.props,j=W.onClick,_e=W.expandAction;_e==="click"&&O.triggerExpandActionExpand(T,ee),j==null||j(T,ee)},O.onNodeDoubleClick=function(T,ee){var W=O.props,j=W.onDoubleClick,_e=W.expandAction;_e==="doubleClick"&&O.triggerExpandActionExpand(T,ee),j==null||j(T,ee)},O.onNodeSelect=function(T,ee){var W=O.state.selectedKeys,j=O.state,_e=j.keyEntities,Ke=j.fieldNames,De=O.props,Oe=De.onSelect,Ye=De.multiple,Je=ee.selected,Ge=ee[Ke.key],yt=!Je;yt?Ye?W=(0,it.L0)(W,Ge):W=[Ge]:W=(0,it._5)(W,Ge);var xt=W.map(function(dt){var kt=(0,qt.Z)(_e,dt);return kt?kt.node:null}).filter(function(dt){return dt});O.setUncontrolledState({selectedKeys:W}),Oe==null||Oe(W,{event:"select",selected:yt,node:ee,selectedNodes:xt,nativeEvent:T.nativeEvent})},O.onNodeCheck=function(T,ee,W){var j=O.state,_e=j.keyEntities,Ke=j.checkedKeys,De=j.halfCheckedKeys,Oe=O.props,Ye=Oe.checkStrictly,Je=Oe.onCheck,Ge=ee.key,yt,xt={event:"check",node:ee,checked:W,nativeEvent:T.nativeEvent};if(Ye){var dt=W?(0,it.L0)(Ke,Ge):(0,it._5)(Ke,Ge),kt=(0,it._5)(De,Ge);yt={checked:dt,halfChecked:kt},xt.checkedNodes=dt.map(function(Be){return(0,qt.Z)(_e,Be)}).filter(function(Be){return Be}).map(function(Be){return Be.node}),O.setUncontrolledState({checkedKeys:dt})}else{var Tt=(0,Ut.S)([].concat((0,$.Z)(Ke),[Ge]),!0,_e),w=Tt.checkedKeys,D=Tt.halfCheckedKeys;if(!W){var bt=new Set(w);bt.delete(Ge);var he=(0,Ut.S)(Array.from(bt),{checked:!1,halfCheckedKeys:D},_e);w=he.checkedKeys,D=he.halfCheckedKeys}yt=w,xt.checkedNodes=[],xt.checkedNodesPositions=[],xt.halfCheckedKeys=D,w.forEach(function(Be){var pn=(0,qt.Z)(_e,Be);if(pn){var We=pn.node,et=pn.pos;xt.checkedNodes.push(We),xt.checkedNodesPositions.push({node:We,pos:et})}}),O.setUncontrolledState({checkedKeys:w},!1,{halfCheckedKeys:D})}Je==null||Je(yt,xt)},O.onNodeLoad=function(T){var ee=T.key,W=new Promise(function(j,_e){O.setState(function(Ke){var De=Ke.loadedKeys,Oe=De===void 0?[]:De,Ye=Ke.loadingKeys,Je=Ye===void 0?[]:Ye,Ge=O.props,yt=Ge.loadData,xt=Ge.onLoad;if(!yt||Oe.indexOf(ee)!==-1||Je.indexOf(ee)!==-1)return null;var dt=yt(T);return dt.then(function(){var kt=O.state.loadedKeys,Tt=(0,it.L0)(kt,ee);xt==null||xt(Tt,{event:"load",node:T}),O.setUncontrolledState({loadedKeys:Tt}),O.setState(function(w){return{loadingKeys:(0,it._5)(w.loadingKeys,ee)}}),j()}).catch(function(kt){if(O.setState(function(w){return{loadingKeys:(0,it._5)(w.loadingKeys,ee)}}),O.loadingRetryTimes[ee]=(O.loadingRetryTimes[ee]||0)+1,O.loadingRetryTimes[ee]>=an){var Tt=O.state.loadedKeys;(0,m.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),O.setUncontrolledState({loadedKeys:(0,it.L0)(Tt,ee)}),j()}_e(kt)}),{loadingKeys:(0,it.L0)(Je,ee)}})});return W.catch(function(){}),W},O.onNodeMouseEnter=function(T,ee){var W=O.props.onMouseEnter;W==null||W({event:T,node:ee})},O.onNodeMouseLeave=function(T,ee){var W=O.props.onMouseLeave;W==null||W({event:T,node:ee})},O.onNodeContextMenu=function(T,ee){var W=O.props.onRightClick;W&&(T.preventDefault(),W({event:T,node:ee}))},O.onFocus=function(){var T=O.props.onFocus;O.setState({focused:!0});for(var ee=arguments.length,W=new Array(ee),j=0;j<ee;j++)W[j]=arguments[j];T==null||T.apply(void 0,W)},O.onBlur=function(){var T=O.props.onBlur;O.setState({focused:!1}),O.onActiveChange(null);for(var ee=arguments.length,W=new Array(ee),j=0;j<ee;j++)W[j]=arguments[j];T==null||T.apply(void 0,W)},O.getTreeNodeRequiredProps=function(){var T=O.state,ee=T.expandedKeys,W=T.selectedKeys,j=T.loadedKeys,_e=T.loadingKeys,Ke=T.checkedKeys,De=T.halfCheckedKeys,Oe=T.dragOverNodeKey,Ye=T.dropPosition,Je=T.keyEntities;return{expandedKeys:ee||[],selectedKeys:W||[],loadedKeys:j||[],loadingKeys:_e||[],checkedKeys:Ke||[],halfCheckedKeys:De||[],dragOverNodeKey:Oe,dropPosition:Ye,keyEntities:Je}},O.setExpandedKeys=function(T){var ee=O.state,W=ee.treeData,j=ee.fieldNames,_e=(0,me.oH)(W,T,j);O.setUncontrolledState({expandedKeys:T,flattenNodes:_e},!0)},O.onNodeExpand=function(T,ee){var W=O.state.expandedKeys,j=O.state,_e=j.listChanging,Ke=j.fieldNames,De=O.props,Oe=De.onExpand,Ye=De.loadData,Je=ee.expanded,Ge=ee[Ke.key];if(!_e){var yt=W.indexOf(Ge),xt=!Je;if((0,m.ZP)(Je&&yt!==-1||!Je&&yt===-1,"Expand state not sync with index check"),xt?W=(0,it.L0)(W,Ge):W=(0,it._5)(W,Ge),O.setExpandedKeys(W),Oe==null||Oe(W,{node:ee,expanded:xt,nativeEvent:T.nativeEvent}),xt&&Ye){var dt=O.onNodeLoad(ee);dt&&dt.then(function(){var kt=(0,me.oH)(O.state.treeData,W,Ke);O.setUncontrolledState({flattenNodes:kt})}).catch(function(){var kt=O.state.expandedKeys,Tt=(0,it._5)(kt,Ge);O.setExpandedKeys(Tt)})}}},O.onListChangeStart=function(){O.setUncontrolledState({listChanging:!0})},O.onListChangeEnd=function(){setTimeout(function(){O.setUncontrolledState({listChanging:!1})})},O.onActiveChange=function(T){var ee=O.state.activeKey,W=O.props.onActiveChange;ee!==T&&(O.setState({activeKey:T}),T!==null&&O.scrollTo({key:T}),W==null||W(T))},O.getActiveItem=function(){var T=O.state,ee=T.activeKey,W=T.flattenNodes;return ee===null?null:W.find(function(j){var _e=j.key;return _e===ee})||null},O.offsetActiveKey=function(T){var ee=O.state,W=ee.flattenNodes,j=ee.activeKey,_e=W.findIndex(function(Oe){var Ye=Oe.key;return Ye===j});_e===-1&&T<0&&(_e=W.length),_e=(_e+T+W.length)%W.length;var Ke=W[_e];if(Ke){var De=Ke.key;O.onActiveChange(De)}else O.onActiveChange(null)},O.onKeyDown=function(T){var ee=O.state,W=ee.activeKey,j=ee.expandedKeys,_e=ee.checkedKeys,Ke=ee.fieldNames,De=O.props,Oe=De.onKeyDown,Ye=De.checkable,Je=De.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 Ge=O.getActiveItem();if(Ge&&Ge.data){var yt=O.getTreeNodeRequiredProps(),xt=Ge.data.isLeaf===!1||!!(Ge.data[Ke.children]||[]).length,dt=(0,me.F)((0,Ee.Z)((0,Ee.Z)({},(0,me.H8)(W,yt)),{},{data:Ge.data,active:!0}));switch(T.which){case u.Z.LEFT:{xt&&j.includes(W)?O.onNodeExpand({},dt):Ge.parent&&O.onActiveChange(Ge.parent.key),T.preventDefault();break}case u.Z.RIGHT:{xt&&!j.includes(W)?O.onNodeExpand({},dt):Ge.children&&Ge.children.length&&O.onActiveChange(Ge.children[0].key),T.preventDefault();break}case u.Z.ENTER:case u.Z.SPACE:{Ye&&!dt.disabled&&dt.checkable!==!1&&!dt.disableCheckbox?O.onNodeCheck({},dt,!_e.includes(W)):!Ye&&Je&&!dt.disabled&&dt.selectable!==!1&&O.onNodeSelect({},dt);break}}}Oe==null||Oe(T)},O.setUncontrolledState=function(T){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!O.destroyed){var j=!1,_e=!0,Ke={};Object.keys(T).forEach(function(De){if(De in O.props){_e=!1;return}j=!0,Ke[De]=T[De]}),j&&(!ee||_e)&&O.setState((0,Ee.Z)((0,Ee.Z)({},Ke),W))}},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 Ae=this.props.activeKey;Ae!==void 0&&Ae!==this.state.activeKey&&(this.setState({activeKey:Ae}),Ae!==null&&this.scrollTo({key:Ae}))}},{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 Ae,k=this.state,_=k.focused,T=k.flattenNodes,ee=k.keyEntities,W=k.draggingNodeKey,j=k.activeKey,_e=k.dropLevelOffset,Ke=k.dropContainerKey,De=k.dropTargetKey,Oe=k.dropPosition,Ye=k.dragOverNodeKey,Je=k.indent,Ge=this.props,yt=Ge.prefixCls,xt=Ge.className,dt=Ge.style,kt=Ge.showLine,Tt=Ge.focusable,w=Ge.tabIndex,D=w===void 0?0:w,bt=Ge.selectable,he=Ge.showIcon,Be=Ge.icon,pn=Ge.switcherIcon,We=Ge.draggable,et=Ge.checkable,Xe=Ge.checkStrictly,Se=Ge.disabled,Ie=Ge.motion,ze=Ge.loadData,qe=Ge.filterTreeNode,be=Ge.height,en=Ge.itemHeight,$e=Ge.virtual,bn=Ge.titleRender,Cn=Ge.dropIndicatorRender,jt=Ge.onContextMenu,Jt=Ge.onScroll,wt=Ge.direction,Pt=Ge.rootClassName,Ve=Ge.rootStyle,At=(0,x.Z)(this.props,{aria:!0,data:!0}),St;return We&&((0,X.Z)(We)==="object"?St=We:typeof We=="function"?St={nodeDraggable:We}:St={}),P.createElement(ue.k.Provider,{value:{prefixCls:yt,selectable:bt,showIcon:he,icon:Be,switcherIcon:pn,draggable:St,draggingNodeKey:W,checkable:et,checkStrictly:Xe,disabled:Se,keyEntities:ee,dropLevelOffset:_e,dropContainerKey:Ke,dropTargetKey:De,dropPosition:Oe,dragOverNodeKey:Ye,indent:Je,direction:wt,dropIndicatorRender:Cn,loadData:ze,filterTreeNode:qe,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,xt,Pt,(Ae={},(0,L.Z)(Ae,"".concat(yt,"-show-line"),kt),(0,L.Z)(Ae,"".concat(yt,"-focused"),_),(0,L.Z)(Ae,"".concat(yt,"-active-focused"),j!==null),Ae)),style:Ve},P.createElement(ut,(0,y.Z)({ref:this.listRef,prefixCls:yt,style:dt,data:T,disabled:Se,selectable:bt,checkable:!!et,motion:Ie,dragging:W!==null,height:be,itemHeight:en,virtual:$e,focusable:Tt,focused:_,tabIndex:D,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:jt,onScroll:Jt},this.getTreeNodeRequiredProps(),At))))}}],[{key:"getDerivedStateFromProps",value:function(Ae,k){var _=k.prevProps,T={prevProps:Ae};function ee(Tt){return!_&&Tt in Ae||_&&_[Tt]!==Ae[Tt]}var W,j=k.fieldNames;if(ee("fieldNames")&&(j=(0,me.w$)(Ae.fieldNames),T.fieldNames=j),ee("treeData")?W=Ae.treeData:ee("children")&&((0,m.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),W=(0,me.zn)(Ae.children)),W){T.treeData=W;var _e=(0,me.I8)(W,{fieldNames:j});T.keyEntities=(0,Ee.Z)((0,L.Z)({},E,J),_e.keyEntities)}var Ke=T.keyEntities||k.keyEntities;if(ee("expandedKeys")||_&&ee("autoExpandParent"))T.expandedKeys=Ae.autoExpandParent||!_&&Ae.defaultExpandParent?(0,it.r7)(Ae.expandedKeys,Ke):Ae.expandedKeys;else if(!_&&Ae.defaultExpandAll){var De=(0,Ee.Z)({},Ke);delete De[E],T.expandedKeys=Object.keys(De).map(function(Tt){return De[Tt].key})}else!_&&Ae.defaultExpandedKeys&&(T.expandedKeys=Ae.autoExpandParent||Ae.defaultExpandParent?(0,it.r7)(Ae.defaultExpandedKeys,Ke):Ae.defaultExpandedKeys);if(T.expandedKeys||delete T.expandedKeys,W||T.expandedKeys){var Oe=(0,me.oH)(W||k.treeData,T.expandedKeys||k.expandedKeys,j);T.flattenNodes=Oe}if(Ae.selectable&&(ee("selectedKeys")?T.selectedKeys=(0,it.BT)(Ae.selectedKeys,Ae):!_&&Ae.defaultSelectedKeys&&(T.selectedKeys=(0,it.BT)(Ae.defaultSelectedKeys,Ae))),Ae.checkable){var Ye;if(ee("checkedKeys")?Ye=(0,it.E6)(Ae.checkedKeys)||{}:!_&&Ae.defaultCheckedKeys?Ye=(0,it.E6)(Ae.defaultCheckedKeys)||{}:W&&(Ye=(0,it.E6)(Ae.checkedKeys)||{checkedKeys:k.checkedKeys,halfCheckedKeys:k.halfCheckedKeys}),Ye){var Je=Ye,Ge=Je.checkedKeys,yt=Ge===void 0?[]:Ge,xt=Je.halfCheckedKeys,dt=xt===void 0?[]:xt;if(!Ae.checkStrictly){var kt=(0,Ut.S)(yt,!0,Ke);yt=kt.checkedKeys,dt=kt.halfCheckedKeys}T.checkedKeys=yt,T.halfCheckedKeys=dt}}return ee("loadedKeys")&&(T.loadedKeys=Ae.loadedKeys),T}}]),H}(P.Component);Ot.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:U,allowDrop:function(){return!0},expandAction:!1},Ot.TreeNode=z.Z;var ot=Ot,_t=ot},35654:function(nn,nt,f){"use strict";f.d(nt,{BT:function(){return P},E6:function(){return V},L0:function(){return I},OM:function(){return m},_5:function(){return a},r7:function(){return ne},wA:function(){return S},yx:function(){return K}});var y=f(19127),L=f(20135),X=f(48736),Ee=f(59301),$=f(39417),q=f(67841),C=f(71430),xe=null;function a(Q,b){if(!Q)return[];var R=Q.slice(),Z=R.indexOf(b);return Z>=0&&R.splice(Z,1),R}function I(Q,b){var R=(Q||[]).slice();return R.indexOf(b)===-1&&R.push(b),R}function K(Q){return Q.split("-")}function S(Q,b){var R=[],Z=(0,q.Z)(b,Q);function z(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];pe.forEach(function(me){var de=me.key,ae=me.children;R.push(de),z(ae)})}return z(Z.children),R}function u(Q){if(Q.parent){var b=K(Q.pos);return Number(b[b.length-1])===Q.parent.children.length-1}return!1}function x(Q){var b=K(Q.pos);return Number(b[b.length-1])===0}function m(Q,b,R,Z,z,pe,me,de,ae,te){var B,fe=Q.clientX,Y=Q.clientY,ce=Q.target.getBoundingClientRect(),ie=ce.top,g=ce.height,E=(te==="rtl"?-1:1)*(((z==null?void 0:z.x)||0)-fe),G=(E-12)/Z,J=(0,q.Z)(de,R.props.eventKey);if(Y<ie+g/2){var Le=me.findIndex(function(_t){return _t.key===J.key}),ke=Le<=0?0:Le-1,Fe=me[ke].key;J=(0,q.Z)(de,Fe)}var Ze=J.key,lt=J,ut=J.key,it=0,Ut=0;if(!ae.includes(Ze))for(var qt=0;qt<G&&u(J);qt+=1)J=J.parent,Ut+=1;var an=b.props.data,Ot=J.node,ot=!0;return x(J)&&J.level===0&&Y<ie+g/2&&pe({dragNode:an,dropNode:Ot,dropPosition:-1})&&J.key===R.props.eventKey?it=-1:(lt.children||[]).length&&ae.includes(ut)?pe({dragNode:an,dropNode:Ot,dropPosition:0})?it=0:ot=!1:Ut===0?G>-1.5?pe({dragNode:an,dropNode:Ot,dropPosition:1})?it=1:ot=!1:pe({dragNode:an,dropNode:Ot,dropPosition:0})?it=0:pe({dragNode:an,dropNode:Ot,dropPosition:1})?it=1:ot=!1:pe({dragNode:an,dropNode:Ot,dropPosition:1})?it=1:ot=!1,{dropPosition:it,dropLevelOffset:Ut,dropTargetKey:J.key,dropTargetPos:J.pos,dragOverNodeKey:ut,dropContainerKey:it===0?null:((B=J.parent)===null||B===void 0?void 0:B.key)||null,dropAllowed:ot}}function P(Q,b){if(Q){var R=b.multiple;return R?Q.slice():Q.length?[Q[0]]:Q}}var ue=function(b){return b};function U(Q,b){if(!Q)return[];var R=b||{},Z=R.processProps,z=Z===void 0?ue:Z,pe=Array.isArray(Q)?Q:[Q];return pe.map(function(me){var de=me.children,ae=_objectWithoutProperties(me,xe),te=U(de,b);return React.createElement(TreeNode,_extends({key:ae.key},z(ae)),te)})}function V(Q){if(!Q)return null;var b;if(Array.isArray(Q))b={checkedKeys:Q,halfCheckedKeys:void 0};else if((0,L.Z)(Q)==="object")b={checkedKeys:Q.checked||void 0,halfCheckedKeys:Q.halfChecked||void 0};else return(0,X.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return b}function ne(Q,b){var R=new Set;function Z(z){if(!R.has(z)){var pe=(0,q.Z)(b,z);if(pe){R.add(z);var me=pe.parent,de=pe.node;de.disabled||me&&Z(me.key)}}}return(Q||[]).forEach(function(z){Z(z)}),(0,y.Z)(R)}},90782:function(nn,nt,f){"use strict";f.d(nt,{S:function(){return C}});var y=f(48736),L=f(67841);function X(xe,a){var I=new Set;return xe.forEach(function(K){a.has(K)||I.add(K)}),I}function Ee(xe){var a=xe||{},I=a.disabled,K=a.disableCheckbox,S=a.checkable;return!!(I||K)||S===!1}function $(xe,a,I,K){for(var S=new Set(xe),u=new Set,x=0;x<=I;x+=1){var m=a.get(x)||new Set;m.forEach(function(V){var ne=V.key,Q=V.node,b=V.children,R=b===void 0?[]:b;S.has(ne)&&!K(Q)&&R.filter(function(Z){return!K(Z.node)}).forEach(function(Z){S.add(Z.key)})})}for(var P=new Set,ue=I;ue>=0;ue-=1){var U=a.get(ue)||new Set;U.forEach(function(V){var ne=V.parent,Q=V.node;if(!(K(Q)||!V.parent||P.has(V.parent.key))){if(K(V.parent.node)){P.add(ne.key);return}var b=!0,R=!1;(ne.children||[]).filter(function(Z){return!K(Z.node)}).forEach(function(Z){var z=Z.key,pe=S.has(z);b&&!pe&&(b=!1),!R&&(pe||u.has(z))&&(R=!0)}),b&&S.add(ne.key),R&&u.add(ne.key),P.add(ne.key)}})}return{checkedKeys:Array.from(S),halfCheckedKeys:Array.from(X(u,S))}}function q(xe,a,I,K,S){for(var u=new Set(xe),x=new Set(a),m=0;m<=K;m+=1){var P=I.get(m)||new Set;P.forEach(function(ne){var Q=ne.key,b=ne.node,R=ne.children,Z=R===void 0?[]:R;!u.has(Q)&&!x.has(Q)&&!S(b)&&Z.filter(function(z){return!S(z.node)}).forEach(function(z){u.delete(z.key)})})}x=new Set;for(var ue=new Set,U=K;U>=0;U-=1){var V=I.get(U)||new Set;V.forEach(function(ne){var Q=ne.parent,b=ne.node;if(!(S(b)||!ne.parent||ue.has(ne.parent.key))){if(S(ne.parent.node)){ue.add(Q.key);return}var R=!0,Z=!1;(Q.children||[]).filter(function(z){return!S(z.node)}).forEach(function(z){var pe=z.key,me=u.has(pe);R&&!me&&(R=!1),!Z&&(me||x.has(pe))&&(Z=!0)}),R||u.delete(Q.key),Z&&x.add(Q.key),ue.add(Q.key)}})}return{checkedKeys:Array.from(u),halfCheckedKeys:Array.from(X(x,u))}}function C(xe,a,I,K){var S=[],u;K?u=K:u=Ee;var x=new Set(xe.filter(function(U){var V=!!(0,L.Z)(I,U);return V||S.push(U),V})),m=new Map,P=0;Object.keys(I).forEach(function(U){var V=I[U],ne=V.level,Q=m.get(ne);Q||(Q=new Set,m.set(ne,Q)),Q.add(V),P=Math.max(P,ne)}),(0,y.ZP)(!S.length,"Tree missing follow keys: ".concat(S.slice(0,100).map(function(U){return"'".concat(U,"'")}).join(", ")));var ue;return a===!0?ue=$(x,m,P,u):ue=q(x,a.halfCheckedKeys,m,P,u),ue}},67841:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return y}});function y(L,X){return L[X]}},71430:function(nn,nt,f){"use strict";f.d(nt,{F:function(){return ne},H8:function(){return V},I8:function(){return U},km:function(){return S},oH:function(){return P},w$:function(){return u},zn:function(){return m}});var y=f(20135),L=f(19127),X=f(44127),Ee=f(6620),$=f(11592),q=f(2738),C=f(48736),xe=f(67841),a=["children"];function I(Q,b){return"".concat(Q,"-").concat(b)}function K(Q){return Q&&Q.type&&Q.type.isTreeNode}function S(Q,b){return Q!=null?Q:b}function u(Q){var b=Q||{},R=b.title,Z=b._title,z=b.key,pe=b.children,me=R||"title";return{title:me,_title:Z||[me],key:z||"key",children:pe||"children"}}function x(Q,b){var R=new Map;function Z(z){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(z||[]).forEach(function(me){var de=me[b.key],ae=me[b.children];warning(de!=null,"Tree node must have a certain key: [".concat(pe).concat(de,"]"));var te=String(de);warning(!R.has(te)||de===null||de===void 0,"Same 'key' exist in the Tree: ".concat(te)),R.set(te,!0),Z(ae,"".concat(pe).concat(te," > "))})}Z(Q)}function m(Q){function b(R){var Z=(0,$.Z)(R);return Z.map(function(z){if(!K(z))return(0,C.ZP)(!z,"Tree/TreeNode can only accept TreeNode as children."),null;var pe=z.key,me=z.props,de=me.children,ae=(0,Ee.Z)(me,a),te=(0,X.Z)({key:pe},ae),B=b(de);return B.length&&(te.children=B),te}).filter(function(z){return z})}return b(Q)}function P(Q,b,R){var Z=u(R),z=Z._title,pe=Z.key,me=Z.children,de=new Set(b===!0?[]:b),ae=[];function te(B){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return B.map(function(Y,ce){for(var ie=I(fe?fe.pos:"0",ce),g=S(Y[pe],ie),E,G=0;G<z.length;G+=1){var J=z[G];if(Y[J]!==void 0){E=Y[J];break}}var Le=(0,X.Z)((0,X.Z)({},(0,q.Z)(Y,[].concat((0,L.Z)(z),[pe,me]))),{},{title:E,key:g,parent:fe,pos:ie,children:null,data:Y,isStart:[].concat((0,L.Z)(fe?fe.isStart:[]),[ce===0]),isEnd:[].concat((0,L.Z)(fe?fe.isEnd:[]),[ce===B.length-1])});return ae.push(Le),b===!0||de.has(g)?Le.children=te(Y[me]||[],Le):Le.children=[],Le})}return te(Q),ae}function ue(Q,b,R){var Z={};(0,y.Z)(R)==="object"?Z=R:Z={externalGetKey:R},Z=Z||{};var z=Z,pe=z.childrenPropName,me=z.externalGetKey,de=z.fieldNames,ae=u(de),te=ae.key,B=ae.children,fe=pe||B,Y;me?typeof me=="string"?Y=function(g){return g[me]}:typeof me=="function"&&(Y=function(g){return me(g)}):Y=function(g,E){return S(g[te],E)};function ce(ie,g,E,G){var J=ie?ie[fe]:Q,Le=ie?I(E.pos,g):"0",ke=ie?[].concat((0,L.Z)(G),[ie]):[];if(ie){var Fe=Y(ie,Le),Ze={node:ie,index:g,pos:Le,key:Fe,parentPos:E.node?E.pos:null,level:E.level+1,nodes:ke};b(Ze)}J&&J.forEach(function(lt,ut){ce(lt,ut,{node:ie,pos:Le,level:E?E.level+1:-1},ke)})}ce(null)}function U(Q){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R=b.initWrapper,Z=b.processEntity,z=b.onProcessFinished,pe=b.externalGetKey,me=b.childrenPropName,de=b.fieldNames,ae=arguments.length>2?arguments[2]:void 0,te=pe||ae,B={},fe={},Y={posEntities:B,keyEntities:fe};return R&&(Y=R(Y)||Y),ue(Q,function(ce){var ie=ce.node,g=ce.index,E=ce.pos,G=ce.key,J=ce.parentPos,Le=ce.level,ke=ce.nodes,Fe={node:ie,nodes:ke,index:g,key:G,pos:E,level:Le},Ze=S(G,E);B[E]=Fe,fe[Ze]=Fe,Fe.parent=B[J],Fe.parent&&(Fe.parent.children=Fe.parent.children||[],Fe.parent.children.push(Fe)),Z&&Z(Fe,Y)},{externalGetKey:te,childrenPropName:me,fieldNames:de}),z&&z(Y),Y}function V(Q,b){var R=b.expandedKeys,Z=b.selectedKeys,z=b.loadedKeys,pe=b.loadingKeys,me=b.checkedKeys,de=b.halfCheckedKeys,ae=b.dragOverNodeKey,te=b.dropPosition,B=b.keyEntities,fe=(0,xe.Z)(B,Q),Y={eventKey:Q,expanded:R.indexOf(Q)!==-1,selected:Z.indexOf(Q)!==-1,loaded:z.indexOf(Q)!==-1,loading:pe.indexOf(Q)!==-1,checked:me.indexOf(Q)!==-1,halfChecked:de.indexOf(Q)!==-1,pos:String(fe?fe.pos:""),dragOver:ae===Q&&te===0,dragOverGapTop:ae===Q&&te===-1,dragOverGapBottom:ae===Q&&te===1};return Y}function ne(Q){var b=Q.data,R=Q.expanded,Z=Q.selected,z=Q.checked,pe=Q.loaded,me=Q.loading,de=Q.halfChecked,ae=Q.dragOver,te=Q.dragOverGapTop,B=Q.dragOverGapBottom,fe=Q.pos,Y=Q.active,ce=Q.eventKey,ie=(0,X.Z)((0,X.Z)({},b),{},{expanded:R,selected:Z,checked:z,loaded:pe,loading:me,halfChecked:de,dragOver:ae,dragOverGapTop:te,dragOverGapBottom:B,pos:fe,active:Y,key:ce});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`."),Q}}),ie}},8224:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return L}});var y=f(4676);function L(X,Ee,$,q){var C=y.unstable_batchedUpdates?function(a){y.unstable_batchedUpdates($,a)}:$;return X!=null&&X.addEventListener&&X.addEventListener(Ee,C,q),{remove:function(){X!=null&&X.removeEventListener&&X.removeEventListener(Ee,C,q)}}}},55468:function(nn,nt,f){"use strict";f.d(nt,{g1:function(){return K},os:function(){return u}});var y=/margin|padding|width|height|max|min|offset/,L={left:!0,top:!0},X={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=X[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=X[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 U in m)m.hasOwnProperty(U)&&C(x,U,m[U]);return Ee(x)}function xe(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 K(){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)}}},24514:function(nn,nt,f){"use strict";f.d(nt,{G:function(){return Ee}});var y=f(47273),L=function(q){if((0,y.Z)()&&window.document.documentElement){var C=Array.isArray(q)?q:[q],xe=window.document.documentElement;return C.some(function(a){return a in xe.style})}return!1},X=function(q,C){if(!L(q))return!1;var xe=document.createElement("div"),a=xe.style[q];return xe.style[q]=C,xe.style[q]!==a};function Ee($,q){return!Array.isArray($)&&q!==void 0?X($,q):L($)}},49658:function(nn,nt){"use strict";nt.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))}},24916:function(nn,nt,f){"use strict";f.d(nt,{Z:function(){return Ot}});var y=f(96663),L=f(20135),X=f(44127),Ee=f(90493),$=f(72071),q=f(6620),C=f(92310),xe=f.n(C),a=f(29301),I=f(70425),K=f(34280),S=f(59301),u=f(4676),x=S.forwardRef(function(ot,_t){var se=ot.height,ye=ot.offsetY,H=ot.offsetX,O=ot.children,Ae=ot.prefixCls,k=ot.onInnerResize,_=ot.innerProps,T=ot.rtl,ee=ot.extra,W={},j={display:"flex",flexDirection:"column"};return ye!==void 0&&(W={height:se,position:"relative",overflow:"hidden"},j=(0,X.Z)((0,X.Z)({},j),{},(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({transform:"translateY(".concat(ye,"px)")},T?"marginRight":"marginLeft",-H),"position","absolute"),"left",0),"right",0),"top",0))),S.createElement("div",{style:W},S.createElement(a.Z,{onResize:function(Ke){var De=Ke.offsetHeight;De&&k&&k()}},S.createElement("div",(0,y.Z)({style:j,className:xe()((0,Ee.Z)({},"".concat(Ae,"-holder-inner"),Ae)),ref:_t},_),O,ee)))});x.displayName="Filler";var m=x;function P(ot){var _t=ot.children,se=ot.setRef,ye=S.useCallback(function(H){se(H)},[]);return S.cloneElement(_t,{ref:ye})}function ue(ot,_t,se,ye,H,O,Ae,k){var _=k.getKey;return ot.slice(_t,se+1).map(function(T,ee){var W=_t+ee,j=Ae(T,W,{style:{width:ye},offsetX:H}),_e=_(T);return S.createElement(P,{key:_e,setRef:function(De){return O(T,De)}},j)})}function U(ot,_t,se,ye){var H=se-ot,O=_t-se,Ae=Math.min(H,O)*2;if(ye<=Ae){var k=Math.floor(ye/2);return ye%2?se+k+1:se-k}return H>O?se-(ye-O):se+(ye-H)}function V(ot,_t,se){var ye=ot.length,H=_t.length,O,Ae;if(ye===0&&H===0)return null;ye<H?(O=ot,Ae=_t):(O=_t,Ae=ot);var k={__EMPTY_ITEM__:!0};function _(Ke){return Ke!==void 0?se(Ke):k}for(var T=null,ee=Math.abs(ye-H)!==1,W=0;W<Ae.length;W+=1){var j=_(O[W]),_e=_(Ae[W]);if(j!==_e){T=W,ee=ee||j!==_(Ae[W+1]);break}}return T===null?null:{index:T,multiple:ee}}function ne(ot,_t,se){var ye=S.useState(ot),H=(0,$.Z)(ye,2),O=H[0],Ae=H[1],k=S.useState(null),_=(0,$.Z)(k,2),T=_[0],ee=_[1];return S.useEffect(function(){var W=V(O||[],ot||[],_t);(W==null?void 0:W.index)!==void 0&&(se==null||se(W.index),ee(ot[W.index])),Ae(ot)},[ot]),[T]}var Q=f(16089),b=(typeof navigator=="undefined"?"undefined":(0,L.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),R=b,Z=function(ot,_t,se,ye){var H=(0,S.useRef)(!1),O=(0,S.useRef)(null);function Ae(){clearTimeout(O.current),H.current=!0,O.current=setTimeout(function(){H.current=!1},50)}var k=(0,S.useRef)({top:ot,bottom:_t,left:se,right:ye});return k.current.top=ot,k.current.bottom=_t,k.current.left=se,k.current.right=ye,function(_,T){var ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,W=_?T<0&&k.current.left||T>0&&k.current.right:T<0&&k.current.top||T>0&&k.current.bottom;return ee&&W?(clearTimeout(O.current),H.current=!1):(!W||H.current)&&Ae(),!H.current&&W}};function z(ot,_t,se,ye,H,O,Ae){var k=(0,S.useRef)(0),_=(0,S.useRef)(null),T=(0,S.useRef)(null),ee=(0,S.useRef)(!1),W=Z(_t,se,ye,H);function j(Je,Ge){if(Q.Z.cancel(_.current),!W(!1,Ge)){var yt=Je;if(!yt._virtualHandled)yt._virtualHandled=!0;else return;k.current+=Ge,T.current=Ge,R||yt.preventDefault(),_.current=(0,Q.Z)(function(){var xt=ee.current?10:1;Ae(k.current*xt,!1),k.current=0})}}function _e(Je,Ge){Ae(Ge,!0),R||Je.preventDefault()}var Ke=(0,S.useRef)(null),De=(0,S.useRef)(null);function Oe(Je){if(ot){Q.Z.cancel(De.current),De.current=(0,Q.Z)(function(){Ke.current=null},2);var Ge=Je.deltaX,yt=Je.deltaY,xt=Je.shiftKey,dt=Ge,kt=yt;(Ke.current==="sx"||!Ke.current&&xt&&yt&&!Ge)&&(dt=yt,kt=0,Ke.current="sx");var Tt=Math.abs(dt),w=Math.abs(kt);Ke.current===null&&(Ke.current=O&&Tt>w?"x":"y"),Ke.current==="y"?j(Je,kt):_e(Je,dt)}}function Ye(Je){ot&&(ee.current=Je.detail===T.current)}return[Oe,Ye]}function pe(ot,_t,se,ye){var H=S.useMemo(function(){return[new Map,[]]},[ot,se.id,ye]),O=(0,$.Z)(H,2),Ae=O[0],k=O[1],_=function(ee){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ee,j=Ae.get(ee),_e=Ae.get(W);if(j===void 0||_e===void 0)for(var Ke=ot.length,De=k.length;De<Ke;De+=1){var Oe,Ye=ot[De],Je=_t(Ye);Ae.set(Je,De);var Ge=(Oe=se.get(Je))!==null&&Oe!==void 0?Oe:ye;if(k[De]=(k[De-1]||0)+Ge,Je===ee&&(j=De),Je===W&&(_e=De),j!==void 0&&_e!==void 0)break}return{top:k[j-1]||0,bottom:k[_e]}};return _}var me=f(52884),de=f(95727),ae=function(){function ot(){(0,me.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,de.Z)(ot,[{key:"set",value:function(se,ye){this.maps[se]=ye,this.id+=1,this.diffKeys.add(se)}},{key:"get",value:function(se){return this.maps[se]}},{key:"resetRecord",value:function(){this.diffKeys.clear()}},{key:"getRecord",value:function(){return this.diffKeys}}]),ot}(),te=ae;function B(ot){var _t=parseFloat(ot);return isNaN(_t)?0:_t}function fe(ot,_t,se){var ye=S.useState(0),H=(0,$.Z)(ye,2),O=H[0],Ae=H[1],k=(0,S.useRef)(new Map),_=(0,S.useRef)(new te),T=(0,S.useRef)(0);function ee(){T.current+=1}function W(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;ee();var Ke=function(){var Ye=!1;k.current.forEach(function(Je,Ge){if(Je&&Je.offsetParent){var yt=Je.offsetHeight,xt=getComputedStyle(Je),dt=xt.marginTop,kt=xt.marginBottom,Tt=B(dt),w=B(kt),D=yt+Tt+w;_.current.get(Ge)!==D&&(_.current.set(Ge,D),Ye=!0)}}),Ye&&Ae(function(Je){return Je+1})};if(_e)Ke();else{T.current+=1;var De=T.current;Promise.resolve().then(function(){De===T.current&&Ke()})}}function j(_e,Ke){var De=ot(_e),Oe=k.current.get(De);Ke?(k.current.set(De,Ke),W()):k.current.delete(De),!Oe!=!Ke&&(Ke?_t==null||_t(_e):se==null||se(_e))}return(0,S.useEffect)(function(){return ee},[]),[j,W,_.current,O]}var Y=14/15;function ce(ot,_t,se){var ye=(0,S.useRef)(!1),H=(0,S.useRef)(0),O=(0,S.useRef)(0),Ae=(0,S.useRef)(null),k=(0,S.useRef)(null),_,T=function(_e){if(ye.current){var Ke=Math.ceil(_e.touches[0].pageX),De=Math.ceil(_e.touches[0].pageY),Oe=H.current-Ke,Ye=O.current-De,Je=Math.abs(Oe)>Math.abs(Ye);Je?H.current=Ke:O.current=De;var Ge=se(Je,Je?Oe:Ye,!1,_e);Ge&&_e.preventDefault(),clearInterval(k.current),Ge&&(k.current=setInterval(function(){Je?Oe*=Y:Ye*=Y;var yt=Math.floor(Je?Oe:Ye);(!se(Je,yt,!0)||Math.abs(yt)<=.1)&&clearInterval(k.current)},16))}},ee=function(){ye.current=!1,_()},W=function(_e){_(),_e.touches.length===1&&!ye.current&&(ye.current=!0,H.current=Math.ceil(_e.touches[0].pageX),O.current=Math.ceil(_e.touches[0].pageY),Ae.current=_e.target,Ae.current.addEventListener("touchmove",T,{passive:!1}),Ae.current.addEventListener("touchend",ee,{passive:!0}))};_=function(){Ae.current&&(Ae.current.removeEventListener("touchmove",T),Ae.current.removeEventListener("touchend",ee))},(0,K.Z)(function(){return ot&&_t.current.addEventListener("touchstart",W,{passive:!0}),function(){var j;(j=_t.current)===null||j===void 0||j.removeEventListener("touchstart",W),_(),clearInterval(k.current)}},[ot])}function ie(ot){return Math.floor(Math.pow(ot,.5))}function g(ot,_t){var se="touches"in ot?ot.touches[0]:ot;return se[_t?"pageX":"pageY"]-window[_t?"scrollX":"scrollY"]}function E(ot,_t,se){S.useEffect(function(){var ye=_t.current;if(ot&&ye){var H=!1,O,Ae,k=function(){Q.Z.cancel(O)},_=function j(){k(),O=(0,Q.Z)(function(){se(Ae),j()})},T=function(_e){if(!_e.target.draggable){var Ke=_e;Ke._virtualHandled||(Ke._virtualHandled=!0,H=!0)}},ee=function(){H=!1,k()},W=function(_e){if(H){var Ke=g(_e,!1),De=ye.getBoundingClientRect(),Oe=De.top,Ye=De.bottom;if(Ke<=Oe){var Je=Oe-Ke;Ae=-ie(Je),_()}else if(Ke>=Ye){var Ge=Ke-Ye;Ae=ie(Ge),_()}else k()}};return ye.addEventListener("mousedown",T),ye.ownerDocument.addEventListener("mouseup",ee),ye.ownerDocument.addEventListener("mousemove",W),function(){ye.removeEventListener("mousedown",T),ye.ownerDocument.removeEventListener("mouseup",ee),ye.ownerDocument.removeEventListener("mousemove",W),k()}}},[ot])}var G=10;function J(ot,_t,se,ye,H,O,Ae,k){var _=S.useRef(),T=S.useState(null),ee=(0,$.Z)(T,2),W=ee[0],j=ee[1];return(0,K.Z)(function(){if(W&&W.times<G){if(!ot.current){j(function(Ie){return(0,X.Z)({},Ie)});return}O();var _e=W.targetAlign,Ke=W.originAlign,De=W.index,Oe=W.offset,Ye=ot.current.clientHeight,Je=!1,Ge=_e,yt=null;if(Ye){for(var xt=_e||Ke,dt=0,kt=0,Tt=0,w=Math.min(_t.length-1,De),D=0;D<=w;D+=1){var bt=H(_t[D]);kt=dt;var he=se.get(bt);Tt=kt+(he===void 0?ye:he),dt=Tt}for(var Be=xt==="top"?Oe:Ye-Oe,pn=w;pn>=0;pn-=1){var We=H(_t[pn]),et=se.get(We);if(et===void 0){Je=!0;break}if(Be-=et,Be<=0)break}switch(xt){case"top":yt=kt-Oe;break;case"bottom":yt=Tt-Ye+Oe;break;default:{var Xe=ot.current.scrollTop,Se=Xe+Ye;kt<Xe?Ge="top":Tt>Se&&(Ge="bottom")}}yt!==null&&Ae(yt),yt!==W.lastTop&&(Je=!0)}Je&&j((0,X.Z)((0,X.Z)({},W),{},{times:W.times+1,targetAlign:Ge,lastTop:yt}))}},[W,ot.current]),function(_e){if(_e==null){k();return}if(Q.Z.cancel(_.current),typeof _e=="number")Ae(_e);else if(_e&&(0,L.Z)(_e)==="object"){var Ke,De=_e.align;"index"in _e?Ke=_e.index:Ke=_t.findIndex(function(Je){return H(Je)===_e.key});var Oe=_e.offset,Ye=Oe===void 0?0:Oe;j({times:0,index:Ke,offset:Ye,originAlign:De})}}}var Le=S.forwardRef(function(ot,_t){var se=ot.prefixCls,ye=ot.rtl,H=ot.scrollOffset,O=ot.scrollRange,Ae=ot.onStartMove,k=ot.onStopMove,_=ot.onScroll,T=ot.horizontal,ee=ot.spinSize,W=ot.containerSize,j=ot.style,_e=ot.thumbStyle,Ke=ot.showScrollBar,De=S.useState(!1),Oe=(0,$.Z)(De,2),Ye=Oe[0],Je=Oe[1],Ge=S.useState(null),yt=(0,$.Z)(Ge,2),xt=yt[0],dt=yt[1],kt=S.useState(null),Tt=(0,$.Z)(kt,2),w=Tt[0],D=Tt[1],bt=!ye,he=S.useRef(),Be=S.useRef(),pn=S.useState(Ke),We=(0,$.Z)(pn,2),et=We[0],Xe=We[1],Se=S.useRef(),Ie=function(){Ke===!0||Ke===!1||(clearTimeout(Se.current),Xe(!0),Se.current=setTimeout(function(){Xe(!1)},3e3))},ze=O-W||0,qe=W-ee||0,be=S.useMemo(function(){if(H===0||ze===0)return 0;var Ve=H/ze;return Ve*qe},[H,ze,qe]),en=function(At){At.stopPropagation(),At.preventDefault()},$e=S.useRef({top:be,dragging:Ye,pageY:xt,startTop:w});$e.current={top:be,dragging:Ye,pageY:xt,startTop:w};var bn=function(At){Je(!0),dt(g(At,T)),D($e.current.top),Ae(),At.stopPropagation(),At.preventDefault()};S.useEffect(function(){var Ve=function(Ce){Ce.preventDefault()},At=he.current,St=Be.current;return At.addEventListener("touchstart",Ve,{passive:!1}),St.addEventListener("touchstart",bn,{passive:!1}),function(){At.removeEventListener("touchstart",Ve),St.removeEventListener("touchstart",bn)}},[]);var Cn=S.useRef();Cn.current=ze;var jt=S.useRef();jt.current=qe,S.useEffect(function(){if(Ye){var Ve,At=function(Ce){var mt=$e.current,pt=mt.dragging,Dt=mt.pageY,zt=mt.startTop;Q.Z.cancel(Ve);var tn=he.current.getBoundingClientRect(),Ht=W/(T?tn.width:tn.height);if(pt){var sn=(g(Ce,T)-Dt)*Ht,dn=zt;!bt&&T?dn-=sn:dn+=sn;var Mt=Cn.current,Lt=jt.current,un=Lt?dn/Lt:0,ln=Math.ceil(un*Mt);ln=Math.max(ln,0),ln=Math.min(ln,Mt),Ve=(0,Q.Z)(function(){_(ln,T)})}},St=function(){Je(!1),k()};return window.addEventListener("mousemove",At,{passive:!0}),window.addEventListener("touchmove",At,{passive:!0}),window.addEventListener("mouseup",St,{passive:!0}),window.addEventListener("touchend",St,{passive:!0}),function(){window.removeEventListener("mousemove",At),window.removeEventListener("touchmove",At),window.removeEventListener("mouseup",St),window.removeEventListener("touchend",St),Q.Z.cancel(Ve)}}},[Ye]),S.useEffect(function(){return Ie(),function(){clearTimeout(Se.current)}},[H]),S.useImperativeHandle(_t,function(){return{delayHidden:Ie}});var Jt="".concat(se,"-scrollbar"),wt={position:"absolute",visibility:et?null:"hidden"},Pt={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return T?(wt.height=8,wt.left=0,wt.right=0,wt.bottom=0,Pt.height="100%",Pt.width=ee,bt?Pt.left=be:Pt.right=be):(wt.width=8,wt.top=0,wt.bottom=0,bt?wt.right=0:wt.left=0,Pt.width="100%",Pt.height=ee,Pt.top=be),S.createElement("div",{ref:he,className:xe()(Jt,(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},"".concat(Jt,"-horizontal"),T),"".concat(Jt,"-vertical"),!T),"".concat(Jt,"-visible"),et)),style:(0,X.Z)((0,X.Z)({},wt),j),onMouseDown:en,onMouseMove:Ie},S.createElement("div",{ref:Be,className:xe()("".concat(Jt,"-thumb"),(0,Ee.Z)({},"".concat(Jt,"-thumb-moving"),Ye)),style:(0,X.Z)((0,X.Z)({},Pt),_e),onMouseDown:bn}))}),ke=Le,Fe=20;function Ze(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,_t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,se=ot/_t*ot;return isNaN(se)&&(se=0),se=Math.max(se,Fe),Math.floor(se)}var lt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],ut=[],it={overflowY:"auto",overflowAnchor:"none"};function Ut(ot,_t){var se=ot.prefixCls,ye=se===void 0?"rc-virtual-list":se,H=ot.className,O=ot.height,Ae=ot.itemHeight,k=ot.fullHeight,_=k===void 0?!0:k,T=ot.style,ee=ot.data,W=ot.children,j=ot.itemKey,_e=ot.virtual,Ke=ot.direction,De=ot.scrollWidth,Oe=ot.component,Ye=Oe===void 0?"div":Oe,Je=ot.onScroll,Ge=ot.onVirtualScroll,yt=ot.onVisibleChange,xt=ot.innerProps,dt=ot.extraRender,kt=ot.styles,Tt=ot.showScrollBar,w=Tt===void 0?"optional":Tt,D=(0,q.Z)(ot,lt),bt=S.useCallback(function(Hn){return typeof j=="function"?j(Hn):Hn==null?void 0:Hn[j]},[j]),he=fe(bt,null,null),Be=(0,$.Z)(he,4),pn=Be[0],We=Be[1],et=Be[2],Xe=Be[3],Se=!!(_e!==!1&&O&&Ae),Ie=S.useMemo(function(){return Object.values(et.maps).reduce(function(Hn,Tn){return Hn+Tn},0)},[et.id,et.maps]),ze=Se&&ee&&(Math.max(Ae*ee.length,Ie)>O||!!De),qe=Ke==="rtl",be=xe()(ye,(0,Ee.Z)({},"".concat(ye,"-rtl"),qe),H),en=ee||ut,$e=(0,S.useRef)(),bn=(0,S.useRef)(),Cn=(0,S.useRef)(),jt=(0,S.useState)(0),Jt=(0,$.Z)(jt,2),wt=Jt[0],Pt=Jt[1],Ve=(0,S.useState)(0),At=(0,$.Z)(Ve,2),St=At[0],Ue=At[1],Ce=(0,S.useState)(!1),mt=(0,$.Z)(Ce,2),pt=mt[0],Dt=mt[1],zt=function(){Dt(!0)},tn=function(){Dt(!1)},Ht={getKey:bt};function sn(Hn){Pt(function(Tn){var er;typeof Hn=="function"?er=Hn(Tn):er=Hn;var kr=rr(er);return $e.current.scrollTop=kr,kr})}var dn=(0,S.useRef)({start:0,end:en.length}),Mt=(0,S.useRef)(),Lt=ne(en,bt),un=(0,$.Z)(Lt,1),ln=un[0];Mt.current=ln;var hn=S.useMemo(function(){if(!Se)return{scrollHeight:void 0,start:0,end:en.length-1,offset:void 0};if(!ze){var Hn;return{scrollHeight:((Hn=bn.current)===null||Hn===void 0?void 0:Hn.offsetHeight)||0,start:0,end:en.length-1,offset:void 0}}for(var Tn=0,er,kr,Wr,wi=en.length,jn=0;jn<wi;jn+=1){var $r=en[jn],Vr=bt($r),oi=et.get(Vr),Ti=Tn+(oi===void 0?Ae:oi);Ti>=wt&&er===void 0&&(er=jn,kr=Tn),Ti>wt+O&&Wr===void 0&&(Wr=jn),Tn=Ti}return er===void 0&&(er=0,kr=0,Wr=Math.ceil(O/Ae)),Wr===void 0&&(Wr=en.length-1),Wr=Math.min(Wr+1,en.length-1),{scrollHeight:Tn,start:er,end:Wr,offset:kr}},[ze,Se,wt,en,Xe,O]),An=hn.scrollHeight,tr=hn.start,Nn=hn.end,rn=hn.offset;dn.current.start=tr,dn.current.end=Nn,S.useLayoutEffect(function(){var Hn=et.getRecord();if(Hn.size===1){var Tn=Array.from(Hn)[0],er=en[tr];if(er){var kr=bt(er);if(kr===Tn){var Wr=et.get(Tn),wi=Wr-Ae;sn(function(jn){return jn+wi})}}}et.resetRecord()},[An]);var ht=S.useState({width:0,height:O}),vt=(0,$.Z)(ht,2),It=vt[0],Vt=vt[1],Nt=function(Tn){Vt({width:Tn.offsetWidth,height:Tn.offsetHeight})},$t=(0,S.useRef)(),Zt=(0,S.useRef)(),vn=S.useMemo(function(){return Ze(It.width,De)},[It.width,De]),_n=S.useMemo(function(){return Ze(It.height,An)},[It.height,An]),kn=An-O,qn=(0,S.useRef)(kn);qn.current=kn;function rr(Hn){var Tn=Hn;return Number.isNaN(qn.current)||(Tn=Math.min(Tn,qn.current)),Tn=Math.max(Tn,0),Tn}var sr=wt<=0,wn=wt>=kn,En=St<=0,gr=St>=De,$n=Z(sr,wn,En,gr),Cr=function(){return{x:qe?-St:St,y:wt}},Xn=(0,S.useRef)(Cr()),lr=(0,I.useEvent)(function(Hn){if(Ge){var Tn=(0,X.Z)((0,X.Z)({},Cr()),Hn);(Xn.current.x!==Tn.x||Xn.current.y!==Tn.y)&&(Ge(Tn),Xn.current=Tn)}});function yr(Hn,Tn){var er=Hn;Tn?((0,u.flushSync)(function(){Ue(er)}),lr()):sn(er)}function ir(Hn){var Tn=Hn.currentTarget.scrollTop;Tn!==wt&&sn(Tn),Je==null||Je(Hn),lr()}var Fr=function(Tn){var er=Tn,kr=De?De-It.width:0;return er=Math.max(er,0),er=Math.min(er,kr),er},qr=(0,I.useEvent)(function(Hn,Tn){Tn?((0,u.flushSync)(function(){Ue(function(er){var kr=er+(qe?-Hn:Hn);return Fr(kr)})}),lr()):sn(function(er){var kr=er+Hn;return kr})}),Jn=z(Se,sr,wn,En,gr,!!De,qr),Rn=(0,$.Z)(Jn,2),at=Rn[0],Kn=Rn[1];ce(Se,$e,function(Hn,Tn,er,kr){var Wr=kr;return $n(Hn,Tn,er)?!1:!Wr||!Wr._virtualHandled?(Wr&&(Wr._virtualHandled=!0),at({preventDefault:function(){},deltaX:Hn?Tn:0,deltaY:Hn?0:Tn}),!0):!1}),E(ze,$e,function(Hn){sn(function(Tn){return Tn+Hn})}),(0,K.Z)(function(){function Hn(er){var kr=sr&&er.detail<0,Wr=wn&&er.detail>0;Se&&!kr&&!Wr&&er.preventDefault()}var Tn=$e.current;return Tn.addEventListener("wheel",at,{passive:!1}),Tn.addEventListener("DOMMouseScroll",Kn,{passive:!0}),Tn.addEventListener("MozMousePixelScroll",Hn,{passive:!1}),function(){Tn.removeEventListener("wheel",at),Tn.removeEventListener("DOMMouseScroll",Kn),Tn.removeEventListener("MozMousePixelScroll",Hn)}},[Se,sr,wn]),(0,K.Z)(function(){if(De){var Hn=Fr(St);Ue(Hn),lr({x:Hn})}},[It.width,De]);var ur=function(){var Tn,er;(Tn=$t.current)===null||Tn===void 0||Tn.delayHidden(),(er=Zt.current)===null||er===void 0||er.delayHidden()},wr=J($e,en,et,Ae,bt,function(){return We(!0)},sn,ur);S.useImperativeHandle(_t,function(){return{nativeElement:Cn.current,getScrollInfo:Cr,scrollTo:function(Tn){function er(kr){return kr&&(0,L.Z)(kr)==="object"&&("left"in kr||"top"in kr)}er(Tn)?(Tn.left!==void 0&&Ue(Fr(Tn.left)),wr(Tn.top)):wr(Tn)}}}),(0,K.Z)(function(){if(yt){var Hn=en.slice(tr,Nn+1);yt(Hn,en)}},[tr,Nn,en]);var Rr=pe(en,bt,et,Ae),Nr=dt==null?void 0:dt({start:tr,end:Nn,virtual:ze,offsetX:St,offsetY:rn,rtl:qe,getSize:Rr}),zr=ue(en,tr,Nn,De,St,pn,W,Ht),vr=null;O&&(vr=(0,X.Z)((0,Ee.Z)({},_?"height":"maxHeight",O),it),Se&&(vr.overflowY="hidden",De&&(vr.overflowX="hidden"),pt&&(vr.pointerEvents="none")));var Hr={};return qe&&(Hr.dir="rtl"),S.createElement("div",(0,y.Z)({ref:Cn,style:(0,X.Z)((0,X.Z)({},T),{},{position:"relative"}),className:be},Hr,D),S.createElement(a.Z,{onResize:Nt},S.createElement(Ye,{className:"".concat(ye,"-holder"),style:vr,ref:$e,onScroll:ir,onMouseEnter:ur},S.createElement(m,{prefixCls:ye,height:An,offsetX:St,offsetY:rn,scrollWidth:De,onInnerResize:We,ref:bn,innerProps:xt,rtl:qe,extra:Nr},zr))),ze&&An>O&&S.createElement(ke,{ref:$t,prefixCls:ye,scrollOffset:wt,scrollRange:An,rtl:qe,onScroll:yr,onStartMove:zt,onStopMove:tn,spinSize:_n,containerSize:It.height,style:kt==null?void 0:kt.verticalScrollBar,thumbStyle:kt==null?void 0:kt.verticalScrollBarThumb,showScrollBar:w}),ze&&De>It.width&&S.createElement(ke,{ref:Zt,prefixCls:ye,scrollOffset:St,scrollRange:De,rtl:qe,onScroll:yr,onStartMove:zt,onStopMove:tn,spinSize:vn,containerSize:It.width,horizontal:!0,style:kt==null?void 0:kt.horizontalScrollBar,thumbStyle:kt==null?void 0:kt.horizontalScrollBarThumb,showScrollBar:w}))}var qt=S.forwardRef(Ut);qt.displayName="List";var an=qt,Ot=an},83145:function(nn,nt,f){"use strict";Object.defineProperty(nt,"__esModule",{value:!0}),nt.CopyToClipboard=void 0;var y=X(f(59301)),L=X(f(25769));function X(V){return V&&V.__esModule?V:{default:V}}function Ee(V){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ee=function(Q){return typeof Q}:Ee=function(Q){return Q&&typeof Symbol=="function"&&Q.constructor===Symbol&&Q!==Symbol.prototype?"symbol":typeof Q},Ee(V)}function $(V,ne){var Q=Object.keys(V);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(V);ne&&(b=b.filter(function(R){return Object.getOwnPropertyDescriptor(V,R).enumerable})),Q.push.apply(Q,b)}return Q}function q(V){for(var ne=1;ne<arguments.length;ne++){var Q=arguments[ne]!=null?arguments[ne]:{};ne%2?$(Q,!0).forEach(function(b){ue(V,b,Q[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(V,Object.getOwnPropertyDescriptors(Q)):$(Q).forEach(function(b){Object.defineProperty(V,b,Object.getOwnPropertyDescriptor(Q,b))})}return V}function C(V,ne){if(V==null)return{};var Q=xe(V,ne),b,R;if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(V);for(R=0;R<Z.length;R++)b=Z[R],!(ne.indexOf(b)>=0)&&Object.prototype.propertyIsEnumerable.call(V,b)&&(Q[b]=V[b])}return Q}function xe(V,ne){if(V==null)return{};var Q={},b=Object.keys(V),R,Z;for(Z=0;Z<b.length;Z++)R=b[Z],!(ne.indexOf(R)>=0)&&(Q[R]=V[R]);return Q}function a(V,ne){if(!(V instanceof ne))throw new TypeError("Cannot call a class as a function")}function I(V,ne){for(var Q=0;Q<ne.length;Q++){var b=ne[Q];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(V,b.key,b)}}function K(V,ne,Q){return ne&&I(V.prototype,ne),Q&&I(V,Q),V}function S(V,ne){return ne&&(Ee(ne)==="object"||typeof ne=="function")?ne:x(V)}function u(V){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(Q){return Q.__proto__||Object.getPrototypeOf(Q)},u(V)}function x(V){if(V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}function m(V,ne){if(typeof ne!="function"&&ne!==null)throw new TypeError("Super expression must either be null or a function");V.prototype=Object.create(ne&&ne.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),ne&&P(V,ne)}function P(V,ne){return P=Object.setPrototypeOf||function(b,R){return b.__proto__=R,b},P(V,ne)}function ue(V,ne,Q){return ne in V?Object.defineProperty(V,ne,{value:Q,enumerable:!0,configurable:!0,writable:!0}):V[ne]=Q,V}var U=function(V){m(ne,V);function ne(){var Q,b;a(this,ne);for(var R=arguments.length,Z=new Array(R),z=0;z<R;z++)Z[z]=arguments[z];return b=S(this,(Q=u(ne)).call.apply(Q,[this].concat(Z))),ue(x(b),"onClick",function(pe){var me=b.props,de=me.text,ae=me.onCopy,te=me.children,B=me.options,fe=y.default.Children.only(te),Y=(0,L.default)(de,B);ae&&ae(de,Y),fe&&fe.props&&typeof fe.props.onClick=="function"&&fe.props.onClick(pe)}),b}return K(ne,[{key:"render",value:function(){var b=this.props,R=b.text,Z=b.onCopy,z=b.options,pe=b.children,me=C(b,["text","onCopy","options","children"]),de=y.default.Children.only(pe);return y.default.cloneElement(de,q({},me,{onClick:this.onClick}))}}]),ne}(y.default.PureComponent);nt.CopyToClipboard=U,ue(U,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(nn,nt,f){"use strict";var y=f(83145),L=y.CopyToClipboard;L.CopyToClipboard=L,nn.exports=L},76374:function(nn,nt,f){"use strict";var y=function(){if(typeof Map!="undefined")return Map;function te(B,fe){var Y=-1;return B.some(function(ce,ie){return ce[0]===fe?(Y=ie,!0):!1}),Y}return function(){function B(){this.__entries__=[]}return Object.defineProperty(B.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),B.prototype.get=function(fe){var Y=te(this.__entries__,fe),ce=this.__entries__[Y];return ce&&ce[1]},B.prototype.set=function(fe,Y){var ce=te(this.__entries__,fe);~ce?this.__entries__[ce][1]=Y:this.__entries__.push([fe,Y])},B.prototype.delete=function(fe){var Y=this.__entries__,ce=te(Y,fe);~ce&&Y.splice(ce,1)},B.prototype.has=function(fe){return!!~te(this.__entries__,fe)},B.prototype.clear=function(){this.__entries__.splice(0)},B.prototype.forEach=function(fe,Y){Y===void 0&&(Y=null);for(var ce=0,ie=this.__entries__;ce<ie.length;ce++){var g=ie[ce];fe.call(Y,g[1],g[0])}},B}()}(),L=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,X=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(X):function(te){return setTimeout(function(){return te(Date.now())},1e3/60)}}(),$=2;function q(te,B){var fe=!1,Y=!1,ce=0;function ie(){fe&&(fe=!1,te()),Y&&E()}function g(){Ee(ie)}function E(){var G=Date.now();if(fe){if(G-ce<$)return;Y=!0}else fe=!0,Y=!1,setTimeout(g,B);ce=G}return E}var C=20,xe=["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(B){~this.observers_.indexOf(B)||this.observers_.push(B),this.connected_||this.connect_()},te.prototype.removeObserver=function(B){var fe=this.observers_,Y=fe.indexOf(B);~Y&&fe.splice(Y,1),!fe.length&&this.connected_&&this.disconnect_()},te.prototype.refresh=function(){var B=this.updateObservers_();B&&this.refresh()},te.prototype.updateObservers_=function(){var B=this.observers_.filter(function(fe){return fe.gatherActive(),fe.hasActive()});return B.forEach(function(fe){return fe.broadcastActive()}),B.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(B){var fe=B.propertyName,Y=fe===void 0?"":fe,ce=xe.some(function(ie){return!!~Y.indexOf(ie)});ce&&this.refresh()},te.getInstance=function(){return this.instance_||(this.instance_=new te),this.instance_},te.instance_=null,te}(),K=function(te,B){for(var fe=0,Y=Object.keys(B);fe<Y.length;fe++){var ce=Y[fe];Object.defineProperty(te,ce,{value:B[ce],enumerable:!1,writable:!1,configurable:!0})}return te},S=function(te){var B=te&&te.ownerDocument&&te.ownerDocument.defaultView;return B||X},u=R(0,0,0,0);function x(te){return parseFloat(te)||0}function m(te){for(var B=[],fe=1;fe<arguments.length;fe++)B[fe-1]=arguments[fe];return B.reduce(function(Y,ce){var ie=te["border-"+ce+"-width"];return Y+x(ie)},0)}function P(te){for(var B=["top","right","bottom","left"],fe={},Y=0,ce=B;Y<ce.length;Y++){var ie=ce[Y],g=te["padding-"+ie];fe[ie]=x(g)}return fe}function ue(te){var B=te.getBBox();return R(0,0,B.width,B.height)}function U(te){var B=te.clientWidth,fe=te.clientHeight;if(!B&&!fe)return u;var Y=S(te).getComputedStyle(te),ce=P(Y),ie=ce.left+ce.right,g=ce.top+ce.bottom,E=x(Y.width),G=x(Y.height);if(Y.boxSizing==="border-box"&&(Math.round(E+ie)!==B&&(E-=m(Y,"left","right")+ie),Math.round(G+g)!==fe&&(G-=m(Y,"top","bottom")+g)),!ne(te)){var J=Math.round(E+ie)-B,Le=Math.round(G+g)-fe;Math.abs(J)!==1&&(E-=J),Math.abs(Le)!==1&&(G-=Le)}return R(ce.left,ce.top,E,G)}var V=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 Q(te){return L?V(te)?ue(te):U(te):u}function b(te){var B=te.x,fe=te.y,Y=te.width,ce=te.height,ie=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,g=Object.create(ie.prototype);return K(g,{x:B,y:fe,width:Y,height:ce,top:fe,right:B+Y,bottom:ce+fe,left:B}),g}function R(te,B,fe,Y){return{x:te,y:B,width:fe,height:Y}}var Z=function(){function te(B){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=R(0,0,0,0),this.target=B}return te.prototype.isActive=function(){var B=Q(this.target);return this.contentRect_=B,B.width!==this.broadcastWidth||B.height!==this.broadcastHeight},te.prototype.broadcastRect=function(){var B=this.contentRect_;return this.broadcastWidth=B.width,this.broadcastHeight=B.height,B},te}(),z=function(){function te(B,fe){var Y=b(fe);K(this,{target:B,contentRect:Y})}return te}(),pe=function(){function te(B,fe,Y){if(this.activeObservations_=[],this.observations_=new y,typeof B!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=B,this.controller_=fe,this.callbackCtx_=Y}return te.prototype.observe=function(B){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(B instanceof S(B).Element))throw new TypeError('parameter 1 is not of type "Element".');var fe=this.observations_;fe.has(B)||(fe.set(B,new Z(B)),this.controller_.addObserver(this),this.controller_.refresh())}},te.prototype.unobserve=function(B){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(B instanceof S(B).Element))throw new TypeError('parameter 1 is not of type "Element".');var fe=this.observations_;fe.has(B)&&(fe.delete(B),fe.size||this.controller_.removeObserver(this))}},te.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},te.prototype.gatherActive=function(){var B=this;this.clearActive(),this.observations_.forEach(function(fe){fe.isActive()&&B.activeObservations_.push(fe)})},te.prototype.broadcastActive=function(){if(this.hasActive()){var B=this.callbackCtx_,fe=this.activeObservations_.map(function(Y){return new z(Y.target,Y.broadcastRect())});this.callback_.call(B,fe,B),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,de=function(){function te(B){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 fe=I.getInstance(),Y=new pe(B,fe,this);me.set(this,Y)}return te}();["observe","unobserve","disconnect"].forEach(function(te){de.prototype[te]=function(){var B;return(B=me.get(this))[te].apply(B,arguments)}});var ae=function(){return typeof X.ResizeObserver!="undefined"?X.ResizeObserver:de}();nt.Z=ae},98040:function(nn){nn.exports=function(){var nt=document.getSelection();if(!nt.rangeCount)return function(){};for(var f=document.activeElement,y=[],L=0;L<nt.rangeCount;L++)y.push(nt.getRangeAt(L));switch(f.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":f.blur();break;default:f=null;break}return nt.removeAllRanges(),function(){nt.type==="Caret"&&nt.removeAllRanges(),nt.rangeCount||y.forEach(function(X){nt.addRange(X)}),f&&f.focus()}}},1012:function(nn,nt,f){"use strict";f.d(nt,{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 X(){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=[],xe=0;xe<256;++xe)C.push((xe+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 K(u,x,m){u=u||{};var P=u.random||(u.rng||X)();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=K},93314:function(nn){"use strict";nn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQ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8RE2tUgAAAAASUVORK5CYII="},40846:function(nn,nt,f){"use strict";f.d(nt,{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 Te=c.parseURL(p);if(!Te)throw new Error("Error trying to parse base URL.");if(!Te.netLoc&&Te.path&&Te.path[0]!=="/"){var Re=r.exec(Te.path);Te.netLoc=Re[1],Te.path=Re[2]}Te.netLoc&&!Te.path&&(Te.path="/");var Pe={scheme:Te.scheme,netLoc:ve.netLoc,path:null,params:ve.params,query:ve.query,fragment:ve.fragment};if(!ve.netLoc&&(Pe.netLoc=Te.netLoc,ve.path[0]!=="/"))if(!ve.path)Pe.path=Te.path,ve.params||(Pe.params=Te.params,ve.query||(Pe.query=Te.query));else{var je=Te.path,ct=je.substring(0,je.lastIndexOf("/")+1)+ve.path;Pe.path=c.normalizePath(ct)}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 X=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){xe(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 xe(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)},K=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 U=ue;function V(o){const e=self.console[o];return e?e.bind(self.console,`[${o}] >`):P}function ne(o,...e){e.forEach(function(t){U[t]=o[t]?o[t].bind(o):V(t)})}function Q(o,e){if(typeof console=="object"&&o===!0||typeof o=="object"){ne(o,"debug","log","info","warn","error");try{U.log(`Debug logs enabled for "${e}" in hls.js version 1.5.20`)}catch(t){U=ue}}else U=ue}const b=U,R=/^(\d+)x(\d+)$/,Z=/(.+?)=(".*?"|.*?)(?:,|$)/g;class z{constructor(e){typeof e=="string"&&(e=z.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 pe(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 de{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 z({}),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 B{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=X.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(e){this._url=e}}class fe extends B{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 Y extends B{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 ce=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||ce}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 g(o){return Uint8Array.from(atob(o),e=>e.charCodeAt(0))}function E(o){const e=Le(o).subarray(0,16),t=new Uint8Array(16);return t.set(e,16-e.length),t}function G(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=g(s)):t=E(s)}}return t}function Le(o){return Uint8Array.from(unescape(encodeURIComponent(o)),e=>e.charCodeAt(0))}const ke=typeof self!="undefined"?self:void 0;var Fe={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 lt(o){switch(o){case Ze.FAIRPLAY:return Fe.FAIRPLAY;case Ze.PLAYREADY:return Fe.PLAYREADY;case Ze.WIDEVINE:return Fe.WIDEVINE;case Ze.CLEARKEY:return Fe.CLEARKEY}}var ut={CENC:"1077efecc0b24d02ace33c1e52e2fb4b",CLEARKEY:"e2719d58a985b3c9781ab030af78d30e",FAIRPLAY:"94ce86fb07ff4f43adb893d2fa968ca2",PLAYREADY:"9a04f07998404286ab92e65be0885f95",WIDEVINE:"edef8ba979d64acea3c827dcd51d21ed"};function it(o){if(o===ut.WIDEVINE)return Fe.WIDEVINE;if(o===ut.PLAYREADY)return Fe.PLAYREADY;if(o===ut.CENC||o===ut.CLEARKEY)return Fe.CLEARKEY}function Ut(o){switch(o){case Fe.FAIRPLAY:return Ze.FAIRPLAY;case Fe.PLAYREADY:return Ze.PLAYREADY;case Fe.WIDEVINE:return Ze.WIDEVINE;case Fe.CLEARKEY:return Ze.CLEARKEY}}function qt(o){const{drmSystems:e,widevineLicenseUrl:t}=o,n=e?[Fe.FAIRPLAY,Fe.WIDEVINE,Fe.PLAYREADY,Fe.CLEARKEY].filter(r=>!!e[r]):[];return!n[Fe.WIDEVINE]&&t&&n.push(Fe.WIDEVINE),n}const an=function(o){return ke!=null&&(o=ke.navigator)!=null&&o.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null}();function Ot(o,e,t,n){let r;switch(o){case Fe.FAIRPLAY:r=["cenc","sinf"];break;case Fe.WIDEVINE:case Fe.PLAYREADY:r=["cenc"];break;case Fe.CLEARKEY:r=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${o}`)}return ot(r,e,t,n)}function ot(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 _t(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=g(c).subarray(0,16);return G(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 ye=(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(;ye(o,e);){n+=10;const r=Ae(o,e+6);n+=r,H(o,e+10)&&(n+=10),e+=n}if(n>0)return o.subarray(t,t+n)},Ae=(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)=>ye(o,e)&&Ae(o,e+6)+10<=o.length-e,_=o=>{const e=W(o);for(let t=0;t<e.length;t++){const n=e[t];if(T(n))return Oe(n)}},T=o=>o&&o.key==="PRIV"&&o.info==="com.apple.streaming.transportStreamTimestamp",ee=o=>{const e=String.fromCharCode(o[0],o[1],o[2],o[3]),t=Ae(o,4),n=10;return{type:e,size:t,data:o.subarray(n,n+t)}},W=o=>{let e=0;const t=[];for(;ye(o,e);){const n=Ae(o,e+6);e+=10;const r=e+n;for(;e+8<r;){const i=ee(o.subarray(e)),s=j(i);s&&t.push(s),e+=i.size+10}H(o,e)&&(e+=10)}return t},j=o=>o.type==="PRIV"?_e(o):o.type[0]==="W"?De(o):Ke(o),_e=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}},De=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}},Oe=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=Ge();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 Je;function Ge(){if(!navigator.userAgent.includes("PlayStation 4"))return!Je&&typeof self.TextDecoder!="undefined"&&(Je=new self.TextDecoder("utf-8")),Je}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}},xt=Math.pow(2,32)-1,dt=[].push,kt={video:1,audio:2,id3:3,text:4};function Tt(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=he(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 he(o,e){return o[e]<<24|o[e+1]<<16|o[e+2]<<8|o[e+3]}function Be(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 We(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=Tt(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=We(o.subarray(r+8,c),e.slice(1));p.length&&dt.apply(t,p)}r=c}return t}function et(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 Xe(o){const e=[],t=We(o,["moov","trak"]);for(let r=0;r<t.length;r++){const i=t[r],s=We(i,["tkhd"])[0];if(s){let c=s[0];const p=D(s,c===0?12:20),A=We(i,["mdia","mdhd"])[0];if(A){c=A[0];const F=D(A,c===0?12:20),M=We(i,["mdia","hdlr"])[0];if(M){const ve=Tt(M.subarray(8,12)),Te={soun:te.AUDIO,vide:te.VIDEO}[ve];if(Te){const Re=We(i,["mdia","minf","stbl","stsd"])[0],Pe=Se(Re);e[p]={timescale:F,type:Te},e[Te]=$({timescale:F,id:p},Pe)}}}}}return We(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 Se(o){const e=o.subarray(8),t=e.subarray(86),n=Tt(e.subarray(4,8));let r=n;const i=n==="enca"||n==="encv";if(i){const c=We(e,[n])[0].subarray(n==="enca"?28:78);We(c,["sinf"]).forEach(A=>{const F=We(A,["schm"])[0];if(F){const M=Tt(F.subarray(4,8));if(M==="cbcs"||M==="cenc"){const ve=We(A,["frma"])[0];ve&&(r=Tt(ve))}}})}switch(r){case"avc1":case"avc2":case"avc3":case"avc4":{const s=We(t,["avcC"])[0];r+="."+ze(s[1])+ze(s[2])+ze(s[3]);break}case"mp4a":{const s=We(e,[n])[0],c=We(s.subarray(28),["esds"])[0];if(c&&c.length>12){let p=4;if(c[p++]!==3)break;p=Ie(c,p),p+=2;const A=c[p++];if(A&128&&(p+=2),A&64&&(p+=c[p++]),c[p++]!==4)break;p=Ie(c,p);const F=c[p++];if(F===64)r+="."+ze(F);else break;if(p+=12,c[p++]!==5)break;p=Ie(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=We(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],Te=s.subarray(6,12);r+="."+p+A,r+="."+F.toString(16).toUpperCase(),r+="."+M+ve;let Re="";for(let Pe=Te.length;Pe--;){const je=Te[Pe];(je||Re)&&(Re="."+je.toString(16).toUpperCase()+Re)}r+=Re;break}case"dvh1":case"dvhe":{const s=We(t,["dvcC"])[0],c=s[2]>>1&127,p=s[2]<<5&32|s[3]>>3&31;r+="."+qe(c)+"."+qe(p);break}case"vp09":{const s=We(t,["vpcC"])[0],c=s[4],p=s[5],A=s[6]>>4&15;r+="."+qe(c)+"."+qe(p)+"."+qe(A);break}case"av01":{const s=We(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,Te=(s[2]&16)>>4,Re=(s[2]&8)>>3,Pe=(s[2]&4)>>2,je=s[2]&3;r+="."+c+"."+qe(p)+A+"."+qe(ve)+"."+Te+"."+Re+Pe+je+"."+qe(1)+"."+qe(1)+"."+qe(1)+"."+0;break}}return{codec:r,encrypted:i}}function Ie(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 qe(o){return(o<10?"0":"")+o}function be(o,e){if(!o||!e)return o;const t=e.keyId;return t&&e.isCommonEncryption&&We(o,["moov","trak"]).forEach(r=>{const s=We(r,["mdia","minf","stbl","stsd"])[0].subarray(8);let c=We(s,["enca"]);const p=c.length>0;p||(c=We(s,["encv"])),c.forEach(A=>{const F=p?A.subarray(28):A.subarray(78);We(F,["sinf"]).forEach(ve=>{const Te=en(ve);if(Te){const Re=Te.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)}`),Te.set(t,8))}})})}),o}function en(o){const e=We(o,["schm"])[0];if(e){const t=Tt(e.subarray(4,8));if(t==="cbcs"||t==="cenc")return We(o,["schi","tenc"])[0]}return null}function $e(o,e){return We(e,["moof","traf"]).reduce((t,n)=>{const r=We(n,["tfdt"])[0],i=r[0],s=We(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===xt)return b.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"),c;M*=xt+1,M+=D(r,8)}const ve=F.timescale||9e4,Te=M/ve;if(I(Te)&&(c===null||Te<c))return Te}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=We(o,["moof","traf"]);for(let s=0;s<i.length;s++){const c=i[s],p=We(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 Te=M==null?void 0:M.duration;ve&8&&(ve&2?Te=D(p,12):Te=D(p,8));const Re=F.timescale||9e4,Pe=We(c,["trun"]);for(let je=0;je<Pe.length;je++){if(t=Cn(Pe[je]),!t&&Te){const ct=D(Pe[je],4);t=Te*ct}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=We(o,["sidx"]);for(let F=0;F<A.length;F++){const M=et(A[F]);if(M!=null&&M.references){s=Math.min(s,M.earliestPresentationTime/M.timescale);const ve=M.references.reduce((Te,Re)=>Te+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 Cn(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 jt(o,e,t){We(e,["moof","traf"]).forEach(n=>{We(n,["tfhd"]).forEach(r=>{const i=D(r,4),s=o[i];if(!s)return;const c=s.timescale||9e4;We(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),Be(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/(xt+1)),Te=Math.floor(M%(xt+1));Be(p,4,ve),Be(p,8,Te)}}})})})}function Jt(o){const e={valid:null,remainder:null},t=We(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 wt(o,e){const t=new Uint8Array(o.length+e.length);return t.set(o),t.set(e,o.length),t}function Pt(o,e){const t=[],n=e.samples,r=e.timescale,i=e.id;let s=!1;return We(n,["moof"]).map(p=>{const A=p.byteOffset-8;We(p,["traf"]).map(M=>{const ve=We(M,["tfdt"]).map(Te=>{const Re=Te[0];let Pe=D(Te,4);return Re===1&&(Pe*=Math.pow(2,32),Pe+=D(Te,8)),Pe/r})[0];return ve!==void 0&&(o=ve),We(M,["tfhd"]).map(Te=>{const Re=D(Te,4),Pe=D(Te,0)&16777215,je=(Pe&1)!==0,ct=(Pe&2)!==0,Gt=(Pe&8)!==0;let Wt=0;const xn=(Pe&16)!==0;let Qt=0;const Mn=(Pe&32)!==0;let yn=8;Re===i&&(je&&(yn+=8),ct&&(yn+=4),Gt&&(Wt=D(Te,yn),yn+=4),xn&&(Qt=D(Te,yn),yn+=4),Mn&&(yn+=4),e.type==="video"&&(s=Ve(e.codec)),We(M,["trun"]).map(Zn=>{const Ar=Zn[0],On=D(Zn,0)&16777215,Qn=(On&1)!==0;let di=0;const Tr=(On&4)!==0,si=(On&256)!==0;let ni=0;const Zr=(On&512)!==0;let Mi=0;const Yi=(On&1024)!==0,Lr=(On&2048)!==0;let Dr=0;const ji=D(Zn,4);let Si=8;Qn&&(di=D(Zn,Si),Si+=4),Tr&&(Si+=4);let Gi=di+A;for(let Ra=0;Ra<ji;Ra++){if(si?(ni=D(Zn,Si),Si+=4):ni=Wt,Zr?(Mi=D(Zn,Si),Si+=4):Mi=Qt,Yi&&(Si+=4),Lr&&(Ar===0?Dr=D(Zn,Si):Dr=he(Zn,Si),Si+=4),e.type===te.VIDEO){let Ua=0;for(;Ua<Mi;){const za=D(n,Gi);if(Gi+=4,At(s,n[Gi])){const is=n.subarray(Gi,Gi+za);St(is,s?2:1,o+Dr/r,t)}Gi+=za,Ua+=za+4}}o+=ni/r}}))})})}),t}function Ve(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 At(o,e){if(o){const t=e>>1&63;return t===39||t===40}else return(e&31)===6}function St(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 Te=D(r,F);if(F+=4,Te===1195456820){const Re=r[F++];if(Re===3){const Pe=r[F++],je=31&Pe,ct=64&Pe,Gt=ct?2+je*3:0,Wt=new Uint8Array(Gt);if(ct){Wt[0]=Pe;for(let xn=1;xn<Gt;xn++)Wt[xn]=r[F++]}n.push({type:Re,payloadType:s,pts:t,bytes:Wt})}}}}}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,Te=new Uint8Array(ve);for(let Re=0;Re<ve;Re++)Te[Re]=r[F++];n.push({payloadType:s,pts:t,uuid:M.join(""),userData:Ye(Te),userDataBytes:Te})}}}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(;Tt(o.subarray(A,A+1))!=="\0";)t+=Tt(o.subarray(A,A+1)),A+=1;for(t+=Tt(o.subarray(A,A+1)),A+=1;Tt(o.subarray(A,A+1))!=="\0";)n+=Tt(o.subarray(A,A+1)),A+=1;n+=Tt(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,K(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;Tt(o.subarray(A,A+1))!=="\0";)t+=Tt(o.subarray(A,A+1)),A+=1;for(t+=Tt(o.subarray(A,A+1)),A+=1;Tt(o.subarray(A,A+1))!=="\0";)n+=Tt(o.subarray(A,A+1)),A+=1;n+=Tt(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 pt(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 Dt(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=zt(r);e.push(i),n+=i.size}}return e}function zt(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 Ht{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 Ht(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=pt(n,null,t),this.keyId=_t(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 Lt(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 An(o=!0){return typeof self=="undefined"?void 0:(o||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function tr(o){return typeof self!="undefined"&&o===self.ManagedMediaSource}const Nn={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=Nn[e];return!!t&&!!t[o.slice(0,4)]}function ht(o,e,t=!0){return!o.split(",").some(n=>!vt(n,e,t))}function vt(o,e,t=!0){var n;const r=An(t);return(n=r==null?void 0:r.isTypeSupported(It(o,e)))!=null?n:!1}function It(o,e){return`${e}/mp4;codecs="${o}"`}function Vt(o){if(o){const e=o.substring(0,4);return Nn.video[e]}return 2}function Nt(o){return o.split(",").reduce((e,t)=>{const n=Nn.video[t];return n?(n*2+e)/(e?3:2):(Nn.audio[t]+e)/(e?2:1)},0)}const $t={};function Zt(o,e=!0){if($t[o])return $t[o];const t={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"]}[o];for(let n=0;n<t.length;n++)if(vt(t[n],"audio",e))return $t[o]=t[n],t[n];return o}const vn=/flac|opus/i;function _n(o,e=!0){return o.replace(vn,t=>Zt(t.toLowerCase(),e))}function kn(o,e){return o&&o!=="mp4a"?o:e&&e.split(",")[0]}function qn(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 rr=/#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,sr=/#EXT-X-MEDIA:(.*)/g,wn=/^#EXT(?:INF|-X-TARGETDURATION):/m,En=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 $n{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 X.buildAbsoluteURL(t,e,{alwaysNormalize:!0})}static isMediaPlaylist(e){return wn.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=[];rr.lastIndex=0;let s;for(;(s=rr.exec(e))!=null;)if(s[1]){var c;const A=new z(s[1]);Lt(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:$n.resolve(F,t)},ve=A.decimalResolution("RESOLUTION");ve&&(M.width=ve.width,M.height=ve.height),lr(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 z(F);Lt(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 z(F);Lt(r,M,["NAME","VALUE","QUERYPARAM"]),ln(r,M,t)}break}case"CONTENT-STEERING":{const M=new z(F);Lt(r,M,["SERVER-URI","PATHWAY-ID"]),r.contentSteering={uri:$n.resolve(M["SERVER-URI"],t),pathwayId:M["PATHWAY-ID"]||"."};break}case"START":{r.startTimeOffset=Xn(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(sr.lastIndex=0;(r=sr.exec(e))!==null;){const A=new z(r[1]),F=A.TYPE;if(F){const M=c[F],ve=i[F]||[];i[F]=ve,Lt(n,A,["URI","GROUP-ID","LANGUAGE","ASSOC-LANGUAGE","STABLE-RENDITION-ID","NAME","INSTREAM-ID","CHARACTERISTICS","CHANNELS"]);const Te=A.LANGUAGE,Re=A["ASSOC-LANGUAGE"],Pe=A.CHANNELS,je=A.CHARACTERISTICS,ct=A["INSTREAM-ID"],Gt={attrs:A,bitrate:0,id:p++,groupId:A["GROUP-ID"]||"",name:A.NAME||Te||"",type:F,default:A.bool("DEFAULT"),autoselect:A.bool("AUTOSELECT"),forced:A.bool("FORCED"),lang:Te,url:A.URI?$n.resolve(A.URI,t):""};if(Re&&(Gt.assocLang=Re),Pe&&(Gt.channels=Pe),je&&(Gt.characteristics=je),ct&&(Gt.instreamId=ct),M!=null&&M.length){const Wt=$n.findGroup(M,Gt.groupId)||M[0];yr(Gt,Wt,"audioCodec"),yr(Gt,Wt,"textCodec")}ve.push(Gt)}}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,Te=0,Re=null,Pe=new fe(r,t),je,ct,Gt,Wt=-1,xn=!1,Qt=null;for(En.lastIndex=0,c.m3u8=e,c.hasVariableRefs=Mt(e);(je=En.exec(e))!==null;){xn&&(xn=!1,Pe=new fe(r,t),Pe.start=ve,Pe.sn=F,Pe.cc=Te,Pe.level=n,A&&(Pe.initSegment=A,Pe.rawProgramDateTime=A.rawProgramDateTime,A.rawProgramDateTime=null,Qt&&(Pe.setByteRange(Qt),Qt=null)));const Ar=je[1];if(Ar){Pe.duration=parseFloat(Ar);const On=(" "+je[2]).slice(1);Pe.title=On||null,Pe.tagList.push(On?["INF",Ar,On]:["INF",Ar])}else if(je[3]){if(I(Pe.duration)){Pe.start=ve,Gt&&Jn(Pe,Gt,c),Pe.sn=F,Pe.level=n,Pe.cc=Te,p.push(Pe);const On=(" "+je[3]).slice(1);Pe.relurl=un(c,On),Fr(Pe,Re),Re=Pe,ve+=Pe.duration,F++,M=0,xn=!0}}else if(je[4]){const On=(" "+je[4]).slice(1);Re?Pe.setByteRange(On,Re):Pe.setByteRange(On)}else if(je[5])Pe.rawProgramDateTime=(" "+je[5]).slice(1),Pe.tagList.push(["PROGRAM-DATE-TIME",Pe.rawProgramDateTime]),Wt===-1&&(Wt=p.length);else{if(je=je[0].match(gr),!je){b.warn("No matches on slow regex match for level playlist!");continue}for(ct=1;ct<je.length&&typeof je[ct]=="undefined";ct++);const On=(" "+je[ct]).slice(1),Qn=(" "+je[ct+1]).slice(1),di=je[ct+2]?(" "+je[ct+2]).slice(1):"";switch(On){case"PLAYLIST-TYPE":c.type=Qn.toUpperCase();break;case"MEDIA-SEQUENCE":F=c.startSN=parseInt(Qn);break;case"SKIP":{const Tr=new z(Qn);Lt(c,Tr,["RECENTLY-REMOVED-DATERANGES"]);const si=Tr.decimalInteger("SKIPPED-SEGMENTS");if(I(si)){c.skippedSegments=si;for(let Zr=si;Zr--;)p.unshift(null);F+=si}const ni=Tr.enumeratedString("RECENTLY-REMOVED-DATERANGES");ni&&(c.recentlyRemovedDateranges=ni.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||di)&&Pe.tagList.push(di?[Qn,di]:[Qn]);break;case"DISCONTINUITY":Te++,Pe.tagList.push(["DIS"]);break;case"GAP":Pe.gap=!0,Pe.tagList.push([On]);break;case"BITRATE":Pe.tagList.push([On,Qn]);break;case"DATERANGE":{const Tr=new z(Qn);Lt(c,Tr,["ID","CLASS","START-DATE","END-DATE","SCTE35-CMD","SCTE35-OUT","SCTE35-IN"]),Lt(c,Tr,Tr.clientAttrs);const si=new de(Tr,c.dateRanges[Tr.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 Tr=new z(Qn);Lt(c,Tr,["NAME","VALUE","IMPORT","QUERYPARAM"]),"IMPORT"in Tr?hn(c,Tr,s):ln(c,Tr,t)}break}case"DISCONTINUITY-SEQUENCE":Te=parseInt(Qn);break;case"KEY":{const Tr=Cr(Qn,t,c);if(Tr.isSupported()){if(Tr.method==="NONE"){Gt=void 0;break}Gt||(Gt={}),Gt[Tr.keyFormat]&&(Gt=a({},Gt)),Gt[Tr.keyFormat]=Tr}else b.warn(`[Keys] Ignoring invalid EXT-X-KEY tag: "${Qn}"`);break}case"START":c.startTimeOffset=Xn(Qn);break;case"MAP":{const Tr=new z(Qn);if(Lt(c,Tr,["BYTERANGE","URI"]),Pe.duration){const si=new fe(r,t);qr(si,Tr,n,Gt),A=si,Pe.initSegment=A,A.rawProgramDateTime&&!Pe.rawProgramDateTime&&(Pe.rawProgramDateTime=A.rawProgramDateTime)}else{const si=Pe.byteRangeEndOffset;if(si){const ni=Pe.byteRangeStartOffset;Qt=`${si-ni}@${ni}`}else Qt=null;qr(Pe,Tr,n,Gt),A=Pe,xn=!0}break}case"SERVER-CONTROL":{const Tr=new z(Qn);c.canBlockReload=Tr.bool("CAN-BLOCK-RELOAD"),c.canSkipUntil=Tr.optionalFloat("CAN-SKIP-UNTIL",0),c.canSkipDateRanges=c.canSkipUntil>0&&Tr.bool("CAN-SKIP-DATERANGES"),c.partHoldBack=Tr.optionalFloat("PART-HOLD-BACK",0),c.holdBack=Tr.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{const Tr=new z(Qn);c.partTarget=Tr.decimalFloatingPoint("PART-TARGET");break}case"PART":{let Tr=c.partList;Tr||(Tr=c.partList=[]);const si=M>0?Tr[Tr.length-1]:void 0,ni=M++,Zr=new z(Qn);Lt(c,Zr,["BYTERANGE","URI"]);const Mi=new Y(Zr,Pe,t,ni,si);Tr.push(Mi),Pe.duration+=Mi.duration;break}case"PRELOAD-HINT":{const Tr=new z(Qn);Lt(c,Tr,["URI"]),c.preloadHint=Tr;break}case"RENDITION-REPORT":{const Tr=new z(Qn);Lt(c,Tr,["URI"]),c.renditionReports=c.renditionReports||[],c.renditionReports.push(Tr);break}default:b.warn(`line parsed but not handled: ${je}`);break}}}Re&&!Re.relurl?(p.pop(),ve-=Re.duration,c.partList&&(c.fragmentHint=Re)):c.partList&&(Fr(Pe,Re),Pe.cc=Te,c.fragmentHint=Pe,Gt&&Jn(Pe,Gt,c));const Mn=p.length,yn=p[0],Zn=p[Mn-1];if(ve+=c.skippedSegments*c.targetduration,ve>0&&Mn&&Zn){c.averagetargetduration=ve/Mn;const Ar=Zn.sn;c.endSN=Ar!=="initSegment"?Ar:0,c.live||(Zn.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=Te,Wt>0&&ir(p,Wt),c}}function Cr(o,e,t){var n,r;const i=new z(o);Lt(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?$n.resolve(c,e):"",ve=(A||"1").split("/").map(Number).filter(Number.isFinite);return new Ht(s,M,F,ve,p)}function Xn(o){const t=new z(o).decimalFloatingPoint("TIME-OFFSET");return I(t)?t:null}function lr(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 yr(o,e,t){const n=e[t];n&&(o[t]=n)}function ir(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 Fr(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 qr(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 Jn(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 Rn={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 Rn.AUDIO_TRACK:return at.AUDIO;case Rn.SUBTITLE_TRACK:return at.SUBTITLE;default:return at.MAIN}}function ur(o,e){let t=o.url;return(t===void 0||t.indexOf("data:")===0)&&(t=e.url),t}class wr{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:Rn.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:Rn.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:Rn.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:Rn.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===Rn.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===Rn.LEVEL&&e.level!==null?A=this.hls.levels[e.level].details:e.type===Rn.AUDIO_TRACK&&e.id!==null?A=this.hls.audioTracks[e.id].details:e.type===Rn.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 Te=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(),$n.isMediaPlaylist(Re)?this.handleTrackOrLevelPlaylist(A,F,M,ve||null,Te):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=ur(e,n),p=$n.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:Te,variableList:Re}=p;this.variableList=Re;const{AUDIO:Pe=[],SUBTITLES:je,"CLOSED-CAPTIONS":ct}=$n.parseMasterPlaylistMedia(s,c,p);Pe.length&&!Pe.some(Wt=>!Wt.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 z({}),bitrate:0,url:""})),i.trigger(u.MANIFEST_LOADED,{levels:F,audioTracks:Pe,subtitles:je,captions:ct,contentSteering:A,url:c,stats:t,networkDetails:r,sessionData:M,sessionKeys:ve,startTimeOffset:Te,variableList:Re})}handleTrackOrLevelPlaylist(e,t,n,r,i){const s=this.hls,{id:c,level:p,type:A}=n,F=ur(e,n),M=0,ve=I(p)?p:I(c)?c:0,Te=Kn(n),Re=$n.parseLevelPlaylist(e.data,F,ve,Te,M,this.variableList);if(A===Rn.MANIFEST){const Pe={attrs:new z({}),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===Rn.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===Rn.LEVEL?s+=`: ${e.level} id: ${e.id}`:(e.type===Rn.AUDIO_TRACK||e.type===Rn.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 Rn.MANIFEST:p=n?m.MANIFEST_LOAD_TIMEOUT:m.MANIFEST_LOAD_ERROR,A=!0;break;case Rn.LEVEL:p=n?m.LEVEL_LOAD_TIMEOUT:m.LEVEL_LOAD_ERROR,A=!1;break;case Rn.AUDIO_TRACK:p=n?m.AUDIO_TRACK_LOAD_TIMEOUT:m.AUDIO_TRACK_LOAD_ERROR,A=!1;break;case Rn.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,Te=ur(t,r),Re=Kn(r),Pe=typeof r.level=="number"&&Re===at.MAIN?A:void 0;if(!e.fragments.length){const ct=new Error("No Segments found in Playlist");c.trigger(u.ERROR,{type:x.NETWORK_ERROR,details:m.LEVEL_EMPTY_ERROR,fatal:!1,url:Te,error:ct,reason:ct.message,response:t,context:r,level:Pe,parent:Re,networkDetails:i,stats:n});return}e.targetduration||(e.playlistParsingError=new Error("Missing Target Duration"));const je=e.playlistParsingError;if(je){c.trigger(u.ERROR,{type:x.NETWORK_ERROR,details:m.LEVEL_PARSING_ERROR,fatal:!1,url:Te,error:je,reason:je.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 Rn.MANIFEST:case Rn.LEVEL:c.trigger(u.LEVEL_LOADED,{details:e,level:Pe||0,id:F||0,stats:n,networkDetails:i,deliveryDirectives:ve});break;case Rn.AUDIO_TRACK:c.trigger(u.AUDIO_TRACK_LOADED,{details:e,id:F||0,groupId:M||"",stats:n,networkDetails:i,deliveryDirectives:ve});break;case Rn.SUBTITLE_TRACK:c.trigger(u.SUBTITLE_TRACK_LOADED,{details:e,id:F||0,groupId:M||"",stats:n,networkDetails:i,deliveryDirectives:ve});break}}}function Rr(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 Nr(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 zr(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=Hn(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 Hr(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 Hn(o,e,t){const n=[],r=Hr(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 Tn(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 kr=.25;function Wr(){if(typeof self!="undefined")return self.VTTCue||self.TextTrackCue}function wi(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 jn=(()=>{const o=Wr();try{o&&new o(0,Number.POSITIVE_INFINITY,"")}catch(e){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();function $r(o,e){return o.getTime()/1e3-e}function Vr(o){return Uint8Array.from(o.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}class oi{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&&(zr(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 Rr(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=Wr();if(s)for(let c=0;c<i.length;c++){const p=i[c].type;if(p===er.emsg&&!n||!r)continue;const A=W(i[c].data);if(A){const F=i[c].pts;let M=F+i[c].duration;M>jn&&(M=jn),M-F<=0&&(M=F+kr);for(let Te=0;Te<A.length;Te++){const Re=A[Te];if(!T(Re)){this.updateId3CueEnds(F,p);const Pe=wi(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===jn&&(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(Te=>{r.removeCue(n[ve].cues[Te])}),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=Wr();for(let F=0;F<s.length;F++){const M=s[F],ve=i[M],Te=$r(ve.startDate,p),Re=n[M],Pe=(Re==null?void 0:Re.cues)||{};let je=(Re==null?void 0:Re.durationKnown)||!1,ct=jn;const Gt=ve.endDate;if(Gt)ct=$r(Gt,p),je=!0;else if(ve.endOnNext&&!je){const xn=s.reduce((Qt,Mn)=>{if(Mn!==ve.id){const yn=i[Mn];if(yn.class===ve.class&&yn.startDate>ve.startDate&&(!Qt||ve.startDate<Qt.startDate))return yn}return Qt},null);xn&&(ct=$r(xn.startDate,p),je=!0)}const Wt=Object.keys(ve.attr);for(let xn=0;xn<Wt.length;xn++){const Qt=Wt[xn];if(!pe(Qt))continue;const Mn=Pe[Qt];if(Mn)je&&!Re.durationKnown&&(Mn.endTime=ct);else if(A){let yn=ve.attr[Qt];me(Qt)&&(yn=Vr(yn));const Zn=wi(A,Te,ct,{key:Qt,data:yn},er.dateRange);Zn&&(Zn.id=M,this.id3Track.addCue(Zn),Pe[Qt]=Zn)}}n[M]={cues:Pe,dateRange:ve,durationKnown:je}}}}class Ti{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 ki=["NONE","TYPE-0","TYPE-1",null];function ei(o){return ki.indexOf(o)>-1}const gi=["SDR","PQ","HLG"];function li(o){return!!o&&gi.indexOf(o)>-1}var Di={No:"",Yes:"YES",v2:"v2"};function Fi(o){const{canSkipUntil:e,canSkipDateRanges:t,age:n}=o,r=n<e/2;return e&&r?t?Di.v2:Di.Yes:Di.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 Mr(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 je=Math.abs(A-t);I(e.deltaPTS)?e.deltaPTS=Math.max(je,e.deltaPTS):e.deltaPTS=je,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 Te;const Re=ve-o.startSN,Pe=o.fragments;for(Pe[Re]=e,Te=Re;Te>0;Te--)Mr(Pe[Te],Pe[Te-1]);for(Te=Re;Te<Pe.length-1;Te++)Mr(Pe[Te],Pe[Te+1]);return o.fragmentHint&&Mr(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):_a(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 de(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 _a(o,e){const t=e.startSN+e.skippedSegments-o.startSN,n=o.fragments;t<0||t>=n.length||Pn(e,n[t].start)}function Pn(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 Ni(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 cr(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 dr(o){o.forEach((e,t)=>{const{details:n}=e;n!=null&&n.fragments&&n.fragments.forEach(r=>{r.level=t})})}function Vn(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 Pr(o,e){const t=Vn(e);return o.default[`${t?"timeout":"error"}Retry`]}function Yr(o,e){const t=o.backoff==="linear"?1:Math.pow(2,e);return Math.min(t*o.retryDelayMs,o.maxRetryDelayMs)}function Pi(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&&(Ii(r)||!!t);return o.shouldRetry?o.shouldRetry(o,e,t,n,i):i}function Ii(o){return o===0&&navigator.onLine===!1||!!o&&(o<400||o>499)}const Ui={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 wa(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=Ui.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 fr(o,e){return Ui.search(o,t=>t.cc<e?1:t.cc>e?-1:0)}var or={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},Qr={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,SwitchToSDR:4};class Ki{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:or.DoNothing,flags:Qr.None};return}case m.FRAG_GAP:case m.FRAG_DECRYPT_ERROR:{t.errorAction=this.getFragRetryOrSwitchAction(t),t.errorAction.action=or.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===Rn.AUDIO_TRACK&&A.hasAudioGroup(s.groupId)||s.type===Rn.SUBTITLE_TRACK&&A.hasSubtitleGroup(s.groupId))){t.errorAction=this.getPlaylistRetryOrSwitchAction(t,i.loadLevel),t.errorAction.action=or.SendAlternateToPenaltyBox,t.errorAction.flags=Qr.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:or.SendAlternateToPenaltyBox,flags:Qr.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:or.DoNothing,flags:Qr.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=Pr(n.config.playlistLoadPolicy,e),i=this.playlistError++;if(yi(r,i,Vn(e),e.response))return{action:or.RetryRequest,flags:Qr.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=Pr(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,Vn(e),e.response)))return{action:or.RetryRequest,flags:Qr.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:Te,maxAutoLevel:Re}=n;n.autoLevelEnabled||(n.loadLevel=-1);const Pe=(i=e.frag)==null?void 0:i.type,ct=(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:Mn})=>r.audioCodec!==Mn),Wt=e.sourceBufferName==="video"&&(A===m.BUFFER_ADD_CODEC_ERROR||A===m.BUFFER_APPEND_ERROR)&&M.some(({codecSet:Mn,audioCodec:yn})=>r.codecSet!==Mn&&r.audioCodec===yn),{type:xn,groupId:Qt}=(s=e.context)!=null?s:{};for(let Mn=M.length;Mn--;){const yn=(Mn+ve)%M.length;if(yn!==ve&&yn>=Te&&yn<=Re&&M[yn].loadError===0){var c,p;const Zn=M[yn];if(A===m.FRAG_GAP&&Pe===at.MAIN&&e.frag){const Ar=M[yn].details;if(Ar){const On=wa(e.frag,Ar.fragments,e.frag.start);if(On!=null&&On.gap)continue}}else{if(xn===Rn.AUDIO_TRACK&&Zn.hasAudioGroup(Qt)||xn===Rn.SUBTITLE_TRACK&&Zn.hasSubtitleGroup(Qt))continue;if(Pe===at.AUDIO&&(c=r.audioGroups)!=null&&c.some(Ar=>Zn.hasAudioGroup(Ar))||Pe===at.SUBTITLE&&(p=r.subtitleGroups)!=null&&p.some(Ar=>Zn.hasSubtitleGroup(Ar))||ct&&r.audioCodec===Zn.audioCodec||!ct&&r.audioCodec!==Zn.audioCodec||Wt&&r.codecSet===Zn.codecSet)continue}F=yn;break}}if(F>-1&&n.loadLevel!==F)return e.levelRetry=!0,this.playlistError=0,{action:or.SendAlternateToPenaltyBox,flags:Qr.None,nextAutoLevel:F}}return{action:or.SendAlternateToPenaltyBox,flags:Qr.MoveAllAlternatesMatchingHost}}onErrorOut(e,t){var n;switch((n=t.errorAction)==null?void 0:n.action){case or.DoNothing:break;case or.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 or.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 Qr.None:this.switchLevel(e,s);break;case Qr.MoveAllAlternatesMatchingHDCP:i&&(t.maxHdcpLevel=ki[ki.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 ui{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&&Fi(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 je=this.hls.config.lowLatencyMode,ct=r.lastPartSn,Gt=r.endSN,Wt=r.lastPartIndex,xn=Wt!==-1,Qt=ct===Gt,Mn=je?0:Wt;xn?(A=Qt?Gt+1:ct,F=Qt?Mn:Wt+1):A=Gt+1;const yn=r.age,Zn=yn+r.ageHeader;let Ar=Math.min(Zn-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 On=Math.floor(Ar/r.targetduration);if(A+=On,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 ${On} to part ${F}`)}r.tuneInGoal=Ar}if(p=this.getDeliveryDirectives(r,t.deliveryDirectives,A,F),je||!Qt){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,Te=(r.edge-ve)*1e3,Re=Ni(r,Te);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=Fi(e);return t!=null&&t.skip&&e.deltaUpdateFailed&&(n=t.msn,r=t.part,i=Di.No),new Vi(n,r,i)}checkRetry(e){const t=e.details,n=Vn(e),r=e.errorAction,{action:i,retryCount:s=0,retryConfig:c}=r||{},p=!!r&&!!c&&(i===or.RetryRequest||!r.resolved&&i===or.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=Yr(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 Te=e.groups[ve];if(!Te)throw new Error(`Audio track group ${ve} not found`);Object.keys(Te.channels).forEach(Re=>{M[Re]=(M[Re]||0)+Te.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:It(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(Te=>({type:"media-source",audio:{contentType:It(Te,"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,Te=1/0,Re=0,Pe=[];const{preferHDR:je,allowedVideoRanges:ct}=ls(e,r);for(let Qt=i.length;Qt--;){const Mn=o[i[Qt]];A=Mn.channels[2]>0,M=Math.min(M,Mn.minHeight),ve=Math.min(ve,Mn.minFramerate),Te=Math.min(Te,Mn.minBitrate);const yn=ct.filter(Zn=>Mn.videoRanges[Zn]>0);yn.length>0&&(F=!0,Pe=yn)}M=I(M)?M:0,ve=I(ve)?ve:0;const Gt=Math.max(1080,M),Wt=Math.max(30,ve);return Te=I(Te)?Te:t,t=Math.max(Te,t),F||(e=void 0,Pe=[]),{codecSet:i.reduce((Qt,Mn)=>{const yn=o[Mn];if(Mn===Qt)return Qt;if(yn.minBitrate>t)return Qi(Mn,`min bitrate of ${yn.minBitrate} > current estimate of ${t}`),Qt;if(!yn.hasDefaultAudio)return Qi(Mn,"no renditions with default or auto-select sound found"),Qt;if(c&&Mn.indexOf(c.substring(0,4))%5!==0)return Qi(Mn,`audio codec preference "${c}" not found`),Qt;if(s&&!p){if(!yn.channels[s])return Qi(Mn,`no renditions with ${s} channel sound found (channels options: ${Object.keys(yn.channels)})`),Qt}else if((!c||p)&&A&&yn.channels[2]===0)return Qi(Mn,"no renditions with stereo sound found"),Qt;return yn.minHeight>Gt?(Qi(Mn,`min resolution of ${yn.minHeight} > maximum of ${Gt}`),Qt):yn.minFramerate>Wt?(Qi(Mn,`min framerate of ${yn.minFramerate} > maximum of ${Wt}`),Qt):Pe.some(Zn=>yn.videoRanges[Zn]>0)?yn.maxScore<Re?(Qi(Mn,`max score of ${yn.maxScore} < selected max of ${Re}`),Qt):Qt&&(Nt(Mn)>=Nt(Qt)||yn.fragmentError>o[Qt].fragmentError)?Qt:(Re=yn.maxScore,Mn):(Qi(Mn,`no variants with VIDEO-RANGE of ${JSON.stringify(Pe)} found`),Qt)},void 0),videoRanges:Pe,preferHDR:je,minFramerate:ve,minBitrate:Te}}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(Sa(o,r,t))return n}return-1}function Sa(o,e,t){const{groupId:n,name:r,lang:i,assocLang:s,default:c}=o,p=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)&&(c===void 0||e.default===c)&&(p===void 0||e.forced===p)&&(!("characteristics"in o)||ti(o.characteristics||"",e.characteristics))&&(t===void 0||t(o,e))}function ti(o,e=""){const t=o.split(","),n=e.split(",");return t.length===n.length&&!t.some(r=>n.indexOf(r)===-1)}function Ur(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,Te,Re)=>{const Pe=Te.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=zi(e,n,ve=>{if(ve.videoRange!==p||ve.frameRate!==A||ve.codecSet.substring(0,4)!==F)return!1;const Te=ve.audioGroups,Re=t.filter(Pe=>!Te||Te.indexOf(Pe.groupId)!==-1);return ba(o,Re,r)>-1});return M>-1?M:zi(e,n,ve=>{const Te=ve.audioGroups,Re=t.filter(Pe=>!Te||Te.indexOf(Pe.groupId)!==-1);return ba(o,Re,r)>-1})}function zi(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 Oi{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 Te=this.bwEstimator.getEstimateTTFB(),Re=Math.abs(s.playbackRate);if(F<=Math.max(Te,1e3*(A/(Re*2))))return;const Pe=ve.len/Re,je=p.loading.first?p.loading.first-p.loading.start:-1,ct=p.loaded&&je>-1,Gt=this.getBwEstimate(),Wt=r.levels,xn=Wt[t.level],Qt=p.total||Math.max(p.loaded,Math.round(A*xn.averageBitrate/8));let Mn=ct?F-je:F;Mn<1&&ct&&(Mn=Math.min(F,p.loaded*8/Gt));const yn=ct?p.loaded*1e3/Mn:0,Zn=yn?(Qt-p.loaded)/yn:Qt*8/Gt+Te/1e3;if(Zn<=Pe)return;const Ar=yn?yn*8:Gt;let On=Number.POSITIVE_INFINITY,Qn;for(Qn=t.level-1;Qn>M;Qn--){const Tr=Wt[Qn].maxBitrate;if(On=this.getTimeToLoadFrag(Te/1e3,Ar,A*Tr,!Wt[Qn].details),On<Pe)break}if(On>=Zn||On>A*10)return;r.nextLoadLevel=r.nextAutoLevel=Qn,ct?this.bwEstimator.sample(F-Math.min(Te,je),p.loaded):this.bwEstimator.sampleTTFB(F);const di=Wt[Qn].maxBitrate;this.getBwEstimate()*this.hls.config.abrBandWidthUpFactor>di&&this.resetEstimator(di),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: ${Zn.toFixed(3)} s
|
|
|
Estimated load time for down switch fragment: ${On.toFixed(3)} s
|
|
|
TTFB estimate: ${je|0} ms
|
|
|
Current BW estimate: ${I(Gt)?Gt|0:"Unknown"} bps
|
|
|
New BW estimate: ${this.getBwEstimate()|0} bps
|
|
|
Switching to level ${Qn} @ ${di|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 je=this.findBestLevel(p,s,r,A,0,F,M);if(je>=0)return je}let ve=c?Math.min(c,i.maxStarvationDelay):i.maxStarvationDelay;if(!A){const je=this.bitrateTestDelay;je&&(ve=(c?Math.min(c,i.maxLoadingDelay):i.maxLoadingDelay)-je,b.info(`[abr] bitrate test took ${Math.round(1e3*je)}ms, set first fragment max fetchDuration to ${Math.round(1e3*ve)} ms`),F=M=1)}const Te=this.findBestLevel(p,s,r,A,ve,F,M);if(b.info(`[abr] ${A?"rebuffering expected":"buffer is empty"}, optimal quality level ${Te}`),Te>-1)return Te;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:Te}=this,{levels:Re,allAudioTracks:Pe,loadLevel:je,config:ct}=this.hls;if(Re.length===1)return 0;const Gt=Re[M],Wt=!!(Gt!=null&&(p=Gt.details)!=null&&p.live),xn=je===-1||F===-1;let Qt,Mn="SDR",yn=(Gt==null?void 0:Gt.frameRate)||0;const{audioPreference:Zn,videoPreference:Ar}=ct,On=this.audioTracksByGroup||(this.audioTracksByGroup=us(Pe));if(xn){if(this.firstSelection!==-1)return this.firstSelection;const ni=this.codecTiers||(this.codecTiers=ns(Re,On,t,n)),Zr=Ta(ni,Mn,e,Zn,Ar),{codecSet:Mi,videoRanges:Yi,minFramerate:Lr,minBitrate:Dr,preferHDR:ji}=Zr;Qt=Mi,Mn=ji?Yi[Yi.length-1]:Yi[0],yn=Lr,e=Math.max(e,Dr),b.log(`[abr] picked start tier ${JSON.stringify(Zr)}`)}else Qt=Gt==null?void 0:Gt.codecSet,Mn=Gt==null?void 0:Gt.videoRange;const Qn=Te?Te.duration:ve?ve.duration:0,di=this.bwEstimator.getEstimateTTFB()/1e3,Tr=[];for(let ni=n;ni>=t;ni--){var si;const Zr=Re[ni],Mi=ni>M;if(!Zr)continue;if(ct.useMediaCapabilities&&!Zr.supportedResult&&!Zr.supportedPromise){const Ra=navigator.mediaCapabilities;typeof(Ra==null?void 0:Ra.decodingInfo)=="function"&&as(Zr,On,Mn,yn,e,Zn)?(Zr.supportedPromise=ss(Zr,On,Ra),Zr.supportedPromise.then(Ua=>{if(!this.hls)return;Zr.supportedResult=Ua;const za=this.hls.levels,is=za.indexOf(Zr);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)))})):Zr.supportedResult=Ha}if(Qt&&Zr.codecSet!==Qt||Mn&&Zr.videoRange!==Mn||Mi&&yn>Zr.frameRate||!Mi&&yn>0&&yn<Zr.frameRate||Zr.supportedResult&&!((si=Zr.supportedResult.decodingInfoResults)!=null&&si[0].smooth)){Tr.push(ni);continue}const Yi=Zr.details,Lr=(Te?Yi==null?void 0:Yi.partTarget:Yi==null?void 0:Yi.averagetargetduration)||Qn;let Dr;Mi?Dr=c*e:Dr=s*e;const ji=Qn&&r>=Qn*2&&i===0?Re[ni].averageBitrate:Re[ni].maxBitrate,Si=this.getTimeToLoadFrag(di,Dr,ji*Lr,Yi===void 0);if(Dr>=ji&&(ni===F||Zr.loadError===0&&Zr.fragmentError===0)&&(Si<=di||!I(Si)||Wt&&!this.bitrateTestDelay||Si<A)){const Ra=this.forcedAutoLevel;return ni!==je&&(Ra===-1||Ra!==je)&&(Tr.length&&b.trace(`[abr] Skipped level(s) ${Tr.join(",")} of ${n} max with CODECS and VIDEO-RANGE:"${Re[Tr[0]].codecs}" ${Re[Tr[0]].videoRange}; not compatible with "${Gt.codecs}" ${Mn}`),b.info(`[abr] switch candidate:${M}->${ni} adjustedbw(${Math.round(Dr)})-bitrate=${Math.round(Dr-ji)} ttfb:${di.toFixed(1)} avgDuration:${Lr.toFixed(1)} maxFetchDuration:${A.toFixed(1)} fetchDuration:${Si.toFixed(1)} firstSelection:${xn} codecSet:${Qt} videoRange:${Mn} hls.loadLevel:${je}`)),xn&&(this.firstSelection=ni),ni}}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 Te=Math.max(s,r.start(F)),Re=Math.min(c,r.end(F));Re>Te&&(i.partial=!0,i.time.push({startPTS:Te,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 Ei{static isBuffered(e,t){try{if(e){const n=Ei.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=Ei.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&&_a(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 _i{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(Te=>Te[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=Pi(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:(Te,Re,Pe,je)=>{this.resetLoader(e,A);let ct=Te.data;Pe.resetIV&&e.decryptdata&&(e.decryptdata.iv=new Uint8Array(ct.slice(0,16)),ct=ct.slice(16)),c({frag:e,part:null,payload:ct,networkDetails:je})},onError:(Te,Re,Pe,je)=>{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},Te),error:new Error(`HTTP Error ${Te.code} ${Te.text}`),networkDetails:Pe,stats:je}))},onAbort:(Te,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:Te}))},onTimeout:(Te,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:Te}))},onProgress:(Te,Re,Pe,je)=>{t&&t({frag:e,part:null,payload:Pe,networkDetails:je})}})})}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=Pi(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:(Te,Re,Pe,je)=>{this.resetLoader(e,A),this.updateStatsFromPart(e,t);const ct={frag:e,part:t,payload:Te.data,networkDetails:je};n(ct),c(ct)},onError:(Te,Re,Pe,je)=>{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},Te),error:new Error(`HTTP Error ${Te.code} ${Te.text}`),networkDetails:Pe,stats:je}))},onAbort:(Te,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:Te}))},onTimeout:(Te,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:Te}))}})})}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],Te=new Uint32Array(256);let Re=0,Pe=0,je=0;for(je=0;je<256;je++)je<128?Te[je]=je<<1:Te[je]=je<<1^283;for(je=0;je<256;je++){let ct=Pe^Pe<<1^Pe<<2^Pe<<3^Pe<<4;ct=ct>>>8^ct&255^99,e[Re]=ct,t[ct]=Re;const Gt=Te[Re],Wt=Te[Gt],xn=Te[Wt];let Qt=Te[ct]*257^ct*16843008;r[Re]=Qt<<24|Qt>>>8,i[Re]=Qt<<16|Qt>>>16,s[Re]=Qt<<8|Qt>>>24,c[Re]=Qt,Qt=xn*16843009^Wt*65537^Gt*257^Re*16843008,A[ct]=Qt<<24|Qt>>>8,F[ct]=Qt<<16|Qt>>>16,M[ct]=Qt<<8|Qt>>>24,ve[ct]=Qt,Re?(Re=Gt^Te[Te[Te[xn^Gt]]],Pe^=Te[Te[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,Te=this.invSubMix,Re=Te[0],Pe=Te[1],je=Te[2],ct=Te[3];let Gt,Wt;for(c=0;c<s;c++){if(c<i){Gt=A[c]=t[c];continue}Wt=Gt,c%i===0?(Wt=Wt<<8|Wt>>>24,Wt=M[Wt>>>24]<<24|M[Wt>>>16&255]<<16|M[Wt>>>8&255]<<8|M[Wt&255],Wt^=ve[c/i|0]<<24):i>6&&c%i===4&&(Wt=M[Wt>>>24]<<24|M[Wt>>>16&255]<<16|M[Wt>>>8&255]<<8|M[Wt&255]),A[c]=Gt=(A[c-i]^Wt)>>>0}for(p=0;p<s;p++)c=s-p,p&3?Wt=A[c]:Wt=A[c-4],p<4||c<=4?F[p]=Wt:F[p]=Re[M[Wt>>>24]]^Pe[M[Wt>>>16&255]]^je[M[Wt>>>8&255]]^ct[M[Wt&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 Te=ve[0],Re=ve[1],Pe=ve[2],je=ve[3];const ct=new Int32Array(e),Gt=new Int32Array(ct.length);let Wt,xn,Qt,Mn,yn,Zn,Ar,On,Qn,di,Tr,si,ni,Zr;const Mi=this.networkToHostOrderSwap;for(;t<ct.length;){for(Qn=Mi(ct[t]),di=Mi(ct[t+1]),Tr=Mi(ct[t+2]),si=Mi(ct[t+3]),yn=Qn^i[0],Zn=si^i[1],Ar=Tr^i[2],On=di^i[3],ni=4,Zr=1;Zr<r;Zr++)Wt=p[yn>>>24]^A[Zn>>16&255]^F[Ar>>8&255]^M[On&255]^i[ni],xn=p[Zn>>>24]^A[Ar>>16&255]^F[On>>8&255]^M[yn&255]^i[ni+1],Qt=p[Ar>>>24]^A[On>>16&255]^F[yn>>8&255]^M[Zn&255]^i[ni+2],Mn=p[On>>>24]^A[yn>>16&255]^F[Zn>>8&255]^M[Ar&255]^i[ni+3],yn=Wt,Zn=xn,Ar=Qt,On=Mn,ni=ni+4;Wt=s[yn>>>24]<<24^s[Zn>>16&255]<<16^s[Ar>>8&255]<<8^s[On&255]^i[ni],xn=s[Zn>>>24]<<24^s[Ar>>16&255]<<16^s[On>>8&255]<<8^s[yn&255]^i[ni+1],Qt=s[Ar>>>24]<<24^s[On>>16&255]<<16^s[yn>>8&255]<<8^s[Zn&255]^i[ni+2],Mn=s[On>>>24]<<24^s[yn>>16&255]<<16^s[Zn>>8&255]<<8^s[Ar&255]^i[ni+3],Gt[t]=Mi(Wt^Te),Gt[t+1]=Mi(Mn^Re),Gt[t+2]=Mi(Qt^Pe),Gt[t+3]=Mi(xn^je),Te=Qn,Re=di,Pe=Tr,je=si,t=t+4}return Gt.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=wt(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}},Dn={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=Dn.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 _i(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=Dn.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 Ei.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===Dn.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=Ei.bufferInfo(r||n,s,e.maxBufferHole);if(this.log(`media seeking to ${I(s)?s.toFixed(3):s}, state: ${i}`),this.state===Dn.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=Dn.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===Dn.FRAG_LOADING||!this.fragCurrent&&s===Dn.PARSING)&&(this.fragmentTracker.removeFragment(e),this.state=Dn.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===Dn.STOPPED||this.state===Dn.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===Dn.STOPPED||this.state===Dn.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=Dn.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(Ei.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=Dn.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=Dn.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=Dn.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===Dn.KEY_LOADING&&(this.state=Dn.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=Dn.FRAG_LOADING;let Te;return c?Te=c.then(Re=>!Re||this.fragContextChanged(Re.frag)?null:this.doFragPartsLoad(e,ve,t,r)).catch(Re=>this.handleFragLoadError(Re)):Te=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")):Te}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=Dn.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 Te=ve.part;this.hls.trigger(u.FRAG_LOADED,ve);const Re=cr(n,e.sn,M.index+1)||xr(A,e.sn,M.index+1);if(Re)F(Re);else return i({frag:e,part:Te,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!==Dn.PARSING){!this.fragCurrent&&this.state!==Dn.STOPPED&&this.state!==Dn.ERROR&&(this.state=Dn.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?cr(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!==Dn.PARSING)return;const{data1:c,data2:p}=e;let A=c;if(c&&p&&(A=wt(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(!Ei.isBuffered(t,t.currentTime)){this.flushMainBuffer(0,e.start);return}const n=t.currentTime,r=Ei.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=Ei.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 Ei.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=fr(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 Te=e>t-A?0:A;ve=wa(i,s,e,Te)}else ve=s[s.length-1];if(ve){const Te=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 je=s[Te+1];ve.sn<c&&this.fragmentTracker.getState(je)!==pi.OK?ve=je: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!==Dn.FRAG_LOADING_WAITING_RETRY)&&(this.state=Dn.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===or.RetryRequest&&A){this.resetStartWhenNotLoaded(this.levelLastLoaded);const F=Yr(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=Dn.FRAG_LOADING_WAITING_RETRY}else if(A&&s)if(this.resetFragmentErrors(e),p<A.maxNumRetry)!i&&c!==or.RemoveAlternatePermanently&&(s.resolved=!0);else{b.warn(`${t.details} reached or exceeded max retry (${p})`);return}else(s==null?void 0:s.action)===or.SendAlternateToPenaltyBox?this.state=Dn.WAITING_LEVEL:this.state=Dn.ERROR;this.tickImmediate()}reduceLengthAndFlushBuffer(e){if(this.state===Dn.PARSING||this.state===Dn.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!==Dn.STOPPED&&(this.state=Dn.IDLE)}afterBufferFlushed(e,t,n){if(!e)return;const r=Ei.getBuffered(e);this.fragmentTracker.detectEvictedFragments(t,r,n),this.state===Dn.ENDED&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state=Dn.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=Dn.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=wt(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?_(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=wt(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,Te=ve+M,Re=Math.max(0,t+Te-e.length);Re?(p=new Uint8Array(Te-ve),p.set(e.subarray(t+ve,e.length),0)):p=e.subarray(t+ve,t+Te);const Pe={unit:p,pts:s};return Re||o.samples.push(Pe),{sample:Pe,length:Te,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,Te=Ao[t][n],Re=Eo[n],Pe=Te*8*Re,je=Math.floor(Te*A/M+s)*Re;if(Ps===null){const Wt=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Ps=Wt?parseInt(Wt[1]):0}return!!Ps&&Ps<=87&&n===2&&A>=224e3&&c===0&&(o[e+3]=o[e+3]|128),{sampleRate:M,channelCount:ve,frameLength:je,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=Xe(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=kt.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=wt(this.remainderData,e));const c=Jt(n);this.remainderData=c.remainder,r.samples=c.valid||new Uint8Array}else r.samples=n;const s=this.extractID3Track(r,t);return i.samples=Pt(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=Pt(e,t),{videoTrack:t,audioTrack:Ga(),id3Track:r,textTrack:Ga()}}extractID3Track(e,t){const n=this.id3Track;if(e.samples.length){const r=We(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&&_(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 Te=(e[t+6]<<8|e[t+7])>>12-ve&1,Pe=[2,1,2,3,3,4,4,5][M]+Te,je=e[t+5]>>3,ct=e[t+5]&7,Gt=new Uint8Array([i<<6|je<<1|ct>>2,(ct&3)<<6|M<<3|Te<<2|p>>4,p<<4&224]),Wt=1536/c*9e4,xn=n+r*Wt,Qt=e.subarray(t,t+F);return o.config=Gt,o.channelCount=Pe,o.samplerate=c,o.samples.push({unit:Qt,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 ge{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),Te=this.skipEG.bind(this),Re=this.skipUEG.bind(this),Pe=this.skipScalingList.bind(this);p();const je=p();if(A(5),ve(3),p(),Re(),je===100||je===110||je===122||je===244||je===44||je===83||je===86||je===118||je===128){const Mn=F();if(Mn===3&&ve(1),Re(),Re(),ve(1),M())for(s=Mn!==3?8:12,c=0;c<s;c++)M()&&(c<6?Pe(16):Pe(64))}Re();const ct=F();if(ct===0)F();else if(ct===1)for(ve(1),Te(),Te(),i=F(),c=0;c<i;c++)Te();Re(),ve(1);const Gt=F(),Wt=F(),xn=A(1);xn===0&&ve(1),ve(1),M()&&(e=F(),t=F(),n=F(),r=F());let Qt=[1,1];if(M()&&M())switch(p()){case 1:Qt=[1,1];break;case 2:Qt=[12,11];break;case 3:Qt=[10,11];break;case 4:Qt=[16,11];break;case 5:Qt=[40,33];break;case 6:Qt=[24,11];break;case 7:Qt=[20,11];break;case 8:Qt=[32,11];break;case 9:Qt=[80,33];break;case 10:Qt=[18,11];break;case 11:Qt=[15,11];break;case 12:Qt=[64,33];break;case 13:Qt=[160,99];break;case 14:Qt=[4,3];break;case 15:Qt=[3,2];break;case 16:Qt=[2,1];break;case 255:{Qt=[p()<<8|p(),p()<<8|p()];break}}return{width:Math.ceil((Gt+1)*16-e*2-t*2),height:(2-xn)*(Wt+1)*16-(xn?2:4)*(n+r),pixelRatio:Qt}}readSliceType(){return this.readUByte(),this.readUEG(),this.readUEG()}}class He 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 je=F.data;if(A&&je.length>4){const ct=new ge(je).readSliceType();(ct===2||ct===4||ct===7||ct===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,St(F.data,1,n.pts,t.samples);break}case 7:{var Te,Re;p=!0,A=!0;const Pe=F.data,ct=new ge(Pe).readSPS();if(!e.sps||e.width!==ct.width||e.height!==ct.height||((Te=e.pixelRatio)==null?void 0:Te[0])!==ct.pixelRatio[0]||((Re=e.pixelRatio)==null?void 0:Re[1])!==ct.pixelRatio[1]){e.width=ct.width,e.height=ct.height,e.pixelRatio=ct.pixelRatio,e.sps=[Pe],e.duration=i;const Gt=Pe.subarray(1,4);let Wt="avc1.";for(let xn=0;xn<3;xn++){let Qt=Gt[xn].toString(16);Qt.length<2&&(Qt="0"+Qt),Wt+=Qt}e.codec=Wt}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 Te={data:t.subarray(M,A),type:ve};s.push(Te)}else{const Te=this.getLastNalUnit(e.samples);Te&&(i&&c<=4-i&&Te.state&&(Te.data=Te.data.subarray(0,Te.data.byteLength-i)),A>0&&(Te.data=wt(Te.data,t.subarray(0,A)),Te.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 Te={data:t.subarray(M,n),type:ve,state:r};s.push(Te)}if(s.length===0){const Te=this.getLastNalUnit(e.samples);Te&&(Te.data=wt(Te.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 rt=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 He}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(rt*5,t-rt)+1,r=0;for(;r<n;){let i=!1,s=-1,c=0;for(let p=r;p<t;p+=rt)if(e[p]===71&&(t-p===rt||e[p+rt]===71)){if(c++,s===-1&&(s=p,s!==0&&(n=Math.min(s+rt*99,e.length-rt)+1)),i||(i=Ct(e,p)===0),i&&c>1&&(s===0&&c>2||p+rt>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:kt[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,Te=p.pid,Re=c.pesData,Pe=p.pesData,je=null,ct=this.pmtParsed,Gt=this._pmtId,Wt=e.length;if(this.remainderData&&(e=wt(this.remainderData,e),Wt=e.length,this.remainderData=null),Wt<rt&&!r)return this.remainderData=e,{audioTrack:c,videoTrack:s,id3Track:p,textTrack:A};const xn=Math.max(0,st.syncOffset(e));Wt-=(Wt-xn)%rt,Wt<e.byteLength&&!r&&(this.remainderData=new Uint8Array(e.buffer,Wt,e.buffer.byteLength-Wt));let Qt=0;for(let yn=xn;yn<Wt;yn+=rt)if(e[yn]===71){const Zn=!!(e[yn+1]&64),Ar=Ct(e,yn),On=(e[yn+3]&48)>>4;let Qn;if(On>1){if(Qn=yn+5+e[yn+4],Qn===yn+rt)continue}else Qn=yn+4;switch(Ar){case F:Zn&&(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+rt)),M.size+=yn+rt-Qn);break;case ve:if(Zn){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+rt)),Re.size+=yn+rt-Qn);break;case Te:Zn&&(Pe&&(i=Kt(Pe))&&this.parseID3PES(p,i),Pe={data:[],size:0}),Pe&&(Pe.data.push(e.subarray(Qn,yn+rt)),Pe.size+=yn+rt-Qn);break;case 0:Zn&&(Qn+=e[Qn]+1),Gt=this._pmtId=Rt(e,Qn);break;case Gt:{Zn&&(Qn+=e[Qn]+1);const di=Et(e,Qn,this.typeSupported,n,this.observer);F=di.videoPid,F>0&&(s.pid=F,s.segmentCodec=di.segmentVideoCodec),ve=di.audioPid,ve>0&&(c.pid=ve,c.segmentCodec=di.segmentAudioCodec),Te=di.id3Pid,Te>0&&(p.pid=Te),je!==null&&!ct&&(b.warn(`MPEG-TS PMT found at ${yn} after unknown PID '${je}'. Backtracking to sync byte @${xn} to parse all TS packets.`),je=null,yn=xn-188),ct=this.pmtParsed=!0;break}case 17:case 8191:break;default:je=Ar;break}}else Qt++;Qt>0&&Bt(this.observer,new Error(`Found ${Qt} TS packet/s that do not start with 0x47`)),s.pesData=M,c.pesData=Re,p.pesData=Pe;const Mn={audioTrack:c,videoTrack:s,id3Track:p,textTrack:A};return r&&this.extractRemainingSamples(Mn),Mn}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=wt(r.sample.unit,i);else{const Te=ve-M;r.sample.unit.set(i.subarray(0,M),Te),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 Ct(o,e){return((o[e+1]&31)<<8)+o[e+2]}function Rt(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=Ct(o,e),F=(o[e+3]&15)<<8|o[e+4];switch(o[e]){case 207:if(!n){we("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){we("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){we("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 we(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]=wt(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,Te=c.length;ve<Te;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&&_(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 wt(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 Ln=9e4;function zn(o,e,t=1,n=!1){const r=o*e*t;return n?Math.round(r):r}function Bn(o,e,t=1,n=!1){return zn(o,e,1/t,n)}function Wn(o,e=!1){return zn(o,1e3,1/Ln,e)}function br(o,e=1){return zn(o,Ln,1/e)}const Sr=10*1e3,pr=1024,Or=1152,Br=1536;let Gn=null,mr=null;class Yn{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,Gn===null){const s=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Gn=s?parseInt(s[1]):0}if(mr===null){const i=navigator.userAgent.match(/Safari\/(\d+)/i);mr=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=Un(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,Te,Re,Pe=i,je=i;const ct=e.pid>-1,Gt=t.pid>-1,Wt=t.samples.length,xn=e.samples.length>0,Qt=c&&Wt>0||Wt>1;if((!ct||xn)&&(!Gt||Qt)||this.ISGenerated||c){if(this.ISGenerated){var yn,Zn,Ar,On;const si=this.videoTrackConfig;si&&(t.width!==si.width||t.height!==si.height||((yn=t.pixelRatio)==null?void 0:yn[0])!==((Zn=si.pixelRatio)==null?void 0:Zn[0])||((Ar=t.pixelRatio)==null?void 0:Ar[1])!==((On=si.pixelRatio)==null?void 0:On[1]))&&this.resetInitSegment()}else M=this.generateIS(e,t,i,s);const Qn=this.isVideoContiguous;let di=-1,Tr;if(Qt&&(di=hr(t.samples),!Qn&&this.config.forceKeyFrameOnDiscontinuity))if(Re=!0,di>0){b.warn(`[mp4-remuxer]: Dropped ${di} out of ${Wt} video samples due to a missing keyframe`);const si=this.getVideoStartPts(t.samples);t.samples=t.samples.slice(di),t.dropped+=di,je+=(t.samples[0].pts-si)/t.inputTimeScale,Tr=je}else di===-1&&(b.warn(`[mp4-remuxer]: No keyframe found out of ${Wt} video samples`),Re=!1);if(this.ISGenerated){if(xn&&Qt){const si=this.getVideoStartPts(t.samples),Zr=(Un(e.samples[0].pts,si)-si)/t.inputTimeScale;Pe+=Math.max(0,Zr),je+=Math.max(0,-Zr)}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,Gt||Qt||p===at.AUDIO?je:void 0),Qt){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,je,Qn,si)}}else Qt&&(A=this.remuxVideo(t,je,Qn,0));A&&(A.firstKeyFrame=di,A.independent=di!==-1,A.firstKeyFramePTS=Tr)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(n.samples.length&&(Te=Ir(n,i,this._initPTS,this._initDTS)),r.samples.length&&(ve=Gr(r,i,this._initPTS))),{audio:F,video:A,initSegment:M,independent:Re,text:ve,id3:Te}}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,Te,Re;if(F&&(ve=Te=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=Te=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),je=Math.round(Re*n);Te=Math.min(Te,Un(s[0].dts,Pe)-je),ve=Math.min(ve,Pe-je)}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:Te,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,Te,Re,Pe=Number.POSITIVE_INFINITY,je=Number.NEGATIVE_INFINITY,ct=!1;if(!n||F===null){const Lr=t*i,Dr=s[0].pts-Un(s[0].dts,s[0].pts);Gn&&F!==null&&Math.abs(Lr-Dr-F)<15e3?n=!0:F=Lr-Dr}const Gt=A.baseTime*i/A.timescale;for(let Lr=0;Lr<p;Lr++){const Dr=s[Lr];Dr.pts=Un(Dr.pts-Gt,F),Dr.dts=Un(Dr.dts-Gt,F),Dr.dts<s[Lr>0?Lr-1:Lr].dts&&(ct=!0)}ct&&s.sort(function(Lr,Dr){const ji=Lr.dts-Dr.dts,Si=Lr.pts-Dr.pts;return ji||Si}),Te=s[0].dts,Re=s[s.length-1].dts;const Wt=Re-Te,xn=Wt?Math.round(Wt/(p-1)):ve||e.inputTimeScale/30;if(n){const Lr=Te-F,Dr=Lr>xn,ji=Lr<-1;if((Dr||ji)&&(Dr?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)}`),!ji||F>=s[0].pts||Gn)){Te=F;const Si=s[0].pts-Lr;if(Dr)s[0].dts=Te,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(Te,!0)}, delta: ${Wn(Lr,!0)} ms`)}}Te=Math.max(0,Te);let Qt=0,Mn=0,yn=Te;for(let Lr=0;Lr<p;Lr++){const Dr=s[Lr],ji=Dr.units,Si=ji.length;let Gi=0;for(let Ra=0;Ra<Si;Ra++)Gi+=ji[Ra].data.length;Mn+=Gi,Qt+=Si,Dr.length=Gi,Dr.dts<yn?(Dr.dts=yn,yn+=xn/4|0||1):yn=Dr.dts,Pe=Math.min(Dr.pts,Pe),je=Math.max(Dr.pts,je)}Re=s[p-1].dts;const Zn=Mn+4*Qt+8;let Ar;try{Ar=new Uint8Array(Zn)}catch(Lr){this.observer.emit(u.ERROR,u.ERROR,{type:x.MUX_ERROR,details:m.REMUX_ALLOC_ERROR,fatal:!1,error:Lr,bytes:Zn,reason:`fail allocating video mdat ${Zn}`});return}const On=new DataView(Ar.buffer);On.setUint32(0,Zn),Ar.set(ft.types.mdat,4);let Qn=!1,di=Number.POSITIVE_INFINITY,Tr=Number.POSITIVE_INFINITY,si=Number.NEGATIVE_INFINITY,ni=Number.NEGATIVE_INFINITY;for(let Lr=0;Lr<p;Lr++){const Dr=s[Lr],ji=Dr.units;let Si=0;for(let Ua=0,za=ji.length;Ua<za;Ua++){const is=ji[Ua],No=is.data,sl=is.data.byteLength;On.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-Dr.dts,Gi=s[Lr+1].pts-Dr.pts;else{const Ua=this.config,za=Lr>0?Dr.dts-s[Lr-1].dts:xn;if(Gi=Lr>0?Dr.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)-Dr.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(Dr.pts-Dr.dts);di=Math.min(di,ve),si=Math.max(si,ve),Tr=Math.min(Tr,Gi),ni=Math.max(ni,Gi),c.push(new re(Dr.key,ve,Si,Ra))}if(c.length){if(Gn){if(Gn<70){const Lr=c[0].flags;Lr.dependsOn=2,Lr.isNonSync=0}}else if(mr&&ni-Tr<si-di&&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=Te;for(let Dr=0,ji=c.length;Dr<ji;Dr++){const Si=Lr+c[Dr].duration,Gi=Lr+c[Dr].cts;if(Dr<ji-1){const Ra=Si+c[Dr+1].cts;c[Dr].duration=Ra-Gi}else c[Dr].duration=Dr?c[Dr-1].duration:xn;c[Dr].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++,Te,a({},e,{samples:c})),data2:Ar,startPTS:Pe/i,endPTS:(je+ve)/i,startDTS:Te/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 Br;default:return pr}}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,Te=[],Re=i!==void 0;let Pe=e.samples,je=ve?0:8,ct=this.nextAudioPts||-1;const Gt=t*s,Wt=M.baseTime*s/M.timescale;if(this.isAudioContiguous=n=n||Pe.length&&ct>0&&(r&&Math.abs(Gt-ct)<9e3||Math.abs(Un(Pe[0].pts-Wt,Gt)-ct)<20*F),Pe.forEach(function(Zr){Zr.pts=Un(Zr.pts-Wt,Gt)}),!n||ct<0){if(Pe=Pe.filter(Zr=>Zr.pts>=0),!Pe.length)return;i===0?ct=0:r&&!Re?ct=Math.max(0,Gt):ct=Pe[0].pts}if(e.segmentCodec==="aac"){const Zr=this.config.maxAudioFramesDrift;for(let Mi=0,Yi=ct;Mi<Pe.length;Mi++){const Lr=Pe[Mi],Dr=Lr.pts,ji=Dr-Yi,Si=Math.abs(1e3*ji/s);if(ji<=-Zr*F&&Re)Mi===0&&(b.warn(`Audio frame @ ${(Dr/s).toFixed(3)}s overlaps nextAudioPts by ${Math.round(1e3*ji/s)} ms.`),this.nextAudioPts=ct=Yi=Dr);else if(ji>=Zr*F&&Si<Sr&&Re){let Gi=Math.round(ji/F);Yi=Dr-Gi*F,Yi<0&&(Gi--,Yi+=F),Mi===0&&(this.nextAudioPts=ct=Yi),b.warn(`[mp4-remuxer]: Injecting ${Gi} audio frame @ ${(Yi/s).toFixed(3)}s due to ${Math.round(1e3*ji/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(Mi,0,{unit:za,pts:Ua}),Yi+=F,Mi++}}Lr.pts=Yi,Yi+=F}}let xn=null,Qt=null,Mn,yn=0,Zn=Pe.length;for(;Zn--;)yn+=Pe[Zn].unit.byteLength;for(let Zr=0,Mi=Pe.length;Zr<Mi;Zr++){const Yi=Pe[Zr],Lr=Yi.unit;let Dr=Yi.pts;if(Qt!==null){const Si=Te[Zr-1];Si.duration=Math.round((Dr-Qt)/p)}else if(n&&e.segmentCodec==="aac"&&(Dr=ct),xn=Dr,yn>0){yn+=je;try{Mn=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(Mn.buffer).setUint32(0,yn),Mn.set(ft.types.mdat,4))}else return;Mn.set(Lr,je);const ji=Lr.byteLength;je+=ji,Te.push(new re(!0,A,ji,0)),Qt=Dr}const Ar=Te.length;if(!Ar)return;const On=Te[Te.length-1];this.nextAudioPts=ct=Qt+p*On.duration;const Qn=ve?new Uint8Array(0):ft.moof(e.sequenceNumber++,xn/p,a({},e,{samples:Te}));e.samples=[];const di=xn/s,Tr=ct/s,ni={data1:Qn,data2:Mn,startPTS:di,endPTS:Tr,startDTS:di,endDTS:Tr,type:"audio",hasAudio:!0,hasVideo:!1,nb:Ar};return this.isAudioContiguous=!0,ni}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,Te=c*pr,Re=Math.ceil((ve-M)/Te),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 je=[];for(let ct=0;ct<Re;ct++){const Gt=M+ct*Te;je.push({unit:Pe,pts:Gt,dts:Gt})}return e.samples=je,this.remuxAudio(e,t,n,!1)}}function Un(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 hr(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=Un(p.pts-t.baseTime*i/t.timescale,e*i)/i,p.dts=Un(p.dts-n.baseTime*i/n.timescale,e*i)/i}const s=o.samples;return o.samples=[],{samples:s}}function Gr(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=Un(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(be(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=Xe(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 Te={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&&(Te.tracks=this.initTracks,this.emitInitSegment=!1);const Pe=bn(ve,Re),je=$e(Re,ve),ct=je===null?i:je;(d(A,ct,i,Pe)||Te.timescale!==A.timescale&&s)&&(Te.initPTS=ct-i,A&&A.timescale===1&&b.warn(`Adjusting initPTS by ${Te.initPTS-A.baseTime}`),this.initPTS=A={baseTime:Te.initPTS,timescale:1});const Gt=e?ct-A.baseTime/A.timescale:F,Wt=Gt+Pe;jt(Re,ve,A.baseTime/A.timescale),Pe>0?this.lastEndTime=Wt:(b.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const xn=!!Re.audio,Qt=!!Re.video;let Mn="";xn&&(Mn+="audio"),Qt&&(Mn+="video");const yn={data1:ve,startPTS:Gt,startDTS:Gt,endPTS:Wt,endDTS:Wt,type:Mn,hasAudio:xn,hasVideo:Qt,nb:1,dropped:0};return M.audio=yn.type==="audio"?yn:void 0,M.video=yn.type!=="audio"?yn:void 0,M.initSegment=Te,M.id3=Ir(n,i,A,A),r.samples.length&&(M.text=Gr(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 _n(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 v;try{v=self.performance.now.bind(self.performance)}catch(o){b.debug("Unable to use Performance API on this environment"),v=ke==null?void 0:ke.Date.now}const N=[{demux:_o,remux:l},{demux:st,remux:Yn},{demux:no,remux:Yn},{demux:mn,remux:Yn}];N.splice(2,0,{demux:Gs,remux:Yn});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=v();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:Te,initSegmentChange:Re}=r||c,{audioCodec:Pe,videoCodec:je,defaultInitPts:ct,duration:Gt,initSegmentData:Wt}=p,xn=Ne(s,t);if(xn&&xn.method==="AES-128"){const Zn=this.getDecrypter();if(Zn.isSync()){let Ar=Zn.softwareDecrypt(s,xn.key.buffer,xn.iv.buffer);if(n.part>-1&&(Ar=Zn.flush()),!Ar)return i.executeEnd=v(),Me(n);s=new Uint8Array(Ar)}else return this.decryptionPromise=Zn.webCryptoDecrypt(s,xn.key.buffer,xn.iv.buffer).then(Ar=>{const On=this.push(Ar,null,n);return this.decryptionPromise=null,On}),this.decryptionPromise}const Qt=this.needsProbing(F,M);if(Qt){const Zn=this.configureTransmuxer(s);if(Zn)return b.warn(`[transmuxer] ${Zn.message}`),this.observer.emit(u.ERROR,u.ERROR,{type:x.MEDIA_ERROR,details:m.FRAG_PARSING_ERROR,fatal:!1,error:Zn,reason:Zn.message}),i.executeEnd=v(),Me(n)}(F||M||Re||Qt)&&this.resetInitSegment(Wt,Pe,je,Gt,t),(F||Re||Qt)&&this.resetInitialTimestamp(ct),A||this.resetContiguity();const Mn=this.transmux(s,xn,Te,ve,n),yn=this.currentTransmuxState;return yn.contiguous=!0,yn.discontinuity=!1,yn.trackSwitch=!1,i.executeEnd=v(),Mn}flush(e){const t=e.transmuxing;t.executeStart=v();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=v(),[Me(e)];const F=p.flush(c);return tt(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=v()}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,Te=N.length;ve<Te;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 Me=o=>({remuxResult:{},chunkMeta:o});function tt(o){return"then"in o&&o.then instanceof Function}class gt{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 Ft{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 Yt={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 Te=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],Te]:p._events[Re].push(Te):(p._events[Re]=Te,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,Te=M.length,Re=new Array(Te);ve<Te;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,Te,Re){var Pe=t?t+A:A;if(!this._events[Pe])return!1;var je=this._events[Pe],ct=arguments.length,Gt,Wt;if(je.fn){switch(je.once&&this.removeListener(A,je.fn,void 0,!0),ct){case 1:return je.fn.call(je.context),!0;case 2:return je.fn.call(je.context,F),!0;case 3:return je.fn.call(je.context,F,M),!0;case 4:return je.fn.call(je.context,F,M,ve),!0;case 5:return je.fn.call(je.context,F,M,ve,Te),!0;case 6:return je.fn.call(je.context,F,M,ve,Te,Re),!0}for(Wt=1,Gt=new Array(ct-1);Wt<ct;Wt++)Gt[Wt-1]=arguments[Wt];je.fn.apply(je.context,Gt)}else{var xn=je.length,Qt;for(Wt=0;Wt<xn;Wt++)switch(je[Wt].once&&this.removeListener(A,je[Wt].fn,void 0,!0),ct){case 1:je[Wt].fn.call(je[Wt].context);break;case 2:je[Wt].fn.call(je[Wt].context,F);break;case 3:je[Wt].fn.call(je[Wt].context,F,M);break;case 4:je[Wt].fn.call(je[Wt].context,F,M,ve);break;default:if(!Gt)for(Qt=1,Gt=new Array(ct-1);Qt<ct;Qt++)Gt[Qt-1]=arguments[Qt];je[Wt].fn.apply(je[Wt].context,Gt)}}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 Te=t?t+A:A;if(!this._events[Te])return this;if(!F)return s(this,Te),this;var Re=this._events[Te];if(Re.fn)Re.fn===F&&(!ve||Re.once)&&(!M||Re.context===M)&&s(this,Te);else{for(var Pe=0,je=[],ct=Re.length;Pe<ct;Pe++)(Re[Pe].fn!==F||ve&&!Re[Pe].once||M&&Re[Pe].context!==M)&&je.push(Re[Pe]);je.length?this._events[Te]=je.length===1?je[0]:je:s(this,Te)}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})(Yt);var Sn=Yt.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=An(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:Te}=this,Re=s?s.start:i.start,Pe=i.decryptdata,je=this.frag,ct=!(je&&i.cc===je.cc),Gt=!(je&&A.level===je.level),Wt=je?A.sn-je.sn:-1,xn=this.part?A.part-this.part.index:-1,Qt=Wt===0&&A.id>1&&A.id===(je==null?void 0:je.stats.chunkCount),Mn=!Gt&&(Wt===1||Wt===0&&(xn===1||Qt&&xn<=0)),yn=self.performance.now();(Gt||Wt||i.stats.parsing.start===0)&&(i.stats.parsing.start=yn),s&&(xn||!Mn)&&(s.stats.parsing.start=yn);const Zn=!(je&&((M=i.initSegment)==null?void 0:M.url)===((ve=je.initSegment)==null?void 0:ve.url)),Ar=new Ft(ct,Mn,p,Gt,Re,Zn);if(!Mn||ct||Zn){b.log(`[transmuxer-interface, ${i.type}]: Starting new transmux session for sn: ${A.sn} p: ${A.part} level: ${A.level} id: ${A.id}
|
|
|
discontinuity: ${ct}
|
|
|
trackSwitch: ${Gt}
|
|
|
contiguous: ${Mn}
|
|
|
accurateTimeOffset: ${p}
|
|
|
timeOffset: ${Re}
|
|
|
initSegmentChange: ${Zn}`);const On=new gt(n,r,t,c,F);this.configureTransmuxer(On)}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(Te){const On=Te.push(e,Pe,A,Ar);tt(On)?(Te.async=!0,On.then(Qn=>{this.handleTransmuxComplete(Qn)}).catch(Qn=>{this.transmuxerError(Qn,A,"transmuxer-interface push error")})):(Te.async=!1,this.handleTransmuxComplete(On))}}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);tt(n)||t.async?(tt(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)}}const gn=100;class Fn 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===Dn.WAITING_INIT_PTS&&this.tick()}}startLoad(e){if(!this.levels){this.startPosition=e,this.state=Dn.STOPPED;return}const t=this.lastCurrentTime;this.stopLoad(),this.setInterval(gn),t>0&&e===-1?(this.log(`Override startPosition with lastCurrentTime @${t.toFixed(3)}`),e=t,this.state=Dn.IDLE):(this.loadedmetadata=!1,this.state=Dn.WAITING_TRACK),this.nextLoadPosition=this.startPosition=this.lastCurrentTime=e,this.tick()}doTick(){switch(this.state){case Dn.IDLE:this.doTickIdle();break;case Dn.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=Dn.WAITING_INIT_PTS}break}case Dn.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=Dn.IDLE}break}case Dn.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=Dn.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=Ei.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=Dn.IDLE}}this.onTickEnd()}clearWaitingFragment(){const e=this.waitingData;e&&(this.fragmentTracker.removeFragment(e.frag),this.waitingData=null,this.waitingVideoCC=-1,this.state=Dn.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=Dn.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;if(!this.switchingTrack&&this._streamEnded(A,c)){e.trigger(u.BUFFER_EOS,{type:"audio"}),this.state=Dn.ENDED;return}const F=this.getFwdBufferInfo(this.videoBuffer?this.videoBuffer:this.media,at.MAIN),M=A.len,ve=this.getMaxBufferLength(F==null?void 0:F.len),Te=c.fragments,Re=Te[0].start,Pe=this.getLoadPosition(),je=this.flushing?Pe:A.end;if(this.switchingTrack&&n){const xn=Pe;c.PTSKnown&&xn<Re&&(A.end>Re||A.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),n.currentTime=Re+.05)}if(M>=ve&&!this.switchingTrack&&je<Te[Te.length-1].start)return;let ct=this.getNextFragment(je,c),Gt=!1;if(ct&&this.isLoopLoading(ct,je)&&(Gt=!!ct.gap,ct=this.getNextFragmentLoopLoading(ct,c,A,at.MAIN,ve)),!ct){this.bufferFlushed=!0;return}const Wt=F&&ct.start>F.end+c.targetduration;if(Wt||!(F!=null&&F.len)&&A.len){const xn=this.getAppendedFrag(ct.start,at.MAIN);if(xn===null||(Gt||(Gt=!!xn.gap||!!Wt&&F.len===0),Wt&&!Gt||Gt&&A.nextStart&&A.nextStart<xn.end))return}this.loadFragment(ct,s,je)}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(gn):this.resetTransmuxer(),n?(this.switchingTrack=t,this.state=Dn.IDLE,this.flushAudioIfNeeded(t)):(this.switchingTrack=null,this.bufferedTrack=t,this.state=Dn.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===Dn.WAITING_TRACK&&!this.waitForCdnTuneIn(i)&&(this.state=Dn.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 Te=this.initPTS[n.cc],Re=(t=n.initSegment)==null?void 0:t.data;if(Te!==void 0){const je=r?r.index:-1,ct=je!==-1,Gt=new vs(n.level,n.sn,n.stats.chunkCount,i.byteLength,je,ct);ve.push(i,Re,M,"",n,r,F.totalduration,!1,Gt,Te)}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=Dn.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&&Ei.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=Dn.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===Dn.WAITING_TRACK&&((n=t.context)==null?void 0:n.type)===Rn.AUDIO_TRACK&&(this.state=Dn.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===Dn.ENDED&&(this.state=Dn.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:Te,id3:Re,initSegment:Pe}=i;if(this.fragContextChanged(p)||!M){this.fragmentTracker.removeFragment(p);return}if(this.state=Dn.PARSING,this.switchingTrack&&ve&&this.completeAudioSwitch(this.switchingTrack),Pe!=null&&Pe.tracks){const je=p.initSegment||p;this._bufferInitSegment(F,Pe.tracks,je,s),r.trigger(u.FRAG_PARSING_INIT_SEGMENT,{frag:je,id:n,tracks:Pe.tracks})}if(ve){const{startPTS:je,endPTS:ct,startDTS:Gt,endDTS:Wt}=ve;A&&(A.elementaryStreams[te.AUDIO]={startPTS:je,endPTS:ct,startDTS:Gt,endDTS:Wt}),p.setElementaryStreamInfo(te.AUDIO,je,ct,Gt,Wt),this.bufferFragmentData(ve,p,A,s)}if(Re!=null&&(t=Re.samples)!=null&&t.length){const je=a({id:n,frag:p,details:M},Re);r.trigger(u.FRAG_PARSING_METADATA,je)}if(Te){const je=a({id:n,frag:p,details:M},Te);r.trigger(u.FRAG_PARSING_USERDATA,je)}}_bufferInitSegment(e,t,n,r){if(this.state!==Dn.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=Dn.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){if(this.media&&this.bufferedTrack){const{name:t,lang:n,assocLang:r,characteristics:i,audioCodec:s,channels:c}=this.bufferedTrack;Sa({name:t,lang:n,assocLang:r,characteristics:i,audioCodec:s,channels:c},e,Ur)||(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))}}function ar(o,e){if(o.length!==e.length)return!1;for(let t=0;t<o.length;t++)if(!In(o[t].attrs,e[t].attrs))return!1;return!0}function In(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 nr(o,e){return e.label.toLowerCase()===o.name.toLowerCase()&&(!e.language||e.language.toLowerCase()===(o.lang||"").toLowerCase())}class Er extends ui{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,Te)=>{ve.id=Te});else if(!i&&!this.tracksInGroup.length)return;this.tracksInGroup=c;const p=this.hls.config.audioPreference;if(!i&&p){const ve=ba(p,c,Ur);if(ve>-1)i=c[ve];else{const Te=ba(p,this.tracks);i=this.tracks[Te]}}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===Rn.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&&Sa(e,r,Ur))return r;const i=ba(e,this.tracksInGroup,Ur);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,Ur);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||Sa(e,r,Ur)))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(Sa({name:n,lang:r,assocLang:i,characteristics:s,audioCodec:c,channels:p},F,Ur))return A}for(let A=0;A<t.length;A++){const F=t[A];if(In(e.attrs,F.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return A}for(let A=0;A<t.length;A++){const F=t[A];if(In(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 _r=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=Dn.IDLE,this.setInterval(_r),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=Dn.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!==Dn.STOPPED&&(this.state=Dn.IDLE))}onSubtitleTracksUpdated(e,{subtitleTracks:t}){if(this.levels&&ar(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(_r)}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,Pn(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,Pn(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===Dn.IDLE&&(wa(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=Dn.IDLE})}}doTick(){if(!this.media){this.state=Dn.IDLE;return}if(this.state===Dn.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=Ei.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,Te=ve.length,Re=F.edge;let Pe=null;const je=this.fragPrevious;if(c<Re){const ct=r.maxFragLookUpTolerance,Gt=c>Re-ct?0:ct;Pe=wa(je,ve,Math.max(ve[0].start,c),Gt),!Pe&&je&&je.start<ve[0].start&&(Pe=ve[0])}else Pe=ve[Te-1];if(!Pe)return;if(Pe=this.mapToInitFragWhenRequired(Pe),Pe.sn!=="initSegment"){const ct=Pe.sn-F.startSN,Gt=ve[ct-1];Gt&&Gt.cc===Pe.cc&&this.fragmentTracker.getState(Gt)===pi.NOT_LOADED&&(Pe=Gt)}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 ui{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=Tn(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),Tn(this.media.textTracks).forEach(t=>{zr(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||Sa(i,e)))return r}if(e){for(let r=0;r<t.length;r++){const i=t[r];if(In(e.attrs,i.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return r}for(let r=0;r<t.length;r++){const i=t[r];if(In(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(nr(r,e))return n}}return-1}onError(e,t){t.fatal||!t.context||t.context.type===Rn.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&&Sa(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=Tn(e.textTracks),n=this.currentTrack;let r;if(n&&(r=t.filter(i=>nr(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 ci{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=tr(An(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 ci(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=An(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),xa(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:Te}=t[s],Re=kn(p.codec,p.levelCodec),Pe=Re==null?void 0:Re.replace(ai,"$1");let je=kn(F,M);const ct=(c=je)==null?void 0:c.replace(ai,"$1");if(je&&Pe!==ct){s.slice(0,5)==="audio"&&(je=_n(je,this.appendSource));const Gt=`${ve};codecs=${je}`;this.appendChangeType(s,Gt),this.log(`switching codec ${Re} to ${je}`),this.tracks[s]={buffer:p.buffer,codec:F,container:ve,levelCodec:M,metadata:Te,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 Te=p.stats.buffering,Re=A?A.stats.buffering:null;Te.start===0&&(Te.start=ve),Re&&Re.start===0&&(Re.start=ve);const Pe=i.audio;let je=!1;c==="audio"&&(Pe==null?void 0:Pe.container)==="audio/mpeg"&&(je=!this.lastMpegAudioChunk||F.id===1||this.lastMpegAudioChunk.sn!==F.sn,this.lastMpegAudioChunk=F);const ct=p.start,Gt={execute:()=>{if(M.executeStart=self.performance.now(),je){const Wt=this.sourceBuffer[c];if(Wt){const xn=ct-Wt.timestampOffset;Math.abs(xn)>=.1&&(this.log(`Updating audio SourceBuffer timestampOffset to ${ct} (delta: ${xn}) sn: ${p.sn})`),Wt.timestampOffset=ct)}}this.appendExecutor(s,c)},onStart:()=>{},onComplete:()=>{const Wt=self.performance.now();M.executeEnd=M.end=Wt,Te.first===0&&(Te.first=Wt),Re&&Re.first===0&&(Re.first=Wt);const{sourceBuffer:xn}=this,Qt={};for(const Mn in xn)Qt[Mn]=Ei.getBuffered(xn[Mn]);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:Qt})},onError:Wt=>{const xn={type:x.MEDIA_ERROR,parent:p.type,details:m.BUFFER_APPEND_ERROR,sourceBufferName:c,frag:p,part:A,chunkMeta:F,error:Wt,err:Wt,fatal:!1};if(Wt.code===DOMException.QUOTA_EXCEEDED_ERR)xn.details=m.BUFFER_FULL_ERROR;else{const Qt=++this.appendErrors[c];xn.details=m.BUFFER_APPEND_ERROR,this.warn(`Failed ${Qt}/${n.config.appendErrorMaxRetry} times to append segment in "${c}" sourceBuffer`),Qt>=n.config.appendErrorMaxRetry&&(xn.fatal=!0)}n.trigger(u.ERROR,xn)}};r.append(Gt,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=Ei.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=Ei.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=_n(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 Te=ve.removedRanges;Te!=null&&Te.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 xa(o,e){const t=self.document.createElement("source");t.type="video/mp4",t.src=e,o.appendChild(t)}const Kr={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},Xr=o=>String.fromCharCode(Kr[o]||o),Jr=15,Ri=100,ea={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},jr={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},Aa=["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 Ea=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=Xr(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=Jr-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let t=0;t<Jr;t++)this.rows.push(new Na(e));this.logger=e}reset(){for(let e=0;e<Jr;e++)this.rows[e].clear();this.currRow=Jr-1}equals(e){let t=!0;for(let n=0;n<Jr;n++)if(!this.rows[n].equals(e.rows[n])){t=!1;break}return t}copy(e){for(let t=0;t<Jr;t++)this.rows[t].copy(e.rows[t])}isEmpty(){let e=!0;for(let t=0;t<Jr;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<Jr;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<Jr;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[Jr-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[Jr-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,()=>"["+Ea([t[n],t[n+1]])+"] -> ("+Ea([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 ("+Ea([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 "+Ea([r,i])+" orig: "+Ea([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 ("+Ea([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?jr[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 '"+Xr(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 = "+Ea(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=Aa[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(ke!=null&&ke.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="",Te=!1,Re=c,Pe=p,je=A,ct=null,Gt="",Wt=!0,xn="auto",Qt="start",Mn=50,yn="middle",Zn=50,Ar="middle";Object.defineProperty(F,"id",i({},M,{get:function(){return ve},set:function(On){ve=""+On}})),Object.defineProperty(F,"pauseOnExit",i({},M,{get:function(){return Te},set:function(On){Te=!!On}})),Object.defineProperty(F,"startTime",i({},M,{get:function(){return Re},set:function(On){if(typeof On!="number")throw new TypeError("Start time must be set to a number.");Re=On,this.hasBeenReset=!0}})),Object.defineProperty(F,"endTime",i({},M,{get:function(){return Pe},set:function(On){if(typeof On!="number")throw new TypeError("End time must be set to a number.");Pe=On,this.hasBeenReset=!0}})),Object.defineProperty(F,"text",i({},M,{get:function(){return je},set:function(On){je=""+On,this.hasBeenReset=!0}})),Object.defineProperty(F,"region",i({},M,{get:function(){return ct},set:function(On){ct=On,this.hasBeenReset=!0}})),Object.defineProperty(F,"vertical",i({},M,{get:function(){return Gt},set:function(On){const Qn=n(On);if(Qn===!1)throw new SyntaxError("An invalid or illegal string was specified.");Gt=Qn,this.hasBeenReset=!0}})),Object.defineProperty(F,"snapToLines",i({},M,{get:function(){return Wt},set:function(On){Wt=!!On,this.hasBeenReset=!0}})),Object.defineProperty(F,"line",i({},M,{get:function(){return xn},set:function(On){if(typeof On!="number"&&On!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");xn=On,this.hasBeenReset=!0}})),Object.defineProperty(F,"lineAlign",i({},M,{get:function(){return Qt},set:function(On){const Qn=r(On);if(!Qn)throw new SyntaxError("An invalid or illegal string was specified.");Qt=Qn,this.hasBeenReset=!0}})),Object.defineProperty(F,"position",i({},M,{get:function(){return Mn},set:function(On){if(On<0||On>100)throw new Error("Position must be between 0 and 100.");Mn=On,this.hasBeenReset=!0}})),Object.defineProperty(F,"positionAlign",i({},M,{get:function(){return yn},set:function(On){const Qn=r(On);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 Zn},set:function(On){if(On<0||On>100)throw new Error("Size must be between 0 and 100.");Zn=On,this.hasBeenReset=!0}})),Object.defineProperty(F,"align",i({},M,{get:function(){return Ar},set:function(On){const Qn=r(On);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 fi{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 Li(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,""),Bi=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 fi;Li(c,function(ve,Te){let Re;switch(ve){case"region":for(let Pe=t.length-1;Pe>=0;Pe--)if(t[Pe].id===Te){A.set(ve,t[Pe].region);break}break;case"vertical":A.alt(ve,Te,["rl","lr"]);break;case"line":Re=Te.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",Bi,"end"]);break;case"position":Re=Te.split(","),A.percent(ve,Re[0]),Re.length===2&&A.alt("positionAlign",Re[1],["start",Bi,"end","line-left","line-right","auto"]);break;case"size":A.percent(ve,Te);break;case"align":A.alt(ve,Te,["start",Bi,"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",Bi);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){Li(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?br(e.baseTime,e.timescale):0;let M="00:00.000",ve=0,Te=0,Re,Pe=!0;c.oncue=function(je){const ct=t[n];let Gt=t.ccOffset;const Wt=(ve-F)/9e4;if(ct!=null&&ct.new&&(Te!==void 0?Gt=t.ccOffset=ct.start:Bo(t,n,Wt)),Wt){if(!e){Re=new Error("Missing initPTS for VTT MPEGTS");return}Gt=Wt-t.presentationOffset}const xn=je.endTime-je.startTime,Qt=Un((je.startTime+Gt-Te)*9e4,r*9e4)/9e4;je.startTime=Math.max(Qt,0),je.endTime=Math.max(Qt+xn,0);const Mn=je.text.trim();je.text=decodeURIComponent(encodeURIComponent(Mn)),je.id||(je.id=wo(je.startTime,je.endTime,Mn)),je.endTime>0&&A.push(je)},c.onparsingerror=function(je){Re=je},c.onflush=function(){if(Re){s(Re);return}i(A)},p.forEach(je=>{if(Pe)if(so(je,"X-TIMESTAMP-MAP=")){Pe=!1,je.slice(16).split(",").forEach(ct=>{so(ct,"LOCAL:")?M=ct.slice(6):so(ct,"MPEGTS:")&&(ve=parseInt(ct.slice(7)))});try{Te=qo(M)/1e3}catch(ct){Re=ct}return}else je===""&&(Pe=!1);c.parse(je+`
|
|
|
`)}),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=We(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=Bn(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 Te=To(M.getAttribute("begin"),s),Re=To(M.getAttribute("dur"),s);let Pe=To(M.getAttribute("end"),s);if(Te===null)throw Vo(M);if(Pe===null){if(Re===null)throw Vo(M);Pe=Te+Re}const je=new $a(Te-e,Pe-e,ve);je.id=wo(je.startTime,je.endTime,je.text);const ct=A[M.getAttribute("region")],Gt=p[M.getAttribute("style")],Wt=Wo(ct,Gt,p),{textAlign:xn}=Wt;if(xn){const Qt=Ko[xn];Qt&&(je.lineAlign=Qt),je.align=xn}return a(je,Wt),je}).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,zr(n[e]),Rr(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=>{zr(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++)zr(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(ar(this.tracks,n)){this.tracks=n;return}if(this.textTracks=[],this.tracks=n,this.config.renderTextTracksNatively){const s=this.media,c=s?Tn(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)zr(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?wt(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=>Nr(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)&&nr(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(Ut).filter(p=>!!p);this.keyFormatPromise=this.getKeyFormatPromise(c)}this.keyFormatPromise.then(s=>{const c=lt(s);let p,A;if(n==="sinf"){if(c!==Fe.FAIRPLAY){this.warn(`Ignoring unexpected "${t.type}" event with init data type: "${n}" for selected key-system ${c}`);return}const Re=Tt(new Uint8Array(r));try{const Pe=g(JSON.parse(Re).sinf),je=en(Pe);if(!je)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");p=je.subarray(8,24),A=Fe.FAIRPLAY}catch(Pe){this.warn(`${i} Failed to parse sinf: ${Pe}`);return}}else{if(c!==Fe.WIDEVINE&&c!==Fe.PLAYREADY){this.warn(`Ignoring unexpected "${t.type}" event with init data type: "${n}" for selected key-system ${c}`);return}const Re=Dt(r),Pe=Re.filter(ct=>!!ct.systemId&&it(ct.systemId)===c);Pe.length>1&&this.warn(`${i} Using first of ${Pe.length} pssh found for selected key-system ${c}`);const je=Pe[0];if(!je){Re.length===0||Re.some(ct=>!ct.systemId)?this.warn(`${i} contains incomplete or invalid pssh data`):this.log(`ignoring ${i} for ${Re.map(ct=>it(ct.systemId)).join(",")} pssh data in favor of playlist keys`);return}if(A=it(je.systemId),je.version===0&&je.data)if(A===Fe.WIDEVINE){const ct=je.data.length-22;p=je.data.subarray(ct,ct+16)}else A===Fe.PLAYREADY&&(p=_t(je.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 Te=M[F];for(let Re=0;Re<ve.length;Re++){const Pe=ve[Re],je=Pe.decryptdata;if(!je.keyId)continue;const ct=yt.hexDump(je.keyId);if(F===ct||je.uri.replace(/-/g,"").indexOf(F)!==-1){if(Te=M[ct],je.pssh)break;delete M[ct],je.pssh=new Uint8Array(r),je.keyId=p,Te=M[F]=Te.then(()=>this.generateRequestWithPreferredKeySession(Pe,n,r,"encrypted-event-key-match")),Te.catch(Gt=>this.handleError(Gt));break}}if(!Te){if(A!==c){this.log(`Ignoring "${i}" with ${A} init data for selected key-system ${c}`);return}Te=M[F]=this.getKeySystemSelectionPromise([A]).then(({keySystem:Re,mediaKeys:Pe})=>{var je;this.throwIfDestroyed();const ct=new Ht("ISO-23001-7",F,(je=Ut(Re))!=null?je:"");return ct.pssh=new Uint8Array(r),ct.keyId=p,this.attemptSetMediaKeys(Re,Pe).then(()=>{this.throwIfDestroyed();const Gt=this.createMediaKeySessionContext({decryptdata:ct,keySystem:Re,mediaKeys:Pe});return this.generateRequestWithPreferredKeySession(Gt,n,r,"encrypted-event-no-match")})}),Te.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===Fe.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 an===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=Ot(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(lt).filter(s=>!!s&&r.indexOf(s)!==-1);return this.getKeySystemSelectionPromise(i).then(({keySystem:s})=>{const c=Ut(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=lt(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:je,message:ct}=Re;this.log(`"${je}" message event for session "${Pe.sessionId}" message size: ${ct.byteLength}`),je==="license-request"||je==="license-renewal"?this.renewLicense(e,ct).catch(Gt=>{this.handleError(Gt),F.emit("error",Gt)}):je==="license-release"?e.keySystem===Fe.FAIRPLAY&&(this.updateKeySession(e,Le("acknowledged")),this.removeSession(e)):this.warn(`unhandled media key message type "${je}"`)},ve=e._onkeystatuseschange=Re=>{if(!e.mediaKeysSession){F.emit("error",new Error("invalid state"));return}this.onKeyStatusChange(e);const je=e.keyStatus;F.emit("keyStatus",je),je==="expired"&&(this.warn(`${e.keySystem} expired for key ${A}`),this.renewKeySession(e))};e.mediaKeysSession.addEventListener("message",M),e.mediaKeysSession.addEventListener("keystatuseschange",ve);const Te=new Promise((Re,Pe)=>{F.on("error",Pe),F.on("keyStatus",je=>{je.startsWith("usable")?Re():je==="output-restricted"?Pe(new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):je==="internal-error"?Pe(new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},`key status changed to "${je}"`)):je==="expired"?Pe(new Error("key expired while generating request")):this.warn(`unhandled key status change "${je}"`)})});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(()=>Te).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,Te,Re,Pe)=>{s(ve.data)},onError:(ve,Te,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,Te,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,Te,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 Te=(s=F.querySelector("name"))==null?void 0:s.textContent,Re=(c=F.querySelector("value"))==null?void 0:c.textContent;Te&&Re&&e.setRequestHeader(Te,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==Fe.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={},Ht.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 hi{constructor(e,t){this.value=void 0,this.params=void 0,Array.isArray(e)&&(e=e.map(n=>n instanceof hi?n:new hi(n))),this.value=e,this.params=t}}class Hi{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 Hi)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 hi?`${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 hi||(i=new hi(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 Hi(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:Ei.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)===or.SendAlternateToPenaltyBox&&n.flags===Qr.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,dr(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===Rn.AUDIO_TRACK&&r[i].hasAudioGroup(e)||t===Rn.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 z(F.attrs);M["PATHWAY-ID"]=s;const ve=M.AUDIO&&`${M.AUDIO}_clone_${s}`,Te=M.SUBTITLES&&`${M.SUBTITLES}_clone_${s}`;ve&&(n[M.AUDIO]=ve,M.AUDIO=ve),Te&&(r[M.SUBTITLES]=Te,M.SUBTITLES=Te);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 je=1;je<F.audioGroups.length;je++)Pe.addGroupId("audio",`${F.audioGroups[je]}_clone_${s}`);if(F.subtitleGroups)for(let je=1;je<F.subtitleGroups.length;je++)Pe.addGroupId("text",`${F.subtitleGroups[je]}_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,Te)=>{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":je,"PATHWAY-PRIORITY":ct}=Re;if(Pe)try{this.uri=new self.URL(Pe,r).href}catch(Wt){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${Pe}`);return}this.scheduleRefresh(this.uri||ve.url),je&&this.clonePathways(je);const Gt={steeringManifest:Re,url:r.toString()};this.hls.trigger(u.STEERING_MANIFEST_LOADED,Gt),ct&&this.updatePathwayPriority(ct)},onError:(F,M,ve,Te)=>{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 je=Pe.getResponseHeader("Retry-After");je&&(Re=parseFloat(je)*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 z(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 Te=this.callbacks.onProgress;if(Te&&Te(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=Yr(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:Te,statusText:Re}=M;throw new ou(Re||"fetch, bad network response",Te,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 Te=M[p];Te&&(r.loaded=r.total=Te);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,Te=M?M.message:null;n.onError({code:ve,text:Te},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 Te=Pa(A.trim()),Re=wo(e,t,Te);o!=null&&(M=o.cues)!=null&&M.getCueById(Re)||(s=new F(e,t,Te),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,Te)=>ve.line==="auto"||Te.line==="auto"?0:ve.line>8&&Te.line>8?Te.line-ve.line:ve.line-Te.line),r.forEach(ve=>Nr(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:Oi,bufferController:bi,capLevelController:po,errorController:Ki,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:an,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:Fn,audioTrackController:Er,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 ui{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 Te=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=_n(Re,n)),((ve=Pe)==null?void 0:ve.indexOf("avc1"))===0&&(Pe=F.videoCodec=qn(Pe));const{width:je,height:ct,unknownCodecs:Gt}=F;if(c||(c=!!(je&&ct)),p||(p=!!Pe),A||(A=!!Re),Gt!=null&&Gt.length||Re&&!ht(Re,"audio",n)||Pe&&!ht(Pe,"video",n))return;const{CODECS:Wt,"FRAME-RATE":xn,"HDCP-LEVEL":Qt,"PATHWAY-ID":Mn,RESOLUTION:yn,"VIDEO-RANGE":Zn}=Te,On=`${`${Mn||"."}-`}${F.bitrate}-${yn}-${xn}-${Wt}-${Zn}-${Qt}`;if(i[On])if(i[On].uri!==F.url&&!F.attrs["PATHWAY-ID"]){const Qn=s[On]+=1;F.attrs["PATHWAY-ID"]=new Array(Qn+1).join(".");const di=new Ci(F);i[On]=di,r.push(di)}else i[On].addGroupId("audio",Te.AUDIO),i[On].addGroupId("text",Te.SUBTITLES);else{const Qn=new Ci(F);i[On]=Qn,s[On]=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:je,height:ct})=>(!!Re||!!(je&&ct))&&li(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||ht(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 je=Vt(Re.videoCodec),ct=Vt(Pe.videoCodec);if(je!==ct)return ct-je}if(Re.uri===Pe.uri&&Re.codecSet!==Pe.codecSet){const je=Nt(Re.codecSet),ct=Nt(Pe.codecSet);if(je!==ct)return ct-je}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,je=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 ct=Math.min(Pe,this.hls.config.abrEwmaDefaultEstimateMax);ct>je&&je===vl.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=ct)}break}const ve=i&&!r,Te={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,Te),(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===Rn.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));dr(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,Te,Re,Pe)=>{const{frag:je,keyInfo:ct,url:Gt}=Re;if(!je.decryptdata||ct!==this.keyUriToKeyInfo[Gt])return c(this.createKeyLoadError(je,m.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),Pe));ct.decryptdata.key=je.decryptdata.key=new Uint8Array(ve.data),je.keyLoader=null,ct.loader=null,s({frag:je,keyInfo:ct})},onError:(ve,Te,Re,Pe)=>{this.resetLoader(Te),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,Te,Re)=>{this.resetLoader(Te),c(this.createKeyLoadError(t,m.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Re))},onAbort:(ve,Te,Re)=>{this.resetLoader(Te),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(!An())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=An();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(It(e,"video")))||["mp4a.40.2","fLaC"].some(e=>o.isTypeSupported(It(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 je=self.performance.now()-i;b.warn(`playback not stuck anymore @${s}, after ${Math.round(je)}ms`),this.stallReported=!1}this.stalled=null}return}if(A||p){this.stalled=null;return}if(r.paused&&!c||r.ended||r.playbackRate===0||!Ei.getBuffered(r).length){this.nudgeRetry=0;return}const F=Ei.bufferInfo(r,s,0),M=F.nextStart||0;if(c){const je=F.len>Jo,ct=!M||t&&t.start<=s||M-s>Jo&&!this.fragmentTracker.getPartialFragment(s);if(je||ct)return;this.moved=!1}if(!this.moved&&this.stalled!==null){var ve;if(!(F.len>0)&&!M)return;const ct=Math.max(M,F.start||0)-s,Gt=this.hls.levels?this.hls.levels[this.hls.currentLevel]:null,xn=(Gt==null||(ve=Gt.details)==null?void 0:ve.live)?Gt.details.targetduration*2:Jo,Qt=this.fragmentTracker.getPartialFragment(s);if(ct>0&&(ct<=xn||Qt)){r.paused||this._trySkipBufferHole(Qt);return}}const Te=self.performance.now();if(i===null){this.stalled=Te;return}const Re=Te-i;if(!c&&Re>=yu&&(this._reportStall(F),!this.media))return;const Pe=Ei.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=Ei.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 Te=!1;if(i===0){const Re=ve.getAppendedFrag(0,at.MAIN);Re&&c<Re.end&&(Te=!0)}if(!Te){const Re=e||ve.getAppendedFrag(i,at.MAIN);if(Re){let Pe=!1,je=Re.end;for(;je<c;){const ct=ve.getPartialFragment(je);if(ct)je+=ct.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=Dn.IDLE,this.nextLoadPosition=this.startPosition=this.lastCurrentTime=e,this.tick()}else this._forceStartLoad=!0,this.state=Dn.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Dn.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=Dn.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Dn.IDLE;break}break}case Dn.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=Dn.IDLE}}break}this.state===Dn.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=Dn.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===Dn.WAITING_LEVEL||A.live&&this.levelLastLoaded!==s){this.level=i,this.state=Dn.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 Te=this.getNextFragment(ve,A);if(this.couldBacktrack&&!this.fragPrevious&&Te&&Te.sn!=="initSegment"&&this.fragmentTracker.getState(Te)!==pi.OK){var Re;const je=((Re=this.backtrackFragment)!=null?Re:Te).sn-A.startSN,ct=A.fragments[je-1];ct&&Te.cc===ct.cc&&(Te=ct,this.fragmentTracker.removeFragment(ct))}else this.backtrackFragment&&c.len&&(this.backtrackFragment=null);if(Te&&this.isLoopLoading(Te,ve)){if(!Te.gap){const je=this.audioOnly&&!this.altAudio?te.AUDIO:te.VIDEO,ct=(je===te.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;ct&&this.afterBufferFlushed(ct,je,at.MAIN)}Te=this.getNextFragmentLoopLoading(Te,A,c,at.MAIN,M)}Te&&(Te.initSegment&&!Te.initSegment.data&&!this.bitrateTest&&(Te=Te.initSegment),this.loadFragment(Te,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 Dn.KEY_LOADING:case Dn.FRAG_LOADING:case Dn.FRAG_LOADING_WAITING_RETRY:case Dn.PARSING:case Dn.PARSED:this.state=Dn.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!==Dn.IDLE)return;const r=n[t.level];(!r.details||r.details.live&&this.levelLastLoaded!==r||this.waitForCdnTuneIn(r.details))&&(this.state=Dn.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===Dn.FRAG_LOADING||this.state===Dn.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===Dn.WAITING_LEVEL){if(this.waitForCdnTuneIn(s))return;this.state=Dn.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),Te=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,je=new vs(n.level,n.sn,n.stats.chunkCount,i.byteLength,Re,Pe),ct=this.initPTS[n.cc];Te.push(i,M,ve,A,n,r,p.totalduration,F,je,ct)}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===Dn.PARSED&&(this.state=Dn.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=Dn.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===Dn.WAITING_LEVEL&&((n=t.context)==null?void 0:n.type)===Rn.LEVEL&&(this.state=Dn.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||!Ei.getBuffered(e).length){const n=this.state!==Dn.IDLE?this.fragCurrent:null;t.poll(this.lastCurrentTime,n)}this.lastCurrentTime=e.currentTime}}onFragLoadEmergencyAborted(){this.state=Dn.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=Ei.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=Dn.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:Te,initSegment:Re}=i,{details:Pe}=F,je=this.altAudio?void 0:i.audio;if(this.fragContextChanged(p)){this.fragmentTracker.removeFragment(p);return}if(this.state=Dn.PARSING,Re){if(Re!=null&&Re.tracks){const Wt=p.initSegment||p;this._bufferInitSegment(F,Re.tracks,Wt,s),r.trigger(u.FRAG_PARSING_INIT_SEGMENT,{frag:Wt,id:n,tracks:Re.tracks})}const ct=Re.initPTS,Gt=Re.timescale;I(ct)&&(this.initPTS[p.cc]={baseTime:ct,timescale:Gt},r.trigger(u.INIT_PTS_FOUND,{frag:p,id:n,initPTS:ct,timescale:Gt}))}if(M&&Pe&&p.sn!=="initSegment"){const ct=Pe.fragments[p.sn-1-Pe.startSN],Gt=p.sn===Pe.startSN,Wt=!ct||p.cc>ct.cc;if(i.independent!==!1){const{startPTS:xn,endPTS:Qt,startDTS:Mn,endDTS:yn}=M;if(A)A.elementaryStreams[M.type]={startPTS:xn,endPTS:Qt,startDTS:Mn,endDTS:yn};else if(M.firstKeyFrame&&M.independent&&s.id===1&&!Wt&&(this.couldBacktrack=!0),M.dropped&&M.independent){const Zn=this.getMainFwdBufferInfo(),Ar=(Zn?Zn.end:this.getLoadPosition())+this.config.maxBufferHole,On=M.firstKeyFramePTS?M.firstKeyFramePTS:xn;if(!Gt&&Ar<On-this.config.maxBufferHole&&!Wt){this.backtrack(p);return}else Wt&&(p.gap=!0);p.setElementaryStreamInfo(M.type,p.start,Qt,p.start,yn,!0)}else Gt&&xn>Jo&&(p.gap=!0);p.setElementaryStreamInfo(M.type,xn,Qt,Mn,yn),this.backtrackFragment&&(this.backtrackFragment=p),this.bufferFragmentData(M,p,A,s,Gt||Wt)}else if(Gt||Wt)p.gap=!0;else{this.backtrack(p);return}}if(je){const{startPTS:ct,endPTS:Gt,startDTS:Wt,endDTS:xn}=je;A&&(A.elementaryStreams[te.AUDIO]={startPTS:ct,endPTS:Gt,startDTS:Wt,endDTS:xn}),p.setElementaryStreamInfo(te.AUDIO,ct,Gt,Wt,xn),this.bufferFragmentData(je,p,A,s)}if(Pe&&Te!=null&&(t=Te.samples)!=null&&t.length){const ct={id:n,frag:p,details:Pe,samples:Te.samples};r.trigger(u.FRAG_PARSING_METADATA,ct)}if(Pe&&ve){const ct={id:n,frag:p,details:Pe,samples:ve.samples};r.trigger(u.FRAG_PARSING_USERDATA,ct)}}_bufferInitSegment(e,t,n,r){if(this.state!==Dn.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=Dn.IDLE}checkFragmentChanged(){const e=this.media;let t=null;if(e&&e.readyState>1&&e.seeking===!1){const n=e.currentTime;if(Ei.isBuffered(e,n)?t=this.getAppendedFrag(n):Ei.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.20"}static isMSESupported(){return Sl()}static isSupported(){return gu()}static getMediaSource(){return An()}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,Q(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),Te=new wr(this),Re=new oi(this),Pe=t.contentSteeringController,je=Pe?new Pe(this):null,ct=this.levelController=new pu(this,je),Gt=new Ia(this),Wt=new mu(this.config),xn=this.streamController=new Eu(this,Gt,Wt);M.setStreamController(xn),ve.setStreamController(xn);const Qt=[Te,ct,xn];je&&Qt.splice(1,0,je),this.networkControllers=Qt;const Mn=[A,F,M,ve,Re,Gt];this.audioTrackController=this.createController(t.audioTrackController,Qt);const yn=t.audioStreamController;yn&&Qt.push(new yn(this,Gt,Wt)),this.subtitleTrackController=this.createController(t.subtitleTrackController,Qt);const Zn=t.subtitleStreamController;Zn&&Qt.push(new Zn(this,Gt,Wt)),this.createController(t.timelineController,Mn),Wt.emeController=this.emeController=this.createController(t.emeController,Mn),this.cmcdController=this.createController(t.cmcdController,Mn),this.latencyController=this.createController(Ti,Mn),this.coreComponents=Mn,Qt.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=X.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){ei(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(nn,nt,f){"use strict";f.d(nt,{Z:function(){return xe}});const y=a=>typeof a=="object"&&a!=null&&a.nodeType===1,L=(a,I)=>(!I||a!=="hidden")&&a!=="visible"&&a!=="clip",X=(a,I)=>{if(a.clientHeight<a.scrollHeight||a.clientWidth<a.scrollWidth){const K=getComputedStyle(a,null);return L(K.overflowY,I)||L(K.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,K,S,u,x,m,P)=>x<a&&m>I||x>a&&m<I?0:x<=a&&P<=K||m>=I&&P>=K?x-a-S:m>I&&P<K||x<a&&P>K?m-I+u:0,$=a=>{const I=a.parentElement;return I==null?a.getRootNode().host||null:I},q=(a,I)=>{var K,S,u,x;if(typeof document=="undefined")return[];const{scrollMode:m,block:P,inline:ue,boundary:U,skipOverflowHiddenElements:V}=I,ne=typeof U=="function"?U:ke=>ke!==U;if(!y(a))throw new TypeError("Invalid target");const Q=document.scrollingElement||document.documentElement,b=[];let R=a;for(;y(R)&&ne(R);){if(R=$(R),R===Q){b.push(R);break}R!=null&&R===document.body&&X(R)&&!X(document.documentElement)||R!=null&&X(R,V)&&b.push(R)}const Z=(S=(K=window.visualViewport)==null?void 0:K.width)!=null?S:innerWidth,z=(x=(u=window.visualViewport)==null?void 0:u.height)!=null?x:innerHeight,{scrollX:pe,scrollY:me}=window,{height:de,width:ae,top:te,right:B,bottom:fe,left:Y}=a.getBoundingClientRect(),{top:ce,right:ie,bottom:g,left:E}=(ke=>{const Fe=window.getComputedStyle(ke);return{top:parseFloat(Fe.scrollMarginTop)||0,right:parseFloat(Fe.scrollMarginRight)||0,bottom:parseFloat(Fe.scrollMarginBottom)||0,left:parseFloat(Fe.scrollMarginLeft)||0}})(a);let G=P==="start"||P==="nearest"?te-ce:P==="end"?fe+g:te+de/2-ce+g,J=ue==="center"?Y+ae/2-E+ie:ue==="end"?B+ie:Y-E;const Le=[];for(let ke=0;ke<b.length;ke++){const Fe=b[ke],{height:Ze,width:lt,top:ut,right:it,bottom:Ut,left:qt}=Fe.getBoundingClientRect();if(m==="if-needed"&&te>=0&&Y>=0&&fe<=z&&B<=Z&&(Fe===Q&&!X(Fe)||te>=ut&&fe<=Ut&&Y>=qt&&B<=it))return Le;const an=getComputedStyle(Fe),Ot=parseInt(an.borderLeftWidth,10),ot=parseInt(an.borderTopWidth,10),_t=parseInt(an.borderRightWidth,10),se=parseInt(an.borderBottomWidth,10);let ye=0,H=0;const O="offsetWidth"in Fe?Fe.offsetWidth-Fe.clientWidth-Ot-_t:0,Ae="offsetHeight"in Fe?Fe.offsetHeight-Fe.clientHeight-ot-se:0,k="offsetWidth"in Fe?Fe.offsetWidth===0?0:lt/Fe.offsetWidth:0,_="offsetHeight"in Fe?Fe.offsetHeight===0?0:Ze/Fe.offsetHeight:0;if(Q===Fe)ye=P==="start"?G:P==="end"?G-z:P==="nearest"?Ee(me,me+z,z,ot,se,me+G,me+G+de,de):G-z/2,H=ue==="start"?J:ue==="center"?J-Z/2:ue==="end"?J-Z:Ee(pe,pe+Z,Z,Ot,_t,pe+J,pe+J+ae,ae),ye=Math.max(0,ye+me),H=Math.max(0,H+pe);else{ye=P==="start"?G-ut-ot:P==="end"?G-Ut+se+Ae:P==="nearest"?Ee(ut,Ut,Ze,ot,se+Ae,G,G+de,de):G-(ut+Ze/2)+Ae/2,H=ue==="start"?J-qt-Ot:ue==="center"?J-(qt+lt/2)+O/2:ue==="end"?J-it+_t+O:Ee(qt,it,lt,Ot,_t+O,J,J+ae,ae);const{scrollLeft:T,scrollTop:ee}=Fe;ye=_===0?0:Math.max(0,Math.min(ee+ye/_,Fe.scrollHeight-Ze/_+Ae)),H=k===0?0:Math.max(0,Math.min(T+H/k,Fe.scrollWidth-lt/k+O)),G+=ee-ye,J+=T-H}Le.push({el:Fe,top:ye,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 xe(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 K=(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-K.top+K.bottom,ue=m-K.left+K.right;u.scroll({top:P,left:ue,behavior:S})}}}}]);
|
|
|
}()); |